@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231223.0 → 0.0.0-nightly-20231225.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-20231223.0",
3
+ "version": "0.0.0-nightly-20231225.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-20231223.0",
44
- "ckeditor5-collaboration": "0.0.0-nightly-20231223.0",
43
+ "ckeditor5": "0.0.0-nightly-20231225.0",
44
+ "ckeditor5-collaboration": "0.0.0-nightly-20231225.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 _0x482f=['isCollapsed','collaboration.channelId','_checkSuggestionCorrectness','createRange','define','history','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.','formatInline:accept','isSelectable','formatBlock:discard','refresh','split','addMarker','commandName','markers','_blockAttributeKeys','isEqual','getWalker','getMarkers','isNextTo','splice','hasComments','_isBlockAttribute','_trackFormatChanges','low','join','start','version','_editor','move','isLocal','removeAttribute','default','toUpperCase','return','removeClass','_registerBlockAttribute','forward','then','track-changes-suggestion-data-mismatch','createPositionAfter','addClass','_getMarkerAnnouncementText','editingDowncast','deletion:accept','model','_refreshSuggestionsChain','discardAllSuggestions','rename','add','isBefore','_refreshAttributeSuggestionsChain','deletion:discard','fetchCommentThread','$elementName','accept','$graveyard','_isDataLoaded','change:activeMarkers','_registerDefaultCallbacks','containsItem','isArray','_splitMarkerName','enqueueChange','highest','markInsertion','insertion:chain','error-saving-suggestion-data-suggestion-discarded','_enableDefaultAttributesIntegration','oldRange','insertion','moveTargetPosition','has','markerToHighlight','type','init','schema','deletion:','_model','rejected','conversion','document','_defaultCallbacks','ck-suggestion-marker','set','batch','elementEnd','deleteContent','find','getChanges','stop','_addThreadToSuggestion','never','attribute:join','createdAt','substr','normal','getContainedElement','_onDiscard','delete','acceptSuggestion','getFirstMarker','ck-suggestion-marker-formatBlock','dataDowncast','_commentsRepository','rootName','dataToMarker','substring','markAttributeChange','removeMarker','_cutOutSuggestionMarker','consumable','createSelection','isAfter','unbindElementFromMarkerName','buildSuggestion','subType','getCommentThread','ck-suggestion-marker-formatInline','keys','formatBlock','commentThread','mapper','isIntersecting','some','adapter','multipleBlocks','_mergeNestedSuggestions','isInsideObject','_processAttributeSuggestions','getShiftedBy','deletion:join','newRange','_adapter','head','detach','isBlock','getRanges','authorName','range','skipNestingCheck','options','for','isIntersectingWithRange','markerToData','getNearestSelectionRange','_initAriaMarkerChangeAnnouncements','addRange','suggestion-type','insertion:accept','attributeOldValue','_getSuggestionData','_SUGGESTION_ANNOUNCEMENT','rethrowUnexpectedError','isLimit','originalSuggestionId','getCustomProperty','formatInline:chain','getMultiRangeId','groupId','previous','trackChangesCommand','_joinSuggestions','enableReadOnlyMode','attribute:accept','isObject','announce','notReady','$marker','applyOperation','markInlineFormat','insert','_rangeIsInLocalUserInsertion','_customCallbacks','fromRange','value','TrackChangesEditing','isTouching','insertContent','addHighlight','FORMATTING','_isForcedDefaultExecutionBlock','createPositionBefore','_addSuggestionMarker','item','registerCustomCallback','howMany','toViewElement','high','update:suggestion','requires','getFirstRange','removeMarker:suggestion:formatBlock','editing','getSuggestions','comments','commands','discard','_recordAttributeChanges','removeMarker:suggestion:attribute','_enabledCommands','containsRangeInObject','end','forEach','addMarker:suggestion:attribute','_setSuggestionRange','_suggestionState','_getExternalAuthor','suggestionUnloaded','getLastMatchingPosition','_saved','getSuggestion','suggestion:','_findSuggestions','key','_recordAttributeSuggestionsFromVersion','attributeNewValue','dataReady','length','values','catch','chain','addComment','accepted','remove','createRangeOn','changeAttribute','_suggestions','before','containerElement','formatInline:join','suggestion:attribute:','isOwn','elementStart','pluginName','differ','PENDING_ACTION_SUGGESTION','change','assign','setAttribute','ENTER','insertion:','formatBlock:','newName','Users','insertion:discard','markerNameToElements','plugins','attribute:','hasSuggestion','external:','warn','ck-suggestion-marker-','_updateSuggestionData','widget','attributes','getAllAdjacentSuggestions','markMultiRangeInsertion','forceDefaultExecution','_reduceExistingSuggestions','markDeletion','_getAuthorFromId','_inlineAttributeKeys','config','getChangedMarkers','consume','element','suggestionLoaded','get','marker-count','getIntersection','attribute:discard','_createSuggestion','getItems','createElement','_reduceSuggestionAttributeRange','position','acceptAllSuggestions','oldName','track-changes-adapter-missing-getsuggestion','deletion:chain','nodeBefore','isAtStart','documentSelection','after','ck-suggestion-marker--active','getSuggestionCallback','from','resolve','addSuggestionData','_joinWithAdjacentSuggestions','enableCommand','_setSuggestionData','containsPosition','formatBlock:chain','discardSelectedSuggestions','newValue','ready','trackChanges.trackFormatChanges','isMultiRange','name','showSuggestionHighlights','removeComment','writer','@external','addSuggestion','_removeSuggestion','listenTo','insertion:join','upcast','authoredAt','trackChanges.mergeNestedSuggestions','author','editor','push','updateMarker','always','PendingActions','change:_saved','data-suggestion','backward','sort','splitPosition','containsRange','addMarker:suggestion:formatBlock','markerName','unbind','suggestion','acceptSelectedSuggestions','getRange','formatInline','every','LEAVE','_registerInlineAttribute','addUser','CommentsRepository','createPositionAt','root','createRangeIn','oldValue','attribute','reconvertMarker','_suggestionFactory','execute','getOperations','deletion','locale','setSelection','formatInline:','_breakSuggestionMarker','getAttribute','registerPostFixer','filter','formatBlock:accept','creator','track-changes-suggestion-not-found','removed','addAttribute','selection','track-changes-user-not-found','formatGroupId','map','parent','getDifference','_handleNewSuggestionMarker','isRemovable','getUser','isInContent','discardSuggestion','size','removeMarkers','elementToElement','markMultiRangeBlockFormat','group','activeMarkers','$text','isAtEnd','fire','next','includes','isDocumentOperation','clear','trackChanges','nodeAfter','clone','track-changes-adapter-already-set','markBlockFormat','multi','data'];(function(_0x382461,_0x482f96){const _0x308075=function(_0x4283ef){while(--_0x4283ef){_0x382461['push'](_0x382461['shift']());}};_0x308075(++_0x482f96);}(_0x482f,0x72));const _0x3080=function(_0x382461,_0x482f96){_0x382461=_0x382461-0x0;let _0x308075=_0x482f[_0x382461];return _0x308075;};import{Plugin as _0x3d75ea,PendingActions as _0x2e1e42}from'ckeditor5/src/core.js';import{LiveRange as _0x441896}from'ckeditor5/src/engine.js';import{CKEditorError as _0x134604,uid as _0x10af11,priorities as _0x102994,logWarning as _0x38bf58}from'ckeditor5/src/utils.js';import{toWidget as _0x20ae6b}from'ckeditor5/src/widget.js';import{Users as _0xb34495,hashObject as _0x469935,surroundingMarkersDetector as _0x21acf8}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x44e1da from'./commands/trackchangescommand.js';import _0x564c9c from'./commands/acceptsuggestioncommand.js';import _0x208674 from'./commands/discardsuggestioncommand.js';import _0x5bedce from'./commands/executeonallsuggestionscommand.js';import _0x150cef from'./commands/executeonselectedsuggestionscommand.js';import _0x1526e2 from'./suggestion.js';import _0x3c23fe from'./suggestiondescriptionfactory.js';import _0x2aaae1 from'./integrations/aiassistant.js';import _0x11697c from'./integrations/alignment.js';import _0x1a4632 from'./integrations/basicstyles.js';import _0xdf9fb8 from'./integrations/blockquote.js';import _0x26e49a from'./integrations/ckbox.js';import _0x537ffe from'./integrations/codeblock.js';import _0x2f46c7 from'./integrations/comments.js';import _0x253e55 from'./integrations/deletecommand.js';import _0x554f25 from'./integrations/documentlist.js';import _0xdf3a41 from'./integrations/documentlistproperties.js';import _0x3961c1 from'./integrations/entercommand.js';import _0x35f9f7 from'./integrations/findandreplace.js';import _0x3dd664 from'./integrations/font.js';import _0x1b936c from'./integrations/formatpainter.js';import _0x59bdba from'./integrations/heading.js';import _0x3646b3 from'./integrations/highlight.js';import _0x478e41 from'./integrations/horizontalline.js';import _0x4448ff from'./integrations/htmlembed.js';import _0x189742 from'./integrations/image.js';import _0x13c0ef from'./integrations/imagereplace.js';import _0x445fa4 from'./integrations/imagestyle.js';import _0x3adc6e from'./integrations/importword.js';import _0x56eb77 from'./integrations/indent.js';import _0x571533 from'./integrations/inputcommand.js';import _0x58e85e from'./integrations/link.js';import _0xc4279b from'./integrations/list.js';import _0x13e387 from'./integrations/listproperties.js';import _0x40eff2 from'./integrations/mediaembed.js';import _0x41c65e from'./integrations/mention.js';import _0x42cf1d from'./integrations/pagebreak.js';import _0xe8e65b from'./integrations/paragraph.js';import _0x2081d5 from'./integrations/removeformat.js';import _0x154586 from'./integrations/restrictededitingmode.js';import _0xaeac6 from'./integrations/shiftentercommand.js';import _0x5e2fd4 from'./integrations/standardeditingmode.js';import _0x5b0168 from'./integrations/style.js';import _0x1cb066 from'./integrations/table.js';import _0x1a0523 from'./integrations/tablemergesplit.js';import _0x3c13fe from'./integrations/tableheadings.js';import _0xabca68 from'./integrations/tableclipboard.js';import _0x2a37d9 from'./integrations/tablecolumnresize.js';import _0x24b62d from'./integrations/template.js';import _0x51da92 from'./integrations/tableofcontents.js';import _0x4b566b from'./integrations/title.js';import _0x5b4b54 from'./integrations/undo.js';import _0x4d38b1 from'./integrations/tablecaption.js';import _0xf9f9b1 from'./integrations/tableproperties.js';import{getTranslation as _0xaf0263}from'./utils/common-translations.js';import{isEqual as _0x251618,omit as _0x2b8df0}from'lodash-es';export const renameAttributeKey=_0x3080('0x149');export default class p extends _0x3d75ea{static get[_0x3080('0x4c')](){return[_0x3080('0xdd'),_0xb34495,_0x2e1e42,_0x2aaae1,_0x11697c,_0x1a4632,_0xdf9fb8,_0x26e49a,_0x537ffe,_0x2f46c7,_0x253e55,_0x554f25,_0xdf3a41,_0x3961c1,_0x35f9f7,_0x3dd664,_0x1b936c,_0x59bdba,_0x3646b3,_0x478e41,_0x4448ff,_0x189742,_0x445fa4,_0x13c0ef,_0x3adc6e,_0x56eb77,_0x571533,_0x58e85e,_0xc4279b,_0x13e387,_0x40eff2,_0x41c65e,_0x42cf1d,_0xe8e65b,_0x2081d5,_0x154586,_0xaeac6,_0x5e2fd4,_0x5b0168,_0x1cb066,_0x1a0523,_0x3c13fe,_0x4d38b1,_0xabca68,_0x2a37d9,_0x51da92,_0xf9f9b1,_0x24b62d,_0x4b566b,_0x5b4b54];}static get[_0x3080('0x78')](){return _0x3080('0x3e');}constructor(_0x31bfa7){function _0x2475f2(_0x5c2888){return _0x5c2888[_0x3080('0xf7')](_0x375b1d=>String['fromCharCode'](_0x375b1d))[_0x3080('0x12c')]('');}super(_0x31bfa7),this[_0x3080('0x65')]=null,this['set'](_0x3080('0x104'),[]),this['on'](_0x3080('0x14d'),(_0x38b1ec,_0x32e4e7,_0x7a9cd8,_0x51b989)=>{this['_model']['change'](()=>{for(const _0x4ee118 of[..._0x51b989,..._0x7a9cd8])this['_model']['markers']['has'](_0x4ee118)&&_0x31bfa7[_0x3080('0x4f')][_0x3080('0xe3')](_0x4ee118);});}),this['_descriptionFactory']=new _0x3c23fe(this['editor']['model'][_0x3080('0x15f')],this[_0x3080('0xc7')][_0x3080('0xe8')]),this[_0x3080('0x13')]=null,this[_0x3080('0xe4')]=new $t(this['editor']),this['_suggestions']=new Map(),this[_0x3080('0x17b')]=_0x31bfa7[_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0xdd')),this[_0x3080('0x56')]=new Set(),this['_model']=this[_0x3080('0xc7')][_0x3080('0x140')],this[_0x3080('0x5c')]=new WeakMap(),this[_0x3080('0x43')]=!0x1,this[_0x3080('0x122')]=new Set(['$elementName']),this[_0x3080('0x94')]=new Set(),_0x31bfa7[_0x3080('0x95')][_0x3080('0x117')](_0x3080('0xb8'),_0x3080('0x133')),this[_0x3080('0x12a')]=_0x31bfa7[_0x3080('0x95')][_0x3080('0x9a')](_0x3080('0xb8')),_0x31bfa7[_0x3080('0x95')][_0x3080('0x117')](_0x3080('0xc5'),!0x0),this[_0x3080('0xd')]=_0x31bfa7['config'][_0x3080('0x9a')](_0x3080('0xc5')),this['trackChangesCommand']=new _0x44e1da(_0x31bfa7,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x2475f2([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x2475f2([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x36]);}[_0x3080('0x15e')](){const _0x518715=this['editor'],_0x7a046f=(_0x453de1,_0x5e4f8c)=>{if(_0x3080('0xe2')!=_0x453de1)return _0x3080('0x8a')+_0x453de1;const _0x551f68=_0x5e4f8c[_0x3080('0x11e')]('|')[0x0];return this[_0x3080('0x129')](_0x551f68)?_0x3080('0x179'):_0x3080('0x4');};_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x13e'))[_0x3080('0x15c')]({'model':_0x3080('0xd5'),'view':_0x2cc902=>{const {id:_0x40c52f,type:_0x3fb825,subType:_0x32841f}=this[_0x3080('0x151')](_0x2cc902[_0x3080('0xd3')]),_0x1fa56f=[_0x3080('0x166'),_0x7a046f(_0x3fb825,_0x32841f)];let _0x2d47da=0xbb8;return this[_0x3080('0x104')][_0x3080('0x109')](_0x2cc902['markerName'])&&(_0x1fa56f[_0x3080('0xc8')](_0x3080('0xab')),_0x2d47da=0xbc2),'deletion'==_0x3fb825&&(_0x2d47da+=0x5),{'classes':_0x1fa56f,'attributes':{'data-suggestion':_0x40c52f},'priority':_0x2d47da};}}),_0x518715[_0x3080('0x163')]['for'](_0x3080('0x17a'))['add'](_0x11cdbe=>{_0x11cdbe['on']('addMarker:suggestion',(_0x111dc7,_0x5da004,_0x2064c7)=>{if(!_0x2064c7[_0x3080('0x1b')][_0x3080('0xbb')])return;const _0x366835=_0x5da004['item'];if(!_0x366835)return;const _0x21e9cf=_0x2064c7[_0x3080('0x8')][_0x3080('0x49')](_0x366835);_0x518715[_0x3080('0x140')]['schema']['isObject'](_0x366835)&&_0x21e9cf&&!_0x21e9cf[_0x3080('0x2a')](_0x3080('0x8c'))&&_0x21e9cf['is'](_0x3080('0x73'))&&_0x20ae6b(_0x21e9cf,_0x2064c7[_0x3080('0xbd')]);},{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x15c')]({'model':_0x3080('0xd5'),'view':(_0x5de5ea,_0x1eba4e)=>{if(!_0x1eba4e['options'][_0x3080('0xbb')])return null;const {type:_0x32fbbf,subType:_0x36955c}=this[_0x3080('0x151')](_0x5de5ea[_0x3080('0xd3')]);return{'classes':[_0x3080('0x166'),_0x7a046f(_0x32fbbf,_0x36955c)],'priority':0xbb8};}});const _0x2aa5ed=({showActiveMarkers:_0x194cf0=!0x0,isAttributeSuggestion:_0x25d193=!0x1}={})=>(_0x1cbafc,_0x7e54d9,_0x59af06)=>{if(!_0x7e54d9[_0x3080('0x46')])return;const {id:_0x39e310}=this[_0x3080('0x151')](_0x7e54d9[_0x3080('0xd3')]);if(_0x25d193){const _0x28266f=Pt(this[_0x3080('0x71')][_0x3080('0x9a')](_0x39e310));if(!this[_0x3080('0x129')](_0x28266f))return;}if(_0x7e54d9[_0x3080('0x46')]['is'](_0x3080('0xf4')))return void _0x59af06['consumable']['consume'](_0x7e54d9['item'],_0x1cbafc['name']);const _0x1dc0d7=_0x59af06[_0x3080('0x8')][_0x3080('0x49')](_0x7e54d9[_0x3080('0x46')]);if(_0x7e54d9[_0x3080('0x46')]['is'](_0x3080('0x98'))&&_0x518715[_0x3080('0x140')][_0x3080('0x15f')][_0x3080('0x16')](_0x7e54d9[_0x3080('0x46')])&&!_0x1dc0d7['getCustomProperty'](_0x3080('0x41'))){_0x59af06[_0x3080('0xbd')][_0x3080('0x13c')]([_0x3080('0x166'),_0x3080('0x179')],_0x1dc0d7),_0x59af06[_0x3080('0xbd')]['setAttribute']('data-suggestion',_0x39e310,_0x1dc0d7),_0x59af06['mapper']['bindElementToMarker'](_0x1dc0d7,_0x7e54d9[_0x3080('0xd3')]),_0x194cf0&&(this[_0x3080('0x104')][_0x3080('0x109')](_0x7e54d9[_0x3080('0xd3')])?_0x59af06[_0x3080('0xbd')]['addClass'](_0x3080('0xab'),_0x1dc0d7):_0x59af06[_0x3080('0xbd')][_0x3080('0x136')](_0x3080('0xab'),_0x1dc0d7));for(const _0x14da7c of _0x518715[_0x3080('0x140')][_0x3080('0xe0')](_0x7e54d9['item'])[_0x3080('0x9f')]())_0x59af06[_0x3080('0x182')][_0x3080('0x97')](_0x14da7c,_0x1cbafc['name']);_0x59af06[_0x3080('0x182')]['consume'](_0x7e54d9[_0x3080('0x46')],_0x1cbafc[_0x3080('0xba')]);}};_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x144')](_0x11d448=>{_0x11d448['on'](_0x3080('0xd2'),(_0x5ecc18,_0x3ef243,_0x437a52)=>{_0x437a52[_0x3080('0x1b')][_0x3080('0xbb')]&&_0x2aa5ed({'showActiveMarkers':!0x1})(_0x5ecc18,_0x3ef243,_0x437a52);},{'priority':'highest'});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x17a'))[_0x3080('0x144')](_0x5a98dd=>{_0x5a98dd['on'](_0x3080('0x5a'),(_0x4acb0e,_0x272f79,_0x46d663)=>{_0x46d663['options'][_0x3080('0xbb')]&&_0x2aa5ed({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4acb0e,_0x272f79,_0x46d663);},{'priority':_0x3080('0x153')});}),_0x518715[_0x3080('0x163')]['for']('dataDowncast')[_0x3080('0x1e')]({'model':_0x3080('0xd5'),'view':(_0x31d79b,_0x26a88f)=>_0x26a88f[_0x3080('0x1b')]['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x31d79b[_0x3080('0x172')](0xb)}}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0xc3'))[_0x3080('0x101')]({'view':{'name':_0x3080('0xd5'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x44c3bc,{writer:_0x327675})=>{let _0x14e7ec=_0x3080('0x62')+_0x44c3bc[_0x3080('0xec')](_0x3080('0x22'))+':'+_0x44c3bc[_0x3080('0xec')]('id');return _0x44c3bc['getAttribute'](_0x3080('0x9b'))&&(_0x14e7ec+=':'+_0x44c3bc[_0x3080('0xec')]('marker-count')),_0x327675[_0x3080('0xa0')](_0x3080('0x36'),{'data-name':_0x14e7ec});}}),_0x518715['conversion'][_0x3080('0x1c')]('upcast')[_0x3080('0x17d')]({'view':_0x3080('0xd5')}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')](_0x3080('0x13e'))[_0x3080('0x144')](_0x32d91a=>{_0x32d91a['on'](_0x3080('0xd2'),_0x2aa5ed(),{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')]['for'](_0x3080('0x13e'))[_0x3080('0x144')](_0x12a5e0=>{_0x12a5e0['on']('addMarker:suggestion:attribute',_0x2aa5ed({'isAttributeSuggestion':!0x0}),{'priority':_0x3080('0x4a')});}),_0x518715[_0x3080('0x163')][_0x3080('0x1c')]('editingDowncast')[_0x3080('0x144')](_0x79ec48=>{_0x79ec48['on'](_0x3080('0x4e'),(_0x32d8dd,_0x5ede83,_0x21853c)=>{const _0x447588=_0x21853c[_0x3080('0x8')][_0x3080('0x84')](_0x5ede83[_0x3080('0xd3')]);if(_0x447588)for(const _0x185cc5 of _0x447588)_0x185cc5[_0x3080('0x2a')](_0x3080('0x41'))||(_0x21853c[_0x3080('0xbd')]['removeClass']([_0x3080('0x166'),_0x3080('0x179'),_0x3080('0xab')],_0x185cc5),_0x21853c[_0x3080('0xbd')][_0x3080('0x132')]('data-suggestion',_0x185cc5),_0x21853c[_0x3080('0x8')][_0x3080('0x0')](_0x185cc5,_0x5ede83[_0x3080('0xd3')]));},{'priority':_0x3080('0x4a')});}),_0x518715['conversion'][_0x3080('0x1c')](_0x3080('0x13e'))['add'](_0x4709e0=>{_0x4709e0['on'](_0x3080('0x55'),(_0x1c09a7,_0x145a5a,_0x3b91a0)=>{const _0x2fda96=_0x3b91a0[_0x3080('0x8')][_0x3080('0x84')](_0x145a5a[_0x3080('0xd3')]);if(!_0x2fda96)return;const {id:_0x433d4b}=this['_splitMarkerName'](_0x145a5a[_0x3080('0xd3')]),_0x10d4e5=Pt(this[_0x3080('0x71')]['get'](_0x433d4b));if(this[_0x3080('0x129')](_0x10d4e5))for(const _0x35aa7a of _0x2fda96)_0x35aa7a[_0x3080('0x2a')]('addHighlight')||(_0x3b91a0[_0x3080('0xbd')][_0x3080('0x136')](['ck-suggestion-marker',_0x3080('0x179'),_0x3080('0xab')],_0x35aa7a),_0x3b91a0[_0x3080('0xbd')]['removeAttribute'](_0x3080('0xcd'),_0x35aa7a),_0x3b91a0[_0x3080('0x8')][_0x3080('0x0')](_0x35aa7a,_0x145a5a['markerName']));},{'priority':_0x3080('0x4a')});}),_0x518715['model'][_0x3080('0x164')]['registerPostFixer'](_0x1a6e76=>{let _0x2bbc39=!0x1;const _0x2d7b50=Array[_0x3080('0xad')](_0x518715['model'][_0x3080('0x164')][_0x3080('0x79')]['getChangedMarkers']()),_0x3c3786=new Set();for(const {name:_0xb09ec,data:_0x152f82}of _0x2d7b50){const {group:_0x5f5606,type:_0x582484,subType:_0x1e1c79,id:_0x187b7c}=this[_0x3080('0x151')](_0xb09ec);if('suggestion'!==_0x5f5606)continue;const _0x5064ae=this[_0x3080('0x71')][_0x3080('0x9a')](_0x187b7c);if(null!=_0x152f82[_0x3080('0x12')]){_0x3080('0xd8')==_0x582484&&(_0x2bbc39=_0x2bbc39||xt(_0x152f82[_0x3080('0x12')],_0xb09ec,_0x1a6e76,_0x518715[_0x3080('0x140')][_0x3080('0x15f')]));const _0x39ee4b=_0x3080('0xe2')==_0x582484&&this['_isBlockAttribute'](_0x1e1c79['split']('|')[0x0]);if(_0x152f82[_0x3080('0x12')]['isCollapsed']||_0x3080('0x14b')==_0x152f82[_0x3080('0x12')]['root'][_0x3080('0x17c')]||_0x3080('0x6')==_0x582484&&!Rt(_0x152f82[_0x3080('0x12')])||_0x39ee4b&&!Rt(_0x152f82['newRange'])||_0x3080('0xe7')==_0x582484&&!(!Tt(_0x4b15cf=_0x152f82[_0x3080('0x12')])&&!function(_0x2cbdc2){return _0x2cbdc2[_0x3080('0x12d')][_0x3080('0xf8')]==_0x2cbdc2[_0x3080('0x58')]['nodeBefore']&&_0x2cbdc2[_0x3080('0x12d')][_0x3080('0x106')];}(_0x4b15cf)))_0x1a6e76[_0x3080('0x180')](_0xb09ec),_0x2bbc39=!0x0;else{if(!_0x5064ae||!_0x5064ae[_0x3080('0xfd')])continue;_0x3c3786[_0x3080('0x144')](_0x5064ae);}}}var _0x4b15cf;return _0x3c3786['size']>0x0&&(_0x2bbc39=!!this[_0x3080('0xb0')](_0x3c3786)||_0x2bbc39),_0x2bbc39;}),_0x518715['model'][_0x3080('0x164')]['registerPostFixer'](_0x113e09=>{let _0x367418=!0x1;for(const _0xeb994e of _0x518715[_0x3080('0x140')]['document'][_0x3080('0x79')][_0x3080('0x16c')]())if(_0x3080('0x39')==_0xeb994e[_0x3080('0x15d')])for(const _0x19c321 of this[_0x3080('0x71')][_0x3080('0x69')]()){if(_0x19c321[_0x3080('0xb9')]||!_0x19c321[_0x3080('0xfd')])continue;const _0x1ea13e=_0x3080('0x6')==_0x19c321[_0x3080('0x15d')],_0x211fa8=Pt(_0x19c321),_0x365aa3=_0x211fa8&&this[_0x3080('0x129')](_0x211fa8);if(!_0x1ea13e&&!_0x365aa3)continue;const _0x55b6c0=_0x19c321[_0x3080('0x4d')]();if(_0x55b6c0[_0x3080('0x12d')]['parent']!=_0x55b6c0[_0x3080('0x58')][_0x3080('0xf8')]&&!_0x55b6c0['end'][_0x3080('0x106')]){const _0xd973c8=_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0x55b6c0[_0x3080('0x12d')][_0x3080('0x10d')],'end'),_0x30a4c7=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x55b6c0[_0x3080('0x12d')],_0xd973c8);_0x113e09['updateMarker'](_0x19c321[_0x3080('0x178')](),{'range':_0x30a4c7}),_0x367418=!0x0;}}return _0x367418;}),_0x518715[_0x3080('0x140')]['document'][_0x3080('0xed')](_0x1ddd49=>this['_processAttributeChanges'](_0x1ddd49)),_0x518715[_0x3080('0x140')][_0x3080('0x164')][_0x3080('0xed')](_0xe0b99e=>!_0xe0b99e[_0x3080('0x168')][_0x3080('0x131')]&&this[_0x3080('0xf')](_0xe0b99e)),_0x518715[_0x3080('0x140')][_0x3080('0x121')]['on'](_0x3080('0x4b'),(_0x12802a,_0x4f1d20,_0x310390)=>{if(null==_0x310390){const {id:_0x28d884}=this['_splitMarkerName'](_0x4f1d20[_0x3080('0xba')]),_0xcdfc12=this[_0x3080('0x71')][_0x3080('0x9a')](_0x28d884);_0xcdfc12&&_0xcdfc12['addMarkerName'](_0x4f1d20[_0x3080('0xba')]);}}),_0x518715[_0x3080('0x140')]['document']['on']('change:data',()=>{const _0x19bca5=Array[_0x3080('0xad')](_0x518715[_0x3080('0x140')]['document']['differ']['getChangedMarkers']())[_0x3080('0xee')](_0x2cb8a4=>'suggestion'===this[_0x3080('0x151')](_0x2cb8a4[_0x3080('0xba')])[_0x3080('0x103')]);if(0x0===_0x19bca5[_0x3080('0x68')])return;_0x19bca5['sort']((_0x1f68b8,_0x49a467)=>{const _0x2a6c45=_0x1f68b8[_0x3080('0x112')][_0x3080('0x158')],_0x3b2892=_0x49a467[_0x3080('0x112')][_0x3080('0x158')];return null===_0x2a6c45&&null===_0x3b2892?0x0:null===_0x2a6c45&&null!==_0x3b2892?-0x1:null!==_0x2a6c45&&null===_0x3b2892?0x1:_0x2a6c45[_0x3080('0x12d')][_0x3080('0x145')](_0x3b2892[_0x3080('0x12d')])?-0x1:0x1;});const _0x13b8e6=new Set(),_0x3bc0c7=new Set();for(const {name:_0x3114c8,data:_0x2e8917}of _0x19bca5){const {id:_0xfb0c32}=this['_splitMarkerName'](_0x3114c8);if(null===_0x2e8917[_0x3080('0x158')]){const _0x3670a9=this[_0x3080('0xfa')](_0x3114c8);_0x3bc0c7[_0x3080('0x144')](_0x3670a9);}else{const _0x5ccb00=this['_suggestions'][_0x3080('0x9a')](_0xfb0c32);null!==_0x2e8917[_0x3080('0x12')]||_0x5ccb00[_0x3080('0xfd')]?(_0x13b8e6[_0x3080('0x144')](_0x5ccb00[_0x3080('0x14')]),_0x3bc0c7['add'](_0x5ccb00)):this[_0x3080('0xc0')](_0x5ccb00);}}_0x3bc0c7[_0x3080('0xff')]>0x0&&this[_0x3080('0x141')](_0x3bc0c7);for(const _0x3deb5e of _0x13b8e6)this[_0x3080('0x107')]('suggestionChanged',_0x3deb5e);}),_0x518715[_0x3080('0x140')]['on'](_0x3080('0x37'),(_0x5bcd32,_0x3bac51)=>{const _0x4c23ec=_0x3bac51[0x0];if(!this[_0x3080('0x71')][_0x3080('0xff')])return;if(!_0x4c23ec[_0x3080('0x10a')])return;if(_0x4c23ec[_0x3080('0x168')]['isUndo']||!_0x4c23ec[_0x3080('0x168')]['isLocal'])return;let _0x5d7d22,_0x50394d;switch(_0x4c23ec[_0x3080('0x15d')]){case _0x3080('0x39'):_0x5d7d22=_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0x4c23ec[_0x3080('0xa2')]),_0x50394d=_0x5d7d22[_0x3080('0x10')](_0x4c23ec[_0x3080('0x48')]);break;case _0x3080('0x11e'):_0x5d7d22=_0x518715[_0x3080('0x140')]['createPositionAt'](_0x4c23ec[_0x3080('0xd0')]),_0x50394d=_0x518715['model']['createPositionAt'](_0x4c23ec[_0x3080('0x15a')]);break;case _0x3080('0x130'):_0x5d7d22=_0x518715['model'][_0x3080('0xde')](_0x4c23ec['targetPosition']),_0x50394d=_0x5d7d22[_0x3080('0x10')](_0x4c23ec[_0x3080('0x48')]);break;default:return;}const _0x4b1418=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x5d7d22,_0x50394d);_0x518715[_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const {suggestion:_0x5d58ce,meta:_0x530195}of this['_findSuggestions'](_0x4b1418)){if(_0x5d58ce[_0x3080('0xb9')])continue;if(_0x3080('0xd8')==_0x5d58ce[_0x3080('0x15d')])continue;const _0x5a9e37=Pt(_0x5d58ce);if(_0x5a9e37&&this[_0x3080('0x129')](_0x5a9e37)&&_0x3080('0x11e')!=_0x4c23ec['type'])continue;const _0x20f227=_0x5d58ce[_0x3080('0x112')]&&_0x5d58ce[_0x3080('0x112')][_0x3080('0xc')];(_0x3080('0x6')!=_0x5d58ce[_0x3080('0x15d')]||_0x3080('0x11e')==_0x4c23ec[_0x3080('0x15d')]&&!_0x20f227)&&(_0x530195[_0x3080('0x57')]||'insertion'==_0x5d58ce[_0x3080('0x15d')]&&_0x530195[_0x3080('0x76')]||_0x5d58ce[_0x3080('0x4d')]()[_0x3080('0xd1')](_0x4b1418)&&this[_0x3080('0xeb')](_0x5d58ce,_0x5d7d22,_0x50394d));}});},{'priority':'lowest'}),_0x518715['model']['on'](_0x3080('0x16a'),(_0x1a754c,_0x286f09)=>{const _0x10a05b=_0x286f09[0x0],_0x172c20=_0x286f09[0x1];if(_0x172c20&&_0x172c20[_0x3080('0x90')])return;if(this[_0x3080('0x43')])return;if(!this[_0x3080('0x2f')][_0x3080('0x3d')])return;if(_0x10a05b['isCollapsed'])return;const _0x29fc0c=_0x518715[_0x3080('0x140')][_0x3080('0x15f')],{start:_0x1f795a,end:_0x1ae177}=_0x10a05b[_0x3080('0x4d')](),_0x508688=_0x1f795a['nodeAfter']&&_0x29fc0c['isLimit'](_0x1f795a['nodeAfter'])?null:_0x29fc0c['getNearestSelectionRange'](_0x1f795a,_0x3080('0x138')),_0x4ef6bb=_0x1ae177['nodeBefore']&&_0x29fc0c['isLimit'](_0x1ae177['nodeBefore'])?null:_0x29fc0c['getNearestSelectionRange'](_0x1ae177,_0x3080('0xce')),_0x3f0ad2=_0x518715[_0x3080('0x140')][_0x3080('0x116')](_0x508688?_0x508688['start']:_0x1f795a,_0x4ef6bb?_0x4ef6bb['end']:_0x1ae177);_0x518715[_0x3080('0x140')][_0x3080('0x7b')](_0x15d10e=>{this[_0x3080('0x92')](_0x3f0ad2);const _0x175598=_0x518715[_0x3080('0x140')][_0x3080('0x15f')][_0x3080('0x1f')](_0x3f0ad2[_0x3080('0x12d')]);_0x10a05b['is'](_0x3080('0xa9'))?_0x15d10e[_0x3080('0xe9')](_0x175598):_0x10a05b['setTo'](_0x175598);}),_0x1a754c[_0x3080('0x16d')]();},{'priority':_0x102994[_0x3080('0x173')]+0xa}),_0x518715['model']['on'](_0x3080('0x40'),(_0x225902,_0x29645b)=>{const _0x18ef0a=_0x29645b[_0x29645b[_0x3080('0x68')]-0x1];_0x18ef0a&&_0x18ef0a[_0x3080('0x90')]||this[_0x3080('0x43')]||this[_0x3080('0x2f')]['value']&&(_0x518715[_0x3080('0x140')]['change'](()=>{let _0x2af354=_0x518715[_0x3080('0x140')][_0x3080('0x40')](_0x29645b[0x0],_0x29645b[0x1],_0x29645b[0x2],{'forceDefaultExecution':!0x0});if(!_0x2af354)return;_0x225902['return']=_0x2af354[_0x3080('0x10e')]();const _0xcc1603=_0x2af354['end']['nodeBefore'],_0x283554=_0x518715[_0x3080('0x140')][_0x3080('0x15f')];_0xcc1603&&_0x283554[_0x3080('0x16')](_0xcc1603)&&!_0x283554[_0x3080('0x33')](_0xcc1603)&&(_0x2af354=_0x518715['model']['createRange'](_0x2af354[_0x3080('0x12d')],_0x518715[_0x3080('0x140')][_0x3080('0xde')](_0xcc1603,_0x3080('0x58')))),this[_0x3080('0x154')](_0x2af354);}),_0x225902[_0x3080('0x16d')]());},{'priority':_0x3080('0x4a')}),this[_0x3080('0xc7')][_0x3080('0x52')][_0x3080('0x144')](_0x3080('0x10c'),this['trackChangesCommand']),this[_0x3080('0xb1')](_0x3080('0x10c'));const _0x4d944d=new _0x564c9c(_0x518715,this[_0x3080('0x71')]);_0x518715['commands'][_0x3080('0x144')](_0x3080('0x177'),_0x4d944d),this[_0x3080('0xb1')](_0x3080('0x177'));const _0x3bba05=new _0x208674(_0x518715,this['_suggestions']);_0x518715['commands'][_0x3080('0x144')](_0x3080('0xfe'),_0x3bba05),this['enableCommand'](_0x3080('0xfe')),_0x518715[_0x3080('0x52')]['add']('acceptAllSuggestions',new _0x5bedce(_0x518715,_0x4d944d,this['_suggestions'])),this['enableCommand'](_0x3080('0xa3')),_0x518715[_0x3080('0x52')][_0x3080('0x144')](_0x3080('0x142'),new _0x5bedce(_0x518715,_0x3bba05,this['_suggestions'])),this[_0x3080('0xb1')](_0x3080('0x142')),_0x518715[_0x3080('0x52')][_0x3080('0x144')](_0x3080('0xd6'),new _0x150cef(_0x518715,_0x4d944d,this[_0x3080('0x71')])),this['enableCommand'](_0x3080('0xd6')),_0x518715['commands'][_0x3080('0x144')]('discardSelectedSuggestions',new _0x150cef(_0x518715,_0x3bba05,this[_0x3080('0x71')])),this[_0x3080('0xb1')](_0x3080('0xb5'));const _0x3b53e3=_0x518715[_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0xdd'));this['listenTo'](_0x3b53e3,_0x3080('0x6c'),(_0x6e1e03,{threadId:_0x182eb8})=>{const _0xe44840=this[_0x3080('0x71')][_0x3080('0x9a')](_0x182eb8);_0xe44840&&_0xe44840[_0x3080('0x7')]&&0x1===_0xe44840[_0x3080('0x7')][_0x3080('0x68')]&&this[_0x3080('0x8b')](_0x182eb8,{'hasComments':!0x0});},{'priority':_0x3080('0x12b')}),this[_0x3080('0xc1')](_0x3b53e3,_0x3080('0xbc'),(_0x3fe9e7,{threadId:_0xf310bd})=>{const _0x2618eb=this[_0x3080('0x71')][_0x3080('0x9a')](_0xf310bd);_0x2618eb&&_0x2618eb[_0x3080('0x7')]&&!_0x2618eb[_0x3080('0x7')][_0x3080('0x68')]&&this[_0x3080('0x8b')](_0xf310bd,{'hasComments':!0x1});},{'priority':_0x3080('0x12b')});}set[_0x3080('0xb')](_0x4c7db0){if(this[_0x3080('0x13')])throw new _0x134604(_0x3080('0x10f'),this);this['_adapter']=_0x4c7db0;}get[_0x3080('0xb')](){return this[_0x3080('0x13')];}['getSuggestions']({skipNotAttached:_0x24f33d=!0x1,toJSON:_0x38dc41=!0x1}={}){const _0x15018d=[];for(const _0x5383d7 of this['_suggestions']['values']())_0x24f33d&&!_0x5383d7[_0x3080('0xfd')]||_0x15018d['push'](_0x5383d7);return _0x38dc41?_0x15018d[_0x3080('0xf7')](_0xc94cb4=>_0xc94cb4['toJSON']()):_0x15018d;}['getSuggestion'](_0x20d09b){const _0x35053f=this[_0x3080('0x71')][_0x3080('0x9a')](_0x20d09b);if(!_0x35053f)throw new _0x134604(_0x3080('0xf1'),this);return _0x35053f;}[_0x3080('0x87')](_0x1f356a){return this[_0x3080('0x71')][_0x3080('0x15b')](_0x1f356a);}[_0x3080('0xaf')](_0x3be1dc){const {authorId:_0x4bf235,id:_0x32952d,attributes:_0xd23fd}=_0x3be1dc,[_0x9448a4,_0xd852f2]=_0x3be1dc['type'][_0x3080('0x11e')](':'),_0x13b0a4=this[_0x3080('0x71')][_0x3080('0x9a')](_0x32952d)||this[_0x3080('0x9e')](_0x9448a4,_0xd852f2,_0x32952d,_0x4bf235,_0xd23fd);if(this['_addThreadToSuggestion'](_0x13b0a4),this[_0x3080('0x115')](_0x13b0a4,_0x9448a4,_0xd852f2||null,_0x4bf235),_0x13b0a4['createdAt']=_0x3be1dc[_0x3080('0x171')],_0x13b0a4[_0x3080('0x14c')]=!0x0,_0xd23fd&&_0xd23fd[_0x3080('0xbe')]){const _0x1975ac=_0xd23fd[_0x3080('0xbe')],_0x4d2a32=this['_getExternalAuthor'](_0x1975ac[_0x3080('0x18')]);_0x13b0a4[_0x3080('0xc4')]=_0x1975ac['createdAt'],_0x13b0a4['author']=_0x4d2a32,_0x13b0a4['isExternal']=!0x0;}else _0x13b0a4[_0x3080('0xc4')]=_0x3be1dc[_0x3080('0x171')];switch(_0x3be1dc[_0x3080('0x112')]&&(_0x13b0a4[_0x3080('0x112')]=_0x3be1dc['data']),_0x3be1dc['attributes']&&(_0x13b0a4[_0x3080('0x8d')]=_0x3be1dc[_0x3080('0x8d')]),this[_0x3080('0x13')]&&this[_0x3080('0x13')][_0x3080('0xbf')]||(_0x13b0a4[_0x3080('0x60')]=!0x0),this['_suggestionState']['get'](_0x13b0a4)){case'notReady':this['_suggestionState'][_0x3080('0x167')](_0x13b0a4,_0x3080('0x67'));break;case'markerReady':_0x13b0a4['isInContent']?(this[_0x3080('0x141')](new Set([_0x13b0a4])),this[_0x3080('0xb0')](new Set([_0x13b0a4])),this[_0x3080('0x5c')]['set'](_0x13b0a4,'ready'),this[_0x3080('0x107')]('suggestionLoaded',_0x13b0a4)):this[_0x3080('0x5c')][_0x3080('0x167')](_0x13b0a4,_0x3080('0xf2'));}return _0x13b0a4;}['acceptSuggestion'](_0x199b2a){this[_0x3080('0x90')](()=>{this['editor'][_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const _0x446cce of _0x199b2a[_0x3080('0x8e')]())_0x446cce[_0x3080('0x14a')]();});});}[_0x3080('0xfe')](_0x3924c3){this['forceDefaultExecution'](()=>{this[_0x3080('0xc7')][_0x3080('0x140')][_0x3080('0x7b')](()=>{for(const _0x489b04 of _0x3924c3[_0x3080('0x8e')]())_0x489b04[_0x3080('0x53')]();});});}[_0x3080('0xb1')](_0x3a5918,_0x3045bf){const _0x1c7dd3=this[_0x3080('0xc7')][_0x3080('0x52')][_0x3080('0x9a')](_0x3a5918);if(!_0x1c7dd3)throw new _0x134604('track-changes-command-not-found',this,{'commandName':_0x3a5918});if(this[_0x3080('0x56')][_0x3080('0x15b')](_0x1c7dd3))throw new _0x134604('track-changes-enable-command-twice',this,{'commandName':_0x3a5918});this['_enabledCommands']['add'](_0x1c7dd3),_0x3045bf&&_0x1c7dd3['on']('execute',(_0x5b5afe,_0x5d8424)=>{this[_0x3080('0x2f')][_0x3080('0x3d')]&&(this[_0x3080('0x43')]||(_0x5d8424[_0x3080('0x68')]>0x0&&_0x5d8424[_0x5d8424['length']-0x1]&&_0x5d8424[_0x5d8424['length']-0x1][_0x3080('0x90')]?_0x5d8424['pop']():(_0x5b5afe[_0x3080('0x135')]=_0x3045bf((..._0x5173d6)=>_0x1c7dd3[_0x3080('0xe5')](..._0x5173d6,{'forceDefaultExecution':!0x0}),..._0x5d8424),_0x5b5afe['stop']())));},{'priority':_0x3080('0x4a')});}[_0x3080('0x90')](_0x24704e){let _0x3aecb9,_0x2b96ea;const _0xe1d2b3=this[_0x3080('0x43')];this[_0x3080('0x43')]=!0x0;try{_0x3aecb9=_0x24704e();}catch(_0x1a4539){_0x2b96ea=_0x1a4539;}return _0xe1d2b3||(this[_0x3080('0x43')]=!0x1),_0x2b96ea&&_0x134604[_0x3080('0x27')](_0x2b96ea,this),_0x3aecb9;}[_0x3080('0x154')](_0x526878,_0x573a2b=null,_0x4eafcd={}){if(_0x526878['isCollapsed'])return null;const _0x2957bc=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')]('Users')['me'];for(const {suggestion:_0x418a2f,meta:_0x4916d7}of this[_0x3080('0x63')](_0x526878,'insertion'))if(_0x4916d7[_0x3080('0x76')]){if(!_0x4916d7['isNextTo']){if(_0x4916d7[_0x3080('0x57')]){if(!this[_0x3080('0xd')]||!Gt(_0x418a2f,_0x4eafcd))continue;return _0x418a2f;}if(Gt(_0x418a2f,_0x4eafcd))return _0x418a2f;this[_0x3080('0xeb')](_0x418a2f,_0x526878[_0x3080('0x12d')],_0x526878['end']);break;}if(_0x573a2b==_0x418a2f['subType']&&Gt(_0x418a2f,_0x4eafcd)){const _0x5ddbbe=_0x418a2f[_0x3080('0x4d')]();return _0x5ddbbe[_0x3080('0x12d')]['isEqual'](_0x526878['end'])?this[_0x3080('0x5b')](_0x418a2f,this[_0x3080('0x161')]['createRange'](_0x526878[_0x3080('0x12d')],_0x5ddbbe[_0x3080('0x58')])):this[_0x3080('0x5b')](_0x418a2f,this[_0x3080('0x161')]['createRange'](_0x5ddbbe['start'],_0x526878[_0x3080('0x58')])),_0x418a2f;}}const _0x328387=_0x10af11(),_0x29d283=_0x2957bc['id'],_0xd5e916=_0x573a2b?_0x3080('0x7f')+_0x573a2b:_0x3080('0x159'),_0x2780ae=this[_0x3080('0xb2')]({'id':_0x328387,'type':_0xd5e916,'createdAt':new Date(),'authorId':_0x29d283,'attributes':_0x4eafcd});return this['_addSuggestionMarker'](_0xd5e916,_0x328387,_0x29d283,_0x526878),_0x2780ae;}[_0x3080('0x8f')](_0x30c2f5,_0x207887=_0x3080('0x111'),_0x5f3364={}){const _0x55b1ef=this['editor'][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82'))['me'],_0x37ce11=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x159'),_0x207887,_0x3080('0x12c'));for(const _0x3cdd34 of this[_0x3080('0x50')]())if(_0x3cdd34[_0x3080('0xc6')]['id']==_0x55b1ef['id']&&_0x3080('0x159')==_0x3cdd34[_0x3080('0x15d')]&&_0x3cdd34[_0x3080('0x2')]==_0x207887&&Gt(_0x3cdd34,_0x5f3364)&&(_0x37ce11(_0x3cdd34[_0x3080('0x17')](),_0x30c2f5)||_0x37ce11(_0x30c2f5,_0x3cdd34[_0x3080('0x17')]()))){for(const _0xcc7b3b of _0x30c2f5)_0x3cdd34[_0x3080('0x21')](_0xcc7b3b);return _0x3cdd34;}for(const {suggestion:_0x62d6da,meta:_0x2584dc}of this['_findSuggestions'](_0x30c2f5,_0x3080('0x159'))){if(!_0x2584dc['isOwn'])continue;if(!this[_0x3080('0xd')]&&_0x2584dc['containsRangeInObject'])continue;if(!Gt(_0x62d6da,_0x5f3364))continue;let _0x26e226=!0x0;for(const _0x2bad7b of _0x62d6da[_0x3080('0x17')]())for(const _0x1f68c0 of _0x30c2f5)if(!_0x2bad7b[_0x3080('0xd1')](_0x1f68c0)){_0x26e226=!0x1;break;}if(_0x26e226)return _0x62d6da;}const _0x5a6a52=_0x10af11(),_0x4f1039=_0x55b1ef['id'],_0x4cb60a=_0x3080('0x7f')+_0x207887,_0x319d8a=this[_0x3080('0xb2')]({'id':_0x5a6a52,'type':_0x4cb60a,'createdAt':new Date(),'authorId':_0x4f1039,'attributes':_0x5f3364});for(const _0x54403c of _0x30c2f5)this[_0x3080('0x45')](_0x4cb60a,_0x5a6a52,_0x4f1039,_0x54403c,_0x1526e2[_0x3080('0x2c')]());return _0x319d8a;}[_0x3080('0x38')](_0x5793eb,_0x63310e,_0x5d010f=null,_0x485055={}){if(_0x5d010f=_0x5d010f||Et(_0x63310e),_0x5793eb[_0x3080('0x113')])return null;if(_0x3080('0x16f')===this['_trackFormatChanges']){const _0x2828a0=this[_0x3080('0xe4')][_0x3080('0xac')]('formatInline',_0x5d010f,_0x3080('0x14a'));return this['forceDefaultExecution'](()=>_0x2828a0([_0x5793eb],_0x63310e,_0x485055)),null;}const _0x501a7f=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')]('Users')['me'],_0x2bfb64=[];if(_0x3080('0xca')!==this['_trackFormatChanges'])for(const {suggestion:_0x336e9c,meta:_0x2b2e29}of this['_findSuggestions'](_0x5793eb,'insertion'))_0x2b2e29[_0x3080('0x76')]&&!_0x2b2e29[_0x3080('0xe')]&&_0x2bfb64[_0x3080('0xc8')](..._0x336e9c[_0x3080('0x17')]());const _0x5ce8d9=function(_0x440fd6,_0x96af39){const _0x577aaf=[];for(const _0x4e355d of _0x96af39){const _0x29b47d=_0x440fd6[_0x3080('0x9c')](_0x4e355d);_0x29b47d&&_0x577aaf[_0x3080('0xc8')](_0x29b47d);}return _0x577aaf;}(_0x5793eb,_0x2bfb64),_0x31692a=function(_0x2ba963,_0x315113){const _0x25fe2a=[_0x2ba963];for(const _0x4e1fc5 of _0x315113){let _0x552a94=0x0;for(;_0x552a94<_0x25fe2a[_0x3080('0x68')];){const _0x16fe86=_0x25fe2a[_0x552a94]['getDifference'](_0x4e1fc5);_0x25fe2a[_0x3080('0x127')](_0x552a94,0x1,..._0x16fe86),_0x552a94+=_0x16fe86[_0x3080('0x68')];}}return _0x25fe2a;}(_0x5793eb,_0x2bfb64);_0x5ce8d9[_0x3080('0x68')]&&this[_0x3080('0x161')][_0x3080('0x7b')](()=>{for(const _0x5556d4 of _0x5ce8d9){const _0x4b5d63=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xd8'),_0x5d010f,_0x3080('0x14a'));this['forceDefaultExecution'](()=>_0x4b5d63([_0x5556d4],_0x63310e,_0x485055));}});for(const _0x5dc11c of _0x31692a){let _0x32b8cb=null,_0x4e6a82=_0x5dc11c['start'],_0x3d3b3f=_0x5dc11c[_0x3080('0x58')];for(const {suggestion:_0x312704,meta:_0x5a5268}of this[_0x3080('0x63')](_0x5dc11c,_0x3080('0xd8'))){if(!_0x5a5268[_0x3080('0x76')])continue;if(_0x312704['subType']!=_0x5d010f)continue;if(!Gt(_0x312704,_0x485055))continue;const _0x6f63e4=_0x312704['getFirstRange']();if(_0x6f63e4[_0x3080('0xd1')](_0x5dc11c,!0x0))return null;_0x4e6a82=_0x4e6a82[_0x3080('0x145')](_0x6f63e4[_0x3080('0x12d')])?_0x4e6a82:_0x6f63e4[_0x3080('0x12d')],_0x3d3b3f=_0x3d3b3f[_0x3080('0x184')](_0x6f63e4[_0x3080('0x58')])?_0x3d3b3f:_0x6f63e4[_0x3080('0x58')],_0x32b8cb?_0x6f63e4[_0x3080('0x12d')][_0x3080('0x145')](_0x32b8cb[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x32b8cb[_0x3080('0x100')](),_0x32b8cb=_0x312704):_0x312704[_0x3080('0x100')]():_0x32b8cb=_0x312704;}const _0x335a56=this['_model'][_0x3080('0x116')](_0x4e6a82,_0x3d3b3f);if(_0x32b8cb)this[_0x3080('0x5b')](_0x32b8cb,_0x335a56);else{const _0x5cc290=_0x10af11(),_0xf3da9d=_0x501a7f['id'];this[_0x3080('0xb2')]({'id':_0x5cc290,'type':_0x3080('0xea')+_0x5d010f,'data':_0x63310e,'createdAt':new Date(),'authorId':_0xf3da9d,'attributes':_0x485055}),this[_0x3080('0x45')]('formatInline:'+_0x5d010f,_0x5cc290,_0xf3da9d,_0x335a56);}}return null;}[_0x3080('0x110')](_0x5fd41a,_0x1b81a4,_0x4cb961=[],_0x32e943=null,_0x2f61d2={}){_0x1b81a4[_0x3080('0xf6')]||(_0x1b81a4[_0x3080('0xf6')]=_0x1b81a4[_0x3080('0x120')]),_0x1b81a4[_0x3080('0xc')]=_0x5fd41a['is'](_0x3080('0x19')),_0x32e943=_0x32e943||Et(_0x1b81a4);const _0x1c16d8=_0x4cb961[_0x3080('0xf7')](_0x5bb58c=>Ut(_0x5bb58c,this['_model'])),_0x1fbab9=_0x5fd41a['is'](_0x3080('0x19'))?_0x5fd41a:Ut(_0x5fd41a,this[_0x3080('0x161')]);if(_0x3080('0x16f')===this[_0x3080('0x12a')]){const _0x2f929f=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x32e943,'accept');return this[_0x3080('0x90')](()=>_0x2f929f([_0x1fbab9],_0x1b81a4,_0x2f61d2)),null;}_0x1c16d8[_0x3080('0xc8')](_0x1fbab9);let _0x2392be=!0x0;for(const _0x240663 of _0x1c16d8)if(!this[_0x3080('0x3a')](_0x240663)){_0x2392be=!0x1;break;}if(_0x2392be&&_0x3080('0xca')!==this[_0x3080('0x12a')]){const _0x477fe5=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x32e943,'accept');return this[_0x3080('0x90')](()=>_0x477fe5([_0x1fbab9],_0x1b81a4,_0x2f61d2)),null;}let _0x583aeb=null,_0x48d0bb=_0x1fbab9[_0x3080('0x12d')],_0x19d439=_0x1fbab9['end'];for(const {suggestion:_0x33e6f8,meta:_0x4a5503}of this['_findSuggestions'](_0x1fbab9,_0x3080('0x6'))){if(!_0x4a5503[_0x3080('0x76')])continue;if(_0x4a5503[_0x3080('0x126')]||_0x4a5503[_0x3080('0x57')]||_0x4a5503[_0x3080('0xe')])continue;if(_0x33e6f8[_0x3080('0x112')][_0x3080('0xf6')]!=_0x1b81a4[_0x3080('0xf6')])continue;if(!Gt(_0x33e6f8,_0x2f61d2))continue;const _0x3c2774=_0x33e6f8[_0x3080('0x4d')]();if(_0x33e6f8['subType']==_0x32e943){if(_0x3c2774['containsRange'](_0x1fbab9,!0x0))return null;_0x48d0bb=_0x48d0bb[_0x3080('0x145')](_0x3c2774[_0x3080('0x12d')])?_0x48d0bb:_0x3c2774[_0x3080('0x12d')],_0x19d439=_0x19d439[_0x3080('0x184')](_0x3c2774[_0x3080('0x58')])?_0x19d439:_0x3c2774['end'],_0x583aeb?_0x3c2774[_0x3080('0x12d')]['isBefore'](_0x583aeb[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x583aeb[_0x3080('0x100')](),_0x583aeb=_0x33e6f8):_0x33e6f8['removeMarkers']():_0x583aeb=_0x33e6f8;}else{const _0x1a45bf=_0x1fbab9[_0x3080('0x9c')](_0x3c2774);this[_0x3080('0x181')](_0x33e6f8,_0x1a45bf);}}const _0x359efb=this[_0x3080('0xc7')][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'],_0x40acda=_0x10af11(),_0x584097=_0x359efb['id'];if(_0x583aeb)return this[_0x3080('0x5b')](_0x583aeb,this[_0x3080('0x161')]['createRange'](_0x48d0bb,_0x19d439)),_0x583aeb;{const _0x40aadf=this[_0x3080('0xb2')]({'id':_0x40acda,'type':'formatBlock:'+_0x32e943,'data':_0x1b81a4,'createdAt':new Date(),'authorId':_0x584097,'attributes':_0x2f61d2});return this[_0x3080('0x45')](_0x3080('0x80')+_0x32e943,_0x40acda,_0x584097,this[_0x3080('0x161')]['createRange'](_0x48d0bb,_0x19d439)),_0x40aadf;}}[_0x3080('0x102')](_0x4b8169,_0x26dc91,_0xf5eb3=[],_0x4c2a63=null,_0x236f46={}){_0x26dc91[_0x3080('0xf6')]||(_0x26dc91[_0x3080('0xf6')]=_0x26dc91[_0x3080('0x120')]);const _0x2f56e1=_0x4b8169[0x0];_0x26dc91[_0x3080('0xc')]=_0x2f56e1['is']('range'),_0x4c2a63=_0x4c2a63||Et(_0x26dc91);const _0x2bd23c=_0xf5eb3[_0x3080('0xf7')](_0x1cdbac=>Ut(_0x1cdbac,this[_0x3080('0x161')])),_0x48cafe=_0x2f56e1['is']('range')?_0x4b8169:_0x4b8169[_0x3080('0xf7')](_0xe5f435=>Ut(_0xe5f435,this[_0x3080('0x161')]));if(_0x3080('0x16f')===this['_trackFormatChanges']){const _0x2142f3=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x4c2a63,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x2142f3(_0x48cafe,_0x26dc91,_0x236f46)),null;}_0x2bd23c[_0x3080('0xc8')](..._0x48cafe);let _0x334187=!0x0;for(const _0x5eda88 of _0x2bd23c)if(!this[_0x3080('0x3a')](_0x5eda88)){_0x334187=!0x1;break;}if(_0x334187&&_0x3080('0xca')!==this[_0x3080('0x12a')]){const _0x2dbcda=this[_0x3080('0xe4')]['getSuggestionCallback']('formatBlock',_0x4c2a63,'accept');return this[_0x3080('0x90')](()=>_0x2dbcda(_0x48cafe,_0x26dc91,_0x236f46)),null;}const _0x38b982=this[_0x3080('0xc7')][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'];for(const _0x5d8875 of this[_0x3080('0x50')]()){if(_0x5d8875['author']['id']!=_0x38b982['id'])continue;if('formatBlock'!=_0x5d8875[_0x3080('0x15d')]||_0x5d8875[_0x3080('0x112')][_0x3080('0xf6')]!=_0x26dc91['formatGroupId'])continue;if(!Gt(_0x5d8875,_0x236f46))continue;const _0x4109a1=_0x5d8875[_0x3080('0x2')]==_0x4c2a63;for(let _0x192561=0x0;_0x192561<_0x48cafe[_0x3080('0x68')];_0x192561++){const _0x32f738=_0x48cafe[_0x192561];for(const _0x185d83 of _0x5d8875[_0x3080('0x125')]()){const _0x3b2e0f=_0x185d83[_0x3080('0xd7')]();if(_0x32f738['isEqual'](_0x3b2e0f)){_0x4109a1?(_0x48cafe['splice'](_0x192561,0x1),_0x192561--):_0x5d8875[_0x3080('0x180')](_0x185d83[_0x3080('0xba')]);break;}}}}if(0x0==_0x48cafe[_0x3080('0x68')])return null;const _0x172980=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0x6'),_0x4c2a63,'join');for(const _0x4699e3 of this['getSuggestions']())if(_0x4699e3[_0x3080('0xc6')]['id']==_0x38b982['id']&&_0x3080('0x6')==_0x4699e3[_0x3080('0x15d')]&&_0x4699e3['data']['formatGroupId']==_0x26dc91['formatGroupId']&&_0x4699e3[_0x3080('0x2')]==_0x4c2a63&&Gt(_0x4699e3,_0x236f46)&&(_0x172980(_0x4699e3['getRanges'](),_0x48cafe)||_0x172980(_0x48cafe,_0x4699e3[_0x3080('0x17')]()))){for(const _0x2926ef of _0x48cafe)_0x4699e3['addRange'](_0x2926ef);return _0x4699e3;}const _0x341d97=_0x10af11(),_0x5e7067=_0x38b982['id'],_0x344deb=_0x3080('0x80')+_0x4c2a63,_0x12e41d=this[_0x3080('0xb2')]({'id':_0x341d97,'type':_0x344deb,'data':_0x26dc91,'createdAt':new Date(),'authorId':_0x5e7067,'attributes':_0x236f46});for(const _0x5b7feb of _0x48cafe)this[_0x3080('0x45')](_0x344deb,_0x341d97,_0x5e7067,_0x5b7feb,_0x1526e2[_0x3080('0x2c')]());return _0x12e41d;}['markDeletion'](_0x489ed1,_0x58a1bc=null,_0x5ecb00={}){if(_0x489ed1[_0x3080('0x113')])return null;const _0x370822=this['editor'][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82'))['me'],_0xe608ae=new _0x441896(_0x489ed1[_0x3080('0x12d')],_0x489ed1['end']);for(const {suggestion:_0x48f048,meta:_0x12f68b}of this[_0x3080('0x63')](_0xe608ae,_0x3080('0x159')))if(_0x12f68b[_0x3080('0x76')]&&!_0x12f68b[_0x3080('0x126')]){if(_0x48f048[_0x3080('0xb9')]){const _0x25544d=_0x48f048[_0x3080('0x17')]()[_0x3080('0xee')](_0x515972=>'$graveyard'!=_0x515972[_0x3080('0xdf')][_0x3080('0x17c')]);_0x25544d[_0x3080('0xd9')](_0x3aa195=>_0xe608ae[_0x3080('0xd1')](_0x3aa195,!0x0))&&_0x48f048[_0x3080('0x53')]();if(_0x25544d[_0x3080('0xa')](_0x1f53c8=>_0x1f53c8[_0x3080('0xd1')](_0xe608ae,!0x0))){const _0x3f4c20=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xe7'),_0x58a1bc,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x3f4c20([_0xe608ae],null,_0x5ecb00)),null;}}else{const _0x4a0f0d=_0xe608ae[_0x3080('0x9c')](_0x48f048['getFirstRange']());null!==_0x4a0f0d&&_0x48f048[_0x3080('0x175')]([_0x4a0f0d],null,_0x5ecb00);}}if(_0xe608ae[_0x3080('0x15')](),_0xe608ae[_0x3080('0x113')]||'$graveyard'==_0xe608ae[_0x3080('0xdf')]['rootName'])return null;let _0x7ab88f=null,_0x238f12=_0xe608ae[_0x3080('0x12d')],_0x406aa0=_0xe608ae[_0x3080('0x58')];const _0x56a4ef=this[_0x3080('0x63')](_0xe608ae,_0x3080('0xe7'));for(const {suggestion:_0x35c29f,meta:_0x233aa5}of _0x56a4ef){const _0x14c3b0=this['_model']['createRange'](_0x238f12,_0x406aa0);if(_0x233aa5['isOwn']&&(this['_mergeNestedSuggestions']||!_0x233aa5[_0x3080('0x57')]&&!_0x233aa5['isInsideObject'])){if(_0x35c29f[_0x3080('0xb9')]){if(!Gt(_0x35c29f,_0x5ecb00))continue;let _0x3987d2=!0x0;for(const _0x565cb2 of _0x35c29f[_0x3080('0x17')]()){if(_0x565cb2[_0x3080('0xd1')](_0x14c3b0,!0x0))return _0x35c29f;_0x14c3b0[_0x3080('0xd1')](_0x565cb2)||(_0x3987d2=!0x1);}_0x3987d2&&_0x35c29f[_0x3080('0x53')]();}else{const _0x14ff29=_0x35c29f[_0x3080('0x4d')]();if(_0x14ff29[_0x3080('0xd1')](_0x14c3b0,!0x0))return _0x35c29f;if(!Gt(_0x35c29f,_0x5ecb00)){_0x14c3b0[_0x3080('0xd1')](_0x14ff29)?_0x35c29f['removeMarkers']():_0x14ff29['containsPosition'](_0x238f12)?_0x238f12=_0x14ff29[_0x3080('0x58')]:_0x14ff29[_0x3080('0xb3')](_0x406aa0)&&(_0x406aa0=_0x14ff29[_0x3080('0x12d')]);continue;}_0x238f12=_0x238f12[_0x3080('0x145')](_0x14ff29['start'])?_0x238f12:_0x14ff29[_0x3080('0x12d')],_0x406aa0=_0x406aa0[_0x3080('0x184')](_0x14ff29['end'])?_0x406aa0:_0x14ff29['end'],_0x5ecb00=Object[_0x3080('0x7c')]({},_0x35c29f['attributes']),_0x7ab88f?_0x14ff29[_0x3080('0x12d')][_0x3080('0x145')](_0x7ab88f[_0x3080('0x4d')]()[_0x3080('0x12d')])?(_0x7ab88f[_0x3080('0x100')](),_0x7ab88f=_0x35c29f):_0x35c29f[_0x3080('0x100')]():_0x7ab88f=_0x35c29f;}}}if(_0x7ab88f)return this[_0x3080('0x5b')](_0x7ab88f,this[_0x3080('0x161')][_0x3080('0x116')](_0x238f12,_0x406aa0)),_0x7ab88f;{const _0x502b51=_0x10af11(),_0x4d6d19=this['_model'][_0x3080('0x116')](_0x238f12,_0x406aa0),_0x1b2ee0=_0x370822['id'],_0x270054=_0x58a1bc?'deletion:'+_0x58a1bc:_0x3080('0xe7'),_0x533741=this[_0x3080('0xb2')]({'id':_0x502b51,'type':_0x270054,'createdAt':new Date(),'authorId':_0x1b2ee0,'attributes':_0x5ecb00});return this['_addSuggestionMarker'](_0x270054,_0x502b51,_0x1b2ee0,_0x4d6d19),_0x533741;}}['markMultiRangeDeletion'](_0x56b89e,_0x363e0d=_0x3080('0x111'),_0x35ae9f={}){const _0x30100e=this['editor'][_0x3080('0x85')]['get'](_0x3080('0x82'))['me'],_0x43b6e7=_0x56b89e[_0x3080('0xf7')](_0x8da02f=>new _0x441896(_0x8da02f['start'],_0x8da02f[_0x3080('0x58')])),_0x58cbac=new Set();for(const {suggestion:_0x14c93b,meta:_0x48bd2f}of this[_0x3080('0x63')](_0x43b6e7,_0x3080('0x159')))_0x48bd2f[_0x3080('0x76')]&&!_0x48bd2f[_0x3080('0x126')]&&_0x58cbac[_0x3080('0x144')](_0x14c93b);for(const _0x4ff045 of _0x58cbac)if(_0x4ff045[_0x3080('0xb9')]){const _0x3eb975=_0x4ff045[_0x3080('0x17')]();(!_0x4ff045[_0x3080('0x8d')]||!_0x4ff045[_0x3080('0x8d')][_0x3080('0x1a')])&&(_0x3eb975[_0x3080('0xd9')](_0x2af5e5=>_0x43b6e7[_0x3080('0xa')](_0x5ad614=>_0x5ad614[_0x3080('0xd1')](_0x2af5e5,!0x0)))&&_0x4ff045[_0x3080('0x53')]());if(_0x43b6e7[_0x3080('0xd9')](_0x134157=>_0x3eb975[_0x3080('0xa')](_0x27a37f=>_0x27a37f[_0x3080('0xd1')](_0x134157,!0x0)))){const _0x598820=this[_0x3080('0xe4')][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x598820(_0x56b89e,null,_0x35ae9f)),null;}}else{const _0x5a37f7=_0x4ff045['getFirstRange']();_0x43b6e7[_0x3080('0xa')](_0x4761cf=>_0x4761cf[_0x3080('0xd1')](_0x5a37f7,!0x0))&&_0x4ff045[_0x3080('0x53')]();if(_0x43b6e7[_0x3080('0xd9')](_0x57987f=>_0x5a37f7['containsRange'](_0x57987f,!0x0))){const _0x2c9653=this['_suggestionFactory'][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x14a'));return this[_0x3080('0x90')](()=>_0x2c9653(_0x43b6e7,null,_0x35ae9f)),null;}}const _0x43949e=this['_suggestionFactory'][_0x3080('0xac')](_0x3080('0xe7'),_0x363e0d,_0x3080('0x12c'));let _0x4a6cf7=null;for(const _0x5ca8ba of this[_0x3080('0x50')]())if(_0x5ca8ba[_0x3080('0xc6')]['id']==_0x30100e['id']&&_0x5ca8ba[_0x3080('0xfd')]&&'deletion'==_0x5ca8ba['type']&&_0x5ca8ba[_0x3080('0x2')]==_0x363e0d&&Gt(_0x5ca8ba,_0x35ae9f)&&(_0x43949e(_0x5ca8ba[_0x3080('0x17')](),_0x43b6e7)||_0x43949e(_0x43b6e7,_0x5ca8ba[_0x3080('0x17')]()))){if(_0x4a6cf7){if(_0x5ca8ba[_0x3080('0x7')]&&_0x5ca8ba[_0x3080('0x7')]['length'])continue;for(const _0x416c84 of _0x5ca8ba[_0x3080('0x17')]())_0x4a6cf7[_0x3080('0x1d')](_0x416c84)||_0x4a6cf7['addRange'](_0x416c84);_0x5ca8ba['removeMarkers']();}else{_0x4a6cf7=_0x5ca8ba;for(const _0x3491b4 of _0x43b6e7)_0x5ca8ba['isIntersectingWithRange'](_0x3491b4)||_0x5ca8ba[_0x3080('0x21')](_0x3491b4);}}if(_0x4a6cf7)return _0x4a6cf7;_0x58cbac[_0x3080('0x10b')]();for(const {suggestion:_0x5cb0c4,meta:_0x572372}of this[_0x3080('0x63')](_0x43b6e7,_0x3080('0xe7')))_0x572372[_0x3080('0x76')]&&(this[_0x3080('0xd')]||!_0x572372['containsRangeInObject']&&!_0x572372[_0x3080('0xe')])&&Gt(_0x5cb0c4,_0x35ae9f)&&_0x58cbac[_0x3080('0x144')](_0x5cb0c4);for(const _0x258136 of _0x58cbac){const _0x71051d=_0x258136[_0x3080('0x17')]();if(!_0x35ae9f||!_0x35ae9f[_0x3080('0x1a')]){if(_0x43b6e7[_0x3080('0xd9')](_0x31ebcd=>_0x71051d['some'](_0x2f8b18=>_0x2f8b18['containsRange'](_0x31ebcd,!0x0))))return _0x258136;}(!_0x258136[_0x3080('0x8d')]||!_0x258136[_0x3080('0x8d')][_0x3080('0x1a')])&&(_0x71051d['every'](_0x881063=>_0x43b6e7[_0x3080('0xa')](_0x497ff8=>_0x497ff8['containsRange'](_0x881063,!0x0)))&&_0x258136['discard']());}const _0x3fbc5c=_0x10af11(),_0x526fa8=_0x30100e['id'],_0x34ef00=_0x3080('0x160')+_0x363e0d,_0x58ce8f=this[_0x3080('0xb2')]({'id':_0x3fbc5c,'type':_0x34ef00,'createdAt':new Date(),'authorId':_0x526fa8,'attributes':_0x35ae9f});for(const _0x4f6325 of _0x43b6e7)_0x4f6325[_0x3080('0x15')](),_0x4f6325[_0x3080('0x113')]||_0x3080('0x14b')==_0x4f6325[_0x3080('0xdf')][_0x3080('0x17c')]||this[_0x3080('0x45')](_0x34ef00,_0x3fbc5c,_0x526fa8,_0x4f6325,_0x1526e2['getMultiRangeId']());return _0x58ce8f;}[_0x3080('0x17f')](_0x75e78d,_0x4d9a91,_0x14f62f,_0x294058,_0x21ddeb){if(_0x75e78d['isCollapsed'])return[];if('never'===this[_0x3080('0x12a')])return[];const _0x293e78=this['editor']['plugins'][_0x3080('0x9a')](_0x3080('0x82'))['me']['id'],_0x3af60b=Array['from'](this['_suggestions'][_0x3080('0x69')]())['filter'](_0x486866=>_0x3080('0xe2')==_0x486866[_0x3080('0x15d')]&&_0x486866[_0x3080('0x112')]['key']==_0x4d9a91&&_0x486866[_0x3080('0x1d')](_0x75e78d));if(_0x3080('0x133')===this[_0x3080('0x12a')]){const _0x51a498=this['_findSuggestions'](_0x75e78d,'insertion')['filter'](({meta:_0x5e9152})=>_0x5e9152[_0x3080('0x76')]&&!_0x5e9152[_0x3080('0xe')]&&!_0x5e9152[_0x3080('0x126')])[_0x3080('0xf7')](({suggestion:_0x333b82})=>_0x333b82);_0x3af60b['unshift'](..._0x51a498);}const _0x15a07f=new Map([[_0x75e78d,_0x14f62f]]);for(const _0x2e32b8 of _0x3af60b){const _0x36283c='attribute'==_0x2e32b8[_0x3080('0x15d')]?_0x2e32b8[_0x3080('0x112')][_0x3080('0xe1')]:void 0x0,_0x147b12=_0x2e32b8[_0x3080('0x4d')](),_0x40a8b8=Array[_0x3080('0xad')](_0x15a07f[_0x3080('0x5')]())[_0x3080('0x16b')](_0xfd9c54=>_0xfd9c54[_0x3080('0x9')](_0x147b12));if(!_0x40a8b8)continue;const _0xea6fa3=_0x40a8b8[_0x3080('0xf9')](_0x147b12);this[_0x3080('0x129')](_0x4d9a91)&&_0x3080('0x159')==_0x2e32b8['type']&&0x0!=_0xea6fa3[_0x3080('0x68')]||(_0x15a07f[_0x3080('0x176')](_0x40a8b8),_0xea6fa3[_0x3080('0x59')](_0x3647e6=>{_0x15a07f[_0x3080('0x167')](_0x3647e6,_0x14f62f);}),_0x3080('0x159')!=_0x2e32b8[_0x3080('0x15d')]&&_0x36283c!=_0x294058&&_0x15a07f[_0x3080('0x167')](_0x40a8b8['getIntersection'](_0x147b12),_0x36283c));}const _0x4d6eb9=[];for(const [_0x25604e,_0x105b62]of _0x15a07f){const _0x38aa71=_0x10af11(),_0x3fc895={'key':_0x4d9a91,'oldValue':_0x105b62,'newValue':_0x294058};_0x4d9a91['length']>0x25&&console[_0x3080('0x89')](_0x3080('0x119'),{'key':_0x4d9a91});const _0x3fc17d=(_0x3080('0x86')+(_0x4d9a91+'|'+Et({'newValue':_0x294058})))[_0x3080('0x17e')](0x0,0x3c),_0x197a21=this[_0x3080('0xb2')]({'id':_0x38aa71,'type':_0x3fc17d,'data':_0x3fc895,'createdAt':new Date(),'authorId':_0x293e78,'attributes':_0x21ddeb});_0x4d6eb9[_0x3080('0xc8')](_0x197a21),this[_0x3080('0x45')](_0x3fc17d,_0x38aa71,_0x293e78,_0x25604e);}return _0x4d6eb9;}[_0x3080('0x137')](_0x3e43f5){this['_blockAttributeKeys'][_0x3080('0x144')](_0x3e43f5);}[_0x3080('0xdb')](_0x5b02a5){this[_0x3080('0x94')][_0x3080('0x144')](_0x5b02a5);}[_0x3080('0x157')](_0x940079,_0x2c57f8=[],_0x47f552=[]){this[_0x3080('0xb1')](_0x940079,(_0x23505e,..._0xb80599)=>{this[_0x3080('0x54')](()=>{_0x23505e(..._0xb80599);});});for(const _0x809772 of _0x2c57f8)this[_0x3080('0xdb')](_0x809772);for(const _0x4ea3aa of _0x47f552)this['_registerBlockAttribute'](_0x4ea3aa);}['_setSuggestionRange'](_0x524bee,_0x2258b9){const _0x55873d=_0x524bee['getFirstMarker']();this['_model'][_0x3080('0x7b')](_0x491c67=>{_0x491c67[_0x3080('0xc9')](_0x55873d,{'range':_0x2258b9});});}[_0x3080('0x16e')](_0x5369ef){const _0x326c1b=_0x5369ef['id'],_0x2ee5b2=this[_0x3080('0xc7')]['config'][_0x3080('0x9a')](_0x3080('0x114'));this[_0x3080('0x17b')]['hasCommentThread'](_0x326c1b)||this['_commentsRepository']['addCommentThread']({'channelId':_0x2ee5b2,'threadId':_0x326c1b,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x464b69=this[_0x3080('0x17b')][_0x3080('0x3')](_0x326c1b);_0x464b69[_0x3080('0xd4')]('isRemovable'),_0x464b69[_0x3080('0xfb')]=!0x1,_0x5369ef['commentThread']=_0x464b69;}[_0x3080('0x115')](_0x459bc3,_0x5c93e4,_0x42769d,_0x2c5c96){if(_0x459bc3['type']!=_0x5c93e4||_0x459bc3[_0x3080('0x2')]!=_0x42769d||_0x459bc3[_0x3080('0xf0')]['id']!=_0x2c5c96)throw this['editor'][_0x3080('0x31')](_0x3080('0x13a')),new _0x134604(_0x3080('0x13a'),this);}[_0x3080('0x181')](_0x4efe34,_0x4ff6bd){const _0x34484f=_0x4efe34[_0x3080('0x4d')]();if(_0x4ff6bd[_0x3080('0x123')](_0x34484f))_0x4efe34['removeMarkers']();else{if(_0x34484f[_0x3080('0xd1')](_0x4ff6bd)){const _0x3c4122=this[_0x3080('0x161')]['createPositionAt'](_0x4ff6bd[_0x3080('0x12d')][_0x3080('0xa7')],_0x3080('0x58'));this['_setSuggestionRange'](_0x4efe34,this['_model']['createRange'](_0x34484f['start'],_0x3c4122));const _0x2b1e06=_0x10af11(),_0x67bab7=_0x4efe34[_0x3080('0xf0')]['id'],_0x2dff4a=_0x4efe34[_0x3080('0x15d')]+':'+_0x4efe34[_0x3080('0x2')];this['_setSuggestionData']({'id':_0x2b1e06,'type':_0x2dff4a,'createdAt':new Date(),'authorId':_0x67bab7,'data':_0x4efe34[_0x3080('0x112')],'attributes':_0x4efe34[_0x3080('0x8d')]});const _0x8205c2=this[_0x3080('0x161')][_0x3080('0xde')](_0x4ff6bd[_0x3080('0x58')][_0x3080('0xf8')],_0x3080('0xaa')),_0x126a09=this['_model'][_0x3080('0x116')](_0x8205c2,_0x34484f[_0x3080('0x58')]);this['_addSuggestionMarker'](_0x2dff4a,_0x2b1e06,_0x67bab7,_0x126a09);}else{if(_0x34484f[_0x3080('0xb3')](_0x4ff6bd['start'])){const _0x406983=this[_0x3080('0x161')][_0x3080('0xde')](_0x4ff6bd['start'][_0x3080('0xa7')],'end');this[_0x3080('0x5b')](_0x4efe34,this[_0x3080('0x161')]['createRange'](_0x34484f['start'],_0x406983));}else{const _0x52b29c=this[_0x3080('0x161')]['createPositionAt'](_0x4ff6bd[_0x3080('0x58')][_0x3080('0xf8')],_0x3080('0xaa'));this['_setSuggestionRange'](_0x4efe34,this[_0x3080('0x161')][_0x3080('0x116')](_0x52b29c,_0x34484f[_0x3080('0x58')]));}}}}[_0x3080('0x3a')](_0x46ff0e){for(const {suggestion:_0x36c269,meta:_0x3662a2}of this['_findSuggestions'](_0x46ff0e,_0x3080('0x159'))){if(!_0x3662a2[_0x3080('0x76')])continue;const _0x519381=_0x36c269['getRanges']();for(const _0x11741a of _0x519381)if(!_0x46ff0e[_0x3080('0xf9')](_0x11741a)[_0x3080('0x68')])return!0x0;}return!0x1;}[_0x3080('0x93')](_0x29ac60){const _0x137ac6=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')]('Users')[_0x3080('0xfc')](_0x29ac60);if(!_0x137ac6)throw new _0x134604(_0x3080('0xf5'),this);return _0x137ac6;}[_0x3080('0x5d')](_0x3a6e57){const _0x45e584=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')](_0x3080('0x82')),_0x3e811c=_0x469935(_0x3080('0x88')+_0x3a6e57),_0x36dd13=_0x45e584[_0x3080('0xfc')](_0x3e811c);return _0x36dd13||_0x45e584[_0x3080('0xdc')]({'id':_0x3e811c,'name':_0x3a6e57});}['_createSuggestion'](_0xc2a40f,_0x15e353,_0xada907,_0x1fffe1,_0x409f23){const _0x2cb9fd=this[_0x3080('0x93')](_0x1fffe1),_0x19ea8d=this[_0x3080('0xe4')][_0x3080('0x1')](_0xc2a40f,_0x15e353,_0xada907,_0x2cb9fd,_0x409f23,_0x423058=>this[_0x3080('0x8b')](_0xada907,{'attributes':_0x423058}));return this[_0x3080('0xc1')](_0x19ea8d,_0x3080('0x14a'),()=>{this[_0x3080('0x8b')](_0xada907,{'state':_0x3080('0x6d')});},{'priority':'high'}),this['listenTo'](_0x19ea8d,_0x3080('0x53'),()=>{this[_0x3080('0x8b')](_0xada907,{'state':_0x3080('0x162')});},{'priority':'high'}),this['_suggestions'][_0x3080('0x167')](_0xada907,_0x19ea8d),this[_0x3080('0x5c')][_0x3080('0x167')](_0x19ea8d,_0x3080('0x35')),_0x19ea8d;}[_0x3080('0x151')](_0x4c1b93){const _0x8291b0=_0x4c1b93[_0x3080('0x11e')](':');return{'group':_0x8291b0[0x0],'type':_0x8291b0[0x1],'subType':_0x8291b0['length']>=0x5?_0x8291b0[0x2]:null,'id':_0x8291b0['length']<0x5?_0x8291b0[0x2]:_0x8291b0[0x3],'authorId':_0x8291b0[_0x3080('0x68')]<0x5?_0x8291b0[0x3]:_0x8291b0[0x4],'markerCount':0x6==_0x8291b0['length']?_0x8291b0[0x5]:null};}[_0x3080('0xeb')](_0x501436,_0x41bafe,_0x5e91b6){const _0x48a066=_0x501436[_0x3080('0x4d')](),_0x4c3875=_0x48a066[_0x3080('0x12d')],_0x17b997=_0x48a066[_0x3080('0x58')];this[_0x3080('0x5b')](_0x501436,this[_0x3080('0x161')][_0x3080('0x116')](_0x4c3875,_0x41bafe));const _0x45adde=_0x10af11(),_0x51c31a=_0x501436[_0x3080('0xf0')]['id'],_0x40b030=_0x501436[_0x3080('0x15d')]+(_0x501436[_0x3080('0x2')]?':'+_0x501436[_0x3080('0x2')]:'');this[_0x3080('0xb2')]({'id':_0x45adde,'type':_0x40b030,'createdAt':new Date(),'authorId':_0x51c31a,'originalSuggestionId':_0x501436['id'],'attributes':_0x501436[_0x3080('0x8d')],'data':_0x501436[_0x3080('0x112')]});const _0x440254=Pt(_0x501436);('formatBlock'==_0x501436[_0x3080('0x15d')]||_0x440254&&this['_isBlockAttribute'](_0x440254))&&(_0x5e91b6=this['_model'][_0x3080('0x44')](_0x5e91b6['parent'])),this[_0x3080('0x45')](_0x40b030,_0x45adde,_0x51c31a,this[_0x3080('0x161')]['createRange'](_0x5e91b6,_0x17b997));}['_findSuggestions'](_0x1dc1ee,_0x46c4f1=null){const _0x33741d=[],_0x29b469=this[_0x3080('0xc7')][_0x3080('0x85')][_0x3080('0x9a')]('Users')['me'];Array[_0x3080('0x150')](_0x1dc1ee)||(_0x1dc1ee=[_0x1dc1ee]);for(const _0x2eeec2 of this['getSuggestions']()){if(!_0x2eeec2[_0x3080('0xfd')])continue;if(_0x46c4f1&&_0x2eeec2[_0x3080('0x15d')]!=_0x46c4f1)continue;let _0x31cef9=!0x1;for(const _0x57c837 of _0x2eeec2[_0x3080('0x17')]()){for(const _0x2ea9be of _0x1dc1ee){const _0x29d9ec=_0x2ea9be[_0x3080('0x12d')][_0x3080('0x123')](_0x57c837['end'])||_0x2ea9be[_0x3080('0x58')][_0x3080('0x123')](_0x57c837[_0x3080('0x12d')]);if(_0x29d9ec||_0x2ea9be[_0x3080('0x9c')](_0x57c837)){const _0x4a2b8e=_0x2ea9be['containsRange'](_0x57c837)&&Bt(this[_0x3080('0x161')][_0x3080('0x15f')],_0x57c837[_0x3080('0x12d')],_0x2ea9be),_0x3e4591=_0x57c837[_0x3080('0xd1')](_0x2ea9be)&&Bt(this['_model'][_0x3080('0x15f')],_0x2ea9be[_0x3080('0x12d')],_0x57c837);_0x33741d[_0x3080('0xc8')]({'suggestion':_0x2eeec2,'meta':{'isOwn':_0x29b469==_0x2eeec2[_0x3080('0xc6')],'isNextTo':_0x29d9ec,'isInsideObject':_0x4a2b8e,'containsRangeInObject':_0x3e4591}}),_0x31cef9=!0x0;break;}}if(_0x31cef9)break;}}return _0x33741d;}[_0x3080('0x45')](_0x4a31de,_0x23e60b,_0x16d1a6,_0x2f361a,_0x340319){this['_model'][_0x3080('0x7b')](_0x12b91a=>{let _0x493c38=_0x3080('0x62')+_0x4a31de+':'+_0x23e60b+':'+_0x16d1a6;_0x340319&&(_0x493c38=_0x493c38+':'+_0x340319),_0x12b91a[_0x3080('0x11f')](_0x493c38,{'range':_0x2f361a,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x3080('0xc0')](_0x1d56b2){const _0x47be98=_0x1d56b2[_0x3080('0x2e')],_0x456a90=_0x1d56b2['next'];_0x1d56b2[_0x3080('0x2e')]=null,_0x1d56b2[_0x3080('0x108')]=null,null!=_0x47be98&&(_0x47be98[_0x3080('0x108')]=_0x456a90),null!=_0x456a90&&(_0x456a90['previous']=_0x47be98),_0x3080('0xb7')==this[_0x3080('0x5c')][_0x3080('0x9a')](_0x1d56b2)&&(this[_0x3080('0x5c')][_0x3080('0x167')](_0x1d56b2,_0x3080('0xf2')),this[_0x3080('0x107')](_0x3080('0x5e'),_0x1d56b2,_0x47be98,_0x456a90));}[_0x3080('0xb2')](_0x3e0bb0){const _0x100942=_0x3e0bb0['id'],_0x1351b2=this[_0x3080('0xaf')](_0x3e0bb0);if(this['_adapter']&&this[_0x3080('0x13')][_0x3080('0xbf')]){const _0x35a244=this['editor']['plugins'][_0x3080('0x9a')](_0x3080('0xcb')),_0x2f2e4c=_0x1351b2[_0x3080('0x128')],_0x9f1a52=_0x1351b2[_0x3080('0x2')]?_0x1351b2['type']+':'+_0x1351b2['subType']:_0x1351b2[_0x3080('0x15d')],_0x4022a3=this[_0x3080('0xc7')][_0x3080('0xe8')],_0x301899=_0x35a244[_0x3080('0x144')](_0xaf0263(_0x4022a3,_0x3080('0x7a'))),_0x4856e0={'id':_0x100942,'type':_0x9f1a52,'hasComments':_0x2f2e4c,'data':_0x3e0bb0[_0x3080('0x112')]||null,'originalSuggestionId':_0x3e0bb0[_0x3080('0x29')]||null,'attributes':_0x1351b2[_0x3080('0x8d')]};this['_adapter']['addSuggestion'](_0x4856e0)[_0x3080('0x139')](_0x23f5b5=>{_0x1351b2[_0x3080('0x60')]=!0x0,_0x35a244[_0x3080('0x6e')](_0x301899),_0x23f5b5&&_0x23f5b5['createdAt']&&(this[_0x3080('0x71')][_0x3080('0x9a')](_0x100942)[_0x3080('0x171')]=_0x23f5b5[_0x3080('0x171')]);})[_0x3080('0x6a')](_0x2ae67d=>{throw _0x38bf58(_0x3080('0x156')),this[_0x3080('0xc7')][_0x3080('0x140')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x1351b2[_0x3080('0x53')]();}),_0x1351b2['stopListening'](),this[_0x3080('0x71')][_0x3080('0x176')](_0x1351b2['id']),this[_0x3080('0x5c')]['delete'](_0x1351b2),_0x2ae67d;});}return _0x1351b2;}['_isBlockAttribute'](_0x34c351){return this[_0x3080('0x122')]['has'](_0x34c351);}[_0x3080('0x8b')](_0x28a0a8,_0x3f2031){const _0x40aebd=this[_0x3080('0xc7')]['plugins'][_0x3080('0x9a')](_0x3080('0xcb')),_0x264ce0=this[_0x3080('0x61')](_0x28a0a8);if(this[_0x3080('0x13')]&&this[_0x3080('0x13')]['updateSuggestion']){if(_0x264ce0[_0x3080('0x60')]){const _0x4d299e=_0x40aebd[_0x3080('0x144')](_0xaf0263(this[_0x3080('0xc7')][_0x3080('0xe8')],_0x3080('0x7a')));this['_adapter']['updateSuggestion'](_0x28a0a8,_0x3f2031)['then'](()=>{_0x40aebd['remove'](_0x4d299e);});}else _0x264ce0['on'](_0x3080('0xcc'),()=>{this[_0x3080('0x8b')](_0x28a0a8,_0x3f2031);});}}[_0x3080('0x25')](_0xddd709){if(!this[_0x3080('0x13')]||!this['_adapter'][_0x3080('0x61')])throw new _0x134604(_0x3080('0xa5'),this);return this[_0x3080('0x13')][_0x3080('0x61')](_0xddd709);}[_0x3080('0xfa')](_0x3aeed4){const {id:_0x4e01c5,type:_0x1234ec,subType:_0xbf529a,authorId:_0x5d886a}=this[_0x3080('0x151')](_0x3aeed4),_0x318bd5=this[_0x3080('0x71')][_0x3080('0x9a')](_0x4e01c5)||this[_0x3080('0x9e')](_0x1234ec,_0xbf529a,_0x4e01c5,_0x5d886a,{});switch(this[_0x3080('0x115')](_0x318bd5,_0x1234ec,_0xbf529a,_0x5d886a),this[_0x3080('0x5c')]['get'](_0x318bd5)){case _0x3080('0x35'):this[_0x3080('0x25')](_0x4e01c5)[_0x3080('0x139')](_0x4234b8=>{let _0x31c0b7=Promise[_0x3080('0xae')]();_0x4234b8[_0x3080('0x128')]&&(_0x31c0b7=this[_0x3080('0x17b')][_0x3080('0x148')]({'channelId':this[_0x3080('0xc7')]['config'][_0x3080('0x9a')]('collaboration.channelId'),'threadId':_0x4e01c5})),_0x31c0b7['then'](()=>{this[_0x3080('0xaf')](_0x4234b8)['_saved']=!0x0;});}),this[_0x3080('0x5c')][_0x3080('0x167')](_0x318bd5,'markerReady');break;case _0x3080('0xf2'):this[_0x3080('0x8b')](_0x4e01c5,{'state':'open'});case _0x3080('0x67'):this[_0x3080('0x5c')][_0x3080('0x167')](_0x318bd5,_0x3080('0xb7')),this['fire'](_0x3080('0x99'),_0x318bd5);break;case _0x3080('0xb7'):this[_0x3080('0x107')]('suggestionChanged',_0x318bd5);}return _0x318bd5['addMarkerName'](_0x3aeed4),_0x318bd5;}[_0x3080('0x141')](_0x3d992e){const _0x4903c4=Array['from'](_0x3d992e),_0x5e80c7=_0x4903c4[_0x3080('0xee')](_0x21b70c=>_0x3080('0xe2')==_0x21b70c[_0x3080('0x15d')]);this[_0x3080('0x146')](_0x5e80c7);const _0x3b83a0=_0x4903c4['filter'](_0x1797d5=>!_0x1797d5[_0x3080('0xb9')]&&_0x3080('0xe2')!=_0x1797d5[_0x3080('0x15d')]),_0x3813a9=this[_0x3080('0x50')]({'skipNotAttached':!0x0})[_0x3080('0xee')](_0x47116c=>!_0x47116c[_0x3080('0xb9')]&&'attribute'!=_0x47116c[_0x3080('0x15d')]),_0x400686=_0x3813a9[_0x3080('0xee')](_0x3e65dc=>!_0x3d992e['has'](_0x3e65dc)),_0x234df7=new Map(_0x3813a9[_0x3080('0xf7')](_0xc31130=>[_0xc31130,this[_0x3080('0xe4')]['getSuggestionCallback'](_0xc31130[_0x3080('0x15d')],_0xc31130[_0x3080('0x2')],_0x3080('0x6b'))])),_0x4208d4=new Map(_0x3813a9['map'](_0xe99ecf=>[_0xe99ecf,_0xe99ecf[_0x3080('0x4d')]()])),_0x2bbbee=new Set(),_0x3c17be=new Set();for(let _0x15143c=0x0;_0x15143c<_0x3b83a0[_0x3080('0x68')];_0x15143c++)_0x5b32d8(_0x3b83a0[_0x15143c],_0x3b83a0,_0x15143c+0x1);for(let _0x51c231=0x0;_0x51c231<_0x3b83a0[_0x3080('0x68')];_0x51c231++)_0x5b32d8(_0x3b83a0[_0x51c231],_0x400686,0x0);const _0x200ea2=new Set();for(let _0x213b48=0x0;_0x213b48<_0x3b83a0['length'];_0x213b48++){const _0x5c4038=_0x3b83a0[_0x213b48];!_0x3c17be['has'](_0x5c4038)&&_0x5c4038[_0x3080('0x2e')]&&(_0x200ea2[_0x3080('0x144')](_0x5c4038[_0x3080('0x2e')]),_0x5c4038['previous'][_0x3080('0x108')]===_0x5c4038&&(_0x5c4038[_0x3080('0x2e')][_0x3080('0x108')]=null),_0x5c4038['previous']=null),!_0x2bbbee['has'](_0x5c4038)&&_0x5c4038[_0x3080('0x108')]&&(_0x200ea2['add'](_0x5c4038[_0x3080('0x108')]),_0x5c4038[_0x3080('0x108')][_0x3080('0x2e')]===_0x5c4038&&(_0x5c4038[_0x3080('0x108')][_0x3080('0x2e')]=null),_0x5c4038[_0x3080('0x108')]=null);}function _0x5b32d8(_0x56f970,_0x45f75b,_0x2f48c5){for(let _0x33fe95=_0x2f48c5;_0x33fe95<_0x45f75b[_0x3080('0x68')];_0x33fe95++){const _0x43656b=_0x500e92(_0x56f970,_0x45f75b[_0x33fe95]);_0x43656b&&(_0x43656b[0x0][_0x3080('0x108')]=_0x43656b[0x1],_0x43656b[0x1]['previous']=_0x43656b[0x0],_0x2bbbee[_0x3080('0x144')](_0x43656b[0x0]),_0x3c17be[_0x3080('0x144')](_0x43656b[0x1]));}}function _0x500e92(_0xb6a68b,_0x25c312){if(_0xb6a68b[_0x3080('0xc6')]['id']!==_0x25c312['author']['id'])return null;const _0xeb86c7=_0x234df7[_0x3080('0x9a')](_0xb6a68b)(_0xb6a68b,_0x25c312,_0x4208d4[_0x3080('0x9a')](_0xb6a68b),_0x4208d4[_0x3080('0x9a')](_0x25c312));if(!_0xeb86c7)return null;return _0x234df7[_0x3080('0x9a')](_0x25c312)(_0xb6a68b,_0x25c312,_0x4208d4[_0x3080('0x9a')](_0xb6a68b),_0x4208d4[_0x3080('0x9a')](_0x25c312))?_0xeb86c7[0x1][_0x3080('0x7')]&&_0xeb86c7[0x1]['commentThread'][_0x3080('0x68')]?null:_0xeb86c7:null;}_0x200ea2[_0x3080('0xff')]&&this[_0x3080('0x141')](_0x200ea2);}[_0x3080('0x146')](_0x4ca4bd){if(0x0==_0x4ca4bd['length'])return;const _0x501038=this[_0x3080('0x50')]({'skipNotAttached':!0x0})['filter'](_0x89e04c=>_0x3080('0xe2')==_0x89e04c['type']&&_0x89e04c[_0x3080('0x14c')]),_0x17f06a=[],_0x5201e3=new Map();for(const _0x1077c3 of _0x501038){const _0x30772f=_0x469935(_0x1077c3[_0x3080('0x8d')]);_0x5201e3[_0x3080('0x15b')](_0x30772f)||(_0x5201e3['set'](_0x30772f,_0x17f06a[_0x3080('0x68')]),_0x17f06a['push']([]));const _0x5d3cc2=_0x5201e3['get'](_0x30772f);_0x17f06a[_0x5d3cc2][_0x3080('0xc8')](_0x1077c3);}!function(){_0x17f06a[_0x3080('0xcf')]((_0x4e11ec,_0x2f28c8)=>{const _0xfac6bc=_0x4e11ec[0x0][_0x3080('0x171')],_0x5331ed=_0x2f28c8[0x0]['createdAt'];return _0xfac6bc==_0x5331ed?_0x4e11ec[0x0][_0x3080('0x8d')][_0x3080('0x2d')]<_0x2f28c8[0x0][_0x3080('0x8d')]['groupId']?-0x1:0x1:_0xfac6bc<_0x5331ed?-0x1:0x1;});for(const _0x10b522 of _0x17f06a)_0x10b522[_0x3080('0xcf')]((_0x141344,_0x4a0981)=>_0x141344['id']<_0x4a0981['id']?-0x1:0x1);}();for(let _0x577224=0x0;_0x577224<_0x17f06a[_0x3080('0x68')];_0x577224++){if(0x0==_0x17f06a[_0x577224]['length'])continue;const _0x30831a=[];for(let _0x1ca485=_0x577224+0x1;_0x1ca485<_0x17f06a[_0x3080('0x68')];_0x1ca485++)0x0!=_0x17f06a[_0x1ca485][_0x3080('0x68')]&&_0x5aae96(_0x17f06a[_0x577224],_0x17f06a[_0x1ca485])&&_0x30831a[_0x3080('0xc8')](_0x1ca485);for(const _0x27a0b0 of _0x30831a)_0x17f06a[_0x577224]=_0x17f06a[_0x577224]['concat'](_0x17f06a[_0x27a0b0]),_0x17f06a[_0x27a0b0]=[];}for(const _0x4dc96d of _0x17f06a)for(let _0x24bac6=0x0;_0x24bac6<_0x4dc96d['length'];_0x24bac6++)_0x4dc96d[_0x24bac6][_0x3080('0x108')]=_0x4dc96d[_0x24bac6+0x1]||null;for(const _0x1d1354 of _0x17f06a)for(let _0x1cfc43=0x0;_0x1cfc43<_0x1d1354[_0x3080('0x68')];_0x1cfc43++)_0x1d1354[_0x1cfc43][_0x3080('0x2e')]=_0x1d1354[_0x1cfc43-0x1]||null;function _0x5aae96(_0x5b3d64,_0x27fb82){if(_0x5b3d64[0x0][_0x3080('0xc6')]!==_0x27fb82[0x0][_0x3080('0xc6')])return!0x1;if(!function(_0x49144a,_0x195777){if(!_0x49144a['hasComments']&&!_0x195777[_0x3080('0x128')])return!0x0;if(_0x49144a[_0x3080('0x128')]&&_0x195777['hasComments'])return!0x1;if(_0x49144a[_0x3080('0x128')]&&_0x195777[_0x3080('0x171')]<_0x49144a[_0x3080('0x7')]['comments'][_0x3080('0x9a')](0x0)[_0x3080('0x171')])return!0x0;if(_0x195777[_0x3080('0x128')]&&_0x49144a['createdAt']<_0x195777[_0x3080('0x7')][_0x3080('0x51')][_0x3080('0x9a')](0x0)[_0x3080('0x171')])return!0x0;return!0x1;}(_0x5b3d64[0x0],_0x27fb82[0x0]))return!0x1;const _0x189896=_0x2b8df0(_0x5b3d64[0x0][_0x3080('0x8d')],'groupId'),_0x1fe41e=_0x2b8df0(_0x27fb82[0x0]['attributes'],'groupId');if(!_0x251618(_0x189896,_0x1fe41e))return!0x1;return!!_0x5b3d64['every'](_0x4f0e1f=>_0x27fb82['some'](_0x3e0711=>_0x4f0e1f[_0x3080('0x4d')]()[_0x3080('0x123')](_0x3e0711[_0x3080('0x4d')]())))&&_0x27fb82[_0x3080('0xd9')](_0x107d73=>_0x5b3d64['some'](_0x3395ef=>_0x107d73[_0x3080('0x4d')]()[_0x3080('0x123')](_0x3395ef[_0x3080('0x4d')]())));}}[_0x3080('0xb0')](_0x35299b){const _0x2bab48=Array[_0x3080('0xad')](_0x35299b),_0x33bcb0=this[_0x3080('0x50')]({'skipNotAttached':!0x0}),_0x5c9145=_0x33bcb0[_0x3080('0xee')](_0x521140=>!_0x35299b[_0x3080('0x15b')](_0x521140)),_0x2c8b61=new Map(_0x2bab48[_0x3080('0xf7')](_0x35c312=>[_0x35c312,this[_0x3080('0xe4')][_0x3080('0xac')](_0x35c312[_0x3080('0x15d')],_0x35c312[_0x3080('0x2')],_0x3080('0x12c'))])),_0x291040=new Map(_0x33bcb0['map'](_0x3d7d6f=>[_0x3d7d6f,_0x3d7d6f[_0x3080('0x17')]()]));for(let _0x177608=0x0;_0x177608<_0x2bab48[_0x3080('0x68')];_0x177608++){if(_0x36cd9a(this,_0x2bab48[_0x177608],_0x2bab48,_0x177608+0x1))return!0x0;}for(let _0x35e52a=0x0;_0x35e52a<_0x2bab48[_0x3080('0x68')];_0x35e52a++){if(_0x36cd9a(this,_0x2bab48[_0x35e52a],_0x5c9145,0x0))return!0x0;}return!0x1;function _0x36cd9a(_0x4162f2,_0x144e26,_0x47e373,_0x3c4487){for(let _0x26d68d=_0x3c4487;_0x26d68d<_0x47e373[_0x3080('0x68')];_0x26d68d++){const _0x5328b3=_0x47e373[_0x26d68d];if(_0x5328b3[_0x3080('0x15d')]!==_0x144e26[_0x3080('0x15d')]||_0x5328b3[_0x3080('0xc6')]['id']!==_0x144e26[_0x3080('0xc6')]['id']||_0x5328b3['subType']!==_0x144e26[_0x3080('0x2')])continue;if(!Vt(_0x144e26,_0x5328b3))continue;if('attribute'==_0x144e26[_0x3080('0x15d')]&&_0x144e26[_0x3080('0x112')][_0x3080('0xe1')]!=_0x5328b3[_0x3080('0x112')][_0x3080('0xe1')])continue;if(_0x3080('0xe2')==_0x144e26['type']&&_0x4162f2[_0x3080('0x129')](_0x144e26[_0x3080('0x112')][_0x3080('0x64')]))continue;if('formatBlock'==_0x144e26['type']){const _0x12e871=_0x4162f2[_0x3080('0xc7')][_0x3080('0x140')],_0x40400a=_0x144e26[_0x3080('0x174')]();if(_0x40400a&&(_0x12e871[_0x3080('0x15f')]['isObject'](_0x40400a)||_0x12e871[_0x3080('0x15f')][_0x3080('0x28')](_0x40400a)))continue;}const _0x30c974=_0x2c8b61[_0x3080('0x9a')](_0x144e26),_0x5e9fce=_0x291040[_0x3080('0x9a')](_0x144e26),_0x147926=_0x291040['get'](_0x5328b3),_0x31b554=_0x144e26[_0x3080('0x7')]&&_0x144e26[_0x3080('0x7')][_0x3080('0x68')],_0x4bb282=_0x5328b3['commentThread']&&_0x5328b3[_0x3080('0x7')][_0x3080('0x68')];if(!_0x31b554&&_0x30c974(_0x147926,_0x5e9fce))return _0x4162f2[_0x3080('0x30')](_0x5328b3,_0x144e26),_0x291040[_0x3080('0x176')](_0x144e26),!0x0;if(!_0x4bb282&&_0x30c974(_0x5e9fce,_0x147926))return _0x4162f2[_0x3080('0x30')](_0x144e26,_0x5328b3),_0x291040[_0x3080('0x176')](_0x5328b3),!0x0;}return!0x1;}}[_0x3080('0x30')](_0x438b77,_0x4329be){if(_0x438b77['isMultiRange'])for(const _0xf50394 of _0x4329be[_0x3080('0x17')]())_0x438b77['addRange'](_0xf50394);else{const _0x1189ee=_0x4329be[_0x3080('0x4d')]()[_0x3080('0x58')];this[_0x3080('0x5b')](_0x438b77,this[_0x3080('0x161')][_0x3080('0x116')](_0x438b77[_0x3080('0x4d')]()[_0x3080('0x12d')],_0x1189ee));}_0x4329be[_0x3080('0x100')]();}['_getMarkerAnnouncementText'](_0x6b432c,_0x36875b){const _0x4fb2a3=_0x6b432c['startsWith']('format')||_0x6b432c['startsWith'](_0x3080('0xe2'))?_0x3080('0x42'):_0x6b432c[_0x3080('0x134')]();return _0xaf0263(this['editor'][_0x3080('0xe8')],_0x36875b+'_'+_0x4fb2a3+_0x3080('0x26'));}[_0x3080('0x20')](){const _0x198db9=this[_0x3080('0xc7')];_0x21acf8(this[_0x3080('0x161')],({left:_0x472e74,entered:_0xa64e50})=>{const _0x1b96fd=[];for(const _0x5f26b0 of _0x472e74){const {group:_0x54d51f,type:_0x50ed7d}=this[_0x3080('0x151')](_0x5f26b0[_0x3080('0xba')]);if(_0x3080('0xd5')===_0x54d51f){_0x1b96fd[_0x3080('0xc8')](this[_0x3080('0x13d')](_0x50ed7d,_0x3080('0xda')));break;}}for(const _0x962ce8 of _0xa64e50){const {group:_0xced49a,type:_0x1fdac3}=this[_0x3080('0x151')](_0x962ce8[_0x3080('0xba')]);if(_0x3080('0xd5')===_0xced49a){_0x1b96fd[_0x3080('0xc8')](this[_0x3080('0x13d')](_0x1fdac3,_0x3080('0x7e')));break;}}_0x1b96fd[_0x3080('0x68')]&&_0x198db9['ui']['ariaLiveAnnouncer'][_0x3080('0x34')](_0x3080('0x10c'),_0x1b96fd[_0x3080('0x12c')]('\x20'));});}['_processAttributeChanges'](_0xec2210){if(null!==this[_0x3080('0x65')])return!0x1;const _0x51634b=this[_0x3080('0xc7')],_0x3062e6=_0x51634b['model'][_0x3080('0x164')][_0x3080('0x79')][_0x3080('0x16c')]();if(0x0==_0x3062e6['length'])return!0x1;const _0x48b359=[],_0x3faed9=_0x3062e6[_0x3080('0xee')](_0x2dd1bc=>_0x3080('0xe2')==_0x2dd1bc['type']),_0x18020e=_0x3062e6[_0x3080('0xee')](_0x46c8f5=>_0x3080('0x39')==_0x46c8f5[_0x3080('0x15d')]&&_0x3080('0x105')!=_0x46c8f5[_0x3080('0xba')]),_0x4bf8fb=_0x3062e6['filter'](_0x1e41bc=>'remove'==_0x1e41bc[_0x3080('0x15d')]&&_0x3080('0x105')!=_0x1e41bc['name']);for(const _0x163150 of _0x3faed9)_0x48b359[_0x3080('0xc8')]({'key':_0x163150['attributeKey'],'newValue':_0x163150[_0x3080('0x66')],'oldValue':_0x163150[_0x3080('0x24')],'range':_0x160744(_0x163150['range'])});for(const _0x58f1c4 of _0x18020e){const _0x558673=_0x4bf8fb[_0x3080('0x16b')](_0x3bdd57=>_0x3bdd57[_0x3080('0xa2')][_0x3080('0x123')](_0x58f1c4['position']));_0x558673&&_0x48b359[_0x3080('0xc8')]({'key':_0x3080('0x149'),'newValue':_0x58f1c4[_0x3080('0xba')],'oldValue':_0x558673[_0x3080('0xba')],'range':_0x51634b[_0x3080('0x140')][_0x3080('0x6f')](_0x58f1c4[_0x3080('0xa2')][_0x3080('0x10d')])});}return 0x0!=_0x48b359[_0x3080('0x68')]&&this[_0x3080('0x91')](_0xec2210,_0x48b359);function _0x160744(_0x1d8270){return null==_0x1d8270['end']['nodeBefore']&&_0x1d8270[_0x3080('0x58')]['parent']==_0x1d8270[_0x3080('0x12d')]['nodeAfter']?Ut(_0x1d8270[_0x3080('0x12d')]['nodeAfter'],_0x51634b[_0x3080('0x140')]):_0x1d8270;}}[_0x3080('0xf')](_0x1513dd){let _0x5d4651=!0x1;const _0x343979=this[_0x3080('0xc7')][_0x3080('0x140')][_0x3080('0x164')][_0x3080('0x79')][_0x3080('0x96')]()[_0x3080('0xee')](_0x2fbbaf=>_0x2fbbaf[_0x3080('0x112')][_0x3080('0x12')]&&_0x2fbbaf[_0x3080('0xba')]['startsWith'](_0x3080('0x75')));for(const _0x5cf18b of _0x343979){const {subType:_0x3dbb36,id:_0x71c7bd}=this['_splitMarkerName'](_0x5cf18b[_0x3080('0xba')]),_0xc5cdc3=_0x3dbb36[_0x3080('0x11e')]('|')[0x0];for(const _0x93befc of this[_0x3080('0x50')]({'skipNotAttached':!0x0}))_0x93befc['id']!=_0x71c7bd&&_0x3080('0xe2')==_0x93befc['type']&&_0x93befc[_0x3080('0x112')]&&_0x93befc[_0x3080('0x112')][_0x3080('0x64')]==_0xc5cdc3&&_0x93befc[_0x3080('0x4d')]()['isIntersecting'](_0x5cf18b['data']['newRange'])&&(this[_0x3080('0xa1')](_0x93befc,_0x5cf18b[_0x3080('0x112')][_0x3080('0x12')],_0x1513dd),_0x5d4651=!0x0);}return _0x5d4651;}['_recordAttributeChanges'](_0x56042d){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x56042d();const _0xc85652=this[_0x3080('0xc7')];this[_0x3080('0x65')]=_0xc85652[_0x3080('0x140')][_0x3080('0x164')][_0x3080('0x12e')],_0x56042d();const _0x4fc5b8=new Map();for(const _0x21cf33 of _0xc85652[_0x3080('0x140')]['document'][_0x3080('0x118')][_0x3080('0xe6')](this[_0x3080('0x65')]))if([_0x3080('0x143'),_0x3080('0xf3'),'removeAttribute',_0x3080('0x70')][_0x3080('0x109')](_0x21cf33[_0x3080('0x15d')])){const _0x58324d=_0x21cf33[_0x3080('0x168')],_0x5a4130=_0x4fc5b8['get'](_0x58324d)||[];_0x5a4130['push'](_0x21cf33),_0x4fc5b8[_0x3080('0x167')](_0x58324d,_0x5a4130);}this[_0x3080('0x65')]=null;for(const [_0x37a2b5,_0xb15585]of _0x4fc5b8){const _0x422965=_0x10af11();_0xc85652['model'][_0x3080('0x152')](_0x37a2b5,_0x112ac7=>{const _0x5adf4c=[];for(const _0x5296ac of _0xb15585){let _0x1fec48,_0x5b599d,_0x58afd2,_0x179ca8;if('rename'==_0x5296ac[_0x3080('0x15d')]){const _0x286358=_0x5296ac;_0x1fec48=Ut(_0x286358[_0x3080('0xa2')][_0x3080('0x10d')],_0xc85652['model']),_0x5b599d=_0x3080('0x149'),_0x58afd2=_0x286358[_0x3080('0x81')],_0x179ca8=_0x286358[_0x3080('0xa4')];}else{const _0x10284e=_0x5296ac,_0x38f324=this[_0x3080('0x129')](_0x10284e[_0x3080('0x64')]),_0x1a70b2=this[_0x3080('0x94')][_0x3080('0x15b')](_0x10284e['key']);if(!_0x38f324&&!_0x1a70b2)continue;_0x1fec48=_0x38f324?Ut(_0x10284e[_0x3080('0x19')]['start'][_0x3080('0x10d')],_0xc85652[_0x3080('0x140')]):_0x10284e['range'],_0x5b599d=_0x10284e['key'],_0x58afd2=_0x3080('0x132')==_0x5296ac[_0x3080('0x15d')]?void 0x0:_0x10284e[_0x3080('0xb6')],_0x179ca8=_0x10284e['oldValue'];}this[_0x3080('0x17f')](_0x1fec48,_0x5b599d,_0x179ca8,_0x58afd2,{'groupId':_0x422965}),_0x5adf4c[_0x3080('0xc8')]({'range':_0x1fec48,'key':_0x5b599d,'newValue':_0x58afd2,'oldValue':_0x179ca8});}this[_0x3080('0x91')](_0x112ac7,_0x5adf4c);});}}[_0x3080('0x91')](_0x1251b9,_0x198913){if(0x0==_0x198913[_0x3080('0x68')])return!0x1;let _0x395363=!0x1;for(const _0xa39774 of _0x198913){const _0x2e703e=this[_0x3080('0x63')](_0xa39774[_0x3080('0x19')],'attribute')[_0x3080('0xee')](_0x5be47c=>!_0x5be47c['meta'][_0x3080('0x126')])[_0x3080('0xf7')](_0x190d19=>_0x190d19['suggestion']),_0x9860bc=_0x469935({'newValue':_0xa39774['newValue']});_0x2e703e[_0x3080('0xee')](_0x226b89=>{const [_0x32af41,_0x4455c0]=_0x226b89['subType'][_0x3080('0x11e')]('|');return _0x32af41==_0xa39774[_0x3080('0x64')]&&_0x4455c0!=_0x9860bc;})[_0x3080('0x59')](_0x5207d6=>{this[_0x3080('0xa1')](_0x5207d6,_0xa39774['range'],_0x1251b9),_0x395363=!0x0;});}return _0x395363;}['_reduceSuggestionAttributeRange'](_0x28b943,_0x4009e3,_0x253054){const _0x60b2ee=_0x28b943[_0x3080('0x4d')]()['getDifference'](_0x4009e3);0x0!==_0x60b2ee[_0x3080('0x68')]?0x1!==_0x60b2ee[_0x3080('0x68')]?this[_0x3080('0xeb')](_0x28b943,_0x4009e3['start'],_0x4009e3[_0x3080('0x58')]):this[_0x3080('0x5b')](_0x28b943,_0x60b2ee[0x0]):_0x253054[_0x3080('0x180')](_0x28b943[_0x3080('0x178')]());}}class $t{constructor(_0x376d0a){this[_0x3080('0x12f')]=_0x376d0a,this['_model']=_0x376d0a[_0x3080('0x140')],this['_customCallbacks']=new Map(),this[_0x3080('0x165')]=new Map(),this[_0x3080('0x14e')]();}[_0x3080('0x1')](_0x4ebf0e,_0x1d703b,_0x48c520,_0x47f624,_0x511de5,_0x348ea2){return new _0x1526e2(this[_0x3080('0x161')],{'type':_0x4ebf0e,'subType':_0x1d703b,'id':_0x48c520,'author':_0x47f624,'creator':_0x47f624,'attributes':_0x511de5,'onAttributesChange':_0x348ea2,'onAccept':(..._0x12f97d)=>this[_0x3080('0xac')](_0x4ebf0e,_0x1d703b,'accept')(..._0x12f97d),'onDiscard':(..._0x21f585)=>this[_0x3080('0xac')](_0x4ebf0e,_0x1d703b,_0x3080('0x53'))(..._0x21f585)});}[_0x3080('0x47')](_0x519da0,_0x787e84,_0xa3b5b5,_0x27c99f){const _0x5a912f=_0x519da0+':'+_0x787e84+':'+_0xa3b5b5;this[_0x3080('0x3b')]['set'](_0x5a912f,_0x27c99f);}['getSuggestionCallback'](_0x70e630,_0x3dbad5,_0x2ed873){const _0x237e98=_0x70e630+':'+_0x3dbad5+':'+_0x2ed873;return this[_0x3080('0x3b')]['get'](_0x237e98)||this[_0x3080('0x165')]['get'](_0x70e630+':'+_0x2ed873);}['_registerDefaultCallbacks'](){const _0x402b73=()=>!0x1,_0x58d29e=_0x1021c8=>{_0x1021c8[_0x3080('0xcf')]((_0x5c50e9,_0x4ff919)=>_0x5c50e9[_0x3080('0x12d')][_0x3080('0x145')](_0x4ff919[_0x3080('0x12d')])?0x1:-0x1),this[_0x3080('0x161')][_0x3080('0x7b')](_0x2f140e=>{for(const _0x239bbd of _0x1021c8){let _0xfcfa51;_0xfcfa51=_0x239bbd['end'][_0x3080('0x106')]&&_0x239bbd[_0x3080('0x58')][_0x3080('0xf8')]==_0x239bbd[_0x3080('0x12d')][_0x3080('0x10d')]?_0x2f140e['createSelection'](_0x239bbd[_0x3080('0x12d')][_0x3080('0x10d')],'on'):_0x2f140e[_0x3080('0x183')](_0x239bbd),this['_model'][_0x3080('0x16a')](_0xfcfa51,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x4b489a=(_0x5b0d38,_0x1dde1d)=>{_0x1dde1d&&this['_model'][_0x3080('0x7b')](_0x446eac=>{const {commandName:_0x1432e1,commandParams:_0x5ef682=[]}=_0x1dde1d,_0x1db31f=_0x5b0d38[_0x3080('0xf7')](_0x49c6b2=>(Tt(_0x49c6b2)&&(_0x49c6b2=this[_0x3080('0x161')][_0x3080('0x116')](_0x49c6b2[_0x3080('0x58')])),_0x49c6b2))[_0x3080('0xee')](_0x2640d2=>_0x3080('0x14b')!==_0x2640d2[_0x3080('0xdf')][_0x3080('0x17c')]);if(_0x1db31f[_0x3080('0x68')]<0x1)return;const _0x35bb22=Array['from'](this[_0x3080('0x161')]['document']['selection'][_0x3080('0x17')]())[_0x3080('0xf7')](_0x42a0d3=>_0x441896[_0x3080('0x3c')](_0x42a0d3));_0x446eac['setSelection'](_0x1db31f);for(const _0x38bae1 of this[_0x3080('0x12f')][_0x3080('0x52')]['commands']())_0x38bae1[_0x3080('0x11d')]();_0x5ef682[_0x3080('0xc8')]({'forceDefaultExecution':!0x0}),this[_0x3080('0x12f')][_0x3080('0xe5')](_0x1432e1,..._0x5ef682);const _0x535235=_0x35bb22[_0x3080('0xee')](_0x5921e1=>_0x3080('0x14b')!=_0x5921e1[_0x3080('0xdf')][_0x3080('0x17c')]);_0x535235[_0x3080('0x68')]>0x0&&_0x446eac[_0x3080('0xe9')](_0x535235);for(const _0x28fd69 of _0x35bb22)_0x28fd69[_0x3080('0x15')]();});},_0x29f0cb=(_0x2a5bc6,_0x3a83f6)=>0x1==_0x2a5bc6[_0x3080('0x68')]&&0x1==_0x3a83f6['length']&&_0x2a5bc6[0x0][_0x3080('0x58')][_0x3080('0x123')](_0x3a83f6[0x0]['start']),_0x2fba06=(_0x3fb6e3,_0x1c2b6e,_0x18df3f,_0x4f74d0)=>Ot(_0x3fb6e3,_0x1c2b6e,_0x18df3f,_0x4f74d0,this[_0x3080('0x161')])?[_0x3fb6e3,_0x1c2b6e]:Ot(_0x1c2b6e,_0x3fb6e3,_0x4f74d0,_0x18df3f,this['_model'])?[_0x1c2b6e,_0x3fb6e3]:null;this[_0x3080('0x165')]['set'](_0x3080('0x23'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x83'),_0x58d29e),this[_0x3080('0x165')]['set'](_0x3080('0xc2'),_0x29f0cb),this[_0x3080('0x165')]['set'](_0x3080('0x155'),_0x2fba06),this[_0x3080('0x165')]['set'](_0x3080('0x13f'),_0x58d29e),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x147'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x11'),_0x29f0cb),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0xa6'),_0x2fba06),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x11a'),_0x4b489a),this['_defaultCallbacks'][_0x3080('0x167')]('formatInline:discard',_0x402b73),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x74'),_0x29f0cb),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x2b'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0xef'),_0x4b489a),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x11c'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')]('formatBlock:join',_0x29f0cb),this[_0x3080('0x165')]['set'](_0x3080('0xb4'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x32'),_0x402b73),this[_0x3080('0x165')][_0x3080('0x167')](_0x3080('0x9d'),(_0x2fecaa,_0xe7dc88)=>{if(!_0xe7dc88)return;const _0x3c4814=this[_0x3080('0x12f')][_0x3080('0x85')][_0x3080('0x9a')](p);this[_0x3080('0x161')][_0x3080('0x7b')](_0x31feb2=>{if(_0x3080('0x149')==_0xe7dc88['key'])for(const _0x5facf0 of _0x2fecaa){const _0x48944d=_0x5facf0[_0x3080('0x12d')][_0x3080('0x10d')],_0x123d59=_0xe7dc88[_0x3080('0xe1')];_0x31feb2['rename'](_0x48944d,_0x123d59);}else{if(_0x3c4814[_0x3080('0x129')](_0xe7dc88['key']))for(const _0x3ad5ce of _0x2fecaa)void 0x0!==_0xe7dc88[_0x3080('0xe1')]?_0x31feb2[_0x3080('0x7d')](_0xe7dc88[_0x3080('0x64')],_0xe7dc88['oldValue'],_0x3ad5ce[_0x3080('0x12d')]['nodeAfter']):_0x31feb2['removeAttribute'](_0xe7dc88[_0x3080('0x64')],_0x3ad5ce[_0x3080('0x12d')]['nodeAfter']);else for(const _0xcd3e56 of _0x2fecaa)_0xe7dc88[_0x3080('0xe1')]?_0x31feb2[_0x3080('0x7d')](_0xe7dc88[_0x3080('0x64')],_0xe7dc88[_0x3080('0xe1')],_0xcd3e56):_0x31feb2[_0x3080('0x132')](_0xe7dc88[_0x3080('0x64')],_0xcd3e56);}});}),this['_defaultCallbacks'][_0x3080('0x167')](_0x3080('0x170'),_0x29f0cb);}}function Bt(_0x3a9a19,_0xca6ae6,_0x17bf9c){for(const _0x530aee of _0xca6ae6['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x530aee[_0x3080('0xdf')]==_0x530aee)return!0x1;if(!_0x17bf9c[_0x3080('0x14f')](_0x530aee))return!0x1;if(_0x3a9a19['isObject'](_0x530aee)||_0x3a9a19[_0x3080('0x28')](_0x530aee))return!0x0;}return!0x1;}function Tt(_0x44af21){return _0x44af21['end']['parent']==_0x44af21[_0x3080('0x12d')]['nodeAfter']&&_0x44af21[_0x3080('0x58')][_0x3080('0xa8')];}function xt(_0x22c024,_0x58353f,_0x5da384,_0x47f150){const _0x1420ff=_0x558eb5=>!_0x558eb5[_0x3080('0x46')]['is']('$textProxy')&&!_0x47f150[_0x3080('0x33')](_0x558eb5[_0x3080('0x46')]),_0x168332=_0x22c024['start'][_0x3080('0x5f')](_0x1420ff),_0x1058b8=_0x22c024[_0x3080('0x58')]['getLastMatchingPosition'](_0x1420ff,{'direction':_0x3080('0xce')});return(!_0x22c024[_0x3080('0x12d')][_0x3080('0x123')](_0x168332)||!_0x22c024[_0x3080('0x58')][_0x3080('0x123')](_0x1058b8))&&(_0x168332['isBefore'](_0x1058b8)?_0x5da384['updateMarker'](_0x58353f,{'range':_0x5da384['createRange'](_0x168332,_0x1058b8)}):_0x5da384[_0x3080('0x180')](_0x58353f),!0x0);}function Et(_0x13a2ec){return _0x469935(_0x13a2ec);}function Rt(_0x785be5){const _0x37bef0=_0x785be5[_0x3080('0x12d')]['nodeAfter'];return _0x37bef0&&_0x37bef0['is'](_0x3080('0x98'));}function Ut(_0x46eda6,_0x10e370){const _0x246175=_0x10e370[_0x3080('0x15f')][_0x3080('0x33')](_0x46eda6)||_0x10e370[_0x3080('0x15f')][_0x3080('0x11b')](_0x46eda6);return _0x10e370[_0x3080('0x116')](_0x10e370[_0x3080('0xde')](_0x46eda6,_0x3080('0x72')),_0x246175?_0x10e370[_0x3080('0x13b')](_0x46eda6):_0x10e370[_0x3080('0xde')](_0x46eda6,'end'));}function Ot(_0xb7d901,_0x42808f,_0x3cbb4f,_0x517d09,_0x144f54){if(!Vt(_0xb7d901,_0x42808f))return!0x1;if(_0x3cbb4f[_0x3080('0x58')][_0x3080('0x123')](_0x517d09['start']))return!0x0;if(_0xb7d901[_0x3080('0x15d')]!=_0x42808f['type'])return!0x1;if(!_0x3cbb4f[_0x3080('0x58')][_0x3080('0x3f')](_0x517d09[_0x3080('0x12d')]))return!0x1;const _0x242f2f=_0x144f54[_0x3080('0x116')](_0x3cbb4f[_0x3080('0x58')],_0x517d09['start'])[_0x3080('0x124')]();for(const _0xe42ff8 of _0x242f2f)if([_0x3080('0x77'),_0x3080('0x169')][_0x3080('0x109')](_0xe42ff8[_0x3080('0x15d')])&&_0x144f54[_0x3080('0x15f')][_0x3080('0x28')](_0xe42ff8[_0x3080('0x46')]))return!0x1;return!0x0;}function Vt(_0x1b5c1b,_0x5b6da8){return!(!_0x1b5c1b[_0x3080('0x14c')]||!_0x5b6da8[_0x3080('0x14c')])&&_0x251618(_0x1b5c1b['attributes'],_0x5b6da8['attributes']);}function Gt(_0x59ac4c,_0x5ef398){const _0x51bdef=Ft(_0x59ac4c['attributes']),_0x593bd3=Ft(_0x5ef398);if(!_0x59ac4c[_0x3080('0x14c')])return!0x1;for(const _0x33d65a of Object[_0x3080('0x5')](_0x593bd3))if(!_0x251618(_0x51bdef[_0x33d65a],_0x593bd3[_0x33d65a]))return!0x1;return!0x0;}function Ft(_0x41208f){const _0x5d00cf=Object[_0x3080('0x7c')]({},_0x41208f);return delete _0x5d00cf[_0x3080('0x1a')],delete _0x5d00cf['tablePasteChainId'],_0x5d00cf;}function Pt(_0x5022b0){return'attribute'==_0x5022b0[_0x3080('0x15d')]?_0x5022b0[_0x3080('0x2')][_0x3080('0x11e')]('|')[0x0]:null;}
23
+ const _0x2f75=['addClass','warn','low','previous','init','pop','isLocal','return','value','getAncestors','_SUGGESTION_ANNOUNCEMENT','getRange','documentSelection','_initAriaMarkerChangeAnnouncements','_rangeIsInLocalUserInsertion','_processAttributeSuggestions','refresh','data-suggestion','removeMarker:suggestion:attribute','targetPosition','suggestionUnloaded','_enabledCommands','discardAllSuggestions','high','_reduceSuggestionAttributeRange','_addThreadToSuggestion','discardSelectedSuggestions','deletion:discard','requires','insertContent','sort','_setSuggestionData','howMany','createRangeOn','authoredAt','getFirstMarker','set','addAttribute','removeClass','_defaultCallbacks','getRanges','formatBlock:accept','trackChanges','model','_breakSuggestionMarker','deletion:join','chain','notReady','some','stop','PendingActions','isAtStart','markers','$elementName','enableReadOnlyMode','registerPostFixer','isArray','_trackFormatChanges','isLimit','filter','insertion','updateSuggestion','deletion:accept','_isBlockAttribute','item','authorName','formatBlock','_commentsRepository','containsRange','never','dataReady','tablePasteChainId','ready','getMarkers','setSelection','Users','attributeOldValue','has','group','markMultiRangeDeletion','moveTargetPosition','markAttributeChange','_recordAttributeSuggestionsFromVersion','_isForcedDefaultExecutionBlock','markMultiRangeInsertion','getUser','_addSuggestionMarker','isEqual','insert','removeMarkers','getChangedMarkers','containsRangeInObject','parent','split','rootName','showSuggestionHighlights','suggestion','getNearestSelectionRange','isBefore','createRangeIn','addCommentThread','fire','next','concat','trackChangesCommand','getChanges','attributes','_joinSuggestions','dataToMarker','splice','acceptAllSuggestions','TrackChangesEditing','insertion:discard','markerToHighlight','locale','isMultiRange','getMultiRangeId','dataDowncast','getOperations','update:suggestion','deletion:chain','insertion:','getDifference','elementEnd','isAtEnd','highest','stopListening','ck-suggestion-marker--active','get','_processAttributeChanges','_refreshSuggestionsChain','adapter','fromCharCode','consume','lowest','attribute:','length','fromRange','isBlock','head','change:_saved','createPositionAt','suggestion:','assign','range','version','end','includes','_splitMarkerName','addMarker','nodeAfter','addSuggestionData','markDeletion','name','position','open','selection','createSelection','containsPosition','_registerBlockAttribute','plugins','_refreshAttributeSuggestionsChain','enableCommand','rename','formatBlock:join','addComment','mapper','ck-suggestion-marker-formatInline','collaboration.channelId','containsItem','_editor','_checkSuggestionCorrectness','toUpperCase','markInsertion','_blockAttributeKeys','creator','_enableDefaultAttributesIntegration','history','commands','attribute','markerName','acceptSuggestion','editingDowncast','isRemovable','getContainedElement','upcast','clone','isAfter','isIntersectingWithRange','elementStart','createdAt','subType','_onDiscard','insertion:join','deletion','consumable','trackChanges.mergeNestedSuggestions','ck-suggestion-marker-','keys','getAllAdjacentSuggestions','createPositionAfter','listenTo','map','originalSuggestionId','buildSuggestion','_model','addMarkerName','_getAuthorFromId','detach','oldName','for','backward','oldRange','formatInline:accept','suggestionChanged','addSuggestion','removeMarker','_suggestionState','ck-suggestion-marker','getAttribute','_createSuggestion','groupId','schema','getItems','registerCustomCallback','newValue','_recordAttributeChanges','addMarker:suggestion:formatBlock','updateMarker','data','trackChanges.trackFormatChanges','ariaLiveAnnouncer','markBlockFormat','deleteContent','change','setAttribute','batch','forEach','error-saving-suggestion-data-suggestion-discarded','insertion:accept','track-changes-user-not-found','discardSuggestion','$textProxy','delete','$marker','catch','createRange','markMultiRangeBlockFormat','hasCommentThread','isTouching','discard','multi','normal','editor','unbindElementFromMarkerName','_mergeNestedSuggestions','forceDefaultExecution','every','formatInline:','always','getFirstRange','multipleBlocks','addHighlight','createElement','hasSuggestion','_setSuggestionRange','type','CommentsRepository','$text','isIntersecting','_suggestionFactory','newName','isObject','values','comments','_getMarkerAnnouncementText','substr','hasComments','rejected','addRange','size','ck-suggestion-marker-formatBlock','formatBlock:','define','track-changes-command-not-found','_customCallbacks','substring','find','getIntersection','activeMarkers','execute','_reduceExistingSuggestions','config','meta','getSuggestionCallback','_adapter','getCustomProperty','addMarker:suggestion:attribute','newRange','$graveyard','getLastMatchingPosition','join','formatBlock:chain','_getSuggestionData','elementToElement','pluginName','root','isUndo','getShiftedBy','_isDataLoaded','isExternal','toJSON','markerNameToElements','@external','track-changes-adapter-already-set','commandName','enqueueChange','isOwn','skipNestingCheck','applyOperation','key','_findSuggestions','_saved','getSuggestions','isDocumentOperation','reconvertMarker','author','marker-count','differ','startsWith','getSuggestion','track-changes-enable-command-twice','before','_registerDefaultCallbacks','oldValue','_getExternalAuthor','attribute:discard','start','document','after','_registerInlineAttribute','attribute:join','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.','formatGroupId','writer','suggestion-type','ENTER','removeAttribute','commentThread','_updateSuggestionData','accept','isNextTo','track-changes-suggestion-not-found','formatInline:join','then','isCollapsed','remove','PENDING_ACTION_SUGGESTION','getWalker','track-changes-suggestion-data-mismatch','resolve','_removeSuggestion','add','conversion','_handleNewSuggestionMarker','addUser','_joinWithAdjacentSuggestions','nodeBefore','default','options','_cutOutSuggestionMarker','formatInline','push','acceptSelectedSuggestions','isInContent','markerReady','_inlineAttributeKeys','fetchCommentThread','from','widget','toViewElement','_suggestions','deletion:','isInsideObject','change:data','attribute:accept'];(function(_0x1c82e3,_0x2f7591){const _0x39fb4c=function(_0xc69ddd){while(--_0xc69ddd){_0x1c82e3['push'](_0x1c82e3['shift']());}};_0x39fb4c(++_0x2f7591);}(_0x2f75,0xdb));const _0x39fb=function(_0x1c82e3,_0x2f7591){_0x1c82e3=_0x1c82e3-0x0;let _0x39fb4c=_0x2f75[_0x1c82e3];return _0x39fb4c;};import{Plugin as _0x161397,PendingActions as _0x1657fb}from'ckeditor5/src/core.js';import{LiveRange as _0x4839ef}from'ckeditor5/src/engine.js';import{CKEditorError as _0x3b7baa,uid as _0x3226c0,priorities as _0x544504,logWarning as _0x536d7e}from'ckeditor5/src/utils.js';import{toWidget as _0x954b31}from'ckeditor5/src/widget.js';import{Users as _0x73ee1,hashObject as _0x366d56,surroundingMarkersDetector as _0x4b0201}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x34917a from'./commands/trackchangescommand.js';import _0x2bd087 from'./commands/acceptsuggestioncommand.js';import _0x540df5 from'./commands/discardsuggestioncommand.js';import _0x431b93 from'./commands/executeonallsuggestionscommand.js';import _0x278a50 from'./commands/executeonselectedsuggestionscommand.js';import _0x357cdc from'./suggestion.js';import _0x12b7e1 from'./suggestiondescriptionfactory.js';import _0x4419dd from'./integrations/aiassistant.js';import _0x11fc24 from'./integrations/alignment.js';import _0x4271b9 from'./integrations/basicstyles.js';import _0x416c8d from'./integrations/blockquote.js';import _0x33b09c from'./integrations/ckbox.js';import _0x321e90 from'./integrations/codeblock.js';import _0x2b741b from'./integrations/comments.js';import _0x47b223 from'./integrations/deletecommand.js';import _0x178f5b from'./integrations/documentlist.js';import _0x4a4db1 from'./integrations/documentlistproperties.js';import _0x36289f from'./integrations/entercommand.js';import _0x113a39 from'./integrations/findandreplace.js';import _0x589bc7 from'./integrations/font.js';import _0x4a4289 from'./integrations/formatpainter.js';import _0x72e741 from'./integrations/heading.js';import _0x545b4d from'./integrations/highlight.js';import _0x28a867 from'./integrations/horizontalline.js';import _0x7266ed from'./integrations/htmlembed.js';import _0x25976b from'./integrations/image.js';import _0x4796ca from'./integrations/imagereplace.js';import _0x22daea from'./integrations/imagestyle.js';import _0x5466ab from'./integrations/importword.js';import _0x13791c from'./integrations/indent.js';import _0x5526d7 from'./integrations/inputcommand.js';import _0x5c7dad from'./integrations/link.js';import _0x35114 from'./integrations/list.js';import _0x55e0c9 from'./integrations/listproperties.js';import _0x8c66bf from'./integrations/mediaembed.js';import _0x56e3c4 from'./integrations/mention.js';import _0x4cf8ee from'./integrations/pagebreak.js';import _0x300306 from'./integrations/paragraph.js';import _0x333efd from'./integrations/removeformat.js';import _0x2aab0b from'./integrations/restrictededitingmode.js';import _0xc30d62 from'./integrations/shiftentercommand.js';import _0x1eef2d from'./integrations/standardeditingmode.js';import _0x59adbc from'./integrations/style.js';import _0x582b8e from'./integrations/table.js';import _0x1f8119 from'./integrations/tablemergesplit.js';import _0x130596 from'./integrations/tableheadings.js';import _0x2f374a from'./integrations/tableclipboard.js';import _0x4e8c92 from'./integrations/tablecolumnresize.js';import _0x4c1ffa from'./integrations/template.js';import _0x1e8a5c from'./integrations/tableofcontents.js';import _0x79e724 from'./integrations/title.js';import _0x276da4 from'./integrations/undo.js';import _0x5ca3f7 from'./integrations/tablecaption.js';import _0x489255 from'./integrations/tableproperties.js';import{getTranslation as _0xc6caf3}from'./utils/common-translations.js';import{isEqual as _0x41dc8a,omit as _0x4e4541}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x161397{static get[_0x39fb('0xc3')](){return['CommentsRepository',_0x73ee1,_0x1657fb,_0x4419dd,_0x11fc24,_0x4271b9,_0x416c8d,_0x33b09c,_0x321e90,_0x2b741b,_0x47b223,_0x178f5b,_0x4a4db1,_0x36289f,_0x113a39,_0x589bc7,_0x4a4289,_0x72e741,_0x545b4d,_0x28a867,_0x7266ed,_0x25976b,_0x22daea,_0x4796ca,_0x5466ab,_0x13791c,_0x5526d7,_0x5c7dad,_0x35114,_0x55e0c9,_0x8c66bf,_0x56e3c4,_0x4cf8ee,_0x300306,_0x333efd,_0x2aab0b,_0xc30d62,_0x1eef2d,_0x59adbc,_0x582b8e,_0x1f8119,_0x130596,_0x5ca3f7,_0x2f374a,_0x4e8c92,_0x1e8a5c,_0x489255,_0x4c1ffa,_0x79e724,_0x276da4];}static get[_0x39fb('0x56')](){return _0x39fb('0x116');}constructor(_0x181ebb){function _0x467719(_0x151919){return _0x151919[_0x39fb('0x171')](_0xa0e55c=>String[_0x39fb('0x12b')](_0xa0e55c))['join']('');}super(_0x181ebb),this[_0x39fb('0xf9')]=null,this[_0x39fb('0xcb')](_0x39fb('0x46'),[]),this['on']('change:activeMarkers',(_0x4a2319,_0x3b2b10,_0x286fde,_0xf0b197)=>{this[_0x39fb('0x174')]['change'](()=>{for(const _0x8c5910 of[..._0xf0b197,..._0x286fde])this[_0x39fb('0x174')][_0x39fb('0xdb')][_0x39fb('0xf4')](_0x8c5910)&&_0x181ebb['editing'][_0x39fb('0x6a')](_0x8c5910);});}),this['_descriptionFactory']=new _0x12b7e1(this[_0x39fb('0x22')][_0x39fb('0xd2')][_0x39fb('0x3')],this[_0x39fb('0x22')][_0x39fb('0x119')]),this[_0x39fb('0x4c')]=null,this[_0x39fb('0x33')]=new $t(this[_0x39fb('0x22')]),this[_0x39fb('0xa2')]=new Map(),this['_commentsRepository']=_0x181ebb[_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0x30')),this[_0x39fb('0xbc')]=new Set(),this[_0x39fb('0x174')]=this[_0x39fb('0x22')][_0x39fb('0xd2')],this['_suggestionState']=new WeakMap(),this[_0x39fb('0xfa')]=!0x1,this['_blockAttributeKeys']=new Set([_0x39fb('0xdc')]),this['_inlineAttributeKeys']=new Set(),_0x181ebb[_0x39fb('0x49')][_0x39fb('0x40')](_0x39fb('0xb'),_0x39fb('0x95')),this[_0x39fb('0xe0')]=_0x181ebb[_0x39fb('0x49')][_0x39fb('0x127')](_0x39fb('0xb')),_0x181ebb[_0x39fb('0x49')][_0x39fb('0x40')](_0x39fb('0x16b'),!0x0),this[_0x39fb('0x24')]=_0x181ebb[_0x39fb('0x49')][_0x39fb('0x127')](_0x39fb('0x16b')),this[_0x39fb('0x10f')]=new _0x34917a(_0x181ebb,this[_0x39fb('0xbc')]),this[_0x39fb('0xb4')](),this[_0x467719([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x467719([0x34,0x30,0x34,0x36,0x32,0x34,0x35,0x30]);}[_0x39fb('0xab')](){const _0x3c04a6=this[_0x39fb('0x22')],_0x36b4dd=(_0x2e96fe,_0x443829)=>{if(_0x39fb('0x15a')!=_0x2e96fe)return _0x39fb('0x16c')+_0x2e96fe;const _0x36fead=_0x443829[_0x39fb('0x104')]('|')[0x0];return this[_0x39fb('0xe6')](_0x36fead)?'ck-suggestion-marker-formatBlock':_0x39fb('0x14e');};_0x3c04a6[_0x39fb('0x90')]['for'](_0x39fb('0x15d'))[_0x39fb('0x118')]({'model':_0x39fb('0x107'),'view':_0x40778c=>{const {id:_0x2f01fd,type:_0xd91674,subType:_0x1f9531}=this['_splitMarkerName'](_0x40778c[_0x39fb('0x15b')]),_0x2697cc=[_0x39fb('0x181'),_0x36b4dd(_0xd91674,_0x1f9531)];let _0x4a83b2=0xbb8;return this[_0x39fb('0x46')][_0x39fb('0x13a')](_0x40778c['markerName'])&&(_0x2697cc[_0x39fb('0x99')](_0x39fb('0x126')),_0x4a83b2=0xbc2),'deletion'==_0xd91674&&(_0x4a83b2+=0x5),{'classes':_0x2697cc,'attributes':{'data-suggestion':_0x2f01fd},'priority':_0x4a83b2};}}),_0x3c04a6[_0x39fb('0x90')][_0x39fb('0x179')](_0x39fb('0x11c'))['add'](_0x56bb5d=>{_0x56bb5d['on']('addMarker:suggestion',(_0x5ec441,_0x18d14c,_0x314122)=>{if(!_0x314122[_0x39fb('0x96')][_0x39fb('0x106')])return;const _0x4521a9=_0x18d14c[_0x39fb('0xe7')];if(!_0x4521a9)return;const _0x353770=_0x314122[_0x39fb('0x14d')][_0x39fb('0xa1')](_0x4521a9);_0x3c04a6[_0x39fb('0xd2')]['schema'][_0x39fb('0x35')](_0x4521a9)&&_0x353770&&!_0x353770['getCustomProperty'](_0x39fb('0xa0'))&&_0x353770['is']('containerElement')&&_0x954b31(_0x353770,_0x314122[_0x39fb('0x7d')]);},{'priority':_0x39fb('0xbe')});}),_0x3c04a6[_0x39fb('0x90')]['for'](_0x39fb('0x11c'))[_0x39fb('0x118')]({'model':'suggestion','view':(_0x303268,_0xa30517)=>{if(!_0xa30517[_0x39fb('0x96')]['showSuggestionHighlights'])return null;const {type:_0x244ae0,subType:_0x102f90}=this['_splitMarkerName'](_0x303268[_0x39fb('0x15b')]);return{'classes':[_0x39fb('0x181'),_0x36b4dd(_0x244ae0,_0x102f90)],'priority':0xbb8};}});const _0x2d8a17=({showActiveMarkers:_0x47c572=!0x0,isAttributeSuggestion:_0x1b3922=!0x1}={})=>(_0x4b50cf,_0x250b98,_0x250f76)=>{if(!_0x250b98[_0x39fb('0xe7')])return;const {id:_0x22f5fc}=this['_splitMarkerName'](_0x250b98[_0x39fb('0x15b')]);if(_0x1b3922){const _0x5d54f4=Pt(this[_0x39fb('0xa2')][_0x39fb('0x127')](_0x22f5fc));if(!this[_0x39fb('0xe6')](_0x5d54f4))return;}if(_0x250b98[_0x39fb('0xe7')]['is'](_0x39fb('0x143')))return void _0x250f76[_0x39fb('0x16a')][_0x39fb('0x12c')](_0x250b98[_0x39fb('0xe7')],_0x4b50cf['name']);const _0x2d867a=_0x250f76[_0x39fb('0x14d')][_0x39fb('0xa1')](_0x250b98[_0x39fb('0xe7')]);if(_0x250b98[_0x39fb('0xe7')]['is']('element')&&_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x3')][_0x39fb('0x131')](_0x250b98[_0x39fb('0xe7')])&&!_0x2d867a[_0x39fb('0x4d')]('addHighlight')){_0x250f76[_0x39fb('0x7d')][_0x39fb('0xa7')]([_0x39fb('0x181'),_0x39fb('0x3e')],_0x2d867a),_0x250f76[_0x39fb('0x7d')][_0x39fb('0x10')](_0x39fb('0xb8'),_0x22f5fc,_0x2d867a),_0x250f76['mapper']['bindElementToMarker'](_0x2d867a,_0x250b98['markerName']),_0x47c572&&(this['activeMarkers'][_0x39fb('0x13a')](_0x250b98['markerName'])?_0x250f76[_0x39fb('0x7d')][_0x39fb('0xa7')](_0x39fb('0x126'),_0x2d867a):_0x250f76[_0x39fb('0x7d')][_0x39fb('0xcd')]('ck-suggestion-marker--active',_0x2d867a));for(const _0x3b0f41 of _0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x10a')](_0x250b98['item'])[_0x39fb('0x4')]())_0x250f76['consumable']['consume'](_0x3b0f41,_0x4b50cf[_0x39fb('0x140')]);_0x250f76[_0x39fb('0x16a')][_0x39fb('0x12c')](_0x250b98['item'],_0x4b50cf['name']);}};_0x3c04a6[_0x39fb('0x90')][_0x39fb('0x179')](_0x39fb('0x11c'))['add'](_0x210274=>{_0x210274['on'](_0x39fb('0x8'),(_0x58bc4c,_0xd61db,_0x17458e)=>{_0x17458e[_0x39fb('0x96')][_0x39fb('0x106')]&&_0x2d8a17({'showActiveMarkers':!0x1})(_0x58bc4c,_0xd61db,_0x17458e);},{'priority':_0x39fb('0x124')});}),_0x3c04a6[_0x39fb('0x90')]['for']('dataDowncast')['add'](_0xfa68e0=>{_0xfa68e0['on'](_0x39fb('0x4e'),(_0x36f18b,_0x359e2c,_0x356af2)=>{_0x356af2['options'][_0x39fb('0x106')]&&_0x2d8a17({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x36f18b,_0x359e2c,_0x356af2);},{'priority':_0x39fb('0x124')});}),_0x3c04a6[_0x39fb('0x90')][_0x39fb('0x179')](_0x39fb('0x11c'))['markerToData']({'model':'suggestion','view':(_0x536ba0,_0x18222c)=>_0x18222c['options'][_0x39fb('0x106')]?null:{'group':_0x39fb('0x107'),'name':_0x536ba0[_0x39fb('0x39')](0xb)}}),_0x3c04a6[_0x39fb('0x90')][_0x39fb('0x179')](_0x39fb('0x160'))[_0x39fb('0x55')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4d8f06,{writer:_0x2df79f})=>{let _0x38a77b=_0x39fb('0x135')+_0x4d8f06[_0x39fb('0x0')](_0x39fb('0x7e'))+':'+_0x4d8f06[_0x39fb('0x0')]('id');return _0x4d8f06[_0x39fb('0x0')](_0x39fb('0x6c'))&&(_0x38a77b+=':'+_0x4d8f06['getAttribute'](_0x39fb('0x6c'))),_0x2df79f[_0x39fb('0x2c')](_0x39fb('0x19'),{'data-name':_0x38a77b});}}),_0x3c04a6[_0x39fb('0x90')]['for']('upcast')[_0x39fb('0x113')]({'view':_0x39fb('0x107')}),_0x3c04a6[_0x39fb('0x90')][_0x39fb('0x179')]('editingDowncast')[_0x39fb('0x8f')](_0x96c012=>{_0x96c012['on'](_0x39fb('0x8'),_0x2d8a17(),{'priority':_0x39fb('0xbe')});}),_0x3c04a6[_0x39fb('0x90')]['for'](_0x39fb('0x15d'))['add'](_0x2e4639=>{_0x2e4639['on']('addMarker:suggestion:attribute',_0x2d8a17({'isAttributeSuggestion':!0x0}),{'priority':_0x39fb('0xbe')});}),_0x3c04a6['conversion'][_0x39fb('0x179')]('editingDowncast')[_0x39fb('0x8f')](_0x34a2ad=>{_0x34a2ad['on']('removeMarker:suggestion:formatBlock',(_0x34f8ca,_0x2b50f9,_0x1b9f0a)=>{const _0x141712=_0x1b9f0a[_0x39fb('0x14d')][_0x39fb('0x5d')](_0x2b50f9[_0x39fb('0x15b')]);if(_0x141712)for(const _0x162849 of _0x141712)_0x162849[_0x39fb('0x4d')](_0x39fb('0x2b'))||(_0x1b9f0a[_0x39fb('0x7d')][_0x39fb('0xcd')](['ck-suggestion-marker',_0x39fb('0x3e'),'ck-suggestion-marker--active'],_0x162849),_0x1b9f0a['writer'][_0x39fb('0x80')]('data-suggestion',_0x162849),_0x1b9f0a[_0x39fb('0x14d')][_0x39fb('0x23')](_0x162849,_0x2b50f9[_0x39fb('0x15b')]));},{'priority':_0x39fb('0xbe')});}),_0x3c04a6['conversion'][_0x39fb('0x179')](_0x39fb('0x15d'))['add'](_0x523f72=>{_0x523f72['on'](_0x39fb('0xb9'),(_0x45c3d2,_0x413878,_0x17bb5b)=>{const _0x55d318=_0x17bb5b[_0x39fb('0x14d')][_0x39fb('0x5d')](_0x413878[_0x39fb('0x15b')]);if(!_0x55d318)return;const {id:_0x48204a}=this[_0x39fb('0x13b')](_0x413878[_0x39fb('0x15b')]),_0x432208=Pt(this[_0x39fb('0xa2')]['get'](_0x48204a));if(this[_0x39fb('0xe6')](_0x432208))for(const _0x2cfc98 of _0x55d318)_0x2cfc98['getCustomProperty'](_0x39fb('0x2b'))||(_0x17bb5b[_0x39fb('0x7d')][_0x39fb('0xcd')]([_0x39fb('0x181'),_0x39fb('0x3e'),_0x39fb('0x126')],_0x2cfc98),_0x17bb5b[_0x39fb('0x7d')]['removeAttribute'](_0x39fb('0xb8'),_0x2cfc98),_0x17bb5b['mapper'][_0x39fb('0x23')](_0x2cfc98,_0x413878['markerName']));},{'priority':_0x39fb('0xbe')});}),_0x3c04a6['model'][_0x39fb('0x77')][_0x39fb('0xde')](_0x4856e8=>{let _0x747f0c=!0x1;const _0x4836d1=Array[_0x39fb('0x9f')](_0x3c04a6['model'][_0x39fb('0x77')]['differ'][_0x39fb('0x101')]()),_0x6561dc=new Set();for(const {name:_0x5b967e,data:_0x4b0137}of _0x4836d1){const {group:_0x29364c,type:_0x44138c,subType:_0x2b8fac,id:_0x36ba04}=this[_0x39fb('0x13b')](_0x5b967e);if(_0x39fb('0x107')!==_0x29364c)continue;const _0x256359=this[_0x39fb('0xa2')]['get'](_0x36ba04);if(null!=_0x4b0137[_0x39fb('0x4f')]){_0x39fb('0x98')==_0x44138c&&(_0x747f0c=_0x747f0c||xt(_0x4b0137[_0x39fb('0x4f')],_0x5b967e,_0x4856e8,_0x3c04a6[_0x39fb('0xd2')]['schema']));const _0x5819ac='attribute'==_0x44138c&&this[_0x39fb('0xe6')](_0x2b8fac[_0x39fb('0x104')]('|')[0x0]);if(_0x4b0137[_0x39fb('0x4f')][_0x39fb('0x88')]||'$graveyard'==_0x4b0137['newRange'][_0x39fb('0x57')][_0x39fb('0x105')]||_0x39fb('0xe9')==_0x44138c&&!Rt(_0x4b0137[_0x39fb('0x4f')])||_0x5819ac&&!Rt(_0x4b0137[_0x39fb('0x4f')])||_0x39fb('0x169')==_0x44138c&&!(!Tt(_0x3594a5=_0x4b0137[_0x39fb('0x4f')])&&!function(_0x501195){return _0x501195[_0x39fb('0x76')][_0x39fb('0x103')]==_0x501195[_0x39fb('0x139')][_0x39fb('0x94')]&&_0x501195[_0x39fb('0x76')][_0x39fb('0x123')];}(_0x3594a5)))_0x4856e8[_0x39fb('0x17f')](_0x5b967e),_0x747f0c=!0x0;else{if(!_0x256359||!_0x256359[_0x39fb('0x9b')])continue;_0x6561dc[_0x39fb('0x8f')](_0x256359);}}}var _0x3594a5;return _0x6561dc[_0x39fb('0x3d')]>0x0&&(_0x747f0c=!!this['_joinWithAdjacentSuggestions'](_0x6561dc)||_0x747f0c),_0x747f0c;}),_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0xde')](_0x5dae6f=>{let _0x136b23=!0x1;for(const _0x79a92f of _0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0x6d')]['getChanges']())if('insert'==_0x79a92f[_0x39fb('0x2f')])for(const _0x40375c of this[_0x39fb('0xa2')][_0x39fb('0x36')]()){if(_0x40375c[_0x39fb('0x11a')]||!_0x40375c[_0x39fb('0x9b')])continue;const _0x42e43f=_0x39fb('0xe9')==_0x40375c[_0x39fb('0x2f')],_0x4c4529=Pt(_0x40375c),_0x2a7372=_0x4c4529&&this[_0x39fb('0xe6')](_0x4c4529);if(!_0x42e43f&&!_0x2a7372)continue;const _0x4158d3=_0x40375c['getFirstRange']();if(_0x4158d3['start'][_0x39fb('0x103')]!=_0x4158d3[_0x39fb('0x139')]['parent']&&!_0x4158d3[_0x39fb('0x139')]['isAtEnd']){const _0x30ce0a=_0x3c04a6[_0x39fb('0xd2')]['createPositionAt'](_0x4158d3[_0x39fb('0x76')][_0x39fb('0x13d')],_0x39fb('0x139')),_0x5e13ac=_0x3c04a6[_0x39fb('0xd2')]['createRange'](_0x4158d3['start'],_0x30ce0a);_0x5dae6f[_0x39fb('0x9')](_0x40375c[_0x39fb('0xca')](),{'range':_0x5e13ac}),_0x136b23=!0x0;}}return _0x136b23;}),_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0xde')](_0x41e880=>this[_0x39fb('0x128')](_0x41e880)),_0x3c04a6['model'][_0x39fb('0x77')][_0x39fb('0xde')](_0x5a49b4=>!_0x5a49b4[_0x39fb('0x11')]['isLocal']&&this[_0x39fb('0xb6')](_0x5a49b4)),_0x3c04a6[_0x39fb('0xd2')]['markers']['on'](_0x39fb('0x11e'),(_0x5c497f,_0x20a962,_0x45897c)=>{if(null==_0x45897c){const {id:_0x2a4d3c}=this[_0x39fb('0x13b')](_0x20a962[_0x39fb('0x140')]),_0xe3a898=this[_0x39fb('0xa2')]['get'](_0x2a4d3c);_0xe3a898&&_0xe3a898['addMarkerName'](_0x20a962[_0x39fb('0x140')]);}}),_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x77')]['on'](_0x39fb('0xa5'),()=>{const _0x2ef50e=Array['from'](_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0x6d')]['getChangedMarkers']())[_0x39fb('0xe2')](_0x139a25=>_0x39fb('0x107')===this['_splitMarkerName'](_0x139a25[_0x39fb('0x140')])[_0x39fb('0xf5')]);if(0x0===_0x2ef50e[_0x39fb('0x12f')])return;_0x2ef50e[_0x39fb('0xc5')]((_0x3114c8,_0x43a227)=>{const _0x4474bb=_0x3114c8['data'][_0x39fb('0x17b')],_0x467ffe=_0x43a227[_0x39fb('0xa')]['oldRange'];return null===_0x4474bb&&null===_0x467ffe?0x0:null===_0x4474bb&&null!==_0x467ffe?-0x1:null!==_0x4474bb&&null===_0x467ffe?0x1:_0x4474bb['start'][_0x39fb('0x109')](_0x467ffe[_0x39fb('0x76')])?-0x1:0x1;});const _0x339fb9=new Set(),_0x4c41b7=new Set();for(const {name:_0x15e4ab,data:_0x20f22f}of _0x2ef50e){const {id:_0x4df8ed}=this['_splitMarkerName'](_0x15e4ab);if(null===_0x20f22f[_0x39fb('0x17b')]){const _0x3b637b=this['_handleNewSuggestionMarker'](_0x15e4ab);_0x4c41b7[_0x39fb('0x8f')](_0x3b637b);}else{const _0x11177e=this[_0x39fb('0xa2')]['get'](_0x4df8ed);null!==_0x20f22f[_0x39fb('0x4f')]||_0x11177e[_0x39fb('0x9b')]?(_0x339fb9[_0x39fb('0x8f')](_0x11177e[_0x39fb('0x132')]),_0x4c41b7[_0x39fb('0x8f')](_0x11177e)):this[_0x39fb('0x8e')](_0x11177e);}}_0x4c41b7['size']>0x0&&this['_refreshSuggestionsChain'](_0x4c41b7);for(const _0x520d56 of _0x339fb9)this[_0x39fb('0x10c')](_0x39fb('0x17d'),_0x520d56);}),_0x3c04a6[_0x39fb('0xd2')]['on'](_0x39fb('0x64'),(_0x13039c,_0x584307)=>{const _0x55ee2e=_0x584307[0x0];if(!this[_0x39fb('0xa2')]['size'])return;if(!_0x55ee2e[_0x39fb('0x69')])return;if(_0x55ee2e['batch'][_0x39fb('0x58')]||!_0x55ee2e[_0x39fb('0x11')][_0x39fb('0xad')])return;let _0x3ecebb,_0x4c95d4;switch(_0x55ee2e[_0x39fb('0x2f')]){case'insert':_0x3ecebb=_0x3c04a6['model']['createPositionAt'](_0x55ee2e[_0x39fb('0x141')]),_0x4c95d4=_0x3ecebb[_0x39fb('0x59')](_0x55ee2e[_0x39fb('0xc7')]);break;case _0x39fb('0x104'):_0x3ecebb=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x134')](_0x55ee2e['splitPosition']),_0x4c95d4=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x134')](_0x55ee2e[_0x39fb('0xf7')]);break;case'move':_0x3ecebb=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x134')](_0x55ee2e[_0x39fb('0xba')]),_0x4c95d4=_0x3ecebb['getShiftedBy'](_0x55ee2e[_0x39fb('0xc7')]);break;default:return;}const _0xd9abe2=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x1b')](_0x3ecebb,_0x4c95d4);_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0xf')](()=>{for(const {suggestion:_0x552c57,meta:_0x51d741}of this['_findSuggestions'](_0xd9abe2)){if(_0x552c57[_0x39fb('0x11a')])continue;if(_0x39fb('0x98')==_0x552c57[_0x39fb('0x2f')])continue;const _0x34feb0=Pt(_0x552c57);if(_0x34feb0&&this[_0x39fb('0xe6')](_0x34feb0)&&'split'!=_0x55ee2e[_0x39fb('0x2f')])continue;const _0x363090=_0x552c57['data']&&_0x552c57['data'][_0x39fb('0x2a')];('formatBlock'!=_0x552c57['type']||_0x39fb('0x104')==_0x55ee2e[_0x39fb('0x2f')]&&!_0x363090)&&(_0x51d741[_0x39fb('0x102')]||_0x39fb('0xe3')==_0x552c57[_0x39fb('0x2f')]&&_0x51d741[_0x39fb('0x62')]||_0x552c57[_0x39fb('0x29')]()[_0x39fb('0xeb')](_0xd9abe2)&&this[_0x39fb('0xd3')](_0x552c57,_0x3ecebb,_0x4c95d4));}});},{'priority':_0x39fb('0x12d')}),_0x3c04a6[_0x39fb('0xd2')]['on'](_0x39fb('0xe'),(_0x4c6415,_0x1cb1d9)=>{const _0x5951c2=_0x1cb1d9[0x0],_0x5dc199=_0x1cb1d9[0x1];if(_0x5dc199&&_0x5dc199[_0x39fb('0x25')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x39fb('0xaf')])return;if(_0x5951c2[_0x39fb('0x88')])return;const _0x45a49d=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x3')],{start:_0x5e5b55,end:_0x81c6fd}=_0x5951c2['getFirstRange'](),_0x3f9397=_0x5e5b55[_0x39fb('0x13d')]&&_0x45a49d[_0x39fb('0xe1')](_0x5e5b55['nodeAfter'])?null:_0x45a49d['getNearestSelectionRange'](_0x5e5b55,'forward'),_0x41f452=_0x81c6fd[_0x39fb('0x94')]&&_0x45a49d[_0x39fb('0xe1')](_0x81c6fd[_0x39fb('0x94')])?null:_0x45a49d[_0x39fb('0x108')](_0x81c6fd,_0x39fb('0x17a')),_0x464bd8=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x1b')](_0x3f9397?_0x3f9397[_0x39fb('0x76')]:_0x5e5b55,_0x41f452?_0x41f452[_0x39fb('0x139')]:_0x81c6fd);_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0xf')](_0x56d91a=>{this['markDeletion'](_0x464bd8);const _0x2d0d6d=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x3')][_0x39fb('0x108')](_0x464bd8['start']);_0x5951c2['is'](_0x39fb('0xb3'))?_0x56d91a[_0x39fb('0xf1')](_0x2d0d6d):_0x5951c2['setTo'](_0x2d0d6d);}),_0x4c6415[_0x39fb('0xd8')]();},{'priority':_0x544504[_0x39fb('0x21')]+0xa}),_0x3c04a6[_0x39fb('0xd2')]['on'](_0x39fb('0xc4'),(_0x16b4fb,_0x4ed906)=>{const _0x35f9b6=_0x4ed906[_0x4ed906[_0x39fb('0x12f')]-0x1];_0x35f9b6&&_0x35f9b6['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this[_0x39fb('0x10f')]['value']&&(_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0xf')](()=>{let _0x8bbfb9=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0xc4')](_0x4ed906[0x0],_0x4ed906[0x1],_0x4ed906[0x2],{'forceDefaultExecution':!0x0});if(!_0x8bbfb9)return;_0x16b4fb[_0x39fb('0xae')]=_0x8bbfb9[_0x39fb('0x161')]();const _0x386044=_0x8bbfb9['end'][_0x39fb('0x94')],_0x1ad86a=_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x3')];_0x386044&&_0x1ad86a[_0x39fb('0x131')](_0x386044)&&!_0x1ad86a['isObject'](_0x386044)&&(_0x8bbfb9=_0x3c04a6['model'][_0x39fb('0x1b')](_0x8bbfb9[_0x39fb('0x76')],_0x3c04a6[_0x39fb('0xd2')][_0x39fb('0x134')](_0x386044,'end'))),this[_0x39fb('0x154')](_0x8bbfb9);}),_0x16b4fb[_0x39fb('0xd8')]());},{'priority':'high'}),this['editor']['commands']['add'](_0x39fb('0xd1'),this[_0x39fb('0x10f')]),this['enableCommand'](_0x39fb('0xd1'));const _0x446726=new _0x2bd087(_0x3c04a6,this[_0x39fb('0xa2')]);_0x3c04a6['commands']['add'](_0x39fb('0x15c'),_0x446726),this[_0x39fb('0x149')](_0x39fb('0x15c'));const _0x3ddd25=new _0x540df5(_0x3c04a6,this[_0x39fb('0xa2')]);_0x3c04a6['commands'][_0x39fb('0x8f')](_0x39fb('0x16'),_0x3ddd25),this[_0x39fb('0x149')]('discardSuggestion'),_0x3c04a6['commands'][_0x39fb('0x8f')](_0x39fb('0x115'),new _0x431b93(_0x3c04a6,_0x446726,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x3c04a6['commands'][_0x39fb('0x8f')](_0x39fb('0xbd'),new _0x431b93(_0x3c04a6,_0x3ddd25,this[_0x39fb('0xa2')])),this[_0x39fb('0x149')](_0x39fb('0xbd')),_0x3c04a6[_0x39fb('0x159')]['add'](_0x39fb('0x9a'),new _0x278a50(_0x3c04a6,_0x446726,this[_0x39fb('0xa2')])),this[_0x39fb('0x149')](_0x39fb('0x9a')),_0x3c04a6[_0x39fb('0x159')][_0x39fb('0x8f')](_0x39fb('0xc1'),new _0x278a50(_0x3c04a6,_0x3ddd25,this[_0x39fb('0xa2')])),this[_0x39fb('0x149')]('discardSelectedSuggestions');const _0x1e2f26=_0x3c04a6[_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0x30'));this['listenTo'](_0x1e2f26,_0x39fb('0x14c'),(_0x697a,{threadId:_0x5c954d})=>{const _0x4f3fb6=this['_suggestions']['get'](_0x5c954d);_0x4f3fb6&&_0x4f3fb6[_0x39fb('0x81')]&&0x1===_0x4f3fb6[_0x39fb('0x81')]['length']&&this[_0x39fb('0x82')](_0x5c954d,{'hasComments':!0x0});},{'priority':'low'}),this[_0x39fb('0x170')](_0x1e2f26,'removeComment',(_0x453ba2,{threadId:_0x29f16e})=>{const _0x5868f6=this[_0x39fb('0xa2')]['get'](_0x29f16e);_0x5868f6&&_0x5868f6['commentThread']&&!_0x5868f6['commentThread'][_0x39fb('0x12f')]&&this[_0x39fb('0x82')](_0x29f16e,{'hasComments':!0x1});},{'priority':_0x39fb('0xa9')});}set['adapter'](_0xf301ac){if(this[_0x39fb('0x4c')])throw new _0x3b7baa(_0x39fb('0x5f'),this);this[_0x39fb('0x4c')]=_0xf301ac;}get[_0x39fb('0x12a')](){return this[_0x39fb('0x4c')];}[_0x39fb('0x68')]({skipNotAttached:_0x182a55=!0x1,toJSON:_0x22a65d=!0x1}={}){const _0x5d32bd=[];for(const _0x53f5a of this[_0x39fb('0xa2')][_0x39fb('0x36')]())_0x182a55&&!_0x53f5a[_0x39fb('0x9b')]||_0x5d32bd[_0x39fb('0x99')](_0x53f5a);return _0x22a65d?_0x5d32bd['map'](_0x3d198b=>_0x3d198b[_0x39fb('0x5c')]()):_0x5d32bd;}[_0x39fb('0x6f')](_0x5759af){const _0x432b95=this[_0x39fb('0xa2')]['get'](_0x5759af);if(!_0x432b95)throw new _0x3b7baa(_0x39fb('0x85'),this);return _0x432b95;}[_0x39fb('0x2d')](_0x45554f){return this[_0x39fb('0xa2')][_0x39fb('0xf4')](_0x45554f);}['addSuggestionData'](_0x634013){const {authorId:_0x1c305d,id:_0x454eb2,attributes:_0x1ff43d}=_0x634013,[_0x3481fb,_0x337cb3]=_0x634013[_0x39fb('0x2f')][_0x39fb('0x104')](':'),_0x231e6b=this[_0x39fb('0xa2')]['get'](_0x454eb2)||this[_0x39fb('0x1')](_0x3481fb,_0x337cb3,_0x454eb2,_0x1c305d,_0x1ff43d);if(this[_0x39fb('0xc0')](_0x231e6b),this[_0x39fb('0x152')](_0x231e6b,_0x3481fb,_0x337cb3||null,_0x1c305d),_0x231e6b[_0x39fb('0x165')]=_0x634013[_0x39fb('0x165')],_0x231e6b['_isDataLoaded']=!0x0,_0x1ff43d&&_0x1ff43d[_0x39fb('0x5e')]){const _0x1865b2=_0x1ff43d['@external'],_0x1e2a7b=this[_0x39fb('0x74')](_0x1865b2[_0x39fb('0xe8')]);_0x231e6b[_0x39fb('0xc9')]=_0x1865b2[_0x39fb('0x165')],_0x231e6b[_0x39fb('0x6b')]=_0x1e2a7b,_0x231e6b[_0x39fb('0x5b')]=!0x0;}else _0x231e6b[_0x39fb('0xc9')]=_0x634013['createdAt'];switch(_0x634013[_0x39fb('0xa')]&&(_0x231e6b['data']=_0x634013[_0x39fb('0xa')]),_0x634013[_0x39fb('0x111')]&&(_0x231e6b[_0x39fb('0x111')]=_0x634013[_0x39fb('0x111')]),this[_0x39fb('0x4c')]&&this['_adapter'][_0x39fb('0x17e')]||(_0x231e6b[_0x39fb('0x67')]=!0x0),this[_0x39fb('0x180')]['get'](_0x231e6b)){case'notReady':this[_0x39fb('0x180')]['set'](_0x231e6b,_0x39fb('0xed'));break;case _0x39fb('0x9c'):_0x231e6b[_0x39fb('0x9b')]?(this[_0x39fb('0x129')](new Set([_0x231e6b])),this[_0x39fb('0x93')](new Set([_0x231e6b])),this[_0x39fb('0x180')][_0x39fb('0xcb')](_0x231e6b,_0x39fb('0xef')),this['fire']('suggestionLoaded',_0x231e6b)):this['_suggestionState'][_0x39fb('0xcb')](_0x231e6b,'removed');}return _0x231e6b;}[_0x39fb('0x15c')](_0x219aef){this[_0x39fb('0x25')](()=>{this[_0x39fb('0x22')][_0x39fb('0xd2')][_0x39fb('0xf')](()=>{for(const _0x579581 of _0x219aef[_0x39fb('0x16e')]())_0x579581['accept']();});});}[_0x39fb('0x16')](_0x17a668){this['forceDefaultExecution'](()=>{this[_0x39fb('0x22')][_0x39fb('0xd2')]['change'](()=>{for(const _0x52f491 of _0x17a668[_0x39fb('0x16e')]())_0x52f491[_0x39fb('0x1f')]();});});}[_0x39fb('0x149')](_0x1814db,_0x2a118a){const _0x29db93=this['editor']['commands'][_0x39fb('0x127')](_0x1814db);if(!_0x29db93)throw new _0x3b7baa(_0x39fb('0x41'),this,{'commandName':_0x1814db});if(this['_enabledCommands'][_0x39fb('0xf4')](_0x29db93))throw new _0x3b7baa(_0x39fb('0x70'),this,{'commandName':_0x1814db});this[_0x39fb('0xbc')][_0x39fb('0x8f')](_0x29db93),_0x2a118a&&_0x29db93['on'](_0x39fb('0x47'),(_0x4dc704,_0x1c04e6)=>{this[_0x39fb('0x10f')][_0x39fb('0xaf')]&&(this[_0x39fb('0xfa')]||(_0x1c04e6[_0x39fb('0x12f')]>0x0&&_0x1c04e6[_0x1c04e6[_0x39fb('0x12f')]-0x1]&&_0x1c04e6[_0x1c04e6[_0x39fb('0x12f')]-0x1][_0x39fb('0x25')]?_0x1c04e6[_0x39fb('0xac')]():(_0x4dc704['return']=_0x2a118a((..._0x1ac4ff)=>_0x29db93['execute'](..._0x1ac4ff,{'forceDefaultExecution':!0x0}),..._0x1c04e6),_0x4dc704[_0x39fb('0xd8')]())));},{'priority':_0x39fb('0xbe')});}['forceDefaultExecution'](_0x98ed86){let _0x4cd486,_0x62f032;const _0x85e97f=this['_isForcedDefaultExecutionBlock'];this[_0x39fb('0xfa')]=!0x0;try{_0x4cd486=_0x98ed86();}catch(_0x1bc671){_0x62f032=_0x1bc671;}return _0x85e97f||(this[_0x39fb('0xfa')]=!0x1),_0x62f032&&_0x3b7baa['rethrowUnexpectedError'](_0x62f032,this),_0x4cd486;}[_0x39fb('0x154')](_0x27905d,_0x41a1a7=null,_0x181436={}){if(_0x27905d[_0x39fb('0x88')])return null;const _0xf3ccde=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me'];for(const {suggestion:_0x5639d3,meta:_0x14593b}of this[_0x39fb('0x66')](_0x27905d,_0x39fb('0xe3')))if(_0x14593b[_0x39fb('0x62')]){if(!_0x14593b['isNextTo']){if(_0x14593b[_0x39fb('0x102')]){if(!this[_0x39fb('0x24')]||!Gt(_0x5639d3,_0x181436))continue;return _0x5639d3;}if(Gt(_0x5639d3,_0x181436))return _0x5639d3;this[_0x39fb('0xd3')](_0x5639d3,_0x27905d[_0x39fb('0x76')],_0x27905d['end']);break;}if(_0x41a1a7==_0x5639d3[_0x39fb('0x166')]&&Gt(_0x5639d3,_0x181436)){const _0x1fe6d1=_0x5639d3[_0x39fb('0x29')]();return _0x1fe6d1[_0x39fb('0x76')][_0x39fb('0xfe')](_0x27905d[_0x39fb('0x139')])?this[_0x39fb('0x2e')](_0x5639d3,this[_0x39fb('0x174')]['createRange'](_0x27905d['start'],_0x1fe6d1['end'])):this[_0x39fb('0x2e')](_0x5639d3,this[_0x39fb('0x174')]['createRange'](_0x1fe6d1[_0x39fb('0x76')],_0x27905d[_0x39fb('0x139')])),_0x5639d3;}}const _0x2d4114=_0x3226c0(),_0x4d090e=_0xf3ccde['id'],_0x3875fb=_0x41a1a7?'insertion:'+_0x41a1a7:_0x39fb('0xe3'),_0x310554=this[_0x39fb('0xc6')]({'id':_0x2d4114,'type':_0x3875fb,'createdAt':new Date(),'authorId':_0x4d090e,'attributes':_0x181436});return this[_0x39fb('0xfd')](_0x3875fb,_0x2d4114,_0x4d090e,_0x27905d),_0x310554;}[_0x39fb('0xfb')](_0x45836b,_0x2b5476=_0x39fb('0x20'),_0x43ca87={}){const _0x4ee76a=this[_0x39fb('0x22')]['plugins']['get'](_0x39fb('0xf2'))['me'],_0x3afd03=this[_0x39fb('0x33')][_0x39fb('0x4b')]('insertion',_0x2b5476,'join');for(const _0x1a170d of this['getSuggestions']())if(_0x1a170d[_0x39fb('0x6b')]['id']==_0x4ee76a['id']&&_0x39fb('0xe3')==_0x1a170d[_0x39fb('0x2f')]&&_0x1a170d[_0x39fb('0x166')]==_0x2b5476&&Gt(_0x1a170d,_0x43ca87)&&(_0x3afd03(_0x1a170d['getRanges'](),_0x45836b)||_0x3afd03(_0x45836b,_0x1a170d[_0x39fb('0xcf')]()))){for(const _0x3fd5f6 of _0x45836b)_0x1a170d[_0x39fb('0x3c')](_0x3fd5f6);return _0x1a170d;}for(const {suggestion:_0x4d9d52,meta:_0x39c76f}of this[_0x39fb('0x66')](_0x45836b,_0x39fb('0xe3'))){if(!_0x39c76f[_0x39fb('0x62')])continue;if(!this['_mergeNestedSuggestions']&&_0x39c76f[_0x39fb('0x102')])continue;if(!Gt(_0x4d9d52,_0x43ca87))continue;let _0x310603=!0x0;for(const _0x247b2b of _0x4d9d52['getRanges']())for(const _0x8e5a09 of _0x45836b)if(!_0x247b2b[_0x39fb('0xeb')](_0x8e5a09)){_0x310603=!0x1;break;}if(_0x310603)return _0x4d9d52;}const _0x1f9e50=_0x3226c0(),_0x4010ca=_0x4ee76a['id'],_0x5e3ea1=_0x39fb('0x120')+_0x2b5476,_0x3f4173=this['_setSuggestionData']({'id':_0x1f9e50,'type':_0x5e3ea1,'createdAt':new Date(),'authorId':_0x4010ca,'attributes':_0x43ca87});for(const _0x58af91 of _0x45836b)this[_0x39fb('0xfd')](_0x5e3ea1,_0x1f9e50,_0x4010ca,_0x58af91,_0x357cdc[_0x39fb('0x11b')]());return _0x3f4173;}['markInlineFormat'](_0x3a78db,_0x231561,_0x28a445=null,_0x37d8a1={}){if(_0x28a445=_0x28a445||Et(_0x231561),_0x3a78db[_0x39fb('0x88')])return null;if(_0x39fb('0xec')===this[_0x39fb('0xe0')]){const _0x2a3994=this['_suggestionFactory'][_0x39fb('0x4b')](_0x39fb('0x98'),_0x28a445,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x2a3994([_0x3a78db],_0x231561,_0x37d8a1)),null;}const _0x45b226=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me'],_0x472dc2=[];if(_0x39fb('0x28')!==this[_0x39fb('0xe0')])for(const {suggestion:_0x24a6ef,meta:_0x2c8b83}of this[_0x39fb('0x66')](_0x3a78db,_0x39fb('0xe3')))_0x2c8b83[_0x39fb('0x62')]&&!_0x2c8b83[_0x39fb('0xa4')]&&_0x472dc2['push'](..._0x24a6ef[_0x39fb('0xcf')]());const _0x4c3238=function(_0x11d4a6,_0x386c01){const _0xf85ebe=[];for(const _0x292ef8 of _0x386c01){const _0x95f57d=_0x11d4a6[_0x39fb('0x45')](_0x292ef8);_0x95f57d&&_0xf85ebe[_0x39fb('0x99')](_0x95f57d);}return _0xf85ebe;}(_0x3a78db,_0x472dc2),_0x4fc17d=function(_0x279068,_0x130f1d){const _0x58056e=[_0x279068];for(const _0x4de95f of _0x130f1d){let _0x4499d6=0x0;for(;_0x4499d6<_0x58056e[_0x39fb('0x12f')];){const _0x1f4576=_0x58056e[_0x4499d6][_0x39fb('0x121')](_0x4de95f);_0x58056e['splice'](_0x4499d6,0x1,..._0x1f4576),_0x4499d6+=_0x1f4576[_0x39fb('0x12f')];}}return _0x58056e;}(_0x3a78db,_0x472dc2);_0x4c3238[_0x39fb('0x12f')]&&this[_0x39fb('0x174')][_0x39fb('0xf')](()=>{for(const _0x1920b0 of _0x4c3238){const _0x2aac45=this[_0x39fb('0x33')][_0x39fb('0x4b')](_0x39fb('0x98'),_0x28a445,_0x39fb('0x83'));this[_0x39fb('0x25')](()=>_0x2aac45([_0x1920b0],_0x231561,_0x37d8a1));}});for(const _0x2da656 of _0x4fc17d){let _0x3f9779=null,_0x531081=_0x2da656[_0x39fb('0x76')],_0xcbf66f=_0x2da656['end'];for(const {suggestion:_0x363a40,meta:_0x5d17e2}of this[_0x39fb('0x66')](_0x2da656,_0x39fb('0x98'))){if(!_0x5d17e2['isOwn'])continue;if(_0x363a40[_0x39fb('0x166')]!=_0x28a445)continue;if(!Gt(_0x363a40,_0x37d8a1))continue;const _0x34e12d=_0x363a40[_0x39fb('0x29')]();if(_0x34e12d[_0x39fb('0xeb')](_0x2da656,!0x0))return null;_0x531081=_0x531081[_0x39fb('0x109')](_0x34e12d[_0x39fb('0x76')])?_0x531081:_0x34e12d['start'],_0xcbf66f=_0xcbf66f[_0x39fb('0x162')](_0x34e12d['end'])?_0xcbf66f:_0x34e12d[_0x39fb('0x139')],_0x3f9779?_0x34e12d['start']['isBefore'](_0x3f9779[_0x39fb('0x29')]()[_0x39fb('0x76')])?(_0x3f9779[_0x39fb('0x100')](),_0x3f9779=_0x363a40):_0x363a40[_0x39fb('0x100')]():_0x3f9779=_0x363a40;}const _0x2d0112=this['_model'][_0x39fb('0x1b')](_0x531081,_0xcbf66f);if(_0x3f9779)this[_0x39fb('0x2e')](_0x3f9779,_0x2d0112);else{const _0x5eafe8=_0x3226c0(),_0x5ecfae=_0x45b226['id'];this[_0x39fb('0xc6')]({'id':_0x5eafe8,'type':_0x39fb('0x27')+_0x28a445,'data':_0x231561,'createdAt':new Date(),'authorId':_0x5ecfae,'attributes':_0x37d8a1}),this[_0x39fb('0xfd')](_0x39fb('0x27')+_0x28a445,_0x5eafe8,_0x5ecfae,_0x2d0112);}}return null;}[_0x39fb('0xd')](_0x133a69,_0x213a1e,_0x9e6b77=[],_0x48a2fd=null,_0x35c20a={}){_0x213a1e[_0x39fb('0x7c')]||(_0x213a1e[_0x39fb('0x7c')]=_0x213a1e[_0x39fb('0x60')]),_0x213a1e[_0x39fb('0x2a')]=_0x133a69['is']('range'),_0x48a2fd=_0x48a2fd||Et(_0x213a1e);const _0x415697=_0x9e6b77['map'](_0xa80a55=>Ut(_0xa80a55,this[_0x39fb('0x174')])),_0x1c7ef5=_0x133a69['is'](_0x39fb('0x137'))?_0x133a69:Ut(_0x133a69,this[_0x39fb('0x174')]);if('never'===this[_0x39fb('0xe0')]){const _0xebc10a=this[_0x39fb('0x33')][_0x39fb('0x4b')]('formatBlock',_0x48a2fd,'accept');return this['forceDefaultExecution'](()=>_0xebc10a([_0x1c7ef5],_0x213a1e,_0x35c20a)),null;}_0x415697[_0x39fb('0x99')](_0x1c7ef5);let _0x1d4504=!0x0;for(const _0x40e24a of _0x415697)if(!this[_0x39fb('0xb5')](_0x40e24a)){_0x1d4504=!0x1;break;}if(_0x1d4504&&_0x39fb('0x28')!==this[_0x39fb('0xe0')]){const _0x1eebeb=this[_0x39fb('0x33')][_0x39fb('0x4b')]('formatBlock',_0x48a2fd,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x1eebeb([_0x1c7ef5],_0x213a1e,_0x35c20a)),null;}let _0x23b53d=null,_0x438a3d=_0x1c7ef5[_0x39fb('0x76')],_0x9c86af=_0x1c7ef5[_0x39fb('0x139')];for(const {suggestion:_0xebd092,meta:_0x2697eb}of this['_findSuggestions'](_0x1c7ef5,_0x39fb('0xe9'))){if(!_0x2697eb['isOwn'])continue;if(_0x2697eb['isNextTo']||_0x2697eb['containsRangeInObject']||_0x2697eb['isInsideObject'])continue;if(_0xebd092['data'][_0x39fb('0x7c')]!=_0x213a1e[_0x39fb('0x7c')])continue;if(!Gt(_0xebd092,_0x35c20a))continue;const _0x4c9e76=_0xebd092[_0x39fb('0x29')]();if(_0xebd092['subType']==_0x48a2fd){if(_0x4c9e76[_0x39fb('0xeb')](_0x1c7ef5,!0x0))return null;_0x438a3d=_0x438a3d[_0x39fb('0x109')](_0x4c9e76[_0x39fb('0x76')])?_0x438a3d:_0x4c9e76['start'],_0x9c86af=_0x9c86af[_0x39fb('0x162')](_0x4c9e76[_0x39fb('0x139')])?_0x9c86af:_0x4c9e76['end'],_0x23b53d?_0x4c9e76['start'][_0x39fb('0x109')](_0x23b53d['getFirstRange']()[_0x39fb('0x76')])?(_0x23b53d[_0x39fb('0x100')](),_0x23b53d=_0xebd092):_0xebd092[_0x39fb('0x100')]():_0x23b53d=_0xebd092;}else{const _0x13a5a0=_0x1c7ef5[_0x39fb('0x45')](_0x4c9e76);this['_cutOutSuggestionMarker'](_0xebd092,_0x13a5a0);}}const _0x10d8fd=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')]('Users')['me'],_0x37ee17=_0x3226c0(),_0x2b09eb=_0x10d8fd['id'];if(_0x23b53d)return this[_0x39fb('0x2e')](_0x23b53d,this[_0x39fb('0x174')]['createRange'](_0x438a3d,_0x9c86af)),_0x23b53d;{const _0x416eea=this['_setSuggestionData']({'id':_0x37ee17,'type':_0x39fb('0x3f')+_0x48a2fd,'data':_0x213a1e,'createdAt':new Date(),'authorId':_0x2b09eb,'attributes':_0x35c20a});return this[_0x39fb('0xfd')](_0x39fb('0x3f')+_0x48a2fd,_0x37ee17,_0x2b09eb,this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x438a3d,_0x9c86af)),_0x416eea;}}[_0x39fb('0x1c')](_0x2bf7bb,_0x5bed2e,_0x291380=[],_0x378bf4=null,_0x2ea810={}){_0x5bed2e[_0x39fb('0x7c')]||(_0x5bed2e['formatGroupId']=_0x5bed2e[_0x39fb('0x60')]);const _0x30233e=_0x2bf7bb[0x0];_0x5bed2e[_0x39fb('0x2a')]=_0x30233e['is'](_0x39fb('0x137')),_0x378bf4=_0x378bf4||Et(_0x5bed2e);const _0x21dd95=_0x291380[_0x39fb('0x171')](_0x5345fb=>Ut(_0x5345fb,this[_0x39fb('0x174')])),_0x378edb=_0x30233e['is'](_0x39fb('0x137'))?_0x2bf7bb:_0x2bf7bb[_0x39fb('0x171')](_0x51576f=>Ut(_0x51576f,this[_0x39fb('0x174')]));if(_0x39fb('0xec')===this[_0x39fb('0xe0')]){const _0x45ea66=this['_suggestionFactory'][_0x39fb('0x4b')](_0x39fb('0xe9'),_0x378bf4,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x45ea66(_0x378edb,_0x5bed2e,_0x2ea810)),null;}_0x21dd95[_0x39fb('0x99')](..._0x378edb);let _0x3204f7=!0x0;for(const _0x7e194a of _0x21dd95)if(!this[_0x39fb('0xb5')](_0x7e194a)){_0x3204f7=!0x1;break;}if(_0x3204f7&&_0x39fb('0x28')!==this[_0x39fb('0xe0')]){const _0x547774=this['_suggestionFactory'][_0x39fb('0x4b')](_0x39fb('0xe9'),_0x378bf4,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x547774(_0x378edb,_0x5bed2e,_0x2ea810)),null;}const _0x57d9d6=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me'];for(const _0x5c7a26 of this['getSuggestions']()){if(_0x5c7a26[_0x39fb('0x6b')]['id']!=_0x57d9d6['id'])continue;if(_0x39fb('0xe9')!=_0x5c7a26[_0x39fb('0x2f')]||_0x5c7a26[_0x39fb('0xa')][_0x39fb('0x7c')]!=_0x5bed2e[_0x39fb('0x7c')])continue;if(!Gt(_0x5c7a26,_0x2ea810))continue;const _0x39856d=_0x5c7a26['subType']==_0x378bf4;for(let _0x2bc875=0x0;_0x2bc875<_0x378edb['length'];_0x2bc875++){const _0x3f2e7f=_0x378edb[_0x2bc875];for(const _0x40e6ce of _0x5c7a26[_0x39fb('0xf0')]()){const _0x18e257=_0x40e6ce[_0x39fb('0xb2')]();if(_0x3f2e7f['isEqual'](_0x18e257)){_0x39856d?(_0x378edb[_0x39fb('0x114')](_0x2bc875,0x1),_0x2bc875--):_0x5c7a26[_0x39fb('0x17f')](_0x40e6ce['name']);break;}}}}if(0x0==_0x378edb[_0x39fb('0x12f')])return null;const _0xfcf421=this['_suggestionFactory'][_0x39fb('0x4b')](_0x39fb('0xe9'),_0x378bf4,'join');for(const _0x24afcb of this['getSuggestions']())if(_0x24afcb['author']['id']==_0x57d9d6['id']&&_0x39fb('0xe9')==_0x24afcb['type']&&_0x24afcb[_0x39fb('0xa')][_0x39fb('0x7c')]==_0x5bed2e[_0x39fb('0x7c')]&&_0x24afcb[_0x39fb('0x166')]==_0x378bf4&&Gt(_0x24afcb,_0x2ea810)&&(_0xfcf421(_0x24afcb[_0x39fb('0xcf')](),_0x378edb)||_0xfcf421(_0x378edb,_0x24afcb['getRanges']()))){for(const _0x59e556 of _0x378edb)_0x24afcb['addRange'](_0x59e556);return _0x24afcb;}const _0x17b21f=_0x3226c0(),_0x502519=_0x57d9d6['id'],_0x258f1a='formatBlock:'+_0x378bf4,_0xb3b9ff=this['_setSuggestionData']({'id':_0x17b21f,'type':_0x258f1a,'data':_0x5bed2e,'createdAt':new Date(),'authorId':_0x502519,'attributes':_0x2ea810});for(const _0x2fb9b2 of _0x378edb)this[_0x39fb('0xfd')](_0x258f1a,_0x17b21f,_0x502519,_0x2fb9b2,_0x357cdc[_0x39fb('0x11b')]());return _0xb3b9ff;}[_0x39fb('0x13f')](_0xcf08b3,_0x1ab886=null,_0x2d1e96={}){if(_0xcf08b3[_0x39fb('0x88')])return null;const _0x406f62=this[_0x39fb('0x22')][_0x39fb('0x147')]['get'](_0x39fb('0xf2'))['me'],_0x513ed9=new _0x4839ef(_0xcf08b3[_0x39fb('0x76')],_0xcf08b3[_0x39fb('0x139')]);for(const {suggestion:_0x1b6bec,meta:_0x9358d0}of this['_findSuggestions'](_0x513ed9,_0x39fb('0xe3')))if(_0x9358d0['isOwn']&&!_0x9358d0[_0x39fb('0x84')]){if(_0x1b6bec[_0x39fb('0x11a')]){const _0x4692b1=_0x1b6bec[_0x39fb('0xcf')]()[_0x39fb('0xe2')](_0x43746f=>_0x39fb('0x50')!=_0x43746f[_0x39fb('0x57')][_0x39fb('0x105')]);_0x4692b1['every'](_0x3f5687=>_0x513ed9['containsRange'](_0x3f5687,!0x0))&&_0x1b6bec[_0x39fb('0x1f')]();if(_0x4692b1[_0x39fb('0xd7')](_0x1cbabd=>_0x1cbabd[_0x39fb('0xeb')](_0x513ed9,!0x0))){const _0x4c9852=this[_0x39fb('0x33')][_0x39fb('0x4b')](_0x39fb('0x169'),_0x1ab886,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x4c9852([_0x513ed9],null,_0x2d1e96)),null;}}else{const _0x5341fc=_0x513ed9[_0x39fb('0x45')](_0x1b6bec['getFirstRange']());null!==_0x5341fc&&_0x1b6bec[_0x39fb('0x167')]([_0x5341fc],null,_0x2d1e96);}}if(_0x513ed9[_0x39fb('0x177')](),_0x513ed9[_0x39fb('0x88')]||_0x39fb('0x50')==_0x513ed9[_0x39fb('0x57')][_0x39fb('0x105')])return null;let _0x16fb35=null,_0x153a15=_0x513ed9[_0x39fb('0x76')],_0x3f3ac2=_0x513ed9[_0x39fb('0x139')];const _0x21e150=this[_0x39fb('0x66')](_0x513ed9,'deletion');for(const {suggestion:_0x4a5df1,meta:_0x4fbe4a}of _0x21e150){const _0x5c572f=this[_0x39fb('0x174')]['createRange'](_0x153a15,_0x3f3ac2);if(_0x4fbe4a[_0x39fb('0x62')]&&(this[_0x39fb('0x24')]||!_0x4fbe4a[_0x39fb('0x102')]&&!_0x4fbe4a['isInsideObject'])){if(_0x4a5df1[_0x39fb('0x11a')]){if(!Gt(_0x4a5df1,_0x2d1e96))continue;let _0x1232c3=!0x0;for(const _0xb48bbe of _0x4a5df1[_0x39fb('0xcf')]()){if(_0xb48bbe[_0x39fb('0xeb')](_0x5c572f,!0x0))return _0x4a5df1;_0x5c572f['containsRange'](_0xb48bbe)||(_0x1232c3=!0x1);}_0x1232c3&&_0x4a5df1['discard']();}else{const _0x35e78c=_0x4a5df1['getFirstRange']();if(_0x35e78c[_0x39fb('0xeb')](_0x5c572f,!0x0))return _0x4a5df1;if(!Gt(_0x4a5df1,_0x2d1e96)){_0x5c572f['containsRange'](_0x35e78c)?_0x4a5df1[_0x39fb('0x100')]():_0x35e78c[_0x39fb('0x145')](_0x153a15)?_0x153a15=_0x35e78c[_0x39fb('0x139')]:_0x35e78c[_0x39fb('0x145')](_0x3f3ac2)&&(_0x3f3ac2=_0x35e78c['start']);continue;}_0x153a15=_0x153a15['isBefore'](_0x35e78c[_0x39fb('0x76')])?_0x153a15:_0x35e78c[_0x39fb('0x76')],_0x3f3ac2=_0x3f3ac2[_0x39fb('0x162')](_0x35e78c[_0x39fb('0x139')])?_0x3f3ac2:_0x35e78c[_0x39fb('0x139')],_0x2d1e96=Object[_0x39fb('0x136')]({},_0x4a5df1[_0x39fb('0x111')]),_0x16fb35?_0x35e78c[_0x39fb('0x76')]['isBefore'](_0x16fb35['getFirstRange']()[_0x39fb('0x76')])?(_0x16fb35['removeMarkers'](),_0x16fb35=_0x4a5df1):_0x4a5df1[_0x39fb('0x100')]():_0x16fb35=_0x4a5df1;}}}if(_0x16fb35)return this[_0x39fb('0x2e')](_0x16fb35,this[_0x39fb('0x174')]['createRange'](_0x153a15,_0x3f3ac2)),_0x16fb35;{const _0x568905=_0x3226c0(),_0x761a3f=this['_model'][_0x39fb('0x1b')](_0x153a15,_0x3f3ac2),_0x38ded0=_0x406f62['id'],_0x4d2ab7=_0x1ab886?_0x39fb('0xa3')+_0x1ab886:_0x39fb('0x169'),_0x3422a4=this[_0x39fb('0xc6')]({'id':_0x568905,'type':_0x4d2ab7,'createdAt':new Date(),'authorId':_0x38ded0,'attributes':_0x2d1e96});return this[_0x39fb('0xfd')](_0x4d2ab7,_0x568905,_0x38ded0,_0x761a3f),_0x3422a4;}}[_0x39fb('0xf6')](_0x151f63,_0x23c383='multi',_0x2c11aa={}){const _0x3aa701=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me'],_0x313d33=_0x151f63['map'](_0x3ea157=>new _0x4839ef(_0x3ea157[_0x39fb('0x76')],_0x3ea157[_0x39fb('0x139')])),_0x38ff7c=new Set();for(const {suggestion:_0x581a37,meta:_0x419d76}of this['_findSuggestions'](_0x313d33,_0x39fb('0xe3')))_0x419d76[_0x39fb('0x62')]&&!_0x419d76['isNextTo']&&_0x38ff7c['add'](_0x581a37);for(const _0x5cd3b4 of _0x38ff7c)if(_0x5cd3b4['isMultiRange']){const _0x2146e6=_0x5cd3b4['getRanges']();(!_0x5cd3b4[_0x39fb('0x111')]||!_0x5cd3b4['attributes'][_0x39fb('0x63')])&&(_0x2146e6['every'](_0x268c2b=>_0x313d33[_0x39fb('0xd7')](_0x431330=>_0x431330[_0x39fb('0xeb')](_0x268c2b,!0x0)))&&_0x5cd3b4[_0x39fb('0x1f')]());if(_0x313d33[_0x39fb('0x26')](_0x48ae07=>_0x2146e6[_0x39fb('0xd7')](_0x501b7f=>_0x501b7f['containsRange'](_0x48ae07,!0x0)))){const _0x3c9462=this[_0x39fb('0x33')]['getSuggestionCallback'](_0x39fb('0x169'),_0x23c383,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x3c9462(_0x151f63,null,_0x2c11aa)),null;}}else{const _0x23c5b7=_0x5cd3b4[_0x39fb('0x29')]();_0x313d33[_0x39fb('0xd7')](_0x52b2a2=>_0x52b2a2[_0x39fb('0xeb')](_0x23c5b7,!0x0))&&_0x5cd3b4[_0x39fb('0x1f')]();if(_0x313d33['every'](_0x4ce752=>_0x23c5b7[_0x39fb('0xeb')](_0x4ce752,!0x0))){const _0x56702d=this[_0x39fb('0x33')]['getSuggestionCallback'](_0x39fb('0x169'),_0x23c383,_0x39fb('0x83'));return this[_0x39fb('0x25')](()=>_0x56702d(_0x313d33,null,_0x2c11aa)),null;}}const _0x9f234a=this[_0x39fb('0x33')][_0x39fb('0x4b')](_0x39fb('0x169'),_0x23c383,_0x39fb('0x52'));let _0x155ee8=null;for(const _0xce3030 of this[_0x39fb('0x68')]())if(_0xce3030[_0x39fb('0x6b')]['id']==_0x3aa701['id']&&_0xce3030['isInContent']&&'deletion'==_0xce3030[_0x39fb('0x2f')]&&_0xce3030[_0x39fb('0x166')]==_0x23c383&&Gt(_0xce3030,_0x2c11aa)&&(_0x9f234a(_0xce3030[_0x39fb('0xcf')](),_0x313d33)||_0x9f234a(_0x313d33,_0xce3030[_0x39fb('0xcf')]()))){if(_0x155ee8){if(_0xce3030[_0x39fb('0x81')]&&_0xce3030[_0x39fb('0x81')]['length'])continue;for(const _0x2ac881 of _0xce3030['getRanges']())_0x155ee8['isIntersectingWithRange'](_0x2ac881)||_0x155ee8[_0x39fb('0x3c')](_0x2ac881);_0xce3030[_0x39fb('0x100')]();}else{_0x155ee8=_0xce3030;for(const _0x48d057 of _0x313d33)_0xce3030['isIntersectingWithRange'](_0x48d057)||_0xce3030[_0x39fb('0x3c')](_0x48d057);}}if(_0x155ee8)return _0x155ee8;_0x38ff7c['clear']();for(const {suggestion:_0x537bd0,meta:_0x42bc1c}of this[_0x39fb('0x66')](_0x313d33,_0x39fb('0x169')))_0x42bc1c[_0x39fb('0x62')]&&(this[_0x39fb('0x24')]||!_0x42bc1c[_0x39fb('0x102')]&&!_0x42bc1c[_0x39fb('0xa4')])&&Gt(_0x537bd0,_0x2c11aa)&&_0x38ff7c[_0x39fb('0x8f')](_0x537bd0);for(const _0x29e8b9 of _0x38ff7c){const _0x2e1c3f=_0x29e8b9[_0x39fb('0xcf')]();if(!_0x2c11aa||!_0x2c11aa[_0x39fb('0x63')]){if(_0x313d33[_0x39fb('0x26')](_0x540b20=>_0x2e1c3f['some'](_0x233011=>_0x233011[_0x39fb('0xeb')](_0x540b20,!0x0))))return _0x29e8b9;}(!_0x29e8b9[_0x39fb('0x111')]||!_0x29e8b9['attributes']['skipNestingCheck'])&&(_0x2e1c3f['every'](_0x4c30c8=>_0x313d33[_0x39fb('0xd7')](_0x52d389=>_0x52d389[_0x39fb('0xeb')](_0x4c30c8,!0x0)))&&_0x29e8b9[_0x39fb('0x1f')]());}const _0x1808a6=_0x3226c0(),_0x1f24f8=_0x3aa701['id'],_0x563735=_0x39fb('0xa3')+_0x23c383,_0x18effe=this['_setSuggestionData']({'id':_0x1808a6,'type':_0x563735,'createdAt':new Date(),'authorId':_0x1f24f8,'attributes':_0x2c11aa});for(const _0x4e168d of _0x313d33)_0x4e168d[_0x39fb('0x177')](),_0x4e168d[_0x39fb('0x88')]||_0x39fb('0x50')==_0x4e168d[_0x39fb('0x57')][_0x39fb('0x105')]||this[_0x39fb('0xfd')](_0x563735,_0x1808a6,_0x1f24f8,_0x4e168d,_0x357cdc[_0x39fb('0x11b')]());return _0x18effe;}[_0x39fb('0xf8')](_0x3ea088,_0x51dd62,_0x43a7b5,_0x5a50dd,_0x31d449){if(_0x3ea088[_0x39fb('0x88')])return[];if('never'===this['_trackFormatChanges'])return[];const _0x40ecf7=this['editor'][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me']['id'],_0x3a8b00=Array[_0x39fb('0x9f')](this[_0x39fb('0xa2')][_0x39fb('0x36')]())[_0x39fb('0xe2')](_0xc2f6b7=>'attribute'==_0xc2f6b7['type']&&_0xc2f6b7[_0x39fb('0xa')][_0x39fb('0x65')]==_0x51dd62&&_0xc2f6b7[_0x39fb('0x163')](_0x3ea088));if(_0x39fb('0x95')===this[_0x39fb('0xe0')]){const _0x14ad34=this[_0x39fb('0x66')](_0x3ea088,_0x39fb('0xe3'))['filter'](({meta:_0x374f5b})=>_0x374f5b[_0x39fb('0x62')]&&!_0x374f5b[_0x39fb('0xa4')]&&!_0x374f5b[_0x39fb('0x84')])['map'](({suggestion:_0x340b12})=>_0x340b12);_0x3a8b00['unshift'](..._0x14ad34);}const _0x567f63=new Map([[_0x3ea088,_0x43a7b5]]);for(const _0x2d4b01 of _0x3a8b00){const _0x206500=_0x39fb('0x15a')==_0x2d4b01[_0x39fb('0x2f')]?_0x2d4b01[_0x39fb('0xa')][_0x39fb('0x73')]:void 0x0,_0x231190=_0x2d4b01['getFirstRange'](),_0x10e89b=Array[_0x39fb('0x9f')](_0x567f63[_0x39fb('0x16d')]())[_0x39fb('0x44')](_0x29e991=>_0x29e991[_0x39fb('0x32')](_0x231190));if(!_0x10e89b)continue;const _0xb141f7=_0x10e89b[_0x39fb('0x121')](_0x231190);this[_0x39fb('0xe6')](_0x51dd62)&&_0x39fb('0xe3')==_0x2d4b01[_0x39fb('0x2f')]&&0x0!=_0xb141f7['length']||(_0x567f63['delete'](_0x10e89b),_0xb141f7[_0x39fb('0x12')](_0x336b54=>{_0x567f63['set'](_0x336b54,_0x43a7b5);}),_0x39fb('0xe3')!=_0x2d4b01[_0x39fb('0x2f')]&&_0x206500!=_0x5a50dd&&_0x567f63['set'](_0x10e89b[_0x39fb('0x45')](_0x231190),_0x206500));}const _0x2dea24=[];for(const [_0x4e6ad4,_0x5b34d4]of _0x567f63){const _0x2af2cc=_0x3226c0(),_0x40d400={'key':_0x51dd62,'oldValue':_0x5b34d4,'newValue':_0x5a50dd};_0x51dd62['length']>0x25&&console[_0x39fb('0xa8')](_0x39fb('0x7b'),{'key':_0x51dd62});const _0x35eb2d=(_0x39fb('0x12e')+(_0x51dd62+'|'+Et({'newValue':_0x5a50dd})))[_0x39fb('0x43')](0x0,0x3c),_0x896764=this[_0x39fb('0xc6')]({'id':_0x2af2cc,'type':_0x35eb2d,'data':_0x40d400,'createdAt':new Date(),'authorId':_0x40ecf7,'attributes':_0x31d449});_0x2dea24['push'](_0x896764),this[_0x39fb('0xfd')](_0x35eb2d,_0x2af2cc,_0x40ecf7,_0x4e6ad4);}return _0x2dea24;}[_0x39fb('0x146')](_0x1f843d){this[_0x39fb('0x155')][_0x39fb('0x8f')](_0x1f843d);}['_registerInlineAttribute'](_0x1b6ebe){this[_0x39fb('0x9d')]['add'](_0x1b6ebe);}[_0x39fb('0x157')](_0x58ed2f,_0x47827f=[],_0x271212=[]){this['enableCommand'](_0x58ed2f,(_0x27d884,..._0x45fb95)=>{this[_0x39fb('0x7')](()=>{_0x27d884(..._0x45fb95);});});for(const _0x23435e of _0x47827f)this[_0x39fb('0x79')](_0x23435e);for(const _0x284460 of _0x271212)this['_registerBlockAttribute'](_0x284460);}[_0x39fb('0x2e')](_0x2f7ec7,_0x136852){const _0x41d00e=_0x2f7ec7[_0x39fb('0xca')]();this[_0x39fb('0x174')][_0x39fb('0xf')](_0x11db9b=>{_0x11db9b[_0x39fb('0x9')](_0x41d00e,{'range':_0x136852});});}[_0x39fb('0xc0')](_0x2d0b34){const _0x2cc589=_0x2d0b34['id'],_0x449ef5=this[_0x39fb('0x22')][_0x39fb('0x49')][_0x39fb('0x127')](_0x39fb('0x14f'));this[_0x39fb('0xea')][_0x39fb('0x1d')](_0x2cc589)||this[_0x39fb('0xea')][_0x39fb('0x10b')]({'channelId':_0x449ef5,'threadId':_0x2cc589,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4f12e0=this[_0x39fb('0xea')]['getCommentThread'](_0x2cc589);_0x4f12e0['unbind'](_0x39fb('0x15e')),_0x4f12e0[_0x39fb('0x15e')]=!0x1,_0x2d0b34[_0x39fb('0x81')]=_0x4f12e0;}[_0x39fb('0x152')](_0x3768b1,_0x14ac6f,_0x10a089,_0x259713){if(_0x3768b1[_0x39fb('0x2f')]!=_0x14ac6f||_0x3768b1[_0x39fb('0x166')]!=_0x10a089||_0x3768b1[_0x39fb('0x156')]['id']!=_0x259713)throw this['editor'][_0x39fb('0xdd')](_0x39fb('0x8c')),new _0x3b7baa(_0x39fb('0x8c'),this);}[_0x39fb('0x97')](_0x3952f0,_0x2f42f0){const _0x264a04=_0x3952f0['getFirstRange']();if(_0x2f42f0['isEqual'](_0x264a04))_0x3952f0[_0x39fb('0x100')]();else{if(_0x264a04['containsRange'](_0x2f42f0)){const _0x1fe4db=this[_0x39fb('0x174')][_0x39fb('0x134')](_0x2f42f0[_0x39fb('0x76')][_0x39fb('0x94')],_0x39fb('0x139'));this[_0x39fb('0x2e')](_0x3952f0,this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x264a04[_0x39fb('0x76')],_0x1fe4db));const _0xe581b8=_0x3226c0(),_0x11ff83=_0x3952f0[_0x39fb('0x156')]['id'],_0xa3055b=_0x3952f0['type']+':'+_0x3952f0[_0x39fb('0x166')];this[_0x39fb('0xc6')]({'id':_0xe581b8,'type':_0xa3055b,'createdAt':new Date(),'authorId':_0x11ff83,'data':_0x3952f0[_0x39fb('0xa')],'attributes':_0x3952f0[_0x39fb('0x111')]});const _0x26384a=this['_model']['createPositionAt'](_0x2f42f0[_0x39fb('0x139')][_0x39fb('0x103')],_0x39fb('0x78')),_0xf909ad=this[_0x39fb('0x174')]['createRange'](_0x26384a,_0x264a04[_0x39fb('0x139')]);this[_0x39fb('0xfd')](_0xa3055b,_0xe581b8,_0x11ff83,_0xf909ad);}else{if(_0x264a04[_0x39fb('0x145')](_0x2f42f0[_0x39fb('0x76')])){const _0x311e68=this[_0x39fb('0x174')][_0x39fb('0x134')](_0x2f42f0[_0x39fb('0x76')][_0x39fb('0x94')],_0x39fb('0x139'));this['_setSuggestionRange'](_0x3952f0,this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x264a04[_0x39fb('0x76')],_0x311e68));}else{const _0x7f282d=this['_model']['createPositionAt'](_0x2f42f0[_0x39fb('0x139')][_0x39fb('0x103')],_0x39fb('0x78'));this['_setSuggestionRange'](_0x3952f0,this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x7f282d,_0x264a04['end']));}}}}[_0x39fb('0xb5')](_0x53d0ff){for(const {suggestion:_0x12f413,meta:_0x404ec6}of this[_0x39fb('0x66')](_0x53d0ff,_0x39fb('0xe3'))){if(!_0x404ec6[_0x39fb('0x62')])continue;const _0x3bc6a2=_0x12f413[_0x39fb('0xcf')]();for(const _0x26cbc8 of _0x3bc6a2)if(!_0x53d0ff[_0x39fb('0x121')](_0x26cbc8)[_0x39fb('0x12f')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1f8484){const _0x5d6f5e=this[_0x39fb('0x22')][_0x39fb('0x147')]['get'](_0x39fb('0xf2'))[_0x39fb('0xfc')](_0x1f8484);if(!_0x5d6f5e)throw new _0x3b7baa(_0x39fb('0x15'),this);return _0x5d6f5e;}[_0x39fb('0x74')](_0x2ae24b){const _0x153973=this[_0x39fb('0x22')][_0x39fb('0x147')]['get']('Users'),_0x40d715=_0x366d56('external:'+_0x2ae24b),_0x37afc2=_0x153973['getUser'](_0x40d715);return _0x37afc2||_0x153973[_0x39fb('0x92')]({'id':_0x40d715,'name':_0x2ae24b});}[_0x39fb('0x1')](_0x2dbe2f,_0x4e986a,_0x501a34,_0x1b06ca,_0x34a519){const _0x16adc5=this[_0x39fb('0x176')](_0x1b06ca),_0x97d565=this[_0x39fb('0x33')][_0x39fb('0x173')](_0x2dbe2f,_0x4e986a,_0x501a34,_0x16adc5,_0x34a519,_0x35441c=>this[_0x39fb('0x82')](_0x501a34,{'attributes':_0x35441c}));return this[_0x39fb('0x170')](_0x97d565,_0x39fb('0x83'),()=>{this[_0x39fb('0x82')](_0x501a34,{'state':'accepted'});},{'priority':_0x39fb('0xbe')}),this['listenTo'](_0x97d565,_0x39fb('0x1f'),()=>{this[_0x39fb('0x82')](_0x501a34,{'state':_0x39fb('0x3b')});},{'priority':'high'}),this['_suggestions'][_0x39fb('0xcb')](_0x501a34,_0x97d565),this[_0x39fb('0x180')][_0x39fb('0xcb')](_0x97d565,_0x39fb('0xd6')),_0x97d565;}[_0x39fb('0x13b')](_0x11a89c){const _0x2c0716=_0x11a89c['split'](':');return{'group':_0x2c0716[0x0],'type':_0x2c0716[0x1],'subType':_0x2c0716[_0x39fb('0x12f')]>=0x5?_0x2c0716[0x2]:null,'id':_0x2c0716['length']<0x5?_0x2c0716[0x2]:_0x2c0716[0x3],'authorId':_0x2c0716[_0x39fb('0x12f')]<0x5?_0x2c0716[0x3]:_0x2c0716[0x4],'markerCount':0x6==_0x2c0716['length']?_0x2c0716[0x5]:null};}[_0x39fb('0xd3')](_0xc06feb,_0x1d6401,_0x519877){const _0x1e68e5=_0xc06feb[_0x39fb('0x29')](),_0xd1ff0e=_0x1e68e5['start'],_0x5d05db=_0x1e68e5[_0x39fb('0x139')];this[_0x39fb('0x2e')](_0xc06feb,this[_0x39fb('0x174')]['createRange'](_0xd1ff0e,_0x1d6401));const _0x4dee39=_0x3226c0(),_0x321a0c=_0xc06feb[_0x39fb('0x156')]['id'],_0x1bf081=_0xc06feb[_0x39fb('0x2f')]+(_0xc06feb['subType']?':'+_0xc06feb[_0x39fb('0x166')]:'');this[_0x39fb('0xc6')]({'id':_0x4dee39,'type':_0x1bf081,'createdAt':new Date(),'authorId':_0x321a0c,'originalSuggestionId':_0xc06feb['id'],'attributes':_0xc06feb[_0x39fb('0x111')],'data':_0xc06feb[_0x39fb('0xa')]});const _0x3af913=Pt(_0xc06feb);(_0x39fb('0xe9')==_0xc06feb['type']||_0x3af913&&this['_isBlockAttribute'](_0x3af913))&&(_0x519877=this[_0x39fb('0x174')]['createPositionBefore'](_0x519877[_0x39fb('0x103')])),this[_0x39fb('0xfd')](_0x1bf081,_0x4dee39,_0x321a0c,this[_0x39fb('0x174')]['createRange'](_0x519877,_0x5d05db));}[_0x39fb('0x66')](_0xbad52e,_0x13fe7f=null){const _0x2625f7=[],_0x867e=this[_0x39fb('0x22')][_0x39fb('0x147')][_0x39fb('0x127')](_0x39fb('0xf2'))['me'];Array[_0x39fb('0xdf')](_0xbad52e)||(_0xbad52e=[_0xbad52e]);for(const _0x19f36f of this[_0x39fb('0x68')]()){if(!_0x19f36f['isInContent'])continue;if(_0x13fe7f&&_0x19f36f['type']!=_0x13fe7f)continue;let _0x415b76=!0x1;for(const _0x3b1766 of _0x19f36f['getRanges']()){for(const _0x2938fc of _0xbad52e){const _0x1e9437=_0x2938fc[_0x39fb('0x76')][_0x39fb('0xfe')](_0x3b1766[_0x39fb('0x139')])||_0x2938fc[_0x39fb('0x139')][_0x39fb('0xfe')](_0x3b1766[_0x39fb('0x76')]);if(_0x1e9437||_0x2938fc['getIntersection'](_0x3b1766)){const _0x164d8d=_0x2938fc[_0x39fb('0xeb')](_0x3b1766)&&Bt(this['_model'][_0x39fb('0x3')],_0x3b1766[_0x39fb('0x76')],_0x2938fc),_0x58df38=_0x3b1766[_0x39fb('0xeb')](_0x2938fc)&&Bt(this[_0x39fb('0x174')][_0x39fb('0x3')],_0x2938fc[_0x39fb('0x76')],_0x3b1766);_0x2625f7['push']({'suggestion':_0x19f36f,'meta':{'isOwn':_0x867e==_0x19f36f[_0x39fb('0x6b')],'isNextTo':_0x1e9437,'isInsideObject':_0x164d8d,'containsRangeInObject':_0x58df38}}),_0x415b76=!0x0;break;}}if(_0x415b76)break;}}return _0x2625f7;}[_0x39fb('0xfd')](_0x2173cc,_0xb267ab,_0x385de1,_0x4d09e8,_0x2e0229){this[_0x39fb('0x174')][_0x39fb('0xf')](_0x16d36a=>{let _0x13b776=_0x39fb('0x135')+_0x2173cc+':'+_0xb267ab+':'+_0x385de1;_0x2e0229&&(_0x13b776=_0x13b776+':'+_0x2e0229),_0x16d36a[_0x39fb('0x13c')](_0x13b776,{'range':_0x4d09e8,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x39fb('0x8e')](_0x462366){const _0x549a01=_0x462366['previous'],_0x3eeeda=_0x462366[_0x39fb('0x10d')];_0x462366[_0x39fb('0xaa')]=null,_0x462366[_0x39fb('0x10d')]=null,null!=_0x549a01&&(_0x549a01[_0x39fb('0x10d')]=_0x3eeeda),null!=_0x3eeeda&&(_0x3eeeda['previous']=_0x549a01),_0x39fb('0xef')==this['_suggestionState'][_0x39fb('0x127')](_0x462366)&&(this[_0x39fb('0x180')][_0x39fb('0xcb')](_0x462366,'removed'),this[_0x39fb('0x10c')](_0x39fb('0xbb'),_0x462366,_0x549a01,_0x3eeeda));}[_0x39fb('0xc6')](_0x130d96){const _0x5d557f=_0x130d96['id'],_0x27175e=this[_0x39fb('0x13e')](_0x130d96);if(this[_0x39fb('0x4c')]&&this[_0x39fb('0x4c')][_0x39fb('0x17e')]){const _0x3529ab=this['editor'][_0x39fb('0x147')]['get'](_0x39fb('0xd9')),_0x26aff4=_0x27175e[_0x39fb('0x3a')],_0x1eb103=_0x27175e[_0x39fb('0x166')]?_0x27175e['type']+':'+_0x27175e['subType']:_0x27175e[_0x39fb('0x2f')],_0x3ca759=this[_0x39fb('0x22')][_0x39fb('0x119')],_0x2f55f5=_0x3529ab[_0x39fb('0x8f')](_0xc6caf3(_0x3ca759,'PENDING_ACTION_SUGGESTION')),_0x5bea33={'id':_0x5d557f,'type':_0x1eb103,'hasComments':_0x26aff4,'data':_0x130d96[_0x39fb('0xa')]||null,'originalSuggestionId':_0x130d96[_0x39fb('0x172')]||null,'attributes':_0x27175e[_0x39fb('0x111')]};this[_0x39fb('0x4c')][_0x39fb('0x17e')](_0x5bea33)[_0x39fb('0x87')](_0x3931ee=>{_0x27175e['_saved']=!0x0,_0x3529ab[_0x39fb('0x89')](_0x2f55f5),_0x3931ee&&_0x3931ee[_0x39fb('0x165')]&&(this[_0x39fb('0xa2')][_0x39fb('0x127')](_0x5d557f)[_0x39fb('0x165')]=_0x3931ee[_0x39fb('0x165')]);})[_0x39fb('0x1a')](_0x2f849a=>{throw _0x536d7e(_0x39fb('0x13')),this[_0x39fb('0x22')][_0x39fb('0xd2')][_0x39fb('0x61')]({'isUndoable':!0x1},()=>{_0x27175e[_0x39fb('0x1f')]();}),_0x27175e[_0x39fb('0x125')](),this[_0x39fb('0xa2')]['delete'](_0x27175e['id']),this[_0x39fb('0x180')][_0x39fb('0x18')](_0x27175e),_0x2f849a;});}return _0x27175e;}[_0x39fb('0xe6')](_0x11ec9c){return this['_blockAttributeKeys']['has'](_0x11ec9c);}['_updateSuggestionData'](_0x508d57,_0x258e3f){const _0x489c5f=this['editor'][_0x39fb('0x147')][_0x39fb('0x127')]('PendingActions'),_0x1709b9=this[_0x39fb('0x6f')](_0x508d57);if(this[_0x39fb('0x4c')]&&this[_0x39fb('0x4c')][_0x39fb('0xe4')]){if(_0x1709b9['_saved']){const _0x41d20c=_0x489c5f[_0x39fb('0x8f')](_0xc6caf3(this[_0x39fb('0x22')][_0x39fb('0x119')],_0x39fb('0x8a')));this[_0x39fb('0x4c')][_0x39fb('0xe4')](_0x508d57,_0x258e3f)[_0x39fb('0x87')](()=>{_0x489c5f['remove'](_0x41d20c);});}else _0x1709b9['on'](_0x39fb('0x133'),()=>{this[_0x39fb('0x82')](_0x508d57,_0x258e3f);});}}[_0x39fb('0x54')](_0x19fc05){if(!this[_0x39fb('0x4c')]||!this[_0x39fb('0x4c')][_0x39fb('0x6f')])throw new _0x3b7baa('track-changes-adapter-missing-getsuggestion',this);return this[_0x39fb('0x4c')][_0x39fb('0x6f')](_0x19fc05);}[_0x39fb('0x91')](_0x515140){const {id:_0x1e01e7,type:_0x6fdf21,subType:_0x2ecc65,authorId:_0x5ca2c0}=this['_splitMarkerName'](_0x515140),_0x32be9c=this[_0x39fb('0xa2')][_0x39fb('0x127')](_0x1e01e7)||this[_0x39fb('0x1')](_0x6fdf21,_0x2ecc65,_0x1e01e7,_0x5ca2c0,{});switch(this['_checkSuggestionCorrectness'](_0x32be9c,_0x6fdf21,_0x2ecc65,_0x5ca2c0),this[_0x39fb('0x180')]['get'](_0x32be9c)){case _0x39fb('0xd6'):this['_getSuggestionData'](_0x1e01e7)[_0x39fb('0x87')](_0x3b3e3e=>{let _0x477fd4=Promise[_0x39fb('0x8d')]();_0x3b3e3e[_0x39fb('0x3a')]&&(_0x477fd4=this['_commentsRepository'][_0x39fb('0x9e')]({'channelId':this['editor']['config'][_0x39fb('0x127')]('collaboration.channelId'),'threadId':_0x1e01e7})),_0x477fd4['then'](()=>{this[_0x39fb('0x13e')](_0x3b3e3e)['_saved']=!0x0;});}),this[_0x39fb('0x180')][_0x39fb('0xcb')](_0x32be9c,'markerReady');break;case'removed':this[_0x39fb('0x82')](_0x1e01e7,{'state':_0x39fb('0x142')});case _0x39fb('0xed'):this['_suggestionState'][_0x39fb('0xcb')](_0x32be9c,_0x39fb('0xef')),this[_0x39fb('0x10c')]('suggestionLoaded',_0x32be9c);break;case'ready':this[_0x39fb('0x10c')]('suggestionChanged',_0x32be9c);}return _0x32be9c[_0x39fb('0x175')](_0x515140),_0x32be9c;}[_0x39fb('0x129')](_0x2d8fd7){const _0x27547c=Array[_0x39fb('0x9f')](_0x2d8fd7),_0xa9b57=_0x27547c[_0x39fb('0xe2')](_0x3f83a7=>'attribute'==_0x3f83a7[_0x39fb('0x2f')]);this[_0x39fb('0x148')](_0xa9b57);const _0x392abf=_0x27547c[_0x39fb('0xe2')](_0x44954b=>!_0x44954b[_0x39fb('0x11a')]&&'attribute'!=_0x44954b[_0x39fb('0x2f')]),_0x1beee6=this[_0x39fb('0x68')]({'skipNotAttached':!0x0})[_0x39fb('0xe2')](_0x14f1a7=>!_0x14f1a7['isMultiRange']&&'attribute'!=_0x14f1a7['type']),_0x51e1d9=_0x1beee6[_0x39fb('0xe2')](_0x9e9861=>!_0x2d8fd7[_0x39fb('0xf4')](_0x9e9861)),_0x5c7a4e=new Map(_0x1beee6[_0x39fb('0x171')](_0x1af1ee=>[_0x1af1ee,this[_0x39fb('0x33')][_0x39fb('0x4b')](_0x1af1ee[_0x39fb('0x2f')],_0x1af1ee[_0x39fb('0x166')],_0x39fb('0xd5'))])),_0x362d59=new Map(_0x1beee6[_0x39fb('0x171')](_0x1523e3=>[_0x1523e3,_0x1523e3['getFirstRange']()])),_0x1dc9f6=new Set(),_0x296225=new Set();for(let _0x496a62=0x0;_0x496a62<_0x392abf[_0x39fb('0x12f')];_0x496a62++)_0x3a3d9b(_0x392abf[_0x496a62],_0x392abf,_0x496a62+0x1);for(let _0x582870=0x0;_0x582870<_0x392abf[_0x39fb('0x12f')];_0x582870++)_0x3a3d9b(_0x392abf[_0x582870],_0x51e1d9,0x0);const _0x5cdca5=new Set();for(let _0x34c81b=0x0;_0x34c81b<_0x392abf['length'];_0x34c81b++){const _0x54cc25=_0x392abf[_0x34c81b];!_0x296225[_0x39fb('0xf4')](_0x54cc25)&&_0x54cc25[_0x39fb('0xaa')]&&(_0x5cdca5[_0x39fb('0x8f')](_0x54cc25['previous']),_0x54cc25[_0x39fb('0xaa')][_0x39fb('0x10d')]===_0x54cc25&&(_0x54cc25[_0x39fb('0xaa')]['next']=null),_0x54cc25[_0x39fb('0xaa')]=null),!_0x1dc9f6['has'](_0x54cc25)&&_0x54cc25[_0x39fb('0x10d')]&&(_0x5cdca5[_0x39fb('0x8f')](_0x54cc25[_0x39fb('0x10d')]),_0x54cc25[_0x39fb('0x10d')][_0x39fb('0xaa')]===_0x54cc25&&(_0x54cc25[_0x39fb('0x10d')]['previous']=null),_0x54cc25[_0x39fb('0x10d')]=null);}function _0x3a3d9b(_0x57c5ab,_0x82b444,_0x1a13e7){for(let _0x91ae1a=_0x1a13e7;_0x91ae1a<_0x82b444[_0x39fb('0x12f')];_0x91ae1a++){const _0x4f4e87=_0x5b7282(_0x57c5ab,_0x82b444[_0x91ae1a]);_0x4f4e87&&(_0x4f4e87[0x0][_0x39fb('0x10d')]=_0x4f4e87[0x1],_0x4f4e87[0x1][_0x39fb('0xaa')]=_0x4f4e87[0x0],_0x1dc9f6['add'](_0x4f4e87[0x0]),_0x296225[_0x39fb('0x8f')](_0x4f4e87[0x1]));}}function _0x5b7282(_0x41b2a6,_0x5118a6){if(_0x41b2a6['author']['id']!==_0x5118a6[_0x39fb('0x6b')]['id'])return null;const _0x466afc=_0x5c7a4e[_0x39fb('0x127')](_0x41b2a6)(_0x41b2a6,_0x5118a6,_0x362d59[_0x39fb('0x127')](_0x41b2a6),_0x362d59['get'](_0x5118a6));if(!_0x466afc)return null;return _0x5c7a4e[_0x39fb('0x127')](_0x5118a6)(_0x41b2a6,_0x5118a6,_0x362d59[_0x39fb('0x127')](_0x41b2a6),_0x362d59['get'](_0x5118a6))?_0x466afc[0x1][_0x39fb('0x81')]&&_0x466afc[0x1][_0x39fb('0x81')]['length']?null:_0x466afc:null;}_0x5cdca5[_0x39fb('0x3d')]&&this[_0x39fb('0x129')](_0x5cdca5);}['_refreshAttributeSuggestionsChain'](_0x39087e){if(0x0==_0x39087e[_0x39fb('0x12f')])return;const _0x450ec4=this[_0x39fb('0x68')]({'skipNotAttached':!0x0})[_0x39fb('0xe2')](_0x504e52=>_0x39fb('0x15a')==_0x504e52[_0x39fb('0x2f')]&&_0x504e52[_0x39fb('0x5a')]),_0x34a5da=[],_0x1c0543=new Map();for(const _0x357c1f of _0x450ec4){const _0x17659f=_0x366d56(_0x357c1f['attributes']);_0x1c0543[_0x39fb('0xf4')](_0x17659f)||(_0x1c0543['set'](_0x17659f,_0x34a5da[_0x39fb('0x12f')]),_0x34a5da[_0x39fb('0x99')]([]));const _0x320ba4=_0x1c0543[_0x39fb('0x127')](_0x17659f);_0x34a5da[_0x320ba4][_0x39fb('0x99')](_0x357c1f);}!function(){_0x34a5da[_0x39fb('0xc5')]((_0x322da6,_0x17976f)=>{const _0x289339=_0x322da6[0x0][_0x39fb('0x165')],_0x21f755=_0x17976f[0x0][_0x39fb('0x165')];return _0x289339==_0x21f755?_0x322da6[0x0]['attributes'][_0x39fb('0x2')]<_0x17976f[0x0][_0x39fb('0x111')][_0x39fb('0x2')]?-0x1:0x1:_0x289339<_0x21f755?-0x1:0x1;});for(const _0x4599cb of _0x34a5da)_0x4599cb[_0x39fb('0xc5')]((_0x131324,_0x11b5e4)=>_0x131324['id']<_0x11b5e4['id']?-0x1:0x1);}();for(let _0x523cc9=0x0;_0x523cc9<_0x34a5da[_0x39fb('0x12f')];_0x523cc9++){if(0x0==_0x34a5da[_0x523cc9][_0x39fb('0x12f')])continue;const _0x5ee8df=[];for(let _0x2aa850=_0x523cc9+0x1;_0x2aa850<_0x34a5da[_0x39fb('0x12f')];_0x2aa850++)0x0!=_0x34a5da[_0x2aa850][_0x39fb('0x12f')]&&_0x5e69a6(_0x34a5da[_0x523cc9],_0x34a5da[_0x2aa850])&&_0x5ee8df['push'](_0x2aa850);for(const _0x2441e5 of _0x5ee8df)_0x34a5da[_0x523cc9]=_0x34a5da[_0x523cc9][_0x39fb('0x10e')](_0x34a5da[_0x2441e5]),_0x34a5da[_0x2441e5]=[];}for(const _0x2f10ba of _0x34a5da)for(let _0x95ad8f=0x0;_0x95ad8f<_0x2f10ba[_0x39fb('0x12f')];_0x95ad8f++)_0x2f10ba[_0x95ad8f][_0x39fb('0x10d')]=_0x2f10ba[_0x95ad8f+0x1]||null;for(const _0x44cf6b of _0x34a5da)for(let _0x19f7a0=0x0;_0x19f7a0<_0x44cf6b[_0x39fb('0x12f')];_0x19f7a0++)_0x44cf6b[_0x19f7a0][_0x39fb('0xaa')]=_0x44cf6b[_0x19f7a0-0x1]||null;function _0x5e69a6(_0x246ca0,_0x387ff7){if(_0x246ca0[0x0][_0x39fb('0x6b')]!==_0x387ff7[0x0][_0x39fb('0x6b')])return!0x1;if(!function(_0x5dc99d,_0x2a90aa){if(!_0x5dc99d[_0x39fb('0x3a')]&&!_0x2a90aa[_0x39fb('0x3a')])return!0x0;if(_0x5dc99d[_0x39fb('0x3a')]&&_0x2a90aa['hasComments'])return!0x1;if(_0x5dc99d['hasComments']&&_0x2a90aa[_0x39fb('0x165')]<_0x5dc99d[_0x39fb('0x81')][_0x39fb('0x37')][_0x39fb('0x127')](0x0)[_0x39fb('0x165')])return!0x0;if(_0x2a90aa['hasComments']&&_0x5dc99d[_0x39fb('0x165')]<_0x2a90aa[_0x39fb('0x81')]['comments'][_0x39fb('0x127')](0x0)[_0x39fb('0x165')])return!0x0;return!0x1;}(_0x246ca0[0x0],_0x387ff7[0x0]))return!0x1;const _0x2b5585=_0x4e4541(_0x246ca0[0x0][_0x39fb('0x111')],'groupId'),_0x398872=_0x4e4541(_0x387ff7[0x0]['attributes'],'groupId');if(!_0x41dc8a(_0x2b5585,_0x398872))return!0x1;return!!_0x246ca0[_0x39fb('0x26')](_0x3b04aa=>_0x387ff7[_0x39fb('0xd7')](_0x39b298=>_0x3b04aa[_0x39fb('0x29')]()[_0x39fb('0xfe')](_0x39b298[_0x39fb('0x29')]())))&&_0x387ff7[_0x39fb('0x26')](_0x13b77a=>_0x246ca0[_0x39fb('0xd7')](_0x442122=>_0x13b77a[_0x39fb('0x29')]()[_0x39fb('0xfe')](_0x442122[_0x39fb('0x29')]())));}}['_joinWithAdjacentSuggestions'](_0x3c2190){const _0x4bcbbe=Array['from'](_0x3c2190),_0x34f756=this[_0x39fb('0x68')]({'skipNotAttached':!0x0}),_0xf30a48=_0x34f756[_0x39fb('0xe2')](_0x2c0ef4=>!_0x3c2190[_0x39fb('0xf4')](_0x2c0ef4)),_0x498c1e=new Map(_0x4bcbbe[_0x39fb('0x171')](_0x14679b=>[_0x14679b,this[_0x39fb('0x33')][_0x39fb('0x4b')](_0x14679b[_0x39fb('0x2f')],_0x14679b['subType'],_0x39fb('0x52'))])),_0x2b6bc8=new Map(_0x34f756[_0x39fb('0x171')](_0x841383=>[_0x841383,_0x841383[_0x39fb('0xcf')]()]));for(let _0x1c77de=0x0;_0x1c77de<_0x4bcbbe['length'];_0x1c77de++){if(_0x2fd575(this,_0x4bcbbe[_0x1c77de],_0x4bcbbe,_0x1c77de+0x1))return!0x0;}for(let _0x3ae10c=0x0;_0x3ae10c<_0x4bcbbe['length'];_0x3ae10c++){if(_0x2fd575(this,_0x4bcbbe[_0x3ae10c],_0xf30a48,0x0))return!0x0;}return!0x1;function _0x2fd575(_0x259c01,_0x59dd24,_0x339516,_0x15d39f){for(let _0x30cd9f=_0x15d39f;_0x30cd9f<_0x339516[_0x39fb('0x12f')];_0x30cd9f++){const _0x8fc827=_0x339516[_0x30cd9f];if(_0x8fc827[_0x39fb('0x2f')]!==_0x59dd24[_0x39fb('0x2f')]||_0x8fc827[_0x39fb('0x6b')]['id']!==_0x59dd24[_0x39fb('0x6b')]['id']||_0x8fc827[_0x39fb('0x166')]!==_0x59dd24[_0x39fb('0x166')])continue;if(!Vt(_0x59dd24,_0x8fc827))continue;if('attribute'==_0x59dd24[_0x39fb('0x2f')]&&_0x59dd24[_0x39fb('0xa')][_0x39fb('0x73')]!=_0x8fc827['data'][_0x39fb('0x73')])continue;if(_0x39fb('0x15a')==_0x59dd24['type']&&_0x259c01[_0x39fb('0xe6')](_0x59dd24[_0x39fb('0xa')][_0x39fb('0x65')]))continue;if('formatBlock'==_0x59dd24[_0x39fb('0x2f')]){const _0x5a2545=_0x259c01['editor'][_0x39fb('0xd2')],_0x2c3c4d=_0x59dd24[_0x39fb('0x15f')]();if(_0x2c3c4d&&(_0x5a2545[_0x39fb('0x3')]['isObject'](_0x2c3c4d)||_0x5a2545['schema'][_0x39fb('0xe1')](_0x2c3c4d)))continue;}const _0x29906f=_0x498c1e[_0x39fb('0x127')](_0x59dd24),_0x6bbab1=_0x2b6bc8[_0x39fb('0x127')](_0x59dd24),_0x309cf9=_0x2b6bc8[_0x39fb('0x127')](_0x8fc827),_0x12212d=_0x59dd24[_0x39fb('0x81')]&&_0x59dd24['commentThread'][_0x39fb('0x12f')],_0xb24c5e=_0x8fc827[_0x39fb('0x81')]&&_0x8fc827[_0x39fb('0x81')][_0x39fb('0x12f')];if(!_0x12212d&&_0x29906f(_0x309cf9,_0x6bbab1))return _0x259c01[_0x39fb('0x112')](_0x8fc827,_0x59dd24),_0x2b6bc8[_0x39fb('0x18')](_0x59dd24),!0x0;if(!_0xb24c5e&&_0x29906f(_0x6bbab1,_0x309cf9))return _0x259c01['_joinSuggestions'](_0x59dd24,_0x8fc827),_0x2b6bc8[_0x39fb('0x18')](_0x8fc827),!0x0;}return!0x1;}}[_0x39fb('0x112')](_0x2636b5,_0x35f20e){if(_0x2636b5[_0x39fb('0x11a')])for(const _0x413d4 of _0x35f20e[_0x39fb('0xcf')]())_0x2636b5[_0x39fb('0x3c')](_0x413d4);else{const _0x76a658=_0x35f20e[_0x39fb('0x29')]()[_0x39fb('0x139')];this[_0x39fb('0x2e')](_0x2636b5,this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x2636b5[_0x39fb('0x29')]()['start'],_0x76a658));}_0x35f20e[_0x39fb('0x100')]();}[_0x39fb('0x38')](_0x40c71a,_0x322fd8){const _0x41278b=_0x40c71a[_0x39fb('0x6e')]('format')||_0x40c71a[_0x39fb('0x6e')](_0x39fb('0x15a'))?'FORMATTING':_0x40c71a[_0x39fb('0x153')]();return _0xc6caf3(this['editor'][_0x39fb('0x119')],_0x322fd8+'_'+_0x41278b+_0x39fb('0xb1'));}[_0x39fb('0xb4')](){const _0x3db9d2=this['editor'];_0x4b0201(this[_0x39fb('0x174')],({left:_0xd8d5c1,entered:_0x5459f8})=>{const _0x408a68=[];for(const _0x388457 of _0xd8d5c1){const {group:_0x2df86e,type:_0x4f68f5}=this[_0x39fb('0x13b')](_0x388457[_0x39fb('0x140')]);if(_0x39fb('0x107')===_0x2df86e){_0x408a68[_0x39fb('0x99')](this['_getMarkerAnnouncementText'](_0x4f68f5,'LEAVE'));break;}}for(const _0x292a56 of _0x5459f8){const {group:_0x3ade2d,type:_0xe0ccce}=this[_0x39fb('0x13b')](_0x292a56[_0x39fb('0x140')]);if(_0x39fb('0x107')===_0x3ade2d){_0x408a68[_0x39fb('0x99')](this[_0x39fb('0x38')](_0xe0ccce,_0x39fb('0x7f')));break;}}_0x408a68[_0x39fb('0x12f')]&&_0x3db9d2['ui'][_0x39fb('0xc')]['announce'](_0x39fb('0xd1'),_0x408a68[_0x39fb('0x52')]('\x20'));});}['_processAttributeChanges'](_0x3067c4){if(null!==this[_0x39fb('0xf9')])return!0x1;const _0x51099f=this[_0x39fb('0x22')],_0x1db14f=_0x51099f[_0x39fb('0xd2')]['document'][_0x39fb('0x6d')][_0x39fb('0x110')]();if(0x0==_0x1db14f['length'])return!0x1;const _0x4d2c30=[],_0x1e5b80=_0x1db14f[_0x39fb('0xe2')](_0x3def5a=>'attribute'==_0x3def5a['type']),_0x5d9d6a=_0x1db14f[_0x39fb('0xe2')](_0x4764a7=>_0x39fb('0xff')==_0x4764a7[_0x39fb('0x2f')]&&_0x39fb('0x31')!=_0x4764a7['name']),_0x208f5f=_0x1db14f[_0x39fb('0xe2')](_0x2eee46=>_0x39fb('0x89')==_0x2eee46['type']&&_0x39fb('0x31')!=_0x2eee46[_0x39fb('0x140')]);for(const _0x3c6461 of _0x1e5b80)_0x4d2c30[_0x39fb('0x99')]({'key':_0x3c6461['attributeKey'],'newValue':_0x3c6461['attributeNewValue'],'oldValue':_0x3c6461[_0x39fb('0xf3')],'range':_0x205786(_0x3c6461[_0x39fb('0x137')])});for(const _0x31693f of _0x5d9d6a){const _0x518313=_0x208f5f[_0x39fb('0x44')](_0x426e79=>_0x426e79[_0x39fb('0x141')][_0x39fb('0xfe')](_0x31693f[_0x39fb('0x141')]));_0x518313&&_0x4d2c30['push']({'key':_0x39fb('0xdc'),'newValue':_0x31693f[_0x39fb('0x140')],'oldValue':_0x518313[_0x39fb('0x140')],'range':_0x51099f[_0x39fb('0xd2')][_0x39fb('0xc8')](_0x31693f[_0x39fb('0x141')][_0x39fb('0x13d')])});}return 0x0!=_0x4d2c30[_0x39fb('0x12f')]&&this[_0x39fb('0x48')](_0x3067c4,_0x4d2c30);function _0x205786(_0x2e1cc9){return null==_0x2e1cc9[_0x39fb('0x139')][_0x39fb('0x94')]&&_0x2e1cc9[_0x39fb('0x139')][_0x39fb('0x103')]==_0x2e1cc9[_0x39fb('0x76')][_0x39fb('0x13d')]?Ut(_0x2e1cc9['start'][_0x39fb('0x13d')],_0x51099f[_0x39fb('0xd2')]):_0x2e1cc9;}}['_processAttributeSuggestions'](_0xb1d8d5){let _0x3930f7=!0x1;const _0x5b0c86=this['editor'][_0x39fb('0xd2')]['document'][_0x39fb('0x6d')][_0x39fb('0x101')]()[_0x39fb('0xe2')](_0x50bb03=>_0x50bb03[_0x39fb('0xa')][_0x39fb('0x4f')]&&_0x50bb03[_0x39fb('0x140')][_0x39fb('0x6e')]('suggestion:attribute:'));for(const _0x445cd3 of _0x5b0c86){const {subType:_0x142f36,id:_0x39b0f1}=this['_splitMarkerName'](_0x445cd3['name']),_0x319d82=_0x142f36[_0x39fb('0x104')]('|')[0x0];for(const _0x77cc91 of this[_0x39fb('0x68')]({'skipNotAttached':!0x0}))_0x77cc91['id']!=_0x39b0f1&&_0x39fb('0x15a')==_0x77cc91[_0x39fb('0x2f')]&&_0x77cc91[_0x39fb('0xa')]&&_0x77cc91[_0x39fb('0xa')][_0x39fb('0x65')]==_0x319d82&&_0x77cc91[_0x39fb('0x29')]()[_0x39fb('0x32')](_0x445cd3[_0x39fb('0xa')]['newRange'])&&(this[_0x39fb('0xbf')](_0x77cc91,_0x445cd3['data'][_0x39fb('0x4f')],_0xb1d8d5),_0x3930f7=!0x0);}return _0x3930f7;}[_0x39fb('0x7')](_0x569ab2){if(null!==this[_0x39fb('0xf9')])return void _0x569ab2();const _0x45987f=this[_0x39fb('0x22')];this[_0x39fb('0xf9')]=_0x45987f[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0x138')],_0x569ab2();const _0x5b29f1=new Map();for(const _0x38a37b of _0x45987f[_0x39fb('0xd2')][_0x39fb('0x77')][_0x39fb('0x158')][_0x39fb('0x11d')](this[_0x39fb('0xf9')]))if([_0x39fb('0x14a'),_0x39fb('0xcc'),_0x39fb('0x80'),'changeAttribute']['includes'](_0x38a37b['type'])){const _0x365a06=_0x38a37b[_0x39fb('0x11')],_0x8ad644=_0x5b29f1[_0x39fb('0x127')](_0x365a06)||[];_0x8ad644[_0x39fb('0x99')](_0x38a37b),_0x5b29f1[_0x39fb('0xcb')](_0x365a06,_0x8ad644);}this[_0x39fb('0xf9')]=null;for(const [_0xc44398,_0x2434ec]of _0x5b29f1){const _0x23611d=_0x3226c0();_0x45987f[_0x39fb('0xd2')]['enqueueChange'](_0xc44398,_0x38b732=>{const _0x2d029e=[];for(const _0x3451ee of _0x2434ec){let _0x2d5d30,_0x212073,_0x5f103a,_0xe8a168;if(_0x39fb('0x14a')==_0x3451ee[_0x39fb('0x2f')]){const _0x257b2b=_0x3451ee;_0x2d5d30=Ut(_0x257b2b[_0x39fb('0x141')][_0x39fb('0x13d')],_0x45987f[_0x39fb('0xd2')]),_0x212073='$elementName',_0x5f103a=_0x257b2b[_0x39fb('0x34')],_0xe8a168=_0x257b2b[_0x39fb('0x178')];}else{const _0x2d54ba=_0x3451ee,_0x7fcaa4=this[_0x39fb('0xe6')](_0x2d54ba[_0x39fb('0x65')]),_0x501275=this[_0x39fb('0x9d')][_0x39fb('0xf4')](_0x2d54ba['key']);if(!_0x7fcaa4&&!_0x501275)continue;_0x2d5d30=_0x7fcaa4?Ut(_0x2d54ba[_0x39fb('0x137')][_0x39fb('0x76')][_0x39fb('0x13d')],_0x45987f['model']):_0x2d54ba[_0x39fb('0x137')],_0x212073=_0x2d54ba['key'],_0x5f103a=_0x39fb('0x80')==_0x3451ee[_0x39fb('0x2f')]?void 0x0:_0x2d54ba[_0x39fb('0x6')],_0xe8a168=_0x2d54ba['oldValue'];}this['markAttributeChange'](_0x2d5d30,_0x212073,_0xe8a168,_0x5f103a,{'groupId':_0x23611d}),_0x2d029e[_0x39fb('0x99')]({'range':_0x2d5d30,'key':_0x212073,'newValue':_0x5f103a,'oldValue':_0xe8a168});}this[_0x39fb('0x48')](_0x38b732,_0x2d029e);});}}['_reduceExistingSuggestions'](_0x371455,_0x23254d){if(0x0==_0x23254d[_0x39fb('0x12f')])return!0x1;let _0x1e080=!0x1;for(const _0x2d2e46 of _0x23254d){const _0x31cbfa=this[_0x39fb('0x66')](_0x2d2e46[_0x39fb('0x137')],_0x39fb('0x15a'))['filter'](_0x4458b5=>!_0x4458b5[_0x39fb('0x4a')]['isNextTo'])['map'](_0x154240=>_0x154240['suggestion']),_0x185839=_0x366d56({'newValue':_0x2d2e46['newValue']});_0x31cbfa[_0x39fb('0xe2')](_0xf1d68e=>{const [_0x3a373c,_0x10108e]=_0xf1d68e['subType'][_0x39fb('0x104')]('|');return _0x3a373c==_0x2d2e46[_0x39fb('0x65')]&&_0x10108e!=_0x185839;})[_0x39fb('0x12')](_0x55d981=>{this[_0x39fb('0xbf')](_0x55d981,_0x2d2e46[_0x39fb('0x137')],_0x371455),_0x1e080=!0x0;});}return _0x1e080;}[_0x39fb('0xbf')](_0x184476,_0x55f6cd,_0x4e4aaa){const _0x5e77cd=_0x184476['getFirstRange']()[_0x39fb('0x121')](_0x55f6cd);0x0!==_0x5e77cd['length']?0x1!==_0x5e77cd[_0x39fb('0x12f')]?this[_0x39fb('0xd3')](_0x184476,_0x55f6cd[_0x39fb('0x76')],_0x55f6cd[_0x39fb('0x139')]):this[_0x39fb('0x2e')](_0x184476,_0x5e77cd[0x0]):_0x4e4aaa[_0x39fb('0x17f')](_0x184476[_0x39fb('0xca')]());}}class $t{constructor(_0xe8cfcc){this[_0x39fb('0x151')]=_0xe8cfcc,this[_0x39fb('0x174')]=_0xe8cfcc['model'],this[_0x39fb('0x42')]=new Map(),this[_0x39fb('0xce')]=new Map(),this[_0x39fb('0x72')]();}[_0x39fb('0x173')](_0xa119f,_0x4b8b91,_0x16cb09,_0x1b864c,_0x373a33,_0x25535a){return new _0x357cdc(this[_0x39fb('0x174')],{'type':_0xa119f,'subType':_0x4b8b91,'id':_0x16cb09,'author':_0x1b864c,'creator':_0x1b864c,'attributes':_0x373a33,'onAttributesChange':_0x25535a,'onAccept':(..._0x5a2a11)=>this[_0x39fb('0x4b')](_0xa119f,_0x4b8b91,'accept')(..._0x5a2a11),'onDiscard':(..._0x39fe97)=>this[_0x39fb('0x4b')](_0xa119f,_0x4b8b91,_0x39fb('0x1f'))(..._0x39fe97)});}[_0x39fb('0x5')](_0x1b63c8,_0x4ad688,_0x346795,_0x378efa){const _0x44e03b=_0x1b63c8+':'+_0x4ad688+':'+_0x346795;this['_customCallbacks'][_0x39fb('0xcb')](_0x44e03b,_0x378efa);}[_0x39fb('0x4b')](_0x52a187,_0x4c6137,_0x4a70c7){const _0x1c110a=_0x52a187+':'+_0x4c6137+':'+_0x4a70c7;return this[_0x39fb('0x42')][_0x39fb('0x127')](_0x1c110a)||this[_0x39fb('0xce')][_0x39fb('0x127')](_0x52a187+':'+_0x4a70c7);}[_0x39fb('0x72')](){const _0x4de43a=()=>!0x1,_0x3e2e6e=_0x7f45f0=>{_0x7f45f0[_0x39fb('0xc5')]((_0x32fe57,_0xd0be4a)=>_0x32fe57['start'][_0x39fb('0x109')](_0xd0be4a[_0x39fb('0x76')])?0x1:-0x1),this[_0x39fb('0x174')][_0x39fb('0xf')](_0x19312e=>{for(const _0xe57187 of _0x7f45f0){let _0x2e8839;_0x2e8839=_0xe57187[_0x39fb('0x139')][_0x39fb('0x123')]&&_0xe57187['end'][_0x39fb('0x103')]==_0xe57187[_0x39fb('0x76')][_0x39fb('0x13d')]?_0x19312e[_0x39fb('0x144')](_0xe57187[_0x39fb('0x76')][_0x39fb('0x13d')],'on'):_0x19312e[_0x39fb('0x144')](_0xe57187),this['_model'][_0x39fb('0xe')](_0x2e8839,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x1878f1=(_0x3d0e5f,_0x1860d4)=>{_0x1860d4&&this['_model']['change'](_0x562774=>{const {commandName:_0x4e092a,commandParams:_0x532fd8=[]}=_0x1860d4,_0x5b6773=_0x3d0e5f[_0x39fb('0x171')](_0x4447b2=>(Tt(_0x4447b2)&&(_0x4447b2=this[_0x39fb('0x174')][_0x39fb('0x1b')](_0x4447b2['end'])),_0x4447b2))[_0x39fb('0xe2')](_0x1fc32c=>_0x39fb('0x50')!==_0x1fc32c[_0x39fb('0x57')][_0x39fb('0x105')]);if(_0x5b6773[_0x39fb('0x12f')]<0x1)return;const _0x111c6c=Array['from'](this[_0x39fb('0x174')][_0x39fb('0x77')][_0x39fb('0x143')][_0x39fb('0xcf')]())[_0x39fb('0x171')](_0x5e1e25=>_0x4839ef[_0x39fb('0x130')](_0x5e1e25));_0x562774[_0x39fb('0xf1')](_0x5b6773);for(const _0x4992c7 of this[_0x39fb('0x151')][_0x39fb('0x159')][_0x39fb('0x159')]())_0x4992c7[_0x39fb('0xb7')]();_0x532fd8[_0x39fb('0x99')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x39fb('0x47')](_0x4e092a,..._0x532fd8);const _0x466d7c=_0x111c6c['filter'](_0x2bff98=>_0x39fb('0x50')!=_0x2bff98['root'][_0x39fb('0x105')]);_0x466d7c[_0x39fb('0x12f')]>0x0&&_0x562774[_0x39fb('0xf1')](_0x466d7c);for(const _0x1628a4 of _0x111c6c)_0x1628a4[_0x39fb('0x177')]();});},_0x4ec4e4=(_0x16e7bc,_0x5dde7f)=>0x1==_0x16e7bc['length']&&0x1==_0x5dde7f[_0x39fb('0x12f')]&&_0x16e7bc[0x0]['end'][_0x39fb('0xfe')](_0x5dde7f[0x0]['start']),_0x37012c=(_0xf80202,_0x43e2c8,_0x23a2d9,_0x21bec2)=>Ot(_0xf80202,_0x43e2c8,_0x23a2d9,_0x21bec2,this[_0x39fb('0x174')])?[_0xf80202,_0x43e2c8]:Ot(_0x43e2c8,_0xf80202,_0x21bec2,_0x23a2d9,this[_0x39fb('0x174')])?[_0x43e2c8,_0xf80202]:null;this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0x14'),_0x4de43a),this['_defaultCallbacks'][_0x39fb('0xcb')](_0x39fb('0x117'),_0x3e2e6e),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0x168'),_0x4ec4e4),this[_0x39fb('0xce')][_0x39fb('0xcb')]('insertion:chain',_0x37012c),this[_0x39fb('0xce')]['set'](_0x39fb('0xe5'),_0x3e2e6e),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0xc2'),_0x4de43a),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0xd4'),_0x4ec4e4),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0x11f'),_0x37012c),this['_defaultCallbacks'][_0x39fb('0xcb')](_0x39fb('0x17c'),_0x1878f1),this[_0x39fb('0xce')]['set']('formatInline:discard',_0x4de43a),this[_0x39fb('0xce')]['set'](_0x39fb('0x86'),_0x4ec4e4),this[_0x39fb('0xce')][_0x39fb('0xcb')]('formatInline:chain',_0x4de43a),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0xd0'),_0x1878f1),this['_defaultCallbacks'][_0x39fb('0xcb')]('formatBlock:discard',_0x4de43a),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0x14b'),_0x4ec4e4),this['_defaultCallbacks'][_0x39fb('0xcb')](_0x39fb('0x53'),_0x4de43a),this[_0x39fb('0xce')][_0x39fb('0xcb')](_0x39fb('0xa6'),_0x4de43a),this['_defaultCallbacks'][_0x39fb('0xcb')](_0x39fb('0x75'),(_0x27c552,_0x23f1bf)=>{if(!_0x23f1bf)return;const _0x3a08e9=this['_editor'][_0x39fb('0x147')][_0x39fb('0x127')](p);this[_0x39fb('0x174')][_0x39fb('0xf')](_0x561de6=>{if(_0x39fb('0xdc')==_0x23f1bf[_0x39fb('0x65')])for(const _0xd7551e of _0x27c552){const _0x647bb1=_0xd7551e[_0x39fb('0x76')][_0x39fb('0x13d')],_0x39af87=_0x23f1bf[_0x39fb('0x73')];_0x561de6[_0x39fb('0x14a')](_0x647bb1,_0x39af87);}else{if(_0x3a08e9['_isBlockAttribute'](_0x23f1bf[_0x39fb('0x65')]))for(const _0x309693 of _0x27c552)void 0x0!==_0x23f1bf['oldValue']?_0x561de6[_0x39fb('0x10')](_0x23f1bf[_0x39fb('0x65')],_0x23f1bf[_0x39fb('0x73')],_0x309693[_0x39fb('0x76')]['nodeAfter']):_0x561de6[_0x39fb('0x80')](_0x23f1bf['key'],_0x309693[_0x39fb('0x76')][_0x39fb('0x13d')]);else for(const _0x598117 of _0x27c552)_0x23f1bf[_0x39fb('0x73')]?_0x561de6[_0x39fb('0x10')](_0x23f1bf['key'],_0x23f1bf['oldValue'],_0x598117):_0x561de6[_0x39fb('0x80')](_0x23f1bf[_0x39fb('0x65')],_0x598117);}});}),this['_defaultCallbacks'][_0x39fb('0xcb')](_0x39fb('0x7a'),_0x4ec4e4);}}function Bt(_0x1b8710,_0x5a9a38,_0x428e5f){for(const _0x3c861d of _0x5a9a38[_0x39fb('0x103')][_0x39fb('0xb0')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3c861d[_0x39fb('0x57')]==_0x3c861d)return!0x1;if(!_0x428e5f[_0x39fb('0x150')](_0x3c861d))return!0x1;if(_0x1b8710[_0x39fb('0x35')](_0x3c861d)||_0x1b8710[_0x39fb('0xe1')](_0x3c861d))return!0x0;}return!0x1;}function Tt(_0x450214){return _0x450214['end'][_0x39fb('0x103')]==_0x450214[_0x39fb('0x76')][_0x39fb('0x13d')]&&_0x450214['end'][_0x39fb('0xda')];}function xt(_0x1b3ac5,_0x5deb7b,_0x34bb7e,_0x12ed93){const _0x40d659=_0x12b8eb=>!_0x12b8eb[_0x39fb('0xe7')]['is'](_0x39fb('0x17'))&&!_0x12ed93[_0x39fb('0x35')](_0x12b8eb[_0x39fb('0xe7')]),_0x1f4a5e=_0x1b3ac5['start'][_0x39fb('0x51')](_0x40d659),_0xb61c0a=_0x1b3ac5[_0x39fb('0x139')][_0x39fb('0x51')](_0x40d659,{'direction':_0x39fb('0x17a')});return(!_0x1b3ac5[_0x39fb('0x76')][_0x39fb('0xfe')](_0x1f4a5e)||!_0x1b3ac5[_0x39fb('0x139')][_0x39fb('0xfe')](_0xb61c0a))&&(_0x1f4a5e['isBefore'](_0xb61c0a)?_0x34bb7e[_0x39fb('0x9')](_0x5deb7b,{'range':_0x34bb7e[_0x39fb('0x1b')](_0x1f4a5e,_0xb61c0a)}):_0x34bb7e[_0x39fb('0x17f')](_0x5deb7b),!0x0);}function Et(_0x55c98c){return _0x366d56(_0x55c98c);}function Rt(_0x19e78d){const _0x3f7c76=_0x19e78d[_0x39fb('0x76')][_0x39fb('0x13d')];return _0x3f7c76&&_0x3f7c76['is']('element');}function Ut(_0xa2d5cf,_0x4e489d){const _0xb87754=_0x4e489d[_0x39fb('0x3')][_0x39fb('0x35')](_0xa2d5cf)||_0x4e489d[_0x39fb('0x3')]['isSelectable'](_0xa2d5cf);return _0x4e489d['createRange'](_0x4e489d[_0x39fb('0x134')](_0xa2d5cf,_0x39fb('0x71')),_0xb87754?_0x4e489d[_0x39fb('0x16f')](_0xa2d5cf):_0x4e489d[_0x39fb('0x134')](_0xa2d5cf,'end'));}function Ot(_0x4c1c02,_0x89e442,_0x28e733,_0x3e5bde,_0xd03161){if(!Vt(_0x4c1c02,_0x89e442))return!0x1;if(_0x28e733[_0x39fb('0x139')]['isEqual'](_0x3e5bde[_0x39fb('0x76')]))return!0x0;if(_0x4c1c02[_0x39fb('0x2f')]!=_0x89e442[_0x39fb('0x2f')])return!0x1;if(!_0x28e733['end'][_0x39fb('0x1e')](_0x3e5bde['start']))return!0x1;const _0x4cede6=_0xd03161[_0x39fb('0x1b')](_0x28e733[_0x39fb('0x139')],_0x3e5bde[_0x39fb('0x76')])[_0x39fb('0x8b')]();for(const _0x4e1b2a of _0x4cede6)if([_0x39fb('0x164'),_0x39fb('0x122')][_0x39fb('0x13a')](_0x4e1b2a[_0x39fb('0x2f')])&&_0xd03161[_0x39fb('0x3')][_0x39fb('0xe1')](_0x4e1b2a[_0x39fb('0xe7')]))return!0x1;return!0x0;}function Vt(_0xe2fe02,_0x14e009){return!(!_0xe2fe02[_0x39fb('0x5a')]||!_0x14e009['_isDataLoaded'])&&_0x41dc8a(_0xe2fe02['attributes'],_0x14e009['attributes']);}function Gt(_0x489025,_0x3632d1){const _0x2bb333=Ft(_0x489025[_0x39fb('0x111')]),_0x11f93a=Ft(_0x3632d1);if(!_0x489025[_0x39fb('0x5a')])return!0x1;for(const _0x23372a of Object['keys'](_0x11f93a))if(!_0x41dc8a(_0x2bb333[_0x23372a],_0x11f93a[_0x23372a]))return!0x1;return!0x0;}function Ft(_0x2d1ae6){const _0x2a6289=Object[_0x39fb('0x136')]({},_0x2d1ae6);return delete _0x2a6289[_0x39fb('0x63')],delete _0x2a6289[_0x39fb('0xee')],_0x2a6289;}function Pt(_0x16bd81){return _0x39fb('0x15a')==_0x16bd81[_0x39fb('0x2f')]?_0x16bd81[_0x39fb('0x166')][_0x39fb('0x104')]('|')[0x0]:null;}