@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240121.0 → 0.0.0-nightly-20240122.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-20240121.0",
3
+ "version": "0.0.0-nightly-20240122.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-20240121.0",
44
- "ckeditor5-collaboration": "0.0.0-nightly-20240121.0",
43
+ "ckeditor5": "0.0.0-nightly-20240122.0",
44
+ "ckeditor5-collaboration": "0.0.0-nightly-20240122.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 _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;}
23
+ const _0x505b=['acceptSelectedSuggestions','attributes','oldRange','data','toUpperCase','_rangeIsInLocalUserInsertion','fire','after','track-changes-suggestion-data-mismatch','deleteContent','_cutOutSuggestionMarker','getSuggestions','suggestion','suggestionUnloaded','markBlockFormat','formatBlock:accept','_getAuthorFromId','rootName','addClass','change','trackChanges.mergeNestedSuggestions','forEach','change:data','discard','deletion:discard','trackChanges','_handleNewSuggestionMarker','model','removed','mapper','buildSuggestion','getAllAdjacentSuggestions','define','attributeNewValue','includes','head','newRange','_onDiscard','multipleBlocks','subType','containsRange','@external','multi','getIntersection','isArray','formatInline:chain','notReady','enableReadOnlyMode','registerCustomCallback','ck-suggestion-marker-formatBlock','suggestion-type','containsPosition','groupId','formatBlock:join','applyOperation','track-changes-enable-command-twice','isOwn','remove','isIntersectingWithRange','addSuggestion','_model','markAttributeChange','value','author','addSuggestionData','createdAt','_enabledCommands','isLimit','consumable','isInContent','bindElementToMarker','containerElement','document','highest','listenTo','hasComments','isLocal','change:activeMarkers','values','consume','formatInline:accept','config','get','ck-suggestion-marker-formatInline','isBlock','_editor','_isForcedDefaultExecutionBlock','_mergeNestedSuggestions','formatBlock:chain','suggestion:attribute:','options','oldValue','hasCommentThread','addMarker','group','from','end','forward','getChangedMarkers','init','selection','resolve','getSuggestion','_descriptionFactory','insertion:join','name','delete','_refreshSuggestionsChain','formatInline','getCustomProperty','detach','_registerInlineAttribute','root','track-changes-suggestion-not-found','lowest','markMultiRangeDeletion','getMultiRangeId','announce','createSelection','createRange','attribute:join','some','_getSuggestionData','hasSuggestion','_suggestions','_findSuggestions','editingDowncast','containsRangeInObject','$elementName','$text','before','_processAttributeChanges','setAttribute','_splitMarkerName','never','pop','createElement','splice','newValue','creator','editor','removeMarker','isIntersecting','_addSuggestionMarker','accept','$graveyard','insert','addCommentThread','plugins','insertion','_getExternalAuthor','isAfter','getContainedElement','addMarker:suggestion:formatBlock','_setSuggestionData','track-changes-adapter-missing-getsuggestion','Users','for','toJSON','dataReady','push','_SUGGESTION_ANNOUNCEMENT','data-suggestion','return','attribute','attribute:','every','track-changes-command-not-found','addRange','batch','markerName','$marker','formatInline:discard','_initAriaMarkerChangeAnnouncements','enqueueChange','_reduceExistingSuggestions','format','LEAVE','isBefore','_getMarkerAnnouncementText','tablePasteChainId','markMultiRangeInsertion','removeAttribute','registerPostFixer','isMultiRange','suggestionLoaded','markInlineFormat','suggestionChanged','splitPosition','toViewElement','commentThread','ready','_removeSuggestion','map','getItems','nodeAfter','insertion:accept','_customCallbacks','isObject','_processAttributeSuggestions','unbindElementFromMarkerName','editing','activeMarkers','_recordAttributeChanges','addHighlight','position','getShiftedBy','TrackChangesEditing','size','isRemovable','getSuggestionCallback','_joinSuggestions','acceptAllSuggestions','getAttribute','backward','addMarkerName','_setSuggestionRange','_blockAttributeKeys','_adapter','_trackFormatChanges','deletion:accept','collaboration.channelId','unbind','setSelection','type','skipNestingCheck','join','isEqual','locale','fromRange','markMultiRangeBlockFormat','requires','getRanges','schema','_isDataLoaded','external:','getDifference','formatInline:','insertContent','getNearestSelectionRange','removeMarkers','parent','addMarker:suggestion:attribute','howMany','split','_refreshAttributeSuggestionsChain','getFirstMarker','adapter','isCollapsed','getAncestors','isUndo','deletion:','commandName','isNextTo','stop','insertion:','_isRegisteredAttribute','track-changes-user-not-found','markerNameToElements','markers','showSuggestionHighlights','containsItem','comments','start','markerReady','removeClass','marker-count','assign','change:_saved','_suggestionState','_element','_updateSuggestionData','isDocumentOperation','dataDowncast','_inlineAttributeKeys','markerToData','rethrowUnexpectedError','formatGroupId','default','sort','_registerBlockAttribute','originalSuggestionId','trackChangesCommand','item','formatInline:join','high','elementStart','updateSuggestion','set','writer','attributeOldValue','addUser','catch','conversion','markInsertion','_getAttributeKey','ck-suggestion-marker-','_saved','then','upcast','insertion:chain','getMarkers','deletion','isInsideObject','add','forceDefaultExecution','formatBlock:discard','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.','fromCharCode','formatBlock','accepted','getCommentThread','execute','elementEnd','_defaultCallbacks','key','ENTER','track-changes-adapter-already-set','acceptSuggestion','markDeletion','ck-suggestion-marker','getChanges','deletion:chain','element','CommentsRepository','_suggestionFactory','getLastMatchingPosition','previous','markerToHighlight','_reduceSuggestionAttributeRange','_registerDefaultCallbacks','pluginName','_breakSuggestionMarker','createPositionAt','enableCommand','_commentsRepository','find','differ','filter','has','getUser','always','trackChanges.trackFormatChanges','low','getFirstRange','update:suggestion','normal','next','authoredAt','range','updateMarker','authorName','startsWith','_joinWithAdjacentSuggestions','_createSuggestion','fetchCommentThread','_recordAttributeSuggestions','_afterChanges','_checkSuggestionCorrectness','createPositionBefore','FORMATTING','move','formatBlock:','concat','_enableDefaultAttributesIntegration','_addThreadToSuggestion','ck-suggestion-marker--active','discardSelectedSuggestions','isAtEnd','warn','discardAllSuggestions','discardSuggestion','commands','_isBlockAttribute','attributeKey','length','nodeBefore'];(function(_0x1bbd9a,_0x505b5e){const _0x482e1e=function(_0x4fde0d){while(--_0x4fde0d){_0x1bbd9a['push'](_0x1bbd9a['shift']());}};_0x482e1e(++_0x505b5e);}(_0x505b,0xd8));const _0x482e=function(_0x1bbd9a,_0x505b5e){_0x1bbd9a=_0x1bbd9a-0x0;let _0x482e1e=_0x505b[_0x1bbd9a];return _0x482e1e;};import{Plugin as _0x8475d0,PendingActions as _0x2299ad}from'ckeditor5/src/core.js';import{LiveRange as _0x5be075}from'ckeditor5/src/engine.js';import{CKEditorError as _0x101e5f,uid as _0x10d598,priorities as _0x3269bc,logWarning as _0x207c48}from'ckeditor5/src/utils.js';import{toWidget as _0x5e5b34}from'ckeditor5/src/widget.js';import{Users as _0x3c67c3,hashObject as _0x30c611,surroundingMarkersDetector as _0x4d5183}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xb24a0c from'./commands/trackchangescommand.js';import _0x1a974b from'./commands/acceptsuggestioncommand.js';import _0x84f211 from'./commands/discardsuggestioncommand.js';import _0x2c1061 from'./commands/executeonallsuggestionscommand.js';import _0x5226b8 from'./commands/executeonselectedsuggestionscommand.js';import _0x28914f from'./suggestion.js';import _0xfc3cc7 from'./suggestiondescriptionfactory.js';import _0x554e50 from'./integrations/aiassistant.js';import _0xe7595c from'./integrations/alignment.js';import _0x56f8a7 from'./integrations/basicstyles.js';import _0x29f9c9 from'./integrations/blockquote.js';import _0x4f7b9f from'./integrations/casechange.js';import _0x267123 from'./integrations/ckbox.js';import _0x5f3f90 from'./integrations/codeblock.js';import _0x49b4d5 from'./integrations/comments.js';import _0x3f90eb from'./integrations/deletecommand.js';import _0x496e0a from'./integrations/list.js';import _0x2e9727 from'./integrations/listproperties.js';import _0x28c585 from'./integrations/entercommand.js';import _0x44345b from'./integrations/findandreplace.js';import _0x17609f from'./integrations/font.js';import _0x337425 from'./integrations/formatpainter.js';import _0x581a19 from'./integrations/heading.js';import _0xb4c8af from'./integrations/highlight.js';import _0x507043 from'./integrations/horizontalline.js';import _0x1a8f25 from'./integrations/htmlembed.js';import _0x4c48e4 from'./integrations/image.js';import _0x2f7810 from'./integrations/imagereplace.js';import _0x2bb78c from'./integrations/imagestyle.js';import _0x885c7d from'./integrations/importword.js';import _0x3606a9 from'./integrations/indent.js';import _0xae1b95 from'./integrations/inputcommand.js';import _0x35a438 from'./integrations/link.js';import _0x32f6d4 from'./integrations/legacylist.js';import _0x212e93 from'./integrations/legacylistproperties.js';import _0x422c04 from'./integrations/mediaembed.js';import _0x2ac3f6 from'./integrations/mention.js';import _0x25c487 from'./integrations/pagebreak.js';import _0x74acc7 from'./integrations/paragraph.js';import _0x396739 from'./integrations/removeformat.js';import _0x553730 from'./integrations/restrictededitingmode.js';import _0x1317aa from'./integrations/shiftentercommand.js';import _0x5133c8 from'./integrations/standardeditingmode.js';import _0x1f27f9 from'./integrations/style.js';import _0x173e5a from'./integrations/table.js';import _0x1e4e77 from'./integrations/tablemergesplit.js';import _0x1cd0ec from'./integrations/tableheadings.js';import _0x44952f from'./integrations/tableclipboard.js';import _0x4d48e7 from'./integrations/tablecolumnresize.js';import _0x3f7bf3 from'./integrations/template.js';import _0x18af6c from'./integrations/tableofcontents.js';import _0x4c5a6d from'./integrations/title.js';import _0x59fb76 from'./integrations/undo.js';import _0x14bbff from'./integrations/tablecaption.js';import _0x5f137d from'./integrations/tableproperties.js';import{getTranslation as _0x1df92a}from'./utils/common-translations.js';import{isEqual as _0x453c36,omit as _0x30c130}from'lodash-es';export const renameAttributeKey=_0x482e('0x121');export default class p extends _0x8475d0{static get[_0x482e('0xf')](){return[_0x482e('0x6c'),_0x3c67c3,_0x2299ad,_0x554e50,_0xe7595c,_0x56f8a7,_0x29f9c9,_0x267123,_0x4f7b9f,_0x5f3f90,_0x49b4d5,_0x3f90eb,_0x28c585,_0x44345b,_0x17609f,_0x337425,_0x581a19,_0xb4c8af,_0x507043,_0x1a8f25,_0x4c48e4,_0x2bb78c,_0x2f7810,_0x885c7d,_0x3606a9,_0xae1b95,_0x32f6d4,_0x212e93,_0x35a438,_0x496e0a,_0x2e9727,_0x422c04,_0x2ac3f6,_0x25c487,_0x74acc7,_0x396739,_0x553730,_0x1317aa,_0x5133c8,_0x1f27f9,_0x173e5a,_0x1e4e77,_0x1cd0ec,_0x14bbff,_0x44952f,_0x4d48e7,_0x18af6c,_0x5f137d,_0x3f7bf3,_0x4c5a6d,_0x59fb76];}static get[_0x482e('0x73')](){return _0x482e('0x170');}constructor(_0xbe85fa){function _0xa612c7(_0x507276){return _0x507276['map'](_0x550d22=>String[_0x482e('0x5c')](_0x550d22))[_0x482e('0xa')]('');}super(_0xbe85fa),this[_0x482e('0x8c')]=!0x1,this[_0x482e('0x48')](_0x482e('0x16b'),[]),this['on'](_0x482e('0xee'),(_0x948f03,_0x467670,_0x242d94,_0x3ffc3d)=>{this['_model'][_0x482e('0xb4')](()=>{for(const _0x3e6cb8 of[..._0x3ffc3d,..._0x242d94])this['_model'][_0x482e('0x2b')]['has'](_0x3e6cb8)&&_0xbe85fa[_0x482e('0x16a')]['reconvertMarker'](_0x3e6cb8);});}),this[_0x482e('0x108')]=new _0xfc3cc7(this[_0x482e('0x12d')][_0x482e('0xbc')]['schema'],this[_0x482e('0x12d')]['locale']),this['_adapter']=null,this['_suggestionFactory']=new Bt(this[_0x482e('0x12d')]),this[_0x482e('0x11d')]=new Map(),this['_commentsRepository']=_0xbe85fa[_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x6c')),this['_enabledCommands']=new Set(),this[_0x482e('0xdd')]=this['editor']['model'],this[_0x482e('0x35')]=new WeakMap(),this[_0x482e('0xf7')]=!0x1,this[_0x482e('0x1')]=new Set(['$elementName']),this['_inlineAttributeKeys']=new Set(),_0xbe85fa[_0x482e('0xf2')][_0x482e('0xc1')](_0x482e('0x7e'),_0x482e('0x3e')),this[_0x482e('0x3')]=_0xbe85fa[_0x482e('0xf2')][_0x482e('0xf3')](_0x482e('0x7e')),_0xbe85fa['config']['define'](_0x482e('0xb5'),!0x0),this[_0x482e('0xf8')]=_0xbe85fa['config'][_0x482e('0xf3')](_0x482e('0xb5')),this[_0x482e('0x42')]=new _0xb24a0c(_0xbe85fa,this[_0x482e('0xe3')]),this[_0x482e('0x14e')](),this[_0xa612c7([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xa612c7([0x34,0x30,0x34,0x38,0x30,0x32,0x34,0x34]);}[_0x482e('0x104')](){const _0x9f682c=this['editor'],_0xc9067d=(_0x8449dd,_0x333a3b)=>{if(_0x482e('0x145')!=_0x8449dd)return _0x482e('0x50')+_0x8449dd;const _0x5e6fe0=_0x333a3b[_0x482e('0x1c')]('|')[0x0];return this['_isBlockAttribute'](_0x5e6fe0)?'ck-suggestion-marker-formatBlock':_0x482e('0xf4');};_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x11f'))[_0x482e('0x70')]({'model':'suggestion','view':_0x111dff=>{const {id:_0x182a9f,type:_0x2623b6,subType:_0xf949c0}=this[_0x482e('0x126')](_0x111dff[_0x482e('0x14b')]),_0x37a479=[_0x482e('0x68'),_0xc9067d(_0x2623b6,_0xf949c0)];let _0x1790c7=0xbb8;return this[_0x482e('0x16b')]['includes'](_0x111dff[_0x482e('0x14b')])&&(_0x37a479[_0x482e('0x141')](_0x482e('0x96')),_0x1790c7=0xbc2),_0x482e('0x56')==_0x2623b6&&(_0x1790c7+=0x5),{'classes':_0x37a479,'attributes':{'data-suggestion':_0x182a9f},'priority':_0x1790c7};}}),_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x39'))['add'](_0x2d8f0d=>{_0x2d8f0d['on']('addMarker:suggestion',(_0x17cb00,_0x4db2bc,_0x36c4b6)=>{if(!_0x36c4b6[_0x482e('0xfb')]['showSuggestionHighlights'])return;const _0x37e7e4=_0x4db2bc['item'];if(!_0x37e7e4)return;const _0x49fe83=_0x36c4b6[_0x482e('0xbe')]['toViewElement'](_0x37e7e4);_0x9f682c[_0x482e('0xbc')][_0x482e('0x11')][_0x482e('0x167')](_0x37e7e4)&&_0x49fe83&&!_0x49fe83[_0x482e('0x10e')]('widget')&&_0x49fe83['is'](_0x482e('0xe8'))&&_0x5e5b34(_0x49fe83,_0x36c4b6[_0x482e('0x49')]);},{'priority':_0x482e('0x45')});}),_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x39'))[_0x482e('0x70')]({'model':_0x482e('0xad'),'view':(_0x4f2ec4,_0x226c92)=>{if(!_0x226c92['options'][_0x482e('0x2c')])return null;const {type:_0x3a0578,subType:_0x4637b7}=this[_0x482e('0x126')](_0x4f2ec4['markerName']);return{'classes':[_0x482e('0x68'),_0xc9067d(_0x3a0578,_0x4637b7)],'priority':0xbb8};}});const _0x4c7ac2=({showActiveMarkers:_0x539823=!0x0,isAttributeSuggestion:_0x59d998=!0x1}={})=>(_0x35adbc,_0x5926f6,_0x428edc)=>{if(!_0x5926f6['item'])return;const {id:_0x2c9ce9}=this[_0x482e('0x126')](_0x5926f6[_0x482e('0x14b')]);if(_0x59d998){const _0x4ba3b5=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x2c9ce9),_0x1cd336=this[_0x482e('0x4f')](_0x4ba3b5);if(!this[_0x482e('0x9d')](_0x1cd336))return;}if(_0x5926f6[_0x482e('0x43')]['is'](_0x482e('0x105')))return void _0x428edc[_0x482e('0xe5')]['consume'](_0x5926f6[_0x482e('0x43')],_0x35adbc[_0x482e('0x10a')]);const _0x519eef=_0x428edc[_0x482e('0xbe')][_0x482e('0x15e')](_0x5926f6[_0x482e('0x43')]);if(_0x5926f6['item']['is'](_0x482e('0x6b'))&&_0x9f682c[_0x482e('0xbc')][_0x482e('0x11')][_0x482e('0xf5')](_0x5926f6['item'])&&!_0x519eef['getCustomProperty'](_0x482e('0x16d'))){_0x428edc[_0x482e('0x49')][_0x482e('0xb3')]([_0x482e('0x68'),_0x482e('0xd2')],_0x519eef),_0x428edc['writer'][_0x482e('0x125')]('data-suggestion',_0x2c9ce9,_0x519eef),_0x428edc[_0x482e('0xbe')][_0x482e('0xe7')](_0x519eef,_0x5926f6['markerName']),_0x539823&&(this[_0x482e('0x16b')][_0x482e('0xc3')](_0x5926f6[_0x482e('0x14b')])?_0x428edc['writer'][_0x482e('0xb3')](_0x482e('0x96'),_0x519eef):_0x428edc['writer'][_0x482e('0x31')](_0x482e('0x96'),_0x519eef));for(const _0x534c36 of _0x9f682c['model']['createRangeIn'](_0x5926f6[_0x482e('0x43')])[_0x482e('0x163')]())_0x428edc['consumable'][_0x482e('0xf0')](_0x534c36,_0x35adbc['name']);_0x428edc['consumable'][_0x482e('0xf0')](_0x5926f6['item'],_0x35adbc[_0x482e('0x10a')]);}};_0x9f682c[_0x482e('0x4d')]['for'](_0x482e('0x39'))[_0x482e('0x58')](_0x55c0b8=>{_0x55c0b8['on'](_0x482e('0x13a'),(_0x44e306,_0x55f52e,_0x20e7f0)=>{_0x20e7f0[_0x482e('0xfb')][_0x482e('0x2c')]&&_0x4c7ac2({'showActiveMarkers':!0x1})(_0x44e306,_0x55f52e,_0x20e7f0);},{'priority':_0x482e('0xea')});}),_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x39'))[_0x482e('0x58')](_0x378dac=>{_0x378dac['on']('addMarker:suggestion:attribute',(_0x3d6deb,_0x100dbc,_0x34be32)=>{_0x34be32[_0x482e('0xfb')]['showSuggestionHighlights']&&_0x4c7ac2({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x3d6deb,_0x100dbc,_0x34be32);},{'priority':_0x482e('0xea')});}),_0x9f682c['conversion'][_0x482e('0x13e')](_0x482e('0x39'))[_0x482e('0x3b')]({'model':_0x482e('0xad'),'view':(_0xe78f90,_0x4085d7)=>_0x4085d7['options'][_0x482e('0x2c')]?null:{'group':_0x482e('0xad'),'name':_0xe78f90['substr'](0xb)}}),_0x9f682c['conversion'][_0x482e('0x13e')](_0x482e('0x53'))['elementToElement']({'view':{'name':_0x482e('0xad'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x27de92,{writer:_0x52c3e8})=>{let _0x1ef4cd='suggestion:'+_0x27de92[_0x482e('0x176')](_0x482e('0xd3'))+':'+_0x27de92[_0x482e('0x176')]('id');return _0x27de92[_0x482e('0x176')](_0x482e('0x32'))&&(_0x1ef4cd+=':'+_0x27de92['getAttribute'](_0x482e('0x32'))),_0x52c3e8[_0x482e('0x129')](_0x482e('0x14c'),{'data-name':_0x1ef4cd});}}),_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x53'))['dataToMarker']({'view':_0x482e('0xad')}),_0x9f682c['conversion'][_0x482e('0x13e')]('editingDowncast')['add'](_0x1284ee=>{_0x1284ee['on']('addMarker:suggestion:formatBlock',_0x4c7ac2(),{'priority':_0x482e('0x45')});}),_0x9f682c['conversion'][_0x482e('0x13e')](_0x482e('0x11f'))[_0x482e('0x58')](_0x464643=>{_0x464643['on'](_0x482e('0x1a'),_0x4c7ac2({'isAttributeSuggestion':!0x0}),{'priority':_0x482e('0x45')});}),_0x9f682c['conversion'][_0x482e('0x13e')](_0x482e('0x11f'))[_0x482e('0x58')](_0x46681d=>{_0x46681d['on']('removeMarker:suggestion:formatBlock',(_0x188379,_0x3835c5,_0x4c0ca2)=>{const _0x3ac543=_0x4c0ca2['mapper'][_0x482e('0x2a')](_0x3835c5[_0x482e('0x14b')]);if(_0x3ac543)for(const _0x1bce0e of _0x3ac543)_0x1bce0e[_0x482e('0x10e')]('addHighlight')||(_0x4c0ca2[_0x482e('0x49')][_0x482e('0x31')](['ck-suggestion-marker',_0x482e('0xd2'),_0x482e('0x96')],_0x1bce0e),_0x4c0ca2[_0x482e('0x49')][_0x482e('0x157')](_0x482e('0x143'),_0x1bce0e),_0x4c0ca2[_0x482e('0xbe')][_0x482e('0x169')](_0x1bce0e,_0x3835c5[_0x482e('0x14b')]));},{'priority':_0x482e('0x45')});}),_0x9f682c[_0x482e('0x4d')][_0x482e('0x13e')](_0x482e('0x11f'))[_0x482e('0x58')](_0x51adbe=>{_0x51adbe['on']('removeMarker:suggestion:attribute',(_0x5b0099,_0x48257a,_0x449e53)=>{const _0x163ee1=_0x449e53['mapper'][_0x482e('0x2a')](_0x48257a[_0x482e('0x14b')]);if(!_0x163ee1)return;const {id:_0x59b0f5}=this['_splitMarkerName'](_0x48257a['markerName']),_0x49fbf5=this['_suggestions'][_0x482e('0xf3')](_0x59b0f5),_0x16d4b0=this[_0x482e('0x4f')](_0x49fbf5);if(this['_isBlockAttribute'](_0x16d4b0))for(const _0x664313 of _0x163ee1)_0x664313['getCustomProperty'](_0x482e('0x16d'))||(_0x449e53[_0x482e('0x49')]['removeClass']([_0x482e('0x68'),_0x482e('0xd2'),_0x482e('0x96')],_0x664313),_0x449e53[_0x482e('0x49')][_0x482e('0x157')]('data-suggestion',_0x664313),_0x449e53[_0x482e('0xbe')][_0x482e('0x169')](_0x664313,_0x48257a[_0x482e('0x14b')]));},{'priority':_0x482e('0x45')});}),_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')][_0x482e('0x158')](_0x5eb356=>{let _0x2eda0d=!0x1;const _0x3d80f3=Array[_0x482e('0x100')](_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')][_0x482e('0x79')]['getChangedMarkers']()),_0x2e5091=new Set();for(const {name:_0x531a4b,data:_0x3252fd}of _0x3d80f3){const {group:_0x37ec13,type:_0x5b7e0f,subType:_0x5e2e15,id:_0x449d7a}=this[_0x482e('0x126')](_0x531a4b);if(_0x482e('0xad')!==_0x37ec13)continue;const _0x2eb675=this[_0x482e('0x11d')]['get'](_0x449d7a);if(null!=_0x3252fd[_0x482e('0xc5')]){_0x482e('0x10d')==_0x5b7e0f&&(_0x2eda0d=_0x2eda0d||Tt(_0x3252fd['newRange'],_0x531a4b,_0x5eb356,_0x9f682c[_0x482e('0xbc')][_0x482e('0x11')]));const _0xcc4ce6=_0x482e('0x145')==_0x5b7e0f&&this['_isBlockAttribute'](_0x5e2e15[_0x482e('0x1c')]('|')[0x0]);if(_0x3252fd['newRange']['isCollapsed']||_0x482e('0x132')==_0x3252fd['newRange'][_0x482e('0x111')][_0x482e('0xb2')]||_0x482e('0x5d')==_0x5b7e0f&&!Vt(_0x3252fd[_0x482e('0xc5')])||_0xcc4ce6&&!Vt(_0x3252fd['newRange'])||_0x482e('0x56')==_0x5b7e0f&&!(!Rt(_0x46c5ba=_0x3252fd[_0x482e('0xc5')])&&!function(_0x426a48){return _0x426a48['start'][_0x482e('0x19')]==_0x426a48[_0x482e('0x101')][_0x482e('0xa0')]&&_0x426a48[_0x482e('0x2f')][_0x482e('0x98')];}(_0x46c5ba)))_0x5eb356[_0x482e('0x12e')](_0x531a4b),_0x2eda0d=!0x0;else{if(!_0x2eb675||!_0x2eb675[_0x482e('0xe6')])continue;_0x2e5091[_0x482e('0x58')](_0x2eb675);}}}var _0x46c5ba;return _0x2e5091[_0x482e('0x171')]>0x0&&(_0x2eda0d=!!this['_joinWithAdjacentSuggestions'](_0x2e5091)||_0x2eda0d),_0x2eda0d;}),_0x9f682c[_0x482e('0xbc')]['document'][_0x482e('0x158')](_0x5b0890=>{let _0x130929=!0x1;for(const _0x77e3c0 of _0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')]['differ']['getChanges']())if('insert'==_0x77e3c0[_0x482e('0x8')])for(const _0x51b8c0 of this[_0x482e('0x11d')][_0x482e('0xef')]()){if(_0x51b8c0[_0x482e('0x159')]||!_0x51b8c0['isInContent'])continue;const _0xa9fec0=_0x482e('0x5d')==_0x51b8c0[_0x482e('0x8')],_0x314264=this[_0x482e('0x4f')](_0x51b8c0),_0x3c81e4=_0x314264&&this[_0x482e('0x9d')](_0x314264);if(!_0xa9fec0&&!_0x3c81e4)continue;const _0x352dd2=_0x51b8c0['getFirstRange']();if(_0x352dd2['start']['parent']!=_0x352dd2[_0x482e('0x101')][_0x482e('0x19')]&&!_0x352dd2['end'][_0x482e('0x98')]){const _0x4af347=_0x9f682c['model']['createPositionAt'](_0x352dd2[_0x482e('0x2f')][_0x482e('0x164')],_0x482e('0x101')),_0x4e4aa1=_0x9f682c[_0x482e('0xbc')]['createRange'](_0x352dd2[_0x482e('0x2f')],_0x4af347);_0x5b0890[_0x482e('0x86')](_0x51b8c0[_0x482e('0x1e')](),{'range':_0x4e4aa1}),_0x130929=!0x0;}}return _0x130929;}),_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')][_0x482e('0x158')](_0x410b6b=>this[_0x482e('0x124')](_0x410b6b)),_0x9f682c[_0x482e('0xbc')]['document'][_0x482e('0x158')](_0x2bf22b=>!_0x2bf22b['batch'][_0x482e('0xed')]&&this[_0x482e('0x168')](_0x2bf22b)),_0x9f682c['model']['on'](_0x482e('0x8d'),()=>{this[_0x482e('0x8c')]=!0x1;}),_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')]['on'](_0x482e('0xb7'),(_0xd8eeab,_0x184c8a)=>{if(!_0x184c8a[_0x482e('0xed')]||_0x184c8a['isUndo'])return;if(!this[_0x482e('0x8c')])return;const _0x5ed1a2=_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')][_0x482e('0x79')][_0x482e('0x69')]();if(0x0==_0x5ed1a2[_0x482e('0x9f')])return;const _0xd8b81=[],_0x129e46=_0x5ed1a2[_0x482e('0x7a')](_0x1216f5=>_0x482e('0x145')==_0x1216f5[_0x482e('0x8')]),_0x5f4159=_0x5ed1a2[_0x482e('0x7a')](_0x17201a=>_0x482e('0x133')==_0x17201a[_0x482e('0x8')]&&_0x482e('0x122')!=_0x17201a['name']),_0x5b2f03=_0x5ed1a2[_0x482e('0x7a')](_0xfe8195=>_0x482e('0xda')==_0xfe8195[_0x482e('0x8')]&&_0x482e('0x122')!=_0xfe8195[_0x482e('0x10a')]);for(const _0x40f9b0 of _0x129e46)this[_0x482e('0x28')](_0x40f9b0['attributeKey'])&&_0xd8b81[_0x482e('0x141')]({'key':_0x40f9b0[_0x482e('0x9e')],'newValue':_0x40f9b0[_0x482e('0xc2')],'oldValue':_0x40f9b0['attributeOldValue'],'range':Ut(_0x40f9b0[_0x482e('0x85')],_0x9f682c[_0x482e('0xbc')])});for(const _0x5007bc of _0x5f4159){const _0x5ac4c3=_0x5b2f03[_0x482e('0x78')](_0x11fbca=>_0x11fbca[_0x482e('0x36')]===_0x5007bc[_0x482e('0x36')]);if(_0x5ac4c3){const _0x46c880=Ot(_0x5007bc['position'][_0x482e('0x164')],_0x9f682c['model']);_0x5ac4c3[_0x482e('0x10a')]!==_0x5007bc[_0x482e('0x10a')]&&_0xd8b81[_0x482e('0x141')]({'key':_0x482e('0x121'),'newValue':_0x5007bc['name'],'oldValue':_0x5ac4c3[_0x482e('0x10a')],'range':_0x46c880});for(const [_0x43bfd5,_0x458d1a]of _0x5ac4c3[_0x482e('0xa2')]){if(!this['_isRegisteredAttribute'](_0x43bfd5))continue;const _0xde08bb=_0x5007bc[_0x482e('0xa2')]['get'](_0x43bfd5);_0x458d1a!==_0xde08bb&&_0xd8b81['push']({'key':_0x43bfd5,'newValue':_0xde08bb,'oldValue':_0x458d1a,'range':_0x46c880});}for(const [_0x5e726b,_0x5cb3e3]of _0x5007bc[_0x482e('0xa2')])this[_0x482e('0x28')](_0x5e726b)&&(_0x5ac4c3[_0x482e('0xa2')]['has'](_0x5e726b)||_0xd8b81[_0x482e('0x141')]({'key':_0x5e726b,'newValue':_0x5cb3e3,'oldValue':null,'range':_0x46c880}));}}0x0!=_0xd8b81[_0x482e('0x9f')]&&_0x9f682c['model'][_0x482e('0x14f')](_0x184c8a,_0x20d85f=>{const _0x4ff593=_0x10d598();for(const {range:_0x5b3778,key:_0x1d306c,oldValue:_0x15866f,newValue:_0x259598}of _0xd8b81)this[_0x482e('0xde')](_0x5b3778,_0x1d306c,_0x15866f,_0x259598,{'groupId':_0x4ff593});this[_0x482e('0x150')](_0x20d85f,_0xd8b81);});},{'priority':'lowest'}),_0x9f682c[_0x482e('0xbc')][_0x482e('0x2b')]['on'](_0x482e('0x81'),(_0x1a7042,_0xf83de1,_0x2ea9bd)=>{if(null==_0x2ea9bd){const {id:_0xb98131}=this[_0x482e('0x126')](_0xf83de1[_0x482e('0x10a')]),_0x3d4eba=this[_0x482e('0x11d')][_0x482e('0xf3')](_0xb98131);_0x3d4eba&&_0x3d4eba[_0x482e('0x178')](_0xf83de1['name']);}}),_0x9f682c[_0x482e('0xbc')]['document']['on'](_0x482e('0xb7'),()=>{const _0x25f5b5=Array[_0x482e('0x100')](_0x9f682c[_0x482e('0xbc')][_0x482e('0xe9')][_0x482e('0x79')][_0x482e('0x103')]())[_0x482e('0x7a')](_0x139f05=>_0x482e('0xad')===this[_0x482e('0x126')](_0x139f05[_0x482e('0x10a')])[_0x482e('0xff')]);if(0x0===_0x25f5b5['length'])return;_0x25f5b5['sort']((_0x475374,_0x5b4342)=>{const _0x18a0a9=_0x475374[_0x482e('0xa4')][_0x482e('0xa3')],_0x1b2601=_0x5b4342[_0x482e('0xa4')]['oldRange'];return null===_0x18a0a9&&null===_0x1b2601?0x0:null===_0x18a0a9&&null!==_0x1b2601?-0x1:null!==_0x18a0a9&&null===_0x1b2601?0x1:_0x18a0a9[_0x482e('0x2f')][_0x482e('0x153')](_0x1b2601['start'])?-0x1:0x1;});const _0x4556bd=new Set(),_0x4747bc=new Set();for(const {name:_0x1c35b8,data:_0x360e70}of _0x25f5b5){const {id:_0x1d6874}=this['_splitMarkerName'](_0x1c35b8);if(null===_0x360e70[_0x482e('0xa3')]){const _0x3e387d=this[_0x482e('0xbb')](_0x1c35b8);_0x4747bc[_0x482e('0x58')](_0x3e387d);}else{const _0xf174b3=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x1d6874);null!==_0x360e70[_0x482e('0xc5')]||_0xf174b3[_0x482e('0xe6')]?(_0x4556bd[_0x482e('0x58')](_0xf174b3[_0x482e('0xc4')]),_0x4747bc[_0x482e('0x58')](_0xf174b3)):this[_0x482e('0x161')](_0xf174b3);}}_0x4747bc[_0x482e('0x171')]>0x0&&this[_0x482e('0x10c')](_0x4747bc);for(const _0x48bd27 of _0x4556bd)this[_0x482e('0xa7')](_0x482e('0x15c'),_0x48bd27);}),_0x9f682c['model']['on'](_0x482e('0xd7'),(_0x41a839,_0x1a9bea)=>{const _0x5b990f=_0x1a9bea[0x0];if(!this[_0x482e('0x11d')][_0x482e('0x171')])return;if(!_0x5b990f[_0x482e('0x38')])return;if(_0x5b990f[_0x482e('0x14a')][_0x482e('0x22')]||!_0x5b990f['batch'][_0x482e('0xed')])return;let _0x1fae15,_0x2bfcd7;switch(_0x5b990f['type']){case _0x482e('0x133'):_0x1fae15=_0x9f682c[_0x482e('0xbc')][_0x482e('0x75')](_0x5b990f[_0x482e('0x16e')]),_0x2bfcd7=_0x1fae15[_0x482e('0x16f')](_0x5b990f[_0x482e('0x1b')]);break;case'split':_0x1fae15=_0x9f682c[_0x482e('0xbc')][_0x482e('0x75')](_0x5b990f[_0x482e('0x15d')]),_0x2bfcd7=_0x9f682c[_0x482e('0xbc')][_0x482e('0x75')](_0x5b990f['moveTargetPosition']);break;case _0x482e('0x91'):_0x1fae15=_0x9f682c['model'][_0x482e('0x75')](_0x5b990f['targetPosition']),_0x2bfcd7=_0x1fae15[_0x482e('0x16f')](_0x5b990f[_0x482e('0x1b')]);break;default:return;}const _0x3dafa5=_0x9f682c[_0x482e('0xbc')][_0x482e('0x118')](_0x1fae15,_0x2bfcd7);_0x9f682c['model'][_0x482e('0xb4')](()=>{for(const {suggestion:_0xf03696,meta:_0x4f7613}of this['_findSuggestions'](_0x3dafa5)){if(_0xf03696[_0x482e('0x159')])continue;if('formatInline'==_0xf03696['type'])continue;const _0x535649=this[_0x482e('0x4f')](_0xf03696);if(_0x535649&&this['_isBlockAttribute'](_0x535649)&&_0x482e('0x1c')!=_0x5b990f['type'])continue;const _0x49e3be=_0xf03696[_0x482e('0xa4')]&&_0xf03696[_0x482e('0xa4')][_0x482e('0xc7')];(_0x482e('0x5d')!=_0xf03696[_0x482e('0x8')]||_0x482e('0x1c')==_0x5b990f['type']&&!_0x49e3be)&&(_0x4f7613[_0x482e('0x120')]||'insertion'==_0xf03696[_0x482e('0x8')]&&_0x4f7613[_0x482e('0xd9')]||_0xf03696['getFirstRange']()[_0x482e('0xc9')](_0x3dafa5)&&this[_0x482e('0x74')](_0xf03696,_0x1fae15,_0x2bfcd7));}});},{'priority':_0x482e('0x113')}),_0x9f682c[_0x482e('0xbc')]['on'](_0x482e('0xaa'),(_0x388747,_0x57059a)=>{const _0x48b4dc=_0x57059a[0x0],_0x285ec0=_0x57059a[0x1];if(_0x285ec0&&_0x285ec0['forceDefaultExecution'])return;if(this[_0x482e('0xf7')])return;if(!this['trackChangesCommand'][_0x482e('0xdf')])return;if(_0x48b4dc[_0x482e('0x20')])return;const _0x443026=_0x9f682c['model']['schema'],{start:_0x4684e5,end:_0x2c1567}=_0x48b4dc[_0x482e('0x80')](),_0x1a9074=_0x4684e5[_0x482e('0x164')]&&_0x443026['isLimit'](_0x4684e5[_0x482e('0x164')])?null:_0x443026[_0x482e('0x17')](_0x4684e5,_0x482e('0x102')),_0x2a35=_0x2c1567[_0x482e('0xa0')]&&_0x443026[_0x482e('0xe4')](_0x2c1567['nodeBefore'])?null:_0x443026[_0x482e('0x17')](_0x2c1567,_0x482e('0x177')),_0x377986=_0x9f682c[_0x482e('0xbc')]['createRange'](_0x1a9074?_0x1a9074['start']:_0x4684e5,_0x2a35?_0x2a35[_0x482e('0x101')]:_0x2c1567);_0x9f682c[_0x482e('0xbc')]['change'](_0x4ee9bf=>{this[_0x482e('0x67')](_0x377986);const _0x271f81=_0x9f682c[_0x482e('0xbc')][_0x482e('0x11')][_0x482e('0x17')](_0x377986[_0x482e('0x2f')]);_0x48b4dc['is']('documentSelection')?_0x4ee9bf['setSelection'](_0x271f81):_0x48b4dc['setTo'](_0x271f81);}),_0x388747[_0x482e('0x26')]();},{'priority':_0x3269bc[_0x482e('0x82')]+0xa}),_0x9f682c[_0x482e('0xbc')]['on'](_0x482e('0x16'),(_0xf34ff8,_0x512324)=>{const _0x17b254=_0x512324[_0x512324[_0x482e('0x9f')]-0x1];_0x17b254&&_0x17b254['forceDefaultExecution']||this[_0x482e('0xf7')]||this[_0x482e('0x42')][_0x482e('0xdf')]&&(_0x9f682c['model'][_0x482e('0xb4')](()=>{let _0x570448=_0x9f682c[_0x482e('0xbc')][_0x482e('0x16')](_0x512324[0x0],_0x512324[0x1],_0x512324[0x2],{'forceDefaultExecution':!0x0});if(!_0x570448)return;_0xf34ff8[_0x482e('0x144')]=_0x570448['clone']();const _0x9446ef=_0x570448['end'][_0x482e('0xa0')],_0x2f830f=_0x9f682c[_0x482e('0xbc')]['schema'];_0x9446ef&&_0x2f830f[_0x482e('0xf5')](_0x9446ef)&&!_0x2f830f[_0x482e('0x167')](_0x9446ef)&&(_0x570448=_0x9f682c[_0x482e('0xbc')][_0x482e('0x118')](_0x570448['start'],_0x9f682c[_0x482e('0xbc')][_0x482e('0x75')](_0x9446ef,_0x482e('0x101')))),this[_0x482e('0x4e')](_0x570448);}),_0xf34ff8[_0x482e('0x26')]());},{'priority':_0x482e('0x45')}),this[_0x482e('0x12d')][_0x482e('0x9c')][_0x482e('0x58')](_0x482e('0xba'),this[_0x482e('0x42')]),this[_0x482e('0x76')](_0x482e('0xba'));const _0x32521d=new _0x1a974b(_0x9f682c,this[_0x482e('0x11d')]);_0x9f682c[_0x482e('0x9c')]['add'](_0x482e('0x66'),_0x32521d),this[_0x482e('0x76')](_0x482e('0x66'));const _0x4d319e=new _0x84f211(_0x9f682c,this[_0x482e('0x11d')]);_0x9f682c[_0x482e('0x9c')][_0x482e('0x58')](_0x482e('0x9b'),_0x4d319e),this['enableCommand'](_0x482e('0x9b')),_0x9f682c[_0x482e('0x9c')][_0x482e('0x58')](_0x482e('0x175'),new _0x2c1061(_0x9f682c,_0x32521d,this[_0x482e('0x11d')])),this['enableCommand'](_0x482e('0x175')),_0x9f682c[_0x482e('0x9c')]['add'](_0x482e('0x9a'),new _0x2c1061(_0x9f682c,_0x4d319e,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x9f682c[_0x482e('0x9c')][_0x482e('0x58')](_0x482e('0xa1'),new _0x5226b8(_0x9f682c,_0x32521d,this[_0x482e('0x11d')])),this['enableCommand'](_0x482e('0xa1')),_0x9f682c[_0x482e('0x9c')][_0x482e('0x58')](_0x482e('0x97'),new _0x5226b8(_0x9f682c,_0x4d319e,this['_suggestions'])),this['enableCommand'](_0x482e('0x97'));const _0x3feeaf=_0x9f682c[_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x6c'));this[_0x482e('0xeb')](_0x3feeaf,'addComment',(_0x1cd05d,{threadId:_0x3335dd})=>{const _0x23c264=this[_0x482e('0x11d')]['get'](_0x3335dd);_0x23c264&&_0x23c264[_0x482e('0x15f')]&&0x1===_0x23c264[_0x482e('0x15f')][_0x482e('0x9f')]&&this[_0x482e('0x37')](_0x3335dd,{'hasComments':!0x0});},{'priority':_0x482e('0x7f')}),this[_0x482e('0xeb')](_0x3feeaf,'removeComment',(_0x2cffa7,{threadId:_0x21f88c})=>{const _0x16a3da=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x21f88c);_0x16a3da&&_0x16a3da[_0x482e('0x15f')]&&!_0x16a3da[_0x482e('0x15f')]['length']&&this[_0x482e('0x37')](_0x21f88c,{'hasComments':!0x1});},{'priority':'low'});}set[_0x482e('0x1f')](_0x3718de){if(this[_0x482e('0x2')])throw new _0x101e5f(_0x482e('0x65'),this);this['_adapter']=_0x3718de;}get['adapter'](){return this[_0x482e('0x2')];}['getSuggestions']({skipNotAttached:_0x3e0674=!0x1,toJSON:_0x16f8d2=!0x1}={}){const _0x505554=[];for(const _0x191a37 of this[_0x482e('0x11d')][_0x482e('0xef')]())_0x3e0674&&!_0x191a37[_0x482e('0xe6')]||_0x505554[_0x482e('0x141')](_0x191a37);return _0x16f8d2?_0x505554[_0x482e('0x162')](_0x2622b9=>_0x2622b9[_0x482e('0x13f')]()):_0x505554;}[_0x482e('0x107')](_0x5f3c61){const _0x144dab=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x5f3c61);if(!_0x144dab)throw new _0x101e5f(_0x482e('0x112'),this);return _0x144dab;}[_0x482e('0x11c')](_0x16cfda){return this[_0x482e('0x11d')][_0x482e('0x7b')](_0x16cfda);}[_0x482e('0xe1')](_0x4eb5eb){const {authorId:_0x294ac2,id:_0x452ff6,attributes:_0x3a8ec2}=_0x4eb5eb,[_0x130e91,_0x192577]=_0x4eb5eb[_0x482e('0x8')][_0x482e('0x1c')](':'),_0x10b37d=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x452ff6)||this[_0x482e('0x8a')](_0x130e91,_0x192577,_0x452ff6,_0x294ac2,_0x3a8ec2);if(this[_0x482e('0x95')](_0x10b37d),this[_0x482e('0x8e')](_0x10b37d,_0x130e91,_0x192577||null,_0x294ac2),_0x10b37d['createdAt']=_0x4eb5eb[_0x482e('0xe2')],_0x10b37d[_0x482e('0x12')]=!0x0,_0x3a8ec2&&_0x3a8ec2[_0x482e('0xca')]){const _0x36cf53=_0x3a8ec2[_0x482e('0xca')],_0x2eebf6=this[_0x482e('0x137')](_0x36cf53[_0x482e('0x87')]);_0x10b37d[_0x482e('0x84')]=_0x36cf53['createdAt'],_0x10b37d[_0x482e('0xe0')]=_0x2eebf6,_0x10b37d['isExternal']=!0x0;}else _0x10b37d[_0x482e('0x84')]=_0x4eb5eb[_0x482e('0xe2')];switch(_0x4eb5eb[_0x482e('0xa4')]&&(_0x10b37d[_0x482e('0xa4')]=_0x4eb5eb['data']),_0x4eb5eb['attributes']&&(_0x10b37d[_0x482e('0xa2')]=_0x4eb5eb[_0x482e('0xa2')]),this[_0x482e('0x2')]&&this['_adapter'][_0x482e('0xdc')]||(_0x10b37d[_0x482e('0x51')]=!0x0),this['_suggestionState'][_0x482e('0xf3')](_0x10b37d)){case _0x482e('0xcf'):this[_0x482e('0x35')][_0x482e('0x48')](_0x10b37d,_0x482e('0x140'));break;case _0x482e('0x30'):_0x10b37d[_0x482e('0xe6')]?(this[_0x482e('0x89')](new Set([_0x10b37d])),this['_refreshSuggestionsChain'](new Set([_0x10b37d])),this['_suggestionState']['set'](_0x10b37d,_0x482e('0x160')),this[_0x482e('0xa7')](_0x482e('0x15a'),_0x10b37d)):this['_suggestionState']['set'](_0x10b37d,_0x482e('0xbd'));}return _0x10b37d;}['acceptSuggestion'](_0x46bc87){this[_0x482e('0x59')](()=>{this[_0x482e('0x12d')]['model'][_0x482e('0xb4')](()=>{for(const _0xed4c63 of _0x46bc87[_0x482e('0xc0')]())_0xed4c63['accept']();});});}[_0x482e('0x9b')](_0x3d48d1){this[_0x482e('0x59')](()=>{this['editor'][_0x482e('0xbc')][_0x482e('0xb4')](()=>{for(const _0x2ca3e4 of _0x3d48d1[_0x482e('0xc0')]())_0x2ca3e4[_0x482e('0xb8')]();});});}[_0x482e('0x76')](_0x4fc601,_0x33963b){const _0x3746e9=this[_0x482e('0x12d')][_0x482e('0x9c')]['get'](_0x4fc601);if(!_0x3746e9)throw new _0x101e5f(_0x482e('0x148'),this,{'commandName':_0x4fc601});if(this[_0x482e('0xe3')][_0x482e('0x7b')](_0x3746e9))throw new _0x101e5f(_0x482e('0xd8'),this,{'commandName':_0x4fc601});this[_0x482e('0xe3')][_0x482e('0x58')](_0x3746e9),_0x33963b&&_0x3746e9['on'](_0x482e('0x60'),(_0x42d76d,_0x53bad9)=>{this[_0x482e('0x42')][_0x482e('0xdf')]&&(this[_0x482e('0xf7')]||(_0x53bad9[_0x482e('0x9f')]>0x0&&_0x53bad9[_0x53bad9[_0x482e('0x9f')]-0x1]&&_0x53bad9[_0x53bad9['length']-0x1][_0x482e('0x59')]?_0x53bad9[_0x482e('0x128')]():(_0x42d76d['return']=_0x33963b((..._0x4cf674)=>_0x3746e9[_0x482e('0x60')](..._0x4cf674,{'forceDefaultExecution':!0x0}),..._0x53bad9),_0x42d76d[_0x482e('0x26')]())));},{'priority':'high'});}[_0x482e('0x59')](_0x2aa7ef){let _0x5a3f4f,_0x4ffb7f;const _0x57042d=this[_0x482e('0xf7')];this[_0x482e('0xf7')]=!0x0;try{_0x5a3f4f=_0x2aa7ef();}catch(_0x59fffc){_0x4ffb7f=_0x59fffc;}return _0x57042d||(this[_0x482e('0xf7')]=!0x1),_0x4ffb7f&&_0x101e5f[_0x482e('0x3c')](_0x4ffb7f,this),_0x5a3f4f;}[_0x482e('0x4e')](_0x34b21f,_0x1c6258=null,_0x449abb={}){if(_0x34b21f[_0x482e('0x20')])return null;const _0x39649d=this[_0x482e('0x12d')][_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x13d'))['me'];for(const {suggestion:_0x14be26,meta:_0x40621a}of this[_0x482e('0x11e')](_0x34b21f,_0x482e('0x136')))if(_0x40621a['isOwn']){if(!_0x40621a[_0x482e('0x25')]){if(_0x40621a[_0x482e('0x120')]){if(!this[_0x482e('0xf8')]||!Pt(_0x14be26,_0x449abb))continue;return _0x14be26;}if(Pt(_0x14be26,_0x449abb))return _0x14be26;this['_breakSuggestionMarker'](_0x14be26,_0x34b21f[_0x482e('0x2f')],_0x34b21f[_0x482e('0x101')]);break;}if(_0x1c6258==_0x14be26[_0x482e('0xc8')]&&Pt(_0x14be26,_0x449abb)){const _0x5f484a=_0x14be26['getFirstRange']();return _0x5f484a['start'][_0x482e('0xb')](_0x34b21f[_0x482e('0x101')])?this['_setSuggestionRange'](_0x14be26,this['_model'][_0x482e('0x118')](_0x34b21f['start'],_0x5f484a[_0x482e('0x101')])):this[_0x482e('0x0')](_0x14be26,this[_0x482e('0xdd')]['createRange'](_0x5f484a['start'],_0x34b21f['end'])),_0x14be26;}}const _0x1b8869=_0x10d598(),_0x335eb5=_0x39649d['id'],_0x2eb42c=_0x1c6258?'insertion:'+_0x1c6258:_0x482e('0x136'),_0x35ca27=this[_0x482e('0x13b')]({'id':_0x1b8869,'type':_0x2eb42c,'createdAt':new Date(),'authorId':_0x335eb5,'attributes':_0x449abb});return this[_0x482e('0x130')](_0x2eb42c,_0x1b8869,_0x335eb5,_0x34b21f),_0x35ca27;}[_0x482e('0x156')](_0x5b77ef,_0x44cbe8=_0x482e('0xcb'),_0x3b70f7={}){const _0x19be3f=this['editor'][_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x13d'))['me'],_0x1137fc=this[_0x482e('0x6d')][_0x482e('0x173')]('insertion',_0x44cbe8,_0x482e('0xa'));for(const _0x2038fe of this['getSuggestions']())if(_0x2038fe[_0x482e('0xe0')]['id']==_0x19be3f['id']&&'insertion'==_0x2038fe[_0x482e('0x8')]&&_0x2038fe[_0x482e('0xc8')]==_0x44cbe8&&Pt(_0x2038fe,_0x3b70f7)&&(_0x1137fc(_0x2038fe['getRanges'](),_0x5b77ef)||_0x1137fc(_0x5b77ef,_0x2038fe['getRanges']()))){for(const _0x47060a of _0x5b77ef)_0x2038fe[_0x482e('0x149')](_0x47060a);return _0x2038fe;}for(const {suggestion:_0x28f668,meta:_0x5c6aad}of this[_0x482e('0x11e')](_0x5b77ef,'insertion')){if(!_0x5c6aad[_0x482e('0xd9')])continue;if(!this[_0x482e('0xf8')]&&_0x5c6aad[_0x482e('0x120')])continue;if(!Pt(_0x28f668,_0x3b70f7))continue;let _0x41f573=!0x0;for(const _0x19d354 of _0x28f668['getRanges']())for(const _0x3eba53 of _0x5b77ef)if(!_0x19d354['containsRange'](_0x3eba53)){_0x41f573=!0x1;break;}if(_0x41f573)return _0x28f668;}const _0x5d1347=_0x10d598(),_0x4e8a1f=_0x19be3f['id'],_0x237690=_0x482e('0x27')+_0x44cbe8,_0x58e7bf=this[_0x482e('0x13b')]({'id':_0x5d1347,'type':_0x237690,'createdAt':new Date(),'authorId':_0x4e8a1f,'attributes':_0x3b70f7});for(const _0x4eb7ff of _0x5b77ef)this['_addSuggestionMarker'](_0x237690,_0x5d1347,_0x4e8a1f,_0x4eb7ff,_0x28914f[_0x482e('0x115')]());return _0x58e7bf;}[_0x482e('0x15b')](_0x1910d8,_0x3762d2,_0x1d8cf4=null,_0x4d7f83={}){if(_0x1d8cf4=_0x1d8cf4||Et(_0x3762d2),_0x1910d8[_0x482e('0x20')])return null;if(_0x482e('0x127')===this[_0x482e('0x3')]){const _0x21ab34=this['_suggestionFactory'][_0x482e('0x173')](_0x482e('0x10d'),_0x1d8cf4,'accept');return this[_0x482e('0x59')](()=>_0x21ab34([_0x1910d8],_0x3762d2,_0x4d7f83)),null;}const _0x2119b2=this[_0x482e('0x12d')][_0x482e('0x135')]['get'](_0x482e('0x13d'))['me'],_0x5212d5=[];if(_0x482e('0x7d')!==this[_0x482e('0x3')])for(const {suggestion:_0x5af188,meta:_0x45ac38}of this[_0x482e('0x11e')](_0x1910d8,_0x482e('0x136')))_0x45ac38[_0x482e('0xd9')]&&!_0x45ac38[_0x482e('0x57')]&&_0x5212d5[_0x482e('0x141')](..._0x5af188[_0x482e('0x10')]());const _0x4649e1=function(_0x476eee,_0x981280){const _0x58b1d0=[];for(const _0x18b8a5 of _0x981280){const _0x20823d=_0x476eee['getIntersection'](_0x18b8a5);_0x20823d&&_0x58b1d0['push'](_0x20823d);}return _0x58b1d0;}(_0x1910d8,_0x5212d5),_0x30a125=function(_0x183130,_0x4e3a9e){const _0x29fb08=[_0x183130];for(const _0x4d60c0 of _0x4e3a9e){let _0x5aa0f7=0x0;for(;_0x5aa0f7<_0x29fb08['length'];){const _0x421bf2=_0x29fb08[_0x5aa0f7]['getDifference'](_0x4d60c0);_0x29fb08[_0x482e('0x12a')](_0x5aa0f7,0x1,..._0x421bf2),_0x5aa0f7+=_0x421bf2[_0x482e('0x9f')];}}return _0x29fb08;}(_0x1910d8,_0x5212d5);_0x4649e1[_0x482e('0x9f')]&&this[_0x482e('0xdd')][_0x482e('0xb4')](()=>{for(const _0x1d0c84 of _0x4649e1){const _0x1802b7=this[_0x482e('0x6d')]['getSuggestionCallback'](_0x482e('0x10d'),_0x1d8cf4,_0x482e('0x131'));this[_0x482e('0x59')](()=>_0x1802b7([_0x1d0c84],_0x3762d2,_0x4d7f83));}});for(const _0x25845d of _0x30a125){let _0x282568=null,_0x2bc079=_0x25845d[_0x482e('0x2f')],_0x132b37=_0x25845d[_0x482e('0x101')];for(const {suggestion:_0x5282b1,meta:_0xea3289}of this[_0x482e('0x11e')](_0x25845d,'formatInline')){if(!_0xea3289[_0x482e('0xd9')])continue;if(_0x5282b1[_0x482e('0xc8')]!=_0x1d8cf4)continue;if(!Pt(_0x5282b1,_0x4d7f83))continue;const _0x2d0700=_0x5282b1[_0x482e('0x80')]();if(_0x2d0700['containsRange'](_0x25845d,!0x0))return null;_0x2bc079=_0x2bc079['isBefore'](_0x2d0700['start'])?_0x2bc079:_0x2d0700[_0x482e('0x2f')],_0x132b37=_0x132b37['isAfter'](_0x2d0700[_0x482e('0x101')])?_0x132b37:_0x2d0700['end'],_0x282568?_0x2d0700[_0x482e('0x2f')][_0x482e('0x153')](_0x282568[_0x482e('0x80')]()[_0x482e('0x2f')])?(_0x282568['removeMarkers'](),_0x282568=_0x5282b1):_0x5282b1[_0x482e('0x18')]():_0x282568=_0x5282b1;}const _0x2bfa7b=this['_model'][_0x482e('0x118')](_0x2bc079,_0x132b37);if(_0x282568)this['_setSuggestionRange'](_0x282568,_0x2bfa7b);else{const _0xdc8003=_0x10d598(),_0x79fd12=_0x2119b2['id'];this['_setSuggestionData']({'id':_0xdc8003,'type':_0x482e('0x15')+_0x1d8cf4,'data':_0x3762d2,'createdAt':new Date(),'authorId':_0x79fd12,'attributes':_0x4d7f83}),this[_0x482e('0x130')](_0x482e('0x15')+_0x1d8cf4,_0xdc8003,_0x79fd12,_0x2bfa7b);}}return null;}[_0x482e('0xaf')](_0x2b2ab8,_0x563020,_0x4ad4ad=[],_0x1e0bbd=null,_0x3c2ba3={}){_0x563020[_0x482e('0x3d')]||(_0x563020['formatGroupId']=_0x563020[_0x482e('0x24')]),_0x563020[_0x482e('0xc7')]=_0x2b2ab8['is'](_0x482e('0x85')),_0x1e0bbd=_0x1e0bbd||Et(_0x563020);const _0x4ccd2b=_0x4ad4ad[_0x482e('0x162')](_0x4268ca=>Ot(_0x4268ca,this['_model'])),_0x53f70d=_0x2b2ab8['is'](_0x482e('0x85'))?_0x2b2ab8:Ot(_0x2b2ab8,this['_model']);if(_0x482e('0x127')===this[_0x482e('0x3')]){const _0x4cba28=this[_0x482e('0x6d')][_0x482e('0x173')]('formatBlock',_0x1e0bbd,_0x482e('0x131'));return this[_0x482e('0x59')](()=>_0x4cba28([_0x53f70d],_0x563020,_0x3c2ba3)),null;}_0x4ccd2b[_0x482e('0x141')](_0x53f70d);let _0x272599=!0x0;for(const _0x34b409 of _0x4ccd2b)if(!this[_0x482e('0xa6')](_0x34b409)){_0x272599=!0x1;break;}if(_0x272599&&_0x482e('0x7d')!==this[_0x482e('0x3')]){const _0x40c8bc=this['_suggestionFactory'][_0x482e('0x173')](_0x482e('0x5d'),_0x1e0bbd,'accept');return this[_0x482e('0x59')](()=>_0x40c8bc([_0x53f70d],_0x563020,_0x3c2ba3)),null;}let _0x432ed8=null,_0x2ecc83=_0x53f70d[_0x482e('0x2f')],_0x5f2507=_0x53f70d[_0x482e('0x101')];for(const {suggestion:_0x245b86,meta:_0x5bfbfb}of this[_0x482e('0x11e')](_0x53f70d,_0x482e('0x5d'))){if(!_0x5bfbfb[_0x482e('0xd9')])continue;if(_0x5bfbfb['isNextTo']||_0x5bfbfb[_0x482e('0x120')]||_0x5bfbfb[_0x482e('0x57')])continue;if(_0x245b86['data'][_0x482e('0x3d')]!=_0x563020['formatGroupId'])continue;if(!Pt(_0x245b86,_0x3c2ba3))continue;const _0x14606b=_0x245b86[_0x482e('0x80')]();if(_0x245b86[_0x482e('0xc8')]==_0x1e0bbd){if(_0x14606b['containsRange'](_0x53f70d,!0x0))return null;_0x2ecc83=_0x2ecc83[_0x482e('0x153')](_0x14606b[_0x482e('0x2f')])?_0x2ecc83:_0x14606b[_0x482e('0x2f')],_0x5f2507=_0x5f2507[_0x482e('0x138')](_0x14606b[_0x482e('0x101')])?_0x5f2507:_0x14606b['end'],_0x432ed8?_0x14606b['start']['isBefore'](_0x432ed8[_0x482e('0x80')]()['start'])?(_0x432ed8['removeMarkers'](),_0x432ed8=_0x245b86):_0x245b86[_0x482e('0x18')]():_0x432ed8=_0x245b86;}else{const _0x50029a=_0x53f70d[_0x482e('0xcc')](_0x14606b);this['_cutOutSuggestionMarker'](_0x245b86,_0x50029a);}}const _0x52fe3c=this[_0x482e('0x12d')][_0x482e('0x135')][_0x482e('0xf3')]('Users')['me'],_0x252dcf=_0x10d598(),_0x2296ab=_0x52fe3c['id'];if(_0x432ed8)return this['_setSuggestionRange'](_0x432ed8,this[_0x482e('0xdd')][_0x482e('0x118')](_0x2ecc83,_0x5f2507)),_0x432ed8;{const _0xdd8669=this[_0x482e('0x13b')]({'id':_0x252dcf,'type':_0x482e('0x92')+_0x1e0bbd,'data':_0x563020,'createdAt':new Date(),'authorId':_0x2296ab,'attributes':_0x3c2ba3});return this[_0x482e('0x130')]('formatBlock:'+_0x1e0bbd,_0x252dcf,_0x2296ab,this['_model']['createRange'](_0x2ecc83,_0x5f2507)),_0xdd8669;}}[_0x482e('0xe')](_0x11258e,_0x2b4870,_0x1a96e3=[],_0x4dbf78=null,_0x3a8101={}){_0x2b4870[_0x482e('0x3d')]||(_0x2b4870[_0x482e('0x3d')]=_0x2b4870[_0x482e('0x24')]);const _0x22a390=_0x11258e[0x0];_0x2b4870['multipleBlocks']=_0x22a390['is'](_0x482e('0x85')),_0x4dbf78=_0x4dbf78||Et(_0x2b4870);const _0x2e7f45=_0x1a96e3[_0x482e('0x162')](_0x1bdd0f=>Ot(_0x1bdd0f,this[_0x482e('0xdd')])),_0x4be9ab=_0x22a390['is'](_0x482e('0x85'))?_0x11258e:_0x11258e[_0x482e('0x162')](_0x10dc0c=>Ot(_0x10dc0c,this['_model']));if(_0x482e('0x127')===this[_0x482e('0x3')]){const _0x11bc43=this[_0x482e('0x6d')][_0x482e('0x173')](_0x482e('0x5d'),_0x4dbf78,'accept');return this['forceDefaultExecution'](()=>_0x11bc43(_0x4be9ab,_0x2b4870,_0x3a8101)),null;}_0x2e7f45[_0x482e('0x141')](..._0x4be9ab);let _0x34554a=!0x0;for(const _0x511997 of _0x2e7f45)if(!this[_0x482e('0xa6')](_0x511997)){_0x34554a=!0x1;break;}if(_0x34554a&&_0x482e('0x7d')!==this['_trackFormatChanges']){const _0x60411=this[_0x482e('0x6d')][_0x482e('0x173')](_0x482e('0x5d'),_0x4dbf78,_0x482e('0x131'));return this[_0x482e('0x59')](()=>_0x60411(_0x4be9ab,_0x2b4870,_0x3a8101)),null;}const _0x3cce2c=this[_0x482e('0x12d')][_0x482e('0x135')]['get'](_0x482e('0x13d'))['me'];for(const _0x2d1ef5 of this[_0x482e('0xac')]()){if(_0x2d1ef5[_0x482e('0xe0')]['id']!=_0x3cce2c['id'])continue;if('formatBlock'!=_0x2d1ef5[_0x482e('0x8')]||_0x2d1ef5['data'][_0x482e('0x3d')]!=_0x2b4870[_0x482e('0x3d')])continue;if(!Pt(_0x2d1ef5,_0x3a8101))continue;const _0x16f51d=_0x2d1ef5[_0x482e('0xc8')]==_0x4dbf78;for(let _0x4e876e=0x0;_0x4e876e<_0x4be9ab['length'];_0x4e876e++){const _0xb27bcc=_0x4be9ab[_0x4e876e];for(const _0x35b826 of _0x2d1ef5[_0x482e('0x55')]()){const _0x3a1342=_0x35b826['getRange']();if(_0xb27bcc['isEqual'](_0x3a1342)){_0x16f51d?(_0x4be9ab['splice'](_0x4e876e,0x1),_0x4e876e--):_0x2d1ef5['removeMarker'](_0x35b826[_0x482e('0x10a')]);break;}}}}if(0x0==_0x4be9ab['length'])return null;const _0x5a1fed=this[_0x482e('0x6d')]['getSuggestionCallback'](_0x482e('0x5d'),_0x4dbf78,'join');for(const _0x2a91bf of this[_0x482e('0xac')]())if(_0x2a91bf[_0x482e('0xe0')]['id']==_0x3cce2c['id']&&_0x482e('0x5d')==_0x2a91bf[_0x482e('0x8')]&&_0x2a91bf[_0x482e('0xa4')][_0x482e('0x3d')]==_0x2b4870['formatGroupId']&&_0x2a91bf[_0x482e('0xc8')]==_0x4dbf78&&Pt(_0x2a91bf,_0x3a8101)&&(_0x5a1fed(_0x2a91bf[_0x482e('0x10')](),_0x4be9ab)||_0x5a1fed(_0x4be9ab,_0x2a91bf[_0x482e('0x10')]()))){for(const _0x1d59a8 of _0x4be9ab)_0x2a91bf[_0x482e('0x149')](_0x1d59a8);return _0x2a91bf;}const _0x11cf96=_0x10d598(),_0xa84cc0=_0x3cce2c['id'],_0x1c8ae1='formatBlock:'+_0x4dbf78,_0x4900e0=this[_0x482e('0x13b')]({'id':_0x11cf96,'type':_0x1c8ae1,'data':_0x2b4870,'createdAt':new Date(),'authorId':_0xa84cc0,'attributes':_0x3a8101});for(const _0x2c87be of _0x4be9ab)this[_0x482e('0x130')](_0x1c8ae1,_0x11cf96,_0xa84cc0,_0x2c87be,_0x28914f[_0x482e('0x115')]());return _0x4900e0;}['markDeletion'](_0x5c2c2a,_0x371e5c=null,_0x1c7972={}){if(_0x5c2c2a['isCollapsed'])return null;const _0x1f690c=this['editor'][_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x13d'))['me'],_0x3df111=new _0x5be075(_0x5c2c2a[_0x482e('0x2f')],_0x5c2c2a[_0x482e('0x101')]);for(const {suggestion:_0x474a02,meta:_0x253431}of this[_0x482e('0x11e')](_0x3df111,'insertion'))if(_0x253431[_0x482e('0xd9')]&&!_0x253431['isNextTo']){if(_0x474a02[_0x482e('0x159')]){const _0x28c818=_0x474a02[_0x482e('0x10')]()[_0x482e('0x7a')](_0x47c082=>_0x482e('0x132')!=_0x47c082['root'][_0x482e('0xb2')]);_0x28c818[_0x482e('0x147')](_0x255244=>_0x3df111[_0x482e('0xc9')](_0x255244,!0x0))&&_0x474a02[_0x482e('0xb8')]();if(_0x28c818[_0x482e('0x11a')](_0xe94537=>_0xe94537['containsRange'](_0x3df111,!0x0))){const _0x3a3134=this['_suggestionFactory'][_0x482e('0x173')](_0x482e('0x56'),_0x371e5c,_0x482e('0x131'));return this[_0x482e('0x59')](()=>_0x3a3134([_0x3df111],null,_0x1c7972)),null;}}else{const _0x1cbf79=_0x3df111[_0x482e('0xcc')](_0x474a02['getFirstRange']());null!==_0x1cbf79&&_0x474a02[_0x482e('0xc6')]([_0x1cbf79],null,_0x1c7972);}}if(_0x3df111[_0x482e('0x10f')](),_0x3df111[_0x482e('0x20')]||_0x482e('0x132')==_0x3df111[_0x482e('0x111')][_0x482e('0xb2')])return null;let _0x24616c=null,_0x5cfccb=_0x3df111[_0x482e('0x2f')],_0x15e07d=_0x3df111['end'];const _0x366e96=this['_findSuggestions'](_0x3df111,_0x482e('0x56'));for(const {suggestion:_0x39455f,meta:_0x36bb4e}of _0x366e96){const _0x3e8852=this['_model'][_0x482e('0x118')](_0x5cfccb,_0x15e07d);if(_0x36bb4e['isOwn']&&(this['_mergeNestedSuggestions']||!_0x36bb4e['containsRangeInObject']&&!_0x36bb4e['isInsideObject'])){if(_0x39455f[_0x482e('0x159')]){if(!Pt(_0x39455f,_0x1c7972))continue;let _0x412025=!0x0;for(const _0x58e5fc of _0x39455f[_0x482e('0x10')]()){if(_0x58e5fc[_0x482e('0xc9')](_0x3e8852,!0x0))return _0x39455f;_0x3e8852[_0x482e('0xc9')](_0x58e5fc)||(_0x412025=!0x1);}_0x412025&&_0x39455f[_0x482e('0xb8')]();}else{const _0x580ca8=_0x39455f['getFirstRange']();if(_0x580ca8[_0x482e('0xc9')](_0x3e8852,!0x0))return _0x39455f;if(!Pt(_0x39455f,_0x1c7972)){_0x3e8852[_0x482e('0xc9')](_0x580ca8)?_0x39455f[_0x482e('0x18')]():_0x580ca8[_0x482e('0xd4')](_0x5cfccb)?_0x5cfccb=_0x580ca8[_0x482e('0x101')]:_0x580ca8['containsPosition'](_0x15e07d)&&(_0x15e07d=_0x580ca8[_0x482e('0x2f')]);continue;}_0x5cfccb=_0x5cfccb[_0x482e('0x153')](_0x580ca8[_0x482e('0x2f')])?_0x5cfccb:_0x580ca8[_0x482e('0x2f')],_0x15e07d=_0x15e07d[_0x482e('0x138')](_0x580ca8['end'])?_0x15e07d:_0x580ca8['end'],_0x1c7972=Object[_0x482e('0x33')]({},_0x39455f[_0x482e('0xa2')]),_0x24616c?_0x580ca8['start']['isBefore'](_0x24616c[_0x482e('0x80')]()[_0x482e('0x2f')])?(_0x24616c[_0x482e('0x18')](),_0x24616c=_0x39455f):_0x39455f[_0x482e('0x18')]():_0x24616c=_0x39455f;}}}if(_0x24616c)return this[_0x482e('0x0')](_0x24616c,this[_0x482e('0xdd')][_0x482e('0x118')](_0x5cfccb,_0x15e07d)),_0x24616c;{const _0x377eb6=_0x10d598(),_0x5a6939=this['_model']['createRange'](_0x5cfccb,_0x15e07d),_0x5ee5ba=_0x1f690c['id'],_0x26e33c=_0x371e5c?_0x482e('0x23')+_0x371e5c:'deletion',_0x29aaa5=this[_0x482e('0x13b')]({'id':_0x377eb6,'type':_0x26e33c,'createdAt':new Date(),'authorId':_0x5ee5ba,'attributes':_0x1c7972});return this[_0x482e('0x130')](_0x26e33c,_0x377eb6,_0x5ee5ba,_0x5a6939),_0x29aaa5;}}[_0x482e('0x114')](_0x196f92,_0x223772=_0x482e('0xcb'),_0x31f56f={}){const _0x11662a=this[_0x482e('0x12d')][_0x482e('0x135')][_0x482e('0xf3')](_0x482e('0x13d'))['me'],_0x25162d=_0x196f92[_0x482e('0x162')](_0x14d778=>new _0x5be075(_0x14d778['start'],_0x14d778['end'])),_0x363d20=new Set();for(const {suggestion:_0x5c083d,meta:_0x20921b}of this[_0x482e('0x11e')](_0x25162d,'insertion'))_0x20921b['isOwn']&&!_0x20921b[_0x482e('0x25')]&&_0x363d20[_0x482e('0x58')](_0x5c083d);for(const _0x2af5ad of _0x363d20)if(_0x2af5ad[_0x482e('0x159')]){const _0x15373b=_0x2af5ad[_0x482e('0x10')]();(!_0x2af5ad[_0x482e('0xa2')]||!_0x2af5ad[_0x482e('0xa2')][_0x482e('0x9')])&&(_0x15373b[_0x482e('0x147')](_0x2ef86b=>_0x25162d[_0x482e('0x11a')](_0x4f60de=>_0x4f60de[_0x482e('0xc9')](_0x2ef86b,!0x0)))&&_0x2af5ad[_0x482e('0xb8')]());if(_0x25162d[_0x482e('0x147')](_0x2a868e=>_0x15373b[_0x482e('0x11a')](_0x288a9b=>_0x288a9b[_0x482e('0xc9')](_0x2a868e,!0x0)))){const _0x2022a5=this['_suggestionFactory'][_0x482e('0x173')](_0x482e('0x56'),_0x223772,'accept');return this[_0x482e('0x59')](()=>_0x2022a5(_0x196f92,null,_0x31f56f)),null;}}else{const _0x67d788=_0x2af5ad[_0x482e('0x80')]();_0x25162d[_0x482e('0x11a')](_0x25e887=>_0x25e887[_0x482e('0xc9')](_0x67d788,!0x0))&&_0x2af5ad['discard']();if(_0x25162d['every'](_0x487e60=>_0x67d788[_0x482e('0xc9')](_0x487e60,!0x0))){const _0x4cea1f=this[_0x482e('0x6d')][_0x482e('0x173')](_0x482e('0x56'),_0x223772,_0x482e('0x131'));return this[_0x482e('0x59')](()=>_0x4cea1f(_0x25162d,null,_0x31f56f)),null;}}const _0x2d94ae=this[_0x482e('0x6d')][_0x482e('0x173')](_0x482e('0x56'),_0x223772,_0x482e('0xa'));let _0x252161=null;for(const _0x1f9fb4 of this['getSuggestions']())if(_0x1f9fb4[_0x482e('0xe0')]['id']==_0x11662a['id']&&_0x1f9fb4['isInContent']&&_0x482e('0x56')==_0x1f9fb4[_0x482e('0x8')]&&_0x1f9fb4[_0x482e('0xc8')]==_0x223772&&Pt(_0x1f9fb4,_0x31f56f)&&(_0x2d94ae(_0x1f9fb4[_0x482e('0x10')](),_0x25162d)||_0x2d94ae(_0x25162d,_0x1f9fb4['getRanges']()))){if(_0x252161){if(_0x1f9fb4[_0x482e('0x15f')]&&_0x1f9fb4[_0x482e('0x15f')][_0x482e('0x9f')])continue;for(const _0x55005d of _0x1f9fb4[_0x482e('0x10')]())_0x252161[_0x482e('0xdb')](_0x55005d)||_0x252161[_0x482e('0x149')](_0x55005d);_0x1f9fb4[_0x482e('0x18')]();}else{_0x252161=_0x1f9fb4;for(const _0x3efcee of _0x25162d)_0x1f9fb4['isIntersectingWithRange'](_0x3efcee)||_0x1f9fb4[_0x482e('0x149')](_0x3efcee);}}if(_0x252161)return _0x252161;_0x363d20['clear']();for(const {suggestion:_0xcdb4f9,meta:_0x468a27}of this['_findSuggestions'](_0x25162d,_0x482e('0x56')))_0x468a27['isOwn']&&(this[_0x482e('0xf8')]||!_0x468a27['containsRangeInObject']&&!_0x468a27['isInsideObject'])&&Pt(_0xcdb4f9,_0x31f56f)&&_0x363d20[_0x482e('0x58')](_0xcdb4f9);for(const _0x306724 of _0x363d20){const _0x4e4c8a=_0x306724[_0x482e('0x10')]();if(!_0x31f56f||!_0x31f56f[_0x482e('0x9')]){if(_0x25162d[_0x482e('0x147')](_0x3824d9=>_0x4e4c8a['some'](_0x14a15d=>_0x14a15d[_0x482e('0xc9')](_0x3824d9,!0x0))))return _0x306724;}(!_0x306724[_0x482e('0xa2')]||!_0x306724[_0x482e('0xa2')][_0x482e('0x9')])&&(_0x4e4c8a['every'](_0x2c98dc=>_0x25162d[_0x482e('0x11a')](_0x461f8f=>_0x461f8f[_0x482e('0xc9')](_0x2c98dc,!0x0)))&&_0x306724[_0x482e('0xb8')]());}const _0x28b444=_0x10d598(),_0x2d177f=_0x11662a['id'],_0x1b9fc4=_0x482e('0x23')+_0x223772,_0x550ab3=this[_0x482e('0x13b')]({'id':_0x28b444,'type':_0x1b9fc4,'createdAt':new Date(),'authorId':_0x2d177f,'attributes':_0x31f56f});for(const _0x2d4952 of _0x25162d)_0x2d4952['detach'](),_0x2d4952[_0x482e('0x20')]||_0x482e('0x132')==_0x2d4952[_0x482e('0x111')]['rootName']||this[_0x482e('0x130')](_0x1b9fc4,_0x28b444,_0x2d177f,_0x2d4952,_0x28914f[_0x482e('0x115')]());return _0x550ab3;}[_0x482e('0xde')](_0x939e2b,_0xdef8b0,_0xc19140,_0x4a35fd,_0x9118c6){if(_0x939e2b[_0x482e('0x20')])return[];if(_0x482e('0x127')===this[_0x482e('0x3')])return[];const _0x457033=this[_0x482e('0x12d')][_0x482e('0x135')][_0x482e('0xf3')]('Users')['me']['id'],_0x36a703=Array[_0x482e('0x100')](this[_0x482e('0x11d')][_0x482e('0xef')]())[_0x482e('0x7a')](_0x57b474=>_0x482e('0x145')==_0x57b474[_0x482e('0x8')]&&_0x57b474[_0x482e('0xa4')][_0x482e('0x63')]==_0xdef8b0&&_0x57b474[_0x482e('0xdb')](_0x939e2b));if(_0x482e('0x3e')===this[_0x482e('0x3')]){const _0x2da7f2=this['_findSuggestions'](_0x939e2b,_0x482e('0x136'))[_0x482e('0x7a')](({meta:_0x528347})=>_0x528347[_0x482e('0xd9')]&&!_0x528347['isInsideObject']&&!_0x528347[_0x482e('0x25')])[_0x482e('0x162')](({suggestion:_0x41d18c})=>_0x41d18c);_0x36a703['unshift'](..._0x2da7f2);}const _0x348ce7=new Map([[_0x939e2b,_0xc19140]]);for(const _0x313d45 of _0x36a703){const _0x56e70f='attribute'==_0x313d45['type']?_0x313d45[_0x482e('0xa4')][_0x482e('0xfc')]:void 0x0,_0x349c36=_0x313d45[_0x482e('0x80')](),_0x217287=Array[_0x482e('0x100')](_0x348ce7['keys']())['find'](_0x3e70c7=>_0x3e70c7[_0x482e('0x12f')](_0x349c36));if(!_0x217287)continue;const _0xdeae96=_0x217287[_0x482e('0x14')](_0x349c36);this[_0x482e('0x9d')](_0xdef8b0)&&'insertion'==_0x313d45[_0x482e('0x8')]&&0x0!=_0xdeae96[_0x482e('0x9f')]||(_0x348ce7['delete'](_0x217287),_0xdeae96[_0x482e('0xb6')](_0x33d7bc=>{_0x348ce7[_0x482e('0x48')](_0x33d7bc,_0xc19140);}),_0x482e('0x136')!=_0x313d45[_0x482e('0x8')]&&_0x56e70f!=_0x4a35fd&&_0x348ce7[_0x482e('0x48')](_0x217287[_0x482e('0xcc')](_0x349c36),_0x56e70f));}const _0x20813d=[];for(const [_0x1bd1df,_0x21ff64]of _0x348ce7){const _0x2f1ade=_0x10d598(),_0x50bb1f={'key':_0xdef8b0,'oldValue':_0x21ff64,'newValue':_0x4a35fd};_0xdef8b0[_0x482e('0x9f')]>0x25&&console[_0x482e('0x99')](_0x482e('0x5b'),{'key':_0xdef8b0});const _0x4c2312=(_0x482e('0x146')+(_0xdef8b0+'|'+Et({'newValue':_0x4a35fd})))['substring'](0x0,0x3c),_0x19b0c0=this['_setSuggestionData']({'id':_0x2f1ade,'type':_0x4c2312,'data':_0x50bb1f,'createdAt':new Date(),'authorId':_0x457033,'attributes':_0x9118c6});_0x20813d[_0x482e('0x141')](_0x19b0c0),this[_0x482e('0x130')](_0x4c2312,_0x2f1ade,_0x457033,_0x1bd1df);}return _0x20813d;}['_registerBlockAttribute'](_0x4de922){this[_0x482e('0x1')][_0x482e('0x58')](_0x4de922);}[_0x482e('0x110')](_0x555aea){this['_inlineAttributeKeys']['add'](_0x555aea);}[_0x482e('0x94')](_0x4fb46b,_0x59b372=[],_0x41baf5=[]){this[_0x482e('0x76')](_0x4fb46b,(_0x240f6d,..._0x5cb6af)=>{this[_0x482e('0x16c')](()=>{_0x240f6d(..._0x5cb6af);});});for(const _0x5cfa2c of _0x59b372)this[_0x482e('0x110')](_0x5cfa2c);for(const _0x3ce2a4 of _0x41baf5)this[_0x482e('0x40')](_0x3ce2a4);}[_0x482e('0x4f')](_0x3afd10){return _0x482e('0x145')==_0x3afd10[_0x482e('0x8')]?_0x3afd10[_0x482e('0xc8')][_0x482e('0x1c')]('|')[0x0]:null;}[_0x482e('0x0')](_0x15a9a6,_0x349ad9){const _0x21ab4e=_0x15a9a6['getFirstMarker']();this[_0x482e('0xdd')]['change'](_0x5e6224=>{_0x5e6224[_0x482e('0x86')](_0x21ab4e,{'range':_0x349ad9});});}[_0x482e('0x95')](_0x4cc6c6){const _0x4a2366=_0x4cc6c6['id'],_0x246d6a=this[_0x482e('0x12d')][_0x482e('0xf2')]['get'](_0x482e('0x5'));this[_0x482e('0x77')][_0x482e('0xfd')](_0x4a2366)||this[_0x482e('0x77')][_0x482e('0x134')]({'channelId':_0x246d6a,'threadId':_0x4a2366,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x3f2f6e=this['_commentsRepository'][_0x482e('0x5f')](_0x4a2366);_0x3f2f6e[_0x482e('0x6')](_0x482e('0x172')),_0x3f2f6e['isRemovable']=!0x1,_0x4cc6c6[_0x482e('0x15f')]=_0x3f2f6e;}[_0x482e('0x8e')](_0xe38152,_0x224d58,_0x3c58bd,_0x346300){if(_0xe38152['type']!=_0x224d58||_0xe38152['subType']!=_0x3c58bd||_0xe38152[_0x482e('0x12c')]['id']!=_0x346300)throw this['editor'][_0x482e('0xd0')](_0x482e('0xa9')),new _0x101e5f('track-changes-suggestion-data-mismatch',this);}[_0x482e('0xab')](_0x4078e5,_0x29b3ee){const _0x411e7a=_0x4078e5[_0x482e('0x80')]();if(_0x29b3ee[_0x482e('0xb')](_0x411e7a))_0x4078e5['removeMarkers']();else{if(_0x411e7a[_0x482e('0xc9')](_0x29b3ee)){const _0x3c414b=this[_0x482e('0xdd')][_0x482e('0x75')](_0x29b3ee['start'][_0x482e('0xa0')],_0x482e('0x101'));this['_setSuggestionRange'](_0x4078e5,this[_0x482e('0xdd')][_0x482e('0x118')](_0x411e7a[_0x482e('0x2f')],_0x3c414b));const _0x51e097=_0x10d598(),_0x456077=_0x4078e5['creator']['id'],_0x4fc5e9=_0x4078e5['type']+':'+_0x4078e5[_0x482e('0xc8')];this['_setSuggestionData']({'id':_0x51e097,'type':_0x4fc5e9,'createdAt':new Date(),'authorId':_0x456077,'data':_0x4078e5['data'],'attributes':_0x4078e5[_0x482e('0xa2')]});const _0x3d79c7=this[_0x482e('0xdd')][_0x482e('0x75')](_0x29b3ee[_0x482e('0x101')][_0x482e('0x19')],_0x482e('0xa8')),_0x32c2c4=this[_0x482e('0xdd')][_0x482e('0x118')](_0x3d79c7,_0x411e7a[_0x482e('0x101')]);this[_0x482e('0x130')](_0x4fc5e9,_0x51e097,_0x456077,_0x32c2c4);}else{if(_0x411e7a[_0x482e('0xd4')](_0x29b3ee[_0x482e('0x2f')])){const _0x3f4e0c=this[_0x482e('0xdd')]['createPositionAt'](_0x29b3ee[_0x482e('0x2f')][_0x482e('0xa0')],_0x482e('0x101'));this[_0x482e('0x0')](_0x4078e5,this['_model'][_0x482e('0x118')](_0x411e7a[_0x482e('0x2f')],_0x3f4e0c));}else{const _0xd2dde2=this[_0x482e('0xdd')]['createPositionAt'](_0x29b3ee[_0x482e('0x101')]['parent'],_0x482e('0xa8'));this[_0x482e('0x0')](_0x4078e5,this['_model']['createRange'](_0xd2dde2,_0x411e7a[_0x482e('0x101')]));}}}}[_0x482e('0xa6')](_0x5d0eed){for(const {suggestion:_0xa52002,meta:_0x1aea7d}of this[_0x482e('0x11e')](_0x5d0eed,_0x482e('0x136'))){if(!_0x1aea7d[_0x482e('0xd9')])continue;const _0x92f8b8=_0xa52002[_0x482e('0x10')]();for(const _0x1550c4 of _0x92f8b8)if(!_0x5d0eed[_0x482e('0x14')](_0x1550c4)[_0x482e('0x9f')])return!0x0;}return!0x1;}[_0x482e('0xb1')](_0xa022ef){const _0x355f5e=this[_0x482e('0x12d')]['plugins'][_0x482e('0xf3')](_0x482e('0x13d'))[_0x482e('0x7c')](_0xa022ef);if(!_0x355f5e)throw new _0x101e5f(_0x482e('0x29'),this);return _0x355f5e;}[_0x482e('0x137')](_0x17721c){const _0x2e9c39=this[_0x482e('0x12d')][_0x482e('0x135')][_0x482e('0xf3')]('Users'),_0x5603e3=_0x30c611(_0x482e('0x13')+_0x17721c),_0x433f3b=_0x2e9c39[_0x482e('0x7c')](_0x5603e3);return _0x433f3b||_0x2e9c39[_0x482e('0x4b')]({'id':_0x5603e3,'name':_0x17721c});}[_0x482e('0x8a')](_0x5b93a9,_0x1d21c3,_0x27d6c3,_0x99ea8d,_0x20cfaf){const _0x4bd4d8=this['_getAuthorFromId'](_0x99ea8d),_0x274153=this[_0x482e('0x6d')][_0x482e('0xbf')](_0x5b93a9,_0x1d21c3,_0x27d6c3,_0x4bd4d8,_0x20cfaf,_0x5de82d=>{this['_updateSuggestionData'](_0x27d6c3,{'attributes':_0x5de82d});const _0x50bd94=this[_0x482e('0x107')](_0x27d6c3);this[_0x482e('0x89')](new Set([_0x50bd94])),this[_0x482e('0x10c')](new Set([_0x50bd94]));});return this['listenTo'](_0x274153,_0x482e('0x131'),()=>{this[_0x482e('0x37')](_0x27d6c3,{'state':_0x482e('0x5e')});},{'priority':_0x482e('0x45')}),this[_0x482e('0xeb')](_0x274153,_0x482e('0xb8'),()=>{this[_0x482e('0x37')](_0x27d6c3,{'state':'rejected'});},{'priority':_0x482e('0x45')}),this[_0x482e('0x11d')][_0x482e('0x48')](_0x27d6c3,_0x274153),this['_suggestionState'][_0x482e('0x48')](_0x274153,'notReady'),_0x274153;}[_0x482e('0x126')](_0x5d1682){const _0x378cbc=_0x5d1682[_0x482e('0x1c')](':');return{'group':_0x378cbc[0x0],'type':_0x378cbc[0x1],'subType':_0x378cbc[_0x482e('0x9f')]>=0x5?_0x378cbc[0x2]:null,'id':_0x378cbc[_0x482e('0x9f')]<0x5?_0x378cbc[0x2]:_0x378cbc[0x3],'authorId':_0x378cbc[_0x482e('0x9f')]<0x5?_0x378cbc[0x3]:_0x378cbc[0x4],'markerCount':0x6==_0x378cbc[_0x482e('0x9f')]?_0x378cbc[0x5]:null};}[_0x482e('0x74')](_0x509b12,_0x3ebb81,_0x1d90e){const _0x23f5c0=_0x509b12[_0x482e('0x80')](),_0x3741b8=_0x23f5c0[_0x482e('0x2f')],_0x1cf238=_0x23f5c0[_0x482e('0x101')];this['_setSuggestionRange'](_0x509b12,this[_0x482e('0xdd')]['createRange'](_0x3741b8,_0x3ebb81));const _0x1c71fe=_0x10d598(),_0x2863df=_0x509b12[_0x482e('0x12c')]['id'],_0x27820f=_0x509b12['type']+(_0x509b12[_0x482e('0xc8')]?':'+_0x509b12['subType']:'');this[_0x482e('0x13b')]({'id':_0x1c71fe,'type':_0x27820f,'createdAt':new Date(),'authorId':_0x2863df,'originalSuggestionId':_0x509b12['id'],'attributes':_0x509b12[_0x482e('0xa2')],'data':_0x509b12[_0x482e('0xa4')]});const _0xe11e2c=this[_0x482e('0x4f')](_0x509b12);('formatBlock'==_0x509b12['type']||_0xe11e2c&&this[_0x482e('0x9d')](_0xe11e2c))&&(_0x1d90e=this['_model'][_0x482e('0x8f')](_0x1d90e[_0x482e('0x19')])),this[_0x482e('0x130')](_0x27820f,_0x1c71fe,_0x2863df,this[_0x482e('0xdd')][_0x482e('0x118')](_0x1d90e,_0x1cf238));}[_0x482e('0x11e')](_0x17bb53,_0x395e92=null){const _0x17cf99=[],_0x1738a=this[_0x482e('0x12d')]['plugins'][_0x482e('0xf3')](_0x482e('0x13d'))['me'];Array[_0x482e('0xcd')](_0x17bb53)||(_0x17bb53=[_0x17bb53]);for(const _0x3da3c4 of this[_0x482e('0xac')]()){if(!_0x3da3c4[_0x482e('0xe6')])continue;if(_0x395e92&&_0x3da3c4[_0x482e('0x8')]!=_0x395e92)continue;let _0x26556f=!0x1;for(const _0x3ef821 of _0x3da3c4['getRanges']()){for(const _0x2c9c32 of _0x17bb53){const _0x386b5b=_0x2c9c32['start']['isEqual'](_0x3ef821['end'])||_0x2c9c32['end'][_0x482e('0xb')](_0x3ef821[_0x482e('0x2f')]);if(_0x386b5b||_0x2c9c32[_0x482e('0xcc')](_0x3ef821)){const _0x31b394=_0x2c9c32[_0x482e('0xc9')](_0x3ef821)&&xt(this['_model'][_0x482e('0x11')],_0x3ef821['start'],_0x2c9c32),_0x5c3aae=_0x3ef821[_0x482e('0xc9')](_0x2c9c32)&&xt(this[_0x482e('0xdd')]['schema'],_0x2c9c32[_0x482e('0x2f')],_0x3ef821);_0x17cf99[_0x482e('0x141')]({'suggestion':_0x3da3c4,'meta':{'isOwn':_0x1738a==_0x3da3c4['author'],'isNextTo':_0x386b5b,'isInsideObject':_0x31b394,'containsRangeInObject':_0x5c3aae}}),_0x26556f=!0x0;break;}}if(_0x26556f)break;}}return _0x17cf99;}['_addSuggestionMarker'](_0x115ee1,_0x1e9d35,_0x233778,_0x167392,_0x5a942d){this['_model'][_0x482e('0xb4')](_0x3c63db=>{let _0x39966d='suggestion:'+_0x115ee1+':'+_0x1e9d35+':'+_0x233778;_0x5a942d&&(_0x39966d=_0x39966d+':'+_0x5a942d),_0x3c63db[_0x482e('0xfe')](_0x39966d,{'range':_0x167392,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x482e('0x161')](_0x14fdff){const _0x2dd10b=_0x14fdff[_0x482e('0x6f')],_0x51aff2=_0x14fdff[_0x482e('0x83')];_0x14fdff[_0x482e('0x6f')]=null,_0x14fdff['next']=null,null!=_0x2dd10b&&_0x2dd10b[_0x482e('0x83')]==_0x14fdff&&(_0x2dd10b[_0x482e('0x83')]=_0x51aff2),null!=_0x51aff2&&_0x51aff2[_0x482e('0x6f')]==_0x14fdff&&(_0x51aff2[_0x482e('0x6f')]=_0x2dd10b),_0x482e('0x160')==this[_0x482e('0x35')][_0x482e('0xf3')](_0x14fdff)&&(this['_suggestionState'][_0x482e('0x48')](_0x14fdff,_0x482e('0xbd')),this[_0x482e('0xa7')](_0x482e('0xae'),_0x14fdff,_0x2dd10b,_0x51aff2));}[_0x482e('0x13b')](_0x3859af){const _0x1ff8ec=_0x3859af['id'],_0x1fe128=this['addSuggestionData'](_0x3859af);if(this[_0x482e('0x2')]&&this[_0x482e('0x2')][_0x482e('0xdc')]){const _0x4cc179=this['editor'][_0x482e('0x135')][_0x482e('0xf3')]('PendingActions'),_0x339596=_0x1fe128['hasComments'],_0x45f105=_0x1fe128[_0x482e('0xc8')]?_0x1fe128[_0x482e('0x8')]+':'+_0x1fe128[_0x482e('0xc8')]:_0x1fe128['type'],_0x340bf7=this[_0x482e('0x12d')]['locale'],_0x43fea5=_0x4cc179[_0x482e('0x58')](_0x1df92a(_0x340bf7,'PENDING_ACTION_SUGGESTION')),_0x5a6d9d={'id':_0x1ff8ec,'type':_0x45f105,'hasComments':_0x339596,'data':_0x3859af[_0x482e('0xa4')]||null,'originalSuggestionId':_0x3859af[_0x482e('0x41')]||null,'attributes':_0x1fe128[_0x482e('0xa2')]};this[_0x482e('0x2')][_0x482e('0xdc')](_0x5a6d9d)[_0x482e('0x52')](_0x30a1a3=>{_0x1fe128['_saved']=!0x0,_0x4cc179[_0x482e('0xda')](_0x43fea5),_0x30a1a3&&_0x30a1a3[_0x482e('0xe2')]&&(this[_0x482e('0x11d')][_0x482e('0xf3')](_0x1ff8ec)[_0x482e('0xe2')]=_0x30a1a3[_0x482e('0xe2')]);})[_0x482e('0x4c')](_0x20c347=>{throw _0x207c48('error-saving-suggestion-data-suggestion-discarded'),this[_0x482e('0x12d')][_0x482e('0xbc')][_0x482e('0x14f')]({'isUndoable':!0x1},()=>{_0x1fe128[_0x482e('0xb8')]();}),_0x1fe128['stopListening'](),this[_0x482e('0x11d')][_0x482e('0x10b')](_0x1fe128['id']),this['_suggestionState'][_0x482e('0x10b')](_0x1fe128),_0x20c347;});}return _0x1fe128;}[_0x482e('0x9d')](_0xecc511){return this[_0x482e('0x1')][_0x482e('0x7b')](_0xecc511);}['_updateSuggestionData'](_0x299f26,_0x5db3d0){const _0x4d98a2=this[_0x482e('0x12d')]['plugins']['get']('PendingActions'),_0x2ed61b=this['getSuggestion'](_0x299f26);if(this[_0x482e('0x2')]&&this[_0x482e('0x2')][_0x482e('0x47')]){if(_0x2ed61b[_0x482e('0x51')]){const _0x3e2d66=_0x4d98a2['add'](_0x1df92a(this[_0x482e('0x12d')][_0x482e('0xc')],'PENDING_ACTION_SUGGESTION'));this[_0x482e('0x2')][_0x482e('0x47')](_0x299f26,_0x5db3d0)[_0x482e('0x52')](()=>{_0x4d98a2[_0x482e('0xda')](_0x3e2d66);});}else _0x2ed61b['on'](_0x482e('0x34'),()=>{this[_0x482e('0x37')](_0x299f26,_0x5db3d0);});}}[_0x482e('0x11b')](_0x170814){if(!this[_0x482e('0x2')]||!this['_adapter']['getSuggestion'])throw new _0x101e5f(_0x482e('0x13c'),this);return this[_0x482e('0x2')]['getSuggestion'](_0x170814);}[_0x482e('0xbb')](_0xef3b89){const {id:_0x4a2e3b,type:_0x49b14f,subType:_0x1479a2,authorId:_0x222636}=this[_0x482e('0x126')](_0xef3b89),_0x47b81c=this[_0x482e('0x11d')][_0x482e('0xf3')](_0x4a2e3b)||this[_0x482e('0x8a')](_0x49b14f,_0x1479a2,_0x4a2e3b,_0x222636,{});switch(this[_0x482e('0x8e')](_0x47b81c,_0x49b14f,_0x1479a2,_0x222636),this[_0x482e('0x35')]['get'](_0x47b81c)){case _0x482e('0xcf'):this[_0x482e('0x11b')](_0x4a2e3b)['then'](_0x2f1c3c=>{let _0x129845=Promise[_0x482e('0x106')]();_0x2f1c3c['hasComments']&&(_0x129845=this[_0x482e('0x77')][_0x482e('0x8b')]({'channelId':this[_0x482e('0x12d')][_0x482e('0xf2')][_0x482e('0xf3')](_0x482e('0x5')),'threadId':_0x4a2e3b})),_0x129845[_0x482e('0x52')](()=>{this['addSuggestionData'](_0x2f1c3c)[_0x482e('0x51')]=!0x0;});}),this['_suggestionState'][_0x482e('0x48')](_0x47b81c,_0x482e('0x30'));break;case'removed':this[_0x482e('0x37')](_0x4a2e3b,{'state':'open'});case _0x482e('0x140'):this[_0x482e('0x35')][_0x482e('0x48')](_0x47b81c,_0x482e('0x160')),this['fire'](_0x482e('0x15a'),_0x47b81c);break;case _0x482e('0x160'):this['fire'](_0x482e('0x15c'),_0x47b81c);}return _0x47b81c[_0x482e('0x178')](_0xef3b89),_0x47b81c;}[_0x482e('0x10c')](_0x65471e){const _0x30aa71=Array[_0x482e('0x100')](_0x65471e),_0x3fa2c9=_0x30aa71[_0x482e('0x7a')](_0x5a6ca4=>_0x482e('0x145')==_0x5a6ca4['type']);this[_0x482e('0x1d')](_0x3fa2c9);const _0x53d7a2=_0x30aa71[_0x482e('0x7a')](_0x52e572=>!_0x52e572[_0x482e('0x159')]&&_0x482e('0x145')!=_0x52e572[_0x482e('0x8')]),_0x4db21c=this[_0x482e('0xac')]({'skipNotAttached':!0x0})[_0x482e('0x7a')](_0xee6762=>!_0xee6762[_0x482e('0x159')]&&_0x482e('0x145')!=_0xee6762[_0x482e('0x8')]),_0x2694b9=_0x4db21c[_0x482e('0x7a')](_0x11aee6=>!_0x65471e[_0x482e('0x7b')](_0x11aee6)),_0x14e145=new Map(_0x4db21c['map'](_0x36d5bc=>[_0x36d5bc,this['_suggestionFactory']['getSuggestionCallback'](_0x36d5bc[_0x482e('0x8')],_0x36d5bc[_0x482e('0xc8')],'chain')])),_0x17a07c=new Map(_0x4db21c[_0x482e('0x162')](_0x2f399c=>[_0x2f399c,_0x2f399c[_0x482e('0x80')]()])),_0x311062=new Set(),_0x4b9013=new Set();for(let _0x3695fb=0x0;_0x3695fb<_0x53d7a2[_0x482e('0x9f')];_0x3695fb++)_0x3a2e23(_0x53d7a2[_0x3695fb],_0x53d7a2,_0x3695fb+0x1);for(let _0x4ae34c=0x0;_0x4ae34c<_0x53d7a2[_0x482e('0x9f')];_0x4ae34c++)_0x3a2e23(_0x53d7a2[_0x4ae34c],_0x2694b9,0x0);const _0x3728e1=new Set();for(let _0x12cdb6=0x0;_0x12cdb6<_0x53d7a2[_0x482e('0x9f')];_0x12cdb6++){const _0x3868fa=_0x53d7a2[_0x12cdb6];!_0x4b9013[_0x482e('0x7b')](_0x3868fa)&&_0x3868fa[_0x482e('0x6f')]&&(_0x3728e1[_0x482e('0x58')](_0x3868fa[_0x482e('0x6f')]),_0x3868fa[_0x482e('0x6f')][_0x482e('0x83')]===_0x3868fa&&(_0x3868fa[_0x482e('0x6f')][_0x482e('0x83')]=null),_0x3868fa[_0x482e('0x6f')]=null),!_0x311062[_0x482e('0x7b')](_0x3868fa)&&_0x3868fa['next']&&(_0x3728e1[_0x482e('0x58')](_0x3868fa[_0x482e('0x83')]),_0x3868fa[_0x482e('0x83')][_0x482e('0x6f')]===_0x3868fa&&(_0x3868fa[_0x482e('0x83')]['previous']=null),_0x3868fa[_0x482e('0x83')]=null);}function _0x3a2e23(_0x520773,_0x2ec6c1,_0x42963d){for(let _0x1370b6=_0x42963d;_0x1370b6<_0x2ec6c1[_0x482e('0x9f')];_0x1370b6++){const _0x5d0169=_0x41256b(_0x520773,_0x2ec6c1[_0x1370b6]);_0x5d0169&&(_0x5d0169[0x0][_0x482e('0x83')]=_0x5d0169[0x1],_0x5d0169[0x1][_0x482e('0x6f')]=_0x5d0169[0x0],_0x311062[_0x482e('0x58')](_0x5d0169[0x0]),_0x4b9013[_0x482e('0x58')](_0x5d0169[0x1]));}}function _0x41256b(_0x4306ff,_0x3a8ed5){if(_0x4306ff[_0x482e('0xe0')]['id']!==_0x3a8ed5['author']['id'])return null;const _0x457328=_0x14e145[_0x482e('0xf3')](_0x4306ff)(_0x4306ff,_0x3a8ed5,_0x17a07c['get'](_0x4306ff),_0x17a07c['get'](_0x3a8ed5));if(!_0x457328)return null;return _0x14e145['get'](_0x3a8ed5)(_0x4306ff,_0x3a8ed5,_0x17a07c[_0x482e('0xf3')](_0x4306ff),_0x17a07c[_0x482e('0xf3')](_0x3a8ed5))?_0x457328[0x1][_0x482e('0x15f')]&&_0x457328[0x1]['commentThread'][_0x482e('0x9f')]?null:_0x457328:null;}_0x3728e1[_0x482e('0x171')]&&this[_0x482e('0x10c')](_0x3728e1);}[_0x482e('0x1d')](_0x1040ff){if(0x0==_0x1040ff['length'])return;const _0x1e0c9d=this['getSuggestions']({'skipNotAttached':!0x0})[_0x482e('0x7a')](_0x2a1fd0=>_0x482e('0x145')==_0x2a1fd0[_0x482e('0x8')]&&_0x2a1fd0[_0x482e('0x12')]),_0x5136f0=[],_0x37f7a8=new Map();for(const _0x5517fc of _0x1e0c9d){const _0x3d0afa=_0x30c611(_0x5517fc['attributes']);_0x37f7a8[_0x482e('0x7b')](_0x3d0afa)||(_0x37f7a8['set'](_0x3d0afa,_0x5136f0[_0x482e('0x9f')]),_0x5136f0[_0x482e('0x141')]([]));const _0x315e50=_0x37f7a8['get'](_0x3d0afa);_0x5136f0[_0x315e50]['push'](_0x5517fc);}!function(){_0x5136f0[_0x482e('0x3f')]((_0x246c1f,_0x373729)=>{const _0x1b8788=_0x246c1f[0x0][_0x482e('0xe2')],_0x175ac3=_0x373729[0x0]['createdAt'];return _0x1b8788==_0x175ac3?_0x246c1f[0x0][_0x482e('0xa2')][_0x482e('0xd5')]<_0x373729[0x0][_0x482e('0xa2')][_0x482e('0xd5')]?-0x1:0x1:_0x1b8788<_0x175ac3?-0x1:0x1;});for(const _0x53ffff of _0x5136f0)_0x53ffff['sort']((_0x1906e0,_0x4b4f01)=>_0x1906e0['id']<_0x4b4f01['id']?-0x1:0x1);}();for(let _0x4f9f35=0x0;_0x4f9f35<_0x5136f0['length'];_0x4f9f35++){if(0x0==_0x5136f0[_0x4f9f35][_0x482e('0x9f')])continue;const _0x7fbd6c=[];for(let _0x50586d=_0x4f9f35+0x1;_0x50586d<_0x5136f0[_0x482e('0x9f')];_0x50586d++)0x0!=_0x5136f0[_0x50586d][_0x482e('0x9f')]&&_0x39ab3c(_0x5136f0[_0x4f9f35],_0x5136f0[_0x50586d])&&_0x7fbd6c[_0x482e('0x141')](_0x50586d);for(const _0x34a589 of _0x7fbd6c)_0x5136f0[_0x4f9f35]=_0x5136f0[_0x4f9f35][_0x482e('0x93')](_0x5136f0[_0x34a589]),_0x5136f0[_0x34a589]=[];}for(const _0x2a88b4 of _0x5136f0)for(let _0x4c6ba9=0x0;_0x4c6ba9<_0x2a88b4[_0x482e('0x9f')];_0x4c6ba9++)_0x2a88b4[_0x4c6ba9][_0x482e('0x83')]=_0x2a88b4[_0x4c6ba9+0x1]||null;for(const _0x5e8e83 of _0x5136f0)for(let _0x383ceb=0x0;_0x383ceb<_0x5e8e83['length'];_0x383ceb++)_0x5e8e83[_0x383ceb][_0x482e('0x6f')]=_0x5e8e83[_0x383ceb-0x1]||null;function _0x39ab3c(_0x52d74d,_0x5f36e7){if(_0x52d74d[0x0]['attributes'][_0x482e('0xd5')]!==_0x5f36e7[0x0][_0x482e('0xa2')][_0x482e('0xd5')]&&_0x52d74d[0x0][_0x482e('0xe0')]!==_0x5f36e7[0x0][_0x482e('0xe0')])return!0x1;if(!function(_0x591c7d,_0x5c1579){if(!_0x591c7d['hasComments']&&!_0x5c1579[_0x482e('0xec')])return!0x0;if(_0x591c7d['hasComments']&&_0x5c1579['hasComments'])return!0x1;if(_0x591c7d[_0x482e('0xec')]&&_0x5c1579[_0x482e('0xe2')]<_0x591c7d[_0x482e('0x15f')][_0x482e('0x2e')][_0x482e('0xf3')](0x0)['createdAt'])return!0x0;if(_0x5c1579[_0x482e('0xec')]&&_0x591c7d[_0x482e('0xe2')]<_0x5c1579['commentThread'][_0x482e('0x2e')]['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x52d74d[0x0],_0x5f36e7[0x0]))return!0x1;const _0x16e2ad=_0x30c130(_0x52d74d[0x0]['attributes'],_0x482e('0xd5')),_0x5de5b9=_0x30c130(_0x5f36e7[0x0][_0x482e('0xa2')],_0x482e('0xd5'));if(!_0x453c36(_0x16e2ad,_0x5de5b9))return!0x1;return!!_0x52d74d['every'](_0x2743e1=>_0x5f36e7['some'](_0x48582d=>_0x2743e1['getFirstRange']()['isEqual'](_0x48582d[_0x482e('0x80')]())))&&_0x5f36e7[_0x482e('0x147')](_0x22a61a=>_0x52d74d[_0x482e('0x11a')](_0xcc069f=>_0x22a61a['getFirstRange']()[_0x482e('0xb')](_0xcc069f['getFirstRange']())));}}[_0x482e('0x89')](_0x37ca19){const _0x3c05b0=Array['from'](_0x37ca19),_0x1b3b17=this[_0x482e('0xac')]({'skipNotAttached':!0x0}),_0xfcd555=_0x1b3b17[_0x482e('0x7a')](_0x3173d7=>!_0x37ca19[_0x482e('0x7b')](_0x3173d7)),_0x509544=new Map(_0x3c05b0[_0x482e('0x162')](_0x23f156=>[_0x23f156,this[_0x482e('0x6d')][_0x482e('0x173')](_0x23f156[_0x482e('0x8')],_0x23f156[_0x482e('0xc8')],_0x482e('0xa'))])),_0x4c4f1a=new Map(_0x1b3b17[_0x482e('0x162')](_0x436cc2=>[_0x436cc2,_0x436cc2['getRanges']()]));for(let _0x3a0133=0x0;_0x3a0133<_0x3c05b0[_0x482e('0x9f')];_0x3a0133++){if(_0x3ebbb8(this,_0x3c05b0[_0x3a0133],_0x3c05b0,_0x3a0133+0x1))return!0x0;}for(let _0x4e266c=0x0;_0x4e266c<_0x3c05b0['length'];_0x4e266c++){if(_0x3ebbb8(this,_0x3c05b0[_0x4e266c],_0xfcd555,0x0))return!0x0;}return!0x1;function _0x3ebbb8(_0x148709,_0x260613,_0x96028b,_0x20aaf3){for(let _0x2685e6=_0x20aaf3;_0x2685e6<_0x96028b[_0x482e('0x9f')];_0x2685e6++){const _0x34e3cb=_0x96028b[_0x2685e6];if(_0x34e3cb['type']!==_0x260613['type']||_0x34e3cb[_0x482e('0xe0')]['id']!==_0x260613[_0x482e('0xe0')]['id']||_0x34e3cb[_0x482e('0xc8')]!==_0x260613[_0x482e('0xc8')])continue;if(!Ft(_0x260613,_0x34e3cb,[_0x482e('0xd5')]))continue;if(_0x482e('0x145')==_0x260613['type']&&_0x260613[_0x482e('0xa4')]['oldValue']!=_0x34e3cb['data'][_0x482e('0xfc')])continue;if(_0x482e('0x145')==_0x260613['type']&&_0x148709['_isBlockAttribute'](_0x260613[_0x482e('0xa4')][_0x482e('0x63')]))continue;if('formatBlock'==_0x260613[_0x482e('0x8')]){const _0x42d17=_0x148709[_0x482e('0x12d')]['model'],_0x2c0e4c=_0x260613[_0x482e('0x139')]();if(_0x2c0e4c&&(_0x42d17[_0x482e('0x11')][_0x482e('0x167')](_0x2c0e4c)||_0x42d17[_0x482e('0x11')]['isLimit'](_0x2c0e4c)))continue;}const _0x1adbea=_0x509544[_0x482e('0xf3')](_0x260613),_0x558816=_0x4c4f1a['get'](_0x260613),_0x30f5dd=_0x4c4f1a[_0x482e('0xf3')](_0x34e3cb),_0x1844e7=_0x260613[_0x482e('0x15f')]&&_0x260613[_0x482e('0x15f')][_0x482e('0x9f')],_0x108de0=_0x34e3cb[_0x482e('0x15f')]&&_0x34e3cb[_0x482e('0x15f')][_0x482e('0x9f')];if(!_0x1844e7&&_0x1adbea(_0x30f5dd,_0x558816))return _0x148709['_joinSuggestions'](_0x34e3cb,_0x260613),_0x4c4f1a['delete'](_0x260613),!0x0;if(!_0x108de0&&_0x1adbea(_0x558816,_0x30f5dd))return _0x148709[_0x482e('0x174')](_0x260613,_0x34e3cb),_0x4c4f1a[_0x482e('0x10b')](_0x34e3cb),!0x0;}return!0x1;}}['_joinSuggestions'](_0x5dfda7,_0x70376e){if(_0x5dfda7['isMultiRange'])for(const _0x1b1933 of _0x70376e[_0x482e('0x10')]())_0x5dfda7[_0x482e('0x149')](_0x1b1933);else{const _0x4cc05b=_0x70376e['getFirstRange']()['end'];this[_0x482e('0x0')](_0x5dfda7,this[_0x482e('0xdd')][_0x482e('0x118')](_0x5dfda7[_0x482e('0x80')]()[_0x482e('0x2f')],_0x4cc05b));}_0x70376e[_0x482e('0x18')]();}[_0x482e('0x154')](_0x2c062f,_0x318135){const _0x57eca3=_0x2c062f[_0x482e('0x88')](_0x482e('0x151'))||_0x2c062f['startsWith'](_0x482e('0x145'))?_0x482e('0x90'):_0x2c062f[_0x482e('0xa5')]();return _0x1df92a(this[_0x482e('0x12d')][_0x482e('0xc')],_0x318135+'_'+_0x57eca3+_0x482e('0x142'));}[_0x482e('0x14e')](){const _0x21fa4d=this['editor'];_0x4d5183(this[_0x482e('0xdd')],({left:_0x702d74,entered:_0x4e38a7})=>{const _0x86dd09=[];for(const _0xbe5e99 of _0x702d74){const {group:_0x5da9fc,type:_0x17af16}=this['_splitMarkerName'](_0xbe5e99['name']);if('suggestion'===_0x5da9fc){_0x86dd09[_0x482e('0x141')](this[_0x482e('0x154')](_0x17af16,_0x482e('0x152')));break;}}for(const _0x4d9f42 of _0x4e38a7){const {group:_0x137963,type:_0x5c00e7}=this[_0x482e('0x126')](_0x4d9f42['name']);if(_0x482e('0xad')===_0x137963){_0x86dd09[_0x482e('0x141')](this['_getMarkerAnnouncementText'](_0x5c00e7,_0x482e('0x64')));break;}}_0x86dd09[_0x482e('0x9f')]&&_0x21fa4d['ui']['ariaLiveAnnouncer'][_0x482e('0x116')](_0x482e('0xba'),_0x86dd09['join']('\x20'));});}[_0x482e('0x124')](_0x427cce){if(this['_recordAttributeSuggestions'])return!0x1;const _0x55ef9d=this[_0x482e('0x12d')],_0x56d57b=_0x55ef9d[_0x482e('0xbc')]['document'][_0x482e('0x79')][_0x482e('0x69')]();if(0x0==_0x56d57b['length'])return!0x1;const _0x1f8a4c=[],_0xe72cd7=_0x56d57b[_0x482e('0x7a')](_0x6cf0a5=>_0x482e('0x145')==_0x6cf0a5[_0x482e('0x8')]),_0xceaea0=_0x56d57b['filter'](_0x29a9ee=>_0x482e('0x133')==_0x29a9ee[_0x482e('0x8')]&&_0x482e('0x122')!=_0x29a9ee[_0x482e('0x10a')]),_0x3441a1=_0x56d57b[_0x482e('0x7a')](_0x786a42=>_0x482e('0xda')==_0x786a42[_0x482e('0x8')]&&_0x482e('0x122')!=_0x786a42[_0x482e('0x10a')]);for(const _0x247c41 of _0xe72cd7)_0x1f8a4c[_0x482e('0x141')]({'key':_0x247c41[_0x482e('0x9e')],'newValue':_0x247c41[_0x482e('0xc2')],'oldValue':_0x247c41[_0x482e('0x4a')],'range':Ut(_0x247c41[_0x482e('0x85')],_0x55ef9d[_0x482e('0xbc')])});for(const _0x5c59bf of _0xceaea0){const _0x1e470f=_0x3441a1[_0x482e('0x78')](_0x36e65a=>_0x36e65a[_0x482e('0x16e')]['isEqual'](_0x5c59bf['position']));_0x1e470f&&_0x1f8a4c[_0x482e('0x141')]({'key':'$elementName','newValue':_0x5c59bf['name'],'oldValue':_0x1e470f[_0x482e('0x10a')],'range':_0x55ef9d[_0x482e('0xbc')]['createRangeOn'](_0x5c59bf[_0x482e('0x16e')][_0x482e('0x164')])});}return 0x0!=_0x1f8a4c['length']&&this[_0x482e('0x150')](_0x427cce,_0x1f8a4c);}[_0x482e('0x168')](_0x25d63f){let _0x13fdd3=!0x1;const _0x27919d=this['editor']['model']['document'][_0x482e('0x79')][_0x482e('0x103')]()[_0x482e('0x7a')](_0x189b0f=>_0x189b0f[_0x482e('0xa4')][_0x482e('0xc5')]&&_0x189b0f['name'][_0x482e('0x88')](_0x482e('0xfa')));for(const _0x250367 of _0x27919d){const {subType:_0x302139,id:_0x1af26d}=this[_0x482e('0x126')](_0x250367[_0x482e('0x10a')]),_0x18842d=_0x302139['split']('|')[0x0];for(const _0x29deaf of this[_0x482e('0xac')]({'skipNotAttached':!0x0}))_0x29deaf['id']!=_0x1af26d&&_0x482e('0x145')==_0x29deaf[_0x482e('0x8')]&&_0x29deaf[_0x482e('0xa4')]&&_0x29deaf[_0x482e('0xa4')][_0x482e('0x63')]==_0x18842d&&_0x29deaf[_0x482e('0x80')]()['isIntersecting'](_0x250367[_0x482e('0xa4')]['newRange'])&&(this[_0x482e('0x71')](_0x29deaf,_0x250367['data'][_0x482e('0xc5')],_0x25d63f),_0x13fdd3=!0x0);}return _0x13fdd3;}[_0x482e('0x16c')](_0x1ecf4c){this[_0x482e('0x12d')],(this['_recordAttributeSuggestions']=!0x0,_0x1ecf4c());}[_0x482e('0x28')](_0x1845eb){const _0x5756e4=this[_0x482e('0x9d')](_0x1845eb),_0x479a31=this[_0x482e('0x3a')][_0x482e('0x7b')](_0x1845eb);return _0x5756e4||_0x479a31;}[_0x482e('0x150')](_0x3e64c2,_0x25f857){if(0x0==_0x25f857['length'])return!0x1;let _0x3b69c6=!0x1;for(const _0x400413 of _0x25f857){const _0x18ada3=this[_0x482e('0x11e')](_0x400413[_0x482e('0x85')],_0x482e('0x145'))[_0x482e('0x7a')](_0x3b3a66=>!_0x3b3a66['meta'][_0x482e('0x25')])['map'](_0x274110=>_0x274110[_0x482e('0xad')]),_0x449b3e=_0x30c611({'newValue':_0x400413[_0x482e('0x12b')]});_0x18ada3[_0x482e('0x7a')](_0x574215=>{const [_0x44bf65,_0x4a7488]=_0x574215[_0x482e('0xc8')][_0x482e('0x1c')]('|');return _0x44bf65==_0x400413[_0x482e('0x63')]&&_0x4a7488!=_0x449b3e;})[_0x482e('0xb6')](_0x446ab0=>{this[_0x482e('0x71')](_0x446ab0,_0x400413['range'],_0x3e64c2),_0x3b69c6=!0x0;});}return _0x3b69c6;}['_reduceSuggestionAttributeRange'](_0x4b0e77,_0x4271d1,_0x5d1db9){const _0x3c71ae=_0x4b0e77['getFirstRange']()['getDifference'](_0x4271d1);0x0!==_0x3c71ae[_0x482e('0x9f')]?0x1!==_0x3c71ae['length']?this[_0x482e('0x74')](_0x4b0e77,_0x4271d1['start'],_0x4271d1[_0x482e('0x101')]):this[_0x482e('0x0')](_0x4b0e77,_0x3c71ae[0x0]):_0x5d1db9['removeMarker'](_0x4b0e77['getFirstMarker']());}}class Bt{constructor(_0x56a26b){this[_0x482e('0xf6')]=_0x56a26b,this[_0x482e('0xdd')]=_0x56a26b[_0x482e('0xbc')],this[_0x482e('0x166')]=new Map(),this[_0x482e('0x62')]=new Map(),this[_0x482e('0x72')]();}[_0x482e('0xbf')](_0x193d70,_0x438159,_0x1d5155,_0x30a5f4,_0x4c74c9,_0x70efe7){return new _0x28914f(this['_model'],{'type':_0x193d70,'subType':_0x438159,'id':_0x1d5155,'author':_0x30a5f4,'creator':_0x30a5f4,'attributes':_0x4c74c9,'onAttributesChange':_0x70efe7,'onAccept':(..._0x152ea0)=>this[_0x482e('0x173')](_0x193d70,_0x438159,'accept')(..._0x152ea0),'onDiscard':(..._0x337a2a)=>this[_0x482e('0x173')](_0x193d70,_0x438159,_0x482e('0xb8'))(..._0x337a2a)});}[_0x482e('0xd1')](_0x3dc2e0,_0x54ae4c,_0x555724,_0x53c4d4){const _0x415fb4=_0x3dc2e0+':'+_0x54ae4c+':'+_0x555724;this['_customCallbacks'][_0x482e('0x48')](_0x415fb4,_0x53c4d4);}[_0x482e('0x173')](_0x7da4fa,_0x33242a,_0x417e03){const _0x5698fc=_0x7da4fa+':'+_0x33242a+':'+_0x417e03;return this[_0x482e('0x166')][_0x482e('0xf3')](_0x5698fc)||this['_defaultCallbacks'][_0x482e('0xf3')](_0x7da4fa+':'+_0x417e03);}[_0x482e('0x72')](){const _0x52bdfe=()=>!0x1,_0x512af0=_0x5c507d=>{_0x5c507d['sort']((_0x23020c,_0x318213)=>_0x23020c[_0x482e('0x2f')][_0x482e('0x153')](_0x318213['start'])?0x1:-0x1),this[_0x482e('0xdd')][_0x482e('0xb4')](_0x59644b=>{for(const _0x31bcd1 of _0x5c507d){let _0x17ce8e;_0x17ce8e=_0x31bcd1[_0x482e('0x101')]['isAtEnd']&&_0x31bcd1[_0x482e('0x101')][_0x482e('0x19')]==_0x31bcd1[_0x482e('0x2f')][_0x482e('0x164')]?_0x59644b[_0x482e('0x117')](_0x31bcd1[_0x482e('0x2f')][_0x482e('0x164')],'on'):_0x59644b[_0x482e('0x117')](_0x31bcd1),this[_0x482e('0xdd')][_0x482e('0xaa')](_0x17ce8e,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x5bacf3=(_0x2d3282,_0x3db3a4)=>{_0x3db3a4&&this['_model']['change'](_0x196a86=>{const {commandName:_0x3ab99d,commandParams:_0x2b8224=[]}=_0x3db3a4,_0x3757f4=_0x2d3282[_0x482e('0x162')](_0x1d2dee=>(Rt(_0x1d2dee)&&(_0x1d2dee=this['_model'][_0x482e('0x118')](_0x1d2dee['end'])),_0x1d2dee))[_0x482e('0x7a')](_0x30ba50=>_0x482e('0x132')!==_0x30ba50[_0x482e('0x111')][_0x482e('0xb2')]);if(_0x3757f4['length']<0x1)return;const _0x10e1a0=Array[_0x482e('0x100')](this[_0x482e('0xdd')][_0x482e('0xe9')][_0x482e('0x105')][_0x482e('0x10')]())[_0x482e('0x162')](_0x538e82=>_0x5be075[_0x482e('0xd')](_0x538e82));_0x196a86[_0x482e('0x7')](_0x3757f4);for(const _0x45fe54 of this[_0x482e('0xf6')][_0x482e('0x9c')][_0x482e('0x9c')]())_0x45fe54['refresh']();_0x2b8224[_0x482e('0x141')]({'forceDefaultExecution':!0x0}),this[_0x482e('0xf6')]['execute'](_0x3ab99d,..._0x2b8224);const _0x440703=_0x10e1a0['filter'](_0x27a87f=>_0x482e('0x132')!=_0x27a87f[_0x482e('0x111')]['rootName']);_0x440703['length']>0x0&&_0x196a86[_0x482e('0x7')](_0x440703);for(const _0x4810e9 of _0x10e1a0)_0x4810e9[_0x482e('0x10f')]();});},_0x16092a=(_0x200768,_0x6a86f6)=>0x1==_0x200768[_0x482e('0x9f')]&&0x1==_0x6a86f6[_0x482e('0x9f')]&&_0x200768[0x0][_0x482e('0x101')]['isEqual'](_0x6a86f6[0x0][_0x482e('0x2f')]),_0x902fe1=(_0x15d4c3,_0x5047d5,_0x3c974c,_0x1b993f)=>Gt(_0x15d4c3,_0x5047d5,_0x3c974c,_0x1b993f,this[_0x482e('0xdd')])?[_0x15d4c3,_0x5047d5]:Gt(_0x5047d5,_0x15d4c3,_0x1b993f,_0x3c974c,this[_0x482e('0xdd')])?[_0x5047d5,_0x15d4c3]:null;this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0x165'),_0x52bdfe),this[_0x482e('0x62')]['set']('insertion:discard',_0x512af0),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0x109'),_0x16092a),this[_0x482e('0x62')]['set'](_0x482e('0x54'),_0x902fe1),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0x4'),_0x512af0),this[_0x482e('0x62')]['set'](_0x482e('0xb9'),_0x52bdfe),this['_defaultCallbacks'][_0x482e('0x48')]('deletion:join',_0x16092a),this[_0x482e('0x62')]['set'](_0x482e('0x6a'),_0x902fe1),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0xf1'),_0x5bacf3),this[_0x482e('0x62')]['set'](_0x482e('0x14d'),_0x52bdfe),this[_0x482e('0x62')]['set'](_0x482e('0x44'),_0x16092a),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0xce'),_0x52bdfe),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0xb0'),_0x5bacf3),this['_defaultCallbacks'][_0x482e('0x48')](_0x482e('0x5a'),_0x52bdfe),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0xd6'),_0x16092a),this[_0x482e('0x62')]['set'](_0x482e('0xf9'),_0x52bdfe),this[_0x482e('0x62')][_0x482e('0x48')]('attribute:accept',_0x52bdfe),this['_defaultCallbacks'][_0x482e('0x48')]('attribute:discard',(_0x22a28f,_0x4fdefc)=>{if(!_0x4fdefc)return;const _0x5e180f=this[_0x482e('0xf6')][_0x482e('0x135')]['get'](p);this[_0x482e('0xdd')]['change'](_0x40695c=>{if(_0x482e('0x121')==_0x4fdefc['key'])for(const _0x221dc2 of _0x22a28f){const _0x106f6d=_0x221dc2[_0x482e('0x2f')][_0x482e('0x164')],_0x5d37f7=_0x4fdefc[_0x482e('0xfc')];_0x40695c['rename'](_0x106f6d,_0x5d37f7);}else{if(_0x5e180f[_0x482e('0x9d')](_0x4fdefc['key']))for(const _0x5bb38e of _0x22a28f)void 0x0!==_0x4fdefc[_0x482e('0xfc')]?_0x40695c[_0x482e('0x125')](_0x4fdefc[_0x482e('0x63')],_0x4fdefc['oldValue'],_0x5bb38e[_0x482e('0x2f')][_0x482e('0x164')]):_0x40695c[_0x482e('0x157')](_0x4fdefc[_0x482e('0x63')],_0x5bb38e[_0x482e('0x2f')][_0x482e('0x164')]);else for(const _0x409f33 of _0x22a28f)_0x4fdefc[_0x482e('0xfc')]?_0x40695c[_0x482e('0x125')](_0x4fdefc[_0x482e('0x63')],_0x4fdefc[_0x482e('0xfc')],_0x409f33):_0x40695c[_0x482e('0x157')](_0x4fdefc[_0x482e('0x63')],_0x409f33);}});}),this[_0x482e('0x62')][_0x482e('0x48')](_0x482e('0x119'),_0x16092a);}}function xt(_0x15809b,_0x2a5b00,_0x8d4f6a){for(const _0xbce365 of _0x2a5b00['parent'][_0x482e('0x21')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0xbce365[_0x482e('0x111')]==_0xbce365)return!0x1;if(!_0x8d4f6a[_0x482e('0x2d')](_0xbce365))return!0x1;if(_0x15809b[_0x482e('0x167')](_0xbce365)||_0x15809b[_0x482e('0xe4')](_0xbce365))return!0x0;}return!0x1;}function Rt(_0x469e36){return _0x469e36[_0x482e('0x101')]['parent']==_0x469e36[_0x482e('0x2f')][_0x482e('0x164')]&&_0x469e36[_0x482e('0x101')]['isAtStart'];}function Tt(_0x53c0e3,_0x5bd9cc,_0x3388b0,_0x3b89c9){const _0x2af9d9=_0x5e24f2=>!_0x5e24f2[_0x482e('0x43')]['is']('$textProxy')&&!_0x3b89c9[_0x482e('0x167')](_0x5e24f2[_0x482e('0x43')]),_0x186458=_0x53c0e3[_0x482e('0x2f')]['getLastMatchingPosition'](_0x2af9d9),_0x4ff149=_0x53c0e3['end'][_0x482e('0x6e')](_0x2af9d9,{'direction':'backward'});return(!_0x53c0e3[_0x482e('0x2f')]['isEqual'](_0x186458)||!_0x53c0e3[_0x482e('0x101')]['isEqual'](_0x4ff149))&&(_0x186458['isBefore'](_0x4ff149)?_0x3388b0[_0x482e('0x86')](_0x5bd9cc,{'range':_0x3388b0[_0x482e('0x118')](_0x186458,_0x4ff149)}):_0x3388b0['removeMarker'](_0x5bd9cc),!0x0);}function Et(_0x2904dc){return _0x30c611(_0x2904dc);}function Vt(_0x4f956d){const _0x2f8a9=_0x4f956d[_0x482e('0x2f')][_0x482e('0x164')];return _0x2f8a9&&_0x2f8a9['is']('element');}function Ut(_0x391b4d,_0x6117be){return null==_0x391b4d[_0x482e('0x101')][_0x482e('0xa0')]&&_0x391b4d[_0x482e('0x101')][_0x482e('0x19')]==_0x391b4d[_0x482e('0x2f')][_0x482e('0x164')]?Ot(_0x391b4d[_0x482e('0x2f')][_0x482e('0x164')],_0x6117be):_0x391b4d;}function Ot(_0x17b043,_0x164c01){const _0x13076a=_0x164c01['schema'][_0x482e('0x167')](_0x17b043)||_0x164c01[_0x482e('0x11')]['isSelectable'](_0x17b043);return _0x164c01['createRange'](_0x164c01[_0x482e('0x75')](_0x17b043,_0x482e('0x123')),_0x13076a?_0x164c01['createPositionAfter'](_0x17b043):_0x164c01[_0x482e('0x75')](_0x17b043,'end'));}function Gt(_0x4e353b,_0x3302db,_0x4baa45,_0xa98baf,_0x159e9e){if(!Ft(_0x4e353b,_0x3302db))return!0x1;if(_0x4baa45[_0x482e('0x101')][_0x482e('0xb')](_0xa98baf[_0x482e('0x2f')]))return!0x0;if(_0x4e353b[_0x482e('0x8')]!=_0x3302db[_0x482e('0x8')])return!0x1;if(!_0x4baa45[_0x482e('0x101')]['isTouching'](_0xa98baf['start']))return!0x1;const _0xc73ae7=_0x159e9e[_0x482e('0x118')](_0x4baa45[_0x482e('0x101')],_0xa98baf[_0x482e('0x2f')])['getWalker']();for(const _0x23c897 of _0xc73ae7)if([_0x482e('0x46'),_0x482e('0x61')]['includes'](_0x23c897['type'])&&_0x159e9e[_0x482e('0x11')][_0x482e('0xe4')](_0x23c897['item']))return!0x1;return!0x0;}function Ft(_0x12b1cd,_0x7e4c09,_0x547df7=[]){return!(!_0x12b1cd[_0x482e('0x12')]||!_0x7e4c09[_0x482e('0x12')])&&_0x453c36(_0x30c130(_0x12b1cd[_0x482e('0xa2')],_0x547df7),_0x30c130(_0x7e4c09['attributes'],_0x547df7));}function Pt(_0x26f511,_0x261f22){const _0x5e5f42=Lt(_0x26f511['attributes']),_0x37bc02=Lt(_0x261f22);if(!_0x26f511[_0x482e('0x12')])return!0x1;for(const _0x1fd957 of Object['keys'](_0x37bc02))if(!_0x453c36(_0x5e5f42[_0x1fd957],_0x37bc02[_0x1fd957]))return!0x1;return!0x0;}function Lt(_0x9c8be){const _0x5cf751=Object['assign']({},_0x9c8be);return delete _0x5cf751[_0x482e('0x9')],delete _0x5cf751[_0x482e('0x155')],_0x5cf751;}