@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240106.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/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.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/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 _0x5a46=['_trackFormatChanges','_commentsRepository','containsRange','newName','move','return','tablePasteChainId','warn','data','enableReadOnlyMode','_getMarkerAnnouncementText','documentSelection','howMany','type','forceDefaultExecution','track-changes-user-not-found','_splitMarkerName','setSelection','oldRange','forward','getRanges','_descriptionFactory','isDocumentOperation','isTouching','addMarker:suggestion:attribute','skipNestingCheck','addMarker:suggestion:formatBlock','containsPosition','$marker','trackChangesCommand','group','insert','_isBlockAttribute','options','ariaLiveAnnouncer','getMarkers','range','_joinSuggestions','hasSuggestion','selection','showSuggestionHighlights','markerToHighlight','isMultiRange','config','formatBlock:chain','createRangeOn','suggestion-type','isLocal','start','normal','refresh','getCustomProperty','set','_isDataLoaded','collaboration.channelId','suggestion:','addAttribute','execute','hasComments','rename','locale','highest','ck-suggestion-marker-formatInline','PENDING_ACTION_SUGGESTION','markerNameToElements','getAttribute','isAtStart','attributeKey','getSuggestions','getLastMatchingPosition','deletion:accept','pop','attribute:join','newValue','isBlock','commands','insertContent','createPositionBefore','getFirstMarker','isOwn','_updateSuggestionData','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.','discardSuggestion','_initAriaMarkerChangeAnnouncements','discardSelectedSuggestions','isArray','oldName','fetchCommentThread','_processAttributeSuggestions','_findSuggestions','notReady','FORMATTING','setAttribute','getSuggestionCallback','_blockAttributeKeys','_addThreadToSuggestion','attributeNewValue','sort','length','markAttributeChange','_joinWithAdjacentSuggestions','$graveyard','enableCommand','removed','trackChanges','external:','_createSuggestion','track-changes-enable-command-twice','changeAttribute','attributes','has','dataToMarker','addMarkerName','removeMarker:suggestion:attribute','getAncestors','removeClass','change:_saved','clear','TrackChangesEditing','oldValue','formatInline:','requires','registerPostFixer','attribute','size','for','commentThread','markerReady','multi','isAfter','chain','_customCallbacks','before','updateMarker','_setSuggestionRange','_suggestionState','item','markers','_enabledCommands','_suggestions','filter','root','unshift','adapter','_registerInlineAttribute','addHighlight','markInsertion','isCollapsed','trackChanges.trackFormatChanges','elementStart','split','formatBlock:','fromRange','element','upcast','_refreshAttributeSuggestionsChain','editor','_registerBlockAttribute','getSuggestion','getChanges','toViewElement','schema','every','_handleNewSuggestionMarker','markDeletion','removeComment','splice','ck-suggestion-marker','consume','editingDowncast','value','attribute:accept','createPositionAt','hasCommentThread','formatInline:discard','getCommentThread','suggestionUnloaded','delete','startsWith','attributeOldValue','comments','position','addSuggestionData','getUser','stopListening','_cutOutSuggestionMarker','author','addCommentThread','acceptAllSuggestions','high','attribute:','_recordAttributeChanges','_suggestionFactory','insertion','_isForcedDefaultExecutionBlock','ck-suggestion-marker--active','mapper','end','deletion:','addSuggestion','isInContent','change:activeMarkers','attribute:discard','deleteContent','$elementName','listenTo','removeAttribute','formatBlock:join','deletion:discard','dataReady','markBlockFormat','_getAuthorFromId','detach','isAtEnd','ENTER','add','isObject','_reduceExistingSuggestions','batch','getItems','PendingActions','_refreshSuggestionsChain','getFirstRange','trackChanges.mergeNestedSuggestions','forEach','discardAllSuggestions','multipleBlocks','key','nodeAfter','creator','isExternal','_model','track-changes-suggestion-data-mismatch','change:data','insertion:accept','then','Users','resolve','createRange','from','remove','_removeSuggestion','format','_registerDefaultCallbacks','_addSuggestionMarker','acceptSuggestion','moveTargetPosition','_inlineAttributeKeys','markerName','_breakSuggestionMarker','reconvertMarker','_enableDefaultAttributesIntegration','_getExternalAuthor','formatInline:chain','fire','_setSuggestionData','_rangeIsInLocalUserInsertion','unbindElementFromMarkerName','change','_reduceSuggestionAttributeRange','_defaultCallbacks','track-changes-adapter-already-set','markerToData','containsRangeInObject','getShiftedBy','subType','suggestionChanged','removeMarker','commandName','createdAt','$text','applyOperation','createSelection','isEqual','data-suggestion','isLimit','always','_editor','removeMarkers','isBefore','history','_processAttributeChanges','isInsideObject','_adapter','map','acceptSelectedSuggestions','createRangeIn','deletion','name','createPositionAfter','ck-suggestion-marker-','clone','insertion:discard','formatBlock','addClass','isIntersectingWithRange','ready','insertion:','rootName','keys','differ','_onDiscard','CommentsRepository','some','_getSuggestionData','getNearestSelectionRange','substring','enqueueChange','document','define','stop','get','suggestionLoaded','suggestion','getMultiRangeId','markMultiRangeDeletion','consumable','_mergeNestedSuggestions','getChangedMarkers','removeMarker:suggestion:formatBlock','_saved','getAllAdjacentSuggestions','isRemovable','toUpperCase','setTo','model','meta','editing','version','substr','ck-suggestion-marker-formatBlock','plugins','getDifference','newRange','push','includes','authoredAt','isIntersecting','_recordAttributeSuggestionsFromVersion','targetPosition','conversion','markInlineFormat','head','formatBlock:discard','fromCharCode','discard','never','addRange','registerCustomCallback','writer','suggestion:attribute:','updateSuggestion','next','parent','createElement','isNextTo','init','getRange','getIntersection','concat','LEAVE','getContainedElement','_checkSuggestionCorrectness','pluginName','after','find','addComment','join','track-changes-adapter-missing-getsuggestion','isUndo','low','marker-count','default','assign','previous','accept','values','track-changes-command-not-found','nodeBefore','open','groupId','formatGroupId','activeMarkers','isSelectable','dataDowncast'];(function(_0x469f32,_0x5a4699){const _0x44ec31=function(_0x19c133){while(--_0x19c133){_0x469f32['push'](_0x469f32['shift']());}};_0x44ec31(++_0x5a4699);}(_0x5a46,0x18c));const _0x44ec=function(_0x469f32,_0x5a4699){_0x469f32=_0x469f32-0x0;let _0x44ec31=_0x5a46[_0x469f32];return _0x44ec31;};import{Plugin as _0x2ecadb,PendingActions as _0x219312}from'ckeditor5/src/core.js';import{LiveRange as _0x3fb3d1}from'ckeditor5/src/engine.js';import{CKEditorError as _0x29cd75,uid as _0x1d19db,priorities as _0xcff10f,logWarning as _0x22967e}from'ckeditor5/src/utils.js';import{toWidget as _0x4d87e5}from'ckeditor5/src/widget.js';import{Users as _0x44c52b,hashObject as _0x6e73ab,surroundingMarkersDetector as _0x3f6c08}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2ee3bd from'./commands/trackchangescommand.js';import _0x5339ab from'./commands/acceptsuggestioncommand.js';import _0x1cb7d7 from'./commands/discardsuggestioncommand.js';import _0x16094c from'./commands/executeonallsuggestionscommand.js';import _0x1edd45 from'./commands/executeonselectedsuggestionscommand.js';import _0x27b20b from'./suggestion.js';import _0x1efa6d from'./suggestiondescriptionfactory.js';import _0x2e507c from'./integrations/aiassistant.js';import _0x336d34 from'./integrations/alignment.js';import _0x1e784b from'./integrations/basicstyles.js';import _0x326f46 from'./integrations/blockquote.js';import _0x44c674 from'./integrations/casechange.js';import _0x55e31c from'./integrations/ckbox.js';import _0x5b4c08 from'./integrations/codeblock.js';import _0x23ae03 from'./integrations/comments.js';import _0x4757dd from'./integrations/deletecommand.js';import _0x508477 from'./integrations/documentlist.js';import _0x522314 from'./integrations/documentlistproperties.js';import _0x215851 from'./integrations/entercommand.js';import _0x2f6add from'./integrations/findandreplace.js';import _0x2abeec from'./integrations/font.js';import _0x98d2b6 from'./integrations/formatpainter.js';import _0x18fb29 from'./integrations/heading.js';import _0x1f45a1 from'./integrations/highlight.js';import _0x9b9b5a from'./integrations/horizontalline.js';import _0x4a557a from'./integrations/htmlembed.js';import _0x4bbed5 from'./integrations/image.js';import _0x1081a5 from'./integrations/imagereplace.js';import _0x3d7dcb from'./integrations/imagestyle.js';import _0xd5586f from'./integrations/importword.js';import _0xae6833 from'./integrations/indent.js';import _0x4df1f8 from'./integrations/inputcommand.js';import _0x135190 from'./integrations/link.js';import _0x8883dd from'./integrations/list.js';import _0x10ab5f from'./integrations/listproperties.js';import _0x526b50 from'./integrations/mediaembed.js';import _0x3f1fa8 from'./integrations/mention.js';import _0x521f43 from'./integrations/pagebreak.js';import _0x416cb0 from'./integrations/paragraph.js';import _0xeeef1 from'./integrations/removeformat.js';import _0x407cc6 from'./integrations/restrictededitingmode.js';import _0x864591 from'./integrations/shiftentercommand.js';import _0x18e1ae from'./integrations/standardeditingmode.js';import _0x571ed8 from'./integrations/style.js';import _0x1e84c0 from'./integrations/table.js';import _0x5d4773 from'./integrations/tablemergesplit.js';import _0x3359b from'./integrations/tableheadings.js';import _0x4ade2f from'./integrations/tableclipboard.js';import _0x3cce08 from'./integrations/tablecolumnresize.js';import _0x349ca5 from'./integrations/template.js';import _0x383133 from'./integrations/tableofcontents.js';import _0x563497 from'./integrations/title.js';import _0x3c2875 from'./integrations/undo.js';import _0x4ae9b9 from'./integrations/tablecaption.js';import _0x3197f9 from'./integrations/tableproperties.js';import{getTranslation as _0x2816dd}from'./utils/common-translations.js';import{isEqual as _0x50c974,omit as _0x429a4e}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x2ecadb{static get[_0x44ec('0x6e')](){return[_0x44ec('0x123'),_0x44c52b,_0x219312,_0x2e507c,_0x336d34,_0x1e784b,_0x326f46,_0x55e31c,_0x44c674,_0x5b4c08,_0x23ae03,_0x4757dd,_0x508477,_0x522314,_0x215851,_0x2f6add,_0x2abeec,_0x98d2b6,_0x18fb29,_0x1f45a1,_0x9b9b5a,_0x4a557a,_0x4bbed5,_0x3d7dcb,_0x1081a5,_0xd5586f,_0xae6833,_0x4df1f8,_0x135190,_0x8883dd,_0x10ab5f,_0x526b50,_0x3f1fa8,_0x521f43,_0x416cb0,_0xeeef1,_0x407cc6,_0x864591,_0x18e1ae,_0x571ed8,_0x1e84c0,_0x5d4773,_0x3359b,_0x4ae9b9,_0x4ade2f,_0x3cce08,_0x383133,_0x3197f9,_0x349ca5,_0x563497,_0x3c2875];}static get[_0x44ec('0x160')](){return _0x44ec('0x6b');}constructor(_0x48ccb1){function _0xca0a24(_0x4130a5){return _0x4130a5[_0x44ec('0x111')](_0x25c407=>String[_0x44ec('0x14d')](_0x25c407))[_0x44ec('0x164')]('');}super(_0x48ccb1),this[_0x44ec('0x147')]=null,this[_0x44ec('0x29')](_0x44ec('0x173'),[]),this['on'](_0x44ec('0xbe'),(_0x49ed02,_0x599e4b,_0x38ccbd,_0xf89869)=>{this[_0x44ec('0xdc')][_0x44ec('0xf7')](()=>{for(const _0x3a26da of[..._0xf89869,..._0x38ccbd])this[_0x44ec('0xdc')][_0x44ec('0x7e')][_0x44ec('0x63')](_0x3a26da)&&_0x48ccb1[_0x44ec('0x13c')][_0x44ec('0xef')](_0x3a26da);});}),this[_0x44ec('0xa')]=new _0x1efa6d(this[_0x44ec('0x91')]['model'][_0x44ec('0x96')],this[_0x44ec('0x91')]['locale']),this[_0x44ec('0x110')]=null,this[_0x44ec('0xb5')]=new Bt(this[_0x44ec('0x91')]),this[_0x44ec('0x80')]=new Map(),this['_commentsRepository']=_0x48ccb1['plugins'][_0x44ec('0x12c')](_0x44ec('0x123')),this['_enabledCommands']=new Set(),this[_0x44ec('0xdc')]=this['editor'][_0x44ec('0x13a')],this[_0x44ec('0x7c')]=new WeakMap(),this[_0x44ec('0xb7')]=!0x1,this['_blockAttributeKeys']=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12a')](_0x44ec('0x89'),_0x44ec('0x169')),this['_trackFormatChanges']=_0x48ccb1[_0x44ec('0x20')]['get'](_0x44ec('0x89')),_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12a')](_0x44ec('0xd4'),!0x0),this[_0x44ec('0x132')]=_0x48ccb1[_0x44ec('0x20')][_0x44ec('0x12c')](_0x44ec('0xd4')),this['trackChangesCommand']=new _0x2ee3bd(_0x48ccb1,this[_0x44ec('0x7f')]),this[_0x44ec('0x48')](),this[_0xca0a24([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xca0a24([0x34,0x30,0x34,0x38,0x30,0x32,0x30,0x38]);}[_0x44ec('0x159')](){const _0x3d9089=this[_0x44ec('0x91')],_0x10a274=(_0x49d75f,_0x4a66a3)=>{if(_0x44ec('0x70')!=_0x49d75f)return _0x44ec('0x117')+_0x49d75f;const _0x4598e2=_0x4a66a3['split']('|')[0x0];return this[_0x44ec('0x15')](_0x4598e2)?'ck-suggestion-marker-formatBlock':_0x44ec('0x33');};_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0x1e')]({'model':_0x44ec('0x12e'),'view':_0x17f74e=>{const {id:_0x86a374,type:_0xe9e86c,subType:_0xb409fe}=this[_0x44ec('0x5')](_0x17f74e[_0x44ec('0xed')]),_0x45ac71=[_0x44ec('0x9c'),_0x10a274(_0xe9e86c,_0xb409fe)];let _0x258773=0xbb8;return this[_0x44ec('0x173')]['includes'](_0x17f74e[_0x44ec('0xed')])&&(_0x45ac71[_0x44ec('0x143')]('ck-suggestion-marker--active'),_0x258773=0xbc2),'deletion'==_0xe9e86c&&(_0x258773+=0x5),{'classes':_0x45ac71,'attributes':{'data-suggestion':_0x86a374},'priority':_0x258773};}}),_0x3d9089['conversion'][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x158b60=>{_0x158b60['on']('addMarker:suggestion',(_0x3a08dd,_0x30c0ae,_0x40b6be)=>{if(!_0x40b6be[_0x44ec('0x16')][_0x44ec('0x1d')])return;const _0x205e61=_0x30c0ae['item'];if(!_0x205e61)return;const _0x3666ac=_0x40b6be['mapper'][_0x44ec('0x95')](_0x205e61);_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0xcd')](_0x205e61)&&_0x3666ac&&!_0x3666ac[_0x44ec('0x28')]('widget')&&_0x3666ac['is']('containerElement')&&_0x4d87e5(_0x3666ac,_0x40b6be[_0x44ec('0x152')]);},{'priority':_0x44ec('0xb2')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('dataDowncast')['markerToHighlight']({'model':_0x44ec('0x12e'),'view':(_0x2c466d,_0x578df0)=>{if(!_0x578df0[_0x44ec('0x16')][_0x44ec('0x1d')])return null;const {type:_0x4c1a7f,subType:_0x1a006b}=this[_0x44ec('0x5')](_0x2c466d[_0x44ec('0xed')]);return{'classes':[_0x44ec('0x9c'),_0x10a274(_0x4c1a7f,_0x1a006b)],'priority':0xbb8};}});const _0x11f3bd=({showActiveMarkers:_0x200b9d=!0x0,isAttributeSuggestion:_0x222fe0=!0x1}={})=>(_0x50e8be,_0x510722,_0x569bd8)=>{if(!_0x510722[_0x44ec('0x7d')])return;const {id:_0x27ee7a}=this['_splitMarkerName'](_0x510722['markerName']);if(_0x222fe0){const _0x424aad=Lt(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x27ee7a));if(!this['_isBlockAttribute'](_0x424aad))return;}if(_0x510722[_0x44ec('0x7d')]['is'](_0x44ec('0x1c')))return void _0x569bd8[_0x44ec('0x131')][_0x44ec('0x9d')](_0x510722[_0x44ec('0x7d')],_0x50e8be[_0x44ec('0x115')]);const _0x158506=_0x569bd8['mapper'][_0x44ec('0x95')](_0x510722[_0x44ec('0x7d')]);if(_0x510722[_0x44ec('0x7d')]['is'](_0x44ec('0x8e'))&&_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0x3f')](_0x510722[_0x44ec('0x7d')])&&!_0x158506[_0x44ec('0x28')](_0x44ec('0x86'))){_0x569bd8[_0x44ec('0x152')][_0x44ec('0x11b')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x158506),_0x569bd8[_0x44ec('0x152')]['setAttribute'](_0x44ec('0x107'),_0x27ee7a,_0x158506),_0x569bd8[_0x44ec('0xb9')]['bindElementToMarker'](_0x158506,_0x510722[_0x44ec('0xed')]),_0x200b9d&&(this['activeMarkers'][_0x44ec('0x144')](_0x510722['markerName'])?_0x569bd8[_0x44ec('0x152')][_0x44ec('0x11b')](_0x44ec('0xb8'),_0x158506):_0x569bd8[_0x44ec('0x152')][_0x44ec('0x68')](_0x44ec('0xb8'),_0x158506));for(const _0x23bbd7 of _0x3d9089[_0x44ec('0x13a')][_0x44ec('0x113')](_0x510722[_0x44ec('0x7d')])[_0x44ec('0xd0')]())_0x569bd8['consumable'][_0x44ec('0x9d')](_0x23bbd7,_0x50e8be[_0x44ec('0x115')]);_0x569bd8[_0x44ec('0x131')][_0x44ec('0x9d')](_0x510722[_0x44ec('0x7d')],_0x50e8be[_0x44ec('0x115')]);}};_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x3bf2da=>{_0x3bf2da['on'](_0x44ec('0xf'),(_0x2c183e,_0x1b1ab1,_0x2f5151)=>{_0x2f5151['options'][_0x44ec('0x1d')]&&_0x11f3bd({'showActiveMarkers':!0x1})(_0x2c183e,_0x1b1ab1,_0x2f5151);},{'priority':_0x44ec('0x32')});}),_0x3d9089[_0x44ec('0x149')]['for'](_0x44ec('0x175'))[_0x44ec('0xcc')](_0x5ef347=>{_0x5ef347['on'](_0x44ec('0xd'),(_0x38b146,_0x514b0e,_0x54ead7)=>{_0x54ead7[_0x44ec('0x16')]['showSuggestionHighlights']&&_0x11f3bd({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x38b146,_0x514b0e,_0x54ead7);},{'priority':_0x44ec('0x32')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x175'))[_0x44ec('0xfb')]({'model':_0x44ec('0x12e'),'view':(_0x295eec,_0x48caa5)=>_0x48caa5['options'][_0x44ec('0x1d')]?null:{'group':_0x44ec('0x12e'),'name':_0x295eec[_0x44ec('0x13e')](0xb)}}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('upcast')['elementToElement']({'view':{'name':_0x44ec('0x12e'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x58c138,{writer:_0x305890})=>{let _0x36ab4f=_0x44ec('0x2c')+_0x58c138[_0x44ec('0x36')](_0x44ec('0x23'))+':'+_0x58c138[_0x44ec('0x36')]('id');return _0x58c138[_0x44ec('0x36')](_0x44ec('0x168'))&&(_0x36ab4f+=':'+_0x58c138[_0x44ec('0x36')]('marker-count')),_0x305890[_0x44ec('0x157')](_0x44ec('0x11'),{'data-name':_0x36ab4f});}}),_0x3d9089[_0x44ec('0x149')]['for'](_0x44ec('0x8f'))[_0x44ec('0x64')]({'view':_0x44ec('0x12e')}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x1e8bbe=>{_0x1e8bbe['on'](_0x44ec('0xf'),_0x11f3bd(),{'priority':'high'});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x2100c4=>{_0x2100c4['on'](_0x44ec('0xd'),_0x11f3bd({'isAttributeSuggestion':!0x0}),{'priority':_0x44ec('0xb2')});}),_0x3d9089[_0x44ec('0x149')][_0x44ec('0x72')]('editingDowncast')[_0x44ec('0xcc')](_0x4a125d=>{_0x4a125d['on'](_0x44ec('0x134'),(_0x14d8c9,_0x55711c,_0x453a11)=>{const _0x3bfa6e=_0x453a11[_0x44ec('0xb9')][_0x44ec('0x35')](_0x55711c[_0x44ec('0xed')]);if(_0x3bfa6e)for(const _0x995f97 of _0x3bfa6e)_0x995f97[_0x44ec('0x28')](_0x44ec('0x86'))||(_0x453a11['writer'][_0x44ec('0x68')]([_0x44ec('0x9c'),_0x44ec('0x13f'),_0x44ec('0xb8')],_0x995f97),_0x453a11['writer']['removeAttribute'](_0x44ec('0x107'),_0x995f97),_0x453a11[_0x44ec('0xb9')][_0x44ec('0xf6')](_0x995f97,_0x55711c[_0x44ec('0xed')]));},{'priority':_0x44ec('0xb2')});}),_0x3d9089['conversion'][_0x44ec('0x72')](_0x44ec('0x9e'))[_0x44ec('0xcc')](_0x25bb5e=>{_0x25bb5e['on'](_0x44ec('0x66'),(_0x5b5fc1,_0x51c818,_0xcbec8)=>{const _0x177d31=_0xcbec8[_0x44ec('0xb9')][_0x44ec('0x35')](_0x51c818[_0x44ec('0xed')]);if(!_0x177d31)return;const {id:_0x14664a}=this[_0x44ec('0x5')](_0x51c818[_0x44ec('0xed')]),_0x59e30a=Lt(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x14664a));if(this['_isBlockAttribute'](_0x59e30a))for(const _0x373410 of _0x177d31)_0x373410[_0x44ec('0x28')](_0x44ec('0x86'))||(_0xcbec8[_0x44ec('0x152')][_0x44ec('0x68')]([_0x44ec('0x9c'),_0x44ec('0x13f'),'ck-suggestion-marker--active'],_0x373410),_0xcbec8[_0x44ec('0x152')][_0x44ec('0xc3')](_0x44ec('0x107'),_0x373410),_0xcbec8[_0x44ec('0xb9')][_0x44ec('0xf6')](_0x373410,_0x51c818[_0x44ec('0xed')]));},{'priority':_0x44ec('0xb2')});}),_0x3d9089['model']['document'][_0x44ec('0x6f')](_0x113171=>{let _0x549821=!0x1;const _0x29e038=Array[_0x44ec('0xe4')](_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')][_0x44ec('0x121')]['getChangedMarkers']()),_0x328199=new Set();for(const {name:_0xf18ccc,data:_0x21866f}of _0x29e038){const {group:_0x5629ce,type:_0x2f9f2b,subType:_0x38d27e,id:_0x3c8b05}=this['_splitMarkerName'](_0xf18ccc);if(_0x44ec('0x12e')!==_0x5629ce)continue;const _0x553015=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x3c8b05);if(null!=_0x21866f[_0x44ec('0x142')]){'formatInline'==_0x2f9f2b&&(_0x549821=_0x549821||Et(_0x21866f[_0x44ec('0x142')],_0xf18ccc,_0x113171,_0x3d9089['model'][_0x44ec('0x96')]));const _0x107a48='attribute'==_0x2f9f2b&&this[_0x44ec('0x15')](_0x38d27e[_0x44ec('0x8b')]('|')[0x0]);if(_0x21866f[_0x44ec('0x142')]['isCollapsed']||_0x44ec('0x5a')==_0x21866f[_0x44ec('0x142')][_0x44ec('0x82')][_0x44ec('0x11f')]||_0x44ec('0x11a')==_0x2f9f2b&&!Ut(_0x21866f[_0x44ec('0x142')])||_0x107a48&&!Ut(_0x21866f[_0x44ec('0x142')])||_0x44ec('0x114')==_0x2f9f2b&&!(!xt(_0x15308b=_0x21866f['newRange'])&&!function(_0x451094){return _0x451094[_0x44ec('0x25')][_0x44ec('0x156')]==_0x451094['end'][_0x44ec('0x16f')]&&_0x451094['start'][_0x44ec('0xca')];}(_0x15308b)))_0x113171[_0x44ec('0x100')](_0xf18ccc),_0x549821=!0x0;else{if(!_0x553015||!_0x553015[_0x44ec('0xbd')])continue;_0x328199[_0x44ec('0xcc')](_0x553015);}}}var _0x15308b;return _0x328199['size']>0x0&&(_0x549821=!!this[_0x44ec('0x59')](_0x328199)||_0x549821),_0x549821;}),_0x3d9089['model']['document'][_0x44ec('0x6f')](_0x36b58a=>{let _0x14b092=!0x1;for(const _0x6d4cd5 of _0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x94')]())if(_0x44ec('0x14')==_0x6d4cd5[_0x44ec('0x2')])for(const _0x31b209 of this[_0x44ec('0x80')]['values']()){if(_0x31b209[_0x44ec('0x1f')]||!_0x31b209['isInContent'])continue;const _0x4acdfa='formatBlock'==_0x31b209[_0x44ec('0x2')],_0x203ff3=Lt(_0x31b209),_0x357a90=_0x203ff3&&this['_isBlockAttribute'](_0x203ff3);if(!_0x4acdfa&&!_0x357a90)continue;const _0x420b8c=_0x31b209[_0x44ec('0xd3')]();if(_0x420b8c[_0x44ec('0x25')][_0x44ec('0x156')]!=_0x420b8c[_0x44ec('0xba')][_0x44ec('0x156')]&&!_0x420b8c[_0x44ec('0xba')][_0x44ec('0xca')]){const _0x1cf9b9=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x420b8c[_0x44ec('0x25')][_0x44ec('0xd9')],_0x44ec('0xba')),_0x7ba0e=_0x3d9089[_0x44ec('0x13a')]['createRange'](_0x420b8c['start'],_0x1cf9b9);_0x36b58a[_0x44ec('0x7a')](_0x31b209[_0x44ec('0x43')](),{'range':_0x7ba0e}),_0x14b092=!0x0;}}return _0x14b092;}),_0x3d9089[_0x44ec('0x13a')]['document'][_0x44ec('0x6f')](_0x3c4734=>this[_0x44ec('0x10e')](_0x3c4734)),_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')]['registerPostFixer'](_0x569f3b=>!_0x569f3b[_0x44ec('0xcf')][_0x44ec('0x24')]&&this[_0x44ec('0x4d')](_0x569f3b)),_0x3d9089[_0x44ec('0x13a')]['markers']['on']('update:suggestion',(_0x16303d,_0x28fef2,_0xa5c40d)=>{if(null==_0xa5c40d){const {id:_0x47d1d6}=this[_0x44ec('0x5')](_0x28fef2[_0x44ec('0x115')]),_0x3131d2=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x47d1d6);_0x3131d2&&_0x3131d2[_0x44ec('0x65')](_0x28fef2['name']);}}),_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x129')]['on'](_0x44ec('0xde'),()=>{const _0x4c5cb5=Array[_0x44ec('0xe4')](_0x3d9089['model']['document']['differ']['getChangedMarkers']())[_0x44ec('0x81')](_0x2ada67=>_0x44ec('0x12e')===this[_0x44ec('0x5')](_0x2ada67[_0x44ec('0x115')])[_0x44ec('0x13')]);if(0x0===_0x4c5cb5[_0x44ec('0x57')])return;_0x4c5cb5[_0x44ec('0x56')]((_0x5b75c8,_0x500b16)=>{const _0x3f26a2=_0x5b75c8[_0x44ec('0x17e')][_0x44ec('0x7')],_0x1edd26=_0x500b16[_0x44ec('0x17e')][_0x44ec('0x7')];return null===_0x3f26a2&&null===_0x1edd26?0x0:null===_0x3f26a2&&null!==_0x1edd26?-0x1:null!==_0x3f26a2&&null===_0x1edd26?0x1:_0x3f26a2[_0x44ec('0x25')][_0x44ec('0x10c')](_0x1edd26[_0x44ec('0x25')])?-0x1:0x1;});const _0x1ced2a=new Set(),_0x34e583=new Set();for(const {name:_0x16e837,data:_0x44847d}of _0x4c5cb5){const {id:_0x38bd86}=this[_0x44ec('0x5')](_0x16e837);if(null===_0x44847d['oldRange']){const _0x291886=this['_handleNewSuggestionMarker'](_0x16e837);_0x34e583[_0x44ec('0xcc')](_0x291886);}else{const _0x5dac4d=this['_suggestions'][_0x44ec('0x12c')](_0x38bd86);null!==_0x44847d[_0x44ec('0x142')]||_0x5dac4d[_0x44ec('0xbd')]?(_0x1ced2a[_0x44ec('0xcc')](_0x5dac4d[_0x44ec('0x14b')]),_0x34e583[_0x44ec('0xcc')](_0x5dac4d)):this['_removeSuggestion'](_0x5dac4d);}}_0x34e583[_0x44ec('0x71')]>0x0&&this[_0x44ec('0xd2')](_0x34e583);for(const _0x3057cc of _0x1ced2a)this['fire'](_0x44ec('0xff'),_0x3057cc);}),_0x3d9089[_0x44ec('0x13a')]['on'](_0x44ec('0x104'),(_0xc7b1df,_0x3da1af)=>{const _0x581a27=_0x3da1af[0x0];if(!this['_suggestions']['size'])return;if(!_0x581a27[_0x44ec('0xb')])return;if(_0x581a27[_0x44ec('0xcf')][_0x44ec('0x166')]||!_0x581a27[_0x44ec('0xcf')][_0x44ec('0x24')])return;let _0x34a927,_0xa0f0da;switch(_0x581a27[_0x44ec('0x2')]){case _0x44ec('0x14'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27['position']),_0xa0f0da=_0x34a927[_0x44ec('0xfd')](_0x581a27[_0x44ec('0x1')]);break;case _0x44ec('0x8b'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27['splitPosition']),_0xa0f0da=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27[_0x44ec('0xeb')]);break;case _0x44ec('0x17a'):_0x34a927=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xa1')](_0x581a27[_0x44ec('0x148')]),_0xa0f0da=_0x34a927[_0x44ec('0xfd')](_0x581a27[_0x44ec('0x1')]);break;default:return;}const _0x21a964=_0x3d9089['model']['createRange'](_0x34a927,_0xa0f0da);_0x3d9089[_0x44ec('0x13a')]['change'](()=>{for(const {suggestion:_0xad55ec,meta:_0x3bee67}of this[_0x44ec('0x4e')](_0x21a964)){if(_0xad55ec[_0x44ec('0x1f')])continue;if('formatInline'==_0xad55ec[_0x44ec('0x2')])continue;const _0x143661=Lt(_0xad55ec);if(_0x143661&&this[_0x44ec('0x15')](_0x143661)&&_0x44ec('0x8b')!=_0x581a27[_0x44ec('0x2')])continue;const _0x5edbe3=_0xad55ec[_0x44ec('0x17e')]&&_0xad55ec[_0x44ec('0x17e')][_0x44ec('0xd7')];(_0x44ec('0x11a')!=_0xad55ec[_0x44ec('0x2')]||'split'==_0x581a27[_0x44ec('0x2')]&&!_0x5edbe3)&&(_0x3bee67[_0x44ec('0xfc')]||_0x44ec('0xb6')==_0xad55ec['type']&&_0x3bee67[_0x44ec('0x44')]||_0xad55ec[_0x44ec('0xd3')]()[_0x44ec('0x178')](_0x21a964)&&this[_0x44ec('0xee')](_0xad55ec,_0x34a927,_0xa0f0da));}});},{'priority':'lowest'}),_0x3d9089['model']['on'](_0x44ec('0xc0'),(_0x3bc872,_0x1fb3c9)=>{const _0x4a7eec=_0x1fb3c9[0x0],_0x4ca598=_0x1fb3c9[0x1];if(_0x4ca598&&_0x4ca598[_0x44ec('0x3')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this[_0x44ec('0x12')]['value'])return;if(_0x4a7eec[_0x44ec('0x88')])return;const _0x3bfa47=_0x3d9089['model']['schema'],{start:_0x30c48e,end:_0x373f16}=_0x4a7eec[_0x44ec('0xd3')](),_0x1dd1ad=_0x30c48e[_0x44ec('0xd9')]&&_0x3bfa47[_0x44ec('0x108')](_0x30c48e[_0x44ec('0xd9')])?null:_0x3bfa47['getNearestSelectionRange'](_0x30c48e,_0x44ec('0x8')),_0x46fec9=_0x373f16[_0x44ec('0x16f')]&&_0x3bfa47[_0x44ec('0x108')](_0x373f16[_0x44ec('0x16f')])?null:_0x3bfa47[_0x44ec('0x126')](_0x373f16,'backward'),_0x27a560=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xe3')](_0x1dd1ad?_0x1dd1ad[_0x44ec('0x25')]:_0x30c48e,_0x46fec9?_0x46fec9['end']:_0x373f16);_0x3d9089['model'][_0x44ec('0xf7')](_0x30d886=>{this[_0x44ec('0x99')](_0x27a560);const _0x1a0603=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x96')][_0x44ec('0x126')](_0x27a560['start']);_0x4a7eec['is'](_0x44ec('0x0'))?_0x30d886[_0x44ec('0x6')](_0x1a0603):_0x4a7eec[_0x44ec('0x139')](_0x1a0603);}),_0x3bc872[_0x44ec('0x12b')]();},{'priority':_0xcff10f[_0x44ec('0x26')]+0xa}),_0x3d9089[_0x44ec('0x13a')]['on'](_0x44ec('0x41'),(_0x5eae25,_0x54c517)=>{const _0x39bfc7=_0x54c517[_0x54c517[_0x44ec('0x57')]-0x1];_0x39bfc7&&_0x39bfc7[_0x44ec('0x3')]||this[_0x44ec('0xb7')]||this[_0x44ec('0x12')][_0x44ec('0x9f')]&&(_0x3d9089['model'][_0x44ec('0xf7')](()=>{let _0x2f2290=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0x41')](_0x54c517[0x0],_0x54c517[0x1],_0x54c517[0x2],{'forceDefaultExecution':!0x0});if(!_0x2f2290)return;_0x5eae25[_0x44ec('0x17b')]=_0x2f2290[_0x44ec('0x118')]();const _0x3884c4=_0x2f2290[_0x44ec('0xba')]['nodeBefore'],_0x49b9d1=_0x3d9089[_0x44ec('0x13a')]['schema'];_0x3884c4&&_0x49b9d1[_0x44ec('0x3f')](_0x3884c4)&&!_0x49b9d1[_0x44ec('0xcd')](_0x3884c4)&&(_0x2f2290=_0x3d9089[_0x44ec('0x13a')][_0x44ec('0xe3')](_0x2f2290[_0x44ec('0x25')],_0x3d9089['model']['createPositionAt'](_0x3884c4,'end'))),this['markInsertion'](_0x2f2290);}),_0x5eae25[_0x44ec('0x12b')]());},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0x91')][_0x44ec('0x40')][_0x44ec('0xcc')](_0x44ec('0x5d'),this['trackChangesCommand']),this['enableCommand'](_0x44ec('0x5d'));const _0x10663b=new _0x5339ab(_0x3d9089,this[_0x44ec('0x80')]);_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')](_0x44ec('0xea'),_0x10663b),this[_0x44ec('0x5b')](_0x44ec('0xea'));const _0xd67720=new _0x1cb7d7(_0x3d9089,this['_suggestions']);_0x3d9089[_0x44ec('0x40')]['add'](_0x44ec('0x47'),_0xd67720),this[_0x44ec('0x5b')](_0x44ec('0x47')),_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')]('acceptAllSuggestions',new _0x16094c(_0x3d9089,_0x10663b,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0xb1')),_0x3d9089[_0x44ec('0x40')][_0x44ec('0xcc')]('discardAllSuggestions',new _0x16094c(_0x3d9089,_0xd67720,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0xd6')),_0x3d9089[_0x44ec('0x40')]['add'](_0x44ec('0x112'),new _0x1edd45(_0x3d9089,_0x10663b,this[_0x44ec('0x80')])),this['enableCommand'](_0x44ec('0x112')),_0x3d9089['commands'][_0x44ec('0xcc')]('discardSelectedSuggestions',new _0x1edd45(_0x3d9089,_0xd67720,this[_0x44ec('0x80')])),this[_0x44ec('0x5b')](_0x44ec('0x49'));const _0x48af6e=_0x3d9089[_0x44ec('0x140')][_0x44ec('0x12c')]('CommentsRepository');this[_0x44ec('0xc2')](_0x48af6e,_0x44ec('0x163'),(_0x1c5350,{threadId:_0x93d2f})=>{const _0x3b74fa=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x93d2f);_0x3b74fa&&_0x3b74fa[_0x44ec('0x73')]&&0x1===_0x3b74fa[_0x44ec('0x73')][_0x44ec('0x57')]&&this['_updateSuggestionData'](_0x93d2f,{'hasComments':!0x0});},{'priority':'low'}),this[_0x44ec('0xc2')](_0x48af6e,_0x44ec('0x9a'),(_0x168aa7,{threadId:_0x3a3801})=>{const _0x49bc3a=this[_0x44ec('0x80')]['get'](_0x3a3801);_0x49bc3a&&_0x49bc3a[_0x44ec('0x73')]&&!_0x49bc3a['commentThread'][_0x44ec('0x57')]&&this[_0x44ec('0x45')](_0x3a3801,{'hasComments':!0x1});},{'priority':_0x44ec('0x167')});}set[_0x44ec('0x84')](_0x38a4d7){if(this['_adapter'])throw new _0x29cd75(_0x44ec('0xfa'),this);this[_0x44ec('0x110')]=_0x38a4d7;}get[_0x44ec('0x84')](){return this[_0x44ec('0x110')];}[_0x44ec('0x39')]({skipNotAttached:_0x90bbed=!0x1,toJSON:_0x5f55ae=!0x1}={}){const _0x486ea6=[];for(const _0x317302 of this[_0x44ec('0x80')][_0x44ec('0x16d')]())_0x90bbed&&!_0x317302[_0x44ec('0xbd')]||_0x486ea6['push'](_0x317302);return _0x5f55ae?_0x486ea6[_0x44ec('0x111')](_0x38a1bf=>_0x38a1bf['toJSON']()):_0x486ea6;}[_0x44ec('0x93')](_0x4b5249){const _0x55b6b4=this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x4b5249);if(!_0x55b6b4)throw new _0x29cd75('track-changes-suggestion-not-found',this);return _0x55b6b4;}[_0x44ec('0x1b')](_0x5616e4){return this[_0x44ec('0x80')][_0x44ec('0x63')](_0x5616e4);}[_0x44ec('0xab')](_0x107dd1){const {authorId:_0x21c9e2,id:_0x31bee5,attributes:_0x3df666}=_0x107dd1,[_0x60f00,_0x4320fa]=_0x107dd1[_0x44ec('0x2')][_0x44ec('0x8b')](':'),_0x5b6d64=this['_suggestions']['get'](_0x31bee5)||this[_0x44ec('0x5f')](_0x60f00,_0x4320fa,_0x31bee5,_0x21c9e2,_0x3df666);if(this[_0x44ec('0x54')](_0x5b6d64),this[_0x44ec('0x15f')](_0x5b6d64,_0x60f00,_0x4320fa||null,_0x21c9e2),_0x5b6d64[_0x44ec('0x102')]=_0x107dd1[_0x44ec('0x102')],_0x5b6d64['_isDataLoaded']=!0x0,_0x3df666&&_0x3df666['@external']){const _0x371b68=_0x3df666['@external'],_0x52b0cf=this['_getExternalAuthor'](_0x371b68['authorName']);_0x5b6d64['authoredAt']=_0x371b68['createdAt'],_0x5b6d64[_0x44ec('0xaf')]=_0x52b0cf,_0x5b6d64[_0x44ec('0xdb')]=!0x0;}else _0x5b6d64[_0x44ec('0x145')]=_0x107dd1[_0x44ec('0x102')];switch(_0x107dd1[_0x44ec('0x17e')]&&(_0x5b6d64[_0x44ec('0x17e')]=_0x107dd1[_0x44ec('0x17e')]),_0x107dd1[_0x44ec('0x62')]&&(_0x5b6d64[_0x44ec('0x62')]=_0x107dd1[_0x44ec('0x62')]),this[_0x44ec('0x110')]&&this[_0x44ec('0x110')][_0x44ec('0xbc')]||(_0x5b6d64[_0x44ec('0x135')]=!0x0),this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x5b6d64)){case _0x44ec('0x4f'):this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0xc6'));break;case _0x44ec('0x74'):_0x5b6d64[_0x44ec('0xbd')]?(this[_0x44ec('0xd2')](new Set([_0x5b6d64])),this[_0x44ec('0x59')](new Set([_0x5b6d64])),this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0x11d')),this[_0x44ec('0xf3')](_0x44ec('0x12d'),_0x5b6d64)):this['_suggestionState'][_0x44ec('0x29')](_0x5b6d64,_0x44ec('0x5c'));}return _0x5b6d64;}[_0x44ec('0xea')](_0x30f714){this[_0x44ec('0x3')](()=>{this[_0x44ec('0x91')][_0x44ec('0x13a')][_0x44ec('0xf7')](()=>{for(const _0x28c1aa of _0x30f714[_0x44ec('0x136')]())_0x28c1aa[_0x44ec('0x16c')]();});});}[_0x44ec('0x47')](_0x2a4d9c){this[_0x44ec('0x3')](()=>{this[_0x44ec('0x91')][_0x44ec('0x13a')]['change'](()=>{for(const _0x2f70f4 of _0x2a4d9c['getAllAdjacentSuggestions']())_0x2f70f4['discard']();});});}[_0x44ec('0x5b')](_0x54ee02,_0xd04d0e){const _0x1e7466=this[_0x44ec('0x91')][_0x44ec('0x40')][_0x44ec('0x12c')](_0x54ee02);if(!_0x1e7466)throw new _0x29cd75(_0x44ec('0x16e'),this,{'commandName':_0x54ee02});if(this[_0x44ec('0x7f')]['has'](_0x1e7466))throw new _0x29cd75(_0x44ec('0x60'),this,{'commandName':_0x54ee02});this[_0x44ec('0x7f')][_0x44ec('0xcc')](_0x1e7466),_0xd04d0e&&_0x1e7466['on'](_0x44ec('0x2e'),(_0x25a2b7,_0x11510f)=>{this[_0x44ec('0x12')][_0x44ec('0x9f')]&&(this['_isForcedDefaultExecutionBlock']||(_0x11510f[_0x44ec('0x57')]>0x0&&_0x11510f[_0x11510f['length']-0x1]&&_0x11510f[_0x11510f[_0x44ec('0x57')]-0x1][_0x44ec('0x3')]?_0x11510f[_0x44ec('0x3c')]():(_0x25a2b7[_0x44ec('0x17b')]=_0xd04d0e((..._0x21bc12)=>_0x1e7466[_0x44ec('0x2e')](..._0x21bc12,{'forceDefaultExecution':!0x0}),..._0x11510f),_0x25a2b7[_0x44ec('0x12b')]())));},{'priority':_0x44ec('0xb2')});}[_0x44ec('0x3')](_0x5688e5){let _0x286939,_0x5b65f6;const _0x6ee39=this[_0x44ec('0xb7')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x286939=_0x5688e5();}catch(_0x42beda){_0x5b65f6=_0x42beda;}return _0x6ee39||(this[_0x44ec('0xb7')]=!0x1),_0x5b65f6&&_0x29cd75['rethrowUnexpectedError'](_0x5b65f6,this),_0x286939;}[_0x44ec('0x87')](_0x2da073,_0x80f17f=null,_0x355e8d={}){if(_0x2da073[_0x44ec('0x88')])return null;const _0x2e7818=this['editor']['plugins'][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'];for(const {suggestion:_0x329a,meta:_0x26cbf9}of this[_0x44ec('0x4e')](_0x2da073,'insertion'))if(_0x26cbf9[_0x44ec('0x44')]){if(!_0x26cbf9[_0x44ec('0x158')]){if(_0x26cbf9[_0x44ec('0xfc')]){if(!this[_0x44ec('0x132')]||!Ft(_0x329a,_0x355e8d))continue;return _0x329a;}if(Ft(_0x329a,_0x355e8d))return _0x329a;this['_breakSuggestionMarker'](_0x329a,_0x2da073['start'],_0x2da073[_0x44ec('0xba')]);break;}if(_0x80f17f==_0x329a['subType']&&Ft(_0x329a,_0x355e8d)){const _0x1ecb15=_0x329a[_0x44ec('0xd3')]();return _0x1ecb15[_0x44ec('0x25')]['isEqual'](_0x2da073[_0x44ec('0xba')])?this['_setSuggestionRange'](_0x329a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x2da073[_0x44ec('0x25')],_0x1ecb15[_0x44ec('0xba')])):this[_0x44ec('0x7b')](_0x329a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x1ecb15[_0x44ec('0x25')],_0x2da073[_0x44ec('0xba')])),_0x329a;}}const _0x483e80=_0x1d19db(),_0x48bb81=_0x2e7818['id'],_0x3fa631=_0x80f17f?_0x44ec('0x11e')+_0x80f17f:_0x44ec('0xb6'),_0x1cbd03=this[_0x44ec('0xf4')]({'id':_0x483e80,'type':_0x3fa631,'createdAt':new Date(),'authorId':_0x48bb81,'attributes':_0x355e8d});return this[_0x44ec('0xe9')](_0x3fa631,_0x483e80,_0x48bb81,_0x2da073),_0x1cbd03;}['markMultiRangeInsertion'](_0x8fcd44,_0x2747a8='multi',_0x4df697={}){const _0x269294=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x43a71f=this[_0x44ec('0xb5')][_0x44ec('0x52')]('insertion',_0x2747a8,_0x44ec('0x164'));for(const _0x328db1 of this['getSuggestions']())if(_0x328db1[_0x44ec('0xaf')]['id']==_0x269294['id']&&'insertion'==_0x328db1[_0x44ec('0x2')]&&_0x328db1[_0x44ec('0xfe')]==_0x2747a8&&Ft(_0x328db1,_0x4df697)&&(_0x43a71f(_0x328db1['getRanges'](),_0x8fcd44)||_0x43a71f(_0x8fcd44,_0x328db1[_0x44ec('0x9')]()))){for(const _0x33cd33 of _0x8fcd44)_0x328db1['addRange'](_0x33cd33);return _0x328db1;}for(const {suggestion:_0x321271,meta:_0x66eb02}of this['_findSuggestions'](_0x8fcd44,_0x44ec('0xb6'))){if(!_0x66eb02[_0x44ec('0x44')])continue;if(!this[_0x44ec('0x132')]&&_0x66eb02[_0x44ec('0xfc')])continue;if(!Ft(_0x321271,_0x4df697))continue;let _0x3bf557=!0x0;for(const _0x3fa7f6 of _0x321271[_0x44ec('0x9')]())for(const _0x17f8a4 of _0x8fcd44)if(!_0x3fa7f6[_0x44ec('0x178')](_0x17f8a4)){_0x3bf557=!0x1;break;}if(_0x3bf557)return _0x321271;}const _0x5d4f69=_0x1d19db(),_0x287621=_0x269294['id'],_0x2d7e15=_0x44ec('0x11e')+_0x2747a8,_0x155930=this[_0x44ec('0xf4')]({'id':_0x5d4f69,'type':_0x2d7e15,'createdAt':new Date(),'authorId':_0x287621,'attributes':_0x4df697});for(const _0x2173d0 of _0x8fcd44)this[_0x44ec('0xe9')](_0x2d7e15,_0x5d4f69,_0x287621,_0x2173d0,_0x27b20b[_0x44ec('0x12f')]());return _0x155930;}[_0x44ec('0x14a')](_0x2a24dd,_0x5f24a1,_0x4ac884=null,_0x5b3d8b={}){if(_0x4ac884=_0x4ac884||Rt(_0x5f24a1),_0x2a24dd['isCollapsed'])return null;if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x18874c=this[_0x44ec('0xb5')]['getSuggestionCallback']('formatInline',_0x4ac884,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x18874c([_0x2a24dd],_0x5f24a1,_0x5b3d8b)),null;}const _0x2a19b5=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')]('Users')['me'],_0x361224=[];if(_0x44ec('0x109')!==this['_trackFormatChanges'])for(const {suggestion:_0x3b9de4,meta:_0x30ada7}of this[_0x44ec('0x4e')](_0x2a24dd,'insertion'))_0x30ada7[_0x44ec('0x44')]&&!_0x30ada7[_0x44ec('0x10f')]&&_0x361224[_0x44ec('0x143')](..._0x3b9de4[_0x44ec('0x9')]());const _0xa40a65=function(_0x10ae34,_0x416d8d){const _0x1a46a3=[];for(const _0x185784 of _0x416d8d){const _0x1e9d35=_0x10ae34[_0x44ec('0x15b')](_0x185784);_0x1e9d35&&_0x1a46a3[_0x44ec('0x143')](_0x1e9d35);}return _0x1a46a3;}(_0x2a24dd,_0x361224),_0x56a681=function(_0x213a7b,_0x947217){const _0x39d0d8=[_0x213a7b];for(const _0x157294 of _0x947217){let _0x43ff3f=0x0;for(;_0x43ff3f<_0x39d0d8[_0x44ec('0x57')];){const _0x23fbeb=_0x39d0d8[_0x43ff3f][_0x44ec('0x141')](_0x157294);_0x39d0d8[_0x44ec('0x9b')](_0x43ff3f,0x1,..._0x23fbeb),_0x43ff3f+=_0x23fbeb[_0x44ec('0x57')];}}return _0x39d0d8;}(_0x2a24dd,_0x361224);_0xa40a65[_0x44ec('0x57')]&&this['_model'][_0x44ec('0xf7')](()=>{for(const _0x30f9cd of _0xa40a65){const _0x1add2c=this[_0x44ec('0xb5')]['getSuggestionCallback']('formatInline',_0x4ac884,'accept');this[_0x44ec('0x3')](()=>_0x1add2c([_0x30f9cd],_0x5f24a1,_0x5b3d8b));}});for(const _0x6ca645 of _0x56a681){let _0x72fd25=null,_0x4e9f7c=_0x6ca645[_0x44ec('0x25')],_0x52ea90=_0x6ca645[_0x44ec('0xba')];for(const {suggestion:_0x12fb21,meta:_0x3ca29a}of this[_0x44ec('0x4e')](_0x6ca645,'formatInline')){if(!_0x3ca29a[_0x44ec('0x44')])continue;if(_0x12fb21[_0x44ec('0xfe')]!=_0x4ac884)continue;if(!Ft(_0x12fb21,_0x5b3d8b))continue;const _0xa14f4f=_0x12fb21[_0x44ec('0xd3')]();if(_0xa14f4f[_0x44ec('0x178')](_0x6ca645,!0x0))return null;_0x4e9f7c=_0x4e9f7c[_0x44ec('0x10c')](_0xa14f4f[_0x44ec('0x25')])?_0x4e9f7c:_0xa14f4f[_0x44ec('0x25')],_0x52ea90=_0x52ea90['isAfter'](_0xa14f4f[_0x44ec('0xba')])?_0x52ea90:_0xa14f4f[_0x44ec('0xba')],_0x72fd25?_0xa14f4f[_0x44ec('0x25')][_0x44ec('0x10c')](_0x72fd25[_0x44ec('0xd3')]()['start'])?(_0x72fd25['removeMarkers'](),_0x72fd25=_0x12fb21):_0x12fb21['removeMarkers']():_0x72fd25=_0x12fb21;}const _0x1115bd=this[_0x44ec('0xdc')]['createRange'](_0x4e9f7c,_0x52ea90);if(_0x72fd25)this[_0x44ec('0x7b')](_0x72fd25,_0x1115bd);else{const _0x18ffa1=_0x1d19db(),_0x536bb2=_0x2a19b5['id'];this[_0x44ec('0xf4')]({'id':_0x18ffa1,'type':_0x44ec('0x6d')+_0x4ac884,'data':_0x5f24a1,'createdAt':new Date(),'authorId':_0x536bb2,'attributes':_0x5b3d8b}),this[_0x44ec('0xe9')](_0x44ec('0x6d')+_0x4ac884,_0x18ffa1,_0x536bb2,_0x1115bd);}}return null;}[_0x44ec('0xc7')](_0x237d8c,_0x5eb566,_0xfe60ab=[],_0x2e6369=null,_0x4b31f6={}){_0x5eb566[_0x44ec('0x172')]||(_0x5eb566[_0x44ec('0x172')]=_0x5eb566[_0x44ec('0x101')]),_0x5eb566[_0x44ec('0xd7')]=_0x237d8c['is'](_0x44ec('0x19')),_0x2e6369=_0x2e6369||Rt(_0x5eb566);const _0x5c3cdc=_0xfe60ab['map'](_0xe445a3=>Ot(_0xe445a3,this[_0x44ec('0xdc')])),_0x4e13c2=_0x237d8c['is'](_0x44ec('0x19'))?_0x237d8c:Ot(_0x237d8c,this[_0x44ec('0xdc')]);if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x513134=this[_0x44ec('0xb5')][_0x44ec('0x52')]('formatBlock',_0x2e6369,_0x44ec('0x16c'));return this['forceDefaultExecution'](()=>_0x513134([_0x4e13c2],_0x5eb566,_0x4b31f6)),null;}_0x5c3cdc[_0x44ec('0x143')](_0x4e13c2);let _0x374aff=!0x0;for(const _0x55a088 of _0x5c3cdc)if(!this[_0x44ec('0xf5')](_0x55a088)){_0x374aff=!0x1;break;}if(_0x374aff&&_0x44ec('0x109')!==this[_0x44ec('0x176')]){const _0x437009=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x11a'),_0x2e6369,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x437009([_0x4e13c2],_0x5eb566,_0x4b31f6)),null;}let _0x2085cc=null,_0x4eae70=_0x4e13c2[_0x44ec('0x25')],_0x266002=_0x4e13c2['end'];for(const {suggestion:_0xa64376,meta:_0x2800f1}of this[_0x44ec('0x4e')](_0x4e13c2,_0x44ec('0x11a'))){if(!_0x2800f1[_0x44ec('0x44')])continue;if(_0x2800f1[_0x44ec('0x158')]||_0x2800f1['containsRangeInObject']||_0x2800f1[_0x44ec('0x10f')])continue;if(_0xa64376[_0x44ec('0x17e')]['formatGroupId']!=_0x5eb566[_0x44ec('0x172')])continue;if(!Ft(_0xa64376,_0x4b31f6))continue;const _0x56b140=_0xa64376['getFirstRange']();if(_0xa64376[_0x44ec('0xfe')]==_0x2e6369){if(_0x56b140[_0x44ec('0x178')](_0x4e13c2,!0x0))return null;_0x4eae70=_0x4eae70[_0x44ec('0x10c')](_0x56b140[_0x44ec('0x25')])?_0x4eae70:_0x56b140[_0x44ec('0x25')],_0x266002=_0x266002[_0x44ec('0x76')](_0x56b140[_0x44ec('0xba')])?_0x266002:_0x56b140[_0x44ec('0xba')],_0x2085cc?_0x56b140[_0x44ec('0x25')][_0x44ec('0x10c')](_0x2085cc[_0x44ec('0xd3')]()[_0x44ec('0x25')])?(_0x2085cc[_0x44ec('0x10b')](),_0x2085cc=_0xa64376):_0xa64376[_0x44ec('0x10b')]():_0x2085cc=_0xa64376;}else{const _0x7d9b24=_0x4e13c2[_0x44ec('0x15b')](_0x56b140);this[_0x44ec('0xae')](_0xa64376,_0x7d9b24);}}const _0x5f3cd8=this['editor'][_0x44ec('0x140')]['get'](_0x44ec('0xe1'))['me'],_0x5e2a7b=_0x1d19db(),_0x103f4e=_0x5f3cd8['id'];if(_0x2085cc)return this[_0x44ec('0x7b')](_0x2085cc,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x4eae70,_0x266002)),_0x2085cc;{const _0x1efe2d=this['_setSuggestionData']({'id':_0x5e2a7b,'type':_0x44ec('0x8c')+_0x2e6369,'data':_0x5eb566,'createdAt':new Date(),'authorId':_0x103f4e,'attributes':_0x4b31f6});return this[_0x44ec('0xe9')](_0x44ec('0x8c')+_0x2e6369,_0x5e2a7b,_0x103f4e,this['_model'][_0x44ec('0xe3')](_0x4eae70,_0x266002)),_0x1efe2d;}}['markMultiRangeBlockFormat'](_0x5c5d92,_0xf8bb40,_0x2f4bc6=[],_0x170415=null,_0x2a50ab={}){_0xf8bb40[_0x44ec('0x172')]||(_0xf8bb40[_0x44ec('0x172')]=_0xf8bb40[_0x44ec('0x101')]);const _0x21d5c1=_0x5c5d92[0x0];_0xf8bb40['multipleBlocks']=_0x21d5c1['is'](_0x44ec('0x19')),_0x170415=_0x170415||Rt(_0xf8bb40);const _0x1fbda0=_0x2f4bc6[_0x44ec('0x111')](_0x427558=>Ot(_0x427558,this[_0x44ec('0xdc')])),_0x41e2ff=_0x21d5c1['is'](_0x44ec('0x19'))?_0x5c5d92:_0x5c5d92[_0x44ec('0x111')](_0x2adafc=>Ot(_0x2adafc,this[_0x44ec('0xdc')]));if(_0x44ec('0x14f')===this[_0x44ec('0x176')]){const _0x233b95=this[_0x44ec('0xb5')]['getSuggestionCallback'](_0x44ec('0x11a'),_0x170415,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x233b95(_0x41e2ff,_0xf8bb40,_0x2a50ab)),null;}_0x1fbda0['push'](..._0x41e2ff);let _0x42ec52=!0x0;for(const _0x56389e of _0x1fbda0)if(!this[_0x44ec('0xf5')](_0x56389e)){_0x42ec52=!0x1;break;}if(_0x42ec52&&_0x44ec('0x109')!==this[_0x44ec('0x176')]){const _0x53331f=this[_0x44ec('0xb5')][_0x44ec('0x52')]('formatBlock',_0x170415,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x53331f(_0x41e2ff,_0xf8bb40,_0x2a50ab)),null;}const _0x3aa89c=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'];for(const _0x36db31 of this[_0x44ec('0x39')]()){if(_0x36db31[_0x44ec('0xaf')]['id']!=_0x3aa89c['id'])continue;if(_0x44ec('0x11a')!=_0x36db31[_0x44ec('0x2')]||_0x36db31[_0x44ec('0x17e')][_0x44ec('0x172')]!=_0xf8bb40[_0x44ec('0x172')])continue;if(!Ft(_0x36db31,_0x2a50ab))continue;const _0x3efbbe=_0x36db31['subType']==_0x170415;for(let _0x4c04e4=0x0;_0x4c04e4<_0x41e2ff['length'];_0x4c04e4++){const _0x4f4d6e=_0x41e2ff[_0x4c04e4];for(const _0x5981a0 of _0x36db31[_0x44ec('0x18')]()){const _0x2d2345=_0x5981a0[_0x44ec('0x15a')]();if(_0x4f4d6e[_0x44ec('0x106')](_0x2d2345)){_0x3efbbe?(_0x41e2ff[_0x44ec('0x9b')](_0x4c04e4,0x1),_0x4c04e4--):_0x36db31['removeMarker'](_0x5981a0[_0x44ec('0x115')]);break;}}}}if(0x0==_0x41e2ff[_0x44ec('0x57')])return null;const _0x42509c=this[_0x44ec('0xb5')]['getSuggestionCallback'](_0x44ec('0x11a'),_0x170415,'join');for(const _0x599527 of this[_0x44ec('0x39')]())if(_0x599527['author']['id']==_0x3aa89c['id']&&_0x44ec('0x11a')==_0x599527[_0x44ec('0x2')]&&_0x599527[_0x44ec('0x17e')][_0x44ec('0x172')]==_0xf8bb40['formatGroupId']&&_0x599527[_0x44ec('0xfe')]==_0x170415&&Ft(_0x599527,_0x2a50ab)&&(_0x42509c(_0x599527[_0x44ec('0x9')](),_0x41e2ff)||_0x42509c(_0x41e2ff,_0x599527['getRanges']()))){for(const _0x56dde5 of _0x41e2ff)_0x599527[_0x44ec('0x150')](_0x56dde5);return _0x599527;}const _0x3f666e=_0x1d19db(),_0x473564=_0x3aa89c['id'],_0x1ef0cb='formatBlock:'+_0x170415,_0x2cc97d=this[_0x44ec('0xf4')]({'id':_0x3f666e,'type':_0x1ef0cb,'data':_0xf8bb40,'createdAt':new Date(),'authorId':_0x473564,'attributes':_0x2a50ab});for(const _0x476a08 of _0x41e2ff)this['_addSuggestionMarker'](_0x1ef0cb,_0x3f666e,_0x473564,_0x476a08,_0x27b20b['getMultiRangeId']());return _0x2cc97d;}['markDeletion'](_0x370fa7,_0x22bd3d=null,_0x850ee9={}){if(_0x370fa7[_0x44ec('0x88')])return null;const _0x2704a7=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x4c7c18=new _0x3fb3d1(_0x370fa7[_0x44ec('0x25')],_0x370fa7[_0x44ec('0xba')]);for(const {suggestion:_0x4e527d,meta:_0x141309}of this[_0x44ec('0x4e')](_0x4c7c18,'insertion'))if(_0x141309[_0x44ec('0x44')]&&!_0x141309[_0x44ec('0x158')]){if(_0x4e527d['isMultiRange']){const _0x329714=_0x4e527d[_0x44ec('0x9')]()['filter'](_0x5323b1=>'$graveyard'!=_0x5323b1[_0x44ec('0x82')]['rootName']);_0x329714[_0x44ec('0x97')](_0x3fbcfa=>_0x4c7c18['containsRange'](_0x3fbcfa,!0x0))&&_0x4e527d['discard']();if(_0x329714[_0x44ec('0x124')](_0x39230c=>_0x39230c[_0x44ec('0x178')](_0x4c7c18,!0x0))){const _0x2393eb=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x114'),_0x22bd3d,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x2393eb([_0x4c7c18],null,_0x850ee9)),null;}}else{const _0x3d7a48=_0x4c7c18[_0x44ec('0x15b')](_0x4e527d[_0x44ec('0xd3')]());null!==_0x3d7a48&&_0x4e527d[_0x44ec('0x122')]([_0x3d7a48],null,_0x850ee9);}}if(_0x4c7c18[_0x44ec('0xc9')](),_0x4c7c18[_0x44ec('0x88')]||_0x44ec('0x5a')==_0x4c7c18['root'][_0x44ec('0x11f')])return null;let _0x8862f9=null,_0x8684f4=_0x4c7c18[_0x44ec('0x25')],_0x492c9b=_0x4c7c18['end'];const _0x3a841a=this[_0x44ec('0x4e')](_0x4c7c18,_0x44ec('0x114'));for(const {suggestion:_0x1e9e76,meta:_0x37241b}of _0x3a841a){const _0x5948d=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b);if(_0x37241b[_0x44ec('0x44')]&&(this['_mergeNestedSuggestions']||!_0x37241b[_0x44ec('0xfc')]&&!_0x37241b[_0x44ec('0x10f')])){if(_0x1e9e76[_0x44ec('0x1f')]){if(!Ft(_0x1e9e76,_0x850ee9))continue;let _0x4d0cf4=!0x0;for(const _0x4226bc of _0x1e9e76[_0x44ec('0x9')]()){if(_0x4226bc['containsRange'](_0x5948d,!0x0))return _0x1e9e76;_0x5948d[_0x44ec('0x178')](_0x4226bc)||(_0x4d0cf4=!0x1);}_0x4d0cf4&&_0x1e9e76['discard']();}else{const _0x58ce53=_0x1e9e76[_0x44ec('0xd3')]();if(_0x58ce53['containsRange'](_0x5948d,!0x0))return _0x1e9e76;if(!Ft(_0x1e9e76,_0x850ee9)){_0x5948d[_0x44ec('0x178')](_0x58ce53)?_0x1e9e76[_0x44ec('0x10b')]():_0x58ce53[_0x44ec('0x10')](_0x8684f4)?_0x8684f4=_0x58ce53[_0x44ec('0xba')]:_0x58ce53[_0x44ec('0x10')](_0x492c9b)&&(_0x492c9b=_0x58ce53[_0x44ec('0x25')]);continue;}_0x8684f4=_0x8684f4[_0x44ec('0x10c')](_0x58ce53['start'])?_0x8684f4:_0x58ce53[_0x44ec('0x25')],_0x492c9b=_0x492c9b[_0x44ec('0x76')](_0x58ce53[_0x44ec('0xba')])?_0x492c9b:_0x58ce53[_0x44ec('0xba')],_0x850ee9=Object[_0x44ec('0x16a')]({},_0x1e9e76[_0x44ec('0x62')]),_0x8862f9?_0x58ce53[_0x44ec('0x25')][_0x44ec('0x10c')](_0x8862f9[_0x44ec('0xd3')]()[_0x44ec('0x25')])?(_0x8862f9[_0x44ec('0x10b')](),_0x8862f9=_0x1e9e76):_0x1e9e76['removeMarkers']():_0x8862f9=_0x1e9e76;}}}if(_0x8862f9)return this[_0x44ec('0x7b')](_0x8862f9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b)),_0x8862f9;{const _0x50cb23=_0x1d19db(),_0x346539=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x8684f4,_0x492c9b),_0x11407f=_0x2704a7['id'],_0x4984ae=_0x22bd3d?_0x44ec('0xbb')+_0x22bd3d:'deletion',_0x3cec8f=this['_setSuggestionData']({'id':_0x50cb23,'type':_0x4984ae,'createdAt':new Date(),'authorId':_0x11407f,'attributes':_0x850ee9});return this[_0x44ec('0xe9')](_0x4984ae,_0x50cb23,_0x11407f,_0x346539),_0x3cec8f;}}[_0x44ec('0x130')](_0x95c11d,_0x5748d5=_0x44ec('0x75'),_0x27a234={}){const _0x39179e=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))['me'],_0x7e5b9e=_0x95c11d[_0x44ec('0x111')](_0x4c11e3=>new _0x3fb3d1(_0x4c11e3[_0x44ec('0x25')],_0x4c11e3[_0x44ec('0xba')])),_0x37038a=new Set();for(const {suggestion:_0x338de6,meta:_0x2af7a4}of this[_0x44ec('0x4e')](_0x7e5b9e,_0x44ec('0xb6')))_0x2af7a4[_0x44ec('0x44')]&&!_0x2af7a4[_0x44ec('0x158')]&&_0x37038a[_0x44ec('0xcc')](_0x338de6);for(const _0x45ee36 of _0x37038a)if(_0x45ee36['isMultiRange']){const _0x1cce46=_0x45ee36['getRanges']();(!_0x45ee36[_0x44ec('0x62')]||!_0x45ee36[_0x44ec('0x62')][_0x44ec('0xe')])&&(_0x1cce46[_0x44ec('0x97')](_0x107818=>_0x7e5b9e[_0x44ec('0x124')](_0x2be680=>_0x2be680[_0x44ec('0x178')](_0x107818,!0x0)))&&_0x45ee36[_0x44ec('0x14e')]());if(_0x7e5b9e[_0x44ec('0x97')](_0x44fa68=>_0x1cce46[_0x44ec('0x124')](_0x5ec0c3=>_0x5ec0c3[_0x44ec('0x178')](_0x44fa68,!0x0)))){const _0x4884d0=this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x44ec('0x114'),_0x5748d5,_0x44ec('0x16c'));return this[_0x44ec('0x3')](()=>_0x4884d0(_0x95c11d,null,_0x27a234)),null;}}else{const _0x4622c7=_0x45ee36[_0x44ec('0xd3')]();_0x7e5b9e[_0x44ec('0x124')](_0x551f82=>_0x551f82['containsRange'](_0x4622c7,!0x0))&&_0x45ee36[_0x44ec('0x14e')]();if(_0x7e5b9e['every'](_0x57c852=>_0x4622c7[_0x44ec('0x178')](_0x57c852,!0x0))){const _0x5af131=this[_0x44ec('0xb5')][_0x44ec('0x52')]('deletion',_0x5748d5,_0x44ec('0x16c'));return this['forceDefaultExecution'](()=>_0x5af131(_0x7e5b9e,null,_0x27a234)),null;}}const _0xbfa678=this[_0x44ec('0xb5')][_0x44ec('0x52')]('deletion',_0x5748d5,'join');let _0x518b31=null;for(const _0x4c2ff3 of this[_0x44ec('0x39')]())if(_0x4c2ff3[_0x44ec('0xaf')]['id']==_0x39179e['id']&&_0x4c2ff3['isInContent']&&_0x44ec('0x114')==_0x4c2ff3[_0x44ec('0x2')]&&_0x4c2ff3['subType']==_0x5748d5&&Ft(_0x4c2ff3,_0x27a234)&&(_0xbfa678(_0x4c2ff3[_0x44ec('0x9')](),_0x7e5b9e)||_0xbfa678(_0x7e5b9e,_0x4c2ff3['getRanges']()))){if(_0x518b31){if(_0x4c2ff3[_0x44ec('0x73')]&&_0x4c2ff3[_0x44ec('0x73')]['length'])continue;for(const _0x44b691 of _0x4c2ff3['getRanges']())_0x518b31['isIntersectingWithRange'](_0x44b691)||_0x518b31['addRange'](_0x44b691);_0x4c2ff3[_0x44ec('0x10b')]();}else{_0x518b31=_0x4c2ff3;for(const _0x567612 of _0x7e5b9e)_0x4c2ff3[_0x44ec('0x11c')](_0x567612)||_0x4c2ff3[_0x44ec('0x150')](_0x567612);}}if(_0x518b31)return _0x518b31;_0x37038a[_0x44ec('0x6a')]();for(const {suggestion:_0x510226,meta:_0x49a85c}of this['_findSuggestions'](_0x7e5b9e,'deletion'))_0x49a85c[_0x44ec('0x44')]&&(this[_0x44ec('0x132')]||!_0x49a85c['containsRangeInObject']&&!_0x49a85c[_0x44ec('0x10f')])&&Ft(_0x510226,_0x27a234)&&_0x37038a[_0x44ec('0xcc')](_0x510226);for(const _0x16f75d of _0x37038a){const _0x294fb7=_0x16f75d['getRanges']();if(!_0x27a234||!_0x27a234[_0x44ec('0xe')]){if(_0x7e5b9e[_0x44ec('0x97')](_0x30fc88=>_0x294fb7[_0x44ec('0x124')](_0x2ddb48=>_0x2ddb48[_0x44ec('0x178')](_0x30fc88,!0x0))))return _0x16f75d;}(!_0x16f75d[_0x44ec('0x62')]||!_0x16f75d[_0x44ec('0x62')][_0x44ec('0xe')])&&(_0x294fb7[_0x44ec('0x97')](_0x385873=>_0x7e5b9e['some'](_0x3edeed=>_0x3edeed[_0x44ec('0x178')](_0x385873,!0x0)))&&_0x16f75d[_0x44ec('0x14e')]());}const _0x2d20e9=_0x1d19db(),_0x105a04=_0x39179e['id'],_0x4b01e4=_0x44ec('0xbb')+_0x5748d5,_0x576be8=this[_0x44ec('0xf4')]({'id':_0x2d20e9,'type':_0x4b01e4,'createdAt':new Date(),'authorId':_0x105a04,'attributes':_0x27a234});for(const _0x30a3dd of _0x7e5b9e)_0x30a3dd[_0x44ec('0xc9')](),_0x30a3dd[_0x44ec('0x88')]||_0x44ec('0x5a')==_0x30a3dd[_0x44ec('0x82')]['rootName']||this['_addSuggestionMarker'](_0x4b01e4,_0x2d20e9,_0x105a04,_0x30a3dd,_0x27b20b['getMultiRangeId']());return _0x576be8;}['markAttributeChange'](_0x28fcfb,_0x253325,_0x9d0d1f,_0x2cd5dc,_0xff3468){if(_0x28fcfb[_0x44ec('0x88')])return[];if(_0x44ec('0x14f')===this[_0x44ec('0x176')])return[];const _0x1a5d52=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')]('Users')['me']['id'],_0x28e8e3=Array['from'](this[_0x44ec('0x80')][_0x44ec('0x16d')]())[_0x44ec('0x81')](_0x2e3c5b=>_0x44ec('0x70')==_0x2e3c5b[_0x44ec('0x2')]&&_0x2e3c5b[_0x44ec('0x17e')][_0x44ec('0xd8')]==_0x253325&&_0x2e3c5b[_0x44ec('0x11c')](_0x28fcfb));if(_0x44ec('0x169')===this['_trackFormatChanges']){const _0x107c45=this[_0x44ec('0x4e')](_0x28fcfb,'insertion')[_0x44ec('0x81')](({meta:_0x35d1d6})=>_0x35d1d6[_0x44ec('0x44')]&&!_0x35d1d6[_0x44ec('0x10f')]&&!_0x35d1d6[_0x44ec('0x158')])[_0x44ec('0x111')](({suggestion:_0x343eee})=>_0x343eee);_0x28e8e3[_0x44ec('0x83')](..._0x107c45);}const _0x5692b8=new Map([[_0x28fcfb,_0x9d0d1f]]);for(const _0x12b638 of _0x28e8e3){const _0x6adb2b=_0x44ec('0x70')==_0x12b638[_0x44ec('0x2')]?_0x12b638[_0x44ec('0x17e')]['oldValue']:void 0x0,_0x3172b4=_0x12b638['getFirstRange'](),_0x5bc502=Array[_0x44ec('0xe4')](_0x5692b8[_0x44ec('0x120')]())['find'](_0x521414=>_0x521414[_0x44ec('0x146')](_0x3172b4));if(!_0x5bc502)continue;const _0x30b3d6=_0x5bc502[_0x44ec('0x141')](_0x3172b4);this['_isBlockAttribute'](_0x253325)&&_0x44ec('0xb6')==_0x12b638[_0x44ec('0x2')]&&0x0!=_0x30b3d6[_0x44ec('0x57')]||(_0x5692b8[_0x44ec('0xa6')](_0x5bc502),_0x30b3d6[_0x44ec('0xd5')](_0x2e9b8f=>{_0x5692b8['set'](_0x2e9b8f,_0x9d0d1f);}),'insertion'!=_0x12b638[_0x44ec('0x2')]&&_0x6adb2b!=_0x2cd5dc&&_0x5692b8[_0x44ec('0x29')](_0x5bc502[_0x44ec('0x15b')](_0x3172b4),_0x6adb2b));}const _0x41715c=[];for(const [_0x586f37,_0x149d5c]of _0x5692b8){const _0x256208=_0x1d19db(),_0xb7aad5={'key':_0x253325,'oldValue':_0x149d5c,'newValue':_0x2cd5dc};_0x253325['length']>0x25&&console[_0x44ec('0x17d')](_0x44ec('0x46'),{'key':_0x253325});const _0x3c2752=(_0x44ec('0xb3')+(_0x253325+'|'+Rt({'newValue':_0x2cd5dc})))[_0x44ec('0x127')](0x0,0x3c),_0xbeb3c6=this[_0x44ec('0xf4')]({'id':_0x256208,'type':_0x3c2752,'data':_0xb7aad5,'createdAt':new Date(),'authorId':_0x1a5d52,'attributes':_0xff3468});_0x41715c[_0x44ec('0x143')](_0xbeb3c6),this[_0x44ec('0xe9')](_0x3c2752,_0x256208,_0x1a5d52,_0x586f37);}return _0x41715c;}[_0x44ec('0x92')](_0x230126){this['_blockAttributeKeys'][_0x44ec('0xcc')](_0x230126);}[_0x44ec('0x85')](_0x192372){this[_0x44ec('0xec')][_0x44ec('0xcc')](_0x192372);}[_0x44ec('0xf0')](_0x23f291,_0x4b2c3e=[],_0x44ada6=[]){this['enableCommand'](_0x23f291,(_0x6d8e06,..._0x11ec71)=>{this[_0x44ec('0xb4')](()=>{_0x6d8e06(..._0x11ec71);});});for(const _0x1154bd of _0x4b2c3e)this['_registerInlineAttribute'](_0x1154bd);for(const _0x2382b0 of _0x44ada6)this[_0x44ec('0x92')](_0x2382b0);}['_setSuggestionRange'](_0x718eef,_0x2fad2e){const _0x4ebc20=_0x718eef[_0x44ec('0x43')]();this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0xd8302=>{_0xd8302['updateMarker'](_0x4ebc20,{'range':_0x2fad2e});});}[_0x44ec('0x54')](_0x4dfb8b){const _0x1c6f40=_0x4dfb8b['id'],_0x3b08cc=this[_0x44ec('0x91')][_0x44ec('0x20')][_0x44ec('0x12c')](_0x44ec('0x2b'));this[_0x44ec('0x177')][_0x44ec('0xa2')](_0x1c6f40)||this[_0x44ec('0x177')][_0x44ec('0xb0')]({'channelId':_0x3b08cc,'threadId':_0x1c6f40,'isResolvable':!0x1,'isSubmitted':!0x0});const _0xa93940=this[_0x44ec('0x177')][_0x44ec('0xa4')](_0x1c6f40);_0xa93940['unbind'](_0x44ec('0x137')),_0xa93940[_0x44ec('0x137')]=!0x1,_0x4dfb8b[_0x44ec('0x73')]=_0xa93940;}[_0x44ec('0x15f')](_0x154eff,_0x25ef27,_0x2758b5,_0x334f83){if(_0x154eff['type']!=_0x25ef27||_0x154eff[_0x44ec('0xfe')]!=_0x2758b5||_0x154eff[_0x44ec('0xda')]['id']!=_0x334f83)throw this[_0x44ec('0x91')][_0x44ec('0x17f')](_0x44ec('0xdd')),new _0x29cd75('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x5d88e9,_0x1381f3){const _0x395b8a=_0x5d88e9[_0x44ec('0xd3')]();if(_0x1381f3[_0x44ec('0x106')](_0x395b8a))_0x5d88e9[_0x44ec('0x10b')]();else{if(_0x395b8a['containsRange'](_0x1381f3)){const _0x2d8517=this[_0x44ec('0xdc')][_0x44ec('0xa1')](_0x1381f3[_0x44ec('0x25')][_0x44ec('0x16f')],_0x44ec('0xba'));this[_0x44ec('0x7b')](_0x5d88e9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x395b8a[_0x44ec('0x25')],_0x2d8517));const _0x1ab7fa=_0x1d19db(),_0x571afb=_0x5d88e9['creator']['id'],_0x461119=_0x5d88e9[_0x44ec('0x2')]+':'+_0x5d88e9[_0x44ec('0xfe')];this['_setSuggestionData']({'id':_0x1ab7fa,'type':_0x461119,'createdAt':new Date(),'authorId':_0x571afb,'data':_0x5d88e9[_0x44ec('0x17e')],'attributes':_0x5d88e9[_0x44ec('0x62')]});const _0x11a1aa=this[_0x44ec('0xdc')]['createPositionAt'](_0x1381f3[_0x44ec('0xba')][_0x44ec('0x156')],_0x44ec('0x161')),_0x492340=this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x11a1aa,_0x395b8a[_0x44ec('0xba')]);this[_0x44ec('0xe9')](_0x461119,_0x1ab7fa,_0x571afb,_0x492340);}else{if(_0x395b8a['containsPosition'](_0x1381f3[_0x44ec('0x25')])){const _0x5e1a92=this[_0x44ec('0xdc')]['createPositionAt'](_0x1381f3['start'][_0x44ec('0x16f')],_0x44ec('0xba'));this[_0x44ec('0x7b')](_0x5d88e9,this['_model'][_0x44ec('0xe3')](_0x395b8a[_0x44ec('0x25')],_0x5e1a92));}else{const _0x4d16fb=this['_model'][_0x44ec('0xa1')](_0x1381f3[_0x44ec('0xba')][_0x44ec('0x156')],_0x44ec('0x161'));this[_0x44ec('0x7b')](_0x5d88e9,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x4d16fb,_0x395b8a[_0x44ec('0xba')]));}}}}[_0x44ec('0xf5')](_0x24cb45){for(const {suggestion:_0x3ec09e,meta:_0x14b339}of this['_findSuggestions'](_0x24cb45,_0x44ec('0xb6'))){if(!_0x14b339['isOwn'])continue;const _0x299aba=_0x3ec09e[_0x44ec('0x9')]();for(const _0x432fff of _0x299aba)if(!_0x24cb45[_0x44ec('0x141')](_0x432fff)[_0x44ec('0x57')])return!0x0;}return!0x1;}[_0x44ec('0xc8')](_0x3048c1){const _0x2ed3ac=this['editor'][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1'))[_0x44ec('0xac')](_0x3048c1);if(!_0x2ed3ac)throw new _0x29cd75(_0x44ec('0x4'),this);return _0x2ed3ac;}[_0x44ec('0xf1')](_0x12c598){const _0x19d327=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xe1')),_0x5f3f41=_0x6e73ab(_0x44ec('0x5e')+_0x12c598),_0x18874=_0x19d327[_0x44ec('0xac')](_0x5f3f41);return _0x18874||_0x19d327['addUser']({'id':_0x5f3f41,'name':_0x12c598});}['_createSuggestion'](_0x18f5c6,_0x2aac29,_0x2c171c,_0x2486e4,_0x1973fe){const _0x130e6d=this[_0x44ec('0xc8')](_0x2486e4),_0x3f68bf=this[_0x44ec('0xb5')]['buildSuggestion'](_0x18f5c6,_0x2aac29,_0x2c171c,_0x130e6d,_0x1973fe,_0x58f5dc=>this[_0x44ec('0x45')](_0x2c171c,{'attributes':_0x58f5dc}));return this[_0x44ec('0xc2')](_0x3f68bf,_0x44ec('0x16c'),()=>{this[_0x44ec('0x45')](_0x2c171c,{'state':'accepted'});},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0xc2')](_0x3f68bf,_0x44ec('0x14e'),()=>{this[_0x44ec('0x45')](_0x2c171c,{'state':'rejected'});},{'priority':_0x44ec('0xb2')}),this[_0x44ec('0x80')][_0x44ec('0x29')](_0x2c171c,_0x3f68bf),this[_0x44ec('0x7c')]['set'](_0x3f68bf,'notReady'),_0x3f68bf;}['_splitMarkerName'](_0x243f3c){const _0x22ecee=_0x243f3c[_0x44ec('0x8b')](':');return{'group':_0x22ecee[0x0],'type':_0x22ecee[0x1],'subType':_0x22ecee[_0x44ec('0x57')]>=0x5?_0x22ecee[0x2]:null,'id':_0x22ecee[_0x44ec('0x57')]<0x5?_0x22ecee[0x2]:_0x22ecee[0x3],'authorId':_0x22ecee[_0x44ec('0x57')]<0x5?_0x22ecee[0x3]:_0x22ecee[0x4],'markerCount':0x6==_0x22ecee[_0x44ec('0x57')]?_0x22ecee[0x5]:null};}[_0x44ec('0xee')](_0x440b6a,_0x3f1770,_0x2a42cc){const _0x1301ae=_0x440b6a[_0x44ec('0xd3')](),_0x336614=_0x1301ae[_0x44ec('0x25')],_0x55835b=_0x1301ae[_0x44ec('0xba')];this[_0x44ec('0x7b')](_0x440b6a,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x336614,_0x3f1770));const _0x1cd733=_0x1d19db(),_0x170211=_0x440b6a[_0x44ec('0xda')]['id'],_0x2bf892=_0x440b6a[_0x44ec('0x2')]+(_0x440b6a[_0x44ec('0xfe')]?':'+_0x440b6a['subType']:'');this[_0x44ec('0xf4')]({'id':_0x1cd733,'type':_0x2bf892,'createdAt':new Date(),'authorId':_0x170211,'originalSuggestionId':_0x440b6a['id'],'attributes':_0x440b6a[_0x44ec('0x62')],'data':_0x440b6a['data']});const _0x39841e=Lt(_0x440b6a);(_0x44ec('0x11a')==_0x440b6a[_0x44ec('0x2')]||_0x39841e&&this[_0x44ec('0x15')](_0x39841e))&&(_0x2a42cc=this[_0x44ec('0xdc')][_0x44ec('0x42')](_0x2a42cc[_0x44ec('0x156')])),this['_addSuggestionMarker'](_0x2bf892,_0x1cd733,_0x170211,this['_model'][_0x44ec('0xe3')](_0x2a42cc,_0x55835b));}['_findSuggestions'](_0x5d9df0,_0x20dc8d=null){const _0x5d5d24=[],_0x3467f6=this['editor']['plugins'][_0x44ec('0x12c')]('Users')['me'];Array[_0x44ec('0x4a')](_0x5d9df0)||(_0x5d9df0=[_0x5d9df0]);for(const _0x337144 of this[_0x44ec('0x39')]()){if(!_0x337144[_0x44ec('0xbd')])continue;if(_0x20dc8d&&_0x337144[_0x44ec('0x2')]!=_0x20dc8d)continue;let _0x193b5e=!0x1;for(const _0x249874 of _0x337144[_0x44ec('0x9')]()){for(const _0x3d7139 of _0x5d9df0){const _0x248495=_0x3d7139['start'][_0x44ec('0x106')](_0x249874[_0x44ec('0xba')])||_0x3d7139[_0x44ec('0xba')][_0x44ec('0x106')](_0x249874['start']);if(_0x248495||_0x3d7139[_0x44ec('0x15b')](_0x249874)){const _0x479ce8=_0x3d7139[_0x44ec('0x178')](_0x249874)&&Tt(this['_model'][_0x44ec('0x96')],_0x249874[_0x44ec('0x25')],_0x3d7139),_0x265f5d=_0x249874[_0x44ec('0x178')](_0x3d7139)&&Tt(this[_0x44ec('0xdc')][_0x44ec('0x96')],_0x3d7139[_0x44ec('0x25')],_0x249874);_0x5d5d24['push']({'suggestion':_0x337144,'meta':{'isOwn':_0x3467f6==_0x337144[_0x44ec('0xaf')],'isNextTo':_0x248495,'isInsideObject':_0x479ce8,'containsRangeInObject':_0x265f5d}}),_0x193b5e=!0x0;break;}}if(_0x193b5e)break;}}return _0x5d5d24;}[_0x44ec('0xe9')](_0x4c5f06,_0x4bbbda,_0x4b0e4e,_0x2a323f,_0x3b741d){this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0x6bccd5=>{let _0x160121=_0x44ec('0x2c')+_0x4c5f06+':'+_0x4bbbda+':'+_0x4b0e4e;_0x3b741d&&(_0x160121=_0x160121+':'+_0x3b741d),_0x6bccd5['addMarker'](_0x160121,{'range':_0x2a323f,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x44ec('0xe6')](_0x20b507){const _0x4bfec4=_0x20b507[_0x44ec('0x16b')],_0x297f63=_0x20b507[_0x44ec('0x155')];_0x20b507['previous']=null,_0x20b507['next']=null,null!=_0x4bfec4&&(_0x4bfec4[_0x44ec('0x155')]=_0x297f63),null!=_0x297f63&&(_0x297f63[_0x44ec('0x16b')]=_0x4bfec4),_0x44ec('0x11d')==this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x20b507)&&(this['_suggestionState'][_0x44ec('0x29')](_0x20b507,_0x44ec('0x5c')),this[_0x44ec('0xf3')](_0x44ec('0xa5'),_0x20b507,_0x4bfec4,_0x297f63));}[_0x44ec('0xf4')](_0x13c3a1){const _0x450453=_0x13c3a1['id'],_0x55d867=this[_0x44ec('0xab')](_0x13c3a1);if(this['_adapter']&&this[_0x44ec('0x110')][_0x44ec('0xbc')]){const _0x12a6ca=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')]('PendingActions'),_0x3c485a=_0x55d867[_0x44ec('0x2f')],_0x1ef0ba=_0x55d867[_0x44ec('0xfe')]?_0x55d867[_0x44ec('0x2')]+':'+_0x55d867[_0x44ec('0xfe')]:_0x55d867[_0x44ec('0x2')],_0x2a53c8=this[_0x44ec('0x91')][_0x44ec('0x31')],_0x26f9f1=_0x12a6ca[_0x44ec('0xcc')](_0x2816dd(_0x2a53c8,'PENDING_ACTION_SUGGESTION')),_0x4018c1={'id':_0x450453,'type':_0x1ef0ba,'hasComments':_0x3c485a,'data':_0x13c3a1['data']||null,'originalSuggestionId':_0x13c3a1['originalSuggestionId']||null,'attributes':_0x55d867[_0x44ec('0x62')]};this[_0x44ec('0x110')][_0x44ec('0xbc')](_0x4018c1)[_0x44ec('0xe0')](_0x53e802=>{_0x55d867[_0x44ec('0x135')]=!0x0,_0x12a6ca['remove'](_0x26f9f1),_0x53e802&&_0x53e802[_0x44ec('0x102')]&&(this[_0x44ec('0x80')][_0x44ec('0x12c')](_0x450453)['createdAt']=_0x53e802[_0x44ec('0x102')]);})['catch'](_0x499734=>{throw _0x22967e('error-saving-suggestion-data-suggestion-discarded'),this[_0x44ec('0x91')][_0x44ec('0x13a')][_0x44ec('0x128')]({'isUndoable':!0x1},()=>{_0x55d867[_0x44ec('0x14e')]();}),_0x55d867[_0x44ec('0xad')](),this[_0x44ec('0x80')][_0x44ec('0xa6')](_0x55d867['id']),this['_suggestionState'][_0x44ec('0xa6')](_0x55d867),_0x499734;});}return _0x55d867;}[_0x44ec('0x15')](_0xaa6e46){return this[_0x44ec('0x53')][_0x44ec('0x63')](_0xaa6e46);}['_updateSuggestionData'](_0x34abcc,_0x4e3d05){const _0x35a1ea=this[_0x44ec('0x91')][_0x44ec('0x140')][_0x44ec('0x12c')](_0x44ec('0xd1')),_0x2cf700=this[_0x44ec('0x93')](_0x34abcc);if(this[_0x44ec('0x110')]&&this[_0x44ec('0x110')]['updateSuggestion']){if(_0x2cf700[_0x44ec('0x135')]){const _0x5a0444=_0x35a1ea[_0x44ec('0xcc')](_0x2816dd(this['editor'][_0x44ec('0x31')],_0x44ec('0x34')));this[_0x44ec('0x110')][_0x44ec('0x154')](_0x34abcc,_0x4e3d05)['then'](()=>{_0x35a1ea[_0x44ec('0xe5')](_0x5a0444);});}else _0x2cf700['on'](_0x44ec('0x69'),()=>{this[_0x44ec('0x45')](_0x34abcc,_0x4e3d05);});}}[_0x44ec('0x125')](_0x5155ce){if(!this[_0x44ec('0x110')]||!this[_0x44ec('0x110')][_0x44ec('0x93')])throw new _0x29cd75(_0x44ec('0x165'),this);return this[_0x44ec('0x110')]['getSuggestion'](_0x5155ce);}[_0x44ec('0x98')](_0x9ce219){const {id:_0x4b4b7e,type:_0x1ea70f,subType:_0x9a951e,authorId:_0x4439e1}=this[_0x44ec('0x5')](_0x9ce219),_0x1132bc=this['_suggestions'][_0x44ec('0x12c')](_0x4b4b7e)||this[_0x44ec('0x5f')](_0x1ea70f,_0x9a951e,_0x4b4b7e,_0x4439e1,{});switch(this[_0x44ec('0x15f')](_0x1132bc,_0x1ea70f,_0x9a951e,_0x4439e1),this[_0x44ec('0x7c')][_0x44ec('0x12c')](_0x1132bc)){case'notReady':this['_getSuggestionData'](_0x4b4b7e)[_0x44ec('0xe0')](_0x536635=>{let _0xff025b=Promise[_0x44ec('0xe2')]();_0x536635[_0x44ec('0x2f')]&&(_0xff025b=this['_commentsRepository'][_0x44ec('0x4c')]({'channelId':this[_0x44ec('0x91')]['config'][_0x44ec('0x12c')](_0x44ec('0x2b')),'threadId':_0x4b4b7e})),_0xff025b['then'](()=>{this[_0x44ec('0xab')](_0x536635)[_0x44ec('0x135')]=!0x0;});}),this[_0x44ec('0x7c')][_0x44ec('0x29')](_0x1132bc,_0x44ec('0x74'));break;case _0x44ec('0x5c'):this[_0x44ec('0x45')](_0x4b4b7e,{'state':_0x44ec('0x170')});case _0x44ec('0xc6'):this['_suggestionState']['set'](_0x1132bc,'ready'),this[_0x44ec('0xf3')](_0x44ec('0x12d'),_0x1132bc);break;case'ready':this[_0x44ec('0xf3')]('suggestionChanged',_0x1132bc);}return _0x1132bc[_0x44ec('0x65')](_0x9ce219),_0x1132bc;}[_0x44ec('0xd2')](_0x51f776){const _0x38728f=Array['from'](_0x51f776),_0x49f8a8=_0x38728f[_0x44ec('0x81')](_0x318773=>'attribute'==_0x318773['type']);this[_0x44ec('0x90')](_0x49f8a8);const _0x11fa95=_0x38728f[_0x44ec('0x81')](_0x41f144=>!_0x41f144[_0x44ec('0x1f')]&&_0x44ec('0x70')!=_0x41f144[_0x44ec('0x2')]),_0x499cbf=this[_0x44ec('0x39')]({'skipNotAttached':!0x0})[_0x44ec('0x81')](_0x7a69be=>!_0x7a69be[_0x44ec('0x1f')]&&'attribute'!=_0x7a69be['type']),_0x1806e3=_0x499cbf[_0x44ec('0x81')](_0x2dfb3f=>!_0x51f776[_0x44ec('0x63')](_0x2dfb3f)),_0x19ea31=new Map(_0x499cbf[_0x44ec('0x111')](_0x3834d5=>[_0x3834d5,this['_suggestionFactory'][_0x44ec('0x52')](_0x3834d5[_0x44ec('0x2')],_0x3834d5[_0x44ec('0xfe')],_0x44ec('0x77'))])),_0x4dddaa=new Map(_0x499cbf[_0x44ec('0x111')](_0x43ac66=>[_0x43ac66,_0x43ac66[_0x44ec('0xd3')]()])),_0x1bafa2=new Set(),_0x13f83c=new Set();for(let _0x562023=0x0;_0x562023<_0x11fa95[_0x44ec('0x57')];_0x562023++)_0x2d6db3(_0x11fa95[_0x562023],_0x11fa95,_0x562023+0x1);for(let _0x7575c6=0x0;_0x7575c6<_0x11fa95[_0x44ec('0x57')];_0x7575c6++)_0x2d6db3(_0x11fa95[_0x7575c6],_0x1806e3,0x0);const _0x42309a=new Set();for(let _0x2c3cda=0x0;_0x2c3cda<_0x11fa95[_0x44ec('0x57')];_0x2c3cda++){const _0x4da152=_0x11fa95[_0x2c3cda];!_0x13f83c['has'](_0x4da152)&&_0x4da152['previous']&&(_0x42309a[_0x44ec('0xcc')](_0x4da152[_0x44ec('0x16b')]),_0x4da152[_0x44ec('0x16b')]['next']===_0x4da152&&(_0x4da152[_0x44ec('0x16b')][_0x44ec('0x155')]=null),_0x4da152[_0x44ec('0x16b')]=null),!_0x1bafa2['has'](_0x4da152)&&_0x4da152[_0x44ec('0x155')]&&(_0x42309a['add'](_0x4da152[_0x44ec('0x155')]),_0x4da152[_0x44ec('0x155')][_0x44ec('0x16b')]===_0x4da152&&(_0x4da152[_0x44ec('0x155')][_0x44ec('0x16b')]=null),_0x4da152['next']=null);}function _0x2d6db3(_0x364a3d,_0x2caeb6,_0x337f28){for(let _0x55f712=_0x337f28;_0x55f712<_0x2caeb6[_0x44ec('0x57')];_0x55f712++){const _0x297925=_0x2a1756(_0x364a3d,_0x2caeb6[_0x55f712]);_0x297925&&(_0x297925[0x0][_0x44ec('0x155')]=_0x297925[0x1],_0x297925[0x1]['previous']=_0x297925[0x0],_0x1bafa2['add'](_0x297925[0x0]),_0x13f83c['add'](_0x297925[0x1]));}}function _0x2a1756(_0x486067,_0x52a643){if(_0x486067[_0x44ec('0xaf')]['id']!==_0x52a643[_0x44ec('0xaf')]['id'])return null;const _0x3fb0cd=_0x19ea31[_0x44ec('0x12c')](_0x486067)(_0x486067,_0x52a643,_0x4dddaa[_0x44ec('0x12c')](_0x486067),_0x4dddaa[_0x44ec('0x12c')](_0x52a643));if(!_0x3fb0cd)return null;return _0x19ea31['get'](_0x52a643)(_0x486067,_0x52a643,_0x4dddaa[_0x44ec('0x12c')](_0x486067),_0x4dddaa[_0x44ec('0x12c')](_0x52a643))?_0x3fb0cd[0x1][_0x44ec('0x73')]&&_0x3fb0cd[0x1]['commentThread'][_0x44ec('0x57')]?null:_0x3fb0cd:null;}_0x42309a[_0x44ec('0x71')]&&this[_0x44ec('0xd2')](_0x42309a);}[_0x44ec('0x90')](_0x55b97c){if(0x0==_0x55b97c['length'])return;const _0x47c367=this[_0x44ec('0x39')]({'skipNotAttached':!0x0})[_0x44ec('0x81')](_0x58be0b=>_0x44ec('0x70')==_0x58be0b['type']&&_0x58be0b[_0x44ec('0x2a')]),_0x351577=[],_0x3a2baf=new Map();for(const _0x3ac2e6 of _0x47c367){const _0x48f5ff=_0x6e73ab(_0x3ac2e6['attributes']);_0x3a2baf[_0x44ec('0x63')](_0x48f5ff)||(_0x3a2baf['set'](_0x48f5ff,_0x351577[_0x44ec('0x57')]),_0x351577[_0x44ec('0x143')]([]));const _0x14d35a=_0x3a2baf[_0x44ec('0x12c')](_0x48f5ff);_0x351577[_0x14d35a][_0x44ec('0x143')](_0x3ac2e6);}!function(){_0x351577[_0x44ec('0x56')]((_0x300abf,_0x1d19af)=>{const _0x1ec7c8=_0x300abf[0x0][_0x44ec('0x102')],_0x56f579=_0x1d19af[0x0][_0x44ec('0x102')];return _0x1ec7c8==_0x56f579?_0x300abf[0x0][_0x44ec('0x62')][_0x44ec('0x171')]<_0x1d19af[0x0][_0x44ec('0x62')][_0x44ec('0x171')]?-0x1:0x1:_0x1ec7c8<_0x56f579?-0x1:0x1;});for(const _0x3dbb5c of _0x351577)_0x3dbb5c[_0x44ec('0x56')]((_0x15c892,_0x250366)=>_0x15c892['id']<_0x250366['id']?-0x1:0x1);}();for(let _0x51c8f9=0x0;_0x51c8f9<_0x351577['length'];_0x51c8f9++){if(0x0==_0x351577[_0x51c8f9][_0x44ec('0x57')])continue;const _0xdd533c=[];for(let _0x4bd004=_0x51c8f9+0x1;_0x4bd004<_0x351577[_0x44ec('0x57')];_0x4bd004++)0x0!=_0x351577[_0x4bd004][_0x44ec('0x57')]&&_0x56734a(_0x351577[_0x51c8f9],_0x351577[_0x4bd004])&&_0xdd533c['push'](_0x4bd004);for(const _0x53a91c of _0xdd533c)_0x351577[_0x51c8f9]=_0x351577[_0x51c8f9][_0x44ec('0x15c')](_0x351577[_0x53a91c]),_0x351577[_0x53a91c]=[];}for(const _0x40f57d of _0x351577)for(let _0x5895b4=0x0;_0x5895b4<_0x40f57d[_0x44ec('0x57')];_0x5895b4++)_0x40f57d[_0x5895b4][_0x44ec('0x155')]=_0x40f57d[_0x5895b4+0x1]||null;for(const _0x61b5c5 of _0x351577)for(let _0x3a00bd=0x0;_0x3a00bd<_0x61b5c5[_0x44ec('0x57')];_0x3a00bd++)_0x61b5c5[_0x3a00bd][_0x44ec('0x16b')]=_0x61b5c5[_0x3a00bd-0x1]||null;function _0x56734a(_0x26bf8e,_0x2f32b5){if(_0x26bf8e[0x0][_0x44ec('0xaf')]!==_0x2f32b5[0x0][_0x44ec('0xaf')])return!0x1;if(!function(_0x29f83c,_0xcbcba){if(!_0x29f83c[_0x44ec('0x2f')]&&!_0xcbcba['hasComments'])return!0x0;if(_0x29f83c[_0x44ec('0x2f')]&&_0xcbcba['hasComments'])return!0x1;if(_0x29f83c[_0x44ec('0x2f')]&&_0xcbcba[_0x44ec('0x102')]<_0x29f83c['commentThread'][_0x44ec('0xa9')]['get'](0x0)[_0x44ec('0x102')])return!0x0;if(_0xcbcba[_0x44ec('0x2f')]&&_0x29f83c['createdAt']<_0xcbcba[_0x44ec('0x73')][_0x44ec('0xa9')][_0x44ec('0x12c')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x26bf8e[0x0],_0x2f32b5[0x0]))return!0x1;const _0x48eaed=_0x429a4e(_0x26bf8e[0x0][_0x44ec('0x62')],_0x44ec('0x171')),_0x960fb8=_0x429a4e(_0x2f32b5[0x0][_0x44ec('0x62')],_0x44ec('0x171'));if(!_0x50c974(_0x48eaed,_0x960fb8))return!0x1;return!!_0x26bf8e['every'](_0x4502fb=>_0x2f32b5[_0x44ec('0x124')](_0x4f5f98=>_0x4502fb[_0x44ec('0xd3')]()['isEqual'](_0x4f5f98[_0x44ec('0xd3')]())))&&_0x2f32b5['every'](_0x1d2fe9=>_0x26bf8e[_0x44ec('0x124')](_0x5464f7=>_0x1d2fe9['getFirstRange']()[_0x44ec('0x106')](_0x5464f7[_0x44ec('0xd3')]())));}}[_0x44ec('0x59')](_0xc0803f){const _0xcd4969=Array[_0x44ec('0xe4')](_0xc0803f),_0x14a5e9=this[_0x44ec('0x39')]({'skipNotAttached':!0x0}),_0x60f8c2=_0x14a5e9['filter'](_0x3d9e60=>!_0xc0803f[_0x44ec('0x63')](_0x3d9e60)),_0x1b51b3=new Map(_0xcd4969[_0x44ec('0x111')](_0x3b9734=>[_0x3b9734,this[_0x44ec('0xb5')][_0x44ec('0x52')](_0x3b9734['type'],_0x3b9734[_0x44ec('0xfe')],_0x44ec('0x164'))])),_0x1e6204=new Map(_0x14a5e9[_0x44ec('0x111')](_0x2a179d=>[_0x2a179d,_0x2a179d[_0x44ec('0x9')]()]));for(let _0x2727e4=0x0;_0x2727e4<_0xcd4969[_0x44ec('0x57')];_0x2727e4++){if(_0x1f8a14(this,_0xcd4969[_0x2727e4],_0xcd4969,_0x2727e4+0x1))return!0x0;}for(let _0x3697f7=0x0;_0x3697f7<_0xcd4969[_0x44ec('0x57')];_0x3697f7++){if(_0x1f8a14(this,_0xcd4969[_0x3697f7],_0x60f8c2,0x0))return!0x0;}return!0x1;function _0x1f8a14(_0x232de9,_0x1826ff,_0x5a9d92,_0x33081d){for(let _0xf61bd=_0x33081d;_0xf61bd<_0x5a9d92['length'];_0xf61bd++){const _0x2863a9=_0x5a9d92[_0xf61bd];if(_0x2863a9[_0x44ec('0x2')]!==_0x1826ff[_0x44ec('0x2')]||_0x2863a9[_0x44ec('0xaf')]['id']!==_0x1826ff[_0x44ec('0xaf')]['id']||_0x2863a9[_0x44ec('0xfe')]!==_0x1826ff[_0x44ec('0xfe')])continue;if(!Gt(_0x1826ff,_0x2863a9))continue;if(_0x44ec('0x70')==_0x1826ff[_0x44ec('0x2')]&&_0x1826ff[_0x44ec('0x17e')]['oldValue']!=_0x2863a9[_0x44ec('0x17e')][_0x44ec('0x6c')])continue;if(_0x44ec('0x70')==_0x1826ff[_0x44ec('0x2')]&&_0x232de9[_0x44ec('0x15')](_0x1826ff[_0x44ec('0x17e')]['key']))continue;if(_0x44ec('0x11a')==_0x1826ff[_0x44ec('0x2')]){const _0x45364b=_0x232de9[_0x44ec('0x91')][_0x44ec('0x13a')],_0x47a5bc=_0x1826ff[_0x44ec('0x15e')]();if(_0x47a5bc&&(_0x45364b[_0x44ec('0x96')][_0x44ec('0xcd')](_0x47a5bc)||_0x45364b[_0x44ec('0x96')][_0x44ec('0x108')](_0x47a5bc)))continue;}const _0x17f15b=_0x1b51b3['get'](_0x1826ff),_0x5453e4=_0x1e6204[_0x44ec('0x12c')](_0x1826ff),_0x4e0404=_0x1e6204['get'](_0x2863a9),_0x3f5105=_0x1826ff['commentThread']&&_0x1826ff[_0x44ec('0x73')][_0x44ec('0x57')],_0x5366d2=_0x2863a9['commentThread']&&_0x2863a9[_0x44ec('0x73')][_0x44ec('0x57')];if(!_0x3f5105&&_0x17f15b(_0x4e0404,_0x5453e4))return _0x232de9[_0x44ec('0x1a')](_0x2863a9,_0x1826ff),_0x1e6204['delete'](_0x1826ff),!0x0;if(!_0x5366d2&&_0x17f15b(_0x5453e4,_0x4e0404))return _0x232de9[_0x44ec('0x1a')](_0x1826ff,_0x2863a9),_0x1e6204[_0x44ec('0xa6')](_0x2863a9),!0x0;}return!0x1;}}[_0x44ec('0x1a')](_0x26e6d4,_0x1b0d88){if(_0x26e6d4[_0x44ec('0x1f')])for(const _0x103f8d of _0x1b0d88['getRanges']())_0x26e6d4[_0x44ec('0x150')](_0x103f8d);else{const _0x566cf8=_0x1b0d88['getFirstRange']()['end'];this[_0x44ec('0x7b')](_0x26e6d4,this[_0x44ec('0xdc')][_0x44ec('0xe3')](_0x26e6d4['getFirstRange']()[_0x44ec('0x25')],_0x566cf8));}_0x1b0d88[_0x44ec('0x10b')]();}['_getMarkerAnnouncementText'](_0x9699b8,_0x23e3a6){const _0x33ced8=_0x9699b8[_0x44ec('0xa7')](_0x44ec('0xe7'))||_0x9699b8['startsWith'](_0x44ec('0x70'))?_0x44ec('0x50'):_0x9699b8[_0x44ec('0x138')]();return _0x2816dd(this['editor'][_0x44ec('0x31')],_0x23e3a6+'_'+_0x33ced8+'_SUGGESTION_ANNOUNCEMENT');}[_0x44ec('0x48')](){const _0x44cc08=this[_0x44ec('0x91')];_0x3f6c08(this['_model'],({left:_0x54f028,entered:_0x33aee6})=>{const _0x609d=[];for(const _0x40aacd of _0x54f028){const {group:_0x55fc0f,type:_0x15e7a1}=this[_0x44ec('0x5')](_0x40aacd['name']);if(_0x44ec('0x12e')===_0x55fc0f){_0x609d['push'](this[_0x44ec('0x180')](_0x15e7a1,_0x44ec('0x15d')));break;}}for(const _0x19806d of _0x33aee6){const {group:_0x55492c,type:_0x2938c7}=this[_0x44ec('0x5')](_0x19806d[_0x44ec('0x115')]);if(_0x44ec('0x12e')===_0x55492c){_0x609d[_0x44ec('0x143')](this[_0x44ec('0x180')](_0x2938c7,_0x44ec('0xcb')));break;}}_0x609d['length']&&_0x44cc08['ui'][_0x44ec('0x17')]['announce'](_0x44ec('0x5d'),_0x609d[_0x44ec('0x164')]('\x20'));});}['_processAttributeChanges'](_0x5b907e){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x43dde5=this[_0x44ec('0x91')],_0x5166bd=_0x43dde5['model'][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x94')]();if(0x0==_0x5166bd[_0x44ec('0x57')])return!0x1;const _0x47a6fd=[],_0x637711=_0x5166bd[_0x44ec('0x81')](_0x558f9b=>_0x44ec('0x70')==_0x558f9b[_0x44ec('0x2')]),_0x1d3adf=_0x5166bd[_0x44ec('0x81')](_0x888815=>'insert'==_0x888815['type']&&'$text'!=_0x888815[_0x44ec('0x115')]),_0x183a42=_0x5166bd[_0x44ec('0x81')](_0x3fa8b6=>_0x44ec('0xe5')==_0x3fa8b6[_0x44ec('0x2')]&&_0x44ec('0x103')!=_0x3fa8b6['name']);for(const _0x5a14a4 of _0x637711)_0x47a6fd['push']({'key':_0x5a14a4[_0x44ec('0x38')],'newValue':_0x5a14a4[_0x44ec('0x55')],'oldValue':_0x5a14a4[_0x44ec('0xa8')],'range':_0x58d096(_0x5a14a4[_0x44ec('0x19')])});for(const _0x2b1b09 of _0x1d3adf){const _0x32533f=_0x183a42[_0x44ec('0x162')](_0x23f5b9=>_0x23f5b9[_0x44ec('0xaa')][_0x44ec('0x106')](_0x2b1b09[_0x44ec('0xaa')]));_0x32533f&&_0x47a6fd[_0x44ec('0x143')]({'key':_0x44ec('0xc1'),'newValue':_0x2b1b09[_0x44ec('0x115')],'oldValue':_0x32533f[_0x44ec('0x115')],'range':_0x43dde5[_0x44ec('0x13a')][_0x44ec('0x22')](_0x2b1b09[_0x44ec('0xaa')][_0x44ec('0xd9')])});}return 0x0!=_0x47a6fd['length']&&this[_0x44ec('0xce')](_0x5b907e,_0x47a6fd);function _0x58d096(_0x1d8344){return null==_0x1d8344['end'][_0x44ec('0x16f')]&&_0x1d8344[_0x44ec('0xba')][_0x44ec('0x156')]==_0x1d8344['start'][_0x44ec('0xd9')]?Ot(_0x1d8344['start']['nodeAfter'],_0x43dde5[_0x44ec('0x13a')]):_0x1d8344;}}['_processAttributeSuggestions'](_0x44606c){let _0x3c5f55=!0x1;const _0x4970c7=this[_0x44ec('0x91')]['model'][_0x44ec('0x129')][_0x44ec('0x121')][_0x44ec('0x133')]()[_0x44ec('0x81')](_0x33dc4c=>_0x33dc4c[_0x44ec('0x17e')][_0x44ec('0x142')]&&_0x33dc4c[_0x44ec('0x115')][_0x44ec('0xa7')](_0x44ec('0x153')));for(const _0x24fcb5 of _0x4970c7){const {subType:_0x2583c6,id:_0x9733d5}=this['_splitMarkerName'](_0x24fcb5['name']),_0x47aeed=_0x2583c6[_0x44ec('0x8b')]('|')[0x0];for(const _0x5250fd of this[_0x44ec('0x39')]({'skipNotAttached':!0x0}))_0x5250fd['id']!=_0x9733d5&&'attribute'==_0x5250fd[_0x44ec('0x2')]&&_0x5250fd[_0x44ec('0x17e')]&&_0x5250fd[_0x44ec('0x17e')][_0x44ec('0xd8')]==_0x47aeed&&_0x5250fd[_0x44ec('0xd3')]()[_0x44ec('0x146')](_0x24fcb5[_0x44ec('0x17e')]['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5250fd,_0x24fcb5[_0x44ec('0x17e')][_0x44ec('0x142')],_0x44606c),_0x3c5f55=!0x0);}return _0x3c5f55;}[_0x44ec('0xb4')](_0x4c0f32){if(null!==this[_0x44ec('0x147')])return void _0x4c0f32();const _0x284a54=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x284a54['model'][_0x44ec('0x129')][_0x44ec('0x13d')],_0x4c0f32();const _0x309e66=new Map();for(const _0x433991 of _0x284a54[_0x44ec('0x13a')]['document'][_0x44ec('0x10d')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if(['rename',_0x44ec('0x2d'),'removeAttribute',_0x44ec('0x61')][_0x44ec('0x144')](_0x433991[_0x44ec('0x2')])){const _0x39890a=_0x433991[_0x44ec('0xcf')],_0x1ae14f=_0x309e66['get'](_0x39890a)||[];_0x1ae14f['push'](_0x433991),_0x309e66['set'](_0x39890a,_0x1ae14f);}this[_0x44ec('0x147')]=null;for(const [_0x5ea975,_0x1df768]of _0x309e66){const _0x12cf38=_0x1d19db();_0x284a54[_0x44ec('0x13a')][_0x44ec('0x128')](_0x5ea975,_0x39240d=>{const _0x5a2299=[];for(const _0x3486e7 of _0x1df768){let _0xf0941c,_0x280936,_0x3e845e,_0x30d96f;if(_0x44ec('0x30')==_0x3486e7[_0x44ec('0x2')]){const _0x28c738=_0x3486e7;_0xf0941c=Ot(_0x28c738['position'][_0x44ec('0xd9')],_0x284a54[_0x44ec('0x13a')]),_0x280936=_0x44ec('0xc1'),_0x3e845e=_0x28c738[_0x44ec('0x179')],_0x30d96f=_0x28c738[_0x44ec('0x4b')];}else{const _0x21301d=_0x3486e7,_0x57c599=this['_isBlockAttribute'](_0x21301d[_0x44ec('0xd8')]),_0x2fefdd=this[_0x44ec('0xec')][_0x44ec('0x63')](_0x21301d[_0x44ec('0xd8')]);if(!_0x57c599&&!_0x2fefdd)continue;_0xf0941c=_0x57c599?Ot(_0x21301d['range'][_0x44ec('0x25')][_0x44ec('0xd9')],_0x284a54[_0x44ec('0x13a')]):_0x21301d[_0x44ec('0x19')],_0x280936=_0x21301d['key'],_0x3e845e=_0x44ec('0xc3')==_0x3486e7['type']?void 0x0:_0x21301d[_0x44ec('0x3e')],_0x30d96f=_0x21301d[_0x44ec('0x6c')];}this[_0x44ec('0x58')](_0xf0941c,_0x280936,_0x30d96f,_0x3e845e,{'groupId':_0x12cf38}),_0x5a2299[_0x44ec('0x143')]({'range':_0xf0941c,'key':_0x280936,'newValue':_0x3e845e,'oldValue':_0x30d96f});}this[_0x44ec('0xce')](_0x39240d,_0x5a2299);});}}[_0x44ec('0xce')](_0x1e879d,_0x171135){if(0x0==_0x171135[_0x44ec('0x57')])return!0x1;let _0x111276=!0x1;for(const _0x2da773 of _0x171135){const _0x3a2e60=this[_0x44ec('0x4e')](_0x2da773[_0x44ec('0x19')],_0x44ec('0x70'))['filter'](_0x3928d0=>!_0x3928d0[_0x44ec('0x13b')]['isNextTo'])['map'](_0x5acd7=>_0x5acd7[_0x44ec('0x12e')]),_0x186969=_0x6e73ab({'newValue':_0x2da773[_0x44ec('0x3e')]});_0x3a2e60[_0x44ec('0x81')](_0x90d591=>{const [_0x2354ef,_0x1f45ef]=_0x90d591[_0x44ec('0xfe')][_0x44ec('0x8b')]('|');return _0x2354ef==_0x2da773[_0x44ec('0xd8')]&&_0x1f45ef!=_0x186969;})[_0x44ec('0xd5')](_0x2182db=>{this[_0x44ec('0xf8')](_0x2182db,_0x2da773[_0x44ec('0x19')],_0x1e879d),_0x111276=!0x0;});}return _0x111276;}[_0x44ec('0xf8')](_0x3a7387,_0x35bd04,_0x1a7384){const _0x3dc021=_0x3a7387[_0x44ec('0xd3')]()[_0x44ec('0x141')](_0x35bd04);0x0!==_0x3dc021[_0x44ec('0x57')]?0x1!==_0x3dc021['length']?this[_0x44ec('0xee')](_0x3a7387,_0x35bd04[_0x44ec('0x25')],_0x35bd04['end']):this[_0x44ec('0x7b')](_0x3a7387,_0x3dc021[0x0]):_0x1a7384[_0x44ec('0x100')](_0x3a7387[_0x44ec('0x43')]());}}class Bt{constructor(_0x145385){this[_0x44ec('0x10a')]=_0x145385,this[_0x44ec('0xdc')]=_0x145385[_0x44ec('0x13a')],this[_0x44ec('0x78')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x44ec('0xe8')]();}['buildSuggestion'](_0xf2636,_0x2d7c6a,_0x217a86,_0xdd67ec,_0x4b28e0,_0x15fe24){return new _0x27b20b(this[_0x44ec('0xdc')],{'type':_0xf2636,'subType':_0x2d7c6a,'id':_0x217a86,'author':_0xdd67ec,'creator':_0xdd67ec,'attributes':_0x4b28e0,'onAttributesChange':_0x15fe24,'onAccept':(..._0x21d3d0)=>this[_0x44ec('0x52')](_0xf2636,_0x2d7c6a,'accept')(..._0x21d3d0),'onDiscard':(..._0x316b3e)=>this[_0x44ec('0x52')](_0xf2636,_0x2d7c6a,'discard')(..._0x316b3e)});}[_0x44ec('0x151')](_0x205485,_0x4ca540,_0x27f901,_0x1b1460){const _0x8be0ac=_0x205485+':'+_0x4ca540+':'+_0x27f901;this[_0x44ec('0x78')][_0x44ec('0x29')](_0x8be0ac,_0x1b1460);}[_0x44ec('0x52')](_0x550087,_0x2a366a,_0x282d34){const _0x321974=_0x550087+':'+_0x2a366a+':'+_0x282d34;return this['_customCallbacks'][_0x44ec('0x12c')](_0x321974)||this[_0x44ec('0xf9')][_0x44ec('0x12c')](_0x550087+':'+_0x282d34);}[_0x44ec('0xe8')](){const _0x3ec1c8=()=>!0x1,_0x5198fd=_0x386fe1=>{_0x386fe1[_0x44ec('0x56')]((_0x13d7ad,_0x51e6c0)=>_0x13d7ad['start'][_0x44ec('0x10c')](_0x51e6c0[_0x44ec('0x25')])?0x1:-0x1),this[_0x44ec('0xdc')][_0x44ec('0xf7')](_0x172db7=>{for(const _0x123000 of _0x386fe1){let _0x36346c;_0x36346c=_0x123000[_0x44ec('0xba')][_0x44ec('0xca')]&&_0x123000[_0x44ec('0xba')]['parent']==_0x123000['start'][_0x44ec('0xd9')]?_0x172db7[_0x44ec('0x105')](_0x123000[_0x44ec('0x25')][_0x44ec('0xd9')],'on'):_0x172db7[_0x44ec('0x105')](_0x123000),this[_0x44ec('0xdc')]['deleteContent'](_0x36346c,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3eee4e=(_0x92cef3,_0x3505ad)=>{_0x3505ad&&this['_model'][_0x44ec('0xf7')](_0x4bcadd=>{const {commandName:_0x24672b,commandParams:_0x5c5dc6=[]}=_0x3505ad,_0xeb81be=_0x92cef3[_0x44ec('0x111')](_0xe83dd8=>(xt(_0xe83dd8)&&(_0xe83dd8=this['_model'][_0x44ec('0xe3')](_0xe83dd8['end'])),_0xe83dd8))[_0x44ec('0x81')](_0x44c862=>_0x44ec('0x5a')!==_0x44c862[_0x44ec('0x82')][_0x44ec('0x11f')]);if(_0xeb81be[_0x44ec('0x57')]<0x1)return;const _0x5260c0=Array['from'](this[_0x44ec('0xdc')][_0x44ec('0x129')]['selection']['getRanges']())[_0x44ec('0x111')](_0x4621a7=>_0x3fb3d1[_0x44ec('0x8d')](_0x4621a7));_0x4bcadd[_0x44ec('0x6')](_0xeb81be);for(const _0x20ee11 of this[_0x44ec('0x10a')][_0x44ec('0x40')][_0x44ec('0x40')]())_0x20ee11[_0x44ec('0x27')]();_0x5c5dc6[_0x44ec('0x143')]({'forceDefaultExecution':!0x0}),this[_0x44ec('0x10a')][_0x44ec('0x2e')](_0x24672b,..._0x5c5dc6);const _0x783d17=_0x5260c0['filter'](_0x483a36=>_0x44ec('0x5a')!=_0x483a36['root'][_0x44ec('0x11f')]);_0x783d17[_0x44ec('0x57')]>0x0&&_0x4bcadd[_0x44ec('0x6')](_0x783d17);for(const _0x4e1f02 of _0x5260c0)_0x4e1f02[_0x44ec('0xc9')]();});},_0x2f14ef=(_0x3db7c0,_0x4e6169)=>0x1==_0x3db7c0[_0x44ec('0x57')]&&0x1==_0x4e6169[_0x44ec('0x57')]&&_0x3db7c0[0x0]['end']['isEqual'](_0x4e6169[0x0][_0x44ec('0x25')]),_0x3b9d63=(_0x51a94c,_0x4460fa,_0x5580ee,_0x16ee36)=>Vt(_0x51a94c,_0x4460fa,_0x5580ee,_0x16ee36,this[_0x44ec('0xdc')])?[_0x51a94c,_0x4460fa]:Vt(_0x4460fa,_0x51a94c,_0x16ee36,_0x5580ee,this[_0x44ec('0xdc')])?[_0x4460fa,_0x51a94c]:null;this[_0x44ec('0xf9')]['set'](_0x44ec('0xdf'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x119'),_0x5198fd),this[_0x44ec('0xf9')]['set']('insertion:join',_0x2f14ef),this[_0x44ec('0xf9')][_0x44ec('0x29')]('insertion:chain',_0x3b9d63),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x3b'),_0x5198fd),this[_0x44ec('0xf9')]['set'](_0x44ec('0xc5'),_0x3ec1c8),this['_defaultCallbacks']['set']('deletion:join',_0x2f14ef),this['_defaultCallbacks']['set']('deletion:chain',_0x3b9d63),this[_0x44ec('0xf9')][_0x44ec('0x29')]('formatInline:accept',_0x3eee4e),this[_0x44ec('0xf9')]['set'](_0x44ec('0xa3'),_0x3ec1c8),this[_0x44ec('0xf9')]['set']('formatInline:join',_0x2f14ef),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0xf2'),_0x3ec1c8),this[_0x44ec('0xf9')][_0x44ec('0x29')]('formatBlock:accept',_0x3eee4e),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0x14c'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0xc4'),_0x2f14ef),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0x21'),_0x3ec1c8),this[_0x44ec('0xf9')][_0x44ec('0x29')](_0x44ec('0xa0'),_0x3ec1c8),this['_defaultCallbacks'][_0x44ec('0x29')](_0x44ec('0xbf'),(_0x6354f3,_0x2facd4)=>{if(!_0x2facd4)return;const _0x4e0e91=this['_editor'][_0x44ec('0x140')][_0x44ec('0x12c')](p);this[_0x44ec('0xdc')]['change'](_0x1a6e76=>{if(_0x44ec('0xc1')==_0x2facd4[_0x44ec('0xd8')])for(const _0x5350bd of _0x6354f3){const _0x429243=_0x5350bd[_0x44ec('0x25')]['nodeAfter'],_0x9772ae=_0x2facd4['oldValue'];_0x1a6e76[_0x44ec('0x30')](_0x429243,_0x9772ae);}else{if(_0x4e0e91[_0x44ec('0x15')](_0x2facd4[_0x44ec('0xd8')]))for(const _0x45f9ff of _0x6354f3)void 0x0!==_0x2facd4[_0x44ec('0x6c')]?_0x1a6e76[_0x44ec('0x51')](_0x2facd4['key'],_0x2facd4['oldValue'],_0x45f9ff[_0x44ec('0x25')]['nodeAfter']):_0x1a6e76[_0x44ec('0xc3')](_0x2facd4['key'],_0x45f9ff[_0x44ec('0x25')]['nodeAfter']);else for(const _0x5e5852 of _0x6354f3)_0x2facd4['oldValue']?_0x1a6e76[_0x44ec('0x51')](_0x2facd4[_0x44ec('0xd8')],_0x2facd4['oldValue'],_0x5e5852):_0x1a6e76[_0x44ec('0xc3')](_0x2facd4[_0x44ec('0xd8')],_0x5e5852);}});}),this['_defaultCallbacks']['set'](_0x44ec('0x3d'),_0x2f14ef);}}function Tt(_0x4c103b,_0x3285bd,_0x298343){for(const _0x34db35 of _0x3285bd['parent'][_0x44ec('0x67')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x34db35[_0x44ec('0x82')]==_0x34db35)return!0x1;if(!_0x298343['containsItem'](_0x34db35))return!0x1;if(_0x4c103b[_0x44ec('0xcd')](_0x34db35)||_0x4c103b[_0x44ec('0x108')](_0x34db35))return!0x0;}return!0x1;}function xt(_0x14a3db){return _0x14a3db[_0x44ec('0xba')][_0x44ec('0x156')]==_0x14a3db[_0x44ec('0x25')][_0x44ec('0xd9')]&&_0x14a3db[_0x44ec('0xba')][_0x44ec('0x37')];}function Et(_0x5731c3,_0x413a0c,_0x396027,_0x429a40){const _0x1ef1e2=_0x120464=>!_0x120464['item']['is']('$textProxy')&&!_0x429a40[_0x44ec('0xcd')](_0x120464['item']),_0x29fb26=_0x5731c3[_0x44ec('0x25')][_0x44ec('0x3a')](_0x1ef1e2),_0x3fae82=_0x5731c3[_0x44ec('0xba')]['getLastMatchingPosition'](_0x1ef1e2,{'direction':'backward'});return(!_0x5731c3[_0x44ec('0x25')][_0x44ec('0x106')](_0x29fb26)||!_0x5731c3['end'][_0x44ec('0x106')](_0x3fae82))&&(_0x29fb26['isBefore'](_0x3fae82)?_0x396027['updateMarker'](_0x413a0c,{'range':_0x396027[_0x44ec('0xe3')](_0x29fb26,_0x3fae82)}):_0x396027[_0x44ec('0x100')](_0x413a0c),!0x0);}function Rt(_0x45bab7){return _0x6e73ab(_0x45bab7);}function Ut(_0x4fb94f){const _0x3bea2b=_0x4fb94f[_0x44ec('0x25')][_0x44ec('0xd9')];return _0x3bea2b&&_0x3bea2b['is']('element');}function Ot(_0x397627,_0x23b22f){const _0x4345ee=_0x23b22f[_0x44ec('0x96')][_0x44ec('0xcd')](_0x397627)||_0x23b22f['schema'][_0x44ec('0x174')](_0x397627);return _0x23b22f['createRange'](_0x23b22f[_0x44ec('0xa1')](_0x397627,_0x44ec('0x79')),_0x4345ee?_0x23b22f[_0x44ec('0x116')](_0x397627):_0x23b22f[_0x44ec('0xa1')](_0x397627,_0x44ec('0xba')));}function Vt(_0xe23b36,_0x2d92f2,_0x598487,_0x464cda,_0x4bf13c){if(!Gt(_0xe23b36,_0x2d92f2))return!0x1;if(_0x598487[_0x44ec('0xba')][_0x44ec('0x106')](_0x464cda[_0x44ec('0x25')]))return!0x0;if(_0xe23b36['type']!=_0x2d92f2['type'])return!0x1;if(!_0x598487[_0x44ec('0xba')][_0x44ec('0xc')](_0x464cda[_0x44ec('0x25')]))return!0x1;const _0x37d269=_0x4bf13c[_0x44ec('0xe3')](_0x598487['end'],_0x464cda[_0x44ec('0x25')])['getWalker']();for(const _0xcfc761 of _0x37d269)if([_0x44ec('0x8a'),'elementEnd'][_0x44ec('0x144')](_0xcfc761[_0x44ec('0x2')])&&_0x4bf13c['schema']['isLimit'](_0xcfc761[_0x44ec('0x7d')]))return!0x1;return!0x0;}function Gt(_0xba1d55,_0x3fe52e){return!(!_0xba1d55['_isDataLoaded']||!_0x3fe52e[_0x44ec('0x2a')])&&_0x50c974(_0xba1d55[_0x44ec('0x62')],_0x3fe52e[_0x44ec('0x62')]);}function Ft(_0x50810d,_0x595f28){const _0x392472=Pt(_0x50810d['attributes']),_0x274bee=Pt(_0x595f28);if(!_0x50810d['_isDataLoaded'])return!0x1;for(const _0xaf932 of Object['keys'](_0x274bee))if(!_0x50c974(_0x392472[_0xaf932],_0x274bee[_0xaf932]))return!0x1;return!0x0;}function Pt(_0x80ee46){const _0x1b8c4c=Object[_0x44ec('0x16a')]({},_0x80ee46);return delete _0x1b8c4c[_0x44ec('0xe')],delete _0x1b8c4c[_0x44ec('0x17c')],_0x1b8c4c;}function Lt(_0x2bee4f){return _0x44ec('0x70')==_0x2bee4f['type']?_0x2bee4f[_0x44ec('0xfe')][_0x44ec('0x8b')]('|')[0x0]:null;}
|
|
23
|
+
const _0x5544=['document','deletion:','refresh','toJSON','before','removeClass','getMarkers','set','_cutOutSuggestionMarker','trackChanges.trackFormatChanges','meta','attributeNewValue','unshift','getAttribute','options','addRange','containsPosition','after','isTouching','add','isCollapsed','map','_isDataLoaded','_suggestions','PendingActions','insert','formatGroupId','data-suggestion','splice','isRemovable','track-changes-adapter-missing-getsuggestion','forward','targetPosition','getIntersection','track-changes-suggestion-not-found','warn','conversion','getNearestSelectionRange','isEqual','_joinSuggestions','getCustomProperty','push','has','root','element','_SUGGESTION_ANNOUNCEMENT','showSuggestionHighlights','_reduceExistingSuggestions','stop','markMultiRangeBlockFormat','editingDowncast','ck-suggestion-marker-formatInline','ariaLiveAnnouncer','enableReadOnlyMode','size','discardSelectedSuggestions','removeMarker','_inlineAttributeKeys','track-changes-adapter-already-set','hasCommentThread','isAfter','delete','setTo','author','_model','rejected','insertion:','_createSuggestion','containerElement','insertion:chain','setAttribute','selection','getChanges','filter','consumable','isExternal','split','markMultiRangeInsertion','registerPostFixer','addCommentThread','createPositionAfter','suggestionChanged','pluginName','newValue','addHighlight','detach','removeMarker:suggestion:formatBlock','deleteContent','howMany','_splitMarkerName','highest','deletion','discardSuggestion','commentThread','value','formatBlock:chain','markInsertion','dataDowncast','creator','writer','isObject','comments','isInContent','createPositionAt','config','_joinWithAdjacentSuggestions','removeMarker:suggestion:attribute','consume','_processAttributeChanges','_findSuggestions','getSuggestionCallback','insertion','FORMATTING','getFirstRange','oldValue','data','multipleBlocks','upcast','enqueueChange','$elementName','external:','createdAt','ready','TrackChangesEditing','$text','isBlock','accept','deletion:chain','addSuggestionData','PENDING_ACTION_SUGGESTION','_blockAttributeKeys','markers','substr','batch','forceDefaultExecution','addMarker:suggestion','_updateSuggestionData','Users','trackChanges','addClass','ck-suggestion-marker','next','dataReady','_enableDefaultAttributesIntegration','getLastMatchingPosition','buildSuggestion','removeMarkers','_rangeIsInLocalUserInsertion','deletion:join','acceptSuggestion','adapter','getRanges','track-changes-user-not-found','_initAriaMarkerChangeAnnouncements','formatInline:','containsRangeInObject','discardAllSuggestions','position','getWalker','containsRange','collaboration.channelId','concat','isIntersecting','getRange','formatBlock:','group','moveTargetPosition','_suggestionState','unbindElementFromMarkerName','createSelection','_handleNewSuggestionMarker','_mergeNestedSuggestions','_breakSuggestionMarker','_trackFormatChanges','markerNameToElements','clone','normal','fromCharCode','getFirstMarker','change','head','elementToElement','marker-count','createElement','attribute:discard','addMarker:suggestion:formatBlock','catch','formatInline:join','createRangeIn','newRange','isLimit','isNextTo','addMarker','addSuggestion','change:activeMarkers','_getExternalAuthor','dataToMarker','insertion:accept','_setSuggestionRange','values','trackChanges.mergeNestedSuggestions','previous','removeAttribute','suggestion:attribute:','markerToData','get','updateSuggestion','update:suggestion','isAtEnd','suggestion:','change:data','setSelection','attributeOldValue','schema','length','enableCommand','for','toViewElement','ck-suggestion-marker-formatBlock','_saved','attribute:','addAttribute','_removeSuggestion','isArray','commands','getMultiRangeId','rename','backward','ck-suggestion-marker--active','createPositionBefore','low','getShiftedBy','return','suggestion-type','applyOperation','markerReady','attributes','markerToHighlight','_addThreadToSuggestion','then','locale','isOwn','getAncestors','getSuggestion','_isForcedDefaultExecutionBlock','_defaultCallbacks','_recordAttributeSuggestionsFromVersion','elementStart','chain','_registerBlockAttribute','formatBlock:accept','pop','getUser','_refreshAttributeSuggestionsChain','track-changes-command-not-found','registerCustomCallback','execute','isInsideObject','_registerInlineAttribute','never','_editor','markMultiRangeDeletion','forEach','removeComment','every','createRangeOn','markDeletion','model','substring','mapper','format','hasSuggestion','high','_addSuggestionMarker','always','attribute','differ','commandName','range','_isBlockAttribute','fromRange','@external','isSelectable','markBlockFormat','authorName','$textProxy','unbind','from','getDifference','open','isAtStart','plugins','nodeAfter','item','insertContent','getChangedMarkers','addMarker:suggestion:attribute','parent','_processAttributeSuggestions','discard','originalSuggestionId','rootName','groupId','some','isBefore','track-changes-suggestion-data-mismatch','suggestionLoaded','getAllAdjacentSuggestions','fire','_customCallbacks','elementEnd','_descriptionFactory','skipNestingCheck','markerName','hasComments','removed','startsWith','join','LEAVE','CommentsRepository','_reduceSuggestionAttributeRange','start','formatBlock:join','lowest','formatBlock:discard','deletion:discard','$marker','_getAuthorFromId','name','markInlineFormat','_adapter','isLocal','createRange','listenTo','trackChangesCommand','remove','nodeBefore','notReady','announce','addUser','insertion:discard','end','_recordAttributeChanges','editor','_getMarkerAnnouncementText','$graveyard','isIntersectingWithRange','key','_setSuggestionData','getSuggestions','toUpperCase','subType','formatBlock','formatInline:discard','_registerDefaultCallbacks','clear','activeMarkers','getOperations','isMultiRange','ck-suggestion-marker-','getContainedElement','_suggestionFactory','ENTER','_commentsRepository','addComment','version','multi','sort','find','_refreshSuggestionsChain','_getSuggestionData','attribute:join','updateMarker','suggestionUnloaded','suggestion','addMarkerName','_enabledCommands','markAttributeChange','assign','type','includes','authoredAt','define','acceptSelectedSuggestions','formatInline','oldRange'];(function(_0x287733,_0x5544c1){const _0x503c46=function(_0x2e6a88){while(--_0x2e6a88){_0x287733['push'](_0x287733['shift']());}};_0x503c46(++_0x5544c1);}(_0x5544,0x10e));const _0x503c=function(_0x287733,_0x5544c1){_0x287733=_0x287733-0x0;let _0x503c46=_0x5544[_0x287733];return _0x503c46;};import{Plugin as _0x2f6c99,PendingActions as _0x1ab3ab}from'ckeditor5/src/core.js';import{LiveRange as _0x45f9be}from'ckeditor5/src/engine.js';import{CKEditorError as _0x385b98,uid as _0x4f6f54,priorities as _0x497ccb,logWarning as _0x4e203f}from'ckeditor5/src/utils.js';import{toWidget as _0x10aa45}from'ckeditor5/src/widget.js';import{Users as _0x3d3b0f,hashObject as _0x1ed8f7,surroundingMarkersDetector as _0xcd904a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x401524 from'./commands/trackchangescommand.js';import _0xf38b1d from'./commands/acceptsuggestioncommand.js';import _0x3ce751 from'./commands/discardsuggestioncommand.js';import _0x55aafb from'./commands/executeonallsuggestionscommand.js';import _0x4ff81d from'./commands/executeonselectedsuggestionscommand.js';import _0x311241 from'./suggestion.js';import _0x5c3fa6 from'./suggestiondescriptionfactory.js';import _0xf2258a from'./integrations/aiassistant.js';import _0x59b0c1 from'./integrations/alignment.js';import _0x224196 from'./integrations/basicstyles.js';import _0x2263e9 from'./integrations/blockquote.js';import _0x43b60a from'./integrations/casechange.js';import _0x1a8a78 from'./integrations/ckbox.js';import _0x7a37c9 from'./integrations/codeblock.js';import _0x37d209 from'./integrations/comments.js';import _0x5a309b from'./integrations/deletecommand.js';import _0x4ed979 from'./integrations/documentlist.js';import _0x2fa4c4 from'./integrations/documentlistproperties.js';import _0xdaaa63 from'./integrations/entercommand.js';import _0x5cb014 from'./integrations/findandreplace.js';import _0x1455f7 from'./integrations/font.js';import _0x2fdb94 from'./integrations/formatpainter.js';import _0x2af84b from'./integrations/heading.js';import _0x404097 from'./integrations/highlight.js';import _0x297c7a from'./integrations/horizontalline.js';import _0x124856 from'./integrations/htmlembed.js';import _0x41a269 from'./integrations/image.js';import _0x1287b7 from'./integrations/imagereplace.js';import _0x118bd8 from'./integrations/imagestyle.js';import _0x2b71ad from'./integrations/importword.js';import _0x479b76 from'./integrations/indent.js';import _0x5ce1df from'./integrations/inputcommand.js';import _0x2fa5cb from'./integrations/link.js';import _0x2a158b from'./integrations/list.js';import _0x4404b2 from'./integrations/listproperties.js';import _0x3d4a8f from'./integrations/mediaembed.js';import _0x53b8f4 from'./integrations/mention.js';import _0x4b3216 from'./integrations/pagebreak.js';import _0x39cfb8 from'./integrations/paragraph.js';import _0x495625 from'./integrations/removeformat.js';import _0x215880 from'./integrations/restrictededitingmode.js';import _0x1be427 from'./integrations/shiftentercommand.js';import _0x14f7f8 from'./integrations/standardeditingmode.js';import _0x2333f4 from'./integrations/style.js';import _0x171579 from'./integrations/table.js';import _0x2a1eac from'./integrations/tablemergesplit.js';import _0x18a554 from'./integrations/tableheadings.js';import _0x481798 from'./integrations/tableclipboard.js';import _0x436b72 from'./integrations/tablecolumnresize.js';import _0x26cd92 from'./integrations/template.js';import _0x51a31a from'./integrations/tableofcontents.js';import _0x111898 from'./integrations/title.js';import _0xb06a08 from'./integrations/undo.js';import _0x193c4d from'./integrations/tablecaption.js';import _0x4a4ce7 from'./integrations/tableproperties.js';import{getTranslation as _0x44e7d1}from'./utils/common-translations.js';import{isEqual as _0x2cef5d,omit as _0x3fb810}from'lodash-es';export const renameAttributeKey=_0x503c('0xeb');export default class p extends _0x2f6c99{static get['requires'](){return[_0x503c('0x31'),_0x3d3b0f,_0x1ab3ab,_0xf2258a,_0x59b0c1,_0x224196,_0x2263e9,_0x1a8a78,_0x43b60a,_0x7a37c9,_0x37d209,_0x5a309b,_0x4ed979,_0x2fa4c4,_0xdaaa63,_0x5cb014,_0x1455f7,_0x2fdb94,_0x2af84b,_0x404097,_0x297c7a,_0x124856,_0x41a269,_0x118bd8,_0x1287b7,_0x2b71ad,_0x479b76,_0x5ce1df,_0x2fa5cb,_0x2a158b,_0x4404b2,_0x3d4a8f,_0x53b8f4,_0x4b3216,_0x39cfb8,_0x495625,_0x215880,_0x1be427,_0x14f7f8,_0x2333f4,_0x171579,_0x2a1eac,_0x18a554,_0x193c4d,_0x481798,_0x436b72,_0x51a31a,_0x4a4ce7,_0x26cd92,_0x111898,_0xb06a08];}static get[_0x503c('0xc6')](){return _0x503c('0xef');}constructor(_0x7973b9){function _0xf45aa6(_0x29fecb){return _0x29fecb['map'](_0x30845f=>String[_0x503c('0x125')](_0x30845f))[_0x503c('0x2f')]('');}super(_0x7973b9),this[_0x503c('0x16a')]=null,this[_0x503c('0x7b')](_0x503c('0x56'),[]),this['on'](_0x503c('0x136'),(_0x18cf97,_0x1b0d74,_0x3fbc76,_0x2ebac1)=>{this[_0x503c('0xb4')][_0x503c('0x127')](()=>{for(const _0x17135a of[..._0x2ebac1,..._0x3fbc76])this[_0x503c('0xb4')]['markers'][_0x503c('0x9e')](_0x17135a)&&_0x7973b9['editing']['reconvertMarker'](_0x17135a);});}),this[_0x503c('0x29')]=new _0x5c3fa6(this['editor'][_0x503c('0x17f')][_0x503c('0x149')],this[_0x503c('0x49')][_0x503c('0x164')]),this['_adapter']=null,this[_0x503c('0x5b')]=new Bt(this[_0x503c('0x49')]),this[_0x503c('0x8b')]=new Map(),this['_commentsRepository']=_0x7973b9[_0x503c('0x15')][_0x503c('0x141')](_0x503c('0x31')),this[_0x503c('0x6a')]=new Set(),this[_0x503c('0xb4')]=this['editor'][_0x503c('0x17f')],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x503c('0xf6')]=new Set([_0x503c('0xeb')]),this[_0x503c('0xad')]=new Set(),_0x7973b9[_0x503c('0xdc')][_0x503c('0x70')](_0x503c('0x7d'),'default'),this[_0x503c('0x121')]=_0x7973b9['config']['get'](_0x503c('0x7d')),_0x7973b9[_0x503c('0xdc')][_0x503c('0x70')](_0x503c('0x13c'),!0x0),this[_0x503c('0x11f')]=_0x7973b9[_0x503c('0xdc')][_0x503c('0x141')](_0x503c('0x13c')),this[_0x503c('0x40')]=new _0x401524(_0x7973b9,this[_0x503c('0x6a')]),this[_0x503c('0x10d')](),this[_0xf45aa6([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xf45aa6([0x34,0x30,0x34,0x38,0x30,0x32,0x31,0x32]);}['init'](){const _0x40e867=this[_0x503c('0x49')],_0x42edf0=(_0x41af46,_0x2fe0ae)=>{if(_0x503c('0x5')!=_0x41af46)return _0x503c('0x59')+_0x41af46;const _0x1d6c32=_0x2fe0ae[_0x503c('0xc0')]('|')[0x0];return this[_0x503c('0x9')](_0x1d6c32)?_0x503c('0x14e'):_0x503c('0xa7');};_0x40e867[_0x503c('0x98')][_0x503c('0x14c')]('editingDowncast')[_0x503c('0x161')]({'model':_0x503c('0x68'),'view':_0x305736=>{const {id:_0x386679,type:_0x4bce59,subType:_0x12ebc6}=this[_0x503c('0xcd')](_0x305736[_0x503c('0x2b')]),_0x40ee10=[_0x503c('0x100'),_0x42edf0(_0x4bce59,_0x12ebc6)];let _0x1b0dbc=0xbb8;return this[_0x503c('0x56')]['includes'](_0x305736[_0x503c('0x2b')])&&(_0x40ee10['push'](_0x503c('0x158')),_0x1b0dbc=0xbc2),'deletion'==_0x4bce59&&(_0x1b0dbc+=0x5),{'classes':_0x40ee10,'attributes':{'data-suggestion':_0x386679},'priority':_0x1b0dbc};}}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')](_0x503c('0xd5'))[_0x503c('0x87')](_0x4e3ac6=>{_0x4e3ac6['on'](_0x503c('0xfb'),(_0x17d298,_0x36a631,_0x1fd986)=>{if(!_0x1fd986[_0x503c('0x82')]['showSuggestionHighlights'])return;const _0x4ec0f9=_0x36a631[_0x503c('0x17')];if(!_0x4ec0f9)return;const _0x46ca06=_0x1fd986['mapper'][_0x503c('0x14d')](_0x4ec0f9);_0x40e867[_0x503c('0x17f')][_0x503c('0x149')][_0x503c('0xd8')](_0x4ec0f9)&&_0x46ca06&&!_0x46ca06[_0x503c('0x9c')]('widget')&&_0x46ca06['is'](_0x503c('0xb8'))&&_0x10aa45(_0x46ca06,_0x1fd986['writer']);},{'priority':_0x503c('0x2')});}),_0x40e867['conversion']['for'](_0x503c('0xd5'))['markerToHighlight']({'model':_0x503c('0x68'),'view':(_0x67d4b9,_0x169eed)=>{if(!_0x169eed[_0x503c('0x82')][_0x503c('0xa2')])return null;const {type:_0x355601,subType:_0x47b4f7}=this[_0x503c('0xcd')](_0x67d4b9[_0x503c('0x2b')]);return{'classes':[_0x503c('0x100'),_0x42edf0(_0x355601,_0x47b4f7)],'priority':0xbb8};}});const _0xa353c2=({showActiveMarkers:_0x2531c6=!0x0,isAttributeSuggestion:_0x256a5a=!0x1}={})=>(_0x352959,_0x439dfe,_0x566a48)=>{if(!_0x439dfe[_0x503c('0x17')])return;const {id:_0x5025e2}=this[_0x503c('0xcd')](_0x439dfe[_0x503c('0x2b')]);if(_0x256a5a){const _0x2c9024=Lt(this[_0x503c('0x8b')][_0x503c('0x141')](_0x5025e2));if(!this[_0x503c('0x9')](_0x2c9024))return;}if(_0x439dfe['item']['is'](_0x503c('0xbb')))return void _0x566a48[_0x503c('0xbe')][_0x503c('0xdf')](_0x439dfe[_0x503c('0x17')],_0x352959[_0x503c('0x3a')]);const _0x8103e0=_0x566a48['mapper'][_0x503c('0x14d')](_0x439dfe['item']);if(_0x439dfe[_0x503c('0x17')]['is'](_0x503c('0xa0'))&&_0x40e867[_0x503c('0x17f')][_0x503c('0x149')][_0x503c('0xf1')](_0x439dfe['item'])&&!_0x8103e0[_0x503c('0x9c')](_0x503c('0xc8'))){_0x566a48['writer'][_0x503c('0xff')]([_0x503c('0x100'),_0x503c('0x14e')],_0x8103e0),_0x566a48[_0x503c('0xd7')][_0x503c('0xba')](_0x503c('0x8f'),_0x5025e2,_0x8103e0),_0x566a48[_0x503c('0x181')]['bindElementToMarker'](_0x8103e0,_0x439dfe[_0x503c('0x2b')]),_0x2531c6&&(this[_0x503c('0x56')][_0x503c('0x6e')](_0x439dfe[_0x503c('0x2b')])?_0x566a48['writer'][_0x503c('0xff')](_0x503c('0x158'),_0x8103e0):_0x566a48['writer']['removeClass'](_0x503c('0x158'),_0x8103e0));for(const _0x24ef1e of _0x40e867[_0x503c('0x17f')][_0x503c('0x130')](_0x439dfe[_0x503c('0x17')])['getItems']())_0x566a48['consumable']['consume'](_0x24ef1e,_0x352959[_0x503c('0x3a')]);_0x566a48['consumable']['consume'](_0x439dfe['item'],_0x352959[_0x503c('0x3a')]);}};_0x40e867[_0x503c('0x98')]['for'](_0x503c('0xd5'))[_0x503c('0x87')](_0xb58795=>{_0xb58795['on'](_0x503c('0x12d'),(_0x22184c,_0x2ee4d7,_0xe4b591)=>{_0xe4b591[_0x503c('0x82')][_0x503c('0xa2')]&&_0xa353c2({'showActiveMarkers':!0x1})(_0x22184c,_0x2ee4d7,_0xe4b591);},{'priority':'highest'});}),_0x40e867[_0x503c('0x98')]['for'](_0x503c('0xd5'))[_0x503c('0x87')](_0x4c0a88=>{_0x4c0a88['on'](_0x503c('0x1a'),(_0x4742e9,_0xebdd7e,_0x33e0a9)=>{_0x33e0a9[_0x503c('0x82')][_0x503c('0xa2')]&&_0xa353c2({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4742e9,_0xebdd7e,_0x33e0a9);},{'priority':_0x503c('0xce')});}),_0x40e867['conversion'][_0x503c('0x14c')](_0x503c('0xd5'))[_0x503c('0x140')]({'model':_0x503c('0x68'),'view':(_0x1499b9,_0x3efe74)=>_0x3efe74[_0x503c('0x82')][_0x503c('0xa2')]?null:{'group':_0x503c('0x68'),'name':_0x1499b9[_0x503c('0xf8')](0xb)}}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')](_0x503c('0xe9'))[_0x503c('0x129')]({'view':{'name':_0x503c('0x68'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x179784,{writer:_0x447bb5})=>{let _0x5238ad=_0x503c('0x145')+_0x179784['getAttribute'](_0x503c('0x15d'))+':'+_0x179784['getAttribute']('id');return _0x179784[_0x503c('0x81')](_0x503c('0x12a'))&&(_0x5238ad+=':'+_0x179784['getAttribute']('marker-count')),_0x447bb5[_0x503c('0x12b')](_0x503c('0x38'),{'data-name':_0x5238ad});}}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')]('upcast')[_0x503c('0x138')]({'view':'suggestion'}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')]('editingDowncast')[_0x503c('0x87')](_0x437e5c=>{_0x437e5c['on'](_0x503c('0x12d'),_0xa353c2(),{'priority':_0x503c('0x2')});}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')](_0x503c('0xa6'))[_0x503c('0x87')](_0x2c5663=>{_0x2c5663['on']('addMarker:suggestion:attribute',_0xa353c2({'isAttributeSuggestion':!0x0}),{'priority':_0x503c('0x2')});}),_0x40e867[_0x503c('0x98')][_0x503c('0x14c')](_0x503c('0xa6'))[_0x503c('0x87')](_0x45607e=>{_0x45607e['on'](_0x503c('0xca'),(_0x4743e4,_0x22114d,_0x1436da)=>{const _0x3050a2=_0x1436da[_0x503c('0x181')][_0x503c('0x122')](_0x22114d['markerName']);if(_0x3050a2)for(const _0x3636b3 of _0x3050a2)_0x3636b3[_0x503c('0x9c')](_0x503c('0xc8'))||(_0x1436da[_0x503c('0xd7')][_0x503c('0x79')]([_0x503c('0x100'),_0x503c('0x14e'),'ck-suggestion-marker--active'],_0x3636b3),_0x1436da[_0x503c('0xd7')][_0x503c('0x13e')](_0x503c('0x8f'),_0x3636b3),_0x1436da[_0x503c('0x181')][_0x503c('0x11c')](_0x3636b3,_0x22114d[_0x503c('0x2b')]));},{'priority':_0x503c('0x2')});}),_0x40e867[_0x503c('0x98')]['for'](_0x503c('0xa6'))[_0x503c('0x87')](_0x34eea1=>{_0x34eea1['on'](_0x503c('0xde'),(_0x2b4499,_0x80cf69,_0xd73ecb)=>{const _0x370e55=_0xd73ecb['mapper']['markerNameToElements'](_0x80cf69[_0x503c('0x2b')]);if(!_0x370e55)return;const {id:_0x31a162}=this[_0x503c('0xcd')](_0x80cf69[_0x503c('0x2b')]),_0xf76a5e=Lt(this[_0x503c('0x8b')][_0x503c('0x141')](_0x31a162));if(this[_0x503c('0x9')](_0xf76a5e))for(const _0x4ea6f1 of _0x370e55)_0x4ea6f1[_0x503c('0x9c')](_0x503c('0xc8'))||(_0xd73ecb[_0x503c('0xd7')]['removeClass']([_0x503c('0x100'),_0x503c('0x14e'),_0x503c('0x158')],_0x4ea6f1),_0xd73ecb[_0x503c('0xd7')][_0x503c('0x13e')](_0x503c('0x8f'),_0x4ea6f1),_0xd73ecb[_0x503c('0x181')][_0x503c('0x11c')](_0x4ea6f1,_0x80cf69['markerName']));},{'priority':_0x503c('0x2')});}),_0x40e867['model'][_0x503c('0x74')][_0x503c('0xc2')](_0x43528b=>{let _0x50f2f4=!0x1;const _0x56d385=Array[_0x503c('0x11')](_0x40e867[_0x503c('0x17f')][_0x503c('0x74')][_0x503c('0x6')][_0x503c('0x19')]()),_0x3bdc77=new Set();for(const {name:_0x48ebdb,data:_0x131e2e}of _0x56d385){const {group:_0x553bfa,type:_0x5a0203,subType:_0x581c58,id:_0x17d1ea}=this[_0x503c('0xcd')](_0x48ebdb);if(_0x503c('0x68')!==_0x553bfa)continue;const _0x295871=this[_0x503c('0x8b')][_0x503c('0x141')](_0x17d1ea);if(null!=_0x131e2e[_0x503c('0x131')]){'formatInline'==_0x5a0203&&(_0x50f2f4=_0x50f2f4||Et(_0x131e2e['newRange'],_0x48ebdb,_0x43528b,_0x40e867['model'][_0x503c('0x149')]));const _0x276182=_0x503c('0x5')==_0x5a0203&&this['_isBlockAttribute'](_0x581c58[_0x503c('0xc0')]('|')[0x0]);if(_0x131e2e['newRange'][_0x503c('0x88')]||_0x503c('0x4b')==_0x131e2e['newRange']['root']['rootName']||_0x503c('0x52')==_0x5a0203&&!Ut(_0x131e2e['newRange'])||_0x276182&&!Ut(_0x131e2e['newRange'])||'deletion'==_0x5a0203&&!(!xt(_0x8ef484=_0x131e2e[_0x503c('0x131')])&&!function(_0x5515fe){return _0x5515fe['start'][_0x503c('0x1b')]==_0x5515fe[_0x503c('0x47')][_0x503c('0x42')]&&_0x5515fe[_0x503c('0x33')]['isAtEnd'];}(_0x8ef484)))_0x43528b['removeMarker'](_0x48ebdb),_0x50f2f4=!0x0;else{if(!_0x295871||!_0x295871[_0x503c('0xda')])continue;_0x3bdc77[_0x503c('0x87')](_0x295871);}}}var _0x8ef484;return _0x3bdc77[_0x503c('0xaa')]>0x0&&(_0x50f2f4=!!this[_0x503c('0xdd')](_0x3bdc77)||_0x50f2f4),_0x50f2f4;}),_0x40e867[_0x503c('0x17f')][_0x503c('0x74')][_0x503c('0xc2')](_0x1a52a8=>{let _0x25f199=!0x1;for(const _0x53aaa6 of _0x40e867[_0x503c('0x17f')][_0x503c('0x74')]['differ'][_0x503c('0xbc')]())if(_0x503c('0x8d')==_0x53aaa6[_0x503c('0x6d')])for(const _0xb3ae3f of this[_0x503c('0x8b')][_0x503c('0x13b')]()){if(_0xb3ae3f['isMultiRange']||!_0xb3ae3f['isInContent'])continue;const _0x46d80f=_0x503c('0x52')==_0xb3ae3f[_0x503c('0x6d')],_0x35cba5=Lt(_0xb3ae3f),_0xa9c85b=_0x35cba5&&this['_isBlockAttribute'](_0x35cba5);if(!_0x46d80f&&!_0xa9c85b)continue;const _0x18ca20=_0xb3ae3f[_0x503c('0xe5')]();if(_0x18ca20['start'][_0x503c('0x1b')]!=_0x18ca20[_0x503c('0x47')][_0x503c('0x1b')]&&!_0x18ca20['end'][_0x503c('0x144')]){const _0x206b4a=_0x40e867[_0x503c('0x17f')][_0x503c('0xdb')](_0x18ca20['start'][_0x503c('0x16')],_0x503c('0x47')),_0xfed1c6=_0x40e867[_0x503c('0x17f')]['createRange'](_0x18ca20[_0x503c('0x33')],_0x206b4a);_0x1a52a8[_0x503c('0x66')](_0xb3ae3f[_0x503c('0x126')](),{'range':_0xfed1c6}),_0x25f199=!0x0;}}return _0x25f199;}),_0x40e867[_0x503c('0x17f')]['document'][_0x503c('0xc2')](_0x12ed07=>this[_0x503c('0xe0')](_0x12ed07)),_0x40e867[_0x503c('0x17f')][_0x503c('0x74')][_0x503c('0xc2')](_0x51b590=>!_0x51b590['batch'][_0x503c('0x3d')]&&this[_0x503c('0x1c')](_0x51b590)),_0x40e867[_0x503c('0x17f')][_0x503c('0xf7')]['on'](_0x503c('0x143'),(_0x4166cf,_0x4fd16e,_0x2bbd2c)=>{if(null==_0x2bbd2c){const {id:_0x5486a7}=this[_0x503c('0xcd')](_0x4fd16e['name']),_0x12f982=this[_0x503c('0x8b')][_0x503c('0x141')](_0x5486a7);_0x12f982&&_0x12f982[_0x503c('0x69')](_0x4fd16e[_0x503c('0x3a')]);}}),_0x40e867['model']['document']['on'](_0x503c('0x146'),()=>{const _0xc688aa=Array['from'](_0x40e867[_0x503c('0x17f')]['document']['differ'][_0x503c('0x19')]())[_0x503c('0xbd')](_0x2e20d9=>_0x503c('0x68')===this[_0x503c('0xcd')](_0x2e20d9[_0x503c('0x3a')])[_0x503c('0x119')]);if(0x0===_0xc688aa[_0x503c('0x14a')])return;_0xc688aa[_0x503c('0x61')]((_0x56abf7,_0x2ec89a)=>{const _0x4900f0=_0x56abf7[_0x503c('0xe7')][_0x503c('0x73')],_0x38248b=_0x2ec89a[_0x503c('0xe7')][_0x503c('0x73')];return null===_0x4900f0&&null===_0x38248b?0x0:null===_0x4900f0&&null!==_0x38248b?-0x1:null!==_0x4900f0&&null===_0x38248b?0x1:_0x4900f0['start'][_0x503c('0x22')](_0x38248b[_0x503c('0x33')])?-0x1:0x1;});const _0x492842=new Set(),_0x346c11=new Set();for(const {name:_0x16a7ed,data:_0x456fec}of _0xc688aa){const {id:_0x341683}=this[_0x503c('0xcd')](_0x16a7ed);if(null===_0x456fec['oldRange']){const _0x54e7e5=this[_0x503c('0x11e')](_0x16a7ed);_0x346c11[_0x503c('0x87')](_0x54e7e5);}else{const _0x5cb7dd=this[_0x503c('0x8b')][_0x503c('0x141')](_0x341683);null!==_0x456fec['newRange']||_0x5cb7dd['isInContent']?(_0x492842[_0x503c('0x87')](_0x5cb7dd[_0x503c('0x128')]),_0x346c11[_0x503c('0x87')](_0x5cb7dd)):this[_0x503c('0x152')](_0x5cb7dd);}}_0x346c11[_0x503c('0xaa')]>0x0&&this[_0x503c('0x63')](_0x346c11);for(const _0x1bbdaf of _0x492842)this[_0x503c('0x26')](_0x503c('0xc5'),_0x1bbdaf);}),_0x40e867[_0x503c('0x17f')]['on'](_0x503c('0x15e'),(_0x2ae1c2,_0x46a248)=>{const _0x3baa85=_0x46a248[0x0];if(!this['_suggestions']['size'])return;if(!_0x3baa85['isDocumentOperation'])return;if(_0x3baa85[_0x503c('0xf9')]['isUndo']||!_0x3baa85['batch'][_0x503c('0x3d')])return;let _0x587406,_0x2a4423;switch(_0x3baa85[_0x503c('0x6d')]){case _0x503c('0x8d'):_0x587406=_0x40e867[_0x503c('0x17f')][_0x503c('0xdb')](_0x3baa85['position']),_0x2a4423=_0x587406[_0x503c('0x15b')](_0x3baa85[_0x503c('0xcc')]);break;case _0x503c('0xc0'):_0x587406=_0x40e867['model'][_0x503c('0xdb')](_0x3baa85['splitPosition']),_0x2a4423=_0x40e867[_0x503c('0x17f')][_0x503c('0xdb')](_0x3baa85[_0x503c('0x11a')]);break;case'move':_0x587406=_0x40e867['model'][_0x503c('0xdb')](_0x3baa85[_0x503c('0x94')]),_0x2a4423=_0x587406[_0x503c('0x15b')](_0x3baa85['howMany']);break;default:return;}const _0x2b240e=_0x40e867['model'][_0x503c('0x3e')](_0x587406,_0x2a4423);_0x40e867[_0x503c('0x17f')][_0x503c('0x127')](()=>{for(const {suggestion:_0x24bf76,meta:_0x49b59e}of this[_0x503c('0xe1')](_0x2b240e)){if(_0x24bf76[_0x503c('0x58')])continue;if(_0x503c('0x72')==_0x24bf76['type'])continue;const _0x25154f=Lt(_0x24bf76);if(_0x25154f&&this['_isBlockAttribute'](_0x25154f)&&_0x503c('0xc0')!=_0x3baa85[_0x503c('0x6d')])continue;const _0x574135=_0x24bf76[_0x503c('0xe7')]&&_0x24bf76[_0x503c('0xe7')][_0x503c('0xe8')];(_0x503c('0x52')!=_0x24bf76[_0x503c('0x6d')]||_0x503c('0xc0')==_0x3baa85['type']&&!_0x574135)&&(_0x49b59e[_0x503c('0x10f')]||_0x503c('0xe3')==_0x24bf76[_0x503c('0x6d')]&&_0x49b59e[_0x503c('0x165')]||_0x24bf76['getFirstRange']()[_0x503c('0x113')](_0x2b240e)&&this[_0x503c('0x120')](_0x24bf76,_0x587406,_0x2a4423));}});},{'priority':_0x503c('0x35')}),_0x40e867['model']['on'](_0x503c('0xcb'),(_0x3b6e4f,_0x3b4bee)=>{const _0xf236ca=_0x3b4bee[0x0],_0x44dba8=_0x3b4bee[0x1];if(_0x44dba8&&_0x44dba8[_0x503c('0xfa')])return;if(this[_0x503c('0x168')])return;if(!this['trackChangesCommand']['value'])return;if(_0xf236ca[_0x503c('0x88')])return;const _0x3ce60e=_0x40e867[_0x503c('0x17f')][_0x503c('0x149')],{start:_0x23aaaf,end:_0x2d11bc}=_0xf236ca[_0x503c('0xe5')](),_0x6a37a2=_0x23aaaf[_0x503c('0x16')]&&_0x3ce60e['isLimit'](_0x23aaaf[_0x503c('0x16')])?null:_0x3ce60e[_0x503c('0x99')](_0x23aaaf,_0x503c('0x93')),_0x4199fa=_0x2d11bc[_0x503c('0x42')]&&_0x3ce60e['isLimit'](_0x2d11bc['nodeBefore'])?null:_0x3ce60e[_0x503c('0x99')](_0x2d11bc,_0x503c('0x157')),_0x41cdc8=_0x40e867[_0x503c('0x17f')][_0x503c('0x3e')](_0x6a37a2?_0x6a37a2[_0x503c('0x33')]:_0x23aaaf,_0x4199fa?_0x4199fa[_0x503c('0x47')]:_0x2d11bc);_0x40e867[_0x503c('0x17f')]['change'](_0x1b2b75=>{this[_0x503c('0x17e')](_0x41cdc8);const _0x2dfabc=_0x40e867[_0x503c('0x17f')][_0x503c('0x149')]['getNearestSelectionRange'](_0x41cdc8[_0x503c('0x33')]);_0xf236ca['is']('documentSelection')?_0x1b2b75[_0x503c('0x147')](_0x2dfabc):_0xf236ca[_0x503c('0xb2')](_0x2dfabc);}),_0x3b6e4f[_0x503c('0xa4')]();},{'priority':_0x497ccb[_0x503c('0x124')]+0xa}),_0x40e867[_0x503c('0x17f')]['on'](_0x503c('0x18'),(_0x5ad8e9,_0x5e586e)=>{const _0x1090b0=_0x5e586e[_0x5e586e[_0x503c('0x14a')]-0x1];_0x1090b0&&_0x1090b0[_0x503c('0xfa')]||this[_0x503c('0x168')]||this['trackChangesCommand'][_0x503c('0xd2')]&&(_0x40e867[_0x503c('0x17f')]['change'](()=>{let _0x5af911=_0x40e867[_0x503c('0x17f')][_0x503c('0x18')](_0x5e586e[0x0],_0x5e586e[0x1],_0x5e586e[0x2],{'forceDefaultExecution':!0x0});if(!_0x5af911)return;_0x5ad8e9[_0x503c('0x15c')]=_0x5af911[_0x503c('0x123')]();const _0x5ebed1=_0x5af911[_0x503c('0x47')][_0x503c('0x42')],_0x287bd7=_0x40e867[_0x503c('0x17f')][_0x503c('0x149')];_0x5ebed1&&_0x287bd7[_0x503c('0xf1')](_0x5ebed1)&&!_0x287bd7['isObject'](_0x5ebed1)&&(_0x5af911=_0x40e867[_0x503c('0x17f')][_0x503c('0x3e')](_0x5af911[_0x503c('0x33')],_0x40e867['model'][_0x503c('0xdb')](_0x5ebed1,_0x503c('0x47')))),this[_0x503c('0xd4')](_0x5af911);}),_0x5ad8e9['stop']());},{'priority':_0x503c('0x2')}),this[_0x503c('0x49')][_0x503c('0x154')][_0x503c('0x87')](_0x503c('0xfe'),this[_0x503c('0x40')]),this[_0x503c('0x14b')](_0x503c('0xfe'));const _0x2217e0=new _0xf38b1d(_0x40e867,this[_0x503c('0x8b')]);_0x40e867[_0x503c('0x154')][_0x503c('0x87')](_0x503c('0x109'),_0x2217e0),this[_0x503c('0x14b')]('acceptSuggestion');const _0x126f44=new _0x3ce751(_0x40e867,this[_0x503c('0x8b')]);_0x40e867['commands'][_0x503c('0x87')](_0x503c('0xd0'),_0x126f44),this[_0x503c('0x14b')](_0x503c('0xd0')),_0x40e867['commands'][_0x503c('0x87')]('acceptAllSuggestions',new _0x55aafb(_0x40e867,_0x2217e0,this['_suggestions'])),this[_0x503c('0x14b')]('acceptAllSuggestions'),_0x40e867[_0x503c('0x154')]['add'](_0x503c('0x110'),new _0x55aafb(_0x40e867,_0x126f44,this[_0x503c('0x8b')])),this[_0x503c('0x14b')](_0x503c('0x110')),_0x40e867[_0x503c('0x154')][_0x503c('0x87')](_0x503c('0x71'),new _0x4ff81d(_0x40e867,_0x2217e0,this[_0x503c('0x8b')])),this['enableCommand'](_0x503c('0x71')),_0x40e867[_0x503c('0x154')][_0x503c('0x87')](_0x503c('0xab'),new _0x4ff81d(_0x40e867,_0x126f44,this['_suggestions'])),this[_0x503c('0x14b')](_0x503c('0xab'));const _0x534684=_0x40e867['plugins'][_0x503c('0x141')](_0x503c('0x31'));this[_0x503c('0x3f')](_0x534684,_0x503c('0x5e'),(_0x42bc54,{threadId:_0x25e842})=>{const _0x3631ba=this['_suggestions']['get'](_0x25e842);_0x3631ba&&_0x3631ba[_0x503c('0xd1')]&&0x1===_0x3631ba['commentThread'][_0x503c('0x14a')]&&this[_0x503c('0xfc')](_0x25e842,{'hasComments':!0x0});},{'priority':_0x503c('0x15a')}),this[_0x503c('0x3f')](_0x534684,_0x503c('0x17b'),(_0x1558ef,{threadId:_0x34a261})=>{const _0x5d5d56=this['_suggestions'][_0x503c('0x141')](_0x34a261);_0x5d5d56&&_0x5d5d56[_0x503c('0xd1')]&&!_0x5d5d56['commentThread'][_0x503c('0x14a')]&&this[_0x503c('0xfc')](_0x34a261,{'hasComments':!0x1});},{'priority':_0x503c('0x15a')});}set[_0x503c('0x10a')](_0x76246c){if(this[_0x503c('0x3c')])throw new _0x385b98(_0x503c('0xae'),this);this[_0x503c('0x3c')]=_0x76246c;}get[_0x503c('0x10a')](){return this[_0x503c('0x3c')];}['getSuggestions']({skipNotAttached:_0x203260=!0x1,toJSON:_0x2123e9=!0x1}={}){const _0x450cb3=[];for(const _0x3236a4 of this['_suggestions'][_0x503c('0x13b')]())_0x203260&&!_0x3236a4[_0x503c('0xda')]||_0x450cb3[_0x503c('0x9d')](_0x3236a4);return _0x2123e9?_0x450cb3[_0x503c('0x89')](_0x214b6d=>_0x214b6d[_0x503c('0x77')]()):_0x450cb3;}[_0x503c('0x167')](_0x3e0823){const _0x3f7c73=this[_0x503c('0x8b')][_0x503c('0x141')](_0x3e0823);if(!_0x3f7c73)throw new _0x385b98(_0x503c('0x96'),this);return _0x3f7c73;}[_0x503c('0x1')](_0x29561a){return this['_suggestions']['has'](_0x29561a);}['addSuggestionData'](_0x450bec){const {authorId:_0x30743d,id:_0x53f977,attributes:_0x322c94}=_0x450bec,[_0x256997,_0x4497bf]=_0x450bec['type'][_0x503c('0xc0')](':'),_0x241274=this[_0x503c('0x8b')][_0x503c('0x141')](_0x53f977)||this[_0x503c('0xb7')](_0x256997,_0x4497bf,_0x53f977,_0x30743d,_0x322c94);if(this[_0x503c('0x162')](_0x241274),this['_checkSuggestionCorrectness'](_0x241274,_0x256997,_0x4497bf||null,_0x30743d),_0x241274[_0x503c('0xed')]=_0x450bec[_0x503c('0xed')],_0x241274[_0x503c('0x8a')]=!0x0,_0x322c94&&_0x322c94[_0x503c('0xb')]){const _0x3ace14=_0x322c94[_0x503c('0xb')],_0x2a779f=this[_0x503c('0x137')](_0x3ace14[_0x503c('0xe')]);_0x241274['authoredAt']=_0x3ace14[_0x503c('0xed')],_0x241274[_0x503c('0xb3')]=_0x2a779f,_0x241274[_0x503c('0xbf')]=!0x0;}else _0x241274[_0x503c('0x6f')]=_0x450bec[_0x503c('0xed')];switch(_0x450bec[_0x503c('0xe7')]&&(_0x241274[_0x503c('0xe7')]=_0x450bec[_0x503c('0xe7')]),_0x450bec['attributes']&&(_0x241274['attributes']=_0x450bec['attributes']),this[_0x503c('0x3c')]&&this[_0x503c('0x3c')][_0x503c('0x135')]||(_0x241274[_0x503c('0x14f')]=!0x0),this['_suggestionState'][_0x503c('0x141')](_0x241274)){case'notReady':this[_0x503c('0x11b')][_0x503c('0x7b')](_0x241274,_0x503c('0x102'));break;case _0x503c('0x15f'):_0x241274[_0x503c('0xda')]?(this[_0x503c('0x63')](new Set([_0x241274])),this[_0x503c('0xdd')](new Set([_0x241274])),this[_0x503c('0x11b')][_0x503c('0x7b')](_0x241274,_0x503c('0xee')),this[_0x503c('0x26')](_0x503c('0x24'),_0x241274)):this[_0x503c('0x11b')][_0x503c('0x7b')](_0x241274,_0x503c('0x2d'));}return _0x241274;}[_0x503c('0x109')](_0x316598){this[_0x503c('0xfa')](()=>{this[_0x503c('0x49')][_0x503c('0x17f')]['change'](()=>{for(const _0x4cd3a9 of _0x316598[_0x503c('0x25')]())_0x4cd3a9['accept']();});});}[_0x503c('0xd0')](_0x3465bc){this[_0x503c('0xfa')](()=>{this[_0x503c('0x49')]['model']['change'](()=>{for(const _0x366d4b of _0x3465bc[_0x503c('0x25')]())_0x366d4b[_0x503c('0x1d')]();});});}['enableCommand'](_0x1d60e6,_0x5cb6de){const _0x1277a4=this[_0x503c('0x49')][_0x503c('0x154')]['get'](_0x1d60e6);if(!_0x1277a4)throw new _0x385b98(_0x503c('0x172'),this,{'commandName':_0x1d60e6});if(this[_0x503c('0x6a')][_0x503c('0x9e')](_0x1277a4))throw new _0x385b98('track-changes-enable-command-twice',this,{'commandName':_0x1d60e6});this[_0x503c('0x6a')][_0x503c('0x87')](_0x1277a4),_0x5cb6de&&_0x1277a4['on'](_0x503c('0x174'),(_0x5167c3,_0x2a5365)=>{this['trackChangesCommand'][_0x503c('0xd2')]&&(this['_isForcedDefaultExecutionBlock']||(_0x2a5365['length']>0x0&&_0x2a5365[_0x2a5365[_0x503c('0x14a')]-0x1]&&_0x2a5365[_0x2a5365[_0x503c('0x14a')]-0x1][_0x503c('0xfa')]?_0x2a5365[_0x503c('0x16f')]():(_0x5167c3[_0x503c('0x15c')]=_0x5cb6de((..._0x2e116d)=>_0x1277a4[_0x503c('0x174')](..._0x2e116d,{'forceDefaultExecution':!0x0}),..._0x2a5365),_0x5167c3[_0x503c('0xa4')]())));},{'priority':_0x503c('0x2')});}['forceDefaultExecution'](_0x1a996b){let _0x20d786,_0x47afaa;const _0x4354b7=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x20d786=_0x1a996b();}catch(_0x12ade8){_0x47afaa=_0x12ade8;}return _0x4354b7||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x47afaa&&_0x385b98['rethrowUnexpectedError'](_0x47afaa,this),_0x20d786;}[_0x503c('0xd4')](_0x5ea4c4,_0x5112dc=null,_0xd9de20={}){if(_0x5ea4c4[_0x503c('0x88')])return null;const _0x5570ca=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'];for(const {suggestion:_0x30db49,meta:_0x1ba0e4}of this['_findSuggestions'](_0x5ea4c4,_0x503c('0xe3')))if(_0x1ba0e4[_0x503c('0x165')]){if(!_0x1ba0e4[_0x503c('0x133')]){if(_0x1ba0e4['containsRangeInObject']){if(!this[_0x503c('0x11f')]||!Ft(_0x30db49,_0xd9de20))continue;return _0x30db49;}if(Ft(_0x30db49,_0xd9de20))return _0x30db49;this[_0x503c('0x120')](_0x30db49,_0x5ea4c4[_0x503c('0x33')],_0x5ea4c4[_0x503c('0x47')]);break;}if(_0x5112dc==_0x30db49['subType']&&Ft(_0x30db49,_0xd9de20)){const _0x16b94e=_0x30db49[_0x503c('0xe5')]();return _0x16b94e['start']['isEqual'](_0x5ea4c4[_0x503c('0x47')])?this['_setSuggestionRange'](_0x30db49,this['_model']['createRange'](_0x5ea4c4['start'],_0x16b94e[_0x503c('0x47')])):this[_0x503c('0x13a')](_0x30db49,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x16b94e[_0x503c('0x33')],_0x5ea4c4[_0x503c('0x47')])),_0x30db49;}}const _0x353535=_0x4f6f54(),_0x59f20a=_0x5570ca['id'],_0x331b7e=_0x5112dc?_0x503c('0xb6')+_0x5112dc:'insertion',_0x514b44=this[_0x503c('0x4e')]({'id':_0x353535,'type':_0x331b7e,'createdAt':new Date(),'authorId':_0x59f20a,'attributes':_0xd9de20});return this[_0x503c('0x3')](_0x331b7e,_0x353535,_0x59f20a,_0x5ea4c4),_0x514b44;}[_0x503c('0xc1')](_0x5b46d7,_0x4d5a55=_0x503c('0x60'),_0xdddfc3={}){const _0x4d46e3=this['editor'][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'],_0x27f431=this[_0x503c('0x5b')][_0x503c('0xe2')]('insertion',_0x4d5a55,_0x503c('0x2f'));for(const _0x1e2fef of this[_0x503c('0x4f')]())if(_0x1e2fef[_0x503c('0xb3')]['id']==_0x4d46e3['id']&&'insertion'==_0x1e2fef[_0x503c('0x6d')]&&_0x1e2fef['subType']==_0x4d5a55&&Ft(_0x1e2fef,_0xdddfc3)&&(_0x27f431(_0x1e2fef[_0x503c('0x10b')](),_0x5b46d7)||_0x27f431(_0x5b46d7,_0x1e2fef['getRanges']()))){for(const _0x4088e3 of _0x5b46d7)_0x1e2fef[_0x503c('0x83')](_0x4088e3);return _0x1e2fef;}for(const {suggestion:_0x4bbd22,meta:_0x205b33}of this['_findSuggestions'](_0x5b46d7,_0x503c('0xe3'))){if(!_0x205b33[_0x503c('0x165')])continue;if(!this[_0x503c('0x11f')]&&_0x205b33['containsRangeInObject'])continue;if(!Ft(_0x4bbd22,_0xdddfc3))continue;let _0x48de09=!0x0;for(const _0x5aec42 of _0x4bbd22[_0x503c('0x10b')]())for(const _0x827ebf of _0x5b46d7)if(!_0x5aec42['containsRange'](_0x827ebf)){_0x48de09=!0x1;break;}if(_0x48de09)return _0x4bbd22;}const _0x5f38b9=_0x4f6f54(),_0x290cc2=_0x4d46e3['id'],_0x468bc3=_0x503c('0xb6')+_0x4d5a55,_0x9f3b88=this[_0x503c('0x4e')]({'id':_0x5f38b9,'type':_0x468bc3,'createdAt':new Date(),'authorId':_0x290cc2,'attributes':_0xdddfc3});for(const _0x4e99ab of _0x5b46d7)this[_0x503c('0x3')](_0x468bc3,_0x5f38b9,_0x290cc2,_0x4e99ab,_0x311241[_0x503c('0x155')]());return _0x9f3b88;}[_0x503c('0x3b')](_0x2feb1f,_0x54eb7d,_0x1d051b=null,_0xebfffd={}){if(_0x1d051b=_0x1d051b||Rt(_0x54eb7d),_0x2feb1f[_0x503c('0x88')])return null;if(_0x503c('0x177')===this[_0x503c('0x121')]){const _0x21a4a9=this[_0x503c('0x5b')][_0x503c('0xe2')](_0x503c('0x72'),_0x1d051b,_0x503c('0xf2'));return this[_0x503c('0xfa')](()=>_0x21a4a9([_0x2feb1f],_0x54eb7d,_0xebfffd)),null;}const _0x5e1997=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'],_0x2a15dc=[];if(_0x503c('0x4')!==this[_0x503c('0x121')])for(const {suggestion:_0xa78c5e,meta:_0x47685a}of this['_findSuggestions'](_0x2feb1f,_0x503c('0xe3')))_0x47685a[_0x503c('0x165')]&&!_0x47685a[_0x503c('0x175')]&&_0x2a15dc[_0x503c('0x9d')](..._0xa78c5e['getRanges']());const _0x375d92=function(_0xce4f2c,_0x31a0a4){const _0x3772c0=[];for(const _0x5421a4 of _0x31a0a4){const _0x18b3b4=_0xce4f2c[_0x503c('0x95')](_0x5421a4);_0x18b3b4&&_0x3772c0[_0x503c('0x9d')](_0x18b3b4);}return _0x3772c0;}(_0x2feb1f,_0x2a15dc),_0x364d2d=function(_0x194e37,_0x97fd1a){const _0x343945=[_0x194e37];for(const _0x419243 of _0x97fd1a){let _0x4c84fc=0x0;for(;_0x4c84fc<_0x343945['length'];){const _0x343a31=_0x343945[_0x4c84fc][_0x503c('0x12')](_0x419243);_0x343945['splice'](_0x4c84fc,0x1,..._0x343a31),_0x4c84fc+=_0x343a31[_0x503c('0x14a')];}}return _0x343945;}(_0x2feb1f,_0x2a15dc);_0x375d92['length']&&this['_model'][_0x503c('0x127')](()=>{for(const _0x2f9cbe of _0x375d92){const _0x1d58bb=this[_0x503c('0x5b')][_0x503c('0xe2')]('formatInline',_0x1d051b,_0x503c('0xf2'));this[_0x503c('0xfa')](()=>_0x1d58bb([_0x2f9cbe],_0x54eb7d,_0xebfffd));}});for(const _0x1b6564 of _0x364d2d){let _0x5e1b8b=null,_0x13b1b9=_0x1b6564[_0x503c('0x33')],_0x291c5e=_0x1b6564[_0x503c('0x47')];for(const {suggestion:_0x1063ea,meta:_0x460081}of this[_0x503c('0xe1')](_0x1b6564,'formatInline')){if(!_0x460081[_0x503c('0x165')])continue;if(_0x1063ea[_0x503c('0x51')]!=_0x1d051b)continue;if(!Ft(_0x1063ea,_0xebfffd))continue;const _0x4aaf2b=_0x1063ea[_0x503c('0xe5')]();if(_0x4aaf2b[_0x503c('0x113')](_0x1b6564,!0x0))return null;_0x13b1b9=_0x13b1b9['isBefore'](_0x4aaf2b[_0x503c('0x33')])?_0x13b1b9:_0x4aaf2b[_0x503c('0x33')],_0x291c5e=_0x291c5e[_0x503c('0xb0')](_0x4aaf2b[_0x503c('0x47')])?_0x291c5e:_0x4aaf2b[_0x503c('0x47')],_0x5e1b8b?_0x4aaf2b[_0x503c('0x33')][_0x503c('0x22')](_0x5e1b8b[_0x503c('0xe5')]()[_0x503c('0x33')])?(_0x5e1b8b[_0x503c('0x106')](),_0x5e1b8b=_0x1063ea):_0x1063ea[_0x503c('0x106')]():_0x5e1b8b=_0x1063ea;}const _0x14c609=this[_0x503c('0xb4')][_0x503c('0x3e')](_0x13b1b9,_0x291c5e);if(_0x5e1b8b)this['_setSuggestionRange'](_0x5e1b8b,_0x14c609);else{const _0x5ec0a4=_0x4f6f54(),_0x34f850=_0x5e1997['id'];this[_0x503c('0x4e')]({'id':_0x5ec0a4,'type':_0x503c('0x10e')+_0x1d051b,'data':_0x54eb7d,'createdAt':new Date(),'authorId':_0x34f850,'attributes':_0xebfffd}),this[_0x503c('0x3')](_0x503c('0x10e')+_0x1d051b,_0x5ec0a4,_0x34f850,_0x14c609);}}return null;}[_0x503c('0xd')](_0x475d2e,_0x56c4f6,_0x22438a=[],_0x3fbb8d=null,_0x1909dc={}){_0x56c4f6[_0x503c('0x8e')]||(_0x56c4f6[_0x503c('0x8e')]=_0x56c4f6[_0x503c('0x7')]),_0x56c4f6[_0x503c('0xe8')]=_0x475d2e['is']('range'),_0x3fbb8d=_0x3fbb8d||Rt(_0x56c4f6);const _0x56caa7=_0x22438a[_0x503c('0x89')](_0x47d7f4=>Ot(_0x47d7f4,this['_model'])),_0x31807f=_0x475d2e['is'](_0x503c('0x8'))?_0x475d2e:Ot(_0x475d2e,this[_0x503c('0xb4')]);if(_0x503c('0x177')===this[_0x503c('0x121')]){const _0x1e3df0=this[_0x503c('0x5b')]['getSuggestionCallback']('formatBlock',_0x3fbb8d,'accept');return this[_0x503c('0xfa')](()=>_0x1e3df0([_0x31807f],_0x56c4f6,_0x1909dc)),null;}_0x56caa7[_0x503c('0x9d')](_0x31807f);let _0x4f481c=!0x0;for(const _0x102b3b of _0x56caa7)if(!this['_rangeIsInLocalUserInsertion'](_0x102b3b)){_0x4f481c=!0x1;break;}if(_0x4f481c&&_0x503c('0x4')!==this[_0x503c('0x121')]){const _0x58f8af=this[_0x503c('0x5b')][_0x503c('0xe2')](_0x503c('0x52'),_0x3fbb8d,_0x503c('0xf2'));return this['forceDefaultExecution'](()=>_0x58f8af([_0x31807f],_0x56c4f6,_0x1909dc)),null;}let _0x304f62=null,_0x1aa257=_0x31807f[_0x503c('0x33')],_0x20e63d=_0x31807f['end'];for(const {suggestion:_0x4fe380,meta:_0xc7be70}of this['_findSuggestions'](_0x31807f,_0x503c('0x52'))){if(!_0xc7be70['isOwn'])continue;if(_0xc7be70[_0x503c('0x133')]||_0xc7be70[_0x503c('0x10f')]||_0xc7be70[_0x503c('0x175')])continue;if(_0x4fe380[_0x503c('0xe7')][_0x503c('0x8e')]!=_0x56c4f6[_0x503c('0x8e')])continue;if(!Ft(_0x4fe380,_0x1909dc))continue;const _0x2a4744=_0x4fe380[_0x503c('0xe5')]();if(_0x4fe380[_0x503c('0x51')]==_0x3fbb8d){if(_0x2a4744['containsRange'](_0x31807f,!0x0))return null;_0x1aa257=_0x1aa257[_0x503c('0x22')](_0x2a4744[_0x503c('0x33')])?_0x1aa257:_0x2a4744[_0x503c('0x33')],_0x20e63d=_0x20e63d[_0x503c('0xb0')](_0x2a4744[_0x503c('0x47')])?_0x20e63d:_0x2a4744['end'],_0x304f62?_0x2a4744['start'][_0x503c('0x22')](_0x304f62[_0x503c('0xe5')]()['start'])?(_0x304f62[_0x503c('0x106')](),_0x304f62=_0x4fe380):_0x4fe380[_0x503c('0x106')]():_0x304f62=_0x4fe380;}else{const _0x5bb67e=_0x31807f['getIntersection'](_0x2a4744);this[_0x503c('0x7c')](_0x4fe380,_0x5bb67e);}}const _0x34bb98=this[_0x503c('0x49')]['plugins'][_0x503c('0x141')]('Users')['me'],_0x4c6832=_0x4f6f54(),_0x37f710=_0x34bb98['id'];if(_0x304f62)return this['_setSuggestionRange'](_0x304f62,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x1aa257,_0x20e63d)),_0x304f62;{const _0x36e54e=this[_0x503c('0x4e')]({'id':_0x4c6832,'type':_0x503c('0x118')+_0x3fbb8d,'data':_0x56c4f6,'createdAt':new Date(),'authorId':_0x37f710,'attributes':_0x1909dc});return this[_0x503c('0x3')](_0x503c('0x118')+_0x3fbb8d,_0x4c6832,_0x37f710,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x1aa257,_0x20e63d)),_0x36e54e;}}[_0x503c('0xa5')](_0x36b007,_0x9357fa,_0x31909c=[],_0x3d6702=null,_0x140dd7={}){_0x9357fa[_0x503c('0x8e')]||(_0x9357fa['formatGroupId']=_0x9357fa['commandName']);const _0x27b8c0=_0x36b007[0x0];_0x9357fa[_0x503c('0xe8')]=_0x27b8c0['is'](_0x503c('0x8')),_0x3d6702=_0x3d6702||Rt(_0x9357fa);const _0x44414f=_0x31909c[_0x503c('0x89')](_0x14e8f2=>Ot(_0x14e8f2,this[_0x503c('0xb4')])),_0x1d560f=_0x27b8c0['is'](_0x503c('0x8'))?_0x36b007:_0x36b007[_0x503c('0x89')](_0x5bff75=>Ot(_0x5bff75,this[_0x503c('0xb4')]));if(_0x503c('0x177')===this[_0x503c('0x121')]){const _0x2fc5ce=this[_0x503c('0x5b')][_0x503c('0xe2')](_0x503c('0x52'),_0x3d6702,_0x503c('0xf2'));return this[_0x503c('0xfa')](()=>_0x2fc5ce(_0x1d560f,_0x9357fa,_0x140dd7)),null;}_0x44414f[_0x503c('0x9d')](..._0x1d560f);let _0x2c53ca=!0x0;for(const _0x35d372 of _0x44414f)if(!this['_rangeIsInLocalUserInsertion'](_0x35d372)){_0x2c53ca=!0x1;break;}if(_0x2c53ca&&'always'!==this[_0x503c('0x121')]){const _0x42b7d4=this[_0x503c('0x5b')][_0x503c('0xe2')](_0x503c('0x52'),_0x3d6702,_0x503c('0xf2'));return this['forceDefaultExecution'](()=>_0x42b7d4(_0x1d560f,_0x9357fa,_0x140dd7)),null;}const _0x41101a=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'];for(const _0x448361 of this['getSuggestions']()){if(_0x448361['author']['id']!=_0x41101a['id'])continue;if(_0x503c('0x52')!=_0x448361[_0x503c('0x6d')]||_0x448361[_0x503c('0xe7')][_0x503c('0x8e')]!=_0x9357fa['formatGroupId'])continue;if(!Ft(_0x448361,_0x140dd7))continue;const _0x542400=_0x448361[_0x503c('0x51')]==_0x3d6702;for(let _0x165790=0x0;_0x165790<_0x1d560f[_0x503c('0x14a')];_0x165790++){const _0x4ff2fc=_0x1d560f[_0x165790];for(const _0xf578e of _0x448361[_0x503c('0x7a')]()){const _0x2bbd08=_0xf578e[_0x503c('0x117')]();if(_0x4ff2fc[_0x503c('0x9a')](_0x2bbd08)){_0x542400?(_0x1d560f[_0x503c('0x90')](_0x165790,0x1),_0x165790--):_0x448361[_0x503c('0xac')](_0xf578e[_0x503c('0x3a')]);break;}}}}if(0x0==_0x1d560f['length'])return null;const _0x1688b4=this[_0x503c('0x5b')][_0x503c('0xe2')]('formatBlock',_0x3d6702,_0x503c('0x2f'));for(const _0x39ba53 of this[_0x503c('0x4f')]())if(_0x39ba53[_0x503c('0xb3')]['id']==_0x41101a['id']&&'formatBlock'==_0x39ba53[_0x503c('0x6d')]&&_0x39ba53[_0x503c('0xe7')][_0x503c('0x8e')]==_0x9357fa[_0x503c('0x8e')]&&_0x39ba53['subType']==_0x3d6702&&Ft(_0x39ba53,_0x140dd7)&&(_0x1688b4(_0x39ba53[_0x503c('0x10b')](),_0x1d560f)||_0x1688b4(_0x1d560f,_0x39ba53[_0x503c('0x10b')]()))){for(const _0x4da070 of _0x1d560f)_0x39ba53['addRange'](_0x4da070);return _0x39ba53;}const _0x198f54=_0x4f6f54(),_0x470cd4=_0x41101a['id'],_0x12e2ee=_0x503c('0x118')+_0x3d6702,_0x140fa6=this[_0x503c('0x4e')]({'id':_0x198f54,'type':_0x12e2ee,'data':_0x9357fa,'createdAt':new Date(),'authorId':_0x470cd4,'attributes':_0x140dd7});for(const _0x1c6b71 of _0x1d560f)this[_0x503c('0x3')](_0x12e2ee,_0x198f54,_0x470cd4,_0x1c6b71,_0x311241[_0x503c('0x155')]());return _0x140fa6;}['markDeletion'](_0x301568,_0x3baebd=null,_0x30aa09={}){if(_0x301568['isCollapsed'])return null;const _0x3e81cc=this[_0x503c('0x49')][_0x503c('0x15')]['get'](_0x503c('0xfd'))['me'],_0x1ec2d6=new _0x45f9be(_0x301568['start'],_0x301568[_0x503c('0x47')]);for(const {suggestion:_0x514be1,meta:_0x32c79b}of this[_0x503c('0xe1')](_0x1ec2d6,_0x503c('0xe3')))if(_0x32c79b[_0x503c('0x165')]&&!_0x32c79b[_0x503c('0x133')]){if(_0x514be1[_0x503c('0x58')]){const _0x1c701f=_0x514be1[_0x503c('0x10b')]()['filter'](_0x2611e5=>_0x503c('0x4b')!=_0x2611e5[_0x503c('0x9f')][_0x503c('0x1f')]);_0x1c701f['every'](_0x76d0ff=>_0x1ec2d6[_0x503c('0x113')](_0x76d0ff,!0x0))&&_0x514be1[_0x503c('0x1d')]();if(_0x1c701f['some'](_0x29797a=>_0x29797a[_0x503c('0x113')](_0x1ec2d6,!0x0))){const _0x141166=this[_0x503c('0x5b')]['getSuggestionCallback'](_0x503c('0xcf'),_0x3baebd,_0x503c('0xf2'));return this[_0x503c('0xfa')](()=>_0x141166([_0x1ec2d6],null,_0x30aa09)),null;}}else{const _0x11b272=_0x1ec2d6[_0x503c('0x95')](_0x514be1[_0x503c('0xe5')]());null!==_0x11b272&&_0x514be1['_onDiscard']([_0x11b272],null,_0x30aa09);}}if(_0x1ec2d6[_0x503c('0xc9')](),_0x1ec2d6[_0x503c('0x88')]||_0x503c('0x4b')==_0x1ec2d6[_0x503c('0x9f')][_0x503c('0x1f')])return null;let _0x5b1749=null,_0x330c32=_0x1ec2d6[_0x503c('0x33')],_0x2e8ff6=_0x1ec2d6[_0x503c('0x47')];const _0x52e592=this[_0x503c('0xe1')](_0x1ec2d6,_0x503c('0xcf'));for(const {suggestion:_0x5dd761,meta:_0x1f8968}of _0x52e592){const _0xb16961=this[_0x503c('0xb4')][_0x503c('0x3e')](_0x330c32,_0x2e8ff6);if(_0x1f8968[_0x503c('0x165')]&&(this[_0x503c('0x11f')]||!_0x1f8968['containsRangeInObject']&&!_0x1f8968[_0x503c('0x175')])){if(_0x5dd761[_0x503c('0x58')]){if(!Ft(_0x5dd761,_0x30aa09))continue;let _0x8da4e6=!0x0;for(const _0x42d0b4 of _0x5dd761[_0x503c('0x10b')]()){if(_0x42d0b4[_0x503c('0x113')](_0xb16961,!0x0))return _0x5dd761;_0xb16961[_0x503c('0x113')](_0x42d0b4)||(_0x8da4e6=!0x1);}_0x8da4e6&&_0x5dd761['discard']();}else{const _0x29ca9f=_0x5dd761[_0x503c('0xe5')]();if(_0x29ca9f[_0x503c('0x113')](_0xb16961,!0x0))return _0x5dd761;if(!Ft(_0x5dd761,_0x30aa09)){_0xb16961[_0x503c('0x113')](_0x29ca9f)?_0x5dd761['removeMarkers']():_0x29ca9f[_0x503c('0x84')](_0x330c32)?_0x330c32=_0x29ca9f[_0x503c('0x47')]:_0x29ca9f[_0x503c('0x84')](_0x2e8ff6)&&(_0x2e8ff6=_0x29ca9f[_0x503c('0x33')]);continue;}_0x330c32=_0x330c32[_0x503c('0x22')](_0x29ca9f['start'])?_0x330c32:_0x29ca9f[_0x503c('0x33')],_0x2e8ff6=_0x2e8ff6[_0x503c('0xb0')](_0x29ca9f[_0x503c('0x47')])?_0x2e8ff6:_0x29ca9f[_0x503c('0x47')],_0x30aa09=Object[_0x503c('0x6c')]({},_0x5dd761['attributes']),_0x5b1749?_0x29ca9f[_0x503c('0x33')][_0x503c('0x22')](_0x5b1749[_0x503c('0xe5')]()[_0x503c('0x33')])?(_0x5b1749[_0x503c('0x106')](),_0x5b1749=_0x5dd761):_0x5dd761[_0x503c('0x106')]():_0x5b1749=_0x5dd761;}}}if(_0x5b1749)return this['_setSuggestionRange'](_0x5b1749,this[_0x503c('0xb4')]['createRange'](_0x330c32,_0x2e8ff6)),_0x5b1749;{const _0x220857=_0x4f6f54(),_0x331ef1=this['_model'][_0x503c('0x3e')](_0x330c32,_0x2e8ff6),_0x1c84c4=_0x3e81cc['id'],_0x4a7462=_0x3baebd?_0x503c('0x75')+_0x3baebd:'deletion',_0x4e14c6=this[_0x503c('0x4e')]({'id':_0x220857,'type':_0x4a7462,'createdAt':new Date(),'authorId':_0x1c84c4,'attributes':_0x30aa09});return this[_0x503c('0x3')](_0x4a7462,_0x220857,_0x1c84c4,_0x331ef1),_0x4e14c6;}}[_0x503c('0x179')](_0x11449d,_0x28bcd2='multi',_0x9491e4={}){const _0x2807bd=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'],_0x9f8963=_0x11449d[_0x503c('0x89')](_0x5bc78f=>new _0x45f9be(_0x5bc78f['start'],_0x5bc78f[_0x503c('0x47')])),_0x507700=new Set();for(const {suggestion:_0x38dd94,meta:_0x2970a3}of this[_0x503c('0xe1')](_0x9f8963,_0x503c('0xe3')))_0x2970a3[_0x503c('0x165')]&&!_0x2970a3[_0x503c('0x133')]&&_0x507700['add'](_0x38dd94);for(const _0x558bb0 of _0x507700)if(_0x558bb0[_0x503c('0x58')]){const _0x4cba8d=_0x558bb0[_0x503c('0x10b')]();(!_0x558bb0[_0x503c('0x160')]||!_0x558bb0[_0x503c('0x160')][_0x503c('0x2a')])&&(_0x4cba8d[_0x503c('0x17c')](_0xd4c0f9=>_0x9f8963[_0x503c('0x21')](_0x2d7484=>_0x2d7484['containsRange'](_0xd4c0f9,!0x0)))&&_0x558bb0[_0x503c('0x1d')]());if(_0x9f8963[_0x503c('0x17c')](_0x45b98d=>_0x4cba8d[_0x503c('0x21')](_0x33480b=>_0x33480b[_0x503c('0x113')](_0x45b98d,!0x0)))){const _0xe4e15a=this[_0x503c('0x5b')][_0x503c('0xe2')]('deletion',_0x28bcd2,_0x503c('0xf2'));return this[_0x503c('0xfa')](()=>_0xe4e15a(_0x11449d,null,_0x9491e4)),null;}}else{const _0x1257a5=_0x558bb0[_0x503c('0xe5')]();_0x9f8963[_0x503c('0x21')](_0x10e325=>_0x10e325['containsRange'](_0x1257a5,!0x0))&&_0x558bb0[_0x503c('0x1d')]();if(_0x9f8963[_0x503c('0x17c')](_0x68645d=>_0x1257a5['containsRange'](_0x68645d,!0x0))){const _0x2b1c0f=this[_0x503c('0x5b')]['getSuggestionCallback'](_0x503c('0xcf'),_0x28bcd2,_0x503c('0xf2'));return this[_0x503c('0xfa')](()=>_0x2b1c0f(_0x9f8963,null,_0x9491e4)),null;}}const _0x5aeffe=this[_0x503c('0x5b')][_0x503c('0xe2')](_0x503c('0xcf'),_0x28bcd2,'join');let _0x4dc263=null;for(const _0x2af367 of this[_0x503c('0x4f')]())if(_0x2af367['author']['id']==_0x2807bd['id']&&_0x2af367['isInContent']&&_0x503c('0xcf')==_0x2af367[_0x503c('0x6d')]&&_0x2af367[_0x503c('0x51')]==_0x28bcd2&&Ft(_0x2af367,_0x9491e4)&&(_0x5aeffe(_0x2af367[_0x503c('0x10b')](),_0x9f8963)||_0x5aeffe(_0x9f8963,_0x2af367[_0x503c('0x10b')]()))){if(_0x4dc263){if(_0x2af367['commentThread']&&_0x2af367['commentThread'][_0x503c('0x14a')])continue;for(const _0xcc3394 of _0x2af367[_0x503c('0x10b')]())_0x4dc263[_0x503c('0x4c')](_0xcc3394)||_0x4dc263[_0x503c('0x83')](_0xcc3394);_0x2af367['removeMarkers']();}else{_0x4dc263=_0x2af367;for(const _0x250a0d of _0x9f8963)_0x2af367[_0x503c('0x4c')](_0x250a0d)||_0x2af367[_0x503c('0x83')](_0x250a0d);}}if(_0x4dc263)return _0x4dc263;_0x507700[_0x503c('0x55')]();for(const {suggestion:_0x41382a,meta:_0x18b298}of this[_0x503c('0xe1')](_0x9f8963,_0x503c('0xcf')))_0x18b298[_0x503c('0x165')]&&(this[_0x503c('0x11f')]||!_0x18b298[_0x503c('0x10f')]&&!_0x18b298['isInsideObject'])&&Ft(_0x41382a,_0x9491e4)&&_0x507700['add'](_0x41382a);for(const _0x56429a of _0x507700){const _0x3ff8eb=_0x56429a[_0x503c('0x10b')]();if(!_0x9491e4||!_0x9491e4[_0x503c('0x2a')]){if(_0x9f8963['every'](_0x5f1ce7=>_0x3ff8eb['some'](_0x1d4642=>_0x1d4642[_0x503c('0x113')](_0x5f1ce7,!0x0))))return _0x56429a;}(!_0x56429a[_0x503c('0x160')]||!_0x56429a[_0x503c('0x160')]['skipNestingCheck'])&&(_0x3ff8eb[_0x503c('0x17c')](_0x209abc=>_0x9f8963[_0x503c('0x21')](_0x4e3f0c=>_0x4e3f0c[_0x503c('0x113')](_0x209abc,!0x0)))&&_0x56429a['discard']());}const _0x38bbda=_0x4f6f54(),_0x4cff5e=_0x2807bd['id'],_0x2d3702='deletion:'+_0x28bcd2,_0x48cd9b=this['_setSuggestionData']({'id':_0x38bbda,'type':_0x2d3702,'createdAt':new Date(),'authorId':_0x4cff5e,'attributes':_0x9491e4});for(const _0x1572b7 of _0x9f8963)_0x1572b7[_0x503c('0xc9')](),_0x1572b7[_0x503c('0x88')]||_0x503c('0x4b')==_0x1572b7['root'][_0x503c('0x1f')]||this[_0x503c('0x3')](_0x2d3702,_0x38bbda,_0x4cff5e,_0x1572b7,_0x311241['getMultiRangeId']());return _0x48cd9b;}[_0x503c('0x6b')](_0x13e77d,_0x3cdfa6,_0x55e668,_0xd0c993,_0x4b51b8){if(_0x13e77d[_0x503c('0x88')])return[];if(_0x503c('0x177')===this['_trackFormatChanges'])return[];const _0x6c4ae6=this[_0x503c('0x49')]['plugins'][_0x503c('0x141')](_0x503c('0xfd'))['me']['id'],_0x26ce8c=Array[_0x503c('0x11')](this[_0x503c('0x8b')][_0x503c('0x13b')]())['filter'](_0xb2b317=>_0x503c('0x5')==_0xb2b317[_0x503c('0x6d')]&&_0xb2b317[_0x503c('0xe7')]['key']==_0x3cdfa6&&_0xb2b317['isIntersectingWithRange'](_0x13e77d));if('default'===this['_trackFormatChanges']){const _0x2f2d70=this[_0x503c('0xe1')](_0x13e77d,_0x503c('0xe3'))[_0x503c('0xbd')](({meta:_0x363c62})=>_0x363c62['isOwn']&&!_0x363c62['isInsideObject']&&!_0x363c62[_0x503c('0x133')])[_0x503c('0x89')](({suggestion:_0x4903ec})=>_0x4903ec);_0x26ce8c[_0x503c('0x80')](..._0x2f2d70);}const _0x3c16e8=new Map([[_0x13e77d,_0x55e668]]);for(const _0x1c82ff of _0x26ce8c){const _0x370489=_0x503c('0x5')==_0x1c82ff[_0x503c('0x6d')]?_0x1c82ff[_0x503c('0xe7')][_0x503c('0xe6')]:void 0x0,_0x538903=_0x1c82ff[_0x503c('0xe5')](),_0x4d2650=Array[_0x503c('0x11')](_0x3c16e8['keys']())[_0x503c('0x62')](_0x29e041=>_0x29e041[_0x503c('0x116')](_0x538903));if(!_0x4d2650)continue;const _0x47a06f=_0x4d2650[_0x503c('0x12')](_0x538903);this[_0x503c('0x9')](_0x3cdfa6)&&'insertion'==_0x1c82ff[_0x503c('0x6d')]&&0x0!=_0x47a06f[_0x503c('0x14a')]||(_0x3c16e8[_0x503c('0xb1')](_0x4d2650),_0x47a06f[_0x503c('0x17a')](_0x5821cd=>{_0x3c16e8['set'](_0x5821cd,_0x55e668);}),'insertion'!=_0x1c82ff[_0x503c('0x6d')]&&_0x370489!=_0xd0c993&&_0x3c16e8['set'](_0x4d2650['getIntersection'](_0x538903),_0x370489));}const _0x2825bb=[];for(const [_0x38b6ae,_0x1d7098]of _0x3c16e8){const _0x2ff598=_0x4f6f54(),_0x21ff23={'key':_0x3cdfa6,'oldValue':_0x1d7098,'newValue':_0xd0c993};_0x3cdfa6[_0x503c('0x14a')]>0x25&&console[_0x503c('0x97')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x3cdfa6});const _0x588a36=(_0x503c('0x150')+(_0x3cdfa6+'|'+Rt({'newValue':_0xd0c993})))[_0x503c('0x180')](0x0,0x3c),_0x22392a=this[_0x503c('0x4e')]({'id':_0x2ff598,'type':_0x588a36,'data':_0x21ff23,'createdAt':new Date(),'authorId':_0x6c4ae6,'attributes':_0x4b51b8});_0x2825bb[_0x503c('0x9d')](_0x22392a),this['_addSuggestionMarker'](_0x588a36,_0x2ff598,_0x6c4ae6,_0x38b6ae);}return _0x2825bb;}[_0x503c('0x16d')](_0xb0fa54){this[_0x503c('0xf6')][_0x503c('0x87')](_0xb0fa54);}[_0x503c('0x176')](_0x683012){this[_0x503c('0xad')][_0x503c('0x87')](_0x683012);}[_0x503c('0x103')](_0x399d73,_0x35eff8=[],_0x4af7a8=[]){this[_0x503c('0x14b')](_0x399d73,(_0x5c4a61,..._0x5319dc)=>{this[_0x503c('0x48')](()=>{_0x5c4a61(..._0x5319dc);});});for(const _0x2944e7 of _0x35eff8)this[_0x503c('0x176')](_0x2944e7);for(const _0x1419f1 of _0x4af7a8)this[_0x503c('0x16d')](_0x1419f1);}[_0x503c('0x13a')](_0x81601b,_0x1dda32){const _0x4e40c8=_0x81601b[_0x503c('0x126')]();this[_0x503c('0xb4')]['change'](_0x19d7db=>{_0x19d7db[_0x503c('0x66')](_0x4e40c8,{'range':_0x1dda32});});}['_addThreadToSuggestion'](_0x4c9e80){const _0x259f36=_0x4c9e80['id'],_0x6f1e7b=this[_0x503c('0x49')][_0x503c('0xdc')][_0x503c('0x141')](_0x503c('0x114'));this[_0x503c('0x5d')][_0x503c('0xaf')](_0x259f36)||this[_0x503c('0x5d')][_0x503c('0xc3')]({'channelId':_0x6f1e7b,'threadId':_0x259f36,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x54b342=this['_commentsRepository']['getCommentThread'](_0x259f36);_0x54b342[_0x503c('0x10')](_0x503c('0x91')),_0x54b342['isRemovable']=!0x1,_0x4c9e80[_0x503c('0xd1')]=_0x54b342;}['_checkSuggestionCorrectness'](_0x165f9f,_0x58af72,_0x428959,_0x53f12d){if(_0x165f9f[_0x503c('0x6d')]!=_0x58af72||_0x165f9f['subType']!=_0x428959||_0x165f9f[_0x503c('0xd6')]['id']!=_0x53f12d)throw this[_0x503c('0x49')][_0x503c('0xa9')]('track-changes-suggestion-data-mismatch'),new _0x385b98(_0x503c('0x23'),this);}[_0x503c('0x7c')](_0x508d74,_0x52f0ec){const _0x18f0c3=_0x508d74['getFirstRange']();if(_0x52f0ec[_0x503c('0x9a')](_0x18f0c3))_0x508d74[_0x503c('0x106')]();else{if(_0x18f0c3[_0x503c('0x113')](_0x52f0ec)){const _0x3ce7a2=this[_0x503c('0xb4')]['createPositionAt'](_0x52f0ec[_0x503c('0x33')][_0x503c('0x42')],_0x503c('0x47'));this[_0x503c('0x13a')](_0x508d74,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x18f0c3[_0x503c('0x33')],_0x3ce7a2));const _0x16178e=_0x4f6f54(),_0x25a67b=_0x508d74['creator']['id'],_0x4de984=_0x508d74[_0x503c('0x6d')]+':'+_0x508d74[_0x503c('0x51')];this['_setSuggestionData']({'id':_0x16178e,'type':_0x4de984,'createdAt':new Date(),'authorId':_0x25a67b,'data':_0x508d74[_0x503c('0xe7')],'attributes':_0x508d74[_0x503c('0x160')]});const _0x5a654e=this['_model']['createPositionAt'](_0x52f0ec['end'][_0x503c('0x1b')],_0x503c('0x85')),_0x589a9b=this[_0x503c('0xb4')][_0x503c('0x3e')](_0x5a654e,_0x18f0c3[_0x503c('0x47')]);this[_0x503c('0x3')](_0x4de984,_0x16178e,_0x25a67b,_0x589a9b);}else{if(_0x18f0c3[_0x503c('0x84')](_0x52f0ec[_0x503c('0x33')])){const _0x18c77e=this[_0x503c('0xb4')][_0x503c('0xdb')](_0x52f0ec[_0x503c('0x33')][_0x503c('0x42')],_0x503c('0x47'));this[_0x503c('0x13a')](_0x508d74,this['_model']['createRange'](_0x18f0c3[_0x503c('0x33')],_0x18c77e));}else{const _0x4dfb2d=this['_model'][_0x503c('0xdb')](_0x52f0ec[_0x503c('0x47')][_0x503c('0x1b')],'after');this[_0x503c('0x13a')](_0x508d74,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x4dfb2d,_0x18f0c3[_0x503c('0x47')]));}}}}[_0x503c('0x107')](_0x449a39){for(const {suggestion:_0x223c06,meta:_0x13b917}of this[_0x503c('0xe1')](_0x449a39,_0x503c('0xe3'))){if(!_0x13b917[_0x503c('0x165')])continue;const _0x3fa86f=_0x223c06[_0x503c('0x10b')]();for(const _0xea4ea4 of _0x3fa86f)if(!_0x449a39[_0x503c('0x12')](_0xea4ea4)[_0x503c('0x14a')])return!0x0;}return!0x1;}[_0x503c('0x39')](_0x1dade7){const _0x23880b=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))[_0x503c('0x170')](_0x1dade7);if(!_0x23880b)throw new _0x385b98(_0x503c('0x10c'),this);return _0x23880b;}[_0x503c('0x137')](_0x1b6e3b){const _0xd8336f=this['editor']['plugins'][_0x503c('0x141')](_0x503c('0xfd')),_0x47e07b=_0x1ed8f7(_0x503c('0xec')+_0x1b6e3b),_0x5fb581=_0xd8336f[_0x503c('0x170')](_0x47e07b);return _0x5fb581||_0xd8336f[_0x503c('0x45')]({'id':_0x47e07b,'name':_0x1b6e3b});}[_0x503c('0xb7')](_0x3f3753,_0x11e20f,_0x2eb631,_0x3c1e05,_0x4c1401){const _0x2c25f2=this[_0x503c('0x39')](_0x3c1e05),_0x20086a=this[_0x503c('0x5b')][_0x503c('0x105')](_0x3f3753,_0x11e20f,_0x2eb631,_0x2c25f2,_0x4c1401,_0x43b00d=>this[_0x503c('0xfc')](_0x2eb631,{'attributes':_0x43b00d}));return this[_0x503c('0x3f')](_0x20086a,'accept',()=>{this[_0x503c('0xfc')](_0x2eb631,{'state':'accepted'});},{'priority':_0x503c('0x2')}),this[_0x503c('0x3f')](_0x20086a,_0x503c('0x1d'),()=>{this['_updateSuggestionData'](_0x2eb631,{'state':_0x503c('0xb5')});},{'priority':_0x503c('0x2')}),this[_0x503c('0x8b')][_0x503c('0x7b')](_0x2eb631,_0x20086a),this[_0x503c('0x11b')][_0x503c('0x7b')](_0x20086a,'notReady'),_0x20086a;}['_splitMarkerName'](_0x55c7a7){const _0x5bb589=_0x55c7a7[_0x503c('0xc0')](':');return{'group':_0x5bb589[0x0],'type':_0x5bb589[0x1],'subType':_0x5bb589[_0x503c('0x14a')]>=0x5?_0x5bb589[0x2]:null,'id':_0x5bb589[_0x503c('0x14a')]<0x5?_0x5bb589[0x2]:_0x5bb589[0x3],'authorId':_0x5bb589[_0x503c('0x14a')]<0x5?_0x5bb589[0x3]:_0x5bb589[0x4],'markerCount':0x6==_0x5bb589[_0x503c('0x14a')]?_0x5bb589[0x5]:null};}['_breakSuggestionMarker'](_0x2c68f3,_0x34e308,_0x546b67){const _0x1fb6f9=_0x2c68f3[_0x503c('0xe5')](),_0xabf0c1=_0x1fb6f9[_0x503c('0x33')],_0x5ba99e=_0x1fb6f9[_0x503c('0x47')];this[_0x503c('0x13a')](_0x2c68f3,this[_0x503c('0xb4')][_0x503c('0x3e')](_0xabf0c1,_0x34e308));const _0x3dd6f9=_0x4f6f54(),_0x1e20d6=_0x2c68f3['creator']['id'],_0x5ac7e2=_0x2c68f3[_0x503c('0x6d')]+(_0x2c68f3[_0x503c('0x51')]?':'+_0x2c68f3[_0x503c('0x51')]:'');this['_setSuggestionData']({'id':_0x3dd6f9,'type':_0x5ac7e2,'createdAt':new Date(),'authorId':_0x1e20d6,'originalSuggestionId':_0x2c68f3['id'],'attributes':_0x2c68f3[_0x503c('0x160')],'data':_0x2c68f3['data']});const _0x4fbf28=Lt(_0x2c68f3);(_0x503c('0x52')==_0x2c68f3[_0x503c('0x6d')]||_0x4fbf28&&this[_0x503c('0x9')](_0x4fbf28))&&(_0x546b67=this[_0x503c('0xb4')][_0x503c('0x159')](_0x546b67[_0x503c('0x1b')])),this[_0x503c('0x3')](_0x5ac7e2,_0x3dd6f9,_0x1e20d6,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x546b67,_0x5ba99e));}['_findSuggestions'](_0x381dbc,_0x58c07d=null){const _0x2458a7=[],_0x238649=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0xfd'))['me'];Array[_0x503c('0x153')](_0x381dbc)||(_0x381dbc=[_0x381dbc]);for(const _0x51b07b of this['getSuggestions']()){if(!_0x51b07b['isInContent'])continue;if(_0x58c07d&&_0x51b07b[_0x503c('0x6d')]!=_0x58c07d)continue;let _0x1e2974=!0x1;for(const _0x586b8d of _0x51b07b[_0x503c('0x10b')]()){for(const _0x58cee4 of _0x381dbc){const _0x184b34=_0x58cee4['start']['isEqual'](_0x586b8d['end'])||_0x58cee4['end']['isEqual'](_0x586b8d[_0x503c('0x33')]);if(_0x184b34||_0x58cee4[_0x503c('0x95')](_0x586b8d)){const _0x46e099=_0x58cee4['containsRange'](_0x586b8d)&&Tt(this[_0x503c('0xb4')][_0x503c('0x149')],_0x586b8d['start'],_0x58cee4),_0x3e49c7=_0x586b8d[_0x503c('0x113')](_0x58cee4)&&Tt(this[_0x503c('0xb4')][_0x503c('0x149')],_0x58cee4['start'],_0x586b8d);_0x2458a7[_0x503c('0x9d')]({'suggestion':_0x51b07b,'meta':{'isOwn':_0x238649==_0x51b07b[_0x503c('0xb3')],'isNextTo':_0x184b34,'isInsideObject':_0x46e099,'containsRangeInObject':_0x3e49c7}}),_0x1e2974=!0x0;break;}}if(_0x1e2974)break;}}return _0x2458a7;}[_0x503c('0x3')](_0x448f55,_0x3b9148,_0x47ae21,_0x416f6e,_0x543020){this[_0x503c('0xb4')][_0x503c('0x127')](_0x4b1dd9=>{let _0x3359bc=_0x503c('0x145')+_0x448f55+':'+_0x3b9148+':'+_0x47ae21;_0x543020&&(_0x3359bc=_0x3359bc+':'+_0x543020),_0x4b1dd9[_0x503c('0x134')](_0x3359bc,{'range':_0x416f6e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x503c('0x152')](_0x13f9c8){const _0x56f746=_0x13f9c8['previous'],_0x4d7693=_0x13f9c8[_0x503c('0x101')];_0x13f9c8[_0x503c('0x13d')]=null,_0x13f9c8[_0x503c('0x101')]=null,null!=_0x56f746&&(_0x56f746['next']=_0x4d7693),null!=_0x4d7693&&(_0x4d7693['previous']=_0x56f746),'ready'==this[_0x503c('0x11b')]['get'](_0x13f9c8)&&(this['_suggestionState'][_0x503c('0x7b')](_0x13f9c8,'removed'),this[_0x503c('0x26')](_0x503c('0x67'),_0x13f9c8,_0x56f746,_0x4d7693));}[_0x503c('0x4e')](_0x20eb69){const _0x3ba3b3=_0x20eb69['id'],_0x28699e=this[_0x503c('0xf4')](_0x20eb69);if(this[_0x503c('0x3c')]&&this[_0x503c('0x3c')][_0x503c('0x135')]){const _0x45722f=this[_0x503c('0x49')][_0x503c('0x15')]['get'](_0x503c('0x8c')),_0x450645=_0x28699e['hasComments'],_0x44f867=_0x28699e['subType']?_0x28699e[_0x503c('0x6d')]+':'+_0x28699e['subType']:_0x28699e['type'],_0x3c316d=this[_0x503c('0x49')][_0x503c('0x164')],_0x162ecd=_0x45722f['add'](_0x44e7d1(_0x3c316d,_0x503c('0xf5'))),_0x18ff49={'id':_0x3ba3b3,'type':_0x44f867,'hasComments':_0x450645,'data':_0x20eb69[_0x503c('0xe7')]||null,'originalSuggestionId':_0x20eb69[_0x503c('0x1e')]||null,'attributes':_0x28699e[_0x503c('0x160')]};this[_0x503c('0x3c')]['addSuggestion'](_0x18ff49)['then'](_0x40fe68=>{_0x28699e['_saved']=!0x0,_0x45722f['remove'](_0x162ecd),_0x40fe68&&_0x40fe68[_0x503c('0xed')]&&(this[_0x503c('0x8b')]['get'](_0x3ba3b3)[_0x503c('0xed')]=_0x40fe68[_0x503c('0xed')]);})[_0x503c('0x12e')](_0x122671=>{throw _0x4e203f('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model'][_0x503c('0xea')]({'isUndoable':!0x1},()=>{_0x28699e[_0x503c('0x1d')]();}),_0x28699e['stopListening'](),this['_suggestions'][_0x503c('0xb1')](_0x28699e['id']),this[_0x503c('0x11b')][_0x503c('0xb1')](_0x28699e),_0x122671;});}return _0x28699e;}[_0x503c('0x9')](_0x4d200c){return this['_blockAttributeKeys'][_0x503c('0x9e')](_0x4d200c);}[_0x503c('0xfc')](_0x47ebc2,_0x1cb934){const _0x3c1437=this[_0x503c('0x49')][_0x503c('0x15')][_0x503c('0x141')](_0x503c('0x8c')),_0x51981c=this[_0x503c('0x167')](_0x47ebc2);if(this[_0x503c('0x3c')]&&this[_0x503c('0x3c')][_0x503c('0x142')]){if(_0x51981c[_0x503c('0x14f')]){const _0x217203=_0x3c1437[_0x503c('0x87')](_0x44e7d1(this[_0x503c('0x49')][_0x503c('0x164')],'PENDING_ACTION_SUGGESTION'));this['_adapter'][_0x503c('0x142')](_0x47ebc2,_0x1cb934)[_0x503c('0x163')](()=>{_0x3c1437[_0x503c('0x41')](_0x217203);});}else _0x51981c['on']('change:_saved',()=>{this[_0x503c('0xfc')](_0x47ebc2,_0x1cb934);});}}[_0x503c('0x64')](_0x3917d9){if(!this[_0x503c('0x3c')]||!this[_0x503c('0x3c')][_0x503c('0x167')])throw new _0x385b98(_0x503c('0x92'),this);return this[_0x503c('0x3c')][_0x503c('0x167')](_0x3917d9);}['_handleNewSuggestionMarker'](_0x41b67e){const {id:_0x5d72b5,type:_0x4ac5e4,subType:_0x5dcecb,authorId:_0x310006}=this[_0x503c('0xcd')](_0x41b67e),_0x477943=this[_0x503c('0x8b')][_0x503c('0x141')](_0x5d72b5)||this['_createSuggestion'](_0x4ac5e4,_0x5dcecb,_0x5d72b5,_0x310006,{});switch(this['_checkSuggestionCorrectness'](_0x477943,_0x4ac5e4,_0x5dcecb,_0x310006),this['_suggestionState'][_0x503c('0x141')](_0x477943)){case _0x503c('0x43'):this[_0x503c('0x64')](_0x5d72b5)[_0x503c('0x163')](_0xcaa18c=>{let _0x58430a=Promise['resolve']();_0xcaa18c[_0x503c('0x2c')]&&(_0x58430a=this[_0x503c('0x5d')]['fetchCommentThread']({'channelId':this[_0x503c('0x49')]['config']['get']('collaboration.channelId'),'threadId':_0x5d72b5})),_0x58430a[_0x503c('0x163')](()=>{this[_0x503c('0xf4')](_0xcaa18c)[_0x503c('0x14f')]=!0x0;});}),this[_0x503c('0x11b')]['set'](_0x477943,'markerReady');break;case _0x503c('0x2d'):this[_0x503c('0xfc')](_0x5d72b5,{'state':_0x503c('0x13')});case _0x503c('0x102'):this[_0x503c('0x11b')][_0x503c('0x7b')](_0x477943,'ready'),this[_0x503c('0x26')](_0x503c('0x24'),_0x477943);break;case _0x503c('0xee'):this['fire'](_0x503c('0xc5'),_0x477943);}return _0x477943[_0x503c('0x69')](_0x41b67e),_0x477943;}[_0x503c('0x63')](_0x899cfd){const _0x44520a=Array[_0x503c('0x11')](_0x899cfd),_0x6dc4fe=_0x44520a[_0x503c('0xbd')](_0x4c2fa4=>_0x503c('0x5')==_0x4c2fa4['type']);this[_0x503c('0x171')](_0x6dc4fe);const _0x504a88=_0x44520a['filter'](_0x147732=>!_0x147732['isMultiRange']&&_0x503c('0x5')!=_0x147732[_0x503c('0x6d')]),_0x5c9a44=this[_0x503c('0x4f')]({'skipNotAttached':!0x0})[_0x503c('0xbd')](_0x3cab1e=>!_0x3cab1e[_0x503c('0x58')]&&'attribute'!=_0x3cab1e['type']),_0xeb6f91=_0x5c9a44[_0x503c('0xbd')](_0x4e24bb=>!_0x899cfd[_0x503c('0x9e')](_0x4e24bb)),_0x5375f3=new Map(_0x5c9a44[_0x503c('0x89')](_0x1ec914=>[_0x1ec914,this[_0x503c('0x5b')][_0x503c('0xe2')](_0x1ec914[_0x503c('0x6d')],_0x1ec914['subType'],_0x503c('0x16c'))])),_0x25caf3=new Map(_0x5c9a44['map'](_0x4aa419=>[_0x4aa419,_0x4aa419[_0x503c('0xe5')]()])),_0xfc712d=new Set(),_0x465dcd=new Set();for(let _0x338861=0x0;_0x338861<_0x504a88[_0x503c('0x14a')];_0x338861++)_0x1704d5(_0x504a88[_0x338861],_0x504a88,_0x338861+0x1);for(let _0x3e6d97=0x0;_0x3e6d97<_0x504a88[_0x503c('0x14a')];_0x3e6d97++)_0x1704d5(_0x504a88[_0x3e6d97],_0xeb6f91,0x0);const _0x39d7c4=new Set();for(let _0x13c8d7=0x0;_0x13c8d7<_0x504a88[_0x503c('0x14a')];_0x13c8d7++){const _0xac29ca=_0x504a88[_0x13c8d7];!_0x465dcd[_0x503c('0x9e')](_0xac29ca)&&_0xac29ca[_0x503c('0x13d')]&&(_0x39d7c4[_0x503c('0x87')](_0xac29ca[_0x503c('0x13d')]),_0xac29ca[_0x503c('0x13d')]['next']===_0xac29ca&&(_0xac29ca[_0x503c('0x13d')][_0x503c('0x101')]=null),_0xac29ca[_0x503c('0x13d')]=null),!_0xfc712d[_0x503c('0x9e')](_0xac29ca)&&_0xac29ca['next']&&(_0x39d7c4[_0x503c('0x87')](_0xac29ca[_0x503c('0x101')]),_0xac29ca[_0x503c('0x101')][_0x503c('0x13d')]===_0xac29ca&&(_0xac29ca['next'][_0x503c('0x13d')]=null),_0xac29ca[_0x503c('0x101')]=null);}function _0x1704d5(_0x3b987a,_0x5d120f,_0x1b9464){for(let _0x363948=_0x1b9464;_0x363948<_0x5d120f[_0x503c('0x14a')];_0x363948++){const _0x4168cc=_0x519ca7(_0x3b987a,_0x5d120f[_0x363948]);_0x4168cc&&(_0x4168cc[0x0][_0x503c('0x101')]=_0x4168cc[0x1],_0x4168cc[0x1][_0x503c('0x13d')]=_0x4168cc[0x0],_0xfc712d['add'](_0x4168cc[0x0]),_0x465dcd['add'](_0x4168cc[0x1]));}}function _0x519ca7(_0x56a3aa,_0x51c9f7){if(_0x56a3aa[_0x503c('0xb3')]['id']!==_0x51c9f7[_0x503c('0xb3')]['id'])return null;const _0xbf20d1=_0x5375f3[_0x503c('0x141')](_0x56a3aa)(_0x56a3aa,_0x51c9f7,_0x25caf3[_0x503c('0x141')](_0x56a3aa),_0x25caf3['get'](_0x51c9f7));if(!_0xbf20d1)return null;return _0x5375f3[_0x503c('0x141')](_0x51c9f7)(_0x56a3aa,_0x51c9f7,_0x25caf3[_0x503c('0x141')](_0x56a3aa),_0x25caf3[_0x503c('0x141')](_0x51c9f7))?_0xbf20d1[0x1][_0x503c('0xd1')]&&_0xbf20d1[0x1][_0x503c('0xd1')]['length']?null:_0xbf20d1:null;}_0x39d7c4[_0x503c('0xaa')]&&this['_refreshSuggestionsChain'](_0x39d7c4);}[_0x503c('0x171')](_0x33e62d){if(0x0==_0x33e62d[_0x503c('0x14a')])return;const _0x1fb147=this[_0x503c('0x4f')]({'skipNotAttached':!0x0})[_0x503c('0xbd')](_0x2b3677=>_0x503c('0x5')==_0x2b3677['type']&&_0x2b3677[_0x503c('0x8a')]),_0x4fcdf6=[],_0x1427c1=new Map();for(const _0x38089e of _0x1fb147){const _0x26edbd=_0x1ed8f7(_0x38089e['attributes']);_0x1427c1[_0x503c('0x9e')](_0x26edbd)||(_0x1427c1[_0x503c('0x7b')](_0x26edbd,_0x4fcdf6['length']),_0x4fcdf6['push']([]));const _0x213442=_0x1427c1['get'](_0x26edbd);_0x4fcdf6[_0x213442][_0x503c('0x9d')](_0x38089e);}!function(){_0x4fcdf6[_0x503c('0x61')]((_0x500ab5,_0x6e307d)=>{const _0x54ec32=_0x500ab5[0x0][_0x503c('0xed')],_0x1c07fb=_0x6e307d[0x0][_0x503c('0xed')];return _0x54ec32==_0x1c07fb?_0x500ab5[0x0][_0x503c('0x160')]['groupId']<_0x6e307d[0x0][_0x503c('0x160')][_0x503c('0x20')]?-0x1:0x1:_0x54ec32<_0x1c07fb?-0x1:0x1;});for(const _0x40a3ac of _0x4fcdf6)_0x40a3ac[_0x503c('0x61')]((_0x2509c0,_0x560704)=>_0x2509c0['id']<_0x560704['id']?-0x1:0x1);}();for(let _0x2ec8bb=0x0;_0x2ec8bb<_0x4fcdf6['length'];_0x2ec8bb++){if(0x0==_0x4fcdf6[_0x2ec8bb]['length'])continue;const _0x2fd7da=[];for(let _0x45be16=_0x2ec8bb+0x1;_0x45be16<_0x4fcdf6[_0x503c('0x14a')];_0x45be16++)0x0!=_0x4fcdf6[_0x45be16][_0x503c('0x14a')]&&_0x26fc8a(_0x4fcdf6[_0x2ec8bb],_0x4fcdf6[_0x45be16])&&_0x2fd7da[_0x503c('0x9d')](_0x45be16);for(const _0x28c874 of _0x2fd7da)_0x4fcdf6[_0x2ec8bb]=_0x4fcdf6[_0x2ec8bb][_0x503c('0x115')](_0x4fcdf6[_0x28c874]),_0x4fcdf6[_0x28c874]=[];}for(const _0x4382fb of _0x4fcdf6)for(let _0x1ed7c1=0x0;_0x1ed7c1<_0x4382fb[_0x503c('0x14a')];_0x1ed7c1++)_0x4382fb[_0x1ed7c1][_0x503c('0x101')]=_0x4382fb[_0x1ed7c1+0x1]||null;for(const _0x3f5ff6 of _0x4fcdf6)for(let _0x1cf1fd=0x0;_0x1cf1fd<_0x3f5ff6[_0x503c('0x14a')];_0x1cf1fd++)_0x3f5ff6[_0x1cf1fd]['previous']=_0x3f5ff6[_0x1cf1fd-0x1]||null;function _0x26fc8a(_0x223700,_0x3e4e9e){if(_0x223700[0x0][_0x503c('0xb3')]!==_0x3e4e9e[0x0][_0x503c('0xb3')])return!0x1;if(!function(_0x215133,_0x12b09e){if(!_0x215133[_0x503c('0x2c')]&&!_0x12b09e[_0x503c('0x2c')])return!0x0;if(_0x215133['hasComments']&&_0x12b09e[_0x503c('0x2c')])return!0x1;if(_0x215133[_0x503c('0x2c')]&&_0x12b09e[_0x503c('0xed')]<_0x215133[_0x503c('0xd1')][_0x503c('0xd9')][_0x503c('0x141')](0x0)[_0x503c('0xed')])return!0x0;if(_0x12b09e[_0x503c('0x2c')]&&_0x215133['createdAt']<_0x12b09e[_0x503c('0xd1')][_0x503c('0xd9')][_0x503c('0x141')](0x0)[_0x503c('0xed')])return!0x0;return!0x1;}(_0x223700[0x0],_0x3e4e9e[0x0]))return!0x1;const _0x3f491e=_0x3fb810(_0x223700[0x0][_0x503c('0x160')],_0x503c('0x20')),_0x440cea=_0x3fb810(_0x3e4e9e[0x0]['attributes'],_0x503c('0x20'));if(!_0x2cef5d(_0x3f491e,_0x440cea))return!0x1;return!!_0x223700[_0x503c('0x17c')](_0x449666=>_0x3e4e9e[_0x503c('0x21')](_0x560597=>_0x449666[_0x503c('0xe5')]()[_0x503c('0x9a')](_0x560597[_0x503c('0xe5')]())))&&_0x3e4e9e[_0x503c('0x17c')](_0x2d97a7=>_0x223700[_0x503c('0x21')](_0x22fe3e=>_0x2d97a7[_0x503c('0xe5')]()[_0x503c('0x9a')](_0x22fe3e['getFirstRange']())));}}[_0x503c('0xdd')](_0xc345f0){const _0x2b0e6c=Array['from'](_0xc345f0),_0x2471ba=this[_0x503c('0x4f')]({'skipNotAttached':!0x0}),_0x92269a=_0x2471ba[_0x503c('0xbd')](_0x1b40ba=>!_0xc345f0['has'](_0x1b40ba)),_0x1e22c2=new Map(_0x2b0e6c[_0x503c('0x89')](_0x511530=>[_0x511530,this['_suggestionFactory'][_0x503c('0xe2')](_0x511530[_0x503c('0x6d')],_0x511530['subType'],'join')])),_0x7908c3=new Map(_0x2471ba[_0x503c('0x89')](_0x1cd661=>[_0x1cd661,_0x1cd661[_0x503c('0x10b')]()]));for(let _0x2416f9=0x0;_0x2416f9<_0x2b0e6c['length'];_0x2416f9++){if(_0x33c64d(this,_0x2b0e6c[_0x2416f9],_0x2b0e6c,_0x2416f9+0x1))return!0x0;}for(let _0xea64c6=0x0;_0xea64c6<_0x2b0e6c[_0x503c('0x14a')];_0xea64c6++){if(_0x33c64d(this,_0x2b0e6c[_0xea64c6],_0x92269a,0x0))return!0x0;}return!0x1;function _0x33c64d(_0x5cb5d7,_0x1ea2fb,_0x24227f,_0x5c6317){for(let _0xb91181=_0x5c6317;_0xb91181<_0x24227f['length'];_0xb91181++){const _0x2ec986=_0x24227f[_0xb91181];if(_0x2ec986[_0x503c('0x6d')]!==_0x1ea2fb[_0x503c('0x6d')]||_0x2ec986[_0x503c('0xb3')]['id']!==_0x1ea2fb[_0x503c('0xb3')]['id']||_0x2ec986[_0x503c('0x51')]!==_0x1ea2fb[_0x503c('0x51')])continue;if(!Gt(_0x1ea2fb,_0x2ec986))continue;if(_0x503c('0x5')==_0x1ea2fb[_0x503c('0x6d')]&&_0x1ea2fb['data'][_0x503c('0xe6')]!=_0x2ec986[_0x503c('0xe7')][_0x503c('0xe6')])continue;if(_0x503c('0x5')==_0x1ea2fb[_0x503c('0x6d')]&&_0x5cb5d7[_0x503c('0x9')](_0x1ea2fb['data'][_0x503c('0x4d')]))continue;if('formatBlock'==_0x1ea2fb['type']){const _0x39be8e=_0x5cb5d7[_0x503c('0x49')][_0x503c('0x17f')],_0x1fe042=_0x1ea2fb[_0x503c('0x5a')]();if(_0x1fe042&&(_0x39be8e[_0x503c('0x149')]['isObject'](_0x1fe042)||_0x39be8e[_0x503c('0x149')][_0x503c('0x132')](_0x1fe042)))continue;}const _0xf305d0=_0x1e22c2[_0x503c('0x141')](_0x1ea2fb),_0x4c7e64=_0x7908c3[_0x503c('0x141')](_0x1ea2fb),_0x20923a=_0x7908c3['get'](_0x2ec986),_0x11f1d9=_0x1ea2fb[_0x503c('0xd1')]&&_0x1ea2fb[_0x503c('0xd1')]['length'],_0x59714f=_0x2ec986[_0x503c('0xd1')]&&_0x2ec986[_0x503c('0xd1')][_0x503c('0x14a')];if(!_0x11f1d9&&_0xf305d0(_0x20923a,_0x4c7e64))return _0x5cb5d7[_0x503c('0x9b')](_0x2ec986,_0x1ea2fb),_0x7908c3[_0x503c('0xb1')](_0x1ea2fb),!0x0;if(!_0x59714f&&_0xf305d0(_0x4c7e64,_0x20923a))return _0x5cb5d7[_0x503c('0x9b')](_0x1ea2fb,_0x2ec986),_0x7908c3[_0x503c('0xb1')](_0x2ec986),!0x0;}return!0x1;}}[_0x503c('0x9b')](_0x43755a,_0x328bc7){if(_0x43755a['isMultiRange'])for(const _0x566ad4 of _0x328bc7[_0x503c('0x10b')]())_0x43755a[_0x503c('0x83')](_0x566ad4);else{const _0x79f080=_0x328bc7[_0x503c('0xe5')]()['end'];this[_0x503c('0x13a')](_0x43755a,this[_0x503c('0xb4')][_0x503c('0x3e')](_0x43755a['getFirstRange']()['start'],_0x79f080));}_0x328bc7[_0x503c('0x106')]();}[_0x503c('0x4a')](_0x25f7e8,_0xe7d169){const _0x500757=_0x25f7e8[_0x503c('0x2e')](_0x503c('0x0'))||_0x25f7e8[_0x503c('0x2e')](_0x503c('0x5'))?_0x503c('0xe4'):_0x25f7e8[_0x503c('0x50')]();return _0x44e7d1(this[_0x503c('0x49')]['locale'],_0xe7d169+'_'+_0x500757+_0x503c('0xa1'));}[_0x503c('0x10d')](){const _0x47f09c=this['editor'];_0xcd904a(this[_0x503c('0xb4')],({left:_0x27e6f2,entered:_0x4fb86f})=>{const _0x5dea3f=[];for(const _0x5431d7 of _0x27e6f2){const {group:_0x14568a,type:_0x4ef4cb}=this[_0x503c('0xcd')](_0x5431d7[_0x503c('0x3a')]);if(_0x503c('0x68')===_0x14568a){_0x5dea3f[_0x503c('0x9d')](this[_0x503c('0x4a')](_0x4ef4cb,_0x503c('0x30')));break;}}for(const _0x32ead5 of _0x4fb86f){const {group:_0x50a450,type:_0x33d6f8}=this[_0x503c('0xcd')](_0x32ead5[_0x503c('0x3a')]);if(_0x503c('0x68')===_0x50a450){_0x5dea3f[_0x503c('0x9d')](this[_0x503c('0x4a')](_0x33d6f8,_0x503c('0x5c')));break;}}_0x5dea3f[_0x503c('0x14a')]&&_0x47f09c['ui'][_0x503c('0xa8')][_0x503c('0x44')](_0x503c('0xfe'),_0x5dea3f[_0x503c('0x2f')]('\x20'));});}[_0x503c('0xe0')](_0x2f87a6){if(null!==this[_0x503c('0x16a')])return!0x1;const _0x15a0e3=this['editor'],_0x5136da=_0x15a0e3[_0x503c('0x17f')][_0x503c('0x74')][_0x503c('0x6')][_0x503c('0xbc')]();if(0x0==_0x5136da['length'])return!0x1;const _0x40469f=[],_0x510fc1=_0x5136da[_0x503c('0xbd')](_0x968f22=>_0x503c('0x5')==_0x968f22[_0x503c('0x6d')]),_0x144f59=_0x5136da[_0x503c('0xbd')](_0x58d313=>_0x503c('0x8d')==_0x58d313[_0x503c('0x6d')]&&_0x503c('0xf0')!=_0x58d313[_0x503c('0x3a')]),_0x25013d=_0x5136da[_0x503c('0xbd')](_0x5316bc=>_0x503c('0x41')==_0x5316bc[_0x503c('0x6d')]&&_0x503c('0xf0')!=_0x5316bc[_0x503c('0x3a')]);for(const _0xdf309c of _0x510fc1)_0x40469f['push']({'key':_0xdf309c['attributeKey'],'newValue':_0xdf309c[_0x503c('0x7f')],'oldValue':_0xdf309c[_0x503c('0x148')],'range':_0x2372cc(_0xdf309c[_0x503c('0x8')])});for(const _0x45a11e of _0x144f59){const _0x1961e9=_0x25013d[_0x503c('0x62')](_0x2462c6=>_0x2462c6[_0x503c('0x111')][_0x503c('0x9a')](_0x45a11e[_0x503c('0x111')]));_0x1961e9&&_0x40469f[_0x503c('0x9d')]({'key':_0x503c('0xeb'),'newValue':_0x45a11e['name'],'oldValue':_0x1961e9[_0x503c('0x3a')],'range':_0x15a0e3[_0x503c('0x17f')][_0x503c('0x17d')](_0x45a11e[_0x503c('0x111')]['nodeAfter'])});}return 0x0!=_0x40469f[_0x503c('0x14a')]&&this[_0x503c('0xa3')](_0x2f87a6,_0x40469f);function _0x2372cc(_0x5a8a7d){return null==_0x5a8a7d[_0x503c('0x47')]['nodeBefore']&&_0x5a8a7d[_0x503c('0x47')][_0x503c('0x1b')]==_0x5a8a7d['start'][_0x503c('0x16')]?Ot(_0x5a8a7d[_0x503c('0x33')][_0x503c('0x16')],_0x15a0e3[_0x503c('0x17f')]):_0x5a8a7d;}}[_0x503c('0x1c')](_0x573cba){let _0x566045=!0x1;const _0x4fdf02=this[_0x503c('0x49')][_0x503c('0x17f')][_0x503c('0x74')][_0x503c('0x6')][_0x503c('0x19')]()[_0x503c('0xbd')](_0xa47315=>_0xa47315[_0x503c('0xe7')][_0x503c('0x131')]&&_0xa47315[_0x503c('0x3a')]['startsWith'](_0x503c('0x13f')));for(const _0x4b39ee of _0x4fdf02){const {subType:_0x3823d2,id:_0x726042}=this['_splitMarkerName'](_0x4b39ee['name']),_0x2f29d8=_0x3823d2[_0x503c('0xc0')]('|')[0x0];for(const _0x2c543e of this[_0x503c('0x4f')]({'skipNotAttached':!0x0}))_0x2c543e['id']!=_0x726042&&_0x503c('0x5')==_0x2c543e[_0x503c('0x6d')]&&_0x2c543e[_0x503c('0xe7')]&&_0x2c543e[_0x503c('0xe7')][_0x503c('0x4d')]==_0x2f29d8&&_0x2c543e[_0x503c('0xe5')]()[_0x503c('0x116')](_0x4b39ee[_0x503c('0xe7')][_0x503c('0x131')])&&(this[_0x503c('0x32')](_0x2c543e,_0x4b39ee[_0x503c('0xe7')][_0x503c('0x131')],_0x573cba),_0x566045=!0x0);}return _0x566045;}[_0x503c('0x48')](_0x217f49){if(null!==this[_0x503c('0x16a')])return void _0x217f49();const _0x225435=this['editor'];this[_0x503c('0x16a')]=_0x225435['model']['document'][_0x503c('0x5f')],_0x217f49();const _0x44b4ea=new Map();for(const _0x2f3a08 of _0x225435[_0x503c('0x17f')]['document']['history'][_0x503c('0x57')](this[_0x503c('0x16a')]))if([_0x503c('0x156'),_0x503c('0x151'),'removeAttribute','changeAttribute']['includes'](_0x2f3a08[_0x503c('0x6d')])){const _0x3eeec6=_0x2f3a08[_0x503c('0xf9')],_0x4623cc=_0x44b4ea[_0x503c('0x141')](_0x3eeec6)||[];_0x4623cc[_0x503c('0x9d')](_0x2f3a08),_0x44b4ea['set'](_0x3eeec6,_0x4623cc);}this[_0x503c('0x16a')]=null;for(const [_0x3a3880,_0xed4142]of _0x44b4ea){const _0x219b5a=_0x4f6f54();_0x225435[_0x503c('0x17f')][_0x503c('0xea')](_0x3a3880,_0x262426=>{const _0x1e4023=[];for(const _0xf1eeb9 of _0xed4142){let _0x3143e2,_0x55738d,_0x298592,_0x5378ba;if('rename'==_0xf1eeb9[_0x503c('0x6d')]){const _0x46e61e=_0xf1eeb9;_0x3143e2=Ot(_0x46e61e[_0x503c('0x111')][_0x503c('0x16')],_0x225435[_0x503c('0x17f')]),_0x55738d=_0x503c('0xeb'),_0x298592=_0x46e61e['newName'],_0x5378ba=_0x46e61e['oldName'];}else{const _0x2167d7=_0xf1eeb9,_0x233516=this[_0x503c('0x9')](_0x2167d7[_0x503c('0x4d')]),_0x3f228c=this[_0x503c('0xad')][_0x503c('0x9e')](_0x2167d7[_0x503c('0x4d')]);if(!_0x233516&&!_0x3f228c)continue;_0x3143e2=_0x233516?Ot(_0x2167d7[_0x503c('0x8')][_0x503c('0x33')][_0x503c('0x16')],_0x225435[_0x503c('0x17f')]):_0x2167d7[_0x503c('0x8')],_0x55738d=_0x2167d7[_0x503c('0x4d')],_0x298592=_0x503c('0x13e')==_0xf1eeb9[_0x503c('0x6d')]?void 0x0:_0x2167d7[_0x503c('0xc7')],_0x5378ba=_0x2167d7[_0x503c('0xe6')];}this[_0x503c('0x6b')](_0x3143e2,_0x55738d,_0x5378ba,_0x298592,{'groupId':_0x219b5a}),_0x1e4023['push']({'range':_0x3143e2,'key':_0x55738d,'newValue':_0x298592,'oldValue':_0x5378ba});}this[_0x503c('0xa3')](_0x262426,_0x1e4023);});}}[_0x503c('0xa3')](_0xf8a0ea,_0xac212e){if(0x0==_0xac212e[_0x503c('0x14a')])return!0x1;let _0x8a8953=!0x1;for(const _0x518f9a of _0xac212e){const _0x5eccde=this[_0x503c('0xe1')](_0x518f9a[_0x503c('0x8')],_0x503c('0x5'))[_0x503c('0xbd')](_0x38ab5e=>!_0x38ab5e[_0x503c('0x7e')][_0x503c('0x133')])[_0x503c('0x89')](_0xe4912d=>_0xe4912d[_0x503c('0x68')]),_0x431750=_0x1ed8f7({'newValue':_0x518f9a[_0x503c('0xc7')]});_0x5eccde[_0x503c('0xbd')](_0x4a46b4=>{const [_0xbcde20,_0x4743d8]=_0x4a46b4[_0x503c('0x51')][_0x503c('0xc0')]('|');return _0xbcde20==_0x518f9a[_0x503c('0x4d')]&&_0x4743d8!=_0x431750;})[_0x503c('0x17a')](_0x3aebf8=>{this[_0x503c('0x32')](_0x3aebf8,_0x518f9a['range'],_0xf8a0ea),_0x8a8953=!0x0;});}return _0x8a8953;}[_0x503c('0x32')](_0x5c8027,_0x33bef2,_0x120f55){const _0x3f45da=_0x5c8027[_0x503c('0xe5')]()[_0x503c('0x12')](_0x33bef2);0x0!==_0x3f45da[_0x503c('0x14a')]?0x1!==_0x3f45da['length']?this[_0x503c('0x120')](_0x5c8027,_0x33bef2[_0x503c('0x33')],_0x33bef2[_0x503c('0x47')]):this[_0x503c('0x13a')](_0x5c8027,_0x3f45da[0x0]):_0x120f55[_0x503c('0xac')](_0x5c8027[_0x503c('0x126')]());}}class Bt{constructor(_0x34a3b7){this['_editor']=_0x34a3b7,this[_0x503c('0xb4')]=_0x34a3b7['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this[_0x503c('0x54')]();}[_0x503c('0x105')](_0x843a8b,_0x409c6e,_0x109a41,_0x472129,_0x518ea9,_0x34aa22){return new _0x311241(this[_0x503c('0xb4')],{'type':_0x843a8b,'subType':_0x409c6e,'id':_0x109a41,'author':_0x472129,'creator':_0x472129,'attributes':_0x518ea9,'onAttributesChange':_0x34aa22,'onAccept':(..._0x781e3)=>this[_0x503c('0xe2')](_0x843a8b,_0x409c6e,_0x503c('0xf2'))(..._0x781e3),'onDiscard':(..._0x52d8c1)=>this[_0x503c('0xe2')](_0x843a8b,_0x409c6e,_0x503c('0x1d'))(..._0x52d8c1)});}[_0x503c('0x173')](_0xb216fa,_0x303c47,_0x274598,_0x3ec007){const _0x4021a7=_0xb216fa+':'+_0x303c47+':'+_0x274598;this[_0x503c('0x27')][_0x503c('0x7b')](_0x4021a7,_0x3ec007);}['getSuggestionCallback'](_0x21d319,_0x5c7020,_0x21f700){const _0x1a014a=_0x21d319+':'+_0x5c7020+':'+_0x21f700;return this[_0x503c('0x27')][_0x503c('0x141')](_0x1a014a)||this['_defaultCallbacks']['get'](_0x21d319+':'+_0x21f700);}[_0x503c('0x54')](){const _0x480631=()=>!0x1,_0x495dd3=_0x2d4030=>{_0x2d4030[_0x503c('0x61')]((_0x472c95,_0x530ec5)=>_0x472c95[_0x503c('0x33')][_0x503c('0x22')](_0x530ec5[_0x503c('0x33')])?0x1:-0x1),this[_0x503c('0xb4')]['change'](_0x278e5f=>{for(const _0x2de830 of _0x2d4030){let _0x46d91a;_0x46d91a=_0x2de830[_0x503c('0x47')]['isAtEnd']&&_0x2de830['end'][_0x503c('0x1b')]==_0x2de830['start'][_0x503c('0x16')]?_0x278e5f[_0x503c('0x11d')](_0x2de830['start']['nodeAfter'],'on'):_0x278e5f[_0x503c('0x11d')](_0x2de830),this[_0x503c('0xb4')]['deleteContent'](_0x46d91a,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x19f1f3=(_0x2f11a7,_0x2f5aaf)=>{_0x2f5aaf&&this[_0x503c('0xb4')][_0x503c('0x127')](_0x4f1045=>{const {commandName:_0x295788,commandParams:_0x4644da=[]}=_0x2f5aaf,_0x205c3c=_0x2f11a7['map'](_0xc37757=>(xt(_0xc37757)&&(_0xc37757=this['_model'][_0x503c('0x3e')](_0xc37757[_0x503c('0x47')])),_0xc37757))[_0x503c('0xbd')](_0x22dd74=>_0x503c('0x4b')!==_0x22dd74[_0x503c('0x9f')]['rootName']);if(_0x205c3c[_0x503c('0x14a')]<0x1)return;const _0x1ca927=Array[_0x503c('0x11')](this['_model'][_0x503c('0x74')]['selection'][_0x503c('0x10b')]())['map'](_0x20e8fb=>_0x45f9be[_0x503c('0xa')](_0x20e8fb));_0x4f1045[_0x503c('0x147')](_0x205c3c);for(const _0x2f4a51 of this[_0x503c('0x178')][_0x503c('0x154')][_0x503c('0x154')]())_0x2f4a51[_0x503c('0x76')]();_0x4644da[_0x503c('0x9d')]({'forceDefaultExecution':!0x0}),this[_0x503c('0x178')]['execute'](_0x295788,..._0x4644da);const _0x418794=_0x1ca927[_0x503c('0xbd')](_0x1e1f31=>'$graveyard'!=_0x1e1f31[_0x503c('0x9f')][_0x503c('0x1f')]);_0x418794[_0x503c('0x14a')]>0x0&&_0x4f1045['setSelection'](_0x418794);for(const _0x1e201b of _0x1ca927)_0x1e201b[_0x503c('0xc9')]();});},_0x253e09=(_0x3af13b,_0x488a8e)=>0x1==_0x3af13b[_0x503c('0x14a')]&&0x1==_0x488a8e[_0x503c('0x14a')]&&_0x3af13b[0x0][_0x503c('0x47')]['isEqual'](_0x488a8e[0x0][_0x503c('0x33')]),_0x1eefff=(_0x5be36f,_0x149633,_0x221d95,_0x430719)=>Vt(_0x5be36f,_0x149633,_0x221d95,_0x430719,this['_model'])?[_0x5be36f,_0x149633]:Vt(_0x149633,_0x5be36f,_0x430719,_0x221d95,this[_0x503c('0xb4')])?[_0x149633,_0x5be36f]:null;this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0x139'),_0x480631),this[_0x503c('0x169')]['set'](_0x503c('0x46'),_0x495dd3),this[_0x503c('0x169')][_0x503c('0x7b')]('insertion:join',_0x253e09),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0xb9'),_0x1eefff),this[_0x503c('0x169')][_0x503c('0x7b')]('deletion:accept',_0x495dd3),this[_0x503c('0x169')]['set'](_0x503c('0x37'),_0x480631),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0x108'),_0x253e09),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0xf3'),_0x1eefff),this[_0x503c('0x169')]['set']('formatInline:accept',_0x19f1f3),this['_defaultCallbacks'][_0x503c('0x7b')](_0x503c('0x53'),_0x480631),this[_0x503c('0x169')]['set'](_0x503c('0x12f'),_0x253e09),this[_0x503c('0x169')][_0x503c('0x7b')]('formatInline:chain',_0x480631),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0x16e'),_0x19f1f3),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0x36'),_0x480631),this[_0x503c('0x169')]['set'](_0x503c('0x34'),_0x253e09),this[_0x503c('0x169')][_0x503c('0x7b')](_0x503c('0xd3'),_0x480631),this[_0x503c('0x169')][_0x503c('0x7b')]('attribute:accept',_0x480631),this['_defaultCallbacks'][_0x503c('0x7b')](_0x503c('0x12c'),(_0x44e0a9,_0x1b4e43)=>{if(!_0x1b4e43)return;const _0x4d1dad=this['_editor'][_0x503c('0x15')][_0x503c('0x141')](p);this['_model'][_0x503c('0x127')](_0x1e7efa=>{if(_0x503c('0xeb')==_0x1b4e43[_0x503c('0x4d')])for(const _0xf56e1e of _0x44e0a9){const _0x1f0e57=_0xf56e1e[_0x503c('0x33')][_0x503c('0x16')],_0xb61b81=_0x1b4e43['oldValue'];_0x1e7efa[_0x503c('0x156')](_0x1f0e57,_0xb61b81);}else{if(_0x4d1dad[_0x503c('0x9')](_0x1b4e43[_0x503c('0x4d')]))for(const _0x6711c1 of _0x44e0a9)void 0x0!==_0x1b4e43[_0x503c('0xe6')]?_0x1e7efa[_0x503c('0xba')](_0x1b4e43[_0x503c('0x4d')],_0x1b4e43['oldValue'],_0x6711c1['start'][_0x503c('0x16')]):_0x1e7efa['removeAttribute'](_0x1b4e43[_0x503c('0x4d')],_0x6711c1['start'][_0x503c('0x16')]);else for(const _0x1b8e4f of _0x44e0a9)_0x1b4e43[_0x503c('0xe6')]?_0x1e7efa['setAttribute'](_0x1b4e43[_0x503c('0x4d')],_0x1b4e43['oldValue'],_0x1b8e4f):_0x1e7efa['removeAttribute'](_0x1b4e43[_0x503c('0x4d')],_0x1b8e4f);}});}),this['_defaultCallbacks']['set'](_0x503c('0x65'),_0x253e09);}}function Tt(_0x4c5c6e,_0x248e52,_0x1e9141){for(const _0x124d9b of _0x248e52[_0x503c('0x1b')][_0x503c('0x166')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x124d9b[_0x503c('0x9f')]==_0x124d9b)return!0x1;if(!_0x1e9141['containsItem'](_0x124d9b))return!0x1;if(_0x4c5c6e[_0x503c('0xd8')](_0x124d9b)||_0x4c5c6e[_0x503c('0x132')](_0x124d9b))return!0x0;}return!0x1;}function xt(_0x3ded8f){return _0x3ded8f[_0x503c('0x47')][_0x503c('0x1b')]==_0x3ded8f[_0x503c('0x33')][_0x503c('0x16')]&&_0x3ded8f[_0x503c('0x47')][_0x503c('0x14')];}function Et(_0x2555a2,_0x48946c,_0x1fe56d,_0x1763ea){const _0xb9484f=_0x32184d=>!_0x32184d[_0x503c('0x17')]['is'](_0x503c('0xf'))&&!_0x1763ea[_0x503c('0xd8')](_0x32184d[_0x503c('0x17')]),_0x430130=_0x2555a2[_0x503c('0x33')]['getLastMatchingPosition'](_0xb9484f),_0x2c681f=_0x2555a2[_0x503c('0x47')][_0x503c('0x104')](_0xb9484f,{'direction':_0x503c('0x157')});return(!_0x2555a2[_0x503c('0x33')][_0x503c('0x9a')](_0x430130)||!_0x2555a2['end'][_0x503c('0x9a')](_0x2c681f))&&(_0x430130[_0x503c('0x22')](_0x2c681f)?_0x1fe56d[_0x503c('0x66')](_0x48946c,{'range':_0x1fe56d[_0x503c('0x3e')](_0x430130,_0x2c681f)}):_0x1fe56d[_0x503c('0xac')](_0x48946c),!0x0);}function Rt(_0xb439e7){return _0x1ed8f7(_0xb439e7);}function Ut(_0x2c852a){const _0xba54c1=_0x2c852a['start']['nodeAfter'];return _0xba54c1&&_0xba54c1['is'](_0x503c('0xa0'));}function Ot(_0x4e7a04,_0x4b991e){const _0x281df9=_0x4b991e['schema'][_0x503c('0xd8')](_0x4e7a04)||_0x4b991e[_0x503c('0x149')][_0x503c('0xc')](_0x4e7a04);return _0x4b991e['createRange'](_0x4b991e[_0x503c('0xdb')](_0x4e7a04,_0x503c('0x78')),_0x281df9?_0x4b991e[_0x503c('0xc4')](_0x4e7a04):_0x4b991e[_0x503c('0xdb')](_0x4e7a04,_0x503c('0x47')));}function Vt(_0x33d42b,_0x4d9e79,_0x2b62ac,_0x28ea3b,_0x49e55d){if(!Gt(_0x33d42b,_0x4d9e79))return!0x1;if(_0x2b62ac[_0x503c('0x47')][_0x503c('0x9a')](_0x28ea3b['start']))return!0x0;if(_0x33d42b[_0x503c('0x6d')]!=_0x4d9e79[_0x503c('0x6d')])return!0x1;if(!_0x2b62ac[_0x503c('0x47')][_0x503c('0x86')](_0x28ea3b['start']))return!0x1;const _0x325f1d=_0x49e55d[_0x503c('0x3e')](_0x2b62ac[_0x503c('0x47')],_0x28ea3b['start'])[_0x503c('0x112')]();for(const _0xff794a of _0x325f1d)if([_0x503c('0x16b'),_0x503c('0x28')][_0x503c('0x6e')](_0xff794a[_0x503c('0x6d')])&&_0x49e55d[_0x503c('0x149')][_0x503c('0x132')](_0xff794a[_0x503c('0x17')]))return!0x1;return!0x0;}function Gt(_0x1897b0,_0x47068c){return!(!_0x1897b0['_isDataLoaded']||!_0x47068c['_isDataLoaded'])&&_0x2cef5d(_0x1897b0[_0x503c('0x160')],_0x47068c[_0x503c('0x160')]);}function Ft(_0x74b15e,_0x3a0eb8){const _0xf2eaeb=Pt(_0x74b15e['attributes']),_0x4a5fcc=Pt(_0x3a0eb8);if(!_0x74b15e[_0x503c('0x8a')])return!0x1;for(const _0x1727c4 of Object['keys'](_0x4a5fcc))if(!_0x2cef5d(_0xf2eaeb[_0x1727c4],_0x4a5fcc[_0x1727c4]))return!0x1;return!0x0;}function Pt(_0x5798ba){const _0xed386e=Object[_0x503c('0x6c')]({},_0x5798ba);return delete _0xed386e[_0x503c('0x2a')],delete _0xed386e['tablePasteChainId'],_0xed386e;}function Lt(_0x2effb3){return _0x503c('0x5')==_0x2effb3[_0x503c('0x6d')]?_0x2effb3[_0x503c('0x51')][_0x503c('0xc0')]('|')[0x0]:null;}
|