@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240120.0 → 0.0.0-nightly-20240121.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-20240120.0",
3
+ "version": "0.0.0-nightly-20240121.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-20240120.0",
44
- "ckeditor5-collaboration": "0.0.0-nightly-20240120.0",
43
+ "ckeditor5": "0.0.0-nightly-20240121.0",
44
+ "ckeditor5-collaboration": "0.0.0-nightly-20240121.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 _0x3388=['meta','attribute:','getCommentThread','toJSON','addHighlight','elementToElement','howMany','consumable','acceptSelectedSuggestions','split','reconvertMarker','refresh','addRange','isIntersectingWithRange','ck-suggestion-marker-formatBlock','_registerBlockAttribute','_trackFormatChanges','CommentsRepository','createRangeIn','rootName','_onDiscard','_isForcedDefaultExecutionBlock','buildSuggestion','key','_suggestionState','_handleNewSuggestionMarker','insertContent','deletion:','detach','format','_blockAttributeKeys','getItems','formatInline:join','multipleBlocks','Users','isUndo','concat','dataDowncast','insertion:join','elementEnd','getDifference','isOwn','pluginName','applyOperation','markers','toViewElement','_suggestionFactory','resolve','createSelection','_initAriaMarkerChangeAnnouncements','attribute:join','_reduceExistingSuggestions','unbind','next','isInContent','accept','high','suggestionChanged','plugins','document','creator','formatInline','addClass','after','keys','isNextTo','authoredAt','markBlockFormat','getRanges','containsRangeInObject','_suggestions','delete','open','removeComment','_setSuggestionData','markerName','Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.','join','_breakSuggestionMarker','adapter','commentThread','clone','_isDataLoaded','substring','external:','set','_createSuggestion','_checkSuggestionCorrectness','setSelection','consume','FORMATTING','isIntersecting','trackChanges.trackFormatChanges','hasComments','data','insertion:discard','nodeAfter','ck-suggestion-marker--active','listenTo','suggestionLoaded','getMarkers','insertion','_findSuggestions','from','markerNameToElements','$text','end','updateSuggestion','insertion:accept','values','_mergeNestedSuggestions','getCustomProperty','getChangedMarkers','forward','getFirstMarker','subType','root','$marker','dataReady','change','isCollapsed','_defaultCallbacks','attributeOldValue','always','isAtEnd','_rangeIsInLocalUserInsertion','catch','containsItem','suggestionUnloaded','splice','isSelectable','markInsertion','unbindElementFromMarkerName','getShiftedBy','data-suggestion','fetchCommentThread','markDeletion','isLimit','isLocal','deletion:accept','enableReadOnlyMode','enableCommand','newValue','type','enqueueChange','_reduceSuggestionAttributeRange','requires','getSuggestion','getIntersection','backward','_isRegisteredAttribute','isArray','isAtStart','marker-count','rejected','authorName','range','getSuggestionCallback','_commentsRepository','getFirstRange','oldRange','_addSuggestionMarker','name','groupId','formatBlock','isTouching','skipNestingCheck','registerCustomCallback','start','ready','moveTargetPosition','getUser','discardSelectedSuggestions','editor','_updateSuggestionData','attributeKey','getAllAdjacentSuggestions','value','item','config','removeMarker:suggestion:attribute','TrackChangesEditing','tablePasteChainId','low','_refreshAttributeSuggestionsChain','_recordAttributeChanges','formatGroupId','PENDING_ACTION_SUGGESTION','_inlineAttributeKeys','removeAttribute','trackChanges','suggestion-type','_getSuggestionData','_registerInlineAttribute','fire','includes','formatBlock:join','_joinWithAdjacentSuggestions','normal','createPositionBefore','markerToData','change:data','locale','highest','_enabledCommands','_getExternalAuthor','trackChangesCommand','get','addUser','_enableDefaultAttributesIntegration','_addThreadToSuggestion','containsRange','rethrowUnexpectedError','$textProxy','isObject','insertion:','removed','markerToHighlight','deletion:join','schema','getLastMatchingPosition','_editor','track-changes-command-not-found','track-changes-adapter-missing-getsuggestion','_refreshSuggestionsChain','$elementName','markAttributeChange','for','batch','formatInline:discard','containsPosition','$graveyard','addMarkerName','deletion:discard','notReady','default','markMultiRangeInsertion','removeMarkers','LEAVE','add','fromRange','isDocumentOperation','filter','insert','ck-suggestion-marker-formatInline','isMultiRange','push','_registerDefaultCallbacks','stop','previous','addComment','addMarker:suggestion:formatBlock','_element','never','attribute:discard','_afterChanges','_joinSuggestions','map','discard','ENTER','oldValue','pop','discardAllSuggestions','getRange','updateMarker','createPositionAfter','size','return','length','selection','_adapter','execute','editingDowncast','formatBlock:accept','PendingActions','discardSuggestion','collaboration.channelId','stopListening','_recordAttributeSuggestions','attributes','upcast','_isBlockAttribute','_cutOutSuggestionMarker','ck-suggestion-marker','removeClass','mapper','unshift','some','deletion','_setSuggestionRange','getChanges','getMultiRangeId','addSuggestionData','author','then','attributeNewValue','error-saving-suggestion-data-suggestion-discarded','markMultiRangeDeletion','getContainedElement','@external','createElement','has','track-changes-adapter-already-set','hasSuggestion','assign','warn','isEqual','getNearestSelectionRange','change:_saved','formatBlock:','acceptSuggestion','markerReady','deletion:chain','addMarker:suggestion:attribute','_customCallbacks','_getMarkerAnnouncementText','suggestion:','newRange','trackChanges.mergeNestedSuggestions','targetPosition','registerPostFixer','showSuggestionHighlights','suggestion','createRange','setAttribute','every','toUpperCase','_splitMarkerName','insertion:chain','multi','forceDefaultExecution','group','addMarker:suggestion','isBefore','startsWith','_processAttributeSuggestions','getSuggestions','_model','isRemovable','formatBlock:discard','_descriptionFactory','options','addSuggestion','differ','define','getAncestors','_saved','commands','model','chain','createdAt','createRangeOn','formatInline:','remove','addCommentThread','createPositionAt','getAttribute','comments','move','writer','parent','removeMarker','addMarker','position','isInsideObject','editing','activeMarkers','_getAttributeKey','_processAttributeChanges','find','element','lowest','accepted','sort','conversion','commandName','splitPosition','nodeBefore','forEach','attribute','isAfter','markInlineFormat'];(function(_0x25cfc8,_0x338859){const _0x12532c=function(_0x36d69e){while(--_0x36d69e){_0x25cfc8['push'](_0x25cfc8['shift']());}};_0x12532c(++_0x338859);}(_0x3388,0x102));const _0x1253=function(_0x25cfc8,_0x338859){_0x25cfc8=_0x25cfc8-0x0;let _0x12532c=_0x3388[_0x25cfc8];return _0x12532c;};import{Plugin as _0x76dd8a,PendingActions as _0x4827e8}from'ckeditor5/src/core.js';import{LiveRange as _0x2b8581}from'ckeditor5/src/engine.js';import{CKEditorError as _0xbf5b48,uid as _0x24f0b9,priorities as _0x324e9d,logWarning as _0x26c489}from'ckeditor5/src/utils.js';import{toWidget as _0x2a3753}from'ckeditor5/src/widget.js';import{Users as _0x92eb45,hashObject as _0x2f97ee,surroundingMarkersDetector as _0x4c4bbf}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5edb3e from'./commands/trackchangescommand.js';import _0x359114 from'./commands/acceptsuggestioncommand.js';import _0x5dd4ee from'./commands/discardsuggestioncommand.js';import _0x4130ef from'./commands/executeonallsuggestionscommand.js';import _0xe59bac from'./commands/executeonselectedsuggestionscommand.js';import _0x51a20f from'./suggestion.js';import _0x395ccc from'./suggestiondescriptionfactory.js';import _0x5c69aa from'./integrations/aiassistant.js';import _0x2b4507 from'./integrations/alignment.js';import _0xdfb64e from'./integrations/basicstyles.js';import _0x30c834 from'./integrations/blockquote.js';import _0x4e4d34 from'./integrations/casechange.js';import _0x5c1a85 from'./integrations/ckbox.js';import _0x484324 from'./integrations/codeblock.js';import _0x5359b3 from'./integrations/comments.js';import _0x1f9b18 from'./integrations/deletecommand.js';import _0x36e194 from'./integrations/list.js';import _0x24fa66 from'./integrations/listproperties.js';import _0x5a80ea from'./integrations/entercommand.js';import _0x292c7e from'./integrations/findandreplace.js';import _0x4d2d15 from'./integrations/font.js';import _0x24e00f from'./integrations/formatpainter.js';import _0x223e41 from'./integrations/heading.js';import _0x2e47a9 from'./integrations/highlight.js';import _0x50c2ef from'./integrations/horizontalline.js';import _0x5b342d from'./integrations/htmlembed.js';import _0x21e05c from'./integrations/image.js';import _0x5e299a from'./integrations/imagereplace.js';import _0x2a20d6 from'./integrations/imagestyle.js';import _0x4d7233 from'./integrations/importword.js';import _0x4536ac from'./integrations/indent.js';import _0x4988f2 from'./integrations/inputcommand.js';import _0x488800 from'./integrations/link.js';import _0x2e3569 from'./integrations/legacylist.js';import _0x2ea910 from'./integrations/legacylistproperties.js';import _0x57c242 from'./integrations/mediaembed.js';import _0x182cfa from'./integrations/mention.js';import _0x13786b from'./integrations/pagebreak.js';import _0x29eaf6 from'./integrations/paragraph.js';import _0x276300 from'./integrations/removeformat.js';import _0x10876d from'./integrations/restrictededitingmode.js';import _0x1bce5d from'./integrations/shiftentercommand.js';import _0x2cc438 from'./integrations/standardeditingmode.js';import _0x19698d from'./integrations/style.js';import _0x2b3216 from'./integrations/table.js';import _0x5187b8 from'./integrations/tablemergesplit.js';import _0x295bcb from'./integrations/tableheadings.js';import _0x39bb7b from'./integrations/tableclipboard.js';import _0x181938 from'./integrations/tablecolumnresize.js';import _0x34a229 from'./integrations/template.js';import _0xabdf97 from'./integrations/tableofcontents.js';import _0xf78bdf from'./integrations/title.js';import _0x9d490f from'./integrations/undo.js';import _0x31ec5b from'./integrations/tablecaption.js';import _0xed9042 from'./integrations/tableproperties.js';import{getTranslation as _0x57e208}from'./utils/common-translations.js';import{isEqual as _0x402b93,omit as _0x2065bd}from'lodash-es';export const renameAttributeKey=_0x1253('0x15d');export default class p extends _0x76dd8a{static get[_0x1253('0x10e')](){return[_0x1253('0x8d'),_0x92eb45,_0x4827e8,_0x5c69aa,_0x2b4507,_0xdfb64e,_0x30c834,_0x5c1a85,_0x4e4d34,_0x484324,_0x5359b3,_0x1f9b18,_0x5a80ea,_0x292c7e,_0x4d2d15,_0x24e00f,_0x223e41,_0x2e47a9,_0x50c2ef,_0x5b342d,_0x21e05c,_0x2a20d6,_0x5e299a,_0x4d7233,_0x4536ac,_0x4988f2,_0x2e3569,_0x2ea910,_0x488800,_0x36e194,_0x24fa66,_0x57c242,_0x182cfa,_0x13786b,_0x29eaf6,_0x276300,_0x10876d,_0x1bce5d,_0x2cc438,_0x19698d,_0x2b3216,_0x5187b8,_0x295bcb,_0x31ec5b,_0x39bb7b,_0x181938,_0xabdf97,_0xed9042,_0x34a229,_0xf78bdf,_0x9d490f];}static get[_0x1253('0xa6')](){return _0x1253('0x131');}constructor(_0x1090e2){function _0x32bd68(_0x11f59c){return _0x11f59c[_0x1253('0x17d')](_0x47dc7d=>String['fromCharCode'](_0x47dc7d))['join']('');}super(_0x1090e2),this[_0x1253('0x14')]=!0x1,this[_0x1253('0xd1')](_0x1253('0x6c'),[]),this['on']('change:activeMarkers',(_0x1b3ca5,_0x854e0c,_0x4a1a6c,_0x4c1b56)=>{this[_0x1253('0x4f')][_0x1253('0xf3')](()=>{for(const _0x213ad7 of[..._0x4c1b56,..._0x4a1a6c])this['_model'][_0x1253('0xa8')][_0x1253('0x2b')](_0x213ad7)&&_0x1090e2[_0x1253('0x6b')][_0x1253('0x86')](_0x213ad7);});}),this[_0x1253('0x52')]=new _0x395ccc(this[_0x1253('0x129')][_0x1253('0x5a')][_0x1253('0x157')],this[_0x1253('0x129')]['locale']),this[_0x1253('0xc')]=null,this[_0x1253('0xaa')]=new Bt(this[_0x1253('0x129')]),this[_0x1253('0xc2')]=new Map(),this[_0x1253('0x11a')]=_0x1090e2[_0x1253('0xb6')]['get'](_0x1253('0x8d')),this[_0x1253('0x148')]=new Set(),this['_model']=this[_0x1253('0x129')][_0x1253('0x5a')],this[_0x1253('0x94')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x1253('0x9a')]=new Set([_0x1253('0x15d')]),this[_0x1253('0x138')]=new Set(),_0x1090e2['config']['define']('trackChanges.trackFormatChanges',_0x1253('0x167')),this[_0x1253('0x8c')]=_0x1090e2[_0x1253('0x12f')][_0x1253('0x14b')](_0x1253('0xd8')),_0x1090e2[_0x1253('0x12f')][_0x1253('0x56')](_0x1253('0x3c'),!0x0),this['_mergeNestedSuggestions']=_0x1090e2['config'][_0x1253('0x14b')](_0x1253('0x3c')),this[_0x1253('0x14a')]=new _0x5edb3e(_0x1090e2,this[_0x1253('0x148')]),this[_0x1253('0xad')](),this[_0x32bd68([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x32bd68([0x34,0x30,0x34,0x38,0x30,0x32,0x34,0x30]);}['init'](){const _0xae5517=this[_0x1253('0x129')],_0x478ba0=(_0x4ada74,_0x182c62)=>{if(_0x1253('0x79')!=_0x4ada74)return'ck-suggestion-marker-'+_0x4ada74;const _0x1441bc=_0x182c62['split']('|')[0x0];return this[_0x1253('0x17')](_0x1441bc)?_0x1253('0x8a'):_0x1253('0x170');};_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0xe'))[_0x1253('0x155')]({'model':_0x1253('0x40'),'view':_0x3d9595=>{const {id:_0x8ef571,type:_0x3bcaf8,subType:_0x3b7399}=this[_0x1253('0x45')](_0x3d9595[_0x1253('0xc7')]),_0x58f06=['ck-suggestion-marker',_0x478ba0(_0x3bcaf8,_0x3b7399)];let _0x3ede06=0xbb8;return this[_0x1253('0x6c')]['includes'](_0x3d9595[_0x1253('0xc7')])&&(_0x58f06['push'](_0x1253('0xdd')),_0x3ede06=0xbc2),'deletion'==_0x3bcaf8&&(_0x3ede06+=0x5),{'classes':_0x58f06,'attributes':{'data-suggestion':_0x8ef571},'priority':_0x3ede06};}}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')]('dataDowncast')[_0x1253('0x16b')](_0x6c08a5=>{_0x6c08a5['on'](_0x1253('0x4a'),(_0x3a41f9,_0x169b5f,_0x569ac8)=>{if(!_0x569ac8[_0x1253('0x53')][_0x1253('0x3f')])return;const _0x3d1c56=_0x169b5f[_0x1253('0x12e')];if(!_0x3d1c56)return;const _0x42e982=_0x569ac8[_0x1253('0x1b')]['toViewElement'](_0x3d1c56);_0xae5517[_0x1253('0x5a')]['schema']['isObject'](_0x3d1c56)&&_0x42e982&&!_0x42e982[_0x1253('0xeb')]('widget')&&_0x42e982['is']('containerElement')&&_0x2a3753(_0x42e982,_0x569ac8[_0x1253('0x65')]);},{'priority':_0x1253('0xb4')});}),_0xae5517[_0x1253('0x74')]['for'](_0x1253('0xa1'))[_0x1253('0x155')]({'model':_0x1253('0x40'),'view':(_0x56e4e2,_0x14123d)=>{if(!_0x14123d[_0x1253('0x53')][_0x1253('0x3f')])return null;const {type:_0x14733d,subType:_0x41d801}=this[_0x1253('0x45')](_0x56e4e2[_0x1253('0xc7')]);return{'classes':['ck-suggestion-marker',_0x478ba0(_0x14733d,_0x41d801)],'priority':0xbb8};}});const _0x2c55aa=({showActiveMarkers:_0x4b55ec=!0x0,isAttributeSuggestion:_0x5401=!0x1}={})=>(_0x35402f,_0x466b9b,_0xe80389)=>{if(!_0x466b9b['item'])return;const {id:_0x550381}=this[_0x1253('0x45')](_0x466b9b['markerName']);if(_0x5401){const _0x417914=this[_0x1253('0xc2')]['get'](_0x550381),_0x3da03d=this[_0x1253('0x6d')](_0x417914);if(!this[_0x1253('0x17')](_0x3da03d))return;}if(_0x466b9b['item']['is'](_0x1253('0xb')))return void _0xe80389['consumable']['consume'](_0x466b9b[_0x1253('0x12e')],_0x35402f['name']);const _0x24a8e1=_0xe80389[_0x1253('0x1b')][_0x1253('0xa9')](_0x466b9b[_0x1253('0x12e')]);if(_0x466b9b[_0x1253('0x12e')]['is'](_0x1253('0x70'))&&_0xae5517[_0x1253('0x5a')][_0x1253('0x157')]['isBlock'](_0x466b9b['item'])&&!_0x24a8e1['getCustomProperty'](_0x1253('0x80'))){_0xe80389[_0x1253('0x65')][_0x1253('0xba')]([_0x1253('0x19'),'ck-suggestion-marker-formatBlock'],_0x24a8e1),_0xe80389[_0x1253('0x65')][_0x1253('0x42')]('data-suggestion',_0x550381,_0x24a8e1),_0xe80389[_0x1253('0x1b')]['bindElementToMarker'](_0x24a8e1,_0x466b9b[_0x1253('0xc7')]),_0x4b55ec&&(this['activeMarkers'][_0x1253('0x13f')](_0x466b9b['markerName'])?_0xe80389[_0x1253('0x65')][_0x1253('0xba')](_0x1253('0xdd'),_0x24a8e1):_0xe80389[_0x1253('0x65')][_0x1253('0x1a')]('ck-suggestion-marker--active',_0x24a8e1));for(const _0x921439 of _0xae5517[_0x1253('0x5a')][_0x1253('0x8e')](_0x466b9b[_0x1253('0x12e')])[_0x1253('0x9b')]())_0xe80389[_0x1253('0x83')][_0x1253('0xd5')](_0x921439,_0x35402f[_0x1253('0x11e')]);_0xe80389[_0x1253('0x83')][_0x1253('0xd5')](_0x466b9b[_0x1253('0x12e')],_0x35402f[_0x1253('0x11e')]);}};_0xae5517['conversion'][_0x1253('0x15f')](_0x1253('0xa1'))[_0x1253('0x16b')](_0x1d9891=>{_0x1d9891['on'](_0x1253('0x177'),(_0x4e28c4,_0x27c883,_0xa5f939)=>{_0xa5f939['options'][_0x1253('0x3f')]&&_0x2c55aa({'showActiveMarkers':!0x1})(_0x4e28c4,_0x27c883,_0xa5f939);},{'priority':_0x1253('0x147')});}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0xa1'))[_0x1253('0x16b')](_0x2855b7=>{_0x2855b7['on'](_0x1253('0x37'),(_0x1d11fe,_0x443837,_0x3f58ec)=>{_0x3f58ec[_0x1253('0x53')]['showSuggestionHighlights']&&_0x2c55aa({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x1d11fe,_0x443837,_0x3f58ec);},{'priority':_0x1253('0x147')});}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0xa1'))[_0x1253('0x144')]({'model':_0x1253('0x40'),'view':(_0x10f474,_0x383982)=>_0x383982[_0x1253('0x53')]['showSuggestionHighlights']?null:{'group':_0x1253('0x40'),'name':_0x10f474['substr'](0xb)}}),_0xae5517['conversion'][_0x1253('0x15f')](_0x1253('0x16'))[_0x1253('0x81')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x570f4c,{writer:_0x34b76f})=>{let _0x462696=_0x1253('0x3a')+_0x570f4c[_0x1253('0x62')](_0x1253('0x13b'))+':'+_0x570f4c[_0x1253('0x62')]('id');return _0x570f4c[_0x1253('0x62')]('marker-count')&&(_0x462696+=':'+_0x570f4c[_0x1253('0x62')](_0x1253('0x115'))),_0x34b76f[_0x1253('0x2a')](_0x1253('0xf1'),{'data-name':_0x462696});}}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0x16'))['dataToMarker']({'view':_0x1253('0x40')}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0xe'))[_0x1253('0x16b')](_0x56b577=>{_0x56b577['on'](_0x1253('0x177'),_0x2c55aa(),{'priority':'high'});}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')](_0x1253('0xe'))[_0x1253('0x16b')](_0x27e703=>{_0x27e703['on']('addMarker:suggestion:attribute',_0x2c55aa({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0xae5517[_0x1253('0x74')][_0x1253('0x15f')]('editingDowncast')['add'](_0x57553c=>{_0x57553c['on']('removeMarker:suggestion:formatBlock',(_0x2380f7,_0x255f09,_0x370856)=>{const _0x3cbeb8=_0x370856['mapper'][_0x1253('0xe4')](_0x255f09['markerName']);if(_0x3cbeb8)for(const _0x1304e0 of _0x3cbeb8)_0x1304e0['getCustomProperty']('addHighlight')||(_0x370856[_0x1253('0x65')][_0x1253('0x1a')]([_0x1253('0x19'),_0x1253('0x8a'),'ck-suggestion-marker--active'],_0x1304e0),_0x370856[_0x1253('0x65')][_0x1253('0x139')](_0x1253('0x102'),_0x1304e0),_0x370856[_0x1253('0x1b')]['unbindElementFromMarkerName'](_0x1304e0,_0x255f09['markerName']));},{'priority':_0x1253('0xb4')});}),_0xae5517[_0x1253('0x74')]['for']('editingDowncast')[_0x1253('0x16b')](_0x39ce0e=>{_0x39ce0e['on'](_0x1253('0x130'),(_0x127e73,_0xc6b6d3,_0x5f0321)=>{const _0x20f510=_0x5f0321[_0x1253('0x1b')][_0x1253('0xe4')](_0xc6b6d3['markerName']);if(!_0x20f510)return;const {id:_0x1710fd}=this[_0x1253('0x45')](_0xc6b6d3[_0x1253('0xc7')]),_0x2a580c=this['_suggestions'][_0x1253('0x14b')](_0x1710fd),_0x4e9e38=this['_getAttributeKey'](_0x2a580c);if(this[_0x1253('0x17')](_0x4e9e38))for(const _0x4fee76 of _0x20f510)_0x4fee76[_0x1253('0xeb')]('addHighlight')||(_0x5f0321[_0x1253('0x65')]['removeClass'](['ck-suggestion-marker',_0x1253('0x8a'),'ck-suggestion-marker--active'],_0x4fee76),_0x5f0321[_0x1253('0x65')]['removeAttribute'](_0x1253('0x102'),_0x4fee76),_0x5f0321[_0x1253('0x1b')][_0x1253('0x100')](_0x4fee76,_0xc6b6d3[_0x1253('0xc7')]));},{'priority':_0x1253('0xb4')});}),_0xae5517[_0x1253('0x5a')]['document'][_0x1253('0x3e')](_0x5144f3=>{let _0x3eb1a4=!0x1;const _0x242e07=Array[_0x1253('0xe3')](_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')]['getChangedMarkers']()),_0x2837d1=new Set();for(const {name:_0x2d31cf,data:_0x3990eb}of _0x242e07){const {group:_0x53dae2,type:_0x57220a,subType:_0x263ae6,id:_0x2c5bab}=this[_0x1253('0x45')](_0x2d31cf);if(_0x1253('0x40')!==_0x53dae2)continue;const _0xa6bbc2=this[_0x1253('0xc2')][_0x1253('0x14b')](_0x2c5bab);if(null!=_0x3990eb[_0x1253('0x3b')]){_0x1253('0xb9')==_0x57220a&&(_0x3eb1a4=_0x3eb1a4||Tt(_0x3990eb[_0x1253('0x3b')],_0x2d31cf,_0x5144f3,_0xae5517[_0x1253('0x5a')][_0x1253('0x157')]));const _0xdadcc6='attribute'==_0x57220a&&this[_0x1253('0x17')](_0x263ae6['split']('|')[0x0]);if(_0x3990eb['newRange'][_0x1253('0xf4')]||_0x1253('0x163')==_0x3990eb[_0x1253('0x3b')][_0x1253('0xf0')]['rootName']||_0x1253('0x120')==_0x57220a&&!Vt(_0x3990eb[_0x1253('0x3b')])||_0xdadcc6&&!Vt(_0x3990eb[_0x1253('0x3b')])||_0x1253('0x1e')==_0x57220a&&!(!Rt(_0x2b711f=_0x3990eb[_0x1253('0x3b')])&&!function(_0x20c745){return _0x20c745[_0x1253('0x124')][_0x1253('0x66')]==_0x20c745[_0x1253('0xe6')][_0x1253('0x77')]&&_0x20c745[_0x1253('0x124')][_0x1253('0xf8')];}(_0x2b711f)))_0x5144f3[_0x1253('0x67')](_0x2d31cf),_0x3eb1a4=!0x0;else{if(!_0xa6bbc2||!_0xa6bbc2[_0x1253('0xb2')])continue;_0x2837d1[_0x1253('0x16b')](_0xa6bbc2);}}}var _0x2b711f;return _0x2837d1[_0x1253('0x8')]>0x0&&(_0x3eb1a4=!!this[_0x1253('0x141')](_0x2837d1)||_0x3eb1a4),_0x3eb1a4;}),_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')]['registerPostFixer'](_0x40e1fe=>{let _0x4d7483=!0x1;for(const _0x307ddb of _0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')][_0x1253('0x20')]())if('insert'==_0x307ddb['type'])for(const _0x8d275d of this[_0x1253('0xc2')][_0x1253('0xe9')]()){if(_0x8d275d[_0x1253('0x171')]||!_0x8d275d[_0x1253('0xb2')])continue;const _0x490d27='formatBlock'==_0x8d275d['type'],_0x1834f5=this[_0x1253('0x6d')](_0x8d275d),_0x37e506=_0x1834f5&&this[_0x1253('0x17')](_0x1834f5);if(!_0x490d27&&!_0x37e506)continue;const _0xfd3175=_0x8d275d[_0x1253('0x11b')]();if(_0xfd3175['start'][_0x1253('0x66')]!=_0xfd3175['end'][_0x1253('0x66')]&&!_0xfd3175[_0x1253('0xe6')]['isAtEnd']){const _0x19e900=_0xae5517['model'][_0x1253('0x61')](_0xfd3175[_0x1253('0x124')][_0x1253('0xdc')],_0x1253('0xe6')),_0x50ac6c=_0xae5517[_0x1253('0x5a')][_0x1253('0x41')](_0xfd3175['start'],_0x19e900);_0x40e1fe['updateMarker'](_0x8d275d['getFirstMarker'](),{'range':_0x50ac6c}),_0x4d7483=!0x0;}}return _0x4d7483;}),_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x3e')](_0x381940=>this[_0x1253('0x6e')](_0x381940)),_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x3e')](_0x117c43=>!_0x117c43['batch'][_0x1253('0x106')]&&this[_0x1253('0x4d')](_0x117c43)),_0xae5517[_0x1253('0x5a')]['on'](_0x1253('0x17b'),()=>{this[_0x1253('0x14')]=!0x1;}),_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')]['on']('change:data',(_0x361f0,_0x46f854)=>{if(!_0x46f854[_0x1253('0x106')]||_0x46f854[_0x1253('0x9f')])return;if(!this[_0x1253('0x14')])return;const _0x3ba423=_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')][_0x1253('0x20')]();if(0x0==_0x3ba423[_0x1253('0xa')])return;const _0x6550c9=[],_0x2e6362=_0x3ba423[_0x1253('0x16e')](_0x1825ea=>'attribute'==_0x1825ea[_0x1253('0x10b')]),_0x19ab90=_0x3ba423[_0x1253('0x16e')](_0x21a381=>_0x1253('0x16f')==_0x21a381[_0x1253('0x10b')]&&_0x1253('0xe5')!=_0x21a381['name']),_0x344596=_0x3ba423[_0x1253('0x16e')](_0x49e2f5=>_0x1253('0x5f')==_0x49e2f5[_0x1253('0x10b')]&&_0x1253('0xe5')!=_0x49e2f5['name']);for(const _0x48c923 of _0x2e6362)this[_0x1253('0x112')](_0x48c923[_0x1253('0x12b')])&&_0x6550c9['push']({'key':_0x48c923[_0x1253('0x12b')],'newValue':_0x48c923[_0x1253('0x25')],'oldValue':_0x48c923[_0x1253('0xf6')],'range':Ut(_0x48c923[_0x1253('0x118')],_0xae5517[_0x1253('0x5a')])});for(const _0x8840f5 of _0x19ab90){const _0x4f4c88=_0x344596['find'](_0x53f9c1=>_0x53f9c1['_element']===_0x8840f5[_0x1253('0x178')]);if(_0x4f4c88){const _0x5894d8=Ot(_0x8840f5[_0x1253('0x69')]['nodeAfter'],_0xae5517[_0x1253('0x5a')]);_0x4f4c88[_0x1253('0x11e')]!==_0x8840f5[_0x1253('0x11e')]&&_0x6550c9[_0x1253('0x172')]({'key':_0x1253('0x15d'),'newValue':_0x8840f5[_0x1253('0x11e')],'oldValue':_0x4f4c88[_0x1253('0x11e')],'range':_0x5894d8});for(const [_0x2b3cca,_0x3a0dbe]of _0x4f4c88[_0x1253('0x15')]){if(!this[_0x1253('0x112')](_0x2b3cca))continue;const _0x3d9c0e=_0x8840f5[_0x1253('0x15')]['get'](_0x2b3cca);_0x3a0dbe!==_0x3d9c0e&&_0x6550c9[_0x1253('0x172')]({'key':_0x2b3cca,'newValue':_0x3d9c0e,'oldValue':_0x3a0dbe,'range':_0x5894d8});}for(const [_0x10cf21,_0x40edf9]of _0x8840f5['attributes'])this[_0x1253('0x112')](_0x10cf21)&&(_0x4f4c88[_0x1253('0x15')][_0x1253('0x2b')](_0x10cf21)||_0x6550c9['push']({'key':_0x10cf21,'newValue':_0x40edf9,'oldValue':null,'range':_0x5894d8}));}}0x0!=_0x6550c9[_0x1253('0xa')]&&_0xae5517[_0x1253('0x5a')][_0x1253('0x10c')](_0x46f854,_0x201cba=>{const _0x566de8=_0x24f0b9();for(const {range:_0x4dd738,key:_0x3a5653,oldValue:_0x18b5f1,newValue:_0x455af2}of _0x6550c9)this[_0x1253('0x15e')](_0x4dd738,_0x3a5653,_0x18b5f1,_0x455af2,{'groupId':_0x566de8});this[_0x1253('0xaf')](_0x201cba,_0x6550c9);});},{'priority':_0x1253('0x71')}),_0xae5517[_0x1253('0x5a')]['markers']['on']('update:suggestion',(_0x4545bb,_0xabcc87,_0x1698e0)=>{if(null==_0x1698e0){const {id:_0x48384a}=this[_0x1253('0x45')](_0xabcc87[_0x1253('0x11e')]),_0x3d3ab2=this[_0x1253('0xc2')]['get'](_0x48384a);_0x3d3ab2&&_0x3d3ab2[_0x1253('0x164')](_0xabcc87[_0x1253('0x11e')]);}}),_0xae5517['model'][_0x1253('0xb7')]['on'](_0x1253('0x145'),()=>{const _0x3c6b64=Array[_0x1253('0xe3')](_0xae5517[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')][_0x1253('0xec')]())['filter'](_0x4dbb2e=>'suggestion'===this[_0x1253('0x45')](_0x4dbb2e[_0x1253('0x11e')])[_0x1253('0x49')]);if(0x0===_0x3c6b64[_0x1253('0xa')])return;_0x3c6b64[_0x1253('0x73')]((_0x15a04c,_0x22d98d)=>{const _0x5506fd=_0x15a04c[_0x1253('0xda')][_0x1253('0x11c')],_0x403fd2=_0x22d98d[_0x1253('0xda')][_0x1253('0x11c')];return null===_0x5506fd&&null===_0x403fd2?0x0:null===_0x5506fd&&null!==_0x403fd2?-0x1:null!==_0x5506fd&&null===_0x403fd2?0x1:_0x5506fd['start'][_0x1253('0x4b')](_0x403fd2[_0x1253('0x124')])?-0x1:0x1;});const _0x3e0c51=new Set(),_0x8f4af5=new Set();for(const {name:_0x43a7b5,data:_0x5df370}of _0x3c6b64){const {id:_0x12ed23}=this[_0x1253('0x45')](_0x43a7b5);if(null===_0x5df370[_0x1253('0x11c')]){const _0x52f59e=this[_0x1253('0x95')](_0x43a7b5);_0x8f4af5['add'](_0x52f59e);}else{const _0x24378f=this[_0x1253('0xc2')][_0x1253('0x14b')](_0x12ed23);null!==_0x5df370[_0x1253('0x3b')]||_0x24378f[_0x1253('0xb2')]?(_0x3e0c51[_0x1253('0x16b')](_0x24378f['head']),_0x8f4af5[_0x1253('0x16b')](_0x24378f)):this['_removeSuggestion'](_0x24378f);}}_0x8f4af5['size']>0x0&&this[_0x1253('0x15c')](_0x8f4af5);for(const _0xb837ac of _0x3e0c51)this['fire'](_0x1253('0xb5'),_0xb837ac);}),_0xae5517[_0x1253('0x5a')]['on'](_0x1253('0xa7'),(_0x44bcba,_0x1499a1)=>{const _0x15e2d3=_0x1499a1[0x0];if(!this['_suggestions']['size'])return;if(!_0x15e2d3[_0x1253('0x16d')])return;if(_0x15e2d3[_0x1253('0x160')][_0x1253('0x9f')]||!_0x15e2d3[_0x1253('0x160')][_0x1253('0x106')])return;let _0xf7754,_0x5696b2;switch(_0x15e2d3['type']){case _0x1253('0x16f'):_0xf7754=_0xae5517[_0x1253('0x5a')][_0x1253('0x61')](_0x15e2d3['position']),_0x5696b2=_0xf7754[_0x1253('0x101')](_0x15e2d3[_0x1253('0x82')]);break;case'split':_0xf7754=_0xae5517[_0x1253('0x5a')][_0x1253('0x61')](_0x15e2d3[_0x1253('0x76')]),_0x5696b2=_0xae5517[_0x1253('0x5a')][_0x1253('0x61')](_0x15e2d3[_0x1253('0x126')]);break;case _0x1253('0x64'):_0xf7754=_0xae5517[_0x1253('0x5a')]['createPositionAt'](_0x15e2d3[_0x1253('0x3d')]),_0x5696b2=_0xf7754[_0x1253('0x101')](_0x15e2d3[_0x1253('0x82')]);break;default:return;}const _0x3fe838=_0xae5517[_0x1253('0x5a')][_0x1253('0x41')](_0xf7754,_0x5696b2);_0xae5517[_0x1253('0x5a')][_0x1253('0xf3')](()=>{for(const {suggestion:_0x475f5f,meta:_0x1f69d8}of this[_0x1253('0xe2')](_0x3fe838)){if(_0x475f5f[_0x1253('0x171')])continue;if(_0x1253('0xb9')==_0x475f5f['type'])continue;const _0x161d80=this[_0x1253('0x6d')](_0x475f5f);if(_0x161d80&&this[_0x1253('0x17')](_0x161d80)&&_0x1253('0x85')!=_0x15e2d3[_0x1253('0x10b')])continue;const _0x3f2572=_0x475f5f[_0x1253('0xda')]&&_0x475f5f[_0x1253('0xda')][_0x1253('0x9d')];(_0x1253('0x120')!=_0x475f5f[_0x1253('0x10b')]||_0x1253('0x85')==_0x15e2d3[_0x1253('0x10b')]&&!_0x3f2572)&&(_0x1f69d8[_0x1253('0xc1')]||_0x1253('0xe1')==_0x475f5f[_0x1253('0x10b')]&&_0x1f69d8[_0x1253('0xa5')]||_0x475f5f[_0x1253('0x11b')]()[_0x1253('0x14f')](_0x3fe838)&&this[_0x1253('0xca')](_0x475f5f,_0xf7754,_0x5696b2));}});},{'priority':_0x1253('0x71')}),_0xae5517[_0x1253('0x5a')]['on']('deleteContent',(_0x1c1920,_0x4e5990)=>{const _0x184cc7=_0x4e5990[0x0],_0x1696d1=_0x4e5990[0x1];if(_0x1696d1&&_0x1696d1['forceDefaultExecution'])return;if(this[_0x1253('0x91')])return;if(!this[_0x1253('0x14a')][_0x1253('0x12d')])return;if(_0x184cc7[_0x1253('0xf4')])return;const _0x3000ce=_0xae5517['model']['schema'],{start:_0x5a5b36,end:_0x4ec4c1}=_0x184cc7[_0x1253('0x11b')](),_0x166b5f=_0x5a5b36[_0x1253('0xdc')]&&_0x3000ce[_0x1253('0x105')](_0x5a5b36[_0x1253('0xdc')])?null:_0x3000ce[_0x1253('0x31')](_0x5a5b36,_0x1253('0xed')),_0xe7100d=_0x4ec4c1['nodeBefore']&&_0x3000ce[_0x1253('0x105')](_0x4ec4c1[_0x1253('0x77')])?null:_0x3000ce['getNearestSelectionRange'](_0x4ec4c1,_0x1253('0x111')),_0xf6b18b=_0xae5517['model'][_0x1253('0x41')](_0x166b5f?_0x166b5f[_0x1253('0x124')]:_0x5a5b36,_0xe7100d?_0xe7100d[_0x1253('0xe6')]:_0x4ec4c1);_0xae5517['model'][_0x1253('0xf3')](_0x11f402=>{this[_0x1253('0x104')](_0xf6b18b);const _0x23b99e=_0xae5517[_0x1253('0x5a')][_0x1253('0x157')]['getNearestSelectionRange'](_0xf6b18b['start']);_0x184cc7['is']('documentSelection')?_0x11f402[_0x1253('0xd4')](_0x23b99e):_0x184cc7['setTo'](_0x23b99e);}),_0x1c1920[_0x1253('0x174')]();},{'priority':_0x324e9d[_0x1253('0x142')]+0xa}),_0xae5517[_0x1253('0x5a')]['on'](_0x1253('0x96'),(_0x58cd14,_0x4a0bdf)=>{const _0x27a605=_0x4a0bdf[_0x4a0bdf[_0x1253('0xa')]-0x1];_0x27a605&&_0x27a605[_0x1253('0x48')]||this[_0x1253('0x91')]||this[_0x1253('0x14a')]['value']&&(_0xae5517[_0x1253('0x5a')][_0x1253('0xf3')](()=>{let _0x45fc32=_0xae5517[_0x1253('0x5a')][_0x1253('0x96')](_0x4a0bdf[0x0],_0x4a0bdf[0x1],_0x4a0bdf[0x2],{'forceDefaultExecution':!0x0});if(!_0x45fc32)return;_0x58cd14[_0x1253('0x9')]=_0x45fc32[_0x1253('0xcd')]();const _0x160688=_0x45fc32[_0x1253('0xe6')]['nodeBefore'],_0x21edd2=_0xae5517['model']['schema'];_0x160688&&_0x21edd2['isBlock'](_0x160688)&&!_0x21edd2['isObject'](_0x160688)&&(_0x45fc32=_0xae5517['model'][_0x1253('0x41')](_0x45fc32['start'],_0xae5517['model'][_0x1253('0x61')](_0x160688,_0x1253('0xe6')))),this['markInsertion'](_0x45fc32);}),_0x58cd14[_0x1253('0x174')]());},{'priority':_0x1253('0xb4')}),this['editor'][_0x1253('0x59')]['add']('trackChanges',this['trackChangesCommand']),this[_0x1253('0x109')](_0x1253('0x13a'));const _0x498988=new _0x359114(_0xae5517,this[_0x1253('0xc2')]);_0xae5517[_0x1253('0x59')][_0x1253('0x16b')](_0x1253('0x34'),_0x498988),this[_0x1253('0x109')](_0x1253('0x34'));const _0x424c77=new _0x5dd4ee(_0xae5517,this[_0x1253('0xc2')]);_0xae5517['commands'][_0x1253('0x16b')]('discardSuggestion',_0x424c77),this['enableCommand'](_0x1253('0x11')),_0xae5517[_0x1253('0x59')][_0x1253('0x16b')]('acceptAllSuggestions',new _0x4130ef(_0xae5517,_0x498988,this['_suggestions'])),this[_0x1253('0x109')]('acceptAllSuggestions'),_0xae5517[_0x1253('0x59')]['add'](_0x1253('0x4'),new _0x4130ef(_0xae5517,_0x424c77,this[_0x1253('0xc2')])),this[_0x1253('0x109')](_0x1253('0x4')),_0xae5517[_0x1253('0x59')]['add'](_0x1253('0x84'),new _0xe59bac(_0xae5517,_0x498988,this[_0x1253('0xc2')])),this[_0x1253('0x109')](_0x1253('0x84')),_0xae5517[_0x1253('0x59')][_0x1253('0x16b')](_0x1253('0x128'),new _0xe59bac(_0xae5517,_0x424c77,this['_suggestions'])),this['enableCommand'](_0x1253('0x128'));const _0x2bedc0=_0xae5517[_0x1253('0xb6')][_0x1253('0x14b')](_0x1253('0x8d'));this[_0x1253('0xde')](_0x2bedc0,_0x1253('0x176'),(_0x4885df,{threadId:_0x587dbb})=>{const _0x3670e8=this[_0x1253('0xc2')][_0x1253('0x14b')](_0x587dbb);_0x3670e8&&_0x3670e8[_0x1253('0xcc')]&&0x1===_0x3670e8['commentThread'][_0x1253('0xa')]&&this[_0x1253('0x12a')](_0x587dbb,{'hasComments':!0x0});},{'priority':_0x1253('0x133')}),this['listenTo'](_0x2bedc0,_0x1253('0xc5'),(_0x3c3ac6,{threadId:_0x45b4c0})=>{const _0x42714e=this[_0x1253('0xc2')][_0x1253('0x14b')](_0x45b4c0);_0x42714e&&_0x42714e[_0x1253('0xcc')]&&!_0x42714e[_0x1253('0xcc')][_0x1253('0xa')]&&this[_0x1253('0x12a')](_0x45b4c0,{'hasComments':!0x1});},{'priority':_0x1253('0x133')});}set[_0x1253('0xcb')](_0x1e4a4){if(this[_0x1253('0xc')])throw new _0xbf5b48(_0x1253('0x2c'),this);this['_adapter']=_0x1e4a4;}get[_0x1253('0xcb')](){return this[_0x1253('0xc')];}[_0x1253('0x4e')]({skipNotAttached:_0x5c2eb7=!0x1,toJSON:_0xef8dd2=!0x1}={}){const _0x2378eb=[];for(const _0xff9397 of this[_0x1253('0xc2')][_0x1253('0xe9')]())_0x5c2eb7&&!_0xff9397[_0x1253('0xb2')]||_0x2378eb[_0x1253('0x172')](_0xff9397);return _0xef8dd2?_0x2378eb['map'](_0x51cb71=>_0x51cb71[_0x1253('0x7f')]()):_0x2378eb;}[_0x1253('0x10f')](_0x11379e){const _0x509606=this[_0x1253('0xc2')]['get'](_0x11379e);if(!_0x509606)throw new _0xbf5b48('track-changes-suggestion-not-found',this);return _0x509606;}[_0x1253('0x2d')](_0x1c3988){return this['_suggestions']['has'](_0x1c3988);}['addSuggestionData'](_0x26e13a){const {authorId:_0x3ca526,id:_0x230c2d,attributes:_0x4a0a5d}=_0x26e13a,[_0x40f07d,_0x3d7644]=_0x26e13a[_0x1253('0x10b')]['split'](':'),_0x22bfee=this['_suggestions']['get'](_0x230c2d)||this[_0x1253('0xd2')](_0x40f07d,_0x3d7644,_0x230c2d,_0x3ca526,_0x4a0a5d);if(this[_0x1253('0x14e')](_0x22bfee),this['_checkSuggestionCorrectness'](_0x22bfee,_0x40f07d,_0x3d7644||null,_0x3ca526),_0x22bfee[_0x1253('0x5c')]=_0x26e13a[_0x1253('0x5c')],_0x22bfee[_0x1253('0xce')]=!0x0,_0x4a0a5d&&_0x4a0a5d[_0x1253('0x29')]){const _0x28c429=_0x4a0a5d[_0x1253('0x29')],_0x8ee56c=this['_getExternalAuthor'](_0x28c429[_0x1253('0x117')]);_0x22bfee[_0x1253('0xbe')]=_0x28c429[_0x1253('0x5c')],_0x22bfee[_0x1253('0x23')]=_0x8ee56c,_0x22bfee['isExternal']=!0x0;}else _0x22bfee[_0x1253('0xbe')]=_0x26e13a[_0x1253('0x5c')];switch(_0x26e13a[_0x1253('0xda')]&&(_0x22bfee[_0x1253('0xda')]=_0x26e13a[_0x1253('0xda')]),_0x26e13a['attributes']&&(_0x22bfee[_0x1253('0x15')]=_0x26e13a['attributes']),this[_0x1253('0xc')]&&this[_0x1253('0xc')][_0x1253('0x54')]||(_0x22bfee['_saved']=!0x0),this[_0x1253('0x94')][_0x1253('0x14b')](_0x22bfee)){case _0x1253('0x166'):this['_suggestionState'][_0x1253('0xd1')](_0x22bfee,'dataReady');break;case _0x1253('0x35'):_0x22bfee[_0x1253('0xb2')]?(this[_0x1253('0x141')](new Set([_0x22bfee])),this[_0x1253('0x15c')](new Set([_0x22bfee])),this['_suggestionState'][_0x1253('0xd1')](_0x22bfee,'ready'),this[_0x1253('0x13e')]('suggestionLoaded',_0x22bfee)):this[_0x1253('0x94')][_0x1253('0xd1')](_0x22bfee,_0x1253('0x154'));}return _0x22bfee;}[_0x1253('0x34')](_0x39d0b1){this[_0x1253('0x48')](()=>{this[_0x1253('0x129')][_0x1253('0x5a')][_0x1253('0xf3')](()=>{for(const _0x44c710 of _0x39d0b1['getAllAdjacentSuggestions']())_0x44c710[_0x1253('0xb3')]();});});}[_0x1253('0x11')](_0x42ca14){this[_0x1253('0x48')](()=>{this[_0x1253('0x129')][_0x1253('0x5a')]['change'](()=>{for(const _0x1f498c of _0x42ca14[_0x1253('0x12c')]())_0x1f498c[_0x1253('0x0')]();});});}[_0x1253('0x109')](_0x5f3cb6,_0x50147a){const _0x34f174=this[_0x1253('0x129')][_0x1253('0x59')][_0x1253('0x14b')](_0x5f3cb6);if(!_0x34f174)throw new _0xbf5b48(_0x1253('0x15a'),this,{'commandName':_0x5f3cb6});if(this['_enabledCommands'][_0x1253('0x2b')](_0x34f174))throw new _0xbf5b48('track-changes-enable-command-twice',this,{'commandName':_0x5f3cb6});this[_0x1253('0x148')][_0x1253('0x16b')](_0x34f174),_0x50147a&&_0x34f174['on'](_0x1253('0xd'),(_0x2bec8d,_0x4b1649)=>{this['trackChangesCommand'][_0x1253('0x12d')]&&(this[_0x1253('0x91')]||(_0x4b1649[_0x1253('0xa')]>0x0&&_0x4b1649[_0x4b1649['length']-0x1]&&_0x4b1649[_0x4b1649[_0x1253('0xa')]-0x1][_0x1253('0x48')]?_0x4b1649[_0x1253('0x3')]():(_0x2bec8d[_0x1253('0x9')]=_0x50147a((..._0x4e116e)=>_0x34f174['execute'](..._0x4e116e,{'forceDefaultExecution':!0x0}),..._0x4b1649),_0x2bec8d[_0x1253('0x174')]())));},{'priority':'high'});}['forceDefaultExecution'](_0x584ecd){let _0x130fb1,_0x317b89;const _0x5d13c7=this[_0x1253('0x91')];this[_0x1253('0x91')]=!0x0;try{_0x130fb1=_0x584ecd();}catch(_0x17346e){_0x317b89=_0x17346e;}return _0x5d13c7||(this[_0x1253('0x91')]=!0x1),_0x317b89&&_0xbf5b48[_0x1253('0x150')](_0x317b89,this),_0x130fb1;}[_0x1253('0xff')](_0xa2e584,_0x590928=null,_0x18c0ae={}){if(_0xa2e584[_0x1253('0xf4')])return null;const _0x1fd1f7=this[_0x1253('0x129')]['plugins'][_0x1253('0x14b')]('Users')['me'];for(const {suggestion:_0x1c2694,meta:_0x23f58e}of this[_0x1253('0xe2')](_0xa2e584,_0x1253('0xe1')))if(_0x23f58e[_0x1253('0xa5')]){if(!_0x23f58e[_0x1253('0xbd')]){if(_0x23f58e['containsRangeInObject']){if(!this[_0x1253('0xea')]||!Pt(_0x1c2694,_0x18c0ae))continue;return _0x1c2694;}if(Pt(_0x1c2694,_0x18c0ae))return _0x1c2694;this[_0x1253('0xca')](_0x1c2694,_0xa2e584['start'],_0xa2e584[_0x1253('0xe6')]);break;}if(_0x590928==_0x1c2694[_0x1253('0xef')]&&Pt(_0x1c2694,_0x18c0ae)){const _0x51e530=_0x1c2694[_0x1253('0x11b')]();return _0x51e530[_0x1253('0x124')][_0x1253('0x30')](_0xa2e584[_0x1253('0xe6')])?this[_0x1253('0x1f')](_0x1c2694,this['_model'][_0x1253('0x41')](_0xa2e584['start'],_0x51e530['end'])):this['_setSuggestionRange'](_0x1c2694,this['_model'][_0x1253('0x41')](_0x51e530[_0x1253('0x124')],_0xa2e584[_0x1253('0xe6')])),_0x1c2694;}}const _0x5f2e02=_0x24f0b9(),_0x398050=_0x1fd1f7['id'],_0x300d5a=_0x590928?_0x1253('0x153')+_0x590928:'insertion',_0x39d1dc=this['_setSuggestionData']({'id':_0x5f2e02,'type':_0x300d5a,'createdAt':new Date(),'authorId':_0x398050,'attributes':_0x18c0ae});return this[_0x1253('0x11d')](_0x300d5a,_0x5f2e02,_0x398050,_0xa2e584),_0x39d1dc;}[_0x1253('0x168')](_0x55816f,_0x1e1e1c=_0x1253('0x47'),_0x86dae3={}){const _0x15cee8=this[_0x1253('0x129')][_0x1253('0xb6')][_0x1253('0x14b')](_0x1253('0x9e'))['me'],_0x298d4a=this[_0x1253('0xaa')][_0x1253('0x119')]('insertion',_0x1e1e1c,_0x1253('0xc9'));for(const _0x125cad of this[_0x1253('0x4e')]())if(_0x125cad[_0x1253('0x23')]['id']==_0x15cee8['id']&&_0x1253('0xe1')==_0x125cad[_0x1253('0x10b')]&&_0x125cad[_0x1253('0xef')]==_0x1e1e1c&&Pt(_0x125cad,_0x86dae3)&&(_0x298d4a(_0x125cad['getRanges'](),_0x55816f)||_0x298d4a(_0x55816f,_0x125cad['getRanges']()))){for(const _0x313406 of _0x55816f)_0x125cad[_0x1253('0x88')](_0x313406);return _0x125cad;}for(const {suggestion:_0x511c01,meta:_0x22e23}of this[_0x1253('0xe2')](_0x55816f,_0x1253('0xe1'))){if(!_0x22e23['isOwn'])continue;if(!this[_0x1253('0xea')]&&_0x22e23[_0x1253('0xc1')])continue;if(!Pt(_0x511c01,_0x86dae3))continue;let _0x753807=!0x0;for(const _0x3d4bd1 of _0x511c01[_0x1253('0xc0')]())for(const _0x97e58a of _0x55816f)if(!_0x3d4bd1[_0x1253('0x14f')](_0x97e58a)){_0x753807=!0x1;break;}if(_0x753807)return _0x511c01;}const _0x299c55=_0x24f0b9(),_0x379c89=_0x15cee8['id'],_0x560ce2=_0x1253('0x153')+_0x1e1e1c,_0x22b433=this[_0x1253('0xc6')]({'id':_0x299c55,'type':_0x560ce2,'createdAt':new Date(),'authorId':_0x379c89,'attributes':_0x86dae3});for(const _0x20894f of _0x55816f)this[_0x1253('0x11d')](_0x560ce2,_0x299c55,_0x379c89,_0x20894f,_0x51a20f[_0x1253('0x21')]());return _0x22b433;}[_0x1253('0x7b')](_0x17734a,_0x34f269,_0x1ffa78=null,_0xabef45={}){if(_0x1ffa78=_0x1ffa78||Et(_0x34f269),_0x17734a[_0x1253('0xf4')])return null;if(_0x1253('0x179')===this[_0x1253('0x8c')]){const _0x19265c=this[_0x1253('0xaa')]['getSuggestionCallback']('formatInline',_0x1ffa78,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x19265c([_0x17734a],_0x34f269,_0xabef45)),null;}const _0x42f603=this[_0x1253('0x129')][_0x1253('0xb6')][_0x1253('0x14b')]('Users')['me'],_0x3de4d2=[];if(_0x1253('0xf7')!==this[_0x1253('0x8c')])for(const {suggestion:_0x52a3b6,meta:_0x25d3e3}of this['_findSuggestions'](_0x17734a,_0x1253('0xe1')))_0x25d3e3[_0x1253('0xa5')]&&!_0x25d3e3[_0x1253('0x6a')]&&_0x3de4d2['push'](..._0x52a3b6[_0x1253('0xc0')]());const _0x5f2ba3=function(_0x4a7d95,_0x2b4ed8){const _0x5959de=[];for(const _0x561d2a of _0x2b4ed8){const _0x3d0810=_0x4a7d95[_0x1253('0x110')](_0x561d2a);_0x3d0810&&_0x5959de[_0x1253('0x172')](_0x3d0810);}return _0x5959de;}(_0x17734a,_0x3de4d2),_0x1fb96d=function(_0x2bbdce,_0x3a72f9){const _0x313fc6=[_0x2bbdce];for(const _0x49b85a of _0x3a72f9){let _0x518c5b=0x0;for(;_0x518c5b<_0x313fc6['length'];){const _0x3ef25b=_0x313fc6[_0x518c5b][_0x1253('0xa4')](_0x49b85a);_0x313fc6[_0x1253('0xfd')](_0x518c5b,0x1,..._0x3ef25b),_0x518c5b+=_0x3ef25b[_0x1253('0xa')];}}return _0x313fc6;}(_0x17734a,_0x3de4d2);_0x5f2ba3[_0x1253('0xa')]&&this['_model'][_0x1253('0xf3')](()=>{for(const _0x2ae88a of _0x5f2ba3){const _0x399b44=this[_0x1253('0xaa')]['getSuggestionCallback']('formatInline',_0x1ffa78,_0x1253('0xb3'));this[_0x1253('0x48')](()=>_0x399b44([_0x2ae88a],_0x34f269,_0xabef45));}});for(const _0x55f63b of _0x1fb96d){let _0x3f34cc=null,_0x6831e3=_0x55f63b['start'],_0x31c352=_0x55f63b[_0x1253('0xe6')];for(const {suggestion:_0x25854e,meta:_0x321d49}of this[_0x1253('0xe2')](_0x55f63b,_0x1253('0xb9'))){if(!_0x321d49[_0x1253('0xa5')])continue;if(_0x25854e[_0x1253('0xef')]!=_0x1ffa78)continue;if(!Pt(_0x25854e,_0xabef45))continue;const _0x2d0cea=_0x25854e[_0x1253('0x11b')]();if(_0x2d0cea[_0x1253('0x14f')](_0x55f63b,!0x0))return null;_0x6831e3=_0x6831e3['isBefore'](_0x2d0cea[_0x1253('0x124')])?_0x6831e3:_0x2d0cea[_0x1253('0x124')],_0x31c352=_0x31c352[_0x1253('0x7a')](_0x2d0cea[_0x1253('0xe6')])?_0x31c352:_0x2d0cea[_0x1253('0xe6')],_0x3f34cc?_0x2d0cea[_0x1253('0x124')][_0x1253('0x4b')](_0x3f34cc[_0x1253('0x11b')]()[_0x1253('0x124')])?(_0x3f34cc['removeMarkers'](),_0x3f34cc=_0x25854e):_0x25854e[_0x1253('0x169')]():_0x3f34cc=_0x25854e;}const _0x18bb19=this[_0x1253('0x4f')]['createRange'](_0x6831e3,_0x31c352);if(_0x3f34cc)this[_0x1253('0x1f')](_0x3f34cc,_0x18bb19);else{const _0x6f16d8=_0x24f0b9(),_0x4cfd20=_0x42f603['id'];this[_0x1253('0xc6')]({'id':_0x6f16d8,'type':_0x1253('0x5e')+_0x1ffa78,'data':_0x34f269,'createdAt':new Date(),'authorId':_0x4cfd20,'attributes':_0xabef45}),this[_0x1253('0x11d')]('formatInline:'+_0x1ffa78,_0x6f16d8,_0x4cfd20,_0x18bb19);}}return null;}[_0x1253('0xbf')](_0x396bfd,_0x1d8469,_0x111a68=[],_0x591e1b=null,_0x108156={}){_0x1d8469['formatGroupId']||(_0x1d8469['formatGroupId']=_0x1d8469[_0x1253('0x75')]),_0x1d8469[_0x1253('0x9d')]=_0x396bfd['is']('range'),_0x591e1b=_0x591e1b||Et(_0x1d8469);const _0xc2a18e=_0x111a68['map'](_0xc805fb=>Ot(_0xc805fb,this[_0x1253('0x4f')])),_0x2a9a21=_0x396bfd['is'](_0x1253('0x118'))?_0x396bfd:Ot(_0x396bfd,this[_0x1253('0x4f')]);if(_0x1253('0x179')===this['_trackFormatChanges']){const _0x2a54d3=this['_suggestionFactory'][_0x1253('0x119')](_0x1253('0x120'),_0x591e1b,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x2a54d3([_0x2a9a21],_0x1d8469,_0x108156)),null;}_0xc2a18e[_0x1253('0x172')](_0x2a9a21);let _0x29c6eb=!0x0;for(const _0x5ebd12 of _0xc2a18e)if(!this[_0x1253('0xf9')](_0x5ebd12)){_0x29c6eb=!0x1;break;}if(_0x29c6eb&&_0x1253('0xf7')!==this[_0x1253('0x8c')]){const _0x3e9f18=this['_suggestionFactory'][_0x1253('0x119')]('formatBlock',_0x591e1b,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x3e9f18([_0x2a9a21],_0x1d8469,_0x108156)),null;}let _0x237116=null,_0xbae79a=_0x2a9a21[_0x1253('0x124')],_0x17388b=_0x2a9a21[_0x1253('0xe6')];for(const {suggestion:_0x4beb3d,meta:_0x110b9a}of this['_findSuggestions'](_0x2a9a21,'formatBlock')){if(!_0x110b9a[_0x1253('0xa5')])continue;if(_0x110b9a[_0x1253('0xbd')]||_0x110b9a[_0x1253('0xc1')]||_0x110b9a[_0x1253('0x6a')])continue;if(_0x4beb3d[_0x1253('0xda')][_0x1253('0x136')]!=_0x1d8469[_0x1253('0x136')])continue;if(!Pt(_0x4beb3d,_0x108156))continue;const _0x55c4b7=_0x4beb3d[_0x1253('0x11b')]();if(_0x4beb3d[_0x1253('0xef')]==_0x591e1b){if(_0x55c4b7[_0x1253('0x14f')](_0x2a9a21,!0x0))return null;_0xbae79a=_0xbae79a[_0x1253('0x4b')](_0x55c4b7[_0x1253('0x124')])?_0xbae79a:_0x55c4b7[_0x1253('0x124')],_0x17388b=_0x17388b[_0x1253('0x7a')](_0x55c4b7[_0x1253('0xe6')])?_0x17388b:_0x55c4b7['end'],_0x237116?_0x55c4b7['start'][_0x1253('0x4b')](_0x237116[_0x1253('0x11b')]()[_0x1253('0x124')])?(_0x237116[_0x1253('0x169')](),_0x237116=_0x4beb3d):_0x4beb3d[_0x1253('0x169')]():_0x237116=_0x4beb3d;}else{const _0x59fa94=_0x2a9a21[_0x1253('0x110')](_0x55c4b7);this['_cutOutSuggestionMarker'](_0x4beb3d,_0x59fa94);}}const _0xb0f16f=this[_0x1253('0x129')]['plugins']['get'](_0x1253('0x9e'))['me'],_0x3c2093=_0x24f0b9(),_0x42fe4f=_0xb0f16f['id'];if(_0x237116)return this['_setSuggestionRange'](_0x237116,this[_0x1253('0x4f')][_0x1253('0x41')](_0xbae79a,_0x17388b)),_0x237116;{const _0x2bba09=this['_setSuggestionData']({'id':_0x3c2093,'type':_0x1253('0x33')+_0x591e1b,'data':_0x1d8469,'createdAt':new Date(),'authorId':_0x42fe4f,'attributes':_0x108156});return this[_0x1253('0x11d')](_0x1253('0x33')+_0x591e1b,_0x3c2093,_0x42fe4f,this[_0x1253('0x4f')][_0x1253('0x41')](_0xbae79a,_0x17388b)),_0x2bba09;}}['markMultiRangeBlockFormat'](_0x30de0a,_0x2a90bc,_0x55de58=[],_0x225d03=null,_0x507c43={}){_0x2a90bc[_0x1253('0x136')]||(_0x2a90bc['formatGroupId']=_0x2a90bc[_0x1253('0x75')]);const _0x240f7d=_0x30de0a[0x0];_0x2a90bc[_0x1253('0x9d')]=_0x240f7d['is'](_0x1253('0x118')),_0x225d03=_0x225d03||Et(_0x2a90bc);const _0x1f6920=_0x55de58[_0x1253('0x17d')](_0x513bdd=>Ot(_0x513bdd,this[_0x1253('0x4f')])),_0x82f685=_0x240f7d['is'](_0x1253('0x118'))?_0x30de0a:_0x30de0a[_0x1253('0x17d')](_0x8128e5=>Ot(_0x8128e5,this['_model']));if(_0x1253('0x179')===this[_0x1253('0x8c')]){const _0x534141=this['_suggestionFactory'][_0x1253('0x119')](_0x1253('0x120'),_0x225d03,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x534141(_0x82f685,_0x2a90bc,_0x507c43)),null;}_0x1f6920[_0x1253('0x172')](..._0x82f685);let _0x34ced9=!0x0;for(const _0x3b60a0 of _0x1f6920)if(!this[_0x1253('0xf9')](_0x3b60a0)){_0x34ced9=!0x1;break;}if(_0x34ced9&&_0x1253('0xf7')!==this[_0x1253('0x8c')]){const _0x46bf88=this[_0x1253('0xaa')][_0x1253('0x119')]('formatBlock',_0x225d03,'accept');return this[_0x1253('0x48')](()=>_0x46bf88(_0x82f685,_0x2a90bc,_0x507c43)),null;}const _0xcb3b70=this[_0x1253('0x129')][_0x1253('0xb6')]['get']('Users')['me'];for(const _0x95922c of this[_0x1253('0x4e')]()){if(_0x95922c[_0x1253('0x23')]['id']!=_0xcb3b70['id'])continue;if(_0x1253('0x120')!=_0x95922c[_0x1253('0x10b')]||_0x95922c[_0x1253('0xda')]['formatGroupId']!=_0x2a90bc[_0x1253('0x136')])continue;if(!Pt(_0x95922c,_0x507c43))continue;const _0x25f9ad=_0x95922c[_0x1253('0xef')]==_0x225d03;for(let _0x1823f5=0x0;_0x1823f5<_0x82f685[_0x1253('0xa')];_0x1823f5++){const _0x5b51ef=_0x82f685[_0x1823f5];for(const _0x450ceb of _0x95922c[_0x1253('0xe0')]()){const _0x51ca19=_0x450ceb[_0x1253('0x5')]();if(_0x5b51ef[_0x1253('0x30')](_0x51ca19)){_0x25f9ad?(_0x82f685['splice'](_0x1823f5,0x1),_0x1823f5--):_0x95922c['removeMarker'](_0x450ceb[_0x1253('0x11e')]);break;}}}}if(0x0==_0x82f685[_0x1253('0xa')])return null;const _0x197d0d=this['_suggestionFactory']['getSuggestionCallback'](_0x1253('0x120'),_0x225d03,_0x1253('0xc9'));for(const _0x4041d7 of this['getSuggestions']())if(_0x4041d7[_0x1253('0x23')]['id']==_0xcb3b70['id']&&'formatBlock'==_0x4041d7['type']&&_0x4041d7[_0x1253('0xda')][_0x1253('0x136')]==_0x2a90bc[_0x1253('0x136')]&&_0x4041d7[_0x1253('0xef')]==_0x225d03&&Pt(_0x4041d7,_0x507c43)&&(_0x197d0d(_0x4041d7[_0x1253('0xc0')](),_0x82f685)||_0x197d0d(_0x82f685,_0x4041d7['getRanges']()))){for(const _0xe8108f of _0x82f685)_0x4041d7[_0x1253('0x88')](_0xe8108f);return _0x4041d7;}const _0x36a8a4=_0x24f0b9(),_0xc15039=_0xcb3b70['id'],_0x1257ba=_0x1253('0x33')+_0x225d03,_0x26d9ba=this[_0x1253('0xc6')]({'id':_0x36a8a4,'type':_0x1257ba,'data':_0x2a90bc,'createdAt':new Date(),'authorId':_0xc15039,'attributes':_0x507c43});for(const _0x16e54a of _0x82f685)this['_addSuggestionMarker'](_0x1257ba,_0x36a8a4,_0xc15039,_0x16e54a,_0x51a20f[_0x1253('0x21')]());return _0x26d9ba;}[_0x1253('0x104')](_0x45e0e4,_0x2adddb=null,_0x1431c2={}){if(_0x45e0e4[_0x1253('0xf4')])return null;const _0x1371e4=this['editor'][_0x1253('0xb6')][_0x1253('0x14b')]('Users')['me'],_0x1acafe=new _0x2b8581(_0x45e0e4[_0x1253('0x124')],_0x45e0e4[_0x1253('0xe6')]);for(const {suggestion:_0x5dc33e,meta:_0x20155e}of this[_0x1253('0xe2')](_0x1acafe,'insertion'))if(_0x20155e[_0x1253('0xa5')]&&!_0x20155e[_0x1253('0xbd')]){if(_0x5dc33e['isMultiRange']){const _0x3e8e83=_0x5dc33e['getRanges']()[_0x1253('0x16e')](_0x14fec0=>_0x1253('0x163')!=_0x14fec0['root']['rootName']);_0x3e8e83[_0x1253('0x43')](_0x4c9031=>_0x1acafe[_0x1253('0x14f')](_0x4c9031,!0x0))&&_0x5dc33e['discard']();if(_0x3e8e83[_0x1253('0x1d')](_0x778d=>_0x778d[_0x1253('0x14f')](_0x1acafe,!0x0))){const _0x33d2dd=this[_0x1253('0xaa')][_0x1253('0x119')]('deletion',_0x2adddb,'accept');return this[_0x1253('0x48')](()=>_0x33d2dd([_0x1acafe],null,_0x1431c2)),null;}}else{const _0x5ad409=_0x1acafe[_0x1253('0x110')](_0x5dc33e[_0x1253('0x11b')]());null!==_0x5ad409&&_0x5dc33e[_0x1253('0x90')]([_0x5ad409],null,_0x1431c2);}}if(_0x1acafe[_0x1253('0x98')](),_0x1acafe[_0x1253('0xf4')]||_0x1253('0x163')==_0x1acafe[_0x1253('0xf0')][_0x1253('0x8f')])return null;let _0x53743a=null,_0x293003=_0x1acafe[_0x1253('0x124')],_0x1a0879=_0x1acafe[_0x1253('0xe6')];const _0x43afad=this[_0x1253('0xe2')](_0x1acafe,'deletion');for(const {suggestion:_0x35252e,meta:_0x1d8a42}of _0x43afad){const _0x24f1dc=this[_0x1253('0x4f')][_0x1253('0x41')](_0x293003,_0x1a0879);if(_0x1d8a42[_0x1253('0xa5')]&&(this[_0x1253('0xea')]||!_0x1d8a42[_0x1253('0xc1')]&&!_0x1d8a42[_0x1253('0x6a')])){if(_0x35252e[_0x1253('0x171')]){if(!Pt(_0x35252e,_0x1431c2))continue;let _0x2301dc=!0x0;for(const _0x54569e of _0x35252e['getRanges']()){if(_0x54569e[_0x1253('0x14f')](_0x24f1dc,!0x0))return _0x35252e;_0x24f1dc['containsRange'](_0x54569e)||(_0x2301dc=!0x1);}_0x2301dc&&_0x35252e[_0x1253('0x0')]();}else{const _0x3ad7d1=_0x35252e[_0x1253('0x11b')]();if(_0x3ad7d1[_0x1253('0x14f')](_0x24f1dc,!0x0))return _0x35252e;if(!Pt(_0x35252e,_0x1431c2)){_0x24f1dc[_0x1253('0x14f')](_0x3ad7d1)?_0x35252e[_0x1253('0x169')]():_0x3ad7d1[_0x1253('0x162')](_0x293003)?_0x293003=_0x3ad7d1[_0x1253('0xe6')]:_0x3ad7d1[_0x1253('0x162')](_0x1a0879)&&(_0x1a0879=_0x3ad7d1[_0x1253('0x124')]);continue;}_0x293003=_0x293003[_0x1253('0x4b')](_0x3ad7d1[_0x1253('0x124')])?_0x293003:_0x3ad7d1['start'],_0x1a0879=_0x1a0879[_0x1253('0x7a')](_0x3ad7d1[_0x1253('0xe6')])?_0x1a0879:_0x3ad7d1[_0x1253('0xe6')],_0x1431c2=Object[_0x1253('0x2e')]({},_0x35252e['attributes']),_0x53743a?_0x3ad7d1[_0x1253('0x124')]['isBefore'](_0x53743a[_0x1253('0x11b')]()[_0x1253('0x124')])?(_0x53743a[_0x1253('0x169')](),_0x53743a=_0x35252e):_0x35252e[_0x1253('0x169')]():_0x53743a=_0x35252e;}}}if(_0x53743a)return this[_0x1253('0x1f')](_0x53743a,this[_0x1253('0x4f')][_0x1253('0x41')](_0x293003,_0x1a0879)),_0x53743a;{const _0x53d5dc=_0x24f0b9(),_0x417e23=this[_0x1253('0x4f')][_0x1253('0x41')](_0x293003,_0x1a0879),_0x4bcb59=_0x1371e4['id'],_0x174072=_0x2adddb?_0x1253('0x97')+_0x2adddb:_0x1253('0x1e'),_0x470ac7=this[_0x1253('0xc6')]({'id':_0x53d5dc,'type':_0x174072,'createdAt':new Date(),'authorId':_0x4bcb59,'attributes':_0x1431c2});return this[_0x1253('0x11d')](_0x174072,_0x53d5dc,_0x4bcb59,_0x417e23),_0x470ac7;}}[_0x1253('0x27')](_0x33ca7b,_0xa5d077=_0x1253('0x47'),_0x1fe653={}){const _0xb303d3=this[_0x1253('0x129')][_0x1253('0xb6')]['get'](_0x1253('0x9e'))['me'],_0x52f20f=_0x33ca7b['map'](_0xba7235=>new _0x2b8581(_0xba7235[_0x1253('0x124')],_0xba7235[_0x1253('0xe6')])),_0x4d4b62=new Set();for(const {suggestion:_0x39074a,meta:_0x25752d}of this[_0x1253('0xe2')](_0x52f20f,_0x1253('0xe1')))_0x25752d[_0x1253('0xa5')]&&!_0x25752d[_0x1253('0xbd')]&&_0x4d4b62[_0x1253('0x16b')](_0x39074a);for(const _0x544283 of _0x4d4b62)if(_0x544283[_0x1253('0x171')]){const _0x453127=_0x544283[_0x1253('0xc0')]();(!_0x544283[_0x1253('0x15')]||!_0x544283[_0x1253('0x15')]['skipNestingCheck'])&&(_0x453127[_0x1253('0x43')](_0xe3f35a=>_0x52f20f[_0x1253('0x1d')](_0x4b50d4=>_0x4b50d4[_0x1253('0x14f')](_0xe3f35a,!0x0)))&&_0x544283[_0x1253('0x0')]());if(_0x52f20f['every'](_0x134b38=>_0x453127[_0x1253('0x1d')](_0x192e87=>_0x192e87[_0x1253('0x14f')](_0x134b38,!0x0)))){const _0x4168ba=this[_0x1253('0xaa')][_0x1253('0x119')](_0x1253('0x1e'),_0xa5d077,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x4168ba(_0x33ca7b,null,_0x1fe653)),null;}}else{const _0x119103=_0x544283['getFirstRange']();_0x52f20f[_0x1253('0x1d')](_0x23a458=>_0x23a458[_0x1253('0x14f')](_0x119103,!0x0))&&_0x544283[_0x1253('0x0')]();if(_0x52f20f[_0x1253('0x43')](_0x19005e=>_0x119103[_0x1253('0x14f')](_0x19005e,!0x0))){const _0x518e51=this[_0x1253('0xaa')]['getSuggestionCallback'](_0x1253('0x1e'),_0xa5d077,_0x1253('0xb3'));return this[_0x1253('0x48')](()=>_0x518e51(_0x52f20f,null,_0x1fe653)),null;}}const _0xe2942c=this[_0x1253('0xaa')][_0x1253('0x119')]('deletion',_0xa5d077,_0x1253('0xc9'));let _0x334f11=null;for(const _0x391884 of this[_0x1253('0x4e')]())if(_0x391884[_0x1253('0x23')]['id']==_0xb303d3['id']&&_0x391884[_0x1253('0xb2')]&&_0x1253('0x1e')==_0x391884['type']&&_0x391884[_0x1253('0xef')]==_0xa5d077&&Pt(_0x391884,_0x1fe653)&&(_0xe2942c(_0x391884[_0x1253('0xc0')](),_0x52f20f)||_0xe2942c(_0x52f20f,_0x391884[_0x1253('0xc0')]()))){if(_0x334f11){if(_0x391884[_0x1253('0xcc')]&&_0x391884['commentThread'][_0x1253('0xa')])continue;for(const _0x5df17d of _0x391884[_0x1253('0xc0')]())_0x334f11[_0x1253('0x89')](_0x5df17d)||_0x334f11[_0x1253('0x88')](_0x5df17d);_0x391884['removeMarkers']();}else{_0x334f11=_0x391884;for(const _0x129e4f of _0x52f20f)_0x391884['isIntersectingWithRange'](_0x129e4f)||_0x391884['addRange'](_0x129e4f);}}if(_0x334f11)return _0x334f11;_0x4d4b62['clear']();for(const {suggestion:_0x161315,meta:_0x544fe3}of this[_0x1253('0xe2')](_0x52f20f,_0x1253('0x1e')))_0x544fe3[_0x1253('0xa5')]&&(this[_0x1253('0xea')]||!_0x544fe3[_0x1253('0xc1')]&&!_0x544fe3[_0x1253('0x6a')])&&Pt(_0x161315,_0x1fe653)&&_0x4d4b62[_0x1253('0x16b')](_0x161315);for(const _0x1320f6 of _0x4d4b62){const _0x54aeec=_0x1320f6[_0x1253('0xc0')]();if(!_0x1fe653||!_0x1fe653[_0x1253('0x122')]){if(_0x52f20f[_0x1253('0x43')](_0x7b6d43=>_0x54aeec[_0x1253('0x1d')](_0x4752e5=>_0x4752e5[_0x1253('0x14f')](_0x7b6d43,!0x0))))return _0x1320f6;}(!_0x1320f6[_0x1253('0x15')]||!_0x1320f6[_0x1253('0x15')][_0x1253('0x122')])&&(_0x54aeec[_0x1253('0x43')](_0x40af8c=>_0x52f20f[_0x1253('0x1d')](_0x56a7de=>_0x56a7de['containsRange'](_0x40af8c,!0x0)))&&_0x1320f6[_0x1253('0x0')]());}const _0x6b215a=_0x24f0b9(),_0x5b5c98=_0xb303d3['id'],_0x1946e2=_0x1253('0x97')+_0xa5d077,_0x3400cf=this[_0x1253('0xc6')]({'id':_0x6b215a,'type':_0x1946e2,'createdAt':new Date(),'authorId':_0x5b5c98,'attributes':_0x1fe653});for(const _0x252930 of _0x52f20f)_0x252930[_0x1253('0x98')](),_0x252930[_0x1253('0xf4')]||_0x1253('0x163')==_0x252930['root']['rootName']||this[_0x1253('0x11d')](_0x1946e2,_0x6b215a,_0x5b5c98,_0x252930,_0x51a20f[_0x1253('0x21')]());return _0x3400cf;}[_0x1253('0x15e')](_0x345a46,_0x5d0516,_0x2ca024,_0x1c268a,_0x2d327d){if(_0x345a46['isCollapsed'])return[];if(_0x1253('0x179')===this[_0x1253('0x8c')])return[];const _0x18e224=this['editor'][_0x1253('0xb6')]['get'](_0x1253('0x9e'))['me']['id'],_0x29ce16=Array[_0x1253('0xe3')](this[_0x1253('0xc2')]['values']())[_0x1253('0x16e')](_0x55df51=>'attribute'==_0x55df51[_0x1253('0x10b')]&&_0x55df51[_0x1253('0xda')]['key']==_0x5d0516&&_0x55df51['isIntersectingWithRange'](_0x345a46));if(_0x1253('0x167')===this[_0x1253('0x8c')]){const _0x45471e=this[_0x1253('0xe2')](_0x345a46,_0x1253('0xe1'))[_0x1253('0x16e')](({meta:_0x468a49})=>_0x468a49[_0x1253('0xa5')]&&!_0x468a49['isInsideObject']&&!_0x468a49[_0x1253('0xbd')])[_0x1253('0x17d')](({suggestion:_0x408a02})=>_0x408a02);_0x29ce16[_0x1253('0x1c')](..._0x45471e);}const _0x3aa7d4=new Map([[_0x345a46,_0x2ca024]]);for(const _0x33e333 of _0x29ce16){const _0x2b479e=_0x1253('0x79')==_0x33e333[_0x1253('0x10b')]?_0x33e333[_0x1253('0xda')]['oldValue']:void 0x0,_0x848c74=_0x33e333[_0x1253('0x11b')](),_0x26b302=Array['from'](_0x3aa7d4[_0x1253('0xbc')]())[_0x1253('0x6f')](_0x51bd2c=>_0x51bd2c[_0x1253('0xd7')](_0x848c74));if(!_0x26b302)continue;const _0x1265ad=_0x26b302[_0x1253('0xa4')](_0x848c74);this[_0x1253('0x17')](_0x5d0516)&&_0x1253('0xe1')==_0x33e333[_0x1253('0x10b')]&&0x0!=_0x1265ad['length']||(_0x3aa7d4[_0x1253('0xc3')](_0x26b302),_0x1265ad[_0x1253('0x78')](_0x303e76=>{_0x3aa7d4[_0x1253('0xd1')](_0x303e76,_0x2ca024);}),_0x1253('0xe1')!=_0x33e333[_0x1253('0x10b')]&&_0x2b479e!=_0x1c268a&&_0x3aa7d4[_0x1253('0xd1')](_0x26b302[_0x1253('0x110')](_0x848c74),_0x2b479e));}const _0x4b80a7=[];for(const [_0x40504a,_0x223b89]of _0x3aa7d4){const _0x20f6e8=_0x24f0b9(),_0x55cbcd={'key':_0x5d0516,'oldValue':_0x223b89,'newValue':_0x1c268a};_0x5d0516[_0x1253('0xa')]>0x25&&console[_0x1253('0x2f')](_0x1253('0xc8'),{'key':_0x5d0516});const _0x2d57f0=(_0x1253('0x7d')+(_0x5d0516+'|'+Et({'newValue':_0x1c268a})))[_0x1253('0xcf')](0x0,0x3c),_0x3f94c3=this['_setSuggestionData']({'id':_0x20f6e8,'type':_0x2d57f0,'data':_0x55cbcd,'createdAt':new Date(),'authorId':_0x18e224,'attributes':_0x2d327d});_0x4b80a7['push'](_0x3f94c3),this['_addSuggestionMarker'](_0x2d57f0,_0x20f6e8,_0x18e224,_0x40504a);}return _0x4b80a7;}[_0x1253('0x8b')](_0x10f4a3){this[_0x1253('0x9a')][_0x1253('0x16b')](_0x10f4a3);}[_0x1253('0x13d')](_0x50c41c){this[_0x1253('0x138')][_0x1253('0x16b')](_0x50c41c);}[_0x1253('0x14d')](_0x55ff3b,_0x42d93b=[],_0x123130=[]){this[_0x1253('0x109')](_0x55ff3b,(_0x253569,..._0x2a8447)=>{this[_0x1253('0x135')](()=>{_0x253569(..._0x2a8447);});});for(const _0xc9d8c8 of _0x42d93b)this[_0x1253('0x13d')](_0xc9d8c8);for(const _0xcfcda0 of _0x123130)this[_0x1253('0x8b')](_0xcfcda0);}[_0x1253('0x6d')](_0x284493){return _0x1253('0x79')==_0x284493[_0x1253('0x10b')]?_0x284493[_0x1253('0xef')][_0x1253('0x85')]('|')[0x0]:null;}[_0x1253('0x1f')](_0x1a1717,_0x476d75){const _0x4b9d64=_0x1a1717[_0x1253('0xee')]();this[_0x1253('0x4f')]['change'](_0x3da60f=>{_0x3da60f[_0x1253('0x6')](_0x4b9d64,{'range':_0x476d75});});}[_0x1253('0x14e')](_0x54d1d7){const _0x3274ae=_0x54d1d7['id'],_0x7d1cfd=this[_0x1253('0x129')]['config'][_0x1253('0x14b')](_0x1253('0x12'));this[_0x1253('0x11a')]['hasCommentThread'](_0x3274ae)||this[_0x1253('0x11a')][_0x1253('0x60')]({'channelId':_0x7d1cfd,'threadId':_0x3274ae,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5b9c8e=this['_commentsRepository'][_0x1253('0x7e')](_0x3274ae);_0x5b9c8e[_0x1253('0xb0')](_0x1253('0x50')),_0x5b9c8e[_0x1253('0x50')]=!0x1,_0x54d1d7[_0x1253('0xcc')]=_0x5b9c8e;}[_0x1253('0xd3')](_0x471d19,_0x3ddaba,_0x30dda1,_0x3718a5){if(_0x471d19[_0x1253('0x10b')]!=_0x3ddaba||_0x471d19[_0x1253('0xef')]!=_0x30dda1||_0x471d19[_0x1253('0xb8')]['id']!=_0x3718a5)throw this[_0x1253('0x129')][_0x1253('0x108')]('track-changes-suggestion-data-mismatch'),new _0xbf5b48('track-changes-suggestion-data-mismatch',this);}[_0x1253('0x18')](_0x519fef,_0xef830f){const _0x20e542=_0x519fef[_0x1253('0x11b')]();if(_0xef830f[_0x1253('0x30')](_0x20e542))_0x519fef[_0x1253('0x169')]();else{if(_0x20e542['containsRange'](_0xef830f)){const _0x1e46b0=this[_0x1253('0x4f')][_0x1253('0x61')](_0xef830f[_0x1253('0x124')][_0x1253('0x77')],_0x1253('0xe6'));this[_0x1253('0x1f')](_0x519fef,this['_model'][_0x1253('0x41')](_0x20e542[_0x1253('0x124')],_0x1e46b0));const _0x1dccc6=_0x24f0b9(),_0xd9199c=_0x519fef['creator']['id'],_0x5c49df=_0x519fef[_0x1253('0x10b')]+':'+_0x519fef['subType'];this['_setSuggestionData']({'id':_0x1dccc6,'type':_0x5c49df,'createdAt':new Date(),'authorId':_0xd9199c,'data':_0x519fef['data'],'attributes':_0x519fef[_0x1253('0x15')]});const _0x166ae9=this['_model'][_0x1253('0x61')](_0xef830f[_0x1253('0xe6')][_0x1253('0x66')],'after'),_0x1fec07=this[_0x1253('0x4f')][_0x1253('0x41')](_0x166ae9,_0x20e542[_0x1253('0xe6')]);this[_0x1253('0x11d')](_0x5c49df,_0x1dccc6,_0xd9199c,_0x1fec07);}else{if(_0x20e542[_0x1253('0x162')](_0xef830f[_0x1253('0x124')])){const _0x1ee07b=this[_0x1253('0x4f')][_0x1253('0x61')](_0xef830f[_0x1253('0x124')]['nodeBefore'],_0x1253('0xe6'));this['_setSuggestionRange'](_0x519fef,this[_0x1253('0x4f')][_0x1253('0x41')](_0x20e542[_0x1253('0x124')],_0x1ee07b));}else{const _0x14bb34=this['_model']['createPositionAt'](_0xef830f['end'][_0x1253('0x66')],_0x1253('0xbb'));this[_0x1253('0x1f')](_0x519fef,this[_0x1253('0x4f')][_0x1253('0x41')](_0x14bb34,_0x20e542[_0x1253('0xe6')]));}}}}[_0x1253('0xf9')](_0x5ae20c){for(const {suggestion:_0x1f1fd8,meta:_0x160b93}of this['_findSuggestions'](_0x5ae20c,_0x1253('0xe1'))){if(!_0x160b93['isOwn'])continue;const _0x340528=_0x1f1fd8[_0x1253('0xc0')]();for(const _0x460c96 of _0x340528)if(!_0x5ae20c[_0x1253('0xa4')](_0x460c96)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x3c2f81){const _0x1317ae=this[_0x1253('0x129')][_0x1253('0xb6')][_0x1253('0x14b')](_0x1253('0x9e'))['getUser'](_0x3c2f81);if(!_0x1317ae)throw new _0xbf5b48('track-changes-user-not-found',this);return _0x1317ae;}[_0x1253('0x149')](_0x46c54d){const _0x2ef547=this[_0x1253('0x129')][_0x1253('0xb6')]['get']('Users'),_0x4d0c27=_0x2f97ee(_0x1253('0xd0')+_0x46c54d),_0x5a2371=_0x2ef547[_0x1253('0x127')](_0x4d0c27);return _0x5a2371||_0x2ef547[_0x1253('0x14c')]({'id':_0x4d0c27,'name':_0x46c54d});}[_0x1253('0xd2')](_0x5990bf,_0x52cc09,_0x4a1582,_0x2197ce,_0x2d244a){const _0x1c6cf4=this['_getAuthorFromId'](_0x2197ce),_0xca8c9c=this[_0x1253('0xaa')][_0x1253('0x92')](_0x5990bf,_0x52cc09,_0x4a1582,_0x1c6cf4,_0x2d244a,_0x46fe76=>{this['_updateSuggestionData'](_0x4a1582,{'attributes':_0x46fe76});const _0x1f5edc=this[_0x1253('0x10f')](_0x4a1582);this[_0x1253('0x141')](new Set([_0x1f5edc])),this[_0x1253('0x15c')](new Set([_0x1f5edc]));});return this[_0x1253('0xde')](_0xca8c9c,_0x1253('0xb3'),()=>{this[_0x1253('0x12a')](_0x4a1582,{'state':_0x1253('0x72')});},{'priority':_0x1253('0xb4')}),this[_0x1253('0xde')](_0xca8c9c,_0x1253('0x0'),()=>{this[_0x1253('0x12a')](_0x4a1582,{'state':_0x1253('0x116')});},{'priority':_0x1253('0xb4')}),this[_0x1253('0xc2')][_0x1253('0xd1')](_0x4a1582,_0xca8c9c),this['_suggestionState'][_0x1253('0xd1')](_0xca8c9c,'notReady'),_0xca8c9c;}[_0x1253('0x45')](_0x1059d7){const _0x18c604=_0x1059d7[_0x1253('0x85')](':');return{'group':_0x18c604[0x0],'type':_0x18c604[0x1],'subType':_0x18c604['length']>=0x5?_0x18c604[0x2]:null,'id':_0x18c604[_0x1253('0xa')]<0x5?_0x18c604[0x2]:_0x18c604[0x3],'authorId':_0x18c604['length']<0x5?_0x18c604[0x3]:_0x18c604[0x4],'markerCount':0x6==_0x18c604['length']?_0x18c604[0x5]:null};}[_0x1253('0xca')](_0x36b50c,_0x316b2a,_0x6a3080){const _0x233e08=_0x36b50c[_0x1253('0x11b')](),_0x11df0f=_0x233e08['start'],_0x3ff787=_0x233e08[_0x1253('0xe6')];this[_0x1253('0x1f')](_0x36b50c,this[_0x1253('0x4f')][_0x1253('0x41')](_0x11df0f,_0x316b2a));const _0x26d2cb=_0x24f0b9(),_0x2c5235=_0x36b50c[_0x1253('0xb8')]['id'],_0x3ba148=_0x36b50c[_0x1253('0x10b')]+(_0x36b50c[_0x1253('0xef')]?':'+_0x36b50c[_0x1253('0xef')]:'');this['_setSuggestionData']({'id':_0x26d2cb,'type':_0x3ba148,'createdAt':new Date(),'authorId':_0x2c5235,'originalSuggestionId':_0x36b50c['id'],'attributes':_0x36b50c['attributes'],'data':_0x36b50c[_0x1253('0xda')]});const _0x1dca7f=this['_getAttributeKey'](_0x36b50c);(_0x1253('0x120')==_0x36b50c[_0x1253('0x10b')]||_0x1dca7f&&this[_0x1253('0x17')](_0x1dca7f))&&(_0x6a3080=this['_model'][_0x1253('0x143')](_0x6a3080['parent'])),this[_0x1253('0x11d')](_0x3ba148,_0x26d2cb,_0x2c5235,this[_0x1253('0x4f')][_0x1253('0x41')](_0x6a3080,_0x3ff787));}['_findSuggestions'](_0x2deeed,_0x5d38cc=null){const _0x1c428a=[],_0x24f493=this[_0x1253('0x129')][_0x1253('0xb6')][_0x1253('0x14b')](_0x1253('0x9e'))['me'];Array[_0x1253('0x113')](_0x2deeed)||(_0x2deeed=[_0x2deeed]);for(const _0x4c08ae of this['getSuggestions']()){if(!_0x4c08ae[_0x1253('0xb2')])continue;if(_0x5d38cc&&_0x4c08ae[_0x1253('0x10b')]!=_0x5d38cc)continue;let _0x1619e7=!0x1;for(const _0x252fa6 of _0x4c08ae[_0x1253('0xc0')]()){for(const _0x50fa2a of _0x2deeed){const _0x437803=_0x50fa2a['start'][_0x1253('0x30')](_0x252fa6[_0x1253('0xe6')])||_0x50fa2a[_0x1253('0xe6')][_0x1253('0x30')](_0x252fa6['start']);if(_0x437803||_0x50fa2a['getIntersection'](_0x252fa6)){const _0x1afe1c=_0x50fa2a[_0x1253('0x14f')](_0x252fa6)&&xt(this[_0x1253('0x4f')][_0x1253('0x157')],_0x252fa6['start'],_0x50fa2a),_0x47bd8c=_0x252fa6[_0x1253('0x14f')](_0x50fa2a)&&xt(this[_0x1253('0x4f')]['schema'],_0x50fa2a[_0x1253('0x124')],_0x252fa6);_0x1c428a['push']({'suggestion':_0x4c08ae,'meta':{'isOwn':_0x24f493==_0x4c08ae[_0x1253('0x23')],'isNextTo':_0x437803,'isInsideObject':_0x1afe1c,'containsRangeInObject':_0x47bd8c}}),_0x1619e7=!0x0;break;}}if(_0x1619e7)break;}}return _0x1c428a;}[_0x1253('0x11d')](_0x1c4950,_0x31959,_0x4a3c59,_0x548d25,_0x4cc777){this[_0x1253('0x4f')]['change'](_0x5bf4ec=>{let _0x28cb49=_0x1253('0x3a')+_0x1c4950+':'+_0x31959+':'+_0x4a3c59;_0x4cc777&&(_0x28cb49=_0x28cb49+':'+_0x4cc777),_0x5bf4ec[_0x1253('0x68')](_0x28cb49,{'range':_0x548d25,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x1a1342){const _0x3b00a5=_0x1a1342[_0x1253('0x175')],_0x5449f4=_0x1a1342[_0x1253('0xb1')];_0x1a1342['previous']=null,_0x1a1342[_0x1253('0xb1')]=null,null!=_0x3b00a5&&_0x3b00a5[_0x1253('0xb1')]==_0x1a1342&&(_0x3b00a5[_0x1253('0xb1')]=_0x5449f4),null!=_0x5449f4&&_0x5449f4[_0x1253('0x175')]==_0x1a1342&&(_0x5449f4[_0x1253('0x175')]=_0x3b00a5),_0x1253('0x125')==this[_0x1253('0x94')]['get'](_0x1a1342)&&(this[_0x1253('0x94')][_0x1253('0xd1')](_0x1a1342,_0x1253('0x154')),this[_0x1253('0x13e')](_0x1253('0xfc'),_0x1a1342,_0x3b00a5,_0x5449f4));}[_0x1253('0xc6')](_0x3395b1){const _0x164b05=_0x3395b1['id'],_0x511c49=this[_0x1253('0x22')](_0x3395b1);if(this[_0x1253('0xc')]&&this[_0x1253('0xc')][_0x1253('0x54')]){const _0x3d9bb0=this[_0x1253('0x129')]['plugins'][_0x1253('0x14b')]('PendingActions'),_0x25ac0b=_0x511c49[_0x1253('0xd9')],_0x2ff418=_0x511c49['subType']?_0x511c49[_0x1253('0x10b')]+':'+_0x511c49['subType']:_0x511c49[_0x1253('0x10b')],_0x50a44e=this[_0x1253('0x129')]['locale'],_0x195cfc=_0x3d9bb0[_0x1253('0x16b')](_0x57e208(_0x50a44e,_0x1253('0x137'))),_0x42c13f={'id':_0x164b05,'type':_0x2ff418,'hasComments':_0x25ac0b,'data':_0x3395b1[_0x1253('0xda')]||null,'originalSuggestionId':_0x3395b1['originalSuggestionId']||null,'attributes':_0x511c49[_0x1253('0x15')]};this[_0x1253('0xc')][_0x1253('0x54')](_0x42c13f)['then'](_0x14c290=>{_0x511c49['_saved']=!0x0,_0x3d9bb0[_0x1253('0x5f')](_0x195cfc),_0x14c290&&_0x14c290['createdAt']&&(this[_0x1253('0xc2')]['get'](_0x164b05)[_0x1253('0x5c')]=_0x14c290[_0x1253('0x5c')]);})[_0x1253('0xfa')](_0x1c37cb=>{throw _0x26c489(_0x1253('0x26')),this['editor'][_0x1253('0x5a')][_0x1253('0x10c')]({'isUndoable':!0x1},()=>{_0x511c49[_0x1253('0x0')]();}),_0x511c49[_0x1253('0x13')](),this[_0x1253('0xc2')]['delete'](_0x511c49['id']),this[_0x1253('0x94')][_0x1253('0xc3')](_0x511c49),_0x1c37cb;});}return _0x511c49;}['_isBlockAttribute'](_0xbe98fb){return this['_blockAttributeKeys'][_0x1253('0x2b')](_0xbe98fb);}[_0x1253('0x12a')](_0x44d293,_0x30314c){const _0xe7233e=this[_0x1253('0x129')]['plugins']['get'](_0x1253('0x10')),_0x15f8ec=this[_0x1253('0x10f')](_0x44d293);if(this[_0x1253('0xc')]&&this[_0x1253('0xc')]['updateSuggestion']){if(_0x15f8ec[_0x1253('0x58')]){const _0x514803=_0xe7233e[_0x1253('0x16b')](_0x57e208(this[_0x1253('0x129')]['locale'],_0x1253('0x137')));this[_0x1253('0xc')][_0x1253('0xe7')](_0x44d293,_0x30314c)[_0x1253('0x24')](()=>{_0xe7233e[_0x1253('0x5f')](_0x514803);});}else _0x15f8ec['on'](_0x1253('0x32'),()=>{this[_0x1253('0x12a')](_0x44d293,_0x30314c);});}}['_getSuggestionData'](_0x120d6c){if(!this[_0x1253('0xc')]||!this[_0x1253('0xc')]['getSuggestion'])throw new _0xbf5b48(_0x1253('0x15b'),this);return this[_0x1253('0xc')][_0x1253('0x10f')](_0x120d6c);}[_0x1253('0x95')](_0x4cbbdd){const {id:_0x594826,type:_0x203cdc,subType:_0x484959,authorId:_0xcd7110}=this['_splitMarkerName'](_0x4cbbdd),_0xaf929=this[_0x1253('0xc2')][_0x1253('0x14b')](_0x594826)||this[_0x1253('0xd2')](_0x203cdc,_0x484959,_0x594826,_0xcd7110,{});switch(this['_checkSuggestionCorrectness'](_0xaf929,_0x203cdc,_0x484959,_0xcd7110),this['_suggestionState'][_0x1253('0x14b')](_0xaf929)){case _0x1253('0x166'):this[_0x1253('0x13c')](_0x594826)[_0x1253('0x24')](_0x262aad=>{let _0x5a1290=Promise[_0x1253('0xab')]();_0x262aad[_0x1253('0xd9')]&&(_0x5a1290=this[_0x1253('0x11a')][_0x1253('0x103')]({'channelId':this[_0x1253('0x129')][_0x1253('0x12f')][_0x1253('0x14b')](_0x1253('0x12')),'threadId':_0x594826})),_0x5a1290[_0x1253('0x24')](()=>{this[_0x1253('0x22')](_0x262aad)[_0x1253('0x58')]=!0x0;});}),this[_0x1253('0x94')][_0x1253('0xd1')](_0xaf929,_0x1253('0x35'));break;case _0x1253('0x154'):this[_0x1253('0x12a')](_0x594826,{'state':_0x1253('0xc4')});case _0x1253('0xf2'):this[_0x1253('0x94')][_0x1253('0xd1')](_0xaf929,_0x1253('0x125')),this[_0x1253('0x13e')](_0x1253('0xdf'),_0xaf929);break;case'ready':this['fire'](_0x1253('0xb5'),_0xaf929);}return _0xaf929[_0x1253('0x164')](_0x4cbbdd),_0xaf929;}[_0x1253('0x15c')](_0x19156e){const _0x4247d1=Array[_0x1253('0xe3')](_0x19156e),_0x318881=_0x4247d1[_0x1253('0x16e')](_0x136607=>_0x1253('0x79')==_0x136607[_0x1253('0x10b')]);this[_0x1253('0x134')](_0x318881);const _0x3a33c6=_0x4247d1['filter'](_0x51c2d6=>!_0x51c2d6[_0x1253('0x171')]&&_0x1253('0x79')!=_0x51c2d6[_0x1253('0x10b')]),_0x3932f1=this[_0x1253('0x4e')]({'skipNotAttached':!0x0})[_0x1253('0x16e')](_0x252565=>!_0x252565['isMultiRange']&&_0x1253('0x79')!=_0x252565[_0x1253('0x10b')]),_0x59d440=_0x3932f1[_0x1253('0x16e')](_0x3558ec=>!_0x19156e[_0x1253('0x2b')](_0x3558ec)),_0x2dc72f=new Map(_0x3932f1[_0x1253('0x17d')](_0x43b93d=>[_0x43b93d,this[_0x1253('0xaa')][_0x1253('0x119')](_0x43b93d['type'],_0x43b93d[_0x1253('0xef')],_0x1253('0x5b'))])),_0x5dc3ee=new Map(_0x3932f1['map'](_0x35db8c=>[_0x35db8c,_0x35db8c[_0x1253('0x11b')]()])),_0x105c0c=new Set(),_0x46aca5=new Set();for(let _0x5ba108=0x0;_0x5ba108<_0x3a33c6[_0x1253('0xa')];_0x5ba108++)_0x59a82c(_0x3a33c6[_0x5ba108],_0x3a33c6,_0x5ba108+0x1);for(let _0x45dd06=0x0;_0x45dd06<_0x3a33c6[_0x1253('0xa')];_0x45dd06++)_0x59a82c(_0x3a33c6[_0x45dd06],_0x59d440,0x0);const _0xb5457e=new Set();for(let _0x530544=0x0;_0x530544<_0x3a33c6['length'];_0x530544++){const _0x379d00=_0x3a33c6[_0x530544];!_0x46aca5['has'](_0x379d00)&&_0x379d00[_0x1253('0x175')]&&(_0xb5457e['add'](_0x379d00['previous']),_0x379d00[_0x1253('0x175')][_0x1253('0xb1')]===_0x379d00&&(_0x379d00['previous'][_0x1253('0xb1')]=null),_0x379d00['previous']=null),!_0x105c0c[_0x1253('0x2b')](_0x379d00)&&_0x379d00['next']&&(_0xb5457e[_0x1253('0x16b')](_0x379d00[_0x1253('0xb1')]),_0x379d00['next']['previous']===_0x379d00&&(_0x379d00[_0x1253('0xb1')][_0x1253('0x175')]=null),_0x379d00[_0x1253('0xb1')]=null);}function _0x59a82c(_0x4bbf70,_0x1bc052,_0x273453){for(let _0x1f6f2d=_0x273453;_0x1f6f2d<_0x1bc052[_0x1253('0xa')];_0x1f6f2d++){const _0x2d3577=_0x5f2aa4(_0x4bbf70,_0x1bc052[_0x1f6f2d]);_0x2d3577&&(_0x2d3577[0x0][_0x1253('0xb1')]=_0x2d3577[0x1],_0x2d3577[0x1][_0x1253('0x175')]=_0x2d3577[0x0],_0x105c0c[_0x1253('0x16b')](_0x2d3577[0x0]),_0x46aca5[_0x1253('0x16b')](_0x2d3577[0x1]));}}function _0x5f2aa4(_0x48852d,_0x3256ef){if(_0x48852d[_0x1253('0x23')]['id']!==_0x3256ef[_0x1253('0x23')]['id'])return null;const _0x403d6b=_0x2dc72f[_0x1253('0x14b')](_0x48852d)(_0x48852d,_0x3256ef,_0x5dc3ee['get'](_0x48852d),_0x5dc3ee[_0x1253('0x14b')](_0x3256ef));if(!_0x403d6b)return null;return _0x2dc72f['get'](_0x3256ef)(_0x48852d,_0x3256ef,_0x5dc3ee[_0x1253('0x14b')](_0x48852d),_0x5dc3ee[_0x1253('0x14b')](_0x3256ef))?_0x403d6b[0x1][_0x1253('0xcc')]&&_0x403d6b[0x1][_0x1253('0xcc')][_0x1253('0xa')]?null:_0x403d6b:null;}_0xb5457e[_0x1253('0x8')]&&this[_0x1253('0x15c')](_0xb5457e);}[_0x1253('0x134')](_0x526d25){if(0x0==_0x526d25[_0x1253('0xa')])return;const _0x432c2b=this[_0x1253('0x4e')]({'skipNotAttached':!0x0})['filter'](_0x4588dc=>_0x1253('0x79')==_0x4588dc[_0x1253('0x10b')]&&_0x4588dc['_isDataLoaded']),_0x512f60=[],_0x2d85f2=new Map();for(const _0x26d337 of _0x432c2b){const _0x45b220=_0x2f97ee(_0x26d337[_0x1253('0x15')]);_0x2d85f2[_0x1253('0x2b')](_0x45b220)||(_0x2d85f2[_0x1253('0xd1')](_0x45b220,_0x512f60[_0x1253('0xa')]),_0x512f60['push']([]));const _0x2106bc=_0x2d85f2[_0x1253('0x14b')](_0x45b220);_0x512f60[_0x2106bc][_0x1253('0x172')](_0x26d337);}!function(){_0x512f60[_0x1253('0x73')]((_0x4fb5dd,_0x5daf64)=>{const _0x4caeeb=_0x4fb5dd[0x0][_0x1253('0x5c')],_0x3c4812=_0x5daf64[0x0][_0x1253('0x5c')];return _0x4caeeb==_0x3c4812?_0x4fb5dd[0x0][_0x1253('0x15')]['groupId']<_0x5daf64[0x0]['attributes'][_0x1253('0x11f')]?-0x1:0x1:_0x4caeeb<_0x3c4812?-0x1:0x1;});for(const _0x63fe35 of _0x512f60)_0x63fe35[_0x1253('0x73')]((_0x5b0432,_0x6c58b3)=>_0x5b0432['id']<_0x6c58b3['id']?-0x1:0x1);}();for(let _0x4b52cb=0x0;_0x4b52cb<_0x512f60[_0x1253('0xa')];_0x4b52cb++){if(0x0==_0x512f60[_0x4b52cb][_0x1253('0xa')])continue;const _0x261082=[];for(let _0x400784=_0x4b52cb+0x1;_0x400784<_0x512f60[_0x1253('0xa')];_0x400784++)0x0!=_0x512f60[_0x400784][_0x1253('0xa')]&&_0x30c9f8(_0x512f60[_0x4b52cb],_0x512f60[_0x400784])&&_0x261082[_0x1253('0x172')](_0x400784);for(const _0x356a8f of _0x261082)_0x512f60[_0x4b52cb]=_0x512f60[_0x4b52cb][_0x1253('0xa0')](_0x512f60[_0x356a8f]),_0x512f60[_0x356a8f]=[];}for(const _0x47afba of _0x512f60)for(let _0x333589=0x0;_0x333589<_0x47afba[_0x1253('0xa')];_0x333589++)_0x47afba[_0x333589][_0x1253('0xb1')]=_0x47afba[_0x333589+0x1]||null;for(const _0x235456 of _0x512f60)for(let _0x51c636=0x0;_0x51c636<_0x235456['length'];_0x51c636++)_0x235456[_0x51c636][_0x1253('0x175')]=_0x235456[_0x51c636-0x1]||null;function _0x30c9f8(_0x13ded8,_0x404c0f){if(_0x13ded8[0x0][_0x1253('0x15')][_0x1253('0x11f')]!==_0x404c0f[0x0][_0x1253('0x15')][_0x1253('0x11f')]&&_0x13ded8[0x0][_0x1253('0x23')]!==_0x404c0f[0x0][_0x1253('0x23')])return!0x1;if(!function(_0x33b4e9,_0x536c9a){if(!_0x33b4e9['hasComments']&&!_0x536c9a[_0x1253('0xd9')])return!0x0;if(_0x33b4e9['hasComments']&&_0x536c9a[_0x1253('0xd9')])return!0x1;if(_0x33b4e9[_0x1253('0xd9')]&&_0x536c9a[_0x1253('0x5c')]<_0x33b4e9[_0x1253('0xcc')][_0x1253('0x63')][_0x1253('0x14b')](0x0)[_0x1253('0x5c')])return!0x0;if(_0x536c9a['hasComments']&&_0x33b4e9[_0x1253('0x5c')]<_0x536c9a['commentThread']['comments'][_0x1253('0x14b')](0x0)[_0x1253('0x5c')])return!0x0;return!0x1;}(_0x13ded8[0x0],_0x404c0f[0x0]))return!0x1;const _0x21a351=_0x2065bd(_0x13ded8[0x0]['attributes'],'groupId'),_0x2d8052=_0x2065bd(_0x404c0f[0x0][_0x1253('0x15')],'groupId');if(!_0x402b93(_0x21a351,_0x2d8052))return!0x1;return!!_0x13ded8[_0x1253('0x43')](_0x533033=>_0x404c0f['some'](_0x1f2bdf=>_0x533033['getFirstRange']()[_0x1253('0x30')](_0x1f2bdf[_0x1253('0x11b')]())))&&_0x404c0f[_0x1253('0x43')](_0x276740=>_0x13ded8['some'](_0x806a28=>_0x276740['getFirstRange']()[_0x1253('0x30')](_0x806a28[_0x1253('0x11b')]())));}}[_0x1253('0x141')](_0x41e418){const _0x2668ca=Array[_0x1253('0xe3')](_0x41e418),_0x2728f2=this[_0x1253('0x4e')]({'skipNotAttached':!0x0}),_0x6183ff=_0x2728f2['filter'](_0x3489a4=>!_0x41e418[_0x1253('0x2b')](_0x3489a4)),_0x24c963=new Map(_0x2668ca[_0x1253('0x17d')](_0x2a3262=>[_0x2a3262,this[_0x1253('0xaa')]['getSuggestionCallback'](_0x2a3262[_0x1253('0x10b')],_0x2a3262[_0x1253('0xef')],_0x1253('0xc9'))])),_0x3d2685=new Map(_0x2728f2['map'](_0xcbdcd5=>[_0xcbdcd5,_0xcbdcd5[_0x1253('0xc0')]()]));for(let _0x176eea=0x0;_0x176eea<_0x2668ca[_0x1253('0xa')];_0x176eea++){if(_0x4f32ea(this,_0x2668ca[_0x176eea],_0x2668ca,_0x176eea+0x1))return!0x0;}for(let _0x4e256f=0x0;_0x4e256f<_0x2668ca[_0x1253('0xa')];_0x4e256f++){if(_0x4f32ea(this,_0x2668ca[_0x4e256f],_0x6183ff,0x0))return!0x0;}return!0x1;function _0x4f32ea(_0x113d2f,_0x5b31d7,_0x570858,_0x228595){for(let _0x3ea883=_0x228595;_0x3ea883<_0x570858[_0x1253('0xa')];_0x3ea883++){const _0x3e36b8=_0x570858[_0x3ea883];if(_0x3e36b8[_0x1253('0x10b')]!==_0x5b31d7['type']||_0x3e36b8[_0x1253('0x23')]['id']!==_0x5b31d7[_0x1253('0x23')]['id']||_0x3e36b8['subType']!==_0x5b31d7[_0x1253('0xef')])continue;if(!Ft(_0x5b31d7,_0x3e36b8,[_0x1253('0x11f')]))continue;if(_0x1253('0x79')==_0x5b31d7[_0x1253('0x10b')]&&_0x5b31d7[_0x1253('0xda')]['oldValue']!=_0x3e36b8[_0x1253('0xda')][_0x1253('0x2')])continue;if('attribute'==_0x5b31d7[_0x1253('0x10b')]&&_0x113d2f['_isBlockAttribute'](_0x5b31d7[_0x1253('0xda')][_0x1253('0x93')]))continue;if(_0x1253('0x120')==_0x5b31d7['type']){const _0x5ce872=_0x113d2f[_0x1253('0x129')][_0x1253('0x5a')],_0x19d7c2=_0x5b31d7[_0x1253('0x28')]();if(_0x19d7c2&&(_0x5ce872[_0x1253('0x157')][_0x1253('0x152')](_0x19d7c2)||_0x5ce872['schema'][_0x1253('0x105')](_0x19d7c2)))continue;}const _0x1a284f=_0x24c963[_0x1253('0x14b')](_0x5b31d7),_0x427a9b=_0x3d2685['get'](_0x5b31d7),_0x21d4c7=_0x3d2685[_0x1253('0x14b')](_0x3e36b8),_0x5d8e77=_0x5b31d7[_0x1253('0xcc')]&&_0x5b31d7['commentThread'][_0x1253('0xa')],_0x4921da=_0x3e36b8[_0x1253('0xcc')]&&_0x3e36b8[_0x1253('0xcc')]['length'];if(!_0x5d8e77&&_0x1a284f(_0x21d4c7,_0x427a9b))return _0x113d2f['_joinSuggestions'](_0x3e36b8,_0x5b31d7),_0x3d2685[_0x1253('0xc3')](_0x5b31d7),!0x0;if(!_0x4921da&&_0x1a284f(_0x427a9b,_0x21d4c7))return _0x113d2f[_0x1253('0x17c')](_0x5b31d7,_0x3e36b8),_0x3d2685[_0x1253('0xc3')](_0x3e36b8),!0x0;}return!0x1;}}['_joinSuggestions'](_0x3cf894,_0x4d2afe){if(_0x3cf894[_0x1253('0x171')])for(const _0x2e4215 of _0x4d2afe[_0x1253('0xc0')]())_0x3cf894[_0x1253('0x88')](_0x2e4215);else{const _0x48888f=_0x4d2afe[_0x1253('0x11b')]()[_0x1253('0xe6')];this['_setSuggestionRange'](_0x3cf894,this[_0x1253('0x4f')][_0x1253('0x41')](_0x3cf894[_0x1253('0x11b')]()['start'],_0x48888f));}_0x4d2afe['removeMarkers']();}['_getMarkerAnnouncementText'](_0x45c79f,_0x4bd2a3){const _0x4af37c=_0x45c79f[_0x1253('0x4c')](_0x1253('0x99'))||_0x45c79f['startsWith']('attribute')?_0x1253('0xd6'):_0x45c79f[_0x1253('0x44')]();return _0x57e208(this[_0x1253('0x129')][_0x1253('0x146')],_0x4bd2a3+'_'+_0x4af37c+'_SUGGESTION_ANNOUNCEMENT');}[_0x1253('0xad')](){const _0x2ea1ba=this[_0x1253('0x129')];_0x4c4bbf(this[_0x1253('0x4f')],({left:_0x5e4b84,entered:_0x5e341d})=>{const _0x3243b1=[];for(const _0x77d253 of _0x5e4b84){const {group:_0x5a5d2b,type:_0x1358b2}=this[_0x1253('0x45')](_0x77d253['name']);if('suggestion'===_0x5a5d2b){_0x3243b1[_0x1253('0x172')](this[_0x1253('0x39')](_0x1358b2,_0x1253('0x16a')));break;}}for(const _0x5b7724 of _0x5e341d){const {group:_0x413da2,type:_0x3ef49f}=this['_splitMarkerName'](_0x5b7724['name']);if(_0x1253('0x40')===_0x413da2){_0x3243b1[_0x1253('0x172')](this[_0x1253('0x39')](_0x3ef49f,_0x1253('0x1')));break;}}_0x3243b1[_0x1253('0xa')]&&_0x2ea1ba['ui']['ariaLiveAnnouncer']['announce'](_0x1253('0x13a'),_0x3243b1[_0x1253('0xc9')]('\x20'));});}[_0x1253('0x6e')](_0xc29c54){if(this[_0x1253('0x14')])return!0x1;const _0xe6e2bc=this[_0x1253('0x129')],_0x24f869=_0xe6e2bc[_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')][_0x1253('0x20')]();if(0x0==_0x24f869[_0x1253('0xa')])return!0x1;const _0x5a8b6d=[],_0x77989a=_0x24f869['filter'](_0xb7d0d6=>_0x1253('0x79')==_0xb7d0d6[_0x1253('0x10b')]),_0x81fde1=_0x24f869[_0x1253('0x16e')](_0xa0d40a=>_0x1253('0x16f')==_0xa0d40a[_0x1253('0x10b')]&&_0x1253('0xe5')!=_0xa0d40a['name']),_0x333936=_0x24f869[_0x1253('0x16e')](_0x2666e8=>'remove'==_0x2666e8[_0x1253('0x10b')]&&_0x1253('0xe5')!=_0x2666e8[_0x1253('0x11e')]);for(const _0x1866eb of _0x77989a)_0x5a8b6d[_0x1253('0x172')]({'key':_0x1866eb[_0x1253('0x12b')],'newValue':_0x1866eb[_0x1253('0x25')],'oldValue':_0x1866eb[_0x1253('0xf6')],'range':Ut(_0x1866eb['range'],_0xe6e2bc['model'])});for(const _0x2fdd0b of _0x81fde1){const _0x16d621=_0x333936[_0x1253('0x6f')](_0x45ebe4=>_0x45ebe4[_0x1253('0x69')]['isEqual'](_0x2fdd0b[_0x1253('0x69')]));_0x16d621&&_0x5a8b6d['push']({'key':_0x1253('0x15d'),'newValue':_0x2fdd0b[_0x1253('0x11e')],'oldValue':_0x16d621[_0x1253('0x11e')],'range':_0xe6e2bc[_0x1253('0x5a')][_0x1253('0x5d')](_0x2fdd0b[_0x1253('0x69')][_0x1253('0xdc')])});}return 0x0!=_0x5a8b6d['length']&&this[_0x1253('0xaf')](_0xc29c54,_0x5a8b6d);}[_0x1253('0x4d')](_0x30a385){let _0x1ded82=!0x1;const _0x37f407=this[_0x1253('0x129')][_0x1253('0x5a')][_0x1253('0xb7')][_0x1253('0x55')][_0x1253('0xec')]()[_0x1253('0x16e')](_0x1a93fb=>_0x1a93fb[_0x1253('0xda')][_0x1253('0x3b')]&&_0x1a93fb[_0x1253('0x11e')][_0x1253('0x4c')]('suggestion:attribute:'));for(const _0x1e82ec of _0x37f407){const {subType:_0x1e4663,id:_0x110772}=this[_0x1253('0x45')](_0x1e82ec[_0x1253('0x11e')]),_0x411b3a=_0x1e4663[_0x1253('0x85')]('|')[0x0];for(const _0x4c693b of this[_0x1253('0x4e')]({'skipNotAttached':!0x0}))_0x4c693b['id']!=_0x110772&&_0x1253('0x79')==_0x4c693b['type']&&_0x4c693b['data']&&_0x4c693b[_0x1253('0xda')]['key']==_0x411b3a&&_0x4c693b[_0x1253('0x11b')]()[_0x1253('0xd7')](_0x1e82ec[_0x1253('0xda')][_0x1253('0x3b')])&&(this[_0x1253('0x10d')](_0x4c693b,_0x1e82ec[_0x1253('0xda')][_0x1253('0x3b')],_0x30a385),_0x1ded82=!0x0);}return _0x1ded82;}['_recordAttributeChanges'](_0x5d0fcf){this[_0x1253('0x129')],(this[_0x1253('0x14')]=!0x0,_0x5d0fcf());}['_isRegisteredAttribute'](_0x43f5f4){const _0x313f93=this[_0x1253('0x17')](_0x43f5f4),_0x18d251=this['_inlineAttributeKeys'][_0x1253('0x2b')](_0x43f5f4);return _0x313f93||_0x18d251;}[_0x1253('0xaf')](_0x330fe0,_0x5b00ba){if(0x0==_0x5b00ba['length'])return!0x1;let _0x2750a6=!0x1;for(const _0x282942 of _0x5b00ba){const _0x1736f9=this[_0x1253('0xe2')](_0x282942[_0x1253('0x118')],_0x1253('0x79'))['filter'](_0x2d0207=>!_0x2d0207[_0x1253('0x7c')]['isNextTo'])['map'](_0x28b508=>_0x28b508[_0x1253('0x40')]),_0x2cb1fe=_0x2f97ee({'newValue':_0x282942[_0x1253('0x10a')]});_0x1736f9[_0x1253('0x16e')](_0x17c9bb=>{const [_0x26f1f4,_0x339205]=_0x17c9bb[_0x1253('0xef')][_0x1253('0x85')]('|');return _0x26f1f4==_0x282942['key']&&_0x339205!=_0x2cb1fe;})[_0x1253('0x78')](_0x194850=>{this[_0x1253('0x10d')](_0x194850,_0x282942['range'],_0x330fe0),_0x2750a6=!0x0;});}return _0x2750a6;}[_0x1253('0x10d')](_0x297dc2,_0x16032a,_0x1850eb){const _0x4c60b3=_0x297dc2[_0x1253('0x11b')]()['getDifference'](_0x16032a);0x0!==_0x4c60b3['length']?0x1!==_0x4c60b3[_0x1253('0xa')]?this[_0x1253('0xca')](_0x297dc2,_0x16032a[_0x1253('0x124')],_0x16032a['end']):this[_0x1253('0x1f')](_0x297dc2,_0x4c60b3[0x0]):_0x1850eb[_0x1253('0x67')](_0x297dc2[_0x1253('0xee')]());}}class Bt{constructor(_0x1f2646){this[_0x1253('0x159')]=_0x1f2646,this[_0x1253('0x4f')]=_0x1f2646[_0x1253('0x5a')],this[_0x1253('0x38')]=new Map(),this[_0x1253('0xf5')]=new Map(),this[_0x1253('0x173')]();}[_0x1253('0x92')](_0x4a7d5a,_0x81c4e4,_0x434c2f,_0x9bead2,_0x106e9f,_0x1c39db){return new _0x51a20f(this[_0x1253('0x4f')],{'type':_0x4a7d5a,'subType':_0x81c4e4,'id':_0x434c2f,'author':_0x9bead2,'creator':_0x9bead2,'attributes':_0x106e9f,'onAttributesChange':_0x1c39db,'onAccept':(..._0x3bad88)=>this[_0x1253('0x119')](_0x4a7d5a,_0x81c4e4,_0x1253('0xb3'))(..._0x3bad88),'onDiscard':(..._0x37ffad)=>this['getSuggestionCallback'](_0x4a7d5a,_0x81c4e4,_0x1253('0x0'))(..._0x37ffad)});}[_0x1253('0x123')](_0x4c5364,_0x1e849e,_0x427745,_0x1a993c){const _0x5aa0be=_0x4c5364+':'+_0x1e849e+':'+_0x427745;this[_0x1253('0x38')][_0x1253('0xd1')](_0x5aa0be,_0x1a993c);}['getSuggestionCallback'](_0x36cd84,_0x47d402,_0xfe4b9d){const _0x67a172=_0x36cd84+':'+_0x47d402+':'+_0xfe4b9d;return this['_customCallbacks'][_0x1253('0x14b')](_0x67a172)||this[_0x1253('0xf5')][_0x1253('0x14b')](_0x36cd84+':'+_0xfe4b9d);}[_0x1253('0x173')](){const _0x5e2028=()=>!0x1,_0x2872a3=_0x2e3b94=>{_0x2e3b94[_0x1253('0x73')]((_0x3a1fa2,_0x4f2703)=>_0x3a1fa2[_0x1253('0x124')][_0x1253('0x4b')](_0x4f2703['start'])?0x1:-0x1),this[_0x1253('0x4f')][_0x1253('0xf3')](_0x4185cf=>{for(const _0x4f2b89 of _0x2e3b94){let _0x56962f;_0x56962f=_0x4f2b89['end'][_0x1253('0xf8')]&&_0x4f2b89[_0x1253('0xe6')][_0x1253('0x66')]==_0x4f2b89[_0x1253('0x124')]['nodeAfter']?_0x4185cf['createSelection'](_0x4f2b89[_0x1253('0x124')][_0x1253('0xdc')],'on'):_0x4185cf[_0x1253('0xac')](_0x4f2b89),this[_0x1253('0x4f')]['deleteContent'](_0x56962f,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0xa00280=(_0x5575ec,_0x456290)=>{_0x456290&&this[_0x1253('0x4f')]['change'](_0x3e28d8=>{const {commandName:_0x55850c,commandParams:_0x332bd4=[]}=_0x456290,_0x37d618=_0x5575ec['map'](_0x401086=>(Rt(_0x401086)&&(_0x401086=this[_0x1253('0x4f')]['createRange'](_0x401086[_0x1253('0xe6')])),_0x401086))[_0x1253('0x16e')](_0x17ccdc=>_0x1253('0x163')!==_0x17ccdc[_0x1253('0xf0')][_0x1253('0x8f')]);if(_0x37d618[_0x1253('0xa')]<0x1)return;const _0x24c088=Array[_0x1253('0xe3')](this[_0x1253('0x4f')][_0x1253('0xb7')][_0x1253('0xb')][_0x1253('0xc0')]())['map'](_0x25b296=>_0x2b8581[_0x1253('0x16c')](_0x25b296));_0x3e28d8[_0x1253('0xd4')](_0x37d618);for(const _0x2e01ac of this['_editor'][_0x1253('0x59')][_0x1253('0x59')]())_0x2e01ac[_0x1253('0x87')]();_0x332bd4[_0x1253('0x172')]({'forceDefaultExecution':!0x0}),this[_0x1253('0x159')][_0x1253('0xd')](_0x55850c,..._0x332bd4);const _0x56a537=_0x24c088[_0x1253('0x16e')](_0x24bca2=>'$graveyard'!=_0x24bca2[_0x1253('0xf0')]['rootName']);_0x56a537[_0x1253('0xa')]>0x0&&_0x3e28d8[_0x1253('0xd4')](_0x56a537);for(const _0x235f13 of _0x24c088)_0x235f13['detach']();});},_0x3832ee=(_0x2e85d8,_0x5bb1ac)=>0x1==_0x2e85d8['length']&&0x1==_0x5bb1ac[_0x1253('0xa')]&&_0x2e85d8[0x0][_0x1253('0xe6')][_0x1253('0x30')](_0x5bb1ac[0x0][_0x1253('0x124')]),_0x11ce4b=(_0xdf2f4c,_0x2b5a41,_0x255e59,_0x3e18c9)=>Gt(_0xdf2f4c,_0x2b5a41,_0x255e59,_0x3e18c9,this[_0x1253('0x4f')])?[_0xdf2f4c,_0x2b5a41]:Gt(_0x2b5a41,_0xdf2f4c,_0x3e18c9,_0x255e59,this[_0x1253('0x4f')])?[_0x2b5a41,_0xdf2f4c]:null;this['_defaultCallbacks'][_0x1253('0xd1')](_0x1253('0xe8'),_0x5e2028),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0xdb'),_0x2872a3),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0xa2'),_0x3832ee),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0x46'),_0x11ce4b),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0x107'),_0x2872a3),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0x165'),_0x5e2028),this[_0x1253('0xf5')]['set'](_0x1253('0x156'),_0x3832ee),this[_0x1253('0xf5')]['set'](_0x1253('0x36'),_0x11ce4b),this[_0x1253('0xf5')][_0x1253('0xd1')]('formatInline:accept',_0xa00280),this['_defaultCallbacks']['set'](_0x1253('0x161'),_0x5e2028),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0x9c'),_0x3832ee),this['_defaultCallbacks'][_0x1253('0xd1')]('formatInline:chain',_0x5e2028),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0xf'),_0xa00280),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0x51'),_0x5e2028),this[_0x1253('0xf5')]['set'](_0x1253('0x140'),_0x3832ee),this[_0x1253('0xf5')]['set']('formatBlock:chain',_0x5e2028),this[_0x1253('0xf5')][_0x1253('0xd1')]('attribute:accept',_0x5e2028),this[_0x1253('0xf5')]['set'](_0x1253('0x17a'),(_0x3f22b7,_0x29d7da)=>{if(!_0x29d7da)return;const _0x2b1878=this['_editor'][_0x1253('0xb6')][_0x1253('0x14b')](p);this[_0x1253('0x4f')][_0x1253('0xf3')](_0x4ad80b=>{if(_0x1253('0x15d')==_0x29d7da['key'])for(const _0x321ed1 of _0x3f22b7){const _0x33f2cd=_0x321ed1[_0x1253('0x124')]['nodeAfter'],_0x5babfd=_0x29d7da[_0x1253('0x2')];_0x4ad80b['rename'](_0x33f2cd,_0x5babfd);}else{if(_0x2b1878[_0x1253('0x17')](_0x29d7da[_0x1253('0x93')]))for(const _0x317ad7 of _0x3f22b7)void 0x0!==_0x29d7da['oldValue']?_0x4ad80b['setAttribute'](_0x29d7da[_0x1253('0x93')],_0x29d7da[_0x1253('0x2')],_0x317ad7[_0x1253('0x124')][_0x1253('0xdc')]):_0x4ad80b[_0x1253('0x139')](_0x29d7da[_0x1253('0x93')],_0x317ad7[_0x1253('0x124')]['nodeAfter']);else for(const _0x259b25 of _0x3f22b7)_0x29d7da['oldValue']?_0x4ad80b[_0x1253('0x42')](_0x29d7da['key'],_0x29d7da[_0x1253('0x2')],_0x259b25):_0x4ad80b[_0x1253('0x139')](_0x29d7da[_0x1253('0x93')],_0x259b25);}});}),this[_0x1253('0xf5')][_0x1253('0xd1')](_0x1253('0xae'),_0x3832ee);}}function xt(_0x112b7,_0x1b5936,_0x5bc3cc){for(const _0x2e0def of _0x1b5936['parent'][_0x1253('0x57')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2e0def[_0x1253('0xf0')]==_0x2e0def)return!0x1;if(!_0x5bc3cc[_0x1253('0xfb')](_0x2e0def))return!0x1;if(_0x112b7[_0x1253('0x152')](_0x2e0def)||_0x112b7[_0x1253('0x105')](_0x2e0def))return!0x0;}return!0x1;}function Rt(_0x249da2){return _0x249da2[_0x1253('0xe6')][_0x1253('0x66')]==_0x249da2['start'][_0x1253('0xdc')]&&_0x249da2['end'][_0x1253('0x114')];}function Tt(_0x475a21,_0x45c946,_0x24e4cb,_0x3276b7){const _0x572146=_0x5b55d=>!_0x5b55d['item']['is'](_0x1253('0x151'))&&!_0x3276b7[_0x1253('0x152')](_0x5b55d[_0x1253('0x12e')]),_0x231bf0=_0x475a21[_0x1253('0x124')][_0x1253('0x158')](_0x572146),_0x5c9afd=_0x475a21[_0x1253('0xe6')][_0x1253('0x158')](_0x572146,{'direction':_0x1253('0x111')});return(!_0x475a21[_0x1253('0x124')]['isEqual'](_0x231bf0)||!_0x475a21[_0x1253('0xe6')][_0x1253('0x30')](_0x5c9afd))&&(_0x231bf0[_0x1253('0x4b')](_0x5c9afd)?_0x24e4cb[_0x1253('0x6')](_0x45c946,{'range':_0x24e4cb['createRange'](_0x231bf0,_0x5c9afd)}):_0x24e4cb['removeMarker'](_0x45c946),!0x0);}function Et(_0x4a5af3){return _0x2f97ee(_0x4a5af3);}function Vt(_0x243295){const _0x3518aa=_0x243295[_0x1253('0x124')]['nodeAfter'];return _0x3518aa&&_0x3518aa['is'](_0x1253('0x70'));}function Ut(_0xe40504,_0x5e649f){return null==_0xe40504[_0x1253('0xe6')][_0x1253('0x77')]&&_0xe40504[_0x1253('0xe6')][_0x1253('0x66')]==_0xe40504[_0x1253('0x124')][_0x1253('0xdc')]?Ot(_0xe40504[_0x1253('0x124')][_0x1253('0xdc')],_0x5e649f):_0xe40504;}function Ot(_0x1a4234,_0x5140df){const _0x41f5ac=_0x5140df['schema']['isObject'](_0x1a4234)||_0x5140df[_0x1253('0x157')][_0x1253('0xfe')](_0x1a4234);return _0x5140df[_0x1253('0x41')](_0x5140df[_0x1253('0x61')](_0x1a4234,'before'),_0x41f5ac?_0x5140df[_0x1253('0x7')](_0x1a4234):_0x5140df['createPositionAt'](_0x1a4234,_0x1253('0xe6')));}function Gt(_0x18375e,_0xcea6b4,_0x417443,_0x1c3285,_0x291373){if(!Ft(_0x18375e,_0xcea6b4))return!0x1;if(_0x417443[_0x1253('0xe6')][_0x1253('0x30')](_0x1c3285[_0x1253('0x124')]))return!0x0;if(_0x18375e[_0x1253('0x10b')]!=_0xcea6b4[_0x1253('0x10b')])return!0x1;if(!_0x417443[_0x1253('0xe6')][_0x1253('0x121')](_0x1c3285[_0x1253('0x124')]))return!0x1;const _0xdc0dda=_0x291373[_0x1253('0x41')](_0x417443[_0x1253('0xe6')],_0x1c3285[_0x1253('0x124')])['getWalker']();for(const _0x19eaa8 of _0xdc0dda)if(['elementStart',_0x1253('0xa3')][_0x1253('0x13f')](_0x19eaa8[_0x1253('0x10b')])&&_0x291373['schema'][_0x1253('0x105')](_0x19eaa8[_0x1253('0x12e')]))return!0x1;return!0x0;}function Ft(_0x2d7e8c,_0x4b9fae,_0x34b948=[]){return!(!_0x2d7e8c[_0x1253('0xce')]||!_0x4b9fae[_0x1253('0xce')])&&_0x402b93(_0x2065bd(_0x2d7e8c[_0x1253('0x15')],_0x34b948),_0x2065bd(_0x4b9fae[_0x1253('0x15')],_0x34b948));}function Pt(_0x972169,_0x344dca){const _0x4ecc5f=Lt(_0x972169['attributes']),_0xddd2e9=Lt(_0x344dca);if(!_0x972169[_0x1253('0xce')])return!0x1;for(const _0x50db9b of Object[_0x1253('0xbc')](_0xddd2e9))if(!_0x402b93(_0x4ecc5f[_0x50db9b],_0xddd2e9[_0x50db9b]))return!0x1;return!0x0;}function Lt(_0x266b13){const _0x501d8a=Object[_0x1253('0x2e')]({},_0x266b13);return delete _0x501d8a[_0x1253('0x122')],delete _0x501d8a[_0x1253('0x132')],_0x501d8a;}
23
+ const _0x8f17=['Users','head','change','_inlineAttributeKeys','push','howMany','formatInline:join','accept','_getAuthorFromId','init','enableReadOnlyMode','end','isIntersecting','getItems','model','attributeOldValue','createPositionBefore','dataToMarker','targetPosition','has','set','then','comments','createdAt','formatBlock:','isDocumentOperation','trackChanges','_setSuggestionData','some','highest','removeAttribute','attribute','containsItem','addMarker','move','removeClass','acceptSelectedSuggestions','_isDataLoaded','_defaultCallbacks','subType','_findSuggestions','originalSuggestionId','formatInline:chain','isRemovable','@external','setSelection','acceptAllSuggestions','isAfter','external:','removeMarkers','key','$elementName','adapter','item','_recordAttributeSuggestions','selection','LEAVE','filter','plugins','delete','containsRangeInObject','removed','addRange','containsPosition','change:activeMarkers','addMarker:suggestion','ck-suggestion-marker-','commentThread','_processAttributeSuggestions','_getMarkerAnnouncementText','warn','low','ck-suggestion-marker','updateSuggestion','type','_splitMarkerName','writer','concat','isMultiRange','ck-suggestion-marker-formatBlock','size','_addSuggestionMarker','removeMarker:suggestion:attribute','substr','_breakSuggestionMarker','isNextTo','newRange','getFirstMarker','reconvertMarker','createSelection','schema','author','createElement','_refreshSuggestionsChain','isLimit','getNearestSelectionRange','length','_model','markerNameToElements','error-saving-suggestion-data-suggestion-discarded','enqueueChange','isInContent','suggestion:attribute:','_enabledCommands','conversion','_suggestionState','addSuggestion','differ','markAttributeChange','discardAllSuggestions','getRanges','enableCommand','nodeBefore','_mergeNestedSuggestions','stopListening','consumable','oldRange','_refreshAttributeSuggestionsChain','insertion','isObject','isLocal','insertion:chain','setAttribute','markMultiRangeBlockFormat','hasComments','catch','activeMarkers','name','next','_enableDefaultAttributesIntegration','formatInline:discard','markers','$marker','oldValue','_commentsRepository','markBlockFormat','rename','suggestionChanged','formatBlock','isEqual','groupId','ready','fromRange','toUpperCase','_setSuggestionRange','getDifference','unbindElementFromMarkerName','suggestion-type','attributes','isOwn','split','return','add','isExternal','listenTo','getShiftedBy','removeMarker','hasCommentThread','formatBlock:join','deletion:','_joinWithAdjacentSuggestions','value','deletion','markInsertion','always','formatBlock:accept','collaboration.channelId','data-suggestion','start','addSuggestionData','track-changes-adapter-missing-getsuggestion','markMultiRangeDeletion','getLastMatchingPosition','open','addMarker:suggestion:formatBlock','_isForcedDefaultExecutionBlock','from','addMarkerName','values','_onDiscard','for','execute','trackChanges.mergeNestedSuggestions','stop','nodeAfter','documentSelection','authoredAt','document','_cutOutSuggestionMarker','_joinSuggestions','ENTER','_suggestions','getWalker','buildSuggestion','discard','commands','markerReady','getIntersection','forward','createRange','get','isInsideObject','getMarkers','notReady','position','isUndo','getSuggestions','isTouching','rethrowUnexpectedError','formatInline','detach','commandName','_processAttributeChanges','_trackFormatChanges','after','sort','_removeSuggestion','range','_registerDefaultCallbacks','_reduceExistingSuggestions','attributeKey','markerToData','forEach','assign','multi','suggestion:','isBefore','getFirstRange','substring','config','formatInline:','createPositionAt','creator','attribute:','toViewElement','suggestion','announce','track-changes-suggestion-not-found','find','join','_reduceSuggestionAttributeRange','createPositionAfter','editor','createRangeOn','rootName','_getSuggestionData','_registerInlineAttribute','getChangedMarkers','createRangeIn','PendingActions','refresh','moveTargetPosition','elementToElement','mapper','PENDING_ACTION_SUGGESTION','fire','discardSelectedSuggestions','root','markerName','deleteContent','group','getMultiRangeId','remove','startsWith','_registerBlockAttribute','attributeNewValue','_isRegisteredAttribute','bindElementToMarker','isArray','getUser','applyOperation','_isBlockAttribute','elementEnd','insertion:','showSuggestionHighlights','batch','never','default','markInlineFormat','getContainedElement','TrackChangesEditing','getSuggestion','_recordAttributeChanges','_descriptionFactory','addUser','deletion:join','isAtEnd','setTo','CommentsRepository','unbind','_updateSuggestionData','parent','every','addClass','formatGroupId','getCustomProperty','formatBlock:discard','track-changes-suggestion-data-mismatch','markMultiRangeInsertion','isIntersectingWithRange','markDeletion','_rangeIsInLocalUserInsertion','$graveyard','_createSuggestion','includes','markerToHighlight','upcast','elementStart','high','marker-count','element','_element','map','trackChangesCommand','_initAriaMarkerChangeAnnouncements','fetchCommentThread','attribute:join','getAncestors','splitPosition','_adapter','keys','isCollapsed','change:_saved','insertContent','insert','discardSuggestion','consume','deletion:discard','getSuggestionCallback','containsRange','requires','previous','backward','registerCustomCallback','_getAttributeKey','update:suggestion','addCommentThread','ck-suggestion-marker--active','FORMATTING','skipNestingCheck','updateMarker','_addThreadToSuggestion','addHighlight','hasSuggestion','splice','$textProxy','_suggestionFactory','forceDefaultExecution','dataDowncast','_afterChanges','getChanges','dataReady','insertion:discard','removeMarker:suggestion:formatBlock','track-changes-user-not-found','_editor','registerPostFixer','multipleBlocks','pop','_blockAttributeKeys','_getExternalAuthor','widget','getAttribute','_saved','options','_customCallbacks','data','addMarker:suggestion:attribute','_handleNewSuggestionMarker','newValue','_checkSuggestionCorrectness','track-changes-adapter-already-set','locale','clear','editingDowncast'];(function(_0x167447,_0x8f1762){const _0x12b3b8=function(_0x2e9756){while(--_0x2e9756){_0x167447['push'](_0x167447['shift']());}};_0x12b3b8(++_0x8f1762);}(_0x8f17,0xc2));const _0x12b3=function(_0x167447,_0x8f1762){_0x167447=_0x167447-0x0;let _0x12b3b8=_0x8f17[_0x167447];return _0x12b3b8;};import{Plugin as _0x3f5db7,PendingActions as _0x1f5a34}from'ckeditor5/src/core.js';import{LiveRange as _0x194ec4}from'ckeditor5/src/engine.js';import{CKEditorError as _0x422dda,uid as _0x70dd0d,priorities as _0x4fb7c4,logWarning as _0x265096}from'ckeditor5/src/utils.js';import{toWidget as _0x313173}from'ckeditor5/src/widget.js';import{Users as _0x3577f5,hashObject as _0x71307,surroundingMarkersDetector as _0x43578d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5a5dc7 from'./commands/trackchangescommand.js';import _0x3455e5 from'./commands/acceptsuggestioncommand.js';import _0x3dd08a from'./commands/discardsuggestioncommand.js';import _0x10f2d2 from'./commands/executeonallsuggestionscommand.js';import _0x388f66 from'./commands/executeonselectedsuggestionscommand.js';import _0x524b86 from'./suggestion.js';import _0x2dfa69 from'./suggestiondescriptionfactory.js';import _0x1cefc3 from'./integrations/aiassistant.js';import _0x1dc0b9 from'./integrations/alignment.js';import _0x4b9893 from'./integrations/basicstyles.js';import _0x454cc2 from'./integrations/blockquote.js';import _0x277e8a from'./integrations/casechange.js';import _0x701ff8 from'./integrations/ckbox.js';import _0x3258e from'./integrations/codeblock.js';import _0x5403fb from'./integrations/comments.js';import _0x19e52a from'./integrations/deletecommand.js';import _0x5691a0 from'./integrations/list.js';import _0xf452f from'./integrations/listproperties.js';import _0x6508c from'./integrations/entercommand.js';import _0x3d5423 from'./integrations/findandreplace.js';import _0x1d64d2 from'./integrations/font.js';import _0x488674 from'./integrations/formatpainter.js';import _0x577181 from'./integrations/heading.js';import _0x1b4118 from'./integrations/highlight.js';import _0x592a3a from'./integrations/horizontalline.js';import _0x5ccdb6 from'./integrations/htmlembed.js';import _0x37c265 from'./integrations/image.js';import _0x36f4f6 from'./integrations/imagereplace.js';import _0xf702a8 from'./integrations/imagestyle.js';import _0x206983 from'./integrations/importword.js';import _0x5e7e88 from'./integrations/indent.js';import _0x462ec4 from'./integrations/inputcommand.js';import _0x1ff40c from'./integrations/link.js';import _0x163c83 from'./integrations/legacylist.js';import _0x2b5cb0 from'./integrations/legacylistproperties.js';import _0x318195 from'./integrations/mediaembed.js';import _0x44cbee from'./integrations/mention.js';import _0x2e4696 from'./integrations/pagebreak.js';import _0x264e01 from'./integrations/paragraph.js';import _0x11d1f4 from'./integrations/removeformat.js';import _0xbc5409 from'./integrations/restrictededitingmode.js';import _0x2f1665 from'./integrations/shiftentercommand.js';import _0x30b8a1 from'./integrations/standardeditingmode.js';import _0x5c1370 from'./integrations/style.js';import _0x3333c2 from'./integrations/table.js';import _0x5deb2e from'./integrations/tablemergesplit.js';import _0x215cd1 from'./integrations/tableheadings.js';import _0x15f677 from'./integrations/tableclipboard.js';import _0x31a388 from'./integrations/tablecolumnresize.js';import _0x53eca0 from'./integrations/template.js';import _0x5b1add from'./integrations/tableofcontents.js';import _0x4de1d9 from'./integrations/title.js';import _0x108c36 from'./integrations/undo.js';import _0x288490 from'./integrations/tablecaption.js';import _0x1d6e9a from'./integrations/tableproperties.js';import{getTranslation as _0x410f0d}from'./utils/common-translations.js';import{isEqual as _0x78634b,omit as _0x322306}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x3f5db7{static get[_0x12b3('0x88')](){return[_0x12b3('0x5e'),_0x3577f5,_0x1f5a34,_0x1cefc3,_0x1dc0b9,_0x4b9893,_0x454cc2,_0x701ff8,_0x277e8a,_0x3258e,_0x5403fb,_0x19e52a,_0x6508c,_0x3d5423,_0x1d64d2,_0x488674,_0x577181,_0x1b4118,_0x592a3a,_0x5ccdb6,_0x37c265,_0xf702a8,_0x36f4f6,_0x206983,_0x5e7e88,_0x462ec4,_0x163c83,_0x2b5cb0,_0x1ff40c,_0x5691a0,_0xf452f,_0x318195,_0x44cbee,_0x2e4696,_0x264e01,_0x11d1f4,_0xbc5409,_0x2f1665,_0x30b8a1,_0x5c1370,_0x3333c2,_0x5deb2e,_0x215cd1,_0x288490,_0x15f677,_0x31a388,_0x5b1add,_0x1d6e9a,_0x53eca0,_0x4de1d9,_0x108c36];}static get['pluginName'](){return _0x12b3('0x56');}constructor(_0x60df0){function _0xa7d832(_0x29b3dd){return _0x29b3dd['map'](_0x543b69=>String['fromCharCode'](_0x543b69))[_0x12b3('0x2d')]('');}super(_0x60df0),this[_0x12b3('0xeb')]=!0x1,this[_0x12b3('0xc9')](_0x12b3('0x133'),[]),this['on'](_0x12b3('0xf5'),(_0x41ddde,_0x15c745,_0x173b56,_0x3d29dd)=>{this[_0x12b3('0x116')][_0x12b3('0xb7')](()=>{for(const _0x2a6260 of[..._0x3d29dd,..._0x173b56])this[_0x12b3('0x116')][_0x12b3('0x138')]['has'](_0x2a6260)&&_0x60df0['editing'][_0x12b3('0x10d')](_0x2a6260);});}),this[_0x12b3('0x59')]=new _0x2dfa69(this[_0x12b3('0x30')][_0x12b3('0xc3')][_0x12b3('0x10f')],this['editor'][_0x12b3('0xb2')]),this[_0x12b3('0x7d')]=null,this[_0x12b3('0x98')]=new Bt(this[_0x12b3('0x30')]),this[_0x12b3('0x174')]=new Map(),this[_0x12b3('0x13b')]=_0x60df0[_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0x5e')),this[_0x12b3('0x11c')]=new Set(),this['_model']=this[_0x12b3('0x30')]['model'],this[_0x12b3('0x11e')]=new WeakMap(),this[_0x12b3('0x164')]=!0x1,this['_blockAttributeKeys']=new Set([_0x12b3('0xe8')]),this['_inlineAttributeKeys']=new Set(),_0x60df0[_0x12b3('0x23')]['define']('trackChanges.trackFormatChanges',_0x12b3('0x53')),this['_trackFormatChanges']=_0x60df0[_0x12b3('0x23')][_0x12b3('0x6')]('trackChanges.trackFormatChanges'),_0x60df0[_0x12b3('0x23')]['define'](_0x12b3('0x16b'),!0x0),this[_0x12b3('0x126')]=_0x60df0['config'][_0x12b3('0x6')](_0x12b3('0x16b')),this['trackChangesCommand']=new _0x5a5dc7(_0x60df0,this[_0x12b3('0x11c')]),this['_initAriaMarkerChangeAnnouncements'](),this[_0xa7d832([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xa7d832([0x34,0x30,0x34,0x38,0x30,0x32,0x34,0x32]);}[_0x12b3('0xbe')](){const _0x1c7be5=this[_0x12b3('0x30')],_0x59ef5e=(_0x4a0580,_0x44d31b)=>{if(_0x12b3('0xd4')!=_0x4a0580)return _0x12b3('0xf7')+_0x4a0580;const _0x105c48=_0x44d31b['split']('|')[0x0];return this[_0x12b3('0x4d')](_0x105c48)?_0x12b3('0x104'):'ck-suggestion-marker-formatInline';};_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0xb4'))[_0x12b3('0x6f')]({'model':_0x12b3('0x29'),'view':_0x14cd3a=>{const {id:_0xba235f,type:_0x220f33,subType:_0x30170a}=this[_0x12b3('0x100')](_0x14cd3a['markerName']),_0xe2da53=[_0x12b3('0xfd'),_0x59ef5e(_0x220f33,_0x30170a)];let _0x4ef87b=0xbb8;return this[_0x12b3('0x133')][_0x12b3('0x6e')](_0x14cd3a['markerName'])&&(_0xe2da53[_0x12b3('0xb9')](_0x12b3('0x8f')),_0x4ef87b=0xbc2),_0x12b3('0x157')==_0x220f33&&(_0x4ef87b+=0x5),{'classes':_0xe2da53,'attributes':{'data-suggestion':_0xba235f},'priority':_0x4ef87b};}}),_0x1c7be5['conversion']['for'](_0x12b3('0x9a'))[_0x12b3('0x14d')](_0x2181e9=>{_0x2181e9['on'](_0x12b3('0xf6'),(_0x5853ac,_0x346858,_0x4004e5)=>{if(!_0x4004e5['options']['showSuggestionHighlights'])return;const _0x51a162=_0x346858[_0x12b3('0xea')];if(!_0x51a162)return;const _0x3fd807=_0x4004e5['mapper'][_0x12b3('0x28')](_0x51a162);_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x10f')][_0x12b3('0x12c')](_0x51a162)&&_0x3fd807&&!_0x3fd807[_0x12b3('0x65')](_0x12b3('0xa7'))&&_0x3fd807['is']('containerElement')&&_0x313173(_0x3fd807,_0x4004e5['writer']);},{'priority':_0x12b3('0x72')});}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0x9a'))[_0x12b3('0x6f')]({'model':_0x12b3('0x29'),'view':(_0x265b83,_0x16e8a9)=>{if(!_0x16e8a9['options'][_0x12b3('0x50')])return null;const {type:_0x25a64c,subType:_0x30378d}=this[_0x12b3('0x100')](_0x265b83[_0x12b3('0x40')]);return{'classes':['ck-suggestion-marker',_0x59ef5e(_0x25a64c,_0x30378d)],'priority':0xbb8};}});const _0x136b0a=({showActiveMarkers:_0x4d7d3b=!0x0,isAttributeSuggestion:_0x80880=!0x1}={})=>(_0x289e72,_0x57cecf,_0x4b532f)=>{if(!_0x57cecf[_0x12b3('0xea')])return;const {id:_0x1a03cd}=this[_0x12b3('0x100')](_0x57cecf[_0x12b3('0x40')]);if(_0x80880){const _0x8296b7=this['_suggestions'][_0x12b3('0x6')](_0x1a03cd),_0x2e6737=this[_0x12b3('0x8c')](_0x8296b7);if(!this['_isBlockAttribute'](_0x2e6737))return;}if(_0x57cecf['item']['is'](_0x12b3('0xec')))return void _0x4b532f[_0x12b3('0x128')]['consume'](_0x57cecf[_0x12b3('0xea')],_0x289e72[_0x12b3('0x134')]);const _0x23abde=_0x4b532f[_0x12b3('0x3b')]['toViewElement'](_0x57cecf['item']);if(_0x57cecf[_0x12b3('0xea')]['is'](_0x12b3('0x74'))&&_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x10f')]['isBlock'](_0x57cecf[_0x12b3('0xea')])&&!_0x23abde[_0x12b3('0x65')](_0x12b3('0x94'))){_0x4b532f[_0x12b3('0x101')]['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x23abde),_0x4b532f[_0x12b3('0x101')][_0x12b3('0x12f')](_0x12b3('0x15c'),_0x1a03cd,_0x23abde),_0x4b532f['mapper'][_0x12b3('0x49')](_0x23abde,_0x57cecf[_0x12b3('0x40')]),_0x4d7d3b&&(this[_0x12b3('0x133')][_0x12b3('0x6e')](_0x57cecf[_0x12b3('0x40')])?_0x4b532f[_0x12b3('0x101')][_0x12b3('0x63')](_0x12b3('0x8f'),_0x23abde):_0x4b532f[_0x12b3('0x101')][_0x12b3('0xd8')](_0x12b3('0x8f'),_0x23abde));for(const _0x13fa32 of _0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x36')](_0x57cecf[_0x12b3('0xea')])[_0x12b3('0xc2')]())_0x4b532f[_0x12b3('0x128')][_0x12b3('0x84')](_0x13fa32,_0x289e72[_0x12b3('0x134')]);_0x4b532f['consumable'][_0x12b3('0x84')](_0x57cecf[_0x12b3('0xea')],_0x289e72[_0x12b3('0x134')]);}};_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')]('dataDowncast')[_0x12b3('0x14d')](_0x12c7cf=>{_0x12c7cf['on'](_0x12b3('0x163'),(_0x180bc4,_0x26624e,_0x1e26be)=>{_0x1e26be[_0x12b3('0xaa')][_0x12b3('0x50')]&&_0x136b0a({'showActiveMarkers':!0x1})(_0x180bc4,_0x26624e,_0x1e26be);},{'priority':_0x12b3('0xd2')});}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0x9a'))['add'](_0x23da08=>{_0x23da08['on'](_0x12b3('0xad'),(_0x1fba3d,_0x21e625,_0x191c44)=>{_0x191c44[_0x12b3('0xaa')]['showSuggestionHighlights']&&_0x136b0a({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x1fba3d,_0x21e625,_0x191c44);},{'priority':_0x12b3('0xd2')});}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0x9a'))[_0x12b3('0x1b')]({'model':_0x12b3('0x29'),'view':(_0x3001a2,_0x215590)=>_0x215590[_0x12b3('0xaa')][_0x12b3('0x50')]?null:{'group':_0x12b3('0x29'),'name':_0x3001a2[_0x12b3('0x108')](0xb)}}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0x70'))[_0x12b3('0x3a')]({'view':{'name':_0x12b3('0x29'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5707fa,{writer:_0x40832f})=>{let _0x78c11a=_0x12b3('0x1f')+_0x5707fa['getAttribute'](_0x12b3('0x148'))+':'+_0x5707fa['getAttribute']('id');return _0x5707fa[_0x12b3('0xa8')](_0x12b3('0x73'))&&(_0x78c11a+=':'+_0x5707fa[_0x12b3('0xa8')](_0x12b3('0x73'))),_0x40832f[_0x12b3('0x111')](_0x12b3('0x139'),{'data-name':_0x78c11a});}}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0x70'))[_0x12b3('0xc6')]({'view':_0x12b3('0x29')}),_0x1c7be5[_0x12b3('0x11d')][_0x12b3('0x169')](_0x12b3('0xb4'))[_0x12b3('0x14d')](_0x40600b=>{_0x40600b['on']('addMarker:suggestion:formatBlock',_0x136b0a(),{'priority':_0x12b3('0x72')});}),_0x1c7be5[_0x12b3('0x11d')]['for'](_0x12b3('0xb4'))[_0x12b3('0x14d')](_0x3e13eb=>{_0x3e13eb['on'](_0x12b3('0xad'),_0x136b0a({'isAttributeSuggestion':!0x0}),{'priority':_0x12b3('0x72')});}),_0x1c7be5['conversion'][_0x12b3('0x169')]('editingDowncast')['add'](_0x16a304=>{_0x16a304['on'](_0x12b3('0x9f'),(_0x406bfc,_0x323963,_0x286819)=>{const _0x41b4a5=_0x286819['mapper']['markerNameToElements'](_0x323963[_0x12b3('0x40')]);if(_0x41b4a5)for(const _0x54eba1 of _0x41b4a5)_0x54eba1[_0x12b3('0x65')](_0x12b3('0x94'))||(_0x286819['writer'][_0x12b3('0xd8')](['ck-suggestion-marker',_0x12b3('0x104'),_0x12b3('0x8f')],_0x54eba1),_0x286819['writer'][_0x12b3('0xd3')](_0x12b3('0x15c'),_0x54eba1),_0x286819[_0x12b3('0x3b')][_0x12b3('0x147')](_0x54eba1,_0x323963[_0x12b3('0x40')]));},{'priority':'high'});}),_0x1c7be5[_0x12b3('0x11d')]['for'](_0x12b3('0xb4'))[_0x12b3('0x14d')](_0x8e79f1=>{_0x8e79f1['on'](_0x12b3('0x107'),(_0x2dabed,_0x10d33d,_0x8f7db2)=>{const _0x3b863a=_0x8f7db2[_0x12b3('0x3b')][_0x12b3('0x117')](_0x10d33d['markerName']);if(!_0x3b863a)return;const {id:_0x51f0cc}=this[_0x12b3('0x100')](_0x10d33d['markerName']),_0x580fd3=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x51f0cc),_0x5772e7=this[_0x12b3('0x8c')](_0x580fd3);if(this[_0x12b3('0x4d')](_0x5772e7))for(const _0x403016 of _0x3b863a)_0x403016[_0x12b3('0x65')](_0x12b3('0x94'))||(_0x8f7db2[_0x12b3('0x101')][_0x12b3('0xd8')](['ck-suggestion-marker','ck-suggestion-marker-formatBlock',_0x12b3('0x8f')],_0x403016),_0x8f7db2['writer'][_0x12b3('0xd3')](_0x12b3('0x15c'),_0x403016),_0x8f7db2[_0x12b3('0x3b')][_0x12b3('0x147')](_0x403016,_0x10d33d[_0x12b3('0x40')]));},{'priority':'high'});}),_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0xa2')](_0x368a31=>{let _0x4ea03f=!0x1;const _0x5c4d9=Array['from'](_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0x120')]['getChangedMarkers']()),_0x24b27e=new Set();for(const {name:_0xc4ffcf,data:_0x176109}of _0x5c4d9){const {group:_0x3be014,type:_0x17afd8,subType:_0x2ba1e4,id:_0x2d9ad6}=this[_0x12b3('0x100')](_0xc4ffcf);if(_0x12b3('0x29')!==_0x3be014)continue;const _0x5d3711=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x2d9ad6);if(null!=_0x176109[_0x12b3('0x10b')]){_0x12b3('0xf')==_0x17afd8&&(_0x4ea03f=_0x4ea03f||Tt(_0x176109[_0x12b3('0x10b')],_0xc4ffcf,_0x368a31,_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x10f')]));const _0x4a97f3='attribute'==_0x17afd8&&this[_0x12b3('0x4d')](_0x2ba1e4[_0x12b3('0x14b')]('|')[0x0]);if(_0x176109[_0x12b3('0x10b')][_0x12b3('0x7f')]||_0x12b3('0x6c')==_0x176109['newRange'][_0x12b3('0x3f')][_0x12b3('0x32')]||_0x12b3('0x13f')==_0x17afd8&&!Vt(_0x176109[_0x12b3('0x10b')])||_0x4a97f3&&!Vt(_0x176109[_0x12b3('0x10b')])||_0x12b3('0x157')==_0x17afd8&&!(!Rt(_0x2e34c1=_0x176109['newRange'])&&!function(_0x2452d1){return _0x2452d1[_0x12b3('0x15d')][_0x12b3('0x61')]==_0x2452d1['end'][_0x12b3('0x125')]&&_0x2452d1[_0x12b3('0x15d')]['isAtEnd'];}(_0x2e34c1)))_0x368a31[_0x12b3('0x151')](_0xc4ffcf),_0x4ea03f=!0x0;else{if(!_0x5d3711||!_0x5d3711[_0x12b3('0x11a')])continue;_0x24b27e[_0x12b3('0x14d')](_0x5d3711);}}}var _0x2e34c1;return _0x24b27e['size']>0x0&&(_0x4ea03f=!!this[_0x12b3('0x155')](_0x24b27e)||_0x4ea03f),_0x4ea03f;}),_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0xa2')](_0x510042=>{let _0x49cce1=!0x1;for(const _0x56e82e of _0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0x120')][_0x12b3('0x9c')]())if(_0x12b3('0x82')==_0x56e82e['type'])for(const _0x1a229e of this[_0x12b3('0x174')][_0x12b3('0x167')]()){if(_0x1a229e[_0x12b3('0x103')]||!_0x1a229e[_0x12b3('0x11a')])continue;const _0x14f2cd=_0x12b3('0x13f')==_0x1a229e[_0x12b3('0xff')],_0x35ed76=this[_0x12b3('0x8c')](_0x1a229e),_0x4f9c39=_0x35ed76&&this['_isBlockAttribute'](_0x35ed76);if(!_0x14f2cd&&!_0x4f9c39)continue;const _0x5eeb5f=_0x1a229e['getFirstRange']();if(_0x5eeb5f['start'][_0x12b3('0x61')]!=_0x5eeb5f[_0x12b3('0xc0')]['parent']&&!_0x5eeb5f[_0x12b3('0xc0')]['isAtEnd']){const _0x3d8fa5=_0x1c7be5[_0x12b3('0xc3')]['createPositionAt'](_0x5eeb5f['start']['nodeAfter'],_0x12b3('0xc0')),_0x3026b3=_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x5')](_0x5eeb5f['start'],_0x3d8fa5);_0x510042[_0x12b3('0x92')](_0x1a229e[_0x12b3('0x10c')](),{'range':_0x3026b3}),_0x49cce1=!0x0;}}return _0x49cce1;}),_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0xa2')](_0x4babe5=>this[_0x12b3('0x12')](_0x4babe5)),_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0xa2')](_0x54010d=>!_0x54010d[_0x12b3('0x51')]['isLocal']&&this[_0x12b3('0xf9')](_0x54010d)),_0x1c7be5[_0x12b3('0xc3')]['on'](_0x12b3('0x9b'),()=>{this[_0x12b3('0xeb')]=!0x1;}),_0x1c7be5['model'][_0x12b3('0x170')]['on']('change:data',(_0x566430,_0x5eb702)=>{if(!_0x5eb702[_0x12b3('0x12d')]||_0x5eb702[_0x12b3('0xb')])return;if(!this['_recordAttributeSuggestions'])return;const _0x1160c2=_0x1c7be5[_0x12b3('0xc3')]['document'][_0x12b3('0x120')][_0x12b3('0x9c')]();if(0x0==_0x1160c2['length'])return;const _0x4beaa4=[],_0x1666e3=_0x1160c2[_0x12b3('0xee')](_0x30bf72=>_0x12b3('0xd4')==_0x30bf72[_0x12b3('0xff')]),_0x4e23b8=_0x1160c2[_0x12b3('0xee')](_0x3bffd5=>_0x12b3('0x82')==_0x3bffd5[_0x12b3('0xff')]&&'$text'!=_0x3bffd5[_0x12b3('0x134')]),_0x34308b=_0x1160c2[_0x12b3('0xee')](_0x109945=>_0x12b3('0x44')==_0x109945['type']&&'$text'!=_0x109945[_0x12b3('0x134')]);for(const _0x5e47dd of _0x1666e3)this[_0x12b3('0x48')](_0x5e47dd[_0x12b3('0x1a')])&&_0x4beaa4[_0x12b3('0xb9')]({'key':_0x5e47dd[_0x12b3('0x1a')],'newValue':_0x5e47dd[_0x12b3('0x47')],'oldValue':_0x5e47dd[_0x12b3('0xc4')],'range':Ut(_0x5e47dd[_0x12b3('0x17')],_0x1c7be5[_0x12b3('0xc3')])});for(const _0x4aa7be of _0x4e23b8){const _0x48052e=_0x34308b[_0x12b3('0x2c')](_0x49d97c=>_0x49d97c['_element']===_0x4aa7be[_0x12b3('0x75')]);if(_0x48052e){const _0x31c9f4=Ot(_0x4aa7be[_0x12b3('0xa')]['nodeAfter'],_0x1c7be5[_0x12b3('0xc3')]);_0x48052e[_0x12b3('0x134')]!==_0x4aa7be[_0x12b3('0x134')]&&_0x4beaa4[_0x12b3('0xb9')]({'key':'$elementName','newValue':_0x4aa7be[_0x12b3('0x134')],'oldValue':_0x48052e[_0x12b3('0x134')],'range':_0x31c9f4});for(const [_0x364e92,_0x4b4903]of _0x48052e['attributes']){if(!this[_0x12b3('0x48')](_0x364e92))continue;const _0x1a0bad=_0x4aa7be[_0x12b3('0x149')][_0x12b3('0x6')](_0x364e92);_0x4b4903!==_0x1a0bad&&_0x4beaa4[_0x12b3('0xb9')]({'key':_0x364e92,'newValue':_0x1a0bad,'oldValue':_0x4b4903,'range':_0x31c9f4});}for(const [_0x6a99e9,_0x14411b]of _0x4aa7be['attributes'])this[_0x12b3('0x48')](_0x6a99e9)&&(_0x48052e[_0x12b3('0x149')][_0x12b3('0xc8')](_0x6a99e9)||_0x4beaa4[_0x12b3('0xb9')]({'key':_0x6a99e9,'newValue':_0x14411b,'oldValue':null,'range':_0x31c9f4}));}}0x0!=_0x4beaa4['length']&&_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x119')](_0x5eb702,_0x215f0a=>{const _0x472399=_0x70dd0d();for(const {range:_0x416f9f,key:_0x20c19b,oldValue:_0x4e30af,newValue:_0x35c64b}of _0x4beaa4)this[_0x12b3('0x121')](_0x416f9f,_0x20c19b,_0x4e30af,_0x35c64b,{'groupId':_0x472399});this[_0x12b3('0x19')](_0x215f0a,_0x4beaa4);});},{'priority':'lowest'}),_0x1c7be5[_0x12b3('0xc3')]['markers']['on'](_0x12b3('0x8d'),(_0x47adf5,_0x1cece2,_0x68a36f)=>{if(null==_0x68a36f){const {id:_0x2d094e}=this[_0x12b3('0x100')](_0x1cece2[_0x12b3('0x134')]),_0x29f394=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x2d094e);_0x29f394&&_0x29f394[_0x12b3('0x166')](_0x1cece2[_0x12b3('0x134')]);}}),_0x1c7be5['model'][_0x12b3('0x170')]['on']('change:data',()=>{const _0x397d71=Array[_0x12b3('0x165')](_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x170')][_0x12b3('0x120')][_0x12b3('0x35')]())[_0x12b3('0xee')](_0x437e5e=>'suggestion'===this[_0x12b3('0x100')](_0x437e5e[_0x12b3('0x134')])[_0x12b3('0x42')]);if(0x0===_0x397d71[_0x12b3('0x115')])return;_0x397d71[_0x12b3('0x15')]((_0x2aff08,_0x245038)=>{const _0x3b18c6=_0x2aff08[_0x12b3('0xac')][_0x12b3('0x129')],_0x514622=_0x245038[_0x12b3('0xac')][_0x12b3('0x129')];return null===_0x3b18c6&&null===_0x514622?0x0:null===_0x3b18c6&&null!==_0x514622?-0x1:null!==_0x3b18c6&&null===_0x514622?0x1:_0x3b18c6[_0x12b3('0x15d')][_0x12b3('0x20')](_0x514622['start'])?-0x1:0x1;});const _0x369190=new Set(),_0x256e06=new Set();for(const {name:_0x532190,data:_0xe2b3fb}of _0x397d71){const {id:_0x669e88}=this[_0x12b3('0x100')](_0x532190);if(null===_0xe2b3fb[_0x12b3('0x129')]){const _0x24f33e=this['_handleNewSuggestionMarker'](_0x532190);_0x256e06['add'](_0x24f33e);}else{const _0x413716=this['_suggestions'][_0x12b3('0x6')](_0x669e88);null!==_0xe2b3fb[_0x12b3('0x10b')]||_0x413716[_0x12b3('0x11a')]?(_0x369190[_0x12b3('0x14d')](_0x413716[_0x12b3('0xb6')]),_0x256e06['add'](_0x413716)):this[_0x12b3('0x16')](_0x413716);}}_0x256e06[_0x12b3('0x105')]>0x0&&this['_refreshSuggestionsChain'](_0x256e06);for(const _0x44dd7a of _0x369190)this[_0x12b3('0x3d')](_0x12b3('0x13e'),_0x44dd7a);}),_0x1c7be5[_0x12b3('0xc3')]['on'](_0x12b3('0x4c'),(_0x1be064,_0x28c0ba)=>{const _0x3ce620=_0x28c0ba[0x0];if(!this[_0x12b3('0x174')][_0x12b3('0x105')])return;if(!_0x3ce620[_0x12b3('0xce')])return;if(_0x3ce620[_0x12b3('0x51')][_0x12b3('0xb')]||!_0x3ce620[_0x12b3('0x51')][_0x12b3('0x12d')])return;let _0x461b78,_0x3929e2;switch(_0x3ce620['type']){case _0x12b3('0x82'):_0x461b78=_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x25')](_0x3ce620[_0x12b3('0xa')]),_0x3929e2=_0x461b78[_0x12b3('0x150')](_0x3ce620[_0x12b3('0xba')]);break;case _0x12b3('0x14b'):_0x461b78=_0x1c7be5[_0x12b3('0xc3')]['createPositionAt'](_0x3ce620[_0x12b3('0x7c')]),_0x3929e2=_0x1c7be5['model']['createPositionAt'](_0x3ce620[_0x12b3('0x39')]);break;case _0x12b3('0xd7'):_0x461b78=_0x1c7be5[_0x12b3('0xc3')]['createPositionAt'](_0x3ce620[_0x12b3('0xc7')]),_0x3929e2=_0x461b78['getShiftedBy'](_0x3ce620[_0x12b3('0xba')]);break;default:return;}const _0xac7544=_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x5')](_0x461b78,_0x3929e2);_0x1c7be5[_0x12b3('0xc3')]['change'](()=>{for(const {suggestion:_0x1f4191,meta:_0x3de7d0}of this[_0x12b3('0xdd')](_0xac7544)){if(_0x1f4191[_0x12b3('0x103')])continue;if(_0x12b3('0xf')==_0x1f4191[_0x12b3('0xff')])continue;const _0x4e4190=this[_0x12b3('0x8c')](_0x1f4191);if(_0x4e4190&&this[_0x12b3('0x4d')](_0x4e4190)&&_0x12b3('0x14b')!=_0x3ce620[_0x12b3('0xff')])continue;const _0x2e631a=_0x1f4191[_0x12b3('0xac')]&&_0x1f4191['data']['multipleBlocks'];(_0x12b3('0x13f')!=_0x1f4191[_0x12b3('0xff')]||_0x12b3('0x14b')==_0x3ce620[_0x12b3('0xff')]&&!_0x2e631a)&&(_0x3de7d0['containsRangeInObject']||_0x12b3('0x12b')==_0x1f4191[_0x12b3('0xff')]&&_0x3de7d0[_0x12b3('0x14a')]||_0x1f4191[_0x12b3('0x21')]()[_0x12b3('0x87')](_0xac7544)&&this[_0x12b3('0x109')](_0x1f4191,_0x461b78,_0x3929e2));}});},{'priority':'lowest'}),_0x1c7be5[_0x12b3('0xc3')]['on'](_0x12b3('0x41'),(_0x28e358,_0x12994a)=>{const _0x56609e=_0x12994a[0x0],_0xdbedcb=_0x12994a[0x1];if(_0xdbedcb&&_0xdbedcb[_0x12b3('0x99')])return;if(this[_0x12b3('0x164')])return;if(!this[_0x12b3('0x77')][_0x12b3('0x156')])return;if(_0x56609e['isCollapsed'])return;const _0xea0cd1=_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x10f')],{start:_0xcb3f12,end:_0x243b1f}=_0x56609e[_0x12b3('0x21')](),_0x3875f7=_0xcb3f12['nodeAfter']&&_0xea0cd1['isLimit'](_0xcb3f12[_0x12b3('0x16d')])?null:_0xea0cd1[_0x12b3('0x114')](_0xcb3f12,_0x12b3('0x4')),_0x584bab=_0x243b1f[_0x12b3('0x125')]&&_0xea0cd1['isLimit'](_0x243b1f[_0x12b3('0x125')])?null:_0xea0cd1[_0x12b3('0x114')](_0x243b1f,_0x12b3('0x8a')),_0x522215=_0x1c7be5['model']['createRange'](_0x3875f7?_0x3875f7['start']:_0xcb3f12,_0x584bab?_0x584bab[_0x12b3('0xc0')]:_0x243b1f);_0x1c7be5[_0x12b3('0xc3')]['change'](_0x2b632c=>{this[_0x12b3('0x6a')](_0x522215);const _0xb88d02=_0x1c7be5[_0x12b3('0xc3')][_0x12b3('0x10f')][_0x12b3('0x114')](_0x522215[_0x12b3('0x15d')]);_0x56609e['is'](_0x12b3('0x16e'))?_0x2b632c[_0x12b3('0xe2')](_0xb88d02):_0x56609e[_0x12b3('0x5d')](_0xb88d02);}),_0x28e358[_0x12b3('0x16c')]();},{'priority':_0x4fb7c4['normal']+0xa}),_0x1c7be5['model']['on'](_0x12b3('0x81'),(_0x16e22d,_0x1f0776)=>{const _0x1c525f=_0x1f0776[_0x1f0776['length']-0x1];_0x1c525f&&_0x1c525f[_0x12b3('0x99')]||this[_0x12b3('0x164')]||this[_0x12b3('0x77')][_0x12b3('0x156')]&&(_0x1c7be5['model'][_0x12b3('0xb7')](()=>{let _0x17431b=_0x1c7be5['model'][_0x12b3('0x81')](_0x1f0776[0x0],_0x1f0776[0x1],_0x1f0776[0x2],{'forceDefaultExecution':!0x0});if(!_0x17431b)return;_0x16e22d[_0x12b3('0x14c')]=_0x17431b['clone']();const _0x3e69bc=_0x17431b['end'][_0x12b3('0x125')],_0x2203a2=_0x1c7be5[_0x12b3('0xc3')]['schema'];_0x3e69bc&&_0x2203a2['isBlock'](_0x3e69bc)&&!_0x2203a2[_0x12b3('0x12c')](_0x3e69bc)&&(_0x17431b=_0x1c7be5[_0x12b3('0xc3')]['createRange'](_0x17431b['start'],_0x1c7be5[_0x12b3('0xc3')]['createPositionAt'](_0x3e69bc,_0x12b3('0xc0')))),this['markInsertion'](_0x17431b);}),_0x16e22d[_0x12b3('0x16c')]());},{'priority':_0x12b3('0x72')}),this[_0x12b3('0x30')][_0x12b3('0x1')]['add'](_0x12b3('0xcf'),this['trackChangesCommand']),this['enableCommand'](_0x12b3('0xcf'));const _0x1d1c3e=new _0x3455e5(_0x1c7be5,this[_0x12b3('0x174')]);_0x1c7be5[_0x12b3('0x1')][_0x12b3('0x14d')]('acceptSuggestion',_0x1d1c3e),this[_0x12b3('0x124')]('acceptSuggestion');const _0x23c315=new _0x3dd08a(_0x1c7be5,this[_0x12b3('0x174')]);_0x1c7be5[_0x12b3('0x1')][_0x12b3('0x14d')]('discardSuggestion',_0x23c315),this[_0x12b3('0x124')](_0x12b3('0x83')),_0x1c7be5[_0x12b3('0x1')][_0x12b3('0x14d')](_0x12b3('0xe3'),new _0x10f2d2(_0x1c7be5,_0x1d1c3e,this['_suggestions'])),this[_0x12b3('0x124')](_0x12b3('0xe3')),_0x1c7be5[_0x12b3('0x1')]['add'](_0x12b3('0x122'),new _0x10f2d2(_0x1c7be5,_0x23c315,this[_0x12b3('0x174')])),this[_0x12b3('0x124')](_0x12b3('0x122')),_0x1c7be5[_0x12b3('0x1')][_0x12b3('0x14d')](_0x12b3('0xd9'),new _0x388f66(_0x1c7be5,_0x1d1c3e,this[_0x12b3('0x174')])),this[_0x12b3('0x124')](_0x12b3('0xd9')),_0x1c7be5[_0x12b3('0x1')][_0x12b3('0x14d')](_0x12b3('0x3e'),new _0x388f66(_0x1c7be5,_0x23c315,this[_0x12b3('0x174')])),this[_0x12b3('0x124')](_0x12b3('0x3e'));const _0x527eca=_0x1c7be5[_0x12b3('0xef')]['get']('CommentsRepository');this[_0x12b3('0x14f')](_0x527eca,'addComment',(_0x30926f,{threadId:_0x29d048})=>{const _0x83cf97=this['_suggestions'][_0x12b3('0x6')](_0x29d048);_0x83cf97&&_0x83cf97[_0x12b3('0xf8')]&&0x1===_0x83cf97['commentThread']['length']&&this[_0x12b3('0x60')](_0x29d048,{'hasComments':!0x0});},{'priority':_0x12b3('0xfc')}),this['listenTo'](_0x527eca,'removeComment',(_0xe3023d,{threadId:_0x22ad5e})=>{const _0xe9c2a4=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x22ad5e);_0xe9c2a4&&_0xe9c2a4[_0x12b3('0xf8')]&&!_0xe9c2a4[_0x12b3('0xf8')][_0x12b3('0x115')]&&this[_0x12b3('0x60')](_0x22ad5e,{'hasComments':!0x1});},{'priority':_0x12b3('0xfc')});}set[_0x12b3('0xe9')](_0x1b42c1){if(this[_0x12b3('0x7d')])throw new _0x422dda(_0x12b3('0xb1'),this);this['_adapter']=_0x1b42c1;}get[_0x12b3('0xe9')](){return this[_0x12b3('0x7d')];}[_0x12b3('0xc')]({skipNotAttached:_0x11c074=!0x1,toJSON:_0x56e42d=!0x1}={}){const _0x18fa49=[];for(const _0x41a3c7 of this[_0x12b3('0x174')][_0x12b3('0x167')]())_0x11c074&&!_0x41a3c7[_0x12b3('0x11a')]||_0x18fa49[_0x12b3('0xb9')](_0x41a3c7);return _0x56e42d?_0x18fa49[_0x12b3('0x76')](_0x4fce87=>_0x4fce87['toJSON']()):_0x18fa49;}[_0x12b3('0x57')](_0x3c3821){const _0x2afd98=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x3c3821);if(!_0x2afd98)throw new _0x422dda(_0x12b3('0x2b'),this);return _0x2afd98;}[_0x12b3('0x95')](_0x11db81){return this['_suggestions']['has'](_0x11db81);}[_0x12b3('0x15e')](_0x1ddb56){const {authorId:_0x5acf3e,id:_0x5f005e,attributes:_0x53a158}=_0x1ddb56,[_0x289842,_0x43fbd9]=_0x1ddb56[_0x12b3('0xff')][_0x12b3('0x14b')](':'),_0x19c1af=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x5f005e)||this[_0x12b3('0x6d')](_0x289842,_0x43fbd9,_0x5f005e,_0x5acf3e,_0x53a158);if(this[_0x12b3('0x93')](_0x19c1af),this[_0x12b3('0xb0')](_0x19c1af,_0x289842,_0x43fbd9||null,_0x5acf3e),_0x19c1af[_0x12b3('0xcc')]=_0x1ddb56[_0x12b3('0xcc')],_0x19c1af[_0x12b3('0xda')]=!0x0,_0x53a158&&_0x53a158[_0x12b3('0xe1')]){const _0x2ff021=_0x53a158[_0x12b3('0xe1')],_0x47bcbe=this[_0x12b3('0xa6')](_0x2ff021['authorName']);_0x19c1af[_0x12b3('0x16f')]=_0x2ff021[_0x12b3('0xcc')],_0x19c1af[_0x12b3('0x110')]=_0x47bcbe,_0x19c1af[_0x12b3('0x14e')]=!0x0;}else _0x19c1af[_0x12b3('0x16f')]=_0x1ddb56[_0x12b3('0xcc')];switch(_0x1ddb56[_0x12b3('0xac')]&&(_0x19c1af[_0x12b3('0xac')]=_0x1ddb56['data']),_0x1ddb56[_0x12b3('0x149')]&&(_0x19c1af[_0x12b3('0x149')]=_0x1ddb56['attributes']),this['_adapter']&&this['_adapter'][_0x12b3('0x11f')]||(_0x19c1af['_saved']=!0x0),this['_suggestionState'][_0x12b3('0x6')](_0x19c1af)){case _0x12b3('0x9'):this[_0x12b3('0x11e')][_0x12b3('0xc9')](_0x19c1af,'dataReady');break;case'markerReady':_0x19c1af[_0x12b3('0x11a')]?(this[_0x12b3('0x155')](new Set([_0x19c1af])),this[_0x12b3('0x112')](new Set([_0x19c1af])),this[_0x12b3('0x11e')][_0x12b3('0xc9')](_0x19c1af,'ready'),this[_0x12b3('0x3d')]('suggestionLoaded',_0x19c1af)):this[_0x12b3('0x11e')][_0x12b3('0xc9')](_0x19c1af,_0x12b3('0xf2'));}return _0x19c1af;}['acceptSuggestion'](_0x103ff6){this[_0x12b3('0x99')](()=>{this[_0x12b3('0x30')][_0x12b3('0xc3')][_0x12b3('0xb7')](()=>{for(const _0x24f70b of _0x103ff6['getAllAdjacentSuggestions']())_0x24f70b['accept']();});});}[_0x12b3('0x83')](_0x18cf80){this[_0x12b3('0x99')](()=>{this[_0x12b3('0x30')][_0x12b3('0xc3')][_0x12b3('0xb7')](()=>{for(const _0x1e094f of _0x18cf80['getAllAdjacentSuggestions']())_0x1e094f[_0x12b3('0x0')]();});});}[_0x12b3('0x124')](_0x2740e5,_0x511d26){const _0x52d1a3=this['editor'][_0x12b3('0x1')]['get'](_0x2740e5);if(!_0x52d1a3)throw new _0x422dda('track-changes-command-not-found',this,{'commandName':_0x2740e5});if(this['_enabledCommands'][_0x12b3('0xc8')](_0x52d1a3))throw new _0x422dda('track-changes-enable-command-twice',this,{'commandName':_0x2740e5});this[_0x12b3('0x11c')][_0x12b3('0x14d')](_0x52d1a3),_0x511d26&&_0x52d1a3['on'](_0x12b3('0x16a'),(_0x352ac4,_0x4479ca)=>{this[_0x12b3('0x77')][_0x12b3('0x156')]&&(this[_0x12b3('0x164')]||(_0x4479ca[_0x12b3('0x115')]>0x0&&_0x4479ca[_0x4479ca[_0x12b3('0x115')]-0x1]&&_0x4479ca[_0x4479ca[_0x12b3('0x115')]-0x1][_0x12b3('0x99')]?_0x4479ca[_0x12b3('0xa4')]():(_0x352ac4[_0x12b3('0x14c')]=_0x511d26((..._0x2c0d04)=>_0x52d1a3['execute'](..._0x2c0d04,{'forceDefaultExecution':!0x0}),..._0x4479ca),_0x352ac4[_0x12b3('0x16c')]())));},{'priority':_0x12b3('0x72')});}[_0x12b3('0x99')](_0x433fb5){let _0x1464c2,_0x5c4713;const _0x318738=this[_0x12b3('0x164')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x1464c2=_0x433fb5();}catch(_0x12e9c6){_0x5c4713=_0x12e9c6;}return _0x318738||(this[_0x12b3('0x164')]=!0x1),_0x5c4713&&_0x422dda[_0x12b3('0xe')](_0x5c4713,this),_0x1464c2;}[_0x12b3('0x158')](_0x23c0c1,_0x2028fb=null,_0xcbecae={}){if(_0x23c0c1['isCollapsed'])return null;const _0x3495d6=this[_0x12b3('0x30')][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0xb5'))['me'];for(const {suggestion:_0x3172f3,meta:_0xe49334}of this[_0x12b3('0xdd')](_0x23c0c1,_0x12b3('0x12b')))if(_0xe49334[_0x12b3('0x14a')]){if(!_0xe49334[_0x12b3('0x10a')]){if(_0xe49334['containsRangeInObject']){if(!this[_0x12b3('0x126')]||!Pt(_0x3172f3,_0xcbecae))continue;return _0x3172f3;}if(Pt(_0x3172f3,_0xcbecae))return _0x3172f3;this[_0x12b3('0x109')](_0x3172f3,_0x23c0c1[_0x12b3('0x15d')],_0x23c0c1['end']);break;}if(_0x2028fb==_0x3172f3[_0x12b3('0xdc')]&&Pt(_0x3172f3,_0xcbecae)){const _0x21c7e0=_0x3172f3['getFirstRange']();return _0x21c7e0[_0x12b3('0x15d')][_0x12b3('0x140')](_0x23c0c1['end'])?this[_0x12b3('0x145')](_0x3172f3,this[_0x12b3('0x116')][_0x12b3('0x5')](_0x23c0c1[_0x12b3('0x15d')],_0x21c7e0['end'])):this[_0x12b3('0x145')](_0x3172f3,this[_0x12b3('0x116')]['createRange'](_0x21c7e0[_0x12b3('0x15d')],_0x23c0c1['end'])),_0x3172f3;}}const _0x59aa96=_0x70dd0d(),_0x1a3163=_0x3495d6['id'],_0x21ab9e=_0x2028fb?_0x12b3('0x4f')+_0x2028fb:'insertion',_0x5b0f58=this[_0x12b3('0xd0')]({'id':_0x59aa96,'type':_0x21ab9e,'createdAt':new Date(),'authorId':_0x1a3163,'attributes':_0xcbecae});return this[_0x12b3('0x106')](_0x21ab9e,_0x59aa96,_0x1a3163,_0x23c0c1),_0x5b0f58;}[_0x12b3('0x68')](_0x5d5e7c,_0x3f35cd=_0x12b3('0x1e'),_0x1a42a7={}){const _0x4edff0=this[_0x12b3('0x30')][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0xb5'))['me'],_0x422d80=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x12b'),_0x3f35cd,_0x12b3('0x2d'));for(const _0x108117 of this['getSuggestions']())if(_0x108117[_0x12b3('0x110')]['id']==_0x4edff0['id']&&_0x12b3('0x12b')==_0x108117['type']&&_0x108117[_0x12b3('0xdc')]==_0x3f35cd&&Pt(_0x108117,_0x1a42a7)&&(_0x422d80(_0x108117[_0x12b3('0x123')](),_0x5d5e7c)||_0x422d80(_0x5d5e7c,_0x108117['getRanges']()))){for(const _0x3f3e8 of _0x5d5e7c)_0x108117[_0x12b3('0xf3')](_0x3f3e8);return _0x108117;}for(const {suggestion:_0x554ba7,meta:_0x321fbe}of this['_findSuggestions'](_0x5d5e7c,_0x12b3('0x12b'))){if(!_0x321fbe[_0x12b3('0x14a')])continue;if(!this[_0x12b3('0x126')]&&_0x321fbe[_0x12b3('0xf1')])continue;if(!Pt(_0x554ba7,_0x1a42a7))continue;let _0x216c44=!0x0;for(const _0x1b7891 of _0x554ba7[_0x12b3('0x123')]())for(const _0x5ce964 of _0x5d5e7c)if(!_0x1b7891[_0x12b3('0x87')](_0x5ce964)){_0x216c44=!0x1;break;}if(_0x216c44)return _0x554ba7;}const _0x5f436b=_0x70dd0d(),_0x330f7a=_0x4edff0['id'],_0x12018d='insertion:'+_0x3f35cd,_0x1e58d4=this[_0x12b3('0xd0')]({'id':_0x5f436b,'type':_0x12018d,'createdAt':new Date(),'authorId':_0x330f7a,'attributes':_0x1a42a7});for(const _0x2dc603 of _0x5d5e7c)this[_0x12b3('0x106')](_0x12018d,_0x5f436b,_0x330f7a,_0x2dc603,_0x524b86['getMultiRangeId']());return _0x1e58d4;}[_0x12b3('0x54')](_0x4c3d82,_0x3e25d8,_0x3a2048=null,_0x3556ed={}){if(_0x3a2048=_0x3a2048||Et(_0x3e25d8),_0x4c3d82[_0x12b3('0x7f')])return null;if(_0x12b3('0x52')===this['_trackFormatChanges']){const _0x36421c=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0xf'),_0x3a2048,_0x12b3('0xbc'));return this['forceDefaultExecution'](()=>_0x36421c([_0x4c3d82],_0x3e25d8,_0x3556ed)),null;}const _0x4f2089=this[_0x12b3('0x30')][_0x12b3('0xef')]['get'](_0x12b3('0xb5'))['me'],_0x9e5637=[];if(_0x12b3('0x159')!==this[_0x12b3('0x13')])for(const {suggestion:_0x4b9e3e,meta:_0x2bbcac}of this['_findSuggestions'](_0x4c3d82,'insertion'))_0x2bbcac[_0x12b3('0x14a')]&&!_0x2bbcac[_0x12b3('0x7')]&&_0x9e5637[_0x12b3('0xb9')](..._0x4b9e3e[_0x12b3('0x123')]());const _0x41cfa6=function(_0x55876c,_0x128a5f){const _0x1b5e65=[];for(const _0x5d713c of _0x128a5f){const _0x581a8e=_0x55876c[_0x12b3('0x3')](_0x5d713c);_0x581a8e&&_0x1b5e65[_0x12b3('0xb9')](_0x581a8e);}return _0x1b5e65;}(_0x4c3d82,_0x9e5637),_0xf5a6bb=function(_0x2fc13e,_0x3f3f56){const _0x3e1cdf=[_0x2fc13e];for(const _0x3ce13c of _0x3f3f56){let _0x3eb7db=0x0;for(;_0x3eb7db<_0x3e1cdf['length'];){const _0x5e2aa1=_0x3e1cdf[_0x3eb7db]['getDifference'](_0x3ce13c);_0x3e1cdf[_0x12b3('0x96')](_0x3eb7db,0x1,..._0x5e2aa1),_0x3eb7db+=_0x5e2aa1['length'];}}return _0x3e1cdf;}(_0x4c3d82,_0x9e5637);_0x41cfa6[_0x12b3('0x115')]&&this[_0x12b3('0x116')][_0x12b3('0xb7')](()=>{for(const _0x38af42 of _0x41cfa6){const _0x4353ed=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0xf'),_0x3a2048,'accept');this[_0x12b3('0x99')](()=>_0x4353ed([_0x38af42],_0x3e25d8,_0x3556ed));}});for(const _0x46f1da of _0xf5a6bb){let _0x23a870=null,_0x4a63bd=_0x46f1da['start'],_0x1b4486=_0x46f1da[_0x12b3('0xc0')];for(const {suggestion:_0x53acf7,meta:_0x12c82a}of this[_0x12b3('0xdd')](_0x46f1da,_0x12b3('0xf'))){if(!_0x12c82a[_0x12b3('0x14a')])continue;if(_0x53acf7[_0x12b3('0xdc')]!=_0x3a2048)continue;if(!Pt(_0x53acf7,_0x3556ed))continue;const _0x80a6d2=_0x53acf7[_0x12b3('0x21')]();if(_0x80a6d2[_0x12b3('0x87')](_0x46f1da,!0x0))return null;_0x4a63bd=_0x4a63bd['isBefore'](_0x80a6d2[_0x12b3('0x15d')])?_0x4a63bd:_0x80a6d2[_0x12b3('0x15d')],_0x1b4486=_0x1b4486[_0x12b3('0xe4')](_0x80a6d2[_0x12b3('0xc0')])?_0x1b4486:_0x80a6d2[_0x12b3('0xc0')],_0x23a870?_0x80a6d2['start']['isBefore'](_0x23a870[_0x12b3('0x21')]()['start'])?(_0x23a870[_0x12b3('0xe6')](),_0x23a870=_0x53acf7):_0x53acf7['removeMarkers']():_0x23a870=_0x53acf7;}const _0x2d2747=this[_0x12b3('0x116')][_0x12b3('0x5')](_0x4a63bd,_0x1b4486);if(_0x23a870)this[_0x12b3('0x145')](_0x23a870,_0x2d2747);else{const _0x1a5b4e=_0x70dd0d(),_0x1da970=_0x4f2089['id'];this[_0x12b3('0xd0')]({'id':_0x1a5b4e,'type':'formatInline:'+_0x3a2048,'data':_0x3e25d8,'createdAt':new Date(),'authorId':_0x1da970,'attributes':_0x3556ed}),this[_0x12b3('0x106')](_0x12b3('0x24')+_0x3a2048,_0x1a5b4e,_0x1da970,_0x2d2747);}}return null;}[_0x12b3('0x13c')](_0x2882f0,_0x553d63,_0x365845=[],_0x17c6a9=null,_0x12fc62={}){_0x553d63[_0x12b3('0x64')]||(_0x553d63[_0x12b3('0x64')]=_0x553d63[_0x12b3('0x11')]),_0x553d63[_0x12b3('0xa3')]=_0x2882f0['is'](_0x12b3('0x17')),_0x17c6a9=_0x17c6a9||Et(_0x553d63);const _0x34ed63=_0x365845[_0x12b3('0x76')](_0x2e2d99=>Ot(_0x2e2d99,this[_0x12b3('0x116')])),_0x43214b=_0x2882f0['is'](_0x12b3('0x17'))?_0x2882f0:Ot(_0x2882f0,this[_0x12b3('0x116')]);if(_0x12b3('0x52')===this['_trackFormatChanges']){const _0x58f5c9=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x13f'),_0x17c6a9,_0x12b3('0xbc'));return this[_0x12b3('0x99')](()=>_0x58f5c9([_0x43214b],_0x553d63,_0x12fc62)),null;}_0x34ed63[_0x12b3('0xb9')](_0x43214b);let _0x3f75a4=!0x0;for(const _0x10254b of _0x34ed63)if(!this['_rangeIsInLocalUserInsertion'](_0x10254b)){_0x3f75a4=!0x1;break;}if(_0x3f75a4&&_0x12b3('0x159')!==this[_0x12b3('0x13')]){const _0x3a70f8=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x13f'),_0x17c6a9,_0x12b3('0xbc'));return this[_0x12b3('0x99')](()=>_0x3a70f8([_0x43214b],_0x553d63,_0x12fc62)),null;}let _0x5ee093=null,_0x181900=_0x43214b['start'],_0x4b0323=_0x43214b[_0x12b3('0xc0')];for(const {suggestion:_0x35b298,meta:_0xcac239}of this['_findSuggestions'](_0x43214b,_0x12b3('0x13f'))){if(!_0xcac239[_0x12b3('0x14a')])continue;if(_0xcac239['isNextTo']||_0xcac239['containsRangeInObject']||_0xcac239['isInsideObject'])continue;if(_0x35b298[_0x12b3('0xac')][_0x12b3('0x64')]!=_0x553d63[_0x12b3('0x64')])continue;if(!Pt(_0x35b298,_0x12fc62))continue;const _0x2e3fe7=_0x35b298[_0x12b3('0x21')]();if(_0x35b298[_0x12b3('0xdc')]==_0x17c6a9){if(_0x2e3fe7[_0x12b3('0x87')](_0x43214b,!0x0))return null;_0x181900=_0x181900['isBefore'](_0x2e3fe7[_0x12b3('0x15d')])?_0x181900:_0x2e3fe7['start'],_0x4b0323=_0x4b0323['isAfter'](_0x2e3fe7[_0x12b3('0xc0')])?_0x4b0323:_0x2e3fe7['end'],_0x5ee093?_0x2e3fe7['start'][_0x12b3('0x20')](_0x5ee093[_0x12b3('0x21')]()[_0x12b3('0x15d')])?(_0x5ee093[_0x12b3('0xe6')](),_0x5ee093=_0x35b298):_0x35b298[_0x12b3('0xe6')]():_0x5ee093=_0x35b298;}else{const _0xfef8a=_0x43214b[_0x12b3('0x3')](_0x2e3fe7);this[_0x12b3('0x171')](_0x35b298,_0xfef8a);}}const _0x16e7ae=this['editor'][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0xb5'))['me'],_0x482d70=_0x70dd0d(),_0x38829d=_0x16e7ae['id'];if(_0x5ee093)return this[_0x12b3('0x145')](_0x5ee093,this[_0x12b3('0x116')][_0x12b3('0x5')](_0x181900,_0x4b0323)),_0x5ee093;{const _0x3145d5=this[_0x12b3('0xd0')]({'id':_0x482d70,'type':_0x12b3('0xcd')+_0x17c6a9,'data':_0x553d63,'createdAt':new Date(),'authorId':_0x38829d,'attributes':_0x12fc62});return this[_0x12b3('0x106')]('formatBlock:'+_0x17c6a9,_0x482d70,_0x38829d,this[_0x12b3('0x116')][_0x12b3('0x5')](_0x181900,_0x4b0323)),_0x3145d5;}}[_0x12b3('0x130')](_0x1084a4,_0x524a70,_0x23f98f=[],_0x3babc9=null,_0x53cd5e={}){_0x524a70[_0x12b3('0x64')]||(_0x524a70[_0x12b3('0x64')]=_0x524a70['commandName']);const _0x1308b1=_0x1084a4[0x0];_0x524a70[_0x12b3('0xa3')]=_0x1308b1['is'](_0x12b3('0x17')),_0x3babc9=_0x3babc9||Et(_0x524a70);const _0x5e22ac=_0x23f98f[_0x12b3('0x76')](_0x348249=>Ot(_0x348249,this[_0x12b3('0x116')])),_0x331f1a=_0x1308b1['is']('range')?_0x1084a4:_0x1084a4[_0x12b3('0x76')](_0x45d64a=>Ot(_0x45d64a,this['_model']));if(_0x12b3('0x52')===this[_0x12b3('0x13')]){const _0x5b893c=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x13f'),_0x3babc9,_0x12b3('0xbc'));return this['forceDefaultExecution'](()=>_0x5b893c(_0x331f1a,_0x524a70,_0x53cd5e)),null;}_0x5e22ac[_0x12b3('0xb9')](..._0x331f1a);let _0x848be0=!0x0;for(const _0x52e11f of _0x5e22ac)if(!this[_0x12b3('0x6b')](_0x52e11f)){_0x848be0=!0x1;break;}if(_0x848be0&&_0x12b3('0x159')!==this[_0x12b3('0x13')]){const _0x954043=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x13f'),_0x3babc9,'accept');return this[_0x12b3('0x99')](()=>_0x954043(_0x331f1a,_0x524a70,_0x53cd5e)),null;}const _0x2cce85=this[_0x12b3('0x30')][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0xb5'))['me'];for(const _0x1aec70 of this['getSuggestions']()){if(_0x1aec70[_0x12b3('0x110')]['id']!=_0x2cce85['id'])continue;if(_0x12b3('0x13f')!=_0x1aec70[_0x12b3('0xff')]||_0x1aec70['data'][_0x12b3('0x64')]!=_0x524a70[_0x12b3('0x64')])continue;if(!Pt(_0x1aec70,_0x53cd5e))continue;const _0x4a5e5e=_0x1aec70[_0x12b3('0xdc')]==_0x3babc9;for(let _0x268da0=0x0;_0x268da0<_0x331f1a['length'];_0x268da0++){const _0x1ef0f9=_0x331f1a[_0x268da0];for(const _0x2b20d7 of _0x1aec70[_0x12b3('0x8')]()){const _0x441a47=_0x2b20d7['getRange']();if(_0x1ef0f9['isEqual'](_0x441a47)){_0x4a5e5e?(_0x331f1a[_0x12b3('0x96')](_0x268da0,0x1),_0x268da0--):_0x1aec70['removeMarker'](_0x2b20d7[_0x12b3('0x134')]);break;}}}}if(0x0==_0x331f1a[_0x12b3('0x115')])return null;const _0x345fc5=this[_0x12b3('0x98')][_0x12b3('0x86')]('formatBlock',_0x3babc9,'join');for(const _0x2c01c5 of this['getSuggestions']())if(_0x2c01c5[_0x12b3('0x110')]['id']==_0x2cce85['id']&&_0x12b3('0x13f')==_0x2c01c5['type']&&_0x2c01c5['data'][_0x12b3('0x64')]==_0x524a70[_0x12b3('0x64')]&&_0x2c01c5[_0x12b3('0xdc')]==_0x3babc9&&Pt(_0x2c01c5,_0x53cd5e)&&(_0x345fc5(_0x2c01c5['getRanges'](),_0x331f1a)||_0x345fc5(_0x331f1a,_0x2c01c5['getRanges']()))){for(const _0x51b947 of _0x331f1a)_0x2c01c5[_0x12b3('0xf3')](_0x51b947);return _0x2c01c5;}const _0x1e0f1b=_0x70dd0d(),_0x4a31ad=_0x2cce85['id'],_0x2d91ba='formatBlock:'+_0x3babc9,_0x10d2a2=this['_setSuggestionData']({'id':_0x1e0f1b,'type':_0x2d91ba,'data':_0x524a70,'createdAt':new Date(),'authorId':_0x4a31ad,'attributes':_0x53cd5e});for(const _0x10d0d1 of _0x331f1a)this[_0x12b3('0x106')](_0x2d91ba,_0x1e0f1b,_0x4a31ad,_0x10d0d1,_0x524b86['getMultiRangeId']());return _0x10d2a2;}[_0x12b3('0x6a')](_0x1e8e4d,_0x54f891=null,_0x1cfef1={}){if(_0x1e8e4d['isCollapsed'])return null;const _0x2402ce=this['editor'][_0x12b3('0xef')]['get']('Users')['me'],_0x4b03bd=new _0x194ec4(_0x1e8e4d['start'],_0x1e8e4d['end']);for(const {suggestion:_0x1f1053,meta:_0x293327}of this[_0x12b3('0xdd')](_0x4b03bd,'insertion'))if(_0x293327[_0x12b3('0x14a')]&&!_0x293327[_0x12b3('0x10a')]){if(_0x1f1053[_0x12b3('0x103')]){const _0x654197=_0x1f1053['getRanges']()['filter'](_0x12d163=>_0x12b3('0x6c')!=_0x12d163['root']['rootName']);_0x654197[_0x12b3('0x62')](_0x223fdf=>_0x4b03bd[_0x12b3('0x87')](_0x223fdf,!0x0))&&_0x1f1053['discard']();if(_0x654197[_0x12b3('0xd1')](_0xf301b5=>_0xf301b5['containsRange'](_0x4b03bd,!0x0))){const _0x48f893=this[_0x12b3('0x98')][_0x12b3('0x86')]('deletion',_0x54f891,'accept');return this['forceDefaultExecution'](()=>_0x48f893([_0x4b03bd],null,_0x1cfef1)),null;}}else{const _0x5b2026=_0x4b03bd[_0x12b3('0x3')](_0x1f1053[_0x12b3('0x21')]());null!==_0x5b2026&&_0x1f1053[_0x12b3('0x168')]([_0x5b2026],null,_0x1cfef1);}}if(_0x4b03bd[_0x12b3('0x10')](),_0x4b03bd[_0x12b3('0x7f')]||_0x12b3('0x6c')==_0x4b03bd[_0x12b3('0x3f')][_0x12b3('0x32')])return null;let _0x4af92c=null,_0x443bbd=_0x4b03bd['start'],_0x3f3b95=_0x4b03bd[_0x12b3('0xc0')];const _0x2082cd=this[_0x12b3('0xdd')](_0x4b03bd,_0x12b3('0x157'));for(const {suggestion:_0x793b9e,meta:_0x8728da}of _0x2082cd){const _0x27e508=this[_0x12b3('0x116')]['createRange'](_0x443bbd,_0x3f3b95);if(_0x8728da[_0x12b3('0x14a')]&&(this[_0x12b3('0x126')]||!_0x8728da['containsRangeInObject']&&!_0x8728da['isInsideObject'])){if(_0x793b9e[_0x12b3('0x103')]){if(!Pt(_0x793b9e,_0x1cfef1))continue;let _0xcdd3ce=!0x0;for(const _0x597c6e of _0x793b9e[_0x12b3('0x123')]()){if(_0x597c6e[_0x12b3('0x87')](_0x27e508,!0x0))return _0x793b9e;_0x27e508['containsRange'](_0x597c6e)||(_0xcdd3ce=!0x1);}_0xcdd3ce&&_0x793b9e[_0x12b3('0x0')]();}else{const _0x311a83=_0x793b9e[_0x12b3('0x21')]();if(_0x311a83[_0x12b3('0x87')](_0x27e508,!0x0))return _0x793b9e;if(!Pt(_0x793b9e,_0x1cfef1)){_0x27e508[_0x12b3('0x87')](_0x311a83)?_0x793b9e[_0x12b3('0xe6')]():_0x311a83[_0x12b3('0xf4')](_0x443bbd)?_0x443bbd=_0x311a83[_0x12b3('0xc0')]:_0x311a83[_0x12b3('0xf4')](_0x3f3b95)&&(_0x3f3b95=_0x311a83[_0x12b3('0x15d')]);continue;}_0x443bbd=_0x443bbd[_0x12b3('0x20')](_0x311a83[_0x12b3('0x15d')])?_0x443bbd:_0x311a83[_0x12b3('0x15d')],_0x3f3b95=_0x3f3b95['isAfter'](_0x311a83[_0x12b3('0xc0')])?_0x3f3b95:_0x311a83['end'],_0x1cfef1=Object[_0x12b3('0x1d')]({},_0x793b9e['attributes']),_0x4af92c?_0x311a83[_0x12b3('0x15d')][_0x12b3('0x20')](_0x4af92c[_0x12b3('0x21')]()[_0x12b3('0x15d')])?(_0x4af92c['removeMarkers'](),_0x4af92c=_0x793b9e):_0x793b9e[_0x12b3('0xe6')]():_0x4af92c=_0x793b9e;}}}if(_0x4af92c)return this[_0x12b3('0x145')](_0x4af92c,this['_model'][_0x12b3('0x5')](_0x443bbd,_0x3f3b95)),_0x4af92c;{const _0x41a605=_0x70dd0d(),_0x1e02f6=this['_model']['createRange'](_0x443bbd,_0x3f3b95),_0xbc83f9=_0x2402ce['id'],_0x2822de=_0x54f891?_0x12b3('0x154')+_0x54f891:_0x12b3('0x157'),_0x5d5cb5=this[_0x12b3('0xd0')]({'id':_0x41a605,'type':_0x2822de,'createdAt':new Date(),'authorId':_0xbc83f9,'attributes':_0x1cfef1});return this[_0x12b3('0x106')](_0x2822de,_0x41a605,_0xbc83f9,_0x1e02f6),_0x5d5cb5;}}[_0x12b3('0x160')](_0x3128a4,_0x4a1f3f='multi',_0x26f992={}){const _0x30cd4c=this[_0x12b3('0x30')][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0xb5'))['me'],_0x279632=_0x3128a4[_0x12b3('0x76')](_0xc4239d=>new _0x194ec4(_0xc4239d[_0x12b3('0x15d')],_0xc4239d[_0x12b3('0xc0')])),_0x643771=new Set();for(const {suggestion:_0x4b2402,meta:_0x1b2b66}of this[_0x12b3('0xdd')](_0x279632,_0x12b3('0x12b')))_0x1b2b66[_0x12b3('0x14a')]&&!_0x1b2b66[_0x12b3('0x10a')]&&_0x643771[_0x12b3('0x14d')](_0x4b2402);for(const _0x3b0fb2 of _0x643771)if(_0x3b0fb2[_0x12b3('0x103')]){const _0x59152f=_0x3b0fb2[_0x12b3('0x123')]();(!_0x3b0fb2[_0x12b3('0x149')]||!_0x3b0fb2[_0x12b3('0x149')][_0x12b3('0x91')])&&(_0x59152f[_0x12b3('0x62')](_0x5ce84a=>_0x279632[_0x12b3('0xd1')](_0x45e7c3=>_0x45e7c3[_0x12b3('0x87')](_0x5ce84a,!0x0)))&&_0x3b0fb2[_0x12b3('0x0')]());if(_0x279632[_0x12b3('0x62')](_0x52cea5=>_0x59152f[_0x12b3('0xd1')](_0x495c24=>_0x495c24['containsRange'](_0x52cea5,!0x0)))){const _0x3e5864=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x157'),_0x4a1f3f,_0x12b3('0xbc'));return this[_0x12b3('0x99')](()=>_0x3e5864(_0x3128a4,null,_0x26f992)),null;}}else{const _0x31af1a=_0x3b0fb2[_0x12b3('0x21')]();_0x279632[_0x12b3('0xd1')](_0x4388da=>_0x4388da['containsRange'](_0x31af1a,!0x0))&&_0x3b0fb2[_0x12b3('0x0')]();if(_0x279632[_0x12b3('0x62')](_0x2179d6=>_0x31af1a[_0x12b3('0x87')](_0x2179d6,!0x0))){const _0x48b206=this[_0x12b3('0x98')][_0x12b3('0x86')](_0x12b3('0x157'),_0x4a1f3f,_0x12b3('0xbc'));return this['forceDefaultExecution'](()=>_0x48b206(_0x279632,null,_0x26f992)),null;}}const _0x2093fe=this[_0x12b3('0x98')]['getSuggestionCallback']('deletion',_0x4a1f3f,_0x12b3('0x2d'));let _0x26fae9=null;for(const _0x4ff5b4 of this[_0x12b3('0xc')]())if(_0x4ff5b4[_0x12b3('0x110')]['id']==_0x30cd4c['id']&&_0x4ff5b4[_0x12b3('0x11a')]&&'deletion'==_0x4ff5b4[_0x12b3('0xff')]&&_0x4ff5b4[_0x12b3('0xdc')]==_0x4a1f3f&&Pt(_0x4ff5b4,_0x26f992)&&(_0x2093fe(_0x4ff5b4[_0x12b3('0x123')](),_0x279632)||_0x2093fe(_0x279632,_0x4ff5b4[_0x12b3('0x123')]()))){if(_0x26fae9){if(_0x4ff5b4[_0x12b3('0xf8')]&&_0x4ff5b4['commentThread']['length'])continue;for(const _0x2fcd69 of _0x4ff5b4[_0x12b3('0x123')]())_0x26fae9[_0x12b3('0x69')](_0x2fcd69)||_0x26fae9[_0x12b3('0xf3')](_0x2fcd69);_0x4ff5b4[_0x12b3('0xe6')]();}else{_0x26fae9=_0x4ff5b4;for(const _0x1a708e of _0x279632)_0x4ff5b4[_0x12b3('0x69')](_0x1a708e)||_0x4ff5b4[_0x12b3('0xf3')](_0x1a708e);}}if(_0x26fae9)return _0x26fae9;_0x643771[_0x12b3('0xb3')]();for(const {suggestion:_0x404b52,meta:_0x5ac93f}of this[_0x12b3('0xdd')](_0x279632,_0x12b3('0x157')))_0x5ac93f[_0x12b3('0x14a')]&&(this['_mergeNestedSuggestions']||!_0x5ac93f[_0x12b3('0xf1')]&&!_0x5ac93f[_0x12b3('0x7')])&&Pt(_0x404b52,_0x26f992)&&_0x643771[_0x12b3('0x14d')](_0x404b52);for(const _0x84c93d of _0x643771){const _0x4a507f=_0x84c93d['getRanges']();if(!_0x26f992||!_0x26f992[_0x12b3('0x91')]){if(_0x279632['every'](_0x45b94c=>_0x4a507f[_0x12b3('0xd1')](_0x230e37=>_0x230e37[_0x12b3('0x87')](_0x45b94c,!0x0))))return _0x84c93d;}(!_0x84c93d[_0x12b3('0x149')]||!_0x84c93d[_0x12b3('0x149')][_0x12b3('0x91')])&&(_0x4a507f['every'](_0x279a6e=>_0x279632[_0x12b3('0xd1')](_0x27b421=>_0x27b421[_0x12b3('0x87')](_0x279a6e,!0x0)))&&_0x84c93d[_0x12b3('0x0')]());}const _0x272040=_0x70dd0d(),_0x3031ea=_0x30cd4c['id'],_0x329418=_0x12b3('0x154')+_0x4a1f3f,_0x40533b=this[_0x12b3('0xd0')]({'id':_0x272040,'type':_0x329418,'createdAt':new Date(),'authorId':_0x3031ea,'attributes':_0x26f992});for(const _0x311054 of _0x279632)_0x311054[_0x12b3('0x10')](),_0x311054[_0x12b3('0x7f')]||_0x12b3('0x6c')==_0x311054[_0x12b3('0x3f')][_0x12b3('0x32')]||this[_0x12b3('0x106')](_0x329418,_0x272040,_0x3031ea,_0x311054,_0x524b86[_0x12b3('0x43')]());return _0x40533b;}[_0x12b3('0x121')](_0x33abce,_0x5367e5,_0x8416a2,_0x499c31,_0x3e4e80){if(_0x33abce[_0x12b3('0x7f')])return[];if('never'===this[_0x12b3('0x13')])return[];const _0x41b78d=this['editor'][_0x12b3('0xef')]['get'](_0x12b3('0xb5'))['me']['id'],_0x2497f6=Array[_0x12b3('0x165')](this[_0x12b3('0x174')][_0x12b3('0x167')]())['filter'](_0x399a9f=>_0x12b3('0xd4')==_0x399a9f[_0x12b3('0xff')]&&_0x399a9f[_0x12b3('0xac')][_0x12b3('0xe7')]==_0x5367e5&&_0x399a9f[_0x12b3('0x69')](_0x33abce));if(_0x12b3('0x53')===this[_0x12b3('0x13')]){const _0x323c18=this['_findSuggestions'](_0x33abce,'insertion')['filter'](({meta:_0x279f93})=>_0x279f93[_0x12b3('0x14a')]&&!_0x279f93[_0x12b3('0x7')]&&!_0x279f93['isNextTo'])[_0x12b3('0x76')](({suggestion:_0x21ab63})=>_0x21ab63);_0x2497f6['unshift'](..._0x323c18);}const _0x5dfa3c=new Map([[_0x33abce,_0x8416a2]]);for(const _0x31af04 of _0x2497f6){const _0x1e6e3=_0x12b3('0xd4')==_0x31af04[_0x12b3('0xff')]?_0x31af04['data'][_0x12b3('0x13a')]:void 0x0,_0x1719d9=_0x31af04[_0x12b3('0x21')](),_0x2fb3f4=Array[_0x12b3('0x165')](_0x5dfa3c[_0x12b3('0x7e')]())[_0x12b3('0x2c')](_0x3daaab=>_0x3daaab[_0x12b3('0xc1')](_0x1719d9));if(!_0x2fb3f4)continue;const _0x18931e=_0x2fb3f4[_0x12b3('0x146')](_0x1719d9);this[_0x12b3('0x4d')](_0x5367e5)&&_0x12b3('0x12b')==_0x31af04['type']&&0x0!=_0x18931e[_0x12b3('0x115')]||(_0x5dfa3c['delete'](_0x2fb3f4),_0x18931e['forEach'](_0x613918=>{_0x5dfa3c[_0x12b3('0xc9')](_0x613918,_0x8416a2);}),'insertion'!=_0x31af04['type']&&_0x1e6e3!=_0x499c31&&_0x5dfa3c[_0x12b3('0xc9')](_0x2fb3f4['getIntersection'](_0x1719d9),_0x1e6e3));}const _0x303ca7=[];for(const [_0x17fb71,_0x129796]of _0x5dfa3c){const _0x3a96ad=_0x70dd0d(),_0x373559={'key':_0x5367e5,'oldValue':_0x129796,'newValue':_0x499c31};_0x5367e5['length']>0x25&&console[_0x12b3('0xfb')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x5367e5});const _0x362cb3=(_0x12b3('0x27')+(_0x5367e5+'|'+Et({'newValue':_0x499c31})))[_0x12b3('0x22')](0x0,0x3c),_0x2a207e=this[_0x12b3('0xd0')]({'id':_0x3a96ad,'type':_0x362cb3,'data':_0x373559,'createdAt':new Date(),'authorId':_0x41b78d,'attributes':_0x3e4e80});_0x303ca7[_0x12b3('0xb9')](_0x2a207e),this[_0x12b3('0x106')](_0x362cb3,_0x3a96ad,_0x41b78d,_0x17fb71);}return _0x303ca7;}[_0x12b3('0x46')](_0x49aed1){this[_0x12b3('0xa5')][_0x12b3('0x14d')](_0x49aed1);}[_0x12b3('0x34')](_0x5a1200){this['_inlineAttributeKeys'][_0x12b3('0x14d')](_0x5a1200);}[_0x12b3('0x136')](_0x28e085,_0x4b916e=[],_0x548b33=[]){this['enableCommand'](_0x28e085,(_0xc884e,..._0x56927f)=>{this[_0x12b3('0x58')](()=>{_0xc884e(..._0x56927f);});});for(const _0x332d85 of _0x4b916e)this[_0x12b3('0x34')](_0x332d85);for(const _0x119c16 of _0x548b33)this[_0x12b3('0x46')](_0x119c16);}[_0x12b3('0x8c')](_0x4e2534){return _0x12b3('0xd4')==_0x4e2534[_0x12b3('0xff')]?_0x4e2534[_0x12b3('0xdc')][_0x12b3('0x14b')]('|')[0x0]:null;}['_setSuggestionRange'](_0x173745,_0xc4f6b1){const _0x5c4807=_0x173745[_0x12b3('0x10c')]();this['_model'][_0x12b3('0xb7')](_0xc55a32=>{_0xc55a32['updateMarker'](_0x5c4807,{'range':_0xc4f6b1});});}['_addThreadToSuggestion'](_0x39e9ed){const _0x100463=_0x39e9ed['id'],_0x3c85d8=this[_0x12b3('0x30')][_0x12b3('0x23')]['get'](_0x12b3('0x15b'));this[_0x12b3('0x13b')][_0x12b3('0x152')](_0x100463)||this['_commentsRepository'][_0x12b3('0x8e')]({'channelId':_0x3c85d8,'threadId':_0x100463,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x390e89=this['_commentsRepository']['getCommentThread'](_0x100463);_0x390e89[_0x12b3('0x5f')](_0x12b3('0xe0')),_0x390e89[_0x12b3('0xe0')]=!0x1,_0x39e9ed['commentThread']=_0x390e89;}['_checkSuggestionCorrectness'](_0xe7fd44,_0x2eec14,_0x42f8f8,_0x360813){if(_0xe7fd44['type']!=_0x2eec14||_0xe7fd44['subType']!=_0x42f8f8||_0xe7fd44[_0x12b3('0x26')]['id']!=_0x360813)throw this[_0x12b3('0x30')][_0x12b3('0xbf')](_0x12b3('0x67')),new _0x422dda(_0x12b3('0x67'),this);}[_0x12b3('0x171')](_0x266998,_0x52454c){const _0x3722e4=_0x266998[_0x12b3('0x21')]();if(_0x52454c['isEqual'](_0x3722e4))_0x266998['removeMarkers']();else{if(_0x3722e4[_0x12b3('0x87')](_0x52454c)){const _0x48e5be=this[_0x12b3('0x116')][_0x12b3('0x25')](_0x52454c['start'][_0x12b3('0x125')],'end');this[_0x12b3('0x145')](_0x266998,this[_0x12b3('0x116')][_0x12b3('0x5')](_0x3722e4[_0x12b3('0x15d')],_0x48e5be));const _0x3373c5=_0x70dd0d(),_0x128ab7=_0x266998[_0x12b3('0x26')]['id'],_0x1053bb=_0x266998[_0x12b3('0xff')]+':'+_0x266998[_0x12b3('0xdc')];this[_0x12b3('0xd0')]({'id':_0x3373c5,'type':_0x1053bb,'createdAt':new Date(),'authorId':_0x128ab7,'data':_0x266998[_0x12b3('0xac')],'attributes':_0x266998[_0x12b3('0x149')]});const _0x38fc6c=this[_0x12b3('0x116')]['createPositionAt'](_0x52454c['end'][_0x12b3('0x61')],_0x12b3('0x14')),_0x454ab3=this[_0x12b3('0x116')][_0x12b3('0x5')](_0x38fc6c,_0x3722e4[_0x12b3('0xc0')]);this['_addSuggestionMarker'](_0x1053bb,_0x3373c5,_0x128ab7,_0x454ab3);}else{if(_0x3722e4[_0x12b3('0xf4')](_0x52454c[_0x12b3('0x15d')])){const _0x1c9e55=this[_0x12b3('0x116')][_0x12b3('0x25')](_0x52454c[_0x12b3('0x15d')][_0x12b3('0x125')],_0x12b3('0xc0'));this[_0x12b3('0x145')](_0x266998,this[_0x12b3('0x116')]['createRange'](_0x3722e4[_0x12b3('0x15d')],_0x1c9e55));}else{const _0x4eb216=this[_0x12b3('0x116')][_0x12b3('0x25')](_0x52454c['end']['parent'],_0x12b3('0x14'));this['_setSuggestionRange'](_0x266998,this[_0x12b3('0x116')]['createRange'](_0x4eb216,_0x3722e4['end']));}}}}[_0x12b3('0x6b')](_0x36c06e){for(const {suggestion:_0x17c31a,meta:_0x2a52c1}of this[_0x12b3('0xdd')](_0x36c06e,_0x12b3('0x12b'))){if(!_0x2a52c1['isOwn'])continue;const _0x236a79=_0x17c31a['getRanges']();for(const _0x56ea7c of _0x236a79)if(!_0x36c06e[_0x12b3('0x146')](_0x56ea7c)[_0x12b3('0x115')])return!0x0;}return!0x1;}[_0x12b3('0xbd')](_0x3f7f24){const _0x4b3b76=this[_0x12b3('0x30')][_0x12b3('0xef')]['get'](_0x12b3('0xb5'))[_0x12b3('0x4b')](_0x3f7f24);if(!_0x4b3b76)throw new _0x422dda(_0x12b3('0xa0'),this);return _0x4b3b76;}[_0x12b3('0xa6')](_0xddd09e){const _0x38a920=this['editor'][_0x12b3('0xef')]['get'](_0x12b3('0xb5')),_0x3f08e6=_0x71307(_0x12b3('0xe5')+_0xddd09e),_0x2871f4=_0x38a920[_0x12b3('0x4b')](_0x3f08e6);return _0x2871f4||_0x38a920[_0x12b3('0x5a')]({'id':_0x3f08e6,'name':_0xddd09e});}[_0x12b3('0x6d')](_0x4a221b,_0x43f07d,_0x1d80db,_0x5a885d,_0xffc646){const _0x2d6aec=this['_getAuthorFromId'](_0x5a885d),_0x20c25f=this[_0x12b3('0x98')]['buildSuggestion'](_0x4a221b,_0x43f07d,_0x1d80db,_0x2d6aec,_0xffc646,_0x89c072=>{this[_0x12b3('0x60')](_0x1d80db,{'attributes':_0x89c072});const _0x1b5b85=this[_0x12b3('0x57')](_0x1d80db);this[_0x12b3('0x155')](new Set([_0x1b5b85])),this[_0x12b3('0x112')](new Set([_0x1b5b85]));});return this['listenTo'](_0x20c25f,_0x12b3('0xbc'),()=>{this[_0x12b3('0x60')](_0x1d80db,{'state':'accepted'});},{'priority':_0x12b3('0x72')}),this['listenTo'](_0x20c25f,'discard',()=>{this[_0x12b3('0x60')](_0x1d80db,{'state':'rejected'});},{'priority':_0x12b3('0x72')}),this[_0x12b3('0x174')]['set'](_0x1d80db,_0x20c25f),this[_0x12b3('0x11e')][_0x12b3('0xc9')](_0x20c25f,_0x12b3('0x9')),_0x20c25f;}[_0x12b3('0x100')](_0x6733b4){const _0x46c368=_0x6733b4['split'](':');return{'group':_0x46c368[0x0],'type':_0x46c368[0x1],'subType':_0x46c368[_0x12b3('0x115')]>=0x5?_0x46c368[0x2]:null,'id':_0x46c368[_0x12b3('0x115')]<0x5?_0x46c368[0x2]:_0x46c368[0x3],'authorId':_0x46c368[_0x12b3('0x115')]<0x5?_0x46c368[0x3]:_0x46c368[0x4],'markerCount':0x6==_0x46c368[_0x12b3('0x115')]?_0x46c368[0x5]:null};}['_breakSuggestionMarker'](_0xcc176c,_0x2ef44e,_0xdd78a2){const _0x2db4e5=_0xcc176c[_0x12b3('0x21')](),_0x37ab05=_0x2db4e5[_0x12b3('0x15d')],_0x3c83cd=_0x2db4e5[_0x12b3('0xc0')];this[_0x12b3('0x145')](_0xcc176c,this[_0x12b3('0x116')][_0x12b3('0x5')](_0x37ab05,_0x2ef44e));const _0x15bc20=_0x70dd0d(),_0xb4daa4=_0xcc176c[_0x12b3('0x26')]['id'],_0x15132c=_0xcc176c[_0x12b3('0xff')]+(_0xcc176c[_0x12b3('0xdc')]?':'+_0xcc176c[_0x12b3('0xdc')]:'');this[_0x12b3('0xd0')]({'id':_0x15bc20,'type':_0x15132c,'createdAt':new Date(),'authorId':_0xb4daa4,'originalSuggestionId':_0xcc176c['id'],'attributes':_0xcc176c['attributes'],'data':_0xcc176c['data']});const _0x40c215=this[_0x12b3('0x8c')](_0xcc176c);(_0x12b3('0x13f')==_0xcc176c[_0x12b3('0xff')]||_0x40c215&&this[_0x12b3('0x4d')](_0x40c215))&&(_0xdd78a2=this['_model'][_0x12b3('0xc5')](_0xdd78a2[_0x12b3('0x61')])),this['_addSuggestionMarker'](_0x15132c,_0x15bc20,_0xb4daa4,this[_0x12b3('0x116')][_0x12b3('0x5')](_0xdd78a2,_0x3c83cd));}[_0x12b3('0xdd')](_0x148341,_0x1faca1=null){const _0x1d32b7=[],_0x1a9790=this[_0x12b3('0x30')]['plugins'][_0x12b3('0x6')](_0x12b3('0xb5'))['me'];Array[_0x12b3('0x4a')](_0x148341)||(_0x148341=[_0x148341]);for(const _0x530fd1 of this[_0x12b3('0xc')]()){if(!_0x530fd1[_0x12b3('0x11a')])continue;if(_0x1faca1&&_0x530fd1[_0x12b3('0xff')]!=_0x1faca1)continue;let _0x3db78d=!0x1;for(const _0x1350ab of _0x530fd1[_0x12b3('0x123')]()){for(const _0x3949f5 of _0x148341){const _0x42b068=_0x3949f5[_0x12b3('0x15d')]['isEqual'](_0x1350ab[_0x12b3('0xc0')])||_0x3949f5['end']['isEqual'](_0x1350ab[_0x12b3('0x15d')]);if(_0x42b068||_0x3949f5[_0x12b3('0x3')](_0x1350ab)){const _0x31b1a9=_0x3949f5[_0x12b3('0x87')](_0x1350ab)&&xt(this['_model']['schema'],_0x1350ab[_0x12b3('0x15d')],_0x3949f5),_0x57377e=_0x1350ab['containsRange'](_0x3949f5)&&xt(this[_0x12b3('0x116')]['schema'],_0x3949f5['start'],_0x1350ab);_0x1d32b7[_0x12b3('0xb9')]({'suggestion':_0x530fd1,'meta':{'isOwn':_0x1a9790==_0x530fd1[_0x12b3('0x110')],'isNextTo':_0x42b068,'isInsideObject':_0x31b1a9,'containsRangeInObject':_0x57377e}}),_0x3db78d=!0x0;break;}}if(_0x3db78d)break;}}return _0x1d32b7;}['_addSuggestionMarker'](_0x5ea41d,_0x55e376,_0x5c1db7,_0x587fa3,_0x2c705d){this[_0x12b3('0x116')]['change'](_0x1d524a=>{let _0x2a8d76='suggestion:'+_0x5ea41d+':'+_0x55e376+':'+_0x5c1db7;_0x2c705d&&(_0x2a8d76=_0x2a8d76+':'+_0x2c705d),_0x1d524a[_0x12b3('0xd6')](_0x2a8d76,{'range':_0x587fa3,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x12b3('0x16')](_0xd18eb0){const _0x3c6352=_0xd18eb0['previous'],_0xada0f5=_0xd18eb0[_0x12b3('0x135')];_0xd18eb0[_0x12b3('0x89')]=null,_0xd18eb0[_0x12b3('0x135')]=null,null!=_0x3c6352&&_0x3c6352['next']==_0xd18eb0&&(_0x3c6352[_0x12b3('0x135')]=_0xada0f5),null!=_0xada0f5&&_0xada0f5['previous']==_0xd18eb0&&(_0xada0f5['previous']=_0x3c6352),'ready'==this[_0x12b3('0x11e')]['get'](_0xd18eb0)&&(this[_0x12b3('0x11e')][_0x12b3('0xc9')](_0xd18eb0,_0x12b3('0xf2')),this[_0x12b3('0x3d')]('suggestionUnloaded',_0xd18eb0,_0x3c6352,_0xada0f5));}['_setSuggestionData'](_0x287ab0){const _0x1a010f=_0x287ab0['id'],_0x2ca907=this[_0x12b3('0x15e')](_0x287ab0);if(this[_0x12b3('0x7d')]&&this[_0x12b3('0x7d')][_0x12b3('0x11f')]){const _0x500e75=this[_0x12b3('0x30')][_0x12b3('0xef')][_0x12b3('0x6')](_0x12b3('0x37')),_0x2091d8=_0x2ca907[_0x12b3('0x131')],_0x9cf9fc=_0x2ca907['subType']?_0x2ca907[_0x12b3('0xff')]+':'+_0x2ca907[_0x12b3('0xdc')]:_0x2ca907[_0x12b3('0xff')],_0x34e4b3=this[_0x12b3('0x30')][_0x12b3('0xb2')],_0x75da18=_0x500e75[_0x12b3('0x14d')](_0x410f0d(_0x34e4b3,_0x12b3('0x3c'))),_0x2a6213={'id':_0x1a010f,'type':_0x9cf9fc,'hasComments':_0x2091d8,'data':_0x287ab0['data']||null,'originalSuggestionId':_0x287ab0[_0x12b3('0xde')]||null,'attributes':_0x2ca907['attributes']};this['_adapter'][_0x12b3('0x11f')](_0x2a6213)[_0x12b3('0xca')](_0x26ce21=>{_0x2ca907[_0x12b3('0xa9')]=!0x0,_0x500e75[_0x12b3('0x44')](_0x75da18),_0x26ce21&&_0x26ce21['createdAt']&&(this[_0x12b3('0x174')]['get'](_0x1a010f)[_0x12b3('0xcc')]=_0x26ce21['createdAt']);})[_0x12b3('0x132')](_0xa016bb=>{throw _0x265096(_0x12b3('0x118')),this[_0x12b3('0x30')][_0x12b3('0xc3')][_0x12b3('0x119')]({'isUndoable':!0x1},()=>{_0x2ca907[_0x12b3('0x0')]();}),_0x2ca907[_0x12b3('0x127')](),this['_suggestions']['delete'](_0x2ca907['id']),this[_0x12b3('0x11e')]['delete'](_0x2ca907),_0xa016bb;});}return _0x2ca907;}[_0x12b3('0x4d')](_0x32186e){return this[_0x12b3('0xa5')][_0x12b3('0xc8')](_0x32186e);}[_0x12b3('0x60')](_0x1c0db3,_0x4f3afa){const _0x1ab6ef=this['editor'][_0x12b3('0xef')]['get']('PendingActions'),_0x3fd21c=this['getSuggestion'](_0x1c0db3);if(this[_0x12b3('0x7d')]&&this[_0x12b3('0x7d')][_0x12b3('0xfe')]){if(_0x3fd21c[_0x12b3('0xa9')]){const _0x2099e9=_0x1ab6ef['add'](_0x410f0d(this['editor'][_0x12b3('0xb2')],_0x12b3('0x3c')));this[_0x12b3('0x7d')][_0x12b3('0xfe')](_0x1c0db3,_0x4f3afa)[_0x12b3('0xca')](()=>{_0x1ab6ef[_0x12b3('0x44')](_0x2099e9);});}else _0x3fd21c['on'](_0x12b3('0x80'),()=>{this['_updateSuggestionData'](_0x1c0db3,_0x4f3afa);});}}[_0x12b3('0x33')](_0x474035){if(!this['_adapter']||!this[_0x12b3('0x7d')][_0x12b3('0x57')])throw new _0x422dda(_0x12b3('0x15f'),this);return this[_0x12b3('0x7d')]['getSuggestion'](_0x474035);}[_0x12b3('0xae')](_0x27b4ac){const {id:_0x45130f,type:_0x184b43,subType:_0x290c8a,authorId:_0x4be8cd}=this[_0x12b3('0x100')](_0x27b4ac),_0x313be3=this[_0x12b3('0x174')][_0x12b3('0x6')](_0x45130f)||this['_createSuggestion'](_0x184b43,_0x290c8a,_0x45130f,_0x4be8cd,{});switch(this[_0x12b3('0xb0')](_0x313be3,_0x184b43,_0x290c8a,_0x4be8cd),this['_suggestionState'][_0x12b3('0x6')](_0x313be3)){case _0x12b3('0x9'):this[_0x12b3('0x33')](_0x45130f)[_0x12b3('0xca')](_0x4ffd14=>{let _0x12281f=Promise['resolve']();_0x4ffd14[_0x12b3('0x131')]&&(_0x12281f=this[_0x12b3('0x13b')][_0x12b3('0x79')]({'channelId':this[_0x12b3('0x30')][_0x12b3('0x23')]['get']('collaboration.channelId'),'threadId':_0x45130f})),_0x12281f[_0x12b3('0xca')](()=>{this[_0x12b3('0x15e')](_0x4ffd14)[_0x12b3('0xa9')]=!0x0;});}),this['_suggestionState'][_0x12b3('0xc9')](_0x313be3,_0x12b3('0x2'));break;case _0x12b3('0xf2'):this[_0x12b3('0x60')](_0x45130f,{'state':_0x12b3('0x162')});case _0x12b3('0x9d'):this[_0x12b3('0x11e')]['set'](_0x313be3,_0x12b3('0x142')),this[_0x12b3('0x3d')]('suggestionLoaded',_0x313be3);break;case _0x12b3('0x142'):this[_0x12b3('0x3d')](_0x12b3('0x13e'),_0x313be3);}return _0x313be3['addMarkerName'](_0x27b4ac),_0x313be3;}[_0x12b3('0x112')](_0x4ab80c){const _0x351668=Array[_0x12b3('0x165')](_0x4ab80c),_0x8a4b70=_0x351668[_0x12b3('0xee')](_0x53819a=>_0x12b3('0xd4')==_0x53819a[_0x12b3('0xff')]);this[_0x12b3('0x12a')](_0x8a4b70);const _0x350050=_0x351668[_0x12b3('0xee')](_0x439d5c=>!_0x439d5c[_0x12b3('0x103')]&&_0x12b3('0xd4')!=_0x439d5c['type']),_0x5abe7a=this[_0x12b3('0xc')]({'skipNotAttached':!0x0})[_0x12b3('0xee')](_0x5229fc=>!_0x5229fc[_0x12b3('0x103')]&&'attribute'!=_0x5229fc[_0x12b3('0xff')]),_0x444bbc=_0x5abe7a['filter'](_0x317e54=>!_0x4ab80c[_0x12b3('0xc8')](_0x317e54)),_0x4ced23=new Map(_0x5abe7a[_0x12b3('0x76')](_0x467f5e=>[_0x467f5e,this[_0x12b3('0x98')][_0x12b3('0x86')](_0x467f5e[_0x12b3('0xff')],_0x467f5e[_0x12b3('0xdc')],'chain')])),_0xedb5aa=new Map(_0x5abe7a[_0x12b3('0x76')](_0x237b14=>[_0x237b14,_0x237b14['getFirstRange']()])),_0x1488d1=new Set(),_0x3f2d44=new Set();for(let _0x45cc52=0x0;_0x45cc52<_0x350050[_0x12b3('0x115')];_0x45cc52++)_0x2a124a(_0x350050[_0x45cc52],_0x350050,_0x45cc52+0x1);for(let _0x5069ca=0x0;_0x5069ca<_0x350050['length'];_0x5069ca++)_0x2a124a(_0x350050[_0x5069ca],_0x444bbc,0x0);const _0x356cf6=new Set();for(let _0x503023=0x0;_0x503023<_0x350050[_0x12b3('0x115')];_0x503023++){const _0x1ee48c=_0x350050[_0x503023];!_0x3f2d44[_0x12b3('0xc8')](_0x1ee48c)&&_0x1ee48c[_0x12b3('0x89')]&&(_0x356cf6[_0x12b3('0x14d')](_0x1ee48c['previous']),_0x1ee48c[_0x12b3('0x89')][_0x12b3('0x135')]===_0x1ee48c&&(_0x1ee48c[_0x12b3('0x89')]['next']=null),_0x1ee48c[_0x12b3('0x89')]=null),!_0x1488d1['has'](_0x1ee48c)&&_0x1ee48c['next']&&(_0x356cf6['add'](_0x1ee48c[_0x12b3('0x135')]),_0x1ee48c[_0x12b3('0x135')][_0x12b3('0x89')]===_0x1ee48c&&(_0x1ee48c[_0x12b3('0x135')][_0x12b3('0x89')]=null),_0x1ee48c[_0x12b3('0x135')]=null);}function _0x2a124a(_0x44326b,_0x44e0af,_0x2a004f){for(let _0x51b387=_0x2a004f;_0x51b387<_0x44e0af[_0x12b3('0x115')];_0x51b387++){const _0xcfb63f=_0x4d85b2(_0x44326b,_0x44e0af[_0x51b387]);_0xcfb63f&&(_0xcfb63f[0x0][_0x12b3('0x135')]=_0xcfb63f[0x1],_0xcfb63f[0x1]['previous']=_0xcfb63f[0x0],_0x1488d1[_0x12b3('0x14d')](_0xcfb63f[0x0]),_0x3f2d44[_0x12b3('0x14d')](_0xcfb63f[0x1]));}}function _0x4d85b2(_0x4bdde0,_0x10c387){if(_0x4bdde0[_0x12b3('0x110')]['id']!==_0x10c387[_0x12b3('0x110')]['id'])return null;const _0x2f591f=_0x4ced23[_0x12b3('0x6')](_0x4bdde0)(_0x4bdde0,_0x10c387,_0xedb5aa[_0x12b3('0x6')](_0x4bdde0),_0xedb5aa['get'](_0x10c387));if(!_0x2f591f)return null;return _0x4ced23[_0x12b3('0x6')](_0x10c387)(_0x4bdde0,_0x10c387,_0xedb5aa[_0x12b3('0x6')](_0x4bdde0),_0xedb5aa[_0x12b3('0x6')](_0x10c387))?_0x2f591f[0x1][_0x12b3('0xf8')]&&_0x2f591f[0x1][_0x12b3('0xf8')][_0x12b3('0x115')]?null:_0x2f591f:null;}_0x356cf6[_0x12b3('0x105')]&&this['_refreshSuggestionsChain'](_0x356cf6);}[_0x12b3('0x12a')](_0x4e5111){if(0x0==_0x4e5111[_0x12b3('0x115')])return;const _0x296990=this[_0x12b3('0xc')]({'skipNotAttached':!0x0})['filter'](_0xad65e4=>_0x12b3('0xd4')==_0xad65e4[_0x12b3('0xff')]&&_0xad65e4[_0x12b3('0xda')]),_0x1e7402=[],_0x50bdba=new Map();for(const _0x84df36 of _0x296990){const _0x3135f4=_0x71307(_0x84df36[_0x12b3('0x149')]);_0x50bdba[_0x12b3('0xc8')](_0x3135f4)||(_0x50bdba[_0x12b3('0xc9')](_0x3135f4,_0x1e7402['length']),_0x1e7402[_0x12b3('0xb9')]([]));const _0x26aa98=_0x50bdba[_0x12b3('0x6')](_0x3135f4);_0x1e7402[_0x26aa98]['push'](_0x84df36);}!function(){_0x1e7402[_0x12b3('0x15')]((_0x1143b2,_0x31ebda)=>{const _0x3eb29a=_0x1143b2[0x0][_0x12b3('0xcc')],_0x23da36=_0x31ebda[0x0][_0x12b3('0xcc')];return _0x3eb29a==_0x23da36?_0x1143b2[0x0]['attributes'][_0x12b3('0x141')]<_0x31ebda[0x0]['attributes'][_0x12b3('0x141')]?-0x1:0x1:_0x3eb29a<_0x23da36?-0x1:0x1;});for(const _0x2c4d96 of _0x1e7402)_0x2c4d96[_0x12b3('0x15')]((_0xa31aac,_0x5ed5f8)=>_0xa31aac['id']<_0x5ed5f8['id']?-0x1:0x1);}();for(let _0x257a78=0x0;_0x257a78<_0x1e7402[_0x12b3('0x115')];_0x257a78++){if(0x0==_0x1e7402[_0x257a78][_0x12b3('0x115')])continue;const _0x39c482=[];for(let _0x4cde3c=_0x257a78+0x1;_0x4cde3c<_0x1e7402['length'];_0x4cde3c++)0x0!=_0x1e7402[_0x4cde3c][_0x12b3('0x115')]&&_0x35f13d(_0x1e7402[_0x257a78],_0x1e7402[_0x4cde3c])&&_0x39c482[_0x12b3('0xb9')](_0x4cde3c);for(const _0x46c0d4 of _0x39c482)_0x1e7402[_0x257a78]=_0x1e7402[_0x257a78][_0x12b3('0x102')](_0x1e7402[_0x46c0d4]),_0x1e7402[_0x46c0d4]=[];}for(const _0x15a345 of _0x1e7402)for(let _0x24d46b=0x0;_0x24d46b<_0x15a345[_0x12b3('0x115')];_0x24d46b++)_0x15a345[_0x24d46b][_0x12b3('0x135')]=_0x15a345[_0x24d46b+0x1]||null;for(const _0x16b055 of _0x1e7402)for(let _0x52f66d=0x0;_0x52f66d<_0x16b055[_0x12b3('0x115')];_0x52f66d++)_0x16b055[_0x52f66d]['previous']=_0x16b055[_0x52f66d-0x1]||null;function _0x35f13d(_0x3d1e25,_0x350ee2){if(_0x3d1e25[0x0][_0x12b3('0x149')]['groupId']!==_0x350ee2[0x0][_0x12b3('0x149')][_0x12b3('0x141')]&&_0x3d1e25[0x0]['author']!==_0x350ee2[0x0]['author'])return!0x1;if(!function(_0x5ea67c,_0x315120){if(!_0x5ea67c[_0x12b3('0x131')]&&!_0x315120[_0x12b3('0x131')])return!0x0;if(_0x5ea67c[_0x12b3('0x131')]&&_0x315120['hasComments'])return!0x1;if(_0x5ea67c[_0x12b3('0x131')]&&_0x315120['createdAt']<_0x5ea67c[_0x12b3('0xf8')]['comments'][_0x12b3('0x6')](0x0)[_0x12b3('0xcc')])return!0x0;if(_0x315120['hasComments']&&_0x5ea67c[_0x12b3('0xcc')]<_0x315120['commentThread'][_0x12b3('0xcb')][_0x12b3('0x6')](0x0)['createdAt'])return!0x0;return!0x1;}(_0x3d1e25[0x0],_0x350ee2[0x0]))return!0x1;const _0x599b16=_0x322306(_0x3d1e25[0x0][_0x12b3('0x149')],_0x12b3('0x141')),_0x40658e=_0x322306(_0x350ee2[0x0][_0x12b3('0x149')],_0x12b3('0x141'));if(!_0x78634b(_0x599b16,_0x40658e))return!0x1;return!!_0x3d1e25[_0x12b3('0x62')](_0x3274b2=>_0x350ee2[_0x12b3('0xd1')](_0x4e1fa=>_0x3274b2[_0x12b3('0x21')]()['isEqual'](_0x4e1fa[_0x12b3('0x21')]())))&&_0x350ee2['every'](_0xc114b7=>_0x3d1e25['some'](_0x38563f=>_0xc114b7[_0x12b3('0x21')]()[_0x12b3('0x140')](_0x38563f[_0x12b3('0x21')]())));}}[_0x12b3('0x155')](_0xef76b6){const _0x1af8f2=Array[_0x12b3('0x165')](_0xef76b6),_0x4f341d=this['getSuggestions']({'skipNotAttached':!0x0}),_0x21bcfc=_0x4f341d[_0x12b3('0xee')](_0x4c73ea=>!_0xef76b6[_0x12b3('0xc8')](_0x4c73ea)),_0x5c50ae=new Map(_0x1af8f2[_0x12b3('0x76')](_0x516703=>[_0x516703,this['_suggestionFactory'][_0x12b3('0x86')](_0x516703[_0x12b3('0xff')],_0x516703[_0x12b3('0xdc')],_0x12b3('0x2d'))])),_0x305e34=new Map(_0x4f341d['map'](_0x4737a3=>[_0x4737a3,_0x4737a3[_0x12b3('0x123')]()]));for(let _0x1a16f9=0x0;_0x1a16f9<_0x1af8f2[_0x12b3('0x115')];_0x1a16f9++){if(_0x4ae157(this,_0x1af8f2[_0x1a16f9],_0x1af8f2,_0x1a16f9+0x1))return!0x0;}for(let _0x4c4a81=0x0;_0x4c4a81<_0x1af8f2[_0x12b3('0x115')];_0x4c4a81++){if(_0x4ae157(this,_0x1af8f2[_0x4c4a81],_0x21bcfc,0x0))return!0x0;}return!0x1;function _0x4ae157(_0x507916,_0x24a6eb,_0x45dde7,_0x5f4563){for(let _0x2fcb6a=_0x5f4563;_0x2fcb6a<_0x45dde7[_0x12b3('0x115')];_0x2fcb6a++){const _0x53da98=_0x45dde7[_0x2fcb6a];if(_0x53da98[_0x12b3('0xff')]!==_0x24a6eb[_0x12b3('0xff')]||_0x53da98[_0x12b3('0x110')]['id']!==_0x24a6eb[_0x12b3('0x110')]['id']||_0x53da98[_0x12b3('0xdc')]!==_0x24a6eb['subType'])continue;if(!Ft(_0x24a6eb,_0x53da98,['groupId']))continue;if('attribute'==_0x24a6eb[_0x12b3('0xff')]&&_0x24a6eb[_0x12b3('0xac')][_0x12b3('0x13a')]!=_0x53da98[_0x12b3('0xac')][_0x12b3('0x13a')])continue;if(_0x12b3('0xd4')==_0x24a6eb[_0x12b3('0xff')]&&_0x507916[_0x12b3('0x4d')](_0x24a6eb[_0x12b3('0xac')][_0x12b3('0xe7')]))continue;if(_0x12b3('0x13f')==_0x24a6eb[_0x12b3('0xff')]){const _0x5eb247=_0x507916[_0x12b3('0x30')][_0x12b3('0xc3')],_0x1e407e=_0x24a6eb[_0x12b3('0x55')]();if(_0x1e407e&&(_0x5eb247[_0x12b3('0x10f')]['isObject'](_0x1e407e)||_0x5eb247[_0x12b3('0x10f')][_0x12b3('0x113')](_0x1e407e)))continue;}const _0x178914=_0x5c50ae[_0x12b3('0x6')](_0x24a6eb),_0x13d86a=_0x305e34[_0x12b3('0x6')](_0x24a6eb),_0xb44357=_0x305e34['get'](_0x53da98),_0x10885a=_0x24a6eb[_0x12b3('0xf8')]&&_0x24a6eb[_0x12b3('0xf8')][_0x12b3('0x115')],_0x3dbd0e=_0x53da98[_0x12b3('0xf8')]&&_0x53da98['commentThread']['length'];if(!_0x10885a&&_0x178914(_0xb44357,_0x13d86a))return _0x507916['_joinSuggestions'](_0x53da98,_0x24a6eb),_0x305e34[_0x12b3('0xf0')](_0x24a6eb),!0x0;if(!_0x3dbd0e&&_0x178914(_0x13d86a,_0xb44357))return _0x507916['_joinSuggestions'](_0x24a6eb,_0x53da98),_0x305e34['delete'](_0x53da98),!0x0;}return!0x1;}}[_0x12b3('0x172')](_0x162d9b,_0x24d6c7){if(_0x162d9b['isMultiRange'])for(const _0x5c3dc9 of _0x24d6c7[_0x12b3('0x123')]())_0x162d9b[_0x12b3('0xf3')](_0x5c3dc9);else{const _0x2a2f3c=_0x24d6c7[_0x12b3('0x21')]()[_0x12b3('0xc0')];this[_0x12b3('0x145')](_0x162d9b,this['_model'][_0x12b3('0x5')](_0x162d9b[_0x12b3('0x21')]()[_0x12b3('0x15d')],_0x2a2f3c));}_0x24d6c7['removeMarkers']();}['_getMarkerAnnouncementText'](_0x2bb190,_0x554a93){const _0x5e85c3=_0x2bb190[_0x12b3('0x45')]('format')||_0x2bb190[_0x12b3('0x45')](_0x12b3('0xd4'))?_0x12b3('0x90'):_0x2bb190[_0x12b3('0x144')]();return _0x410f0d(this[_0x12b3('0x30')][_0x12b3('0xb2')],_0x554a93+'_'+_0x5e85c3+'_SUGGESTION_ANNOUNCEMENT');}[_0x12b3('0x78')](){const _0x2aa4d5=this['editor'];_0x43578d(this[_0x12b3('0x116')],({left:_0xb4e405,entered:_0x4e5bb7})=>{const _0x362568=[];for(const _0x169d61 of _0xb4e405){const {group:_0x594f97,type:_0x537a88}=this[_0x12b3('0x100')](_0x169d61[_0x12b3('0x134')]);if('suggestion'===_0x594f97){_0x362568[_0x12b3('0xb9')](this[_0x12b3('0xfa')](_0x537a88,_0x12b3('0xed')));break;}}for(const _0x3825b5 of _0x4e5bb7){const {group:_0x5cd720,type:_0x4c47d7}=this[_0x12b3('0x100')](_0x3825b5[_0x12b3('0x134')]);if(_0x12b3('0x29')===_0x5cd720){_0x362568[_0x12b3('0xb9')](this[_0x12b3('0xfa')](_0x4c47d7,_0x12b3('0x173')));break;}}_0x362568[_0x12b3('0x115')]&&_0x2aa4d5['ui']['ariaLiveAnnouncer'][_0x12b3('0x2a')](_0x12b3('0xcf'),_0x362568['join']('\x20'));});}[_0x12b3('0x12')](_0x276aec){if(this[_0x12b3('0xeb')])return!0x1;const _0x455d0f=this[_0x12b3('0x30')],_0x2de342=_0x455d0f[_0x12b3('0xc3')]['document'][_0x12b3('0x120')][_0x12b3('0x9c')]();if(0x0==_0x2de342[_0x12b3('0x115')])return!0x1;const _0x3b5363=[],_0x51a7e2=_0x2de342[_0x12b3('0xee')](_0xc94040=>_0x12b3('0xd4')==_0xc94040[_0x12b3('0xff')]),_0x489436=_0x2de342[_0x12b3('0xee')](_0x345209=>_0x12b3('0x82')==_0x345209[_0x12b3('0xff')]&&'$text'!=_0x345209['name']),_0x2a0fe4=_0x2de342[_0x12b3('0xee')](_0x4417eb=>'remove'==_0x4417eb[_0x12b3('0xff')]&&'$text'!=_0x4417eb['name']);for(const _0x3c84f2 of _0x51a7e2)_0x3b5363[_0x12b3('0xb9')]({'key':_0x3c84f2['attributeKey'],'newValue':_0x3c84f2[_0x12b3('0x47')],'oldValue':_0x3c84f2[_0x12b3('0xc4')],'range':Ut(_0x3c84f2[_0x12b3('0x17')],_0x455d0f['model'])});for(const _0xe145ae of _0x489436){const _0x1b9af5=_0x2a0fe4[_0x12b3('0x2c')](_0x388c4f=>_0x388c4f[_0x12b3('0xa')][_0x12b3('0x140')](_0xe145ae[_0x12b3('0xa')]));_0x1b9af5&&_0x3b5363['push']({'key':_0x12b3('0xe8'),'newValue':_0xe145ae[_0x12b3('0x134')],'oldValue':_0x1b9af5[_0x12b3('0x134')],'range':_0x455d0f[_0x12b3('0xc3')][_0x12b3('0x31')](_0xe145ae[_0x12b3('0xa')][_0x12b3('0x16d')])});}return 0x0!=_0x3b5363['length']&&this[_0x12b3('0x19')](_0x276aec,_0x3b5363);}[_0x12b3('0xf9')](_0x1a082e){let _0x5a3183=!0x1;const _0x28c0bd=this[_0x12b3('0x30')][_0x12b3('0xc3')]['document'][_0x12b3('0x120')]['getChangedMarkers']()[_0x12b3('0xee')](_0xb8045c=>_0xb8045c[_0x12b3('0xac')][_0x12b3('0x10b')]&&_0xb8045c[_0x12b3('0x134')][_0x12b3('0x45')](_0x12b3('0x11b')));for(const _0x588c2e of _0x28c0bd){const {subType:_0x22f4d6,id:_0x651b74}=this['_splitMarkerName'](_0x588c2e[_0x12b3('0x134')]),_0xaac15e=_0x22f4d6['split']('|')[0x0];for(const _0x563ff6 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x563ff6['id']!=_0x651b74&&_0x12b3('0xd4')==_0x563ff6['type']&&_0x563ff6[_0x12b3('0xac')]&&_0x563ff6[_0x12b3('0xac')][_0x12b3('0xe7')]==_0xaac15e&&_0x563ff6[_0x12b3('0x21')]()['isIntersecting'](_0x588c2e['data'][_0x12b3('0x10b')])&&(this[_0x12b3('0x2e')](_0x563ff6,_0x588c2e['data']['newRange'],_0x1a082e),_0x5a3183=!0x0);}return _0x5a3183;}[_0x12b3('0x58')](_0x3f0af7){this[_0x12b3('0x30')],(this[_0x12b3('0xeb')]=!0x0,_0x3f0af7());}[_0x12b3('0x48')](_0x42fc80){const _0x53e738=this[_0x12b3('0x4d')](_0x42fc80),_0x5287a3=this[_0x12b3('0xb8')][_0x12b3('0xc8')](_0x42fc80);return _0x53e738||_0x5287a3;}['_reduceExistingSuggestions'](_0x55d6d8,_0x2c6592){if(0x0==_0x2c6592[_0x12b3('0x115')])return!0x1;let _0x4df2f0=!0x1;for(const _0x1b76cc of _0x2c6592){const _0x54557b=this[_0x12b3('0xdd')](_0x1b76cc[_0x12b3('0x17')],_0x12b3('0xd4'))['filter'](_0x471e97=>!_0x471e97['meta'][_0x12b3('0x10a')])[_0x12b3('0x76')](_0x4ad395=>_0x4ad395[_0x12b3('0x29')]),_0x2b6dcd=_0x71307({'newValue':_0x1b76cc[_0x12b3('0xaf')]});_0x54557b[_0x12b3('0xee')](_0x278e67=>{const [_0x5b0b2d,_0x481536]=_0x278e67['subType']['split']('|');return _0x5b0b2d==_0x1b76cc[_0x12b3('0xe7')]&&_0x481536!=_0x2b6dcd;})[_0x12b3('0x1c')](_0x535082=>{this[_0x12b3('0x2e')](_0x535082,_0x1b76cc[_0x12b3('0x17')],_0x55d6d8),_0x4df2f0=!0x0;});}return _0x4df2f0;}['_reduceSuggestionAttributeRange'](_0x286cfe,_0x40bd6c,_0x4b949a){const _0x4eda4d=_0x286cfe['getFirstRange']()[_0x12b3('0x146')](_0x40bd6c);0x0!==_0x4eda4d[_0x12b3('0x115')]?0x1!==_0x4eda4d[_0x12b3('0x115')]?this[_0x12b3('0x109')](_0x286cfe,_0x40bd6c[_0x12b3('0x15d')],_0x40bd6c[_0x12b3('0xc0')]):this['_setSuggestionRange'](_0x286cfe,_0x4eda4d[0x0]):_0x4b949a[_0x12b3('0x151')](_0x286cfe[_0x12b3('0x10c')]());}}class Bt{constructor(_0x2e54bf){this[_0x12b3('0xa1')]=_0x2e54bf,this[_0x12b3('0x116')]=_0x2e54bf[_0x12b3('0xc3')],this[_0x12b3('0xab')]=new Map(),this[_0x12b3('0xdb')]=new Map(),this[_0x12b3('0x18')]();}[_0x12b3('0x176')](_0x5c22f1,_0x3e1eed,_0x3dcd5a,_0x233931,_0x2ecd45,_0x4cfbc0){return new _0x524b86(this['_model'],{'type':_0x5c22f1,'subType':_0x3e1eed,'id':_0x3dcd5a,'author':_0x233931,'creator':_0x233931,'attributes':_0x2ecd45,'onAttributesChange':_0x4cfbc0,'onAccept':(..._0x11b1bd)=>this[_0x12b3('0x86')](_0x5c22f1,_0x3e1eed,'accept')(..._0x11b1bd),'onDiscard':(..._0x1340a1)=>this['getSuggestionCallback'](_0x5c22f1,_0x3e1eed,_0x12b3('0x0'))(..._0x1340a1)});}[_0x12b3('0x8b')](_0x344da4,_0x171e82,_0x251c6d,_0x40d298){const _0x523a44=_0x344da4+':'+_0x171e82+':'+_0x251c6d;this['_customCallbacks']['set'](_0x523a44,_0x40d298);}[_0x12b3('0x86')](_0xc12ab4,_0x59b4df,_0x133852){const _0x37cb6a=_0xc12ab4+':'+_0x59b4df+':'+_0x133852;return this[_0x12b3('0xab')]['get'](_0x37cb6a)||this[_0x12b3('0xdb')][_0x12b3('0x6')](_0xc12ab4+':'+_0x133852);}[_0x12b3('0x18')](){const _0x5be129=()=>!0x1,_0x1bff04=_0x32ad94=>{_0x32ad94[_0x12b3('0x15')]((_0xe05d0d,_0x516c28)=>_0xe05d0d[_0x12b3('0x15d')][_0x12b3('0x20')](_0x516c28['start'])?0x1:-0x1),this[_0x12b3('0x116')][_0x12b3('0xb7')](_0x21bf6b=>{for(const _0x52712b of _0x32ad94){let _0x3e5f01;_0x3e5f01=_0x52712b[_0x12b3('0xc0')][_0x12b3('0x5c')]&&_0x52712b[_0x12b3('0xc0')]['parent']==_0x52712b['start']['nodeAfter']?_0x21bf6b[_0x12b3('0x10e')](_0x52712b['start'][_0x12b3('0x16d')],'on'):_0x21bf6b[_0x12b3('0x10e')](_0x52712b),this[_0x12b3('0x116')][_0x12b3('0x41')](_0x3e5f01,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x547f0c=(_0x5bcf7d,_0x40ef8f)=>{_0x40ef8f&&this[_0x12b3('0x116')][_0x12b3('0xb7')](_0x552917=>{const {commandName:_0x253cfb,commandParams:_0x34b220=[]}=_0x40ef8f,_0x36fc7e=_0x5bcf7d[_0x12b3('0x76')](_0x460152=>(Rt(_0x460152)&&(_0x460152=this[_0x12b3('0x116')][_0x12b3('0x5')](_0x460152['end'])),_0x460152))[_0x12b3('0xee')](_0x681c7e=>'$graveyard'!==_0x681c7e[_0x12b3('0x3f')]['rootName']);if(_0x36fc7e[_0x12b3('0x115')]<0x1)return;const _0x222e57=Array['from'](this[_0x12b3('0x116')][_0x12b3('0x170')][_0x12b3('0xec')]['getRanges']())[_0x12b3('0x76')](_0x3d584d=>_0x194ec4[_0x12b3('0x143')](_0x3d584d));_0x552917[_0x12b3('0xe2')](_0x36fc7e);for(const _0x2f907a of this[_0x12b3('0xa1')][_0x12b3('0x1')][_0x12b3('0x1')]())_0x2f907a[_0x12b3('0x38')]();_0x34b220['push']({'forceDefaultExecution':!0x0}),this[_0x12b3('0xa1')]['execute'](_0x253cfb,..._0x34b220);const _0x2e1a61=_0x222e57[_0x12b3('0xee')](_0x258841=>'$graveyard'!=_0x258841[_0x12b3('0x3f')][_0x12b3('0x32')]);_0x2e1a61[_0x12b3('0x115')]>0x0&&_0x552917[_0x12b3('0xe2')](_0x2e1a61);for(const _0x5c1e2f of _0x222e57)_0x5c1e2f[_0x12b3('0x10')]();});},_0x4d01b9=(_0xfa72fc,_0x16a86c)=>0x1==_0xfa72fc[_0x12b3('0x115')]&&0x1==_0x16a86c[_0x12b3('0x115')]&&_0xfa72fc[0x0][_0x12b3('0xc0')]['isEqual'](_0x16a86c[0x0][_0x12b3('0x15d')]),_0x1870e4=(_0xa11b35,_0x3279b2,_0xccb737,_0xf3150c)=>Gt(_0xa11b35,_0x3279b2,_0xccb737,_0xf3150c,this[_0x12b3('0x116')])?[_0xa11b35,_0x3279b2]:Gt(_0x3279b2,_0xa11b35,_0xf3150c,_0xccb737,this[_0x12b3('0x116')])?[_0x3279b2,_0xa11b35]:null;this[_0x12b3('0xdb')][_0x12b3('0xc9')]('insertion:accept',_0x5be129),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x9e'),_0x1bff04),this[_0x12b3('0xdb')]['set']('insertion:join',_0x4d01b9),this['_defaultCallbacks'][_0x12b3('0xc9')](_0x12b3('0x12e'),_0x1870e4),this['_defaultCallbacks'][_0x12b3('0xc9')]('deletion:accept',_0x1bff04),this[_0x12b3('0xdb')]['set'](_0x12b3('0x85'),_0x5be129),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x5b'),_0x4d01b9),this[_0x12b3('0xdb')][_0x12b3('0xc9')]('deletion:chain',_0x1870e4),this[_0x12b3('0xdb')][_0x12b3('0xc9')]('formatInline:accept',_0x547f0c),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x137'),_0x5be129),this[_0x12b3('0xdb')]['set'](_0x12b3('0xbb'),_0x4d01b9),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0xdf'),_0x5be129),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x15a'),_0x547f0c),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x66'),_0x5be129),this[_0x12b3('0xdb')]['set'](_0x12b3('0x153'),_0x4d01b9),this[_0x12b3('0xdb')][_0x12b3('0xc9')]('formatBlock:chain',_0x5be129),this[_0x12b3('0xdb')][_0x12b3('0xc9')]('attribute:accept',_0x5be129),this[_0x12b3('0xdb')][_0x12b3('0xc9')]('attribute:discard',(_0x59589c,_0x194ace)=>{if(!_0x194ace)return;const _0x23a21b=this[_0x12b3('0xa1')]['plugins'][_0x12b3('0x6')](p);this[_0x12b3('0x116')][_0x12b3('0xb7')](_0xe94600=>{if(_0x12b3('0xe8')==_0x194ace[_0x12b3('0xe7')])for(const _0x49cf11 of _0x59589c){const _0x4b84b8=_0x49cf11[_0x12b3('0x15d')][_0x12b3('0x16d')],_0x556041=_0x194ace[_0x12b3('0x13a')];_0xe94600[_0x12b3('0x13d')](_0x4b84b8,_0x556041);}else{if(_0x23a21b[_0x12b3('0x4d')](_0x194ace[_0x12b3('0xe7')]))for(const _0x4ee25c of _0x59589c)void 0x0!==_0x194ace[_0x12b3('0x13a')]?_0xe94600['setAttribute'](_0x194ace[_0x12b3('0xe7')],_0x194ace[_0x12b3('0x13a')],_0x4ee25c[_0x12b3('0x15d')][_0x12b3('0x16d')]):_0xe94600[_0x12b3('0xd3')](_0x194ace['key'],_0x4ee25c[_0x12b3('0x15d')][_0x12b3('0x16d')]);else for(const _0xc22a6e of _0x59589c)_0x194ace[_0x12b3('0x13a')]?_0xe94600['setAttribute'](_0x194ace[_0x12b3('0xe7')],_0x194ace[_0x12b3('0x13a')],_0xc22a6e):_0xe94600[_0x12b3('0xd3')](_0x194ace[_0x12b3('0xe7')],_0xc22a6e);}});}),this[_0x12b3('0xdb')][_0x12b3('0xc9')](_0x12b3('0x7a'),_0x4d01b9);}}function xt(_0xdf5ca8,_0x5a8a67,_0x1e4911){for(const _0x1123d0 of _0x5a8a67[_0x12b3('0x61')][_0x12b3('0x7b')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1123d0[_0x12b3('0x3f')]==_0x1123d0)return!0x1;if(!_0x1e4911[_0x12b3('0xd5')](_0x1123d0))return!0x1;if(_0xdf5ca8[_0x12b3('0x12c')](_0x1123d0)||_0xdf5ca8[_0x12b3('0x113')](_0x1123d0))return!0x0;}return!0x1;}function Rt(_0x5c24e5){return _0x5c24e5[_0x12b3('0xc0')][_0x12b3('0x61')]==_0x5c24e5[_0x12b3('0x15d')][_0x12b3('0x16d')]&&_0x5c24e5[_0x12b3('0xc0')]['isAtStart'];}function Tt(_0x500502,_0x38e0e1,_0x4f2d22,_0x164800){const _0x2972d1=_0x244a50=>!_0x244a50[_0x12b3('0xea')]['is'](_0x12b3('0x97'))&&!_0x164800[_0x12b3('0x12c')](_0x244a50[_0x12b3('0xea')]),_0x2360c5=_0x500502['start']['getLastMatchingPosition'](_0x2972d1),_0x4c6a85=_0x500502[_0x12b3('0xc0')][_0x12b3('0x161')](_0x2972d1,{'direction':_0x12b3('0x8a')});return(!_0x500502[_0x12b3('0x15d')][_0x12b3('0x140')](_0x2360c5)||!_0x500502['end'][_0x12b3('0x140')](_0x4c6a85))&&(_0x2360c5[_0x12b3('0x20')](_0x4c6a85)?_0x4f2d22[_0x12b3('0x92')](_0x38e0e1,{'range':_0x4f2d22[_0x12b3('0x5')](_0x2360c5,_0x4c6a85)}):_0x4f2d22[_0x12b3('0x151')](_0x38e0e1),!0x0);}function Et(_0x57f31f){return _0x71307(_0x57f31f);}function Vt(_0x28526a){const _0xd9255=_0x28526a[_0x12b3('0x15d')]['nodeAfter'];return _0xd9255&&_0xd9255['is'](_0x12b3('0x74'));}function Ut(_0xdb6eb6,_0x56e52e){return null==_0xdb6eb6[_0x12b3('0xc0')][_0x12b3('0x125')]&&_0xdb6eb6[_0x12b3('0xc0')]['parent']==_0xdb6eb6[_0x12b3('0x15d')][_0x12b3('0x16d')]?Ot(_0xdb6eb6['start'][_0x12b3('0x16d')],_0x56e52e):_0xdb6eb6;}function Ot(_0x47282b,_0x12072b){const _0x391714=_0x12072b[_0x12b3('0x10f')][_0x12b3('0x12c')](_0x47282b)||_0x12072b[_0x12b3('0x10f')]['isSelectable'](_0x47282b);return _0x12072b[_0x12b3('0x5')](_0x12072b['createPositionAt'](_0x47282b,'before'),_0x391714?_0x12072b[_0x12b3('0x2f')](_0x47282b):_0x12072b[_0x12b3('0x25')](_0x47282b,'end'));}function Gt(_0x28fad7,_0x2b9e34,_0x492845,_0x15cfff,_0x39be5c){if(!Ft(_0x28fad7,_0x2b9e34))return!0x1;if(_0x492845[_0x12b3('0xc0')][_0x12b3('0x140')](_0x15cfff['start']))return!0x0;if(_0x28fad7[_0x12b3('0xff')]!=_0x2b9e34[_0x12b3('0xff')])return!0x1;if(!_0x492845[_0x12b3('0xc0')][_0x12b3('0xd')](_0x15cfff['start']))return!0x1;const _0x2e13fa=_0x39be5c[_0x12b3('0x5')](_0x492845[_0x12b3('0xc0')],_0x15cfff[_0x12b3('0x15d')])[_0x12b3('0x175')]();for(const _0x47a3d5 of _0x2e13fa)if([_0x12b3('0x71'),_0x12b3('0x4e')][_0x12b3('0x6e')](_0x47a3d5[_0x12b3('0xff')])&&_0x39be5c[_0x12b3('0x10f')][_0x12b3('0x113')](_0x47a3d5['item']))return!0x1;return!0x0;}function Ft(_0x18db0d,_0x4e2e18,_0x707a3d=[]){return!(!_0x18db0d[_0x12b3('0xda')]||!_0x4e2e18[_0x12b3('0xda')])&&_0x78634b(_0x322306(_0x18db0d[_0x12b3('0x149')],_0x707a3d),_0x322306(_0x4e2e18[_0x12b3('0x149')],_0x707a3d));}function Pt(_0x5bb75a,_0x3174f1){const _0x3d5486=Lt(_0x5bb75a[_0x12b3('0x149')]),_0xd891fa=Lt(_0x3174f1);if(!_0x5bb75a['_isDataLoaded'])return!0x1;for(const _0x46adc3 of Object[_0x12b3('0x7e')](_0xd891fa))if(!_0x78634b(_0x3d5486[_0x46adc3],_0xd891fa[_0x46adc3]))return!0x1;return!0x0;}function Lt(_0x2b79a8){const _0x4d7c42=Object[_0x12b3('0x1d')]({},_0x2b79a8);return delete _0x4d7c42[_0x12b3('0x91')],delete _0x4d7c42['tablePasteChainId'],_0x4d7c42;}