@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240116.0 → 0.0.0-nightly-20240118.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/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18c5=['_breakSuggestionMarker','ready','_joinSuggestions','_getExternalAuthor','lowest','getAttribute','groupId','_trackFormatChanges','isNextTo','pluginName','markInsertion','authorName','_cutOutSuggestionMarker','containsPosition','oldRange','type','rethrowUnexpectedError','_splitMarkerName','init','rejected','addSuggestion','track-changes-adapter-missing-getsuggestion','splice','announce','skipNestingCheck','ck-suggestion-marker--active','dataToMarker','never','change:_saved','buildSuggestion','addMarkerName','item','author','track-changes-suggestion-data-mismatch','discard','discardSelectedSuggestions','_commentsRepository','filter','collaboration.channelId','ck-suggestion-marker-formatBlock','requires','formatInline:accept','CommentsRepository','createElement','addCommentThread','showSuggestionHighlights','getContainedElement','formatInline:','registerPostFixer','elementToElement','root','activeMarkers','enableCommand','getWalker','trackChangesCommand','hasComments','isLocal','removeMarkers','addRange','setTo','addClass','markAttributeChange','toJSON','_createSuggestion','commands','marker-count','containsRangeInObject','substr','createdAt','attribute:discard','attribute:','updateMarker','_handleNewSuggestionMarker','getAllAdjacentSuggestions','_mergeNestedSuggestions','_addThreadToSuggestion','return','insertion:join','getCustomProperty','add','upcast','_setSuggestionData','track-changes-command-not-found','_refreshSuggestionsChain','removed','range','isCollapsed','markMultiRangeInsertion','removeAttribute','define','isAfter','_processAttributeSuggestions','document','insertion:discard','targetPosition','element','stop','moveTargetPosition','_updateSuggestionData','toUpperCase','insert','attributeNewValue','suggestionLoaded','_recordAttributeSuggestions','_SUGGESTION_ANNOUNCEMENT','formatInline','backward','splitPosition','position','$text','_isForcedDefaultExecutionBlock','createPositionAfter','mapper','after','FORMATTING','attributes','PENDING_ACTION_SUGGESTION','deletion:join','forceDefaultExecution','howMany','unshift','isOwn','data-suggestion','_suggestionState','change','every','formatBlock:join','selection','isBlock','PendingActions','error-saving-suggestion-data-suggestion-discarded','addUser','dataDowncast','group','parent','rootName','formatBlock:chain','Users','elementEnd','from','track-changes-enable-command-twice','getSuggestionCallback','has','bindElementToMarker','_joinWithAdjacentSuggestions','execute','locale','editor','unbind','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','acceptSuggestion','_getSuggestionData','_reduceSuggestionAttributeRange','getUser','enqueueChange','forward','ck-suggestion-marker-formatInline','getSuggestions','highest','_rangeIsInLocalUserInsertion','clone','meta','setSelection','removeClass','hasSuggestion','isInsideObject','size','deletion:chain','suggestion-type','createRangeOn','_isDataLoaded','_isBlockAttribute','join','removeMarker','formatGroupId','_checkSuggestionCorrectness','conversion','sort','_getAttributeKey','isInContent','$textProxy','addMarker:suggestion','enableReadOnlyMode','isBefore','change:activeMarkers','isAtStart','isMultiRange','getChanges','differ','remove','external:','_element','forEach','_registerDefaultCallbacks','config','concat','commandName','ENTER','$graveyard','batch','attribute','normal','attributeKey','key','markBlockFormat','toViewElement','markDeletion','containerElement','addMarker:suggestion:attribute','deletion:','ck-suggestion-marker','addHighlight','isEqual','data','low','get','insertion','options','suggestion:','next','some','_defaultCallbacks','removeComment','_removeSuggestion','markerToHighlight','find','isExternal','getIntersection','trackChanges.trackFormatChanges','deletion:accept','suggestion:attribute:','then','markerNameToElements','getSuggestion','keys','isIntersecting','addSuggestionData','suggestion','values','containsRange','formatBlock','deleteContent','addComment','attribute:join','getCommentThread','setAttribute','markerReady','getRanges','split','nodeAfter','track-changes-adapter-already-set','markers','markMultiRangeDeletion','track-changes-suggestion-not-found','end','addMarker:suggestion:formatBlock','clear','ariaLiveAnnouncer','editingDowncast','$elementName','comments','startsWith','default','isRemovable','discardAllSuggestions','formatBlock:','notReady','consumable','_inlineAttributeKeys','createPositionAt','isSelectable','_isRegisteredAttribute','head','always','getFirstMarker','pop','adapter','isObject','_addSuggestionMarker','getRange','_findSuggestions','removeMarker:suggestion:attribute','getNearestSelectionRange','getDifference','acceptAllSuggestions','insertion:chain','_getMarkerAnnouncementText','attributeOldValue','detach','accept','isIntersectingWithRange','@external','updateSuggestion','high','nodeBefore','chain','_registerBlockAttribute','createPositionBefore','substring','getLastMatchingPosition','isDocumentOperation','suggestionUnloaded','markerName','value','model','_refreshAttributeSuggestionsChain','set','for','plugins','originalSuggestionId','getFirstRange','length','start','insertion:','getMultiRangeId','_suggestions','_reduceExistingSuggestions','oldValue','rename','commentThread','formatInline:chain','delete','multipleBlocks','getMarkers','unbindElementFromMarkerName','before','name','writer','includes','_editor','authoredAt','deletion','_initAriaMarkerChangeAnnouncements','fromCharCode','push','getChangedMarkers','_suggestionFactory','_processAttributeChanges','isLimit','move','listenTo','dataReady','_registerInlineAttribute','fire','creator','newRange','suggestionChanged','_model','formatInline:discard','resolve','discardSuggestion','createSelection','_saved','fetchCommentThread','_enabledCommands','update:suggestion','_adapter','map','trackChanges','_blockAttributeKeys','multi','change:data','stopListening','isArray','subType','isAtEnd','isUndo','consume','previous','fromRange','warn','schema','reconvertMarker','_recordAttributeChanges','_setSuggestionRange','createRange'];(function(_0x1204bf,_0x18c52b){const _0x2e162c=function(_0x1577ca){while(--_0x1577ca){_0x1204bf['push'](_0x1204bf['shift']());}};_0x2e162c(++_0x18c52b);}(_0x18c5,0xaf));const _0x2e16=function(_0x1204bf,_0x18c52b){_0x1204bf=_0x1204bf-0x0;let _0x2e162c=_0x18c5[_0x1204bf];return _0x2e162c;};import{Plugin as _0x597488,PendingActions as _0x1ba431}from'ckeditor5/src/core.js';import{LiveRange as _0x16310d}from'ckeditor5/src/engine.js';import{CKEditorError as _0x593f4f,uid as _0x52cd56,priorities as _0x376d10,logWarning as _0xe46279}from'ckeditor5/src/utils.js';import{toWidget as _0x1d1656}from'ckeditor5/src/widget.js';import{Users as _0x58227b,hashObject as _0x23e49c,surroundingMarkersDetector as _0x12aa64}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xcbabaf from'./commands/trackchangescommand.js';import _0x439574 from'./commands/acceptsuggestioncommand.js';import _0x10efc6 from'./commands/discardsuggestioncommand.js';import _0x26b3c7 from'./commands/executeonallsuggestionscommand.js';import _0x51e47a from'./commands/executeonselectedsuggestionscommand.js';import _0x4dd5c5 from'./suggestion.js';import _0x3f9627 from'./suggestiondescriptionfactory.js';import _0x50c50f from'./integrations/aiassistant.js';import _0x1e7d7f from'./integrations/alignment.js';import _0x36e0ee from'./integrations/basicstyles.js';import _0x5a7f79 from'./integrations/blockquote.js';import _0x2b4dd8 from'./integrations/casechange.js';import _0x29d902 from'./integrations/ckbox.js';import _0xb07bc6 from'./integrations/codeblock.js';import _0x124e28 from'./integrations/comments.js';import _0x572c8c from'./integrations/deletecommand.js';import _0x201bea from'./integrations/list.js';import _0x49bf7a from'./integrations/listproperties.js';import _0x32ee62 from'./integrations/entercommand.js';import _0x102dcc from'./integrations/findandreplace.js';import _0x39af57 from'./integrations/font.js';import _0x21c5b7 from'./integrations/formatpainter.js';import _0x44b130 from'./integrations/heading.js';import _0x4d821e from'./integrations/highlight.js';import _0x4e157b from'./integrations/horizontalline.js';import _0x1d399b from'./integrations/htmlembed.js';import _0x34fc35 from'./integrations/image.js';import _0xc5d9af from'./integrations/imagereplace.js';import _0x1ad6de from'./integrations/imagestyle.js';import _0x53f6b9 from'./integrations/importword.js';import _0x2790c7 from'./integrations/indent.js';import _0x3a2eb0 from'./integrations/inputcommand.js';import _0x8eba60 from'./integrations/link.js';import _0x54267d from'./integrations/legacylist.js';import _0x2b9008 from'./integrations/legacylistproperties.js';import _0x5c8a81 from'./integrations/mediaembed.js';import _0x1eb078 from'./integrations/mention.js';import _0x5c5bed from'./integrations/pagebreak.js';import _0x224d91 from'./integrations/paragraph.js';import _0x21c27c from'./integrations/removeformat.js';import _0x4a2bf9 from'./integrations/restrictededitingmode.js';import _0x404632 from'./integrations/shiftentercommand.js';import _0x36fd38 from'./integrations/standardeditingmode.js';import _0x5d926c from'./integrations/style.js';import _0x4fbd67 from'./integrations/table.js';import _0x1b254a from'./integrations/tablemergesplit.js';import _0x383ac5 from'./integrations/tableheadings.js';import _0x376077 from'./integrations/tableclipboard.js';import _0x56a1d3 from'./integrations/tablecolumnresize.js';import _0x2b6a08 from'./integrations/template.js';import _0x202d81 from'./integrations/tableofcontents.js';import _0xec3f22 from'./integrations/title.js';import _0x189485 from'./integrations/undo.js';import _0x145d18 from'./integrations/tablecaption.js';import _0x1f02fb from'./integrations/tableproperties.js';import{getTranslation as _0x17b8a7}from'./utils/common-translations.js';import{isEqual as _0x146f35,omit as _0x5cc797}from'lodash-es';export const renameAttributeKey=_0x2e16('0x54');export default class p extends _0x597488{static get[_0x2e16('0xf1')](){return['CommentsRepository',_0x58227b,_0x1ba431,_0x50c50f,_0x1e7d7f,_0x36e0ee,_0x5a7f79,_0x29d902,_0x2b4dd8,_0xb07bc6,_0x124e28,_0x572c8c,_0x32ee62,_0x102dcc,_0x39af57,_0x21c5b7,_0x44b130,_0x4d821e,_0x4e157b,_0x1d399b,_0x34fc35,_0x1ad6de,_0xc5d9af,_0x53f6b9,_0x2790c7,_0x3a2eb0,_0x54267d,_0x2b9008,_0x8eba60,_0x201bea,_0x49bf7a,_0x5c8a81,_0x1eb078,_0x5c5bed,_0x224d91,_0x21c27c,_0x4a2bf9,_0x404632,_0x36fd38,_0x5d926c,_0x4fbd67,_0x1b254a,_0x383ac5,_0x145d18,_0x376077,_0x56a1d3,_0x202d81,_0x1f02fb,_0x2b6a08,_0xec3f22,_0x189485];}static get[_0x2e16('0xd2')](){return'TrackChangesEditing';}constructor(_0xc2f65e){function _0x274246(_0x1c33ce){return _0x1c33ce[_0x2e16('0xb6')](_0x4d2ca4=>String[_0x2e16('0x9e')](_0x4d2ca4))[_0x2e16('0x175')]('');}super(_0xc2f65e),this[_0x2e16('0x130')]=!0x1,this[_0x2e16('0x83')](_0x2e16('0xfc'),[]),this['on'](_0x2e16('0x9'),(_0x2dda45,_0x3834ab,_0x3f0dc2,_0x448c5b)=>{this['_model'][_0x2e16('0x145')](()=>{for(const _0x457ba3 of[..._0x448c5b,..._0x3f0dc2])this[_0x2e16('0xac')][_0x2e16('0x4c')][_0x2e16('0x157')](_0x457ba3)&&_0xc2f65e['editing'][_0x2e16('0xc5')](_0x457ba3);});}),this['_descriptionFactory']=new _0x3f9627(this['editor'][_0x2e16('0x81')]['schema'],this['editor'][_0x2e16('0x15b')]),this[_0x2e16('0xb5')]=null,this[_0x2e16('0xa1')]=new Bt(this['editor']),this[_0x2e16('0x8c')]=new Map(),this[_0x2e16('0xed')]=_0xc2f65e[_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0xf3')),this['_enabledCommands']=new Set(),this['_model']=this[_0x2e16('0x15c')][_0x2e16('0x81')],this[_0x2e16('0x144')]=new WeakMap(),this[_0x2e16('0x137')]=!0x1,this[_0x2e16('0xb8')]=new Set([_0x2e16('0x54')]),this[_0x2e16('0x5d')]=new Set(),_0xc2f65e[_0x2e16('0x13')][_0x2e16('0x122')]('trackChanges.trackFormatChanges',_0x2e16('0x57')),this[_0x2e16('0xd0')]=_0xc2f65e[_0x2e16('0x13')]['get'](_0x2e16('0x35')),_0xc2f65e['config'][_0x2e16('0x122')]('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0xc2f65e[_0x2e16('0x13')][_0x2e16('0x28')]('trackChanges.mergeNestedSuggestions'),this[_0x2e16('0xff')]=new _0xcbabaf(_0xc2f65e,this[_0x2e16('0xb3')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0x274246([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x274246([0x34,0x30,0x34,0x38,0x30,0x32,0x33,0x32]);}[_0x2e16('0xdb')](){const _0x536b18=this[_0x2e16('0x15c')],_0x4ed108=(_0x5c3599,_0x47a035)=>{if(_0x2e16('0x19')!=_0x5c3599)return'ck-suggestion-marker-'+_0x5c3599;const _0x5c071d=_0x47a035[_0x2e16('0x49')]('|')[0x0];return this[_0x2e16('0x174')](_0x5c071d)?_0x2e16('0xf0'):_0x2e16('0x165');};_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x53'))['markerToHighlight']({'model':_0x2e16('0x3e'),'view':_0x209195=>{const {id:_0x1c04e7,type:_0x4564ac,subType:_0x2b0421}=this['_splitMarkerName'](_0x209195[_0x2e16('0x7f')]),_0x209bbd=[_0x2e16('0x23'),_0x4ed108(_0x4564ac,_0x2b0421)];let _0x142730=0xbb8;return this[_0x2e16('0xfc')][_0x2e16('0x99')](_0x209195[_0x2e16('0x7f')])&&(_0x209bbd['push'](_0x2e16('0xe2')),_0x142730=0xbc2),_0x2e16('0x9c')==_0x4564ac&&(_0x142730+=0x5),{'classes':_0x209bbd,'attributes':{'data-suggestion':_0x1c04e7},'priority':_0x142730};}}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')]('dataDowncast')[_0x2e16('0x118')](_0x39d607=>{_0x39d607['on'](_0x2e16('0x6'),(_0x480896,_0x319fda,_0x561331)=>{if(!_0x561331[_0x2e16('0x2a')]['showSuggestionHighlights'])return;const _0x11651d=_0x319fda['item'];if(!_0x11651d)return;const _0x3a5026=_0x561331[_0x2e16('0x139')][_0x2e16('0x1e')](_0x11651d);_0x536b18[_0x2e16('0x81')][_0x2e16('0xc4')][_0x2e16('0x66')](_0x11651d)&&_0x3a5026&&!_0x3a5026[_0x2e16('0x117')]('widget')&&_0x3a5026['is'](_0x2e16('0x20'))&&_0x1d1656(_0x3a5026,_0x561331[_0x2e16('0x98')]);},{'priority':_0x2e16('0x76')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x14d'))[_0x2e16('0x31')]({'model':_0x2e16('0x3e'),'view':(_0x310cb2,_0x3ad642)=>{if(!_0x3ad642[_0x2e16('0x2a')][_0x2e16('0xf6')])return null;const {type:_0x29dcda,subType:_0x2b0edc}=this[_0x2e16('0xda')](_0x310cb2[_0x2e16('0x7f')]);return{'classes':[_0x2e16('0x23'),_0x4ed108(_0x29dcda,_0x2b0edc)],'priority':0xbb8};}});const _0x418ca5=({showActiveMarkers:_0x4c243c=!0x0,isAttributeSuggestion:_0x57212c=!0x1}={})=>(_0x122fd0,_0x2459a2,_0x57f185)=>{if(!_0x2459a2[_0x2e16('0xe8')])return;const {id:_0x156ba5}=this[_0x2e16('0xda')](_0x2459a2[_0x2e16('0x7f')]);if(_0x57212c){const _0xdf716d=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x156ba5),_0x2b37bf=this['_getAttributeKey'](_0xdf716d);if(!this[_0x2e16('0x174')](_0x2b37bf))return;}if(_0x2459a2['item']['is'](_0x2e16('0x148')))return void _0x57f185['consumable'][_0x2e16('0xc0')](_0x2459a2[_0x2e16('0xe8')],_0x122fd0['name']);const _0x16eb0f=_0x57f185['mapper'][_0x2e16('0x1e')](_0x2459a2[_0x2e16('0xe8')]);if(_0x2459a2[_0x2e16('0xe8')]['is'](_0x2e16('0x128'))&&_0x536b18['model'][_0x2e16('0xc4')][_0x2e16('0x149')](_0x2459a2[_0x2e16('0xe8')])&&!_0x16eb0f[_0x2e16('0x117')](_0x2e16('0x24'))){_0x57f185[_0x2e16('0x98')]['addClass']([_0x2e16('0x23'),_0x2e16('0xf0')],_0x16eb0f),_0x57f185[_0x2e16('0x98')][_0x2e16('0x46')](_0x2e16('0x143'),_0x156ba5,_0x16eb0f),_0x57f185[_0x2e16('0x139')][_0x2e16('0x158')](_0x16eb0f,_0x2459a2[_0x2e16('0x7f')]),_0x4c243c&&(this[_0x2e16('0xfc')]['includes'](_0x2459a2['markerName'])?_0x57f185['writer'][_0x2e16('0x105')](_0x2e16('0xe2'),_0x16eb0f):_0x57f185[_0x2e16('0x98')][_0x2e16('0x16c')]('ck-suggestion-marker--active',_0x16eb0f));for(const _0x3474ac of _0x536b18[_0x2e16('0x81')]['createRangeIn'](_0x2459a2['item'])['getItems']())_0x57f185[_0x2e16('0x5c')]['consume'](_0x3474ac,_0x122fd0[_0x2e16('0x97')]);_0x57f185[_0x2e16('0x5c')][_0x2e16('0xc0')](_0x2459a2[_0x2e16('0xe8')],_0x122fd0['name']);}};_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x14d'))['add'](_0x1eb1c6=>{_0x1eb1c6['on'](_0x2e16('0x50'),(_0x2ac961,_0x239ebc,_0x1028d3)=>{_0x1028d3[_0x2e16('0x2a')]['showSuggestionHighlights']&&_0x418ca5({'showActiveMarkers':!0x1})(_0x2ac961,_0x239ebc,_0x1028d3);},{'priority':_0x2e16('0x167')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x14d'))[_0x2e16('0x118')](_0x35e5ed=>{_0x35e5ed['on']('addMarker:suggestion:attribute',(_0x23cbf4,_0x426174,_0x39f470)=>{_0x39f470[_0x2e16('0x2a')][_0x2e16('0xf6')]&&_0x418ca5({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x23cbf4,_0x426174,_0x39f470);},{'priority':_0x2e16('0x167')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x14d'))['markerToData']({'model':'suggestion','view':(_0x54a873,_0x1d5d5c)=>_0x1d5d5c[_0x2e16('0x2a')][_0x2e16('0xf6')]?null:{'group':'suggestion','name':_0x54a873[_0x2e16('0x10c')](0xb)}}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x119'))[_0x2e16('0xfa')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x2e4986,{writer:_0x5cb608})=>{let _0x37ba85=_0x2e16('0x2b')+_0x2e4986['getAttribute'](_0x2e16('0x171'))+':'+_0x2e4986[_0x2e16('0xce')]('id');return _0x2e4986['getAttribute'](_0x2e16('0x10a'))&&(_0x37ba85+=':'+_0x2e4986[_0x2e16('0xce')](_0x2e16('0x10a'))),_0x5cb608[_0x2e16('0xf4')]('$marker',{'data-name':_0x37ba85});}}),_0x536b18[_0x2e16('0x1')]['for'](_0x2e16('0x119'))[_0x2e16('0xe3')]({'view':_0x2e16('0x3e')}),_0x536b18['conversion'][_0x2e16('0x84')](_0x2e16('0x53'))[_0x2e16('0x118')](_0x14727d=>{_0x14727d['on']('addMarker:suggestion:formatBlock',_0x418ca5(),{'priority':_0x2e16('0x76')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x53'))[_0x2e16('0x118')](_0x3938bc=>{_0x3938bc['on'](_0x2e16('0x21'),_0x418ca5({'isAttributeSuggestion':!0x0}),{'priority':_0x2e16('0x76')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')](_0x2e16('0x53'))[_0x2e16('0x118')](_0x44f81c=>{_0x44f81c['on']('removeMarker:suggestion:formatBlock',(_0x55429a,_0x28f589,_0x48852c)=>{const _0x434e0c=_0x48852c[_0x2e16('0x139')][_0x2e16('0x39')](_0x28f589[_0x2e16('0x7f')]);if(_0x434e0c)for(const _0x19064c of _0x434e0c)_0x19064c[_0x2e16('0x117')](_0x2e16('0x24'))||(_0x48852c['writer'][_0x2e16('0x16c')]([_0x2e16('0x23'),_0x2e16('0xf0'),_0x2e16('0xe2')],_0x19064c),_0x48852c[_0x2e16('0x98')][_0x2e16('0x121')](_0x2e16('0x143'),_0x19064c),_0x48852c['mapper']['unbindElementFromMarkerName'](_0x19064c,_0x28f589[_0x2e16('0x7f')]));},{'priority':_0x2e16('0x76')});}),_0x536b18[_0x2e16('0x1')][_0x2e16('0x84')]('editingDowncast')['add'](_0x5c04bf=>{_0x5c04bf['on'](_0x2e16('0x6a'),(_0x208753,_0x1808c5,_0x2a5118)=>{const _0x2d93cb=_0x2a5118[_0x2e16('0x139')][_0x2e16('0x39')](_0x1808c5[_0x2e16('0x7f')]);if(!_0x2d93cb)return;const {id:_0x1fc559}=this[_0x2e16('0xda')](_0x1808c5[_0x2e16('0x7f')]),_0x4079a5=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x1fc559),_0x1b1f51=this[_0x2e16('0x3')](_0x4079a5);if(this[_0x2e16('0x174')](_0x1b1f51))for(const _0x37fce6 of _0x2d93cb)_0x37fce6['getCustomProperty'](_0x2e16('0x24'))||(_0x2a5118['writer'][_0x2e16('0x16c')](['ck-suggestion-marker',_0x2e16('0xf0'),'ck-suggestion-marker--active'],_0x37fce6),_0x2a5118[_0x2e16('0x98')][_0x2e16('0x121')]('data-suggestion',_0x37fce6),_0x2a5118[_0x2e16('0x139')][_0x2e16('0x95')](_0x37fce6,_0x1808c5['markerName']));},{'priority':_0x2e16('0x76')});}),_0x536b18[_0x2e16('0x81')][_0x2e16('0x125')][_0x2e16('0xf9')](_0x279fe5=>{let _0x4f42a0=!0x1;const _0x37d0bf=Array[_0x2e16('0x154')](_0x536b18[_0x2e16('0x81')]['document'][_0x2e16('0xd')][_0x2e16('0xa0')]()),_0x2cfc3d=new Set();for(const {name:_0x5097d6,data:_0x588a13}of _0x37d0bf){const {group:_0x31beea,type:_0x1b48d7,subType:_0x3ca2b7,id:_0x3c59d5}=this[_0x2e16('0xda')](_0x5097d6);if(_0x2e16('0x3e')!==_0x31beea)continue;const _0x471314=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x3c59d5);if(null!=_0x588a13[_0x2e16('0xaa')]){'formatInline'==_0x1b48d7&&(_0x4f42a0=_0x4f42a0||Tt(_0x588a13[_0x2e16('0xaa')],_0x5097d6,_0x279fe5,_0x536b18['model'][_0x2e16('0xc4')]));const _0x54bcfe=_0x2e16('0x19')==_0x1b48d7&&this[_0x2e16('0x174')](_0x3ca2b7[_0x2e16('0x49')]('|')[0x0]);if(_0x588a13['newRange']['isCollapsed']||'$graveyard'==_0x588a13[_0x2e16('0xaa')][_0x2e16('0xfb')][_0x2e16('0x150')]||_0x2e16('0x41')==_0x1b48d7&&!Vt(_0x588a13[_0x2e16('0xaa')])||_0x54bcfe&&!Vt(_0x588a13[_0x2e16('0xaa')])||_0x2e16('0x9c')==_0x1b48d7&&!(!Rt(_0x57ff2e=_0x588a13[_0x2e16('0xaa')])&&!function(_0x38f746){return _0x38f746[_0x2e16('0x89')]['parent']==_0x38f746[_0x2e16('0x4f')][_0x2e16('0x77')]&&_0x38f746[_0x2e16('0x89')][_0x2e16('0xbe')];}(_0x57ff2e)))_0x279fe5[_0x2e16('0x176')](_0x5097d6),_0x4f42a0=!0x0;else{if(!_0x471314||!_0x471314['isInContent'])continue;_0x2cfc3d[_0x2e16('0x118')](_0x471314);}}}var _0x57ff2e;return _0x2cfc3d[_0x2e16('0x16f')]>0x0&&(_0x4f42a0=!!this['_joinWithAdjacentSuggestions'](_0x2cfc3d)||_0x4f42a0),_0x4f42a0;}),_0x536b18[_0x2e16('0x81')][_0x2e16('0x125')][_0x2e16('0xf9')](_0x4657e7=>{let _0x58a508=!0x1;for(const _0x1c2ca0 of _0x536b18[_0x2e16('0x81')][_0x2e16('0x125')][_0x2e16('0xd')]['getChanges']())if(_0x2e16('0x12d')==_0x1c2ca0[_0x2e16('0xd8')])for(const _0x1804c2 of this[_0x2e16('0x8c')][_0x2e16('0x3f')]()){if(_0x1804c2[_0x2e16('0xb')]||!_0x1804c2[_0x2e16('0x4')])continue;const _0xecabfa=_0x2e16('0x41')==_0x1804c2[_0x2e16('0xd8')],_0xc0b553=this['_getAttributeKey'](_0x1804c2),_0x1fd9b2=_0xc0b553&&this[_0x2e16('0x174')](_0xc0b553);if(!_0xecabfa&&!_0x1fd9b2)continue;const _0x55c9b3=_0x1804c2[_0x2e16('0x87')]();if(_0x55c9b3['start']['parent']!=_0x55c9b3[_0x2e16('0x4f')][_0x2e16('0x14f')]&&!_0x55c9b3[_0x2e16('0x4f')]['isAtEnd']){const _0x2366ac=_0x536b18[_0x2e16('0x81')]['createPositionAt'](_0x55c9b3['start']['nodeAfter'],'end'),_0x42ac33=_0x536b18[_0x2e16('0x81')]['createRange'](_0x55c9b3[_0x2e16('0x89')],_0x2366ac);_0x4657e7['updateMarker'](_0x1804c2['getFirstMarker'](),{'range':_0x42ac33}),_0x58a508=!0x0;}}return _0x58a508;}),_0x536b18['model'][_0x2e16('0x125')]['registerPostFixer'](_0x385bd8=>this[_0x2e16('0xa2')](_0x385bd8)),_0x536b18[_0x2e16('0x81')][_0x2e16('0x125')][_0x2e16('0xf9')](_0x2c1094=>!_0x2c1094[_0x2e16('0x18')][_0x2e16('0x101')]&&this[_0x2e16('0x124')](_0x2c1094)),_0x536b18[_0x2e16('0x81')]['on']('_afterChanges',()=>{this[_0x2e16('0x130')]=!0x1;}),_0x536b18[_0x2e16('0x81')]['document']['on'](_0x2e16('0xba'),(_0x1fab4e,_0x194c8a)=>{if(!_0x194c8a[_0x2e16('0x101')]||_0x194c8a[_0x2e16('0xbf')])return;if(!this[_0x2e16('0x130')])return;const _0x4373a6=_0x536b18[_0x2e16('0x81')]['document'][_0x2e16('0xd')][_0x2e16('0xc')]();if(0x0==_0x4373a6[_0x2e16('0x88')])return;const _0x442f65=[],_0x22cd2f=_0x4373a6['filter'](_0x3cf51f=>_0x2e16('0x19')==_0x3cf51f['type']),_0x1acb74=_0x4373a6[_0x2e16('0xee')](_0x4f9094=>_0x2e16('0x12d')==_0x4f9094['type']&&_0x2e16('0x136')!=_0x4f9094[_0x2e16('0x97')]),_0x57b524=_0x4373a6[_0x2e16('0xee')](_0x45beb2=>_0x2e16('0xe')==_0x45beb2['type']&&_0x2e16('0x136')!=_0x45beb2['name']);for(const _0x225179 of _0x22cd2f)this[_0x2e16('0x60')](_0x225179[_0x2e16('0x1b')])&&_0x442f65[_0x2e16('0x9f')]({'key':_0x225179[_0x2e16('0x1b')],'newValue':_0x225179['attributeNewValue'],'oldValue':_0x225179[_0x2e16('0x70')],'range':Ut(_0x225179[_0x2e16('0x11e')],_0x536b18[_0x2e16('0x81')])});for(const _0x2f9e0f of _0x1acb74){const _0x432c64=_0x57b524[_0x2e16('0x32')](_0xe59987=>_0xe59987['_element']===_0x2f9e0f[_0x2e16('0x10')]);if(_0x432c64){const _0x1adf9c=Ot(_0x2f9e0f[_0x2e16('0x135')][_0x2e16('0x4a')],_0x536b18['model']);_0x432c64[_0x2e16('0x97')]!==_0x2f9e0f['name']&&_0x442f65['push']({'key':_0x2e16('0x54'),'newValue':_0x2f9e0f[_0x2e16('0x97')],'oldValue':_0x432c64[_0x2e16('0x97')],'range':_0x1adf9c});for(const [_0x54777f,_0xf42b6]of _0x432c64['attributes']){if(!this['_isRegisteredAttribute'](_0x54777f))continue;const _0x9cd06a=_0x2f9e0f[_0x2e16('0x13c')]['get'](_0x54777f);_0xf42b6!==_0x9cd06a&&_0x442f65[_0x2e16('0x9f')]({'key':_0x54777f,'newValue':_0x9cd06a,'oldValue':_0xf42b6,'range':_0x1adf9c});}for(const [_0x5eda6f,_0xdcca88]of _0x2f9e0f[_0x2e16('0x13c')])this[_0x2e16('0x60')](_0x5eda6f)&&(_0x432c64['attributes'][_0x2e16('0x157')](_0x5eda6f)||_0x442f65[_0x2e16('0x9f')]({'key':_0x5eda6f,'newValue':_0xdcca88,'oldValue':void 0x0,'range':_0x1adf9c}));}}0x0!=_0x442f65['length']&&_0x536b18[_0x2e16('0x81')][_0x2e16('0x163')](_0x194c8a,_0x201efe=>{const _0x4e15e8=_0x52cd56();for(const {range:_0x21e277,key:_0x1473d4,oldValue:_0x46c29e,newValue:_0x4bf6b6}of _0x442f65)this[_0x2e16('0x106')](_0x21e277,_0x1473d4,_0x46c29e,_0x4bf6b6,{'groupId':_0x4e15e8});this[_0x2e16('0x8d')](_0x201efe,_0x442f65);});},{'priority':_0x2e16('0xcd')}),_0x536b18[_0x2e16('0x81')]['markers']['on'](_0x2e16('0xb4'),(_0x4bfbc4,_0x52df6d,_0x50aceb)=>{if(null==_0x50aceb){const {id:_0x1be0e8}=this[_0x2e16('0xda')](_0x52df6d[_0x2e16('0x97')]),_0x35e3ea=this['_suggestions']['get'](_0x1be0e8);_0x35e3ea&&_0x35e3ea[_0x2e16('0xe7')](_0x52df6d[_0x2e16('0x97')]);}}),_0x536b18[_0x2e16('0x81')][_0x2e16('0x125')]['on'](_0x2e16('0xba'),()=>{const _0x29b51c=Array['from'](_0x536b18[_0x2e16('0x81')][_0x2e16('0x125')][_0x2e16('0xd')][_0x2e16('0xa0')]())[_0x2e16('0xee')](_0x52d920=>_0x2e16('0x3e')===this[_0x2e16('0xda')](_0x52d920['name'])[_0x2e16('0x14e')]);if(0x0===_0x29b51c[_0x2e16('0x88')])return;_0x29b51c[_0x2e16('0x2')]((_0x2c7dd6,_0x40864a)=>{const _0x74dff5=_0x2c7dd6['data'][_0x2e16('0xd7')],_0x4af46f=_0x40864a[_0x2e16('0x26')][_0x2e16('0xd7')];return null===_0x74dff5&&null===_0x4af46f?0x0:null===_0x74dff5&&null!==_0x4af46f?-0x1:null!==_0x74dff5&&null===_0x4af46f?0x1:_0x74dff5[_0x2e16('0x89')][_0x2e16('0x8')](_0x4af46f[_0x2e16('0x89')])?-0x1:0x1;});const _0x332981=new Set(),_0x3241b7=new Set();for(const {name:_0x512d31,data:_0x394022}of _0x29b51c){const {id:_0x19b6ed}=this['_splitMarkerName'](_0x512d31);if(null===_0x394022[_0x2e16('0xd7')]){const _0x187fed=this['_handleNewSuggestionMarker'](_0x512d31);_0x3241b7[_0x2e16('0x118')](_0x187fed);}else{const _0x5ead13=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x19b6ed);null!==_0x394022[_0x2e16('0xaa')]||_0x5ead13['isInContent']?(_0x332981[_0x2e16('0x118')](_0x5ead13[_0x2e16('0x61')]),_0x3241b7[_0x2e16('0x118')](_0x5ead13)):this[_0x2e16('0x30')](_0x5ead13);}}_0x3241b7[_0x2e16('0x16f')]>0x0&&this[_0x2e16('0x11c')](_0x3241b7);for(const _0x351f75 of _0x332981)this[_0x2e16('0xa8')](_0x2e16('0xab'),_0x351f75);}),_0x536b18[_0x2e16('0x81')]['on']('applyOperation',(_0x4cf4eb,_0x56c3fa)=>{const _0x54bcad=_0x56c3fa[0x0];if(!this['_suggestions'][_0x2e16('0x16f')])return;if(!_0x54bcad[_0x2e16('0x7d')])return;if(_0x54bcad['batch'][_0x2e16('0xbf')]||!_0x54bcad['batch'][_0x2e16('0x101')])return;let _0x41233a,_0x55ece8;switch(_0x54bcad['type']){case'insert':_0x41233a=_0x536b18[_0x2e16('0x81')][_0x2e16('0x5e')](_0x54bcad['position']),_0x55ece8=_0x41233a['getShiftedBy'](_0x54bcad[_0x2e16('0x140')]);break;case'split':_0x41233a=_0x536b18[_0x2e16('0x81')]['createPositionAt'](_0x54bcad[_0x2e16('0x134')]),_0x55ece8=_0x536b18[_0x2e16('0x81')][_0x2e16('0x5e')](_0x54bcad[_0x2e16('0x12a')]);break;case _0x2e16('0xa4'):_0x41233a=_0x536b18['model'][_0x2e16('0x5e')](_0x54bcad[_0x2e16('0x127')]),_0x55ece8=_0x41233a['getShiftedBy'](_0x54bcad['howMany']);break;default:return;}const _0x211e35=_0x536b18[_0x2e16('0x81')][_0x2e16('0xc8')](_0x41233a,_0x55ece8);_0x536b18['model']['change'](()=>{for(const {suggestion:_0x16cf45,meta:_0x321225}of this[_0x2e16('0x69')](_0x211e35)){if(_0x16cf45['isMultiRange'])continue;if(_0x2e16('0x132')==_0x16cf45[_0x2e16('0xd8')])continue;const _0x550b62=this[_0x2e16('0x3')](_0x16cf45);if(_0x550b62&&this[_0x2e16('0x174')](_0x550b62)&&'split'!=_0x54bcad[_0x2e16('0xd8')])continue;const _0x5c5436=_0x16cf45[_0x2e16('0x26')]&&_0x16cf45['data'][_0x2e16('0x93')];('formatBlock'!=_0x16cf45[_0x2e16('0xd8')]||_0x2e16('0x49')==_0x54bcad[_0x2e16('0xd8')]&&!_0x5c5436)&&(_0x321225['containsRangeInObject']||'insertion'==_0x16cf45[_0x2e16('0xd8')]&&_0x321225[_0x2e16('0x142')]||_0x16cf45['getFirstRange']()['containsRange'](_0x211e35)&&this[_0x2e16('0xc9')](_0x16cf45,_0x41233a,_0x55ece8));}});},{'priority':'lowest'}),_0x536b18['model']['on'](_0x2e16('0x42'),(_0x4879d7,_0x352911)=>{const _0x14e659=_0x352911[0x0],_0x142480=_0x352911[0x1];if(_0x142480&&_0x142480['forceDefaultExecution'])return;if(this[_0x2e16('0x137')])return;if(!this['trackChangesCommand']['value'])return;if(_0x14e659[_0x2e16('0x11f')])return;const _0x44ce15=_0x536b18[_0x2e16('0x81')][_0x2e16('0xc4')],{start:_0x41aee7,end:_0x32eaed}=_0x14e659[_0x2e16('0x87')](),_0x49e70f=_0x41aee7[_0x2e16('0x4a')]&&_0x44ce15['isLimit'](_0x41aee7[_0x2e16('0x4a')])?null:_0x44ce15[_0x2e16('0x6b')](_0x41aee7,_0x2e16('0x164')),_0x7ae1ba=_0x32eaed[_0x2e16('0x77')]&&_0x44ce15[_0x2e16('0xa3')](_0x32eaed[_0x2e16('0x77')])?null:_0x44ce15['getNearestSelectionRange'](_0x32eaed,_0x2e16('0x133')),_0x3caeaf=_0x536b18[_0x2e16('0x81')]['createRange'](_0x49e70f?_0x49e70f[_0x2e16('0x89')]:_0x41aee7,_0x7ae1ba?_0x7ae1ba[_0x2e16('0x4f')]:_0x32eaed);_0x536b18['model']['change'](_0x371220=>{this[_0x2e16('0x1f')](_0x3caeaf);const _0x3549bc=_0x536b18['model'][_0x2e16('0xc4')]['getNearestSelectionRange'](_0x3caeaf[_0x2e16('0x89')]);_0x14e659['is']('documentSelection')?_0x371220[_0x2e16('0x16b')](_0x3549bc):_0x14e659[_0x2e16('0x104')](_0x3549bc);}),_0x4879d7['stop']();},{'priority':_0x376d10[_0x2e16('0x1a')]+0xa}),_0x536b18[_0x2e16('0x81')]['on']('insertContent',(_0xf92384,_0x2b5888)=>{const _0xb522b3=_0x2b5888[_0x2b5888[_0x2e16('0x88')]-0x1];_0xb522b3&&_0xb522b3['forceDefaultExecution']||this[_0x2e16('0x137')]||this[_0x2e16('0xff')]['value']&&(_0x536b18[_0x2e16('0x81')][_0x2e16('0x145')](()=>{let _0x215ae5=_0x536b18['model']['insertContent'](_0x2b5888[0x0],_0x2b5888[0x1],_0x2b5888[0x2],{'forceDefaultExecution':!0x0});if(!_0x215ae5)return;_0xf92384['return']=_0x215ae5[_0x2e16('0x169')]();const _0x489b83=_0x215ae5[_0x2e16('0x4f')][_0x2e16('0x77')],_0x5db83a=_0x536b18[_0x2e16('0x81')]['schema'];_0x489b83&&_0x5db83a['isBlock'](_0x489b83)&&!_0x5db83a[_0x2e16('0x66')](_0x489b83)&&(_0x215ae5=_0x536b18['model'][_0x2e16('0xc8')](_0x215ae5['start'],_0x536b18['model'][_0x2e16('0x5e')](_0x489b83,_0x2e16('0x4f')))),this['markInsertion'](_0x215ae5);}),_0xf92384['stop']());},{'priority':_0x2e16('0x76')}),this['editor'][_0x2e16('0x109')][_0x2e16('0x118')](_0x2e16('0xb7'),this[_0x2e16('0xff')]),this[_0x2e16('0xfd')](_0x2e16('0xb7'));const _0x119253=new _0x439574(_0x536b18,this['_suggestions']);_0x536b18[_0x2e16('0x109')][_0x2e16('0x118')]('acceptSuggestion',_0x119253),this[_0x2e16('0xfd')]('acceptSuggestion');const _0x5e0ceb=new _0x10efc6(_0x536b18,this[_0x2e16('0x8c')]);_0x536b18[_0x2e16('0x109')][_0x2e16('0x118')](_0x2e16('0xaf'),_0x5e0ceb),this[_0x2e16('0xfd')](_0x2e16('0xaf')),_0x536b18['commands'][_0x2e16('0x118')](_0x2e16('0x6d'),new _0x26b3c7(_0x536b18,_0x119253,this[_0x2e16('0x8c')])),this['enableCommand'](_0x2e16('0x6d')),_0x536b18[_0x2e16('0x109')]['add'](_0x2e16('0x59'),new _0x26b3c7(_0x536b18,_0x5e0ceb,this[_0x2e16('0x8c')])),this[_0x2e16('0xfd')](_0x2e16('0x59')),_0x536b18[_0x2e16('0x109')][_0x2e16('0x118')]('acceptSelectedSuggestions',new _0x51e47a(_0x536b18,_0x119253,this['_suggestions'])),this[_0x2e16('0xfd')]('acceptSelectedSuggestions'),_0x536b18[_0x2e16('0x109')][_0x2e16('0x118')]('discardSelectedSuggestions',new _0x51e47a(_0x536b18,_0x5e0ceb,this['_suggestions'])),this[_0x2e16('0xfd')](_0x2e16('0xec'));const _0x441eef=_0x536b18[_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0xf3'));this[_0x2e16('0xa5')](_0x441eef,_0x2e16('0x43'),(_0x145c8b,{threadId:_0x2943be})=>{const _0x1474a2=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x2943be);_0x1474a2&&_0x1474a2[_0x2e16('0x90')]&&0x1===_0x1474a2['commentThread'][_0x2e16('0x88')]&&this[_0x2e16('0x12b')](_0x2943be,{'hasComments':!0x0});},{'priority':_0x2e16('0x27')}),this[_0x2e16('0xa5')](_0x441eef,_0x2e16('0x2f'),(_0x5c4e8f,{threadId:_0x30cde3})=>{const _0x4514c6=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x30cde3);_0x4514c6&&_0x4514c6[_0x2e16('0x90')]&&!_0x4514c6[_0x2e16('0x90')][_0x2e16('0x88')]&&this[_0x2e16('0x12b')](_0x30cde3,{'hasComments':!0x1});},{'priority':_0x2e16('0x27')});}set['adapter'](_0x527abd){if(this[_0x2e16('0xb5')])throw new _0x593f4f(_0x2e16('0x4b'),this);this[_0x2e16('0xb5')]=_0x527abd;}get[_0x2e16('0x65')](){return this[_0x2e16('0xb5')];}[_0x2e16('0x166')]({skipNotAttached:_0x4939fe=!0x1,toJSON:_0x589c5d=!0x1}={}){const _0x136ee3=[];for(const _0x2f33a5 of this[_0x2e16('0x8c')]['values']())_0x4939fe&&!_0x2f33a5['isInContent']||_0x136ee3[_0x2e16('0x9f')](_0x2f33a5);return _0x589c5d?_0x136ee3[_0x2e16('0xb6')](_0x41177c=>_0x41177c[_0x2e16('0x107')]()):_0x136ee3;}[_0x2e16('0x3a')](_0x1732d6){const _0x8f4ec7=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x1732d6);if(!_0x8f4ec7)throw new _0x593f4f(_0x2e16('0x4e'),this);return _0x8f4ec7;}[_0x2e16('0x16d')](_0x434831){return this[_0x2e16('0x8c')][_0x2e16('0x157')](_0x434831);}[_0x2e16('0x3d')](_0x560a2f){const {authorId:_0x6810ce,id:_0x3b0e2d,attributes:_0x2f681e}=_0x560a2f,[_0x1a7f07,_0x6d5295]=_0x560a2f[_0x2e16('0xd8')][_0x2e16('0x49')](':'),_0x547657=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x3b0e2d)||this[_0x2e16('0x108')](_0x1a7f07,_0x6d5295,_0x3b0e2d,_0x6810ce,_0x2f681e);if(this['_addThreadToSuggestion'](_0x547657),this[_0x2e16('0x0')](_0x547657,_0x1a7f07,_0x6d5295||null,_0x6810ce),_0x547657['createdAt']=_0x560a2f[_0x2e16('0x10d')],_0x547657[_0x2e16('0x173')]=!0x0,_0x2f681e&&_0x2f681e[_0x2e16('0x74')]){const _0xcc158c=_0x2f681e[_0x2e16('0x74')],_0x1fda2a=this[_0x2e16('0xcc')](_0xcc158c[_0x2e16('0xd4')]);_0x547657[_0x2e16('0x9b')]=_0xcc158c[_0x2e16('0x10d')],_0x547657[_0x2e16('0xe9')]=_0x1fda2a,_0x547657[_0x2e16('0x33')]=!0x0;}else _0x547657['authoredAt']=_0x560a2f[_0x2e16('0x10d')];switch(_0x560a2f['data']&&(_0x547657[_0x2e16('0x26')]=_0x560a2f[_0x2e16('0x26')]),_0x560a2f[_0x2e16('0x13c')]&&(_0x547657[_0x2e16('0x13c')]=_0x560a2f[_0x2e16('0x13c')]),this['_adapter']&&this[_0x2e16('0xb5')][_0x2e16('0xdd')]||(_0x547657['_saved']=!0x0),this['_suggestionState'][_0x2e16('0x28')](_0x547657)){case _0x2e16('0x5b'):this[_0x2e16('0x144')]['set'](_0x547657,_0x2e16('0xa6'));break;case _0x2e16('0x47'):_0x547657[_0x2e16('0x4')]?(this[_0x2e16('0x159')](new Set([_0x547657])),this[_0x2e16('0x11c')](new Set([_0x547657])),this[_0x2e16('0x144')][_0x2e16('0x83')](_0x547657,'ready'),this['fire'](_0x2e16('0x12f'),_0x547657)):this['_suggestionState'][_0x2e16('0x83')](_0x547657,_0x2e16('0x11d'));}return _0x547657;}[_0x2e16('0x15f')](_0x531e57){this[_0x2e16('0x13f')](()=>{this[_0x2e16('0x15c')][_0x2e16('0x81')][_0x2e16('0x145')](()=>{for(const _0x4a38f4 of _0x531e57[_0x2e16('0x112')]())_0x4a38f4[_0x2e16('0x72')]();});});}['discardSuggestion'](_0x1158b8){this[_0x2e16('0x13f')](()=>{this[_0x2e16('0x15c')][_0x2e16('0x81')][_0x2e16('0x145')](()=>{for(const _0x2675e0 of _0x1158b8[_0x2e16('0x112')]())_0x2675e0['discard']();});});}[_0x2e16('0xfd')](_0x26c506,_0x731f69){const _0xb4069a=this[_0x2e16('0x15c')][_0x2e16('0x109')]['get'](_0x26c506);if(!_0xb4069a)throw new _0x593f4f(_0x2e16('0x11b'),this,{'commandName':_0x26c506});if(this[_0x2e16('0xb3')][_0x2e16('0x157')](_0xb4069a))throw new _0x593f4f(_0x2e16('0x155'),this,{'commandName':_0x26c506});this[_0x2e16('0xb3')][_0x2e16('0x118')](_0xb4069a),_0x731f69&&_0xb4069a['on'](_0x2e16('0x15a'),(_0x1b710d,_0x1f02a6)=>{this[_0x2e16('0xff')][_0x2e16('0x80')]&&(this[_0x2e16('0x137')]||(_0x1f02a6[_0x2e16('0x88')]>0x0&&_0x1f02a6[_0x1f02a6[_0x2e16('0x88')]-0x1]&&_0x1f02a6[_0x1f02a6[_0x2e16('0x88')]-0x1]['forceDefaultExecution']?_0x1f02a6[_0x2e16('0x64')]():(_0x1b710d[_0x2e16('0x115')]=_0x731f69((..._0x256c08)=>_0xb4069a[_0x2e16('0x15a')](..._0x256c08,{'forceDefaultExecution':!0x0}),..._0x1f02a6),_0x1b710d[_0x2e16('0x129')]())));},{'priority':_0x2e16('0x76')});}[_0x2e16('0x13f')](_0x82cdf){let _0xa5ee6d,_0x4373b0;const _0x1acb75=this['_isForcedDefaultExecutionBlock'];this[_0x2e16('0x137')]=!0x0;try{_0xa5ee6d=_0x82cdf();}catch(_0x495772){_0x4373b0=_0x495772;}return _0x1acb75||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x4373b0&&_0x593f4f[_0x2e16('0xd9')](_0x4373b0,this),_0xa5ee6d;}[_0x2e16('0xd3')](_0x20469a,_0x46fa8b=null,_0x28e6f7={}){if(_0x20469a[_0x2e16('0x11f')])return null;const _0x195da2=this[_0x2e16('0x15c')]['plugins']['get']('Users')['me'];for(const {suggestion:_0x472839,meta:_0x183f34}of this[_0x2e16('0x69')](_0x20469a,_0x2e16('0x29')))if(_0x183f34['isOwn']){if(!_0x183f34[_0x2e16('0xd1')]){if(_0x183f34['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!Pt(_0x472839,_0x28e6f7))continue;return _0x472839;}if(Pt(_0x472839,_0x28e6f7))return _0x472839;this[_0x2e16('0xc9')](_0x472839,_0x20469a[_0x2e16('0x89')],_0x20469a['end']);break;}if(_0x46fa8b==_0x472839[_0x2e16('0xbd')]&&Pt(_0x472839,_0x28e6f7)){const _0x47f2b4=_0x472839['getFirstRange']();return _0x47f2b4[_0x2e16('0x89')][_0x2e16('0x25')](_0x20469a[_0x2e16('0x4f')])?this[_0x2e16('0xc7')](_0x472839,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x20469a['start'],_0x47f2b4[_0x2e16('0x4f')])):this['_setSuggestionRange'](_0x472839,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x47f2b4['start'],_0x20469a[_0x2e16('0x4f')])),_0x472839;}}const _0x3e6e4e=_0x52cd56(),_0x50716c=_0x195da2['id'],_0x109133=_0x46fa8b?_0x2e16('0x8a')+_0x46fa8b:_0x2e16('0x29'),_0x5ee7eb=this['_setSuggestionData']({'id':_0x3e6e4e,'type':_0x109133,'createdAt':new Date(),'authorId':_0x50716c,'attributes':_0x28e6f7});return this[_0x2e16('0x67')](_0x109133,_0x3e6e4e,_0x50716c,_0x20469a),_0x5ee7eb;}[_0x2e16('0x120')](_0x57ed2b,_0x285cf5=_0x2e16('0xb9'),_0x24eba0={}){const _0x20233a=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0x152'))['me'],_0x4e9ae9=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x29'),_0x285cf5,_0x2e16('0x175'));for(const _0x1f3ab8 of this[_0x2e16('0x166')]())if(_0x1f3ab8[_0x2e16('0xe9')]['id']==_0x20233a['id']&&_0x2e16('0x29')==_0x1f3ab8['type']&&_0x1f3ab8[_0x2e16('0xbd')]==_0x285cf5&&Pt(_0x1f3ab8,_0x24eba0)&&(_0x4e9ae9(_0x1f3ab8[_0x2e16('0x48')](),_0x57ed2b)||_0x4e9ae9(_0x57ed2b,_0x1f3ab8[_0x2e16('0x48')]()))){for(const _0x5b6ea of _0x57ed2b)_0x1f3ab8['addRange'](_0x5b6ea);return _0x1f3ab8;}for(const {suggestion:_0x146ca8,meta:_0x4b5196}of this[_0x2e16('0x69')](_0x57ed2b,'insertion')){if(!_0x4b5196[_0x2e16('0x142')])continue;if(!this[_0x2e16('0x113')]&&_0x4b5196['containsRangeInObject'])continue;if(!Pt(_0x146ca8,_0x24eba0))continue;let _0x20b75d=!0x0;for(const _0x197123 of _0x146ca8[_0x2e16('0x48')]())for(const _0x4824de of _0x57ed2b)if(!_0x197123[_0x2e16('0x40')](_0x4824de)){_0x20b75d=!0x1;break;}if(_0x20b75d)return _0x146ca8;}const _0x2dbca9=_0x52cd56(),_0x5e74fc=_0x20233a['id'],_0x420ca3=_0x2e16('0x8a')+_0x285cf5,_0x361fa9=this[_0x2e16('0x11a')]({'id':_0x2dbca9,'type':_0x420ca3,'createdAt':new Date(),'authorId':_0x5e74fc,'attributes':_0x24eba0});for(const _0x3338e0 of _0x57ed2b)this[_0x2e16('0x67')](_0x420ca3,_0x2dbca9,_0x5e74fc,_0x3338e0,_0x4dd5c5[_0x2e16('0x8b')]());return _0x361fa9;}['markInlineFormat'](_0x1c7d8d,_0x1cdf29,_0xd7f676=null,_0x10b164={}){if(_0xd7f676=_0xd7f676||Et(_0x1cdf29),_0x1c7d8d[_0x2e16('0x11f')])return null;if('never'===this['_trackFormatChanges']){const _0x557254=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x132'),_0xd7f676,_0x2e16('0x72'));return this[_0x2e16('0x13f')](()=>_0x557254([_0x1c7d8d],_0x1cdf29,_0x10b164)),null;}const _0x46cc3e=this['editor'][_0x2e16('0x85')]['get'](_0x2e16('0x152'))['me'],_0x28e567=[];if('always'!==this[_0x2e16('0xd0')])for(const {suggestion:_0x12c8a2,meta:_0x13ca0b}of this[_0x2e16('0x69')](_0x1c7d8d,_0x2e16('0x29')))_0x13ca0b['isOwn']&&!_0x13ca0b[_0x2e16('0x16e')]&&_0x28e567[_0x2e16('0x9f')](..._0x12c8a2['getRanges']());const _0x54d214=function(_0x3b7db1,_0x319e93){const _0x5ca997=[];for(const _0x44e112 of _0x319e93){const _0x2656d7=_0x3b7db1[_0x2e16('0x34')](_0x44e112);_0x2656d7&&_0x5ca997['push'](_0x2656d7);}return _0x5ca997;}(_0x1c7d8d,_0x28e567),_0x4f2ff9=function(_0x3cebe7,_0x50e45f){const _0x46b7fb=[_0x3cebe7];for(const _0xa1399b of _0x50e45f){let _0x3b7c21=0x0;for(;_0x3b7c21<_0x46b7fb[_0x2e16('0x88')];){const _0x757deb=_0x46b7fb[_0x3b7c21][_0x2e16('0x6c')](_0xa1399b);_0x46b7fb[_0x2e16('0xdf')](_0x3b7c21,0x1,..._0x757deb),_0x3b7c21+=_0x757deb[_0x2e16('0x88')];}}return _0x46b7fb;}(_0x1c7d8d,_0x28e567);_0x54d214['length']&&this[_0x2e16('0xac')][_0x2e16('0x145')](()=>{for(const _0x5ad9da of _0x54d214){const _0x5aceee=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x132'),_0xd7f676,_0x2e16('0x72'));this[_0x2e16('0x13f')](()=>_0x5aceee([_0x5ad9da],_0x1cdf29,_0x10b164));}});for(const _0x5e9d11 of _0x4f2ff9){let _0x14bceb=null,_0x4318a3=_0x5e9d11[_0x2e16('0x89')],_0x532d08=_0x5e9d11[_0x2e16('0x4f')];for(const {suggestion:_0x91a25b,meta:_0x5bd474}of this[_0x2e16('0x69')](_0x5e9d11,'formatInline')){if(!_0x5bd474[_0x2e16('0x142')])continue;if(_0x91a25b[_0x2e16('0xbd')]!=_0xd7f676)continue;if(!Pt(_0x91a25b,_0x10b164))continue;const _0x2c7a48=_0x91a25b[_0x2e16('0x87')]();if(_0x2c7a48[_0x2e16('0x40')](_0x5e9d11,!0x0))return null;_0x4318a3=_0x4318a3[_0x2e16('0x8')](_0x2c7a48[_0x2e16('0x89')])?_0x4318a3:_0x2c7a48[_0x2e16('0x89')],_0x532d08=_0x532d08[_0x2e16('0x123')](_0x2c7a48[_0x2e16('0x4f')])?_0x532d08:_0x2c7a48[_0x2e16('0x4f')],_0x14bceb?_0x2c7a48[_0x2e16('0x89')][_0x2e16('0x8')](_0x14bceb[_0x2e16('0x87')]()[_0x2e16('0x89')])?(_0x14bceb[_0x2e16('0x102')](),_0x14bceb=_0x91a25b):_0x91a25b[_0x2e16('0x102')]():_0x14bceb=_0x91a25b;}const _0x168882=this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4318a3,_0x532d08);if(_0x14bceb)this['_setSuggestionRange'](_0x14bceb,_0x168882);else{const _0x6e57ad=_0x52cd56(),_0x179e3b=_0x46cc3e['id'];this[_0x2e16('0x11a')]({'id':_0x6e57ad,'type':_0x2e16('0xf8')+_0xd7f676,'data':_0x1cdf29,'createdAt':new Date(),'authorId':_0x179e3b,'attributes':_0x10b164}),this[_0x2e16('0x67')](_0x2e16('0xf8')+_0xd7f676,_0x6e57ad,_0x179e3b,_0x168882);}}return null;}[_0x2e16('0x1d')](_0x3d738d,_0x1c8599,_0x1dfc0c=[],_0x1ed1d1=null,_0xf810bc={}){_0x1c8599[_0x2e16('0x177')]||(_0x1c8599[_0x2e16('0x177')]=_0x1c8599[_0x2e16('0x15')]),_0x1c8599['multipleBlocks']=_0x3d738d['is'](_0x2e16('0x11e')),_0x1ed1d1=_0x1ed1d1||Et(_0x1c8599);const _0x3ca968=_0x1dfc0c[_0x2e16('0xb6')](_0x1c96fc=>Ot(_0x1c96fc,this[_0x2e16('0xac')])),_0x1f5617=_0x3d738d['is']('range')?_0x3d738d:Ot(_0x3d738d,this[_0x2e16('0xac')]);if(_0x2e16('0xe4')===this[_0x2e16('0xd0')]){const _0x4ab78e=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x41'),_0x1ed1d1,_0x2e16('0x72'));return this[_0x2e16('0x13f')](()=>_0x4ab78e([_0x1f5617],_0x1c8599,_0xf810bc)),null;}_0x3ca968[_0x2e16('0x9f')](_0x1f5617);let _0x2956ea=!0x0;for(const _0x2b9ee6 of _0x3ca968)if(!this[_0x2e16('0x168')](_0x2b9ee6)){_0x2956ea=!0x1;break;}if(_0x2956ea&&_0x2e16('0x62')!==this[_0x2e16('0xd0')]){const _0x3eb295=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x41'),_0x1ed1d1,_0x2e16('0x72'));return this[_0x2e16('0x13f')](()=>_0x3eb295([_0x1f5617],_0x1c8599,_0xf810bc)),null;}let _0x3df381=null,_0x4de55d=_0x1f5617[_0x2e16('0x89')],_0x48fa72=_0x1f5617['end'];for(const {suggestion:_0x2669a5,meta:_0x3a4831}of this[_0x2e16('0x69')](_0x1f5617,_0x2e16('0x41'))){if(!_0x3a4831['isOwn'])continue;if(_0x3a4831['isNextTo']||_0x3a4831[_0x2e16('0x10b')]||_0x3a4831['isInsideObject'])continue;if(_0x2669a5['data'][_0x2e16('0x177')]!=_0x1c8599[_0x2e16('0x177')])continue;if(!Pt(_0x2669a5,_0xf810bc))continue;const _0x3a4632=_0x2669a5[_0x2e16('0x87')]();if(_0x2669a5['subType']==_0x1ed1d1){if(_0x3a4632['containsRange'](_0x1f5617,!0x0))return null;_0x4de55d=_0x4de55d[_0x2e16('0x8')](_0x3a4632[_0x2e16('0x89')])?_0x4de55d:_0x3a4632[_0x2e16('0x89')],_0x48fa72=_0x48fa72[_0x2e16('0x123')](_0x3a4632[_0x2e16('0x4f')])?_0x48fa72:_0x3a4632['end'],_0x3df381?_0x3a4632[_0x2e16('0x89')][_0x2e16('0x8')](_0x3df381['getFirstRange']()[_0x2e16('0x89')])?(_0x3df381[_0x2e16('0x102')](),_0x3df381=_0x2669a5):_0x2669a5[_0x2e16('0x102')]():_0x3df381=_0x2669a5;}else{const _0x2c24dc=_0x1f5617[_0x2e16('0x34')](_0x3a4632);this[_0x2e16('0xd5')](_0x2669a5,_0x2c24dc);}}const _0x407a1a=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0x152'))['me'],_0x1b6c87=_0x52cd56(),_0x48a27d=_0x407a1a['id'];if(_0x3df381)return this['_setSuggestionRange'](_0x3df381,this['_model'][_0x2e16('0xc8')](_0x4de55d,_0x48fa72)),_0x3df381;{const _0x5b81d5=this[_0x2e16('0x11a')]({'id':_0x1b6c87,'type':_0x2e16('0x5a')+_0x1ed1d1,'data':_0x1c8599,'createdAt':new Date(),'authorId':_0x48a27d,'attributes':_0xf810bc});return this[_0x2e16('0x67')]('formatBlock:'+_0x1ed1d1,_0x1b6c87,_0x48a27d,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4de55d,_0x48fa72)),_0x5b81d5;}}['markMultiRangeBlockFormat'](_0x5034a0,_0x103ab0,_0x5e37c4=[],_0x1282b2=null,_0xd80eba={}){_0x103ab0['formatGroupId']||(_0x103ab0['formatGroupId']=_0x103ab0['commandName']);const _0x2feac4=_0x5034a0[0x0];_0x103ab0[_0x2e16('0x93')]=_0x2feac4['is'](_0x2e16('0x11e')),_0x1282b2=_0x1282b2||Et(_0x103ab0);const _0x100145=_0x5e37c4[_0x2e16('0xb6')](_0x227fea=>Ot(_0x227fea,this['_model'])),_0x1cc153=_0x2feac4['is'](_0x2e16('0x11e'))?_0x5034a0:_0x5034a0[_0x2e16('0xb6')](_0x3a7876=>Ot(_0x3a7876,this[_0x2e16('0xac')]));if('never'===this['_trackFormatChanges']){const _0x9e2be4=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x41'),_0x1282b2,'accept');return this['forceDefaultExecution'](()=>_0x9e2be4(_0x1cc153,_0x103ab0,_0xd80eba)),null;}_0x100145[_0x2e16('0x9f')](..._0x1cc153);let _0xe37ed1=!0x0;for(const _0x159574 of _0x100145)if(!this[_0x2e16('0x168')](_0x159574)){_0xe37ed1=!0x1;break;}if(_0xe37ed1&&_0x2e16('0x62')!==this[_0x2e16('0xd0')]){const _0x43afa0=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x41'),_0x1282b2,_0x2e16('0x72'));return this['forceDefaultExecution'](()=>_0x43afa0(_0x1cc153,_0x103ab0,_0xd80eba)),null;}const _0x5ee98e=this[_0x2e16('0x15c')]['plugins'][_0x2e16('0x28')](_0x2e16('0x152'))['me'];for(const _0x4e3402 of this['getSuggestions']()){if(_0x4e3402['author']['id']!=_0x5ee98e['id'])continue;if(_0x2e16('0x41')!=_0x4e3402[_0x2e16('0xd8')]||_0x4e3402[_0x2e16('0x26')][_0x2e16('0x177')]!=_0x103ab0['formatGroupId'])continue;if(!Pt(_0x4e3402,_0xd80eba))continue;const _0x35f6cf=_0x4e3402['subType']==_0x1282b2;for(let _0x1fc66d=0x0;_0x1fc66d<_0x1cc153[_0x2e16('0x88')];_0x1fc66d++){const _0x14c128=_0x1cc153[_0x1fc66d];for(const _0x13c0ca of _0x4e3402[_0x2e16('0x94')]()){const _0x5f4dfa=_0x13c0ca[_0x2e16('0x68')]();if(_0x14c128['isEqual'](_0x5f4dfa)){_0x35f6cf?(_0x1cc153[_0x2e16('0xdf')](_0x1fc66d,0x1),_0x1fc66d--):_0x4e3402[_0x2e16('0x176')](_0x13c0ca['name']);break;}}}}if(0x0==_0x1cc153[_0x2e16('0x88')])return null;const _0x25227b=this['_suggestionFactory'][_0x2e16('0x156')](_0x2e16('0x41'),_0x1282b2,_0x2e16('0x175'));for(const _0x1fad0d of this[_0x2e16('0x166')]())if(_0x1fad0d[_0x2e16('0xe9')]['id']==_0x5ee98e['id']&&_0x2e16('0x41')==_0x1fad0d['type']&&_0x1fad0d[_0x2e16('0x26')][_0x2e16('0x177')]==_0x103ab0['formatGroupId']&&_0x1fad0d[_0x2e16('0xbd')]==_0x1282b2&&Pt(_0x1fad0d,_0xd80eba)&&(_0x25227b(_0x1fad0d[_0x2e16('0x48')](),_0x1cc153)||_0x25227b(_0x1cc153,_0x1fad0d[_0x2e16('0x48')]()))){for(const _0x3934ed of _0x1cc153)_0x1fad0d[_0x2e16('0x103')](_0x3934ed);return _0x1fad0d;}const _0x351569=_0x52cd56(),_0x1a08f7=_0x5ee98e['id'],_0x20005a=_0x2e16('0x5a')+_0x1282b2,_0x46ba39=this[_0x2e16('0x11a')]({'id':_0x351569,'type':_0x20005a,'data':_0x103ab0,'createdAt':new Date(),'authorId':_0x1a08f7,'attributes':_0xd80eba});for(const _0x3d8222 of _0x1cc153)this[_0x2e16('0x67')](_0x20005a,_0x351569,_0x1a08f7,_0x3d8222,_0x4dd5c5[_0x2e16('0x8b')]());return _0x46ba39;}['markDeletion'](_0x360a2f,_0x17b2e8=null,_0x580426={}){if(_0x360a2f[_0x2e16('0x11f')])return null;const _0x1fb039=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')]('Users')['me'],_0x2cf112=new _0x16310d(_0x360a2f[_0x2e16('0x89')],_0x360a2f[_0x2e16('0x4f')]);for(const {suggestion:_0x25fb37,meta:_0x424a90}of this['_findSuggestions'](_0x2cf112,_0x2e16('0x29')))if(_0x424a90['isOwn']&&!_0x424a90['isNextTo']){if(_0x25fb37[_0x2e16('0xb')]){const _0xea7f42=_0x25fb37[_0x2e16('0x48')]()['filter'](_0x18dba3=>_0x2e16('0x17')!=_0x18dba3['root'][_0x2e16('0x150')]);_0xea7f42['every'](_0x4642a8=>_0x2cf112['containsRange'](_0x4642a8,!0x0))&&_0x25fb37[_0x2e16('0xeb')]();if(_0xea7f42[_0x2e16('0x2d')](_0x4de8dc=>_0x4de8dc[_0x2e16('0x40')](_0x2cf112,!0x0))){const _0x44034e=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x9c'),_0x17b2e8,_0x2e16('0x72'));return this[_0x2e16('0x13f')](()=>_0x44034e([_0x2cf112],null,_0x580426)),null;}}else{const _0xe8ea75=_0x2cf112[_0x2e16('0x34')](_0x25fb37[_0x2e16('0x87')]());null!==_0xe8ea75&&_0x25fb37['_onDiscard']([_0xe8ea75],null,_0x580426);}}if(_0x2cf112['detach'](),_0x2cf112[_0x2e16('0x11f')]||_0x2e16('0x17')==_0x2cf112[_0x2e16('0xfb')][_0x2e16('0x150')])return null;let _0x1d97c3=null,_0x4f688c=_0x2cf112[_0x2e16('0x89')],_0x382eab=_0x2cf112[_0x2e16('0x4f')];const _0x208f5d=this[_0x2e16('0x69')](_0x2cf112,'deletion');for(const {suggestion:_0x4dd66d,meta:_0x52b7d0}of _0x208f5d){const _0x40b645=this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4f688c,_0x382eab);if(_0x52b7d0['isOwn']&&(this[_0x2e16('0x113')]||!_0x52b7d0[_0x2e16('0x10b')]&&!_0x52b7d0[_0x2e16('0x16e')])){if(_0x4dd66d[_0x2e16('0xb')]){if(!Pt(_0x4dd66d,_0x580426))continue;let _0x206bee=!0x0;for(const _0x560868 of _0x4dd66d['getRanges']()){if(_0x560868[_0x2e16('0x40')](_0x40b645,!0x0))return _0x4dd66d;_0x40b645[_0x2e16('0x40')](_0x560868)||(_0x206bee=!0x1);}_0x206bee&&_0x4dd66d[_0x2e16('0xeb')]();}else{const _0x5f1b9d=_0x4dd66d[_0x2e16('0x87')]();if(_0x5f1b9d['containsRange'](_0x40b645,!0x0))return _0x4dd66d;if(!Pt(_0x4dd66d,_0x580426)){_0x40b645[_0x2e16('0x40')](_0x5f1b9d)?_0x4dd66d[_0x2e16('0x102')]():_0x5f1b9d[_0x2e16('0xd6')](_0x4f688c)?_0x4f688c=_0x5f1b9d[_0x2e16('0x4f')]:_0x5f1b9d[_0x2e16('0xd6')](_0x382eab)&&(_0x382eab=_0x5f1b9d[_0x2e16('0x89')]);continue;}_0x4f688c=_0x4f688c[_0x2e16('0x8')](_0x5f1b9d[_0x2e16('0x89')])?_0x4f688c:_0x5f1b9d[_0x2e16('0x89')],_0x382eab=_0x382eab[_0x2e16('0x123')](_0x5f1b9d[_0x2e16('0x4f')])?_0x382eab:_0x5f1b9d[_0x2e16('0x4f')],_0x580426=Object['assign']({},_0x4dd66d[_0x2e16('0x13c')]),_0x1d97c3?_0x5f1b9d[_0x2e16('0x89')][_0x2e16('0x8')](_0x1d97c3['getFirstRange']()[_0x2e16('0x89')])?(_0x1d97c3[_0x2e16('0x102')](),_0x1d97c3=_0x4dd66d):_0x4dd66d[_0x2e16('0x102')]():_0x1d97c3=_0x4dd66d;}}}if(_0x1d97c3)return this['_setSuggestionRange'](_0x1d97c3,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4f688c,_0x382eab)),_0x1d97c3;{const _0x1ebfbd=_0x52cd56(),_0x35e995=this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4f688c,_0x382eab),_0x1bc085=_0x1fb039['id'],_0x207d21=_0x17b2e8?_0x2e16('0x22')+_0x17b2e8:_0x2e16('0x9c'),_0x39e749=this['_setSuggestionData']({'id':_0x1ebfbd,'type':_0x207d21,'createdAt':new Date(),'authorId':_0x1bc085,'attributes':_0x580426});return this[_0x2e16('0x67')](_0x207d21,_0x1ebfbd,_0x1bc085,_0x35e995),_0x39e749;}}[_0x2e16('0x4d')](_0x43c442,_0x2528ec=_0x2e16('0xb9'),_0x5ceb39={}){const _0x5fff5d=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0x152'))['me'],_0x28a903=_0x43c442['map'](_0x2ccb39=>new _0x16310d(_0x2ccb39[_0x2e16('0x89')],_0x2ccb39[_0x2e16('0x4f')])),_0x48e0df=new Set();for(const {suggestion:_0x3272ab,meta:_0x33cf96}of this[_0x2e16('0x69')](_0x28a903,_0x2e16('0x29')))_0x33cf96[_0x2e16('0x142')]&&!_0x33cf96[_0x2e16('0xd1')]&&_0x48e0df['add'](_0x3272ab);for(const _0x354a02 of _0x48e0df)if(_0x354a02[_0x2e16('0xb')]){const _0x429aef=_0x354a02[_0x2e16('0x48')]();(!_0x354a02['attributes']||!_0x354a02[_0x2e16('0x13c')][_0x2e16('0xe1')])&&(_0x429aef[_0x2e16('0x146')](_0x266788=>_0x28a903['some'](_0x364a19=>_0x364a19[_0x2e16('0x40')](_0x266788,!0x0)))&&_0x354a02['discard']());if(_0x28a903[_0x2e16('0x146')](_0x2d2f0f=>_0x429aef[_0x2e16('0x2d')](_0x579daf=>_0x579daf[_0x2e16('0x40')](_0x2d2f0f,!0x0)))){const _0x2c9a60=this[_0x2e16('0xa1')][_0x2e16('0x156')]('deletion',_0x2528ec,'accept');return this[_0x2e16('0x13f')](()=>_0x2c9a60(_0x43c442,null,_0x5ceb39)),null;}}else{const _0x5cffa9=_0x354a02[_0x2e16('0x87')]();_0x28a903[_0x2e16('0x2d')](_0x1fb372=>_0x1fb372[_0x2e16('0x40')](_0x5cffa9,!0x0))&&_0x354a02[_0x2e16('0xeb')]();if(_0x28a903[_0x2e16('0x146')](_0x641182=>_0x5cffa9[_0x2e16('0x40')](_0x641182,!0x0))){const _0x4a6667=this[_0x2e16('0xa1')]['getSuggestionCallback'](_0x2e16('0x9c'),_0x2528ec,_0x2e16('0x72'));return this['forceDefaultExecution'](()=>_0x4a6667(_0x28a903,null,_0x5ceb39)),null;}}const _0xb8e968=this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x2e16('0x9c'),_0x2528ec,_0x2e16('0x175'));let _0xb25848=null;for(const _0x1ecac2 of this[_0x2e16('0x166')]())if(_0x1ecac2[_0x2e16('0xe9')]['id']==_0x5fff5d['id']&&_0x1ecac2[_0x2e16('0x4')]&&_0x2e16('0x9c')==_0x1ecac2['type']&&_0x1ecac2['subType']==_0x2528ec&&Pt(_0x1ecac2,_0x5ceb39)&&(_0xb8e968(_0x1ecac2[_0x2e16('0x48')](),_0x28a903)||_0xb8e968(_0x28a903,_0x1ecac2[_0x2e16('0x48')]()))){if(_0xb25848){if(_0x1ecac2['commentThread']&&_0x1ecac2['commentThread'][_0x2e16('0x88')])continue;for(const _0x4dcf91 of _0x1ecac2[_0x2e16('0x48')]())_0xb25848[_0x2e16('0x73')](_0x4dcf91)||_0xb25848[_0x2e16('0x103')](_0x4dcf91);_0x1ecac2[_0x2e16('0x102')]();}else{_0xb25848=_0x1ecac2;for(const _0x318ff5 of _0x28a903)_0x1ecac2[_0x2e16('0x73')](_0x318ff5)||_0x1ecac2['addRange'](_0x318ff5);}}if(_0xb25848)return _0xb25848;_0x48e0df[_0x2e16('0x51')]();for(const {suggestion:_0x330921,meta:_0x5c4650}of this['_findSuggestions'](_0x28a903,'deletion'))_0x5c4650[_0x2e16('0x142')]&&(this[_0x2e16('0x113')]||!_0x5c4650[_0x2e16('0x10b')]&&!_0x5c4650[_0x2e16('0x16e')])&&Pt(_0x330921,_0x5ceb39)&&_0x48e0df[_0x2e16('0x118')](_0x330921);for(const _0x34252d of _0x48e0df){const _0x424bf9=_0x34252d[_0x2e16('0x48')]();if(!_0x5ceb39||!_0x5ceb39[_0x2e16('0xe1')]){if(_0x28a903[_0x2e16('0x146')](_0x319d8a=>_0x424bf9[_0x2e16('0x2d')](_0x206538=>_0x206538['containsRange'](_0x319d8a,!0x0))))return _0x34252d;}(!_0x34252d['attributes']||!_0x34252d[_0x2e16('0x13c')][_0x2e16('0xe1')])&&(_0x424bf9[_0x2e16('0x146')](_0x34c951=>_0x28a903[_0x2e16('0x2d')](_0x287b24=>_0x287b24[_0x2e16('0x40')](_0x34c951,!0x0)))&&_0x34252d[_0x2e16('0xeb')]());}const _0x817db5=_0x52cd56(),_0x5f5ad0=_0x5fff5d['id'],_0x2860ad=_0x2e16('0x22')+_0x2528ec,_0x104ba3=this[_0x2e16('0x11a')]({'id':_0x817db5,'type':_0x2860ad,'createdAt':new Date(),'authorId':_0x5f5ad0,'attributes':_0x5ceb39});for(const _0x43741e of _0x28a903)_0x43741e[_0x2e16('0x71')](),_0x43741e[_0x2e16('0x11f')]||'$graveyard'==_0x43741e['root'][_0x2e16('0x150')]||this[_0x2e16('0x67')](_0x2860ad,_0x817db5,_0x5f5ad0,_0x43741e,_0x4dd5c5[_0x2e16('0x8b')]());return _0x104ba3;}[_0x2e16('0x106')](_0x3bcb5b,_0x28d5bc,_0x3e8ed9,_0x2f7841,_0xa00a47){if(_0x3bcb5b[_0x2e16('0x11f')])return[];if(_0x2e16('0xe4')===this[_0x2e16('0xd0')])return[];const _0x37715d=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')]('Users')['me']['id'],_0x5b37cd=Array[_0x2e16('0x154')](this[_0x2e16('0x8c')]['values']())['filter'](_0x423e27=>_0x2e16('0x19')==_0x423e27[_0x2e16('0xd8')]&&_0x423e27[_0x2e16('0x26')][_0x2e16('0x1c')]==_0x28d5bc&&_0x423e27[_0x2e16('0x73')](_0x3bcb5b));if(_0x2e16('0x57')===this[_0x2e16('0xd0')]){const _0x55ec6e=this[_0x2e16('0x69')](_0x3bcb5b,_0x2e16('0x29'))[_0x2e16('0xee')](({meta:_0x13dfec})=>_0x13dfec[_0x2e16('0x142')]&&!_0x13dfec[_0x2e16('0x16e')]&&!_0x13dfec['isNextTo'])['map'](({suggestion:_0x18747b})=>_0x18747b);_0x5b37cd[_0x2e16('0x141')](..._0x55ec6e);}const _0x101a35=new Map([[_0x3bcb5b,_0x3e8ed9]]);for(const _0x979495 of _0x5b37cd){const _0x1b2055='attribute'==_0x979495[_0x2e16('0xd8')]?_0x979495['data']['oldValue']:void 0x0,_0x108169=_0x979495[_0x2e16('0x87')](),_0x4ff22b=Array[_0x2e16('0x154')](_0x101a35['keys']())[_0x2e16('0x32')](_0x26d528=>_0x26d528[_0x2e16('0x3c')](_0x108169));if(!_0x4ff22b)continue;const _0x14237f=_0x4ff22b[_0x2e16('0x6c')](_0x108169);this[_0x2e16('0x174')](_0x28d5bc)&&_0x2e16('0x29')==_0x979495['type']&&0x0!=_0x14237f[_0x2e16('0x88')]||(_0x101a35[_0x2e16('0x92')](_0x4ff22b),_0x14237f[_0x2e16('0x11')](_0x3704d7=>{_0x101a35[_0x2e16('0x83')](_0x3704d7,_0x3e8ed9);}),_0x2e16('0x29')!=_0x979495[_0x2e16('0xd8')]&&_0x1b2055!=_0x2f7841&&_0x101a35[_0x2e16('0x83')](_0x4ff22b[_0x2e16('0x34')](_0x108169),_0x1b2055));}const _0x36e3bc=[];for(const [_0x2540f2,_0x18588b]of _0x101a35){const _0xa84fe=_0x52cd56(),_0xe92589={'key':_0x28d5bc,'oldValue':_0x18588b,'newValue':_0x2f7841};_0x28d5bc[_0x2e16('0x88')]>0x25&&console[_0x2e16('0xc3')](_0x2e16('0x15e'),{'key':_0x28d5bc});const _0x5d1142=(_0x2e16('0x10f')+(_0x28d5bc+'|'+Et({'newValue':_0x2f7841})))[_0x2e16('0x7b')](0x0,0x3c),_0x3b79f9=this[_0x2e16('0x11a')]({'id':_0xa84fe,'type':_0x5d1142,'data':_0xe92589,'createdAt':new Date(),'authorId':_0x37715d,'attributes':_0xa00a47});_0x36e3bc[_0x2e16('0x9f')](_0x3b79f9),this[_0x2e16('0x67')](_0x5d1142,_0xa84fe,_0x37715d,_0x2540f2);}return _0x36e3bc;}['_registerBlockAttribute'](_0x4865d0){this['_blockAttributeKeys'][_0x2e16('0x118')](_0x4865d0);}['_registerInlineAttribute'](_0x559d45){this[_0x2e16('0x5d')][_0x2e16('0x118')](_0x559d45);}['_enableDefaultAttributesIntegration'](_0x4fd2cd,_0x1646be=[],_0x49c65e=[]){this['enableCommand'](_0x4fd2cd,(_0x2f2272,..._0x1ef4a1)=>{this[_0x2e16('0xc6')](()=>{_0x2f2272(..._0x1ef4a1);});});for(const _0x463ee3 of _0x1646be)this[_0x2e16('0xa7')](_0x463ee3);for(const _0x36852b of _0x49c65e)this[_0x2e16('0x79')](_0x36852b);}['_getAttributeKey'](_0x234b0a){return _0x2e16('0x19')==_0x234b0a[_0x2e16('0xd8')]?_0x234b0a[_0x2e16('0xbd')][_0x2e16('0x49')]('|')[0x0]:null;}[_0x2e16('0xc7')](_0xb468d2,_0x2336a0){const _0x3446ae=_0xb468d2[_0x2e16('0x63')]();this[_0x2e16('0xac')]['change'](_0x114166=>{_0x114166['updateMarker'](_0x3446ae,{'range':_0x2336a0});});}[_0x2e16('0x114')](_0x3514f5){const _0x25f704=_0x3514f5['id'],_0x4ebb26=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x25f704)||this[_0x2e16('0xed')][_0x2e16('0xf5')]({'channelId':_0x4ebb26,'threadId':_0x25f704,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x41ed8e=this[_0x2e16('0xed')][_0x2e16('0x45')](_0x25f704);_0x41ed8e[_0x2e16('0x15d')]('isRemovable'),_0x41ed8e[_0x2e16('0x58')]=!0x1,_0x3514f5['commentThread']=_0x41ed8e;}['_checkSuggestionCorrectness'](_0x3affdf,_0x501266,_0x142e68,_0x173c3c){if(_0x3affdf[_0x2e16('0xd8')]!=_0x501266||_0x3affdf['subType']!=_0x142e68||_0x3affdf[_0x2e16('0xa9')]['id']!=_0x173c3c)throw this[_0x2e16('0x15c')][_0x2e16('0x7')](_0x2e16('0xea')),new _0x593f4f(_0x2e16('0xea'),this);}[_0x2e16('0xd5')](_0x57f0c3,_0x226808){const _0x5039bb=_0x57f0c3['getFirstRange']();if(_0x226808[_0x2e16('0x25')](_0x5039bb))_0x57f0c3[_0x2e16('0x102')]();else{if(_0x5039bb[_0x2e16('0x40')](_0x226808)){const _0xc4e609=this[_0x2e16('0xac')][_0x2e16('0x5e')](_0x226808[_0x2e16('0x89')][_0x2e16('0x77')],_0x2e16('0x4f'));this['_setSuggestionRange'](_0x57f0c3,this[_0x2e16('0xac')]['createRange'](_0x5039bb[_0x2e16('0x89')],_0xc4e609));const _0x901b74=_0x52cd56(),_0x2ec3e4=_0x57f0c3[_0x2e16('0xa9')]['id'],_0x4e4337=_0x57f0c3[_0x2e16('0xd8')]+':'+_0x57f0c3[_0x2e16('0xbd')];this[_0x2e16('0x11a')]({'id':_0x901b74,'type':_0x4e4337,'createdAt':new Date(),'authorId':_0x2ec3e4,'data':_0x57f0c3[_0x2e16('0x26')],'attributes':_0x57f0c3[_0x2e16('0x13c')]});const _0x142980=this[_0x2e16('0xac')][_0x2e16('0x5e')](_0x226808['end'][_0x2e16('0x14f')],_0x2e16('0x13a')),_0x7656e5=this['_model']['createRange'](_0x142980,_0x5039bb['end']);this[_0x2e16('0x67')](_0x4e4337,_0x901b74,_0x2ec3e4,_0x7656e5);}else{if(_0x5039bb[_0x2e16('0xd6')](_0x226808[_0x2e16('0x89')])){const _0x4d12e0=this[_0x2e16('0xac')][_0x2e16('0x5e')](_0x226808['start'][_0x2e16('0x77')],_0x2e16('0x4f'));this[_0x2e16('0xc7')](_0x57f0c3,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x5039bb[_0x2e16('0x89')],_0x4d12e0));}else{const _0xee3025=this['_model'][_0x2e16('0x5e')](_0x226808[_0x2e16('0x4f')][_0x2e16('0x14f')],_0x2e16('0x13a'));this['_setSuggestionRange'](_0x57f0c3,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0xee3025,_0x5039bb[_0x2e16('0x4f')]));}}}}['_rangeIsInLocalUserInsertion'](_0x31f4ec){for(const {suggestion:_0x4d1883,meta:_0x3c54e2}of this[_0x2e16('0x69')](_0x31f4ec,'insertion')){if(!_0x3c54e2[_0x2e16('0x142')])continue;const _0x7ea30=_0x4d1883[_0x2e16('0x48')]();for(const _0x13b7ef of _0x7ea30)if(!_0x31f4ec[_0x2e16('0x6c')](_0x13b7ef)[_0x2e16('0x88')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x566110){const _0x32ba77=this[_0x2e16('0x15c')][_0x2e16('0x85')]['get'](_0x2e16('0x152'))[_0x2e16('0x162')](_0x566110);if(!_0x32ba77)throw new _0x593f4f('track-changes-user-not-found',this);return _0x32ba77;}[_0x2e16('0xcc')](_0x248ca6){const _0x578e7b=this[_0x2e16('0x15c')]['plugins'][_0x2e16('0x28')](_0x2e16('0x152')),_0x4fcc2f=_0x23e49c(_0x2e16('0xf')+_0x248ca6),_0x310a93=_0x578e7b['getUser'](_0x4fcc2f);return _0x310a93||_0x578e7b[_0x2e16('0x14c')]({'id':_0x4fcc2f,'name':_0x248ca6});}[_0x2e16('0x108')](_0x42ea9f,_0x3bd9ae,_0x495a19,_0x4f5986,_0x597a37){const _0x588bdf=this['_getAuthorFromId'](_0x4f5986),_0x1707a9=this[_0x2e16('0xa1')][_0x2e16('0xe6')](_0x42ea9f,_0x3bd9ae,_0x495a19,_0x588bdf,_0x597a37,_0x2dea32=>{this[_0x2e16('0x12b')](_0x495a19,{'attributes':_0x2dea32});const _0x2aa3b6=this['getSuggestion'](_0x495a19);this[_0x2e16('0x159')](new Set([_0x2aa3b6])),this[_0x2e16('0x11c')](new Set([_0x2aa3b6]));});return this[_0x2e16('0xa5')](_0x1707a9,_0x2e16('0x72'),()=>{this['_updateSuggestionData'](_0x495a19,{'state':'accepted'});},{'priority':'high'}),this[_0x2e16('0xa5')](_0x1707a9,_0x2e16('0xeb'),()=>{this[_0x2e16('0x12b')](_0x495a19,{'state':_0x2e16('0xdc')});},{'priority':_0x2e16('0x76')}),this[_0x2e16('0x8c')][_0x2e16('0x83')](_0x495a19,_0x1707a9),this[_0x2e16('0x144')]['set'](_0x1707a9,'notReady'),_0x1707a9;}[_0x2e16('0xda')](_0x1d19c8){const _0x2db270=_0x1d19c8[_0x2e16('0x49')](':');return{'group':_0x2db270[0x0],'type':_0x2db270[0x1],'subType':_0x2db270[_0x2e16('0x88')]>=0x5?_0x2db270[0x2]:null,'id':_0x2db270[_0x2e16('0x88')]<0x5?_0x2db270[0x2]:_0x2db270[0x3],'authorId':_0x2db270[_0x2e16('0x88')]<0x5?_0x2db270[0x3]:_0x2db270[0x4],'markerCount':0x6==_0x2db270['length']?_0x2db270[0x5]:null};}['_breakSuggestionMarker'](_0x28e868,_0x5886f3,_0x5ee648){const _0x35a002=_0x28e868[_0x2e16('0x87')](),_0x306d3b=_0x35a002[_0x2e16('0x89')],_0x439702=_0x35a002[_0x2e16('0x4f')];this[_0x2e16('0xc7')](_0x28e868,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x306d3b,_0x5886f3));const _0x254814=_0x52cd56(),_0x3d8015=_0x28e868[_0x2e16('0xa9')]['id'],_0x82613e=_0x28e868[_0x2e16('0xd8')]+(_0x28e868[_0x2e16('0xbd')]?':'+_0x28e868['subType']:'');this['_setSuggestionData']({'id':_0x254814,'type':_0x82613e,'createdAt':new Date(),'authorId':_0x3d8015,'originalSuggestionId':_0x28e868['id'],'attributes':_0x28e868[_0x2e16('0x13c')],'data':_0x28e868[_0x2e16('0x26')]});const _0x509343=this[_0x2e16('0x3')](_0x28e868);(_0x2e16('0x41')==_0x28e868[_0x2e16('0xd8')]||_0x509343&&this[_0x2e16('0x174')](_0x509343))&&(_0x5ee648=this['_model'][_0x2e16('0x7a')](_0x5ee648[_0x2e16('0x14f')])),this[_0x2e16('0x67')](_0x82613e,_0x254814,_0x3d8015,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x5ee648,_0x439702));}[_0x2e16('0x69')](_0x924e4c,_0x2a8a1e=null){const _0xdacd39=[],_0x45c35a=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0x152'))['me'];Array[_0x2e16('0xbc')](_0x924e4c)||(_0x924e4c=[_0x924e4c]);for(const _0x4521ea of this[_0x2e16('0x166')]()){if(!_0x4521ea['isInContent'])continue;if(_0x2a8a1e&&_0x4521ea[_0x2e16('0xd8')]!=_0x2a8a1e)continue;let _0x1f0081=!0x1;for(const _0x5056ff of _0x4521ea[_0x2e16('0x48')]()){for(const _0x4e99d9 of _0x924e4c){const _0x571485=_0x4e99d9[_0x2e16('0x89')]['isEqual'](_0x5056ff[_0x2e16('0x4f')])||_0x4e99d9[_0x2e16('0x4f')]['isEqual'](_0x5056ff['start']);if(_0x571485||_0x4e99d9[_0x2e16('0x34')](_0x5056ff)){const _0x99a3df=_0x4e99d9[_0x2e16('0x40')](_0x5056ff)&&xt(this['_model'][_0x2e16('0xc4')],_0x5056ff['start'],_0x4e99d9),_0x4d42b1=_0x5056ff[_0x2e16('0x40')](_0x4e99d9)&&xt(this[_0x2e16('0xac')]['schema'],_0x4e99d9[_0x2e16('0x89')],_0x5056ff);_0xdacd39[_0x2e16('0x9f')]({'suggestion':_0x4521ea,'meta':{'isOwn':_0x45c35a==_0x4521ea[_0x2e16('0xe9')],'isNextTo':_0x571485,'isInsideObject':_0x99a3df,'containsRangeInObject':_0x4d42b1}}),_0x1f0081=!0x0;break;}}if(_0x1f0081)break;}}return _0xdacd39;}[_0x2e16('0x67')](_0x496b5b,_0xa0be9a,_0x1e7b0f,_0x9ab25b,_0x43b75f){this[_0x2e16('0xac')]['change'](_0x1296da=>{let _0x5f2b09=_0x2e16('0x2b')+_0x496b5b+':'+_0xa0be9a+':'+_0x1e7b0f;_0x43b75f&&(_0x5f2b09=_0x5f2b09+':'+_0x43b75f),_0x1296da['addMarker'](_0x5f2b09,{'range':_0x9ab25b,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2e16('0x30')](_0x375e7f){const _0x4a7f5e=_0x375e7f[_0x2e16('0xc1')],_0x4a9ce4=_0x375e7f[_0x2e16('0x2c')];_0x375e7f[_0x2e16('0xc1')]=null,_0x375e7f['next']=null,null!=_0x4a7f5e&&(_0x4a7f5e[_0x2e16('0x2c')]=_0x4a9ce4),null!=_0x4a9ce4&&(_0x4a9ce4[_0x2e16('0xc1')]=_0x4a7f5e),_0x2e16('0xca')==this[_0x2e16('0x144')][_0x2e16('0x28')](_0x375e7f)&&(this['_suggestionState']['set'](_0x375e7f,_0x2e16('0x11d')),this['fire'](_0x2e16('0x7e'),_0x375e7f,_0x4a7f5e,_0x4a9ce4));}[_0x2e16('0x11a')](_0x55700f){const _0x399746=_0x55700f['id'],_0x5e7cf0=this[_0x2e16('0x3d')](_0x55700f);if(this['_adapter']&&this[_0x2e16('0xb5')][_0x2e16('0xdd')]){const _0x269b4a=this[_0x2e16('0x15c')][_0x2e16('0x85')][_0x2e16('0x28')](_0x2e16('0x14a')),_0x1d977a=_0x5e7cf0['hasComments'],_0x3dabd9=_0x5e7cf0[_0x2e16('0xbd')]?_0x5e7cf0[_0x2e16('0xd8')]+':'+_0x5e7cf0[_0x2e16('0xbd')]:_0x5e7cf0[_0x2e16('0xd8')],_0x341180=this[_0x2e16('0x15c')][_0x2e16('0x15b')],_0x2e3baa=_0x269b4a[_0x2e16('0x118')](_0x17b8a7(_0x341180,'PENDING_ACTION_SUGGESTION')),_0x38b252={'id':_0x399746,'type':_0x3dabd9,'hasComments':_0x1d977a,'data':_0x55700f['data']||null,'originalSuggestionId':_0x55700f[_0x2e16('0x86')]||null,'attributes':_0x5e7cf0['attributes']};this['_adapter'][_0x2e16('0xdd')](_0x38b252)['then'](_0x130394=>{_0x5e7cf0['_saved']=!0x0,_0x269b4a[_0x2e16('0xe')](_0x2e3baa),_0x130394&&_0x130394['createdAt']&&(this[_0x2e16('0x8c')]['get'](_0x399746)[_0x2e16('0x10d')]=_0x130394[_0x2e16('0x10d')]);})['catch'](_0x5d1d45=>{throw _0xe46279(_0x2e16('0x14b')),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x5e7cf0[_0x2e16('0xeb')]();}),_0x5e7cf0[_0x2e16('0xbb')](),this[_0x2e16('0x8c')][_0x2e16('0x92')](_0x5e7cf0['id']),this[_0x2e16('0x144')][_0x2e16('0x92')](_0x5e7cf0),_0x5d1d45;});}return _0x5e7cf0;}['_isBlockAttribute'](_0x26eef9){return this['_blockAttributeKeys'][_0x2e16('0x157')](_0x26eef9);}['_updateSuggestionData'](_0xb410a7,_0x358635){const _0x5ba368=this['editor']['plugins'][_0x2e16('0x28')](_0x2e16('0x14a')),_0x4404e2=this[_0x2e16('0x3a')](_0xb410a7);if(this['_adapter']&&this['_adapter'][_0x2e16('0x75')]){if(_0x4404e2[_0x2e16('0xb1')]){const _0x4729b4=_0x5ba368[_0x2e16('0x118')](_0x17b8a7(this[_0x2e16('0x15c')]['locale'],_0x2e16('0x13d')));this[_0x2e16('0xb5')][_0x2e16('0x75')](_0xb410a7,_0x358635)['then'](()=>{_0x5ba368['remove'](_0x4729b4);});}else _0x4404e2['on'](_0x2e16('0xe5'),()=>{this[_0x2e16('0x12b')](_0xb410a7,_0x358635);});}}[_0x2e16('0x160')](_0x49dcce){if(!this[_0x2e16('0xb5')]||!this[_0x2e16('0xb5')][_0x2e16('0x3a')])throw new _0x593f4f(_0x2e16('0xde'),this);return this[_0x2e16('0xb5')]['getSuggestion'](_0x49dcce);}[_0x2e16('0x111')](_0x545efe){const {id:_0x56099d,type:_0x138488,subType:_0x32a47d,authorId:_0x3b8696}=this[_0x2e16('0xda')](_0x545efe),_0x43df87=this[_0x2e16('0x8c')][_0x2e16('0x28')](_0x56099d)||this['_createSuggestion'](_0x138488,_0x32a47d,_0x56099d,_0x3b8696,{});switch(this[_0x2e16('0x0')](_0x43df87,_0x138488,_0x32a47d,_0x3b8696),this['_suggestionState'][_0x2e16('0x28')](_0x43df87)){case _0x2e16('0x5b'):this[_0x2e16('0x160')](_0x56099d)[_0x2e16('0x38')](_0x3e44ae=>{let _0x440783=Promise[_0x2e16('0xae')]();_0x3e44ae[_0x2e16('0x100')]&&(_0x440783=this[_0x2e16('0xed')][_0x2e16('0xb2')]({'channelId':this[_0x2e16('0x15c')][_0x2e16('0x13')][_0x2e16('0x28')](_0x2e16('0xef')),'threadId':_0x56099d})),_0x440783[_0x2e16('0x38')](()=>{this[_0x2e16('0x3d')](_0x3e44ae)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x43df87,_0x2e16('0x47'));break;case _0x2e16('0x11d'):this['_updateSuggestionData'](_0x56099d,{'state':'open'});case _0x2e16('0xa6'):this['_suggestionState'][_0x2e16('0x83')](_0x43df87,_0x2e16('0xca')),this['fire']('suggestionLoaded',_0x43df87);break;case _0x2e16('0xca'):this['fire'](_0x2e16('0xab'),_0x43df87);}return _0x43df87[_0x2e16('0xe7')](_0x545efe),_0x43df87;}[_0x2e16('0x11c')](_0x3f53a5){const _0x158164=Array[_0x2e16('0x154')](_0x3f53a5),_0xd4c676=_0x158164[_0x2e16('0xee')](_0x8472da=>_0x2e16('0x19')==_0x8472da[_0x2e16('0xd8')]);this[_0x2e16('0x82')](_0xd4c676);const _0xb42410=_0x158164['filter'](_0x240db4=>!_0x240db4[_0x2e16('0xb')]&&_0x2e16('0x19')!=_0x240db4[_0x2e16('0xd8')]),_0x380485=this[_0x2e16('0x166')]({'skipNotAttached':!0x0})[_0x2e16('0xee')](_0x6d8bb3=>!_0x6d8bb3[_0x2e16('0xb')]&&'attribute'!=_0x6d8bb3[_0x2e16('0xd8')]),_0x2558f2=_0x380485[_0x2e16('0xee')](_0xc28e7c=>!_0x3f53a5[_0x2e16('0x157')](_0xc28e7c)),_0x268e8f=new Map(_0x380485[_0x2e16('0xb6')](_0x880fbf=>[_0x880fbf,this[_0x2e16('0xa1')][_0x2e16('0x156')](_0x880fbf['type'],_0x880fbf[_0x2e16('0xbd')],_0x2e16('0x78'))])),_0x291f84=new Map(_0x380485['map'](_0x4dc530=>[_0x4dc530,_0x4dc530[_0x2e16('0x87')]()])),_0xfd82c6=new Set(),_0x4f4375=new Set();for(let _0x1e98ec=0x0;_0x1e98ec<_0xb42410[_0x2e16('0x88')];_0x1e98ec++)_0x1f59e1(_0xb42410[_0x1e98ec],_0xb42410,_0x1e98ec+0x1);for(let _0x450d0b=0x0;_0x450d0b<_0xb42410['length'];_0x450d0b++)_0x1f59e1(_0xb42410[_0x450d0b],_0x2558f2,0x0);const _0x5bcf53=new Set();for(let _0x1605d9=0x0;_0x1605d9<_0xb42410['length'];_0x1605d9++){const _0x8ffd1=_0xb42410[_0x1605d9];!_0x4f4375['has'](_0x8ffd1)&&_0x8ffd1[_0x2e16('0xc1')]&&(_0x5bcf53[_0x2e16('0x118')](_0x8ffd1[_0x2e16('0xc1')]),_0x8ffd1['previous']['next']===_0x8ffd1&&(_0x8ffd1['previous'][_0x2e16('0x2c')]=null),_0x8ffd1['previous']=null),!_0xfd82c6[_0x2e16('0x157')](_0x8ffd1)&&_0x8ffd1[_0x2e16('0x2c')]&&(_0x5bcf53[_0x2e16('0x118')](_0x8ffd1[_0x2e16('0x2c')]),_0x8ffd1[_0x2e16('0x2c')][_0x2e16('0xc1')]===_0x8ffd1&&(_0x8ffd1['next']['previous']=null),_0x8ffd1['next']=null);}function _0x1f59e1(_0x43ec99,_0x5c4f15,_0x32a3f3){for(let _0x35e842=_0x32a3f3;_0x35e842<_0x5c4f15[_0x2e16('0x88')];_0x35e842++){const _0x29125e=_0x4c6d5d(_0x43ec99,_0x5c4f15[_0x35e842]);_0x29125e&&(_0x29125e[0x0]['next']=_0x29125e[0x1],_0x29125e[0x1]['previous']=_0x29125e[0x0],_0xfd82c6[_0x2e16('0x118')](_0x29125e[0x0]),_0x4f4375[_0x2e16('0x118')](_0x29125e[0x1]));}}function _0x4c6d5d(_0x418be4,_0x30dc8b){if(_0x418be4['author']['id']!==_0x30dc8b[_0x2e16('0xe9')]['id'])return null;const _0xdfd0d1=_0x268e8f['get'](_0x418be4)(_0x418be4,_0x30dc8b,_0x291f84['get'](_0x418be4),_0x291f84['get'](_0x30dc8b));if(!_0xdfd0d1)return null;return _0x268e8f[_0x2e16('0x28')](_0x30dc8b)(_0x418be4,_0x30dc8b,_0x291f84[_0x2e16('0x28')](_0x418be4),_0x291f84['get'](_0x30dc8b))?_0xdfd0d1[0x1][_0x2e16('0x90')]&&_0xdfd0d1[0x1]['commentThread'][_0x2e16('0x88')]?null:_0xdfd0d1:null;}_0x5bcf53[_0x2e16('0x16f')]&&this[_0x2e16('0x11c')](_0x5bcf53);}[_0x2e16('0x82')](_0xac32c2){if(0x0==_0xac32c2['length'])return;const _0x5382fa=this[_0x2e16('0x166')]({'skipNotAttached':!0x0})[_0x2e16('0xee')](_0x34603c=>_0x2e16('0x19')==_0x34603c['type']&&_0x34603c[_0x2e16('0x173')]),_0x3f7b67=[],_0xc33bc1=new Map();for(const _0x33a299 of _0x5382fa){const _0x60d1b1=_0x23e49c(_0x33a299['attributes']);_0xc33bc1[_0x2e16('0x157')](_0x60d1b1)||(_0xc33bc1['set'](_0x60d1b1,_0x3f7b67[_0x2e16('0x88')]),_0x3f7b67[_0x2e16('0x9f')]([]));const _0x2edd95=_0xc33bc1[_0x2e16('0x28')](_0x60d1b1);_0x3f7b67[_0x2edd95][_0x2e16('0x9f')](_0x33a299);}!function(){_0x3f7b67[_0x2e16('0x2')]((_0x1b947f,_0xd186a9)=>{const _0x11faba=_0x1b947f[0x0][_0x2e16('0x10d')],_0x5159eb=_0xd186a9[0x0][_0x2e16('0x10d')];return _0x11faba==_0x5159eb?_0x1b947f[0x0][_0x2e16('0x13c')]['groupId']<_0xd186a9[0x0][_0x2e16('0x13c')]['groupId']?-0x1:0x1:_0x11faba<_0x5159eb?-0x1:0x1;});for(const _0x3a6fbb of _0x3f7b67)_0x3a6fbb[_0x2e16('0x2')]((_0x18e394,_0x464ce5)=>_0x18e394['id']<_0x464ce5['id']?-0x1:0x1);}();for(let _0x6a01ff=0x0;_0x6a01ff<_0x3f7b67['length'];_0x6a01ff++){if(0x0==_0x3f7b67[_0x6a01ff][_0x2e16('0x88')])continue;const _0x44fddf=[];for(let _0x84f7b6=_0x6a01ff+0x1;_0x84f7b6<_0x3f7b67[_0x2e16('0x88')];_0x84f7b6++)0x0!=_0x3f7b67[_0x84f7b6][_0x2e16('0x88')]&&_0x3ae12d(_0x3f7b67[_0x6a01ff],_0x3f7b67[_0x84f7b6])&&_0x44fddf[_0x2e16('0x9f')](_0x84f7b6);for(const _0x1993ec of _0x44fddf)_0x3f7b67[_0x6a01ff]=_0x3f7b67[_0x6a01ff][_0x2e16('0x14')](_0x3f7b67[_0x1993ec]),_0x3f7b67[_0x1993ec]=[];}for(const _0x54b855 of _0x3f7b67)for(let _0x4d3912=0x0;_0x4d3912<_0x54b855['length'];_0x4d3912++)_0x54b855[_0x4d3912][_0x2e16('0x2c')]=_0x54b855[_0x4d3912+0x1]||null;for(const _0xe7593f of _0x3f7b67)for(let _0x5cda20=0x0;_0x5cda20<_0xe7593f[_0x2e16('0x88')];_0x5cda20++)_0xe7593f[_0x5cda20][_0x2e16('0xc1')]=_0xe7593f[_0x5cda20-0x1]||null;function _0x3ae12d(_0x28ab65,_0x42f615){if(_0x28ab65[0x0][_0x2e16('0x13c')][_0x2e16('0xcf')]!==_0x42f615[0x0][_0x2e16('0x13c')]['groupId']&&_0x28ab65[0x0][_0x2e16('0xe9')]!==_0x42f615[0x0][_0x2e16('0xe9')])return!0x1;if(!function(_0xc74240,_0x13c44a){if(!_0xc74240['hasComments']&&!_0x13c44a[_0x2e16('0x100')])return!0x0;if(_0xc74240[_0x2e16('0x100')]&&_0x13c44a['hasComments'])return!0x1;if(_0xc74240[_0x2e16('0x100')]&&_0x13c44a[_0x2e16('0x10d')]<_0xc74240[_0x2e16('0x90')]['comments']['get'](0x0)[_0x2e16('0x10d')])return!0x0;if(_0x13c44a[_0x2e16('0x100')]&&_0xc74240[_0x2e16('0x10d')]<_0x13c44a['commentThread'][_0x2e16('0x55')][_0x2e16('0x28')](0x0)[_0x2e16('0x10d')])return!0x0;return!0x1;}(_0x28ab65[0x0],_0x42f615[0x0]))return!0x1;const _0xd3f4ca=_0x5cc797(_0x28ab65[0x0][_0x2e16('0x13c')],'groupId'),_0x1c6368=_0x5cc797(_0x42f615[0x0][_0x2e16('0x13c')],_0x2e16('0xcf'));if(!_0x146f35(_0xd3f4ca,_0x1c6368))return!0x1;return!!_0x28ab65['every'](_0xa28308=>_0x42f615[_0x2e16('0x2d')](_0x12481d=>_0xa28308[_0x2e16('0x87')]()[_0x2e16('0x25')](_0x12481d[_0x2e16('0x87')]())))&&_0x42f615[_0x2e16('0x146')](_0x22a24b=>_0x28ab65[_0x2e16('0x2d')](_0x254fb2=>_0x22a24b[_0x2e16('0x87')]()[_0x2e16('0x25')](_0x254fb2[_0x2e16('0x87')]())));}}['_joinWithAdjacentSuggestions'](_0x117864){const _0x5a6002=Array[_0x2e16('0x154')](_0x117864),_0x3f90a8=this['getSuggestions']({'skipNotAttached':!0x0}),_0x266efc=_0x3f90a8[_0x2e16('0xee')](_0x3d5a3a=>!_0x117864[_0x2e16('0x157')](_0x3d5a3a)),_0x3595f0=new Map(_0x5a6002[_0x2e16('0xb6')](_0xeb92e9=>[_0xeb92e9,this[_0x2e16('0xa1')][_0x2e16('0x156')](_0xeb92e9[_0x2e16('0xd8')],_0xeb92e9[_0x2e16('0xbd')],_0x2e16('0x175'))])),_0x47d795=new Map(_0x3f90a8['map'](_0x3c2494=>[_0x3c2494,_0x3c2494[_0x2e16('0x48')]()]));for(let _0x47672a=0x0;_0x47672a<_0x5a6002[_0x2e16('0x88')];_0x47672a++){if(_0x4f6134(this,_0x5a6002[_0x47672a],_0x5a6002,_0x47672a+0x1))return!0x0;}for(let _0xc0c08e=0x0;_0xc0c08e<_0x5a6002['length'];_0xc0c08e++){if(_0x4f6134(this,_0x5a6002[_0xc0c08e],_0x266efc,0x0))return!0x0;}return!0x1;function _0x4f6134(_0x3ccd7e,_0x53a539,_0x4398c6,_0x509786){for(let _0x382938=_0x509786;_0x382938<_0x4398c6[_0x2e16('0x88')];_0x382938++){const _0x37e413=_0x4398c6[_0x382938];if(_0x37e413[_0x2e16('0xd8')]!==_0x53a539[_0x2e16('0xd8')]||_0x37e413[_0x2e16('0xe9')]['id']!==_0x53a539[_0x2e16('0xe9')]['id']||_0x37e413[_0x2e16('0xbd')]!==_0x53a539['subType'])continue;if(!Ft(_0x53a539,_0x37e413,[_0x2e16('0xcf')]))continue;if(_0x2e16('0x19')==_0x53a539[_0x2e16('0xd8')]&&_0x53a539[_0x2e16('0x26')][_0x2e16('0x8e')]!=_0x37e413[_0x2e16('0x26')][_0x2e16('0x8e')])continue;if(_0x2e16('0x19')==_0x53a539['type']&&_0x3ccd7e[_0x2e16('0x174')](_0x53a539['data'][_0x2e16('0x1c')]))continue;if(_0x2e16('0x41')==_0x53a539[_0x2e16('0xd8')]){const _0x1860e1=_0x3ccd7e[_0x2e16('0x15c')][_0x2e16('0x81')],_0xdf973=_0x53a539[_0x2e16('0xf7')]();if(_0xdf973&&(_0x1860e1[_0x2e16('0xc4')][_0x2e16('0x66')](_0xdf973)||_0x1860e1[_0x2e16('0xc4')]['isLimit'](_0xdf973)))continue;}const _0xcc30d8=_0x3595f0[_0x2e16('0x28')](_0x53a539),_0x449e25=_0x47d795['get'](_0x53a539),_0x1ecfa2=_0x47d795[_0x2e16('0x28')](_0x37e413),_0x1c8e31=_0x53a539['commentThread']&&_0x53a539['commentThread'][_0x2e16('0x88')],_0x37fd09=_0x37e413[_0x2e16('0x90')]&&_0x37e413['commentThread'][_0x2e16('0x88')];if(!_0x1c8e31&&_0xcc30d8(_0x1ecfa2,_0x449e25))return _0x3ccd7e[_0x2e16('0xcb')](_0x37e413,_0x53a539),_0x47d795[_0x2e16('0x92')](_0x53a539),!0x0;if(!_0x37fd09&&_0xcc30d8(_0x449e25,_0x1ecfa2))return _0x3ccd7e[_0x2e16('0xcb')](_0x53a539,_0x37e413),_0x47d795['delete'](_0x37e413),!0x0;}return!0x1;}}[_0x2e16('0xcb')](_0x4a4709,_0x118abe){if(_0x4a4709['isMultiRange'])for(const _0x59305f of _0x118abe['getRanges']())_0x4a4709[_0x2e16('0x103')](_0x59305f);else{const _0x43c992=_0x118abe[_0x2e16('0x87')]()[_0x2e16('0x4f')];this[_0x2e16('0xc7')](_0x4a4709,this[_0x2e16('0xac')][_0x2e16('0xc8')](_0x4a4709[_0x2e16('0x87')]()[_0x2e16('0x89')],_0x43c992));}_0x118abe[_0x2e16('0x102')]();}[_0x2e16('0x6f')](_0x21546c,_0x599037){const _0x4e8f90=_0x21546c[_0x2e16('0x56')]('format')||_0x21546c[_0x2e16('0x56')](_0x2e16('0x19'))?_0x2e16('0x13b'):_0x21546c[_0x2e16('0x12c')]();return _0x17b8a7(this[_0x2e16('0x15c')]['locale'],_0x599037+'_'+_0x4e8f90+_0x2e16('0x131'));}[_0x2e16('0x9d')](){const _0x5e3bc9=this[_0x2e16('0x15c')];_0x12aa64(this['_model'],({left:_0x525601,entered:_0x131e55})=>{const _0xbdcee0=[];for(const _0x4ab611 of _0x525601){const {group:_0x2b13df,type:_0x2c479e}=this[_0x2e16('0xda')](_0x4ab611[_0x2e16('0x97')]);if('suggestion'===_0x2b13df){_0xbdcee0[_0x2e16('0x9f')](this['_getMarkerAnnouncementText'](_0x2c479e,'LEAVE'));break;}}for(const _0x41acd3 of _0x131e55){const {group:_0x4ee637,type:_0x224929}=this[_0x2e16('0xda')](_0x41acd3[_0x2e16('0x97')]);if(_0x2e16('0x3e')===_0x4ee637){_0xbdcee0[_0x2e16('0x9f')](this[_0x2e16('0x6f')](_0x224929,_0x2e16('0x16')));break;}}_0xbdcee0[_0x2e16('0x88')]&&_0x5e3bc9['ui'][_0x2e16('0x52')][_0x2e16('0xe0')](_0x2e16('0xb7'),_0xbdcee0[_0x2e16('0x175')]('\x20'));});}[_0x2e16('0xa2')](_0x233f6c){if(this[_0x2e16('0x130')])return!0x1;const _0x240c2a=this[_0x2e16('0x15c')],_0x55abb1=_0x240c2a['model'][_0x2e16('0x125')][_0x2e16('0xd')][_0x2e16('0xc')]();if(0x0==_0x55abb1[_0x2e16('0x88')])return!0x1;const _0x572058=[],_0x486194=_0x55abb1[_0x2e16('0xee')](_0x5be7bb=>_0x2e16('0x19')==_0x5be7bb[_0x2e16('0xd8')]),_0x4ef2dd=_0x55abb1['filter'](_0x3fdd53=>_0x2e16('0x12d')==_0x3fdd53['type']&&_0x2e16('0x136')!=_0x3fdd53['name']),_0xf6c7dd=_0x55abb1[_0x2e16('0xee')](_0xf71080=>_0x2e16('0xe')==_0xf71080['type']&&'$text'!=_0xf71080[_0x2e16('0x97')]);for(const _0x1c3f96 of _0x486194)_0x572058['push']({'key':_0x1c3f96[_0x2e16('0x1b')],'newValue':_0x1c3f96[_0x2e16('0x12e')],'oldValue':_0x1c3f96[_0x2e16('0x70')],'range':Ut(_0x1c3f96[_0x2e16('0x11e')],_0x240c2a[_0x2e16('0x81')])});for(const _0x41b01c of _0x4ef2dd){const _0x19465e=_0xf6c7dd[_0x2e16('0x32')](_0x53583b=>_0x53583b[_0x2e16('0x135')][_0x2e16('0x25')](_0x41b01c['position']));_0x19465e&&_0x572058[_0x2e16('0x9f')]({'key':_0x2e16('0x54'),'newValue':_0x41b01c[_0x2e16('0x97')],'oldValue':_0x19465e['name'],'range':_0x240c2a[_0x2e16('0x81')][_0x2e16('0x172')](_0x41b01c[_0x2e16('0x135')][_0x2e16('0x4a')])});}return 0x0!=_0x572058[_0x2e16('0x88')]&&this[_0x2e16('0x8d')](_0x233f6c,_0x572058);}[_0x2e16('0x124')](_0x78dd1e){let _0x36d870=!0x1;const _0x16f36e=this[_0x2e16('0x15c')][_0x2e16('0x81')][_0x2e16('0x125')]['differ'][_0x2e16('0xa0')]()[_0x2e16('0xee')](_0x1327f5=>_0x1327f5['data'][_0x2e16('0xaa')]&&_0x1327f5['name'][_0x2e16('0x56')](_0x2e16('0x37')));for(const _0x57f715 of _0x16f36e){const {subType:_0x3724dd,id:_0xfef926}=this['_splitMarkerName'](_0x57f715[_0x2e16('0x97')]),_0x440712=_0x3724dd[_0x2e16('0x49')]('|')[0x0];for(const _0xc95e73 of this[_0x2e16('0x166')]({'skipNotAttached':!0x0}))_0xc95e73['id']!=_0xfef926&&_0x2e16('0x19')==_0xc95e73['type']&&_0xc95e73[_0x2e16('0x26')]&&_0xc95e73['data']['key']==_0x440712&&_0xc95e73['getFirstRange']()[_0x2e16('0x3c')](_0x57f715[_0x2e16('0x26')][_0x2e16('0xaa')])&&(this[_0x2e16('0x161')](_0xc95e73,_0x57f715[_0x2e16('0x26')][_0x2e16('0xaa')],_0x78dd1e),_0x36d870=!0x0);}return _0x36d870;}['_recordAttributeChanges'](_0x1f04a4){this[_0x2e16('0x15c')],(this[_0x2e16('0x130')]=!0x0,_0x1f04a4());}['_isRegisteredAttribute'](_0xb09b51){const _0x5af371=this[_0x2e16('0x174')](_0xb09b51),_0x4d8b1e=this['_inlineAttributeKeys'][_0x2e16('0x157')](_0xb09b51);return _0x5af371||_0x4d8b1e;}[_0x2e16('0x8d')](_0x5eeda4,_0x355b10){if(0x0==_0x355b10[_0x2e16('0x88')])return!0x1;let _0x381692=!0x1;for(const _0x3447da of _0x355b10){const _0x13808c=this['_findSuggestions'](_0x3447da['range'],'attribute')['filter'](_0x132ea3=>!_0x132ea3[_0x2e16('0x16a')][_0x2e16('0xd1')])['map'](_0x22b551=>_0x22b551[_0x2e16('0x3e')]),_0x599891=_0x23e49c({'newValue':_0x3447da['newValue']});_0x13808c[_0x2e16('0xee')](_0x2f08da=>{const [_0x3e3d6f,_0x280060]=_0x2f08da[_0x2e16('0xbd')][_0x2e16('0x49')]('|');return _0x3e3d6f==_0x3447da[_0x2e16('0x1c')]&&_0x280060!=_0x599891;})[_0x2e16('0x11')](_0x2d1134=>{this['_reduceSuggestionAttributeRange'](_0x2d1134,_0x3447da[_0x2e16('0x11e')],_0x5eeda4),_0x381692=!0x0;});}return _0x381692;}[_0x2e16('0x161')](_0x1bb077,_0x3e79df,_0x272c8d){const _0xf874f4=_0x1bb077[_0x2e16('0x87')]()['getDifference'](_0x3e79df);0x0!==_0xf874f4[_0x2e16('0x88')]?0x1!==_0xf874f4[_0x2e16('0x88')]?this[_0x2e16('0xc9')](_0x1bb077,_0x3e79df[_0x2e16('0x89')],_0x3e79df[_0x2e16('0x4f')]):this[_0x2e16('0xc7')](_0x1bb077,_0xf874f4[0x0]):_0x272c8d[_0x2e16('0x176')](_0x1bb077[_0x2e16('0x63')]());}}class Bt{constructor(_0x389066){this[_0x2e16('0x9a')]=_0x389066,this[_0x2e16('0xac')]=_0x389066[_0x2e16('0x81')],this['_customCallbacks']=new Map(),this[_0x2e16('0x2e')]=new Map(),this[_0x2e16('0x12')]();}[_0x2e16('0xe6')](_0x35a009,_0x325318,_0x472565,_0x49c7b4,_0x5b587e,_0x1ff7c2){return new _0x4dd5c5(this[_0x2e16('0xac')],{'type':_0x35a009,'subType':_0x325318,'id':_0x472565,'author':_0x49c7b4,'creator':_0x49c7b4,'attributes':_0x5b587e,'onAttributesChange':_0x1ff7c2,'onAccept':(..._0xa497d)=>this[_0x2e16('0x156')](_0x35a009,_0x325318,_0x2e16('0x72'))(..._0xa497d),'onDiscard':(..._0x538dd3)=>this[_0x2e16('0x156')](_0x35a009,_0x325318,_0x2e16('0xeb'))(..._0x538dd3)});}['registerCustomCallback'](_0x488091,_0x42a2db,_0x353dd4,_0xae7ef6){const _0x2c801b=_0x488091+':'+_0x42a2db+':'+_0x353dd4;this['_customCallbacks'][_0x2e16('0x83')](_0x2c801b,_0xae7ef6);}[_0x2e16('0x156')](_0x2f20f5,_0x155e47,_0x32f996){const _0x52d32c=_0x2f20f5+':'+_0x155e47+':'+_0x32f996;return this['_customCallbacks'][_0x2e16('0x28')](_0x52d32c)||this['_defaultCallbacks']['get'](_0x2f20f5+':'+_0x32f996);}[_0x2e16('0x12')](){const _0x45eae9=()=>!0x1,_0x2617a5=_0x26a4f7=>{_0x26a4f7['sort']((_0x571833,_0x94a98b)=>_0x571833['start'][_0x2e16('0x8')](_0x94a98b['start'])?0x1:-0x1),this['_model'][_0x2e16('0x145')](_0x3fa7d8=>{for(const _0x52c3f9 of _0x26a4f7){let _0x523535;_0x523535=_0x52c3f9[_0x2e16('0x4f')]['isAtEnd']&&_0x52c3f9['end'][_0x2e16('0x14f')]==_0x52c3f9[_0x2e16('0x89')][_0x2e16('0x4a')]?_0x3fa7d8[_0x2e16('0xb0')](_0x52c3f9[_0x2e16('0x89')][_0x2e16('0x4a')],'on'):_0x3fa7d8[_0x2e16('0xb0')](_0x52c3f9),this[_0x2e16('0xac')]['deleteContent'](_0x523535,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x360dad=(_0xc2bd03,_0x169280)=>{_0x169280&&this['_model']['change'](_0x4350d8=>{const {commandName:_0x4173c6,commandParams:_0x1fa4f8=[]}=_0x169280,_0xf94aab=_0xc2bd03[_0x2e16('0xb6')](_0x3c43e3=>(Rt(_0x3c43e3)&&(_0x3c43e3=this[_0x2e16('0xac')]['createRange'](_0x3c43e3['end'])),_0x3c43e3))['filter'](_0x224b1f=>_0x2e16('0x17')!==_0x224b1f[_0x2e16('0xfb')]['rootName']);if(_0xf94aab['length']<0x1)return;const _0x40d858=Array[_0x2e16('0x154')](this[_0x2e16('0xac')]['document'][_0x2e16('0x148')][_0x2e16('0x48')]())[_0x2e16('0xb6')](_0x45eb4e=>_0x16310d[_0x2e16('0xc2')](_0x45eb4e));_0x4350d8[_0x2e16('0x16b')](_0xf94aab);for(const _0x1df1a0 of this[_0x2e16('0x9a')][_0x2e16('0x109')]['commands']())_0x1df1a0['refresh']();_0x1fa4f8[_0x2e16('0x9f')]({'forceDefaultExecution':!0x0}),this[_0x2e16('0x9a')]['execute'](_0x4173c6,..._0x1fa4f8);const _0x5882fc=_0x40d858[_0x2e16('0xee')](_0x39b84e=>'$graveyard'!=_0x39b84e['root'][_0x2e16('0x150')]);_0x5882fc['length']>0x0&&_0x4350d8[_0x2e16('0x16b')](_0x5882fc);for(const _0x36a07c of _0x40d858)_0x36a07c['detach']();});},_0x25de2e=(_0x160984,_0x10b082)=>0x1==_0x160984['length']&&0x1==_0x10b082[_0x2e16('0x88')]&&_0x160984[0x0]['end'][_0x2e16('0x25')](_0x10b082[0x0][_0x2e16('0x89')]),_0x16e3ee=(_0x562d47,_0x1fed19,_0x3d123e,_0x3d760b)=>Gt(_0x562d47,_0x1fed19,_0x3d123e,_0x3d760b,this['_model'])?[_0x562d47,_0x1fed19]:Gt(_0x1fed19,_0x562d47,_0x3d760b,_0x3d123e,this['_model'])?[_0x1fed19,_0x562d47]:null;this['_defaultCallbacks'][_0x2e16('0x83')]('insertion:accept',_0x45eae9),this[_0x2e16('0x2e')]['set'](_0x2e16('0x126'),_0x2617a5),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x116'),_0x25de2e),this['_defaultCallbacks']['set'](_0x2e16('0x6e'),_0x16e3ee),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x36'),_0x2617a5),this['_defaultCallbacks'][_0x2e16('0x83')]('deletion:discard',_0x45eae9),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x13e'),_0x25de2e),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x170'),_0x16e3ee),this[_0x2e16('0x2e')]['set'](_0x2e16('0xf2'),_0x360dad),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0xad'),_0x45eae9),this[_0x2e16('0x2e')][_0x2e16('0x83')]('formatInline:join',_0x25de2e),this[_0x2e16('0x2e')]['set'](_0x2e16('0x91'),_0x45eae9),this[_0x2e16('0x2e')][_0x2e16('0x83')]('formatBlock:accept',_0x360dad),this[_0x2e16('0x2e')][_0x2e16('0x83')]('formatBlock:discard',_0x45eae9),this['_defaultCallbacks']['set'](_0x2e16('0x147'),_0x25de2e),this[_0x2e16('0x2e')]['set'](_0x2e16('0x151'),_0x45eae9),this[_0x2e16('0x2e')]['set']('attribute:accept',_0x45eae9),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x10e'),(_0x2daf68,_0x128e60)=>{if(!_0x128e60)return;const _0x70c00f=this[_0x2e16('0x9a')][_0x2e16('0x85')]['get'](p);this['_model'][_0x2e16('0x145')](_0x39919c=>{if('$elementName'==_0x128e60[_0x2e16('0x1c')])for(const _0x4ad8a7 of _0x2daf68){const _0x35b4ab=_0x4ad8a7[_0x2e16('0x89')]['nodeAfter'],_0x5cfc55=_0x128e60['oldValue'];_0x39919c[_0x2e16('0x8f')](_0x35b4ab,_0x5cfc55);}else{if(_0x70c00f['_isBlockAttribute'](_0x128e60[_0x2e16('0x1c')]))for(const _0x4ea7c5 of _0x2daf68)void 0x0!==_0x128e60['oldValue']?_0x39919c[_0x2e16('0x46')](_0x128e60['key'],_0x128e60['oldValue'],_0x4ea7c5[_0x2e16('0x89')][_0x2e16('0x4a')]):_0x39919c[_0x2e16('0x121')](_0x128e60['key'],_0x4ea7c5[_0x2e16('0x89')][_0x2e16('0x4a')]);else for(const _0x15800f of _0x2daf68)_0x128e60[_0x2e16('0x8e')]?_0x39919c[_0x2e16('0x46')](_0x128e60[_0x2e16('0x1c')],_0x128e60['oldValue'],_0x15800f):_0x39919c['removeAttribute'](_0x128e60[_0x2e16('0x1c')],_0x15800f);}});}),this[_0x2e16('0x2e')][_0x2e16('0x83')](_0x2e16('0x44'),_0x25de2e);}}function xt(_0x519a21,_0x332994,_0x2c587a){for(const _0x263e15 of _0x332994[_0x2e16('0x14f')]['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x263e15[_0x2e16('0xfb')]==_0x263e15)return!0x1;if(!_0x2c587a['containsItem'](_0x263e15))return!0x1;if(_0x519a21[_0x2e16('0x66')](_0x263e15)||_0x519a21[_0x2e16('0xa3')](_0x263e15))return!0x0;}return!0x1;}function Rt(_0x4da1f0){return _0x4da1f0[_0x2e16('0x4f')]['parent']==_0x4da1f0[_0x2e16('0x89')][_0x2e16('0x4a')]&&_0x4da1f0['end'][_0x2e16('0xa')];}function Tt(_0x28e38a,_0x869114,_0x4eb459,_0x30a09c){const _0x84a3a0=_0x28a759=>!_0x28a759[_0x2e16('0xe8')]['is'](_0x2e16('0x5'))&&!_0x30a09c[_0x2e16('0x66')](_0x28a759[_0x2e16('0xe8')]),_0x31344c=_0x28e38a[_0x2e16('0x89')]['getLastMatchingPosition'](_0x84a3a0),_0x3f0640=_0x28e38a[_0x2e16('0x4f')][_0x2e16('0x7c')](_0x84a3a0,{'direction':'backward'});return(!_0x28e38a['start']['isEqual'](_0x31344c)||!_0x28e38a['end']['isEqual'](_0x3f0640))&&(_0x31344c[_0x2e16('0x8')](_0x3f0640)?_0x4eb459[_0x2e16('0x110')](_0x869114,{'range':_0x4eb459[_0x2e16('0xc8')](_0x31344c,_0x3f0640)}):_0x4eb459[_0x2e16('0x176')](_0x869114),!0x0);}function Et(_0x4efaa2){return _0x23e49c(_0x4efaa2);}function Vt(_0x52bca1){const _0x261d47=_0x52bca1[_0x2e16('0x89')][_0x2e16('0x4a')];return _0x261d47&&_0x261d47['is'](_0x2e16('0x128'));}function Ut(_0x2af6e2,_0x426651){return null==_0x2af6e2[_0x2e16('0x4f')][_0x2e16('0x77')]&&_0x2af6e2['end'][_0x2e16('0x14f')]==_0x2af6e2[_0x2e16('0x89')][_0x2e16('0x4a')]?Ot(_0x2af6e2['start'][_0x2e16('0x4a')],_0x426651):_0x2af6e2;}function Ot(_0x4e6c88,_0x387d70){const _0x3ba1a3=_0x387d70['schema']['isObject'](_0x4e6c88)||_0x387d70[_0x2e16('0xc4')][_0x2e16('0x5f')](_0x4e6c88);return _0x387d70[_0x2e16('0xc8')](_0x387d70[_0x2e16('0x5e')](_0x4e6c88,_0x2e16('0x96')),_0x3ba1a3?_0x387d70[_0x2e16('0x138')](_0x4e6c88):_0x387d70[_0x2e16('0x5e')](_0x4e6c88,_0x2e16('0x4f')));}function Gt(_0x1d8396,_0xe0a392,_0x1fcf73,_0x2294c2,_0x17db1b){if(!Ft(_0x1d8396,_0xe0a392))return!0x1;if(_0x1fcf73[_0x2e16('0x4f')][_0x2e16('0x25')](_0x2294c2[_0x2e16('0x89')]))return!0x0;if(_0x1d8396[_0x2e16('0xd8')]!=_0xe0a392['type'])return!0x1;if(!_0x1fcf73['end']['isTouching'](_0x2294c2['start']))return!0x1;const _0x3cb08b=_0x17db1b[_0x2e16('0xc8')](_0x1fcf73[_0x2e16('0x4f')],_0x2294c2[_0x2e16('0x89')])[_0x2e16('0xfe')]();for(const _0x4ce93d of _0x3cb08b)if(['elementStart',_0x2e16('0x153')][_0x2e16('0x99')](_0x4ce93d[_0x2e16('0xd8')])&&_0x17db1b[_0x2e16('0xc4')][_0x2e16('0xa3')](_0x4ce93d[_0x2e16('0xe8')]))return!0x1;return!0x0;}function Ft(_0x3d0696,_0x34d684,_0x3a948a=[]){return!(!_0x3d0696[_0x2e16('0x173')]||!_0x34d684[_0x2e16('0x173')])&&_0x146f35(_0x5cc797(_0x3d0696[_0x2e16('0x13c')],_0x3a948a),_0x5cc797(_0x34d684['attributes'],_0x3a948a));}function Pt(_0x433e1,_0x5ea5ee){const _0x15cd87=Lt(_0x433e1[_0x2e16('0x13c')]),_0x2bff3e=Lt(_0x5ea5ee);if(!_0x433e1[_0x2e16('0x173')])return!0x1;for(const _0x528a29 of Object[_0x2e16('0x3b')](_0x2bff3e))if(!_0x146f35(_0x15cd87[_0x528a29],_0x2bff3e[_0x528a29]))return!0x1;return!0x0;}function Lt(_0x1d4574){const _0x256107=Object['assign']({},_0x1d4574);return delete _0x256107[_0x2e16('0xe1')],delete _0x256107['tablePasteChainId'],_0x256107;}
|
|
23
|
+
const _0x4f43=['_breakSuggestionMarker','_isDataLoaded','getSuggestions','track-changes-command-not-found','end','previous','assign','model','setSelection','markDeletion','createdAt','getFirstRange','ready','conversion','filter','getMultiRangeId','_inlineAttributeKeys','acceptSuggestion','tablePasteChainId','elementEnd','trackChanges','_rangeIsInLocalUserInsertion','getIntersection','createRangeOn','addSuggestionData','registerPostFixer','value','attribute:accept','howMany','mapper','suggestionUnloaded','multi','unbindElementFromMarkerName','batch','LEAVE','_afterChanges','author','map','suggestion','getWalker','_onDiscard','attributeNewValue','getMarkers','acceptSelectedSuggestions','addRange','stop','_trackFormatChanges','define','size','containsRange','newRange','isCollapsed','createPositionAfter','markAttributeChange','$elementName','discardSuggestion','documentSelection','isEqual','get','split','getNearestSelectionRange','_handleNewSuggestionMarker','collaboration.channelId','showSuggestionHighlights','PENDING_ACTION_SUGGESTION','isObject','change:data','isDocumentOperation','isExternal','announce','$graveyard','addUser','_saved','attribute:join','formatInline:','detach','isTouching','_adapter','upcast','_reduceExistingSuggestions','isBefore','insertion:discard','splitPosition','getUser','_processAttributeChanges','_SUGGESTION_ANNOUNCEMENT','splice','isIntersectingWithRange','insertion:','data','oldRange','dataToMarker','deleteContent','unbind','_recordAttributeSuggestions','low','hasCommentThread','hasSuggestion','_registerBlockAttribute','length','_editor','_refreshSuggestionsChain','track-changes-adapter-missing-getsuggestion','return','after','change:activeMarkers','_defaultCallbacks','for','skipNestingCheck','item','_reduceSuggestionAttributeRange','_isBlockAttribute','markMultiRangeDeletion','getRange','acceptAllSuggestions','$text','updateMarker','deletion:accept','suggestion:attribute:','enableReadOnlyMode','isNextTo','removeMarker:suggestion:attribute','formatInline','subType','_processAttributeSuggestions','backward','isAfter','deletion:discard','getAllAdjacentSuggestions','position','formatInline:accept','add','rootName','change','key','isBlock','_setSuggestionData','removeClass','commentThread','type','containsPosition','attribute','oldValue','FORMATTING','registerCustomCallback','getDifference','addHighlight','set','isLocal','createRange','markerReady','nodeAfter','dataDowncast','formatGroupId','every','isSelectable','toViewElement','forceDefaultExecution','head','isLimit','discard','deletion:','attributes','attribute:discard','track-changes-enable-command-twice','buildSuggestion','attributeKey','range','pluginName','formatInline:discard','getSuggestionCallback','then','move','forward','insertion:chain','removeMarkers','activeMarkers','getChanges','@external','isIntersecting','suggestion:','groupId','ck-suggestion-marker-','consume','formatInline:chain','addCommentThread','editingDowncast','_element','getChangedMarkers','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','join','createRangeIn','accept','toUpperCase','remove','some','rethrowUnexpectedError','init','trackChanges.trackFormatChanges','removeAttribute','hasComments','suggestion-type','_joinSuggestions','high','containerElement','getRanges','markMultiRangeInsertion','insertContent','never','commands','multipleBlocks','catch','warn','isAtStart','includes','isOwn','trackChangesCommand','_registerInlineAttribute','elementStart','containsRangeInObject','enqueueChange','updateSuggestion','unshift','markInsertion','resolve','concat','fromCharCode','addMarkerName','_suggestionFactory','_getSuggestionData','keys','_suggestionState','insertion:join','_cutOutSuggestionMarker','default','getItems','suggestionChanged','_removeSuggestion','comments','_getMarkerAnnouncementText','group','markerName','setTo','removeMarker','createPositionAt','discardSelectedSuggestions','markInlineFormat','fire','deletion:join','editor','_blockAttributeKeys','clone','chain','consumable','_getAttributeKey','_getExternalAuthor','$textProxy','insertion:accept','_checkSuggestionCorrectness','sort','marker-count','_splitMarkerName','isMultiRange','creator','addMarker','addComment','data-suggestion','forEach','addMarker:suggestion:attribute','addSuggestion','$marker','execute','from','_isForcedDefaultExecutionBlock','nodeBefore','widget','always','deletion','getCustomProperty','schema','_addThreadToSuggestion','setAttribute','elementToElement','startsWith','addMarker:suggestion:formatBlock','getLastMatchingPosition','delete','containsItem','plugins','requires','_setSuggestionRange','highest','start','rename','_descriptionFactory','_createSuggestion','ck-suggestion-marker','getAttribute','PendingActions','track-changes-suggestion-data-mismatch','getSuggestion','fetchCommentThread','authoredAt','clear','commandName','_mergeNestedSuggestions','markerToHighlight','listenTo','CommentsRepository','insertion','values','_isRegisteredAttribute','moveTargetPosition','writer','differ','formatBlock','insert','_findSuggestions','isInsideObject','substr','_refreshAttributeSuggestionsChain','substring','name','_addSuggestionMarker','adapter','targetPosition','has','ariaLiveAnnouncer','root','_getAuthorFromId','push','_model','dataReady','enableCommand','Users','isRemovable','find','suggestionLoaded','refresh','_recordAttributeChanges','getFirstMarker','getAncestors','notReady','newValue','_updateSuggestionData','ck-suggestion-marker-formatBlock','formatBlock:discard','options','createSelection','selection','applyOperation','discardAllSuggestions','next','locale','isInContent','update:suggestion','ck-suggestion-marker--active','trackChanges.mergeNestedSuggestions','_joinWithAdjacentSuggestions','_commentsRepository','attributeOldValue','accepted','document','_suggestions','meta','originalSuggestionId','markerNameToElements','config','parent','before','formatBlock:','_customCallbacks','formatBlock:accept','isAtEnd','_enabledCommands','_initAriaMarkerChangeAnnouncements'];(function(_0x3a7cbb,_0x4f43b5){const _0x187100=function(_0x126abb){while(--_0x126abb){_0x3a7cbb['push'](_0x3a7cbb['shift']());}};_0x187100(++_0x4f43b5);}(_0x4f43,0x159));const _0x1871=function(_0x3a7cbb,_0x4f43b5){_0x3a7cbb=_0x3a7cbb-0x0;let _0x187100=_0x4f43[_0x3a7cbb];return _0x187100;};import{Plugin as _0x15ce80,PendingActions as _0x266458}from'ckeditor5/src/core.js';import{LiveRange as _0x190336}from'ckeditor5/src/engine.js';import{CKEditorError as _0x24b5be,uid as _0x3e11ea,priorities as _0x58a9df,logWarning as _0x11b174}from'ckeditor5/src/utils.js';import{toWidget as _0x23a4d1}from'ckeditor5/src/widget.js';import{Users as _0x41debe,hashObject as _0x25e8fa,surroundingMarkersDetector as _0x13cdd5}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x898ff3 from'./commands/trackchangescommand.js';import _0x1d703f from'./commands/acceptsuggestioncommand.js';import _0x80516d from'./commands/discardsuggestioncommand.js';import _0x4ed6df from'./commands/executeonallsuggestionscommand.js';import _0x53036d from'./commands/executeonselectedsuggestionscommand.js';import _0x3e227c from'./suggestion.js';import _0x8982a from'./suggestiondescriptionfactory.js';import _0x232e7b from'./integrations/aiassistant.js';import _0x3146af from'./integrations/alignment.js';import _0x58dd11 from'./integrations/basicstyles.js';import _0x57d49a from'./integrations/blockquote.js';import _0x5587e8 from'./integrations/casechange.js';import _0x4aec43 from'./integrations/ckbox.js';import _0x2bc1d4 from'./integrations/codeblock.js';import _0x579758 from'./integrations/comments.js';import _0x4e84c2 from'./integrations/deletecommand.js';import _0x35e5c9 from'./integrations/list.js';import _0x3f2c9a from'./integrations/listproperties.js';import _0xf31259 from'./integrations/entercommand.js';import _0x5736af from'./integrations/findandreplace.js';import _0x2bfef2 from'./integrations/font.js';import _0xfa2d8c from'./integrations/formatpainter.js';import _0x23b584 from'./integrations/heading.js';import _0x539887 from'./integrations/highlight.js';import _0x49c7a8 from'./integrations/horizontalline.js';import _0x5adafb from'./integrations/htmlembed.js';import _0x2d1ea2 from'./integrations/image.js';import _0x766031 from'./integrations/imagereplace.js';import _0x2a7414 from'./integrations/imagestyle.js';import _0x44c1dd from'./integrations/importword.js';import _0x3853b7 from'./integrations/indent.js';import _0x383cf9 from'./integrations/inputcommand.js';import _0x54c430 from'./integrations/link.js';import _0x4162b0 from'./integrations/legacylist.js';import _0x2ca5c2 from'./integrations/legacylistproperties.js';import _0xd64ba9 from'./integrations/mediaembed.js';import _0x5d266f from'./integrations/mention.js';import _0x48ddee from'./integrations/pagebreak.js';import _0x2c25d2 from'./integrations/paragraph.js';import _0x317528 from'./integrations/removeformat.js';import _0x5a71cb from'./integrations/restrictededitingmode.js';import _0x241ca4 from'./integrations/shiftentercommand.js';import _0x26c029 from'./integrations/standardeditingmode.js';import _0x136bc1 from'./integrations/style.js';import _0x233d68 from'./integrations/table.js';import _0x4b47bd from'./integrations/tablemergesplit.js';import _0x3ac5bf from'./integrations/tableheadings.js';import _0x242328 from'./integrations/tableclipboard.js';import _0x4c8a38 from'./integrations/tablecolumnresize.js';import _0x1dcdc9 from'./integrations/template.js';import _0x3b5be4 from'./integrations/tableofcontents.js';import _0x1b37a0 from'./integrations/title.js';import _0x3230ce from'./integrations/undo.js';import _0x4e7741 from'./integrations/tablecaption.js';import _0x16e642 from'./integrations/tableproperties.js';import{getTranslation as _0x33b9dc}from'./utils/common-translations.js';import{isEqual as _0x373ca2,omit as _0x5377cc}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x15ce80{static get[_0x1871('0x140')](){return['CommentsRepository',_0x41debe,_0x266458,_0x232e7b,_0x3146af,_0x58dd11,_0x57d49a,_0x4aec43,_0x5587e8,_0x2bc1d4,_0x579758,_0x4e84c2,_0xf31259,_0x5736af,_0x2bfef2,_0xfa2d8c,_0x23b584,_0x539887,_0x49c7a8,_0x5adafb,_0x2d1ea2,_0x2a7414,_0x766031,_0x44c1dd,_0x3853b7,_0x383cf9,_0x4162b0,_0x2ca5c2,_0x54c430,_0x35e5c9,_0x3f2c9a,_0xd64ba9,_0x5d266f,_0x48ddee,_0x2c25d2,_0x317528,_0x5a71cb,_0x241ca4,_0x26c029,_0x136bc1,_0x233d68,_0x4b47bd,_0x3ac5bf,_0x4e7741,_0x242328,_0x4c8a38,_0x3b5be4,_0x16e642,_0x1dcdc9,_0x1b37a0,_0x3230ce];}static get[_0x1871('0xc7')](){return'TrackChangesEditing';}constructor(_0x407ea5){function _0x50dd33(_0x595725){return _0x595725[_0x1871('0x44')](_0x14a435=>String[_0x1871('0x101')](_0x14a435))[_0x1871('0xdd')]('');}super(_0x407ea5),this[_0x1871('0x7d')]=!0x1,this[_0x1871('0xb2')]('activeMarkers',[]),this['on'](_0x1871('0x88'),(_0x3c6440,_0x15a050,_0x4ae201,_0x3dc5e5)=>{this[_0x1871('0x16a')]['change'](()=>{for(const _0x5d5972 of[..._0x3dc5e5,..._0x4ae201])this[_0x1871('0x16a')]['markers'][_0x1871('0x165')](_0x5d5972)&&_0x407ea5['editing']['reconvertMarker'](_0x5d5972);});}),this[_0x1871('0x145')]=new _0x8982a(this[_0x1871('0x118')]['model']['schema'],this[_0x1871('0x118')][_0x1871('0x8')]),this[_0x1871('0x6c')]=null,this['_suggestionFactory']=new Bt(this[_0x1871('0x118')]),this['_suggestions']=new Map(),this[_0x1871('0xe')]=_0x407ea5[_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x153')),this[_0x1871('0x1d')]=new Set(),this[_0x1871('0x16a')]=this[_0x1871('0x118')][_0x1871('0x26')],this['_suggestionState']=new WeakMap(),this[_0x1871('0x130')]=!0x1,this[_0x1871('0x119')]=new Set([_0x1871('0x55')]),this[_0x1871('0x2f')]=new Set(),_0x407ea5[_0x1871('0x16')][_0x1871('0x4e')](_0x1871('0xe5'),_0x1871('0x109')),this[_0x1871('0x4d')]=_0x407ea5[_0x1871('0x16')]['get'](_0x1871('0xe5')),_0x407ea5['config'][_0x1871('0x4e')](_0x1871('0xc'),!0x0),this[_0x1871('0x150')]=_0x407ea5[_0x1871('0x16')]['get'](_0x1871('0xc')),this['trackChangesCommand']=new _0x898ff3(_0x407ea5,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x50dd33([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x50dd33([0x34,0x30,0x34,0x38,0x30,0x32,0x33,0x36]);}[_0x1871('0xe4')](){const _0x319ee2=this[_0x1871('0x118')],_0x3be87c=(_0x592a79,_0x397698)=>{if(_0x1871('0xac')!=_0x592a79)return _0x1871('0xd5')+_0x592a79;const _0x36b964=_0x397698[_0x1871('0x5a')]('|')[0x0];return this[_0x1871('0x8e')](_0x36b964)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x319ee2['conversion'][_0x1871('0x8a')](_0x1871('0xd9'))[_0x1871('0x151')]({'model':'suggestion','view':_0x1c4aaa=>{const {id:_0x1086f1,type:_0x169096,subType:_0x43f05b}=this['_splitMarkerName'](_0x1c4aaa[_0x1871('0x110')]),_0x392bbb=[_0x1871('0x147'),_0x3be87c(_0x169096,_0x43f05b)];let _0x367618=0xbb8;return this[_0x1871('0xcf')][_0x1871('0xf5')](_0x1c4aaa[_0x1871('0x110')])&&(_0x392bbb[_0x1871('0x169')](_0x1871('0xb')),_0x367618=0xbc2),_0x1871('0x134')==_0x169096&&(_0x367618+=0x5),{'classes':_0x392bbb,'attributes':{'data-suggestion':_0x1086f1},'priority':_0x367618};}}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0xb7'))['add'](_0x35503f=>{_0x35503f['on']('addMarker:suggestion',(_0x3ae932,_0x2f8141,_0x3130ea)=>{if(!_0x3130ea['options'][_0x1871('0x5e')])return;const _0xd3a5b7=_0x2f8141[_0x1871('0x8c')];if(!_0xd3a5b7)return;const _0x16534a=_0x3130ea[_0x1871('0x3c')]['toViewElement'](_0xd3a5b7);_0x319ee2[_0x1871('0x26')][_0x1871('0x136')][_0x1871('0x60')](_0xd3a5b7)&&_0x16534a&&!_0x16534a[_0x1871('0x135')](_0x1871('0x132'))&&_0x16534a['is'](_0x1871('0xeb'))&&_0x23a4d1(_0x16534a,_0x3130ea[_0x1871('0x158')]);},{'priority':_0x1871('0xea')});}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0xb7'))['markerToHighlight']({'model':'suggestion','view':(_0x3113a0,_0x27cdb6)=>{if(!_0x27cdb6[_0x1871('0x2')][_0x1871('0x5e')])return null;const {type:_0x1239e8,subType:_0x138b7c}=this[_0x1871('0x124')](_0x3113a0[_0x1871('0x110')]);return{'classes':[_0x1871('0x147'),_0x3be87c(_0x1239e8,_0x138b7c)],'priority':0xbb8};}});const _0x1ba69c=({showActiveMarkers:_0x280b2b=!0x0,isAttributeSuggestion:_0x510f32=!0x1}={})=>(_0x450ca1,_0x4df287,_0x5d637e)=>{if(!_0x4df287[_0x1871('0x8c')])return;const {id:_0x256776}=this[_0x1871('0x124')](_0x4df287[_0x1871('0x110')]);if(_0x510f32){const _0x222f6e=this[_0x1871('0x12')]['get'](_0x256776),_0x5a2729=this['_getAttributeKey'](_0x222f6e);if(!this[_0x1871('0x8e')](_0x5a2729))return;}if(_0x4df287['item']['is'](_0x1871('0x4')))return void _0x5d637e['consumable']['consume'](_0x4df287['item'],_0x450ca1[_0x1871('0x161')]);const _0x55fae6=_0x5d637e[_0x1871('0x3c')][_0x1871('0xbb')](_0x4df287['item']);if(_0x4df287[_0x1871('0x8c')]['is']('element')&&_0x319ee2[_0x1871('0x26')][_0x1871('0x136')][_0x1871('0xa6')](_0x4df287['item'])&&!_0x55fae6['getCustomProperty'](_0x1871('0xb1'))){_0x5d637e[_0x1871('0x158')]['addClass']([_0x1871('0x147'),_0x1871('0x0')],_0x55fae6),_0x5d637e['writer'][_0x1871('0x138')](_0x1871('0x129'),_0x256776,_0x55fae6),_0x5d637e[_0x1871('0x3c')]['bindElementToMarker'](_0x55fae6,_0x4df287['markerName']),_0x280b2b&&(this[_0x1871('0xcf')]['includes'](_0x4df287[_0x1871('0x110')])?_0x5d637e['writer']['addClass']('ck-suggestion-marker--active',_0x55fae6):_0x5d637e[_0x1871('0x158')][_0x1871('0xa8')](_0x1871('0xb'),_0x55fae6));for(const _0x1467b9 of _0x319ee2[_0x1871('0x26')][_0x1871('0xde')](_0x4df287[_0x1871('0x8c')])[_0x1871('0x10a')]())_0x5d637e[_0x1871('0x11c')]['consume'](_0x1467b9,_0x450ca1['name']);_0x5d637e['consumable'][_0x1871('0xd6')](_0x4df287['item'],_0x450ca1[_0x1871('0x161')]);}};_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')]('dataDowncast')[_0x1871('0xa2')](_0x7d0456=>{_0x7d0456['on'](_0x1871('0x13b'),(_0x50cb44,_0x1501a3,_0x353292)=>{_0x353292[_0x1871('0x2')][_0x1871('0x5e')]&&_0x1ba69c({'showActiveMarkers':!0x1})(_0x50cb44,_0x1501a3,_0x353292);},{'priority':_0x1871('0x142')});}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0xb7'))[_0x1871('0xa2')](_0x40a6f4=>{_0x40a6f4['on'](_0x1871('0x12b'),(_0x252929,_0x3d34d0,_0xee599c)=>{_0xee599c[_0x1871('0x2')][_0x1871('0x5e')]&&_0x1ba69c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x252929,_0x3d34d0,_0xee599c);},{'priority':_0x1871('0x142')});}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')]('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x252b78,_0x30aa51)=>_0x30aa51['options'][_0x1871('0x5e')]?null:{'group':'suggestion','name':_0x252b78[_0x1871('0x15e')](0xb)}}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0x6d'))[_0x1871('0x139')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x353638,{writer:_0x5924b9})=>{let _0x481b96='suggestion:'+_0x353638[_0x1871('0x148')](_0x1871('0xe8'))+':'+_0x353638[_0x1871('0x148')]('id');return _0x353638[_0x1871('0x148')]('marker-count')&&(_0x481b96+=':'+_0x353638['getAttribute'](_0x1871('0x123'))),_0x5924b9['createElement'](_0x1871('0x12d'),{'data-name':_0x481b96});}}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0x6d'))[_0x1871('0x7a')]({'view':_0x1871('0x45')}),_0x319ee2['conversion'][_0x1871('0x8a')](_0x1871('0xd9'))['add'](_0x51b49d=>{_0x51b49d['on'](_0x1871('0x13b'),_0x1ba69c(),{'priority':_0x1871('0xea')});}),_0x319ee2[_0x1871('0x2c')]['for'](_0x1871('0xd9'))[_0x1871('0xa2')](_0xf02166=>{_0xf02166['on'](_0x1871('0x12b'),_0x1ba69c({'isAttributeSuggestion':!0x0}),{'priority':_0x1871('0xea')});}),_0x319ee2[_0x1871('0x2c')]['for'](_0x1871('0xd9'))['add'](_0x38d115=>{_0x38d115['on']('removeMarker:suggestion:formatBlock',(_0xa3563a,_0x3132dc,_0x416736)=>{const _0xa27be=_0x416736[_0x1871('0x3c')][_0x1871('0x15')](_0x3132dc[_0x1871('0x110')]);if(_0xa27be)for(const _0x401651 of _0xa27be)_0x401651[_0x1871('0x135')](_0x1871('0xb1'))||(_0x416736[_0x1871('0x158')][_0x1871('0xa8')](['ck-suggestion-marker',_0x1871('0x0'),'ck-suggestion-marker--active'],_0x401651),_0x416736[_0x1871('0x158')][_0x1871('0xe6')]('data-suggestion',_0x401651),_0x416736['mapper'][_0x1871('0x3f')](_0x401651,_0x3132dc[_0x1871('0x110')]));},{'priority':_0x1871('0xea')});}),_0x319ee2[_0x1871('0x2c')][_0x1871('0x8a')](_0x1871('0xd9'))['add'](_0x561376=>{_0x561376['on'](_0x1871('0x98'),(_0x365086,_0x439a1d,_0x23aa80)=>{const _0x496f91=_0x23aa80[_0x1871('0x3c')][_0x1871('0x15')](_0x439a1d[_0x1871('0x110')]);if(!_0x496f91)return;const {id:_0x1e813f}=this[_0x1871('0x124')](_0x439a1d['markerName']),_0x54e34b=this[_0x1871('0x12')]['get'](_0x1e813f),_0x4c1d34=this['_getAttributeKey'](_0x54e34b);if(this[_0x1871('0x8e')](_0x4c1d34))for(const _0x14ab1a of _0x496f91)_0x14ab1a['getCustomProperty']('addHighlight')||(_0x23aa80['writer'][_0x1871('0xa8')](['ck-suggestion-marker',_0x1871('0x0'),_0x1871('0xb')],_0x14ab1a),_0x23aa80['writer']['removeAttribute'](_0x1871('0x129'),_0x14ab1a),_0x23aa80['mapper']['unbindElementFromMarkerName'](_0x14ab1a,_0x439a1d[_0x1871('0x110')]));},{'priority':_0x1871('0xea')});}),_0x319ee2['model'][_0x1871('0x11')]['registerPostFixer'](_0x16094a=>{let _0x11fb8f=!0x1;const _0x471605=Array[_0x1871('0x12f')](_0x319ee2[_0x1871('0x26')]['document'][_0x1871('0x159')][_0x1871('0xdb')]()),_0x5711ed=new Set();for(const {name:_0x21c336,data:_0x1c048c}of _0x471605){const {group:_0x4a5980,type:_0x34c9d9,subType:_0x32f6c2,id:_0x282b21}=this[_0x1871('0x124')](_0x21c336);if(_0x1871('0x45')!==_0x4a5980)continue;const _0x3b4a42=this[_0x1871('0x12')][_0x1871('0x59')](_0x282b21);if(null!=_0x1c048c[_0x1871('0x51')]){'formatInline'==_0x34c9d9&&(_0x11fb8f=_0x11fb8f||Tt(_0x1c048c['newRange'],_0x21c336,_0x16094a,_0x319ee2[_0x1871('0x26')][_0x1871('0x136')]));const _0x3a03d4=_0x1871('0xac')==_0x34c9d9&&this['_isBlockAttribute'](_0x32f6c2[_0x1871('0x5a')]('|')[0x0]);if(_0x1c048c['newRange'][_0x1871('0x52')]||_0x1871('0x65')==_0x1c048c['newRange'][_0x1871('0x167')][_0x1871('0xa3')]||'formatBlock'==_0x34c9d9&&!Vt(_0x1c048c['newRange'])||_0x3a03d4&&!Vt(_0x1c048c['newRange'])||_0x1871('0x134')==_0x34c9d9&&!(!Rt(_0x5e4bb5=_0x1c048c[_0x1871('0x51')])&&!function(_0x26f6eb){return _0x26f6eb[_0x1871('0x143')][_0x1871('0x17')]==_0x26f6eb[_0x1871('0x23')][_0x1871('0x131')]&&_0x26f6eb[_0x1871('0x143')][_0x1871('0x1c')];}(_0x5e4bb5)))_0x16094a[_0x1871('0x112')](_0x21c336),_0x11fb8f=!0x0;else{if(!_0x3b4a42||!_0x3b4a42['isInContent'])continue;_0x5711ed[_0x1871('0xa2')](_0x3b4a42);}}}var _0x5e4bb5;return _0x5711ed['size']>0x0&&(_0x11fb8f=!!this['_joinWithAdjacentSuggestions'](_0x5711ed)||_0x11fb8f),_0x11fb8f;}),_0x319ee2[_0x1871('0x26')][_0x1871('0x11')]['registerPostFixer'](_0x15eca8=>{let _0x50be18=!0x1;for(const _0x483c9d of _0x319ee2['model'][_0x1871('0x11')][_0x1871('0x159')][_0x1871('0xd0')]())if(_0x1871('0x15b')==_0x483c9d[_0x1871('0xaa')])for(const _0x15bf49 of this[_0x1871('0x12')][_0x1871('0x155')]()){if(_0x15bf49[_0x1871('0x125')]||!_0x15bf49['isInContent'])continue;const _0x9c15c='formatBlock'==_0x15bf49[_0x1871('0xaa')],_0x42b415=this[_0x1871('0x11d')](_0x15bf49),_0x1cbb52=_0x42b415&&this['_isBlockAttribute'](_0x42b415);if(!_0x9c15c&&!_0x1cbb52)continue;const _0x34955d=_0x15bf49['getFirstRange']();if(_0x34955d[_0x1871('0x143')]['parent']!=_0x34955d['end'][_0x1871('0x17')]&&!_0x34955d[_0x1871('0x23')]['isAtEnd']){const _0x4f5ac0=_0x319ee2['model'][_0x1871('0x113')](_0x34955d[_0x1871('0x143')]['nodeAfter'],_0x1871('0x23')),_0x2600a7=_0x319ee2['model'][_0x1871('0xb4')](_0x34955d[_0x1871('0x143')],_0x4f5ac0);_0x15eca8[_0x1871('0x93')](_0x15bf49[_0x1871('0x173')](),{'range':_0x2600a7}),_0x50be18=!0x0;}}return _0x50be18;}),_0x319ee2[_0x1871('0x26')]['document'][_0x1871('0x38')](_0x1a3805=>this[_0x1871('0x73')](_0x1a3805)),_0x319ee2[_0x1871('0x26')]['document'][_0x1871('0x38')](_0x2e0442=>!_0x2e0442[_0x1871('0x40')]['isLocal']&&this[_0x1871('0x9b')](_0x2e0442)),_0x319ee2[_0x1871('0x26')]['on'](_0x1871('0x42'),()=>{this[_0x1871('0x7d')]=!0x1;}),_0x319ee2[_0x1871('0x26')][_0x1871('0x11')]['on'](_0x1871('0x61'),(_0x44bccc,_0x2035b0)=>{if(!_0x2035b0[_0x1871('0xb3')]||_0x2035b0['isUndo'])return;if(!this[_0x1871('0x7d')])return;const _0x583f67=_0x319ee2['model'][_0x1871('0x11')][_0x1871('0x159')][_0x1871('0xd0')]();if(0x0==_0x583f67[_0x1871('0x82')])return;const _0xe2ebbb=[],_0x342933=_0x583f67[_0x1871('0x2d')](_0x4e7998=>_0x1871('0xac')==_0x4e7998[_0x1871('0xaa')]),_0x78a905=_0x583f67[_0x1871('0x2d')](_0x278989=>_0x1871('0x15b')==_0x278989[_0x1871('0xaa')]&&_0x1871('0x92')!=_0x278989['name']),_0x324993=_0x583f67[_0x1871('0x2d')](_0x579cac=>'remove'==_0x579cac['type']&&_0x1871('0x92')!=_0x579cac[_0x1871('0x161')]);for(const _0x21675d of _0x342933)this[_0x1871('0x156')](_0x21675d[_0x1871('0xc5')])&&_0xe2ebbb[_0x1871('0x169')]({'key':_0x21675d[_0x1871('0xc5')],'newValue':_0x21675d['attributeNewValue'],'oldValue':_0x21675d['attributeOldValue'],'range':Ut(_0x21675d[_0x1871('0xc6')],_0x319ee2[_0x1871('0x26')])});for(const _0x299182 of _0x78a905){const _0x4aedce=_0x324993[_0x1871('0x16f')](_0xe74e39=>_0xe74e39[_0x1871('0xda')]===_0x299182[_0x1871('0xda')]);if(_0x4aedce){const _0x304105=Ot(_0x299182[_0x1871('0xa0')][_0x1871('0xb6')],_0x319ee2[_0x1871('0x26')]);_0x4aedce[_0x1871('0x161')]!==_0x299182[_0x1871('0x161')]&&_0xe2ebbb[_0x1871('0x169')]({'key':_0x1871('0x55'),'newValue':_0x299182['name'],'oldValue':_0x4aedce[_0x1871('0x161')],'range':_0x304105});for(const [_0x524f78,_0x3cbbeb]of _0x4aedce['attributes']){if(!this[_0x1871('0x156')](_0x524f78))continue;const _0x13911d=_0x299182['attributes'][_0x1871('0x59')](_0x524f78);_0x3cbbeb!==_0x13911d&&_0xe2ebbb[_0x1871('0x169')]({'key':_0x524f78,'newValue':_0x13911d,'oldValue':_0x3cbbeb,'range':_0x304105});}for(const [_0xa30308,_0x171a9b]of _0x299182[_0x1871('0xc1')])this[_0x1871('0x156')](_0xa30308)&&(_0x4aedce['attributes']['has'](_0xa30308)||_0xe2ebbb[_0x1871('0x169')]({'key':_0xa30308,'newValue':_0x171a9b,'oldValue':null,'range':_0x304105}));}}0x0!=_0xe2ebbb[_0x1871('0x82')]&&_0x319ee2[_0x1871('0x26')][_0x1871('0xfb')](_0x2035b0,_0x317296=>{const _0xc71fd7=_0x3e11ea();for(const {range:_0x1eacf6,key:_0x20c726,oldValue:_0x2be495,newValue:_0x4bb130}of _0xe2ebbb)this[_0x1871('0x54')](_0x1eacf6,_0x20c726,_0x2be495,_0x4bb130,{'groupId':_0xc71fd7});this['_reduceExistingSuggestions'](_0x317296,_0xe2ebbb);});},{'priority':'lowest'}),_0x319ee2[_0x1871('0x26')]['markers']['on'](_0x1871('0xa'),(_0x46bc2a,_0x4f13cf,_0x267a6c)=>{if(null==_0x267a6c){const {id:_0x195621}=this[_0x1871('0x124')](_0x4f13cf[_0x1871('0x161')]),_0x23dc61=this['_suggestions'][_0x1871('0x59')](_0x195621);_0x23dc61&&_0x23dc61[_0x1871('0x102')](_0x4f13cf[_0x1871('0x161')]);}}),_0x319ee2[_0x1871('0x26')][_0x1871('0x11')]['on'](_0x1871('0x61'),()=>{const _0x2235e8=Array['from'](_0x319ee2['model'][_0x1871('0x11')][_0x1871('0x159')][_0x1871('0xdb')]())['filter'](_0x2e444b=>_0x1871('0x45')===this['_splitMarkerName'](_0x2e444b[_0x1871('0x161')])[_0x1871('0x10f')]);if(0x0===_0x2235e8['length'])return;_0x2235e8['sort']((_0x126aca,_0x54f22e)=>{const _0x479a9f=_0x126aca[_0x1871('0x78')][_0x1871('0x79')],_0x376220=_0x54f22e[_0x1871('0x78')][_0x1871('0x79')];return null===_0x479a9f&&null===_0x376220?0x0:null===_0x479a9f&&null!==_0x376220?-0x1:null!==_0x479a9f&&null===_0x376220?0x1:_0x479a9f[_0x1871('0x143')][_0x1871('0x6f')](_0x376220[_0x1871('0x143')])?-0x1:0x1;});const _0x483e46=new Set(),_0x5b9a77=new Set();for(const {name:_0x58d7ba,data:_0x28bf44}of _0x2235e8){const {id:_0x2bd32f}=this[_0x1871('0x124')](_0x58d7ba);if(null===_0x28bf44[_0x1871('0x79')]){const _0x21786e=this[_0x1871('0x5c')](_0x58d7ba);_0x5b9a77[_0x1871('0xa2')](_0x21786e);}else{const _0x3e165a=this[_0x1871('0x12')][_0x1871('0x59')](_0x2bd32f);null!==_0x28bf44[_0x1871('0x51')]||_0x3e165a[_0x1871('0x9')]?(_0x483e46[_0x1871('0xa2')](_0x3e165a[_0x1871('0xbd')]),_0x5b9a77[_0x1871('0xa2')](_0x3e165a)):this[_0x1871('0x10c')](_0x3e165a);}}_0x5b9a77[_0x1871('0x4f')]>0x0&&this[_0x1871('0x84')](_0x5b9a77);for(const _0x41b531 of _0x483e46)this['fire'](_0x1871('0x10b'),_0x41b531);}),_0x319ee2[_0x1871('0x26')]['on'](_0x1871('0x5'),(_0x476a47,_0x5ab51b)=>{const _0x4972a8=_0x5ab51b[0x0];if(!this[_0x1871('0x12')][_0x1871('0x4f')])return;if(!_0x4972a8[_0x1871('0x62')])return;if(_0x4972a8['batch']['isUndo']||!_0x4972a8[_0x1871('0x40')]['isLocal'])return;let _0x2ecf11,_0x1a8e9a;switch(_0x4972a8[_0x1871('0xaa')]){case _0x1871('0x15b'):_0x2ecf11=_0x319ee2[_0x1871('0x26')][_0x1871('0x113')](_0x4972a8[_0x1871('0xa0')]),_0x1a8e9a=_0x2ecf11['getShiftedBy'](_0x4972a8[_0x1871('0x3b')]);break;case'split':_0x2ecf11=_0x319ee2[_0x1871('0x26')][_0x1871('0x113')](_0x4972a8[_0x1871('0x71')]),_0x1a8e9a=_0x319ee2[_0x1871('0x26')][_0x1871('0x113')](_0x4972a8[_0x1871('0x157')]);break;case _0x1871('0xcb'):_0x2ecf11=_0x319ee2[_0x1871('0x26')][_0x1871('0x113')](_0x4972a8[_0x1871('0x164')]),_0x1a8e9a=_0x2ecf11['getShiftedBy'](_0x4972a8[_0x1871('0x3b')]);break;default:return;}const _0xadc6e4=_0x319ee2[_0x1871('0x26')][_0x1871('0xb4')](_0x2ecf11,_0x1a8e9a);_0x319ee2[_0x1871('0x26')][_0x1871('0xa4')](()=>{for(const {suggestion:_0x5d825f,meta:_0x5761c2}of this[_0x1871('0x15c')](_0xadc6e4)){if(_0x5d825f[_0x1871('0x125')])continue;if('formatInline'==_0x5d825f[_0x1871('0xaa')])continue;const _0x567337=this[_0x1871('0x11d')](_0x5d825f);if(_0x567337&&this['_isBlockAttribute'](_0x567337)&&_0x1871('0x5a')!=_0x4972a8[_0x1871('0xaa')])continue;const _0x5cb802=_0x5d825f[_0x1871('0x78')]&&_0x5d825f[_0x1871('0x78')]['multipleBlocks'];(_0x1871('0x15a')!=_0x5d825f[_0x1871('0xaa')]||_0x1871('0x5a')==_0x4972a8[_0x1871('0xaa')]&&!_0x5cb802)&&(_0x5761c2[_0x1871('0xfa')]||_0x1871('0x154')==_0x5d825f[_0x1871('0xaa')]&&_0x5761c2['isOwn']||_0x5d825f[_0x1871('0x2a')]()[_0x1871('0x50')](_0xadc6e4)&&this[_0x1871('0x1f')](_0x5d825f,_0x2ecf11,_0x1a8e9a));}});},{'priority':'lowest'}),_0x319ee2[_0x1871('0x26')]['on'](_0x1871('0x7b'),(_0x3a584b,_0x19daeb)=>{const _0xa0607b=_0x19daeb[0x0],_0x785a8a=_0x19daeb[0x1];if(_0x785a8a&&_0x785a8a[_0x1871('0xbc')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x1871('0xf7')][_0x1871('0x39')])return;if(_0xa0607b[_0x1871('0x52')])return;const _0x14d0cd=_0x319ee2[_0x1871('0x26')][_0x1871('0x136')],{start:_0x289684,end:_0x85f019}=_0xa0607b[_0x1871('0x2a')](),_0x367493=_0x289684['nodeAfter']&&_0x14d0cd[_0x1871('0xbe')](_0x289684['nodeAfter'])?null:_0x14d0cd[_0x1871('0x5b')](_0x289684,_0x1871('0xcc')),_0x8dd8c0=_0x85f019['nodeBefore']&&_0x14d0cd[_0x1871('0xbe')](_0x85f019[_0x1871('0x131')])?null:_0x14d0cd['getNearestSelectionRange'](_0x85f019,_0x1871('0x9c')),_0x3105cb=_0x319ee2[_0x1871('0x26')][_0x1871('0xb4')](_0x367493?_0x367493[_0x1871('0x143')]:_0x289684,_0x8dd8c0?_0x8dd8c0[_0x1871('0x23')]:_0x85f019);_0x319ee2[_0x1871('0x26')][_0x1871('0xa4')](_0x2601c6=>{this[_0x1871('0x28')](_0x3105cb);const _0x35991e=_0x319ee2['model'][_0x1871('0x136')]['getNearestSelectionRange'](_0x3105cb[_0x1871('0x143')]);_0xa0607b['is'](_0x1871('0x57'))?_0x2601c6[_0x1871('0x27')](_0x35991e):_0xa0607b[_0x1871('0x111')](_0x35991e);}),_0x3a584b[_0x1871('0x4c')]();},{'priority':_0x58a9df['normal']+0xa}),_0x319ee2[_0x1871('0x26')]['on']('insertContent',(_0x4e8640,_0x17a826)=>{const _0x275674=_0x17a826[_0x17a826['length']-0x1];_0x275674&&_0x275674[_0x1871('0xbc')]||this[_0x1871('0x130')]||this[_0x1871('0xf7')][_0x1871('0x39')]&&(_0x319ee2[_0x1871('0x26')][_0x1871('0xa4')](()=>{let _0x3714fb=_0x319ee2[_0x1871('0x26')][_0x1871('0xee')](_0x17a826[0x0],_0x17a826[0x1],_0x17a826[0x2],{'forceDefaultExecution':!0x0});if(!_0x3714fb)return;_0x4e8640[_0x1871('0x86')]=_0x3714fb[_0x1871('0x11a')]();const _0x53689c=_0x3714fb['end'][_0x1871('0x131')],_0x41f37e=_0x319ee2[_0x1871('0x26')]['schema'];_0x53689c&&_0x41f37e[_0x1871('0xa6')](_0x53689c)&&!_0x41f37e[_0x1871('0x60')](_0x53689c)&&(_0x3714fb=_0x319ee2[_0x1871('0x26')][_0x1871('0xb4')](_0x3714fb[_0x1871('0x143')],_0x319ee2[_0x1871('0x26')][_0x1871('0x113')](_0x53689c,'end'))),this['markInsertion'](_0x3714fb);}),_0x4e8640[_0x1871('0x4c')]());},{'priority':_0x1871('0xea')}),this[_0x1871('0x118')]['commands'][_0x1871('0xa2')](_0x1871('0x33'),this[_0x1871('0xf7')]),this[_0x1871('0x16c')](_0x1871('0x33'));const _0x2a1237=new _0x1d703f(_0x319ee2,this[_0x1871('0x12')]);_0x319ee2[_0x1871('0xf0')][_0x1871('0xa2')]('acceptSuggestion',_0x2a1237),this[_0x1871('0x16c')](_0x1871('0x30'));const _0x52a61d=new _0x80516d(_0x319ee2,this[_0x1871('0x12')]);_0x319ee2[_0x1871('0xf0')]['add']('discardSuggestion',_0x52a61d),this[_0x1871('0x16c')](_0x1871('0x56')),_0x319ee2[_0x1871('0xf0')][_0x1871('0xa2')](_0x1871('0x91'),new _0x4ed6df(_0x319ee2,_0x2a1237,this[_0x1871('0x12')])),this[_0x1871('0x16c')]('acceptAllSuggestions'),_0x319ee2[_0x1871('0xf0')][_0x1871('0xa2')](_0x1871('0x6'),new _0x4ed6df(_0x319ee2,_0x52a61d,this['_suggestions'])),this[_0x1871('0x16c')](_0x1871('0x6')),_0x319ee2['commands'][_0x1871('0xa2')](_0x1871('0x4a'),new _0x53036d(_0x319ee2,_0x2a1237,this[_0x1871('0x12')])),this[_0x1871('0x16c')]('acceptSelectedSuggestions'),_0x319ee2[_0x1871('0xf0')][_0x1871('0xa2')](_0x1871('0x114'),new _0x53036d(_0x319ee2,_0x52a61d,this[_0x1871('0x12')])),this[_0x1871('0x16c')]('discardSelectedSuggestions');const _0x50c47a=_0x319ee2[_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x153'));this[_0x1871('0x152')](_0x50c47a,_0x1871('0x128'),(_0x137664,{threadId:_0x56aec7})=>{const _0x366e42=this[_0x1871('0x12')][_0x1871('0x59')](_0x56aec7);_0x366e42&&_0x366e42['commentThread']&&0x1===_0x366e42[_0x1871('0xa9')]['length']&&this[_0x1871('0x177')](_0x56aec7,{'hasComments':!0x0});},{'priority':_0x1871('0x7e')}),this[_0x1871('0x152')](_0x50c47a,'removeComment',(_0x52cfd2,{threadId:_0x182fce})=>{const _0x1b763a=this[_0x1871('0x12')]['get'](_0x182fce);_0x1b763a&&_0x1b763a[_0x1871('0xa9')]&&!_0x1b763a['commentThread'][_0x1871('0x82')]&&this['_updateSuggestionData'](_0x182fce,{'hasComments':!0x1});},{'priority':_0x1871('0x7e')});}set[_0x1871('0x163')](_0x135905){if(this[_0x1871('0x6c')])throw new _0x24b5be('track-changes-adapter-already-set',this);this[_0x1871('0x6c')]=_0x135905;}get[_0x1871('0x163')](){return this['_adapter'];}[_0x1871('0x21')]({skipNotAttached:_0xd2e876=!0x1,toJSON:_0x122757=!0x1}={}){const _0xcb7a4a=[];for(const _0x3903cf of this['_suggestions'][_0x1871('0x155')]())_0xd2e876&&!_0x3903cf[_0x1871('0x9')]||_0xcb7a4a[_0x1871('0x169')](_0x3903cf);return _0x122757?_0xcb7a4a[_0x1871('0x44')](_0x2a5ff8=>_0x2a5ff8['toJSON']()):_0xcb7a4a;}['getSuggestion'](_0x124ed5){const _0x33c738=this['_suggestions']['get'](_0x124ed5);if(!_0x33c738)throw new _0x24b5be('track-changes-suggestion-not-found',this);return _0x33c738;}[_0x1871('0x80')](_0x1f919c){return this[_0x1871('0x12')][_0x1871('0x165')](_0x1f919c);}[_0x1871('0x37')](_0x4b2075){const {authorId:_0x279522,id:_0x52618a,attributes:_0x3cfd0f}=_0x4b2075,[_0x5d967d,_0x8f9609]=_0x4b2075[_0x1871('0xaa')][_0x1871('0x5a')](':'),_0x22054a=this[_0x1871('0x12')][_0x1871('0x59')](_0x52618a)||this[_0x1871('0x146')](_0x5d967d,_0x8f9609,_0x52618a,_0x279522,_0x3cfd0f);if(this[_0x1871('0x137')](_0x22054a),this[_0x1871('0x121')](_0x22054a,_0x5d967d,_0x8f9609||null,_0x279522),_0x22054a['createdAt']=_0x4b2075[_0x1871('0x29')],_0x22054a[_0x1871('0x20')]=!0x0,_0x3cfd0f&&_0x3cfd0f[_0x1871('0xd1')]){const _0x470c76=_0x3cfd0f[_0x1871('0xd1')],_0x295486=this[_0x1871('0x11e')](_0x470c76['authorName']);_0x22054a['authoredAt']=_0x470c76['createdAt'],_0x22054a['author']=_0x295486,_0x22054a[_0x1871('0x63')]=!0x0;}else _0x22054a[_0x1871('0x14d')]=_0x4b2075['createdAt'];switch(_0x4b2075[_0x1871('0x78')]&&(_0x22054a['data']=_0x4b2075[_0x1871('0x78')]),_0x4b2075[_0x1871('0xc1')]&&(_0x22054a[_0x1871('0xc1')]=_0x4b2075[_0x1871('0xc1')]),this[_0x1871('0x6c')]&&this[_0x1871('0x6c')]['addSuggestion']||(_0x22054a[_0x1871('0x67')]=!0x0),this[_0x1871('0x106')]['get'](_0x22054a)){case _0x1871('0x175'):this[_0x1871('0x106')][_0x1871('0xb2')](_0x22054a,'dataReady');break;case'markerReady':_0x22054a['isInContent']?(this[_0x1871('0xd')](new Set([_0x22054a])),this[_0x1871('0x84')](new Set([_0x22054a])),this[_0x1871('0x106')][_0x1871('0xb2')](_0x22054a,_0x1871('0x2b')),this['fire'](_0x1871('0x170'),_0x22054a)):this[_0x1871('0x106')][_0x1871('0xb2')](_0x22054a,'removed');}return _0x22054a;}[_0x1871('0x30')](_0x4e6ce8){this[_0x1871('0xbc')](()=>{this[_0x1871('0x118')][_0x1871('0x26')][_0x1871('0xa4')](()=>{for(const _0x155c1a of _0x4e6ce8[_0x1871('0x9f')]())_0x155c1a[_0x1871('0xdf')]();});});}['discardSuggestion'](_0x416082){this[_0x1871('0xbc')](()=>{this[_0x1871('0x118')][_0x1871('0x26')][_0x1871('0xa4')](()=>{for(const _0xf11f99 of _0x416082[_0x1871('0x9f')]())_0xf11f99[_0x1871('0xbf')]();});});}[_0x1871('0x16c')](_0xd8b59a,_0x5e34c0){const _0xc3ebe=this[_0x1871('0x118')][_0x1871('0xf0')][_0x1871('0x59')](_0xd8b59a);if(!_0xc3ebe)throw new _0x24b5be(_0x1871('0x22'),this,{'commandName':_0xd8b59a});if(this[_0x1871('0x1d')][_0x1871('0x165')](_0xc3ebe))throw new _0x24b5be(_0x1871('0xc3'),this,{'commandName':_0xd8b59a});this['_enabledCommands'][_0x1871('0xa2')](_0xc3ebe),_0x5e34c0&&_0xc3ebe['on'](_0x1871('0x12e'),(_0x533ac2,_0x1fc262)=>{this['trackChangesCommand'][_0x1871('0x39')]&&(this[_0x1871('0x130')]||(_0x1fc262[_0x1871('0x82')]>0x0&&_0x1fc262[_0x1fc262[_0x1871('0x82')]-0x1]&&_0x1fc262[_0x1fc262['length']-0x1][_0x1871('0xbc')]?_0x1fc262['pop']():(_0x533ac2[_0x1871('0x86')]=_0x5e34c0((..._0x4f1634)=>_0xc3ebe[_0x1871('0x12e')](..._0x4f1634,{'forceDefaultExecution':!0x0}),..._0x1fc262),_0x533ac2[_0x1871('0x4c')]())));},{'priority':_0x1871('0xea')});}[_0x1871('0xbc')](_0x5d3a33){let _0xdca913,_0x2284de;const _0x14c20e=this[_0x1871('0x130')];this[_0x1871('0x130')]=!0x0;try{_0xdca913=_0x5d3a33();}catch(_0x48a9ae){_0x2284de=_0x48a9ae;}return _0x14c20e||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x2284de&&_0x24b5be[_0x1871('0xe3')](_0x2284de,this),_0xdca913;}[_0x1871('0xfe')](_0x30182b,_0x2e81ec=null,_0x1dff16={}){if(_0x30182b[_0x1871('0x52')])return null;const _0x204d30=this[_0x1871('0x118')][_0x1871('0x13f')][_0x1871('0x59')]('Users')['me'];for(const {suggestion:_0x274534,meta:_0x179fd7}of this[_0x1871('0x15c')](_0x30182b,_0x1871('0x154')))if(_0x179fd7[_0x1871('0xf6')]){if(!_0x179fd7['isNextTo']){if(_0x179fd7[_0x1871('0xfa')]){if(!this[_0x1871('0x150')]||!Pt(_0x274534,_0x1dff16))continue;return _0x274534;}if(Pt(_0x274534,_0x1dff16))return _0x274534;this[_0x1871('0x1f')](_0x274534,_0x30182b[_0x1871('0x143')],_0x30182b[_0x1871('0x23')]);break;}if(_0x2e81ec==_0x274534[_0x1871('0x9a')]&&Pt(_0x274534,_0x1dff16)){const _0xde30fb=_0x274534[_0x1871('0x2a')]();return _0xde30fb[_0x1871('0x143')][_0x1871('0x58')](_0x30182b['end'])?this[_0x1871('0x141')](_0x274534,this[_0x1871('0x16a')][_0x1871('0xb4')](_0x30182b[_0x1871('0x143')],_0xde30fb[_0x1871('0x23')])):this[_0x1871('0x141')](_0x274534,this[_0x1871('0x16a')][_0x1871('0xb4')](_0xde30fb[_0x1871('0x143')],_0x30182b[_0x1871('0x23')])),_0x274534;}}const _0x1801ce=_0x3e11ea(),_0x1da502=_0x204d30['id'],_0x2a5d08=_0x2e81ec?_0x1871('0x77')+_0x2e81ec:_0x1871('0x154'),_0x51bd4a=this['_setSuggestionData']({'id':_0x1801ce,'type':_0x2a5d08,'createdAt':new Date(),'authorId':_0x1da502,'attributes':_0x1dff16});return this[_0x1871('0x162')](_0x2a5d08,_0x1801ce,_0x1da502,_0x30182b),_0x51bd4a;}[_0x1871('0xed')](_0x58853a,_0x11a926='multi',_0x21e609={}){const _0x2a8ac1=this[_0x1871('0x118')][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x16d'))['me'],_0x3640d6=this['_suggestionFactory']['getSuggestionCallback'](_0x1871('0x154'),_0x11a926,_0x1871('0xdd'));for(const _0x506a44 of this[_0x1871('0x21')]())if(_0x506a44[_0x1871('0x43')]['id']==_0x2a8ac1['id']&&_0x1871('0x154')==_0x506a44[_0x1871('0xaa')]&&_0x506a44[_0x1871('0x9a')]==_0x11a926&&Pt(_0x506a44,_0x21e609)&&(_0x3640d6(_0x506a44['getRanges'](),_0x58853a)||_0x3640d6(_0x58853a,_0x506a44['getRanges']()))){for(const _0x222892 of _0x58853a)_0x506a44[_0x1871('0x4b')](_0x222892);return _0x506a44;}for(const {suggestion:_0x152b16,meta:_0x1a0cf9}of this[_0x1871('0x15c')](_0x58853a,_0x1871('0x154'))){if(!_0x1a0cf9['isOwn'])continue;if(!this[_0x1871('0x150')]&&_0x1a0cf9[_0x1871('0xfa')])continue;if(!Pt(_0x152b16,_0x21e609))continue;let _0x10190d=!0x0;for(const _0x56ac4b of _0x152b16[_0x1871('0xec')]())for(const _0x459472 of _0x58853a)if(!_0x56ac4b[_0x1871('0x50')](_0x459472)){_0x10190d=!0x1;break;}if(_0x10190d)return _0x152b16;}const _0x342146=_0x3e11ea(),_0x493491=_0x2a8ac1['id'],_0x23e3e7='insertion:'+_0x11a926,_0x4c37e8=this[_0x1871('0xa7')]({'id':_0x342146,'type':_0x23e3e7,'createdAt':new Date(),'authorId':_0x493491,'attributes':_0x21e609});for(const _0x528198 of _0x58853a)this[_0x1871('0x162')](_0x23e3e7,_0x342146,_0x493491,_0x528198,_0x3e227c[_0x1871('0x2e')]());return _0x4c37e8;}[_0x1871('0x115')](_0x30cc94,_0x47a94e,_0x24302d=null,_0x1538eb={}){if(_0x24302d=_0x24302d||Et(_0x47a94e),_0x30cc94[_0x1871('0x52')])return null;if(_0x1871('0xef')===this[_0x1871('0x4d')]){const _0x248612=this[_0x1871('0x103')]['getSuggestionCallback'](_0x1871('0x99'),_0x24302d,_0x1871('0xdf'));return this['forceDefaultExecution'](()=>_0x248612([_0x30cc94],_0x47a94e,_0x1538eb)),null;}const _0x2627b3=this[_0x1871('0x118')][_0x1871('0x13f')]['get']('Users')['me'],_0x45f676=[];if(_0x1871('0x133')!==this['_trackFormatChanges'])for(const {suggestion:_0x4246b2,meta:_0x10f16f}of this['_findSuggestions'](_0x30cc94,_0x1871('0x154')))_0x10f16f[_0x1871('0xf6')]&&!_0x10f16f[_0x1871('0x15d')]&&_0x45f676[_0x1871('0x169')](..._0x4246b2[_0x1871('0xec')]());const _0x3985ab=function(_0x2bb199,_0xc3c699){const _0x1422ee=[];for(const _0x51d4e3 of _0xc3c699){const _0x58b65b=_0x2bb199[_0x1871('0x35')](_0x51d4e3);_0x58b65b&&_0x1422ee[_0x1871('0x169')](_0x58b65b);}return _0x1422ee;}(_0x30cc94,_0x45f676),_0xc07926=function(_0xd21b40,_0x483280){const _0x4aec37=[_0xd21b40];for(const _0x79abf of _0x483280){let _0x2a38de=0x0;for(;_0x2a38de<_0x4aec37['length'];){const _0x433e1e=_0x4aec37[_0x2a38de]['getDifference'](_0x79abf);_0x4aec37[_0x1871('0x75')](_0x2a38de,0x1,..._0x433e1e),_0x2a38de+=_0x433e1e[_0x1871('0x82')];}}return _0x4aec37;}(_0x30cc94,_0x45f676);_0x3985ab['length']&&this['_model'][_0x1871('0xa4')](()=>{for(const _0x1ba1f3 of _0x3985ab){const _0x51f0f4=this[_0x1871('0x103')]['getSuggestionCallback'](_0x1871('0x99'),_0x24302d,'accept');this[_0x1871('0xbc')](()=>_0x51f0f4([_0x1ba1f3],_0x47a94e,_0x1538eb));}});for(const _0x48db43 of _0xc07926){let _0x26e99d=null,_0x506de8=_0x48db43[_0x1871('0x143')],_0x5003e9=_0x48db43[_0x1871('0x23')];for(const {suggestion:_0x35a03c,meta:_0x5a80c5}of this[_0x1871('0x15c')](_0x48db43,_0x1871('0x99'))){if(!_0x5a80c5['isOwn'])continue;if(_0x35a03c['subType']!=_0x24302d)continue;if(!Pt(_0x35a03c,_0x1538eb))continue;const _0xd572f1=_0x35a03c[_0x1871('0x2a')]();if(_0xd572f1[_0x1871('0x50')](_0x48db43,!0x0))return null;_0x506de8=_0x506de8[_0x1871('0x6f')](_0xd572f1[_0x1871('0x143')])?_0x506de8:_0xd572f1[_0x1871('0x143')],_0x5003e9=_0x5003e9[_0x1871('0x9d')](_0xd572f1[_0x1871('0x23')])?_0x5003e9:_0xd572f1[_0x1871('0x23')],_0x26e99d?_0xd572f1['start'][_0x1871('0x6f')](_0x26e99d[_0x1871('0x2a')]()['start'])?(_0x26e99d[_0x1871('0xce')](),_0x26e99d=_0x35a03c):_0x35a03c[_0x1871('0xce')]():_0x26e99d=_0x35a03c;}const _0x46d198=this[_0x1871('0x16a')][_0x1871('0xb4')](_0x506de8,_0x5003e9);if(_0x26e99d)this[_0x1871('0x141')](_0x26e99d,_0x46d198);else{const _0x11256d=_0x3e11ea(),_0x2e5498=_0x2627b3['id'];this[_0x1871('0xa7')]({'id':_0x11256d,'type':'formatInline:'+_0x24302d,'data':_0x47a94e,'createdAt':new Date(),'authorId':_0x2e5498,'attributes':_0x1538eb}),this[_0x1871('0x162')](_0x1871('0x69')+_0x24302d,_0x11256d,_0x2e5498,_0x46d198);}}return null;}['markBlockFormat'](_0x1b3e77,_0xe412e6,_0xd3ee64=[],_0x509555=null,_0x47b2e2={}){_0xe412e6[_0x1871('0xb8')]||(_0xe412e6['formatGroupId']=_0xe412e6[_0x1871('0x14f')]),_0xe412e6[_0x1871('0xf1')]=_0x1b3e77['is'](_0x1871('0xc6')),_0x509555=_0x509555||Et(_0xe412e6);const _0x4b676f=_0xd3ee64['map'](_0x42b536=>Ot(_0x42b536,this['_model'])),_0x406a8a=_0x1b3e77['is'](_0x1871('0xc6'))?_0x1b3e77:Ot(_0x1b3e77,this['_model']);if('never'===this[_0x1871('0x4d')]){const _0x455cf8=this[_0x1871('0x103')]['getSuggestionCallback']('formatBlock',_0x509555,_0x1871('0xdf'));return this['forceDefaultExecution'](()=>_0x455cf8([_0x406a8a],_0xe412e6,_0x47b2e2)),null;}_0x4b676f['push'](_0x406a8a);let _0x40be2d=!0x0;for(const _0x3e5808 of _0x4b676f)if(!this[_0x1871('0x34')](_0x3e5808)){_0x40be2d=!0x1;break;}if(_0x40be2d&&_0x1871('0x133')!==this[_0x1871('0x4d')]){const _0x442554=this[_0x1871('0x103')][_0x1871('0xc9')](_0x1871('0x15a'),_0x509555,_0x1871('0xdf'));return this[_0x1871('0xbc')](()=>_0x442554([_0x406a8a],_0xe412e6,_0x47b2e2)),null;}let _0x374ad7=null,_0x5e656a=_0x406a8a[_0x1871('0x143')],_0x14898a=_0x406a8a['end'];for(const {suggestion:_0x3b7485,meta:_0x4a96b9}of this[_0x1871('0x15c')](_0x406a8a,_0x1871('0x15a'))){if(!_0x4a96b9[_0x1871('0xf6')])continue;if(_0x4a96b9[_0x1871('0x97')]||_0x4a96b9[_0x1871('0xfa')]||_0x4a96b9[_0x1871('0x15d')])continue;if(_0x3b7485[_0x1871('0x78')][_0x1871('0xb8')]!=_0xe412e6['formatGroupId'])continue;if(!Pt(_0x3b7485,_0x47b2e2))continue;const _0x5d0f44=_0x3b7485[_0x1871('0x2a')]();if(_0x3b7485[_0x1871('0x9a')]==_0x509555){if(_0x5d0f44[_0x1871('0x50')](_0x406a8a,!0x0))return null;_0x5e656a=_0x5e656a[_0x1871('0x6f')](_0x5d0f44['start'])?_0x5e656a:_0x5d0f44[_0x1871('0x143')],_0x14898a=_0x14898a[_0x1871('0x9d')](_0x5d0f44[_0x1871('0x23')])?_0x14898a:_0x5d0f44[_0x1871('0x23')],_0x374ad7?_0x5d0f44['start'][_0x1871('0x6f')](_0x374ad7['getFirstRange']()['start'])?(_0x374ad7[_0x1871('0xce')](),_0x374ad7=_0x3b7485):_0x3b7485[_0x1871('0xce')]():_0x374ad7=_0x3b7485;}else{const _0x388e9f=_0x406a8a['getIntersection'](_0x5d0f44);this['_cutOutSuggestionMarker'](_0x3b7485,_0x388e9f);}}const _0x10b842=this[_0x1871('0x118')]['plugins'][_0x1871('0x59')](_0x1871('0x16d'))['me'],_0x20cea8=_0x3e11ea(),_0x3d1ed6=_0x10b842['id'];if(_0x374ad7)return this['_setSuggestionRange'](_0x374ad7,this[_0x1871('0x16a')][_0x1871('0xb4')](_0x5e656a,_0x14898a)),_0x374ad7;{const _0x112b7d=this['_setSuggestionData']({'id':_0x20cea8,'type':_0x1871('0x19')+_0x509555,'data':_0xe412e6,'createdAt':new Date(),'authorId':_0x3d1ed6,'attributes':_0x47b2e2});return this[_0x1871('0x162')](_0x1871('0x19')+_0x509555,_0x20cea8,_0x3d1ed6,this[_0x1871('0x16a')]['createRange'](_0x5e656a,_0x14898a)),_0x112b7d;}}['markMultiRangeBlockFormat'](_0x2b1be8,_0x470eaf,_0x34125d=[],_0x27647d=null,_0x3acecc={}){_0x470eaf[_0x1871('0xb8')]||(_0x470eaf[_0x1871('0xb8')]=_0x470eaf[_0x1871('0x14f')]);const _0x35d5fe=_0x2b1be8[0x0];_0x470eaf[_0x1871('0xf1')]=_0x35d5fe['is'](_0x1871('0xc6')),_0x27647d=_0x27647d||Et(_0x470eaf);const _0x438ca1=_0x34125d[_0x1871('0x44')](_0x5eba66=>Ot(_0x5eba66,this[_0x1871('0x16a')])),_0x2b1334=_0x35d5fe['is'](_0x1871('0xc6'))?_0x2b1be8:_0x2b1be8['map'](_0x1af19c=>Ot(_0x1af19c,this[_0x1871('0x16a')]));if('never'===this['_trackFormatChanges']){const _0x573223=this[_0x1871('0x103')]['getSuggestionCallback'](_0x1871('0x15a'),_0x27647d,_0x1871('0xdf'));return this[_0x1871('0xbc')](()=>_0x573223(_0x2b1334,_0x470eaf,_0x3acecc)),null;}_0x438ca1['push'](..._0x2b1334);let _0x1d9cac=!0x0;for(const _0x5129a9 of _0x438ca1)if(!this[_0x1871('0x34')](_0x5129a9)){_0x1d9cac=!0x1;break;}if(_0x1d9cac&&_0x1871('0x133')!==this['_trackFormatChanges']){const _0x16d2d1=this[_0x1871('0x103')][_0x1871('0xc9')](_0x1871('0x15a'),_0x27647d,_0x1871('0xdf'));return this['forceDefaultExecution'](()=>_0x16d2d1(_0x2b1334,_0x470eaf,_0x3acecc)),null;}const _0x1c63fa=this[_0x1871('0x118')][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x16d'))['me'];for(const _0x1ffc05 of this['getSuggestions']()){if(_0x1ffc05[_0x1871('0x43')]['id']!=_0x1c63fa['id'])continue;if(_0x1871('0x15a')!=_0x1ffc05[_0x1871('0xaa')]||_0x1ffc05[_0x1871('0x78')][_0x1871('0xb8')]!=_0x470eaf[_0x1871('0xb8')])continue;if(!Pt(_0x1ffc05,_0x3acecc))continue;const _0x356d47=_0x1ffc05[_0x1871('0x9a')]==_0x27647d;for(let _0x5cddb2=0x0;_0x5cddb2<_0x2b1334['length'];_0x5cddb2++){const _0xad5a25=_0x2b1334[_0x5cddb2];for(const _0x594839 of _0x1ffc05[_0x1871('0x49')]()){const _0xb22f67=_0x594839[_0x1871('0x90')]();if(_0xad5a25[_0x1871('0x58')](_0xb22f67)){_0x356d47?(_0x2b1334[_0x1871('0x75')](_0x5cddb2,0x1),_0x5cddb2--):_0x1ffc05[_0x1871('0x112')](_0x594839[_0x1871('0x161')]);break;}}}}if(0x0==_0x2b1334[_0x1871('0x82')])return null;const _0x3c4712=this['_suggestionFactory'][_0x1871('0xc9')]('formatBlock',_0x27647d,_0x1871('0xdd'));for(const _0x1327cb of this[_0x1871('0x21')]())if(_0x1327cb['author']['id']==_0x1c63fa['id']&&_0x1871('0x15a')==_0x1327cb[_0x1871('0xaa')]&&_0x1327cb[_0x1871('0x78')]['formatGroupId']==_0x470eaf[_0x1871('0xb8')]&&_0x1327cb['subType']==_0x27647d&&Pt(_0x1327cb,_0x3acecc)&&(_0x3c4712(_0x1327cb['getRanges'](),_0x2b1334)||_0x3c4712(_0x2b1334,_0x1327cb[_0x1871('0xec')]()))){for(const _0x5343eb of _0x2b1334)_0x1327cb[_0x1871('0x4b')](_0x5343eb);return _0x1327cb;}const _0x14c723=_0x3e11ea(),_0x206efa=_0x1c63fa['id'],_0x49ec7c=_0x1871('0x19')+_0x27647d,_0x4f9c29=this[_0x1871('0xa7')]({'id':_0x14c723,'type':_0x49ec7c,'data':_0x470eaf,'createdAt':new Date(),'authorId':_0x206efa,'attributes':_0x3acecc});for(const _0x5b2a53 of _0x2b1334)this[_0x1871('0x162')](_0x49ec7c,_0x14c723,_0x206efa,_0x5b2a53,_0x3e227c['getMultiRangeId']());return _0x4f9c29;}[_0x1871('0x28')](_0x3e0369,_0x116bf7=null,_0x42804c={}){if(_0x3e0369[_0x1871('0x52')])return null;const _0x2ee3a4=this['editor'][_0x1871('0x13f')][_0x1871('0x59')]('Users')['me'],_0x1195b7=new _0x190336(_0x3e0369['start'],_0x3e0369[_0x1871('0x23')]);for(const {suggestion:_0x51a9c9,meta:_0x2df935}of this[_0x1871('0x15c')](_0x1195b7,_0x1871('0x154')))if(_0x2df935[_0x1871('0xf6')]&&!_0x2df935[_0x1871('0x97')]){if(_0x51a9c9[_0x1871('0x125')]){const _0x141963=_0x51a9c9[_0x1871('0xec')]()['filter'](_0xdf87e9=>_0x1871('0x65')!=_0xdf87e9[_0x1871('0x167')][_0x1871('0xa3')]);_0x141963[_0x1871('0xb9')](_0x6380c2=>_0x1195b7[_0x1871('0x50')](_0x6380c2,!0x0))&&_0x51a9c9[_0x1871('0xbf')]();if(_0x141963[_0x1871('0xe2')](_0x4325dc=>_0x4325dc[_0x1871('0x50')](_0x1195b7,!0x0))){const _0x1ccede=this[_0x1871('0x103')]['getSuggestionCallback'](_0x1871('0x134'),_0x116bf7,'accept');return this['forceDefaultExecution'](()=>_0x1ccede([_0x1195b7],null,_0x42804c)),null;}}else{const _0x2c9013=_0x1195b7[_0x1871('0x35')](_0x51a9c9[_0x1871('0x2a')]());null!==_0x2c9013&&_0x51a9c9[_0x1871('0x47')]([_0x2c9013],null,_0x42804c);}}if(_0x1195b7[_0x1871('0x6a')](),_0x1195b7[_0x1871('0x52')]||'$graveyard'==_0x1195b7[_0x1871('0x167')][_0x1871('0xa3')])return null;let _0x4c2a2f=null,_0xb8f21f=_0x1195b7[_0x1871('0x143')],_0x244b42=_0x1195b7['end'];const _0x358473=this[_0x1871('0x15c')](_0x1195b7,_0x1871('0x134'));for(const {suggestion:_0x284e95,meta:_0x47bf55}of _0x358473){const _0x1d567e=this[_0x1871('0x16a')][_0x1871('0xb4')](_0xb8f21f,_0x244b42);if(_0x47bf55[_0x1871('0xf6')]&&(this[_0x1871('0x150')]||!_0x47bf55[_0x1871('0xfa')]&&!_0x47bf55['isInsideObject'])){if(_0x284e95[_0x1871('0x125')]){if(!Pt(_0x284e95,_0x42804c))continue;let _0x128fb7=!0x0;for(const _0x52b883 of _0x284e95['getRanges']()){if(_0x52b883['containsRange'](_0x1d567e,!0x0))return _0x284e95;_0x1d567e['containsRange'](_0x52b883)||(_0x128fb7=!0x1);}_0x128fb7&&_0x284e95['discard']();}else{const _0x2cd751=_0x284e95[_0x1871('0x2a')]();if(_0x2cd751['containsRange'](_0x1d567e,!0x0))return _0x284e95;if(!Pt(_0x284e95,_0x42804c)){_0x1d567e[_0x1871('0x50')](_0x2cd751)?_0x284e95[_0x1871('0xce')]():_0x2cd751['containsPosition'](_0xb8f21f)?_0xb8f21f=_0x2cd751[_0x1871('0x23')]:_0x2cd751[_0x1871('0xab')](_0x244b42)&&(_0x244b42=_0x2cd751['start']);continue;}_0xb8f21f=_0xb8f21f[_0x1871('0x6f')](_0x2cd751['start'])?_0xb8f21f:_0x2cd751[_0x1871('0x143')],_0x244b42=_0x244b42['isAfter'](_0x2cd751[_0x1871('0x23')])?_0x244b42:_0x2cd751[_0x1871('0x23')],_0x42804c=Object[_0x1871('0x25')]({},_0x284e95['attributes']),_0x4c2a2f?_0x2cd751['start'][_0x1871('0x6f')](_0x4c2a2f[_0x1871('0x2a')]()[_0x1871('0x143')])?(_0x4c2a2f[_0x1871('0xce')](),_0x4c2a2f=_0x284e95):_0x284e95[_0x1871('0xce')]():_0x4c2a2f=_0x284e95;}}}if(_0x4c2a2f)return this[_0x1871('0x141')](_0x4c2a2f,this['_model']['createRange'](_0xb8f21f,_0x244b42)),_0x4c2a2f;{const _0x50d94f=_0x3e11ea(),_0x362e04=this['_model'][_0x1871('0xb4')](_0xb8f21f,_0x244b42),_0x5943d0=_0x2ee3a4['id'],_0x2b16ad=_0x116bf7?'deletion:'+_0x116bf7:'deletion',_0x4d9989=this[_0x1871('0xa7')]({'id':_0x50d94f,'type':_0x2b16ad,'createdAt':new Date(),'authorId':_0x5943d0,'attributes':_0x42804c});return this['_addSuggestionMarker'](_0x2b16ad,_0x50d94f,_0x5943d0,_0x362e04),_0x4d9989;}}[_0x1871('0x8f')](_0xed51c5,_0x3c86fa=_0x1871('0x3e'),_0x420f6c={}){const _0x276f90=this[_0x1871('0x118')][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x16d'))['me'],_0x5c0145=_0xed51c5['map'](_0x3118d2=>new _0x190336(_0x3118d2['start'],_0x3118d2[_0x1871('0x23')])),_0x2293ec=new Set();for(const {suggestion:_0x2ae751,meta:_0x46dd4f}of this['_findSuggestions'](_0x5c0145,_0x1871('0x154')))_0x46dd4f[_0x1871('0xf6')]&&!_0x46dd4f[_0x1871('0x97')]&&_0x2293ec[_0x1871('0xa2')](_0x2ae751);for(const _0x10bf1e of _0x2293ec)if(_0x10bf1e[_0x1871('0x125')]){const _0x3d6683=_0x10bf1e[_0x1871('0xec')]();(!_0x10bf1e['attributes']||!_0x10bf1e[_0x1871('0xc1')]['skipNestingCheck'])&&(_0x3d6683[_0x1871('0xb9')](_0x4ba5e4=>_0x5c0145['some'](_0x37fa49=>_0x37fa49[_0x1871('0x50')](_0x4ba5e4,!0x0)))&&_0x10bf1e[_0x1871('0xbf')]());if(_0x5c0145[_0x1871('0xb9')](_0x4bbdee=>_0x3d6683[_0x1871('0xe2')](_0x51a1c0=>_0x51a1c0[_0x1871('0x50')](_0x4bbdee,!0x0)))){const _0xbaa759=this[_0x1871('0x103')][_0x1871('0xc9')](_0x1871('0x134'),_0x3c86fa,_0x1871('0xdf'));return this['forceDefaultExecution'](()=>_0xbaa759(_0xed51c5,null,_0x420f6c)),null;}}else{const _0xb367df=_0x10bf1e[_0x1871('0x2a')]();_0x5c0145[_0x1871('0xe2')](_0x4f5bd6=>_0x4f5bd6[_0x1871('0x50')](_0xb367df,!0x0))&&_0x10bf1e[_0x1871('0xbf')]();if(_0x5c0145[_0x1871('0xb9')](_0x3744a1=>_0xb367df[_0x1871('0x50')](_0x3744a1,!0x0))){const _0x516924=this[_0x1871('0x103')][_0x1871('0xc9')]('deletion',_0x3c86fa,'accept');return this[_0x1871('0xbc')](()=>_0x516924(_0x5c0145,null,_0x420f6c)),null;}}const _0x5e14cf=this['_suggestionFactory'][_0x1871('0xc9')]('deletion',_0x3c86fa,_0x1871('0xdd'));let _0x1c3f07=null;for(const _0x10c25d of this['getSuggestions']())if(_0x10c25d['author']['id']==_0x276f90['id']&&_0x10c25d['isInContent']&&_0x1871('0x134')==_0x10c25d[_0x1871('0xaa')]&&_0x10c25d[_0x1871('0x9a')]==_0x3c86fa&&Pt(_0x10c25d,_0x420f6c)&&(_0x5e14cf(_0x10c25d[_0x1871('0xec')](),_0x5c0145)||_0x5e14cf(_0x5c0145,_0x10c25d[_0x1871('0xec')]()))){if(_0x1c3f07){if(_0x10c25d[_0x1871('0xa9')]&&_0x10c25d[_0x1871('0xa9')][_0x1871('0x82')])continue;for(const _0x3eed49 of _0x10c25d[_0x1871('0xec')]())_0x1c3f07[_0x1871('0x76')](_0x3eed49)||_0x1c3f07[_0x1871('0x4b')](_0x3eed49);_0x10c25d[_0x1871('0xce')]();}else{_0x1c3f07=_0x10c25d;for(const _0x386f9a of _0x5c0145)_0x10c25d[_0x1871('0x76')](_0x386f9a)||_0x10c25d[_0x1871('0x4b')](_0x386f9a);}}if(_0x1c3f07)return _0x1c3f07;_0x2293ec[_0x1871('0x14e')]();for(const {suggestion:_0x37dab1,meta:_0x129510}of this[_0x1871('0x15c')](_0x5c0145,_0x1871('0x134')))_0x129510['isOwn']&&(this[_0x1871('0x150')]||!_0x129510[_0x1871('0xfa')]&&!_0x129510['isInsideObject'])&&Pt(_0x37dab1,_0x420f6c)&&_0x2293ec[_0x1871('0xa2')](_0x37dab1);for(const _0x3f04e7 of _0x2293ec){const _0x51be69=_0x3f04e7['getRanges']();if(!_0x420f6c||!_0x420f6c[_0x1871('0x8b')]){if(_0x5c0145[_0x1871('0xb9')](_0xb25d9d=>_0x51be69[_0x1871('0xe2')](_0x5d754f=>_0x5d754f[_0x1871('0x50')](_0xb25d9d,!0x0))))return _0x3f04e7;}(!_0x3f04e7[_0x1871('0xc1')]||!_0x3f04e7[_0x1871('0xc1')]['skipNestingCheck'])&&(_0x51be69[_0x1871('0xb9')](_0x2b7b3d=>_0x5c0145['some'](_0x25a2a2=>_0x25a2a2['containsRange'](_0x2b7b3d,!0x0)))&&_0x3f04e7['discard']());}const _0x1f2397=_0x3e11ea(),_0x54060e=_0x276f90['id'],_0x495c1d=_0x1871('0xc0')+_0x3c86fa,_0x3322ea=this[_0x1871('0xa7')]({'id':_0x1f2397,'type':_0x495c1d,'createdAt':new Date(),'authorId':_0x54060e,'attributes':_0x420f6c});for(const _0x1442ee of _0x5c0145)_0x1442ee['detach'](),_0x1442ee['isCollapsed']||_0x1871('0x65')==_0x1442ee[_0x1871('0x167')][_0x1871('0xa3')]||this[_0x1871('0x162')](_0x495c1d,_0x1f2397,_0x54060e,_0x1442ee,_0x3e227c['getMultiRangeId']());return _0x3322ea;}[_0x1871('0x54')](_0x55394f,_0x32eb67,_0x5f49ef,_0x3e172c,_0x3d1efa){if(_0x55394f[_0x1871('0x52')])return[];if(_0x1871('0xef')===this[_0x1871('0x4d')])return[];const _0x48c466=this['editor'][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x16d'))['me']['id'],_0x451706=Array[_0x1871('0x12f')](this[_0x1871('0x12')][_0x1871('0x155')]())['filter'](_0x4d29f7=>_0x1871('0xac')==_0x4d29f7[_0x1871('0xaa')]&&_0x4d29f7[_0x1871('0x78')][_0x1871('0xa5')]==_0x32eb67&&_0x4d29f7['isIntersectingWithRange'](_0x55394f));if(_0x1871('0x109')===this[_0x1871('0x4d')]){const _0x385b6d=this[_0x1871('0x15c')](_0x55394f,_0x1871('0x154'))[_0x1871('0x2d')](({meta:_0xdb7753})=>_0xdb7753[_0x1871('0xf6')]&&!_0xdb7753[_0x1871('0x15d')]&&!_0xdb7753[_0x1871('0x97')])[_0x1871('0x44')](({suggestion:_0x2aeec3})=>_0x2aeec3);_0x451706[_0x1871('0xfd')](..._0x385b6d);}const _0x55bf5c=new Map([[_0x55394f,_0x5f49ef]]);for(const _0x2861ad of _0x451706){const _0x3c3714=_0x1871('0xac')==_0x2861ad['type']?_0x2861ad[_0x1871('0x78')]['oldValue']:void 0x0,_0xc6cf38=_0x2861ad['getFirstRange'](),_0x47886f=Array[_0x1871('0x12f')](_0x55bf5c['keys']())['find'](_0x1fe38c=>_0x1fe38c[_0x1871('0xd2')](_0xc6cf38));if(!_0x47886f)continue;const _0x24b5a0=_0x47886f[_0x1871('0xb0')](_0xc6cf38);this[_0x1871('0x8e')](_0x32eb67)&&'insertion'==_0x2861ad['type']&&0x0!=_0x24b5a0['length']||(_0x55bf5c[_0x1871('0x13d')](_0x47886f),_0x24b5a0[_0x1871('0x12a')](_0x222746=>{_0x55bf5c[_0x1871('0xb2')](_0x222746,_0x5f49ef);}),_0x1871('0x154')!=_0x2861ad[_0x1871('0xaa')]&&_0x3c3714!=_0x3e172c&&_0x55bf5c[_0x1871('0xb2')](_0x47886f['getIntersection'](_0xc6cf38),_0x3c3714));}const _0x1bdab4=[];for(const [_0x13e3db,_0x1053fa]of _0x55bf5c){const _0x5b0ace=_0x3e11ea(),_0x5888de={'key':_0x32eb67,'oldValue':_0x1053fa,'newValue':_0x3e172c};_0x32eb67[_0x1871('0x82')]>0x25&&console[_0x1871('0xf3')](_0x1871('0xdc'),{'key':_0x32eb67});const _0x371dc9=('attribute:'+(_0x32eb67+'|'+Et({'newValue':_0x3e172c})))[_0x1871('0x160')](0x0,0x3c),_0x2a4f2c=this[_0x1871('0xa7')]({'id':_0x5b0ace,'type':_0x371dc9,'data':_0x5888de,'createdAt':new Date(),'authorId':_0x48c466,'attributes':_0x3d1efa});_0x1bdab4[_0x1871('0x169')](_0x2a4f2c),this[_0x1871('0x162')](_0x371dc9,_0x5b0ace,_0x48c466,_0x13e3db);}return _0x1bdab4;}['_registerBlockAttribute'](_0x5ccbb8){this[_0x1871('0x119')]['add'](_0x5ccbb8);}[_0x1871('0xf8')](_0x4acffa){this[_0x1871('0x2f')][_0x1871('0xa2')](_0x4acffa);}['_enableDefaultAttributesIntegration'](_0x5be5fc,_0x25c550=[],_0x9c22a6=[]){this[_0x1871('0x16c')](_0x5be5fc,(_0x37cce4,..._0x41dd58)=>{this[_0x1871('0x172')](()=>{_0x37cce4(..._0x41dd58);});});for(const _0x471bc5 of _0x25c550)this[_0x1871('0xf8')](_0x471bc5);for(const _0x12ebde of _0x9c22a6)this[_0x1871('0x81')](_0x12ebde);}[_0x1871('0x11d')](_0x3fee97){return _0x1871('0xac')==_0x3fee97[_0x1871('0xaa')]?_0x3fee97[_0x1871('0x9a')]['split']('|')[0x0]:null;}[_0x1871('0x141')](_0x1c3a17,_0x47d934){const _0x52ae08=_0x1c3a17[_0x1871('0x173')]();this[_0x1871('0x16a')][_0x1871('0xa4')](_0x554f60=>{_0x554f60[_0x1871('0x93')](_0x52ae08,{'range':_0x47d934});});}['_addThreadToSuggestion'](_0x84f6d9){const _0x28bc48=_0x84f6d9['id'],_0x331060=this[_0x1871('0x118')][_0x1871('0x16')][_0x1871('0x59')](_0x1871('0x5d'));this[_0x1871('0xe')][_0x1871('0x7f')](_0x28bc48)||this[_0x1871('0xe')][_0x1871('0xd8')]({'channelId':_0x331060,'threadId':_0x28bc48,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x826b09=this[_0x1871('0xe')]['getCommentThread'](_0x28bc48);_0x826b09[_0x1871('0x7c')](_0x1871('0x16e')),_0x826b09[_0x1871('0x16e')]=!0x1,_0x84f6d9[_0x1871('0xa9')]=_0x826b09;}[_0x1871('0x121')](_0xb40e9c,_0x1acf83,_0x21ed56,_0x50c0e0){if(_0xb40e9c[_0x1871('0xaa')]!=_0x1acf83||_0xb40e9c[_0x1871('0x9a')]!=_0x21ed56||_0xb40e9c['creator']['id']!=_0x50c0e0)throw this[_0x1871('0x118')][_0x1871('0x96')](_0x1871('0x14a')),new _0x24b5be(_0x1871('0x14a'),this);}[_0x1871('0x108')](_0x20676a,_0x312f29){const _0x1ead5f=_0x20676a[_0x1871('0x2a')]();if(_0x312f29[_0x1871('0x58')](_0x1ead5f))_0x20676a['removeMarkers']();else{if(_0x1ead5f[_0x1871('0x50')](_0x312f29)){const _0x447a61=this[_0x1871('0x16a')]['createPositionAt'](_0x312f29['start']['nodeBefore'],_0x1871('0x23'));this[_0x1871('0x141')](_0x20676a,this[_0x1871('0x16a')][_0x1871('0xb4')](_0x1ead5f[_0x1871('0x143')],_0x447a61));const _0x24ba2c=_0x3e11ea(),_0x4d5ad7=_0x20676a[_0x1871('0x126')]['id'],_0x19002e=_0x20676a[_0x1871('0xaa')]+':'+_0x20676a[_0x1871('0x9a')];this[_0x1871('0xa7')]({'id':_0x24ba2c,'type':_0x19002e,'createdAt':new Date(),'authorId':_0x4d5ad7,'data':_0x20676a['data'],'attributes':_0x20676a[_0x1871('0xc1')]});const _0xb50b7b=this[_0x1871('0x16a')][_0x1871('0x113')](_0x312f29[_0x1871('0x23')][_0x1871('0x17')],_0x1871('0x87')),_0x3929=this[_0x1871('0x16a')][_0x1871('0xb4')](_0xb50b7b,_0x1ead5f[_0x1871('0x23')]);this[_0x1871('0x162')](_0x19002e,_0x24ba2c,_0x4d5ad7,_0x3929);}else{if(_0x1ead5f[_0x1871('0xab')](_0x312f29['start'])){const _0x35028f=this[_0x1871('0x16a')][_0x1871('0x113')](_0x312f29[_0x1871('0x143')][_0x1871('0x131')],_0x1871('0x23'));this[_0x1871('0x141')](_0x20676a,this[_0x1871('0x16a')][_0x1871('0xb4')](_0x1ead5f['start'],_0x35028f));}else{const _0x4e5cb9=this['_model']['createPositionAt'](_0x312f29[_0x1871('0x23')][_0x1871('0x17')],_0x1871('0x87'));this[_0x1871('0x141')](_0x20676a,this['_model'][_0x1871('0xb4')](_0x4e5cb9,_0x1ead5f[_0x1871('0x23')]));}}}}[_0x1871('0x34')](_0x4c6a6d){for(const {suggestion:_0x58a9aa,meta:_0x468626}of this['_findSuggestions'](_0x4c6a6d,'insertion')){if(!_0x468626[_0x1871('0xf6')])continue;const _0x2a578e=_0x58a9aa[_0x1871('0xec')]();for(const _0x431659 of _0x2a578e)if(!_0x4c6a6d[_0x1871('0xb0')](_0x431659)['length'])return!0x0;}return!0x1;}[_0x1871('0x168')](_0x10bb4b){const _0x5c32d4=this[_0x1871('0x118')]['plugins'][_0x1871('0x59')]('Users')[_0x1871('0x72')](_0x10bb4b);if(!_0x5c32d4)throw new _0x24b5be('track-changes-user-not-found',this);return _0x5c32d4;}[_0x1871('0x11e')](_0x2c2f37){const _0x4cdb59=this[_0x1871('0x118')]['plugins']['get'](_0x1871('0x16d')),_0x32a656=_0x25e8fa('external:'+_0x2c2f37),_0x4b8090=_0x4cdb59[_0x1871('0x72')](_0x32a656);return _0x4b8090||_0x4cdb59[_0x1871('0x66')]({'id':_0x32a656,'name':_0x2c2f37});}['_createSuggestion'](_0x572160,_0x2e4734,_0x2b92bc,_0x49d987,_0x28df3d){const _0x5b3263=this[_0x1871('0x168')](_0x49d987),_0x1d660c=this[_0x1871('0x103')][_0x1871('0xc4')](_0x572160,_0x2e4734,_0x2b92bc,_0x5b3263,_0x28df3d,_0x533a8d=>{this['_updateSuggestionData'](_0x2b92bc,{'attributes':_0x533a8d});const _0x102922=this[_0x1871('0x14b')](_0x2b92bc);this[_0x1871('0xd')](new Set([_0x102922])),this[_0x1871('0x84')](new Set([_0x102922]));});return this[_0x1871('0x152')](_0x1d660c,_0x1871('0xdf'),()=>{this[_0x1871('0x177')](_0x2b92bc,{'state':_0x1871('0x10')});},{'priority':_0x1871('0xea')}),this['listenTo'](_0x1d660c,_0x1871('0xbf'),()=>{this['_updateSuggestionData'](_0x2b92bc,{'state':'rejected'});},{'priority':'high'}),this[_0x1871('0x12')][_0x1871('0xb2')](_0x2b92bc,_0x1d660c),this[_0x1871('0x106')][_0x1871('0xb2')](_0x1d660c,_0x1871('0x175')),_0x1d660c;}[_0x1871('0x124')](_0x2fcb78){const _0x139692=_0x2fcb78[_0x1871('0x5a')](':');return{'group':_0x139692[0x0],'type':_0x139692[0x1],'subType':_0x139692[_0x1871('0x82')]>=0x5?_0x139692[0x2]:null,'id':_0x139692[_0x1871('0x82')]<0x5?_0x139692[0x2]:_0x139692[0x3],'authorId':_0x139692[_0x1871('0x82')]<0x5?_0x139692[0x3]:_0x139692[0x4],'markerCount':0x6==_0x139692['length']?_0x139692[0x5]:null};}[_0x1871('0x1f')](_0x1db0fd,_0x1d5bfd,_0x281685){const _0x4cfeb1=_0x1db0fd['getFirstRange'](),_0x25f024=_0x4cfeb1['start'],_0x43760f=_0x4cfeb1[_0x1871('0x23')];this[_0x1871('0x141')](_0x1db0fd,this[_0x1871('0x16a')][_0x1871('0xb4')](_0x25f024,_0x1d5bfd));const _0x5846d0=_0x3e11ea(),_0x323f11=_0x1db0fd['creator']['id'],_0x3233dc=_0x1db0fd[_0x1871('0xaa')]+(_0x1db0fd[_0x1871('0x9a')]?':'+_0x1db0fd[_0x1871('0x9a')]:'');this[_0x1871('0xa7')]({'id':_0x5846d0,'type':_0x3233dc,'createdAt':new Date(),'authorId':_0x323f11,'originalSuggestionId':_0x1db0fd['id'],'attributes':_0x1db0fd[_0x1871('0xc1')],'data':_0x1db0fd['data']});const _0xafb0d9=this[_0x1871('0x11d')](_0x1db0fd);(_0x1871('0x15a')==_0x1db0fd['type']||_0xafb0d9&&this[_0x1871('0x8e')](_0xafb0d9))&&(_0x281685=this['_model']['createPositionBefore'](_0x281685['parent'])),this['_addSuggestionMarker'](_0x3233dc,_0x5846d0,_0x323f11,this[_0x1871('0x16a')]['createRange'](_0x281685,_0x43760f));}[_0x1871('0x15c')](_0x3a6877,_0x296761=null){const _0x1d9a0e=[],_0x4e0d2f=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x3a6877)||(_0x3a6877=[_0x3a6877]);for(const _0x42604d of this[_0x1871('0x21')]()){if(!_0x42604d[_0x1871('0x9')])continue;if(_0x296761&&_0x42604d[_0x1871('0xaa')]!=_0x296761)continue;let _0x54f0ea=!0x1;for(const _0x2ec91b of _0x42604d[_0x1871('0xec')]()){for(const _0x411141 of _0x3a6877){const _0x4d6965=_0x411141[_0x1871('0x143')][_0x1871('0x58')](_0x2ec91b[_0x1871('0x23')])||_0x411141[_0x1871('0x23')][_0x1871('0x58')](_0x2ec91b['start']);if(_0x4d6965||_0x411141['getIntersection'](_0x2ec91b)){const _0x3a2adb=_0x411141['containsRange'](_0x2ec91b)&&xt(this['_model']['schema'],_0x2ec91b['start'],_0x411141),_0x374801=_0x2ec91b[_0x1871('0x50')](_0x411141)&&xt(this['_model'][_0x1871('0x136')],_0x411141['start'],_0x2ec91b);_0x1d9a0e[_0x1871('0x169')]({'suggestion':_0x42604d,'meta':{'isOwn':_0x4e0d2f==_0x42604d[_0x1871('0x43')],'isNextTo':_0x4d6965,'isInsideObject':_0x3a2adb,'containsRangeInObject':_0x374801}}),_0x54f0ea=!0x0;break;}}if(_0x54f0ea)break;}}return _0x1d9a0e;}[_0x1871('0x162')](_0x449359,_0x1c8940,_0x500741,_0x477b39,_0x18ceeb){this[_0x1871('0x16a')][_0x1871('0xa4')](_0x384b3a=>{let _0x182eb3=_0x1871('0xd3')+_0x449359+':'+_0x1c8940+':'+_0x500741;_0x18ceeb&&(_0x182eb3=_0x182eb3+':'+_0x18ceeb),_0x384b3a[_0x1871('0x127')](_0x182eb3,{'range':_0x477b39,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x1871('0x10c')](_0x5b92cc){const _0x5d7ece=_0x5b92cc['previous'],_0x2f9114=_0x5b92cc[_0x1871('0x7')];_0x5b92cc[_0x1871('0x24')]=null,_0x5b92cc[_0x1871('0x7')]=null,null!=_0x5d7ece&&_0x5d7ece[_0x1871('0x7')]==_0x5b92cc&&(_0x5d7ece[_0x1871('0x7')]=_0x2f9114),null!=_0x2f9114&&_0x2f9114[_0x1871('0x24')]==_0x5b92cc&&(_0x2f9114[_0x1871('0x24')]=_0x5d7ece),_0x1871('0x2b')==this[_0x1871('0x106')][_0x1871('0x59')](_0x5b92cc)&&(this[_0x1871('0x106')][_0x1871('0xb2')](_0x5b92cc,'removed'),this[_0x1871('0x116')](_0x1871('0x3d'),_0x5b92cc,_0x5d7ece,_0x2f9114));}[_0x1871('0xa7')](_0x4007ec){const _0x5b2186=_0x4007ec['id'],_0x21ac8b=this['addSuggestionData'](_0x4007ec);if(this[_0x1871('0x6c')]&&this[_0x1871('0x6c')][_0x1871('0x12c')]){const _0x476aba=this['editor'][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x149')),_0x392542=_0x21ac8b[_0x1871('0xe7')],_0x33fd95=_0x21ac8b[_0x1871('0x9a')]?_0x21ac8b['type']+':'+_0x21ac8b['subType']:_0x21ac8b[_0x1871('0xaa')],_0x2e158c=this[_0x1871('0x118')][_0x1871('0x8')],_0x122d11=_0x476aba[_0x1871('0xa2')](_0x33b9dc(_0x2e158c,_0x1871('0x5f'))),_0x5e2272={'id':_0x5b2186,'type':_0x33fd95,'hasComments':_0x392542,'data':_0x4007ec['data']||null,'originalSuggestionId':_0x4007ec[_0x1871('0x14')]||null,'attributes':_0x21ac8b[_0x1871('0xc1')]};this[_0x1871('0x6c')][_0x1871('0x12c')](_0x5e2272)[_0x1871('0xca')](_0x29a994=>{_0x21ac8b['_saved']=!0x0,_0x476aba[_0x1871('0xe1')](_0x122d11),_0x29a994&&_0x29a994[_0x1871('0x29')]&&(this['_suggestions'][_0x1871('0x59')](_0x5b2186)[_0x1871('0x29')]=_0x29a994[_0x1871('0x29')]);})[_0x1871('0xf2')](_0x1e01a0=>{throw _0x11b174('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x1871('0x26')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x21ac8b[_0x1871('0xbf')]();}),_0x21ac8b['stopListening'](),this[_0x1871('0x12')]['delete'](_0x21ac8b['id']),this[_0x1871('0x106')][_0x1871('0x13d')](_0x21ac8b),_0x1e01a0;});}return _0x21ac8b;}[_0x1871('0x8e')](_0x3dc38b){return this[_0x1871('0x119')][_0x1871('0x165')](_0x3dc38b);}[_0x1871('0x177')](_0x4ffac5,_0x19e77b){const _0x123ef4=this[_0x1871('0x118')][_0x1871('0x13f')][_0x1871('0x59')](_0x1871('0x149')),_0x98a8af=this[_0x1871('0x14b')](_0x4ffac5);if(this[_0x1871('0x6c')]&&this['_adapter'][_0x1871('0xfc')]){if(_0x98a8af['_saved']){const _0x13085e=_0x123ef4[_0x1871('0xa2')](_0x33b9dc(this[_0x1871('0x118')][_0x1871('0x8')],_0x1871('0x5f')));this['_adapter']['updateSuggestion'](_0x4ffac5,_0x19e77b)['then'](()=>{_0x123ef4[_0x1871('0xe1')](_0x13085e);});}else _0x98a8af['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x4ffac5,_0x19e77b);});}}[_0x1871('0x104')](_0x2a6840){if(!this[_0x1871('0x6c')]||!this['_adapter'][_0x1871('0x14b')])throw new _0x24b5be(_0x1871('0x85'),this);return this['_adapter'][_0x1871('0x14b')](_0x2a6840);}[_0x1871('0x5c')](_0x1bf514){const {id:_0x4f2efa,type:_0x33bfd0,subType:_0x2fc49a,authorId:_0x5b26a9}=this['_splitMarkerName'](_0x1bf514),_0x189ae1=this[_0x1871('0x12')][_0x1871('0x59')](_0x4f2efa)||this[_0x1871('0x146')](_0x33bfd0,_0x2fc49a,_0x4f2efa,_0x5b26a9,{});switch(this[_0x1871('0x121')](_0x189ae1,_0x33bfd0,_0x2fc49a,_0x5b26a9),this[_0x1871('0x106')][_0x1871('0x59')](_0x189ae1)){case _0x1871('0x175'):this[_0x1871('0x104')](_0x4f2efa)[_0x1871('0xca')](_0x1a551e=>{let _0x1f5136=Promise[_0x1871('0xff')]();_0x1a551e[_0x1871('0xe7')]&&(_0x1f5136=this[_0x1871('0xe')][_0x1871('0x14c')]({'channelId':this[_0x1871('0x118')][_0x1871('0x16')][_0x1871('0x59')](_0x1871('0x5d')),'threadId':_0x4f2efa})),_0x1f5136[_0x1871('0xca')](()=>{this[_0x1871('0x37')](_0x1a551e)[_0x1871('0x67')]=!0x0;});}),this[_0x1871('0x106')][_0x1871('0xb2')](_0x189ae1,_0x1871('0xb5'));break;case'removed':this[_0x1871('0x177')](_0x4f2efa,{'state':'open'});case _0x1871('0x16b'):this[_0x1871('0x106')]['set'](_0x189ae1,_0x1871('0x2b')),this[_0x1871('0x116')]('suggestionLoaded',_0x189ae1);break;case'ready':this[_0x1871('0x116')](_0x1871('0x10b'),_0x189ae1);}return _0x189ae1[_0x1871('0x102')](_0x1bf514),_0x189ae1;}['_refreshSuggestionsChain'](_0x2a7ebf){const _0x23c749=Array['from'](_0x2a7ebf),_0x218dbc=_0x23c749[_0x1871('0x2d')](_0x54fd47=>_0x1871('0xac')==_0x54fd47[_0x1871('0xaa')]);this[_0x1871('0x15f')](_0x218dbc);const _0x3753ac=_0x23c749[_0x1871('0x2d')](_0x2aa491=>!_0x2aa491[_0x1871('0x125')]&&'attribute'!=_0x2aa491[_0x1871('0xaa')]),_0x1418c8=this['getSuggestions']({'skipNotAttached':!0x0})[_0x1871('0x2d')](_0x433ff0=>!_0x433ff0[_0x1871('0x125')]&&'attribute'!=_0x433ff0[_0x1871('0xaa')]),_0x216af6=_0x1418c8[_0x1871('0x2d')](_0x1f29cb=>!_0x2a7ebf[_0x1871('0x165')](_0x1f29cb)),_0x5e17e3=new Map(_0x1418c8[_0x1871('0x44')](_0x477db2=>[_0x477db2,this[_0x1871('0x103')]['getSuggestionCallback'](_0x477db2[_0x1871('0xaa')],_0x477db2['subType'],_0x1871('0x11b'))])),_0x167fde=new Map(_0x1418c8[_0x1871('0x44')](_0x115475=>[_0x115475,_0x115475[_0x1871('0x2a')]()])),_0x480692=new Set(),_0x2420a9=new Set();for(let _0x5e35f8=0x0;_0x5e35f8<_0x3753ac[_0x1871('0x82')];_0x5e35f8++)_0x356055(_0x3753ac[_0x5e35f8],_0x3753ac,_0x5e35f8+0x1);for(let _0x3fbc58=0x0;_0x3fbc58<_0x3753ac[_0x1871('0x82')];_0x3fbc58++)_0x356055(_0x3753ac[_0x3fbc58],_0x216af6,0x0);const _0x21f714=new Set();for(let _0x4a4b96=0x0;_0x4a4b96<_0x3753ac[_0x1871('0x82')];_0x4a4b96++){const _0x183463=_0x3753ac[_0x4a4b96];!_0x2420a9[_0x1871('0x165')](_0x183463)&&_0x183463[_0x1871('0x24')]&&(_0x21f714[_0x1871('0xa2')](_0x183463[_0x1871('0x24')]),_0x183463['previous'][_0x1871('0x7')]===_0x183463&&(_0x183463['previous'][_0x1871('0x7')]=null),_0x183463['previous']=null),!_0x480692['has'](_0x183463)&&_0x183463[_0x1871('0x7')]&&(_0x21f714['add'](_0x183463[_0x1871('0x7')]),_0x183463[_0x1871('0x7')][_0x1871('0x24')]===_0x183463&&(_0x183463[_0x1871('0x7')][_0x1871('0x24')]=null),_0x183463[_0x1871('0x7')]=null);}function _0x356055(_0x538f7b,_0x401548,_0x1597bc){for(let _0xc380e2=_0x1597bc;_0xc380e2<_0x401548[_0x1871('0x82')];_0xc380e2++){const _0x546f03=_0x5aaec4(_0x538f7b,_0x401548[_0xc380e2]);_0x546f03&&(_0x546f03[0x0][_0x1871('0x7')]=_0x546f03[0x1],_0x546f03[0x1][_0x1871('0x24')]=_0x546f03[0x0],_0x480692[_0x1871('0xa2')](_0x546f03[0x0]),_0x2420a9[_0x1871('0xa2')](_0x546f03[0x1]));}}function _0x5aaec4(_0x503c0f,_0x48ef05){if(_0x503c0f['author']['id']!==_0x48ef05[_0x1871('0x43')]['id'])return null;const _0x16f0ab=_0x5e17e3[_0x1871('0x59')](_0x503c0f)(_0x503c0f,_0x48ef05,_0x167fde[_0x1871('0x59')](_0x503c0f),_0x167fde['get'](_0x48ef05));if(!_0x16f0ab)return null;return _0x5e17e3[_0x1871('0x59')](_0x48ef05)(_0x503c0f,_0x48ef05,_0x167fde[_0x1871('0x59')](_0x503c0f),_0x167fde[_0x1871('0x59')](_0x48ef05))?_0x16f0ab[0x1][_0x1871('0xa9')]&&_0x16f0ab[0x1][_0x1871('0xa9')][_0x1871('0x82')]?null:_0x16f0ab:null;}_0x21f714[_0x1871('0x4f')]&&this[_0x1871('0x84')](_0x21f714);}['_refreshAttributeSuggestionsChain'](_0x13f433){if(0x0==_0x13f433[_0x1871('0x82')])return;const _0x1c60e3=this[_0x1871('0x21')]({'skipNotAttached':!0x0})['filter'](_0x2c4b52=>_0x1871('0xac')==_0x2c4b52[_0x1871('0xaa')]&&_0x2c4b52['_isDataLoaded']),_0x48fcf9=[],_0xdbe879=new Map();for(const _0x4b7052 of _0x1c60e3){const _0x10726e=_0x25e8fa(_0x4b7052[_0x1871('0xc1')]);_0xdbe879['has'](_0x10726e)||(_0xdbe879[_0x1871('0xb2')](_0x10726e,_0x48fcf9[_0x1871('0x82')]),_0x48fcf9[_0x1871('0x169')]([]));const _0x44a6b4=_0xdbe879[_0x1871('0x59')](_0x10726e);_0x48fcf9[_0x44a6b4]['push'](_0x4b7052);}!function(){_0x48fcf9['sort']((_0x1d3521,_0xde35f5)=>{const _0x12a04a=_0x1d3521[0x0][_0x1871('0x29')],_0x4e406e=_0xde35f5[0x0][_0x1871('0x29')];return _0x12a04a==_0x4e406e?_0x1d3521[0x0][_0x1871('0xc1')][_0x1871('0xd4')]<_0xde35f5[0x0][_0x1871('0xc1')][_0x1871('0xd4')]?-0x1:0x1:_0x12a04a<_0x4e406e?-0x1:0x1;});for(const _0x2dd665 of _0x48fcf9)_0x2dd665['sort']((_0x3d6c61,_0x28cb12)=>_0x3d6c61['id']<_0x28cb12['id']?-0x1:0x1);}();for(let _0x410d61=0x0;_0x410d61<_0x48fcf9[_0x1871('0x82')];_0x410d61++){if(0x0==_0x48fcf9[_0x410d61][_0x1871('0x82')])continue;const _0x52fc80=[];for(let _0x4e7c25=_0x410d61+0x1;_0x4e7c25<_0x48fcf9['length'];_0x4e7c25++)0x0!=_0x48fcf9[_0x4e7c25][_0x1871('0x82')]&&_0xdc7ce6(_0x48fcf9[_0x410d61],_0x48fcf9[_0x4e7c25])&&_0x52fc80['push'](_0x4e7c25);for(const _0x2b6aca of _0x52fc80)_0x48fcf9[_0x410d61]=_0x48fcf9[_0x410d61][_0x1871('0x100')](_0x48fcf9[_0x2b6aca]),_0x48fcf9[_0x2b6aca]=[];}for(const _0x5f441d of _0x48fcf9)for(let _0x49b945=0x0;_0x49b945<_0x5f441d[_0x1871('0x82')];_0x49b945++)_0x5f441d[_0x49b945][_0x1871('0x7')]=_0x5f441d[_0x49b945+0x1]||null;for(const _0x15ce6f of _0x48fcf9)for(let _0x1fe547=0x0;_0x1fe547<_0x15ce6f[_0x1871('0x82')];_0x1fe547++)_0x15ce6f[_0x1fe547]['previous']=_0x15ce6f[_0x1fe547-0x1]||null;function _0xdc7ce6(_0x3a80a9,_0x463882){if(_0x3a80a9[0x0][_0x1871('0xc1')][_0x1871('0xd4')]!==_0x463882[0x0][_0x1871('0xc1')]['groupId']&&_0x3a80a9[0x0]['author']!==_0x463882[0x0][_0x1871('0x43')])return!0x1;if(!function(_0x5848f5,_0x4ad9bd){if(!_0x5848f5[_0x1871('0xe7')]&&!_0x4ad9bd['hasComments'])return!0x0;if(_0x5848f5[_0x1871('0xe7')]&&_0x4ad9bd['hasComments'])return!0x1;if(_0x5848f5['hasComments']&&_0x4ad9bd[_0x1871('0x29')]<_0x5848f5[_0x1871('0xa9')][_0x1871('0x10d')][_0x1871('0x59')](0x0)[_0x1871('0x29')])return!0x0;if(_0x4ad9bd[_0x1871('0xe7')]&&_0x5848f5[_0x1871('0x29')]<_0x4ad9bd[_0x1871('0xa9')][_0x1871('0x10d')][_0x1871('0x59')](0x0)[_0x1871('0x29')])return!0x0;return!0x1;}(_0x3a80a9[0x0],_0x463882[0x0]))return!0x1;const _0x4065db=_0x5377cc(_0x3a80a9[0x0][_0x1871('0xc1')],_0x1871('0xd4')),_0x528f42=_0x5377cc(_0x463882[0x0][_0x1871('0xc1')],_0x1871('0xd4'));if(!_0x373ca2(_0x4065db,_0x528f42))return!0x1;return!!_0x3a80a9[_0x1871('0xb9')](_0x4fe9da=>_0x463882['some'](_0x13d538=>_0x4fe9da[_0x1871('0x2a')]()[_0x1871('0x58')](_0x13d538[_0x1871('0x2a')]())))&&_0x463882[_0x1871('0xb9')](_0x2ac620=>_0x3a80a9[_0x1871('0xe2')](_0x29b0ef=>_0x2ac620[_0x1871('0x2a')]()[_0x1871('0x58')](_0x29b0ef[_0x1871('0x2a')]())));}}['_joinWithAdjacentSuggestions'](_0x5ce2e2){const _0x110b74=Array[_0x1871('0x12f')](_0x5ce2e2),_0x54b725=this[_0x1871('0x21')]({'skipNotAttached':!0x0}),_0x47dfa=_0x54b725[_0x1871('0x2d')](_0x1659cd=>!_0x5ce2e2['has'](_0x1659cd)),_0x58d174=new Map(_0x110b74[_0x1871('0x44')](_0x1e7bd0=>[_0x1e7bd0,this['_suggestionFactory'][_0x1871('0xc9')](_0x1e7bd0[_0x1871('0xaa')],_0x1e7bd0['subType'],'join')])),_0x59da5b=new Map(_0x54b725[_0x1871('0x44')](_0x1a0d54=>[_0x1a0d54,_0x1a0d54['getRanges']()]));for(let _0x3a5cb9=0x0;_0x3a5cb9<_0x110b74[_0x1871('0x82')];_0x3a5cb9++){if(_0x50ba47(this,_0x110b74[_0x3a5cb9],_0x110b74,_0x3a5cb9+0x1))return!0x0;}for(let _0x3d3509=0x0;_0x3d3509<_0x110b74['length'];_0x3d3509++){if(_0x50ba47(this,_0x110b74[_0x3d3509],_0x47dfa,0x0))return!0x0;}return!0x1;function _0x50ba47(_0x1a58e4,_0x1fd31c,_0x2fafe7,_0x644bbd){for(let _0x3f14bd=_0x644bbd;_0x3f14bd<_0x2fafe7[_0x1871('0x82')];_0x3f14bd++){const _0xc5e5a2=_0x2fafe7[_0x3f14bd];if(_0xc5e5a2[_0x1871('0xaa')]!==_0x1fd31c[_0x1871('0xaa')]||_0xc5e5a2[_0x1871('0x43')]['id']!==_0x1fd31c[_0x1871('0x43')]['id']||_0xc5e5a2[_0x1871('0x9a')]!==_0x1fd31c['subType'])continue;if(!Ft(_0x1fd31c,_0xc5e5a2,[_0x1871('0xd4')]))continue;if(_0x1871('0xac')==_0x1fd31c[_0x1871('0xaa')]&&_0x1fd31c[_0x1871('0x78')][_0x1871('0xad')]!=_0xc5e5a2[_0x1871('0x78')][_0x1871('0xad')])continue;if(_0x1871('0xac')==_0x1fd31c[_0x1871('0xaa')]&&_0x1a58e4['_isBlockAttribute'](_0x1fd31c[_0x1871('0x78')][_0x1871('0xa5')]))continue;if('formatBlock'==_0x1fd31c['type']){const _0x5091f1=_0x1a58e4[_0x1871('0x118')][_0x1871('0x26')],_0xf35ed8=_0x1fd31c['getContainedElement']();if(_0xf35ed8&&(_0x5091f1[_0x1871('0x136')][_0x1871('0x60')](_0xf35ed8)||_0x5091f1[_0x1871('0x136')]['isLimit'](_0xf35ed8)))continue;}const _0x3566bf=_0x58d174['get'](_0x1fd31c),_0x35e930=_0x59da5b[_0x1871('0x59')](_0x1fd31c),_0xb224d9=_0x59da5b[_0x1871('0x59')](_0xc5e5a2),_0x40a34a=_0x1fd31c[_0x1871('0xa9')]&&_0x1fd31c[_0x1871('0xa9')][_0x1871('0x82')],_0x2da053=_0xc5e5a2[_0x1871('0xa9')]&&_0xc5e5a2[_0x1871('0xa9')][_0x1871('0x82')];if(!_0x40a34a&&_0x3566bf(_0xb224d9,_0x35e930))return _0x1a58e4['_joinSuggestions'](_0xc5e5a2,_0x1fd31c),_0x59da5b['delete'](_0x1fd31c),!0x0;if(!_0x2da053&&_0x3566bf(_0x35e930,_0xb224d9))return _0x1a58e4[_0x1871('0xe9')](_0x1fd31c,_0xc5e5a2),_0x59da5b[_0x1871('0x13d')](_0xc5e5a2),!0x0;}return!0x1;}}[_0x1871('0xe9')](_0x6fdd0c,_0x8692ec){if(_0x6fdd0c[_0x1871('0x125')])for(const _0xdbd116 of _0x8692ec[_0x1871('0xec')]())_0x6fdd0c[_0x1871('0x4b')](_0xdbd116);else{const _0x23e4b7=_0x8692ec[_0x1871('0x2a')]()[_0x1871('0x23')];this[_0x1871('0x141')](_0x6fdd0c,this[_0x1871('0x16a')]['createRange'](_0x6fdd0c['getFirstRange']()['start'],_0x23e4b7));}_0x8692ec[_0x1871('0xce')]();}[_0x1871('0x10e')](_0x41a5eb,_0x102708){const _0x49966f=_0x41a5eb[_0x1871('0x13a')]('format')||_0x41a5eb[_0x1871('0x13a')]('attribute')?_0x1871('0xae'):_0x41a5eb[_0x1871('0xe0')]();return _0x33b9dc(this['editor'][_0x1871('0x8')],_0x102708+'_'+_0x49966f+_0x1871('0x74'));}[_0x1871('0x1e')](){const _0x4fbb94=this[_0x1871('0x118')];_0x13cdd5(this[_0x1871('0x16a')],({left:_0x528fc4,entered:_0x1e2ca5})=>{const _0x33d5dc=[];for(const _0x3d85a2 of _0x528fc4){const {group:_0x2bf755,type:_0x58f7f5}=this['_splitMarkerName'](_0x3d85a2[_0x1871('0x161')]);if(_0x1871('0x45')===_0x2bf755){_0x33d5dc['push'](this[_0x1871('0x10e')](_0x58f7f5,_0x1871('0x41')));break;}}for(const _0x4a3dfe of _0x1e2ca5){const {group:_0x2065f3,type:_0x4c1312}=this[_0x1871('0x124')](_0x4a3dfe[_0x1871('0x161')]);if(_0x1871('0x45')===_0x2065f3){_0x33d5dc[_0x1871('0x169')](this[_0x1871('0x10e')](_0x4c1312,'ENTER'));break;}}_0x33d5dc[_0x1871('0x82')]&&_0x4fbb94['ui'][_0x1871('0x166')][_0x1871('0x64')](_0x1871('0x33'),_0x33d5dc[_0x1871('0xdd')]('\x20'));});}[_0x1871('0x73')](_0x8c586d){if(this[_0x1871('0x7d')])return!0x1;const _0x143801=this[_0x1871('0x118')],_0x25cb48=_0x143801[_0x1871('0x26')]['document'][_0x1871('0x159')]['getChanges']();if(0x0==_0x25cb48[_0x1871('0x82')])return!0x1;const _0x40c256=[],_0x3f5f59=_0x25cb48[_0x1871('0x2d')](_0x134c6a=>_0x1871('0xac')==_0x134c6a[_0x1871('0xaa')]),_0x33cd7e=_0x25cb48[_0x1871('0x2d')](_0x401c51=>_0x1871('0x15b')==_0x401c51['type']&&'$text'!=_0x401c51[_0x1871('0x161')]),_0x2b17f8=_0x25cb48[_0x1871('0x2d')](_0x3b5c11=>_0x1871('0xe1')==_0x3b5c11[_0x1871('0xaa')]&&_0x1871('0x92')!=_0x3b5c11[_0x1871('0x161')]);for(const _0x38d72b of _0x3f5f59)_0x40c256['push']({'key':_0x38d72b[_0x1871('0xc5')],'newValue':_0x38d72b[_0x1871('0x48')],'oldValue':_0x38d72b[_0x1871('0xf')],'range':Ut(_0x38d72b[_0x1871('0xc6')],_0x143801[_0x1871('0x26')])});for(const _0x3ef1db of _0x33cd7e){const _0x1a53e8=_0x2b17f8[_0x1871('0x16f')](_0x275683=>_0x275683[_0x1871('0xa0')][_0x1871('0x58')](_0x3ef1db[_0x1871('0xa0')]));_0x1a53e8&&_0x40c256[_0x1871('0x169')]({'key':_0x1871('0x55'),'newValue':_0x3ef1db[_0x1871('0x161')],'oldValue':_0x1a53e8[_0x1871('0x161')],'range':_0x143801[_0x1871('0x26')][_0x1871('0x36')](_0x3ef1db[_0x1871('0xa0')][_0x1871('0xb6')])});}return 0x0!=_0x40c256['length']&&this[_0x1871('0x6e')](_0x8c586d,_0x40c256);}[_0x1871('0x9b')](_0x20831a){let _0x2429ac=!0x1;const _0x1936c6=this[_0x1871('0x118')]['model'][_0x1871('0x11')][_0x1871('0x159')][_0x1871('0xdb')]()[_0x1871('0x2d')](_0x510631=>_0x510631[_0x1871('0x78')][_0x1871('0x51')]&&_0x510631[_0x1871('0x161')][_0x1871('0x13a')](_0x1871('0x95')));for(const _0x301606 of _0x1936c6){const {subType:_0x4b385d,id:_0x4423ae}=this['_splitMarkerName'](_0x301606[_0x1871('0x161')]),_0x1aa0da=_0x4b385d[_0x1871('0x5a')]('|')[0x0];for(const _0x4173e9 of this[_0x1871('0x21')]({'skipNotAttached':!0x0}))_0x4173e9['id']!=_0x4423ae&&_0x1871('0xac')==_0x4173e9[_0x1871('0xaa')]&&_0x4173e9[_0x1871('0x78')]&&_0x4173e9['data'][_0x1871('0xa5')]==_0x1aa0da&&_0x4173e9[_0x1871('0x2a')]()[_0x1871('0xd2')](_0x301606[_0x1871('0x78')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x4173e9,_0x301606[_0x1871('0x78')][_0x1871('0x51')],_0x20831a),_0x2429ac=!0x0);}return _0x2429ac;}['_recordAttributeChanges'](_0x4fe305){this[_0x1871('0x118')],(this['_recordAttributeSuggestions']=!0x0,_0x4fe305());}[_0x1871('0x156')](_0xe05490){const _0x10105a=this[_0x1871('0x8e')](_0xe05490),_0x89fe4b=this['_inlineAttributeKeys']['has'](_0xe05490);return _0x10105a||_0x89fe4b;}[_0x1871('0x6e')](_0x2d113a,_0x3c8505){if(0x0==_0x3c8505[_0x1871('0x82')])return!0x1;let _0x4e4d84=!0x1;for(const _0x540c0f of _0x3c8505){const _0xcef6d1=this[_0x1871('0x15c')](_0x540c0f[_0x1871('0xc6')],_0x1871('0xac'))[_0x1871('0x2d')](_0x13c231=>!_0x13c231[_0x1871('0x13')]['isNextTo'])[_0x1871('0x44')](_0x49d17c=>_0x49d17c[_0x1871('0x45')]),_0x57f7be=_0x25e8fa({'newValue':_0x540c0f[_0x1871('0x176')]});_0xcef6d1[_0x1871('0x2d')](_0x1283f8=>{const [_0x3ee57f,_0x2a7ea5]=_0x1283f8[_0x1871('0x9a')]['split']('|');return _0x3ee57f==_0x540c0f[_0x1871('0xa5')]&&_0x2a7ea5!=_0x57f7be;})[_0x1871('0x12a')](_0x3f2fe1=>{this[_0x1871('0x8d')](_0x3f2fe1,_0x540c0f['range'],_0x2d113a),_0x4e4d84=!0x0;});}return _0x4e4d84;}[_0x1871('0x8d')](_0x11f711,_0x1d4cc8,_0x34a6f7){const _0x4d45ce=_0x11f711[_0x1871('0x2a')]()['getDifference'](_0x1d4cc8);0x0!==_0x4d45ce['length']?0x1!==_0x4d45ce['length']?this['_breakSuggestionMarker'](_0x11f711,_0x1d4cc8[_0x1871('0x143')],_0x1d4cc8['end']):this[_0x1871('0x141')](_0x11f711,_0x4d45ce[0x0]):_0x34a6f7[_0x1871('0x112')](_0x11f711[_0x1871('0x173')]());}}class Bt{constructor(_0x5b540c){this[_0x1871('0x83')]=_0x5b540c,this[_0x1871('0x16a')]=_0x5b540c[_0x1871('0x26')],this[_0x1871('0x1a')]=new Map(),this[_0x1871('0x89')]=new Map(),this['_registerDefaultCallbacks']();}[_0x1871('0xc4')](_0x3b4c1f,_0x59b750,_0x2878db,_0x5f4783,_0x74c305,_0x397418){return new _0x3e227c(this[_0x1871('0x16a')],{'type':_0x3b4c1f,'subType':_0x59b750,'id':_0x2878db,'author':_0x5f4783,'creator':_0x5f4783,'attributes':_0x74c305,'onAttributesChange':_0x397418,'onAccept':(..._0x1755d8)=>this[_0x1871('0xc9')](_0x3b4c1f,_0x59b750,'accept')(..._0x1755d8),'onDiscard':(..._0x24c88a)=>this[_0x1871('0xc9')](_0x3b4c1f,_0x59b750,'discard')(..._0x24c88a)});}[_0x1871('0xaf')](_0x34777f,_0x3b6d65,_0x355e22,_0x1968c4){const _0x4a984d=_0x34777f+':'+_0x3b6d65+':'+_0x355e22;this['_customCallbacks'][_0x1871('0xb2')](_0x4a984d,_0x1968c4);}[_0x1871('0xc9')](_0x3ca1d1,_0x5576e2,_0x5d8ae5){const _0x24b107=_0x3ca1d1+':'+_0x5576e2+':'+_0x5d8ae5;return this[_0x1871('0x1a')][_0x1871('0x59')](_0x24b107)||this[_0x1871('0x89')]['get'](_0x3ca1d1+':'+_0x5d8ae5);}['_registerDefaultCallbacks'](){const _0x283a73=()=>!0x1,_0x2d884d=_0x26e64e=>{_0x26e64e[_0x1871('0x122')]((_0x1484fb,_0x324bb7)=>_0x1484fb[_0x1871('0x143')]['isBefore'](_0x324bb7[_0x1871('0x143')])?0x1:-0x1),this[_0x1871('0x16a')][_0x1871('0xa4')](_0x52a9d2=>{for(const _0x572d8e of _0x26e64e){let _0x2de329;_0x2de329=_0x572d8e['end'][_0x1871('0x1c')]&&_0x572d8e[_0x1871('0x23')]['parent']==_0x572d8e[_0x1871('0x143')]['nodeAfter']?_0x52a9d2[_0x1871('0x3')](_0x572d8e[_0x1871('0x143')][_0x1871('0xb6')],'on'):_0x52a9d2[_0x1871('0x3')](_0x572d8e),this['_model'][_0x1871('0x7b')](_0x2de329,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x539b30=(_0x543ff2,_0x1136b1)=>{_0x1136b1&&this['_model']['change'](_0x55dbf1=>{const {commandName:_0x282800,commandParams:_0x2ce748=[]}=_0x1136b1,_0x15f42e=_0x543ff2['map'](_0x23e946=>(Rt(_0x23e946)&&(_0x23e946=this['_model'][_0x1871('0xb4')](_0x23e946[_0x1871('0x23')])),_0x23e946))[_0x1871('0x2d')](_0x21d8cd=>_0x1871('0x65')!==_0x21d8cd[_0x1871('0x167')][_0x1871('0xa3')]);if(_0x15f42e[_0x1871('0x82')]<0x1)return;const _0x1684d2=Array[_0x1871('0x12f')](this[_0x1871('0x16a')][_0x1871('0x11')][_0x1871('0x4')][_0x1871('0xec')]())[_0x1871('0x44')](_0x46dc75=>_0x190336['fromRange'](_0x46dc75));_0x55dbf1['setSelection'](_0x15f42e);for(const _0x3b39da of this[_0x1871('0x83')][_0x1871('0xf0')][_0x1871('0xf0')]())_0x3b39da[_0x1871('0x171')]();_0x2ce748['push']({'forceDefaultExecution':!0x0}),this[_0x1871('0x83')][_0x1871('0x12e')](_0x282800,..._0x2ce748);const _0x41733d=_0x1684d2[_0x1871('0x2d')](_0x359b42=>'$graveyard'!=_0x359b42[_0x1871('0x167')][_0x1871('0xa3')]);_0x41733d[_0x1871('0x82')]>0x0&&_0x55dbf1[_0x1871('0x27')](_0x41733d);for(const _0x4b226b of _0x1684d2)_0x4b226b[_0x1871('0x6a')]();});},_0x154140=(_0x1d7679,_0x42737c)=>0x1==_0x1d7679[_0x1871('0x82')]&&0x1==_0x42737c['length']&&_0x1d7679[0x0][_0x1871('0x23')][_0x1871('0x58')](_0x42737c[0x0]['start']),_0x1cc4da=(_0x5094fc,_0x49fedb,_0x2391ee,_0x2c7260)=>Gt(_0x5094fc,_0x49fedb,_0x2391ee,_0x2c7260,this['_model'])?[_0x5094fc,_0x49fedb]:Gt(_0x49fedb,_0x5094fc,_0x2c7260,_0x2391ee,this['_model'])?[_0x49fedb,_0x5094fc]:null;this['_defaultCallbacks'][_0x1871('0xb2')](_0x1871('0x120'),_0x283a73),this[_0x1871('0x89')]['set'](_0x1871('0x70'),_0x2d884d),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0x107'),_0x154140),this[_0x1871('0x89')]['set'](_0x1871('0xcd'),_0x1cc4da),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0x94'),_0x2d884d),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0x9e'),_0x283a73),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0x117'),_0x154140),this['_defaultCallbacks'][_0x1871('0xb2')]('deletion:chain',_0x1cc4da),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0xa1'),_0x539b30),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0xc8'),_0x283a73),this[_0x1871('0x89')][_0x1871('0xb2')]('formatInline:join',_0x154140),this['_defaultCallbacks'][_0x1871('0xb2')](_0x1871('0xd7'),_0x283a73),this['_defaultCallbacks'][_0x1871('0xb2')](_0x1871('0x1b'),_0x539b30),this[_0x1871('0x89')]['set'](_0x1871('0x1'),_0x283a73),this['_defaultCallbacks']['set']('formatBlock:join',_0x154140),this[_0x1871('0x89')][_0x1871('0xb2')]('formatBlock:chain',_0x283a73),this[_0x1871('0x89')]['set'](_0x1871('0x3a'),_0x283a73),this[_0x1871('0x89')]['set'](_0x1871('0xc2'),(_0x5bde96,_0x2f58c1)=>{if(!_0x2f58c1)return;const _0x53db89=this['_editor'][_0x1871('0x13f')][_0x1871('0x59')](p);this['_model']['change'](_0x58bb72=>{if('$elementName'==_0x2f58c1[_0x1871('0xa5')])for(const _0x2a2516 of _0x5bde96){const _0x4b5740=_0x2a2516[_0x1871('0x143')]['nodeAfter'],_0x336899=_0x2f58c1[_0x1871('0xad')];_0x58bb72[_0x1871('0x144')](_0x4b5740,_0x336899);}else{if(_0x53db89['_isBlockAttribute'](_0x2f58c1[_0x1871('0xa5')]))for(const _0x233970 of _0x5bde96)void 0x0!==_0x2f58c1[_0x1871('0xad')]?_0x58bb72[_0x1871('0x138')](_0x2f58c1[_0x1871('0xa5')],_0x2f58c1[_0x1871('0xad')],_0x233970[_0x1871('0x143')][_0x1871('0xb6')]):_0x58bb72[_0x1871('0xe6')](_0x2f58c1['key'],_0x233970[_0x1871('0x143')][_0x1871('0xb6')]);else for(const _0x63e7c3 of _0x5bde96)_0x2f58c1[_0x1871('0xad')]?_0x58bb72[_0x1871('0x138')](_0x2f58c1[_0x1871('0xa5')],_0x2f58c1[_0x1871('0xad')],_0x63e7c3):_0x58bb72[_0x1871('0xe6')](_0x2f58c1[_0x1871('0xa5')],_0x63e7c3);}});}),this[_0x1871('0x89')][_0x1871('0xb2')](_0x1871('0x68'),_0x154140);}}function xt(_0x86b4ba,_0x130943,_0x3c1d8f){for(const _0x47ab27 of _0x130943[_0x1871('0x17')][_0x1871('0x174')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x47ab27[_0x1871('0x167')]==_0x47ab27)return!0x1;if(!_0x3c1d8f[_0x1871('0x13e')](_0x47ab27))return!0x1;if(_0x86b4ba[_0x1871('0x60')](_0x47ab27)||_0x86b4ba['isLimit'](_0x47ab27))return!0x0;}return!0x1;}function Rt(_0x32051f){return _0x32051f['end'][_0x1871('0x17')]==_0x32051f[_0x1871('0x143')][_0x1871('0xb6')]&&_0x32051f[_0x1871('0x23')][_0x1871('0xf4')];}function Tt(_0x19ac70,_0x4e82c4,_0x53f77b,_0x1f3b21){const _0x4abaff=_0xa8d698=>!_0xa8d698[_0x1871('0x8c')]['is'](_0x1871('0x11f'))&&!_0x1f3b21[_0x1871('0x60')](_0xa8d698[_0x1871('0x8c')]),_0x52151a=_0x19ac70['start'][_0x1871('0x13c')](_0x4abaff),_0x3ee879=_0x19ac70['end'][_0x1871('0x13c')](_0x4abaff,{'direction':_0x1871('0x9c')});return(!_0x19ac70[_0x1871('0x143')][_0x1871('0x58')](_0x52151a)||!_0x19ac70[_0x1871('0x23')][_0x1871('0x58')](_0x3ee879))&&(_0x52151a[_0x1871('0x6f')](_0x3ee879)?_0x53f77b[_0x1871('0x93')](_0x4e82c4,{'range':_0x53f77b[_0x1871('0xb4')](_0x52151a,_0x3ee879)}):_0x53f77b[_0x1871('0x112')](_0x4e82c4),!0x0);}function Et(_0x19e28a){return _0x25e8fa(_0x19e28a);}function Vt(_0xc506bf){const _0x22794c=_0xc506bf[_0x1871('0x143')]['nodeAfter'];return _0x22794c&&_0x22794c['is']('element');}function Ut(_0x2494e7,_0x651aef){return null==_0x2494e7['end']['nodeBefore']&&_0x2494e7['end']['parent']==_0x2494e7['start']['nodeAfter']?Ot(_0x2494e7[_0x1871('0x143')][_0x1871('0xb6')],_0x651aef):_0x2494e7;}function Ot(_0x339a6e,_0x41aa2c){const _0x45eb4c=_0x41aa2c[_0x1871('0x136')][_0x1871('0x60')](_0x339a6e)||_0x41aa2c['schema'][_0x1871('0xba')](_0x339a6e);return _0x41aa2c['createRange'](_0x41aa2c['createPositionAt'](_0x339a6e,_0x1871('0x18')),_0x45eb4c?_0x41aa2c[_0x1871('0x53')](_0x339a6e):_0x41aa2c['createPositionAt'](_0x339a6e,_0x1871('0x23')));}function Gt(_0x1b1d68,_0x3a1ebd,_0x2882de,_0x21a0fb,_0x28d16d){if(!Ft(_0x1b1d68,_0x3a1ebd))return!0x1;if(_0x2882de['end'][_0x1871('0x58')](_0x21a0fb[_0x1871('0x143')]))return!0x0;if(_0x1b1d68[_0x1871('0xaa')]!=_0x3a1ebd['type'])return!0x1;if(!_0x2882de['end'][_0x1871('0x6b')](_0x21a0fb[_0x1871('0x143')]))return!0x1;const _0x2e1a10=_0x28d16d[_0x1871('0xb4')](_0x2882de[_0x1871('0x23')],_0x21a0fb['start'])[_0x1871('0x46')]();for(const _0x40cfbe of _0x2e1a10)if([_0x1871('0xf9'),_0x1871('0x32')]['includes'](_0x40cfbe[_0x1871('0xaa')])&&_0x28d16d['schema'][_0x1871('0xbe')](_0x40cfbe[_0x1871('0x8c')]))return!0x1;return!0x0;}function Ft(_0x1bd748,_0x368753,_0x47c890=[]){return!(!_0x1bd748[_0x1871('0x20')]||!_0x368753[_0x1871('0x20')])&&_0x373ca2(_0x5377cc(_0x1bd748['attributes'],_0x47c890),_0x5377cc(_0x368753[_0x1871('0xc1')],_0x47c890));}function Pt(_0x4f797e,_0x4bc02a){const _0x56e90b=Lt(_0x4f797e[_0x1871('0xc1')]),_0x577f15=Lt(_0x4bc02a);if(!_0x4f797e['_isDataLoaded'])return!0x1;for(const _0x3a28dc of Object[_0x1871('0x105')](_0x577f15))if(!_0x373ca2(_0x56e90b[_0x3a28dc],_0x577f15[_0x3a28dc]))return!0x1;return!0x0;}function Lt(_0x31834c){const _0x38133a=Object[_0x1871('0x25')]({},_0x31834c);return delete _0x38133a[_0x1871('0x8b')],delete _0x38133a[_0x1871('0x31')],_0x38133a;}
|