@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231211.0 → 0.0.0-nightly-20231212.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-20231211.0",
3
+ "version": "0.0.0-nightly-20231212.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-20231211.0",
43
- "ckeditor5-collaboration": "0.0.0-nightly-20231211.0",
42
+ "ckeditor5": "0.0.0-nightly-20231212.0",
43
+ "ckeditor5-collaboration": "0.0.0-nightly-20231212.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 _0x5e7d=['setSelection','containsRange','_getMarkerAnnouncementText','subType','$text','oldValue','dataReady','authorName','_isBlockAttribute','getWalker','_processAttributeSuggestions','attributeNewValue','createRange','addSuggestionData','isOwn','addMarker','removeMarker','LEAVE','enableCommand','tablePasteChainId','removed','rename','unbindElementFromMarkerName','ready','widget','createRangeOn','hasSuggestion','dataToMarker','@external','rootName','getIntersection','createRangeIn','isLocal','clone','after','push','_rangeIsInLocalUserInsertion','updateSuggestion','containsRangeInObject','discardAllSuggestions','showSuggestionHighlights','removeComment','collaboration.channelId','removeMarker:suggestion:attribute','commentThread','pop','author','_trackFormatChanges','ENTER','commandName','every','isIntersectingWithRange','deletion:accept','attribute:join','updateMarker','consumable','_defaultCallbacks','_onDiscard','createPositionBefore','getSuggestionCallback','marker-count','insertion','$graveyard','isNextTo','_saved','formatInline:join','group','_refreshSuggestionsChain','markers','_addSuggestionMarker','insert','find','_getSuggestionData','addMarker:suggestion:formatBlock','_registerBlockAttribute','length','removeMarker:suggestion:formatBlock','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.','ck-suggestion-marker','isAtEnd','set','format','ck-suggestion-marker-','_handleNewSuggestionMarker','CommentsRepository','deletion:chain','attribute','startsWith','enqueueChange','concat','getChanges','warn','track-changes-suggestion-data-mismatch','fromCharCode','markerToData','root','has','isEqual','isAtStart','groupId','moveTargetPosition','skipNestingCheck','isIntersecting','change:data','getContainedElement','suggestionChanged','forEach','formatInline:accept','writer','end','next','item','track-changes-enable-command-twice','formatBlock:discard','return','map','_model','getItems','fetchCommentThread','options','adapter','mapper','reconvertMarker','data-suggestion','_initAriaMarkerChangeAnnouncements','markDeletion','createSelection','open','consume','trackChangesCommand','history','formatInline:','ck-suggestion-marker--active','getCommentThread','_enableDefaultAttributesIntegration','key','newValue','_suggestions','getSuggestion','oldRange','track-changes-user-not-found','external:','lowest','createPositionAt','filter','markAttributeChange','isInContent','_SUGGESTION_ANNOUNCEMENT','keys','differ','never','_breakSuggestionMarker','change:_saved','remove','conversion','creator','discardSuggestion','accept','_blockAttributeKeys','ck-suggestion-marker-formatBlock','formatInline','containerElement','$marker','acceptSelectedSuggestions','type','init','_joinWithAdjacentSuggestions','formatInline:discard','formatBlock:chain','getSuggestions','_commentsRepository','editor','getCustomProperty','upcast','highest','_recordAttributeChanges','getFirstRange','suggestion:','insertion:accept','addHighlight','values','_processAttributeChanges','markMultiRangeBlockFormat','head','change:activeMarkers','addClass','enableReadOnlyMode','fire','_adapter','formatGroupId','_createSuggestion','_splitMarkerName','default','toViewElement','getOperations','name','_registerDefaultCallbacks','isCollapsed','markerReady','trackChanges.mergeNestedSuggestions','range','removeAttribute','isObject','delete','editing','dataDowncast','_editor','$elementName','locale','_isForcedDefaultExecutionBlock','_checkSuggestionCorrectness','notReady','getShiftedBy','resolve','normal','acceptAllSuggestions','formatBlock:join','getNearestSelectionRange','comments','markerNameToElements','markInsertion','plugins','element','editingDowncast','chain','nodeBefore','_enabledCommands','_mergeNestedSuggestions','suggestion','$textProxy','_cutOutSuggestionMarker','includes','_inlineAttributeKeys','isExternal','targetPosition','_reduceSuggestionAttributeRange','_descriptionFactory','config','deleteContent','_suggestionFactory','listenTo','_isDataLoaded','size','deletion:discard','for','isSelectable','getChangedMarkers','createPositionAfter','containsPosition','batch','isRemovable','_joinSuggestions','elementToElement','start','ariaLiveAnnouncer','_addThreadToSuggestion','deletion','formatBlock:','isTouching','isMultiRange','move','removeClass','authoredAt','getMultiRangeId','splice','data','setTo','substring','track-changes-adapter-missing-getsuggestion','_setSuggestionRange','PendingActions','getFirstMarker','isBlock','document','_getExternalAuthor','multi','version','hasComments','accepted','previous','_updateSuggestionData','change','attribute:discard','markerName','documentSelection','deletion:','_findSuggestions','markInlineFormat','execute','attributes','isDocumentOperation','trackChanges','add','backward','multipleBlocks','addMarker:suggestion','detach','_suggestionState','_removeSuggestion','define','getAllAdjacentSuggestions','setAttribute','track-changes-command-not-found','suggestion-type','split','rejected','always','removeMarkers','clear','then','addCommentThread','getRanges','Users','TrackChangesEditing','isAfter','schema','some','low','formatBlock','insertion:','_refreshAttributeSuggestionsChain','suggestionLoaded','deletion:join','position','requires','unshift','addComment','toJSON','isInsideObject','elementEnd','getAttribute','addSuggestion','nodeAfter','_setSuggestionData','unbind','parent','get','high','getRange','acceptSuggestion','model','activeMarkers','discard','substr','trackChanges.trackFormatChanges','isUndo','stop','catch','forceDefaultExecution','isArray','track-changes-adapter-already-set','getDifference','isBefore','splitPosition','suggestionUnloaded','changeAttribute','value','_recordAttributeSuggestionsFromVersion','rethrowUnexpectedError','_registerInlineAttribute','addRange','_customCallbacks','addUser','getUser','createdAt','buildSuggestion','getLastMatchingPosition','howMany','join','_reduceExistingSuggestions','insertion:discard','from','formatBlock:accept','sort','newRange','discardSelectedSuggestions','markBlockFormat','PENDING_ACTION_SUGGESTION','registerPostFixer','markMultiRangeInsertion','commands','selection','isLimit','insertContent'];(function(_0x1046dc,_0x5e7d6d){const _0x11961c=function(_0x409697){while(--_0x409697){_0x1046dc['push'](_0x1046dc['shift']());}};_0x11961c(++_0x5e7d6d);}(_0x5e7d,0xa8));const _0x1196=function(_0x1046dc,_0x5e7d6d){_0x1046dc=_0x1046dc-0x0;let _0x11961c=_0x5e7d[_0x1046dc];return _0x11961c;};import{Plugin as _0x30db1b,PendingActions as _0x60f01b}from'ckeditor5/src/core';import{LiveRange as _0x284da0}from'ckeditor5/src/engine';import{CKEditorError as _0x37a2ae,uid as _0x1449d0,priorities as _0x3da3c6,logWarning as _0x3e1932}from'ckeditor5/src/utils';import{toWidget as _0x50b2b8}from'ckeditor5/src/widget';import{Users as _0x2abd57,hashObject as _0x5501a2,surroundingMarkersDetector as _0x1d2ead}from'ckeditor5-collaboration/src/collaboration-core';import _0x4076c7 from'./commands/trackchangescommand';import _0x1c93ba from'./commands/acceptsuggestioncommand';import _0x44643a from'./commands/discardsuggestioncommand';import _0x5968fc from'./commands/executeonallsuggestionscommand';import _0x1d0abf from'./commands/executeonselectedsuggestionscommand';import _0x32d5d1 from'./suggestion';import _0x41d522 from'./suggestiondescriptionfactory';import _0x422f29 from'./integrations/aiassistant';import _0x3cfc78 from'./integrations/alignment';import _0x5aa47c from'./integrations/basicstyles';import _0x5e41e6 from'./integrations/blockquote';import _0x2a67dd from'./integrations/ckbox';import _0x1f44a0 from'./integrations/codeblock';import _0x2dcf82 from'./integrations/comments';import _0x3de965 from'./integrations/deletecommand';import _0x2decbf from'./integrations/documentlist';import _0x486a98 from'./integrations/documentlistproperties';import _0x53997f from'./integrations/entercommand';import _0x34dfb2 from'./integrations/findandreplace';import _0xdc7bea from'./integrations/font';import _0x5833f1 from'./integrations/formatpainter';import _0x4a4855 from'./integrations/heading';import _0x437b2d from'./integrations/highlight';import _0x4d3d1e from'./integrations/horizontalline';import _0x1ec439 from'./integrations/htmlembed';import _0x77ac95 from'./integrations/image';import _0x11b40c from'./integrations/imagereplace';import _0xca1846 from'./integrations/imagestyle';import _0x19643a from'./integrations/importword';import _0x308bf9 from'./integrations/indent';import _0x1ac6f7 from'./integrations/inputcommand';import _0x2144d7 from'./integrations/link';import _0x4cfe6b from'./integrations/list';import _0x48761c from'./integrations/listproperties';import _0x38689c from'./integrations/mediaembed';import _0x2fea12 from'./integrations/mention';import _0x450fe8 from'./integrations/pagebreak';import _0x118319 from'./integrations/paragraph';import _0x1342c8 from'./integrations/removeformat';import _0x554e5e from'./integrations/restrictededitingmode';import _0x279740 from'./integrations/shiftentercommand';import _0x61c65d from'./integrations/standardeditingmode';import _0x42e368 from'./integrations/style';import _0x2b1cd7 from'./integrations/table';import _0x1adce5 from'./integrations/tablemergesplit';import _0x29e86d from'./integrations/tableheadings';import _0x58e711 from'./integrations/tableclipboard';import _0x402c88 from'./integrations/tablecolumnresize';import _0x189063 from'./integrations/template';import _0x11fcc7 from'./integrations/tableofcontents';import _0x443a19 from'./integrations/title';import _0x1c3e6d from'./integrations/undo';import _0x2f3e5b from'./integrations/tablecaption';import _0x104c99 from'./integrations/tableproperties';import{getTranslation as _0x53252c}from'./utils/common-translations';import{isEqual as _0x3f301d,omit as _0x4ce505}from'lodash-es';export const renameAttributeKey=_0x1196('0x27');export default class p extends _0x30db1b{static get[_0x1196('0x9c')](){return[_0x1196('0x12c'),_0x2abd57,_0x60f01b,_0x422f29,_0x3cfc78,_0x5aa47c,_0x5e41e6,_0x2a67dd,_0x1f44a0,_0x2dcf82,_0x3de965,_0x2decbf,_0x486a98,_0x53997f,_0x34dfb2,_0xdc7bea,_0x5833f1,_0x4a4855,_0x437b2d,_0x4d3d1e,_0x1ec439,_0x77ac95,_0xca1846,_0x11b40c,_0x19643a,_0x308bf9,_0x1ac6f7,_0x2144d7,_0x4cfe6b,_0x48761c,_0x38689c,_0x2fea12,_0x450fe8,_0x118319,_0x1342c8,_0x554e5e,_0x279740,_0x61c65d,_0x42e368,_0x2b1cd7,_0x1adce5,_0x29e86d,_0x2f3e5b,_0x58e711,_0x402c88,_0x11fcc7,_0x104c99,_0x189063,_0x443a19,_0x1c3e6d];}static get['pluginName'](){return _0x1196('0x91');}constructor(_0x2dc18f){function _0x4c1cdc(_0xb1ca54){return _0xb1ca54[_0x1196('0x14b')](_0x58acc4=>String[_0x1196('0x135')](_0x58acc4))[_0x1196('0xc8')]('');}super(_0x2dc18f),this[_0x1196('0xbd')]=null,this['set'](_0x1196('0xad'),[]),this['on'](_0x1196('0x10'),(_0x409298,_0x405141,_0x10edc9,_0x12c365)=>{this['_model'][_0x1196('0x71')](()=>{for(const _0x439471 of[..._0x12c365,..._0x10edc9])this[_0x1196('0x14c')][_0x1196('0x11c')][_0x1196('0x138')](_0x439471)&&_0x2dc18f[_0x1196('0x24')][_0x1196('0x152')](_0x439471);});}),this[_0x1196('0x44')]=new _0x41d522(this[_0x1196('0x3')][_0x1196('0xac')][_0x1196('0x93')],this[_0x1196('0x3')][_0x1196('0x28')]),this[_0x1196('0x14')]=null,this[_0x1196('0x47')]=new Bt(this['editor']),this[_0x1196('0x161')]=new Map(),this[_0x1196('0x2')]=_0x2dc18f[_0x1196('0x35')]['get'](_0x1196('0x12c')),this['_enabledCommands']=new Set(),this[_0x1196('0x14c')]=this[_0x1196('0x3')][_0x1196('0xac')],this['_suggestionState']=new WeakMap(),this[_0x1196('0x29')]=!0x1,this[_0x1196('0x176')]=new Set([_0x1196('0x27')]),this['_inlineAttributeKeys']=new Set(),_0x2dc18f[_0x1196('0x45')][_0x1196('0x83')](_0x1196('0xb0'),_0x1196('0x18')),this[_0x1196('0x107')]=_0x2dc18f[_0x1196('0x45')][_0x1196('0xa8')](_0x1196('0xb0')),_0x2dc18f[_0x1196('0x45')][_0x1196('0x83')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2dc18f[_0x1196('0x45')][_0x1196('0xa8')](_0x1196('0x1f')),this[_0x1196('0x159')]=new _0x4076c7(_0x2dc18f,this[_0x1196('0x3a')]),this[_0x1196('0x154')](),this[_0x4c1cdc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x4c1cdc([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x32]);}[_0x1196('0x17d')](){const _0x56b329=this['editor'],_0x1d2de2=(_0x3dd529,_0x4a4bca)=>{if(_0x1196('0x12e')!=_0x3dd529)return _0x1196('0x12a')+_0x3dd529;const _0x2875de=_0x4a4bca[_0x1196('0x88')]('|')[0x0];return this[_0x1196('0xe0')](_0x2875de)?_0x1196('0x177'):'ck-suggestion-marker-formatInline';};_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x37'))['markerToHighlight']({'model':_0x1196('0x3c'),'view':_0x393285=>{const {id:_0x373a3b,type:_0x1002bd,subType:_0x5265a7}=this['_splitMarkerName'](_0x393285[_0x1196('0x73')]),_0x33f5d4=[_0x1196('0x126'),_0x1d2de2(_0x1002bd,_0x5265a7)];let _0x35905c=0xbb8;return this['activeMarkers'][_0x1196('0x3f')](_0x393285[_0x1196('0x73')])&&(_0x33f5d4['push']('ck-suggestion-marker--active'),_0x35905c=0xbc2),_0x1196('0x58')==_0x1002bd&&(_0x35905c+=0x5),{'classes':_0x33f5d4,'attributes':{'data-suggestion':_0x373a3b},'priority':_0x35905c};}}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x423d22=>{_0x423d22['on'](_0x1196('0x7f'),(_0x4b0620,_0x323888,_0x473289)=>{if(!_0x473289['options'][_0x1196('0x100')])return;const _0x2ccd13=_0x323888[_0x1196('0x147')];if(!_0x2ccd13)return;const _0x3ff022=_0x473289[_0x1196('0x151')][_0x1196('0x19')](_0x2ccd13);_0x56b329['model'][_0x1196('0x93')][_0x1196('0x22')](_0x2ccd13)&&_0x3ff022&&!_0x3ff022[_0x1196('0x4')](_0x1196('0xf0'))&&_0x3ff022['is'](_0x1196('0x179'))&&_0x50b2b8(_0x3ff022,_0x473289[_0x1196('0x144')]);},{'priority':'high'});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')]('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2d8a6b,_0x42b90d)=>{if(!_0x42b90d['options'][_0x1196('0x100')])return null;const {type:_0x17bc04,subType:_0x21721d}=this[_0x1196('0x17')](_0x2d8a6b[_0x1196('0x73')]);return{'classes':[_0x1196('0x126'),_0x1d2de2(_0x17bc04,_0x21721d)],'priority':0xbb8};}});const _0x55b114=({showActiveMarkers:_0x1560bd=!0x0,isAttributeSuggestion:_0x2328c9=!0x1}={})=>(_0x1f9d47,_0x142815,_0x4f2a9a)=>{if(!_0x142815[_0x1196('0x147')])return;const {id:_0x2ff838}=this['_splitMarkerName'](_0x142815['markerName']);if(_0x2328c9){const _0x2cc482=Pt(this[_0x1196('0x161')][_0x1196('0xa8')](_0x2ff838));if(!this[_0x1196('0xe0')](_0x2cc482))return;}if(_0x142815['item']['is'](_0x1196('0xd5')))return void _0x4f2a9a[_0x1196('0x10f')][_0x1196('0x158')](_0x142815[_0x1196('0x147')],_0x1f9d47['name']);const _0x3280e8=_0x4f2a9a['mapper']['toViewElement'](_0x142815[_0x1196('0x147')]);if(_0x142815['item']['is']('element')&&_0x56b329[_0x1196('0xac')]['schema'][_0x1196('0x68')](_0x142815[_0x1196('0x147')])&&!_0x3280e8[_0x1196('0x4')](_0x1196('0xb'))){_0x4f2a9a[_0x1196('0x144')]['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x3280e8),_0x4f2a9a['writer']['setAttribute'](_0x1196('0x153'),_0x2ff838,_0x3280e8),_0x4f2a9a[_0x1196('0x151')]['bindElementToMarker'](_0x3280e8,_0x142815[_0x1196('0x73')]),_0x1560bd&&(this[_0x1196('0xad')]['includes'](_0x142815[_0x1196('0x73')])?_0x4f2a9a['writer'][_0x1196('0x11')](_0x1196('0x15c'),_0x3280e8):_0x4f2a9a['writer'][_0x1196('0x5d')](_0x1196('0x15c'),_0x3280e8));for(const _0xa8e224 of _0x56b329['model'][_0x1196('0xf7')](_0x142815['item'])[_0x1196('0x14d')]())_0x4f2a9a['consumable'][_0x1196('0x158')](_0xa8e224,_0x1f9d47[_0x1196('0x1b')]);_0x4f2a9a[_0x1196('0x10f')][_0x1196('0x158')](_0x142815['item'],_0x1f9d47[_0x1196('0x1b')]);}};_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x2af786=>{_0x2af786['on'](_0x1196('0x121'),(_0x5d896c,_0x1cfacf,_0x342dc5)=>{_0x342dc5[_0x1196('0x14f')][_0x1196('0x100')]&&_0x55b114({'showActiveMarkers':!0x1})(_0x5d896c,_0x1cfacf,_0x342dc5);},{'priority':'highest'});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x7c')](_0x5d3de0=>{_0x5d3de0['on']('addMarker:suggestion:attribute',(_0x5216b6,_0x261de8,_0x4b8328)=>{_0x4b8328[_0x1196('0x14f')][_0x1196('0x100')]&&_0x55b114({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x5216b6,_0x261de8,_0x4b8328);},{'priority':_0x1196('0x6')});}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x25'))[_0x1196('0x136')]({'model':_0x1196('0x3c'),'view':(_0xa8cf9f,_0x207b04)=>_0x207b04['options'][_0x1196('0x100')]?null:{'group':_0x1196('0x3c'),'name':_0xa8cf9f[_0x1196('0xaf')](0xb)}}),_0x56b329[_0x1196('0x172')]['for']('upcast')[_0x1196('0x54')]({'view':{'name':_0x1196('0x3c'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x780e65,{writer:_0x443f77})=>{let _0x11fe32=_0x1196('0x9')+_0x780e65[_0x1196('0xa2')](_0x1196('0x87'))+':'+_0x780e65['getAttribute']('id');return _0x780e65[_0x1196('0xa2')](_0x1196('0x114'))&&(_0x11fe32+=':'+_0x780e65[_0x1196('0xa2')](_0x1196('0x114'))),_0x443f77['createElement'](_0x1196('0x17a'),{'data-name':_0x11fe32});}}),_0x56b329['conversion']['for'](_0x1196('0x5'))[_0x1196('0xf3')]({'view':'suggestion'}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x37'))[_0x1196('0x7c')](_0x1df3ac=>{_0x1df3ac['on'](_0x1196('0x121'),_0x55b114(),{'priority':_0x1196('0xa9')});}),_0x56b329[_0x1196('0x172')][_0x1196('0x4c')](_0x1196('0x37'))[_0x1196('0x7c')](_0x59416a=>{_0x59416a['on']('addMarker:suggestion:attribute',_0x55b114({'isAttributeSuggestion':!0x0}),{'priority':_0x1196('0xa9')});}),_0x56b329['conversion'][_0x1196('0x4c')]('editingDowncast')[_0x1196('0x7c')](_0x35d9de=>{_0x35d9de['on'](_0x1196('0x124'),(_0x52324c,_0x12bb58,_0x95e2e9)=>{const _0x36e9a0=_0x95e2e9[_0x1196('0x151')]['markerNameToElements'](_0x12bb58[_0x1196('0x73')]);if(_0x36e9a0)for(const _0x1daa95 of _0x36e9a0)_0x1daa95[_0x1196('0x4')](_0x1196('0xb'))||(_0x95e2e9[_0x1196('0x144')][_0x1196('0x5d')]([_0x1196('0x126'),_0x1196('0x177'),'ck-suggestion-marker--active'],_0x1daa95),_0x95e2e9[_0x1196('0x144')][_0x1196('0x21')]('data-suggestion',_0x1daa95),_0x95e2e9[_0x1196('0x151')][_0x1196('0xee')](_0x1daa95,_0x12bb58[_0x1196('0x73')]));},{'priority':_0x1196('0xa9')});}),_0x56b329['conversion'][_0x1196('0x4c')](_0x1196('0x37'))['add'](_0x567361=>{_0x567361['on'](_0x1196('0x103'),(_0x30af79,_0x3e222b,_0x551904)=>{const _0x1d7616=_0x551904[_0x1196('0x151')][_0x1196('0x33')](_0x3e222b['markerName']);if(!_0x1d7616)return;const {id:_0x56698e}=this[_0x1196('0x17')](_0x3e222b['markerName']),_0x25c1c6=Pt(this[_0x1196('0x161')][_0x1196('0xa8')](_0x56698e));if(this[_0x1196('0xe0')](_0x25c1c6))for(const _0x4121bd of _0x1d7616)_0x4121bd['getCustomProperty']('addHighlight')||(_0x551904[_0x1196('0x144')][_0x1196('0x5d')](['ck-suggestion-marker',_0x1196('0x177'),_0x1196('0x15c')],_0x4121bd),_0x551904[_0x1196('0x144')][_0x1196('0x21')](_0x1196('0x153'),_0x4121bd),_0x551904[_0x1196('0x151')][_0x1196('0xee')](_0x4121bd,_0x3e222b[_0x1196('0x73')]));},{'priority':_0x1196('0xa9')});}),_0x56b329['model'][_0x1196('0x69')][_0x1196('0xd2')](_0x3b0c43=>{let _0x1d5590=!0x1;const _0x18232f=Array[_0x1196('0xcb')](_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x4e')]()),_0x53ce30=new Set();for(const {name:_0x24a0f6,data:_0x24c5e9}of _0x18232f){const {group:_0x3cd6c3,type:_0x42b1e4,subType:_0x139efc,id:_0x4adc31}=this['_splitMarkerName'](_0x24a0f6);if(_0x1196('0x3c')!==_0x3cd6c3)continue;const _0x28606e=this['_suggestions'][_0x1196('0xa8')](_0x4adc31);if(null!=_0x24c5e9[_0x1196('0xce')]){'formatInline'==_0x42b1e4&&(_0x1d5590=_0x1d5590||Et(_0x24c5e9['newRange'],_0x24a0f6,_0x3b0c43,_0x56b329[_0x1196('0xac')][_0x1196('0x93')]));const _0x323de3='attribute'==_0x42b1e4&&this[_0x1196('0xe0')](_0x139efc[_0x1196('0x88')]('|')[0x0]);if(_0x24c5e9[_0x1196('0xce')][_0x1196('0x1d')]||'$graveyard'==_0x24c5e9[_0x1196('0xce')][_0x1196('0x137')][_0x1196('0xf5')]||_0x1196('0x96')==_0x42b1e4&&!jt(_0x24c5e9[_0x1196('0xce')])||_0x323de3&&!jt(_0x24c5e9['newRange'])||_0x1196('0x58')==_0x42b1e4&&!(!xt(_0x7299f8=_0x24c5e9[_0x1196('0xce')])&&!function(_0x53f241){return _0x53f241['start'][_0x1196('0xa7')]==_0x53f241[_0x1196('0x145')]['nodeBefore']&&_0x53f241[_0x1196('0x55')][_0x1196('0x127')];}(_0x7299f8)))_0x3b0c43[_0x1196('0xe8')](_0x24a0f6),_0x1d5590=!0x0;else{if(!_0x28606e||!_0x28606e[_0x1196('0x16a')])continue;_0x53ce30[_0x1196('0x7c')](_0x28606e);}}}var _0x7299f8;return _0x53ce30[_0x1196('0x4a')]>0x0&&(_0x1d5590=!!this[_0x1196('0x17e')](_0x53ce30)||_0x1d5590),_0x1d5590;}),_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0xd2')](_0x381e07=>{let _0xabc1b2=!0x1;for(const _0x1f789a of _0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x132')]())if(_0x1196('0x11e')==_0x1f789a[_0x1196('0x17c')])for(const _0x14d9d0 of this['_suggestions'][_0x1196('0xc')]()){if(_0x14d9d0[_0x1196('0x5b')]||!_0x14d9d0[_0x1196('0x16a')])continue;const _0x1e4c6e=_0x1196('0x96')==_0x14d9d0[_0x1196('0x17c')],_0x159eb9=Pt(_0x14d9d0),_0x58efa2=_0x159eb9&&this[_0x1196('0xe0')](_0x159eb9);if(!_0x1e4c6e&&!_0x58efa2)continue;const _0x29e30c=_0x14d9d0['getFirstRange']();if(_0x29e30c[_0x1196('0x55')]['parent']!=_0x29e30c['end'][_0x1196('0xa7')]&&!_0x29e30c['end'][_0x1196('0x127')]){const _0x25cd63=_0x56b329['model'][_0x1196('0x167')](_0x29e30c[_0x1196('0x55')][_0x1196('0xa4')],'end'),_0x1538a4=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x29e30c[_0x1196('0x55')],_0x25cd63);_0x381e07['updateMarker'](_0x14d9d0[_0x1196('0x67')](),{'range':_0x1538a4}),_0xabc1b2=!0x0;}}return _0xabc1b2;}),_0x56b329['model'][_0x1196('0x69')][_0x1196('0xd2')](_0x237879=>this[_0x1196('0xd')](_0x237879)),_0x56b329[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0xd2')](_0xa1a063=>!_0xa1a063['batch'][_0x1196('0xf8')]&&this['_processAttributeSuggestions'](_0xa1a063)),_0x56b329[_0x1196('0xac')][_0x1196('0x11c')]['on']('update:suggestion',(_0x3c7019,_0xcaf43e,_0x129b21)=>{if(null==_0x129b21){const {id:_0x2eacaa}=this['_splitMarkerName'](_0xcaf43e['name']),_0x24bdec=this[_0x1196('0x161')][_0x1196('0xa8')](_0x2eacaa);_0x24bdec&&_0x24bdec['addMarkerName'](_0xcaf43e['name']);}}),_0x56b329[_0x1196('0xac')][_0x1196('0x69')]['on'](_0x1196('0x13f'),()=>{const _0x507f20=Array[_0x1196('0xcb')](_0x56b329[_0x1196('0xac')]['document'][_0x1196('0x16d')][_0x1196('0x4e')]())[_0x1196('0x168')](_0x4f11f3=>_0x1196('0x3c')===this[_0x1196('0x17')](_0x4f11f3[_0x1196('0x1b')])[_0x1196('0x11a')]);if(0x0===_0x507f20[_0x1196('0x123')])return;_0x507f20[_0x1196('0xcd')]((_0x38835e,_0x369a3b)=>{const _0x439878=_0x38835e[_0x1196('0x61')]['oldRange'],_0x1c5312=_0x369a3b[_0x1196('0x61')][_0x1196('0x163')];return null===_0x439878&&null===_0x1c5312?0x0:null===_0x439878&&null!==_0x1c5312?-0x1:null!==_0x439878&&null===_0x1c5312?0x1:_0x439878[_0x1196('0x55')][_0x1196('0xb8')](_0x1c5312['start'])?-0x1:0x1;});const _0x36315f=new Set(),_0x101c41=new Set();for(const {name:_0xb8c66,data:_0xc322e6}of _0x507f20){const {id:_0x49c498}=this[_0x1196('0x17')](_0xb8c66);if(null===_0xc322e6[_0x1196('0x163')]){const _0x2df0e6=this['_handleNewSuggestionMarker'](_0xb8c66);_0x101c41[_0x1196('0x7c')](_0x2df0e6);}else{const _0x5d8a39=this['_suggestions']['get'](_0x49c498);null!==_0xc322e6[_0x1196('0xce')]||_0x5d8a39[_0x1196('0x16a')]?(_0x36315f[_0x1196('0x7c')](_0x5d8a39[_0x1196('0xf')]),_0x101c41[_0x1196('0x7c')](_0x5d8a39)):this[_0x1196('0x82')](_0x5d8a39);}}_0x101c41[_0x1196('0x4a')]>0x0&&this['_refreshSuggestionsChain'](_0x101c41);for(const _0x4677f4 of _0x36315f)this[_0x1196('0x13')](_0x1196('0x141'),_0x4677f4);}),_0x56b329['model']['on']('applyOperation',(_0x3128fe,_0x52dcdc)=>{const _0x3a077b=_0x52dcdc[0x0];if(!this[_0x1196('0x161')][_0x1196('0x4a')])return;if(!_0x3a077b[_0x1196('0x7a')])return;if(_0x3a077b['batch'][_0x1196('0xb1')]||!_0x3a077b[_0x1196('0x51')]['isLocal'])return;let _0x333b5a,_0xe3146;switch(_0x3a077b['type']){case _0x1196('0x11e'):_0x333b5a=_0x56b329['model'][_0x1196('0x167')](_0x3a077b[_0x1196('0x9b')]),_0xe3146=_0x333b5a[_0x1196('0x2c')](_0x3a077b[_0x1196('0xc7')]);break;case _0x1196('0x88'):_0x333b5a=_0x56b329[_0x1196('0xac')]['createPositionAt'](_0x3a077b[_0x1196('0xb9')]),_0xe3146=_0x56b329[_0x1196('0xac')][_0x1196('0x167')](_0x3a077b[_0x1196('0x13c')]);break;case _0x1196('0x5c'):_0x333b5a=_0x56b329[_0x1196('0xac')][_0x1196('0x167')](_0x3a077b[_0x1196('0x42')]),_0xe3146=_0x333b5a[_0x1196('0x2c')](_0x3a077b[_0x1196('0xc7')]);break;default:return;}const _0x31dcf8=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x333b5a,_0xe3146);_0x56b329[_0x1196('0xac')][_0x1196('0x71')](()=>{for(const {suggestion:_0x24419c,meta:_0x527e3d}of this[_0x1196('0x76')](_0x31dcf8)){if(_0x24419c['isMultiRange'])continue;if(_0x1196('0x178')==_0x24419c[_0x1196('0x17c')])continue;const _0x507d7f=Pt(_0x24419c);if(_0x507d7f&&this[_0x1196('0xe0')](_0x507d7f)&&_0x1196('0x88')!=_0x3a077b['type'])continue;const _0x556d72=_0x24419c['data']&&_0x24419c[_0x1196('0x61')][_0x1196('0x7e')];(_0x1196('0x96')!=_0x24419c[_0x1196('0x17c')]||_0x1196('0x88')==_0x3a077b[_0x1196('0x17c')]&&!_0x556d72)&&(_0x527e3d[_0x1196('0xfe')]||_0x1196('0x115')==_0x24419c['type']&&_0x527e3d['isOwn']||_0x24419c['getFirstRange']()[_0x1196('0xd9')](_0x31dcf8)&&this[_0x1196('0x16f')](_0x24419c,_0x333b5a,_0xe3146));}});},{'priority':_0x1196('0x166')}),_0x56b329[_0x1196('0xac')]['on']('deleteContent',(_0x15a7eb,_0xd43e4a)=>{const _0x10f4a8=_0xd43e4a[0x0],_0xc9e37b=_0xd43e4a[0x1];if(_0xc9e37b&&_0xc9e37b[_0x1196('0xb4')])return;if(this[_0x1196('0x29')])return;if(!this[_0x1196('0x159')][_0x1196('0xbc')])return;if(_0x10f4a8[_0x1196('0x1d')])return;const _0x429388=_0x56b329[_0x1196('0xac')]['schema'],{start:_0x52b68c,end:_0x2ce519}=_0x10f4a8[_0x1196('0x8')](),_0x32cfd8=_0x52b68c['nodeAfter']&&_0x429388['isLimit'](_0x52b68c[_0x1196('0xa4')])?null:_0x429388[_0x1196('0x31')](_0x52b68c,'forward'),_0xb55e17=_0x2ce519[_0x1196('0x39')]&&_0x429388[_0x1196('0xd6')](_0x2ce519[_0x1196('0x39')])?null:_0x429388['getNearestSelectionRange'](_0x2ce519,'backward'),_0x102bbc=_0x56b329[_0x1196('0xac')]['createRange'](_0x32cfd8?_0x32cfd8['start']:_0x52b68c,_0xb55e17?_0xb55e17[_0x1196('0x145')]:_0x2ce519);_0x56b329[_0x1196('0xac')]['change'](_0x277b55=>{this[_0x1196('0x155')](_0x102bbc);const _0x741f35=_0x56b329[_0x1196('0xac')][_0x1196('0x93')][_0x1196('0x31')](_0x102bbc['start']);_0x10f4a8['is'](_0x1196('0x74'))?_0x277b55['setSelection'](_0x741f35):_0x10f4a8[_0x1196('0x62')](_0x741f35);}),_0x15a7eb['stop']();},{'priority':_0x3da3c6[_0x1196('0x2e')]+0xa}),_0x56b329[_0x1196('0xac')]['on'](_0x1196('0xd7'),(_0x515085,_0x57b5ef)=>{const _0x2aed0e=_0x57b5ef[_0x57b5ef[_0x1196('0x123')]-0x1];_0x2aed0e&&_0x2aed0e[_0x1196('0xb4')]||this[_0x1196('0x29')]||this[_0x1196('0x159')][_0x1196('0xbc')]&&(_0x56b329['model'][_0x1196('0x71')](()=>{let _0x225c9b=_0x56b329[_0x1196('0xac')][_0x1196('0xd7')](_0x57b5ef[0x0],_0x57b5ef[0x1],_0x57b5ef[0x2],{'forceDefaultExecution':!0x0});if(!_0x225c9b)return;_0x515085[_0x1196('0x14a')]=_0x225c9b[_0x1196('0xf9')]();const _0x417399=_0x225c9b[_0x1196('0x145')]['nodeBefore'],_0x1a7ff7=_0x56b329[_0x1196('0xac')][_0x1196('0x93')];_0x417399&&_0x1a7ff7[_0x1196('0x68')](_0x417399)&&!_0x1a7ff7[_0x1196('0x22')](_0x417399)&&(_0x225c9b=_0x56b329[_0x1196('0xac')][_0x1196('0xe4')](_0x225c9b[_0x1196('0x55')],_0x56b329['model'][_0x1196('0x167')](_0x417399,'end'))),this[_0x1196('0x34')](_0x225c9b);}),_0x515085[_0x1196('0xb2')]());},{'priority':_0x1196('0xa9')}),this[_0x1196('0x3')][_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0x7b'),this[_0x1196('0x159')]),this[_0x1196('0xea')]('trackChanges');const _0x3badf6=new _0x1c93ba(_0x56b329,this[_0x1196('0x161')]);_0x56b329[_0x1196('0xd4')]['add']('acceptSuggestion',_0x3badf6),this['enableCommand']('acceptSuggestion');const _0x3c8dcf=new _0x44643a(_0x56b329,this[_0x1196('0x161')]);_0x56b329[_0x1196('0xd4')]['add'](_0x1196('0x174'),_0x3c8dcf),this['enableCommand'](_0x1196('0x174')),_0x56b329['commands'][_0x1196('0x7c')](_0x1196('0x2f'),new _0x5968fc(_0x56b329,_0x3badf6,this[_0x1196('0x161')])),this['enableCommand'](_0x1196('0x2f')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0xff'),new _0x5968fc(_0x56b329,_0x3c8dcf,this[_0x1196('0x161')])),this['enableCommand'](_0x1196('0xff')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0x17b'),new _0x1d0abf(_0x56b329,_0x3badf6,this[_0x1196('0x161')])),this[_0x1196('0xea')](_0x1196('0x17b')),_0x56b329[_0x1196('0xd4')][_0x1196('0x7c')](_0x1196('0xcf'),new _0x1d0abf(_0x56b329,_0x3c8dcf,this[_0x1196('0x161')])),this[_0x1196('0xea')]('discardSelectedSuggestions');const _0x5c687e=_0x56b329['plugins'][_0x1196('0xa8')](_0x1196('0x12c'));this[_0x1196('0x48')](_0x5c687e,_0x1196('0x9e'),(_0x590529,{threadId:_0x299f90})=>{const _0x57f38f=this[_0x1196('0x161')][_0x1196('0xa8')](_0x299f90);_0x57f38f&&_0x57f38f[_0x1196('0x104')]&&0x1===_0x57f38f[_0x1196('0x104')][_0x1196('0x123')]&&this[_0x1196('0x70')](_0x299f90,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x5c687e,_0x1196('0x101'),(_0x105f9f,{threadId:_0x3200fc})=>{const _0x3ec6c1=this[_0x1196('0x161')][_0x1196('0xa8')](_0x3200fc);_0x3ec6c1&&_0x3ec6c1[_0x1196('0x104')]&&!_0x3ec6c1['commentThread'][_0x1196('0x123')]&&this['_updateSuggestionData'](_0x3200fc,{'hasComments':!0x1});},{'priority':_0x1196('0x95')});}set['adapter'](_0x4dfdef){if(this[_0x1196('0x14')])throw new _0x37a2ae(_0x1196('0xb6'),this);this[_0x1196('0x14')]=_0x4dfdef;}get[_0x1196('0x150')](){return this[_0x1196('0x14')];}[_0x1196('0x1')]({skipNotAttached:_0x1888ab=!0x1,toJSON:_0x526d88=!0x1}={}){const _0x128dfb=[];for(const _0x434927 of this[_0x1196('0x161')]['values']())_0x1888ab&&!_0x434927['isInContent']||_0x128dfb[_0x1196('0xfb')](_0x434927);return _0x526d88?_0x128dfb[_0x1196('0x14b')](_0x21de37=>_0x21de37[_0x1196('0x9f')]()):_0x128dfb;}[_0x1196('0x162')](_0x6c257b){const _0x3d5f7d=this[_0x1196('0x161')][_0x1196('0xa8')](_0x6c257b);if(!_0x3d5f7d)throw new _0x37a2ae('track-changes-suggestion-not-found',this);return _0x3d5f7d;}[_0x1196('0xf2')](_0x4773e2){return this['_suggestions'][_0x1196('0x138')](_0x4773e2);}['addSuggestionData'](_0x1269aa){const {authorId:_0x4de512,id:_0x1c8852,attributes:_0x260d54}=_0x1269aa,[_0x4e6b0c,_0x201b66]=_0x1269aa[_0x1196('0x17c')][_0x1196('0x88')](':'),_0xfb84e0=this['_suggestions'][_0x1196('0xa8')](_0x1c8852)||this[_0x1196('0x16')](_0x4e6b0c,_0x201b66,_0x1c8852,_0x4de512,_0x260d54);if(this[_0x1196('0x57')](_0xfb84e0),this[_0x1196('0x2a')](_0xfb84e0,_0x4e6b0c,_0x201b66||null,_0x4de512),_0xfb84e0[_0x1196('0xc4')]=_0x1269aa[_0x1196('0xc4')],_0xfb84e0[_0x1196('0x49')]=!0x0,_0x260d54&&_0x260d54[_0x1196('0xf4')]){const _0x3a75b8=_0x260d54[_0x1196('0xf4')],_0x1d9c83=this[_0x1196('0x6a')](_0x3a75b8[_0x1196('0xdf')]);_0xfb84e0[_0x1196('0x5e')]=_0x3a75b8[_0x1196('0xc4')],_0xfb84e0['author']=_0x1d9c83,_0xfb84e0[_0x1196('0x41')]=!0x0;}else _0xfb84e0[_0x1196('0x5e')]=_0x1269aa[_0x1196('0xc4')];switch(_0x1269aa[_0x1196('0x61')]&&(_0xfb84e0[_0x1196('0x61')]=_0x1269aa[_0x1196('0x61')]),_0x1269aa[_0x1196('0x79')]&&(_0xfb84e0['attributes']=_0x1269aa[_0x1196('0x79')]),this[_0x1196('0x14')]&&this[_0x1196('0x14')][_0x1196('0xa3')]||(_0xfb84e0['_saved']=!0x0),this[_0x1196('0x81')][_0x1196('0xa8')](_0xfb84e0)){case'notReady':this[_0x1196('0x81')][_0x1196('0x128')](_0xfb84e0,_0x1196('0xde'));break;case _0x1196('0x1e'):_0xfb84e0[_0x1196('0x16a')]?(this[_0x1196('0x11b')](new Set([_0xfb84e0])),this[_0x1196('0x17e')](new Set([_0xfb84e0])),this[_0x1196('0x81')]['set'](_0xfb84e0,_0x1196('0xef')),this[_0x1196('0x13')](_0x1196('0x99'),_0xfb84e0)):this[_0x1196('0x81')][_0x1196('0x128')](_0xfb84e0,'removed');}return _0xfb84e0;}[_0x1196('0xab')](_0x2f9957){this[_0x1196('0xb4')](()=>{this[_0x1196('0x3')]['model']['change'](()=>{for(const _0x106548 of _0x2f9957['getAllAdjacentSuggestions']())_0x106548[_0x1196('0x175')]();});});}[_0x1196('0x174')](_0x1975ea){this[_0x1196('0xb4')](()=>{this[_0x1196('0x3')]['model']['change'](()=>{for(const _0x1319cd of _0x1975ea[_0x1196('0x84')]())_0x1319cd['discard']();});});}['enableCommand'](_0x103cad,_0x5c61ee){const _0x4da5a4=this[_0x1196('0x3')][_0x1196('0xd4')][_0x1196('0xa8')](_0x103cad);if(!_0x4da5a4)throw new _0x37a2ae(_0x1196('0x86'),this,{'commandName':_0x103cad});if(this['_enabledCommands']['has'](_0x4da5a4))throw new _0x37a2ae(_0x1196('0x148'),this,{'commandName':_0x103cad});this['_enabledCommands']['add'](_0x4da5a4),_0x5c61ee&&_0x4da5a4['on'](_0x1196('0x78'),(_0x2ed599,_0x39436f)=>{this[_0x1196('0x159')][_0x1196('0xbc')]&&(this[_0x1196('0x29')]||(_0x39436f[_0x1196('0x123')]>0x0&&_0x39436f[_0x39436f[_0x1196('0x123')]-0x1]&&_0x39436f[_0x39436f['length']-0x1][_0x1196('0xb4')]?_0x39436f[_0x1196('0x105')]():(_0x2ed599[_0x1196('0x14a')]=_0x5c61ee((..._0x3b6ff5)=>_0x4da5a4[_0x1196('0x78')](..._0x3b6ff5,{'forceDefaultExecution':!0x0}),..._0x39436f),_0x2ed599[_0x1196('0xb2')]())));},{'priority':_0x1196('0xa9')});}[_0x1196('0xb4')](_0x471942){let _0x5baabd,_0x5f2dbc;const _0x1a0485=this['_isForcedDefaultExecutionBlock'];this[_0x1196('0x29')]=!0x0;try{_0x5baabd=_0x471942();}catch(_0x50c9c6){_0x5f2dbc=_0x50c9c6;}return _0x1a0485||(this[_0x1196('0x29')]=!0x1),_0x5f2dbc&&_0x37a2ae[_0x1196('0xbe')](_0x5f2dbc,this),_0x5baabd;}[_0x1196('0x34')](_0x1e45d,_0x655ff0=null,_0x513b4d={}){if(_0x1e45d['isCollapsed'])return null;const _0x119e1b=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')](_0x1196('0x90'))['me'];for(const {suggestion:_0x30454a,meta:_0x487aa7}of this[_0x1196('0x76')](_0x1e45d,_0x1196('0x115')))if(_0x487aa7[_0x1196('0xe6')]){if(!_0x487aa7[_0x1196('0x117')]){if(_0x487aa7['containsRangeInObject']){if(!this[_0x1196('0x3b')]||!Gt(_0x30454a,_0x513b4d))continue;return _0x30454a;}if(Gt(_0x30454a,_0x513b4d))return _0x30454a;this[_0x1196('0x16f')](_0x30454a,_0x1e45d[_0x1196('0x55')],_0x1e45d[_0x1196('0x145')]);break;}if(_0x655ff0==_0x30454a[_0x1196('0xdb')]&&Gt(_0x30454a,_0x513b4d)){const _0x3a1869=_0x30454a[_0x1196('0x8')]();return _0x3a1869[_0x1196('0x55')][_0x1196('0x139')](_0x1e45d[_0x1196('0x145')])?this[_0x1196('0x65')](_0x30454a,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x1e45d['start'],_0x3a1869[_0x1196('0x145')])):this[_0x1196('0x65')](_0x30454a,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x3a1869[_0x1196('0x55')],_0x1e45d[_0x1196('0x145')])),_0x30454a;}}const _0x3a8ef5=_0x1449d0(),_0x3ede01=_0x119e1b['id'],_0x1ca432=_0x655ff0?_0x1196('0x97')+_0x655ff0:_0x1196('0x115'),_0x4e3472=this[_0x1196('0xa5')]({'id':_0x3a8ef5,'type':_0x1ca432,'createdAt':new Date(),'authorId':_0x3ede01,'attributes':_0x513b4d});return this[_0x1196('0x11d')](_0x1ca432,_0x3a8ef5,_0x3ede01,_0x1e45d),_0x4e3472;}[_0x1196('0xd3')](_0x53dd7c,_0x12df69=_0x1196('0x6b'),_0x1732b7={}){const _0x1e1b1b=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x5b8163=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x115'),_0x12df69,_0x1196('0xc8'));for(const _0x91c250 of this[_0x1196('0x1')]())if(_0x91c250[_0x1196('0x106')]['id']==_0x1e1b1b['id']&&_0x1196('0x115')==_0x91c250[_0x1196('0x17c')]&&_0x91c250['subType']==_0x12df69&&Gt(_0x91c250,_0x1732b7)&&(_0x5b8163(_0x91c250['getRanges'](),_0x53dd7c)||_0x5b8163(_0x53dd7c,_0x91c250[_0x1196('0x8f')]()))){for(const _0x42b391 of _0x53dd7c)_0x91c250[_0x1196('0xc0')](_0x42b391);return _0x91c250;}for(const {suggestion:_0x1c5c4f,meta:_0x550bd8}of this['_findSuggestions'](_0x53dd7c,_0x1196('0x115'))){if(!_0x550bd8[_0x1196('0xe6')])continue;if(!this[_0x1196('0x3b')]&&_0x550bd8[_0x1196('0xfe')])continue;if(!Gt(_0x1c5c4f,_0x1732b7))continue;let _0x58c3fb=!0x0;for(const _0x71a182 of _0x1c5c4f['getRanges']())for(const _0x5ad959 of _0x53dd7c)if(!_0x71a182[_0x1196('0xd9')](_0x5ad959)){_0x58c3fb=!0x1;break;}if(_0x58c3fb)return _0x1c5c4f;}const _0x17edde=_0x1449d0(),_0x4f2634=_0x1e1b1b['id'],_0x455285=_0x1196('0x97')+_0x12df69,_0xad99ed=this['_setSuggestionData']({'id':_0x17edde,'type':_0x455285,'createdAt':new Date(),'authorId':_0x4f2634,'attributes':_0x1732b7});for(const _0x134e00 of _0x53dd7c)this[_0x1196('0x11d')](_0x455285,_0x17edde,_0x4f2634,_0x134e00,_0x32d5d1[_0x1196('0x5f')]());return _0xad99ed;}[_0x1196('0x77')](_0x41f430,_0x4740df,_0x472e59=null,_0x393b49={}){if(_0x472e59=_0x472e59||Rt(_0x4740df),_0x41f430[_0x1196('0x1d')])return null;if(_0x1196('0x16e')===this[_0x1196('0x107')]){const _0x3af03b=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x178'),_0x472e59,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x3af03b([_0x41f430],_0x4740df,_0x393b49)),null;}const _0x156ea4=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x4158c8=[];if(_0x1196('0x8a')!==this[_0x1196('0x107')])for(const {suggestion:_0x281c28,meta:_0x1409a0}of this['_findSuggestions'](_0x41f430,_0x1196('0x115')))_0x1409a0[_0x1196('0xe6')]&&!_0x1409a0['isInsideObject']&&_0x4158c8[_0x1196('0xfb')](..._0x281c28[_0x1196('0x8f')]());const _0x4665ca=function(_0x3d2cc0,_0x3b9141){const _0x98a4e8=[];for(const _0x28bec8 of _0x3b9141){const _0x47c28c=_0x3d2cc0['getIntersection'](_0x28bec8);_0x47c28c&&_0x98a4e8['push'](_0x47c28c);}return _0x98a4e8;}(_0x41f430,_0x4158c8),_0x3bc696=function(_0x453983,_0x4ef2e2){const _0xb919dd=[_0x453983];for(const _0x9a9740 of _0x4ef2e2){let _0x47b3b3=0x0;for(;_0x47b3b3<_0xb919dd[_0x1196('0x123')];){const _0xe9f289=_0xb919dd[_0x47b3b3]['getDifference'](_0x9a9740);_0xb919dd[_0x1196('0x60')](_0x47b3b3,0x1,..._0xe9f289),_0x47b3b3+=_0xe9f289[_0x1196('0x123')];}}return _0xb919dd;}(_0x41f430,_0x4158c8);_0x4665ca[_0x1196('0x123')]&&this[_0x1196('0x14c')][_0x1196('0x71')](()=>{for(const _0x4b076c of _0x4665ca){const _0x2bc0fc=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x178'),_0x472e59,'accept');this[_0x1196('0xb4')](()=>_0x2bc0fc([_0x4b076c],_0x4740df,_0x393b49));}});for(const _0x5d5e96 of _0x3bc696){let _0x27836e=null,_0x5ef867=_0x5d5e96[_0x1196('0x55')],_0x192bc7=_0x5d5e96[_0x1196('0x145')];for(const {suggestion:_0xead023,meta:_0x2e3793}of this[_0x1196('0x76')](_0x5d5e96,'formatInline')){if(!_0x2e3793[_0x1196('0xe6')])continue;if(_0xead023[_0x1196('0xdb')]!=_0x472e59)continue;if(!Gt(_0xead023,_0x393b49))continue;const _0x28cc4d=_0xead023['getFirstRange']();if(_0x28cc4d[_0x1196('0xd9')](_0x5d5e96,!0x0))return null;_0x5ef867=_0x5ef867[_0x1196('0xb8')](_0x28cc4d[_0x1196('0x55')])?_0x5ef867:_0x28cc4d[_0x1196('0x55')],_0x192bc7=_0x192bc7['isAfter'](_0x28cc4d[_0x1196('0x145')])?_0x192bc7:_0x28cc4d[_0x1196('0x145')],_0x27836e?_0x28cc4d[_0x1196('0x55')][_0x1196('0xb8')](_0x27836e['getFirstRange']()['start'])?(_0x27836e[_0x1196('0x8b')](),_0x27836e=_0xead023):_0xead023['removeMarkers']():_0x27836e=_0xead023;}const _0x3c92bb=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x5ef867,_0x192bc7);if(_0x27836e)this[_0x1196('0x65')](_0x27836e,_0x3c92bb);else{const _0x5b8e87=_0x1449d0(),_0xab5ae0=_0x156ea4['id'];this[_0x1196('0xa5')]({'id':_0x5b8e87,'type':_0x1196('0x15b')+_0x472e59,'data':_0x4740df,'createdAt':new Date(),'authorId':_0xab5ae0,'attributes':_0x393b49}),this[_0x1196('0x11d')](_0x1196('0x15b')+_0x472e59,_0x5b8e87,_0xab5ae0,_0x3c92bb);}}return null;}[_0x1196('0xd0')](_0x42b0fd,_0x1b9f81,_0x29afcf=[],_0x314e60=null,_0x5f99e1={}){_0x1b9f81['formatGroupId']||(_0x1b9f81[_0x1196('0x15')]=_0x1b9f81['commandName']),_0x1b9f81['multipleBlocks']=_0x42b0fd['is'](_0x1196('0x20')),_0x314e60=_0x314e60||Rt(_0x1b9f81);const _0x5a90db=_0x29afcf[_0x1196('0x14b')](_0x191eb0=>Ut(_0x191eb0,this['_model'])),_0x43f8dd=_0x42b0fd['is'](_0x1196('0x20'))?_0x42b0fd:Ut(_0x42b0fd,this['_model']);if(_0x1196('0x16e')===this['_trackFormatChanges']){const _0x44e01c=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x96'),_0x314e60,_0x1196('0x175'));return this['forceDefaultExecution'](()=>_0x44e01c([_0x43f8dd],_0x1b9f81,_0x5f99e1)),null;}_0x5a90db[_0x1196('0xfb')](_0x43f8dd);let _0x1b431e=!0x0;for(const _0x1d86cd of _0x5a90db)if(!this[_0x1196('0xfc')](_0x1d86cd)){_0x1b431e=!0x1;break;}if(_0x1b431e&&_0x1196('0x8a')!==this[_0x1196('0x107')]){const _0x67a267=this['_suggestionFactory'][_0x1196('0x113')](_0x1196('0x96'),_0x314e60,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x67a267([_0x43f8dd],_0x1b9f81,_0x5f99e1)),null;}let _0x46e921=null,_0x4d01f7=_0x43f8dd['start'],_0xd3d2cb=_0x43f8dd[_0x1196('0x145')];for(const {suggestion:_0x35600a,meta:_0x22a148}of this[_0x1196('0x76')](_0x43f8dd,_0x1196('0x96'))){if(!_0x22a148[_0x1196('0xe6')])continue;if(_0x22a148[_0x1196('0x117')]||_0x22a148[_0x1196('0xfe')]||_0x22a148['isInsideObject'])continue;if(_0x35600a['data'][_0x1196('0x15')]!=_0x1b9f81['formatGroupId'])continue;if(!Gt(_0x35600a,_0x5f99e1))continue;const _0x5ebfb7=_0x35600a[_0x1196('0x8')]();if(_0x35600a[_0x1196('0xdb')]==_0x314e60){if(_0x5ebfb7[_0x1196('0xd9')](_0x43f8dd,!0x0))return null;_0x4d01f7=_0x4d01f7[_0x1196('0xb8')](_0x5ebfb7['start'])?_0x4d01f7:_0x5ebfb7[_0x1196('0x55')],_0xd3d2cb=_0xd3d2cb[_0x1196('0x92')](_0x5ebfb7['end'])?_0xd3d2cb:_0x5ebfb7[_0x1196('0x145')],_0x46e921?_0x5ebfb7[_0x1196('0x55')][_0x1196('0xb8')](_0x46e921[_0x1196('0x8')]()['start'])?(_0x46e921[_0x1196('0x8b')](),_0x46e921=_0x35600a):_0x35600a[_0x1196('0x8b')]():_0x46e921=_0x35600a;}else{const _0x37bba8=_0x43f8dd[_0x1196('0xf6')](_0x5ebfb7);this['_cutOutSuggestionMarker'](_0x35600a,_0x37bba8);}}const _0x4d4168=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x3d1132=_0x1449d0(),_0x4b8a89=_0x4d4168['id'];if(_0x46e921)return this[_0x1196('0x65')](_0x46e921,this[_0x1196('0x14c')]['createRange'](_0x4d01f7,_0xd3d2cb)),_0x46e921;{const _0x56d92a=this[_0x1196('0xa5')]({'id':_0x3d1132,'type':_0x1196('0x59')+_0x314e60,'data':_0x1b9f81,'createdAt':new Date(),'authorId':_0x4b8a89,'attributes':_0x5f99e1});return this[_0x1196('0x11d')](_0x1196('0x59')+_0x314e60,_0x3d1132,_0x4b8a89,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x4d01f7,_0xd3d2cb)),_0x56d92a;}}[_0x1196('0xe')](_0x475a39,_0x30fc50,_0x55867e=[],_0x2d63d0=null,_0x5449bb={}){_0x30fc50[_0x1196('0x15')]||(_0x30fc50['formatGroupId']=_0x30fc50[_0x1196('0x109')]);const _0x4b9aa2=_0x475a39[0x0];_0x30fc50[_0x1196('0x7e')]=_0x4b9aa2['is']('range'),_0x2d63d0=_0x2d63d0||Rt(_0x30fc50);const _0x32ae15=_0x55867e[_0x1196('0x14b')](_0x3ee49c=>Ut(_0x3ee49c,this[_0x1196('0x14c')])),_0x30ed59=_0x4b9aa2['is'](_0x1196('0x20'))?_0x475a39:_0x475a39[_0x1196('0x14b')](_0x203c66=>Ut(_0x203c66,this[_0x1196('0x14c')]));if('never'===this[_0x1196('0x107')]){const _0x1171f2=this[_0x1196('0x47')]['getSuggestionCallback'](_0x1196('0x96'),_0x2d63d0,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x1171f2(_0x30ed59,_0x30fc50,_0x5449bb)),null;}_0x32ae15[_0x1196('0xfb')](..._0x30ed59);let _0x177fc5=!0x0;for(const _0x40fcd0 of _0x32ae15)if(!this['_rangeIsInLocalUserInsertion'](_0x40fcd0)){_0x177fc5=!0x1;break;}if(_0x177fc5&&_0x1196('0x8a')!==this[_0x1196('0x107')]){const _0x3bb4fc=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x96'),_0x2d63d0,'accept');return this['forceDefaultExecution'](()=>_0x3bb4fc(_0x30ed59,_0x30fc50,_0x5449bb)),null;}const _0x361a14=this['editor'][_0x1196('0x35')]['get'](_0x1196('0x90'))['me'];for(const _0x3784a4 of this[_0x1196('0x1')]()){if(_0x3784a4[_0x1196('0x106')]['id']!=_0x361a14['id'])continue;if('formatBlock'!=_0x3784a4[_0x1196('0x17c')]||_0x3784a4[_0x1196('0x61')]['formatGroupId']!=_0x30fc50[_0x1196('0x15')])continue;if(!Gt(_0x3784a4,_0x5449bb))continue;const _0x1b9519=_0x3784a4[_0x1196('0xdb')]==_0x2d63d0;for(let _0x35c2e7=0x0;_0x35c2e7<_0x30ed59[_0x1196('0x123')];_0x35c2e7++){const _0x4c70b7=_0x30ed59[_0x35c2e7];for(const _0x3ae401 of _0x3784a4['getMarkers']()){const _0x5ddf73=_0x3ae401[_0x1196('0xaa')]();if(_0x4c70b7[_0x1196('0x139')](_0x5ddf73)){_0x1b9519?(_0x30ed59['splice'](_0x35c2e7,0x1),_0x35c2e7--):_0x3784a4[_0x1196('0xe8')](_0x3ae401[_0x1196('0x1b')]);break;}}}}if(0x0==_0x30ed59[_0x1196('0x123')])return null;const _0x5e593d=this['_suggestionFactory'][_0x1196('0x113')]('formatBlock',_0x2d63d0,_0x1196('0xc8'));for(const _0x164d9b of this[_0x1196('0x1')]())if(_0x164d9b[_0x1196('0x106')]['id']==_0x361a14['id']&&'formatBlock'==_0x164d9b[_0x1196('0x17c')]&&_0x164d9b[_0x1196('0x61')][_0x1196('0x15')]==_0x30fc50[_0x1196('0x15')]&&_0x164d9b[_0x1196('0xdb')]==_0x2d63d0&&Gt(_0x164d9b,_0x5449bb)&&(_0x5e593d(_0x164d9b['getRanges'](),_0x30ed59)||_0x5e593d(_0x30ed59,_0x164d9b[_0x1196('0x8f')]()))){for(const _0x4bb94c of _0x30ed59)_0x164d9b[_0x1196('0xc0')](_0x4bb94c);return _0x164d9b;}const _0xfdc263=_0x1449d0(),_0x5c175e=_0x361a14['id'],_0x289e01=_0x1196('0x59')+_0x2d63d0,_0x2b3da5=this[_0x1196('0xa5')]({'id':_0xfdc263,'type':_0x289e01,'data':_0x30fc50,'createdAt':new Date(),'authorId':_0x5c175e,'attributes':_0x5449bb});for(const _0x4ea075 of _0x30ed59)this[_0x1196('0x11d')](_0x289e01,_0xfdc263,_0x5c175e,_0x4ea075,_0x32d5d1[_0x1196('0x5f')]());return _0x2b3da5;}[_0x1196('0x155')](_0x38f5fa,_0x5de77d=null,_0x4fd08e={}){if(_0x38f5fa['isCollapsed'])return null;const _0x3b9947=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x552968=new _0x284da0(_0x38f5fa[_0x1196('0x55')],_0x38f5fa[_0x1196('0x145')]);for(const {suggestion:_0x40d73a,meta:_0x354853}of this['_findSuggestions'](_0x552968,'insertion'))if(_0x354853[_0x1196('0xe6')]&&!_0x354853[_0x1196('0x117')]){if(_0x40d73a[_0x1196('0x5b')]){const _0x2700c0=_0x40d73a[_0x1196('0x8f')]()[_0x1196('0x168')](_0xf5e506=>_0x1196('0x116')!=_0xf5e506[_0x1196('0x137')][_0x1196('0xf5')]);_0x2700c0[_0x1196('0x10a')](_0x5983c1=>_0x552968[_0x1196('0xd9')](_0x5983c1,!0x0))&&_0x40d73a['discard']();if(_0x2700c0['some'](_0xc91fa5=>_0xc91fa5[_0x1196('0xd9')](_0x552968,!0x0))){const _0x389faf=this[_0x1196('0x47')][_0x1196('0x113')](_0x1196('0x58'),_0x5de77d,'accept');return this[_0x1196('0xb4')](()=>_0x389faf([_0x552968],null,_0x4fd08e)),null;}}else{const _0x298f7f=_0x552968[_0x1196('0xf6')](_0x40d73a[_0x1196('0x8')]());null!==_0x298f7f&&_0x40d73a[_0x1196('0x111')]([_0x298f7f],null,_0x4fd08e);}}if(_0x552968[_0x1196('0x80')](),_0x552968[_0x1196('0x1d')]||_0x1196('0x116')==_0x552968[_0x1196('0x137')][_0x1196('0xf5')])return null;let _0x31ef12=null,_0x3d2c3e=_0x552968[_0x1196('0x55')],_0x56a2f8=_0x552968[_0x1196('0x145')];const _0x54c0ee=this[_0x1196('0x76')](_0x552968,_0x1196('0x58'));for(const {suggestion:_0x4d628f,meta:_0x297c47}of _0x54c0ee){const _0x20e074=this[_0x1196('0x14c')]['createRange'](_0x3d2c3e,_0x56a2f8);if(_0x297c47[_0x1196('0xe6')]&&(this['_mergeNestedSuggestions']||!_0x297c47[_0x1196('0xfe')]&&!_0x297c47[_0x1196('0xa0')])){if(_0x4d628f[_0x1196('0x5b')]){if(!Gt(_0x4d628f,_0x4fd08e))continue;let _0xcdddaa=!0x0;for(const _0x449227 of _0x4d628f[_0x1196('0x8f')]()){if(_0x449227['containsRange'](_0x20e074,!0x0))return _0x4d628f;_0x20e074['containsRange'](_0x449227)||(_0xcdddaa=!0x1);}_0xcdddaa&&_0x4d628f[_0x1196('0xae')]();}else{const _0x303ab6=_0x4d628f[_0x1196('0x8')]();if(_0x303ab6['containsRange'](_0x20e074,!0x0))return _0x4d628f;if(!Gt(_0x4d628f,_0x4fd08e)){_0x20e074[_0x1196('0xd9')](_0x303ab6)?_0x4d628f[_0x1196('0x8b')]():_0x303ab6[_0x1196('0x50')](_0x3d2c3e)?_0x3d2c3e=_0x303ab6['end']:_0x303ab6[_0x1196('0x50')](_0x56a2f8)&&(_0x56a2f8=_0x303ab6[_0x1196('0x55')]);continue;}_0x3d2c3e=_0x3d2c3e[_0x1196('0xb8')](_0x303ab6[_0x1196('0x55')])?_0x3d2c3e:_0x303ab6[_0x1196('0x55')],_0x56a2f8=_0x56a2f8[_0x1196('0x92')](_0x303ab6[_0x1196('0x145')])?_0x56a2f8:_0x303ab6[_0x1196('0x145')],_0x4fd08e=Object['assign']({},_0x4d628f[_0x1196('0x79')]),_0x31ef12?_0x303ab6['start'][_0x1196('0xb8')](_0x31ef12[_0x1196('0x8')]()[_0x1196('0x55')])?(_0x31ef12[_0x1196('0x8b')](),_0x31ef12=_0x4d628f):_0x4d628f[_0x1196('0x8b')]():_0x31ef12=_0x4d628f;}}}if(_0x31ef12)return this[_0x1196('0x65')](_0x31ef12,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x3d2c3e,_0x56a2f8)),_0x31ef12;{const _0x34ee95=_0x1449d0(),_0xe569cf=this[_0x1196('0x14c')]['createRange'](_0x3d2c3e,_0x56a2f8),_0x40d551=_0x3b9947['id'],_0x43e2fa=_0x5de77d?_0x1196('0x75')+_0x5de77d:_0x1196('0x58'),_0x401ede=this['_setSuggestionData']({'id':_0x34ee95,'type':_0x43e2fa,'createdAt':new Date(),'authorId':_0x40d551,'attributes':_0x4fd08e});return this[_0x1196('0x11d')](_0x43e2fa,_0x34ee95,_0x40d551,_0xe569cf),_0x401ede;}}['markMultiRangeDeletion'](_0x11bc22,_0x398410=_0x1196('0x6b'),_0x2e6dc0={}){const _0x73de5e=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'],_0x224267=_0x11bc22['map'](_0x28c416=>new _0x284da0(_0x28c416['start'],_0x28c416[_0x1196('0x145')])),_0x760be6=new Set();for(const {suggestion:_0x1906fa,meta:_0x1ad5c6}of this[_0x1196('0x76')](_0x224267,_0x1196('0x115')))_0x1ad5c6[_0x1196('0xe6')]&&!_0x1ad5c6[_0x1196('0x117')]&&_0x760be6[_0x1196('0x7c')](_0x1906fa);for(const _0xe3b006 of _0x760be6)if(_0xe3b006[_0x1196('0x5b')]){const _0x5a3ba3=_0xe3b006[_0x1196('0x8f')]();(!_0xe3b006[_0x1196('0x79')]||!_0xe3b006[_0x1196('0x79')][_0x1196('0x13d')])&&(_0x5a3ba3[_0x1196('0x10a')](_0x3daf6b=>_0x224267[_0x1196('0x94')](_0x18db4f=>_0x18db4f[_0x1196('0xd9')](_0x3daf6b,!0x0)))&&_0xe3b006[_0x1196('0xae')]());if(_0x224267[_0x1196('0x10a')](_0x3364e8=>_0x5a3ba3['some'](_0x240a3a=>_0x240a3a[_0x1196('0xd9')](_0x3364e8,!0x0)))){const _0x186780=this[_0x1196('0x47')][_0x1196('0x113')]('deletion',_0x398410,_0x1196('0x175'));return this[_0x1196('0xb4')](()=>_0x186780(_0x11bc22,null,_0x2e6dc0)),null;}}else{const _0x34428d=_0xe3b006[_0x1196('0x8')]();_0x224267[_0x1196('0x94')](_0x5a9266=>_0x5a9266[_0x1196('0xd9')](_0x34428d,!0x0))&&_0xe3b006['discard']();if(_0x224267[_0x1196('0x10a')](_0x35d88e=>_0x34428d[_0x1196('0xd9')](_0x35d88e,!0x0))){const _0x4c3b7a=this[_0x1196('0x47')]['getSuggestionCallback'](_0x1196('0x58'),_0x398410,'accept');return this['forceDefaultExecution'](()=>_0x4c3b7a(_0x224267,null,_0x2e6dc0)),null;}}const _0x4950d5=this['_suggestionFactory'][_0x1196('0x113')]('deletion',_0x398410,_0x1196('0xc8'));let _0xc3e663=null;for(const _0x30a1d6 of this[_0x1196('0x1')]())if(_0x30a1d6[_0x1196('0x106')]['id']==_0x73de5e['id']&&_0x30a1d6[_0x1196('0x16a')]&&_0x1196('0x58')==_0x30a1d6[_0x1196('0x17c')]&&_0x30a1d6[_0x1196('0xdb')]==_0x398410&&Gt(_0x30a1d6,_0x2e6dc0)&&(_0x4950d5(_0x30a1d6[_0x1196('0x8f')](),_0x224267)||_0x4950d5(_0x224267,_0x30a1d6[_0x1196('0x8f')]()))){if(_0xc3e663){if(_0x30a1d6[_0x1196('0x104')]&&_0x30a1d6[_0x1196('0x104')][_0x1196('0x123')])continue;for(const _0x47c94f of _0x30a1d6[_0x1196('0x8f')]())_0xc3e663[_0x1196('0x10b')](_0x47c94f)||_0xc3e663['addRange'](_0x47c94f);_0x30a1d6[_0x1196('0x8b')]();}else{_0xc3e663=_0x30a1d6;for(const _0x45040d of _0x224267)_0x30a1d6[_0x1196('0x10b')](_0x45040d)||_0x30a1d6[_0x1196('0xc0')](_0x45040d);}}if(_0xc3e663)return _0xc3e663;_0x760be6[_0x1196('0x8c')]();for(const {suggestion:_0x52be36,meta:_0x5c3be4}of this[_0x1196('0x76')](_0x224267,_0x1196('0x58')))_0x5c3be4[_0x1196('0xe6')]&&(this[_0x1196('0x3b')]||!_0x5c3be4[_0x1196('0xfe')]&&!_0x5c3be4[_0x1196('0xa0')])&&Gt(_0x52be36,_0x2e6dc0)&&_0x760be6['add'](_0x52be36);for(const _0x315cac of _0x760be6){const _0x23d210=_0x315cac[_0x1196('0x8f')]();if(!_0x2e6dc0||!_0x2e6dc0[_0x1196('0x13d')]){if(_0x224267[_0x1196('0x10a')](_0x3a86b5=>_0x23d210['some'](_0x45eb28=>_0x45eb28[_0x1196('0xd9')](_0x3a86b5,!0x0))))return _0x315cac;}(!_0x315cac[_0x1196('0x79')]||!_0x315cac[_0x1196('0x79')][_0x1196('0x13d')])&&(_0x23d210[_0x1196('0x10a')](_0x39b7e8=>_0x224267[_0x1196('0x94')](_0x11ddd4=>_0x11ddd4[_0x1196('0xd9')](_0x39b7e8,!0x0)))&&_0x315cac[_0x1196('0xae')]());}const _0x3d6f16=_0x1449d0(),_0x1b641d=_0x73de5e['id'],_0x5979a2='deletion:'+_0x398410,_0x36c75a=this['_setSuggestionData']({'id':_0x3d6f16,'type':_0x5979a2,'createdAt':new Date(),'authorId':_0x1b641d,'attributes':_0x2e6dc0});for(const _0x15b90d of _0x224267)_0x15b90d['detach'](),_0x15b90d['isCollapsed']||_0x1196('0x116')==_0x15b90d[_0x1196('0x137')]['rootName']||this['_addSuggestionMarker'](_0x5979a2,_0x3d6f16,_0x1b641d,_0x15b90d,_0x32d5d1[_0x1196('0x5f')]());return _0x36c75a;}[_0x1196('0x169')](_0x3e8dfb,_0x1aa7a8,_0x1a7945,_0xa1435a,_0x3b012e){if(_0x3e8dfb[_0x1196('0x1d')])return[];if(_0x1196('0x16e')===this[_0x1196('0x107')])return[];const _0x42cfbe=this[_0x1196('0x3')]['plugins']['get'](_0x1196('0x90'))['me']['id'],_0x36644a=Array[_0x1196('0xcb')](this[_0x1196('0x161')][_0x1196('0xc')]())['filter'](_0x59e03d=>_0x1196('0x12e')==_0x59e03d[_0x1196('0x17c')]&&_0x59e03d[_0x1196('0x61')][_0x1196('0x15f')]==_0x1aa7a8&&_0x59e03d['isIntersectingWithRange'](_0x3e8dfb));if(_0x1196('0x18')===this[_0x1196('0x107')]){const _0x292f82=this[_0x1196('0x76')](_0x3e8dfb,_0x1196('0x115'))['filter'](({meta:_0x229024})=>_0x229024[_0x1196('0xe6')]&&!_0x229024[_0x1196('0xa0')]&&!_0x229024[_0x1196('0x117')])[_0x1196('0x14b')](({suggestion:_0x562c2b})=>_0x562c2b);_0x36644a[_0x1196('0x9d')](..._0x292f82);}const _0x434150=new Map([[_0x3e8dfb,_0x1a7945]]);for(const _0x53df7b of _0x36644a){const _0x33ab55=_0x1196('0x12e')==_0x53df7b[_0x1196('0x17c')]?_0x53df7b[_0x1196('0x61')][_0x1196('0xdd')]:void 0x0,_0x3fa958=_0x53df7b['getFirstRange'](),_0x3fbb37=Array['from'](_0x434150[_0x1196('0x16c')]())[_0x1196('0x11f')](_0x4a832e=>_0x4a832e[_0x1196('0x13e')](_0x3fa958));if(!_0x3fbb37)continue;const _0x3f51f9=_0x3fbb37['getDifference'](_0x3fa958);this['_isBlockAttribute'](_0x1aa7a8)&&_0x1196('0x115')==_0x53df7b[_0x1196('0x17c')]&&0x0!=_0x3f51f9['length']||(_0x434150[_0x1196('0x23')](_0x3fbb37),_0x3f51f9[_0x1196('0x142')](_0x307ba8=>{_0x434150[_0x1196('0x128')](_0x307ba8,_0x1a7945);}),_0x1196('0x115')!=_0x53df7b[_0x1196('0x17c')]&&_0x33ab55!=_0xa1435a&&_0x434150[_0x1196('0x128')](_0x3fbb37[_0x1196('0xf6')](_0x3fa958),_0x33ab55));}const _0x32d86a=[];for(const [_0x463190,_0x1e2ae4]of _0x434150){const _0x288c30=_0x1449d0(),_0x153574={'key':_0x1aa7a8,'oldValue':_0x1e2ae4,'newValue':_0xa1435a};_0x1aa7a8[_0x1196('0x123')]>0x25&&console[_0x1196('0x133')](_0x1196('0x125'),{'key':_0x1aa7a8});const _0xa1559=('attribute:'+(_0x1aa7a8+'|'+Rt({'newValue':_0xa1435a})))[_0x1196('0x63')](0x0,0x3c),_0x34d7d4=this[_0x1196('0xa5')]({'id':_0x288c30,'type':_0xa1559,'data':_0x153574,'createdAt':new Date(),'authorId':_0x42cfbe,'attributes':_0x3b012e});_0x32d86a[_0x1196('0xfb')](_0x34d7d4),this[_0x1196('0x11d')](_0xa1559,_0x288c30,_0x42cfbe,_0x463190);}return _0x32d86a;}[_0x1196('0x122')](_0x182239){this[_0x1196('0x176')][_0x1196('0x7c')](_0x182239);}['_registerInlineAttribute'](_0x1c5920){this['_inlineAttributeKeys'][_0x1196('0x7c')](_0x1c5920);}[_0x1196('0x15e')](_0x5980e1,_0xf000ec=[],_0x24b2e8=[]){this[_0x1196('0xea')](_0x5980e1,(_0x5ef72d,..._0xac8a19)=>{this[_0x1196('0x7')](()=>{_0x5ef72d(..._0xac8a19);});});for(const _0x2e8e97 of _0xf000ec)this[_0x1196('0xbf')](_0x2e8e97);for(const _0x19e388 of _0x24b2e8)this['_registerBlockAttribute'](_0x19e388);}[_0x1196('0x65')](_0x54c0bc,_0x385062){const _0x2f81bd=_0x54c0bc[_0x1196('0x67')]();this['_model'][_0x1196('0x71')](_0x217e3d=>{_0x217e3d[_0x1196('0x10e')](_0x2f81bd,{'range':_0x385062});});}[_0x1196('0x57')](_0x441686){const _0x39871f=_0x441686['id'],_0x48b1a1=this[_0x1196('0x3')][_0x1196('0x45')]['get'](_0x1196('0x102'));this['_commentsRepository']['hasCommentThread'](_0x39871f)||this[_0x1196('0x2')][_0x1196('0x8e')]({'channelId':_0x48b1a1,'threadId':_0x39871f,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1961b9=this[_0x1196('0x2')][_0x1196('0x15d')](_0x39871f);_0x1961b9[_0x1196('0xa6')](_0x1196('0x52')),_0x1961b9['isRemovable']=!0x1,_0x441686[_0x1196('0x104')]=_0x1961b9;}['_checkSuggestionCorrectness'](_0x5a5b94,_0x18ecd1,_0x228af1,_0x18be1c){if(_0x5a5b94['type']!=_0x18ecd1||_0x5a5b94[_0x1196('0xdb')]!=_0x228af1||_0x5a5b94[_0x1196('0x173')]['id']!=_0x18be1c)throw this[_0x1196('0x3')][_0x1196('0x12')]('track-changes-suggestion-data-mismatch'),new _0x37a2ae(_0x1196('0x134'),this);}[_0x1196('0x3e')](_0x199aa1,_0xaa30e7){const _0x116328=_0x199aa1['getFirstRange']();if(_0xaa30e7[_0x1196('0x139')](_0x116328))_0x199aa1['removeMarkers']();else{if(_0x116328['containsRange'](_0xaa30e7)){const _0x47f06e=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7[_0x1196('0x55')][_0x1196('0x39')],_0x1196('0x145'));this[_0x1196('0x65')](_0x199aa1,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x116328[_0x1196('0x55')],_0x47f06e));const _0x58bb18=_0x1449d0(),_0x1bbb4c=_0x199aa1[_0x1196('0x173')]['id'],_0x10877d=_0x199aa1[_0x1196('0x17c')]+':'+_0x199aa1[_0x1196('0xdb')];this[_0x1196('0xa5')]({'id':_0x58bb18,'type':_0x10877d,'createdAt':new Date(),'authorId':_0x1bbb4c,'data':_0x199aa1[_0x1196('0x61')],'attributes':_0x199aa1[_0x1196('0x79')]});const _0x59fae9=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7['end']['parent'],_0x1196('0xfa')),_0x21b39e=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x59fae9,_0x116328[_0x1196('0x145')]);this[_0x1196('0x11d')](_0x10877d,_0x58bb18,_0x1bbb4c,_0x21b39e);}else{if(_0x116328[_0x1196('0x50')](_0xaa30e7[_0x1196('0x55')])){const _0x1facca=this['_model']['createPositionAt'](_0xaa30e7[_0x1196('0x55')][_0x1196('0x39')],_0x1196('0x145'));this['_setSuggestionRange'](_0x199aa1,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x116328[_0x1196('0x55')],_0x1facca));}else{const _0x47f16f=this[_0x1196('0x14c')][_0x1196('0x167')](_0xaa30e7['end'][_0x1196('0xa7')],'after');this[_0x1196('0x65')](_0x199aa1,this[_0x1196('0x14c')]['createRange'](_0x47f16f,_0x116328['end']));}}}}[_0x1196('0xfc')](_0x58e626){for(const {suggestion:_0x5e5ac1,meta:_0x3ef480}of this['_findSuggestions'](_0x58e626,_0x1196('0x115'))){if(!_0x3ef480[_0x1196('0xe6')])continue;const _0x2ab656=_0x5e5ac1[_0x1196('0x8f')]();for(const _0x4a1ece of _0x2ab656)if(!_0x58e626[_0x1196('0xb7')](_0x4a1ece)[_0x1196('0x123')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1f6144){const _0x5a8da7=this['editor'][_0x1196('0x35')][_0x1196('0xa8')]('Users')[_0x1196('0xc3')](_0x1f6144);if(!_0x5a8da7)throw new _0x37a2ae(_0x1196('0x164'),this);return _0x5a8da7;}[_0x1196('0x6a')](_0xd0a522){const _0xbdda43=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')]('Users'),_0x41be5a=_0x5501a2(_0x1196('0x165')+_0xd0a522),_0x5f1bab=_0xbdda43[_0x1196('0xc3')](_0x41be5a);return _0x5f1bab||_0xbdda43[_0x1196('0xc2')]({'id':_0x41be5a,'name':_0xd0a522});}['_createSuggestion'](_0x2e3da0,_0x340b52,_0x17e9c3,_0x4092e8,_0x1288f4){const _0xffb7a=this['_getAuthorFromId'](_0x4092e8),_0x597c36=this[_0x1196('0x47')]['buildSuggestion'](_0x2e3da0,_0x340b52,_0x17e9c3,_0xffb7a,_0x1288f4,_0x898544=>this[_0x1196('0x70')](_0x17e9c3,{'attributes':_0x898544}));return this[_0x1196('0x48')](_0x597c36,'accept',()=>{this['_updateSuggestionData'](_0x17e9c3,{'state':_0x1196('0x6e')});},{'priority':'high'}),this[_0x1196('0x48')](_0x597c36,_0x1196('0xae'),()=>{this[_0x1196('0x70')](_0x17e9c3,{'state':_0x1196('0x89')});},{'priority':_0x1196('0xa9')}),this['_suggestions'][_0x1196('0x128')](_0x17e9c3,_0x597c36),this['_suggestionState'][_0x1196('0x128')](_0x597c36,_0x1196('0x2b')),_0x597c36;}[_0x1196('0x17')](_0x41bbce){const _0xe174ce=_0x41bbce[_0x1196('0x88')](':');return{'group':_0xe174ce[0x0],'type':_0xe174ce[0x1],'subType':_0xe174ce['length']>=0x5?_0xe174ce[0x2]:null,'id':_0xe174ce['length']<0x5?_0xe174ce[0x2]:_0xe174ce[0x3],'authorId':_0xe174ce[_0x1196('0x123')]<0x5?_0xe174ce[0x3]:_0xe174ce[0x4],'markerCount':0x6==_0xe174ce['length']?_0xe174ce[0x5]:null};}['_breakSuggestionMarker'](_0x53ab89,_0x16190a,_0x4356ab){const _0x417797=_0x53ab89[_0x1196('0x8')](),_0x269c47=_0x417797['start'],_0x3249eb=_0x417797[_0x1196('0x145')];this[_0x1196('0x65')](_0x53ab89,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x269c47,_0x16190a));const _0x15ea69=_0x1449d0(),_0x4ed3f9=_0x53ab89[_0x1196('0x173')]['id'],_0x4c7e92=_0x53ab89[_0x1196('0x17c')]+(_0x53ab89[_0x1196('0xdb')]?':'+_0x53ab89['subType']:'');this['_setSuggestionData']({'id':_0x15ea69,'type':_0x4c7e92,'createdAt':new Date(),'authorId':_0x4ed3f9,'originalSuggestionId':_0x53ab89['id'],'attributes':_0x53ab89['attributes'],'data':_0x53ab89['data']});const _0xc7509e=Pt(_0x53ab89);(_0x1196('0x96')==_0x53ab89[_0x1196('0x17c')]||_0xc7509e&&this[_0x1196('0xe0')](_0xc7509e))&&(_0x4356ab=this[_0x1196('0x14c')][_0x1196('0x112')](_0x4356ab['parent'])),this[_0x1196('0x11d')](_0x4c7e92,_0x15ea69,_0x4ed3f9,this[_0x1196('0x14c')]['createRange'](_0x4356ab,_0x3249eb));}['_findSuggestions'](_0x5a0292,_0x2a5187=null){const _0x59b613=[],_0x42a068=this['editor'][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x90'))['me'];Array[_0x1196('0xb5')](_0x5a0292)||(_0x5a0292=[_0x5a0292]);for(const _0x5a86f0 of this[_0x1196('0x1')]()){if(!_0x5a86f0[_0x1196('0x16a')])continue;if(_0x2a5187&&_0x5a86f0[_0x1196('0x17c')]!=_0x2a5187)continue;let _0x38f439=!0x1;for(const _0x582e96 of _0x5a86f0[_0x1196('0x8f')]()){for(const _0x35f001 of _0x5a0292){const _0x1671da=_0x35f001[_0x1196('0x55')]['isEqual'](_0x582e96['end'])||_0x35f001[_0x1196('0x145')][_0x1196('0x139')](_0x582e96['start']);if(_0x1671da||_0x35f001[_0x1196('0xf6')](_0x582e96)){const _0x34a34b=_0x35f001[_0x1196('0xd9')](_0x582e96)&&Tt(this[_0x1196('0x14c')][_0x1196('0x93')],_0x582e96['start'],_0x35f001),_0x45e51a=_0x582e96[_0x1196('0xd9')](_0x35f001)&&Tt(this[_0x1196('0x14c')][_0x1196('0x93')],_0x35f001['start'],_0x582e96);_0x59b613[_0x1196('0xfb')]({'suggestion':_0x5a86f0,'meta':{'isOwn':_0x42a068==_0x5a86f0[_0x1196('0x106')],'isNextTo':_0x1671da,'isInsideObject':_0x34a34b,'containsRangeInObject':_0x45e51a}}),_0x38f439=!0x0;break;}}if(_0x38f439)break;}}return _0x59b613;}[_0x1196('0x11d')](_0x5060fe,_0x207e60,_0x15c5f3,_0x393a27,_0x1723a7){this[_0x1196('0x14c')][_0x1196('0x71')](_0x428922=>{let _0x450801=_0x1196('0x9')+_0x5060fe+':'+_0x207e60+':'+_0x15c5f3;_0x1723a7&&(_0x450801=_0x450801+':'+_0x1723a7),_0x428922[_0x1196('0xe7')](_0x450801,{'range':_0x393a27,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1196('0x82')](_0x551325){const _0x3011da=_0x551325[_0x1196('0x6f')],_0x11e3c8=_0x551325[_0x1196('0x146')];_0x551325['previous']=null,_0x551325[_0x1196('0x146')]=null,null!=_0x3011da&&(_0x3011da[_0x1196('0x146')]=_0x11e3c8),null!=_0x11e3c8&&(_0x11e3c8[_0x1196('0x6f')]=_0x3011da),_0x1196('0xef')==this[_0x1196('0x81')][_0x1196('0xa8')](_0x551325)&&(this[_0x1196('0x81')][_0x1196('0x128')](_0x551325,'removed'),this['fire'](_0x1196('0xba'),_0x551325,_0x3011da,_0x11e3c8));}['_setSuggestionData'](_0x15c2ad){const _0x262b7f=_0x15c2ad['id'],_0x3f666a=this[_0x1196('0xe5')](_0x15c2ad);if(this[_0x1196('0x14')]&&this['_adapter'][_0x1196('0xa3')]){const _0x40b63f=this[_0x1196('0x3')][_0x1196('0x35')][_0x1196('0xa8')](_0x1196('0x66')),_0x31953a=_0x3f666a[_0x1196('0x6d')],_0x42ed66=_0x3f666a[_0x1196('0xdb')]?_0x3f666a[_0x1196('0x17c')]+':'+_0x3f666a[_0x1196('0xdb')]:_0x3f666a[_0x1196('0x17c')],_0x4ad164=this[_0x1196('0x3')][_0x1196('0x28')],_0x3608ab=_0x40b63f['add'](_0x53252c(_0x4ad164,_0x1196('0xd1'))),_0x1c0ca8={'id':_0x262b7f,'type':_0x42ed66,'hasComments':_0x31953a,'data':_0x15c2ad[_0x1196('0x61')]||null,'originalSuggestionId':_0x15c2ad['originalSuggestionId']||null,'attributes':_0x3f666a[_0x1196('0x79')]};this[_0x1196('0x14')]['addSuggestion'](_0x1c0ca8)[_0x1196('0x8d')](_0x2d89ba=>{_0x3f666a['_saved']=!0x0,_0x40b63f['remove'](_0x3608ab),_0x2d89ba&&_0x2d89ba[_0x1196('0xc4')]&&(this[_0x1196('0x161')][_0x1196('0xa8')](_0x262b7f)['createdAt']=_0x2d89ba['createdAt']);})[_0x1196('0xb3')](_0x2e36b1=>{throw _0x3e1932('error-saving-suggestion-data-suggestion-discarded'),this[_0x1196('0x3')]['model'][_0x1196('0x130')]({'isUndoable':!0x1},()=>{_0x3f666a[_0x1196('0xae')]();}),_0x3f666a['stopListening'](),this[_0x1196('0x161')][_0x1196('0x23')](_0x3f666a['id']),this[_0x1196('0x81')][_0x1196('0x23')](_0x3f666a),_0x2e36b1;});}return _0x3f666a;}[_0x1196('0xe0')](_0xac158f){return this['_blockAttributeKeys']['has'](_0xac158f);}[_0x1196('0x70')](_0x3d23bf,_0x4e2f3c){const _0xfbb96c=this[_0x1196('0x3')]['plugins'][_0x1196('0xa8')](_0x1196('0x66')),_0x451d37=this[_0x1196('0x162')](_0x3d23bf);if(this[_0x1196('0x14')]&&this['_adapter'][_0x1196('0xfd')]){if(_0x451d37[_0x1196('0x118')]){const _0x2f3246=_0xfbb96c[_0x1196('0x7c')](_0x53252c(this[_0x1196('0x3')][_0x1196('0x28')],_0x1196('0xd1')));this['_adapter'][_0x1196('0xfd')](_0x3d23bf,_0x4e2f3c)['then'](()=>{_0xfbb96c[_0x1196('0x171')](_0x2f3246);});}else _0x451d37['on'](_0x1196('0x170'),()=>{this[_0x1196('0x70')](_0x3d23bf,_0x4e2f3c);});}}[_0x1196('0x120')](_0x4f0c3){if(!this[_0x1196('0x14')]||!this[_0x1196('0x14')][_0x1196('0x162')])throw new _0x37a2ae(_0x1196('0x64'),this);return this[_0x1196('0x14')][_0x1196('0x162')](_0x4f0c3);}[_0x1196('0x12b')](_0x2edcbf){const {id:_0x391772,type:_0x5a2a6c,subType:_0x249b86,authorId:_0x3cc489}=this['_splitMarkerName'](_0x2edcbf),_0x27ecb0=this[_0x1196('0x161')][_0x1196('0xa8')](_0x391772)||this[_0x1196('0x16')](_0x5a2a6c,_0x249b86,_0x391772,_0x3cc489,{});switch(this[_0x1196('0x2a')](_0x27ecb0,_0x5a2a6c,_0x249b86,_0x3cc489),this[_0x1196('0x81')][_0x1196('0xa8')](_0x27ecb0)){case _0x1196('0x2b'):this[_0x1196('0x120')](_0x391772)[_0x1196('0x8d')](_0x411248=>{let _0x479400=Promise[_0x1196('0x2d')]();_0x411248[_0x1196('0x6d')]&&(_0x479400=this[_0x1196('0x2')][_0x1196('0x14e')]({'channelId':this['editor']['config'][_0x1196('0xa8')]('collaboration.channelId'),'threadId':_0x391772})),_0x479400[_0x1196('0x8d')](()=>{this[_0x1196('0xe5')](_0x411248)[_0x1196('0x118')]=!0x0;});}),this[_0x1196('0x81')]['set'](_0x27ecb0,_0x1196('0x1e'));break;case _0x1196('0xec'):this[_0x1196('0x70')](_0x391772,{'state':_0x1196('0x157')});case _0x1196('0xde'):this[_0x1196('0x81')][_0x1196('0x128')](_0x27ecb0,_0x1196('0xef')),this['fire'](_0x1196('0x99'),_0x27ecb0);break;case _0x1196('0xef'):this[_0x1196('0x13')](_0x1196('0x141'),_0x27ecb0);}return _0x27ecb0['addMarkerName'](_0x2edcbf),_0x27ecb0;}['_refreshSuggestionsChain'](_0x4c7228){const _0x17b08e=Array[_0x1196('0xcb')](_0x4c7228),_0x131ee4=_0x17b08e[_0x1196('0x168')](_0x332b6f=>_0x1196('0x12e')==_0x332b6f['type']);this[_0x1196('0x98')](_0x131ee4);const _0x4406a9=_0x17b08e[_0x1196('0x168')](_0x5644e2=>!_0x5644e2[_0x1196('0x5b')]&&_0x1196('0x12e')!=_0x5644e2[_0x1196('0x17c')]),_0x1265d9=this[_0x1196('0x1')]({'skipNotAttached':!0x0})[_0x1196('0x168')](_0x1def36=>!_0x1def36[_0x1196('0x5b')]&&_0x1196('0x12e')!=_0x1def36[_0x1196('0x17c')]),_0x3f2bc5=_0x1265d9['filter'](_0x35e8a2=>!_0x4c7228['has'](_0x35e8a2)),_0x5efeba=new Map(_0x1265d9['map'](_0x1ec9f1=>[_0x1ec9f1,this[_0x1196('0x47')][_0x1196('0x113')](_0x1ec9f1[_0x1196('0x17c')],_0x1ec9f1[_0x1196('0xdb')],_0x1196('0x38'))])),_0x225ca4=new Map(_0x1265d9[_0x1196('0x14b')](_0x16e3b1=>[_0x16e3b1,_0x16e3b1[_0x1196('0x8')]()])),_0x353322=new Set(),_0x1c5c8a=new Set();for(let _0x261619=0x0;_0x261619<_0x4406a9[_0x1196('0x123')];_0x261619++)_0x29da4d(_0x4406a9[_0x261619],_0x4406a9,_0x261619+0x1);for(let _0x6bee6f=0x0;_0x6bee6f<_0x4406a9[_0x1196('0x123')];_0x6bee6f++)_0x29da4d(_0x4406a9[_0x6bee6f],_0x3f2bc5,0x0);const _0x3c4b87=new Set();for(let _0x230480=0x0;_0x230480<_0x4406a9[_0x1196('0x123')];_0x230480++){const _0x43976c=_0x4406a9[_0x230480];!_0x1c5c8a[_0x1196('0x138')](_0x43976c)&&_0x43976c['previous']&&(_0x3c4b87[_0x1196('0x7c')](_0x43976c['previous']),_0x43976c[_0x1196('0x6f')][_0x1196('0x146')]===_0x43976c&&(_0x43976c[_0x1196('0x6f')][_0x1196('0x146')]=null),_0x43976c[_0x1196('0x6f')]=null),!_0x353322[_0x1196('0x138')](_0x43976c)&&_0x43976c['next']&&(_0x3c4b87[_0x1196('0x7c')](_0x43976c['next']),_0x43976c[_0x1196('0x146')][_0x1196('0x6f')]===_0x43976c&&(_0x43976c[_0x1196('0x146')][_0x1196('0x6f')]=null),_0x43976c[_0x1196('0x146')]=null);}function _0x29da4d(_0x1c398d,_0xd2cf2c,_0xeb3b40){for(let _0x1e7da6=_0xeb3b40;_0x1e7da6<_0xd2cf2c[_0x1196('0x123')];_0x1e7da6++){const _0x4a668f=_0x31442e(_0x1c398d,_0xd2cf2c[_0x1e7da6]);_0x4a668f&&(_0x4a668f[0x0][_0x1196('0x146')]=_0x4a668f[0x1],_0x4a668f[0x1][_0x1196('0x6f')]=_0x4a668f[0x0],_0x353322[_0x1196('0x7c')](_0x4a668f[0x0]),_0x1c5c8a[_0x1196('0x7c')](_0x4a668f[0x1]));}}function _0x31442e(_0x1f5cd0,_0x1e01ef){if(_0x1f5cd0[_0x1196('0x106')]['id']!==_0x1e01ef[_0x1196('0x106')]['id'])return null;const _0xba0d99=_0x5efeba['get'](_0x1f5cd0)(_0x1f5cd0,_0x1e01ef,_0x225ca4[_0x1196('0xa8')](_0x1f5cd0),_0x225ca4[_0x1196('0xa8')](_0x1e01ef));if(!_0xba0d99)return null;return _0x5efeba['get'](_0x1e01ef)(_0x1f5cd0,_0x1e01ef,_0x225ca4[_0x1196('0xa8')](_0x1f5cd0),_0x225ca4[_0x1196('0xa8')](_0x1e01ef))?_0xba0d99[0x1]['commentThread']&&_0xba0d99[0x1][_0x1196('0x104')]['length']?null:_0xba0d99:null;}_0x3c4b87[_0x1196('0x4a')]&&this['_refreshSuggestionsChain'](_0x3c4b87);}[_0x1196('0x98')](_0x48e413){if(0x0==_0x48e413[_0x1196('0x123')])return;const _0x2b4876=this[_0x1196('0x1')]({'skipNotAttached':!0x0})['filter'](_0x960ab9=>'attribute'==_0x960ab9[_0x1196('0x17c')]&&_0x960ab9['_isDataLoaded']),_0x530434=[],_0x17cf36=new Map();for(const _0x3c3338 of _0x2b4876){const _0x808997=_0x5501a2(_0x3c3338[_0x1196('0x79')]);_0x17cf36[_0x1196('0x138')](_0x808997)||(_0x17cf36[_0x1196('0x128')](_0x808997,_0x530434[_0x1196('0x123')]),_0x530434['push']([]));const _0x65dc4c=_0x17cf36[_0x1196('0xa8')](_0x808997);_0x530434[_0x65dc4c]['push'](_0x3c3338);}!function(){_0x530434[_0x1196('0xcd')]((_0x16df9b,_0x3366bb)=>{const _0xfb912c=_0x16df9b[0x0][_0x1196('0xc4')],_0x1d13f0=_0x3366bb[0x0][_0x1196('0xc4')];return _0xfb912c==_0x1d13f0?_0x16df9b[0x0][_0x1196('0x79')]['groupId']<_0x3366bb[0x0][_0x1196('0x79')][_0x1196('0x13b')]?-0x1:0x1:_0xfb912c<_0x1d13f0?-0x1:0x1;});for(const _0x126a5c of _0x530434)_0x126a5c[_0x1196('0xcd')]((_0x3f33d8,_0x30b1d5)=>_0x3f33d8['id']<_0x30b1d5['id']?-0x1:0x1);}();for(let _0xac83b1=0x0;_0xac83b1<_0x530434[_0x1196('0x123')];_0xac83b1++){if(0x0==_0x530434[_0xac83b1][_0x1196('0x123')])continue;const _0x23c4bb=[];for(let _0x1dd60c=_0xac83b1+0x1;_0x1dd60c<_0x530434['length'];_0x1dd60c++)0x0!=_0x530434[_0x1dd60c][_0x1196('0x123')]&&_0x4568e3(_0x530434[_0xac83b1],_0x530434[_0x1dd60c])&&_0x23c4bb[_0x1196('0xfb')](_0x1dd60c);for(const _0x4e2161 of _0x23c4bb)_0x530434[_0xac83b1]=_0x530434[_0xac83b1][_0x1196('0x131')](_0x530434[_0x4e2161]),_0x530434[_0x4e2161]=[];}for(const _0x5c05f1 of _0x530434)for(let _0x5709a6=0x0;_0x5709a6<_0x5c05f1[_0x1196('0x123')];_0x5709a6++)_0x5c05f1[_0x5709a6]['next']=_0x5c05f1[_0x5709a6+0x1]||null;for(const _0x2b07aa of _0x530434)for(let _0x3adfcf=0x0;_0x3adfcf<_0x2b07aa[_0x1196('0x123')];_0x3adfcf++)_0x2b07aa[_0x3adfcf]['previous']=_0x2b07aa[_0x3adfcf-0x1]||null;function _0x4568e3(_0x27abb7,_0x458764){if(_0x27abb7[0x0][_0x1196('0x106')]!==_0x458764[0x0][_0x1196('0x106')])return!0x1;if(!function(_0x3b258f,_0x546263){if(!_0x3b258f[_0x1196('0x6d')]&&!_0x546263[_0x1196('0x6d')])return!0x0;if(_0x3b258f[_0x1196('0x6d')]&&_0x546263['hasComments'])return!0x1;if(_0x3b258f['hasComments']&&_0x546263[_0x1196('0xc4')]<_0x3b258f[_0x1196('0x104')][_0x1196('0x32')]['get'](0x0)['createdAt'])return!0x0;if(_0x546263[_0x1196('0x6d')]&&_0x3b258f[_0x1196('0xc4')]<_0x546263['commentThread'][_0x1196('0x32')][_0x1196('0xa8')](0x0)[_0x1196('0xc4')])return!0x0;return!0x1;}(_0x27abb7[0x0],_0x458764[0x0]))return!0x1;const _0x23a518=_0x4ce505(_0x27abb7[0x0][_0x1196('0x79')],'groupId'),_0x290082=_0x4ce505(_0x458764[0x0][_0x1196('0x79')],_0x1196('0x13b'));if(!_0x3f301d(_0x23a518,_0x290082))return!0x1;return!!_0x27abb7[_0x1196('0x10a')](_0x3593ae=>_0x458764['some'](_0x3335ba=>_0x3593ae[_0x1196('0x8')]()[_0x1196('0x139')](_0x3335ba[_0x1196('0x8')]())))&&_0x458764[_0x1196('0x10a')](_0x5a3c31=>_0x27abb7[_0x1196('0x94')](_0x530f92=>_0x5a3c31[_0x1196('0x8')]()['isEqual'](_0x530f92[_0x1196('0x8')]())));}}[_0x1196('0x17e')](_0x19b73d){const _0x5ebb7f=Array[_0x1196('0xcb')](_0x19b73d),_0x5c814c=this[_0x1196('0x1')]({'skipNotAttached':!0x0}),_0x2657f0=_0x5c814c[_0x1196('0x168')](_0x491127=>!_0x19b73d[_0x1196('0x138')](_0x491127)),_0x271c22=new Map(_0x5ebb7f[_0x1196('0x14b')](_0x54ced2=>[_0x54ced2,this['_suggestionFactory'][_0x1196('0x113')](_0x54ced2[_0x1196('0x17c')],_0x54ced2[_0x1196('0xdb')],'join')])),_0x68bf32=new Map(_0x5c814c['map'](_0x560522=>[_0x560522,_0x560522[_0x1196('0x8f')]()]));for(let _0x4b7b34=0x0;_0x4b7b34<_0x5ebb7f[_0x1196('0x123')];_0x4b7b34++){if(_0x32a7f0(this,_0x5ebb7f[_0x4b7b34],_0x5ebb7f,_0x4b7b34+0x1))return!0x0;}for(let _0x299d16=0x0;_0x299d16<_0x5ebb7f[_0x1196('0x123')];_0x299d16++){if(_0x32a7f0(this,_0x5ebb7f[_0x299d16],_0x2657f0,0x0))return!0x0;}return!0x1;function _0x32a7f0(_0x5c4145,_0x51096f,_0x44903b,_0x12697e){for(let _0x4dcb0e=_0x12697e;_0x4dcb0e<_0x44903b['length'];_0x4dcb0e++){const _0x4839c6=_0x44903b[_0x4dcb0e];if(_0x4839c6['type']!==_0x51096f[_0x1196('0x17c')]||_0x4839c6[_0x1196('0x106')]['id']!==_0x51096f[_0x1196('0x106')]['id']||_0x4839c6[_0x1196('0xdb')]!==_0x51096f['subType'])continue;if(!Vt(_0x51096f,_0x4839c6))continue;if(_0x1196('0x12e')==_0x51096f[_0x1196('0x17c')]&&_0x51096f['data'][_0x1196('0xdd')]!=_0x4839c6[_0x1196('0x61')][_0x1196('0xdd')])continue;if(_0x1196('0x12e')==_0x51096f[_0x1196('0x17c')]&&_0x5c4145[_0x1196('0xe0')](_0x51096f['data'][_0x1196('0x15f')]))continue;if(_0x1196('0x96')==_0x51096f[_0x1196('0x17c')]){const _0x23ca99=_0x5c4145[_0x1196('0x3')][_0x1196('0xac')],_0x3fcc16=_0x51096f[_0x1196('0x140')]();if(_0x3fcc16&&(_0x23ca99[_0x1196('0x93')]['isObject'](_0x3fcc16)||_0x23ca99[_0x1196('0x93')][_0x1196('0xd6')](_0x3fcc16)))continue;}const _0x52d513=_0x271c22[_0x1196('0xa8')](_0x51096f),_0x32ee57=_0x68bf32['get'](_0x51096f),_0x33e272=_0x68bf32[_0x1196('0xa8')](_0x4839c6),_0x536218=_0x51096f[_0x1196('0x104')]&&_0x51096f[_0x1196('0x104')][_0x1196('0x123')],_0x57f028=_0x4839c6[_0x1196('0x104')]&&_0x4839c6['commentThread'][_0x1196('0x123')];if(!_0x536218&&_0x52d513(_0x33e272,_0x32ee57))return _0x5c4145[_0x1196('0x53')](_0x4839c6,_0x51096f),_0x68bf32[_0x1196('0x23')](_0x51096f),!0x0;if(!_0x57f028&&_0x52d513(_0x32ee57,_0x33e272))return _0x5c4145['_joinSuggestions'](_0x51096f,_0x4839c6),_0x68bf32[_0x1196('0x23')](_0x4839c6),!0x0;}return!0x1;}}['_joinSuggestions'](_0x1dc78b,_0x5a4ec2){if(_0x1dc78b[_0x1196('0x5b')])for(const _0x47ef99 of _0x5a4ec2[_0x1196('0x8f')]())_0x1dc78b[_0x1196('0xc0')](_0x47ef99);else{const _0x44258d=_0x5a4ec2[_0x1196('0x8')]()['end'];this[_0x1196('0x65')](_0x1dc78b,this[_0x1196('0x14c')][_0x1196('0xe4')](_0x1dc78b[_0x1196('0x8')]()[_0x1196('0x55')],_0x44258d));}_0x5a4ec2[_0x1196('0x8b')]();}[_0x1196('0xda')](_0x286577,_0x5e2f4f){const _0x323d6a=_0x286577[_0x1196('0x12f')](_0x1196('0x129'))||_0x286577['startsWith'](_0x1196('0x12e'))?'FORMATTING':_0x286577['toUpperCase']();return _0x53252c(this[_0x1196('0x3')]['locale'],_0x5e2f4f+'_'+_0x323d6a+_0x1196('0x16b'));}[_0x1196('0x154')](){const _0x3737b5=this[_0x1196('0x3')];_0x1d2ead(this['_model'],({left:_0x409da3,entered:_0x6a23e})=>{const _0x508bb1=[];for(const _0x3b1403 of _0x409da3){const {group:_0x8d3765,type:_0x546842}=this[_0x1196('0x17')](_0x3b1403[_0x1196('0x1b')]);if(_0x1196('0x3c')===_0x8d3765){_0x508bb1[_0x1196('0xfb')](this[_0x1196('0xda')](_0x546842,_0x1196('0xe9')));break;}}for(const _0x2abc80 of _0x6a23e){const {group:_0x3d3fcb,type:_0x59a2e0}=this[_0x1196('0x17')](_0x2abc80[_0x1196('0x1b')]);if('suggestion'===_0x3d3fcb){_0x508bb1[_0x1196('0xfb')](this[_0x1196('0xda')](_0x59a2e0,_0x1196('0x108')));break;}}_0x508bb1[_0x1196('0x123')]&&_0x3737b5['ui'][_0x1196('0x56')]['announce'](_0x1196('0x7b'),_0x508bb1[_0x1196('0xc8')]('\x20'));});}[_0x1196('0xd')](_0x28e6d0){if(null!==this[_0x1196('0xbd')])return!0x1;const _0x942b2d=this[_0x1196('0x3')],_0x235d05=_0x942b2d[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x16d')][_0x1196('0x132')]();if(0x0==_0x235d05[_0x1196('0x123')])return!0x1;const _0xe1b1e8=[],_0x37f1c2=_0x235d05['filter'](_0xc1bc5a=>'attribute'==_0xc1bc5a[_0x1196('0x17c')]),_0x13867f=_0x235d05[_0x1196('0x168')](_0x462f5a=>_0x1196('0x11e')==_0x462f5a[_0x1196('0x17c')]&&_0x1196('0xdc')!=_0x462f5a[_0x1196('0x1b')]),_0x1eb8c7=_0x235d05[_0x1196('0x168')](_0x3fa61f=>_0x1196('0x171')==_0x3fa61f[_0x1196('0x17c')]&&_0x1196('0xdc')!=_0x3fa61f['name']);for(const _0x2da96b of _0x37f1c2)_0xe1b1e8[_0x1196('0xfb')]({'key':_0x2da96b['attributeKey'],'newValue':_0x2da96b[_0x1196('0xe3')],'oldValue':_0x2da96b['attributeOldValue'],'range':_0x118010(_0x2da96b['range'])});for(const _0x1130fb of _0x13867f){const _0x34ab00=_0x1eb8c7[_0x1196('0x11f')](_0x424ea9=>_0x424ea9['position'][_0x1196('0x139')](_0x1130fb[_0x1196('0x9b')]));_0x34ab00&&_0xe1b1e8[_0x1196('0xfb')]({'key':_0x1196('0x27'),'newValue':_0x1130fb[_0x1196('0x1b')],'oldValue':_0x34ab00['name'],'range':_0x942b2d[_0x1196('0xac')][_0x1196('0xf1')](_0x1130fb['position'][_0x1196('0xa4')])});}return 0x0!=_0xe1b1e8['length']&&this[_0x1196('0xc9')](_0x28e6d0,_0xe1b1e8);function _0x118010(_0x138899){return null==_0x138899['end'][_0x1196('0x39')]&&_0x138899[_0x1196('0x145')][_0x1196('0xa7')]==_0x138899['start']['nodeAfter']?Ut(_0x138899[_0x1196('0x55')]['nodeAfter'],_0x942b2d[_0x1196('0xac')]):_0x138899;}}[_0x1196('0xe2')](_0x3682f2){let _0xea7bad=!0x1;const _0x970d72=this[_0x1196('0x3')][_0x1196('0xac')]['document'][_0x1196('0x16d')]['getChangedMarkers']()[_0x1196('0x168')](_0x2deefa=>_0x2deefa['data'][_0x1196('0xce')]&&_0x2deefa[_0x1196('0x1b')][_0x1196('0x12f')]('suggestion:attribute:'));for(const _0x268454 of _0x970d72){const {subType:_0x50e954,id:_0x145212}=this['_splitMarkerName'](_0x268454[_0x1196('0x1b')]),_0x1c080a=_0x50e954['split']('|')[0x0];for(const _0xaa5609 of this[_0x1196('0x1')]({'skipNotAttached':!0x0}))_0xaa5609['id']!=_0x145212&&'attribute'==_0xaa5609[_0x1196('0x17c')]&&_0xaa5609[_0x1196('0x61')]&&_0xaa5609[_0x1196('0x61')][_0x1196('0x15f')]==_0x1c080a&&_0xaa5609[_0x1196('0x8')]()['isIntersecting'](_0x268454[_0x1196('0x61')][_0x1196('0xce')])&&(this['_reduceSuggestionAttributeRange'](_0xaa5609,_0x268454[_0x1196('0x61')]['newRange'],_0x3682f2),_0xea7bad=!0x0);}return _0xea7bad;}[_0x1196('0x7')](_0x45ea05){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x45ea05();const _0x1d534e=this[_0x1196('0x3')];this[_0x1196('0xbd')]=_0x1d534e[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x6c')],_0x45ea05();const _0x146977=new Map();for(const _0x2af4ac of _0x1d534e[_0x1196('0xac')][_0x1196('0x69')][_0x1196('0x15a')][_0x1196('0x1a')](this['_recordAttributeSuggestionsFromVersion']))if([_0x1196('0xed'),'addAttribute',_0x1196('0x21'),_0x1196('0xbb')][_0x1196('0x3f')](_0x2af4ac[_0x1196('0x17c')])){const _0x207cdf=_0x2af4ac[_0x1196('0x51')],_0x5f53a7=_0x146977[_0x1196('0xa8')](_0x207cdf)||[];_0x5f53a7[_0x1196('0xfb')](_0x2af4ac),_0x146977[_0x1196('0x128')](_0x207cdf,_0x5f53a7);}this[_0x1196('0xbd')]=null;for(const [_0x2f76f6,_0x49ea7f]of _0x146977){const _0x29b9ea=_0x1449d0();_0x1d534e[_0x1196('0xac')][_0x1196('0x130')](_0x2f76f6,_0x4d32f2=>{const _0x5bb1fc=[];for(const _0x36e632 of _0x49ea7f){let _0x3f30d3,_0x4592bc,_0x4f5fae,_0x40c39a;if('rename'==_0x36e632[_0x1196('0x17c')]){const _0x10746e=_0x36e632;_0x3f30d3=Ut(_0x10746e['position'][_0x1196('0xa4')],_0x1d534e[_0x1196('0xac')]),_0x4592bc='$elementName',_0x4f5fae=_0x10746e['newName'],_0x40c39a=_0x10746e['oldName'];}else{const _0x4ea8a0=_0x36e632,_0x2e867b=this[_0x1196('0xe0')](_0x4ea8a0['key']),_0x245569=this[_0x1196('0x40')][_0x1196('0x138')](_0x4ea8a0[_0x1196('0x15f')]);if(!_0x2e867b&&!_0x245569)continue;_0x3f30d3=_0x2e867b?Ut(_0x4ea8a0['range'][_0x1196('0x55')]['nodeAfter'],_0x1d534e['model']):_0x4ea8a0[_0x1196('0x20')],_0x4592bc=_0x4ea8a0['key'],_0x4f5fae='removeAttribute'==_0x36e632[_0x1196('0x17c')]?void 0x0:_0x4ea8a0[_0x1196('0x160')],_0x40c39a=_0x4ea8a0['oldValue'];}this['markAttributeChange'](_0x3f30d3,_0x4592bc,_0x40c39a,_0x4f5fae,{'groupId':_0x29b9ea}),_0x5bb1fc[_0x1196('0xfb')]({'range':_0x3f30d3,'key':_0x4592bc,'newValue':_0x4f5fae,'oldValue':_0x40c39a});}this[_0x1196('0xc9')](_0x4d32f2,_0x5bb1fc);});}}['_reduceExistingSuggestions'](_0x59c3e6,_0x530733){if(0x0==_0x530733[_0x1196('0x123')])return!0x1;let _0x2d0ab7=!0x1;for(const _0x2604d2 of _0x530733){const _0x282747=this[_0x1196('0x76')](_0x2604d2['range'],_0x1196('0x12e'))[_0x1196('0x168')](_0x3dd2f9=>!_0x3dd2f9['meta'][_0x1196('0x117')])[_0x1196('0x14b')](_0x35c4ca=>_0x35c4ca[_0x1196('0x3c')]),_0x32953a=_0x5501a2({'newValue':_0x2604d2['newValue']});_0x282747[_0x1196('0x168')](_0x266a3d=>{const [_0x3ccfb9,_0x44e69b]=_0x266a3d[_0x1196('0xdb')][_0x1196('0x88')]('|');return _0x3ccfb9==_0x2604d2[_0x1196('0x15f')]&&_0x44e69b!=_0x32953a;})['forEach'](_0x3a9fcb=>{this[_0x1196('0x43')](_0x3a9fcb,_0x2604d2[_0x1196('0x20')],_0x59c3e6),_0x2d0ab7=!0x0;});}return _0x2d0ab7;}[_0x1196('0x43')](_0x4729cb,_0x335e8f,_0xacd53d){const _0x1d811b=_0x4729cb[_0x1196('0x8')]()[_0x1196('0xb7')](_0x335e8f);0x0!==_0x1d811b[_0x1196('0x123')]?0x1!==_0x1d811b[_0x1196('0x123')]?this[_0x1196('0x16f')](_0x4729cb,_0x335e8f[_0x1196('0x55')],_0x335e8f[_0x1196('0x145')]):this['_setSuggestionRange'](_0x4729cb,_0x1d811b[0x0]):_0xacd53d[_0x1196('0xe8')](_0x4729cb[_0x1196('0x67')]());}}class Bt{constructor(_0x3f5ece){this['_editor']=_0x3f5ece,this[_0x1196('0x14c')]=_0x3f5ece[_0x1196('0xac')],this['_customCallbacks']=new Map(),this[_0x1196('0x110')]=new Map(),this[_0x1196('0x1c')]();}[_0x1196('0xc5')](_0x32519f,_0x1225c4,_0x2941dc,_0x631e7a,_0x30b0fc,_0x1d5cbc){return new _0x32d5d1(this[_0x1196('0x14c')],{'type':_0x32519f,'subType':_0x1225c4,'id':_0x2941dc,'author':_0x631e7a,'creator':_0x631e7a,'attributes':_0x30b0fc,'onAttributesChange':_0x1d5cbc,'onAccept':(..._0x519947)=>this[_0x1196('0x113')](_0x32519f,_0x1225c4,_0x1196('0x175'))(..._0x519947),'onDiscard':(..._0x5c5568)=>this[_0x1196('0x113')](_0x32519f,_0x1225c4,_0x1196('0xae'))(..._0x5c5568)});}['registerCustomCallback'](_0x5ceaa4,_0x3c8733,_0x153db1,_0x39f482){const _0x2281de=_0x5ceaa4+':'+_0x3c8733+':'+_0x153db1;this[_0x1196('0xc1')][_0x1196('0x128')](_0x2281de,_0x39f482);}[_0x1196('0x113')](_0x241b21,_0x2b87d8,_0x3bb9b1){const _0x30209a=_0x241b21+':'+_0x2b87d8+':'+_0x3bb9b1;return this[_0x1196('0xc1')][_0x1196('0xa8')](_0x30209a)||this[_0x1196('0x110')][_0x1196('0xa8')](_0x241b21+':'+_0x3bb9b1);}[_0x1196('0x1c')](){const _0xf6427c=()=>!0x1,_0x3e3258=_0x1a294c=>{_0x1a294c[_0x1196('0xcd')]((_0x1f67cd,_0x52fbc7)=>_0x1f67cd['start'][_0x1196('0xb8')](_0x52fbc7[_0x1196('0x55')])?0x1:-0x1),this[_0x1196('0x14c')][_0x1196('0x71')](_0x5acae2=>{for(const _0x451844 of _0x1a294c){let _0x11037b;_0x11037b=_0x451844[_0x1196('0x145')][_0x1196('0x127')]&&_0x451844['end']['parent']==_0x451844[_0x1196('0x55')][_0x1196('0xa4')]?_0x5acae2[_0x1196('0x156')](_0x451844[_0x1196('0x55')][_0x1196('0xa4')],'on'):_0x5acae2[_0x1196('0x156')](_0x451844),this[_0x1196('0x14c')][_0x1196('0x46')](_0x11037b,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x35761b=(_0x2d4670,_0x7b574d)=>{_0x7b574d&&this[_0x1196('0x14c')][_0x1196('0x71')](_0x3bc145=>{const {commandName:_0x9157c3,commandParams:_0x547698=[]}=_0x7b574d,_0x28be53=_0x2d4670['map'](_0x5c0b11=>(xt(_0x5c0b11)&&(_0x5c0b11=this[_0x1196('0x14c')][_0x1196('0xe4')](_0x5c0b11['end'])),_0x5c0b11))['filter'](_0x1821fa=>_0x1196('0x116')!==_0x1821fa['root'][_0x1196('0xf5')]);if(_0x28be53[_0x1196('0x123')]<0x1)return;const _0x5e95c9=Array['from'](this[_0x1196('0x14c')][_0x1196('0x69')][_0x1196('0xd5')]['getRanges']())[_0x1196('0x14b')](_0x2e8144=>_0x284da0['fromRange'](_0x2e8144));_0x3bc145[_0x1196('0xd8')](_0x28be53);for(const _0x1cbbec of this['_editor'][_0x1196('0xd4')]['commands']())_0x1cbbec['refresh']();_0x547698[_0x1196('0xfb')]({'forceDefaultExecution':!0x0}),this[_0x1196('0x26')]['execute'](_0x9157c3,..._0x547698);const _0x4ccffc=_0x5e95c9[_0x1196('0x168')](_0x322874=>_0x1196('0x116')!=_0x322874[_0x1196('0x137')][_0x1196('0xf5')]);_0x4ccffc['length']>0x0&&_0x3bc145[_0x1196('0xd8')](_0x4ccffc);for(const _0xb4bf70 of _0x5e95c9)_0xb4bf70[_0x1196('0x80')]();});},_0xbfca62=(_0x1c80e6,_0x1a95b5)=>0x1==_0x1c80e6[_0x1196('0x123')]&&0x1==_0x1a95b5[_0x1196('0x123')]&&_0x1c80e6[0x0][_0x1196('0x145')]['isEqual'](_0x1a95b5[0x0][_0x1196('0x55')]),_0x150703=(_0x5417cc,_0x895588,_0x266d06,_0x208c05)=>Ot(_0x5417cc,_0x895588,_0x266d06,_0x208c05,this[_0x1196('0x14c')])?[_0x5417cc,_0x895588]:Ot(_0x895588,_0x5417cc,_0x208c05,_0x266d06,this[_0x1196('0x14c')])?[_0x895588,_0x5417cc]:null;this['_defaultCallbacks']['set'](_0x1196('0xa'),_0xf6427c),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0xca'),_0x3e3258),this[_0x1196('0x110')][_0x1196('0x128')]('insertion:join',_0xbfca62),this['_defaultCallbacks'][_0x1196('0x128')]('insertion:chain',_0x150703),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x10c'),_0x3e3258),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x4b'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x9a'),_0xbfca62),this[_0x1196('0x110')]['set'](_0x1196('0x12d'),_0x150703),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x143'),_0x35761b),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x17f'),_0xf6427c),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x119'),_0xbfca62),this[_0x1196('0x110')][_0x1196('0x128')]('formatInline:chain',_0xf6427c),this[_0x1196('0x110')]['set'](_0x1196('0xcc'),_0x35761b),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x149'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x30'),_0xbfca62),this['_defaultCallbacks'][_0x1196('0x128')](_0x1196('0x0'),_0xf6427c),this[_0x1196('0x110')][_0x1196('0x128')]('attribute:accept',_0xf6427c),this[_0x1196('0x110')]['set'](_0x1196('0x72'),(_0x3a718d,_0x50166f)=>{if(!_0x50166f)return;const _0x43349f=this[_0x1196('0x26')][_0x1196('0x35')][_0x1196('0xa8')](p);this[_0x1196('0x14c')][_0x1196('0x71')](_0x594872=>{if(_0x1196('0x27')==_0x50166f['key'])for(const _0x5316ea of _0x3a718d){const _0x41df41=_0x5316ea[_0x1196('0x55')]['nodeAfter'],_0x3741c4=_0x50166f['oldValue'];_0x594872[_0x1196('0xed')](_0x41df41,_0x3741c4);}else{if(_0x43349f[_0x1196('0xe0')](_0x50166f[_0x1196('0x15f')]))for(const _0x5f4224 of _0x3a718d)void 0x0!==_0x50166f[_0x1196('0xdd')]?_0x594872[_0x1196('0x85')](_0x50166f[_0x1196('0x15f')],_0x50166f[_0x1196('0xdd')],_0x5f4224[_0x1196('0x55')]['nodeAfter']):_0x594872[_0x1196('0x21')](_0x50166f[_0x1196('0x15f')],_0x5f4224['start'][_0x1196('0xa4')]);else for(const _0x5bab3e of _0x3a718d)_0x50166f['oldValue']?_0x594872[_0x1196('0x85')](_0x50166f[_0x1196('0x15f')],_0x50166f[_0x1196('0xdd')],_0x5bab3e):_0x594872[_0x1196('0x21')](_0x50166f[_0x1196('0x15f')],_0x5bab3e);}});}),this[_0x1196('0x110')][_0x1196('0x128')](_0x1196('0x10d'),_0xbfca62);}}function Tt(_0x5f0e62,_0x21e5e3,_0x5e9efd){for(const _0x2c0369 of _0x21e5e3[_0x1196('0xa7')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2c0369[_0x1196('0x137')]==_0x2c0369)return!0x1;if(!_0x5e9efd['containsItem'](_0x2c0369))return!0x1;if(_0x5f0e62[_0x1196('0x22')](_0x2c0369)||_0x5f0e62[_0x1196('0xd6')](_0x2c0369))return!0x0;}return!0x1;}function xt(_0x20b4bf){return _0x20b4bf[_0x1196('0x145')]['parent']==_0x20b4bf[_0x1196('0x55')][_0x1196('0xa4')]&&_0x20b4bf['end'][_0x1196('0x13a')];}function Et(_0x3af5d5,_0x903f6e,_0x3866e9,_0x31f5c9){const _0x54a3dd=_0x5ddabd=>!_0x5ddabd[_0x1196('0x147')]['is'](_0x1196('0x3d'))&&!_0x31f5c9['isObject'](_0x5ddabd[_0x1196('0x147')]),_0x38c865=_0x3af5d5[_0x1196('0x55')]['getLastMatchingPosition'](_0x54a3dd),_0x14b69c=_0x3af5d5[_0x1196('0x145')][_0x1196('0xc6')](_0x54a3dd,{'direction':_0x1196('0x7d')});return(!_0x3af5d5[_0x1196('0x55')]['isEqual'](_0x38c865)||!_0x3af5d5['end'][_0x1196('0x139')](_0x14b69c))&&(_0x38c865['isBefore'](_0x14b69c)?_0x3866e9[_0x1196('0x10e')](_0x903f6e,{'range':_0x3866e9[_0x1196('0xe4')](_0x38c865,_0x14b69c)}):_0x3866e9[_0x1196('0xe8')](_0x903f6e),!0x0);}function Rt(_0x44d9ee){return _0x5501a2(_0x44d9ee);}function jt(_0x1d60ea){const _0x533676=_0x1d60ea[_0x1196('0x55')]['nodeAfter'];return _0x533676&&_0x533676['is'](_0x1196('0x36'));}function Ut(_0x78ea9,_0x5750f3){const _0x2489b1=_0x5750f3[_0x1196('0x93')][_0x1196('0x22')](_0x78ea9)||_0x5750f3[_0x1196('0x93')][_0x1196('0x4d')](_0x78ea9);return _0x5750f3['createRange'](_0x5750f3[_0x1196('0x167')](_0x78ea9,'before'),_0x2489b1?_0x5750f3[_0x1196('0x4f')](_0x78ea9):_0x5750f3['createPositionAt'](_0x78ea9,_0x1196('0x145')));}function Ot(_0x553f2b,_0x57c160,_0x34b7c8,_0xeb028c,_0x34c19a){if(!Vt(_0x553f2b,_0x57c160))return!0x1;if(_0x34b7c8[_0x1196('0x145')][_0x1196('0x139')](_0xeb028c[_0x1196('0x55')]))return!0x0;if(_0x553f2b[_0x1196('0x17c')]!=_0x57c160[_0x1196('0x17c')])return!0x1;if(!_0x34b7c8['end'][_0x1196('0x5a')](_0xeb028c[_0x1196('0x55')]))return!0x1;const _0x44b857=_0x34c19a[_0x1196('0xe4')](_0x34b7c8['end'],_0xeb028c[_0x1196('0x55')])[_0x1196('0xe1')]();for(const _0x1f680f of _0x44b857)if(['elementStart',_0x1196('0xa1')][_0x1196('0x3f')](_0x1f680f[_0x1196('0x17c')])&&_0x34c19a[_0x1196('0x93')][_0x1196('0xd6')](_0x1f680f[_0x1196('0x147')]))return!0x1;return!0x0;}function Vt(_0x17d253,_0x73480e){return!(!_0x17d253[_0x1196('0x49')]||!_0x73480e[_0x1196('0x49')])&&_0x3f301d(_0x17d253[_0x1196('0x79')],_0x73480e[_0x1196('0x79')]);}function Gt(_0x37c75c,_0x5d5da7){const _0x23bfeb=Ft(_0x37c75c['attributes']),_0x2056fe=Ft(_0x5d5da7);if(!_0x37c75c[_0x1196('0x49')])return!0x1;for(const _0x286799 of Object[_0x1196('0x16c')](_0x2056fe))if(!_0x3f301d(_0x23bfeb[_0x286799],_0x2056fe[_0x286799]))return!0x1;return!0x0;}function Ft(_0x2feabf){const _0x12494a=Object['assign']({},_0x2feabf);return delete _0x12494a[_0x1196('0x13d')],delete _0x12494a[_0x1196('0xeb')],_0x12494a;}function Pt(_0x20ebd7){return'attribute'==_0x20ebd7[_0x1196('0x17c')]?_0x20ebd7['subType']['split']('|')[0x0]:null;}
23
+ const _0x21f7=['insertion:accept','enableCommand','_cutOutSuggestionMarker','PENDING_ACTION_SUGGESTION','enqueueChange','nodeAfter','elementToElement','_createSuggestion','moveTargetPosition','error-saving-suggestion-data-suggestion-discarded','_trackFormatChanges','_model','map','_SUGGESTION_ANNOUNCEMENT','_saved','always','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.','_defaultCallbacks','type','elementEnd','_rangeIsInLocalUserInsertion','containsRangeInObject','multipleBlocks','open','formatInline','multi','getNearestSelectionRange','listenTo','comments','init','insertContent','attributeKey','getChanges','_suggestionFactory','position','trackChanges.trackFormatChanges','ck-suggestion-marker--active','_refreshAttributeSuggestionsChain','createPositionAfter','commandName','includes','assign','getSuggestions','addRange','notReady','trackChanges','getSuggestion','insertion','every','_getMarkerAnnouncementText','_customCallbacks','elementStart','never','announce','discardSelectedSuggestions','accepted','_getSuggestionData','trackChangesCommand','add','_adapter','$textProxy','acceptSuggestion','keys','move','markerName','isEqual','startsWith','collaboration.channelId','deletion:join','_setSuggestionData','toJSON','_findSuggestions','containerElement','accept','resolve','marker-count','batch','splitPosition','TrackChangesEditing','markerToHighlight','_joinSuggestions','addMarker:suggestion:formatBlock','updateSuggestion','markerToData','editor','howMany','markDeletion','fetchCommentThread','meta','getAllAdjacentSuggestions','hasCommentThread','getIntersection','isCollapsed','getAncestors','find','getItems','suggestion:','lowest','getLastMatchingPosition','suggestion:attribute:','newValue','markMultiRangeInsertion','rootName','return','containsPosition','attribute:join','update:suggestion','addAttribute','newRange','trackChanges.mergeNestedSuggestions','_addThreadToSuggestion','dataDowncast','set','catch','isInContent','isObject','getFirstMarker','getSuggestionCallback','_getAuthorFromId','fromRange','@external','deleteContent','_removeSuggestion','high','_initAriaMarkerChangeAnnouncements','authorName','previous','getRanges','isBlock','toUpperCase','deletion','FORMATTING','$elementName','getCommentThread','pop','$text','isLocal','_suggestions','formatBlock:accept','formatGroupId','after','getOperations','enableReadOnlyMode','_joinWithAdjacentSuggestions','formatBlock:','isBefore','track-changes-enable-command-twice','addCommentThread','nodeBefore','isLimit','groupId','rename','formatBlock:discard','_descriptionFactory','for','next','createRange','setTo','format','markBlockFormat','isMultiRange','name','consume','change:activeMarkers','forEach','buildSuggestion','isOwn','low','unbindElementFromMarkerName','fire','backward','commentThread','getFirstRange','addMarkerName','values','PendingActions','deletion:','highest','unshift','upcast','define','split','data','_registerDefaultCallbacks','editing','addSuggestion','_reduceExistingSuggestions','setSelection','length','get','_commentsRepository','removeClass','stopListening','skipNestingCheck','formatInline:join','insert','unbind','document','originalSuggestionId','creator','deletion:accept','getCustomProperty','ck-suggestion-marker-','splice','getChangedMarkers','options','suggestionChanged','markerNameToElements','_refreshSuggestionsChain','oldRange','sort','formatBlock:join','$graveyard','getMultiRangeId','CommentsRepository','_reduceSuggestionAttributeRange','selection','_processAttributeSuggestions','substr','_splitMarkerName','isInsideObject','_inlineAttributeKeys','createSelection','_enableDefaultAttributesIntegration','registerPostFixer','_checkSuggestionCorrectness','differ','version','activeMarkers','widget','createPositionAt','_isDataLoaded','track-changes-adapter-missing-getsuggestion','oldValue','execute','getUser','isAfter','LEAVE','markInlineFormat','start','schema','_recordAttributeChanges','from','root','deletion:chain','documentSelection','change:data','track-changes-command-not-found','addMarker','data-suggestion','item','_isBlockAttribute','suggestion','_registerInlineAttribute','delete','filter','setAttribute','ready','track-changes-suggestion-not-found','_updateSuggestionData','conversion','before','discardAllSuggestions','formatInline:chain','getAttribute','createElement','getDifference','locale','removeMarker:suggestion:attribute','containsRange','_setSuggestionRange','addHighlight','showSuggestionHighlights','_handleNewSuggestionMarker','fromCharCode','writer','insertion:discard','insertion:chain','concat','external:','markInsertion','attributes','markerReady','requires','forceDefaultExecution','author','then','isDocumentOperation','_recordAttributeSuggestionsFromVersion','ck-suggestion-marker','push','removeMarker','Users','isAtStart','ENTER','$marker','track-changes-user-not-found','getWalker','markMultiRangeDeletion','attribute','stop','formatBlock:chain','_breakSuggestionMarker','createRangeIn','_editor','value','some','formatInline:accept','markMultiRangeBlockFormat','addMarker:suggestion:attribute','attribute:discard','isIntersecting','getContainedElement','removeMarkers','model','formatInline:','suggestion-type','substring','_mergeNestedSuggestions','group','join','registerCustomCallback','hasSuggestion','_enabledCommands','normal','applyOperation','removeAttribute','reconvertMarker','getMarkers','formatBlock','_blockAttributeKeys','isArray','removed','mapper','addComment','updateMarker','plugins','hasComments','editingDowncast','change','_isForcedDefaultExecutionBlock','remove','suggestionUnloaded','parent','history','_suggestionState','containsItem','track-changes-suggestion-data-mismatch','formatInline:discard','_registerBlockAttribute','detach','subType','track-changes-adapter-already-set','default','isIntersectingWithRange','has','element','addMarker:suggestion','oldName','chain','insertion:','markAttributeChange','markers','size','addUser','changeAttribute','clear','key','addClass','ck-suggestion-marker-formatBlock','attribute:','dataReady','range','discard','isNextTo','consumable','discardSuggestion','pluginName','_onDiscard','commands','attribute:accept','config','acceptSelectedSuggestions','isSelectable','end','adapter','addSuggestionData','newName','_addSuggestionMarker','authoredAt','isAtEnd','createdAt'];(function(_0x5b1f41,_0x21f737){const _0x3d4449=function(_0x2bff5e){while(--_0x2bff5e){_0x5b1f41['push'](_0x5b1f41['shift']());}};_0x3d4449(++_0x21f737);}(_0x21f7,0x1e3));const _0x3d44=function(_0x5b1f41,_0x21f737){_0x5b1f41=_0x5b1f41-0x0;let _0x3d4449=_0x21f7[_0x5b1f41];return _0x3d4449;};import{Plugin as _0x3acde5,PendingActions as _0x36c921}from'ckeditor5/src/core';import{LiveRange as _0x168d75}from'ckeditor5/src/engine';import{CKEditorError as _0x1fc595,uid as _0x29546c,priorities as _0x1e67e1,logWarning as _0x1f709f}from'ckeditor5/src/utils';import{toWidget as _0x967da2}from'ckeditor5/src/widget';import{Users as _0x580b9f,hashObject as _0x447905,surroundingMarkersDetector as _0x356a0c}from'ckeditor5-collaboration/src/collaboration-core';import _0x7daace from'./commands/trackchangescommand';import _0x4dc1b4 from'./commands/acceptsuggestioncommand';import _0x13ab61 from'./commands/discardsuggestioncommand';import _0x32f273 from'./commands/executeonallsuggestionscommand';import _0x5a12c5 from'./commands/executeonselectedsuggestionscommand';import _0x2a790b from'./suggestion';import _0x53e2ce from'./suggestiondescriptionfactory';import _0x101b1b from'./integrations/aiassistant';import _0x3dc4be from'./integrations/alignment';import _0x870b45 from'./integrations/basicstyles';import _0x6458c4 from'./integrations/blockquote';import _0x533cde from'./integrations/ckbox';import _0x2c55f0 from'./integrations/codeblock';import _0x2642c6 from'./integrations/comments';import _0x33ad85 from'./integrations/deletecommand';import _0x280fef from'./integrations/documentlist';import _0x10f75c from'./integrations/documentlistproperties';import _0x2c92b9 from'./integrations/entercommand';import _0x3ff697 from'./integrations/findandreplace';import _0x4e66ad from'./integrations/font';import _0x59860c from'./integrations/formatpainter';import _0x3d5f23 from'./integrations/heading';import _0x412b5b from'./integrations/highlight';import _0x28cd0f from'./integrations/horizontalline';import _0x5ac075 from'./integrations/htmlembed';import _0x2083e2 from'./integrations/image';import _0x37dc44 from'./integrations/imagereplace';import _0x32e9ac from'./integrations/imagestyle';import _0x2c5e92 from'./integrations/importword';import _0x5b50bd from'./integrations/indent';import _0x4877de from'./integrations/inputcommand';import _0x494f70 from'./integrations/link';import _0x4413f0 from'./integrations/list';import _0x1b1f5f from'./integrations/listproperties';import _0x513f05 from'./integrations/mediaembed';import _0x460fae from'./integrations/mention';import _0x42554f from'./integrations/pagebreak';import _0x3697d6 from'./integrations/paragraph';import _0x7abb7b from'./integrations/removeformat';import _0x571a9e from'./integrations/restrictededitingmode';import _0x1a09ff from'./integrations/shiftentercommand';import _0x5ba491 from'./integrations/standardeditingmode';import _0x373416 from'./integrations/style';import _0x41acbb from'./integrations/table';import _0xd8c209 from'./integrations/tablemergesplit';import _0x244619 from'./integrations/tableheadings';import _0x2360a4 from'./integrations/tableclipboard';import _0xb0d9f from'./integrations/tablecolumnresize';import _0x26dcdd from'./integrations/template';import _0x598bd9 from'./integrations/tableofcontents';import _0x17d0ef from'./integrations/title';import _0x444d8e from'./integrations/undo';import _0x4b40fe from'./integrations/tablecaption';import _0x34061a from'./integrations/tableproperties';import{getTranslation as _0x5a27af}from'./utils/common-translations';import{isEqual as _0x2295dd,omit as _0x4535c7}from'lodash-es';export const renameAttributeKey=_0x3d44('0x29');export default class p extends _0x3acde5{static get[_0x3d44('0xc0')](){return['CommentsRepository',_0x580b9f,_0x36c921,_0x101b1b,_0x3dc4be,_0x870b45,_0x6458c4,_0x533cde,_0x2c55f0,_0x2642c6,_0x33ad85,_0x280fef,_0x10f75c,_0x2c92b9,_0x3ff697,_0x4e66ad,_0x59860c,_0x3d5f23,_0x412b5b,_0x28cd0f,_0x5ac075,_0x2083e2,_0x32e9ac,_0x37dc44,_0x2c5e92,_0x5b50bd,_0x4877de,_0x494f70,_0x4413f0,_0x1b1f5f,_0x513f05,_0x460fae,_0x42554f,_0x3697d6,_0x7abb7b,_0x571a9e,_0x1a09ff,_0x5ba491,_0x373416,_0x41acbb,_0xd8c209,_0x244619,_0x4b40fe,_0x2360a4,_0xb0d9f,_0x598bd9,_0x34061a,_0x26dcdd,_0x17d0ef,_0x444d8e];}static get[_0x3d44('0x11e')](){return _0x3d44('0x17b');}constructor(_0x38f79c){function _0x3dcd4b(_0x2ee4e3){return _0x2ee4e3[_0x3d44('0x139')](_0x288db4=>String[_0x3d44('0xb7')](_0x288db4))[_0x3d44('0xe5')]('');}super(_0x38f79c),this[_0x3d44('0xc5')]=null,this[_0x3d44('0x15')](_0x3d44('0x89'),[]),this['on'](_0x3d44('0x48'),(_0x41f210,_0x14dbaa,_0x57a499,_0x176510)=>{this[_0x3d44('0x138')]['change'](()=>{for(const _0x254792 of[..._0x176510,..._0x57a499])this['_model'][_0x3d44('0x10f')][_0x3d44('0x108')](_0x254792)&&_0x38f79c[_0x3d44('0x5d')][_0x3d44('0xec')](_0x254792);});}),this[_0x3d44('0x3e')]=new _0x53e2ce(this[_0x3d44('0x181')]['model'][_0x3d44('0x95')],this[_0x3d44('0x181')]['locale']),this['_adapter']=null,this[_0x3d44('0x14e')]=new Bt(this['editor']),this[_0x3d44('0x2e')]=new Map(),this['_commentsRepository']=_0x38f79c[_0x3d44('0xf5')][_0x3d44('0x62')](_0x3d44('0x7b')),this[_0x3d44('0xe8')]=new Set(),this[_0x3d44('0x138')]=this['editor']['model'],this['_suggestionState']=new WeakMap(),this[_0x3d44('0xf9')]=!0x1,this[_0x3d44('0xef')]=new Set([_0x3d44('0x29')]),this[_0x3d44('0x82')]=new Set(),_0x38f79c[_0x3d44('0x122')][_0x3d44('0x59')](_0x3d44('0x150'),_0x3d44('0x106')),this[_0x3d44('0x137')]=_0x38f79c[_0x3d44('0x122')][_0x3d44('0x62')](_0x3d44('0x150')),_0x38f79c[_0x3d44('0x122')][_0x3d44('0x59')](_0x3d44('0x12'),!0x0),this['_mergeNestedSuggestions']=_0x38f79c[_0x3d44('0x122')][_0x3d44('0x62')]('trackChanges.mergeNestedSuggestions'),this[_0x3d44('0x166')]=new _0x7daace(_0x38f79c,this['_enabledCommands']),this[_0x3d44('0x21')](),this[_0x3dcd4b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x3dcd4b([0x34,0x30,0x34,0x36,0x32,0x34,0x32,0x34]);}[_0x3d44('0x14a')](){const _0x3b3af5=this[_0x3d44('0x181')],_0x5ce3b3=(_0x4d91a3,_0x2142ad)=>{if('attribute'!=_0x4d91a3)return _0x3d44('0x6f')+_0x4d91a3;const _0x524cf0=_0x2142ad[_0x3d44('0x5a')]('|')[0x0];return this[_0x3d44('0xa0')](_0x524cf0)?_0x3d44('0x116'):'ck-suggestion-marker-formatInline';};_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0xf7'))['markerToHighlight']({'model':_0x3d44('0xa1'),'view':_0x397ed6=>{const {id:_0x44923d,type:_0x122780,subType:_0x60df09}=this[_0x3d44('0x80')](_0x397ed6[_0x3d44('0x16d')]),_0x3b7560=[_0x3d44('0xc6'),_0x5ce3b3(_0x122780,_0x60df09)];let _0x4429a7=0xbb8;return this[_0x3d44('0x89')][_0x3d44('0x155')](_0x397ed6['markerName'])&&(_0x3b7560[_0x3d44('0xc7')](_0x3d44('0x151')),_0x4429a7=0xbc2),_0x3d44('0x27')==_0x122780&&(_0x4429a7+=0x5),{'classes':_0x3b7560,'attributes':{'data-suggestion':_0x44923d},'priority':_0x4429a7};}}),_0x3b3af5['conversion']['for'](_0x3d44('0x14'))[_0x3d44('0x167')](_0x502cdb=>{_0x502cdb['on'](_0x3d44('0x10a'),(_0xa6d94e,_0x89374c,_0x5a0c5e)=>{if(!_0x5a0c5e[_0x3d44('0x72')][_0x3d44('0xb5')])return;const _0x925bd8=_0x89374c[_0x3d44('0x9f')];if(!_0x925bd8)return;const _0x4e7f91=_0x5a0c5e[_0x3d44('0xf2')]['toViewElement'](_0x925bd8);_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x95')][_0x3d44('0x18')](_0x925bd8)&&_0x4e7f91&&!_0x4e7f91[_0x3d44('0x6e')](_0x3d44('0x8a'))&&_0x4e7f91['is'](_0x3d44('0x175'))&&_0x967da2(_0x4e7f91,_0x5a0c5e['writer']);},{'priority':_0x3d44('0x20')});}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0x14'))[_0x3d44('0x17c')]({'model':'suggestion','view':(_0x31cc6b,_0x80f1a6)=>{if(!_0x80f1a6[_0x3d44('0x72')][_0x3d44('0xb5')])return null;const {type:_0x49ecbe,subType:_0x567179}=this[_0x3d44('0x80')](_0x31cc6b[_0x3d44('0x16d')]);return{'classes':[_0x3d44('0xc6'),_0x5ce3b3(_0x49ecbe,_0x567179)],'priority':0xbb8};}});const _0x53b63d=({showActiveMarkers:_0x491a3b=!0x0,isAttributeSuggestion:_0x5bb802=!0x1}={})=>(_0x1e159e,_0x48ccdf,_0x2c86bb)=>{if(!_0x48ccdf['item'])return;const {id:_0x1ae8d1}=this[_0x3d44('0x80')](_0x48ccdf[_0x3d44('0x16d')]);if(_0x5bb802){const _0x19606c=Pt(this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x1ae8d1));if(!this['_isBlockAttribute'](_0x19606c))return;}if(_0x48ccdf[_0x3d44('0x9f')]['is'](_0x3d44('0x7d')))return void _0x2c86bb[_0x3d44('0x11c')]['consume'](_0x48ccdf[_0x3d44('0x9f')],_0x1e159e[_0x3d44('0x46')]);const _0x2c1dbc=_0x2c86bb[_0x3d44('0xf2')]['toViewElement'](_0x48ccdf['item']);if(_0x48ccdf[_0x3d44('0x9f')]['is'](_0x3d44('0x109'))&&_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x95')][_0x3d44('0x25')](_0x48ccdf['item'])&&!_0x2c1dbc['getCustomProperty'](_0x3d44('0xb4'))){_0x2c86bb[_0x3d44('0xb8')][_0x3d44('0x115')]([_0x3d44('0xc6'),_0x3d44('0x116')],_0x2c1dbc),_0x2c86bb['writer'][_0x3d44('0xa5')](_0x3d44('0x9e'),_0x1ae8d1,_0x2c1dbc),_0x2c86bb['mapper']['bindElementToMarker'](_0x2c1dbc,_0x48ccdf[_0x3d44('0x16d')]),_0x491a3b&&(this[_0x3d44('0x89')][_0x3d44('0x155')](_0x48ccdf[_0x3d44('0x16d')])?_0x2c86bb[_0x3d44('0xb8')]['addClass'](_0x3d44('0x151'),_0x2c1dbc):_0x2c86bb[_0x3d44('0xb8')]['removeClass'](_0x3d44('0x151'),_0x2c1dbc));for(const _0x102706 of _0x3b3af5['model'][_0x3d44('0xd4')](_0x48ccdf[_0x3d44('0x9f')])[_0x3d44('0x4')]())_0x2c86bb['consumable'][_0x3d44('0x47')](_0x102706,_0x1e159e[_0x3d44('0x46')]);_0x2c86bb[_0x3d44('0x11c')][_0x3d44('0x47')](_0x48ccdf[_0x3d44('0x9f')],_0x1e159e[_0x3d44('0x46')]);}};_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0x14'))[_0x3d44('0x167')](_0x484389=>{_0x484389['on'](_0x3d44('0x17e'),(_0x1a5e6a,_0x4ca205,_0x3961bb)=>{_0x3961bb['options']['showSuggestionHighlights']&&_0x53b63d({'showActiveMarkers':!0x1})(_0x1a5e6a,_0x4ca205,_0x3961bb);},{'priority':_0x3d44('0x56')});}),_0x3b3af5[_0x3d44('0xa9')]['for']('dataDowncast')['add'](_0x5b03e4=>{_0x5b03e4['on'](_0x3d44('0xda'),(_0x2dec15,_0x48e7d7,_0x257bdd)=>{_0x257bdd[_0x3d44('0x72')][_0x3d44('0xb5')]&&_0x53b63d({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x2dec15,_0x48e7d7,_0x257bdd);},{'priority':'highest'});}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')]('dataDowncast')[_0x3d44('0x180')]({'model':_0x3d44('0xa1'),'view':(_0x19eadd,_0x15b0d7)=>_0x15b0d7['options'][_0x3d44('0xb5')]?null:{'group':'suggestion','name':_0x19eadd[_0x3d44('0x7f')](0xb)}}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0x58'))[_0x3d44('0x133')]({'view':{'name':_0x3d44('0xa1'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x57f2d4,{writer:_0x4236f1})=>{let _0x1e9d38=_0x3d44('0x5')+_0x57f2d4[_0x3d44('0xad')](_0x3d44('0xe1'))+':'+_0x57f2d4[_0x3d44('0xad')]('id');return _0x57f2d4[_0x3d44('0xad')](_0x3d44('0x178'))&&(_0x1e9d38+=':'+_0x57f2d4['getAttribute']('marker-count')),_0x4236f1[_0x3d44('0xae')](_0x3d44('0xcc'),{'data-name':_0x1e9d38});}}),_0x3b3af5['conversion'][_0x3d44('0x3f')]('upcast')['dataToMarker']({'view':'suggestion'}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0xf7'))[_0x3d44('0x167')](_0xe0fb5b=>{_0xe0fb5b['on'](_0x3d44('0x17e'),_0x53b63d(),{'priority':'high'});}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0xf7'))['add'](_0x25ce05=>{_0x25ce05['on']('addMarker:suggestion:attribute',_0x53b63d({'isAttributeSuggestion':!0x0}),{'priority':_0x3d44('0x20')});}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0xf7'))[_0x3d44('0x167')](_0x1f4e22=>{_0x1f4e22['on']('removeMarker:suggestion:formatBlock',(_0x49388f,_0x3c2b86,_0x152b3b)=>{const _0xe6c87b=_0x152b3b[_0x3d44('0xf2')][_0x3d44('0x74')](_0x3c2b86['markerName']);if(_0xe6c87b)for(const _0x591859 of _0xe6c87b)_0x591859[_0x3d44('0x6e')](_0x3d44('0xb4'))||(_0x152b3b[_0x3d44('0xb8')][_0x3d44('0x64')]([_0x3d44('0xc6'),_0x3d44('0x116'),'ck-suggestion-marker--active'],_0x591859),_0x152b3b[_0x3d44('0xb8')][_0x3d44('0xeb')](_0x3d44('0x9e'),_0x591859),_0x152b3b[_0x3d44('0xf2')]['unbindElementFromMarkerName'](_0x591859,_0x3c2b86[_0x3d44('0x16d')]));},{'priority':'high'});}),_0x3b3af5[_0x3d44('0xa9')][_0x3d44('0x3f')](_0x3d44('0xf7'))[_0x3d44('0x167')](_0x2835a2=>{_0x2835a2['on'](_0x3d44('0xb1'),(_0x4be506,_0x20ef12,_0x3c3add)=>{const _0x6a467f=_0x3c3add[_0x3d44('0xf2')][_0x3d44('0x74')](_0x20ef12[_0x3d44('0x16d')]);if(!_0x6a467f)return;const {id:_0x28f35b}=this[_0x3d44('0x80')](_0x20ef12[_0x3d44('0x16d')]),_0x40b38b=Pt(this['_suggestions'][_0x3d44('0x62')](_0x28f35b));if(this[_0x3d44('0xa0')](_0x40b38b))for(const _0x464f66 of _0x6a467f)_0x464f66[_0x3d44('0x6e')](_0x3d44('0xb4'))||(_0x3c3add[_0x3d44('0xb8')][_0x3d44('0x64')]([_0x3d44('0xc6'),_0x3d44('0x116'),_0x3d44('0x151')],_0x464f66),_0x3c3add[_0x3d44('0xb8')]['removeAttribute'](_0x3d44('0x9e'),_0x464f66),_0x3c3add[_0x3d44('0xf2')][_0x3d44('0x4d')](_0x464f66,_0x20ef12[_0x3d44('0x16d')]));},{'priority':'high'});}),_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x6a')][_0x3d44('0x85')](_0x5ef89d=>{let _0x4a3d38=!0x1;const _0x716b97=Array['from'](_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x6a')][_0x3d44('0x87')]['getChangedMarkers']()),_0x2b7658=new Set();for(const {name:_0x5bc2ed,data:_0x3325e9}of _0x716b97){const {group:_0x1cbbd9,type:_0x3f2fc3,subType:_0x24887d,id:_0x55daad}=this[_0x3d44('0x80')](_0x5bc2ed);if('suggestion'!==_0x1cbbd9)continue;const _0x3e9d39=this[_0x3d44('0x2e')]['get'](_0x55daad);if(null!=_0x3325e9['newRange']){_0x3d44('0x145')==_0x3f2fc3&&(_0x4a3d38=_0x4a3d38||Et(_0x3325e9['newRange'],_0x5bc2ed,_0x5ef89d,_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x95')]));const _0x268997=_0x3d44('0xd0')==_0x3f2fc3&&this['_isBlockAttribute'](_0x24887d[_0x3d44('0x5a')]('|')[0x0]);if(_0x3325e9[_0x3d44('0x11')]['isCollapsed']||_0x3d44('0x79')==_0x3325e9[_0x3d44('0x11')][_0x3d44('0x98')][_0x3d44('0xb')]||_0x3d44('0xee')==_0x3f2fc3&&!jt(_0x3325e9[_0x3d44('0x11')])||_0x268997&&!jt(_0x3325e9[_0x3d44('0x11')])||_0x3d44('0x27')==_0x3f2fc3&&!(!xt(_0x48d87d=_0x3325e9['newRange'])&&!function(_0x528be0){return _0x528be0[_0x3d44('0x94')][_0x3d44('0xfc')]==_0x528be0[_0x3d44('0x125')][_0x3d44('0x39')]&&_0x528be0['start']['isAtEnd'];}(_0x48d87d)))_0x5ef89d['removeMarker'](_0x5bc2ed),_0x4a3d38=!0x0;else{if(!_0x3e9d39||!_0x3e9d39[_0x3d44('0x17')])continue;_0x2b7658['add'](_0x3e9d39);}}}var _0x48d87d;return _0x2b7658[_0x3d44('0x110')]>0x0&&(_0x4a3d38=!!this[_0x3d44('0x34')](_0x2b7658)||_0x4a3d38),_0x4a3d38;}),_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x6a')][_0x3d44('0x85')](_0x9f8a0c=>{let _0x33b0c4=!0x1;for(const _0x54079d of _0x3b3af5[_0x3d44('0xdf')]['document'][_0x3d44('0x87')][_0x3d44('0x14d')]())if(_0x3d44('0x68')==_0x54079d[_0x3d44('0x13f')])for(const _0x1108a7 of this[_0x3d44('0x2e')][_0x3d44('0x53')]()){if(_0x1108a7[_0x3d44('0x45')]||!_0x1108a7[_0x3d44('0x17')])continue;const _0x1671dc=_0x3d44('0xee')==_0x1108a7[_0x3d44('0x13f')],_0x1111dd=Pt(_0x1108a7),_0x2d1add=_0x1111dd&&this[_0x3d44('0xa0')](_0x1111dd);if(!_0x1671dc&&!_0x2d1add)continue;const _0x5df6f7=_0x1108a7[_0x3d44('0x51')]();if(_0x5df6f7[_0x3d44('0x94')][_0x3d44('0xfc')]!=_0x5df6f7[_0x3d44('0x125')][_0x3d44('0xfc')]&&!_0x5df6f7[_0x3d44('0x125')][_0x3d44('0x12b')]){const _0x23d018=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x5df6f7[_0x3d44('0x94')][_0x3d44('0x132')],_0x3d44('0x125')),_0x44424e=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x41')](_0x5df6f7[_0x3d44('0x94')],_0x23d018);_0x9f8a0c[_0x3d44('0xf4')](_0x1108a7[_0x3d44('0x19')](),{'range':_0x44424e}),_0x33b0c4=!0x0;}}return _0x33b0c4;}),_0x3b3af5['model'][_0x3d44('0x6a')][_0x3d44('0x85')](_0x12aaa7=>this['_processAttributeChanges'](_0x12aaa7)),_0x3b3af5['model'][_0x3d44('0x6a')][_0x3d44('0x85')](_0x3439b6=>!_0x3439b6[_0x3d44('0x179')][_0x3d44('0x2d')]&&this['_processAttributeSuggestions'](_0x3439b6)),_0x3b3af5['model'][_0x3d44('0x10f')]['on'](_0x3d44('0xf'),(_0x29ba0c,_0x502b7e,_0x7441ec)=>{if(null==_0x7441ec){const {id:_0x48290f}=this['_splitMarkerName'](_0x502b7e[_0x3d44('0x46')]),_0x9fc1c4=this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x48290f);_0x9fc1c4&&_0x9fc1c4[_0x3d44('0x52')](_0x502b7e['name']);}}),_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x6a')]['on'](_0x3d44('0x9b'),()=>{const _0xa6b71=Array[_0x3d44('0x97')](_0x3b3af5[_0x3d44('0xdf')]['document']['differ'][_0x3d44('0x71')]())[_0x3d44('0xa4')](_0x30b45c=>_0x3d44('0xa1')===this[_0x3d44('0x80')](_0x30b45c[_0x3d44('0x46')])[_0x3d44('0xe4')]);if(0x0===_0xa6b71['length'])return;_0xa6b71[_0x3d44('0x77')]((_0x4431af,_0x315dda)=>{const _0x47ddd8=_0x4431af[_0x3d44('0x5b')][_0x3d44('0x76')],_0xcc0508=_0x315dda[_0x3d44('0x5b')][_0x3d44('0x76')];return null===_0x47ddd8&&null===_0xcc0508?0x0:null===_0x47ddd8&&null!==_0xcc0508?-0x1:null!==_0x47ddd8&&null===_0xcc0508?0x1:_0x47ddd8[_0x3d44('0x94')][_0x3d44('0x36')](_0xcc0508[_0x3d44('0x94')])?-0x1:0x1;});const _0x49f704=new Set(),_0x8c4178=new Set();for(const {name:_0x22eead,data:_0x4b029c}of _0xa6b71){const {id:_0x230a92}=this[_0x3d44('0x80')](_0x22eead);if(null===_0x4b029c['oldRange']){const _0x55c510=this[_0x3d44('0xb6')](_0x22eead);_0x8c4178[_0x3d44('0x167')](_0x55c510);}else{const _0x1c1cd2=this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x230a92);null!==_0x4b029c['newRange']||_0x1c1cd2[_0x3d44('0x17')]?(_0x49f704[_0x3d44('0x167')](_0x1c1cd2['head']),_0x8c4178[_0x3d44('0x167')](_0x1c1cd2)):this['_removeSuggestion'](_0x1c1cd2);}}_0x8c4178[_0x3d44('0x110')]>0x0&&this['_refreshSuggestionsChain'](_0x8c4178);for(const _0x20c010 of _0x49f704)this[_0x3d44('0x4e')](_0x3d44('0x73'),_0x20c010);}),_0x3b3af5[_0x3d44('0xdf')]['on'](_0x3d44('0xea'),(_0x3fa437,_0x446599)=>{const _0x3afbed=_0x446599[0x0];if(!this[_0x3d44('0x2e')][_0x3d44('0x110')])return;if(!_0x3afbed[_0x3d44('0xc4')])return;if(_0x3afbed['batch']['isUndo']||!_0x3afbed[_0x3d44('0x179')]['isLocal'])return;let _0x55bbc0,_0x1f922b;switch(_0x3afbed[_0x3d44('0x13f')]){case _0x3d44('0x68'):_0x55bbc0=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x3afbed[_0x3d44('0x14f')]),_0x1f922b=_0x55bbc0['getShiftedBy'](_0x3afbed[_0x3d44('0x182')]);break;case _0x3d44('0x5a'):_0x55bbc0=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x3afbed[_0x3d44('0x17a')]),_0x1f922b=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x3afbed[_0x3d44('0x135')]);break;case _0x3d44('0x16c'):_0x55bbc0=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x3afbed['targetPosition']),_0x1f922b=_0x55bbc0['getShiftedBy'](_0x3afbed[_0x3d44('0x182')]);break;default:return;}const _0x4b49ec=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x41')](_0x55bbc0,_0x1f922b);_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0xf8')](()=>{for(const {suggestion:_0x408395,meta:_0x572ce8}of this[_0x3d44('0x174')](_0x4b49ec)){if(_0x408395[_0x3d44('0x45')])continue;if(_0x3d44('0x145')==_0x408395['type'])continue;const _0x5ddef7=Pt(_0x408395);if(_0x5ddef7&&this['_isBlockAttribute'](_0x5ddef7)&&'split'!=_0x3afbed[_0x3d44('0x13f')])continue;const _0x205fbc=_0x408395['data']&&_0x408395[_0x3d44('0x5b')]['multipleBlocks'];(_0x3d44('0xee')!=_0x408395['type']||_0x3d44('0x5a')==_0x3afbed[_0x3d44('0x13f')]&&!_0x205fbc)&&(_0x572ce8[_0x3d44('0x142')]||_0x3d44('0x15c')==_0x408395[_0x3d44('0x13f')]&&_0x572ce8['isOwn']||_0x408395[_0x3d44('0x51')]()[_0x3d44('0xb2')](_0x4b49ec)&&this[_0x3d44('0xd3')](_0x408395,_0x55bbc0,_0x1f922b));}});},{'priority':_0x3d44('0x6')}),_0x3b3af5['model']['on'](_0x3d44('0x1e'),(_0x345c6e,_0x502898)=>{const _0x469606=_0x502898[0x0],_0xdaf383=_0x502898[0x1];if(_0xdaf383&&_0xdaf383[_0x3d44('0xc1')])return;if(this[_0x3d44('0xf9')])return;if(!this['trackChangesCommand'][_0x3d44('0xd6')])return;if(_0x469606[_0x3d44('0x1')])return;const _0x15906e=_0x3b3af5['model']['schema'],{start:_0xbf1838,end:_0x420ff9}=_0x469606[_0x3d44('0x51')](),_0x357432=_0xbf1838[_0x3d44('0x132')]&&_0x15906e[_0x3d44('0x3a')](_0xbf1838[_0x3d44('0x132')])?null:_0x15906e[_0x3d44('0x147')](_0xbf1838,'forward'),_0x215cff=_0x420ff9['nodeBefore']&&_0x15906e[_0x3d44('0x3a')](_0x420ff9[_0x3d44('0x39')])?null:_0x15906e['getNearestSelectionRange'](_0x420ff9,_0x3d44('0x4f')),_0x3253fe=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x41')](_0x357432?_0x357432['start']:_0xbf1838,_0x215cff?_0x215cff[_0x3d44('0x125')]:_0x420ff9);_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0xf8')](_0x3a8fd1=>{this[_0x3d44('0x183')](_0x3253fe);const _0x46a1a0=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x95')]['getNearestSelectionRange'](_0x3253fe[_0x3d44('0x94')]);_0x469606['is'](_0x3d44('0x9a'))?_0x3a8fd1[_0x3d44('0x60')](_0x46a1a0):_0x469606[_0x3d44('0x42')](_0x46a1a0);}),_0x345c6e['stop']();},{'priority':_0x1e67e1[_0x3d44('0xe9')]+0xa}),_0x3b3af5[_0x3d44('0xdf')]['on'](_0x3d44('0x14b'),(_0x39fd33,_0xd02339)=>{const _0x9d15a3=_0xd02339[_0xd02339[_0x3d44('0x61')]-0x1];_0x9d15a3&&_0x9d15a3['forceDefaultExecution']||this[_0x3d44('0xf9')]||this[_0x3d44('0x166')]['value']&&(_0x3b3af5['model'][_0x3d44('0xf8')](()=>{let _0x4cf5b3=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x14b')](_0xd02339[0x0],_0xd02339[0x1],_0xd02339[0x2],{'forceDefaultExecution':!0x0});if(!_0x4cf5b3)return;_0x39fd33[_0x3d44('0xc')]=_0x4cf5b3['clone']();const _0x37ee69=_0x4cf5b3['end'][_0x3d44('0x39')],_0x563862=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x95')];_0x37ee69&&_0x563862[_0x3d44('0x25')](_0x37ee69)&&!_0x563862[_0x3d44('0x18')](_0x37ee69)&&(_0x4cf5b3=_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x41')](_0x4cf5b3['start'],_0x3b3af5[_0x3d44('0xdf')][_0x3d44('0x8b')](_0x37ee69,_0x3d44('0x125')))),this[_0x3d44('0xbd')](_0x4cf5b3);}),_0x39fd33[_0x3d44('0xd1')]());},{'priority':'high'}),this['editor'][_0x3d44('0x120')][_0x3d44('0x167')](_0x3d44('0x15a'),this[_0x3d44('0x166')]),this[_0x3d44('0x12e')](_0x3d44('0x15a'));const _0x4cf577=new _0x4dc1b4(_0x3b3af5,this['_suggestions']);_0x3b3af5[_0x3d44('0x120')][_0x3d44('0x167')](_0x3d44('0x16a'),_0x4cf577),this[_0x3d44('0x12e')](_0x3d44('0x16a'));const _0x2a503d=new _0x13ab61(_0x3b3af5,this[_0x3d44('0x2e')]);_0x3b3af5[_0x3d44('0x120')][_0x3d44('0x167')]('discardSuggestion',_0x2a503d),this[_0x3d44('0x12e')](_0x3d44('0x11d')),_0x3b3af5[_0x3d44('0x120')]['add']('acceptAllSuggestions',new _0x32f273(_0x3b3af5,_0x4cf577,this[_0x3d44('0x2e')])),this[_0x3d44('0x12e')]('acceptAllSuggestions'),_0x3b3af5[_0x3d44('0x120')][_0x3d44('0x167')]('discardAllSuggestions',new _0x32f273(_0x3b3af5,_0x2a503d,this[_0x3d44('0x2e')])),this[_0x3d44('0x12e')](_0x3d44('0xab')),_0x3b3af5[_0x3d44('0x120')][_0x3d44('0x167')](_0x3d44('0x123'),new _0x5a12c5(_0x3b3af5,_0x4cf577,this[_0x3d44('0x2e')])),this['enableCommand'](_0x3d44('0x123')),_0x3b3af5[_0x3d44('0x120')][_0x3d44('0x167')](_0x3d44('0x163'),new _0x5a12c5(_0x3b3af5,_0x2a503d,this[_0x3d44('0x2e')])),this[_0x3d44('0x12e')]('discardSelectedSuggestions');const _0x1ca55f=_0x3b3af5['plugins'][_0x3d44('0x62')]('CommentsRepository');this['listenTo'](_0x1ca55f,_0x3d44('0xf3'),(_0x4ef849,{threadId:_0xf24e66})=>{const _0x4de108=this[_0x3d44('0x2e')][_0x3d44('0x62')](_0xf24e66);_0x4de108&&_0x4de108[_0x3d44('0x50')]&&0x1===_0x4de108[_0x3d44('0x50')][_0x3d44('0x61')]&&this[_0x3d44('0xa8')](_0xf24e66,{'hasComments':!0x0});},{'priority':_0x3d44('0x4c')}),this[_0x3d44('0x148')](_0x1ca55f,'removeComment',(_0x268cf3,{threadId:_0x26a2b1})=>{const _0x5d3fac=this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x26a2b1);_0x5d3fac&&_0x5d3fac[_0x3d44('0x50')]&&!_0x5d3fac[_0x3d44('0x50')][_0x3d44('0x61')]&&this[_0x3d44('0xa8')](_0x26a2b1,{'hasComments':!0x1});},{'priority':_0x3d44('0x4c')});}set[_0x3d44('0x126')](_0x5cba09){if(this[_0x3d44('0x168')])throw new _0x1fc595(_0x3d44('0x105'),this);this[_0x3d44('0x168')]=_0x5cba09;}get['adapter'](){return this['_adapter'];}[_0x3d44('0x157')]({skipNotAttached:_0x2069ba=!0x1,toJSON:_0x33e56d=!0x1}={}){const _0x332d80=[];for(const _0x46b690 of this[_0x3d44('0x2e')][_0x3d44('0x53')]())_0x2069ba&&!_0x46b690[_0x3d44('0x17')]||_0x332d80['push'](_0x46b690);return _0x33e56d?_0x332d80[_0x3d44('0x139')](_0x10980f=>_0x10980f[_0x3d44('0x173')]()):_0x332d80;}['getSuggestion'](_0x2bec9f){const _0x20700f=this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x2bec9f);if(!_0x20700f)throw new _0x1fc595(_0x3d44('0xa7'),this);return _0x20700f;}[_0x3d44('0xe7')](_0x328975){return this[_0x3d44('0x2e')][_0x3d44('0x108')](_0x328975);}[_0x3d44('0x127')](_0x39fae4){const {authorId:_0x302140,id:_0x1fac0a,attributes:_0x5c4404}=_0x39fae4,[_0x54b55b,_0x5b1ab2]=_0x39fae4[_0x3d44('0x13f')][_0x3d44('0x5a')](':'),_0x408960=this['_suggestions']['get'](_0x1fac0a)||this[_0x3d44('0x134')](_0x54b55b,_0x5b1ab2,_0x1fac0a,_0x302140,_0x5c4404);if(this[_0x3d44('0x13')](_0x408960),this[_0x3d44('0x86')](_0x408960,_0x54b55b,_0x5b1ab2||null,_0x302140),_0x408960[_0x3d44('0x12c')]=_0x39fae4[_0x3d44('0x12c')],_0x408960[_0x3d44('0x8c')]=!0x0,_0x5c4404&&_0x5c4404['@external']){const _0x5836c0=_0x5c4404[_0x3d44('0x1d')],_0x4a892b=this['_getExternalAuthor'](_0x5836c0[_0x3d44('0x22')]);_0x408960['authoredAt']=_0x5836c0[_0x3d44('0x12c')],_0x408960['author']=_0x4a892b,_0x408960['isExternal']=!0x0;}else _0x408960[_0x3d44('0x12a')]=_0x39fae4[_0x3d44('0x12c')];switch(_0x39fae4['data']&&(_0x408960[_0x3d44('0x5b')]=_0x39fae4[_0x3d44('0x5b')]),_0x39fae4[_0x3d44('0xbe')]&&(_0x408960['attributes']=_0x39fae4[_0x3d44('0xbe')]),this['_adapter']&&this[_0x3d44('0x168')][_0x3d44('0x5e')]||(_0x408960['_saved']=!0x0),this[_0x3d44('0xfe')][_0x3d44('0x62')](_0x408960)){case _0x3d44('0x159'):this[_0x3d44('0xfe')][_0x3d44('0x15')](_0x408960,_0x3d44('0x118'));break;case _0x3d44('0xbf'):_0x408960[_0x3d44('0x17')]?(this['_refreshSuggestionsChain'](new Set([_0x408960])),this['_joinWithAdjacentSuggestions'](new Set([_0x408960])),this[_0x3d44('0xfe')][_0x3d44('0x15')](_0x408960,_0x3d44('0xa6')),this[_0x3d44('0x4e')]('suggestionLoaded',_0x408960)):this[_0x3d44('0xfe')][_0x3d44('0x15')](_0x408960,_0x3d44('0xf1'));}return _0x408960;}[_0x3d44('0x16a')](_0x525da7){this[_0x3d44('0xc1')](()=>{this['editor'][_0x3d44('0xdf')][_0x3d44('0xf8')](()=>{for(const _0x246806 of _0x525da7[_0x3d44('0x186')]())_0x246806[_0x3d44('0x176')]();});});}[_0x3d44('0x11d')](_0x4a3ff5){this[_0x3d44('0xc1')](()=>{this[_0x3d44('0x181')]['model'][_0x3d44('0xf8')](()=>{for(const _0x567dc5 of _0x4a3ff5[_0x3d44('0x186')]())_0x567dc5[_0x3d44('0x11a')]();});});}[_0x3d44('0x12e')](_0x197b1b,_0x16bc15){const _0x32664f=this['editor']['commands'][_0x3d44('0x62')](_0x197b1b);if(!_0x32664f)throw new _0x1fc595(_0x3d44('0x9c'),this,{'commandName':_0x197b1b});if(this[_0x3d44('0xe8')][_0x3d44('0x108')](_0x32664f))throw new _0x1fc595(_0x3d44('0x37'),this,{'commandName':_0x197b1b});this[_0x3d44('0xe8')][_0x3d44('0x167')](_0x32664f),_0x16bc15&&_0x32664f['on'](_0x3d44('0x8f'),(_0x532bb1,_0x205ea7)=>{this['trackChangesCommand']['value']&&(this[_0x3d44('0xf9')]||(_0x205ea7[_0x3d44('0x61')]>0x0&&_0x205ea7[_0x205ea7[_0x3d44('0x61')]-0x1]&&_0x205ea7[_0x205ea7[_0x3d44('0x61')]-0x1]['forceDefaultExecution']?_0x205ea7[_0x3d44('0x2b')]():(_0x532bb1['return']=_0x16bc15((..._0x126673)=>_0x32664f['execute'](..._0x126673,{'forceDefaultExecution':!0x0}),..._0x205ea7),_0x532bb1[_0x3d44('0xd1')]())));},{'priority':_0x3d44('0x20')});}[_0x3d44('0xc1')](_0xcccb68){let _0x1b869f,_0x31996b;const _0x339207=this['_isForcedDefaultExecutionBlock'];this[_0x3d44('0xf9')]=!0x0;try{_0x1b869f=_0xcccb68();}catch(_0x3701c2){_0x31996b=_0x3701c2;}return _0x339207||(this[_0x3d44('0xf9')]=!0x1),_0x31996b&&_0x1fc595['rethrowUnexpectedError'](_0x31996b,this),_0x1b869f;}['markInsertion'](_0x553b28,_0x4bc8e9=null,_0x2fe526={}){if(_0x553b28[_0x3d44('0x1')])return null;const _0x24d7bd=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')](_0x3d44('0xc9'))['me'];for(const {suggestion:_0x34dc93,meta:_0x1a0bd2}of this[_0x3d44('0x174')](_0x553b28,_0x3d44('0x15c')))if(_0x1a0bd2[_0x3d44('0x4b')]){if(!_0x1a0bd2[_0x3d44('0x11b')]){if(_0x1a0bd2['containsRangeInObject']){if(!this[_0x3d44('0xe3')]||!Gt(_0x34dc93,_0x2fe526))continue;return _0x34dc93;}if(Gt(_0x34dc93,_0x2fe526))return _0x34dc93;this[_0x3d44('0xd3')](_0x34dc93,_0x553b28['start'],_0x553b28['end']);break;}if(_0x4bc8e9==_0x34dc93[_0x3d44('0x104')]&&Gt(_0x34dc93,_0x2fe526)){const _0x4386f9=_0x34dc93['getFirstRange']();return _0x4386f9['start'][_0x3d44('0x16e')](_0x553b28[_0x3d44('0x125')])?this[_0x3d44('0xb3')](_0x34dc93,this[_0x3d44('0x138')][_0x3d44('0x41')](_0x553b28[_0x3d44('0x94')],_0x4386f9[_0x3d44('0x125')])):this[_0x3d44('0xb3')](_0x34dc93,this[_0x3d44('0x138')]['createRange'](_0x4386f9[_0x3d44('0x94')],_0x553b28['end'])),_0x34dc93;}}const _0x586b46=_0x29546c(),_0x5be2e8=_0x24d7bd['id'],_0x5b12b7=_0x4bc8e9?_0x3d44('0x10d')+_0x4bc8e9:_0x3d44('0x15c'),_0x37fe55=this[_0x3d44('0x172')]({'id':_0x586b46,'type':_0x5b12b7,'createdAt':new Date(),'authorId':_0x5be2e8,'attributes':_0x2fe526});return this[_0x3d44('0x129')](_0x5b12b7,_0x586b46,_0x5be2e8,_0x553b28),_0x37fe55;}[_0x3d44('0xa')](_0x32f37c,_0x372ccc=_0x3d44('0x146'),_0x1eb3d6={}){const _0x3eb311=this['editor'][_0x3d44('0xf5')][_0x3d44('0x62')](_0x3d44('0xc9'))['me'],_0x4eddd8=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0x15c'),_0x372ccc,'join');for(const _0x386364 of this[_0x3d44('0x157')]())if(_0x386364[_0x3d44('0xc2')]['id']==_0x3eb311['id']&&_0x3d44('0x15c')==_0x386364[_0x3d44('0x13f')]&&_0x386364[_0x3d44('0x104')]==_0x372ccc&&Gt(_0x386364,_0x1eb3d6)&&(_0x4eddd8(_0x386364[_0x3d44('0x24')](),_0x32f37c)||_0x4eddd8(_0x32f37c,_0x386364[_0x3d44('0x24')]()))){for(const _0x544608 of _0x32f37c)_0x386364[_0x3d44('0x158')](_0x544608);return _0x386364;}for(const {suggestion:_0x161458,meta:_0x214d93}of this['_findSuggestions'](_0x32f37c,_0x3d44('0x15c'))){if(!_0x214d93[_0x3d44('0x4b')])continue;if(!this['_mergeNestedSuggestions']&&_0x214d93[_0x3d44('0x142')])continue;if(!Gt(_0x161458,_0x1eb3d6))continue;let _0x28ce36=!0x0;for(const _0x26c16a of _0x161458[_0x3d44('0x24')]())for(const _0x59c9b5 of _0x32f37c)if(!_0x26c16a[_0x3d44('0xb2')](_0x59c9b5)){_0x28ce36=!0x1;break;}if(_0x28ce36)return _0x161458;}const _0x59f062=_0x29546c(),_0x55ecbb=_0x3eb311['id'],_0x5c15e7=_0x3d44('0x10d')+_0x372ccc,_0x353c89=this[_0x3d44('0x172')]({'id':_0x59f062,'type':_0x5c15e7,'createdAt':new Date(),'authorId':_0x55ecbb,'attributes':_0x1eb3d6});for(const _0x464972 of _0x32f37c)this['_addSuggestionMarker'](_0x5c15e7,_0x59f062,_0x55ecbb,_0x464972,_0x2a790b[_0x3d44('0x7a')]());return _0x353c89;}[_0x3d44('0x93')](_0x4bbc56,_0x2d7bb1,_0x16f49e=null,_0xdf8b3b={}){if(_0x16f49e=_0x16f49e||Rt(_0x2d7bb1),_0x4bbc56[_0x3d44('0x1')])return null;if(_0x3d44('0x161')===this['_trackFormatChanges']){const _0x3af1e9=this['_suggestionFactory'][_0x3d44('0x1a')]('formatInline',_0x16f49e,_0x3d44('0x176'));return this[_0x3d44('0xc1')](()=>_0x3af1e9([_0x4bbc56],_0x2d7bb1,_0xdf8b3b)),null;}const _0x5e2fcf=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')['me'],_0x226129=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x5381f1,meta:_0x19e2a1}of this[_0x3d44('0x174')](_0x4bbc56,'insertion'))_0x19e2a1[_0x3d44('0x4b')]&&!_0x19e2a1[_0x3d44('0x81')]&&_0x226129[_0x3d44('0xc7')](..._0x5381f1[_0x3d44('0x24')]());const _0x1fa494=function(_0x4a8e01,_0x173540){const _0x3afee8=[];for(const _0x2776cd of _0x173540){const _0x39f16b=_0x4a8e01[_0x3d44('0x0')](_0x2776cd);_0x39f16b&&_0x3afee8[_0x3d44('0xc7')](_0x39f16b);}return _0x3afee8;}(_0x4bbc56,_0x226129),_0x2beab1=function(_0x1e9d07,_0x3e7188){const _0x49a960=[_0x1e9d07];for(const _0x3d75c9 of _0x3e7188){let _0x84c9e8=0x0;for(;_0x84c9e8<_0x49a960[_0x3d44('0x61')];){const _0xf37ca=_0x49a960[_0x84c9e8]['getDifference'](_0x3d75c9);_0x49a960[_0x3d44('0x70')](_0x84c9e8,0x1,..._0xf37ca),_0x84c9e8+=_0xf37ca[_0x3d44('0x61')];}}return _0x49a960;}(_0x4bbc56,_0x226129);_0x1fa494[_0x3d44('0x61')]&&this[_0x3d44('0x138')]['change'](()=>{for(const _0x1f4565 of _0x1fa494){const _0x351148=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0x145'),_0x16f49e,_0x3d44('0x176'));this[_0x3d44('0xc1')](()=>_0x351148([_0x1f4565],_0x2d7bb1,_0xdf8b3b));}});for(const _0x337f14 of _0x2beab1){let _0x59dcc2=null,_0x3f3c0d=_0x337f14['start'],_0xeedb7b=_0x337f14[_0x3d44('0x125')];for(const {suggestion:_0x4eb61e,meta:_0x5e4de4}of this['_findSuggestions'](_0x337f14,_0x3d44('0x145'))){if(!_0x5e4de4[_0x3d44('0x4b')])continue;if(_0x4eb61e[_0x3d44('0x104')]!=_0x16f49e)continue;if(!Gt(_0x4eb61e,_0xdf8b3b))continue;const _0x5bfdcb=_0x4eb61e[_0x3d44('0x51')]();if(_0x5bfdcb[_0x3d44('0xb2')](_0x337f14,!0x0))return null;_0x3f3c0d=_0x3f3c0d[_0x3d44('0x36')](_0x5bfdcb['start'])?_0x3f3c0d:_0x5bfdcb['start'],_0xeedb7b=_0xeedb7b[_0x3d44('0x91')](_0x5bfdcb[_0x3d44('0x125')])?_0xeedb7b:_0x5bfdcb[_0x3d44('0x125')],_0x59dcc2?_0x5bfdcb[_0x3d44('0x94')]['isBefore'](_0x59dcc2[_0x3d44('0x51')]()[_0x3d44('0x94')])?(_0x59dcc2[_0x3d44('0xde')](),_0x59dcc2=_0x4eb61e):_0x4eb61e[_0x3d44('0xde')]():_0x59dcc2=_0x4eb61e;}const _0x472569=this[_0x3d44('0x138')]['createRange'](_0x3f3c0d,_0xeedb7b);if(_0x59dcc2)this[_0x3d44('0xb3')](_0x59dcc2,_0x472569);else{const _0x4eddfc=_0x29546c(),_0x5b5984=_0x5e2fcf['id'];this[_0x3d44('0x172')]({'id':_0x4eddfc,'type':_0x3d44('0xe0')+_0x16f49e,'data':_0x2d7bb1,'createdAt':new Date(),'authorId':_0x5b5984,'attributes':_0xdf8b3b}),this['_addSuggestionMarker'](_0x3d44('0xe0')+_0x16f49e,_0x4eddfc,_0x5b5984,_0x472569);}}return null;}[_0x3d44('0x44')](_0xa9424c,_0x51cf7a,_0xad71d=[],_0x4ebdba=null,_0xe20b6d={}){_0x51cf7a['formatGroupId']||(_0x51cf7a[_0x3d44('0x30')]=_0x51cf7a['commandName']),_0x51cf7a[_0x3d44('0x143')]=_0xa9424c['is'](_0x3d44('0x119')),_0x4ebdba=_0x4ebdba||Rt(_0x51cf7a);const _0x3e93a5=_0xad71d[_0x3d44('0x139')](_0x3101e0=>Ut(_0x3101e0,this[_0x3d44('0x138')])),_0x546cd2=_0xa9424c['is']('range')?_0xa9424c:Ut(_0xa9424c,this[_0x3d44('0x138')]);if('never'===this[_0x3d44('0x137')]){const _0x35bc52=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0xee'),_0x4ebdba,_0x3d44('0x176'));return this[_0x3d44('0xc1')](()=>_0x35bc52([_0x546cd2],_0x51cf7a,_0xe20b6d)),null;}_0x3e93a5['push'](_0x546cd2);let _0x4989d3=!0x0;for(const _0x42c8d6 of _0x3e93a5)if(!this[_0x3d44('0x141')](_0x42c8d6)){_0x4989d3=!0x1;break;}if(_0x4989d3&&_0x3d44('0x13c')!==this[_0x3d44('0x137')]){const _0x3042a2=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x4ebdba,_0x3d44('0x176'));return this[_0x3d44('0xc1')](()=>_0x3042a2([_0x546cd2],_0x51cf7a,_0xe20b6d)),null;}let _0x2dee0f=null,_0x4688f5=_0x546cd2[_0x3d44('0x94')],_0x24962a=_0x546cd2[_0x3d44('0x125')];for(const {suggestion:_0x10482b,meta:_0x26ebb5}of this[_0x3d44('0x174')](_0x546cd2,_0x3d44('0xee'))){if(!_0x26ebb5['isOwn'])continue;if(_0x26ebb5[_0x3d44('0x11b')]||_0x26ebb5[_0x3d44('0x142')]||_0x26ebb5[_0x3d44('0x81')])continue;if(_0x10482b[_0x3d44('0x5b')]['formatGroupId']!=_0x51cf7a[_0x3d44('0x30')])continue;if(!Gt(_0x10482b,_0xe20b6d))continue;const _0x385d3c=_0x10482b['getFirstRange']();if(_0x10482b[_0x3d44('0x104')]==_0x4ebdba){if(_0x385d3c[_0x3d44('0xb2')](_0x546cd2,!0x0))return null;_0x4688f5=_0x4688f5['isBefore'](_0x385d3c['start'])?_0x4688f5:_0x385d3c[_0x3d44('0x94')],_0x24962a=_0x24962a[_0x3d44('0x91')](_0x385d3c[_0x3d44('0x125')])?_0x24962a:_0x385d3c[_0x3d44('0x125')],_0x2dee0f?_0x385d3c['start'][_0x3d44('0x36')](_0x2dee0f[_0x3d44('0x51')]()[_0x3d44('0x94')])?(_0x2dee0f[_0x3d44('0xde')](),_0x2dee0f=_0x10482b):_0x10482b[_0x3d44('0xde')]():_0x2dee0f=_0x10482b;}else{const _0x10a2ac=_0x546cd2[_0x3d44('0x0')](_0x385d3c);this[_0x3d44('0x12f')](_0x10482b,_0x10a2ac);}}const _0x117fb2=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')['me'],_0x9e9be8=_0x29546c(),_0x39f2e7=_0x117fb2['id'];if(_0x2dee0f)return this[_0x3d44('0xb3')](_0x2dee0f,this[_0x3d44('0x138')]['createRange'](_0x4688f5,_0x24962a)),_0x2dee0f;{const _0xe02026=this[_0x3d44('0x172')]({'id':_0x9e9be8,'type':_0x3d44('0x35')+_0x4ebdba,'data':_0x51cf7a,'createdAt':new Date(),'authorId':_0x39f2e7,'attributes':_0xe20b6d});return this[_0x3d44('0x129')](_0x3d44('0x35')+_0x4ebdba,_0x9e9be8,_0x39f2e7,this['_model'][_0x3d44('0x41')](_0x4688f5,_0x24962a)),_0xe02026;}}[_0x3d44('0xd9')](_0x388a00,_0x3f01e0,_0x2b17c2=[],_0x4e05f9=null,_0x3de67f={}){_0x3f01e0[_0x3d44('0x30')]||(_0x3f01e0['formatGroupId']=_0x3f01e0[_0x3d44('0x154')]);const _0x1a998d=_0x388a00[0x0];_0x3f01e0[_0x3d44('0x143')]=_0x1a998d['is'](_0x3d44('0x119')),_0x4e05f9=_0x4e05f9||Rt(_0x3f01e0);const _0x395dbc=_0x2b17c2['map'](_0x1fb362=>Ut(_0x1fb362,this[_0x3d44('0x138')])),_0x37b097=_0x1a998d['is'](_0x3d44('0x119'))?_0x388a00:_0x388a00[_0x3d44('0x139')](_0x43e537=>Ut(_0x43e537,this[_0x3d44('0x138')]));if(_0x3d44('0x161')===this[_0x3d44('0x137')]){const _0x4f8964=this[_0x3d44('0x14e')]['getSuggestionCallback'](_0x3d44('0xee'),_0x4e05f9,_0x3d44('0x176'));return this[_0x3d44('0xc1')](()=>_0x4f8964(_0x37b097,_0x3f01e0,_0x3de67f)),null;}_0x395dbc[_0x3d44('0xc7')](..._0x37b097);let _0x5cdfd7=!0x0;for(const _0x5c0799 of _0x395dbc)if(!this[_0x3d44('0x141')](_0x5c0799)){_0x5cdfd7=!0x1;break;}if(_0x5cdfd7&&_0x3d44('0x13c')!==this['_trackFormatChanges']){const _0x5cc8d5=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0xee'),_0x4e05f9,'accept');return this[_0x3d44('0xc1')](()=>_0x5cc8d5(_0x37b097,_0x3f01e0,_0x3de67f)),null;}const _0x14b5ba=this[_0x3d44('0x181')]['plugins'][_0x3d44('0x62')](_0x3d44('0xc9'))['me'];for(const _0x58cf64 of this[_0x3d44('0x157')]()){if(_0x58cf64[_0x3d44('0xc2')]['id']!=_0x14b5ba['id'])continue;if('formatBlock'!=_0x58cf64[_0x3d44('0x13f')]||_0x58cf64['data'][_0x3d44('0x30')]!=_0x3f01e0[_0x3d44('0x30')])continue;if(!Gt(_0x58cf64,_0x3de67f))continue;const _0x200ccc=_0x58cf64[_0x3d44('0x104')]==_0x4e05f9;for(let _0x13de8a=0x0;_0x13de8a<_0x37b097[_0x3d44('0x61')];_0x13de8a++){const _0x8439f2=_0x37b097[_0x13de8a];for(const _0xd0f128 of _0x58cf64[_0x3d44('0xed')]()){const _0x241f14=_0xd0f128['getRange']();if(_0x8439f2['isEqual'](_0x241f14)){_0x200ccc?(_0x37b097['splice'](_0x13de8a,0x1),_0x13de8a--):_0x58cf64[_0x3d44('0xc8')](_0xd0f128[_0x3d44('0x46')]);break;}}}}if(0x0==_0x37b097['length'])return null;const _0x28430d=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0xee'),_0x4e05f9,_0x3d44('0xe5'));for(const _0x2d577f of this['getSuggestions']())if(_0x2d577f[_0x3d44('0xc2')]['id']==_0x14b5ba['id']&&'formatBlock'==_0x2d577f[_0x3d44('0x13f')]&&_0x2d577f[_0x3d44('0x5b')][_0x3d44('0x30')]==_0x3f01e0[_0x3d44('0x30')]&&_0x2d577f[_0x3d44('0x104')]==_0x4e05f9&&Gt(_0x2d577f,_0x3de67f)&&(_0x28430d(_0x2d577f[_0x3d44('0x24')](),_0x37b097)||_0x28430d(_0x37b097,_0x2d577f[_0x3d44('0x24')]()))){for(const _0x120cc2 of _0x37b097)_0x2d577f[_0x3d44('0x158')](_0x120cc2);return _0x2d577f;}const _0x47fe59=_0x29546c(),_0x243778=_0x14b5ba['id'],_0x27b953='formatBlock:'+_0x4e05f9,_0x10bb8b=this[_0x3d44('0x172')]({'id':_0x47fe59,'type':_0x27b953,'data':_0x3f01e0,'createdAt':new Date(),'authorId':_0x243778,'attributes':_0x3de67f});for(const _0x2df481 of _0x37b097)this[_0x3d44('0x129')](_0x27b953,_0x47fe59,_0x243778,_0x2df481,_0x2a790b[_0x3d44('0x7a')]());return _0x10bb8b;}[_0x3d44('0x183')](_0x3f7cbb,_0x58632e=null,_0x6cf42={}){if(_0x3f7cbb[_0x3d44('0x1')])return null;const _0x26b0b9=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')['me'],_0x345ef5=new _0x168d75(_0x3f7cbb['start'],_0x3f7cbb[_0x3d44('0x125')]);for(const {suggestion:_0x10e265,meta:_0xb809bf}of this[_0x3d44('0x174')](_0x345ef5,_0x3d44('0x15c')))if(_0xb809bf['isOwn']&&!_0xb809bf[_0x3d44('0x11b')]){if(_0x10e265[_0x3d44('0x45')]){const _0x24d88e=_0x10e265[_0x3d44('0x24')]()[_0x3d44('0xa4')](_0x4cd91f=>'$graveyard'!=_0x4cd91f[_0x3d44('0x98')][_0x3d44('0xb')]);_0x24d88e[_0x3d44('0x15d')](_0x490097=>_0x345ef5[_0x3d44('0xb2')](_0x490097,!0x0))&&_0x10e265[_0x3d44('0x11a')]();if(_0x24d88e[_0x3d44('0xd7')](_0x49746d=>_0x49746d[_0x3d44('0xb2')](_0x345ef5,!0x0))){const _0x2322df=this[_0x3d44('0x14e')]['getSuggestionCallback'](_0x3d44('0x27'),_0x58632e,'accept');return this['forceDefaultExecution'](()=>_0x2322df([_0x345ef5],null,_0x6cf42)),null;}}else{const _0x29e16d=_0x345ef5[_0x3d44('0x0')](_0x10e265[_0x3d44('0x51')]());null!==_0x29e16d&&_0x10e265[_0x3d44('0x11f')]([_0x29e16d],null,_0x6cf42);}}if(_0x345ef5['detach'](),_0x345ef5[_0x3d44('0x1')]||_0x3d44('0x79')==_0x345ef5['root'][_0x3d44('0xb')])return null;let _0x4da887=null,_0x49b1b0=_0x345ef5[_0x3d44('0x94')],_0x4f565f=_0x345ef5['end'];const _0x20a712=this[_0x3d44('0x174')](_0x345ef5,_0x3d44('0x27'));for(const {suggestion:_0x1c95a3,meta:_0x4c12c2}of _0x20a712){const _0x39cc51=this[_0x3d44('0x138')]['createRange'](_0x49b1b0,_0x4f565f);if(_0x4c12c2['isOwn']&&(this[_0x3d44('0xe3')]||!_0x4c12c2[_0x3d44('0x142')]&&!_0x4c12c2[_0x3d44('0x81')])){if(_0x1c95a3[_0x3d44('0x45')]){if(!Gt(_0x1c95a3,_0x6cf42))continue;let _0x299829=!0x0;for(const _0xd075ef of _0x1c95a3['getRanges']()){if(_0xd075ef[_0x3d44('0xb2')](_0x39cc51,!0x0))return _0x1c95a3;_0x39cc51[_0x3d44('0xb2')](_0xd075ef)||(_0x299829=!0x1);}_0x299829&&_0x1c95a3[_0x3d44('0x11a')]();}else{const _0x93670f=_0x1c95a3['getFirstRange']();if(_0x93670f[_0x3d44('0xb2')](_0x39cc51,!0x0))return _0x1c95a3;if(!Gt(_0x1c95a3,_0x6cf42)){_0x39cc51[_0x3d44('0xb2')](_0x93670f)?_0x1c95a3[_0x3d44('0xde')]():_0x93670f['containsPosition'](_0x49b1b0)?_0x49b1b0=_0x93670f[_0x3d44('0x125')]:_0x93670f[_0x3d44('0xd')](_0x4f565f)&&(_0x4f565f=_0x93670f[_0x3d44('0x94')]);continue;}_0x49b1b0=_0x49b1b0[_0x3d44('0x36')](_0x93670f[_0x3d44('0x94')])?_0x49b1b0:_0x93670f[_0x3d44('0x94')],_0x4f565f=_0x4f565f[_0x3d44('0x91')](_0x93670f['end'])?_0x4f565f:_0x93670f[_0x3d44('0x125')],_0x6cf42=Object[_0x3d44('0x156')]({},_0x1c95a3[_0x3d44('0xbe')]),_0x4da887?_0x93670f[_0x3d44('0x94')]['isBefore'](_0x4da887['getFirstRange']()[_0x3d44('0x94')])?(_0x4da887[_0x3d44('0xde')](),_0x4da887=_0x1c95a3):_0x1c95a3[_0x3d44('0xde')]():_0x4da887=_0x1c95a3;}}}if(_0x4da887)return this[_0x3d44('0xb3')](_0x4da887,this[_0x3d44('0x138')][_0x3d44('0x41')](_0x49b1b0,_0x4f565f)),_0x4da887;{const _0x17dddd=_0x29546c(),_0x382e79=this['_model'][_0x3d44('0x41')](_0x49b1b0,_0x4f565f),_0x42a860=_0x26b0b9['id'],_0x5d1a31=_0x58632e?_0x3d44('0x55')+_0x58632e:'deletion',_0x114d93=this[_0x3d44('0x172')]({'id':_0x17dddd,'type':_0x5d1a31,'createdAt':new Date(),'authorId':_0x42a860,'attributes':_0x6cf42});return this[_0x3d44('0x129')](_0x5d1a31,_0x17dddd,_0x42a860,_0x382e79),_0x114d93;}}[_0x3d44('0xcf')](_0x205c4a,_0x219e0d='multi',_0xd84252={}){const _0x8f776f=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')['me'],_0x1fb681=_0x205c4a[_0x3d44('0x139')](_0x44549a=>new _0x168d75(_0x44549a[_0x3d44('0x94')],_0x44549a[_0x3d44('0x125')])),_0x46b2f=new Set();for(const {suggestion:_0x2c9890,meta:_0x5829b6}of this[_0x3d44('0x174')](_0x1fb681,_0x3d44('0x15c')))_0x5829b6[_0x3d44('0x4b')]&&!_0x5829b6['isNextTo']&&_0x46b2f[_0x3d44('0x167')](_0x2c9890);for(const _0x35b88e of _0x46b2f)if(_0x35b88e[_0x3d44('0x45')]){const _0x518915=_0x35b88e[_0x3d44('0x24')]();(!_0x35b88e[_0x3d44('0xbe')]||!_0x35b88e['attributes'][_0x3d44('0x66')])&&(_0x518915[_0x3d44('0x15d')](_0xfed5e6=>_0x1fb681[_0x3d44('0xd7')](_0x121712=>_0x121712[_0x3d44('0xb2')](_0xfed5e6,!0x0)))&&_0x35b88e['discard']());if(_0x1fb681['every'](_0x10a081=>_0x518915[_0x3d44('0xd7')](_0x5ae479=>_0x5ae479[_0x3d44('0xb2')](_0x10a081,!0x0)))){const _0x345165=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0x27'),_0x219e0d,_0x3d44('0x176'));return this[_0x3d44('0xc1')](()=>_0x345165(_0x205c4a,null,_0xd84252)),null;}}else{const _0x4c9250=_0x35b88e[_0x3d44('0x51')]();_0x1fb681['some'](_0x3ab753=>_0x3ab753[_0x3d44('0xb2')](_0x4c9250,!0x0))&&_0x35b88e['discard']();if(_0x1fb681[_0x3d44('0x15d')](_0xaf527b=>_0x4c9250[_0x3d44('0xb2')](_0xaf527b,!0x0))){const _0x514e58=this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x3d44('0x27'),_0x219e0d,_0x3d44('0x176'));return this['forceDefaultExecution'](()=>_0x514e58(_0x1fb681,null,_0xd84252)),null;}}const _0x4f8463=this['_suggestionFactory'][_0x3d44('0x1a')](_0x3d44('0x27'),_0x219e0d,_0x3d44('0xe5'));let _0x2f2523=null;for(const _0x16e090 of this[_0x3d44('0x157')]())if(_0x16e090[_0x3d44('0xc2')]['id']==_0x8f776f['id']&&_0x16e090[_0x3d44('0x17')]&&_0x3d44('0x27')==_0x16e090[_0x3d44('0x13f')]&&_0x16e090[_0x3d44('0x104')]==_0x219e0d&&Gt(_0x16e090,_0xd84252)&&(_0x4f8463(_0x16e090['getRanges'](),_0x1fb681)||_0x4f8463(_0x1fb681,_0x16e090['getRanges']()))){if(_0x2f2523){if(_0x16e090['commentThread']&&_0x16e090[_0x3d44('0x50')][_0x3d44('0x61')])continue;for(const _0x36d790 of _0x16e090[_0x3d44('0x24')]())_0x2f2523[_0x3d44('0x107')](_0x36d790)||_0x2f2523[_0x3d44('0x158')](_0x36d790);_0x16e090['removeMarkers']();}else{_0x2f2523=_0x16e090;for(const _0x28ecec of _0x1fb681)_0x16e090[_0x3d44('0x107')](_0x28ecec)||_0x16e090[_0x3d44('0x158')](_0x28ecec);}}if(_0x2f2523)return _0x2f2523;_0x46b2f[_0x3d44('0x113')]();for(const {suggestion:_0xecabc8,meta:_0x3de0ee}of this[_0x3d44('0x174')](_0x1fb681,'deletion'))_0x3de0ee[_0x3d44('0x4b')]&&(this[_0x3d44('0xe3')]||!_0x3de0ee[_0x3d44('0x142')]&&!_0x3de0ee[_0x3d44('0x81')])&&Gt(_0xecabc8,_0xd84252)&&_0x46b2f[_0x3d44('0x167')](_0xecabc8);for(const _0x197d38 of _0x46b2f){const _0x1de423=_0x197d38['getRanges']();if(!_0xd84252||!_0xd84252['skipNestingCheck']){if(_0x1fb681['every'](_0x5d9770=>_0x1de423[_0x3d44('0xd7')](_0x3725e8=>_0x3725e8[_0x3d44('0xb2')](_0x5d9770,!0x0))))return _0x197d38;}(!_0x197d38[_0x3d44('0xbe')]||!_0x197d38[_0x3d44('0xbe')][_0x3d44('0x66')])&&(_0x1de423[_0x3d44('0x15d')](_0x5cd3b2=>_0x1fb681[_0x3d44('0xd7')](_0x3c86c4=>_0x3c86c4[_0x3d44('0xb2')](_0x5cd3b2,!0x0)))&&_0x197d38[_0x3d44('0x11a')]());}const _0x32f14e=_0x29546c(),_0x26bdb5=_0x8f776f['id'],_0x5c937c=_0x3d44('0x55')+_0x219e0d,_0x6d84ce=this[_0x3d44('0x172')]({'id':_0x32f14e,'type':_0x5c937c,'createdAt':new Date(),'authorId':_0x26bdb5,'attributes':_0xd84252});for(const _0x5279f9 of _0x1fb681)_0x5279f9['detach'](),_0x5279f9[_0x3d44('0x1')]||_0x3d44('0x79')==_0x5279f9[_0x3d44('0x98')]['rootName']||this[_0x3d44('0x129')](_0x5c937c,_0x32f14e,_0x26bdb5,_0x5279f9,_0x2a790b[_0x3d44('0x7a')]());return _0x6d84ce;}[_0x3d44('0x10e')](_0x2ba79a,_0x663887,_0x2aa6c2,_0x53fbc4,_0x1307cd){if(_0x2ba79a[_0x3d44('0x1')])return[];if('never'===this[_0x3d44('0x137')])return[];const _0x23077f=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')['me']['id'],_0x4b12da=Array[_0x3d44('0x97')](this[_0x3d44('0x2e')][_0x3d44('0x53')]())[_0x3d44('0xa4')](_0x547145=>_0x3d44('0xd0')==_0x547145[_0x3d44('0x13f')]&&_0x547145[_0x3d44('0x5b')][_0x3d44('0x114')]==_0x663887&&_0x547145[_0x3d44('0x107')](_0x2ba79a));if(_0x3d44('0x106')===this[_0x3d44('0x137')]){const _0x12a0ee=this[_0x3d44('0x174')](_0x2ba79a,_0x3d44('0x15c'))[_0x3d44('0xa4')](({meta:_0x16ddad})=>_0x16ddad[_0x3d44('0x4b')]&&!_0x16ddad[_0x3d44('0x81')]&&!_0x16ddad['isNextTo'])[_0x3d44('0x139')](({suggestion:_0x466edd})=>_0x466edd);_0x4b12da[_0x3d44('0x57')](..._0x12a0ee);}const _0x3f2182=new Map([[_0x2ba79a,_0x2aa6c2]]);for(const _0x336521 of _0x4b12da){const _0x9557c1=_0x3d44('0xd0')==_0x336521[_0x3d44('0x13f')]?_0x336521[_0x3d44('0x5b')][_0x3d44('0x8e')]:void 0x0,_0x43030d=_0x336521[_0x3d44('0x51')](),_0x301e9b=Array[_0x3d44('0x97')](_0x3f2182['keys']())[_0x3d44('0x3')](_0x440680=>_0x440680['isIntersecting'](_0x43030d));if(!_0x301e9b)continue;const _0x24a3f5=_0x301e9b['getDifference'](_0x43030d);this['_isBlockAttribute'](_0x663887)&&_0x3d44('0x15c')==_0x336521['type']&&0x0!=_0x24a3f5[_0x3d44('0x61')]||(_0x3f2182[_0x3d44('0xa3')](_0x301e9b),_0x24a3f5[_0x3d44('0x49')](_0x261288=>{_0x3f2182['set'](_0x261288,_0x2aa6c2);}),'insertion'!=_0x336521[_0x3d44('0x13f')]&&_0x9557c1!=_0x53fbc4&&_0x3f2182[_0x3d44('0x15')](_0x301e9b[_0x3d44('0x0')](_0x43030d),_0x9557c1));}const _0x47d45d=[];for(const [_0x1a5f5e,_0x381c7b]of _0x3f2182){const _0x1a9a31=_0x29546c(),_0x2e6673={'key':_0x663887,'oldValue':_0x381c7b,'newValue':_0x53fbc4};_0x663887[_0x3d44('0x61')]>0x25&&console['warn'](_0x3d44('0x13d'),{'key':_0x663887});const _0x330273=(_0x3d44('0x117')+(_0x663887+'|'+Rt({'newValue':_0x53fbc4})))[_0x3d44('0xe2')](0x0,0x3c),_0x40877f=this['_setSuggestionData']({'id':_0x1a9a31,'type':_0x330273,'data':_0x2e6673,'createdAt':new Date(),'authorId':_0x23077f,'attributes':_0x1307cd});_0x47d45d['push'](_0x40877f),this['_addSuggestionMarker'](_0x330273,_0x1a9a31,_0x23077f,_0x1a5f5e);}return _0x47d45d;}[_0x3d44('0x102')](_0x521ba9){this[_0x3d44('0xef')]['add'](_0x521ba9);}['_registerInlineAttribute'](_0x43da22){this[_0x3d44('0x82')]['add'](_0x43da22);}[_0x3d44('0x84')](_0x4b45d1,_0x168781=[],_0x5d55d6=[]){this[_0x3d44('0x12e')](_0x4b45d1,(_0x46686f,..._0x3626d)=>{this['_recordAttributeChanges'](()=>{_0x46686f(..._0x3626d);});});for(const _0x1a26cd of _0x168781)this[_0x3d44('0xa2')](_0x1a26cd);for(const _0x4d5639 of _0x5d55d6)this[_0x3d44('0x102')](_0x4d5639);}['_setSuggestionRange'](_0x137c9e,_0x145244){const _0x33ab3b=_0x137c9e[_0x3d44('0x19')]();this[_0x3d44('0x138')][_0x3d44('0xf8')](_0x7a6400=>{_0x7a6400[_0x3d44('0xf4')](_0x33ab3b,{'range':_0x145244});});}['_addThreadToSuggestion'](_0x38b4c8){const _0x22e929=_0x38b4c8['id'],_0x18c0b7=this[_0x3d44('0x181')][_0x3d44('0x122')][_0x3d44('0x62')](_0x3d44('0x170'));this['_commentsRepository'][_0x3d44('0x187')](_0x22e929)||this[_0x3d44('0x63')][_0x3d44('0x38')]({'channelId':_0x18c0b7,'threadId':_0x22e929,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x543630=this[_0x3d44('0x63')][_0x3d44('0x2a')](_0x22e929);_0x543630[_0x3d44('0x69')]('isRemovable'),_0x543630['isRemovable']=!0x1,_0x38b4c8[_0x3d44('0x50')]=_0x543630;}[_0x3d44('0x86')](_0x291324,_0xc4cdf4,_0x2bceae,_0x59f6a8){if(_0x291324['type']!=_0xc4cdf4||_0x291324[_0x3d44('0x104')]!=_0x2bceae||_0x291324[_0x3d44('0x6c')]['id']!=_0x59f6a8)throw this['editor'][_0x3d44('0x33')](_0x3d44('0x100')),new _0x1fc595(_0x3d44('0x100'),this);}[_0x3d44('0x12f')](_0x43942a,_0xf948d9){const _0xdc7d2b=_0x43942a[_0x3d44('0x51')]();if(_0xf948d9[_0x3d44('0x16e')](_0xdc7d2b))_0x43942a[_0x3d44('0xde')]();else{if(_0xdc7d2b[_0x3d44('0xb2')](_0xf948d9)){const _0xf81137=this[_0x3d44('0x138')][_0x3d44('0x8b')](_0xf948d9[_0x3d44('0x94')]['nodeBefore'],_0x3d44('0x125'));this['_setSuggestionRange'](_0x43942a,this[_0x3d44('0x138')]['createRange'](_0xdc7d2b[_0x3d44('0x94')],_0xf81137));const _0x46b548=_0x29546c(),_0x204c6e=_0x43942a['creator']['id'],_0x12c794=_0x43942a['type']+':'+_0x43942a[_0x3d44('0x104')];this[_0x3d44('0x172')]({'id':_0x46b548,'type':_0x12c794,'createdAt':new Date(),'authorId':_0x204c6e,'data':_0x43942a[_0x3d44('0x5b')],'attributes':_0x43942a[_0x3d44('0xbe')]});const _0x3447bc=this[_0x3d44('0x138')][_0x3d44('0x8b')](_0xf948d9[_0x3d44('0x125')][_0x3d44('0xfc')],'after'),_0x2963b9=this['_model'][_0x3d44('0x41')](_0x3447bc,_0xdc7d2b['end']);this[_0x3d44('0x129')](_0x12c794,_0x46b548,_0x204c6e,_0x2963b9);}else{if(_0xdc7d2b[_0x3d44('0xd')](_0xf948d9['start'])){const _0x41afce=this[_0x3d44('0x138')]['createPositionAt'](_0xf948d9['start'][_0x3d44('0x39')],_0x3d44('0x125'));this[_0x3d44('0xb3')](_0x43942a,this[_0x3d44('0x138')][_0x3d44('0x41')](_0xdc7d2b[_0x3d44('0x94')],_0x41afce));}else{const _0xdf5f93=this[_0x3d44('0x138')]['createPositionAt'](_0xf948d9[_0x3d44('0x125')][_0x3d44('0xfc')],_0x3d44('0x31'));this[_0x3d44('0xb3')](_0x43942a,this[_0x3d44('0x138')][_0x3d44('0x41')](_0xdf5f93,_0xdc7d2b[_0x3d44('0x125')]));}}}}['_rangeIsInLocalUserInsertion'](_0x169a7c){for(const {suggestion:_0x424877,meta:_0x47c451}of this[_0x3d44('0x174')](_0x169a7c,'insertion')){if(!_0x47c451['isOwn'])continue;const _0x2cc0ce=_0x424877[_0x3d44('0x24')]();for(const _0x1fed0b of _0x2cc0ce)if(!_0x169a7c[_0x3d44('0xaf')](_0x1fed0b)[_0x3d44('0x61')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1f4625){const _0x3d8062=this['editor'][_0x3d44('0xf5')][_0x3d44('0x62')]('Users')[_0x3d44('0x90')](_0x1f4625);if(!_0x3d8062)throw new _0x1fc595(_0x3d44('0xcd'),this);return _0x3d8062;}['_getExternalAuthor'](_0x1e4636){const _0xd6768b=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')](_0x3d44('0xc9')),_0x1abb48=_0x447905(_0x3d44('0xbc')+_0x1e4636),_0x45c458=_0xd6768b[_0x3d44('0x90')](_0x1abb48);return _0x45c458||_0xd6768b[_0x3d44('0x111')]({'id':_0x1abb48,'name':_0x1e4636});}[_0x3d44('0x134')](_0x135d1c,_0x5c14d7,_0x16b4a5,_0x1e10e7,_0xe1793f){const _0x4c6b07=this[_0x3d44('0x1b')](_0x1e10e7),_0x2013b0=this[_0x3d44('0x14e')][_0x3d44('0x4a')](_0x135d1c,_0x5c14d7,_0x16b4a5,_0x4c6b07,_0xe1793f,_0xef595b=>this[_0x3d44('0xa8')](_0x16b4a5,{'attributes':_0xef595b}));return this['listenTo'](_0x2013b0,_0x3d44('0x176'),()=>{this['_updateSuggestionData'](_0x16b4a5,{'state':_0x3d44('0x164')});},{'priority':_0x3d44('0x20')}),this[_0x3d44('0x148')](_0x2013b0,_0x3d44('0x11a'),()=>{this[_0x3d44('0xa8')](_0x16b4a5,{'state':'rejected'});},{'priority':'high'}),this[_0x3d44('0x2e')][_0x3d44('0x15')](_0x16b4a5,_0x2013b0),this[_0x3d44('0xfe')][_0x3d44('0x15')](_0x2013b0,_0x3d44('0x159')),_0x2013b0;}[_0x3d44('0x80')](_0x46fc36){const _0x35f675=_0x46fc36[_0x3d44('0x5a')](':');return{'group':_0x35f675[0x0],'type':_0x35f675[0x1],'subType':_0x35f675['length']>=0x5?_0x35f675[0x2]:null,'id':_0x35f675['length']<0x5?_0x35f675[0x2]:_0x35f675[0x3],'authorId':_0x35f675['length']<0x5?_0x35f675[0x3]:_0x35f675[0x4],'markerCount':0x6==_0x35f675[_0x3d44('0x61')]?_0x35f675[0x5]:null};}[_0x3d44('0xd3')](_0x32ebf4,_0x38647d,_0x2885aa){const _0x1ba5be=_0x32ebf4[_0x3d44('0x51')](),_0x31e36c=_0x1ba5be[_0x3d44('0x94')],_0x27b369=_0x1ba5be[_0x3d44('0x125')];this[_0x3d44('0xb3')](_0x32ebf4,this[_0x3d44('0x138')][_0x3d44('0x41')](_0x31e36c,_0x38647d));const _0x5ee97b=_0x29546c(),_0x572f7f=_0x32ebf4[_0x3d44('0x6c')]['id'],_0x3f37e8=_0x32ebf4['type']+(_0x32ebf4[_0x3d44('0x104')]?':'+_0x32ebf4['subType']:'');this[_0x3d44('0x172')]({'id':_0x5ee97b,'type':_0x3f37e8,'createdAt':new Date(),'authorId':_0x572f7f,'originalSuggestionId':_0x32ebf4['id'],'attributes':_0x32ebf4[_0x3d44('0xbe')],'data':_0x32ebf4['data']});const _0x465fc9=Pt(_0x32ebf4);('formatBlock'==_0x32ebf4[_0x3d44('0x13f')]||_0x465fc9&&this[_0x3d44('0xa0')](_0x465fc9))&&(_0x2885aa=this[_0x3d44('0x138')]['createPositionBefore'](_0x2885aa[_0x3d44('0xfc')])),this[_0x3d44('0x129')](_0x3f37e8,_0x5ee97b,_0x572f7f,this[_0x3d44('0x138')][_0x3d44('0x41')](_0x2885aa,_0x27b369));}[_0x3d44('0x174')](_0x282d1f,_0x3270d9=null){const _0xae1983=[],_0x933b74=this[_0x3d44('0x181')]['plugins'][_0x3d44('0x62')]('Users')['me'];Array[_0x3d44('0xf0')](_0x282d1f)||(_0x282d1f=[_0x282d1f]);for(const _0x45b7aa of this[_0x3d44('0x157')]()){if(!_0x45b7aa['isInContent'])continue;if(_0x3270d9&&_0x45b7aa[_0x3d44('0x13f')]!=_0x3270d9)continue;let _0x5cd865=!0x1;for(const _0x1c5c8 of _0x45b7aa[_0x3d44('0x24')]()){for(const _0x56972b of _0x282d1f){const _0x4a18f4=_0x56972b[_0x3d44('0x94')][_0x3d44('0x16e')](_0x1c5c8['end'])||_0x56972b[_0x3d44('0x125')][_0x3d44('0x16e')](_0x1c5c8['start']);if(_0x4a18f4||_0x56972b[_0x3d44('0x0')](_0x1c5c8)){const _0x48f34a=_0x56972b[_0x3d44('0xb2')](_0x1c5c8)&&Tt(this['_model'][_0x3d44('0x95')],_0x1c5c8[_0x3d44('0x94')],_0x56972b),_0x23f1a1=_0x1c5c8[_0x3d44('0xb2')](_0x56972b)&&Tt(this['_model']['schema'],_0x56972b[_0x3d44('0x94')],_0x1c5c8);_0xae1983['push']({'suggestion':_0x45b7aa,'meta':{'isOwn':_0x933b74==_0x45b7aa[_0x3d44('0xc2')],'isNextTo':_0x4a18f4,'isInsideObject':_0x48f34a,'containsRangeInObject':_0x23f1a1}}),_0x5cd865=!0x0;break;}}if(_0x5cd865)break;}}return _0xae1983;}[_0x3d44('0x129')](_0x491872,_0xe0466,_0x1815e6,_0x194805,_0x36d455){this[_0x3d44('0x138')][_0x3d44('0xf8')](_0xf00d0e=>{let _0x40f40d=_0x3d44('0x5')+_0x491872+':'+_0xe0466+':'+_0x1815e6;_0x36d455&&(_0x40f40d=_0x40f40d+':'+_0x36d455),_0xf00d0e[_0x3d44('0x9d')](_0x40f40d,{'range':_0x194805,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3d44('0x1f')](_0x3e6047){const _0x200fed=_0x3e6047[_0x3d44('0x23')],_0x5b7a1a=_0x3e6047['next'];_0x3e6047[_0x3d44('0x23')]=null,_0x3e6047['next']=null,null!=_0x200fed&&(_0x200fed[_0x3d44('0x40')]=_0x5b7a1a),null!=_0x5b7a1a&&(_0x5b7a1a['previous']=_0x200fed),_0x3d44('0xa6')==this[_0x3d44('0xfe')]['get'](_0x3e6047)&&(this[_0x3d44('0xfe')]['set'](_0x3e6047,_0x3d44('0xf1')),this[_0x3d44('0x4e')](_0x3d44('0xfb'),_0x3e6047,_0x200fed,_0x5b7a1a));}[_0x3d44('0x172')](_0x532fc8){const _0x3f1db2=_0x532fc8['id'],_0x2eb498=this[_0x3d44('0x127')](_0x532fc8);if(this[_0x3d44('0x168')]&&this[_0x3d44('0x168')][_0x3d44('0x5e')]){const _0x56bc86=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')]('PendingActions'),_0x79e742=_0x2eb498[_0x3d44('0xf6')],_0x5138f1=_0x2eb498[_0x3d44('0x104')]?_0x2eb498[_0x3d44('0x13f')]+':'+_0x2eb498[_0x3d44('0x104')]:_0x2eb498[_0x3d44('0x13f')],_0x175373=this[_0x3d44('0x181')][_0x3d44('0xb0')],_0x44517c=_0x56bc86[_0x3d44('0x167')](_0x5a27af(_0x175373,'PENDING_ACTION_SUGGESTION')),_0x4c3c88={'id':_0x3f1db2,'type':_0x5138f1,'hasComments':_0x79e742,'data':_0x532fc8[_0x3d44('0x5b')]||null,'originalSuggestionId':_0x532fc8[_0x3d44('0x6b')]||null,'attributes':_0x2eb498[_0x3d44('0xbe')]};this[_0x3d44('0x168')][_0x3d44('0x5e')](_0x4c3c88)[_0x3d44('0xc3')](_0x19bb9e=>{_0x2eb498[_0x3d44('0x13b')]=!0x0,_0x56bc86['remove'](_0x44517c),_0x19bb9e&&_0x19bb9e[_0x3d44('0x12c')]&&(this[_0x3d44('0x2e')][_0x3d44('0x62')](_0x3f1db2)[_0x3d44('0x12c')]=_0x19bb9e[_0x3d44('0x12c')]);})[_0x3d44('0x16')](_0xd76464=>{throw _0x1f709f(_0x3d44('0x136')),this[_0x3d44('0x181')][_0x3d44('0xdf')][_0x3d44('0x131')]({'isUndoable':!0x1},()=>{_0x2eb498[_0x3d44('0x11a')]();}),_0x2eb498[_0x3d44('0x65')](),this[_0x3d44('0x2e')][_0x3d44('0xa3')](_0x2eb498['id']),this['_suggestionState'][_0x3d44('0xa3')](_0x2eb498),_0xd76464;});}return _0x2eb498;}[_0x3d44('0xa0')](_0x18ef55){return this[_0x3d44('0xef')][_0x3d44('0x108')](_0x18ef55);}[_0x3d44('0xa8')](_0x5916b2,_0x51f9a5){const _0x5eb254=this[_0x3d44('0x181')][_0x3d44('0xf5')][_0x3d44('0x62')](_0x3d44('0x54')),_0x280d1e=this['getSuggestion'](_0x5916b2);if(this[_0x3d44('0x168')]&&this[_0x3d44('0x168')][_0x3d44('0x17f')]){if(_0x280d1e[_0x3d44('0x13b')]){const _0x2503de=_0x5eb254[_0x3d44('0x167')](_0x5a27af(this['editor'][_0x3d44('0xb0')],_0x3d44('0x130')));this[_0x3d44('0x168')][_0x3d44('0x17f')](_0x5916b2,_0x51f9a5)[_0x3d44('0xc3')](()=>{_0x5eb254[_0x3d44('0xfa')](_0x2503de);});}else _0x280d1e['on']('change:_saved',()=>{this[_0x3d44('0xa8')](_0x5916b2,_0x51f9a5);});}}[_0x3d44('0x165')](_0x204210){if(!this[_0x3d44('0x168')]||!this['_adapter']['getSuggestion'])throw new _0x1fc595(_0x3d44('0x8d'),this);return this[_0x3d44('0x168')][_0x3d44('0x15b')](_0x204210);}[_0x3d44('0xb6')](_0x96f46){const {id:_0x170021,type:_0xba535e,subType:_0xf17626,authorId:_0x65b489}=this[_0x3d44('0x80')](_0x96f46),_0x1c9eba=this[_0x3d44('0x2e')]['get'](_0x170021)||this[_0x3d44('0x134')](_0xba535e,_0xf17626,_0x170021,_0x65b489,{});switch(this['_checkSuggestionCorrectness'](_0x1c9eba,_0xba535e,_0xf17626,_0x65b489),this[_0x3d44('0xfe')][_0x3d44('0x62')](_0x1c9eba)){case _0x3d44('0x159'):this[_0x3d44('0x165')](_0x170021)['then'](_0x45465d=>{let _0x257808=Promise[_0x3d44('0x177')]();_0x45465d[_0x3d44('0xf6')]&&(_0x257808=this[_0x3d44('0x63')][_0x3d44('0x184')]({'channelId':this[_0x3d44('0x181')][_0x3d44('0x122')][_0x3d44('0x62')](_0x3d44('0x170')),'threadId':_0x170021})),_0x257808[_0x3d44('0xc3')](()=>{this['addSuggestionData'](_0x45465d)[_0x3d44('0x13b')]=!0x0;});}),this['_suggestionState'][_0x3d44('0x15')](_0x1c9eba,'markerReady');break;case _0x3d44('0xf1'):this[_0x3d44('0xa8')](_0x170021,{'state':_0x3d44('0x144')});case _0x3d44('0x118'):this[_0x3d44('0xfe')]['set'](_0x1c9eba,_0x3d44('0xa6')),this[_0x3d44('0x4e')]('suggestionLoaded',_0x1c9eba);break;case _0x3d44('0xa6'):this[_0x3d44('0x4e')]('suggestionChanged',_0x1c9eba);}return _0x1c9eba[_0x3d44('0x52')](_0x96f46),_0x1c9eba;}[_0x3d44('0x75')](_0x2284b9){const _0x588406=Array[_0x3d44('0x97')](_0x2284b9),_0x23e78c=_0x588406[_0x3d44('0xa4')](_0x105e5e=>'attribute'==_0x105e5e['type']);this[_0x3d44('0x152')](_0x23e78c);const _0x2f5f64=_0x588406['filter'](_0xf44d92=>!_0xf44d92[_0x3d44('0x45')]&&'attribute'!=_0xf44d92[_0x3d44('0x13f')]),_0x46fd4c=this[_0x3d44('0x157')]({'skipNotAttached':!0x0})[_0x3d44('0xa4')](_0x422fd9=>!_0x422fd9[_0x3d44('0x45')]&&_0x3d44('0xd0')!=_0x422fd9['type']),_0x1af6f9=_0x46fd4c[_0x3d44('0xa4')](_0x2ec575=>!_0x2284b9['has'](_0x2ec575)),_0x1e9393=new Map(_0x46fd4c[_0x3d44('0x139')](_0x39c78b=>[_0x39c78b,this[_0x3d44('0x14e')][_0x3d44('0x1a')](_0x39c78b[_0x3d44('0x13f')],_0x39c78b[_0x3d44('0x104')],_0x3d44('0x10c'))])),_0x17cc93=new Map(_0x46fd4c[_0x3d44('0x139')](_0x572bd6=>[_0x572bd6,_0x572bd6[_0x3d44('0x51')]()])),_0x4f4d35=new Set(),_0x592b5c=new Set();for(let _0x2a556c=0x0;_0x2a556c<_0x2f5f64['length'];_0x2a556c++)_0x29408b(_0x2f5f64[_0x2a556c],_0x2f5f64,_0x2a556c+0x1);for(let _0x1058ea=0x0;_0x1058ea<_0x2f5f64[_0x3d44('0x61')];_0x1058ea++)_0x29408b(_0x2f5f64[_0x1058ea],_0x1af6f9,0x0);const _0x392bfb=new Set();for(let _0xd84be7=0x0;_0xd84be7<_0x2f5f64['length'];_0xd84be7++){const _0x3e9c4b=_0x2f5f64[_0xd84be7];!_0x592b5c[_0x3d44('0x108')](_0x3e9c4b)&&_0x3e9c4b[_0x3d44('0x23')]&&(_0x392bfb[_0x3d44('0x167')](_0x3e9c4b[_0x3d44('0x23')]),_0x3e9c4b[_0x3d44('0x23')][_0x3d44('0x40')]===_0x3e9c4b&&(_0x3e9c4b[_0x3d44('0x23')][_0x3d44('0x40')]=null),_0x3e9c4b[_0x3d44('0x23')]=null),!_0x4f4d35[_0x3d44('0x108')](_0x3e9c4b)&&_0x3e9c4b[_0x3d44('0x40')]&&(_0x392bfb[_0x3d44('0x167')](_0x3e9c4b['next']),_0x3e9c4b['next'][_0x3d44('0x23')]===_0x3e9c4b&&(_0x3e9c4b['next'][_0x3d44('0x23')]=null),_0x3e9c4b[_0x3d44('0x40')]=null);}function _0x29408b(_0x5edc3b,_0x103b54,_0x5eeea6){for(let _0x392465=_0x5eeea6;_0x392465<_0x103b54[_0x3d44('0x61')];_0x392465++){const _0x17f7a9=_0x3c1786(_0x5edc3b,_0x103b54[_0x392465]);_0x17f7a9&&(_0x17f7a9[0x0][_0x3d44('0x40')]=_0x17f7a9[0x1],_0x17f7a9[0x1][_0x3d44('0x23')]=_0x17f7a9[0x0],_0x4f4d35[_0x3d44('0x167')](_0x17f7a9[0x0]),_0x592b5c[_0x3d44('0x167')](_0x17f7a9[0x1]));}}function _0x3c1786(_0x3ca171,_0x338cd5){if(_0x3ca171['author']['id']!==_0x338cd5[_0x3d44('0xc2')]['id'])return null;const _0x3a043e=_0x1e9393[_0x3d44('0x62')](_0x3ca171)(_0x3ca171,_0x338cd5,_0x17cc93[_0x3d44('0x62')](_0x3ca171),_0x17cc93[_0x3d44('0x62')](_0x338cd5));if(!_0x3a043e)return null;return _0x1e9393['get'](_0x338cd5)(_0x3ca171,_0x338cd5,_0x17cc93[_0x3d44('0x62')](_0x3ca171),_0x17cc93[_0x3d44('0x62')](_0x338cd5))?_0x3a043e[0x1][_0x3d44('0x50')]&&_0x3a043e[0x1]['commentThread'][_0x3d44('0x61')]?null:_0x3a043e:null;}_0x392bfb['size']&&this[_0x3d44('0x75')](_0x392bfb);}['_refreshAttributeSuggestionsChain'](_0x478a38){if(0x0==_0x478a38['length'])return;const _0x1d061c=this[_0x3d44('0x157')]({'skipNotAttached':!0x0})[_0x3d44('0xa4')](_0x50447e=>'attribute'==_0x50447e['type']&&_0x50447e['_isDataLoaded']),_0xf7bbe7=[],_0x53e3e4=new Map();for(const _0x4813df of _0x1d061c){const _0x1996b4=_0x447905(_0x4813df[_0x3d44('0xbe')]);_0x53e3e4[_0x3d44('0x108')](_0x1996b4)||(_0x53e3e4[_0x3d44('0x15')](_0x1996b4,_0xf7bbe7[_0x3d44('0x61')]),_0xf7bbe7[_0x3d44('0xc7')]([]));const _0x2f3579=_0x53e3e4['get'](_0x1996b4);_0xf7bbe7[_0x2f3579][_0x3d44('0xc7')](_0x4813df);}!function(){_0xf7bbe7[_0x3d44('0x77')]((_0x45a97a,_0x592c9b)=>{const _0x504536=_0x45a97a[0x0]['createdAt'],_0x2c083a=_0x592c9b[0x0][_0x3d44('0x12c')];return _0x504536==_0x2c083a?_0x45a97a[0x0][_0x3d44('0xbe')][_0x3d44('0x3b')]<_0x592c9b[0x0][_0x3d44('0xbe')][_0x3d44('0x3b')]?-0x1:0x1:_0x504536<_0x2c083a?-0x1:0x1;});for(const _0x574bdb of _0xf7bbe7)_0x574bdb[_0x3d44('0x77')]((_0x57a234,_0x2b9295)=>_0x57a234['id']<_0x2b9295['id']?-0x1:0x1);}();for(let _0x96909e=0x0;_0x96909e<_0xf7bbe7[_0x3d44('0x61')];_0x96909e++){if(0x0==_0xf7bbe7[_0x96909e]['length'])continue;const _0x24198e=[];for(let _0x15b319=_0x96909e+0x1;_0x15b319<_0xf7bbe7[_0x3d44('0x61')];_0x15b319++)0x0!=_0xf7bbe7[_0x15b319][_0x3d44('0x61')]&&_0x378802(_0xf7bbe7[_0x96909e],_0xf7bbe7[_0x15b319])&&_0x24198e['push'](_0x15b319);for(const _0x30754e of _0x24198e)_0xf7bbe7[_0x96909e]=_0xf7bbe7[_0x96909e][_0x3d44('0xbb')](_0xf7bbe7[_0x30754e]),_0xf7bbe7[_0x30754e]=[];}for(const _0x3b733a of _0xf7bbe7)for(let _0x5f47b6=0x0;_0x5f47b6<_0x3b733a[_0x3d44('0x61')];_0x5f47b6++)_0x3b733a[_0x5f47b6][_0x3d44('0x40')]=_0x3b733a[_0x5f47b6+0x1]||null;for(const _0xe0d18d of _0xf7bbe7)for(let _0x47dc73=0x0;_0x47dc73<_0xe0d18d[_0x3d44('0x61')];_0x47dc73++)_0xe0d18d[_0x47dc73][_0x3d44('0x23')]=_0xe0d18d[_0x47dc73-0x1]||null;function _0x378802(_0xff6b04,_0x5e5648){if(_0xff6b04[0x0][_0x3d44('0xc2')]!==_0x5e5648[0x0][_0x3d44('0xc2')])return!0x1;if(!function(_0x525b45,_0xa0a25c){if(!_0x525b45[_0x3d44('0xf6')]&&!_0xa0a25c[_0x3d44('0xf6')])return!0x0;if(_0x525b45['hasComments']&&_0xa0a25c[_0x3d44('0xf6')])return!0x1;if(_0x525b45[_0x3d44('0xf6')]&&_0xa0a25c[_0x3d44('0x12c')]<_0x525b45[_0x3d44('0x50')]['comments'][_0x3d44('0x62')](0x0)[_0x3d44('0x12c')])return!0x0;if(_0xa0a25c['hasComments']&&_0x525b45['createdAt']<_0xa0a25c[_0x3d44('0x50')][_0x3d44('0x149')][_0x3d44('0x62')](0x0)['createdAt'])return!0x0;return!0x1;}(_0xff6b04[0x0],_0x5e5648[0x0]))return!0x1;const _0x900e16=_0x4535c7(_0xff6b04[0x0]['attributes'],'groupId'),_0x1a0598=_0x4535c7(_0x5e5648[0x0][_0x3d44('0xbe')],_0x3d44('0x3b'));if(!_0x2295dd(_0x900e16,_0x1a0598))return!0x1;return!!_0xff6b04[_0x3d44('0x15d')](_0x5bd5fa=>_0x5e5648[_0x3d44('0xd7')](_0x46883=>_0x5bd5fa[_0x3d44('0x51')]()[_0x3d44('0x16e')](_0x46883[_0x3d44('0x51')]())))&&_0x5e5648['every'](_0x5438d1=>_0xff6b04['some'](_0x2b224b=>_0x5438d1[_0x3d44('0x51')]()[_0x3d44('0x16e')](_0x2b224b[_0x3d44('0x51')]())));}}[_0x3d44('0x34')](_0x89e801){const _0x459ac8=Array['from'](_0x89e801),_0x19972a=this['getSuggestions']({'skipNotAttached':!0x0}),_0x27511d=_0x19972a[_0x3d44('0xa4')](_0x24182a=>!_0x89e801['has'](_0x24182a)),_0x48243d=new Map(_0x459ac8['map'](_0x4fc097=>[_0x4fc097,this[_0x3d44('0x14e')]['getSuggestionCallback'](_0x4fc097['type'],_0x4fc097['subType'],_0x3d44('0xe5'))])),_0x5cb9d2=new Map(_0x19972a[_0x3d44('0x139')](_0x99d2e6=>[_0x99d2e6,_0x99d2e6['getRanges']()]));for(let _0xcedb06=0x0;_0xcedb06<_0x459ac8[_0x3d44('0x61')];_0xcedb06++){if(_0x33838c(this,_0x459ac8[_0xcedb06],_0x459ac8,_0xcedb06+0x1))return!0x0;}for(let _0x53423d=0x0;_0x53423d<_0x459ac8[_0x3d44('0x61')];_0x53423d++){if(_0x33838c(this,_0x459ac8[_0x53423d],_0x27511d,0x0))return!0x0;}return!0x1;function _0x33838c(_0x2b492c,_0x56dc92,_0x403657,_0x34fcb8){for(let _0x2aa873=_0x34fcb8;_0x2aa873<_0x403657['length'];_0x2aa873++){const _0x43e5fb=_0x403657[_0x2aa873];if(_0x43e5fb['type']!==_0x56dc92[_0x3d44('0x13f')]||_0x43e5fb[_0x3d44('0xc2')]['id']!==_0x56dc92[_0x3d44('0xc2')]['id']||_0x43e5fb[_0x3d44('0x104')]!==_0x56dc92['subType'])continue;if(!Vt(_0x56dc92,_0x43e5fb))continue;if(_0x3d44('0xd0')==_0x56dc92[_0x3d44('0x13f')]&&_0x56dc92['data'][_0x3d44('0x8e')]!=_0x43e5fb['data'][_0x3d44('0x8e')])continue;if(_0x3d44('0xd0')==_0x56dc92[_0x3d44('0x13f')]&&_0x2b492c['_isBlockAttribute'](_0x56dc92['data']['key']))continue;if('formatBlock'==_0x56dc92[_0x3d44('0x13f')]){const _0x2eb4c9=_0x2b492c[_0x3d44('0x181')][_0x3d44('0xdf')],_0x16b194=_0x56dc92[_0x3d44('0xdd')]();if(_0x16b194&&(_0x2eb4c9[_0x3d44('0x95')][_0x3d44('0x18')](_0x16b194)||_0x2eb4c9[_0x3d44('0x95')][_0x3d44('0x3a')](_0x16b194)))continue;}const _0x498879=_0x48243d[_0x3d44('0x62')](_0x56dc92),_0x13099c=_0x5cb9d2[_0x3d44('0x62')](_0x56dc92),_0x1f27b5=_0x5cb9d2[_0x3d44('0x62')](_0x43e5fb),_0x334755=_0x56dc92[_0x3d44('0x50')]&&_0x56dc92[_0x3d44('0x50')]['length'],_0x11e553=_0x43e5fb[_0x3d44('0x50')]&&_0x43e5fb[_0x3d44('0x50')][_0x3d44('0x61')];if(!_0x334755&&_0x498879(_0x1f27b5,_0x13099c))return _0x2b492c[_0x3d44('0x17d')](_0x43e5fb,_0x56dc92),_0x5cb9d2[_0x3d44('0xa3')](_0x56dc92),!0x0;if(!_0x11e553&&_0x498879(_0x13099c,_0x1f27b5))return _0x2b492c[_0x3d44('0x17d')](_0x56dc92,_0x43e5fb),_0x5cb9d2[_0x3d44('0xa3')](_0x43e5fb),!0x0;}return!0x1;}}[_0x3d44('0x17d')](_0x5a1d55,_0x146f1d){if(_0x5a1d55['isMultiRange'])for(const _0x21c2cf of _0x146f1d['getRanges']())_0x5a1d55[_0x3d44('0x158')](_0x21c2cf);else{const _0x53e693=_0x146f1d[_0x3d44('0x51')]()['end'];this[_0x3d44('0xb3')](_0x5a1d55,this[_0x3d44('0x138')][_0x3d44('0x41')](_0x5a1d55[_0x3d44('0x51')]()[_0x3d44('0x94')],_0x53e693));}_0x146f1d[_0x3d44('0xde')]();}['_getMarkerAnnouncementText'](_0x38adf9,_0x1ad154){const _0x52c40e=_0x38adf9[_0x3d44('0x16f')](_0x3d44('0x43'))||_0x38adf9[_0x3d44('0x16f')](_0x3d44('0xd0'))?_0x3d44('0x28'):_0x38adf9[_0x3d44('0x26')]();return _0x5a27af(this['editor']['locale'],_0x1ad154+'_'+_0x52c40e+_0x3d44('0x13a'));}[_0x3d44('0x21')](){const _0xa4ee58=this['editor'];_0x356a0c(this[_0x3d44('0x138')],({left:_0x5ded05,entered:_0x2f7282})=>{const _0x2eadef=[];for(const _0x3499ae of _0x5ded05){const {group:_0x6dbbef,type:_0x361159}=this['_splitMarkerName'](_0x3499ae[_0x3d44('0x46')]);if(_0x3d44('0xa1')===_0x6dbbef){_0x2eadef['push'](this[_0x3d44('0x15e')](_0x361159,_0x3d44('0x92')));break;}}for(const _0x2305c1 of _0x2f7282){const {group:_0x126458,type:_0x4e0e4b}=this[_0x3d44('0x80')](_0x2305c1[_0x3d44('0x46')]);if(_0x3d44('0xa1')===_0x126458){_0x2eadef['push'](this['_getMarkerAnnouncementText'](_0x4e0e4b,_0x3d44('0xcb')));break;}}_0x2eadef[_0x3d44('0x61')]&&_0xa4ee58['ui']['ariaLiveAnnouncer'][_0x3d44('0x162')]('trackChanges',_0x2eadef['join']('\x20'));});}['_processAttributeChanges'](_0x14900d){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x19d759=this[_0x3d44('0x181')],_0x2ac9df=_0x19d759[_0x3d44('0xdf')][_0x3d44('0x6a')][_0x3d44('0x87')]['getChanges']();if(0x0==_0x2ac9df[_0x3d44('0x61')])return!0x1;const _0x3e9dbc=[],_0x5ab850=_0x2ac9df[_0x3d44('0xa4')](_0x130200=>_0x3d44('0xd0')==_0x130200[_0x3d44('0x13f')]),_0x28457e=_0x2ac9df[_0x3d44('0xa4')](_0x18a01e=>_0x3d44('0x68')==_0x18a01e['type']&&_0x3d44('0x2c')!=_0x18a01e[_0x3d44('0x46')]),_0x3a8f66=_0x2ac9df[_0x3d44('0xa4')](_0x54e4a9=>'remove'==_0x54e4a9[_0x3d44('0x13f')]&&_0x3d44('0x2c')!=_0x54e4a9['name']);for(const _0x3f7dc3 of _0x5ab850)_0x3e9dbc[_0x3d44('0xc7')]({'key':_0x3f7dc3[_0x3d44('0x14c')],'newValue':_0x3f7dc3['attributeNewValue'],'oldValue':_0x3f7dc3['attributeOldValue'],'range':_0x536cbd(_0x3f7dc3[_0x3d44('0x119')])});for(const _0x3238b7 of _0x28457e){const _0x237747=_0x3a8f66[_0x3d44('0x3')](_0x4f8f8a=>_0x4f8f8a['position']['isEqual'](_0x3238b7[_0x3d44('0x14f')]));_0x237747&&_0x3e9dbc[_0x3d44('0xc7')]({'key':_0x3d44('0x29'),'newValue':_0x3238b7[_0x3d44('0x46')],'oldValue':_0x237747[_0x3d44('0x46')],'range':_0x19d759[_0x3d44('0xdf')]['createRangeOn'](_0x3238b7[_0x3d44('0x14f')][_0x3d44('0x132')])});}return 0x0!=_0x3e9dbc[_0x3d44('0x61')]&&this[_0x3d44('0x5f')](_0x14900d,_0x3e9dbc);function _0x536cbd(_0x3e9d16){return null==_0x3e9d16[_0x3d44('0x125')]['nodeBefore']&&_0x3e9d16[_0x3d44('0x125')]['parent']==_0x3e9d16[_0x3d44('0x94')][_0x3d44('0x132')]?Ut(_0x3e9d16[_0x3d44('0x94')][_0x3d44('0x132')],_0x19d759[_0x3d44('0xdf')]):_0x3e9d16;}}[_0x3d44('0x7e')](_0x587591){let _0x226a40=!0x1;const _0x25a4cb=this['editor'][_0x3d44('0xdf')][_0x3d44('0x6a')]['differ'][_0x3d44('0x71')]()[_0x3d44('0xa4')](_0x2ad004=>_0x2ad004[_0x3d44('0x5b')]['newRange']&&_0x2ad004[_0x3d44('0x46')][_0x3d44('0x16f')](_0x3d44('0x8')));for(const _0x34f20f of _0x25a4cb){const {subType:_0x4fc467,id:_0x11e134}=this[_0x3d44('0x80')](_0x34f20f[_0x3d44('0x46')]),_0x422084=_0x4fc467[_0x3d44('0x5a')]('|')[0x0];for(const _0x4a6766 of this[_0x3d44('0x157')]({'skipNotAttached':!0x0}))_0x4a6766['id']!=_0x11e134&&_0x3d44('0xd0')==_0x4a6766[_0x3d44('0x13f')]&&_0x4a6766['data']&&_0x4a6766[_0x3d44('0x5b')][_0x3d44('0x114')]==_0x422084&&_0x4a6766[_0x3d44('0x51')]()[_0x3d44('0xdc')](_0x34f20f[_0x3d44('0x5b')]['newRange'])&&(this[_0x3d44('0x7c')](_0x4a6766,_0x34f20f[_0x3d44('0x5b')]['newRange'],_0x587591),_0x226a40=!0x0);}return _0x226a40;}[_0x3d44('0x96')](_0x22b96a){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x22b96a();const _0x3cf9dd=this[_0x3d44('0x181')];this[_0x3d44('0xc5')]=_0x3cf9dd[_0x3d44('0xdf')][_0x3d44('0x6a')][_0x3d44('0x88')],_0x22b96a();const _0x2ccfd1=new Map();for(const _0x383946 of _0x3cf9dd['model']['document'][_0x3d44('0xfd')][_0x3d44('0x32')](this[_0x3d44('0xc5')]))if([_0x3d44('0x3c'),_0x3d44('0x10'),_0x3d44('0xeb'),_0x3d44('0x112')][_0x3d44('0x155')](_0x383946['type'])){const _0x550857=_0x383946[_0x3d44('0x179')],_0x4a7d1b=_0x2ccfd1[_0x3d44('0x62')](_0x550857)||[];_0x4a7d1b['push'](_0x383946),_0x2ccfd1[_0x3d44('0x15')](_0x550857,_0x4a7d1b);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x2c29d7,_0x386d83]of _0x2ccfd1){const _0x328bd5=_0x29546c();_0x3cf9dd[_0x3d44('0xdf')][_0x3d44('0x131')](_0x2c29d7,_0x241b7e=>{const _0x256e43=[];for(const _0xf7f364 of _0x386d83){let _0x156344,_0xe51820,_0x4f2e22,_0x55659d;if('rename'==_0xf7f364[_0x3d44('0x13f')]){const _0x2b2f76=_0xf7f364;_0x156344=Ut(_0x2b2f76[_0x3d44('0x14f')][_0x3d44('0x132')],_0x3cf9dd[_0x3d44('0xdf')]),_0xe51820=_0x3d44('0x29'),_0x4f2e22=_0x2b2f76[_0x3d44('0x128')],_0x55659d=_0x2b2f76[_0x3d44('0x10b')];}else{const _0x6737ed=_0xf7f364,_0x5f46df=this['_isBlockAttribute'](_0x6737ed[_0x3d44('0x114')]),_0x544c0f=this[_0x3d44('0x82')][_0x3d44('0x108')](_0x6737ed[_0x3d44('0x114')]);if(!_0x5f46df&&!_0x544c0f)continue;_0x156344=_0x5f46df?Ut(_0x6737ed['range']['start'][_0x3d44('0x132')],_0x3cf9dd[_0x3d44('0xdf')]):_0x6737ed[_0x3d44('0x119')],_0xe51820=_0x6737ed[_0x3d44('0x114')],_0x4f2e22='removeAttribute'==_0xf7f364[_0x3d44('0x13f')]?void 0x0:_0x6737ed[_0x3d44('0x9')],_0x55659d=_0x6737ed[_0x3d44('0x8e')];}this[_0x3d44('0x10e')](_0x156344,_0xe51820,_0x55659d,_0x4f2e22,{'groupId':_0x328bd5}),_0x256e43[_0x3d44('0xc7')]({'range':_0x156344,'key':_0xe51820,'newValue':_0x4f2e22,'oldValue':_0x55659d});}this[_0x3d44('0x5f')](_0x241b7e,_0x256e43);});}}[_0x3d44('0x5f')](_0x257d03,_0x3e8a18){if(0x0==_0x3e8a18[_0x3d44('0x61')])return!0x1;let _0x319593=!0x1;for(const _0xa51627 of _0x3e8a18){const _0x19365f=this[_0x3d44('0x174')](_0xa51627[_0x3d44('0x119')],'attribute')[_0x3d44('0xa4')](_0x279de3=>!_0x279de3[_0x3d44('0x185')][_0x3d44('0x11b')])[_0x3d44('0x139')](_0x35cc02=>_0x35cc02[_0x3d44('0xa1')]),_0x4cea4e=_0x447905({'newValue':_0xa51627['newValue']});_0x19365f[_0x3d44('0xa4')](_0x841a43=>{const [_0x47141d,_0x192ae9]=_0x841a43[_0x3d44('0x104')][_0x3d44('0x5a')]('|');return _0x47141d==_0xa51627[_0x3d44('0x114')]&&_0x192ae9!=_0x4cea4e;})['forEach'](_0x3147d9=>{this[_0x3d44('0x7c')](_0x3147d9,_0xa51627['range'],_0x257d03),_0x319593=!0x0;});}return _0x319593;}[_0x3d44('0x7c')](_0x3083d8,_0x212ac1,_0x1bb7a0){const _0x9e3ebe=_0x3083d8['getFirstRange']()[_0x3d44('0xaf')](_0x212ac1);0x0!==_0x9e3ebe[_0x3d44('0x61')]?0x1!==_0x9e3ebe[_0x3d44('0x61')]?this['_breakSuggestionMarker'](_0x3083d8,_0x212ac1['start'],_0x212ac1[_0x3d44('0x125')]):this['_setSuggestionRange'](_0x3083d8,_0x9e3ebe[0x0]):_0x1bb7a0[_0x3d44('0xc8')](_0x3083d8['getFirstMarker']());}}class Bt{constructor(_0x3f5432){this[_0x3d44('0xd5')]=_0x3f5432,this[_0x3d44('0x138')]=_0x3f5432[_0x3d44('0xdf')],this[_0x3d44('0x15f')]=new Map(),this[_0x3d44('0x13e')]=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x3c5ad4,_0x2c0a45,_0x57eb8f,_0x21c5a2,_0x33e765,_0x297e9f){return new _0x2a790b(this[_0x3d44('0x138')],{'type':_0x3c5ad4,'subType':_0x2c0a45,'id':_0x57eb8f,'author':_0x21c5a2,'creator':_0x21c5a2,'attributes':_0x33e765,'onAttributesChange':_0x297e9f,'onAccept':(..._0xe00663)=>this[_0x3d44('0x1a')](_0x3c5ad4,_0x2c0a45,_0x3d44('0x176'))(..._0xe00663),'onDiscard':(..._0x17ab24)=>this['getSuggestionCallback'](_0x3c5ad4,_0x2c0a45,_0x3d44('0x11a'))(..._0x17ab24)});}[_0x3d44('0xe6')](_0x48e608,_0x125cd4,_0x2f8335,_0x361d39){const _0x23522b=_0x48e608+':'+_0x125cd4+':'+_0x2f8335;this[_0x3d44('0x15f')][_0x3d44('0x15')](_0x23522b,_0x361d39);}[_0x3d44('0x1a')](_0x4ba217,_0x174f7c,_0x2ea6d5){const _0x29acfc=_0x4ba217+':'+_0x174f7c+':'+_0x2ea6d5;return this['_customCallbacks'][_0x3d44('0x62')](_0x29acfc)||this['_defaultCallbacks']['get'](_0x4ba217+':'+_0x2ea6d5);}[_0x3d44('0x5c')](){const _0x1ab737=()=>!0x1,_0x486775=_0x8243aa=>{_0x8243aa[_0x3d44('0x77')]((_0xc1e539,_0x33b7a0)=>_0xc1e539['start']['isBefore'](_0x33b7a0['start'])?0x1:-0x1),this[_0x3d44('0x138')][_0x3d44('0xf8')](_0x38992c=>{for(const _0x40ae62 of _0x8243aa){let _0x2f3480;_0x2f3480=_0x40ae62[_0x3d44('0x125')][_0x3d44('0x12b')]&&_0x40ae62[_0x3d44('0x125')]['parent']==_0x40ae62[_0x3d44('0x94')]['nodeAfter']?_0x38992c[_0x3d44('0x83')](_0x40ae62[_0x3d44('0x94')][_0x3d44('0x132')],'on'):_0x38992c['createSelection'](_0x40ae62),this[_0x3d44('0x138')][_0x3d44('0x1e')](_0x2f3480,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x34f5d0=(_0x1e67f5,_0x142fdb)=>{_0x142fdb&&this[_0x3d44('0x138')][_0x3d44('0xf8')](_0x4d0fd5=>{const {commandName:_0x1e4542,commandParams:_0xe4e63e=[]}=_0x142fdb,_0x552d23=_0x1e67f5[_0x3d44('0x139')](_0x3120e4=>(xt(_0x3120e4)&&(_0x3120e4=this['_model'][_0x3d44('0x41')](_0x3120e4[_0x3d44('0x125')])),_0x3120e4))['filter'](_0x26e2be=>_0x3d44('0x79')!==_0x26e2be[_0x3d44('0x98')][_0x3d44('0xb')]);if(_0x552d23[_0x3d44('0x61')]<0x1)return;const _0x40ada1=Array[_0x3d44('0x97')](this['_model'][_0x3d44('0x6a')]['selection'][_0x3d44('0x24')]())[_0x3d44('0x139')](_0x2d7ad6=>_0x168d75[_0x3d44('0x1c')](_0x2d7ad6));_0x4d0fd5[_0x3d44('0x60')](_0x552d23);for(const _0x408c81 of this[_0x3d44('0xd5')][_0x3d44('0x120')]['commands']())_0x408c81['refresh']();_0xe4e63e[_0x3d44('0xc7')]({'forceDefaultExecution':!0x0}),this[_0x3d44('0xd5')][_0x3d44('0x8f')](_0x1e4542,..._0xe4e63e);const _0x3d2832=_0x40ada1[_0x3d44('0xa4')](_0x2d02eb=>_0x3d44('0x79')!=_0x2d02eb[_0x3d44('0x98')][_0x3d44('0xb')]);_0x3d2832['length']>0x0&&_0x4d0fd5['setSelection'](_0x3d2832);for(const _0x265e6e of _0x40ada1)_0x265e6e[_0x3d44('0x103')]();});},_0x314417=(_0x47dbe3,_0x557e33)=>0x1==_0x47dbe3['length']&&0x1==_0x557e33[_0x3d44('0x61')]&&_0x47dbe3[0x0][_0x3d44('0x125')][_0x3d44('0x16e')](_0x557e33[0x0]['start']),_0x2b32dc=(_0xd7b08f,_0x4e4d68,_0x13c0cd,_0x292231)=>Ot(_0xd7b08f,_0x4e4d68,_0x13c0cd,_0x292231,this[_0x3d44('0x138')])?[_0xd7b08f,_0x4e4d68]:Ot(_0x4e4d68,_0xd7b08f,_0x292231,_0x13c0cd,this[_0x3d44('0x138')])?[_0x4e4d68,_0xd7b08f]:null;this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x12d'),_0x1ab737),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0xb9'),_0x486775),this['_defaultCallbacks'][_0x3d44('0x15')]('insertion:join',_0x314417),this[_0x3d44('0x13e')]['set'](_0x3d44('0xba'),_0x2b32dc),this['_defaultCallbacks'][_0x3d44('0x15')](_0x3d44('0x6d'),_0x486775),this['_defaultCallbacks'][_0x3d44('0x15')]('deletion:discard',_0x1ab737),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x171'),_0x314417),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x99'),_0x2b32dc),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0xd8'),_0x34f5d0),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x101'),_0x1ab737),this['_defaultCallbacks'][_0x3d44('0x15')](_0x3d44('0x67'),_0x314417),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0xac'),_0x1ab737),this[_0x3d44('0x13e')]['set'](_0x3d44('0x2f'),_0x34f5d0),this['_defaultCallbacks'][_0x3d44('0x15')](_0x3d44('0x3d'),_0x1ab737),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x78'),_0x314417),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0xd2'),_0x1ab737),this[_0x3d44('0x13e')][_0x3d44('0x15')](_0x3d44('0x121'),_0x1ab737),this[_0x3d44('0x13e')]['set'](_0x3d44('0xdb'),(_0x3eadc7,_0x2bb7a5)=>{if(!_0x2bb7a5)return;const _0x174dcb=this['_editor']['plugins'][_0x3d44('0x62')](p);this['_model'][_0x3d44('0xf8')](_0x319104=>{if(_0x3d44('0x29')==_0x2bb7a5[_0x3d44('0x114')])for(const _0x1f7aad of _0x3eadc7){const _0x5a7339=_0x1f7aad[_0x3d44('0x94')][_0x3d44('0x132')],_0xef8a1=_0x2bb7a5['oldValue'];_0x319104[_0x3d44('0x3c')](_0x5a7339,_0xef8a1);}else{if(_0x174dcb[_0x3d44('0xa0')](_0x2bb7a5['key']))for(const _0x5b1284 of _0x3eadc7)void 0x0!==_0x2bb7a5[_0x3d44('0x8e')]?_0x319104[_0x3d44('0xa5')](_0x2bb7a5[_0x3d44('0x114')],_0x2bb7a5['oldValue'],_0x5b1284[_0x3d44('0x94')][_0x3d44('0x132')]):_0x319104[_0x3d44('0xeb')](_0x2bb7a5[_0x3d44('0x114')],_0x5b1284['start'][_0x3d44('0x132')]);else for(const _0x4c2522 of _0x3eadc7)_0x2bb7a5['oldValue']?_0x319104[_0x3d44('0xa5')](_0x2bb7a5[_0x3d44('0x114')],_0x2bb7a5['oldValue'],_0x4c2522):_0x319104['removeAttribute'](_0x2bb7a5[_0x3d44('0x114')],_0x4c2522);}});}),this[_0x3d44('0x13e')]['set'](_0x3d44('0xe'),_0x314417);}}function Tt(_0x44d813,_0x58918a,_0x1f7b57){for(const _0xe2d63f of _0x58918a[_0x3d44('0xfc')][_0x3d44('0x2')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xe2d63f[_0x3d44('0x98')]==_0xe2d63f)return!0x1;if(!_0x1f7b57[_0x3d44('0xff')](_0xe2d63f))return!0x1;if(_0x44d813[_0x3d44('0x18')](_0xe2d63f)||_0x44d813['isLimit'](_0xe2d63f))return!0x0;}return!0x1;}function xt(_0xa3677d){return _0xa3677d[_0x3d44('0x125')][_0x3d44('0xfc')]==_0xa3677d[_0x3d44('0x94')][_0x3d44('0x132')]&&_0xa3677d[_0x3d44('0x125')][_0x3d44('0xca')];}function Et(_0x243b88,_0x51983b,_0x5ed97c,_0x134b61){const _0x44e623=_0x3c3b45=>!_0x3c3b45[_0x3d44('0x9f')]['is'](_0x3d44('0x169'))&&!_0x134b61[_0x3d44('0x18')](_0x3c3b45[_0x3d44('0x9f')]),_0x8e53ea=_0x243b88[_0x3d44('0x94')][_0x3d44('0x7')](_0x44e623),_0xde122=_0x243b88[_0x3d44('0x125')][_0x3d44('0x7')](_0x44e623,{'direction':'backward'});return(!_0x243b88[_0x3d44('0x94')][_0x3d44('0x16e')](_0x8e53ea)||!_0x243b88[_0x3d44('0x125')][_0x3d44('0x16e')](_0xde122))&&(_0x8e53ea[_0x3d44('0x36')](_0xde122)?_0x5ed97c['updateMarker'](_0x51983b,{'range':_0x5ed97c['createRange'](_0x8e53ea,_0xde122)}):_0x5ed97c[_0x3d44('0xc8')](_0x51983b),!0x0);}function Rt(_0x4ec33e){return _0x447905(_0x4ec33e);}function jt(_0x2b086d){const _0x3c5991=_0x2b086d['start'][_0x3d44('0x132')];return _0x3c5991&&_0x3c5991['is']('element');}function Ut(_0x297777,_0x7c8056){const _0x555eda=_0x7c8056[_0x3d44('0x95')]['isObject'](_0x297777)||_0x7c8056[_0x3d44('0x95')][_0x3d44('0x124')](_0x297777);return _0x7c8056[_0x3d44('0x41')](_0x7c8056['createPositionAt'](_0x297777,_0x3d44('0xaa')),_0x555eda?_0x7c8056[_0x3d44('0x153')](_0x297777):_0x7c8056['createPositionAt'](_0x297777,'end'));}function Ot(_0x206222,_0x49003e,_0x6fea77,_0x15ea02,_0x19a9de){if(!Vt(_0x206222,_0x49003e))return!0x1;if(_0x6fea77[_0x3d44('0x125')][_0x3d44('0x16e')](_0x15ea02[_0x3d44('0x94')]))return!0x0;if(_0x206222[_0x3d44('0x13f')]!=_0x49003e[_0x3d44('0x13f')])return!0x1;if(!_0x6fea77[_0x3d44('0x125')]['isTouching'](_0x15ea02['start']))return!0x1;const _0x24cee9=_0x19a9de[_0x3d44('0x41')](_0x6fea77[_0x3d44('0x125')],_0x15ea02[_0x3d44('0x94')])[_0x3d44('0xce')]();for(const _0x277899 of _0x24cee9)if([_0x3d44('0x160'),_0x3d44('0x140')][_0x3d44('0x155')](_0x277899[_0x3d44('0x13f')])&&_0x19a9de['schema'][_0x3d44('0x3a')](_0x277899[_0x3d44('0x9f')]))return!0x1;return!0x0;}function Vt(_0x52589d,_0x9f6ac8){return!(!_0x52589d[_0x3d44('0x8c')]||!_0x9f6ac8[_0x3d44('0x8c')])&&_0x2295dd(_0x52589d[_0x3d44('0xbe')],_0x9f6ac8[_0x3d44('0xbe')]);}function Gt(_0x573895,_0x1dc4b2){const _0x300eb7=Ft(_0x573895[_0x3d44('0xbe')]),_0x72c766=Ft(_0x1dc4b2);if(!_0x573895[_0x3d44('0x8c')])return!0x1;for(const _0x2ce5cc of Object[_0x3d44('0x16b')](_0x72c766))if(!_0x2295dd(_0x300eb7[_0x2ce5cc],_0x72c766[_0x2ce5cc]))return!0x1;return!0x0;}function Ft(_0x5d597e){const _0x523cc9=Object['assign']({},_0x5d597e);return delete _0x523cc9[_0x3d44('0x66')],delete _0x523cc9['tablePasteChainId'],_0x523cc9;}function Pt(_0x1c6c4c){return _0x3d44('0xd0')==_0x1c6c4c[_0x3d44('0x13f')]?_0x1c6c4c[_0x3d44('0x104')][_0x3d44('0x5a')]('|')[0x0]:null;}