@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230723.0 → 0.0.0-nightly-20230724.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-track-changes",
|
|
3
|
-
"version": "0.0.0-nightly-
|
|
3
|
+
"version": "0.0.0-nightly-20230724.0",
|
|
4
4
|
"description": "CKEditor 5 track changes plugin.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"ckeditor5": "0.0.0-nightly-
|
|
43
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
42
|
+
"ckeditor5": "0.0.0-nightly-20230724.0",
|
|
43
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20230724.0",
|
|
44
44
|
"lodash-es": "4.17.21"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x6515=['formatGroupId','isInsideObject','@external','formatBlock','TrackChangesEditing','updateMarker','oldRange','ck-suggestion-marker--active','containsPosition','after','error-saving-suggestion-data-suggestion-discarded','formatInline','getRanges','showSuggestionHighlights','isBlock','some','data-suggestion','differ','mapper','howMany','addUser','PendingActions','nodeBefore','has','normal','getNearestSelectionRange','editor','lowest','_trackFormatChanges','createRange','_isForcedDefaultExecutionBlock','deleteContent','toViewElement','_handleNewSuggestionMarker','fromCharCode','_registerDefaultCallbacks','newRange','bindElementToMarker','insertion:join','isAtEnd','change:data','isOwn','discardAllSuggestions','deletion','isInContent','ck-suggestion-marker-','getChangedMarkers','getFirstRange','isRemovable','size','moveTargetPosition','removeAttribute','schema','set','markerName','includes','containsRangeInObject','trackChanges','_refreshSuggestionsChain','isEqual','split','config','setSelection','discardSuggestion','skipNestingCheck','formatBlock:chain','_customCallbacks','containsRange','splitPosition','addComment','consume','Users','createSelection','suggestion','stop','position','add','_addSuggestionMarker','map','buildSuggestion','get','formatBlock:accept','consumable','_suggestions','detach','enableCommand','discardSelectedSuggestions','removeComment','multipleBlocks','getIntersection','updateSuggestion','suggestionChanged','getShiftedBy','widget','value','formatInline:chain','markerToData','requires','sort','formatBlock:join','remove','define','_commentsRepository','markDeletion','isBefore','isCollapsed','createPositionAfter','getUser','editingDowncast','$textProxy','_updateSuggestionData','getAllAdjacentSuggestions','resolve','getSuggestions','getLastMatchingPosition','forward','values','then','formatInline:','dataReady','removeClass','commands','markerToHighlight','containerElement','_editor','catch','track-changes-adapter-missing-getsuggestion','activeMarkers','registerPostFixer','markerReady','isIntersectingWithRange','before','never','_cutOutSuggestionMarker','$graveyard','hasCommentThread','_breakSuggestionMarker','suggestion:','suggestion-type','_onDiscard','isDocumentOperation','markMultiRangeDeletion','commandName','clear','type','createRangeIn','_setSuggestionRange','low','stopListening','_suggestionState','enableReadOnlyMode','_checkSuggestionCorrectness','model','external:','getSuggestionCallback','createPositionAt','refresh','locale','insertion:accept','elementEnd','rootName','getMultiRangeId','addMarker:suggestion:formatBlock','marker-count','item','track-changes-suggestion-data-mismatch','accept','conversion','execute','isTouching','_getExternalAuthor','splice','upcast','data','isLimit','join','dataToMarker','filter','_rangeIsInLocalUserInsertion','rethrowUnexpectedError','_enabledCommands','track-changes-suggestion-not-found','ck-suggestion-marker','always','track-changes-user-not-found','change','isSelectable','removeMarkers','attributes','isAfter','_getAuthorFromId','every','end','getMarkers','return','change:activeMarkers','_defaultCallbacks','track-changes-command-not-found','deletion:','markInsertion','fromRange','init','addRange','open','setAttribute','createPositionBefore','_createSuggestion','getCommentThread','isUndo','addMarker','authoredAt','elementToElement','adapter','getChanges','clone','trackChanges.trackFormatChanges','pluginName','element','reconvertMarker','next','length','notReady','isLocal','forceDefaultExecution','getCustomProperty','acceptSelectedSuggestions','_joinWithAdjacentSuggestions','deletion:chain','getDifference','commentThread','trackChanges.mergeNestedSuggestions','acceptAllSuggestions','ck-suggestion-marker-formatBlock','registerCustomCallback','removeMarker','removed','formatInline:join','author','acceptSuggestion','ready','setTo','unbindElementFromMarkerName','_joinSuggestions','root','plugins','getSuggestion','subType','document','_findSuggestions','suggestionUnloaded','insertion','unbind','previous','isNextTo','_model','_saved','_addThreadToSuggestion','addHighlight','_splitMarkerName','addSuggestion','head','range','isObject','createElement','markMultiRangeBlockFormat','hasComments','toJSON','track-changes-adapter-already-set','insertion:','name','suggestionLoaded','isMultiRange','trackChangesCommand','discard','parent','selection','for','PENDING_ACTION_SUGGESTION','delete','insertContent','fire','_setSuggestionData','_suggestionFactory','addMarkerName','insert','createdAt','getFirstMarker','hasSuggestion','multi','from','push','getAttribute','high','markBlockFormat','highest','accepted','addClass','start','_removeSuggestion','deletion:discard','addCommentThread','getItems','CommentsRepository','nodeAfter','chain','formatBlock:','elementStart','addSuggestionData','markers','_mergeNestedSuggestions','options','writer','dataDowncast','_adapter','creator'];(function(_0x450f57,_0xf64606){const _0x65ee97=function(_0x1fb8ca){while(--_0x1fb8ca){_0x450f57['push'](_0x450f57['shift']());}};_0x65ee97(++_0xf64606);}(_0x6515,0x186));const _0xf646=function(_0x450f57,_0xf64606){_0x450f57=_0x450f57-0x0;let _0x65ee97=_0x6515[_0x450f57];return _0x65ee97;};import{Plugin as _0x1c7aff,PendingActions as _0x477595}from'ckeditor5/src/core';import{LiveRange as _0x439dfc}from'ckeditor5/src/engine';import{CKEditorError as _0x12141c,uid as _0x1111ee,priorities as _0x3d5ed7,logWarning as _0x1ff280}from'ckeditor5/src/utils';import{toWidget as _0x2926f9}from'ckeditor5/src/widget';import{Users as _0xf274a0,hashObject as _0x160990}from'ckeditor5-collaboration/src/collaboration-core';import _0x5f5603 from'./commands/trackchangescommand';import _0x306eff from'./commands/acceptsuggestioncommand';import _0x36aad6 from'./commands/discardsuggestioncommand';import _0x4f9b2a from'./commands/executeonallsuggestionscommand';import _0x209006 from'./commands/executeonselectedsuggestionscommand';import _0x2ac3b5 from'./suggestion';import _0x3ba007 from'./suggestiondescriptionfactory';import _0x13c786 from'./integrations/alignment';import _0xaabcf2 from'./integrations/basicstyles';import _0x3391ea from'./integrations/blockquote';import _0x5cb23d from'./integrations/ckbox';import _0x5ae234 from'./integrations/codeblock';import _0x342a5d from'./integrations/comments';import _0x365f4d from'./integrations/deletecommand';import _0x27e5a2 from'./integrations/documentlist';import _0x2b7bcb from'./integrations/entercommand';import _0x3aa45d from'./integrations/findandreplace';import _0x3560d3 from'./integrations/font';import _0x3e76d7 from'./integrations/formatpainter';import _0x4e52fe from'./integrations/heading';import _0x440ce8 from'./integrations/highlight';import _0x410144 from'./integrations/horizontalline';import _0x278480 from'./integrations/htmlembed';import _0x48bccb from'./integrations/image';import _0x398cf1 from'./integrations/imagereplace';import _0x540e5e from'./integrations/importword';import _0x3c8dca from'./integrations/indent';import _0x2842c8 from'./integrations/inputcommand';import _0x3057e from'./integrations/link';import _0xa51a81 from'./integrations/list';import _0x6bcb6e from'./integrations/listproperties';import _0x336b6b from'./integrations/mediaembed';import _0x5db0c6 from'./integrations/mention';import _0xa55ad4 from'./integrations/pagebreak';import _0x1c2b6c from'./integrations/paragraph';import _0x3824a2 from'./integrations/removeformat';import _0x3e6985 from'./integrations/restrictededitingmode';import _0x4b1c6b from'./integrations/shiftentercommand';import _0x2c4a4e from'./integrations/standardeditingmode';import _0x180ac0 from'./integrations/style';import _0x1141c0 from'./integrations/table';import _0x9df528 from'./integrations/tablemergesplit';import _0x441bdc from'./integrations/tableheadings';import _0x516120 from'./integrations/tableclipboard';import _0x586ef2 from'./integrations/tablecolumnresize';import _0x3a6943 from'./integrations/template';import _0x30f302 from'./integrations/tableofcontents';import _0x352d9c from'./integrations/title';import _0x2f96f9 from'./integrations/undo';import{getTranslation as _0x1fb6d6}from'./utils/common-translations';import _0x1d4fb9 from'./integrations/tablecaption';import _0x1368cf from'./integrations/documentlistproperties';import _0x32ac16 from'./integrations/tableproperties';export default class p extends _0x1c7aff{static get[_0xf646('0x16')](){return[_0xf646('0xe3'),_0xf274a0,_0x477595,_0x13c786,_0xaabcf2,_0x3391ea,_0x5cb23d,_0x5ae234,_0x342a5d,_0x365f4d,_0x27e5a2,_0x1368cf,_0x2b7bcb,_0x3aa45d,_0x3560d3,_0x3e76d7,_0x4e52fe,_0x440ce8,_0x410144,_0x278480,_0x48bccb,_0x398cf1,_0x540e5e,_0x3c8dca,_0x2842c8,_0x3057e,_0xa51a81,_0x6bcb6e,_0x336b6b,_0x5db0c6,_0xa55ad4,_0x1c2b6c,_0x3824a2,_0x3e6985,_0x4b1c6b,_0x2c4a4e,_0x180ac0,_0x1141c0,_0x9df528,_0x441bdc,_0x1d4fb9,_0x516120,_0x586ef2,_0x30f302,_0x32ac16,_0x3a6943,_0x352d9c,_0x2f96f9];}static get[_0xf646('0x8d')](){return _0xf646('0xf4');}constructor(_0x2b85f9){function _0x292e24(_0x4112f1){return _0x4112f1[_0xf646('0x3')](_0x589aee=>String[_0xf646('0x112')](_0x589aee))[_0xf646('0x64')]('');}super(_0x2b85f9),this[_0xf646('0x125')](_0xf646('0x34'),[]),this['on'](_0xf646('0x78'),(_0x4f78aa,_0x4f50fe,_0x4f9f9d,_0x5899c4)=>{this[_0xf646('0xb3')][_0xf646('0x6e')](()=>{for(const _0x25c23c of[..._0x5899c4,..._0x4f9f9d])this[_0xf646('0xb3')]['markers'][_0xf646('0x107')](_0x25c23c)&&_0x2b85f9['editing'][_0xf646('0x8f')](_0x25c23c);});}),this['_descriptionFactory']=new _0x3ba007(this[_0xf646('0x10a')][_0xf646('0x4d')][_0xf646('0x124')],this[_0xf646('0x10a')][_0xf646('0x52')]),this[_0xf646('0xee')]=null,this[_0xf646('0xcf')]=new Dt(this[_0xf646('0x10a')]),this[_0xf646('0x8')]=new Map(),this['_commentsRepository']=_0x2b85f9[_0xf646('0xa9')][_0xf646('0x5')](_0xf646('0xe3')),this['_enabledCommands']=new Set(),this[_0xf646('0xb3')]=this[_0xf646('0x10a')][_0xf646('0x4d')],this['_suggestionState']=new WeakMap(),this[_0xf646('0x10e')]=!0x1,_0x2b85f9[_0xf646('0x12d')][_0xf646('0x1a')](_0xf646('0x8c'),'default'),this[_0xf646('0x10c')]=_0x2b85f9[_0xf646('0x12d')][_0xf646('0x5')]('trackChanges.trackFormatChanges'),_0x2b85f9['config'][_0xf646('0x1a')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2b85f9['config'][_0xf646('0x5')](_0xf646('0x9b')),this[_0xf646('0xc5')]=new _0x5f5603(_0x2b85f9,this[_0xf646('0x69')]),this[_0x292e24([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x292e24([0x34,0x30,0x34,0x36,0x31,0x34,0x34,0x36]);}[_0xf646('0x7e')](){const _0x2fbe46=this[_0xf646('0x10a')];_0x2fbe46['conversion'][_0xf646('0xc9')](_0xf646('0x21'))[_0xf646('0x2f')]({'model':_0xf646('0x139'),'view':_0x1c1e81=>{const {id:_0x527745,type:_0x363ffa}=this[_0xf646('0xb7')](_0x1c1e81[_0xf646('0x126')]),_0x473298=[_0xf646('0x6b'),_0xf646('0x11d')+_0x363ffa];let _0x380432=0xbb8;return this[_0xf646('0x34')][_0xf646('0x127')](_0x1c1e81[_0xf646('0x126')])&&(_0x473298[_0xf646('0xd7')]('ck-suggestion-marker--active'),_0x380432=0xbc2),_0xf646('0x11b')==_0x363ffa&&(_0x380432+=0x5),{'classes':_0x473298,'attributes':{'data-suggestion':_0x527745},'priority':_0x380432};}}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0xed'))[_0xf646('0x1')](_0x19d65c=>{_0x19d65c['on']('addMarker:suggestion',(_0x3d7cbc,_0x37c03c,_0x460adf)=>{if(!_0x460adf[_0xf646('0xeb')][_0xf646('0xfd')])return;const _0x17b7d3=_0x37c03c[_0xf646('0x59')];if(!_0x17b7d3)return;const _0x3cc579=_0x460adf[_0xf646('0x102')][_0xf646('0x110')](_0x17b7d3);_0x2fbe46[_0xf646('0x4d')][_0xf646('0x124')][_0xf646('0xbb')](_0x17b7d3)&&_0x3cc579&&!_0x3cc579[_0xf646('0x95')](_0xf646('0x12'))&&_0x3cc579['is'](_0xf646('0x30'))&&_0x2926f9(_0x3cc579,_0x460adf[_0xf646('0xec')]);},{'priority':_0xf646('0xd9')});}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0xed'))[_0xf646('0x2f')]({'model':_0xf646('0x139'),'view':(_0x1a2c6e,_0x41d332)=>{if(!_0x41d332[_0xf646('0xeb')]['showSuggestionHighlights'])return null;const {type:_0x528108}=this[_0xf646('0xb7')](_0x1a2c6e[_0xf646('0x126')]);return{'classes':['ck-suggestion-marker',_0xf646('0x11d')+_0x528108],'priority':0xbb8};}});const _0x59f60e=({showActiveMarkers:_0x29b1de=!0x0}={})=>(_0x2995b9,_0x2b997d,_0x1fb464)=>{if(!_0x2b997d[_0xf646('0x59')])return;if(_0x2b997d[_0xf646('0x59')]['is'](_0xf646('0xc8')))return void _0x1fb464[_0xf646('0x7')][_0xf646('0x136')](_0x2b997d[_0xf646('0x59')],_0x2995b9[_0xf646('0xc2')]);const _0x530e49=_0x1fb464[_0xf646('0x102')][_0xf646('0x110')](_0x2b997d['item']);if(!(_0x2b997d[_0xf646('0x59')]['is'](_0xf646('0x8e'))&&_0x2fbe46[_0xf646('0x4d')]['schema'][_0xf646('0xfe')](_0x2b997d['item'])&&!_0x530e49[_0xf646('0x95')](_0xf646('0xb6'))))return;const {id:_0x5e6f68}=this[_0xf646('0xb7')](_0x2b997d['markerName']);_0x1fb464[_0xf646('0xec')]['addClass']([_0xf646('0x6b'),_0xf646('0x9d')],_0x530e49),_0x1fb464[_0xf646('0xec')][_0xf646('0x81')]('data-suggestion',_0x5e6f68,_0x530e49),_0x1fb464[_0xf646('0x102')][_0xf646('0x115')](_0x530e49,_0x2b997d[_0xf646('0x126')]),_0x29b1de&&(this[_0xf646('0x34')]['includes'](_0x2b997d[_0xf646('0x126')])?_0x1fb464[_0xf646('0xec')][_0xf646('0xdd')](_0xf646('0xf7'),_0x530e49):_0x1fb464['writer'][_0xf646('0x2d')](_0xf646('0xf7'),_0x530e49));for(const _0xd22d84 of _0x2fbe46[_0xf646('0x4d')][_0xf646('0x46')](_0x2b997d['item'])[_0xf646('0xe2')]())_0x1fb464[_0xf646('0x7')][_0xf646('0x136')](_0xd22d84,_0x2995b9[_0xf646('0xc2')]);_0x1fb464[_0xf646('0x7')]['consume'](_0x2b997d['item'],_0x2995b9[_0xf646('0xc2')]);};_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0xed'))[_0xf646('0x1')](_0x18ddac=>{_0x18ddac['on'](_0xf646('0x57'),(_0x55dc72,_0x20734d,_0xfac23f)=>{_0xfac23f[_0xf646('0xeb')]['showSuggestionHighlights']&&_0x59f60e({'showActiveMarkers':!0x1})(_0x55dc72,_0x20734d,_0xfac23f);},{'priority':_0xf646('0xdb')});}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')]('dataDowncast')[_0xf646('0x15')]({'model':_0xf646('0x139'),'view':(_0x25e109,_0x401b0b)=>_0x401b0b['options'][_0xf646('0xfd')]?null:{'group':'suggestion','name':_0x25e109['substr'](0xb)}}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0x61'))[_0xf646('0x88')]({'view':{'name':_0xf646('0x139'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x896b7c,{writer:_0x203ac3})=>{let _0x185fa7='suggestion:'+_0x896b7c[_0xf646('0xd8')](_0xf646('0x3f'))+':'+_0x896b7c[_0xf646('0xd8')]('id');return _0x896b7c['getAttribute'](_0xf646('0x58'))&&(_0x185fa7+=':'+_0x896b7c[_0xf646('0xd8')](_0xf646('0x58'))),_0x203ac3[_0xf646('0xbc')]('$marker',{'data-name':_0x185fa7});}}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0x61'))[_0xf646('0x65')]({'view':'suggestion'}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0x21'))[_0xf646('0x1')](_0x1f4459=>{_0x1f4459['on']('addMarker:suggestion:formatBlock',_0x59f60e(),{'priority':_0xf646('0xd9')});}),_0x2fbe46[_0xf646('0x5c')][_0xf646('0xc9')](_0xf646('0x21'))[_0xf646('0x1')](_0x40b67d=>{_0x40b67d['on']('removeMarker:suggestion:formatBlock',(_0xd1fe6,_0x3e7625,_0x4375fd)=>{const _0x45b812=_0x4375fd[_0xf646('0x102')]['markerNameToElements'](_0x3e7625[_0xf646('0x126')]);if(_0x45b812)for(const _0x4038d8 of _0x45b812)_0x4038d8['getCustomProperty'](_0xf646('0xb6'))||(_0x4375fd[_0xf646('0xec')]['removeClass']([_0xf646('0x6b'),_0xf646('0x9d'),'ck-suggestion-marker--active'],_0x4038d8),_0x4375fd['writer'][_0xf646('0x123')](_0xf646('0x100'),_0x4038d8),_0x4375fd[_0xf646('0x102')][_0xf646('0xa6')](_0x4038d8,_0x3e7625[_0xf646('0x126')]));},{'priority':_0xf646('0xd9')});}),_0x2fbe46[_0xf646('0x4d')][_0xf646('0xac')][_0xf646('0x35')](_0x593789=>{let _0x35ff29=!0x1;const _0x6bbef5=Array['from'](_0x2fbe46[_0xf646('0x4d')]['document']['differ'][_0xf646('0x11e')]()),_0x1de381=new Set();for(const {name:_0x1e7267,data:_0x4290ef}of _0x6bbef5){const {group:_0x2339e4,type:_0x4bc2f8,id:_0x5ddb71}=this[_0xf646('0xb7')](_0x1e7267);if(_0xf646('0x139')!==_0x2339e4)continue;const _0x393633=this[_0xf646('0x8')][_0xf646('0x5')](_0x5ddb71);if(null!=_0x4290ef[_0xf646('0x114')]){_0xf646('0xfb')==_0x4bc2f8&&(_0x35ff29=_0x35ff29||Mt(_0x4290ef['newRange'],_0x1e7267,_0x593789,_0x2fbe46[_0xf646('0x4d')][_0xf646('0x124')]));if(_0x4290ef['newRange']['isCollapsed']||_0xf646('0x3b')==_0x4290ef['newRange'][_0xf646('0xa8')][_0xf646('0x55')]||_0xf646('0xf3')==_0x4bc2f8&&!Nt(_0x4290ef['newRange'])||_0xf646('0x11b')==_0x4bc2f8&&!(!_t(_0x416fb0=_0x4290ef['newRange'])&&!function(_0x3315a0){return _0x3315a0[_0xf646('0xde')][_0xf646('0xc7')]==_0x3315a0[_0xf646('0x75')][_0xf646('0x106')]&&_0x3315a0[_0xf646('0xde')]['isAtEnd'];}(_0x416fb0)))_0x593789[_0xf646('0x9f')](_0x1e7267),_0x35ff29=!0x0;else{if(!_0x393633||!_0x393633[_0xf646('0x11c')])continue;_0x1de381['add'](_0x393633);}}}var _0x416fb0;return _0x1de381[_0xf646('0x121')]>0x0&&(_0x35ff29=!!this[_0xf646('0x97')](_0x1de381)||_0x35ff29),_0x35ff29;}),_0x2fbe46[_0xf646('0x4d')][_0xf646('0xac')][_0xf646('0x35')](_0x481fd8=>{let _0x3b4979=!0x1;for(const _0x4c3b84 of _0x2fbe46[_0xf646('0x4d')][_0xf646('0xac')][_0xf646('0x101')][_0xf646('0x8a')]()){if('insert'!=_0x4c3b84[_0xf646('0x45')])continue;const _0x12bbe0=_0x4c3b84[_0xf646('0x0')][_0xf646('0x11')](_0x4c3b84[_0xf646('0x91')]);if(_0x12bbe0['isAtEnd'])for(const _0x463482 of this[_0xf646('0x8')][_0xf646('0x29')]()){if(_0x463482[_0xf646('0xc4')]||!_0x463482['isInContent'])continue;if(_0xf646('0xf3')!=_0x463482[_0xf646('0x45')])continue;const _0x133d48=_0x463482['getFirstRange']();if(_0x133d48[_0xf646('0xde')][_0xf646('0xc7')]!=_0x133d48['end'][_0xf646('0xc7')]&&_0x133d48[_0xf646('0x75')][_0xf646('0x12b')](_0x4c3b84[_0xf646('0x0')])){const _0xd046a5=_0x2fbe46[_0xf646('0x4d')][_0xf646('0x10d')](_0x133d48[_0xf646('0xde')],_0x12bbe0);_0x481fd8[_0xf646('0xf5')](_0x463482[_0xf646('0xd3')](),{'range':_0xd046a5}),_0x3b4979=!0x0;}}}return _0x3b4979;}),_0x2fbe46[_0xf646('0x4d')][_0xf646('0xe9')]['on']('update:suggestion',(_0x443bee,_0x3d8443,_0x26086a)=>{if(null==_0x26086a){const {id:_0x347157}=this[_0xf646('0xb7')](_0x3d8443['name']),_0x5f40a6=this[_0xf646('0x8')][_0xf646('0x5')](_0x347157);_0x5f40a6&&_0x5f40a6[_0xf646('0xd0')](_0x3d8443[_0xf646('0xc2')]);}}),_0x2fbe46[_0xf646('0x4d')][_0xf646('0xac')]['on'](_0xf646('0x118'),()=>{const _0x34713f=Array[_0xf646('0xd6')](_0x2fbe46[_0xf646('0x4d')][_0xf646('0xac')][_0xf646('0x101')]['getChangedMarkers']())[_0xf646('0x66')](_0x23ddae=>_0xf646('0x139')===this[_0xf646('0xb7')](_0x23ddae[_0xf646('0xc2')])['group']);if(0x0===_0x34713f[_0xf646('0x91')])return;_0x34713f[_0xf646('0x17')]((_0x32f9cc,_0x4a3951)=>{const _0x75cddb=_0x32f9cc[_0xf646('0x62')][_0xf646('0xf6')],_0x5903c6=_0x4a3951[_0xf646('0x62')][_0xf646('0xf6')];return null===_0x75cddb&&null===_0x5903c6?0x0:null===_0x75cddb&&null!==_0x5903c6?-0x1:null!==_0x75cddb&&null===_0x5903c6?0x1:_0x75cddb[_0xf646('0xde')][_0xf646('0x1d')](_0x5903c6['start'])?-0x1:0x1;});const _0x378c99=new Set(),_0x18e69c=new Set();for(const {name:_0x4be5fc,data:_0x37aa13}of _0x34713f){const {id:_0x4bf1c6}=this[_0xf646('0xb7')](_0x4be5fc);if(null===_0x37aa13[_0xf646('0xf6')]){const _0xa09fe2=this[_0xf646('0x111')](_0x4be5fc);_0x18e69c[_0xf646('0x1')](_0xa09fe2);}else{const _0x9f3960=this[_0xf646('0x8')][_0xf646('0x5')](_0x4bf1c6);null!==_0x37aa13['newRange']||_0x9f3960['isInContent']?(_0x378c99[_0xf646('0x1')](_0x9f3960[_0xf646('0xb9')]),_0x18e69c[_0xf646('0x1')](_0x9f3960)):this[_0xf646('0xdf')](_0x9f3960);}}_0x18e69c[_0xf646('0x121')]>0x0&&this[_0xf646('0x12a')](_0x18e69c);for(const _0x3f019c of _0x378c99)this[_0xf646('0xcd')](_0xf646('0x10'),_0x3f019c);}),_0x2fbe46[_0xf646('0x4d')]['on']('applyOperation',(_0x5d71ca,_0x2b66cb)=>{const _0xe9106b=_0x2b66cb[0x0];if(!this[_0xf646('0x8')][_0xf646('0x121')])return;if(!_0xe9106b[_0xf646('0x41')])return;if(_0xe9106b['batch'][_0xf646('0x85')]||!_0xe9106b['batch'][_0xf646('0x93')])return;let _0x2f294f,_0x32c1d5;switch(_0xe9106b[_0xf646('0x45')]){case _0xf646('0xd1'):_0x2f294f=_0x2fbe46[_0xf646('0x4d')][_0xf646('0x50')](_0xe9106b[_0xf646('0x0')]),_0x32c1d5=_0x2f294f[_0xf646('0x11')](_0xe9106b[_0xf646('0x103')]);break;case _0xf646('0x12c'):_0x2f294f=_0x2fbe46['model']['createPositionAt'](_0xe9106b[_0xf646('0x134')]),_0x32c1d5=_0x2fbe46[_0xf646('0x4d')][_0xf646('0x50')](_0xe9106b[_0xf646('0x122')]);break;case'move':_0x2f294f=_0x2fbe46[_0xf646('0x4d')][_0xf646('0x50')](_0xe9106b['targetPosition']),_0x32c1d5=_0x2f294f[_0xf646('0x11')](_0xe9106b[_0xf646('0x103')]);break;default:return;}const _0x7fc34c=_0x2fbe46['model'][_0xf646('0x10d')](_0x2f294f,_0x32c1d5);_0x2fbe46[_0xf646('0x4d')][_0xf646('0x6e')](()=>{for(const {suggestion:_0x55a4a3,meta:_0x5d1dea}of this[_0xf646('0xad')](_0x7fc34c)){if(_0x55a4a3[_0xf646('0xc4')])continue;if(_0xf646('0xfb')==_0x55a4a3[_0xf646('0x45')])continue;const _0x4ff4bb=_0x55a4a3[_0xf646('0x62')]&&_0x55a4a3[_0xf646('0x62')]['multipleBlocks'];('formatBlock'!=_0x55a4a3[_0xf646('0x45')]||_0xf646('0x12c')==_0xe9106b[_0xf646('0x45')]&&!_0x4ff4bb)&&(_0x5d1dea[_0xf646('0x128')]||_0xf646('0xaf')==_0x55a4a3[_0xf646('0x45')]&&_0x5d1dea[_0xf646('0x119')]||_0x55a4a3[_0xf646('0x11f')]()['containsRange'](_0x7fc34c)&&this[_0xf646('0x3d')](_0x55a4a3,_0x2f294f,_0x32c1d5));}});},{'priority':_0xf646('0x10b')}),_0x2fbe46[_0xf646('0x4d')]['on'](_0xf646('0x10f'),(_0x357454,_0x177ced)=>{const _0x99d4a5=_0x177ced[0x0],_0x5c038b=_0x177ced[0x1];if(_0x5c038b&&_0x5c038b[_0xf646('0x94')])return;if(this[_0xf646('0x10e')])return;if(!this[_0xf646('0xc5')][_0xf646('0x13')])return;if(_0x99d4a5['isCollapsed'])return;const _0x4a77ac=_0x2fbe46[_0xf646('0x4d')]['schema'],{start:_0x3e5c25,end:_0x39592b}=_0x99d4a5[_0xf646('0x11f')](),_0x5ef2f5=_0x3e5c25[_0xf646('0xe4')]&&_0x4a77ac['isLimit'](_0x3e5c25['nodeAfter'])?null:_0x4a77ac[_0xf646('0x109')](_0x3e5c25,_0xf646('0x28')),_0xc34e71=_0x39592b[_0xf646('0x106')]&&_0x4a77ac['isLimit'](_0x39592b['nodeBefore'])?null:_0x4a77ac[_0xf646('0x109')](_0x39592b,'backward'),_0x3346b4=_0x2fbe46['model'][_0xf646('0x10d')](_0x5ef2f5?_0x5ef2f5['start']:_0x3e5c25,_0xc34e71?_0xc34e71[_0xf646('0x75')]:_0x39592b);_0x2fbe46[_0xf646('0x4d')][_0xf646('0x6e')](_0x4d0d62=>{this[_0xf646('0x1c')](_0x3346b4);const _0x2de200=_0x2fbe46['model']['schema']['getNearestSelectionRange'](_0x3346b4[_0xf646('0xde')]);_0x99d4a5['is']('documentSelection')?_0x4d0d62[_0xf646('0x12e')](_0x2de200):_0x99d4a5[_0xf646('0xa5')](_0x2de200);}),_0x357454[_0xf646('0x13a')]();},{'priority':_0x3d5ed7[_0xf646('0x108')]+0xa}),_0x2fbe46[_0xf646('0x4d')]['on'](_0xf646('0xcc'),(_0x364fc8,_0x39e332)=>{const _0x3c5a02=_0x39e332[_0x39e332[_0xf646('0x91')]-0x1];_0x3c5a02&&_0x3c5a02[_0xf646('0x94')]||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand'][_0xf646('0x13')]&&(_0x2fbe46[_0xf646('0x4d')][_0xf646('0x6e')](()=>{let _0x1e8240=_0x2fbe46['model']['insertContent'](_0x39e332[0x0],_0x39e332[0x1],_0x39e332[0x2],{'forceDefaultExecution':!0x0});if(!_0x1e8240)return;_0x364fc8[_0xf646('0x77')]=_0x1e8240[_0xf646('0x8b')]();const _0x3e8443=_0x1e8240[_0xf646('0x75')][_0xf646('0x106')],_0x4a76b3=_0x2fbe46[_0xf646('0x4d')]['schema'];_0x3e8443&&_0x4a76b3[_0xf646('0xfe')](_0x3e8443)&&!_0x4a76b3[_0xf646('0xbb')](_0x3e8443)&&(_0x1e8240=_0x2fbe46[_0xf646('0x4d')][_0xf646('0x10d')](_0x1e8240[_0xf646('0xde')],_0x2fbe46['model'][_0xf646('0x50')](_0x3e8443,_0xf646('0x75')))),this[_0xf646('0x7c')](_0x1e8240);}),_0x364fc8[_0xf646('0x13a')]());},{'priority':_0xf646('0xd9')}),this[_0xf646('0x10a')][_0xf646('0x2e')][_0xf646('0x1')]('trackChanges',this['trackChangesCommand']),this[_0xf646('0xa')](_0xf646('0x129'));const _0x5c2058=new _0x306eff(_0x2fbe46,this[_0xf646('0x8')]);_0x2fbe46[_0xf646('0x2e')][_0xf646('0x1')](_0xf646('0xa3'),_0x5c2058),this[_0xf646('0xa')]('acceptSuggestion');const _0x218efc=new _0x36aad6(_0x2fbe46,this[_0xf646('0x8')]);_0x2fbe46[_0xf646('0x2e')][_0xf646('0x1')](_0xf646('0x12f'),_0x218efc),this[_0xf646('0xa')](_0xf646('0x12f')),_0x2fbe46[_0xf646('0x2e')][_0xf646('0x1')](_0xf646('0x9c'),new _0x4f9b2a(_0x2fbe46,_0x5c2058,this['_suggestions'])),this['enableCommand'](_0xf646('0x9c')),_0x2fbe46['commands'][_0xf646('0x1')](_0xf646('0x11a'),new _0x4f9b2a(_0x2fbe46,_0x218efc,this[_0xf646('0x8')])),this['enableCommand'](_0xf646('0x11a')),_0x2fbe46[_0xf646('0x2e')][_0xf646('0x1')]('acceptSelectedSuggestions',new _0x209006(_0x2fbe46,_0x5c2058,this[_0xf646('0x8')])),this[_0xf646('0xa')](_0xf646('0x96')),_0x2fbe46[_0xf646('0x2e')][_0xf646('0x1')](_0xf646('0xb'),new _0x209006(_0x2fbe46,_0x218efc,this[_0xf646('0x8')])),this[_0xf646('0xa')](_0xf646('0xb'));const _0x5265f7=_0x2fbe46[_0xf646('0xa9')]['get'](_0xf646('0xe3'));this['listenTo'](_0x5265f7,_0xf646('0x135'),(_0x2502e6,{threadId:_0x19135b})=>{const _0x281fb0=this[_0xf646('0x8')][_0xf646('0x5')](_0x19135b);_0x281fb0&&_0x281fb0['commentThread']&&0x1===_0x281fb0['commentThread']['length']&&this[_0xf646('0x23')](_0x19135b,{'hasComments':!0x0});},{'priority':_0xf646('0x48')}),this['listenTo'](_0x5265f7,_0xf646('0xc'),(_0x34883f,{threadId:_0x30aab9})=>{const _0x1b526b=this[_0xf646('0x8')][_0xf646('0x5')](_0x30aab9);_0x1b526b&&_0x1b526b[_0xf646('0x9a')]&&!_0x1b526b[_0xf646('0x9a')][_0xf646('0x91')]&&this[_0xf646('0x23')](_0x30aab9,{'hasComments':!0x1});},{'priority':_0xf646('0x48')});}set['adapter'](_0x5e69e1){if(this[_0xf646('0xee')])throw new _0x12141c(_0xf646('0xc0'),this);this[_0xf646('0xee')]=_0x5e69e1;}get[_0xf646('0x89')](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x2830a0=!0x1,toJSON:_0x47b2ed=!0x1}={}){const _0x13e661=[];for(const _0x2c3547 of this[_0xf646('0x8')][_0xf646('0x29')]())_0x2830a0&&!_0x2c3547['isInContent']||_0x13e661['push'](_0x2c3547);return _0x47b2ed?_0x13e661[_0xf646('0x3')](_0x3913bc=>_0x3913bc[_0xf646('0xbf')]()):_0x13e661;}['getSuggestion'](_0x412c14){const _0xf9cc31=this[_0xf646('0x8')]['get'](_0x412c14);if(!_0xf9cc31)throw new _0x12141c(_0xf646('0x6a'),this);return _0xf9cc31;}[_0xf646('0xd4')](_0x3d989b){return this[_0xf646('0x8')][_0xf646('0x107')](_0x3d989b);}['addSuggestionData'](_0x2c9b82){const {authorId:_0x47d43b,id:_0x27085e,attributes:_0x3a5538}=_0x2c9b82,[_0x3ddbad,_0x12344d]=_0x2c9b82[_0xf646('0x45')]['split'](':'),_0x5ab87b=this[_0xf646('0x8')][_0xf646('0x5')](_0x27085e)||this[_0xf646('0x83')](_0x3ddbad,_0x12344d,_0x27085e,_0x47d43b,_0x3a5538);if(this['_addThreadToSuggestion'](_0x5ab87b),this[_0xf646('0x4c')](_0x5ab87b,_0x3ddbad,_0x12344d||null,_0x47d43b),_0x5ab87b[_0xf646('0xd2')]=_0x2c9b82[_0xf646('0xd2')],_0x3a5538&&_0x3a5538['@external']){const _0x4270bc=_0x3a5538[_0xf646('0xf2')],_0x32b229=this[_0xf646('0x5f')](_0x4270bc['authorName']);_0x5ab87b['authoredAt']=_0x4270bc['createdAt'],_0x5ab87b[_0xf646('0xa2')]=_0x32b229,_0x5ab87b['isExternal']=!0x0;}else _0x5ab87b[_0xf646('0x87')]=_0x2c9b82[_0xf646('0xd2')];switch(_0x2c9b82['data']&&(_0x5ab87b[_0xf646('0x62')]=_0x2c9b82[_0xf646('0x62')]),_0x2c9b82[_0xf646('0x71')]&&(_0x5ab87b[_0xf646('0x71')]=_0x2c9b82[_0xf646('0x71')]),this[_0xf646('0xee')]&&this[_0xf646('0xee')][_0xf646('0xb8')]||(_0x5ab87b['_saved']=!0x0),this[_0xf646('0x4a')][_0xf646('0x5')](_0x5ab87b)){case _0xf646('0x92'):this[_0xf646('0x4a')][_0xf646('0x125')](_0x5ab87b,_0xf646('0x2c'));break;case _0xf646('0x36'):_0x5ab87b[_0xf646('0x11c')]?(this[_0xf646('0x4a')][_0xf646('0x125')](_0x5ab87b,_0xf646('0xa4')),this[_0xf646('0xcd')]('suggestionLoaded',_0x5ab87b)):this['_suggestionState'][_0xf646('0x125')](_0x5ab87b,_0xf646('0xa0'));}return _0x5ab87b;}[_0xf646('0xa3')](_0x6d2c79){this[_0xf646('0x94')](()=>{this[_0xf646('0x10a')]['model'][_0xf646('0x6e')](()=>{for(const _0x372deb of _0x6d2c79[_0xf646('0x24')]())_0x372deb['accept']();});});}['discardSuggestion'](_0x1bc232){this[_0xf646('0x94')](()=>{this[_0xf646('0x10a')][_0xf646('0x4d')][_0xf646('0x6e')](()=>{for(const _0x2d82d0 of _0x1bc232[_0xf646('0x24')]())_0x2d82d0['discard']();});});}[_0xf646('0xa')](_0x934d3a,_0x77d92d){const _0x2e7c56=this['editor']['commands']['get'](_0x934d3a);if(!_0x2e7c56)throw new _0x12141c(_0xf646('0x7a'),this,{'commandName':_0x934d3a});this[_0xf646('0x69')][_0xf646('0x1')](_0x2e7c56),_0x77d92d&&_0x2e7c56['on']('execute',(_0x39caeb,_0x5a9ed4)=>{this[_0xf646('0xc5')][_0xf646('0x13')]&&(this['_isForcedDefaultExecutionBlock']||_0x5a9ed4[_0xf646('0x91')]>0x0&&_0x5a9ed4[_0x5a9ed4[_0xf646('0x91')]-0x1]&&_0x5a9ed4[_0x5a9ed4[_0xf646('0x91')]-0x1][_0xf646('0x94')]||(_0x77d92d((..._0x31d88c)=>_0x2e7c56['execute'](..._0x31d88c,{'forceDefaultExecution':!0x0}),..._0x5a9ed4),_0x39caeb[_0xf646('0x13a')]()));},{'priority':'high'});}[_0xf646('0x94')](_0x2b89a8){let _0x6143b2,_0x3ada03;const _0x238bea=this[_0xf646('0x10e')];this[_0xf646('0x10e')]=!0x0;try{_0x6143b2=_0x2b89a8();}catch(_0x476284){_0x3ada03=_0x476284;}return _0x238bea||(this[_0xf646('0x10e')]=!0x1),_0x3ada03&&_0x12141c[_0xf646('0x68')](_0x3ada03,this),_0x6143b2;}['markInsertion'](_0x3299d4,_0xfe6c5=null,_0x458de8={}){if(_0x3299d4['isCollapsed'])return null;const _0x3078fb=this[_0xf646('0x10a')][_0xf646('0xa9')]['get'](_0xf646('0x137'))['me'];for(const {suggestion:_0x576dee,meta:_0x1db8c7}of this[_0xf646('0xad')](_0x3299d4,'insertion'))if(_0x1db8c7[_0xf646('0x119')]){if(!_0x1db8c7['isNextTo']){if(!this[_0xf646('0xea')]&&_0x1db8c7[_0xf646('0x128')])continue;return _0x576dee;}if(_0xfe6c5==_0x576dee[_0xf646('0xab')]){const _0x27675e=_0x576dee[_0xf646('0x11f')]();return _0x27675e[_0xf646('0xde')][_0xf646('0x12b')](_0x3299d4[_0xf646('0x75')])?this[_0xf646('0x47')](_0x576dee,this['_model'][_0xf646('0x10d')](_0x3299d4[_0xf646('0xde')],_0x27675e[_0xf646('0x75')])):this[_0xf646('0x47')](_0x576dee,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x27675e[_0xf646('0xde')],_0x3299d4[_0xf646('0x75')])),_0x576dee;}}const _0x469403=_0x1111ee(),_0x4475f8=_0x3078fb['id'],_0x3359f6=_0xfe6c5?_0xf646('0xc1')+_0xfe6c5:'insertion',_0x8f26a3=this[_0xf646('0xce')]({'id':_0x469403,'type':_0x3359f6,'createdAt':new Date(),'authorId':_0x4475f8,'attributes':_0x458de8});return this['_addSuggestionMarker'](_0x3359f6,_0x469403,_0x4475f8,_0x3299d4),_0x8f26a3;}['markMultiRangeInsertion'](_0x1ab2ef,_0x59ba27=_0xf646('0xd5'),_0x32f5b3={}){const _0x535d83=this['editor'][_0xf646('0xa9')][_0xf646('0x5')]('Users')['me'],_0x1cb2b1=this['_suggestionFactory']['getSuggestionCallback'](_0xf646('0xaf'),_0x59ba27,_0xf646('0x64'));for(const _0x3af59a of this[_0xf646('0x26')]())if(_0x3af59a[_0xf646('0xa2')]['id']==_0x535d83['id']&&_0xf646('0xaf')==_0x3af59a['type']&&_0x3af59a[_0xf646('0xab')]==_0x59ba27&&(_0x1cb2b1(_0x3af59a[_0xf646('0xfc')](),_0x1ab2ef)||_0x1cb2b1(_0x1ab2ef,_0x3af59a['getRanges']()))){for(const _0x4a41a8 of _0x1ab2ef)_0x3af59a[_0xf646('0x7f')](_0x4a41a8);return _0x3af59a;}if(this[_0xf646('0xea')])for(const _0x25fb29 of _0x1ab2ef)for(const {suggestion:_0x849da2,meta:_0x567a7e}of this[_0xf646('0xad')](_0x25fb29,'insertion')){if(!_0x567a7e['isOwn'])continue;let _0x399a39=!0x0;for(const _0x2d1743 of _0x849da2[_0xf646('0xfc')]())for(const _0x31b29d of _0x1ab2ef)if(!_0x2d1743[_0xf646('0x133')](_0x31b29d)){_0x399a39=!0x1;break;}if(_0x399a39)return _0x849da2;}const _0x2e6805=_0x1111ee(),_0x5a6dfd=_0x535d83['id'],_0x5d0ea2=_0xf646('0xc1')+_0x59ba27,_0x3492e4=this[_0xf646('0xce')]({'id':_0x2e6805,'type':_0x5d0ea2,'createdAt':new Date(),'authorId':_0x5a6dfd,'attributes':_0x32f5b3});for(const _0x1c5e29 of _0x1ab2ef)this[_0xf646('0x2')](_0x5d0ea2,_0x2e6805,_0x5a6dfd,_0x1c5e29,_0x2ac3b5[_0xf646('0x56')]());return _0x3492e4;}['markInlineFormat'](_0x3dd5c3,_0x12bfb5,_0x3feb4c=null,_0x18c280={}){if(_0x3feb4c=_0x3feb4c||$t(_0x12bfb5),_0x3dd5c3['isCollapsed'])return null;if(_0xf646('0x39')===this[_0xf646('0x10c')]){const _0x5dd783=this['_suggestionFactory']['getSuggestionCallback'](_0xf646('0xfb'),_0x3feb4c,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x5dd783([_0x3dd5c3],_0x12bfb5,_0x18c280)),null;}const _0xacfb75=this['editor']['plugins'][_0xf646('0x5')](_0xf646('0x137'))['me'],_0x237f13=[];if('always'!==this['_trackFormatChanges'])for(const {suggestion:_0x5ee051,meta:_0x2e6007}of this[_0xf646('0xad')](_0x3dd5c3,_0xf646('0xaf')))_0x2e6007[_0xf646('0x119')]&&!_0x2e6007[_0xf646('0xf1')]&&_0x237f13[_0xf646('0xd7')](..._0x5ee051['getRanges']());const _0x19d84d=function(_0x16e1f0,_0x5018db){const _0xc006a8=[];for(const _0x5e6101 of _0x5018db){const _0x13fd44=_0x16e1f0[_0xf646('0xe')](_0x5e6101);_0x13fd44&&_0xc006a8[_0xf646('0xd7')](_0x13fd44);}return _0xc006a8;}(_0x3dd5c3,_0x237f13),_0x1b0efa=function(_0x5c0646,_0x4e4d9f){const _0x46f2ca=[_0x5c0646];for(const _0x1b6810 of _0x4e4d9f){let _0x5e9bea=0x0;for(;_0x5e9bea<_0x46f2ca[_0xf646('0x91')];){const _0x4f940b=_0x46f2ca[_0x5e9bea][_0xf646('0x99')](_0x1b6810);_0x46f2ca[_0xf646('0x60')](_0x5e9bea,0x1,..._0x4f940b),_0x5e9bea+=_0x4f940b[_0xf646('0x91')];}}return _0x46f2ca;}(_0x3dd5c3,_0x237f13);_0x19d84d[_0xf646('0x91')]&&this[_0xf646('0xb3')][_0xf646('0x6e')](()=>{for(const _0x1c68d2 of _0x19d84d){const _0x388118=this[_0xf646('0xcf')][_0xf646('0x4f')](_0xf646('0xfb'),_0x3feb4c,_0xf646('0x5b'));this[_0xf646('0x94')](()=>_0x388118([_0x1c68d2],_0x12bfb5,_0x18c280));}});for(const _0x4ca7e9 of _0x1b0efa){let _0x4fb455=null,_0x387c84=_0x4ca7e9['start'],_0x582efb=_0x4ca7e9[_0xf646('0x75')];for(const {suggestion:_0x57cf54,meta:_0x52651a}of this[_0xf646('0xad')](_0x4ca7e9,'formatInline')){if(!_0x52651a['isOwn'])continue;if(_0x57cf54[_0xf646('0xab')]!=_0x3feb4c)continue;const _0x159dd5=_0x57cf54[_0xf646('0x11f')]();if(_0x159dd5[_0xf646('0x133')](_0x4ca7e9,!0x0))return null;_0x387c84=_0x387c84['isBefore'](_0x159dd5['start'])?_0x387c84:_0x159dd5[_0xf646('0xde')],_0x582efb=_0x582efb[_0xf646('0x72')](_0x159dd5[_0xf646('0x75')])?_0x582efb:_0x159dd5[_0xf646('0x75')],_0x4fb455?_0x159dd5['start'][_0xf646('0x1d')](_0x4fb455[_0xf646('0x11f')]()['start'])?(_0x4fb455[_0xf646('0x70')](),_0x4fb455=_0x57cf54):_0x57cf54[_0xf646('0x70')]():_0x4fb455=_0x57cf54;}const _0x187ff1=this[_0xf646('0xb3')][_0xf646('0x10d')](_0x387c84,_0x582efb);if(_0x4fb455)this[_0xf646('0x47')](_0x4fb455,_0x187ff1);else{const _0x40fbc5=_0x1111ee(),_0x554e25=_0xacfb75['id'];this[_0xf646('0xce')]({'id':_0x40fbc5,'type':_0xf646('0x2b')+_0x3feb4c,'data':_0x12bfb5,'createdAt':new Date(),'authorId':_0x554e25,'attributes':_0x18c280}),this[_0xf646('0x2')](_0xf646('0x2b')+_0x3feb4c,_0x40fbc5,_0x554e25,_0x187ff1);}}return null;}[_0xf646('0xda')](_0x43b9db,_0x35ce5a,_0x57ad5b=[],_0x2af578=null,_0xb1bad7={}){_0x35ce5a[_0xf646('0xf0')]||(_0x35ce5a[_0xf646('0xf0')]=_0x35ce5a[_0xf646('0x43')]),_0x35ce5a['multipleBlocks']=_0x43b9db['is'](_0xf646('0xba')),_0x2af578=_0x2af578||$t(_0x35ce5a);const _0x335075=_0x57ad5b[_0xf646('0x3')](_0xd8d5d5=>Rt(_0xd8d5d5,this['_model'])),_0x459981=_0x43b9db['is'](_0xf646('0xba'))?_0x43b9db:Rt(_0x43b9db,this[_0xf646('0xb3')]);if('never'===this[_0xf646('0x10c')]){const _0x4fbec2=this[_0xf646('0xcf')][_0xf646('0x4f')]('formatBlock',_0x2af578,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x4fbec2([_0x459981],_0x35ce5a,_0xb1bad7)),null;}_0x335075[_0xf646('0xd7')](_0x459981);let _0x1300af=!0x0;for(const _0x2b2b96 of _0x335075)if(!this['_rangeIsInLocalUserInsertion'](_0x2b2b96)){_0x1300af=!0x1;break;}if(_0x1300af&&_0xf646('0x6c')!==this['_trackFormatChanges']){const _0x491559=this[_0xf646('0xcf')][_0xf646('0x4f')](_0xf646('0xf3'),_0x2af578,_0xf646('0x5b'));return this['forceDefaultExecution'](()=>_0x491559([_0x459981],_0x35ce5a,_0xb1bad7)),null;}let _0x5b9822=null,_0x39cf8f=_0x459981[_0xf646('0xde')],_0x2157e1=_0x459981[_0xf646('0x75')];for(const {suggestion:_0x23f0cf,meta:_0x280490}of this['_findSuggestions'](_0x459981,'formatBlock')){if(!_0x280490['isOwn']||_0x280490[_0xf646('0xb2')]||_0x280490['containsRangeInObject']||_0x280490[_0xf646('0xf1')])continue;if(_0x23f0cf[_0xf646('0x62')]['formatGroupId']!=_0x35ce5a['formatGroupId'])continue;const _0x127077=_0x23f0cf[_0xf646('0x11f')]();if(_0x23f0cf['subType']==_0x2af578){if(_0x127077[_0xf646('0x133')](_0x459981,!0x0))return null;_0x39cf8f=_0x39cf8f[_0xf646('0x1d')](_0x127077[_0xf646('0xde')])?_0x39cf8f:_0x127077[_0xf646('0xde')],_0x2157e1=_0x2157e1['isAfter'](_0x127077['end'])?_0x2157e1:_0x127077[_0xf646('0x75')],_0x5b9822?_0x127077['start']['isBefore'](_0x5b9822[_0xf646('0x11f')]()['start'])?(_0x5b9822['removeMarkers'](),_0x5b9822=_0x23f0cf):_0x23f0cf['removeMarkers']():_0x5b9822=_0x23f0cf;}else{const _0x1ab558=_0x459981['getIntersection'](_0x127077);this['_cutOutSuggestionMarker'](_0x23f0cf,_0x1ab558);}}const _0x172511=this[_0xf646('0x10a')][_0xf646('0xa9')][_0xf646('0x5')](_0xf646('0x137'))['me'],_0x37e84b=_0x1111ee(),_0x589dd7=_0x172511['id'];if(_0x5b9822)return this[_0xf646('0x47')](_0x5b9822,this[_0xf646('0xb3')]['createRange'](_0x39cf8f,_0x2157e1)),_0x5b9822;{const _0x339d11=this['_setSuggestionData']({'id':_0x37e84b,'type':_0xf646('0xe6')+_0x2af578,'data':_0x35ce5a,'createdAt':new Date(),'authorId':_0x589dd7,'attributes':_0xb1bad7});return this[_0xf646('0x2')](_0xf646('0xe6')+_0x2af578,_0x37e84b,_0x589dd7,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x39cf8f,_0x2157e1)),_0x339d11;}}[_0xf646('0xbd')](_0x5a5451,_0x3f938c,_0x12b00b=[],_0x2d785e=null,_0x35d798={}){_0x3f938c[_0xf646('0xf0')]||(_0x3f938c[_0xf646('0xf0')]=_0x3f938c['commandName']);const _0x247043=_0x5a5451[0x0];_0x3f938c[_0xf646('0xd')]=_0x247043['is']('range'),_0x2d785e=_0x2d785e||$t(_0x3f938c);const _0x4eba23=_0x12b00b[_0xf646('0x3')](_0x29a2d2=>Rt(_0x29a2d2,this[_0xf646('0xb3')])),_0x1f0171=_0x247043['is']('range')?_0x5a5451:_0x5a5451[_0xf646('0x3')](_0xd6b67e=>Rt(_0xd6b67e,this[_0xf646('0xb3')]));if(_0xf646('0x39')===this['_trackFormatChanges']){const _0x501197=this[_0xf646('0xcf')]['getSuggestionCallback']('formatBlock',_0x2d785e,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x501197(_0x1f0171,_0x3f938c,_0x35d798)),null;}_0x4eba23['push'](..._0x1f0171);let _0x288273=!0x0;for(const _0x52a0af of _0x4eba23)if(!this['_rangeIsInLocalUserInsertion'](_0x52a0af)){_0x288273=!0x1;break;}if(_0x288273&&_0xf646('0x6c')!==this['_trackFormatChanges']){const _0x51328b=this[_0xf646('0xcf')][_0xf646('0x4f')](_0xf646('0xf3'),_0x2d785e,'accept');return this[_0xf646('0x94')](()=>_0x51328b(_0x1f0171,_0x3f938c,_0x35d798)),null;}const _0x188d80=this[_0xf646('0x10a')][_0xf646('0xa9')]['get'](_0xf646('0x137'))['me'];for(const _0x1733fd of this['getSuggestions']()){if(_0x1733fd[_0xf646('0xa2')]['id']!=_0x188d80['id'])continue;if('formatBlock'!=_0x1733fd[_0xf646('0x45')]||_0x1733fd['data']['formatGroupId']!=_0x3f938c[_0xf646('0xf0')])continue;const _0x1de29d=_0x1733fd['subType']==_0x2d785e;for(let _0x4123cd=0x0;_0x4123cd<_0x1f0171[_0xf646('0x91')];_0x4123cd++){const _0x420232=_0x1f0171[_0x4123cd];for(const _0x45b377 of _0x1733fd[_0xf646('0x76')]()){const _0x4eb60d=_0x45b377['getRange']();if(_0x420232['isEqual'](_0x4eb60d)){_0x1de29d?(_0x1f0171[_0xf646('0x60')](_0x4123cd,0x1),_0x4123cd--):_0x1733fd[_0xf646('0x9f')](_0x45b377[_0xf646('0xc2')]);break;}}}}if(0x0==_0x1f0171[_0xf646('0x91')])return null;const _0x7cd09=this[_0xf646('0xcf')]['getSuggestionCallback'](_0xf646('0xf3'),_0x2d785e,_0xf646('0x64'));for(const _0x3149c9 of this['getSuggestions']())if(_0x3149c9[_0xf646('0xa2')]['id']==_0x188d80['id']&&'formatBlock'==_0x3149c9[_0xf646('0x45')]&&_0x3149c9['data'][_0xf646('0xf0')]==_0x3f938c[_0xf646('0xf0')]&&_0x3149c9['subType']==_0x2d785e&&(_0x7cd09(_0x3149c9['getRanges'](),_0x1f0171)||_0x7cd09(_0x1f0171,_0x3149c9[_0xf646('0xfc')]()))){for(const _0x3048bf of _0x1f0171)_0x3149c9[_0xf646('0x7f')](_0x3048bf);return _0x3149c9;}const _0x5f3678=_0x1111ee(),_0x45b22a=_0x188d80['id'],_0x201437='formatBlock:'+_0x2d785e,_0x33fd8e=this[_0xf646('0xce')]({'id':_0x5f3678,'type':_0x201437,'data':_0x3f938c,'createdAt':new Date(),'authorId':_0x45b22a,'attributes':_0x35d798});for(const _0x176d88 of _0x1f0171)this[_0xf646('0x2')](_0x201437,_0x5f3678,_0x45b22a,_0x176d88,_0x2ac3b5[_0xf646('0x56')]());return _0x33fd8e;}[_0xf646('0x1c')](_0xfd8bdc,_0x44c79b=null,_0x19743d={}){if(_0xfd8bdc['isCollapsed'])return null;const _0x447973=this[_0xf646('0x10a')][_0xf646('0xa9')][_0xf646('0x5')]('Users')['me'],_0x3e7b56=new _0x439dfc(_0xfd8bdc[_0xf646('0xde')],_0xfd8bdc[_0xf646('0x75')]);for(const {suggestion:_0x44cc08,meta:_0x41404a}of this['_findSuggestions'](_0x3e7b56,_0xf646('0xaf')))if(_0x41404a[_0xf646('0x119')]&&!_0x41404a[_0xf646('0xb2')]){if(_0x44cc08[_0xf646('0xc4')]){const _0x10ac78=_0x44cc08[_0xf646('0xfc')]()[_0xf646('0x66')](_0xce4d9e=>'$graveyard'!=_0xce4d9e[_0xf646('0xa8')][_0xf646('0x55')]);_0x10ac78['every'](_0x3413d7=>_0x3e7b56[_0xf646('0x133')](_0x3413d7,!0x0))&&_0x44cc08[_0xf646('0xc6')]();if(_0x10ac78[_0xf646('0xff')](_0x4f9178=>_0x4f9178['containsRange'](_0x3e7b56,!0x0))){const _0x24f8ff=this[_0xf646('0xcf')][_0xf646('0x4f')]('deletion',_0x44c79b,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x24f8ff([_0x3e7b56],null,_0x19743d)),null;}}else{const _0x284645=_0x3e7b56[_0xf646('0xe')](_0x44cc08['getFirstRange']());null!==_0x284645&&_0x44cc08[_0xf646('0x40')]([_0x284645],null,_0x19743d);}}if(_0x3e7b56[_0xf646('0x9')](),_0x3e7b56[_0xf646('0x1e')]||'$graveyard'==_0x3e7b56[_0xf646('0xa8')]['rootName'])return null;let _0x5bbd7e=null,_0x12fb9b=_0x3e7b56[_0xf646('0xde')],_0x500b52=_0x3e7b56[_0xf646('0x75')];for(const {suggestion:_0x5f4b97,meta:_0x5b5d41}of this[_0xf646('0xad')](_0x3e7b56,'deletion'))if(_0x5b5d41[_0xf646('0x119')]){if(_0x5f4b97[_0xf646('0xc4')]&&this['_mergeNestedSuggestions']){let _0x44079b=!0x0;for(const _0x3741df of _0x5f4b97[_0xf646('0xfc')]()){if(_0x3741df['containsRange'](_0x3e7b56,!0x0))return _0x5f4b97;_0x3e7b56['containsRange'](_0x3741df)||(_0x44079b=!0x1);}_0x44079b&&_0x5f4b97['discard']();}else{const _0xa37522=_0x5f4b97[_0xf646('0x11f')]();if(_0xa37522[_0xf646('0x133')](_0x3e7b56,!0x0)){if(!this[_0xf646('0xea')]&&_0x5b5d41[_0xf646('0x128')])continue;return _0x5f4b97;}_0x12fb9b=_0x12fb9b[_0xf646('0x1d')](_0xa37522[_0xf646('0xde')])?_0x12fb9b:_0xa37522[_0xf646('0xde')],_0x500b52=_0x500b52['isAfter'](_0xa37522[_0xf646('0x75')])?_0x500b52:_0xa37522[_0xf646('0x75')],_0x5bbd7e?_0xa37522[_0xf646('0xde')]['isBefore'](_0x5bbd7e[_0xf646('0x11f')]()[_0xf646('0xde')])?(_0x5bbd7e[_0xf646('0x70')](),_0x5bbd7e=_0x5f4b97):_0x5f4b97[_0xf646('0x70')]():_0x5bbd7e=_0x5f4b97;}}if(_0x5bbd7e)return this[_0xf646('0x47')](_0x5bbd7e,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x12fb9b,_0x500b52)),_0x5bbd7e;{const _0x137f53=_0x1111ee(),_0x39c3b4=this[_0xf646('0xb3')]['createRange'](_0x12fb9b,_0x500b52),_0x4c22a7=_0x447973['id'],_0x19629f=_0x44c79b?_0xf646('0x7b')+_0x44c79b:'deletion',_0x324fb5=this['_setSuggestionData']({'id':_0x137f53,'type':_0x19629f,'createdAt':new Date(),'authorId':_0x4c22a7,'attributes':_0x19743d});return this[_0xf646('0x2')](_0x19629f,_0x137f53,_0x4c22a7,_0x39c3b4),_0x324fb5;}}[_0xf646('0x42')](_0x3ec299,_0x3a823c=_0xf646('0xd5'),_0x5ad746={}){const _0x4e4065=this['editor'][_0xf646('0xa9')]['get'](_0xf646('0x137'))['me'],_0x26b269=_0x3ec299[_0xf646('0x3')](_0x16be16=>new _0x439dfc(_0x16be16['start'],_0x16be16[_0xf646('0x75')])),_0x19514e=new Set();for(const _0x44391c of _0x26b269)for(const {suggestion:_0x144140,meta:_0x58451}of this[_0xf646('0xad')](_0x44391c,'insertion'))_0x58451[_0xf646('0x119')]&&!_0x58451['isNextTo']&&_0x19514e[_0xf646('0x1')](_0x144140);for(const _0xeb79d1 of _0x19514e)if(_0xeb79d1[_0xf646('0xc4')]){const _0x1877be=_0xeb79d1['getRanges']();(!_0xeb79d1[_0xf646('0x71')]||!_0xeb79d1['attributes'][_0xf646('0x130')])&&(_0x1877be['every'](_0x11a540=>_0x26b269[_0xf646('0xff')](_0x5cc350=>_0x5cc350[_0xf646('0x133')](_0x11a540,!0x0)))&&_0xeb79d1[_0xf646('0xc6')]());if(_0x26b269[_0xf646('0x74')](_0xa9130=>_0x1877be[_0xf646('0xff')](_0x43bb0c=>_0x43bb0c[_0xf646('0x133')](_0xa9130,!0x0)))){const _0x45bbc2=this[_0xf646('0xcf')][_0xf646('0x4f')](_0xf646('0x11b'),_0x3a823c,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x45bbc2(_0x3ec299,null,_0x5ad746)),null;}}else{const _0x40c87c=_0xeb79d1[_0xf646('0x11f')]();_0x26b269[_0xf646('0xff')](_0x30ce37=>_0x30ce37[_0xf646('0x133')](_0x40c87c,!0x0))&&_0xeb79d1[_0xf646('0xc6')]();if(_0x26b269[_0xf646('0x74')](_0x789c07=>_0x40c87c['containsRange'](_0x789c07,!0x0))){const _0x430e0f=this['_suggestionFactory'][_0xf646('0x4f')](_0xf646('0x11b'),_0x3a823c,_0xf646('0x5b'));return this[_0xf646('0x94')](()=>_0x430e0f(_0x26b269,null,_0x5ad746)),null;}}const _0x434c3d=this[_0xf646('0xcf')][_0xf646('0x4f')](_0xf646('0x11b'),_0x3a823c,_0xf646('0x64'));let _0x4b61b1=null;for(const _0x5e095d of this[_0xf646('0x26')]())if(_0x5e095d['author']['id']==_0x4e4065['id']&&_0x5e095d[_0xf646('0x11c')]&&_0xf646('0x11b')==_0x5e095d[_0xf646('0x45')]&&_0x5e095d['subType']==_0x3a823c&&(_0x434c3d(_0x5e095d[_0xf646('0xfc')](),_0x26b269)||_0x434c3d(_0x26b269,_0x5e095d['getRanges']()))){if(_0x4b61b1){if(_0x5e095d[_0xf646('0x9a')]&&_0x5e095d['commentThread'][_0xf646('0x91')])continue;for(const _0x4cccbe of _0x5e095d[_0xf646('0xfc')]())_0x4b61b1[_0xf646('0x37')](_0x4cccbe)||_0x4b61b1[_0xf646('0x7f')](_0x4cccbe);_0x5e095d[_0xf646('0x70')]();}else{_0x4b61b1=_0x5e095d;for(const _0xd1793d of _0x26b269)_0x5e095d[_0xf646('0x37')](_0xd1793d)||_0x5e095d[_0xf646('0x7f')](_0xd1793d);}}if(_0x4b61b1)return _0x4b61b1;_0x19514e[_0xf646('0x44')]();for(const _0x3c2a36 of _0x26b269)for(const {suggestion:_0x2ff063,meta:_0x5a0eb6}of this[_0xf646('0xad')](_0x3c2a36,_0xf646('0x11b')))_0x5a0eb6[_0xf646('0x119')]&&_0x19514e[_0xf646('0x1')](_0x2ff063);for(const _0x230ad4 of _0x19514e){const _0x563121=_0x230ad4[_0xf646('0xfc')]();if(!_0x5ad746||!_0x5ad746[_0xf646('0x130')]){if(_0x26b269[_0xf646('0x74')](_0x362e54=>_0x563121['some'](_0x2ecc8c=>_0x2ecc8c[_0xf646('0x133')](_0x362e54,!0x0))))return _0x230ad4;}(!_0x230ad4[_0xf646('0x71')]||!_0x230ad4[_0xf646('0x71')][_0xf646('0x130')])&&(_0x563121[_0xf646('0x74')](_0x245c32=>_0x26b269[_0xf646('0xff')](_0x8a0f80=>_0x8a0f80[_0xf646('0x133')](_0x245c32,!0x0)))&&_0x230ad4[_0xf646('0xc6')]());}const _0x51a87f=_0x1111ee(),_0x5a60f7=_0x4e4065['id'],_0x4f7458='deletion:'+_0x3a823c,_0x577974=this[_0xf646('0xce')]({'id':_0x51a87f,'type':_0x4f7458,'createdAt':new Date(),'authorId':_0x5a60f7,'attributes':_0x5ad746});for(const _0x15644c of _0x26b269)_0x15644c[_0xf646('0x9')](),_0x15644c['isCollapsed']||_0xf646('0x3b')==_0x15644c['root']['rootName']||this[_0xf646('0x2')](_0x4f7458,_0x51a87f,_0x5a60f7,_0x15644c,_0x2ac3b5[_0xf646('0x56')]());return _0x577974;}[_0xf646('0x47')](_0x59ea9e,_0x193230){const _0x554ed8=_0x59ea9e[_0xf646('0xd3')]();this['_model']['change'](_0x465748=>{_0x465748[_0xf646('0xf5')](_0x554ed8,{'range':_0x193230});});}[_0xf646('0xb5')](_0x4fa0c1){const _0x47221d=_0x4fa0c1['id'],_0x5b5189=this[_0xf646('0x10a')][_0xf646('0x12d')][_0xf646('0x5')]('collaboration.channelId');this[_0xf646('0x1b')][_0xf646('0x3c')](_0x47221d)||this[_0xf646('0x1b')][_0xf646('0xe1')]({'channelId':_0x5b5189,'threadId':_0x47221d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x150640=this[_0xf646('0x1b')][_0xf646('0x84')](_0x47221d);_0x150640[_0xf646('0xb0')](_0xf646('0x120')),_0x150640[_0xf646('0x120')]=!0x1,_0x4fa0c1[_0xf646('0x9a')]=_0x150640;}['_checkSuggestionCorrectness'](_0x5633c9,_0x27d4d2,_0x504615,_0x54bce4){if(_0x5633c9[_0xf646('0x45')]!=_0x27d4d2||_0x5633c9[_0xf646('0xab')]!=_0x504615||_0x5633c9['creator']['id']!=_0x54bce4)throw this[_0xf646('0x10a')][_0xf646('0x4b')](_0xf646('0x5a')),new _0x12141c(_0xf646('0x5a'),this);}[_0xf646('0x3a')](_0x576294,_0xd55acc){const _0x53c805=_0x576294['getFirstRange']();if(_0xd55acc[_0xf646('0x12b')](_0x53c805))_0x576294['removeMarkers']();else{if(_0x53c805['containsRange'](_0xd55acc)){const _0x1a9348=this[_0xf646('0xb3')][_0xf646('0x50')](_0xd55acc['start']['nodeBefore'],_0xf646('0x75'));this['_setSuggestionRange'](_0x576294,this[_0xf646('0xb3')]['createRange'](_0x53c805[_0xf646('0xde')],_0x1a9348));const _0x45e23d=_0x1111ee(),_0x103fa4=_0x576294[_0xf646('0xef')]['id'],_0xea3c5e=_0x576294['type']+':'+_0x576294[_0xf646('0xab')];this[_0xf646('0xce')]({'id':_0x45e23d,'type':_0xea3c5e,'createdAt':new Date(),'authorId':_0x103fa4,'data':_0x576294[_0xf646('0x62')],'attributes':_0x576294[_0xf646('0x71')]});const _0x5a3456=this[_0xf646('0xb3')]['createPositionAt'](_0xd55acc[_0xf646('0x75')][_0xf646('0xc7')],_0xf646('0xf9')),_0x3fecb7=this[_0xf646('0xb3')]['createRange'](_0x5a3456,_0x53c805['end']);this[_0xf646('0x2')](_0xea3c5e,_0x45e23d,_0x103fa4,_0x3fecb7);}else{if(_0x53c805[_0xf646('0xf8')](_0xd55acc[_0xf646('0xde')])){const _0x2172f1=this[_0xf646('0xb3')][_0xf646('0x50')](_0xd55acc['start'][_0xf646('0x106')],_0xf646('0x75'));this[_0xf646('0x47')](_0x576294,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x53c805[_0xf646('0xde')],_0x2172f1));}else{const _0x5d02da=this[_0xf646('0xb3')][_0xf646('0x50')](_0xd55acc['end'][_0xf646('0xc7')],_0xf646('0xf9'));this[_0xf646('0x47')](_0x576294,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x5d02da,_0x53c805[_0xf646('0x75')]));}}}}[_0xf646('0x67')](_0x5e9af3){for(const {suggestion:_0x512ed6,meta:_0x2dc5dd}of this[_0xf646('0xad')](_0x5e9af3,_0xf646('0xaf'))){if(!_0x2dc5dd[_0xf646('0x119')])continue;const _0x344114=_0x512ed6[_0xf646('0xfc')]();for(const _0x36eefd of _0x344114)if(!_0x5e9af3['getDifference'](_0x36eefd)[_0xf646('0x91')])return!0x0;}return!0x1;}[_0xf646('0x73')](_0x1b4190){const _0x3bbf96=this['editor']['plugins']['get'](_0xf646('0x137'))[_0xf646('0x20')](_0x1b4190);if(!_0x3bbf96)throw new _0x12141c(_0xf646('0x6d'),this);return _0x3bbf96;}['_getExternalAuthor'](_0xe38fbb){const _0x5cb2e8=this[_0xf646('0x10a')][_0xf646('0xa9')][_0xf646('0x5')](_0xf646('0x137')),_0x2ddcaa=_0x160990(_0xf646('0x4e')+_0xe38fbb),_0x479f94=_0x5cb2e8['getUser'](_0x2ddcaa);return _0x479f94||_0x5cb2e8[_0xf646('0x104')]({'id':_0x2ddcaa,'name':_0xe38fbb});}[_0xf646('0x83')](_0x476295,_0x245f20,_0x4805a9,_0x5d7804,_0x49c05c){const _0x4e4cf8=this[_0xf646('0x73')](_0x5d7804),_0x15caa3=this[_0xf646('0xcf')]['buildSuggestion'](_0x476295,_0x245f20,_0x4805a9,_0x4e4cf8,_0x49c05c,_0x12454e=>this['_updateSuggestionData'](_0x4805a9,{'attributes':_0x12454e}));return this['listenTo'](_0x15caa3,'accept',()=>{this[_0xf646('0x23')](_0x4805a9,{'state':_0xf646('0xdc')});},{'priority':_0xf646('0xd9')}),this['listenTo'](_0x15caa3,'discard',()=>{this[_0xf646('0x23')](_0x4805a9,{'state':'rejected'});},{'priority':'high'}),this[_0xf646('0x8')]['set'](_0x4805a9,_0x15caa3),this[_0xf646('0x4a')]['set'](_0x15caa3,'notReady'),_0x15caa3;}[_0xf646('0xb7')](_0x188c50){const _0x469c25=_0x188c50[_0xf646('0x12c')](':');return{'group':_0x469c25[0x0],'type':_0x469c25[0x1],'subType':_0x469c25[_0xf646('0x91')]>=0x5?_0x469c25[0x2]:null,'id':_0x469c25['length']<0x5?_0x469c25[0x2]:_0x469c25[0x3],'authorId':_0x469c25[_0xf646('0x91')]<0x5?_0x469c25[0x3]:_0x469c25[0x4],'markerCount':0x6==_0x469c25[_0xf646('0x91')]?_0x469c25[0x5]:null};}[_0xf646('0x3d')](_0x7eecbb,_0x35924a,_0x5a40c8){const _0x1b3093=_0x7eecbb['getFirstRange'](),_0x27db27=_0x1b3093[_0xf646('0xde')],_0x43be37=_0x1b3093[_0xf646('0x75')];this['_setSuggestionRange'](_0x7eecbb,this['_model'][_0xf646('0x10d')](_0x27db27,_0x35924a));const _0x1d81bb=_0x1111ee(),_0x160638=_0x7eecbb[_0xf646('0xef')]['id'],_0x5f3b9d=_0x7eecbb[_0xf646('0x45')]+(_0x7eecbb[_0xf646('0xab')]?':'+_0x7eecbb[_0xf646('0xab')]:'');this[_0xf646('0xce')]({'id':_0x1d81bb,'type':_0x5f3b9d,'createdAt':new Date(),'authorId':_0x160638,'originalSuggestionId':_0x7eecbb['id'],'attributes':_0x7eecbb[_0xf646('0x71')],'data':_0x7eecbb[_0xf646('0x62')]}),_0xf646('0xf3')==_0x7eecbb[_0xf646('0x45')]&&(_0x5a40c8=this[_0xf646('0xb3')][_0xf646('0x82')](_0x5a40c8[_0xf646('0xc7')])),this[_0xf646('0x2')](_0x5f3b9d,_0x1d81bb,_0x160638,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x5a40c8,_0x43be37));}[_0xf646('0xad')](_0x5c1ff6,_0x5403ef=null){const _0x5d4dbb=[],_0x4e4855=this['_model'][_0xf646('0x124')],_0x1a3ce6=this['editor'][_0xf646('0xa9')]['get'](_0xf646('0x137'))['me'];for(const _0x420d30 of this[_0xf646('0x26')]())if(_0x420d30[_0xf646('0x11c')]&&(!_0x5403ef||_0x420d30['type']==_0x5403ef))for(const _0x518965 of _0x420d30[_0xf646('0xfc')]()){const _0x118b76=_0x5c1ff6[_0xf646('0xde')][_0xf646('0x12b')](_0x518965['end'])||_0x5c1ff6[_0xf646('0x75')][_0xf646('0x12b')](_0x518965[_0xf646('0xde')]);if(_0x118b76||_0x5c1ff6['getIntersection'](_0x518965)){const _0x3a3216=_0x5c1ff6[_0xf646('0x133')](_0x518965)&&Bt(_0x4e4855,_0x518965['start'],_0x5c1ff6),_0x2b0948=_0x518965['containsRange'](_0x5c1ff6)&&Bt(_0x4e4855,_0x5c1ff6['start'],_0x518965);_0x5d4dbb[_0xf646('0xd7')]({'suggestion':_0x420d30,'meta':{'isOwn':_0x1a3ce6==_0x420d30['author'],'isNextTo':_0x118b76,'isInsideObject':_0x3a3216,'containsRangeInObject':_0x2b0948}});break;}}return _0x5d4dbb;}[_0xf646('0x2')](_0xf342c0,_0x425242,_0x5d663e,_0x2ed674,_0x52028f){this[_0xf646('0xb3')]['change'](_0x5c4301=>{let _0xe556ba=_0xf646('0x3e')+_0xf342c0+':'+_0x425242+':'+_0x5d663e;_0x52028f&&(_0xe556ba=_0xe556ba+':'+_0x52028f),_0x5c4301[_0xf646('0x86')](_0xe556ba,{'range':_0x2ed674,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xf646('0xdf')](_0x164149){const _0x59e40e=_0x164149['previous'],_0x33450e=_0x164149[_0xf646('0x90')];_0x164149[_0xf646('0xb1')]=null,null!=_0x59e40e&&(_0x59e40e[_0xf646('0x90')]=null),_0x164149[_0xf646('0x90')]=null,null!=_0x33450e&&(_0x33450e[_0xf646('0xb1')]=null),_0xf646('0xa4')==this[_0xf646('0x4a')]['get'](_0x164149)&&(this['_suggestionState'][_0xf646('0x125')](_0x164149,_0xf646('0xa0')),this['fire'](_0xf646('0xae'),_0x164149,_0x59e40e,_0x33450e));}[_0xf646('0xce')](_0x75b47d){const _0x3df815=_0x75b47d['id'],_0x4b0890=this[_0xf646('0xe8')](_0x75b47d);if(this['_adapter']&&this[_0xf646('0xee')][_0xf646('0xb8')]){const _0x1c9b7b=this[_0xf646('0x10a')][_0xf646('0xa9')][_0xf646('0x5')](_0xf646('0x105')),_0x266f9b=_0x4b0890[_0xf646('0xbe')],_0x216ee2=_0x4b0890[_0xf646('0xab')]?_0x4b0890[_0xf646('0x45')]+':'+_0x4b0890[_0xf646('0xab')]:_0x4b0890[_0xf646('0x45')],_0x56a89f=this['editor']['locale'],_0x496a2f=_0x1c9b7b[_0xf646('0x1')](_0x1fb6d6(_0x56a89f,'PENDING_ACTION_SUGGESTION')),_0x36179a={'id':_0x3df815,'type':_0x216ee2,'hasComments':_0x266f9b,'data':_0x75b47d[_0xf646('0x62')]||null,'originalSuggestionId':_0x75b47d['originalSuggestionId']||null,'attributes':_0x4b0890[_0xf646('0x71')]};this[_0xf646('0xee')]['addSuggestion'](_0x36179a)[_0xf646('0x2a')](_0x19a6a4=>{_0x4b0890[_0xf646('0xb4')]=!0x0,_0x1c9b7b[_0xf646('0x19')](_0x496a2f),_0x19a6a4&&_0x19a6a4['createdAt']&&(this[_0xf646('0x8')][_0xf646('0x5')](_0x3df815)[_0xf646('0xd2')]=_0x19a6a4[_0xf646('0xd2')]);})[_0xf646('0x32')](_0x41538f=>{throw _0x1ff280(_0xf646('0xfa')),this[_0xf646('0x10a')][_0xf646('0x4d')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x4b0890[_0xf646('0xc6')]();}),_0x4b0890[_0xf646('0x49')](),this['_suggestions'][_0xf646('0xcb')](_0x4b0890['id']),this['_suggestionState'][_0xf646('0xcb')](_0x4b0890),_0x41538f;});}return _0x4b0890;}['_updateSuggestionData'](_0x450518,_0x368648){const _0x5aae30=this[_0xf646('0x10a')][_0xf646('0xa9')]['get'](_0xf646('0x105')),_0x488af5=this[_0xf646('0xaa')](_0x450518);if(this[_0xf646('0xee')]&&this[_0xf646('0xee')][_0xf646('0xf')]){if(_0x488af5[_0xf646('0xb4')]){const _0x201b12=_0x5aae30[_0xf646('0x1')](_0x1fb6d6(this[_0xf646('0x10a')]['locale'],_0xf646('0xca')));this['_adapter'][_0xf646('0xf')](_0x450518,_0x368648)[_0xf646('0x2a')](()=>{_0x5aae30[_0xf646('0x19')](_0x201b12);});}else _0x488af5['on']('change:_saved',()=>{this[_0xf646('0x23')](_0x450518,_0x368648);});}}['_getSuggestionData'](_0x301649){if(!this[_0xf646('0xee')]||!this['_adapter'][_0xf646('0xaa')])throw new _0x12141c(_0xf646('0x33'),this);return this[_0xf646('0xee')][_0xf646('0xaa')](_0x301649);}[_0xf646('0x111')](_0x5e2ae4){const {id:_0x477d5c,type:_0x61d619,subType:_0x2921bd,authorId:_0x24da17}=this['_splitMarkerName'](_0x5e2ae4),_0x53b40e=this[_0xf646('0x8')][_0xf646('0x5')](_0x477d5c)||this[_0xf646('0x83')](_0x61d619,_0x2921bd,_0x477d5c,_0x24da17,{});switch(this['_checkSuggestionCorrectness'](_0x53b40e,_0x61d619,_0x2921bd,_0x24da17),this[_0xf646('0x4a')]['get'](_0x53b40e)){case'notReady':this['_getSuggestionData'](_0x477d5c)[_0xf646('0x2a')](_0x2f4472=>{let _0x15c615=Promise[_0xf646('0x25')]();_0x2f4472[_0xf646('0xbe')]&&(_0x15c615=this[_0xf646('0x1b')]['fetchCommentThread']({'channelId':this[_0xf646('0x10a')]['config'][_0xf646('0x5')]('collaboration.channelId'),'threadId':_0x477d5c})),_0x15c615[_0xf646('0x2a')](()=>{this[_0xf646('0xe8')](_0x2f4472)['_saved']=!0x0;});}),this[_0xf646('0x4a')][_0xf646('0x125')](_0x53b40e,_0xf646('0x36'));break;case _0xf646('0xa0'):this[_0xf646('0x23')](_0x477d5c,{'state':_0xf646('0x80')});case _0xf646('0x2c'):this['_suggestionState'][_0xf646('0x125')](_0x53b40e,_0xf646('0xa4')),this[_0xf646('0xcd')](_0xf646('0xc3'),_0x53b40e);break;case'ready':this[_0xf646('0xcd')](_0xf646('0x10'),_0x53b40e);}return _0x53b40e['addMarkerName'](_0x5e2ae4),_0x53b40e;}['_refreshSuggestionsChain'](_0x1f5535){const _0x25b97e=Array[_0xf646('0xd6')](_0x1f5535)['filter'](_0x391445=>!_0x391445[_0xf646('0xc4')]),_0x4a48e9=this['getSuggestions']({'skipNotAttached':!0x0})[_0xf646('0x66')](_0x44f029=>!_0x44f029[_0xf646('0xc4')]),_0x4276e2=_0x4a48e9['filter'](_0x32201d=>!_0x1f5535['has'](_0x32201d)),_0x661198=new Map(_0x4a48e9[_0xf646('0x3')](_0x33686a=>[_0x33686a,this['_suggestionFactory']['getSuggestionCallback'](_0x33686a[_0xf646('0x45')],_0x33686a[_0xf646('0xab')],_0xf646('0xe5'))])),_0x34daf3=new Map(_0x4a48e9[_0xf646('0x3')](_0x42f810=>[_0x42f810,_0x42f810[_0xf646('0x11f')]()])),_0x29af45=new Set(),_0x4bfc3c=new Set();for(let _0x4d8058=0x0;_0x4d8058<_0x25b97e[_0xf646('0x91')];_0x4d8058++)_0x90f447(_0x25b97e[_0x4d8058],_0x25b97e,_0x4d8058+0x1);for(let _0x38b996=0x0;_0x38b996<_0x25b97e['length'];_0x38b996++)_0x90f447(_0x25b97e[_0x38b996],_0x4276e2,0x0);for(let _0x74896d=0x0;_0x74896d<_0x25b97e[_0xf646('0x91')];_0x74896d++){const _0xe2004b=_0x25b97e[_0x74896d];!_0x4bfc3c[_0xf646('0x107')](_0xe2004b)&&_0xe2004b['previous']&&(_0xe2004b['previous'][_0xf646('0x90')]===_0xe2004b&&(_0xe2004b[_0xf646('0xb1')][_0xf646('0x90')]=null),_0xe2004b[_0xf646('0xb1')]=null),!_0x29af45[_0xf646('0x107')](_0xe2004b)&&_0xe2004b[_0xf646('0x90')]&&(_0xe2004b[_0xf646('0x90')][_0xf646('0xb1')]===_0xe2004b&&(_0xe2004b[_0xf646('0x90')]['previous']=null),_0xe2004b[_0xf646('0x90')]=null);}function _0x90f447(_0x1d101a,_0x14d9ab,_0x1ae5e0){for(let _0x2716ab=_0x1ae5e0;_0x2716ab<_0x14d9ab[_0xf646('0x91')];_0x2716ab++){const _0x547ef7=_0x59904e(_0x1d101a,_0x14d9ab[_0x2716ab]);_0x547ef7&&(_0x547ef7[0x0][_0xf646('0x90')]=_0x547ef7[0x1],_0x547ef7[0x1][_0xf646('0xb1')]=_0x547ef7[0x0],_0x29af45['add'](_0x547ef7[0x0]),_0x4bfc3c[_0xf646('0x1')](_0x547ef7[0x1]));}}function _0x59904e(_0x499da4,_0x5de24f){if(_0x499da4[_0xf646('0xa2')]['id']!==_0x5de24f[_0xf646('0xa2')]['id'])return null;const _0x1caa24=_0x661198['get'](_0x499da4)(_0x499da4,_0x5de24f,_0x34daf3[_0xf646('0x5')](_0x499da4),_0x34daf3[_0xf646('0x5')](_0x5de24f));if(!_0x1caa24)return null;return _0x661198[_0xf646('0x5')](_0x5de24f)(_0x499da4,_0x5de24f,_0x34daf3[_0xf646('0x5')](_0x499da4),_0x34daf3[_0xf646('0x5')](_0x5de24f))?_0x1caa24[0x1][_0xf646('0x9a')]&&_0x1caa24[0x1][_0xf646('0x9a')][_0xf646('0x91')]?null:_0x1caa24:null;}}['_joinWithAdjacentSuggestions'](_0xcd3d93){const _0x50b20c=Array['from'](_0xcd3d93),_0x2fbd64=this['getSuggestions']({'skipNotAttached':!0x0}),_0xe94f17=_0x2fbd64[_0xf646('0x66')](_0x56840b=>!_0xcd3d93['has'](_0x56840b)),_0x5ee3b0=new Map(_0x50b20c['map'](_0x481f82=>[_0x481f82,this[_0xf646('0xcf')][_0xf646('0x4f')](_0x481f82[_0xf646('0x45')],_0x481f82[_0xf646('0xab')],_0xf646('0x64'))])),_0x17a777=new Map(_0x2fbd64[_0xf646('0x3')](_0x192f45=>[_0x192f45,_0x192f45[_0xf646('0xfc')]()]));for(let _0x5e5020=0x0;_0x5e5020<_0x50b20c[_0xf646('0x91')];_0x5e5020++){if(_0x4c0eb9(this,_0x50b20c[_0x5e5020],_0x50b20c,_0x5e5020+0x1))return!0x0;}for(let _0x434ce1=0x0;_0x434ce1<_0x50b20c[_0xf646('0x91')];_0x434ce1++){if(_0x4c0eb9(this,_0x50b20c[_0x434ce1],_0xe94f17,0x0))return!0x0;}return!0x1;function _0x4c0eb9(_0x5e8526,_0x3ba2a1,_0x5c05d7,_0x4c8931){for(let _0x687faa=_0x4c8931;_0x687faa<_0x5c05d7[_0xf646('0x91')];_0x687faa++){const _0x4cd8a4=_0x5c05d7[_0x687faa];if(_0x4cd8a4['type']!==_0x3ba2a1[_0xf646('0x45')]||_0x4cd8a4[_0xf646('0xa2')]['id']!==_0x3ba2a1['author']['id']||_0x4cd8a4['subType']!==_0x3ba2a1[_0xf646('0xab')])continue;const _0x220af7=_0x5ee3b0[_0xf646('0x5')](_0x3ba2a1),_0x56f7a4=_0x17a777[_0xf646('0x5')](_0x3ba2a1),_0x32e33f=_0x17a777[_0xf646('0x5')](_0x4cd8a4),_0x4706bc=_0x3ba2a1[_0xf646('0x9a')]&&_0x3ba2a1[_0xf646('0x9a')][_0xf646('0x91')],_0x4ef56f=_0x4cd8a4[_0xf646('0x9a')]&&_0x4cd8a4[_0xf646('0x9a')][_0xf646('0x91')];if(!_0x4706bc&&_0x220af7(_0x32e33f,_0x56f7a4))return _0x5e8526[_0xf646('0xa7')](_0x4cd8a4,_0x3ba2a1),_0x17a777[_0xf646('0xcb')](_0x3ba2a1),!0x0;if(!_0x4ef56f&&_0x220af7(_0x56f7a4,_0x32e33f))return _0x5e8526[_0xf646('0xa7')](_0x3ba2a1,_0x4cd8a4),_0x17a777[_0xf646('0xcb')](_0x4cd8a4),!0x0;}return!0x1;}}['_joinSuggestions'](_0x690457,_0x38a79d){if(_0x690457[_0xf646('0xc4')])for(const _0x44a428 of _0x38a79d[_0xf646('0xfc')]())_0x690457['addRange'](_0x44a428);else{const _0x1174c7=_0x38a79d[_0xf646('0x11f')]()[_0xf646('0x75')];this[_0xf646('0x47')](_0x690457,this[_0xf646('0xb3')][_0xf646('0x10d')](_0x690457[_0xf646('0x11f')]()[_0xf646('0xde')],_0x1174c7));}_0x38a79d[_0xf646('0x70')]();}}class Dt{constructor(_0x4679f9){this['_editor']=_0x4679f9,this[_0xf646('0xb3')]=_0x4679f9[_0xf646('0x4d')],this[_0xf646('0x132')]=new Map(),this[_0xf646('0x79')]=new Map(),this[_0xf646('0x113')]();}[_0xf646('0x4')](_0x540140,_0x230394,_0x180234,_0x91794,_0x5b6ef3,_0x259dbe){return new _0x2ac3b5(this['_model'],{'type':_0x540140,'subType':_0x230394,'id':_0x180234,'author':_0x91794,'creator':_0x91794,'attributes':_0x5b6ef3,'onAttributesChange':_0x259dbe,'onAccept':(..._0x2f9650)=>this[_0xf646('0x4f')](_0x540140,_0x230394,_0xf646('0x5b'))(..._0x2f9650),'onDiscard':(..._0x320e64)=>this['getSuggestionCallback'](_0x540140,_0x230394,_0xf646('0xc6'))(..._0x320e64)});}[_0xf646('0x9e')](_0x3a9b91,_0x4dc42,_0x1e3f6f,_0x294aaa){const _0xf1b567=_0x3a9b91+':'+_0x4dc42+':'+_0x1e3f6f;this[_0xf646('0x132')][_0xf646('0x125')](_0xf1b567,_0x294aaa);}['getSuggestionCallback'](_0x1b1a4e,_0x2af20d,_0x259b6f){const _0x4c6ba6=_0x1b1a4e+':'+_0x2af20d+':'+_0x259b6f;return this['_customCallbacks'][_0xf646('0x5')](_0x4c6ba6)||this[_0xf646('0x79')][_0xf646('0x5')](_0x1b1a4e+':'+_0x259b6f);}[_0xf646('0x113')](){const _0x1df5a6=()=>{},_0x55cbcf=_0x467ebf=>{_0x467ebf[_0xf646('0x17')]((_0x2e0b3e,_0x437129)=>_0x2e0b3e[_0xf646('0xde')][_0xf646('0x1d')](_0x437129[_0xf646('0xde')])?0x1:-0x1),this[_0xf646('0xb3')][_0xf646('0x6e')](_0x3c4ba4=>{for(const _0x42143f of _0x467ebf){let _0x283e96;_0x283e96=_0x42143f[_0xf646('0x75')][_0xf646('0x117')]&&_0x42143f[_0xf646('0x75')][_0xf646('0xc7')]==_0x42143f['start'][_0xf646('0xe4')]?_0x3c4ba4['createSelection'](_0x42143f[_0xf646('0xde')][_0xf646('0xe4')],'on'):_0x3c4ba4[_0xf646('0x138')](_0x42143f),this[_0xf646('0xb3')][_0xf646('0x10f')](_0x283e96,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x414647=(_0x1a0c85,_0x3dcf2e)=>{this['_model'][_0xf646('0x6e')](_0xc49c4d=>{const {commandName:_0x361d4c,commandParams:_0x649f8a=[]}=_0x3dcf2e,_0x2bcc0a=_0x1a0c85[_0xf646('0x3')](_0x39898c=>(_t(_0x39898c)&&(_0x39898c=this[_0xf646('0xb3')][_0xf646('0x10d')](_0x39898c[_0xf646('0x75')])),_0x39898c))[_0xf646('0x66')](_0x1de24a=>_0xf646('0x3b')!==_0x1de24a[_0xf646('0xa8')][_0xf646('0x55')]);if(_0x2bcc0a[_0xf646('0x91')]<0x1)return;const _0x1239d5=Array[_0xf646('0xd6')](this['_model']['document']['selection'][_0xf646('0xfc')]())[_0xf646('0x3')](_0x3d58ac=>_0x439dfc[_0xf646('0x7d')](_0x3d58ac));_0xc49c4d['setSelection'](_0x2bcc0a);for(const _0x5eb3cc of this[_0xf646('0x31')][_0xf646('0x2e')]['commands']())_0x5eb3cc[_0xf646('0x51')]();_0x649f8a[_0xf646('0xd7')]({'forceDefaultExecution':!0x0}),this[_0xf646('0x31')][_0xf646('0x5d')](_0x361d4c,..._0x649f8a);const _0x59427b=_0x1239d5[_0xf646('0x66')](_0x58b7cb=>'$graveyard'!=_0x58b7cb[_0xf646('0xa8')]['rootName']);_0x59427b['length']>0x0&&_0xc49c4d[_0xf646('0x12e')](_0x59427b);for(const _0x564245 of _0x1239d5)_0x564245[_0xf646('0x9')]();});},_0x1d2e7b=(_0x47b6c5,_0x9424c6)=>0x1==_0x47b6c5[_0xf646('0x91')]&&0x1==_0x9424c6[_0xf646('0x91')]&&_0x47b6c5[0x0][_0xf646('0x75')]['isEqual'](_0x9424c6[0x0][_0xf646('0xde')]),_0x4321e7=(_0x3184f4,_0x53a88c,_0x184bf6,_0x4dbaa7)=>xt(_0x3184f4,_0x53a88c,_0x184bf6,_0x4dbaa7,this[_0xf646('0xb3')])?[_0x3184f4,_0x53a88c]:xt(_0x53a88c,_0x3184f4,_0x4dbaa7,_0x184bf6,this['_model'])?[_0x53a88c,_0x3184f4]:null;this[_0xf646('0x79')]['set'](_0xf646('0x53'),_0x1df5a6),this[_0xf646('0x79')][_0xf646('0x125')]('insertion:discard',_0x55cbcf),this[_0xf646('0x79')][_0xf646('0x125')](_0xf646('0x116'),_0x1d2e7b),this[_0xf646('0x79')]['set']('insertion:chain',_0x4321e7),this['_defaultCallbacks'][_0xf646('0x125')]('deletion:accept',_0x55cbcf),this[_0xf646('0x79')]['set'](_0xf646('0xe0'),_0x1df5a6),this['_defaultCallbacks']['set']('deletion:join',_0x1d2e7b),this['_defaultCallbacks'][_0xf646('0x125')](_0xf646('0x98'),_0x4321e7),this[_0xf646('0x79')][_0xf646('0x125')]('formatInline:accept',_0x414647),this[_0xf646('0x79')]['set']('formatInline:discard',_0x1df5a6),this['_defaultCallbacks']['set'](_0xf646('0xa1'),_0x1d2e7b),this[_0xf646('0x79')]['set'](_0xf646('0x14'),_0x1df5a6),this[_0xf646('0x79')]['set'](_0xf646('0x6'),_0x414647),this[_0xf646('0x79')]['set']('formatBlock:discard',_0x1df5a6),this[_0xf646('0x79')][_0xf646('0x125')](_0xf646('0x18'),_0x1d2e7b),this[_0xf646('0x79')][_0xf646('0x125')](_0xf646('0x131'),_0x1df5a6);}}function Bt(_0x56a957,_0x5e9b04,_0x150f61){for(const _0x5cb431 of _0x5e9b04['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5cb431[_0xf646('0xa8')]==_0x5cb431)return!0x1;if(!_0x150f61['containsItem'](_0x5cb431))return!0x1;if(_0x56a957[_0xf646('0xbb')](_0x5cb431)||_0x56a957[_0xf646('0x63')](_0x5cb431))return!0x0;}return!0x1;}function _t(_0x38893d){return _0x38893d['end'][_0xf646('0xc7')]==_0x38893d['start']['nodeAfter']&&_0x38893d[_0xf646('0x75')]['isAtStart'];}function Mt(_0x51cf8d,_0x5c3700,_0x5b8f57,_0x1274d9){const _0x2145ec=_0x380f0e=>!_0x380f0e[_0xf646('0x59')]['is'](_0xf646('0x22'))&&!_0x1274d9[_0xf646('0xbb')](_0x380f0e[_0xf646('0x59')]),_0x2f2d77=_0x51cf8d[_0xf646('0xde')][_0xf646('0x27')](_0x2145ec),_0x4d2485=_0x51cf8d[_0xf646('0x75')][_0xf646('0x27')](_0x2145ec,{'direction':'backward'});return(!_0x51cf8d[_0xf646('0xde')][_0xf646('0x12b')](_0x2f2d77)||!_0x51cf8d['end'][_0xf646('0x12b')](_0x4d2485))&&(_0x2f2d77[_0xf646('0x1d')](_0x4d2485)?_0x5b8f57[_0xf646('0xf5')](_0x5c3700,{'range':_0x5b8f57[_0xf646('0x10d')](_0x2f2d77,_0x4d2485)}):_0x5b8f57[_0xf646('0x9f')](_0x5c3700),!0x0);}function $t(_0x11b794){return _0x160990(_0x11b794);}function Nt(_0x2ea9e8){const _0x1573ef=_0x2ea9e8[_0xf646('0xde')]['nodeAfter'];return _0x1573ef&&_0x1573ef['is'](_0xf646('0x8e'));}function Rt(_0x526910,_0x38f315){const _0x421609=_0x38f315[_0xf646('0x124')][_0xf646('0xbb')](_0x526910)||_0x38f315[_0xf646('0x124')][_0xf646('0x6f')](_0x526910);return _0x38f315[_0xf646('0x10d')](_0x38f315[_0xf646('0x50')](_0x526910,_0xf646('0x38')),_0x421609?_0x38f315[_0xf646('0x1f')](_0x526910):_0x38f315[_0xf646('0x50')](_0x526910,_0xf646('0x75')));}function xt(_0x1cec23,_0x25cd6d,_0x1a9719,_0x2dcfc0,_0x34a78c){if(_0x1a9719['end']['isEqual'](_0x2dcfc0[_0xf646('0xde')]))return!0x0;if(_0x1cec23[_0xf646('0x45')]!=_0x25cd6d[_0xf646('0x45')])return!0x1;if(!_0x1a9719[_0xf646('0x75')][_0xf646('0x5e')](_0x2dcfc0[_0xf646('0xde')]))return!0x1;const _0x1fc203=_0x34a78c['createRange'](_0x1a9719[_0xf646('0x75')],_0x2dcfc0['start'])['getWalker']();for(const _0x181930 of _0x1fc203)if([_0xf646('0xe7'),_0xf646('0x54')]['includes'](_0x181930[_0xf646('0x45')])&&_0x34a78c[_0xf646('0x124')][_0xf646('0x63')](_0x181930[_0xf646('0x59')]))return!0x1;return!0x0;}
|
|
23
|
+
const _0x30fe=['getChangedMarkers','elementEnd','before','getAttribute','ck-suggestion-marker-formatBlock','markerToHighlight','forceDefaultExecution','markers','editor','markMultiRangeDeletion','multipleBlocks','createPositionAt','_adapter','containsRange','markerName','authorName','_splitMarkerName','acceptAllSuggestions','addCommentThread','addUser','hasComments','authoredAt','_breakSuggestionMarker','suggestionLoaded','@external','isTouching','isLimit','nodeBefore','schema','ck-suggestion-marker-','_updateSuggestionData','get','_joinWithAdjacentSuggestions','trackChanges','unbind','containsItem','_defaultCallbacks','has','split','notReady','_handleNewSuggestionMarker','markMultiRangeInsertion','attributes','hasSuggestion','deletion:','length','open','position','collaboration.channelId','define','then','track-changes-suggestion-data-mismatch','markMultiRangeBlockFormat','remove','newRange','catch','commentThread','mapper','addMarkerName','insertion:discard','deletion:chain','getUser','sort','removed','howMany','isMultiRange','locale','nodeAfter','toViewElement','isOwn','element','setTo','change:activeMarkers','includes','substr','_checkSuggestionCorrectness','unbindElementFromMarkerName','activeMarkers','updateMarker','_suggestionState','CommentsRepository','_onDiscard','addClass','isInsideObject','_getAuthorFromId','isAfter','upcast','_suggestionFactory','creator','acceptSuggestion','_addSuggestionMarker','accept','_removeSuggestion','insertion:accept','_findSuggestions','buildSuggestion','marker-count','containsPosition','insertion:join','trackChanges.trackFormatChanges','fire','getIntersection','track-changes-user-not-found','addComment','suggestionChanged','for','selection','_editor','ready','end','discardSuggestion','showSuggestionHighlights','splice','fromRange','every','detach','parent','_customCallbacks','isObject','model','formatInline:join','insert','commandName','moveTargetPosition','addRange','deleteContent','getNearestSelectionRange','change:_saved','config','deletion:join','addMarker:suggestion:formatBlock','type','_model','getRange','name','group','formatGroupId','getFirstMarker','some','change','options','isDocumentOperation','applyOperation','createRangeIn','insertContent','execute','discardAllSuggestions','getSuggestions','getSuggestion','add','_saved','track-changes-command-not-found','delete','removeClass','batch','writer','formatBlock:accept','createPositionBefore','getChanges','isCollapsed','formatBlock:','_enabledCommands','accepted','isEqual','documentSelection','setAttribute','data','getMultiRangeId','addSuggestionData','enableReadOnlyMode','createRange','_mergeNestedSuggestions','targetPosition','init','widget','registerPostFixer','fetchCommentThread','move','consume','editingDowncast','removeMarker','setSelection','_joinSuggestions','_suggestions','low','map','ck-suggestion-marker','adapter','filter','getCommentThread','$marker','suggestion:','discard','listenTo','multi','removeMarkers','createPositionAfter','getRanges','fromCharCode','getFirstRange','clone','dataToMarker','consumable','splitPosition','next','plugins','values','suggestion-type','_isForcedDefaultExecutionBlock','previous','getShiftedBy','rejected','removeMarker:suggestion:formatBlock','head','formatBlock:discard','clear','track-changes-suggestion-not-found','getWalker','change:data','markBlockFormat','track-changes-adapter-already-set','getDifference','updateSuggestion','isNextTo','formatInline','never','hasCommentThread','isUndo','data-suggestion','createdAt','always','editing','_setSuggestionData','getAllAdjacentSuggestions','formatInline:','isAtEnd','_trackFormatChanges','getLastMatchingPosition','removeAttribute','track-changes-adapter-missing-getsuggestion','size','addHighlight','TrackChangesEditing','root','insertion','isIntersectingWithRange','formatInline:chain','formatInline:discard','rethrowUnexpectedError','after','getSuggestionCallback','push','_commentsRepository','_descriptionFactory','registerCustomCallback','dataDowncast','oldRange','createSelection','insertion:','bindElementToMarker','containsRangeInObject','join','getItems','deletion:accept','isBefore','deletion:discard','isInContent','isRemovable','return','elementToElement','suggestionUnloaded','set','getMarkers','skipNestingCheck','chain','item','normal','trackChanges.mergeNestedSuggestions','getCustomProperty','PENDING_ACTION_SUGGESTION','deletion','$graveyard','markerToData','isBlock','_getExternalAuthor','_createSuggestion','_addThreadToSuggestion','addSuggestion','acceptSelectedSuggestions','reconvertMarker','suggestion','isSelectable','stop','value','commands','range','isAtStart','_getSuggestionData','ck-suggestion-marker--active','formatInline:accept','trackChangesCommand','_setSuggestionRange','refresh','author','conversion','_registerDefaultCallbacks','enableCommand','markerReady','_rangeIsInLocalUserInsertion','markDeletion','addMarker:suggestion','differ','elementStart','_cutOutSuggestionMarker','_refreshSuggestionsChain','forward','lowest','insertion:chain','Users','rootName','markInsertion','document','start','subType','from','high','formatBlock'];(function(_0x357a0b,_0x30feb6){const _0xc64532=function(_0x4e78cb){while(--_0x4e78cb){_0x357a0b['push'](_0x357a0b['shift']());}};_0xc64532(++_0x30feb6);}(_0x30fe,0x144));const _0xc645=function(_0x357a0b,_0x30feb6){_0x357a0b=_0x357a0b-0x0;let _0xc64532=_0x30fe[_0x357a0b];return _0xc64532;};import{Plugin as _0xc99c7b,PendingActions as _0x50847a}from'ckeditor5/src/core';import{LiveRange as _0x2f0652}from'ckeditor5/src/engine';import{CKEditorError as _0x2aeeee,uid as _0x1fd70c,priorities as _0x1d64d8,logWarning as _0x29c143}from'ckeditor5/src/utils';import{toWidget as _0x47fab0}from'ckeditor5/src/widget';import{Users as _0x4f597a,hashObject as _0x196e19}from'ckeditor5-collaboration/src/collaboration-core';import _0x2e122b from'./commands/trackchangescommand';import _0x2e5037 from'./commands/acceptsuggestioncommand';import _0x376053 from'./commands/discardsuggestioncommand';import _0x3ca962 from'./commands/executeonallsuggestionscommand';import _0x2d98d8 from'./commands/executeonselectedsuggestionscommand';import _0x47c5e9 from'./suggestion';import _0x158e6a from'./suggestiondescriptionfactory';import _0xf317bc from'./integrations/alignment';import _0x52ba81 from'./integrations/basicstyles';import _0x942884 from'./integrations/blockquote';import _0x460b27 from'./integrations/ckbox';import _0x33ea1d from'./integrations/codeblock';import _0x2d17aa from'./integrations/comments';import _0x3000e4 from'./integrations/deletecommand';import _0x403908 from'./integrations/documentlist';import _0xa82724 from'./integrations/entercommand';import _0x3ff9b5 from'./integrations/findandreplace';import _0x415615 from'./integrations/font';import _0x3eca19 from'./integrations/formatpainter';import _0x11266e from'./integrations/heading';import _0xa69b7 from'./integrations/highlight';import _0x21424d from'./integrations/horizontalline';import _0x508f69 from'./integrations/htmlembed';import _0x4b4378 from'./integrations/image';import _0x1858fc from'./integrations/imagereplace';import _0x3f1977 from'./integrations/importword';import _0x555d99 from'./integrations/indent';import _0x8ffcdd from'./integrations/inputcommand';import _0x2de4d1 from'./integrations/link';import _0x36d841 from'./integrations/list';import _0x288a01 from'./integrations/listproperties';import _0x12a106 from'./integrations/mediaembed';import _0x478e3d from'./integrations/mention';import _0x323729 from'./integrations/pagebreak';import _0x231e48 from'./integrations/paragraph';import _0x225c8f from'./integrations/removeformat';import _0x5cec92 from'./integrations/restrictededitingmode';import _0x2bdf9b from'./integrations/shiftentercommand';import _0x3502ce from'./integrations/standardeditingmode';import _0x5cc86b from'./integrations/style';import _0x2c3015 from'./integrations/table';import _0x35dde7 from'./integrations/tablemergesplit';import _0x4c7135 from'./integrations/tableheadings';import _0x36bd0c from'./integrations/tableclipboard';import _0x58de52 from'./integrations/tablecolumnresize';import _0x5b4983 from'./integrations/template';import _0xc4402 from'./integrations/tableofcontents';import _0x454f75 from'./integrations/title';import _0x23f80f from'./integrations/undo';import{getTranslation as _0x2545c9}from'./utils/common-translations';import _0x49fea9 from'./integrations/tablecaption';import _0x98e47a from'./integrations/documentlistproperties';import _0x24c564 from'./integrations/tableproperties';export default class p extends _0xc99c7b{static get['requires'](){return[_0xc645('0x53'),_0x4f597a,_0x50847a,_0xf317bc,_0x52ba81,_0x942884,_0x460b27,_0x33ea1d,_0x2d17aa,_0x3000e4,_0x403908,_0x98e47a,_0xa82724,_0x3ff9b5,_0x415615,_0x3eca19,_0x11266e,_0xa69b7,_0x21424d,_0x508f69,_0x4b4378,_0x1858fc,_0x3f1977,_0x555d99,_0x8ffcdd,_0x2de4d1,_0x36d841,_0x288a01,_0x12a106,_0x478e3d,_0x323729,_0x231e48,_0x225c8f,_0x5cec92,_0x2bdf9b,_0x3502ce,_0x5cc86b,_0x2c3015,_0x35dde7,_0x4c7135,_0x49fea9,_0x36bd0c,_0x58de52,_0xc4402,_0x24c564,_0x5b4983,_0x454f75,_0x23f80f];}static get['pluginName'](){return _0xc645('0xf5');}constructor(_0x4b6de4){function _0x618ddc(_0x17d77b){return _0x17d77b[_0xc645('0xbc')](_0x25c712=>String[_0xc645('0xc9')](_0x25c712))[_0xc645('0x108')]('');}super(_0x4b6de4),this[_0xc645('0x112')](_0xc645('0x50'),[]),this['on'](_0xc645('0x4b'),(_0x4e0a23,_0x2955d,_0x3cf64f,_0x1d251b)=>{this['_model']['change'](()=>{for(const _0x3ad534 of[..._0x1d251b,..._0x3cf64f])this['_model'][_0xc645('0xa')][_0xc645('0x28')](_0x3ad534)&&_0x4b6de4[_0xc645('0xea')][_0xc645('0x124')](_0x3ad534);});}),this[_0xc645('0x100')]=new _0x158e6a(this['editor'][_0xc645('0x7a')][_0xc645('0x1f')],this[_0xc645('0xb')][_0xc645('0x45')]),this[_0xc645('0xf')]=null,this[_0xc645('0x5a')]=new Dt(this['editor']),this[_0xc645('0xba')]=new Map(),this['_commentsRepository']=_0x4b6de4[_0xc645('0xd0')]['get'](_0xc645('0x53')),this[_0xc645('0xa4')]=new Set(),this['_model']=this[_0xc645('0xb')][_0xc645('0x7a')],this[_0xc645('0x52')]=new WeakMap(),this[_0xc645('0xd3')]=!0x1,_0x4b6de4[_0xc645('0x83')][_0xc645('0x34')](_0xc645('0x66'),'default'),this[_0xc645('0xef')]=_0x4b6de4[_0xc645('0x83')][_0xc645('0x22')]('trackChanges.trackFormatChanges'),_0x4b6de4[_0xc645('0x83')][_0xc645('0x34')](_0xc645('0x118'),!0x0),this[_0xc645('0xae')]=_0x4b6de4[_0xc645('0x83')]['get'](_0xc645('0x118')),this[_0xc645('0x12f')]=new _0x2e122b(_0x4b6de4,this['_enabledCommands']),this[_0x618ddc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x618ddc([0x34,0x30,0x34,0x36,0x31,0x34,0x34,0x38]);}[_0xc645('0xb0')](){const _0x1c91bb=this[_0xc645('0xb')];_0x1c91bb[_0xc645('0x133')]['for']('editingDowncast')['markerToHighlight']({'model':_0xc645('0x125'),'view':_0x55436f=>{const {id:_0xff662a,type:_0x48aac8}=this[_0xc645('0x13')](_0x55436f[_0xc645('0x11')]),_0x1800bb=[_0xc645('0xbd'),_0xc645('0x20')+_0x48aac8];let _0x263acf=0xbb8;return this['activeMarkers'][_0xc645('0x4c')](_0x55436f[_0xc645('0x11')])&&(_0x1800bb[_0xc645('0xfe')](_0xc645('0x12d')),_0x263acf=0xbc2),_0xc645('0x11b')==_0x48aac8&&(_0x263acf+=0x5),{'classes':_0x1800bb,'attributes':{'data-suggestion':_0xff662a},'priority':_0x263acf};}}),_0x1c91bb['conversion'][_0xc645('0x6c')](_0xc645('0x102'))[_0xc645('0x98')](_0x39b367=>{_0x39b367['on'](_0xc645('0x139'),(_0xfde89b,_0xb291ee,_0x28b9be)=>{if(!_0x28b9be[_0xc645('0x8f')]['showSuggestionHighlights'])return;const _0x3f462d=_0xb291ee[_0xc645('0x116')];if(!_0x3f462d)return;const _0x2d7688=_0x28b9be[_0xc645('0x3c')]['toViewElement'](_0x3f462d);_0x1c91bb[_0xc645('0x7a')]['schema']['isObject'](_0x3f462d)&&_0x2d7688&&!_0x2d7688['getCustomProperty'](_0xc645('0xb1'))&&_0x2d7688['is']('containerElement')&&_0x47fab0(_0x2d7688,_0x28b9be[_0xc645('0x9e')]);},{'priority':_0xc645('0x1')});}),_0x1c91bb['conversion'][_0xc645('0x6c')]('dataDowncast')[_0xc645('0x8')]({'model':'suggestion','view':(_0x54f025,_0x4c8100)=>{if(!_0x4c8100[_0xc645('0x8f')]['showSuggestionHighlights'])return null;const {type:_0x3298d8}=this['_splitMarkerName'](_0x54f025[_0xc645('0x11')]);return{'classes':[_0xc645('0xbd'),_0xc645('0x20')+_0x3298d8],'priority':0xbb8};}});const _0x353599=({showActiveMarkers:_0x2baffc=!0x0}={})=>(_0x7f705b,_0x3e6572,_0x2d9d00)=>{if(!_0x3e6572['item'])return;if(_0x3e6572['item']['is'](_0xc645('0x6d')))return void _0x2d9d00[_0xc645('0xcd')][_0xc645('0xb5')](_0x3e6572[_0xc645('0x116')],_0x7f705b[_0xc645('0x89')]);const _0x38310=_0x2d9d00['mapper'][_0xc645('0x47')](_0x3e6572[_0xc645('0x116')]);if(!(_0x3e6572[_0xc645('0x116')]['is'](_0xc645('0x49'))&&_0x1c91bb['model'][_0xc645('0x1f')][_0xc645('0x11e')](_0x3e6572[_0xc645('0x116')])&&!_0x38310[_0xc645('0x119')]('addHighlight')))return;const {id:_0x8d3f54}=this[_0xc645('0x13')](_0x3e6572[_0xc645('0x11')]);_0x2d9d00[_0xc645('0x9e')][_0xc645('0x55')]([_0xc645('0xbd'),_0xc645('0x7')],_0x38310),_0x2d9d00[_0xc645('0x9e')][_0xc645('0xa8')](_0xc645('0xe7'),_0x8d3f54,_0x38310),_0x2d9d00['mapper'][_0xc645('0x106')](_0x38310,_0x3e6572[_0xc645('0x11')]),_0x2baffc&&(this[_0xc645('0x50')][_0xc645('0x4c')](_0x3e6572[_0xc645('0x11')])?_0x2d9d00[_0xc645('0x9e')][_0xc645('0x55')]('ck-suggestion-marker--active',_0x38310):_0x2d9d00[_0xc645('0x9e')][_0xc645('0x9c')](_0xc645('0x12d'),_0x38310));for(const _0x16b78 of _0x1c91bb[_0xc645('0x7a')][_0xc645('0x92')](_0x3e6572[_0xc645('0x116')])[_0xc645('0x109')]())_0x2d9d00[_0xc645('0xcd')][_0xc645('0xb5')](_0x16b78,_0x7f705b['name']);_0x2d9d00[_0xc645('0xcd')]['consume'](_0x3e6572[_0xc645('0x116')],_0x7f705b['name']);};_0x1c91bb[_0xc645('0x133')][_0xc645('0x6c')]('dataDowncast')[_0xc645('0x98')](_0x582b02=>{_0x582b02['on'](_0xc645('0x85'),(_0x4e8718,_0x11b400,_0x31db22)=>{_0x31db22['options'][_0xc645('0x72')]&&_0x353599({'showActiveMarkers':!0x1})(_0x4e8718,_0x11b400,_0x31db22);},{'priority':'highest'});}),_0x1c91bb['conversion'][_0xc645('0x6c')](_0xc645('0x102'))[_0xc645('0x11d')]({'model':_0xc645('0x125'),'view':(_0x14c533,_0x5d250a)=>_0x5d250a['options'][_0xc645('0x72')]?null:{'group':_0xc645('0x125'),'name':_0x14c533[_0xc645('0x4d')](0xb)}}),_0x1c91bb[_0xc645('0x133')]['for']('upcast')[_0xc645('0x110')]({'view':{'name':_0xc645('0x125'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4297ef,{writer:_0x541fa9})=>{let _0x418264=_0xc645('0xc2')+_0x4297ef[_0xc645('0x6')](_0xc645('0xd2'))+':'+_0x4297ef[_0xc645('0x6')]('id');return _0x4297ef[_0xc645('0x6')](_0xc645('0x63'))&&(_0x418264+=':'+_0x4297ef['getAttribute']('marker-count')),_0x541fa9['createElement'](_0xc645('0xc1'),{'data-name':_0x418264});}}),_0x1c91bb[_0xc645('0x133')][_0xc645('0x6c')](_0xc645('0x59'))[_0xc645('0xcc')]({'view':'suggestion'}),_0x1c91bb['conversion'][_0xc645('0x6c')]('editingDowncast')['add'](_0x32f068=>{_0x32f068['on'](_0xc645('0x85'),_0x353599(),{'priority':_0xc645('0x1')});}),_0x1c91bb[_0xc645('0x133')]['for'](_0xc645('0xb6'))[_0xc645('0x98')](_0x41ecff=>{_0x41ecff['on'](_0xc645('0xd7'),(_0xdfaf4c,_0x398868,_0x2c8427)=>{const _0x3bfe1b=_0x2c8427[_0xc645('0x3c')]['markerNameToElements'](_0x398868[_0xc645('0x11')]);if(_0x3bfe1b)for(const _0x4a5ef4 of _0x3bfe1b)_0x4a5ef4[_0xc645('0x119')](_0xc645('0xf4'))||(_0x2c8427['writer'][_0xc645('0x9c')]([_0xc645('0xbd'),_0xc645('0x7'),_0xc645('0x12d')],_0x4a5ef4),_0x2c8427[_0xc645('0x9e')][_0xc645('0xf1')](_0xc645('0xe7'),_0x4a5ef4),_0x2c8427[_0xc645('0x3c')][_0xc645('0x4f')](_0x4a5ef4,_0x398868[_0xc645('0x11')]));},{'priority':_0xc645('0x1')});}),_0x1c91bb[_0xc645('0x7a')][_0xc645('0x144')][_0xc645('0xb2')](_0xf85426=>{let _0x32a023=!0x1;const _0xe05f07=Array[_0xc645('0x0')](_0x1c91bb[_0xc645('0x7a')][_0xc645('0x144')]['differ'][_0xc645('0x3')]()),_0x444bdf=new Set();for(const {name:_0xb51c32,data:_0x54ec8c}of _0xe05f07){const {group:_0x2e6684,type:_0x314c75,id:_0x2dd033}=this[_0xc645('0x13')](_0xb51c32);if(_0xc645('0x125')!==_0x2e6684)continue;const _0x10dad5=this['_suggestions'][_0xc645('0x22')](_0x2dd033);if(null!=_0x54ec8c[_0xc645('0x39')]){_0xc645('0xe3')==_0x314c75&&(_0x32a023=_0x32a023||Mt(_0x54ec8c[_0xc645('0x39')],_0xb51c32,_0xf85426,_0x1c91bb[_0xc645('0x7a')][_0xc645('0x1f')]));if(_0x54ec8c[_0xc645('0x39')][_0xc645('0xa2')]||_0xc645('0x11c')==_0x54ec8c[_0xc645('0x39')][_0xc645('0xf6')][_0xc645('0x142')]||_0xc645('0x2')==_0x314c75&&!Nt(_0x54ec8c[_0xc645('0x39')])||'deletion'==_0x314c75&&!(!_t(_0x245f1e=_0x54ec8c[_0xc645('0x39')])&&!function(_0x394fbf){return _0x394fbf[_0xc645('0x145')][_0xc645('0x77')]==_0x394fbf[_0xc645('0x70')]['nodeBefore']&&_0x394fbf['start'][_0xc645('0xee')];}(_0x245f1e)))_0xf85426['removeMarker'](_0xb51c32),_0x32a023=!0x0;else{if(!_0x10dad5||!_0x10dad5[_0xc645('0x10d')])continue;_0x444bdf['add'](_0x10dad5);}}}var _0x245f1e;return _0x444bdf[_0xc645('0xf3')]>0x0&&(_0x32a023=!!this[_0xc645('0x23')](_0x444bdf)||_0x32a023),_0x32a023;}),_0x1c91bb[_0xc645('0x7a')][_0xc645('0x144')][_0xc645('0xb2')](_0x2aa7e4=>{let _0x4087f2=!0x1;for(const _0x20d35c of _0x1c91bb[_0xc645('0x7a')][_0xc645('0x144')]['differ'][_0xc645('0xa1')]()){if(_0xc645('0x7c')!=_0x20d35c['type'])continue;const _0x82866f=_0x20d35c[_0xc645('0x32')]['getShiftedBy'](_0x20d35c[_0xc645('0x30')]);if(_0x82866f['isAtEnd'])for(const _0x456633 of this['_suggestions'][_0xc645('0xd1')]()){if(_0x456633[_0xc645('0x44')]||!_0x456633[_0xc645('0x10d')])continue;if(_0xc645('0x2')!=_0x456633[_0xc645('0x86')])continue;const _0x3d9d51=_0x456633[_0xc645('0xca')]();if(_0x3d9d51[_0xc645('0x145')][_0xc645('0x77')]!=_0x3d9d51['end'][_0xc645('0x77')]&&_0x3d9d51['end'][_0xc645('0xa6')](_0x20d35c[_0xc645('0x32')])){const _0x1b25f3=_0x1c91bb['model']['createRange'](_0x3d9d51[_0xc645('0x145')],_0x82866f);_0x2aa7e4[_0xc645('0x51')](_0x456633[_0xc645('0x8c')](),{'range':_0x1b25f3}),_0x4087f2=!0x0;}}}return _0x4087f2;}),_0x1c91bb[_0xc645('0x7a')][_0xc645('0xa')]['on']('update:suggestion',(_0x24221d,_0x5f079e,_0xf3ffa1)=>{if(null==_0xf3ffa1){const {id:_0x729b47}=this[_0xc645('0x13')](_0x5f079e['name']),_0x25934a=this[_0xc645('0xba')][_0xc645('0x22')](_0x729b47);_0x25934a&&_0x25934a[_0xc645('0x3d')](_0x5f079e[_0xc645('0x89')]);}}),_0x1c91bb[_0xc645('0x7a')][_0xc645('0x144')]['on'](_0xc645('0xdd'),()=>{const _0x7c1bd=Array['from'](_0x1c91bb['model'][_0xc645('0x144')][_0xc645('0x13a')][_0xc645('0x3')]())[_0xc645('0xbf')](_0x3fbd1c=>'suggestion'===this[_0xc645('0x13')](_0x3fbd1c[_0xc645('0x89')])[_0xc645('0x8a')]);if(0x0===_0x7c1bd[_0xc645('0x30')])return;_0x7c1bd[_0xc645('0x41')]((_0x3c1c69,_0x8ce2c3)=>{const _0x34ec5a=_0x3c1c69['data'][_0xc645('0x103')],_0x10932f=_0x8ce2c3[_0xc645('0xa9')][_0xc645('0x103')];return null===_0x34ec5a&&null===_0x10932f?0x0:null===_0x34ec5a&&null!==_0x10932f?-0x1:null!==_0x34ec5a&&null===_0x10932f?0x1:_0x34ec5a['start'][_0xc645('0x10b')](_0x10932f[_0xc645('0x145')])?-0x1:0x1;});const _0x1da981=new Set(),_0xf69cb4=new Set();for(const {name:_0x429ccf,data:_0x4e9769}of _0x7c1bd){const {id:_0x184f3a}=this[_0xc645('0x13')](_0x429ccf);if(null===_0x4e9769[_0xc645('0x103')]){const _0xc6a910=this[_0xc645('0x2b')](_0x429ccf);_0xf69cb4[_0xc645('0x98')](_0xc6a910);}else{const _0x239f9e=this[_0xc645('0xba')]['get'](_0x184f3a);null!==_0x4e9769[_0xc645('0x39')]||_0x239f9e[_0xc645('0x10d')]?(_0x1da981[_0xc645('0x98')](_0x239f9e[_0xc645('0xd8')]),_0xf69cb4['add'](_0x239f9e)):this['_removeSuggestion'](_0x239f9e);}}_0xf69cb4['size']>0x0&&this[_0xc645('0x13d')](_0xf69cb4);for(const _0x39fd70 of _0x1da981)this[_0xc645('0x67')](_0xc645('0x6b'),_0x39fd70);}),_0x1c91bb[_0xc645('0x7a')]['on'](_0xc645('0x91'),(_0x2b57d4,_0x53cb74)=>{const _0xd13501=_0x53cb74[0x0];if(!this['_suggestions'][_0xc645('0xf3')])return;if(!_0xd13501[_0xc645('0x90')])return;if(_0xd13501[_0xc645('0x9d')][_0xc645('0xe6')]||!_0xd13501[_0xc645('0x9d')]['isLocal'])return;let _0x545017,_0x1dfcfe;switch(_0xd13501[_0xc645('0x86')]){case'insert':_0x545017=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xe')](_0xd13501[_0xc645('0x32')]),_0x1dfcfe=_0x545017[_0xc645('0xd5')](_0xd13501[_0xc645('0x43')]);break;case _0xc645('0x29'):_0x545017=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xe')](_0xd13501[_0xc645('0xce')]),_0x1dfcfe=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xe')](_0xd13501[_0xc645('0x7e')]);break;case _0xc645('0xb4'):_0x545017=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xe')](_0xd13501[_0xc645('0xaf')]),_0x1dfcfe=_0x545017[_0xc645('0xd5')](_0xd13501[_0xc645('0x43')]);break;default:return;}const _0x3b9fde=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xad')](_0x545017,_0x1dfcfe);_0x1c91bb[_0xc645('0x7a')][_0xc645('0x8e')](()=>{for(const {suggestion:_0x1dc2de,meta:_0x391f97}of this['_findSuggestions'](_0x3b9fde)){if(_0x1dc2de[_0xc645('0x44')])continue;if('formatInline'==_0x1dc2de[_0xc645('0x86')])continue;const _0x2f63b8=_0x1dc2de['data']&&_0x1dc2de['data'][_0xc645('0xd')];('formatBlock'!=_0x1dc2de[_0xc645('0x86')]||_0xc645('0x29')==_0xd13501['type']&&!_0x2f63b8)&&(_0x391f97[_0xc645('0x107')]||'insertion'==_0x1dc2de[_0xc645('0x86')]&&_0x391f97[_0xc645('0x48')]||_0x1dc2de['getFirstRange']()[_0xc645('0x10')](_0x3b9fde)&&this['_breakSuggestionMarker'](_0x1dc2de,_0x545017,_0x1dfcfe));}});},{'priority':_0xc645('0x13f')}),_0x1c91bb['model']['on'](_0xc645('0x80'),(_0x496dc9,_0x5510af)=>{const _0x20149c=_0x5510af[0x0],_0x252514=_0x5510af[0x1];if(_0x252514&&_0x252514[_0xc645('0x9')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0xc645('0x12f')][_0xc645('0x128')])return;if(_0x20149c['isCollapsed'])return;const _0x277fc4=_0x1c91bb['model'][_0xc645('0x1f')],{start:_0x382e0b,end:_0x20ada6}=_0x20149c[_0xc645('0xca')](),_0x20c716=_0x382e0b[_0xc645('0x46')]&&_0x277fc4[_0xc645('0x1d')](_0x382e0b[_0xc645('0x46')])?null:_0x277fc4[_0xc645('0x81')](_0x382e0b,_0xc645('0x13e')),_0x37416a=_0x20ada6['nodeBefore']&&_0x277fc4['isLimit'](_0x20ada6[_0xc645('0x1e')])?null:_0x277fc4[_0xc645('0x81')](_0x20ada6,'backward'),_0x16aacd=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xad')](_0x20c716?_0x20c716['start']:_0x382e0b,_0x37416a?_0x37416a[_0xc645('0x70')]:_0x20ada6);_0x1c91bb[_0xc645('0x7a')]['change'](_0x369a7b=>{this[_0xc645('0x138')](_0x16aacd);const _0x270573=_0x1c91bb[_0xc645('0x7a')][_0xc645('0x1f')]['getNearestSelectionRange'](_0x16aacd[_0xc645('0x145')]);_0x20149c['is'](_0xc645('0xa7'))?_0x369a7b[_0xc645('0xb8')](_0x270573):_0x20149c[_0xc645('0x4a')](_0x270573);}),_0x496dc9[_0xc645('0x127')]();},{'priority':_0x1d64d8[_0xc645('0x117')]+0xa}),_0x1c91bb[_0xc645('0x7a')]['on'](_0xc645('0x93'),(_0x5f0cb3,_0xbc501)=>{const _0x1781b2=_0xbc501[_0xbc501[_0xc645('0x30')]-0x1];_0x1781b2&&_0x1781b2[_0xc645('0x9')]||this[_0xc645('0xd3')]||this[_0xc645('0x12f')][_0xc645('0x128')]&&(_0x1c91bb[_0xc645('0x7a')]['change'](()=>{let _0x36f7aa=_0x1c91bb['model'][_0xc645('0x93')](_0xbc501[0x0],_0xbc501[0x1],_0xbc501[0x2],{'forceDefaultExecution':!0x0});if(!_0x36f7aa)return;_0x5f0cb3[_0xc645('0x10f')]=_0x36f7aa[_0xc645('0xcb')]();const _0x33086c=_0x36f7aa[_0xc645('0x70')]['nodeBefore'],_0x1c6959=_0x1c91bb[_0xc645('0x7a')][_0xc645('0x1f')];_0x33086c&&_0x1c6959[_0xc645('0x11e')](_0x33086c)&&!_0x1c6959['isObject'](_0x33086c)&&(_0x36f7aa=_0x1c91bb[_0xc645('0x7a')][_0xc645('0xad')](_0x36f7aa[_0xc645('0x145')],_0x1c91bb['model']['createPositionAt'](_0x33086c,'end'))),this[_0xc645('0x143')](_0x36f7aa);}),_0x5f0cb3[_0xc645('0x127')]());},{'priority':'high'}),this[_0xc645('0xb')][_0xc645('0x129')][_0xc645('0x98')](_0xc645('0x24'),this[_0xc645('0x12f')]),this[_0xc645('0x135')]('trackChanges');const _0x24a177=new _0x2e5037(_0x1c91bb,this[_0xc645('0xba')]);_0x1c91bb['commands'][_0xc645('0x98')](_0xc645('0x5c'),_0x24a177),this['enableCommand']('acceptSuggestion');const _0x31bbe5=new _0x376053(_0x1c91bb,this[_0xc645('0xba')]);_0x1c91bb[_0xc645('0x129')][_0xc645('0x98')](_0xc645('0x71'),_0x31bbe5),this['enableCommand'](_0xc645('0x71')),_0x1c91bb['commands']['add'](_0xc645('0x14'),new _0x3ca962(_0x1c91bb,_0x24a177,this['_suggestions'])),this['enableCommand'](_0xc645('0x14')),_0x1c91bb[_0xc645('0x129')][_0xc645('0x98')](_0xc645('0x95'),new _0x3ca962(_0x1c91bb,_0x31bbe5,this[_0xc645('0xba')])),this['enableCommand'](_0xc645('0x95')),_0x1c91bb[_0xc645('0x129')]['add'](_0xc645('0x123'),new _0x2d98d8(_0x1c91bb,_0x24a177,this[_0xc645('0xba')])),this['enableCommand'](_0xc645('0x123')),_0x1c91bb[_0xc645('0x129')][_0xc645('0x98')]('discardSelectedSuggestions',new _0x2d98d8(_0x1c91bb,_0x31bbe5,this[_0xc645('0xba')])),this[_0xc645('0x135')]('discardSelectedSuggestions');const _0x2b0a8a=_0x1c91bb[_0xc645('0xd0')][_0xc645('0x22')](_0xc645('0x53'));this['listenTo'](_0x2b0a8a,_0xc645('0x6a'),(_0x1d78a2,{threadId:_0x4c62fe})=>{const _0x2b4fe0=this['_suggestions'][_0xc645('0x22')](_0x4c62fe);_0x2b4fe0&&_0x2b4fe0[_0xc645('0x3b')]&&0x1===_0x2b4fe0[_0xc645('0x3b')][_0xc645('0x30')]&&this[_0xc645('0x21')](_0x4c62fe,{'hasComments':!0x0});},{'priority':'low'}),this[_0xc645('0xc4')](_0x2b0a8a,'removeComment',(_0x2070fd,{threadId:_0x2fb574})=>{const _0x2f7b0e=this[_0xc645('0xba')]['get'](_0x2fb574);_0x2f7b0e&&_0x2f7b0e[_0xc645('0x3b')]&&!_0x2f7b0e[_0xc645('0x3b')]['length']&&this['_updateSuggestionData'](_0x2fb574,{'hasComments':!0x1});},{'priority':_0xc645('0xbb')});}set[_0xc645('0xbe')](_0x59682d){if(this[_0xc645('0xf')])throw new _0x2aeeee(_0xc645('0xdf'),this);this[_0xc645('0xf')]=_0x59682d;}get[_0xc645('0xbe')](){return this[_0xc645('0xf')];}['getSuggestions']({skipNotAttached:_0x35c8a0=!0x1,toJSON:_0x18931b=!0x1}={}){const _0x322680=[];for(const _0x6d02fe of this[_0xc645('0xba')]['values']())_0x35c8a0&&!_0x6d02fe[_0xc645('0x10d')]||_0x322680[_0xc645('0xfe')](_0x6d02fe);return _0x18931b?_0x322680[_0xc645('0xbc')](_0x32b2cf=>_0x32b2cf['toJSON']()):_0x322680;}['getSuggestion'](_0xdea5ad){const _0x3e995b=this[_0xc645('0xba')][_0xc645('0x22')](_0xdea5ad);if(!_0x3e995b)throw new _0x2aeeee(_0xc645('0xdb'),this);return _0x3e995b;}[_0xc645('0x2e')](_0x3462f3){return this[_0xc645('0xba')][_0xc645('0x28')](_0x3462f3);}[_0xc645('0xab')](_0x1f4d49){const {authorId:_0x8ba155,id:_0x3bcd7c,attributes:_0x5e0193}=_0x1f4d49,[_0x594013,_0x15cb6f]=_0x1f4d49[_0xc645('0x86')][_0xc645('0x29')](':'),_0x29fd5e=this[_0xc645('0xba')][_0xc645('0x22')](_0x3bcd7c)||this[_0xc645('0x120')](_0x594013,_0x15cb6f,_0x3bcd7c,_0x8ba155,_0x5e0193);if(this[_0xc645('0x121')](_0x29fd5e),this[_0xc645('0x4e')](_0x29fd5e,_0x594013,_0x15cb6f||null,_0x8ba155),_0x29fd5e[_0xc645('0xe8')]=_0x1f4d49[_0xc645('0xe8')],_0x5e0193&&_0x5e0193[_0xc645('0x1b')]){const _0x3c96b8=_0x5e0193[_0xc645('0x1b')],_0x1a112a=this[_0xc645('0x11f')](_0x3c96b8[_0xc645('0x12')]);_0x29fd5e[_0xc645('0x18')]=_0x3c96b8['createdAt'],_0x29fd5e['author']=_0x1a112a,_0x29fd5e['isExternal']=!0x0;}else _0x29fd5e[_0xc645('0x18')]=_0x1f4d49[_0xc645('0xe8')];switch(_0x1f4d49['data']&&(_0x29fd5e['data']=_0x1f4d49['data']),_0x1f4d49[_0xc645('0x2d')]&&(_0x29fd5e[_0xc645('0x2d')]=_0x1f4d49[_0xc645('0x2d')]),this[_0xc645('0xf')]&&this[_0xc645('0xf')][_0xc645('0x122')]||(_0x29fd5e[_0xc645('0x99')]=!0x0),this[_0xc645('0x52')][_0xc645('0x22')](_0x29fd5e)){case _0xc645('0x2a'):this[_0xc645('0x52')][_0xc645('0x112')](_0x29fd5e,'dataReady');break;case _0xc645('0x136'):_0x29fd5e[_0xc645('0x10d')]?(this[_0xc645('0x52')]['set'](_0x29fd5e,_0xc645('0x6f')),this[_0xc645('0x67')](_0xc645('0x1a'),_0x29fd5e)):this[_0xc645('0x52')][_0xc645('0x112')](_0x29fd5e,'removed');}return _0x29fd5e;}[_0xc645('0x5c')](_0x5439a7){this[_0xc645('0x9')](()=>{this[_0xc645('0xb')][_0xc645('0x7a')]['change'](()=>{for(const _0x30131f of _0x5439a7[_0xc645('0xec')]())_0x30131f[_0xc645('0x5e')]();});});}[_0xc645('0x71')](_0x2d51cc){this[_0xc645('0x9')](()=>{this[_0xc645('0xb')]['model'][_0xc645('0x8e')](()=>{for(const _0x2783cb of _0x2d51cc[_0xc645('0xec')]())_0x2783cb[_0xc645('0xc3')]();});});}[_0xc645('0x135')](_0x40264a,_0x1fc61e){const _0x411a6=this[_0xc645('0xb')][_0xc645('0x129')]['get'](_0x40264a);if(!_0x411a6)throw new _0x2aeeee(_0xc645('0x9a'),this,{'commandName':_0x40264a});this[_0xc645('0xa4')][_0xc645('0x98')](_0x411a6),_0x1fc61e&&_0x411a6['on'](_0xc645('0x94'),(_0x1b2b40,_0x22e8ce)=>{this[_0xc645('0x12f')]['value']&&(this[_0xc645('0xd3')]||_0x22e8ce[_0xc645('0x30')]>0x0&&_0x22e8ce[_0x22e8ce[_0xc645('0x30')]-0x1]&&_0x22e8ce[_0x22e8ce[_0xc645('0x30')]-0x1][_0xc645('0x9')]||(_0x1fc61e((..._0x302fae)=>_0x411a6[_0xc645('0x94')](..._0x302fae,{'forceDefaultExecution':!0x0}),..._0x22e8ce),_0x1b2b40[_0xc645('0x127')]()));},{'priority':_0xc645('0x1')});}[_0xc645('0x9')](_0x2988a1){let _0x459771,_0x2db65e;const _0x2a0ff6=this[_0xc645('0xd3')];this[_0xc645('0xd3')]=!0x0;try{_0x459771=_0x2988a1();}catch(_0x24c41b){_0x2db65e=_0x24c41b;}return _0x2a0ff6||(this[_0xc645('0xd3')]=!0x1),_0x2db65e&&_0x2aeeee[_0xc645('0xfb')](_0x2db65e,this),_0x459771;}[_0xc645('0x143')](_0x8c773a,_0x2da4ee=null,_0x2c2dcc={}){if(_0x8c773a[_0xc645('0xa2')])return null;const _0x13bc47=this['editor']['plugins']['get'](_0xc645('0x141'))['me'];for(const {suggestion:_0x3c8207,meta:_0x26e407}of this[_0xc645('0x61')](_0x8c773a,_0xc645('0xf7')))if(_0x26e407['isOwn']){if(!_0x26e407[_0xc645('0xe2')]){if(!this[_0xc645('0xae')]&&_0x26e407[_0xc645('0x107')])continue;return _0x3c8207;}if(_0x2da4ee==_0x3c8207[_0xc645('0x146')]){const _0x4b4ef9=_0x3c8207[_0xc645('0xca')]();return _0x4b4ef9[_0xc645('0x145')][_0xc645('0xa6')](_0x8c773a[_0xc645('0x70')])?this[_0xc645('0x130')](_0x3c8207,this[_0xc645('0x87')][_0xc645('0xad')](_0x8c773a['start'],_0x4b4ef9[_0xc645('0x70')])):this[_0xc645('0x130')](_0x3c8207,this['_model'][_0xc645('0xad')](_0x4b4ef9['start'],_0x8c773a[_0xc645('0x70')])),_0x3c8207;}}const _0x14e16c=_0x1fd70c(),_0x15d257=_0x13bc47['id'],_0x1fbfa4=_0x2da4ee?'insertion:'+_0x2da4ee:_0xc645('0xf7'),_0x44ee41=this[_0xc645('0xeb')]({'id':_0x14e16c,'type':_0x1fbfa4,'createdAt':new Date(),'authorId':_0x15d257,'attributes':_0x2c2dcc});return this[_0xc645('0x5d')](_0x1fbfa4,_0x14e16c,_0x15d257,_0x8c773a),_0x44ee41;}[_0xc645('0x2c')](_0x1a7f0d,_0x10c239=_0xc645('0xc5'),_0x404478={}){const _0x533a2f=this[_0xc645('0xb')][_0xc645('0xd0')]['get'](_0xc645('0x141'))['me'],_0x1dcb75=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0xf7'),_0x10c239,_0xc645('0x108'));for(const _0x19b74c of this[_0xc645('0x96')]())if(_0x19b74c['author']['id']==_0x533a2f['id']&&_0xc645('0xf7')==_0x19b74c[_0xc645('0x86')]&&_0x19b74c[_0xc645('0x146')]==_0x10c239&&(_0x1dcb75(_0x19b74c[_0xc645('0xc8')](),_0x1a7f0d)||_0x1dcb75(_0x1a7f0d,_0x19b74c[_0xc645('0xc8')]()))){for(const _0x420b7a of _0x1a7f0d)_0x19b74c[_0xc645('0x7f')](_0x420b7a);return _0x19b74c;}if(this[_0xc645('0xae')])for(const _0x5d85aa of _0x1a7f0d)for(const {suggestion:_0x1f743a,meta:_0x5b36e5}of this[_0xc645('0x61')](_0x5d85aa,_0xc645('0xf7'))){if(!_0x5b36e5[_0xc645('0x48')])continue;let _0x50fd36=!0x0;for(const _0x567f02 of _0x1f743a[_0xc645('0xc8')]())for(const _0x455549 of _0x1a7f0d)if(!_0x567f02['containsRange'](_0x455549)){_0x50fd36=!0x1;break;}if(_0x50fd36)return _0x1f743a;}const _0x180cdb=_0x1fd70c(),_0xd8cf78=_0x533a2f['id'],_0x2d7111=_0xc645('0x105')+_0x10c239,_0x2327f9=this[_0xc645('0xeb')]({'id':_0x180cdb,'type':_0x2d7111,'createdAt':new Date(),'authorId':_0xd8cf78,'attributes':_0x404478});for(const _0x23160e of _0x1a7f0d)this[_0xc645('0x5d')](_0x2d7111,_0x180cdb,_0xd8cf78,_0x23160e,_0x47c5e9[_0xc645('0xaa')]());return _0x2327f9;}['markInlineFormat'](_0x5b8fe4,_0x17481a,_0x4790dd=null,_0x34c176={}){if(_0x4790dd=_0x4790dd||$t(_0x17481a),_0x5b8fe4[_0xc645('0xa2')])return null;if(_0xc645('0xe4')===this[_0xc645('0xef')]){const _0x2c9df1=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0xe3'),_0x4790dd,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x2c9df1([_0x5b8fe4],_0x17481a,_0x34c176)),null;}const _0x5cf4a3=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')](_0xc645('0x141'))['me'],_0x5190f4=[];if(_0xc645('0xe9')!==this['_trackFormatChanges'])for(const {suggestion:_0x29ef6c,meta:_0x4637f1}of this[_0xc645('0x61')](_0x5b8fe4,_0xc645('0xf7')))_0x4637f1['isOwn']&&!_0x4637f1[_0xc645('0x56')]&&_0x5190f4[_0xc645('0xfe')](..._0x29ef6c[_0xc645('0xc8')]());const _0x42902e=function(_0x15cb92,_0x484fc3){const _0x4cadf3=[];for(const _0x47c67f of _0x484fc3){const _0x35da45=_0x15cb92[_0xc645('0x68')](_0x47c67f);_0x35da45&&_0x4cadf3[_0xc645('0xfe')](_0x35da45);}return _0x4cadf3;}(_0x5b8fe4,_0x5190f4),_0x59788e=function(_0x11773b,_0x1b1919){const _0x5d0f32=[_0x11773b];for(const _0x3ed642 of _0x1b1919){let _0x49381e=0x0;for(;_0x49381e<_0x5d0f32['length'];){const _0x737bdb=_0x5d0f32[_0x49381e][_0xc645('0xe0')](_0x3ed642);_0x5d0f32[_0xc645('0x73')](_0x49381e,0x1,..._0x737bdb),_0x49381e+=_0x737bdb[_0xc645('0x30')];}}return _0x5d0f32;}(_0x5b8fe4,_0x5190f4);_0x42902e[_0xc645('0x30')]&&this['_model'][_0xc645('0x8e')](()=>{for(const _0x4aa244 of _0x42902e){const _0x107d06=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0xe3'),_0x4790dd,_0xc645('0x5e'));this[_0xc645('0x9')](()=>_0x107d06([_0x4aa244],_0x17481a,_0x34c176));}});for(const _0x40ade9 of _0x59788e){let _0x1b1674=null,_0x177bf4=_0x40ade9[_0xc645('0x145')],_0x1ad2f6=_0x40ade9[_0xc645('0x70')];for(const {suggestion:_0x2eca02,meta:_0x372e95}of this[_0xc645('0x61')](_0x40ade9,_0xc645('0xe3'))){if(!_0x372e95['isOwn'])continue;if(_0x2eca02['subType']!=_0x4790dd)continue;const _0x1dc0d9=_0x2eca02[_0xc645('0xca')]();if(_0x1dc0d9[_0xc645('0x10')](_0x40ade9,!0x0))return null;_0x177bf4=_0x177bf4['isBefore'](_0x1dc0d9[_0xc645('0x145')])?_0x177bf4:_0x1dc0d9[_0xc645('0x145')],_0x1ad2f6=_0x1ad2f6[_0xc645('0x58')](_0x1dc0d9['end'])?_0x1ad2f6:_0x1dc0d9[_0xc645('0x70')],_0x1b1674?_0x1dc0d9[_0xc645('0x145')][_0xc645('0x10b')](_0x1b1674[_0xc645('0xca')]()[_0xc645('0x145')])?(_0x1b1674[_0xc645('0xc6')](),_0x1b1674=_0x2eca02):_0x2eca02[_0xc645('0xc6')]():_0x1b1674=_0x2eca02;}const _0x286158=this[_0xc645('0x87')][_0xc645('0xad')](_0x177bf4,_0x1ad2f6);if(_0x1b1674)this[_0xc645('0x130')](_0x1b1674,_0x286158);else{const _0x175b4f=_0x1fd70c(),_0x805af2=_0x5cf4a3['id'];this[_0xc645('0xeb')]({'id':_0x175b4f,'type':_0xc645('0xed')+_0x4790dd,'data':_0x17481a,'createdAt':new Date(),'authorId':_0x805af2,'attributes':_0x34c176}),this[_0xc645('0x5d')](_0xc645('0xed')+_0x4790dd,_0x175b4f,_0x805af2,_0x286158);}}return null;}[_0xc645('0xde')](_0x3dbd83,_0x4526f8,_0xaf67f0=[],_0x19ad34=null,_0x35177f={}){_0x4526f8['formatGroupId']||(_0x4526f8[_0xc645('0x8b')]=_0x4526f8[_0xc645('0x7d')]),_0x4526f8[_0xc645('0xd')]=_0x3dbd83['is'](_0xc645('0x12a')),_0x19ad34=_0x19ad34||$t(_0x4526f8);const _0x4e48c7=_0xaf67f0[_0xc645('0xbc')](_0x47d8c9=>Rt(_0x47d8c9,this[_0xc645('0x87')])),_0x21ebf3=_0x3dbd83['is']('range')?_0x3dbd83:Rt(_0x3dbd83,this[_0xc645('0x87')]);if(_0xc645('0xe4')===this[_0xc645('0xef')]){const _0x1fd6ac=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0x2'),_0x19ad34,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x1fd6ac([_0x21ebf3],_0x4526f8,_0x35177f)),null;}_0x4e48c7['push'](_0x21ebf3);let _0x3f6bd7=!0x0;for(const _0x5a8258 of _0x4e48c7)if(!this[_0xc645('0x137')](_0x5a8258)){_0x3f6bd7=!0x1;break;}if(_0x3f6bd7&&_0xc645('0xe9')!==this[_0xc645('0xef')]){const _0x3ddaa3=this['_suggestionFactory'][_0xc645('0xfd')](_0xc645('0x2'),_0x19ad34,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x3ddaa3([_0x21ebf3],_0x4526f8,_0x35177f)),null;}let _0x5a5443=null,_0x1ded8a=_0x21ebf3[_0xc645('0x145')],_0x3e7cdf=_0x21ebf3[_0xc645('0x70')];for(const {suggestion:_0x314fe0,meta:_0x3839f9}of this['_findSuggestions'](_0x21ebf3,_0xc645('0x2'))){if(!_0x3839f9['isOwn']||_0x3839f9[_0xc645('0xe2')]||_0x3839f9[_0xc645('0x107')]||_0x3839f9[_0xc645('0x56')])continue;if(_0x314fe0[_0xc645('0xa9')]['formatGroupId']!=_0x4526f8['formatGroupId'])continue;const _0x3033c1=_0x314fe0[_0xc645('0xca')]();if(_0x314fe0[_0xc645('0x146')]==_0x19ad34){if(_0x3033c1[_0xc645('0x10')](_0x21ebf3,!0x0))return null;_0x1ded8a=_0x1ded8a[_0xc645('0x10b')](_0x3033c1[_0xc645('0x145')])?_0x1ded8a:_0x3033c1['start'],_0x3e7cdf=_0x3e7cdf['isAfter'](_0x3033c1[_0xc645('0x70')])?_0x3e7cdf:_0x3033c1[_0xc645('0x70')],_0x5a5443?_0x3033c1[_0xc645('0x145')][_0xc645('0x10b')](_0x5a5443[_0xc645('0xca')]()[_0xc645('0x145')])?(_0x5a5443[_0xc645('0xc6')](),_0x5a5443=_0x314fe0):_0x314fe0['removeMarkers']():_0x5a5443=_0x314fe0;}else{const _0x3a9b26=_0x21ebf3['getIntersection'](_0x3033c1);this['_cutOutSuggestionMarker'](_0x314fe0,_0x3a9b26);}}const _0x54d8ac=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')](_0xc645('0x141'))['me'],_0x20b3ca=_0x1fd70c(),_0x4c353f=_0x54d8ac['id'];if(_0x5a5443)return this[_0xc645('0x130')](_0x5a5443,this[_0xc645('0x87')][_0xc645('0xad')](_0x1ded8a,_0x3e7cdf)),_0x5a5443;{const _0x41b1e2=this['_setSuggestionData']({'id':_0x20b3ca,'type':_0xc645('0xa3')+_0x19ad34,'data':_0x4526f8,'createdAt':new Date(),'authorId':_0x4c353f,'attributes':_0x35177f});return this[_0xc645('0x5d')](_0xc645('0xa3')+_0x19ad34,_0x20b3ca,_0x4c353f,this['_model'][_0xc645('0xad')](_0x1ded8a,_0x3e7cdf)),_0x41b1e2;}}[_0xc645('0x37')](_0x314305,_0x37a3b2,_0x265d3a=[],_0x40a09f=null,_0x198fa2={}){_0x37a3b2[_0xc645('0x8b')]||(_0x37a3b2[_0xc645('0x8b')]=_0x37a3b2['commandName']);const _0x416453=_0x314305[0x0];_0x37a3b2[_0xc645('0xd')]=_0x416453['is'](_0xc645('0x12a')),_0x40a09f=_0x40a09f||$t(_0x37a3b2);const _0x36ad8e=_0x265d3a[_0xc645('0xbc')](_0x4a7a66=>Rt(_0x4a7a66,this[_0xc645('0x87')])),_0x4b3ab8=_0x416453['is']('range')?_0x314305:_0x314305[_0xc645('0xbc')](_0x31915c=>Rt(_0x31915c,this[_0xc645('0x87')]));if(_0xc645('0xe4')===this[_0xc645('0xef')]){const _0x2bed79=this[_0xc645('0x5a')][_0xc645('0xfd')]('formatBlock',_0x40a09f,'accept');return this[_0xc645('0x9')](()=>_0x2bed79(_0x4b3ab8,_0x37a3b2,_0x198fa2)),null;}_0x36ad8e[_0xc645('0xfe')](..._0x4b3ab8);let _0x5973be=!0x0;for(const _0xf8bc08 of _0x36ad8e)if(!this[_0xc645('0x137')](_0xf8bc08)){_0x5973be=!0x1;break;}if(_0x5973be&&_0xc645('0xe9')!==this[_0xc645('0xef')]){const _0xba38b1=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0x2'),_0x40a09f,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0xba38b1(_0x4b3ab8,_0x37a3b2,_0x198fa2)),null;}const _0x3e9241=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')]('Users')['me'];for(const _0x42dc28 of this[_0xc645('0x96')]()){if(_0x42dc28[_0xc645('0x132')]['id']!=_0x3e9241['id'])continue;if('formatBlock'!=_0x42dc28[_0xc645('0x86')]||_0x42dc28[_0xc645('0xa9')][_0xc645('0x8b')]!=_0x37a3b2['formatGroupId'])continue;const _0x19c055=_0x42dc28[_0xc645('0x146')]==_0x40a09f;for(let _0x194f8e=0x0;_0x194f8e<_0x4b3ab8[_0xc645('0x30')];_0x194f8e++){const _0x37217e=_0x4b3ab8[_0x194f8e];for(const _0x4c77d2 of _0x42dc28[_0xc645('0x113')]()){const _0x2e53eb=_0x4c77d2[_0xc645('0x88')]();if(_0x37217e[_0xc645('0xa6')](_0x2e53eb)){_0x19c055?(_0x4b3ab8[_0xc645('0x73')](_0x194f8e,0x1),_0x194f8e--):_0x42dc28[_0xc645('0xb7')](_0x4c77d2['name']);break;}}}}if(0x0==_0x4b3ab8['length'])return null;const _0x1eb32b=this[_0xc645('0x5a')]['getSuggestionCallback'](_0xc645('0x2'),_0x40a09f,'join');for(const _0x341cfa of this['getSuggestions']())if(_0x341cfa[_0xc645('0x132')]['id']==_0x3e9241['id']&&_0xc645('0x2')==_0x341cfa[_0xc645('0x86')]&&_0x341cfa[_0xc645('0xa9')][_0xc645('0x8b')]==_0x37a3b2[_0xc645('0x8b')]&&_0x341cfa[_0xc645('0x146')]==_0x40a09f&&(_0x1eb32b(_0x341cfa[_0xc645('0xc8')](),_0x4b3ab8)||_0x1eb32b(_0x4b3ab8,_0x341cfa[_0xc645('0xc8')]()))){for(const _0x55ea63 of _0x4b3ab8)_0x341cfa[_0xc645('0x7f')](_0x55ea63);return _0x341cfa;}const _0x2d3b9f=_0x1fd70c(),_0xa3daf1=_0x3e9241['id'],_0x4d1d05=_0xc645('0xa3')+_0x40a09f,_0x53b2ad=this[_0xc645('0xeb')]({'id':_0x2d3b9f,'type':_0x4d1d05,'data':_0x37a3b2,'createdAt':new Date(),'authorId':_0xa3daf1,'attributes':_0x198fa2});for(const _0x4aae9f of _0x4b3ab8)this[_0xc645('0x5d')](_0x4d1d05,_0x2d3b9f,_0xa3daf1,_0x4aae9f,_0x47c5e9[_0xc645('0xaa')]());return _0x53b2ad;}[_0xc645('0x138')](_0x3a87aa,_0x3c34ed=null,_0x22badb={}){if(_0x3a87aa[_0xc645('0xa2')])return null;const _0x28ca7b=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')]('Users')['me'],_0x1de743=new _0x2f0652(_0x3a87aa[_0xc645('0x145')],_0x3a87aa[_0xc645('0x70')]);for(const {suggestion:_0x2d06d3,meta:_0x39369e}of this[_0xc645('0x61')](_0x1de743,_0xc645('0xf7')))if(_0x39369e[_0xc645('0x48')]&&!_0x39369e[_0xc645('0xe2')]){if(_0x2d06d3[_0xc645('0x44')]){const _0x5157c5=_0x2d06d3[_0xc645('0xc8')]()['filter'](_0x2e6e84=>_0xc645('0x11c')!=_0x2e6e84[_0xc645('0xf6')][_0xc645('0x142')]);_0x5157c5[_0xc645('0x75')](_0x8f73c0=>_0x1de743[_0xc645('0x10')](_0x8f73c0,!0x0))&&_0x2d06d3['discard']();if(_0x5157c5[_0xc645('0x8d')](_0x6d3475=>_0x6d3475[_0xc645('0x10')](_0x1de743,!0x0))){const _0x5d366d=this['_suggestionFactory'][_0xc645('0xfd')](_0xc645('0x11b'),_0x3c34ed,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x5d366d([_0x1de743],null,_0x22badb)),null;}}else{const _0x23741e=_0x1de743['getIntersection'](_0x2d06d3['getFirstRange']());null!==_0x23741e&&_0x2d06d3[_0xc645('0x54')]([_0x23741e],null,_0x22badb);}}if(_0x1de743[_0xc645('0x76')](),_0x1de743[_0xc645('0xa2')]||_0xc645('0x11c')==_0x1de743[_0xc645('0xf6')][_0xc645('0x142')])return null;let _0x34df3b=null,_0x156afa=_0x1de743[_0xc645('0x145')],_0x59795d=_0x1de743[_0xc645('0x70')];for(const {suggestion:_0x20dc89,meta:_0x4ddce4}of this[_0xc645('0x61')](_0x1de743,_0xc645('0x11b')))if(_0x4ddce4[_0xc645('0x48')]){if(_0x20dc89[_0xc645('0x44')]&&this[_0xc645('0xae')]){let _0x1adb63=!0x0;for(const _0x2f48b1 of _0x20dc89['getRanges']()){if(_0x2f48b1[_0xc645('0x10')](_0x1de743,!0x0))return _0x20dc89;_0x1de743['containsRange'](_0x2f48b1)||(_0x1adb63=!0x1);}_0x1adb63&&_0x20dc89['discard']();}else{const _0x36565a=_0x20dc89[_0xc645('0xca')]();if(_0x36565a[_0xc645('0x10')](_0x1de743,!0x0)){if(!this[_0xc645('0xae')]&&_0x4ddce4[_0xc645('0x107')])continue;return _0x20dc89;}_0x156afa=_0x156afa[_0xc645('0x10b')](_0x36565a[_0xc645('0x145')])?_0x156afa:_0x36565a['start'],_0x59795d=_0x59795d[_0xc645('0x58')](_0x36565a[_0xc645('0x70')])?_0x59795d:_0x36565a[_0xc645('0x70')],_0x34df3b?_0x36565a[_0xc645('0x145')][_0xc645('0x10b')](_0x34df3b['getFirstRange']()['start'])?(_0x34df3b[_0xc645('0xc6')](),_0x34df3b=_0x20dc89):_0x20dc89[_0xc645('0xc6')]():_0x34df3b=_0x20dc89;}}if(_0x34df3b)return this[_0xc645('0x130')](_0x34df3b,this[_0xc645('0x87')][_0xc645('0xad')](_0x156afa,_0x59795d)),_0x34df3b;{const _0x2b5d87=_0x1fd70c(),_0x150ced=this['_model'][_0xc645('0xad')](_0x156afa,_0x59795d),_0xc2f3a2=_0x28ca7b['id'],_0x46b04a=_0x3c34ed?_0xc645('0x2f')+_0x3c34ed:'deletion',_0x171837=this[_0xc645('0xeb')]({'id':_0x2b5d87,'type':_0x46b04a,'createdAt':new Date(),'authorId':_0xc2f3a2,'attributes':_0x22badb});return this[_0xc645('0x5d')](_0x46b04a,_0x2b5d87,_0xc2f3a2,_0x150ced),_0x171837;}}[_0xc645('0xc')](_0x4d4a07,_0x326385=_0xc645('0xc5'),_0x2238e7={}){const _0x373d73=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')]('Users')['me'],_0x370302=_0x4d4a07['map'](_0x21e70f=>new _0x2f0652(_0x21e70f['start'],_0x21e70f[_0xc645('0x70')])),_0x26b8d=new Set();for(const _0x3d671d of _0x370302)for(const {suggestion:_0x2cf02b,meta:_0x5c3a3e}of this['_findSuggestions'](_0x3d671d,_0xc645('0xf7')))_0x5c3a3e[_0xc645('0x48')]&&!_0x5c3a3e[_0xc645('0xe2')]&&_0x26b8d['add'](_0x2cf02b);for(const _0x366d5c of _0x26b8d)if(_0x366d5c[_0xc645('0x44')]){const _0xdb410c=_0x366d5c[_0xc645('0xc8')]();(!_0x366d5c['attributes']||!_0x366d5c[_0xc645('0x2d')][_0xc645('0x114')])&&(_0xdb410c['every'](_0x345c9e=>_0x370302['some'](_0x368fb0=>_0x368fb0[_0xc645('0x10')](_0x345c9e,!0x0)))&&_0x366d5c['discard']());if(_0x370302[_0xc645('0x75')](_0x56c2e1=>_0xdb410c['some'](_0x3d77ca=>_0x3d77ca['containsRange'](_0x56c2e1,!0x0)))){const _0x13bd93=this['_suggestionFactory']['getSuggestionCallback'](_0xc645('0x11b'),_0x326385,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x13bd93(_0x4d4a07,null,_0x2238e7)),null;}}else{const _0x15f11a=_0x366d5c[_0xc645('0xca')]();_0x370302['some'](_0x49fe6a=>_0x49fe6a[_0xc645('0x10')](_0x15f11a,!0x0))&&_0x366d5c[_0xc645('0xc3')]();if(_0x370302[_0xc645('0x75')](_0x2a40c9=>_0x15f11a[_0xc645('0x10')](_0x2a40c9,!0x0))){const _0x51536d=this[_0xc645('0x5a')][_0xc645('0xfd')]('deletion',_0x326385,_0xc645('0x5e'));return this[_0xc645('0x9')](()=>_0x51536d(_0x370302,null,_0x2238e7)),null;}}const _0x5319da=this[_0xc645('0x5a')][_0xc645('0xfd')](_0xc645('0x11b'),_0x326385,_0xc645('0x108'));let _0x5b9853=null;for(const _0xb0232d of this['getSuggestions']())if(_0xb0232d[_0xc645('0x132')]['id']==_0x373d73['id']&&_0xb0232d[_0xc645('0x10d')]&&_0xc645('0x11b')==_0xb0232d['type']&&_0xb0232d[_0xc645('0x146')]==_0x326385&&(_0x5319da(_0xb0232d[_0xc645('0xc8')](),_0x370302)||_0x5319da(_0x370302,_0xb0232d[_0xc645('0xc8')]()))){if(_0x5b9853){if(_0xb0232d['commentThread']&&_0xb0232d[_0xc645('0x3b')][_0xc645('0x30')])continue;for(const _0x381f5e of _0xb0232d[_0xc645('0xc8')]())_0x5b9853[_0xc645('0xf8')](_0x381f5e)||_0x5b9853[_0xc645('0x7f')](_0x381f5e);_0xb0232d['removeMarkers']();}else{_0x5b9853=_0xb0232d;for(const _0x3e2087 of _0x370302)_0xb0232d['isIntersectingWithRange'](_0x3e2087)||_0xb0232d['addRange'](_0x3e2087);}}if(_0x5b9853)return _0x5b9853;_0x26b8d[_0xc645('0xda')]();for(const _0x383b0c of _0x370302)for(const {suggestion:_0x59f268,meta:_0x3bbeef}of this[_0xc645('0x61')](_0x383b0c,_0xc645('0x11b')))_0x3bbeef[_0xc645('0x48')]&&_0x26b8d[_0xc645('0x98')](_0x59f268);for(const _0x1c834b of _0x26b8d){const _0x2993fa=_0x1c834b[_0xc645('0xc8')]();if(!_0x2238e7||!_0x2238e7[_0xc645('0x114')]){if(_0x370302[_0xc645('0x75')](_0x1a10ec=>_0x2993fa['some'](_0x282efd=>_0x282efd[_0xc645('0x10')](_0x1a10ec,!0x0))))return _0x1c834b;}(!_0x1c834b[_0xc645('0x2d')]||!_0x1c834b[_0xc645('0x2d')][_0xc645('0x114')])&&(_0x2993fa[_0xc645('0x75')](_0x5be21a=>_0x370302[_0xc645('0x8d')](_0x10fd08=>_0x10fd08['containsRange'](_0x5be21a,!0x0)))&&_0x1c834b[_0xc645('0xc3')]());}const _0xe591da=_0x1fd70c(),_0x11ef36=_0x373d73['id'],_0x597d2c=_0xc645('0x2f')+_0x326385,_0x47d566=this['_setSuggestionData']({'id':_0xe591da,'type':_0x597d2c,'createdAt':new Date(),'authorId':_0x11ef36,'attributes':_0x2238e7});for(const _0x1c4de6 of _0x370302)_0x1c4de6['detach'](),_0x1c4de6['isCollapsed']||_0xc645('0x11c')==_0x1c4de6['root'][_0xc645('0x142')]||this['_addSuggestionMarker'](_0x597d2c,_0xe591da,_0x11ef36,_0x1c4de6,_0x47c5e9['getMultiRangeId']());return _0x47d566;}[_0xc645('0x130')](_0x4df38a,_0x83b033){const _0x1f2da2=_0x4df38a['getFirstMarker']();this[_0xc645('0x87')][_0xc645('0x8e')](_0x3221c1=>{_0x3221c1['updateMarker'](_0x1f2da2,{'range':_0x83b033});});}[_0xc645('0x121')](_0xedf409){const _0x2da0db=_0xedf409['id'],_0x180517=this['editor'][_0xc645('0x83')][_0xc645('0x22')](_0xc645('0x33'));this[_0xc645('0xff')][_0xc645('0xe5')](_0x2da0db)||this[_0xc645('0xff')][_0xc645('0x15')]({'channelId':_0x180517,'threadId':_0x2da0db,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1f2d5d=this[_0xc645('0xff')][_0xc645('0xc0')](_0x2da0db);_0x1f2d5d[_0xc645('0x25')](_0xc645('0x10e')),_0x1f2d5d[_0xc645('0x10e')]=!0x1,_0xedf409[_0xc645('0x3b')]=_0x1f2d5d;}['_checkSuggestionCorrectness'](_0x2cafba,_0x49d6c7,_0x368d58,_0x23a9e5){if(_0x2cafba[_0xc645('0x86')]!=_0x49d6c7||_0x2cafba[_0xc645('0x146')]!=_0x368d58||_0x2cafba['creator']['id']!=_0x23a9e5)throw this[_0xc645('0xb')][_0xc645('0xac')](_0xc645('0x36')),new _0x2aeeee('track-changes-suggestion-data-mismatch',this);}[_0xc645('0x13c')](_0x2e6939,_0x540bdf){const _0x40563d=_0x2e6939['getFirstRange']();if(_0x540bdf[_0xc645('0xa6')](_0x40563d))_0x2e6939[_0xc645('0xc6')]();else{if(_0x40563d[_0xc645('0x10')](_0x540bdf)){const _0x24ba71=this[_0xc645('0x87')][_0xc645('0xe')](_0x540bdf[_0xc645('0x145')][_0xc645('0x1e')],_0xc645('0x70'));this['_setSuggestionRange'](_0x2e6939,this[_0xc645('0x87')][_0xc645('0xad')](_0x40563d['start'],_0x24ba71));const _0x3a2b3a=_0x1fd70c(),_0x395ad5=_0x2e6939[_0xc645('0x5b')]['id'],_0x4f92e6=_0x2e6939[_0xc645('0x86')]+':'+_0x2e6939[_0xc645('0x146')];this['_setSuggestionData']({'id':_0x3a2b3a,'type':_0x4f92e6,'createdAt':new Date(),'authorId':_0x395ad5,'data':_0x2e6939['data'],'attributes':_0x2e6939[_0xc645('0x2d')]});const _0x13158a=this[_0xc645('0x87')][_0xc645('0xe')](_0x540bdf['end'][_0xc645('0x77')],_0xc645('0xfc')),_0x26fe4b=this[_0xc645('0x87')][_0xc645('0xad')](_0x13158a,_0x40563d['end']);this['_addSuggestionMarker'](_0x4f92e6,_0x3a2b3a,_0x395ad5,_0x26fe4b);}else{if(_0x40563d[_0xc645('0x64')](_0x540bdf[_0xc645('0x145')])){const _0x4fd927=this[_0xc645('0x87')]['createPositionAt'](_0x540bdf[_0xc645('0x145')][_0xc645('0x1e')],_0xc645('0x70'));this[_0xc645('0x130')](_0x2e6939,this['_model']['createRange'](_0x40563d[_0xc645('0x145')],_0x4fd927));}else{const _0x14a99b=this[_0xc645('0x87')][_0xc645('0xe')](_0x540bdf['end'][_0xc645('0x77')],_0xc645('0xfc'));this[_0xc645('0x130')](_0x2e6939,this[_0xc645('0x87')][_0xc645('0xad')](_0x14a99b,_0x40563d[_0xc645('0x70')]));}}}}[_0xc645('0x137')](_0x2dcee4){for(const {suggestion:_0x400fb3,meta:_0x2b673b}of this[_0xc645('0x61')](_0x2dcee4,_0xc645('0xf7'))){if(!_0x2b673b[_0xc645('0x48')])continue;const _0x37df43=_0x400fb3['getRanges']();for(const _0xd9ffa2 of _0x37df43)if(!_0x2dcee4['getDifference'](_0xd9ffa2)[_0xc645('0x30')])return!0x0;}return!0x1;}[_0xc645('0x57')](_0x52ab63){const _0x5515c3=this[_0xc645('0xb')]['plugins'][_0xc645('0x22')](_0xc645('0x141'))['getUser'](_0x52ab63);if(!_0x5515c3)throw new _0x2aeeee(_0xc645('0x69'),this);return _0x5515c3;}[_0xc645('0x11f')](_0x1a03ae){const _0x35224d=this['editor']['plugins']['get'](_0xc645('0x141')),_0x15d0af=_0x196e19('external:'+_0x1a03ae),_0x5ef361=_0x35224d[_0xc645('0x40')](_0x15d0af);return _0x5ef361||_0x35224d[_0xc645('0x16')]({'id':_0x15d0af,'name':_0x1a03ae});}[_0xc645('0x120')](_0x5417de,_0x3ef751,_0x16fe4a,_0x550442,_0x199ab){const _0x46eeb1=this[_0xc645('0x57')](_0x550442),_0x5673d8=this[_0xc645('0x5a')][_0xc645('0x62')](_0x5417de,_0x3ef751,_0x16fe4a,_0x46eeb1,_0x199ab,_0x237664=>this[_0xc645('0x21')](_0x16fe4a,{'attributes':_0x237664}));return this[_0xc645('0xc4')](_0x5673d8,_0xc645('0x5e'),()=>{this[_0xc645('0x21')](_0x16fe4a,{'state':_0xc645('0xa5')});},{'priority':_0xc645('0x1')}),this[_0xc645('0xc4')](_0x5673d8,_0xc645('0xc3'),()=>{this[_0xc645('0x21')](_0x16fe4a,{'state':_0xc645('0xd6')});},{'priority':_0xc645('0x1')}),this[_0xc645('0xba')][_0xc645('0x112')](_0x16fe4a,_0x5673d8),this[_0xc645('0x52')][_0xc645('0x112')](_0x5673d8,'notReady'),_0x5673d8;}[_0xc645('0x13')](_0x2757d2){const _0x3ca0f9=_0x2757d2[_0xc645('0x29')](':');return{'group':_0x3ca0f9[0x0],'type':_0x3ca0f9[0x1],'subType':_0x3ca0f9[_0xc645('0x30')]>=0x5?_0x3ca0f9[0x2]:null,'id':_0x3ca0f9[_0xc645('0x30')]<0x5?_0x3ca0f9[0x2]:_0x3ca0f9[0x3],'authorId':_0x3ca0f9[_0xc645('0x30')]<0x5?_0x3ca0f9[0x3]:_0x3ca0f9[0x4],'markerCount':0x6==_0x3ca0f9['length']?_0x3ca0f9[0x5]:null};}[_0xc645('0x19')](_0x1c476c,_0x454b57,_0x5df399){const _0xe83b24=_0x1c476c[_0xc645('0xca')](),_0x1f823e=_0xe83b24[_0xc645('0x145')],_0x349844=_0xe83b24[_0xc645('0x70')];this[_0xc645('0x130')](_0x1c476c,this[_0xc645('0x87')][_0xc645('0xad')](_0x1f823e,_0x454b57));const _0x4d2ea9=_0x1fd70c(),_0x59ae7b=_0x1c476c[_0xc645('0x5b')]['id'],_0x350381=_0x1c476c[_0xc645('0x86')]+(_0x1c476c['subType']?':'+_0x1c476c[_0xc645('0x146')]:'');this['_setSuggestionData']({'id':_0x4d2ea9,'type':_0x350381,'createdAt':new Date(),'authorId':_0x59ae7b,'originalSuggestionId':_0x1c476c['id'],'attributes':_0x1c476c[_0xc645('0x2d')],'data':_0x1c476c[_0xc645('0xa9')]}),_0xc645('0x2')==_0x1c476c[_0xc645('0x86')]&&(_0x5df399=this[_0xc645('0x87')][_0xc645('0xa0')](_0x5df399[_0xc645('0x77')])),this[_0xc645('0x5d')](_0x350381,_0x4d2ea9,_0x59ae7b,this[_0xc645('0x87')][_0xc645('0xad')](_0x5df399,_0x349844));}[_0xc645('0x61')](_0xccb5d3,_0x161dcd=null){const _0x28e065=[],_0x4e811a=this[_0xc645('0x87')]['schema'],_0xa7d054=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')](_0xc645('0x141'))['me'];for(const _0x2cd698 of this[_0xc645('0x96')]())if(_0x2cd698['isInContent']&&(!_0x161dcd||_0x2cd698[_0xc645('0x86')]==_0x161dcd))for(const _0x372eed of _0x2cd698[_0xc645('0xc8')]()){const _0x369f68=_0xccb5d3[_0xc645('0x145')][_0xc645('0xa6')](_0x372eed['end'])||_0xccb5d3['end']['isEqual'](_0x372eed['start']);if(_0x369f68||_0xccb5d3[_0xc645('0x68')](_0x372eed)){const _0x3634df=_0xccb5d3[_0xc645('0x10')](_0x372eed)&&Bt(_0x4e811a,_0x372eed[_0xc645('0x145')],_0xccb5d3),_0x49307b=_0x372eed[_0xc645('0x10')](_0xccb5d3)&&Bt(_0x4e811a,_0xccb5d3[_0xc645('0x145')],_0x372eed);_0x28e065[_0xc645('0xfe')]({'suggestion':_0x2cd698,'meta':{'isOwn':_0xa7d054==_0x2cd698[_0xc645('0x132')],'isNextTo':_0x369f68,'isInsideObject':_0x3634df,'containsRangeInObject':_0x49307b}});break;}}return _0x28e065;}[_0xc645('0x5d')](_0x38a142,_0x26a732,_0x266ae4,_0x1d0a80,_0x1f8944){this[_0xc645('0x87')][_0xc645('0x8e')](_0x30f217=>{let _0x1891fe='suggestion:'+_0x38a142+':'+_0x26a732+':'+_0x266ae4;_0x1f8944&&(_0x1891fe=_0x1891fe+':'+_0x1f8944),_0x30f217['addMarker'](_0x1891fe,{'range':_0x1d0a80,'usingOperation':!0x0,'affectsData':!0x0});});}[_0xc645('0x5f')](_0x27662a){const _0x1a65a7=_0x27662a[_0xc645('0xd4')],_0x194073=_0x27662a[_0xc645('0xcf')];_0x27662a[_0xc645('0xd4')]=null,null!=_0x1a65a7&&(_0x1a65a7['next']=null),_0x27662a[_0xc645('0xcf')]=null,null!=_0x194073&&(_0x194073[_0xc645('0xd4')]=null),_0xc645('0x6f')==this[_0xc645('0x52')][_0xc645('0x22')](_0x27662a)&&(this[_0xc645('0x52')][_0xc645('0x112')](_0x27662a,_0xc645('0x42')),this[_0xc645('0x67')](_0xc645('0x111'),_0x27662a,_0x1a65a7,_0x194073));}[_0xc645('0xeb')](_0x22dc2b){const _0x4cf979=_0x22dc2b['id'],_0x46a9dd=this[_0xc645('0xab')](_0x22dc2b);if(this[_0xc645('0xf')]&&this[_0xc645('0xf')][_0xc645('0x122')]){const _0x444da2=this[_0xc645('0xb')][_0xc645('0xd0')][_0xc645('0x22')]('PendingActions'),_0x14579f=_0x46a9dd[_0xc645('0x17')],_0xaeeabe=_0x46a9dd[_0xc645('0x146')]?_0x46a9dd[_0xc645('0x86')]+':'+_0x46a9dd[_0xc645('0x146')]:_0x46a9dd[_0xc645('0x86')],_0x12aeeb=this['editor'][_0xc645('0x45')],_0x16830a=_0x444da2[_0xc645('0x98')](_0x2545c9(_0x12aeeb,_0xc645('0x11a'))),_0x2dcd86={'id':_0x4cf979,'type':_0xaeeabe,'hasComments':_0x14579f,'data':_0x22dc2b[_0xc645('0xa9')]||null,'originalSuggestionId':_0x22dc2b['originalSuggestionId']||null,'attributes':_0x46a9dd['attributes']};this[_0xc645('0xf')][_0xc645('0x122')](_0x2dcd86)[_0xc645('0x35')](_0x4aa06f=>{_0x46a9dd[_0xc645('0x99')]=!0x0,_0x444da2[_0xc645('0x38')](_0x16830a),_0x4aa06f&&_0x4aa06f[_0xc645('0xe8')]&&(this[_0xc645('0xba')]['get'](_0x4cf979)[_0xc645('0xe8')]=_0x4aa06f[_0xc645('0xe8')]);})[_0xc645('0x3a')](_0x192c4f=>{throw _0x29c143('error-saving-suggestion-data-suggestion-discarded'),this[_0xc645('0xb')][_0xc645('0x7a')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x46a9dd[_0xc645('0xc3')]();}),_0x46a9dd['stopListening'](),this[_0xc645('0xba')][_0xc645('0x9b')](_0x46a9dd['id']),this[_0xc645('0x52')][_0xc645('0x9b')](_0x46a9dd),_0x192c4f;});}return _0x46a9dd;}[_0xc645('0x21')](_0x46f3f4,_0x2cb5a0){const _0x4d63fb=this[_0xc645('0xb')]['plugins']['get']('PendingActions'),_0x1475bd=this[_0xc645('0x97')](_0x46f3f4);if(this[_0xc645('0xf')]&&this[_0xc645('0xf')]['updateSuggestion']){if(_0x1475bd[_0xc645('0x99')]){const _0x4810c7=_0x4d63fb[_0xc645('0x98')](_0x2545c9(this['editor'][_0xc645('0x45')],'PENDING_ACTION_SUGGESTION'));this[_0xc645('0xf')][_0xc645('0xe1')](_0x46f3f4,_0x2cb5a0)['then'](()=>{_0x4d63fb[_0xc645('0x38')](_0x4810c7);});}else _0x1475bd['on'](_0xc645('0x82'),()=>{this[_0xc645('0x21')](_0x46f3f4,_0x2cb5a0);});}}[_0xc645('0x12c')](_0x59cba9){if(!this[_0xc645('0xf')]||!this['_adapter']['getSuggestion'])throw new _0x2aeeee(_0xc645('0xf2'),this);return this[_0xc645('0xf')][_0xc645('0x97')](_0x59cba9);}[_0xc645('0x2b')](_0x14dbea){const {id:_0x3d61c5,type:_0x161fa2,subType:_0x3fdb7c,authorId:_0x3020a0}=this[_0xc645('0x13')](_0x14dbea),_0x253ead=this['_suggestions']['get'](_0x3d61c5)||this[_0xc645('0x120')](_0x161fa2,_0x3fdb7c,_0x3d61c5,_0x3020a0,{});switch(this['_checkSuggestionCorrectness'](_0x253ead,_0x161fa2,_0x3fdb7c,_0x3020a0),this[_0xc645('0x52')][_0xc645('0x22')](_0x253ead)){case _0xc645('0x2a'):this[_0xc645('0x12c')](_0x3d61c5)[_0xc645('0x35')](_0x4ba42d=>{let _0x1accfd=Promise['resolve']();_0x4ba42d[_0xc645('0x17')]&&(_0x1accfd=this[_0xc645('0xff')][_0xc645('0xb3')]({'channelId':this[_0xc645('0xb')][_0xc645('0x83')][_0xc645('0x22')](_0xc645('0x33')),'threadId':_0x3d61c5})),_0x1accfd[_0xc645('0x35')](()=>{this[_0xc645('0xab')](_0x4ba42d)[_0xc645('0x99')]=!0x0;});}),this[_0xc645('0x52')]['set'](_0x253ead,_0xc645('0x136'));break;case _0xc645('0x42'):this[_0xc645('0x21')](_0x3d61c5,{'state':_0xc645('0x31')});case'dataReady':this[_0xc645('0x52')][_0xc645('0x112')](_0x253ead,_0xc645('0x6f')),this[_0xc645('0x67')](_0xc645('0x1a'),_0x253ead);break;case _0xc645('0x6f'):this['fire'](_0xc645('0x6b'),_0x253ead);}return _0x253ead['addMarkerName'](_0x14dbea),_0x253ead;}[_0xc645('0x13d')](_0x1257e2){const _0x1aea3c=Array[_0xc645('0x0')](_0x1257e2)[_0xc645('0xbf')](_0x356b26=>!_0x356b26['isMultiRange']),_0x1bbb4c=this[_0xc645('0x96')]({'skipNotAttached':!0x0})['filter'](_0x3ac904=>!_0x3ac904[_0xc645('0x44')]),_0x51a83f=_0x1bbb4c[_0xc645('0xbf')](_0x368f51=>!_0x1257e2[_0xc645('0x28')](_0x368f51)),_0x5803ab=new Map(_0x1bbb4c[_0xc645('0xbc')](_0x51fcfb=>[_0x51fcfb,this[_0xc645('0x5a')]['getSuggestionCallback'](_0x51fcfb[_0xc645('0x86')],_0x51fcfb[_0xc645('0x146')],_0xc645('0x115'))])),_0x20b161=new Map(_0x1bbb4c['map'](_0x1173a6=>[_0x1173a6,_0x1173a6[_0xc645('0xca')]()])),_0x53f996=new Set(),_0x37ec92=new Set();for(let _0x13140c=0x0;_0x13140c<_0x1aea3c[_0xc645('0x30')];_0x13140c++)_0x1f03e9(_0x1aea3c[_0x13140c],_0x1aea3c,_0x13140c+0x1);for(let _0x267e88=0x0;_0x267e88<_0x1aea3c[_0xc645('0x30')];_0x267e88++)_0x1f03e9(_0x1aea3c[_0x267e88],_0x51a83f,0x0);for(let _0x1ec1c3=0x0;_0x1ec1c3<_0x1aea3c[_0xc645('0x30')];_0x1ec1c3++){const _0x9277a9=_0x1aea3c[_0x1ec1c3];!_0x37ec92[_0xc645('0x28')](_0x9277a9)&&_0x9277a9['previous']&&(_0x9277a9['previous']['next']===_0x9277a9&&(_0x9277a9['previous'][_0xc645('0xcf')]=null),_0x9277a9[_0xc645('0xd4')]=null),!_0x53f996[_0xc645('0x28')](_0x9277a9)&&_0x9277a9[_0xc645('0xcf')]&&(_0x9277a9['next'][_0xc645('0xd4')]===_0x9277a9&&(_0x9277a9[_0xc645('0xcf')][_0xc645('0xd4')]=null),_0x9277a9[_0xc645('0xcf')]=null);}function _0x1f03e9(_0x45c476,_0x182000,_0x372aff){for(let _0x5a5475=_0x372aff;_0x5a5475<_0x182000[_0xc645('0x30')];_0x5a5475++){const _0x3edfe0=_0x4aea5f(_0x45c476,_0x182000[_0x5a5475]);_0x3edfe0&&(_0x3edfe0[0x0][_0xc645('0xcf')]=_0x3edfe0[0x1],_0x3edfe0[0x1][_0xc645('0xd4')]=_0x3edfe0[0x0],_0x53f996[_0xc645('0x98')](_0x3edfe0[0x0]),_0x37ec92[_0xc645('0x98')](_0x3edfe0[0x1]));}}function _0x4aea5f(_0x690f55,_0x55aa90){if(_0x690f55[_0xc645('0x132')]['id']!==_0x55aa90[_0xc645('0x132')]['id'])return null;const _0x1dd004=_0x5803ab['get'](_0x690f55)(_0x690f55,_0x55aa90,_0x20b161[_0xc645('0x22')](_0x690f55),_0x20b161[_0xc645('0x22')](_0x55aa90));if(!_0x1dd004)return null;return _0x5803ab['get'](_0x55aa90)(_0x690f55,_0x55aa90,_0x20b161['get'](_0x690f55),_0x20b161[_0xc645('0x22')](_0x55aa90))?_0x1dd004[0x1]['commentThread']&&_0x1dd004[0x1][_0xc645('0x3b')][_0xc645('0x30')]?null:_0x1dd004:null;}}[_0xc645('0x23')](_0x46b1ea){const _0x3bbf8a=Array[_0xc645('0x0')](_0x46b1ea),_0x1818e6=this[_0xc645('0x96')]({'skipNotAttached':!0x0}),_0x55846b=_0x1818e6[_0xc645('0xbf')](_0xff3995=>!_0x46b1ea[_0xc645('0x28')](_0xff3995)),_0x240e4c=new Map(_0x3bbf8a['map'](_0x50af89=>[_0x50af89,this['_suggestionFactory']['getSuggestionCallback'](_0x50af89['type'],_0x50af89[_0xc645('0x146')],_0xc645('0x108'))])),_0x3cdf47=new Map(_0x1818e6[_0xc645('0xbc')](_0x1d9c5d=>[_0x1d9c5d,_0x1d9c5d[_0xc645('0xc8')]()]));for(let _0x343798=0x0;_0x343798<_0x3bbf8a[_0xc645('0x30')];_0x343798++){if(_0x25bafb(this,_0x3bbf8a[_0x343798],_0x3bbf8a,_0x343798+0x1))return!0x0;}for(let _0x43e575=0x0;_0x43e575<_0x3bbf8a[_0xc645('0x30')];_0x43e575++){if(_0x25bafb(this,_0x3bbf8a[_0x43e575],_0x55846b,0x0))return!0x0;}return!0x1;function _0x25bafb(_0x165566,_0x5ab9d4,_0x161e79,_0x3f3013){for(let _0x5e514d=_0x3f3013;_0x5e514d<_0x161e79[_0xc645('0x30')];_0x5e514d++){const _0x55a425=_0x161e79[_0x5e514d];if(_0x55a425[_0xc645('0x86')]!==_0x5ab9d4[_0xc645('0x86')]||_0x55a425[_0xc645('0x132')]['id']!==_0x5ab9d4[_0xc645('0x132')]['id']||_0x55a425[_0xc645('0x146')]!==_0x5ab9d4[_0xc645('0x146')])continue;const _0x5d47e2=_0x240e4c['get'](_0x5ab9d4),_0x58fd3b=_0x3cdf47['get'](_0x5ab9d4),_0x4df30b=_0x3cdf47[_0xc645('0x22')](_0x55a425),_0x47ea32=_0x5ab9d4[_0xc645('0x3b')]&&_0x5ab9d4[_0xc645('0x3b')]['length'],_0x5cf83e=_0x55a425[_0xc645('0x3b')]&&_0x55a425['commentThread'][_0xc645('0x30')];if(!_0x47ea32&&_0x5d47e2(_0x4df30b,_0x58fd3b))return _0x165566['_joinSuggestions'](_0x55a425,_0x5ab9d4),_0x3cdf47[_0xc645('0x9b')](_0x5ab9d4),!0x0;if(!_0x5cf83e&&_0x5d47e2(_0x58fd3b,_0x4df30b))return _0x165566[_0xc645('0xb9')](_0x5ab9d4,_0x55a425),_0x3cdf47['delete'](_0x55a425),!0x0;}return!0x1;}}[_0xc645('0xb9')](_0x39e9fa,_0x1a40ed){if(_0x39e9fa[_0xc645('0x44')])for(const _0x33ace5 of _0x1a40ed[_0xc645('0xc8')]())_0x39e9fa['addRange'](_0x33ace5);else{const _0xafc8f6=_0x1a40ed[_0xc645('0xca')]()[_0xc645('0x70')];this['_setSuggestionRange'](_0x39e9fa,this[_0xc645('0x87')]['createRange'](_0x39e9fa[_0xc645('0xca')]()[_0xc645('0x145')],_0xafc8f6));}_0x1a40ed['removeMarkers']();}}class Dt{constructor(_0x301e21){this[_0xc645('0x6e')]=_0x301e21,this[_0xc645('0x87')]=_0x301e21[_0xc645('0x7a')],this[_0xc645('0x78')]=new Map(),this[_0xc645('0x27')]=new Map(),this[_0xc645('0x134')]();}[_0xc645('0x62')](_0x437517,_0x230e68,_0x519977,_0x203e81,_0x3929c5,_0x4090b0){return new _0x47c5e9(this[_0xc645('0x87')],{'type':_0x437517,'subType':_0x230e68,'id':_0x519977,'author':_0x203e81,'creator':_0x203e81,'attributes':_0x3929c5,'onAttributesChange':_0x4090b0,'onAccept':(..._0x19a8e6)=>this[_0xc645('0xfd')](_0x437517,_0x230e68,_0xc645('0x5e'))(..._0x19a8e6),'onDiscard':(..._0x2170ca)=>this[_0xc645('0xfd')](_0x437517,_0x230e68,'discard')(..._0x2170ca)});}[_0xc645('0x101')](_0x2e58b9,_0x2e9059,_0x4beffc,_0x1e0230){const _0x3ddc19=_0x2e58b9+':'+_0x2e9059+':'+_0x4beffc;this[_0xc645('0x78')]['set'](_0x3ddc19,_0x1e0230);}[_0xc645('0xfd')](_0x46ed40,_0x203846,_0xb390d8){const _0xfaab0c=_0x46ed40+':'+_0x203846+':'+_0xb390d8;return this[_0xc645('0x78')][_0xc645('0x22')](_0xfaab0c)||this[_0xc645('0x27')][_0xc645('0x22')](_0x46ed40+':'+_0xb390d8);}[_0xc645('0x134')](){const _0x93f33f=()=>{},_0x4e9317=_0x27c9d3=>{_0x27c9d3[_0xc645('0x41')]((_0x5b45d3,_0x4b40b8)=>_0x5b45d3[_0xc645('0x145')][_0xc645('0x10b')](_0x4b40b8['start'])?0x1:-0x1),this[_0xc645('0x87')]['change'](_0x15c7f4=>{for(const _0x6384b5 of _0x27c9d3){let _0xe5b4a5;_0xe5b4a5=_0x6384b5[_0xc645('0x70')]['isAtEnd']&&_0x6384b5[_0xc645('0x70')][_0xc645('0x77')]==_0x6384b5[_0xc645('0x145')]['nodeAfter']?_0x15c7f4[_0xc645('0x104')](_0x6384b5[_0xc645('0x145')][_0xc645('0x46')],'on'):_0x15c7f4[_0xc645('0x104')](_0x6384b5),this[_0xc645('0x87')][_0xc645('0x80')](_0xe5b4a5,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5cef71=(_0x536580,_0xa58bd9)=>{this[_0xc645('0x87')][_0xc645('0x8e')](_0x536dd6=>{const {commandName:_0x43f66d,commandParams:_0x4d84cd=[]}=_0xa58bd9,_0x8f6b8a=_0x536580['map'](_0x36c18c=>(_t(_0x36c18c)&&(_0x36c18c=this['_model'][_0xc645('0xad')](_0x36c18c[_0xc645('0x70')])),_0x36c18c))[_0xc645('0xbf')](_0x599fae=>_0xc645('0x11c')!==_0x599fae[_0xc645('0xf6')][_0xc645('0x142')]);if(_0x8f6b8a[_0xc645('0x30')]<0x1)return;const _0x1f2ea1=Array[_0xc645('0x0')](this[_0xc645('0x87')]['document']['selection'][_0xc645('0xc8')]())[_0xc645('0xbc')](_0x2f3fe5=>_0x2f0652[_0xc645('0x74')](_0x2f3fe5));_0x536dd6[_0xc645('0xb8')](_0x8f6b8a);for(const _0x5b657f of this[_0xc645('0x6e')][_0xc645('0x129')][_0xc645('0x129')]())_0x5b657f[_0xc645('0x131')]();_0x4d84cd[_0xc645('0xfe')]({'forceDefaultExecution':!0x0}),this[_0xc645('0x6e')][_0xc645('0x94')](_0x43f66d,..._0x4d84cd);const _0x5458b9=_0x1f2ea1['filter'](_0x1804cd=>'$graveyard'!=_0x1804cd['root'][_0xc645('0x142')]);_0x5458b9[_0xc645('0x30')]>0x0&&_0x536dd6[_0xc645('0xb8')](_0x5458b9);for(const _0x27d262 of _0x1f2ea1)_0x27d262['detach']();});},_0x2f7ea6=(_0x288c9b,_0x28c40f)=>0x1==_0x288c9b[_0xc645('0x30')]&&0x1==_0x28c40f['length']&&_0x288c9b[0x0][_0xc645('0x70')][_0xc645('0xa6')](_0x28c40f[0x0]['start']),_0x173d58=(_0x13da11,_0x24d5cc,_0x38db82,_0x1ef570)=>xt(_0x13da11,_0x24d5cc,_0x38db82,_0x1ef570,this[_0xc645('0x87')])?[_0x13da11,_0x24d5cc]:xt(_0x24d5cc,_0x13da11,_0x1ef570,_0x38db82,this[_0xc645('0x87')])?[_0x24d5cc,_0x13da11]:null;this['_defaultCallbacks'][_0xc645('0x112')](_0xc645('0x60'),_0x93f33f),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x3e'),_0x4e9317),this['_defaultCallbacks']['set'](_0xc645('0x65'),_0x2f7ea6),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x140'),_0x173d58),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x10a'),_0x4e9317),this[_0xc645('0x27')]['set'](_0xc645('0x10c'),_0x93f33f),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x84'),_0x2f7ea6),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x3f'),_0x173d58),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0x12e'),_0x5cef71),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0xfa'),_0x93f33f),this['_defaultCallbacks'][_0xc645('0x112')](_0xc645('0x7b'),_0x2f7ea6),this[_0xc645('0x27')]['set'](_0xc645('0xf9'),_0x93f33f),this[_0xc645('0x27')]['set'](_0xc645('0x9f'),_0x5cef71),this[_0xc645('0x27')][_0xc645('0x112')](_0xc645('0xd9'),_0x93f33f),this['_defaultCallbacks']['set']('formatBlock:join',_0x2f7ea6),this[_0xc645('0x27')][_0xc645('0x112')]('formatBlock:chain',_0x93f33f);}}function Bt(_0x48ea39,_0x110c14,_0x30766a){for(const _0x4b45e6 of _0x110c14[_0xc645('0x77')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x4b45e6[_0xc645('0xf6')]==_0x4b45e6)return!0x1;if(!_0x30766a[_0xc645('0x26')](_0x4b45e6))return!0x1;if(_0x48ea39[_0xc645('0x79')](_0x4b45e6)||_0x48ea39[_0xc645('0x1d')](_0x4b45e6))return!0x0;}return!0x1;}function _t(_0xd5d921){return _0xd5d921[_0xc645('0x70')]['parent']==_0xd5d921[_0xc645('0x145')][_0xc645('0x46')]&&_0xd5d921[_0xc645('0x70')][_0xc645('0x12b')];}function Mt(_0xb8e247,_0x6ae310,_0x2f6a34,_0x5978a9){const _0x5b03a4=_0x53e753=>!_0x53e753[_0xc645('0x116')]['is']('$textProxy')&&!_0x5978a9[_0xc645('0x79')](_0x53e753[_0xc645('0x116')]),_0x2786ce=_0xb8e247[_0xc645('0x145')]['getLastMatchingPosition'](_0x5b03a4),_0x4c0c6b=_0xb8e247['end'][_0xc645('0xf0')](_0x5b03a4,{'direction':'backward'});return(!_0xb8e247[_0xc645('0x145')]['isEqual'](_0x2786ce)||!_0xb8e247[_0xc645('0x70')]['isEqual'](_0x4c0c6b))&&(_0x2786ce['isBefore'](_0x4c0c6b)?_0x2f6a34[_0xc645('0x51')](_0x6ae310,{'range':_0x2f6a34[_0xc645('0xad')](_0x2786ce,_0x4c0c6b)}):_0x2f6a34[_0xc645('0xb7')](_0x6ae310),!0x0);}function $t(_0xc01472){return _0x196e19(_0xc01472);}function Nt(_0x112e38){const _0x3b7557=_0x112e38[_0xc645('0x145')][_0xc645('0x46')];return _0x3b7557&&_0x3b7557['is'](_0xc645('0x49'));}function Rt(_0x12ade8,_0x107505){const _0x39a279=_0x107505['schema'][_0xc645('0x79')](_0x12ade8)||_0x107505[_0xc645('0x1f')][_0xc645('0x126')](_0x12ade8);return _0x107505['createRange'](_0x107505['createPositionAt'](_0x12ade8,_0xc645('0x5')),_0x39a279?_0x107505[_0xc645('0xc7')](_0x12ade8):_0x107505['createPositionAt'](_0x12ade8,_0xc645('0x70')));}function xt(_0x40fcc6,_0x108281,_0xba6381,_0x34c8e6,_0x6b008){if(_0xba6381[_0xc645('0x70')][_0xc645('0xa6')](_0x34c8e6[_0xc645('0x145')]))return!0x0;if(_0x40fcc6[_0xc645('0x86')]!=_0x108281[_0xc645('0x86')])return!0x1;if(!_0xba6381[_0xc645('0x70')][_0xc645('0x1c')](_0x34c8e6['start']))return!0x1;const _0x3bbae6=_0x6b008[_0xc645('0xad')](_0xba6381[_0xc645('0x70')],_0x34c8e6[_0xc645('0x145')])[_0xc645('0xdc')]();for(const _0x4fa406 of _0x3bbae6)if([_0xc645('0x13b'),_0xc645('0x4')][_0xc645('0x4c')](_0x4fa406[_0xc645('0x86')])&&_0x6b008['schema'][_0xc645('0x1d')](_0x4fa406[_0xc645('0x116')]))return!0x1;return!0x0;}
|