@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240128.0 → 0.0.0-nightly-20240129.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-20240129.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-20240129.0",
|
|
44
|
+
"ckeditor5-collaboration": "0.0.0-nightly-20240129.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 _0x9674=['CommentsRepository','getNearestSelectionRange','deletion:','_reduceExistingSuggestions','model','high','_isForcedDefaultExecutionBlock','unshift','rename','formatInline:','_trackFormatChanges','splice','every','isRemovable','comments','addComment','_createSuggestion','ck-suggestion-marker-','root','$text','_removeSuggestion','forceDefaultExecution','_isDataLoaded','nodeBefore','_getSuggestionData','clear','addMarkerName','removeMarker:suggestion:formatBlock','howMany','ariaLiveAnnouncer','isOwn','for','length','getMultiRangeId','_reduceSuggestionAttributeRange','insertion:discard','createPositionBefore','_splitMarkerName','isArray','removeMarker:suggestion:attribute','accepted','formatBlock:discard','insertion:join','suggestionUnloaded','_registerDefaultCallbacks','_getAuthorFromId','value','track-changes-adapter-already-set','name','announce','_commentsRepository','documentSelection','getCommentThread','reconvertMarker','hasCommentThread','getCustomProperty','enableReadOnlyMode','registerPostFixer','end','group','set','insertContent','suggestionChanged','ck-suggestion-marker-formatBlock','substring','getAttribute','createPositionAfter','addRange','_setSuggestionData','isBlock','push','elementStart','getSuggestionCallback','trackChanges','isInsideObject','track-changes-suggestion-not-found','editingDowncast','attributeKey','track-changes-suggestion-data-mismatch','_addThreadToSuggestion','format','containsPosition','config','consumable','PendingActions','isUndo','editor','addMarker','$graveyard','insertion:','discard','setSelection','listenTo','always','toViewElement','keys','getItems','showSuggestionHighlights','Users','enableCommand','markInlineFormat','_saved','_getExternalAuthor','containerElement','isSelectable','track-changes-user-not-found','trackChanges.mergeNestedSuggestions','notReady','_breakSuggestionMarker','highest','fire','rejected','containsRange','_getAttributeKey','editing','suggestion:','isMultiRange','_editor','_isBlockAttribute','deletion','subType','_rangeIsInLocalUserInsertion','isCollapsed','unbindElementFromMarkerName','trackChangesCommand','_recordAttributeSuggestions','removeClass','pop','_initAriaMarkerChangeAnnouncements','addMarker:suggestion:attribute','low','item','default','_cutOutSuggestionMarker','isExternal','position','execute','getMarkers','data','pluginName','multi','formatGroupId','_joinSuggestions','marker-count','type','start','commands','removed','find','createdAt','discardSuggestion','discardSelectedSuggestions','attributes','deletion:join','_adapter','move','isInContent','getFirstRange','ck-suggestion-marker-formatInline','detach','fromCharCode','from','schema','isTouching','removeMarker','deletion:discard','split','chain','parent','previous','markInsertion','getWalker','hasComments','attribute:join','trackChanges.trackFormatChanges','attribute:discard','consume','deletion:accept','newValue','suggestion','addMarker:suggestion','LEAVE','track-changes-enable-command-twice','isObject','getRanges','_suggestions','$elementName','requires','document','rootName','isBefore','locale','containsRangeInObject','has','authoredAt','oldRange','setAttribute','setTo','markerReady','addSuggestionData','newRange','_isRegisteredAttribute','_refreshAttributeSuggestionsChain','_recordAttributeChanges','forward','update:suggestion','concat','commentThread','_registerBlockAttribute','author','updateSuggestion','elementToElement','attribute:accept','_inlineAttributeKeys','filter','remove','markAttributeChange','_SUGGESTION_ANNOUNCEMENT','_blockAttributeKeys','_setSuggestionRange','change:data','next','isEqual','some','insertion:accept','_findSuggestions','upcast','backward','getUser','options','PENDING_ACTION_SUGGESTION','markerToHighlight','attribute','getChanges','return','discardAllSuggestions','open','_element','clone','markMultiRangeDeletion','isAtEnd','updateMarker','attributeOldValue','key','_onDiscard','ck-suggestion-marker','differ','applyOperation','isIntersectingWithRange','element','ENTER','change:activeMarkers','meta','isIntersecting','getRange','values','isAtStart','after','before','activeMarkers','lowest','define','acceptAllSuggestions','moveTargetPosition','join','assign','warn','includes','getAllAdjacentSuggestions','removeMarkers','_addSuggestionMarker','suggestion-type','attribute:','data-suggestion','init','getSuggestion','addUser','markerNameToElements','track-changes-command-not-found','isLocal','_getMarkerAnnouncementText','get','refresh','formatBlock','_defaultCallbacks','authorName','_model','change','startsWith','_suggestionFactory','_updateSuggestionData','add','nodeAfter','hasSuggestion','formatBlock:join','widget','addMarker:suggestion:formatBlock','oldValue','addClass','isLimit','_processAttributeChanges','ck-suggestion-marker--active','getChangedMarkers','addSuggestion','batch','createRange','size','_enabledCommands','toJSON','formatInline:chain','insertion:chain','getIntersection','buildSuggestion','acceptSuggestion','formatInline','_mergeNestedSuggestions','elementEnd','getAncestors','head','suggestionLoaded','createSelection','getLastMatchingPosition','isAfter','formatBlock:','createRangeOn','markers','never','getSuggestions','commandName','containsItem','attributeNewValue','getFirstMarker','insertion','_customCallbacks','creator','accept','stop','catch','createPositionAt','getShiftedBy','enqueueChange','writer','isNextTo','range','markerName','registerCustomCallback','collaboration.channelId','ready','insert','mapper','_checkSuggestionCorrectness','getDifference','addCommentThread','delete','multipleBlocks','_processAttributeSuggestions','addHighlight','then','conversion','map','_descriptionFactory','$marker','plugins','_suggestionState','sort','_refreshSuggestionsChain','splitPosition','dataReady','unbind','adapter','stopListening','markMultiRangeInsertion','_joinWithAdjacentSuggestions','dataDowncast','groupId','acceptSelectedSuggestions','skipNestingCheck','removeAttribute'];(function(_0x51fccd,_0x9674ab){const _0x19cd14=function(_0x3ec782){while(--_0x3ec782){_0x51fccd['push'](_0x51fccd['shift']());}};_0x19cd14(++_0x9674ab);}(_0x9674,0x1bc));const _0x19cd=function(_0x51fccd,_0x9674ab){_0x51fccd=_0x51fccd-0x0;let _0x19cd14=_0x9674[_0x51fccd];return _0x19cd14;};import{Plugin as _0x55104c,PendingActions as _0x591f53}from'ckeditor5/src/core.js';import{LiveRange as _0xb00d8d}from'ckeditor5/src/engine.js';import{CKEditorError as _0x26400e,uid as _0x53da6a,priorities as _0x482df7,logWarning as _0x51132c}from'ckeditor5/src/utils.js';import{toWidget as _0x590b33}from'ckeditor5/src/widget.js';import{Users as _0x2e2901,hashObject as _0x120711,surroundingMarkersDetector as _0x526c68}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x24fc8e from'./commands/trackchangescommand.js';import _0x383892 from'./commands/acceptsuggestioncommand.js';import _0x55d849 from'./commands/discardsuggestioncommand.js';import _0x4e0ac6 from'./commands/executeonallsuggestionscommand.js';import _0x1b069a from'./commands/executeonselectedsuggestionscommand.js';import _0xf9ee21 from'./suggestion.js';import _0x32c005 from'./suggestiondescriptionfactory.js';import _0x114ccf from'./integrations/aiassistant.js';import _0x250ab4 from'./integrations/alignment.js';import _0x2125c9 from'./integrations/basicstyles.js';import _0x2fdbcf from'./integrations/blockquote.js';import _0x521820 from'./integrations/casechange.js';import _0x2b06b5 from'./integrations/ckbox.js';import _0x202b66 from'./integrations/codeblock.js';import _0x3330df from'./integrations/comments.js';import _0x2ebf47 from'./integrations/deletecommand.js';import _0x37fdb4 from'./integrations/list.js';import _0x2c1659 from'./integrations/listproperties.js';import _0x54fd9c from'./integrations/entercommand.js';import _0x52519a from'./integrations/findandreplace.js';import _0x3608d4 from'./integrations/font.js';import _0x4bae4c from'./integrations/formatpainter.js';import _0x5cc4c3 from'./integrations/heading.js';import _0x399bbf from'./integrations/highlight.js';import _0x46cd1e from'./integrations/horizontalline.js';import _0x4e50d4 from'./integrations/htmlembed.js';import _0x4e57cf from'./integrations/image.js';import _0x4a2f88 from'./integrations/imagereplace.js';import _0x1245ff from'./integrations/imagestyle.js';import _0x5bce54 from'./integrations/importword.js';import _0x3e5f3e from'./integrations/indent.js';import _0x38016a from'./integrations/inputcommand.js';import _0x5b2057 from'./integrations/link.js';import _0x29aac3 from'./integrations/legacylist.js';import _0x377603 from'./integrations/legacylistproperties.js';import _0x4e3638 from'./integrations/mediaembed.js';import _0x97c4a9 from'./integrations/mention.js';import _0x21c4d6 from'./integrations/pagebreak.js';import _0x5a2208 from'./integrations/paragraph.js';import _0x1af964 from'./integrations/removeformat.js';import _0x1f9395 from'./integrations/restrictededitingmode.js';import _0x4b25d4 from'./integrations/shiftentercommand.js';import _0x4d03f2 from'./integrations/standardeditingmode.js';import _0x24486c from'./integrations/style.js';import _0x3d8133 from'./integrations/table.js';import _0x192348 from'./integrations/tablemergesplit.js';import _0x5dca0a from'./integrations/tableheadings.js';import _0x264ee7 from'./integrations/tableclipboard.js';import _0x555714 from'./integrations/tablecolumnresize.js';import _0x20d342 from'./integrations/template.js';import _0x2b25a8 from'./integrations/tableofcontents.js';import _0x576310 from'./integrations/title.js';import _0x17d10c from'./integrations/undo.js';import _0x4613a3 from'./integrations/tablecaption.js';import _0x3037cd from'./integrations/tableproperties.js';import{getTranslation as _0x4e3a96}from'./utils/common-translations.js';import{isEqual as _0x5acd85,omit as _0x39f2a8}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0x55104c{static get[_0x19cd('0x79')](){return['CommentsRepository',_0x2e2901,_0x591f53,_0x114ccf,_0x250ab4,_0x2125c9,_0x2fdbcf,_0x2b06b5,_0x521820,_0x202b66,_0x3330df,_0x2ebf47,_0x54fd9c,_0x52519a,_0x3608d4,_0x4bae4c,_0x5cc4c3,_0x399bbf,_0x46cd1e,_0x4e50d4,_0x4e57cf,_0x1245ff,_0x4a2f88,_0x5bce54,_0x3e5f3e,_0x38016a,_0x29aac3,_0x377603,_0x5b2057,_0x37fdb4,_0x2c1659,_0x4e3638,_0x97c4a9,_0x21c4d6,_0x5a2208,_0x1af964,_0x1f9395,_0x4b25d4,_0x4d03f2,_0x24486c,_0x3d8133,_0x192348,_0x5dca0a,_0x4613a3,_0x264ee7,_0x555714,_0x2b25a8,_0x3037cd,_0x20d342,_0x576310,_0x17d10c];}static get[_0x19cd('0x49')](){return'TrackChangesEditing';}constructor(_0x306c01){function _0x15c5b1(_0x2b358d){return _0x2b358d[_0x19cd('0x125')](_0x16f827=>String[_0x19cd('0x5e')](_0x16f827))[_0x19cd('0xc6')]('');}super(_0x306c01),this['_recordAttributeSuggestions']=!0x1,this['set'](_0x19cd('0xc1'),[]),this['on'](_0x19cd('0xb9'),(_0x2e9dbf,_0x56026c,_0x72fe17,_0x51bfdd)=>{this[_0x19cd('0xdc')]['change'](()=>{for(const _0x523255 of[..._0x51bfdd,..._0x72fe17])this['_model'][_0x19cd('0x103')]['has'](_0x523255)&&_0x306c01[_0x19cd('0x30')][_0x19cd('0x16d')](_0x523255);});}),this[_0x19cd('0x126')]=new _0x32c005(this['editor']['model'][_0x19cd('0x60')],this[_0x19cd('0x14')][_0x19cd('0x7d')]),this[_0x19cd('0x58')]=null,this[_0x19cd('0xdf')]=new Bt(this[_0x19cd('0x14')]),this[_0x19cd('0x77')]=new Map(),this['_commentsRepository']=_0x306c01['plugins']['get'](_0x19cd('0x138')),this[_0x19cd('0xf1')]=new Set(),this[_0x19cd('0xdc')]=this[_0x19cd('0x14')][_0x19cd('0x13c')],this['_suggestionState']=new WeakMap(),this[_0x19cd('0x13e')]=!0x1,this[_0x19cd('0x98')]=new Set(['$elementName']),this[_0x19cd('0x93')]=new Set(),_0x306c01[_0x19cd('0x10')][_0x19cd('0xc3')](_0x19cd('0x6c'),_0x19cd('0x42')),this[_0x19cd('0x142')]=_0x306c01[_0x19cd('0x10')]['get'](_0x19cd('0x6c')),_0x306c01[_0x19cd('0x10')][_0x19cd('0xc3')](_0x19cd('0x28'),!0x0),this[_0x19cd('0xf9')]=_0x306c01[_0x19cd('0x10')][_0x19cd('0xd7')](_0x19cd('0x28')),this[_0x19cd('0x3a')]=new _0x24fc8e(_0x306c01,this[_0x19cd('0xf1')]),this[_0x19cd('0x3e')](),this[_0x15c5b1([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x15c5b1([0x34,0x30,0x34,0x38,0x30,0x32,0x35,0x36]);}[_0x19cd('0xd0')](){const _0x20b514=this[_0x19cd('0x14')],_0x2123b8=(_0x39210d,_0x94a40e)=>{if(_0x19cd('0xa6')!=_0x39210d)return _0x19cd('0x149')+_0x39210d;const _0x9bdf9a=_0x94a40e[_0x19cd('0x64')]('|')[0x0];return this[_0x19cd('0x34')](_0x9bdf9a)?_0x19cd('0x177'):_0x19cd('0x5c');};_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0xa'))[_0x19cd('0xa5')]({'model':_0x19cd('0x71'),'view':_0x4b9f2d=>{const {id:_0x55153e,type:_0x598916,subType:_0x3a80aa}=this[_0x19cd('0x15d')](_0x4b9f2d[_0x19cd('0x116')]),_0x3f7709=[_0x19cd('0xb3'),_0x2123b8(_0x598916,_0x3a80aa)];let _0x3fa16d=0xbb8;return this[_0x19cd('0xc1')][_0x19cd('0xc9')](_0x4b9f2d[_0x19cd('0x116')])&&(_0x3f7709['push'](_0x19cd('0xeb')),_0x3fa16d=0xbc2),_0x19cd('0x35')==_0x598916&&(_0x3fa16d+=0x5),{'classes':_0x3f7709,'attributes':{'data-suggestion':_0x55153e},'priority':_0x3fa16d};}}),_0x20b514['conversion']['for'](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x42afa9=>{_0x42afa9['on'](_0x19cd('0x72'),(_0x3c4ed7,_0x4fde1a,_0x2e3147)=>{if(!_0x2e3147['options'][_0x19cd('0x1f')])return;const _0x83671d=_0x4fde1a[_0x19cd('0x41')];if(!_0x83671d)return;const _0x48c62e=_0x2e3147['mapper'][_0x19cd('0x1c')](_0x83671d);_0x20b514[_0x19cd('0x13c')]['schema'][_0x19cd('0x75')](_0x83671d)&&_0x48c62e&&!_0x48c62e[_0x19cd('0x16f')](_0x19cd('0xe5'))&&_0x48c62e['is'](_0x19cd('0x25'))&&_0x590b33(_0x48c62e,_0x2e3147[_0x19cd('0x113')]);},{'priority':_0x19cd('0x13d')});}),_0x20b514['conversion']['for']('dataDowncast')[_0x19cd('0xa5')]({'model':_0x19cd('0x71'),'view':(_0x205fce,_0x3f6b4a)=>{if(!_0x3f6b4a[_0x19cd('0xa3')][_0x19cd('0x1f')])return null;const {type:_0x208a3b,subType:_0x461386}=this['_splitMarkerName'](_0x205fce[_0x19cd('0x116')]);return{'classes':[_0x19cd('0xb3'),_0x2123b8(_0x208a3b,_0x461386)],'priority':0xbb8};}});const _0x20a25a=({showActiveMarkers:_0x5d2bc9=!0x0,isAttributeSuggestion:_0x1b3eb0=!0x1}={})=>(_0xd1c77,_0x4f0aa9,_0x2b8b53)=>{if(!_0x4f0aa9[_0x19cd('0x41')])return;const {id:_0x51cd72}=this[_0x19cd('0x15d')](_0x4f0aa9[_0x19cd('0x116')]);if(_0x1b3eb0){const _0x4b2330=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x51cd72),_0x22e1de=this[_0x19cd('0x2f')](_0x4b2330);if(!this[_0x19cd('0x34')](_0x22e1de))return;}if(_0x4f0aa9[_0x19cd('0x41')]['is']('selection'))return void _0x2b8b53[_0x19cd('0x11')][_0x19cd('0x6e')](_0x4f0aa9['item'],_0xd1c77[_0x19cd('0x168')]);const _0x54921f=_0x2b8b53[_0x19cd('0x11b')][_0x19cd('0x1c')](_0x4f0aa9[_0x19cd('0x41')]);if(_0x4f0aa9[_0x19cd('0x41')]['is']('element')&&_0x20b514['model'][_0x19cd('0x60')][_0x19cd('0x3')](_0x4f0aa9['item'])&&!_0x54921f[_0x19cd('0x16f')](_0x19cd('0x122'))){_0x2b8b53[_0x19cd('0x113')][_0x19cd('0xe8')]([_0x19cd('0xb3'),'ck-suggestion-marker-formatBlock'],_0x54921f),_0x2b8b53[_0x19cd('0x113')]['setAttribute']('data-suggestion',_0x51cd72,_0x54921f),_0x2b8b53[_0x19cd('0x11b')]['bindElementToMarker'](_0x54921f,_0x4f0aa9['markerName']),_0x5d2bc9&&(this['activeMarkers'][_0x19cd('0xc9')](_0x4f0aa9[_0x19cd('0x116')])?_0x2b8b53[_0x19cd('0x113')][_0x19cd('0xe8')](_0x19cd('0xeb'),_0x54921f):_0x2b8b53[_0x19cd('0x113')][_0x19cd('0x3c')]('ck-suggestion-marker--active',_0x54921f));for(const _0x21d4a4 of _0x20b514[_0x19cd('0x13c')]['createRangeIn'](_0x4f0aa9[_0x19cd('0x41')])[_0x19cd('0x1e')]())_0x2b8b53[_0x19cd('0x11')]['consume'](_0x21d4a4,_0xd1c77['name']);_0x2b8b53[_0x19cd('0x11')][_0x19cd('0x6e')](_0x4f0aa9['item'],_0xd1c77[_0x19cd('0x168')]);}};_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x5ac0c6=>{_0x5ac0c6['on'](_0x19cd('0xe6'),(_0x49e921,_0x59e6a6,_0x2d1f9e)=>{_0x2d1f9e[_0x19cd('0xa3')][_0x19cd('0x1f')]&&_0x20a25a({'showActiveMarkers':!0x1})(_0x49e921,_0x59e6a6,_0x2d1f9e);},{'priority':_0x19cd('0x2b')});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0x133'))[_0x19cd('0xe1')](_0x579fa5=>{_0x579fa5['on'](_0x19cd('0x3f'),(_0x100a00,_0x298099,_0x2fb2d5)=>{_0x2fb2d5[_0x19cd('0xa3')][_0x19cd('0x1f')]&&_0x20a25a({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x100a00,_0x298099,_0x2fb2d5);},{'priority':_0x19cd('0x2b')});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0x133'))['markerToData']({'model':_0x19cd('0x71'),'view':(_0x1d6d30,_0x2ac2c0)=>_0x2ac2c0['options'][_0x19cd('0x1f')]?null:{'group':_0x19cd('0x71'),'name':_0x1d6d30['substr'](0xb)}}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')]('upcast')[_0x19cd('0x91')]({'view':{'name':_0x19cd('0x71'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x436921,{writer:_0x5df9a4})=>{let _0x3b3bf5=_0x19cd('0x31')+_0x436921[_0x19cd('0x179')](_0x19cd('0xcd'))+':'+_0x436921[_0x19cd('0x179')]('id');return _0x436921[_0x19cd('0x179')](_0x19cd('0x4d'))&&(_0x3b3bf5+=':'+_0x436921['getAttribute'](_0x19cd('0x4d'))),_0x5df9a4['createElement'](_0x19cd('0x127'),{'data-name':_0x3b3bf5});}}),_0x20b514['conversion']['for'](_0x19cd('0xa0'))['dataToMarker']({'view':'suggestion'}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x1faea2=>{_0x1faea2['on']('addMarker:suggestion:formatBlock',_0x20a25a(),{'priority':'high'});}),_0x20b514[_0x19cd('0x124')][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x18425a=>{_0x18425a['on']('addMarker:suggestion:attribute',_0x20a25a({'isAttributeSuggestion':!0x0}),{'priority':_0x19cd('0x13d')});}),_0x20b514[_0x19cd('0x124')]['for'](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x328e5f=>{_0x328e5f['on'](_0x19cd('0x153'),(_0x55ff34,_0x285030,_0x2be560)=>{const _0x10c74f=_0x2be560[_0x19cd('0x11b')][_0x19cd('0xd3')](_0x285030['markerName']);if(_0x10c74f)for(const _0x3e5e77 of _0x10c74f)_0x3e5e77['getCustomProperty'](_0x19cd('0x122'))||(_0x2be560['writer'][_0x19cd('0x3c')]([_0x19cd('0xb3'),'ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x3e5e77),_0x2be560[_0x19cd('0x113')][_0x19cd('0x137')](_0x19cd('0xcf'),_0x3e5e77),_0x2be560[_0x19cd('0x11b')]['unbindElementFromMarkerName'](_0x3e5e77,_0x285030[_0x19cd('0x116')]));},{'priority':_0x19cd('0x13d')});}),_0x20b514['conversion'][_0x19cd('0x157')](_0x19cd('0xa'))[_0x19cd('0xe1')](_0x1b36d2=>{_0x1b36d2['on'](_0x19cd('0x15f'),(_0x29fb27,_0x5724f2,_0x47c4fb)=>{const _0x174c94=_0x47c4fb[_0x19cd('0x11b')]['markerNameToElements'](_0x5724f2[_0x19cd('0x116')]);if(!_0x174c94)return;const {id:_0x5c4953}=this[_0x19cd('0x15d')](_0x5724f2[_0x19cd('0x116')]),_0xf6d737=this[_0x19cd('0x77')]['get'](_0x5c4953),_0x4dd02c=this[_0x19cd('0x2f')](_0xf6d737);if(this['_isBlockAttribute'](_0x4dd02c))for(const _0x698c1a of _0x174c94)_0x698c1a['getCustomProperty']('addHighlight')||(_0x47c4fb[_0x19cd('0x113')][_0x19cd('0x3c')]([_0x19cd('0xb3'),_0x19cd('0x177'),'ck-suggestion-marker--active'],_0x698c1a),_0x47c4fb[_0x19cd('0x113')][_0x19cd('0x137')](_0x19cd('0xcf'),_0x698c1a),_0x47c4fb[_0x19cd('0x11b')][_0x19cd('0x39')](_0x698c1a,_0x5724f2[_0x19cd('0x116')]));},{'priority':_0x19cd('0x13d')});}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0xec08d0=>{let _0x4e5595=!0x1;const _0x2fd7b2=Array['from'](_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0xb4')]['getChangedMarkers']()),_0x533d65=new Set();for(const {name:_0x121453,data:_0x4f4b77}of _0x2fd7b2){const {group:_0x3315ee,type:_0x2e00dc,subType:_0x19d1e0,id:_0x3386d4}=this[_0x19cd('0x15d')](_0x121453);if(_0x19cd('0x71')!==_0x3315ee)continue;const _0x8cba78=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x3386d4);if(null!=_0x4f4b77['newRange']){_0x19cd('0xf8')==_0x2e00dc&&(_0x4e5595=_0x4e5595||Tt(_0x4f4b77[_0x19cd('0x86')],_0x121453,_0xec08d0,_0x20b514[_0x19cd('0x13c')]['schema']));const _0x39eaac=_0x19cd('0xa6')==_0x2e00dc&&this[_0x19cd('0x34')](_0x19d1e0[_0x19cd('0x64')]('|')[0x0]);if(_0x4f4b77[_0x19cd('0x86')][_0x19cd('0x38')]||_0x19cd('0x16')==_0x4f4b77['newRange'][_0x19cd('0x14a')][_0x19cd('0x7b')]||_0x19cd('0xd9')==_0x2e00dc&&!Vt(_0x4f4b77['newRange'])||_0x39eaac&&!Vt(_0x4f4b77[_0x19cd('0x86')])||_0x19cd('0x35')==_0x2e00dc&&!(!Rt(_0x1d570a=_0x4f4b77[_0x19cd('0x86')])&&!function(_0x5e1a0d){return _0x5e1a0d['start'][_0x19cd('0x66')]==_0x5e1a0d[_0x19cd('0x172')][_0x19cd('0x14f')]&&_0x5e1a0d[_0x19cd('0x4f')][_0x19cd('0xae')];}(_0x1d570a)))_0xec08d0[_0x19cd('0x62')](_0x121453),_0x4e5595=!0x0;else{if(!_0x8cba78||!_0x8cba78['isInContent'])continue;_0x533d65[_0x19cd('0xe1')](_0x8cba78);}}}var _0x1d570a;return _0x533d65[_0x19cd('0xf0')]>0x0&&(_0x4e5595=!!this['_joinWithAdjacentSuggestions'](_0x533d65)||_0x4e5595),_0x4e5595;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0xb62737=>{let _0x42ae09=!0x1;for(const _0x322fb8 of _0x20b514['model'][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xa7')]())if(_0x19cd('0x11a')==_0x322fb8[_0x19cd('0x4e')])for(const _0x237af5 of this[_0x19cd('0x77')][_0x19cd('0xbd')]()){if(_0x237af5[_0x19cd('0x32')]||!_0x237af5[_0x19cd('0x5a')])continue;const _0x336629=_0x19cd('0xd9')==_0x237af5[_0x19cd('0x4e')],_0x1a89da=this['_getAttributeKey'](_0x237af5),_0x1debba=_0x1a89da&&this['_isBlockAttribute'](_0x1a89da);if(!_0x336629&&!_0x1debba)continue;const _0x3219da=_0x237af5[_0x19cd('0x5b')]();if(_0x3219da[_0x19cd('0x4f')][_0x19cd('0x66')]!=_0x3219da[_0x19cd('0x172')][_0x19cd('0x66')]&&!_0x3219da[_0x19cd('0x172')]['isAtEnd']){const _0x55b143=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x3219da[_0x19cd('0x4f')][_0x19cd('0xe2')],_0x19cd('0x172')),_0x1a011d=_0x20b514[_0x19cd('0x13c')][_0x19cd('0xef')](_0x3219da[_0x19cd('0x4f')],_0x55b143);_0xb62737[_0x19cd('0xaf')](_0x237af5[_0x19cd('0x109')](),{'range':_0x1a011d}),_0x42ae09=!0x0;}}return _0x42ae09;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0x171')](_0x8ea2c3=>this[_0x19cd('0xea')](_0x8ea2c3)),_0x20b514['model'][_0x19cd('0x7a')]['registerPostFixer'](_0x154cc8=>!_0x154cc8[_0x19cd('0xee')][_0x19cd('0xd5')]&&this[_0x19cd('0x121')](_0x154cc8)),_0x20b514[_0x19cd('0x13c')]['on']('_afterChanges',()=>{this[_0x19cd('0x3b')]=!0x1;}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')]['on'](_0x19cd('0x9a'),(_0x4c1e29,_0x52d287)=>{if(!_0x52d287[_0x19cd('0xd5')]||_0x52d287[_0x19cd('0x13')])return;if(!this[_0x19cd('0x3b')])return;const _0x2242d0=_0x20b514['model'][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xa7')]();if(0x0==_0x2242d0[_0x19cd('0x158')])return;const _0xc5b432=[],_0x7fb8e4=_0x2242d0['filter'](_0x636486=>_0x19cd('0xa6')==_0x636486['type']),_0x599e4f=_0x2242d0['filter'](_0x98d996=>'insert'==_0x98d996[_0x19cd('0x4e')]&&_0x19cd('0x14b')!=_0x98d996['name']),_0x4b0224=_0x2242d0[_0x19cd('0x94')](_0x324430=>'remove'==_0x324430[_0x19cd('0x4e')]&&'$text'!=_0x324430['name']);for(const _0x2b4b43 of _0x7fb8e4)this['_isRegisteredAttribute'](_0x2b4b43[_0x19cd('0xb')])&&_0xc5b432[_0x19cd('0x4')]({'key':_0x2b4b43[_0x19cd('0xb')],'newValue':_0x2b4b43[_0x19cd('0x108')],'oldValue':_0x2b4b43[_0x19cd('0xb0')],'range':Ut(_0x2b4b43[_0x19cd('0x115')],_0x20b514['model'])});for(const _0x3c8aad of _0x599e4f){const _0x12dc17=_0x4b0224[_0x19cd('0x52')](_0xcf9c2a=>_0xcf9c2a[_0x19cd('0xab')]===_0x3c8aad[_0x19cd('0xab')]);if(_0x12dc17){const _0x30529c=Ot(_0x3c8aad['position'][_0x19cd('0xe2')],_0x20b514[_0x19cd('0x13c')]);_0x12dc17[_0x19cd('0x168')]!==_0x3c8aad[_0x19cd('0x168')]&&_0xc5b432[_0x19cd('0x4')]({'key':'$elementName','newValue':_0x3c8aad['name'],'oldValue':_0x12dc17[_0x19cd('0x168')],'range':_0x30529c});for(const [_0x37338f,_0x11de42]of _0x12dc17[_0x19cd('0x56')]){if(!this[_0x19cd('0x87')](_0x37338f))continue;const _0x47a4f8=_0x3c8aad[_0x19cd('0x56')][_0x19cd('0xd7')](_0x37338f);_0x11de42!==_0x47a4f8&&_0xc5b432[_0x19cd('0x4')]({'key':_0x37338f,'newValue':_0x47a4f8,'oldValue':_0x11de42,'range':_0x30529c});}for(const [_0x55e5e4,_0x572845]of _0x3c8aad['attributes'])this[_0x19cd('0x87')](_0x55e5e4)&&(_0x12dc17['attributes'][_0x19cd('0x7f')](_0x55e5e4)||_0xc5b432[_0x19cd('0x4')]({'key':_0x55e5e4,'newValue':_0x572845,'oldValue':null,'range':_0x30529c}));}}0x0!=_0xc5b432[_0x19cd('0x158')]&&_0x20b514[_0x19cd('0x13c')][_0x19cd('0x112')](_0x52d287,_0x1d1e1f=>{const _0x4b816f=_0x53da6a();for(const {range:_0x56ddda,key:_0x53de52,oldValue:_0x38b8cf,newValue:_0x3ee898}of _0xc5b432)this[_0x19cd('0x96')](_0x56ddda,_0x53de52,_0x38b8cf,_0x3ee898,{'groupId':_0x4b816f});this[_0x19cd('0x13b')](_0x1d1e1f,_0xc5b432);});},{'priority':_0x19cd('0xc2')}),_0x20b514[_0x19cd('0x13c')][_0x19cd('0x103')]['on'](_0x19cd('0x8b'),(_0x164e58,_0x17284c,_0x51a046)=>{if(null==_0x51a046){const {id:_0x54fe34}=this[_0x19cd('0x15d')](_0x17284c[_0x19cd('0x168')]),_0x11089d=this['_suggestions'][_0x19cd('0xd7')](_0x54fe34);_0x11089d&&_0x11089d[_0x19cd('0x152')](_0x17284c[_0x19cd('0x168')]);}}),_0x20b514['model'][_0x19cd('0x7a')]['on']('change:data',()=>{const _0x460b2c=Array[_0x19cd('0x5f')](_0x20b514[_0x19cd('0x13c')][_0x19cd('0x7a')][_0x19cd('0xb4')][_0x19cd('0xec')]())[_0x19cd('0x94')](_0x4872e0=>_0x19cd('0x71')===this[_0x19cd('0x15d')](_0x4872e0['name'])[_0x19cd('0x173')]);if(0x0===_0x460b2c['length'])return;_0x460b2c['sort']((_0x40860f,_0x290441)=>{const _0x1bbd69=_0x40860f[_0x19cd('0x48')][_0x19cd('0x81')],_0x2c4af5=_0x290441[_0x19cd('0x48')][_0x19cd('0x81')];return null===_0x1bbd69&&null===_0x2c4af5?0x0:null===_0x1bbd69&&null!==_0x2c4af5?-0x1:null!==_0x1bbd69&&null===_0x2c4af5?0x1:_0x1bbd69['start'][_0x19cd('0x7c')](_0x2c4af5[_0x19cd('0x4f')])?-0x1:0x1;});const _0x31afcd=new Set(),_0xeec367=new Set();for(const {name:_0xc7970,data:_0x3f1938}of _0x460b2c){const {id:_0x2615e1}=this[_0x19cd('0x15d')](_0xc7970);if(null===_0x3f1938['oldRange']){const _0x5a3d9b=this['_handleNewSuggestionMarker'](_0xc7970);_0xeec367[_0x19cd('0xe1')](_0x5a3d9b);}else{const _0x1cea78=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x2615e1);null!==_0x3f1938[_0x19cd('0x86')]||_0x1cea78[_0x19cd('0x5a')]?(_0x31afcd[_0x19cd('0xe1')](_0x1cea78[_0x19cd('0xfc')]),_0xeec367['add'](_0x1cea78)):this[_0x19cd('0x14c')](_0x1cea78);}}_0xeec367['size']>0x0&&this[_0x19cd('0x12b')](_0xeec367);for(const _0x2ccdbe of _0x31afcd)this[_0x19cd('0x2c')](_0x19cd('0x176'),_0x2ccdbe);}),_0x20b514['model']['on'](_0x19cd('0xb5'),(_0x360c7e,_0x5c4d3b)=>{const _0x2f15f0=_0x5c4d3b[0x0];if(!this['_suggestions'][_0x19cd('0xf0')])return;if(!_0x2f15f0['isDocumentOperation'])return;if(_0x2f15f0[_0x19cd('0xee')][_0x19cd('0x13')]||!_0x2f15f0[_0x19cd('0xee')]['isLocal'])return;let _0x3f7206,_0xe50545;switch(_0x2f15f0[_0x19cd('0x4e')]){case _0x19cd('0x11a'):_0x3f7206=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0[_0x19cd('0x45')]),_0xe50545=_0x3f7206[_0x19cd('0x111')](_0x2f15f0[_0x19cd('0x154')]);break;case'split':_0x3f7206=_0x20b514[_0x19cd('0x13c')]['createPositionAt'](_0x2f15f0[_0x19cd('0x12c')]),_0xe50545=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0[_0x19cd('0xc5')]);break;case _0x19cd('0x59'):_0x3f7206=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x110')](_0x2f15f0['targetPosition']),_0xe50545=_0x3f7206[_0x19cd('0x111')](_0x2f15f0[_0x19cd('0x154')]);break;default:return;}const _0x10bcb5=_0x20b514[_0x19cd('0x13c')]['createRange'](_0x3f7206,_0xe50545);_0x20b514[_0x19cd('0x13c')][_0x19cd('0xdd')](()=>{for(const {suggestion:_0x188ae7,meta:_0x17b647}of this[_0x19cd('0x9f')](_0x10bcb5)){if(_0x188ae7[_0x19cd('0x32')])continue;if('formatInline'==_0x188ae7[_0x19cd('0x4e')])continue;const _0xbe2ff4=this[_0x19cd('0x2f')](_0x188ae7);if(_0xbe2ff4&&this[_0x19cd('0x34')](_0xbe2ff4)&&_0x19cd('0x64')!=_0x2f15f0[_0x19cd('0x4e')])continue;const _0x4693d1=_0x188ae7[_0x19cd('0x48')]&&_0x188ae7[_0x19cd('0x48')][_0x19cd('0x120')];('formatBlock'!=_0x188ae7[_0x19cd('0x4e')]||_0x19cd('0x64')==_0x2f15f0['type']&&!_0x4693d1)&&(_0x17b647['containsRangeInObject']||_0x19cd('0x10a')==_0x188ae7[_0x19cd('0x4e')]&&_0x17b647[_0x19cd('0x156')]||_0x188ae7['getFirstRange']()[_0x19cd('0x2e')](_0x10bcb5)&&this[_0x19cd('0x2a')](_0x188ae7,_0x3f7206,_0xe50545));}});},{'priority':_0x19cd('0xc2')}),_0x20b514[_0x19cd('0x13c')]['on']('deleteContent',(_0x5d38df,_0x42ad4e)=>{const _0x36ba55=_0x42ad4e[0x0],_0x462388=_0x42ad4e[0x1];if(_0x462388&&_0x462388[_0x19cd('0x14d')])return;if(this[_0x19cd('0x13e')])return;if(!this[_0x19cd('0x3a')]['value'])return;if(_0x36ba55[_0x19cd('0x38')])return;const _0x5dd004=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x60')],{start:_0x1aa130,end:_0x2b2b84}=_0x36ba55[_0x19cd('0x5b')](),_0x3b8396=_0x1aa130[_0x19cd('0xe2')]&&_0x5dd004[_0x19cd('0xe9')](_0x1aa130['nodeAfter'])?null:_0x5dd004['getNearestSelectionRange'](_0x1aa130,_0x19cd('0x8a')),_0x51558c=_0x2b2b84[_0x19cd('0x14f')]&&_0x5dd004[_0x19cd('0xe9')](_0x2b2b84[_0x19cd('0x14f')])?null:_0x5dd004[_0x19cd('0x139')](_0x2b2b84,_0x19cd('0xa1')),_0x1b3412=_0x20b514[_0x19cd('0x13c')]['createRange'](_0x3b8396?_0x3b8396[_0x19cd('0x4f')]:_0x1aa130,_0x51558c?_0x51558c['end']:_0x2b2b84);_0x20b514['model']['change'](_0x3165a2=>{this['markDeletion'](_0x1b3412);const _0x274285=_0x20b514['model'][_0x19cd('0x60')][_0x19cd('0x139')](_0x1b3412[_0x19cd('0x4f')]);_0x36ba55['is'](_0x19cd('0x16b'))?_0x3165a2[_0x19cd('0x19')](_0x274285):_0x36ba55[_0x19cd('0x83')](_0x274285);}),_0x5d38df['stop']();},{'priority':_0x482df7['normal']+0xa}),_0x20b514['model']['on']('insertContent',(_0x4740b2,_0x1c301b)=>{const _0x35881b=_0x1c301b[_0x1c301b[_0x19cd('0x158')]-0x1];_0x35881b&&_0x35881b[_0x19cd('0x14d')]||this[_0x19cd('0x13e')]||this[_0x19cd('0x3a')][_0x19cd('0x166')]&&(_0x20b514[_0x19cd('0x13c')][_0x19cd('0xdd')](()=>{let _0x5c79d2=_0x20b514['model'][_0x19cd('0x175')](_0x1c301b[0x0],_0x1c301b[0x1],_0x1c301b[0x2],{'forceDefaultExecution':!0x0});if(!_0x5c79d2)return;_0x4740b2[_0x19cd('0xa8')]=_0x5c79d2[_0x19cd('0xac')]();const _0x414227=_0x5c79d2[_0x19cd('0x172')][_0x19cd('0x14f')],_0x2b9727=_0x20b514[_0x19cd('0x13c')][_0x19cd('0x60')];_0x414227&&_0x2b9727[_0x19cd('0x3')](_0x414227)&&!_0x2b9727[_0x19cd('0x75')](_0x414227)&&(_0x5c79d2=_0x20b514[_0x19cd('0x13c')][_0x19cd('0xef')](_0x5c79d2['start'],_0x20b514['model'][_0x19cd('0x110')](_0x414227,_0x19cd('0x172')))),this[_0x19cd('0x68')](_0x5c79d2);}),_0x4740b2[_0x19cd('0x10e')]());},{'priority':_0x19cd('0x13d')}),this[_0x19cd('0x14')]['commands']['add'](_0x19cd('0x7'),this[_0x19cd('0x3a')]),this['enableCommand'](_0x19cd('0x7'));const _0x3bf689=new _0x383892(_0x20b514,this[_0x19cd('0x77')]);_0x20b514['commands'][_0x19cd('0xe1')](_0x19cd('0xf7'),_0x3bf689),this['enableCommand'](_0x19cd('0xf7'));const _0x3ef672=new _0x55d849(_0x20b514,this[_0x19cd('0x77')]);_0x20b514[_0x19cd('0x50')]['add'](_0x19cd('0x54'),_0x3ef672),this[_0x19cd('0x21')](_0x19cd('0x54')),_0x20b514[_0x19cd('0x50')][_0x19cd('0xe1')](_0x19cd('0xc4'),new _0x4e0ac6(_0x20b514,_0x3bf689,this['_suggestions'])),this['enableCommand'](_0x19cd('0xc4')),_0x20b514['commands'][_0x19cd('0xe1')]('discardAllSuggestions',new _0x4e0ac6(_0x20b514,_0x3ef672,this['_suggestions'])),this[_0x19cd('0x21')](_0x19cd('0xa9')),_0x20b514[_0x19cd('0x50')][_0x19cd('0xe1')](_0x19cd('0x135'),new _0x1b069a(_0x20b514,_0x3bf689,this[_0x19cd('0x77')])),this['enableCommand'](_0x19cd('0x135')),_0x20b514['commands'][_0x19cd('0xe1')]('discardSelectedSuggestions',new _0x1b069a(_0x20b514,_0x3ef672,this[_0x19cd('0x77')])),this['enableCommand'](_0x19cd('0x55'));const _0x2ba0c1=_0x20b514[_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x138'));this[_0x19cd('0x1a')](_0x2ba0c1,_0x19cd('0x147'),(_0x538210,{threadId:_0x2a9a4d})=>{const _0x2e51b8=this[_0x19cd('0x77')]['get'](_0x2a9a4d);_0x2e51b8&&_0x2e51b8[_0x19cd('0x8d')]&&0x1===_0x2e51b8['commentThread'][_0x19cd('0x158')]&&this['_updateSuggestionData'](_0x2a9a4d,{'hasComments':!0x0});},{'priority':_0x19cd('0x40')}),this[_0x19cd('0x1a')](_0x2ba0c1,'removeComment',(_0xa89dfe,{threadId:_0x6fa844})=>{const _0x690d95=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x6fa844);_0x690d95&&_0x690d95[_0x19cd('0x8d')]&&!_0x690d95['commentThread']['length']&&this['_updateSuggestionData'](_0x6fa844,{'hasComments':!0x1});},{'priority':_0x19cd('0x40')});}set['adapter'](_0x414f24){if(this[_0x19cd('0x58')])throw new _0x26400e(_0x19cd('0x167'),this);this[_0x19cd('0x58')]=_0x414f24;}get[_0x19cd('0x12f')](){return this[_0x19cd('0x58')];}[_0x19cd('0x105')]({skipNotAttached:_0x355542=!0x1,toJSON:_0x4153c4=!0x1}={}){const _0x2f100f=[];for(const _0x55c1d1 of this[_0x19cd('0x77')][_0x19cd('0xbd')]())_0x355542&&!_0x55c1d1[_0x19cd('0x5a')]||_0x2f100f[_0x19cd('0x4')](_0x55c1d1);return _0x4153c4?_0x2f100f[_0x19cd('0x125')](_0x4aad1a=>_0x4aad1a[_0x19cd('0xf2')]()):_0x2f100f;}[_0x19cd('0xd1')](_0xd659ee){const _0xad9016=this[_0x19cd('0x77')]['get'](_0xd659ee);if(!_0xad9016)throw new _0x26400e(_0x19cd('0x9'),this);return _0xad9016;}[_0x19cd('0xe3')](_0xa82545){return this[_0x19cd('0x77')][_0x19cd('0x7f')](_0xa82545);}[_0x19cd('0x85')](_0x1073c6){const {authorId:_0x3d4c47,id:_0x27de6d,attributes:_0x4415ff}=_0x1073c6,[_0x209b49,_0x146de0]=_0x1073c6['type']['split'](':'),_0x6472bd=this['_suggestions']['get'](_0x27de6d)||this[_0x19cd('0x148')](_0x209b49,_0x146de0,_0x27de6d,_0x3d4c47,_0x4415ff);if(this['_addThreadToSuggestion'](_0x6472bd),this[_0x19cd('0x11c')](_0x6472bd,_0x209b49,_0x146de0||null,_0x3d4c47),_0x6472bd[_0x19cd('0x53')]=_0x1073c6['createdAt'],_0x6472bd[_0x19cd('0x14e')]=!0x0,_0x4415ff&&_0x4415ff['@external']){const _0x183744=_0x4415ff['@external'],_0x77a5da=this[_0x19cd('0x24')](_0x183744[_0x19cd('0xdb')]);_0x6472bd[_0x19cd('0x80')]=_0x183744[_0x19cd('0x53')],_0x6472bd[_0x19cd('0x8f')]=_0x77a5da,_0x6472bd[_0x19cd('0x44')]=!0x0;}else _0x6472bd[_0x19cd('0x80')]=_0x1073c6[_0x19cd('0x53')];switch(_0x1073c6['data']&&(_0x6472bd[_0x19cd('0x48')]=_0x1073c6['data']),_0x1073c6[_0x19cd('0x56')]&&(_0x6472bd[_0x19cd('0x56')]=_0x1073c6['attributes']),this[_0x19cd('0x58')]&&this[_0x19cd('0x58')]['addSuggestion']||(_0x6472bd[_0x19cd('0x23')]=!0x0),this[_0x19cd('0x129')][_0x19cd('0xd7')](_0x6472bd)){case _0x19cd('0x29'):this[_0x19cd('0x129')]['set'](_0x6472bd,_0x19cd('0x12d'));break;case _0x19cd('0x84'):_0x6472bd[_0x19cd('0x5a')]?(this[_0x19cd('0x132')](new Set([_0x6472bd])),this['_refreshSuggestionsChain'](new Set([_0x6472bd])),this[_0x19cd('0x129')]['set'](_0x6472bd,'ready'),this['fire'](_0x19cd('0xfd'),_0x6472bd)):this[_0x19cd('0x129')]['set'](_0x6472bd,_0x19cd('0x51'));}return _0x6472bd;}[_0x19cd('0xf7')](_0x3fb757){this[_0x19cd('0x14d')](()=>{this[_0x19cd('0x14')]['model'][_0x19cd('0xdd')](()=>{for(const _0x263ca0 of _0x3fb757[_0x19cd('0xca')]())_0x263ca0[_0x19cd('0x10d')]();});});}[_0x19cd('0x54')](_0x2e6011){this['forceDefaultExecution'](()=>{this[_0x19cd('0x14')][_0x19cd('0x13c')]['change'](()=>{for(const _0x289373 of _0x2e6011[_0x19cd('0xca')]())_0x289373[_0x19cd('0x18')]();});});}[_0x19cd('0x21')](_0x39385e,_0x3b8f4b){const _0x4a3721=this[_0x19cd('0x14')][_0x19cd('0x50')][_0x19cd('0xd7')](_0x39385e);if(!_0x4a3721)throw new _0x26400e(_0x19cd('0xd4'),this,{'commandName':_0x39385e});if(this[_0x19cd('0xf1')]['has'](_0x4a3721))throw new _0x26400e(_0x19cd('0x74'),this,{'commandName':_0x39385e});this['_enabledCommands'][_0x19cd('0xe1')](_0x4a3721),_0x3b8f4b&&_0x4a3721['on']('execute',(_0x324920,_0x41c88f)=>{this[_0x19cd('0x3a')][_0x19cd('0x166')]&&(this[_0x19cd('0x13e')]||(_0x41c88f['length']>0x0&&_0x41c88f[_0x41c88f['length']-0x1]&&_0x41c88f[_0x41c88f['length']-0x1][_0x19cd('0x14d')]?_0x41c88f[_0x19cd('0x3d')]():(_0x324920['return']=_0x3b8f4b((..._0x179042)=>_0x4a3721[_0x19cd('0x46')](..._0x179042,{'forceDefaultExecution':!0x0}),..._0x41c88f),_0x324920[_0x19cd('0x10e')]())));},{'priority':'high'});}[_0x19cd('0x14d')](_0x3d69b2){let _0x474966,_0x1234c4;const _0x2117fe=this[_0x19cd('0x13e')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x474966=_0x3d69b2();}catch(_0x3e917e){_0x1234c4=_0x3e917e;}return _0x2117fe||(this[_0x19cd('0x13e')]=!0x1),_0x1234c4&&_0x26400e['rethrowUnexpectedError'](_0x1234c4,this),_0x474966;}['markInsertion'](_0x226555,_0x1acd0a=null,_0x36835a={}){if(_0x226555[_0x19cd('0x38')])return null;const _0x342a73=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'];for(const {suggestion:_0x1f22f9,meta:_0x56e7ee}of this[_0x19cd('0x9f')](_0x226555,'insertion'))if(_0x56e7ee[_0x19cd('0x156')]){if(!_0x56e7ee[_0x19cd('0x114')]){if(_0x56e7ee[_0x19cd('0x7e')]){if(!this[_0x19cd('0xf9')]||!Pt(_0x1f22f9,_0x36835a))continue;return _0x1f22f9;}if(Pt(_0x1f22f9,_0x36835a))return _0x1f22f9;this['_breakSuggestionMarker'](_0x1f22f9,_0x226555[_0x19cd('0x4f')],_0x226555[_0x19cd('0x172')]);break;}if(_0x1acd0a==_0x1f22f9['subType']&&Pt(_0x1f22f9,_0x36835a)){const _0x29fcc8=_0x1f22f9['getFirstRange']();return _0x29fcc8[_0x19cd('0x4f')][_0x19cd('0x9c')](_0x226555[_0x19cd('0x172')])?this[_0x19cd('0x99')](_0x1f22f9,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x226555[_0x19cd('0x4f')],_0x29fcc8[_0x19cd('0x172')])):this[_0x19cd('0x99')](_0x1f22f9,this['_model']['createRange'](_0x29fcc8[_0x19cd('0x4f')],_0x226555['end'])),_0x1f22f9;}}const _0x54ab09=_0x53da6a(),_0x564c4c=_0x342a73['id'],_0x5f2602=_0x1acd0a?_0x19cd('0x17')+_0x1acd0a:_0x19cd('0x10a'),_0x784ca5=this[_0x19cd('0x2')]({'id':_0x54ab09,'type':_0x5f2602,'createdAt':new Date(),'authorId':_0x564c4c,'attributes':_0x36835a});return this['_addSuggestionMarker'](_0x5f2602,_0x54ab09,_0x564c4c,_0x226555),_0x784ca5;}[_0x19cd('0x131')](_0x22ac2a,_0x4d7c75=_0x19cd('0x4a'),_0x47ce2d={}){const _0x29d8d5=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')['me'],_0x138fe7=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x10a'),_0x4d7c75,'join');for(const _0x356133 of this[_0x19cd('0x105')]())if(_0x356133['author']['id']==_0x29d8d5['id']&&_0x19cd('0x10a')==_0x356133[_0x19cd('0x4e')]&&_0x356133[_0x19cd('0x36')]==_0x4d7c75&&Pt(_0x356133,_0x47ce2d)&&(_0x138fe7(_0x356133[_0x19cd('0x76')](),_0x22ac2a)||_0x138fe7(_0x22ac2a,_0x356133[_0x19cd('0x76')]()))){for(const _0x5acd16 of _0x22ac2a)_0x356133[_0x19cd('0x1')](_0x5acd16);return _0x356133;}for(const {suggestion:_0x34e26f,meta:_0x1197fb}of this['_findSuggestions'](_0x22ac2a,_0x19cd('0x10a'))){if(!_0x1197fb['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x1197fb[_0x19cd('0x7e')])continue;if(!Pt(_0x34e26f,_0x47ce2d))continue;let _0x153b5a=!0x0;for(const _0x25f912 of _0x34e26f['getRanges']())for(const _0x4c17a9 of _0x22ac2a)if(!_0x25f912[_0x19cd('0x2e')](_0x4c17a9)){_0x153b5a=!0x1;break;}if(_0x153b5a)return _0x34e26f;}const _0x163dae=_0x53da6a(),_0x340ace=_0x29d8d5['id'],_0x4fb55f=_0x19cd('0x17')+_0x4d7c75,_0x254352=this[_0x19cd('0x2')]({'id':_0x163dae,'type':_0x4fb55f,'createdAt':new Date(),'authorId':_0x340ace,'attributes':_0x47ce2d});for(const _0x271881 of _0x22ac2a)this[_0x19cd('0xcc')](_0x4fb55f,_0x163dae,_0x340ace,_0x271881,_0xf9ee21['getMultiRangeId']());return _0x254352;}[_0x19cd('0x22')](_0x93d0a7,_0x1806a9,_0x4727a7=null,_0x442764={}){if(_0x4727a7=_0x4727a7||Et(_0x1806a9),_0x93d0a7[_0x19cd('0x38')])return null;if('never'===this['_trackFormatChanges']){const _0xf4202d=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xf8'),_0x4727a7,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0xf4202d([_0x93d0a7],_0x1806a9,_0x442764)),null;}const _0x104ef9=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x20b867=[];if('always'!==this[_0x19cd('0x142')])for(const {suggestion:_0x16aa7c,meta:_0x4257e1}of this[_0x19cd('0x9f')](_0x93d0a7,_0x19cd('0x10a')))_0x4257e1['isOwn']&&!_0x4257e1[_0x19cd('0x8')]&&_0x20b867['push'](..._0x16aa7c[_0x19cd('0x76')]());const _0xfd729=function(_0x1549af,_0x4d0b2c){const _0x549e48=[];for(const _0x3b9a59 of _0x4d0b2c){const _0x2840d5=_0x1549af[_0x19cd('0xf5')](_0x3b9a59);_0x2840d5&&_0x549e48['push'](_0x2840d5);}return _0x549e48;}(_0x93d0a7,_0x20b867),_0x28fdee=function(_0x25fd57,_0x5cbf75){const _0xfa2984=[_0x25fd57];for(const _0x5e94ba of _0x5cbf75){let _0x198c1b=0x0;for(;_0x198c1b<_0xfa2984[_0x19cd('0x158')];){const _0x41e3de=_0xfa2984[_0x198c1b]['getDifference'](_0x5e94ba);_0xfa2984[_0x19cd('0x143')](_0x198c1b,0x1,..._0x41e3de),_0x198c1b+=_0x41e3de[_0x19cd('0x158')];}}return _0xfa2984;}(_0x93d0a7,_0x20b867);_0xfd729[_0x19cd('0x158')]&&this[_0x19cd('0xdc')][_0x19cd('0xdd')](()=>{for(const _0x40224f of _0xfd729){const _0x6ce771=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xf8'),_0x4727a7,'accept');this['forceDefaultExecution'](()=>_0x6ce771([_0x40224f],_0x1806a9,_0x442764));}});for(const _0x475bc7 of _0x28fdee){let _0x5ef8c0=null,_0x545ce4=_0x475bc7[_0x19cd('0x4f')],_0x988ede=_0x475bc7[_0x19cd('0x172')];for(const {suggestion:_0x5e4c42,meta:_0x587248}of this[_0x19cd('0x9f')](_0x475bc7,'formatInline')){if(!_0x587248[_0x19cd('0x156')])continue;if(_0x5e4c42[_0x19cd('0x36')]!=_0x4727a7)continue;if(!Pt(_0x5e4c42,_0x442764))continue;const _0x4be06f=_0x5e4c42[_0x19cd('0x5b')]();if(_0x4be06f[_0x19cd('0x2e')](_0x475bc7,!0x0))return null;_0x545ce4=_0x545ce4[_0x19cd('0x7c')](_0x4be06f[_0x19cd('0x4f')])?_0x545ce4:_0x4be06f[_0x19cd('0x4f')],_0x988ede=_0x988ede[_0x19cd('0x100')](_0x4be06f[_0x19cd('0x172')])?_0x988ede:_0x4be06f['end'],_0x5ef8c0?_0x4be06f[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x5ef8c0[_0x19cd('0x5b')]()[_0x19cd('0x4f')])?(_0x5ef8c0[_0x19cd('0xcb')](),_0x5ef8c0=_0x5e4c42):_0x5e4c42[_0x19cd('0xcb')]():_0x5ef8c0=_0x5e4c42;}const _0x47068a=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x545ce4,_0x988ede);if(_0x5ef8c0)this['_setSuggestionRange'](_0x5ef8c0,_0x47068a);else{const _0x14f6e9=_0x53da6a(),_0x34f41a=_0x104ef9['id'];this[_0x19cd('0x2')]({'id':_0x14f6e9,'type':_0x19cd('0x141')+_0x4727a7,'data':_0x1806a9,'createdAt':new Date(),'authorId':_0x34f41a,'attributes':_0x442764}),this[_0x19cd('0xcc')](_0x19cd('0x141')+_0x4727a7,_0x14f6e9,_0x34f41a,_0x47068a);}}return null;}['markBlockFormat'](_0x26ed17,_0x571ca8,_0x275a03=[],_0xda4569=null,_0xc44a12={}){_0x571ca8[_0x19cd('0x4b')]||(_0x571ca8[_0x19cd('0x4b')]=_0x571ca8[_0x19cd('0x106')]),_0x571ca8[_0x19cd('0x120')]=_0x26ed17['is'](_0x19cd('0x115')),_0xda4569=_0xda4569||Et(_0x571ca8);const _0x59d282=_0x275a03[_0x19cd('0x125')](_0x444821=>Ot(_0x444821,this[_0x19cd('0xdc')])),_0x3893c4=_0x26ed17['is']('range')?_0x26ed17:Ot(_0x26ed17,this[_0x19cd('0xdc')]);if(_0x19cd('0x104')===this[_0x19cd('0x142')]){const _0x302656=this['_suggestionFactory']['getSuggestionCallback'](_0x19cd('0xd9'),_0xda4569,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0x302656([_0x3893c4],_0x571ca8,_0xc44a12)),null;}_0x59d282[_0x19cd('0x4')](_0x3893c4);let _0x341bef=!0x0;for(const _0x14e608 of _0x59d282)if(!this[_0x19cd('0x37')](_0x14e608)){_0x341bef=!0x1;break;}if(_0x341bef&&_0x19cd('0x1b')!==this['_trackFormatChanges']){const _0x44c9b7=this['_suggestionFactory'][_0x19cd('0x6')](_0x19cd('0xd9'),_0xda4569,'accept');return this['forceDefaultExecution'](()=>_0x44c9b7([_0x3893c4],_0x571ca8,_0xc44a12)),null;}let _0x5987e5=null,_0x473341=_0x3893c4[_0x19cd('0x4f')],_0x32ee80=_0x3893c4[_0x19cd('0x172')];for(const {suggestion:_0xfc0848,meta:_0xd6ce2f}of this[_0x19cd('0x9f')](_0x3893c4,_0x19cd('0xd9'))){if(!_0xd6ce2f['isOwn'])continue;if(_0xd6ce2f[_0x19cd('0x114')]||_0xd6ce2f[_0x19cd('0x7e')]||_0xd6ce2f['isInsideObject'])continue;if(_0xfc0848['data'][_0x19cd('0x4b')]!=_0x571ca8[_0x19cd('0x4b')])continue;if(!Pt(_0xfc0848,_0xc44a12))continue;const _0x5d3208=_0xfc0848['getFirstRange']();if(_0xfc0848[_0x19cd('0x36')]==_0xda4569){if(_0x5d3208[_0x19cd('0x2e')](_0x3893c4,!0x0))return null;_0x473341=_0x473341[_0x19cd('0x7c')](_0x5d3208[_0x19cd('0x4f')])?_0x473341:_0x5d3208['start'],_0x32ee80=_0x32ee80[_0x19cd('0x100')](_0x5d3208['end'])?_0x32ee80:_0x5d3208[_0x19cd('0x172')],_0x5987e5?_0x5d3208[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x5987e5['getFirstRange']()[_0x19cd('0x4f')])?(_0x5987e5[_0x19cd('0xcb')](),_0x5987e5=_0xfc0848):_0xfc0848[_0x19cd('0xcb')]():_0x5987e5=_0xfc0848;}else{const _0x40ba88=_0x3893c4[_0x19cd('0xf5')](_0x5d3208);this[_0x19cd('0x43')](_0xfc0848,_0x40ba88);}}const _0x2c0735=this['editor']['plugins'][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x147ca5=_0x53da6a(),_0x584f21=_0x2c0735['id'];if(_0x5987e5)return this['_setSuggestionRange'](_0x5987e5,this['_model'][_0x19cd('0xef')](_0x473341,_0x32ee80)),_0x5987e5;{const _0x9e9f73=this[_0x19cd('0x2')]({'id':_0x147ca5,'type':_0x19cd('0x101')+_0xda4569,'data':_0x571ca8,'createdAt':new Date(),'authorId':_0x584f21,'attributes':_0xc44a12});return this[_0x19cd('0xcc')](_0x19cd('0x101')+_0xda4569,_0x147ca5,_0x584f21,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x473341,_0x32ee80)),_0x9e9f73;}}['markMultiRangeBlockFormat'](_0x8e1590,_0x1f8366,_0x56e184=[],_0x13836c=null,_0x41d22b={}){_0x1f8366[_0x19cd('0x4b')]||(_0x1f8366['formatGroupId']=_0x1f8366[_0x19cd('0x106')]);const _0x5b7d05=_0x8e1590[0x0];_0x1f8366[_0x19cd('0x120')]=_0x5b7d05['is'](_0x19cd('0x115')),_0x13836c=_0x13836c||Et(_0x1f8366);const _0x16931f=_0x56e184['map'](_0xc23beb=>Ot(_0xc23beb,this['_model'])),_0x180cb2=_0x5b7d05['is'](_0x19cd('0x115'))?_0x8e1590:_0x8e1590[_0x19cd('0x125')](_0x2ff8c4=>Ot(_0x2ff8c4,this[_0x19cd('0xdc')]));if(_0x19cd('0x104')===this['_trackFormatChanges']){const _0x47b06=this['_suggestionFactory']['getSuggestionCallback'](_0x19cd('0xd9'),_0x13836c,'accept');return this[_0x19cd('0x14d')](()=>_0x47b06(_0x180cb2,_0x1f8366,_0x41d22b)),null;}_0x16931f[_0x19cd('0x4')](..._0x180cb2);let _0x62b969=!0x0;for(const _0x561e8a of _0x16931f)if(!this[_0x19cd('0x37')](_0x561e8a)){_0x62b969=!0x1;break;}if(_0x62b969&&_0x19cd('0x1b')!==this['_trackFormatChanges']){const _0x4dee22=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0xd9'),_0x13836c,_0x19cd('0x10d'));return this['forceDefaultExecution'](()=>_0x4dee22(_0x180cb2,_0x1f8366,_0x41d22b)),null;}const _0x3a0ef9=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')['me'];for(const _0xb30c7a of this[_0x19cd('0x105')]()){if(_0xb30c7a[_0x19cd('0x8f')]['id']!=_0x3a0ef9['id'])continue;if('formatBlock'!=_0xb30c7a[_0x19cd('0x4e')]||_0xb30c7a['data'][_0x19cd('0x4b')]!=_0x1f8366[_0x19cd('0x4b')])continue;if(!Pt(_0xb30c7a,_0x41d22b))continue;const _0x3d253a=_0xb30c7a['subType']==_0x13836c;for(let _0x12a028=0x0;_0x12a028<_0x180cb2['length'];_0x12a028++){const _0x386ceb=_0x180cb2[_0x12a028];for(const _0x5e771f of _0xb30c7a[_0x19cd('0x47')]()){const _0x383ce0=_0x5e771f[_0x19cd('0xbc')]();if(_0x386ceb[_0x19cd('0x9c')](_0x383ce0)){_0x3d253a?(_0x180cb2['splice'](_0x12a028,0x1),_0x12a028--):_0xb30c7a['removeMarker'](_0x5e771f[_0x19cd('0x168')]);break;}}}}if(0x0==_0x180cb2[_0x19cd('0x158')])return null;const _0x13f213=this[_0x19cd('0xdf')][_0x19cd('0x6')]('formatBlock',_0x13836c,'join');for(const _0x5d5907 of this['getSuggestions']())if(_0x5d5907[_0x19cd('0x8f')]['id']==_0x3a0ef9['id']&&_0x19cd('0xd9')==_0x5d5907[_0x19cd('0x4e')]&&_0x5d5907[_0x19cd('0x48')]['formatGroupId']==_0x1f8366[_0x19cd('0x4b')]&&_0x5d5907[_0x19cd('0x36')]==_0x13836c&&Pt(_0x5d5907,_0x41d22b)&&(_0x13f213(_0x5d5907['getRanges'](),_0x180cb2)||_0x13f213(_0x180cb2,_0x5d5907[_0x19cd('0x76')]()))){for(const _0x1392f3 of _0x180cb2)_0x5d5907[_0x19cd('0x1')](_0x1392f3);return _0x5d5907;}const _0x5046c3=_0x53da6a(),_0x4bb0b9=_0x3a0ef9['id'],_0x21c062=_0x19cd('0x101')+_0x13836c,_0x1369ff=this[_0x19cd('0x2')]({'id':_0x5046c3,'type':_0x21c062,'data':_0x1f8366,'createdAt':new Date(),'authorId':_0x4bb0b9,'attributes':_0x41d22b});for(const _0xf6eedd of _0x180cb2)this[_0x19cd('0xcc')](_0x21c062,_0x5046c3,_0x4bb0b9,_0xf6eedd,_0xf9ee21[_0x19cd('0x159')]());return _0x1369ff;}['markDeletion'](_0x207f23,_0x287810=null,_0x20a415={}){if(_0x207f23[_0x19cd('0x38')])return null;const _0x53709b=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0x22b996=new _0xb00d8d(_0x207f23[_0x19cd('0x4f')],_0x207f23[_0x19cd('0x172')]);for(const {suggestion:_0x2c8510,meta:_0x116a98}of this['_findSuggestions'](_0x22b996,_0x19cd('0x10a')))if(_0x116a98[_0x19cd('0x156')]&&!_0x116a98[_0x19cd('0x114')]){if(_0x2c8510[_0x19cd('0x32')]){const _0xa5dd33=_0x2c8510[_0x19cd('0x76')]()[_0x19cd('0x94')](_0x2e84c6=>_0x19cd('0x16')!=_0x2e84c6[_0x19cd('0x14a')]['rootName']);_0xa5dd33['every'](_0x1276a0=>_0x22b996['containsRange'](_0x1276a0,!0x0))&&_0x2c8510['discard']();if(_0xa5dd33[_0x19cd('0x9d')](_0x5947ac=>_0x5947ac[_0x19cd('0x2e')](_0x22b996,!0x0))){const _0x472869=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x35'),_0x287810,_0x19cd('0x10d'));return this[_0x19cd('0x14d')](()=>_0x472869([_0x22b996],null,_0x20a415)),null;}}else{const _0x409ed1=_0x22b996[_0x19cd('0xf5')](_0x2c8510[_0x19cd('0x5b')]());null!==_0x409ed1&&_0x2c8510[_0x19cd('0xb2')]([_0x409ed1],null,_0x20a415);}}if(_0x22b996[_0x19cd('0x5d')](),_0x22b996[_0x19cd('0x38')]||_0x19cd('0x16')==_0x22b996[_0x19cd('0x14a')][_0x19cd('0x7b')])return null;let _0x455f1d=null,_0x337575=_0x22b996[_0x19cd('0x4f')],_0x46975b=_0x22b996[_0x19cd('0x172')];const _0x285219=this[_0x19cd('0x9f')](_0x22b996,_0x19cd('0x35'));for(const {suggestion:_0x44e3f3,meta:_0x31d179}of _0x285219){const _0x4c5029=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x337575,_0x46975b);if(_0x31d179['isOwn']&&(this['_mergeNestedSuggestions']||!_0x31d179[_0x19cd('0x7e')]&&!_0x31d179['isInsideObject'])){if(_0x44e3f3[_0x19cd('0x32')]){if(!Pt(_0x44e3f3,_0x20a415))continue;let _0xb63ea0=!0x0;for(const _0x3e0da5 of _0x44e3f3[_0x19cd('0x76')]()){if(_0x3e0da5[_0x19cd('0x2e')](_0x4c5029,!0x0))return _0x44e3f3;_0x4c5029[_0x19cd('0x2e')](_0x3e0da5)||(_0xb63ea0=!0x1);}_0xb63ea0&&_0x44e3f3[_0x19cd('0x18')]();}else{const _0x8ed449=_0x44e3f3[_0x19cd('0x5b')]();if(_0x8ed449['containsRange'](_0x4c5029,!0x0))return _0x44e3f3;if(!Pt(_0x44e3f3,_0x20a415)){_0x4c5029[_0x19cd('0x2e')](_0x8ed449)?_0x44e3f3[_0x19cd('0xcb')]():_0x8ed449[_0x19cd('0xf')](_0x337575)?_0x337575=_0x8ed449['end']:_0x8ed449[_0x19cd('0xf')](_0x46975b)&&(_0x46975b=_0x8ed449[_0x19cd('0x4f')]);continue;}_0x337575=_0x337575['isBefore'](_0x8ed449[_0x19cd('0x4f')])?_0x337575:_0x8ed449[_0x19cd('0x4f')],_0x46975b=_0x46975b[_0x19cd('0x100')](_0x8ed449[_0x19cd('0x172')])?_0x46975b:_0x8ed449[_0x19cd('0x172')],_0x20a415=Object[_0x19cd('0xc7')]({},_0x44e3f3[_0x19cd('0x56')]),_0x455f1d?_0x8ed449[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x455f1d[_0x19cd('0x5b')]()['start'])?(_0x455f1d[_0x19cd('0xcb')](),_0x455f1d=_0x44e3f3):_0x44e3f3[_0x19cd('0xcb')]():_0x455f1d=_0x44e3f3;}}}if(_0x455f1d)return this['_setSuggestionRange'](_0x455f1d,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x337575,_0x46975b)),_0x455f1d;{const _0x3e95ed=_0x53da6a(),_0x216ec8=this['_model'][_0x19cd('0xef')](_0x337575,_0x46975b),_0x4b53c2=_0x53709b['id'],_0x3df46b=_0x287810?_0x19cd('0x13a')+_0x287810:_0x19cd('0x35'),_0x1ab5b7=this[_0x19cd('0x2')]({'id':_0x3e95ed,'type':_0x3df46b,'createdAt':new Date(),'authorId':_0x4b53c2,'attributes':_0x20a415});return this[_0x19cd('0xcc')](_0x3df46b,_0x3e95ed,_0x4b53c2,_0x216ec8),_0x1ab5b7;}}[_0x19cd('0xad')](_0x2f1c80,_0x26fea3=_0x19cd('0x4a'),_0x4a33b5={}){const _0x4c1dab=this[_0x19cd('0x14')]['plugins'][_0x19cd('0xd7')](_0x19cd('0x20'))['me'],_0xade5a1=_0x2f1c80[_0x19cd('0x125')](_0x5b29bb=>new _0xb00d8d(_0x5b29bb[_0x19cd('0x4f')],_0x5b29bb[_0x19cd('0x172')])),_0x168551=new Set();for(const {suggestion:_0x273e55,meta:_0x506ee1}of this[_0x19cd('0x9f')](_0xade5a1,'insertion'))_0x506ee1[_0x19cd('0x156')]&&!_0x506ee1[_0x19cd('0x114')]&&_0x168551[_0x19cd('0xe1')](_0x273e55);for(const _0xac06f1 of _0x168551)if(_0xac06f1['isMultiRange']){const _0x3d19a5=_0xac06f1[_0x19cd('0x76')]();(!_0xac06f1[_0x19cd('0x56')]||!_0xac06f1[_0x19cd('0x56')]['skipNestingCheck'])&&(_0x3d19a5['every'](_0x86ac0e=>_0xade5a1[_0x19cd('0x9d')](_0x515953=>_0x515953[_0x19cd('0x2e')](_0x86ac0e,!0x0)))&&_0xac06f1[_0x19cd('0x18')]());if(_0xade5a1[_0x19cd('0x144')](_0x225921=>_0x3d19a5['some'](_0x60279c=>_0x60279c[_0x19cd('0x2e')](_0x225921,!0x0)))){const _0x3be9d3=this[_0x19cd('0xdf')][_0x19cd('0x6')]('deletion',_0x26fea3,_0x19cd('0x10d'));return this['forceDefaultExecution'](()=>_0x3be9d3(_0x2f1c80,null,_0x4a33b5)),null;}}else{const _0x332fb5=_0xac06f1[_0x19cd('0x5b')]();_0xade5a1[_0x19cd('0x9d')](_0x69380e=>_0x69380e['containsRange'](_0x332fb5,!0x0))&&_0xac06f1['discard']();if(_0xade5a1['every'](_0x1759c1=>_0x332fb5[_0x19cd('0x2e')](_0x1759c1,!0x0))){const _0x5e582a=this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x19cd('0x35'),_0x26fea3,'accept');return this[_0x19cd('0x14d')](()=>_0x5e582a(_0xade5a1,null,_0x4a33b5)),null;}}const _0x114055=this[_0x19cd('0xdf')][_0x19cd('0x6')]('deletion',_0x26fea3,_0x19cd('0xc6'));let _0x5031ee=null;for(const _0x1237eb of this[_0x19cd('0x105')]())if(_0x1237eb[_0x19cd('0x8f')]['id']==_0x4c1dab['id']&&_0x1237eb[_0x19cd('0x5a')]&&_0x19cd('0x35')==_0x1237eb[_0x19cd('0x4e')]&&_0x1237eb[_0x19cd('0x36')]==_0x26fea3&&Pt(_0x1237eb,_0x4a33b5)&&(_0x114055(_0x1237eb[_0x19cd('0x76')](),_0xade5a1)||_0x114055(_0xade5a1,_0x1237eb['getRanges']()))){if(_0x5031ee){if(_0x1237eb[_0x19cd('0x8d')]&&_0x1237eb[_0x19cd('0x8d')][_0x19cd('0x158')])continue;for(const _0x529aa0 of _0x1237eb[_0x19cd('0x76')]())_0x5031ee[_0x19cd('0xb6')](_0x529aa0)||_0x5031ee[_0x19cd('0x1')](_0x529aa0);_0x1237eb['removeMarkers']();}else{_0x5031ee=_0x1237eb;for(const _0x206ea0 of _0xade5a1)_0x1237eb[_0x19cd('0xb6')](_0x206ea0)||_0x1237eb[_0x19cd('0x1')](_0x206ea0);}}if(_0x5031ee)return _0x5031ee;_0x168551[_0x19cd('0x151')]();for(const {suggestion:_0x52c946,meta:_0x2b1fee}of this[_0x19cd('0x9f')](_0xade5a1,_0x19cd('0x35')))_0x2b1fee[_0x19cd('0x156')]&&(this[_0x19cd('0xf9')]||!_0x2b1fee[_0x19cd('0x7e')]&&!_0x2b1fee[_0x19cd('0x8')])&&Pt(_0x52c946,_0x4a33b5)&&_0x168551[_0x19cd('0xe1')](_0x52c946);for(const _0x3fd578 of _0x168551){const _0x35af90=_0x3fd578[_0x19cd('0x76')]();if(!_0x4a33b5||!_0x4a33b5['skipNestingCheck']){if(_0xade5a1[_0x19cd('0x144')](_0x3a8c59=>_0x35af90[_0x19cd('0x9d')](_0x20d84d=>_0x20d84d['containsRange'](_0x3a8c59,!0x0))))return _0x3fd578;}(!_0x3fd578[_0x19cd('0x56')]||!_0x3fd578['attributes'][_0x19cd('0x136')])&&(_0x35af90['every'](_0x2d449d=>_0xade5a1[_0x19cd('0x9d')](_0x3025ce=>_0x3025ce[_0x19cd('0x2e')](_0x2d449d,!0x0)))&&_0x3fd578[_0x19cd('0x18')]());}const _0x4d52cf=_0x53da6a(),_0x14d282=_0x4c1dab['id'],_0x21663f='deletion:'+_0x26fea3,_0x464675=this['_setSuggestionData']({'id':_0x4d52cf,'type':_0x21663f,'createdAt':new Date(),'authorId':_0x14d282,'attributes':_0x4a33b5});for(const _0x43be1f of _0xade5a1)_0x43be1f['detach'](),_0x43be1f['isCollapsed']||_0x19cd('0x16')==_0x43be1f[_0x19cd('0x14a')][_0x19cd('0x7b')]||this['_addSuggestionMarker'](_0x21663f,_0x4d52cf,_0x14d282,_0x43be1f,_0xf9ee21[_0x19cd('0x159')]());return _0x464675;}[_0x19cd('0x96')](_0x50acc7,_0x1f75af,_0x44ac92,_0x518fa8,_0x2cc851){if(_0x50acc7['isCollapsed'])return[];if(_0x19cd('0x104')===this[_0x19cd('0x142')])return[];const _0x1f3cc8=this[_0x19cd('0x14')][_0x19cd('0x128')]['get'](_0x19cd('0x20'))['me']['id'],_0x59db7d=Array[_0x19cd('0x5f')](this[_0x19cd('0x77')][_0x19cd('0xbd')]())[_0x19cd('0x94')](_0x7d2d5a=>_0x19cd('0xa6')==_0x7d2d5a['type']&&_0x7d2d5a['data'][_0x19cd('0xb1')]==_0x1f75af&&_0x7d2d5a[_0x19cd('0xb6')](_0x50acc7));if(_0x19cd('0x42')===this[_0x19cd('0x142')]){const _0x88c508=this[_0x19cd('0x9f')](_0x50acc7,_0x19cd('0x10a'))['filter'](({meta:_0xa697b1})=>_0xa697b1['isOwn']&&!_0xa697b1['isInsideObject']&&!_0xa697b1[_0x19cd('0x114')])[_0x19cd('0x125')](({suggestion:_0xb74088})=>_0xb74088);_0x59db7d[_0x19cd('0x13f')](..._0x88c508);}const _0x4fb221=new Map([[_0x50acc7,_0x44ac92]]);for(const _0x4b8865 of _0x59db7d){const _0x3ff99d=_0x19cd('0xa6')==_0x4b8865[_0x19cd('0x4e')]?_0x4b8865[_0x19cd('0x48')][_0x19cd('0xe7')]:void 0x0,_0x18114f=_0x4b8865[_0x19cd('0x5b')](),_0x34f406=Array[_0x19cd('0x5f')](_0x4fb221[_0x19cd('0x1d')]())[_0x19cd('0x52')](_0x1bfdd1=>_0x1bfdd1[_0x19cd('0xbb')](_0x18114f));if(!_0x34f406)continue;const _0x17ace8=_0x34f406['getDifference'](_0x18114f);this[_0x19cd('0x34')](_0x1f75af)&&_0x19cd('0x10a')==_0x4b8865['type']&&0x0!=_0x17ace8['length']||(_0x4fb221['delete'](_0x34f406),_0x17ace8['forEach'](_0x153536=>{_0x4fb221[_0x19cd('0x174')](_0x153536,_0x44ac92);}),'insertion'!=_0x4b8865[_0x19cd('0x4e')]&&_0x3ff99d!=_0x518fa8&&_0x4fb221['set'](_0x34f406[_0x19cd('0xf5')](_0x18114f),_0x3ff99d));}const _0xf97380=[];for(const [_0x1e3220,_0x431698]of _0x4fb221){const _0x88da59=_0x53da6a(),_0x1ffc42={'key':_0x1f75af,'oldValue':_0x431698,'newValue':_0x518fa8};_0x1f75af['length']>0x25&&console[_0x19cd('0xc8')]('Creating\x20a\x20suggestion\x20for\x20attribute\x20with\x20too\x20long\x20attribute\x20key.\x20This\x20may\x20lead\x20to\x20errors.\x20Change\x20the\x20attribute\x20key\x20to\x20a\x20value\x20shorter\x20than\x2037\x20characters.',{'key':_0x1f75af});const _0x3ccdb0=(_0x19cd('0xce')+(_0x1f75af+'|'+Et({'newValue':_0x518fa8})))[_0x19cd('0x178')](0x0,0x3c),_0x55d04c=this[_0x19cd('0x2')]({'id':_0x88da59,'type':_0x3ccdb0,'data':_0x1ffc42,'createdAt':new Date(),'authorId':_0x1f3cc8,'attributes':_0x2cc851});_0xf97380['push'](_0x55d04c),this[_0x19cd('0xcc')](_0x3ccdb0,_0x88da59,_0x1f3cc8,_0x1e3220);}return _0xf97380;}['_registerBlockAttribute'](_0x509df3){this[_0x19cd('0x98')]['add'](_0x509df3);}['_registerInlineAttribute'](_0x39815e){this[_0x19cd('0x93')][_0x19cd('0xe1')](_0x39815e);}['_enableDefaultAttributesIntegration'](_0x56524d,_0x187449=[],_0x163685=[]){this[_0x19cd('0x21')](_0x56524d,(_0x2a2d14,..._0x3ae37e)=>{this[_0x19cd('0x89')](()=>{_0x2a2d14(..._0x3ae37e);});});for(const _0x347dcd of _0x187449)this['_registerInlineAttribute'](_0x347dcd);for(const _0x5646be of _0x163685)this[_0x19cd('0x8e')](_0x5646be);}['_getAttributeKey'](_0x17e7d8){return _0x19cd('0xa6')==_0x17e7d8['type']?_0x17e7d8[_0x19cd('0x36')][_0x19cd('0x64')]('|')[0x0]:null;}['_setSuggestionRange'](_0x3da442,_0x4c95f6){const _0x457f79=_0x3da442[_0x19cd('0x109')]();this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x234981=>{_0x234981[_0x19cd('0xaf')](_0x457f79,{'range':_0x4c95f6});});}[_0x19cd('0xd')](_0x2ce397){const _0x192ec9=_0x2ce397['id'],_0x13cbc2=this[_0x19cd('0x14')][_0x19cd('0x10')]['get'](_0x19cd('0x118'));this[_0x19cd('0x16a')][_0x19cd('0x16e')](_0x192ec9)||this[_0x19cd('0x16a')][_0x19cd('0x11e')]({'channelId':_0x13cbc2,'threadId':_0x192ec9,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5d002a=this['_commentsRepository'][_0x19cd('0x16c')](_0x192ec9);_0x5d002a[_0x19cd('0x12e')](_0x19cd('0x145')),_0x5d002a[_0x19cd('0x145')]=!0x1,_0x2ce397[_0x19cd('0x8d')]=_0x5d002a;}[_0x19cd('0x11c')](_0xdb5117,_0x19a885,_0xc0813f,_0x4c5df2){if(_0xdb5117[_0x19cd('0x4e')]!=_0x19a885||_0xdb5117[_0x19cd('0x36')]!=_0xc0813f||_0xdb5117[_0x19cd('0x10c')]['id']!=_0x4c5df2)throw this[_0x19cd('0x14')][_0x19cd('0x170')](_0x19cd('0xc')),new _0x26400e(_0x19cd('0xc'),this);}[_0x19cd('0x43')](_0x22fd5b,_0x59dd05){const _0x56c8d4=_0x22fd5b[_0x19cd('0x5b')]();if(_0x59dd05['isEqual'](_0x56c8d4))_0x22fd5b['removeMarkers']();else{if(_0x56c8d4[_0x19cd('0x2e')](_0x59dd05)){const _0x1e769b=this[_0x19cd('0xdc')]['createPositionAt'](_0x59dd05[_0x19cd('0x4f')][_0x19cd('0x14f')],_0x19cd('0x172'));this[_0x19cd('0x99')](_0x22fd5b,this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x56c8d4[_0x19cd('0x4f')],_0x1e769b));const _0x493bfe=_0x53da6a(),_0x33f739=_0x22fd5b[_0x19cd('0x10c')]['id'],_0x17403b=_0x22fd5b[_0x19cd('0x4e')]+':'+_0x22fd5b['subType'];this[_0x19cd('0x2')]({'id':_0x493bfe,'type':_0x17403b,'createdAt':new Date(),'authorId':_0x33f739,'data':_0x22fd5b[_0x19cd('0x48')],'attributes':_0x22fd5b[_0x19cd('0x56')]});const _0x3624ce=this['_model'][_0x19cd('0x110')](_0x59dd05['end'][_0x19cd('0x66')],_0x19cd('0xbf')),_0x5ab86b=this[_0x19cd('0xdc')]['createRange'](_0x3624ce,_0x56c8d4[_0x19cd('0x172')]);this['_addSuggestionMarker'](_0x17403b,_0x493bfe,_0x33f739,_0x5ab86b);}else{if(_0x56c8d4[_0x19cd('0xf')](_0x59dd05['start'])){const _0x4fb3fb=this['_model'][_0x19cd('0x110')](_0x59dd05['start'][_0x19cd('0x14f')],'end');this[_0x19cd('0x99')](_0x22fd5b,this[_0x19cd('0xdc')]['createRange'](_0x56c8d4[_0x19cd('0x4f')],_0x4fb3fb));}else{const _0x151f21=this[_0x19cd('0xdc')][_0x19cd('0x110')](_0x59dd05[_0x19cd('0x172')][_0x19cd('0x66')],'after');this[_0x19cd('0x99')](_0x22fd5b,this['_model'][_0x19cd('0xef')](_0x151f21,_0x56c8d4[_0x19cd('0x172')]));}}}}[_0x19cd('0x37')](_0x3962db){for(const {suggestion:_0x20a8c8,meta:_0x16b245}of this[_0x19cd('0x9f')](_0x3962db,_0x19cd('0x10a'))){if(!_0x16b245[_0x19cd('0x156')])continue;const _0x30765d=_0x20a8c8[_0x19cd('0x76')]();for(const _0x32cfa5 of _0x30765d)if(!_0x3962db[_0x19cd('0x11d')](_0x32cfa5)[_0x19cd('0x158')])return!0x0;}return!0x1;}[_0x19cd('0x165')](_0x3c76ea){const _0x2e4534=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('Users')[_0x19cd('0xa2')](_0x3c76ea);if(!_0x2e4534)throw new _0x26400e(_0x19cd('0x27'),this);return _0x2e4534;}[_0x19cd('0x24')](_0x358074){const _0x5918a6=this['editor'][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20')),_0x6bf395=_0x120711('external:'+_0x358074),_0x3374b5=_0x5918a6['getUser'](_0x6bf395);return _0x3374b5||_0x5918a6[_0x19cd('0xd2')]({'id':_0x6bf395,'name':_0x358074});}[_0x19cd('0x148')](_0xc57f3d,_0x1548bc,_0x27021e,_0x4aba46,_0x245d1c){const _0x22e277=this[_0x19cd('0x165')](_0x4aba46),_0x1f4b9c=this[_0x19cd('0xdf')][_0x19cd('0xf6')](_0xc57f3d,_0x1548bc,_0x27021e,_0x22e277,_0x245d1c,_0x3b70ce=>{this['_updateSuggestionData'](_0x27021e,{'attributes':_0x3b70ce});const _0x2973c2=this['getSuggestion'](_0x27021e);this[_0x19cd('0x132')](new Set([_0x2973c2])),this[_0x19cd('0x12b')](new Set([_0x2973c2]));});return this[_0x19cd('0x1a')](_0x1f4b9c,_0x19cd('0x10d'),()=>{this['_updateSuggestionData'](_0x27021e,{'state':_0x19cd('0x160')});},{'priority':_0x19cd('0x13d')}),this['listenTo'](_0x1f4b9c,_0x19cd('0x18'),()=>{this['_updateSuggestionData'](_0x27021e,{'state':_0x19cd('0x2d')});},{'priority':'high'}),this[_0x19cd('0x77')]['set'](_0x27021e,_0x1f4b9c),this[_0x19cd('0x129')][_0x19cd('0x174')](_0x1f4b9c,_0x19cd('0x29')),_0x1f4b9c;}['_splitMarkerName'](_0x106ed7){const _0x3435c4=_0x106ed7[_0x19cd('0x64')](':');return{'group':_0x3435c4[0x0],'type':_0x3435c4[0x1],'subType':_0x3435c4[_0x19cd('0x158')]>=0x5?_0x3435c4[0x2]:null,'id':_0x3435c4[_0x19cd('0x158')]<0x5?_0x3435c4[0x2]:_0x3435c4[0x3],'authorId':_0x3435c4[_0x19cd('0x158')]<0x5?_0x3435c4[0x3]:_0x3435c4[0x4],'markerCount':0x6==_0x3435c4[_0x19cd('0x158')]?_0x3435c4[0x5]:null};}[_0x19cd('0x2a')](_0x5d70df,_0x2974f1,_0xfa364e){const _0x529a23=_0x5d70df[_0x19cd('0x5b')](),_0x5becb5=_0x529a23[_0x19cd('0x4f')],_0x453f0a=_0x529a23['end'];this['_setSuggestionRange'](_0x5d70df,this['_model']['createRange'](_0x5becb5,_0x2974f1));const _0xbfa543=_0x53da6a(),_0x1e7dbb=_0x5d70df[_0x19cd('0x10c')]['id'],_0x7e2166=_0x5d70df['type']+(_0x5d70df['subType']?':'+_0x5d70df['subType']:'');this[_0x19cd('0x2')]({'id':_0xbfa543,'type':_0x7e2166,'createdAt':new Date(),'authorId':_0x1e7dbb,'originalSuggestionId':_0x5d70df['id'],'attributes':_0x5d70df['attributes'],'data':_0x5d70df[_0x19cd('0x48')]});const _0x1478fb=this['_getAttributeKey'](_0x5d70df);(_0x19cd('0xd9')==_0x5d70df[_0x19cd('0x4e')]||_0x1478fb&&this[_0x19cd('0x34')](_0x1478fb))&&(_0xfa364e=this[_0x19cd('0xdc')][_0x19cd('0x15c')](_0xfa364e['parent'])),this[_0x19cd('0xcc')](_0x7e2166,_0xbfa543,_0x1e7dbb,this['_model'][_0x19cd('0xef')](_0xfa364e,_0x453f0a));}[_0x19cd('0x9f')](_0x46e343,_0x3d8cc2=null){const _0x42523b=[],_0x202e3f=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')](_0x19cd('0x20'))['me'];Array[_0x19cd('0x15e')](_0x46e343)||(_0x46e343=[_0x46e343]);for(const _0x2fccb3 of this['getSuggestions']()){if(!_0x2fccb3[_0x19cd('0x5a')])continue;if(_0x3d8cc2&&_0x2fccb3[_0x19cd('0x4e')]!=_0x3d8cc2)continue;let _0x45e75e=!0x1;for(const _0x3699d2 of _0x2fccb3[_0x19cd('0x76')]()){for(const _0xc6a67f of _0x46e343){const _0x51659b=_0xc6a67f['start'][_0x19cd('0x9c')](_0x3699d2[_0x19cd('0x172')])||_0xc6a67f[_0x19cd('0x172')][_0x19cd('0x9c')](_0x3699d2[_0x19cd('0x4f')]);if(_0x51659b||_0xc6a67f[_0x19cd('0xf5')](_0x3699d2)){const _0x37fdf1=_0xc6a67f[_0x19cd('0x2e')](_0x3699d2)&&xt(this[_0x19cd('0xdc')]['schema'],_0x3699d2[_0x19cd('0x4f')],_0xc6a67f),_0x27a197=_0x3699d2[_0x19cd('0x2e')](_0xc6a67f)&&xt(this[_0x19cd('0xdc')]['schema'],_0xc6a67f[_0x19cd('0x4f')],_0x3699d2);_0x42523b['push']({'suggestion':_0x2fccb3,'meta':{'isOwn':_0x202e3f==_0x2fccb3['author'],'isNextTo':_0x51659b,'isInsideObject':_0x37fdf1,'containsRangeInObject':_0x27a197}}),_0x45e75e=!0x0;break;}}if(_0x45e75e)break;}}return _0x42523b;}[_0x19cd('0xcc')](_0x4c8cd5,_0x5785aa,_0x2d4844,_0x2d7e52,_0x53841f){this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x26294d=>{let _0x84dfc8=_0x19cd('0x31')+_0x4c8cd5+':'+_0x5785aa+':'+_0x2d4844;_0x53841f&&(_0x84dfc8=_0x84dfc8+':'+_0x53841f),_0x26294d[_0x19cd('0x15')](_0x84dfc8,{'range':_0x2d7e52,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x19cd('0x14c')](_0x5d0612){const _0x480036=_0x5d0612[_0x19cd('0x67')],_0x3fef46=_0x5d0612[_0x19cd('0x9b')];_0x5d0612[_0x19cd('0x67')]=null,_0x5d0612[_0x19cd('0x9b')]=null,null!=_0x480036&&_0x480036['next']==_0x5d0612&&(_0x480036[_0x19cd('0x9b')]=_0x3fef46),null!=_0x3fef46&&_0x3fef46[_0x19cd('0x67')]==_0x5d0612&&(_0x3fef46[_0x19cd('0x67')]=_0x480036),'ready'==this[_0x19cd('0x129')]['get'](_0x5d0612)&&(this['_suggestionState']['set'](_0x5d0612,'removed'),this[_0x19cd('0x2c')](_0x19cd('0x163'),_0x5d0612,_0x480036,_0x3fef46));}[_0x19cd('0x2')](_0x9f872e){const _0x57d5a3=_0x9f872e['id'],_0x152150=this[_0x19cd('0x85')](_0x9f872e);if(this[_0x19cd('0x58')]&&this[_0x19cd('0x58')][_0x19cd('0xed')]){const _0x5217f1=this[_0x19cd('0x14')][_0x19cd('0x128')]['get'](_0x19cd('0x12')),_0x334a75=_0x152150[_0x19cd('0x6a')],_0x40404c=_0x152150[_0x19cd('0x36')]?_0x152150[_0x19cd('0x4e')]+':'+_0x152150[_0x19cd('0x36')]:_0x152150[_0x19cd('0x4e')],_0xa15e27=this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x101ab4=_0x5217f1[_0x19cd('0xe1')](_0x4e3a96(_0xa15e27,_0x19cd('0xa4'))),_0x53b1e4={'id':_0x57d5a3,'type':_0x40404c,'hasComments':_0x334a75,'data':_0x9f872e[_0x19cd('0x48')]||null,'originalSuggestionId':_0x9f872e['originalSuggestionId']||null,'attributes':_0x152150[_0x19cd('0x56')]};this[_0x19cd('0x58')][_0x19cd('0xed')](_0x53b1e4)[_0x19cd('0x123')](_0x13105e=>{_0x152150['_saved']=!0x0,_0x5217f1[_0x19cd('0x95')](_0x101ab4),_0x13105e&&_0x13105e[_0x19cd('0x53')]&&(this['_suggestions']['get'](_0x57d5a3)[_0x19cd('0x53')]=_0x13105e[_0x19cd('0x53')]);})[_0x19cd('0x10f')](_0x333e3b=>{throw _0x51132c('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x19cd('0x13c')][_0x19cd('0x112')]({'isUndoable':!0x1},()=>{_0x152150['discard']();}),_0x152150[_0x19cd('0x130')](),this['_suggestions'][_0x19cd('0x11f')](_0x152150['id']),this[_0x19cd('0x129')][_0x19cd('0x11f')](_0x152150),_0x333e3b;});}return _0x152150;}[_0x19cd('0x34')](_0x487be4){return this[_0x19cd('0x98')]['has'](_0x487be4);}[_0x19cd('0xe0')](_0x5ebefa,_0x26741e){const _0x415a4a=this[_0x19cd('0x14')][_0x19cd('0x128')][_0x19cd('0xd7')]('PendingActions'),_0x31a359=this[_0x19cd('0xd1')](_0x5ebefa);if(this['_adapter']&&this[_0x19cd('0x58')][_0x19cd('0x90')]){if(_0x31a359[_0x19cd('0x23')]){const _0x4d4c56=_0x415a4a[_0x19cd('0xe1')](_0x4e3a96(this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x19cd('0xa4')));this[_0x19cd('0x58')]['updateSuggestion'](_0x5ebefa,_0x26741e)[_0x19cd('0x123')](()=>{_0x415a4a[_0x19cd('0x95')](_0x4d4c56);});}else _0x31a359['on']('change:_saved',()=>{this[_0x19cd('0xe0')](_0x5ebefa,_0x26741e);});}}[_0x19cd('0x150')](_0x431d85){if(!this[_0x19cd('0x58')]||!this[_0x19cd('0x58')][_0x19cd('0xd1')])throw new _0x26400e('track-changes-adapter-missing-getsuggestion',this);return this[_0x19cd('0x58')][_0x19cd('0xd1')](_0x431d85);}['_handleNewSuggestionMarker'](_0x3b2b28){const {id:_0x1e6927,type:_0x6c9e02,subType:_0x59e5ee,authorId:_0x27c765}=this[_0x19cd('0x15d')](_0x3b2b28),_0x20b97a=this[_0x19cd('0x77')][_0x19cd('0xd7')](_0x1e6927)||this['_createSuggestion'](_0x6c9e02,_0x59e5ee,_0x1e6927,_0x27c765,{});switch(this['_checkSuggestionCorrectness'](_0x20b97a,_0x6c9e02,_0x59e5ee,_0x27c765),this['_suggestionState'][_0x19cd('0xd7')](_0x20b97a)){case _0x19cd('0x29'):this[_0x19cd('0x150')](_0x1e6927)[_0x19cd('0x123')](_0x599bcc=>{let _0x5e1b75=Promise['resolve']();_0x599bcc['hasComments']&&(_0x5e1b75=this[_0x19cd('0x16a')]['fetchCommentThread']({'channelId':this['editor'][_0x19cd('0x10')][_0x19cd('0xd7')](_0x19cd('0x118')),'threadId':_0x1e6927})),_0x5e1b75[_0x19cd('0x123')](()=>{this[_0x19cd('0x85')](_0x599bcc)['_saved']=!0x0;});}),this[_0x19cd('0x129')][_0x19cd('0x174')](_0x20b97a,_0x19cd('0x84'));break;case _0x19cd('0x51'):this[_0x19cd('0xe0')](_0x1e6927,{'state':_0x19cd('0xaa')});case _0x19cd('0x12d'):this['_suggestionState'][_0x19cd('0x174')](_0x20b97a,'ready'),this[_0x19cd('0x2c')](_0x19cd('0xfd'),_0x20b97a);break;case _0x19cd('0x119'):this[_0x19cd('0x2c')](_0x19cd('0x176'),_0x20b97a);}return _0x20b97a[_0x19cd('0x152')](_0x3b2b28),_0x20b97a;}[_0x19cd('0x12b')](_0x45781d){const _0x3ff89b=Array[_0x19cd('0x5f')](_0x45781d),_0x4b8b2=_0x3ff89b[_0x19cd('0x94')](_0x5e3b69=>'attribute'==_0x5e3b69[_0x19cd('0x4e')]);this['_refreshAttributeSuggestionsChain'](_0x4b8b2);const _0x4810ca=_0x3ff89b[_0x19cd('0x94')](_0xc6faa9=>!_0xc6faa9['isMultiRange']&&'attribute'!=_0xc6faa9['type']),_0x633b1b=this[_0x19cd('0x105')]({'skipNotAttached':!0x0})[_0x19cd('0x94')](_0x283e97=>!_0x283e97[_0x19cd('0x32')]&&'attribute'!=_0x283e97[_0x19cd('0x4e')]),_0x1739eb=_0x633b1b['filter'](_0x355195=>!_0x45781d[_0x19cd('0x7f')](_0x355195)),_0x1246d5=new Map(_0x633b1b[_0x19cd('0x125')](_0x33656c=>[_0x33656c,this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x33656c[_0x19cd('0x4e')],_0x33656c[_0x19cd('0x36')],_0x19cd('0x65'))])),_0x2de819=new Map(_0x633b1b['map'](_0x2412b1=>[_0x2412b1,_0x2412b1[_0x19cd('0x5b')]()])),_0x88dd64=new Set(),_0x2fa498=new Set();for(let _0x293064=0x0;_0x293064<_0x4810ca['length'];_0x293064++)_0x3317d0(_0x4810ca[_0x293064],_0x4810ca,_0x293064+0x1);for(let _0x597fe5=0x0;_0x597fe5<_0x4810ca[_0x19cd('0x158')];_0x597fe5++)_0x3317d0(_0x4810ca[_0x597fe5],_0x1739eb,0x0);const _0x10b2dd=new Set();for(let _0x9b6bdf=0x0;_0x9b6bdf<_0x4810ca['length'];_0x9b6bdf++){const _0x4e6a5b=_0x4810ca[_0x9b6bdf];!_0x2fa498[_0x19cd('0x7f')](_0x4e6a5b)&&_0x4e6a5b[_0x19cd('0x67')]&&(_0x10b2dd[_0x19cd('0xe1')](_0x4e6a5b[_0x19cd('0x67')]),_0x4e6a5b['previous'][_0x19cd('0x9b')]===_0x4e6a5b&&(_0x4e6a5b[_0x19cd('0x67')][_0x19cd('0x9b')]=null),_0x4e6a5b['previous']=null),!_0x88dd64[_0x19cd('0x7f')](_0x4e6a5b)&&_0x4e6a5b[_0x19cd('0x9b')]&&(_0x10b2dd[_0x19cd('0xe1')](_0x4e6a5b['next']),_0x4e6a5b[_0x19cd('0x9b')][_0x19cd('0x67')]===_0x4e6a5b&&(_0x4e6a5b[_0x19cd('0x9b')][_0x19cd('0x67')]=null),_0x4e6a5b[_0x19cd('0x9b')]=null);}function _0x3317d0(_0x361e38,_0x4e0ec5,_0x322385){for(let _0x485ec4=_0x322385;_0x485ec4<_0x4e0ec5[_0x19cd('0x158')];_0x485ec4++){const _0x18ffc0=_0x1f5a54(_0x361e38,_0x4e0ec5[_0x485ec4]);_0x18ffc0&&(_0x18ffc0[0x0]['next']=_0x18ffc0[0x1],_0x18ffc0[0x1][_0x19cd('0x67')]=_0x18ffc0[0x0],_0x88dd64[_0x19cd('0xe1')](_0x18ffc0[0x0]),_0x2fa498[_0x19cd('0xe1')](_0x18ffc0[0x1]));}}function _0x1f5a54(_0x367a8c,_0xe266ea){if(_0x367a8c[_0x19cd('0x8f')]['id']!==_0xe266ea[_0x19cd('0x8f')]['id'])return null;const _0x5f2b32=_0x1246d5[_0x19cd('0xd7')](_0x367a8c)(_0x367a8c,_0xe266ea,_0x2de819[_0x19cd('0xd7')](_0x367a8c),_0x2de819[_0x19cd('0xd7')](_0xe266ea));if(!_0x5f2b32)return null;return _0x1246d5[_0x19cd('0xd7')](_0xe266ea)(_0x367a8c,_0xe266ea,_0x2de819[_0x19cd('0xd7')](_0x367a8c),_0x2de819['get'](_0xe266ea))?_0x5f2b32[0x1][_0x19cd('0x8d')]&&_0x5f2b32[0x1]['commentThread'][_0x19cd('0x158')]?null:_0x5f2b32:null;}_0x10b2dd[_0x19cd('0xf0')]&&this[_0x19cd('0x12b')](_0x10b2dd);}[_0x19cd('0x88')](_0x5f3822){if(0x0==_0x5f3822[_0x19cd('0x158')])return;const _0x1c3b1c=this['getSuggestions']({'skipNotAttached':!0x0})[_0x19cd('0x94')](_0x57269=>_0x19cd('0xa6')==_0x57269['type']&&_0x57269[_0x19cd('0x14e')]),_0x23add3=[],_0x6d6c65=new Map();for(const _0x59ab73 of _0x1c3b1c){const _0x7bfcb=_0x120711(_0x59ab73['attributes']);_0x6d6c65[_0x19cd('0x7f')](_0x7bfcb)||(_0x6d6c65[_0x19cd('0x174')](_0x7bfcb,_0x23add3[_0x19cd('0x158')]),_0x23add3[_0x19cd('0x4')]([]));const _0x2c3d2d=_0x6d6c65[_0x19cd('0xd7')](_0x7bfcb);_0x23add3[_0x2c3d2d][_0x19cd('0x4')](_0x59ab73);}!function(){_0x23add3[_0x19cd('0x12a')]((_0x2d2c96,_0x57e1f6)=>{const _0x114b06=_0x2d2c96[0x0][_0x19cd('0x53')],_0x771b29=_0x57e1f6[0x0][_0x19cd('0x53')];return _0x114b06==_0x771b29?_0x2d2c96[0x0][_0x19cd('0x56')][_0x19cd('0x134')]<_0x57e1f6[0x0][_0x19cd('0x56')]['groupId']?-0x1:0x1:_0x114b06<_0x771b29?-0x1:0x1;});for(const _0x24be49 of _0x23add3)_0x24be49[_0x19cd('0x12a')]((_0x2c1a17,_0x2f43d5)=>_0x2c1a17['id']<_0x2f43d5['id']?-0x1:0x1);}();for(let _0x4189c4=0x0;_0x4189c4<_0x23add3[_0x19cd('0x158')];_0x4189c4++){if(0x0==_0x23add3[_0x4189c4][_0x19cd('0x158')])continue;const _0x298631=[];for(let _0x1d07be=_0x4189c4+0x1;_0x1d07be<_0x23add3[_0x19cd('0x158')];_0x1d07be++)0x0!=_0x23add3[_0x1d07be][_0x19cd('0x158')]&&_0x1f1410(_0x23add3[_0x4189c4],_0x23add3[_0x1d07be])&&_0x298631[_0x19cd('0x4')](_0x1d07be);for(const _0x6e56bc of _0x298631)_0x23add3[_0x4189c4]=_0x23add3[_0x4189c4][_0x19cd('0x8c')](_0x23add3[_0x6e56bc]),_0x23add3[_0x6e56bc]=[];}for(const _0x11775a of _0x23add3)for(let _0x3e640d=0x0;_0x3e640d<_0x11775a[_0x19cd('0x158')];_0x3e640d++)_0x11775a[_0x3e640d][_0x19cd('0x9b')]=_0x11775a[_0x3e640d+0x1]||null;for(const _0x141462 of _0x23add3)for(let _0x4cb5ea=0x0;_0x4cb5ea<_0x141462[_0x19cd('0x158')];_0x4cb5ea++)_0x141462[_0x4cb5ea][_0x19cd('0x67')]=_0x141462[_0x4cb5ea-0x1]||null;function _0x1f1410(_0x490176,_0x10e7f4){if(_0x490176[0x0][_0x19cd('0x56')]['groupId']!==_0x10e7f4[0x0]['attributes']['groupId']&&_0x490176[0x0][_0x19cd('0x8f')]!==_0x10e7f4[0x0][_0x19cd('0x8f')])return!0x1;if(!function(_0x575273,_0x680903){if(!_0x575273[_0x19cd('0x6a')]&&!_0x680903['hasComments'])return!0x0;if(_0x575273[_0x19cd('0x6a')]&&_0x680903[_0x19cd('0x6a')])return!0x1;if(_0x575273[_0x19cd('0x6a')]&&_0x680903['createdAt']<_0x575273[_0x19cd('0x8d')][_0x19cd('0x146')][_0x19cd('0xd7')](0x0)['createdAt'])return!0x0;if(_0x680903['hasComments']&&_0x575273[_0x19cd('0x53')]<_0x680903[_0x19cd('0x8d')]['comments'][_0x19cd('0xd7')](0x0)[_0x19cd('0x53')])return!0x0;return!0x1;}(_0x490176[0x0],_0x10e7f4[0x0]))return!0x1;const _0x1e20c5=_0x39f2a8(_0x490176[0x0]['attributes'],_0x19cd('0x134')),_0x23561a=_0x39f2a8(_0x10e7f4[0x0][_0x19cd('0x56')],'groupId');if(!_0x5acd85(_0x1e20c5,_0x23561a))return!0x1;return!!_0x490176[_0x19cd('0x144')](_0x56a9a4=>_0x10e7f4[_0x19cd('0x9d')](_0x19ad4d=>_0x56a9a4[_0x19cd('0x5b')]()[_0x19cd('0x9c')](_0x19ad4d[_0x19cd('0x5b')]())))&&_0x10e7f4[_0x19cd('0x144')](_0x11edd0=>_0x490176[_0x19cd('0x9d')](_0x123341=>_0x11edd0['getFirstRange']()[_0x19cd('0x9c')](_0x123341[_0x19cd('0x5b')]())));}}[_0x19cd('0x132')](_0x3c4651){const _0x554aad=Array[_0x19cd('0x5f')](_0x3c4651),_0x96cd05=this[_0x19cd('0x105')]({'skipNotAttached':!0x0}),_0x1406e9=_0x96cd05[_0x19cd('0x94')](_0x396e63=>!_0x3c4651[_0x19cd('0x7f')](_0x396e63)),_0x16a289=new Map(_0x554aad[_0x19cd('0x125')](_0x1a0780=>[_0x1a0780,this[_0x19cd('0xdf')][_0x19cd('0x6')](_0x1a0780[_0x19cd('0x4e')],_0x1a0780[_0x19cd('0x36')],'join')])),_0x41bdbb=new Map(_0x96cd05[_0x19cd('0x125')](_0x53b981=>[_0x53b981,_0x53b981['getRanges']()]));for(let _0x1be99b=0x0;_0x1be99b<_0x554aad[_0x19cd('0x158')];_0x1be99b++){if(_0x3a0532(this,_0x554aad[_0x1be99b],_0x554aad,_0x1be99b+0x1))return!0x0;}for(let _0x29beca=0x0;_0x29beca<_0x554aad['length'];_0x29beca++){if(_0x3a0532(this,_0x554aad[_0x29beca],_0x1406e9,0x0))return!0x0;}return!0x1;function _0x3a0532(_0x57b224,_0x35b41a,_0x103f4b,_0x36bdaf){for(let _0x89a3fb=_0x36bdaf;_0x89a3fb<_0x103f4b[_0x19cd('0x158')];_0x89a3fb++){const _0x49a99d=_0x103f4b[_0x89a3fb];if(_0x49a99d[_0x19cd('0x4e')]!==_0x35b41a[_0x19cd('0x4e')]||_0x49a99d[_0x19cd('0x8f')]['id']!==_0x35b41a[_0x19cd('0x8f')]['id']||_0x49a99d[_0x19cd('0x36')]!==_0x35b41a[_0x19cd('0x36')])continue;if(!Ft(_0x35b41a,_0x49a99d,[_0x19cd('0x134')]))continue;if(_0x19cd('0xa6')==_0x35b41a[_0x19cd('0x4e')]&&_0x35b41a[_0x19cd('0x48')]['oldValue']!=_0x49a99d['data'][_0x19cd('0xe7')])continue;if(_0x19cd('0xa6')==_0x35b41a[_0x19cd('0x4e')]&&_0x57b224[_0x19cd('0x34')](_0x35b41a[_0x19cd('0x48')][_0x19cd('0xb1')]))continue;if(_0x19cd('0xd9')==_0x35b41a[_0x19cd('0x4e')]){const _0x13e3cb=_0x57b224['editor'][_0x19cd('0x13c')],_0x3cbaa5=_0x35b41a['getContainedElement']();if(_0x3cbaa5&&(_0x13e3cb['schema'][_0x19cd('0x75')](_0x3cbaa5)||_0x13e3cb[_0x19cd('0x60')][_0x19cd('0xe9')](_0x3cbaa5)))continue;}const _0x5ecaaf=_0x16a289[_0x19cd('0xd7')](_0x35b41a),_0x51259f=_0x41bdbb['get'](_0x35b41a),_0xcdf0a6=_0x41bdbb[_0x19cd('0xd7')](_0x49a99d),_0x47438c=_0x35b41a['commentThread']&&_0x35b41a['commentThread'][_0x19cd('0x158')],_0x47aa1c=_0x49a99d[_0x19cd('0x8d')]&&_0x49a99d[_0x19cd('0x8d')][_0x19cd('0x158')];if(!_0x47438c&&_0x5ecaaf(_0xcdf0a6,_0x51259f))return _0x57b224[_0x19cd('0x4c')](_0x49a99d,_0x35b41a),_0x41bdbb[_0x19cd('0x11f')](_0x35b41a),!0x0;if(!_0x47aa1c&&_0x5ecaaf(_0x51259f,_0xcdf0a6))return _0x57b224[_0x19cd('0x4c')](_0x35b41a,_0x49a99d),_0x41bdbb[_0x19cd('0x11f')](_0x49a99d),!0x0;}return!0x1;}}[_0x19cd('0x4c')](_0x3c1cde,_0x6875d7){if(_0x3c1cde[_0x19cd('0x32')])for(const _0x263c5a of _0x6875d7[_0x19cd('0x76')]())_0x3c1cde[_0x19cd('0x1')](_0x263c5a);else{const _0x42ccaf=_0x6875d7[_0x19cd('0x5b')]()[_0x19cd('0x172')];this[_0x19cd('0x99')](_0x3c1cde,this['_model'][_0x19cd('0xef')](_0x3c1cde['getFirstRange']()[_0x19cd('0x4f')],_0x42ccaf));}_0x6875d7['removeMarkers']();}[_0x19cd('0xd6')](_0xaa4d27,_0x481fd0){const _0x8fdfbf=_0xaa4d27[_0x19cd('0xde')](_0x19cd('0xe'))||_0xaa4d27['startsWith']('attribute')?'FORMATTING':_0xaa4d27['toUpperCase']();return _0x4e3a96(this[_0x19cd('0x14')][_0x19cd('0x7d')],_0x481fd0+'_'+_0x8fdfbf+_0x19cd('0x97'));}[_0x19cd('0x3e')](){const _0x2b0bde=this[_0x19cd('0x14')];_0x526c68(this[_0x19cd('0xdc')],({left:_0x42331c,entered:_0x2418d4})=>{const _0x25c148=[];for(const _0x37eac7 of _0x42331c){const {group:_0x5f2a0d,type:_0x32ab27}=this['_splitMarkerName'](_0x37eac7[_0x19cd('0x168')]);if(_0x19cd('0x71')===_0x5f2a0d){_0x25c148[_0x19cd('0x4')](this['_getMarkerAnnouncementText'](_0x32ab27,_0x19cd('0x73')));break;}}for(const _0x2ee40e of _0x2418d4){const {group:_0x14db7d,type:_0x5c42af}=this[_0x19cd('0x15d')](_0x2ee40e[_0x19cd('0x168')]);if(_0x19cd('0x71')===_0x14db7d){_0x25c148[_0x19cd('0x4')](this['_getMarkerAnnouncementText'](_0x5c42af,_0x19cd('0xb8')));break;}}_0x25c148[_0x19cd('0x158')]&&_0x2b0bde['ui'][_0x19cd('0x155')][_0x19cd('0x169')](_0x19cd('0x7'),_0x25c148['join']('\x20'));});}[_0x19cd('0xea')](_0x2c51b9){if(this[_0x19cd('0x3b')])return!0x1;const _0x27868d=this[_0x19cd('0x14')],_0xa4c51c=_0x27868d[_0x19cd('0x13c')][_0x19cd('0x7a')]['differ'][_0x19cd('0xa7')]();if(0x0==_0xa4c51c[_0x19cd('0x158')])return!0x1;const _0x161d88=[],_0xb65ac8=_0xa4c51c[_0x19cd('0x94')](_0x19e384=>_0x19cd('0xa6')==_0x19e384[_0x19cd('0x4e')]),_0xbf4496=_0xa4c51c[_0x19cd('0x94')](_0x497769=>_0x19cd('0x11a')==_0x497769['type']&&_0x19cd('0x14b')!=_0x497769[_0x19cd('0x168')]),_0x3a24a6=_0xa4c51c['filter'](_0x51fbd3=>_0x19cd('0x95')==_0x51fbd3[_0x19cd('0x4e')]&&_0x19cd('0x14b')!=_0x51fbd3[_0x19cd('0x168')]);for(const _0xc22487 of _0xb65ac8)_0x161d88[_0x19cd('0x4')]({'key':_0xc22487['attributeKey'],'newValue':_0xc22487[_0x19cd('0x108')],'oldValue':_0xc22487[_0x19cd('0xb0')],'range':Ut(_0xc22487[_0x19cd('0x115')],_0x27868d[_0x19cd('0x13c')])});for(const _0x107516 of _0xbf4496){const _0x3e1a0b=_0x3a24a6[_0x19cd('0x52')](_0x5524c7=>_0x5524c7['position'][_0x19cd('0x9c')](_0x107516[_0x19cd('0x45')]));_0x3e1a0b&&_0x161d88[_0x19cd('0x4')]({'key':_0x19cd('0x78'),'newValue':_0x107516[_0x19cd('0x168')],'oldValue':_0x3e1a0b[_0x19cd('0x168')],'range':_0x27868d[_0x19cd('0x13c')][_0x19cd('0x102')](_0x107516[_0x19cd('0x45')][_0x19cd('0xe2')])});}return 0x0!=_0x161d88[_0x19cd('0x158')]&&this[_0x19cd('0x13b')](_0x2c51b9,_0x161d88);}[_0x19cd('0x121')](_0x520811){let _0x62d816=!0x1;const _0x412ff9=this[_0x19cd('0x14')][_0x19cd('0x13c')][_0x19cd('0x7a')]['differ'][_0x19cd('0xec')]()[_0x19cd('0x94')](_0x114e21=>_0x114e21[_0x19cd('0x48')][_0x19cd('0x86')]&&_0x114e21[_0x19cd('0x168')][_0x19cd('0xde')]('suggestion:attribute:'));for(const _0x702ed4 of _0x412ff9){const {subType:_0x257f47,id:_0x29c22b}=this[_0x19cd('0x15d')](_0x702ed4['name']),_0x4d3e8c=_0x257f47[_0x19cd('0x64')]('|')[0x0];for(const _0x264f7c of this[_0x19cd('0x105')]({'skipNotAttached':!0x0}))_0x264f7c['id']!=_0x29c22b&&'attribute'==_0x264f7c[_0x19cd('0x4e')]&&_0x264f7c[_0x19cd('0x48')]&&_0x264f7c[_0x19cd('0x48')]['key']==_0x4d3e8c&&_0x264f7c[_0x19cd('0x5b')]()[_0x19cd('0xbb')](_0x702ed4[_0x19cd('0x48')]['newRange'])&&(this[_0x19cd('0x15a')](_0x264f7c,_0x702ed4[_0x19cd('0x48')][_0x19cd('0x86')],_0x520811),_0x62d816=!0x0);}return _0x62d816;}[_0x19cd('0x89')](_0x123f56){this[_0x19cd('0x14')],(this[_0x19cd('0x3b')]=!0x0,_0x123f56());}[_0x19cd('0x87')](_0x2c4a8d){const _0x4cf6f8=this[_0x19cd('0x34')](_0x2c4a8d),_0x207dd0=this[_0x19cd('0x93')][_0x19cd('0x7f')](_0x2c4a8d);return _0x4cf6f8||_0x207dd0;}[_0x19cd('0x13b')](_0x1ae7af,_0x112c83){if(0x0==_0x112c83[_0x19cd('0x158')])return!0x1;let _0x2d3d01=!0x1;for(const _0x20a4cd of _0x112c83){const _0x12e347=this[_0x19cd('0x9f')](_0x20a4cd[_0x19cd('0x115')],_0x19cd('0xa6'))['filter'](_0x326cec=>!_0x326cec[_0x19cd('0xba')]['isNextTo'])[_0x19cd('0x125')](_0x52777d=>_0x52777d['suggestion']),_0x99026b=_0x120711({'newValue':_0x20a4cd[_0x19cd('0x70')]});_0x12e347[_0x19cd('0x94')](_0x3efb8d=>{const [_0x678687,_0x7a1d34]=_0x3efb8d['subType'][_0x19cd('0x64')]('|');return _0x678687==_0x20a4cd[_0x19cd('0xb1')]&&_0x7a1d34!=_0x99026b;})['forEach'](_0x2d0798=>{this[_0x19cd('0x15a')](_0x2d0798,_0x20a4cd[_0x19cd('0x115')],_0x1ae7af),_0x2d3d01=!0x0;});}return _0x2d3d01;}[_0x19cd('0x15a')](_0x1005cd,_0x3c762c,_0x432a09){const _0x4f10dd=_0x1005cd[_0x19cd('0x5b')]()[_0x19cd('0x11d')](_0x3c762c);0x0!==_0x4f10dd[_0x19cd('0x158')]?0x1!==_0x4f10dd[_0x19cd('0x158')]?this[_0x19cd('0x2a')](_0x1005cd,_0x3c762c[_0x19cd('0x4f')],_0x3c762c['end']):this[_0x19cd('0x99')](_0x1005cd,_0x4f10dd[0x0]):_0x432a09[_0x19cd('0x62')](_0x1005cd[_0x19cd('0x109')]());}}class Bt{constructor(_0x4f4b40){this[_0x19cd('0x33')]=_0x4f4b40,this['_model']=_0x4f4b40[_0x19cd('0x13c')],this[_0x19cd('0x10b')]=new Map(),this['_defaultCallbacks']=new Map(),this[_0x19cd('0x164')]();}[_0x19cd('0xf6')](_0x31b595,_0x17b937,_0x5ed320,_0x42532a,_0x182e74,_0x2efe86){return new _0xf9ee21(this[_0x19cd('0xdc')],{'type':_0x31b595,'subType':_0x17b937,'id':_0x5ed320,'author':_0x42532a,'creator':_0x42532a,'attributes':_0x182e74,'onAttributesChange':_0x2efe86,'onAccept':(..._0x56eb62)=>this[_0x19cd('0x6')](_0x31b595,_0x17b937,_0x19cd('0x10d'))(..._0x56eb62),'onDiscard':(..._0x4618ff)=>this[_0x19cd('0x6')](_0x31b595,_0x17b937,_0x19cd('0x18'))(..._0x4618ff)});}[_0x19cd('0x117')](_0x371589,_0x2f6306,_0x2f5e6a,_0x29003a){const _0x13b4d5=_0x371589+':'+_0x2f6306+':'+_0x2f5e6a;this[_0x19cd('0x10b')][_0x19cd('0x174')](_0x13b4d5,_0x29003a);}['getSuggestionCallback'](_0x58d307,_0xc1ab6a,_0x49582d){const _0x134ab5=_0x58d307+':'+_0xc1ab6a+':'+_0x49582d;return this[_0x19cd('0x10b')][_0x19cd('0xd7')](_0x134ab5)||this[_0x19cd('0xda')][_0x19cd('0xd7')](_0x58d307+':'+_0x49582d);}['_registerDefaultCallbacks'](){const _0x273d75=()=>!0x1,_0x53ed8f=_0x500d36=>{_0x500d36[_0x19cd('0x12a')]((_0x4ca1cc,_0x1bb3bc)=>_0x4ca1cc[_0x19cd('0x4f')][_0x19cd('0x7c')](_0x1bb3bc[_0x19cd('0x4f')])?0x1:-0x1),this[_0x19cd('0xdc')][_0x19cd('0xdd')](_0x5e75d5=>{for(const _0x4ecc31 of _0x500d36){let _0x2b17cd;_0x2b17cd=_0x4ecc31['end'][_0x19cd('0xae')]&&_0x4ecc31['end'][_0x19cd('0x66')]==_0x4ecc31['start'][_0x19cd('0xe2')]?_0x5e75d5[_0x19cd('0xfe')](_0x4ecc31['start']['nodeAfter'],'on'):_0x5e75d5[_0x19cd('0xfe')](_0x4ecc31),this['_model']['deleteContent'](_0x2b17cd,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x365f10=(_0x13ff93,_0x5ac283)=>{_0x5ac283&&this[_0x19cd('0xdc')]['change'](_0x407f25=>{const {commandName:_0x294085,commandParams:_0x338cf1=[]}=_0x5ac283,_0x51d396=_0x13ff93['map'](_0x47181f=>(Rt(_0x47181f)&&(_0x47181f=this[_0x19cd('0xdc')][_0x19cd('0xef')](_0x47181f[_0x19cd('0x172')])),_0x47181f))[_0x19cd('0x94')](_0x3b7ee3=>'$graveyard'!==_0x3b7ee3['root']['rootName']);if(_0x51d396[_0x19cd('0x158')]<0x1)return;const _0x5f3684=Array['from'](this[_0x19cd('0xdc')][_0x19cd('0x7a')]['selection'][_0x19cd('0x76')]())[_0x19cd('0x125')](_0x2f17ac=>_0xb00d8d['fromRange'](_0x2f17ac));_0x407f25[_0x19cd('0x19')](_0x51d396);for(const _0x415a6b of this[_0x19cd('0x33')][_0x19cd('0x50')][_0x19cd('0x50')]())_0x415a6b[_0x19cd('0xd8')]();_0x338cf1[_0x19cd('0x4')]({'forceDefaultExecution':!0x0}),this[_0x19cd('0x33')][_0x19cd('0x46')](_0x294085,..._0x338cf1);const _0x2c0695=_0x5f3684[_0x19cd('0x94')](_0x3db4ca=>_0x19cd('0x16')!=_0x3db4ca[_0x19cd('0x14a')][_0x19cd('0x7b')]);_0x2c0695[_0x19cd('0x158')]>0x0&&_0x407f25['setSelection'](_0x2c0695);for(const _0xd0c57b of _0x5f3684)_0xd0c57b[_0x19cd('0x5d')]();});},_0x54e600=(_0x15c336,_0x26de6f)=>0x1==_0x15c336[_0x19cd('0x158')]&&0x1==_0x26de6f[_0x19cd('0x158')]&&_0x15c336[0x0][_0x19cd('0x172')][_0x19cd('0x9c')](_0x26de6f[0x0]['start']),_0x195d86=(_0x267510,_0x24cae1,_0x3d9e2f,_0x11e00c)=>Gt(_0x267510,_0x24cae1,_0x3d9e2f,_0x11e00c,this[_0x19cd('0xdc')])?[_0x267510,_0x24cae1]:Gt(_0x24cae1,_0x267510,_0x11e00c,_0x3d9e2f,this[_0x19cd('0xdc')])?[_0x24cae1,_0x267510]:null;this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x9e'),_0x273d75),this[_0x19cd('0xda')]['set'](_0x19cd('0x15b'),_0x53ed8f),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x162'),_0x54e600),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0xf4'),_0x195d86),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x6f'),_0x53ed8f),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x63'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x57'),_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')]('deletion:chain',_0x195d86),this[_0x19cd('0xda')]['set']('formatInline:accept',_0x365f10),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatInline:discard',_0x273d75),this[_0x19cd('0xda')]['set']('formatInline:join',_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0xf3'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatBlock:accept',_0x365f10),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x161'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0xe4'),_0x54e600),this[_0x19cd('0xda')][_0x19cd('0x174')]('formatBlock:chain',_0x273d75),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0x92'),_0x273d75),this[_0x19cd('0xda')][_0x19cd('0x174')](_0x19cd('0x6d'),(_0x1a5174,_0x3c3cdf)=>{if(!_0x3c3cdf)return;const _0x3be5c1=this[_0x19cd('0x33')][_0x19cd('0x128')][_0x19cd('0xd7')](p);this[_0x19cd('0xdc')]['change'](_0x3604e0=>{if(_0x19cd('0x78')==_0x3c3cdf[_0x19cd('0xb1')])for(const _0xe0010c of _0x1a5174){const _0x6be9ab=_0xe0010c[_0x19cd('0x4f')]['nodeAfter'],_0x5c87b9=_0x3c3cdf[_0x19cd('0xe7')];_0x3604e0[_0x19cd('0x140')](_0x6be9ab,_0x5c87b9);}else{if(_0x3be5c1[_0x19cd('0x34')](_0x3c3cdf[_0x19cd('0xb1')]))for(const _0x6b9b86 of _0x1a5174)void 0x0!==_0x3c3cdf[_0x19cd('0xe7')]?_0x3604e0[_0x19cd('0x82')](_0x3c3cdf[_0x19cd('0xb1')],_0x3c3cdf['oldValue'],_0x6b9b86['start'][_0x19cd('0xe2')]):_0x3604e0['removeAttribute'](_0x3c3cdf['key'],_0x6b9b86[_0x19cd('0x4f')]['nodeAfter']);else for(const _0x1fc6c1 of _0x1a5174)_0x3c3cdf[_0x19cd('0xe7')]?_0x3604e0['setAttribute'](_0x3c3cdf[_0x19cd('0xb1')],_0x3c3cdf['oldValue'],_0x1fc6c1):_0x3604e0[_0x19cd('0x137')](_0x3c3cdf['key'],_0x1fc6c1);}});}),this['_defaultCallbacks'][_0x19cd('0x174')](_0x19cd('0x6b'),_0x54e600);}}function xt(_0x5a407b,_0x43ce6c,_0x36361b){for(const _0x59070a of _0x43ce6c[_0x19cd('0x66')][_0x19cd('0xfb')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x59070a['root']==_0x59070a)return!0x1;if(!_0x36361b[_0x19cd('0x107')](_0x59070a))return!0x1;if(_0x5a407b[_0x19cd('0x75')](_0x59070a)||_0x5a407b[_0x19cd('0xe9')](_0x59070a))return!0x0;}return!0x1;}function Rt(_0x4ec49a){return _0x4ec49a[_0x19cd('0x172')][_0x19cd('0x66')]==_0x4ec49a[_0x19cd('0x4f')][_0x19cd('0xe2')]&&_0x4ec49a['end'][_0x19cd('0xbe')];}function Tt(_0x55e66d,_0xc3bcb,_0x1bf88,_0x2d8f41){const _0x1bd6ce=_0x201101=>!_0x201101[_0x19cd('0x41')]['is']('$textProxy')&&!_0x2d8f41[_0x19cd('0x75')](_0x201101[_0x19cd('0x41')]),_0x4a324f=_0x55e66d[_0x19cd('0x4f')][_0x19cd('0xff')](_0x1bd6ce),_0x27e580=_0x55e66d[_0x19cd('0x172')][_0x19cd('0xff')](_0x1bd6ce,{'direction':_0x19cd('0xa1')});return(!_0x55e66d[_0x19cd('0x4f')][_0x19cd('0x9c')](_0x4a324f)||!_0x55e66d['end']['isEqual'](_0x27e580))&&(_0x4a324f[_0x19cd('0x7c')](_0x27e580)?_0x1bf88['updateMarker'](_0xc3bcb,{'range':_0x1bf88[_0x19cd('0xef')](_0x4a324f,_0x27e580)}):_0x1bf88[_0x19cd('0x62')](_0xc3bcb),!0x0);}function Et(_0x3c9237){return _0x120711(_0x3c9237);}function Vt(_0x2651f0){const _0x466654=_0x2651f0[_0x19cd('0x4f')][_0x19cd('0xe2')];return _0x466654&&_0x466654['is'](_0x19cd('0xb7'));}function Ut(_0xccd826,_0x387208){return null==_0xccd826[_0x19cd('0x172')]['nodeBefore']&&_0xccd826['end'][_0x19cd('0x66')]==_0xccd826['start'][_0x19cd('0xe2')]?Ot(_0xccd826[_0x19cd('0x4f')]['nodeAfter'],_0x387208):_0xccd826;}function Ot(_0xc48831,_0x1000b7){const _0x5b88ac=_0x1000b7['schema'][_0x19cd('0x75')](_0xc48831)||_0x1000b7[_0x19cd('0x60')][_0x19cd('0x26')](_0xc48831);return _0x1000b7[_0x19cd('0xef')](_0x1000b7[_0x19cd('0x110')](_0xc48831,_0x19cd('0xc0')),_0x5b88ac?_0x1000b7[_0x19cd('0x0')](_0xc48831):_0x1000b7[_0x19cd('0x110')](_0xc48831,_0x19cd('0x172')));}function Gt(_0xadf958,_0x2200d7,_0x1719fd,_0x25f5c5,_0x106ff1){if(!Ft(_0xadf958,_0x2200d7))return!0x1;if(_0x1719fd[_0x19cd('0x172')][_0x19cd('0x9c')](_0x25f5c5[_0x19cd('0x4f')]))return!0x0;if(_0xadf958[_0x19cd('0x4e')]!=_0x2200d7[_0x19cd('0x4e')])return!0x1;if(!_0x1719fd['end'][_0x19cd('0x61')](_0x25f5c5[_0x19cd('0x4f')]))return!0x1;const _0x503aa1=_0x106ff1[_0x19cd('0xef')](_0x1719fd[_0x19cd('0x172')],_0x25f5c5[_0x19cd('0x4f')])[_0x19cd('0x69')]();for(const _0x1dec1c of _0x503aa1)if([_0x19cd('0x5'),_0x19cd('0xfa')][_0x19cd('0xc9')](_0x1dec1c[_0x19cd('0x4e')])&&_0x106ff1[_0x19cd('0x60')][_0x19cd('0xe9')](_0x1dec1c[_0x19cd('0x41')]))return!0x1;return!0x0;}function Ft(_0x187078,_0xc7a29f,_0x1c2247=[]){return!(!_0x187078[_0x19cd('0x14e')]||!_0xc7a29f[_0x19cd('0x14e')])&&_0x5acd85(_0x39f2a8(_0x187078[_0x19cd('0x56')],_0x1c2247),_0x39f2a8(_0xc7a29f['attributes'],_0x1c2247));}function Pt(_0x22d1f0,_0x502212){const _0x32934a=Lt(_0x22d1f0[_0x19cd('0x56')]),_0x346aee=Lt(_0x502212);if(!_0x22d1f0['_isDataLoaded'])return!0x1;for(const _0x4ec701 of Object[_0x19cd('0x1d')](_0x346aee))if(!_0x5acd85(_0x32934a[_0x4ec701],_0x346aee[_0x4ec701]))return!0x1;return!0x0;}function Lt(_0x5b981a){const _0x2f130c=Object['assign']({},_0x5b981a);return delete _0x2f130c[_0x19cd('0x136')],delete _0x2f130c['tablePasteChainId'],_0x2f130c;}
|
|
23
|
+
const _0x3010=['resolve','high','nodeBefore','return','getItems','insertion:accept','CommentsRepository','item','element','getMultiRangeId','acceptAllSuggestions','track-changes-user-not-found','fire','formatBlock:join','document','suggestion-type','accept','ck-suggestion-marker','comments','stopListening','deleteContent','schema','removed','conversion','track-changes-suggestion-data-mismatch','_processAttributeChanges','assign','_updateSuggestionData','catch','_SUGGESTION_ANNOUNCEMENT','_commentsRepository','deletion','$textProxy','_createSuggestion','_refreshAttributeSuggestionsChain','substring','values','setTo','isLocal','isObject','default','isIntersecting','splice','forceDefaultExecution','markMultiRangeInsertion','createSelection','find','set','unbind','oldRange','split','meta','addUser','containsPosition','createRangeOn','_customCallbacks','writer','_cutOutSuggestionMarker','attribute:','$elementName','listenTo','error-saving-suggestion-data-suggestion-discarded','editingDowncast','getChanges','discardSuggestion','trackChanges.mergeNestedSuggestions','_isBlockAttribute','markerToHighlight','adapter','change:activeMarkers','value','markAttributeChange','toUpperCase','add','getAttribute','getAncestors','_isForcedDefaultExecutionBlock','stop','_getAttributeKey','createPositionBefore','createdAt','dataReady','_getMarkerAnnouncementText','insertContent','formatInline:join','acceptSelectedSuggestions','model','formatBlock:discard','_recordAttributeSuggestions','getWalker','end','author','keys','get','_enableDefaultAttributesIntegration','attributeKey','open','multipleBlocks','getFirstRange','execute','getSuggestionCallback','toViewElement','insertion:','discardSelectedSuggestions','getAllAdjacentSuggestions','_suggestionFactory','removeComment','createRangeIn','$graveyard','_getAuthorFromId','groupId','removeMarker','markInlineFormat','suggestion:attribute:','_enabledCommands','after','deletion:accept','join','formatBlock:chain','root','isBlock','suggestionChanged','_setSuggestionRange','ariaLiveAnnouncer','push','config','addSuggestion','PENDING_ACTION_SUGGESTION','collaboration.channelId','getFirstMarker','rootName','track-changes-command-not-found','fetchCommentThread','isArray','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.','newValue','trackChangesCommand','filter','$marker','isLimit','fromCharCode','insertion:discard','markerToData','from','getRanges','_suggestions','showSuggestionHighlights','addMarker:suggestion:formatBlock','isAtEnd','isAfter','always','track-changes-suggestion-not-found','attributes','backward','containsRange','_saved','_getSuggestionData','markBlockFormat','_registerDefaultCallbacks','createRange','highest','pluginName','_findSuggestions','ck-suggestion-marker-','targetPosition','define','chain','batch','has','isEqual','deletion:discard','key','_afterChanges','_refreshSuggestionsChain','attribute:accept','acceptSuggestion','dataDowncast','elementToElement','isAtStart','_setSuggestionData','removeMarkers','discardAllSuggestions','substr','refresh','includes','isBefore','toJSON','attribute:discard','name','then','isMultiRange','markerReady','formatInline:chain','updateMarker','track-changes-adapter-already-set','some','addMarkerName','track-changes-adapter-missing-getsuggestion','getChangedMarkers','_defaultCallbacks','_adapter','_suggestionState','unshift','data','commentThread','isInContent','consume','marker-count','_rangeIsInLocalUserInsertion','enableReadOnlyMode','isTouching','_mergeNestedSuggestions','getCustomProperty','formatBlock:','before','forEach','markers','deletion:chain','remove','unbindElementFromMarkerName','_reduceExistingSuggestions','updateSuggestion','commands','addMarker:suggestion','data-suggestion','locale','announce','never','_initAriaMarkerChangeAnnouncements','type','_inlineAttributeKeys','sort','tablePasteChainId','selection','head','removeClass','_isDataLoaded','_addThreadToSuggestion','hasSuggestion','createPositionAfter','@external','editor','addRange','hasCommentThread','getContainedElement','getRange','_model','authoredAt','map','commandName','isIntersectingWithRange','detach','trackChanges','change:_saved','getMarkers','PendingActions','normal','lowest','deletion:','init','format','LEAVE','previous','_removeSuggestion','deletion:join','markDeletion','_element','addComment','applyOperation','start','isRemovable','formatInline:discard','every','isInsideObject','suggestion','ready','change','group','markerNameToElements','addCommentThread','consumable','accepted','getSuggestions','removeAttribute','suggestion:','rejected','clone','bindElementToMarker','formatInline','containsRangeInObject','_checkSuggestionCorrectness','differ','elementStart','for','addHighlight','mapper','options','suggestionLoaded','track-changes-enable-command-twice','subType','length','upcast','getIntersection','ck-suggestion-marker-formatBlock','_editor','change:data','Users','FORMATTING','howMany','registerPostFixer','getSuggestion','attribute','plugins','formatBlock','_splitMarkerName','addMarker','ck-suggestion-marker-formatInline','_joinWithAdjacentSuggestions','_registerInlineAttribute','creator','_reduceSuggestionAttributeRange','containerElement','getNearestSelectionRange','range','$text','isUndo','addMarker:suggestion:attribute','_blockAttributeKeys','_handleNewSuggestionMarker','size','rename','newRange','startsWith','markInsertion','formatInline:accept','enqueueChange','_isRegisteredAttribute','next','_registerBlockAttribute','addSuggestionData','_recordAttributeChanges','nodeAfter','delete','moveTargetPosition','attributeNewValue','external:','_addSuggestionMarker','fromRange','forward','enableCommand','multi','documentSelection','_trackFormatChanges','elementEnd','_joinSuggestions','markerName','getShiftedBy','trackChanges.trackFormatChanges','addClass','position','markMultiRangeDeletion','oldValue','isNextTo','skipNestingCheck','_processAttributeSuggestions','isSelectable','hasComments','getDifference','insert','getUser','warn','setSelection','clear','_breakSuggestionMarker','isOwn','createPositionAt','activeMarkers','parent','insertion','formatGroupId','registerCustomCallback','getLastMatchingPosition','isCollapsed','low','discard','containsItem','formatBlock:accept','buildSuggestion','_descriptionFactory','ck-suggestion-marker--active','splitPosition','originalSuggestionId','_onDiscard'];(function(_0x228012,_0x301013){const _0x59046a=function(_0xec098f){while(--_0xec098f){_0x228012['push'](_0x228012['shift']());}};_0x59046a(++_0x301013);}(_0x3010,0xf5));const _0x5904=function(_0x228012,_0x301013){_0x228012=_0x228012-0x0;let _0x59046a=_0x3010[_0x228012];return _0x59046a;};import{Plugin as _0x57e1ba,PendingActions as _0x3cbbed}from'ckeditor5/src/core.js';import{LiveRange as _0x3da7f8}from'ckeditor5/src/engine.js';import{CKEditorError as _0x2aea78,uid as _0x12efea,priorities as _0x3e9c74,logWarning as _0x54efba}from'ckeditor5/src/utils.js';import{toWidget as _0x49a28c}from'ckeditor5/src/widget.js';import{Users as _0x38ff43,hashObject as _0x41c87c,surroundingMarkersDetector as _0x57e753}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1e406b from'./commands/trackchangescommand.js';import _0x2cf257 from'./commands/acceptsuggestioncommand.js';import _0x36988a from'./commands/discardsuggestioncommand.js';import _0x128c65 from'./commands/executeonallsuggestionscommand.js';import _0x5db7c7 from'./commands/executeonselectedsuggestionscommand.js';import _0x80ede4 from'./suggestion.js';import _0x35b042 from'./suggestiondescriptionfactory.js';import _0x2bcdc4 from'./integrations/aiassistant.js';import _0x4bfc78 from'./integrations/alignment.js';import _0xb44c11 from'./integrations/basicstyles.js';import _0x26ad47 from'./integrations/blockquote.js';import _0xdf46f2 from'./integrations/casechange.js';import _0x3fdd48 from'./integrations/ckbox.js';import _0x5d5d40 from'./integrations/codeblock.js';import _0x2f773c from'./integrations/comments.js';import _0xdda64c from'./integrations/deletecommand.js';import _0x264960 from'./integrations/list.js';import _0x1a96d6 from'./integrations/listproperties.js';import _0x9adc30 from'./integrations/entercommand.js';import _0x338fb1 from'./integrations/findandreplace.js';import _0x3bb9c6 from'./integrations/font.js';import _0x1194db from'./integrations/formatpainter.js';import _0x14ef41 from'./integrations/heading.js';import _0x1607fc from'./integrations/highlight.js';import _0x484dad from'./integrations/horizontalline.js';import _0x17061a from'./integrations/htmlembed.js';import _0x20452a from'./integrations/image.js';import _0x283277 from'./integrations/imagereplace.js';import _0xa612d0 from'./integrations/imagestyle.js';import _0x5546f0 from'./integrations/importword.js';import _0x54da05 from'./integrations/indent.js';import _0xdb84a8 from'./integrations/inputcommand.js';import _0x30371b from'./integrations/link.js';import _0x112b90 from'./integrations/legacylist.js';import _0x4aacea from'./integrations/legacylistproperties.js';import _0x1ddd2e from'./integrations/mediaembed.js';import _0x508758 from'./integrations/mention.js';import _0x57bcb6 from'./integrations/pagebreak.js';import _0x536e26 from'./integrations/paragraph.js';import _0xd86fbe from'./integrations/removeformat.js';import _0x120429 from'./integrations/restrictededitingmode.js';import _0x434238 from'./integrations/shiftentercommand.js';import _0x547d91 from'./integrations/standardeditingmode.js';import _0x2f3aa4 from'./integrations/style.js';import _0xaf4759 from'./integrations/table.js';import _0x1edfd9 from'./integrations/tablemergesplit.js';import _0xc2f2de from'./integrations/tableheadings.js';import _0x19dd0c from'./integrations/tableclipboard.js';import _0x11b8d2 from'./integrations/tablecolumnresize.js';import _0x1ed5ee from'./integrations/template.js';import _0x554fa1 from'./integrations/tableofcontents.js';import _0xff0d2c from'./integrations/title.js';import _0xf34a89 from'./integrations/undo.js';import _0x31c441 from'./integrations/tablecaption.js';import _0x5989c3 from'./integrations/tableproperties.js';import{getTranslation as _0x5e6b3d}from'./utils/common-translations.js';import{isEqual as _0x35c4e3,omit as _0xed44df}from'lodash-es';export const renameAttributeKey=_0x5904('0xcf');export default class p extends _0x57e1ba{static get['requires'](){return['CommentsRepository',_0x38ff43,_0x3cbbed,_0x2bcdc4,_0x4bfc78,_0xb44c11,_0x26ad47,_0x3fdd48,_0xdf46f2,_0x5d5d40,_0x2f773c,_0xdda64c,_0x9adc30,_0x338fb1,_0x3bb9c6,_0x1194db,_0x14ef41,_0x1607fc,_0x484dad,_0x17061a,_0x20452a,_0xa612d0,_0x283277,_0x5546f0,_0x54da05,_0xdb84a8,_0x112b90,_0x4aacea,_0x30371b,_0x264960,_0x1a96d6,_0x1ddd2e,_0x508758,_0x57bcb6,_0x536e26,_0xd86fbe,_0x120429,_0x434238,_0x547d91,_0x2f3aa4,_0xaf4759,_0x1edfd9,_0xc2f2de,_0x31c441,_0x19dd0c,_0x11b8d2,_0x554fa1,_0x5989c3,_0x1ed5ee,_0xff0d2c,_0xf34a89];}static get[_0x5904('0x135')](){return'TrackChangesEditing';}constructor(_0x45f4e1){function _0x412ee8(_0x12888c){return _0x12888c[_0x5904('0x3')](_0x4b6ccc=>String[_0x5904('0x120')](_0x4b6ccc))['join']('');}super(_0x45f4e1),this[_0x5904('0xec')]=!0x1,this[_0x5904('0xc3')](_0x5904('0x83'),[]),this['on'](_0x5904('0xd9'),(_0x4895ed,_0x5d9087,_0x17085f,_0x354f4c)=>{this[_0x5904('0x1')][_0x5904('0x1f')](()=>{for(const _0x4f5876 of[..._0x354f4c,..._0x17085f])this['_model'][_0x5904('0x16c')][_0x5904('0x13c')](_0x4f5876)&&_0x45f4e1['editing']['reconvertMarker'](_0x4f5876);});}),this[_0x5904('0x8f')]=new _0x35b042(this[_0x5904('0x185')][_0x5904('0xea')][_0x5904('0xa9')],this[_0x5904('0x185')][_0x5904('0x175')]),this[_0x5904('0x15c')]=null,this['_suggestionFactory']=new Bt(this['editor']),this[_0x5904('0x125')]=new Map(),this[_0x5904('0xb2')]=_0x45f4e1[_0x5904('0x43')]['get'](_0x5904('0x9a')),this[_0x5904('0x106')]=new Set(),this[_0x5904('0x1')]=this[_0x5904('0x185')]['model'],this[_0x5904('0x15d')]=new WeakMap(),this[_0x5904('0xe0')]=!0x1,this[_0x5904('0x52')]=new Set(['$elementName']),this[_0x5904('0x17a')]=new Set(),_0x45f4e1[_0x5904('0x111')][_0x5904('0x139')]('trackChanges.trackFormatChanges','default'),this[_0x5904('0x6b')]=_0x45f4e1[_0x5904('0x111')][_0x5904('0xf1')](_0x5904('0x70')),_0x45f4e1['config'][_0x5904('0x139')](_0x5904('0xd5'),!0x0),this[_0x5904('0x167')]=_0x45f4e1['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x1e406b(_0x45f4e1,this['_enabledCommands']),this[_0x5904('0x178')](),this[_0x412ee8([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x412ee8([0x34,0x30,0x34,0x38,0x30,0x32,0x35,0x38]);}[_0x5904('0xe')](){const _0x19dbd7=this['editor'],_0x8ee422=(_0x2fbabe,_0x4cec31)=>{if(_0x5904('0x42')!=_0x2fbabe)return _0x5904('0x137')+_0x2fbabe;const _0x59e25f=_0x4cec31[_0x5904('0xc6')]('|')[0x0];return this[_0x5904('0xd6')](_0x59e25f)?_0x5904('0x3a'):_0x5904('0x47');};_0x19dbd7[_0x5904('0xab')]['for'](_0x5904('0xd2'))[_0x5904('0xd7')]({'model':_0x5904('0x1d'),'view':_0x3c6491=>{const {id:_0x4c2ae9,type:_0x475818,subType:_0x235b99}=this['_splitMarkerName'](_0x3c6491[_0x5904('0x6e')]),_0x2f693c=[_0x5904('0xa5'),_0x8ee422(_0x475818,_0x235b99)];let _0x36892e=0xbb8;return this['activeMarkers'][_0x5904('0x14c')](_0x3c6491[_0x5904('0x6e')])&&(_0x2f693c['push']('ck-suggestion-marker--active'),_0x36892e=0xbc2),_0x5904('0xb3')==_0x475818&&(_0x36892e+=0x5),{'classes':_0x2f693c,'attributes':{'data-suggestion':_0x4c2ae9},'priority':_0x36892e};}}),_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0x144'))[_0x5904('0xdd')](_0x5e4459=>{_0x5e4459['on'](_0x5904('0x173'),(_0x2ebc81,_0x992ce5,_0xac39c4)=>{if(!_0xac39c4[_0x5904('0x33')]['showSuggestionHighlights'])return;const _0x5b1c6e=_0x992ce5[_0x5904('0x9b')];if(!_0x5b1c6e)return;const _0x5d2321=_0xac39c4[_0x5904('0x32')][_0x5904('0xf9')](_0x5b1c6e);_0x19dbd7[_0x5904('0xea')][_0x5904('0xa9')][_0x5904('0xbb')](_0x5b1c6e)&&_0x5d2321&&!_0x5d2321[_0x5904('0x168')]('widget')&&_0x5d2321['is'](_0x5904('0x4c'))&&_0x49a28c(_0x5d2321,_0xac39c4[_0x5904('0xcc')]);},{'priority':_0x5904('0x95')});}),_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0x144'))[_0x5904('0xd7')]({'model':'suggestion','view':(_0x4f5656,_0x2836ce)=>{if(!_0x2836ce[_0x5904('0x33')][_0x5904('0x126')])return null;const {type:_0x1895cf,subType:_0x422b25}=this[_0x5904('0x45')](_0x4f5656[_0x5904('0x6e')]);return{'classes':[_0x5904('0xa5'),_0x8ee422(_0x1895cf,_0x422b25)],'priority':0xbb8};}});const _0x10bba7=({showActiveMarkers:_0x5d632a=!0x0,isAttributeSuggestion:_0x4dd406=!0x1}={})=>(_0x84c446,_0x2e5bac,_0x15c202)=>{if(!_0x2e5bac[_0x5904('0x9b')])return;const {id:_0x2eece5}=this[_0x5904('0x45')](_0x2e5bac[_0x5904('0x6e')]);if(_0x4dd406){const _0xc4966d=this[_0x5904('0x125')][_0x5904('0xf1')](_0x2eece5),_0x445fe3=this[_0x5904('0xe2')](_0xc4966d);if(!this['_isBlockAttribute'](_0x445fe3))return;}if(_0x2e5bac[_0x5904('0x9b')]['is'](_0x5904('0x17d')))return void _0x15c202[_0x5904('0x23')]['consume'](_0x2e5bac[_0x5904('0x9b')],_0x84c446[_0x5904('0x150')]);const _0x13287d=_0x15c202['mapper'][_0x5904('0xf9')](_0x2e5bac[_0x5904('0x9b')]);if(_0x2e5bac['item']['is'](_0x5904('0x9c'))&&_0x19dbd7['model'][_0x5904('0xa9')][_0x5904('0x10c')](_0x2e5bac[_0x5904('0x9b')])&&!_0x13287d[_0x5904('0x168')]('addHighlight')){_0x15c202[_0x5904('0xcc')][_0x5904('0x71')]([_0x5904('0xa5'),'ck-suggestion-marker-formatBlock'],_0x13287d),_0x15c202[_0x5904('0xcc')]['setAttribute'](_0x5904('0x174'),_0x2eece5,_0x13287d),_0x15c202[_0x5904('0x32')][_0x5904('0x2a')](_0x13287d,_0x2e5bac[_0x5904('0x6e')]),_0x5d632a&&(this[_0x5904('0x83')][_0x5904('0x14c')](_0x2e5bac['markerName'])?_0x15c202[_0x5904('0xcc')][_0x5904('0x71')](_0x5904('0x90'),_0x13287d):_0x15c202[_0x5904('0xcc')]['removeClass'](_0x5904('0x90'),_0x13287d));for(const _0x544dc1 of _0x19dbd7[_0x5904('0xea')][_0x5904('0xff')](_0x2e5bac[_0x5904('0x9b')])[_0x5904('0x98')]())_0x15c202[_0x5904('0x23')][_0x5904('0x162')](_0x544dc1,_0x84c446['name']);_0x15c202[_0x5904('0x23')]['consume'](_0x2e5bac[_0x5904('0x9b')],_0x84c446[_0x5904('0x150')]);}};_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0x144'))['add'](_0x12e131=>{_0x12e131['on']('addMarker:suggestion:formatBlock',(_0x351269,_0x45c114,_0x5da1cd)=>{_0x5da1cd['options']['showSuggestionHighlights']&&_0x10bba7({'showActiveMarkers':!0x1})(_0x351269,_0x45c114,_0x5da1cd);},{'priority':_0x5904('0x134')});}),_0x19dbd7[_0x5904('0xab')]['for'](_0x5904('0x144'))[_0x5904('0xdd')](_0x5ef052=>{_0x5ef052['on'](_0x5904('0x51'),(_0x394b37,_0x4d3c38,_0x3ed8b8)=>{_0x3ed8b8[_0x5904('0x33')][_0x5904('0x126')]&&_0x10bba7({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x394b37,_0x4d3c38,_0x3ed8b8);},{'priority':_0x5904('0x134')});}),_0x19dbd7['conversion'][_0x5904('0x30')](_0x5904('0x144'))[_0x5904('0x122')]({'model':_0x5904('0x1d'),'view':(_0x27dc1a,_0x1856d5)=>_0x1856d5[_0x5904('0x33')][_0x5904('0x126')]?null:{'group':_0x5904('0x1d'),'name':_0x27dc1a[_0x5904('0x14a')](0xb)}}),_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0x38'))[_0x5904('0x145')]({'view':{'name':_0x5904('0x1d'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4729ad,{writer:_0x1f1b5d})=>{let _0x3a5979='suggestion:'+_0x4729ad[_0x5904('0xde')](_0x5904('0xa3'))+':'+_0x4729ad[_0x5904('0xde')]('id');return _0x4729ad[_0x5904('0xde')](_0x5904('0x163'))&&(_0x3a5979+=':'+_0x4729ad[_0x5904('0xde')](_0x5904('0x163'))),_0x1f1b5d['createElement'](_0x5904('0x11e'),{'data-name':_0x3a5979});}}),_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0x38'))['dataToMarker']({'view':'suggestion'}),_0x19dbd7['conversion'][_0x5904('0x30')](_0x5904('0xd2'))[_0x5904('0xdd')](_0xc7807a=>{_0xc7807a['on'](_0x5904('0x127'),_0x10bba7(),{'priority':_0x5904('0x95')});}),_0x19dbd7[_0x5904('0xab')][_0x5904('0x30')](_0x5904('0xd2'))['add'](_0x3f78a3=>{_0x3f78a3['on'](_0x5904('0x51'),_0x10bba7({'isAttributeSuggestion':!0x0}),{'priority':_0x5904('0x95')});}),_0x19dbd7['conversion'][_0x5904('0x30')](_0x5904('0xd2'))[_0x5904('0xdd')](_0x2f032b=>{_0x2f032b['on']('removeMarker:suggestion:formatBlock',(_0x9099a2,_0x531ade,_0x36eafb)=>{const _0x4f9aa3=_0x36eafb[_0x5904('0x32')][_0x5904('0x21')](_0x531ade[_0x5904('0x6e')]);if(_0x4f9aa3)for(const _0x2b1f22 of _0x4f9aa3)_0x2b1f22[_0x5904('0x168')](_0x5904('0x31'))||(_0x36eafb[_0x5904('0xcc')][_0x5904('0x17f')](['ck-suggestion-marker',_0x5904('0x3a'),_0x5904('0x90')],_0x2b1f22),_0x36eafb[_0x5904('0xcc')][_0x5904('0x26')](_0x5904('0x174'),_0x2b1f22),_0x36eafb['mapper'][_0x5904('0x16f')](_0x2b1f22,_0x531ade[_0x5904('0x6e')]));},{'priority':_0x5904('0x95')});}),_0x19dbd7[_0x5904('0xab')]['for'](_0x5904('0xd2'))[_0x5904('0xdd')](_0x4062ba=>{_0x4062ba['on']('removeMarker:suggestion:attribute',(_0x192576,_0x40e092,_0x2f65d8)=>{const _0x3b46b1=_0x2f65d8['mapper']['markerNameToElements'](_0x40e092[_0x5904('0x6e')]);if(!_0x3b46b1)return;const {id:_0x3bbe6f}=this[_0x5904('0x45')](_0x40e092[_0x5904('0x6e')]),_0x2f7df5=this[_0x5904('0x125')][_0x5904('0xf1')](_0x3bbe6f),_0x36b5cd=this[_0x5904('0xe2')](_0x2f7df5);if(this['_isBlockAttribute'](_0x36b5cd))for(const _0x50e554 of _0x3b46b1)_0x50e554[_0x5904('0x168')]('addHighlight')||(_0x2f65d8[_0x5904('0xcc')][_0x5904('0x17f')]([_0x5904('0xa5'),_0x5904('0x3a'),'ck-suggestion-marker--active'],_0x50e554),_0x2f65d8[_0x5904('0xcc')][_0x5904('0x26')](_0x5904('0x174'),_0x50e554),_0x2f65d8[_0x5904('0x32')][_0x5904('0x16f')](_0x50e554,_0x40e092[_0x5904('0x6e')]));},{'priority':'high'});}),_0x19dbd7['model']['document'][_0x5904('0x40')](_0x22ab4f=>{let _0x6ad846=!0x1;const _0x2f56e1=Array[_0x5904('0x123')](_0x19dbd7['model'][_0x5904('0xa2')][_0x5904('0x2e')][_0x5904('0x15a')]()),_0x78d250=new Set();for(const {name:_0x5b79c8,data:_0x51c6b9}of _0x2f56e1){const {group:_0x394738,type:_0x44b27b,subType:_0x568195,id:_0x3cda0b}=this[_0x5904('0x45')](_0x5b79c8);if(_0x5904('0x1d')!==_0x394738)continue;const _0x467f44=this[_0x5904('0x125')]['get'](_0x3cda0b);if(null!=_0x51c6b9[_0x5904('0x56')]){_0x5904('0x2b')==_0x44b27b&&(_0x6ad846=_0x6ad846||Tt(_0x51c6b9[_0x5904('0x56')],_0x5b79c8,_0x22ab4f,_0x19dbd7[_0x5904('0xea')][_0x5904('0xa9')]));const _0x370c82=_0x5904('0x42')==_0x44b27b&&this['_isBlockAttribute'](_0x568195[_0x5904('0xc6')]('|')[0x0]);if(_0x51c6b9[_0x5904('0x56')][_0x5904('0x89')]||'$graveyard'==_0x51c6b9[_0x5904('0x56')][_0x5904('0x10b')][_0x5904('0x116')]||_0x5904('0x44')==_0x44b27b&&!Vt(_0x51c6b9[_0x5904('0x56')])||_0x370c82&&!Vt(_0x51c6b9[_0x5904('0x56')])||_0x5904('0xb3')==_0x44b27b&&!(!Rt(_0x4112b1=_0x51c6b9['newRange'])&&!function(_0x2e697b){return _0x2e697b['start'][_0x5904('0x84')]==_0x2e697b[_0x5904('0xee')][_0x5904('0x96')]&&_0x2e697b[_0x5904('0x18')][_0x5904('0x128')];}(_0x4112b1)))_0x22ab4f['removeMarker'](_0x5b79c8),_0x6ad846=!0x0;else{if(!_0x467f44||!_0x467f44[_0x5904('0x161')])continue;_0x78d250[_0x5904('0xdd')](_0x467f44);}}}var _0x4112b1;return _0x78d250[_0x5904('0x54')]>0x0&&(_0x6ad846=!!this['_joinWithAdjacentSuggestions'](_0x78d250)||_0x6ad846),_0x6ad846;}),_0x19dbd7[_0x5904('0xea')][_0x5904('0xa2')][_0x5904('0x40')](_0x33c1d8=>{let _0xae356d=!0x1;for(const _0x49462d of _0x19dbd7[_0x5904('0xea')][_0x5904('0xa2')][_0x5904('0x2e')][_0x5904('0xd3')]())if(_0x5904('0x7b')==_0x49462d['type'])for(const _0x973767 of this['_suggestions'][_0x5904('0xb8')]()){if(_0x973767['isMultiRange']||!_0x973767[_0x5904('0x161')])continue;const _0x2fe8b1=_0x5904('0x44')==_0x973767['type'],_0x39804c=this[_0x5904('0xe2')](_0x973767),_0x373d87=_0x39804c&&this[_0x5904('0xd6')](_0x39804c);if(!_0x2fe8b1&&!_0x373d87)continue;const _0x35fa2f=_0x973767['getFirstRange']();if(_0x35fa2f[_0x5904('0x18')][_0x5904('0x84')]!=_0x35fa2f['end']['parent']&&!_0x35fa2f[_0x5904('0xee')][_0x5904('0x128')]){const _0x5f4b7c=_0x19dbd7[_0x5904('0xea')][_0x5904('0x82')](_0x35fa2f[_0x5904('0x18')][_0x5904('0x60')],'end'),_0x2eb15b=_0x19dbd7[_0x5904('0xea')][_0x5904('0x133')](_0x35fa2f[_0x5904('0x18')],_0x5f4b7c);_0x33c1d8[_0x5904('0x155')](_0x973767['getFirstMarker'](),{'range':_0x2eb15b}),_0xae356d=!0x0;}}return _0xae356d;}),_0x19dbd7[_0x5904('0xea')][_0x5904('0xa2')][_0x5904('0x40')](_0x240e0f=>this['_processAttributeChanges'](_0x240e0f)),_0x19dbd7[_0x5904('0xea')][_0x5904('0xa2')][_0x5904('0x40')](_0xaec950=>!_0xaec950[_0x5904('0x13b')][_0x5904('0xba')]&&this[_0x5904('0x77')](_0xaec950)),_0x19dbd7[_0x5904('0xea')]['on'](_0x5904('0x140'),()=>{this[_0x5904('0xec')]=!0x1;}),_0x19dbd7[_0x5904('0xea')][_0x5904('0xa2')]['on'](_0x5904('0x3c'),(_0x4e81bd,_0x412eb8)=>{if(!_0x412eb8[_0x5904('0xba')]||_0x412eb8['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x26a418=_0x19dbd7[_0x5904('0xea')]['document'][_0x5904('0x2e')][_0x5904('0xd3')]();if(0x0==_0x26a418[_0x5904('0x37')])return;const _0x261f04=[],_0x30fe6e=_0x26a418['filter'](_0x1b3600=>_0x5904('0x42')==_0x1b3600[_0x5904('0x179')]),_0x445bcb=_0x26a418[_0x5904('0x11d')](_0x4a0091=>_0x5904('0x7b')==_0x4a0091[_0x5904('0x179')]&&_0x5904('0x4f')!=_0x4a0091['name']),_0x236a2=_0x26a418['filter'](_0x5c53aa=>_0x5904('0x16e')==_0x5c53aa[_0x5904('0x179')]&&_0x5904('0x4f')!=_0x5c53aa[_0x5904('0x150')]);for(const _0x53589e of _0x30fe6e)this[_0x5904('0x5b')](_0x53589e['attributeKey'])&&_0x261f04[_0x5904('0x110')]({'key':_0x53589e[_0x5904('0xf3')],'newValue':_0x53589e[_0x5904('0x63')],'oldValue':_0x53589e['attributeOldValue'],'range':Ut(_0x53589e[_0x5904('0x4e')],_0x19dbd7[_0x5904('0xea')])});for(const _0x19a878 of _0x445bcb){const _0x5c144e=_0x236a2[_0x5904('0xc2')](_0x318c33=>_0x318c33[_0x5904('0x15')]===_0x19a878['_element']);if(_0x5c144e){const _0x167484=Ot(_0x19a878[_0x5904('0x72')]['nodeAfter'],_0x19dbd7[_0x5904('0xea')]);_0x5c144e[_0x5904('0x150')]!==_0x19a878[_0x5904('0x150')]&&_0x261f04[_0x5904('0x110')]({'key':_0x5904('0xcf'),'newValue':_0x19a878[_0x5904('0x150')],'oldValue':_0x5c144e[_0x5904('0x150')],'range':_0x167484});for(const [_0x4ca492,_0xaec1de]of _0x5c144e['attributes']){if(!this['_isRegisteredAttribute'](_0x4ca492))continue;const _0x2bad61=_0x19a878['attributes'][_0x5904('0xf1')](_0x4ca492);_0xaec1de!==_0x2bad61&&_0x261f04['push']({'key':_0x4ca492,'newValue':_0x2bad61,'oldValue':_0xaec1de,'range':_0x167484});}for(const [_0x47d5db,_0x4c8e17]of _0x19a878[_0x5904('0x12c')])this[_0x5904('0x5b')](_0x47d5db)&&(_0x5c144e[_0x5904('0x12c')][_0x5904('0x13c')](_0x47d5db)||_0x261f04[_0x5904('0x110')]({'key':_0x47d5db,'newValue':_0x4c8e17,'oldValue':null,'range':_0x167484}));}}0x0!=_0x261f04[_0x5904('0x37')]&&_0x19dbd7[_0x5904('0xea')][_0x5904('0x5a')](_0x412eb8,_0x2d5215=>{const _0x1520de=_0x12efea();for(const {range:_0x1f11ff,key:_0x2717a,oldValue:_0x7976d1,newValue:_0x449e86}of _0x261f04)this[_0x5904('0xdb')](_0x1f11ff,_0x2717a,_0x7976d1,_0x449e86,{'groupId':_0x1520de});this['_reduceExistingSuggestions'](_0x2d5215,_0x261f04);});},{'priority':_0x5904('0xc')}),_0x19dbd7[_0x5904('0xea')][_0x5904('0x16c')]['on']('update:suggestion',(_0x498aeb,_0x3d4d73,_0x46c932)=>{if(null==_0x46c932){const {id:_0x595ae8}=this[_0x5904('0x45')](_0x3d4d73[_0x5904('0x150')]),_0x2d36c6=this[_0x5904('0x125')]['get'](_0x595ae8);_0x2d36c6&&_0x2d36c6[_0x5904('0x158')](_0x3d4d73[_0x5904('0x150')]);}}),_0x19dbd7['model'][_0x5904('0xa2')]['on'](_0x5904('0x3c'),()=>{const _0x341fb3=Array[_0x5904('0x123')](_0x19dbd7[_0x5904('0xea')]['document']['differ'][_0x5904('0x15a')]())[_0x5904('0x11d')](_0x2c7294=>_0x5904('0x1d')===this['_splitMarkerName'](_0x2c7294['name'])[_0x5904('0x20')]);if(0x0===_0x341fb3[_0x5904('0x37')])return;_0x341fb3['sort']((_0x2b04d4,_0x132e40)=>{const _0x2a9a2c=_0x2b04d4[_0x5904('0x15f')]['oldRange'],_0x2aa89f=_0x132e40['data'][_0x5904('0xc5')];return null===_0x2a9a2c&&null===_0x2aa89f?0x0:null===_0x2a9a2c&&null!==_0x2aa89f?-0x1:null!==_0x2a9a2c&&null===_0x2aa89f?0x1:_0x2a9a2c[_0x5904('0x18')][_0x5904('0x14d')](_0x2aa89f['start'])?-0x1:0x1;});const _0x394b3a=new Set(),_0x1c887e=new Set();for(const {name:_0x657714,data:_0x518994}of _0x341fb3){const {id:_0xae4b08}=this['_splitMarkerName'](_0x657714);if(null===_0x518994['oldRange']){const _0x2450a1=this['_handleNewSuggestionMarker'](_0x657714);_0x1c887e[_0x5904('0xdd')](_0x2450a1);}else{const _0x13f487=this['_suggestions'][_0x5904('0xf1')](_0xae4b08);null!==_0x518994[_0x5904('0x56')]||_0x13f487[_0x5904('0x161')]?(_0x394b3a['add'](_0x13f487[_0x5904('0x17e')]),_0x1c887e['add'](_0x13f487)):this[_0x5904('0x12')](_0x13f487);}}_0x1c887e[_0x5904('0x54')]>0x0&&this[_0x5904('0x141')](_0x1c887e);for(const _0x39c5b2 of _0x394b3a)this[_0x5904('0xa0')](_0x5904('0x10d'),_0x39c5b2);}),_0x19dbd7[_0x5904('0xea')]['on'](_0x5904('0x17'),(_0x21e7cf,_0x332380)=>{const _0x1ecb42=_0x332380[0x0];if(!this[_0x5904('0x125')][_0x5904('0x54')])return;if(!_0x1ecb42['isDocumentOperation'])return;if(_0x1ecb42[_0x5904('0x13b')][_0x5904('0x50')]||!_0x1ecb42[_0x5904('0x13b')]['isLocal'])return;let _0x48f8be,_0xf775ee;switch(_0x1ecb42[_0x5904('0x179')]){case _0x5904('0x7b'):_0x48f8be=_0x19dbd7[_0x5904('0xea')][_0x5904('0x82')](_0x1ecb42['position']),_0xf775ee=_0x48f8be[_0x5904('0x6f')](_0x1ecb42[_0x5904('0x3f')]);break;case _0x5904('0xc6'):_0x48f8be=_0x19dbd7[_0x5904('0xea')]['createPositionAt'](_0x1ecb42[_0x5904('0x91')]),_0xf775ee=_0x19dbd7['model'][_0x5904('0x82')](_0x1ecb42[_0x5904('0x62')]);break;case'move':_0x48f8be=_0x19dbd7['model'][_0x5904('0x82')](_0x1ecb42[_0x5904('0x138')]),_0xf775ee=_0x48f8be[_0x5904('0x6f')](_0x1ecb42[_0x5904('0x3f')]);break;default:return;}const _0x4a43a9=_0x19dbd7[_0x5904('0xea')]['createRange'](_0x48f8be,_0xf775ee);_0x19dbd7[_0x5904('0xea')][_0x5904('0x1f')](()=>{for(const {suggestion:_0x311957,meta:_0xe6918f}of this[_0x5904('0x136')](_0x4a43a9)){if(_0x311957['isMultiRange'])continue;if(_0x5904('0x2b')==_0x311957[_0x5904('0x179')])continue;const _0x36722c=this[_0x5904('0xe2')](_0x311957);if(_0x36722c&&this[_0x5904('0xd6')](_0x36722c)&&_0x5904('0xc6')!=_0x1ecb42['type'])continue;const _0x2df3d0=_0x311957['data']&&_0x311957['data'][_0x5904('0xf5')];('formatBlock'!=_0x311957['type']||'split'==_0x1ecb42[_0x5904('0x179')]&&!_0x2df3d0)&&(_0xe6918f['containsRangeInObject']||_0x5904('0x85')==_0x311957[_0x5904('0x179')]&&_0xe6918f[_0x5904('0x81')]||_0x311957[_0x5904('0xf6')]()[_0x5904('0x12e')](_0x4a43a9)&&this[_0x5904('0x80')](_0x311957,_0x48f8be,_0xf775ee));}});},{'priority':_0x5904('0xc')}),_0x19dbd7[_0x5904('0xea')]['on'](_0x5904('0xa8'),(_0x506202,_0x3d91ec)=>{const _0x522e3f=_0x3d91ec[0x0],_0x5c7df4=_0x3d91ec[0x1];if(_0x5c7df4&&_0x5c7df4[_0x5904('0xbf')])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand'][_0x5904('0xda')])return;if(_0x522e3f[_0x5904('0x89')])return;const _0x22d9f0=_0x19dbd7[_0x5904('0xea')]['schema'],{start:_0x539a89,end:_0x2e7fd3}=_0x522e3f['getFirstRange'](),_0x20f9a9=_0x539a89[_0x5904('0x60')]&&_0x22d9f0['isLimit'](_0x539a89['nodeAfter'])?null:_0x22d9f0[_0x5904('0x4d')](_0x539a89,_0x5904('0x67')),_0x75b7f0=_0x2e7fd3[_0x5904('0x96')]&&_0x22d9f0[_0x5904('0x11f')](_0x2e7fd3['nodeBefore'])?null:_0x22d9f0['getNearestSelectionRange'](_0x2e7fd3,'backward'),_0x59c629=_0x19dbd7[_0x5904('0xea')]['createRange'](_0x20f9a9?_0x20f9a9[_0x5904('0x18')]:_0x539a89,_0x75b7f0?_0x75b7f0[_0x5904('0xee')]:_0x2e7fd3);_0x19dbd7['model'][_0x5904('0x1f')](_0x441989=>{this[_0x5904('0x14')](_0x59c629);const _0x2b7b86=_0x19dbd7[_0x5904('0xea')][_0x5904('0xa9')]['getNearestSelectionRange'](_0x59c629[_0x5904('0x18')]);_0x522e3f['is'](_0x5904('0x6a'))?_0x441989[_0x5904('0x7e')](_0x2b7b86):_0x522e3f[_0x5904('0xb9')](_0x2b7b86);}),_0x506202[_0x5904('0xe1')]();},{'priority':_0x3e9c74[_0x5904('0xb')]+0xa}),_0x19dbd7[_0x5904('0xea')]['on'](_0x5904('0xe7'),(_0xd81fcc,_0x11b868)=>{const _0x52f334=_0x11b868[_0x11b868[_0x5904('0x37')]-0x1];_0x52f334&&_0x52f334[_0x5904('0xbf')]||this[_0x5904('0xe0')]||this[_0x5904('0x11c')]['value']&&(_0x19dbd7[_0x5904('0xea')][_0x5904('0x1f')](()=>{let _0x323f24=_0x19dbd7[_0x5904('0xea')][_0x5904('0xe7')](_0x11b868[0x0],_0x11b868[0x1],_0x11b868[0x2],{'forceDefaultExecution':!0x0});if(!_0x323f24)return;_0xd81fcc['return']=_0x323f24[_0x5904('0x29')]();const _0x495952=_0x323f24[_0x5904('0xee')]['nodeBefore'],_0x26305b=_0x19dbd7[_0x5904('0xea')][_0x5904('0xa9')];_0x495952&&_0x26305b[_0x5904('0x10c')](_0x495952)&&!_0x26305b[_0x5904('0xbb')](_0x495952)&&(_0x323f24=_0x19dbd7[_0x5904('0xea')][_0x5904('0x133')](_0x323f24['start'],_0x19dbd7[_0x5904('0xea')][_0x5904('0x82')](_0x495952,'end'))),this[_0x5904('0x58')](_0x323f24);}),_0xd81fcc[_0x5904('0xe1')]());},{'priority':_0x5904('0x95')}),this['editor'][_0x5904('0x172')]['add'](_0x5904('0x7'),this[_0x5904('0x11c')]),this[_0x5904('0x68')](_0x5904('0x7'));const _0x306d00=new _0x2cf257(_0x19dbd7,this[_0x5904('0x125')]);_0x19dbd7[_0x5904('0x172')]['add']('acceptSuggestion',_0x306d00),this['enableCommand'](_0x5904('0x143'));const _0x26c3d1=new _0x36988a(_0x19dbd7,this[_0x5904('0x125')]);_0x19dbd7['commands'][_0x5904('0xdd')](_0x5904('0xd4'),_0x26c3d1),this['enableCommand'](_0x5904('0xd4')),_0x19dbd7[_0x5904('0x172')]['add'](_0x5904('0x9e'),new _0x128c65(_0x19dbd7,_0x306d00,this[_0x5904('0x125')])),this[_0x5904('0x68')]('acceptAllSuggestions'),_0x19dbd7[_0x5904('0x172')][_0x5904('0xdd')](_0x5904('0x149'),new _0x128c65(_0x19dbd7,_0x26c3d1,this[_0x5904('0x125')])),this[_0x5904('0x68')](_0x5904('0x149')),_0x19dbd7[_0x5904('0x172')]['add']('acceptSelectedSuggestions',new _0x5db7c7(_0x19dbd7,_0x306d00,this[_0x5904('0x125')])),this[_0x5904('0x68')](_0x5904('0xe9')),_0x19dbd7[_0x5904('0x172')][_0x5904('0xdd')](_0x5904('0xfb'),new _0x5db7c7(_0x19dbd7,_0x26c3d1,this[_0x5904('0x125')])),this[_0x5904('0x68')](_0x5904('0xfb'));const _0x1d6466=_0x19dbd7[_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x9a'));this[_0x5904('0xd0')](_0x1d6466,_0x5904('0x16'),(_0x382372,{threadId:_0x557c9b})=>{const _0x452089=this['_suggestions'][_0x5904('0xf1')](_0x557c9b);_0x452089&&_0x452089['commentThread']&&0x1===_0x452089[_0x5904('0x160')]['length']&&this[_0x5904('0xaf')](_0x557c9b,{'hasComments':!0x0});},{'priority':_0x5904('0x8a')}),this[_0x5904('0xd0')](_0x1d6466,_0x5904('0xfe'),(_0x53146c,{threadId:_0xeb910e})=>{const _0x143989=this['_suggestions'][_0x5904('0xf1')](_0xeb910e);_0x143989&&_0x143989[_0x5904('0x160')]&&!_0x143989[_0x5904('0x160')][_0x5904('0x37')]&&this[_0x5904('0xaf')](_0xeb910e,{'hasComments':!0x1});},{'priority':_0x5904('0x8a')});}set[_0x5904('0xd8')](_0x25de42){if(this[_0x5904('0x15c')])throw new _0x2aea78(_0x5904('0x156'),this);this['_adapter']=_0x25de42;}get['adapter'](){return this[_0x5904('0x15c')];}[_0x5904('0x25')]({skipNotAttached:_0x1fcd09=!0x1,toJSON:_0x347345=!0x1}={}){const _0x2256b7=[];for(const _0x1f91bc of this[_0x5904('0x125')][_0x5904('0xb8')]())_0x1fcd09&&!_0x1f91bc[_0x5904('0x161')]||_0x2256b7[_0x5904('0x110')](_0x1f91bc);return _0x347345?_0x2256b7[_0x5904('0x3')](_0x268b4b=>_0x268b4b[_0x5904('0x14e')]()):_0x2256b7;}[_0x5904('0x41')](_0x515d6d){const _0x299631=this[_0x5904('0x125')][_0x5904('0xf1')](_0x515d6d);if(!_0x299631)throw new _0x2aea78(_0x5904('0x12b'),this);return _0x299631;}[_0x5904('0x182')](_0x792af5){return this[_0x5904('0x125')][_0x5904('0x13c')](_0x792af5);}[_0x5904('0x5e')](_0x9ecb46){const {authorId:_0x37a55d,id:_0x356779,attributes:_0x58154f}=_0x9ecb46,[_0x8034b6,_0x5cc9da]=_0x9ecb46[_0x5904('0x179')][_0x5904('0xc6')](':'),_0x5b0403=this['_suggestions'][_0x5904('0xf1')](_0x356779)||this[_0x5904('0xb5')](_0x8034b6,_0x5cc9da,_0x356779,_0x37a55d,_0x58154f);if(this[_0x5904('0x181')](_0x5b0403),this[_0x5904('0x2d')](_0x5b0403,_0x8034b6,_0x5cc9da||null,_0x37a55d),_0x5b0403[_0x5904('0xe4')]=_0x9ecb46[_0x5904('0xe4')],_0x5b0403[_0x5904('0x180')]=!0x0,_0x58154f&&_0x58154f[_0x5904('0x184')]){const _0x59ef8f=_0x58154f[_0x5904('0x184')],_0x2d89dc=this['_getExternalAuthor'](_0x59ef8f['authorName']);_0x5b0403[_0x5904('0x2')]=_0x59ef8f[_0x5904('0xe4')],_0x5b0403['author']=_0x2d89dc,_0x5b0403['isExternal']=!0x0;}else _0x5b0403[_0x5904('0x2')]=_0x9ecb46[_0x5904('0xe4')];switch(_0x9ecb46[_0x5904('0x15f')]&&(_0x5b0403['data']=_0x9ecb46['data']),_0x9ecb46[_0x5904('0x12c')]&&(_0x5b0403[_0x5904('0x12c')]=_0x9ecb46[_0x5904('0x12c')]),this[_0x5904('0x15c')]&&this[_0x5904('0x15c')]['addSuggestion']||(_0x5b0403['_saved']=!0x0),this['_suggestionState'][_0x5904('0xf1')](_0x5b0403)){case'notReady':this['_suggestionState']['set'](_0x5b0403,'dataReady');break;case _0x5904('0x153'):_0x5b0403['isInContent']?(this[_0x5904('0x48')](new Set([_0x5b0403])),this[_0x5904('0x141')](new Set([_0x5b0403])),this['_suggestionState'][_0x5904('0xc3')](_0x5b0403,_0x5904('0x1e')),this[_0x5904('0xa0')](_0x5904('0x34'),_0x5b0403)):this[_0x5904('0x15d')][_0x5904('0xc3')](_0x5b0403,_0x5904('0xaa'));}return _0x5b0403;}[_0x5904('0x143')](_0x4597b9){this[_0x5904('0xbf')](()=>{this[_0x5904('0x185')][_0x5904('0xea')][_0x5904('0x1f')](()=>{for(const _0x65c712 of _0x4597b9[_0x5904('0xfc')]())_0x65c712[_0x5904('0xa4')]();});});}[_0x5904('0xd4')](_0x5771d7){this['forceDefaultExecution'](()=>{this[_0x5904('0x185')][_0x5904('0xea')][_0x5904('0x1f')](()=>{for(const _0xf434d of _0x5771d7[_0x5904('0xfc')]())_0xf434d[_0x5904('0x8b')]();});});}[_0x5904('0x68')](_0x17a877,_0x4ac8ee){const _0x3c68d7=this['editor'][_0x5904('0x172')]['get'](_0x17a877);if(!_0x3c68d7)throw new _0x2aea78(_0x5904('0x117'),this,{'commandName':_0x17a877});if(this[_0x5904('0x106')]['has'](_0x3c68d7))throw new _0x2aea78(_0x5904('0x35'),this,{'commandName':_0x17a877});this['_enabledCommands'][_0x5904('0xdd')](_0x3c68d7),_0x4ac8ee&&_0x3c68d7['on'](_0x5904('0xf7'),(_0x1b78ee,_0x27c51a)=>{this[_0x5904('0x11c')][_0x5904('0xda')]&&(this[_0x5904('0xe0')]||(_0x27c51a[_0x5904('0x37')]>0x0&&_0x27c51a[_0x27c51a[_0x5904('0x37')]-0x1]&&_0x27c51a[_0x27c51a[_0x5904('0x37')]-0x1][_0x5904('0xbf')]?_0x27c51a['pop']():(_0x1b78ee[_0x5904('0x97')]=_0x4ac8ee((..._0x48caf6)=>_0x3c68d7['execute'](..._0x48caf6,{'forceDefaultExecution':!0x0}),..._0x27c51a),_0x1b78ee[_0x5904('0xe1')]())));},{'priority':_0x5904('0x95')});}[_0x5904('0xbf')](_0x10de73){let _0x31d97a,_0x3920ca;const _0x57e15b=this[_0x5904('0xe0')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x31d97a=_0x10de73();}catch(_0x5d4a09){_0x3920ca=_0x5d4a09;}return _0x57e15b||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x3920ca&&_0x2aea78['rethrowUnexpectedError'](_0x3920ca,this),_0x31d97a;}['markInsertion'](_0x211a1f,_0x29ee54=null,_0x1d97e8={}){if(_0x211a1f[_0x5904('0x89')])return null;const _0x45a297=this[_0x5904('0x185')][_0x5904('0x43')]['get'](_0x5904('0x3d'))['me'];for(const {suggestion:_0x11c3e4,meta:_0x15fe11}of this['_findSuggestions'](_0x211a1f,_0x5904('0x85')))if(_0x15fe11['isOwn']){if(!_0x15fe11[_0x5904('0x75')]){if(_0x15fe11[_0x5904('0x2c')]){if(!this[_0x5904('0x167')]||!Pt(_0x11c3e4,_0x1d97e8))continue;return _0x11c3e4;}if(Pt(_0x11c3e4,_0x1d97e8))return _0x11c3e4;this[_0x5904('0x80')](_0x11c3e4,_0x211a1f[_0x5904('0x18')],_0x211a1f['end']);break;}if(_0x29ee54==_0x11c3e4[_0x5904('0x36')]&&Pt(_0x11c3e4,_0x1d97e8)){const _0x1c449a=_0x11c3e4['getFirstRange']();return _0x1c449a[_0x5904('0x18')][_0x5904('0x13d')](_0x211a1f[_0x5904('0xee')])?this[_0x5904('0x10e')](_0x11c3e4,this[_0x5904('0x1')][_0x5904('0x133')](_0x211a1f[_0x5904('0x18')],_0x1c449a[_0x5904('0xee')])):this['_setSuggestionRange'](_0x11c3e4,this['_model'][_0x5904('0x133')](_0x1c449a['start'],_0x211a1f[_0x5904('0xee')])),_0x11c3e4;}}const _0x49838c=_0x12efea(),_0x4e3440=_0x45a297['id'],_0x66c5f5=_0x29ee54?_0x5904('0xfa')+_0x29ee54:_0x5904('0x85'),_0x1d0542=this[_0x5904('0x147')]({'id':_0x49838c,'type':_0x66c5f5,'createdAt':new Date(),'authorId':_0x4e3440,'attributes':_0x1d97e8});return this[_0x5904('0x65')](_0x66c5f5,_0x49838c,_0x4e3440,_0x211a1f),_0x1d0542;}[_0x5904('0xc0')](_0x2cbce8,_0x9e833f='multi',_0x228b95={}){const _0x18b500=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')]('Users')['me'],_0x5565e9=this['_suggestionFactory'][_0x5904('0xf8')]('insertion',_0x9e833f,_0x5904('0x109'));for(const _0x3e8b41 of this['getSuggestions']())if(_0x3e8b41[_0x5904('0xef')]['id']==_0x18b500['id']&&_0x5904('0x85')==_0x3e8b41[_0x5904('0x179')]&&_0x3e8b41[_0x5904('0x36')]==_0x9e833f&&Pt(_0x3e8b41,_0x228b95)&&(_0x5565e9(_0x3e8b41[_0x5904('0x124')](),_0x2cbce8)||_0x5565e9(_0x2cbce8,_0x3e8b41[_0x5904('0x124')]()))){for(const _0x2f2551 of _0x2cbce8)_0x3e8b41[_0x5904('0x186')](_0x2f2551);return _0x3e8b41;}for(const {suggestion:_0x5c0a85,meta:_0x2569c2}of this['_findSuggestions'](_0x2cbce8,_0x5904('0x85'))){if(!_0x2569c2[_0x5904('0x81')])continue;if(!this[_0x5904('0x167')]&&_0x2569c2['containsRangeInObject'])continue;if(!Pt(_0x5c0a85,_0x228b95))continue;let _0x56e70e=!0x0;for(const _0x33d3ae of _0x5c0a85[_0x5904('0x124')]())for(const _0x3ba419 of _0x2cbce8)if(!_0x33d3ae[_0x5904('0x12e')](_0x3ba419)){_0x56e70e=!0x1;break;}if(_0x56e70e)return _0x5c0a85;}const _0x1bcaad=_0x12efea(),_0x52aef5=_0x18b500['id'],_0x1332fa=_0x5904('0xfa')+_0x9e833f,_0x3f69a8=this['_setSuggestionData']({'id':_0x1bcaad,'type':_0x1332fa,'createdAt':new Date(),'authorId':_0x52aef5,'attributes':_0x228b95});for(const _0x3c4651 of _0x2cbce8)this[_0x5904('0x65')](_0x1332fa,_0x1bcaad,_0x52aef5,_0x3c4651,_0x80ede4['getMultiRangeId']());return _0x3f69a8;}[_0x5904('0x104')](_0x500124,_0xaf2af0,_0x9b32ea=null,_0x4a67be={}){if(_0x9b32ea=_0x9b32ea||Et(_0xaf2af0),_0x500124[_0x5904('0x89')])return null;if('never'===this[_0x5904('0x6b')]){const _0x3e3d3f=this[_0x5904('0xfd')]['getSuggestionCallback'](_0x5904('0x2b'),_0x9b32ea,_0x5904('0xa4'));return this[_0x5904('0xbf')](()=>_0x3e3d3f([_0x500124],_0xaf2af0,_0x4a67be)),null;}const _0x137f59=this[_0x5904('0x185')]['plugins']['get'](_0x5904('0x3d'))['me'],_0x3db8d3=[];if(_0x5904('0x12a')!==this[_0x5904('0x6b')])for(const {suggestion:_0x34bf3a,meta:_0x530926}of this[_0x5904('0x136')](_0x500124,_0x5904('0x85')))_0x530926['isOwn']&&!_0x530926[_0x5904('0x1c')]&&_0x3db8d3[_0x5904('0x110')](..._0x34bf3a[_0x5904('0x124')]());const _0x4e2243=function(_0x588195,_0x1241ce){const _0x1ce98d=[];for(const _0x12e1bf of _0x1241ce){const _0x2ad86a=_0x588195[_0x5904('0x39')](_0x12e1bf);_0x2ad86a&&_0x1ce98d[_0x5904('0x110')](_0x2ad86a);}return _0x1ce98d;}(_0x500124,_0x3db8d3),_0x4e13e0=function(_0x20f912,_0x2b5c9a){const _0x1ececb=[_0x20f912];for(const _0x15c0f6 of _0x2b5c9a){let _0x175c1a=0x0;for(;_0x175c1a<_0x1ececb[_0x5904('0x37')];){const _0x2d2672=_0x1ececb[_0x175c1a]['getDifference'](_0x15c0f6);_0x1ececb[_0x5904('0xbe')](_0x175c1a,0x1,..._0x2d2672),_0x175c1a+=_0x2d2672['length'];}}return _0x1ececb;}(_0x500124,_0x3db8d3);_0x4e2243[_0x5904('0x37')]&&this[_0x5904('0x1')]['change'](()=>{for(const _0x38311c of _0x4e2243){const _0x1c1d5d=this[_0x5904('0xfd')][_0x5904('0xf8')]('formatInline',_0x9b32ea,'accept');this[_0x5904('0xbf')](()=>_0x1c1d5d([_0x38311c],_0xaf2af0,_0x4a67be));}});for(const _0x351640 of _0x4e13e0){let _0x57683e=null,_0x3d2689=_0x351640['start'],_0xc8c567=_0x351640[_0x5904('0xee')];for(const {suggestion:_0x3dbf09,meta:_0x28caaa}of this['_findSuggestions'](_0x351640,_0x5904('0x2b'))){if(!_0x28caaa[_0x5904('0x81')])continue;if(_0x3dbf09['subType']!=_0x9b32ea)continue;if(!Pt(_0x3dbf09,_0x4a67be))continue;const _0x5278ca=_0x3dbf09[_0x5904('0xf6')]();if(_0x5278ca['containsRange'](_0x351640,!0x0))return null;_0x3d2689=_0x3d2689['isBefore'](_0x5278ca[_0x5904('0x18')])?_0x3d2689:_0x5278ca['start'],_0xc8c567=_0xc8c567[_0x5904('0x129')](_0x5278ca[_0x5904('0xee')])?_0xc8c567:_0x5278ca[_0x5904('0xee')],_0x57683e?_0x5278ca['start'][_0x5904('0x14d')](_0x57683e['getFirstRange']()[_0x5904('0x18')])?(_0x57683e[_0x5904('0x148')](),_0x57683e=_0x3dbf09):_0x3dbf09[_0x5904('0x148')]():_0x57683e=_0x3dbf09;}const _0x14047c=this['_model']['createRange'](_0x3d2689,_0xc8c567);if(_0x57683e)this[_0x5904('0x10e')](_0x57683e,_0x14047c);else{const _0x433b6c=_0x12efea(),_0x4f8aaa=_0x137f59['id'];this[_0x5904('0x147')]({'id':_0x433b6c,'type':'formatInline:'+_0x9b32ea,'data':_0xaf2af0,'createdAt':new Date(),'authorId':_0x4f8aaa,'attributes':_0x4a67be}),this[_0x5904('0x65')]('formatInline:'+_0x9b32ea,_0x433b6c,_0x4f8aaa,_0x14047c);}}return null;}[_0x5904('0x131')](_0xdce88e,_0x2eb675,_0x5e1ac6=[],_0x1574ba=null,_0x5ecf61={}){_0x2eb675[_0x5904('0x86')]||(_0x2eb675['formatGroupId']=_0x2eb675[_0x5904('0x4')]),_0x2eb675[_0x5904('0xf5')]=_0xdce88e['is'](_0x5904('0x4e')),_0x1574ba=_0x1574ba||Et(_0x2eb675);const _0x36734e=_0x5e1ac6['map'](_0xce95be=>Ot(_0xce95be,this[_0x5904('0x1')])),_0x442ae2=_0xdce88e['is'](_0x5904('0x4e'))?_0xdce88e:Ot(_0xdce88e,this['_model']);if(_0x5904('0x177')===this[_0x5904('0x6b')]){const _0x5c9463=this['_suggestionFactory']['getSuggestionCallback'](_0x5904('0x44'),_0x1574ba,_0x5904('0xa4'));return this['forceDefaultExecution'](()=>_0x5c9463([_0x442ae2],_0x2eb675,_0x5ecf61)),null;}_0x36734e[_0x5904('0x110')](_0x442ae2);let _0x33e4b4=!0x0;for(const _0x57e173 of _0x36734e)if(!this[_0x5904('0x164')](_0x57e173)){_0x33e4b4=!0x1;break;}if(_0x33e4b4&&_0x5904('0x12a')!==this[_0x5904('0x6b')]){const _0x43602=this['_suggestionFactory'][_0x5904('0xf8')](_0x5904('0x44'),_0x1574ba,'accept');return this[_0x5904('0xbf')](()=>_0x43602([_0x442ae2],_0x2eb675,_0x5ecf61)),null;}let _0x2e8093=null,_0x2fb671=_0x442ae2[_0x5904('0x18')],_0x2cc111=_0x442ae2['end'];for(const {suggestion:_0x2064f6,meta:_0x3093c8}of this[_0x5904('0x136')](_0x442ae2,_0x5904('0x44'))){if(!_0x3093c8[_0x5904('0x81')])continue;if(_0x3093c8[_0x5904('0x75')]||_0x3093c8[_0x5904('0x2c')]||_0x3093c8['isInsideObject'])continue;if(_0x2064f6[_0x5904('0x15f')][_0x5904('0x86')]!=_0x2eb675['formatGroupId'])continue;if(!Pt(_0x2064f6,_0x5ecf61))continue;const _0x4cb567=_0x2064f6[_0x5904('0xf6')]();if(_0x2064f6['subType']==_0x1574ba){if(_0x4cb567['containsRange'](_0x442ae2,!0x0))return null;_0x2fb671=_0x2fb671['isBefore'](_0x4cb567[_0x5904('0x18')])?_0x2fb671:_0x4cb567[_0x5904('0x18')],_0x2cc111=_0x2cc111[_0x5904('0x129')](_0x4cb567[_0x5904('0xee')])?_0x2cc111:_0x4cb567['end'],_0x2e8093?_0x4cb567[_0x5904('0x18')][_0x5904('0x14d')](_0x2e8093[_0x5904('0xf6')]()[_0x5904('0x18')])?(_0x2e8093[_0x5904('0x148')](),_0x2e8093=_0x2064f6):_0x2064f6[_0x5904('0x148')]():_0x2e8093=_0x2064f6;}else{const _0x582128=_0x442ae2[_0x5904('0x39')](_0x4cb567);this['_cutOutSuggestionMarker'](_0x2064f6,_0x582128);}}const _0x2fe388=this[_0x5904('0x185')][_0x5904('0x43')]['get'](_0x5904('0x3d'))['me'],_0x368977=_0x12efea(),_0x910d2b=_0x2fe388['id'];if(_0x2e8093)return this['_setSuggestionRange'](_0x2e8093,this[_0x5904('0x1')][_0x5904('0x133')](_0x2fb671,_0x2cc111)),_0x2e8093;{const _0x26cc81=this[_0x5904('0x147')]({'id':_0x368977,'type':_0x5904('0x169')+_0x1574ba,'data':_0x2eb675,'createdAt':new Date(),'authorId':_0x910d2b,'attributes':_0x5ecf61});return this[_0x5904('0x65')](_0x5904('0x169')+_0x1574ba,_0x368977,_0x910d2b,this[_0x5904('0x1')][_0x5904('0x133')](_0x2fb671,_0x2cc111)),_0x26cc81;}}['markMultiRangeBlockFormat'](_0x4cc665,_0x35b690,_0x477d94=[],_0x2e08ad=null,_0xdb8d0={}){_0x35b690[_0x5904('0x86')]||(_0x35b690[_0x5904('0x86')]=_0x35b690['commandName']);const _0x711ee2=_0x4cc665[0x0];_0x35b690[_0x5904('0xf5')]=_0x711ee2['is'](_0x5904('0x4e')),_0x2e08ad=_0x2e08ad||Et(_0x35b690);const _0x128f8f=_0x477d94[_0x5904('0x3')](_0x38348a=>Ot(_0x38348a,this[_0x5904('0x1')])),_0x497376=_0x711ee2['is'](_0x5904('0x4e'))?_0x4cc665:_0x4cc665['map'](_0x3bb702=>Ot(_0x3bb702,this[_0x5904('0x1')]));if('never'===this[_0x5904('0x6b')]){const _0x260c19=this[_0x5904('0xfd')][_0x5904('0xf8')](_0x5904('0x44'),_0x2e08ad,'accept');return this['forceDefaultExecution'](()=>_0x260c19(_0x497376,_0x35b690,_0xdb8d0)),null;}_0x128f8f[_0x5904('0x110')](..._0x497376);let _0x10c13c=!0x0;for(const _0x487c6e of _0x128f8f)if(!this['_rangeIsInLocalUserInsertion'](_0x487c6e)){_0x10c13c=!0x1;break;}if(_0x10c13c&&_0x5904('0x12a')!==this[_0x5904('0x6b')]){const _0xeec703=this[_0x5904('0xfd')]['getSuggestionCallback'](_0x5904('0x44'),_0x2e08ad,_0x5904('0xa4'));return this[_0x5904('0xbf')](()=>_0xeec703(_0x497376,_0x35b690,_0xdb8d0)),null;}const _0x49f782=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d'))['me'];for(const _0xc54f0c of this['getSuggestions']()){if(_0xc54f0c['author']['id']!=_0x49f782['id'])continue;if(_0x5904('0x44')!=_0xc54f0c[_0x5904('0x179')]||_0xc54f0c['data']['formatGroupId']!=_0x35b690['formatGroupId'])continue;if(!Pt(_0xc54f0c,_0xdb8d0))continue;const _0x333883=_0xc54f0c[_0x5904('0x36')]==_0x2e08ad;for(let _0x25c0e8=0x0;_0x25c0e8<_0x497376[_0x5904('0x37')];_0x25c0e8++){const _0x559fd4=_0x497376[_0x25c0e8];for(const _0x57ae7a of _0xc54f0c[_0x5904('0x9')]()){const _0x265039=_0x57ae7a[_0x5904('0x0')]();if(_0x559fd4[_0x5904('0x13d')](_0x265039)){_0x333883?(_0x497376[_0x5904('0xbe')](_0x25c0e8,0x1),_0x25c0e8--):_0xc54f0c['removeMarker'](_0x57ae7a[_0x5904('0x150')]);break;}}}}if(0x0==_0x497376[_0x5904('0x37')])return null;const _0x68abaa=this['_suggestionFactory']['getSuggestionCallback'](_0x5904('0x44'),_0x2e08ad,_0x5904('0x109'));for(const _0x1bab98 of this[_0x5904('0x25')]())if(_0x1bab98[_0x5904('0xef')]['id']==_0x49f782['id']&&_0x5904('0x44')==_0x1bab98['type']&&_0x1bab98[_0x5904('0x15f')]['formatGroupId']==_0x35b690[_0x5904('0x86')]&&_0x1bab98[_0x5904('0x36')]==_0x2e08ad&&Pt(_0x1bab98,_0xdb8d0)&&(_0x68abaa(_0x1bab98['getRanges'](),_0x497376)||_0x68abaa(_0x497376,_0x1bab98[_0x5904('0x124')]()))){for(const _0x136d55 of _0x497376)_0x1bab98['addRange'](_0x136d55);return _0x1bab98;}const _0xb6e890=_0x12efea(),_0x53657a=_0x49f782['id'],_0x550037=_0x5904('0x169')+_0x2e08ad,_0x1cfcd4=this['_setSuggestionData']({'id':_0xb6e890,'type':_0x550037,'data':_0x35b690,'createdAt':new Date(),'authorId':_0x53657a,'attributes':_0xdb8d0});for(const _0x468972 of _0x497376)this[_0x5904('0x65')](_0x550037,_0xb6e890,_0x53657a,_0x468972,_0x80ede4[_0x5904('0x9d')]());return _0x1cfcd4;}['markDeletion'](_0x1f7730,_0x6c491b=null,_0x56f470={}){if(_0x1f7730['isCollapsed'])return null;const _0x52f112=this['editor'][_0x5904('0x43')]['get'](_0x5904('0x3d'))['me'],_0x3194d2=new _0x3da7f8(_0x1f7730[_0x5904('0x18')],_0x1f7730[_0x5904('0xee')]);for(const {suggestion:_0x86251d,meta:_0x49ae04}of this[_0x5904('0x136')](_0x3194d2,'insertion'))if(_0x49ae04[_0x5904('0x81')]&&!_0x49ae04[_0x5904('0x75')]){if(_0x86251d[_0x5904('0x152')]){const _0x5dfb76=_0x86251d[_0x5904('0x124')]()[_0x5904('0x11d')](_0x5776dc=>_0x5904('0x100')!=_0x5776dc['root'][_0x5904('0x116')]);_0x5dfb76[_0x5904('0x1b')](_0x46d0bd=>_0x3194d2['containsRange'](_0x46d0bd,!0x0))&&_0x86251d[_0x5904('0x8b')]();if(_0x5dfb76[_0x5904('0x157')](_0x5e3898=>_0x5e3898[_0x5904('0x12e')](_0x3194d2,!0x0))){const _0x40d33e=this[_0x5904('0xfd')][_0x5904('0xf8')](_0x5904('0xb3'),_0x6c491b,'accept');return this['forceDefaultExecution'](()=>_0x40d33e([_0x3194d2],null,_0x56f470)),null;}}else{const _0x192523=_0x3194d2[_0x5904('0x39')](_0x86251d['getFirstRange']());null!==_0x192523&&_0x86251d[_0x5904('0x93')]([_0x192523],null,_0x56f470);}}if(_0x3194d2[_0x5904('0x6')](),_0x3194d2[_0x5904('0x89')]||_0x5904('0x100')==_0x3194d2[_0x5904('0x10b')][_0x5904('0x116')])return null;let _0x5b7207=null,_0x134569=_0x3194d2[_0x5904('0x18')],_0x37b4e2=_0x3194d2[_0x5904('0xee')];const _0x5449d5=this['_findSuggestions'](_0x3194d2,_0x5904('0xb3'));for(const {suggestion:_0x5523f1,meta:_0x270ef7}of _0x5449d5){const _0x1a00a9=this[_0x5904('0x1')][_0x5904('0x133')](_0x134569,_0x37b4e2);if(_0x270ef7['isOwn']&&(this[_0x5904('0x167')]||!_0x270ef7[_0x5904('0x2c')]&&!_0x270ef7[_0x5904('0x1c')])){if(_0x5523f1[_0x5904('0x152')]){if(!Pt(_0x5523f1,_0x56f470))continue;let _0x554702=!0x0;for(const _0x28e9a8 of _0x5523f1[_0x5904('0x124')]()){if(_0x28e9a8[_0x5904('0x12e')](_0x1a00a9,!0x0))return _0x5523f1;_0x1a00a9[_0x5904('0x12e')](_0x28e9a8)||(_0x554702=!0x1);}_0x554702&&_0x5523f1['discard']();}else{const _0x40ac03=_0x5523f1[_0x5904('0xf6')]();if(_0x40ac03['containsRange'](_0x1a00a9,!0x0))return _0x5523f1;if(!Pt(_0x5523f1,_0x56f470)){_0x1a00a9[_0x5904('0x12e')](_0x40ac03)?_0x5523f1[_0x5904('0x148')]():_0x40ac03['containsPosition'](_0x134569)?_0x134569=_0x40ac03['end']:_0x40ac03[_0x5904('0xc9')](_0x37b4e2)&&(_0x37b4e2=_0x40ac03['start']);continue;}_0x134569=_0x134569[_0x5904('0x14d')](_0x40ac03[_0x5904('0x18')])?_0x134569:_0x40ac03[_0x5904('0x18')],_0x37b4e2=_0x37b4e2[_0x5904('0x129')](_0x40ac03[_0x5904('0xee')])?_0x37b4e2:_0x40ac03[_0x5904('0xee')],_0x56f470=Object[_0x5904('0xae')]({},_0x5523f1[_0x5904('0x12c')]),_0x5b7207?_0x40ac03[_0x5904('0x18')][_0x5904('0x14d')](_0x5b7207[_0x5904('0xf6')]()[_0x5904('0x18')])?(_0x5b7207[_0x5904('0x148')](),_0x5b7207=_0x5523f1):_0x5523f1[_0x5904('0x148')]():_0x5b7207=_0x5523f1;}}}if(_0x5b7207)return this['_setSuggestionRange'](_0x5b7207,this[_0x5904('0x1')]['createRange'](_0x134569,_0x37b4e2)),_0x5b7207;{const _0x5377c2=_0x12efea(),_0x3aab11=this[_0x5904('0x1')]['createRange'](_0x134569,_0x37b4e2),_0x4c9b10=_0x52f112['id'],_0x27730f=_0x6c491b?_0x5904('0xd')+_0x6c491b:_0x5904('0xb3'),_0x5974e2=this[_0x5904('0x147')]({'id':_0x5377c2,'type':_0x27730f,'createdAt':new Date(),'authorId':_0x4c9b10,'attributes':_0x56f470});return this[_0x5904('0x65')](_0x27730f,_0x5377c2,_0x4c9b10,_0x3aab11),_0x5974e2;}}[_0x5904('0x73')](_0x4d47f5,_0x4ed86a=_0x5904('0x69'),_0x593fb8={}){const _0x34996b=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d'))['me'],_0x28e3ee=_0x4d47f5['map'](_0x442d3c=>new _0x3da7f8(_0x442d3c['start'],_0x442d3c[_0x5904('0xee')])),_0x3e89b7=new Set();for(const {suggestion:_0x306ade,meta:_0x2d530f}of this[_0x5904('0x136')](_0x28e3ee,_0x5904('0x85')))_0x2d530f[_0x5904('0x81')]&&!_0x2d530f['isNextTo']&&_0x3e89b7[_0x5904('0xdd')](_0x306ade);for(const _0x2de176 of _0x3e89b7)if(_0x2de176[_0x5904('0x152')]){const _0x3e8148=_0x2de176['getRanges']();(!_0x2de176[_0x5904('0x12c')]||!_0x2de176['attributes'][_0x5904('0x76')])&&(_0x3e8148[_0x5904('0x1b')](_0x119ac9=>_0x28e3ee[_0x5904('0x157')](_0x1eeab9=>_0x1eeab9['containsRange'](_0x119ac9,!0x0)))&&_0x2de176[_0x5904('0x8b')]());if(_0x28e3ee[_0x5904('0x1b')](_0x57b0b2=>_0x3e8148[_0x5904('0x157')](_0x5841d8=>_0x5841d8['containsRange'](_0x57b0b2,!0x0)))){const _0x146515=this[_0x5904('0xfd')][_0x5904('0xf8')](_0x5904('0xb3'),_0x4ed86a,_0x5904('0xa4'));return this['forceDefaultExecution'](()=>_0x146515(_0x4d47f5,null,_0x593fb8)),null;}}else{const _0x5f1164=_0x2de176[_0x5904('0xf6')]();_0x28e3ee[_0x5904('0x157')](_0x56cb29=>_0x56cb29[_0x5904('0x12e')](_0x5f1164,!0x0))&&_0x2de176[_0x5904('0x8b')]();if(_0x28e3ee[_0x5904('0x1b')](_0x5c5cf8=>_0x5f1164[_0x5904('0x12e')](_0x5c5cf8,!0x0))){const _0x40713b=this[_0x5904('0xfd')][_0x5904('0xf8')](_0x5904('0xb3'),_0x4ed86a,_0x5904('0xa4'));return this[_0x5904('0xbf')](()=>_0x40713b(_0x28e3ee,null,_0x593fb8)),null;}}const _0x287216=this[_0x5904('0xfd')][_0x5904('0xf8')](_0x5904('0xb3'),_0x4ed86a,_0x5904('0x109'));let _0x3cacc7=null;for(const _0x1127d9 of this[_0x5904('0x25')]())if(_0x1127d9['author']['id']==_0x34996b['id']&&_0x1127d9[_0x5904('0x161')]&&_0x5904('0xb3')==_0x1127d9[_0x5904('0x179')]&&_0x1127d9[_0x5904('0x36')]==_0x4ed86a&&Pt(_0x1127d9,_0x593fb8)&&(_0x287216(_0x1127d9[_0x5904('0x124')](),_0x28e3ee)||_0x287216(_0x28e3ee,_0x1127d9[_0x5904('0x124')]()))){if(_0x3cacc7){if(_0x1127d9[_0x5904('0x160')]&&_0x1127d9[_0x5904('0x160')]['length'])continue;for(const _0x38243a of _0x1127d9[_0x5904('0x124')]())_0x3cacc7[_0x5904('0x5')](_0x38243a)||_0x3cacc7[_0x5904('0x186')](_0x38243a);_0x1127d9[_0x5904('0x148')]();}else{_0x3cacc7=_0x1127d9;for(const _0x51fb04 of _0x28e3ee)_0x1127d9['isIntersectingWithRange'](_0x51fb04)||_0x1127d9[_0x5904('0x186')](_0x51fb04);}}if(_0x3cacc7)return _0x3cacc7;_0x3e89b7[_0x5904('0x7f')]();for(const {suggestion:_0x28d221,meta:_0x5ed3b9}of this[_0x5904('0x136')](_0x28e3ee,_0x5904('0xb3')))_0x5ed3b9[_0x5904('0x81')]&&(this[_0x5904('0x167')]||!_0x5ed3b9[_0x5904('0x2c')]&&!_0x5ed3b9[_0x5904('0x1c')])&&Pt(_0x28d221,_0x593fb8)&&_0x3e89b7[_0x5904('0xdd')](_0x28d221);for(const _0x3cecbf of _0x3e89b7){const _0xd27047=_0x3cecbf[_0x5904('0x124')]();if(!_0x593fb8||!_0x593fb8[_0x5904('0x76')]){if(_0x28e3ee[_0x5904('0x1b')](_0xdd5364=>_0xd27047[_0x5904('0x157')](_0x12b7e8=>_0x12b7e8['containsRange'](_0xdd5364,!0x0))))return _0x3cecbf;}(!_0x3cecbf['attributes']||!_0x3cecbf[_0x5904('0x12c')][_0x5904('0x76')])&&(_0xd27047[_0x5904('0x1b')](_0x3b32ec=>_0x28e3ee[_0x5904('0x157')](_0x16f50e=>_0x16f50e[_0x5904('0x12e')](_0x3b32ec,!0x0)))&&_0x3cecbf['discard']());}const _0x1620f0=_0x12efea(),_0x1d63f4=_0x34996b['id'],_0x1b5f98=_0x5904('0xd')+_0x4ed86a,_0x18c409=this[_0x5904('0x147')]({'id':_0x1620f0,'type':_0x1b5f98,'createdAt':new Date(),'authorId':_0x1d63f4,'attributes':_0x593fb8});for(const _0x465b66 of _0x28e3ee)_0x465b66[_0x5904('0x6')](),_0x465b66['isCollapsed']||_0x5904('0x100')==_0x465b66['root'][_0x5904('0x116')]||this[_0x5904('0x65')](_0x1b5f98,_0x1620f0,_0x1d63f4,_0x465b66,_0x80ede4[_0x5904('0x9d')]());return _0x18c409;}['markAttributeChange'](_0x3a0f5d,_0x56150b,_0x2b5f32,_0x38f29f,_0x340afc){if(_0x3a0f5d['isCollapsed'])return[];if(_0x5904('0x177')===this[_0x5904('0x6b')])return[];const _0xe3faaf=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d'))['me']['id'],_0x11a7a5=Array[_0x5904('0x123')](this[_0x5904('0x125')][_0x5904('0xb8')]())[_0x5904('0x11d')](_0x25c66a=>'attribute'==_0x25c66a[_0x5904('0x179')]&&_0x25c66a['data']['key']==_0x56150b&&_0x25c66a['isIntersectingWithRange'](_0x3a0f5d));if(_0x5904('0xbc')===this[_0x5904('0x6b')]){const _0x1b512d=this[_0x5904('0x136')](_0x3a0f5d,_0x5904('0x85'))[_0x5904('0x11d')](({meta:_0x258ae4})=>_0x258ae4['isOwn']&&!_0x258ae4['isInsideObject']&&!_0x258ae4[_0x5904('0x75')])[_0x5904('0x3')](({suggestion:_0x3460b2})=>_0x3460b2);_0x11a7a5[_0x5904('0x15e')](..._0x1b512d);}const _0x572544=new Map([[_0x3a0f5d,_0x2b5f32]]);for(const _0x49d981 of _0x11a7a5){const _0x40f5d6=_0x5904('0x42')==_0x49d981[_0x5904('0x179')]?_0x49d981[_0x5904('0x15f')]['oldValue']:void 0x0,_0x297789=_0x49d981[_0x5904('0xf6')](),_0x1b6291=Array[_0x5904('0x123')](_0x572544[_0x5904('0xf0')]())['find'](_0x14eecb=>_0x14eecb['isIntersecting'](_0x297789));if(!_0x1b6291)continue;const _0x491210=_0x1b6291[_0x5904('0x7a')](_0x297789);this[_0x5904('0xd6')](_0x56150b)&&_0x5904('0x85')==_0x49d981['type']&&0x0!=_0x491210['length']||(_0x572544[_0x5904('0x61')](_0x1b6291),_0x491210[_0x5904('0x16b')](_0x143990=>{_0x572544[_0x5904('0xc3')](_0x143990,_0x2b5f32);}),_0x5904('0x85')!=_0x49d981[_0x5904('0x179')]&&_0x40f5d6!=_0x38f29f&&_0x572544[_0x5904('0xc3')](_0x1b6291[_0x5904('0x39')](_0x297789),_0x40f5d6));}const _0x1f1692=[];for(const [_0x569ae1,_0x4caf2d]of _0x572544){const _0x19bee0=_0x12efea(),_0x18ff95={'key':_0x56150b,'oldValue':_0x4caf2d,'newValue':_0x38f29f};_0x56150b[_0x5904('0x37')]>0x25&&console[_0x5904('0x7d')](_0x5904('0x11a'),{'key':_0x56150b});const _0x4eb12=(_0x5904('0xce')+(_0x56150b+'|'+Et({'newValue':_0x38f29f})))[_0x5904('0xb7')](0x0,0x3c),_0x13f45c=this[_0x5904('0x147')]({'id':_0x19bee0,'type':_0x4eb12,'data':_0x18ff95,'createdAt':new Date(),'authorId':_0xe3faaf,'attributes':_0x340afc});_0x1f1692[_0x5904('0x110')](_0x13f45c),this[_0x5904('0x65')](_0x4eb12,_0x19bee0,_0xe3faaf,_0x569ae1);}return _0x1f1692;}[_0x5904('0x5d')](_0x2de53e){this[_0x5904('0x52')][_0x5904('0xdd')](_0x2de53e);}[_0x5904('0x49')](_0x516b39){this[_0x5904('0x17a')][_0x5904('0xdd')](_0x516b39);}[_0x5904('0xf2')](_0x13595e,_0x787e33=[],_0x5235b8=[]){this[_0x5904('0x68')](_0x13595e,(_0x1efc5d,..._0x3cafc5)=>{this['_recordAttributeChanges'](()=>{_0x1efc5d(..._0x3cafc5);});});for(const _0x1eee87 of _0x787e33)this['_registerInlineAttribute'](_0x1eee87);for(const _0x3784a6 of _0x5235b8)this[_0x5904('0x5d')](_0x3784a6);}[_0x5904('0xe2')](_0x506114){return'attribute'==_0x506114[_0x5904('0x179')]?_0x506114[_0x5904('0x36')][_0x5904('0xc6')]('|')[0x0]:null;}['_setSuggestionRange'](_0x2f9fad,_0x2dd78e){const _0x2fb432=_0x2f9fad[_0x5904('0x115')]();this['_model']['change'](_0x4e39e8=>{_0x4e39e8['updateMarker'](_0x2fb432,{'range':_0x2dd78e});});}['_addThreadToSuggestion'](_0x312e24){const _0x515e7e=_0x312e24['id'],_0x2086e2=this[_0x5904('0x185')]['config']['get'](_0x5904('0x114'));this[_0x5904('0xb2')][_0x5904('0x187')](_0x515e7e)||this[_0x5904('0xb2')][_0x5904('0x22')]({'channelId':_0x2086e2,'threadId':_0x515e7e,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5ee488=this['_commentsRepository']['getCommentThread'](_0x515e7e);_0x5ee488[_0x5904('0xc4')](_0x5904('0x19')),_0x5ee488[_0x5904('0x19')]=!0x1,_0x312e24[_0x5904('0x160')]=_0x5ee488;}[_0x5904('0x2d')](_0x39baf7,_0x4f5ae3,_0x29bc6a,_0x4f9904){if(_0x39baf7[_0x5904('0x179')]!=_0x4f5ae3||_0x39baf7[_0x5904('0x36')]!=_0x29bc6a||_0x39baf7[_0x5904('0x4a')]['id']!=_0x4f9904)throw this['editor'][_0x5904('0x165')](_0x5904('0xac')),new _0x2aea78(_0x5904('0xac'),this);}[_0x5904('0xcd')](_0x551372,_0x1f71f3){const _0x3ed49a=_0x551372[_0x5904('0xf6')]();if(_0x1f71f3[_0x5904('0x13d')](_0x3ed49a))_0x551372[_0x5904('0x148')]();else{if(_0x3ed49a['containsRange'](_0x1f71f3)){const _0x382ddd=this[_0x5904('0x1')][_0x5904('0x82')](_0x1f71f3['start'][_0x5904('0x96')],'end');this['_setSuggestionRange'](_0x551372,this['_model'][_0x5904('0x133')](_0x3ed49a['start'],_0x382ddd));const _0x7b4fc8=_0x12efea(),_0x1e2dd3=_0x551372[_0x5904('0x4a')]['id'],_0x4ef8f6=_0x551372['type']+':'+_0x551372['subType'];this[_0x5904('0x147')]({'id':_0x7b4fc8,'type':_0x4ef8f6,'createdAt':new Date(),'authorId':_0x1e2dd3,'data':_0x551372[_0x5904('0x15f')],'attributes':_0x551372[_0x5904('0x12c')]});const _0x7f8bc2=this[_0x5904('0x1')][_0x5904('0x82')](_0x1f71f3[_0x5904('0xee')][_0x5904('0x84')],_0x5904('0x107')),_0x5343eb=this[_0x5904('0x1')][_0x5904('0x133')](_0x7f8bc2,_0x3ed49a['end']);this['_addSuggestionMarker'](_0x4ef8f6,_0x7b4fc8,_0x1e2dd3,_0x5343eb);}else{if(_0x3ed49a['containsPosition'](_0x1f71f3[_0x5904('0x18')])){const _0x59bf90=this[_0x5904('0x1')][_0x5904('0x82')](_0x1f71f3[_0x5904('0x18')][_0x5904('0x96')],_0x5904('0xee'));this[_0x5904('0x10e')](_0x551372,this[_0x5904('0x1')][_0x5904('0x133')](_0x3ed49a['start'],_0x59bf90));}else{const _0x2ff3e7=this['_model']['createPositionAt'](_0x1f71f3[_0x5904('0xee')][_0x5904('0x84')],'after');this[_0x5904('0x10e')](_0x551372,this[_0x5904('0x1')]['createRange'](_0x2ff3e7,_0x3ed49a['end']));}}}}[_0x5904('0x164')](_0x1a99ff){for(const {suggestion:_0x3d56ac,meta:_0x24ea4e}of this[_0x5904('0x136')](_0x1a99ff,'insertion')){if(!_0x24ea4e[_0x5904('0x81')])continue;const _0x292d36=_0x3d56ac['getRanges']();for(const _0x4fd75f of _0x292d36)if(!_0x1a99ff['getDifference'](_0x4fd75f)[_0x5904('0x37')])return!0x0;}return!0x1;}[_0x5904('0x101')](_0x2c4b96){const _0x5936f9=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d'))[_0x5904('0x7c')](_0x2c4b96);if(!_0x5936f9)throw new _0x2aea78(_0x5904('0x9f'),this);return _0x5936f9;}['_getExternalAuthor'](_0x110aac){const _0x42d2cf=this['editor'][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d')),_0x58ab05=_0x41c87c(_0x5904('0x64')+_0x110aac),_0x593c18=_0x42d2cf['getUser'](_0x58ab05);return _0x593c18||_0x42d2cf[_0x5904('0xc8')]({'id':_0x58ab05,'name':_0x110aac});}[_0x5904('0xb5')](_0x8b70ec,_0x4395c8,_0x4d9034,_0x4b00dd,_0x8309b0){const _0x4663ec=this[_0x5904('0x101')](_0x4b00dd),_0x10656b=this['_suggestionFactory'][_0x5904('0x8e')](_0x8b70ec,_0x4395c8,_0x4d9034,_0x4663ec,_0x8309b0,_0x5755ae=>{this[_0x5904('0xaf')](_0x4d9034,{'attributes':_0x5755ae});const _0x56134e=this[_0x5904('0x41')](_0x4d9034);this[_0x5904('0x48')](new Set([_0x56134e])),this[_0x5904('0x141')](new Set([_0x56134e]));});return this['listenTo'](_0x10656b,_0x5904('0xa4'),()=>{this[_0x5904('0xaf')](_0x4d9034,{'state':_0x5904('0x24')});},{'priority':_0x5904('0x95')}),this['listenTo'](_0x10656b,_0x5904('0x8b'),()=>{this[_0x5904('0xaf')](_0x4d9034,{'state':_0x5904('0x28')});},{'priority':_0x5904('0x95')}),this[_0x5904('0x125')][_0x5904('0xc3')](_0x4d9034,_0x10656b),this[_0x5904('0x15d')][_0x5904('0xc3')](_0x10656b,'notReady'),_0x10656b;}[_0x5904('0x45')](_0x1a6b21){const _0x1c5549=_0x1a6b21[_0x5904('0xc6')](':');return{'group':_0x1c5549[0x0],'type':_0x1c5549[0x1],'subType':_0x1c5549[_0x5904('0x37')]>=0x5?_0x1c5549[0x2]:null,'id':_0x1c5549[_0x5904('0x37')]<0x5?_0x1c5549[0x2]:_0x1c5549[0x3],'authorId':_0x1c5549[_0x5904('0x37')]<0x5?_0x1c5549[0x3]:_0x1c5549[0x4],'markerCount':0x6==_0x1c5549[_0x5904('0x37')]?_0x1c5549[0x5]:null};}[_0x5904('0x80')](_0x3d46e3,_0x5bf30f,_0x2b5ca7){const _0x337869=_0x3d46e3[_0x5904('0xf6')](),_0x9edfb0=_0x337869[_0x5904('0x18')],_0x16ba47=_0x337869[_0x5904('0xee')];this[_0x5904('0x10e')](_0x3d46e3,this[_0x5904('0x1')][_0x5904('0x133')](_0x9edfb0,_0x5bf30f));const _0x24cac9=_0x12efea(),_0x2b1e8e=_0x3d46e3[_0x5904('0x4a')]['id'],_0x157953=_0x3d46e3[_0x5904('0x179')]+(_0x3d46e3[_0x5904('0x36')]?':'+_0x3d46e3[_0x5904('0x36')]:'');this[_0x5904('0x147')]({'id':_0x24cac9,'type':_0x157953,'createdAt':new Date(),'authorId':_0x2b1e8e,'originalSuggestionId':_0x3d46e3['id'],'attributes':_0x3d46e3[_0x5904('0x12c')],'data':_0x3d46e3[_0x5904('0x15f')]});const _0x53e617=this['_getAttributeKey'](_0x3d46e3);(_0x5904('0x44')==_0x3d46e3['type']||_0x53e617&&this[_0x5904('0xd6')](_0x53e617))&&(_0x2b5ca7=this[_0x5904('0x1')][_0x5904('0xe3')](_0x2b5ca7[_0x5904('0x84')])),this['_addSuggestionMarker'](_0x157953,_0x24cac9,_0x2b1e8e,this[_0x5904('0x1')]['createRange'](_0x2b5ca7,_0x16ba47));}[_0x5904('0x136')](_0x5155ba,_0x56d1d0=null){const _0x4d6204=[],_0x420ab3=this[_0x5904('0x185')][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0x3d'))['me'];Array[_0x5904('0x119')](_0x5155ba)||(_0x5155ba=[_0x5155ba]);for(const _0x3dff7d of this[_0x5904('0x25')]()){if(!_0x3dff7d[_0x5904('0x161')])continue;if(_0x56d1d0&&_0x3dff7d[_0x5904('0x179')]!=_0x56d1d0)continue;let _0x312940=!0x1;for(const _0x72cf97 of _0x3dff7d[_0x5904('0x124')]()){for(const _0x38dfa2 of _0x5155ba){const _0x243881=_0x38dfa2[_0x5904('0x18')][_0x5904('0x13d')](_0x72cf97[_0x5904('0xee')])||_0x38dfa2[_0x5904('0xee')][_0x5904('0x13d')](_0x72cf97[_0x5904('0x18')]);if(_0x243881||_0x38dfa2[_0x5904('0x39')](_0x72cf97)){const _0x4a9751=_0x38dfa2[_0x5904('0x12e')](_0x72cf97)&&xt(this[_0x5904('0x1')][_0x5904('0xa9')],_0x72cf97[_0x5904('0x18')],_0x38dfa2),_0x221c3a=_0x72cf97[_0x5904('0x12e')](_0x38dfa2)&&xt(this[_0x5904('0x1')][_0x5904('0xa9')],_0x38dfa2[_0x5904('0x18')],_0x72cf97);_0x4d6204[_0x5904('0x110')]({'suggestion':_0x3dff7d,'meta':{'isOwn':_0x420ab3==_0x3dff7d['author'],'isNextTo':_0x243881,'isInsideObject':_0x4a9751,'containsRangeInObject':_0x221c3a}}),_0x312940=!0x0;break;}}if(_0x312940)break;}}return _0x4d6204;}[_0x5904('0x65')](_0x39c23c,_0x1564aa,_0x2f64c9,_0x6a084,_0x584d11){this[_0x5904('0x1')][_0x5904('0x1f')](_0x154a31=>{let _0x702a40=_0x5904('0x27')+_0x39c23c+':'+_0x1564aa+':'+_0x2f64c9;_0x584d11&&(_0x702a40=_0x702a40+':'+_0x584d11),_0x154a31[_0x5904('0x46')](_0x702a40,{'range':_0x6a084,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5904('0x12')](_0x9c50a4){const _0x30caac=_0x9c50a4[_0x5904('0x11')],_0x1379d7=_0x9c50a4['next'];_0x9c50a4[_0x5904('0x11')]=null,_0x9c50a4['next']=null,null!=_0x30caac&&_0x30caac[_0x5904('0x5c')]==_0x9c50a4&&(_0x30caac[_0x5904('0x5c')]=_0x1379d7),null!=_0x1379d7&&_0x1379d7[_0x5904('0x11')]==_0x9c50a4&&(_0x1379d7[_0x5904('0x11')]=_0x30caac),_0x5904('0x1e')==this['_suggestionState']['get'](_0x9c50a4)&&(this[_0x5904('0x15d')][_0x5904('0xc3')](_0x9c50a4,_0x5904('0xaa')),this[_0x5904('0xa0')]('suggestionUnloaded',_0x9c50a4,_0x30caac,_0x1379d7));}[_0x5904('0x147')](_0x41b802){const _0x683123=_0x41b802['id'],_0x484580=this[_0x5904('0x5e')](_0x41b802);if(this[_0x5904('0x15c')]&&this[_0x5904('0x15c')][_0x5904('0x112')]){const _0x5ef19d=this['editor'][_0x5904('0x43')][_0x5904('0xf1')](_0x5904('0xa')),_0x2221be=_0x484580[_0x5904('0x79')],_0xa2833c=_0x484580[_0x5904('0x36')]?_0x484580[_0x5904('0x179')]+':'+_0x484580[_0x5904('0x36')]:_0x484580[_0x5904('0x179')],_0x53023d=this['editor'][_0x5904('0x175')],_0x49114a=_0x5ef19d[_0x5904('0xdd')](_0x5e6b3d(_0x53023d,_0x5904('0x113'))),_0x944293={'id':_0x683123,'type':_0xa2833c,'hasComments':_0x2221be,'data':_0x41b802['data']||null,'originalSuggestionId':_0x41b802[_0x5904('0x92')]||null,'attributes':_0x484580[_0x5904('0x12c')]};this[_0x5904('0x15c')][_0x5904('0x112')](_0x944293)['then'](_0x3a080d=>{_0x484580['_saved']=!0x0,_0x5ef19d[_0x5904('0x16e')](_0x49114a),_0x3a080d&&_0x3a080d[_0x5904('0xe4')]&&(this[_0x5904('0x125')][_0x5904('0xf1')](_0x683123)[_0x5904('0xe4')]=_0x3a080d['createdAt']);})[_0x5904('0xb0')](_0x338842=>{throw _0x54efba(_0x5904('0xd1')),this['editor'][_0x5904('0xea')]['enqueueChange']({'isUndoable':!0x1},()=>{_0x484580['discard']();}),_0x484580[_0x5904('0xa7')](),this[_0x5904('0x125')]['delete'](_0x484580['id']),this[_0x5904('0x15d')][_0x5904('0x61')](_0x484580),_0x338842;});}return _0x484580;}[_0x5904('0xd6')](_0xea8aa1){return this[_0x5904('0x52')][_0x5904('0x13c')](_0xea8aa1);}['_updateSuggestionData'](_0x3a0128,_0x45b1ab){const _0x262c86=this['editor'][_0x5904('0x43')][_0x5904('0xf1')]('PendingActions'),_0x35bd58=this[_0x5904('0x41')](_0x3a0128);if(this[_0x5904('0x15c')]&&this['_adapter'][_0x5904('0x171')]){if(_0x35bd58[_0x5904('0x12f')]){const _0x1a7f56=_0x262c86[_0x5904('0xdd')](_0x5e6b3d(this[_0x5904('0x185')][_0x5904('0x175')],_0x5904('0x113')));this['_adapter']['updateSuggestion'](_0x3a0128,_0x45b1ab)[_0x5904('0x151')](()=>{_0x262c86[_0x5904('0x16e')](_0x1a7f56);});}else _0x35bd58['on'](_0x5904('0x8'),()=>{this[_0x5904('0xaf')](_0x3a0128,_0x45b1ab);});}}['_getSuggestionData'](_0x1ba34c){if(!this[_0x5904('0x15c')]||!this[_0x5904('0x15c')]['getSuggestion'])throw new _0x2aea78(_0x5904('0x159'),this);return this['_adapter'][_0x5904('0x41')](_0x1ba34c);}[_0x5904('0x53')](_0xf60af2){const {id:_0x157e06,type:_0x56d5f6,subType:_0x591e8d,authorId:_0x423709}=this[_0x5904('0x45')](_0xf60af2),_0x45c794=this[_0x5904('0x125')]['get'](_0x157e06)||this['_createSuggestion'](_0x56d5f6,_0x591e8d,_0x157e06,_0x423709,{});switch(this['_checkSuggestionCorrectness'](_0x45c794,_0x56d5f6,_0x591e8d,_0x423709),this[_0x5904('0x15d')][_0x5904('0xf1')](_0x45c794)){case'notReady':this[_0x5904('0x130')](_0x157e06)['then'](_0x549159=>{let _0x6f7aec=Promise[_0x5904('0x94')]();_0x549159[_0x5904('0x79')]&&(_0x6f7aec=this['_commentsRepository'][_0x5904('0x118')]({'channelId':this[_0x5904('0x185')][_0x5904('0x111')]['get'](_0x5904('0x114')),'threadId':_0x157e06})),_0x6f7aec[_0x5904('0x151')](()=>{this[_0x5904('0x5e')](_0x549159)['_saved']=!0x0;});}),this[_0x5904('0x15d')][_0x5904('0xc3')](_0x45c794,'markerReady');break;case _0x5904('0xaa'):this[_0x5904('0xaf')](_0x157e06,{'state':_0x5904('0xf4')});case _0x5904('0xe5'):this[_0x5904('0x15d')]['set'](_0x45c794,_0x5904('0x1e')),this[_0x5904('0xa0')]('suggestionLoaded',_0x45c794);break;case'ready':this[_0x5904('0xa0')](_0x5904('0x10d'),_0x45c794);}return _0x45c794['addMarkerName'](_0xf60af2),_0x45c794;}[_0x5904('0x141')](_0x2757bc){const _0x3eabb1=Array[_0x5904('0x123')](_0x2757bc),_0x1480e4=_0x3eabb1['filter'](_0x37e695=>_0x5904('0x42')==_0x37e695['type']);this[_0x5904('0xb6')](_0x1480e4);const _0x29010e=_0x3eabb1[_0x5904('0x11d')](_0x3f7a20=>!_0x3f7a20['isMultiRange']&&_0x5904('0x42')!=_0x3f7a20[_0x5904('0x179')]),_0x30f8d2=this[_0x5904('0x25')]({'skipNotAttached':!0x0})[_0x5904('0x11d')](_0x50f247=>!_0x50f247[_0x5904('0x152')]&&_0x5904('0x42')!=_0x50f247['type']),_0x3e2bad=_0x30f8d2['filter'](_0x1e257d=>!_0x2757bc[_0x5904('0x13c')](_0x1e257d)),_0x3a1d69=new Map(_0x30f8d2['map'](_0x81ad39=>[_0x81ad39,this['_suggestionFactory'][_0x5904('0xf8')](_0x81ad39[_0x5904('0x179')],_0x81ad39['subType'],_0x5904('0x13a'))])),_0x4fc50a=new Map(_0x30f8d2[_0x5904('0x3')](_0x5be004=>[_0x5be004,_0x5be004[_0x5904('0xf6')]()])),_0x1bbe75=new Set(),_0x4618ef=new Set();for(let _0x32b47f=0x0;_0x32b47f<_0x29010e['length'];_0x32b47f++)_0x5e1243(_0x29010e[_0x32b47f],_0x29010e,_0x32b47f+0x1);for(let _0x58b3fa=0x0;_0x58b3fa<_0x29010e[_0x5904('0x37')];_0x58b3fa++)_0x5e1243(_0x29010e[_0x58b3fa],_0x3e2bad,0x0);const _0x494721=new Set();for(let _0x3cc3c9=0x0;_0x3cc3c9<_0x29010e[_0x5904('0x37')];_0x3cc3c9++){const _0x55f45c=_0x29010e[_0x3cc3c9];!_0x4618ef[_0x5904('0x13c')](_0x55f45c)&&_0x55f45c[_0x5904('0x11')]&&(_0x494721['add'](_0x55f45c[_0x5904('0x11')]),_0x55f45c['previous'][_0x5904('0x5c')]===_0x55f45c&&(_0x55f45c[_0x5904('0x11')][_0x5904('0x5c')]=null),_0x55f45c[_0x5904('0x11')]=null),!_0x1bbe75[_0x5904('0x13c')](_0x55f45c)&&_0x55f45c[_0x5904('0x5c')]&&(_0x494721['add'](_0x55f45c[_0x5904('0x5c')]),_0x55f45c[_0x5904('0x5c')][_0x5904('0x11')]===_0x55f45c&&(_0x55f45c[_0x5904('0x5c')][_0x5904('0x11')]=null),_0x55f45c[_0x5904('0x5c')]=null);}function _0x5e1243(_0x33f21e,_0x70ffb0,_0x3f7d91){for(let _0x19c748=_0x3f7d91;_0x19c748<_0x70ffb0[_0x5904('0x37')];_0x19c748++){const _0x1bbded=_0xa83f7(_0x33f21e,_0x70ffb0[_0x19c748]);_0x1bbded&&(_0x1bbded[0x0]['next']=_0x1bbded[0x1],_0x1bbded[0x1][_0x5904('0x11')]=_0x1bbded[0x0],_0x1bbe75[_0x5904('0xdd')](_0x1bbded[0x0]),_0x4618ef[_0x5904('0xdd')](_0x1bbded[0x1]));}}function _0xa83f7(_0x4dc961,_0x1b44dc){if(_0x4dc961[_0x5904('0xef')]['id']!==_0x1b44dc[_0x5904('0xef')]['id'])return null;const _0xf160e3=_0x3a1d69[_0x5904('0xf1')](_0x4dc961)(_0x4dc961,_0x1b44dc,_0x4fc50a['get'](_0x4dc961),_0x4fc50a[_0x5904('0xf1')](_0x1b44dc));if(!_0xf160e3)return null;return _0x3a1d69[_0x5904('0xf1')](_0x1b44dc)(_0x4dc961,_0x1b44dc,_0x4fc50a['get'](_0x4dc961),_0x4fc50a[_0x5904('0xf1')](_0x1b44dc))?_0xf160e3[0x1][_0x5904('0x160')]&&_0xf160e3[0x1]['commentThread'][_0x5904('0x37')]?null:_0xf160e3:null;}_0x494721['size']&&this[_0x5904('0x141')](_0x494721);}['_refreshAttributeSuggestionsChain'](_0x160176){if(0x0==_0x160176[_0x5904('0x37')])return;const _0x4d9b70=this[_0x5904('0x25')]({'skipNotAttached':!0x0})[_0x5904('0x11d')](_0x3babf7=>'attribute'==_0x3babf7['type']&&_0x3babf7[_0x5904('0x180')]),_0x48372b=[],_0x50d0f8=new Map();for(const _0x5c873b of _0x4d9b70){const _0x1f2833=_0x41c87c(_0x5c873b['attributes']);_0x50d0f8[_0x5904('0x13c')](_0x1f2833)||(_0x50d0f8['set'](_0x1f2833,_0x48372b['length']),_0x48372b[_0x5904('0x110')]([]));const _0x8fad3d=_0x50d0f8[_0x5904('0xf1')](_0x1f2833);_0x48372b[_0x8fad3d]['push'](_0x5c873b);}!function(){_0x48372b['sort']((_0x39a8c2,_0x19078c)=>{const _0xd24d2b=_0x39a8c2[0x0][_0x5904('0xe4')],_0x5e21af=_0x19078c[0x0][_0x5904('0xe4')];return _0xd24d2b==_0x5e21af?_0x39a8c2[0x0][_0x5904('0x12c')][_0x5904('0x102')]<_0x19078c[0x0][_0x5904('0x12c')]['groupId']?-0x1:0x1:_0xd24d2b<_0x5e21af?-0x1:0x1;});for(const _0x1ac596 of _0x48372b)_0x1ac596[_0x5904('0x17b')]((_0x34646a,_0x1b3e61)=>_0x34646a['id']<_0x1b3e61['id']?-0x1:0x1);}();for(let _0x11434d=0x0;_0x11434d<_0x48372b[_0x5904('0x37')];_0x11434d++){if(0x0==_0x48372b[_0x11434d]['length'])continue;const _0x50be60=[];for(let _0x29db61=_0x11434d+0x1;_0x29db61<_0x48372b['length'];_0x29db61++)0x0!=_0x48372b[_0x29db61][_0x5904('0x37')]&&_0x4be480(_0x48372b[_0x11434d],_0x48372b[_0x29db61])&&_0x50be60['push'](_0x29db61);for(const _0xa91e90 of _0x50be60)_0x48372b[_0x11434d]=_0x48372b[_0x11434d]['concat'](_0x48372b[_0xa91e90]),_0x48372b[_0xa91e90]=[];}for(const _0x226b84 of _0x48372b)for(let _0x2b5203=0x0;_0x2b5203<_0x226b84[_0x5904('0x37')];_0x2b5203++)_0x226b84[_0x2b5203][_0x5904('0x5c')]=_0x226b84[_0x2b5203+0x1]||null;for(const _0x5f5b6b of _0x48372b)for(let _0x592176=0x0;_0x592176<_0x5f5b6b[_0x5904('0x37')];_0x592176++)_0x5f5b6b[_0x592176][_0x5904('0x11')]=_0x5f5b6b[_0x592176-0x1]||null;function _0x4be480(_0x58ae1b,_0x332397){if(_0x58ae1b[0x0][_0x5904('0x12c')][_0x5904('0x102')]!==_0x332397[0x0][_0x5904('0x12c')][_0x5904('0x102')]&&_0x58ae1b[0x0][_0x5904('0xef')]!==_0x332397[0x0][_0x5904('0xef')])return!0x1;if(!function(_0x49ca55,_0x56d593){if(!_0x49ca55['hasComments']&&!_0x56d593[_0x5904('0x79')])return!0x0;if(_0x49ca55['hasComments']&&_0x56d593[_0x5904('0x79')])return!0x1;if(_0x49ca55[_0x5904('0x79')]&&_0x56d593[_0x5904('0xe4')]<_0x49ca55['commentThread'][_0x5904('0xa6')]['get'](0x0)[_0x5904('0xe4')])return!0x0;if(_0x56d593['hasComments']&&_0x49ca55['createdAt']<_0x56d593[_0x5904('0x160')][_0x5904('0xa6')]['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x58ae1b[0x0],_0x332397[0x0]))return!0x1;const _0x1c31e0=_0xed44df(_0x58ae1b[0x0]['attributes'],_0x5904('0x102')),_0x4e541e=_0xed44df(_0x332397[0x0]['attributes'],_0x5904('0x102'));if(!_0x35c4e3(_0x1c31e0,_0x4e541e))return!0x1;return!!_0x58ae1b['every'](_0x3af897=>_0x332397[_0x5904('0x157')](_0x1f5449=>_0x3af897[_0x5904('0xf6')]()[_0x5904('0x13d')](_0x1f5449[_0x5904('0xf6')]())))&&_0x332397[_0x5904('0x1b')](_0x1f8838=>_0x58ae1b['some'](_0x12afbc=>_0x1f8838[_0x5904('0xf6')]()[_0x5904('0x13d')](_0x12afbc[_0x5904('0xf6')]())));}}['_joinWithAdjacentSuggestions'](_0xd3992f){const _0x36e250=Array[_0x5904('0x123')](_0xd3992f),_0x545bf0=this[_0x5904('0x25')]({'skipNotAttached':!0x0}),_0xa854c8=_0x545bf0[_0x5904('0x11d')](_0x4073ca=>!_0xd3992f['has'](_0x4073ca)),_0x3bfd63=new Map(_0x36e250[_0x5904('0x3')](_0x4ccbf5=>[_0x4ccbf5,this[_0x5904('0xfd')][_0x5904('0xf8')](_0x4ccbf5['type'],_0x4ccbf5[_0x5904('0x36')],_0x5904('0x109'))])),_0x13c0d4=new Map(_0x545bf0[_0x5904('0x3')](_0x4fabb4=>[_0x4fabb4,_0x4fabb4[_0x5904('0x124')]()]));for(let _0x457270=0x0;_0x457270<_0x36e250[_0x5904('0x37')];_0x457270++){if(_0x198dc5(this,_0x36e250[_0x457270],_0x36e250,_0x457270+0x1))return!0x0;}for(let _0x5b0643=0x0;_0x5b0643<_0x36e250[_0x5904('0x37')];_0x5b0643++){if(_0x198dc5(this,_0x36e250[_0x5b0643],_0xa854c8,0x0))return!0x0;}return!0x1;function _0x198dc5(_0xf0bb0a,_0x2c4bc9,_0x3ef693,_0x16ca1c){for(let _0x5c8168=_0x16ca1c;_0x5c8168<_0x3ef693['length'];_0x5c8168++){const _0x5230e8=_0x3ef693[_0x5c8168];if(_0x5230e8['type']!==_0x2c4bc9[_0x5904('0x179')]||_0x5230e8['author']['id']!==_0x2c4bc9[_0x5904('0xef')]['id']||_0x5230e8[_0x5904('0x36')]!==_0x2c4bc9[_0x5904('0x36')])continue;if(!Ft(_0x2c4bc9,_0x5230e8,[_0x5904('0x102')]))continue;if('attribute'==_0x2c4bc9['type']&&_0x2c4bc9[_0x5904('0x15f')]['oldValue']!=_0x5230e8[_0x5904('0x15f')]['oldValue'])continue;if(_0x5904('0x42')==_0x2c4bc9[_0x5904('0x179')]&&_0xf0bb0a[_0x5904('0xd6')](_0x2c4bc9[_0x5904('0x15f')][_0x5904('0x13f')]))continue;if(_0x5904('0x44')==_0x2c4bc9[_0x5904('0x179')]){const _0x1f0a33=_0xf0bb0a['editor']['model'],_0x467985=_0x2c4bc9[_0x5904('0x188')]();if(_0x467985&&(_0x1f0a33[_0x5904('0xa9')][_0x5904('0xbb')](_0x467985)||_0x1f0a33[_0x5904('0xa9')][_0x5904('0x11f')](_0x467985)))continue;}const _0x1cedd5=_0x3bfd63[_0x5904('0xf1')](_0x2c4bc9),_0x40e72c=_0x13c0d4['get'](_0x2c4bc9),_0x2e302b=_0x13c0d4[_0x5904('0xf1')](_0x5230e8),_0x139565=_0x2c4bc9[_0x5904('0x160')]&&_0x2c4bc9['commentThread']['length'],_0x35eeab=_0x5230e8['commentThread']&&_0x5230e8[_0x5904('0x160')][_0x5904('0x37')];if(!_0x139565&&_0x1cedd5(_0x2e302b,_0x40e72c))return _0xf0bb0a[_0x5904('0x6d')](_0x5230e8,_0x2c4bc9),_0x13c0d4[_0x5904('0x61')](_0x2c4bc9),!0x0;if(!_0x35eeab&&_0x1cedd5(_0x40e72c,_0x2e302b))return _0xf0bb0a[_0x5904('0x6d')](_0x2c4bc9,_0x5230e8),_0x13c0d4[_0x5904('0x61')](_0x5230e8),!0x0;}return!0x1;}}[_0x5904('0x6d')](_0x550764,_0x360ea4){if(_0x550764[_0x5904('0x152')])for(const _0x379987 of _0x360ea4[_0x5904('0x124')]())_0x550764[_0x5904('0x186')](_0x379987);else{const _0x50e4b4=_0x360ea4[_0x5904('0xf6')]()[_0x5904('0xee')];this[_0x5904('0x10e')](_0x550764,this[_0x5904('0x1')][_0x5904('0x133')](_0x550764[_0x5904('0xf6')]()[_0x5904('0x18')],_0x50e4b4));}_0x360ea4['removeMarkers']();}[_0x5904('0xe6')](_0x27d7b3,_0x5be5bb){const _0x4defa3=_0x27d7b3[_0x5904('0x57')](_0x5904('0xf'))||_0x27d7b3[_0x5904('0x57')](_0x5904('0x42'))?_0x5904('0x3e'):_0x27d7b3[_0x5904('0xdc')]();return _0x5e6b3d(this[_0x5904('0x185')]['locale'],_0x5be5bb+'_'+_0x4defa3+_0x5904('0xb1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x450e9a=this[_0x5904('0x185')];_0x57e753(this[_0x5904('0x1')],({left:_0x41686b,entered:_0x131d0a})=>{const _0x31d670=[];for(const _0x26762e of _0x41686b){const {group:_0x2b6874,type:_0x3bd53f}=this['_splitMarkerName'](_0x26762e[_0x5904('0x150')]);if(_0x5904('0x1d')===_0x2b6874){_0x31d670[_0x5904('0x110')](this[_0x5904('0xe6')](_0x3bd53f,_0x5904('0x10')));break;}}for(const _0x4c5f72 of _0x131d0a){const {group:_0xc51c73,type:_0xf91afe}=this[_0x5904('0x45')](_0x4c5f72[_0x5904('0x150')]);if(_0x5904('0x1d')===_0xc51c73){_0x31d670['push'](this[_0x5904('0xe6')](_0xf91afe,'ENTER'));break;}}_0x31d670['length']&&_0x450e9a['ui'][_0x5904('0x10f')][_0x5904('0x176')](_0x5904('0x7'),_0x31d670[_0x5904('0x109')]('\x20'));});}[_0x5904('0xad')](_0x222ee){if(this[_0x5904('0xec')])return!0x1;const _0x49d536=this[_0x5904('0x185')],_0x4b6512=_0x49d536[_0x5904('0xea')][_0x5904('0xa2')][_0x5904('0x2e')][_0x5904('0xd3')]();if(0x0==_0x4b6512['length'])return!0x1;const _0x2d6b30=[],_0x344afa=_0x4b6512['filter'](_0x4ab667=>_0x5904('0x42')==_0x4ab667[_0x5904('0x179')]),_0x1194e7=_0x4b6512[_0x5904('0x11d')](_0x347813=>_0x5904('0x7b')==_0x347813['type']&&_0x5904('0x4f')!=_0x347813[_0x5904('0x150')]),_0x12afcf=_0x4b6512[_0x5904('0x11d')](_0x4899dd=>'remove'==_0x4899dd[_0x5904('0x179')]&&'$text'!=_0x4899dd['name']);for(const _0x83cf8a of _0x344afa)_0x2d6b30[_0x5904('0x110')]({'key':_0x83cf8a[_0x5904('0xf3')],'newValue':_0x83cf8a[_0x5904('0x63')],'oldValue':_0x83cf8a['attributeOldValue'],'range':Ut(_0x83cf8a[_0x5904('0x4e')],_0x49d536[_0x5904('0xea')])});for(const _0x41e655 of _0x1194e7){const _0x12b8da=_0x12afcf['find'](_0x4b670c=>_0x4b670c[_0x5904('0x72')][_0x5904('0x13d')](_0x41e655[_0x5904('0x72')]));_0x12b8da&&_0x2d6b30[_0x5904('0x110')]({'key':_0x5904('0xcf'),'newValue':_0x41e655[_0x5904('0x150')],'oldValue':_0x12b8da[_0x5904('0x150')],'range':_0x49d536[_0x5904('0xea')][_0x5904('0xca')](_0x41e655[_0x5904('0x72')][_0x5904('0x60')])});}return 0x0!=_0x2d6b30[_0x5904('0x37')]&&this[_0x5904('0x170')](_0x222ee,_0x2d6b30);}[_0x5904('0x77')](_0x525695){let _0x4cc29e=!0x1;const _0x44ad90=this[_0x5904('0x185')]['model'][_0x5904('0xa2')]['differ'][_0x5904('0x15a')]()[_0x5904('0x11d')](_0x9102ff=>_0x9102ff['data'][_0x5904('0x56')]&&_0x9102ff[_0x5904('0x150')]['startsWith'](_0x5904('0x105')));for(const _0x3fdaeb of _0x44ad90){const {subType:_0x24bfc3,id:_0x2be4e2}=this[_0x5904('0x45')](_0x3fdaeb[_0x5904('0x150')]),_0x26336e=_0x24bfc3[_0x5904('0xc6')]('|')[0x0];for(const _0x58f8ed of this['getSuggestions']({'skipNotAttached':!0x0}))_0x58f8ed['id']!=_0x2be4e2&&'attribute'==_0x58f8ed[_0x5904('0x179')]&&_0x58f8ed[_0x5904('0x15f')]&&_0x58f8ed[_0x5904('0x15f')]['key']==_0x26336e&&_0x58f8ed[_0x5904('0xf6')]()[_0x5904('0xbd')](_0x3fdaeb[_0x5904('0x15f')][_0x5904('0x56')])&&(this[_0x5904('0x4b')](_0x58f8ed,_0x3fdaeb[_0x5904('0x15f')][_0x5904('0x56')],_0x525695),_0x4cc29e=!0x0);}return _0x4cc29e;}[_0x5904('0x5f')](_0xc0a6fb){this[_0x5904('0x185')],(this['_recordAttributeSuggestions']=!0x0,_0xc0a6fb());}[_0x5904('0x5b')](_0x335535){const _0x2ef017=this[_0x5904('0xd6')](_0x335535),_0x50b81e=this[_0x5904('0x17a')][_0x5904('0x13c')](_0x335535);return _0x2ef017||_0x50b81e;}[_0x5904('0x170')](_0xcb8d74,_0x349dc1){if(0x0==_0x349dc1[_0x5904('0x37')])return!0x1;let _0x856f31=!0x1;for(const _0x960ff1 of _0x349dc1){const _0x1ceb3b=this[_0x5904('0x136')](_0x960ff1['range'],_0x5904('0x42'))[_0x5904('0x11d')](_0x358daa=>!_0x358daa[_0x5904('0xc7')][_0x5904('0x75')])[_0x5904('0x3')](_0x134671=>_0x134671[_0x5904('0x1d')]),_0x59ee38=_0x41c87c({'newValue':_0x960ff1[_0x5904('0x11b')]});_0x1ceb3b[_0x5904('0x11d')](_0x109550=>{const [_0x5a5ccf,_0x2d41a4]=_0x109550[_0x5904('0x36')][_0x5904('0xc6')]('|');return _0x5a5ccf==_0x960ff1[_0x5904('0x13f')]&&_0x2d41a4!=_0x59ee38;})[_0x5904('0x16b')](_0x145d85=>{this[_0x5904('0x4b')](_0x145d85,_0x960ff1[_0x5904('0x4e')],_0xcb8d74),_0x856f31=!0x0;});}return _0x856f31;}['_reduceSuggestionAttributeRange'](_0x584e12,_0x533e18,_0x37b7a8){const _0x45e8e2=_0x584e12[_0x5904('0xf6')]()[_0x5904('0x7a')](_0x533e18);0x0!==_0x45e8e2['length']?0x1!==_0x45e8e2['length']?this[_0x5904('0x80')](_0x584e12,_0x533e18['start'],_0x533e18[_0x5904('0xee')]):this[_0x5904('0x10e')](_0x584e12,_0x45e8e2[0x0]):_0x37b7a8[_0x5904('0x103')](_0x584e12[_0x5904('0x115')]());}}class Bt{constructor(_0x16b920){this[_0x5904('0x3b')]=_0x16b920,this['_model']=_0x16b920[_0x5904('0xea')],this[_0x5904('0xcb')]=new Map(),this[_0x5904('0x15b')]=new Map(),this['_registerDefaultCallbacks']();}[_0x5904('0x8e')](_0x9a63e0,_0x34e981,_0x41c57b,_0x4df6b0,_0x3cfdbe,_0x2bbc0f){return new _0x80ede4(this[_0x5904('0x1')],{'type':_0x9a63e0,'subType':_0x34e981,'id':_0x41c57b,'author':_0x4df6b0,'creator':_0x4df6b0,'attributes':_0x3cfdbe,'onAttributesChange':_0x2bbc0f,'onAccept':(..._0x44e1a6)=>this[_0x5904('0xf8')](_0x9a63e0,_0x34e981,'accept')(..._0x44e1a6),'onDiscard':(..._0xbc098b)=>this[_0x5904('0xf8')](_0x9a63e0,_0x34e981,_0x5904('0x8b'))(..._0xbc098b)});}[_0x5904('0x87')](_0x537599,_0x30989e,_0x36524d,_0x7e577a){const _0x4862ff=_0x537599+':'+_0x30989e+':'+_0x36524d;this[_0x5904('0xcb')]['set'](_0x4862ff,_0x7e577a);}[_0x5904('0xf8')](_0x376245,_0x3e909c,_0x4ffe99){const _0x38ec0b=_0x376245+':'+_0x3e909c+':'+_0x4ffe99;return this[_0x5904('0xcb')][_0x5904('0xf1')](_0x38ec0b)||this['_defaultCallbacks']['get'](_0x376245+':'+_0x4ffe99);}[_0x5904('0x132')](){const _0xa427e3=()=>!0x1,_0x22139f=_0x463297=>{_0x463297[_0x5904('0x17b')]((_0x1b2af2,_0x160936)=>_0x1b2af2[_0x5904('0x18')]['isBefore'](_0x160936[_0x5904('0x18')])?0x1:-0x1),this[_0x5904('0x1')][_0x5904('0x1f')](_0x3f2f39=>{for(const _0x4aac35 of _0x463297){let _0x21eb9d;_0x21eb9d=_0x4aac35[_0x5904('0xee')][_0x5904('0x128')]&&_0x4aac35[_0x5904('0xee')][_0x5904('0x84')]==_0x4aac35['start']['nodeAfter']?_0x3f2f39[_0x5904('0xc1')](_0x4aac35[_0x5904('0x18')]['nodeAfter'],'on'):_0x3f2f39[_0x5904('0xc1')](_0x4aac35),this[_0x5904('0x1')]['deleteContent'](_0x21eb9d,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x1a19d0=(_0x5f23ba,_0x828b25)=>{_0x828b25&&this['_model'][_0x5904('0x1f')](_0x4892dd=>{const {commandName:_0x54b383,commandParams:_0x5f04fc=[]}=_0x828b25,_0x2ac6c9=_0x5f23ba[_0x5904('0x3')](_0x28d94a=>(Rt(_0x28d94a)&&(_0x28d94a=this[_0x5904('0x1')]['createRange'](_0x28d94a['end'])),_0x28d94a))[_0x5904('0x11d')](_0x482aac=>_0x5904('0x100')!==_0x482aac['root'][_0x5904('0x116')]);if(_0x2ac6c9[_0x5904('0x37')]<0x1)return;const _0x332e24=Array[_0x5904('0x123')](this['_model']['document'][_0x5904('0x17d')][_0x5904('0x124')]())[_0x5904('0x3')](_0x20a447=>_0x3da7f8[_0x5904('0x66')](_0x20a447));_0x4892dd[_0x5904('0x7e')](_0x2ac6c9);for(const _0x3eb36d of this['_editor']['commands'][_0x5904('0x172')]())_0x3eb36d[_0x5904('0x14b')]();_0x5f04fc['push']({'forceDefaultExecution':!0x0}),this[_0x5904('0x3b')]['execute'](_0x54b383,..._0x5f04fc);const _0xfbae73=_0x332e24[_0x5904('0x11d')](_0xd41a40=>'$graveyard'!=_0xd41a40[_0x5904('0x10b')][_0x5904('0x116')]);_0xfbae73['length']>0x0&&_0x4892dd[_0x5904('0x7e')](_0xfbae73);for(const _0x545e69 of _0x332e24)_0x545e69[_0x5904('0x6')]();});},_0x4b45bb=(_0x1053c1,_0x12b0c1)=>0x1==_0x1053c1[_0x5904('0x37')]&&0x1==_0x12b0c1[_0x5904('0x37')]&&_0x1053c1[0x0][_0x5904('0xee')]['isEqual'](_0x12b0c1[0x0][_0x5904('0x18')]),_0x439076=(_0x5cd442,_0x2904ca,_0x157b58,_0x5689b1)=>Gt(_0x5cd442,_0x2904ca,_0x157b58,_0x5689b1,this['_model'])?[_0x5cd442,_0x2904ca]:Gt(_0x2904ca,_0x5cd442,_0x5689b1,_0x157b58,this[_0x5904('0x1')])?[_0x2904ca,_0x5cd442]:null;this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x99'),_0xa427e3),this[_0x5904('0x15b')]['set'](_0x5904('0x121'),_0x22139f),this[_0x5904('0x15b')][_0x5904('0xc3')]('insertion:join',_0x4b45bb),this[_0x5904('0x15b')][_0x5904('0xc3')]('insertion:chain',_0x439076),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x108'),_0x22139f),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x13e'),_0xa427e3),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x13'),_0x4b45bb),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x16d'),_0x439076),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x59'),_0x1a19d0),this[_0x5904('0x15b')]['set'](_0x5904('0x1a'),_0xa427e3),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0xe8'),_0x4b45bb),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x154'),_0xa427e3),this[_0x5904('0x15b')]['set'](_0x5904('0x8d'),_0x1a19d0),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0xeb'),_0xa427e3),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0xa1'),_0x4b45bb),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x10a'),_0xa427e3),this[_0x5904('0x15b')]['set'](_0x5904('0x142'),_0xa427e3),this[_0x5904('0x15b')][_0x5904('0xc3')](_0x5904('0x14f'),(_0x1a21b5,_0xaa7b9b)=>{if(!_0xaa7b9b)return;const _0xce7357=this[_0x5904('0x3b')]['plugins'][_0x5904('0xf1')](p);this['_model'][_0x5904('0x1f')](_0x43e263=>{if('$elementName'==_0xaa7b9b[_0x5904('0x13f')])for(const _0x3fbeea of _0x1a21b5){const _0x150e66=_0x3fbeea[_0x5904('0x18')][_0x5904('0x60')],_0x348f40=_0xaa7b9b[_0x5904('0x74')];_0x43e263[_0x5904('0x55')](_0x150e66,_0x348f40);}else{if(_0xce7357[_0x5904('0xd6')](_0xaa7b9b[_0x5904('0x13f')]))for(const _0x5b60ee of _0x1a21b5)void 0x0!==_0xaa7b9b['oldValue']?_0x43e263['setAttribute'](_0xaa7b9b[_0x5904('0x13f')],_0xaa7b9b[_0x5904('0x74')],_0x5b60ee[_0x5904('0x18')]['nodeAfter']):_0x43e263[_0x5904('0x26')](_0xaa7b9b[_0x5904('0x13f')],_0x5b60ee[_0x5904('0x18')][_0x5904('0x60')]);else for(const _0x234fca of _0x1a21b5)_0xaa7b9b[_0x5904('0x74')]?_0x43e263['setAttribute'](_0xaa7b9b['key'],_0xaa7b9b[_0x5904('0x74')],_0x234fca):_0x43e263[_0x5904('0x26')](_0xaa7b9b[_0x5904('0x13f')],_0x234fca);}});}),this[_0x5904('0x15b')][_0x5904('0xc3')]('attribute:join',_0x4b45bb);}}function xt(_0x4e671c,_0x5690c4,_0xf5b393){for(const _0x3614f3 of _0x5690c4[_0x5904('0x84')][_0x5904('0xdf')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x3614f3[_0x5904('0x10b')]==_0x3614f3)return!0x1;if(!_0xf5b393[_0x5904('0x8c')](_0x3614f3))return!0x1;if(_0x4e671c[_0x5904('0xbb')](_0x3614f3)||_0x4e671c['isLimit'](_0x3614f3))return!0x0;}return!0x1;}function Rt(_0x412f97){return _0x412f97['end']['parent']==_0x412f97['start'][_0x5904('0x60')]&&_0x412f97['end'][_0x5904('0x146')];}function Tt(_0x7466b7,_0x1f06f6,_0x2c605e,_0x5d8f30){const _0x20c35c=_0x2fa473=>!_0x2fa473[_0x5904('0x9b')]['is'](_0x5904('0xb4'))&&!_0x5d8f30[_0x5904('0xbb')](_0x2fa473['item']),_0x2e05f3=_0x7466b7[_0x5904('0x18')][_0x5904('0x88')](_0x20c35c),_0x51e2=_0x7466b7[_0x5904('0xee')][_0x5904('0x88')](_0x20c35c,{'direction':_0x5904('0x12d')});return(!_0x7466b7[_0x5904('0x18')][_0x5904('0x13d')](_0x2e05f3)||!_0x7466b7['end'][_0x5904('0x13d')](_0x51e2))&&(_0x2e05f3['isBefore'](_0x51e2)?_0x2c605e['updateMarker'](_0x1f06f6,{'range':_0x2c605e[_0x5904('0x133')](_0x2e05f3,_0x51e2)}):_0x2c605e[_0x5904('0x103')](_0x1f06f6),!0x0);}function Et(_0x112675){return _0x41c87c(_0x112675);}function Vt(_0x4db02c){const _0x42f484=_0x4db02c[_0x5904('0x18')][_0x5904('0x60')];return _0x42f484&&_0x42f484['is'](_0x5904('0x9c'));}function Ut(_0x19fb30,_0x59681c){return null==_0x19fb30[_0x5904('0xee')][_0x5904('0x96')]&&_0x19fb30[_0x5904('0xee')]['parent']==_0x19fb30[_0x5904('0x18')][_0x5904('0x60')]?Ot(_0x19fb30[_0x5904('0x18')][_0x5904('0x60')],_0x59681c):_0x19fb30;}function Ot(_0x38ffa5,_0x264575){const _0x357cc8=_0x264575[_0x5904('0xa9')][_0x5904('0xbb')](_0x38ffa5)||_0x264575[_0x5904('0xa9')][_0x5904('0x78')](_0x38ffa5);return _0x264575[_0x5904('0x133')](_0x264575[_0x5904('0x82')](_0x38ffa5,_0x5904('0x16a')),_0x357cc8?_0x264575[_0x5904('0x183')](_0x38ffa5):_0x264575[_0x5904('0x82')](_0x38ffa5,_0x5904('0xee')));}function Gt(_0x1532a9,_0x3adae6,_0x4c6cbb,_0x4abc93,_0x588677){if(!Ft(_0x1532a9,_0x3adae6))return!0x1;if(_0x4c6cbb[_0x5904('0xee')][_0x5904('0x13d')](_0x4abc93['start']))return!0x0;if(_0x1532a9[_0x5904('0x179')]!=_0x3adae6[_0x5904('0x179')])return!0x1;if(!_0x4c6cbb[_0x5904('0xee')][_0x5904('0x166')](_0x4abc93['start']))return!0x1;const _0xc9cb98=_0x588677['createRange'](_0x4c6cbb[_0x5904('0xee')],_0x4abc93[_0x5904('0x18')])[_0x5904('0xed')]();for(const _0x2fab5a of _0xc9cb98)if([_0x5904('0x2f'),_0x5904('0x6c')][_0x5904('0x14c')](_0x2fab5a[_0x5904('0x179')])&&_0x588677[_0x5904('0xa9')][_0x5904('0x11f')](_0x2fab5a[_0x5904('0x9b')]))return!0x1;return!0x0;}function Ft(_0x3404b2,_0x17cd01,_0x2dfe99=[]){return!(!_0x3404b2['_isDataLoaded']||!_0x17cd01[_0x5904('0x180')])&&_0x35c4e3(_0xed44df(_0x3404b2[_0x5904('0x12c')],_0x2dfe99),_0xed44df(_0x17cd01['attributes'],_0x2dfe99));}function Pt(_0x5c139d,_0x421336){const _0xaf6ab9=Lt(_0x5c139d['attributes']),_0x39f4f1=Lt(_0x421336);if(!_0x5c139d[_0x5904('0x180')])return!0x1;for(const _0x45eba1 of Object['keys'](_0x39f4f1))if(!_0x35c4e3(_0xaf6ab9[_0x45eba1],_0x39f4f1[_0x45eba1]))return!0x1;return!0x0;}function Lt(_0x230062){const _0x324995=Object['assign']({},_0x230062);return delete _0x324995['skipNestingCheck'],delete _0x324995[_0x5904('0x17c')],_0x324995;}
|