@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231223.0 → 0.0.0-nightly-20231224.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-
|
|
3
|
+
"version": "0.0.0-nightly-20231224.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-
|
|
44
|
-
"ckeditor5-collaboration": "0.0.0-nightly-
|
|
43
|
+
"ckeditor5": "0.0.0-nightly-20231224.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20231224.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 _0x207c=['keys','markerToData','removeMarker:suggestion:attribute','position','_getAuthorFromId','applyOperation','isArray','oldValue','toViewElement','addClass','createPositionAt','isIntersectingWithRange','root','_recordAttributeSuggestionsFromVersion','markMultiRangeDeletion','deletion:discard','trackChanges.trackFormatChanges','createElement','stop','suggestion','_setSuggestionData','fire','differ','addComment','_breakSuggestionMarker','discardAllSuggestions','getIntersection','has','createdAt','open','ck-suggestion-marker--active','_model','define','assign','isInsideObject','data-suggestion','insertion:','model','ck-suggestion-marker','type','enableReadOnlyMode','_processAttributeChanges','rename','split','isRemovable','_enableDefaultAttributesIntegration','_registerDefaultCallbacks','markBlockFormat','_setSuggestionRange','low','group','_recordAttributeChanges','removeComment','options','buildSuggestion','selection','newName','TrackChangesEditing','_enabledCommands','_saved','groupId','track-changes-adapter-missing-getsuggestion','track-changes-suggestion-data-mismatch','locale','insertion','substring','element','tablePasteChainId','markInsertion','$text','move','refresh','deleteContent','createSelection','isLimit','multi','howMany','commands','after','previous','formatBlock:chain','subType','markMultiRangeBlockFormat','start','Users','announce','then','fromCharCode','containsItem','_updateSuggestionData','reconvertMarker','PendingActions','registerPostFixer','getDifference','rootName','acceptSuggestion','startsWith','rejected','every','getUser','nodeAfter','skipNestingCheck','batch','consumable','containsRangeInObject','isSelectable','length','addMarker:suggestion:formatBlock','discardSelectedSuggestions','change:activeMarkers','_inlineAttributeKeys','config','document','createRange','insertion:join','markerNameToElements','track-changes-enable-command-twice','consume','_processAttributeSuggestions','formatBlock','formatInline','addMarker:suggestion:attribute','removeMarker','acceptAllSuggestions','deletion','author','_onDiscard','creator','attributeNewValue','conversion','detach','removeClass','markMultiRangeInsertion','_getExternalAuthor','marker-count','getCommentThread','getSuggestionCallback','deletion:join','schema','fetchCommentThread','_getSuggestionData','size','_isBlockAttribute','newValue','markDeletion','find','suggestion:','isAtEnd','_joinSuggestions','editing','execute','createRangeIn','formatInline:join','forEach','targetPosition','discard','_refreshAttributeSuggestionsChain','isBefore','warn','_registerInlineAttribute','change','formatBlock:','value','splitPosition','getChangedMarkers','showSuggestionHighlights','attribute:accept','external:','adapter','@external','getSuggestions','ck-suggestion-marker-','set','CommentsRepository','_initAriaMarkerChangeAnnouncements','addMarker','isTouching','discardSuggestion','getCustomProperty','key','containsRange','nodeBefore','_addThreadToSuggestion','formatBlock:accept','pop','formatInline:chain','some','getAttribute','forceDefaultExecution','_customCallbacks','attributes','change:_saved','isDocumentOperation','documentSelection','track-changes-adapter-already-set','addHighlight','attribute:','_reduceExistingSuggestions','_addSuggestionMarker','get','attributeKey','formatBlock:discard','multipleBlocks','_handleNewSuggestionMarker','formatInline:','requires','markers','suggestion-type','setAttribute','hasCommentThread','markerToHighlight','next','item','_createSuggestion','head','isAfter','end','isOwn','unbind','isCollapsed','formatInline:accept','_commentsRepository','return','_isDataLoaded','markerName','changeAttribute','removeAttribute','_mergeNestedSuggestions','_suggestionFactory','_rangeIsInLocalUserInsertion','$graveyard','_reduceSuggestionAttributeRange','isEqual','insertion:chain','editingDowncast','addSuggestionData','addSuggestion','getMultiRangeId','ck-suggestion-marker-formatInline','FORMATTING','$elementName','$textProxy','filter','accepted','addUser','splice','normal','markAttributeChange','suggestionLoaded','delete','hasComments','_registerBlockAttribute','ready','formatGroupId','getRange','elementStart','removeMarker:suggestion:formatBlock','createRangeOn','_suggestionState','setSelection','_findSuggestions','add','clone','parent','LEAVE','_editor','isLocal','_suggestions','insert','trackChanges','suggestionChanged','catch','resolve','containsPosition','clear','isIntersecting','format','isExternal','ck-suggestion-marker-formatBlock','$marker','suggestionUnloaded','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.','isObject','update:suggestion','hasSuggestion','attribute','values','never','deletion:accept','removed','_splitMarkerName','trackChanges.mergeNestedSuggestions','range','commentThread','getLastMatchingPosition','comments','sort','_adapter','default','plugins','containerElement','name','newRange','_isForcedDefaultExecutionBlock','trackChangesCommand','isBlock','upcast','from','unshift','getRanges','remove','track-changes-command-not-found','editor','isAtStart','isMultiRange','suggestion:attribute:','data','push','enableCommand','always','removeMarkers','getSuggestion','_trackFormatChanges','isNextTo','getAncestors','getShiftedBy','addRange','attribute:join','isInContent','widget','enqueueChange','mapper','updateMarker','commandName','getFirstMarker','getFirstRange','_blockAttributeKeys','toUpperCase','addCommentThread','includes','createPositionBefore','addMarkerName','insertion:accept','backward','updateSuggestion','markerReady','oldRange','deletion:','map','getAllAdjacentSuggestions','_refreshSuggestionsChain','ariaLiveAnnouncer','_checkSuggestionCorrectness','getNearestSelectionRange','getItems','authoredAt','high','formatBlock:join','dataDowncast','unbindElementFromMarkerName','_getMarkerAnnouncementText','notReady','for','highest','listenTo','stopListening','addMarker:suggestion','_defaultCallbacks','writer','getChanges','PENDING_ACTION_SUGGESTION','getOperations','before','collaboration.channelId','deletion:chain','_joinWithAdjacentSuggestions','moveTargetPosition','accept','join','insertContent','acceptSelectedSuggestions'];(function(_0x15b198,_0x207c8e){const _0x6e58b1=function(_0x1d0a06){while(--_0x1d0a06){_0x15b198['push'](_0x15b198['shift']());}};_0x6e58b1(++_0x207c8e);}(_0x207c,0xbf));const _0x6e58=function(_0x15b198,_0x207c8e){_0x15b198=_0x15b198-0x0;let _0x6e58b1=_0x207c[_0x15b198];return _0x6e58b1;};import{Plugin as _0x15c193,PendingActions as _0x5328d8}from'ckeditor5/src/core.js';import{LiveRange as _0x16f1c9}from'ckeditor5/src/engine.js';import{CKEditorError as _0x1efb49,uid as _0x1b9186,priorities as _0x2970f9,logWarning as _0x33da38}from'ckeditor5/src/utils.js';import{toWidget as _0x26fc1e}from'ckeditor5/src/widget.js';import{Users as _0x2e74aa,hashObject as _0x5c0e66,surroundingMarkersDetector as _0x2a67d9}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe57201 from'./commands/trackchangescommand.js';import _0x1673d1 from'./commands/acceptsuggestioncommand.js';import _0x23d053 from'./commands/discardsuggestioncommand.js';import _0x1c3c9c from'./commands/executeonallsuggestionscommand.js';import _0x3b56c5 from'./commands/executeonselectedsuggestionscommand.js';import _0x12d829 from'./suggestion.js';import _0x39bf9e from'./suggestiondescriptionfactory.js';import _0x3cf5a3 from'./integrations/aiassistant.js';import _0x3efe07 from'./integrations/alignment.js';import _0x41e287 from'./integrations/basicstyles.js';import _0x4f515f from'./integrations/blockquote.js';import _0x3f98cd from'./integrations/ckbox.js';import _0x2ae280 from'./integrations/codeblock.js';import _0xd160a4 from'./integrations/comments.js';import _0x40cd03 from'./integrations/deletecommand.js';import _0x278829 from'./integrations/documentlist.js';import _0x7c76c1 from'./integrations/documentlistproperties.js';import _0x39213a from'./integrations/entercommand.js';import _0x40f1ce from'./integrations/findandreplace.js';import _0xd5778b from'./integrations/font.js';import _0x134513 from'./integrations/formatpainter.js';import _0x33e89b from'./integrations/heading.js';import _0x17f295 from'./integrations/highlight.js';import _0x84be69 from'./integrations/horizontalline.js';import _0xa8e268 from'./integrations/htmlembed.js';import _0x4f1488 from'./integrations/image.js';import _0x563618 from'./integrations/imagereplace.js';import _0x1a6f10 from'./integrations/imagestyle.js';import _0x30c79b from'./integrations/importword.js';import _0x229f79 from'./integrations/indent.js';import _0x5bc4b0 from'./integrations/inputcommand.js';import _0x6242ad from'./integrations/link.js';import _0x54d821 from'./integrations/list.js';import _0x33c9be from'./integrations/listproperties.js';import _0x40fd2c from'./integrations/mediaembed.js';import _0x395763 from'./integrations/mention.js';import _0x533436 from'./integrations/pagebreak.js';import _0x5a25e0 from'./integrations/paragraph.js';import _0x574600 from'./integrations/removeformat.js';import _0x4d4c02 from'./integrations/restrictededitingmode.js';import _0xa347ff from'./integrations/shiftentercommand.js';import _0x3ba594 from'./integrations/standardeditingmode.js';import _0x165ff6 from'./integrations/style.js';import _0xcc9b1d from'./integrations/table.js';import _0x2bb574 from'./integrations/tablemergesplit.js';import _0x1e003b from'./integrations/tableheadings.js';import _0x3bce59 from'./integrations/tableclipboard.js';import _0x3ab54b from'./integrations/tablecolumnresize.js';import _0x3273bb from'./integrations/template.js';import _0xe2ffd8 from'./integrations/tableofcontents.js';import _0x5ef19c from'./integrations/title.js';import _0x43ecf9 from'./integrations/undo.js';import _0x53d101 from'./integrations/tablecaption.js';import _0xe25dc3 from'./integrations/tableproperties.js';import{getTranslation as _0x92bc98}from'./utils/common-translations.js';import{isEqual as _0x18815d,omit as _0x1a4270}from'lodash-es';export const renameAttributeKey=_0x6e58('0x31');export default class p extends _0x15c193{static get[_0x6e58('0xe')](){return['CommentsRepository',_0x2e74aa,_0x5328d8,_0x3cf5a3,_0x3efe07,_0x41e287,_0x4f515f,_0x3f98cd,_0x2ae280,_0xd160a4,_0x40cd03,_0x278829,_0x7c76c1,_0x39213a,_0x40f1ce,_0xd5778b,_0x134513,_0x33e89b,_0x17f295,_0x84be69,_0xa8e268,_0x4f1488,_0x1a6f10,_0x563618,_0x30c79b,_0x229f79,_0x5bc4b0,_0x6242ad,_0x54d821,_0x33c9be,_0x40fd2c,_0x395763,_0x533436,_0x5a25e0,_0x574600,_0x4d4c02,_0xa347ff,_0x3ba594,_0x165ff6,_0xcc9b1d,_0x2bb574,_0x1e003b,_0x53d101,_0x3bce59,_0x3ab54b,_0xe2ffd8,_0xe25dc3,_0x3273bb,_0x5ef19c,_0x43ecf9];}static get['pluginName'](){return _0x6e58('0xf7');}constructor(_0x3610eb){function _0x1c3360(_0x4bab57){return _0x4bab57['map'](_0x21cde8=>String[_0x6e58('0x115')](_0x21cde8))['join']('');}super(_0x3610eb),this[_0x6e58('0xcb')]=null,this['set']('activeMarkers',[]),this['on'](_0x6e58('0x12b'),(_0x167b9a,_0x524675,_0x32a4df,_0x212f6d)=>{this[_0x6e58('0xdd')]['change'](()=>{for(const _0x3dab80 of[..._0x212f6d,..._0x32a4df])this[_0x6e58('0xdd')]['markers']['has'](_0x3dab80)&&_0x3610eb[_0x6e58('0x153')][_0x6e58('0x118')](_0x3dab80);});}),this['_descriptionFactory']=new _0x39bf9e(this[_0x6e58('0x79')][_0x6e58('0xe3')][_0x6e58('0x148')],this['editor'][_0x6e58('0xfd')]),this[_0x6e58('0x6a')]=null,this['_suggestionFactory']=new $t(this[_0x6e58('0x79')]),this['_suggestions']=new Map(),this[_0x6e58('0x1e')]=_0x3610eb[_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x16b')),this[_0x6e58('0xf8')]=new Set(),this[_0x6e58('0xdd')]=this[_0x6e58('0x79')]['model'],this['_suggestionState']=new WeakMap(),this[_0x6e58('0x70')]=!0x1,this[_0x6e58('0x91')]=new Set([_0x6e58('0x31')]),this[_0x6e58('0x12c')]=new Set(),_0x3610eb[_0x6e58('0x12d')][_0x6e58('0xde')](_0x6e58('0xce'),_0x6e58('0x6b')),this[_0x6e58('0x83')]=_0x3610eb['config'][_0x6e58('0x8')]('trackChanges.trackFormatChanges'),_0x3610eb[_0x6e58('0x12d')][_0x6e58('0xde')]('trackChanges.mergeNestedSuggestions',!0x0),this[_0x6e58('0x24')]=_0x3610eb[_0x6e58('0x12d')][_0x6e58('0x8')](_0x6e58('0x64')),this[_0x6e58('0x71')]=new _0xe57201(_0x3610eb,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x1c3360([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x1c3360([0x34,0x30,0x34,0x36,0x32,0x34,0x34,0x38]);}['init'](){const _0x5950b4=this['editor'],_0x2fd436=(_0xdbbe0,_0x52f1b1)=>{if('attribute'!=_0xdbbe0)return _0x6e58('0x169')+_0xdbbe0;const _0x35b6cb=_0x52f1b1[_0x6e58('0xe9')]('|')[0x0];return this[_0x6e58('0x14c')](_0x35b6cb)?_0x6e58('0x57'):_0x6e58('0x2f');};_0x5950b4['conversion'][_0x6e58('0xab')]('editingDowncast')[_0x6e58('0x13')]({'model':'suggestion','view':_0x564153=>{const {id:_0x5f4094,type:_0x1f6798,subType:_0x4d5988}=this['_splitMarkerName'](_0x564153[_0x6e58('0x21')]),_0x167446=[_0x6e58('0xe4'),_0x2fd436(_0x1f6798,_0x4d5988)];let _0x3374d8=0xbb8;return this['activeMarkers'][_0x6e58('0x94')](_0x564153[_0x6e58('0x21')])&&(_0x167446[_0x6e58('0x7e')]('ck-suggestion-marker--active'),_0x3374d8=0xbc2),_0x6e58('0x13a')==_0x1f6798&&(_0x3374d8+=0x5),{'classes':_0x167446,'attributes':{'data-suggestion':_0x5f4094},'priority':_0x3374d8};}}),_0x5950b4[_0x6e58('0x13f')][_0x6e58('0xab')]('dataDowncast')[_0x6e58('0x46')](_0x298bfd=>{_0x298bfd['on'](_0x6e58('0xaf'),(_0x313423,_0x3d36a0,_0x46a60f)=>{if(!_0x46a60f[_0x6e58('0xf3')][_0x6e58('0x163')])return;const _0x2c420e=_0x3d36a0[_0x6e58('0x15')];if(!_0x2c420e)return;const _0x34107b=_0x46a60f[_0x6e58('0x8c')][_0x6e58('0xc6')](_0x2c420e);_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x148')][_0x6e58('0x5b')](_0x2c420e)&&_0x34107b&&!_0x34107b[_0x6e58('0x170')](_0x6e58('0x8a'))&&_0x34107b['is'](_0x6e58('0x6d'))&&_0x26fc1e(_0x34107b,_0x46a60f[_0x6e58('0xb1')]);},{'priority':'high'});}),_0x5950b4['conversion'][_0x6e58('0xab')](_0x6e58('0xa7'))[_0x6e58('0x13')]({'model':_0x6e58('0xd1'),'view':(_0x2790b3,_0x158058)=>{if(!_0x158058['options'][_0x6e58('0x163')])return null;const {type:_0x7d3a30,subType:_0x59bbf8}=this[_0x6e58('0x63')](_0x2790b3['markerName']);return{'classes':[_0x6e58('0xe4'),_0x2fd436(_0x7d3a30,_0x59bbf8)],'priority':0xbb8};}});const _0x10c01f=({showActiveMarkers:_0x311a7e=!0x0,isAttributeSuggestion:_0x2e996d=!0x1}={})=>(_0x23e344,_0x462ec3,_0x4bd6f7)=>{if(!_0x462ec3['item'])return;const {id:_0x4f5ac1}=this['_splitMarkerName'](_0x462ec3[_0x6e58('0x21')]);if(_0x2e996d){const _0x1dc2b7=Pt(this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x4f5ac1));if(!this[_0x6e58('0x14c')](_0x1dc2b7))return;}if(_0x462ec3[_0x6e58('0x15')]['is']('selection'))return void _0x4bd6f7[_0x6e58('0x125')][_0x6e58('0x133')](_0x462ec3[_0x6e58('0x15')],_0x23e344['name']);const _0x3cf8c9=_0x4bd6f7[_0x6e58('0x8c')]['toViewElement'](_0x462ec3[_0x6e58('0x15')]);if(_0x462ec3[_0x6e58('0x15')]['is'](_0x6e58('0x100'))&&_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x148')]['isBlock'](_0x462ec3[_0x6e58('0x15')])&&!_0x3cf8c9[_0x6e58('0x170')](_0x6e58('0x4'))){_0x4bd6f7['writer'][_0x6e58('0xc7')]([_0x6e58('0xe4'),_0x6e58('0x57')],_0x3cf8c9),_0x4bd6f7[_0x6e58('0xb1')][_0x6e58('0x11')]('data-suggestion',_0x4f5ac1,_0x3cf8c9),_0x4bd6f7[_0x6e58('0x8c')]['bindElementToMarker'](_0x3cf8c9,_0x462ec3['markerName']),_0x311a7e&&(this['activeMarkers'][_0x6e58('0x94')](_0x462ec3['markerName'])?_0x4bd6f7[_0x6e58('0xb1')][_0x6e58('0xc7')](_0x6e58('0xdc'),_0x3cf8c9):_0x4bd6f7[_0x6e58('0xb1')][_0x6e58('0x141')]('ck-suggestion-marker--active',_0x3cf8c9));for(const _0x1499ba of _0x5950b4[_0x6e58('0xe3')][_0x6e58('0x155')](_0x462ec3['item'])[_0x6e58('0xa3')]())_0x4bd6f7[_0x6e58('0x125')][_0x6e58('0x133')](_0x1499ba,_0x23e344[_0x6e58('0x6e')]);_0x4bd6f7['consumable'][_0x6e58('0x133')](_0x462ec3[_0x6e58('0x15')],_0x23e344['name']);}};_0x5950b4[_0x6e58('0x13f')]['for'](_0x6e58('0xa7'))[_0x6e58('0x46')](_0x55697f=>{_0x55697f['on'](_0x6e58('0x129'),(_0x31262b,_0x1fd29e,_0x3775ea)=>{_0x3775ea[_0x6e58('0xf3')][_0x6e58('0x163')]&&_0x10c01f({'showActiveMarkers':!0x1})(_0x31262b,_0x1fd29e,_0x3775ea);},{'priority':_0x6e58('0xac')});}),_0x5950b4[_0x6e58('0x13f')][_0x6e58('0xab')](_0x6e58('0xa7'))[_0x6e58('0x46')](_0x20a3b0=>{_0x20a3b0['on'](_0x6e58('0x137'),(_0x29434f,_0x296061,_0x2574b0)=>{_0x2574b0[_0x6e58('0xf3')]['showSuggestionHighlights']&&_0x10c01f({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x29434f,_0x296061,_0x2574b0);},{'priority':'highest'});}),_0x5950b4['conversion'][_0x6e58('0xab')](_0x6e58('0xa7'))[_0x6e58('0xbf')]({'model':_0x6e58('0xd1'),'view':(_0xaf09f7,_0x4c8ec9)=>_0x4c8ec9['options'][_0x6e58('0x163')]?null:{'group':_0x6e58('0xd1'),'name':_0xaf09f7['substr'](0xb)}}),_0x5950b4[_0x6e58('0x13f')][_0x6e58('0xab')](_0x6e58('0x73'))['elementToElement']({'view':{'name':_0x6e58('0xd1'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x3ccc26,{writer:_0x2cdba8})=>{let _0x327ba8=_0x6e58('0x150')+_0x3ccc26[_0x6e58('0x179')](_0x6e58('0x10'))+':'+_0x3ccc26[_0x6e58('0x179')]('id');return _0x3ccc26[_0x6e58('0x179')](_0x6e58('0x144'))&&(_0x327ba8+=':'+_0x3ccc26[_0x6e58('0x179')]('marker-count')),_0x2cdba8[_0x6e58('0xcf')](_0x6e58('0x58'),{'data-name':_0x327ba8});}}),_0x5950b4['conversion']['for'](_0x6e58('0x73'))['dataToMarker']({'view':_0x6e58('0xd1')}),_0x5950b4[_0x6e58('0x13f')]['for'](_0x6e58('0x2b'))[_0x6e58('0x46')](_0x4981e3=>{_0x4981e3['on'](_0x6e58('0x129'),_0x10c01f(),{'priority':_0x6e58('0xa5')});}),_0x5950b4[_0x6e58('0x13f')][_0x6e58('0xab')](_0x6e58('0x2b'))['add'](_0x37d051=>{_0x37d051['on'](_0x6e58('0x137'),_0x10c01f({'isAttributeSuggestion':!0x0}),{'priority':_0x6e58('0xa5')});}),_0x5950b4['conversion'][_0x6e58('0xab')](_0x6e58('0x2b'))['add'](_0x2681de=>{_0x2681de['on'](_0x6e58('0x41'),(_0x4518f4,_0x1ecb04,_0x9432e7)=>{const _0x2784e6=_0x9432e7[_0x6e58('0x8c')][_0x6e58('0x131')](_0x1ecb04[_0x6e58('0x21')]);if(_0x2784e6)for(const _0x280297 of _0x2784e6)_0x280297['getCustomProperty'](_0x6e58('0x4'))||(_0x9432e7['writer']['removeClass']([_0x6e58('0xe4'),_0x6e58('0x57'),_0x6e58('0xdc')],_0x280297),_0x9432e7[_0x6e58('0xb1')][_0x6e58('0x23')]('data-suggestion',_0x280297),_0x9432e7['mapper']['unbindElementFromMarkerName'](_0x280297,_0x1ecb04['markerName']));},{'priority':_0x6e58('0xa5')});}),_0x5950b4[_0x6e58('0x13f')][_0x6e58('0xab')](_0x6e58('0x2b'))['add'](_0x2eb711=>{_0x2eb711['on'](_0x6e58('0xc0'),(_0x4a97cb,_0x3f0a4c,_0x420a70)=>{const _0xe304d1=_0x420a70[_0x6e58('0x8c')][_0x6e58('0x131')](_0x3f0a4c[_0x6e58('0x21')]);if(!_0xe304d1)return;const {id:_0x573821}=this[_0x6e58('0x63')](_0x3f0a4c['markerName']),_0x2f39f0=Pt(this['_suggestions'][_0x6e58('0x8')](_0x573821));if(this[_0x6e58('0x14c')](_0x2f39f0))for(const _0x22c5c9 of _0xe304d1)_0x22c5c9[_0x6e58('0x170')](_0x6e58('0x4'))||(_0x420a70[_0x6e58('0xb1')][_0x6e58('0x141')]([_0x6e58('0xe4'),'ck-suggestion-marker-formatBlock',_0x6e58('0xdc')],_0x22c5c9),_0x420a70[_0x6e58('0xb1')]['removeAttribute'](_0x6e58('0xe1'),_0x22c5c9),_0x420a70[_0x6e58('0x8c')][_0x6e58('0xa8')](_0x22c5c9,_0x3f0a4c['markerName']));},{'priority':_0x6e58('0xa5')});}),_0x5950b4['model'][_0x6e58('0x12e')][_0x6e58('0x11a')](_0x20a66b=>{let _0x2fe8c2=!0x1;const _0xf69b3=Array['from'](_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12e')]['differ'][_0x6e58('0x162')]()),_0x57fa7a=new Set();for(const {name:_0x4fd2c7,data:_0x16b94f}of _0xf69b3){const {group:_0x1fc7ec,type:_0x226644,subType:_0x14495e,id:_0x45d6e6}=this[_0x6e58('0x63')](_0x4fd2c7);if(_0x6e58('0xd1')!==_0x1fc7ec)continue;const _0x18ce67=this['_suggestions'][_0x6e58('0x8')](_0x45d6e6);if(null!=_0x16b94f[_0x6e58('0x6f')]){_0x6e58('0x136')==_0x226644&&(_0x2fe8c2=_0x2fe8c2||xt(_0x16b94f[_0x6e58('0x6f')],_0x4fd2c7,_0x20a66b,_0x5950b4[_0x6e58('0xe3')]['schema']));const _0x24ba36=_0x6e58('0x5e')==_0x226644&&this['_isBlockAttribute'](_0x14495e[_0x6e58('0xe9')]('|')[0x0]);if(_0x16b94f[_0x6e58('0x6f')][_0x6e58('0x1c')]||_0x6e58('0x27')==_0x16b94f[_0x6e58('0x6f')][_0x6e58('0xca')]['rootName']||_0x6e58('0x135')==_0x226644&&!Rt(_0x16b94f[_0x6e58('0x6f')])||_0x24ba36&&!Rt(_0x16b94f['newRange'])||_0x6e58('0x13a')==_0x226644&&!(!Tt(_0x5d35d4=_0x16b94f['newRange'])&&!function(_0x41179e){return _0x41179e['start']['parent']==_0x41179e[_0x6e58('0x19')]['nodeBefore']&&_0x41179e['start']['isAtEnd'];}(_0x5d35d4)))_0x20a66b[_0x6e58('0x138')](_0x4fd2c7),_0x2fe8c2=!0x0;else{if(!_0x18ce67||!_0x18ce67[_0x6e58('0x89')])continue;_0x57fa7a[_0x6e58('0x46')](_0x18ce67);}}}var _0x5d35d4;return _0x57fa7a[_0x6e58('0x14b')]>0x0&&(_0x2fe8c2=!!this['_joinWithAdjacentSuggestions'](_0x57fa7a)||_0x2fe8c2),_0x2fe8c2;}),_0x5950b4['model'][_0x6e58('0x12e')][_0x6e58('0x11a')](_0xa7e7a3=>{let _0x13b6be=!0x1;for(const _0x4c35f3 of _0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12e')]['differ'][_0x6e58('0xb2')]())if(_0x6e58('0x4d')==_0x4c35f3[_0x6e58('0xe5')])for(const _0xd4eab2 of this[_0x6e58('0x4c')][_0x6e58('0x5f')]()){if(_0xd4eab2[_0x6e58('0x7b')]||!_0xd4eab2[_0x6e58('0x89')])continue;const _0x42fe68=_0x6e58('0x135')==_0xd4eab2[_0x6e58('0xe5')],_0x5dfa2e=Pt(_0xd4eab2),_0x4c5f3f=_0x5dfa2e&&this['_isBlockAttribute'](_0x5dfa2e);if(!_0x42fe68&&!_0x4c5f3f)continue;const _0x3f8a92=_0xd4eab2[_0x6e58('0x90')]();if(_0x3f8a92[_0x6e58('0x111')]['parent']!=_0x3f8a92[_0x6e58('0x19')]['parent']&&!_0x3f8a92[_0x6e58('0x19')][_0x6e58('0x151')]){const _0x1bea5f=_0x5950b4['model'][_0x6e58('0xc8')](_0x3f8a92['start'][_0x6e58('0x122')],_0x6e58('0x19')),_0x5aba4b=_0x5950b4[_0x6e58('0xe3')]['createRange'](_0x3f8a92[_0x6e58('0x111')],_0x1bea5f);_0xa7e7a3[_0x6e58('0x8d')](_0xd4eab2[_0x6e58('0x8f')](),{'range':_0x5aba4b}),_0x13b6be=!0x0;}}return _0x13b6be;}),_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12e')][_0x6e58('0x11a')](_0xfa6b1e=>this['_processAttributeChanges'](_0xfa6b1e)),_0x5950b4[_0x6e58('0xe3')]['document']['registerPostFixer'](_0x3067bd=>!_0x3067bd[_0x6e58('0x124')]['isLocal']&&this[_0x6e58('0x134')](_0x3067bd)),_0x5950b4['model'][_0x6e58('0xf')]['on'](_0x6e58('0x5c'),(_0x845a59,_0x59984e,_0xe8abb9)=>{if(null==_0xe8abb9){const {id:_0x5777a3}=this[_0x6e58('0x63')](_0x59984e[_0x6e58('0x6e')]),_0x12a71d=this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x5777a3);_0x12a71d&&_0x12a71d['addMarkerName'](_0x59984e[_0x6e58('0x6e')]);}}),_0x5950b4[_0x6e58('0xe3')]['document']['on']('change:data',()=>{const _0x332cd2=Array[_0x6e58('0x74')](_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12e')][_0x6e58('0xd4')]['getChangedMarkers']())['filter'](_0x11c6c2=>'suggestion'===this[_0x6e58('0x63')](_0x11c6c2['name'])[_0x6e58('0xf0')]);if(0x0===_0x332cd2[_0x6e58('0x128')])return;_0x332cd2[_0x6e58('0x69')]((_0x10cafe,_0xd8a838)=>{const _0xab5276=_0x10cafe[_0x6e58('0x7d')]['oldRange'],_0x339a7f=_0xd8a838['data'][_0x6e58('0x9b')];return null===_0xab5276&&null===_0x339a7f?0x0:null===_0xab5276&&null!==_0x339a7f?-0x1:null!==_0xab5276&&null===_0x339a7f?0x1:_0xab5276[_0x6e58('0x111')][_0x6e58('0x15b')](_0x339a7f[_0x6e58('0x111')])?-0x1:0x1;});const _0x5d4592=new Set(),_0x1b2a44=new Set();for(const {name:_0x44b0e1,data:_0x49a4b6}of _0x332cd2){const {id:_0x3241ce}=this[_0x6e58('0x63')](_0x44b0e1);if(null===_0x49a4b6['oldRange']){const _0x3f5ba9=this[_0x6e58('0xc')](_0x44b0e1);_0x1b2a44[_0x6e58('0x46')](_0x3f5ba9);}else{const _0x323ef3=this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x3241ce);null!==_0x49a4b6[_0x6e58('0x6f')]||_0x323ef3[_0x6e58('0x89')]?(_0x5d4592[_0x6e58('0x46')](_0x323ef3[_0x6e58('0x17')]),_0x1b2a44[_0x6e58('0x46')](_0x323ef3)):this['_removeSuggestion'](_0x323ef3);}}_0x1b2a44[_0x6e58('0x14b')]>0x0&&this['_refreshSuggestionsChain'](_0x1b2a44);for(const _0x22fa60 of _0x5d4592)this['fire']('suggestionChanged',_0x22fa60);}),_0x5950b4[_0x6e58('0xe3')]['on'](_0x6e58('0xc3'),(_0x3ca1c4,_0x347781)=>{const _0x9bb139=_0x347781[0x0];if(!this[_0x6e58('0x4c')][_0x6e58('0x14b')])return;if(!_0x9bb139[_0x6e58('0x1')])return;if(_0x9bb139[_0x6e58('0x124')]['isUndo']||!_0x9bb139[_0x6e58('0x124')][_0x6e58('0x4b')])return;let _0x38322a,_0x37e136;switch(_0x9bb139[_0x6e58('0xe5')]){case'insert':_0x38322a=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0xc8')](_0x9bb139[_0x6e58('0xc1')]),_0x37e136=_0x38322a[_0x6e58('0x86')](_0x9bb139[_0x6e58('0x10a')]);break;case _0x6e58('0xe9'):_0x38322a=_0x5950b4[_0x6e58('0xe3')]['createPositionAt'](_0x9bb139[_0x6e58('0x161')]),_0x37e136=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0xc8')](_0x9bb139[_0x6e58('0xb9')]);break;case _0x6e58('0x104'):_0x38322a=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0xc8')](_0x9bb139[_0x6e58('0x158')]),_0x37e136=_0x38322a[_0x6e58('0x86')](_0x9bb139[_0x6e58('0x10a')]);break;default:return;}const _0x1a44e7=_0x5950b4[_0x6e58('0xe3')]['createRange'](_0x38322a,_0x37e136);_0x5950b4['model'][_0x6e58('0x15e')](()=>{for(const {suggestion:_0x4314b2,meta:_0x564742}of this['_findSuggestions'](_0x1a44e7)){if(_0x4314b2[_0x6e58('0x7b')])continue;if('formatInline'==_0x4314b2[_0x6e58('0xe5')])continue;const _0x447dfb=Pt(_0x4314b2);if(_0x447dfb&&this[_0x6e58('0x14c')](_0x447dfb)&&_0x6e58('0xe9')!=_0x9bb139[_0x6e58('0xe5')])continue;const _0x44f7cb=_0x4314b2[_0x6e58('0x7d')]&&_0x4314b2[_0x6e58('0x7d')][_0x6e58('0xb')];(_0x6e58('0x135')!=_0x4314b2['type']||_0x6e58('0xe9')==_0x9bb139[_0x6e58('0xe5')]&&!_0x44f7cb)&&(_0x564742[_0x6e58('0x126')]||_0x6e58('0xfe')==_0x4314b2[_0x6e58('0xe5')]&&_0x564742[_0x6e58('0x1a')]||_0x4314b2['getFirstRange']()[_0x6e58('0x172')](_0x1a44e7)&&this[_0x6e58('0xd6')](_0x4314b2,_0x38322a,_0x37e136));}});},{'priority':'lowest'}),_0x5950b4['model']['on'](_0x6e58('0x106'),(_0x152d73,_0x55ce19)=>{const _0x9afed1=_0x55ce19[0x0],_0x15517b=_0x55ce19[0x1];if(_0x15517b&&_0x15517b[_0x6e58('0x17a')])return;if(this[_0x6e58('0x70')])return;if(!this[_0x6e58('0x71')][_0x6e58('0x160')])return;if(_0x9afed1[_0x6e58('0x1c')])return;const _0x4c2d15=_0x5950b4['model'][_0x6e58('0x148')],{start:_0x570c91,end:_0x261795}=_0x9afed1[_0x6e58('0x90')](),_0x2996df=_0x570c91[_0x6e58('0x122')]&&_0x4c2d15[_0x6e58('0x108')](_0x570c91[_0x6e58('0x122')])?null:_0x4c2d15[_0x6e58('0xa2')](_0x570c91,'forward'),_0x3fa88e=_0x261795[_0x6e58('0x173')]&&_0x4c2d15[_0x6e58('0x108')](_0x261795[_0x6e58('0x173')])?null:_0x4c2d15['getNearestSelectionRange'](_0x261795,_0x6e58('0x98')),_0x23473f=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12f')](_0x2996df?_0x2996df[_0x6e58('0x111')]:_0x570c91,_0x3fa88e?_0x3fa88e[_0x6e58('0x19')]:_0x261795);_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x15e')](_0x21efe2=>{this['markDeletion'](_0x23473f);const _0xe7f617=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x148')][_0x6e58('0xa2')](_0x23473f[_0x6e58('0x111')]);_0x9afed1['is'](_0x6e58('0x2'))?_0x21efe2[_0x6e58('0x44')](_0xe7f617):_0x9afed1['setTo'](_0xe7f617);}),_0x152d73[_0x6e58('0xd0')]();},{'priority':_0x2970f9[_0x6e58('0x37')]+0xa}),_0x5950b4['model']['on']('insertContent',(_0x5ce017,_0x26f9ae)=>{const _0x38921f=_0x26f9ae[_0x26f9ae['length']-0x1];_0x38921f&&_0x38921f['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this[_0x6e58('0x71')][_0x6e58('0x160')]&&(_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x15e')](()=>{let _0x4b579c=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0xbc')](_0x26f9ae[0x0],_0x26f9ae[0x1],_0x26f9ae[0x2],{'forceDefaultExecution':!0x0});if(!_0x4b579c)return;_0x5ce017[_0x6e58('0x1f')]=_0x4b579c[_0x6e58('0x47')]();const _0x1aef01=_0x4b579c['end'][_0x6e58('0x173')],_0x29bb4a=_0x5950b4[_0x6e58('0xe3')]['schema'];_0x1aef01&&_0x29bb4a[_0x6e58('0x72')](_0x1aef01)&&!_0x29bb4a[_0x6e58('0x5b')](_0x1aef01)&&(_0x4b579c=_0x5950b4[_0x6e58('0xe3')][_0x6e58('0x12f')](_0x4b579c[_0x6e58('0x111')],_0x5950b4[_0x6e58('0xe3')][_0x6e58('0xc8')](_0x1aef01,_0x6e58('0x19')))),this[_0x6e58('0x102')](_0x4b579c);}),_0x5ce017[_0x6e58('0xd0')]());},{'priority':'high'}),this[_0x6e58('0x79')][_0x6e58('0x10b')][_0x6e58('0x46')](_0x6e58('0x4e'),this[_0x6e58('0x71')]),this[_0x6e58('0x7f')](_0x6e58('0x4e'));const _0x1f3b94=new _0x1673d1(_0x5950b4,this[_0x6e58('0x4c')]);_0x5950b4[_0x6e58('0x10b')][_0x6e58('0x46')](_0x6e58('0x11d'),_0x1f3b94),this['enableCommand'](_0x6e58('0x11d'));const _0x13c47e=new _0x23d053(_0x5950b4,this['_suggestions']);_0x5950b4[_0x6e58('0x10b')]['add'](_0x6e58('0x16f'),_0x13c47e),this[_0x6e58('0x7f')](_0x6e58('0x16f')),_0x5950b4['commands'][_0x6e58('0x46')]('acceptAllSuggestions',new _0x1c3c9c(_0x5950b4,_0x1f3b94,this['_suggestions'])),this[_0x6e58('0x7f')](_0x6e58('0x139')),_0x5950b4[_0x6e58('0x10b')][_0x6e58('0x46')](_0x6e58('0xd7'),new _0x1c3c9c(_0x5950b4,_0x13c47e,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x5950b4[_0x6e58('0x10b')]['add'](_0x6e58('0xbd'),new _0x3b56c5(_0x5950b4,_0x1f3b94,this[_0x6e58('0x4c')])),this['enableCommand'](_0x6e58('0xbd')),_0x5950b4[_0x6e58('0x10b')][_0x6e58('0x46')](_0x6e58('0x12a'),new _0x3b56c5(_0x5950b4,_0x13c47e,this[_0x6e58('0x4c')])),this[_0x6e58('0x7f')](_0x6e58('0x12a'));const _0x2c5b40=_0x5950b4[_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x16b'));this[_0x6e58('0xad')](_0x2c5b40,_0x6e58('0xd5'),(_0x2c61c0,{threadId:_0x548b76})=>{const _0xe789fc=this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x548b76);_0xe789fc&&_0xe789fc[_0x6e58('0x66')]&&0x1===_0xe789fc[_0x6e58('0x66')]['length']&&this[_0x6e58('0x117')](_0x548b76,{'hasComments':!0x0});},{'priority':_0x6e58('0xef')}),this[_0x6e58('0xad')](_0x2c5b40,_0x6e58('0xf2'),(_0x1138ad,{threadId:_0x3a6563})=>{const _0x1f30f0=this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x3a6563);_0x1f30f0&&_0x1f30f0['commentThread']&&!_0x1f30f0[_0x6e58('0x66')][_0x6e58('0x128')]&&this[_0x6e58('0x117')](_0x3a6563,{'hasComments':!0x1});},{'priority':'low'});}set[_0x6e58('0x166')](_0x458d47){if(this[_0x6e58('0x6a')])throw new _0x1efb49(_0x6e58('0x3'),this);this[_0x6e58('0x6a')]=_0x458d47;}get[_0x6e58('0x166')](){return this[_0x6e58('0x6a')];}['getSuggestions']({skipNotAttached:_0x467c54=!0x1,toJSON:_0x536299=!0x1}={}){const _0x516162=[];for(const _0x1f0b54 of this[_0x6e58('0x4c')][_0x6e58('0x5f')]())_0x467c54&&!_0x1f0b54[_0x6e58('0x89')]||_0x516162['push'](_0x1f0b54);return _0x536299?_0x516162['map'](_0x4f8eaa=>_0x4f8eaa['toJSON']()):_0x516162;}['getSuggestion'](_0x3bf58a){const _0x1f0ab6=this[_0x6e58('0x4c')]['get'](_0x3bf58a);if(!_0x1f0ab6)throw new _0x1efb49('track-changes-suggestion-not-found',this);return _0x1f0ab6;}[_0x6e58('0x5d')](_0x15c9da){return this[_0x6e58('0x4c')]['has'](_0x15c9da);}[_0x6e58('0x2c')](_0x34ce77){const {authorId:_0x41dd77,id:_0x3ad9c4,attributes:_0x5bd93c}=_0x34ce77,[_0xcdeb3a,_0x1e6940]=_0x34ce77[_0x6e58('0xe5')][_0x6e58('0xe9')](':'),_0x4ac318=this[_0x6e58('0x4c')]['get'](_0x3ad9c4)||this[_0x6e58('0x16')](_0xcdeb3a,_0x1e6940,_0x3ad9c4,_0x41dd77,_0x5bd93c);if(this[_0x6e58('0x174')](_0x4ac318),this['_checkSuggestionCorrectness'](_0x4ac318,_0xcdeb3a,_0x1e6940||null,_0x41dd77),_0x4ac318[_0x6e58('0xda')]=_0x34ce77[_0x6e58('0xda')],_0x4ac318[_0x6e58('0x20')]=!0x0,_0x5bd93c&&_0x5bd93c[_0x6e58('0x167')]){const _0x568a24=_0x5bd93c['@external'],_0x45667b=this['_getExternalAuthor'](_0x568a24['authorName']);_0x4ac318[_0x6e58('0xa4')]=_0x568a24[_0x6e58('0xda')],_0x4ac318['author']=_0x45667b,_0x4ac318[_0x6e58('0x56')]=!0x0;}else _0x4ac318[_0x6e58('0xa4')]=_0x34ce77['createdAt'];switch(_0x34ce77['data']&&(_0x4ac318[_0x6e58('0x7d')]=_0x34ce77['data']),_0x34ce77[_0x6e58('0x17c')]&&(_0x4ac318[_0x6e58('0x17c')]=_0x34ce77['attributes']),this[_0x6e58('0x6a')]&&this['_adapter']['addSuggestion']||(_0x4ac318[_0x6e58('0xf9')]=!0x0),this[_0x6e58('0x43')]['get'](_0x4ac318)){case _0x6e58('0xaa'):this['_suggestionState'][_0x6e58('0x16a')](_0x4ac318,'dataReady');break;case _0x6e58('0x9a'):_0x4ac318[_0x6e58('0x89')]?(this['_refreshSuggestionsChain'](new Set([_0x4ac318])),this[_0x6e58('0xb8')](new Set([_0x4ac318])),this[_0x6e58('0x43')][_0x6e58('0x16a')](_0x4ac318,_0x6e58('0x3d')),this[_0x6e58('0xd3')](_0x6e58('0x39'),_0x4ac318)):this[_0x6e58('0x43')][_0x6e58('0x16a')](_0x4ac318,_0x6e58('0x62'));}return _0x4ac318;}[_0x6e58('0x11d')](_0x36c47a){this[_0x6e58('0x17a')](()=>{this[_0x6e58('0x79')][_0x6e58('0xe3')][_0x6e58('0x15e')](()=>{for(const _0x53a37d of _0x36c47a[_0x6e58('0x9e')]())_0x53a37d['accept']();});});}[_0x6e58('0x16f')](_0x7d1231){this['forceDefaultExecution'](()=>{this[_0x6e58('0x79')]['model'][_0x6e58('0x15e')](()=>{for(const _0x38ef14 of _0x7d1231[_0x6e58('0x9e')]())_0x38ef14['discard']();});});}[_0x6e58('0x7f')](_0x5994ce,_0x3c6e1b){const _0xbe11fc=this[_0x6e58('0x79')]['commands'][_0x6e58('0x8')](_0x5994ce);if(!_0xbe11fc)throw new _0x1efb49(_0x6e58('0x78'),this,{'commandName':_0x5994ce});if(this[_0x6e58('0xf8')][_0x6e58('0xd9')](_0xbe11fc))throw new _0x1efb49(_0x6e58('0x132'),this,{'commandName':_0x5994ce});this[_0x6e58('0xf8')]['add'](_0xbe11fc),_0x3c6e1b&&_0xbe11fc['on'](_0x6e58('0x154'),(_0x3047b5,_0x3d8998)=>{this[_0x6e58('0x71')][_0x6e58('0x160')]&&(this[_0x6e58('0x70')]||(_0x3d8998[_0x6e58('0x128')]>0x0&&_0x3d8998[_0x3d8998[_0x6e58('0x128')]-0x1]&&_0x3d8998[_0x3d8998[_0x6e58('0x128')]-0x1][_0x6e58('0x17a')]?_0x3d8998[_0x6e58('0x176')]():(_0x3047b5[_0x6e58('0x1f')]=_0x3c6e1b((..._0x15168e)=>_0xbe11fc['execute'](..._0x15168e,{'forceDefaultExecution':!0x0}),..._0x3d8998),_0x3047b5[_0x6e58('0xd0')]())));},{'priority':_0x6e58('0xa5')});}['forceDefaultExecution'](_0x39118f){let _0x4b4611,_0x225377;const _0xe4ffd3=this['_isForcedDefaultExecutionBlock'];this[_0x6e58('0x70')]=!0x0;try{_0x4b4611=_0x39118f();}catch(_0x5b99b7){_0x225377=_0x5b99b7;}return _0xe4ffd3||(this[_0x6e58('0x70')]=!0x1),_0x225377&&_0x1efb49['rethrowUnexpectedError'](_0x225377,this),_0x4b4611;}[_0x6e58('0x102')](_0x701d58,_0xa4eb69=null,_0x1dfdf5={}){if(_0x701d58[_0x6e58('0x1c')])return null;const _0x3e93e2=this[_0x6e58('0x79')]['plugins'][_0x6e58('0x8')](_0x6e58('0x112'))['me'];for(const {suggestion:_0x299e78,meta:_0x271d8d}of this[_0x6e58('0x45')](_0x701d58,'insertion'))if(_0x271d8d[_0x6e58('0x1a')]){if(!_0x271d8d[_0x6e58('0x84')]){if(_0x271d8d[_0x6e58('0x126')]){if(!this[_0x6e58('0x24')]||!Gt(_0x299e78,_0x1dfdf5))continue;return _0x299e78;}if(Gt(_0x299e78,_0x1dfdf5))return _0x299e78;this['_breakSuggestionMarker'](_0x299e78,_0x701d58[_0x6e58('0x111')],_0x701d58[_0x6e58('0x19')]);break;}if(_0xa4eb69==_0x299e78[_0x6e58('0x10f')]&&Gt(_0x299e78,_0x1dfdf5)){const _0x5ceb05=_0x299e78[_0x6e58('0x90')]();return _0x5ceb05[_0x6e58('0x111')]['isEqual'](_0x701d58[_0x6e58('0x19')])?this[_0x6e58('0xee')](_0x299e78,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x701d58['start'],_0x5ceb05['end'])):this[_0x6e58('0xee')](_0x299e78,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x5ceb05[_0x6e58('0x111')],_0x701d58[_0x6e58('0x19')])),_0x299e78;}}const _0x185caa=_0x1b9186(),_0x28a075=_0x3e93e2['id'],_0x39c122=_0xa4eb69?_0x6e58('0xe2')+_0xa4eb69:_0x6e58('0xfe'),_0x5d10fc=this[_0x6e58('0xd2')]({'id':_0x185caa,'type':_0x39c122,'createdAt':new Date(),'authorId':_0x28a075,'attributes':_0x1dfdf5});return this[_0x6e58('0x7')](_0x39c122,_0x185caa,_0x28a075,_0x701d58),_0x5d10fc;}[_0x6e58('0x142')](_0x2f9fbc,_0x34532c=_0x6e58('0x109'),_0x448ceb={}){const _0x3a100e=this[_0x6e58('0x79')][_0x6e58('0x6c')]['get'](_0x6e58('0x112'))['me'],_0x46b43d=this['_suggestionFactory'][_0x6e58('0x146')](_0x6e58('0xfe'),_0x34532c,_0x6e58('0xbb'));for(const _0x1c570f of this[_0x6e58('0x168')]())if(_0x1c570f[_0x6e58('0x13b')]['id']==_0x3a100e['id']&&_0x6e58('0xfe')==_0x1c570f[_0x6e58('0xe5')]&&_0x1c570f['subType']==_0x34532c&&Gt(_0x1c570f,_0x448ceb)&&(_0x46b43d(_0x1c570f[_0x6e58('0x76')](),_0x2f9fbc)||_0x46b43d(_0x2f9fbc,_0x1c570f[_0x6e58('0x76')]()))){for(const _0x4f028d of _0x2f9fbc)_0x1c570f[_0x6e58('0x87')](_0x4f028d);return _0x1c570f;}for(const {suggestion:_0x57ff7e,meta:_0x332d75}of this[_0x6e58('0x45')](_0x2f9fbc,_0x6e58('0xfe'))){if(!_0x332d75[_0x6e58('0x1a')])continue;if(!this[_0x6e58('0x24')]&&_0x332d75[_0x6e58('0x126')])continue;if(!Gt(_0x57ff7e,_0x448ceb))continue;let _0xb146b1=!0x0;for(const _0x4aa2f9 of _0x57ff7e['getRanges']())for(const _0x3fe156 of _0x2f9fbc)if(!_0x4aa2f9['containsRange'](_0x3fe156)){_0xb146b1=!0x1;break;}if(_0xb146b1)return _0x57ff7e;}const _0x18ee08=_0x1b9186(),_0x3c1a0a=_0x3a100e['id'],_0x19e03f=_0x6e58('0xe2')+_0x34532c,_0x48b6e5=this['_setSuggestionData']({'id':_0x18ee08,'type':_0x19e03f,'createdAt':new Date(),'authorId':_0x3c1a0a,'attributes':_0x448ceb});for(const _0x160120 of _0x2f9fbc)this['_addSuggestionMarker'](_0x19e03f,_0x18ee08,_0x3c1a0a,_0x160120,_0x12d829[_0x6e58('0x2e')]());return _0x48b6e5;}['markInlineFormat'](_0xcffe87,_0x23999b,_0x47844e=null,_0x594b67={}){if(_0x47844e=_0x47844e||Et(_0x23999b),_0xcffe87[_0x6e58('0x1c')])return null;if(_0x6e58('0x60')===this[_0x6e58('0x83')]){const _0x51fc1c=this[_0x6e58('0x25')][_0x6e58('0x146')](_0x6e58('0x136'),_0x47844e,_0x6e58('0xba'));return this['forceDefaultExecution'](()=>_0x51fc1c([_0xcffe87],_0x23999b,_0x594b67)),null;}const _0x27d2a4=this['editor'][_0x6e58('0x6c')]['get'](_0x6e58('0x112'))['me'],_0x5db3dc=[];if('always'!==this[_0x6e58('0x83')])for(const {suggestion:_0x33e43f,meta:_0x49b1c7}of this[_0x6e58('0x45')](_0xcffe87,_0x6e58('0xfe')))_0x49b1c7[_0x6e58('0x1a')]&&!_0x49b1c7[_0x6e58('0xe0')]&&_0x5db3dc[_0x6e58('0x7e')](..._0x33e43f['getRanges']());const _0x2b2be4=function(_0x4c3d19,_0x25be46){const _0xe00b6e=[];for(const _0x489493 of _0x25be46){const _0xbd9444=_0x4c3d19['getIntersection'](_0x489493);_0xbd9444&&_0xe00b6e[_0x6e58('0x7e')](_0xbd9444);}return _0xe00b6e;}(_0xcffe87,_0x5db3dc),_0x22b34f=function(_0x3c3750,_0x48a087){const _0x3350ef=[_0x3c3750];for(const _0x2b6903 of _0x48a087){let _0x5f20f2=0x0;for(;_0x5f20f2<_0x3350ef[_0x6e58('0x128')];){const _0x62526e=_0x3350ef[_0x5f20f2]['getDifference'](_0x2b6903);_0x3350ef[_0x6e58('0x36')](_0x5f20f2,0x1,..._0x62526e),_0x5f20f2+=_0x62526e['length'];}}return _0x3350ef;}(_0xcffe87,_0x5db3dc);_0x2b2be4[_0x6e58('0x128')]&&this[_0x6e58('0xdd')][_0x6e58('0x15e')](()=>{for(const _0x2a861a of _0x2b2be4){const _0x1b02d4=this[_0x6e58('0x25')][_0x6e58('0x146')](_0x6e58('0x136'),_0x47844e,_0x6e58('0xba'));this[_0x6e58('0x17a')](()=>_0x1b02d4([_0x2a861a],_0x23999b,_0x594b67));}});for(const _0x1f4863 of _0x22b34f){let _0x4fbf8e=null,_0x360f7e=_0x1f4863[_0x6e58('0x111')],_0x5894df=_0x1f4863[_0x6e58('0x19')];for(const {suggestion:_0x165497,meta:_0x51d123}of this[_0x6e58('0x45')](_0x1f4863,'formatInline')){if(!_0x51d123['isOwn'])continue;if(_0x165497['subType']!=_0x47844e)continue;if(!Gt(_0x165497,_0x594b67))continue;const _0x31114d=_0x165497[_0x6e58('0x90')]();if(_0x31114d[_0x6e58('0x172')](_0x1f4863,!0x0))return null;_0x360f7e=_0x360f7e[_0x6e58('0x15b')](_0x31114d[_0x6e58('0x111')])?_0x360f7e:_0x31114d[_0x6e58('0x111')],_0x5894df=_0x5894df['isAfter'](_0x31114d['end'])?_0x5894df:_0x31114d[_0x6e58('0x19')],_0x4fbf8e?_0x31114d[_0x6e58('0x111')][_0x6e58('0x15b')](_0x4fbf8e['getFirstRange']()[_0x6e58('0x111')])?(_0x4fbf8e['removeMarkers'](),_0x4fbf8e=_0x165497):_0x165497[_0x6e58('0x81')]():_0x4fbf8e=_0x165497;}const _0x90e591=this['_model'][_0x6e58('0x12f')](_0x360f7e,_0x5894df);if(_0x4fbf8e)this[_0x6e58('0xee')](_0x4fbf8e,_0x90e591);else{const _0x30d852=_0x1b9186(),_0x875e02=_0x27d2a4['id'];this[_0x6e58('0xd2')]({'id':_0x30d852,'type':'formatInline:'+_0x47844e,'data':_0x23999b,'createdAt':new Date(),'authorId':_0x875e02,'attributes':_0x594b67}),this[_0x6e58('0x7')](_0x6e58('0xd')+_0x47844e,_0x30d852,_0x875e02,_0x90e591);}}return null;}[_0x6e58('0xed')](_0x191714,_0x4ddd56,_0x4e4dca=[],_0x5e0f00=null,_0x1872e6={}){_0x4ddd56[_0x6e58('0x3e')]||(_0x4ddd56[_0x6e58('0x3e')]=_0x4ddd56[_0x6e58('0x8e')]),_0x4ddd56[_0x6e58('0xb')]=_0x191714['is']('range'),_0x5e0f00=_0x5e0f00||Et(_0x4ddd56);const _0xfaf2d9=_0x4e4dca[_0x6e58('0x9d')](_0x310991=>Ut(_0x310991,this[_0x6e58('0xdd')])),_0x2ce3bf=_0x191714['is'](_0x6e58('0x65'))?_0x191714:Ut(_0x191714,this[_0x6e58('0xdd')]);if(_0x6e58('0x60')===this[_0x6e58('0x83')]){const _0x496897=this[_0x6e58('0x25')][_0x6e58('0x146')](_0x6e58('0x135'),_0x5e0f00,_0x6e58('0xba'));return this['forceDefaultExecution'](()=>_0x496897([_0x2ce3bf],_0x4ddd56,_0x1872e6)),null;}_0xfaf2d9['push'](_0x2ce3bf);let _0x3015ee=!0x0;for(const _0x3deea3 of _0xfaf2d9)if(!this['_rangeIsInLocalUserInsertion'](_0x3deea3)){_0x3015ee=!0x1;break;}if(_0x3015ee&&_0x6e58('0x80')!==this[_0x6e58('0x83')]){const _0x469899=this[_0x6e58('0x25')][_0x6e58('0x146')](_0x6e58('0x135'),_0x5e0f00,_0x6e58('0xba'));return this['forceDefaultExecution'](()=>_0x469899([_0x2ce3bf],_0x4ddd56,_0x1872e6)),null;}let _0x1bf4c4=null,_0x4c229b=_0x2ce3bf['start'],_0x35d1f2=_0x2ce3bf['end'];for(const {suggestion:_0x1a48ae,meta:_0x103ded}of this['_findSuggestions'](_0x2ce3bf,'formatBlock')){if(!_0x103ded[_0x6e58('0x1a')])continue;if(_0x103ded[_0x6e58('0x84')]||_0x103ded[_0x6e58('0x126')]||_0x103ded['isInsideObject'])continue;if(_0x1a48ae[_0x6e58('0x7d')]['formatGroupId']!=_0x4ddd56[_0x6e58('0x3e')])continue;if(!Gt(_0x1a48ae,_0x1872e6))continue;const _0x5abad5=_0x1a48ae[_0x6e58('0x90')]();if(_0x1a48ae[_0x6e58('0x10f')]==_0x5e0f00){if(_0x5abad5[_0x6e58('0x172')](_0x2ce3bf,!0x0))return null;_0x4c229b=_0x4c229b['isBefore'](_0x5abad5['start'])?_0x4c229b:_0x5abad5['start'],_0x35d1f2=_0x35d1f2[_0x6e58('0x18')](_0x5abad5[_0x6e58('0x19')])?_0x35d1f2:_0x5abad5[_0x6e58('0x19')],_0x1bf4c4?_0x5abad5[_0x6e58('0x111')][_0x6e58('0x15b')](_0x1bf4c4[_0x6e58('0x90')]()['start'])?(_0x1bf4c4[_0x6e58('0x81')](),_0x1bf4c4=_0x1a48ae):_0x1a48ae[_0x6e58('0x81')]():_0x1bf4c4=_0x1a48ae;}else{const _0x3c75bc=_0x2ce3bf['getIntersection'](_0x5abad5);this['_cutOutSuggestionMarker'](_0x1a48ae,_0x3c75bc);}}const _0x56ee82=this['editor'][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))['me'],_0x484631=_0x1b9186(),_0x474237=_0x56ee82['id'];if(_0x1bf4c4)return this[_0x6e58('0xee')](_0x1bf4c4,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x4c229b,_0x35d1f2)),_0x1bf4c4;{const _0x4a1edc=this['_setSuggestionData']({'id':_0x484631,'type':_0x6e58('0x15f')+_0x5e0f00,'data':_0x4ddd56,'createdAt':new Date(),'authorId':_0x474237,'attributes':_0x1872e6});return this[_0x6e58('0x7')](_0x6e58('0x15f')+_0x5e0f00,_0x484631,_0x474237,this['_model'][_0x6e58('0x12f')](_0x4c229b,_0x35d1f2)),_0x4a1edc;}}[_0x6e58('0x110')](_0x1310dc,_0x681572,_0x7050f1=[],_0x41f48=null,_0x329895={}){_0x681572[_0x6e58('0x3e')]||(_0x681572[_0x6e58('0x3e')]=_0x681572[_0x6e58('0x8e')]);const _0x10941c=_0x1310dc[0x0];_0x681572[_0x6e58('0xb')]=_0x10941c['is'](_0x6e58('0x65')),_0x41f48=_0x41f48||Et(_0x681572);const _0x5adba3=_0x7050f1[_0x6e58('0x9d')](_0x27f5c4=>Ut(_0x27f5c4,this[_0x6e58('0xdd')])),_0x18c1a5=_0x10941c['is']('range')?_0x1310dc:_0x1310dc['map'](_0x1338c0=>Ut(_0x1338c0,this[_0x6e58('0xdd')]));if(_0x6e58('0x60')===this[_0x6e58('0x83')]){const _0x4f331d=this['_suggestionFactory']['getSuggestionCallback'](_0x6e58('0x135'),_0x41f48,_0x6e58('0xba'));return this[_0x6e58('0x17a')](()=>_0x4f331d(_0x18c1a5,_0x681572,_0x329895)),null;}_0x5adba3[_0x6e58('0x7e')](..._0x18c1a5);let _0x5e822d=!0x0;for(const _0x6282e9 of _0x5adba3)if(!this[_0x6e58('0x26')](_0x6282e9)){_0x5e822d=!0x1;break;}if(_0x5e822d&&_0x6e58('0x80')!==this['_trackFormatChanges']){const _0xe3179a=this['_suggestionFactory'][_0x6e58('0x146')](_0x6e58('0x135'),_0x41f48,'accept');return this['forceDefaultExecution'](()=>_0xe3179a(_0x18c1a5,_0x681572,_0x329895)),null;}const _0x2f2b7e=this[_0x6e58('0x79')][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))['me'];for(const _0x311005 of this['getSuggestions']()){if(_0x311005[_0x6e58('0x13b')]['id']!=_0x2f2b7e['id'])continue;if('formatBlock'!=_0x311005[_0x6e58('0xe5')]||_0x311005[_0x6e58('0x7d')]['formatGroupId']!=_0x681572[_0x6e58('0x3e')])continue;if(!Gt(_0x311005,_0x329895))continue;const _0x2d6d5d=_0x311005['subType']==_0x41f48;for(let _0x1b55c5=0x0;_0x1b55c5<_0x18c1a5[_0x6e58('0x128')];_0x1b55c5++){const _0x365e07=_0x18c1a5[_0x1b55c5];for(const _0x5e2c8a of _0x311005['getMarkers']()){const _0x195c1b=_0x5e2c8a[_0x6e58('0x3f')]();if(_0x365e07[_0x6e58('0x29')](_0x195c1b)){_0x2d6d5d?(_0x18c1a5['splice'](_0x1b55c5,0x1),_0x1b55c5--):_0x311005[_0x6e58('0x138')](_0x5e2c8a[_0x6e58('0x6e')]);break;}}}}if(0x0==_0x18c1a5[_0x6e58('0x128')])return null;const _0x22b3ec=this[_0x6e58('0x25')]['getSuggestionCallback'](_0x6e58('0x135'),_0x41f48,_0x6e58('0xbb'));for(const _0x1c8847 of this['getSuggestions']())if(_0x1c8847[_0x6e58('0x13b')]['id']==_0x2f2b7e['id']&&_0x6e58('0x135')==_0x1c8847[_0x6e58('0xe5')]&&_0x1c8847[_0x6e58('0x7d')][_0x6e58('0x3e')]==_0x681572['formatGroupId']&&_0x1c8847[_0x6e58('0x10f')]==_0x41f48&&Gt(_0x1c8847,_0x329895)&&(_0x22b3ec(_0x1c8847['getRanges'](),_0x18c1a5)||_0x22b3ec(_0x18c1a5,_0x1c8847[_0x6e58('0x76')]()))){for(const _0x36e6dc of _0x18c1a5)_0x1c8847[_0x6e58('0x87')](_0x36e6dc);return _0x1c8847;}const _0x58fcd9=_0x1b9186(),_0x58207b=_0x2f2b7e['id'],_0x165516=_0x6e58('0x15f')+_0x41f48,_0x165b6d=this[_0x6e58('0xd2')]({'id':_0x58fcd9,'type':_0x165516,'data':_0x681572,'createdAt':new Date(),'authorId':_0x58207b,'attributes':_0x329895});for(const _0x234dce of _0x18c1a5)this[_0x6e58('0x7')](_0x165516,_0x58fcd9,_0x58207b,_0x234dce,_0x12d829['getMultiRangeId']());return _0x165b6d;}[_0x6e58('0x14e')](_0x128c24,_0x1776f9=null,_0x3f16c5={}){if(_0x128c24['isCollapsed'])return null;const _0x1d7053=this['editor'][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))['me'],_0x946a3f=new _0x16f1c9(_0x128c24['start'],_0x128c24[_0x6e58('0x19')]);for(const {suggestion:_0x109f3d,meta:_0x519d7f}of this['_findSuggestions'](_0x946a3f,_0x6e58('0xfe')))if(_0x519d7f[_0x6e58('0x1a')]&&!_0x519d7f[_0x6e58('0x84')]){if(_0x109f3d[_0x6e58('0x7b')]){const _0x3ccb99=_0x109f3d[_0x6e58('0x76')]()[_0x6e58('0x33')](_0x37588f=>_0x6e58('0x27')!=_0x37588f['root']['rootName']);_0x3ccb99[_0x6e58('0x120')](_0x44deff=>_0x946a3f[_0x6e58('0x172')](_0x44deff,!0x0))&&_0x109f3d[_0x6e58('0x159')]();if(_0x3ccb99[_0x6e58('0x178')](_0x1435fe=>_0x1435fe['containsRange'](_0x946a3f,!0x0))){const _0x318e0=this['_suggestionFactory'][_0x6e58('0x146')](_0x6e58('0x13a'),_0x1776f9,_0x6e58('0xba'));return this['forceDefaultExecution'](()=>_0x318e0([_0x946a3f],null,_0x3f16c5)),null;}}else{const _0x17436d=_0x946a3f[_0x6e58('0xd8')](_0x109f3d[_0x6e58('0x90')]());null!==_0x17436d&&_0x109f3d[_0x6e58('0x13c')]([_0x17436d],null,_0x3f16c5);}}if(_0x946a3f[_0x6e58('0x140')](),_0x946a3f['isCollapsed']||'$graveyard'==_0x946a3f['root'][_0x6e58('0x11c')])return null;let _0x5e5924=null,_0x541d2b=_0x946a3f[_0x6e58('0x111')],_0x42ae88=_0x946a3f[_0x6e58('0x19')];const _0x3fbbfc=this['_findSuggestions'](_0x946a3f,_0x6e58('0x13a'));for(const {suggestion:_0x4e3437,meta:_0x37248e}of _0x3fbbfc){const _0x52ef9a=this['_model']['createRange'](_0x541d2b,_0x42ae88);if(_0x37248e['isOwn']&&(this[_0x6e58('0x24')]||!_0x37248e[_0x6e58('0x126')]&&!_0x37248e['isInsideObject'])){if(_0x4e3437[_0x6e58('0x7b')]){if(!Gt(_0x4e3437,_0x3f16c5))continue;let _0xe5b029=!0x0;for(const _0xf30a66 of _0x4e3437[_0x6e58('0x76')]()){if(_0xf30a66[_0x6e58('0x172')](_0x52ef9a,!0x0))return _0x4e3437;_0x52ef9a['containsRange'](_0xf30a66)||(_0xe5b029=!0x1);}_0xe5b029&&_0x4e3437[_0x6e58('0x159')]();}else{const _0x49ba6d=_0x4e3437[_0x6e58('0x90')]();if(_0x49ba6d[_0x6e58('0x172')](_0x52ef9a,!0x0))return _0x4e3437;if(!Gt(_0x4e3437,_0x3f16c5)){_0x52ef9a['containsRange'](_0x49ba6d)?_0x4e3437[_0x6e58('0x81')]():_0x49ba6d['containsPosition'](_0x541d2b)?_0x541d2b=_0x49ba6d['end']:_0x49ba6d[_0x6e58('0x52')](_0x42ae88)&&(_0x42ae88=_0x49ba6d['start']);continue;}_0x541d2b=_0x541d2b['isBefore'](_0x49ba6d[_0x6e58('0x111')])?_0x541d2b:_0x49ba6d[_0x6e58('0x111')],_0x42ae88=_0x42ae88[_0x6e58('0x18')](_0x49ba6d[_0x6e58('0x19')])?_0x42ae88:_0x49ba6d[_0x6e58('0x19')],_0x3f16c5=Object[_0x6e58('0xdf')]({},_0x4e3437[_0x6e58('0x17c')]),_0x5e5924?_0x49ba6d[_0x6e58('0x111')]['isBefore'](_0x5e5924[_0x6e58('0x90')]()[_0x6e58('0x111')])?(_0x5e5924[_0x6e58('0x81')](),_0x5e5924=_0x4e3437):_0x4e3437[_0x6e58('0x81')]():_0x5e5924=_0x4e3437;}}}if(_0x5e5924)return this['_setSuggestionRange'](_0x5e5924,this[_0x6e58('0xdd')]['createRange'](_0x541d2b,_0x42ae88)),_0x5e5924;{const _0x3bd9b8=_0x1b9186(),_0x4bb17e=this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x541d2b,_0x42ae88),_0x4fccf5=_0x1d7053['id'],_0x4875c3=_0x1776f9?_0x6e58('0x9c')+_0x1776f9:_0x6e58('0x13a'),_0x53a8a0=this[_0x6e58('0xd2')]({'id':_0x3bd9b8,'type':_0x4875c3,'createdAt':new Date(),'authorId':_0x4fccf5,'attributes':_0x3f16c5});return this[_0x6e58('0x7')](_0x4875c3,_0x3bd9b8,_0x4fccf5,_0x4bb17e),_0x53a8a0;}}[_0x6e58('0xcc')](_0x40d5a8,_0x2dc17d=_0x6e58('0x109'),_0x50b11f={}){const _0x52543d=this[_0x6e58('0x79')][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))['me'],_0x1d2f11=_0x40d5a8[_0x6e58('0x9d')](_0x1817ad=>new _0x16f1c9(_0x1817ad['start'],_0x1817ad[_0x6e58('0x19')])),_0x2540cb=new Set();for(const {suggestion:_0x2575cf,meta:_0x3489bf}of this[_0x6e58('0x45')](_0x1d2f11,'insertion'))_0x3489bf['isOwn']&&!_0x3489bf[_0x6e58('0x84')]&&_0x2540cb['add'](_0x2575cf);for(const _0x220d03 of _0x2540cb)if(_0x220d03[_0x6e58('0x7b')]){const _0x3cfa86=_0x220d03['getRanges']();(!_0x220d03[_0x6e58('0x17c')]||!_0x220d03[_0x6e58('0x17c')][_0x6e58('0x123')])&&(_0x3cfa86[_0x6e58('0x120')](_0x2fb9fb=>_0x1d2f11[_0x6e58('0x178')](_0x5a1033=>_0x5a1033[_0x6e58('0x172')](_0x2fb9fb,!0x0)))&&_0x220d03['discard']());if(_0x1d2f11[_0x6e58('0x120')](_0x5c955f=>_0x3cfa86['some'](_0x7d6358=>_0x7d6358[_0x6e58('0x172')](_0x5c955f,!0x0)))){const _0x2a212c=this[_0x6e58('0x25')][_0x6e58('0x146')]('deletion',_0x2dc17d,'accept');return this['forceDefaultExecution'](()=>_0x2a212c(_0x40d5a8,null,_0x50b11f)),null;}}else{const _0x224b75=_0x220d03['getFirstRange']();_0x1d2f11[_0x6e58('0x178')](_0x27b272=>_0x27b272[_0x6e58('0x172')](_0x224b75,!0x0))&&_0x220d03['discard']();if(_0x1d2f11[_0x6e58('0x120')](_0x8d5e9c=>_0x224b75[_0x6e58('0x172')](_0x8d5e9c,!0x0))){const _0x4d12ec=this['_suggestionFactory'][_0x6e58('0x146')](_0x6e58('0x13a'),_0x2dc17d,_0x6e58('0xba'));return this[_0x6e58('0x17a')](()=>_0x4d12ec(_0x1d2f11,null,_0x50b11f)),null;}}const _0x33b972=this[_0x6e58('0x25')][_0x6e58('0x146')](_0x6e58('0x13a'),_0x2dc17d,_0x6e58('0xbb'));let _0x4fdff3=null;for(const _0x28a30e of this[_0x6e58('0x168')]())if(_0x28a30e[_0x6e58('0x13b')]['id']==_0x52543d['id']&&_0x28a30e['isInContent']&&_0x6e58('0x13a')==_0x28a30e['type']&&_0x28a30e[_0x6e58('0x10f')]==_0x2dc17d&&Gt(_0x28a30e,_0x50b11f)&&(_0x33b972(_0x28a30e[_0x6e58('0x76')](),_0x1d2f11)||_0x33b972(_0x1d2f11,_0x28a30e[_0x6e58('0x76')]()))){if(_0x4fdff3){if(_0x28a30e['commentThread']&&_0x28a30e[_0x6e58('0x66')][_0x6e58('0x128')])continue;for(const _0x3ce2ad of _0x28a30e[_0x6e58('0x76')]())_0x4fdff3[_0x6e58('0xc9')](_0x3ce2ad)||_0x4fdff3[_0x6e58('0x87')](_0x3ce2ad);_0x28a30e[_0x6e58('0x81')]();}else{_0x4fdff3=_0x28a30e;for(const _0x1d4b50 of _0x1d2f11)_0x28a30e['isIntersectingWithRange'](_0x1d4b50)||_0x28a30e[_0x6e58('0x87')](_0x1d4b50);}}if(_0x4fdff3)return _0x4fdff3;_0x2540cb[_0x6e58('0x53')]();for(const {suggestion:_0x24f694,meta:_0x4eaf25}of this['_findSuggestions'](_0x1d2f11,_0x6e58('0x13a')))_0x4eaf25['isOwn']&&(this[_0x6e58('0x24')]||!_0x4eaf25[_0x6e58('0x126')]&&!_0x4eaf25['isInsideObject'])&&Gt(_0x24f694,_0x50b11f)&&_0x2540cb[_0x6e58('0x46')](_0x24f694);for(const _0x32326b of _0x2540cb){const _0x3455fe=_0x32326b['getRanges']();if(!_0x50b11f||!_0x50b11f[_0x6e58('0x123')]){if(_0x1d2f11[_0x6e58('0x120')](_0x1fc9c6=>_0x3455fe[_0x6e58('0x178')](_0x3d85ab=>_0x3d85ab[_0x6e58('0x172')](_0x1fc9c6,!0x0))))return _0x32326b;}(!_0x32326b[_0x6e58('0x17c')]||!_0x32326b[_0x6e58('0x17c')][_0x6e58('0x123')])&&(_0x3455fe['every'](_0x2ed479=>_0x1d2f11[_0x6e58('0x178')](_0x3bc392=>_0x3bc392['containsRange'](_0x2ed479,!0x0)))&&_0x32326b[_0x6e58('0x159')]());}const _0xa9a600=_0x1b9186(),_0x15831a=_0x52543d['id'],_0x2bfb73=_0x6e58('0x9c')+_0x2dc17d,_0xab5553=this[_0x6e58('0xd2')]({'id':_0xa9a600,'type':_0x2bfb73,'createdAt':new Date(),'authorId':_0x15831a,'attributes':_0x50b11f});for(const _0x286a49 of _0x1d2f11)_0x286a49[_0x6e58('0x140')](),_0x286a49[_0x6e58('0x1c')]||_0x6e58('0x27')==_0x286a49[_0x6e58('0xca')][_0x6e58('0x11c')]||this[_0x6e58('0x7')](_0x2bfb73,_0xa9a600,_0x15831a,_0x286a49,_0x12d829[_0x6e58('0x2e')]());return _0xab5553;}[_0x6e58('0x38')](_0x447f21,_0x4888f6,_0x40b4a7,_0x4e7592,_0x14daf7){if(_0x447f21['isCollapsed'])return[];if(_0x6e58('0x60')===this[_0x6e58('0x83')])return[];const _0xe50acb=this['editor'][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))['me']['id'],_0x7327ba=Array[_0x6e58('0x74')](this['_suggestions']['values']())['filter'](_0x57c0e1=>'attribute'==_0x57c0e1['type']&&_0x57c0e1[_0x6e58('0x7d')][_0x6e58('0x171')]==_0x4888f6&&_0x57c0e1[_0x6e58('0xc9')](_0x447f21));if(_0x6e58('0x6b')===this[_0x6e58('0x83')]){const _0x5e008a=this['_findSuggestions'](_0x447f21,_0x6e58('0xfe'))[_0x6e58('0x33')](({meta:_0x47011d})=>_0x47011d[_0x6e58('0x1a')]&&!_0x47011d[_0x6e58('0xe0')]&&!_0x47011d[_0x6e58('0x84')])[_0x6e58('0x9d')](({suggestion:_0x3708ba})=>_0x3708ba);_0x7327ba[_0x6e58('0x75')](..._0x5e008a);}const _0x5cefbd=new Map([[_0x447f21,_0x40b4a7]]);for(const _0x20f17f of _0x7327ba){const _0x317c2=_0x6e58('0x5e')==_0x20f17f[_0x6e58('0xe5')]?_0x20f17f[_0x6e58('0x7d')][_0x6e58('0xc5')]:void 0x0,_0x4f16c9=_0x20f17f['getFirstRange'](),_0x5e3445=Array[_0x6e58('0x74')](_0x5cefbd['keys']())[_0x6e58('0x14f')](_0x1631c0=>_0x1631c0[_0x6e58('0x54')](_0x4f16c9));if(!_0x5e3445)continue;const _0x232b6d=_0x5e3445[_0x6e58('0x11b')](_0x4f16c9);this['_isBlockAttribute'](_0x4888f6)&&_0x6e58('0xfe')==_0x20f17f[_0x6e58('0xe5')]&&0x0!=_0x232b6d[_0x6e58('0x128')]||(_0x5cefbd['delete'](_0x5e3445),_0x232b6d['forEach'](_0x5a647b=>{_0x5cefbd[_0x6e58('0x16a')](_0x5a647b,_0x40b4a7);}),_0x6e58('0xfe')!=_0x20f17f[_0x6e58('0xe5')]&&_0x317c2!=_0x4e7592&&_0x5cefbd[_0x6e58('0x16a')](_0x5e3445[_0x6e58('0xd8')](_0x4f16c9),_0x317c2));}const _0x49e482=[];for(const [_0x40cfb7,_0x29ac69]of _0x5cefbd){const _0x5c3336=_0x1b9186(),_0x22bc5a={'key':_0x4888f6,'oldValue':_0x29ac69,'newValue':_0x4e7592};_0x4888f6[_0x6e58('0x128')]>0x25&&console[_0x6e58('0x15c')](_0x6e58('0x5a'),{'key':_0x4888f6});const _0x341ce1=(_0x6e58('0x5')+(_0x4888f6+'|'+Et({'newValue':_0x4e7592})))[_0x6e58('0xff')](0x0,0x3c),_0x38246c=this[_0x6e58('0xd2')]({'id':_0x5c3336,'type':_0x341ce1,'data':_0x22bc5a,'createdAt':new Date(),'authorId':_0xe50acb,'attributes':_0x14daf7});_0x49e482[_0x6e58('0x7e')](_0x38246c),this['_addSuggestionMarker'](_0x341ce1,_0x5c3336,_0xe50acb,_0x40cfb7);}return _0x49e482;}[_0x6e58('0x3c')](_0x1247be){this['_blockAttributeKeys']['add'](_0x1247be);}[_0x6e58('0x15d')](_0xa27e24){this[_0x6e58('0x12c')]['add'](_0xa27e24);}[_0x6e58('0xeb')](_0x234815,_0x444338=[],_0x1e6392=[]){this[_0x6e58('0x7f')](_0x234815,(_0x13eb29,..._0x2abfd8)=>{this[_0x6e58('0xf1')](()=>{_0x13eb29(..._0x2abfd8);});});for(const _0x2b42cc of _0x444338)this[_0x6e58('0x15d')](_0x2b42cc);for(const _0x33759a of _0x1e6392)this['_registerBlockAttribute'](_0x33759a);}[_0x6e58('0xee')](_0x31e30f,_0x41be83){const _0x366c5a=_0x31e30f[_0x6e58('0x8f')]();this['_model'][_0x6e58('0x15e')](_0x1e16a1=>{_0x1e16a1[_0x6e58('0x8d')](_0x366c5a,{'range':_0x41be83});});}[_0x6e58('0x174')](_0x3aa8f0){const _0x597875=_0x3aa8f0['id'],_0xb37ef8=this[_0x6e58('0x79')][_0x6e58('0x12d')][_0x6e58('0x8')](_0x6e58('0xb6'));this[_0x6e58('0x1e')][_0x6e58('0x12')](_0x597875)||this['_commentsRepository'][_0x6e58('0x93')]({'channelId':_0xb37ef8,'threadId':_0x597875,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x4bf558=this[_0x6e58('0x1e')][_0x6e58('0x145')](_0x597875);_0x4bf558[_0x6e58('0x1b')](_0x6e58('0xea')),_0x4bf558['isRemovable']=!0x1,_0x3aa8f0[_0x6e58('0x66')]=_0x4bf558;}[_0x6e58('0xa1')](_0x27a216,_0x4a6ec7,_0x96e262,_0x2b7534){if(_0x27a216[_0x6e58('0xe5')]!=_0x4a6ec7||_0x27a216[_0x6e58('0x10f')]!=_0x96e262||_0x27a216[_0x6e58('0x13d')]['id']!=_0x2b7534)throw this[_0x6e58('0x79')][_0x6e58('0xe6')](_0x6e58('0xfc')),new _0x1efb49('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x245c66,_0x44eae7){const _0x3eec06=_0x245c66[_0x6e58('0x90')]();if(_0x44eae7[_0x6e58('0x29')](_0x3eec06))_0x245c66[_0x6e58('0x81')]();else{if(_0x3eec06[_0x6e58('0x172')](_0x44eae7)){const _0x4c17c2=this['_model'][_0x6e58('0xc8')](_0x44eae7[_0x6e58('0x111')][_0x6e58('0x173')],_0x6e58('0x19'));this[_0x6e58('0xee')](_0x245c66,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x3eec06[_0x6e58('0x111')],_0x4c17c2));const _0x427600=_0x1b9186(),_0x3b0aea=_0x245c66[_0x6e58('0x13d')]['id'],_0xf34d78=_0x245c66[_0x6e58('0xe5')]+':'+_0x245c66[_0x6e58('0x10f')];this[_0x6e58('0xd2')]({'id':_0x427600,'type':_0xf34d78,'createdAt':new Date(),'authorId':_0x3b0aea,'data':_0x245c66[_0x6e58('0x7d')],'attributes':_0x245c66['attributes']});const _0x277aaf=this[_0x6e58('0xdd')]['createPositionAt'](_0x44eae7['end'][_0x6e58('0x48')],_0x6e58('0x10c')),_0x25340b=this['_model']['createRange'](_0x277aaf,_0x3eec06[_0x6e58('0x19')]);this[_0x6e58('0x7')](_0xf34d78,_0x427600,_0x3b0aea,_0x25340b);}else{if(_0x3eec06[_0x6e58('0x52')](_0x44eae7[_0x6e58('0x111')])){const _0x4a0289=this[_0x6e58('0xdd')]['createPositionAt'](_0x44eae7['start'][_0x6e58('0x173')],'end');this['_setSuggestionRange'](_0x245c66,this[_0x6e58('0xdd')]['createRange'](_0x3eec06[_0x6e58('0x111')],_0x4a0289));}else{const _0x4cb32a=this[_0x6e58('0xdd')][_0x6e58('0xc8')](_0x44eae7[_0x6e58('0x19')][_0x6e58('0x48')],_0x6e58('0x10c'));this[_0x6e58('0xee')](_0x245c66,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x4cb32a,_0x3eec06[_0x6e58('0x19')]));}}}}[_0x6e58('0x26')](_0x442c4e){for(const {suggestion:_0x48e6c9,meta:_0x371ecc}of this['_findSuggestions'](_0x442c4e,_0x6e58('0xfe'))){if(!_0x371ecc[_0x6e58('0x1a')])continue;const _0x564a47=_0x48e6c9['getRanges']();for(const _0x20966d of _0x564a47)if(!_0x442c4e[_0x6e58('0x11b')](_0x20966d)['length'])return!0x0;}return!0x1;}[_0x6e58('0xc2')](_0x16ae95){const _0x42ccad=this[_0x6e58('0x79')][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112'))[_0x6e58('0x121')](_0x16ae95);if(!_0x42ccad)throw new _0x1efb49('track-changes-user-not-found',this);return _0x42ccad;}[_0x6e58('0x143')](_0x2ce5b3){const _0x2cffee=this['editor'][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x112')),_0x4d1bf2=_0x5c0e66(_0x6e58('0x165')+_0x2ce5b3),_0x23cdbc=_0x2cffee[_0x6e58('0x121')](_0x4d1bf2);return _0x23cdbc||_0x2cffee[_0x6e58('0x35')]({'id':_0x4d1bf2,'name':_0x2ce5b3});}['_createSuggestion'](_0x3a6d77,_0x4c6a2c,_0x330c47,_0x20b03a,_0x4c9278){const _0x33c86e=this[_0x6e58('0xc2')](_0x20b03a),_0x473611=this[_0x6e58('0x25')][_0x6e58('0xf4')](_0x3a6d77,_0x4c6a2c,_0x330c47,_0x33c86e,_0x4c9278,_0x310242=>this['_updateSuggestionData'](_0x330c47,{'attributes':_0x310242}));return this[_0x6e58('0xad')](_0x473611,_0x6e58('0xba'),()=>{this[_0x6e58('0x117')](_0x330c47,{'state':_0x6e58('0x34')});},{'priority':_0x6e58('0xa5')}),this[_0x6e58('0xad')](_0x473611,_0x6e58('0x159'),()=>{this[_0x6e58('0x117')](_0x330c47,{'state':_0x6e58('0x11f')});},{'priority':_0x6e58('0xa5')}),this[_0x6e58('0x4c')][_0x6e58('0x16a')](_0x330c47,_0x473611),this[_0x6e58('0x43')][_0x6e58('0x16a')](_0x473611,_0x6e58('0xaa')),_0x473611;}['_splitMarkerName'](_0x4cd565){const _0x35bb7a=_0x4cd565[_0x6e58('0xe9')](':');return{'group':_0x35bb7a[0x0],'type':_0x35bb7a[0x1],'subType':_0x35bb7a[_0x6e58('0x128')]>=0x5?_0x35bb7a[0x2]:null,'id':_0x35bb7a[_0x6e58('0x128')]<0x5?_0x35bb7a[0x2]:_0x35bb7a[0x3],'authorId':_0x35bb7a['length']<0x5?_0x35bb7a[0x3]:_0x35bb7a[0x4],'markerCount':0x6==_0x35bb7a[_0x6e58('0x128')]?_0x35bb7a[0x5]:null};}[_0x6e58('0xd6')](_0x514860,_0x5a632e,_0x462ec5){const _0xe5c570=_0x514860[_0x6e58('0x90')](),_0x437359=_0xe5c570['start'],_0x439d70=_0xe5c570[_0x6e58('0x19')];this[_0x6e58('0xee')](_0x514860,this[_0x6e58('0xdd')]['createRange'](_0x437359,_0x5a632e));const _0x242571=_0x1b9186(),_0xebec9b=_0x514860[_0x6e58('0x13d')]['id'],_0x41e7b0=_0x514860['type']+(_0x514860[_0x6e58('0x10f')]?':'+_0x514860['subType']:'');this['_setSuggestionData']({'id':_0x242571,'type':_0x41e7b0,'createdAt':new Date(),'authorId':_0xebec9b,'originalSuggestionId':_0x514860['id'],'attributes':_0x514860[_0x6e58('0x17c')],'data':_0x514860[_0x6e58('0x7d')]});const _0x5b28d1=Pt(_0x514860);(_0x6e58('0x135')==_0x514860[_0x6e58('0xe5')]||_0x5b28d1&&this[_0x6e58('0x14c')](_0x5b28d1))&&(_0x462ec5=this[_0x6e58('0xdd')][_0x6e58('0x95')](_0x462ec5[_0x6e58('0x48')])),this['_addSuggestionMarker'](_0x41e7b0,_0x242571,_0xebec9b,this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x462ec5,_0x439d70));}['_findSuggestions'](_0x414777,_0x1ed280=null){const _0x948b55=[],_0x40b4d8=this['editor']['plugins'][_0x6e58('0x8')](_0x6e58('0x112'))['me'];Array[_0x6e58('0xc4')](_0x414777)||(_0x414777=[_0x414777]);for(const _0xd8999f of this[_0x6e58('0x168')]()){if(!_0xd8999f[_0x6e58('0x89')])continue;if(_0x1ed280&&_0xd8999f[_0x6e58('0xe5')]!=_0x1ed280)continue;let _0x3a48b4=!0x1;for(const _0x3e10c0 of _0xd8999f[_0x6e58('0x76')]()){for(const _0x1e3835 of _0x414777){const _0x5be6f0=_0x1e3835[_0x6e58('0x111')][_0x6e58('0x29')](_0x3e10c0[_0x6e58('0x19')])||_0x1e3835[_0x6e58('0x19')][_0x6e58('0x29')](_0x3e10c0[_0x6e58('0x111')]);if(_0x5be6f0||_0x1e3835[_0x6e58('0xd8')](_0x3e10c0)){const _0x4f6948=_0x1e3835['containsRange'](_0x3e10c0)&&Bt(this[_0x6e58('0xdd')][_0x6e58('0x148')],_0x3e10c0['start'],_0x1e3835),_0x4e0b37=_0x3e10c0[_0x6e58('0x172')](_0x1e3835)&&Bt(this[_0x6e58('0xdd')][_0x6e58('0x148')],_0x1e3835[_0x6e58('0x111')],_0x3e10c0);_0x948b55[_0x6e58('0x7e')]({'suggestion':_0xd8999f,'meta':{'isOwn':_0x40b4d8==_0xd8999f['author'],'isNextTo':_0x5be6f0,'isInsideObject':_0x4f6948,'containsRangeInObject':_0x4e0b37}}),_0x3a48b4=!0x0;break;}}if(_0x3a48b4)break;}}return _0x948b55;}[_0x6e58('0x7')](_0x1f4819,_0x4abdc6,_0x11c740,_0x36878d,_0x4066b0){this[_0x6e58('0xdd')][_0x6e58('0x15e')](_0x1b643b=>{let _0x5b26fc=_0x6e58('0x150')+_0x1f4819+':'+_0x4abdc6+':'+_0x11c740;_0x4066b0&&(_0x5b26fc=_0x5b26fc+':'+_0x4066b0),_0x1b643b[_0x6e58('0x16d')](_0x5b26fc,{'range':_0x36878d,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x229e6d){const _0xbd0667=_0x229e6d[_0x6e58('0x10d')],_0x36b0a2=_0x229e6d[_0x6e58('0x14')];_0x229e6d[_0x6e58('0x10d')]=null,_0x229e6d[_0x6e58('0x14')]=null,null!=_0xbd0667&&(_0xbd0667['next']=_0x36b0a2),null!=_0x36b0a2&&(_0x36b0a2['previous']=_0xbd0667),'ready'==this[_0x6e58('0x43')][_0x6e58('0x8')](_0x229e6d)&&(this[_0x6e58('0x43')]['set'](_0x229e6d,_0x6e58('0x62')),this[_0x6e58('0xd3')](_0x6e58('0x59'),_0x229e6d,_0xbd0667,_0x36b0a2));}['_setSuggestionData'](_0x1c023e){const _0x4db201=_0x1c023e['id'],_0x504d22=this['addSuggestionData'](_0x1c023e);if(this[_0x6e58('0x6a')]&&this[_0x6e58('0x6a')][_0x6e58('0x2d')]){const _0x3b268d=this[_0x6e58('0x79')][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x119')),_0x640d54=_0x504d22[_0x6e58('0x3b')],_0x56daa1=_0x504d22[_0x6e58('0x10f')]?_0x504d22['type']+':'+_0x504d22[_0x6e58('0x10f')]:_0x504d22['type'],_0x377ba2=this[_0x6e58('0x79')][_0x6e58('0xfd')],_0x8fdf7f=_0x3b268d['add'](_0x92bc98(_0x377ba2,_0x6e58('0xb3'))),_0x98a947={'id':_0x4db201,'type':_0x56daa1,'hasComments':_0x640d54,'data':_0x1c023e[_0x6e58('0x7d')]||null,'originalSuggestionId':_0x1c023e['originalSuggestionId']||null,'attributes':_0x504d22[_0x6e58('0x17c')]};this[_0x6e58('0x6a')]['addSuggestion'](_0x98a947)[_0x6e58('0x114')](_0x479704=>{_0x504d22[_0x6e58('0xf9')]=!0x0,_0x3b268d[_0x6e58('0x77')](_0x8fdf7f),_0x479704&&_0x479704['createdAt']&&(this[_0x6e58('0x4c')]['get'](_0x4db201)[_0x6e58('0xda')]=_0x479704[_0x6e58('0xda')]);})[_0x6e58('0x50')](_0x6ef57e=>{throw _0x33da38('error-saving-suggestion-data-suggestion-discarded'),this[_0x6e58('0x79')][_0x6e58('0xe3')][_0x6e58('0x8b')]({'isUndoable':!0x1},()=>{_0x504d22[_0x6e58('0x159')]();}),_0x504d22[_0x6e58('0xae')](),this[_0x6e58('0x4c')][_0x6e58('0x3a')](_0x504d22['id']),this[_0x6e58('0x43')]['delete'](_0x504d22),_0x6ef57e;});}return _0x504d22;}[_0x6e58('0x14c')](_0x9290a6){return this['_blockAttributeKeys']['has'](_0x9290a6);}[_0x6e58('0x117')](_0x160def,_0x1a508d){const _0x5e3035=this[_0x6e58('0x79')][_0x6e58('0x6c')][_0x6e58('0x8')](_0x6e58('0x119')),_0x4978ca=this['getSuggestion'](_0x160def);if(this[_0x6e58('0x6a')]&&this['_adapter'][_0x6e58('0x99')]){if(_0x4978ca[_0x6e58('0xf9')]){const _0x3da4f3=_0x5e3035[_0x6e58('0x46')](_0x92bc98(this[_0x6e58('0x79')]['locale'],'PENDING_ACTION_SUGGESTION'));this[_0x6e58('0x6a')][_0x6e58('0x99')](_0x160def,_0x1a508d)['then'](()=>{_0x5e3035[_0x6e58('0x77')](_0x3da4f3);});}else _0x4978ca['on'](_0x6e58('0x0'),()=>{this[_0x6e58('0x117')](_0x160def,_0x1a508d);});}}[_0x6e58('0x14a')](_0x2df67f){if(!this[_0x6e58('0x6a')]||!this['_adapter'][_0x6e58('0x82')])throw new _0x1efb49(_0x6e58('0xfb'),this);return this[_0x6e58('0x6a')][_0x6e58('0x82')](_0x2df67f);}[_0x6e58('0xc')](_0x10fe08){const {id:_0x108e9f,type:_0x5a534d,subType:_0x2ae5b4,authorId:_0x463833}=this[_0x6e58('0x63')](_0x10fe08),_0x34c1af=this[_0x6e58('0x4c')][_0x6e58('0x8')](_0x108e9f)||this[_0x6e58('0x16')](_0x5a534d,_0x2ae5b4,_0x108e9f,_0x463833,{});switch(this['_checkSuggestionCorrectness'](_0x34c1af,_0x5a534d,_0x2ae5b4,_0x463833),this['_suggestionState'][_0x6e58('0x8')](_0x34c1af)){case'notReady':this[_0x6e58('0x14a')](_0x108e9f)['then'](_0x4ed43c=>{let _0x2008dd=Promise[_0x6e58('0x51')]();_0x4ed43c[_0x6e58('0x3b')]&&(_0x2008dd=this[_0x6e58('0x1e')][_0x6e58('0x149')]({'channelId':this[_0x6e58('0x79')][_0x6e58('0x12d')]['get'](_0x6e58('0xb6')),'threadId':_0x108e9f})),_0x2008dd['then'](()=>{this[_0x6e58('0x2c')](_0x4ed43c)[_0x6e58('0xf9')]=!0x0;});}),this[_0x6e58('0x43')][_0x6e58('0x16a')](_0x34c1af,_0x6e58('0x9a'));break;case _0x6e58('0x62'):this[_0x6e58('0x117')](_0x108e9f,{'state':_0x6e58('0xdb')});case'dataReady':this[_0x6e58('0x43')][_0x6e58('0x16a')](_0x34c1af,_0x6e58('0x3d')),this['fire'](_0x6e58('0x39'),_0x34c1af);break;case _0x6e58('0x3d'):this[_0x6e58('0xd3')](_0x6e58('0x4f'),_0x34c1af);}return _0x34c1af[_0x6e58('0x96')](_0x10fe08),_0x34c1af;}['_refreshSuggestionsChain'](_0x5d455a){const _0x4df9c2=Array[_0x6e58('0x74')](_0x5d455a),_0x5e0257=_0x4df9c2['filter'](_0x213e81=>_0x6e58('0x5e')==_0x213e81[_0x6e58('0xe5')]);this[_0x6e58('0x15a')](_0x5e0257);const _0x189055=_0x4df9c2[_0x6e58('0x33')](_0x6ab9b6=>!_0x6ab9b6['isMultiRange']&&'attribute'!=_0x6ab9b6[_0x6e58('0xe5')]),_0x3d9487=this[_0x6e58('0x168')]({'skipNotAttached':!0x0})['filter'](_0x57a299=>!_0x57a299[_0x6e58('0x7b')]&&_0x6e58('0x5e')!=_0x57a299[_0x6e58('0xe5')]),_0x123e78=_0x3d9487[_0x6e58('0x33')](_0x507166=>!_0x5d455a[_0x6e58('0xd9')](_0x507166)),_0x5e8c1c=new Map(_0x3d9487[_0x6e58('0x9d')](_0x114987=>[_0x114987,this[_0x6e58('0x25')][_0x6e58('0x146')](_0x114987['type'],_0x114987[_0x6e58('0x10f')],'chain')])),_0x43b787=new Map(_0x3d9487[_0x6e58('0x9d')](_0x2c8a80=>[_0x2c8a80,_0x2c8a80['getFirstRange']()])),_0x275245=new Set(),_0x1f5bf2=new Set();for(let _0xc93fa5=0x0;_0xc93fa5<_0x189055[_0x6e58('0x128')];_0xc93fa5++)_0x17e0ef(_0x189055[_0xc93fa5],_0x189055,_0xc93fa5+0x1);for(let _0x1c5393=0x0;_0x1c5393<_0x189055[_0x6e58('0x128')];_0x1c5393++)_0x17e0ef(_0x189055[_0x1c5393],_0x123e78,0x0);const _0x201429=new Set();for(let _0x1ae48b=0x0;_0x1ae48b<_0x189055['length'];_0x1ae48b++){const _0xabd3b6=_0x189055[_0x1ae48b];!_0x1f5bf2[_0x6e58('0xd9')](_0xabd3b6)&&_0xabd3b6[_0x6e58('0x10d')]&&(_0x201429[_0x6e58('0x46')](_0xabd3b6[_0x6e58('0x10d')]),_0xabd3b6['previous'][_0x6e58('0x14')]===_0xabd3b6&&(_0xabd3b6[_0x6e58('0x10d')][_0x6e58('0x14')]=null),_0xabd3b6[_0x6e58('0x10d')]=null),!_0x275245[_0x6e58('0xd9')](_0xabd3b6)&&_0xabd3b6[_0x6e58('0x14')]&&(_0x201429[_0x6e58('0x46')](_0xabd3b6[_0x6e58('0x14')]),_0xabd3b6[_0x6e58('0x14')][_0x6e58('0x10d')]===_0xabd3b6&&(_0xabd3b6['next'][_0x6e58('0x10d')]=null),_0xabd3b6[_0x6e58('0x14')]=null);}function _0x17e0ef(_0x195261,_0x19e871,_0x46d130){for(let _0x2cf5ac=_0x46d130;_0x2cf5ac<_0x19e871[_0x6e58('0x128')];_0x2cf5ac++){const _0x19ed1b=_0x1f42bd(_0x195261,_0x19e871[_0x2cf5ac]);_0x19ed1b&&(_0x19ed1b[0x0][_0x6e58('0x14')]=_0x19ed1b[0x1],_0x19ed1b[0x1][_0x6e58('0x10d')]=_0x19ed1b[0x0],_0x275245[_0x6e58('0x46')](_0x19ed1b[0x0]),_0x1f5bf2[_0x6e58('0x46')](_0x19ed1b[0x1]));}}function _0x1f42bd(_0x13e4a8,_0x5cad14){if(_0x13e4a8['author']['id']!==_0x5cad14[_0x6e58('0x13b')]['id'])return null;const _0x2dcc94=_0x5e8c1c[_0x6e58('0x8')](_0x13e4a8)(_0x13e4a8,_0x5cad14,_0x43b787[_0x6e58('0x8')](_0x13e4a8),_0x43b787['get'](_0x5cad14));if(!_0x2dcc94)return null;return _0x5e8c1c[_0x6e58('0x8')](_0x5cad14)(_0x13e4a8,_0x5cad14,_0x43b787[_0x6e58('0x8')](_0x13e4a8),_0x43b787[_0x6e58('0x8')](_0x5cad14))?_0x2dcc94[0x1]['commentThread']&&_0x2dcc94[0x1][_0x6e58('0x66')][_0x6e58('0x128')]?null:_0x2dcc94:null;}_0x201429[_0x6e58('0x14b')]&&this[_0x6e58('0x9f')](_0x201429);}[_0x6e58('0x15a')](_0x300181){if(0x0==_0x300181[_0x6e58('0x128')])return;const _0x2f160e=this[_0x6e58('0x168')]({'skipNotAttached':!0x0})['filter'](_0x596a0f=>'attribute'==_0x596a0f[_0x6e58('0xe5')]&&_0x596a0f[_0x6e58('0x20')]),_0x3a1c20=[],_0x1789b5=new Map();for(const _0x3b05d6 of _0x2f160e){const _0x41d7fe=_0x5c0e66(_0x3b05d6[_0x6e58('0x17c')]);_0x1789b5['has'](_0x41d7fe)||(_0x1789b5[_0x6e58('0x16a')](_0x41d7fe,_0x3a1c20[_0x6e58('0x128')]),_0x3a1c20['push']([]));const _0x329341=_0x1789b5['get'](_0x41d7fe);_0x3a1c20[_0x329341][_0x6e58('0x7e')](_0x3b05d6);}!function(){_0x3a1c20[_0x6e58('0x69')]((_0x5d003,_0x4ea3ae)=>{const _0x57e926=_0x5d003[0x0][_0x6e58('0xda')],_0x2a50b9=_0x4ea3ae[0x0][_0x6e58('0xda')];return _0x57e926==_0x2a50b9?_0x5d003[0x0][_0x6e58('0x17c')][_0x6e58('0xfa')]<_0x4ea3ae[0x0][_0x6e58('0x17c')][_0x6e58('0xfa')]?-0x1:0x1:_0x57e926<_0x2a50b9?-0x1:0x1;});for(const _0x459cef of _0x3a1c20)_0x459cef[_0x6e58('0x69')]((_0x33c92e,_0xbd4740)=>_0x33c92e['id']<_0xbd4740['id']?-0x1:0x1);}();for(let _0x258226=0x0;_0x258226<_0x3a1c20[_0x6e58('0x128')];_0x258226++){if(0x0==_0x3a1c20[_0x258226]['length'])continue;const _0x1c29fc=[];for(let _0x4b1c67=_0x258226+0x1;_0x4b1c67<_0x3a1c20[_0x6e58('0x128')];_0x4b1c67++)0x0!=_0x3a1c20[_0x4b1c67][_0x6e58('0x128')]&&_0x5b9422(_0x3a1c20[_0x258226],_0x3a1c20[_0x4b1c67])&&_0x1c29fc[_0x6e58('0x7e')](_0x4b1c67);for(const _0x2a17a5 of _0x1c29fc)_0x3a1c20[_0x258226]=_0x3a1c20[_0x258226]['concat'](_0x3a1c20[_0x2a17a5]),_0x3a1c20[_0x2a17a5]=[];}for(const _0x2e41ce of _0x3a1c20)for(let _0xa2f568=0x0;_0xa2f568<_0x2e41ce[_0x6e58('0x128')];_0xa2f568++)_0x2e41ce[_0xa2f568][_0x6e58('0x14')]=_0x2e41ce[_0xa2f568+0x1]||null;for(const _0x3d2a6d of _0x3a1c20)for(let _0x41f66c=0x0;_0x41f66c<_0x3d2a6d[_0x6e58('0x128')];_0x41f66c++)_0x3d2a6d[_0x41f66c]['previous']=_0x3d2a6d[_0x41f66c-0x1]||null;function _0x5b9422(_0x1e9f78,_0x5122ba){if(_0x1e9f78[0x0]['author']!==_0x5122ba[0x0][_0x6e58('0x13b')])return!0x1;if(!function(_0x43f491,_0x36f2c5){if(!_0x43f491[_0x6e58('0x3b')]&&!_0x36f2c5[_0x6e58('0x3b')])return!0x0;if(_0x43f491[_0x6e58('0x3b')]&&_0x36f2c5[_0x6e58('0x3b')])return!0x1;if(_0x43f491['hasComments']&&_0x36f2c5[_0x6e58('0xda')]<_0x43f491['commentThread'][_0x6e58('0x68')][_0x6e58('0x8')](0x0)[_0x6e58('0xda')])return!0x0;if(_0x36f2c5['hasComments']&&_0x43f491[_0x6e58('0xda')]<_0x36f2c5[_0x6e58('0x66')][_0x6e58('0x68')][_0x6e58('0x8')](0x0)[_0x6e58('0xda')])return!0x0;return!0x1;}(_0x1e9f78[0x0],_0x5122ba[0x0]))return!0x1;const _0xb40cdf=_0x1a4270(_0x1e9f78[0x0]['attributes'],'groupId'),_0x59c609=_0x1a4270(_0x5122ba[0x0][_0x6e58('0x17c')],_0x6e58('0xfa'));if(!_0x18815d(_0xb40cdf,_0x59c609))return!0x1;return!!_0x1e9f78[_0x6e58('0x120')](_0x304a97=>_0x5122ba[_0x6e58('0x178')](_0x57275a=>_0x304a97['getFirstRange']()[_0x6e58('0x29')](_0x57275a[_0x6e58('0x90')]())))&&_0x5122ba[_0x6e58('0x120')](_0xc9909=>_0x1e9f78[_0x6e58('0x178')](_0x5afc6f=>_0xc9909[_0x6e58('0x90')]()['isEqual'](_0x5afc6f[_0x6e58('0x90')]())));}}[_0x6e58('0xb8')](_0x51aeac){const _0x554f86=Array[_0x6e58('0x74')](_0x51aeac),_0x58fcc4=this[_0x6e58('0x168')]({'skipNotAttached':!0x0}),_0x2587da=_0x58fcc4[_0x6e58('0x33')](_0x5740ca=>!_0x51aeac[_0x6e58('0xd9')](_0x5740ca)),_0x44b7a2=new Map(_0x554f86[_0x6e58('0x9d')](_0x302bd2=>[_0x302bd2,this[_0x6e58('0x25')][_0x6e58('0x146')](_0x302bd2['type'],_0x302bd2[_0x6e58('0x10f')],_0x6e58('0xbb'))])),_0x235675=new Map(_0x58fcc4[_0x6e58('0x9d')](_0x1505a6=>[_0x1505a6,_0x1505a6['getRanges']()]));for(let _0x4cb49a=0x0;_0x4cb49a<_0x554f86[_0x6e58('0x128')];_0x4cb49a++){if(_0x56effd(this,_0x554f86[_0x4cb49a],_0x554f86,_0x4cb49a+0x1))return!0x0;}for(let _0x585324=0x0;_0x585324<_0x554f86[_0x6e58('0x128')];_0x585324++){if(_0x56effd(this,_0x554f86[_0x585324],_0x2587da,0x0))return!0x0;}return!0x1;function _0x56effd(_0x103687,_0x2f1c8b,_0x414455,_0x461d8f){for(let _0x386e9a=_0x461d8f;_0x386e9a<_0x414455[_0x6e58('0x128')];_0x386e9a++){const _0x4f7952=_0x414455[_0x386e9a];if(_0x4f7952[_0x6e58('0xe5')]!==_0x2f1c8b[_0x6e58('0xe5')]||_0x4f7952['author']['id']!==_0x2f1c8b['author']['id']||_0x4f7952[_0x6e58('0x10f')]!==_0x2f1c8b['subType'])continue;if(!Vt(_0x2f1c8b,_0x4f7952))continue;if(_0x6e58('0x5e')==_0x2f1c8b[_0x6e58('0xe5')]&&_0x2f1c8b[_0x6e58('0x7d')][_0x6e58('0xc5')]!=_0x4f7952['data']['oldValue'])continue;if(_0x6e58('0x5e')==_0x2f1c8b[_0x6e58('0xe5')]&&_0x103687[_0x6e58('0x14c')](_0x2f1c8b[_0x6e58('0x7d')][_0x6e58('0x171')]))continue;if(_0x6e58('0x135')==_0x2f1c8b[_0x6e58('0xe5')]){const _0x22ba8d=_0x103687[_0x6e58('0x79')][_0x6e58('0xe3')],_0xcf7515=_0x2f1c8b['getContainedElement']();if(_0xcf7515&&(_0x22ba8d['schema'][_0x6e58('0x5b')](_0xcf7515)||_0x22ba8d[_0x6e58('0x148')][_0x6e58('0x108')](_0xcf7515)))continue;}const _0xf09673=_0x44b7a2[_0x6e58('0x8')](_0x2f1c8b),_0x23f9e4=_0x235675['get'](_0x2f1c8b),_0x49e933=_0x235675[_0x6e58('0x8')](_0x4f7952),_0x35faf6=_0x2f1c8b[_0x6e58('0x66')]&&_0x2f1c8b[_0x6e58('0x66')][_0x6e58('0x128')],_0x3742ec=_0x4f7952['commentThread']&&_0x4f7952[_0x6e58('0x66')][_0x6e58('0x128')];if(!_0x35faf6&&_0xf09673(_0x49e933,_0x23f9e4))return _0x103687[_0x6e58('0x152')](_0x4f7952,_0x2f1c8b),_0x235675['delete'](_0x2f1c8b),!0x0;if(!_0x3742ec&&_0xf09673(_0x23f9e4,_0x49e933))return _0x103687[_0x6e58('0x152')](_0x2f1c8b,_0x4f7952),_0x235675[_0x6e58('0x3a')](_0x4f7952),!0x0;}return!0x1;}}['_joinSuggestions'](_0x1e9260,_0x41e262){if(_0x1e9260[_0x6e58('0x7b')])for(const _0x235ee of _0x41e262[_0x6e58('0x76')]())_0x1e9260[_0x6e58('0x87')](_0x235ee);else{const _0x107845=_0x41e262[_0x6e58('0x90')]()['end'];this[_0x6e58('0xee')](_0x1e9260,this['_model'][_0x6e58('0x12f')](_0x1e9260[_0x6e58('0x90')]()[_0x6e58('0x111')],_0x107845));}_0x41e262['removeMarkers']();}[_0x6e58('0xa9')](_0xcecb52,_0x4f0657){const _0x4aa4ac=_0xcecb52[_0x6e58('0x11e')](_0x6e58('0x55'))||_0xcecb52[_0x6e58('0x11e')](_0x6e58('0x5e'))?_0x6e58('0x30'):_0xcecb52[_0x6e58('0x92')]();return _0x92bc98(this[_0x6e58('0x79')]['locale'],_0x4f0657+'_'+_0x4aa4ac+'_SUGGESTION_ANNOUNCEMENT');}[_0x6e58('0x16c')](){const _0x3c5570=this['editor'];_0x2a67d9(this[_0x6e58('0xdd')],({left:_0x549031,entered:_0x456059})=>{const _0xae3434=[];for(const _0x5cb4f4 of _0x549031){const {group:_0x45b904,type:_0x148288}=this['_splitMarkerName'](_0x5cb4f4['name']);if(_0x6e58('0xd1')===_0x45b904){_0xae3434[_0x6e58('0x7e')](this[_0x6e58('0xa9')](_0x148288,_0x6e58('0x49')));break;}}for(const _0x5cf60d of _0x456059){const {group:_0x426541,type:_0x656253}=this[_0x6e58('0x63')](_0x5cf60d[_0x6e58('0x6e')]);if('suggestion'===_0x426541){_0xae3434[_0x6e58('0x7e')](this['_getMarkerAnnouncementText'](_0x656253,'ENTER'));break;}}_0xae3434[_0x6e58('0x128')]&&_0x3c5570['ui'][_0x6e58('0xa0')][_0x6e58('0x113')](_0x6e58('0x4e'),_0xae3434['join']('\x20'));});}[_0x6e58('0xe7')](_0x39eacb){if(null!==this[_0x6e58('0xcb')])return!0x1;const _0x4326b3=this[_0x6e58('0x79')],_0x34dbb9=_0x4326b3[_0x6e58('0xe3')][_0x6e58('0x12e')]['differ'][_0x6e58('0xb2')]();if(0x0==_0x34dbb9[_0x6e58('0x128')])return!0x1;const _0x815d13=[],_0x276dfa=_0x34dbb9[_0x6e58('0x33')](_0x5e0e7a=>_0x6e58('0x5e')==_0x5e0e7a[_0x6e58('0xe5')]),_0x29d1f8=_0x34dbb9['filter'](_0xfecfb2=>_0x6e58('0x4d')==_0xfecfb2[_0x6e58('0xe5')]&&'$text'!=_0xfecfb2[_0x6e58('0x6e')]),_0x3cc31a=_0x34dbb9['filter'](_0x53f8aa=>'remove'==_0x53f8aa[_0x6e58('0xe5')]&&_0x6e58('0x103')!=_0x53f8aa[_0x6e58('0x6e')]);for(const _0x627f8e of _0x276dfa)_0x815d13['push']({'key':_0x627f8e[_0x6e58('0x9')],'newValue':_0x627f8e[_0x6e58('0x13e')],'oldValue':_0x627f8e['attributeOldValue'],'range':_0x47ceb5(_0x627f8e[_0x6e58('0x65')])});for(const _0x27f126 of _0x29d1f8){const _0x1babde=_0x3cc31a[_0x6e58('0x14f')](_0x58b325=>_0x58b325[_0x6e58('0xc1')]['isEqual'](_0x27f126[_0x6e58('0xc1')]));_0x1babde&&_0x815d13[_0x6e58('0x7e')]({'key':_0x6e58('0x31'),'newValue':_0x27f126[_0x6e58('0x6e')],'oldValue':_0x1babde[_0x6e58('0x6e')],'range':_0x4326b3[_0x6e58('0xe3')][_0x6e58('0x42')](_0x27f126[_0x6e58('0xc1')][_0x6e58('0x122')])});}return 0x0!=_0x815d13[_0x6e58('0x128')]&&this['_reduceExistingSuggestions'](_0x39eacb,_0x815d13);function _0x47ceb5(_0x3cddde){return null==_0x3cddde[_0x6e58('0x19')][_0x6e58('0x173')]&&_0x3cddde['end'][_0x6e58('0x48')]==_0x3cddde[_0x6e58('0x111')]['nodeAfter']?Ut(_0x3cddde[_0x6e58('0x111')][_0x6e58('0x122')],_0x4326b3[_0x6e58('0xe3')]):_0x3cddde;}}['_processAttributeSuggestions'](_0x329a24){let _0x4fa9bc=!0x1;const _0x11c6fa=this['editor']['model'][_0x6e58('0x12e')][_0x6e58('0xd4')][_0x6e58('0x162')]()['filter'](_0x22b9b5=>_0x22b9b5[_0x6e58('0x7d')][_0x6e58('0x6f')]&&_0x22b9b5['name'][_0x6e58('0x11e')](_0x6e58('0x7c')));for(const _0x28ee0d of _0x11c6fa){const {subType:_0x47e765,id:_0x57cf4f}=this[_0x6e58('0x63')](_0x28ee0d['name']),_0x243200=_0x47e765[_0x6e58('0xe9')]('|')[0x0];for(const _0x46a104 of this[_0x6e58('0x168')]({'skipNotAttached':!0x0}))_0x46a104['id']!=_0x57cf4f&&'attribute'==_0x46a104[_0x6e58('0xe5')]&&_0x46a104['data']&&_0x46a104[_0x6e58('0x7d')][_0x6e58('0x171')]==_0x243200&&_0x46a104[_0x6e58('0x90')]()[_0x6e58('0x54')](_0x28ee0d[_0x6e58('0x7d')][_0x6e58('0x6f')])&&(this[_0x6e58('0x28')](_0x46a104,_0x28ee0d[_0x6e58('0x7d')][_0x6e58('0x6f')],_0x329a24),_0x4fa9bc=!0x0);}return _0x4fa9bc;}[_0x6e58('0xf1')](_0x50e790){if(null!==this[_0x6e58('0xcb')])return void _0x50e790();const _0x91136e=this[_0x6e58('0x79')];this[_0x6e58('0xcb')]=_0x91136e[_0x6e58('0xe3')][_0x6e58('0x12e')]['version'],_0x50e790();const _0xd95353=new Map();for(const _0x3b8516 of _0x91136e['model']['document']['history'][_0x6e58('0xb4')](this[_0x6e58('0xcb')]))if([_0x6e58('0xe8'),'addAttribute',_0x6e58('0x23'),_0x6e58('0x22')][_0x6e58('0x94')](_0x3b8516[_0x6e58('0xe5')])){const _0x485ff1=_0x3b8516[_0x6e58('0x124')],_0x25610d=_0xd95353[_0x6e58('0x8')](_0x485ff1)||[];_0x25610d['push'](_0x3b8516),_0xd95353[_0x6e58('0x16a')](_0x485ff1,_0x25610d);}this[_0x6e58('0xcb')]=null;for(const [_0x592e03,_0x3289f8]of _0xd95353){const _0x25c28a=_0x1b9186();_0x91136e[_0x6e58('0xe3')][_0x6e58('0x8b')](_0x592e03,_0x2746c1=>{const _0x521eb3=[];for(const _0x2d9258 of _0x3289f8){let _0x5f2e79,_0x59b4ec,_0x55f5e8,_0xfd4e07;if(_0x6e58('0xe8')==_0x2d9258[_0x6e58('0xe5')]){const _0x45cb93=_0x2d9258;_0x5f2e79=Ut(_0x45cb93[_0x6e58('0xc1')]['nodeAfter'],_0x91136e['model']),_0x59b4ec='$elementName',_0x55f5e8=_0x45cb93[_0x6e58('0xf6')],_0xfd4e07=_0x45cb93['oldName'];}else{const _0x42498d=_0x2d9258,_0x33a86d=this[_0x6e58('0x14c')](_0x42498d[_0x6e58('0x171')]),_0x25a8b7=this[_0x6e58('0x12c')]['has'](_0x42498d[_0x6e58('0x171')]);if(!_0x33a86d&&!_0x25a8b7)continue;_0x5f2e79=_0x33a86d?Ut(_0x42498d['range'][_0x6e58('0x111')][_0x6e58('0x122')],_0x91136e[_0x6e58('0xe3')]):_0x42498d[_0x6e58('0x65')],_0x59b4ec=_0x42498d['key'],_0x55f5e8=_0x6e58('0x23')==_0x2d9258[_0x6e58('0xe5')]?void 0x0:_0x42498d[_0x6e58('0x14d')],_0xfd4e07=_0x42498d[_0x6e58('0xc5')];}this[_0x6e58('0x38')](_0x5f2e79,_0x59b4ec,_0xfd4e07,_0x55f5e8,{'groupId':_0x25c28a}),_0x521eb3[_0x6e58('0x7e')]({'range':_0x5f2e79,'key':_0x59b4ec,'newValue':_0x55f5e8,'oldValue':_0xfd4e07});}this[_0x6e58('0x6')](_0x2746c1,_0x521eb3);});}}[_0x6e58('0x6')](_0x2f0c9d,_0x344c6e){if(0x0==_0x344c6e['length'])return!0x1;let _0x25a3dc=!0x1;for(const _0x31f55c of _0x344c6e){const _0x97e172=this[_0x6e58('0x45')](_0x31f55c[_0x6e58('0x65')],_0x6e58('0x5e'))[_0x6e58('0x33')](_0x3775c6=>!_0x3775c6['meta']['isNextTo'])[_0x6e58('0x9d')](_0x228bd6=>_0x228bd6[_0x6e58('0xd1')]),_0xe30123=_0x5c0e66({'newValue':_0x31f55c[_0x6e58('0x14d')]});_0x97e172['filter'](_0xa65db3=>{const [_0x2abd9d,_0x2ebb6c]=_0xa65db3[_0x6e58('0x10f')][_0x6e58('0xe9')]('|');return _0x2abd9d==_0x31f55c[_0x6e58('0x171')]&&_0x2ebb6c!=_0xe30123;})[_0x6e58('0x157')](_0x2065bc=>{this['_reduceSuggestionAttributeRange'](_0x2065bc,_0x31f55c[_0x6e58('0x65')],_0x2f0c9d),_0x25a3dc=!0x0;});}return _0x25a3dc;}['_reduceSuggestionAttributeRange'](_0x2493b0,_0x162982,_0x151aa6){const _0x2c98a5=_0x2493b0[_0x6e58('0x90')]()[_0x6e58('0x11b')](_0x162982);0x0!==_0x2c98a5['length']?0x1!==_0x2c98a5[_0x6e58('0x128')]?this[_0x6e58('0xd6')](_0x2493b0,_0x162982[_0x6e58('0x111')],_0x162982['end']):this['_setSuggestionRange'](_0x2493b0,_0x2c98a5[0x0]):_0x151aa6[_0x6e58('0x138')](_0x2493b0['getFirstMarker']());}}class $t{constructor(_0x2ffc55){this['_editor']=_0x2ffc55,this[_0x6e58('0xdd')]=_0x2ffc55[_0x6e58('0xe3')],this[_0x6e58('0x17b')]=new Map(),this[_0x6e58('0xb0')]=new Map(),this[_0x6e58('0xec')]();}[_0x6e58('0xf4')](_0x13c38a,_0xf3e49f,_0x165a34,_0xdedcad,_0x2c7c55,_0x314a70){return new _0x12d829(this[_0x6e58('0xdd')],{'type':_0x13c38a,'subType':_0xf3e49f,'id':_0x165a34,'author':_0xdedcad,'creator':_0xdedcad,'attributes':_0x2c7c55,'onAttributesChange':_0x314a70,'onAccept':(..._0x3b1359)=>this[_0x6e58('0x146')](_0x13c38a,_0xf3e49f,_0x6e58('0xba'))(..._0x3b1359),'onDiscard':(..._0x45b31a)=>this[_0x6e58('0x146')](_0x13c38a,_0xf3e49f,_0x6e58('0x159'))(..._0x45b31a)});}['registerCustomCallback'](_0x21ef2c,_0xf76f7b,_0x1d02d9,_0x5944ad){const _0x1a19d9=_0x21ef2c+':'+_0xf76f7b+':'+_0x1d02d9;this[_0x6e58('0x17b')][_0x6e58('0x16a')](_0x1a19d9,_0x5944ad);}[_0x6e58('0x146')](_0x46b407,_0x5ef665,_0x390865){const _0x2ea0c9=_0x46b407+':'+_0x5ef665+':'+_0x390865;return this[_0x6e58('0x17b')][_0x6e58('0x8')](_0x2ea0c9)||this['_defaultCallbacks'][_0x6e58('0x8')](_0x46b407+':'+_0x390865);}[_0x6e58('0xec')](){const _0x100ff1=()=>!0x1,_0x5a6155=_0x97a334=>{_0x97a334[_0x6e58('0x69')]((_0x247110,_0x1fed25)=>_0x247110['start'][_0x6e58('0x15b')](_0x1fed25[_0x6e58('0x111')])?0x1:-0x1),this[_0x6e58('0xdd')][_0x6e58('0x15e')](_0x51014d=>{for(const _0x13a267 of _0x97a334){let _0x5a05ca;_0x5a05ca=_0x13a267[_0x6e58('0x19')][_0x6e58('0x151')]&&_0x13a267[_0x6e58('0x19')][_0x6e58('0x48')]==_0x13a267[_0x6e58('0x111')][_0x6e58('0x122')]?_0x51014d[_0x6e58('0x107')](_0x13a267[_0x6e58('0x111')][_0x6e58('0x122')],'on'):_0x51014d[_0x6e58('0x107')](_0x13a267),this[_0x6e58('0xdd')][_0x6e58('0x106')](_0x5a05ca,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x3c4c27=(_0x4d442d,_0x195200)=>{_0x195200&&this[_0x6e58('0xdd')]['change'](_0xcf79c0=>{const {commandName:_0x4a83be,commandParams:_0x1e15e9=[]}=_0x195200,_0x525b5a=_0x4d442d[_0x6e58('0x9d')](_0x469dd1=>(Tt(_0x469dd1)&&(_0x469dd1=this[_0x6e58('0xdd')][_0x6e58('0x12f')](_0x469dd1['end'])),_0x469dd1))['filter'](_0x2b9707=>'$graveyard'!==_0x2b9707[_0x6e58('0xca')][_0x6e58('0x11c')]);if(_0x525b5a[_0x6e58('0x128')]<0x1)return;const _0x24aaf4=Array['from'](this[_0x6e58('0xdd')][_0x6e58('0x12e')][_0x6e58('0xf5')][_0x6e58('0x76')]())[_0x6e58('0x9d')](_0x5e249f=>_0x16f1c9['fromRange'](_0x5e249f));_0xcf79c0['setSelection'](_0x525b5a);for(const _0xbc6a24 of this['_editor']['commands'][_0x6e58('0x10b')]())_0xbc6a24[_0x6e58('0x105')]();_0x1e15e9[_0x6e58('0x7e')]({'forceDefaultExecution':!0x0}),this[_0x6e58('0x4a')][_0x6e58('0x154')](_0x4a83be,..._0x1e15e9);const _0x5d9a2b=_0x24aaf4[_0x6e58('0x33')](_0x29db95=>_0x6e58('0x27')!=_0x29db95['root'][_0x6e58('0x11c')]);_0x5d9a2b[_0x6e58('0x128')]>0x0&&_0xcf79c0[_0x6e58('0x44')](_0x5d9a2b);for(const _0x131f4a of _0x24aaf4)_0x131f4a[_0x6e58('0x140')]();});},_0x7a7899=(_0x32c875,_0x338a67)=>0x1==_0x32c875[_0x6e58('0x128')]&&0x1==_0x338a67['length']&&_0x32c875[0x0][_0x6e58('0x19')]['isEqual'](_0x338a67[0x0][_0x6e58('0x111')]),_0x4a7c2c=(_0x2c2d4,_0x5cbf8a,_0x30df79,_0xd36af4)=>Ot(_0x2c2d4,_0x5cbf8a,_0x30df79,_0xd36af4,this[_0x6e58('0xdd')])?[_0x2c2d4,_0x5cbf8a]:Ot(_0x5cbf8a,_0x2c2d4,_0xd36af4,_0x30df79,this['_model'])?[_0x5cbf8a,_0x2c2d4]:null;this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0x97'),_0x100ff1),this[_0x6e58('0xb0')][_0x6e58('0x16a')]('insertion:discard',_0x5a6155),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0x130'),_0x7a7899),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0x2a'),_0x4a7c2c),this[_0x6e58('0xb0')]['set'](_0x6e58('0x61'),_0x5a6155),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0xcd'),_0x100ff1),this[_0x6e58('0xb0')]['set'](_0x6e58('0x147'),_0x7a7899),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0xb7'),_0x4a7c2c),this[_0x6e58('0xb0')]['set'](_0x6e58('0x1d'),_0x3c4c27),this[_0x6e58('0xb0')][_0x6e58('0x16a')]('formatInline:discard',_0x100ff1),this[_0x6e58('0xb0')]['set'](_0x6e58('0x156'),_0x7a7899),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0x177'),_0x100ff1),this['_defaultCallbacks'][_0x6e58('0x16a')](_0x6e58('0x175'),_0x3c4c27),this[_0x6e58('0xb0')]['set'](_0x6e58('0xa'),_0x100ff1),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0xa6'),_0x7a7899),this['_defaultCallbacks'][_0x6e58('0x16a')](_0x6e58('0x10e'),_0x100ff1),this[_0x6e58('0xb0')][_0x6e58('0x16a')](_0x6e58('0x164'),_0x100ff1),this[_0x6e58('0xb0')]['set']('attribute:discard',(_0x333c2e,_0x14225d)=>{if(!_0x14225d)return;const _0x4047bf=this[_0x6e58('0x4a')][_0x6e58('0x6c')][_0x6e58('0x8')](p);this[_0x6e58('0xdd')][_0x6e58('0x15e')](_0x28d6e1=>{if(_0x6e58('0x31')==_0x14225d['key'])for(const _0x97705e of _0x333c2e){const _0x40650b=_0x97705e[_0x6e58('0x111')][_0x6e58('0x122')],_0x3d0eeb=_0x14225d['oldValue'];_0x28d6e1[_0x6e58('0xe8')](_0x40650b,_0x3d0eeb);}else{if(_0x4047bf[_0x6e58('0x14c')](_0x14225d[_0x6e58('0x171')]))for(const _0x4340b2 of _0x333c2e)void 0x0!==_0x14225d[_0x6e58('0xc5')]?_0x28d6e1[_0x6e58('0x11')](_0x14225d['key'],_0x14225d['oldValue'],_0x4340b2[_0x6e58('0x111')][_0x6e58('0x122')]):_0x28d6e1[_0x6e58('0x23')](_0x14225d[_0x6e58('0x171')],_0x4340b2[_0x6e58('0x111')]['nodeAfter']);else for(const _0x8d757d of _0x333c2e)_0x14225d[_0x6e58('0xc5')]?_0x28d6e1[_0x6e58('0x11')](_0x14225d[_0x6e58('0x171')],_0x14225d[_0x6e58('0xc5')],_0x8d757d):_0x28d6e1['removeAttribute'](_0x14225d[_0x6e58('0x171')],_0x8d757d);}});}),this['_defaultCallbacks'][_0x6e58('0x16a')](_0x6e58('0x88'),_0x7a7899);}}function Bt(_0x1d6621,_0x269f23,_0x5df2e6){for(const _0x5b7d28 of _0x269f23['parent'][_0x6e58('0x85')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x5b7d28[_0x6e58('0xca')]==_0x5b7d28)return!0x1;if(!_0x5df2e6[_0x6e58('0x116')](_0x5b7d28))return!0x1;if(_0x1d6621[_0x6e58('0x5b')](_0x5b7d28)||_0x1d6621[_0x6e58('0x108')](_0x5b7d28))return!0x0;}return!0x1;}function Tt(_0x3fb104){return _0x3fb104[_0x6e58('0x19')][_0x6e58('0x48')]==_0x3fb104[_0x6e58('0x111')][_0x6e58('0x122')]&&_0x3fb104['end'][_0x6e58('0x7a')];}function xt(_0x329ab2,_0xe08209,_0x266532,_0x5e2962){const _0x4da74e=_0x208b93=>!_0x208b93['item']['is'](_0x6e58('0x32'))&&!_0x5e2962[_0x6e58('0x5b')](_0x208b93[_0x6e58('0x15')]),_0x3b3d11=_0x329ab2[_0x6e58('0x111')][_0x6e58('0x67')](_0x4da74e),_0x1a11dd=_0x329ab2[_0x6e58('0x19')][_0x6e58('0x67')](_0x4da74e,{'direction':_0x6e58('0x98')});return(!_0x329ab2[_0x6e58('0x111')][_0x6e58('0x29')](_0x3b3d11)||!_0x329ab2[_0x6e58('0x19')][_0x6e58('0x29')](_0x1a11dd))&&(_0x3b3d11['isBefore'](_0x1a11dd)?_0x266532[_0x6e58('0x8d')](_0xe08209,{'range':_0x266532[_0x6e58('0x12f')](_0x3b3d11,_0x1a11dd)}):_0x266532['removeMarker'](_0xe08209),!0x0);}function Et(_0x31da4f){return _0x5c0e66(_0x31da4f);}function Rt(_0x2b2d4d){const _0x39f4da=_0x2b2d4d[_0x6e58('0x111')][_0x6e58('0x122')];return _0x39f4da&&_0x39f4da['is']('element');}function Ut(_0x34734c,_0x88000d){const _0x361c6c=_0x88000d[_0x6e58('0x148')][_0x6e58('0x5b')](_0x34734c)||_0x88000d[_0x6e58('0x148')][_0x6e58('0x127')](_0x34734c);return _0x88000d[_0x6e58('0x12f')](_0x88000d[_0x6e58('0xc8')](_0x34734c,_0x6e58('0xb5')),_0x361c6c?_0x88000d['createPositionAfter'](_0x34734c):_0x88000d[_0x6e58('0xc8')](_0x34734c,'end'));}function Ot(_0x35d3f4,_0x239ec9,_0x38e49a,_0x2a367c,_0x41ec88){if(!Vt(_0x35d3f4,_0x239ec9))return!0x1;if(_0x38e49a[_0x6e58('0x19')]['isEqual'](_0x2a367c[_0x6e58('0x111')]))return!0x0;if(_0x35d3f4['type']!=_0x239ec9[_0x6e58('0xe5')])return!0x1;if(!_0x38e49a[_0x6e58('0x19')][_0x6e58('0x16e')](_0x2a367c[_0x6e58('0x111')]))return!0x1;const _0x2559fc=_0x41ec88[_0x6e58('0x12f')](_0x38e49a[_0x6e58('0x19')],_0x2a367c[_0x6e58('0x111')])['getWalker']();for(const _0x304d9b of _0x2559fc)if([_0x6e58('0x40'),'elementEnd'][_0x6e58('0x94')](_0x304d9b[_0x6e58('0xe5')])&&_0x41ec88[_0x6e58('0x148')][_0x6e58('0x108')](_0x304d9b[_0x6e58('0x15')]))return!0x1;return!0x0;}function Vt(_0x5aa075,_0x277bee){return!(!_0x5aa075[_0x6e58('0x20')]||!_0x277bee['_isDataLoaded'])&&_0x18815d(_0x5aa075[_0x6e58('0x17c')],_0x277bee['attributes']);}function Gt(_0x2dcdfb,_0x397e17){const _0x6180ca=Ft(_0x2dcdfb[_0x6e58('0x17c')]),_0xb9f306=Ft(_0x397e17);if(!_0x2dcdfb['_isDataLoaded'])return!0x1;for(const _0x56acdc of Object[_0x6e58('0xbe')](_0xb9f306))if(!_0x18815d(_0x6180ca[_0x56acdc],_0xb9f306[_0x56acdc]))return!0x1;return!0x0;}function Ft(_0x5ecc49){const _0x5c9206=Object[_0x6e58('0xdf')]({},_0x5ecc49);return delete _0x5c9206[_0x6e58('0x123')],delete _0x5c9206[_0x6e58('0x101')],_0x5c9206;}function Pt(_0x3d038b){return'attribute'==_0x3d038b[_0x6e58('0xe5')]?_0x3d038b[_0x6e58('0x10f')]['split']('|')[0x0]:null;}
|