@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231217.0 → 0.0.0-nightly-20231219.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "0.0.0-nightly-20231217.0",
3
+ "version": "0.0.0-nightly-20231219.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -40,8 +40,8 @@
40
40
  "CHANGELOG.md"
41
41
  ],
42
42
  "dependencies": {
43
- "ckeditor5": "0.0.0-nightly-20231217.0",
44
- "ckeditor5-collaboration": "0.0.0-nightly-20231217.0",
43
+ "ckeditor5": "0.0.0-nightly-20231219.0",
44
+ "ckeditor5-collaboration": "0.0.0-nightly-20231219.0",
45
45
  "lodash-es": "4.17.21"
46
46
  },
47
47
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e7f=['$textProxy','deletion:accept','splice','comments','unbind','_addSuggestionMarker','_getSuggestionData','length','createElement','_descriptionFactory','getAllAdjacentSuggestions','keys','isAtEnd','dataDowncast','formatInline:discard','range','author','formatBlock:chain','forceDefaultExecution','elementToElement','deletion','createPositionBefore','default','targetPosition','then','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.','PENDING_ACTION_SUGGESTION','data-suggestion','bindElementToMarker','formatInline:join','set','markerName','isDocumentOperation','removeClass','isUndo','createRange','FORMATTING','formatBlock','formatInline:','getSuggestions','change','some','_blockAttributeKeys','getUser','getChangedMarkers','getWalker','toViewElement','head','suggestion-type','removeMarkers','acceptAllSuggestions','commentThread','schema','commands','upcast','filter','fromRange','nodeAfter','ck-suggestion-marker-formatBlock','getCustomProperty','rethrowUnexpectedError','markInlineFormat','execute','insertion:chain','_editor','add','includes','newRange','$elementName','containsRange','authoredAt','requires','accepted','containsPosition','_isDataLoaded','startsWith','enableReadOnlyMode','isSelectable','config','enqueueChange','ck-suggestion-marker-','markAttributeChange','move','PendingActions','next','_saved','suggestionChanged','multi','_reduceSuggestionAttributeRange','parent','createPositionAfter','consumable','define','insertContent','subType','trackChangesCommand','getDifference','markerToData','_onDiscard','getCommentThread','formatGroupId','deletion:chain','markers','skipNestingCheck','attribute:discard','registerCustomCallback','acceptSuggestion','chain','addMarkerName','setAttribute','setTo','_enabledCommands','howMany','isObject','updateMarker','low','insertion:join','options','nodeBefore','key','getRanges','_splitMarkerName','newValue','rename','enableCommand','return','_processAttributeChanges','join','detach','getChanges','containsItem','buildSuggestion','isLimit','ENTER','applyOperation','toJSON','clear','has','creator','highest','notReady','marker-count','suggestion:attribute:','get','isAfter','_registerDefaultCallbacks','batch','position','_refreshSuggestionsChain','fire','createPositionAt','track-changes-user-not-found','getAttribute','_isForcedDefaultExecutionBlock','hasComments','attribute:','oldName','attributes','getNearestSelectionRange','formatInline:accept','_adapter','ck-suggestion-marker--active','_handleNewSuggestionMarker','from','_reduceExistingSuggestions','attribute','CommentsRepository','suggestionUnloaded','_setSuggestionRange','rejected','track-changes-suggestion-data-mismatch','addComment','error-saving-suggestion-data-suggestion-discarded','authorName','adapter','getRange','insert','format','catch','updateSuggestion','getShiftedBy','activeMarkers','attribute:join','formatBlock:accept','type','formatInline','groupId','unbindElementFromMarkerName','getSuggestion','external:','markerNameToElements','isInContent','_removeSuggestion','getLastMatchingPosition','_model','_addThreadToSuggestion','markInsertion','elementEnd','_registerBlockAttribute','end','values','removed','Users','discardSuggestion','change:_saved','writer','addAttribute','newName','_suggestions','_trackFormatChanges','_findSuggestions','documentSelection','attributeOldValue','delete','pluginName','lowest','stop','createSelection','consume','track-changes-suggestion-not-found','backward','containerElement','pop','_createSuggestion','discard','addMarker:suggestion:formatBlock','collaboration.channelId','previous','@external','differ','deletion:join','removeMarker','$text','getAncestors','insertion:discard','split','push','for','before','version','oldRange','suggestion','find','locale','open','_recordAttributeChanges','removeMarker:suggestion:formatBlock','reconvertMarker','isTouching','multipleBlocks','$graveyard','addHighlight','deleteContent','splitPosition','_getAuthorFromId','editor','_refreshAttributeSuggestionsChain','deletion:discard','fromCharCode','markBlockFormat','LEAVE','conversion','size','rootName','getIntersection','addMarker:suggestion:attribute','dataReady','createdAt','markerReady','substr','remove','tablePasteChainId','originalSuggestionId','ready','isExternal','markMultiRangeBlockFormat','listenTo','_mergeNestedSuggestions','insertion:','_joinSuggestions','removeAttribute','markMultiRangeDeletion','attribute:accept','_defaultCallbacks','_isBlockAttribute','normal','suggestionLoaded','isAtStart','addRange','name','isInsideObject','model','isBlock','containsRangeInObject','getSuggestionCallback','trackChanges.mergeNestedSuggestions','discardAllSuggestions','isLocal','_customCallbacks','track-changes-command-not-found','addUser','stopListening','addMarker','_setSuggestionData','mapper','oldValue','plugins','insertion:accept','forward','every','acceptSelectedSuggestions','isNextTo','_inlineAttributeKeys','_getExternalAuthor','changeAttribute','trackChanges','moveTargetPosition','toUpperCase','addSuggestionData','_processAttributeSuggestions','_commentsRepository','accept','forEach','refresh','isIntersecting','formatBlock:discard','_suggestionState','_updateSuggestionData','sort','addClass','isOwn','isCollapsed','_checkSuggestionCorrectness','data','isMultiRange','_SUGGESTION_ANNOUNCEMENT','ck-suggestion-marker','getContainedElement','insertion','trackChanges.trackFormatChanges','getFirstMarker','addCommentThread','high','formatInline:chain','setSelection','formatBlock:','root','never','registerPostFixer','_suggestionFactory','showSuggestionHighlights','attributeNewValue','dataToMarker','editingDowncast','getFirstRange','addSuggestion','_cutOutSuggestionMarker','assign','_recordAttributeSuggestionsFromVersion','warn','always','isIntersectingWithRange','after','start','commandName','_breakSuggestionMarker','value','getMultiRangeId','map','editing','announce','item','markerToHighlight','_joinWithAdjacentSuggestions','isBefore','hasSuggestion','deletion:','_getMarkerAnnouncementText','isEqual','_rangeIsInLocalUserInsertion','document','group','selection','suggestion:'];(function(_0x293190,_0x4e7f9c){const _0x461938=function(_0x4e1571){while(--_0x4e1571){_0x293190['push'](_0x293190['shift']());}};_0x461938(++_0x4e7f9c);}(_0x4e7f,0x6e));const _0x4619=function(_0x293190,_0x4e7f9c){_0x293190=_0x293190-0x0;let _0x461938=_0x4e7f[_0x293190];return _0x461938;};import{Plugin as _0x539668,PendingActions as _0x295f51}from'ckeditor5/src/core.js';import{LiveRange as _0x5794cd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x520d16,uid as _0x2269fc,priorities as _0xfe3ed6,logWarning as _0x30b529}from'ckeditor5/src/utils.js';import{toWidget as _0x17d450}from'ckeditor5/src/widget.js';import{Users as _0x103325,hashObject as _0x553bcb,surroundingMarkersDetector as _0x18ed74}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x39d803 from'./commands/trackchangescommand.js';import _0x19fe5a from'./commands/acceptsuggestioncommand.js';import _0x29381c from'./commands/discardsuggestioncommand.js';import _0x298210 from'./commands/executeonallsuggestionscommand.js';import _0x49e277 from'./commands/executeonselectedsuggestionscommand.js';import _0x3f8809 from'./suggestion.js';import _0x44f64a from'./suggestiondescriptionfactory.js';import _0x49d50d from'./integrations/aiassistant.js';import _0xf35876 from'./integrations/alignment.js';import _0x25d13b from'./integrations/basicstyles.js';import _0xc4b252 from'./integrations/blockquote.js';import _0xdb6f10 from'./integrations/ckbox.js';import _0x5d891d from'./integrations/codeblock.js';import _0x3df7ef from'./integrations/comments.js';import _0x40a156 from'./integrations/deletecommand.js';import _0x586f2a from'./integrations/documentlist.js';import _0x1c11db from'./integrations/documentlistproperties.js';import _0x2ba950 from'./integrations/entercommand.js';import _0x2614cf from'./integrations/findandreplace.js';import _0x30f5ed from'./integrations/font.js';import _0x5d0bf9 from'./integrations/formatpainter.js';import _0x252e56 from'./integrations/heading.js';import _0x215f7f from'./integrations/highlight.js';import _0xb2f98f from'./integrations/horizontalline.js';import _0x17388d from'./integrations/htmlembed.js';import _0xee3e24 from'./integrations/image.js';import _0x307a20 from'./integrations/imagereplace.js';import _0x320d04 from'./integrations/imagestyle.js';import _0x4a4a90 from'./integrations/importword.js';import _0x299cc8 from'./integrations/indent.js';import _0x321f2f from'./integrations/inputcommand.js';import _0x3d9a4e from'./integrations/link.js';import _0x1b6b69 from'./integrations/list.js';import _0x11e3b7 from'./integrations/listproperties.js';import _0xbb074a from'./integrations/mediaembed.js';import _0x6290cd from'./integrations/mention.js';import _0x18c9c from'./integrations/pagebreak.js';import _0x3654ed from'./integrations/paragraph.js';import _0x857955 from'./integrations/removeformat.js';import _0x4c3f4d from'./integrations/restrictededitingmode.js';import _0x4bdd08 from'./integrations/shiftentercommand.js';import _0x7772d from'./integrations/standardeditingmode.js';import _0x6ff07 from'./integrations/style.js';import _0x33939b from'./integrations/table.js';import _0x5740fc from'./integrations/tablemergesplit.js';import _0x2472f8 from'./integrations/tableheadings.js';import _0x42d77d from'./integrations/tableclipboard.js';import _0x4ffba7 from'./integrations/tablecolumnresize.js';import _0x5606c5 from'./integrations/template.js';import _0x2f4779 from'./integrations/tableofcontents.js';import _0x484695 from'./integrations/title.js';import _0x4a2266 from'./integrations/undo.js';import _0x45da9f from'./integrations/tablecaption.js';import _0x318849 from'./integrations/tableproperties.js';import{getTranslation as _0x2517b4}from'./utils/common-translations.js';import{isEqual as _0x49ed37,omit as _0x130978}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x539668{static get[_0x4619('0x159')](){return['CommentsRepository',_0x103325,_0x295f51,_0x49d50d,_0xf35876,_0x25d13b,_0xc4b252,_0xdb6f10,_0x5d891d,_0x3df7ef,_0x40a156,_0x586f2a,_0x1c11db,_0x2ba950,_0x2614cf,_0x30f5ed,_0x5d0bf9,_0x252e56,_0x215f7f,_0xb2f98f,_0x17388d,_0xee3e24,_0x320d04,_0x307a20,_0x4a4a90,_0x299cc8,_0x321f2f,_0x3d9a4e,_0x1b6b69,_0x11e3b7,_0xbb074a,_0x6290cd,_0x18c9c,_0x3654ed,_0x857955,_0x4c3f4d,_0x4bdd08,_0x7772d,_0x6ff07,_0x33939b,_0x5740fc,_0x2472f8,_0x45da9f,_0x42d77d,_0x4ffba7,_0x2f4779,_0x318849,_0x5606c5,_0x484695,_0x4a2266];}static get[_0x4619('0x68')](){return'TrackChangesEditing';}constructor(_0xb7039e){function _0xe9a072(_0x5afb8c){return _0x5afb8c['map'](_0x2649e3=>String[_0x4619('0x94')](_0x2649e3))[_0x4619('0x11')]('');}super(_0xb7039e),this['_recordAttributeSuggestionsFromVersion']=null,this[_0x4619('0x130')](_0x4619('0x47'),[]),this['on']('change:activeMarkers',(_0xfe3018,_0x2f5304,_0x25d32f,_0x3dfc7a)=>{this[_0x4619('0x54')][_0x4619('0x13a')](()=>{for(const _0xbde2e9 of[..._0x3dfc7a,..._0x25d32f])this['_model'][_0x4619('0x178')]['has'](_0xbde2e9)&&_0xb7039e[_0x4619('0x103')][_0x4619('0x89')](_0xbde2e9);});}),this[_0x4619('0x11b')]=new _0x44f64a(this[_0x4619('0x91')][_0x4619('0xb5')][_0x4619('0x146')],this[_0x4619('0x91')][_0x4619('0x85')]),this[_0x4619('0x32')]=null,this['_suggestionFactory']=new $t(this[_0x4619('0x91')]),this[_0x4619('0x62')]=new Map(),this['_commentsRepository']=_0xb7039e[_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x38')),this[_0x4619('0x1')]=new Set(),this[_0x4619('0x54')]=this[_0x4619('0x91')][_0x4619('0xb5')],this[_0x4619('0xd8')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x4619('0x13c')]=new Set(['$elementName']),this[_0x4619('0xca')]=new Set(),_0xb7039e[_0x4619('0x160')][_0x4619('0x16e')]('trackChanges.trackFormatChanges',_0x4619('0x128')),this[_0x4619('0x63')]=_0xb7039e['config'][_0x4619('0x21')](_0x4619('0xe5')),_0xb7039e[_0x4619('0x160')]['define'](_0x4619('0xb9'),!0x0),this[_0x4619('0xa7')]=_0xb7039e['config'][_0x4619('0x21')]('trackChanges.mergeNestedSuggestions'),this[_0x4619('0x171')]=new _0x39d803(_0xb7039e,this[_0x4619('0x1')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0xe9a072([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xe9a072([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x34]);}['init'](){const _0x247ec4=this[_0x4619('0x91')],_0x57a126=(_0x34fdc9,_0x9bc132)=>{if(_0x4619('0x37')!=_0x34fdc9)return _0x4619('0x162')+_0x34fdc9;const _0x45ffb0=_0x9bc132[_0x4619('0x7d')]('|')[0x0];return this[_0x4619('0xae')](_0x45ffb0)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';};_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')]('editingDowncast')[_0x4619('0x106')]({'model':_0x4619('0x83'),'view':_0x11e260=>{const {id:_0x40b63b,type:_0x42bd99,subType:_0xe1010d}=this[_0x4619('0xb')](_0x11e260[_0x4619('0x131')]),_0x5ed347=[_0x4619('0xe2'),_0x57a126(_0x42bd99,_0xe1010d)];let _0x26122b=0xbb8;return this['activeMarkers'][_0x4619('0x154')](_0x11e260[_0x4619('0x131')])&&(_0x5ed347[_0x4619('0x7e')](_0x4619('0x33')),_0x26122b=0xbc2),_0x4619('0x126')==_0x42bd99&&(_0x26122b+=0x5),{'classes':_0x5ed347,'attributes':{'data-suggestion':_0x40b63b},'priority':_0x26122b};}}),_0x247ec4[_0x4619('0x97')]['for'](_0x4619('0x11f'))[_0x4619('0x153')](_0x228e25=>{_0x228e25['on']('addMarker:suggestion',(_0x1ae272,_0x11ac2f,_0x5305c2)=>{if(!_0x5305c2['options'][_0x4619('0xf0')])return;const _0x220cc1=_0x11ac2f[_0x4619('0x105')];if(!_0x220cc1)return;const _0x16fe70=_0x5305c2['mapper'][_0x4619('0x140')](_0x220cc1);_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')][_0x4619('0x3')](_0x220cc1)&&_0x16fe70&&!_0x16fe70[_0x4619('0x14d')]('widget')&&_0x16fe70['is'](_0x4619('0x6f'))&&_0x17d450(_0x16fe70,_0x5305c2[_0x4619('0x5f')]);},{'priority':_0x4619('0xe8')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))[_0x4619('0x106')]({'model':'suggestion','view':(_0x1d6d45,_0xaf7cd7)=>{if(!_0xaf7cd7[_0x4619('0x7')][_0x4619('0xf0')])return null;const {type:_0x35561a,subType:_0x57b35a}=this[_0x4619('0xb')](_0x1d6d45[_0x4619('0x131')]);return{'classes':['ck-suggestion-marker',_0x57a126(_0x35561a,_0x57b35a)],'priority':0xbb8};}});const _0x4fb3be=({showActiveMarkers:_0x4823a2=!0x0,isAttributeSuggestion:_0xc81f69=!0x1}={})=>(_0x545286,_0x35a023,_0x46294b)=>{if(!_0x35a023[_0x4619('0x105')])return;const {id:_0x54dd8c}=this['_splitMarkerName'](_0x35a023[_0x4619('0x131')]);if(_0xc81f69){const _0x14ca2d=Pt(this[_0x4619('0x62')][_0x4619('0x21')](_0x54dd8c));if(!this[_0x4619('0xae')](_0x14ca2d))return;}if(_0x35a023[_0x4619('0x105')]['is'](_0x4619('0x110')))return void _0x46294b[_0x4619('0x16d')]['consume'](_0x35a023[_0x4619('0x105')],_0x545286[_0x4619('0xb3')]);const _0x177a47=_0x46294b[_0x4619('0xc2')][_0x4619('0x140')](_0x35a023[_0x4619('0x105')]);if(_0x35a023['item']['is']('element')&&_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')][_0x4619('0xb6')](_0x35a023[_0x4619('0x105')])&&!_0x177a47['getCustomProperty'](_0x4619('0x8d'))){_0x46294b[_0x4619('0x5f')][_0x4619('0xdb')]([_0x4619('0xe2'),'ck-suggestion-marker-formatBlock'],_0x177a47),_0x46294b[_0x4619('0x5f')][_0x4619('0x17f')](_0x4619('0x12d'),_0x54dd8c,_0x177a47),_0x46294b[_0x4619('0xc2')][_0x4619('0x12e')](_0x177a47,_0x35a023[_0x4619('0x131')]),_0x4823a2&&(this['activeMarkers'][_0x4619('0x154')](_0x35a023[_0x4619('0x131')])?_0x46294b[_0x4619('0x5f')][_0x4619('0xdb')](_0x4619('0x33'),_0x177a47):_0x46294b['writer']['removeClass'](_0x4619('0x33'),_0x177a47));for(const _0x427c99 of _0x247ec4[_0x4619('0xb5')]['createRangeIn'](_0x35a023[_0x4619('0x105')])['getItems']())_0x46294b[_0x4619('0x16d')]['consume'](_0x427c99,_0x545286[_0x4619('0xb3')]);_0x46294b[_0x4619('0x16d')][_0x4619('0x6c')](_0x35a023[_0x4619('0x105')],_0x545286[_0x4619('0xb3')]);}};_0x247ec4[_0x4619('0x97')]['for'](_0x4619('0x11f'))[_0x4619('0x153')](_0x2625b1=>{_0x2625b1['on'](_0x4619('0x73'),(_0x3d4071,_0x5332a7,_0x822ebb)=>{_0x822ebb[_0x4619('0x7')][_0x4619('0xf0')]&&_0x4fb3be({'showActiveMarkers':!0x1})(_0x3d4071,_0x5332a7,_0x822ebb);},{'priority':_0x4619('0x1d')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))['add'](_0x4e3473=>{_0x4e3473['on']('addMarker:suggestion:attribute',(_0x147ffb,_0x35832b,_0x47b724)=>{_0x47b724[_0x4619('0x7')][_0x4619('0xf0')]&&_0x4fb3be({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x147ffb,_0x35832b,_0x47b724);},{'priority':_0x4619('0x1d')});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x11f'))[_0x4619('0x173')]({'model':_0x4619('0x83'),'view':(_0x3f13d8,_0xd058a9)=>_0xd058a9[_0x4619('0x7')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x3f13d8[_0x4619('0x9f')](0xb)}}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x148'))[_0x4619('0x125')]({'view':{'name':_0x4619('0x83'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x95496c,{writer:_0x179d58})=>{let _0x390367=_0x4619('0x111')+_0x95496c[_0x4619('0x2a')](_0x4619('0x142'))+':'+_0x95496c['getAttribute']('id');return _0x95496c[_0x4619('0x2a')](_0x4619('0x1f'))&&(_0x390367+=':'+_0x95496c['getAttribute'](_0x4619('0x1f'))),_0x179d58[_0x4619('0x11a')]('$marker',{'data-name':_0x390367});}}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0x148'))[_0x4619('0xf2')]({'view':_0x4619('0x83')}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x2c9cdc=>{_0x2c9cdc['on']('addMarker:suggestion:formatBlock',_0x4fb3be(),{'priority':'high'});}),_0x247ec4[_0x4619('0x97')][_0x4619('0x7f')]('editingDowncast')[_0x4619('0x153')](_0x168e73=>{_0x168e73['on'](_0x4619('0x9b'),_0x4fb3be({'isAttributeSuggestion':!0x0}),{'priority':_0x4619('0xe8')});}),_0x247ec4['conversion'][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x3f67a6=>{_0x3f67a6['on'](_0x4619('0x88'),(_0x3602f8,_0xe8d1e0,_0x4202ea)=>{const _0x59cc55=_0x4202ea[_0x4619('0xc2')][_0x4619('0x50')](_0xe8d1e0[_0x4619('0x131')]);if(_0x59cc55)for(const _0x4ba8cf of _0x59cc55)_0x4ba8cf['getCustomProperty'](_0x4619('0x8d'))||(_0x4202ea[_0x4619('0x5f')][_0x4619('0x133')](['ck-suggestion-marker',_0x4619('0x14c'),_0x4619('0x33')],_0x4ba8cf),_0x4202ea[_0x4619('0x5f')][_0x4619('0xaa')](_0x4619('0x12d'),_0x4ba8cf),_0x4202ea['mapper'][_0x4619('0x4d')](_0x4ba8cf,_0xe8d1e0[_0x4619('0x131')]));},{'priority':'high'});}),_0x247ec4['conversion'][_0x4619('0x7f')](_0x4619('0xf3'))[_0x4619('0x153')](_0x1ef684=>{_0x1ef684['on']('removeMarker:suggestion:attribute',(_0x4c6c76,_0x345699,_0x562a7a)=>{const _0x2c7960=_0x562a7a[_0x4619('0xc2')][_0x4619('0x50')](_0x345699[_0x4619('0x131')]);if(!_0x2c7960)return;const {id:_0x450954}=this[_0x4619('0xb')](_0x345699[_0x4619('0x131')]),_0x43c758=Pt(this[_0x4619('0x62')][_0x4619('0x21')](_0x450954));if(this[_0x4619('0xae')](_0x43c758))for(const _0x146077 of _0x2c7960)_0x146077[_0x4619('0x14d')]('addHighlight')||(_0x562a7a[_0x4619('0x5f')][_0x4619('0x133')]([_0x4619('0xe2'),_0x4619('0x14c'),_0x4619('0x33')],_0x146077),_0x562a7a[_0x4619('0x5f')][_0x4619('0xaa')](_0x4619('0x12d'),_0x146077),_0x562a7a['mapper']['unbindElementFromMarkerName'](_0x146077,_0x345699[_0x4619('0x131')]));},{'priority':'high'});}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['registerPostFixer'](_0xbd8c7f=>{let _0x2b8c8d=!0x1;const _0x3f184c=Array[_0x4619('0x35')](_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')]['getChangedMarkers']()),_0x5cbf14=new Set();for(const {name:_0x1190f1,data:_0x1e6195}of _0x3f184c){const {group:_0x3cebd3,type:_0x434aa3,subType:_0x33ba60,id:_0xcb27e7}=this[_0x4619('0xb')](_0x1190f1);if(_0x4619('0x83')!==_0x3cebd3)continue;const _0x33aa04=this[_0x4619('0x62')][_0x4619('0x21')](_0xcb27e7);if(null!=_0x1e6195[_0x4619('0x155')]){'formatInline'==_0x434aa3&&(_0x2b8c8d=_0x2b8c8d||xt(_0x1e6195[_0x4619('0x155')],_0x1190f1,_0xbd8c7f,_0x247ec4['model'][_0x4619('0x146')]));const _0x182d03=_0x4619('0x37')==_0x434aa3&&this['_isBlockAttribute'](_0x33ba60[_0x4619('0x7d')]('|')[0x0]);if(_0x1e6195['newRange'][_0x4619('0xdd')]||_0x4619('0x8c')==_0x1e6195[_0x4619('0x155')][_0x4619('0xec')]['rootName']||_0x4619('0x137')==_0x434aa3&&!Rt(_0x1e6195[_0x4619('0x155')])||_0x182d03&&!Rt(_0x1e6195[_0x4619('0x155')])||_0x4619('0x126')==_0x434aa3&&!(!Tt(_0x1a15bc=_0x1e6195[_0x4619('0x155')])&&!function(_0x15c3f4){return _0x15c3f4[_0x4619('0xfd')][_0x4619('0x16b')]==_0x15c3f4['end'][_0x4619('0x8')]&&_0x15c3f4[_0x4619('0xfd')]['isAtEnd'];}(_0x1a15bc)))_0xbd8c7f[_0x4619('0x79')](_0x1190f1),_0x2b8c8d=!0x0;else{if(!_0x33aa04||!_0x33aa04[_0x4619('0x51')])continue;_0x5cbf14[_0x4619('0x153')](_0x33aa04);}}}var _0x1a15bc;return _0x5cbf14[_0x4619('0x98')]>0x0&&(_0x2b8c8d=!!this['_joinWithAdjacentSuggestions'](_0x5cbf14)||_0x2b8c8d),_0x2b8c8d;}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['registerPostFixer'](_0x36f070=>{let _0x58deeb=!0x1;for(const _0x4de82d of _0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')]['getChanges']())if('insert'==_0x4de82d[_0x4619('0x4a')])for(const _0x4833aa of this[_0x4619('0x62')][_0x4619('0x5a')]()){if(_0x4833aa[_0x4619('0xe0')]||!_0x4833aa[_0x4619('0x51')])continue;const _0x55b964=_0x4619('0x137')==_0x4833aa[_0x4619('0x4a')],_0x541315=Pt(_0x4833aa),_0x3faa30=_0x541315&&this[_0x4619('0xae')](_0x541315);if(!_0x55b964&&!_0x3faa30)continue;const _0xcc3279=_0x4833aa[_0x4619('0xf4')]();if(_0xcc3279[_0x4619('0xfd')][_0x4619('0x16b')]!=_0xcc3279['end'][_0x4619('0x16b')]&&!_0xcc3279[_0x4619('0x59')][_0x4619('0x11e')]){const _0x2a653a=_0x247ec4[_0x4619('0xb5')]['createPositionAt'](_0xcc3279[_0x4619('0xfd')][_0x4619('0x14b')],'end'),_0x45fb8a=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0xcc3279['start'],_0x2a653a);_0x36f070[_0x4619('0x4')](_0x4833aa[_0x4619('0xe6')](),{'range':_0x45fb8a}),_0x58deeb=!0x0;}}return _0x58deeb;}),_0x247ec4[_0x4619('0xb5')]['document']['registerPostFixer'](_0x4defe4=>this[_0x4619('0x10')](_0x4defe4)),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0xee')](_0x35f8f1=>!_0x35f8f1['batch']['isLocal']&&this[_0x4619('0xd1')](_0x35f8f1)),_0x247ec4[_0x4619('0xb5')][_0x4619('0x178')]['on']('update:suggestion',(_0x1625d0,_0x55a4c4,_0x13b4ea)=>{if(null==_0x13b4ea){const {id:_0x33e48e}=this[_0x4619('0xb')](_0x55a4c4[_0x4619('0xb3')]),_0x4a2b3d=this[_0x4619('0x62')][_0x4619('0x21')](_0x33e48e);_0x4a2b3d&&_0x4a2b3d[_0x4619('0x17e')](_0x55a4c4[_0x4619('0xb3')]);}}),_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')]['on']('change:data',()=>{const _0x1b305c=Array['from'](_0x247ec4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x77')][_0x4619('0x13e')]())['filter'](_0x4f327a=>_0x4619('0x83')===this['_splitMarkerName'](_0x4f327a[_0x4619('0xb3')])[_0x4619('0x10f')]);if(0x0===_0x1b305c[_0x4619('0x119')])return;_0x1b305c['sort']((_0x1ec8eb,_0x544b90)=>{const _0x42ecad=_0x1ec8eb[_0x4619('0xdf')][_0x4619('0x82')],_0x36c4e7=_0x544b90[_0x4619('0xdf')][_0x4619('0x82')];return null===_0x42ecad&&null===_0x36c4e7?0x0:null===_0x42ecad&&null!==_0x36c4e7?-0x1:null!==_0x42ecad&&null===_0x36c4e7?0x1:_0x42ecad[_0x4619('0xfd')][_0x4619('0x108')](_0x36c4e7[_0x4619('0xfd')])?-0x1:0x1;});const _0x3c8e25=new Set(),_0x4b979b=new Set();for(const {name:_0x4d7cf2,data:_0x2e0c90}of _0x1b305c){const {id:_0x2758c0}=this[_0x4619('0xb')](_0x4d7cf2);if(null===_0x2e0c90[_0x4619('0x82')]){const _0x5288b7=this['_handleNewSuggestionMarker'](_0x4d7cf2);_0x4b979b[_0x4619('0x153')](_0x5288b7);}else{const _0xdf3cf6=this[_0x4619('0x62')]['get'](_0x2758c0);null!==_0x2e0c90['newRange']||_0xdf3cf6['isInContent']?(_0x3c8e25[_0x4619('0x153')](_0xdf3cf6[_0x4619('0x141')]),_0x4b979b[_0x4619('0x153')](_0xdf3cf6)):this[_0x4619('0x52')](_0xdf3cf6);}}_0x4b979b[_0x4619('0x98')]>0x0&&this[_0x4619('0x26')](_0x4b979b);for(const _0x17d8b1 of _0x3c8e25)this['fire'](_0x4619('0x168'),_0x17d8b1);}),_0x247ec4['model']['on'](_0x4619('0x18'),(_0x13567e,_0x191bba)=>{const _0x64eaee=_0x191bba[0x0];if(!this[_0x4619('0x62')][_0x4619('0x98')])return;if(!_0x64eaee[_0x4619('0x132')])return;if(_0x64eaee['batch'][_0x4619('0x134')]||!_0x64eaee[_0x4619('0x24')][_0x4619('0xbb')])return;let _0x44730e,_0x3dd0d5;switch(_0x64eaee['type']){case _0x4619('0x42'):_0x44730e=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0x25')]),_0x3dd0d5=_0x44730e[_0x4619('0x46')](_0x64eaee[_0x4619('0x2')]);break;case _0x4619('0x7d'):_0x44730e=_0x247ec4['model'][_0x4619('0x28')](_0x64eaee[_0x4619('0x8f')]),_0x3dd0d5=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0xce')]);break;case _0x4619('0x164'):_0x44730e=_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x64eaee[_0x4619('0x129')]),_0x3dd0d5=_0x44730e['getShiftedBy'](_0x64eaee[_0x4619('0x2')]);break;default:return;}const _0x1a736b=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0x44730e,_0x3dd0d5);_0x247ec4[_0x4619('0xb5')]['change'](()=>{for(const {suggestion:_0x411dba,meta:_0xe6c852}of this['_findSuggestions'](_0x1a736b)){if(_0x411dba[_0x4619('0xe0')])continue;if('formatInline'==_0x411dba[_0x4619('0x4a')])continue;const _0x19dfc3=Pt(_0x411dba);if(_0x19dfc3&&this[_0x4619('0xae')](_0x19dfc3)&&_0x4619('0x7d')!=_0x64eaee[_0x4619('0x4a')])continue;const _0x196d4a=_0x411dba['data']&&_0x411dba[_0x4619('0xdf')][_0x4619('0x8b')];('formatBlock'!=_0x411dba[_0x4619('0x4a')]||_0x4619('0x7d')==_0x64eaee[_0x4619('0x4a')]&&!_0x196d4a)&&(_0xe6c852[_0x4619('0xb7')]||_0x4619('0xe4')==_0x411dba['type']&&_0xe6c852[_0x4619('0xdc')]||_0x411dba[_0x4619('0xf4')]()[_0x4619('0x157')](_0x1a736b)&&this[_0x4619('0xff')](_0x411dba,_0x44730e,_0x3dd0d5));}});},{'priority':_0x4619('0x69')}),_0x247ec4[_0x4619('0xb5')]['on'](_0x4619('0x8e'),(_0x1630fa,_0x1d3dd5)=>{const _0x1b1270=_0x1d3dd5[0x0],_0x24a4a9=_0x1d3dd5[0x1];if(_0x24a4a9&&_0x24a4a9[_0x4619('0x124')])return;if(this[_0x4619('0x2b')])return;if(!this[_0x4619('0x171')]['value'])return;if(_0x1b1270[_0x4619('0xdd')])return;const _0xae3de=_0x247ec4['model'][_0x4619('0x146')],{start:_0x157e92,end:_0x3ce7a5}=_0x1b1270[_0x4619('0xf4')](),_0x39efa8=_0x157e92[_0x4619('0x14b')]&&_0xae3de[_0x4619('0x16')](_0x157e92[_0x4619('0x14b')])?null:_0xae3de[_0x4619('0x30')](_0x157e92,_0x4619('0xc6')),_0x223b1e=_0x3ce7a5[_0x4619('0x8')]&&_0xae3de['isLimit'](_0x3ce7a5[_0x4619('0x8')])?null:_0xae3de['getNearestSelectionRange'](_0x3ce7a5,_0x4619('0x6e')),_0x140540=_0x247ec4['model']['createRange'](_0x39efa8?_0x39efa8[_0x4619('0xfd')]:_0x157e92,_0x223b1e?_0x223b1e[_0x4619('0x59')]:_0x3ce7a5);_0x247ec4[_0x4619('0xb5')][_0x4619('0x13a')](_0x383b39=>{this['markDeletion'](_0x140540);const _0x164200=_0x247ec4[_0x4619('0xb5')][_0x4619('0x146')]['getNearestSelectionRange'](_0x140540[_0x4619('0xfd')]);_0x1b1270['is'](_0x4619('0x65'))?_0x383b39[_0x4619('0xea')](_0x164200):_0x1b1270[_0x4619('0x0')](_0x164200);}),_0x1630fa[_0x4619('0x6a')]();},{'priority':_0xfe3ed6[_0x4619('0xaf')]+0xa}),_0x247ec4[_0x4619('0xb5')]['on']('insertContent',(_0x9f6279,_0x17f5b3)=>{const _0xcee488=_0x17f5b3[_0x17f5b3[_0x4619('0x119')]-0x1];_0xcee488&&_0xcee488[_0x4619('0x124')]||this[_0x4619('0x2b')]||this[_0x4619('0x171')][_0x4619('0x100')]&&(_0x247ec4[_0x4619('0xb5')]['change'](()=>{let _0x3173e1=_0x247ec4[_0x4619('0xb5')][_0x4619('0x16f')](_0x17f5b3[0x0],_0x17f5b3[0x1],_0x17f5b3[0x2],{'forceDefaultExecution':!0x0});if(!_0x3173e1)return;_0x9f6279[_0x4619('0xf')]=_0x3173e1['clone']();const _0x1b30df=_0x3173e1['end'][_0x4619('0x8')],_0x57127b=_0x247ec4['model'][_0x4619('0x146')];_0x1b30df&&_0x57127b[_0x4619('0xb6')](_0x1b30df)&&!_0x57127b['isObject'](_0x1b30df)&&(_0x3173e1=_0x247ec4[_0x4619('0xb5')][_0x4619('0x135')](_0x3173e1[_0x4619('0xfd')],_0x247ec4[_0x4619('0xb5')][_0x4619('0x28')](_0x1b30df,_0x4619('0x59')))),this[_0x4619('0x56')](_0x3173e1);}),_0x9f6279[_0x4619('0x6a')]());},{'priority':_0x4619('0xe8')}),this[_0x4619('0x91')][_0x4619('0x147')][_0x4619('0x153')](_0x4619('0xcd'),this[_0x4619('0x171')]),this['enableCommand'](_0x4619('0xcd'));const _0x11b438=new _0x19fe5a(_0x247ec4,this[_0x4619('0x62')]);_0x247ec4[_0x4619('0x147')][_0x4619('0x153')](_0x4619('0x17c'),_0x11b438),this[_0x4619('0xe')](_0x4619('0x17c'));const _0x5ece20=new _0x29381c(_0x247ec4,this[_0x4619('0x62')]);_0x247ec4[_0x4619('0x147')][_0x4619('0x153')]('discardSuggestion',_0x5ece20),this[_0x4619('0xe')](_0x4619('0x5d')),_0x247ec4[_0x4619('0x147')][_0x4619('0x153')](_0x4619('0x144'),new _0x298210(_0x247ec4,_0x11b438,this[_0x4619('0x62')])),this[_0x4619('0xe')](_0x4619('0x144')),_0x247ec4['commands']['add']('discardAllSuggestions',new _0x298210(_0x247ec4,_0x5ece20,this['_suggestions'])),this['enableCommand'](_0x4619('0xba')),_0x247ec4['commands']['add'](_0x4619('0xc8'),new _0x49e277(_0x247ec4,_0x11b438,this['_suggestions'])),this[_0x4619('0xe')]('acceptSelectedSuggestions'),_0x247ec4[_0x4619('0x147')][_0x4619('0x153')]('discardSelectedSuggestions',new _0x49e277(_0x247ec4,_0x5ece20,this[_0x4619('0x62')])),this[_0x4619('0xe')]('discardSelectedSuggestions');const _0x3c18a5=_0x247ec4[_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x38'));this[_0x4619('0xa6')](_0x3c18a5,_0x4619('0x3d'),(_0x39d73b,{threadId:_0x3123dd})=>{const _0x26c182=this[_0x4619('0x62')][_0x4619('0x21')](_0x3123dd);_0x26c182&&_0x26c182['commentThread']&&0x1===_0x26c182[_0x4619('0x145')][_0x4619('0x119')]&&this[_0x4619('0xd9')](_0x3123dd,{'hasComments':!0x0});},{'priority':'low'}),this[_0x4619('0xa6')](_0x3c18a5,'removeComment',(_0x35b3fb,{threadId:_0x5f4e89})=>{const _0x3ffd22=this[_0x4619('0x62')][_0x4619('0x21')](_0x5f4e89);_0x3ffd22&&_0x3ffd22['commentThread']&&!_0x3ffd22[_0x4619('0x145')][_0x4619('0x119')]&&this[_0x4619('0xd9')](_0x5f4e89,{'hasComments':!0x1});},{'priority':_0x4619('0x5')});}set['adapter'](_0x3ce6cb){if(this[_0x4619('0x32')])throw new _0x520d16('track-changes-adapter-already-set',this);this['_adapter']=_0x3ce6cb;}get[_0x4619('0x40')](){return this[_0x4619('0x32')];}[_0x4619('0x139')]({skipNotAttached:_0x2a77e9=!0x1,toJSON:_0x2669b8=!0x1}={}){const _0x29f5c7=[];for(const _0x1a40d0 of this[_0x4619('0x62')][_0x4619('0x5a')]())_0x2a77e9&&!_0x1a40d0[_0x4619('0x51')]||_0x29f5c7[_0x4619('0x7e')](_0x1a40d0);return _0x2669b8?_0x29f5c7[_0x4619('0x102')](_0x164fd6=>_0x164fd6[_0x4619('0x19')]()):_0x29f5c7;}[_0x4619('0x4e')](_0xc66461){const _0xcd88b4=this[_0x4619('0x62')][_0x4619('0x21')](_0xc66461);if(!_0xcd88b4)throw new _0x520d16(_0x4619('0x6d'),this);return _0xcd88b4;}[_0x4619('0x109')](_0x579faf){return this[_0x4619('0x62')][_0x4619('0x1b')](_0x579faf);}[_0x4619('0xd0')](_0x11d861){const {authorId:_0x5d91b6,id:_0x3f38c5,attributes:_0x350ea2}=_0x11d861,[_0x2b9afa,_0x47d021]=_0x11d861[_0x4619('0x4a')][_0x4619('0x7d')](':'),_0x2ed530=this[_0x4619('0x62')][_0x4619('0x21')](_0x3f38c5)||this[_0x4619('0x71')](_0x2b9afa,_0x47d021,_0x3f38c5,_0x5d91b6,_0x350ea2);if(this[_0x4619('0x55')](_0x2ed530),this[_0x4619('0xde')](_0x2ed530,_0x2b9afa,_0x47d021||null,_0x5d91b6),_0x2ed530[_0x4619('0x9d')]=_0x11d861[_0x4619('0x9d')],_0x2ed530[_0x4619('0x15c')]=!0x0,_0x350ea2&&_0x350ea2[_0x4619('0x76')]){const _0x1de742=_0x350ea2[_0x4619('0x76')],_0x2df053=this[_0x4619('0xcb')](_0x1de742[_0x4619('0x3f')]);_0x2ed530[_0x4619('0x158')]=_0x1de742['createdAt'],_0x2ed530[_0x4619('0x122')]=_0x2df053,_0x2ed530[_0x4619('0xa4')]=!0x0;}else _0x2ed530[_0x4619('0x158')]=_0x11d861[_0x4619('0x9d')];switch(_0x11d861['data']&&(_0x2ed530['data']=_0x11d861[_0x4619('0xdf')]),_0x11d861['attributes']&&(_0x2ed530[_0x4619('0x2f')]=_0x11d861[_0x4619('0x2f')]),this['_adapter']&&this[_0x4619('0x32')][_0x4619('0xf5')]||(_0x2ed530[_0x4619('0x167')]=!0x0),this['_suggestionState'][_0x4619('0x21')](_0x2ed530)){case _0x4619('0x1e'):this['_suggestionState'][_0x4619('0x130')](_0x2ed530,_0x4619('0x9c'));break;case _0x4619('0x9e'):_0x2ed530['isInContent']?(this['_refreshSuggestionsChain'](new Set([_0x2ed530])),this[_0x4619('0x107')](new Set([_0x2ed530])),this[_0x4619('0xd8')]['set'](_0x2ed530,_0x4619('0xa3')),this[_0x4619('0x27')](_0x4619('0xb0'),_0x2ed530)):this[_0x4619('0xd8')][_0x4619('0x130')](_0x2ed530,'removed');}return _0x2ed530;}[_0x4619('0x17c')](_0x2501ea){this[_0x4619('0x124')](()=>{this[_0x4619('0x91')][_0x4619('0xb5')]['change'](()=>{for(const _0x1e0985 of _0x2501ea[_0x4619('0x11c')]())_0x1e0985[_0x4619('0xd3')]();});});}['discardSuggestion'](_0x4ea15){this['forceDefaultExecution'](()=>{this[_0x4619('0x91')]['model']['change'](()=>{for(const _0x2af8b2 of _0x4ea15[_0x4619('0x11c')]())_0x2af8b2[_0x4619('0x72')]();});});}['enableCommand'](_0x37964e,_0xa91a83){const _0x4aa521=this[_0x4619('0x91')]['commands'][_0x4619('0x21')](_0x37964e);if(!_0x4aa521)throw new _0x520d16(_0x4619('0xbd'),this,{'commandName':_0x37964e});if(this[_0x4619('0x1')][_0x4619('0x1b')](_0x4aa521))throw new _0x520d16('track-changes-enable-command-twice',this,{'commandName':_0x37964e});this[_0x4619('0x1')]['add'](_0x4aa521),_0xa91a83&&_0x4aa521['on'](_0x4619('0x150'),(_0x115d95,_0x3d0433)=>{this[_0x4619('0x171')]['value']&&(this[_0x4619('0x2b')]||(_0x3d0433[_0x4619('0x119')]>0x0&&_0x3d0433[_0x3d0433['length']-0x1]&&_0x3d0433[_0x3d0433['length']-0x1][_0x4619('0x124')]?_0x3d0433[_0x4619('0x70')]():(_0x115d95[_0x4619('0xf')]=_0xa91a83((..._0x4dbc81)=>_0x4aa521[_0x4619('0x150')](..._0x4dbc81,{'forceDefaultExecution':!0x0}),..._0x3d0433),_0x115d95[_0x4619('0x6a')]())));},{'priority':_0x4619('0xe8')});}['forceDefaultExecution'](_0x66df5a){let _0x490d01,_0x43f14a;const _0x328b7f=this[_0x4619('0x2b')];this[_0x4619('0x2b')]=!0x0;try{_0x490d01=_0x66df5a();}catch(_0x18b0b1){_0x43f14a=_0x18b0b1;}return _0x328b7f||(this[_0x4619('0x2b')]=!0x1),_0x43f14a&&_0x520d16[_0x4619('0x14e')](_0x43f14a,this),_0x490d01;}[_0x4619('0x56')](_0x619e7,_0x152594=null,_0x18c0d4={}){if(_0x619e7['isCollapsed'])return null;const _0x2c2730=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'];for(const {suggestion:_0x38ba2b,meta:_0xc67958}of this[_0x4619('0x64')](_0x619e7,_0x4619('0xe4')))if(_0xc67958[_0x4619('0xdc')]){if(!_0xc67958[_0x4619('0xc9')]){if(_0xc67958[_0x4619('0xb7')]){if(!this[_0x4619('0xa7')]||!Gt(_0x38ba2b,_0x18c0d4))continue;return _0x38ba2b;}if(Gt(_0x38ba2b,_0x18c0d4))return _0x38ba2b;this[_0x4619('0xff')](_0x38ba2b,_0x619e7[_0x4619('0xfd')],_0x619e7[_0x4619('0x59')]);break;}if(_0x152594==_0x38ba2b[_0x4619('0x170')]&&Gt(_0x38ba2b,_0x18c0d4)){const _0x3a2879=_0x38ba2b[_0x4619('0xf4')]();return _0x3a2879[_0x4619('0xfd')]['isEqual'](_0x619e7[_0x4619('0x59')])?this['_setSuggestionRange'](_0x38ba2b,this[_0x4619('0x54')][_0x4619('0x135')](_0x619e7[_0x4619('0xfd')],_0x3a2879['end'])):this[_0x4619('0x3a')](_0x38ba2b,this[_0x4619('0x54')]['createRange'](_0x3a2879['start'],_0x619e7[_0x4619('0x59')])),_0x38ba2b;}}const _0x210e82=_0x2269fc(),_0x18f59a=_0x2c2730['id'],_0x134b8d=_0x152594?_0x4619('0xa8')+_0x152594:_0x4619('0xe4'),_0x17f9e9=this[_0x4619('0xc1')]({'id':_0x210e82,'type':_0x134b8d,'createdAt':new Date(),'authorId':_0x18f59a,'attributes':_0x18c0d4});return this[_0x4619('0x117')](_0x134b8d,_0x210e82,_0x18f59a,_0x619e7),_0x17f9e9;}['markMultiRangeInsertion'](_0x3b94cc,_0x1a2d3a='multi',_0x5c4b26={}){const _0x3d57ce=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x3639e7=this[_0x4619('0xef')][_0x4619('0xb8')]('insertion',_0x1a2d3a,'join');for(const _0x5f94fa of this[_0x4619('0x139')]())if(_0x5f94fa[_0x4619('0x122')]['id']==_0x3d57ce['id']&&_0x4619('0xe4')==_0x5f94fa['type']&&_0x5f94fa[_0x4619('0x170')]==_0x1a2d3a&&Gt(_0x5f94fa,_0x5c4b26)&&(_0x3639e7(_0x5f94fa['getRanges'](),_0x3b94cc)||_0x3639e7(_0x3b94cc,_0x5f94fa['getRanges']()))){for(const _0x2589d7 of _0x3b94cc)_0x5f94fa[_0x4619('0xb2')](_0x2589d7);return _0x5f94fa;}for(const {suggestion:_0x56141d,meta:_0x55abb2}of this[_0x4619('0x64')](_0x3b94cc,'insertion')){if(!_0x55abb2['isOwn'])continue;if(!this[_0x4619('0xa7')]&&_0x55abb2[_0x4619('0xb7')])continue;if(!Gt(_0x56141d,_0x5c4b26))continue;let _0x5941ac=!0x0;for(const _0x1b2544 of _0x56141d[_0x4619('0xa')]())for(const _0x126525 of _0x3b94cc)if(!_0x1b2544['containsRange'](_0x126525)){_0x5941ac=!0x1;break;}if(_0x5941ac)return _0x56141d;}const _0x4a33b2=_0x2269fc(),_0x1d9fa2=_0x3d57ce['id'],_0x4bb6a7=_0x4619('0xa8')+_0x1a2d3a,_0x523255=this[_0x4619('0xc1')]({'id':_0x4a33b2,'type':_0x4bb6a7,'createdAt':new Date(),'authorId':_0x1d9fa2,'attributes':_0x5c4b26});for(const _0x4f4f39 of _0x3b94cc)this['_addSuggestionMarker'](_0x4bb6a7,_0x4a33b2,_0x1d9fa2,_0x4f4f39,_0x3f8809[_0x4619('0x101')]());return _0x523255;}[_0x4619('0x14f')](_0x127499,_0x286119,_0x611f95=null,_0x12f7bb={}){if(_0x611f95=_0x611f95||Et(_0x286119),_0x127499[_0x4619('0xdd')])return null;if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x1a2394=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x4b'),_0x611f95,_0x4619('0xd3'));return this['forceDefaultExecution'](()=>_0x1a2394([_0x127499],_0x286119,_0x12f7bb)),null;}const _0x545a5d=this['editor']['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x376a9a=[];if(_0x4619('0xfa')!==this[_0x4619('0x63')])for(const {suggestion:_0x1b35d5,meta:_0x31588a}of this[_0x4619('0x64')](_0x127499,'insertion'))_0x31588a['isOwn']&&!_0x31588a[_0x4619('0xb4')]&&_0x376a9a[_0x4619('0x7e')](..._0x1b35d5[_0x4619('0xa')]());const _0x49a9c4=function(_0x4a944b,_0x2793f4){const _0x1867b1=[];for(const _0x36448f of _0x2793f4){const _0x21e964=_0x4a944b[_0x4619('0x9a')](_0x36448f);_0x21e964&&_0x1867b1['push'](_0x21e964);}return _0x1867b1;}(_0x127499,_0x376a9a),_0x584c93=function(_0x4b4d72,_0x271192){const _0x163770=[_0x4b4d72];for(const _0x4d4f33 of _0x271192){let _0x362def=0x0;for(;_0x362def<_0x163770['length'];){const _0x1aa12b=_0x163770[_0x362def]['getDifference'](_0x4d4f33);_0x163770['splice'](_0x362def,0x1,..._0x1aa12b),_0x362def+=_0x1aa12b[_0x4619('0x119')];}}return _0x163770;}(_0x127499,_0x376a9a);_0x49a9c4['length']&&this[_0x4619('0x54')][_0x4619('0x13a')](()=>{for(const _0x29c8e4 of _0x49a9c4){const _0x257db0=this['_suggestionFactory'][_0x4619('0xb8')]('formatInline',_0x611f95,_0x4619('0xd3'));this[_0x4619('0x124')](()=>_0x257db0([_0x29c8e4],_0x286119,_0x12f7bb));}});for(const _0x4cdf12 of _0x584c93){let _0x424863=null,_0x117dfb=_0x4cdf12[_0x4619('0xfd')],_0x1364ad=_0x4cdf12[_0x4619('0x59')];for(const {suggestion:_0x2f968c,meta:_0x264e1a}of this[_0x4619('0x64')](_0x4cdf12,'formatInline')){if(!_0x264e1a[_0x4619('0xdc')])continue;if(_0x2f968c[_0x4619('0x170')]!=_0x611f95)continue;if(!Gt(_0x2f968c,_0x12f7bb))continue;const _0x1e286a=_0x2f968c[_0x4619('0xf4')]();if(_0x1e286a[_0x4619('0x157')](_0x4cdf12,!0x0))return null;_0x117dfb=_0x117dfb[_0x4619('0x108')](_0x1e286a[_0x4619('0xfd')])?_0x117dfb:_0x1e286a[_0x4619('0xfd')],_0x1364ad=_0x1364ad['isAfter'](_0x1e286a[_0x4619('0x59')])?_0x1364ad:_0x1e286a['end'],_0x424863?_0x1e286a[_0x4619('0xfd')]['isBefore'](_0x424863[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x424863[_0x4619('0x143')](),_0x424863=_0x2f968c):_0x2f968c[_0x4619('0x143')]():_0x424863=_0x2f968c;}const _0x14c181=this[_0x4619('0x54')][_0x4619('0x135')](_0x117dfb,_0x1364ad);if(_0x424863)this[_0x4619('0x3a')](_0x424863,_0x14c181);else{const _0x3ab397=_0x2269fc(),_0x285f13=_0x545a5d['id'];this['_setSuggestionData']({'id':_0x3ab397,'type':_0x4619('0x138')+_0x611f95,'data':_0x286119,'createdAt':new Date(),'authorId':_0x285f13,'attributes':_0x12f7bb}),this[_0x4619('0x117')](_0x4619('0x138')+_0x611f95,_0x3ab397,_0x285f13,_0x14c181);}}return null;}[_0x4619('0x95')](_0x35d226,_0x509393,_0xe3f0f7=[],_0x344492=null,_0x1bdcdd={}){_0x509393[_0x4619('0x176')]||(_0x509393[_0x4619('0x176')]=_0x509393[_0x4619('0xfe')]),_0x509393[_0x4619('0x8b')]=_0x35d226['is'](_0x4619('0x121')),_0x344492=_0x344492||Et(_0x509393);const _0x53afaa=_0xe3f0f7['map'](_0x366d4a=>Ut(_0x366d4a,this[_0x4619('0x54')])),_0x4a8a42=_0x35d226['is']('range')?_0x35d226:Ut(_0x35d226,this[_0x4619('0x54')]);if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x579480=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x344492,_0x4619('0xd3'));return this['forceDefaultExecution'](()=>_0x579480([_0x4a8a42],_0x509393,_0x1bdcdd)),null;}_0x53afaa[_0x4619('0x7e')](_0x4a8a42);let _0x40730a=!0x0;for(const _0x1fe0ed of _0x53afaa)if(!this[_0x4619('0x10d')](_0x1fe0ed)){_0x40730a=!0x1;break;}if(_0x40730a&&_0x4619('0xfa')!==this[_0x4619('0x63')]){const _0x2da522=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x137'),_0x344492,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x2da522([_0x4a8a42],_0x509393,_0x1bdcdd)),null;}let _0x3a9c56=null,_0x59c2ba=_0x4a8a42[_0x4619('0xfd')],_0x32e53f=_0x4a8a42[_0x4619('0x59')];for(const {suggestion:_0x2bf272,meta:_0x213271}of this[_0x4619('0x64')](_0x4a8a42,_0x4619('0x137'))){if(!_0x213271[_0x4619('0xdc')])continue;if(_0x213271[_0x4619('0xc9')]||_0x213271[_0x4619('0xb7')]||_0x213271[_0x4619('0xb4')])continue;if(_0x2bf272[_0x4619('0xdf')][_0x4619('0x176')]!=_0x509393[_0x4619('0x176')])continue;if(!Gt(_0x2bf272,_0x1bdcdd))continue;const _0x3a8ea1=_0x2bf272[_0x4619('0xf4')]();if(_0x2bf272[_0x4619('0x170')]==_0x344492){if(_0x3a8ea1[_0x4619('0x157')](_0x4a8a42,!0x0))return null;_0x59c2ba=_0x59c2ba['isBefore'](_0x3a8ea1[_0x4619('0xfd')])?_0x59c2ba:_0x3a8ea1['start'],_0x32e53f=_0x32e53f[_0x4619('0x22')](_0x3a8ea1[_0x4619('0x59')])?_0x32e53f:_0x3a8ea1[_0x4619('0x59')],_0x3a9c56?_0x3a8ea1[_0x4619('0xfd')][_0x4619('0x108')](_0x3a9c56[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x3a9c56[_0x4619('0x143')](),_0x3a9c56=_0x2bf272):_0x2bf272['removeMarkers']():_0x3a9c56=_0x2bf272;}else{const _0x25dec4=_0x4a8a42[_0x4619('0x9a')](_0x3a8ea1);this[_0x4619('0xf6')](_0x2bf272,_0x25dec4);}}const _0x4de8e6=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')]('Users')['me'],_0x376c9d=_0x2269fc(),_0x4c8c44=_0x4de8e6['id'];if(_0x3a9c56)return this[_0x4619('0x3a')](_0x3a9c56,this['_model'][_0x4619('0x135')](_0x59c2ba,_0x32e53f)),_0x3a9c56;{const _0x1b3b69=this['_setSuggestionData']({'id':_0x376c9d,'type':'formatBlock:'+_0x344492,'data':_0x509393,'createdAt':new Date(),'authorId':_0x4c8c44,'attributes':_0x1bdcdd});return this[_0x4619('0x117')](_0x4619('0xeb')+_0x344492,_0x376c9d,_0x4c8c44,this['_model'][_0x4619('0x135')](_0x59c2ba,_0x32e53f)),_0x1b3b69;}}[_0x4619('0xa5')](_0x5392d0,_0x536812,_0x1e1436=[],_0x5315fc=null,_0x195fe8={}){_0x536812[_0x4619('0x176')]||(_0x536812[_0x4619('0x176')]=_0x536812[_0x4619('0xfe')]);const _0x5e1657=_0x5392d0[0x0];_0x536812[_0x4619('0x8b')]=_0x5e1657['is'](_0x4619('0x121')),_0x5315fc=_0x5315fc||Et(_0x536812);const _0xd79ec5=_0x1e1436[_0x4619('0x102')](_0xc3775a=>Ut(_0xc3775a,this[_0x4619('0x54')])),_0xb35726=_0x5e1657['is'](_0x4619('0x121'))?_0x5392d0:_0x5392d0[_0x4619('0x102')](_0x4c19de=>Ut(_0x4c19de,this['_model']));if(_0x4619('0xed')===this[_0x4619('0x63')]){const _0x46b15d=this[_0x4619('0xef')][_0x4619('0xb8')]('formatBlock',_0x5315fc,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x46b15d(_0xb35726,_0x536812,_0x195fe8)),null;}_0xd79ec5[_0x4619('0x7e')](..._0xb35726);let _0x21abab=!0x0;for(const _0x2b3fc6 of _0xd79ec5)if(!this['_rangeIsInLocalUserInsertion'](_0x2b3fc6)){_0x21abab=!0x1;break;}if(_0x21abab&&'always'!==this['_trackFormatChanges']){const _0x269cf0=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x5315fc,'accept');return this[_0x4619('0x124')](()=>_0x269cf0(_0xb35726,_0x536812,_0x195fe8)),null;}const _0x43579a=this['editor'][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'];for(const _0x1dad07 of this[_0x4619('0x139')]()){if(_0x1dad07['author']['id']!=_0x43579a['id'])continue;if(_0x4619('0x137')!=_0x1dad07[_0x4619('0x4a')]||_0x1dad07['data']['formatGroupId']!=_0x536812[_0x4619('0x176')])continue;if(!Gt(_0x1dad07,_0x195fe8))continue;const _0x15751d=_0x1dad07[_0x4619('0x170')]==_0x5315fc;for(let _0x1303a2=0x0;_0x1303a2<_0xb35726[_0x4619('0x119')];_0x1303a2++){const _0x2d9f6e=_0xb35726[_0x1303a2];for(const _0x3fbc01 of _0x1dad07['getMarkers']()){const _0x1f35b3=_0x3fbc01[_0x4619('0x41')]();if(_0x2d9f6e['isEqual'](_0x1f35b3)){_0x15751d?(_0xb35726[_0x4619('0x114')](_0x1303a2,0x1),_0x1303a2--):_0x1dad07[_0x4619('0x79')](_0x3fbc01[_0x4619('0xb3')]);break;}}}}if(0x0==_0xb35726['length'])return null;const _0x5885d0=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x137'),_0x5315fc,_0x4619('0x11'));for(const _0x2a722b of this['getSuggestions']())if(_0x2a722b[_0x4619('0x122')]['id']==_0x43579a['id']&&_0x4619('0x137')==_0x2a722b[_0x4619('0x4a')]&&_0x2a722b[_0x4619('0xdf')][_0x4619('0x176')]==_0x536812['formatGroupId']&&_0x2a722b[_0x4619('0x170')]==_0x5315fc&&Gt(_0x2a722b,_0x195fe8)&&(_0x5885d0(_0x2a722b[_0x4619('0xa')](),_0xb35726)||_0x5885d0(_0xb35726,_0x2a722b[_0x4619('0xa')]()))){for(const _0x26f977 of _0xb35726)_0x2a722b[_0x4619('0xb2')](_0x26f977);return _0x2a722b;}const _0x3ef36f=_0x2269fc(),_0x55769b=_0x43579a['id'],_0x3d824e='formatBlock:'+_0x5315fc,_0x4eb058=this['_setSuggestionData']({'id':_0x3ef36f,'type':_0x3d824e,'data':_0x536812,'createdAt':new Date(),'authorId':_0x55769b,'attributes':_0x195fe8});for(const _0x18f2c1 of _0xb35726)this[_0x4619('0x117')](_0x3d824e,_0x3ef36f,_0x55769b,_0x18f2c1,_0x3f8809[_0x4619('0x101')]());return _0x4eb058;}['markDeletion'](_0x47feab,_0x3a657d=null,_0x2e28b7={}){if(_0x47feab[_0x4619('0xdd')])return null;const _0x31f692=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x5c'))['me'],_0x1319f8=new _0x5794cd(_0x47feab['start'],_0x47feab['end']);for(const {suggestion:_0x38aef4,meta:_0x2ba365}of this[_0x4619('0x64')](_0x1319f8,_0x4619('0xe4')))if(_0x2ba365[_0x4619('0xdc')]&&!_0x2ba365[_0x4619('0xc9')]){if(_0x38aef4['isMultiRange']){const _0x49e572=_0x38aef4['getRanges']()['filter'](_0x26ceb9=>_0x4619('0x8c')!=_0x26ceb9[_0x4619('0xec')][_0x4619('0x99')]);_0x49e572[_0x4619('0xc7')](_0xc9f7e=>_0x1319f8['containsRange'](_0xc9f7e,!0x0))&&_0x38aef4['discard']();if(_0x49e572[_0x4619('0x13b')](_0x3972fa=>_0x3972fa[_0x4619('0x157')](_0x1319f8,!0x0))){const _0x2f824f=this[_0x4619('0xef')]['getSuggestionCallback'](_0x4619('0x126'),_0x3a657d,'accept');return this[_0x4619('0x124')](()=>_0x2f824f([_0x1319f8],null,_0x2e28b7)),null;}}else{const _0x47d1b7=_0x1319f8[_0x4619('0x9a')](_0x38aef4[_0x4619('0xf4')]());null!==_0x47d1b7&&_0x38aef4[_0x4619('0x174')]([_0x47d1b7],null,_0x2e28b7);}}if(_0x1319f8[_0x4619('0x12')](),_0x1319f8[_0x4619('0xdd')]||_0x4619('0x8c')==_0x1319f8[_0x4619('0xec')][_0x4619('0x99')])return null;let _0x3a5751=null,_0x2c36b6=_0x1319f8[_0x4619('0xfd')],_0x16ad15=_0x1319f8[_0x4619('0x59')];const _0x1a0d10=this[_0x4619('0x64')](_0x1319f8,_0x4619('0x126'));for(const {suggestion:_0x42223b,meta:_0x30d127}of _0x1a0d10){const _0x18d544=this['_model'][_0x4619('0x135')](_0x2c36b6,_0x16ad15);if(_0x30d127['isOwn']&&(this[_0x4619('0xa7')]||!_0x30d127['containsRangeInObject']&&!_0x30d127['isInsideObject'])){if(_0x42223b['isMultiRange']){if(!Gt(_0x42223b,_0x2e28b7))continue;let _0x2dce57=!0x0;for(const _0x3405dc of _0x42223b[_0x4619('0xa')]()){if(_0x3405dc['containsRange'](_0x18d544,!0x0))return _0x42223b;_0x18d544[_0x4619('0x157')](_0x3405dc)||(_0x2dce57=!0x1);}_0x2dce57&&_0x42223b['discard']();}else{const _0x1bbf35=_0x42223b[_0x4619('0xf4')]();if(_0x1bbf35[_0x4619('0x157')](_0x18d544,!0x0))return _0x42223b;if(!Gt(_0x42223b,_0x2e28b7)){_0x18d544[_0x4619('0x157')](_0x1bbf35)?_0x42223b[_0x4619('0x143')]():_0x1bbf35[_0x4619('0x15b')](_0x2c36b6)?_0x2c36b6=_0x1bbf35['end']:_0x1bbf35['containsPosition'](_0x16ad15)&&(_0x16ad15=_0x1bbf35[_0x4619('0xfd')]);continue;}_0x2c36b6=_0x2c36b6[_0x4619('0x108')](_0x1bbf35['start'])?_0x2c36b6:_0x1bbf35[_0x4619('0xfd')],_0x16ad15=_0x16ad15[_0x4619('0x22')](_0x1bbf35[_0x4619('0x59')])?_0x16ad15:_0x1bbf35['end'],_0x2e28b7=Object[_0x4619('0xf7')]({},_0x42223b[_0x4619('0x2f')]),_0x3a5751?_0x1bbf35['start'][_0x4619('0x108')](_0x3a5751[_0x4619('0xf4')]()[_0x4619('0xfd')])?(_0x3a5751['removeMarkers'](),_0x3a5751=_0x42223b):_0x42223b[_0x4619('0x143')]():_0x3a5751=_0x42223b;}}}if(_0x3a5751)return this['_setSuggestionRange'](_0x3a5751,this['_model']['createRange'](_0x2c36b6,_0x16ad15)),_0x3a5751;{const _0x4bc69c=_0x2269fc(),_0x313005=this[_0x4619('0x54')][_0x4619('0x135')](_0x2c36b6,_0x16ad15),_0x4899b4=_0x31f692['id'],_0x386fe1=_0x3a657d?_0x4619('0x10a')+_0x3a657d:_0x4619('0x126'),_0x2b3de5=this[_0x4619('0xc1')]({'id':_0x4bc69c,'type':_0x386fe1,'createdAt':new Date(),'authorId':_0x4899b4,'attributes':_0x2e28b7});return this[_0x4619('0x117')](_0x386fe1,_0x4bc69c,_0x4899b4,_0x313005),_0x2b3de5;}}[_0x4619('0xab')](_0xf6c5ee,_0x51d032=_0x4619('0x169'),_0x488879={}){const _0x11f0ed=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')]('Users')['me'],_0x412a3c=_0xf6c5ee[_0x4619('0x102')](_0x5ce538=>new _0x5794cd(_0x5ce538['start'],_0x5ce538[_0x4619('0x59')])),_0xa985e9=new Set();for(const {suggestion:_0x197d1c,meta:_0x4a6366}of this[_0x4619('0x64')](_0x412a3c,_0x4619('0xe4')))_0x4a6366['isOwn']&&!_0x4a6366[_0x4619('0xc9')]&&_0xa985e9['add'](_0x197d1c);for(const _0x1ec512 of _0xa985e9)if(_0x1ec512[_0x4619('0xe0')]){const _0x5618c5=_0x1ec512[_0x4619('0xa')]();(!_0x1ec512[_0x4619('0x2f')]||!_0x1ec512['attributes']['skipNestingCheck'])&&(_0x5618c5[_0x4619('0xc7')](_0x24b2e0=>_0x412a3c[_0x4619('0x13b')](_0x4676a1=>_0x4676a1[_0x4619('0x157')](_0x24b2e0,!0x0)))&&_0x1ec512[_0x4619('0x72')]());if(_0x412a3c[_0x4619('0xc7')](_0x5b5a47=>_0x5618c5[_0x4619('0x13b')](_0x2bff8f=>_0x2bff8f[_0x4619('0x157')](_0x5b5a47,!0x0)))){const _0x52b372=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x126'),_0x51d032,_0x4619('0xd3'));return this[_0x4619('0x124')](()=>_0x52b372(_0xf6c5ee,null,_0x488879)),null;}}else{const _0x255f92=_0x1ec512[_0x4619('0xf4')]();_0x412a3c[_0x4619('0x13b')](_0x52ec19=>_0x52ec19['containsRange'](_0x255f92,!0x0))&&_0x1ec512[_0x4619('0x72')]();if(_0x412a3c['every'](_0xd0764a=>_0x255f92[_0x4619('0x157')](_0xd0764a,!0x0))){const _0x47d225=this[_0x4619('0xef')][_0x4619('0xb8')]('deletion',_0x51d032,'accept');return this[_0x4619('0x124')](()=>_0x47d225(_0x412a3c,null,_0x488879)),null;}}const _0x970200=this[_0x4619('0xef')][_0x4619('0xb8')](_0x4619('0x126'),_0x51d032,_0x4619('0x11'));let _0x45bfe7=null;for(const _0xa7acd4 of this[_0x4619('0x139')]())if(_0xa7acd4['author']['id']==_0x11f0ed['id']&&_0xa7acd4['isInContent']&&'deletion'==_0xa7acd4['type']&&_0xa7acd4[_0x4619('0x170')]==_0x51d032&&Gt(_0xa7acd4,_0x488879)&&(_0x970200(_0xa7acd4[_0x4619('0xa')](),_0x412a3c)||_0x970200(_0x412a3c,_0xa7acd4[_0x4619('0xa')]()))){if(_0x45bfe7){if(_0xa7acd4['commentThread']&&_0xa7acd4[_0x4619('0x145')][_0x4619('0x119')])continue;for(const _0x13b0c9 of _0xa7acd4[_0x4619('0xa')]())_0x45bfe7['isIntersectingWithRange'](_0x13b0c9)||_0x45bfe7[_0x4619('0xb2')](_0x13b0c9);_0xa7acd4['removeMarkers']();}else{_0x45bfe7=_0xa7acd4;for(const _0x280e24 of _0x412a3c)_0xa7acd4['isIntersectingWithRange'](_0x280e24)||_0xa7acd4[_0x4619('0xb2')](_0x280e24);}}if(_0x45bfe7)return _0x45bfe7;_0xa985e9[_0x4619('0x1a')]();for(const {suggestion:_0x497744,meta:_0x1c8d25}of this[_0x4619('0x64')](_0x412a3c,_0x4619('0x126')))_0x1c8d25[_0x4619('0xdc')]&&(this[_0x4619('0xa7')]||!_0x1c8d25[_0x4619('0xb7')]&&!_0x1c8d25[_0x4619('0xb4')])&&Gt(_0x497744,_0x488879)&&_0xa985e9[_0x4619('0x153')](_0x497744);for(const _0x32fdee of _0xa985e9){const _0xa66a79=_0x32fdee[_0x4619('0xa')]();if(!_0x488879||!_0x488879[_0x4619('0x179')]){if(_0x412a3c[_0x4619('0xc7')](_0x529ddb=>_0xa66a79['some'](_0xd77e00=>_0xd77e00[_0x4619('0x157')](_0x529ddb,!0x0))))return _0x32fdee;}(!_0x32fdee[_0x4619('0x2f')]||!_0x32fdee[_0x4619('0x2f')][_0x4619('0x179')])&&(_0xa66a79['every'](_0x14b972=>_0x412a3c['some'](_0x55e150=>_0x55e150['containsRange'](_0x14b972,!0x0)))&&_0x32fdee[_0x4619('0x72')]());}const _0x6db402=_0x2269fc(),_0x373e9a=_0x11f0ed['id'],_0x225152='deletion:'+_0x51d032,_0xbf6c9f=this['_setSuggestionData']({'id':_0x6db402,'type':_0x225152,'createdAt':new Date(),'authorId':_0x373e9a,'attributes':_0x488879});for(const _0x2f9227 of _0x412a3c)_0x2f9227[_0x4619('0x12')](),_0x2f9227[_0x4619('0xdd')]||_0x4619('0x8c')==_0x2f9227[_0x4619('0xec')][_0x4619('0x99')]||this[_0x4619('0x117')](_0x225152,_0x6db402,_0x373e9a,_0x2f9227,_0x3f8809[_0x4619('0x101')]());return _0xbf6c9f;}[_0x4619('0x163')](_0x6b00db,_0x485494,_0x3cda8b,_0x4a23ce,_0x4c484a){if(_0x6b00db[_0x4619('0xdd')])return[];if('never'===this[_0x4619('0x63')])return[];const _0x2b1d57=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me']['id'],_0x287e8f=Array[_0x4619('0x35')](this[_0x4619('0x62')][_0x4619('0x5a')]())[_0x4619('0x149')](_0x576f2c=>_0x4619('0x37')==_0x576f2c[_0x4619('0x4a')]&&_0x576f2c[_0x4619('0xdf')][_0x4619('0x9')]==_0x485494&&_0x576f2c[_0x4619('0xfb')](_0x6b00db));if(_0x4619('0x128')===this[_0x4619('0x63')]){const _0x548977=this[_0x4619('0x64')](_0x6b00db,'insertion')[_0x4619('0x149')](({meta:_0x3f3ea2})=>_0x3f3ea2['isOwn']&&!_0x3f3ea2[_0x4619('0xb4')]&&!_0x3f3ea2[_0x4619('0xc9')])['map'](({suggestion:_0x3aee8e})=>_0x3aee8e);_0x287e8f['unshift'](..._0x548977);}const _0x12b4f5=new Map([[_0x6b00db,_0x3cda8b]]);for(const _0x28d2d4 of _0x287e8f){const _0x578b6f=_0x4619('0x37')==_0x28d2d4[_0x4619('0x4a')]?_0x28d2d4['data'][_0x4619('0xc3')]:void 0x0,_0xe6498b=_0x28d2d4[_0x4619('0xf4')](),_0x2c07da=Array[_0x4619('0x35')](_0x12b4f5[_0x4619('0x11d')]())[_0x4619('0x84')](_0x7840d9=>_0x7840d9['isIntersecting'](_0xe6498b));if(!_0x2c07da)continue;const _0x30b91a=_0x2c07da[_0x4619('0x172')](_0xe6498b);this[_0x4619('0xae')](_0x485494)&&_0x4619('0xe4')==_0x28d2d4[_0x4619('0x4a')]&&0x0!=_0x30b91a[_0x4619('0x119')]||(_0x12b4f5[_0x4619('0x67')](_0x2c07da),_0x30b91a[_0x4619('0xd4')](_0x483b0d=>{_0x12b4f5['set'](_0x483b0d,_0x3cda8b);}),_0x4619('0xe4')!=_0x28d2d4['type']&&_0x578b6f!=_0x4a23ce&&_0x12b4f5[_0x4619('0x130')](_0x2c07da[_0x4619('0x9a')](_0xe6498b),_0x578b6f));}const _0x2917ff=[];for(const [_0x41a5ca,_0x38b658]of _0x12b4f5){const _0x4078c2=_0x2269fc(),_0x1727b6={'key':_0x485494,'oldValue':_0x38b658,'newValue':_0x4a23ce};_0x485494[_0x4619('0x119')]>0x25&&console[_0x4619('0xf9')](_0x4619('0x12b'),{'key':_0x485494});const _0x410db2=(_0x4619('0x2d')+(_0x485494+'|'+Et({'newValue':_0x4a23ce})))['substring'](0x0,0x3c),_0x46fd1b=this['_setSuggestionData']({'id':_0x4078c2,'type':_0x410db2,'data':_0x1727b6,'createdAt':new Date(),'authorId':_0x2b1d57,'attributes':_0x4c484a});_0x2917ff[_0x4619('0x7e')](_0x46fd1b),this[_0x4619('0x117')](_0x410db2,_0x4078c2,_0x2b1d57,_0x41a5ca);}return _0x2917ff;}[_0x4619('0x58')](_0x31f828){this['_blockAttributeKeys'][_0x4619('0x153')](_0x31f828);}['_registerInlineAttribute'](_0x20d65a){this[_0x4619('0xca')]['add'](_0x20d65a);}['_enableDefaultAttributesIntegration'](_0xb40e23,_0x403672=[],_0xf8d89f=[]){this['enableCommand'](_0xb40e23,(_0x425b58,..._0xc0599)=>{this['_recordAttributeChanges'](()=>{_0x425b58(..._0xc0599);});});for(const _0x355af9 of _0x403672)this['_registerInlineAttribute'](_0x355af9);for(const _0xc7f032 of _0xf8d89f)this['_registerBlockAttribute'](_0xc7f032);}[_0x4619('0x3a')](_0x3dedd5,_0x659689){const _0x4467f9=_0x3dedd5['getFirstMarker']();this[_0x4619('0x54')][_0x4619('0x13a')](_0x3ab4ec=>{_0x3ab4ec['updateMarker'](_0x4467f9,{'range':_0x659689});});}['_addThreadToSuggestion'](_0x584c4d){const _0x3a5028=_0x584c4d['id'],_0x23eac5=this['editor'][_0x4619('0x160')][_0x4619('0x21')](_0x4619('0x74'));this[_0x4619('0xd2')]['hasCommentThread'](_0x3a5028)||this[_0x4619('0xd2')][_0x4619('0xe7')]({'channelId':_0x23eac5,'threadId':_0x3a5028,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x2c2185=this[_0x4619('0xd2')][_0x4619('0x175')](_0x3a5028);_0x2c2185[_0x4619('0x116')]('isRemovable'),_0x2c2185['isRemovable']=!0x1,_0x584c4d['commentThread']=_0x2c2185;}['_checkSuggestionCorrectness'](_0x1d7f32,_0x575fa8,_0x3f2976,_0x127ac2){if(_0x1d7f32[_0x4619('0x4a')]!=_0x575fa8||_0x1d7f32[_0x4619('0x170')]!=_0x3f2976||_0x1d7f32['creator']['id']!=_0x127ac2)throw this[_0x4619('0x91')][_0x4619('0x15e')](_0x4619('0x3c')),new _0x520d16(_0x4619('0x3c'),this);}[_0x4619('0xf6')](_0x241bea,_0x7c7648){const _0x30ce1c=_0x241bea[_0x4619('0xf4')]();if(_0x7c7648[_0x4619('0x10c')](_0x30ce1c))_0x241bea[_0x4619('0x143')]();else{if(_0x30ce1c[_0x4619('0x157')](_0x7c7648)){const _0x28bbad=this[_0x4619('0x54')][_0x4619('0x28')](_0x7c7648[_0x4619('0xfd')]['nodeBefore'],'end');this[_0x4619('0x3a')](_0x241bea,this['_model'][_0x4619('0x135')](_0x30ce1c[_0x4619('0xfd')],_0x28bbad));const _0x3ec1ca=_0x2269fc(),_0x369709=_0x241bea[_0x4619('0x1c')]['id'],_0x5a740b=_0x241bea[_0x4619('0x4a')]+':'+_0x241bea[_0x4619('0x170')];this[_0x4619('0xc1')]({'id':_0x3ec1ca,'type':_0x5a740b,'createdAt':new Date(),'authorId':_0x369709,'data':_0x241bea['data'],'attributes':_0x241bea[_0x4619('0x2f')]});const _0x3b54b5=this['_model']['createPositionAt'](_0x7c7648[_0x4619('0x59')]['parent'],_0x4619('0xfc')),_0x5bdef7=this['_model'][_0x4619('0x135')](_0x3b54b5,_0x30ce1c['end']);this[_0x4619('0x117')](_0x5a740b,_0x3ec1ca,_0x369709,_0x5bdef7);}else{if(_0x30ce1c[_0x4619('0x15b')](_0x7c7648[_0x4619('0xfd')])){const _0xcf678c=this[_0x4619('0x54')]['createPositionAt'](_0x7c7648[_0x4619('0xfd')][_0x4619('0x8')],_0x4619('0x59'));this[_0x4619('0x3a')](_0x241bea,this[_0x4619('0x54')][_0x4619('0x135')](_0x30ce1c[_0x4619('0xfd')],_0xcf678c));}else{const _0x4c975b=this[_0x4619('0x54')][_0x4619('0x28')](_0x7c7648[_0x4619('0x59')][_0x4619('0x16b')],_0x4619('0xfc'));this[_0x4619('0x3a')](_0x241bea,this[_0x4619('0x54')][_0x4619('0x135')](_0x4c975b,_0x30ce1c[_0x4619('0x59')]));}}}}[_0x4619('0x10d')](_0x5dc879){for(const {suggestion:_0x4223b5,meta:_0x2542e4}of this[_0x4619('0x64')](_0x5dc879,_0x4619('0xe4'))){if(!_0x2542e4['isOwn'])continue;const _0xf3ae05=_0x4223b5['getRanges']();for(const _0x179179 of _0xf3ae05)if(!_0x5dc879[_0x4619('0x172')](_0x179179)['length'])return!0x0;}return!0x1;}[_0x4619('0x90')](_0x20834e){const _0x5d404d=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))[_0x4619('0x13d')](_0x20834e);if(!_0x5d404d)throw new _0x520d16(_0x4619('0x29'),this);return _0x5d404d;}[_0x4619('0xcb')](_0x9d1d49){const _0x4dea03=this['editor'][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c')),_0x411fb4=_0x553bcb(_0x4619('0x4f')+_0x9d1d49),_0x1ae5b1=_0x4dea03[_0x4619('0x13d')](_0x411fb4);return _0x1ae5b1||_0x4dea03[_0x4619('0xbe')]({'id':_0x411fb4,'name':_0x9d1d49});}[_0x4619('0x71')](_0x2f062a,_0x22fe36,_0x4fd3ee,_0x47d64e,_0x176eee){const _0x32bc2e=this[_0x4619('0x90')](_0x47d64e),_0x20e6b6=this[_0x4619('0xef')][_0x4619('0x15')](_0x2f062a,_0x22fe36,_0x4fd3ee,_0x32bc2e,_0x176eee,_0x5579e3=>this[_0x4619('0xd9')](_0x4fd3ee,{'attributes':_0x5579e3}));return this[_0x4619('0xa6')](_0x20e6b6,_0x4619('0xd3'),()=>{this['_updateSuggestionData'](_0x4fd3ee,{'state':_0x4619('0x15a')});},{'priority':_0x4619('0xe8')}),this['listenTo'](_0x20e6b6,_0x4619('0x72'),()=>{this[_0x4619('0xd9')](_0x4fd3ee,{'state':_0x4619('0x3b')});},{'priority':_0x4619('0xe8')}),this[_0x4619('0x62')][_0x4619('0x130')](_0x4fd3ee,_0x20e6b6),this[_0x4619('0xd8')][_0x4619('0x130')](_0x20e6b6,'notReady'),_0x20e6b6;}[_0x4619('0xb')](_0x2df4b9){const _0x4bc654=_0x2df4b9['split'](':');return{'group':_0x4bc654[0x0],'type':_0x4bc654[0x1],'subType':_0x4bc654['length']>=0x5?_0x4bc654[0x2]:null,'id':_0x4bc654[_0x4619('0x119')]<0x5?_0x4bc654[0x2]:_0x4bc654[0x3],'authorId':_0x4bc654['length']<0x5?_0x4bc654[0x3]:_0x4bc654[0x4],'markerCount':0x6==_0x4bc654[_0x4619('0x119')]?_0x4bc654[0x5]:null};}[_0x4619('0xff')](_0x5ed12c,_0x3f2470,_0x20977d){const _0x540b41=_0x5ed12c['getFirstRange'](),_0x3b5293=_0x540b41[_0x4619('0xfd')],_0x519bc8=_0x540b41[_0x4619('0x59')];this[_0x4619('0x3a')](_0x5ed12c,this['_model'][_0x4619('0x135')](_0x3b5293,_0x3f2470));const _0x1c6e48=_0x2269fc(),_0xecfa65=_0x5ed12c[_0x4619('0x1c')]['id'],_0x1bd6f3=_0x5ed12c[_0x4619('0x4a')]+(_0x5ed12c[_0x4619('0x170')]?':'+_0x5ed12c[_0x4619('0x170')]:'');this['_setSuggestionData']({'id':_0x1c6e48,'type':_0x1bd6f3,'createdAt':new Date(),'authorId':_0xecfa65,'originalSuggestionId':_0x5ed12c['id'],'attributes':_0x5ed12c[_0x4619('0x2f')],'data':_0x5ed12c[_0x4619('0xdf')]});const _0x2956b4=Pt(_0x5ed12c);(_0x4619('0x137')==_0x5ed12c[_0x4619('0x4a')]||_0x2956b4&&this['_isBlockAttribute'](_0x2956b4))&&(_0x20977d=this[_0x4619('0x54')][_0x4619('0x127')](_0x20977d[_0x4619('0x16b')])),this[_0x4619('0x117')](_0x1bd6f3,_0x1c6e48,_0xecfa65,this[_0x4619('0x54')][_0x4619('0x135')](_0x20977d,_0x519bc8));}[_0x4619('0x64')](_0x7ff368,_0x1ef830=null){const _0x5df96d=[],_0x4240c6=this[_0x4619('0x91')][_0x4619('0xc4')][_0x4619('0x21')](_0x4619('0x5c'))['me'];Array['isArray'](_0x7ff368)||(_0x7ff368=[_0x7ff368]);for(const _0x15d1c8 of this[_0x4619('0x139')]()){if(!_0x15d1c8[_0x4619('0x51')])continue;if(_0x1ef830&&_0x15d1c8['type']!=_0x1ef830)continue;let _0x68d8e1=!0x1;for(const _0x2f9dcd of _0x15d1c8[_0x4619('0xa')]()){for(const _0x55b023 of _0x7ff368){const _0x1e75fe=_0x55b023['start'][_0x4619('0x10c')](_0x2f9dcd['end'])||_0x55b023[_0x4619('0x59')][_0x4619('0x10c')](_0x2f9dcd['start']);if(_0x1e75fe||_0x55b023['getIntersection'](_0x2f9dcd)){const _0x508e64=_0x55b023[_0x4619('0x157')](_0x2f9dcd)&&Bt(this[_0x4619('0x54')][_0x4619('0x146')],_0x2f9dcd['start'],_0x55b023),_0x301339=_0x2f9dcd[_0x4619('0x157')](_0x55b023)&&Bt(this[_0x4619('0x54')][_0x4619('0x146')],_0x55b023[_0x4619('0xfd')],_0x2f9dcd);_0x5df96d[_0x4619('0x7e')]({'suggestion':_0x15d1c8,'meta':{'isOwn':_0x4240c6==_0x15d1c8[_0x4619('0x122')],'isNextTo':_0x1e75fe,'isInsideObject':_0x508e64,'containsRangeInObject':_0x301339}}),_0x68d8e1=!0x0;break;}}if(_0x68d8e1)break;}}return _0x5df96d;}[_0x4619('0x117')](_0x4cc350,_0x30d3ca,_0x15e116,_0x972de7,_0x4a2111){this[_0x4619('0x54')][_0x4619('0x13a')](_0x385f04=>{let _0xd2f946=_0x4619('0x111')+_0x4cc350+':'+_0x30d3ca+':'+_0x15e116;_0x4a2111&&(_0xd2f946=_0xd2f946+':'+_0x4a2111),_0x385f04[_0x4619('0xc0')](_0xd2f946,{'range':_0x972de7,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4619('0x52')](_0x42959c){const _0x7a9cbe=_0x42959c['previous'],_0x2d540f=_0x42959c[_0x4619('0x166')];_0x42959c[_0x4619('0x75')]=null,_0x42959c[_0x4619('0x166')]=null,null!=_0x7a9cbe&&(_0x7a9cbe[_0x4619('0x166')]=_0x2d540f),null!=_0x2d540f&&(_0x2d540f['previous']=_0x7a9cbe),'ready'==this[_0x4619('0xd8')][_0x4619('0x21')](_0x42959c)&&(this[_0x4619('0xd8')][_0x4619('0x130')](_0x42959c,'removed'),this[_0x4619('0x27')](_0x4619('0x39'),_0x42959c,_0x7a9cbe,_0x2d540f));}['_setSuggestionData'](_0x178ede){const _0x3e1353=_0x178ede['id'],_0x1ee849=this[_0x4619('0xd0')](_0x178ede);if(this['_adapter']&&this[_0x4619('0x32')]['addSuggestion']){const _0x284c14=this[_0x4619('0x91')]['plugins'][_0x4619('0x21')](_0x4619('0x165')),_0x12b45a=_0x1ee849[_0x4619('0x2c')],_0x30802c=_0x1ee849[_0x4619('0x170')]?_0x1ee849[_0x4619('0x4a')]+':'+_0x1ee849[_0x4619('0x170')]:_0x1ee849[_0x4619('0x4a')],_0x5c1b08=this[_0x4619('0x91')][_0x4619('0x85')],_0x3c5248=_0x284c14[_0x4619('0x153')](_0x2517b4(_0x5c1b08,'PENDING_ACTION_SUGGESTION')),_0x49d642={'id':_0x3e1353,'type':_0x30802c,'hasComments':_0x12b45a,'data':_0x178ede[_0x4619('0xdf')]||null,'originalSuggestionId':_0x178ede[_0x4619('0xa2')]||null,'attributes':_0x1ee849['attributes']};this[_0x4619('0x32')][_0x4619('0xf5')](_0x49d642)[_0x4619('0x12a')](_0x29e50d=>{_0x1ee849['_saved']=!0x0,_0x284c14[_0x4619('0xa0')](_0x3c5248),_0x29e50d&&_0x29e50d['createdAt']&&(this[_0x4619('0x62')][_0x4619('0x21')](_0x3e1353)[_0x4619('0x9d')]=_0x29e50d[_0x4619('0x9d')]);})[_0x4619('0x44')](_0x30d5fb=>{throw _0x30b529(_0x4619('0x3e')),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x1ee849[_0x4619('0x72')]();}),_0x1ee849[_0x4619('0xbf')](),this['_suggestions'][_0x4619('0x67')](_0x1ee849['id']),this['_suggestionState'][_0x4619('0x67')](_0x1ee849),_0x30d5fb;});}return _0x1ee849;}[_0x4619('0xae')](_0x5df1fa){return this['_blockAttributeKeys'][_0x4619('0x1b')](_0x5df1fa);}[_0x4619('0xd9')](_0x4e81b6,_0x2f9baf){const _0x16eb8d=this[_0x4619('0x91')][_0x4619('0xc4')]['get'](_0x4619('0x165')),_0x4b0e65=this['getSuggestion'](_0x4e81b6);if(this['_adapter']&&this[_0x4619('0x32')]['updateSuggestion']){if(_0x4b0e65['_saved']){const _0x2807e2=_0x16eb8d[_0x4619('0x153')](_0x2517b4(this['editor'][_0x4619('0x85')],_0x4619('0x12c')));this['_adapter'][_0x4619('0x45')](_0x4e81b6,_0x2f9baf)['then'](()=>{_0x16eb8d[_0x4619('0xa0')](_0x2807e2);});}else _0x4b0e65['on'](_0x4619('0x5e'),()=>{this[_0x4619('0xd9')](_0x4e81b6,_0x2f9baf);});}}[_0x4619('0x118')](_0x4db824){if(!this[_0x4619('0x32')]||!this[_0x4619('0x32')][_0x4619('0x4e')])throw new _0x520d16('track-changes-adapter-missing-getsuggestion',this);return this['_adapter'][_0x4619('0x4e')](_0x4db824);}[_0x4619('0x34')](_0x1d6b6c){const {id:_0x29e6e0,type:_0x28df38,subType:_0xe1fbe9,authorId:_0x4c49b2}=this[_0x4619('0xb')](_0x1d6b6c),_0x486a56=this['_suggestions'][_0x4619('0x21')](_0x29e6e0)||this[_0x4619('0x71')](_0x28df38,_0xe1fbe9,_0x29e6e0,_0x4c49b2,{});switch(this[_0x4619('0xde')](_0x486a56,_0x28df38,_0xe1fbe9,_0x4c49b2),this[_0x4619('0xd8')]['get'](_0x486a56)){case _0x4619('0x1e'):this[_0x4619('0x118')](_0x29e6e0)[_0x4619('0x12a')](_0x577993=>{let _0x450100=Promise['resolve']();_0x577993[_0x4619('0x2c')]&&(_0x450100=this[_0x4619('0xd2')]['fetchCommentThread']({'channelId':this[_0x4619('0x91')][_0x4619('0x160')]['get'](_0x4619('0x74')),'threadId':_0x29e6e0})),_0x450100[_0x4619('0x12a')](()=>{this['addSuggestionData'](_0x577993)[_0x4619('0x167')]=!0x0;});}),this[_0x4619('0xd8')][_0x4619('0x130')](_0x486a56,'markerReady');break;case _0x4619('0x5b'):this[_0x4619('0xd9')](_0x29e6e0,{'state':_0x4619('0x86')});case _0x4619('0x9c'):this[_0x4619('0xd8')][_0x4619('0x130')](_0x486a56,_0x4619('0xa3')),this['fire']('suggestionLoaded',_0x486a56);break;case _0x4619('0xa3'):this[_0x4619('0x27')](_0x4619('0x168'),_0x486a56);}return _0x486a56[_0x4619('0x17e')](_0x1d6b6c),_0x486a56;}[_0x4619('0x26')](_0x5ec784){const _0x249dab=Array[_0x4619('0x35')](_0x5ec784),_0x24ec48=_0x249dab['filter'](_0x396c88=>_0x4619('0x37')==_0x396c88[_0x4619('0x4a')]);this[_0x4619('0x92')](_0x24ec48);const _0x5b728b=_0x249dab[_0x4619('0x149')](_0x3b80c1=>!_0x3b80c1[_0x4619('0xe0')]&&'attribute'!=_0x3b80c1[_0x4619('0x4a')]),_0x26a37d=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1ab4c5=>!_0x1ab4c5[_0x4619('0xe0')]&&_0x4619('0x37')!=_0x1ab4c5[_0x4619('0x4a')]),_0x52ebfa=_0x26a37d[_0x4619('0x149')](_0x1bf8e4=>!_0x5ec784[_0x4619('0x1b')](_0x1bf8e4)),_0x4714ae=new Map(_0x26a37d[_0x4619('0x102')](_0x1e35a8=>[_0x1e35a8,this[_0x4619('0xef')][_0x4619('0xb8')](_0x1e35a8[_0x4619('0x4a')],_0x1e35a8[_0x4619('0x170')],_0x4619('0x17d'))])),_0x24eba6=new Map(_0x26a37d['map'](_0x3c237a=>[_0x3c237a,_0x3c237a[_0x4619('0xf4')]()])),_0xdfc609=new Set(),_0x5d71c5=new Set();for(let _0x88eea0=0x0;_0x88eea0<_0x5b728b[_0x4619('0x119')];_0x88eea0++)_0x3b697d(_0x5b728b[_0x88eea0],_0x5b728b,_0x88eea0+0x1);for(let _0x4d267a=0x0;_0x4d267a<_0x5b728b[_0x4619('0x119')];_0x4d267a++)_0x3b697d(_0x5b728b[_0x4d267a],_0x52ebfa,0x0);const _0x2bb494=new Set();for(let _0x54bc8a=0x0;_0x54bc8a<_0x5b728b['length'];_0x54bc8a++){const _0x48db9e=_0x5b728b[_0x54bc8a];!_0x5d71c5[_0x4619('0x1b')](_0x48db9e)&&_0x48db9e['previous']&&(_0x2bb494[_0x4619('0x153')](_0x48db9e[_0x4619('0x75')]),_0x48db9e[_0x4619('0x75')][_0x4619('0x166')]===_0x48db9e&&(_0x48db9e[_0x4619('0x75')][_0x4619('0x166')]=null),_0x48db9e[_0x4619('0x75')]=null),!_0xdfc609['has'](_0x48db9e)&&_0x48db9e[_0x4619('0x166')]&&(_0x2bb494[_0x4619('0x153')](_0x48db9e['next']),_0x48db9e[_0x4619('0x166')]['previous']===_0x48db9e&&(_0x48db9e['next'][_0x4619('0x75')]=null),_0x48db9e['next']=null);}function _0x3b697d(_0x2833f9,_0x21f15a,_0x44b5f6){for(let _0x2ec97b=_0x44b5f6;_0x2ec97b<_0x21f15a[_0x4619('0x119')];_0x2ec97b++){const _0x2bf2ad=_0x5a782d(_0x2833f9,_0x21f15a[_0x2ec97b]);_0x2bf2ad&&(_0x2bf2ad[0x0][_0x4619('0x166')]=_0x2bf2ad[0x1],_0x2bf2ad[0x1][_0x4619('0x75')]=_0x2bf2ad[0x0],_0xdfc609[_0x4619('0x153')](_0x2bf2ad[0x0]),_0x5d71c5[_0x4619('0x153')](_0x2bf2ad[0x1]));}}function _0x5a782d(_0x486d69,_0x57d817){if(_0x486d69[_0x4619('0x122')]['id']!==_0x57d817[_0x4619('0x122')]['id'])return null;const _0x174e1c=_0x4714ae[_0x4619('0x21')](_0x486d69)(_0x486d69,_0x57d817,_0x24eba6[_0x4619('0x21')](_0x486d69),_0x24eba6[_0x4619('0x21')](_0x57d817));if(!_0x174e1c)return null;return _0x4714ae[_0x4619('0x21')](_0x57d817)(_0x486d69,_0x57d817,_0x24eba6[_0x4619('0x21')](_0x486d69),_0x24eba6['get'](_0x57d817))?_0x174e1c[0x1][_0x4619('0x145')]&&_0x174e1c[0x1][_0x4619('0x145')][_0x4619('0x119')]?null:_0x174e1c:null;}_0x2bb494[_0x4619('0x98')]&&this['_refreshSuggestionsChain'](_0x2bb494);}[_0x4619('0x92')](_0x144460){if(0x0==_0x144460[_0x4619('0x119')])return;const _0x47dd59=this[_0x4619('0x139')]({'skipNotAttached':!0x0})[_0x4619('0x149')](_0x4edd01=>'attribute'==_0x4edd01['type']&&_0x4edd01['_isDataLoaded']),_0x3e988a=[],_0x2898cd=new Map();for(const _0x3d427f of _0x47dd59){const _0x16a73f=_0x553bcb(_0x3d427f[_0x4619('0x2f')]);_0x2898cd[_0x4619('0x1b')](_0x16a73f)||(_0x2898cd[_0x4619('0x130')](_0x16a73f,_0x3e988a[_0x4619('0x119')]),_0x3e988a[_0x4619('0x7e')]([]));const _0x248346=_0x2898cd[_0x4619('0x21')](_0x16a73f);_0x3e988a[_0x248346][_0x4619('0x7e')](_0x3d427f);}!function(){_0x3e988a[_0x4619('0xda')]((_0x1bfc16,_0x59fa4b)=>{const _0x454508=_0x1bfc16[0x0][_0x4619('0x9d')],_0xa565a9=_0x59fa4b[0x0][_0x4619('0x9d')];return _0x454508==_0xa565a9?_0x1bfc16[0x0][_0x4619('0x2f')]['groupId']<_0x59fa4b[0x0][_0x4619('0x2f')][_0x4619('0x4c')]?-0x1:0x1:_0x454508<_0xa565a9?-0x1:0x1;});for(const _0x4216e8 of _0x3e988a)_0x4216e8[_0x4619('0xda')]((_0x2a7962,_0x45e9d4)=>_0x2a7962['id']<_0x45e9d4['id']?-0x1:0x1);}();for(let _0x313efe=0x0;_0x313efe<_0x3e988a[_0x4619('0x119')];_0x313efe++){if(0x0==_0x3e988a[_0x313efe]['length'])continue;const _0x10f179=[];for(let _0x1be3d=_0x313efe+0x1;_0x1be3d<_0x3e988a[_0x4619('0x119')];_0x1be3d++)0x0!=_0x3e988a[_0x1be3d][_0x4619('0x119')]&&_0x4b9404(_0x3e988a[_0x313efe],_0x3e988a[_0x1be3d])&&_0x10f179[_0x4619('0x7e')](_0x1be3d);for(const _0x513e4b of _0x10f179)_0x3e988a[_0x313efe]=_0x3e988a[_0x313efe]['concat'](_0x3e988a[_0x513e4b]),_0x3e988a[_0x513e4b]=[];}for(const _0x2b03eb of _0x3e988a)for(let _0x2751c5=0x0;_0x2751c5<_0x2b03eb[_0x4619('0x119')];_0x2751c5++)_0x2b03eb[_0x2751c5][_0x4619('0x166')]=_0x2b03eb[_0x2751c5+0x1]||null;for(const _0x16ec53 of _0x3e988a)for(let _0x505042=0x0;_0x505042<_0x16ec53['length'];_0x505042++)_0x16ec53[_0x505042][_0x4619('0x75')]=_0x16ec53[_0x505042-0x1]||null;function _0x4b9404(_0x2abdb4,_0x3158f7){if(_0x2abdb4[0x0][_0x4619('0x122')]!==_0x3158f7[0x0][_0x4619('0x122')])return!0x1;if(!function(_0x33d74e,_0x7972c9){if(!_0x33d74e['hasComments']&&!_0x7972c9[_0x4619('0x2c')])return!0x0;if(_0x33d74e[_0x4619('0x2c')]&&_0x7972c9[_0x4619('0x2c')])return!0x1;if(_0x33d74e[_0x4619('0x2c')]&&_0x7972c9[_0x4619('0x9d')]<_0x33d74e[_0x4619('0x145')][_0x4619('0x115')][_0x4619('0x21')](0x0)[_0x4619('0x9d')])return!0x0;if(_0x7972c9[_0x4619('0x2c')]&&_0x33d74e[_0x4619('0x9d')]<_0x7972c9[_0x4619('0x145')][_0x4619('0x115')][_0x4619('0x21')](0x0)[_0x4619('0x9d')])return!0x0;return!0x1;}(_0x2abdb4[0x0],_0x3158f7[0x0]))return!0x1;const _0x50470a=_0x130978(_0x2abdb4[0x0]['attributes'],'groupId'),_0x509d17=_0x130978(_0x3158f7[0x0][_0x4619('0x2f')],_0x4619('0x4c'));if(!_0x49ed37(_0x50470a,_0x509d17))return!0x1;return!!_0x2abdb4[_0x4619('0xc7')](_0x352f2e=>_0x3158f7[_0x4619('0x13b')](_0x30e03c=>_0x352f2e[_0x4619('0xf4')]()[_0x4619('0x10c')](_0x30e03c[_0x4619('0xf4')]())))&&_0x3158f7[_0x4619('0xc7')](_0x5304da=>_0x2abdb4[_0x4619('0x13b')](_0x15b87d=>_0x5304da[_0x4619('0xf4')]()[_0x4619('0x10c')](_0x15b87d[_0x4619('0xf4')]())));}}['_joinWithAdjacentSuggestions'](_0x465ff2){const _0x44025a=Array[_0x4619('0x35')](_0x465ff2),_0x33d597=this[_0x4619('0x139')]({'skipNotAttached':!0x0}),_0x2a1473=_0x33d597[_0x4619('0x149')](_0x4f4167=>!_0x465ff2['has'](_0x4f4167)),_0x376231=new Map(_0x44025a[_0x4619('0x102')](_0x3c4439=>[_0x3c4439,this[_0x4619('0xef')]['getSuggestionCallback'](_0x3c4439[_0x4619('0x4a')],_0x3c4439['subType'],_0x4619('0x11'))])),_0x284977=new Map(_0x33d597[_0x4619('0x102')](_0x1f05ac=>[_0x1f05ac,_0x1f05ac[_0x4619('0xa')]()]));for(let _0x5d8c3f=0x0;_0x5d8c3f<_0x44025a['length'];_0x5d8c3f++){if(_0x3c00c2(this,_0x44025a[_0x5d8c3f],_0x44025a,_0x5d8c3f+0x1))return!0x0;}for(let _0x325796=0x0;_0x325796<_0x44025a[_0x4619('0x119')];_0x325796++){if(_0x3c00c2(this,_0x44025a[_0x325796],_0x2a1473,0x0))return!0x0;}return!0x1;function _0x3c00c2(_0x2a4747,_0x3b18a7,_0x344b1c,_0x522cfa){for(let _0x59834c=_0x522cfa;_0x59834c<_0x344b1c[_0x4619('0x119')];_0x59834c++){const _0x50ed3c=_0x344b1c[_0x59834c];if(_0x50ed3c[_0x4619('0x4a')]!==_0x3b18a7[_0x4619('0x4a')]||_0x50ed3c['author']['id']!==_0x3b18a7[_0x4619('0x122')]['id']||_0x50ed3c['subType']!==_0x3b18a7[_0x4619('0x170')])continue;if(!Vt(_0x3b18a7,_0x50ed3c))continue;if('attribute'==_0x3b18a7['type']&&_0x3b18a7[_0x4619('0xdf')][_0x4619('0xc3')]!=_0x50ed3c[_0x4619('0xdf')]['oldValue'])continue;if(_0x4619('0x37')==_0x3b18a7[_0x4619('0x4a')]&&_0x2a4747[_0x4619('0xae')](_0x3b18a7[_0x4619('0xdf')][_0x4619('0x9')]))continue;if(_0x4619('0x137')==_0x3b18a7[_0x4619('0x4a')]){const _0x1d6f50=_0x2a4747[_0x4619('0x91')]['model'],_0x36bc64=_0x3b18a7[_0x4619('0xe3')]();if(_0x36bc64&&(_0x1d6f50[_0x4619('0x146')][_0x4619('0x3')](_0x36bc64)||_0x1d6f50[_0x4619('0x146')][_0x4619('0x16')](_0x36bc64)))continue;}const _0x44b83a=_0x376231[_0x4619('0x21')](_0x3b18a7),_0x304039=_0x284977[_0x4619('0x21')](_0x3b18a7),_0x4994d1=_0x284977[_0x4619('0x21')](_0x50ed3c),_0x19f7f8=_0x3b18a7[_0x4619('0x145')]&&_0x3b18a7['commentThread'][_0x4619('0x119')],_0x49768b=_0x50ed3c[_0x4619('0x145')]&&_0x50ed3c[_0x4619('0x145')][_0x4619('0x119')];if(!_0x19f7f8&&_0x44b83a(_0x4994d1,_0x304039))return _0x2a4747[_0x4619('0xa9')](_0x50ed3c,_0x3b18a7),_0x284977[_0x4619('0x67')](_0x3b18a7),!0x0;if(!_0x49768b&&_0x44b83a(_0x304039,_0x4994d1))return _0x2a4747[_0x4619('0xa9')](_0x3b18a7,_0x50ed3c),_0x284977['delete'](_0x50ed3c),!0x0;}return!0x1;}}['_joinSuggestions'](_0x2182ca,_0x51021a){if(_0x2182ca[_0x4619('0xe0')])for(const _0x1d99ac of _0x51021a[_0x4619('0xa')]())_0x2182ca[_0x4619('0xb2')](_0x1d99ac);else{const _0x374846=_0x51021a['getFirstRange']()['end'];this[_0x4619('0x3a')](_0x2182ca,this[_0x4619('0x54')][_0x4619('0x135')](_0x2182ca[_0x4619('0xf4')]()[_0x4619('0xfd')],_0x374846));}_0x51021a['removeMarkers']();}['_getMarkerAnnouncementText'](_0x5243ec,_0xe8303){const _0x2af39f=_0x5243ec[_0x4619('0x15d')](_0x4619('0x43'))||_0x5243ec['startsWith']('attribute')?_0x4619('0x136'):_0x5243ec[_0x4619('0xcf')]();return _0x2517b4(this[_0x4619('0x91')][_0x4619('0x85')],_0xe8303+'_'+_0x2af39f+_0x4619('0xe1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x35220f=this[_0x4619('0x91')];_0x18ed74(this[_0x4619('0x54')],({left:_0x3e26f0,entered:_0x5c988d})=>{const _0x5d727a=[];for(const _0x470f0d of _0x3e26f0){const {group:_0x2ba9e0,type:_0x21b95b}=this[_0x4619('0xb')](_0x470f0d[_0x4619('0xb3')]);if('suggestion'===_0x2ba9e0){_0x5d727a[_0x4619('0x7e')](this['_getMarkerAnnouncementText'](_0x21b95b,_0x4619('0x96')));break;}}for(const _0x3e1025 of _0x5c988d){const {group:_0x6dda85,type:_0x5eee37}=this[_0x4619('0xb')](_0x3e1025[_0x4619('0xb3')]);if(_0x4619('0x83')===_0x6dda85){_0x5d727a[_0x4619('0x7e')](this[_0x4619('0x10b')](_0x5eee37,_0x4619('0x17')));break;}}_0x5d727a[_0x4619('0x119')]&&_0x35220f['ui']['ariaLiveAnnouncer'][_0x4619('0x104')](_0x4619('0xcd'),_0x5d727a[_0x4619('0x11')]('\x20'));});}[_0x4619('0x10')](_0x985007){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x8ddf05=this[_0x4619('0x91')],_0x399440=_0x8ddf05[_0x4619('0xb5')][_0x4619('0x10e')]['differ'][_0x4619('0x13')]();if(0x0==_0x399440[_0x4619('0x119')])return!0x1;const _0x35bff7=[],_0x599284=_0x399440[_0x4619('0x149')](_0x24117b=>'attribute'==_0x24117b[_0x4619('0x4a')]),_0x4ac36c=_0x399440['filter'](_0x173eeb=>_0x4619('0x42')==_0x173eeb[_0x4619('0x4a')]&&_0x4619('0x7a')!=_0x173eeb[_0x4619('0xb3')]),_0x1ce008=_0x399440[_0x4619('0x149')](_0x3e9171=>_0x4619('0xa0')==_0x3e9171[_0x4619('0x4a')]&&_0x4619('0x7a')!=_0x3e9171[_0x4619('0xb3')]);for(const _0x20869a of _0x599284)_0x35bff7[_0x4619('0x7e')]({'key':_0x20869a['attributeKey'],'newValue':_0x20869a[_0x4619('0xf1')],'oldValue':_0x20869a[_0x4619('0x66')],'range':_0x4d7cc9(_0x20869a[_0x4619('0x121')])});for(const _0x1a65f8 of _0x4ac36c){const _0x13544d=_0x1ce008['find'](_0x4b7734=>_0x4b7734[_0x4619('0x25')][_0x4619('0x10c')](_0x1a65f8[_0x4619('0x25')]));_0x13544d&&_0x35bff7[_0x4619('0x7e')]({'key':_0x4619('0x156'),'newValue':_0x1a65f8['name'],'oldValue':_0x13544d[_0x4619('0xb3')],'range':_0x8ddf05[_0x4619('0xb5')]['createRangeOn'](_0x1a65f8[_0x4619('0x25')]['nodeAfter'])});}return 0x0!=_0x35bff7['length']&&this[_0x4619('0x36')](_0x985007,_0x35bff7);function _0x4d7cc9(_0xdbe8c2){return null==_0xdbe8c2[_0x4619('0x59')][_0x4619('0x8')]&&_0xdbe8c2[_0x4619('0x59')]['parent']==_0xdbe8c2['start']['nodeAfter']?Ut(_0xdbe8c2[_0x4619('0xfd')]['nodeAfter'],_0x8ddf05['model']):_0xdbe8c2;}}['_processAttributeSuggestions'](_0x36d0f7){let _0xee72a2=!0x1;const _0x281baa=this['editor'][_0x4619('0xb5')]['document'][_0x4619('0x77')][_0x4619('0x13e')]()[_0x4619('0x149')](_0x188eea=>_0x188eea['data']['newRange']&&_0x188eea['name'][_0x4619('0x15d')](_0x4619('0x20')));for(const _0x3d427c of _0x281baa){const {subType:_0x393814,id:_0x5d532a}=this[_0x4619('0xb')](_0x3d427c['name']),_0x20fba8=_0x393814[_0x4619('0x7d')]('|')[0x0];for(const _0x48037e of this[_0x4619('0x139')]({'skipNotAttached':!0x0}))_0x48037e['id']!=_0x5d532a&&_0x4619('0x37')==_0x48037e[_0x4619('0x4a')]&&_0x48037e['data']&&_0x48037e[_0x4619('0xdf')][_0x4619('0x9')]==_0x20fba8&&_0x48037e[_0x4619('0xf4')]()[_0x4619('0xd6')](_0x3d427c[_0x4619('0xdf')][_0x4619('0x155')])&&(this[_0x4619('0x16a')](_0x48037e,_0x3d427c['data']['newRange'],_0x36d0f7),_0xee72a2=!0x0);}return _0xee72a2;}[_0x4619('0x87')](_0x160226){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x160226();const _0x490ab4=this[_0x4619('0x91')];this[_0x4619('0xf8')]=_0x490ab4[_0x4619('0xb5')][_0x4619('0x10e')][_0x4619('0x81')],_0x160226();const _0xbb75ae=new Map();for(const _0x56c431 of _0x490ab4[_0x4619('0xb5')][_0x4619('0x10e')]['history']['getOperations'](this[_0x4619('0xf8')]))if([_0x4619('0xd'),_0x4619('0x60'),_0x4619('0xaa'),_0x4619('0xcc')]['includes'](_0x56c431[_0x4619('0x4a')])){const _0x3685eb=_0x56c431[_0x4619('0x24')],_0x331acd=_0xbb75ae[_0x4619('0x21')](_0x3685eb)||[];_0x331acd[_0x4619('0x7e')](_0x56c431),_0xbb75ae[_0x4619('0x130')](_0x3685eb,_0x331acd);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x4fd7f9,_0x124062]of _0xbb75ae){const _0x25ff15=_0x2269fc();_0x490ab4[_0x4619('0xb5')][_0x4619('0x161')](_0x4fd7f9,_0x247b85=>{const _0x575042=[];for(const _0x30d661 of _0x124062){let _0x906331,_0x426644,_0x18d852,_0x288484;if(_0x4619('0xd')==_0x30d661[_0x4619('0x4a')]){const _0x27885a=_0x30d661;_0x906331=Ut(_0x27885a[_0x4619('0x25')][_0x4619('0x14b')],_0x490ab4['model']),_0x426644=_0x4619('0x156'),_0x18d852=_0x27885a[_0x4619('0x61')],_0x288484=_0x27885a[_0x4619('0x2e')];}else{const _0x3b2be8=_0x30d661,_0x3f41c5=this[_0x4619('0xae')](_0x3b2be8[_0x4619('0x9')]),_0x4d7b1f=this['_inlineAttributeKeys'][_0x4619('0x1b')](_0x3b2be8[_0x4619('0x9')]);if(!_0x3f41c5&&!_0x4d7b1f)continue;_0x906331=_0x3f41c5?Ut(_0x3b2be8[_0x4619('0x121')][_0x4619('0xfd')]['nodeAfter'],_0x490ab4[_0x4619('0xb5')]):_0x3b2be8[_0x4619('0x121')],_0x426644=_0x3b2be8[_0x4619('0x9')],_0x18d852=_0x4619('0xaa')==_0x30d661[_0x4619('0x4a')]?void 0x0:_0x3b2be8[_0x4619('0xc')],_0x288484=_0x3b2be8[_0x4619('0xc3')];}this['markAttributeChange'](_0x906331,_0x426644,_0x288484,_0x18d852,{'groupId':_0x25ff15}),_0x575042[_0x4619('0x7e')]({'range':_0x906331,'key':_0x426644,'newValue':_0x18d852,'oldValue':_0x288484});}this[_0x4619('0x36')](_0x247b85,_0x575042);});}}[_0x4619('0x36')](_0x13ae7a,_0x333c05){if(0x0==_0x333c05[_0x4619('0x119')])return!0x1;let _0x11c25a=!0x1;for(const _0x52f27f of _0x333c05){const _0x578e49=this[_0x4619('0x64')](_0x52f27f[_0x4619('0x121')],'attribute')['filter'](_0x51e388=>!_0x51e388['meta'][_0x4619('0xc9')])[_0x4619('0x102')](_0x4ac194=>_0x4ac194[_0x4619('0x83')]),_0x4b5770=_0x553bcb({'newValue':_0x52f27f['newValue']});_0x578e49[_0x4619('0x149')](_0x346845=>{const [_0x160362,_0x2e95e7]=_0x346845['subType'][_0x4619('0x7d')]('|');return _0x160362==_0x52f27f['key']&&_0x2e95e7!=_0x4b5770;})[_0x4619('0xd4')](_0x3d4180=>{this['_reduceSuggestionAttributeRange'](_0x3d4180,_0x52f27f[_0x4619('0x121')],_0x13ae7a),_0x11c25a=!0x0;});}return _0x11c25a;}['_reduceSuggestionAttributeRange'](_0x2de0d2,_0x334ec6,_0x18984f){const _0x812ce3=_0x2de0d2[_0x4619('0xf4')]()[_0x4619('0x172')](_0x334ec6);0x0!==_0x812ce3[_0x4619('0x119')]?0x1!==_0x812ce3[_0x4619('0x119')]?this[_0x4619('0xff')](_0x2de0d2,_0x334ec6[_0x4619('0xfd')],_0x334ec6['end']):this[_0x4619('0x3a')](_0x2de0d2,_0x812ce3[0x0]):_0x18984f['removeMarker'](_0x2de0d2[_0x4619('0xe6')]());}}class $t{constructor(_0x44ef5d){this[_0x4619('0x152')]=_0x44ef5d,this['_model']=_0x44ef5d[_0x4619('0xb5')],this[_0x4619('0xbc')]=new Map(),this[_0x4619('0xad')]=new Map(),this[_0x4619('0x23')]();}[_0x4619('0x15')](_0x5da02e,_0x3ae095,_0x3ad4e1,_0x18109d,_0x4c10ff,_0x4ddd68){return new _0x3f8809(this['_model'],{'type':_0x5da02e,'subType':_0x3ae095,'id':_0x3ad4e1,'author':_0x18109d,'creator':_0x18109d,'attributes':_0x4c10ff,'onAttributesChange':_0x4ddd68,'onAccept':(..._0x1fc176)=>this[_0x4619('0xb8')](_0x5da02e,_0x3ae095,'accept')(..._0x1fc176),'onDiscard':(..._0x11919a)=>this[_0x4619('0xb8')](_0x5da02e,_0x3ae095,_0x4619('0x72'))(..._0x11919a)});}[_0x4619('0x17b')](_0x2b7d8d,_0x32ed4a,_0xea1307,_0x11159f){const _0x1f8f6a=_0x2b7d8d+':'+_0x32ed4a+':'+_0xea1307;this[_0x4619('0xbc')][_0x4619('0x130')](_0x1f8f6a,_0x11159f);}['getSuggestionCallback'](_0x195ae9,_0x4f2f15,_0x395df5){const _0x563444=_0x195ae9+':'+_0x4f2f15+':'+_0x395df5;return this[_0x4619('0xbc')]['get'](_0x563444)||this[_0x4619('0xad')][_0x4619('0x21')](_0x195ae9+':'+_0x395df5);}[_0x4619('0x23')](){const _0x538a15=()=>!0x1,_0x343d48=_0x4e9a4e=>{_0x4e9a4e[_0x4619('0xda')]((_0x5d1405,_0x4f7c07)=>_0x5d1405['start'][_0x4619('0x108')](_0x4f7c07[_0x4619('0xfd')])?0x1:-0x1),this[_0x4619('0x54')][_0x4619('0x13a')](_0x3454d8=>{for(const _0x5c260a of _0x4e9a4e){let _0x1148ce;_0x1148ce=_0x5c260a[_0x4619('0x59')][_0x4619('0x11e')]&&_0x5c260a[_0x4619('0x59')][_0x4619('0x16b')]==_0x5c260a[_0x4619('0xfd')]['nodeAfter']?_0x3454d8[_0x4619('0x6b')](_0x5c260a[_0x4619('0xfd')]['nodeAfter'],'on'):_0x3454d8[_0x4619('0x6b')](_0x5c260a),this[_0x4619('0x54')][_0x4619('0x8e')](_0x1148ce,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x66500e=(_0xae7c1a,_0x4325b1)=>{_0x4325b1&&this[_0x4619('0x54')][_0x4619('0x13a')](_0x3b3f36=>{const {commandName:_0x1b9ca3,commandParams:_0x30c773=[]}=_0x4325b1,_0x2826fd=_0xae7c1a['map'](_0x5225eb=>(Tt(_0x5225eb)&&(_0x5225eb=this[_0x4619('0x54')]['createRange'](_0x5225eb[_0x4619('0x59')])),_0x5225eb))[_0x4619('0x149')](_0x599af3=>_0x4619('0x8c')!==_0x599af3[_0x4619('0xec')][_0x4619('0x99')]);if(_0x2826fd[_0x4619('0x119')]<0x1)return;const _0x416bae=Array['from'](this['_model'][_0x4619('0x10e')][_0x4619('0x110')][_0x4619('0xa')]())[_0x4619('0x102')](_0x7ca010=>_0x5794cd[_0x4619('0x14a')](_0x7ca010));_0x3b3f36[_0x4619('0xea')](_0x2826fd);for(const _0x2eb005 of this[_0x4619('0x152')]['commands'][_0x4619('0x147')]())_0x2eb005[_0x4619('0xd5')]();_0x30c773[_0x4619('0x7e')]({'forceDefaultExecution':!0x0}),this[_0x4619('0x152')][_0x4619('0x150')](_0x1b9ca3,..._0x30c773);const _0x395457=_0x416bae[_0x4619('0x149')](_0x38bc95=>_0x4619('0x8c')!=_0x38bc95[_0x4619('0xec')]['rootName']);_0x395457[_0x4619('0x119')]>0x0&&_0x3b3f36[_0x4619('0xea')](_0x395457);for(const _0x35d580 of _0x416bae)_0x35d580[_0x4619('0x12')]();});},_0x433b1d=(_0x23ca46,_0x435b93)=>0x1==_0x23ca46[_0x4619('0x119')]&&0x1==_0x435b93[_0x4619('0x119')]&&_0x23ca46[0x0]['end'][_0x4619('0x10c')](_0x435b93[0x0][_0x4619('0xfd')]),_0x1f396d=(_0x2ef144,_0x1d0027,_0x3063a9,_0x141f93)=>Ot(_0x2ef144,_0x1d0027,_0x3063a9,_0x141f93,this['_model'])?[_0x2ef144,_0x1d0027]:Ot(_0x1d0027,_0x2ef144,_0x141f93,_0x3063a9,this[_0x4619('0x54')])?[_0x1d0027,_0x2ef144]:null;this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0xc5'),_0x538a15),this[_0x4619('0xad')]['set'](_0x4619('0x7c'),_0x343d48),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x6'),_0x433b1d),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x151'),_0x1f396d),this[_0x4619('0xad')]['set'](_0x4619('0x113'),_0x343d48),this[_0x4619('0xad')]['set'](_0x4619('0x93'),_0x538a15),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x78'),_0x433b1d),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x177'),_0x1f396d),this[_0x4619('0xad')]['set'](_0x4619('0x31'),_0x66500e),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x120'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x12f'),_0x433b1d),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0xe9'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x49'),_0x66500e),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0xd7'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')]('formatBlock:join',_0x433b1d),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0x123'),_0x538a15),this[_0x4619('0xad')][_0x4619('0x130')](_0x4619('0xac'),_0x538a15),this['_defaultCallbacks'][_0x4619('0x130')](_0x4619('0x17a'),(_0xc72400,_0x39c377)=>{if(!_0x39c377)return;const _0x3b47b3=this['_editor'][_0x4619('0xc4')][_0x4619('0x21')](p);this['_model'][_0x4619('0x13a')](_0x57737a=>{if('$elementName'==_0x39c377['key'])for(const _0x481109 of _0xc72400){const _0x2b0d23=_0x481109['start'][_0x4619('0x14b')],_0x18fe41=_0x39c377['oldValue'];_0x57737a[_0x4619('0xd')](_0x2b0d23,_0x18fe41);}else{if(_0x3b47b3[_0x4619('0xae')](_0x39c377['key']))for(const _0x2770ad of _0xc72400)void 0x0!==_0x39c377[_0x4619('0xc3')]?_0x57737a[_0x4619('0x17f')](_0x39c377[_0x4619('0x9')],_0x39c377[_0x4619('0xc3')],_0x2770ad[_0x4619('0xfd')][_0x4619('0x14b')]):_0x57737a[_0x4619('0xaa')](_0x39c377[_0x4619('0x9')],_0x2770ad[_0x4619('0xfd')]['nodeAfter']);else for(const _0xe731ca of _0xc72400)_0x39c377['oldValue']?_0x57737a[_0x4619('0x17f')](_0x39c377['key'],_0x39c377[_0x4619('0xc3')],_0xe731ca):_0x57737a['removeAttribute'](_0x39c377[_0x4619('0x9')],_0xe731ca);}});}),this[_0x4619('0xad')]['set'](_0x4619('0x48'),_0x433b1d);}}function Bt(_0x485f60,_0x5905e5,_0x13267d){for(const _0x6fc4d of _0x5905e5['parent'][_0x4619('0x7b')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x6fc4d[_0x4619('0xec')]==_0x6fc4d)return!0x1;if(!_0x13267d[_0x4619('0x14')](_0x6fc4d))return!0x1;if(_0x485f60[_0x4619('0x3')](_0x6fc4d)||_0x485f60[_0x4619('0x16')](_0x6fc4d))return!0x0;}return!0x1;}function Tt(_0x1914e1){return _0x1914e1[_0x4619('0x59')]['parent']==_0x1914e1[_0x4619('0xfd')][_0x4619('0x14b')]&&_0x1914e1[_0x4619('0x59')][_0x4619('0xb1')];}function xt(_0x229db6,_0x47c514,_0x40f680,_0x27604d){const _0x2bc5b3=_0x2ae9dd=>!_0x2ae9dd['item']['is'](_0x4619('0x112'))&&!_0x27604d[_0x4619('0x3')](_0x2ae9dd[_0x4619('0x105')]),_0x54c612=_0x229db6['start'][_0x4619('0x53')](_0x2bc5b3),_0x1df51e=_0x229db6[_0x4619('0x59')][_0x4619('0x53')](_0x2bc5b3,{'direction':'backward'});return(!_0x229db6['start'][_0x4619('0x10c')](_0x54c612)||!_0x229db6[_0x4619('0x59')][_0x4619('0x10c')](_0x1df51e))&&(_0x54c612[_0x4619('0x108')](_0x1df51e)?_0x40f680[_0x4619('0x4')](_0x47c514,{'range':_0x40f680[_0x4619('0x135')](_0x54c612,_0x1df51e)}):_0x40f680['removeMarker'](_0x47c514),!0x0);}function Et(_0x4d6ef9){return _0x553bcb(_0x4d6ef9);}function Rt(_0x12ef0c){const _0x184f92=_0x12ef0c['start']['nodeAfter'];return _0x184f92&&_0x184f92['is']('element');}function Ut(_0x3fc9f9,_0x2dc9bd){const _0x8d8e3f=_0x2dc9bd['schema'][_0x4619('0x3')](_0x3fc9f9)||_0x2dc9bd[_0x4619('0x146')][_0x4619('0x15f')](_0x3fc9f9);return _0x2dc9bd[_0x4619('0x135')](_0x2dc9bd[_0x4619('0x28')](_0x3fc9f9,_0x4619('0x80')),_0x8d8e3f?_0x2dc9bd[_0x4619('0x16c')](_0x3fc9f9):_0x2dc9bd[_0x4619('0x28')](_0x3fc9f9,_0x4619('0x59')));}function Ot(_0x40ec0a,_0x50cf63,_0x2f3630,_0xdf22db,_0x1162ce){if(!Vt(_0x40ec0a,_0x50cf63))return!0x1;if(_0x2f3630[_0x4619('0x59')]['isEqual'](_0xdf22db['start']))return!0x0;if(_0x40ec0a['type']!=_0x50cf63[_0x4619('0x4a')])return!0x1;if(!_0x2f3630[_0x4619('0x59')][_0x4619('0x8a')](_0xdf22db[_0x4619('0xfd')]))return!0x1;const _0x2ad6fd=_0x1162ce[_0x4619('0x135')](_0x2f3630[_0x4619('0x59')],_0xdf22db[_0x4619('0xfd')])[_0x4619('0x13f')]();for(const _0xf44118 of _0x2ad6fd)if(['elementStart',_0x4619('0x57')][_0x4619('0x154')](_0xf44118[_0x4619('0x4a')])&&_0x1162ce[_0x4619('0x146')]['isLimit'](_0xf44118[_0x4619('0x105')]))return!0x1;return!0x0;}function Vt(_0x2b4061,_0x34fbfd){return!(!_0x2b4061[_0x4619('0x15c')]||!_0x34fbfd['_isDataLoaded'])&&_0x49ed37(_0x2b4061[_0x4619('0x2f')],_0x34fbfd['attributes']);}function Gt(_0xeac5be,_0x322619){const _0x1f7b20=Ft(_0xeac5be['attributes']),_0x3a2b93=Ft(_0x322619);if(!_0xeac5be[_0x4619('0x15c')])return!0x1;for(const _0x348091 of Object['keys'](_0x3a2b93))if(!_0x49ed37(_0x1f7b20[_0x348091],_0x3a2b93[_0x348091]))return!0x1;return!0x0;}function Ft(_0x10bcee){const _0x65c0fe=Object[_0x4619('0xf7')]({},_0x10bcee);return delete _0x65c0fe[_0x4619('0x179')],delete _0x65c0fe[_0x4619('0xa1')],_0x65c0fe;}function Pt(_0x41b21f){return _0x4619('0x37')==_0x41b21f[_0x4619('0x4a')]?_0x41b21f['subType'][_0x4619('0x7d')]('|')[0x0]:null;}
23
+ const _0x2295=['stopListening','acceptAllSuggestions','_handleNewSuggestionMarker','$text','formatBlock:join','_getSuggestionData','addSuggestionData','add','nodeAfter','markerReady','track-changes-command-not-found','range','addSuggestion','getFirstRange','markers','stop','containsRange','addMarkerName','resolve','isArray','markInlineFormat','_addSuggestionMarker','marker-count','acceptSelectedSuggestions','toJSON','removeMarker:suggestion:formatBlock','formatBlock','suggestion-type','ck-suggestion-marker--active','splice','getItems','_breakSuggestionMarker','registerCustomCallback','formatInline:discard','formatInline','TrackChangesEditing','ready','_suggestions','deletion','_suggestionState','trackChanges','commandName','discard','getAllAdjacentSuggestions','upcast','oldRange','attribute','attributeKey','addMarker:suggestion','default','getLastMatchingPosition','originalSuggestionId','_processAttributeChanges','trackChangesCommand','_removeSuggestion','never','markerName','ENTER','_model','nodeBefore','options','isNextTo','isIntersecting','_descriptionFactory','getRanges','getSuggestions','creator','consume','fromCharCode','oldValue','insertion:accept','every','_rangeIsInLocalUserInsertion','_customCallbacks','getCommentThread','isAtEnd','FORMATTING','parent','getChangedMarkers','fromRange','data-suggestion','fire','acceptSuggestion','data','subType','type','value','highest','attributeOldValue','getCustomProperty','hasComments','PendingActions','getFirstMarker','newValue','reconvertMarker','createPositionAt','removeComment','find','documentSelection','position','locale','getMarkers','createPositionAfter','after','createElement','isInsideObject','addHighlight','group','getAttribute','getUser','getMultiRangeId','define','_registerInlineAttribute','isEqual','markMultiRangeBlockFormat','removeMarkers','conversion','formatBlock:accept','next','removed','set','getDifference','isMultiRange','push','formatGroupId','assign','detach','activeMarkers','_joinWithAdjacentSuggestions','meta','keys','_splitMarkerName','_inlineAttributeKeys','_isForcedDefaultExecutionBlock','skipNestingCheck','pop','_adapter','createdAt','forEach','getContainedElement','editingDowncast','getIntersection','newRange','buildSuggestion','isLimit','addRange','selection','setSelection','isBlock','suggestion:','$elementName','_findSuggestions','@external','track-changes-adapter-already-set','markerToHighlight','addAttribute','getNearestSelectionRange','isUndo','ck-suggestion-marker-','name','change','formatInline:chain','delete','getChanges','_isDataLoaded','startsWith','editing','toUpperCase','isOwn','normal','getSuggestion','enableReadOnlyMode','addComment','moveTargetPosition','rejected','dataDowncast','_editor','widget','suggestionLoaded','error-saving-suggestion-data-suggestion-discarded','document','_processAttributeSuggestions','attributeNewValue','track-changes-user-not-found','ck-suggestion-marker-formatBlock','getRange','containsItem','consumable','isLocal','_addThreadToSuggestion','size','authorName','schema','insertion:','trackChanges.trackFormatChanges','markAttributeChange','filter','removeAttribute','_SUGGESTION_ANNOUNCEMENT','accept','ariaLiveAnnouncer','removeMarker:suggestion:attribute','has','isAfter','targetPosition','unbindElementFromMarkerName','_checkSuggestionCorrectness','isIntersectingWithRange','forward','root','isObject','change:data','getWalker','markMultiRangeInsertion','dataToMarker','from','$graveyard','LEAVE','groupId','includes','refresh','isBefore','isCollapsed','writer','updateMarker','PENDING_ACTION_SUGGESTION','update:suggestion','remove','length','getSuggestionCallback','containsRangeInObject','authoredAt','join','addMarker:suggestion:attribute','applyOperation','warn','announce','addMarker:suggestion:formatBlock','_getMarkerAnnouncementText','rootName','suggestionChanged','showSuggestionHighlights','_registerDefaultCallbacks','ck-suggestion-marker-formatInline','addCommentThread','insert','setAttribute','substr','_defaultCallbacks','isDocumentOperation','_setSuggestionData','commands','updateSuggestion','_initAriaMarkerChangeAnnouncements','_updateSuggestionData','_reduceSuggestionAttributeRange','format','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.','registerPostFixer','deletion:','dataReady','deletion:join','deleteContent','_onDiscard','listenTo','removeMarker','some','discardSelectedSuggestions','_saved','previous','setTo','adapter','track-changes-suggestion-data-mismatch','suggestion','formatBlock:','isRemovable','change:activeMarkers','markDeletion','trackChanges.mergeNestedSuggestions','commentThread','insertion:join','mapper','values','_recordAttributeSuggestionsFromVersion','getShiftedBy','model','_refreshAttributeSuggestionsChain','_recordAttributeChanges','before','_joinSuggestions','_refreshSuggestionsChain','clear','attribute:accept','end','discardSuggestion','createSelection','ck-suggestion-marker','_cutOutSuggestionMarker','newName','containerElement','markInsertion','_createSuggestion','substring','_blockAttributeKeys','multipleBlocks','differ','formatBlock:chain','_trackFormatChanges','Users','comments','backward','catch','attribute:discard','containsPosition','key','attributes','isExternal','editor','batch','move','author','_setSuggestionRange','map','element','item','createRangeOn','rename','_commentsRepository','splitPosition','track-changes-adapter-missing-getsuggestion','collaboration.channelId','_reduceExistingSuggestions','formatBlock:discard','fetchCommentThread','multi','high','plugins','howMany','markerNameToElements','deletion:discard','then','markMultiRangeDeletion','concat','formatInline:','change:_saved','elementStart','for','_suggestionFactory','createRange','_isBlockAttribute','track-changes-suggestion-not-found','addClass','hasSuggestion','isInContent','_getAuthorFromId','start','enableCommand','always','history','pluginName','removeClass','config','getAncestors','rethrowUnexpectedError','_mergeNestedSuggestions','low','notReady','_enabledCommands','_enableDefaultAttributesIntegration','deletion:chain','insertion','forceDefaultExecution','get','split','sort','enqueueChange','execute','discardAllSuggestions','chain'];(function(_0x2dbd47,_0x2295ed){const _0x2a59b2=function(_0x1e07cb){while(--_0x1e07cb){_0x2dbd47['push'](_0x2dbd47['shift']());}};_0x2a59b2(++_0x2295ed);}(_0x2295,0x6f));const _0x2a59=function(_0x2dbd47,_0x2295ed){_0x2dbd47=_0x2dbd47-0x0;let _0x2a59b2=_0x2295[_0x2dbd47];return _0x2a59b2;};import{Plugin as _0x1c62a8,PendingActions as _0x1ae411}from'ckeditor5/src/core.js';import{LiveRange as _0x6ecb11}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3b6119,uid as _0x3dbefd,priorities as _0xc10e6b,logWarning as _0x2510fe}from'ckeditor5/src/utils.js';import{toWidget as _0x18f7e7}from'ckeditor5/src/widget.js';import{Users as _0x1f7022,hashObject as _0x5adbcd,surroundingMarkersDetector as _0xeda7b3}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x495aa7 from'./commands/trackchangescommand.js';import _0xd2d969 from'./commands/acceptsuggestioncommand.js';import _0x2e8d4e from'./commands/discardsuggestioncommand.js';import _0x2a7e1b from'./commands/executeonallsuggestionscommand.js';import _0x1a4a2a from'./commands/executeonselectedsuggestionscommand.js';import _0x253f8 from'./suggestion.js';import _0x51edb8 from'./suggestiondescriptionfactory.js';import _0x21b614 from'./integrations/aiassistant.js';import _0x583e5c from'./integrations/alignment.js';import _0x5dc42b from'./integrations/basicstyles.js';import _0x39c6f1 from'./integrations/blockquote.js';import _0x125ecc from'./integrations/ckbox.js';import _0x14fb3d from'./integrations/codeblock.js';import _0x2be539 from'./integrations/comments.js';import _0x5a5c37 from'./integrations/deletecommand.js';import _0x2a57b5 from'./integrations/documentlist.js';import _0x597782 from'./integrations/documentlistproperties.js';import _0x521f99 from'./integrations/entercommand.js';import _0x2172d1 from'./integrations/findandreplace.js';import _0x292f83 from'./integrations/font.js';import _0x25089a from'./integrations/formatpainter.js';import _0x3247bd from'./integrations/heading.js';import _0x3c86ff from'./integrations/highlight.js';import _0x1c6841 from'./integrations/horizontalline.js';import _0x44f80b from'./integrations/htmlembed.js';import _0x353ccc from'./integrations/image.js';import _0x39e835 from'./integrations/imagereplace.js';import _0x1c80db from'./integrations/imagestyle.js';import _0x3d642c from'./integrations/importword.js';import _0x26b09a from'./integrations/indent.js';import _0x416832 from'./integrations/inputcommand.js';import _0x5a914c from'./integrations/link.js';import _0x7732e3 from'./integrations/list.js';import _0x525d0d from'./integrations/listproperties.js';import _0x1490a5 from'./integrations/mediaembed.js';import _0x51cb60 from'./integrations/mention.js';import _0x1527d2 from'./integrations/pagebreak.js';import _0x1e6088 from'./integrations/paragraph.js';import _0x2faf22 from'./integrations/removeformat.js';import _0x40422a from'./integrations/restrictededitingmode.js';import _0x10ba43 from'./integrations/shiftentercommand.js';import _0x8600b9 from'./integrations/standardeditingmode.js';import _0x50e409 from'./integrations/style.js';import _0x2911a5 from'./integrations/table.js';import _0x2e4994 from'./integrations/tablemergesplit.js';import _0x331730 from'./integrations/tableheadings.js';import _0x3ca419 from'./integrations/tableclipboard.js';import _0x2e1aeb from'./integrations/tablecolumnresize.js';import _0x3bcb7e from'./integrations/template.js';import _0x5650c0 from'./integrations/tableofcontents.js';import _0x1a60bc from'./integrations/title.js';import _0x1a10b2 from'./integrations/undo.js';import _0x57ea60 from'./integrations/tablecaption.js';import _0x3072a7 from'./integrations/tableproperties.js';import{getTranslation as _0x59b314}from'./utils/common-translations.js';import{isEqual as _0x30ceba,omit as _0x16fb23}from'lodash-es';export const renameAttributeKey=_0x2a59('0x27');export default class p extends _0x1c62a8{static get['requires'](){return['CommentsRepository',_0x1f7022,_0x1ae411,_0x21b614,_0x583e5c,_0x5dc42b,_0x39c6f1,_0x125ecc,_0x14fb3d,_0x2be539,_0x5a5c37,_0x2a57b5,_0x597782,_0x521f99,_0x2172d1,_0x292f83,_0x25089a,_0x3247bd,_0x3c86ff,_0x1c6841,_0x44f80b,_0x353ccc,_0x1c80db,_0x39e835,_0x3d642c,_0x26b09a,_0x416832,_0x5a914c,_0x7732e3,_0x525d0d,_0x1490a5,_0x51cb60,_0x1527d2,_0x1e6088,_0x2faf22,_0x40422a,_0x10ba43,_0x8600b9,_0x50e409,_0x2911a5,_0x2e4994,_0x331730,_0x57ea60,_0x3ca419,_0x2e1aeb,_0x5650c0,_0x3072a7,_0x3bcb7e,_0x1a60bc,_0x1a10b2];}static get[_0x2a59('0xf8')](){return _0x2a59('0x12f');}constructor(_0x5dfc82){function _0x51cb00(_0x1e9b2b){return _0x1e9b2b['map'](_0x24cdaa=>String[_0x2a59('0x150')](_0x24cdaa))[_0x2a59('0x79')]('');}super(_0x5dfc82),this[_0x2a59('0xac')]=null,this['set'](_0x2a59('0x10'),[]),this['on'](_0x2a59('0xa5'),(_0x585dbe,_0x2c6016,_0x1f73d3,_0x102800)=>{this[_0x2a59('0x146')][_0x2a59('0x31')](()=>{for(const _0x497c97 of[..._0x102800,..._0x1f73d3])this['_model']['markers'][_0x2a59('0x5b')](_0x497c97)&&_0x5dfc82[_0x2a59('0x37')][_0x2a59('0x16a')](_0x497c97);});}),this[_0x2a59('0x14b')]=new _0x51edb8(this[_0x2a59('0xce')][_0x2a59('0xae')][_0x2a59('0x51')],this[_0x2a59('0xce')][_0x2a59('0x170')]),this[_0x2a59('0x19')]=null,this[_0x2a59('0xec')]=new $t(this[_0x2a59('0xce')]),this[_0x2a59('0x131')]=new Map(),this[_0x2a59('0xd8')]=_0x5dfc82[_0x2a59('0xe1')][_0x2a59('0x105')]('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this[_0x2a59('0xce')][_0x2a59('0xae')],this[_0x2a59('0x133')]=new WeakMap(),this[_0x2a59('0x16')]=!0x1,this[_0x2a59('0xc0')]=new Set([_0x2a59('0x27')]),this['_inlineAttributeKeys']=new Set(),_0x5dfc82[_0x2a59('0xfa')][_0x2a59('0x0')](_0x2a59('0x53'),'default'),this[_0x2a59('0xc4')]=_0x5dfc82[_0x2a59('0xfa')][_0x2a59('0x105')](_0x2a59('0x53')),_0x5dfc82[_0x2a59('0xfa')][_0x2a59('0x0')](_0x2a59('0xa7'),!0x0),this[_0x2a59('0xfd')]=_0x5dfc82[_0x2a59('0xfa')][_0x2a59('0x105')](_0x2a59('0xa7')),this[_0x2a59('0x141')]=new _0x495aa7(_0x5dfc82,this[_0x2a59('0x100')]),this[_0x2a59('0x8e')](),this[_0x51cb00([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x51cb00([0x34,0x30,0x34,0x36,0x32,0x34,0x33,0x38]);}['init'](){const _0x25d81d=this[_0x2a59('0xce')],_0x17b0b1=(_0x65f819,_0x5d7f87)=>{if(_0x2a59('0x13a')!=_0x65f819)return _0x2a59('0x2f')+_0x65f819;const _0x2a664f=_0x5d7f87[_0x2a59('0x106')]('|')[0x0];return this[_0x2a59('0xee')](_0x2a664f)?_0x2a59('0x49'):_0x2a59('0x84');};_0x25d81d[_0x2a59('0x5')]['for'](_0x2a59('0x1d'))[_0x2a59('0x2b')]({'model':_0x2a59('0xa2'),'view':_0x592b34=>{const {id:_0x4cecab,type:_0x32f0d0,subType:_0x3557d7}=this[_0x2a59('0x14')](_0x592b34[_0x2a59('0x144')]),_0x4e2634=[_0x2a59('0xb9'),_0x17b0b1(_0x32f0d0,_0x3557d7)];let _0x4d5b0e=0xbb8;return this[_0x2a59('0x10')][_0x2a59('0x6c')](_0x592b34['markerName'])&&(_0x4e2634['push'](_0x2a59('0x128')),_0x4d5b0e=0xbc2),_0x2a59('0x132')==_0x32f0d0&&(_0x4d5b0e+=0x5),{'classes':_0x4e2634,'attributes':{'data-suggestion':_0x4cecab},'priority':_0x4d5b0e};}}),_0x25d81d[_0x2a59('0x5')]['for'](_0x2a59('0x40'))[_0x2a59('0x113')](_0x1f3a92=>{_0x1f3a92['on'](_0x2a59('0x13c'),(_0x3ebfc4,_0x318e1b,_0x10d4a1)=>{if(!_0x10d4a1[_0x2a59('0x148')]['showSuggestionHighlights'])return;const _0x44d713=_0x318e1b['item'];if(!_0x44d713)return;const _0x590b44=_0x10d4a1['mapper']['toViewElement'](_0x44d713);_0x25d81d[_0x2a59('0xae')][_0x2a59('0x51')][_0x2a59('0x63')](_0x44d713)&&_0x590b44&&!_0x590b44[_0x2a59('0x165')](_0x2a59('0x42'))&&_0x590b44['is'](_0x2a59('0xbc'))&&_0x18f7e7(_0x590b44,_0x10d4a1[_0x2a59('0x70')]);},{'priority':_0x2a59('0xe0')});}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')](_0x2a59('0x40'))[_0x2a59('0x2b')]({'model':_0x2a59('0xa2'),'view':(_0x370790,_0x5cd1e5)=>{if(!_0x5cd1e5[_0x2a59('0x148')][_0x2a59('0x82')])return null;const {type:_0x5bd4a8,subType:_0x1eef71}=this['_splitMarkerName'](_0x370790[_0x2a59('0x144')]);return{'classes':[_0x2a59('0xb9'),_0x17b0b1(_0x5bd4a8,_0x1eef71)],'priority':0xbb8};}});const _0x33d51f=({showActiveMarkers:_0x524a99=!0x0,isAttributeSuggestion:_0x106489=!0x1}={})=>(_0x561dbf,_0x4d9c0f,_0x2085ec)=>{if(!_0x4d9c0f[_0x2a59('0xd5')])return;const {id:_0x3a48a1}=this['_splitMarkerName'](_0x4d9c0f['markerName']);if(_0x106489){const _0x16402a=Pt(this[_0x2a59('0x131')][_0x2a59('0x105')](_0x3a48a1));if(!this['_isBlockAttribute'](_0x16402a))return;}if(_0x4d9c0f[_0x2a59('0xd5')]['is'](_0x2a59('0x23')))return void _0x2085ec[_0x2a59('0x4c')][_0x2a59('0x14f')](_0x4d9c0f[_0x2a59('0xd5')],_0x561dbf[_0x2a59('0x30')]);const _0xaa3cf7=_0x2085ec[_0x2a59('0xaa')]['toViewElement'](_0x4d9c0f[_0x2a59('0xd5')]);if(_0x4d9c0f[_0x2a59('0xd5')]['is'](_0x2a59('0xd4'))&&_0x25d81d[_0x2a59('0xae')]['schema'][_0x2a59('0x25')](_0x4d9c0f[_0x2a59('0xd5')])&&!_0xaa3cf7['getCustomProperty'](_0x2a59('0x176'))){_0x2085ec[_0x2a59('0x70')][_0x2a59('0xf0')]([_0x2a59('0xb9'),_0x2a59('0x49')],_0xaa3cf7),_0x2085ec[_0x2a59('0x70')][_0x2a59('0x87')]('data-suggestion',_0x3a48a1,_0xaa3cf7),_0x2085ec[_0x2a59('0xaa')]['bindElementToMarker'](_0xaa3cf7,_0x4d9c0f['markerName']),_0x524a99&&(this[_0x2a59('0x10')][_0x2a59('0x6c')](_0x4d9c0f[_0x2a59('0x144')])?_0x2085ec['writer'][_0x2a59('0xf0')](_0x2a59('0x128'),_0xaa3cf7):_0x2085ec['writer'][_0x2a59('0xf9')](_0x2a59('0x128'),_0xaa3cf7));for(const _0x4c0e5a of _0x25d81d[_0x2a59('0xae')]['createRangeIn'](_0x4d9c0f['item'])[_0x2a59('0x12a')]())_0x2085ec['consumable']['consume'](_0x4c0e5a,_0x561dbf['name']);_0x2085ec[_0x2a59('0x4c')]['consume'](_0x4d9c0f['item'],_0x561dbf[_0x2a59('0x30')]);}};_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')]('dataDowncast')[_0x2a59('0x113')](_0x3f9923=>{_0x3f9923['on'](_0x2a59('0x7e'),(_0x46702b,_0x1d9347,_0x3910a9)=>{_0x3910a9['options']['showSuggestionHighlights']&&_0x33d51f({'showActiveMarkers':!0x1})(_0x46702b,_0x1d9347,_0x3910a9);},{'priority':'highest'});}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')](_0x2a59('0x40'))[_0x2a59('0x113')](_0x1468ab=>{_0x1468ab['on']('addMarker:suggestion:attribute',(_0xf82e13,_0x34b483,_0x2300db)=>{_0x2300db['options'][_0x2a59('0x82')]&&_0x33d51f({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0xf82e13,_0x34b483,_0x2300db);},{'priority':_0x2a59('0x163')});}),_0x25d81d[_0x2a59('0x5')]['for'](_0x2a59('0x40'))['markerToData']({'model':'suggestion','view':(_0x4718df,_0x57b88d)=>_0x57b88d[_0x2a59('0x148')][_0x2a59('0x82')]?null:{'group':'suggestion','name':_0x4718df[_0x2a59('0x88')](0xb)}}),_0x25d81d['conversion']['for'](_0x2a59('0x138'))['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x120c59,{writer:_0x10daf5})=>{let _0x113230=_0x2a59('0x26')+_0x120c59['getAttribute'](_0x2a59('0x127'))+':'+_0x120c59[_0x2a59('0x178')]('id');return _0x120c59['getAttribute'](_0x2a59('0x122'))&&(_0x113230+=':'+_0x120c59[_0x2a59('0x178')](_0x2a59('0x122'))),_0x10daf5[_0x2a59('0x174')]('$marker',{'data-name':_0x113230});}}),_0x25d81d[_0x2a59('0x5')]['for'](_0x2a59('0x138'))[_0x2a59('0x67')]({'view':_0x2a59('0xa2')}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')]('editingDowncast')['add'](_0x51dbe=>{_0x51dbe['on'](_0x2a59('0x7e'),_0x33d51f(),{'priority':_0x2a59('0xe0')});}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')](_0x2a59('0x1d'))['add'](_0x45fe41=>{_0x45fe41['on'](_0x2a59('0x7a'),_0x33d51f({'isAttributeSuggestion':!0x0}),{'priority':_0x2a59('0xe0')});}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')](_0x2a59('0x1d'))[_0x2a59('0x113')](_0x13e95c=>{_0x13e95c['on'](_0x2a59('0x125'),(_0x563550,_0x11bbb0,_0x32f8ad)=>{const _0x400a21=_0x32f8ad[_0x2a59('0xaa')][_0x2a59('0xe3')](_0x11bbb0['markerName']);if(_0x400a21)for(const _0x4423ac of _0x400a21)_0x4423ac['getCustomProperty'](_0x2a59('0x176'))||(_0x32f8ad[_0x2a59('0x70')][_0x2a59('0xf9')](['ck-suggestion-marker',_0x2a59('0x49'),_0x2a59('0x128')],_0x4423ac),_0x32f8ad['writer'][_0x2a59('0x56')]('data-suggestion',_0x4423ac),_0x32f8ad[_0x2a59('0xaa')][_0x2a59('0x5e')](_0x4423ac,_0x11bbb0['markerName']));},{'priority':_0x2a59('0xe0')});}),_0x25d81d[_0x2a59('0x5')][_0x2a59('0xeb')](_0x2a59('0x1d'))[_0x2a59('0x113')](_0x385eda=>{_0x385eda['on'](_0x2a59('0x5a'),(_0x9c85e6,_0x2bf0e5,_0x4cb228)=>{const _0x3c628d=_0x4cb228['mapper'][_0x2a59('0xe3')](_0x2bf0e5[_0x2a59('0x144')]);if(!_0x3c628d)return;const {id:_0x2501a2}=this['_splitMarkerName'](_0x2bf0e5[_0x2a59('0x144')]),_0x2bd231=Pt(this[_0x2a59('0x131')]['get'](_0x2501a2));if(this[_0x2a59('0xee')](_0x2bd231))for(const _0x33ec8c of _0x3c628d)_0x33ec8c['getCustomProperty'](_0x2a59('0x176'))||(_0x4cb228[_0x2a59('0x70')][_0x2a59('0xf9')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock',_0x2a59('0x128')],_0x33ec8c),_0x4cb228[_0x2a59('0x70')][_0x2a59('0x56')](_0x2a59('0x15c'),_0x33ec8c),_0x4cb228[_0x2a59('0xaa')][_0x2a59('0x5e')](_0x33ec8c,_0x2bf0e5[_0x2a59('0x144')]));},{'priority':_0x2a59('0xe0')});}),_0x25d81d[_0x2a59('0xae')][_0x2a59('0x45')][_0x2a59('0x93')](_0x581eda=>{let _0x1b4f19=!0x1;const _0x55ce25=Array[_0x2a59('0x68')](_0x25d81d['model']['document'][_0x2a59('0xc2')]['getChangedMarkers']()),_0x49530b=new Set();for(const {name:_0xcf10bd,data:_0x3e630c}of _0x55ce25){const {group:_0x30a8c1,type:_0x304c47,subType:_0x45f1ad,id:_0x464cd0}=this[_0x2a59('0x14')](_0xcf10bd);if(_0x2a59('0xa2')!==_0x30a8c1)continue;const _0x378166=this[_0x2a59('0x131')][_0x2a59('0x105')](_0x464cd0);if(null!=_0x3e630c[_0x2a59('0x1f')]){'formatInline'==_0x304c47&&(_0x1b4f19=_0x1b4f19||xt(_0x3e630c[_0x2a59('0x1f')],_0xcf10bd,_0x581eda,_0x25d81d[_0x2a59('0xae')][_0x2a59('0x51')]));const _0x592790='attribute'==_0x304c47&&this[_0x2a59('0xee')](_0x45f1ad[_0x2a59('0x106')]('|')[0x0]);if(_0x3e630c[_0x2a59('0x1f')]['isCollapsed']||'$graveyard'==_0x3e630c['newRange'][_0x2a59('0x62')][_0x2a59('0x80')]||_0x2a59('0x126')==_0x304c47&&!Rt(_0x3e630c[_0x2a59('0x1f')])||_0x592790&&!Rt(_0x3e630c[_0x2a59('0x1f')])||_0x2a59('0x132')==_0x304c47&&!(!Tt(_0x51020d=_0x3e630c['newRange'])&&!function(_0x428b8e){return _0x428b8e['start'][_0x2a59('0x159')]==_0x428b8e[_0x2a59('0xb6')][_0x2a59('0x147')]&&_0x428b8e[_0x2a59('0xf4')][_0x2a59('0x157')];}(_0x51020d)))_0x581eda[_0x2a59('0x9a')](_0xcf10bd),_0x1b4f19=!0x0;else{if(!_0x378166||!_0x378166[_0x2a59('0xf2')])continue;_0x49530b['add'](_0x378166);}}}var _0x51020d;return _0x49530b[_0x2a59('0x4f')]>0x0&&(_0x1b4f19=!!this['_joinWithAdjacentSuggestions'](_0x49530b)||_0x1b4f19),_0x1b4f19;}),_0x25d81d[_0x2a59('0xae')][_0x2a59('0x45')]['registerPostFixer'](_0x2ded0a=>{let _0x176f2e=!0x1;for(const _0x160b06 of _0x25d81d[_0x2a59('0xae')]['document'][_0x2a59('0xc2')][_0x2a59('0x34')]())if('insert'==_0x160b06[_0x2a59('0x161')])for(const _0x2bd27d of this[_0x2a59('0x131')][_0x2a59('0xab')]()){if(_0x2bd27d[_0x2a59('0xb')]||!_0x2bd27d['isInContent'])continue;const _0x2f7f85=_0x2a59('0x126')==_0x2bd27d[_0x2a59('0x161')],_0x498c45=Pt(_0x2bd27d),_0xf2e459=_0x498c45&&this[_0x2a59('0xee')](_0x498c45);if(!_0x2f7f85&&!_0xf2e459)continue;const _0x4097ed=_0x2bd27d[_0x2a59('0x119')]();if(_0x4097ed[_0x2a59('0xf4')]['parent']!=_0x4097ed[_0x2a59('0xb6')][_0x2a59('0x159')]&&!_0x4097ed[_0x2a59('0xb6')][_0x2a59('0x157')]){const _0x5f1b89=_0x25d81d[_0x2a59('0xae')][_0x2a59('0x16b')](_0x4097ed['start']['nodeAfter'],_0x2a59('0xb6')),_0x2bb02b=_0x25d81d[_0x2a59('0xae')][_0x2a59('0xed')](_0x4097ed[_0x2a59('0xf4')],_0x5f1b89);_0x2ded0a[_0x2a59('0x71')](_0x2bd27d[_0x2a59('0x168')](),{'range':_0x2bb02b}),_0x176f2e=!0x0;}}return _0x176f2e;}),_0x25d81d[_0x2a59('0xae')][_0x2a59('0x45')]['registerPostFixer'](_0x2ff783=>this[_0x2a59('0x140')](_0x2ff783)),_0x25d81d['model'][_0x2a59('0x45')]['registerPostFixer'](_0x126f8d=>!_0x126f8d[_0x2a59('0xcf')][_0x2a59('0x4d')]&&this[_0x2a59('0x46')](_0x126f8d)),_0x25d81d[_0x2a59('0xae')][_0x2a59('0x11a')]['on'](_0x2a59('0x73'),(_0x4348eb,_0x13ef24,_0x46206e)=>{if(null==_0x46206e){const {id:_0x5737e8}=this[_0x2a59('0x14')](_0x13ef24[_0x2a59('0x30')]),_0x6b06ed=this['_suggestions']['get'](_0x5737e8);_0x6b06ed&&_0x6b06ed[_0x2a59('0x11d')](_0x13ef24[_0x2a59('0x30')]);}}),_0x25d81d[_0x2a59('0xae')][_0x2a59('0x45')]['on'](_0x2a59('0x64'),()=>{const _0x20993a=Array[_0x2a59('0x68')](_0x25d81d[_0x2a59('0xae')][_0x2a59('0x45')][_0x2a59('0xc2')][_0x2a59('0x15a')]())[_0x2a59('0x55')](_0x3e50cd=>_0x2a59('0xa2')===this[_0x2a59('0x14')](_0x3e50cd[_0x2a59('0x30')])[_0x2a59('0x177')]);if(0x0===_0x20993a[_0x2a59('0x75')])return;_0x20993a[_0x2a59('0x107')]((_0x510552,_0x4efb10)=>{const _0x5a407e=_0x510552[_0x2a59('0x15f')][_0x2a59('0x139')],_0xaa7b86=_0x4efb10[_0x2a59('0x15f')]['oldRange'];return null===_0x5a407e&&null===_0xaa7b86?0x0:null===_0x5a407e&&null!==_0xaa7b86?-0x1:null!==_0x5a407e&&null===_0xaa7b86?0x1:_0x5a407e[_0x2a59('0xf4')][_0x2a59('0x6e')](_0xaa7b86[_0x2a59('0xf4')])?-0x1:0x1;});const _0x229f9a=new Set(),_0x989849=new Set();for(const {name:_0x8fc41f,data:_0x64beb4}of _0x20993a){const {id:_0x5a8203}=this['_splitMarkerName'](_0x8fc41f);if(null===_0x64beb4[_0x2a59('0x139')]){const _0x517fd0=this[_0x2a59('0x10e')](_0x8fc41f);_0x989849[_0x2a59('0x113')](_0x517fd0);}else{const _0x5d4d11=this[_0x2a59('0x131')][_0x2a59('0x105')](_0x5a8203);null!==_0x64beb4[_0x2a59('0x1f')]||_0x5d4d11[_0x2a59('0xf2')]?(_0x229f9a[_0x2a59('0x113')](_0x5d4d11['head']),_0x989849['add'](_0x5d4d11)):this[_0x2a59('0x142')](_0x5d4d11);}}_0x989849['size']>0x0&&this[_0x2a59('0xb3')](_0x989849);for(const _0x1003cd of _0x229f9a)this[_0x2a59('0x15d')]('suggestionChanged',_0x1003cd);}),_0x25d81d['model']['on'](_0x2a59('0x7b'),(_0x547ad8,_0x2a840d)=>{const _0x50e895=_0x2a840d[0x0];if(!this[_0x2a59('0x131')]['size'])return;if(!_0x50e895[_0x2a59('0x8a')])return;if(_0x50e895[_0x2a59('0xcf')][_0x2a59('0x2e')]||!_0x50e895[_0x2a59('0xcf')][_0x2a59('0x4d')])return;let _0x4980d8,_0x28c803;switch(_0x50e895[_0x2a59('0x161')]){case _0x2a59('0x86'):_0x4980d8=_0x25d81d['model']['createPositionAt'](_0x50e895[_0x2a59('0x16f')]),_0x28c803=_0x4980d8[_0x2a59('0xad')](_0x50e895[_0x2a59('0xe2')]);break;case _0x2a59('0x106'):_0x4980d8=_0x25d81d[_0x2a59('0xae')][_0x2a59('0x16b')](_0x50e895[_0x2a59('0xd9')]),_0x28c803=_0x25d81d[_0x2a59('0xae')]['createPositionAt'](_0x50e895[_0x2a59('0x3e')]);break;case _0x2a59('0xd0'):_0x4980d8=_0x25d81d[_0x2a59('0xae')][_0x2a59('0x16b')](_0x50e895[_0x2a59('0x5d')]),_0x28c803=_0x4980d8[_0x2a59('0xad')](_0x50e895[_0x2a59('0xe2')]);break;default:return;}const _0x1a4ffe=_0x25d81d[_0x2a59('0xae')][_0x2a59('0xed')](_0x4980d8,_0x28c803);_0x25d81d[_0x2a59('0xae')][_0x2a59('0x31')](()=>{for(const {suggestion:_0x18928d,meta:_0x110685}of this[_0x2a59('0x28')](_0x1a4ffe)){if(_0x18928d[_0x2a59('0xb')])continue;if(_0x2a59('0x12e')==_0x18928d[_0x2a59('0x161')])continue;const _0x1291c1=Pt(_0x18928d);if(_0x1291c1&&this['_isBlockAttribute'](_0x1291c1)&&_0x2a59('0x106')!=_0x50e895[_0x2a59('0x161')])continue;const _0x37a0e5=_0x18928d[_0x2a59('0x15f')]&&_0x18928d[_0x2a59('0x15f')][_0x2a59('0xc1')];(_0x2a59('0x126')!=_0x18928d[_0x2a59('0x161')]||_0x2a59('0x106')==_0x50e895['type']&&!_0x37a0e5)&&(_0x110685['containsRangeInObject']||'insertion'==_0x18928d[_0x2a59('0x161')]&&_0x110685[_0x2a59('0x39')]||_0x18928d['getFirstRange']()[_0x2a59('0x11c')](_0x1a4ffe)&&this['_breakSuggestionMarker'](_0x18928d,_0x4980d8,_0x28c803));}});},{'priority':'lowest'}),_0x25d81d['model']['on'](_0x2a59('0x97'),(_0x1b74dd,_0xd61341)=>{const _0x48935a=_0xd61341[0x0],_0xdbb28b=_0xd61341[0x1];if(_0xdbb28b&&_0xdbb28b[_0x2a59('0x104')])return;if(this[_0x2a59('0x16')])return;if(!this[_0x2a59('0x141')][_0x2a59('0x162')])return;if(_0x48935a[_0x2a59('0x6f')])return;const _0x2ed2c7=_0x25d81d['model'][_0x2a59('0x51')],{start:_0x86423,end:_0x3d9746}=_0x48935a[_0x2a59('0x119')](),_0x86cead=_0x86423[_0x2a59('0x114')]&&_0x2ed2c7[_0x2a59('0x21')](_0x86423[_0x2a59('0x114')])?null:_0x2ed2c7['getNearestSelectionRange'](_0x86423,_0x2a59('0x61')),_0x53ea11=_0x3d9746[_0x2a59('0x147')]&&_0x2ed2c7[_0x2a59('0x21')](_0x3d9746[_0x2a59('0x147')])?null:_0x2ed2c7[_0x2a59('0x2d')](_0x3d9746,_0x2a59('0xc7')),_0x5d77ab=_0x25d81d[_0x2a59('0xae')]['createRange'](_0x86cead?_0x86cead[_0x2a59('0xf4')]:_0x86423,_0x53ea11?_0x53ea11[_0x2a59('0xb6')]:_0x3d9746);_0x25d81d[_0x2a59('0xae')][_0x2a59('0x31')](_0x1e041f=>{this[_0x2a59('0xa6')](_0x5d77ab);const _0x348aae=_0x25d81d[_0x2a59('0xae')][_0x2a59('0x51')][_0x2a59('0x2d')](_0x5d77ab[_0x2a59('0xf4')]);_0x48935a['is'](_0x2a59('0x16e'))?_0x1e041f['setSelection'](_0x348aae):_0x48935a[_0x2a59('0x9f')](_0x348aae);}),_0x1b74dd[_0x2a59('0x11b')]();},{'priority':_0xc10e6b[_0x2a59('0x3a')]+0xa}),_0x25d81d[_0x2a59('0xae')]['on']('insertContent',(_0x1261c1,_0x15eaed)=>{const _0x3e6552=_0x15eaed[_0x15eaed[_0x2a59('0x75')]-0x1];_0x3e6552&&_0x3e6552[_0x2a59('0x104')]||this[_0x2a59('0x16')]||this['trackChangesCommand'][_0x2a59('0x162')]&&(_0x25d81d[_0x2a59('0xae')][_0x2a59('0x31')](()=>{let _0xa12638=_0x25d81d['model']['insertContent'](_0x15eaed[0x0],_0x15eaed[0x1],_0x15eaed[0x2],{'forceDefaultExecution':!0x0});if(!_0xa12638)return;_0x1261c1['return']=_0xa12638['clone']();const _0x767e48=_0xa12638[_0x2a59('0xb6')]['nodeBefore'],_0x71c15a=_0x25d81d['model']['schema'];_0x767e48&&_0x71c15a['isBlock'](_0x767e48)&&!_0x71c15a[_0x2a59('0x63')](_0x767e48)&&(_0xa12638=_0x25d81d[_0x2a59('0xae')][_0x2a59('0xed')](_0xa12638[_0x2a59('0xf4')],_0x25d81d[_0x2a59('0xae')][_0x2a59('0x16b')](_0x767e48,_0x2a59('0xb6')))),this[_0x2a59('0xbd')](_0xa12638);}),_0x1261c1[_0x2a59('0x11b')]());},{'priority':_0x2a59('0xe0')}),this[_0x2a59('0xce')][_0x2a59('0x8c')][_0x2a59('0x113')](_0x2a59('0x134'),this[_0x2a59('0x141')]),this[_0x2a59('0xf5')](_0x2a59('0x134'));const _0x13de20=new _0xd2d969(_0x25d81d,this[_0x2a59('0x131')]);_0x25d81d[_0x2a59('0x8c')][_0x2a59('0x113')](_0x2a59('0x15e'),_0x13de20),this[_0x2a59('0xf5')](_0x2a59('0x15e'));const _0x45e06a=new _0x2e8d4e(_0x25d81d,this[_0x2a59('0x131')]);_0x25d81d[_0x2a59('0x8c')][_0x2a59('0x113')](_0x2a59('0xb7'),_0x45e06a),this['enableCommand']('discardSuggestion'),_0x25d81d[_0x2a59('0x8c')][_0x2a59('0x113')](_0x2a59('0x10d'),new _0x2a7e1b(_0x25d81d,_0x13de20,this[_0x2a59('0x131')])),this[_0x2a59('0xf5')](_0x2a59('0x10d')),_0x25d81d[_0x2a59('0x8c')][_0x2a59('0x113')]('discardAllSuggestions',new _0x2a7e1b(_0x25d81d,_0x45e06a,this[_0x2a59('0x131')])),this[_0x2a59('0xf5')](_0x2a59('0x10a')),_0x25d81d['commands'][_0x2a59('0x113')](_0x2a59('0x123'),new _0x1a4a2a(_0x25d81d,_0x13de20,this[_0x2a59('0x131')])),this[_0x2a59('0xf5')](_0x2a59('0x123')),_0x25d81d[_0x2a59('0x8c')]['add'](_0x2a59('0x9c'),new _0x1a4a2a(_0x25d81d,_0x45e06a,this['_suggestions'])),this[_0x2a59('0xf5')](_0x2a59('0x9c'));const _0x4eb026=_0x25d81d['plugins'][_0x2a59('0x105')]('CommentsRepository');this[_0x2a59('0x99')](_0x4eb026,_0x2a59('0x3d'),(_0x4a167d,{threadId:_0x1da0b})=>{const _0x580ab9=this[_0x2a59('0x131')][_0x2a59('0x105')](_0x1da0b);_0x580ab9&&_0x580ab9['commentThread']&&0x1===_0x580ab9[_0x2a59('0xa8')][_0x2a59('0x75')]&&this[_0x2a59('0x8f')](_0x1da0b,{'hasComments':!0x0});},{'priority':_0x2a59('0xfe')}),this[_0x2a59('0x99')](_0x4eb026,_0x2a59('0x16c'),(_0x3fe238,{threadId:_0x253bae})=>{const _0x2f4c3c=this['_suggestions']['get'](_0x253bae);_0x2f4c3c&&_0x2f4c3c['commentThread']&&!_0x2f4c3c[_0x2a59('0xa8')][_0x2a59('0x75')]&&this[_0x2a59('0x8f')](_0x253bae,{'hasComments':!0x1});},{'priority':_0x2a59('0xfe')});}set[_0x2a59('0xa0')](_0x2fbecf){if(this[_0x2a59('0x19')])throw new _0x3b6119(_0x2a59('0x2a'),this);this[_0x2a59('0x19')]=_0x2fbecf;}get[_0x2a59('0xa0')](){return this[_0x2a59('0x19')];}[_0x2a59('0x14d')]({skipNotAttached:_0x79f0a0=!0x1,toJSON:_0x5925bd=!0x1}={}){const _0x15d866=[];for(const _0x32dc94 of this[_0x2a59('0x131')][_0x2a59('0xab')]())_0x79f0a0&&!_0x32dc94[_0x2a59('0xf2')]||_0x15d866[_0x2a59('0xc')](_0x32dc94);return _0x5925bd?_0x15d866[_0x2a59('0xd3')](_0x2b8872=>_0x2b8872[_0x2a59('0x124')]()):_0x15d866;}[_0x2a59('0x3b')](_0x5abf0a){const _0x561f31=this['_suggestions'][_0x2a59('0x105')](_0x5abf0a);if(!_0x561f31)throw new _0x3b6119(_0x2a59('0xef'),this);return _0x561f31;}[_0x2a59('0xf1')](_0x203238){return this[_0x2a59('0x131')][_0x2a59('0x5b')](_0x203238);}['addSuggestionData'](_0x1e84f4){const {authorId:_0x43d621,id:_0x16a9d5,attributes:_0x5083eb}=_0x1e84f4,[_0x26cf7f,_0x4800ba]=_0x1e84f4[_0x2a59('0x161')][_0x2a59('0x106')](':'),_0xe738c=this['_suggestions']['get'](_0x16a9d5)||this[_0x2a59('0xbe')](_0x26cf7f,_0x4800ba,_0x16a9d5,_0x43d621,_0x5083eb);if(this['_addThreadToSuggestion'](_0xe738c),this[_0x2a59('0x5f')](_0xe738c,_0x26cf7f,_0x4800ba||null,_0x43d621),_0xe738c['createdAt']=_0x1e84f4['createdAt'],_0xe738c[_0x2a59('0x35')]=!0x0,_0x5083eb&&_0x5083eb[_0x2a59('0x29')]){const _0x345270=_0x5083eb[_0x2a59('0x29')],_0x36d240=this['_getExternalAuthor'](_0x345270[_0x2a59('0x50')]);_0xe738c['authoredAt']=_0x345270[_0x2a59('0x1a')],_0xe738c[_0x2a59('0xd1')]=_0x36d240,_0xe738c[_0x2a59('0xcd')]=!0x0;}else _0xe738c[_0x2a59('0x78')]=_0x1e84f4[_0x2a59('0x1a')];switch(_0x1e84f4[_0x2a59('0x15f')]&&(_0xe738c[_0x2a59('0x15f')]=_0x1e84f4[_0x2a59('0x15f')]),_0x1e84f4['attributes']&&(_0xe738c[_0x2a59('0xcc')]=_0x1e84f4[_0x2a59('0xcc')]),this[_0x2a59('0x19')]&&this[_0x2a59('0x19')][_0x2a59('0x118')]||(_0xe738c[_0x2a59('0x9d')]=!0x0),this[_0x2a59('0x133')]['get'](_0xe738c)){case'notReady':this[_0x2a59('0x133')]['set'](_0xe738c,_0x2a59('0x95'));break;case _0x2a59('0x115'):_0xe738c[_0x2a59('0xf2')]?(this[_0x2a59('0xb3')](new Set([_0xe738c])),this[_0x2a59('0x11')](new Set([_0xe738c])),this[_0x2a59('0x133')][_0x2a59('0x9')](_0xe738c,_0x2a59('0x130')),this[_0x2a59('0x15d')](_0x2a59('0x43'),_0xe738c)):this[_0x2a59('0x133')][_0x2a59('0x9')](_0xe738c,_0x2a59('0x8'));}return _0xe738c;}[_0x2a59('0x15e')](_0x43b955){this[_0x2a59('0x104')](()=>{this[_0x2a59('0xce')][_0x2a59('0xae')]['change'](()=>{for(const _0x29b1a5 of _0x43b955[_0x2a59('0x137')]())_0x29b1a5[_0x2a59('0x58')]();});});}[_0x2a59('0xb7')](_0x27aa49){this[_0x2a59('0x104')](()=>{this['editor'][_0x2a59('0xae')][_0x2a59('0x31')](()=>{for(const _0x548442 of _0x27aa49['getAllAdjacentSuggestions']())_0x548442['discard']();});});}['enableCommand'](_0x32e922,_0x5340cc){const _0x35c2a4=this[_0x2a59('0xce')][_0x2a59('0x8c')]['get'](_0x32e922);if(!_0x35c2a4)throw new _0x3b6119(_0x2a59('0x116'),this,{'commandName':_0x32e922});if(this[_0x2a59('0x100')][_0x2a59('0x5b')](_0x35c2a4))throw new _0x3b6119('track-changes-enable-command-twice',this,{'commandName':_0x32e922});this['_enabledCommands'][_0x2a59('0x113')](_0x35c2a4),_0x5340cc&&_0x35c2a4['on']('execute',(_0x3e7bba,_0x30500a)=>{this[_0x2a59('0x141')][_0x2a59('0x162')]&&(this['_isForcedDefaultExecutionBlock']||(_0x30500a[_0x2a59('0x75')]>0x0&&_0x30500a[_0x30500a[_0x2a59('0x75')]-0x1]&&_0x30500a[_0x30500a[_0x2a59('0x75')]-0x1][_0x2a59('0x104')]?_0x30500a[_0x2a59('0x18')]():(_0x3e7bba['return']=_0x5340cc((..._0x275ce6)=>_0x35c2a4[_0x2a59('0x109')](..._0x275ce6,{'forceDefaultExecution':!0x0}),..._0x30500a),_0x3e7bba[_0x2a59('0x11b')]())));},{'priority':_0x2a59('0xe0')});}[_0x2a59('0x104')](_0xb741fb){let _0x392b2f,_0x1739f3;const _0x23ac38=this[_0x2a59('0x16')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x392b2f=_0xb741fb();}catch(_0x1ace7d){_0x1739f3=_0x1ace7d;}return _0x23ac38||(this[_0x2a59('0x16')]=!0x1),_0x1739f3&&_0x3b6119[_0x2a59('0xfc')](_0x1739f3,this),_0x392b2f;}[_0x2a59('0xbd')](_0x52bb9f,_0x15f099=null,_0x13353e={}){if(_0x52bb9f[_0x2a59('0x6f')])return null;const _0x3882bd=this[_0x2a59('0xce')][_0x2a59('0xe1')][_0x2a59('0x105')](_0x2a59('0xc5'))['me'];for(const {suggestion:_0x14bc90,meta:_0x14adec}of this[_0x2a59('0x28')](_0x52bb9f,'insertion'))if(_0x14adec[_0x2a59('0x39')]){if(!_0x14adec[_0x2a59('0x149')]){if(_0x14adec[_0x2a59('0x77')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x14bc90,_0x13353e))continue;return _0x14bc90;}if(Gt(_0x14bc90,_0x13353e))return _0x14bc90;this[_0x2a59('0x12b')](_0x14bc90,_0x52bb9f[_0x2a59('0xf4')],_0x52bb9f[_0x2a59('0xb6')]);break;}if(_0x15f099==_0x14bc90[_0x2a59('0x160')]&&Gt(_0x14bc90,_0x13353e)){const _0x15179f=_0x14bc90[_0x2a59('0x119')]();return _0x15179f[_0x2a59('0xf4')][_0x2a59('0x2')](_0x52bb9f[_0x2a59('0xb6')])?this['_setSuggestionRange'](_0x14bc90,this[_0x2a59('0x146')][_0x2a59('0xed')](_0x52bb9f[_0x2a59('0xf4')],_0x15179f[_0x2a59('0xb6')])):this[_0x2a59('0xd2')](_0x14bc90,this['_model'][_0x2a59('0xed')](_0x15179f['start'],_0x52bb9f['end'])),_0x14bc90;}}const _0x321116=_0x3dbefd(),_0x41419f=_0x3882bd['id'],_0x5bb8c8=_0x15f099?_0x2a59('0x52')+_0x15f099:'insertion',_0x22e130=this[_0x2a59('0x8b')]({'id':_0x321116,'type':_0x5bb8c8,'createdAt':new Date(),'authorId':_0x41419f,'attributes':_0x13353e});return this[_0x2a59('0x121')](_0x5bb8c8,_0x321116,_0x41419f,_0x52bb9f),_0x22e130;}[_0x2a59('0x66')](_0x53be46,_0x2d82a5=_0x2a59('0xdf'),_0x5207c6={}){const _0x5b93a2=this[_0x2a59('0xce')][_0x2a59('0xe1')][_0x2a59('0x105')](_0x2a59('0xc5'))['me'],_0x3a36d3=this['_suggestionFactory'][_0x2a59('0x76')](_0x2a59('0x103'),_0x2d82a5,_0x2a59('0x79'));for(const _0xad9ff3 of this[_0x2a59('0x14d')]())if(_0xad9ff3['author']['id']==_0x5b93a2['id']&&'insertion'==_0xad9ff3['type']&&_0xad9ff3['subType']==_0x2d82a5&&Gt(_0xad9ff3,_0x5207c6)&&(_0x3a36d3(_0xad9ff3[_0x2a59('0x14c')](),_0x53be46)||_0x3a36d3(_0x53be46,_0xad9ff3[_0x2a59('0x14c')]()))){for(const _0x326a6d of _0x53be46)_0xad9ff3[_0x2a59('0x22')](_0x326a6d);return _0xad9ff3;}for(const {suggestion:_0x3585c8,meta:_0x135dbd}of this[_0x2a59('0x28')](_0x53be46,_0x2a59('0x103'))){if(!_0x135dbd[_0x2a59('0x39')])continue;if(!this[_0x2a59('0xfd')]&&_0x135dbd[_0x2a59('0x77')])continue;if(!Gt(_0x3585c8,_0x5207c6))continue;let _0x3bbbc4=!0x0;for(const _0x4ee7b7 of _0x3585c8[_0x2a59('0x14c')]())for(const _0x818b08 of _0x53be46)if(!_0x4ee7b7[_0x2a59('0x11c')](_0x818b08)){_0x3bbbc4=!0x1;break;}if(_0x3bbbc4)return _0x3585c8;}const _0x31f0e3=_0x3dbefd(),_0x3950d0=_0x5b93a2['id'],_0x3da27e=_0x2a59('0x52')+_0x2d82a5,_0x44e982=this[_0x2a59('0x8b')]({'id':_0x31f0e3,'type':_0x3da27e,'createdAt':new Date(),'authorId':_0x3950d0,'attributes':_0x5207c6});for(const _0x5d3a42 of _0x53be46)this[_0x2a59('0x121')](_0x3da27e,_0x31f0e3,_0x3950d0,_0x5d3a42,_0x253f8[_0x2a59('0x17a')]());return _0x44e982;}[_0x2a59('0x120')](_0x333488,_0x46daa0,_0x2a3e68=null,_0x13f7dd={}){if(_0x2a3e68=_0x2a3e68||Et(_0x46daa0),_0x333488['isCollapsed'])return null;if(_0x2a59('0x143')===this['_trackFormatChanges']){const _0x44e521=this[_0x2a59('0xec')]['getSuggestionCallback'](_0x2a59('0x12e'),_0x2a3e68,'accept');return this['forceDefaultExecution'](()=>_0x44e521([_0x333488],_0x46daa0,_0x13f7dd)),null;}const _0x28cec9=this[_0x2a59('0xce')][_0x2a59('0xe1')]['get'](_0x2a59('0xc5'))['me'],_0x2f9a1a=[];if(_0x2a59('0xf6')!==this[_0x2a59('0xc4')])for(const {suggestion:_0x4da00e,meta:_0x525d9a}of this[_0x2a59('0x28')](_0x333488,'insertion'))_0x525d9a['isOwn']&&!_0x525d9a[_0x2a59('0x175')]&&_0x2f9a1a['push'](..._0x4da00e[_0x2a59('0x14c')]());const _0x10bb6c=function(_0x2bcf67,_0x38983b){const _0xb6929f=[];for(const _0x29130a of _0x38983b){const _0x171077=_0x2bcf67[_0x2a59('0x1e')](_0x29130a);_0x171077&&_0xb6929f[_0x2a59('0xc')](_0x171077);}return _0xb6929f;}(_0x333488,_0x2f9a1a),_0x3a5eda=function(_0x259b7e,_0x1c0cd5){const _0xf7be5a=[_0x259b7e];for(const _0x482251 of _0x1c0cd5){let _0x125b8d=0x0;for(;_0x125b8d<_0xf7be5a[_0x2a59('0x75')];){const _0x17ddb3=_0xf7be5a[_0x125b8d][_0x2a59('0xa')](_0x482251);_0xf7be5a['splice'](_0x125b8d,0x1,..._0x17ddb3),_0x125b8d+=_0x17ddb3['length'];}}return _0xf7be5a;}(_0x333488,_0x2f9a1a);_0x10bb6c[_0x2a59('0x75')]&&this[_0x2a59('0x146')][_0x2a59('0x31')](()=>{for(const _0x560985 of _0x10bb6c){const _0x17dbe6=this[_0x2a59('0xec')][_0x2a59('0x76')](_0x2a59('0x12e'),_0x2a3e68,_0x2a59('0x58'));this[_0x2a59('0x104')](()=>_0x17dbe6([_0x560985],_0x46daa0,_0x13f7dd));}});for(const _0x291243 of _0x3a5eda){let _0x58f166=null,_0x5662b2=_0x291243[_0x2a59('0xf4')],_0x5700a9=_0x291243['end'];for(const {suggestion:_0x117e5a,meta:_0x5bd811}of this[_0x2a59('0x28')](_0x291243,'formatInline')){if(!_0x5bd811['isOwn'])continue;if(_0x117e5a['subType']!=_0x2a3e68)continue;if(!Gt(_0x117e5a,_0x13f7dd))continue;const _0x1772ba=_0x117e5a[_0x2a59('0x119')]();if(_0x1772ba[_0x2a59('0x11c')](_0x291243,!0x0))return null;_0x5662b2=_0x5662b2[_0x2a59('0x6e')](_0x1772ba[_0x2a59('0xf4')])?_0x5662b2:_0x1772ba[_0x2a59('0xf4')],_0x5700a9=_0x5700a9['isAfter'](_0x1772ba[_0x2a59('0xb6')])?_0x5700a9:_0x1772ba['end'],_0x58f166?_0x1772ba[_0x2a59('0xf4')][_0x2a59('0x6e')](_0x58f166[_0x2a59('0x119')]()['start'])?(_0x58f166[_0x2a59('0x4')](),_0x58f166=_0x117e5a):_0x117e5a[_0x2a59('0x4')]():_0x58f166=_0x117e5a;}const _0x4de3a3=this[_0x2a59('0x146')][_0x2a59('0xed')](_0x5662b2,_0x5700a9);if(_0x58f166)this[_0x2a59('0xd2')](_0x58f166,_0x4de3a3);else{const _0xf5e21a=_0x3dbefd(),_0x546495=_0x28cec9['id'];this[_0x2a59('0x8b')]({'id':_0xf5e21a,'type':_0x2a59('0xe8')+_0x2a3e68,'data':_0x46daa0,'createdAt':new Date(),'authorId':_0x546495,'attributes':_0x13f7dd}),this[_0x2a59('0x121')]('formatInline:'+_0x2a3e68,_0xf5e21a,_0x546495,_0x4de3a3);}}return null;}['markBlockFormat'](_0x1500dd,_0x25ece0,_0x47ea3a=[],_0x207b52=null,_0x1408cd={}){_0x25ece0[_0x2a59('0xd')]||(_0x25ece0['formatGroupId']=_0x25ece0[_0x2a59('0x135')]),_0x25ece0[_0x2a59('0xc1')]=_0x1500dd['is'](_0x2a59('0x117')),_0x207b52=_0x207b52||Et(_0x25ece0);const _0xad5e86=_0x47ea3a[_0x2a59('0xd3')](_0x5cdc86=>Ut(_0x5cdc86,this[_0x2a59('0x146')])),_0x595c19=_0x1500dd['is'](_0x2a59('0x117'))?_0x1500dd:Ut(_0x1500dd,this['_model']);if(_0x2a59('0x143')===this[_0x2a59('0xc4')]){const _0xe00146=this['_suggestionFactory'][_0x2a59('0x76')](_0x2a59('0x126'),_0x207b52,'accept');return this['forceDefaultExecution'](()=>_0xe00146([_0x595c19],_0x25ece0,_0x1408cd)),null;}_0xad5e86['push'](_0x595c19);let _0x30a007=!0x0;for(const _0x58819b of _0xad5e86)if(!this[_0x2a59('0x154')](_0x58819b)){_0x30a007=!0x1;break;}if(_0x30a007&&_0x2a59('0xf6')!==this[_0x2a59('0xc4')]){const _0x21b1e6=this[_0x2a59('0xec')][_0x2a59('0x76')]('formatBlock',_0x207b52,_0x2a59('0x58'));return this['forceDefaultExecution'](()=>_0x21b1e6([_0x595c19],_0x25ece0,_0x1408cd)),null;}let _0x2ee4ac=null,_0x4998b9=_0x595c19[_0x2a59('0xf4')],_0x13d1fa=_0x595c19[_0x2a59('0xb6')];for(const {suggestion:_0x372aa5,meta:_0x51b278}of this[_0x2a59('0x28')](_0x595c19,_0x2a59('0x126'))){if(!_0x51b278[_0x2a59('0x39')])continue;if(_0x51b278[_0x2a59('0x149')]||_0x51b278[_0x2a59('0x77')]||_0x51b278[_0x2a59('0x175')])continue;if(_0x372aa5[_0x2a59('0x15f')][_0x2a59('0xd')]!=_0x25ece0['formatGroupId'])continue;if(!Gt(_0x372aa5,_0x1408cd))continue;const _0x5afa3c=_0x372aa5[_0x2a59('0x119')]();if(_0x372aa5[_0x2a59('0x160')]==_0x207b52){if(_0x5afa3c[_0x2a59('0x11c')](_0x595c19,!0x0))return null;_0x4998b9=_0x4998b9[_0x2a59('0x6e')](_0x5afa3c[_0x2a59('0xf4')])?_0x4998b9:_0x5afa3c[_0x2a59('0xf4')],_0x13d1fa=_0x13d1fa[_0x2a59('0x5c')](_0x5afa3c[_0x2a59('0xb6')])?_0x13d1fa:_0x5afa3c[_0x2a59('0xb6')],_0x2ee4ac?_0x5afa3c[_0x2a59('0xf4')]['isBefore'](_0x2ee4ac[_0x2a59('0x119')]()['start'])?(_0x2ee4ac[_0x2a59('0x4')](),_0x2ee4ac=_0x372aa5):_0x372aa5[_0x2a59('0x4')]():_0x2ee4ac=_0x372aa5;}else{const _0x3d50b5=_0x595c19[_0x2a59('0x1e')](_0x5afa3c);this[_0x2a59('0xba')](_0x372aa5,_0x3d50b5);}}const _0x2a8290=this['editor'][_0x2a59('0xe1')]['get'](_0x2a59('0xc5'))['me'],_0x414bc7=_0x3dbefd(),_0x12b94c=_0x2a8290['id'];if(_0x2ee4ac)return this[_0x2a59('0xd2')](_0x2ee4ac,this[_0x2a59('0x146')][_0x2a59('0xed')](_0x4998b9,_0x13d1fa)),_0x2ee4ac;{const _0x1fa8cb=this[_0x2a59('0x8b')]({'id':_0x414bc7,'type':_0x2a59('0xa3')+_0x207b52,'data':_0x25ece0,'createdAt':new Date(),'authorId':_0x12b94c,'attributes':_0x1408cd});return this['_addSuggestionMarker']('formatBlock:'+_0x207b52,_0x414bc7,_0x12b94c,this[_0x2a59('0x146')][_0x2a59('0xed')](_0x4998b9,_0x13d1fa)),_0x1fa8cb;}}[_0x2a59('0x3')](_0x2ad269,_0x2172c6,_0xd97300=[],_0x371877=null,_0x553972={}){_0x2172c6[_0x2a59('0xd')]||(_0x2172c6[_0x2a59('0xd')]=_0x2172c6[_0x2a59('0x135')]);const _0x27370d=_0x2ad269[0x0];_0x2172c6[_0x2a59('0xc1')]=_0x27370d['is']('range'),_0x371877=_0x371877||Et(_0x2172c6);const _0x47dbeb=_0xd97300[_0x2a59('0xd3')](_0x1c427a=>Ut(_0x1c427a,this['_model'])),_0x2c784e=_0x27370d['is'](_0x2a59('0x117'))?_0x2ad269:_0x2ad269[_0x2a59('0xd3')](_0x1f159a=>Ut(_0x1f159a,this[_0x2a59('0x146')]));if('never'===this[_0x2a59('0xc4')]){const _0x5609c9=this[_0x2a59('0xec')]['getSuggestionCallback']('formatBlock',_0x371877,_0x2a59('0x58'));return this[_0x2a59('0x104')](()=>_0x5609c9(_0x2c784e,_0x2172c6,_0x553972)),null;}_0x47dbeb[_0x2a59('0xc')](..._0x2c784e);let _0x318381=!0x0;for(const _0x41bb22 of _0x47dbeb)if(!this[_0x2a59('0x154')](_0x41bb22)){_0x318381=!0x1;break;}if(_0x318381&&'always'!==this[_0x2a59('0xc4')]){const _0x400aca=this[_0x2a59('0xec')][_0x2a59('0x76')](_0x2a59('0x126'),_0x371877,_0x2a59('0x58'));return this['forceDefaultExecution'](()=>_0x400aca(_0x2c784e,_0x2172c6,_0x553972)),null;}const _0x3a9da3=this['editor'][_0x2a59('0xe1')][_0x2a59('0x105')]('Users')['me'];for(const _0x10652b of this[_0x2a59('0x14d')]()){if(_0x10652b[_0x2a59('0xd1')]['id']!=_0x3a9da3['id'])continue;if(_0x2a59('0x126')!=_0x10652b[_0x2a59('0x161')]||_0x10652b['data'][_0x2a59('0xd')]!=_0x2172c6['formatGroupId'])continue;if(!Gt(_0x10652b,_0x553972))continue;const _0x25d718=_0x10652b['subType']==_0x371877;for(let _0x458f73=0x0;_0x458f73<_0x2c784e[_0x2a59('0x75')];_0x458f73++){const _0x106595=_0x2c784e[_0x458f73];for(const _0xdeca55 of _0x10652b[_0x2a59('0x171')]()){const _0x3e0fe0=_0xdeca55[_0x2a59('0x4a')]();if(_0x106595[_0x2a59('0x2')](_0x3e0fe0)){_0x25d718?(_0x2c784e[_0x2a59('0x129')](_0x458f73,0x1),_0x458f73--):_0x10652b['removeMarker'](_0xdeca55['name']);break;}}}}if(0x0==_0x2c784e[_0x2a59('0x75')])return null;const _0x2ceda3=this[_0x2a59('0xec')]['getSuggestionCallback'](_0x2a59('0x126'),_0x371877,_0x2a59('0x79'));for(const _0x2c00ad of this['getSuggestions']())if(_0x2c00ad[_0x2a59('0xd1')]['id']==_0x3a9da3['id']&&_0x2a59('0x126')==_0x2c00ad[_0x2a59('0x161')]&&_0x2c00ad[_0x2a59('0x15f')][_0x2a59('0xd')]==_0x2172c6[_0x2a59('0xd')]&&_0x2c00ad[_0x2a59('0x160')]==_0x371877&&Gt(_0x2c00ad,_0x553972)&&(_0x2ceda3(_0x2c00ad[_0x2a59('0x14c')](),_0x2c784e)||_0x2ceda3(_0x2c784e,_0x2c00ad['getRanges']()))){for(const _0x540ef4 of _0x2c784e)_0x2c00ad[_0x2a59('0x22')](_0x540ef4);return _0x2c00ad;}const _0x31eafb=_0x3dbefd(),_0x4cad38=_0x3a9da3['id'],_0xa04781=_0x2a59('0xa3')+_0x371877,_0x104dc3=this[_0x2a59('0x8b')]({'id':_0x31eafb,'type':_0xa04781,'data':_0x2172c6,'createdAt':new Date(),'authorId':_0x4cad38,'attributes':_0x553972});for(const _0x453cf3 of _0x2c784e)this['_addSuggestionMarker'](_0xa04781,_0x31eafb,_0x4cad38,_0x453cf3,_0x253f8['getMultiRangeId']());return _0x104dc3;}['markDeletion'](_0x5764a2,_0x38aa48=null,_0x236826={}){if(_0x5764a2['isCollapsed'])return null;const _0x1ee833=this['editor']['plugins'][_0x2a59('0x105')](_0x2a59('0xc5'))['me'],_0x411245=new _0x6ecb11(_0x5764a2[_0x2a59('0xf4')],_0x5764a2[_0x2a59('0xb6')]);for(const {suggestion:_0x3f8374,meta:_0x385bc9}of this['_findSuggestions'](_0x411245,_0x2a59('0x103')))if(_0x385bc9[_0x2a59('0x39')]&&!_0x385bc9[_0x2a59('0x149')]){if(_0x3f8374[_0x2a59('0xb')]){const _0x1f3fca=_0x3f8374[_0x2a59('0x14c')]()[_0x2a59('0x55')](_0x107752=>'$graveyard'!=_0x107752[_0x2a59('0x62')]['rootName']);_0x1f3fca[_0x2a59('0x153')](_0x438091=>_0x411245[_0x2a59('0x11c')](_0x438091,!0x0))&&_0x3f8374[_0x2a59('0x136')]();if(_0x1f3fca[_0x2a59('0x9b')](_0x203957=>_0x203957[_0x2a59('0x11c')](_0x411245,!0x0))){const _0x17c250=this[_0x2a59('0xec')]['getSuggestionCallback']('deletion',_0x38aa48,'accept');return this[_0x2a59('0x104')](()=>_0x17c250([_0x411245],null,_0x236826)),null;}}else{const _0x96f43=_0x411245[_0x2a59('0x1e')](_0x3f8374[_0x2a59('0x119')]());null!==_0x96f43&&_0x3f8374[_0x2a59('0x98')]([_0x96f43],null,_0x236826);}}if(_0x411245[_0x2a59('0xf')](),_0x411245[_0x2a59('0x6f')]||_0x2a59('0x69')==_0x411245[_0x2a59('0x62')]['rootName'])return null;let _0x2152e0=null,_0x1dd684=_0x411245['start'],_0x594b51=_0x411245[_0x2a59('0xb6')];const _0x95b296=this[_0x2a59('0x28')](_0x411245,'deletion');for(const {suggestion:_0x37383b,meta:_0x484690}of _0x95b296){const _0x291ae7=this['_model'][_0x2a59('0xed')](_0x1dd684,_0x594b51);if(_0x484690[_0x2a59('0x39')]&&(this['_mergeNestedSuggestions']||!_0x484690['containsRangeInObject']&&!_0x484690[_0x2a59('0x175')])){if(_0x37383b[_0x2a59('0xb')]){if(!Gt(_0x37383b,_0x236826))continue;let _0x221690=!0x0;for(const _0x581c1e of _0x37383b['getRanges']()){if(_0x581c1e[_0x2a59('0x11c')](_0x291ae7,!0x0))return _0x37383b;_0x291ae7[_0x2a59('0x11c')](_0x581c1e)||(_0x221690=!0x1);}_0x221690&&_0x37383b[_0x2a59('0x136')]();}else{const _0x3f6a22=_0x37383b[_0x2a59('0x119')]();if(_0x3f6a22[_0x2a59('0x11c')](_0x291ae7,!0x0))return _0x37383b;if(!Gt(_0x37383b,_0x236826)){_0x291ae7['containsRange'](_0x3f6a22)?_0x37383b['removeMarkers']():_0x3f6a22['containsPosition'](_0x1dd684)?_0x1dd684=_0x3f6a22[_0x2a59('0xb6')]:_0x3f6a22['containsPosition'](_0x594b51)&&(_0x594b51=_0x3f6a22[_0x2a59('0xf4')]);continue;}_0x1dd684=_0x1dd684[_0x2a59('0x6e')](_0x3f6a22[_0x2a59('0xf4')])?_0x1dd684:_0x3f6a22['start'],_0x594b51=_0x594b51['isAfter'](_0x3f6a22['end'])?_0x594b51:_0x3f6a22['end'],_0x236826=Object['assign']({},_0x37383b['attributes']),_0x2152e0?_0x3f6a22[_0x2a59('0xf4')]['isBefore'](_0x2152e0['getFirstRange']()[_0x2a59('0xf4')])?(_0x2152e0[_0x2a59('0x4')](),_0x2152e0=_0x37383b):_0x37383b[_0x2a59('0x4')]():_0x2152e0=_0x37383b;}}}if(_0x2152e0)return this[_0x2a59('0xd2')](_0x2152e0,this[_0x2a59('0x146')]['createRange'](_0x1dd684,_0x594b51)),_0x2152e0;{const _0x17435d=_0x3dbefd(),_0x163a5a=this[_0x2a59('0x146')][_0x2a59('0xed')](_0x1dd684,_0x594b51),_0x4b4137=_0x1ee833['id'],_0x1d6462=_0x38aa48?_0x2a59('0x94')+_0x38aa48:_0x2a59('0x132'),_0x1a3749=this[_0x2a59('0x8b')]({'id':_0x17435d,'type':_0x1d6462,'createdAt':new Date(),'authorId':_0x4b4137,'attributes':_0x236826});return this[_0x2a59('0x121')](_0x1d6462,_0x17435d,_0x4b4137,_0x163a5a),_0x1a3749;}}[_0x2a59('0xe6')](_0x1de180,_0x5397e8='multi',_0x3c5aeb={}){const _0x2ddbdf=this[_0x2a59('0xce')][_0x2a59('0xe1')]['get'](_0x2a59('0xc5'))['me'],_0x2f2149=_0x1de180[_0x2a59('0xd3')](_0x1d2a94=>new _0x6ecb11(_0x1d2a94[_0x2a59('0xf4')],_0x1d2a94[_0x2a59('0xb6')])),_0x3a4226=new Set();for(const {suggestion:_0x4660fd,meta:_0x4686b5}of this[_0x2a59('0x28')](_0x2f2149,'insertion'))_0x4686b5[_0x2a59('0x39')]&&!_0x4686b5['isNextTo']&&_0x3a4226['add'](_0x4660fd);for(const _0x45daa1 of _0x3a4226)if(_0x45daa1[_0x2a59('0xb')]){const _0x131cb3=_0x45daa1['getRanges']();(!_0x45daa1[_0x2a59('0xcc')]||!_0x45daa1[_0x2a59('0xcc')][_0x2a59('0x17')])&&(_0x131cb3[_0x2a59('0x153')](_0x4749dc=>_0x2f2149[_0x2a59('0x9b')](_0x2804a7=>_0x2804a7[_0x2a59('0x11c')](_0x4749dc,!0x0)))&&_0x45daa1[_0x2a59('0x136')]());if(_0x2f2149[_0x2a59('0x153')](_0x5dcc54=>_0x131cb3[_0x2a59('0x9b')](_0x2a845e=>_0x2a845e[_0x2a59('0x11c')](_0x5dcc54,!0x0)))){const _0x1aa3b6=this[_0x2a59('0xec')][_0x2a59('0x76')](_0x2a59('0x132'),_0x5397e8,_0x2a59('0x58'));return this[_0x2a59('0x104')](()=>_0x1aa3b6(_0x1de180,null,_0x3c5aeb)),null;}}else{const _0x1d8b4b=_0x45daa1[_0x2a59('0x119')]();_0x2f2149[_0x2a59('0x9b')](_0x464d80=>_0x464d80[_0x2a59('0x11c')](_0x1d8b4b,!0x0))&&_0x45daa1[_0x2a59('0x136')]();if(_0x2f2149[_0x2a59('0x153')](_0x333670=>_0x1d8b4b[_0x2a59('0x11c')](_0x333670,!0x0))){const _0x37bd8b=this[_0x2a59('0xec')][_0x2a59('0x76')](_0x2a59('0x132'),_0x5397e8,_0x2a59('0x58'));return this[_0x2a59('0x104')](()=>_0x37bd8b(_0x2f2149,null,_0x3c5aeb)),null;}}const _0x4da0c5=this['_suggestionFactory'][_0x2a59('0x76')](_0x2a59('0x132'),_0x5397e8,_0x2a59('0x79'));let _0x52b125=null;for(const _0x150bec of this['getSuggestions']())if(_0x150bec['author']['id']==_0x2ddbdf['id']&&_0x150bec['isInContent']&&_0x2a59('0x132')==_0x150bec[_0x2a59('0x161')]&&_0x150bec[_0x2a59('0x160')]==_0x5397e8&&Gt(_0x150bec,_0x3c5aeb)&&(_0x4da0c5(_0x150bec[_0x2a59('0x14c')](),_0x2f2149)||_0x4da0c5(_0x2f2149,_0x150bec['getRanges']()))){if(_0x52b125){if(_0x150bec[_0x2a59('0xa8')]&&_0x150bec[_0x2a59('0xa8')]['length'])continue;for(const _0x1f0acd of _0x150bec[_0x2a59('0x14c')]())_0x52b125[_0x2a59('0x60')](_0x1f0acd)||_0x52b125[_0x2a59('0x22')](_0x1f0acd);_0x150bec[_0x2a59('0x4')]();}else{_0x52b125=_0x150bec;for(const _0x548ad7 of _0x2f2149)_0x150bec[_0x2a59('0x60')](_0x548ad7)||_0x150bec[_0x2a59('0x22')](_0x548ad7);}}if(_0x52b125)return _0x52b125;_0x3a4226[_0x2a59('0xb4')]();for(const {suggestion:_0x414cae,meta:_0x48d21d}of this['_findSuggestions'](_0x2f2149,_0x2a59('0x132')))_0x48d21d['isOwn']&&(this[_0x2a59('0xfd')]||!_0x48d21d[_0x2a59('0x77')]&&!_0x48d21d[_0x2a59('0x175')])&&Gt(_0x414cae,_0x3c5aeb)&&_0x3a4226[_0x2a59('0x113')](_0x414cae);for(const _0x400f21 of _0x3a4226){const _0x4a41db=_0x400f21['getRanges']();if(!_0x3c5aeb||!_0x3c5aeb[_0x2a59('0x17')]){if(_0x2f2149[_0x2a59('0x153')](_0x405bcb=>_0x4a41db['some'](_0x309fe1=>_0x309fe1[_0x2a59('0x11c')](_0x405bcb,!0x0))))return _0x400f21;}(!_0x400f21['attributes']||!_0x400f21[_0x2a59('0xcc')][_0x2a59('0x17')])&&(_0x4a41db['every'](_0x5a57d3=>_0x2f2149['some'](_0x4a8069=>_0x4a8069['containsRange'](_0x5a57d3,!0x0)))&&_0x400f21[_0x2a59('0x136')]());}const _0x21629a=_0x3dbefd(),_0x33051f=_0x2ddbdf['id'],_0x5f0aff=_0x2a59('0x94')+_0x5397e8,_0x199615=this['_setSuggestionData']({'id':_0x21629a,'type':_0x5f0aff,'createdAt':new Date(),'authorId':_0x33051f,'attributes':_0x3c5aeb});for(const _0x4f2475 of _0x2f2149)_0x4f2475[_0x2a59('0xf')](),_0x4f2475[_0x2a59('0x6f')]||_0x2a59('0x69')==_0x4f2475['root'][_0x2a59('0x80')]||this[_0x2a59('0x121')](_0x5f0aff,_0x21629a,_0x33051f,_0x4f2475,_0x253f8[_0x2a59('0x17a')]());return _0x199615;}[_0x2a59('0x54')](_0x390b6e,_0x3707b4,_0x14acba,_0x52cf14,_0x52f108){if(_0x390b6e[_0x2a59('0x6f')])return[];if(_0x2a59('0x143')===this['_trackFormatChanges'])return[];const _0x424936=this[_0x2a59('0xce')]['plugins']['get']('Users')['me']['id'],_0x193cb2=Array[_0x2a59('0x68')](this[_0x2a59('0x131')][_0x2a59('0xab')]())[_0x2a59('0x55')](_0x5ca63a=>_0x2a59('0x13a')==_0x5ca63a[_0x2a59('0x161')]&&_0x5ca63a[_0x2a59('0x15f')]['key']==_0x3707b4&&_0x5ca63a[_0x2a59('0x60')](_0x390b6e));if(_0x2a59('0x13d')===this['_trackFormatChanges']){const _0x3a9329=this['_findSuggestions'](_0x390b6e,'insertion')[_0x2a59('0x55')](({meta:_0x3979cc})=>_0x3979cc[_0x2a59('0x39')]&&!_0x3979cc[_0x2a59('0x175')]&&!_0x3979cc[_0x2a59('0x149')])[_0x2a59('0xd3')](({suggestion:_0xe553e9})=>_0xe553e9);_0x193cb2['unshift'](..._0x3a9329);}const _0x123101=new Map([[_0x390b6e,_0x14acba]]);for(const _0x1c670e of _0x193cb2){const _0x47ebbd=_0x2a59('0x13a')==_0x1c670e[_0x2a59('0x161')]?_0x1c670e[_0x2a59('0x15f')][_0x2a59('0x151')]:void 0x0,_0x8d731c=_0x1c670e[_0x2a59('0x119')](),_0x401706=Array['from'](_0x123101[_0x2a59('0x13')]())['find'](_0x3a5683=>_0x3a5683[_0x2a59('0x14a')](_0x8d731c));if(!_0x401706)continue;const _0x4b2729=_0x401706[_0x2a59('0xa')](_0x8d731c);this[_0x2a59('0xee')](_0x3707b4)&&_0x2a59('0x103')==_0x1c670e[_0x2a59('0x161')]&&0x0!=_0x4b2729[_0x2a59('0x75')]||(_0x123101[_0x2a59('0x33')](_0x401706),_0x4b2729[_0x2a59('0x1b')](_0xe4ac1a=>{_0x123101[_0x2a59('0x9')](_0xe4ac1a,_0x14acba);}),_0x2a59('0x103')!=_0x1c670e[_0x2a59('0x161')]&&_0x47ebbd!=_0x52cf14&&_0x123101['set'](_0x401706[_0x2a59('0x1e')](_0x8d731c),_0x47ebbd));}const _0x55e0de=[];for(const [_0x39b3ee,_0x3030b9]of _0x123101){const _0x45ed10=_0x3dbefd(),_0x222d2f={'key':_0x3707b4,'oldValue':_0x3030b9,'newValue':_0x52cf14};_0x3707b4[_0x2a59('0x75')]>0x25&&console[_0x2a59('0x7c')](_0x2a59('0x92'),{'key':_0x3707b4});const _0x1fc3f0=('attribute:'+(_0x3707b4+'|'+Et({'newValue':_0x52cf14})))[_0x2a59('0xbf')](0x0,0x3c),_0x44a750=this['_setSuggestionData']({'id':_0x45ed10,'type':_0x1fc3f0,'data':_0x222d2f,'createdAt':new Date(),'authorId':_0x424936,'attributes':_0x52f108});_0x55e0de['push'](_0x44a750),this[_0x2a59('0x121')](_0x1fc3f0,_0x45ed10,_0x424936,_0x39b3ee);}return _0x55e0de;}['_registerBlockAttribute'](_0x4fae9f){this[_0x2a59('0xc0')]['add'](_0x4fae9f);}[_0x2a59('0x1')](_0x42958b){this[_0x2a59('0x15')][_0x2a59('0x113')](_0x42958b);}[_0x2a59('0x101')](_0x26f683,_0x5e40a3=[],_0x5510ad=[]){this[_0x2a59('0xf5')](_0x26f683,(_0xdd16f5,..._0x5b1c47)=>{this[_0x2a59('0xb0')](()=>{_0xdd16f5(..._0x5b1c47);});});for(const _0x38399c of _0x5e40a3)this[_0x2a59('0x1')](_0x38399c);for(const _0x24b1f9 of _0x5510ad)this['_registerBlockAttribute'](_0x24b1f9);}[_0x2a59('0xd2')](_0x5b5869,_0x4631cd){const _0x1186dd=_0x5b5869['getFirstMarker']();this['_model'][_0x2a59('0x31')](_0x3afcd9=>{_0x3afcd9[_0x2a59('0x71')](_0x1186dd,{'range':_0x4631cd});});}[_0x2a59('0x4e')](_0xd1dea6){const _0x109b5c=_0xd1dea6['id'],_0x3b2bac=this['editor'][_0x2a59('0xfa')]['get'](_0x2a59('0xdb'));this['_commentsRepository']['hasCommentThread'](_0x109b5c)||this[_0x2a59('0xd8')][_0x2a59('0x85')]({'channelId':_0x3b2bac,'threadId':_0x109b5c,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1bdf8e=this['_commentsRepository'][_0x2a59('0x156')](_0x109b5c);_0x1bdf8e['unbind'](_0x2a59('0xa4')),_0x1bdf8e[_0x2a59('0xa4')]=!0x1,_0xd1dea6[_0x2a59('0xa8')]=_0x1bdf8e;}[_0x2a59('0x5f')](_0x3bcb9b,_0x4f6ba7,_0x52a8ad,_0x103417){if(_0x3bcb9b[_0x2a59('0x161')]!=_0x4f6ba7||_0x3bcb9b[_0x2a59('0x160')]!=_0x52a8ad||_0x3bcb9b[_0x2a59('0x14e')]['id']!=_0x103417)throw this[_0x2a59('0xce')][_0x2a59('0x3c')](_0x2a59('0xa1')),new _0x3b6119(_0x2a59('0xa1'),this);}[_0x2a59('0xba')](_0x4a24db,_0x38da83){const _0xf29649=_0x4a24db[_0x2a59('0x119')]();if(_0x38da83[_0x2a59('0x2')](_0xf29649))_0x4a24db[_0x2a59('0x4')]();else{if(_0xf29649['containsRange'](_0x38da83)){const _0x4790a4=this[_0x2a59('0x146')][_0x2a59('0x16b')](_0x38da83[_0x2a59('0xf4')][_0x2a59('0x147')],_0x2a59('0xb6'));this[_0x2a59('0xd2')](_0x4a24db,this[_0x2a59('0x146')][_0x2a59('0xed')](_0xf29649['start'],_0x4790a4));const _0x362c58=_0x3dbefd(),_0x38d94d=_0x4a24db[_0x2a59('0x14e')]['id'],_0x1d8a85=_0x4a24db[_0x2a59('0x161')]+':'+_0x4a24db[_0x2a59('0x160')];this[_0x2a59('0x8b')]({'id':_0x362c58,'type':_0x1d8a85,'createdAt':new Date(),'authorId':_0x38d94d,'data':_0x4a24db[_0x2a59('0x15f')],'attributes':_0x4a24db['attributes']});const _0x5c48be=this[_0x2a59('0x146')][_0x2a59('0x16b')](_0x38da83['end'][_0x2a59('0x159')],_0x2a59('0x173')),_0x2ebb11=this['_model']['createRange'](_0x5c48be,_0xf29649[_0x2a59('0xb6')]);this[_0x2a59('0x121')](_0x1d8a85,_0x362c58,_0x38d94d,_0x2ebb11);}else{if(_0xf29649[_0x2a59('0xca')](_0x38da83[_0x2a59('0xf4')])){const _0x4d09c0=this[_0x2a59('0x146')][_0x2a59('0x16b')](_0x38da83['start'][_0x2a59('0x147')],_0x2a59('0xb6'));this[_0x2a59('0xd2')](_0x4a24db,this[_0x2a59('0x146')][_0x2a59('0xed')](_0xf29649[_0x2a59('0xf4')],_0x4d09c0));}else{const _0x147a91=this[_0x2a59('0x146')][_0x2a59('0x16b')](_0x38da83['end']['parent'],_0x2a59('0x173'));this[_0x2a59('0xd2')](_0x4a24db,this[_0x2a59('0x146')][_0x2a59('0xed')](_0x147a91,_0xf29649[_0x2a59('0xb6')]));}}}}['_rangeIsInLocalUserInsertion'](_0x21d2de){for(const {suggestion:_0x13cdc9,meta:_0xb6e07f}of this[_0x2a59('0x28')](_0x21d2de,'insertion')){if(!_0xb6e07f['isOwn'])continue;const _0x370ce4=_0x13cdc9[_0x2a59('0x14c')]();for(const _0x3d898b of _0x370ce4)if(!_0x21d2de[_0x2a59('0xa')](_0x3d898b)['length'])return!0x0;}return!0x1;}[_0x2a59('0xf3')](_0x1ce037){const _0x23b4fa=this[_0x2a59('0xce')][_0x2a59('0xe1')]['get'](_0x2a59('0xc5'))['getUser'](_0x1ce037);if(!_0x23b4fa)throw new _0x3b6119(_0x2a59('0x48'),this);return _0x23b4fa;}['_getExternalAuthor'](_0x266b32){const _0x303577=this['editor'][_0x2a59('0xe1')]['get']('Users'),_0x368b6e=_0x5adbcd('external:'+_0x266b32),_0x4ba08f=_0x303577[_0x2a59('0x179')](_0x368b6e);return _0x4ba08f||_0x303577['addUser']({'id':_0x368b6e,'name':_0x266b32});}[_0x2a59('0xbe')](_0xb8221b,_0xf66340,_0x401691,_0x5be408,_0x1b7cf8){const _0x31c803=this[_0x2a59('0xf3')](_0x5be408),_0x307560=this[_0x2a59('0xec')][_0x2a59('0x20')](_0xb8221b,_0xf66340,_0x401691,_0x31c803,_0x1b7cf8,_0x70597f=>this['_updateSuggestionData'](_0x401691,{'attributes':_0x70597f}));return this['listenTo'](_0x307560,_0x2a59('0x58'),()=>{this[_0x2a59('0x8f')](_0x401691,{'state':'accepted'});},{'priority':'high'}),this[_0x2a59('0x99')](_0x307560,_0x2a59('0x136'),()=>{this[_0x2a59('0x8f')](_0x401691,{'state':_0x2a59('0x3f')});},{'priority':_0x2a59('0xe0')}),this[_0x2a59('0x131')][_0x2a59('0x9')](_0x401691,_0x307560),this[_0x2a59('0x133')]['set'](_0x307560,_0x2a59('0xff')),_0x307560;}[_0x2a59('0x14')](_0x14053c){const _0x1c0e1d=_0x14053c[_0x2a59('0x106')](':');return{'group':_0x1c0e1d[0x0],'type':_0x1c0e1d[0x1],'subType':_0x1c0e1d['length']>=0x5?_0x1c0e1d[0x2]:null,'id':_0x1c0e1d[_0x2a59('0x75')]<0x5?_0x1c0e1d[0x2]:_0x1c0e1d[0x3],'authorId':_0x1c0e1d[_0x2a59('0x75')]<0x5?_0x1c0e1d[0x3]:_0x1c0e1d[0x4],'markerCount':0x6==_0x1c0e1d[_0x2a59('0x75')]?_0x1c0e1d[0x5]:null};}[_0x2a59('0x12b')](_0x560577,_0x380958,_0x452924){const _0x97ac64=_0x560577[_0x2a59('0x119')](),_0xb5efa=_0x97ac64['start'],_0x2a5c7c=_0x97ac64[_0x2a59('0xb6')];this[_0x2a59('0xd2')](_0x560577,this[_0x2a59('0x146')]['createRange'](_0xb5efa,_0x380958));const _0x1e1d44=_0x3dbefd(),_0x1d3882=_0x560577['creator']['id'],_0x1fdcd2=_0x560577['type']+(_0x560577[_0x2a59('0x160')]?':'+_0x560577[_0x2a59('0x160')]:'');this[_0x2a59('0x8b')]({'id':_0x1e1d44,'type':_0x1fdcd2,'createdAt':new Date(),'authorId':_0x1d3882,'originalSuggestionId':_0x560577['id'],'attributes':_0x560577[_0x2a59('0xcc')],'data':_0x560577[_0x2a59('0x15f')]});const _0x2a22d6=Pt(_0x560577);('formatBlock'==_0x560577[_0x2a59('0x161')]||_0x2a22d6&&this[_0x2a59('0xee')](_0x2a22d6))&&(_0x452924=this[_0x2a59('0x146')]['createPositionBefore'](_0x452924[_0x2a59('0x159')])),this[_0x2a59('0x121')](_0x1fdcd2,_0x1e1d44,_0x1d3882,this[_0x2a59('0x146')]['createRange'](_0x452924,_0x2a5c7c));}[_0x2a59('0x28')](_0x12f0b3,_0x1725f9=null){const _0x41341c=[],_0x2cdff1=this['editor'][_0x2a59('0xe1')][_0x2a59('0x105')](_0x2a59('0xc5'))['me'];Array[_0x2a59('0x11f')](_0x12f0b3)||(_0x12f0b3=[_0x12f0b3]);for(const _0x3aaa2b of this[_0x2a59('0x14d')]()){if(!_0x3aaa2b['isInContent'])continue;if(_0x1725f9&&_0x3aaa2b[_0x2a59('0x161')]!=_0x1725f9)continue;let _0x409c9c=!0x1;for(const _0x24f8db of _0x3aaa2b[_0x2a59('0x14c')]()){for(const _0x40bb44 of _0x12f0b3){const _0x451d6f=_0x40bb44[_0x2a59('0xf4')]['isEqual'](_0x24f8db[_0x2a59('0xb6')])||_0x40bb44[_0x2a59('0xb6')][_0x2a59('0x2')](_0x24f8db[_0x2a59('0xf4')]);if(_0x451d6f||_0x40bb44[_0x2a59('0x1e')](_0x24f8db)){const _0x507492=_0x40bb44['containsRange'](_0x24f8db)&&Bt(this[_0x2a59('0x146')][_0x2a59('0x51')],_0x24f8db[_0x2a59('0xf4')],_0x40bb44),_0x3e28fa=_0x24f8db[_0x2a59('0x11c')](_0x40bb44)&&Bt(this[_0x2a59('0x146')][_0x2a59('0x51')],_0x40bb44['start'],_0x24f8db);_0x41341c[_0x2a59('0xc')]({'suggestion':_0x3aaa2b,'meta':{'isOwn':_0x2cdff1==_0x3aaa2b[_0x2a59('0xd1')],'isNextTo':_0x451d6f,'isInsideObject':_0x507492,'containsRangeInObject':_0x3e28fa}}),_0x409c9c=!0x0;break;}}if(_0x409c9c)break;}}return _0x41341c;}[_0x2a59('0x121')](_0x5ad087,_0x99cb07,_0x4eddbb,_0x46e43e,_0x45a880){this[_0x2a59('0x146')][_0x2a59('0x31')](_0x36cc92=>{let _0x3e08ab='suggestion:'+_0x5ad087+':'+_0x99cb07+':'+_0x4eddbb;_0x45a880&&(_0x3e08ab=_0x3e08ab+':'+_0x45a880),_0x36cc92['addMarker'](_0x3e08ab,{'range':_0x46e43e,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2a59('0x142')](_0x1ec4ff){const _0x3ed137=_0x1ec4ff['previous'],_0x101cdf=_0x1ec4ff[_0x2a59('0x7')];_0x1ec4ff[_0x2a59('0x9e')]=null,_0x1ec4ff['next']=null,null!=_0x3ed137&&(_0x3ed137[_0x2a59('0x7')]=_0x101cdf),null!=_0x101cdf&&(_0x101cdf['previous']=_0x3ed137),_0x2a59('0x130')==this[_0x2a59('0x133')][_0x2a59('0x105')](_0x1ec4ff)&&(this[_0x2a59('0x133')][_0x2a59('0x9')](_0x1ec4ff,_0x2a59('0x8')),this['fire']('suggestionUnloaded',_0x1ec4ff,_0x3ed137,_0x101cdf));}[_0x2a59('0x8b')](_0x3a4a09){const _0x24efab=_0x3a4a09['id'],_0x418f6a=this[_0x2a59('0x112')](_0x3a4a09);if(this[_0x2a59('0x19')]&&this[_0x2a59('0x19')]['addSuggestion']){const _0x348794=this[_0x2a59('0xce')][_0x2a59('0xe1')][_0x2a59('0x105')](_0x2a59('0x167')),_0x3e41fc=_0x418f6a[_0x2a59('0x166')],_0x558629=_0x418f6a[_0x2a59('0x160')]?_0x418f6a['type']+':'+_0x418f6a['subType']:_0x418f6a[_0x2a59('0x161')],_0x3105b1=this[_0x2a59('0xce')][_0x2a59('0x170')],_0x501bd3=_0x348794['add'](_0x59b314(_0x3105b1,_0x2a59('0x72'))),_0x23dbd0={'id':_0x24efab,'type':_0x558629,'hasComments':_0x3e41fc,'data':_0x3a4a09[_0x2a59('0x15f')]||null,'originalSuggestionId':_0x3a4a09[_0x2a59('0x13f')]||null,'attributes':_0x418f6a[_0x2a59('0xcc')]};this['_adapter']['addSuggestion'](_0x23dbd0)[_0x2a59('0xe5')](_0xb60913=>{_0x418f6a[_0x2a59('0x9d')]=!0x0,_0x348794[_0x2a59('0x74')](_0x501bd3),_0xb60913&&_0xb60913['createdAt']&&(this['_suggestions'][_0x2a59('0x105')](_0x24efab)[_0x2a59('0x1a')]=_0xb60913[_0x2a59('0x1a')]);})[_0x2a59('0xc8')](_0x1c2dcc=>{throw _0x2510fe(_0x2a59('0x44')),this[_0x2a59('0xce')][_0x2a59('0xae')][_0x2a59('0x108')]({'isUndoable':!0x1},()=>{_0x418f6a[_0x2a59('0x136')]();}),_0x418f6a[_0x2a59('0x10c')](),this[_0x2a59('0x131')][_0x2a59('0x33')](_0x418f6a['id']),this['_suggestionState'][_0x2a59('0x33')](_0x418f6a),_0x1c2dcc;});}return _0x418f6a;}['_isBlockAttribute'](_0x22ec9b){return this[_0x2a59('0xc0')]['has'](_0x22ec9b);}[_0x2a59('0x8f')](_0x33a9cf,_0x2cdf48){const _0x5d4e9a=this[_0x2a59('0xce')]['plugins'][_0x2a59('0x105')](_0x2a59('0x167')),_0x46212f=this[_0x2a59('0x3b')](_0x33a9cf);if(this[_0x2a59('0x19')]&&this[_0x2a59('0x19')][_0x2a59('0x8d')]){if(_0x46212f['_saved']){const _0x1f2be7=_0x5d4e9a[_0x2a59('0x113')](_0x59b314(this[_0x2a59('0xce')][_0x2a59('0x170')],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x33a9cf,_0x2cdf48)[_0x2a59('0xe5')](()=>{_0x5d4e9a['remove'](_0x1f2be7);});}else _0x46212f['on'](_0x2a59('0xe9'),()=>{this['_updateSuggestionData'](_0x33a9cf,_0x2cdf48);});}}[_0x2a59('0x111')](_0x22aa77){if(!this[_0x2a59('0x19')]||!this['_adapter'][_0x2a59('0x3b')])throw new _0x3b6119(_0x2a59('0xda'),this);return this[_0x2a59('0x19')]['getSuggestion'](_0x22aa77);}[_0x2a59('0x10e')](_0x4383b8){const {id:_0x4f59d6,type:_0x4a899d,subType:_0x3a42f4,authorId:_0x45eddd}=this[_0x2a59('0x14')](_0x4383b8),_0x52fd72=this[_0x2a59('0x131')][_0x2a59('0x105')](_0x4f59d6)||this['_createSuggestion'](_0x4a899d,_0x3a42f4,_0x4f59d6,_0x45eddd,{});switch(this[_0x2a59('0x5f')](_0x52fd72,_0x4a899d,_0x3a42f4,_0x45eddd),this[_0x2a59('0x133')][_0x2a59('0x105')](_0x52fd72)){case _0x2a59('0xff'):this['_getSuggestionData'](_0x4f59d6)[_0x2a59('0xe5')](_0xd42a9f=>{let _0xe75273=Promise[_0x2a59('0x11e')]();_0xd42a9f[_0x2a59('0x166')]&&(_0xe75273=this[_0x2a59('0xd8')][_0x2a59('0xde')]({'channelId':this[_0x2a59('0xce')]['config'][_0x2a59('0x105')](_0x2a59('0xdb')),'threadId':_0x4f59d6})),_0xe75273[_0x2a59('0xe5')](()=>{this[_0x2a59('0x112')](_0xd42a9f)['_saved']=!0x0;});}),this['_suggestionState'][_0x2a59('0x9')](_0x52fd72,_0x2a59('0x115'));break;case _0x2a59('0x8'):this[_0x2a59('0x8f')](_0x4f59d6,{'state':'open'});case _0x2a59('0x95'):this['_suggestionState']['set'](_0x52fd72,_0x2a59('0x130')),this[_0x2a59('0x15d')]('suggestionLoaded',_0x52fd72);break;case _0x2a59('0x130'):this[_0x2a59('0x15d')](_0x2a59('0x81'),_0x52fd72);}return _0x52fd72['addMarkerName'](_0x4383b8),_0x52fd72;}[_0x2a59('0xb3')](_0x15dbe9){const _0x2bb8d1=Array[_0x2a59('0x68')](_0x15dbe9),_0xfe1109=_0x2bb8d1['filter'](_0xd446c2=>_0x2a59('0x13a')==_0xd446c2[_0x2a59('0x161')]);this[_0x2a59('0xaf')](_0xfe1109);const _0x2e3f5b=_0x2bb8d1[_0x2a59('0x55')](_0x290232=>!_0x290232[_0x2a59('0xb')]&&'attribute'!=_0x290232['type']),_0x222f49=this[_0x2a59('0x14d')]({'skipNotAttached':!0x0})[_0x2a59('0x55')](_0x159dc3=>!_0x159dc3[_0x2a59('0xb')]&&'attribute'!=_0x159dc3[_0x2a59('0x161')]),_0x4b325f=_0x222f49[_0x2a59('0x55')](_0x59ee44=>!_0x15dbe9[_0x2a59('0x5b')](_0x59ee44)),_0x4134bd=new Map(_0x222f49['map'](_0x2d4a59=>[_0x2d4a59,this[_0x2a59('0xec')]['getSuggestionCallback'](_0x2d4a59[_0x2a59('0x161')],_0x2d4a59[_0x2a59('0x160')],_0x2a59('0x10b'))])),_0x31509f=new Map(_0x222f49[_0x2a59('0xd3')](_0x685292=>[_0x685292,_0x685292['getFirstRange']()])),_0x1666ba=new Set(),_0x3c94c1=new Set();for(let _0x36c0ef=0x0;_0x36c0ef<_0x2e3f5b[_0x2a59('0x75')];_0x36c0ef++)_0x30efd5(_0x2e3f5b[_0x36c0ef],_0x2e3f5b,_0x36c0ef+0x1);for(let _0x4e5b99=0x0;_0x4e5b99<_0x2e3f5b[_0x2a59('0x75')];_0x4e5b99++)_0x30efd5(_0x2e3f5b[_0x4e5b99],_0x4b325f,0x0);const _0x48600e=new Set();for(let _0x117051=0x0;_0x117051<_0x2e3f5b[_0x2a59('0x75')];_0x117051++){const _0x1b237c=_0x2e3f5b[_0x117051];!_0x3c94c1[_0x2a59('0x5b')](_0x1b237c)&&_0x1b237c['previous']&&(_0x48600e[_0x2a59('0x113')](_0x1b237c[_0x2a59('0x9e')]),_0x1b237c[_0x2a59('0x9e')][_0x2a59('0x7')]===_0x1b237c&&(_0x1b237c[_0x2a59('0x9e')][_0x2a59('0x7')]=null),_0x1b237c[_0x2a59('0x9e')]=null),!_0x1666ba[_0x2a59('0x5b')](_0x1b237c)&&_0x1b237c['next']&&(_0x48600e[_0x2a59('0x113')](_0x1b237c['next']),_0x1b237c[_0x2a59('0x7')][_0x2a59('0x9e')]===_0x1b237c&&(_0x1b237c[_0x2a59('0x7')]['previous']=null),_0x1b237c[_0x2a59('0x7')]=null);}function _0x30efd5(_0x20cecd,_0x17e2c4,_0x4506c6){for(let _0x1846d9=_0x4506c6;_0x1846d9<_0x17e2c4[_0x2a59('0x75')];_0x1846d9++){const _0x211ce5=_0x2dda7f(_0x20cecd,_0x17e2c4[_0x1846d9]);_0x211ce5&&(_0x211ce5[0x0][_0x2a59('0x7')]=_0x211ce5[0x1],_0x211ce5[0x1][_0x2a59('0x9e')]=_0x211ce5[0x0],_0x1666ba[_0x2a59('0x113')](_0x211ce5[0x0]),_0x3c94c1[_0x2a59('0x113')](_0x211ce5[0x1]));}}function _0x2dda7f(_0x1465a2,_0x504302){if(_0x1465a2[_0x2a59('0xd1')]['id']!==_0x504302[_0x2a59('0xd1')]['id'])return null;const _0x37ed15=_0x4134bd[_0x2a59('0x105')](_0x1465a2)(_0x1465a2,_0x504302,_0x31509f[_0x2a59('0x105')](_0x1465a2),_0x31509f['get'](_0x504302));if(!_0x37ed15)return null;return _0x4134bd[_0x2a59('0x105')](_0x504302)(_0x1465a2,_0x504302,_0x31509f[_0x2a59('0x105')](_0x1465a2),_0x31509f[_0x2a59('0x105')](_0x504302))?_0x37ed15[0x1]['commentThread']&&_0x37ed15[0x1][_0x2a59('0xa8')][_0x2a59('0x75')]?null:_0x37ed15:null;}_0x48600e['size']&&this[_0x2a59('0xb3')](_0x48600e);}['_refreshAttributeSuggestionsChain'](_0x507655){if(0x0==_0x507655[_0x2a59('0x75')])return;const _0x57dd5b=this[_0x2a59('0x14d')]({'skipNotAttached':!0x0})[_0x2a59('0x55')](_0x418aad=>'attribute'==_0x418aad[_0x2a59('0x161')]&&_0x418aad[_0x2a59('0x35')]),_0x43354a=[],_0x46caca=new Map();for(const _0x15df2f of _0x57dd5b){const _0x3b2fd7=_0x5adbcd(_0x15df2f[_0x2a59('0xcc')]);_0x46caca[_0x2a59('0x5b')](_0x3b2fd7)||(_0x46caca[_0x2a59('0x9')](_0x3b2fd7,_0x43354a['length']),_0x43354a['push']([]));const _0x20af7c=_0x46caca[_0x2a59('0x105')](_0x3b2fd7);_0x43354a[_0x20af7c]['push'](_0x15df2f);}!function(){_0x43354a[_0x2a59('0x107')]((_0x56478b,_0x594003)=>{const _0x172817=_0x56478b[0x0][_0x2a59('0x1a')],_0x2ee4f8=_0x594003[0x0][_0x2a59('0x1a')];return _0x172817==_0x2ee4f8?_0x56478b[0x0][_0x2a59('0xcc')][_0x2a59('0x6b')]<_0x594003[0x0]['attributes'][_0x2a59('0x6b')]?-0x1:0x1:_0x172817<_0x2ee4f8?-0x1:0x1;});for(const _0x4113ab of _0x43354a)_0x4113ab['sort']((_0x474a94,_0x538697)=>_0x474a94['id']<_0x538697['id']?-0x1:0x1);}();for(let _0x2d3d1d=0x0;_0x2d3d1d<_0x43354a[_0x2a59('0x75')];_0x2d3d1d++){if(0x0==_0x43354a[_0x2d3d1d][_0x2a59('0x75')])continue;const _0x49e3b4=[];for(let _0x459bbe=_0x2d3d1d+0x1;_0x459bbe<_0x43354a[_0x2a59('0x75')];_0x459bbe++)0x0!=_0x43354a[_0x459bbe][_0x2a59('0x75')]&&_0x2f5aa9(_0x43354a[_0x2d3d1d],_0x43354a[_0x459bbe])&&_0x49e3b4['push'](_0x459bbe);for(const _0x5d8630 of _0x49e3b4)_0x43354a[_0x2d3d1d]=_0x43354a[_0x2d3d1d][_0x2a59('0xe7')](_0x43354a[_0x5d8630]),_0x43354a[_0x5d8630]=[];}for(const _0x32da4b of _0x43354a)for(let _0x4c1cb9=0x0;_0x4c1cb9<_0x32da4b[_0x2a59('0x75')];_0x4c1cb9++)_0x32da4b[_0x4c1cb9][_0x2a59('0x7')]=_0x32da4b[_0x4c1cb9+0x1]||null;for(const _0x4d2d62 of _0x43354a)for(let _0x1e7599=0x0;_0x1e7599<_0x4d2d62[_0x2a59('0x75')];_0x1e7599++)_0x4d2d62[_0x1e7599][_0x2a59('0x9e')]=_0x4d2d62[_0x1e7599-0x1]||null;function _0x2f5aa9(_0x460025,_0x526fdd){if(_0x460025[0x0][_0x2a59('0xd1')]!==_0x526fdd[0x0][_0x2a59('0xd1')])return!0x1;if(!function(_0x54837f,_0x22bc47){if(!_0x54837f[_0x2a59('0x166')]&&!_0x22bc47[_0x2a59('0x166')])return!0x0;if(_0x54837f[_0x2a59('0x166')]&&_0x22bc47[_0x2a59('0x166')])return!0x1;if(_0x54837f[_0x2a59('0x166')]&&_0x22bc47[_0x2a59('0x1a')]<_0x54837f[_0x2a59('0xa8')][_0x2a59('0xc6')][_0x2a59('0x105')](0x0)['createdAt'])return!0x0;if(_0x22bc47[_0x2a59('0x166')]&&_0x54837f['createdAt']<_0x22bc47[_0x2a59('0xa8')][_0x2a59('0xc6')][_0x2a59('0x105')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x460025[0x0],_0x526fdd[0x0]))return!0x1;const _0x5b9e9c=_0x16fb23(_0x460025[0x0][_0x2a59('0xcc')],_0x2a59('0x6b')),_0x1976aa=_0x16fb23(_0x526fdd[0x0][_0x2a59('0xcc')],_0x2a59('0x6b'));if(!_0x30ceba(_0x5b9e9c,_0x1976aa))return!0x1;return!!_0x460025[_0x2a59('0x153')](_0x230dda=>_0x526fdd[_0x2a59('0x9b')](_0x10c1af=>_0x230dda[_0x2a59('0x119')]()[_0x2a59('0x2')](_0x10c1af[_0x2a59('0x119')]())))&&_0x526fdd['every'](_0x399824=>_0x460025[_0x2a59('0x9b')](_0xdb41c=>_0x399824[_0x2a59('0x119')]()[_0x2a59('0x2')](_0xdb41c['getFirstRange']())));}}[_0x2a59('0x11')](_0x594014){const _0x17484f=Array[_0x2a59('0x68')](_0x594014),_0x1c8d09=this[_0x2a59('0x14d')]({'skipNotAttached':!0x0}),_0x1d7016=_0x1c8d09['filter'](_0x4f09de=>!_0x594014[_0x2a59('0x5b')](_0x4f09de)),_0x5a199c=new Map(_0x17484f[_0x2a59('0xd3')](_0x1ac0b6=>[_0x1ac0b6,this[_0x2a59('0xec')][_0x2a59('0x76')](_0x1ac0b6['type'],_0x1ac0b6['subType'],_0x2a59('0x79'))])),_0xe4220f=new Map(_0x1c8d09['map'](_0x358c56=>[_0x358c56,_0x358c56['getRanges']()]));for(let _0x14b305=0x0;_0x14b305<_0x17484f[_0x2a59('0x75')];_0x14b305++){if(_0x4b59e7(this,_0x17484f[_0x14b305],_0x17484f,_0x14b305+0x1))return!0x0;}for(let _0x1ecc48=0x0;_0x1ecc48<_0x17484f[_0x2a59('0x75')];_0x1ecc48++){if(_0x4b59e7(this,_0x17484f[_0x1ecc48],_0x1d7016,0x0))return!0x0;}return!0x1;function _0x4b59e7(_0x365c0c,_0x3ada7a,_0x489a2e,_0x497e08){for(let _0x599fef=_0x497e08;_0x599fef<_0x489a2e[_0x2a59('0x75')];_0x599fef++){const _0x222e6a=_0x489a2e[_0x599fef];if(_0x222e6a[_0x2a59('0x161')]!==_0x3ada7a[_0x2a59('0x161')]||_0x222e6a[_0x2a59('0xd1')]['id']!==_0x3ada7a[_0x2a59('0xd1')]['id']||_0x222e6a[_0x2a59('0x160')]!==_0x3ada7a['subType'])continue;if(!Vt(_0x3ada7a,_0x222e6a))continue;if(_0x2a59('0x13a')==_0x3ada7a[_0x2a59('0x161')]&&_0x3ada7a[_0x2a59('0x15f')]['oldValue']!=_0x222e6a['data'][_0x2a59('0x151')])continue;if('attribute'==_0x3ada7a[_0x2a59('0x161')]&&_0x365c0c[_0x2a59('0xee')](_0x3ada7a[_0x2a59('0x15f')][_0x2a59('0xcb')]))continue;if(_0x2a59('0x126')==_0x3ada7a[_0x2a59('0x161')]){const _0x3a5f74=_0x365c0c['editor'][_0x2a59('0xae')],_0x3aca05=_0x3ada7a[_0x2a59('0x1c')]();if(_0x3aca05&&(_0x3a5f74[_0x2a59('0x51')][_0x2a59('0x63')](_0x3aca05)||_0x3a5f74[_0x2a59('0x51')][_0x2a59('0x21')](_0x3aca05)))continue;}const _0x8e986d=_0x5a199c[_0x2a59('0x105')](_0x3ada7a),_0x43dfe3=_0xe4220f[_0x2a59('0x105')](_0x3ada7a),_0x379011=_0xe4220f[_0x2a59('0x105')](_0x222e6a),_0x28faa5=_0x3ada7a[_0x2a59('0xa8')]&&_0x3ada7a[_0x2a59('0xa8')][_0x2a59('0x75')],_0x3fc8d7=_0x222e6a[_0x2a59('0xa8')]&&_0x222e6a['commentThread'][_0x2a59('0x75')];if(!_0x28faa5&&_0x8e986d(_0x379011,_0x43dfe3))return _0x365c0c[_0x2a59('0xb2')](_0x222e6a,_0x3ada7a),_0xe4220f[_0x2a59('0x33')](_0x3ada7a),!0x0;if(!_0x3fc8d7&&_0x8e986d(_0x43dfe3,_0x379011))return _0x365c0c['_joinSuggestions'](_0x3ada7a,_0x222e6a),_0xe4220f[_0x2a59('0x33')](_0x222e6a),!0x0;}return!0x1;}}[_0x2a59('0xb2')](_0x55390b,_0x4581d1){if(_0x55390b[_0x2a59('0xb')])for(const _0xc18c44 of _0x4581d1[_0x2a59('0x14c')]())_0x55390b['addRange'](_0xc18c44);else{const _0x416539=_0x4581d1[_0x2a59('0x119')]()[_0x2a59('0xb6')];this[_0x2a59('0xd2')](_0x55390b,this[_0x2a59('0x146')]['createRange'](_0x55390b[_0x2a59('0x119')]()[_0x2a59('0xf4')],_0x416539));}_0x4581d1[_0x2a59('0x4')]();}[_0x2a59('0x7f')](_0x43c961,_0x2e06c9){const _0x3b9d27=_0x43c961[_0x2a59('0x36')](_0x2a59('0x91'))||_0x43c961[_0x2a59('0x36')](_0x2a59('0x13a'))?_0x2a59('0x158'):_0x43c961[_0x2a59('0x38')]();return _0x59b314(this[_0x2a59('0xce')][_0x2a59('0x170')],_0x2e06c9+'_'+_0x3b9d27+_0x2a59('0x57'));}[_0x2a59('0x8e')](){const _0x8c013f=this[_0x2a59('0xce')];_0xeda7b3(this[_0x2a59('0x146')],({left:_0x18f8b2,entered:_0x3ea3b2})=>{const _0x146a5e=[];for(const _0x4c6801 of _0x18f8b2){const {group:_0x19b05f,type:_0x50eb09}=this[_0x2a59('0x14')](_0x4c6801['name']);if(_0x2a59('0xa2')===_0x19b05f){_0x146a5e[_0x2a59('0xc')](this[_0x2a59('0x7f')](_0x50eb09,_0x2a59('0x6a')));break;}}for(const _0x1eaa66 of _0x3ea3b2){const {group:_0x45d35a,type:_0x4bd59c}=this[_0x2a59('0x14')](_0x1eaa66['name']);if(_0x2a59('0xa2')===_0x45d35a){_0x146a5e[_0x2a59('0xc')](this[_0x2a59('0x7f')](_0x4bd59c,_0x2a59('0x145')));break;}}_0x146a5e[_0x2a59('0x75')]&&_0x8c013f['ui'][_0x2a59('0x59')][_0x2a59('0x7d')](_0x2a59('0x134'),_0x146a5e['join']('\x20'));});}['_processAttributeChanges'](_0x3dc966){if(null!==this[_0x2a59('0xac')])return!0x1;const _0x4ef29e=this['editor'],_0x54d9cf=_0x4ef29e[_0x2a59('0xae')][_0x2a59('0x45')][_0x2a59('0xc2')][_0x2a59('0x34')]();if(0x0==_0x54d9cf['length'])return!0x1;const _0x12f851=[],_0xcc372e=_0x54d9cf[_0x2a59('0x55')](_0x6472b5=>_0x2a59('0x13a')==_0x6472b5['type']),_0x33fb27=_0x54d9cf[_0x2a59('0x55')](_0x2110b1=>_0x2a59('0x86')==_0x2110b1['type']&&_0x2a59('0x10f')!=_0x2110b1[_0x2a59('0x30')]),_0x1669bc=_0x54d9cf[_0x2a59('0x55')](_0x25b7f4=>'remove'==_0x25b7f4[_0x2a59('0x161')]&&_0x2a59('0x10f')!=_0x25b7f4[_0x2a59('0x30')]);for(const _0x753034 of _0xcc372e)_0x12f851[_0x2a59('0xc')]({'key':_0x753034[_0x2a59('0x13b')],'newValue':_0x753034[_0x2a59('0x47')],'oldValue':_0x753034[_0x2a59('0x164')],'range':_0x53a900(_0x753034['range'])});for(const _0x263205 of _0x33fb27){const _0x3e0172=_0x1669bc[_0x2a59('0x16d')](_0x7ff31c=>_0x7ff31c['position']['isEqual'](_0x263205[_0x2a59('0x16f')]));_0x3e0172&&_0x12f851[_0x2a59('0xc')]({'key':_0x2a59('0x27'),'newValue':_0x263205[_0x2a59('0x30')],'oldValue':_0x3e0172[_0x2a59('0x30')],'range':_0x4ef29e['model'][_0x2a59('0xd6')](_0x263205['position'][_0x2a59('0x114')])});}return 0x0!=_0x12f851['length']&&this['_reduceExistingSuggestions'](_0x3dc966,_0x12f851);function _0x53a900(_0x2d8039){return null==_0x2d8039['end'][_0x2a59('0x147')]&&_0x2d8039[_0x2a59('0xb6')][_0x2a59('0x159')]==_0x2d8039[_0x2a59('0xf4')][_0x2a59('0x114')]?Ut(_0x2d8039['start'][_0x2a59('0x114')],_0x4ef29e[_0x2a59('0xae')]):_0x2d8039;}}[_0x2a59('0x46')](_0x15ab15){let _0x4e5aa5=!0x1;const _0x13f14b=this[_0x2a59('0xce')]['model'][_0x2a59('0x45')]['differ'][_0x2a59('0x15a')]()[_0x2a59('0x55')](_0x41e130=>_0x41e130[_0x2a59('0x15f')][_0x2a59('0x1f')]&&_0x41e130[_0x2a59('0x30')][_0x2a59('0x36')]('suggestion:attribute:'));for(const _0x2984ac of _0x13f14b){const {subType:_0x4b1758,id:_0x386fba}=this[_0x2a59('0x14')](_0x2984ac[_0x2a59('0x30')]),_0x369814=_0x4b1758[_0x2a59('0x106')]('|')[0x0];for(const _0x2fc1d1 of this[_0x2a59('0x14d')]({'skipNotAttached':!0x0}))_0x2fc1d1['id']!=_0x386fba&&_0x2a59('0x13a')==_0x2fc1d1[_0x2a59('0x161')]&&_0x2fc1d1['data']&&_0x2fc1d1[_0x2a59('0x15f')][_0x2a59('0xcb')]==_0x369814&&_0x2fc1d1[_0x2a59('0x119')]()['isIntersecting'](_0x2984ac['data'][_0x2a59('0x1f')])&&(this[_0x2a59('0x90')](_0x2fc1d1,_0x2984ac[_0x2a59('0x15f')]['newRange'],_0x15ab15),_0x4e5aa5=!0x0);}return _0x4e5aa5;}[_0x2a59('0xb0')](_0x31b0b5){if(null!==this[_0x2a59('0xac')])return void _0x31b0b5();const _0x4b3c9b=this[_0x2a59('0xce')];this[_0x2a59('0xac')]=_0x4b3c9b[_0x2a59('0xae')]['document']['version'],_0x31b0b5();const _0x1ed9ed=new Map();for(const _0x29802e of _0x4b3c9b[_0x2a59('0xae')]['document'][_0x2a59('0xf7')]['getOperations'](this['_recordAttributeSuggestionsFromVersion']))if(['rename',_0x2a59('0x2c'),'removeAttribute','changeAttribute']['includes'](_0x29802e['type'])){const _0xd3e27f=_0x29802e[_0x2a59('0xcf')],_0x186262=_0x1ed9ed['get'](_0xd3e27f)||[];_0x186262[_0x2a59('0xc')](_0x29802e),_0x1ed9ed[_0x2a59('0x9')](_0xd3e27f,_0x186262);}this[_0x2a59('0xac')]=null;for(const [_0x1ce4ad,_0x13a417]of _0x1ed9ed){const _0x5c9aa9=_0x3dbefd();_0x4b3c9b[_0x2a59('0xae')][_0x2a59('0x108')](_0x1ce4ad,_0x24f02f=>{const _0x537ca3=[];for(const _0x5ea286 of _0x13a417){let _0x1e9db8,_0x4a45b2,_0x42a695,_0x2b3ff7;if(_0x2a59('0xd7')==_0x5ea286['type']){const _0x56751d=_0x5ea286;_0x1e9db8=Ut(_0x56751d[_0x2a59('0x16f')][_0x2a59('0x114')],_0x4b3c9b['model']),_0x4a45b2=_0x2a59('0x27'),_0x42a695=_0x56751d[_0x2a59('0xbb')],_0x2b3ff7=_0x56751d['oldName'];}else{const _0x3d3378=_0x5ea286,_0x4f3bc2=this[_0x2a59('0xee')](_0x3d3378['key']),_0x41bfa5=this['_inlineAttributeKeys'][_0x2a59('0x5b')](_0x3d3378[_0x2a59('0xcb')]);if(!_0x4f3bc2&&!_0x41bfa5)continue;_0x1e9db8=_0x4f3bc2?Ut(_0x3d3378[_0x2a59('0x117')][_0x2a59('0xf4')][_0x2a59('0x114')],_0x4b3c9b['model']):_0x3d3378[_0x2a59('0x117')],_0x4a45b2=_0x3d3378[_0x2a59('0xcb')],_0x42a695=_0x2a59('0x56')==_0x5ea286['type']?void 0x0:_0x3d3378[_0x2a59('0x169')],_0x2b3ff7=_0x3d3378[_0x2a59('0x151')];}this[_0x2a59('0x54')](_0x1e9db8,_0x4a45b2,_0x2b3ff7,_0x42a695,{'groupId':_0x5c9aa9}),_0x537ca3[_0x2a59('0xc')]({'range':_0x1e9db8,'key':_0x4a45b2,'newValue':_0x42a695,'oldValue':_0x2b3ff7});}this[_0x2a59('0xdc')](_0x24f02f,_0x537ca3);});}}[_0x2a59('0xdc')](_0x21933d,_0x4b6b71){if(0x0==_0x4b6b71[_0x2a59('0x75')])return!0x1;let _0xbab184=!0x1;for(const _0x76dbbc of _0x4b6b71){const _0x320454=this[_0x2a59('0x28')](_0x76dbbc[_0x2a59('0x117')],_0x2a59('0x13a'))['filter'](_0x4b00bd=>!_0x4b00bd[_0x2a59('0x12')][_0x2a59('0x149')])[_0x2a59('0xd3')](_0x308d4a=>_0x308d4a[_0x2a59('0xa2')]),_0x18da57=_0x5adbcd({'newValue':_0x76dbbc[_0x2a59('0x169')]});_0x320454['filter'](_0x20fa40=>{const [_0x5b532c,_0xa51dca]=_0x20fa40[_0x2a59('0x160')][_0x2a59('0x106')]('|');return _0x5b532c==_0x76dbbc[_0x2a59('0xcb')]&&_0xa51dca!=_0x18da57;})['forEach'](_0x480e9c=>{this[_0x2a59('0x90')](_0x480e9c,_0x76dbbc[_0x2a59('0x117')],_0x21933d),_0xbab184=!0x0;});}return _0xbab184;}[_0x2a59('0x90')](_0x4e28a9,_0x5ca2a9,_0x3bd9b8){const _0x5d3c11=_0x4e28a9[_0x2a59('0x119')]()[_0x2a59('0xa')](_0x5ca2a9);0x0!==_0x5d3c11['length']?0x1!==_0x5d3c11[_0x2a59('0x75')]?this[_0x2a59('0x12b')](_0x4e28a9,_0x5ca2a9[_0x2a59('0xf4')],_0x5ca2a9[_0x2a59('0xb6')]):this[_0x2a59('0xd2')](_0x4e28a9,_0x5d3c11[0x0]):_0x3bd9b8[_0x2a59('0x9a')](_0x4e28a9[_0x2a59('0x168')]());}}class $t{constructor(_0x4846fb){this[_0x2a59('0x41')]=_0x4846fb,this[_0x2a59('0x146')]=_0x4846fb[_0x2a59('0xae')],this['_customCallbacks']=new Map(),this[_0x2a59('0x89')]=new Map(),this[_0x2a59('0x83')]();}[_0x2a59('0x20')](_0x18cfd2,_0x128042,_0x310ef5,_0x33de7f,_0x4666b2,_0x4e10ff){return new _0x253f8(this[_0x2a59('0x146')],{'type':_0x18cfd2,'subType':_0x128042,'id':_0x310ef5,'author':_0x33de7f,'creator':_0x33de7f,'attributes':_0x4666b2,'onAttributesChange':_0x4e10ff,'onAccept':(..._0x14fe79)=>this['getSuggestionCallback'](_0x18cfd2,_0x128042,_0x2a59('0x58'))(..._0x14fe79),'onDiscard':(..._0x5c9a64)=>this[_0x2a59('0x76')](_0x18cfd2,_0x128042,_0x2a59('0x136'))(..._0x5c9a64)});}[_0x2a59('0x12c')](_0x14a671,_0x3a1d3f,_0x29d3ba,_0x238cd4){const _0x2f4e59=_0x14a671+':'+_0x3a1d3f+':'+_0x29d3ba;this[_0x2a59('0x155')][_0x2a59('0x9')](_0x2f4e59,_0x238cd4);}[_0x2a59('0x76')](_0x41861a,_0x1fd399,_0x37d2e7){const _0x24ca5b=_0x41861a+':'+_0x1fd399+':'+_0x37d2e7;return this[_0x2a59('0x155')][_0x2a59('0x105')](_0x24ca5b)||this[_0x2a59('0x89')][_0x2a59('0x105')](_0x41861a+':'+_0x37d2e7);}[_0x2a59('0x83')](){const _0x4ff73a=()=>!0x1,_0x4f78cf=_0x2d52f6=>{_0x2d52f6[_0x2a59('0x107')]((_0x5ecf07,_0x29ecef)=>_0x5ecf07['start'][_0x2a59('0x6e')](_0x29ecef[_0x2a59('0xf4')])?0x1:-0x1),this[_0x2a59('0x146')][_0x2a59('0x31')](_0x5ce2e6=>{for(const _0x5ad9b2 of _0x2d52f6){let _0x209445;_0x209445=_0x5ad9b2[_0x2a59('0xb6')][_0x2a59('0x157')]&&_0x5ad9b2['end'][_0x2a59('0x159')]==_0x5ad9b2[_0x2a59('0xf4')][_0x2a59('0x114')]?_0x5ce2e6[_0x2a59('0xb8')](_0x5ad9b2[_0x2a59('0xf4')]['nodeAfter'],'on'):_0x5ce2e6['createSelection'](_0x5ad9b2),this['_model'][_0x2a59('0x97')](_0x209445,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x448d97=(_0x18143e,_0x4c7b8a)=>{_0x4c7b8a&&this['_model'][_0x2a59('0x31')](_0x3fbb06=>{const {commandName:_0x983cbe,commandParams:_0x5d0178=[]}=_0x4c7b8a,_0x51be71=_0x18143e[_0x2a59('0xd3')](_0x1c09fb=>(Tt(_0x1c09fb)&&(_0x1c09fb=this[_0x2a59('0x146')][_0x2a59('0xed')](_0x1c09fb[_0x2a59('0xb6')])),_0x1c09fb))[_0x2a59('0x55')](_0x423a2b=>_0x2a59('0x69')!==_0x423a2b[_0x2a59('0x62')]['rootName']);if(_0x51be71[_0x2a59('0x75')]<0x1)return;const _0x532523=Array['from'](this[_0x2a59('0x146')][_0x2a59('0x45')]['selection'][_0x2a59('0x14c')]())['map'](_0x26de11=>_0x6ecb11[_0x2a59('0x15b')](_0x26de11));_0x3fbb06[_0x2a59('0x24')](_0x51be71);for(const _0x5f2d11 of this[_0x2a59('0x41')]['commands']['commands']())_0x5f2d11[_0x2a59('0x6d')]();_0x5d0178[_0x2a59('0xc')]({'forceDefaultExecution':!0x0}),this[_0x2a59('0x41')][_0x2a59('0x109')](_0x983cbe,..._0x5d0178);const _0x50e4e5=_0x532523[_0x2a59('0x55')](_0x5b6a8f=>_0x2a59('0x69')!=_0x5b6a8f[_0x2a59('0x62')]['rootName']);_0x50e4e5['length']>0x0&&_0x3fbb06['setSelection'](_0x50e4e5);for(const _0x5eb47a of _0x532523)_0x5eb47a[_0x2a59('0xf')]();});},_0x516b31=(_0x174cd8,_0x21716d)=>0x1==_0x174cd8['length']&&0x1==_0x21716d[_0x2a59('0x75')]&&_0x174cd8[0x0][_0x2a59('0xb6')][_0x2a59('0x2')](_0x21716d[0x0][_0x2a59('0xf4')]),_0x564df3=(_0x20f10c,_0x19f719,_0x5be291,_0x1c2175)=>Ot(_0x20f10c,_0x19f719,_0x5be291,_0x1c2175,this[_0x2a59('0x146')])?[_0x20f10c,_0x19f719]:Ot(_0x19f719,_0x20f10c,_0x1c2175,_0x5be291,this[_0x2a59('0x146')])?[_0x19f719,_0x20f10c]:null;this[_0x2a59('0x89')]['set'](_0x2a59('0x152'),_0x4ff73a),this[_0x2a59('0x89')]['set']('insertion:discard',_0x4f78cf),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0xa9'),_0x516b31),this[_0x2a59('0x89')][_0x2a59('0x9')]('insertion:chain',_0x564df3),this[_0x2a59('0x89')][_0x2a59('0x9')]('deletion:accept',_0x4f78cf),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0xe4'),_0x4ff73a),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0x96'),_0x516b31),this[_0x2a59('0x89')]['set'](_0x2a59('0x102'),_0x564df3),this[_0x2a59('0x89')]['set']('formatInline:accept',_0x448d97),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0x12d'),_0x4ff73a),this['_defaultCallbacks']['set']('formatInline:join',_0x516b31),this['_defaultCallbacks'][_0x2a59('0x9')](_0x2a59('0x32'),_0x4ff73a),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0x6'),_0x448d97),this['_defaultCallbacks'][_0x2a59('0x9')](_0x2a59('0xdd'),_0x4ff73a),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0x110'),_0x516b31),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0xc3'),_0x4ff73a),this[_0x2a59('0x89')][_0x2a59('0x9')](_0x2a59('0xb5'),_0x4ff73a),this[_0x2a59('0x89')]['set'](_0x2a59('0xc9'),(_0x393529,_0x5ebed6)=>{if(!_0x5ebed6)return;const _0x21b2c8=this[_0x2a59('0x41')][_0x2a59('0xe1')][_0x2a59('0x105')](p);this[_0x2a59('0x146')][_0x2a59('0x31')](_0x54567d=>{if(_0x2a59('0x27')==_0x5ebed6[_0x2a59('0xcb')])for(const _0x4ce386 of _0x393529){const _0x18dc89=_0x4ce386['start']['nodeAfter'],_0x5c7209=_0x5ebed6[_0x2a59('0x151')];_0x54567d['rename'](_0x18dc89,_0x5c7209);}else{if(_0x21b2c8[_0x2a59('0xee')](_0x5ebed6['key']))for(const _0x2f6c05 of _0x393529)void 0x0!==_0x5ebed6[_0x2a59('0x151')]?_0x54567d[_0x2a59('0x87')](_0x5ebed6['key'],_0x5ebed6['oldValue'],_0x2f6c05['start']['nodeAfter']):_0x54567d['removeAttribute'](_0x5ebed6[_0x2a59('0xcb')],_0x2f6c05[_0x2a59('0xf4')][_0x2a59('0x114')]);else for(const _0x2538c5 of _0x393529)_0x5ebed6[_0x2a59('0x151')]?_0x54567d[_0x2a59('0x87')](_0x5ebed6[_0x2a59('0xcb')],_0x5ebed6['oldValue'],_0x2538c5):_0x54567d[_0x2a59('0x56')](_0x5ebed6['key'],_0x2538c5);}});}),this[_0x2a59('0x89')][_0x2a59('0x9')]('attribute:join',_0x516b31);}}function Bt(_0x37d1a2,_0x36a0f7,_0x43c01a){for(const _0x5b205d of _0x36a0f7[_0x2a59('0x159')][_0x2a59('0xfb')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5b205d['root']==_0x5b205d)return!0x1;if(!_0x43c01a[_0x2a59('0x4b')](_0x5b205d))return!0x1;if(_0x37d1a2[_0x2a59('0x63')](_0x5b205d)||_0x37d1a2[_0x2a59('0x21')](_0x5b205d))return!0x0;}return!0x1;}function Tt(_0x438b04){return _0x438b04[_0x2a59('0xb6')][_0x2a59('0x159')]==_0x438b04[_0x2a59('0xf4')][_0x2a59('0x114')]&&_0x438b04[_0x2a59('0xb6')]['isAtStart'];}function xt(_0x2454f2,_0x5d8903,_0x46a7e1,_0x2c7d0f){const _0x384603=_0x1f745a=>!_0x1f745a[_0x2a59('0xd5')]['is']('$textProxy')&&!_0x2c7d0f[_0x2a59('0x63')](_0x1f745a[_0x2a59('0xd5')]),_0x355da8=_0x2454f2['start']['getLastMatchingPosition'](_0x384603),_0x253c8b=_0x2454f2[_0x2a59('0xb6')][_0x2a59('0x13e')](_0x384603,{'direction':'backward'});return(!_0x2454f2[_0x2a59('0xf4')]['isEqual'](_0x355da8)||!_0x2454f2[_0x2a59('0xb6')][_0x2a59('0x2')](_0x253c8b))&&(_0x355da8['isBefore'](_0x253c8b)?_0x46a7e1[_0x2a59('0x71')](_0x5d8903,{'range':_0x46a7e1[_0x2a59('0xed')](_0x355da8,_0x253c8b)}):_0x46a7e1[_0x2a59('0x9a')](_0x5d8903),!0x0);}function Et(_0x34b1ed){return _0x5adbcd(_0x34b1ed);}function Rt(_0x464b77){const _0x41922a=_0x464b77['start'][_0x2a59('0x114')];return _0x41922a&&_0x41922a['is'](_0x2a59('0xd4'));}function Ut(_0x1d3c39,_0x168879){const _0x1c0cf0=_0x168879[_0x2a59('0x51')][_0x2a59('0x63')](_0x1d3c39)||_0x168879['schema']['isSelectable'](_0x1d3c39);return _0x168879[_0x2a59('0xed')](_0x168879[_0x2a59('0x16b')](_0x1d3c39,_0x2a59('0xb1')),_0x1c0cf0?_0x168879[_0x2a59('0x172')](_0x1d3c39):_0x168879[_0x2a59('0x16b')](_0x1d3c39,_0x2a59('0xb6')));}function Ot(_0x4cb2f8,_0x4add40,_0x3849fd,_0xc1342b,_0x3c2950){if(!Vt(_0x4cb2f8,_0x4add40))return!0x1;if(_0x3849fd[_0x2a59('0xb6')][_0x2a59('0x2')](_0xc1342b[_0x2a59('0xf4')]))return!0x0;if(_0x4cb2f8[_0x2a59('0x161')]!=_0x4add40['type'])return!0x1;if(!_0x3849fd[_0x2a59('0xb6')]['isTouching'](_0xc1342b[_0x2a59('0xf4')]))return!0x1;const _0x48a4f8=_0x3c2950[_0x2a59('0xed')](_0x3849fd['end'],_0xc1342b['start'])[_0x2a59('0x65')]();for(const _0x25e4cb of _0x48a4f8)if([_0x2a59('0xea'),'elementEnd']['includes'](_0x25e4cb[_0x2a59('0x161')])&&_0x3c2950[_0x2a59('0x51')]['isLimit'](_0x25e4cb[_0x2a59('0xd5')]))return!0x1;return!0x0;}function Vt(_0xd5eb68,_0xcf1b85){return!(!_0xd5eb68[_0x2a59('0x35')]||!_0xcf1b85[_0x2a59('0x35')])&&_0x30ceba(_0xd5eb68[_0x2a59('0xcc')],_0xcf1b85['attributes']);}function Gt(_0x4977de,_0x35b2b6){const _0x1a155b=Ft(_0x4977de[_0x2a59('0xcc')]),_0x214ef4=Ft(_0x35b2b6);if(!_0x4977de['_isDataLoaded'])return!0x1;for(const _0x4bc02f of Object['keys'](_0x214ef4))if(!_0x30ceba(_0x1a155b[_0x4bc02f],_0x214ef4[_0x4bc02f]))return!0x1;return!0x0;}function Ft(_0x18c9a7){const _0x10a660=Object[_0x2a59('0xe')]({},_0x18c9a7);return delete _0x10a660[_0x2a59('0x17')],delete _0x10a660['tablePasteChainId'],_0x10a660;}function Pt(_0x352b12){return _0x2a59('0x13a')==_0x352b12[_0x2a59('0x161')]?_0x352b12[_0x2a59('0x160')][_0x2a59('0x106')]('|')[0x0]:null;}