@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231208.0 → 0.0.0-nightly-20231209.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-20231209.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-20231209.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231209.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 _0x22b5=['markers','getDifference','getFirstRange','attribute:discard','elementStart','_refreshAttributeSuggestionsChain','trackChangesCommand','_enableDefaultAttributesIntegration','getRange','addMarker','startsWith','isDocumentOperation','isRemovable','_checkSuggestionCorrectness','fromCharCode','element','isIntersectingWithRange','options','$marker','PENDING_ACTION_SUGGESTION','widget','insertContent','fromRange','CommentsRepository','isAtEnd','formatBlock:discard','_getMarkerAnnouncementText','unbindElementFromMarkerName','has','elementToElement','authoredAt','isUndo','containsPosition','enableCommand','markerToHighlight','bindElementToMarker','concat','createdAt','from','isNextTo','ENTER','insert','acceptAllSuggestions','editing','selection','originalSuggestionId','getShiftedBy','createPositionAt','change','substring','dataToMarker','format','after','before','enqueueChange','isAtStart','getUser','insertion:join','nodeAfter','schema','Users','_registerInlineAttribute','plugins','markerName','_defaultCallbacks','_setSuggestionData','oldRange','containsRange','attribute:accept','createSelection','notReady','newRange','sort','addUser','addCommentThread','init','track-changes-suggestion-not-found','pop','ready','deletion','length','markInsertion','trackChanges.trackFormatChanges','_initAriaMarkerChangeAnnouncements','remove','end','add','_handleNewSuggestionMarker','resolve','tablePasteChainId','_processAttributeSuggestions','next','group','dataReady','isInsideObject','changeAttribute','addMarker:suggestion','item','_suggestionState','_breakSuggestionMarker','trackChanges','splitPosition','getSuggestions','markMultiRangeInsertion','_suggestions','LEAVE','range','buildSuggestion','_customCallbacks','_registerBlockAttribute','showSuggestionHighlights','type','move','batch','markerToData','size','formatInline','_isForcedDefaultExecutionBlock','markerReady','join','_findSuggestions','discardSuggestion','$textProxy','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.','getSuggestion','registerPostFixer','addSuggestion','removeMarkers','ck-suggestion-marker-formatInline','insertion','isLocal','chain','backward','TrackChangesEditing','insertion:accept','position','rename','isTouching','formatGroupId','default','detach','listenTo','getIntersection','_setSuggestionRange','_trackFormatChanges','refresh','_rangeIsInLocalUserInsertion','_enabledCommands','$elementName','ck-suggestion-marker-','getSuggestionCallback','ck-suggestion-marker-formatBlock','splice','setTo','subType','_descriptionFactory','setSelection','_onDiscard','isIntersecting','suggestion:','marker-count','removeAttribute','isBefore','map','deleteContent','documentSelection','split','_updateSuggestionData','model','_model','_commentsRepository','_refreshSuggestionsChain','commandName','filter','_inlineAttributeKeys','attribute:join','track-changes-user-not-found','hasSuggestion','differ','addMarker:suggestion:attribute','deletion:join','markDeletion','discardAllSuggestions','open','toUpperCase','_SUGGESTION_ANNOUNCEMENT','formatInline:discard','getMultiRangeId','high','_reduceSuggestionAttributeRange','formatInline:','moveTargetPosition','insertion:','authorName','track-changes-adapter-missing-getsuggestion','$text','addComment','isObject','keys','getAttribute','forceDefaultExecution','oldValue','registerCustomCallback','suggestion-type','isAfter','hasComments','change:data','_createSuggestion','newValue','_recordAttributeChanges','@external','_getSuggestionData','insertion:chain','isEqual','execute','_joinSuggestions','_reduceExistingSuggestions','suggestionLoaded','getLastMatchingPosition','markMultiRangeBlockFormat','_addThreadToSuggestion','acceptSelectedSuggestions','isLimit','formatInline:accept','addClass','getNearestSelectionRange','howMany','isInContent','editor','_processAttributeChanges','then','activeMarkers','highest','conversion','getChangedMarkers','rejected','meta','for','warn','isBlock','nodeBefore','never','announce','stop','forEach','removeMarker','assign','markMultiRangeDeletion','getCustomProperty','clear','addHighlight','_editor','_suggestionFactory','ck-suggestion-marker--active','mapper','value','isOwn','trackChanges.mergeNestedSuggestions','attributeKey','markAttributeChange','_removeSuggestion','find','accepted','suggestionChanged','addSuggestionData','creator','_addSuggestionMarker','document','createPositionBefore','isMultiRange','markerNameToElements','_isBlockAttribute','_adapter','set','change:_saved','_registerDefaultCallbacks','track-changes-command-not-found','name','markInlineFormat','setAttribute','getRanges','parent','suggestion','editingDowncast','groupId','deletion:','attributes','consumable','collaboration.channelId','some','formatInline:chain','error-saving-suggestion-data-suggestion-discarded','getWalker','isSelectable','commands','getFirstMarker','writer','isExternal','rootName','enableReadOnlyMode','createPositionAfter','delete','config','removeMarker:suggestion:formatBlock','low','stopListening','ck-suggestion-marker','includes','FORMATTING','markBlockFormat','PendingActions','applyOperation','upcast','createRange','$graveyard','normal','addRange','_isDataLoaded','lowest','data','formatBlock','createElement','consume','removeClass','data-suggestion','getItems','key','multipleBlocks','containsRangeInObject','start','requires','removeMarker:suggestion:attribute','root','_splitMarkerName','_joinWithAdjacentSuggestions','get','isCollapsed','removed','formatBlock:accept','newName','_blockAttributeKeys','acceptSuggestion','addMarker:suggestion:formatBlock','addMarkerName','every','deletion:discard','dataDowncast','attribute','accept','define','_mergeNestedSuggestions','author','_cutOutSuggestionMarker','updateSuggestion','toViewElement','_recordAttributeSuggestionsFromVersion','discard','values','deletion:chain','getAllAdjacentSuggestions','commentThread','updateMarker','always','update:suggestion','history','multi','fire','return','formatBlock:join','previous','push','locale','skipNestingCheck','discardSelectedSuggestions','_getAuthorFromId','comments','catch'];(function(_0x1ec929,_0x22b5ba){const _0x388092=function(_0x309615){while(--_0x309615){_0x1ec929['push'](_0x1ec929['shift']());}};_0x388092(++_0x22b5ba);}(_0x22b5,0xe5));const _0x3880=function(_0x1ec929,_0x22b5ba){_0x1ec929=_0x1ec929-0x0;let _0x388092=_0x22b5[_0x1ec929];return _0x388092;};import{Plugin as _0x5a673e,PendingActions as _0x1b4e23}from'ckeditor5/src/core';import{LiveRange as _0x2595e6}from'ckeditor5/src/engine';import{CKEditorError as _0x6be0f0,uid as _0x5396c2,priorities as _0x3b6973,logWarning as _0x54d3bf}from'ckeditor5/src/utils';import{toWidget as _0x498b5e}from'ckeditor5/src/widget';import{Users as _0x42bde0,hashObject as _0x29eae1,surroundingMarkersDetector as _0x24b154}from'ckeditor5-collaboration/src/collaboration-core';import _0x2fe3c5 from'./commands/trackchangescommand';import _0x3b9859 from'./commands/acceptsuggestioncommand';import _0x106d4d from'./commands/discardsuggestioncommand';import _0x47f0a8 from'./commands/executeonallsuggestionscommand';import _0x46f23d from'./commands/executeonselectedsuggestionscommand';import _0x256f0e from'./suggestion';import _0x55cf88 from'./suggestiondescriptionfactory';import _0x49c82e from'./integrations/aiassistant';import _0x230b78 from'./integrations/alignment';import _0xe23a10 from'./integrations/basicstyles';import _0x348368 from'./integrations/blockquote';import _0x2fddb5 from'./integrations/ckbox';import _0x2c671f from'./integrations/codeblock';import _0x1a2ac4 from'./integrations/comments';import _0x28d2da from'./integrations/deletecommand';import _0x44b02c from'./integrations/documentlist';import _0x41719a from'./integrations/documentlistproperties';import _0x2044d5 from'./integrations/entercommand';import _0x500a83 from'./integrations/findandreplace';import _0x263233 from'./integrations/font';import _0x45151e from'./integrations/formatpainter';import _0x3522da from'./integrations/heading';import _0x24fed8 from'./integrations/highlight';import _0x2810f8 from'./integrations/horizontalline';import _0x302e3b from'./integrations/htmlembed';import _0x3030de from'./integrations/image';import _0x409593 from'./integrations/imagereplace';import _0x1b2feb from'./integrations/imagestyle';import _0x3aae38 from'./integrations/importword';import _0x481e90 from'./integrations/indent';import _0x9c2202 from'./integrations/inputcommand';import _0x38bb0c from'./integrations/link';import _0x4ea6cd from'./integrations/list';import _0xd9fce5 from'./integrations/listproperties';import _0x1a4ed4 from'./integrations/mediaembed';import _0x46eade from'./integrations/mention';import _0x1e8843 from'./integrations/pagebreak';import _0x15e022 from'./integrations/paragraph';import _0x382b2b from'./integrations/removeformat';import _0x49cbc0 from'./integrations/restrictededitingmode';import _0x425c25 from'./integrations/shiftentercommand';import _0x41bfc3 from'./integrations/standardeditingmode';import _0x51ae0b from'./integrations/style';import _0x33cf7f from'./integrations/table';import _0x28c10c from'./integrations/tablemergesplit';import _0xc24c73 from'./integrations/tableheadings';import _0x2b6224 from'./integrations/tableclipboard';import _0x5b7f7d from'./integrations/tablecolumnresize';import _0x43a64c from'./integrations/template';import _0x355a7e from'./integrations/tableofcontents';import _0x2830be from'./integrations/title';import _0x53b439 from'./integrations/undo';import _0x34a2fc from'./integrations/tablecaption';import _0x253e69 from'./integrations/tableproperties';import{getTranslation as _0x33b9cf}from'./utils/common-translations';import{isEqual as _0x29860a,omit as _0x45df73}from'lodash-es';export const renameAttributeKey=_0x3880('0x128');export default class p extends _0x5a673e{static get[_0x3880('0x65')](){return['CommentsRepository',_0x42bde0,_0x1b4e23,_0x49c82e,_0x230b78,_0xe23a10,_0x348368,_0x2fddb5,_0x2c671f,_0x1a2ac4,_0x28d2da,_0x44b02c,_0x41719a,_0x2044d5,_0x500a83,_0x263233,_0x45151e,_0x3522da,_0x24fed8,_0x2810f8,_0x302e3b,_0x3030de,_0x1b2feb,_0x409593,_0x3aae38,_0x481e90,_0x9c2202,_0x38bb0c,_0x4ea6cd,_0xd9fce5,_0x1a4ed4,_0x46eade,_0x1e8843,_0x15e022,_0x382b2b,_0x49cbc0,_0x425c25,_0x41bfc3,_0x51ae0b,_0x33cf7f,_0x28c10c,_0xc24c73,_0x34a2fc,_0x2b6224,_0x5b7f7d,_0x355a7e,_0x253e69,_0x43a64c,_0x2830be,_0x53b439];}static get['pluginName'](){return _0x3880('0x119');}constructor(_0x2d86f8){function _0x4ecdac(_0x1b14ad){return _0x1b14ad[_0x3880('0x137')](_0x4b5ff0=>String[_0x3880('0xa2')](_0x4b5ff0))[_0x3880('0x10b')]('');}super(_0x2d86f8),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x3880('0x2c')](_0x3880('0x2'),[]),this['on']('change:activeMarkers',(_0x5292c9,_0xc5336,_0x3f174f,_0x2632f6)=>{this[_0x3880('0x13d')]['change'](()=>{for(const _0x206ce8 of[..._0x2632f6,..._0x3f174f])this[_0x3880('0x13d')]['markers'][_0x3880('0xb0')](_0x206ce8)&&_0x2d86f8[_0x3880('0xbf')]['reconvertMarker'](_0x206ce8);});}),this[_0x3880('0x12f')]=new _0x55cf88(this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0xcf')],this[_0x3880('0x178')][_0x3880('0x8e')]),this[_0x3880('0x2b')]=null,this[_0x3880('0x17')]=new Bt(this[_0x3880('0x178')]),this['_suggestions']=new Map(),this[_0x3880('0x13e')]=_0x2d86f8['plugins'][_0x3880('0x6a')](_0x3880('0xab')),this[_0x3880('0x127')]=new Set(),this[_0x3880('0x13d')]=this[_0x3880('0x178')][_0x3880('0x13c')],this['_suggestionState']=new WeakMap(),this[_0x3880('0x109')]=!0x1,this[_0x3880('0x6f')]=new Set([_0x3880('0x128')]),this[_0x3880('0x142')]=new Set(),_0x2d86f8[_0x3880('0x49')][_0x3880('0x78')]('trackChanges.trackFormatChanges',_0x3880('0x11f')),this['_trackFormatChanges']=_0x2d86f8[_0x3880('0x49')][_0x3880('0x6a')](_0x3880('0xe6')),_0x2d86f8['config'][_0x3880('0x78')](_0x3880('0x1c'),!0x0),this[_0x3880('0x79')]=_0x2d86f8['config']['get']('trackChanges.mergeNestedSuggestions'),this[_0x3880('0x9a')]=new _0x2fe3c5(_0x2d86f8,this[_0x3880('0x127')]),this[_0x3880('0xe7')](),this[_0x4ecdac([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4ecdac([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x36]);}[_0x3880('0xdf')](){const _0x5ed81e=this[_0x3880('0x178')],_0x4c6b4d=(_0x68ae3,_0x9d88cf)=>{if(_0x3880('0x76')!=_0x68ae3)return _0x3880('0x129')+_0x68ae3;const _0x5b6f5b=_0x9d88cf[_0x3880('0x13a')]('|')[0x0];return this['_isBlockAttribute'](_0x5b6f5b)?_0x3880('0x12b'):_0x3880('0x114');};_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))['markerToHighlight']({'model':_0x3880('0x35'),'view':_0x537d82=>{const {id:_0x18d599,type:_0x2d5140,subType:_0x5880f0}=this[_0x3880('0x68')](_0x537d82[_0x3880('0xd3')]),_0x1bfe95=['ck-suggestion-marker',_0x4c6b4d(_0x2d5140,_0x5880f0)];let _0x19d152=0xbb8;return this[_0x3880('0x2')][_0x3880('0x4e')](_0x537d82['markerName'])&&(_0x1bfe95[_0x3880('0x8d')]('ck-suggestion-marker--active'),_0x19d152=0xbc2),'deletion'==_0x2d5140&&(_0x19d152+=0x5),{'classes':_0x1bfe95,'attributes':{'data-suggestion':_0x18d599},'priority':_0x19d152};}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))['add'](_0x44ebc3=>{_0x44ebc3['on'](_0x3880('0xf4'),(_0xb5576f,_0x254fe5,_0x1b90eb)=>{if(!_0x1b90eb[_0x3880('0xa5')][_0x3880('0x102')])return;const _0xbfc25e=_0x254fe5[_0x3880('0xf5')];if(!_0xbfc25e)return;const _0x4a924d=_0x1b90eb[_0x3880('0x19')][_0x3880('0x7d')](_0xbfc25e);_0x5ed81e[_0x3880('0x13c')]['schema'][_0x3880('0x159')](_0xbfc25e)&&_0x4a924d&&!_0x4a924d['getCustomProperty'](_0x3880('0xa8'))&&_0x4a924d['is']('containerElement')&&_0x498b5e(_0x4a924d,_0x1b90eb['writer']);},{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xb6')]({'model':_0x3880('0x35'),'view':(_0x2b175,_0x152d6b)=>{if(!_0x152d6b[_0x3880('0xa5')][_0x3880('0x102')])return null;const {type:_0x34bef8,subType:_0x3e50b2}=this[_0x3880('0x68')](_0x2b175[_0x3880('0xd3')]);return{'classes':[_0x3880('0x4d'),_0x4c6b4d(_0x34bef8,_0x3e50b2)],'priority':0xbb8};}});const _0x4a1f9f=({showActiveMarkers:_0x221356=!0x0,isAttributeSuggestion:_0x2f5575=!0x1}={})=>(_0x4aca38,_0x5b83c1,_0x2d109f)=>{if(!_0x5b83c1[_0x3880('0xf5')])return;const {id:_0x526e27}=this['_splitMarkerName'](_0x5b83c1[_0x3880('0xd3')]);if(_0x2f5575){const _0x247083=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x526e27));if(!this['_isBlockAttribute'](_0x247083))return;}if(_0x5b83c1[_0x3880('0xf5')]['is']('selection'))return void _0x2d109f[_0x3880('0x3a')][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);const _0x57c24b=_0x2d109f[_0x3880('0x19')][_0x3880('0x7d')](_0x5b83c1['item']);if(_0x5b83c1[_0x3880('0xf5')]['is'](_0x3880('0xa3'))&&_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0xa')](_0x5b83c1['item'])&&!_0x57c24b['getCustomProperty'](_0x3880('0x15'))){_0x2d109f[_0x3880('0x43')]['addClass'](['ck-suggestion-marker',_0x3880('0x12b')],_0x57c24b),_0x2d109f[_0x3880('0x43')][_0x3880('0x32')](_0x3880('0x5f'),_0x526e27,_0x57c24b),_0x2d109f[_0x3880('0x19')][_0x3880('0xb7')](_0x57c24b,_0x5b83c1[_0x3880('0xd3')]),_0x221356&&(this[_0x3880('0x2')][_0x3880('0x4e')](_0x5b83c1[_0x3880('0xd3')])?_0x2d109f[_0x3880('0x43')][_0x3880('0x174')](_0x3880('0x18'),_0x57c24b):_0x2d109f[_0x3880('0x43')][_0x3880('0x5e')](_0x3880('0x18'),_0x57c24b));for(const _0x36493f of _0x5ed81e[_0x3880('0x13c')]['createRangeIn'](_0x5b83c1['item'])[_0x3880('0x60')]())_0x2d109f[_0x3880('0x3a')]['consume'](_0x36493f,_0x4aca38[_0x3880('0x30')]);_0x2d109f['consumable'][_0x3880('0x5d')](_0x5b83c1[_0x3880('0xf5')],_0x4aca38[_0x3880('0x30')]);}};_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x75'))[_0x3880('0xea')](_0x32a456=>{_0x32a456['on'](_0x3880('0x71'),(_0x6564ca,_0x24de77,_0x13f80b)=>{_0x13f80b[_0x3880('0xa5')][_0x3880('0x102')]&&_0x4a1f9f({'showActiveMarkers':!0x1})(_0x6564ca,_0x24de77,_0x13f80b);},{'priority':'highest'});}),_0x5ed81e[_0x3880('0x4')]['for']('dataDowncast')[_0x3880('0xea')](_0x47d7d9=>{_0x47d7d9['on'](_0x3880('0x147'),(_0x22a306,_0x339d5b,_0x757400)=>{_0x757400['options']['showSuggestionHighlights']&&_0x4a1f9f({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x22a306,_0x339d5b,_0x757400);},{'priority':_0x3880('0x3')});}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x75'))[_0x3880('0x106')]({'model':_0x3880('0x35'),'view':(_0x4db86e,_0x23f31f)=>_0x23f31f['options'][_0x3880('0x102')]?null:{'group':'suggestion','name':_0x4db86e['substr'](0xb)}}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x53'))[_0x3880('0xb1')]({'view':{'name':_0x3880('0x35'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x379cba,{writer:_0x47524e})=>{let _0x5b9178=_0x3880('0x133')+_0x379cba[_0x3880('0x15b')](_0x3880('0x15f'))+':'+_0x379cba[_0x3880('0x15b')]('id');return _0x379cba[_0x3880('0x15b')](_0x3880('0x134'))&&(_0x5b9178+=':'+_0x379cba[_0x3880('0x15b')](_0x3880('0x134'))),_0x47524e[_0x3880('0x5c')](_0x3880('0xa6'),{'data-name':_0x5b9178});}}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x53'))[_0x3880('0xc6')]({'view':'suggestion'}),_0x5ed81e[_0x3880('0x4')]['for'](_0x3880('0x36'))[_0x3880('0xea')](_0x25e5af=>{_0x25e5af['on'](_0x3880('0x71'),_0x4a1f9f(),{'priority':'high'});}),_0x5ed81e['conversion'][_0x3880('0x8')](_0x3880('0x36'))['add'](_0x38e79c=>{_0x38e79c['on']('addMarker:suggestion:attribute',_0x4a1f9f({'isAttributeSuggestion':!0x0}),{'priority':_0x3880('0x150')});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x3555e3=>{_0x3555e3['on'](_0x3880('0x4a'),(_0x36a55c,_0x30cdba,_0x22759e)=>{const _0x244dbc=_0x22759e[_0x3880('0x19')][_0x3880('0x29')](_0x30cdba['markerName']);if(_0x244dbc)for(const _0x3d624c of _0x244dbc)_0x3d624c[_0x3880('0x13')]('addHighlight')||(_0x22759e[_0x3880('0x43')]['removeClass']([_0x3880('0x4d'),'ck-suggestion-marker-formatBlock',_0x3880('0x18')],_0x3d624c),_0x22759e['writer']['removeAttribute']('data-suggestion',_0x3d624c),_0x22759e['mapper'][_0x3880('0xaf')](_0x3d624c,_0x30cdba[_0x3880('0xd3')]));},{'priority':'high'});}),_0x5ed81e[_0x3880('0x4')][_0x3880('0x8')](_0x3880('0x36'))[_0x3880('0xea')](_0x532b6c=>{_0x532b6c['on'](_0x3880('0x66'),(_0x510cf8,_0x5bb5c3,_0x2092d9)=>{const _0x5ccf0f=_0x2092d9['mapper'][_0x3880('0x29')](_0x5bb5c3['markerName']);if(!_0x5ccf0f)return;const {id:_0x47e136}=this[_0x3880('0x68')](_0x5bb5c3[_0x3880('0xd3')]),_0x1cfe57=Pt(this[_0x3880('0xfc')][_0x3880('0x6a')](_0x47e136));if(this[_0x3880('0x2a')](_0x1cfe57))for(const _0x50fb0c of _0x5ccf0f)_0x50fb0c[_0x3880('0x13')](_0x3880('0x15'))||(_0x2092d9[_0x3880('0x43')][_0x3880('0x5e')]([_0x3880('0x4d'),_0x3880('0x12b'),_0x3880('0x18')],_0x50fb0c),_0x2092d9[_0x3880('0x43')]['removeAttribute'](_0x3880('0x5f'),_0x50fb0c),_0x2092d9[_0x3880('0x19')]['unbindElementFromMarkerName'](_0x50fb0c,_0x5bb5c3['markerName']));},{'priority':_0x3880('0x150')});}),_0x5ed81e['model'][_0x3880('0x26')][_0x3880('0x111')](_0x3fc693=>{let _0x3cd36f=!0x1;const _0x223fc8=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['differ']['getChangedMarkers']()),_0xaa7a94=new Set();for(const {name:_0x26d8b2,data:_0x4177f3}of _0x223fc8){const {group:_0x100590,type:_0x178be6,subType:_0x23c56e,id:_0x1884bf}=this[_0x3880('0x68')](_0x26d8b2);if('suggestion'!==_0x100590)continue;const _0x1e148f=this[_0x3880('0xfc')]['get'](_0x1884bf);if(null!=_0x4177f3[_0x3880('0xdb')]){_0x3880('0x108')==_0x178be6&&(_0x3cd36f=_0x3cd36f||Et(_0x4177f3[_0x3880('0xdb')],_0x26d8b2,_0x3fc693,_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')]));const _0x2424a9='attribute'==_0x178be6&&this[_0x3880('0x2a')](_0x23c56e[_0x3880('0x13a')]('|')[0x0]);if(_0x4177f3[_0x3880('0xdb')][_0x3880('0x6b')]||_0x3880('0x55')==_0x4177f3[_0x3880('0xdb')][_0x3880('0x67')][_0x3880('0x45')]||_0x3880('0x5b')==_0x178be6&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x2424a9&&!jt(_0x4177f3[_0x3880('0xdb')])||_0x3880('0xe3')==_0x178be6&&!(!xt(_0xd1fbb6=_0x4177f3[_0x3880('0xdb')])&&!function(_0x5b7ec6){return _0x5b7ec6['start']['parent']==_0x5b7ec6[_0x3880('0xe9')]['nodeBefore']&&_0x5b7ec6[_0x3880('0x64')][_0x3880('0xac')];}(_0xd1fbb6)))_0x3fc693[_0x3880('0x10')](_0x26d8b2),_0x3cd36f=!0x0;else{if(!_0x1e148f||!_0x1e148f[_0x3880('0x177')])continue;_0xaa7a94[_0x3880('0xea')](_0x1e148f);}}}var _0xd1fbb6;return _0xaa7a94[_0x3880('0x107')]>0x0&&(_0x3cd36f=!!this[_0x3880('0x69')](_0xaa7a94)||_0x3cd36f),_0x3cd36f;}),_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x111')](_0x32e2e6=>{let _0x434aa4=!0x1;for(const _0x4b7ea6 of _0x5ed81e['model']['document'][_0x3880('0x146')]['getChanges']())if(_0x3880('0xbd')==_0x4b7ea6['type'])for(const _0x33bcb9 of this['_suggestions'][_0x3880('0x80')]()){if(_0x33bcb9[_0x3880('0x28')]||!_0x33bcb9[_0x3880('0x177')])continue;const _0x13582b=_0x3880('0x5b')==_0x33bcb9[_0x3880('0x103')],_0x5c5419=Pt(_0x33bcb9),_0x159a1e=_0x5c5419&&this[_0x3880('0x2a')](_0x5c5419);if(!_0x13582b&&!_0x159a1e)continue;const _0x401704=_0x33bcb9['getFirstRange']();if(_0x401704[_0x3880('0x64')][_0x3880('0x34')]!=_0x401704['end'][_0x3880('0x34')]&&!_0x401704[_0x3880('0xe9')]['isAtEnd']){const _0x4de8fb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x401704['start']['nodeAfter'],_0x3880('0xe9')),_0x5ce7b5=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x401704[_0x3880('0x64')],_0x4de8fb);_0x32e2e6['updateMarker'](_0x33bcb9[_0x3880('0x42')](),{'range':_0x5ce7b5}),_0x434aa4=!0x0;}}return _0x434aa4;}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x316038=>this[_0x3880('0x0')](_0x316038)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x111')](_0x5661a3=>!_0x5661a3[_0x3880('0x105')][_0x3880('0x116')]&&this[_0x3880('0xee')](_0x5661a3)),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x94')]['on'](_0x3880('0x86'),(_0x2a5a65,_0x1f8608,_0x28ebfc)=>{if(null==_0x28ebfc){const {id:_0xda830c}=this[_0x3880('0x68')](_0x1f8608[_0x3880('0x30')]),_0x451b6a=this[_0x3880('0xfc')][_0x3880('0x6a')](_0xda830c);_0x451b6a&&_0x451b6a[_0x3880('0x72')](_0x1f8608[_0x3880('0x30')]);}}),_0x5ed81e[_0x3880('0x13c')][_0x3880('0x26')]['on'](_0x3880('0x162'),()=>{const _0x514f84=Array[_0x3880('0xba')](_0x5ed81e[_0x3880('0x13c')]['document'][_0x3880('0x146')][_0x3880('0x5')]())[_0x3880('0x141')](_0x2ec52a=>'suggestion'===this[_0x3880('0x68')](_0x2ec52a[_0x3880('0x30')])[_0x3880('0xf0')]);if(0x0===_0x514f84[_0x3880('0xe4')])return;_0x514f84['sort']((_0x4d8fd7,_0x46f92b)=>{const _0xfb9c14=_0x4d8fd7[_0x3880('0x5a')]['oldRange'],_0x5a9a3a=_0x46f92b[_0x3880('0x5a')][_0x3880('0xd6')];return null===_0xfb9c14&&null===_0x5a9a3a?0x0:null===_0xfb9c14&&null!==_0x5a9a3a?-0x1:null!==_0xfb9c14&&null===_0x5a9a3a?0x1:_0xfb9c14[_0x3880('0x64')]['isBefore'](_0x5a9a3a[_0x3880('0x64')])?-0x1:0x1;});const _0x22a1cd=new Set(),_0x36db65=new Set();for(const {name:_0x475c3a,data:_0x36f0c6}of _0x514f84){const {id:_0x334361}=this[_0x3880('0x68')](_0x475c3a);if(null===_0x36f0c6[_0x3880('0xd6')]){const _0x2b1305=this[_0x3880('0xeb')](_0x475c3a);_0x36db65[_0x3880('0xea')](_0x2b1305);}else{const _0x5e4fb6=this['_suggestions'][_0x3880('0x6a')](_0x334361);null!==_0x36f0c6['newRange']||_0x5e4fb6[_0x3880('0x177')]?(_0x22a1cd['add'](_0x5e4fb6['head']),_0x36db65[_0x3880('0xea')](_0x5e4fb6)):this[_0x3880('0x1f')](_0x5e4fb6);}}_0x36db65[_0x3880('0x107')]>0x0&&this['_refreshSuggestionsChain'](_0x36db65);for(const _0x66f932 of _0x22a1cd)this[_0x3880('0x89')](_0x3880('0x22'),_0x66f932);}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0x52'),(_0x1388de,_0x2f5550)=>{const _0x1eaf36=_0x2f5550[0x0];if(!this[_0x3880('0xfc')][_0x3880('0x107')])return;if(!_0x1eaf36[_0x3880('0x9f')])return;if(_0x1eaf36[_0x3880('0x105')][_0x3880('0xb3')]||!_0x1eaf36['batch'][_0x3880('0x116')])return;let _0x5b0a5b,_0x321e1f;switch(_0x1eaf36[_0x3880('0x103')]){case _0x3880('0xbd'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x11b')]),_0x321e1f=_0x5b0a5b[_0x3880('0xc2')](_0x1eaf36[_0x3880('0x176')]);break;case'split':_0x5b0a5b=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0xf9')]),_0x321e1f=_0x5ed81e['model'][_0x3880('0xc3')](_0x1eaf36[_0x3880('0x153')]);break;case _0x3880('0x104'):_0x5b0a5b=_0x5ed81e[_0x3880('0x13c')]['createPositionAt'](_0x1eaf36['targetPosition']),_0x321e1f=_0x5b0a5b['getShiftedBy'](_0x1eaf36[_0x3880('0x176')]);break;default:return;}const _0xd5b3bb=_0x5ed81e[_0x3880('0x13c')][_0x3880('0x54')](_0x5b0a5b,_0x321e1f);_0x5ed81e[_0x3880('0x13c')]['change'](()=>{for(const {suggestion:_0x47e4f3,meta:_0x371c8e}of this[_0x3880('0x10c')](_0xd5b3bb)){if(_0x47e4f3[_0x3880('0x28')])continue;if(_0x3880('0x108')==_0x47e4f3[_0x3880('0x103')])continue;const _0x2701ed=Pt(_0x47e4f3);if(_0x2701ed&&this[_0x3880('0x2a')](_0x2701ed)&&_0x3880('0x13a')!=_0x1eaf36[_0x3880('0x103')])continue;const _0x13790e=_0x47e4f3[_0x3880('0x5a')]&&_0x47e4f3[_0x3880('0x5a')][_0x3880('0x62')];(_0x3880('0x5b')!=_0x47e4f3[_0x3880('0x103')]||_0x3880('0x13a')==_0x1eaf36[_0x3880('0x103')]&&!_0x13790e)&&(_0x371c8e[_0x3880('0x63')]||'insertion'==_0x47e4f3[_0x3880('0x103')]&&_0x371c8e[_0x3880('0x1b')]||_0x47e4f3[_0x3880('0x96')]()[_0x3880('0xd7')](_0xd5b3bb)&&this[_0x3880('0xf7')](_0x47e4f3,_0x5b0a5b,_0x321e1f));}});},{'priority':_0x3880('0x59')}),_0x5ed81e['model']['on'](_0x3880('0x138'),(_0x36058f,_0xa53254)=>{const _0x10df3c=_0xa53254[0x0],_0x1a79a6=_0xa53254[0x1];if(_0x1a79a6&&_0x1a79a6[_0x3880('0x15c')])return;if(this[_0x3880('0x109')])return;if(!this[_0x3880('0x9a')][_0x3880('0x1a')])return;if(_0x10df3c['isCollapsed'])return;const _0x2888b8=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')],{start:_0x43687a,end:_0x36e323}=_0x10df3c['getFirstRange'](),_0x36d8ae=_0x43687a[_0x3880('0xce')]&&_0x2888b8[_0x3880('0x172')](_0x43687a['nodeAfter'])?null:_0x2888b8[_0x3880('0x175')](_0x43687a,'forward'),_0x1588a3=_0x36e323[_0x3880('0xb')]&&_0x2888b8[_0x3880('0x172')](_0x36e323[_0x3880('0xb')])?null:_0x2888b8[_0x3880('0x175')](_0x36e323,'backward'),_0x1baaa6=_0x5ed81e['model']['createRange'](_0x36d8ae?_0x36d8ae[_0x3880('0x64')]:_0x43687a,_0x1588a3?_0x1588a3['end']:_0x36e323);_0x5ed81e['model'][_0x3880('0xc4')](_0x50aa4b=>{this['markDeletion'](_0x1baaa6);const _0x5f0363=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')][_0x3880('0x175')](_0x1baaa6[_0x3880('0x64')]);_0x10df3c['is'](_0x3880('0x139'))?_0x50aa4b['setSelection'](_0x5f0363):_0x10df3c[_0x3880('0x12d')](_0x5f0363);}),_0x36058f['stop']();},{'priority':_0x3b6973[_0x3880('0x56')]+0xa}),_0x5ed81e[_0x3880('0x13c')]['on'](_0x3880('0xa9'),(_0x1944ea,_0x62baa7)=>{const _0x52765b=_0x62baa7[_0x62baa7[_0x3880('0xe4')]-0x1];_0x52765b&&_0x52765b['forceDefaultExecution']||this[_0x3880('0x109')]||this[_0x3880('0x9a')]['value']&&(_0x5ed81e[_0x3880('0x13c')][_0x3880('0xc4')](()=>{let _0x328d0c=_0x5ed81e['model'][_0x3880('0xa9')](_0x62baa7[0x0],_0x62baa7[0x1],_0x62baa7[0x2],{'forceDefaultExecution':!0x0});if(!_0x328d0c)return;_0x1944ea[_0x3880('0x8a')]=_0x328d0c['clone']();const _0x24fc82=_0x328d0c[_0x3880('0xe9')][_0x3880('0xb')],_0x2372d9=_0x5ed81e[_0x3880('0x13c')][_0x3880('0xcf')];_0x24fc82&&_0x2372d9[_0x3880('0xa')](_0x24fc82)&&!_0x2372d9[_0x3880('0x159')](_0x24fc82)&&(_0x328d0c=_0x5ed81e[_0x3880('0x13c')]['createRange'](_0x328d0c[_0x3880('0x64')],_0x5ed81e['model'][_0x3880('0xc3')](_0x24fc82,_0x3880('0xe9')))),this[_0x3880('0xe5')](_0x328d0c);}),_0x1944ea[_0x3880('0xe')]());},{'priority':'high'}),this['editor'][_0x3880('0x41')][_0x3880('0xea')](_0x3880('0xf8'),this[_0x3880('0x9a')]),this[_0x3880('0xb5')](_0x3880('0xf8'));const _0x5e3f0a=new _0x3b9859(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')]('acceptSuggestion',_0x5e3f0a),this[_0x3880('0xb5')]('acceptSuggestion');const _0x46937b=new _0x106d4d(_0x5ed81e,this[_0x3880('0xfc')]);_0x5ed81e['commands']['add']('discardSuggestion',_0x46937b),this['enableCommand'](_0x3880('0x10d')),_0x5ed81e[_0x3880('0x41')]['add'](_0x3880('0xbe'),new _0x47f0a8(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0xbe')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x14a'),new _0x47f0a8(_0x5ed81e,_0x46937b,this['_suggestions'])),this[_0x3880('0xb5')](_0x3880('0x14a')),_0x5ed81e['commands'][_0x3880('0xea')](_0x3880('0x171'),new _0x46f23d(_0x5ed81e,_0x5e3f0a,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x171')),_0x5ed81e[_0x3880('0x41')][_0x3880('0xea')](_0x3880('0x90'),new _0x46f23d(_0x5ed81e,_0x46937b,this[_0x3880('0xfc')])),this[_0x3880('0xb5')](_0x3880('0x90'));const _0x59dab4=_0x5ed81e[_0x3880('0xd2')][_0x3880('0x6a')]('CommentsRepository');this['listenTo'](_0x59dab4,_0x3880('0x158'),(_0x58f76b,{threadId:_0x2ee802})=>{const _0x1cf9ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2ee802);_0x1cf9ec&&_0x1cf9ec[_0x3880('0x83')]&&0x1===_0x1cf9ec[_0x3880('0x83')]['length']&&this['_updateSuggestionData'](_0x2ee802,{'hasComments':!0x0});},{'priority':'low'}),this[_0x3880('0x121')](_0x59dab4,'removeComment',(_0x10e36d,{threadId:_0x11b0bf})=>{const _0x2d46ec=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x11b0bf);_0x2d46ec&&_0x2d46ec[_0x3880('0x83')]&&!_0x2d46ec[_0x3880('0x83')][_0x3880('0xe4')]&&this[_0x3880('0x13b')](_0x11b0bf,{'hasComments':!0x1});},{'priority':_0x3880('0x4b')});}set['adapter'](_0x3dac06){if(this[_0x3880('0x2b')])throw new _0x6be0f0('track-changes-adapter-already-set',this);this[_0x3880('0x2b')]=_0x3dac06;}get['adapter'](){return this[_0x3880('0x2b')];}[_0x3880('0xfa')]({skipNotAttached:_0x2dae49=!0x1,toJSON:_0x4d3e9c=!0x1}={}){const _0x33f09d=[];for(const _0x516553 of this['_suggestions'][_0x3880('0x80')]())_0x2dae49&&!_0x516553[_0x3880('0x177')]||_0x33f09d[_0x3880('0x8d')](_0x516553);return _0x4d3e9c?_0x33f09d[_0x3880('0x137')](_0x4d7e0d=>_0x4d7e0d['toJSON']()):_0x33f09d;}[_0x3880('0x110')](_0x251079){const _0x2d34aa=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x251079);if(!_0x2d34aa)throw new _0x6be0f0(_0x3880('0xe0'),this);return _0x2d34aa;}[_0x3880('0x145')](_0xe39e09){return this['_suggestions'][_0x3880('0xb0')](_0xe39e09);}[_0x3880('0x23')](_0x59c5b8){const {authorId:_0xb4c25b,id:_0x2a65ad,attributes:_0x3a87ce}=_0x59c5b8,[_0x28ed65,_0x3ccf3e]=_0x59c5b8[_0x3880('0x103')][_0x3880('0x13a')](':'),_0x51711d=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x2a65ad)||this[_0x3880('0x163')](_0x28ed65,_0x3ccf3e,_0x2a65ad,_0xb4c25b,_0x3a87ce);if(this[_0x3880('0x170')](_0x51711d),this[_0x3880('0xa1')](_0x51711d,_0x28ed65,_0x3ccf3e||null,_0xb4c25b),_0x51711d[_0x3880('0xb9')]=_0x59c5b8[_0x3880('0xb9')],_0x51711d['_isDataLoaded']=!0x0,_0x3a87ce&&_0x3a87ce[_0x3880('0x166')]){const _0x2148a5=_0x3a87ce['@external'],_0x3848a1=this['_getExternalAuthor'](_0x2148a5[_0x3880('0x155')]);_0x51711d[_0x3880('0xb2')]=_0x2148a5[_0x3880('0xb9')],_0x51711d[_0x3880('0x7a')]=_0x3848a1,_0x51711d[_0x3880('0x44')]=!0x0;}else _0x51711d[_0x3880('0xb2')]=_0x59c5b8[_0x3880('0xb9')];switch(_0x59c5b8[_0x3880('0x5a')]&&(_0x51711d[_0x3880('0x5a')]=_0x59c5b8[_0x3880('0x5a')]),_0x59c5b8[_0x3880('0x39')]&&(_0x51711d[_0x3880('0x39')]=_0x59c5b8[_0x3880('0x39')]),this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]||(_0x51711d['_saved']=!0x0),this[_0x3880('0xf6')][_0x3880('0x6a')](_0x51711d)){case _0x3880('0xda'):this[_0x3880('0xf6')]['set'](_0x51711d,_0x3880('0xf1'));break;case _0x3880('0x10a'):_0x51711d[_0x3880('0x177')]?(this[_0x3880('0x13f')](new Set([_0x51711d])),this[_0x3880('0x69')](new Set([_0x51711d])),this['_suggestionState']['set'](_0x51711d,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x51711d)):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x51711d,_0x3880('0x6c'));}return _0x51711d;}[_0x3880('0x70')](_0x376fba){this['forceDefaultExecution'](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x2734e8 of _0x376fba[_0x3880('0x82')]())_0x2734e8['accept']();});});}[_0x3880('0x10d')](_0x4a77b8){this[_0x3880('0x15c')](()=>{this[_0x3880('0x178')]['model'][_0x3880('0xc4')](()=>{for(const _0x22b328 of _0x4a77b8[_0x3880('0x82')]())_0x22b328[_0x3880('0x7f')]();});});}[_0x3880('0xb5')](_0x43cc7e,_0x570c6b){const _0x22852a=this[_0x3880('0x178')][_0x3880('0x41')][_0x3880('0x6a')](_0x43cc7e);if(!_0x22852a)throw new _0x6be0f0(_0x3880('0x2f'),this,{'commandName':_0x43cc7e});if(this['_enabledCommands'][_0x3880('0xb0')](_0x22852a))throw new _0x6be0f0('track-changes-enable-command-twice',this,{'commandName':_0x43cc7e});this['_enabledCommands'][_0x3880('0xea')](_0x22852a),_0x570c6b&&_0x22852a['on'](_0x3880('0x16a'),(_0x3b8769,_0x2521f8)=>{this[_0x3880('0x9a')][_0x3880('0x1a')]&&(this[_0x3880('0x109')]||(_0x2521f8[_0x3880('0xe4')]>0x0&&_0x2521f8[_0x2521f8['length']-0x1]&&_0x2521f8[_0x2521f8['length']-0x1]['forceDefaultExecution']?_0x2521f8[_0x3880('0xe1')]():(_0x3b8769['return']=_0x570c6b((..._0x35d9da)=>_0x22852a[_0x3880('0x16a')](..._0x35d9da,{'forceDefaultExecution':!0x0}),..._0x2521f8),_0x3b8769[_0x3880('0xe')]())));},{'priority':_0x3880('0x150')});}[_0x3880('0x15c')](_0x4adba9){let _0x209aba,_0x5bac40;const _0x349c62=this[_0x3880('0x109')];this[_0x3880('0x109')]=!0x0;try{_0x209aba=_0x4adba9();}catch(_0x99cd33){_0x5bac40=_0x99cd33;}return _0x349c62||(this[_0x3880('0x109')]=!0x1),_0x5bac40&&_0x6be0f0['rethrowUnexpectedError'](_0x5bac40,this),_0x209aba;}[_0x3880('0xe5')](_0xecf6eb,_0x47cebe=null,_0xa319b={}){if(_0xecf6eb['isCollapsed'])return null;const _0x39e429=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const {suggestion:_0x557a6a,meta:_0x4322b1}of this['_findSuggestions'](_0xecf6eb,_0x3880('0x115')))if(_0x4322b1[_0x3880('0x1b')]){if(!_0x4322b1[_0x3880('0xbb')]){if(_0x4322b1[_0x3880('0x63')]){if(!this[_0x3880('0x79')]||!Gt(_0x557a6a,_0xa319b))continue;return _0x557a6a;}if(Gt(_0x557a6a,_0xa319b))return _0x557a6a;this[_0x3880('0xf7')](_0x557a6a,_0xecf6eb[_0x3880('0x64')],_0xecf6eb['end']);break;}if(_0x47cebe==_0x557a6a[_0x3880('0x12e')]&&Gt(_0x557a6a,_0xa319b)){const _0x38230e=_0x557a6a[_0x3880('0x96')]();return _0x38230e[_0x3880('0x64')][_0x3880('0x169')](_0xecf6eb['end'])?this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0xecf6eb['start'],_0x38230e[_0x3880('0xe9')])):this[_0x3880('0x123')](_0x557a6a,this[_0x3880('0x13d')][_0x3880('0x54')](_0x38230e['start'],_0xecf6eb[_0x3880('0xe9')])),_0x557a6a;}}const _0x43129f=_0x5396c2(),_0x256938=_0x39e429['id'],_0x42d6b8=_0x47cebe?_0x3880('0x154')+_0x47cebe:_0x3880('0x115'),_0x1182d6=this['_setSuggestionData']({'id':_0x43129f,'type':_0x42d6b8,'createdAt':new Date(),'authorId':_0x256938,'attributes':_0xa319b});return this[_0x3880('0x25')](_0x42d6b8,_0x43129f,_0x256938,_0xecf6eb),_0x1182d6;}[_0x3880('0xfb')](_0x3b3a08,_0x300049=_0x3880('0x88'),_0x35a2fa={}){const _0x4f0e8e=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x3d55b7=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x115'),_0x300049,_0x3880('0x10b'));for(const _0x4af7d9 of this['getSuggestions']())if(_0x4af7d9[_0x3880('0x7a')]['id']==_0x4f0e8e['id']&&_0x3880('0x115')==_0x4af7d9[_0x3880('0x103')]&&_0x4af7d9[_0x3880('0x12e')]==_0x300049&&Gt(_0x4af7d9,_0x35a2fa)&&(_0x3d55b7(_0x4af7d9[_0x3880('0x33')](),_0x3b3a08)||_0x3d55b7(_0x3b3a08,_0x4af7d9['getRanges']()))){for(const _0x2e8be6 of _0x3b3a08)_0x4af7d9['addRange'](_0x2e8be6);return _0x4af7d9;}for(const {suggestion:_0x3b3bdc,meta:_0x29c103}of this['_findSuggestions'](_0x3b3a08,_0x3880('0x115'))){if(!_0x29c103[_0x3880('0x1b')])continue;if(!this[_0x3880('0x79')]&&_0x29c103[_0x3880('0x63')])continue;if(!Gt(_0x3b3bdc,_0x35a2fa))continue;let _0x2735e7=!0x0;for(const _0x31b250 of _0x3b3bdc[_0x3880('0x33')]())for(const _0x3824e4 of _0x3b3a08)if(!_0x31b250[_0x3880('0xd7')](_0x3824e4)){_0x2735e7=!0x1;break;}if(_0x2735e7)return _0x3b3bdc;}const _0xbe2f6f=_0x5396c2(),_0x519429=_0x4f0e8e['id'],_0x49ea14=_0x3880('0x154')+_0x300049,_0x28f471=this['_setSuggestionData']({'id':_0xbe2f6f,'type':_0x49ea14,'createdAt':new Date(),'authorId':_0x519429,'attributes':_0x35a2fa});for(const _0x2d8323 of _0x3b3a08)this[_0x3880('0x25')](_0x49ea14,_0xbe2f6f,_0x519429,_0x2d8323,_0x256f0e[_0x3880('0x14f')]());return _0x28f471;}[_0x3880('0x31')](_0x26d141,_0x416da1,_0x5d4205=null,_0x25526d={}){if(_0x5d4205=_0x5d4205||Rt(_0x416da1),_0x26d141['isCollapsed'])return null;if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x2e73ba=this[_0x3880('0x17')][_0x3880('0x12a')]('formatInline',_0x5d4205,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x2e73ba([_0x26d141],_0x416da1,_0x25526d)),null;}const _0x51c069=this['editor'][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x57be9f=[];if(_0x3880('0x85')!==this[_0x3880('0x124')])for(const {suggestion:_0x3e1f82,meta:_0x561c16}of this[_0x3880('0x10c')](_0x26d141,'insertion'))_0x561c16[_0x3880('0x1b')]&&!_0x561c16[_0x3880('0xf2')]&&_0x57be9f['push'](..._0x3e1f82[_0x3880('0x33')]());const _0x20960e=function(_0x3f9c07,_0x18ba97){const _0x4dcb8c=[];for(const _0x59a99b of _0x18ba97){const _0x15ec67=_0x3f9c07[_0x3880('0x122')](_0x59a99b);_0x15ec67&&_0x4dcb8c[_0x3880('0x8d')](_0x15ec67);}return _0x4dcb8c;}(_0x26d141,_0x57be9f),_0x1dc53a=function(_0x1490b1,_0x251ec3){const _0x408796=[_0x1490b1];for(const _0xa3f092 of _0x251ec3){let _0xa1b3ac=0x0;for(;_0xa1b3ac<_0x408796[_0x3880('0xe4')];){const _0xe64b63=_0x408796[_0xa1b3ac]['getDifference'](_0xa3f092);_0x408796[_0x3880('0x12c')](_0xa1b3ac,0x1,..._0xe64b63),_0xa1b3ac+=_0xe64b63['length'];}}return _0x408796;}(_0x26d141,_0x57be9f);_0x20960e[_0x3880('0xe4')]&&this['_model'][_0x3880('0xc4')](()=>{for(const _0x43ec7b of _0x20960e){const _0x39a18a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x108'),_0x5d4205,_0x3880('0x77'));this[_0x3880('0x15c')](()=>_0x39a18a([_0x43ec7b],_0x416da1,_0x25526d));}});for(const _0x1df18f of _0x1dc53a){let _0x1847fe=null,_0x15441a=_0x1df18f[_0x3880('0x64')],_0x1eb23b=_0x1df18f[_0x3880('0xe9')];for(const {suggestion:_0x1b8ea5,meta:_0x3e38b8}of this[_0x3880('0x10c')](_0x1df18f,'formatInline')){if(!_0x3e38b8[_0x3880('0x1b')])continue;if(_0x1b8ea5[_0x3880('0x12e')]!=_0x5d4205)continue;if(!Gt(_0x1b8ea5,_0x25526d))continue;const _0x4e22b7=_0x1b8ea5['getFirstRange']();if(_0x4e22b7[_0x3880('0xd7')](_0x1df18f,!0x0))return null;_0x15441a=_0x15441a[_0x3880('0x136')](_0x4e22b7[_0x3880('0x64')])?_0x15441a:_0x4e22b7['start'],_0x1eb23b=_0x1eb23b[_0x3880('0x160')](_0x4e22b7['end'])?_0x1eb23b:_0x4e22b7['end'],_0x1847fe?_0x4e22b7['start'][_0x3880('0x136')](_0x1847fe[_0x3880('0x96')]()[_0x3880('0x64')])?(_0x1847fe[_0x3880('0x113')](),_0x1847fe=_0x1b8ea5):_0x1b8ea5['removeMarkers']():_0x1847fe=_0x1b8ea5;}const _0x58e6c1=this[_0x3880('0x13d')][_0x3880('0x54')](_0x15441a,_0x1eb23b);if(_0x1847fe)this['_setSuggestionRange'](_0x1847fe,_0x58e6c1);else{const _0x4a059b=_0x5396c2(),_0x4cee8a=_0x51c069['id'];this['_setSuggestionData']({'id':_0x4a059b,'type':_0x3880('0x152')+_0x5d4205,'data':_0x416da1,'createdAt':new Date(),'authorId':_0x4cee8a,'attributes':_0x25526d}),this[_0x3880('0x25')]('formatInline:'+_0x5d4205,_0x4a059b,_0x4cee8a,_0x58e6c1);}}return null;}[_0x3880('0x50')](_0x41ac17,_0x3c6800,_0x4534a7=[],_0x177f61=null,_0x633dc7={}){_0x3c6800['formatGroupId']||(_0x3c6800['formatGroupId']=_0x3c6800[_0x3880('0x140')]),_0x3c6800[_0x3880('0x62')]=_0x41ac17['is'](_0x3880('0xfe')),_0x177f61=_0x177f61||Rt(_0x3c6800);const _0x556c19=_0x4534a7[_0x3880('0x137')](_0x20c8f7=>Ut(_0x20c8f7,this[_0x3880('0x13d')])),_0x2ecc5d=_0x41ac17['is'](_0x3880('0xfe'))?_0x41ac17:Ut(_0x41ac17,this[_0x3880('0x13d')]);if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x5ddf8b=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0x5b'),_0x177f61,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x5ddf8b([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}_0x556c19[_0x3880('0x8d')](_0x2ecc5d);let _0x34b4fb=!0x0;for(const _0x1ac102 of _0x556c19)if(!this[_0x3880('0x126')](_0x1ac102)){_0x34b4fb=!0x1;break;}if(_0x34b4fb&&'always'!==this[_0x3880('0x124')]){const _0x1870b9=this[_0x3880('0x17')]['getSuggestionCallback']('formatBlock',_0x177f61,_0x3880('0x77'));return this['forceDefaultExecution'](()=>_0x1870b9([_0x2ecc5d],_0x3c6800,_0x633dc7)),null;}let _0x110253=null,_0x2e4445=_0x2ecc5d['start'],_0x4abaf7=_0x2ecc5d[_0x3880('0xe9')];for(const {suggestion:_0x4d506c,meta:_0x36a46c}of this[_0x3880('0x10c')](_0x2ecc5d,_0x3880('0x5b'))){if(!_0x36a46c[_0x3880('0x1b')])continue;if(_0x36a46c[_0x3880('0xbb')]||_0x36a46c[_0x3880('0x63')]||_0x36a46c[_0x3880('0xf2')])continue;if(_0x4d506c[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x3c6800[_0x3880('0x11e')])continue;if(!Gt(_0x4d506c,_0x633dc7))continue;const _0xda0b5f=_0x4d506c[_0x3880('0x96')]();if(_0x4d506c[_0x3880('0x12e')]==_0x177f61){if(_0xda0b5f['containsRange'](_0x2ecc5d,!0x0))return null;_0x2e4445=_0x2e4445[_0x3880('0x136')](_0xda0b5f[_0x3880('0x64')])?_0x2e4445:_0xda0b5f[_0x3880('0x64')],_0x4abaf7=_0x4abaf7['isAfter'](_0xda0b5f[_0x3880('0xe9')])?_0x4abaf7:_0xda0b5f[_0x3880('0xe9')],_0x110253?_0xda0b5f[_0x3880('0x64')][_0x3880('0x136')](_0x110253[_0x3880('0x96')]()['start'])?(_0x110253['removeMarkers'](),_0x110253=_0x4d506c):_0x4d506c[_0x3880('0x113')]():_0x110253=_0x4d506c;}else{const _0x221ee4=_0x2ecc5d[_0x3880('0x122')](_0xda0b5f);this[_0x3880('0x7b')](_0x4d506c,_0x221ee4);}}const _0x350771=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x519ee1=_0x5396c2(),_0x366b48=_0x350771['id'];if(_0x110253)return this['_setSuggestionRange'](_0x110253,this[_0x3880('0x13d')][_0x3880('0x54')](_0x2e4445,_0x4abaf7)),_0x110253;{const _0x15859d=this['_setSuggestionData']({'id':_0x519ee1,'type':'formatBlock:'+_0x177f61,'data':_0x3c6800,'createdAt':new Date(),'authorId':_0x366b48,'attributes':_0x633dc7});return this[_0x3880('0x25')]('formatBlock:'+_0x177f61,_0x519ee1,_0x366b48,this['_model']['createRange'](_0x2e4445,_0x4abaf7)),_0x15859d;}}[_0x3880('0x16f')](_0x2fb61c,_0x37760f,_0x50b399=[],_0x419b82=null,_0x331e55={}){_0x37760f[_0x3880('0x11e')]||(_0x37760f[_0x3880('0x11e')]=_0x37760f[_0x3880('0x140')]);const _0x3f1638=_0x2fb61c[0x0];_0x37760f['multipleBlocks']=_0x3f1638['is']('range'),_0x419b82=_0x419b82||Rt(_0x37760f);const _0xe33d8d=_0x50b399[_0x3880('0x137')](_0x12659c=>Ut(_0x12659c,this['_model'])),_0x33a0d0=_0x3f1638['is'](_0x3880('0xfe'))?_0x2fb61c:_0x2fb61c[_0x3880('0x137')](_0x5d2256=>Ut(_0x5d2256,this[_0x3880('0x13d')]));if(_0x3880('0xc')===this[_0x3880('0x124')]){const _0x108cd3=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,'accept');return this[_0x3880('0x15c')](()=>_0x108cd3(_0x33a0d0,_0x37760f,_0x331e55)),null;}_0xe33d8d[_0x3880('0x8d')](..._0x33a0d0);let _0x5da1f1=!0x0;for(const _0x5d1b67 of _0xe33d8d)if(!this[_0x3880('0x126')](_0x5d1b67)){_0x5da1f1=!0x1;break;}if(_0x5da1f1&&_0x3880('0x85')!==this['_trackFormatChanges']){const _0x3bdb7a=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0x5b'),_0x419b82,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x3bdb7a(_0x33a0d0,_0x37760f,_0x331e55)),null;}const _0x290dfb=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me'];for(const _0x3980c6 of this[_0x3880('0xfa')]()){if(_0x3980c6[_0x3880('0x7a')]['id']!=_0x290dfb['id'])continue;if(_0x3880('0x5b')!=_0x3980c6[_0x3880('0x103')]||_0x3980c6[_0x3880('0x5a')][_0x3880('0x11e')]!=_0x37760f[_0x3880('0x11e')])continue;if(!Gt(_0x3980c6,_0x331e55))continue;const _0x3f602e=_0x3980c6[_0x3880('0x12e')]==_0x419b82;for(let _0x3a04f4=0x0;_0x3a04f4<_0x33a0d0[_0x3880('0xe4')];_0x3a04f4++){const _0x49b991=_0x33a0d0[_0x3a04f4];for(const _0x5767f2 of _0x3980c6['getMarkers']()){const _0x1b78c9=_0x5767f2[_0x3880('0x9c')]();if(_0x49b991[_0x3880('0x169')](_0x1b78c9)){_0x3f602e?(_0x33a0d0[_0x3880('0x12c')](_0x3a04f4,0x1),_0x3a04f4--):_0x3980c6[_0x3880('0x10')](_0x5767f2[_0x3880('0x30')]);break;}}}}if(0x0==_0x33a0d0[_0x3880('0xe4')])return null;const _0xa9a492=this[_0x3880('0x17')][_0x3880('0x12a')]('formatBlock',_0x419b82,_0x3880('0x10b'));for(const _0x19736a of this[_0x3880('0xfa')]())if(_0x19736a[_0x3880('0x7a')]['id']==_0x290dfb['id']&&_0x3880('0x5b')==_0x19736a[_0x3880('0x103')]&&_0x19736a[_0x3880('0x5a')][_0x3880('0x11e')]==_0x37760f['formatGroupId']&&_0x19736a['subType']==_0x419b82&&Gt(_0x19736a,_0x331e55)&&(_0xa9a492(_0x19736a[_0x3880('0x33')](),_0x33a0d0)||_0xa9a492(_0x33a0d0,_0x19736a[_0x3880('0x33')]()))){for(const _0x2f6c79 of _0x33a0d0)_0x19736a[_0x3880('0x57')](_0x2f6c79);return _0x19736a;}const _0x7c98bd=_0x5396c2(),_0x3b91f0=_0x290dfb['id'],_0x5c1661='formatBlock:'+_0x419b82,_0x256905=this[_0x3880('0xd5')]({'id':_0x7c98bd,'type':_0x5c1661,'data':_0x37760f,'createdAt':new Date(),'authorId':_0x3b91f0,'attributes':_0x331e55});for(const _0x1a2993 of _0x33a0d0)this[_0x3880('0x25')](_0x5c1661,_0x7c98bd,_0x3b91f0,_0x1a2993,_0x256f0e[_0x3880('0x14f')]());return _0x256905;}[_0x3880('0x149')](_0x5a40df,_0x522838=null,_0xbe16d7={}){if(_0x5a40df[_0x3880('0x6b')])return null;const _0x57b455=this[_0x3880('0x178')][_0x3880('0xd2')]['get'](_0x3880('0xd0'))['me'],_0x2a364d=new _0x2595e6(_0x5a40df[_0x3880('0x64')],_0x5a40df[_0x3880('0xe9')]);for(const {suggestion:_0x207fec,meta:_0x46de39}of this[_0x3880('0x10c')](_0x2a364d,_0x3880('0x115')))if(_0x46de39[_0x3880('0x1b')]&&!_0x46de39['isNextTo']){if(_0x207fec[_0x3880('0x28')]){const _0x457673=_0x207fec[_0x3880('0x33')]()[_0x3880('0x141')](_0x51dc68=>_0x3880('0x55')!=_0x51dc68['root']['rootName']);_0x457673[_0x3880('0x73')](_0x4b314b=>_0x2a364d[_0x3880('0xd7')](_0x4b314b,!0x0))&&_0x207fec[_0x3880('0x7f')]();if(_0x457673[_0x3880('0x3c')](_0x378aae=>_0x378aae[_0x3880('0xd7')](_0x2a364d,!0x0))){const _0x45b88c=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x522838,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x45b88c([_0x2a364d],null,_0xbe16d7)),null;}}else{const _0x5d3f68=_0x2a364d[_0x3880('0x122')](_0x207fec[_0x3880('0x96')]());null!==_0x5d3f68&&_0x207fec[_0x3880('0x131')]([_0x5d3f68],null,_0xbe16d7);}}if(_0x2a364d[_0x3880('0x120')](),_0x2a364d[_0x3880('0x6b')]||_0x3880('0x55')==_0x2a364d[_0x3880('0x67')][_0x3880('0x45')])return null;let _0x24f542=null,_0x477205=_0x2a364d[_0x3880('0x64')],_0xa75478=_0x2a364d[_0x3880('0xe9')];const _0x1fe2ff=this['_findSuggestions'](_0x2a364d,'deletion');for(const {suggestion:_0x269aa2,meta:_0xb77287}of _0x1fe2ff){const _0x32fefb=this['_model'][_0x3880('0x54')](_0x477205,_0xa75478);if(_0xb77287['isOwn']&&(this[_0x3880('0x79')]||!_0xb77287[_0x3880('0x63')]&&!_0xb77287[_0x3880('0xf2')])){if(_0x269aa2[_0x3880('0x28')]){if(!Gt(_0x269aa2,_0xbe16d7))continue;let _0x37b368=!0x0;for(const _0x352d43 of _0x269aa2[_0x3880('0x33')]()){if(_0x352d43[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;_0x32fefb[_0x3880('0xd7')](_0x352d43)||(_0x37b368=!0x1);}_0x37b368&&_0x269aa2['discard']();}else{const _0xd52db=_0x269aa2[_0x3880('0x96')]();if(_0xd52db[_0x3880('0xd7')](_0x32fefb,!0x0))return _0x269aa2;if(!Gt(_0x269aa2,_0xbe16d7)){_0x32fefb[_0x3880('0xd7')](_0xd52db)?_0x269aa2[_0x3880('0x113')]():_0xd52db[_0x3880('0xb4')](_0x477205)?_0x477205=_0xd52db[_0x3880('0xe9')]:_0xd52db['containsPosition'](_0xa75478)&&(_0xa75478=_0xd52db[_0x3880('0x64')]);continue;}_0x477205=_0x477205[_0x3880('0x136')](_0xd52db['start'])?_0x477205:_0xd52db[_0x3880('0x64')],_0xa75478=_0xa75478[_0x3880('0x160')](_0xd52db[_0x3880('0xe9')])?_0xa75478:_0xd52db[_0x3880('0xe9')],_0xbe16d7=Object[_0x3880('0x11')]({},_0x269aa2[_0x3880('0x39')]),_0x24f542?_0xd52db[_0x3880('0x64')][_0x3880('0x136')](_0x24f542['getFirstRange']()[_0x3880('0x64')])?(_0x24f542[_0x3880('0x113')](),_0x24f542=_0x269aa2):_0x269aa2[_0x3880('0x113')]():_0x24f542=_0x269aa2;}}}if(_0x24f542)return this[_0x3880('0x123')](_0x24f542,this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478)),_0x24f542;{const _0x2dc23a=_0x5396c2(),_0x519f7e=this[_0x3880('0x13d')][_0x3880('0x54')](_0x477205,_0xa75478),_0x2a8bde=_0x57b455['id'],_0x209101=_0x522838?_0x3880('0x38')+_0x522838:_0x3880('0xe3'),_0x1d1762=this['_setSuggestionData']({'id':_0x2dc23a,'type':_0x209101,'createdAt':new Date(),'authorId':_0x2a8bde,'attributes':_0xbe16d7});return this[_0x3880('0x25')](_0x209101,_0x2dc23a,_0x2a8bde,_0x519f7e),_0x1d1762;}}[_0x3880('0x12')](_0x583b89,_0x28e189='multi',_0x248f78={}){const _0x42f502=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')]('Users')['me'],_0x169266=_0x583b89['map'](_0x3191c1=>new _0x2595e6(_0x3191c1[_0x3880('0x64')],_0x3191c1[_0x3880('0xe9')])),_0x5d198a=new Set();for(const {suggestion:_0x6c359b,meta:_0x57d753}of this['_findSuggestions'](_0x169266,_0x3880('0x115')))_0x57d753[_0x3880('0x1b')]&&!_0x57d753['isNextTo']&&_0x5d198a[_0x3880('0xea')](_0x6c359b);for(const _0x315d9d of _0x5d198a)if(_0x315d9d[_0x3880('0x28')]){const _0x3b13cf=_0x315d9d[_0x3880('0x33')]();(!_0x315d9d['attributes']||!_0x315d9d[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x3b13cf[_0x3880('0x73')](_0x299835=>_0x169266['some'](_0x55bb43=>_0x55bb43[_0x3880('0xd7')](_0x299835,!0x0)))&&_0x315d9d[_0x3880('0x7f')]());if(_0x169266[_0x3880('0x73')](_0x384c1b=>_0x3b13cf[_0x3880('0x3c')](_0xa80e8a=>_0xa80e8a[_0x3880('0xd7')](_0x384c1b,!0x0)))){const _0x52dec7=this['_suggestionFactory'][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x52dec7(_0x583b89,null,_0x248f78)),null;}}else{const _0x5cdc89=_0x315d9d[_0x3880('0x96')]();_0x169266[_0x3880('0x3c')](_0x4f16b6=>_0x4f16b6[_0x3880('0xd7')](_0x5cdc89,!0x0))&&_0x315d9d[_0x3880('0x7f')]();if(_0x169266[_0x3880('0x73')](_0x4c95bb=>_0x5cdc89[_0x3880('0xd7')](_0x4c95bb,!0x0))){const _0x4dcb7e=this[_0x3880('0x17')][_0x3880('0x12a')](_0x3880('0xe3'),_0x28e189,_0x3880('0x77'));return this[_0x3880('0x15c')](()=>_0x4dcb7e(_0x169266,null,_0x248f78)),null;}}const _0x3a688f=this[_0x3880('0x17')]['getSuggestionCallback'](_0x3880('0xe3'),_0x28e189,_0x3880('0x10b'));let _0x4f3b3f=null;for(const _0x952572 of this[_0x3880('0xfa')]())if(_0x952572[_0x3880('0x7a')]['id']==_0x42f502['id']&&_0x952572['isInContent']&&_0x3880('0xe3')==_0x952572[_0x3880('0x103')]&&_0x952572[_0x3880('0x12e')]==_0x28e189&&Gt(_0x952572,_0x248f78)&&(_0x3a688f(_0x952572[_0x3880('0x33')](),_0x169266)||_0x3a688f(_0x169266,_0x952572['getRanges']()))){if(_0x4f3b3f){if(_0x952572[_0x3880('0x83')]&&_0x952572[_0x3880('0x83')]['length'])continue;for(const _0x8e47b8 of _0x952572[_0x3880('0x33')]())_0x4f3b3f[_0x3880('0xa4')](_0x8e47b8)||_0x4f3b3f[_0x3880('0x57')](_0x8e47b8);_0x952572[_0x3880('0x113')]();}else{_0x4f3b3f=_0x952572;for(const _0x2de8fc of _0x169266)_0x952572[_0x3880('0xa4')](_0x2de8fc)||_0x952572[_0x3880('0x57')](_0x2de8fc);}}if(_0x4f3b3f)return _0x4f3b3f;_0x5d198a[_0x3880('0x14')]();for(const {suggestion:_0x580e38,meta:_0x1afc84}of this[_0x3880('0x10c')](_0x169266,_0x3880('0xe3')))_0x1afc84[_0x3880('0x1b')]&&(this[_0x3880('0x79')]||!_0x1afc84[_0x3880('0x63')]&&!_0x1afc84[_0x3880('0xf2')])&&Gt(_0x580e38,_0x248f78)&&_0x5d198a[_0x3880('0xea')](_0x580e38);for(const _0x26e717 of _0x5d198a){const _0x435575=_0x26e717['getRanges']();if(!_0x248f78||!_0x248f78[_0x3880('0x8f')]){if(_0x169266[_0x3880('0x73')](_0xac847f=>_0x435575[_0x3880('0x3c')](_0x2c1b98=>_0x2c1b98[_0x3880('0xd7')](_0xac847f,!0x0))))return _0x26e717;}(!_0x26e717['attributes']||!_0x26e717[_0x3880('0x39')][_0x3880('0x8f')])&&(_0x435575[_0x3880('0x73')](_0x4fba42=>_0x169266[_0x3880('0x3c')](_0x2c36a3=>_0x2c36a3[_0x3880('0xd7')](_0x4fba42,!0x0)))&&_0x26e717[_0x3880('0x7f')]());}const _0x2c647d=_0x5396c2(),_0x267c8f=_0x42f502['id'],_0x1d9928=_0x3880('0x38')+_0x28e189,_0x1320d3=this[_0x3880('0xd5')]({'id':_0x2c647d,'type':_0x1d9928,'createdAt':new Date(),'authorId':_0x267c8f,'attributes':_0x248f78});for(const _0x730371 of _0x169266)_0x730371[_0x3880('0x120')](),_0x730371['isCollapsed']||_0x3880('0x55')==_0x730371[_0x3880('0x67')]['rootName']||this[_0x3880('0x25')](_0x1d9928,_0x2c647d,_0x267c8f,_0x730371,_0x256f0e[_0x3880('0x14f')]());return _0x1320d3;}[_0x3880('0x1e')](_0x46d0aa,_0x2d2414,_0x3b28c6,_0x5367fd,_0xe2c7fe){if(_0x46d0aa[_0x3880('0x6b')])return[];if('never'===this[_0x3880('0x124')])return[];const _0x3ceaa9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0xd0'))['me']['id'],_0x24e28a=Array[_0x3880('0xba')](this[_0x3880('0xfc')][_0x3880('0x80')]())['filter'](_0x2f659d=>_0x3880('0x76')==_0x2f659d[_0x3880('0x103')]&&_0x2f659d[_0x3880('0x5a')][_0x3880('0x61')]==_0x2d2414&&_0x2f659d[_0x3880('0xa4')](_0x46d0aa));if('default'===this[_0x3880('0x124')]){const _0x2b65d1=this[_0x3880('0x10c')](_0x46d0aa,'insertion')[_0x3880('0x141')](({meta:_0x1bb0f8})=>_0x1bb0f8[_0x3880('0x1b')]&&!_0x1bb0f8[_0x3880('0xf2')]&&!_0x1bb0f8[_0x3880('0xbb')])['map'](({suggestion:_0x3df3d1})=>_0x3df3d1);_0x24e28a['unshift'](..._0x2b65d1);}const _0x4f1a30=new Map([[_0x46d0aa,_0x3b28c6]]);for(const _0x1ded23 of _0x24e28a){const _0x288118=_0x3880('0x76')==_0x1ded23[_0x3880('0x103')]?_0x1ded23[_0x3880('0x5a')][_0x3880('0x15d')]:void 0x0,_0x9649ae=_0x1ded23['getFirstRange'](),_0x356c49=Array['from'](_0x4f1a30[_0x3880('0x15a')]())[_0x3880('0x20')](_0x1570d0=>_0x1570d0[_0x3880('0x132')](_0x9649ae));if(!_0x356c49)continue;const _0x508790=_0x356c49[_0x3880('0x95')](_0x9649ae);this[_0x3880('0x2a')](_0x2d2414)&&_0x3880('0x115')==_0x1ded23[_0x3880('0x103')]&&0x0!=_0x508790[_0x3880('0xe4')]||(_0x4f1a30[_0x3880('0x48')](_0x356c49),_0x508790['forEach'](_0x5639a2=>{_0x4f1a30[_0x3880('0x2c')](_0x5639a2,_0x3b28c6);}),_0x3880('0x115')!=_0x1ded23[_0x3880('0x103')]&&_0x288118!=_0x5367fd&&_0x4f1a30[_0x3880('0x2c')](_0x356c49['getIntersection'](_0x9649ae),_0x288118));}const _0x475dc4=[];for(const [_0x96f6e0,_0x4581d1]of _0x4f1a30){const _0x3c6860=_0x5396c2(),_0x564273={'key':_0x2d2414,'oldValue':_0x4581d1,'newValue':_0x5367fd};_0x2d2414[_0x3880('0xe4')]>0x25&&console[_0x3880('0x9')](_0x3880('0x10f'),{'key':_0x2d2414});const _0x5c80f9=('attribute:'+(_0x2d2414+'|'+Rt({'newValue':_0x5367fd})))[_0x3880('0xc5')](0x0,0x3c),_0x127736=this[_0x3880('0xd5')]({'id':_0x3c6860,'type':_0x5c80f9,'data':_0x564273,'createdAt':new Date(),'authorId':_0x3ceaa9,'attributes':_0xe2c7fe});_0x475dc4[_0x3880('0x8d')](_0x127736),this['_addSuggestionMarker'](_0x5c80f9,_0x3c6860,_0x3ceaa9,_0x96f6e0);}return _0x475dc4;}['_registerBlockAttribute'](_0x206efd){this[_0x3880('0x6f')][_0x3880('0xea')](_0x206efd);}[_0x3880('0xd1')](_0x49f691){this[_0x3880('0x142')][_0x3880('0xea')](_0x49f691);}[_0x3880('0x9b')](_0x141b07,_0x379b82=[],_0x9a9f7e=[]){this[_0x3880('0xb5')](_0x141b07,(_0x422880,..._0x39f5e6)=>{this[_0x3880('0x165')](()=>{_0x422880(..._0x39f5e6);});});for(const _0x1929f9 of _0x379b82)this[_0x3880('0xd1')](_0x1929f9);for(const _0xbeb3b4 of _0x9a9f7e)this[_0x3880('0x101')](_0xbeb3b4);}[_0x3880('0x123')](_0x1548f6,_0x3c1b20){const _0x3d7ad1=_0x1548f6[_0x3880('0x42')]();this['_model'][_0x3880('0xc4')](_0x5a5d29=>{_0x5a5d29[_0x3880('0x84')](_0x3d7ad1,{'range':_0x3c1b20});});}[_0x3880('0x170')](_0x9f85c){const _0x3eecdd=_0x9f85c['id'],_0x415720=this[_0x3880('0x178')]['config']['get'](_0x3880('0x3b'));this[_0x3880('0x13e')]['hasCommentThread'](_0x3eecdd)||this[_0x3880('0x13e')][_0x3880('0xde')]({'channelId':_0x415720,'threadId':_0x3eecdd,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x966816=this[_0x3880('0x13e')]['getCommentThread'](_0x3eecdd);_0x966816['unbind'](_0x3880('0xa0')),_0x966816['isRemovable']=!0x1,_0x9f85c['commentThread']=_0x966816;}[_0x3880('0xa1')](_0x3245fd,_0x3d2b5d,_0x271e27,_0x3836f2){if(_0x3245fd[_0x3880('0x103')]!=_0x3d2b5d||_0x3245fd[_0x3880('0x12e')]!=_0x271e27||_0x3245fd[_0x3880('0x24')]['id']!=_0x3836f2)throw this[_0x3880('0x178')][_0x3880('0x46')]('track-changes-suggestion-data-mismatch'),new _0x6be0f0('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x2beaca,_0x4f4439){const _0x5168d1=_0x2beaca[_0x3880('0x96')]();if(_0x4f4439['isEqual'](_0x5168d1))_0x2beaca[_0x3880('0x113')]();else{if(_0x5168d1['containsRange'](_0x4f4439)){const _0x5a91f1=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')][_0x3880('0xb')],'end');this[_0x3880('0x123')](_0x2beaca,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x5a91f1));const _0x3960ea=_0x5396c2(),_0x28edc6=_0x2beaca[_0x3880('0x24')]['id'],_0x1cd963=_0x2beaca[_0x3880('0x103')]+':'+_0x2beaca[_0x3880('0x12e')];this[_0x3880('0xd5')]({'id':_0x3960ea,'type':_0x1cd963,'createdAt':new Date(),'authorId':_0x28edc6,'data':_0x2beaca[_0x3880('0x5a')],'attributes':_0x2beaca[_0x3880('0x39')]});const _0x5f2b20=this[_0x3880('0x13d')][_0x3880('0xc3')](_0x4f4439[_0x3880('0xe9')][_0x3880('0x34')],_0x3880('0xc8')),_0x34b5f7=this[_0x3880('0x13d')][_0x3880('0x54')](_0x5f2b20,_0x5168d1[_0x3880('0xe9')]);this['_addSuggestionMarker'](_0x1cd963,_0x3960ea,_0x28edc6,_0x34b5f7);}else{if(_0x5168d1[_0x3880('0xb4')](_0x4f4439[_0x3880('0x64')])){const _0x68fbfe=this['_model'][_0x3880('0xc3')](_0x4f4439[_0x3880('0x64')]['nodeBefore'],_0x3880('0xe9'));this[_0x3880('0x123')](_0x2beaca,this['_model'][_0x3880('0x54')](_0x5168d1[_0x3880('0x64')],_0x68fbfe));}else{const _0xb90df2=this['_model'][_0x3880('0xc3')](_0x4f4439['end'][_0x3880('0x34')],_0x3880('0xc8'));this['_setSuggestionRange'](_0x2beaca,this['_model']['createRange'](_0xb90df2,_0x5168d1['end']));}}}}[_0x3880('0x126')](_0x4656bb){for(const {suggestion:_0x2c48af,meta:_0x454e38}of this[_0x3880('0x10c')](_0x4656bb,_0x3880('0x115'))){if(!_0x454e38[_0x3880('0x1b')])continue;const _0x1a0a92=_0x2c48af[_0x3880('0x33')]();for(const _0x35844b of _0x1a0a92)if(!_0x4656bb[_0x3880('0x95')](_0x35844b)[_0x3880('0xe4')])return!0x0;}return!0x1;}[_0x3880('0x91')](_0x3ae762){const _0x217312=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')](_0x3880('0xd0'))['getUser'](_0x3ae762);if(!_0x217312)throw new _0x6be0f0(_0x3880('0x144'),this);return _0x217312;}['_getExternalAuthor'](_0x27a064){const _0x43ebe7=this['editor'][_0x3880('0xd2')]['get']('Users'),_0x21bf17=_0x29eae1('external:'+_0x27a064),_0x2ab953=_0x43ebe7[_0x3880('0xcc')](_0x21bf17);return _0x2ab953||_0x43ebe7[_0x3880('0xdd')]({'id':_0x21bf17,'name':_0x27a064});}[_0x3880('0x163')](_0xa6ff36,_0x2f909d,_0x53398f,_0x152bac,_0x403d09){const _0x1c1fc6=this[_0x3880('0x91')](_0x152bac),_0x2e6747=this[_0x3880('0x17')]['buildSuggestion'](_0xa6ff36,_0x2f909d,_0x53398f,_0x1c1fc6,_0x403d09,_0x3a6de5=>this['_updateSuggestionData'](_0x53398f,{'attributes':_0x3a6de5}));return this[_0x3880('0x121')](_0x2e6747,_0x3880('0x77'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x21')});},{'priority':_0x3880('0x150')}),this[_0x3880('0x121')](_0x2e6747,_0x3880('0x7f'),()=>{this[_0x3880('0x13b')](_0x53398f,{'state':_0x3880('0x6')});},{'priority':_0x3880('0x150')}),this[_0x3880('0xfc')]['set'](_0x53398f,_0x2e6747),this['_suggestionState'][_0x3880('0x2c')](_0x2e6747,_0x3880('0xda')),_0x2e6747;}[_0x3880('0x68')](_0x2530d5){const _0xbb1135=_0x2530d5[_0x3880('0x13a')](':');return{'group':_0xbb1135[0x0],'type':_0xbb1135[0x1],'subType':_0xbb1135[_0x3880('0xe4')]>=0x5?_0xbb1135[0x2]:null,'id':_0xbb1135['length']<0x5?_0xbb1135[0x2]:_0xbb1135[0x3],'authorId':_0xbb1135[_0x3880('0xe4')]<0x5?_0xbb1135[0x3]:_0xbb1135[0x4],'markerCount':0x6==_0xbb1135[_0x3880('0xe4')]?_0xbb1135[0x5]:null};}[_0x3880('0xf7')](_0x496a75,_0x4081a7,_0x20a4b0){const _0x7b8f8e=_0x496a75[_0x3880('0x96')](),_0x49fe1f=_0x7b8f8e[_0x3880('0x64')],_0x4d85b5=_0x7b8f8e['end'];this[_0x3880('0x123')](_0x496a75,this[_0x3880('0x13d')][_0x3880('0x54')](_0x49fe1f,_0x4081a7));const _0x32b541=_0x5396c2(),_0x493812=_0x496a75[_0x3880('0x24')]['id'],_0x361144=_0x496a75[_0x3880('0x103')]+(_0x496a75['subType']?':'+_0x496a75[_0x3880('0x12e')]:'');this['_setSuggestionData']({'id':_0x32b541,'type':_0x361144,'createdAt':new Date(),'authorId':_0x493812,'originalSuggestionId':_0x496a75['id'],'attributes':_0x496a75[_0x3880('0x39')],'data':_0x496a75[_0x3880('0x5a')]});const _0x5ef22e=Pt(_0x496a75);(_0x3880('0x5b')==_0x496a75[_0x3880('0x103')]||_0x5ef22e&&this[_0x3880('0x2a')](_0x5ef22e))&&(_0x20a4b0=this['_model'][_0x3880('0x27')](_0x20a4b0['parent'])),this['_addSuggestionMarker'](_0x361144,_0x32b541,_0x493812,this[_0x3880('0x13d')][_0x3880('0x54')](_0x20a4b0,_0x4d85b5));}[_0x3880('0x10c')](_0xde3fa1,_0xd99b6e=null){const _0x5335a7=[],_0x291a8a=this[_0x3880('0x178')]['plugins'][_0x3880('0x6a')]('Users')['me'];Array['isArray'](_0xde3fa1)||(_0xde3fa1=[_0xde3fa1]);for(const _0xa838f5 of this[_0x3880('0xfa')]()){if(!_0xa838f5[_0x3880('0x177')])continue;if(_0xd99b6e&&_0xa838f5[_0x3880('0x103')]!=_0xd99b6e)continue;let _0x3d068d=!0x1;for(const _0x4044c5 of _0xa838f5['getRanges']()){for(const _0xcd5458 of _0xde3fa1){const _0x1eaa8c=_0xcd5458[_0x3880('0x64')][_0x3880('0x169')](_0x4044c5['end'])||_0xcd5458[_0x3880('0xe9')][_0x3880('0x169')](_0x4044c5['start']);if(_0x1eaa8c||_0xcd5458[_0x3880('0x122')](_0x4044c5)){const _0x9c88ef=_0xcd5458[_0x3880('0xd7')](_0x4044c5)&&Tt(this[_0x3880('0x13d')][_0x3880('0xcf')],_0x4044c5[_0x3880('0x64')],_0xcd5458),_0x518914=_0x4044c5[_0x3880('0xd7')](_0xcd5458)&&Tt(this['_model'][_0x3880('0xcf')],_0xcd5458['start'],_0x4044c5);_0x5335a7[_0x3880('0x8d')]({'suggestion':_0xa838f5,'meta':{'isOwn':_0x291a8a==_0xa838f5[_0x3880('0x7a')],'isNextTo':_0x1eaa8c,'isInsideObject':_0x9c88ef,'containsRangeInObject':_0x518914}}),_0x3d068d=!0x0;break;}}if(_0x3d068d)break;}}return _0x5335a7;}[_0x3880('0x25')](_0x28c9fd,_0x338109,_0x48b9f1,_0x2b2146,_0x2d0bb8){this[_0x3880('0x13d')][_0x3880('0xc4')](_0x43b31a=>{let _0x5ecf05=_0x3880('0x133')+_0x28c9fd+':'+_0x338109+':'+_0x48b9f1;_0x2d0bb8&&(_0x5ecf05=_0x5ecf05+':'+_0x2d0bb8),_0x43b31a[_0x3880('0x9d')](_0x5ecf05,{'range':_0x2b2146,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3880('0x1f')](_0x18d3fe){const _0x2ee061=_0x18d3fe[_0x3880('0x8c')],_0x3952e3=_0x18d3fe[_0x3880('0xef')];_0x18d3fe['previous']=null,_0x18d3fe[_0x3880('0xef')]=null,null!=_0x2ee061&&(_0x2ee061['next']=_0x3952e3),null!=_0x3952e3&&(_0x3952e3[_0x3880('0x8c')]=_0x2ee061),_0x3880('0xe2')==this[_0x3880('0xf6')][_0x3880('0x6a')](_0x18d3fe)&&(this[_0x3880('0xf6')][_0x3880('0x2c')](_0x18d3fe,'removed'),this['fire']('suggestionUnloaded',_0x18d3fe,_0x2ee061,_0x3952e3));}[_0x3880('0xd5')](_0x46f3d9){const _0x1ee631=_0x46f3d9['id'],_0x52c9ef=this[_0x3880('0x23')](_0x46f3d9);if(this['_adapter']&&this[_0x3880('0x2b')][_0x3880('0x112')]){const _0x352ce9=this[_0x3880('0x178')][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x164d3c=_0x52c9ef[_0x3880('0x161')],_0x5552fe=_0x52c9ef[_0x3880('0x12e')]?_0x52c9ef[_0x3880('0x103')]+':'+_0x52c9ef['subType']:_0x52c9ef[_0x3880('0x103')],_0x2b7849=this[_0x3880('0x178')][_0x3880('0x8e')],_0x5c7cbe=_0x352ce9[_0x3880('0xea')](_0x33b9cf(_0x2b7849,_0x3880('0xa7'))),_0x489d7b={'id':_0x1ee631,'type':_0x5552fe,'hasComments':_0x164d3c,'data':_0x46f3d9[_0x3880('0x5a')]||null,'originalSuggestionId':_0x46f3d9[_0x3880('0xc1')]||null,'attributes':_0x52c9ef[_0x3880('0x39')]};this[_0x3880('0x2b')][_0x3880('0x112')](_0x489d7b)[_0x3880('0x1')](_0x3f2120=>{_0x52c9ef['_saved']=!0x0,_0x352ce9[_0x3880('0xe8')](_0x5c7cbe),_0x3f2120&&_0x3f2120[_0x3880('0xb9')]&&(this[_0x3880('0xfc')]['get'](_0x1ee631)['createdAt']=_0x3f2120[_0x3880('0xb9')]);})[_0x3880('0x93')](_0x398b73=>{throw _0x54d3bf(_0x3880('0x3e')),this[_0x3880('0x178')][_0x3880('0x13c')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x52c9ef['discard']();}),_0x52c9ef[_0x3880('0x4c')](),this[_0x3880('0xfc')]['delete'](_0x52c9ef['id']),this[_0x3880('0xf6')][_0x3880('0x48')](_0x52c9ef),_0x398b73;});}return _0x52c9ef;}[_0x3880('0x2a')](_0x24926b){return this[_0x3880('0x6f')]['has'](_0x24926b);}[_0x3880('0x13b')](_0x58ef20,_0x2de9b9){const _0xd768f3=this['editor'][_0x3880('0xd2')][_0x3880('0x6a')](_0x3880('0x51')),_0x52998d=this['getSuggestion'](_0x58ef20);if(this['_adapter']&&this['_adapter'][_0x3880('0x7c')]){if(_0x52998d['_saved']){const _0x3ceb43=_0xd768f3['add'](_0x33b9cf(this[_0x3880('0x178')][_0x3880('0x8e')],_0x3880('0xa7')));this['_adapter']['updateSuggestion'](_0x58ef20,_0x2de9b9)[_0x3880('0x1')](()=>{_0xd768f3[_0x3880('0xe8')](_0x3ceb43);});}else _0x52998d['on'](_0x3880('0x2d'),()=>{this[_0x3880('0x13b')](_0x58ef20,_0x2de9b9);});}}[_0x3880('0x167')](_0x5ccdb7){if(!this['_adapter']||!this[_0x3880('0x2b')][_0x3880('0x110')])throw new _0x6be0f0(_0x3880('0x156'),this);return this[_0x3880('0x2b')][_0x3880('0x110')](_0x5ccdb7);}[_0x3880('0xeb')](_0x2c4f16){const {id:_0x188049,type:_0x8cbbf0,subType:_0x54ed8a,authorId:_0x118f38}=this[_0x3880('0x68')](_0x2c4f16),_0x13768b=this[_0x3880('0xfc')][_0x3880('0x6a')](_0x188049)||this[_0x3880('0x163')](_0x8cbbf0,_0x54ed8a,_0x188049,_0x118f38,{});switch(this['_checkSuggestionCorrectness'](_0x13768b,_0x8cbbf0,_0x54ed8a,_0x118f38),this['_suggestionState']['get'](_0x13768b)){case _0x3880('0xda'):this[_0x3880('0x167')](_0x188049)[_0x3880('0x1')](_0x5ac647=>{let _0x555ee6=Promise[_0x3880('0xec')]();_0x5ac647[_0x3880('0x161')]&&(_0x555ee6=this['_commentsRepository']['fetchCommentThread']({'channelId':this[_0x3880('0x178')]['config'][_0x3880('0x6a')]('collaboration.channelId'),'threadId':_0x188049})),_0x555ee6[_0x3880('0x1')](()=>{this[_0x3880('0x23')](_0x5ac647)['_saved']=!0x0;});}),this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0x10a'));break;case _0x3880('0x6c'):this['_updateSuggestionData'](_0x188049,{'state':_0x3880('0x14b')});case _0x3880('0xf1'):this[_0x3880('0xf6')][_0x3880('0x2c')](_0x13768b,_0x3880('0xe2')),this['fire'](_0x3880('0x16d'),_0x13768b);break;case _0x3880('0xe2'):this[_0x3880('0x89')](_0x3880('0x22'),_0x13768b);}return _0x13768b[_0x3880('0x72')](_0x2c4f16),_0x13768b;}[_0x3880('0x13f')](_0x3f5a5b){const _0x29baee=Array[_0x3880('0xba')](_0x3f5a5b),_0x16e991=_0x29baee[_0x3880('0x141')](_0x46198a=>_0x3880('0x76')==_0x46198a[_0x3880('0x103')]);this[_0x3880('0x99')](_0x16e991);const _0x2710a0=_0x29baee['filter'](_0x40f4d6=>!_0x40f4d6[_0x3880('0x28')]&&_0x3880('0x76')!=_0x40f4d6[_0x3880('0x103')]),_0xd5eda=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})[_0x3880('0x141')](_0x61360a=>!_0x61360a[_0x3880('0x28')]&&'attribute'!=_0x61360a[_0x3880('0x103')]),_0x7ae04e=_0xd5eda[_0x3880('0x141')](_0x37a2db=>!_0x3f5a5b[_0x3880('0xb0')](_0x37a2db)),_0x3a0713=new Map(_0xd5eda[_0x3880('0x137')](_0x5d9f18=>[_0x5d9f18,this['_suggestionFactory'][_0x3880('0x12a')](_0x5d9f18[_0x3880('0x103')],_0x5d9f18[_0x3880('0x12e')],_0x3880('0x117'))])),_0x3edf5e=new Map(_0xd5eda[_0x3880('0x137')](_0xeee296=>[_0xeee296,_0xeee296['getFirstRange']()])),_0x35dd89=new Set(),_0x36a98e=new Set();for(let _0x187eb6=0x0;_0x187eb6<_0x2710a0[_0x3880('0xe4')];_0x187eb6++)_0x3338e7(_0x2710a0[_0x187eb6],_0x2710a0,_0x187eb6+0x1);for(let _0xa36b68=0x0;_0xa36b68<_0x2710a0[_0x3880('0xe4')];_0xa36b68++)_0x3338e7(_0x2710a0[_0xa36b68],_0x7ae04e,0x0);const _0x3c852e=new Set();for(let _0x270fa7=0x0;_0x270fa7<_0x2710a0['length'];_0x270fa7++){const _0x2aae6d=_0x2710a0[_0x270fa7];!_0x36a98e[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d['previous']&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0x8c')]),_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]===_0x2aae6d&&(_0x2aae6d[_0x3880('0x8c')][_0x3880('0xef')]=null),_0x2aae6d[_0x3880('0x8c')]=null),!_0x35dd89[_0x3880('0xb0')](_0x2aae6d)&&_0x2aae6d[_0x3880('0xef')]&&(_0x3c852e[_0x3880('0xea')](_0x2aae6d[_0x3880('0xef')]),_0x2aae6d['next'][_0x3880('0x8c')]===_0x2aae6d&&(_0x2aae6d['next']['previous']=null),_0x2aae6d[_0x3880('0xef')]=null);}function _0x3338e7(_0x2839b4,_0x18b8c8,_0xb7c7b){for(let _0x79f5a8=_0xb7c7b;_0x79f5a8<_0x18b8c8[_0x3880('0xe4')];_0x79f5a8++){const _0x234470=_0x32ef9e(_0x2839b4,_0x18b8c8[_0x79f5a8]);_0x234470&&(_0x234470[0x0][_0x3880('0xef')]=_0x234470[0x1],_0x234470[0x1]['previous']=_0x234470[0x0],_0x35dd89[_0x3880('0xea')](_0x234470[0x0]),_0x36a98e[_0x3880('0xea')](_0x234470[0x1]));}}function _0x32ef9e(_0x27b004,_0xd24c3e){if(_0x27b004[_0x3880('0x7a')]['id']!==_0xd24c3e[_0x3880('0x7a')]['id'])return null;const _0xc99508=_0x3a0713[_0x3880('0x6a')](_0x27b004)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e['get'](_0xd24c3e));if(!_0xc99508)return null;return _0x3a0713[_0x3880('0x6a')](_0xd24c3e)(_0x27b004,_0xd24c3e,_0x3edf5e[_0x3880('0x6a')](_0x27b004),_0x3edf5e[_0x3880('0x6a')](_0xd24c3e))?_0xc99508[0x1][_0x3880('0x83')]&&_0xc99508[0x1][_0x3880('0x83')]['length']?null:_0xc99508:null;}_0x3c852e['size']&&this[_0x3880('0x13f')](_0x3c852e);}[_0x3880('0x99')](_0x4024ef){if(0x0==_0x4024ef[_0x3880('0xe4')])return;const _0x1afdb4=this[_0x3880('0xfa')]({'skipNotAttached':!0x0})['filter'](_0x193905=>_0x3880('0x76')==_0x193905['type']&&_0x193905[_0x3880('0x58')]),_0x39f1d3=[],_0x42bd68=new Map();for(const _0x15fe4b of _0x1afdb4){const _0x300838=_0x29eae1(_0x15fe4b[_0x3880('0x39')]);_0x42bd68['has'](_0x300838)||(_0x42bd68[_0x3880('0x2c')](_0x300838,_0x39f1d3[_0x3880('0xe4')]),_0x39f1d3[_0x3880('0x8d')]([]));const _0xe7fc1e=_0x42bd68['get'](_0x300838);_0x39f1d3[_0xe7fc1e][_0x3880('0x8d')](_0x15fe4b);}!function(){_0x39f1d3[_0x3880('0xdc')]((_0x156545,_0x30878a)=>{const _0x5cebda=_0x156545[0x0][_0x3880('0xb9')],_0x498eeb=_0x30878a[0x0][_0x3880('0xb9')];return _0x5cebda==_0x498eeb?_0x156545[0x0][_0x3880('0x39')]['groupId']<_0x30878a[0x0]['attributes']['groupId']?-0x1:0x1:_0x5cebda<_0x498eeb?-0x1:0x1;});for(const _0x39c03f of _0x39f1d3)_0x39c03f[_0x3880('0xdc')]((_0x2e5848,_0x3eb300)=>_0x2e5848['id']<_0x3eb300['id']?-0x1:0x1);}();for(let _0x583d16=0x0;_0x583d16<_0x39f1d3['length'];_0x583d16++){if(0x0==_0x39f1d3[_0x583d16][_0x3880('0xe4')])continue;const _0x255b6d=[];for(let _0x9bcb0b=_0x583d16+0x1;_0x9bcb0b<_0x39f1d3[_0x3880('0xe4')];_0x9bcb0b++)0x0!=_0x39f1d3[_0x9bcb0b][_0x3880('0xe4')]&&_0x3dd250(_0x39f1d3[_0x583d16],_0x39f1d3[_0x9bcb0b])&&_0x255b6d[_0x3880('0x8d')](_0x9bcb0b);for(const _0x48bfe5 of _0x255b6d)_0x39f1d3[_0x583d16]=_0x39f1d3[_0x583d16][_0x3880('0xb8')](_0x39f1d3[_0x48bfe5]),_0x39f1d3[_0x48bfe5]=[];}for(const _0x151b8d of _0x39f1d3)for(let _0xccf182=0x0;_0xccf182<_0x151b8d[_0x3880('0xe4')];_0xccf182++)_0x151b8d[_0xccf182][_0x3880('0xef')]=_0x151b8d[_0xccf182+0x1]||null;for(const _0xe79a98 of _0x39f1d3)for(let _0x12b13d=0x0;_0x12b13d<_0xe79a98[_0x3880('0xe4')];_0x12b13d++)_0xe79a98[_0x12b13d]['previous']=_0xe79a98[_0x12b13d-0x1]||null;function _0x3dd250(_0x77d723,_0x2a6903){if(_0x77d723[0x0][_0x3880('0x7a')]!==_0x2a6903[0x0][_0x3880('0x7a')])return!0x1;if(!function(_0x5834f6,_0x10b9b1){if(!_0x5834f6[_0x3880('0x161')]&&!_0x10b9b1['hasComments'])return!0x0;if(_0x5834f6['hasComments']&&_0x10b9b1[_0x3880('0x161')])return!0x1;if(_0x5834f6['hasComments']&&_0x10b9b1['createdAt']<_0x5834f6[_0x3880('0x83')]['comments']['get'](0x0)[_0x3880('0xb9')])return!0x0;if(_0x10b9b1[_0x3880('0x161')]&&_0x5834f6[_0x3880('0xb9')]<_0x10b9b1['commentThread'][_0x3880('0x92')]['get'](0x0)[_0x3880('0xb9')])return!0x0;return!0x1;}(_0x77d723[0x0],_0x2a6903[0x0]))return!0x1;const _0x34a10e=_0x45df73(_0x77d723[0x0]['attributes'],_0x3880('0x37')),_0x282c3b=_0x45df73(_0x2a6903[0x0][_0x3880('0x39')],_0x3880('0x37'));if(!_0x29860a(_0x34a10e,_0x282c3b))return!0x1;return!!_0x77d723[_0x3880('0x73')](_0x15cc94=>_0x2a6903[_0x3880('0x3c')](_0x2dce59=>_0x15cc94[_0x3880('0x96')]()[_0x3880('0x169')](_0x2dce59[_0x3880('0x96')]())))&&_0x2a6903[_0x3880('0x73')](_0x564000=>_0x77d723[_0x3880('0x3c')](_0x5e1a91=>_0x564000[_0x3880('0x96')]()['isEqual'](_0x5e1a91[_0x3880('0x96')]())));}}[_0x3880('0x69')](_0x7c3a58){const _0x7b728=Array[_0x3880('0xba')](_0x7c3a58),_0x102fa3=this[_0x3880('0xfa')]({'skipNotAttached':!0x0}),_0x143b0e=_0x102fa3[_0x3880('0x141')](_0x14acdd=>!_0x7c3a58['has'](_0x14acdd)),_0x12eef9=new Map(_0x7b728[_0x3880('0x137')](_0x69f2b5=>[_0x69f2b5,this[_0x3880('0x17')]['getSuggestionCallback'](_0x69f2b5[_0x3880('0x103')],_0x69f2b5[_0x3880('0x12e')],_0x3880('0x10b'))])),_0x5333bf=new Map(_0x102fa3[_0x3880('0x137')](_0x5a6e94=>[_0x5a6e94,_0x5a6e94[_0x3880('0x33')]()]));for(let _0xafd75d=0x0;_0xafd75d<_0x7b728['length'];_0xafd75d++){if(_0x4a4be9(this,_0x7b728[_0xafd75d],_0x7b728,_0xafd75d+0x1))return!0x0;}for(let _0xc8e524=0x0;_0xc8e524<_0x7b728[_0x3880('0xe4')];_0xc8e524++){if(_0x4a4be9(this,_0x7b728[_0xc8e524],_0x143b0e,0x0))return!0x0;}return!0x1;function _0x4a4be9(_0x3cd210,_0x116163,_0x7dc3ca,_0x24aff3){for(let _0x19d4ec=_0x24aff3;_0x19d4ec<_0x7dc3ca[_0x3880('0xe4')];_0x19d4ec++){const _0x2ae767=_0x7dc3ca[_0x19d4ec];if(_0x2ae767[_0x3880('0x103')]!==_0x116163[_0x3880('0x103')]||_0x2ae767['author']['id']!==_0x116163['author']['id']||_0x2ae767['subType']!==_0x116163[_0x3880('0x12e')])continue;if(!Vt(_0x116163,_0x2ae767))continue;if(_0x3880('0x76')==_0x116163['type']&&_0x116163[_0x3880('0x5a')][_0x3880('0x15d')]!=_0x2ae767['data']['oldValue'])continue;if('attribute'==_0x116163[_0x3880('0x103')]&&_0x3cd210[_0x3880('0x2a')](_0x116163[_0x3880('0x5a')][_0x3880('0x61')]))continue;if('formatBlock'==_0x116163[_0x3880('0x103')]){const _0x26e4cc=_0x3cd210[_0x3880('0x178')][_0x3880('0x13c')],_0x5e64df=_0x116163['getContainedElement']();if(_0x5e64df&&(_0x26e4cc[_0x3880('0xcf')][_0x3880('0x159')](_0x5e64df)||_0x26e4cc[_0x3880('0xcf')]['isLimit'](_0x5e64df)))continue;}const _0x173c23=_0x12eef9[_0x3880('0x6a')](_0x116163),_0x3de8b7=_0x5333bf['get'](_0x116163),_0x193ed6=_0x5333bf['get'](_0x2ae767),_0x4acdbc=_0x116163['commentThread']&&_0x116163[_0x3880('0x83')][_0x3880('0xe4')],_0x4ed96c=_0x2ae767[_0x3880('0x83')]&&_0x2ae767['commentThread'][_0x3880('0xe4')];if(!_0x4acdbc&&_0x173c23(_0x193ed6,_0x3de8b7))return _0x3cd210[_0x3880('0x16b')](_0x2ae767,_0x116163),_0x5333bf[_0x3880('0x48')](_0x116163),!0x0;if(!_0x4ed96c&&_0x173c23(_0x3de8b7,_0x193ed6))return _0x3cd210[_0x3880('0x16b')](_0x116163,_0x2ae767),_0x5333bf[_0x3880('0x48')](_0x2ae767),!0x0;}return!0x1;}}[_0x3880('0x16b')](_0x5cc0d2,_0x263433){if(_0x5cc0d2['isMultiRange'])for(const _0x558bb1 of _0x263433[_0x3880('0x33')]())_0x5cc0d2[_0x3880('0x57')](_0x558bb1);else{const _0x2224eb=_0x263433[_0x3880('0x96')]()[_0x3880('0xe9')];this[_0x3880('0x123')](_0x5cc0d2,this[_0x3880('0x13d')][_0x3880('0x54')](_0x5cc0d2[_0x3880('0x96')]()[_0x3880('0x64')],_0x2224eb));}_0x263433[_0x3880('0x113')]();}[_0x3880('0xae')](_0x2f7fa5,_0x33d7f5){const _0x433ac8=_0x2f7fa5[_0x3880('0x9e')](_0x3880('0xc7'))||_0x2f7fa5['startsWith']('attribute')?_0x3880('0x4f'):_0x2f7fa5[_0x3880('0x14c')]();return _0x33b9cf(this['editor'][_0x3880('0x8e')],_0x33d7f5+'_'+_0x433ac8+_0x3880('0x14d'));}[_0x3880('0xe7')](){const _0x58aee0=this[_0x3880('0x178')];_0x24b154(this[_0x3880('0x13d')],({left:_0x4d85d8,entered:_0x4fdaa6})=>{const _0x33cf48=[];for(const _0x521f72 of _0x4d85d8){const {group:_0x32216e,type:_0x48d038}=this[_0x3880('0x68')](_0x521f72[_0x3880('0x30')]);if(_0x3880('0x35')===_0x32216e){_0x33cf48['push'](this[_0x3880('0xae')](_0x48d038,_0x3880('0xfd')));break;}}for(const _0x4a4fef of _0x4fdaa6){const {group:_0x4969da,type:_0x30240f}=this[_0x3880('0x68')](_0x4a4fef['name']);if(_0x3880('0x35')===_0x4969da){_0x33cf48[_0x3880('0x8d')](this[_0x3880('0xae')](_0x30240f,_0x3880('0xbc')));break;}}_0x33cf48[_0x3880('0xe4')]&&_0x58aee0['ui']['ariaLiveAnnouncer'][_0x3880('0xd')](_0x3880('0xf8'),_0x33cf48[_0x3880('0x10b')]('\x20'));});}[_0x3880('0x0')](_0xe95d65){if(null!==this[_0x3880('0x7e')])return!0x1;const _0x51ec7c=this['editor'],_0x2186e7=_0x51ec7c[_0x3880('0x13c')][_0x3880('0x26')][_0x3880('0x146')]['getChanges']();if(0x0==_0x2186e7['length'])return!0x1;const _0x47ccee=[],_0x21b12c=_0x2186e7['filter'](_0x214c2f=>'attribute'==_0x214c2f[_0x3880('0x103')]),_0x2c2d0c=_0x2186e7[_0x3880('0x141')](_0x45476e=>_0x3880('0xbd')==_0x45476e['type']&&_0x3880('0x157')!=_0x45476e[_0x3880('0x30')]),_0x1e0102=_0x2186e7['filter'](_0x4186cb=>_0x3880('0xe8')==_0x4186cb['type']&&_0x3880('0x157')!=_0x4186cb[_0x3880('0x30')]);for(const _0x236c10 of _0x21b12c)_0x47ccee[_0x3880('0x8d')]({'key':_0x236c10[_0x3880('0x1d')],'newValue':_0x236c10['attributeNewValue'],'oldValue':_0x236c10['attributeOldValue'],'range':_0x562079(_0x236c10[_0x3880('0xfe')])});for(const _0x35679c of _0x2c2d0c){const _0x435205=_0x1e0102[_0x3880('0x20')](_0x7bfb14=>_0x7bfb14[_0x3880('0x11b')][_0x3880('0x169')](_0x35679c[_0x3880('0x11b')]));_0x435205&&_0x47ccee[_0x3880('0x8d')]({'key':_0x3880('0x128'),'newValue':_0x35679c['name'],'oldValue':_0x435205['name'],'range':_0x51ec7c[_0x3880('0x13c')]['createRangeOn'](_0x35679c[_0x3880('0x11b')][_0x3880('0xce')])});}return 0x0!=_0x47ccee[_0x3880('0xe4')]&&this[_0x3880('0x16c')](_0xe95d65,_0x47ccee);function _0x562079(_0x5166c4){return null==_0x5166c4[_0x3880('0xe9')][_0x3880('0xb')]&&_0x5166c4['end']['parent']==_0x5166c4[_0x3880('0x64')][_0x3880('0xce')]?Ut(_0x5166c4[_0x3880('0x64')][_0x3880('0xce')],_0x51ec7c['model']):_0x5166c4;}}[_0x3880('0xee')](_0x128a0c){let _0x370d9b=!0x1;const _0x4b8aeb=this[_0x3880('0x178')][_0x3880('0x13c')][_0x3880('0x26')]['differ'][_0x3880('0x5')]()[_0x3880('0x141')](_0x21b3ba=>_0x21b3ba['data'][_0x3880('0xdb')]&&_0x21b3ba[_0x3880('0x30')][_0x3880('0x9e')]('suggestion:attribute:'));for(const _0x20f96e of _0x4b8aeb){const {subType:_0x16b3ee,id:_0x4bcb3f}=this['_splitMarkerName'](_0x20f96e[_0x3880('0x30')]),_0x59a934=_0x16b3ee[_0x3880('0x13a')]('|')[0x0];for(const _0x5b3fdc of this[_0x3880('0xfa')]({'skipNotAttached':!0x0}))_0x5b3fdc['id']!=_0x4bcb3f&&_0x3880('0x76')==_0x5b3fdc[_0x3880('0x103')]&&_0x5b3fdc['data']&&_0x5b3fdc['data'][_0x3880('0x61')]==_0x59a934&&_0x5b3fdc['getFirstRange']()[_0x3880('0x132')](_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')])&&(this['_reduceSuggestionAttributeRange'](_0x5b3fdc,_0x20f96e[_0x3880('0x5a')][_0x3880('0xdb')],_0x128a0c),_0x370d9b=!0x0);}return _0x370d9b;}[_0x3880('0x165')](_0x53a1eb){if(null!==this[_0x3880('0x7e')])return void _0x53a1eb();const _0x1f02c4=this['editor'];this[_0x3880('0x7e')]=_0x1f02c4[_0x3880('0x13c')][_0x3880('0x26')]['version'],_0x53a1eb();const _0x229e58=new Map();for(const _0x1d26da of _0x1f02c4[_0x3880('0x13c')]['document'][_0x3880('0x87')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if([_0x3880('0x11c'),'addAttribute',_0x3880('0x135'),_0x3880('0xf3')][_0x3880('0x4e')](_0x1d26da[_0x3880('0x103')])){const _0xcdc86f=_0x1d26da[_0x3880('0x105')],_0x562c23=_0x229e58[_0x3880('0x6a')](_0xcdc86f)||[];_0x562c23[_0x3880('0x8d')](_0x1d26da),_0x229e58[_0x3880('0x2c')](_0xcdc86f,_0x562c23);}this[_0x3880('0x7e')]=null;for(const [_0x5e6453,_0x322e7c]of _0x229e58){const _0x2c3ed3=_0x5396c2();_0x1f02c4[_0x3880('0x13c')][_0x3880('0xca')](_0x5e6453,_0x5bafbc=>{const _0x5c29f6=[];for(const _0x3262d3 of _0x322e7c){let _0x9050cc,_0x6ad878,_0x3003ec,_0x43740d;if(_0x3880('0x11c')==_0x3262d3[_0x3880('0x103')]){const _0x46b1d8=_0x3262d3;_0x9050cc=Ut(_0x46b1d8[_0x3880('0x11b')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]),_0x6ad878='$elementName',_0x3003ec=_0x46b1d8[_0x3880('0x6e')],_0x43740d=_0x46b1d8['oldName'];}else{const _0x5bd255=_0x3262d3,_0x1bcc2c=this[_0x3880('0x2a')](_0x5bd255[_0x3880('0x61')]),_0x43a5ed=this[_0x3880('0x142')][_0x3880('0xb0')](_0x5bd255[_0x3880('0x61')]);if(!_0x1bcc2c&&!_0x43a5ed)continue;_0x9050cc=_0x1bcc2c?Ut(_0x5bd255['range'][_0x3880('0x64')][_0x3880('0xce')],_0x1f02c4[_0x3880('0x13c')]):_0x5bd255[_0x3880('0xfe')],_0x6ad878=_0x5bd255['key'],_0x3003ec=_0x3880('0x135')==_0x3262d3['type']?void 0x0:_0x5bd255[_0x3880('0x164')],_0x43740d=_0x5bd255[_0x3880('0x15d')];}this[_0x3880('0x1e')](_0x9050cc,_0x6ad878,_0x43740d,_0x3003ec,{'groupId':_0x2c3ed3}),_0x5c29f6['push']({'range':_0x9050cc,'key':_0x6ad878,'newValue':_0x3003ec,'oldValue':_0x43740d});}this[_0x3880('0x16c')](_0x5bafbc,_0x5c29f6);});}}[_0x3880('0x16c')](_0x100189,_0x1d8ac7){if(0x0==_0x1d8ac7['length'])return!0x1;let _0x23d8e3=!0x1;for(const _0x4b0253 of _0x1d8ac7){const _0x1054ca=this[_0x3880('0x10c')](_0x4b0253[_0x3880('0xfe')],_0x3880('0x76'))['filter'](_0xcdc648=>!_0xcdc648[_0x3880('0x7')][_0x3880('0xbb')])[_0x3880('0x137')](_0x3ca52c=>_0x3ca52c['suggestion']),_0x393d11=_0x29eae1({'newValue':_0x4b0253[_0x3880('0x164')]});_0x1054ca[_0x3880('0x141')](_0x3caa24=>{const [_0x1b8dd8,_0x2ab9f4]=_0x3caa24['subType'][_0x3880('0x13a')]('|');return _0x1b8dd8==_0x4b0253[_0x3880('0x61')]&&_0x2ab9f4!=_0x393d11;})[_0x3880('0xf')](_0x4f056c=>{this[_0x3880('0x151')](_0x4f056c,_0x4b0253['range'],_0x100189),_0x23d8e3=!0x0;});}return _0x23d8e3;}[_0x3880('0x151')](_0x2573c9,_0x4ae0da,_0x1a248b){const _0x513fc7=_0x2573c9['getFirstRange']()['getDifference'](_0x4ae0da);0x0!==_0x513fc7['length']?0x1!==_0x513fc7[_0x3880('0xe4')]?this[_0x3880('0xf7')](_0x2573c9,_0x4ae0da[_0x3880('0x64')],_0x4ae0da['end']):this[_0x3880('0x123')](_0x2573c9,_0x513fc7[0x0]):_0x1a248b['removeMarker'](_0x2573c9['getFirstMarker']());}}class Bt{constructor(_0x5bb9f6){this[_0x3880('0x16')]=_0x5bb9f6,this['_model']=_0x5bb9f6['model'],this[_0x3880('0x100')]=new Map(),this[_0x3880('0xd4')]=new Map(),this[_0x3880('0x2e')]();}[_0x3880('0xff')](_0x31ecff,_0x1cc41b,_0x300f03,_0x5f2069,_0x4499d2,_0x14b73f){return new _0x256f0e(this[_0x3880('0x13d')],{'type':_0x31ecff,'subType':_0x1cc41b,'id':_0x300f03,'author':_0x5f2069,'creator':_0x5f2069,'attributes':_0x4499d2,'onAttributesChange':_0x14b73f,'onAccept':(..._0x430889)=>this['getSuggestionCallback'](_0x31ecff,_0x1cc41b,_0x3880('0x77'))(..._0x430889),'onDiscard':(..._0x379119)=>this[_0x3880('0x12a')](_0x31ecff,_0x1cc41b,_0x3880('0x7f'))(..._0x379119)});}[_0x3880('0x15e')](_0x2a7bde,_0x13ee96,_0x714ff,_0x25e3b7){const _0x29e171=_0x2a7bde+':'+_0x13ee96+':'+_0x714ff;this[_0x3880('0x100')][_0x3880('0x2c')](_0x29e171,_0x25e3b7);}[_0x3880('0x12a')](_0x42dc8d,_0x1c6bde,_0x361e8d){const _0x7711f8=_0x42dc8d+':'+_0x1c6bde+':'+_0x361e8d;return this['_customCallbacks']['get'](_0x7711f8)||this['_defaultCallbacks'][_0x3880('0x6a')](_0x42dc8d+':'+_0x361e8d);}[_0x3880('0x2e')](){const _0x323b90=()=>!0x1,_0x4cb55d=_0x559439=>{_0x559439['sort']((_0x39ff83,_0x367408)=>_0x39ff83[_0x3880('0x64')][_0x3880('0x136')](_0x367408[_0x3880('0x64')])?0x1:-0x1),this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2900d2=>{for(const _0x5fbc27 of _0x559439){let _0x3ceaa0;_0x3ceaa0=_0x5fbc27[_0x3880('0xe9')]['isAtEnd']&&_0x5fbc27[_0x3880('0xe9')][_0x3880('0x34')]==_0x5fbc27[_0x3880('0x64')][_0x3880('0xce')]?_0x2900d2[_0x3880('0xd9')](_0x5fbc27['start'][_0x3880('0xce')],'on'):_0x2900d2['createSelection'](_0x5fbc27),this['_model'][_0x3880('0x138')](_0x3ceaa0,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x39428f=(_0x5d7f00,_0x521d91)=>{_0x521d91&&this[_0x3880('0x13d')][_0x3880('0xc4')](_0x3a8d4a=>{const {commandName:_0x13d9f2,commandParams:_0x352a84=[]}=_0x521d91,_0x4dd06a=_0x5d7f00['map'](_0x107516=>(xt(_0x107516)&&(_0x107516=this[_0x3880('0x13d')][_0x3880('0x54')](_0x107516['end'])),_0x107516))[_0x3880('0x141')](_0x146b21=>'$graveyard'!==_0x146b21[_0x3880('0x67')][_0x3880('0x45')]);if(_0x4dd06a[_0x3880('0xe4')]<0x1)return;const _0x494a9f=Array[_0x3880('0xba')](this['_model'][_0x3880('0x26')][_0x3880('0xc0')][_0x3880('0x33')]())[_0x3880('0x137')](_0x36f2a9=>_0x2595e6[_0x3880('0xaa')](_0x36f2a9));_0x3a8d4a['setSelection'](_0x4dd06a);for(const _0x24895c of this[_0x3880('0x16')][_0x3880('0x41')]['commands']())_0x24895c[_0x3880('0x125')]();_0x352a84[_0x3880('0x8d')]({'forceDefaultExecution':!0x0}),this[_0x3880('0x16')]['execute'](_0x13d9f2,..._0x352a84);const _0x441996=_0x494a9f['filter'](_0x534b0b=>'$graveyard'!=_0x534b0b[_0x3880('0x67')][_0x3880('0x45')]);_0x441996[_0x3880('0xe4')]>0x0&&_0x3a8d4a[_0x3880('0x130')](_0x441996);for(const _0x114fb5 of _0x494a9f)_0x114fb5[_0x3880('0x120')]();});},_0x539c31=(_0x51f71b,_0x32a384)=>0x1==_0x51f71b['length']&&0x1==_0x32a384[_0x3880('0xe4')]&&_0x51f71b[0x0][_0x3880('0xe9')][_0x3880('0x169')](_0x32a384[0x0][_0x3880('0x64')]),_0x2feee1=(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da)=>Ot(_0x3be250,_0x4f20c8,_0x36f285,_0x2c91da,this[_0x3880('0x13d')])?[_0x3be250,_0x4f20c8]:Ot(_0x4f20c8,_0x3be250,_0x2c91da,_0x36f285,this['_model'])?[_0x4f20c8,_0x3be250]:null;this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x11a'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('insertion:discard',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xcd'),_0x539c31),this[_0x3880('0xd4')]['set'](_0x3880('0x168'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')]('deletion:accept',_0x4cb55d),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x74'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x148'),_0x539c31),this['_defaultCallbacks']['set'](_0x3880('0x81'),_0x2feee1),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x173'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x14e'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatInline:join',_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x3d'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x6d'),_0x39428f),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xad'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x8b'),_0x539c31),this[_0x3880('0xd4')][_0x3880('0x2c')]('formatBlock:chain',_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0xd8'),_0x323b90),this[_0x3880('0xd4')][_0x3880('0x2c')](_0x3880('0x97'),(_0x25f130,_0x1d84a3)=>{if(!_0x1d84a3)return;const _0x3fa6f3=this['_editor'][_0x3880('0xd2')]['get'](p);this[_0x3880('0x13d')][_0x3880('0xc4')](_0x2c92fb=>{if('$elementName'==_0x1d84a3[_0x3880('0x61')])for(const _0x5595af of _0x25f130){const _0x126a1b=_0x5595af[_0x3880('0x64')]['nodeAfter'],_0x23f13c=_0x1d84a3[_0x3880('0x15d')];_0x2c92fb[_0x3880('0x11c')](_0x126a1b,_0x23f13c);}else{if(_0x3fa6f3[_0x3880('0x2a')](_0x1d84a3[_0x3880('0x61')]))for(const _0x57f778 of _0x25f130)void 0x0!==_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3[_0x3880('0x61')],_0x1d84a3[_0x3880('0x15d')],_0x57f778['start']['nodeAfter']):_0x2c92fb[_0x3880('0x135')](_0x1d84a3['key'],_0x57f778['start']['nodeAfter']);else for(const _0x4be7d6 of _0x25f130)_0x1d84a3[_0x3880('0x15d')]?_0x2c92fb[_0x3880('0x32')](_0x1d84a3['key'],_0x1d84a3['oldValue'],_0x4be7d6):_0x2c92fb[_0x3880('0x135')](_0x1d84a3[_0x3880('0x61')],_0x4be7d6);}});}),this['_defaultCallbacks'][_0x3880('0x2c')](_0x3880('0x143'),_0x539c31);}}function Tt(_0x526243,_0x491bfd,_0x2f3a1e){for(const _0x5df5ca of _0x491bfd[_0x3880('0x34')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5df5ca[_0x3880('0x67')]==_0x5df5ca)return!0x1;if(!_0x2f3a1e['containsItem'](_0x5df5ca))return!0x1;if(_0x526243['isObject'](_0x5df5ca)||_0x526243[_0x3880('0x172')](_0x5df5ca))return!0x0;}return!0x1;}function xt(_0x599f15){return _0x599f15[_0x3880('0xe9')]['parent']==_0x599f15[_0x3880('0x64')][_0x3880('0xce')]&&_0x599f15[_0x3880('0xe9')][_0x3880('0xcb')];}function Et(_0x56751b,_0x30a971,_0x7850b2,_0xbe6c62){const _0x1e3471=_0x7ae22d=>!_0x7ae22d[_0x3880('0xf5')]['is'](_0x3880('0x10e'))&&!_0xbe6c62[_0x3880('0x159')](_0x7ae22d[_0x3880('0xf5')]),_0x3ac7c7=_0x56751b[_0x3880('0x64')][_0x3880('0x16e')](_0x1e3471),_0x53f98c=_0x56751b[_0x3880('0xe9')][_0x3880('0x16e')](_0x1e3471,{'direction':_0x3880('0x118')});return(!_0x56751b[_0x3880('0x64')]['isEqual'](_0x3ac7c7)||!_0x56751b[_0x3880('0xe9')][_0x3880('0x169')](_0x53f98c))&&(_0x3ac7c7[_0x3880('0x136')](_0x53f98c)?_0x7850b2[_0x3880('0x84')](_0x30a971,{'range':_0x7850b2[_0x3880('0x54')](_0x3ac7c7,_0x53f98c)}):_0x7850b2['removeMarker'](_0x30a971),!0x0);}function Rt(_0xbb8264){return _0x29eae1(_0xbb8264);}function jt(_0x5bf0db){const _0x94ba86=_0x5bf0db[_0x3880('0x64')][_0x3880('0xce')];return _0x94ba86&&_0x94ba86['is'](_0x3880('0xa3'));}function Ut(_0x3ed6bf,_0x3e1023){const _0x49a967=_0x3e1023['schema']['isObject'](_0x3ed6bf)||_0x3e1023[_0x3880('0xcf')][_0x3880('0x40')](_0x3ed6bf);return _0x3e1023[_0x3880('0x54')](_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,_0x3880('0xc9')),_0x49a967?_0x3e1023[_0x3880('0x47')](_0x3ed6bf):_0x3e1023[_0x3880('0xc3')](_0x3ed6bf,'end'));}function Ot(_0x3b613c,_0x2d7d0d,_0x556eaa,_0x55cc0c,_0x363fa5){if(!Vt(_0x3b613c,_0x2d7d0d))return!0x1;if(_0x556eaa[_0x3880('0xe9')][_0x3880('0x169')](_0x55cc0c['start']))return!0x0;if(_0x3b613c['type']!=_0x2d7d0d[_0x3880('0x103')])return!0x1;if(!_0x556eaa[_0x3880('0xe9')][_0x3880('0x11d')](_0x55cc0c[_0x3880('0x64')]))return!0x1;const _0x21ae98=_0x363fa5['createRange'](_0x556eaa[_0x3880('0xe9')],_0x55cc0c[_0x3880('0x64')])[_0x3880('0x3f')]();for(const _0x378efc of _0x21ae98)if([_0x3880('0x98'),'elementEnd'][_0x3880('0x4e')](_0x378efc[_0x3880('0x103')])&&_0x363fa5[_0x3880('0xcf')][_0x3880('0x172')](_0x378efc[_0x3880('0xf5')]))return!0x1;return!0x0;}function Vt(_0x32ecb9,_0x4c6afd){return!(!_0x32ecb9[_0x3880('0x58')]||!_0x4c6afd[_0x3880('0x58')])&&_0x29860a(_0x32ecb9[_0x3880('0x39')],_0x4c6afd[_0x3880('0x39')]);}function Gt(_0x4c849f,_0x1832e6){const _0x11e7bd=Ft(_0x4c849f[_0x3880('0x39')]),_0xaa1319=Ft(_0x1832e6);if(!_0x4c849f[_0x3880('0x58')])return!0x1;for(const _0x466ede of Object['keys'](_0xaa1319))if(!_0x29860a(_0x11e7bd[_0x466ede],_0xaa1319[_0x466ede]))return!0x1;return!0x0;}function Ft(_0x374576){const _0x489b05=Object['assign']({},_0x374576);return delete _0x489b05[_0x3880('0x8f')],delete _0x489b05[_0x3880('0xed')],_0x489b05;}function Pt(_0x17bd8a){return _0x3880('0x76')==_0x17bd8a['type']?_0x17bd8a[_0x3880('0x12e')][_0x3880('0x13a')]('|')[0x0]:null;}
|
|
23
|
+
const _0x528d=['removeMarker:suggestion:formatBlock','next','isTouching','options','open','return','isIntersecting','enableReadOnlyMode','addMarker:suggestion','setAttribute','rename','data-suggestion','head','getAncestors','fire','removeMarker:suggestion:attribute','isInsideObject','previous','nodeAfter','getCommentThread','stop','widget','push','track-changes-command-not-found','skipNestingCheck','announce','newRange','suggestion-type','markerToHighlight','plugins','dataDowncast','isDocumentOperation','createPositionAfter','dataReady','markers','insertion:accept','creator','_getMarkerAnnouncementText','ck-suggestion-marker-','isRemovable','deleteContent','model','isBlock','_addThreadToSuggestion','change:activeMarkers','_model','addSuggestion','track-changes-suggestion-data-mismatch','getIntersection','toJSON','multipleBlocks','removeComment','delete','markerToData','deletion:chain','getMultiRangeId','track-changes-suggestion-not-found','_isBlockAttribute','_inlineAttributeKeys','stopListening','parent','trackChanges','comments','_blockAttributeKeys','_reduceSuggestionAttributeRange','_processAttributeChanges','filter','getFirstRange','_reduceExistingSuggestions','toViewElement','containsPosition','showSuggestionHighlights','_findSuggestions','pluginName','meta','concat','multi','discardAllSuggestions','find','nodeBefore','applyOperation','addMarker:suggestion:formatBlock','deletion:','root','setSelection','dataToMarker','tablePasteChainId','_isDataLoaded','createRangeIn','accepted','suggestionUnloaded','originalSuggestionId','formatBlock:chain','attribute:accept','addMarkerName','_registerInlineAttribute','_registerDefaultCallbacks','formatInline','getNearestSelectionRange','notReady','createPositionAt','_trackFormatChanges','markerName','every','fromCharCode','always','ck-suggestion-marker','isBefore','markBlockFormat','end','deletion','assign','acceptSuggestion','attribute:join','_defaultCallbacks','addMarker:suggestion:attribute','insertion:','isSelectable','subType','getUser','isObject','getSuggestion','_joinWithAdjacentSuggestions','position','catch','_recordAttributeChanges','ck-suggestion-marker-formatBlock','update:suggestion','getAllAdjacentSuggestions','markAttributeChange','chain','define','moveTargetPosition','isAfter','getShiftedBy','getChangedMarkers','getSuggestionCallback','fromRange','_refreshSuggestionsChain','get','groupId','join','then','formatBlock:','formatBlock','discard','_updateSuggestionData','writer','formatInline:discard','hasComments','external:','clear','size','acceptSelectedSuggestions','deletion:accept','addMarker','removeClass','change:_saved','commands','_SUGGESTION_ANNOUNCEMENT','mapper','format','TrackChangesEditing','has','conversion','oldRange','_getExternalAuthor','enqueueChange','isOwn','_checkSuggestionCorrectness','ck-suggestion-marker-formatInline','getDifference','attributeKey','suggestion:attribute:','author','removeAttribute','error-saving-suggestion-data-suggestion-discarded','PendingActions','change','isExternal','config','$elementName','authoredAt','discardSuggestion','splice','isNextTo','addRange','sort','_initAriaMarkerChangeAnnouncements','collaboration.channelId','_commentsRepository','forward','oldName','commandName','detach','never','setTo','_createSuggestion','createRange','discardSelectedSuggestions','removeMarkers','start','$graveyard','editing','formatInline:join','createdAt','_getSuggestionData','LEAVE','suggestion:','_breakSuggestionMarker','version','attributeOldValue','schema','containsRange','acceptAllSuggestions','unbindElementFromMarkerName','markInsertion','ready','isAtStart','track-changes-user-not-found','markerReady','containsRangeInObject','change:data','splitPosition','batch','formatBlock:accept','after','formatBlock:join','_mergeNestedSuggestions','insertion:chain','isLocal','accept','forEach','_suggestionState','rethrowUnexpectedError','isEqual','$text','hasSuggestion','FORMATTING','_adapter','some','enableCommand','_enableDefaultAttributesIntegration','containerElement','insertion','registerCustomCallback','addHighlight','_getAuthorFromId','_rangeIsInLocalUserInsertion','attribute:discard','requires','includes','suggestionChanged','buildSuggestion','isCollapsed','getContainedElement','activeMarkers','attributeNewValue','trackChanges.mergeNestedSuggestions','_processAttributeSuggestions','insertContent','element','howMany','for','getWalker','insert','attribute:','newName','length','suggestionLoaded','differ','suggestion','deletion:join','createRangeOn','_removeSuggestion','addClass','removeMarker','_suggestionFactory','value','rejected','split','_descriptionFactory','add','formatInline:','_saved','track-changes-enable-command-twice','getAttribute','forceDefaultExecution','_customCallbacks','formatGroupId','selection','addAttribute','track-changes-adapter-already-set','addCommentThread','_registerBlockAttribute','_setSuggestionRange','newValue','adapter','isInContent','commentThread','getFirstMarker','item','highest','deletion:discard','@external','data','high','addUser','name','consume','insertion:join','execute','_suggestions','isAtEnd','_setSuggestionData','ariaLiveAnnouncer','markDeletion','Users','rootName','removed','isMultiRange','_enabledCommands','_handleNewSuggestionMarker','$marker','from','toUpperCase','updateMarker','document','startsWith','trackChangesCommand','elementToElement','values','_splitMarkerName','set','upcast','default','low','PENDING_ACTION_SUGGESTION','isLimit','remove','oldValue','isIntersectingWithRange','attribute','_recordAttributeSuggestionsFromVersion','attributes','editor','ck-suggestion-marker--active','getSuggestions','getRanges','_isForcedDefaultExecutionBlock','_joinSuggestions','keys','addSuggestionData','getLastMatchingPosition','$textProxy','editingDowncast','map','trackChanges.trackFormatChanges','targetPosition','isArray','locale','changeAttribute','type','clone','CommentsRepository','registerPostFixer','_refreshAttributeSuggestionsChain','group','_addSuggestionMarker','elementStart','_editor','key','listenTo','lowest','history','range','getCustomProperty','consumable','unshift','_cutOutSuggestionMarker'];(function(_0x245d1b,_0x528d58){const _0x2c8ada=function(_0x47303a){while(--_0x47303a){_0x245d1b['push'](_0x245d1b['shift']());}};_0x2c8ada(++_0x528d58);}(_0x528d,0xfc));const _0x2c8a=function(_0x245d1b,_0x528d58){_0x245d1b=_0x245d1b-0x0;let _0x2c8ada=_0x528d[_0x245d1b];return _0x2c8ada;};import{Plugin as _0x19395d,PendingActions as _0x1e0db6}from'ckeditor5/src/core';import{LiveRange as _0x474640}from'ckeditor5/src/engine';import{CKEditorError as _0x2c981f,uid as _0x8e65af,priorities as _0x44a00c,logWarning as _0x1dfdc0}from'ckeditor5/src/utils';import{toWidget as _0xa71655}from'ckeditor5/src/widget';import{Users as _0x49af3d,hashObject as _0x5cb55d,surroundingMarkersDetector as _0x3cc4ba}from'ckeditor5-collaboration/src/collaboration-core';import _0x23e0fe from'./commands/trackchangescommand';import _0x810139 from'./commands/acceptsuggestioncommand';import _0x341c09 from'./commands/discardsuggestioncommand';import _0x2d0d9a from'./commands/executeonallsuggestionscommand';import _0x4f5e09 from'./commands/executeonselectedsuggestionscommand';import _0x2517c2 from'./suggestion';import _0x2b483e from'./suggestiondescriptionfactory';import _0x301f6c from'./integrations/aiassistant';import _0x2c3304 from'./integrations/alignment';import _0x47dd4a from'./integrations/basicstyles';import _0x2e647f from'./integrations/blockquote';import _0x42a93d from'./integrations/ckbox';import _0x187d6b from'./integrations/codeblock';import _0x2900d5 from'./integrations/comments';import _0x22e5fb from'./integrations/deletecommand';import _0x2622d4 from'./integrations/documentlist';import _0x53f952 from'./integrations/documentlistproperties';import _0x467b54 from'./integrations/entercommand';import _0x24ebf3 from'./integrations/findandreplace';import _0x54d349 from'./integrations/font';import _0x1c8759 from'./integrations/formatpainter';import _0x1d5b4f from'./integrations/heading';import _0xaff5e7 from'./integrations/highlight';import _0x3b458e from'./integrations/horizontalline';import _0x1d4d4e from'./integrations/htmlembed';import _0x3793fc from'./integrations/image';import _0x47dbd8 from'./integrations/imagereplace';import _0xd617b5 from'./integrations/imagestyle';import _0x2db821 from'./integrations/importword';import _0x4a83ca from'./integrations/indent';import _0x4a8e90 from'./integrations/inputcommand';import _0x29aa1f from'./integrations/link';import _0x6c08de from'./integrations/list';import _0x4b8bd8 from'./integrations/listproperties';import _0x37a72d from'./integrations/mediaembed';import _0x6a716c from'./integrations/mention';import _0x474848 from'./integrations/pagebreak';import _0x5f3433 from'./integrations/paragraph';import _0x104408 from'./integrations/removeformat';import _0x1ec694 from'./integrations/restrictededitingmode';import _0x5285df from'./integrations/shiftentercommand';import _0x3b3833 from'./integrations/standardeditingmode';import _0x1561d3 from'./integrations/style';import _0x118fc8 from'./integrations/table';import _0x55e8be from'./integrations/tablemergesplit';import _0x237cfe from'./integrations/tableheadings';import _0x45944 from'./integrations/tableclipboard';import _0x1ded4f from'./integrations/tablecolumnresize';import _0x10996e from'./integrations/template';import _0x2ff2d6 from'./integrations/tableofcontents';import _0x71d845 from'./integrations/title';import _0x15e127 from'./integrations/undo';import _0x4ed3c7 from'./integrations/tablecaption';import _0xcf4196 from'./integrations/tableproperties';import{getTranslation as _0x1c53ec}from'./utils/common-translations';import{isEqual as _0x34db3f,omit as _0x33ca97}from'lodash-es';export const renameAttributeKey=_0x2c8a('0x135');export default class p extends _0x19395d{static get[_0x2c8a('0x17a')](){return[_0x2c8a('0x70'),_0x49af3d,_0x1e0db6,_0x301f6c,_0x2c3304,_0x47dd4a,_0x2e647f,_0x42a93d,_0x187d6b,_0x2900d5,_0x22e5fb,_0x2622d4,_0x53f952,_0x467b54,_0x24ebf3,_0x54d349,_0x1c8759,_0x1d5b4f,_0xaff5e7,_0x3b458e,_0x1d4d4e,_0x3793fc,_0xd617b5,_0x47dbd8,_0x2db821,_0x4a83ca,_0x4a8e90,_0x29aa1f,_0x6c08de,_0x4b8bd8,_0x37a72d,_0x6a716c,_0x474848,_0x5f3433,_0x104408,_0x1ec694,_0x5285df,_0x3b3833,_0x1561d3,_0x118fc8,_0x55e8be,_0x237cfe,_0x4ed3c7,_0x45944,_0x1ded4f,_0x2ff2d6,_0xcf4196,_0x10996e,_0x71d845,_0x15e127];}static get[_0x2c8a('0xc9')](){return _0x2c8a('0x122');}constructor(_0x59b7fd){function _0x9a20f9(_0x323763){return _0x323763[_0x2c8a('0x68')](_0x5d903b=>String[_0x2c8a('0xe8')](_0x5d903b))['join']('');}super(_0x59b7fd),this[_0x2c8a('0x5b')]=null,this[_0x2c8a('0x51')](_0x2c8a('0x4'),[]),this['on'](_0x2c8a('0xac'),(_0xdf342a,_0x606f7e,_0x4d83e2,_0x1318f7)=>{this[_0x2c8a('0xad')][_0x2c8a('0x132')](()=>{for(const _0x2166fe of[..._0x1318f7,..._0x4d83e2])this[_0x2c8a('0xad')][_0x2c8a('0xa2')][_0x2c8a('0x123')](_0x2166fe)&&_0x59b7fd[_0x2c8a('0x14b')]['reconvertMarker'](_0x2166fe);});}),this[_0x2c8a('0x1d')]=new _0x2b483e(this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x154')],this[_0x2c8a('0x5d')][_0x2c8a('0x6c')]),this['_adapter']=null,this['_suggestionFactory']=new Bt(this[_0x2c8a('0x5d')]),this[_0x2c8a('0x3c')]=new Map(),this[_0x2c8a('0x13e')]=_0x59b7fd[_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x70')),this['_enabledCommands']=new Set(),this[_0x2c8a('0xad')]=this['editor'][_0x2c8a('0xa9')],this[_0x2c8a('0x169')]=new WeakMap(),this[_0x2c8a('0x61')]=!0x1,this['_blockAttributeKeys']=new Set([_0x2c8a('0x135')]),this[_0x2c8a('0xba')]=new Set(),_0x59b7fd[_0x2c8a('0x134')][_0x2c8a('0x103')](_0x2c8a('0x69'),_0x2c8a('0x53')),this['_trackFormatChanges']=_0x59b7fd['config'][_0x2c8a('0x10b')]('trackChanges.trackFormatChanges'),_0x59b7fd[_0x2c8a('0x134')]['define'](_0x2c8a('0x6'),!0x0),this[_0x2c8a('0x164')]=_0x59b7fd[_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x6')),this[_0x2c8a('0x4d')]=new _0x23e0fe(_0x59b7fd,this[_0x2c8a('0x45')]),this[_0x2c8a('0x13c')](),this[_0x9a20f9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x9a20f9([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x38]);}['init'](){const _0x52d724=this[_0x2c8a('0x5d')],_0x5eea10=(_0x2abf05,_0x507f24)=>{if('attribute'!=_0x2abf05)return _0x2c8a('0xa6')+_0x2abf05;const _0x420d50=_0x507f24[_0x2c8a('0x1c')]('|')[0x0];return this[_0x2c8a('0xb9')](_0x420d50)?_0x2c8a('0xfe'):_0x2c8a('0x12a');};_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x67'))[_0x2c8a('0x9c')]({'model':'suggestion','view':_0x194470=>{const {id:_0x5a60dd,type:_0x58346d,subType:_0xb306ee}=this[_0x2c8a('0x50')](_0x194470['markerName']),_0x31d843=['ck-suggestion-marker',_0x5eea10(_0x58346d,_0xb306ee)];let _0x44102d=0xbb8;return this[_0x2c8a('0x4')]['includes'](_0x194470[_0x2c8a('0xe6')])&&(_0x31d843[_0x2c8a('0x96')]('ck-suggestion-marker--active'),_0x44102d=0xbc2),_0x2c8a('0xee')==_0x58346d&&(_0x44102d+=0x5),{'classes':_0x31d843,'attributes':{'data-suggestion':_0x5a60dd},'priority':_0x44102d};}}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x9e'))['add'](_0x569158=>{_0x569158['on'](_0x2c8a('0x88'),(_0x5a1288,_0x3f8c5e,_0x2cbc60)=>{if(!_0x2cbc60[_0x2c8a('0x83')][_0x2c8a('0xc7')])return;const _0x430ff3=_0x3f8c5e['item'];if(!_0x430ff3)return;const _0x374ed6=_0x2cbc60[_0x2c8a('0x120')]['toViewElement'](_0x430ff3);_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xf8')](_0x430ff3)&&_0x374ed6&&!_0x374ed6[_0x2c8a('0x7c')](_0x2c8a('0x95'))&&_0x374ed6['is'](_0x2c8a('0x173'))&&_0xa71655(_0x374ed6,_0x2cbc60[_0x2c8a('0x113')]);},{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')](_0x2c8a('0x9e'))[_0x2c8a('0x9c')]({'model':_0x2c8a('0x13'),'view':(_0x5001a7,_0x393740)=>{if(!_0x393740['options'][_0x2c8a('0xc7')])return null;const {type:_0xeeaaec,subType:_0x10e639}=this[_0x2c8a('0x50')](_0x5001a7[_0x2c8a('0xe6')]);return{'classes':[_0x2c8a('0xea'),_0x5eea10(_0xeeaaec,_0x10e639)],'priority':0xbb8};}});const _0x112ec4=({showActiveMarkers:_0x28fbe3=!0x0,isAttributeSuggestion:_0x32a0f5=!0x1}={})=>(_0x504ef1,_0x31d267,_0x30276f)=>{if(!_0x31d267[_0x2c8a('0x31')])return;const {id:_0x2a2d92}=this[_0x2c8a('0x50')](_0x31d267['markerName']);if(_0x32a0f5){const _0x5a16a6=Pt(this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x2a2d92));if(!this['_isBlockAttribute'](_0x5a16a6))return;}if(_0x31d267['item']['is'](_0x2c8a('0x26')))return void _0x30276f['consumable']['consume'](_0x31d267[_0x2c8a('0x31')],_0x504ef1[_0x2c8a('0x38')]);const _0x3b9a44=_0x30276f['mapper'][_0x2c8a('0xc5')](_0x31d267[_0x2c8a('0x31')]);if(_0x31d267['item']['is']('element')&&_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xaa')](_0x31d267[_0x2c8a('0x31')])&&!_0x3b9a44[_0x2c8a('0x7c')](_0x2c8a('0x176'))){_0x30276f['writer'][_0x2c8a('0x17')]([_0x2c8a('0xea'),_0x2c8a('0xfe')],_0x3b9a44),_0x30276f[_0x2c8a('0x113')][_0x2c8a('0x89')](_0x2c8a('0x8b'),_0x2a2d92,_0x3b9a44),_0x30276f[_0x2c8a('0x120')]['bindElementToMarker'](_0x3b9a44,_0x31d267[_0x2c8a('0xe6')]),_0x28fbe3&&(this['activeMarkers'][_0x2c8a('0x17b')](_0x31d267['markerName'])?_0x30276f[_0x2c8a('0x113')][_0x2c8a('0x17')](_0x2c8a('0x5e'),_0x3b9a44):_0x30276f[_0x2c8a('0x113')]['removeClass'](_0x2c8a('0x5e'),_0x3b9a44));for(const _0x257131 of _0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xd8')](_0x31d267[_0x2c8a('0x31')])['getItems']())_0x30276f[_0x2c8a('0x7d')][_0x2c8a('0x39')](_0x257131,_0x504ef1[_0x2c8a('0x38')]);_0x30276f[_0x2c8a('0x7d')][_0x2c8a('0x39')](_0x31d267['item'],_0x504ef1[_0x2c8a('0x38')]);}};_0x52d724['conversion'][_0x2c8a('0xb')]('dataDowncast')['add'](_0x7cac5e=>{_0x7cac5e['on']('addMarker:suggestion:formatBlock',(_0x1c6aaa,_0x5bcb3c,_0x242db2)=>{_0x242db2[_0x2c8a('0x83')]['showSuggestionHighlights']&&_0x112ec4({'showActiveMarkers':!0x1})(_0x1c6aaa,_0x5bcb3c,_0x242db2);},{'priority':_0x2c8a('0x32')});}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x9e'))[_0x2c8a('0x1e')](_0x2995b1=>{_0x2995b1['on']('addMarker:suggestion:attribute',(_0x39b520,_0x5a9d05,_0x4807a2)=>{_0x4807a2['options'][_0x2c8a('0xc7')]&&_0x112ec4({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x39b520,_0x5a9d05,_0x4807a2);},{'priority':_0x2c8a('0x32')});}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')]('dataDowncast')[_0x2c8a('0xb5')]({'model':_0x2c8a('0x13'),'view':(_0x24a72d,_0x1a8b42)=>_0x1a8b42['options'][_0x2c8a('0xc7')]?null:{'group':_0x2c8a('0x13'),'name':_0x24a72d['substr'](0xb)}}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x52'))[_0x2c8a('0x4e')]({'view':{'name':_0x2c8a('0x13'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x821e8,{writer:_0xcc856b})=>{let _0x312d3d=_0x2c8a('0x150')+_0x821e8[_0x2c8a('0x22')](_0x2c8a('0x9b'))+':'+_0x821e8[_0x2c8a('0x22')]('id');return _0x821e8[_0x2c8a('0x22')]('marker-count')&&(_0x312d3d+=':'+_0x821e8[_0x2c8a('0x22')]('marker-count')),_0xcc856b['createElement'](_0x2c8a('0x47'),{'data-name':_0x312d3d});}}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x52'))[_0x2c8a('0xd5')]({'view':_0x2c8a('0x13')}),_0x52d724[_0x2c8a('0x124')][_0x2c8a('0xb')](_0x2c8a('0x67'))['add'](_0x3c0e67=>{_0x3c0e67['on'](_0x2c8a('0xd1'),_0x112ec4(),{'priority':_0x2c8a('0x36')});}),_0x52d724[_0x2c8a('0x124')]['for'](_0x2c8a('0x67'))['add'](_0x436e6c=>{_0x436e6c['on'](_0x2c8a('0xf3'),_0x112ec4({'isAttributeSuggestion':!0x0}),{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')](_0x2c8a('0x67'))[_0x2c8a('0x1e')](_0x3a103c=>{_0x3a103c['on'](_0x2c8a('0x80'),(_0x1628e0,_0x4b3a86,_0x1c6c27)=>{const _0x5bdca7=_0x1c6c27[_0x2c8a('0x120')]['markerNameToElements'](_0x4b3a86[_0x2c8a('0xe6')]);if(_0x5bdca7)for(const _0xe4093f of _0x5bdca7)_0xe4093f[_0x2c8a('0x7c')](_0x2c8a('0x176'))||(_0x1c6c27[_0x2c8a('0x113')][_0x2c8a('0x11c')]([_0x2c8a('0xea'),_0x2c8a('0xfe'),'ck-suggestion-marker--active'],_0xe4093f),_0x1c6c27[_0x2c8a('0x113')][_0x2c8a('0x12f')](_0x2c8a('0x8b'),_0xe4093f),_0x1c6c27['mapper']['unbindElementFromMarkerName'](_0xe4093f,_0x4b3a86[_0x2c8a('0xe6')]));},{'priority':_0x2c8a('0x36')});}),_0x52d724['conversion'][_0x2c8a('0xb')]('editingDowncast')[_0x2c8a('0x1e')](_0x4e2bb1=>{_0x4e2bb1['on'](_0x2c8a('0x8f'),(_0x2120a1,_0x132a27,_0xce67a5)=>{const _0x2e2aec=_0xce67a5[_0x2c8a('0x120')]['markerNameToElements'](_0x132a27[_0x2c8a('0xe6')]);if(!_0x2e2aec)return;const {id:_0x308080}=this['_splitMarkerName'](_0x132a27[_0x2c8a('0xe6')]),_0x1f7cc1=Pt(this['_suggestions'][_0x2c8a('0x10b')](_0x308080));if(this[_0x2c8a('0xb9')](_0x1f7cc1))for(const _0x5b31c4 of _0x2e2aec)_0x5b31c4[_0x2c8a('0x7c')](_0x2c8a('0x176'))||(_0xce67a5[_0x2c8a('0x113')]['removeClass']([_0x2c8a('0xea'),_0x2c8a('0xfe'),_0x2c8a('0x5e')],_0x5b31c4),_0xce67a5[_0x2c8a('0x113')][_0x2c8a('0x12f')](_0x2c8a('0x8b'),_0x5b31c4),_0xce67a5[_0x2c8a('0x120')][_0x2c8a('0x157')](_0x5b31c4,_0x132a27['markerName']));},{'priority':_0x2c8a('0x36')});}),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x71')](_0x1cdf0f=>{let _0x1c5c56=!0x1;const _0x499ef5=Array[_0x2c8a('0x48')](_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')][_0x2c8a('0x107')]()),_0x5e6233=new Set();for(const {name:_0x3677b6,data:_0x139b7b}of _0x499ef5){const {group:_0x795cc3,type:_0x4fbf58,subType:_0x1a03ca,id:_0x2e45fb}=this[_0x2c8a('0x50')](_0x3677b6);if(_0x2c8a('0x13')!==_0x795cc3)continue;const _0x378a11=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x2e45fb);if(null!=_0x139b7b[_0x2c8a('0x9a')]){_0x2c8a('0xe1')==_0x4fbf58&&(_0x1c5c56=_0x1c5c56||Et(_0x139b7b[_0x2c8a('0x9a')],_0x3677b6,_0x1cdf0f,_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')]));const _0x2923ef=_0x2c8a('0x5a')==_0x4fbf58&&this['_isBlockAttribute'](_0x1a03ca[_0x2c8a('0x1c')]('|')[0x0]);if(_0x139b7b[_0x2c8a('0x9a')][_0x2c8a('0x2')]||_0x2c8a('0x14a')==_0x139b7b[_0x2c8a('0x9a')][_0x2c8a('0xd3')][_0x2c8a('0x42')]||'formatBlock'==_0x4fbf58&&!jt(_0x139b7b[_0x2c8a('0x9a')])||_0x2923ef&&!jt(_0x139b7b[_0x2c8a('0x9a')])||_0x2c8a('0xee')==_0x4fbf58&&!(!xt(_0x1078e8=_0x139b7b[_0x2c8a('0x9a')])&&!function(_0x1fdb81){return _0x1fdb81['start'][_0x2c8a('0xbc')]==_0x1fdb81[_0x2c8a('0xed')][_0x2c8a('0xcf')]&&_0x1fdb81[_0x2c8a('0x149')][_0x2c8a('0x3d')];}(_0x1078e8)))_0x1cdf0f[_0x2c8a('0x18')](_0x3677b6),_0x1c5c56=!0x0;else{if(!_0x378a11||!_0x378a11['isInContent'])continue;_0x5e6233[_0x2c8a('0x1e')](_0x378a11);}}}var _0x1078e8;return _0x5e6233[_0x2c8a('0x118')]>0x0&&(_0x1c5c56=!!this[_0x2c8a('0xfa')](_0x5e6233)||_0x1c5c56),_0x1c5c56;}),_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x71')](_0x33f86b=>{let _0x323b4d=!0x1;for(const _0x136e8a of _0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')]['getChanges']())if(_0x2c8a('0xd')==_0x136e8a[_0x2c8a('0x6e')])for(const _0x672b0a of this['_suggestions']['values']()){if(_0x672b0a[_0x2c8a('0x44')]||!_0x672b0a['isInContent'])continue;const _0x287f40=_0x2c8a('0x110')==_0x672b0a['type'],_0x2c07a7=Pt(_0x672b0a),_0x35a741=_0x2c07a7&&this[_0x2c8a('0xb9')](_0x2c07a7);if(!_0x287f40&&!_0x35a741)continue;const _0x5c719c=_0x672b0a[_0x2c8a('0xc3')]();if(_0x5c719c[_0x2c8a('0x149')][_0x2c8a('0xbc')]!=_0x5c719c[_0x2c8a('0xed')][_0x2c8a('0xbc')]&&!_0x5c719c[_0x2c8a('0xed')][_0x2c8a('0x3d')]){const _0x41fa68=_0x52d724['model'][_0x2c8a('0xe4')](_0x5c719c[_0x2c8a('0x149')][_0x2c8a('0x92')],'end'),_0x38e146=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0x5c719c[_0x2c8a('0x149')],_0x41fa68);_0x33f86b[_0x2c8a('0x4a')](_0x672b0a[_0x2c8a('0x30')](),{'range':_0x38e146}),_0x323b4d=!0x0;}}return _0x323b4d;}),_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x71')](_0xbc6b85=>this['_processAttributeChanges'](_0xbc6b85)),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')]['registerPostFixer'](_0x241ad7=>!_0x241ad7['batch']['isLocal']&&this[_0x2c8a('0x7')](_0x241ad7)),_0x52d724['model']['markers']['on'](_0x2c8a('0xff'),(_0x3f964e,_0x4cdc43,_0x2ed6d7)=>{if(null==_0x2ed6d7){const {id:_0x9a7701}=this['_splitMarkerName'](_0x4cdc43['name']),_0x5457c1=this['_suggestions'][_0x2c8a('0x10b')](_0x9a7701);_0x5457c1&&_0x5457c1[_0x2c8a('0xde')](_0x4cdc43[_0x2c8a('0x38')]);}}),_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x4b')]['on'](_0x2c8a('0x15e'),()=>{const _0x37491f=Array[_0x2c8a('0x48')](_0x52d724[_0x2c8a('0xa9')]['document'][_0x2c8a('0x12')][_0x2c8a('0x107')]())['filter'](_0x3f26d1=>'suggestion'===this[_0x2c8a('0x50')](_0x3f26d1[_0x2c8a('0x38')])[_0x2c8a('0x73')]);if(0x0===_0x37491f[_0x2c8a('0x10')])return;_0x37491f[_0x2c8a('0x13b')]((_0x28af5f,_0x22dd5d)=>{const _0x1fc939=_0x28af5f[_0x2c8a('0x35')][_0x2c8a('0x125')],_0x3aad11=_0x22dd5d['data'][_0x2c8a('0x125')];return null===_0x1fc939&&null===_0x3aad11?0x0:null===_0x1fc939&&null!==_0x3aad11?-0x1:null!==_0x1fc939&&null===_0x3aad11?0x1:_0x1fc939[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x3aad11['start'])?-0x1:0x1;});const _0x58fd7b=new Set(),_0xce9305=new Set();for(const {name:_0x492da7,data:_0x21ae58}of _0x37491f){const {id:_0x5db7ef}=this[_0x2c8a('0x50')](_0x492da7);if(null===_0x21ae58[_0x2c8a('0x125')]){const _0x298062=this[_0x2c8a('0x46')](_0x492da7);_0xce9305[_0x2c8a('0x1e')](_0x298062);}else{const _0x1cd749=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x5db7ef);null!==_0x21ae58['newRange']||_0x1cd749[_0x2c8a('0x2e')]?(_0x58fd7b[_0x2c8a('0x1e')](_0x1cd749[_0x2c8a('0x8c')]),_0xce9305[_0x2c8a('0x1e')](_0x1cd749)):this[_0x2c8a('0x16')](_0x1cd749);}}_0xce9305[_0x2c8a('0x118')]>0x0&&this['_refreshSuggestionsChain'](_0xce9305);for(const _0x1ef086 of _0x58fd7b)this[_0x2c8a('0x8e')]('suggestionChanged',_0x1ef086);}),_0x52d724[_0x2c8a('0xa9')]['on'](_0x2c8a('0xd0'),(_0x2d64a3,_0x1d2a8f)=>{const _0x154232=_0x1d2a8f[0x0];if(!this[_0x2c8a('0x3c')][_0x2c8a('0x118')])return;if(!_0x154232[_0x2c8a('0x9f')])return;if(_0x154232[_0x2c8a('0x160')]['isUndo']||!_0x154232['batch'][_0x2c8a('0x166')])return;let _0xf8d55e,_0x3d1ca6;switch(_0x154232['type']){case _0x2c8a('0xd'):_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0xfb')]),_0x3d1ca6=_0xf8d55e[_0x2c8a('0x106')](_0x154232[_0x2c8a('0xa')]);break;case'split':_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x15f')]),_0x3d1ca6=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x104')]);break;case'move':_0xf8d55e=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x154232[_0x2c8a('0x6a')]),_0x3d1ca6=_0xf8d55e[_0x2c8a('0x106')](_0x154232[_0x2c8a('0xa')]);break;default:return;}const _0x43ae09=_0x52d724['model'][_0x2c8a('0x146')](_0xf8d55e,_0x3d1ca6);_0x52d724['model'][_0x2c8a('0x132')](()=>{for(const {suggestion:_0x371e5a,meta:_0x2c6bab}of this[_0x2c8a('0xc8')](_0x43ae09)){if(_0x371e5a['isMultiRange'])continue;if(_0x2c8a('0xe1')==_0x371e5a['type'])continue;const _0x5aec90=Pt(_0x371e5a);if(_0x5aec90&&this[_0x2c8a('0xb9')](_0x5aec90)&&_0x2c8a('0x1c')!=_0x154232['type'])continue;const _0x317925=_0x371e5a[_0x2c8a('0x35')]&&_0x371e5a[_0x2c8a('0x35')][_0x2c8a('0xb2')];(_0x2c8a('0x110')!=_0x371e5a['type']||_0x2c8a('0x1c')==_0x154232[_0x2c8a('0x6e')]&&!_0x317925)&&(_0x2c6bab['containsRangeInObject']||_0x2c8a('0x174')==_0x371e5a[_0x2c8a('0x6e')]&&_0x2c6bab[_0x2c8a('0x128')]||_0x371e5a[_0x2c8a('0xc3')]()[_0x2c8a('0x155')](_0x43ae09)&&this[_0x2c8a('0x151')](_0x371e5a,_0xf8d55e,_0x3d1ca6));}});},{'priority':_0x2c8a('0x79')}),_0x52d724['model']['on'](_0x2c8a('0xa8'),(_0x4db92e,_0x3d0dea)=>{const _0x2b8e22=_0x3d0dea[0x0],_0x3b6c48=_0x3d0dea[0x1];if(_0x3b6c48&&_0x3b6c48[_0x2c8a('0x23')])return;if(this[_0x2c8a('0x61')])return;if(!this['trackChangesCommand'][_0x2c8a('0x1a')])return;if(_0x2b8e22[_0x2c8a('0x2')])return;const _0x252cf9=_0x52d724['model'][_0x2c8a('0x154')],{start:_0x4226b2,end:_0x589a06}=_0x2b8e22['getFirstRange'](),_0xf8714=_0x4226b2[_0x2c8a('0x92')]&&_0x252cf9[_0x2c8a('0x56')](_0x4226b2[_0x2c8a('0x92')])?null:_0x252cf9[_0x2c8a('0xe2')](_0x4226b2,_0x2c8a('0x13f')),_0x3e7f4d=_0x589a06[_0x2c8a('0xcf')]&&_0x252cf9[_0x2c8a('0x56')](_0x589a06['nodeBefore'])?null:_0x252cf9[_0x2c8a('0xe2')](_0x589a06,'backward'),_0x21a5bf=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0xf8714?_0xf8714['start']:_0x4226b2,_0x3e7f4d?_0x3e7f4d[_0x2c8a('0xed')]:_0x589a06);_0x52d724[_0x2c8a('0xa9')]['change'](_0x2e3e89=>{this['markDeletion'](_0x21a5bf);const _0x478b91=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')][_0x2c8a('0xe2')](_0x21a5bf[_0x2c8a('0x149')]);_0x2b8e22['is']('documentSelection')?_0x2e3e89[_0x2c8a('0xd4')](_0x478b91):_0x2b8e22[_0x2c8a('0x144')](_0x478b91);}),_0x4db92e[_0x2c8a('0x94')]();},{'priority':_0x44a00c['normal']+0xa}),_0x52d724[_0x2c8a('0xa9')]['on'](_0x2c8a('0x8'),(_0x3bbfa6,_0x4a04d1)=>{const _0x282139=_0x4a04d1[_0x4a04d1[_0x2c8a('0x10')]-0x1];_0x282139&&_0x282139['forceDefaultExecution']||this[_0x2c8a('0x61')]||this['trackChangesCommand'][_0x2c8a('0x1a')]&&(_0x52d724['model']['change'](()=>{let _0x1ec790=_0x52d724['model']['insertContent'](_0x4a04d1[0x0],_0x4a04d1[0x1],_0x4a04d1[0x2],{'forceDefaultExecution':!0x0});if(!_0x1ec790)return;_0x3bbfa6[_0x2c8a('0x85')]=_0x1ec790[_0x2c8a('0x6f')]();const _0x227d79=_0x1ec790['end'][_0x2c8a('0xcf')],_0x306f9d=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x154')];_0x227d79&&_0x306f9d[_0x2c8a('0xaa')](_0x227d79)&&!_0x306f9d[_0x2c8a('0xf8')](_0x227d79)&&(_0x1ec790=_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0x146')](_0x1ec790['start'],_0x52d724[_0x2c8a('0xa9')][_0x2c8a('0xe4')](_0x227d79,'end'))),this['markInsertion'](_0x1ec790);}),_0x3bbfa6[_0x2c8a('0x94')]());},{'priority':_0x2c8a('0x36')}),this['editor'][_0x2c8a('0x11e')][_0x2c8a('0x1e')](_0x2c8a('0xbd'),this['trackChangesCommand']),this['enableCommand'](_0x2c8a('0xbd'));const _0x5f4d66=new _0x810139(_0x52d724,this[_0x2c8a('0x3c')]);_0x52d724[_0x2c8a('0x11e')][_0x2c8a('0x1e')](_0x2c8a('0xf0'),_0x5f4d66),this[_0x2c8a('0x171')](_0x2c8a('0xf0'));const _0x575db8=new _0x341c09(_0x52d724,this[_0x2c8a('0x3c')]);_0x52d724['commands']['add']('discardSuggestion',_0x575db8),this[_0x2c8a('0x171')]('discardSuggestion'),_0x52d724['commands'][_0x2c8a('0x1e')](_0x2c8a('0x156'),new _0x2d0d9a(_0x52d724,_0x5f4d66,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0x156')),_0x52d724[_0x2c8a('0x11e')]['add'](_0x2c8a('0xcd'),new _0x2d0d9a(_0x52d724,_0x575db8,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0xcd')),_0x52d724['commands'][_0x2c8a('0x1e')]('acceptSelectedSuggestions',new _0x4f5e09(_0x52d724,_0x5f4d66,this['_suggestions'])),this[_0x2c8a('0x171')](_0x2c8a('0x119')),_0x52d724[_0x2c8a('0x11e')][_0x2c8a('0x1e')]('discardSelectedSuggestions',new _0x4f5e09(_0x52d724,_0x575db8,this[_0x2c8a('0x3c')])),this[_0x2c8a('0x171')](_0x2c8a('0x147'));const _0x28e066=_0x52d724['plugins']['get'](_0x2c8a('0x70'));this['listenTo'](_0x28e066,'addComment',(_0x5c1b1e,{threadId:_0xf05cc9})=>{const _0x2fcb51=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0xf05cc9);_0x2fcb51&&_0x2fcb51[_0x2c8a('0x2f')]&&0x1===_0x2fcb51[_0x2c8a('0x2f')][_0x2c8a('0x10')]&&this[_0x2c8a('0x112')](_0xf05cc9,{'hasComments':!0x0});},{'priority':_0x2c8a('0x54')}),this['listenTo'](_0x28e066,_0x2c8a('0xb3'),(_0x50743f,{threadId:_0x21a52b})=>{const _0xd698cc=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x21a52b);_0xd698cc&&_0xd698cc[_0x2c8a('0x2f')]&&!_0xd698cc[_0x2c8a('0x2f')]['length']&&this['_updateSuggestionData'](_0x21a52b,{'hasComments':!0x1});},{'priority':_0x2c8a('0x54')});}set['adapter'](_0x2ccc7f){if(this[_0x2c8a('0x16f')])throw new _0x2c981f(_0x2c8a('0x28'),this);this[_0x2c8a('0x16f')]=_0x2ccc7f;}get[_0x2c8a('0x2d')](){return this[_0x2c8a('0x16f')];}[_0x2c8a('0x5f')]({skipNotAttached:_0x4257ad=!0x1,toJSON:_0x314df0=!0x1}={}){const _0x4743bb=[];for(const _0x2b6205 of this[_0x2c8a('0x3c')][_0x2c8a('0x4f')]())_0x4257ad&&!_0x2b6205['isInContent']||_0x4743bb[_0x2c8a('0x96')](_0x2b6205);return _0x314df0?_0x4743bb[_0x2c8a('0x68')](_0x4cf410=>_0x4cf410[_0x2c8a('0xb1')]()):_0x4743bb;}['getSuggestion'](_0x5651d9){const _0x248f03=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x5651d9);if(!_0x248f03)throw new _0x2c981f(_0x2c8a('0xb8'),this);return _0x248f03;}[_0x2c8a('0x16d')](_0x29a064){return this[_0x2c8a('0x3c')][_0x2c8a('0x123')](_0x29a064);}[_0x2c8a('0x64')](_0x50749d){const {authorId:_0x26ba31,id:_0x39def0,attributes:_0x591890}=_0x50749d,[_0x2b77f9,_0x19cf49]=_0x50749d[_0x2c8a('0x6e')][_0x2c8a('0x1c')](':'),_0x327282=this[_0x2c8a('0x3c')]['get'](_0x39def0)||this[_0x2c8a('0x145')](_0x2b77f9,_0x19cf49,_0x39def0,_0x26ba31,_0x591890);if(this[_0x2c8a('0xab')](_0x327282),this[_0x2c8a('0x129')](_0x327282,_0x2b77f9,_0x19cf49||null,_0x26ba31),_0x327282[_0x2c8a('0x14d')]=_0x50749d[_0x2c8a('0x14d')],_0x327282[_0x2c8a('0xd7')]=!0x0,_0x591890&&_0x591890[_0x2c8a('0x34')]){const _0x401b77=_0x591890[_0x2c8a('0x34')],_0x5b080d=this[_0x2c8a('0x126')](_0x401b77['authorName']);_0x327282['authoredAt']=_0x401b77['createdAt'],_0x327282[_0x2c8a('0x12e')]=_0x5b080d,_0x327282[_0x2c8a('0x133')]=!0x0;}else _0x327282[_0x2c8a('0x136')]=_0x50749d[_0x2c8a('0x14d')];switch(_0x50749d[_0x2c8a('0x35')]&&(_0x327282[_0x2c8a('0x35')]=_0x50749d[_0x2c8a('0x35')]),_0x50749d['attributes']&&(_0x327282[_0x2c8a('0x5c')]=_0x50749d[_0x2c8a('0x5c')]),this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')]['addSuggestion']||(_0x327282[_0x2c8a('0x20')]=!0x0),this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x327282)){case _0x2c8a('0xe3'):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0xa1'));break;case _0x2c8a('0x15c'):_0x327282[_0x2c8a('0x2e')]?(this[_0x2c8a('0x10a')](new Set([_0x327282])),this['_joinWithAdjacentSuggestions'](new Set([_0x327282])),this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0x159')),this[_0x2c8a('0x8e')]('suggestionLoaded',_0x327282)):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x327282,_0x2c8a('0x43'));}return _0x327282;}[_0x2c8a('0xf0')](_0xdd92b9){this[_0x2c8a('0x23')](()=>{this['editor'][_0x2c8a('0xa9')]['change'](()=>{for(const _0x26bc6e of _0xdd92b9[_0x2c8a('0x100')]())_0x26bc6e[_0x2c8a('0x167')]();});});}[_0x2c8a('0x137')](_0x2c3692){this[_0x2c8a('0x23')](()=>{this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x132')](()=>{for(const _0x2735ef of _0x2c3692['getAllAdjacentSuggestions']())_0x2735ef[_0x2c8a('0x111')]();});});}[_0x2c8a('0x171')](_0x434738,_0x1e854b){const _0x36768d=this[_0x2c8a('0x5d')][_0x2c8a('0x11e')][_0x2c8a('0x10b')](_0x434738);if(!_0x36768d)throw new _0x2c981f(_0x2c8a('0x97'),this,{'commandName':_0x434738});if(this[_0x2c8a('0x45')][_0x2c8a('0x123')](_0x36768d))throw new _0x2c981f(_0x2c8a('0x21'),this,{'commandName':_0x434738});this[_0x2c8a('0x45')][_0x2c8a('0x1e')](_0x36768d),_0x1e854b&&_0x36768d['on'](_0x2c8a('0x3b'),(_0x8a9328,_0x472bd2)=>{this[_0x2c8a('0x4d')][_0x2c8a('0x1a')]&&(this[_0x2c8a('0x61')]||(_0x472bd2[_0x2c8a('0x10')]>0x0&&_0x472bd2[_0x472bd2[_0x2c8a('0x10')]-0x1]&&_0x472bd2[_0x472bd2['length']-0x1][_0x2c8a('0x23')]?_0x472bd2['pop']():(_0x8a9328[_0x2c8a('0x85')]=_0x1e854b((..._0x126eaa)=>_0x36768d[_0x2c8a('0x3b')](..._0x126eaa,{'forceDefaultExecution':!0x0}),..._0x472bd2),_0x8a9328[_0x2c8a('0x94')]())));},{'priority':_0x2c8a('0x36')});}['forceDefaultExecution'](_0x18aad8){let _0x26fcc5,_0x181dc4;const _0x2b4fca=this[_0x2c8a('0x61')];this[_0x2c8a('0x61')]=!0x0;try{_0x26fcc5=_0x18aad8();}catch(_0x474cb7){_0x181dc4=_0x474cb7;}return _0x2b4fca||(this[_0x2c8a('0x61')]=!0x1),_0x181dc4&&_0x2c981f[_0x2c8a('0x16a')](_0x181dc4,this),_0x26fcc5;}[_0x2c8a('0x158')](_0x399e12,_0x722e5c=null,_0x58f13a={}){if(_0x399e12[_0x2c8a('0x2')])return null;const _0x28b206=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'];for(const {suggestion:_0x333da6,meta:_0x1b669a}of this[_0x2c8a('0xc8')](_0x399e12,_0x2c8a('0x174')))if(_0x1b669a['isOwn']){if(!_0x1b669a[_0x2c8a('0x139')]){if(_0x1b669a[_0x2c8a('0x15d')]){if(!this[_0x2c8a('0x164')]||!Gt(_0x333da6,_0x58f13a))continue;return _0x333da6;}if(Gt(_0x333da6,_0x58f13a))return _0x333da6;this[_0x2c8a('0x151')](_0x333da6,_0x399e12[_0x2c8a('0x149')],_0x399e12[_0x2c8a('0xed')]);break;}if(_0x722e5c==_0x333da6[_0x2c8a('0xf6')]&&Gt(_0x333da6,_0x58f13a)){const _0x4d8066=_0x333da6[_0x2c8a('0xc3')]();return _0x4d8066[_0x2c8a('0x149')][_0x2c8a('0x16b')](_0x399e12[_0x2c8a('0xed')])?this[_0x2c8a('0x2b')](_0x333da6,this[_0x2c8a('0xad')]['createRange'](_0x399e12['start'],_0x4d8066[_0x2c8a('0xed')])):this[_0x2c8a('0x2b')](_0x333da6,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x4d8066[_0x2c8a('0x149')],_0x399e12[_0x2c8a('0xed')])),_0x333da6;}}const _0x2181dd=_0x8e65af(),_0x3743b0=_0x28b206['id'],_0x19cf55=_0x722e5c?_0x2c8a('0xf4')+_0x722e5c:_0x2c8a('0x174'),_0x2cc36a=this[_0x2c8a('0x3e')]({'id':_0x2181dd,'type':_0x19cf55,'createdAt':new Date(),'authorId':_0x3743b0,'attributes':_0x58f13a});return this[_0x2c8a('0x74')](_0x19cf55,_0x2181dd,_0x3743b0,_0x399e12),_0x2cc36a;}['markMultiRangeInsertion'](_0x51d259,_0x58bf09='multi',_0x407b54={}){const _0xe6f8ab=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'],_0x7f4898=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x174'),_0x58bf09,_0x2c8a('0x10d'));for(const _0x23a488 of this['getSuggestions']())if(_0x23a488[_0x2c8a('0x12e')]['id']==_0xe6f8ab['id']&&_0x2c8a('0x174')==_0x23a488[_0x2c8a('0x6e')]&&_0x23a488[_0x2c8a('0xf6')]==_0x58bf09&&Gt(_0x23a488,_0x407b54)&&(_0x7f4898(_0x23a488['getRanges'](),_0x51d259)||_0x7f4898(_0x51d259,_0x23a488[_0x2c8a('0x60')]()))){for(const _0x376d74 of _0x51d259)_0x23a488['addRange'](_0x376d74);return _0x23a488;}for(const {suggestion:_0x42aaea,meta:_0x58b594}of this['_findSuggestions'](_0x51d259,_0x2c8a('0x174'))){if(!_0x58b594[_0x2c8a('0x128')])continue;if(!this['_mergeNestedSuggestions']&&_0x58b594[_0x2c8a('0x15d')])continue;if(!Gt(_0x42aaea,_0x407b54))continue;let _0x4c1d03=!0x0;for(const _0x2d6fe1 of _0x42aaea[_0x2c8a('0x60')]())for(const _0x12d708 of _0x51d259)if(!_0x2d6fe1[_0x2c8a('0x155')](_0x12d708)){_0x4c1d03=!0x1;break;}if(_0x4c1d03)return _0x42aaea;}const _0x1c3aad=_0x8e65af(),_0x22e85d=_0xe6f8ab['id'],_0x34bc67=_0x2c8a('0xf4')+_0x58bf09,_0xea416b=this[_0x2c8a('0x3e')]({'id':_0x1c3aad,'type':_0x34bc67,'createdAt':new Date(),'authorId':_0x22e85d,'attributes':_0x407b54});for(const _0x5d5f4a of _0x51d259)this[_0x2c8a('0x74')](_0x34bc67,_0x1c3aad,_0x22e85d,_0x5d5f4a,_0x2517c2[_0x2c8a('0xb7')]());return _0xea416b;}['markInlineFormat'](_0x550f20,_0x174a90,_0x222d91=null,_0x2e3f5b={}){if(_0x222d91=_0x222d91||Rt(_0x174a90),_0x550f20[_0x2c8a('0x2')])return null;if(_0x2c8a('0x143')===this[_0x2c8a('0xe5')]){const _0x10b61b=this[_0x2c8a('0x19')][_0x2c8a('0x108')]('formatInline',_0x222d91,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x10b61b([_0x550f20],_0x174a90,_0x2e3f5b)),null;}const _0x2b79d8=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')]['get'](_0x2c8a('0x41'))['me'],_0x2f714a=[];if(_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')])for(const {suggestion:_0x274592,meta:_0x208290}of this[_0x2c8a('0xc8')](_0x550f20,'insertion'))_0x208290[_0x2c8a('0x128')]&&!_0x208290['isInsideObject']&&_0x2f714a[_0x2c8a('0x96')](..._0x274592[_0x2c8a('0x60')]());const _0x57ecff=function(_0x358865,_0x18edce){const _0x12cabf=[];for(const _0xa66e3e of _0x18edce){const _0x54a2ed=_0x358865[_0x2c8a('0xb0')](_0xa66e3e);_0x54a2ed&&_0x12cabf['push'](_0x54a2ed);}return _0x12cabf;}(_0x550f20,_0x2f714a),_0x515211=function(_0x45a716,_0x363601){const _0x5be699=[_0x45a716];for(const _0xfda646 of _0x363601){let _0x5126f9=0x0;for(;_0x5126f9<_0x5be699[_0x2c8a('0x10')];){const _0x2eccd8=_0x5be699[_0x5126f9][_0x2c8a('0x12b')](_0xfda646);_0x5be699[_0x2c8a('0x138')](_0x5126f9,0x1,..._0x2eccd8),_0x5126f9+=_0x2eccd8[_0x2c8a('0x10')];}}return _0x5be699;}(_0x550f20,_0x2f714a);_0x57ecff[_0x2c8a('0x10')]&&this[_0x2c8a('0xad')][_0x2c8a('0x132')](()=>{for(const _0x3c7bca of _0x57ecff){const _0x3a58c3=this[_0x2c8a('0x19')]['getSuggestionCallback']('formatInline',_0x222d91,'accept');this['forceDefaultExecution'](()=>_0x3a58c3([_0x3c7bca],_0x174a90,_0x2e3f5b));}});for(const _0x5af296 of _0x515211){let _0x592dc4=null,_0x39ed37=_0x5af296[_0x2c8a('0x149')],_0x23cffc=_0x5af296[_0x2c8a('0xed')];for(const {suggestion:_0x4895d2,meta:_0x36109f}of this['_findSuggestions'](_0x5af296,_0x2c8a('0xe1'))){if(!_0x36109f['isOwn'])continue;if(_0x4895d2[_0x2c8a('0xf6')]!=_0x222d91)continue;if(!Gt(_0x4895d2,_0x2e3f5b))continue;const _0x656159=_0x4895d2['getFirstRange']();if(_0x656159['containsRange'](_0x5af296,!0x0))return null;_0x39ed37=_0x39ed37[_0x2c8a('0xeb')](_0x656159[_0x2c8a('0x149')])?_0x39ed37:_0x656159[_0x2c8a('0x149')],_0x23cffc=_0x23cffc['isAfter'](_0x656159[_0x2c8a('0xed')])?_0x23cffc:_0x656159[_0x2c8a('0xed')],_0x592dc4?_0x656159[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x592dc4[_0x2c8a('0xc3')]()['start'])?(_0x592dc4[_0x2c8a('0x148')](),_0x592dc4=_0x4895d2):_0x4895d2[_0x2c8a('0x148')]():_0x592dc4=_0x4895d2;}const _0xf55cbc=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x39ed37,_0x23cffc);if(_0x592dc4)this['_setSuggestionRange'](_0x592dc4,_0xf55cbc);else{const _0x1b06a4=_0x8e65af(),_0x4b2b38=_0x2b79d8['id'];this['_setSuggestionData']({'id':_0x1b06a4,'type':'formatInline:'+_0x222d91,'data':_0x174a90,'createdAt':new Date(),'authorId':_0x4b2b38,'attributes':_0x2e3f5b}),this[_0x2c8a('0x74')](_0x2c8a('0x1f')+_0x222d91,_0x1b06a4,_0x4b2b38,_0xf55cbc);}}return null;}[_0x2c8a('0xec')](_0x501de1,_0x412121,_0x3851b9=[],_0x4aac9e=null,_0x39491d={}){_0x412121['formatGroupId']||(_0x412121[_0x2c8a('0x25')]=_0x412121['commandName']),_0x412121[_0x2c8a('0xb2')]=_0x501de1['is'](_0x2c8a('0x7b')),_0x4aac9e=_0x4aac9e||Rt(_0x412121);const _0x316bc9=_0x3851b9[_0x2c8a('0x68')](_0x346a9b=>Ut(_0x346a9b,this['_model'])),_0x3aca1a=_0x501de1['is'](_0x2c8a('0x7b'))?_0x501de1:Ut(_0x501de1,this[_0x2c8a('0xad')]);if(_0x2c8a('0x143')===this[_0x2c8a('0xe5')]){const _0x5a74dd=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x4aac9e,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x5a74dd([_0x3aca1a],_0x412121,_0x39491d)),null;}_0x316bc9[_0x2c8a('0x96')](_0x3aca1a);let _0x3069cf=!0x0;for(const _0x4d71d4 of _0x316bc9)if(!this['_rangeIsInLocalUserInsertion'](_0x4d71d4)){_0x3069cf=!0x1;break;}if(_0x3069cf&&_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')]){const _0x23e6d7=this['_suggestionFactory']['getSuggestionCallback'](_0x2c8a('0x110'),_0x4aac9e,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x23e6d7([_0x3aca1a],_0x412121,_0x39491d)),null;}let _0x529ad0=null,_0x225251=_0x3aca1a[_0x2c8a('0x149')],_0x3411b9=_0x3aca1a[_0x2c8a('0xed')];for(const {suggestion:_0x34a67e,meta:_0x45d3af}of this['_findSuggestions'](_0x3aca1a,_0x2c8a('0x110'))){if(!_0x45d3af['isOwn'])continue;if(_0x45d3af['isNextTo']||_0x45d3af[_0x2c8a('0x15d')]||_0x45d3af[_0x2c8a('0x90')])continue;if(_0x34a67e[_0x2c8a('0x35')][_0x2c8a('0x25')]!=_0x412121['formatGroupId'])continue;if(!Gt(_0x34a67e,_0x39491d))continue;const _0x21e8a1=_0x34a67e[_0x2c8a('0xc3')]();if(_0x34a67e[_0x2c8a('0xf6')]==_0x4aac9e){if(_0x21e8a1[_0x2c8a('0x155')](_0x3aca1a,!0x0))return null;_0x225251=_0x225251['isBefore'](_0x21e8a1['start'])?_0x225251:_0x21e8a1[_0x2c8a('0x149')],_0x3411b9=_0x3411b9[_0x2c8a('0x105')](_0x21e8a1['end'])?_0x3411b9:_0x21e8a1['end'],_0x529ad0?_0x21e8a1[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x529ad0[_0x2c8a('0xc3')]()[_0x2c8a('0x149')])?(_0x529ad0[_0x2c8a('0x148')](),_0x529ad0=_0x34a67e):_0x34a67e[_0x2c8a('0x148')]():_0x529ad0=_0x34a67e;}else{const _0x5d27b7=_0x3aca1a[_0x2c8a('0xb0')](_0x21e8a1);this[_0x2c8a('0x7f')](_0x34a67e,_0x5d27b7);}}const _0x2fa7b2=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x57a512=_0x8e65af(),_0x5e5943=_0x2fa7b2['id'];if(_0x529ad0)return this[_0x2c8a('0x2b')](_0x529ad0,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x225251,_0x3411b9)),_0x529ad0;{const _0x45ce38=this[_0x2c8a('0x3e')]({'id':_0x57a512,'type':'formatBlock:'+_0x4aac9e,'data':_0x412121,'createdAt':new Date(),'authorId':_0x5e5943,'attributes':_0x39491d});return this[_0x2c8a('0x74')]('formatBlock:'+_0x4aac9e,_0x57a512,_0x5e5943,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x225251,_0x3411b9)),_0x45ce38;}}['markMultiRangeBlockFormat'](_0x236a8c,_0x5d4ddd,_0x311e1d=[],_0x5c0ebd=null,_0xcd66c={}){_0x5d4ddd[_0x2c8a('0x25')]||(_0x5d4ddd[_0x2c8a('0x25')]=_0x5d4ddd[_0x2c8a('0x141')]);const _0x399e24=_0x236a8c[0x0];_0x5d4ddd[_0x2c8a('0xb2')]=_0x399e24['is'](_0x2c8a('0x7b')),_0x5c0ebd=_0x5c0ebd||Rt(_0x5d4ddd);const _0x1c9d61=_0x311e1d['map'](_0x51af7b=>Ut(_0x51af7b,this[_0x2c8a('0xad')])),_0x7f4dbc=_0x399e24['is'](_0x2c8a('0x7b'))?_0x236a8c:_0x236a8c[_0x2c8a('0x68')](_0x1e7053=>Ut(_0x1e7053,this[_0x2c8a('0xad')]));if(_0x2c8a('0x143')===this['_trackFormatChanges']){const _0x5a7b35=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x5c0ebd,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x5a7b35(_0x7f4dbc,_0x5d4ddd,_0xcd66c)),null;}_0x1c9d61[_0x2c8a('0x96')](..._0x7f4dbc);let _0x38c67e=!0x0;for(const _0x443b2b of _0x1c9d61)if(!this['_rangeIsInLocalUserInsertion'](_0x443b2b)){_0x38c67e=!0x1;break;}if(_0x38c67e&&_0x2c8a('0xe9')!==this[_0x2c8a('0xe5')]){const _0x8510c0=this['_suggestionFactory'][_0x2c8a('0x108')](_0x2c8a('0x110'),_0x5c0ebd,'accept');return this['forceDefaultExecution'](()=>_0x8510c0(_0x7f4dbc,_0x5d4ddd,_0xcd66c)),null;}const _0x1f57a7=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'];for(const _0x58e9c1 of this[_0x2c8a('0x5f')]()){if(_0x58e9c1[_0x2c8a('0x12e')]['id']!=_0x1f57a7['id'])continue;if(_0x2c8a('0x110')!=_0x58e9c1[_0x2c8a('0x6e')]||_0x58e9c1[_0x2c8a('0x35')]['formatGroupId']!=_0x5d4ddd[_0x2c8a('0x25')])continue;if(!Gt(_0x58e9c1,_0xcd66c))continue;const _0x2ed41b=_0x58e9c1[_0x2c8a('0xf6')]==_0x5c0ebd;for(let _0x3138a5=0x0;_0x3138a5<_0x7f4dbc[_0x2c8a('0x10')];_0x3138a5++){const _0x11fc4b=_0x7f4dbc[_0x3138a5];for(const _0x54c840 of _0x58e9c1['getMarkers']()){const _0x234ecf=_0x54c840['getRange']();if(_0x11fc4b[_0x2c8a('0x16b')](_0x234ecf)){_0x2ed41b?(_0x7f4dbc[_0x2c8a('0x138')](_0x3138a5,0x1),_0x3138a5--):_0x58e9c1['removeMarker'](_0x54c840[_0x2c8a('0x38')]);break;}}}}if(0x0==_0x7f4dbc['length'])return null;const _0x3c6393=this[_0x2c8a('0x19')][_0x2c8a('0x108')]('formatBlock',_0x5c0ebd,'join');for(const _0x2fce0a of this['getSuggestions']())if(_0x2fce0a[_0x2c8a('0x12e')]['id']==_0x1f57a7['id']&&_0x2c8a('0x110')==_0x2fce0a[_0x2c8a('0x6e')]&&_0x2fce0a[_0x2c8a('0x35')]['formatGroupId']==_0x5d4ddd['formatGroupId']&&_0x2fce0a[_0x2c8a('0xf6')]==_0x5c0ebd&&Gt(_0x2fce0a,_0xcd66c)&&(_0x3c6393(_0x2fce0a['getRanges'](),_0x7f4dbc)||_0x3c6393(_0x7f4dbc,_0x2fce0a[_0x2c8a('0x60')]()))){for(const _0x1b6b81 of _0x7f4dbc)_0x2fce0a[_0x2c8a('0x13a')](_0x1b6b81);return _0x2fce0a;}const _0x39d2fe=_0x8e65af(),_0x4f436b=_0x1f57a7['id'],_0x265f50=_0x2c8a('0x10f')+_0x5c0ebd,_0x33cf8=this[_0x2c8a('0x3e')]({'id':_0x39d2fe,'type':_0x265f50,'data':_0x5d4ddd,'createdAt':new Date(),'authorId':_0x4f436b,'attributes':_0xcd66c});for(const _0x1ca942 of _0x7f4dbc)this[_0x2c8a('0x74')](_0x265f50,_0x39d2fe,_0x4f436b,_0x1ca942,_0x2517c2[_0x2c8a('0xb7')]());return _0x33cf8;}[_0x2c8a('0x40')](_0x2c4648,_0x359517=null,_0x1ca77e={}){if(_0x2c4648[_0x2c8a('0x2')])return null;const _0x330466=this[_0x2c8a('0x5d')]['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x29fbf0=new _0x474640(_0x2c4648[_0x2c8a('0x149')],_0x2c4648[_0x2c8a('0xed')]);for(const {suggestion:_0x4d2089,meta:_0x3814fc}of this[_0x2c8a('0xc8')](_0x29fbf0,_0x2c8a('0x174')))if(_0x3814fc[_0x2c8a('0x128')]&&!_0x3814fc[_0x2c8a('0x139')]){if(_0x4d2089[_0x2c8a('0x44')]){const _0x21b480=_0x4d2089[_0x2c8a('0x60')]()[_0x2c8a('0xc2')](_0x253ae1=>'$graveyard'!=_0x253ae1[_0x2c8a('0xd3')][_0x2c8a('0x42')]);_0x21b480[_0x2c8a('0xe7')](_0x502bd9=>_0x29fbf0['containsRange'](_0x502bd9,!0x0))&&_0x4d2089['discard']();if(_0x21b480['some'](_0x4b7e83=>_0x4b7e83[_0x2c8a('0x155')](_0x29fbf0,!0x0))){const _0x923ae0=this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x2c8a('0xee'),_0x359517,_0x2c8a('0x167'));return this[_0x2c8a('0x23')](()=>_0x923ae0([_0x29fbf0],null,_0x1ca77e)),null;}}else{const _0x414efa=_0x29fbf0['getIntersection'](_0x4d2089[_0x2c8a('0xc3')]());null!==_0x414efa&&_0x4d2089['_onDiscard']([_0x414efa],null,_0x1ca77e);}}if(_0x29fbf0[_0x2c8a('0x142')](),_0x29fbf0[_0x2c8a('0x2')]||_0x2c8a('0x14a')==_0x29fbf0[_0x2c8a('0xd3')]['rootName'])return null;let _0x5e1ecc=null,_0x2c3b13=_0x29fbf0[_0x2c8a('0x149')],_0xab995f=_0x29fbf0['end'];const _0x37d934=this[_0x2c8a('0xc8')](_0x29fbf0,_0x2c8a('0xee'));for(const {suggestion:_0x223a73,meta:_0xc21fd9}of _0x37d934){const _0xf1cf4f=this['_model'][_0x2c8a('0x146')](_0x2c3b13,_0xab995f);if(_0xc21fd9['isOwn']&&(this[_0x2c8a('0x164')]||!_0xc21fd9['containsRangeInObject']&&!_0xc21fd9['isInsideObject'])){if(_0x223a73['isMultiRange']){if(!Gt(_0x223a73,_0x1ca77e))continue;let _0x502e9d=!0x0;for(const _0x30673a of _0x223a73[_0x2c8a('0x60')]()){if(_0x30673a[_0x2c8a('0x155')](_0xf1cf4f,!0x0))return _0x223a73;_0xf1cf4f[_0x2c8a('0x155')](_0x30673a)||(_0x502e9d=!0x1);}_0x502e9d&&_0x223a73['discard']();}else{const _0x1b654d=_0x223a73[_0x2c8a('0xc3')]();if(_0x1b654d[_0x2c8a('0x155')](_0xf1cf4f,!0x0))return _0x223a73;if(!Gt(_0x223a73,_0x1ca77e)){_0xf1cf4f[_0x2c8a('0x155')](_0x1b654d)?_0x223a73[_0x2c8a('0x148')]():_0x1b654d[_0x2c8a('0xc6')](_0x2c3b13)?_0x2c3b13=_0x1b654d[_0x2c8a('0xed')]:_0x1b654d[_0x2c8a('0xc6')](_0xab995f)&&(_0xab995f=_0x1b654d['start']);continue;}_0x2c3b13=_0x2c3b13[_0x2c8a('0xeb')](_0x1b654d['start'])?_0x2c3b13:_0x1b654d[_0x2c8a('0x149')],_0xab995f=_0xab995f[_0x2c8a('0x105')](_0x1b654d[_0x2c8a('0xed')])?_0xab995f:_0x1b654d['end'],_0x1ca77e=Object['assign']({},_0x223a73[_0x2c8a('0x5c')]),_0x5e1ecc?_0x1b654d[_0x2c8a('0x149')]['isBefore'](_0x5e1ecc['getFirstRange']()[_0x2c8a('0x149')])?(_0x5e1ecc[_0x2c8a('0x148')](),_0x5e1ecc=_0x223a73):_0x223a73[_0x2c8a('0x148')]():_0x5e1ecc=_0x223a73;}}}if(_0x5e1ecc)return this[_0x2c8a('0x2b')](_0x5e1ecc,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x2c3b13,_0xab995f)),_0x5e1ecc;{const _0x3f5b07=_0x8e65af(),_0x3410da=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x2c3b13,_0xab995f),_0x1cce19=_0x330466['id'],_0x360d36=_0x359517?_0x2c8a('0xd2')+_0x359517:'deletion',_0x4a441c=this['_setSuggestionData']({'id':_0x3f5b07,'type':_0x360d36,'createdAt':new Date(),'authorId':_0x1cce19,'attributes':_0x1ca77e});return this[_0x2c8a('0x74')](_0x360d36,_0x3f5b07,_0x1cce19,_0x3410da),_0x4a441c;}}['markMultiRangeDeletion'](_0x123907,_0x15b37e=_0x2c8a('0xcc'),_0xd9a6dd={}){const _0x552506=this['editor']['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me'],_0x206dd8=_0x123907[_0x2c8a('0x68')](_0x3bc2c5=>new _0x474640(_0x3bc2c5[_0x2c8a('0x149')],_0x3bc2c5[_0x2c8a('0xed')])),_0xbf5e84=new Set();for(const {suggestion:_0x3f273c,meta:_0x2e6fb6}of this[_0x2c8a('0xc8')](_0x206dd8,_0x2c8a('0x174')))_0x2e6fb6[_0x2c8a('0x128')]&&!_0x2e6fb6[_0x2c8a('0x139')]&&_0xbf5e84[_0x2c8a('0x1e')](_0x3f273c);for(const _0xb2bc6f of _0xbf5e84)if(_0xb2bc6f[_0x2c8a('0x44')]){const _0x232714=_0xb2bc6f[_0x2c8a('0x60')]();(!_0xb2bc6f[_0x2c8a('0x5c')]||!_0xb2bc6f[_0x2c8a('0x5c')][_0x2c8a('0x98')])&&(_0x232714[_0x2c8a('0xe7')](_0x25ca89=>_0x206dd8[_0x2c8a('0x170')](_0x3ad2ee=>_0x3ad2ee['containsRange'](_0x25ca89,!0x0)))&&_0xb2bc6f[_0x2c8a('0x111')]());if(_0x206dd8[_0x2c8a('0xe7')](_0x4215a0=>_0x232714[_0x2c8a('0x170')](_0x422220=>_0x422220[_0x2c8a('0x155')](_0x4215a0,!0x0)))){const _0x5088ec=this[_0x2c8a('0x19')][_0x2c8a('0x108')](_0x2c8a('0xee'),_0x15b37e,'accept');return this[_0x2c8a('0x23')](()=>_0x5088ec(_0x123907,null,_0xd9a6dd)),null;}}else{const _0x3ecbcf=_0xb2bc6f[_0x2c8a('0xc3')]();_0x206dd8[_0x2c8a('0x170')](_0x3c4b12=>_0x3c4b12['containsRange'](_0x3ecbcf,!0x0))&&_0xb2bc6f[_0x2c8a('0x111')]();if(_0x206dd8[_0x2c8a('0xe7')](_0x4b59c6=>_0x3ecbcf['containsRange'](_0x4b59c6,!0x0))){const _0x4a7d5c=this[_0x2c8a('0x19')]['getSuggestionCallback']('deletion',_0x15b37e,_0x2c8a('0x167'));return this['forceDefaultExecution'](()=>_0x4a7d5c(_0x206dd8,null,_0xd9a6dd)),null;}}const _0x448c68=this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x2c8a('0xee'),_0x15b37e,_0x2c8a('0x10d'));let _0x4d9993=null;for(const _0x3f569a of this[_0x2c8a('0x5f')]())if(_0x3f569a[_0x2c8a('0x12e')]['id']==_0x552506['id']&&_0x3f569a[_0x2c8a('0x2e')]&&_0x2c8a('0xee')==_0x3f569a[_0x2c8a('0x6e')]&&_0x3f569a[_0x2c8a('0xf6')]==_0x15b37e&&Gt(_0x3f569a,_0xd9a6dd)&&(_0x448c68(_0x3f569a['getRanges'](),_0x206dd8)||_0x448c68(_0x206dd8,_0x3f569a[_0x2c8a('0x60')]()))){if(_0x4d9993){if(_0x3f569a[_0x2c8a('0x2f')]&&_0x3f569a[_0x2c8a('0x2f')][_0x2c8a('0x10')])continue;for(const _0x52d029 of _0x3f569a[_0x2c8a('0x60')]())_0x4d9993['isIntersectingWithRange'](_0x52d029)||_0x4d9993['addRange'](_0x52d029);_0x3f569a[_0x2c8a('0x148')]();}else{_0x4d9993=_0x3f569a;for(const _0x5adeb4 of _0x206dd8)_0x3f569a['isIntersectingWithRange'](_0x5adeb4)||_0x3f569a[_0x2c8a('0x13a')](_0x5adeb4);}}if(_0x4d9993)return _0x4d9993;_0xbf5e84[_0x2c8a('0x117')]();for(const {suggestion:_0x200034,meta:_0x53deeb}of this[_0x2c8a('0xc8')](_0x206dd8,'deletion'))_0x53deeb[_0x2c8a('0x128')]&&(this[_0x2c8a('0x164')]||!_0x53deeb[_0x2c8a('0x15d')]&&!_0x53deeb[_0x2c8a('0x90')])&&Gt(_0x200034,_0xd9a6dd)&&_0xbf5e84[_0x2c8a('0x1e')](_0x200034);for(const _0x338913 of _0xbf5e84){const _0x3c3547=_0x338913[_0x2c8a('0x60')]();if(!_0xd9a6dd||!_0xd9a6dd[_0x2c8a('0x98')]){if(_0x206dd8[_0x2c8a('0xe7')](_0x2c7a91=>_0x3c3547[_0x2c8a('0x170')](_0x428fa8=>_0x428fa8['containsRange'](_0x2c7a91,!0x0))))return _0x338913;}(!_0x338913['attributes']||!_0x338913['attributes'][_0x2c8a('0x98')])&&(_0x3c3547[_0x2c8a('0xe7')](_0x45b7a2=>_0x206dd8[_0x2c8a('0x170')](_0xe59a77=>_0xe59a77[_0x2c8a('0x155')](_0x45b7a2,!0x0)))&&_0x338913[_0x2c8a('0x111')]());}const _0x38acfb=_0x8e65af(),_0x5e80ad=_0x552506['id'],_0x3868f3=_0x2c8a('0xd2')+_0x15b37e,_0x1a1aa2=this[_0x2c8a('0x3e')]({'id':_0x38acfb,'type':_0x3868f3,'createdAt':new Date(),'authorId':_0x5e80ad,'attributes':_0xd9a6dd});for(const _0x4d60ce of _0x206dd8)_0x4d60ce['detach'](),_0x4d60ce[_0x2c8a('0x2')]||'$graveyard'==_0x4d60ce[_0x2c8a('0xd3')][_0x2c8a('0x42')]||this['_addSuggestionMarker'](_0x3868f3,_0x38acfb,_0x5e80ad,_0x4d60ce,_0x2517c2[_0x2c8a('0xb7')]());return _0x1a1aa2;}[_0x2c8a('0x101')](_0x537789,_0x352527,_0x43f8e8,_0x5d1ab6,_0x340e82){if(_0x537789[_0x2c8a('0x2')])return[];if('never'===this[_0x2c8a('0xe5')])return[];const _0x222dc1=this[_0x2c8a('0x5d')]['plugins'][_0x2c8a('0x10b')](_0x2c8a('0x41'))['me']['id'],_0x4fda96=Array[_0x2c8a('0x48')](this[_0x2c8a('0x3c')][_0x2c8a('0x4f')]())[_0x2c8a('0xc2')](_0x266afe=>_0x2c8a('0x5a')==_0x266afe[_0x2c8a('0x6e')]&&_0x266afe[_0x2c8a('0x35')][_0x2c8a('0x77')]==_0x352527&&_0x266afe[_0x2c8a('0x59')](_0x537789));if(_0x2c8a('0x53')===this[_0x2c8a('0xe5')]){const _0x7181ec=this[_0x2c8a('0xc8')](_0x537789,_0x2c8a('0x174'))[_0x2c8a('0xc2')](({meta:_0x59c005})=>_0x59c005[_0x2c8a('0x128')]&&!_0x59c005[_0x2c8a('0x90')]&&!_0x59c005[_0x2c8a('0x139')])['map'](({suggestion:_0x1fb078})=>_0x1fb078);_0x4fda96[_0x2c8a('0x7e')](..._0x7181ec);}const _0x371dad=new Map([[_0x537789,_0x43f8e8]]);for(const _0x24a4b0 of _0x4fda96){const _0x6ee365=_0x2c8a('0x5a')==_0x24a4b0[_0x2c8a('0x6e')]?_0x24a4b0['data'][_0x2c8a('0x58')]:void 0x0,_0x1d24b5=_0x24a4b0[_0x2c8a('0xc3')](),_0x300297=Array[_0x2c8a('0x48')](_0x371dad[_0x2c8a('0x63')]())[_0x2c8a('0xce')](_0xb20813=>_0xb20813[_0x2c8a('0x86')](_0x1d24b5));if(!_0x300297)continue;const _0x7e06bd=_0x300297[_0x2c8a('0x12b')](_0x1d24b5);this[_0x2c8a('0xb9')](_0x352527)&&_0x2c8a('0x174')==_0x24a4b0[_0x2c8a('0x6e')]&&0x0!=_0x7e06bd['length']||(_0x371dad[_0x2c8a('0xb4')](_0x300297),_0x7e06bd[_0x2c8a('0x168')](_0x3a19cf=>{_0x371dad[_0x2c8a('0x51')](_0x3a19cf,_0x43f8e8);}),_0x2c8a('0x174')!=_0x24a4b0[_0x2c8a('0x6e')]&&_0x6ee365!=_0x5d1ab6&&_0x371dad[_0x2c8a('0x51')](_0x300297[_0x2c8a('0xb0')](_0x1d24b5),_0x6ee365));}const _0x2a7d96=[];for(const [_0x56eace,_0x19c8e7]of _0x371dad){const _0x1694f2=_0x8e65af(),_0x154e22={'key':_0x352527,'oldValue':_0x19c8e7,'newValue':_0x5d1ab6};_0x352527['length']>0x25&&console['warn']('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x352527});const _0x44abc7=(_0x2c8a('0xe')+(_0x352527+'|'+Rt({'newValue':_0x5d1ab6})))['substring'](0x0,0x3c),_0x44a48e=this['_setSuggestionData']({'id':_0x1694f2,'type':_0x44abc7,'data':_0x154e22,'createdAt':new Date(),'authorId':_0x222dc1,'attributes':_0x340e82});_0x2a7d96[_0x2c8a('0x96')](_0x44a48e),this['_addSuggestionMarker'](_0x44abc7,_0x1694f2,_0x222dc1,_0x56eace);}return _0x2a7d96;}[_0x2c8a('0x2a')](_0x267f9f){this['_blockAttributeKeys'][_0x2c8a('0x1e')](_0x267f9f);}[_0x2c8a('0xdf')](_0x5d1177){this[_0x2c8a('0xba')][_0x2c8a('0x1e')](_0x5d1177);}[_0x2c8a('0x172')](_0xb155b1,_0x164b70=[],_0xfecb91=[]){this[_0x2c8a('0x171')](_0xb155b1,(_0x2376d3,..._0x1b57c9)=>{this[_0x2c8a('0xfd')](()=>{_0x2376d3(..._0x1b57c9);});});for(const _0xd7c533 of _0x164b70)this[_0x2c8a('0xdf')](_0xd7c533);for(const _0x34ace0 of _0xfecb91)this['_registerBlockAttribute'](_0x34ace0);}[_0x2c8a('0x2b')](_0x209c14,_0x337e2e){const _0x5a9fa8=_0x209c14[_0x2c8a('0x30')]();this[_0x2c8a('0xad')][_0x2c8a('0x132')](_0x23300f=>{_0x23300f['updateMarker'](_0x5a9fa8,{'range':_0x337e2e});});}[_0x2c8a('0xab')](_0x5c134f){const _0x43d8d6=_0x5c134f['id'],_0x23531e=this[_0x2c8a('0x5d')][_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x13d'));this['_commentsRepository']['hasCommentThread'](_0x43d8d6)||this[_0x2c8a('0x13e')][_0x2c8a('0x29')]({'channelId':_0x23531e,'threadId':_0x43d8d6,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x201133=this[_0x2c8a('0x13e')][_0x2c8a('0x93')](_0x43d8d6);_0x201133['unbind'](_0x2c8a('0xa7')),_0x201133[_0x2c8a('0xa7')]=!0x1,_0x5c134f['commentThread']=_0x201133;}['_checkSuggestionCorrectness'](_0xa78ec7,_0x47d743,_0x10e08d,_0x26cb72){if(_0xa78ec7[_0x2c8a('0x6e')]!=_0x47d743||_0xa78ec7[_0x2c8a('0xf6')]!=_0x10e08d||_0xa78ec7[_0x2c8a('0xa4')]['id']!=_0x26cb72)throw this[_0x2c8a('0x5d')][_0x2c8a('0x87')](_0x2c8a('0xaf')),new _0x2c981f('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x448b53,_0xbf986d){const _0x330c12=_0x448b53[_0x2c8a('0xc3')]();if(_0xbf986d[_0x2c8a('0x16b')](_0x330c12))_0x448b53['removeMarkers']();else{if(_0x330c12[_0x2c8a('0x155')](_0xbf986d)){const _0x252563=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0x149')][_0x2c8a('0xcf')],_0x2c8a('0xed'));this[_0x2c8a('0x2b')](_0x448b53,this['_model'][_0x2c8a('0x146')](_0x330c12[_0x2c8a('0x149')],_0x252563));const _0x2c0235=_0x8e65af(),_0x16624d=_0x448b53[_0x2c8a('0xa4')]['id'],_0x566b57=_0x448b53[_0x2c8a('0x6e')]+':'+_0x448b53[_0x2c8a('0xf6')];this[_0x2c8a('0x3e')]({'id':_0x2c0235,'type':_0x566b57,'createdAt':new Date(),'authorId':_0x16624d,'data':_0x448b53[_0x2c8a('0x35')],'attributes':_0x448b53[_0x2c8a('0x5c')]});const _0x43a262=this['_model'][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0xed')][_0x2c8a('0xbc')],_0x2c8a('0x162')),_0x114cdd=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x43a262,_0x330c12[_0x2c8a('0xed')]);this['_addSuggestionMarker'](_0x566b57,_0x2c0235,_0x16624d,_0x114cdd);}else{if(_0x330c12['containsPosition'](_0xbf986d[_0x2c8a('0x149')])){const _0x25c6c9=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0x149')][_0x2c8a('0xcf')],'end');this['_setSuggestionRange'](_0x448b53,this['_model']['createRange'](_0x330c12[_0x2c8a('0x149')],_0x25c6c9));}else{const _0x2f6313=this[_0x2c8a('0xad')][_0x2c8a('0xe4')](_0xbf986d[_0x2c8a('0xed')][_0x2c8a('0xbc')],_0x2c8a('0x162'));this['_setSuggestionRange'](_0x448b53,this[_0x2c8a('0xad')]['createRange'](_0x2f6313,_0x330c12[_0x2c8a('0xed')]));}}}}[_0x2c8a('0x178')](_0x3191b7){for(const {suggestion:_0xbdccf4,meta:_0x129ee9}of this[_0x2c8a('0xc8')](_0x3191b7,'insertion')){if(!_0x129ee9['isOwn'])continue;const _0x44104b=_0xbdccf4['getRanges']();for(const _0x217724 of _0x44104b)if(!_0x3191b7[_0x2c8a('0x12b')](_0x217724)[_0x2c8a('0x10')])return!0x0;}return!0x1;}[_0x2c8a('0x177')](_0x168887){const _0x28642a=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['getUser'](_0x168887);if(!_0x28642a)throw new _0x2c981f(_0x2c8a('0x15b'),this);return _0x28642a;}[_0x2c8a('0x126')](_0x345765){const _0x3a12db=this['editor'][_0x2c8a('0x9d')]['get'](_0x2c8a('0x41')),_0x4f25d5=_0x5cb55d(_0x2c8a('0x116')+_0x345765),_0x40c1f6=_0x3a12db[_0x2c8a('0xf7')](_0x4f25d5);return _0x40c1f6||_0x3a12db[_0x2c8a('0x37')]({'id':_0x4f25d5,'name':_0x345765});}[_0x2c8a('0x145')](_0x5772d7,_0x4ccfed,_0x4bd222,_0x1aeb04,_0x12af09){const _0x4b3016=this[_0x2c8a('0x177')](_0x1aeb04),_0x18c505=this[_0x2c8a('0x19')][_0x2c8a('0x1')](_0x5772d7,_0x4ccfed,_0x4bd222,_0x4b3016,_0x12af09,_0x244146=>this[_0x2c8a('0x112')](_0x4bd222,{'attributes':_0x244146}));return this[_0x2c8a('0x78')](_0x18c505,_0x2c8a('0x167'),()=>{this[_0x2c8a('0x112')](_0x4bd222,{'state':_0x2c8a('0xd9')});},{'priority':_0x2c8a('0x36')}),this[_0x2c8a('0x78')](_0x18c505,'discard',()=>{this[_0x2c8a('0x112')](_0x4bd222,{'state':_0x2c8a('0x1b')});},{'priority':_0x2c8a('0x36')}),this[_0x2c8a('0x3c')][_0x2c8a('0x51')](_0x4bd222,_0x18c505),this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x18c505,_0x2c8a('0xe3')),_0x18c505;}['_splitMarkerName'](_0x4550f8){const _0x48878b=_0x4550f8[_0x2c8a('0x1c')](':');return{'group':_0x48878b[0x0],'type':_0x48878b[0x1],'subType':_0x48878b['length']>=0x5?_0x48878b[0x2]:null,'id':_0x48878b[_0x2c8a('0x10')]<0x5?_0x48878b[0x2]:_0x48878b[0x3],'authorId':_0x48878b['length']<0x5?_0x48878b[0x3]:_0x48878b[0x4],'markerCount':0x6==_0x48878b['length']?_0x48878b[0x5]:null};}[_0x2c8a('0x151')](_0x34e685,_0x577d69,_0x4b0ba6){const _0x2341c8=_0x34e685[_0x2c8a('0xc3')](),_0xb16e7f=_0x2341c8[_0x2c8a('0x149')],_0x1e83a9=_0x2341c8[_0x2c8a('0xed')];this[_0x2c8a('0x2b')](_0x34e685,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0xb16e7f,_0x577d69));const _0x29a35d=_0x8e65af(),_0x312836=_0x34e685[_0x2c8a('0xa4')]['id'],_0x3ac0cd=_0x34e685[_0x2c8a('0x6e')]+(_0x34e685[_0x2c8a('0xf6')]?':'+_0x34e685['subType']:'');this['_setSuggestionData']({'id':_0x29a35d,'type':_0x3ac0cd,'createdAt':new Date(),'authorId':_0x312836,'originalSuggestionId':_0x34e685['id'],'attributes':_0x34e685[_0x2c8a('0x5c')],'data':_0x34e685[_0x2c8a('0x35')]});const _0x1cd884=Pt(_0x34e685);(_0x2c8a('0x110')==_0x34e685['type']||_0x1cd884&&this['_isBlockAttribute'](_0x1cd884))&&(_0x4b0ba6=this['_model']['createPositionBefore'](_0x4b0ba6['parent'])),this['_addSuggestionMarker'](_0x3ac0cd,_0x29a35d,_0x312836,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x4b0ba6,_0x1e83a9));}['_findSuggestions'](_0x551cc6,_0x3ff0c3=null){const _0x35d55f=[],_0x5f46b7=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')]('Users')['me'];Array[_0x2c8a('0x6b')](_0x551cc6)||(_0x551cc6=[_0x551cc6]);for(const _0x31481c of this[_0x2c8a('0x5f')]()){if(!_0x31481c['isInContent'])continue;if(_0x3ff0c3&&_0x31481c[_0x2c8a('0x6e')]!=_0x3ff0c3)continue;let _0x5af702=!0x1;for(const _0x10bf59 of _0x31481c[_0x2c8a('0x60')]()){for(const _0x5dd744 of _0x551cc6){const _0x154c24=_0x5dd744[_0x2c8a('0x149')][_0x2c8a('0x16b')](_0x10bf59[_0x2c8a('0xed')])||_0x5dd744[_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x10bf59['start']);if(_0x154c24||_0x5dd744[_0x2c8a('0xb0')](_0x10bf59)){const _0x4190bd=_0x5dd744[_0x2c8a('0x155')](_0x10bf59)&&Tt(this[_0x2c8a('0xad')][_0x2c8a('0x154')],_0x10bf59[_0x2c8a('0x149')],_0x5dd744),_0x18663d=_0x10bf59[_0x2c8a('0x155')](_0x5dd744)&&Tt(this[_0x2c8a('0xad')]['schema'],_0x5dd744['start'],_0x10bf59);_0x35d55f[_0x2c8a('0x96')]({'suggestion':_0x31481c,'meta':{'isOwn':_0x5f46b7==_0x31481c[_0x2c8a('0x12e')],'isNextTo':_0x154c24,'isInsideObject':_0x4190bd,'containsRangeInObject':_0x18663d}}),_0x5af702=!0x0;break;}}if(_0x5af702)break;}}return _0x35d55f;}[_0x2c8a('0x74')](_0x808dca,_0x3697af,_0x42531e,_0x5bae42,_0x59decc){this['_model'][_0x2c8a('0x132')](_0x3c2219=>{let _0x1b3a6c=_0x2c8a('0x150')+_0x808dca+':'+_0x3697af+':'+_0x42531e;_0x59decc&&(_0x1b3a6c=_0x1b3a6c+':'+_0x59decc),_0x3c2219[_0x2c8a('0x11b')](_0x1b3a6c,{'range':_0x5bae42,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2c8a('0x16')](_0x30017c){const _0x385d6a=_0x30017c[_0x2c8a('0x91')],_0x542465=_0x30017c['next'];_0x30017c[_0x2c8a('0x91')]=null,_0x30017c[_0x2c8a('0x81')]=null,null!=_0x385d6a&&(_0x385d6a['next']=_0x542465),null!=_0x542465&&(_0x542465['previous']=_0x385d6a),_0x2c8a('0x159')==this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x30017c)&&(this['_suggestionState'][_0x2c8a('0x51')](_0x30017c,_0x2c8a('0x43')),this[_0x2c8a('0x8e')](_0x2c8a('0xda'),_0x30017c,_0x385d6a,_0x542465));}[_0x2c8a('0x3e')](_0x35a6d2){const _0x5ba2ea=_0x35a6d2['id'],_0x36cfad=this[_0x2c8a('0x64')](_0x35a6d2);if(this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')][_0x2c8a('0xae')]){const _0x4d1803=this[_0x2c8a('0x5d')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x131')),_0x3147a3=_0x36cfad[_0x2c8a('0x115')],_0x4d83ab=_0x36cfad[_0x2c8a('0xf6')]?_0x36cfad[_0x2c8a('0x6e')]+':'+_0x36cfad['subType']:_0x36cfad[_0x2c8a('0x6e')],_0x26dcfa=this['editor'][_0x2c8a('0x6c')],_0x49247c=_0x4d1803[_0x2c8a('0x1e')](_0x1c53ec(_0x26dcfa,_0x2c8a('0x55'))),_0x3fdd9c={'id':_0x5ba2ea,'type':_0x4d83ab,'hasComments':_0x3147a3,'data':_0x35a6d2['data']||null,'originalSuggestionId':_0x35a6d2[_0x2c8a('0xdb')]||null,'attributes':_0x36cfad[_0x2c8a('0x5c')]};this[_0x2c8a('0x16f')][_0x2c8a('0xae')](_0x3fdd9c)['then'](_0x580a37=>{_0x36cfad[_0x2c8a('0x20')]=!0x0,_0x4d1803[_0x2c8a('0x57')](_0x49247c),_0x580a37&&_0x580a37[_0x2c8a('0x14d')]&&(this['_suggestions'][_0x2c8a('0x10b')](_0x5ba2ea)[_0x2c8a('0x14d')]=_0x580a37[_0x2c8a('0x14d')]);})[_0x2c8a('0xfc')](_0x58ddf1=>{throw _0x1dfdc0(_0x2c8a('0x130')),this['editor'][_0x2c8a('0xa9')][_0x2c8a('0x127')]({'isUndoable':!0x1},()=>{_0x36cfad[_0x2c8a('0x111')]();}),_0x36cfad[_0x2c8a('0xbb')](),this['_suggestions']['delete'](_0x36cfad['id']),this[_0x2c8a('0x169')][_0x2c8a('0xb4')](_0x36cfad),_0x58ddf1;});}return _0x36cfad;}['_isBlockAttribute'](_0x4b1555){return this[_0x2c8a('0xbf')][_0x2c8a('0x123')](_0x4b1555);}[_0x2c8a('0x112')](_0x29f480,_0x547ff7){const _0x1aff8d=this['editor'][_0x2c8a('0x9d')][_0x2c8a('0x10b')](_0x2c8a('0x131')),_0x5f56a5=this[_0x2c8a('0xf9')](_0x29f480);if(this[_0x2c8a('0x16f')]&&this[_0x2c8a('0x16f')]['updateSuggestion']){if(_0x5f56a5['_saved']){const _0x237088=_0x1aff8d[_0x2c8a('0x1e')](_0x1c53ec(this['editor'][_0x2c8a('0x6c')],_0x2c8a('0x55')));this['_adapter']['updateSuggestion'](_0x29f480,_0x547ff7)[_0x2c8a('0x10e')](()=>{_0x1aff8d['remove'](_0x237088);});}else _0x5f56a5['on'](_0x2c8a('0x11d'),()=>{this[_0x2c8a('0x112')](_0x29f480,_0x547ff7);});}}[_0x2c8a('0x14e')](_0x4b8122){if(!this[_0x2c8a('0x16f')]||!this[_0x2c8a('0x16f')][_0x2c8a('0xf9')])throw new _0x2c981f('track-changes-adapter-missing-getsuggestion',this);return this[_0x2c8a('0x16f')][_0x2c8a('0xf9')](_0x4b8122);}[_0x2c8a('0x46')](_0x11e572){const {id:_0x1a4b4f,type:_0x1444eb,subType:_0xc638c4,authorId:_0x3cabba}=this['_splitMarkerName'](_0x11e572),_0x20d2d6=this[_0x2c8a('0x3c')][_0x2c8a('0x10b')](_0x1a4b4f)||this[_0x2c8a('0x145')](_0x1444eb,_0xc638c4,_0x1a4b4f,_0x3cabba,{});switch(this[_0x2c8a('0x129')](_0x20d2d6,_0x1444eb,_0xc638c4,_0x3cabba),this[_0x2c8a('0x169')][_0x2c8a('0x10b')](_0x20d2d6)){case _0x2c8a('0xe3'):this[_0x2c8a('0x14e')](_0x1a4b4f)[_0x2c8a('0x10e')](_0x25cbbf=>{let _0x2f9aae=Promise['resolve']();_0x25cbbf['hasComments']&&(_0x2f9aae=this[_0x2c8a('0x13e')]['fetchCommentThread']({'channelId':this[_0x2c8a('0x5d')][_0x2c8a('0x134')][_0x2c8a('0x10b')](_0x2c8a('0x13d')),'threadId':_0x1a4b4f})),_0x2f9aae[_0x2c8a('0x10e')](()=>{this['addSuggestionData'](_0x25cbbf)[_0x2c8a('0x20')]=!0x0;});}),this[_0x2c8a('0x169')]['set'](_0x20d2d6,_0x2c8a('0x15c'));break;case _0x2c8a('0x43'):this[_0x2c8a('0x112')](_0x1a4b4f,{'state':_0x2c8a('0x84')});case _0x2c8a('0xa1'):this[_0x2c8a('0x169')][_0x2c8a('0x51')](_0x20d2d6,_0x2c8a('0x159')),this[_0x2c8a('0x8e')](_0x2c8a('0x11'),_0x20d2d6);break;case _0x2c8a('0x159'):this['fire'](_0x2c8a('0x0'),_0x20d2d6);}return _0x20d2d6[_0x2c8a('0xde')](_0x11e572),_0x20d2d6;}[_0x2c8a('0x10a')](_0xde681){const _0x57aed6=Array[_0x2c8a('0x48')](_0xde681),_0x35a1ec=_0x57aed6['filter'](_0x13dfd1=>'attribute'==_0x13dfd1[_0x2c8a('0x6e')]);this[_0x2c8a('0x72')](_0x35a1ec);const _0x4a35a=_0x57aed6[_0x2c8a('0xc2')](_0x554278=>!_0x554278[_0x2c8a('0x44')]&&_0x2c8a('0x5a')!=_0x554278[_0x2c8a('0x6e')]),_0x3e6ca4=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0})[_0x2c8a('0xc2')](_0x58a090=>!_0x58a090[_0x2c8a('0x44')]&&_0x2c8a('0x5a')!=_0x58a090['type']),_0x10bddb=_0x3e6ca4[_0x2c8a('0xc2')](_0x1b17f9=>!_0xde681[_0x2c8a('0x123')](_0x1b17f9)),_0x9c0b77=new Map(_0x3e6ca4[_0x2c8a('0x68')](_0x6bf404=>[_0x6bf404,this['_suggestionFactory'][_0x2c8a('0x108')](_0x6bf404['type'],_0x6bf404[_0x2c8a('0xf6')],_0x2c8a('0x102'))])),_0x16eb76=new Map(_0x3e6ca4[_0x2c8a('0x68')](_0x25d758=>[_0x25d758,_0x25d758[_0x2c8a('0xc3')]()])),_0x4aa88e=new Set(),_0x516e39=new Set();for(let _0x484733=0x0;_0x484733<_0x4a35a['length'];_0x484733++)_0x6fcfa2(_0x4a35a[_0x484733],_0x4a35a,_0x484733+0x1);for(let _0x5f35e1=0x0;_0x5f35e1<_0x4a35a[_0x2c8a('0x10')];_0x5f35e1++)_0x6fcfa2(_0x4a35a[_0x5f35e1],_0x10bddb,0x0);const _0x499f2d=new Set();for(let _0x3e3dac=0x0;_0x3e3dac<_0x4a35a[_0x2c8a('0x10')];_0x3e3dac++){const _0x891e8d=_0x4a35a[_0x3e3dac];!_0x516e39[_0x2c8a('0x123')](_0x891e8d)&&_0x891e8d[_0x2c8a('0x91')]&&(_0x499f2d[_0x2c8a('0x1e')](_0x891e8d[_0x2c8a('0x91')]),_0x891e8d['previous']['next']===_0x891e8d&&(_0x891e8d[_0x2c8a('0x91')][_0x2c8a('0x81')]=null),_0x891e8d[_0x2c8a('0x91')]=null),!_0x4aa88e[_0x2c8a('0x123')](_0x891e8d)&&_0x891e8d[_0x2c8a('0x81')]&&(_0x499f2d[_0x2c8a('0x1e')](_0x891e8d[_0x2c8a('0x81')]),_0x891e8d['next'][_0x2c8a('0x91')]===_0x891e8d&&(_0x891e8d[_0x2c8a('0x81')][_0x2c8a('0x91')]=null),_0x891e8d[_0x2c8a('0x81')]=null);}function _0x6fcfa2(_0x38eacb,_0x557c92,_0x2fe5fd){for(let _0x3e1779=_0x2fe5fd;_0x3e1779<_0x557c92['length'];_0x3e1779++){const _0x223f72=_0x1698b9(_0x38eacb,_0x557c92[_0x3e1779]);_0x223f72&&(_0x223f72[0x0][_0x2c8a('0x81')]=_0x223f72[0x1],_0x223f72[0x1][_0x2c8a('0x91')]=_0x223f72[0x0],_0x4aa88e[_0x2c8a('0x1e')](_0x223f72[0x0]),_0x516e39['add'](_0x223f72[0x1]));}}function _0x1698b9(_0x489d06,_0x2cf987){if(_0x489d06[_0x2c8a('0x12e')]['id']!==_0x2cf987[_0x2c8a('0x12e')]['id'])return null;const _0xd93806=_0x9c0b77[_0x2c8a('0x10b')](_0x489d06)(_0x489d06,_0x2cf987,_0x16eb76[_0x2c8a('0x10b')](_0x489d06),_0x16eb76['get'](_0x2cf987));if(!_0xd93806)return null;return _0x9c0b77['get'](_0x2cf987)(_0x489d06,_0x2cf987,_0x16eb76[_0x2c8a('0x10b')](_0x489d06),_0x16eb76[_0x2c8a('0x10b')](_0x2cf987))?_0xd93806[0x1][_0x2c8a('0x2f')]&&_0xd93806[0x1][_0x2c8a('0x2f')][_0x2c8a('0x10')]?null:_0xd93806:null;}_0x499f2d[_0x2c8a('0x118')]&&this[_0x2c8a('0x10a')](_0x499f2d);}[_0x2c8a('0x72')](_0x3b3bc1){if(0x0==_0x3b3bc1[_0x2c8a('0x10')])return;const _0x5d4798=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0})[_0x2c8a('0xc2')](_0x56b353=>_0x2c8a('0x5a')==_0x56b353['type']&&_0x56b353[_0x2c8a('0xd7')]),_0x513c90=[],_0x6e43c9=new Map();for(const _0x457fd8 of _0x5d4798){const _0x2f0702=_0x5cb55d(_0x457fd8[_0x2c8a('0x5c')]);_0x6e43c9[_0x2c8a('0x123')](_0x2f0702)||(_0x6e43c9[_0x2c8a('0x51')](_0x2f0702,_0x513c90['length']),_0x513c90[_0x2c8a('0x96')]([]));const _0x503706=_0x6e43c9[_0x2c8a('0x10b')](_0x2f0702);_0x513c90[_0x503706][_0x2c8a('0x96')](_0x457fd8);}!function(){_0x513c90[_0x2c8a('0x13b')]((_0x5178af,_0x45ef13)=>{const _0x251e0a=_0x5178af[0x0][_0x2c8a('0x14d')],_0x451ff3=_0x45ef13[0x0][_0x2c8a('0x14d')];return _0x251e0a==_0x451ff3?_0x5178af[0x0][_0x2c8a('0x5c')]['groupId']<_0x45ef13[0x0][_0x2c8a('0x5c')]['groupId']?-0x1:0x1:_0x251e0a<_0x451ff3?-0x1:0x1;});for(const _0x50d9c2 of _0x513c90)_0x50d9c2[_0x2c8a('0x13b')]((_0x26a8fc,_0x33b617)=>_0x26a8fc['id']<_0x33b617['id']?-0x1:0x1);}();for(let _0x151cd6=0x0;_0x151cd6<_0x513c90[_0x2c8a('0x10')];_0x151cd6++){if(0x0==_0x513c90[_0x151cd6]['length'])continue;const _0x4f9400=[];for(let _0x23ebe6=_0x151cd6+0x1;_0x23ebe6<_0x513c90[_0x2c8a('0x10')];_0x23ebe6++)0x0!=_0x513c90[_0x23ebe6]['length']&&_0x30354a(_0x513c90[_0x151cd6],_0x513c90[_0x23ebe6])&&_0x4f9400[_0x2c8a('0x96')](_0x23ebe6);for(const _0x3b3927 of _0x4f9400)_0x513c90[_0x151cd6]=_0x513c90[_0x151cd6][_0x2c8a('0xcb')](_0x513c90[_0x3b3927]),_0x513c90[_0x3b3927]=[];}for(const _0x5cc1b4 of _0x513c90)for(let _0x34dfdc=0x0;_0x34dfdc<_0x5cc1b4['length'];_0x34dfdc++)_0x5cc1b4[_0x34dfdc][_0x2c8a('0x81')]=_0x5cc1b4[_0x34dfdc+0x1]||null;for(const _0x3ad241 of _0x513c90)for(let _0x35d6f8=0x0;_0x35d6f8<_0x3ad241['length'];_0x35d6f8++)_0x3ad241[_0x35d6f8][_0x2c8a('0x91')]=_0x3ad241[_0x35d6f8-0x1]||null;function _0x30354a(_0x74c913,_0x3296a8){if(_0x74c913[0x0][_0x2c8a('0x12e')]!==_0x3296a8[0x0]['author'])return!0x1;if(!function(_0x352da9,_0x570e89){if(!_0x352da9[_0x2c8a('0x115')]&&!_0x570e89[_0x2c8a('0x115')])return!0x0;if(_0x352da9[_0x2c8a('0x115')]&&_0x570e89[_0x2c8a('0x115')])return!0x1;if(_0x352da9[_0x2c8a('0x115')]&&_0x570e89[_0x2c8a('0x14d')]<_0x352da9[_0x2c8a('0x2f')][_0x2c8a('0xbe')]['get'](0x0)[_0x2c8a('0x14d')])return!0x0;if(_0x570e89['hasComments']&&_0x352da9[_0x2c8a('0x14d')]<_0x570e89[_0x2c8a('0x2f')][_0x2c8a('0xbe')][_0x2c8a('0x10b')](0x0)[_0x2c8a('0x14d')])return!0x0;return!0x1;}(_0x74c913[0x0],_0x3296a8[0x0]))return!0x1;const _0x883b41=_0x33ca97(_0x74c913[0x0][_0x2c8a('0x5c')],_0x2c8a('0x10c')),_0x5d1f6c=_0x33ca97(_0x3296a8[0x0][_0x2c8a('0x5c')],_0x2c8a('0x10c'));if(!_0x34db3f(_0x883b41,_0x5d1f6c))return!0x1;return!!_0x74c913['every'](_0x115266=>_0x3296a8[_0x2c8a('0x170')](_0x3d9c9e=>_0x115266[_0x2c8a('0xc3')]()[_0x2c8a('0x16b')](_0x3d9c9e[_0x2c8a('0xc3')]())))&&_0x3296a8[_0x2c8a('0xe7')](_0x23cee1=>_0x74c913['some'](_0x55b201=>_0x23cee1['getFirstRange']()[_0x2c8a('0x16b')](_0x55b201[_0x2c8a('0xc3')]())));}}[_0x2c8a('0xfa')](_0x25f87f){const _0x4dae12=Array[_0x2c8a('0x48')](_0x25f87f),_0x15ad72=this[_0x2c8a('0x5f')]({'skipNotAttached':!0x0}),_0x5e12bd=_0x15ad72['filter'](_0x362539=>!_0x25f87f[_0x2c8a('0x123')](_0x362539)),_0x45e0ef=new Map(_0x4dae12[_0x2c8a('0x68')](_0x5adbd1=>[_0x5adbd1,this[_0x2c8a('0x19')]['getSuggestionCallback'](_0x5adbd1[_0x2c8a('0x6e')],_0x5adbd1[_0x2c8a('0xf6')],_0x2c8a('0x10d'))])),_0x573663=new Map(_0x15ad72['map'](_0x554236=>[_0x554236,_0x554236[_0x2c8a('0x60')]()]));for(let _0x51aa73=0x0;_0x51aa73<_0x4dae12[_0x2c8a('0x10')];_0x51aa73++){if(_0x3d43fc(this,_0x4dae12[_0x51aa73],_0x4dae12,_0x51aa73+0x1))return!0x0;}for(let _0x98ff67=0x0;_0x98ff67<_0x4dae12[_0x2c8a('0x10')];_0x98ff67++){if(_0x3d43fc(this,_0x4dae12[_0x98ff67],_0x5e12bd,0x0))return!0x0;}return!0x1;function _0x3d43fc(_0x2277ac,_0x51c6d1,_0x424560,_0x548a00){for(let _0x3b480b=_0x548a00;_0x3b480b<_0x424560[_0x2c8a('0x10')];_0x3b480b++){const _0x3759fa=_0x424560[_0x3b480b];if(_0x3759fa[_0x2c8a('0x6e')]!==_0x51c6d1[_0x2c8a('0x6e')]||_0x3759fa[_0x2c8a('0x12e')]['id']!==_0x51c6d1['author']['id']||_0x3759fa[_0x2c8a('0xf6')]!==_0x51c6d1[_0x2c8a('0xf6')])continue;if(!Vt(_0x51c6d1,_0x3759fa))continue;if(_0x2c8a('0x5a')==_0x51c6d1[_0x2c8a('0x6e')]&&_0x51c6d1[_0x2c8a('0x35')]['oldValue']!=_0x3759fa[_0x2c8a('0x35')][_0x2c8a('0x58')])continue;if(_0x2c8a('0x5a')==_0x51c6d1[_0x2c8a('0x6e')]&&_0x2277ac[_0x2c8a('0xb9')](_0x51c6d1['data'][_0x2c8a('0x77')]))continue;if(_0x2c8a('0x110')==_0x51c6d1[_0x2c8a('0x6e')]){const _0x45a43a=_0x2277ac['editor'][_0x2c8a('0xa9')],_0x1a015c=_0x51c6d1[_0x2c8a('0x3')]();if(_0x1a015c&&(_0x45a43a['schema'][_0x2c8a('0xf8')](_0x1a015c)||_0x45a43a['schema']['isLimit'](_0x1a015c)))continue;}const _0x4e9b16=_0x45e0ef[_0x2c8a('0x10b')](_0x51c6d1),_0x1cc414=_0x573663[_0x2c8a('0x10b')](_0x51c6d1),_0x29033c=_0x573663[_0x2c8a('0x10b')](_0x3759fa),_0x4384ae=_0x51c6d1[_0x2c8a('0x2f')]&&_0x51c6d1[_0x2c8a('0x2f')]['length'],_0x48316d=_0x3759fa[_0x2c8a('0x2f')]&&_0x3759fa[_0x2c8a('0x2f')][_0x2c8a('0x10')];if(!_0x4384ae&&_0x4e9b16(_0x29033c,_0x1cc414))return _0x2277ac[_0x2c8a('0x62')](_0x3759fa,_0x51c6d1),_0x573663[_0x2c8a('0xb4')](_0x51c6d1),!0x0;if(!_0x48316d&&_0x4e9b16(_0x1cc414,_0x29033c))return _0x2277ac[_0x2c8a('0x62')](_0x51c6d1,_0x3759fa),_0x573663[_0x2c8a('0xb4')](_0x3759fa),!0x0;}return!0x1;}}[_0x2c8a('0x62')](_0x3e558a,_0x3b0631){if(_0x3e558a['isMultiRange'])for(const _0x178684 of _0x3b0631[_0x2c8a('0x60')]())_0x3e558a[_0x2c8a('0x13a')](_0x178684);else{const _0x5edb8a=_0x3b0631[_0x2c8a('0xc3')]()['end'];this[_0x2c8a('0x2b')](_0x3e558a,this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x3e558a['getFirstRange']()[_0x2c8a('0x149')],_0x5edb8a));}_0x3b0631[_0x2c8a('0x148')]();}['_getMarkerAnnouncementText'](_0x300ba3,_0x4b44a9){const _0x5c9992=_0x300ba3[_0x2c8a('0x4c')](_0x2c8a('0x121'))||_0x300ba3['startsWith']('attribute')?_0x2c8a('0x16e'):_0x300ba3[_0x2c8a('0x49')]();return _0x1c53ec(this[_0x2c8a('0x5d')]['locale'],_0x4b44a9+'_'+_0x5c9992+_0x2c8a('0x11f'));}[_0x2c8a('0x13c')](){const _0x35b51d=this[_0x2c8a('0x5d')];_0x3cc4ba(this['_model'],({left:_0x5293a1,entered:_0x5ca400})=>{const _0x2a624e=[];for(const _0xe99224 of _0x5293a1){const {group:_0xa0357,type:_0x200447}=this['_splitMarkerName'](_0xe99224['name']);if(_0x2c8a('0x13')===_0xa0357){_0x2a624e[_0x2c8a('0x96')](this['_getMarkerAnnouncementText'](_0x200447,_0x2c8a('0x14f')));break;}}for(const _0x53198e of _0x5ca400){const {group:_0x452bed,type:_0x55d3a6}=this[_0x2c8a('0x50')](_0x53198e[_0x2c8a('0x38')]);if(_0x2c8a('0x13')===_0x452bed){_0x2a624e[_0x2c8a('0x96')](this[_0x2c8a('0xa5')](_0x55d3a6,'ENTER'));break;}}_0x2a624e[_0x2c8a('0x10')]&&_0x35b51d['ui'][_0x2c8a('0x3f')][_0x2c8a('0x99')](_0x2c8a('0xbd'),_0x2a624e[_0x2c8a('0x10d')]('\x20'));});}[_0x2c8a('0xc1')](_0x2b0867){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x37ae0d=this[_0x2c8a('0x5d')],_0xe728aa=_0x37ae0d[_0x2c8a('0xa9')]['document'][_0x2c8a('0x12')]['getChanges']();if(0x0==_0xe728aa['length'])return!0x1;const _0x51881e=[],_0x40fd9d=_0xe728aa[_0x2c8a('0xc2')](_0x12f07e=>_0x2c8a('0x5a')==_0x12f07e['type']),_0x3e663a=_0xe728aa[_0x2c8a('0xc2')](_0x26c834=>'insert'==_0x26c834[_0x2c8a('0x6e')]&&'$text'!=_0x26c834[_0x2c8a('0x38')]),_0x35646f=_0xe728aa[_0x2c8a('0xc2')](_0x576844=>'remove'==_0x576844[_0x2c8a('0x6e')]&&_0x2c8a('0x16c')!=_0x576844[_0x2c8a('0x38')]);for(const _0x96f204 of _0x40fd9d)_0x51881e[_0x2c8a('0x96')]({'key':_0x96f204[_0x2c8a('0x12c')],'newValue':_0x96f204[_0x2c8a('0x5')],'oldValue':_0x96f204[_0x2c8a('0x153')],'range':_0x594d0e(_0x96f204[_0x2c8a('0x7b')])});for(const _0x3216a9 of _0x3e663a){const _0x2fd6ec=_0x35646f['find'](_0x235faa=>_0x235faa[_0x2c8a('0xfb')][_0x2c8a('0x16b')](_0x3216a9[_0x2c8a('0xfb')]));_0x2fd6ec&&_0x51881e[_0x2c8a('0x96')]({'key':_0x2c8a('0x135'),'newValue':_0x3216a9[_0x2c8a('0x38')],'oldValue':_0x2fd6ec[_0x2c8a('0x38')],'range':_0x37ae0d[_0x2c8a('0xa9')][_0x2c8a('0x15')](_0x3216a9['position']['nodeAfter'])});}return 0x0!=_0x51881e['length']&&this['_reduceExistingSuggestions'](_0x2b0867,_0x51881e);function _0x594d0e(_0x55a963){return null==_0x55a963[_0x2c8a('0xed')]['nodeBefore']&&_0x55a963[_0x2c8a('0xed')][_0x2c8a('0xbc')]==_0x55a963[_0x2c8a('0x149')][_0x2c8a('0x92')]?Ut(_0x55a963[_0x2c8a('0x149')][_0x2c8a('0x92')],_0x37ae0d[_0x2c8a('0xa9')]):_0x55a963;}}[_0x2c8a('0x7')](_0x4e8e55){let _0x3b0dcd=!0x1;const _0x597530=this[_0x2c8a('0x5d')][_0x2c8a('0xa9')][_0x2c8a('0x4b')][_0x2c8a('0x12')][_0x2c8a('0x107')]()['filter'](_0x43853a=>_0x43853a[_0x2c8a('0x35')][_0x2c8a('0x9a')]&&_0x43853a['name'][_0x2c8a('0x4c')](_0x2c8a('0x12d')));for(const _0x232056 of _0x597530){const {subType:_0x1bc3d6,id:_0x6d62f4}=this[_0x2c8a('0x50')](_0x232056['name']),_0x45da72=_0x1bc3d6[_0x2c8a('0x1c')]('|')[0x0];for(const _0x1d3562 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x1d3562['id']!=_0x6d62f4&&'attribute'==_0x1d3562[_0x2c8a('0x6e')]&&_0x1d3562['data']&&_0x1d3562['data'][_0x2c8a('0x77')]==_0x45da72&&_0x1d3562['getFirstRange']()[_0x2c8a('0x86')](_0x232056['data'][_0x2c8a('0x9a')])&&(this[_0x2c8a('0xc0')](_0x1d3562,_0x232056['data'][_0x2c8a('0x9a')],_0x4e8e55),_0x3b0dcd=!0x0);}return _0x3b0dcd;}['_recordAttributeChanges'](_0x488d2b){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x488d2b();const _0x5d8822=this[_0x2c8a('0x5d')];this[_0x2c8a('0x5b')]=_0x5d8822['model'][_0x2c8a('0x4b')][_0x2c8a('0x152')],_0x488d2b();const _0x1938d3=new Map();for(const _0x5e40bc of _0x5d8822['model'][_0x2c8a('0x4b')][_0x2c8a('0x7a')]['getOperations'](this[_0x2c8a('0x5b')]))if([_0x2c8a('0x8a'),_0x2c8a('0x27'),_0x2c8a('0x12f'),_0x2c8a('0x6d')][_0x2c8a('0x17b')](_0x5e40bc[_0x2c8a('0x6e')])){const _0x2874a3=_0x5e40bc['batch'],_0x4a0a1d=_0x1938d3['get'](_0x2874a3)||[];_0x4a0a1d[_0x2c8a('0x96')](_0x5e40bc),_0x1938d3[_0x2c8a('0x51')](_0x2874a3,_0x4a0a1d);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x2c2b3f,_0x3e4a44]of _0x1938d3){const _0x50ccaf=_0x8e65af();_0x5d8822[_0x2c8a('0xa9')][_0x2c8a('0x127')](_0x2c2b3f,_0x126efd=>{const _0x15dda8=[];for(const _0x31fd0c of _0x3e4a44){let _0x2b1e22,_0x5e4047,_0x4bebd0,_0x3fe13f;if(_0x2c8a('0x8a')==_0x31fd0c['type']){const _0x4f3033=_0x31fd0c;_0x2b1e22=Ut(_0x4f3033[_0x2c8a('0xfb')][_0x2c8a('0x92')],_0x5d8822[_0x2c8a('0xa9')]),_0x5e4047=_0x2c8a('0x135'),_0x4bebd0=_0x4f3033[_0x2c8a('0xf')],_0x3fe13f=_0x4f3033[_0x2c8a('0x140')];}else{const _0x5bfab5=_0x31fd0c,_0x766878=this[_0x2c8a('0xb9')](_0x5bfab5[_0x2c8a('0x77')]),_0x5760cb=this[_0x2c8a('0xba')]['has'](_0x5bfab5['key']);if(!_0x766878&&!_0x5760cb)continue;_0x2b1e22=_0x766878?Ut(_0x5bfab5[_0x2c8a('0x7b')]['start'][_0x2c8a('0x92')],_0x5d8822[_0x2c8a('0xa9')]):_0x5bfab5[_0x2c8a('0x7b')],_0x5e4047=_0x5bfab5[_0x2c8a('0x77')],_0x4bebd0=_0x2c8a('0x12f')==_0x31fd0c['type']?void 0x0:_0x5bfab5['newValue'],_0x3fe13f=_0x5bfab5['oldValue'];}this[_0x2c8a('0x101')](_0x2b1e22,_0x5e4047,_0x3fe13f,_0x4bebd0,{'groupId':_0x50ccaf}),_0x15dda8[_0x2c8a('0x96')]({'range':_0x2b1e22,'key':_0x5e4047,'newValue':_0x4bebd0,'oldValue':_0x3fe13f});}this[_0x2c8a('0xc4')](_0x126efd,_0x15dda8);});}}[_0x2c8a('0xc4')](_0x3c799e,_0x2c3ddc){if(0x0==_0x2c3ddc[_0x2c8a('0x10')])return!0x1;let _0x27fb89=!0x1;for(const _0x39e553 of _0x2c3ddc){const _0x46a9ce=this[_0x2c8a('0xc8')](_0x39e553[_0x2c8a('0x7b')],'attribute')[_0x2c8a('0xc2')](_0x25bf24=>!_0x25bf24[_0x2c8a('0xca')][_0x2c8a('0x139')])[_0x2c8a('0x68')](_0x544c74=>_0x544c74[_0x2c8a('0x13')]),_0x405858=_0x5cb55d({'newValue':_0x39e553[_0x2c8a('0x2c')]});_0x46a9ce[_0x2c8a('0xc2')](_0x5b36f6=>{const [_0x1617d6,_0x6f12b5]=_0x5b36f6[_0x2c8a('0xf6')][_0x2c8a('0x1c')]('|');return _0x1617d6==_0x39e553[_0x2c8a('0x77')]&&_0x6f12b5!=_0x405858;})['forEach'](_0x49e62c=>{this[_0x2c8a('0xc0')](_0x49e62c,_0x39e553[_0x2c8a('0x7b')],_0x3c799e),_0x27fb89=!0x0;});}return _0x27fb89;}[_0x2c8a('0xc0')](_0x12de5f,_0x4ff6c1,_0x3815b4){const _0x28111e=_0x12de5f[_0x2c8a('0xc3')]()[_0x2c8a('0x12b')](_0x4ff6c1);0x0!==_0x28111e[_0x2c8a('0x10')]?0x1!==_0x28111e['length']?this[_0x2c8a('0x151')](_0x12de5f,_0x4ff6c1[_0x2c8a('0x149')],_0x4ff6c1['end']):this[_0x2c8a('0x2b')](_0x12de5f,_0x28111e[0x0]):_0x3815b4[_0x2c8a('0x18')](_0x12de5f[_0x2c8a('0x30')]());}}class Bt{constructor(_0xd404){this[_0x2c8a('0x76')]=_0xd404,this[_0x2c8a('0xad')]=_0xd404[_0x2c8a('0xa9')],this[_0x2c8a('0x24')]=new Map(),this[_0x2c8a('0xf2')]=new Map(),this[_0x2c8a('0xe0')]();}[_0x2c8a('0x1')](_0x20ca70,_0x1516bb,_0x4baaea,_0x12b702,_0x3ab5ef,_0x99af97){return new _0x2517c2(this[_0x2c8a('0xad')],{'type':_0x20ca70,'subType':_0x1516bb,'id':_0x4baaea,'author':_0x12b702,'creator':_0x12b702,'attributes':_0x3ab5ef,'onAttributesChange':_0x99af97,'onAccept':(..._0x5b3131)=>this[_0x2c8a('0x108')](_0x20ca70,_0x1516bb,_0x2c8a('0x167'))(..._0x5b3131),'onDiscard':(..._0x2ff328)=>this[_0x2c8a('0x108')](_0x20ca70,_0x1516bb,'discard')(..._0x2ff328)});}[_0x2c8a('0x175')](_0x37c029,_0x327f8a,_0x13f1fc,_0x2dff82){const _0x52a866=_0x37c029+':'+_0x327f8a+':'+_0x13f1fc;this[_0x2c8a('0x24')][_0x2c8a('0x51')](_0x52a866,_0x2dff82);}[_0x2c8a('0x108')](_0x2d759c,_0x52d53a,_0x2575bf){const _0x4a7f80=_0x2d759c+':'+_0x52d53a+':'+_0x2575bf;return this[_0x2c8a('0x24')]['get'](_0x4a7f80)||this['_defaultCallbacks'][_0x2c8a('0x10b')](_0x2d759c+':'+_0x2575bf);}[_0x2c8a('0xe0')](){const _0x1bb7d7=()=>!0x1,_0x1662a9=_0xddccc4=>{_0xddccc4[_0x2c8a('0x13b')]((_0x5148f2,_0x38b739)=>_0x5148f2[_0x2c8a('0x149')][_0x2c8a('0xeb')](_0x38b739[_0x2c8a('0x149')])?0x1:-0x1),this[_0x2c8a('0xad')]['change'](_0x4e613a=>{for(const _0x3d2546 of _0xddccc4){let _0x261b5e;_0x261b5e=_0x3d2546[_0x2c8a('0xed')][_0x2c8a('0x3d')]&&_0x3d2546[_0x2c8a('0xed')][_0x2c8a('0xbc')]==_0x3d2546[_0x2c8a('0x149')]['nodeAfter']?_0x4e613a['createSelection'](_0x3d2546[_0x2c8a('0x149')][_0x2c8a('0x92')],'on'):_0x4e613a['createSelection'](_0x3d2546),this['_model'][_0x2c8a('0xa8')](_0x261b5e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4ef8b9=(_0x105679,_0x282a2d)=>{_0x282a2d&&this['_model']['change'](_0x5cee8e=>{const {commandName:_0x2299bd,commandParams:_0x473b51=[]}=_0x282a2d,_0x34b4d5=_0x105679[_0x2c8a('0x68')](_0x1b9bf2=>(xt(_0x1b9bf2)&&(_0x1b9bf2=this[_0x2c8a('0xad')][_0x2c8a('0x146')](_0x1b9bf2['end'])),_0x1b9bf2))[_0x2c8a('0xc2')](_0x3fce8c=>_0x2c8a('0x14a')!==_0x3fce8c[_0x2c8a('0xd3')][_0x2c8a('0x42')]);if(_0x34b4d5['length']<0x1)return;const _0x190edd=Array[_0x2c8a('0x48')](this[_0x2c8a('0xad')][_0x2c8a('0x4b')][_0x2c8a('0x26')][_0x2c8a('0x60')]())[_0x2c8a('0x68')](_0xac9966=>_0x474640[_0x2c8a('0x109')](_0xac9966));_0x5cee8e['setSelection'](_0x34b4d5);for(const _0x3be155 of this[_0x2c8a('0x76')][_0x2c8a('0x11e')][_0x2c8a('0x11e')]())_0x3be155['refresh']();_0x473b51['push']({'forceDefaultExecution':!0x0}),this[_0x2c8a('0x76')][_0x2c8a('0x3b')](_0x2299bd,..._0x473b51);const _0x4dec5c=_0x190edd['filter'](_0x3e5b87=>_0x2c8a('0x14a')!=_0x3e5b87[_0x2c8a('0xd3')][_0x2c8a('0x42')]);_0x4dec5c[_0x2c8a('0x10')]>0x0&&_0x5cee8e[_0x2c8a('0xd4')](_0x4dec5c);for(const _0x48f648 of _0x190edd)_0x48f648[_0x2c8a('0x142')]();});},_0x5649b2=(_0x15d75c,_0x3a554e)=>0x1==_0x15d75c[_0x2c8a('0x10')]&&0x1==_0x3a554e['length']&&_0x15d75c[0x0][_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x3a554e[0x0][_0x2c8a('0x149')]),_0x4256e=(_0x2df7d0,_0x4a3636,_0x4a350b,_0x491bcc)=>Ot(_0x2df7d0,_0x4a3636,_0x4a350b,_0x491bcc,this[_0x2c8a('0xad')])?[_0x2df7d0,_0x4a3636]:Ot(_0x4a3636,_0x2df7d0,_0x491bcc,_0x4a350b,this[_0x2c8a('0xad')])?[_0x4a3636,_0x2df7d0]:null;this[_0x2c8a('0xf2')]['set'](_0x2c8a('0xa3'),_0x1bb7d7),this[_0x2c8a('0xf2')]['set']('insertion:discard',_0x1662a9),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x3a'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x165'),_0x4256e),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x11a'),_0x1662a9),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x33'),_0x1bb7d7),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x14'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xb6'),_0x4256e),this[_0x2c8a('0xf2')]['set']('formatInline:accept',_0x4ef8b9),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x114'),_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x14c'),_0x5649b2),this[_0x2c8a('0xf2')][_0x2c8a('0x51')]('formatInline:chain',_0x1bb7d7),this[_0x2c8a('0xf2')]['set'](_0x2c8a('0x161'),_0x4ef8b9),this['_defaultCallbacks'][_0x2c8a('0x51')]('formatBlock:discard',_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0x163'),_0x5649b2),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0xdc'),_0x1bb7d7),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xdd'),_0x1bb7d7),this['_defaultCallbacks'][_0x2c8a('0x51')](_0x2c8a('0x179'),(_0x3ccef3,_0xb685f3)=>{if(!_0xb685f3)return;const _0x335c83=this[_0x2c8a('0x76')][_0x2c8a('0x9d')][_0x2c8a('0x10b')](p);this[_0x2c8a('0xad')][_0x2c8a('0x132')](_0x14a029=>{if('$elementName'==_0xb685f3[_0x2c8a('0x77')])for(const _0x34070a of _0x3ccef3){const _0xb6ee0f=_0x34070a[_0x2c8a('0x149')][_0x2c8a('0x92')],_0x23e00c=_0xb685f3[_0x2c8a('0x58')];_0x14a029[_0x2c8a('0x8a')](_0xb6ee0f,_0x23e00c);}else{if(_0x335c83[_0x2c8a('0xb9')](_0xb685f3[_0x2c8a('0x77')]))for(const _0x5e80a9 of _0x3ccef3)void 0x0!==_0xb685f3[_0x2c8a('0x58')]?_0x14a029['setAttribute'](_0xb685f3[_0x2c8a('0x77')],_0xb685f3[_0x2c8a('0x58')],_0x5e80a9[_0x2c8a('0x149')][_0x2c8a('0x92')]):_0x14a029[_0x2c8a('0x12f')](_0xb685f3[_0x2c8a('0x77')],_0x5e80a9[_0x2c8a('0x149')][_0x2c8a('0x92')]);else for(const _0x487e5a of _0x3ccef3)_0xb685f3[_0x2c8a('0x58')]?_0x14a029[_0x2c8a('0x89')](_0xb685f3[_0x2c8a('0x77')],_0xb685f3[_0x2c8a('0x58')],_0x487e5a):_0x14a029[_0x2c8a('0x12f')](_0xb685f3[_0x2c8a('0x77')],_0x487e5a);}});}),this[_0x2c8a('0xf2')][_0x2c8a('0x51')](_0x2c8a('0xf1'),_0x5649b2);}}function Tt(_0x14362d,_0x3feba1,_0x7d23c2){for(const _0x31acc1 of _0x3feba1[_0x2c8a('0xbc')][_0x2c8a('0x8d')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x31acc1[_0x2c8a('0xd3')]==_0x31acc1)return!0x1;if(!_0x7d23c2['containsItem'](_0x31acc1))return!0x1;if(_0x14362d[_0x2c8a('0xf8')](_0x31acc1)||_0x14362d[_0x2c8a('0x56')](_0x31acc1))return!0x0;}return!0x1;}function xt(_0x6db746){return _0x6db746[_0x2c8a('0xed')]['parent']==_0x6db746['start'][_0x2c8a('0x92')]&&_0x6db746[_0x2c8a('0xed')][_0x2c8a('0x15a')];}function Et(_0x4710df,_0x4a073a,_0x1f518d,_0x1bd9aa){const _0x137939=_0x8ed16e=>!_0x8ed16e['item']['is'](_0x2c8a('0x66'))&&!_0x1bd9aa[_0x2c8a('0xf8')](_0x8ed16e['item']),_0x21b802=_0x4710df[_0x2c8a('0x149')][_0x2c8a('0x65')](_0x137939),_0x668555=_0x4710df[_0x2c8a('0xed')]['getLastMatchingPosition'](_0x137939,{'direction':'backward'});return(!_0x4710df['start'][_0x2c8a('0x16b')](_0x21b802)||!_0x4710df[_0x2c8a('0xed')][_0x2c8a('0x16b')](_0x668555))&&(_0x21b802[_0x2c8a('0xeb')](_0x668555)?_0x1f518d[_0x2c8a('0x4a')](_0x4a073a,{'range':_0x1f518d[_0x2c8a('0x146')](_0x21b802,_0x668555)}):_0x1f518d[_0x2c8a('0x18')](_0x4a073a),!0x0);}function Rt(_0x138eb1){return _0x5cb55d(_0x138eb1);}function jt(_0x2bb647){const _0x3fc09b=_0x2bb647[_0x2c8a('0x149')]['nodeAfter'];return _0x3fc09b&&_0x3fc09b['is'](_0x2c8a('0x9'));}function Ut(_0x170dbe,_0x56c49b){const _0x56dcbc=_0x56c49b[_0x2c8a('0x154')]['isObject'](_0x170dbe)||_0x56c49b['schema'][_0x2c8a('0xf5')](_0x170dbe);return _0x56c49b[_0x2c8a('0x146')](_0x56c49b[_0x2c8a('0xe4')](_0x170dbe,'before'),_0x56dcbc?_0x56c49b[_0x2c8a('0xa0')](_0x170dbe):_0x56c49b[_0x2c8a('0xe4')](_0x170dbe,_0x2c8a('0xed')));}function Ot(_0x34f4ad,_0x450b09,_0x58f2cf,_0x433e67,_0x29bb72){if(!Vt(_0x34f4ad,_0x450b09))return!0x1;if(_0x58f2cf[_0x2c8a('0xed')]['isEqual'](_0x433e67[_0x2c8a('0x149')]))return!0x0;if(_0x34f4ad[_0x2c8a('0x6e')]!=_0x450b09['type'])return!0x1;if(!_0x58f2cf['end'][_0x2c8a('0x82')](_0x433e67[_0x2c8a('0x149')]))return!0x1;const _0x8810c8=_0x29bb72[_0x2c8a('0x146')](_0x58f2cf[_0x2c8a('0xed')],_0x433e67['start'])[_0x2c8a('0xc')]();for(const _0x470f73 of _0x8810c8)if([_0x2c8a('0x75'),'elementEnd'][_0x2c8a('0x17b')](_0x470f73[_0x2c8a('0x6e')])&&_0x29bb72[_0x2c8a('0x154')][_0x2c8a('0x56')](_0x470f73[_0x2c8a('0x31')]))return!0x1;return!0x0;}function Vt(_0x4299b3,_0x26fd25){return!(!_0x4299b3[_0x2c8a('0xd7')]||!_0x26fd25[_0x2c8a('0xd7')])&&_0x34db3f(_0x4299b3[_0x2c8a('0x5c')],_0x26fd25[_0x2c8a('0x5c')]);}function Gt(_0x1fd05f,_0x3f7ae0){const _0x5c327d=Ft(_0x1fd05f[_0x2c8a('0x5c')]),_0x3cae5b=Ft(_0x3f7ae0);if(!_0x1fd05f['_isDataLoaded'])return!0x1;for(const _0x146a64 of Object[_0x2c8a('0x63')](_0x3cae5b))if(!_0x34db3f(_0x5c327d[_0x146a64],_0x3cae5b[_0x146a64]))return!0x1;return!0x0;}function Ft(_0x278ebe){const _0x510674=Object[_0x2c8a('0xef')]({},_0x278ebe);return delete _0x510674[_0x2c8a('0x98')],delete _0x510674[_0x2c8a('0xd6')],_0x510674;}function Pt(_0x27ec15){return _0x2c8a('0x5a')==_0x27ec15[_0x2c8a('0x6e')]?_0x27ec15[_0x2c8a('0xf6')][_0x2c8a('0x1c')]('|')[0x0]:null;}
|