@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231117.0 → 0.0.0-nightly-20231118.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-20231118.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20231118.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231118.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4222=['setSelection','_reduceSuggestionAttributeRange','originalSuggestionId','rootName','toJSON','_rangeIsInLocalUserInsertion','track-changes-command-not-found','writer','isRemovable','trackChanges','fromCharCode','size','commentThread','bindElementToMarker','forward','getAttribute','_model','multi','getRanges','insertion:','attributes','$graveyard','_enabledCommands','isEqual','isAtEnd','upcast','rethrowUnexpectedError','_joinWithAdjacentSuggestions','isTouching','oldName','get','data-suggestion','find','isBefore','_splitMarkerName','suggestion','getAncestors','_addSuggestionMarker','addAttribute','consume','_registerDefaultCallbacks','getOperations','newRange','ready','assign','isIntersecting','external:','_isBlockAttribute','formatBlock:join','attribute:accept','ck-suggestion-marker-formatBlock','removeClass','containsRangeInObject','suggestion:','value','addHighlight','nodeAfter','markInsertion','notReady','_suggestionState','isAfter','getMultiRangeId','isDocumentOperation','$textProxy','data','change','addUser','isOwn','subType','highest','length','commands','getNearestSelectionRange','markerToData','_onDiscard','pop','attribute:','isInsideObject','removeMarkers','_recordAttributeSuggestionsFromVersion','_processAttributeChanges','authoredAt','track-changes-adapter-missing-getsuggestion','createElement','toUpperCase','getSuggestionCallback','collaboration.channelId','markerName','targetPosition','oldValue','isLocal','fetchCommentThread','updateMarker','insertion:discard','locale','getDifference','getSuggestions','TrackChangesEditing','markMultiRangeDeletion','markInlineFormat','toViewElement','_createSuggestion','error-saving-suggestion-data-suggestion-discarded','from','forEach','deletion:chain','addMarker','getFirstRange','end','addMarker:suggestion','backward','_removeSuggestion','getSuggestion','isExternal','authorName','_getExternalAuthor','requires','_handleNewSuggestionMarker','getMarkers','editingDowncast','getCommentThread','FORMATTING','deletion:discard','deletion','oldRange','_getMarkerAnnouncementText','getWalker','parent','ck-suggestion-marker--active','_suggestionFactory','marker-count','multipleBlocks','_suggestions','start','item','unshift','fire','isAtStart','PendingActions','acceptSuggestion','splitPosition','editing','insertion','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.','PENDING_ACTION_SUGGESTION','containsRange','@external','markerToHighlight','setTo','startsWith','discardSelectedSuggestions','moveTargetPosition','then','_adapter','markDeletion','track-changes-adapter-already-set','selection','deletion:','stop','createPositionBefore','insertion:join','suggestionLoaded','discardAllSuggestions','_defaultCallbacks','model','always','_isForcedDefaultExecutionBlock','removeMarker','_isDataLoaded','suggestionUnloaded','_updateSuggestionData','insertContent','reconvertMarker','mapper','for','isInContent','markers','createPositionAfter','history','clone','formatInline:accept','update:suggestion','unbindElementFromMarkerName','addCommentThread','push','hasSuggestion','ENTER','isUndo','position','getAllAdjacentSuggestions','range','commandName','version','_reduceExistingSuggestions','ck-suggestion-marker','containsPosition','getCustomProperty','createRange','keys','createRangeOn','editor','attributeKey','trackChanges.trackFormatChanges','buildSuggestion','howMany','insertion:chain','_initAriaMarkerChangeAnnouncements','after','addComment','map','getFirstMarker','removed','_findSuggestions','key','isIntersectingWithRange','document','removeAttribute','define','_registerBlockAttribute','open','change:activeMarkers','batch','attribute:join','schema','trackChangesCommand','creator','track-changes-enable-command-twice','addMarker:suggestion:attribute','showSuggestionHighlights','formatGroupId','CommentsRepository','isNextTo','_refreshAttributeSuggestionsChain','markerNameToElements','refresh','isBlock','_registerInlineAttribute','meta','addSuggestion','markBlockFormat','insert','getShiftedBy','substring','formatInline:chain','_setSuggestionRange','track-changes-suggestion-data-mismatch','skipNestingCheck','chain','type','head','activeMarkers','detach','listenTo','_commentsRepository','_processAttributeSuggestions','markerReady','_enableDefaultAttributesIntegration','some','formatBlock:accept','formatInline:','getChangedMarkers','updateSuggestion','getChanges','nodeBefore','_setSuggestionData','_joinSuggestions','_checkSuggestionCorrectness','ck-suggestion-marker-formatInline','next','formatBlock','_addThreadToSuggestion','addMarkerName','$elementName','dataToMarker','author','_customCallbacks','_saved','element','accept','catch','enqueueChange','sort','consumable','enableCommand','join','suggestionChanged','previous','default','formatBlock:','never','enableReadOnlyMode','_trackFormatChanges','addMarker:suggestion:formatBlock','formatInline','delete','warn','track-changes-user-not-found','isLimit','root','getUser','registerPostFixer','concat','substr','_recordAttributeChanges','addClass','elementToElement','getLastMatchingPosition','adapter','_mergeNestedSuggestions','suggestion-type','dataDowncast','conversion','trackChanges.mergeNestedSuggestions','execute','createdAt','includes','split','insertion:accept','isCollapsed','lowest','values','attributeNewValue','_getSuggestionData','Users','acceptSelectedSuggestions','every','filter','formatInline:join','_getAttributeKeyFromSubType','_SUGGESTION_ANNOUNCEMENT','_breakSuggestionMarker','isSelectable','deleteContent','init','isMultiRange','rename','hasComments','has','addSuggestionData','createRangeIn','name','attribute:discard','high','splice','before','_cutOutSuggestionMarker','forceDefaultExecution','isObject','acceptAllSuggestions','_inlineAttributeKeys','setAttribute','createSelection','isArray','dataReady','containsItem','tablePasteChainId','comments','createPositionAt','remove','set','groupId','discard','differ','$text','deletion:join','discardSuggestion','_refreshSuggestionsChain','getIntersection','hasCommentThread','addRange','_blockAttributeKeys','_editor','add','plugins','options','return','markAttributeChange','attribute','config','elementStart','group'];(function(_0x79993d,_0x422224){const _0x1aa09d=function(_0x2c15ef){while(--_0x2c15ef){_0x79993d['push'](_0x79993d['shift']());}};_0x1aa09d(++_0x422224);}(_0x4222,0x83));const _0x1aa0=function(_0x79993d,_0x422224){_0x79993d=_0x79993d-0x0;let _0x1aa09d=_0x4222[_0x79993d];return _0x1aa09d;};import{Plugin as _0x5deb71,PendingActions as _0x4061b5}from'ckeditor5/src/core';import{LiveRange as _0x174a17}from'ckeditor5/src/engine';import{CKEditorError as _0x3c8e1d,uid as _0x2a195c,priorities as _0x33fce0,logWarning as _0x562c54}from'ckeditor5/src/utils';import{toWidget as _0x23feef}from'ckeditor5/src/widget';import{Users as _0x5c01f7,hashObject as _0x205c05,surroundingMarkersDetector as _0x5d8883}from'ckeditor5-collaboration/src/collaboration-core';import _0x19a451 from'./commands/trackchangescommand';import _0x36998b from'./commands/acceptsuggestioncommand';import _0x1ef9be from'./commands/discardsuggestioncommand';import _0x548822 from'./commands/executeonallsuggestionscommand';import _0xf7bc0b from'./commands/executeonselectedsuggestionscommand';import _0x526ec3 from'./suggestion';import _0x57d621 from'./suggestiondescriptionfactory';import _0x44222c from'./integrations/aiassistant';import _0x3e2b62 from'./integrations/alignment';import _0x31b1c0 from'./integrations/basicstyles';import _0x308edb from'./integrations/blockquote';import _0x11b2b8 from'./integrations/ckbox';import _0x563dfc from'./integrations/codeblock';import _0x21e420 from'./integrations/comments';import _0x57b116 from'./integrations/deletecommand';import _0x16de91 from'./integrations/documentlist';import _0x223614 from'./integrations/documentlistproperties';import _0x39afc9 from'./integrations/entercommand';import _0xcf7d4e from'./integrations/findandreplace';import _0x314ea4 from'./integrations/font';import _0x15c113 from'./integrations/formatpainter';import _0x39e23b from'./integrations/heading';import _0x2985dd from'./integrations/highlight';import _0x30ac8c from'./integrations/horizontalline';import _0x251210 from'./integrations/htmlembed';import _0x32b083 from'./integrations/image';import _0x112783 from'./integrations/imagereplace';import _0x5f23a5 from'./integrations/imagestyle';import _0x2c1318 from'./integrations/importword';import _0x58f54f from'./integrations/indent';import _0xe3e9c9 from'./integrations/inputcommand';import _0x4710f9 from'./integrations/link';import _0x3bea96 from'./integrations/list';import _0x100a22 from'./integrations/listproperties';import _0xfd61fb from'./integrations/mediaembed';import _0x5689a9 from'./integrations/mention';import _0x83a6de from'./integrations/pagebreak';import _0x4fdfc7 from'./integrations/paragraph';import _0x307f6b from'./integrations/removeformat';import _0x2fc162 from'./integrations/restrictededitingmode';import _0x18acd6 from'./integrations/shiftentercommand';import _0x1dfef6 from'./integrations/standardeditingmode';import _0x585fab from'./integrations/style';import _0x5ee559 from'./integrations/table';import _0x3fe4ed from'./integrations/tablemergesplit';import _0x5a3613 from'./integrations/tableheadings';import _0x40e20d from'./integrations/tableclipboard';import _0x4ec850 from'./integrations/tablecolumnresize';import _0x5992d7 from'./integrations/template';import _0x1ac202 from'./integrations/tableofcontents';import _0x3458e9 from'./integrations/title';import _0x5aa1ec from'./integrations/undo';import _0x506c9a from'./integrations/tablecaption';import _0x6844c7 from'./integrations/tableproperties';import{getTranslation as _0x4e33ed}from'./utils/common-translations';import{isEqual as _0x223011,omit as _0x142fcf}from'lodash-es';export const renameAttributeKey=_0x1aa0('0x8d');export default class p extends _0x5deb71{static get[_0x1aa0('0x16e')](){return[_0x1aa0('0x63'),_0x5c01f7,_0x4061b5,_0x44222c,_0x3e2b62,_0x31b1c0,_0x308edb,_0x11b2b8,_0x563dfc,_0x21e420,_0x57b116,_0x16de91,_0x223614,_0x39afc9,_0xcf7d4e,_0x314ea4,_0x15c113,_0x39e23b,_0x2985dd,_0x30ac8c,_0x251210,_0x32b083,_0x5f23a5,_0x112783,_0x2c1318,_0x58f54f,_0xe3e9c9,_0x4710f9,_0x3bea96,_0x100a22,_0xfd61fb,_0x5689a9,_0x83a6de,_0x4fdfc7,_0x307f6b,_0x2fc162,_0x18acd6,_0x1dfef6,_0x585fab,_0x5ee559,_0x3fe4ed,_0x5a3613,_0x506c9a,_0x40e20d,_0x4ec850,_0x1ac202,_0x6844c7,_0x5992d7,_0x3458e9,_0x5aa1ec];}static get['pluginName'](){return _0x1aa0('0x15b');}constructor(_0xc1cdab){function _0x52f85c(_0x388dc6){return _0x388dc6[_0x1aa0('0x4e')](_0xd587c7=>String[_0x1aa0('0x104')](_0xd587c7))['join']('');}super(_0xc1cdab),this[_0x1aa0('0x149')]=null,this['set'](_0x1aa0('0x77'),[]),this['on'](_0x1aa0('0x59'),(_0x49cc0d,_0x4c45a9,_0x56bb07,_0x13af70)=>{this['_model']['change'](()=>{for(const _0x25a928 of[..._0x13af70,..._0x56bb07])this[_0x1aa0('0x10a')][_0x1aa0('0x2d')]['has'](_0x25a928)&&_0xc1cdab[_0x1aa0('0xa')][_0x1aa0('0x29')](_0x25a928);});}),this['_descriptionFactory']=new _0x57d621(this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x5c')],this[_0x1aa0('0x45')]['locale']),this[_0x1aa0('0x16')]=null,this[_0x1aa0('0x17b')]=new Bt(this[_0x1aa0('0x45')]),this['_suggestions']=new Map(),this[_0x1aa0('0x7a')]=_0xc1cdab[_0x1aa0('0xf2')]['get'](_0x1aa0('0x63')),this[_0x1aa0('0x110')]=new Set(),this[_0x1aa0('0x10a')]=this[_0x1aa0('0x45')][_0x1aa0('0x21')],this[_0x1aa0('0x135')]=new WeakMap(),this[_0x1aa0('0x23')]=!0x1,this[_0x1aa0('0xef')]=new Set([_0x1aa0('0x8d')]),this[_0x1aa0('0xda')]=new Set(),_0xc1cdab['config'][_0x1aa0('0x56')](_0x1aa0('0x47'),_0x1aa0('0x9c')),this['_trackFormatChanges']=_0xc1cdab[_0x1aa0('0xf7')][_0x1aa0('0x118')](_0x1aa0('0x47')),_0xc1cdab['config'][_0x1aa0('0x56')](_0x1aa0('0xb5'),!0x0),this['_mergeNestedSuggestions']=_0xc1cdab[_0x1aa0('0xf7')][_0x1aa0('0x118')](_0x1aa0('0xb5')),this[_0x1aa0('0x5d')]=new _0x19a451(_0xc1cdab,this['_enabledCommands']),this[_0x1aa0('0x4b')](),this[_0x52f85c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x52f85c([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x34]);}[_0x1aa0('0xca')](){const _0x2090f1=this['editor'],_0xb24e7b=(_0x240e9b,_0xeab52f)=>{if('attribute'!=_0x240e9b)return'ck-suggestion-marker-'+_0x240e9b;const _0x5eb7c8=_0xeab52f[_0x1aa0('0xb9')]('|')[0x0];return this['_isBlockAttribute'](_0x5eb7c8)?_0x1aa0('0x12c'):_0x1aa0('0x88');};_0x2090f1[_0x1aa0('0xb4')][_0x1aa0('0x2b')](_0x1aa0('0x171'))[_0x1aa0('0x10')]({'model':_0x1aa0('0x11d'),'view':_0x31d9e1=>{const {id:_0x397e21,type:_0x4707dd,subType:_0x24e09f}=this[_0x1aa0('0x11c')](_0x31d9e1[_0x1aa0('0x151')]),_0x35ef34=['ck-suggestion-marker',_0xb24e7b(_0x4707dd,_0x24e09f)];let _0x3f2c5d=0xbb8;return this[_0x1aa0('0x77')][_0x1aa0('0xb8')](_0x31d9e1[_0x1aa0('0x151')])&&(_0x35ef34[_0x1aa0('0x35')](_0x1aa0('0x17a')),_0x3f2c5d=0xbc2),_0x1aa0('0x175')==_0x4707dd&&(_0x3f2c5d+=0x5),{'classes':_0x35ef34,'attributes':{'data-suggestion':_0x397e21},'priority':_0x3f2c5d};}}),_0x2090f1['conversion'][_0x1aa0('0x2b')]('dataDowncast')[_0x1aa0('0xf1')](_0x575264=>{_0x575264['on'](_0x1aa0('0x167'),(_0x513d2d,_0x5b44b5,_0x4978d3)=>{if(!_0x4978d3['options'][_0x1aa0('0x61')])return;const _0x528c7a=_0x5b44b5[_0x1aa0('0x3')];if(!_0x528c7a)return;const _0x405073=_0x4978d3[_0x1aa0('0x2a')][_0x1aa0('0x15e')](_0x528c7a);_0x2090f1[_0x1aa0('0x21')]['schema'][_0x1aa0('0xd8')](_0x528c7a)&&_0x405073&&!_0x405073['getCustomProperty']('widget')&&_0x405073['is']('containerElement')&&_0x23feef(_0x405073,_0x4978d3[_0x1aa0('0x101')]);},{'priority':_0x1aa0('0xd3')});}),_0x2090f1[_0x1aa0('0xb4')]['for']('dataDowncast')[_0x1aa0('0x10')]({'model':_0x1aa0('0x11d'),'view':(_0x52ee9e,_0x394f62)=>{if(!_0x394f62[_0x1aa0('0xf3')][_0x1aa0('0x61')])return null;const {type:_0x4ffbde,subType:_0x11c9cd}=this['_splitMarkerName'](_0x52ee9e['markerName']);return{'classes':[_0x1aa0('0x3f'),_0xb24e7b(_0x4ffbde,_0x11c9cd)],'priority':0xbb8};}});const _0x282187=({showActiveMarkers:_0x4e7a0a=!0x0,isAttributeSuggestion:_0x48a12f=!0x1}={})=>(_0xd05aba,_0x1a6eaf,_0xe57e9b)=>{if(!_0x1a6eaf['item'])return;const {id:_0x5b2474}=this['_splitMarkerName'](_0x1a6eaf[_0x1aa0('0x151')]);if(_0x48a12f){const _0x481a36=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x5b2474),_0x2bb1fa=this[_0x1aa0('0xc5')](_0x481a36);if(!this[_0x1aa0('0x129')](_0x2bb1fa))return;}if(_0x1a6eaf['item']['is'](_0x1aa0('0x19')))return void _0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x1a6eaf[_0x1aa0('0x3')],_0xd05aba[_0x1aa0('0xd1')]);const _0x3f0710=_0xe57e9b[_0x1aa0('0x2a')][_0x1aa0('0x15e')](_0x1a6eaf[_0x1aa0('0x3')]);if(_0x1a6eaf[_0x1aa0('0x3')]['is'](_0x1aa0('0x92'))&&_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')]['isBlock'](_0x1a6eaf[_0x1aa0('0x3')])&&!_0x3f0710[_0x1aa0('0x41')]('addHighlight')){_0xe57e9b['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3f0710),_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0xdb')](_0x1aa0('0x119'),_0x5b2474,_0x3f0710),_0xe57e9b['mapper'][_0x1aa0('0x107')](_0x3f0710,_0x1a6eaf[_0x1aa0('0x151')]),_0x4e7a0a&&(this[_0x1aa0('0x77')]['includes'](_0x1a6eaf[_0x1aa0('0x151')])?_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0xad')](_0x1aa0('0x17a'),_0x3f0710):_0xe57e9b[_0x1aa0('0x101')][_0x1aa0('0x12d')](_0x1aa0('0x17a'),_0x3f0710));for(const _0x3c8772 of _0x2090f1['model'][_0x1aa0('0xd0')](_0x1a6eaf['item'])['getItems']())_0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x3c8772,_0xd05aba[_0x1aa0('0xd1')]);_0xe57e9b[_0x1aa0('0x97')][_0x1aa0('0x121')](_0x1a6eaf[_0x1aa0('0x3')],_0xd05aba[_0x1aa0('0xd1')]);}};_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0xb3'))[_0x1aa0('0xf1')](_0x3dd5b5=>{_0x3dd5b5['on'](_0x1aa0('0xa1'),(_0x395e80,_0x4563a7,_0x4353d0)=>{_0x4353d0[_0x1aa0('0xf3')][_0x1aa0('0x61')]&&_0x282187({'showActiveMarkers':!0x1})(_0x395e80,_0x4563a7,_0x4353d0);},{'priority':'highest'});}),_0x2090f1[_0x1aa0('0xb4')]['for'](_0x1aa0('0xb3'))['add'](_0x24e0d8=>{_0x24e0d8['on'](_0x1aa0('0x60'),(_0x3aec36,_0x270cbd,_0x3900e9)=>{_0x3900e9[_0x1aa0('0xf3')]['showSuggestionHighlights']&&_0x282187({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3aec36,_0x270cbd,_0x3900e9);},{'priority':_0x1aa0('0x13f')});}),_0x2090f1[_0x1aa0('0xb4')][_0x1aa0('0x2b')]('dataDowncast')[_0x1aa0('0x143')]({'model':_0x1aa0('0x11d'),'view':(_0x5889a0,_0x54461f)=>_0x54461f[_0x1aa0('0xf3')]['showSuggestionHighlights']?null:{'group':_0x1aa0('0x11d'),'name':_0x5889a0[_0x1aa0('0xab')](0xb)}}),_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0x113'))[_0x1aa0('0xae')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5ab858,{writer:_0x1d450b})=>{let _0x81c1c1=_0x1aa0('0x12f')+_0x5ab858[_0x1aa0('0x109')](_0x1aa0('0xb2'))+':'+_0x5ab858[_0x1aa0('0x109')]('id');return _0x5ab858[_0x1aa0('0x109')](_0x1aa0('0x17c'))&&(_0x81c1c1+=':'+_0x5ab858['getAttribute']('marker-count')),_0x1d450b[_0x1aa0('0x14d')]('$marker',{'data-name':_0x81c1c1});}}),_0x2090f1[_0x1aa0('0xb4')]['for']('upcast')[_0x1aa0('0x8e')]({'view':'suggestion'}),_0x2090f1[_0x1aa0('0xb4')]['for'](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x320bed=>{_0x320bed['on']('addMarker:suggestion:formatBlock',_0x282187(),{'priority':'high'});}),_0x2090f1['conversion'][_0x1aa0('0x2b')](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x30ab9c=>{_0x30ab9c['on'](_0x1aa0('0x60'),_0x282187({'isAttributeSuggestion':!0x0}),{'priority':_0x1aa0('0xd3')});}),_0x2090f1['conversion'][_0x1aa0('0x2b')]('editingDowncast')[_0x1aa0('0xf1')](_0x118d8b=>{_0x118d8b['on']('removeMarker:suggestion:formatBlock',(_0x321993,_0x4cf764,_0x2ccc3e)=>{const _0x60afad=_0x2ccc3e[_0x1aa0('0x2a')][_0x1aa0('0x66')](_0x4cf764[_0x1aa0('0x151')]);if(_0x60afad)for(const _0x4539c9 of _0x60afad)_0x4539c9[_0x1aa0('0x41')](_0x1aa0('0x131'))||(_0x2ccc3e[_0x1aa0('0x101')]['removeClass'](['ck-suggestion-marker',_0x1aa0('0x12c'),_0x1aa0('0x17a')],_0x4539c9),_0x2ccc3e['writer'][_0x1aa0('0x55')](_0x1aa0('0x119'),_0x4539c9),_0x2ccc3e[_0x1aa0('0x2a')][_0x1aa0('0x33')](_0x4539c9,_0x4cf764['markerName']));},{'priority':_0x1aa0('0xd3')});}),_0x2090f1['conversion']['for'](_0x1aa0('0x171'))[_0x1aa0('0xf1')](_0x14045a=>{_0x14045a['on']('removeMarker:suggestion:attribute',(_0x4d42ba,_0x400332,_0x1f425f)=>{const _0x4b91ba=_0x1f425f[_0x1aa0('0x2a')][_0x1aa0('0x66')](_0x400332['markerName']);if(!_0x4b91ba)return;const {id:_0x167bde}=this[_0x1aa0('0x11c')](_0x400332[_0x1aa0('0x151')]),_0x1295c0=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x167bde),_0x5b0d20=this[_0x1aa0('0xc5')](_0x1295c0);if(this['_isBlockAttribute'](_0x5b0d20))for(const _0x2849f5 of _0x4b91ba)_0x2849f5[_0x1aa0('0x41')](_0x1aa0('0x131'))||(_0x1f425f[_0x1aa0('0x101')]['removeClass']([_0x1aa0('0x3f'),_0x1aa0('0x12c'),'ck-suggestion-marker--active'],_0x2849f5),_0x1f425f[_0x1aa0('0x101')]['removeAttribute'](_0x1aa0('0x119'),_0x2849f5),_0x1f425f[_0x1aa0('0x2a')]['unbindElementFromMarkerName'](_0x2849f5,_0x400332[_0x1aa0('0x151')]));},{'priority':_0x1aa0('0xd3')});}),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')]['registerPostFixer'](_0x147215=>{let _0x425a8a=!0x1;const _0x58ea0a=Array['from'](_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x81')]()),_0x139fcf=new Set();for(const {name:_0x4570f8,data:_0x298004}of _0x58ea0a){const {group:_0x4723fc,type:_0xe0f646,subType:_0x5cf43f,id:_0x3ddaaf}=this[_0x1aa0('0x11c')](_0x4570f8);if('suggestion'!==_0x4723fc)continue;const _0xa76ea3=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x3ddaaf);if(null!=_0x298004[_0x1aa0('0x124')]){_0x1aa0('0xa2')==_0xe0f646&&(_0x425a8a=_0x425a8a||Et(_0x298004[_0x1aa0('0x124')],_0x4570f8,_0x147215,_0x2090f1['model'][_0x1aa0('0x5c')]));const _0x466d42='attribute'==_0xe0f646&&this['_isBlockAttribute'](_0x5cf43f[_0x1aa0('0xb9')]('|')[0x0]);if(_0x298004[_0x1aa0('0x124')][_0x1aa0('0xbb')]||_0x1aa0('0x10f')==_0x298004[_0x1aa0('0x124')][_0x1aa0('0xa7')]['rootName']||_0x1aa0('0x8a')==_0xe0f646&&!jt(_0x298004[_0x1aa0('0x124')])||_0x466d42&&!jt(_0x298004['newRange'])||_0x1aa0('0x175')==_0xe0f646&&!(!xt(_0x56948b=_0x298004[_0x1aa0('0x124')])&&!function(_0x53c8de){return _0x53c8de[_0x1aa0('0x2')][_0x1aa0('0x179')]==_0x53c8de[_0x1aa0('0x166')][_0x1aa0('0x84')]&&_0x53c8de[_0x1aa0('0x2')]['isAtEnd'];}(_0x56948b)))_0x147215[_0x1aa0('0x24')](_0x4570f8),_0x425a8a=!0x0;else{if(!_0xa76ea3||!_0xa76ea3[_0x1aa0('0x2c')])continue;_0x139fcf[_0x1aa0('0xf1')](_0xa76ea3);}}}var _0x56948b;return _0x139fcf[_0x1aa0('0x105')]>0x0&&(_0x425a8a=!!this['_joinWithAdjacentSuggestions'](_0x139fcf)||_0x425a8a),_0x425a8a;}),_0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xa9')](_0x194818=>{let _0x9b52c2=!0x1;for(const _0x18773d of _0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x83')]())if(_0x1aa0('0x6d')==_0x18773d['type'])for(const _0x2dda3f of this['_suggestions'][_0x1aa0('0xbd')]()){if(_0x2dda3f['isMultiRange']||!_0x2dda3f[_0x1aa0('0x2c')])continue;const _0x48a779=_0x1aa0('0x8a')==_0x2dda3f[_0x1aa0('0x75')],_0x219330=this[_0x1aa0('0xc5')](_0x2dda3f),_0x2540c7=_0x219330&&this[_0x1aa0('0x129')](_0x219330);if(!_0x48a779&&!_0x2540c7)continue;const _0x25cdb8=_0x2dda3f[_0x1aa0('0x165')]();if(_0x25cdb8[_0x1aa0('0x2')][_0x1aa0('0x179')]!=_0x25cdb8[_0x1aa0('0x166')][_0x1aa0('0x179')]&&!_0x25cdb8[_0x1aa0('0x166')][_0x1aa0('0x112')]){const _0xbb6d05=_0x2090f1['model'][_0x1aa0('0xe2')](_0x25cdb8[_0x1aa0('0x2')][_0x1aa0('0x132')],_0x1aa0('0x166')),_0x25c12a=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x25cdb8['start'],_0xbb6d05);_0x194818[_0x1aa0('0x156')](_0x2dda3f[_0x1aa0('0x4f')](),{'range':_0x25c12a}),_0x9b52c2=!0x0;}}return _0x9b52c2;}),_0x2090f1[_0x1aa0('0x21')]['document'][_0x1aa0('0xa9')](_0x232479=>this[_0x1aa0('0x14a')](_0x232479)),_0x2090f1['model'][_0x1aa0('0x54')][_0x1aa0('0xa9')](_0x38c3a1=>!_0x38c3a1[_0x1aa0('0x5a')][_0x1aa0('0x154')]&&this['_processAttributeSuggestions'](_0x38c3a1)),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x2d')]['on'](_0x1aa0('0x32'),(_0xc3b1fa,_0x1f7966,_0x331877)=>{if(null==_0x331877){const {id:_0x3332d8}=this[_0x1aa0('0x11c')](_0x1f7966[_0x1aa0('0xd1')]),_0x315e04=this[_0x1aa0('0x1')]['get'](_0x3332d8);_0x315e04&&_0x315e04[_0x1aa0('0x8c')](_0x1f7966[_0x1aa0('0xd1')]);}}),_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')]['on']('change:data',()=>{const _0x3f1773=Array[_0x1aa0('0x161')](_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x81')]())[_0x1aa0('0xc3')](_0x2667e7=>_0x1aa0('0x11d')===this[_0x1aa0('0x11c')](_0x2667e7['name'])[_0x1aa0('0xf9')]);if(0x0===_0x3f1773[_0x1aa0('0x140')])return;_0x3f1773[_0x1aa0('0x96')]((_0x510d4e,_0x56a088)=>{const _0x243a02=_0x510d4e['data'][_0x1aa0('0x176')],_0x425113=_0x56a088[_0x1aa0('0x13a')][_0x1aa0('0x176')];return null===_0x243a02&&null===_0x425113?0x0:null===_0x243a02&&null!==_0x425113?-0x1:null!==_0x243a02&&null===_0x425113?0x1:_0x243a02[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x425113[_0x1aa0('0x2')])?-0x1:0x1;});const _0x546a95=new Set(),_0xef6539=new Set();for(const {name:_0x71865c,data:_0x1584b9}of _0x3f1773){const {id:_0x568a39}=this[_0x1aa0('0x11c')](_0x71865c);if(null===_0x1584b9[_0x1aa0('0x176')]){const _0x2e459a=this[_0x1aa0('0x16f')](_0x71865c);_0xef6539[_0x1aa0('0xf1')](_0x2e459a);}else{const _0x442574=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x568a39);null!==_0x1584b9[_0x1aa0('0x124')]||_0x442574[_0x1aa0('0x2c')]?(_0x546a95[_0x1aa0('0xf1')](_0x442574[_0x1aa0('0x76')]),_0xef6539[_0x1aa0('0xf1')](_0x442574)):this[_0x1aa0('0x169')](_0x442574);}}_0xef6539[_0x1aa0('0x105')]>0x0&&this[_0x1aa0('0xeb')](_0xef6539);for(const _0x51caa6 of _0x546a95)this[_0x1aa0('0x5')]('suggestionChanged',_0x51caa6);}),_0x2090f1[_0x1aa0('0x21')]['on']('applyOperation',(_0x2399c4,_0x226c75)=>{const _0x318fa1=_0x226c75[0x0];if(!this[_0x1aa0('0x1')][_0x1aa0('0x105')])return;if(!_0x318fa1[_0x1aa0('0x138')])return;if(_0x318fa1['batch'][_0x1aa0('0x38')]||!_0x318fa1[_0x1aa0('0x5a')][_0x1aa0('0x154')])return;let _0x265594,_0x28c615;switch(_0x318fa1[_0x1aa0('0x75')]){case _0x1aa0('0x6d'):_0x265594=_0x2090f1['model'][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x39')]),_0x28c615=_0x265594[_0x1aa0('0x6e')](_0x318fa1['howMany']);break;case _0x1aa0('0xb9'):_0x265594=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x9')]),_0x28c615=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x14')]);break;case'move':_0x265594=_0x2090f1['model'][_0x1aa0('0xe2')](_0x318fa1[_0x1aa0('0x152')]),_0x28c615=_0x265594[_0x1aa0('0x6e')](_0x318fa1[_0x1aa0('0x49')]);break;default:return;}const _0x22db42=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x265594,_0x28c615);_0x2090f1['model'][_0x1aa0('0x13b')](()=>{for(const {suggestion:_0x21239a,meta:_0x493ab7}of this[_0x1aa0('0x51')](_0x22db42)){if(_0x21239a[_0x1aa0('0xcb')])continue;if(_0x1aa0('0xa2')==_0x21239a[_0x1aa0('0x75')])continue;const _0x4c24ee=this[_0x1aa0('0xc5')](_0x21239a);if(_0x4c24ee&&this[_0x1aa0('0x129')](_0x4c24ee)&&_0x1aa0('0xb9')!=_0x318fa1[_0x1aa0('0x75')])continue;const _0x2d3c51=_0x21239a[_0x1aa0('0x13a')]&&_0x21239a[_0x1aa0('0x13a')][_0x1aa0('0x0')];('formatBlock'!=_0x21239a[_0x1aa0('0x75')]||'split'==_0x318fa1[_0x1aa0('0x75')]&&!_0x2d3c51)&&(_0x493ab7[_0x1aa0('0x12e')]||'insertion'==_0x21239a[_0x1aa0('0x75')]&&_0x493ab7['isOwn']||_0x21239a[_0x1aa0('0x165')]()[_0x1aa0('0xe')](_0x22db42)&&this[_0x1aa0('0xc7')](_0x21239a,_0x265594,_0x28c615));}});},{'priority':_0x1aa0('0xbc')}),_0x2090f1[_0x1aa0('0x21')]['on'](_0x1aa0('0xc9'),(_0x23c92c,_0x2dc37b)=>{const _0x574313=_0x2dc37b[0x0],_0x413520=_0x2dc37b[0x1];if(_0x413520&&_0x413520['forceDefaultExecution'])return;if(this[_0x1aa0('0x23')])return;if(!this[_0x1aa0('0x5d')][_0x1aa0('0x130')])return;if(_0x574313[_0x1aa0('0xbb')])return;const _0x581f68=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')],{start:_0x55e977,end:_0x472daa}=_0x574313[_0x1aa0('0x165')](),_0x4f5956=_0x55e977[_0x1aa0('0x132')]&&_0x581f68[_0x1aa0('0xa6')](_0x55e977['nodeAfter'])?null:_0x581f68[_0x1aa0('0x142')](_0x55e977,_0x1aa0('0x108')),_0x260f14=_0x472daa['nodeBefore']&&_0x581f68[_0x1aa0('0xa6')](_0x472daa['nodeBefore'])?null:_0x581f68[_0x1aa0('0x142')](_0x472daa,_0x1aa0('0x168')),_0x2031df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x4f5956?_0x4f5956['start']:_0x55e977,_0x260f14?_0x260f14['end']:_0x472daa);_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x13b')](_0x2541de=>{this[_0x1aa0('0x17')](_0x2031df);const _0x1e5e80=_0x2090f1['model']['schema'][_0x1aa0('0x142')](_0x2031df[_0x1aa0('0x2')]);_0x574313['is']('documentSelection')?_0x2541de[_0x1aa0('0xfa')](_0x1e5e80):_0x574313[_0x1aa0('0x11')](_0x1e5e80);}),_0x23c92c[_0x1aa0('0x1b')]();},{'priority':_0x33fce0['normal']+0xa}),_0x2090f1[_0x1aa0('0x21')]['on'](_0x1aa0('0x28'),(_0x48b6c1,_0x4343fc)=>{const _0x5b835a=_0x4343fc[_0x4343fc[_0x1aa0('0x140')]-0x1];_0x5b835a&&_0x5b835a[_0x1aa0('0xd7')]||this[_0x1aa0('0x23')]||this[_0x1aa0('0x5d')][_0x1aa0('0x130')]&&(_0x2090f1['model']['change'](()=>{let _0x34b8df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x28')](_0x4343fc[0x0],_0x4343fc[0x1],_0x4343fc[0x2],{'forceDefaultExecution':!0x0});if(!_0x34b8df)return;_0x48b6c1[_0x1aa0('0xf4')]=_0x34b8df[_0x1aa0('0x30')]();const _0x49e018=_0x34b8df[_0x1aa0('0x166')]['nodeBefore'],_0x2fa027=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x5c')];_0x49e018&&_0x2fa027[_0x1aa0('0x68')](_0x49e018)&&!_0x2fa027[_0x1aa0('0xd8')](_0x49e018)&&(_0x34b8df=_0x2090f1[_0x1aa0('0x21')][_0x1aa0('0x42')](_0x34b8df[_0x1aa0('0x2')],_0x2090f1['model'][_0x1aa0('0xe2')](_0x49e018,_0x1aa0('0x166')))),this[_0x1aa0('0x133')](_0x34b8df);}),_0x48b6c1[_0x1aa0('0x1b')]());},{'priority':_0x1aa0('0xd3')}),this['editor'][_0x1aa0('0x141')][_0x1aa0('0xf1')](_0x1aa0('0x103'),this[_0x1aa0('0x5d')]),this[_0x1aa0('0x98')](_0x1aa0('0x103'));const _0x2eb586=new _0x36998b(_0x2090f1,this[_0x1aa0('0x1')]);_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('acceptSuggestion',_0x2eb586),this[_0x1aa0('0x98')](_0x1aa0('0x8'));const _0x3e4cef=new _0x1ef9be(_0x2090f1,this[_0x1aa0('0x1')]);_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')](_0x1aa0('0xea'),_0x3e4cef),this[_0x1aa0('0x98')](_0x1aa0('0xea')),_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('acceptAllSuggestions',new _0x548822(_0x2090f1,_0x2eb586,this[_0x1aa0('0x1')])),this['enableCommand'](_0x1aa0('0xd9')),_0x2090f1[_0x1aa0('0x141')][_0x1aa0('0xf1')]('discardAllSuggestions',new _0x548822(_0x2090f1,_0x3e4cef,this[_0x1aa0('0x1')])),this[_0x1aa0('0x98')](_0x1aa0('0x1f')),_0x2090f1['commands']['add'](_0x1aa0('0xc1'),new _0xf7bc0b(_0x2090f1,_0x2eb586,this['_suggestions'])),this[_0x1aa0('0x98')](_0x1aa0('0xc1')),_0x2090f1['commands'][_0x1aa0('0xf1')]('discardSelectedSuggestions',new _0xf7bc0b(_0x2090f1,_0x3e4cef,this['_suggestions'])),this[_0x1aa0('0x98')](_0x1aa0('0x13'));const _0x2133d=_0x2090f1[_0x1aa0('0xf2')]['get'](_0x1aa0('0x63'));this[_0x1aa0('0x79')](_0x2133d,_0x1aa0('0x4d'),(_0x5bafe1,{threadId:_0x39794a})=>{const _0x509679=this[_0x1aa0('0x1')][_0x1aa0('0x118')](_0x39794a);_0x509679&&_0x509679[_0x1aa0('0x106')]&&0x1===_0x509679[_0x1aa0('0x106')][_0x1aa0('0x140')]&&this['_updateSuggestionData'](_0x39794a,{'hasComments':!0x0});},{'priority':'low'}),this[_0x1aa0('0x79')](_0x2133d,'removeComment',(_0x56264e,{threadId:_0xf7ec90})=>{const _0x54c2a4=this['_suggestions'][_0x1aa0('0x118')](_0xf7ec90);_0x54c2a4&&_0x54c2a4[_0x1aa0('0x106')]&&!_0x54c2a4[_0x1aa0('0x106')][_0x1aa0('0x140')]&&this['_updateSuggestionData'](_0xf7ec90,{'hasComments':!0x1});},{'priority':'low'});}set[_0x1aa0('0xb0')](_0x39ecc7){if(this[_0x1aa0('0x16')])throw new _0x3c8e1d(_0x1aa0('0x18'),this);this['_adapter']=_0x39ecc7;}get[_0x1aa0('0xb0')](){return this[_0x1aa0('0x16')];}[_0x1aa0('0x15a')]({skipNotAttached:_0x46ae1f=!0x1,toJSON:_0x2af2e7=!0x1}={}){const _0x28a779=[];for(const _0x7faa26 of this[_0x1aa0('0x1')][_0x1aa0('0xbd')]())_0x46ae1f&&!_0x7faa26[_0x1aa0('0x2c')]||_0x28a779['push'](_0x7faa26);return _0x2af2e7?_0x28a779[_0x1aa0('0x4e')](_0x15b1b9=>_0x15b1b9[_0x1aa0('0xfe')]()):_0x28a779;}[_0x1aa0('0x16a')](_0x511ece){const _0x363c1b=this['_suggestions'][_0x1aa0('0x118')](_0x511ece);if(!_0x363c1b)throw new _0x3c8e1d('track-changes-suggestion-not-found',this);return _0x363c1b;}[_0x1aa0('0x36')](_0x447912){return this['_suggestions'][_0x1aa0('0xce')](_0x447912);}['addSuggestionData'](_0x35d0ca){const {authorId:_0x45ec66,id:_0x227337,attributes:_0x578985}=_0x35d0ca,[_0x345001,_0x23e7b0]=_0x35d0ca[_0x1aa0('0x75')][_0x1aa0('0xb9')](':'),_0x2f1d0d=this['_suggestions'][_0x1aa0('0x118')](_0x227337)||this[_0x1aa0('0x15f')](_0x345001,_0x23e7b0,_0x227337,_0x45ec66,_0x578985);if(this[_0x1aa0('0x8b')](_0x2f1d0d),this[_0x1aa0('0x87')](_0x2f1d0d,_0x345001,_0x23e7b0||null,_0x45ec66),_0x2f1d0d['createdAt']=_0x35d0ca['createdAt'],_0x2f1d0d['_isDataLoaded']=!0x0,_0x578985&&_0x578985[_0x1aa0('0xf')]){const _0x3b61bb=_0x578985[_0x1aa0('0xf')],_0x43e424=this[_0x1aa0('0x16d')](_0x3b61bb[_0x1aa0('0x16c')]);_0x2f1d0d[_0x1aa0('0x14b')]=_0x3b61bb['createdAt'],_0x2f1d0d[_0x1aa0('0x8f')]=_0x43e424,_0x2f1d0d[_0x1aa0('0x16b')]=!0x0;}else _0x2f1d0d[_0x1aa0('0x14b')]=_0x35d0ca[_0x1aa0('0xb7')];switch(_0x35d0ca['data']&&(_0x2f1d0d[_0x1aa0('0x13a')]=_0x35d0ca['data']),_0x35d0ca[_0x1aa0('0x10e')]&&(_0x2f1d0d[_0x1aa0('0x10e')]=_0x35d0ca[_0x1aa0('0x10e')]),this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')][_0x1aa0('0x6b')]||(_0x2f1d0d[_0x1aa0('0x91')]=!0x0),this[_0x1aa0('0x135')]['get'](_0x2f1d0d)){case'notReady':this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x2f1d0d,_0x1aa0('0xde'));break;case _0x1aa0('0x7c'):_0x2f1d0d[_0x1aa0('0x2c')]?(this[_0x1aa0('0xeb')](new Set([_0x2f1d0d])),this[_0x1aa0('0x115')](new Set([_0x2f1d0d])),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x2f1d0d,'ready'),this[_0x1aa0('0x5')](_0x1aa0('0x1e'),_0x2f1d0d)):this[_0x1aa0('0x135')]['set'](_0x2f1d0d,_0x1aa0('0x50'));}return _0x2f1d0d;}[_0x1aa0('0x8')](_0x4d399a){this['forceDefaultExecution'](()=>{this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x13b')](()=>{for(const _0x38ed87 of _0x4d399a[_0x1aa0('0x3a')]())_0x38ed87[_0x1aa0('0x93')]();});});}[_0x1aa0('0xea')](_0x305dbf){this[_0x1aa0('0xd7')](()=>{this[_0x1aa0('0x45')]['model']['change'](()=>{for(const _0x5ded87 of _0x305dbf['getAllAdjacentSuggestions']())_0x5ded87[_0x1aa0('0xe6')]();});});}[_0x1aa0('0x98')](_0x489934,_0x3f8ce2){const _0x4e49ca=this[_0x1aa0('0x45')][_0x1aa0('0x141')][_0x1aa0('0x118')](_0x489934);if(!_0x4e49ca)throw new _0x3c8e1d(_0x1aa0('0x100'),this,{'commandName':_0x489934});if(this[_0x1aa0('0x110')]['has'](_0x4e49ca))throw new _0x3c8e1d(_0x1aa0('0x5f'),this,{'commandName':_0x489934});this[_0x1aa0('0x110')][_0x1aa0('0xf1')](_0x4e49ca),_0x3f8ce2&&_0x4e49ca['on'](_0x1aa0('0xb6'),(_0x216760,_0x23174e)=>{this[_0x1aa0('0x5d')][_0x1aa0('0x130')]&&(this[_0x1aa0('0x23')]||(_0x23174e[_0x1aa0('0x140')]>0x0&&_0x23174e[_0x23174e[_0x1aa0('0x140')]-0x1]&&_0x23174e[_0x23174e[_0x1aa0('0x140')]-0x1][_0x1aa0('0xd7')]?_0x23174e[_0x1aa0('0x145')]():(_0x216760['return']=_0x3f8ce2((..._0x1eb225)=>_0x4e49ca[_0x1aa0('0xb6')](..._0x1eb225,{'forceDefaultExecution':!0x0}),..._0x23174e),_0x216760[_0x1aa0('0x1b')]())));},{'priority':_0x1aa0('0xd3')});}[_0x1aa0('0xd7')](_0x5aaf83){let _0x3b7c16,_0x3ae8b7;const _0x337b87=this['_isForcedDefaultExecutionBlock'];this[_0x1aa0('0x23')]=!0x0;try{_0x3b7c16=_0x5aaf83();}catch(_0x2de092){_0x3ae8b7=_0x2de092;}return _0x337b87||(this[_0x1aa0('0x23')]=!0x1),_0x3ae8b7&&_0x3c8e1d[_0x1aa0('0x114')](_0x3ae8b7,this),_0x3b7c16;}[_0x1aa0('0x133')](_0x6d6bc4,_0x50a90d=null,_0x35d82d={}){if(_0x6d6bc4[_0x1aa0('0xbb')])return null;const _0x31af17=this[_0x1aa0('0x45')]['plugins']['get'](_0x1aa0('0xc0'))['me'];for(const {suggestion:_0x251c22,meta:_0x2c91d5}of this[_0x1aa0('0x51')](_0x6d6bc4,_0x1aa0('0xb')))if(_0x2c91d5[_0x1aa0('0x13d')]){if(!_0x2c91d5[_0x1aa0('0x64')]){if(_0x2c91d5[_0x1aa0('0x12e')]){if(!this[_0x1aa0('0xb1')]||!Ft(_0x251c22,_0x35d82d))continue;return _0x251c22;}if(Ft(_0x251c22,_0x35d82d))return _0x251c22;this['_breakSuggestionMarker'](_0x251c22,_0x6d6bc4[_0x1aa0('0x2')],_0x6d6bc4[_0x1aa0('0x166')]);break;}if(_0x50a90d==_0x251c22[_0x1aa0('0x13e')]&&Ft(_0x251c22,_0x35d82d)){const _0x485307=_0x251c22[_0x1aa0('0x165')]();return _0x485307[_0x1aa0('0x2')][_0x1aa0('0x111')](_0x6d6bc4['end'])?this[_0x1aa0('0x71')](_0x251c22,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x6d6bc4[_0x1aa0('0x2')],_0x485307[_0x1aa0('0x166')])):this[_0x1aa0('0x71')](_0x251c22,this[_0x1aa0('0x10a')]['createRange'](_0x485307[_0x1aa0('0x2')],_0x6d6bc4[_0x1aa0('0x166')])),_0x251c22;}}const _0x3a1025=_0x2a195c(),_0x778b51=_0x31af17['id'],_0x3a8cb5=_0x50a90d?_0x1aa0('0x10d')+_0x50a90d:_0x1aa0('0xb'),_0x4b4772=this[_0x1aa0('0x85')]({'id':_0x3a1025,'type':_0x3a8cb5,'createdAt':new Date(),'authorId':_0x778b51,'attributes':_0x35d82d});return this[_0x1aa0('0x11f')](_0x3a8cb5,_0x3a1025,_0x778b51,_0x6d6bc4),_0x4b4772;}['markMultiRangeInsertion'](_0xf33ff3,_0x3e66fc='multi',_0x12c302={}){const _0x4e7e62=this['editor'][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x5cf18d=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0xb'),_0x3e66fc,_0x1aa0('0x99'));for(const _0x362c56 of this['getSuggestions']())if(_0x362c56[_0x1aa0('0x8f')]['id']==_0x4e7e62['id']&&_0x1aa0('0xb')==_0x362c56[_0x1aa0('0x75')]&&_0x362c56[_0x1aa0('0x13e')]==_0x3e66fc&&Ft(_0x362c56,_0x12c302)&&(_0x5cf18d(_0x362c56['getRanges'](),_0xf33ff3)||_0x5cf18d(_0xf33ff3,_0x362c56['getRanges']()))){for(const _0x5d7c65 of _0xf33ff3)_0x362c56[_0x1aa0('0xee')](_0x5d7c65);return _0x362c56;}for(const {suggestion:_0x3d7212,meta:_0x38f658}of this['_findSuggestions'](_0xf33ff3,_0x1aa0('0xb'))){if(!_0x38f658[_0x1aa0('0x13d')])continue;if(!this[_0x1aa0('0xb1')]&&_0x38f658['containsRangeInObject'])continue;if(!Ft(_0x3d7212,_0x12c302))continue;let _0x3e90f7=!0x0;for(const _0x4806d0 of _0x3d7212[_0x1aa0('0x10c')]())for(const _0x1053a1 of _0xf33ff3)if(!_0x4806d0['containsRange'](_0x1053a1)){_0x3e90f7=!0x1;break;}if(_0x3e90f7)return _0x3d7212;}const _0x4f4501=_0x2a195c(),_0x190570=_0x4e7e62['id'],_0x18f32e=_0x1aa0('0x10d')+_0x3e66fc,_0x35d445=this['_setSuggestionData']({'id':_0x4f4501,'type':_0x18f32e,'createdAt':new Date(),'authorId':_0x190570,'attributes':_0x12c302});for(const _0x31d63e of _0xf33ff3)this[_0x1aa0('0x11f')](_0x18f32e,_0x4f4501,_0x190570,_0x31d63e,_0x526ec3[_0x1aa0('0x137')]());return _0x35d445;}[_0x1aa0('0x15d')](_0x1f33a8,_0x4212c8,_0x23a7d1=null,_0x450d33={}){if(_0x23a7d1=_0x23a7d1||Rt(_0x4212c8),_0x1f33a8[_0x1aa0('0xbb')])return null;if(_0x1aa0('0x9e')===this[_0x1aa0('0xa0')]){const _0x29ccd7=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0xa2'),_0x23a7d1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x29ccd7([_0x1f33a8],_0x4212c8,_0x450d33)),null;}const _0x1f58c3=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x14ddfc=[];if('always'!==this[_0x1aa0('0xa0')])for(const {suggestion:_0x434b70,meta:_0x5bee97}of this['_findSuggestions'](_0x1f33a8,'insertion'))_0x5bee97[_0x1aa0('0x13d')]&&!_0x5bee97[_0x1aa0('0x147')]&&_0x14ddfc['push'](..._0x434b70[_0x1aa0('0x10c')]());const _0x4c01b9=function(_0x294c71,_0x4335d2){const _0x5acbbf=[];for(const _0xeadffa of _0x4335d2){const _0x22177d=_0x294c71[_0x1aa0('0xec')](_0xeadffa);_0x22177d&&_0x5acbbf[_0x1aa0('0x35')](_0x22177d);}return _0x5acbbf;}(_0x1f33a8,_0x14ddfc),_0x3ce635=function(_0x552b80,_0x11fa0f){const _0x14228b=[_0x552b80];for(const _0x5e4bfe of _0x11fa0f){let _0x2bfecc=0x0;for(;_0x2bfecc<_0x14228b[_0x1aa0('0x140')];){const _0x4d51ea=_0x14228b[_0x2bfecc][_0x1aa0('0x159')](_0x5e4bfe);_0x14228b[_0x1aa0('0xd4')](_0x2bfecc,0x1,..._0x4d51ea),_0x2bfecc+=_0x4d51ea[_0x1aa0('0x140')];}}return _0x14228b;}(_0x1f33a8,_0x14ddfc);_0x4c01b9[_0x1aa0('0x140')]&&this['_model'][_0x1aa0('0x13b')](()=>{for(const _0x3d9970 of _0x4c01b9){const _0x481b2b=this['_suggestionFactory'][_0x1aa0('0x14f')]('formatInline',_0x23a7d1,'accept');this[_0x1aa0('0xd7')](()=>_0x481b2b([_0x3d9970],_0x4212c8,_0x450d33));}});for(const _0x187914 of _0x3ce635){let _0x2e232f=null,_0x3bcd1b=_0x187914[_0x1aa0('0x2')],_0xb2bad9=_0x187914[_0x1aa0('0x166')];for(const {suggestion:_0x50bfac,meta:_0x15bda9}of this[_0x1aa0('0x51')](_0x187914,'formatInline')){if(!_0x15bda9[_0x1aa0('0x13d')])continue;if(_0x50bfac[_0x1aa0('0x13e')]!=_0x23a7d1)continue;if(!Ft(_0x50bfac,_0x450d33))continue;const _0x53a4db=_0x50bfac[_0x1aa0('0x165')]();if(_0x53a4db[_0x1aa0('0xe')](_0x187914,!0x0))return null;_0x3bcd1b=_0x3bcd1b[_0x1aa0('0x11b')](_0x53a4db[_0x1aa0('0x2')])?_0x3bcd1b:_0x53a4db[_0x1aa0('0x2')],_0xb2bad9=_0xb2bad9[_0x1aa0('0x136')](_0x53a4db[_0x1aa0('0x166')])?_0xb2bad9:_0x53a4db[_0x1aa0('0x166')],_0x2e232f?_0x53a4db[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x2e232f['getFirstRange']()['start'])?(_0x2e232f['removeMarkers'](),_0x2e232f=_0x50bfac):_0x50bfac['removeMarkers']():_0x2e232f=_0x50bfac;}const _0x47fde5=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x3bcd1b,_0xb2bad9);if(_0x2e232f)this['_setSuggestionRange'](_0x2e232f,_0x47fde5);else{const _0x3c9790=_0x2a195c(),_0x40c61a=_0x1f58c3['id'];this[_0x1aa0('0x85')]({'id':_0x3c9790,'type':'formatInline:'+_0x23a7d1,'data':_0x4212c8,'createdAt':new Date(),'authorId':_0x40c61a,'attributes':_0x450d33}),this[_0x1aa0('0x11f')](_0x1aa0('0x80')+_0x23a7d1,_0x3c9790,_0x40c61a,_0x47fde5);}}return null;}[_0x1aa0('0x6c')](_0x28e136,_0x3a8baa,_0x16c9e0=[],_0x2aa35b=null,_0x27f8a3={}){_0x3a8baa[_0x1aa0('0x62')]||(_0x3a8baa['formatGroupId']=_0x3a8baa[_0x1aa0('0x3c')]),_0x3a8baa['multipleBlocks']=_0x28e136['is'](_0x1aa0('0x3b')),_0x2aa35b=_0x2aa35b||Rt(_0x3a8baa);const _0x3f154b=_0x16c9e0[_0x1aa0('0x4e')](_0xd05c69=>Ut(_0xd05c69,this[_0x1aa0('0x10a')])),_0x40d7e4=_0x28e136['is'](_0x1aa0('0x3b'))?_0x28e136:Ut(_0x28e136,this[_0x1aa0('0x10a')]);if('never'===this[_0x1aa0('0xa0')]){const _0x5f5dcd=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x2aa35b,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x5f5dcd([_0x40d7e4],_0x3a8baa,_0x27f8a3)),null;}_0x3f154b['push'](_0x40d7e4);let _0x42dea6=!0x0;for(const _0x16a33c of _0x3f154b)if(!this[_0x1aa0('0xff')](_0x16a33c)){_0x42dea6=!0x1;break;}if(_0x42dea6&&_0x1aa0('0x22')!==this[_0x1aa0('0xa0')]){const _0x4dab67=this['_suggestionFactory'][_0x1aa0('0x14f')]('formatBlock',_0x2aa35b,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x4dab67([_0x40d7e4],_0x3a8baa,_0x27f8a3)),null;}let _0x2297bb=null,_0x1907db=_0x40d7e4[_0x1aa0('0x2')],_0x2596ae=_0x40d7e4[_0x1aa0('0x166')];for(const {suggestion:_0x57b3ad,meta:_0x26e21e}of this[_0x1aa0('0x51')](_0x40d7e4,_0x1aa0('0x8a'))){if(!_0x26e21e[_0x1aa0('0x13d')])continue;if(_0x26e21e[_0x1aa0('0x64')]||_0x26e21e[_0x1aa0('0x12e')]||_0x26e21e['isInsideObject'])continue;if(_0x57b3ad[_0x1aa0('0x13a')][_0x1aa0('0x62')]!=_0x3a8baa[_0x1aa0('0x62')])continue;if(!Ft(_0x57b3ad,_0x27f8a3))continue;const _0x3792e3=_0x57b3ad[_0x1aa0('0x165')]();if(_0x57b3ad[_0x1aa0('0x13e')]==_0x2aa35b){if(_0x3792e3[_0x1aa0('0xe')](_0x40d7e4,!0x0))return null;_0x1907db=_0x1907db[_0x1aa0('0x11b')](_0x3792e3[_0x1aa0('0x2')])?_0x1907db:_0x3792e3[_0x1aa0('0x2')],_0x2596ae=_0x2596ae[_0x1aa0('0x136')](_0x3792e3[_0x1aa0('0x166')])?_0x2596ae:_0x3792e3[_0x1aa0('0x166')],_0x2297bb?_0x3792e3[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x2297bb[_0x1aa0('0x165')]()[_0x1aa0('0x2')])?(_0x2297bb['removeMarkers'](),_0x2297bb=_0x57b3ad):_0x57b3ad['removeMarkers']():_0x2297bb=_0x57b3ad;}else{const _0x4dfa25=_0x40d7e4[_0x1aa0('0xec')](_0x3792e3);this[_0x1aa0('0xd6')](_0x57b3ad,_0x4dfa25);}}const _0x31fbd7=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x2774b0=_0x2a195c(),_0x4f25e1=_0x31fbd7['id'];if(_0x2297bb)return this[_0x1aa0('0x71')](_0x2297bb,this['_model'][_0x1aa0('0x42')](_0x1907db,_0x2596ae)),_0x2297bb;{const _0x219329=this[_0x1aa0('0x85')]({'id':_0x2774b0,'type':_0x1aa0('0x9d')+_0x2aa35b,'data':_0x3a8baa,'createdAt':new Date(),'authorId':_0x4f25e1,'attributes':_0x27f8a3});return this['_addSuggestionMarker'](_0x1aa0('0x9d')+_0x2aa35b,_0x2774b0,_0x4f25e1,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x1907db,_0x2596ae)),_0x219329;}}['markMultiRangeBlockFormat'](_0x338823,_0x240868,_0x38b139=[],_0x1b24e1=null,_0xc43b44={}){_0x240868['formatGroupId']||(_0x240868['formatGroupId']=_0x240868[_0x1aa0('0x3c')]);const _0x326f9e=_0x338823[0x0];_0x240868[_0x1aa0('0x0')]=_0x326f9e['is'](_0x1aa0('0x3b')),_0x1b24e1=_0x1b24e1||Rt(_0x240868);const _0x189bf0=_0x38b139[_0x1aa0('0x4e')](_0x3e2394=>Ut(_0x3e2394,this[_0x1aa0('0x10a')])),_0xb1791=_0x326f9e['is'](_0x1aa0('0x3b'))?_0x338823:_0x338823[_0x1aa0('0x4e')](_0x37fe20=>Ut(_0x37fe20,this[_0x1aa0('0x10a')]));if(_0x1aa0('0x9e')===this['_trackFormatChanges']){const _0x510a92=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x1b24e1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x510a92(_0xb1791,_0x240868,_0xc43b44)),null;}_0x189bf0[_0x1aa0('0x35')](..._0xb1791);let _0xd44191=!0x0;for(const _0x35c00a of _0x189bf0)if(!this[_0x1aa0('0xff')](_0x35c00a)){_0xd44191=!0x1;break;}if(_0xd44191&&_0x1aa0('0x22')!==this[_0x1aa0('0xa0')]){const _0x37bdf4=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x8a'),_0x1b24e1,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x37bdf4(_0xb1791,_0x240868,_0xc43b44)),null;}const _0x154aea=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')]('Users')['me'];for(const _0x53effc of this[_0x1aa0('0x15a')]()){if(_0x53effc[_0x1aa0('0x8f')]['id']!=_0x154aea['id'])continue;if(_0x1aa0('0x8a')!=_0x53effc[_0x1aa0('0x75')]||_0x53effc[_0x1aa0('0x13a')][_0x1aa0('0x62')]!=_0x240868['formatGroupId'])continue;if(!Ft(_0x53effc,_0xc43b44))continue;const _0x32d209=_0x53effc['subType']==_0x1b24e1;for(let _0xd7957e=0x0;_0xd7957e<_0xb1791[_0x1aa0('0x140')];_0xd7957e++){const _0x3a6163=_0xb1791[_0xd7957e];for(const _0x437eb1 of _0x53effc[_0x1aa0('0x170')]()){const _0x3f9452=_0x437eb1['getRange']();if(_0x3a6163[_0x1aa0('0x111')](_0x3f9452)){_0x32d209?(_0xb1791[_0x1aa0('0xd4')](_0xd7957e,0x1),_0xd7957e--):_0x53effc[_0x1aa0('0x24')](_0x437eb1[_0x1aa0('0xd1')]);break;}}}}if(0x0==_0xb1791[_0x1aa0('0x140')])return null;const _0x4809a3=this['_suggestionFactory']['getSuggestionCallback'](_0x1aa0('0x8a'),_0x1b24e1,'join');for(const _0x29aad6 of this[_0x1aa0('0x15a')]())if(_0x29aad6[_0x1aa0('0x8f')]['id']==_0x154aea['id']&&_0x1aa0('0x8a')==_0x29aad6['type']&&_0x29aad6[_0x1aa0('0x13a')][_0x1aa0('0x62')]==_0x240868['formatGroupId']&&_0x29aad6['subType']==_0x1b24e1&&Ft(_0x29aad6,_0xc43b44)&&(_0x4809a3(_0x29aad6[_0x1aa0('0x10c')](),_0xb1791)||_0x4809a3(_0xb1791,_0x29aad6[_0x1aa0('0x10c')]()))){for(const _0x41d7b3 of _0xb1791)_0x29aad6[_0x1aa0('0xee')](_0x41d7b3);return _0x29aad6;}const _0x58d371=_0x2a195c(),_0x5ec2ab=_0x154aea['id'],_0x2d5946=_0x1aa0('0x9d')+_0x1b24e1,_0x5cadc7=this[_0x1aa0('0x85')]({'id':_0x58d371,'type':_0x2d5946,'data':_0x240868,'createdAt':new Date(),'authorId':_0x5ec2ab,'attributes':_0xc43b44});for(const _0x115ee6 of _0xb1791)this[_0x1aa0('0x11f')](_0x2d5946,_0x58d371,_0x5ec2ab,_0x115ee6,_0x526ec3[_0x1aa0('0x137')]());return _0x5cadc7;}[_0x1aa0('0x17')](_0x288017,_0x3206f3=null,_0x3a0d6c={}){if(_0x288017['isCollapsed'])return null;const _0x5dcb72=this[_0x1aa0('0x45')]['plugins'][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x193fa9=new _0x174a17(_0x288017[_0x1aa0('0x2')],_0x288017[_0x1aa0('0x166')]);for(const {suggestion:_0x2543e9,meta:_0x4bb466}of this[_0x1aa0('0x51')](_0x193fa9,_0x1aa0('0xb')))if(_0x4bb466[_0x1aa0('0x13d')]&&!_0x4bb466[_0x1aa0('0x64')]){if(_0x2543e9['isMultiRange']){const _0x1c9db8=_0x2543e9[_0x1aa0('0x10c')]()['filter'](_0x244cb9=>_0x1aa0('0x10f')!=_0x244cb9[_0x1aa0('0xa7')][_0x1aa0('0xfd')]);_0x1c9db8[_0x1aa0('0xc2')](_0x2a1bba=>_0x193fa9['containsRange'](_0x2a1bba,!0x0))&&_0x2543e9[_0x1aa0('0xe6')]();if(_0x1c9db8['some'](_0x2438d1=>_0x2438d1[_0x1aa0('0xe')](_0x193fa9,!0x0))){const _0x5f0f98=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x1aa0('0x175'),_0x3206f3,_0x1aa0('0x93'));return this['forceDefaultExecution'](()=>_0x5f0f98([_0x193fa9],null,_0x3a0d6c)),null;}}else{const _0x4e4a5b=_0x193fa9['getIntersection'](_0x2543e9[_0x1aa0('0x165')]());null!==_0x4e4a5b&&_0x2543e9[_0x1aa0('0x144')]([_0x4e4a5b],null,_0x3a0d6c);}}if(_0x193fa9['detach'](),_0x193fa9[_0x1aa0('0xbb')]||_0x1aa0('0x10f')==_0x193fa9['root'][_0x1aa0('0xfd')])return null;let _0x24b8c3=null,_0x2ede55=_0x193fa9['start'],_0x50ab4b=_0x193fa9[_0x1aa0('0x166')];const _0x36592d=this[_0x1aa0('0x51')](_0x193fa9,'deletion');for(const {suggestion:_0x2c5fc9,meta:_0x367168}of _0x36592d){const _0x4e3f50=this['_model'][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b);if(_0x367168[_0x1aa0('0x13d')]&&(this[_0x1aa0('0xb1')]||!_0x367168[_0x1aa0('0x12e')]&&!_0x367168['isInsideObject'])){if(_0x2c5fc9['isMultiRange']){if(!Ft(_0x2c5fc9,_0x3a0d6c))continue;let _0x185472=!0x0;for(const _0x4ad9e7 of _0x2c5fc9[_0x1aa0('0x10c')]()){if(_0x4ad9e7[_0x1aa0('0xe')](_0x4e3f50,!0x0))return _0x2c5fc9;_0x4e3f50[_0x1aa0('0xe')](_0x4ad9e7)||(_0x185472=!0x1);}_0x185472&&_0x2c5fc9[_0x1aa0('0xe6')]();}else{const _0x3f368d=_0x2c5fc9['getFirstRange']();if(_0x3f368d['containsRange'](_0x4e3f50,!0x0))return _0x2c5fc9;if(!Ft(_0x2c5fc9,_0x3a0d6c)){_0x4e3f50['containsRange'](_0x3f368d)?_0x2c5fc9[_0x1aa0('0x148')]():_0x3f368d[_0x1aa0('0x40')](_0x2ede55)?_0x2ede55=_0x3f368d[_0x1aa0('0x166')]:_0x3f368d['containsPosition'](_0x50ab4b)&&(_0x50ab4b=_0x3f368d[_0x1aa0('0x2')]);continue;}_0x2ede55=_0x2ede55[_0x1aa0('0x11b')](_0x3f368d[_0x1aa0('0x2')])?_0x2ede55:_0x3f368d['start'],_0x50ab4b=_0x50ab4b[_0x1aa0('0x136')](_0x3f368d[_0x1aa0('0x166')])?_0x50ab4b:_0x3f368d[_0x1aa0('0x166')],_0x3a0d6c=Object['assign']({},_0x2c5fc9['attributes']),_0x24b8c3?_0x3f368d[_0x1aa0('0x2')][_0x1aa0('0x11b')](_0x24b8c3[_0x1aa0('0x165')]()[_0x1aa0('0x2')])?(_0x24b8c3[_0x1aa0('0x148')](),_0x24b8c3=_0x2c5fc9):_0x2c5fc9[_0x1aa0('0x148')]():_0x24b8c3=_0x2c5fc9;}}}if(_0x24b8c3)return this[_0x1aa0('0x71')](_0x24b8c3,this['_model'][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b)),_0x24b8c3;{const _0x43e9eb=_0x2a195c(),_0x12a56b=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x2ede55,_0x50ab4b),_0x7eb9d5=_0x5dcb72['id'],_0x187444=_0x3206f3?_0x1aa0('0x1a')+_0x3206f3:_0x1aa0('0x175'),_0xe8542=this[_0x1aa0('0x85')]({'id':_0x43e9eb,'type':_0x187444,'createdAt':new Date(),'authorId':_0x7eb9d5,'attributes':_0x3a0d6c});return this[_0x1aa0('0x11f')](_0x187444,_0x43e9eb,_0x7eb9d5,_0x12a56b),_0xe8542;}}[_0x1aa0('0x15c')](_0xbb5d67,_0x1f086f=_0x1aa0('0x10b'),_0x4b6141={}){const _0x369b1f=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'],_0x390d34=_0xbb5d67[_0x1aa0('0x4e')](_0xcd787b=>new _0x174a17(_0xcd787b['start'],_0xcd787b['end'])),_0xcb77d2=new Set();for(const {suggestion:_0xa3c487,meta:_0x5dbf96}of this[_0x1aa0('0x51')](_0x390d34,_0x1aa0('0xb')))_0x5dbf96[_0x1aa0('0x13d')]&&!_0x5dbf96[_0x1aa0('0x64')]&&_0xcb77d2[_0x1aa0('0xf1')](_0xa3c487);for(const _0x299962 of _0xcb77d2)if(_0x299962['isMultiRange']){const _0x2c28c9=_0x299962[_0x1aa0('0x10c')]();(!_0x299962[_0x1aa0('0x10e')]||!_0x299962[_0x1aa0('0x10e')][_0x1aa0('0x73')])&&(_0x2c28c9[_0x1aa0('0xc2')](_0x34e886=>_0x390d34[_0x1aa0('0x7e')](_0xb1c7e6=>_0xb1c7e6[_0x1aa0('0xe')](_0x34e886,!0x0)))&&_0x299962[_0x1aa0('0xe6')]());if(_0x390d34[_0x1aa0('0xc2')](_0x1717aa=>_0x2c28c9[_0x1aa0('0x7e')](_0x1082eb=>_0x1082eb[_0x1aa0('0xe')](_0x1717aa,!0x0)))){const _0x12628a=this[_0x1aa0('0x17b')][_0x1aa0('0x14f')]('deletion',_0x1f086f,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x12628a(_0xbb5d67,null,_0x4b6141)),null;}}else{const _0x32fe51=_0x299962[_0x1aa0('0x165')]();_0x390d34[_0x1aa0('0x7e')](_0x3db7d7=>_0x3db7d7[_0x1aa0('0xe')](_0x32fe51,!0x0))&&_0x299962[_0x1aa0('0xe6')]();if(_0x390d34[_0x1aa0('0xc2')](_0x5c3391=>_0x32fe51[_0x1aa0('0xe')](_0x5c3391,!0x0))){const _0x442118=this['_suggestionFactory'][_0x1aa0('0x14f')]('deletion',_0x1f086f,_0x1aa0('0x93'));return this[_0x1aa0('0xd7')](()=>_0x442118(_0x390d34,null,_0x4b6141)),null;}}const _0x52fa4b=this[_0x1aa0('0x17b')]['getSuggestionCallback'](_0x1aa0('0x175'),_0x1f086f,_0x1aa0('0x99'));let _0x1bbd2e=null;for(const _0x962e06 of this['getSuggestions']())if(_0x962e06['author']['id']==_0x369b1f['id']&&_0x962e06['isInContent']&&'deletion'==_0x962e06[_0x1aa0('0x75')]&&_0x962e06[_0x1aa0('0x13e')]==_0x1f086f&&Ft(_0x962e06,_0x4b6141)&&(_0x52fa4b(_0x962e06[_0x1aa0('0x10c')](),_0x390d34)||_0x52fa4b(_0x390d34,_0x962e06[_0x1aa0('0x10c')]()))){if(_0x1bbd2e){if(_0x962e06['commentThread']&&_0x962e06['commentThread'][_0x1aa0('0x140')])continue;for(const _0x5aa5a5 of _0x962e06[_0x1aa0('0x10c')]())_0x1bbd2e['isIntersectingWithRange'](_0x5aa5a5)||_0x1bbd2e[_0x1aa0('0xee')](_0x5aa5a5);_0x962e06['removeMarkers']();}else{_0x1bbd2e=_0x962e06;for(const _0x316fba of _0x390d34)_0x962e06[_0x1aa0('0x53')](_0x316fba)||_0x962e06['addRange'](_0x316fba);}}if(_0x1bbd2e)return _0x1bbd2e;_0xcb77d2['clear']();for(const {suggestion:_0x4b8dbc,meta:_0x4aff18}of this['_findSuggestions'](_0x390d34,'deletion'))_0x4aff18[_0x1aa0('0x13d')]&&(this['_mergeNestedSuggestions']||!_0x4aff18[_0x1aa0('0x12e')]&&!_0x4aff18[_0x1aa0('0x147')])&&Ft(_0x4b8dbc,_0x4b6141)&&_0xcb77d2[_0x1aa0('0xf1')](_0x4b8dbc);for(const _0x5248f9 of _0xcb77d2){const _0x303d55=_0x5248f9[_0x1aa0('0x10c')]();if(!_0x4b6141||!_0x4b6141[_0x1aa0('0x73')]){if(_0x390d34['every'](_0x5e42bd=>_0x303d55[_0x1aa0('0x7e')](_0x4591f9=>_0x4591f9[_0x1aa0('0xe')](_0x5e42bd,!0x0))))return _0x5248f9;}(!_0x5248f9[_0x1aa0('0x10e')]||!_0x5248f9[_0x1aa0('0x10e')][_0x1aa0('0x73')])&&(_0x303d55[_0x1aa0('0xc2')](_0x5a91b9=>_0x390d34['some'](_0x849ed4=>_0x849ed4[_0x1aa0('0xe')](_0x5a91b9,!0x0)))&&_0x5248f9[_0x1aa0('0xe6')]());}const _0x5f244e=_0x2a195c(),_0x437ca9=_0x369b1f['id'],_0x2a5f52=_0x1aa0('0x1a')+_0x1f086f,_0x1b2268=this[_0x1aa0('0x85')]({'id':_0x5f244e,'type':_0x2a5f52,'createdAt':new Date(),'authorId':_0x437ca9,'attributes':_0x4b6141});for(const _0x424184 of _0x390d34)_0x424184[_0x1aa0('0x78')](),_0x424184['isCollapsed']||_0x1aa0('0x10f')==_0x424184[_0x1aa0('0xa7')][_0x1aa0('0xfd')]||this[_0x1aa0('0x11f')](_0x2a5f52,_0x5f244e,_0x437ca9,_0x424184,_0x526ec3[_0x1aa0('0x137')]());return _0x1b2268;}['markAttributeChange'](_0x148690,_0x1a54a9,_0x266368,_0x352aeb,_0x4e0a99){if(_0x148690[_0x1aa0('0xbb')])return[];if(_0x1aa0('0x9e')===this['_trackFormatChanges'])return[];const _0x5d1ccc=this['editor']['plugins'][_0x1aa0('0x118')]('Users')['me']['id'],_0x3e6837=Array[_0x1aa0('0x161')](this[_0x1aa0('0x1')][_0x1aa0('0xbd')]())[_0x1aa0('0xc3')](_0x4cf0da=>_0x1aa0('0xf6')==_0x4cf0da[_0x1aa0('0x75')]&&_0x4cf0da[_0x1aa0('0x13a')][_0x1aa0('0x52')]==_0x1a54a9&&_0x4cf0da[_0x1aa0('0x53')](_0x148690));if(_0x1aa0('0x9c')===this[_0x1aa0('0xa0')]){const _0x512adb=this[_0x1aa0('0x51')](_0x148690,'insertion')[_0x1aa0('0xc3')](({meta:_0x4d1a8b})=>_0x4d1a8b[_0x1aa0('0x13d')]&&!_0x4d1a8b[_0x1aa0('0x147')]&&!_0x4d1a8b[_0x1aa0('0x64')])[_0x1aa0('0x4e')](({suggestion:_0xeaf22f})=>_0xeaf22f);_0x3e6837[_0x1aa0('0x4')](..._0x512adb);}const _0x324ebe=new Map([[_0x148690,_0x266368]]);for(const _0x1d15c1 of _0x3e6837){const _0x343d78=_0x1aa0('0xf6')==_0x1d15c1[_0x1aa0('0x75')]?_0x1d15c1[_0x1aa0('0x13a')][_0x1aa0('0x153')]:void 0x0,_0x4aa8d4=_0x1d15c1[_0x1aa0('0x165')](),_0x263d9f=Array[_0x1aa0('0x161')](_0x324ebe[_0x1aa0('0x43')]())[_0x1aa0('0x11a')](_0x1bd483=>_0x1bd483['isIntersecting'](_0x4aa8d4));_0x263d9f&&(_0x324ebe[_0x1aa0('0xa3')](_0x263d9f),_0x263d9f[_0x1aa0('0x159')](_0x4aa8d4)[_0x1aa0('0x162')](_0x4fb547=>{_0x324ebe[_0x1aa0('0xe4')](_0x4fb547,_0x266368);}),'insertion'!=_0x1d15c1[_0x1aa0('0x75')]&&_0x343d78!=_0x352aeb&&_0x324ebe['set'](_0x263d9f['getIntersection'](_0x4aa8d4),_0x343d78));}const _0x1ec694=[];for(const [_0x5e40c0,_0x1716b6]of _0x324ebe){const _0x44e597=_0x2a195c(),_0x5be568={'key':_0x1a54a9,'oldValue':_0x1716b6,'newValue':_0x352aeb};_0x1a54a9[_0x1aa0('0x140')]>0x25&&console[_0x1aa0('0xa4')](_0x1aa0('0xc'),{'key':_0x1a54a9});const _0x555b4d=(_0x1aa0('0x146')+(_0x1a54a9+'|'+Rt({'newValue':_0x352aeb})))[_0x1aa0('0x6f')](0x0,0x3c),_0x262788=this['_setSuggestionData']({'id':_0x44e597,'type':_0x555b4d,'data':_0x5be568,'createdAt':new Date(),'authorId':_0x5d1ccc,'attributes':_0x4e0a99});_0x1ec694[_0x1aa0('0x35')](_0x262788),this[_0x1aa0('0x11f')](_0x555b4d,_0x44e597,_0x5d1ccc,_0x5e40c0);}return _0x1ec694;}[_0x1aa0('0x57')](_0x1ccfb5){this[_0x1aa0('0xef')]['add'](_0x1ccfb5);}['_registerInlineAttribute'](_0x4a3124){this[_0x1aa0('0xda')]['add'](_0x4a3124);}[_0x1aa0('0x7d')](_0xed4f14,_0x32604f=[],_0x43fa8b=[]){this[_0x1aa0('0x98')](_0xed4f14,(_0x205398,..._0x463f20)=>{this[_0x1aa0('0xac')](()=>{_0x205398(..._0x463f20);});});for(const _0x100cba of _0x32604f)this[_0x1aa0('0x69')](_0x100cba);for(const _0x31e840 of _0x43fa8b)this['_registerBlockAttribute'](_0x31e840);}[_0x1aa0('0x71')](_0x414624,_0x322e37){const _0x3d4d15=_0x414624[_0x1aa0('0x4f')]();this['_model'][_0x1aa0('0x13b')](_0x209c8c=>{_0x209c8c[_0x1aa0('0x156')](_0x3d4d15,{'range':_0x322e37});});}['_addThreadToSuggestion'](_0x5e527a){const _0x3f93cb=_0x5e527a['id'],_0x4bd1c8=this[_0x1aa0('0x45')]['config'][_0x1aa0('0x118')](_0x1aa0('0x150'));this[_0x1aa0('0x7a')][_0x1aa0('0xed')](_0x3f93cb)||this[_0x1aa0('0x7a')][_0x1aa0('0x34')]({'channelId':_0x4bd1c8,'threadId':_0x3f93cb,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x6da3a2=this[_0x1aa0('0x7a')][_0x1aa0('0x172')](_0x3f93cb);_0x6da3a2['unbind'](_0x1aa0('0x102')),_0x6da3a2['isRemovable']=!0x1,_0x5e527a[_0x1aa0('0x106')]=_0x6da3a2;}[_0x1aa0('0x87')](_0x742de4,_0x4e887e,_0x300b8a,_0x25ef42){if(_0x742de4[_0x1aa0('0x75')]!=_0x4e887e||_0x742de4[_0x1aa0('0x13e')]!=_0x300b8a||_0x742de4[_0x1aa0('0x5e')]['id']!=_0x25ef42)throw this[_0x1aa0('0x45')][_0x1aa0('0x9f')](_0x1aa0('0x72')),new _0x3c8e1d('track-changes-suggestion-data-mismatch',this);}[_0x1aa0('0xd6')](_0xcde7ff,_0x2235e6){const _0x935f4e=_0xcde7ff[_0x1aa0('0x165')]();if(_0x2235e6['isEqual'](_0x935f4e))_0xcde7ff[_0x1aa0('0x148')]();else{if(_0x935f4e[_0x1aa0('0xe')](_0x2235e6)){const _0x14cca8=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6[_0x1aa0('0x2')][_0x1aa0('0x84')],_0x1aa0('0x166'));this[_0x1aa0('0x71')](_0xcde7ff,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x935f4e[_0x1aa0('0x2')],_0x14cca8));const _0x461009=_0x2a195c(),_0x99daf4=_0xcde7ff[_0x1aa0('0x5e')]['id'],_0x495b34=_0xcde7ff['type']+':'+_0xcde7ff[_0x1aa0('0x13e')];this[_0x1aa0('0x85')]({'id':_0x461009,'type':_0x495b34,'createdAt':new Date(),'authorId':_0x99daf4,'data':_0xcde7ff[_0x1aa0('0x13a')],'attributes':_0xcde7ff[_0x1aa0('0x10e')]});const _0x57fb7d=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6[_0x1aa0('0x166')][_0x1aa0('0x179')],_0x1aa0('0x4c')),_0x35db62=this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x57fb7d,_0x935f4e[_0x1aa0('0x166')]);this[_0x1aa0('0x11f')](_0x495b34,_0x461009,_0x99daf4,_0x35db62);}else{if(_0x935f4e[_0x1aa0('0x40')](_0x2235e6['start'])){const _0x7b19b9=this['_model'][_0x1aa0('0xe2')](_0x2235e6['start'][_0x1aa0('0x84')],_0x1aa0('0x166'));this[_0x1aa0('0x71')](_0xcde7ff,this['_model']['createRange'](_0x935f4e[_0x1aa0('0x2')],_0x7b19b9));}else{const _0x13f057=this[_0x1aa0('0x10a')][_0x1aa0('0xe2')](_0x2235e6['end'][_0x1aa0('0x179')],'after');this['_setSuggestionRange'](_0xcde7ff,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x13f057,_0x935f4e['end']));}}}}[_0x1aa0('0xff')](_0xb3ad49){for(const {suggestion:_0x41ad9e,meta:_0x1cd0b5}of this[_0x1aa0('0x51')](_0xb3ad49,'insertion')){if(!_0x1cd0b5[_0x1aa0('0x13d')])continue;const _0x22cafb=_0x41ad9e[_0x1aa0('0x10c')]();for(const _0xfa6ecb of _0x22cafb)if(!_0xb3ad49[_0x1aa0('0x159')](_0xfa6ecb)[_0x1aa0('0x140')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1e9b89){const _0x1932e8=this[_0x1aa0('0x45')]['plugins'][_0x1aa0('0x118')](_0x1aa0('0xc0'))[_0x1aa0('0xa8')](_0x1e9b89);if(!_0x1932e8)throw new _0x3c8e1d(_0x1aa0('0xa5'),this);return _0x1932e8;}[_0x1aa0('0x16d')](_0x40ba3f){const _0x16ad2c=this['editor'][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0')),_0x1c2077=_0x205c05(_0x1aa0('0x128')+_0x40ba3f),_0xd92dcf=_0x16ad2c[_0x1aa0('0xa8')](_0x1c2077);return _0xd92dcf||_0x16ad2c[_0x1aa0('0x13c')]({'id':_0x1c2077,'name':_0x40ba3f});}['_createSuggestion'](_0x5d529a,_0x1eede9,_0xce6a80,_0x35aaa3,_0x21e134){const _0x4d5a75=this['_getAuthorFromId'](_0x35aaa3),_0x509567=this[_0x1aa0('0x17b')]['buildSuggestion'](_0x5d529a,_0x1eede9,_0xce6a80,_0x4d5a75,_0x21e134,_0x46bc51=>this[_0x1aa0('0x27')](_0xce6a80,{'attributes':_0x46bc51}));return this[_0x1aa0('0x79')](_0x509567,_0x1aa0('0x93'),()=>{this[_0x1aa0('0x27')](_0xce6a80,{'state':'accepted'});},{'priority':_0x1aa0('0xd3')}),this[_0x1aa0('0x79')](_0x509567,'discard',()=>{this[_0x1aa0('0x27')](_0xce6a80,{'state':'rejected'});},{'priority':_0x1aa0('0xd3')}),this[_0x1aa0('0x1')][_0x1aa0('0xe4')](_0xce6a80,_0x509567),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x509567,_0x1aa0('0x134')),_0x509567;}['_splitMarkerName'](_0x1f606d){const _0x2fb867=_0x1f606d['split'](':');return{'group':_0x2fb867[0x0],'type':_0x2fb867[0x1],'subType':_0x2fb867['length']>=0x5?_0x2fb867[0x2]:null,'id':_0x2fb867[_0x1aa0('0x140')]<0x5?_0x2fb867[0x2]:_0x2fb867[0x3],'authorId':_0x2fb867[_0x1aa0('0x140')]<0x5?_0x2fb867[0x3]:_0x2fb867[0x4],'markerCount':0x6==_0x2fb867[_0x1aa0('0x140')]?_0x2fb867[0x5]:null};}[_0x1aa0('0xc7')](_0x309384,_0x3a8721,_0x3534d2){const _0x2f3dd2=_0x309384[_0x1aa0('0x165')](),_0x5df132=_0x2f3dd2[_0x1aa0('0x2')],_0x52d6d8=_0x2f3dd2[_0x1aa0('0x166')];this[_0x1aa0('0x71')](_0x309384,this[_0x1aa0('0x10a')]['createRange'](_0x5df132,_0x3a8721));const _0x1e6a33=_0x2a195c(),_0x19dc4e=_0x309384['creator']['id'],_0x115907=_0x309384[_0x1aa0('0x75')]+(_0x309384[_0x1aa0('0x13e')]?':'+_0x309384[_0x1aa0('0x13e')]:'');this[_0x1aa0('0x85')]({'id':_0x1e6a33,'type':_0x115907,'createdAt':new Date(),'authorId':_0x19dc4e,'originalSuggestionId':_0x309384['id'],'attributes':_0x309384[_0x1aa0('0x10e')],'data':_0x309384[_0x1aa0('0x13a')]});const _0x4f5e8c=this[_0x1aa0('0xc5')](_0x309384);('formatBlock'==_0x309384[_0x1aa0('0x75')]||_0x4f5e8c&&this[_0x1aa0('0x129')](_0x4f5e8c))&&(_0x3534d2=this[_0x1aa0('0x10a')][_0x1aa0('0x1c')](_0x3534d2[_0x1aa0('0x179')])),this[_0x1aa0('0x11f')](_0x115907,_0x1e6a33,_0x19dc4e,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x3534d2,_0x52d6d8));}['_findSuggestions'](_0x4f5bc8,_0x40e12c=null){const _0x47aa0b=[],_0x15532d=this[_0x1aa0('0x45')][_0x1aa0('0xf2')][_0x1aa0('0x118')](_0x1aa0('0xc0'))['me'];Array[_0x1aa0('0xdd')](_0x4f5bc8)||(_0x4f5bc8=[_0x4f5bc8]);for(const _0x26c594 of this[_0x1aa0('0x15a')]()){if(!_0x26c594[_0x1aa0('0x2c')])continue;if(_0x40e12c&&_0x26c594[_0x1aa0('0x75')]!=_0x40e12c)continue;let _0x4ca52a=!0x1;for(const _0x126af9 of _0x26c594[_0x1aa0('0x10c')]()){for(const _0x2a1ee2 of _0x4f5bc8){const _0x4b72d1=_0x2a1ee2['start'][_0x1aa0('0x111')](_0x126af9[_0x1aa0('0x166')])||_0x2a1ee2['end'][_0x1aa0('0x111')](_0x126af9[_0x1aa0('0x2')]);if(_0x4b72d1||_0x2a1ee2[_0x1aa0('0xec')](_0x126af9)){const _0x457350=_0x2a1ee2[_0x1aa0('0xe')](_0x126af9)&&Tt(this[_0x1aa0('0x10a')][_0x1aa0('0x5c')],_0x126af9[_0x1aa0('0x2')],_0x2a1ee2),_0x4e5661=_0x126af9[_0x1aa0('0xe')](_0x2a1ee2)&&Tt(this[_0x1aa0('0x10a')][_0x1aa0('0x5c')],_0x2a1ee2[_0x1aa0('0x2')],_0x126af9);_0x47aa0b['push']({'suggestion':_0x26c594,'meta':{'isOwn':_0x15532d==_0x26c594[_0x1aa0('0x8f')],'isNextTo':_0x4b72d1,'isInsideObject':_0x457350,'containsRangeInObject':_0x4e5661}}),_0x4ca52a=!0x0;break;}}if(_0x4ca52a)break;}}return _0x47aa0b;}['_addSuggestionMarker'](_0x244fb0,_0x25f785,_0x4d73b5,_0x356f48,_0x5427b1){this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x56a797=>{let _0x105004=_0x1aa0('0x12f')+_0x244fb0+':'+_0x25f785+':'+_0x4d73b5;_0x5427b1&&(_0x105004=_0x105004+':'+_0x5427b1),_0x56a797[_0x1aa0('0x164')](_0x105004,{'range':_0x356f48,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x2903b6){const _0x2488ce=_0x2903b6['previous'],_0x20d8a0=_0x2903b6[_0x1aa0('0x89')];_0x2903b6[_0x1aa0('0x9b')]=null,_0x2903b6[_0x1aa0('0x89')]=null,null!=_0x2488ce&&(_0x2488ce[_0x1aa0('0x89')]=_0x20d8a0),null!=_0x20d8a0&&(_0x20d8a0[_0x1aa0('0x9b')]=_0x2488ce),_0x1aa0('0x125')==this[_0x1aa0('0x135')][_0x1aa0('0x118')](_0x2903b6)&&(this[_0x1aa0('0x135')]['set'](_0x2903b6,_0x1aa0('0x50')),this['fire'](_0x1aa0('0x26'),_0x2903b6,_0x2488ce,_0x20d8a0));}[_0x1aa0('0x85')](_0x39ef1f){const _0x506601=_0x39ef1f['id'],_0x5c6f2d=this[_0x1aa0('0xcf')](_0x39ef1f);if(this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')][_0x1aa0('0x6b')]){const _0x5114e8=this[_0x1aa0('0x45')][_0x1aa0('0xf2')]['get'](_0x1aa0('0x7')),_0xc2bc75=_0x5c6f2d[_0x1aa0('0xcd')],_0x372f9c=_0x5c6f2d['subType']?_0x5c6f2d[_0x1aa0('0x75')]+':'+_0x5c6f2d[_0x1aa0('0x13e')]:_0x5c6f2d['type'],_0x37b265=this['editor'][_0x1aa0('0x158')],_0x3555d2=_0x5114e8[_0x1aa0('0xf1')](_0x4e33ed(_0x37b265,_0x1aa0('0xd'))),_0x2791a0={'id':_0x506601,'type':_0x372f9c,'hasComments':_0xc2bc75,'data':_0x39ef1f[_0x1aa0('0x13a')]||null,'originalSuggestionId':_0x39ef1f[_0x1aa0('0xfc')]||null,'attributes':_0x5c6f2d[_0x1aa0('0x10e')]};this[_0x1aa0('0x16')][_0x1aa0('0x6b')](_0x2791a0)[_0x1aa0('0x15')](_0x28e0d2=>{_0x5c6f2d['_saved']=!0x0,_0x5114e8[_0x1aa0('0xe3')](_0x3555d2),_0x28e0d2&&_0x28e0d2[_0x1aa0('0xb7')]&&(this[_0x1aa0('0x1')]['get'](_0x506601)['createdAt']=_0x28e0d2[_0x1aa0('0xb7')]);})[_0x1aa0('0x94')](_0x475e3c=>{throw _0x562c54(_0x1aa0('0x160')),this[_0x1aa0('0x45')][_0x1aa0('0x21')][_0x1aa0('0x95')]({'isUndoable':!0x1},()=>{_0x5c6f2d[_0x1aa0('0xe6')]();}),_0x5c6f2d['stopListening'](),this[_0x1aa0('0x1')]['delete'](_0x5c6f2d['id']),this[_0x1aa0('0x135')][_0x1aa0('0xa3')](_0x5c6f2d),_0x475e3c;});}return _0x5c6f2d;}['_isBlockAttribute'](_0x3cd84d){return this['_blockAttributeKeys']['has'](_0x3cd84d);}['_getAttributeKeyFromSubType'](_0x1ede5d){return _0x1aa0('0xf6')==_0x1ede5d[_0x1aa0('0x75')]&&_0x1ede5d[_0x1aa0('0x13e')][_0x1aa0('0xb9')]('|')[0x0];}[_0x1aa0('0x27')](_0x4c1ac3,_0x39e78a){const _0x507e43=this['editor']['plugins'][_0x1aa0('0x118')]('PendingActions'),_0x28bf85=this[_0x1aa0('0x16a')](_0x4c1ac3);if(this[_0x1aa0('0x16')]&&this[_0x1aa0('0x16')]['updateSuggestion']){if(_0x28bf85[_0x1aa0('0x91')]){const _0x4b8cb4=_0x507e43[_0x1aa0('0xf1')](_0x4e33ed(this[_0x1aa0('0x45')][_0x1aa0('0x158')],_0x1aa0('0xd')));this[_0x1aa0('0x16')][_0x1aa0('0x82')](_0x4c1ac3,_0x39e78a)['then'](()=>{_0x507e43[_0x1aa0('0xe3')](_0x4b8cb4);});}else _0x28bf85['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x4c1ac3,_0x39e78a);});}}[_0x1aa0('0xbf')](_0x54b27a){if(!this[_0x1aa0('0x16')]||!this['_adapter'][_0x1aa0('0x16a')])throw new _0x3c8e1d(_0x1aa0('0x14c'),this);return this[_0x1aa0('0x16')][_0x1aa0('0x16a')](_0x54b27a);}[_0x1aa0('0x16f')](_0x180508){const {id:_0x380f00,type:_0x2ac3de,subType:_0x451798,authorId:_0xc8d029}=this[_0x1aa0('0x11c')](_0x180508),_0x54615f=this['_suggestions'][_0x1aa0('0x118')](_0x380f00)||this[_0x1aa0('0x15f')](_0x2ac3de,_0x451798,_0x380f00,_0xc8d029,{});switch(this[_0x1aa0('0x87')](_0x54615f,_0x2ac3de,_0x451798,_0xc8d029),this[_0x1aa0('0x135')]['get'](_0x54615f)){case _0x1aa0('0x134'):this[_0x1aa0('0xbf')](_0x380f00)[_0x1aa0('0x15')](_0x835511=>{let _0xc05dd3=Promise['resolve']();_0x835511[_0x1aa0('0xcd')]&&(_0xc05dd3=this[_0x1aa0('0x7a')][_0x1aa0('0x155')]({'channelId':this['editor']['config'][_0x1aa0('0x118')](_0x1aa0('0x150')),'threadId':_0x380f00})),_0xc05dd3['then'](()=>{this['addSuggestionData'](_0x835511)['_saved']=!0x0;});}),this[_0x1aa0('0x135')][_0x1aa0('0xe4')](_0x54615f,'markerReady');break;case _0x1aa0('0x50'):this[_0x1aa0('0x27')](_0x380f00,{'state':_0x1aa0('0x58')});case _0x1aa0('0xde'):this[_0x1aa0('0x135')]['set'](_0x54615f,_0x1aa0('0x125')),this[_0x1aa0('0x5')](_0x1aa0('0x1e'),_0x54615f);break;case _0x1aa0('0x125'):this[_0x1aa0('0x5')](_0x1aa0('0x9a'),_0x54615f);}return _0x54615f[_0x1aa0('0x8c')](_0x180508),_0x54615f;}[_0x1aa0('0xeb')](_0x9c402b){const _0x1a8615=Array[_0x1aa0('0x161')](_0x9c402b),_0x4bcd30=_0x1a8615[_0x1aa0('0xc3')](_0x1c576d=>'attribute'==_0x1c576d[_0x1aa0('0x75')]);this['_refreshAttributeSuggestionsChain'](_0x4bcd30);const _0x2fab54=_0x1a8615[_0x1aa0('0xc3')](_0x100345=>!_0x100345[_0x1aa0('0xcb')]&&_0x1aa0('0xf6')!=_0x100345[_0x1aa0('0x75')]),_0xef4bfe=this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0})[_0x1aa0('0xc3')](_0x5a9a36=>!_0x5a9a36[_0x1aa0('0xcb')]&&_0x1aa0('0xf6')!=_0x5a9a36[_0x1aa0('0x75')]),_0x3cf724=_0xef4bfe[_0x1aa0('0xc3')](_0x328450=>!_0x9c402b[_0x1aa0('0xce')](_0x328450)),_0x5e6bbb=new Map(_0xef4bfe['map'](_0x4fa1d9=>[_0x4fa1d9,this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0x4fa1d9[_0x1aa0('0x75')],_0x4fa1d9[_0x1aa0('0x13e')],_0x1aa0('0x74'))])),_0x45001d=new Map(_0xef4bfe[_0x1aa0('0x4e')](_0x137d77=>[_0x137d77,_0x137d77['getFirstRange']()])),_0x2631fb=new Set(),_0x38de56=new Set();for(let _0x915280=0x0;_0x915280<_0x2fab54[_0x1aa0('0x140')];_0x915280++)_0x5f0256(_0x2fab54[_0x915280],_0x2fab54,_0x915280+0x1);for(let _0x2b373e=0x0;_0x2b373e<_0x2fab54[_0x1aa0('0x140')];_0x2b373e++)_0x5f0256(_0x2fab54[_0x2b373e],_0x3cf724,0x0);const _0x533976=new Set();for(let _0x333553=0x0;_0x333553<_0x2fab54[_0x1aa0('0x140')];_0x333553++){const _0x2fd3e3=_0x2fab54[_0x333553];!_0x38de56['has'](_0x2fd3e3)&&_0x2fd3e3['previous']&&(_0x533976[_0x1aa0('0xf1')](_0x2fd3e3[_0x1aa0('0x9b')]),_0x2fd3e3[_0x1aa0('0x9b')][_0x1aa0('0x89')]===_0x2fd3e3&&(_0x2fd3e3[_0x1aa0('0x9b')][_0x1aa0('0x89')]=null),_0x2fd3e3[_0x1aa0('0x9b')]=null),!_0x2631fb[_0x1aa0('0xce')](_0x2fd3e3)&&_0x2fd3e3[_0x1aa0('0x89')]&&(_0x533976[_0x1aa0('0xf1')](_0x2fd3e3['next']),_0x2fd3e3[_0x1aa0('0x89')][_0x1aa0('0x9b')]===_0x2fd3e3&&(_0x2fd3e3['next'][_0x1aa0('0x9b')]=null),_0x2fd3e3['next']=null);}function _0x5f0256(_0x48b0ba,_0x69cf67,_0xe9f2f9){for(let _0x88143c=_0xe9f2f9;_0x88143c<_0x69cf67[_0x1aa0('0x140')];_0x88143c++){const _0x376ef8=_0xfe242a(_0x48b0ba,_0x69cf67[_0x88143c]);_0x376ef8&&(_0x376ef8[0x0][_0x1aa0('0x89')]=_0x376ef8[0x1],_0x376ef8[0x1][_0x1aa0('0x9b')]=_0x376ef8[0x0],_0x2631fb[_0x1aa0('0xf1')](_0x376ef8[0x0]),_0x38de56[_0x1aa0('0xf1')](_0x376ef8[0x1]));}}function _0xfe242a(_0x46b096,_0x132185){if(_0x46b096[_0x1aa0('0x8f')]['id']!==_0x132185[_0x1aa0('0x8f')]['id'])return null;const _0x3710f7=_0x5e6bbb[_0x1aa0('0x118')](_0x46b096)(_0x46b096,_0x132185,_0x45001d['get'](_0x46b096),_0x45001d['get'](_0x132185));if(!_0x3710f7)return null;return _0x5e6bbb[_0x1aa0('0x118')](_0x132185)(_0x46b096,_0x132185,_0x45001d[_0x1aa0('0x118')](_0x46b096),_0x45001d[_0x1aa0('0x118')](_0x132185))?_0x3710f7[0x1]['commentThread']&&_0x3710f7[0x1][_0x1aa0('0x106')][_0x1aa0('0x140')]?null:_0x3710f7:null;}_0x533976[_0x1aa0('0x105')]&&this[_0x1aa0('0xeb')](_0x533976);}[_0x1aa0('0x65')](_0x352172){if(0x0==_0x352172[_0x1aa0('0x140')])return;const _0x40794c=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x231b6e=>_0x1aa0('0xf6')==_0x231b6e[_0x1aa0('0x75')]&&_0x231b6e[_0x1aa0('0x25')]),_0x2af6f1=[],_0x248a68=new Map();for(const _0x1089ca of _0x40794c){const _0x798bb2=_0x205c05(_0x1089ca['attributes']);_0x248a68[_0x1aa0('0xce')](_0x798bb2)||(_0x248a68[_0x1aa0('0xe4')](_0x798bb2,_0x2af6f1['length']),_0x2af6f1[_0x1aa0('0x35')]([]));const _0x4c8b30=_0x248a68[_0x1aa0('0x118')](_0x798bb2);_0x2af6f1[_0x4c8b30][_0x1aa0('0x35')](_0x1089ca);}!function(){_0x2af6f1[_0x1aa0('0x96')]((_0x311368,_0x2969cc)=>{const _0x39c73f=_0x311368[0x0]['createdAt'],_0x33f4df=_0x2969cc[0x0]['createdAt'];return _0x39c73f==_0x33f4df?_0x311368[0x0][_0x1aa0('0x10e')][_0x1aa0('0xe5')]<_0x2969cc[0x0][_0x1aa0('0x10e')][_0x1aa0('0xe5')]?-0x1:0x1:_0x39c73f<_0x33f4df?-0x1:0x1;});for(const _0x172170 of _0x2af6f1)_0x172170[_0x1aa0('0x96')]((_0x5099f6,_0x9e2076)=>_0x5099f6['id']<_0x9e2076['id']?-0x1:0x1);}();for(let _0x3a0733=0x0;_0x3a0733<_0x2af6f1[_0x1aa0('0x140')];_0x3a0733++){if(0x0==_0x2af6f1[_0x3a0733]['length'])continue;const _0x54db2f=[];for(let _0x5ba839=_0x3a0733+0x1;_0x5ba839<_0x2af6f1[_0x1aa0('0x140')];_0x5ba839++)0x0!=_0x2af6f1[_0x5ba839]['length']&&_0x501d7f(_0x2af6f1[_0x3a0733],_0x2af6f1[_0x5ba839])&&_0x54db2f['push'](_0x5ba839);for(const _0x2c5734 of _0x54db2f)_0x2af6f1[_0x3a0733]=_0x2af6f1[_0x3a0733][_0x1aa0('0xaa')](_0x2af6f1[_0x2c5734]),_0x2af6f1[_0x2c5734]=[];}for(const _0x1f18ce of _0x2af6f1)for(let _0x50e74d=0x0;_0x50e74d<_0x1f18ce[_0x1aa0('0x140')];_0x50e74d++)_0x1f18ce[_0x50e74d]['next']=_0x1f18ce[_0x50e74d+0x1]||null;for(const _0x26771b of _0x2af6f1)for(let _0x190dd1=0x0;_0x190dd1<_0x26771b[_0x1aa0('0x140')];_0x190dd1++)_0x26771b[_0x190dd1][_0x1aa0('0x9b')]=_0x26771b[_0x190dd1-0x1]||null;function _0x501d7f(_0x5d8277,_0x3e5985){if(_0x5d8277[0x0][_0x1aa0('0x8f')]!==_0x3e5985[0x0][_0x1aa0('0x8f')])return!0x1;if(!function(_0x4621ab,_0x73d623){if(!_0x4621ab[_0x1aa0('0xcd')]&&!_0x73d623['hasComments'])return!0x0;if(_0x4621ab[_0x1aa0('0xcd')]&&_0x73d623[_0x1aa0('0xcd')])return!0x1;if(_0x4621ab[_0x1aa0('0xcd')]&&_0x73d623[_0x1aa0('0xb7')]<_0x4621ab[_0x1aa0('0x106')][_0x1aa0('0xe1')][_0x1aa0('0x118')](0x0)['createdAt'])return!0x0;if(_0x73d623[_0x1aa0('0xcd')]&&_0x4621ab[_0x1aa0('0xb7')]<_0x73d623[_0x1aa0('0x106')][_0x1aa0('0xe1')][_0x1aa0('0x118')](0x0)[_0x1aa0('0xb7')])return!0x0;return!0x1;}(_0x5d8277[0x0],_0x3e5985[0x0]))return!0x1;const _0x387f3d=_0x142fcf(_0x5d8277[0x0]['attributes'],'groupId'),_0x1767b3=_0x142fcf(_0x3e5985[0x0]['attributes'],_0x1aa0('0xe5'));if(!_0x223011(_0x387f3d,_0x1767b3))return!0x1;return!!_0x5d8277['every'](_0x4301cd=>_0x3e5985[_0x1aa0('0x7e')](_0x5ec96e=>_0x4301cd[_0x1aa0('0x165')]()[_0x1aa0('0x111')](_0x5ec96e[_0x1aa0('0x165')]())))&&_0x3e5985[_0x1aa0('0xc2')](_0x5939a4=>_0x5d8277['some'](_0x1b85ec=>_0x5939a4[_0x1aa0('0x165')]()[_0x1aa0('0x111')](_0x1b85ec[_0x1aa0('0x165')]())));}}[_0x1aa0('0x115')](_0x148147){const _0x5095d3=Array[_0x1aa0('0x161')](_0x148147),_0x3cb863=this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0}),_0x11687f=_0x3cb863[_0x1aa0('0xc3')](_0x4aadf3=>!_0x148147[_0x1aa0('0xce')](_0x4aadf3)),_0x25da32=new Map(_0x5095d3[_0x1aa0('0x4e')](_0xc1b81b=>[_0xc1b81b,this[_0x1aa0('0x17b')][_0x1aa0('0x14f')](_0xc1b81b['type'],_0xc1b81b[_0x1aa0('0x13e')],'join')])),_0xd074e1=new Map(_0x3cb863[_0x1aa0('0x4e')](_0x2ec8de=>[_0x2ec8de,_0x2ec8de[_0x1aa0('0x10c')]()]));for(let _0x2e617f=0x0;_0x2e617f<_0x5095d3['length'];_0x2e617f++){if(_0x5c6f27(this,_0x5095d3[_0x2e617f],_0x5095d3,_0x2e617f+0x1))return!0x0;}for(let _0x305e83=0x0;_0x305e83<_0x5095d3[_0x1aa0('0x140')];_0x305e83++){if(_0x5c6f27(this,_0x5095d3[_0x305e83],_0x11687f,0x0))return!0x0;}return!0x1;function _0x5c6f27(_0x4d7a46,_0x20d3be,_0x2f70b5,_0x6d0dd5){for(let _0x5556ac=_0x6d0dd5;_0x5556ac<_0x2f70b5[_0x1aa0('0x140')];_0x5556ac++){const _0xa27027=_0x2f70b5[_0x5556ac];if(_0xa27027[_0x1aa0('0x75')]!==_0x20d3be[_0x1aa0('0x75')]||_0xa27027[_0x1aa0('0x8f')]['id']!==_0x20d3be[_0x1aa0('0x8f')]['id']||_0xa27027['subType']!==_0x20d3be['subType'])continue;if(!Vt(_0x20d3be,_0xa27027))continue;if(_0x1aa0('0xf6')==_0x20d3be['type']&&_0x20d3be[_0x1aa0('0x13a')][_0x1aa0('0x153')]!=_0xa27027[_0x1aa0('0x13a')][_0x1aa0('0x153')])continue;if(_0x1aa0('0xf6')==_0x20d3be['type']&&_0x4d7a46[_0x1aa0('0x129')](_0x20d3be[_0x1aa0('0x13a')][_0x1aa0('0x52')]))continue;const _0x3bd6ef=_0x25da32[_0x1aa0('0x118')](_0x20d3be),_0x1def48=_0xd074e1[_0x1aa0('0x118')](_0x20d3be),_0xf2412f=_0xd074e1[_0x1aa0('0x118')](_0xa27027),_0x298f99=_0x20d3be[_0x1aa0('0x106')]&&_0x20d3be[_0x1aa0('0x106')]['length'],_0xc30fc0=_0xa27027['commentThread']&&_0xa27027[_0x1aa0('0x106')][_0x1aa0('0x140')];if(!_0x298f99&&_0x3bd6ef(_0xf2412f,_0x1def48))return _0x4d7a46['_joinSuggestions'](_0xa27027,_0x20d3be),_0xd074e1[_0x1aa0('0xa3')](_0x20d3be),!0x0;if(!_0xc30fc0&&_0x3bd6ef(_0x1def48,_0xf2412f))return _0x4d7a46[_0x1aa0('0x86')](_0x20d3be,_0xa27027),_0xd074e1[_0x1aa0('0xa3')](_0xa27027),!0x0;}return!0x1;}}[_0x1aa0('0x86')](_0x2d6d04,_0x565393){if(_0x2d6d04['isMultiRange'])for(const _0x293cd7 of _0x565393[_0x1aa0('0x10c')]())_0x2d6d04[_0x1aa0('0xee')](_0x293cd7);else{const _0x16270c=_0x565393[_0x1aa0('0x165')]()[_0x1aa0('0x166')];this[_0x1aa0('0x71')](_0x2d6d04,this[_0x1aa0('0x10a')][_0x1aa0('0x42')](_0x2d6d04[_0x1aa0('0x165')]()[_0x1aa0('0x2')],_0x16270c));}_0x565393[_0x1aa0('0x148')]();}[_0x1aa0('0x177')](_0x515db5,_0xee935d){const _0x1c0fbf=_0x515db5[_0x1aa0('0x12')]('format')||_0x515db5[_0x1aa0('0x12')](_0x1aa0('0xf6'))?_0x1aa0('0x173'):_0x515db5[_0x1aa0('0x14e')]();return _0x4e33ed(this[_0x1aa0('0x45')][_0x1aa0('0x158')],_0xee935d+'_'+_0x1c0fbf+_0x1aa0('0xc6'));}['_initAriaMarkerChangeAnnouncements'](){const _0x145894=this[_0x1aa0('0x45')];_0x5d8883(this[_0x1aa0('0x10a')],({left:_0x4d41fc,entered:_0x4d9c09})=>{const _0x1d9fd0=[];for(const _0x41a981 of _0x4d41fc){const {group:_0x417304,type:_0x4c86ab}=this[_0x1aa0('0x11c')](_0x41a981[_0x1aa0('0xd1')]);if('suggestion'===_0x417304){_0x1d9fd0['push'](this['_getMarkerAnnouncementText'](_0x4c86ab,'LEAVE'));break;}}for(const _0x51c2b1 of _0x4d9c09){const {group:_0x196bf0,type:_0x38bce3}=this[_0x1aa0('0x11c')](_0x51c2b1[_0x1aa0('0xd1')]);if('suggestion'===_0x196bf0){_0x1d9fd0[_0x1aa0('0x35')](this[_0x1aa0('0x177')](_0x38bce3,_0x1aa0('0x37')));break;}}_0x1d9fd0[_0x1aa0('0x140')]&&_0x145894['ui']['ariaLiveAnnouncer']['announce'](_0x1aa0('0x103'),_0x1d9fd0[_0x1aa0('0x99')]('\x20'));});}[_0x1aa0('0x14a')](_0x31f9a6){if(null!==this[_0x1aa0('0x149')])return!0x1;const _0x98746c=this[_0x1aa0('0x45')],_0x3006de=_0x98746c['model'][_0x1aa0('0x54')][_0x1aa0('0xe7')][_0x1aa0('0x83')]();if(0x0==_0x3006de[_0x1aa0('0x140')])return!0x1;const _0x36a076=[],_0x109bc3=_0x3006de[_0x1aa0('0xc3')](_0x34175e=>_0x1aa0('0xf6')==_0x34175e[_0x1aa0('0x75')]),_0x430005=_0x3006de[_0x1aa0('0xc3')](_0x348d3d=>_0x1aa0('0x6d')==_0x348d3d[_0x1aa0('0x75')]&&_0x1aa0('0xe8')!=_0x348d3d[_0x1aa0('0xd1')]),_0x25b9c2=_0x3006de[_0x1aa0('0xc3')](_0x53549e=>'remove'==_0x53549e[_0x1aa0('0x75')]&&_0x1aa0('0xe8')!=_0x53549e[_0x1aa0('0xd1')]);for(const _0x3c036a of _0x109bc3)_0x36a076[_0x1aa0('0x35')]({'key':_0x3c036a[_0x1aa0('0x46')],'newValue':_0x3c036a[_0x1aa0('0xbe')],'oldValue':_0x3c036a['attributeOldValue'],'range':_0x143d2c(_0x3c036a[_0x1aa0('0x3b')])});for(const _0x160d01 of _0x430005){const _0x9a5ff2=_0x25b9c2[_0x1aa0('0x11a')](_0x5da0f6=>_0x5da0f6[_0x1aa0('0x39')]['isEqual'](_0x160d01[_0x1aa0('0x39')]));_0x9a5ff2&&_0x36a076[_0x1aa0('0x35')]({'key':_0x1aa0('0x8d'),'newValue':_0x160d01[_0x1aa0('0xd1')],'oldValue':_0x9a5ff2[_0x1aa0('0xd1')],'range':_0x98746c[_0x1aa0('0x21')][_0x1aa0('0x44')](_0x160d01[_0x1aa0('0x39')][_0x1aa0('0x132')])});}return 0x0!=_0x36a076[_0x1aa0('0x140')]&&this['_reduceExistingSuggestions'](_0x31f9a6,_0x36a076);function _0x143d2c(_0xc583e8){return null==_0xc583e8[_0x1aa0('0x166')][_0x1aa0('0x84')]&&_0xc583e8['end'][_0x1aa0('0x179')]==_0xc583e8['start'][_0x1aa0('0x132')]?Ut(_0xc583e8['start'][_0x1aa0('0x132')],_0x98746c[_0x1aa0('0x21')]):_0xc583e8;}}[_0x1aa0('0x7b')](_0x209527){let _0x1eec08=!0x1;const _0x2753c1=this['editor'][_0x1aa0('0x21')][_0x1aa0('0x54')]['differ'][_0x1aa0('0x81')]()[_0x1aa0('0xc3')](_0x14dd98=>_0x14dd98[_0x1aa0('0x13a')][_0x1aa0('0x124')]&&_0x14dd98[_0x1aa0('0xd1')][_0x1aa0('0x12')]('suggestion:attribute:'));for(const _0x64502a of _0x2753c1){const {subType:_0x2d0a87,id:_0x456795}=this[_0x1aa0('0x11c')](_0x64502a[_0x1aa0('0xd1')]),_0x4048e1=_0x2d0a87['split']('|')[0x0];for(const _0x4066ab of this[_0x1aa0('0x15a')]({'skipNotAttached':!0x0}))_0x4066ab['id']!=_0x456795&&_0x1aa0('0xf6')==_0x4066ab['type']&&_0x4066ab[_0x1aa0('0x13a')]&&_0x4066ab[_0x1aa0('0x13a')][_0x1aa0('0x52')]==_0x4048e1&&_0x4066ab['getFirstRange']()[_0x1aa0('0x127')](_0x64502a[_0x1aa0('0x13a')]['newRange'])&&(this[_0x1aa0('0xfb')](_0x4066ab,_0x64502a['data'][_0x1aa0('0x124')],_0x209527),_0x1eec08=!0x0);}return _0x1eec08;}[_0x1aa0('0xac')](_0x5e73c3){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x5e73c3();const _0x3664cf=this[_0x1aa0('0x45')];this[_0x1aa0('0x149')]=_0x3664cf['model'][_0x1aa0('0x54')][_0x1aa0('0x3d')],_0x5e73c3();const _0x32c166=new Map();for(const _0x5dd64a of _0x3664cf[_0x1aa0('0x21')][_0x1aa0('0x54')][_0x1aa0('0x2f')][_0x1aa0('0x123')](this[_0x1aa0('0x149')]))if([_0x1aa0('0xcc'),_0x1aa0('0x120'),_0x1aa0('0x55'),'changeAttribute'][_0x1aa0('0xb8')](_0x5dd64a[_0x1aa0('0x75')])){const _0x49cf7d=_0x5dd64a[_0x1aa0('0x5a')],_0x4c3f19=_0x32c166[_0x1aa0('0x118')](_0x49cf7d)||[];_0x4c3f19['push'](_0x5dd64a),_0x32c166[_0x1aa0('0xe4')](_0x49cf7d,_0x4c3f19);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4f0087,_0x1d7464]of _0x32c166){const _0x7f9d9b=_0x2a195c();_0x3664cf[_0x1aa0('0x21')][_0x1aa0('0x95')](_0x4f0087,_0x4fdfc8=>{const _0x2ab5d3=[];for(const _0x190f53 of _0x1d7464){let _0x1a26ae,_0x48b73f,_0x301884,_0x4c23c2;if(_0x1aa0('0xcc')==_0x190f53['type']){const _0x23e6c4=_0x190f53;_0x1a26ae=Ut(_0x23e6c4[_0x1aa0('0x39')][_0x1aa0('0x132')],_0x3664cf[_0x1aa0('0x21')]),_0x48b73f='$elementName',_0x301884=_0x23e6c4['newName'],_0x4c23c2=_0x23e6c4[_0x1aa0('0x117')];}else{const _0x47c696=_0x190f53,_0x49cc1c=this[_0x1aa0('0x129')](_0x47c696[_0x1aa0('0x52')]),_0x2385c1=this[_0x1aa0('0xda')]['has'](_0x47c696[_0x1aa0('0x52')]);if(!_0x49cc1c&&!_0x2385c1)continue;_0x1a26ae=_0x49cc1c?Ut(_0x47c696['range'][_0x1aa0('0x2')][_0x1aa0('0x132')],_0x3664cf[_0x1aa0('0x21')]):_0x47c696['range'],_0x48b73f=_0x47c696[_0x1aa0('0x52')],_0x301884='removeAttribute'==_0x190f53['type']?void 0x0:_0x47c696['newValue'],_0x4c23c2=_0x47c696[_0x1aa0('0x153')];}this[_0x1aa0('0xf5')](_0x1a26ae,_0x48b73f,_0x4c23c2,_0x301884,{'groupId':_0x7f9d9b}),_0x2ab5d3[_0x1aa0('0x35')]({'range':_0x1a26ae,'key':_0x48b73f,'newValue':_0x301884,'oldValue':_0x4c23c2});}this[_0x1aa0('0x3e')](_0x4fdfc8,_0x2ab5d3);});}}[_0x1aa0('0x3e')](_0x4bcdbe,_0x479ad6){if(0x0==_0x479ad6[_0x1aa0('0x140')])return!0x1;let _0x1acc0d=!0x1;for(const _0x118293 of _0x479ad6){const _0x4080d9=this['_findSuggestions'](_0x118293[_0x1aa0('0x3b')],_0x1aa0('0xf6'))[_0x1aa0('0xc3')](_0x350751=>!_0x350751[_0x1aa0('0x6a')][_0x1aa0('0x64')])['map'](_0x395b9e=>_0x395b9e['suggestion']),_0x1d0596=_0x205c05({'newValue':_0x118293['newValue']});_0x4080d9[_0x1aa0('0xc3')](_0x53a03a=>{const [_0x45d722,_0x1b0608]=_0x53a03a[_0x1aa0('0x13e')]['split']('|');return _0x45d722==_0x118293[_0x1aa0('0x52')]&&_0x1b0608!=_0x1d0596;})[_0x1aa0('0x162')](_0x5ecc36=>{this['_reduceSuggestionAttributeRange'](_0x5ecc36,_0x118293['range'],_0x4bcdbe),_0x1acc0d=!0x0;});}return _0x1acc0d;}[_0x1aa0('0xfb')](_0x20f4c4,_0x2181a4,_0x2e9214){const _0x33e67f=_0x20f4c4[_0x1aa0('0x165')]()[_0x1aa0('0x159')](_0x2181a4);0x0!==_0x33e67f[_0x1aa0('0x140')]?0x1!==_0x33e67f[_0x1aa0('0x140')]?this[_0x1aa0('0xc7')](_0x20f4c4,_0x2181a4[_0x1aa0('0x2')],_0x2181a4[_0x1aa0('0x166')]):this[_0x1aa0('0x71')](_0x20f4c4,_0x33e67f[0x0]):_0x2e9214['removeMarker'](_0x20f4c4['getFirstMarker']());}}class Bt{constructor(_0x4a9072){this[_0x1aa0('0xf0')]=_0x4a9072,this['_model']=_0x4a9072['model'],this[_0x1aa0('0x90')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x1aa0('0x122')]();}[_0x1aa0('0x48')](_0x5b912b,_0x1a01b5,_0x4d2236,_0x107678,_0x4b6b40,_0x55768c){return new _0x526ec3(this[_0x1aa0('0x10a')],{'type':_0x5b912b,'subType':_0x1a01b5,'id':_0x4d2236,'author':_0x107678,'creator':_0x107678,'attributes':_0x4b6b40,'onAttributesChange':_0x55768c,'onAccept':(..._0x416571)=>this[_0x1aa0('0x14f')](_0x5b912b,_0x1a01b5,_0x1aa0('0x93'))(..._0x416571),'onDiscard':(..._0x439af2)=>this[_0x1aa0('0x14f')](_0x5b912b,_0x1a01b5,_0x1aa0('0xe6'))(..._0x439af2)});}['registerCustomCallback'](_0x5da9dd,_0x417482,_0xcc2ddd,_0x2586b8){const _0x3b6b02=_0x5da9dd+':'+_0x417482+':'+_0xcc2ddd;this[_0x1aa0('0x90')][_0x1aa0('0xe4')](_0x3b6b02,_0x2586b8);}[_0x1aa0('0x14f')](_0x15ba85,_0x1c756f,_0x2673f7){const _0x57c81a=_0x15ba85+':'+_0x1c756f+':'+_0x2673f7;return this[_0x1aa0('0x90')]['get'](_0x57c81a)||this[_0x1aa0('0x20')][_0x1aa0('0x118')](_0x15ba85+':'+_0x2673f7);}[_0x1aa0('0x122')](){const _0x3e7588=()=>!0x1,_0xba325d=_0x5202bd=>{_0x5202bd['sort']((_0x1dfac7,_0x4bae84)=>_0x1dfac7['start']['isBefore'](_0x4bae84[_0x1aa0('0x2')])?0x1:-0x1),this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x392cf7=>{for(const _0x42b2c5 of _0x5202bd){let _0x53c341;_0x53c341=_0x42b2c5[_0x1aa0('0x166')][_0x1aa0('0x112')]&&_0x42b2c5[_0x1aa0('0x166')][_0x1aa0('0x179')]==_0x42b2c5['start'][_0x1aa0('0x132')]?_0x392cf7[_0x1aa0('0xdc')](_0x42b2c5[_0x1aa0('0x2')]['nodeAfter'],'on'):_0x392cf7['createSelection'](_0x42b2c5),this[_0x1aa0('0x10a')][_0x1aa0('0xc9')](_0x53c341,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x89b8b0=(_0x2b29f4,_0x171094)=>{_0x171094&&this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x1821e9=>{const {commandName:_0x18d45f,commandParams:_0x34b0a8=[]}=_0x171094,_0x660841=_0x2b29f4['map'](_0x2565d9=>(xt(_0x2565d9)&&(_0x2565d9=this['_model'][_0x1aa0('0x42')](_0x2565d9['end'])),_0x2565d9))[_0x1aa0('0xc3')](_0x125a6e=>_0x1aa0('0x10f')!==_0x125a6e[_0x1aa0('0xa7')][_0x1aa0('0xfd')]);if(_0x660841['length']<0x1)return;const _0xa07261=Array[_0x1aa0('0x161')](this[_0x1aa0('0x10a')][_0x1aa0('0x54')][_0x1aa0('0x19')][_0x1aa0('0x10c')]())[_0x1aa0('0x4e')](_0xcb816a=>_0x174a17['fromRange'](_0xcb816a));_0x1821e9[_0x1aa0('0xfa')](_0x660841);for(const _0x1aa88c of this[_0x1aa0('0xf0')]['commands'][_0x1aa0('0x141')]())_0x1aa88c[_0x1aa0('0x67')]();_0x34b0a8['push']({'forceDefaultExecution':!0x0}),this[_0x1aa0('0xf0')][_0x1aa0('0xb6')](_0x18d45f,..._0x34b0a8);const _0x26f216=_0xa07261['filter'](_0x36346a=>_0x1aa0('0x10f')!=_0x36346a['root']['rootName']);_0x26f216[_0x1aa0('0x140')]>0x0&&_0x1821e9[_0x1aa0('0xfa')](_0x26f216);for(const _0x63f36 of _0xa07261)_0x63f36[_0x1aa0('0x78')]();});},_0x3fe487=(_0xc46306,_0xa9c3ac)=>0x1==_0xc46306[_0x1aa0('0x140')]&&0x1==_0xa9c3ac[_0x1aa0('0x140')]&&_0xc46306[0x0][_0x1aa0('0x166')]['isEqual'](_0xa9c3ac[0x0][_0x1aa0('0x2')]),_0x98049=(_0x3ba5e4,_0x17f0ac,_0x3749d1,_0x3b1b8f)=>Ot(_0x3ba5e4,_0x17f0ac,_0x3749d1,_0x3b1b8f,this[_0x1aa0('0x10a')])?[_0x3ba5e4,_0x17f0ac]:Ot(_0x17f0ac,_0x3ba5e4,_0x3b1b8f,_0x3749d1,this[_0x1aa0('0x10a')])?[_0x17f0ac,_0x3ba5e4]:null;this[_0x1aa0('0x20')]['set'](_0x1aa0('0xba'),_0x3e7588),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x157'),_0xba325d),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x1d'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x4a'),_0x98049),this['_defaultCallbacks'][_0x1aa0('0xe4')]('deletion:accept',_0xba325d),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x174'),_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xe9'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x163'),_0x98049),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x31'),_0x89b8b0),this['_defaultCallbacks']['set']('formatInline:discard',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xc4'),_0x3fe487),this[_0x1aa0('0x20')]['set'](_0x1aa0('0x70'),_0x3e7588),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x7f'),_0x89b8b0),this['_defaultCallbacks'][_0x1aa0('0xe4')]('formatBlock:discard',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0x12a'),_0x3fe487),this[_0x1aa0('0x20')][_0x1aa0('0xe4')]('formatBlock:chain',_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0x12b'),_0x3e7588),this['_defaultCallbacks'][_0x1aa0('0xe4')](_0x1aa0('0xd2'),(_0x5d29b9,_0x359e69)=>{if(!_0x359e69)return;const _0x13f254=this[_0x1aa0('0xf0')][_0x1aa0('0xf2')][_0x1aa0('0x118')](p);this[_0x1aa0('0x10a')][_0x1aa0('0x13b')](_0x58441e=>{if(_0x1aa0('0x8d')==_0x359e69[_0x1aa0('0x52')])for(const _0x2d38c1 of _0x5d29b9){const _0x255573=_0x2d38c1[_0x1aa0('0x2')][_0x1aa0('0x132')],_0x30f83d=_0x359e69['oldValue'];_0x58441e[_0x1aa0('0xcc')](_0x255573,_0x30f83d);}else{if(_0x13f254['_isBlockAttribute'](_0x359e69[_0x1aa0('0x52')]))for(const _0x949e11 of _0x5d29b9)void 0x0!==_0x359e69['oldValue']?_0x58441e[_0x1aa0('0xdb')](_0x359e69[_0x1aa0('0x52')],_0x359e69[_0x1aa0('0x153')],_0x949e11[_0x1aa0('0x2')]['nodeAfter']):_0x58441e[_0x1aa0('0x55')](_0x359e69[_0x1aa0('0x52')],_0x949e11['start'][_0x1aa0('0x132')]);else for(const _0x6c3d72 of _0x5d29b9)_0x359e69[_0x1aa0('0x153')]?_0x58441e[_0x1aa0('0xdb')](_0x359e69['key'],_0x359e69[_0x1aa0('0x153')],_0x6c3d72):_0x58441e[_0x1aa0('0x55')](_0x359e69[_0x1aa0('0x52')],_0x6c3d72);}});}),this[_0x1aa0('0x20')][_0x1aa0('0xe4')](_0x1aa0('0x5b'),_0x3fe487);}}function Tt(_0x2126c1,_0xb8be64,_0x40808c){for(const _0x1c6bc9 of _0xb8be64[_0x1aa0('0x179')][_0x1aa0('0x11e')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1c6bc9[_0x1aa0('0xa7')]==_0x1c6bc9)return!0x1;if(!_0x40808c[_0x1aa0('0xdf')](_0x1c6bc9))return!0x1;if(_0x2126c1[_0x1aa0('0xd8')](_0x1c6bc9)||_0x2126c1[_0x1aa0('0xa6')](_0x1c6bc9))return!0x0;}return!0x1;}function xt(_0x2f09d2){return _0x2f09d2[_0x1aa0('0x166')][_0x1aa0('0x179')]==_0x2f09d2[_0x1aa0('0x2')][_0x1aa0('0x132')]&&_0x2f09d2[_0x1aa0('0x166')][_0x1aa0('0x6')];}function Et(_0x48ea41,_0x2e7997,_0x2c8f34,_0x514eb7){const _0x56f62b=_0x1629b4=>!_0x1629b4[_0x1aa0('0x3')]['is'](_0x1aa0('0x139'))&&!_0x514eb7['isObject'](_0x1629b4[_0x1aa0('0x3')]),_0x468a14=_0x48ea41['start'][_0x1aa0('0xaf')](_0x56f62b),_0x539902=_0x48ea41[_0x1aa0('0x166')]['getLastMatchingPosition'](_0x56f62b,{'direction':'backward'});return(!_0x48ea41[_0x1aa0('0x2')]['isEqual'](_0x468a14)||!_0x48ea41['end'][_0x1aa0('0x111')](_0x539902))&&(_0x468a14[_0x1aa0('0x11b')](_0x539902)?_0x2c8f34[_0x1aa0('0x156')](_0x2e7997,{'range':_0x2c8f34[_0x1aa0('0x42')](_0x468a14,_0x539902)}):_0x2c8f34[_0x1aa0('0x24')](_0x2e7997),!0x0);}function Rt(_0x111161){return _0x205c05(_0x111161);}function jt(_0xe7c10e){const _0x31845f=_0xe7c10e[_0x1aa0('0x2')][_0x1aa0('0x132')];return _0x31845f&&_0x31845f['is'](_0x1aa0('0x92'));}function Ut(_0xb64bed,_0x37b86e){const _0x1529a3=_0x37b86e[_0x1aa0('0x5c')]['isObject'](_0xb64bed)||_0x37b86e['schema'][_0x1aa0('0xc8')](_0xb64bed);return _0x37b86e[_0x1aa0('0x42')](_0x37b86e[_0x1aa0('0xe2')](_0xb64bed,_0x1aa0('0xd5')),_0x1529a3?_0x37b86e[_0x1aa0('0x2e')](_0xb64bed):_0x37b86e[_0x1aa0('0xe2')](_0xb64bed,'end'));}function Ot(_0x23f9fc,_0x581da4,_0x19b3db,_0x40eb46,_0x15adba){if(!Vt(_0x23f9fc,_0x581da4))return!0x1;if(_0x19b3db[_0x1aa0('0x166')][_0x1aa0('0x111')](_0x40eb46[_0x1aa0('0x2')]))return!0x0;if(_0x23f9fc[_0x1aa0('0x75')]!=_0x581da4[_0x1aa0('0x75')])return!0x1;if(!_0x19b3db[_0x1aa0('0x166')][_0x1aa0('0x116')](_0x40eb46[_0x1aa0('0x2')]))return!0x1;const _0x497c8a=_0x15adba[_0x1aa0('0x42')](_0x19b3db[_0x1aa0('0x166')],_0x40eb46['start'])[_0x1aa0('0x178')]();for(const _0x2530b9 of _0x497c8a)if([_0x1aa0('0xf8'),'elementEnd'][_0x1aa0('0xb8')](_0x2530b9['type'])&&_0x15adba[_0x1aa0('0x5c')][_0x1aa0('0xa6')](_0x2530b9['item']))return!0x1;return!0x0;}function Vt(_0x37202b,_0x1743c0){return!(!_0x37202b[_0x1aa0('0x25')]||!_0x1743c0[_0x1aa0('0x25')])&&_0x223011(_0x37202b[_0x1aa0('0x10e')],_0x1743c0[_0x1aa0('0x10e')]);}function Ft(_0x3376c9,_0x5043cd){const _0x52b70d=Gt(_0x3376c9[_0x1aa0('0x10e')]),_0x337d09=Gt(_0x5043cd);if(!_0x3376c9[_0x1aa0('0x25')])return!0x1;for(const _0x333cb6 of Object['keys'](_0x337d09))if(!_0x223011(_0x52b70d[_0x333cb6],_0x337d09[_0x333cb6]))return!0x1;return!0x0;}function Gt(_0x21265e){const _0x4c7141=Object[_0x1aa0('0x126')]({},_0x21265e);return delete _0x4c7141[_0x1aa0('0x73')],delete _0x4c7141[_0x1aa0('0xe0')],_0x4c7141;}
|
|
23
|
+
const _0x45e5=['oldValue','move','acceptSelectedSuggestions','isSelectable','get','open','_registerInlineAttribute','ck-suggestion-marker-formatInline','options','registerCustomCallback','start','removeClass','enqueueChange','change:data','listenTo','deletion','commands','bindElementToMarker','stop','addClass','getUser','external:','accepted','define','root','name','insertion:discard','containsPosition','createPositionAfter','collaboration.channelId','acceptAllSuggestions','deletion:join','targetPosition','chain','removed','includes','isOwn','_splitMarkerName','getMarkers','_getMarkerAnnouncementText','markMultiRangeInsertion','data','author','creator','formatBlock:join','CommentsRepository','range','toUpperCase','ck-suggestion-marker','buildSuggestion','formatBlock:chain','markInsertion','addComment','getCommentThread','attributeNewValue','accept','_SUGGESTION_ANNOUNCEMENT','track-changes-command-not-found','keys','howMany','low','_checkSuggestionCorrectness','end','elementToElement','moveTargetPosition','discard','markerReady','deletion:discard','_joinWithAdjacentSuggestions','set','removeMarker:suggestion:formatBlock','subType','containerElement','getChanges','_editor','_findSuggestions','_isBlockAttribute','isArray','attribute','schema','isUndo','formatInline','_breakSuggestionMarker','detach','dataReady','isEqual','forceDefaultExecution','attribute:discard','forEach','find','plugins','dataDowncast','values','isCollapsed','tablePasteChainId','_commentsRepository','isIntersecting','getFirstMarker','getLastMatchingPosition','previous','createdAt','isTouching','locale','addMarkerName','_processAttributeSuggestions','from','applyOperation','reconvertMarker','markerNameToElements','trackChanges.mergeNestedSuggestions','updateMarker','getMultiRangeId','deleteContent','head','ready','warn','_joinSuggestions','markAttributeChange','setAttribute','selection','join','dataToMarker','isInContent','insertion:join','getChangedMarkers','sort','formatInline:discard','markMultiRangeDeletion','markBlockFormat','has','FORMATTING','documentSelection','mapper','_onDiscard','next','init','rename','never','toJSON','lowest','removeMarker:suggestion:attribute','then','authorName','split','editing','filter','attribute:','getRanges','toViewElement','pop','hasComments','attribute:join','_recordAttributeSuggestionsFromVersion','track-changes-user-not-found','element','containsRangeInObject','_setSuggestionRange','nodeBefore','trackChangesCommand','markerToHighlight','_reduceSuggestionAttributeRange','isLimit','skipNestingCheck','groupId','showSuggestionHighlights','default','_rangeIsInLocalUserInsertion','getAncestors','getSuggestionCallback','notReady','track-changes-suggestion-not-found','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.','_suggestionFactory','upcast','splice','_addThreadToSuggestion','deletion:','forward','newValue','getAllAdjacentSuggestions','formatBlock:accept','stopListening','updateSuggestion','$elementName','formatGroupId','getShiftedBy','_updateSuggestionData','_registerDefaultCallbacks','length','attributes','high','rootName','hasCommentThread','createPositionAt','always','isObject','multipleBlocks','enableReadOnlyMode','suggestion:attribute:','createElement','meta','widget','_trackFormatChanges','_enableDefaultAttributesIntegration','_getExternalAuthor','comments','setSelection','removeMarker','acceptSuggestion','isNextTo','enableCommand','_defaultCallbacks','some','discardSelectedSuggestions','marker-count','insertion:chain','addSuggestionData','commentThread','_inlineAttributeKeys','change','deletion:accept','resolve','formatBlock:','formatInline:chain','unbindElementFromMarkerName','clear','consumable','isBefore','suggestionChanged','_cutOutSuggestionMarker','formatInline:','attributeKey','insert','addMarker:suggestion','_suggestionState','editingDowncast','backward','formatInline:accept','getRange','formatBlock:discard','isInsideObject','insertion','item','ck-suggestion-marker-formatBlock','_isDataLoaded','_suggestions','addMarker:suggestion:attribute','substring','markerName','format','suggestion','_handleNewSuggestionMarker','assign','getIntersection','createRangeOn','discardSuggestion','createRangeIn','key','originalSuggestionId','conversion','commandName','type','document','highest','discardAllSuggestions','_enabledCommands','changeAttribute','history','$marker','_adapter','remove','_getSuggestionData','execute','parent','markMultiRangeBlockFormat','fromRange','$text','addSuggestion','oldRange','addHighlight','isMultiRange','for','registerPostFixer','nodeAfter','_blockAttributeKeys','LEAVE','_saved','createRange','createSelection','_getAttributeKeyFromSubType','rejected','clone','getFirstRange','getSuggestion','announce','isRemovable','value','writer','@external','differ','markers','_isForcedDefaultExecutionBlock','editor','trackChanges.trackFormatChanges','ariaLiveAnnouncer','track-changes-adapter-already-set','getNearestSelectionRange','position','normal','_refreshSuggestionsChain','markDeletion','newName','consume','data-suggestion','insertion:','config','multi','createPositionBefore','every','removeAttribute','_recordAttributeChanges','_removeSuggestion','_customCallbacks','fire','isAfter','add','track-changes-suggestion-data-mismatch','addCommentThread','$graveyard','size','getAttribute','trackChanges','_descriptionFactory','push','_addSuggestionMarker','delete','markInlineFormat','_setSuggestionData','addRange','PendingActions','containsRange','_createSuggestion','newRange','suggestionUnloaded','model','return','adapter','formatBlock','suggestionLoaded','Users','ck-suggestion-marker--active','isLocal','addMarker','_mergeNestedSuggestions','getDifference','_model','getSuggestions','removeMarkers','ck-suggestion-marker-','isBlock','track-changes-adapter-missing-getsuggestion','startsWith','activeMarkers','map','before','batch','getCustomProperty','addMarker:suggestion:formatBlock','PENDING_ACTION_SUGGESTION','_getAuthorFromId','_registerBlockAttribute','authoredAt','error-saving-suggestion-data-suggestion-discarded','fromCharCode'];(function(_0x4609b6,_0x45e522){const _0xfb563f=function(_0x49612c){while(--_0x49612c){_0x4609b6['push'](_0x4609b6['shift']());}};_0xfb563f(++_0x45e522);}(_0x45e5,0x18a));const _0xfb56=function(_0x4609b6,_0x45e522){_0x4609b6=_0x4609b6-0x0;let _0xfb563f=_0x45e5[_0x4609b6];return _0xfb563f;};import{Plugin as _0x3e9e26,PendingActions as _0x3e49fb}from'ckeditor5/src/core';import{LiveRange as _0x49faa4}from'ckeditor5/src/engine';import{CKEditorError as _0x25467a,uid as _0x1afc95,priorities as _0x37cbac,logWarning as _0x1ee825}from'ckeditor5/src/utils';import{toWidget as _0xc6b824}from'ckeditor5/src/widget';import{Users as _0x1d741d,hashObject as _0x49482b,surroundingMarkersDetector as _0x3254cf}from'ckeditor5-collaboration/src/collaboration-core';import _0x37d388 from'./commands/trackchangescommand';import _0x21e1cc from'./commands/acceptsuggestioncommand';import _0x5b3b64 from'./commands/discardsuggestioncommand';import _0x1a2799 from'./commands/executeonallsuggestionscommand';import _0x5cf1fc from'./commands/executeonselectedsuggestionscommand';import _0x4d3acb from'./suggestion';import _0x1d4b21 from'./suggestiondescriptionfactory';import _0x2f107c from'./integrations/aiassistant';import _0x5db2f2 from'./integrations/alignment';import _0x42a054 from'./integrations/basicstyles';import _0x2ba13c from'./integrations/blockquote';import _0x4394e0 from'./integrations/ckbox';import _0x592b72 from'./integrations/codeblock';import _0x87136c from'./integrations/comments';import _0x3e03df from'./integrations/deletecommand';import _0x436e92 from'./integrations/documentlist';import _0x3e63d3 from'./integrations/documentlistproperties';import _0xab5359 from'./integrations/entercommand';import _0x5abd75 from'./integrations/findandreplace';import _0x35033f from'./integrations/font';import _0x4c2de4 from'./integrations/formatpainter';import _0x36c3dd from'./integrations/heading';import _0x48c135 from'./integrations/highlight';import _0x3ee5fc from'./integrations/horizontalline';import _0x5ef9a9 from'./integrations/htmlembed';import _0xe686b8 from'./integrations/image';import _0x19e9f9 from'./integrations/imagereplace';import _0x27f85a from'./integrations/imagestyle';import _0x58b5b4 from'./integrations/importword';import _0x2c142f from'./integrations/indent';import _0x2b3f3 from'./integrations/inputcommand';import _0x52eee6 from'./integrations/link';import _0x25587c from'./integrations/list';import _0x47f975 from'./integrations/listproperties';import _0x19b06d from'./integrations/mediaembed';import _0xe4b442 from'./integrations/mention';import _0x1d73f from'./integrations/pagebreak';import _0x4d5700 from'./integrations/paragraph';import _0x4d44bb from'./integrations/removeformat';import _0x1f448c from'./integrations/restrictededitingmode';import _0x49637b from'./integrations/shiftentercommand';import _0x3e4ad9 from'./integrations/standardeditingmode';import _0x7d4c57 from'./integrations/style';import _0x3ba818 from'./integrations/table';import _0x50edee from'./integrations/tablemergesplit';import _0x39bc14 from'./integrations/tableheadings';import _0x37ed5f from'./integrations/tableclipboard';import _0x3f189f from'./integrations/tablecolumnresize';import _0x1d1309 from'./integrations/template';import _0x1b5df7 from'./integrations/tableofcontents';import _0x24ec96 from'./integrations/title';import _0x1b642c from'./integrations/undo';import _0x585219 from'./integrations/tablecaption';import _0x3f7915 from'./integrations/tableproperties';import{getTranslation as _0x199e6d}from'./utils/common-translations';import{isEqual as _0x21464f,omit as _0x1c9aaa}from'lodash-es';export const renameAttributeKey=_0xfb56('0xa3');export default class p extends _0x3e9e26{static get['requires'](){return[_0xfb56('0x19'),_0x1d741d,_0x3e49fb,_0x2f107c,_0x5db2f2,_0x42a054,_0x2ba13c,_0x4394e0,_0x592b72,_0x87136c,_0x3e03df,_0x436e92,_0x3e63d3,_0xab5359,_0x5abd75,_0x35033f,_0x4c2de4,_0x36c3dd,_0x48c135,_0x3ee5fc,_0x5ef9a9,_0xe686b8,_0x27f85a,_0x19e9f9,_0x58b5b4,_0x2c142f,_0x2b3f3,_0x52eee6,_0x25587c,_0x47f975,_0x19b06d,_0xe4b442,_0x1d73f,_0x4d5700,_0x4d44bb,_0x1f448c,_0x49637b,_0x3e4ad9,_0x7d4c57,_0x3ba818,_0x50edee,_0x39bc14,_0x585219,_0x37ed5f,_0x3f189f,_0x1b5df7,_0x3f7915,_0x1d1309,_0x24ec96,_0x1b642c];}static get['pluginName'](){return'TrackChangesEditing';}constructor(_0x44fb83){function _0x58170d(_0x603078){return _0x603078[_0xfb56('0x157')](_0x82ce7b=>String[_0xfb56('0x161')](_0x82ce7b))[_0xfb56('0x64')]('');}super(_0x44fb83),this[_0xfb56('0x84')]=null,this[_0xfb56('0x31')](_0xfb56('0x156'),[]),this['on']('change:activeMarkers',(_0x27be1a,_0xa89447,_0x3fa86b,_0xf01816)=>{this[_0xfb56('0x14f')]['change'](()=>{for(const _0x18ee2b of[..._0xf01816,..._0x3fa86b])this[_0xfb56('0x14f')][_0xfb56('0x118')]['has'](_0x18ee2b)&&_0x44fb83[_0xfb56('0x7c')][_0xfb56('0x57')](_0x18ee2b);});}),this[_0xfb56('0x138')]=new _0x1d4b21(this['editor'][_0xfb56('0x144')][_0xfb56('0x3b')],this[_0xfb56('0x11a')][_0xfb56('0x52')]),this[_0xfb56('0xf9')]=null,this[_0xfb56('0x98')]=new Bt(this[_0xfb56('0x11a')]),this[_0xfb56('0xe1')]=new Map(),this[_0xfb56('0x4b')]=_0x44fb83[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19')),this[_0xfb56('0xf5')]=new Set(),this['_model']=this[_0xfb56('0x11a')]['model'],this['_suggestionState']=new WeakMap(),this[_0xfb56('0x119')]=!0x1,this[_0xfb56('0x108')]=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x44fb83[_0xfb56('0x127')][_0xfb56('0x3')]('trackChanges.trackFormatChanges',_0xfb56('0x91')),this[_0xfb56('0xb6')]=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x11b')),_0x44fb83[_0xfb56('0x127')]['define'](_0xfb56('0x59'),!0x0),this['_mergeNestedSuggestions']=_0x44fb83['config'][_0xfb56('0x166')](_0xfb56('0x59')),this['trackChangesCommand']=new _0x37d388(_0x44fb83,this[_0xfb56('0xf5')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x58170d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x58170d([0x34,0x30,0x34,0x36,0x32,0x32,0x33,0x36]);}[_0xfb56('0x73')](){const _0x31b21e=this[_0xfb56('0x11a')],_0x5c8aad=(_0x4d71b9,_0x592a10)=>{if(_0xfb56('0x3a')!=_0x4d71b9)return _0xfb56('0x152')+_0x4d71b9;const _0xd9ca20=_0x592a10['split']('|')[0x0];return this['_isBlockAttribute'](_0xd9ca20)?_0xfb56('0xdf'):_0xfb56('0x169');};_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')]('editingDowncast')[_0xfb56('0x8b')]({'model':_0xfb56('0xe6'),'view':_0x5183ab=>{const {id:_0x6ef068,type:_0x5e97ec,subType:_0x2ec673}=this[_0xfb56('0x11')](_0x5183ab[_0xfb56('0xe4')]),_0x2bb249=['ck-suggestion-marker',_0x5c8aad(_0x5e97ec,_0x2ec673)];let _0x156133=0xbb8;return this[_0xfb56('0x156')][_0xfb56('0xf')](_0x5183ab[_0xfb56('0xe4')])&&(_0x2bb249[_0xfb56('0x139')](_0xfb56('0x14a')),_0x156133=0xbc2),'deletion'==_0x5e97ec&&(_0x156133+=0x5),{'classes':_0x2bb249,'attributes':{'data-suggestion':_0x6ef068},'priority':_0x156133};}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x47'))[_0xfb56('0x131')](_0x11ee29=>{_0x11ee29['on'](_0xfb56('0xd5'),(_0x20691a,_0x189c74,_0x2744af)=>{if(!_0x2744af[_0xfb56('0x16a')][_0xfb56('0x90')])return;const _0x5fe7b8=_0x189c74['item'];if(!_0x5fe7b8)return;const _0x53cfe0=_0x2744af[_0xfb56('0x70')][_0xfb56('0x80')](_0x5fe7b8);_0x31b21e[_0xfb56('0x144')]['schema'][_0xfb56('0xaf')](_0x5fe7b8)&&_0x53cfe0&&!_0x53cfe0['getCustomProperty'](_0xfb56('0xb5'))&&_0x53cfe0['is'](_0xfb56('0x34'))&&_0xc6b824(_0x53cfe0,_0x2744af[_0xfb56('0x115')]);},{'priority':'high'});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))[_0xfb56('0x8b')]({'model':'suggestion','view':(_0x317e47,_0x35de85)=>{if(!_0x35de85[_0xfb56('0x16a')][_0xfb56('0x90')])return null;const {type:_0x560871,subType:_0x5cf213}=this[_0xfb56('0x11')](_0x317e47['markerName']);return{'classes':[_0xfb56('0x1c'),_0x5c8aad(_0x560871,_0x5cf213)],'priority':0xbb8};}});const _0x2fb8d0=({showActiveMarkers:_0x5a2c25=!0x0,isAttributeSuggestion:_0x55c49c=!0x1}={})=>(_0x1875f4,_0x2a039a,_0x2e1047)=>{if(!_0x2a039a[_0xfb56('0xde')])return;const {id:_0xfa32d2}=this[_0xfb56('0x11')](_0x2a039a['markerName']);if(_0x55c49c){const _0x412a1f=this['_suggestions'][_0xfb56('0x166')](_0xfa32d2),_0x3b1752=this['_getAttributeKeyFromSubType'](_0x412a1f);if(!this[_0xfb56('0x38')](_0x3b1752))return;}if(_0x2a039a[_0xfb56('0xde')]['is'](_0xfb56('0x63')))return void _0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);const _0x28b34e=_0x2e1047[_0xfb56('0x70')]['toViewElement'](_0x2a039a[_0xfb56('0xde')]);if(_0x2a039a[_0xfb56('0xde')]['is']('element')&&_0x31b21e['model']['schema'][_0xfb56('0x153')](_0x2a039a['item'])&&!_0x28b34e[_0xfb56('0x15a')]('addHighlight')){_0x2e1047[_0xfb56('0x115')]['addClass']([_0xfb56('0x1c'),_0xfb56('0xdf')],_0x28b34e),_0x2e1047[_0xfb56('0x115')][_0xfb56('0x62')](_0xfb56('0x125'),_0xfa32d2,_0x28b34e),_0x2e1047[_0xfb56('0x70')][_0xfb56('0x173')](_0x28b34e,_0x2a039a[_0xfb56('0xe4')]),_0x5a2c25&&(this['activeMarkers'][_0xfb56('0xf')](_0x2a039a['markerName'])?_0x2e1047['writer'][_0xfb56('0x175')](_0xfb56('0x14a'),_0x28b34e):_0x2e1047[_0xfb56('0x115')][_0xfb56('0x16d')](_0xfb56('0x14a'),_0x28b34e));for(const _0x4ab618 of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xec')](_0x2a039a[_0xfb56('0xde')])['getItems']())_0x2e1047[_0xfb56('0xce')][_0xfb56('0x124')](_0x4ab618,_0x1875f4[_0xfb56('0x5')]);_0x2e1047['consumable'][_0xfb56('0x124')](_0x2a039a[_0xfb56('0xde')],_0x1875f4[_0xfb56('0x5')]);}};_0x31b21e['conversion'][_0xfb56('0x105')]('dataDowncast')['add'](_0x166f28=>{_0x166f28['on'](_0xfb56('0x15b'),(_0x3fda55,_0x1115fc,_0x524e34)=>{_0x524e34['options'][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1})(_0x3fda55,_0x1115fc,_0x524e34);},{'priority':_0xfb56('0xf3')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0x47'))['add'](_0x2cc2db=>{_0x2cc2db['on'](_0xfb56('0xe2'),(_0x4296ef,_0x42e8e2,_0x16d66f)=>{_0x16d66f[_0xfb56('0x16a')][_0xfb56('0x90')]&&_0x2fb8d0({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4296ef,_0x42e8e2,_0x16d66f);},{'priority':_0xfb56('0xf3')});}),_0x31b21e['conversion']['for'](_0xfb56('0x47'))['markerToData']({'model':_0xfb56('0xe6'),'view':(_0x4da0a5,_0x31ae3c)=>_0x31ae3c['options'][_0xfb56('0x90')]?null:{'group':_0xfb56('0xe6'),'name':_0x4da0a5['substr'](0xb)}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x2b')]({'view':{'name':_0xfb56('0xe6'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4f39ac,{writer:_0x3e7411})=>{let _0x38528c='suggestion:'+_0x4f39ac[_0xfb56('0x136')]('suggestion-type')+':'+_0x4f39ac[_0xfb56('0x136')]('id');return _0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))&&(_0x38528c+=':'+_0x4f39ac[_0xfb56('0x136')](_0xfb56('0xc2'))),_0x3e7411[_0xfb56('0xb3')](_0xfb56('0xf8'),{'data-name':_0x38528c});}}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0x99'))[_0xfb56('0x65')]({'view':_0xfb56('0xe6')}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4e4785=>{_0x4e4785['on'](_0xfb56('0x15b'),_0x2fb8d0(),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for']('editingDowncast')[_0xfb56('0x131')](_0x37ad76=>{_0x37ad76['on'](_0xfb56('0xe2'),_0x2fb8d0({'isAttributeSuggestion':!0x0}),{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')]['for'](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x4bce33=>{_0x4bce33['on'](_0xfb56('0x32'),(_0x4d5856,_0x624e08,_0x42c84c)=>{const _0x17d403=_0x42c84c[_0xfb56('0x70')][_0xfb56('0x58')](_0x624e08[_0xfb56('0xe4')]);if(_0x17d403)for(const _0x5e27de of _0x17d403)_0x5e27de[_0xfb56('0x15a')]('addHighlight')||(_0x42c84c['writer'][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x5e27de),_0x42c84c['writer'][_0xfb56('0x12b')](_0xfb56('0x125'),_0x5e27de),_0x42c84c[_0xfb56('0x70')][_0xfb56('0xcc')](_0x5e27de,_0x624e08['markerName']));},{'priority':_0xfb56('0xaa')});}),_0x31b21e[_0xfb56('0xef')][_0xfb56('0x105')](_0xfb56('0xd7'))[_0xfb56('0x131')](_0x2bc8dc=>{_0x2bc8dc['on'](_0xfb56('0x78'),(_0x5a9ef7,_0x463a9a,_0xedd641)=>{const _0x486438=_0xedd641[_0xfb56('0x70')][_0xfb56('0x58')](_0x463a9a[_0xfb56('0xe4')]);if(!_0x486438)return;const {id:_0x479be7}=this[_0xfb56('0x11')](_0x463a9a['markerName']),_0x53b3f1=this['_suggestions']['get'](_0x479be7),_0x4d388e=this[_0xfb56('0x10d')](_0x53b3f1);if(this[_0xfb56('0x38')](_0x4d388e))for(const _0x4ce284 of _0x486438)_0x4ce284[_0xfb56('0x15a')](_0xfb56('0x103'))||(_0xedd641[_0xfb56('0x115')][_0xfb56('0x16d')]([_0xfb56('0x1c'),_0xfb56('0xdf'),_0xfb56('0x14a')],_0x4ce284),_0xedd641[_0xfb56('0x115')]['removeAttribute'](_0xfb56('0x125'),_0x4ce284),_0xedd641[_0xfb56('0x70')][_0xfb56('0xcc')](_0x4ce284,_0x463a9a[_0xfb56('0xe4')]));},{'priority':'high'});}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['registerPostFixer'](_0x144549=>{let _0x52ca45=!0x1;const _0x224258=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['differ'][_0xfb56('0x68')]()),_0x4bb1da=new Set();for(const {name:_0x255f53,data:_0x43d6bf}of _0x224258){const {group:_0x237360,type:_0x3e9bc3,subType:_0x19de53,id:_0xf78e58}=this[_0xfb56('0x11')](_0x255f53);if(_0xfb56('0xe6')!==_0x237360)continue;const _0x529543=this['_suggestions'][_0xfb56('0x166')](_0xf78e58);if(null!=_0x43d6bf[_0xfb56('0x142')]){_0xfb56('0x3d')==_0x3e9bc3&&(_0x52ca45=_0x52ca45||Et(_0x43d6bf[_0xfb56('0x142')],_0x255f53,_0x144549,_0x31b21e[_0xfb56('0x144')]['schema']));const _0x25d354=_0xfb56('0x3a')==_0x3e9bc3&&this[_0xfb56('0x38')](_0x19de53['split']('|')[0x0]);if(_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x49')]||_0xfb56('0x134')==_0x43d6bf[_0xfb56('0x142')][_0xfb56('0x4')][_0xfb56('0xab')]||_0xfb56('0x147')==_0x3e9bc3&&!jt(_0x43d6bf[_0xfb56('0x142')])||_0x25d354&&!jt(_0x43d6bf[_0xfb56('0x142')])||'deletion'==_0x3e9bc3&&!(!xt(_0x1794ef=_0x43d6bf[_0xfb56('0x142')])&&!function(_0x7304f4){return _0x7304f4[_0xfb56('0x16c')][_0xfb56('0xfd')]==_0x7304f4[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x7304f4[_0xfb56('0x16c')]['isAtEnd'];}(_0x1794ef)))_0x144549['removeMarker'](_0x255f53),_0x52ca45=!0x0;else{if(!_0x529543||!_0x529543[_0xfb56('0x66')])continue;_0x4bb1da[_0xfb56('0x131')](_0x529543);}}}var _0x1794ef;return _0x4bb1da[_0xfb56('0x135')]>0x0&&(_0x52ca45=!!this['_joinWithAdjacentSuggestions'](_0x4bb1da)||_0x52ca45),_0x52ca45;}),_0x31b21e[_0xfb56('0x144')]['document']['registerPostFixer'](_0x234f5a=>{let _0x37207=!0x1;for(const _0x22667e of _0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]())if(_0xfb56('0xd4')==_0x22667e[_0xfb56('0xf1')])for(const _0x3368cc of this['_suggestions'][_0xfb56('0x48')]()){if(_0x3368cc[_0xfb56('0x104')]||!_0x3368cc[_0xfb56('0x66')])continue;const _0x5c6a03=_0xfb56('0x147')==_0x3368cc['type'],_0x6686c1=this['_getAttributeKeyFromSubType'](_0x3368cc),_0xe8dadd=_0x6686c1&&this[_0xfb56('0x38')](_0x6686c1);if(!_0x5c6a03&&!_0xe8dadd)continue;const _0x578c1d=_0x3368cc[_0xfb56('0x110')]();if(_0x578c1d[_0xfb56('0x16c')][_0xfb56('0xfd')]!=_0x578c1d['end'][_0xfb56('0xfd')]&&!_0x578c1d[_0xfb56('0x2a')]['isAtEnd']){const _0x2128d1=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x578c1d[_0xfb56('0x16c')]['nodeAfter'],_0xfb56('0x2a')),_0x36cb30=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x10b')](_0x578c1d[_0xfb56('0x16c')],_0x2128d1);_0x234f5a[_0xfb56('0x5a')](_0x3368cc[_0xfb56('0x4d')](),{'range':_0x36cb30}),_0x37207=!0x0;}}return _0x37207;}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x4d851f=>this['_processAttributeChanges'](_0x4d851f)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x106')](_0x279bad=>!_0x279bad[_0xfb56('0x159')][_0xfb56('0x14b')]&&this['_processAttributeSuggestions'](_0x279bad)),_0x31b21e[_0xfb56('0x144')][_0xfb56('0x118')]['on']('update:suggestion',(_0x2f9391,_0x618775,_0x379938)=>{if(null==_0x379938){const {id:_0x56648c}=this[_0xfb56('0x11')](_0x618775[_0xfb56('0x5')]),_0x270ecc=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x56648c);_0x270ecc&&_0x270ecc[_0xfb56('0x53')](_0x618775[_0xfb56('0x5')]);}}),_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')]['on'](_0xfb56('0x16f'),()=>{const _0x23c1b8=Array[_0xfb56('0x55')](_0x31b21e[_0xfb56('0x144')][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x68')]())[_0xfb56('0x7d')](_0x5d288c=>'suggestion'===this[_0xfb56('0x11')](_0x5d288c[_0xfb56('0x5')])['group']);if(0x0===_0x23c1b8['length'])return;_0x23c1b8[_0xfb56('0x69')]((_0x47a002,_0xd29763)=>{const _0x3b4142=_0x47a002[_0xfb56('0x15')]['oldRange'],_0x11ebfb=_0xd29763[_0xfb56('0x15')][_0xfb56('0x102')];return null===_0x3b4142&&null===_0x11ebfb?0x0:null===_0x3b4142&&null!==_0x11ebfb?-0x1:null!==_0x3b4142&&null===_0x11ebfb?0x1:_0x3b4142[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x11ebfb[_0xfb56('0x16c')])?-0x1:0x1;});const _0x1a654b=new Set(),_0x43a6ec=new Set();for(const {name:_0x1335b0,data:_0x42bf32}of _0x23c1b8){const {id:_0x266c85}=this[_0xfb56('0x11')](_0x1335b0);if(null===_0x42bf32[_0xfb56('0x102')]){const _0x4bb9e1=this[_0xfb56('0xe7')](_0x1335b0);_0x43a6ec[_0xfb56('0x131')](_0x4bb9e1);}else{const _0x2b6818=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x266c85);null!==_0x42bf32['newRange']||_0x2b6818[_0xfb56('0x66')]?(_0x1a654b[_0xfb56('0x131')](_0x2b6818[_0xfb56('0x5d')]),_0x43a6ec[_0xfb56('0x131')](_0x2b6818)):this[_0xfb56('0x12d')](_0x2b6818);}}_0x43a6ec[_0xfb56('0x135')]>0x0&&this[_0xfb56('0x121')](_0x43a6ec);for(const _0x187918 of _0x1a654b)this[_0xfb56('0x12f')](_0xfb56('0xd0'),_0x187918);}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x56'),(_0xc1c7a8,_0x5b871f)=>{const _0x19409b=_0x5b871f[0x0];if(!this[_0xfb56('0xe1')][_0xfb56('0x135')])return;if(!_0x19409b['isDocumentOperation'])return;if(_0x19409b[_0xfb56('0x159')][_0xfb56('0x3c')]||!_0x19409b[_0xfb56('0x159')][_0xfb56('0x14b')])return;let _0x3aabb6,_0x41b20d;switch(_0x19409b[_0xfb56('0xf1')]){case _0xfb56('0xd4'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0x11f')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b['howMany']);break;case _0xfb56('0x7b'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b['splitPosition']),_0x41b20d=_0x31b21e[_0xfb56('0x144')][_0xfb56('0xad')](_0x19409b[_0xfb56('0x2c')]);break;case _0xfb56('0x163'):_0x3aabb6=_0x31b21e['model'][_0xfb56('0xad')](_0x19409b[_0xfb56('0xc')]),_0x41b20d=_0x3aabb6[_0xfb56('0xa5')](_0x19409b[_0xfb56('0x27')]);break;default:return;}const _0x18b0e1=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x3aabb6,_0x41b20d);_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const {suggestion:_0x21e47d,meta:_0x26abf4}of this['_findSuggestions'](_0x18b0e1)){if(_0x21e47d['isMultiRange'])continue;if('formatInline'==_0x21e47d[_0xfb56('0xf1')])continue;const _0x1d2a50=this[_0xfb56('0x10d')](_0x21e47d);if(_0x1d2a50&&this[_0xfb56('0x38')](_0x1d2a50)&&_0xfb56('0x7b')!=_0x19409b['type'])continue;const _0x559f56=_0x21e47d['data']&&_0x21e47d['data'][_0xfb56('0xb0')];('formatBlock'!=_0x21e47d[_0xfb56('0xf1')]||'split'==_0x19409b[_0xfb56('0xf1')]&&!_0x559f56)&&(_0x26abf4[_0xfb56('0x87')]||_0xfb56('0xdd')==_0x21e47d[_0xfb56('0xf1')]&&_0x26abf4['isOwn']||_0x21e47d['getFirstRange']()[_0xfb56('0x140')](_0x18b0e1)&&this[_0xfb56('0x3e')](_0x21e47d,_0x3aabb6,_0x41b20d));}});},{'priority':_0xfb56('0x77')}),_0x31b21e[_0xfb56('0x144')]['on'](_0xfb56('0x5c'),(_0x1559e9,_0x3b73b0)=>{const _0x5b0af7=_0x3b73b0[0x0],_0x52cc42=_0x3b73b0[0x1];if(_0x52cc42&&_0x52cc42[_0xfb56('0x42')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0xfb56('0x8a')][_0xfb56('0x114')])return;if(_0x5b0af7[_0xfb56('0x49')])return;const _0x197ada=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')],{start:_0x3c7519,end:_0x22d6b0}=_0x5b0af7[_0xfb56('0x110')](),_0x1634e7=_0x3c7519['nodeAfter']&&_0x197ada[_0xfb56('0x8d')](_0x3c7519[_0xfb56('0x107')])?null:_0x197ada[_0xfb56('0x11e')](_0x3c7519,_0xfb56('0x9d')),_0x4e077b=_0x22d6b0[_0xfb56('0x89')]&&_0x197ada[_0xfb56('0x8d')](_0x22d6b0[_0xfb56('0x89')])?null:_0x197ada[_0xfb56('0x11e')](_0x22d6b0,_0xfb56('0xd8')),_0xa6333f=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x1634e7?_0x1634e7[_0xfb56('0x16c')]:_0x3c7519,_0x4e077b?_0x4e077b[_0xfb56('0x2a')]:_0x22d6b0);_0x31b21e['model'][_0xfb56('0xc7')](_0x4f53f8=>{this[_0xfb56('0x122')](_0xa6333f);const _0x16bd48=_0x31b21e[_0xfb56('0x144')][_0xfb56('0x3b')][_0xfb56('0x11e')](_0xa6333f[_0xfb56('0x16c')]);_0x5b0af7['is'](_0xfb56('0x6f'))?_0x4f53f8[_0xfb56('0xba')](_0x16bd48):_0x5b0af7['setTo'](_0x16bd48);}),_0x1559e9['stop']();},{'priority':_0x37cbac[_0xfb56('0x120')]+0xa}),_0x31b21e[_0xfb56('0x144')]['on']('insertContent',(_0x24177b,_0x81f994)=>{const _0x2df5fd=_0x81f994[_0x81f994[_0xfb56('0xa8')]-0x1];_0x2df5fd&&_0x2df5fd['forceDefaultExecution']||this[_0xfb56('0x119')]||this[_0xfb56('0x8a')][_0xfb56('0x114')]&&(_0x31b21e[_0xfb56('0x144')][_0xfb56('0xc7')](()=>{let _0x5ba614=_0x31b21e[_0xfb56('0x144')]['insertContent'](_0x81f994[0x0],_0x81f994[0x1],_0x81f994[0x2],{'forceDefaultExecution':!0x0});if(!_0x5ba614)return;_0x24177b[_0xfb56('0x145')]=_0x5ba614[_0xfb56('0x10f')]();const _0x457559=_0x5ba614[_0xfb56('0x2a')][_0xfb56('0x89')],_0x579db6=_0x31b21e[_0xfb56('0x144')]['schema'];_0x457559&&_0x579db6['isBlock'](_0x457559)&&!_0x579db6[_0xfb56('0xaf')](_0x457559)&&(_0x5ba614=_0x31b21e[_0xfb56('0x144')]['createRange'](_0x5ba614['start'],_0x31b21e[_0xfb56('0x144')]['createPositionAt'](_0x457559,_0xfb56('0x2a')))),this[_0xfb56('0x1f')](_0x5ba614);}),_0x24177b[_0xfb56('0x174')]());},{'priority':_0xfb56('0xaa')}),this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0x137'),this['trackChangesCommand']),this[_0xfb56('0xbe')](_0xfb56('0x137'));const _0x42808e=new _0x21e1cc(_0x31b21e,this[_0xfb56('0xe1')]);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xbc'),_0x42808e),this[_0xfb56('0xbe')](_0xfb56('0xbc'));const _0x24d581=new _0x5b3b64(_0x31b21e,this['_suggestions']);_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xeb'),_0x24d581),this['enableCommand'](_0xfb56('0xeb')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0xa'),new _0x1a2799(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xa')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xf4'),new _0x1a2799(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0xf4')),_0x31b21e['commands'][_0xfb56('0x131')](_0xfb56('0x164'),new _0x5cf1fc(_0x31b21e,_0x42808e,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')](_0xfb56('0x164')),_0x31b21e[_0xfb56('0x172')][_0xfb56('0x131')](_0xfb56('0xc1'),new _0x5cf1fc(_0x31b21e,_0x24d581,this[_0xfb56('0xe1')])),this[_0xfb56('0xbe')]('discardSelectedSuggestions');const _0x191f59=_0x31b21e[_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x19'));this[_0xfb56('0x170')](_0x191f59,_0xfb56('0x20'),(_0x47b736,{threadId:_0x465112})=>{const _0x2962a6=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x465112);_0x2962a6&&_0x2962a6[_0xfb56('0xc5')]&&0x1===_0x2962a6['commentThread'][_0xfb56('0xa8')]&&this[_0xfb56('0xa6')](_0x465112,{'hasComments':!0x0});},{'priority':'low'}),this[_0xfb56('0x170')](_0x191f59,'removeComment',(_0x2e6c32,{threadId:_0x504e73})=>{const _0x52e621=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x504e73);_0x52e621&&_0x52e621[_0xfb56('0xc5')]&&!_0x52e621[_0xfb56('0xc5')][_0xfb56('0xa8')]&&this['_updateSuggestionData'](_0x504e73,{'hasComments':!0x1});},{'priority':_0xfb56('0x28')});}set[_0xfb56('0x146')](_0x2a8add){if(this[_0xfb56('0xf9')])throw new _0x25467a(_0xfb56('0x11d'),this);this[_0xfb56('0xf9')]=_0x2a8add;}get[_0xfb56('0x146')](){return this['_adapter'];}[_0xfb56('0x150')]({skipNotAttached:_0x4d6f16=!0x1,toJSON:_0x50d0ef=!0x1}={}){const _0x33a044=[];for(const _0xaa7153 of this['_suggestions'][_0xfb56('0x48')]())_0x4d6f16&&!_0xaa7153[_0xfb56('0x66')]||_0x33a044[_0xfb56('0x139')](_0xaa7153);return _0x50d0ef?_0x33a044[_0xfb56('0x157')](_0x140d54=>_0x140d54[_0xfb56('0x76')]()):_0x33a044;}['getSuggestion'](_0x3777de){const _0x24cc10=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x3777de);if(!_0x24cc10)throw new _0x25467a(_0xfb56('0x96'),this);return _0x24cc10;}['hasSuggestion'](_0x19110a){return this[_0xfb56('0xe1')][_0xfb56('0x6d')](_0x19110a);}[_0xfb56('0xc4')](_0x5f41d2){const {authorId:_0x3378d9,id:_0x431025,attributes:_0x609e48}=_0x5f41d2,[_0x400a06,_0x2cfbb8]=_0x5f41d2[_0xfb56('0xf1')][_0xfb56('0x7b')](':'),_0x19e807=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x431025)||this[_0xfb56('0x141')](_0x400a06,_0x2cfbb8,_0x431025,_0x3378d9,_0x609e48);if(this[_0xfb56('0x9b')](_0x19e807),this[_0xfb56('0x29')](_0x19e807,_0x400a06,_0x2cfbb8||null,_0x3378d9),_0x19e807[_0xfb56('0x50')]=_0x5f41d2[_0xfb56('0x50')],_0x19e807[_0xfb56('0xe0')]=!0x0,_0x609e48&&_0x609e48[_0xfb56('0x116')]){const _0x2a79a6=_0x609e48['@external'],_0x3e2b8f=this['_getExternalAuthor'](_0x2a79a6[_0xfb56('0x7a')]);_0x19e807[_0xfb56('0x15f')]=_0x2a79a6['createdAt'],_0x19e807[_0xfb56('0x16')]=_0x3e2b8f,_0x19e807['isExternal']=!0x0;}else _0x19e807[_0xfb56('0x15f')]=_0x5f41d2['createdAt'];switch(_0x5f41d2[_0xfb56('0x15')]&&(_0x19e807[_0xfb56('0x15')]=_0x5f41d2[_0xfb56('0x15')]),_0x5f41d2['attributes']&&(_0x19e807[_0xfb56('0xa9')]=_0x5f41d2['attributes']),this[_0xfb56('0xf9')]&&this[_0xfb56('0xf9')]['addSuggestion']||(_0x19e807[_0xfb56('0x10a')]=!0x0),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x19e807)){case _0xfb56('0x95'):this['_suggestionState'][_0xfb56('0x31')](_0x19e807,'dataReady');break;case _0xfb56('0x2e'):_0x19e807[_0xfb56('0x66')]?(this[_0xfb56('0x121')](new Set([_0x19e807])),this['_joinWithAdjacentSuggestions'](new Set([_0x19e807])),this[_0xfb56('0xd6')]['set'](_0x19e807,_0xfb56('0x5e')),this['fire']('suggestionLoaded',_0x19e807)):this['_suggestionState']['set'](_0x19e807,_0xfb56('0xe'));}return _0x19e807;}[_0xfb56('0xbc')](_0x28b16e){this[_0xfb56('0x42')](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x3e1df3 of _0x28b16e[_0xfb56('0x9f')]())_0x3e1df3[_0xfb56('0x23')]();});});}[_0xfb56('0xeb')](_0x5bc7ad){this['forceDefaultExecution'](()=>{this['editor'][_0xfb56('0x144')][_0xfb56('0xc7')](()=>{for(const _0x1d2511 of _0x5bc7ad['getAllAdjacentSuggestions']())_0x1d2511[_0xfb56('0x2d')]();});});}[_0xfb56('0xbe')](_0x168fdb,_0x5af0ab){const _0x4b89e0=this[_0xfb56('0x11a')][_0xfb56('0x172')][_0xfb56('0x166')](_0x168fdb);if(!_0x4b89e0)throw new _0x25467a(_0xfb56('0x25'),this,{'commandName':_0x168fdb});if(this[_0xfb56('0xf5')]['has'](_0x4b89e0))throw new _0x25467a('track-changes-enable-command-twice',this,{'commandName':_0x168fdb});this[_0xfb56('0xf5')][_0xfb56('0x131')](_0x4b89e0),_0x5af0ab&&_0x4b89e0['on']('execute',(_0x4ca9e6,_0xf229d8)=>{this['trackChangesCommand'][_0xfb56('0x114')]&&(this[_0xfb56('0x119')]||(_0xf229d8[_0xfb56('0xa8')]>0x0&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1]&&_0xf229d8[_0xf229d8[_0xfb56('0xa8')]-0x1][_0xfb56('0x42')]?_0xf229d8[_0xfb56('0x81')]():(_0x4ca9e6[_0xfb56('0x145')]=_0x5af0ab((..._0x24b0e6)=>_0x4b89e0[_0xfb56('0xfc')](..._0x24b0e6,{'forceDefaultExecution':!0x0}),..._0xf229d8),_0x4ca9e6[_0xfb56('0x174')]())));},{'priority':'high'});}[_0xfb56('0x42')](_0x2fef2e){let _0x2552f0,_0x459feb;const _0x1ce852=this[_0xfb56('0x119')];this[_0xfb56('0x119')]=!0x0;try{_0x2552f0=_0x2fef2e();}catch(_0x19dc8e){_0x459feb=_0x19dc8e;}return _0x1ce852||(this[_0xfb56('0x119')]=!0x1),_0x459feb&&_0x25467a['rethrowUnexpectedError'](_0x459feb,this),_0x2552f0;}[_0xfb56('0x1f')](_0x55d54b,_0xce729d=null,_0x59598b={}){if(_0x55d54b[_0xfb56('0x49')])return null;const _0x4a8aa2=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'];for(const {suggestion:_0x87aeee,meta:_0x5b079d}of this['_findSuggestions'](_0x55d54b,_0xfb56('0xdd')))if(_0x5b079d[_0xfb56('0x10')]){if(!_0x5b079d[_0xfb56('0xbd')]){if(_0x5b079d[_0xfb56('0x87')]){if(!this['_mergeNestedSuggestions']||!Ft(_0x87aeee,_0x59598b))continue;return _0x87aeee;}if(Ft(_0x87aeee,_0x59598b))return _0x87aeee;this[_0xfb56('0x3e')](_0x87aeee,_0x55d54b[_0xfb56('0x16c')],_0x55d54b['end']);break;}if(_0xce729d==_0x87aeee[_0xfb56('0x33')]&&Ft(_0x87aeee,_0x59598b)){const _0x17ba84=_0x87aeee[_0xfb56('0x110')]();return _0x17ba84[_0xfb56('0x16c')]['isEqual'](_0x55d54b['end'])?this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x55d54b[_0xfb56('0x16c')],_0x17ba84[_0xfb56('0x2a')])):this[_0xfb56('0x88')](_0x87aeee,this[_0xfb56('0x14f')]['createRange'](_0x17ba84[_0xfb56('0x16c')],_0x55d54b['end'])),_0x87aeee;}}const _0x10a690=_0x1afc95(),_0x5c5117=_0x4a8aa2['id'],_0x37533a=_0xce729d?_0xfb56('0x126')+_0xce729d:_0xfb56('0xdd'),_0x2f1786=this[_0xfb56('0x13d')]({'id':_0x10a690,'type':_0x37533a,'createdAt':new Date(),'authorId':_0x5c5117,'attributes':_0x59598b});return this[_0xfb56('0x13a')](_0x37533a,_0x10a690,_0x5c5117,_0x55d54b),_0x2f1786;}[_0xfb56('0x14')](_0x2626f5,_0x869f1a=_0xfb56('0x128'),_0x31c013={}){const _0x511e26=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x524713=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0xdd'),_0x869f1a,_0xfb56('0x64'));for(const _0x54e9c2 of this[_0xfb56('0x150')]())if(_0x54e9c2[_0xfb56('0x16')]['id']==_0x511e26['id']&&_0xfb56('0xdd')==_0x54e9c2[_0xfb56('0xf1')]&&_0x54e9c2['subType']==_0x869f1a&&Ft(_0x54e9c2,_0x31c013)&&(_0x524713(_0x54e9c2['getRanges'](),_0x2626f5)||_0x524713(_0x2626f5,_0x54e9c2['getRanges']()))){for(const _0x503452 of _0x2626f5)_0x54e9c2[_0xfb56('0x13e')](_0x503452);return _0x54e9c2;}for(const {suggestion:_0x1c906f,meta:_0x252857}of this[_0xfb56('0x37')](_0x2626f5,_0xfb56('0xdd'))){if(!_0x252857[_0xfb56('0x10')])continue;if(!this['_mergeNestedSuggestions']&&_0x252857[_0xfb56('0x87')])continue;if(!Ft(_0x1c906f,_0x31c013))continue;let _0xaa8a60=!0x0;for(const _0x484442 of _0x1c906f['getRanges']())for(const _0x42ebbc of _0x2626f5)if(!_0x484442['containsRange'](_0x42ebbc)){_0xaa8a60=!0x1;break;}if(_0xaa8a60)return _0x1c906f;}const _0x215d57=_0x1afc95(),_0x15c45c=_0x511e26['id'],_0xf42232='insertion:'+_0x869f1a,_0x359550=this[_0xfb56('0x13d')]({'id':_0x215d57,'type':_0xf42232,'createdAt':new Date(),'authorId':_0x15c45c,'attributes':_0x31c013});for(const _0x5800de of _0x2626f5)this['_addSuggestionMarker'](_0xf42232,_0x215d57,_0x15c45c,_0x5800de,_0x4d3acb[_0xfb56('0x5b')]());return _0x359550;}[_0xfb56('0x13c')](_0x5efd7a,_0x1ce4e6,_0x3983c1=null,_0x1d4d14={}){if(_0x3983c1=_0x3983c1||Rt(_0x1ce4e6),_0x5efd7a[_0xfb56('0x49')])return null;if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x2a08dd=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x2a08dd([_0x5efd7a],_0x1ce4e6,_0x1d4d14)),null;}const _0x44e285=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x39fd0a=[];if(_0xfb56('0xae')!==this['_trackFormatChanges'])for(const {suggestion:_0xa9be3d,meta:_0x3772a6}of this['_findSuggestions'](_0x5efd7a,'insertion'))_0x3772a6[_0xfb56('0x10')]&&!_0x3772a6[_0xfb56('0xdc')]&&_0x39fd0a[_0xfb56('0x139')](..._0xa9be3d['getRanges']());const _0x5f1cfe=function(_0x52d1c2,_0x1e5a56){const _0x1709e3=[];for(const _0x288ba9 of _0x1e5a56){const _0x5690d5=_0x52d1c2[_0xfb56('0xe9')](_0x288ba9);_0x5690d5&&_0x1709e3['push'](_0x5690d5);}return _0x1709e3;}(_0x5efd7a,_0x39fd0a),_0x4ecfb0=function(_0x48a7ef,_0x4c49e8){const _0x2f1462=[_0x48a7ef];for(const _0x2b4246 of _0x4c49e8){let _0x50bc9b=0x0;for(;_0x50bc9b<_0x2f1462[_0xfb56('0xa8')];){const _0x4fafa7=_0x2f1462[_0x50bc9b][_0xfb56('0x14e')](_0x2b4246);_0x2f1462['splice'](_0x50bc9b,0x1,..._0x4fafa7),_0x50bc9b+=_0x4fafa7[_0xfb56('0xa8')];}}return _0x2f1462;}(_0x5efd7a,_0x39fd0a);_0x5f1cfe[_0xfb56('0xa8')]&&this[_0xfb56('0x14f')][_0xfb56('0xc7')](()=>{for(const _0x325729 of _0x5f1cfe){const _0x504f24=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x3d'),_0x3983c1,'accept');this[_0xfb56('0x42')](()=>_0x504f24([_0x325729],_0x1ce4e6,_0x1d4d14));}});for(const _0x3603e6 of _0x4ecfb0){let _0x42b544=null,_0x44afdf=_0x3603e6[_0xfb56('0x16c')],_0x407927=_0x3603e6[_0xfb56('0x2a')];for(const {suggestion:_0x24d3e9,meta:_0x46a5c3}of this['_findSuggestions'](_0x3603e6,_0xfb56('0x3d'))){if(!_0x46a5c3[_0xfb56('0x10')])continue;if(_0x24d3e9[_0xfb56('0x33')]!=_0x3983c1)continue;if(!Ft(_0x24d3e9,_0x1d4d14))continue;const _0x15c70e=_0x24d3e9['getFirstRange']();if(_0x15c70e[_0xfb56('0x140')](_0x3603e6,!0x0))return null;_0x44afdf=_0x44afdf[_0xfb56('0xcf')](_0x15c70e[_0xfb56('0x16c')])?_0x44afdf:_0x15c70e['start'],_0x407927=_0x407927[_0xfb56('0x130')](_0x15c70e[_0xfb56('0x2a')])?_0x407927:_0x15c70e['end'],_0x42b544?_0x15c70e['start'][_0xfb56('0xcf')](_0x42b544[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x42b544['removeMarkers'](),_0x42b544=_0x24d3e9):_0x24d3e9['removeMarkers']():_0x42b544=_0x24d3e9;}const _0x188c72=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44afdf,_0x407927);if(_0x42b544)this[_0xfb56('0x88')](_0x42b544,_0x188c72);else{const _0x510b88=_0x1afc95(),_0x4dd6a2=_0x44e285['id'];this[_0xfb56('0x13d')]({'id':_0x510b88,'type':_0xfb56('0xd2')+_0x3983c1,'data':_0x1ce4e6,'createdAt':new Date(),'authorId':_0x4dd6a2,'attributes':_0x1d4d14}),this[_0xfb56('0x13a')](_0xfb56('0xd2')+_0x3983c1,_0x510b88,_0x4dd6a2,_0x188c72);}}return null;}[_0xfb56('0x6c')](_0x310e21,_0xdc9a14,_0x6c0e00=[],_0x3f47f0=null,_0x20ae83={}){_0xdc9a14['formatGroupId']||(_0xdc9a14[_0xfb56('0xa4')]=_0xdc9a14[_0xfb56('0xf0')]),_0xdc9a14[_0xfb56('0xb0')]=_0x310e21['is']('range'),_0x3f47f0=_0x3f47f0||Rt(_0xdc9a14);const _0x582916=_0x6c0e00[_0xfb56('0x157')](_0x52715c=>Ut(_0x52715c,this[_0xfb56('0x14f')])),_0x1db312=_0x310e21['is'](_0xfb56('0x1a'))?_0x310e21:Ut(_0x310e21,this[_0xfb56('0x14f')]);if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x231743=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x231743([_0x1db312],_0xdc9a14,_0x20ae83)),null;}_0x582916[_0xfb56('0x139')](_0x1db312);let _0x3c0b43=!0x0;for(const _0x12b529 of _0x582916)if(!this[_0xfb56('0x92')](_0x12b529)){_0x3c0b43=!0x1;break;}if(_0x3c0b43&&'always'!==this[_0xfb56('0xb6')]){const _0x5de2de=this['_suggestionFactory'][_0xfb56('0x94')](_0xfb56('0x147'),_0x3f47f0,'accept');return this[_0xfb56('0x42')](()=>_0x5de2de([_0x1db312],_0xdc9a14,_0x20ae83)),null;}let _0x2a3afa=null,_0x40eac3=_0x1db312[_0xfb56('0x16c')],_0x4f9452=_0x1db312['end'];for(const {suggestion:_0x59dbe2,meta:_0x15d506}of this[_0xfb56('0x37')](_0x1db312,_0xfb56('0x147'))){if(!_0x15d506[_0xfb56('0x10')])continue;if(_0x15d506['isNextTo']||_0x15d506['containsRangeInObject']||_0x15d506[_0xfb56('0xdc')])continue;if(_0x59dbe2[_0xfb56('0x15')]['formatGroupId']!=_0xdc9a14[_0xfb56('0xa4')])continue;if(!Ft(_0x59dbe2,_0x20ae83))continue;const _0x57e332=_0x59dbe2[_0xfb56('0x110')]();if(_0x59dbe2['subType']==_0x3f47f0){if(_0x57e332[_0xfb56('0x140')](_0x1db312,!0x0))return null;_0x40eac3=_0x40eac3[_0xfb56('0xcf')](_0x57e332[_0xfb56('0x16c')])?_0x40eac3:_0x57e332[_0xfb56('0x16c')],_0x4f9452=_0x4f9452[_0xfb56('0x130')](_0x57e332['end'])?_0x4f9452:_0x57e332[_0xfb56('0x2a')],_0x2a3afa?_0x57e332[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x2a3afa[_0xfb56('0x110')]()[_0xfb56('0x16c')])?(_0x2a3afa[_0xfb56('0x151')](),_0x2a3afa=_0x59dbe2):_0x59dbe2[_0xfb56('0x151')]():_0x2a3afa=_0x59dbe2;}else{const _0x34178d=_0x1db312[_0xfb56('0xe9')](_0x57e332);this[_0xfb56('0xd1')](_0x59dbe2,_0x34178d);}}const _0x336c2c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me'],_0x372ff8=_0x1afc95(),_0x493b96=_0x336c2c['id'];if(_0x2a3afa)return this['_setSuggestionRange'](_0x2a3afa,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x2a3afa;{const _0x12c90d=this['_setSuggestionData']({'id':_0x372ff8,'type':_0xfb56('0xca')+_0x3f47f0,'data':_0xdc9a14,'createdAt':new Date(),'authorId':_0x493b96,'attributes':_0x20ae83});return this['_addSuggestionMarker'](_0xfb56('0xca')+_0x3f47f0,_0x372ff8,_0x493b96,this['_model'][_0xfb56('0x10b')](_0x40eac3,_0x4f9452)),_0x12c90d;}}[_0xfb56('0xfe')](_0x3c2c39,_0x19f914,_0x10ce5f=[],_0x3df546=null,_0x1946aa={}){_0x19f914[_0xfb56('0xa4')]||(_0x19f914[_0xfb56('0xa4')]=_0x19f914[_0xfb56('0xf0')]);const _0x4b8690=_0x3c2c39[0x0];_0x19f914[_0xfb56('0xb0')]=_0x4b8690['is'](_0xfb56('0x1a')),_0x3df546=_0x3df546||Rt(_0x19f914);const _0x192941=_0x10ce5f['map'](_0x30d9ca=>Ut(_0x30d9ca,this[_0xfb56('0x14f')])),_0x143771=_0x4b8690['is'](_0xfb56('0x1a'))?_0x3c2c39:_0x3c2c39[_0xfb56('0x157')](_0x28a22d=>Ut(_0x28a22d,this[_0xfb56('0x14f')]));if(_0xfb56('0x75')===this[_0xfb56('0xb6')]){const _0x3cb15c=this[_0xfb56('0x98')]['getSuggestionCallback']('formatBlock',_0x3df546,'accept');return this[_0xfb56('0x42')](()=>_0x3cb15c(_0x143771,_0x19f914,_0x1946aa)),null;}_0x192941[_0xfb56('0x139')](..._0x143771);let _0x4a6b9b=!0x0;for(const _0x35209b of _0x192941)if(!this['_rangeIsInLocalUserInsertion'](_0x35209b)){_0x4a6b9b=!0x1;break;}if(_0x4a6b9b&&_0xfb56('0xae')!==this[_0xfb56('0xb6')]){const _0x297ca6=this[_0xfb56('0x98')][_0xfb56('0x94')]('formatBlock',_0x3df546,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x297ca6(_0x143771,_0x19f914,_0x1946aa)),null;}const _0x19eb28=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];for(const _0x4502a4 of this['getSuggestions']()){if(_0x4502a4[_0xfb56('0x16')]['id']!=_0x19eb28['id'])continue;if(_0xfb56('0x147')!=_0x4502a4[_0xfb56('0xf1')]||_0x4502a4[_0xfb56('0x15')][_0xfb56('0xa4')]!=_0x19f914[_0xfb56('0xa4')])continue;if(!Ft(_0x4502a4,_0x1946aa))continue;const _0x4b35a7=_0x4502a4[_0xfb56('0x33')]==_0x3df546;for(let _0x345528=0x0;_0x345528<_0x143771[_0xfb56('0xa8')];_0x345528++){const _0x12cc54=_0x143771[_0x345528];for(const _0x6aedbd of _0x4502a4[_0xfb56('0x12')]()){const _0x3881f6=_0x6aedbd[_0xfb56('0xda')]();if(_0x12cc54['isEqual'](_0x3881f6)){_0x4b35a7?(_0x143771[_0xfb56('0x9a')](_0x345528,0x1),_0x345528--):_0x4502a4[_0xfb56('0xbb')](_0x6aedbd['name']);break;}}}}if(0x0==_0x143771['length'])return null;const _0xaabde=this[_0xfb56('0x98')]['getSuggestionCallback'](_0xfb56('0x147'),_0x3df546,_0xfb56('0x64'));for(const _0x5a3ad0 of this[_0xfb56('0x150')]())if(_0x5a3ad0['author']['id']==_0x19eb28['id']&&_0xfb56('0x147')==_0x5a3ad0[_0xfb56('0xf1')]&&_0x5a3ad0['data'][_0xfb56('0xa4')]==_0x19f914[_0xfb56('0xa4')]&&_0x5a3ad0['subType']==_0x3df546&&Ft(_0x5a3ad0,_0x1946aa)&&(_0xaabde(_0x5a3ad0['getRanges'](),_0x143771)||_0xaabde(_0x143771,_0x5a3ad0[_0xfb56('0x7f')]()))){for(const _0x3de535 of _0x143771)_0x5a3ad0[_0xfb56('0x13e')](_0x3de535);return _0x5a3ad0;}const _0x566c57=_0x1afc95(),_0x2063c1=_0x19eb28['id'],_0x3b6265='formatBlock:'+_0x3df546,_0x5d6ec0=this[_0xfb56('0x13d')]({'id':_0x566c57,'type':_0x3b6265,'data':_0x19f914,'createdAt':new Date(),'authorId':_0x2063c1,'attributes':_0x1946aa});for(const _0x91a4c4 of _0x143771)this[_0xfb56('0x13a')](_0x3b6265,_0x566c57,_0x2063c1,_0x91a4c4,_0x4d3acb['getMultiRangeId']());return _0x5d6ec0;}[_0xfb56('0x122')](_0x31bb66,_0x330727=null,_0x11d7a0={}){if(_0x31bb66['isCollapsed'])return null;const _0x3a5944=this[_0xfb56('0x11a')][_0xfb56('0x46')]['get'](_0xfb56('0x149'))['me'],_0x27a1b6=new _0x49faa4(_0x31bb66[_0xfb56('0x16c')],_0x31bb66['end']);for(const {suggestion:_0x2baccc,meta:_0xa7d4e3}of this['_findSuggestions'](_0x27a1b6,_0xfb56('0xdd')))if(_0xa7d4e3[_0xfb56('0x10')]&&!_0xa7d4e3['isNextTo']){if(_0x2baccc[_0xfb56('0x104')]){const _0x4d78a9=_0x2baccc['getRanges']()[_0xfb56('0x7d')](_0x561afe=>'$graveyard'!=_0x561afe[_0xfb56('0x4')][_0xfb56('0xab')]);_0x4d78a9[_0xfb56('0x12a')](_0x20ee14=>_0x27a1b6['containsRange'](_0x20ee14,!0x0))&&_0x2baccc[_0xfb56('0x2d')]();if(_0x4d78a9[_0xfb56('0xc0')](_0x4b876e=>_0x4b876e[_0xfb56('0x140')](_0x27a1b6,!0x0))){const _0x1d072c=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x330727,_0xfb56('0x23'));return this['forceDefaultExecution'](()=>_0x1d072c([_0x27a1b6],null,_0x11d7a0)),null;}}else{const _0x4a32dc=_0x27a1b6[_0xfb56('0xe9')](_0x2baccc[_0xfb56('0x110')]());null!==_0x4a32dc&&_0x2baccc[_0xfb56('0x71')]([_0x4a32dc],null,_0x11d7a0);}}if(_0x27a1b6[_0xfb56('0x3f')](),_0x27a1b6[_0xfb56('0x49')]||_0xfb56('0x134')==_0x27a1b6[_0xfb56('0x4')]['rootName'])return null;let _0x4ebb96=null,_0x45702c=_0x27a1b6[_0xfb56('0x16c')],_0x18e451=_0x27a1b6[_0xfb56('0x2a')];const _0x59d2da=this[_0xfb56('0x37')](_0x27a1b6,_0xfb56('0x171'));for(const {suggestion:_0x3988e7,meta:_0x17ca8e}of _0x59d2da){const _0x1356e3=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451);if(_0x17ca8e[_0xfb56('0x10')]&&(this['_mergeNestedSuggestions']||!_0x17ca8e[_0xfb56('0x87')]&&!_0x17ca8e['isInsideObject'])){if(_0x3988e7[_0xfb56('0x104')]){if(!Ft(_0x3988e7,_0x11d7a0))continue;let _0x583851=!0x0;for(const _0x431fbd of _0x3988e7['getRanges']()){if(_0x431fbd[_0xfb56('0x140')](_0x1356e3,!0x0))return _0x3988e7;_0x1356e3[_0xfb56('0x140')](_0x431fbd)||(_0x583851=!0x1);}_0x583851&&_0x3988e7[_0xfb56('0x2d')]();}else{const _0x3dce74=_0x3988e7[_0xfb56('0x110')]();if(_0x3dce74['containsRange'](_0x1356e3,!0x0))return _0x3988e7;if(!Ft(_0x3988e7,_0x11d7a0)){_0x1356e3[_0xfb56('0x140')](_0x3dce74)?_0x3988e7[_0xfb56('0x151')]():_0x3dce74[_0xfb56('0x7')](_0x45702c)?_0x45702c=_0x3dce74[_0xfb56('0x2a')]:_0x3dce74['containsPosition'](_0x18e451)&&(_0x18e451=_0x3dce74['start']);continue;}_0x45702c=_0x45702c['isBefore'](_0x3dce74[_0xfb56('0x16c')])?_0x45702c:_0x3dce74[_0xfb56('0x16c')],_0x18e451=_0x18e451[_0xfb56('0x130')](_0x3dce74[_0xfb56('0x2a')])?_0x18e451:_0x3dce74[_0xfb56('0x2a')],_0x11d7a0=Object['assign']({},_0x3988e7[_0xfb56('0xa9')]),_0x4ebb96?_0x3dce74[_0xfb56('0x16c')][_0xfb56('0xcf')](_0x4ebb96[_0xfb56('0x110')]()['start'])?(_0x4ebb96[_0xfb56('0x151')](),_0x4ebb96=_0x3988e7):_0x3988e7[_0xfb56('0x151')]():_0x4ebb96=_0x3988e7;}}}if(_0x4ebb96)return this[_0xfb56('0x88')](_0x4ebb96,this['_model'][_0xfb56('0x10b')](_0x45702c,_0x18e451)),_0x4ebb96;{const _0x46d4e0=_0x1afc95(),_0x114fbc=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x45702c,_0x18e451),_0xab31b3=_0x3a5944['id'],_0x4f78f8=_0x330727?'deletion:'+_0x330727:_0xfb56('0x171'),_0x4f1356=this[_0xfb56('0x13d')]({'id':_0x46d4e0,'type':_0x4f78f8,'createdAt':new Date(),'authorId':_0xab31b3,'attributes':_0x11d7a0});return this['_addSuggestionMarker'](_0x4f78f8,_0x46d4e0,_0xab31b3,_0x114fbc),_0x4f1356;}}[_0xfb56('0x6b')](_0x456d80,_0x402e65='multi',_0x5dffca={}){const _0x5935db=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['me'],_0x333eca=_0x456d80[_0xfb56('0x157')](_0x397634=>new _0x49faa4(_0x397634['start'],_0x397634[_0xfb56('0x2a')])),_0x4a93f1=new Set();for(const {suggestion:_0x12bbad,meta:_0x2e0acb}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0xdd')))_0x2e0acb[_0xfb56('0x10')]&&!_0x2e0acb[_0xfb56('0xbd')]&&_0x4a93f1[_0xfb56('0x131')](_0x12bbad);for(const _0x26633a of _0x4a93f1)if(_0x26633a[_0xfb56('0x104')]){const _0x2c93e4=_0x26633a['getRanges']();(!_0x26633a[_0xfb56('0xa9')]||!_0x26633a[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x2c93e4['every'](_0x39de69=>_0x333eca[_0xfb56('0xc0')](_0x43e485=>_0x43e485['containsRange'](_0x39de69,!0x0)))&&_0x26633a[_0xfb56('0x2d')]());if(_0x333eca[_0xfb56('0x12a')](_0x195ce9=>_0x2c93e4[_0xfb56('0xc0')](_0x5c50f2=>_0x5c50f2[_0xfb56('0x140')](_0x195ce9,!0x0)))){const _0x40ce00=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x40ce00(_0x456d80,null,_0x5dffca)),null;}}else{const _0x4b8858=_0x26633a[_0xfb56('0x110')]();_0x333eca[_0xfb56('0xc0')](_0x40d762=>_0x40d762[_0xfb56('0x140')](_0x4b8858,!0x0))&&_0x26633a['discard']();if(_0x333eca['every'](_0x3d57cd=>_0x4b8858['containsRange'](_0x3d57cd,!0x0))){const _0x1a9ba4=this[_0xfb56('0x98')][_0xfb56('0x94')](_0xfb56('0x171'),_0x402e65,_0xfb56('0x23'));return this[_0xfb56('0x42')](()=>_0x1a9ba4(_0x333eca,null,_0x5dffca)),null;}}const _0x3461b6=this[_0xfb56('0x98')]['getSuggestionCallback']('deletion',_0x402e65,'join');let _0x27fc8a=null;for(const _0x3b963e of this['getSuggestions']())if(_0x3b963e[_0xfb56('0x16')]['id']==_0x5935db['id']&&_0x3b963e[_0xfb56('0x66')]&&_0xfb56('0x171')==_0x3b963e[_0xfb56('0xf1')]&&_0x3b963e[_0xfb56('0x33')]==_0x402e65&&Ft(_0x3b963e,_0x5dffca)&&(_0x3461b6(_0x3b963e['getRanges'](),_0x333eca)||_0x3461b6(_0x333eca,_0x3b963e[_0xfb56('0x7f')]()))){if(_0x27fc8a){if(_0x3b963e[_0xfb56('0xc5')]&&_0x3b963e[_0xfb56('0xc5')][_0xfb56('0xa8')])continue;for(const _0x50db8d of _0x3b963e[_0xfb56('0x7f')]())_0x27fc8a['isIntersectingWithRange'](_0x50db8d)||_0x27fc8a[_0xfb56('0x13e')](_0x50db8d);_0x3b963e[_0xfb56('0x151')]();}else{_0x27fc8a=_0x3b963e;for(const _0x35fff8 of _0x333eca)_0x3b963e['isIntersectingWithRange'](_0x35fff8)||_0x3b963e[_0xfb56('0x13e')](_0x35fff8);}}if(_0x27fc8a)return _0x27fc8a;_0x4a93f1[_0xfb56('0xcd')]();for(const {suggestion:_0x55560d,meta:_0x52bf5b}of this[_0xfb56('0x37')](_0x333eca,_0xfb56('0x171')))_0x52bf5b[_0xfb56('0x10')]&&(this[_0xfb56('0x14d')]||!_0x52bf5b[_0xfb56('0x87')]&&!_0x52bf5b[_0xfb56('0xdc')])&&Ft(_0x55560d,_0x5dffca)&&_0x4a93f1[_0xfb56('0x131')](_0x55560d);for(const _0x51e2ef of _0x4a93f1){const _0x451e5b=_0x51e2ef[_0xfb56('0x7f')]();if(!_0x5dffca||!_0x5dffca[_0xfb56('0x8e')]){if(_0x333eca['every'](_0x236dd9=>_0x451e5b['some'](_0x54afb6=>_0x54afb6[_0xfb56('0x140')](_0x236dd9,!0x0))))return _0x51e2ef;}(!_0x51e2ef['attributes']||!_0x51e2ef[_0xfb56('0xa9')][_0xfb56('0x8e')])&&(_0x451e5b['every'](_0x590056=>_0x333eca[_0xfb56('0xc0')](_0x88eb12=>_0x88eb12[_0xfb56('0x140')](_0x590056,!0x0)))&&_0x51e2ef[_0xfb56('0x2d')]());}const _0x438553=_0x1afc95(),_0x56e921=_0x5935db['id'],_0x5479c3=_0xfb56('0x9c')+_0x402e65,_0x3ce067=this[_0xfb56('0x13d')]({'id':_0x438553,'type':_0x5479c3,'createdAt':new Date(),'authorId':_0x56e921,'attributes':_0x5dffca});for(const _0x559750 of _0x333eca)_0x559750['detach'](),_0x559750[_0xfb56('0x49')]||_0xfb56('0x134')==_0x559750[_0xfb56('0x4')][_0xfb56('0xab')]||this[_0xfb56('0x13a')](_0x5479c3,_0x438553,_0x56e921,_0x559750,_0x4d3acb[_0xfb56('0x5b')]());return _0x3ce067;}[_0xfb56('0x61')](_0xcecd72,_0x1daeb1,_0x20ed6e,_0x4c2a80,_0x50765a){if(_0xcecd72[_0xfb56('0x49')])return[];if(_0xfb56('0x75')===this[_0xfb56('0xb6')])return[];const _0xe403e6=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149'))['me']['id'],_0x1d05a0=Array[_0xfb56('0x55')](this[_0xfb56('0xe1')][_0xfb56('0x48')]())[_0xfb56('0x7d')](_0x23cdc2=>_0xfb56('0x3a')==_0x23cdc2[_0xfb56('0xf1')]&&_0x23cdc2[_0xfb56('0x15')][_0xfb56('0xed')]==_0x1daeb1&&_0x23cdc2['isIntersectingWithRange'](_0xcecd72));if(_0xfb56('0x91')===this[_0xfb56('0xb6')]){const _0x310056=this[_0xfb56('0x37')](_0xcecd72,_0xfb56('0xdd'))['filter'](({meta:_0x4eabdb})=>_0x4eabdb[_0xfb56('0x10')]&&!_0x4eabdb[_0xfb56('0xdc')]&&!_0x4eabdb[_0xfb56('0xbd')])[_0xfb56('0x157')](({suggestion:_0x18f07e})=>_0x18f07e);_0x1d05a0['unshift'](..._0x310056);}const _0x15a727=new Map([[_0xcecd72,_0x20ed6e]]);for(const _0x52fedb of _0x1d05a0){const _0x17f35b='attribute'==_0x52fedb['type']?_0x52fedb[_0xfb56('0x15')][_0xfb56('0x162')]:void 0x0,_0x16e317=_0x52fedb[_0xfb56('0x110')](),_0x13001e=Array[_0xfb56('0x55')](_0x15a727[_0xfb56('0x26')]())[_0xfb56('0x45')](_0x7c80f6=>_0x7c80f6['isIntersecting'](_0x16e317));_0x13001e&&(_0x15a727[_0xfb56('0x13b')](_0x13001e),_0x13001e[_0xfb56('0x14e')](_0x16e317)[_0xfb56('0x44')](_0x21839b=>{_0x15a727[_0xfb56('0x31')](_0x21839b,_0x20ed6e);}),_0xfb56('0xdd')!=_0x52fedb[_0xfb56('0xf1')]&&_0x17f35b!=_0x4c2a80&&_0x15a727['set'](_0x13001e[_0xfb56('0xe9')](_0x16e317),_0x17f35b));}const _0x16df71=[];for(const [_0x64f79e,_0xa6767e]of _0x15a727){const _0x3f1dd2=_0x1afc95(),_0x224fbc={'key':_0x1daeb1,'oldValue':_0xa6767e,'newValue':_0x4c2a80};_0x1daeb1[_0xfb56('0xa8')]>0x25&&console[_0xfb56('0x5f')](_0xfb56('0x97'),{'key':_0x1daeb1});const _0x267738=(_0xfb56('0x7e')+(_0x1daeb1+'|'+Rt({'newValue':_0x4c2a80})))[_0xfb56('0xe3')](0x0,0x3c),_0x39595c=this['_setSuggestionData']({'id':_0x3f1dd2,'type':_0x267738,'data':_0x224fbc,'createdAt':new Date(),'authorId':_0xe403e6,'attributes':_0x50765a});_0x16df71[_0xfb56('0x139')](_0x39595c),this[_0xfb56('0x13a')](_0x267738,_0x3f1dd2,_0xe403e6,_0x64f79e);}return _0x16df71;}[_0xfb56('0x15e')](_0x1a650a){this['_blockAttributeKeys'][_0xfb56('0x131')](_0x1a650a);}[_0xfb56('0x168')](_0x3298e8){this[_0xfb56('0xc6')][_0xfb56('0x131')](_0x3298e8);}[_0xfb56('0xb7')](_0x20ac30,_0x4b2c26=[],_0x4bdbdf=[]){this[_0xfb56('0xbe')](_0x20ac30,(_0x261280,..._0x151755)=>{this[_0xfb56('0x12c')](()=>{_0x261280(..._0x151755);});});for(const _0x317a64 of _0x4b2c26)this[_0xfb56('0x168')](_0x317a64);for(const _0x58e8af of _0x4bdbdf)this[_0xfb56('0x15e')](_0x58e8af);}['_setSuggestionRange'](_0xf3cdb3,_0x4c8d99){const _0x17a26d=_0xf3cdb3[_0xfb56('0x4d')]();this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0x819e14=>{_0x819e14['updateMarker'](_0x17a26d,{'range':_0x4c8d99});});}[_0xfb56('0x9b')](_0x534d15){const _0x3073ac=_0x534d15['id'],_0x280b7b=this['editor'][_0xfb56('0x127')][_0xfb56('0x166')]('collaboration.channelId');this['_commentsRepository'][_0xfb56('0xac')](_0x3073ac)||this[_0xfb56('0x4b')][_0xfb56('0x133')]({'channelId':_0x280b7b,'threadId':_0x3073ac,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3ec22b=this[_0xfb56('0x4b')][_0xfb56('0x21')](_0x3073ac);_0x3ec22b['unbind'](_0xfb56('0x113')),_0x3ec22b[_0xfb56('0x113')]=!0x1,_0x534d15[_0xfb56('0xc5')]=_0x3ec22b;}[_0xfb56('0x29')](_0x2cb355,_0x255b25,_0x4e32e6,_0x1d87c4){if(_0x2cb355[_0xfb56('0xf1')]!=_0x255b25||_0x2cb355[_0xfb56('0x33')]!=_0x4e32e6||_0x2cb355['creator']['id']!=_0x1d87c4)throw this[_0xfb56('0x11a')][_0xfb56('0xb1')](_0xfb56('0x132')),new _0x25467a(_0xfb56('0x132'),this);}[_0xfb56('0xd1')](_0x27c2ab,_0xadcc09){const _0x2b7f02=_0x27c2ab[_0xfb56('0x110')]();if(_0xadcc09[_0xfb56('0x41')](_0x2b7f02))_0x27c2ab[_0xfb56('0x151')]();else{if(_0x2b7f02['containsRange'](_0xadcc09)){const _0x3c373d=this['_model']['createPositionAt'](_0xadcc09[_0xfb56('0x16c')][_0xfb56('0x89')],'end');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x2b7f02['start'],_0x3c373d));const _0x455ebc=_0x1afc95(),_0x21a861=_0x27c2ab[_0xfb56('0x17')]['id'],_0x543c8b=_0x27c2ab[_0xfb56('0xf1')]+':'+_0x27c2ab[_0xfb56('0x33')];this[_0xfb56('0x13d')]({'id':_0x455ebc,'type':_0x543c8b,'createdAt':new Date(),'authorId':_0x21a861,'data':_0x27c2ab['data'],'attributes':_0x27c2ab['attributes']});const _0x1dd84a=this[_0xfb56('0x14f')]['createPositionAt'](_0xadcc09[_0xfb56('0x2a')]['parent'],'after'),_0x4fbf4b=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x1dd84a,_0x2b7f02[_0xfb56('0x2a')]);this[_0xfb56('0x13a')](_0x543c8b,_0x455ebc,_0x21a861,_0x4fbf4b);}else{if(_0x2b7f02[_0xfb56('0x7')](_0xadcc09['start'])){const _0x36ab80=this['_model'][_0xfb56('0xad')](_0xadcc09['start'][_0xfb56('0x89')],_0xfb56('0x2a'));this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x2b7f02[_0xfb56('0x16c')],_0x36ab80));}else{const _0x147459=this['_model'][_0xfb56('0xad')](_0xadcc09[_0xfb56('0x2a')]['parent'],'after');this[_0xfb56('0x88')](_0x27c2ab,this[_0xfb56('0x14f')]['createRange'](_0x147459,_0x2b7f02[_0xfb56('0x2a')]));}}}}[_0xfb56('0x92')](_0x56792e){for(const {suggestion:_0x161a00,meta:_0x24b8db}of this[_0xfb56('0x37')](_0x56792e,_0xfb56('0xdd'))){if(!_0x24b8db[_0xfb56('0x10')])continue;const _0x5ca3ab=_0x161a00[_0xfb56('0x7f')]();for(const _0x9f8448 of _0x5ca3ab)if(!_0x56792e['getDifference'](_0x9f8448)[_0xfb56('0xa8')])return!0x0;}return!0x1;}[_0xfb56('0x15d')](_0x42b6f0){const _0x221c11=this['editor'][_0xfb56('0x46')][_0xfb56('0x166')]('Users')['getUser'](_0x42b6f0);if(!_0x221c11)throw new _0x25467a(_0xfb56('0x85'),this);return _0x221c11;}[_0xfb56('0xb8')](_0x3be5b9){const _0x3f924c=this[_0xfb56('0x11a')][_0xfb56('0x46')][_0xfb56('0x166')](_0xfb56('0x149')),_0xc27e38=_0x49482b(_0xfb56('0x1')+_0x3be5b9),_0x539ec2=_0x3f924c[_0xfb56('0x0')](_0xc27e38);return _0x539ec2||_0x3f924c['addUser']({'id':_0xc27e38,'name':_0x3be5b9});}[_0xfb56('0x141')](_0x3aa142,_0x33a634,_0x54227b,_0x489682,_0x3ccb67){const _0x56331e=this['_getAuthorFromId'](_0x489682),_0x3831bd=this[_0xfb56('0x98')]['buildSuggestion'](_0x3aa142,_0x33a634,_0x54227b,_0x56331e,_0x3ccb67,_0x18c6a6=>this[_0xfb56('0xa6')](_0x54227b,{'attributes':_0x18c6a6}));return this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x23'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x2')});},{'priority':'high'}),this[_0xfb56('0x170')](_0x3831bd,_0xfb56('0x2d'),()=>{this[_0xfb56('0xa6')](_0x54227b,{'state':_0xfb56('0x10e')});},{'priority':_0xfb56('0xaa')}),this['_suggestions'][_0xfb56('0x31')](_0x54227b,_0x3831bd),this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x3831bd,_0xfb56('0x95')),_0x3831bd;}[_0xfb56('0x11')](_0x239042){const _0x348e8f=_0x239042[_0xfb56('0x7b')](':');return{'group':_0x348e8f[0x0],'type':_0x348e8f[0x1],'subType':_0x348e8f['length']>=0x5?_0x348e8f[0x2]:null,'id':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x2]:_0x348e8f[0x3],'authorId':_0x348e8f[_0xfb56('0xa8')]<0x5?_0x348e8f[0x3]:_0x348e8f[0x4],'markerCount':0x6==_0x348e8f[_0xfb56('0xa8')]?_0x348e8f[0x5]:null};}['_breakSuggestionMarker'](_0x414779,_0x2e31b4,_0x3ea487){const _0x582ab0=_0x414779['getFirstRange'](),_0x36632d=_0x582ab0[_0xfb56('0x16c')],_0x42bf75=_0x582ab0[_0xfb56('0x2a')];this[_0xfb56('0x88')](_0x414779,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x36632d,_0x2e31b4));const _0x173c4d=_0x1afc95(),_0x170458=_0x414779['creator']['id'],_0x514c93=_0x414779[_0xfb56('0xf1')]+(_0x414779[_0xfb56('0x33')]?':'+_0x414779[_0xfb56('0x33')]:'');this[_0xfb56('0x13d')]({'id':_0x173c4d,'type':_0x514c93,'createdAt':new Date(),'authorId':_0x170458,'originalSuggestionId':_0x414779['id'],'attributes':_0x414779['attributes'],'data':_0x414779[_0xfb56('0x15')]});const _0x2f8341=this[_0xfb56('0x10d')](_0x414779);(_0xfb56('0x147')==_0x414779['type']||_0x2f8341&&this[_0xfb56('0x38')](_0x2f8341))&&(_0x3ea487=this[_0xfb56('0x14f')][_0xfb56('0x129')](_0x3ea487[_0xfb56('0xfd')])),this[_0xfb56('0x13a')](_0x514c93,_0x173c4d,_0x170458,this['_model'][_0xfb56('0x10b')](_0x3ea487,_0x42bf75));}['_findSuggestions'](_0x54593b,_0x5ef79d=null){const _0x1d1314=[],_0x5e6e18=this['editor']['plugins'][_0xfb56('0x166')](_0xfb56('0x149'))['me'];Array[_0xfb56('0x39')](_0x54593b)||(_0x54593b=[_0x54593b]);for(const _0x371e35 of this[_0xfb56('0x150')]()){if(!_0x371e35[_0xfb56('0x66')])continue;if(_0x5ef79d&&_0x371e35[_0xfb56('0xf1')]!=_0x5ef79d)continue;let _0x4da470=!0x1;for(const _0xeb084e of _0x371e35[_0xfb56('0x7f')]()){for(const _0x296490 of _0x54593b){const _0x52ef5a=_0x296490[_0xfb56('0x16c')][_0xfb56('0x41')](_0xeb084e[_0xfb56('0x2a')])||_0x296490[_0xfb56('0x2a')]['isEqual'](_0xeb084e[_0xfb56('0x16c')]);if(_0x52ef5a||_0x296490[_0xfb56('0xe9')](_0xeb084e)){const _0x18fea3=_0x296490[_0xfb56('0x140')](_0xeb084e)&&Tt(this[_0xfb56('0x14f')][_0xfb56('0x3b')],_0xeb084e['start'],_0x296490),_0x290d8a=_0xeb084e['containsRange'](_0x296490)&&Tt(this[_0xfb56('0x14f')]['schema'],_0x296490[_0xfb56('0x16c')],_0xeb084e);_0x1d1314[_0xfb56('0x139')]({'suggestion':_0x371e35,'meta':{'isOwn':_0x5e6e18==_0x371e35[_0xfb56('0x16')],'isNextTo':_0x52ef5a,'isInsideObject':_0x18fea3,'containsRangeInObject':_0x290d8a}}),_0x4da470=!0x0;break;}}if(_0x4da470)break;}}return _0x1d1314;}[_0xfb56('0x13a')](_0x325a33,_0x42254c,_0xfe3fcf,_0xd838b5,_0x4b749e){this[_0xfb56('0x14f')][_0xfb56('0xc7')](_0xb045c3=>{let _0x131521='suggestion:'+_0x325a33+':'+_0x42254c+':'+_0xfe3fcf;_0x4b749e&&(_0x131521=_0x131521+':'+_0x4b749e),_0xb045c3[_0xfb56('0x14c')](_0x131521,{'range':_0xd838b5,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x58d508){const _0x1ea720=_0x58d508[_0xfb56('0x4f')],_0x44b24b=_0x58d508['next'];_0x58d508['previous']=null,_0x58d508[_0xfb56('0x72')]=null,null!=_0x1ea720&&(_0x1ea720[_0xfb56('0x72')]=_0x44b24b),null!=_0x44b24b&&(_0x44b24b[_0xfb56('0x4f')]=_0x1ea720),'ready'==this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x58d508)&&(this[_0xfb56('0xd6')]['set'](_0x58d508,_0xfb56('0xe')),this[_0xfb56('0x12f')](_0xfb56('0x143'),_0x58d508,_0x1ea720,_0x44b24b));}[_0xfb56('0x13d')](_0x408911){const _0x5dfd8b=_0x408911['id'],_0x49cbd8=this['addSuggestionData'](_0x408911);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0x101')]){const _0x287779=this[_0xfb56('0x11a')]['plugins'][_0xfb56('0x166')](_0xfb56('0x13f')),_0x1a3d6c=_0x49cbd8[_0xfb56('0x82')],_0xb3073=_0x49cbd8[_0xfb56('0x33')]?_0x49cbd8[_0xfb56('0xf1')]+':'+_0x49cbd8[_0xfb56('0x33')]:_0x49cbd8[_0xfb56('0xf1')],_0x484cfa=this[_0xfb56('0x11a')]['locale'],_0x13e6c9=_0x287779[_0xfb56('0x131')](_0x199e6d(_0x484cfa,_0xfb56('0x15c'))),_0x292ff8={'id':_0x5dfd8b,'type':_0xb3073,'hasComments':_0x1a3d6c,'data':_0x408911[_0xfb56('0x15')]||null,'originalSuggestionId':_0x408911[_0xfb56('0xee')]||null,'attributes':_0x49cbd8[_0xfb56('0xa9')]};this[_0xfb56('0xf9')]['addSuggestion'](_0x292ff8)[_0xfb56('0x79')](_0x845f88=>{_0x49cbd8[_0xfb56('0x10a')]=!0x0,_0x287779[_0xfb56('0xfa')](_0x13e6c9),_0x845f88&&_0x845f88[_0xfb56('0x50')]&&(this['_suggestions'][_0xfb56('0x166')](_0x5dfd8b)['createdAt']=_0x845f88['createdAt']);})['catch'](_0x716c4b=>{throw _0x1ee825(_0xfb56('0x160')),this[_0xfb56('0x11a')][_0xfb56('0x144')][_0xfb56('0x16e')]({'isUndoable':!0x1},()=>{_0x49cbd8['discard']();}),_0x49cbd8[_0xfb56('0xa1')](),this[_0xfb56('0xe1')][_0xfb56('0x13b')](_0x49cbd8['id']),this[_0xfb56('0xd6')][_0xfb56('0x13b')](_0x49cbd8),_0x716c4b;});}return _0x49cbd8;}['_isBlockAttribute'](_0x566f69){return this[_0xfb56('0x108')][_0xfb56('0x6d')](_0x566f69);}[_0xfb56('0x10d')](_0x2efc6a){return _0xfb56('0x3a')==_0x2efc6a['type']&&_0x2efc6a[_0xfb56('0x33')][_0xfb56('0x7b')]('|')[0x0];}[_0xfb56('0xa6')](_0xa0876d,_0x354c8a){const _0x2ccca1=this[_0xfb56('0x11a')]['plugins']['get']('PendingActions'),_0x208e13=this['getSuggestion'](_0xa0876d);if(this['_adapter']&&this[_0xfb56('0xf9')][_0xfb56('0xa2')]){if(_0x208e13[_0xfb56('0x10a')]){const _0x1b559f=_0x2ccca1['add'](_0x199e6d(this[_0xfb56('0x11a')]['locale'],_0xfb56('0x15c')));this[_0xfb56('0xf9')][_0xfb56('0xa2')](_0xa0876d,_0x354c8a)[_0xfb56('0x79')](()=>{_0x2ccca1[_0xfb56('0xfa')](_0x1b559f);});}else _0x208e13['on']('change:_saved',()=>{this[_0xfb56('0xa6')](_0xa0876d,_0x354c8a);});}}['_getSuggestionData'](_0x48858f){if(!this[_0xfb56('0xf9')]||!this[_0xfb56('0xf9')][_0xfb56('0x111')])throw new _0x25467a(_0xfb56('0x154'),this);return this['_adapter'][_0xfb56('0x111')](_0x48858f);}[_0xfb56('0xe7')](_0x1344df){const {id:_0x222eff,type:_0x266b95,subType:_0x5573b1,authorId:_0x36a07f}=this[_0xfb56('0x11')](_0x1344df),_0x1f1c4c=this[_0xfb56('0xe1')][_0xfb56('0x166')](_0x222eff)||this[_0xfb56('0x141')](_0x266b95,_0x5573b1,_0x222eff,_0x36a07f,{});switch(this[_0xfb56('0x29')](_0x1f1c4c,_0x266b95,_0x5573b1,_0x36a07f),this[_0xfb56('0xd6')][_0xfb56('0x166')](_0x1f1c4c)){case _0xfb56('0x95'):this[_0xfb56('0xfb')](_0x222eff)[_0xfb56('0x79')](_0x385704=>{let _0x330ba8=Promise[_0xfb56('0xc9')]();_0x385704[_0xfb56('0x82')]&&(_0x330ba8=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0xfb56('0x11a')][_0xfb56('0x127')][_0xfb56('0x166')](_0xfb56('0x9')),'threadId':_0x222eff})),_0x330ba8[_0xfb56('0x79')](()=>{this[_0xfb56('0xc4')](_0x385704)['_saved']=!0x0;});}),this[_0xfb56('0xd6')]['set'](_0x1f1c4c,'markerReady');break;case _0xfb56('0xe'):this['_updateSuggestionData'](_0x222eff,{'state':_0xfb56('0x167')});case _0xfb56('0x40'):this[_0xfb56('0xd6')][_0xfb56('0x31')](_0x1f1c4c,_0xfb56('0x5e')),this['fire'](_0xfb56('0x148'),_0x1f1c4c);break;case _0xfb56('0x5e'):this['fire'](_0xfb56('0xd0'),_0x1f1c4c);}return _0x1f1c4c[_0xfb56('0x53')](_0x1344df),_0x1f1c4c;}[_0xfb56('0x121')](_0x1fbc0f){const _0x24fa2c=Array['from'](_0x1fbc0f),_0x1ea3f7=_0x24fa2c['filter'](_0x53ceac=>_0xfb56('0x3a')==_0x53ceac['type']);this['_refreshAttributeSuggestionsChain'](_0x1ea3f7);const _0x4fd2ad=_0x24fa2c[_0xfb56('0x7d')](_0xeeffe8=>!_0xeeffe8[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0xeeffe8[_0xfb56('0xf1')]),_0x181960=this['getSuggestions']({'skipNotAttached':!0x0})[_0xfb56('0x7d')](_0x1e1b98=>!_0x1e1b98[_0xfb56('0x104')]&&_0xfb56('0x3a')!=_0x1e1b98[_0xfb56('0xf1')]),_0x30e903=_0x181960[_0xfb56('0x7d')](_0x40671b=>!_0x1fbc0f[_0xfb56('0x6d')](_0x40671b)),_0x4f7944=new Map(_0x181960[_0xfb56('0x157')](_0xa73a28=>[_0xa73a28,this[_0xfb56('0x98')][_0xfb56('0x94')](_0xa73a28['type'],_0xa73a28[_0xfb56('0x33')],_0xfb56('0xd'))])),_0x4a1567=new Map(_0x181960['map'](_0x66a460=>[_0x66a460,_0x66a460[_0xfb56('0x110')]()])),_0x3a456c=new Set(),_0x1bd5a1=new Set();for(let _0x3e9a88=0x0;_0x3e9a88<_0x4fd2ad[_0xfb56('0xa8')];_0x3e9a88++)_0x15ad77(_0x4fd2ad[_0x3e9a88],_0x4fd2ad,_0x3e9a88+0x1);for(let _0x17af85=0x0;_0x17af85<_0x4fd2ad['length'];_0x17af85++)_0x15ad77(_0x4fd2ad[_0x17af85],_0x30e903,0x0);const _0x3c7860=new Set();for(let _0x4af4db=0x0;_0x4af4db<_0x4fd2ad[_0xfb56('0xa8')];_0x4af4db++){const _0x2c8315=_0x4fd2ad[_0x4af4db];!_0x1bd5a1['has'](_0x2c8315)&&_0x2c8315[_0xfb56('0x4f')]&&(_0x3c7860[_0xfb56('0x131')](_0x2c8315[_0xfb56('0x4f')]),_0x2c8315[_0xfb56('0x4f')][_0xfb56('0x72')]===_0x2c8315&&(_0x2c8315['previous']['next']=null),_0x2c8315[_0xfb56('0x4f')]=null),!_0x3a456c[_0xfb56('0x6d')](_0x2c8315)&&_0x2c8315[_0xfb56('0x72')]&&(_0x3c7860['add'](_0x2c8315['next']),_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]===_0x2c8315&&(_0x2c8315[_0xfb56('0x72')][_0xfb56('0x4f')]=null),_0x2c8315[_0xfb56('0x72')]=null);}function _0x15ad77(_0x127598,_0x11d27d,_0x3ae45b){for(let _0x39e02f=_0x3ae45b;_0x39e02f<_0x11d27d[_0xfb56('0xa8')];_0x39e02f++){const _0x255fc1=_0x20ce33(_0x127598,_0x11d27d[_0x39e02f]);_0x255fc1&&(_0x255fc1[0x0][_0xfb56('0x72')]=_0x255fc1[0x1],_0x255fc1[0x1][_0xfb56('0x4f')]=_0x255fc1[0x0],_0x3a456c[_0xfb56('0x131')](_0x255fc1[0x0]),_0x1bd5a1['add'](_0x255fc1[0x1]));}}function _0x20ce33(_0x4a35fc,_0x308ade){if(_0x4a35fc['author']['id']!==_0x308ade['author']['id'])return null;const _0x41c93b=_0x4f7944['get'](_0x4a35fc)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567[_0xfb56('0x166')](_0x308ade));if(!_0x41c93b)return null;return _0x4f7944[_0xfb56('0x166')](_0x308ade)(_0x4a35fc,_0x308ade,_0x4a1567[_0xfb56('0x166')](_0x4a35fc),_0x4a1567['get'](_0x308ade))?_0x41c93b[0x1]['commentThread']&&_0x41c93b[0x1][_0xfb56('0xc5')][_0xfb56('0xa8')]?null:_0x41c93b:null;}_0x3c7860[_0xfb56('0x135')]&&this[_0xfb56('0x121')](_0x3c7860);}['_refreshAttributeSuggestionsChain'](_0x42d71e){if(0x0==_0x42d71e['length'])return;const _0x35177b=this[_0xfb56('0x150')]({'skipNotAttached':!0x0})['filter'](_0x364217=>_0xfb56('0x3a')==_0x364217[_0xfb56('0xf1')]&&_0x364217[_0xfb56('0xe0')]),_0x77457a=[],_0x4d6f90=new Map();for(const _0x584aae of _0x35177b){const _0x1e4d64=_0x49482b(_0x584aae[_0xfb56('0xa9')]);_0x4d6f90[_0xfb56('0x6d')](_0x1e4d64)||(_0x4d6f90[_0xfb56('0x31')](_0x1e4d64,_0x77457a[_0xfb56('0xa8')]),_0x77457a[_0xfb56('0x139')]([]));const _0x28b041=_0x4d6f90['get'](_0x1e4d64);_0x77457a[_0x28b041][_0xfb56('0x139')](_0x584aae);}!function(){_0x77457a[_0xfb56('0x69')]((_0x287243,_0x5c958c)=>{const _0x4addb9=_0x287243[0x0][_0xfb56('0x50')],_0x14f504=_0x5c958c[0x0][_0xfb56('0x50')];return _0x4addb9==_0x14f504?_0x287243[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]<_0x5c958c[0x0][_0xfb56('0xa9')][_0xfb56('0x8f')]?-0x1:0x1:_0x4addb9<_0x14f504?-0x1:0x1;});for(const _0x113e3a of _0x77457a)_0x113e3a[_0xfb56('0x69')]((_0x122267,_0x65bcf)=>_0x122267['id']<_0x65bcf['id']?-0x1:0x1);}();for(let _0x2636f2=0x0;_0x2636f2<_0x77457a[_0xfb56('0xa8')];_0x2636f2++){if(0x0==_0x77457a[_0x2636f2]['length'])continue;const _0x3c1363=[];for(let _0x4d4145=_0x2636f2+0x1;_0x4d4145<_0x77457a[_0xfb56('0xa8')];_0x4d4145++)0x0!=_0x77457a[_0x4d4145]['length']&&_0x3e70da(_0x77457a[_0x2636f2],_0x77457a[_0x4d4145])&&_0x3c1363['push'](_0x4d4145);for(const _0x32a177 of _0x3c1363)_0x77457a[_0x2636f2]=_0x77457a[_0x2636f2]['concat'](_0x77457a[_0x32a177]),_0x77457a[_0x32a177]=[];}for(const _0x437061 of _0x77457a)for(let _0x5b9062=0x0;_0x5b9062<_0x437061[_0xfb56('0xa8')];_0x5b9062++)_0x437061[_0x5b9062]['next']=_0x437061[_0x5b9062+0x1]||null;for(const _0x1e8f3b of _0x77457a)for(let _0x540102=0x0;_0x540102<_0x1e8f3b[_0xfb56('0xa8')];_0x540102++)_0x1e8f3b[_0x540102][_0xfb56('0x4f')]=_0x1e8f3b[_0x540102-0x1]||null;function _0x3e70da(_0x350381,_0x59db71){if(_0x350381[0x0][_0xfb56('0x16')]!==_0x59db71[0x0][_0xfb56('0x16')])return!0x1;if(!function(_0x1ca387,_0x5e2c56){if(!_0x1ca387[_0xfb56('0x82')]&&!_0x5e2c56[_0xfb56('0x82')])return!0x0;if(_0x1ca387['hasComments']&&_0x5e2c56[_0xfb56('0x82')])return!0x1;if(_0x1ca387[_0xfb56('0x82')]&&_0x5e2c56['createdAt']<_0x1ca387[_0xfb56('0xc5')][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)[_0xfb56('0x50')])return!0x0;if(_0x5e2c56[_0xfb56('0x82')]&&_0x1ca387[_0xfb56('0x50')]<_0x5e2c56['commentThread'][_0xfb56('0xb9')][_0xfb56('0x166')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x350381[0x0],_0x59db71[0x0]))return!0x1;const _0x4a2db0=_0x1c9aaa(_0x350381[0x0]['attributes'],_0xfb56('0x8f')),_0x37bd67=_0x1c9aaa(_0x59db71[0x0][_0xfb56('0xa9')],_0xfb56('0x8f'));if(!_0x21464f(_0x4a2db0,_0x37bd67))return!0x1;return!!_0x350381[_0xfb56('0x12a')](_0x1c59cb=>_0x59db71[_0xfb56('0xc0')](_0x1175fd=>_0x1c59cb['getFirstRange']()[_0xfb56('0x41')](_0x1175fd['getFirstRange']())))&&_0x59db71[_0xfb56('0x12a')](_0x27eba1=>_0x350381['some'](_0x1450d9=>_0x27eba1[_0xfb56('0x110')]()[_0xfb56('0x41')](_0x1450d9[_0xfb56('0x110')]())));}}[_0xfb56('0x30')](_0xd83d25){const _0x566961=Array[_0xfb56('0x55')](_0xd83d25),_0x2fb01d=this[_0xfb56('0x150')]({'skipNotAttached':!0x0}),_0x142ce0=_0x2fb01d[_0xfb56('0x7d')](_0x1c01a4=>!_0xd83d25[_0xfb56('0x6d')](_0x1c01a4)),_0x3bf625=new Map(_0x566961[_0xfb56('0x157')](_0x54c832=>[_0x54c832,this[_0xfb56('0x98')]['getSuggestionCallback'](_0x54c832[_0xfb56('0xf1')],_0x54c832['subType'],_0xfb56('0x64'))])),_0xff5fc1=new Map(_0x2fb01d['map'](_0x1ec252=>[_0x1ec252,_0x1ec252[_0xfb56('0x7f')]()]));for(let _0x36384b=0x0;_0x36384b<_0x566961[_0xfb56('0xa8')];_0x36384b++){if(_0x33c879(this,_0x566961[_0x36384b],_0x566961,_0x36384b+0x1))return!0x0;}for(let _0x1ead3b=0x0;_0x1ead3b<_0x566961[_0xfb56('0xa8')];_0x1ead3b++){if(_0x33c879(this,_0x566961[_0x1ead3b],_0x142ce0,0x0))return!0x0;}return!0x1;function _0x33c879(_0x1d6e62,_0x2f8edc,_0x3ae82e,_0x3a5308){for(let _0x22e1e1=_0x3a5308;_0x22e1e1<_0x3ae82e['length'];_0x22e1e1++){const _0x55c17a=_0x3ae82e[_0x22e1e1];if(_0x55c17a['type']!==_0x2f8edc[_0xfb56('0xf1')]||_0x55c17a[_0xfb56('0x16')]['id']!==_0x2f8edc['author']['id']||_0x55c17a[_0xfb56('0x33')]!==_0x2f8edc[_0xfb56('0x33')])continue;if(!Vt(_0x2f8edc,_0x55c17a))continue;if(_0xfb56('0x3a')==_0x2f8edc['type']&&_0x2f8edc['data'][_0xfb56('0x162')]!=_0x55c17a[_0xfb56('0x15')]['oldValue'])continue;if(_0xfb56('0x3a')==_0x2f8edc[_0xfb56('0xf1')]&&_0x1d6e62[_0xfb56('0x38')](_0x2f8edc[_0xfb56('0x15')][_0xfb56('0xed')]))continue;const _0x2e7e12=_0x3bf625['get'](_0x2f8edc),_0x353703=_0xff5fc1[_0xfb56('0x166')](_0x2f8edc),_0x316fbb=_0xff5fc1['get'](_0x55c17a),_0x2e9b28=_0x2f8edc[_0xfb56('0xc5')]&&_0x2f8edc[_0xfb56('0xc5')][_0xfb56('0xa8')],_0x1ba929=_0x55c17a['commentThread']&&_0x55c17a['commentThread'][_0xfb56('0xa8')];if(!_0x2e9b28&&_0x2e7e12(_0x316fbb,_0x353703))return _0x1d6e62['_joinSuggestions'](_0x55c17a,_0x2f8edc),_0xff5fc1[_0xfb56('0x13b')](_0x2f8edc),!0x0;if(!_0x1ba929&&_0x2e7e12(_0x353703,_0x316fbb))return _0x1d6e62[_0xfb56('0x60')](_0x2f8edc,_0x55c17a),_0xff5fc1[_0xfb56('0x13b')](_0x55c17a),!0x0;}return!0x1;}}[_0xfb56('0x60')](_0x44921e,_0xbd6484){if(_0x44921e[_0xfb56('0x104')])for(const _0x13cafb of _0xbd6484[_0xfb56('0x7f')]())_0x44921e[_0xfb56('0x13e')](_0x13cafb);else{const _0x32a8da=_0xbd6484[_0xfb56('0x110')]()[_0xfb56('0x2a')];this['_setSuggestionRange'](_0x44921e,this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x44921e['getFirstRange']()[_0xfb56('0x16c')],_0x32a8da));}_0xbd6484[_0xfb56('0x151')]();}[_0xfb56('0x13')](_0x4c5e9d,_0x2b557f){const _0x214fd6=_0x4c5e9d['startsWith'](_0xfb56('0xe5'))||_0x4c5e9d['startsWith'](_0xfb56('0x3a'))?_0xfb56('0x6e'):_0x4c5e9d[_0xfb56('0x1b')]();return _0x199e6d(this[_0xfb56('0x11a')]['locale'],_0x2b557f+'_'+_0x214fd6+_0xfb56('0x24'));}['_initAriaMarkerChangeAnnouncements'](){const _0x114f2b=this['editor'];_0x3254cf(this[_0xfb56('0x14f')],({left:_0x37cd13,entered:_0x147410})=>{const _0x1f14a1=[];for(const _0x5adbbe of _0x37cd13){const {group:_0x3ebe03,type:_0x27b1d8}=this[_0xfb56('0x11')](_0x5adbbe[_0xfb56('0x5')]);if(_0xfb56('0xe6')===_0x3ebe03){_0x1f14a1[_0xfb56('0x139')](this[_0xfb56('0x13')](_0x27b1d8,_0xfb56('0x109')));break;}}for(const _0x2bc544 of _0x147410){const {group:_0x3484d8,type:_0x31c65c}=this[_0xfb56('0x11')](_0x2bc544['name']);if(_0xfb56('0xe6')===_0x3484d8){_0x1f14a1['push'](this[_0xfb56('0x13')](_0x31c65c,'ENTER'));break;}}_0x1f14a1[_0xfb56('0xa8')]&&_0x114f2b['ui'][_0xfb56('0x11c')][_0xfb56('0x112')](_0xfb56('0x137'),_0x1f14a1[_0xfb56('0x64')]('\x20'));});}['_processAttributeChanges'](_0x3278d9){if(null!==this[_0xfb56('0x84')])return!0x1;const _0x1b2820=this[_0xfb56('0x11a')],_0x42cb59=_0x1b2820['model'][_0xfb56('0xf2')][_0xfb56('0x117')][_0xfb56('0x35')]();if(0x0==_0x42cb59[_0xfb56('0xa8')])return!0x1;const _0x8047ad=[],_0x555420=_0x42cb59[_0xfb56('0x7d')](_0x554607=>_0xfb56('0x3a')==_0x554607[_0xfb56('0xf1')]),_0x3b884c=_0x42cb59[_0xfb56('0x7d')](_0x12517e=>_0xfb56('0xd4')==_0x12517e['type']&&_0xfb56('0x100')!=_0x12517e[_0xfb56('0x5')]),_0x3fa1f9=_0x42cb59[_0xfb56('0x7d')](_0x203fd0=>_0xfb56('0xfa')==_0x203fd0[_0xfb56('0xf1')]&&_0xfb56('0x100')!=_0x203fd0[_0xfb56('0x5')]);for(const _0xef1ac of _0x555420)_0x8047ad[_0xfb56('0x139')]({'key':_0xef1ac[_0xfb56('0xd3')],'newValue':_0xef1ac[_0xfb56('0x22')],'oldValue':_0xef1ac['attributeOldValue'],'range':_0x37349a(_0xef1ac[_0xfb56('0x1a')])});for(const _0x556639 of _0x3b884c){const _0x26b5ff=_0x3fa1f9[_0xfb56('0x45')](_0x29ede8=>_0x29ede8[_0xfb56('0x11f')][_0xfb56('0x41')](_0x556639['position']));_0x26b5ff&&_0x8047ad['push']({'key':_0xfb56('0xa3'),'newValue':_0x556639[_0xfb56('0x5')],'oldValue':_0x26b5ff[_0xfb56('0x5')],'range':_0x1b2820[_0xfb56('0x144')][_0xfb56('0xea')](_0x556639[_0xfb56('0x11f')][_0xfb56('0x107')])});}return 0x0!=_0x8047ad[_0xfb56('0xa8')]&&this['_reduceExistingSuggestions'](_0x3278d9,_0x8047ad);function _0x37349a(_0x3ed6cb){return null==_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0x89')]&&_0x3ed6cb[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')]?Ut(_0x3ed6cb[_0xfb56('0x16c')][_0xfb56('0x107')],_0x1b2820['model']):_0x3ed6cb;}}[_0xfb56('0x54')](_0x3f8903){let _0x22c236=!0x1;const _0x24f791=this[_0xfb56('0x11a')]['model']['document'][_0xfb56('0x117')][_0xfb56('0x68')]()['filter'](_0x59e716=>_0x59e716[_0xfb56('0x15')][_0xfb56('0x142')]&&_0x59e716[_0xfb56('0x5')][_0xfb56('0x155')](_0xfb56('0xb2')));for(const _0xea50db of _0x24f791){const {subType:_0x489119,id:_0x5e3f09}=this[_0xfb56('0x11')](_0xea50db['name']),_0x5546cf=_0x489119[_0xfb56('0x7b')]('|')[0x0];for(const _0x3ca512 of this[_0xfb56('0x150')]({'skipNotAttached':!0x0}))_0x3ca512['id']!=_0x5e3f09&&_0xfb56('0x3a')==_0x3ca512[_0xfb56('0xf1')]&&_0x3ca512['data']&&_0x3ca512['data']['key']==_0x5546cf&&_0x3ca512['getFirstRange']()[_0xfb56('0x4c')](_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')])&&(this[_0xfb56('0x8c')](_0x3ca512,_0xea50db[_0xfb56('0x15')][_0xfb56('0x142')],_0x3f8903),_0x22c236=!0x0);}return _0x22c236;}[_0xfb56('0x12c')](_0x165994){if(null!==this[_0xfb56('0x84')])return void _0x165994();const _0x37b59d=this[_0xfb56('0x11a')];this['_recordAttributeSuggestionsFromVersion']=_0x37b59d[_0xfb56('0x144')]['document']['version'],_0x165994();const _0x19fc96=new Map();for(const _0x5a2f86 of _0x37b59d['model'][_0xfb56('0xf2')][_0xfb56('0xf7')]['getOperations'](this[_0xfb56('0x84')]))if([_0xfb56('0x74'),'addAttribute','removeAttribute',_0xfb56('0xf6')]['includes'](_0x5a2f86[_0xfb56('0xf1')])){const _0x4ef593=_0x5a2f86[_0xfb56('0x159')],_0x42a57e=_0x19fc96[_0xfb56('0x166')](_0x4ef593)||[];_0x42a57e['push'](_0x5a2f86),_0x19fc96[_0xfb56('0x31')](_0x4ef593,_0x42a57e);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x5b1303,_0x1d09e1]of _0x19fc96){const _0x3b694e=_0x1afc95();_0x37b59d[_0xfb56('0x144')]['enqueueChange'](_0x5b1303,_0x485abc=>{const _0x17479e=[];for(const _0x33e3bb of _0x1d09e1){let _0x1e053a,_0x1fa9af,_0x293f04,_0x480e56;if(_0xfb56('0x74')==_0x33e3bb[_0xfb56('0xf1')]){const _0x3be3f9=_0x33e3bb;_0x1e053a=Ut(_0x3be3f9[_0xfb56('0x11f')][_0xfb56('0x107')],_0x37b59d[_0xfb56('0x144')]),_0x1fa9af=_0xfb56('0xa3'),_0x293f04=_0x3be3f9[_0xfb56('0x123')],_0x480e56=_0x3be3f9['oldName'];}else{const _0xaba607=_0x33e3bb,_0x5570ff=this[_0xfb56('0x38')](_0xaba607['key']),_0x89ee72=this['_inlineAttributeKeys']['has'](_0xaba607[_0xfb56('0xed')]);if(!_0x5570ff&&!_0x89ee72)continue;_0x1e053a=_0x5570ff?Ut(_0xaba607['range']['start']['nodeAfter'],_0x37b59d[_0xfb56('0x144')]):_0xaba607[_0xfb56('0x1a')],_0x1fa9af=_0xaba607['key'],_0x293f04=_0xfb56('0x12b')==_0x33e3bb['type']?void 0x0:_0xaba607[_0xfb56('0x9e')],_0x480e56=_0xaba607[_0xfb56('0x162')];}this[_0xfb56('0x61')](_0x1e053a,_0x1fa9af,_0x480e56,_0x293f04,{'groupId':_0x3b694e}),_0x17479e[_0xfb56('0x139')]({'range':_0x1e053a,'key':_0x1fa9af,'newValue':_0x293f04,'oldValue':_0x480e56});}this['_reduceExistingSuggestions'](_0x485abc,_0x17479e);});}}['_reduceExistingSuggestions'](_0x37ccb5,_0x368eb7){if(0x0==_0x368eb7[_0xfb56('0xa8')])return!0x1;let _0x294322=!0x1;for(const _0x20f6e7 of _0x368eb7){const _0x18efa4=this[_0xfb56('0x37')](_0x20f6e7[_0xfb56('0x1a')],_0xfb56('0x3a'))['filter'](_0x12ac61=>!_0x12ac61[_0xfb56('0xb4')][_0xfb56('0xbd')])['map'](_0x1e0f26=>_0x1e0f26[_0xfb56('0xe6')]),_0x33fc66=_0x49482b({'newValue':_0x20f6e7[_0xfb56('0x9e')]});_0x18efa4['filter'](_0x48faee=>{const [_0xe16898,_0x448f14]=_0x48faee['subType'][_0xfb56('0x7b')]('|');return _0xe16898==_0x20f6e7[_0xfb56('0xed')]&&_0x448f14!=_0x33fc66;})[_0xfb56('0x44')](_0x2e80cf=>{this[_0xfb56('0x8c')](_0x2e80cf,_0x20f6e7[_0xfb56('0x1a')],_0x37ccb5),_0x294322=!0x0;});}return _0x294322;}[_0xfb56('0x8c')](_0x5d951d,_0xe10f1e,_0x13282c){const _0x531662=_0x5d951d[_0xfb56('0x110')]()['getDifference'](_0xe10f1e);0x0!==_0x531662[_0xfb56('0xa8')]?0x1!==_0x531662[_0xfb56('0xa8')]?this[_0xfb56('0x3e')](_0x5d951d,_0xe10f1e['start'],_0xe10f1e[_0xfb56('0x2a')]):this[_0xfb56('0x88')](_0x5d951d,_0x531662[0x0]):_0x13282c[_0xfb56('0xbb')](_0x5d951d['getFirstMarker']());}}class Bt{constructor(_0x53096e){this[_0xfb56('0x36')]=_0x53096e,this[_0xfb56('0x14f')]=_0x53096e[_0xfb56('0x144')],this[_0xfb56('0x12e')]=new Map(),this[_0xfb56('0xbf')]=new Map(),this[_0xfb56('0xa7')]();}[_0xfb56('0x1d')](_0x3665e6,_0x13ca17,_0x1bd58e,_0x317881,_0x229342,_0x130ed7){return new _0x4d3acb(this[_0xfb56('0x14f')],{'type':_0x3665e6,'subType':_0x13ca17,'id':_0x1bd58e,'author':_0x317881,'creator':_0x317881,'attributes':_0x229342,'onAttributesChange':_0x130ed7,'onAccept':(..._0x5526b5)=>this[_0xfb56('0x94')](_0x3665e6,_0x13ca17,_0xfb56('0x23'))(..._0x5526b5),'onDiscard':(..._0x280705)=>this['getSuggestionCallback'](_0x3665e6,_0x13ca17,_0xfb56('0x2d'))(..._0x280705)});}[_0xfb56('0x16b')](_0x3b0c3d,_0x542dc9,_0x317920,_0x248ba4){const _0x221c9f=_0x3b0c3d+':'+_0x542dc9+':'+_0x317920;this['_customCallbacks'][_0xfb56('0x31')](_0x221c9f,_0x248ba4);}['getSuggestionCallback'](_0x2b9351,_0x5dea65,_0x135bd5){const _0x1be56a=_0x2b9351+':'+_0x5dea65+':'+_0x135bd5;return this['_customCallbacks']['get'](_0x1be56a)||this[_0xfb56('0xbf')]['get'](_0x2b9351+':'+_0x135bd5);}['_registerDefaultCallbacks'](){const _0xfb4e2c=()=>!0x1,_0x2fc3a6=_0x5c7549=>{_0x5c7549[_0xfb56('0x69')]((_0x418fe1,_0x2e49bd)=>_0x418fe1[_0xfb56('0x16c')]['isBefore'](_0x2e49bd['start'])?0x1:-0x1),this['_model'][_0xfb56('0xc7')](_0x559288=>{for(const _0x13ef87 of _0x5c7549){let _0x247b88;_0x247b88=_0x13ef87[_0xfb56('0x2a')]['isAtEnd']&&_0x13ef87[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')]?_0x559288[_0xfb56('0x10c')](_0x13ef87[_0xfb56('0x16c')][_0xfb56('0x107')],'on'):_0x559288[_0xfb56('0x10c')](_0x13ef87),this[_0xfb56('0x14f')][_0xfb56('0x5c')](_0x247b88,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x41102b=(_0x4710be,_0x44996f)=>{_0x44996f&&this['_model'][_0xfb56('0xc7')](_0x4fca87=>{const {commandName:_0x2398e1,commandParams:_0x5d7ebb=[]}=_0x44996f,_0x213ded=_0x4710be[_0xfb56('0x157')](_0x4e69a6=>(xt(_0x4e69a6)&&(_0x4e69a6=this[_0xfb56('0x14f')][_0xfb56('0x10b')](_0x4e69a6[_0xfb56('0x2a')])),_0x4e69a6))[_0xfb56('0x7d')](_0x1ecf62=>'$graveyard'!==_0x1ecf62[_0xfb56('0x4')][_0xfb56('0xab')]);if(_0x213ded[_0xfb56('0xa8')]<0x1)return;const _0x3bd0bb=Array[_0xfb56('0x55')](this['_model'][_0xfb56('0xf2')][_0xfb56('0x63')][_0xfb56('0x7f')]())[_0xfb56('0x157')](_0x48c887=>_0x49faa4[_0xfb56('0xff')](_0x48c887));_0x4fca87[_0xfb56('0xba')](_0x213ded);for(const _0x21a737 of this[_0xfb56('0x36')][_0xfb56('0x172')][_0xfb56('0x172')]())_0x21a737['refresh']();_0x5d7ebb[_0xfb56('0x139')]({'forceDefaultExecution':!0x0}),this[_0xfb56('0x36')][_0xfb56('0xfc')](_0x2398e1,..._0x5d7ebb);const _0x312707=_0x3bd0bb[_0xfb56('0x7d')](_0x4bb155=>_0xfb56('0x134')!=_0x4bb155['root']['rootName']);_0x312707[_0xfb56('0xa8')]>0x0&&_0x4fca87[_0xfb56('0xba')](_0x312707);for(const _0x30d65f of _0x3bd0bb)_0x30d65f[_0xfb56('0x3f')]();});},_0x5d34b5=(_0x212948,_0x3a3140)=>0x1==_0x212948['length']&&0x1==_0x3a3140[_0xfb56('0xa8')]&&_0x212948[0x0][_0xfb56('0x2a')][_0xfb56('0x41')](_0x3a3140[0x0][_0xfb56('0x16c')]),_0x4aa1d7=(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a)=>Ot(_0x2b4575,_0x2ec27c,_0x158f8e,_0x38325a,this['_model'])?[_0x2b4575,_0x2ec27c]:Ot(_0x2ec27c,_0x2b4575,_0x38325a,_0x158f8e,this[_0xfb56('0x14f')])?[_0x2ec27c,_0x2b4575]:null;this[_0xfb56('0xbf')][_0xfb56('0x31')]('insertion:accept',_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6'),_0x2fc3a6),this['_defaultCallbacks']['set'](_0xfb56('0x67'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc3'),_0x4aa1d7),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xc8'),_0x2fc3a6),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x2f'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0xb'),_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')]('deletion:chain',_0x4aa1d7),this[_0xfb56('0xbf')]['set'](_0xfb56('0xd9'),_0x41102b),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0x6a'),_0xfb4e2c),this[_0xfb56('0xbf')]['set']('formatInline:join',_0x5d34b5),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xcb'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')](_0xfb56('0xa0'),_0x41102b),this[_0xfb56('0xbf')]['set'](_0xfb56('0xdb'),_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x18'),_0x5d34b5),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x1e'),_0xfb4e2c),this[_0xfb56('0xbf')][_0xfb56('0x31')]('attribute:accept',_0xfb4e2c),this[_0xfb56('0xbf')]['set'](_0xfb56('0x43'),(_0x3d9644,_0x5db5a1)=>{if(!_0x5db5a1)return;const _0x28dbda=this[_0xfb56('0x36')][_0xfb56('0x46')][_0xfb56('0x166')](p);this['_model'][_0xfb56('0xc7')](_0x3fb32a=>{if('$elementName'==_0x5db5a1['key'])for(const _0xde3e90 of _0x3d9644){const _0x348892=_0xde3e90['start']['nodeAfter'],_0x29ffc2=_0x5db5a1['oldValue'];_0x3fb32a[_0xfb56('0x74')](_0x348892,_0x29ffc2);}else{if(_0x28dbda[_0xfb56('0x38')](_0x5db5a1[_0xfb56('0xed')]))for(const _0x271b3a of _0x3d9644)void 0x0!==_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a[_0xfb56('0x62')](_0x5db5a1[_0xfb56('0xed')],_0x5db5a1[_0xfb56('0x162')],_0x271b3a['start'][_0xfb56('0x107')]):_0x3fb32a['removeAttribute'](_0x5db5a1[_0xfb56('0xed')],_0x271b3a[_0xfb56('0x16c')]['nodeAfter']);else for(const _0x1091bd of _0x3d9644)_0x5db5a1[_0xfb56('0x162')]?_0x3fb32a['setAttribute'](_0x5db5a1['key'],_0x5db5a1[_0xfb56('0x162')],_0x1091bd):_0x3fb32a[_0xfb56('0x12b')](_0x5db5a1[_0xfb56('0xed')],_0x1091bd);}});}),this['_defaultCallbacks'][_0xfb56('0x31')](_0xfb56('0x83'),_0x5d34b5);}}function Tt(_0x1fb6ee,_0x428587,_0x194972){for(const _0x319c2d of _0x428587[_0xfb56('0xfd')][_0xfb56('0x93')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x319c2d[_0xfb56('0x4')]==_0x319c2d)return!0x1;if(!_0x194972['containsItem'](_0x319c2d))return!0x1;if(_0x1fb6ee[_0xfb56('0xaf')](_0x319c2d)||_0x1fb6ee['isLimit'](_0x319c2d))return!0x0;}return!0x1;}function xt(_0x44f324){return _0x44f324[_0xfb56('0x2a')][_0xfb56('0xfd')]==_0x44f324[_0xfb56('0x16c')][_0xfb56('0x107')]&&_0x44f324[_0xfb56('0x2a')]['isAtStart'];}function Et(_0x55f880,_0x1158f4,_0x26ec41,_0x89a4da){const _0x312ce2=_0x358ce2=>!_0x358ce2[_0xfb56('0xde')]['is']('$textProxy')&&!_0x89a4da[_0xfb56('0xaf')](_0x358ce2[_0xfb56('0xde')]),_0x2cd1ca=_0x55f880[_0xfb56('0x16c')][_0xfb56('0x4e')](_0x312ce2),_0x3c2495=_0x55f880[_0xfb56('0x2a')][_0xfb56('0x4e')](_0x312ce2,{'direction':'backward'});return(!_0x55f880[_0xfb56('0x16c')][_0xfb56('0x41')](_0x2cd1ca)||!_0x55f880[_0xfb56('0x2a')][_0xfb56('0x41')](_0x3c2495))&&(_0x2cd1ca[_0xfb56('0xcf')](_0x3c2495)?_0x26ec41['updateMarker'](_0x1158f4,{'range':_0x26ec41['createRange'](_0x2cd1ca,_0x3c2495)}):_0x26ec41[_0xfb56('0xbb')](_0x1158f4),!0x0);}function Rt(_0xd235bd){return _0x49482b(_0xd235bd);}function jt(_0x57bbee){const _0x447e8a=_0x57bbee['start'][_0xfb56('0x107')];return _0x447e8a&&_0x447e8a['is'](_0xfb56('0x86'));}function Ut(_0xc1bbce,_0x23c534){const _0xbc343=_0x23c534[_0xfb56('0x3b')][_0xfb56('0xaf')](_0xc1bbce)||_0x23c534['schema'][_0xfb56('0x165')](_0xc1bbce);return _0x23c534[_0xfb56('0x10b')](_0x23c534[_0xfb56('0xad')](_0xc1bbce,_0xfb56('0x158')),_0xbc343?_0x23c534[_0xfb56('0x8')](_0xc1bbce):_0x23c534['createPositionAt'](_0xc1bbce,_0xfb56('0x2a')));}function Ot(_0x25a120,_0x3f4c6f,_0xa94e26,_0x17b56d,_0x479890){if(!Vt(_0x25a120,_0x3f4c6f))return!0x1;if(_0xa94e26[_0xfb56('0x2a')][_0xfb56('0x41')](_0x17b56d[_0xfb56('0x16c')]))return!0x0;if(_0x25a120[_0xfb56('0xf1')]!=_0x3f4c6f[_0xfb56('0xf1')])return!0x1;if(!_0xa94e26['end'][_0xfb56('0x51')](_0x17b56d['start']))return!0x1;const _0x110b39=_0x479890[_0xfb56('0x10b')](_0xa94e26[_0xfb56('0x2a')],_0x17b56d['start'])['getWalker']();for(const _0x1d6558 of _0x110b39)if(['elementStart','elementEnd'][_0xfb56('0xf')](_0x1d6558[_0xfb56('0xf1')])&&_0x479890[_0xfb56('0x3b')]['isLimit'](_0x1d6558[_0xfb56('0xde')]))return!0x1;return!0x0;}function Vt(_0x308e,_0x4614b6){return!(!_0x308e[_0xfb56('0xe0')]||!_0x4614b6[_0xfb56('0xe0')])&&_0x21464f(_0x308e['attributes'],_0x4614b6[_0xfb56('0xa9')]);}function Ft(_0x305cd0,_0x242899){const _0xc5247c=Gt(_0x305cd0[_0xfb56('0xa9')]),_0x18207e=Gt(_0x242899);if(!_0x305cd0[_0xfb56('0xe0')])return!0x1;for(const _0x41d74e of Object[_0xfb56('0x26')](_0x18207e))if(!_0x21464f(_0xc5247c[_0x41d74e],_0x18207e[_0x41d74e]))return!0x1;return!0x0;}function Gt(_0x3aab53){const _0x505a92=Object[_0xfb56('0xe8')]({},_0x3aab53);return delete _0x505a92[_0xfb56('0x8e')],delete _0x505a92[_0xfb56('0x4a')],_0x505a92;}
|