@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240131.0 → 0.0.0-nightly-20240202.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/build/track-changes.js +1 -1
- package/build/translations/ro.js +1 -1
- package/lang/translations/ro.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5817=['createRange','ck-suggestion-marker-','_inlineAttributeKeys','ck-suggestion-marker-formatBlock','markerToData','_joinWithAdjacentSuggestions','change','attributeKey','CommentsRepository','createPositionAt','markBlockFormat','getShiftedBy','deletion','isMultiRange','removeAttribute','addMarker:suggestion:formatBlock','editing','oldValue','multipleBlocks','getFirstRange','_descriptionFactory','markAttributeChange','backward','reconvertMarker','toViewElement','listenTo','insertion:chain','rethrowUnexpectedError','$text','_registerDefaultCallbacks','insert','getFirstMarker','buildSuggestion','_suggestionState','authorName','_getExternalAuthor','get','editor','catch','track-changes-adapter-missing-getsuggestion','has','$marker','_isForcedDefaultExecutionBlock','addMarkerName','external:','hasComments','_isBlockAttribute','howMany','createPositionBefore','_customCallbacks','before','unbind','formatInline:','isOwn','start','addSuggestionData','startsWith','next','schema','adapter','_defaultCallbacks','getChangedMarkers','_reduceExistingSuggestions','_createSuggestion','oldRange','fromCharCode','error-saving-suggestion-data-suggestion-discarded','discardAllSuggestions','addMarker','ENTER','high','enableCommand','attribute:join','resolve','addCommentThread','lowest','PENDING_ACTION_SUGGESTION','never','_registerInlineAttribute','_rangeIsInLocalUserInsertion','_blockAttributeKeys','_registerBlockAttribute','addSuggestion','plugins','unbindElementFromMarkerName','accepted','removed','rootName','hasSuggestion','previous','_checkSuggestionCorrectness','groupId','add','track-changes-suggestion-not-found','length','suggestionLoaded','markDeletion','ariaLiveAnnouncer','getMarkers','containsRangeInObject','dataDowncast','formatBlock:','markerToHighlight','dataReady','root','createSelection','_setSuggestionRange','attributes','getWalker','always','low','_updateSuggestionData','markInsertion','markerReady','_getAttributeKey','upcast','isObject','isAtEnd','showSuggestionHighlights','addMarker:suggestion','delete','markMultiRangeBlockFormat','attributeNewValue','newRange','splice','elementToElement','createdAt','some','_enabledCommands','skipNestingCheck','pop','containsPosition','acceptAllSuggestions','tablePasteChainId','assign','data','applyOperation','forward','trackChanges','getAllAdjacentSuggestions','comments','change:_saved','trackChangesCommand','formatBlock','format','isUndo','key','removeMarkers','conversion','isLocal','_addSuggestionMarker','getIntersection','after','split','isTouching','element','isBefore','concat','getNearestSelectionRange','_getSuggestionData','addMarker:suggestion:attribute','formatInline','_refreshAttributeSuggestionsChain','getDifference','subType','deleteContent','forceDefaultExecution','data-suggestion','acceptSelectedSuggestions','multi','ck-suggestion-marker--active','getMultiRangeId','_initAriaMarkerChangeAnnouncements','then','ck-suggestion-marker','item','insertion:discard','meta','$elementName','_suggestionFactory','originalSuggestionId','activeMarkers','size','parent','config','setTo','suggestion','targetPosition','options','_recordAttributeChanges','isEqual','$graveyard','creator','insertContent','differ','marker-count','getLastMatchingPosition','$textProxy','track-changes-suggestion-data-mismatch','_removeSuggestion','_commentsRepository','values','addClass','_refreshSuggestionsChain','getItems','_saved','enqueueChange','from','getAncestors','setAttribute','formatBlock:discard','notReady','author','_processAttributeChanges','selection','@external','map','group','_model','consume','deletion:join','containerElement','track-changes-user-not-found','mapper','position','value','every','discard','filter','_editor','_suggestions','default','enableReadOnlyMode','removeMarker','batch','type','locale','_adapter','_enableDefaultAttributesIntegration','isBlock','chain','registerPostFixer','getCustomProperty','getSuggestion','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.','removeClass','updateMarker','nodeAfter','acceptSuggestion','execute','stop','_SUGGESTION_ANNOUNCEMENT','Users','isInContent','sort','attribute:discard','_processAttributeSuggestions','substr','suggestionChanged','createElement','createRangeIn','isNextTo','getChanges','deletion:chain','formatInline:chain','set','includes','isCollapsed','_isDataLoaded','isArray','_getMarkerAnnouncementText','markers','_trackFormatChanges','_isRegisteredAttribute','normal','authoredAt','unshift','fetchCommentThread','addComment','requires','setSelection','range','markerName','removeComment','discardSelectedSuggestions','getAttribute','_addThreadToSuggestion','define','return','updateSuggestion','trackChanges.trackFormatChanges','detach','_element','_mergeNestedSuggestions','accept','_breakSuggestionMarker','deletion:','fromRange','toUpperCase','_setSuggestionData','rename','newValue','getRanges','end','refresh','nodeBefore','PendingActions','suggestion:','markInlineFormat','formatGroupId','markMultiRangeDeletion','for','elementStart','keys','_reduceSuggestionAttributeRange','join','attribute:accept','getCommentThread','_findSuggestions','LEAVE','toJSON','commands','getUser','isAfter','writer','removeMarker:suggestion:attribute','_splitMarkerName','containsRange','fire','pluginName','isIntersectingWithRange','elementEnd','isExternal','push','getSuggestions','isInsideObject','discardSuggestion','attribute','isIntersecting','insertion','_recordAttributeSuggestions','formatInline:discard','getContainedElement','find','isRemovable','editingDowncast','attributeOldValue','highest','_joinSuggestions','track-changes-enable-command-twice','rejected','FORMATTING','consumable','formatBlock:join','widget','name','model','change:data','moveTargetPosition','addUser','addRange','isLimit','forEach','remove','head','commentThread','document','formatInline:join','trackChanges.mergeNestedSuggestions','isAtStart','getSuggestionCallback','ready'];(function(_0x1dd09b,_0x581771){const _0x47988e=function(_0x24cb08){while(--_0x24cb08){_0x1dd09b['push'](_0x1dd09b['shift']());}};_0x47988e(++_0x581771);}(_0x5817,0xe1));const _0x4798=function(_0x1dd09b,_0x581771){_0x1dd09b=_0x1dd09b-0x0;let _0x47988e=_0x5817[_0x1dd09b];return _0x47988e;};import{Plugin as _0x1c0917,PendingActions as _0x49f735}from'ckeditor5/src/core.js';import{LiveRange as _0x29be14}from'ckeditor5/src/engine.js';import{CKEditorError as _0x2e9c34,uid as _0x54da7a,priorities as _0xacd8ad,logWarning as _0x4ae452}from'ckeditor5/src/utils.js';import{toWidget as _0x24b1f0}from'ckeditor5/src/widget.js';import{Users as _0x260be3,hashObject as _0x32f53a,surroundingMarkersDetector as _0x58fb5a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x48bb1e from'./commands/trackchangescommand.js';import _0x50164f from'./commands/acceptsuggestioncommand.js';import _0x4ad637 from'./commands/discardsuggestioncommand.js';import _0x44da7b from'./commands/executeonallsuggestionscommand.js';import _0xa8c88 from'./commands/executeonselectedsuggestionscommand.js';import _0x75b5b8 from'./suggestion.js';import _0x5ee768 from'./suggestiondescriptionfactory.js';import _0x484414 from'./integrations/aiassistant.js';import _0x2f3176 from'./integrations/alignment.js';import _0x485466 from'./integrations/basicstyles.js';import _0x1644a9 from'./integrations/blockquote.js';import _0x15be2c from'./integrations/casechange.js';import _0x510d52 from'./integrations/ckbox.js';import _0x2ea82c from'./integrations/codeblock.js';import _0x20558f from'./integrations/comments.js';import _0x3ca81c from'./integrations/deletecommand.js';import _0x5c548a from'./integrations/list.js';import _0x3ed128 from'./integrations/listproperties.js';import _0x37903f from'./integrations/entercommand.js';import _0x353c2b from'./integrations/findandreplace.js';import _0x5b9d7a from'./integrations/font.js';import _0xb7dec7 from'./integrations/formatpainter.js';import _0x659bf2 from'./integrations/heading.js';import _0x24ef2a from'./integrations/highlight.js';import _0x42c617 from'./integrations/horizontalline.js';import _0x2fb620 from'./integrations/htmlembed.js';import _0xd0ed00 from'./integrations/image.js';import _0x4e4794 from'./integrations/imagereplace.js';import _0x702cb9 from'./integrations/imagestyle.js';import _0x17a06d from'./integrations/importword.js';import _0x5b989a from'./integrations/indent.js';import _0x152711 from'./integrations/inputcommand.js';import _0x4a5cf9 from'./integrations/link.js';import _0x486e9f from'./integrations/legacylist.js';import _0x1ef030 from'./integrations/legacylistproperties.js';import _0x16c3d8 from'./integrations/mediaembed.js';import _0x4825ba from'./integrations/mention.js';import _0x4cfbf2 from'./integrations/pagebreak.js';import _0x52234d from'./integrations/paragraph.js';import _0x8514e5 from'./integrations/removeformat.js';import _0x563dd9 from'./integrations/restrictededitingmode.js';import _0x1ede09 from'./integrations/shiftentercommand.js';import _0x14cfa1 from'./integrations/standardeditingmode.js';import _0x5307c3 from'./integrations/style.js';import _0x28be55 from'./integrations/table.js';import _0x446295 from'./integrations/tablemergesplit.js';import _0x3273ed from'./integrations/tableheadings.js';import _0x1f929c from'./integrations/tableclipboard.js';import _0xfcccba from'./integrations/tablecolumnresize.js';import _0x3343fe from'./integrations/template.js';import _0x59f2ef from'./integrations/tableofcontents.js';import _0x18aef from'./integrations/title.js';import _0x22e176 from'./integrations/undo.js';import _0x2d9d87 from'./integrations/tablecaption.js';import _0x1b7e41 from'./integrations/tableproperties.js';import{getTranslation as _0x5379c0}from'./utils/common-translations.js';import{isEqual as _0x1c6142,omit as _0x55cd11}from'lodash-es';export const renameAttributeKey=_0x4798('0x145');export default class p extends _0x1c0917{static get[_0x4798('0x36')](){return[_0x4798('0x9b'),_0x260be3,_0x49f735,_0x484414,_0x2f3176,_0x485466,_0x1644a9,_0x510d52,_0x15be2c,_0x2ea82c,_0x20558f,_0x3ca81c,_0x37903f,_0x353c2b,_0x5b9d7a,_0xb7dec7,_0x659bf2,_0x24ef2a,_0x42c617,_0x2fb620,_0xd0ed00,_0x702cb9,_0x4e4794,_0x17a06d,_0x5b989a,_0x152711,_0x486e9f,_0x1ef030,_0x4a5cf9,_0x5c548a,_0x3ed128,_0x16c3d8,_0x4825ba,_0x4cfbf2,_0x52234d,_0x8514e5,_0x563dd9,_0x1ede09,_0x14cfa1,_0x5307c3,_0x28be55,_0x446295,_0x3273ed,_0x2d9d87,_0x1f929c,_0xfcccba,_0x59f2ef,_0x1b7e41,_0x3343fe,_0x18aef,_0x22e176];}static get[_0x4798('0x68')](){return'TrackChangesEditing';}constructor(_0x118f58){function _0x474876(_0x38d194){return _0x38d194[_0x4798('0x16b')](_0x17bbe6=>String[_0x4798('0xd4')](_0x17bbe6))[_0x4798('0x5a')]('');}super(_0x118f58),this['_recordAttributeSuggestions']=!0x1,this['set'](_0x4798('0x148'),[]),this['on']('change:activeMarkers',(_0x36cf2b,_0x698524,_0x1a397e,_0x1151f7)=>{this[_0x4798('0x16d')][_0x4798('0x99')](()=>{for(const _0x4fcb92 of[..._0x1151f7,..._0x1a397e])this[_0x4798('0x16d')][_0x4798('0x2e')][_0x4798('0xbb')](_0x4fcb92)&&_0x118f58[_0x4798('0xa3')][_0x4798('0xaa')](_0x4fcb92);});}),this[_0x4798('0xa7')]=new _0x5ee768(this[_0x4798('0xb8')][_0x4798('0x83')][_0x4798('0xcd')],this[_0x4798('0xb8')]['locale']),this[_0x4798('0xc')]=null,this[_0x4798('0x146')]=new Bt(this[_0x4798('0xb8')]),this[_0x4798('0x5')]=new Map(),this[_0x4798('0x15b')]=_0x118f58[_0x4798('0xe6')]['get'](_0x4798('0x9b')),this[_0x4798('0x113')]=new Set(),this[_0x4798('0x16d')]=this[_0x4798('0xb8')][_0x4798('0x83')],this[_0x4798('0xb4')]=new WeakMap(),this[_0x4798('0xbd')]=!0x1,this[_0x4798('0xe3')]=new Set(['$elementName']),this[_0x4798('0x95')]=new Set(),_0x118f58[_0x4798('0x14b')][_0x4798('0x3e')](_0x4798('0x41'),_0x4798('0x6')),this[_0x4798('0x2f')]=_0x118f58['config'][_0x4798('0xb7')](_0x4798('0x41')),_0x118f58['config'][_0x4798('0x3e')]('trackChanges.mergeNestedSuggestions',!0x0),this[_0x4798('0x44')]=_0x118f58[_0x4798('0x14b')][_0x4798('0xb7')](_0x4798('0x8f')),this['trackChangesCommand']=new _0x48bb1e(_0x118f58,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements'](),this[_0x474876([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x474876([0x34,0x30,0x34,0x38,0x30,0x32,0x36,0x32]);}['init'](){const _0xca38a2=this['editor'],_0x3bbb84=(_0x1be020,_0x22163d)=>{if('attribute'!=_0x1be020)return _0x4798('0x94')+_0x1be020;const _0x173cb3=_0x22163d[_0x4798('0x12c')]('|')[0x0];return this['_isBlockAttribute'](_0x173cb3)?_0x4798('0x96'):'ck-suggestion-marker-formatInline';};_0xca38a2['conversion'][_0x4798('0x56')](_0x4798('0x78'))[_0x4798('0xf9')]({'model':_0x4798('0x14d'),'view':_0x37a96e=>{const {id:_0x1afbf5,type:_0x22aad5,subType:_0x2fa41a}=this[_0x4798('0x65')](_0x37a96e[_0x4798('0x39')]),_0x50f5d1=['ck-suggestion-marker',_0x3bbb84(_0x22aad5,_0x2fa41a)];let _0x820a3f=0xbb8;return this['activeMarkers'][_0x4798('0x29')](_0x37a96e[_0x4798('0x39')])&&(_0x50f5d1['push'](_0x4798('0x13d')),_0x820a3f=0xbc2),_0x4798('0x9f')==_0x22aad5&&(_0x820a3f+=0x5),{'classes':_0x50f5d1,'attributes':{'data-suggestion':_0x1afbf5},'priority':_0x820a3f};}}),_0xca38a2[_0x4798('0x127')]['for'](_0x4798('0xf7'))[_0x4798('0xef')](_0x4d183a=>{_0x4d183a['on'](_0x4798('0x10a'),(_0x171383,_0x300f37,_0x1741af)=>{if(!_0x1741af[_0x4798('0x14f')][_0x4798('0x109')])return;const _0x3e8a05=_0x300f37['item'];if(!_0x3e8a05)return;const _0x36e37e=_0x1741af[_0x4798('0x172')][_0x4798('0xab')](_0x3e8a05);_0xca38a2[_0x4798('0x83')][_0x4798('0xcd')]['isObject'](_0x3e8a05)&&_0x36e37e&&!_0x36e37e[_0x4798('0x11')](_0x4798('0x81'))&&_0x36e37e['is'](_0x4798('0x170'))&&_0x24b1f0(_0x36e37e,_0x1741af[_0x4798('0x63')]);},{'priority':_0x4798('0xd9')});}),_0xca38a2[_0x4798('0x127')][_0x4798('0x56')]('dataDowncast')[_0x4798('0xf9')]({'model':_0x4798('0x14d'),'view':(_0x386caf,_0x76499f)=>{if(!_0x76499f['options'][_0x4798('0x109')])return null;const {type:_0x3821cf,subType:_0x3c38ad}=this[_0x4798('0x65')](_0x386caf[_0x4798('0x39')]);return{'classes':[_0x4798('0x141'),_0x3bbb84(_0x3821cf,_0x3c38ad)],'priority':0xbb8};}});const _0x2af93b=({showActiveMarkers:_0x2930ca=!0x0,isAttributeSuggestion:_0x216a63=!0x1}={})=>(_0x2070ea,_0xe09970,_0x4fef64)=>{if(!_0xe09970[_0x4798('0x142')])return;const {id:_0x43d026}=this[_0x4798('0x65')](_0xe09970[_0x4798('0x39')]);if(_0x216a63){const _0x26e2b4=this[_0x4798('0x5')][_0x4798('0xb7')](_0x43d026),_0x58344b=this[_0x4798('0x105')](_0x26e2b4);if(!this[_0x4798('0xc1')](_0x58344b))return;}if(_0xe09970[_0x4798('0x142')]['is']('selection'))return void _0x4fef64['consumable'][_0x4798('0x16e')](_0xe09970[_0x4798('0x142')],_0x2070ea[_0x4798('0x82')]);const _0x4d2aad=_0x4fef64[_0x4798('0x172')][_0x4798('0xab')](_0xe09970[_0x4798('0x142')]);if(_0xe09970[_0x4798('0x142')]['is'](_0x4798('0x12e'))&&_0xca38a2['model'][_0x4798('0xcd')][_0x4798('0xe')](_0xe09970[_0x4798('0x142')])&&!_0x4d2aad[_0x4798('0x11')]('addHighlight')){_0x4fef64['writer']['addClass']([_0x4798('0x141'),_0x4798('0x96')],_0x4d2aad),_0x4fef64['writer']['setAttribute']('data-suggestion',_0x43d026,_0x4d2aad),_0x4fef64['mapper']['bindElementToMarker'](_0x4d2aad,_0xe09970[_0x4798('0x39')]),_0x2930ca&&(this[_0x4798('0x148')][_0x4798('0x29')](_0xe09970[_0x4798('0x39')])?_0x4fef64['writer'][_0x4798('0x15d')](_0x4798('0x13d'),_0x4d2aad):_0x4fef64[_0x4798('0x63')][_0x4798('0x14')]('ck-suggestion-marker--active',_0x4d2aad));for(const _0x5dc5c5 of _0xca38a2['model'][_0x4798('0x23')](_0xe09970[_0x4798('0x142')])[_0x4798('0x15f')]())_0x4fef64[_0x4798('0x7f')][_0x4798('0x16e')](_0x5dc5c5,_0x2070ea['name']);_0x4fef64[_0x4798('0x7f')][_0x4798('0x16e')](_0xe09970[_0x4798('0x142')],_0x2070ea['name']);}};_0xca38a2[_0x4798('0x127')][_0x4798('0x56')]('dataDowncast')[_0x4798('0xef')](_0x5ef1d8=>{_0x5ef1d8['on'](_0x4798('0xa2'),(_0x4ded7f,_0x23134b,_0x29a695)=>{_0x29a695[_0x4798('0x14f')][_0x4798('0x109')]&&_0x2af93b({'showActiveMarkers':!0x1})(_0x4ded7f,_0x23134b,_0x29a695);},{'priority':_0x4798('0x7a')});}),_0xca38a2[_0x4798('0x127')][_0x4798('0x56')](_0x4798('0xf7'))['add'](_0x594b5c=>{_0x594b5c['on'](_0x4798('0x133'),(_0x54c402,_0x3709f6,_0xa95959)=>{_0xa95959[_0x4798('0x14f')][_0x4798('0x109')]&&_0x2af93b({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x54c402,_0x3709f6,_0xa95959);},{'priority':_0x4798('0x7a')});}),_0xca38a2[_0x4798('0x127')]['for'](_0x4798('0xf7'))[_0x4798('0x97')]({'model':_0x4798('0x14d'),'view':(_0x2b70d7,_0x22e8d4)=>_0x22e8d4[_0x4798('0x14f')][_0x4798('0x109')]?null:{'group':'suggestion','name':_0x2b70d7[_0x4798('0x20')](0xb)}}),_0xca38a2['conversion']['for']('upcast')[_0x4798('0x110')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x492a3b,{writer:_0x1cfdd4})=>{let _0x1d107b=_0x4798('0x52')+_0x492a3b[_0x4798('0x3c')]('suggestion-type')+':'+_0x492a3b['getAttribute']('id');return _0x492a3b['getAttribute'](_0x4798('0x156'))&&(_0x1d107b+=':'+_0x492a3b[_0x4798('0x3c')](_0x4798('0x156'))),_0x1cfdd4[_0x4798('0x22')](_0x4798('0xbc'),{'data-name':_0x1d107b});}}),_0xca38a2[_0x4798('0x127')][_0x4798('0x56')](_0x4798('0x106'))['dataToMarker']({'view':'suggestion'}),_0xca38a2[_0x4798('0x127')][_0x4798('0x56')](_0x4798('0x78'))[_0x4798('0xef')](_0x421871=>{_0x421871['on'](_0x4798('0xa2'),_0x2af93b(),{'priority':_0x4798('0xd9')});}),_0xca38a2[_0x4798('0x127')][_0x4798('0x56')](_0x4798('0x78'))['add'](_0x3dee14=>{_0x3dee14['on'](_0x4798('0x133'),_0x2af93b({'isAttributeSuggestion':!0x0}),{'priority':_0x4798('0xd9')});}),_0xca38a2[_0x4798('0x127')]['for'](_0x4798('0x78'))[_0x4798('0xef')](_0x2a9b0a=>{_0x2a9b0a['on']('removeMarker:suggestion:formatBlock',(_0x4af4ea,_0x3592fb,_0x302929)=>{const _0x447dc7=_0x302929[_0x4798('0x172')]['markerNameToElements'](_0x3592fb[_0x4798('0x39')]);if(_0x447dc7)for(const _0x368048 of _0x447dc7)_0x368048[_0x4798('0x11')]('addHighlight')||(_0x302929[_0x4798('0x63')][_0x4798('0x14')]([_0x4798('0x141'),_0x4798('0x96'),'ck-suggestion-marker--active'],_0x368048),_0x302929['writer'][_0x4798('0xa1')]('data-suggestion',_0x368048),_0x302929[_0x4798('0x172')][_0x4798('0xe7')](_0x368048,_0x3592fb[_0x4798('0x39')]));},{'priority':_0x4798('0xd9')});}),_0xca38a2['conversion'][_0x4798('0x56')](_0x4798('0x78'))['add'](_0x2318c9=>{_0x2318c9['on'](_0x4798('0x64'),(_0x188011,_0x364144,_0x917499)=>{const _0x4ce6cd=_0x917499[_0x4798('0x172')]['markerNameToElements'](_0x364144[_0x4798('0x39')]);if(!_0x4ce6cd)return;const {id:_0x2eeeeb}=this['_splitMarkerName'](_0x364144['markerName']),_0x36033d=this[_0x4798('0x5')][_0x4798('0xb7')](_0x2eeeeb),_0x14be01=this['_getAttributeKey'](_0x36033d);if(this[_0x4798('0xc1')](_0x14be01))for(const _0x1c5637 of _0x4ce6cd)_0x1c5637[_0x4798('0x11')]('addHighlight')||(_0x917499[_0x4798('0x63')][_0x4798('0x14')]([_0x4798('0x141'),'ck-suggestion-marker-formatBlock',_0x4798('0x13d')],_0x1c5637),_0x917499[_0x4798('0x63')]['removeAttribute'](_0x4798('0x13a'),_0x1c5637),_0x917499['mapper'][_0x4798('0xe7')](_0x1c5637,_0x364144['markerName']));},{'priority':'high'});}),_0xca38a2['model'][_0x4798('0x8d')][_0x4798('0x10')](_0x129c6a=>{let _0x4a224e=!0x1;const _0x1639da=Array['from'](_0xca38a2[_0x4798('0x83')]['document'][_0x4798('0x155')]['getChangedMarkers']()),_0x31f29f=new Set();for(const {name:_0x2f8b22,data:_0x3c22d6}of _0x1639da){const {group:_0x2eb885,type:_0x2d0133,subType:_0x4b22ea,id:_0x5bcc88}=this[_0x4798('0x65')](_0x2f8b22);if(_0x4798('0x14d')!==_0x2eb885)continue;const _0x3f313e=this[_0x4798('0x5')][_0x4798('0xb7')](_0x5bcc88);if(null!=_0x3c22d6[_0x4798('0x10e')]){_0x4798('0x134')==_0x2d0133&&(_0x4a224e=_0x4a224e||Tt(_0x3c22d6[_0x4798('0x10e')],_0x2f8b22,_0x129c6a,_0xca38a2[_0x4798('0x83')][_0x4798('0xcd')]));const _0x12128c='attribute'==_0x2d0133&&this['_isBlockAttribute'](_0x4b22ea[_0x4798('0x12c')]('|')[0x0]);if(_0x3c22d6[_0x4798('0x10e')][_0x4798('0x2a')]||_0x4798('0x152')==_0x3c22d6['newRange'][_0x4798('0xfb')][_0x4798('0xea')]||_0x4798('0x122')==_0x2d0133&&!Vt(_0x3c22d6['newRange'])||_0x12128c&&!Vt(_0x3c22d6[_0x4798('0x10e')])||_0x4798('0x9f')==_0x2d0133&&!(!Rt(_0x4e981f=_0x3c22d6['newRange'])&&!function(_0x280c42){return _0x280c42['start']['parent']==_0x280c42[_0x4798('0x4e')][_0x4798('0x50')]&&_0x280c42[_0x4798('0xc9')][_0x4798('0x108')];}(_0x4e981f)))_0x129c6a[_0x4798('0x8')](_0x2f8b22),_0x4a224e=!0x0;else{if(!_0x3f313e||!_0x3f313e['isInContent'])continue;_0x31f29f[_0x4798('0xef')](_0x3f313e);}}}var _0x4e981f;return _0x31f29f[_0x4798('0x149')]>0x0&&(_0x4a224e=!!this[_0x4798('0x98')](_0x31f29f)||_0x4a224e),_0x4a224e;}),_0xca38a2[_0x4798('0x83')]['document']['registerPostFixer'](_0x53b9c6=>{let _0x2e61c7=!0x1;for(const _0x4627e7 of _0xca38a2[_0x4798('0x83')][_0x4798('0x8d')][_0x4798('0x155')][_0x4798('0x25')]())if(_0x4798('0xb1')==_0x4627e7['type'])for(const _0x1df85e of this[_0x4798('0x5')][_0x4798('0x15c')]()){if(_0x1df85e[_0x4798('0xa0')]||!_0x1df85e[_0x4798('0x1c')])continue;const _0x55f53c=_0x4798('0x122')==_0x1df85e[_0x4798('0xa')],_0x3a88d1=this['_getAttributeKey'](_0x1df85e),_0x27a019=_0x3a88d1&&this['_isBlockAttribute'](_0x3a88d1);if(!_0x55f53c&&!_0x27a019)continue;const _0x457620=_0x1df85e['getFirstRange']();if(_0x457620['start'][_0x4798('0x14a')]!=_0x457620[_0x4798('0x4e')][_0x4798('0x14a')]&&!_0x457620['end'][_0x4798('0x108')]){const _0x177b06=_0xca38a2[_0x4798('0x83')][_0x4798('0x9c')](_0x457620[_0x4798('0xc9')][_0x4798('0x16')],_0x4798('0x4e')),_0x58eb89=_0xca38a2[_0x4798('0x83')][_0x4798('0x93')](_0x457620[_0x4798('0xc9')],_0x177b06);_0x53b9c6['updateMarker'](_0x1df85e[_0x4798('0xb2')](),{'range':_0x58eb89}),_0x2e61c7=!0x0;}}return _0x2e61c7;}),_0xca38a2[_0x4798('0x83')][_0x4798('0x8d')][_0x4798('0x10')](_0x4fcc0a=>this[_0x4798('0x168')](_0x4fcc0a)),_0xca38a2[_0x4798('0x83')][_0x4798('0x8d')][_0x4798('0x10')](_0x3e1b33=>!_0x3e1b33[_0x4798('0x9')][_0x4798('0x128')]&&this[_0x4798('0x1f')](_0x3e1b33)),_0xca38a2[_0x4798('0x83')]['on']('_afterChanges',()=>{this[_0x4798('0x73')]=!0x1;}),_0xca38a2[_0x4798('0x83')][_0x4798('0x8d')]['on'](_0x4798('0x84'),(_0x38363b,_0x2f4a34)=>{if(!_0x2f4a34[_0x4798('0x128')]||_0x2f4a34[_0x4798('0x124')])return;if(!this[_0x4798('0x73')])return;const _0x41e433=_0xca38a2[_0x4798('0x83')][_0x4798('0x8d')][_0x4798('0x155')]['getChanges']();if(0x0==_0x41e433[_0x4798('0xf1')])return;const _0x4a6988=[],_0x36ec8f=_0x41e433['filter'](_0x4eb495=>_0x4798('0x70')==_0x4eb495[_0x4798('0xa')]),_0xb9a387=_0x41e433[_0x4798('0x3')](_0x5a1027=>_0x4798('0xb1')==_0x5a1027[_0x4798('0xa')]&&_0x4798('0xaf')!=_0x5a1027[_0x4798('0x82')]),_0xadc5ab=_0x41e433[_0x4798('0x3')](_0x1ef8e4=>_0x4798('0x8a')==_0x1ef8e4['type']&&_0x4798('0xaf')!=_0x1ef8e4['name']);for(const _0x5a5f08 of _0x36ec8f)this['_isRegisteredAttribute'](_0x5a5f08[_0x4798('0x9a')])&&_0x4a6988['push']({'key':_0x5a5f08[_0x4798('0x9a')],'newValue':_0x5a5f08['attributeNewValue'],'oldValue':_0x5a5f08[_0x4798('0x79')],'range':Ut(_0x5a5f08[_0x4798('0x38')],_0xca38a2[_0x4798('0x83')])});for(const _0x4ea89a of _0xb9a387){const _0x418471=_0xadc5ab['find'](_0x2f5257=>_0x2f5257['_element']===_0x4ea89a[_0x4798('0x43')]);if(_0x418471){const _0x1e4667=Ot(_0x4ea89a[_0x4798('0x173')][_0x4798('0x16')],_0xca38a2['model']);_0x418471[_0x4798('0x82')]!==_0x4ea89a[_0x4798('0x82')]&&_0x4a6988[_0x4798('0x6c')]({'key':'$elementName','newValue':_0x4ea89a[_0x4798('0x82')],'oldValue':_0x418471[_0x4798('0x82')],'range':_0x1e4667});for(const [_0x332cf2,_0x231c8d]of _0x418471[_0x4798('0xfe')]){if(!this[_0x4798('0x30')](_0x332cf2))continue;const _0x2f23af=_0x4ea89a[_0x4798('0xfe')][_0x4798('0xb7')](_0x332cf2);_0x231c8d!==_0x2f23af&&_0x4a6988['push']({'key':_0x332cf2,'newValue':_0x2f23af,'oldValue':_0x231c8d,'range':_0x1e4667});}for(const [_0x3f8da2,_0x473399]of _0x4ea89a['attributes'])this[_0x4798('0x30')](_0x3f8da2)&&(_0x418471['attributes'][_0x4798('0xbb')](_0x3f8da2)||_0x4a6988[_0x4798('0x6c')]({'key':_0x3f8da2,'newValue':_0x473399,'oldValue':null,'range':_0x1e4667}));}}0x0!=_0x4a6988[_0x4798('0xf1')]&&_0xca38a2[_0x4798('0x83')][_0x4798('0x161')](_0x2f4a34,_0x43686c=>{const _0x4aca2a=_0x54da7a();for(const {range:_0x1b7173,key:_0x4da2f9,oldValue:_0x4e5e8c,newValue:_0x8e9a47}of _0x4a6988)this['markAttributeChange'](_0x1b7173,_0x4da2f9,_0x4e5e8c,_0x8e9a47,{'groupId':_0x4aca2a});this[_0x4798('0xd1')](_0x43686c,_0x4a6988);});},{'priority':_0x4798('0xde')}),_0xca38a2[_0x4798('0x83')][_0x4798('0x2e')]['on']('update:suggestion',(_0xcf8dd9,_0x327411,_0x35968c)=>{if(null==_0x35968c){const {id:_0x4bbd29}=this[_0x4798('0x65')](_0x327411['name']),_0x29c9df=this[_0x4798('0x5')]['get'](_0x4bbd29);_0x29c9df&&_0x29c9df[_0x4798('0xbe')](_0x327411[_0x4798('0x82')]);}}),_0xca38a2['model'][_0x4798('0x8d')]['on'](_0x4798('0x84'),()=>{const _0x5a059b=Array[_0x4798('0x162')](_0xca38a2[_0x4798('0x83')]['document'][_0x4798('0x155')]['getChangedMarkers']())[_0x4798('0x3')](_0x256b2d=>'suggestion'===this[_0x4798('0x65')](_0x256b2d['name'])[_0x4798('0x16c')]);if(0x0===_0x5a059b[_0x4798('0xf1')])return;_0x5a059b['sort']((_0x2789f9,_0x3bebef)=>{const _0x5b50f9=_0x2789f9[_0x4798('0x11a')]['oldRange'],_0x42f88b=_0x3bebef[_0x4798('0x11a')][_0x4798('0xd3')];return null===_0x5b50f9&&null===_0x42f88b?0x0:null===_0x5b50f9&&null!==_0x42f88b?-0x1:null!==_0x5b50f9&&null===_0x42f88b?0x1:_0x5b50f9[_0x4798('0xc9')]['isBefore'](_0x42f88b['start'])?-0x1:0x1;});const _0x1a542c=new Set(),_0x35c46c=new Set();for(const {name:_0x249ac9,data:_0x4c9d0b}of _0x5a059b){const {id:_0x4f736b}=this[_0x4798('0x65')](_0x249ac9);if(null===_0x4c9d0b['oldRange']){const _0x287ccd=this['_handleNewSuggestionMarker'](_0x249ac9);_0x35c46c[_0x4798('0xef')](_0x287ccd);}else{const _0x1995f3=this[_0x4798('0x5')][_0x4798('0xb7')](_0x4f736b);null!==_0x4c9d0b[_0x4798('0x10e')]||_0x1995f3[_0x4798('0x1c')]?(_0x1a542c[_0x4798('0xef')](_0x1995f3[_0x4798('0x8b')]),_0x35c46c[_0x4798('0xef')](_0x1995f3)):this[_0x4798('0x15a')](_0x1995f3);}}_0x35c46c['size']>0x0&&this['_refreshSuggestionsChain'](_0x35c46c);for(const _0x57cabe of _0x1a542c)this['fire']('suggestionChanged',_0x57cabe);}),_0xca38a2[_0x4798('0x83')]['on'](_0x4798('0x11b'),(_0x4650f5,_0x4a90de)=>{const _0x3a433e=_0x4a90de[0x0];if(!this[_0x4798('0x5')][_0x4798('0x149')])return;if(!_0x3a433e['isDocumentOperation'])return;if(_0x3a433e[_0x4798('0x9')]['isUndo']||!_0x3a433e[_0x4798('0x9')][_0x4798('0x128')])return;let _0x26ae14,_0x2bcc48;switch(_0x3a433e['type']){case'insert':_0x26ae14=_0xca38a2[_0x4798('0x83')][_0x4798('0x9c')](_0x3a433e[_0x4798('0x173')]),_0x2bcc48=_0x26ae14[_0x4798('0x9e')](_0x3a433e['howMany']);break;case _0x4798('0x12c'):_0x26ae14=_0xca38a2[_0x4798('0x83')][_0x4798('0x9c')](_0x3a433e['splitPosition']),_0x2bcc48=_0xca38a2[_0x4798('0x83')]['createPositionAt'](_0x3a433e[_0x4798('0x85')]);break;case'move':_0x26ae14=_0xca38a2[_0x4798('0x83')][_0x4798('0x9c')](_0x3a433e[_0x4798('0x14e')]),_0x2bcc48=_0x26ae14[_0x4798('0x9e')](_0x3a433e[_0x4798('0xc2')]);break;default:return;}const _0x17fdd5=_0xca38a2['model'][_0x4798('0x93')](_0x26ae14,_0x2bcc48);_0xca38a2['model'][_0x4798('0x99')](()=>{for(const {suggestion:_0x2a86f0,meta:_0x5d0cd4}of this[_0x4798('0x5d')](_0x17fdd5)){if(_0x2a86f0[_0x4798('0xa0')])continue;if(_0x4798('0x134')==_0x2a86f0[_0x4798('0xa')])continue;const _0x4ba9a9=this['_getAttributeKey'](_0x2a86f0);if(_0x4ba9a9&&this[_0x4798('0xc1')](_0x4ba9a9)&&'split'!=_0x3a433e['type'])continue;const _0x2521cc=_0x2a86f0['data']&&_0x2a86f0[_0x4798('0x11a')][_0x4798('0xa5')];(_0x4798('0x122')!=_0x2a86f0[_0x4798('0xa')]||_0x4798('0x12c')==_0x3a433e['type']&&!_0x2521cc)&&(_0x5d0cd4['containsRangeInObject']||'insertion'==_0x2a86f0[_0x4798('0xa')]&&_0x5d0cd4[_0x4798('0xc8')]||_0x2a86f0['getFirstRange']()[_0x4798('0x66')](_0x17fdd5)&&this[_0x4798('0x46')](_0x2a86f0,_0x26ae14,_0x2bcc48));}});},{'priority':'lowest'}),_0xca38a2[_0x4798('0x83')]['on'](_0x4798('0x138'),(_0x5c1908,_0x5b050d)=>{const _0xddffb7=_0x5b050d[0x0],_0x3a7c9a=_0x5b050d[0x1];if(_0x3a7c9a&&_0x3a7c9a[_0x4798('0x139')])return;if(this[_0x4798('0xbd')])return;if(!this[_0x4798('0x121')][_0x4798('0x0')])return;if(_0xddffb7[_0x4798('0x2a')])return;const _0x554815=_0xca38a2['model'][_0x4798('0xcd')],{start:_0x5c57ff,end:_0x92da19}=_0xddffb7['getFirstRange'](),_0xacc2e1=_0x5c57ff[_0x4798('0x16')]&&_0x554815[_0x4798('0x88')](_0x5c57ff[_0x4798('0x16')])?null:_0x554815[_0x4798('0x131')](_0x5c57ff,_0x4798('0x11c')),_0x49d87f=_0x92da19[_0x4798('0x50')]&&_0x554815[_0x4798('0x88')](_0x92da19['nodeBefore'])?null:_0x554815[_0x4798('0x131')](_0x92da19,_0x4798('0xa9')),_0x4768d7=_0xca38a2[_0x4798('0x83')][_0x4798('0x93')](_0xacc2e1?_0xacc2e1['start']:_0x5c57ff,_0x49d87f?_0x49d87f[_0x4798('0x4e')]:_0x92da19);_0xca38a2[_0x4798('0x83')][_0x4798('0x99')](_0x2d36b8=>{this[_0x4798('0xf3')](_0x4768d7);const _0x2d4a88=_0xca38a2['model'][_0x4798('0xcd')][_0x4798('0x131')](_0x4768d7[_0x4798('0xc9')]);_0xddffb7['is']('documentSelection')?_0x2d36b8[_0x4798('0x37')](_0x2d4a88):_0xddffb7[_0x4798('0x14c')](_0x2d4a88);}),_0x5c1908[_0x4798('0x19')]();},{'priority':_0xacd8ad[_0x4798('0x31')]+0xa}),_0xca38a2[_0x4798('0x83')]['on'](_0x4798('0x154'),(_0x2fb758,_0x476a39)=>{const _0x1a9da6=_0x476a39[_0x476a39['length']-0x1];_0x1a9da6&&_0x1a9da6[_0x4798('0x139')]||this[_0x4798('0xbd')]||this[_0x4798('0x121')][_0x4798('0x0')]&&(_0xca38a2['model']['change'](()=>{let _0x1dcb1b=_0xca38a2[_0x4798('0x83')][_0x4798('0x154')](_0x476a39[0x0],_0x476a39[0x1],_0x476a39[0x2],{'forceDefaultExecution':!0x0});if(!_0x1dcb1b)return;_0x2fb758[_0x4798('0x3f')]=_0x1dcb1b['clone']();const _0x37e7ea=_0x1dcb1b[_0x4798('0x4e')][_0x4798('0x50')],_0x48f915=_0xca38a2[_0x4798('0x83')][_0x4798('0xcd')];_0x37e7ea&&_0x48f915[_0x4798('0xe')](_0x37e7ea)&&!_0x48f915[_0x4798('0x107')](_0x37e7ea)&&(_0x1dcb1b=_0xca38a2[_0x4798('0x83')][_0x4798('0x93')](_0x1dcb1b[_0x4798('0xc9')],_0xca38a2[_0x4798('0x83')][_0x4798('0x9c')](_0x37e7ea,_0x4798('0x4e')))),this[_0x4798('0x103')](_0x1dcb1b);}),_0x2fb758[_0x4798('0x19')]());},{'priority':_0x4798('0xd9')}),this[_0x4798('0xb8')][_0x4798('0x60')][_0x4798('0xef')](_0x4798('0x11d'),this[_0x4798('0x121')]),this[_0x4798('0xda')](_0x4798('0x11d'));const _0x324098=new _0x50164f(_0xca38a2,this['_suggestions']);_0xca38a2['commands']['add'](_0x4798('0x17'),_0x324098),this['enableCommand'](_0x4798('0x17'));const _0x5b0807=new _0x4ad637(_0xca38a2,this['_suggestions']);_0xca38a2[_0x4798('0x60')]['add'](_0x4798('0x6f'),_0x5b0807),this[_0x4798('0xda')]('discardSuggestion'),_0xca38a2[_0x4798('0x60')][_0x4798('0xef')](_0x4798('0x117'),new _0x44da7b(_0xca38a2,_0x324098,this[_0x4798('0x5')])),this['enableCommand'](_0x4798('0x117')),_0xca38a2[_0x4798('0x60')][_0x4798('0xef')](_0x4798('0xd6'),new _0x44da7b(_0xca38a2,_0x5b0807,this['_suggestions'])),this[_0x4798('0xda')]('discardAllSuggestions'),_0xca38a2[_0x4798('0x60')]['add'](_0x4798('0x13b'),new _0xa8c88(_0xca38a2,_0x324098,this[_0x4798('0x5')])),this['enableCommand'](_0x4798('0x13b')),_0xca38a2[_0x4798('0x60')][_0x4798('0xef')](_0x4798('0x3b'),new _0xa8c88(_0xca38a2,_0x5b0807,this[_0x4798('0x5')])),this[_0x4798('0xda')]('discardSelectedSuggestions');const _0x403b30=_0xca38a2[_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x9b'));this[_0x4798('0xac')](_0x403b30,_0x4798('0x35'),(_0x42476c,{threadId:_0x5bc0cc})=>{const _0x776e43=this[_0x4798('0x5')][_0x4798('0xb7')](_0x5bc0cc);_0x776e43&&_0x776e43[_0x4798('0x8c')]&&0x1===_0x776e43['commentThread'][_0x4798('0xf1')]&&this[_0x4798('0x102')](_0x5bc0cc,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x403b30,_0x4798('0x3a'),(_0xacb08d,{threadId:_0x788ad8})=>{const _0x505149=this[_0x4798('0x5')][_0x4798('0xb7')](_0x788ad8);_0x505149&&_0x505149[_0x4798('0x8c')]&&!_0x505149[_0x4798('0x8c')][_0x4798('0xf1')]&&this[_0x4798('0x102')](_0x788ad8,{'hasComments':!0x1});},{'priority':_0x4798('0x101')});}set[_0x4798('0xce')](_0x35cefa){if(this[_0x4798('0xc')])throw new _0x2e9c34('track-changes-adapter-already-set',this);this[_0x4798('0xc')]=_0x35cefa;}get[_0x4798('0xce')](){return this['_adapter'];}[_0x4798('0x6d')]({skipNotAttached:_0x37e31f=!0x1,toJSON:_0xad591e=!0x1}={}){const _0x4bd0cd=[];for(const _0x116030 of this[_0x4798('0x5')]['values']())_0x37e31f&&!_0x116030['isInContent']||_0x4bd0cd[_0x4798('0x6c')](_0x116030);return _0xad591e?_0x4bd0cd[_0x4798('0x16b')](_0x1fe3a5=>_0x1fe3a5[_0x4798('0x5f')]()):_0x4bd0cd;}[_0x4798('0x12')](_0x5e78ed){const _0x934c11=this[_0x4798('0x5')]['get'](_0x5e78ed);if(!_0x934c11)throw new _0x2e9c34(_0x4798('0xf0'),this);return _0x934c11;}[_0x4798('0xeb')](_0x3a9b89){return this[_0x4798('0x5')][_0x4798('0xbb')](_0x3a9b89);}[_0x4798('0xca')](_0x47876f){const {authorId:_0x473508,id:_0xc4efbf,attributes:_0x1c0d4e}=_0x47876f,[_0x1bf945,_0x48d901]=_0x47876f['type'][_0x4798('0x12c')](':'),_0x25dc24=this[_0x4798('0x5')][_0x4798('0xb7')](_0xc4efbf)||this[_0x4798('0xd2')](_0x1bf945,_0x48d901,_0xc4efbf,_0x473508,_0x1c0d4e);if(this[_0x4798('0x3d')](_0x25dc24),this[_0x4798('0xed')](_0x25dc24,_0x1bf945,_0x48d901||null,_0x473508),_0x25dc24['createdAt']=_0x47876f[_0x4798('0x111')],_0x25dc24[_0x4798('0x2b')]=!0x0,_0x1c0d4e&&_0x1c0d4e[_0x4798('0x16a')]){const _0x40bf37=_0x1c0d4e[_0x4798('0x16a')],_0x42a13f=this[_0x4798('0xb6')](_0x40bf37[_0x4798('0xb5')]);_0x25dc24[_0x4798('0x32')]=_0x40bf37[_0x4798('0x111')],_0x25dc24['author']=_0x42a13f,_0x25dc24[_0x4798('0x6b')]=!0x0;}else _0x25dc24[_0x4798('0x32')]=_0x47876f[_0x4798('0x111')];switch(_0x47876f['data']&&(_0x25dc24['data']=_0x47876f['data']),_0x47876f[_0x4798('0xfe')]&&(_0x25dc24['attributes']=_0x47876f[_0x4798('0xfe')]),this[_0x4798('0xc')]&&this[_0x4798('0xc')][_0x4798('0xe5')]||(_0x25dc24[_0x4798('0x160')]=!0x0),this[_0x4798('0xb4')]['get'](_0x25dc24)){case _0x4798('0x166'):this['_suggestionState'][_0x4798('0x28')](_0x25dc24,_0x4798('0xfa'));break;case _0x4798('0x104'):_0x25dc24[_0x4798('0x1c')]?(this['_joinWithAdjacentSuggestions'](new Set([_0x25dc24])),this['_refreshSuggestionsChain'](new Set([_0x25dc24])),this['_suggestionState']['set'](_0x25dc24,_0x4798('0x92')),this[_0x4798('0x67')](_0x4798('0xf2'),_0x25dc24)):this['_suggestionState'][_0x4798('0x28')](_0x25dc24,_0x4798('0xe9'));}return _0x25dc24;}[_0x4798('0x17')](_0xa82854){this['forceDefaultExecution'](()=>{this['editor']['model'][_0x4798('0x99')](()=>{for(const _0x58408e of _0xa82854[_0x4798('0x11e')]())_0x58408e[_0x4798('0x45')]();});});}['discardSuggestion'](_0xab4d51){this[_0x4798('0x139')](()=>{this[_0x4798('0xb8')]['model']['change'](()=>{for(const _0x127c79 of _0xab4d51[_0x4798('0x11e')]())_0x127c79[_0x4798('0x2')]();});});}['enableCommand'](_0xd51087,_0x9c27be){const _0x1edfbf=this[_0x4798('0xb8')][_0x4798('0x60')][_0x4798('0xb7')](_0xd51087);if(!_0x1edfbf)throw new _0x2e9c34('track-changes-command-not-found',this,{'commandName':_0xd51087});if(this[_0x4798('0x113')]['has'](_0x1edfbf))throw new _0x2e9c34(_0x4798('0x7c'),this,{'commandName':_0xd51087});this[_0x4798('0x113')][_0x4798('0xef')](_0x1edfbf),_0x9c27be&&_0x1edfbf['on']('execute',(_0x4b1a95,_0x567248)=>{this[_0x4798('0x121')][_0x4798('0x0')]&&(this['_isForcedDefaultExecutionBlock']||(_0x567248[_0x4798('0xf1')]>0x0&&_0x567248[_0x567248[_0x4798('0xf1')]-0x1]&&_0x567248[_0x567248[_0x4798('0xf1')]-0x1]['forceDefaultExecution']?_0x567248[_0x4798('0x115')]():(_0x4b1a95[_0x4798('0x3f')]=_0x9c27be((..._0x5c56f1)=>_0x1edfbf['execute'](..._0x5c56f1,{'forceDefaultExecution':!0x0}),..._0x567248),_0x4b1a95['stop']())));},{'priority':_0x4798('0xd9')});}[_0x4798('0x139')](_0x2256d9){let _0x4b6eff,_0xe46fbf;const _0x3f309d=this['_isForcedDefaultExecutionBlock'];this[_0x4798('0xbd')]=!0x0;try{_0x4b6eff=_0x2256d9();}catch(_0x267c12){_0xe46fbf=_0x267c12;}return _0x3f309d||(this[_0x4798('0xbd')]=!0x1),_0xe46fbf&&_0x2e9c34[_0x4798('0xae')](_0xe46fbf,this),_0x4b6eff;}[_0x4798('0x103')](_0x542da7,_0x242e05=null,_0x3b9660={}){if(_0x542da7[_0x4798('0x2a')])return null;const _0x1174e7=this[_0x4798('0xb8')]['plugins'][_0x4798('0xb7')](_0x4798('0x1b'))['me'];for(const {suggestion:_0x4b3ac0,meta:_0x3a3968}of this[_0x4798('0x5d')](_0x542da7,'insertion'))if(_0x3a3968[_0x4798('0xc8')]){if(!_0x3a3968[_0x4798('0x24')]){if(_0x3a3968[_0x4798('0xf6')]){if(!this[_0x4798('0x44')]||!Pt(_0x4b3ac0,_0x3b9660))continue;return _0x4b3ac0;}if(Pt(_0x4b3ac0,_0x3b9660))return _0x4b3ac0;this[_0x4798('0x46')](_0x4b3ac0,_0x542da7[_0x4798('0xc9')],_0x542da7[_0x4798('0x4e')]);break;}if(_0x242e05==_0x4b3ac0[_0x4798('0x137')]&&Pt(_0x4b3ac0,_0x3b9660)){const _0x188db5=_0x4b3ac0[_0x4798('0xa6')]();return _0x188db5[_0x4798('0xc9')][_0x4798('0x151')](_0x542da7[_0x4798('0x4e')])?this[_0x4798('0xfd')](_0x4b3ac0,this[_0x4798('0x16d')]['createRange'](_0x542da7[_0x4798('0xc9')],_0x188db5[_0x4798('0x4e')])):this[_0x4798('0xfd')](_0x4b3ac0,this[_0x4798('0x16d')][_0x4798('0x93')](_0x188db5[_0x4798('0xc9')],_0x542da7['end'])),_0x4b3ac0;}}const _0x2797c3=_0x54da7a(),_0x5d33c9=_0x1174e7['id'],_0x45fa8f=_0x242e05?'insertion:'+_0x242e05:'insertion',_0x4408ce=this[_0x4798('0x4a')]({'id':_0x2797c3,'type':_0x45fa8f,'createdAt':new Date(),'authorId':_0x5d33c9,'attributes':_0x3b9660});return this[_0x4798('0x129')](_0x45fa8f,_0x2797c3,_0x5d33c9,_0x542da7),_0x4408ce;}['markMultiRangeInsertion'](_0x8b2d55,_0x54fdff=_0x4798('0x13c'),_0x2ec7a0={}){const _0x390188=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x1b'))['me'],_0x280e17=this['_suggestionFactory']['getSuggestionCallback'](_0x4798('0x72'),_0x54fdff,_0x4798('0x5a'));for(const _0x20a12d of this[_0x4798('0x6d')]())if(_0x20a12d[_0x4798('0x167')]['id']==_0x390188['id']&&'insertion'==_0x20a12d[_0x4798('0xa')]&&_0x20a12d[_0x4798('0x137')]==_0x54fdff&&Pt(_0x20a12d,_0x2ec7a0)&&(_0x280e17(_0x20a12d[_0x4798('0x4d')](),_0x8b2d55)||_0x280e17(_0x8b2d55,_0x20a12d[_0x4798('0x4d')]()))){for(const _0x54f04d of _0x8b2d55)_0x20a12d[_0x4798('0x87')](_0x54f04d);return _0x20a12d;}for(const {suggestion:_0x449717,meta:_0x18d682}of this[_0x4798('0x5d')](_0x8b2d55,'insertion')){if(!_0x18d682[_0x4798('0xc8')])continue;if(!this[_0x4798('0x44')]&&_0x18d682['containsRangeInObject'])continue;if(!Pt(_0x449717,_0x2ec7a0))continue;let _0x73ca00=!0x0;for(const _0x2f2944 of _0x449717[_0x4798('0x4d')]())for(const _0x2f1043 of _0x8b2d55)if(!_0x2f2944[_0x4798('0x66')](_0x2f1043)){_0x73ca00=!0x1;break;}if(_0x73ca00)return _0x449717;}const _0x414214=_0x54da7a(),_0x2615fe=_0x390188['id'],_0x1a31a6='insertion:'+_0x54fdff,_0x4a05de=this[_0x4798('0x4a')]({'id':_0x414214,'type':_0x1a31a6,'createdAt':new Date(),'authorId':_0x2615fe,'attributes':_0x2ec7a0});for(const _0x4f89af of _0x8b2d55)this[_0x4798('0x129')](_0x1a31a6,_0x414214,_0x2615fe,_0x4f89af,_0x75b5b8[_0x4798('0x13e')]());return _0x4a05de;}[_0x4798('0x53')](_0x1c55d4,_0x1bf58c,_0x41dc69=null,_0x18c196={}){if(_0x41dc69=_0x41dc69||Et(_0x1bf58c),_0x1c55d4[_0x4798('0x2a')])return null;if(_0x4798('0xe0')===this[_0x4798('0x2f')]){const _0xf5750a=this['_suggestionFactory'][_0x4798('0x91')]('formatInline',_0x41dc69,_0x4798('0x45'));return this['forceDefaultExecution'](()=>_0xf5750a([_0x1c55d4],_0x1bf58c,_0x18c196)),null;}const _0xc6636a=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')]('Users')['me'],_0x4bf91a=[];if(_0x4798('0x100')!==this['_trackFormatChanges'])for(const {suggestion:_0x1e70b2,meta:_0x2284c0}of this[_0x4798('0x5d')](_0x1c55d4,_0x4798('0x72')))_0x2284c0['isOwn']&&!_0x2284c0[_0x4798('0x6e')]&&_0x4bf91a[_0x4798('0x6c')](..._0x1e70b2[_0x4798('0x4d')]());const _0x4e0b43=function(_0x463d9d,_0x2f82ed){const _0x2ae263=[];for(const _0x105989 of _0x2f82ed){const _0x4cc5b1=_0x463d9d[_0x4798('0x12a')](_0x105989);_0x4cc5b1&&_0x2ae263['push'](_0x4cc5b1);}return _0x2ae263;}(_0x1c55d4,_0x4bf91a),_0x110fce=function(_0x530a10,_0x382d2b){const _0x9d3195=[_0x530a10];for(const _0xac612b of _0x382d2b){let _0x3e90e4=0x0;for(;_0x3e90e4<_0x9d3195['length'];){const _0x5d18d7=_0x9d3195[_0x3e90e4][_0x4798('0x136')](_0xac612b);_0x9d3195[_0x4798('0x10f')](_0x3e90e4,0x1,..._0x5d18d7),_0x3e90e4+=_0x5d18d7[_0x4798('0xf1')];}}return _0x9d3195;}(_0x1c55d4,_0x4bf91a);_0x4e0b43[_0x4798('0xf1')]&&this[_0x4798('0x16d')][_0x4798('0x99')](()=>{for(const _0x39e489 of _0x4e0b43){const _0x47f7d0=this[_0x4798('0x146')][_0x4798('0x91')](_0x4798('0x134'),_0x41dc69,_0x4798('0x45'));this[_0x4798('0x139')](()=>_0x47f7d0([_0x39e489],_0x1bf58c,_0x18c196));}});for(const _0x46d46f of _0x110fce){let _0x65c81a=null,_0x19daea=_0x46d46f[_0x4798('0xc9')],_0xf58e4a=_0x46d46f[_0x4798('0x4e')];for(const {suggestion:_0xa74735,meta:_0x161ecd}of this[_0x4798('0x5d')](_0x46d46f,_0x4798('0x134'))){if(!_0x161ecd[_0x4798('0xc8')])continue;if(_0xa74735[_0x4798('0x137')]!=_0x41dc69)continue;if(!Pt(_0xa74735,_0x18c196))continue;const _0x1ac142=_0xa74735[_0x4798('0xa6')]();if(_0x1ac142['containsRange'](_0x46d46f,!0x0))return null;_0x19daea=_0x19daea[_0x4798('0x12f')](_0x1ac142['start'])?_0x19daea:_0x1ac142[_0x4798('0xc9')],_0xf58e4a=_0xf58e4a['isAfter'](_0x1ac142[_0x4798('0x4e')])?_0xf58e4a:_0x1ac142['end'],_0x65c81a?_0x1ac142[_0x4798('0xc9')][_0x4798('0x12f')](_0x65c81a[_0x4798('0xa6')]()['start'])?(_0x65c81a[_0x4798('0x126')](),_0x65c81a=_0xa74735):_0xa74735[_0x4798('0x126')]():_0x65c81a=_0xa74735;}const _0x4da844=this[_0x4798('0x16d')][_0x4798('0x93')](_0x19daea,_0xf58e4a);if(_0x65c81a)this[_0x4798('0xfd')](_0x65c81a,_0x4da844);else{const _0x4ad1ca=_0x54da7a(),_0x24b25f=_0xc6636a['id'];this[_0x4798('0x4a')]({'id':_0x4ad1ca,'type':_0x4798('0xc7')+_0x41dc69,'data':_0x1bf58c,'createdAt':new Date(),'authorId':_0x24b25f,'attributes':_0x18c196}),this[_0x4798('0x129')](_0x4798('0xc7')+_0x41dc69,_0x4ad1ca,_0x24b25f,_0x4da844);}}return null;}[_0x4798('0x9d')](_0x5de43f,_0x5c1ae3,_0x11525f=[],_0x166004=null,_0x42f01c={}){_0x5c1ae3[_0x4798('0x54')]||(_0x5c1ae3[_0x4798('0x54')]=_0x5c1ae3['commandName']),_0x5c1ae3[_0x4798('0xa5')]=_0x5de43f['is'](_0x4798('0x38')),_0x166004=_0x166004||Et(_0x5c1ae3);const _0x457fae=_0x11525f[_0x4798('0x16b')](_0x827536=>Ot(_0x827536,this[_0x4798('0x16d')])),_0x6de614=_0x5de43f['is'](_0x4798('0x38'))?_0x5de43f:Ot(_0x5de43f,this[_0x4798('0x16d')]);if('never'===this[_0x4798('0x2f')]){const _0x1a1866=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x122'),_0x166004,'accept');return this[_0x4798('0x139')](()=>_0x1a1866([_0x6de614],_0x5c1ae3,_0x42f01c)),null;}_0x457fae[_0x4798('0x6c')](_0x6de614);let _0x49e4c0=!0x0;for(const _0x32a21d of _0x457fae)if(!this[_0x4798('0xe2')](_0x32a21d)){_0x49e4c0=!0x1;break;}if(_0x49e4c0&&'always'!==this[_0x4798('0x2f')]){const _0x29c30c=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x122'),_0x166004,_0x4798('0x45'));return this[_0x4798('0x139')](()=>_0x29c30c([_0x6de614],_0x5c1ae3,_0x42f01c)),null;}let _0x1f4985=null,_0x97247f=_0x6de614[_0x4798('0xc9')],_0x5503d5=_0x6de614[_0x4798('0x4e')];for(const {suggestion:_0x2f956b,meta:_0x2bedf9}of this[_0x4798('0x5d')](_0x6de614,_0x4798('0x122'))){if(!_0x2bedf9['isOwn'])continue;if(_0x2bedf9['isNextTo']||_0x2bedf9[_0x4798('0xf6')]||_0x2bedf9[_0x4798('0x6e')])continue;if(_0x2f956b[_0x4798('0x11a')][_0x4798('0x54')]!=_0x5c1ae3[_0x4798('0x54')])continue;if(!Pt(_0x2f956b,_0x42f01c))continue;const _0x3c0aa9=_0x2f956b['getFirstRange']();if(_0x2f956b['subType']==_0x166004){if(_0x3c0aa9[_0x4798('0x66')](_0x6de614,!0x0))return null;_0x97247f=_0x97247f[_0x4798('0x12f')](_0x3c0aa9[_0x4798('0xc9')])?_0x97247f:_0x3c0aa9[_0x4798('0xc9')],_0x5503d5=_0x5503d5['isAfter'](_0x3c0aa9['end'])?_0x5503d5:_0x3c0aa9[_0x4798('0x4e')],_0x1f4985?_0x3c0aa9[_0x4798('0xc9')][_0x4798('0x12f')](_0x1f4985['getFirstRange']()[_0x4798('0xc9')])?(_0x1f4985[_0x4798('0x126')](),_0x1f4985=_0x2f956b):_0x2f956b[_0x4798('0x126')]():_0x1f4985=_0x2f956b;}else{const _0x596eb0=_0x6de614['getIntersection'](_0x3c0aa9);this['_cutOutSuggestionMarker'](_0x2f956b,_0x596eb0);}}const _0x43c94c=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x1b'))['me'],_0x74e261=_0x54da7a(),_0x5ce6f7=_0x43c94c['id'];if(_0x1f4985)return this['_setSuggestionRange'](_0x1f4985,this['_model'][_0x4798('0x93')](_0x97247f,_0x5503d5)),_0x1f4985;{const _0x581962=this[_0x4798('0x4a')]({'id':_0x74e261,'type':_0x4798('0xf8')+_0x166004,'data':_0x5c1ae3,'createdAt':new Date(),'authorId':_0x5ce6f7,'attributes':_0x42f01c});return this[_0x4798('0x129')](_0x4798('0xf8')+_0x166004,_0x74e261,_0x5ce6f7,this[_0x4798('0x16d')][_0x4798('0x93')](_0x97247f,_0x5503d5)),_0x581962;}}[_0x4798('0x10c')](_0x643a9,_0x368d97,_0x483dac=[],_0x467b59=null,_0x1819ee={}){_0x368d97[_0x4798('0x54')]||(_0x368d97[_0x4798('0x54')]=_0x368d97['commandName']);const _0x170428=_0x643a9[0x0];_0x368d97[_0x4798('0xa5')]=_0x170428['is'](_0x4798('0x38')),_0x467b59=_0x467b59||Et(_0x368d97);const _0x5261b8=_0x483dac[_0x4798('0x16b')](_0x4b9d70=>Ot(_0x4b9d70,this[_0x4798('0x16d')])),_0x3d193d=_0x170428['is'](_0x4798('0x38'))?_0x643a9:_0x643a9[_0x4798('0x16b')](_0x1c9ebe=>Ot(_0x1c9ebe,this[_0x4798('0x16d')]));if(_0x4798('0xe0')===this[_0x4798('0x2f')]){const _0x3bbbdd=this[_0x4798('0x146')][_0x4798('0x91')](_0x4798('0x122'),_0x467b59,_0x4798('0x45'));return this[_0x4798('0x139')](()=>_0x3bbbdd(_0x3d193d,_0x368d97,_0x1819ee)),null;}_0x5261b8[_0x4798('0x6c')](..._0x3d193d);let _0x586009=!0x0;for(const _0x55036d of _0x5261b8)if(!this[_0x4798('0xe2')](_0x55036d)){_0x586009=!0x1;break;}if(_0x586009&&_0x4798('0x100')!==this[_0x4798('0x2f')]){const _0x21443f=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x122'),_0x467b59,_0x4798('0x45'));return this[_0x4798('0x139')](()=>_0x21443f(_0x3d193d,_0x368d97,_0x1819ee)),null;}const _0x1f34ac=this[_0x4798('0xb8')]['plugins']['get'](_0x4798('0x1b'))['me'];for(const _0x6e9b86 of this[_0x4798('0x6d')]()){if(_0x6e9b86['author']['id']!=_0x1f34ac['id'])continue;if(_0x4798('0x122')!=_0x6e9b86[_0x4798('0xa')]||_0x6e9b86[_0x4798('0x11a')][_0x4798('0x54')]!=_0x368d97[_0x4798('0x54')])continue;if(!Pt(_0x6e9b86,_0x1819ee))continue;const _0x3f2960=_0x6e9b86[_0x4798('0x137')]==_0x467b59;for(let _0x53ef25=0x0;_0x53ef25<_0x3d193d[_0x4798('0xf1')];_0x53ef25++){const _0xa43845=_0x3d193d[_0x53ef25];for(const _0x7ee427 of _0x6e9b86[_0x4798('0xf5')]()){const _0x546e33=_0x7ee427['getRange']();if(_0xa43845[_0x4798('0x151')](_0x546e33)){_0x3f2960?(_0x3d193d[_0x4798('0x10f')](_0x53ef25,0x1),_0x53ef25--):_0x6e9b86[_0x4798('0x8')](_0x7ee427[_0x4798('0x82')]);break;}}}}if(0x0==_0x3d193d[_0x4798('0xf1')])return null;const _0x4c9c8e=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x122'),_0x467b59,_0x4798('0x5a'));for(const _0xba438c of this[_0x4798('0x6d')]())if(_0xba438c['author']['id']==_0x1f34ac['id']&&_0x4798('0x122')==_0xba438c[_0x4798('0xa')]&&_0xba438c[_0x4798('0x11a')][_0x4798('0x54')]==_0x368d97[_0x4798('0x54')]&&_0xba438c['subType']==_0x467b59&&Pt(_0xba438c,_0x1819ee)&&(_0x4c9c8e(_0xba438c[_0x4798('0x4d')](),_0x3d193d)||_0x4c9c8e(_0x3d193d,_0xba438c[_0x4798('0x4d')]()))){for(const _0x334e2b of _0x3d193d)_0xba438c['addRange'](_0x334e2b);return _0xba438c;}const _0x5dd713=_0x54da7a(),_0x1c1573=_0x1f34ac['id'],_0x285c75='formatBlock:'+_0x467b59,_0x32fdc1=this[_0x4798('0x4a')]({'id':_0x5dd713,'type':_0x285c75,'data':_0x368d97,'createdAt':new Date(),'authorId':_0x1c1573,'attributes':_0x1819ee});for(const _0x224b99 of _0x3d193d)this[_0x4798('0x129')](_0x285c75,_0x5dd713,_0x1c1573,_0x224b99,_0x75b5b8[_0x4798('0x13e')]());return _0x32fdc1;}[_0x4798('0xf3')](_0x48608e,_0x4eb779=null,_0x2a6c7c={}){if(_0x48608e[_0x4798('0x2a')])return null;const _0x373f62=this[_0x4798('0xb8')]['plugins'][_0x4798('0xb7')](_0x4798('0x1b'))['me'],_0x1c7ac7=new _0x29be14(_0x48608e[_0x4798('0xc9')],_0x48608e[_0x4798('0x4e')]);for(const {suggestion:_0x339978,meta:_0x3317b0}of this[_0x4798('0x5d')](_0x1c7ac7,_0x4798('0x72')))if(_0x3317b0['isOwn']&&!_0x3317b0[_0x4798('0x24')]){if(_0x339978[_0x4798('0xa0')]){const _0x565a40=_0x339978[_0x4798('0x4d')]()[_0x4798('0x3')](_0x342cf1=>'$graveyard'!=_0x342cf1['root'][_0x4798('0xea')]);_0x565a40[_0x4798('0x1')](_0x2b2b45=>_0x1c7ac7[_0x4798('0x66')](_0x2b2b45,!0x0))&&_0x339978[_0x4798('0x2')]();if(_0x565a40[_0x4798('0x112')](_0x236813=>_0x236813['containsRange'](_0x1c7ac7,!0x0))){const _0xb55ec1=this[_0x4798('0x146')]['getSuggestionCallback'](_0x4798('0x9f'),_0x4eb779,_0x4798('0x45'));return this[_0x4798('0x139')](()=>_0xb55ec1([_0x1c7ac7],null,_0x2a6c7c)),null;}}else{const _0x1353f2=_0x1c7ac7[_0x4798('0x12a')](_0x339978[_0x4798('0xa6')]());null!==_0x1353f2&&_0x339978['_onDiscard']([_0x1353f2],null,_0x2a6c7c);}}if(_0x1c7ac7[_0x4798('0x42')](),_0x1c7ac7[_0x4798('0x2a')]||'$graveyard'==_0x1c7ac7['root'][_0x4798('0xea')])return null;let _0x31097a=null,_0x2acc4=_0x1c7ac7[_0x4798('0xc9')],_0x4045c7=_0x1c7ac7[_0x4798('0x4e')];const _0x51ba30=this[_0x4798('0x5d')](_0x1c7ac7,'deletion');for(const {suggestion:_0x3428e3,meta:_0x48338e}of _0x51ba30){const _0x3d527c=this[_0x4798('0x16d')][_0x4798('0x93')](_0x2acc4,_0x4045c7);if(_0x48338e['isOwn']&&(this[_0x4798('0x44')]||!_0x48338e[_0x4798('0xf6')]&&!_0x48338e[_0x4798('0x6e')])){if(_0x3428e3[_0x4798('0xa0')]){if(!Pt(_0x3428e3,_0x2a6c7c))continue;let _0x4eb3fa=!0x0;for(const _0x1ed738 of _0x3428e3[_0x4798('0x4d')]()){if(_0x1ed738[_0x4798('0x66')](_0x3d527c,!0x0))return _0x3428e3;_0x3d527c[_0x4798('0x66')](_0x1ed738)||(_0x4eb3fa=!0x1);}_0x4eb3fa&&_0x3428e3[_0x4798('0x2')]();}else{const _0x450387=_0x3428e3[_0x4798('0xa6')]();if(_0x450387[_0x4798('0x66')](_0x3d527c,!0x0))return _0x3428e3;if(!Pt(_0x3428e3,_0x2a6c7c)){_0x3d527c[_0x4798('0x66')](_0x450387)?_0x3428e3['removeMarkers']():_0x450387[_0x4798('0x116')](_0x2acc4)?_0x2acc4=_0x450387['end']:_0x450387[_0x4798('0x116')](_0x4045c7)&&(_0x4045c7=_0x450387['start']);continue;}_0x2acc4=_0x2acc4[_0x4798('0x12f')](_0x450387[_0x4798('0xc9')])?_0x2acc4:_0x450387[_0x4798('0xc9')],_0x4045c7=_0x4045c7[_0x4798('0x62')](_0x450387[_0x4798('0x4e')])?_0x4045c7:_0x450387[_0x4798('0x4e')],_0x2a6c7c=Object[_0x4798('0x119')]({},_0x3428e3[_0x4798('0xfe')]),_0x31097a?_0x450387[_0x4798('0xc9')]['isBefore'](_0x31097a['getFirstRange']()[_0x4798('0xc9')])?(_0x31097a[_0x4798('0x126')](),_0x31097a=_0x3428e3):_0x3428e3['removeMarkers']():_0x31097a=_0x3428e3;}}}if(_0x31097a)return this[_0x4798('0xfd')](_0x31097a,this[_0x4798('0x16d')][_0x4798('0x93')](_0x2acc4,_0x4045c7)),_0x31097a;{const _0x1384f4=_0x54da7a(),_0xf77cdf=this[_0x4798('0x16d')][_0x4798('0x93')](_0x2acc4,_0x4045c7),_0x124908=_0x373f62['id'],_0x1686c3=_0x4eb779?_0x4798('0x47')+_0x4eb779:_0x4798('0x9f'),_0x590257=this[_0x4798('0x4a')]({'id':_0x1384f4,'type':_0x1686c3,'createdAt':new Date(),'authorId':_0x124908,'attributes':_0x2a6c7c});return this[_0x4798('0x129')](_0x1686c3,_0x1384f4,_0x124908,_0xf77cdf),_0x590257;}}[_0x4798('0x55')](_0x487200,_0x506de2='multi',_0x320514={}){const _0x12cd98=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')]('Users')['me'],_0x47c58b=_0x487200[_0x4798('0x16b')](_0x458cea=>new _0x29be14(_0x458cea[_0x4798('0xc9')],_0x458cea['end'])),_0x2971ea=new Set();for(const {suggestion:_0x4b8bc9,meta:_0x811230}of this['_findSuggestions'](_0x47c58b,'insertion'))_0x811230['isOwn']&&!_0x811230[_0x4798('0x24')]&&_0x2971ea[_0x4798('0xef')](_0x4b8bc9);for(const _0x5d1445 of _0x2971ea)if(_0x5d1445[_0x4798('0xa0')]){const _0x44d237=_0x5d1445[_0x4798('0x4d')]();(!_0x5d1445[_0x4798('0xfe')]||!_0x5d1445[_0x4798('0xfe')][_0x4798('0x114')])&&(_0x44d237['every'](_0xda77eb=>_0x47c58b[_0x4798('0x112')](_0x4bd8cc=>_0x4bd8cc['containsRange'](_0xda77eb,!0x0)))&&_0x5d1445[_0x4798('0x2')]());if(_0x47c58b['every'](_0x4f4108=>_0x44d237[_0x4798('0x112')](_0x4bcf41=>_0x4bcf41['containsRange'](_0x4f4108,!0x0)))){const _0x5e6fb2=this[_0x4798('0x146')][_0x4798('0x91')](_0x4798('0x9f'),_0x506de2,_0x4798('0x45'));return this['forceDefaultExecution'](()=>_0x5e6fb2(_0x487200,null,_0x320514)),null;}}else{const _0x3fd15a=_0x5d1445['getFirstRange']();_0x47c58b[_0x4798('0x112')](_0x5f0157=>_0x5f0157['containsRange'](_0x3fd15a,!0x0))&&_0x5d1445[_0x4798('0x2')]();if(_0x47c58b[_0x4798('0x1')](_0x53a65d=>_0x3fd15a[_0x4798('0x66')](_0x53a65d,!0x0))){const _0x105108=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x9f'),_0x506de2,_0x4798('0x45'));return this[_0x4798('0x139')](()=>_0x105108(_0x47c58b,null,_0x320514)),null;}}const _0x173ccc=this['_suggestionFactory'][_0x4798('0x91')](_0x4798('0x9f'),_0x506de2,'join');let _0x48e4db=null;for(const _0x1504e5 of this['getSuggestions']())if(_0x1504e5[_0x4798('0x167')]['id']==_0x12cd98['id']&&_0x1504e5[_0x4798('0x1c')]&&_0x4798('0x9f')==_0x1504e5['type']&&_0x1504e5[_0x4798('0x137')]==_0x506de2&&Pt(_0x1504e5,_0x320514)&&(_0x173ccc(_0x1504e5[_0x4798('0x4d')](),_0x47c58b)||_0x173ccc(_0x47c58b,_0x1504e5['getRanges']()))){if(_0x48e4db){if(_0x1504e5[_0x4798('0x8c')]&&_0x1504e5['commentThread']['length'])continue;for(const _0x4952a7 of _0x1504e5[_0x4798('0x4d')]())_0x48e4db['isIntersectingWithRange'](_0x4952a7)||_0x48e4db[_0x4798('0x87')](_0x4952a7);_0x1504e5[_0x4798('0x126')]();}else{_0x48e4db=_0x1504e5;for(const _0x2a714b of _0x47c58b)_0x1504e5['isIntersectingWithRange'](_0x2a714b)||_0x1504e5['addRange'](_0x2a714b);}}if(_0x48e4db)return _0x48e4db;_0x2971ea['clear']();for(const {suggestion:_0x3420a0,meta:_0x490a3e}of this[_0x4798('0x5d')](_0x47c58b,_0x4798('0x9f')))_0x490a3e[_0x4798('0xc8')]&&(this[_0x4798('0x44')]||!_0x490a3e['containsRangeInObject']&&!_0x490a3e['isInsideObject'])&&Pt(_0x3420a0,_0x320514)&&_0x2971ea[_0x4798('0xef')](_0x3420a0);for(const _0x37060d of _0x2971ea){const _0x348e8a=_0x37060d['getRanges']();if(!_0x320514||!_0x320514[_0x4798('0x114')]){if(_0x47c58b['every'](_0x48ef79=>_0x348e8a[_0x4798('0x112')](_0x5bbfdb=>_0x5bbfdb[_0x4798('0x66')](_0x48ef79,!0x0))))return _0x37060d;}(!_0x37060d[_0x4798('0xfe')]||!_0x37060d[_0x4798('0xfe')][_0x4798('0x114')])&&(_0x348e8a[_0x4798('0x1')](_0x682947=>_0x47c58b['some'](_0x342d8d=>_0x342d8d[_0x4798('0x66')](_0x682947,!0x0)))&&_0x37060d[_0x4798('0x2')]());}const _0x33b6db=_0x54da7a(),_0x150215=_0x12cd98['id'],_0x455841=_0x4798('0x47')+_0x506de2,_0x48d3d5=this[_0x4798('0x4a')]({'id':_0x33b6db,'type':_0x455841,'createdAt':new Date(),'authorId':_0x150215,'attributes':_0x320514});for(const _0x547c48 of _0x47c58b)_0x547c48[_0x4798('0x42')](),_0x547c48[_0x4798('0x2a')]||'$graveyard'==_0x547c48[_0x4798('0xfb')]['rootName']||this[_0x4798('0x129')](_0x455841,_0x33b6db,_0x150215,_0x547c48,_0x75b5b8['getMultiRangeId']());return _0x48d3d5;}[_0x4798('0xa8')](_0xdb0f43,_0x19e3e7,_0x5863ce,_0x590642,_0x42b4a3){if(_0xdb0f43[_0x4798('0x2a')])return[];if(_0x4798('0xe0')===this[_0x4798('0x2f')])return[];const _0xd9c033=this[_0x4798('0xb8')]['plugins'][_0x4798('0xb7')]('Users')['me']['id'],_0x3c656d=Array[_0x4798('0x162')](this[_0x4798('0x5')][_0x4798('0x15c')]())[_0x4798('0x3')](_0x358451=>'attribute'==_0x358451[_0x4798('0xa')]&&_0x358451[_0x4798('0x11a')][_0x4798('0x125')]==_0x19e3e7&&_0x358451[_0x4798('0x69')](_0xdb0f43));if('default'===this['_trackFormatChanges']){const _0x1ce707=this['_findSuggestions'](_0xdb0f43,'insertion')[_0x4798('0x3')](({meta:_0x1408ad})=>_0x1408ad[_0x4798('0xc8')]&&!_0x1408ad[_0x4798('0x6e')]&&!_0x1408ad[_0x4798('0x24')])[_0x4798('0x16b')](({suggestion:_0x564742})=>_0x564742);_0x3c656d[_0x4798('0x33')](..._0x1ce707);}const _0x273e67=new Map([[_0xdb0f43,_0x5863ce]]);for(const _0xf1c3f9 of _0x3c656d){const _0x44fe86=_0x4798('0x70')==_0xf1c3f9['type']?_0xf1c3f9[_0x4798('0x11a')][_0x4798('0xa4')]:void 0x0,_0x32c85b=_0xf1c3f9[_0x4798('0xa6')](),_0x115166=Array[_0x4798('0x162')](_0x273e67[_0x4798('0x58')]())['find'](_0x2b6c17=>_0x2b6c17['isIntersecting'](_0x32c85b));if(!_0x115166)continue;const _0xa960d5=_0x115166[_0x4798('0x136')](_0x32c85b);this[_0x4798('0xc1')](_0x19e3e7)&&_0x4798('0x72')==_0xf1c3f9[_0x4798('0xa')]&&0x0!=_0xa960d5[_0x4798('0xf1')]||(_0x273e67[_0x4798('0x10b')](_0x115166),_0xa960d5[_0x4798('0x89')](_0x4e8187=>{_0x273e67[_0x4798('0x28')](_0x4e8187,_0x5863ce);}),_0x4798('0x72')!=_0xf1c3f9[_0x4798('0xa')]&&_0x44fe86!=_0x590642&&_0x273e67['set'](_0x115166['getIntersection'](_0x32c85b),_0x44fe86));}const _0x412294=[];for(const [_0x45d29d,_0x343b48]of _0x273e67){const _0x5e24a4=_0x54da7a(),_0x2eb2c7={'key':_0x19e3e7,'oldValue':_0x343b48,'newValue':_0x590642};_0x19e3e7[_0x4798('0xf1')]>0x25&&console['warn'](_0x4798('0x13'),{'key':_0x19e3e7});const _0x47f4ea=('attribute:'+(_0x19e3e7+'|'+Et({'newValue':_0x590642})))['substring'](0x0,0x3c),_0x4ea038=this['_setSuggestionData']({'id':_0x5e24a4,'type':_0x47f4ea,'data':_0x2eb2c7,'createdAt':new Date(),'authorId':_0xd9c033,'attributes':_0x42b4a3});_0x412294[_0x4798('0x6c')](_0x4ea038),this[_0x4798('0x129')](_0x47f4ea,_0x5e24a4,_0xd9c033,_0x45d29d);}return _0x412294;}[_0x4798('0xe4')](_0x154ab6){this[_0x4798('0xe3')][_0x4798('0xef')](_0x154ab6);}[_0x4798('0xe1')](_0x395f84){this[_0x4798('0x95')][_0x4798('0xef')](_0x395f84);}[_0x4798('0xd')](_0x430786,_0xdfca76=[],_0xee4941=[]){this[_0x4798('0xda')](_0x430786,(_0x1b3c58,..._0x5f2e41)=>{this[_0x4798('0x150')](()=>{_0x1b3c58(..._0x5f2e41);});});for(const _0x2ec87e of _0xdfca76)this[_0x4798('0xe1')](_0x2ec87e);for(const _0x8db8ce of _0xee4941)this[_0x4798('0xe4')](_0x8db8ce);}['_getAttributeKey'](_0x30d07a){return _0x4798('0x70')==_0x30d07a[_0x4798('0xa')]?_0x30d07a[_0x4798('0x137')][_0x4798('0x12c')]('|')[0x0]:null;}['_setSuggestionRange'](_0x110261,_0x702a28){const _0x304576=_0x110261[_0x4798('0xb2')]();this[_0x4798('0x16d')][_0x4798('0x99')](_0x2fc033=>{_0x2fc033[_0x4798('0x15')](_0x304576,{'range':_0x702a28});});}[_0x4798('0x3d')](_0x452f1d){const _0x650ad9=_0x452f1d['id'],_0x3e40e0=this[_0x4798('0xb8')][_0x4798('0x14b')][_0x4798('0xb7')]('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x650ad9)||this[_0x4798('0x15b')][_0x4798('0xdd')]({'channelId':_0x3e40e0,'threadId':_0x650ad9,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x432c0b=this[_0x4798('0x15b')][_0x4798('0x5c')](_0x650ad9);_0x432c0b[_0x4798('0xc6')](_0x4798('0x77')),_0x432c0b[_0x4798('0x77')]=!0x1,_0x452f1d[_0x4798('0x8c')]=_0x432c0b;}[_0x4798('0xed')](_0x1c42b6,_0x56ac43,_0xdbfdf5,_0x581276){if(_0x1c42b6[_0x4798('0xa')]!=_0x56ac43||_0x1c42b6[_0x4798('0x137')]!=_0xdbfdf5||_0x1c42b6['creator']['id']!=_0x581276)throw this[_0x4798('0xb8')][_0x4798('0x7')](_0x4798('0x159')),new _0x2e9c34(_0x4798('0x159'),this);}['_cutOutSuggestionMarker'](_0x1b9a1e,_0x2d374a){const _0x4c7fd0=_0x1b9a1e[_0x4798('0xa6')]();if(_0x2d374a[_0x4798('0x151')](_0x4c7fd0))_0x1b9a1e[_0x4798('0x126')]();else{if(_0x4c7fd0[_0x4798('0x66')](_0x2d374a)){const _0x1fe3c4=this['_model'][_0x4798('0x9c')](_0x2d374a[_0x4798('0xc9')][_0x4798('0x50')],_0x4798('0x4e'));this[_0x4798('0xfd')](_0x1b9a1e,this['_model'][_0x4798('0x93')](_0x4c7fd0[_0x4798('0xc9')],_0x1fe3c4));const _0x28b8bc=_0x54da7a(),_0x19895c=_0x1b9a1e['creator']['id'],_0x397a2f=_0x1b9a1e[_0x4798('0xa')]+':'+_0x1b9a1e[_0x4798('0x137')];this[_0x4798('0x4a')]({'id':_0x28b8bc,'type':_0x397a2f,'createdAt':new Date(),'authorId':_0x19895c,'data':_0x1b9a1e['data'],'attributes':_0x1b9a1e[_0x4798('0xfe')]});const _0x5271d7=this['_model']['createPositionAt'](_0x2d374a[_0x4798('0x4e')][_0x4798('0x14a')],_0x4798('0x12b')),_0x1de47c=this[_0x4798('0x16d')]['createRange'](_0x5271d7,_0x4c7fd0[_0x4798('0x4e')]);this['_addSuggestionMarker'](_0x397a2f,_0x28b8bc,_0x19895c,_0x1de47c);}else{if(_0x4c7fd0[_0x4798('0x116')](_0x2d374a[_0x4798('0xc9')])){const _0x32c25c=this[_0x4798('0x16d')][_0x4798('0x9c')](_0x2d374a[_0x4798('0xc9')][_0x4798('0x50')],_0x4798('0x4e'));this[_0x4798('0xfd')](_0x1b9a1e,this['_model'][_0x4798('0x93')](_0x4c7fd0[_0x4798('0xc9')],_0x32c25c));}else{const _0x212aa3=this['_model'][_0x4798('0x9c')](_0x2d374a[_0x4798('0x4e')][_0x4798('0x14a')],_0x4798('0x12b'));this[_0x4798('0xfd')](_0x1b9a1e,this[_0x4798('0x16d')][_0x4798('0x93')](_0x212aa3,_0x4c7fd0[_0x4798('0x4e')]));}}}}['_rangeIsInLocalUserInsertion'](_0x5ddba7){for(const {suggestion:_0x436cbc,meta:_0x1670e9}of this[_0x4798('0x5d')](_0x5ddba7,'insertion')){if(!_0x1670e9[_0x4798('0xc8')])continue;const _0x2a3999=_0x436cbc['getRanges']();for(const _0x2f27c3 of _0x2a3999)if(!_0x5ddba7['getDifference'](_0x2f27c3)[_0x4798('0xf1')])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x13b15b){const _0x268d07=this['editor']['plugins'][_0x4798('0xb7')]('Users')[_0x4798('0x61')](_0x13b15b);if(!_0x268d07)throw new _0x2e9c34(_0x4798('0x171'),this);return _0x268d07;}[_0x4798('0xb6')](_0x33d8ce){const _0x5ac5e5=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x1b')),_0xedfb26=_0x32f53a(_0x4798('0xbf')+_0x33d8ce),_0x2524a0=_0x5ac5e5[_0x4798('0x61')](_0xedfb26);return _0x2524a0||_0x5ac5e5[_0x4798('0x86')]({'id':_0xedfb26,'name':_0x33d8ce});}[_0x4798('0xd2')](_0x2d834f,_0x13ac4b,_0x786f17,_0x232b93,_0x3ba5ef){const _0x222b0d=this['_getAuthorFromId'](_0x232b93),_0x13e102=this[_0x4798('0x146')][_0x4798('0xb3')](_0x2d834f,_0x13ac4b,_0x786f17,_0x222b0d,_0x3ba5ef,_0x17f434=>{this[_0x4798('0x102')](_0x786f17,{'attributes':_0x17f434});const _0x2aa894=this[_0x4798('0x12')](_0x786f17);this[_0x4798('0x98')](new Set([_0x2aa894])),this['_refreshSuggestionsChain'](new Set([_0x2aa894]));});return this[_0x4798('0xac')](_0x13e102,_0x4798('0x45'),()=>{this[_0x4798('0x102')](_0x786f17,{'state':_0x4798('0xe8')});},{'priority':_0x4798('0xd9')}),this['listenTo'](_0x13e102,'discard',()=>{this['_updateSuggestionData'](_0x786f17,{'state':_0x4798('0x7d')});},{'priority':_0x4798('0xd9')}),this[_0x4798('0x5')][_0x4798('0x28')](_0x786f17,_0x13e102),this['_suggestionState'][_0x4798('0x28')](_0x13e102,'notReady'),_0x13e102;}[_0x4798('0x65')](_0x1704f6){const _0x418916=_0x1704f6[_0x4798('0x12c')](':');return{'group':_0x418916[0x0],'type':_0x418916[0x1],'subType':_0x418916[_0x4798('0xf1')]>=0x5?_0x418916[0x2]:null,'id':_0x418916[_0x4798('0xf1')]<0x5?_0x418916[0x2]:_0x418916[0x3],'authorId':_0x418916['length']<0x5?_0x418916[0x3]:_0x418916[0x4],'markerCount':0x6==_0x418916[_0x4798('0xf1')]?_0x418916[0x5]:null};}['_breakSuggestionMarker'](_0x4752c6,_0x49efd0,_0x15788c){const _0x1dc1f5=_0x4752c6[_0x4798('0xa6')](),_0x7bc81=_0x1dc1f5['start'],_0x48a331=_0x1dc1f5[_0x4798('0x4e')];this['_setSuggestionRange'](_0x4752c6,this['_model'][_0x4798('0x93')](_0x7bc81,_0x49efd0));const _0x4aae49=_0x54da7a(),_0x341725=_0x4752c6[_0x4798('0x153')]['id'],_0x21f786=_0x4752c6[_0x4798('0xa')]+(_0x4752c6[_0x4798('0x137')]?':'+_0x4752c6[_0x4798('0x137')]:'');this[_0x4798('0x4a')]({'id':_0x4aae49,'type':_0x21f786,'createdAt':new Date(),'authorId':_0x341725,'originalSuggestionId':_0x4752c6['id'],'attributes':_0x4752c6[_0x4798('0xfe')],'data':_0x4752c6[_0x4798('0x11a')]});const _0x47095c=this['_getAttributeKey'](_0x4752c6);(_0x4798('0x122')==_0x4752c6[_0x4798('0xa')]||_0x47095c&&this[_0x4798('0xc1')](_0x47095c))&&(_0x15788c=this[_0x4798('0x16d')][_0x4798('0xc3')](_0x15788c[_0x4798('0x14a')])),this[_0x4798('0x129')](_0x21f786,_0x4aae49,_0x341725,this[_0x4798('0x16d')][_0x4798('0x93')](_0x15788c,_0x48a331));}['_findSuggestions'](_0x20f3ac,_0x4a6f53=null){const _0x4a4797=[],_0xd1d33a=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x1b'))['me'];Array[_0x4798('0x2c')](_0x20f3ac)||(_0x20f3ac=[_0x20f3ac]);for(const _0x4fe6a4 of this[_0x4798('0x6d')]()){if(!_0x4fe6a4[_0x4798('0x1c')])continue;if(_0x4a6f53&&_0x4fe6a4['type']!=_0x4a6f53)continue;let _0x268b07=!0x1;for(const _0x37d82f of _0x4fe6a4[_0x4798('0x4d')]()){for(const _0x1e3b5c of _0x20f3ac){const _0xfca4e3=_0x1e3b5c[_0x4798('0xc9')][_0x4798('0x151')](_0x37d82f[_0x4798('0x4e')])||_0x1e3b5c[_0x4798('0x4e')]['isEqual'](_0x37d82f[_0x4798('0xc9')]);if(_0xfca4e3||_0x1e3b5c['getIntersection'](_0x37d82f)){const _0x5af0de=_0x1e3b5c['containsRange'](_0x37d82f)&&xt(this['_model'][_0x4798('0xcd')],_0x37d82f[_0x4798('0xc9')],_0x1e3b5c),_0x183636=_0x37d82f['containsRange'](_0x1e3b5c)&&xt(this[_0x4798('0x16d')][_0x4798('0xcd')],_0x1e3b5c[_0x4798('0xc9')],_0x37d82f);_0x4a4797[_0x4798('0x6c')]({'suggestion':_0x4fe6a4,'meta':{'isOwn':_0xd1d33a==_0x4fe6a4[_0x4798('0x167')],'isNextTo':_0xfca4e3,'isInsideObject':_0x5af0de,'containsRangeInObject':_0x183636}}),_0x268b07=!0x0;break;}}if(_0x268b07)break;}}return _0x4a4797;}[_0x4798('0x129')](_0x3be8f8,_0x1b863e,_0x4c458b,_0x35fd89,_0x23d847){this[_0x4798('0x16d')][_0x4798('0x99')](_0x7dbae9=>{let _0x3e38f3=_0x4798('0x52')+_0x3be8f8+':'+_0x1b863e+':'+_0x4c458b;_0x23d847&&(_0x3e38f3=_0x3e38f3+':'+_0x23d847),_0x7dbae9[_0x4798('0xd7')](_0x3e38f3,{'range':_0x35fd89,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4798('0x15a')](_0x3cc4db){const _0x472567=_0x3cc4db[_0x4798('0xec')],_0x1800e7=_0x3cc4db[_0x4798('0xcc')];_0x3cc4db[_0x4798('0xec')]=null,_0x3cc4db[_0x4798('0xcc')]=null,null!=_0x472567&&_0x472567[_0x4798('0xcc')]==_0x3cc4db&&(_0x472567['next']=_0x1800e7),null!=_0x1800e7&&_0x1800e7[_0x4798('0xec')]==_0x3cc4db&&(_0x1800e7[_0x4798('0xec')]=_0x472567),'ready'==this[_0x4798('0xb4')][_0x4798('0xb7')](_0x3cc4db)&&(this['_suggestionState'][_0x4798('0x28')](_0x3cc4db,_0x4798('0xe9')),this[_0x4798('0x67')]('suggestionUnloaded',_0x3cc4db,_0x472567,_0x1800e7));}[_0x4798('0x4a')](_0x585cbe){const _0x56ad81=_0x585cbe['id'],_0x371ecf=this[_0x4798('0xca')](_0x585cbe);if(this['_adapter']&&this[_0x4798('0xc')][_0x4798('0xe5')]){const _0x10afd9=this[_0x4798('0xb8')][_0x4798('0xe6')]['get'](_0x4798('0x51')),_0x23b6e4=_0x371ecf[_0x4798('0xc0')],_0x5b6a56=_0x371ecf[_0x4798('0x137')]?_0x371ecf['type']+':'+_0x371ecf['subType']:_0x371ecf['type'],_0x5d8f7e=this[_0x4798('0xb8')][_0x4798('0xb')],_0x21650d=_0x10afd9[_0x4798('0xef')](_0x5379c0(_0x5d8f7e,_0x4798('0xdf'))),_0x49f140={'id':_0x56ad81,'type':_0x5b6a56,'hasComments':_0x23b6e4,'data':_0x585cbe[_0x4798('0x11a')]||null,'originalSuggestionId':_0x585cbe[_0x4798('0x147')]||null,'attributes':_0x371ecf[_0x4798('0xfe')]};this[_0x4798('0xc')]['addSuggestion'](_0x49f140)[_0x4798('0x140')](_0x55959a=>{_0x371ecf[_0x4798('0x160')]=!0x0,_0x10afd9[_0x4798('0x8a')](_0x21650d),_0x55959a&&_0x55959a[_0x4798('0x111')]&&(this['_suggestions'][_0x4798('0xb7')](_0x56ad81)['createdAt']=_0x55959a[_0x4798('0x111')]);})[_0x4798('0xb9')](_0x11d147=>{throw _0x4ae452(_0x4798('0xd5')),this[_0x4798('0xb8')][_0x4798('0x83')][_0x4798('0x161')]({'isUndoable':!0x1},()=>{_0x371ecf['discard']();}),_0x371ecf['stopListening'](),this['_suggestions']['delete'](_0x371ecf['id']),this['_suggestionState'][_0x4798('0x10b')](_0x371ecf),_0x11d147;});}return _0x371ecf;}['_isBlockAttribute'](_0x3c8030){return this[_0x4798('0xe3')][_0x4798('0xbb')](_0x3c8030);}[_0x4798('0x102')](_0x447e3a,_0x507261){const _0x5769a9=this[_0x4798('0xb8')][_0x4798('0xe6')][_0x4798('0xb7')](_0x4798('0x51')),_0x188901=this[_0x4798('0x12')](_0x447e3a);if(this['_adapter']&&this[_0x4798('0xc')][_0x4798('0x40')]){if(_0x188901[_0x4798('0x160')]){const _0x53acbf=_0x5769a9['add'](_0x5379c0(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter'][_0x4798('0x40')](_0x447e3a,_0x507261)[_0x4798('0x140')](()=>{_0x5769a9[_0x4798('0x8a')](_0x53acbf);});}else _0x188901['on'](_0x4798('0x120'),()=>{this[_0x4798('0x102')](_0x447e3a,_0x507261);});}}[_0x4798('0x132')](_0x580242){if(!this['_adapter']||!this[_0x4798('0xc')][_0x4798('0x12')])throw new _0x2e9c34(_0x4798('0xba'),this);return this[_0x4798('0xc')][_0x4798('0x12')](_0x580242);}['_handleNewSuggestionMarker'](_0x5fce2d){const {id:_0x50edda,type:_0xbc516e,subType:_0x309bd4,authorId:_0x36ff12}=this[_0x4798('0x65')](_0x5fce2d),_0x463add=this[_0x4798('0x5')][_0x4798('0xb7')](_0x50edda)||this[_0x4798('0xd2')](_0xbc516e,_0x309bd4,_0x50edda,_0x36ff12,{});switch(this['_checkSuggestionCorrectness'](_0x463add,_0xbc516e,_0x309bd4,_0x36ff12),this[_0x4798('0xb4')]['get'](_0x463add)){case _0x4798('0x166'):this['_getSuggestionData'](_0x50edda)[_0x4798('0x140')](_0x4f3512=>{let _0x1d148d=Promise[_0x4798('0xdc')]();_0x4f3512[_0x4798('0xc0')]&&(_0x1d148d=this[_0x4798('0x15b')][_0x4798('0x34')]({'channelId':this[_0x4798('0xb8')]['config'][_0x4798('0xb7')]('collaboration.channelId'),'threadId':_0x50edda})),_0x1d148d[_0x4798('0x140')](()=>{this[_0x4798('0xca')](_0x4f3512)[_0x4798('0x160')]=!0x0;});}),this['_suggestionState'][_0x4798('0x28')](_0x463add,_0x4798('0x104'));break;case _0x4798('0xe9'):this[_0x4798('0x102')](_0x50edda,{'state':'open'});case _0x4798('0xfa'):this[_0x4798('0xb4')]['set'](_0x463add,_0x4798('0x92')),this[_0x4798('0x67')]('suggestionLoaded',_0x463add);break;case'ready':this[_0x4798('0x67')](_0x4798('0x21'),_0x463add);}return _0x463add[_0x4798('0xbe')](_0x5fce2d),_0x463add;}[_0x4798('0x15e')](_0x5673b6){const _0x25c227=Array[_0x4798('0x162')](_0x5673b6),_0x3b3a92=_0x25c227[_0x4798('0x3')](_0x1895f7=>_0x4798('0x70')==_0x1895f7[_0x4798('0xa')]);this[_0x4798('0x135')](_0x3b3a92);const _0x27ef2d=_0x25c227[_0x4798('0x3')](_0x4d548f=>!_0x4d548f[_0x4798('0xa0')]&&_0x4798('0x70')!=_0x4d548f[_0x4798('0xa')]),_0x574d8e=this[_0x4798('0x6d')]({'skipNotAttached':!0x0})[_0x4798('0x3')](_0x1f329f=>!_0x1f329f[_0x4798('0xa0')]&&_0x4798('0x70')!=_0x1f329f[_0x4798('0xa')]),_0x16df5c=_0x574d8e[_0x4798('0x3')](_0x4c15da=>!_0x5673b6[_0x4798('0xbb')](_0x4c15da)),_0x58914f=new Map(_0x574d8e[_0x4798('0x16b')](_0xba5009=>[_0xba5009,this[_0x4798('0x146')][_0x4798('0x91')](_0xba5009[_0x4798('0xa')],_0xba5009[_0x4798('0x137')],_0x4798('0xf'))])),_0x34e321=new Map(_0x574d8e[_0x4798('0x16b')](_0x56f601=>[_0x56f601,_0x56f601[_0x4798('0xa6')]()])),_0x447d43=new Set(),_0x1e06b3=new Set();for(let _0x43da81=0x0;_0x43da81<_0x27ef2d[_0x4798('0xf1')];_0x43da81++)_0x3d3d3f(_0x27ef2d[_0x43da81],_0x27ef2d,_0x43da81+0x1);for(let _0x13ef2e=0x0;_0x13ef2e<_0x27ef2d[_0x4798('0xf1')];_0x13ef2e++)_0x3d3d3f(_0x27ef2d[_0x13ef2e],_0x16df5c,0x0);const _0x507100=new Set();for(let _0x238700=0x0;_0x238700<_0x27ef2d[_0x4798('0xf1')];_0x238700++){const _0x22ad7f=_0x27ef2d[_0x238700];!_0x1e06b3[_0x4798('0xbb')](_0x22ad7f)&&_0x22ad7f[_0x4798('0xec')]&&(_0x507100[_0x4798('0xef')](_0x22ad7f[_0x4798('0xec')]),_0x22ad7f[_0x4798('0xec')][_0x4798('0xcc')]===_0x22ad7f&&(_0x22ad7f['previous']['next']=null),_0x22ad7f[_0x4798('0xec')]=null),!_0x447d43[_0x4798('0xbb')](_0x22ad7f)&&_0x22ad7f[_0x4798('0xcc')]&&(_0x507100[_0x4798('0xef')](_0x22ad7f[_0x4798('0xcc')]),_0x22ad7f['next'][_0x4798('0xec')]===_0x22ad7f&&(_0x22ad7f[_0x4798('0xcc')]['previous']=null),_0x22ad7f['next']=null);}function _0x3d3d3f(_0x381ff6,_0x363aec,_0x113015){for(let _0x286ebf=_0x113015;_0x286ebf<_0x363aec[_0x4798('0xf1')];_0x286ebf++){const _0x3fe48b=_0x4215bb(_0x381ff6,_0x363aec[_0x286ebf]);_0x3fe48b&&(_0x3fe48b[0x0]['next']=_0x3fe48b[0x1],_0x3fe48b[0x1][_0x4798('0xec')]=_0x3fe48b[0x0],_0x447d43[_0x4798('0xef')](_0x3fe48b[0x0]),_0x1e06b3[_0x4798('0xef')](_0x3fe48b[0x1]));}}function _0x4215bb(_0x4f4516,_0x573fe6){if(_0x4f4516[_0x4798('0x167')]['id']!==_0x573fe6[_0x4798('0x167')]['id'])return null;const _0x24b001=_0x58914f[_0x4798('0xb7')](_0x4f4516)(_0x4f4516,_0x573fe6,_0x34e321[_0x4798('0xb7')](_0x4f4516),_0x34e321[_0x4798('0xb7')](_0x573fe6));if(!_0x24b001)return null;return _0x58914f[_0x4798('0xb7')](_0x573fe6)(_0x4f4516,_0x573fe6,_0x34e321[_0x4798('0xb7')](_0x4f4516),_0x34e321[_0x4798('0xb7')](_0x573fe6))?_0x24b001[0x1][_0x4798('0x8c')]&&_0x24b001[0x1][_0x4798('0x8c')]['length']?null:_0x24b001:null;}_0x507100['size']&&this[_0x4798('0x15e')](_0x507100);}[_0x4798('0x135')](_0x5447a7){if(0x0==_0x5447a7[_0x4798('0xf1')])return;const _0x49d11a=this[_0x4798('0x6d')]({'skipNotAttached':!0x0})['filter'](_0x240846=>_0x4798('0x70')==_0x240846['type']&&_0x240846[_0x4798('0x2b')]),_0x1067e0=[],_0x285884=new Map();for(const _0x21a079 of _0x49d11a){const _0x403f0c=_0x32f53a(_0x21a079[_0x4798('0xfe')]);_0x285884[_0x4798('0xbb')](_0x403f0c)||(_0x285884[_0x4798('0x28')](_0x403f0c,_0x1067e0[_0x4798('0xf1')]),_0x1067e0[_0x4798('0x6c')]([]));const _0x39c0e4=_0x285884[_0x4798('0xb7')](_0x403f0c);_0x1067e0[_0x39c0e4][_0x4798('0x6c')](_0x21a079);}!function(){_0x1067e0[_0x4798('0x1d')]((_0x19d2aa,_0x2c3d2d)=>{const _0x320c42=_0x19d2aa[0x0][_0x4798('0x111')],_0x4b49af=_0x2c3d2d[0x0][_0x4798('0x111')];return _0x320c42==_0x4b49af?_0x19d2aa[0x0][_0x4798('0xfe')][_0x4798('0xee')]<_0x2c3d2d[0x0]['attributes']['groupId']?-0x1:0x1:_0x320c42<_0x4b49af?-0x1:0x1;});for(const _0x390629 of _0x1067e0)_0x390629['sort']((_0x156452,_0x5bec3f)=>_0x156452['id']<_0x5bec3f['id']?-0x1:0x1);}();for(let _0x3b00b1=0x0;_0x3b00b1<_0x1067e0['length'];_0x3b00b1++){if(0x0==_0x1067e0[_0x3b00b1][_0x4798('0xf1')])continue;const _0x49c87a=[];for(let _0x1f7e66=_0x3b00b1+0x1;_0x1f7e66<_0x1067e0['length'];_0x1f7e66++)0x0!=_0x1067e0[_0x1f7e66]['length']&&_0xfc041d(_0x1067e0[_0x3b00b1],_0x1067e0[_0x1f7e66])&&_0x49c87a[_0x4798('0x6c')](_0x1f7e66);for(const _0x47c62f of _0x49c87a)_0x1067e0[_0x3b00b1]=_0x1067e0[_0x3b00b1][_0x4798('0x130')](_0x1067e0[_0x47c62f]),_0x1067e0[_0x47c62f]=[];}for(const _0x43250f of _0x1067e0)for(let _0x3b1f5c=0x0;_0x3b1f5c<_0x43250f['length'];_0x3b1f5c++)_0x43250f[_0x3b1f5c]['next']=_0x43250f[_0x3b1f5c+0x1]||null;for(const _0x3c4d6a of _0x1067e0)for(let _0x14be6a=0x0;_0x14be6a<_0x3c4d6a['length'];_0x14be6a++)_0x3c4d6a[_0x14be6a]['previous']=_0x3c4d6a[_0x14be6a-0x1]||null;function _0xfc041d(_0x5bf545,_0x47c200){if(_0x5bf545[0x0]['attributes'][_0x4798('0xee')]!==_0x47c200[0x0][_0x4798('0xfe')][_0x4798('0xee')]&&_0x5bf545[0x0]['author']!==_0x47c200[0x0][_0x4798('0x167')])return!0x1;if(!function(_0x1503aa,_0x2d478e){if(!_0x1503aa[_0x4798('0xc0')]&&!_0x2d478e[_0x4798('0xc0')])return!0x0;if(_0x1503aa[_0x4798('0xc0')]&&_0x2d478e[_0x4798('0xc0')])return!0x1;if(_0x1503aa[_0x4798('0xc0')]&&_0x2d478e[_0x4798('0x111')]<_0x1503aa[_0x4798('0x8c')][_0x4798('0x11f')][_0x4798('0xb7')](0x0)['createdAt'])return!0x0;if(_0x2d478e['hasComments']&&_0x1503aa['createdAt']<_0x2d478e['commentThread'][_0x4798('0x11f')][_0x4798('0xb7')](0x0)[_0x4798('0x111')])return!0x0;return!0x1;}(_0x5bf545[0x0],_0x47c200[0x0]))return!0x1;const _0x1df8a9=_0x55cd11(_0x5bf545[0x0][_0x4798('0xfe')],_0x4798('0xee')),_0x51a2d1=_0x55cd11(_0x47c200[0x0][_0x4798('0xfe')],_0x4798('0xee'));if(!_0x1c6142(_0x1df8a9,_0x51a2d1))return!0x1;return!!_0x5bf545[_0x4798('0x1')](_0xb5e81e=>_0x47c200[_0x4798('0x112')](_0x4553a1=>_0xb5e81e[_0x4798('0xa6')]()[_0x4798('0x151')](_0x4553a1[_0x4798('0xa6')]())))&&_0x47c200['every'](_0x1ba36f=>_0x5bf545[_0x4798('0x112')](_0x25e656=>_0x1ba36f[_0x4798('0xa6')]()[_0x4798('0x151')](_0x25e656[_0x4798('0xa6')]())));}}['_joinWithAdjacentSuggestions'](_0x30fa9b){const _0x1896e5=Array[_0x4798('0x162')](_0x30fa9b),_0x5e350e=this[_0x4798('0x6d')]({'skipNotAttached':!0x0}),_0x3dc85a=_0x5e350e[_0x4798('0x3')](_0x5ad76e=>!_0x30fa9b[_0x4798('0xbb')](_0x5ad76e)),_0x5dc907=new Map(_0x1896e5[_0x4798('0x16b')](_0x1c1fdb=>[_0x1c1fdb,this[_0x4798('0x146')]['getSuggestionCallback'](_0x1c1fdb[_0x4798('0xa')],_0x1c1fdb[_0x4798('0x137')],'join')])),_0x582873=new Map(_0x5e350e[_0x4798('0x16b')](_0x4421e9=>[_0x4421e9,_0x4421e9[_0x4798('0x4d')]()]));for(let _0x29fd3d=0x0;_0x29fd3d<_0x1896e5[_0x4798('0xf1')];_0x29fd3d++){if(_0x1d5c0d(this,_0x1896e5[_0x29fd3d],_0x1896e5,_0x29fd3d+0x1))return!0x0;}for(let _0xaf5e2=0x0;_0xaf5e2<_0x1896e5[_0x4798('0xf1')];_0xaf5e2++){if(_0x1d5c0d(this,_0x1896e5[_0xaf5e2],_0x3dc85a,0x0))return!0x0;}return!0x1;function _0x1d5c0d(_0x21ade4,_0x3d0a53,_0x139745,_0xd2a221){for(let _0x54537b=_0xd2a221;_0x54537b<_0x139745['length'];_0x54537b++){const _0x59823f=_0x139745[_0x54537b];if(_0x59823f[_0x4798('0xa')]!==_0x3d0a53[_0x4798('0xa')]||_0x59823f[_0x4798('0x167')]['id']!==_0x3d0a53[_0x4798('0x167')]['id']||_0x59823f[_0x4798('0x137')]!==_0x3d0a53[_0x4798('0x137')])continue;if(!Ft(_0x3d0a53,_0x59823f,[_0x4798('0xee')]))continue;if(_0x4798('0x70')==_0x3d0a53[_0x4798('0xa')]&&_0x3d0a53[_0x4798('0x11a')][_0x4798('0xa4')]!=_0x59823f[_0x4798('0x11a')][_0x4798('0xa4')])continue;if(_0x4798('0x70')==_0x3d0a53[_0x4798('0xa')]&&_0x21ade4[_0x4798('0xc1')](_0x3d0a53[_0x4798('0x11a')][_0x4798('0x125')]))continue;if(_0x4798('0x122')==_0x3d0a53[_0x4798('0xa')]){const _0x2b7ac8=_0x21ade4[_0x4798('0xb8')][_0x4798('0x83')],_0x4881e1=_0x3d0a53[_0x4798('0x75')]();if(_0x4881e1&&(_0x2b7ac8[_0x4798('0xcd')][_0x4798('0x107')](_0x4881e1)||_0x2b7ac8[_0x4798('0xcd')][_0x4798('0x88')](_0x4881e1)))continue;}const _0x53a61b=_0x5dc907['get'](_0x3d0a53),_0x3d9155=_0x582873[_0x4798('0xb7')](_0x3d0a53),_0x292b00=_0x582873[_0x4798('0xb7')](_0x59823f),_0x544b3a=_0x3d0a53[_0x4798('0x8c')]&&_0x3d0a53[_0x4798('0x8c')][_0x4798('0xf1')],_0x273751=_0x59823f[_0x4798('0x8c')]&&_0x59823f[_0x4798('0x8c')][_0x4798('0xf1')];if(!_0x544b3a&&_0x53a61b(_0x292b00,_0x3d9155))return _0x21ade4[_0x4798('0x7b')](_0x59823f,_0x3d0a53),_0x582873['delete'](_0x3d0a53),!0x0;if(!_0x273751&&_0x53a61b(_0x3d9155,_0x292b00))return _0x21ade4[_0x4798('0x7b')](_0x3d0a53,_0x59823f),_0x582873['delete'](_0x59823f),!0x0;}return!0x1;}}[_0x4798('0x7b')](_0x2b34ba,_0x22d2d8){if(_0x2b34ba[_0x4798('0xa0')])for(const _0x542a29 of _0x22d2d8[_0x4798('0x4d')]())_0x2b34ba['addRange'](_0x542a29);else{const _0x1fa37a=_0x22d2d8[_0x4798('0xa6')]()[_0x4798('0x4e')];this['_setSuggestionRange'](_0x2b34ba,this[_0x4798('0x16d')][_0x4798('0x93')](_0x2b34ba[_0x4798('0xa6')]()[_0x4798('0xc9')],_0x1fa37a));}_0x22d2d8[_0x4798('0x126')]();}[_0x4798('0x2d')](_0x58ce14,_0x5f1948){const _0x7e3491=_0x58ce14[_0x4798('0xcb')](_0x4798('0x123'))||_0x58ce14[_0x4798('0xcb')]('attribute')?_0x4798('0x7e'):_0x58ce14[_0x4798('0x49')]();return _0x5379c0(this['editor'][_0x4798('0xb')],_0x5f1948+'_'+_0x7e3491+_0x4798('0x1a'));}[_0x4798('0x13f')](){const _0x25e39b=this[_0x4798('0xb8')];_0x58fb5a(this[_0x4798('0x16d')],({left:_0x41581b,entered:_0x5e8f0c})=>{const _0x48dd2f=[];for(const _0x1f4730 of _0x41581b){const {group:_0x3afc5a,type:_0x3cf784}=this[_0x4798('0x65')](_0x1f4730[_0x4798('0x82')]);if(_0x4798('0x14d')===_0x3afc5a){_0x48dd2f[_0x4798('0x6c')](this[_0x4798('0x2d')](_0x3cf784,_0x4798('0x5e')));break;}}for(const _0x2e8341 of _0x5e8f0c){const {group:_0x2e034a,type:_0x223305}=this[_0x4798('0x65')](_0x2e8341[_0x4798('0x82')]);if(_0x4798('0x14d')===_0x2e034a){_0x48dd2f[_0x4798('0x6c')](this['_getMarkerAnnouncementText'](_0x223305,_0x4798('0xd8')));break;}}_0x48dd2f['length']&&_0x25e39b['ui'][_0x4798('0xf4')]['announce'](_0x4798('0x11d'),_0x48dd2f[_0x4798('0x5a')]('\x20'));});}[_0x4798('0x168')](_0x46ab26){if(this[_0x4798('0x73')])return!0x1;const _0xf82215=this[_0x4798('0xb8')],_0x2a1773=_0xf82215['model'][_0x4798('0x8d')][_0x4798('0x155')][_0x4798('0x25')]();if(0x0==_0x2a1773[_0x4798('0xf1')])return!0x1;const _0x35bafb=[],_0x2c9878=_0x2a1773[_0x4798('0x3')](_0x14796c=>_0x4798('0x70')==_0x14796c['type']),_0x3c6cb8=_0x2a1773['filter'](_0x54b70c=>'insert'==_0x54b70c[_0x4798('0xa')]&&'$text'!=_0x54b70c[_0x4798('0x82')]),_0x450451=_0x2a1773[_0x4798('0x3')](_0x2990cf=>_0x4798('0x8a')==_0x2990cf[_0x4798('0xa')]&&_0x4798('0xaf')!=_0x2990cf[_0x4798('0x82')]);for(const _0x2cbc63 of _0x2c9878)_0x35bafb[_0x4798('0x6c')]({'key':_0x2cbc63[_0x4798('0x9a')],'newValue':_0x2cbc63[_0x4798('0x10d')],'oldValue':_0x2cbc63['attributeOldValue'],'range':Ut(_0x2cbc63['range'],_0xf82215['model'])});for(const _0x1d5882 of _0x3c6cb8){const _0x579d4e=_0x450451[_0x4798('0x76')](_0x26522e=>_0x26522e[_0x4798('0x173')]['isEqual'](_0x1d5882[_0x4798('0x173')]));_0x579d4e&&_0x35bafb[_0x4798('0x6c')]({'key':_0x4798('0x145'),'newValue':_0x1d5882[_0x4798('0x82')],'oldValue':_0x579d4e['name'],'range':_0xf82215['model']['createRangeOn'](_0x1d5882[_0x4798('0x173')][_0x4798('0x16')])});}return 0x0!=_0x35bafb[_0x4798('0xf1')]&&this[_0x4798('0xd1')](_0x46ab26,_0x35bafb);}['_processAttributeSuggestions'](_0x3eed0e){let _0x5a941a=!0x1;const _0x2781b1=this['editor']['model']['document']['differ'][_0x4798('0xd0')]()['filter'](_0x1dd66e=>_0x1dd66e['data'][_0x4798('0x10e')]&&_0x1dd66e[_0x4798('0x82')][_0x4798('0xcb')]('suggestion:attribute:'));for(const _0x19883e of _0x2781b1){const {subType:_0x2c6e7b,id:_0x43b15b}=this['_splitMarkerName'](_0x19883e[_0x4798('0x82')]),_0x44ef46=_0x2c6e7b[_0x4798('0x12c')]('|')[0x0];for(const _0x2f99ab of this['getSuggestions']({'skipNotAttached':!0x0}))_0x2f99ab['id']!=_0x43b15b&&_0x4798('0x70')==_0x2f99ab[_0x4798('0xa')]&&_0x2f99ab[_0x4798('0x11a')]&&_0x2f99ab[_0x4798('0x11a')][_0x4798('0x125')]==_0x44ef46&&_0x2f99ab[_0x4798('0xa6')]()[_0x4798('0x71')](_0x19883e[_0x4798('0x11a')]['newRange'])&&(this[_0x4798('0x59')](_0x2f99ab,_0x19883e[_0x4798('0x11a')][_0x4798('0x10e')],_0x3eed0e),_0x5a941a=!0x0);}return _0x5a941a;}[_0x4798('0x150')](_0x22503e){this[_0x4798('0xb8')],(this[_0x4798('0x73')]=!0x0,_0x22503e());}['_isRegisteredAttribute'](_0x56c8a9){const _0x1886ad=this[_0x4798('0xc1')](_0x56c8a9),_0x4789a9=this['_inlineAttributeKeys'][_0x4798('0xbb')](_0x56c8a9);return _0x1886ad||_0x4789a9;}['_reduceExistingSuggestions'](_0x5828ec,_0x5dfbb5){if(0x0==_0x5dfbb5['length'])return!0x1;let _0x4c7e12=!0x1;for(const _0x195ecb of _0x5dfbb5){const _0x5ab5b1=this[_0x4798('0x5d')](_0x195ecb[_0x4798('0x38')],_0x4798('0x70'))[_0x4798('0x3')](_0x95f5c4=>!_0x95f5c4[_0x4798('0x144')][_0x4798('0x24')])['map'](_0x51ed15=>_0x51ed15[_0x4798('0x14d')]),_0x11a12a=_0x32f53a({'newValue':_0x195ecb[_0x4798('0x4c')]});_0x5ab5b1['filter'](_0x8530b4=>{const [_0x560319,_0x4a4f48]=_0x8530b4[_0x4798('0x137')]['split']('|');return _0x560319==_0x195ecb[_0x4798('0x125')]&&_0x4a4f48!=_0x11a12a;})[_0x4798('0x89')](_0x1f5da3=>{this[_0x4798('0x59')](_0x1f5da3,_0x195ecb[_0x4798('0x38')],_0x5828ec),_0x4c7e12=!0x0;});}return _0x4c7e12;}[_0x4798('0x59')](_0xee34ef,_0xb41be,_0x45f05c){const _0x5db11c=_0xee34ef[_0x4798('0xa6')]()['getDifference'](_0xb41be);0x0!==_0x5db11c[_0x4798('0xf1')]?0x1!==_0x5db11c['length']?this[_0x4798('0x46')](_0xee34ef,_0xb41be['start'],_0xb41be[_0x4798('0x4e')]):this[_0x4798('0xfd')](_0xee34ef,_0x5db11c[0x0]):_0x45f05c[_0x4798('0x8')](_0xee34ef[_0x4798('0xb2')]());}}class Bt{constructor(_0x1f83d5){this[_0x4798('0x4')]=_0x1f83d5,this[_0x4798('0x16d')]=_0x1f83d5['model'],this[_0x4798('0xc4')]=new Map(),this[_0x4798('0xcf')]=new Map(),this[_0x4798('0xb0')]();}[_0x4798('0xb3')](_0x37915d,_0x2d314c,_0x176bee,_0x3bf373,_0x9b702d,_0x41f304){return new _0x75b5b8(this[_0x4798('0x16d')],{'type':_0x37915d,'subType':_0x2d314c,'id':_0x176bee,'author':_0x3bf373,'creator':_0x3bf373,'attributes':_0x9b702d,'onAttributesChange':_0x41f304,'onAccept':(..._0x2afc31)=>this[_0x4798('0x91')](_0x37915d,_0x2d314c,_0x4798('0x45'))(..._0x2afc31),'onDiscard':(..._0x13c111)=>this['getSuggestionCallback'](_0x37915d,_0x2d314c,_0x4798('0x2'))(..._0x13c111)});}['registerCustomCallback'](_0x226acb,_0x165fc8,_0x551b0a,_0x23c7da){const _0x583f3e=_0x226acb+':'+_0x165fc8+':'+_0x551b0a;this[_0x4798('0xc4')][_0x4798('0x28')](_0x583f3e,_0x23c7da);}[_0x4798('0x91')](_0x452f78,_0x5275c7,_0x2303e1){const _0x2398e9=_0x452f78+':'+_0x5275c7+':'+_0x2303e1;return this[_0x4798('0xc4')]['get'](_0x2398e9)||this['_defaultCallbacks'][_0x4798('0xb7')](_0x452f78+':'+_0x2303e1);}['_registerDefaultCallbacks'](){const _0x47c137=()=>!0x1,_0x3321c3=_0x48a95a=>{_0x48a95a[_0x4798('0x1d')]((_0x5cbca2,_0xe1e0b8)=>_0x5cbca2[_0x4798('0xc9')][_0x4798('0x12f')](_0xe1e0b8[_0x4798('0xc9')])?0x1:-0x1),this['_model'][_0x4798('0x99')](_0xb23c4=>{for(const _0x302cf4 of _0x48a95a){let _0x35e6a9;_0x35e6a9=_0x302cf4['end'][_0x4798('0x108')]&&_0x302cf4[_0x4798('0x4e')][_0x4798('0x14a')]==_0x302cf4[_0x4798('0xc9')][_0x4798('0x16')]?_0xb23c4[_0x4798('0xfc')](_0x302cf4[_0x4798('0xc9')][_0x4798('0x16')],'on'):_0xb23c4[_0x4798('0xfc')](_0x302cf4),this['_model'][_0x4798('0x138')](_0x35e6a9,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x357312=(_0xc9d27,_0x1182f2)=>{_0x1182f2&&this[_0x4798('0x16d')][_0x4798('0x99')](_0x113b0b=>{const {commandName:_0x519538,commandParams:_0x2bbbbd=[]}=_0x1182f2,_0x323c3e=_0xc9d27[_0x4798('0x16b')](_0x4acb9b=>(Rt(_0x4acb9b)&&(_0x4acb9b=this[_0x4798('0x16d')]['createRange'](_0x4acb9b[_0x4798('0x4e')])),_0x4acb9b))[_0x4798('0x3')](_0x8cef60=>_0x4798('0x152')!==_0x8cef60[_0x4798('0xfb')][_0x4798('0xea')]);if(_0x323c3e[_0x4798('0xf1')]<0x1)return;const _0xd14430=Array[_0x4798('0x162')](this[_0x4798('0x16d')][_0x4798('0x8d')][_0x4798('0x169')][_0x4798('0x4d')]())[_0x4798('0x16b')](_0x5e146b=>_0x29be14[_0x4798('0x48')](_0x5e146b));_0x113b0b[_0x4798('0x37')](_0x323c3e);for(const _0x422b63 of this[_0x4798('0x4')][_0x4798('0x60')]['commands']())_0x422b63[_0x4798('0x4f')]();_0x2bbbbd[_0x4798('0x6c')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x4798('0x18')](_0x519538,..._0x2bbbbd);const _0x6daa36=_0xd14430[_0x4798('0x3')](_0x42e52c=>_0x4798('0x152')!=_0x42e52c[_0x4798('0xfb')]['rootName']);_0x6daa36[_0x4798('0xf1')]>0x0&&_0x113b0b[_0x4798('0x37')](_0x6daa36);for(const _0x318c91 of _0xd14430)_0x318c91[_0x4798('0x42')]();});},_0x32adc5=(_0x16104f,_0x347666)=>0x1==_0x16104f[_0x4798('0xf1')]&&0x1==_0x347666[_0x4798('0xf1')]&&_0x16104f[0x0][_0x4798('0x4e')][_0x4798('0x151')](_0x347666[0x0]['start']),_0x53bebf=(_0x483e36,_0x210576,_0x52b071,_0x429421)=>Gt(_0x483e36,_0x210576,_0x52b071,_0x429421,this[_0x4798('0x16d')])?[_0x483e36,_0x210576]:Gt(_0x210576,_0x483e36,_0x429421,_0x52b071,this[_0x4798('0x16d')])?[_0x210576,_0x483e36]:null;this[_0x4798('0xcf')][_0x4798('0x28')]('insertion:accept',_0x47c137),this['_defaultCallbacks']['set'](_0x4798('0x143'),_0x3321c3),this[_0x4798('0xcf')]['set']('insertion:join',_0x32adc5),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0xad'),_0x53bebf),this[_0x4798('0xcf')][_0x4798('0x28')]('deletion:accept',_0x3321c3),this[_0x4798('0xcf')]['set']('deletion:discard',_0x47c137),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x16f'),_0x32adc5),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x26'),_0x53bebf),this[_0x4798('0xcf')][_0x4798('0x28')]('formatInline:accept',_0x357312),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x74'),_0x47c137),this['_defaultCallbacks'][_0x4798('0x28')](_0x4798('0x8e'),_0x32adc5),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x27'),_0x47c137),this[_0x4798('0xcf')][_0x4798('0x28')]('formatBlock:accept',_0x357312),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x165'),_0x47c137),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0x80'),_0x32adc5),this['_defaultCallbacks'][_0x4798('0x28')]('formatBlock:chain',_0x47c137),this[_0x4798('0xcf')]['set'](_0x4798('0x5b'),_0x47c137),this['_defaultCallbacks']['set'](_0x4798('0x1e'),(_0x40c0cd,_0x592716)=>{if(!_0x592716)return;const _0x1a44a4=this[_0x4798('0x4')][_0x4798('0xe6')][_0x4798('0xb7')](p);this[_0x4798('0x16d')][_0x4798('0x99')](_0x3417ca=>{if('$elementName'==_0x592716[_0x4798('0x125')])for(const _0x10813e of _0x40c0cd){const _0x509997=_0x10813e[_0x4798('0xc9')][_0x4798('0x16')],_0x338b63=_0x592716[_0x4798('0xa4')];_0x3417ca[_0x4798('0x4b')](_0x509997,_0x338b63);}else{if(_0x1a44a4[_0x4798('0xc1')](_0x592716['key']))for(const _0x27463e of _0x40c0cd)void 0x0!==_0x592716[_0x4798('0xa4')]?_0x3417ca[_0x4798('0x164')](_0x592716['key'],_0x592716[_0x4798('0xa4')],_0x27463e[_0x4798('0xc9')][_0x4798('0x16')]):_0x3417ca[_0x4798('0xa1')](_0x592716['key'],_0x27463e['start']['nodeAfter']);else for(const _0x4782fe of _0x40c0cd)_0x592716[_0x4798('0xa4')]?_0x3417ca[_0x4798('0x164')](_0x592716[_0x4798('0x125')],_0x592716[_0x4798('0xa4')],_0x4782fe):_0x3417ca[_0x4798('0xa1')](_0x592716['key'],_0x4782fe);}});}),this[_0x4798('0xcf')][_0x4798('0x28')](_0x4798('0xdb'),_0x32adc5);}}function xt(_0x1fc42a,_0x4761d4,_0x3f7da0){for(const _0x508b26 of _0x4761d4['parent'][_0x4798('0x163')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x508b26[_0x4798('0xfb')]==_0x508b26)return!0x1;if(!_0x3f7da0['containsItem'](_0x508b26))return!0x1;if(_0x1fc42a[_0x4798('0x107')](_0x508b26)||_0x1fc42a[_0x4798('0x88')](_0x508b26))return!0x0;}return!0x1;}function Rt(_0x5dd7b7){return _0x5dd7b7[_0x4798('0x4e')][_0x4798('0x14a')]==_0x5dd7b7['start']['nodeAfter']&&_0x5dd7b7['end'][_0x4798('0x90')];}function Tt(_0x52461a,_0x37020b,_0x2a5b61,_0x7ccf06){const _0x140656=_0x4a48e5=>!_0x4a48e5[_0x4798('0x142')]['is'](_0x4798('0x158'))&&!_0x7ccf06['isObject'](_0x4a48e5['item']),_0x75ca86=_0x52461a[_0x4798('0xc9')][_0x4798('0x157')](_0x140656),_0x11e853=_0x52461a[_0x4798('0x4e')][_0x4798('0x157')](_0x140656,{'direction':_0x4798('0xa9')});return(!_0x52461a[_0x4798('0xc9')][_0x4798('0x151')](_0x75ca86)||!_0x52461a[_0x4798('0x4e')][_0x4798('0x151')](_0x11e853))&&(_0x75ca86[_0x4798('0x12f')](_0x11e853)?_0x2a5b61['updateMarker'](_0x37020b,{'range':_0x2a5b61[_0x4798('0x93')](_0x75ca86,_0x11e853)}):_0x2a5b61['removeMarker'](_0x37020b),!0x0);}function Et(_0x268528){return _0x32f53a(_0x268528);}function Vt(_0x204dc3){const _0x1e28bc=_0x204dc3[_0x4798('0xc9')][_0x4798('0x16')];return _0x1e28bc&&_0x1e28bc['is'](_0x4798('0x12e'));}function Ut(_0x636576,_0x27b443){return null==_0x636576[_0x4798('0x4e')][_0x4798('0x50')]&&_0x636576[_0x4798('0x4e')][_0x4798('0x14a')]==_0x636576[_0x4798('0xc9')][_0x4798('0x16')]?Ot(_0x636576[_0x4798('0xc9')][_0x4798('0x16')],_0x27b443):_0x636576;}function Ot(_0x4426ba,_0x14515b){const _0x576aa8=_0x14515b['schema']['isObject'](_0x4426ba)||_0x14515b['schema']['isSelectable'](_0x4426ba);return _0x14515b[_0x4798('0x93')](_0x14515b[_0x4798('0x9c')](_0x4426ba,_0x4798('0xc5')),_0x576aa8?_0x14515b['createPositionAfter'](_0x4426ba):_0x14515b[_0x4798('0x9c')](_0x4426ba,_0x4798('0x4e')));}function Gt(_0x1ff3c7,_0x41e05e,_0x282168,_0xb0cd5e,_0x2a2a3d){if(!Ft(_0x1ff3c7,_0x41e05e))return!0x1;if(_0x282168[_0x4798('0x4e')][_0x4798('0x151')](_0xb0cd5e[_0x4798('0xc9')]))return!0x0;if(_0x1ff3c7[_0x4798('0xa')]!=_0x41e05e[_0x4798('0xa')])return!0x1;if(!_0x282168['end'][_0x4798('0x12d')](_0xb0cd5e[_0x4798('0xc9')]))return!0x1;const _0x48201a=_0x2a2a3d[_0x4798('0x93')](_0x282168['end'],_0xb0cd5e['start'])[_0x4798('0xff')]();for(const _0x4d7305 of _0x48201a)if([_0x4798('0x57'),_0x4798('0x6a')]['includes'](_0x4d7305[_0x4798('0xa')])&&_0x2a2a3d[_0x4798('0xcd')][_0x4798('0x88')](_0x4d7305[_0x4798('0x142')]))return!0x1;return!0x0;}function Ft(_0x432cb8,_0xd6b3a1,_0x40588c=[]){return!(!_0x432cb8[_0x4798('0x2b')]||!_0xd6b3a1[_0x4798('0x2b')])&&_0x1c6142(_0x55cd11(_0x432cb8[_0x4798('0xfe')],_0x40588c),_0x55cd11(_0xd6b3a1[_0x4798('0xfe')],_0x40588c));}function Pt(_0x5e8584,_0x30f44e){const _0x2ca3c1=Lt(_0x5e8584[_0x4798('0xfe')]),_0x8b82b2=Lt(_0x30f44e);if(!_0x5e8584[_0x4798('0x2b')])return!0x1;for(const _0x1d93aa of Object[_0x4798('0x58')](_0x8b82b2))if(!_0x1c6142(_0x2ca3c1[_0x1d93aa],_0x8b82b2[_0x1d93aa]))return!0x1;return!0x0;}function Lt(_0x2ad8fa){const _0x1a08b3=Object[_0x4798('0x119')]({},_0x2ad8fa);return delete _0x1a08b3[_0x4798('0x114')],delete _0x1a08b3[_0x4798('0x118')],_0x1a08b3;}
|
|
23
|
+
const _0x49d3=['substr','track-changes-suggestion-data-mismatch','marker-count','_isDataLoaded','get','consume','_getMarkerAnnouncementText','containsRange','addComment','_updateSuggestionData','editing','removeMarkers','plugins','acceptSelectedSuggestions','trackChanges.mergeNestedSuggestions','data-suggestion','set','formatInline:','isIntersecting','documentSelection','isOwn','oldValue','getItems','_splitMarkerName','batch','filter','insertion:join','_suggestionFactory','announce','toJSON','config','_addThreadToSuggestion','deletion:join','@external','containsPosition','commands','parent','removeComment','attributeKey','lowest','clone','document','from','_suggestions','suggestion:','length','_commentsRepository','getAllAdjacentSuggestions','_adapter','isNextTo','for','markerReady','attributeOldValue','addClass','model','_getAttributeKey','markMultiRangeInsertion','backward','createRangeIn','comments','markInlineFormat','getCommentThread','addMarker:suggestion:formatBlock','_isForcedDefaultExecutionBlock','after','createElement','newRange','markInsertion','subType','accept','PendingActions','change:data','multi','_afterChanges','_SUGGESTION_ANNOUNCEMENT','isUndo','createRangeOn','init','low','then','change:_saved','isBlock','discardSuggestion','_getExternalAuthor','addSuggestionData','addMarker:suggestion:attribute','markers','end','addMarker','highest','pop','setSelection','dataReady','_mergeNestedSuggestions','change:activeMarkers','listenTo','getRange','isLimit','ck-suggestion-marker','default','attributeNewValue','PENDING_ACTION_SUGGESTION','skipNestingCheck','includes','unbindElementFromMarkerName','range','formatGroupId','attribute:join','attribute','addHighlight','_refreshSuggestionsChain','_onDiscard','rootName','setTo','format','trackChangesCommand','insert','element','oldRange','_setSuggestionData','multipleBlocks','forEach','attribute:','type','addRange','getSuggestion','isRemovable','move','markMultiRangeDeletion','delete','trackChanges','_handleNewSuggestionMarker','_isBlockAttribute','fire','forceDefaultExecution','define','return','reconvertMarker','push','editingDowncast','head','suggestionLoaded','catch','isBefore','unshift','getChangedMarkers','deleteContent','splice','isTouching','showSuggestionHighlights','previous','ready','_removeSuggestion','writer','containsRangeInObject','elementStart','_rangeIsInLocalUserInsertion','schema','adapter','registerPostFixer','$text','formatInline:accept','getMultiRangeId','insertion:accept','external:','dataToMarker','addMarkerName','attribute:discard','createRange','tablePasteChainId','change','data','options','discardAllSuggestions','Users','elementEnd','keys','_suggestionState','formatInline:chain','createPositionAfter','_initAriaMarkerChangeAnnouncements','mapper','refresh','_findSuggestions','howMany','map','enqueueChange','getAttribute','suggestionUnloaded','substring','elementToElement','meta','_element','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.','commentThread','ck-suggestion-marker-formatBlock','addCommentThread','nodeAfter','_checkSuggestionCorrectness','markDeletion','_saved','getRanges','always','high','_recordAttributeSuggestions','unbind','add','removed','before','forward','toViewElement','isLocal','isAfter','deletion:','isInContent','discardSelectedSuggestions','_model','buildSuggestion','getUser','never','activeMarkers','getDifference','$elementName','getCustomProperty','attribute:accept','formatBlock:','_recordAttributeChanges','getFirstMarker','selection','_setSuggestionRange','editor','commandName','removeMarker','sort','getWalker','join','containsItem','group','isArray','consumable','suggestion','_addSuggestionMarker','acceptSuggestion','_registerBlockAttribute','_inlineAttributeKeys','LEAVE','_joinSuggestions','formatInline:join','ariaLiveAnnouncer','hasComments','removeClass','formatBlock','every','attributes','updateMarker','originalSuggestionId','_descriptionFactory','stopListening','createPositionAt','getIntersection','addSuggestion','getLastMatchingPosition','creator','_editor','author','isObject','values','$graveyard','updateSuggestion','root','isMultiRange','pluginName','_blockAttributeKeys','assign','createdAt','_refreshAttributeSuggestionsChain','removeMarker:suggestion:formatBlock','_joinWithAdjacentSuggestions','key','size','getSuggestions','notReady','differ','enableCommand','_enableDefaultAttributesIntegration','nodeBefore','upcast','_registerInlineAttribute','_getSuggestionData','isAtEnd','track-changes-command-not-found','registerCustomCallback','execute','getContainedElement','getSuggestionCallback','addMarker:suggestion','trackChanges.trackFormatChanges','requires','rejected','isInsideObject','suggestionChanged','_reduceExistingSuggestions','formatInline','normal','insertion','deletion:chain','find','markAttributeChange','enableReadOnlyMode','start','item','getAncestors','discard','locale','_breakSuggestionMarker','isDocumentOperation','track-changes-adapter-already-set','has','value','rename','_cutOutSuggestionMarker','ck-suggestion-marker-formatInline','formatBlock:discard','setAttribute','newValue','getChanges','isSelectable','stop','_enabledCommands','position','isIntersectingWithRange','_reduceSuggestionAttributeRange','_trackFormatChanges','toUpperCase','insertContent','resolve','isEqual','FORMATTING','formatBlock:accept','detach','removeMarker:suggestion:attribute','ck-suggestion-marker--active','_createSuggestion','$textProxy','markBlockFormat','acceptAllSuggestions','markerName','widget','_processAttributeSuggestions','insertion:','_customCallbacks','split','conversion','concat','chain','rethrowUnexpectedError','groupId','isCollapsed','markerNameToElements','CommentsRepository','name','getFirstRange','_defaultCallbacks','next','deletion','collaboration.channelId','remove','insertion:discard','fromCharCode','removeAttribute','createSelection','dataDowncast','startsWith','markerToHighlight','some','isAtStart'];(function(_0x4f67ec,_0x49d31b){const _0x40420d=function(_0x4bf30d){while(--_0x4bf30d){_0x4f67ec['push'](_0x4f67ec['shift']());}};_0x40420d(++_0x49d31b);}(_0x49d3,0x1b1));const _0x4042=function(_0x4f67ec,_0x49d31b){_0x4f67ec=_0x4f67ec-0x0;let _0x40420d=_0x49d3[_0x4f67ec];return _0x40420d;};import{Plugin as _0xb1fb7b,PendingActions as _0xc4458b}from'ckeditor5/src/core.js';import{LiveRange as _0x1da7bd}from'ckeditor5/src/engine.js';import{CKEditorError as _0x32bac2,uid as _0x2ec2a0,priorities as _0x8cb314,logWarning as _0x480750}from'ckeditor5/src/utils.js';import{toWidget as _0x116c53}from'ckeditor5/src/widget.js';import{Users as _0x1c8050,hashObject as _0x25abe0,surroundingMarkersDetector as _0x137661}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x38bbf8 from'./commands/trackchangescommand.js';import _0x1e9007 from'./commands/acceptsuggestioncommand.js';import _0x304468 from'./commands/discardsuggestioncommand.js';import _0x3ed919 from'./commands/executeonallsuggestionscommand.js';import _0x3f5fdc from'./commands/executeonselectedsuggestionscommand.js';import _0x241239 from'./suggestion.js';import _0x528270 from'./suggestiondescriptionfactory.js';import _0x134719 from'./integrations/aiassistant.js';import _0x17c905 from'./integrations/alignment.js';import _0x407bd4 from'./integrations/basicstyles.js';import _0x1a6cbb from'./integrations/blockquote.js';import _0x2e6d51 from'./integrations/casechange.js';import _0x400bb0 from'./integrations/ckbox.js';import _0x32bb92 from'./integrations/codeblock.js';import _0x4aac76 from'./integrations/comments.js';import _0x15c4f7 from'./integrations/deletecommand.js';import _0x5f038f from'./integrations/list.js';import _0x409626 from'./integrations/listproperties.js';import _0xe4493d from'./integrations/entercommand.js';import _0x4faaf6 from'./integrations/findandreplace.js';import _0x14980d from'./integrations/font.js';import _0x4f1ca4 from'./integrations/formatpainter.js';import _0x173fa7 from'./integrations/heading.js';import _0x57bee5 from'./integrations/highlight.js';import _0x5118de from'./integrations/horizontalline.js';import _0x4e53a9 from'./integrations/htmlembed.js';import _0x52e0eb from'./integrations/image.js';import _0x2947b7 from'./integrations/imagereplace.js';import _0x271b4c from'./integrations/imagestyle.js';import _0x56564f from'./integrations/importword.js';import _0x287767 from'./integrations/indent.js';import _0x324e6f from'./integrations/inputcommand.js';import _0x219038 from'./integrations/link.js';import _0xd299bd from'./integrations/legacylist.js';import _0x1ce74b from'./integrations/legacylistproperties.js';import _0x3a97b3 from'./integrations/mediaembed.js';import _0x5baca1 from'./integrations/mention.js';import _0x4e1266 from'./integrations/pagebreak.js';import _0x52dd25 from'./integrations/paragraph.js';import _0x3f551e from'./integrations/removeformat.js';import _0x20c659 from'./integrations/restrictededitingmode.js';import _0x4471bd from'./integrations/shiftentercommand.js';import _0x4c72cd from'./integrations/standardeditingmode.js';import _0x215d90 from'./integrations/style.js';import _0x52d1fb from'./integrations/table.js';import _0x4496a5 from'./integrations/tablemergesplit.js';import _0x134b84 from'./integrations/tableheadings.js';import _0x451294 from'./integrations/tableclipboard.js';import _0x50ce2a from'./integrations/tablecolumnresize.js';import _0x42cd36 from'./integrations/template.js';import _0x237182 from'./integrations/tableofcontents.js';import _0x4dfad6 from'./integrations/title.js';import _0x361f9a from'./integrations/undo.js';import _0x5e3280 from'./integrations/tablecaption.js';import _0x3333ab from'./integrations/tableproperties.js';import{getTranslation as _0x3c8dcf}from'./utils/common-translations.js';import{isEqual as _0x438cfc,omit as _0x4795a3}from'lodash-es';export const renameAttributeKey='$elementName';export default class p extends _0xb1fb7b{static get[_0x4042('0xf0')](){return[_0x4042('0x12e'),_0x1c8050,_0xc4458b,_0x134719,_0x17c905,_0x407bd4,_0x1a6cbb,_0x400bb0,_0x2e6d51,_0x32bb92,_0x4aac76,_0x15c4f7,_0xe4493d,_0x4faaf6,_0x14980d,_0x4f1ca4,_0x173fa7,_0x57bee5,_0x5118de,_0x4e53a9,_0x52e0eb,_0x271b4c,_0x2947b7,_0x56564f,_0x287767,_0x324e6f,_0xd299bd,_0x1ce74b,_0x219038,_0x5f038f,_0x409626,_0x3a97b3,_0x5baca1,_0x4e1266,_0x52dd25,_0x3f551e,_0x20c659,_0x4471bd,_0x4c72cd,_0x215d90,_0x52d1fb,_0x4496a5,_0x134b84,_0x5e3280,_0x451294,_0x50ce2a,_0x237182,_0x3333ab,_0x42cd36,_0x4dfad6,_0x361f9a];}static get[_0x4042('0xd6')](){return'TrackChangesEditing';}constructor(_0x110315){function _0x47b4ed(_0x39e9f8){return _0x39e9f8[_0x4042('0x80')](_0x716b78=>String[_0x4042('0x137')](_0x716b78))[_0x4042('0xb2')]('');}super(_0x110315),this[_0x4042('0x93')]=!0x1,this['set'](_0x4042('0xa3'),[]),this['on'](_0x4042('0x25'),(_0x1daf7a,_0x2743da,_0x15594a,_0x3c7b26)=>{this['_model'][_0x4042('0x71')](()=>{for(const _0x5bd07b of[..._0x3c7b26,..._0x15594a])this[_0x4042('0x9f')][_0x4042('0x1d')][_0x4042('0x104')](_0x5bd07b)&&_0x110315[_0x4042('0x149')][_0x4042('0x50')](_0x5bd07b);});}),this[_0x4042('0xc7')]=new _0x528270(this['editor']['model'][_0x4042('0x64')],this[_0x4042('0xad')]['locale']),this[_0x4042('0x16f')]=null,this['_suggestionFactory']=new Bt(this[_0x4042('0xad')]),this[_0x4042('0x16a')]=new Map(),this[_0x4042('0x16d')]=_0x110315[_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x12e')),this[_0x4042('0x10f')]=new Set(),this[_0x4042('0x9f')]=this[_0x4042('0xad')][_0x4042('0x175')],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this['_blockAttributeKeys']=new Set([_0x4042('0xa5')]),this[_0x4042('0xbb')]=new Set(),_0x110315[_0x4042('0x15d')][_0x4042('0x4e')](_0x4042('0xef'),_0x4042('0x2a')),this[_0x4042('0x113')]=_0x110315[_0x4042('0x15d')][_0x4042('0x143')](_0x4042('0xef')),_0x110315[_0x4042('0x15d')][_0x4042('0x4e')](_0x4042('0x14d'),!0x0),this[_0x4042('0x24')]=_0x110315['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x38bbf8(_0x110315,this[_0x4042('0x10f')]),this[_0x4042('0x7b')](),this[_0x47b4ed([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x47b4ed([0x34,0x30,0x34,0x38,0x30,0x34,0x30,0x34]);}[_0x4042('0x14')](){const _0x24c605=this['editor'],_0x3fb832=(_0x55c675,_0x382aa4)=>{if(_0x4042('0x33')!=_0x55c675)return'ck-suggestion-marker-'+_0x55c675;const _0x14da07=_0x382aa4[_0x4042('0x126')]('|')[0x0];return this[_0x4042('0x4b')](_0x14da07)?_0x4042('0x8a'):_0x4042('0x108');};_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x52'))[_0x4042('0x13c')]({'model':_0x4042('0xb7'),'view':_0x21cd78=>{const {id:_0x5023ff,type:_0x4d7f5c,subType:_0x944dd7}=this['_splitMarkerName'](_0x21cd78[_0x4042('0x121')]),_0x3b06c6=['ck-suggestion-marker',_0x3fb832(_0x4d7f5c,_0x944dd7)];let _0x46bda5=0xbb8;return this[_0x4042('0xa3')][_0x4042('0x2e')](_0x21cd78[_0x4042('0x121')])&&(_0x3b06c6[_0x4042('0x51')](_0x4042('0x11c')),_0x46bda5=0xbc2),'deletion'==_0x4d7f5c&&(_0x46bda5+=0x5),{'classes':_0x3b06c6,'attributes':{'data-suggestion':_0x5023ff},'priority':_0x46bda5};}}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x13a'))['add'](_0x4d41ad=>{_0x4d41ad['on'](_0x4042('0xee'),(_0x1ffeda,_0x3153f2,_0x322816)=>{if(!_0x322816[_0x4042('0x73')][_0x4042('0x5c')])return;const _0x2611b7=_0x3153f2[_0x4042('0xfd')];if(!_0x2611b7)return;const _0xb1803d=_0x322816[_0x4042('0x7c')][_0x4042('0x99')](_0x2611b7);_0x24c605[_0x4042('0x175')][_0x4042('0x64')][_0x4042('0xd0')](_0x2611b7)&&_0xb1803d&&!_0xb1803d[_0x4042('0xa6')](_0x4042('0x122'))&&_0xb1803d['is']('containerElement')&&_0x116c53(_0xb1803d,_0x322816[_0x4042('0x60')]);},{'priority':_0x4042('0x92')});}),_0x24c605['conversion'][_0x4042('0x171')]('dataDowncast')[_0x4042('0x13c')]({'model':_0x4042('0xb7'),'view':(_0x24a368,_0x57cf32)=>{if(!_0x57cf32[_0x4042('0x73')][_0x4042('0x5c')])return null;const {type:_0x364067,subType:_0x58eece}=this[_0x4042('0x156')](_0x24a368[_0x4042('0x121')]);return{'classes':['ck-suggestion-marker',_0x3fb832(_0x364067,_0x58eece)],'priority':0xbb8};}});const _0x52607d=({showActiveMarkers:_0x1e8ead=!0x0,isAttributeSuggestion:_0x35acee=!0x1}={})=>(_0x2f8fd2,_0x317cb4,_0x2cdb14)=>{if(!_0x317cb4[_0x4042('0xfd')])return;const {id:_0x552eec}=this[_0x4042('0x156')](_0x317cb4['markerName']);if(_0x35acee){const _0x35bac6=this[_0x4042('0x16a')]['get'](_0x552eec),_0x57ebbb=this[_0x4042('0x176')](_0x35bac6);if(!this[_0x4042('0x4b')](_0x57ebbb))return;}if(_0x317cb4[_0x4042('0xfd')]['is'](_0x4042('0xab')))return void _0x2cdb14[_0x4042('0xb6')][_0x4042('0x144')](_0x317cb4[_0x4042('0xfd')],_0x2f8fd2['name']);const _0x26ad0a=_0x2cdb14[_0x4042('0x7c')][_0x4042('0x99')](_0x317cb4[_0x4042('0xfd')]);if(_0x317cb4['item']['is'](_0x4042('0x3c'))&&_0x24c605[_0x4042('0x175')]['schema'][_0x4042('0x18')](_0x317cb4['item'])&&!_0x26ad0a['getCustomProperty'](_0x4042('0x34'))){_0x2cdb14[_0x4042('0x60')][_0x4042('0x174')]([_0x4042('0x29'),_0x4042('0x8a')],_0x26ad0a),_0x2cdb14['writer'][_0x4042('0x10a')](_0x4042('0x14e'),_0x552eec,_0x26ad0a),_0x2cdb14[_0x4042('0x7c')]['bindElementToMarker'](_0x26ad0a,_0x317cb4[_0x4042('0x121')]),_0x1e8ead&&(this[_0x4042('0xa3')][_0x4042('0x2e')](_0x317cb4['markerName'])?_0x2cdb14[_0x4042('0x60')]['addClass']('ck-suggestion-marker--active',_0x26ad0a):_0x2cdb14[_0x4042('0x60')][_0x4042('0xc1')](_0x4042('0x11c'),_0x26ad0a));for(const _0x2e602e of _0x24c605[_0x4042('0x175')][_0x4042('0x1')](_0x317cb4[_0x4042('0xfd')])[_0x4042('0x155')]())_0x2cdb14[_0x4042('0xb6')]['consume'](_0x2e602e,_0x2f8fd2[_0x4042('0x12f')]);_0x2cdb14['consumable']['consume'](_0x317cb4[_0x4042('0xfd')],_0x2f8fd2['name']);}};_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x13a'))[_0x4042('0x95')](_0x4f7c5f=>{_0x4f7c5f['on'](_0x4042('0x5'),(_0x36d4a8,_0x41215b,_0x2bb709)=>{_0x2bb709[_0x4042('0x73')][_0x4042('0x5c')]&&_0x52607d({'showActiveMarkers':!0x1})(_0x36d4a8,_0x41215b,_0x2bb709);},{'priority':'highest'});}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0x13a'))[_0x4042('0x95')](_0x5eec31=>{_0x5eec31['on'](_0x4042('0x1c'),(_0x100fe1,_0x2705b5,_0x3f648d)=>{_0x3f648d[_0x4042('0x73')]['showSuggestionHighlights']&&_0x52607d({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x100fe1,_0x2705b5,_0x3f648d);},{'priority':_0x4042('0x20')});}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')]('dataDowncast')['markerToData']({'model':_0x4042('0xb7'),'view':(_0x1188f6,_0x1e8384)=>_0x1e8384[_0x4042('0x73')]['showSuggestionHighlights']?null:{'group':_0x4042('0xb7'),'name':_0x1188f6[_0x4042('0x13f')](0xb)}}),_0x24c605['conversion'][_0x4042('0x171')](_0x4042('0xe5'))[_0x4042('0x85')]({'view':{'name':_0x4042('0xb7'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5dd305,{writer:_0x4a3dc1})=>{let _0x3a0335=_0x4042('0x16b')+_0x5dd305[_0x4042('0x82')]('suggestion-type')+':'+_0x5dd305[_0x4042('0x82')]('id');return _0x5dd305[_0x4042('0x82')](_0x4042('0x141'))&&(_0x3a0335+=':'+_0x5dd305['getAttribute'](_0x4042('0x141'))),_0x4a3dc1[_0x4042('0x8')]('$marker',{'data-name':_0x3a0335});}}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0xe5'))[_0x4042('0x6c')]({'view':_0x4042('0xb7')}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')](_0x4042('0x52'))[_0x4042('0x95')](_0x3ad848=>{_0x3ad848['on'](_0x4042('0x5'),_0x52607d(),{'priority':_0x4042('0x92')});}),_0x24c605[_0x4042('0x127')]['for'](_0x4042('0x52'))['add'](_0x47b4da=>{_0x47b4da['on'](_0x4042('0x1c'),_0x52607d({'isAttributeSuggestion':!0x0}),{'priority':'high'});}),_0x24c605[_0x4042('0x127')][_0x4042('0x171')]('editingDowncast')['add'](_0x1bcdc2=>{_0x1bcdc2['on'](_0x4042('0xdb'),(_0x5caf0a,_0x4d492a,_0x372337)=>{const _0x14b8fa=_0x372337[_0x4042('0x7c')]['markerNameToElements'](_0x4d492a[_0x4042('0x121')]);if(_0x14b8fa)for(const _0xa125cb of _0x14b8fa)_0xa125cb['getCustomProperty'](_0x4042('0x34'))||(_0x372337[_0x4042('0x60')]['removeClass'](['ck-suggestion-marker',_0x4042('0x8a'),_0x4042('0x11c')],_0xa125cb),_0x372337['writer'][_0x4042('0x138')](_0x4042('0x14e'),_0xa125cb),_0x372337[_0x4042('0x7c')]['unbindElementFromMarkerName'](_0xa125cb,_0x4d492a[_0x4042('0x121')]));},{'priority':'high'});}),_0x24c605[_0x4042('0x127')]['for']('editingDowncast')[_0x4042('0x95')](_0x78c44d=>{_0x78c44d['on'](_0x4042('0x11b'),(_0x32008c,_0x13ff14,_0xd698b6)=>{const _0x42e0a7=_0xd698b6['mapper'][_0x4042('0x12d')](_0x13ff14['markerName']);if(!_0x42e0a7)return;const {id:_0x30b103}=this[_0x4042('0x156')](_0x13ff14['markerName']),_0x27903d=this[_0x4042('0x16a')][_0x4042('0x143')](_0x30b103),_0x2e8155=this['_getAttributeKey'](_0x27903d);if(this[_0x4042('0x4b')](_0x2e8155))for(const _0x9dea2e of _0x42e0a7)_0x9dea2e[_0x4042('0xa6')](_0x4042('0x34'))||(_0xd698b6['writer'][_0x4042('0xc1')]([_0x4042('0x29'),_0x4042('0x8a'),_0x4042('0x11c')],_0x9dea2e),_0xd698b6['writer']['removeAttribute'](_0x4042('0x14e'),_0x9dea2e),_0xd698b6[_0x4042('0x7c')][_0x4042('0x2f')](_0x9dea2e,_0x13ff14[_0x4042('0x121')]));},{'priority':_0x4042('0x92')});}),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x2389e6=>{let _0x52de34=!0x1;const _0x4d9053=Array['from'](_0x24c605['model']['document'][_0x4042('0xe1')][_0x4042('0x58')]()),_0x39c3ad=new Set();for(const {name:_0x553e16,data:_0x1b6893}of _0x4d9053){const {group:_0x39d1b0,type:_0x25cf32,subType:_0x3dd519,id:_0x4b8217}=this[_0x4042('0x156')](_0x553e16);if('suggestion'!==_0x39d1b0)continue;const _0x5e62d7=this[_0x4042('0x16a')][_0x4042('0x143')](_0x4b8217);if(null!=_0x1b6893['newRange']){_0x4042('0xf5')==_0x25cf32&&(_0x52de34=_0x52de34||Tt(_0x1b6893[_0x4042('0x9')],_0x553e16,_0x2389e6,_0x24c605[_0x4042('0x175')][_0x4042('0x64')]));const _0x1f0475=_0x4042('0x33')==_0x25cf32&&this[_0x4042('0x4b')](_0x3dd519[_0x4042('0x126')]('|')[0x0]);if(_0x1b6893[_0x4042('0x9')]['isCollapsed']||_0x4042('0xd2')==_0x1b6893['newRange'][_0x4042('0xd4')][_0x4042('0x37')]||_0x4042('0xc2')==_0x25cf32&&!Vt(_0x1b6893[_0x4042('0x9')])||_0x1f0475&&!Vt(_0x1b6893[_0x4042('0x9')])||_0x4042('0x133')==_0x25cf32&&!(!Rt(_0x26f3c6=_0x1b6893[_0x4042('0x9')])&&!function(_0x4d83ae){return _0x4d83ae[_0x4042('0xfc')]['parent']==_0x4d83ae['end']['nodeBefore']&&_0x4d83ae[_0x4042('0xfc')][_0x4042('0xe8')];}(_0x26f3c6)))_0x2389e6[_0x4042('0xaf')](_0x553e16),_0x52de34=!0x0;else{if(!_0x5e62d7||!_0x5e62d7[_0x4042('0x9d')])continue;_0x39c3ad[_0x4042('0x95')](_0x5e62d7);}}}var _0x26f3c6;return _0x39c3ad[_0x4042('0xde')]>0x0&&(_0x52de34=!!this[_0x4042('0xdc')](_0x39c3ad)||_0x52de34),_0x52de34;}),_0x24c605['model'][_0x4042('0x168')]['registerPostFixer'](_0x5bdf7a=>{let _0x2e2da8=!0x1;for(const _0x145886 of _0x24c605[_0x4042('0x175')][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x10c')]())if(_0x4042('0x3b')==_0x145886[_0x4042('0x42')])for(const _0x533fc3 of this[_0x4042('0x16a')]['values']()){if(_0x533fc3[_0x4042('0xd5')]||!_0x533fc3[_0x4042('0x9d')])continue;const _0x5b7157=_0x4042('0xc2')==_0x533fc3['type'],_0x1e0341=this['_getAttributeKey'](_0x533fc3),_0x51200b=_0x1e0341&&this[_0x4042('0x4b')](_0x1e0341);if(!_0x5b7157&&!_0x51200b)continue;const _0x320b65=_0x533fc3[_0x4042('0x130')]();if(_0x320b65[_0x4042('0xfc')][_0x4042('0x163')]!=_0x320b65[_0x4042('0x1e')][_0x4042('0x163')]&&!_0x320b65[_0x4042('0x1e')][_0x4042('0xe8')]){const _0x393dbe=_0x24c605[_0x4042('0x175')][_0x4042('0xc9')](_0x320b65[_0x4042('0xfc')][_0x4042('0x8c')],_0x4042('0x1e')),_0x5458da=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x320b65['start'],_0x393dbe);_0x5bdf7a[_0x4042('0xc5')](_0x533fc3['getFirstMarker'](),{'range':_0x5458da}),_0x2e2da8=!0x0;}}return _0x2e2da8;}),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x5dc271=>this['_processAttributeChanges'](_0x5dc271)),_0x24c605[_0x4042('0x175')]['document'][_0x4042('0x66')](_0x3860bf=>!_0x3860bf[_0x4042('0x157')][_0x4042('0x9a')]&&this[_0x4042('0x123')](_0x3860bf)),_0x24c605[_0x4042('0x175')]['on'](_0x4042('0x10'),()=>{this[_0x4042('0x93')]=!0x1;}),_0x24c605[_0x4042('0x175')][_0x4042('0x168')]['on'](_0x4042('0xe'),(_0x4e14a9,_0x2a548c)=>{if(!_0x2a548c[_0x4042('0x9a')]||_0x2a548c['isUndo'])return;if(!this[_0x4042('0x93')])return;const _0x117fb7=_0x24c605[_0x4042('0x175')]['document'][_0x4042('0xe1')]['getChanges']();if(0x0==_0x117fb7[_0x4042('0x16c')])return;const _0x34f6a6=[],_0x4ba035=_0x117fb7[_0x4042('0x158')](_0x3a10f9=>_0x4042('0x33')==_0x3a10f9[_0x4042('0x42')]),_0x54343b=_0x117fb7[_0x4042('0x158')](_0x36dbb8=>_0x4042('0x3b')==_0x36dbb8[_0x4042('0x42')]&&_0x4042('0x67')!=_0x36dbb8[_0x4042('0x12f')]),_0x18f3ca=_0x117fb7[_0x4042('0x158')](_0x1e3451=>_0x4042('0x135')==_0x1e3451[_0x4042('0x42')]&&'$text'!=_0x1e3451[_0x4042('0x12f')]);for(const _0x3ff612 of _0x4ba035)this['_isRegisteredAttribute'](_0x3ff612['attributeKey'])&&_0x34f6a6[_0x4042('0x51')]({'key':_0x3ff612[_0x4042('0x165')],'newValue':_0x3ff612[_0x4042('0x2b')],'oldValue':_0x3ff612['attributeOldValue'],'range':Ut(_0x3ff612[_0x4042('0x30')],_0x24c605[_0x4042('0x175')])});for(const _0x389600 of _0x54343b){const _0x1acdda=_0x18f3ca[_0x4042('0xf9')](_0x46fb37=>_0x46fb37['_element']===_0x389600[_0x4042('0x87')]);if(_0x1acdda){const _0x30e041=Ot(_0x389600[_0x4042('0x110')]['nodeAfter'],_0x24c605[_0x4042('0x175')]);_0x1acdda[_0x4042('0x12f')]!==_0x389600[_0x4042('0x12f')]&&_0x34f6a6[_0x4042('0x51')]({'key':_0x4042('0xa5'),'newValue':_0x389600['name'],'oldValue':_0x1acdda[_0x4042('0x12f')],'range':_0x30e041});for(const [_0x17f7d9,_0x25b5d1]of _0x1acdda['attributes']){if(!this['_isRegisteredAttribute'](_0x17f7d9))continue;const _0x298aae=_0x389600[_0x4042('0xc4')][_0x4042('0x143')](_0x17f7d9);_0x25b5d1!==_0x298aae&&_0x34f6a6['push']({'key':_0x17f7d9,'newValue':_0x298aae,'oldValue':_0x25b5d1,'range':_0x30e041});}for(const [_0x3f13b9,_0x53da32]of _0x389600[_0x4042('0xc4')])this['_isRegisteredAttribute'](_0x3f13b9)&&(_0x1acdda['attributes'][_0x4042('0x104')](_0x3f13b9)||_0x34f6a6['push']({'key':_0x3f13b9,'newValue':_0x53da32,'oldValue':null,'range':_0x30e041}));}}0x0!=_0x34f6a6[_0x4042('0x16c')]&&_0x24c605[_0x4042('0x175')][_0x4042('0x81')](_0x2a548c,_0x1c1ec9=>{const _0x2eee27=_0x2ec2a0();for(const {range:_0x21e6ad,key:_0x1884b7,oldValue:_0x275148,newValue:_0x29f7b7}of _0x34f6a6)this['markAttributeChange'](_0x21e6ad,_0x1884b7,_0x275148,_0x29f7b7,{'groupId':_0x2eee27});this[_0x4042('0xf4')](_0x1c1ec9,_0x34f6a6);});},{'priority':_0x4042('0x166')}),_0x24c605[_0x4042('0x175')]['markers']['on']('update:suggestion',(_0x2a9dad,_0x5ec309,_0x30d514)=>{if(null==_0x30d514){const {id:_0xc45c78}=this[_0x4042('0x156')](_0x5ec309['name']),_0x29027d=this[_0x4042('0x16a')][_0x4042('0x143')](_0xc45c78);_0x29027d&&_0x29027d['addMarkerName'](_0x5ec309[_0x4042('0x12f')]);}}),_0x24c605[_0x4042('0x175')]['document']['on']('change:data',()=>{const _0x397955=Array[_0x4042('0x169')](_0x24c605['model'][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x58')]())[_0x4042('0x158')](_0x39ee85=>_0x4042('0xb7')===this[_0x4042('0x156')](_0x39ee85['name'])[_0x4042('0xb4')]);if(0x0===_0x397955[_0x4042('0x16c')])return;_0x397955[_0x4042('0xb0')]((_0x144772,_0x276a0d)=>{const _0x170712=_0x144772[_0x4042('0x72')][_0x4042('0x3d')],_0x58455c=_0x276a0d[_0x4042('0x72')][_0x4042('0x3d')];return null===_0x170712&&null===_0x58455c?0x0:null===_0x170712&&null!==_0x58455c?-0x1:null!==_0x170712&&null===_0x58455c?0x1:_0x170712['start'][_0x4042('0x56')](_0x58455c[_0x4042('0xfc')])?-0x1:0x1;});const _0x3071f1=new Set(),_0x41fecd=new Set();for(const {name:_0x406c9d,data:_0x29ed3c}of _0x397955){const {id:_0x57aad7}=this['_splitMarkerName'](_0x406c9d);if(null===_0x29ed3c[_0x4042('0x3d')]){const _0x3d210b=this['_handleNewSuggestionMarker'](_0x406c9d);_0x41fecd['add'](_0x3d210b);}else{const _0x3c5a54=this[_0x4042('0x16a')][_0x4042('0x143')](_0x57aad7);null!==_0x29ed3c['newRange']||_0x3c5a54[_0x4042('0x9d')]?(_0x3071f1[_0x4042('0x95')](_0x3c5a54[_0x4042('0x53')]),_0x41fecd[_0x4042('0x95')](_0x3c5a54)):this['_removeSuggestion'](_0x3c5a54);}}_0x41fecd['size']>0x0&&this['_refreshSuggestionsChain'](_0x41fecd);for(const _0x49bf0c of _0x3071f1)this[_0x4042('0x4c')](_0x4042('0xf3'),_0x49bf0c);}),_0x24c605[_0x4042('0x175')]['on']('applyOperation',(_0x1e29df,_0x11d5ec)=>{const _0x40ca46=_0x11d5ec[0x0];if(!this[_0x4042('0x16a')][_0x4042('0xde')])return;if(!_0x40ca46[_0x4042('0x102')])return;if(_0x40ca46['batch'][_0x4042('0x12')]||!_0x40ca46[_0x4042('0x157')][_0x4042('0x9a')])return;let _0x1ce686,_0xd83a56;switch(_0x40ca46[_0x4042('0x42')]){case _0x4042('0x3b'):_0x1ce686=_0x24c605['model'][_0x4042('0xc9')](_0x40ca46['position']),_0xd83a56=_0x1ce686['getShiftedBy'](_0x40ca46[_0x4042('0x7f')]);break;case _0x4042('0x126'):_0x1ce686=_0x24c605['model']['createPositionAt'](_0x40ca46['splitPosition']),_0xd83a56=_0x24c605['model'][_0x4042('0xc9')](_0x40ca46['moveTargetPosition']);break;case _0x4042('0x46'):_0x1ce686=_0x24c605[_0x4042('0x175')][_0x4042('0xc9')](_0x40ca46['targetPosition']),_0xd83a56=_0x1ce686['getShiftedBy'](_0x40ca46[_0x4042('0x7f')]);break;default:return;}const _0xccdc41=_0x24c605['model']['createRange'](_0x1ce686,_0xd83a56);_0x24c605[_0x4042('0x175')][_0x4042('0x71')](()=>{for(const {suggestion:_0x10e774,meta:_0x11d0c3}of this[_0x4042('0x7e')](_0xccdc41)){if(_0x10e774[_0x4042('0xd5')])continue;if(_0x4042('0xf5')==_0x10e774['type'])continue;const _0x1de9ee=this['_getAttributeKey'](_0x10e774);if(_0x1de9ee&&this[_0x4042('0x4b')](_0x1de9ee)&&'split'!=_0x40ca46[_0x4042('0x42')])continue;const _0x17fb6d=_0x10e774['data']&&_0x10e774[_0x4042('0x72')][_0x4042('0x3f')];(_0x4042('0xc2')!=_0x10e774[_0x4042('0x42')]||'split'==_0x40ca46[_0x4042('0x42')]&&!_0x17fb6d)&&(_0x11d0c3[_0x4042('0x61')]||'insertion'==_0x10e774['type']&&_0x11d0c3['isOwn']||_0x10e774[_0x4042('0x130')]()[_0x4042('0x146')](_0xccdc41)&&this['_breakSuggestionMarker'](_0x10e774,_0x1ce686,_0xd83a56));}});},{'priority':'lowest'}),_0x24c605['model']['on'](_0x4042('0x59'),(_0x42614f,_0xbde22c)=>{const _0xb23301=_0xbde22c[0x0],_0x5916a0=_0xbde22c[0x1];if(_0x5916a0&&_0x5916a0[_0x4042('0x4d')])return;if(this[_0x4042('0x6')])return;if(!this[_0x4042('0x3a')]['value'])return;if(_0xb23301[_0x4042('0x12c')])return;const _0x5f0397=_0x24c605[_0x4042('0x175')][_0x4042('0x64')],{start:_0x5074bf,end:_0x1d6c75}=_0xb23301[_0x4042('0x130')](),_0x2da729=_0x5074bf['nodeAfter']&&_0x5f0397[_0x4042('0x28')](_0x5074bf['nodeAfter'])?null:_0x5f0397['getNearestSelectionRange'](_0x5074bf,_0x4042('0x98')),_0x163280=_0x1d6c75[_0x4042('0xe4')]&&_0x5f0397[_0x4042('0x28')](_0x1d6c75[_0x4042('0xe4')])?null:_0x5f0397['getNearestSelectionRange'](_0x1d6c75,_0x4042('0x0')),_0xf96788=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x2da729?_0x2da729['start']:_0x5074bf,_0x163280?_0x163280['end']:_0x1d6c75);_0x24c605[_0x4042('0x175')][_0x4042('0x71')](_0x1078f6=>{this[_0x4042('0x8e')](_0xf96788);const _0x418f76=_0x24c605[_0x4042('0x175')][_0x4042('0x64')]['getNearestSelectionRange'](_0xf96788[_0x4042('0xfc')]);_0xb23301['is'](_0x4042('0x152'))?_0x1078f6['setSelection'](_0x418f76):_0xb23301[_0x4042('0x38')](_0x418f76);}),_0x42614f[_0x4042('0x10e')]();},{'priority':_0x8cb314[_0x4042('0xf6')]+0xa}),_0x24c605[_0x4042('0x175')]['on'](_0x4042('0x115'),(_0x46a4b0,_0x4bd3e0)=>{const _0x216ac3=_0x4bd3e0[_0x4bd3e0[_0x4042('0x16c')]-0x1];_0x216ac3&&_0x216ac3['forceDefaultExecution']||this[_0x4042('0x6')]||this[_0x4042('0x3a')][_0x4042('0x105')]&&(_0x24c605[_0x4042('0x175')][_0x4042('0x71')](()=>{let _0x279c52=_0x24c605['model'][_0x4042('0x115')](_0x4bd3e0[0x0],_0x4bd3e0[0x1],_0x4bd3e0[0x2],{'forceDefaultExecution':!0x0});if(!_0x279c52)return;_0x46a4b0[_0x4042('0x4f')]=_0x279c52[_0x4042('0x167')]();const _0x3e3976=_0x279c52[_0x4042('0x1e')]['nodeBefore'],_0x17780f=_0x24c605['model'][_0x4042('0x64')];_0x3e3976&&_0x17780f[_0x4042('0x18')](_0x3e3976)&&!_0x17780f[_0x4042('0xd0')](_0x3e3976)&&(_0x279c52=_0x24c605[_0x4042('0x175')][_0x4042('0x6f')](_0x279c52[_0x4042('0xfc')],_0x24c605['model']['createPositionAt'](_0x3e3976,'end'))),this['markInsertion'](_0x279c52);}),_0x46a4b0[_0x4042('0x10e')]());},{'priority':_0x4042('0x92')}),this[_0x4042('0xad')][_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x49'),this['trackChangesCommand']),this['enableCommand'](_0x4042('0x49'));const _0xa32354=new _0x1e9007(_0x24c605,this[_0x4042('0x16a')]);_0x24c605['commands'][_0x4042('0x95')](_0x4042('0xb9'),_0xa32354),this[_0x4042('0xe2')](_0x4042('0xb9'));const _0x2879d4=new _0x304468(_0x24c605,this[_0x4042('0x16a')]);_0x24c605[_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x19'),_0x2879d4),this['enableCommand'](_0x4042('0x19')),_0x24c605['commands'][_0x4042('0x95')]('acceptAllSuggestions',new _0x3ed919(_0x24c605,_0xa32354,this[_0x4042('0x16a')])),this[_0x4042('0xe2')](_0x4042('0x120')),_0x24c605[_0x4042('0x162')][_0x4042('0x95')](_0x4042('0x74'),new _0x3ed919(_0x24c605,_0x2879d4,this[_0x4042('0x16a')])),this[_0x4042('0xe2')]('discardAllSuggestions'),_0x24c605[_0x4042('0x162')]['add'](_0x4042('0x14c'),new _0x3f5fdc(_0x24c605,_0xa32354,this[_0x4042('0x16a')])),this[_0x4042('0xe2')]('acceptSelectedSuggestions'),_0x24c605[_0x4042('0x162')]['add'](_0x4042('0x9e'),new _0x3f5fdc(_0x24c605,_0x2879d4,this[_0x4042('0x16a')])),this[_0x4042('0xe2')](_0x4042('0x9e'));const _0x4c86e8=_0x24c605['plugins'][_0x4042('0x143')](_0x4042('0x12e'));this[_0x4042('0x26')](_0x4c86e8,_0x4042('0x147'),(_0x3d135c,{threadId:_0x400481})=>{const _0x35a27f=this[_0x4042('0x16a')]['get'](_0x400481);_0x35a27f&&_0x35a27f['commentThread']&&0x1===_0x35a27f[_0x4042('0x89')]['length']&&this[_0x4042('0x148')](_0x400481,{'hasComments':!0x0});},{'priority':_0x4042('0x15')}),this[_0x4042('0x26')](_0x4c86e8,_0x4042('0x164'),(_0x259a3d,{threadId:_0x119b8c})=>{const _0x23116c=this[_0x4042('0x16a')][_0x4042('0x143')](_0x119b8c);_0x23116c&&_0x23116c[_0x4042('0x89')]&&!_0x23116c[_0x4042('0x89')][_0x4042('0x16c')]&&this['_updateSuggestionData'](_0x119b8c,{'hasComments':!0x1});},{'priority':_0x4042('0x15')});}set[_0x4042('0x65')](_0x4b3277){if(this[_0x4042('0x16f')])throw new _0x32bac2(_0x4042('0x103'),this);this[_0x4042('0x16f')]=_0x4b3277;}get[_0x4042('0x65')](){return this[_0x4042('0x16f')];}['getSuggestions']({skipNotAttached:_0x56b856=!0x1,toJSON:_0x37e804=!0x1}={}){const _0xd61dc8=[];for(const _0x4a0808 of this[_0x4042('0x16a')]['values']())_0x56b856&&!_0x4a0808[_0x4042('0x9d')]||_0xd61dc8[_0x4042('0x51')](_0x4a0808);return _0x37e804?_0xd61dc8[_0x4042('0x80')](_0x255dd7=>_0x255dd7[_0x4042('0x15c')]()):_0xd61dc8;}[_0x4042('0x44')](_0x387f20){const _0x497554=this[_0x4042('0x16a')]['get'](_0x387f20);if(!_0x497554)throw new _0x32bac2('track-changes-suggestion-not-found',this);return _0x497554;}['hasSuggestion'](_0xa49268){return this[_0x4042('0x16a')]['has'](_0xa49268);}[_0x4042('0x1b')](_0x157fde){const {authorId:_0x1bb56f,id:_0x10efa8,attributes:_0x3ccb9c}=_0x157fde,[_0x18c779,_0x419955]=_0x157fde[_0x4042('0x42')][_0x4042('0x126')](':'),_0x1a7931=this['_suggestions'][_0x4042('0x143')](_0x10efa8)||this[_0x4042('0x11d')](_0x18c779,_0x419955,_0x10efa8,_0x1bb56f,_0x3ccb9c);if(this[_0x4042('0x15e')](_0x1a7931),this['_checkSuggestionCorrectness'](_0x1a7931,_0x18c779,_0x419955||null,_0x1bb56f),_0x1a7931[_0x4042('0xd9')]=_0x157fde[_0x4042('0xd9')],_0x1a7931['_isDataLoaded']=!0x0,_0x3ccb9c&&_0x3ccb9c['@external']){const _0x3d859f=_0x3ccb9c[_0x4042('0x160')],_0x52a65b=this[_0x4042('0x1a')](_0x3d859f['authorName']);_0x1a7931['authoredAt']=_0x3d859f[_0x4042('0xd9')],_0x1a7931[_0x4042('0xcf')]=_0x52a65b,_0x1a7931['isExternal']=!0x0;}else _0x1a7931['authoredAt']=_0x157fde[_0x4042('0xd9')];switch(_0x157fde[_0x4042('0x72')]&&(_0x1a7931[_0x4042('0x72')]=_0x157fde[_0x4042('0x72')]),_0x157fde[_0x4042('0xc4')]&&(_0x1a7931['attributes']=_0x157fde[_0x4042('0xc4')]),this[_0x4042('0x16f')]&&this['_adapter'][_0x4042('0xcb')]||(_0x1a7931['_saved']=!0x0),this[_0x4042('0x78')][_0x4042('0x143')](_0x1a7931)){case'notReady':this['_suggestionState'][_0x4042('0x14f')](_0x1a7931,_0x4042('0x23'));break;case'markerReady':_0x1a7931[_0x4042('0x9d')]?(this['_joinWithAdjacentSuggestions'](new Set([_0x1a7931])),this[_0x4042('0x35')](new Set([_0x1a7931])),this[_0x4042('0x78')][_0x4042('0x14f')](_0x1a7931,_0x4042('0x5e')),this[_0x4042('0x4c')](_0x4042('0x54'),_0x1a7931)):this[_0x4042('0x78')][_0x4042('0x14f')](_0x1a7931,_0x4042('0x96'));}return _0x1a7931;}[_0x4042('0xb9')](_0x58cdec){this[_0x4042('0x4d')](()=>{this[_0x4042('0xad')][_0x4042('0x175')][_0x4042('0x71')](()=>{for(const _0xd6b2b4 of _0x58cdec[_0x4042('0x16e')]())_0xd6b2b4['accept']();});});}['discardSuggestion'](_0x3d2802){this[_0x4042('0x4d')](()=>{this[_0x4042('0xad')][_0x4042('0x175')][_0x4042('0x71')](()=>{for(const _0x3065d2 of _0x3d2802['getAllAdjacentSuggestions']())_0x3065d2[_0x4042('0xff')]();});});}['enableCommand'](_0xf85cff,_0x521ee9){const _0x55f705=this[_0x4042('0xad')][_0x4042('0x162')][_0x4042('0x143')](_0xf85cff);if(!_0x55f705)throw new _0x32bac2(_0x4042('0xe9'),this,{'commandName':_0xf85cff});if(this['_enabledCommands']['has'](_0x55f705))throw new _0x32bac2('track-changes-enable-command-twice',this,{'commandName':_0xf85cff});this[_0x4042('0x10f')][_0x4042('0x95')](_0x55f705),_0x521ee9&&_0x55f705['on'](_0x4042('0xeb'),(_0x1758ec,_0x361b5c)=>{this['trackChangesCommand']['value']&&(this[_0x4042('0x6')]||(_0x361b5c[_0x4042('0x16c')]>0x0&&_0x361b5c[_0x361b5c['length']-0x1]&&_0x361b5c[_0x361b5c[_0x4042('0x16c')]-0x1][_0x4042('0x4d')]?_0x361b5c[_0x4042('0x21')]():(_0x1758ec[_0x4042('0x4f')]=_0x521ee9((..._0x11b01b)=>_0x55f705['execute'](..._0x11b01b,{'forceDefaultExecution':!0x0}),..._0x361b5c),_0x1758ec['stop']())));},{'priority':_0x4042('0x92')});}[_0x4042('0x4d')](_0x2b182c){let _0x45ce67,_0x5339f2;const _0x55b7e0=this[_0x4042('0x6')];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x45ce67=_0x2b182c();}catch(_0x39ea81){_0x5339f2=_0x39ea81;}return _0x55b7e0||(this[_0x4042('0x6')]=!0x1),_0x5339f2&&_0x32bac2[_0x4042('0x12a')](_0x5339f2,this),_0x45ce67;}[_0x4042('0xa')](_0x38a7a7,_0x11be8a=null,_0x1137d0={}){if(_0x38a7a7[_0x4042('0x12c')])return null;const _0x453d6a=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];for(const {suggestion:_0x5e4aa6,meta:_0x5d7b15}of this['_findSuggestions'](_0x38a7a7,'insertion'))if(_0x5d7b15[_0x4042('0x153')]){if(!_0x5d7b15[_0x4042('0x170')]){if(_0x5d7b15[_0x4042('0x61')]){if(!this[_0x4042('0x24')]||!Pt(_0x5e4aa6,_0x1137d0))continue;return _0x5e4aa6;}if(Pt(_0x5e4aa6,_0x1137d0))return _0x5e4aa6;this['_breakSuggestionMarker'](_0x5e4aa6,_0x38a7a7[_0x4042('0xfc')],_0x38a7a7[_0x4042('0x1e')]);break;}if(_0x11be8a==_0x5e4aa6[_0x4042('0xb')]&&Pt(_0x5e4aa6,_0x1137d0)){const _0x24ea76=_0x5e4aa6['getFirstRange']();return _0x24ea76[_0x4042('0xfc')][_0x4042('0x117')](_0x38a7a7[_0x4042('0x1e')])?this[_0x4042('0xac')](_0x5e4aa6,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x38a7a7[_0x4042('0xfc')],_0x24ea76[_0x4042('0x1e')])):this['_setSuggestionRange'](_0x5e4aa6,this[_0x4042('0x9f')]['createRange'](_0x24ea76[_0x4042('0xfc')],_0x38a7a7['end'])),_0x5e4aa6;}}const _0x32ac63=_0x2ec2a0(),_0x1d4e6c=_0x453d6a['id'],_0x235f06=_0x11be8a?_0x4042('0x124')+_0x11be8a:'insertion',_0xd670bc=this[_0x4042('0x3e')]({'id':_0x32ac63,'type':_0x235f06,'createdAt':new Date(),'authorId':_0x1d4e6c,'attributes':_0x1137d0});return this['_addSuggestionMarker'](_0x235f06,_0x32ac63,_0x1d4e6c,_0x38a7a7),_0xd670bc;}[_0x4042('0x177')](_0x3da0c3,_0x27acb8=_0x4042('0xf'),_0x12d77b={}){const _0x24d615=this['editor'][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'],_0x1d6616=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xf7'),_0x27acb8,_0x4042('0xb2'));for(const _0x3ffffb of this[_0x4042('0xdf')]())if(_0x3ffffb[_0x4042('0xcf')]['id']==_0x24d615['id']&&_0x4042('0xf7')==_0x3ffffb[_0x4042('0x42')]&&_0x3ffffb[_0x4042('0xb')]==_0x27acb8&&Pt(_0x3ffffb,_0x12d77b)&&(_0x1d6616(_0x3ffffb[_0x4042('0x90')](),_0x3da0c3)||_0x1d6616(_0x3da0c3,_0x3ffffb[_0x4042('0x90')]()))){for(const _0x50f34c of _0x3da0c3)_0x3ffffb[_0x4042('0x43')](_0x50f34c);return _0x3ffffb;}for(const {suggestion:_0x3007f9,meta:_0x40841a}of this[_0x4042('0x7e')](_0x3da0c3,_0x4042('0xf7'))){if(!_0x40841a[_0x4042('0x153')])continue;if(!this['_mergeNestedSuggestions']&&_0x40841a['containsRangeInObject'])continue;if(!Pt(_0x3007f9,_0x12d77b))continue;let _0x2de293=!0x0;for(const _0x5c42dc of _0x3007f9[_0x4042('0x90')]())for(const _0x49b4d6 of _0x3da0c3)if(!_0x5c42dc[_0x4042('0x146')](_0x49b4d6)){_0x2de293=!0x1;break;}if(_0x2de293)return _0x3007f9;}const _0x146410=_0x2ec2a0(),_0x126e49=_0x24d615['id'],_0x4bafba='insertion:'+_0x27acb8,_0x44561c=this['_setSuggestionData']({'id':_0x146410,'type':_0x4bafba,'createdAt':new Date(),'authorId':_0x126e49,'attributes':_0x12d77b});for(const _0x1a6d6c of _0x3da0c3)this[_0x4042('0xb8')](_0x4bafba,_0x146410,_0x126e49,_0x1a6d6c,_0x241239[_0x4042('0x69')]());return _0x44561c;}[_0x4042('0x3')](_0x17a324,_0x22dfaa,_0x509942=null,_0x15c063={}){if(_0x509942=_0x509942||Et(_0x22dfaa),_0x17a324[_0x4042('0x12c')])return null;if(_0x4042('0xa2')===this[_0x4042('0x113')]){const _0x435be6=this[_0x4042('0x15a')]['getSuggestionCallback'](_0x4042('0xf5'),_0x509942,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x435be6([_0x17a324],_0x22dfaa,_0x15c063)),null;}const _0x1f1c7b=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0x75'))['me'],_0x266c0a=[];if('always'!==this[_0x4042('0x113')])for(const {suggestion:_0x3c624a,meta:_0x18f4af}of this['_findSuggestions'](_0x17a324,_0x4042('0xf7')))_0x18f4af[_0x4042('0x153')]&&!_0x18f4af[_0x4042('0xf2')]&&_0x266c0a['push'](..._0x3c624a[_0x4042('0x90')]());const _0xca8bd4=function(_0x195f42,_0x454a42){const _0x256666=[];for(const _0x56b059 of _0x454a42){const _0x4ca904=_0x195f42['getIntersection'](_0x56b059);_0x4ca904&&_0x256666['push'](_0x4ca904);}return _0x256666;}(_0x17a324,_0x266c0a),_0x4292f3=function(_0x6ce4bd,_0x238c10){const _0x10f3ec=[_0x6ce4bd];for(const _0x2134ce of _0x238c10){let _0x233a5c=0x0;for(;_0x233a5c<_0x10f3ec[_0x4042('0x16c')];){const _0x41e583=_0x10f3ec[_0x233a5c][_0x4042('0xa4')](_0x2134ce);_0x10f3ec[_0x4042('0x5a')](_0x233a5c,0x1,..._0x41e583),_0x233a5c+=_0x41e583[_0x4042('0x16c')];}}return _0x10f3ec;}(_0x17a324,_0x266c0a);_0xca8bd4[_0x4042('0x16c')]&&this['_model']['change'](()=>{for(const _0x2670ce of _0xca8bd4){const _0x24b2d2=this['_suggestionFactory'][_0x4042('0xed')](_0x4042('0xf5'),_0x509942,_0x4042('0xc'));this[_0x4042('0x4d')](()=>_0x24b2d2([_0x2670ce],_0x22dfaa,_0x15c063));}});for(const _0x7bef7d of _0x4292f3){let _0x562292=null,_0x270d58=_0x7bef7d['start'],_0x6beb0=_0x7bef7d['end'];for(const {suggestion:_0x310232,meta:_0x2b679a}of this[_0x4042('0x7e')](_0x7bef7d,_0x4042('0xf5'))){if(!_0x2b679a['isOwn'])continue;if(_0x310232[_0x4042('0xb')]!=_0x509942)continue;if(!Pt(_0x310232,_0x15c063))continue;const _0x1aeb6f=_0x310232[_0x4042('0x130')]();if(_0x1aeb6f[_0x4042('0x146')](_0x7bef7d,!0x0))return null;_0x270d58=_0x270d58[_0x4042('0x56')](_0x1aeb6f[_0x4042('0xfc')])?_0x270d58:_0x1aeb6f['start'],_0x6beb0=_0x6beb0[_0x4042('0x9b')](_0x1aeb6f[_0x4042('0x1e')])?_0x6beb0:_0x1aeb6f['end'],_0x562292?_0x1aeb6f[_0x4042('0xfc')][_0x4042('0x56')](_0x562292[_0x4042('0x130')]()[_0x4042('0xfc')])?(_0x562292['removeMarkers'](),_0x562292=_0x310232):_0x310232[_0x4042('0x14a')]():_0x562292=_0x310232;}const _0x5da68c=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x270d58,_0x6beb0);if(_0x562292)this['_setSuggestionRange'](_0x562292,_0x5da68c);else{const _0x3553d7=_0x2ec2a0(),_0x4309ba=_0x1f1c7b['id'];this['_setSuggestionData']({'id':_0x3553d7,'type':_0x4042('0x150')+_0x509942,'data':_0x22dfaa,'createdAt':new Date(),'authorId':_0x4309ba,'attributes':_0x15c063}),this['_addSuggestionMarker'](_0x4042('0x150')+_0x509942,_0x3553d7,_0x4309ba,_0x5da68c);}}return null;}[_0x4042('0x11f')](_0xf942cf,_0x406193,_0xb8cd78=[],_0x2e825c=null,_0x38b6fc={}){_0x406193[_0x4042('0x31')]||(_0x406193[_0x4042('0x31')]=_0x406193[_0x4042('0xae')]),_0x406193['multipleBlocks']=_0xf942cf['is'](_0x4042('0x30')),_0x2e825c=_0x2e825c||Et(_0x406193);const _0x9f2c1e=_0xb8cd78[_0x4042('0x80')](_0x48dc16=>Ot(_0x48dc16,this[_0x4042('0x9f')])),_0x14ba0b=_0xf942cf['is']('range')?_0xf942cf:Ot(_0xf942cf,this[_0x4042('0x9f')]);if(_0x4042('0xa2')===this[_0x4042('0x113')]){const _0x370ebc=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x2e825c,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x370ebc([_0x14ba0b],_0x406193,_0x38b6fc)),null;}_0x9f2c1e[_0x4042('0x51')](_0x14ba0b);let _0x3da2dd=!0x0;for(const _0x24bfcf of _0x9f2c1e)if(!this['_rangeIsInLocalUserInsertion'](_0x24bfcf)){_0x3da2dd=!0x1;break;}if(_0x3da2dd&&_0x4042('0x91')!==this[_0x4042('0x113')]){const _0x50ec55=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x2e825c,_0x4042('0xc'));return this['forceDefaultExecution'](()=>_0x50ec55([_0x14ba0b],_0x406193,_0x38b6fc)),null;}let _0x2d1aa6=null,_0x5dc431=_0x14ba0b[_0x4042('0xfc')],_0x12b6f9=_0x14ba0b[_0x4042('0x1e')];for(const {suggestion:_0x27d7a0,meta:_0x11a7f7}of this[_0x4042('0x7e')](_0x14ba0b,_0x4042('0xc2'))){if(!_0x11a7f7[_0x4042('0x153')])continue;if(_0x11a7f7[_0x4042('0x170')]||_0x11a7f7[_0x4042('0x61')]||_0x11a7f7[_0x4042('0xf2')])continue;if(_0x27d7a0['data']['formatGroupId']!=_0x406193['formatGroupId'])continue;if(!Pt(_0x27d7a0,_0x38b6fc))continue;const _0x2371d7=_0x27d7a0[_0x4042('0x130')]();if(_0x27d7a0[_0x4042('0xb')]==_0x2e825c){if(_0x2371d7['containsRange'](_0x14ba0b,!0x0))return null;_0x5dc431=_0x5dc431[_0x4042('0x56')](_0x2371d7['start'])?_0x5dc431:_0x2371d7[_0x4042('0xfc')],_0x12b6f9=_0x12b6f9[_0x4042('0x9b')](_0x2371d7[_0x4042('0x1e')])?_0x12b6f9:_0x2371d7['end'],_0x2d1aa6?_0x2371d7[_0x4042('0xfc')]['isBefore'](_0x2d1aa6['getFirstRange']()[_0x4042('0xfc')])?(_0x2d1aa6['removeMarkers'](),_0x2d1aa6=_0x27d7a0):_0x27d7a0[_0x4042('0x14a')]():_0x2d1aa6=_0x27d7a0;}else{const _0x56d503=_0x14ba0b[_0x4042('0xca')](_0x2371d7);this[_0x4042('0x107')](_0x27d7a0,_0x56d503);}}const _0x1d415b=this[_0x4042('0xad')]['plugins'][_0x4042('0x143')](_0x4042('0x75'))['me'],_0xc58487=_0x2ec2a0(),_0x3cfe3c=_0x1d415b['id'];if(_0x2d1aa6)return this[_0x4042('0xac')](_0x2d1aa6,this['_model']['createRange'](_0x5dc431,_0x12b6f9)),_0x2d1aa6;{const _0x1af633=this[_0x4042('0x3e')]({'id':_0xc58487,'type':_0x4042('0xa8')+_0x2e825c,'data':_0x406193,'createdAt':new Date(),'authorId':_0x3cfe3c,'attributes':_0x38b6fc});return this[_0x4042('0xb8')](_0x4042('0xa8')+_0x2e825c,_0xc58487,_0x3cfe3c,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x5dc431,_0x12b6f9)),_0x1af633;}}['markMultiRangeBlockFormat'](_0x37cd03,_0x2711d6,_0x1f6f8e=[],_0x5c7b77=null,_0x361120={}){_0x2711d6['formatGroupId']||(_0x2711d6[_0x4042('0x31')]=_0x2711d6[_0x4042('0xae')]);const _0x799fd4=_0x37cd03[0x0];_0x2711d6[_0x4042('0x3f')]=_0x799fd4['is'](_0x4042('0x30')),_0x5c7b77=_0x5c7b77||Et(_0x2711d6);const _0x381bcc=_0x1f6f8e[_0x4042('0x80')](_0x9a34c5=>Ot(_0x9a34c5,this[_0x4042('0x9f')])),_0x26e359=_0x799fd4['is'](_0x4042('0x30'))?_0x37cd03:_0x37cd03[_0x4042('0x80')](_0x73010b=>Ot(_0x73010b,this['_model']));if('never'===this['_trackFormatChanges']){const _0x503f1f=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0xc2'),_0x5c7b77,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x503f1f(_0x26e359,_0x2711d6,_0x361120)),null;}_0x381bcc['push'](..._0x26e359);let _0x2da3f9=!0x0;for(const _0x2ce4f8 of _0x381bcc)if(!this[_0x4042('0x63')](_0x2ce4f8)){_0x2da3f9=!0x1;break;}if(_0x2da3f9&&'always'!==this[_0x4042('0x113')]){const _0x4a4e73=this[_0x4042('0x15a')][_0x4042('0xed')]('formatBlock',_0x5c7b77,'accept');return this[_0x4042('0x4d')](()=>_0x4a4e73(_0x26e359,_0x2711d6,_0x361120)),null;}const _0x2e96b0=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];for(const _0x463b51 of this['getSuggestions']()){if(_0x463b51[_0x4042('0xcf')]['id']!=_0x2e96b0['id'])continue;if(_0x4042('0xc2')!=_0x463b51['type']||_0x463b51[_0x4042('0x72')][_0x4042('0x31')]!=_0x2711d6[_0x4042('0x31')])continue;if(!Pt(_0x463b51,_0x361120))continue;const _0x2fe126=_0x463b51[_0x4042('0xb')]==_0x5c7b77;for(let _0x4914b3=0x0;_0x4914b3<_0x26e359[_0x4042('0x16c')];_0x4914b3++){const _0x132323=_0x26e359[_0x4914b3];for(const _0x1c06e5 of _0x463b51['getMarkers']()){const _0x3dd334=_0x1c06e5[_0x4042('0x27')]();if(_0x132323['isEqual'](_0x3dd334)){_0x2fe126?(_0x26e359[_0x4042('0x5a')](_0x4914b3,0x1),_0x4914b3--):_0x463b51[_0x4042('0xaf')](_0x1c06e5[_0x4042('0x12f')]);break;}}}}if(0x0==_0x26e359['length'])return null;const _0x9638f7=this['_suggestionFactory'][_0x4042('0xed')](_0x4042('0xc2'),_0x5c7b77,'join');for(const _0x1c401f of this[_0x4042('0xdf')]())if(_0x1c401f[_0x4042('0xcf')]['id']==_0x2e96b0['id']&&_0x4042('0xc2')==_0x1c401f[_0x4042('0x42')]&&_0x1c401f[_0x4042('0x72')][_0x4042('0x31')]==_0x2711d6[_0x4042('0x31')]&&_0x1c401f[_0x4042('0xb')]==_0x5c7b77&&Pt(_0x1c401f,_0x361120)&&(_0x9638f7(_0x1c401f[_0x4042('0x90')](),_0x26e359)||_0x9638f7(_0x26e359,_0x1c401f[_0x4042('0x90')]()))){for(const _0x321d13 of _0x26e359)_0x1c401f[_0x4042('0x43')](_0x321d13);return _0x1c401f;}const _0x166d8c=_0x2ec2a0(),_0x1030d5=_0x2e96b0['id'],_0x4136ad=_0x4042('0xa8')+_0x5c7b77,_0x4997af=this[_0x4042('0x3e')]({'id':_0x166d8c,'type':_0x4136ad,'data':_0x2711d6,'createdAt':new Date(),'authorId':_0x1030d5,'attributes':_0x361120});for(const _0x46fb51 of _0x26e359)this['_addSuggestionMarker'](_0x4136ad,_0x166d8c,_0x1030d5,_0x46fb51,_0x241239['getMultiRangeId']());return _0x4997af;}[_0x4042('0x8e')](_0xb13252,_0x345d93=null,_0x493d92={}){if(_0xb13252['isCollapsed'])return null;const _0x554116=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0x75'))['me'],_0x8661da=new _0x1da7bd(_0xb13252[_0x4042('0xfc')],_0xb13252[_0x4042('0x1e')]);for(const {suggestion:_0x4873d1,meta:_0x215667}of this[_0x4042('0x7e')](_0x8661da,_0x4042('0xf7')))if(_0x215667[_0x4042('0x153')]&&!_0x215667[_0x4042('0x170')]){if(_0x4873d1[_0x4042('0xd5')]){const _0x2f3390=_0x4873d1['getRanges']()[_0x4042('0x158')](_0x56c1bb=>_0x4042('0xd2')!=_0x56c1bb['root'][_0x4042('0x37')]);_0x2f3390['every'](_0x1d3e74=>_0x8661da[_0x4042('0x146')](_0x1d3e74,!0x0))&&_0x4873d1['discard']();if(_0x2f3390['some'](_0xfa1f86=>_0xfa1f86[_0x4042('0x146')](_0x8661da,!0x0))){const _0x114047=this[_0x4042('0x15a')]['getSuggestionCallback'](_0x4042('0x133'),_0x345d93,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x114047([_0x8661da],null,_0x493d92)),null;}}else{const _0x2d0091=_0x8661da[_0x4042('0xca')](_0x4873d1[_0x4042('0x130')]());null!==_0x2d0091&&_0x4873d1[_0x4042('0x36')]([_0x2d0091],null,_0x493d92);}}if(_0x8661da[_0x4042('0x11a')](),_0x8661da[_0x4042('0x12c')]||'$graveyard'==_0x8661da['root'][_0x4042('0x37')])return null;let _0x10cfc5=null,_0x3685fd=_0x8661da[_0x4042('0xfc')],_0x949771=_0x8661da[_0x4042('0x1e')];const _0xef65c2=this[_0x4042('0x7e')](_0x8661da,'deletion');for(const {suggestion:_0x12d892,meta:_0x1ddfa5}of _0xef65c2){const _0x17b362=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x3685fd,_0x949771);if(_0x1ddfa5[_0x4042('0x153')]&&(this[_0x4042('0x24')]||!_0x1ddfa5[_0x4042('0x61')]&&!_0x1ddfa5['isInsideObject'])){if(_0x12d892[_0x4042('0xd5')]){if(!Pt(_0x12d892,_0x493d92))continue;let _0x230faa=!0x0;for(const _0x552914 of _0x12d892[_0x4042('0x90')]()){if(_0x552914[_0x4042('0x146')](_0x17b362,!0x0))return _0x12d892;_0x17b362[_0x4042('0x146')](_0x552914)||(_0x230faa=!0x1);}_0x230faa&&_0x12d892['discard']();}else{const _0x24de0c=_0x12d892[_0x4042('0x130')]();if(_0x24de0c['containsRange'](_0x17b362,!0x0))return _0x12d892;if(!Pt(_0x12d892,_0x493d92)){_0x17b362[_0x4042('0x146')](_0x24de0c)?_0x12d892['removeMarkers']():_0x24de0c[_0x4042('0x161')](_0x3685fd)?_0x3685fd=_0x24de0c[_0x4042('0x1e')]:_0x24de0c[_0x4042('0x161')](_0x949771)&&(_0x949771=_0x24de0c[_0x4042('0xfc')]);continue;}_0x3685fd=_0x3685fd[_0x4042('0x56')](_0x24de0c['start'])?_0x3685fd:_0x24de0c[_0x4042('0xfc')],_0x949771=_0x949771[_0x4042('0x9b')](_0x24de0c[_0x4042('0x1e')])?_0x949771:_0x24de0c[_0x4042('0x1e')],_0x493d92=Object[_0x4042('0xd8')]({},_0x12d892[_0x4042('0xc4')]),_0x10cfc5?_0x24de0c[_0x4042('0xfc')][_0x4042('0x56')](_0x10cfc5[_0x4042('0x130')]()['start'])?(_0x10cfc5[_0x4042('0x14a')](),_0x10cfc5=_0x12d892):_0x12d892[_0x4042('0x14a')]():_0x10cfc5=_0x12d892;}}}if(_0x10cfc5)return this['_setSuggestionRange'](_0x10cfc5,this[_0x4042('0x9f')]['createRange'](_0x3685fd,_0x949771)),_0x10cfc5;{const _0x39f31e=_0x2ec2a0(),_0x5d564f=this[_0x4042('0x9f')]['createRange'](_0x3685fd,_0x949771),_0x130f97=_0x554116['id'],_0x40c0d5=_0x345d93?_0x4042('0x9c')+_0x345d93:_0x4042('0x133'),_0x25f07e=this['_setSuggestionData']({'id':_0x39f31e,'type':_0x40c0d5,'createdAt':new Date(),'authorId':_0x130f97,'attributes':_0x493d92});return this[_0x4042('0xb8')](_0x40c0d5,_0x39f31e,_0x130f97,_0x5d564f),_0x25f07e;}}[_0x4042('0x47')](_0x631353,_0x3ebf82=_0x4042('0xf'),_0xf4e3da={}){const _0x522a35=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'],_0x560a24=_0x631353[_0x4042('0x80')](_0x5e0870=>new _0x1da7bd(_0x5e0870[_0x4042('0xfc')],_0x5e0870[_0x4042('0x1e')])),_0x4d53bb=new Set();for(const {suggestion:_0x441cc6,meta:_0x583516}of this[_0x4042('0x7e')](_0x560a24,'insertion'))_0x583516[_0x4042('0x153')]&&!_0x583516[_0x4042('0x170')]&&_0x4d53bb['add'](_0x441cc6);for(const _0x353ef4 of _0x4d53bb)if(_0x353ef4[_0x4042('0xd5')]){const _0x2ef868=_0x353ef4['getRanges']();(!_0x353ef4[_0x4042('0xc4')]||!_0x353ef4['attributes'][_0x4042('0x2d')])&&(_0x2ef868[_0x4042('0xc3')](_0x12d9d8=>_0x560a24[_0x4042('0x13d')](_0x1d7699=>_0x1d7699['containsRange'](_0x12d9d8,!0x0)))&&_0x353ef4[_0x4042('0xff')]());if(_0x560a24[_0x4042('0xc3')](_0x2c1bd2=>_0x2ef868[_0x4042('0x13d')](_0x26cb07=>_0x26cb07['containsRange'](_0x2c1bd2,!0x0)))){const _0x451b89=this[_0x4042('0x15a')][_0x4042('0xed')](_0x4042('0x133'),_0x3ebf82,'accept');return this['forceDefaultExecution'](()=>_0x451b89(_0x631353,null,_0xf4e3da)),null;}}else{const _0x73406d=_0x353ef4[_0x4042('0x130')]();_0x560a24[_0x4042('0x13d')](_0x1511d4=>_0x1511d4['containsRange'](_0x73406d,!0x0))&&_0x353ef4[_0x4042('0xff')]();if(_0x560a24[_0x4042('0xc3')](_0x2ddf90=>_0x73406d['containsRange'](_0x2ddf90,!0x0))){const _0x148668=this['_suggestionFactory']['getSuggestionCallback'](_0x4042('0x133'),_0x3ebf82,_0x4042('0xc'));return this[_0x4042('0x4d')](()=>_0x148668(_0x560a24,null,_0xf4e3da)),null;}}const _0x4698d2=this[_0x4042('0x15a')][_0x4042('0xed')]('deletion',_0x3ebf82,_0x4042('0xb2'));let _0x195cfe=null;for(const _0x1b21d9 of this[_0x4042('0xdf')]())if(_0x1b21d9[_0x4042('0xcf')]['id']==_0x522a35['id']&&_0x1b21d9[_0x4042('0x9d')]&&_0x4042('0x133')==_0x1b21d9[_0x4042('0x42')]&&_0x1b21d9[_0x4042('0xb')]==_0x3ebf82&&Pt(_0x1b21d9,_0xf4e3da)&&(_0x4698d2(_0x1b21d9['getRanges'](),_0x560a24)||_0x4698d2(_0x560a24,_0x1b21d9[_0x4042('0x90')]()))){if(_0x195cfe){if(_0x1b21d9[_0x4042('0x89')]&&_0x1b21d9['commentThread'][_0x4042('0x16c')])continue;for(const _0x4638b4 of _0x1b21d9[_0x4042('0x90')]())_0x195cfe[_0x4042('0x111')](_0x4638b4)||_0x195cfe[_0x4042('0x43')](_0x4638b4);_0x1b21d9['removeMarkers']();}else{_0x195cfe=_0x1b21d9;for(const _0x2102f9 of _0x560a24)_0x1b21d9[_0x4042('0x111')](_0x2102f9)||_0x1b21d9[_0x4042('0x43')](_0x2102f9);}}if(_0x195cfe)return _0x195cfe;_0x4d53bb['clear']();for(const {suggestion:_0x1f87ae,meta:_0x84a9cc}of this['_findSuggestions'](_0x560a24,_0x4042('0x133')))_0x84a9cc[_0x4042('0x153')]&&(this[_0x4042('0x24')]||!_0x84a9cc[_0x4042('0x61')]&&!_0x84a9cc[_0x4042('0xf2')])&&Pt(_0x1f87ae,_0xf4e3da)&&_0x4d53bb['add'](_0x1f87ae);for(const _0x96ce18 of _0x4d53bb){const _0x15a2d6=_0x96ce18[_0x4042('0x90')]();if(!_0xf4e3da||!_0xf4e3da[_0x4042('0x2d')]){if(_0x560a24[_0x4042('0xc3')](_0x4d198c=>_0x15a2d6[_0x4042('0x13d')](_0x24bd0a=>_0x24bd0a[_0x4042('0x146')](_0x4d198c,!0x0))))return _0x96ce18;}(!_0x96ce18[_0x4042('0xc4')]||!_0x96ce18[_0x4042('0xc4')]['skipNestingCheck'])&&(_0x15a2d6[_0x4042('0xc3')](_0xfd4375=>_0x560a24['some'](_0x2396d3=>_0x2396d3[_0x4042('0x146')](_0xfd4375,!0x0)))&&_0x96ce18[_0x4042('0xff')]());}const _0x51b9b1=_0x2ec2a0(),_0x4b70f4=_0x522a35['id'],_0x195b02='deletion:'+_0x3ebf82,_0x150865=this[_0x4042('0x3e')]({'id':_0x51b9b1,'type':_0x195b02,'createdAt':new Date(),'authorId':_0x4b70f4,'attributes':_0xf4e3da});for(const _0x8045ea of _0x560a24)_0x8045ea[_0x4042('0x11a')](),_0x8045ea['isCollapsed']||_0x4042('0xd2')==_0x8045ea['root'][_0x4042('0x37')]||this[_0x4042('0xb8')](_0x195b02,_0x51b9b1,_0x4b70f4,_0x8045ea,_0x241239['getMultiRangeId']());return _0x150865;}[_0x4042('0xfa')](_0x1c8ac8,_0x1a4e69,_0x46e2b8,_0x57c9dc,_0x24cff7){if(_0x1c8ac8[_0x4042('0x12c')])return[];if(_0x4042('0xa2')===this[_0x4042('0x113')])return[];const _0x1c1f0b=this['editor'][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me']['id'],_0x3d7b20=Array[_0x4042('0x169')](this[_0x4042('0x16a')][_0x4042('0xd1')]())['filter'](_0x2bed83=>'attribute'==_0x2bed83[_0x4042('0x42')]&&_0x2bed83[_0x4042('0x72')]['key']==_0x1a4e69&&_0x2bed83[_0x4042('0x111')](_0x1c8ac8));if('default'===this[_0x4042('0x113')]){const _0x3303f5=this[_0x4042('0x7e')](_0x1c8ac8,_0x4042('0xf7'))[_0x4042('0x158')](({meta:_0x3d50fb})=>_0x3d50fb[_0x4042('0x153')]&&!_0x3d50fb['isInsideObject']&&!_0x3d50fb['isNextTo'])[_0x4042('0x80')](({suggestion:_0x50ce1c})=>_0x50ce1c);_0x3d7b20[_0x4042('0x57')](..._0x3303f5);}const _0x53dc91=new Map([[_0x1c8ac8,_0x46e2b8]]);for(const _0x47adcb of _0x3d7b20){const _0x5a3856=_0x4042('0x33')==_0x47adcb[_0x4042('0x42')]?_0x47adcb['data'][_0x4042('0x154')]:void 0x0,_0x1acb6f=_0x47adcb[_0x4042('0x130')](),_0x341512=Array['from'](_0x53dc91[_0x4042('0x77')]())[_0x4042('0xf9')](_0x424f99=>_0x424f99[_0x4042('0x151')](_0x1acb6f));if(!_0x341512)continue;const _0x1fdc28=_0x341512['getDifference'](_0x1acb6f);this[_0x4042('0x4b')](_0x1a4e69)&&_0x4042('0xf7')==_0x47adcb['type']&&0x0!=_0x1fdc28['length']||(_0x53dc91[_0x4042('0x48')](_0x341512),_0x1fdc28[_0x4042('0x40')](_0x300b41=>{_0x53dc91[_0x4042('0x14f')](_0x300b41,_0x46e2b8);}),_0x4042('0xf7')!=_0x47adcb['type']&&_0x5a3856!=_0x57c9dc&&_0x53dc91['set'](_0x341512[_0x4042('0xca')](_0x1acb6f),_0x5a3856));}const _0x420355=[];for(const [_0x2c9df1,_0x312e92]of _0x53dc91){const _0x59fe8b=_0x2ec2a0(),_0x43d854={'key':_0x1a4e69,'oldValue':_0x312e92,'newValue':_0x57c9dc};_0x1a4e69[_0x4042('0x16c')]>0x25&&console['warn'](_0x4042('0x88'),{'key':_0x1a4e69});const _0x555d8e=(_0x4042('0x41')+(_0x1a4e69+'|'+Et({'newValue':_0x57c9dc})))[_0x4042('0x84')](0x0,0x3c),_0x7fe82e=this[_0x4042('0x3e')]({'id':_0x59fe8b,'type':_0x555d8e,'data':_0x43d854,'createdAt':new Date(),'authorId':_0x1c1f0b,'attributes':_0x24cff7});_0x420355[_0x4042('0x51')](_0x7fe82e),this[_0x4042('0xb8')](_0x555d8e,_0x59fe8b,_0x1c1f0b,_0x2c9df1);}return _0x420355;}['_registerBlockAttribute'](_0x3b0e46){this[_0x4042('0xd7')][_0x4042('0x95')](_0x3b0e46);}['_registerInlineAttribute'](_0x1bbe6a){this[_0x4042('0xbb')][_0x4042('0x95')](_0x1bbe6a);}[_0x4042('0xe3')](_0x5f2364,_0x4fa4d5=[],_0x4a5523=[]){this[_0x4042('0xe2')](_0x5f2364,(_0xea0101,..._0x324b09)=>{this[_0x4042('0xa9')](()=>{_0xea0101(..._0x324b09);});});for(const _0x1e483a of _0x4fa4d5)this[_0x4042('0xe6')](_0x1e483a);for(const _0x4c6ce0 of _0x4a5523)this[_0x4042('0xba')](_0x4c6ce0);}[_0x4042('0x176')](_0xafa26a){return _0x4042('0x33')==_0xafa26a[_0x4042('0x42')]?_0xafa26a[_0x4042('0xb')][_0x4042('0x126')]('|')[0x0]:null;}[_0x4042('0xac')](_0x3b6a63,_0x48c0c5){const _0x55ba95=_0x3b6a63[_0x4042('0xaa')]();this[_0x4042('0x9f')][_0x4042('0x71')](_0x3b7f03=>{_0x3b7f03['updateMarker'](_0x55ba95,{'range':_0x48c0c5});});}[_0x4042('0x15e')](_0x155833){const _0x3f95cb=_0x155833['id'],_0x1b7f8c=this[_0x4042('0xad')][_0x4042('0x15d')][_0x4042('0x143')]('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x3f95cb)||this[_0x4042('0x16d')][_0x4042('0x8b')]({'channelId':_0x1b7f8c,'threadId':_0x3f95cb,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1b66ab=this[_0x4042('0x16d')][_0x4042('0x4')](_0x3f95cb);_0x1b66ab[_0x4042('0x94')]('isRemovable'),_0x1b66ab[_0x4042('0x45')]=!0x1,_0x155833[_0x4042('0x89')]=_0x1b66ab;}[_0x4042('0x8d')](_0xefe342,_0x4dcf06,_0x32706f,_0xc8af4a){if(_0xefe342[_0x4042('0x42')]!=_0x4dcf06||_0xefe342['subType']!=_0x32706f||_0xefe342['creator']['id']!=_0xc8af4a)throw this['editor'][_0x4042('0xfb')](_0x4042('0x140')),new _0x32bac2('track-changes-suggestion-data-mismatch',this);}[_0x4042('0x107')](_0x4f38d9,_0x1dca0b){const _0x1531a6=_0x4f38d9[_0x4042('0x130')]();if(_0x1dca0b[_0x4042('0x117')](_0x1531a6))_0x4f38d9[_0x4042('0x14a')]();else{if(_0x1531a6[_0x4042('0x146')](_0x1dca0b)){const _0x3cc124=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b['start'][_0x4042('0xe4')],_0x4042('0x1e'));this['_setSuggestionRange'](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x1531a6[_0x4042('0xfc')],_0x3cc124));const _0x2f2c19=_0x2ec2a0(),_0x54017b=_0x4f38d9[_0x4042('0xcd')]['id'],_0x3a3c6f=_0x4f38d9[_0x4042('0x42')]+':'+_0x4f38d9[_0x4042('0xb')];this[_0x4042('0x3e')]({'id':_0x2f2c19,'type':_0x3a3c6f,'createdAt':new Date(),'authorId':_0x54017b,'data':_0x4f38d9[_0x4042('0x72')],'attributes':_0x4f38d9[_0x4042('0xc4')]});const _0x4946b4=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b[_0x4042('0x1e')][_0x4042('0x163')],_0x4042('0x7')),_0xd94bb2=this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4946b4,_0x1531a6[_0x4042('0x1e')]);this['_addSuggestionMarker'](_0x3a3c6f,_0x2f2c19,_0x54017b,_0xd94bb2);}else{if(_0x1531a6['containsPosition'](_0x1dca0b[_0x4042('0xfc')])){const _0x528bce=this['_model'][_0x4042('0xc9')](_0x1dca0b[_0x4042('0xfc')][_0x4042('0xe4')],'end');this[_0x4042('0xac')](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x1531a6[_0x4042('0xfc')],_0x528bce));}else{const _0x4b9a55=this[_0x4042('0x9f')][_0x4042('0xc9')](_0x1dca0b[_0x4042('0x1e')][_0x4042('0x163')],_0x4042('0x7'));this[_0x4042('0xac')](_0x4f38d9,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4b9a55,_0x1531a6[_0x4042('0x1e')]));}}}}[_0x4042('0x63')](_0x9efd5f){for(const {suggestion:_0x353660,meta:_0x13584e}of this[_0x4042('0x7e')](_0x9efd5f,'insertion')){if(!_0x13584e[_0x4042('0x153')])continue;const _0x1ef1cf=_0x353660['getRanges']();for(const _0x5a4d11 of _0x1ef1cf)if(!_0x9efd5f[_0x4042('0xa4')](_0x5a4d11)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x4e2bd5){const _0x9f9b71=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))[_0x4042('0xa1')](_0x4e2bd5);if(!_0x9f9b71)throw new _0x32bac2('track-changes-user-not-found',this);return _0x9f9b71;}[_0x4042('0x1a')](_0x308705){const _0x31010a=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75')),_0x427877=_0x25abe0(_0x4042('0x6b')+_0x308705),_0x8b2afe=_0x31010a[_0x4042('0xa1')](_0x427877);return _0x8b2afe||_0x31010a['addUser']({'id':_0x427877,'name':_0x308705});}['_createSuggestion'](_0x478214,_0x40bac0,_0x1b1a89,_0x2e5e92,_0x3f30ef){const _0x45073f=this['_getAuthorFromId'](_0x2e5e92),_0x6062a2=this[_0x4042('0x15a')][_0x4042('0xa0')](_0x478214,_0x40bac0,_0x1b1a89,_0x45073f,_0x3f30ef,_0x5bd2ab=>{this[_0x4042('0x148')](_0x1b1a89,{'attributes':_0x5bd2ab});const _0x8c65ef=this['getSuggestion'](_0x1b1a89);this['_joinWithAdjacentSuggestions'](new Set([_0x8c65ef])),this[_0x4042('0x35')](new Set([_0x8c65ef]));});return this[_0x4042('0x26')](_0x6062a2,_0x4042('0xc'),()=>{this[_0x4042('0x148')](_0x1b1a89,{'state':'accepted'});},{'priority':_0x4042('0x92')}),this[_0x4042('0x26')](_0x6062a2,'discard',()=>{this[_0x4042('0x148')](_0x1b1a89,{'state':_0x4042('0xf1')});},{'priority':_0x4042('0x92')}),this['_suggestions'][_0x4042('0x14f')](_0x1b1a89,_0x6062a2),this[_0x4042('0x78')][_0x4042('0x14f')](_0x6062a2,'notReady'),_0x6062a2;}[_0x4042('0x156')](_0x1ed295){const _0x1cf8c2=_0x1ed295[_0x4042('0x126')](':');return{'group':_0x1cf8c2[0x0],'type':_0x1cf8c2[0x1],'subType':_0x1cf8c2[_0x4042('0x16c')]>=0x5?_0x1cf8c2[0x2]:null,'id':_0x1cf8c2['length']<0x5?_0x1cf8c2[0x2]:_0x1cf8c2[0x3],'authorId':_0x1cf8c2[_0x4042('0x16c')]<0x5?_0x1cf8c2[0x3]:_0x1cf8c2[0x4],'markerCount':0x6==_0x1cf8c2[_0x4042('0x16c')]?_0x1cf8c2[0x5]:null};}[_0x4042('0x101')](_0xe00e17,_0x3501f2,_0x30239c){const _0x338c80=_0xe00e17[_0x4042('0x130')](),_0x4b137a=_0x338c80[_0x4042('0xfc')],_0x447736=_0x338c80[_0x4042('0x1e')];this['_setSuggestionRange'](_0xe00e17,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x4b137a,_0x3501f2));const _0x4c0b13=_0x2ec2a0(),_0x1fb292=_0xe00e17['creator']['id'],_0x5a0d6a=_0xe00e17[_0x4042('0x42')]+(_0xe00e17[_0x4042('0xb')]?':'+_0xe00e17[_0x4042('0xb')]:'');this[_0x4042('0x3e')]({'id':_0x4c0b13,'type':_0x5a0d6a,'createdAt':new Date(),'authorId':_0x1fb292,'originalSuggestionId':_0xe00e17['id'],'attributes':_0xe00e17[_0x4042('0xc4')],'data':_0xe00e17[_0x4042('0x72')]});const _0x57f1b3=this[_0x4042('0x176')](_0xe00e17);(_0x4042('0xc2')==_0xe00e17['type']||_0x57f1b3&&this[_0x4042('0x4b')](_0x57f1b3))&&(_0x30239c=this[_0x4042('0x9f')]['createPositionBefore'](_0x30239c['parent'])),this[_0x4042('0xb8')](_0x5a0d6a,_0x4c0b13,_0x1fb292,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x30239c,_0x447736));}['_findSuggestions'](_0x2d3d40,_0x6a9ffe=null){const _0x5c737e=[],_0x3563e8=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0x75'))['me'];Array[_0x4042('0xb5')](_0x2d3d40)||(_0x2d3d40=[_0x2d3d40]);for(const _0x79995d of this[_0x4042('0xdf')]()){if(!_0x79995d[_0x4042('0x9d')])continue;if(_0x6a9ffe&&_0x79995d['type']!=_0x6a9ffe)continue;let _0x584979=!0x1;for(const _0x4657d6 of _0x79995d[_0x4042('0x90')]()){for(const _0xea0bca of _0x2d3d40){const _0x421542=_0xea0bca['start'][_0x4042('0x117')](_0x4657d6[_0x4042('0x1e')])||_0xea0bca['end'][_0x4042('0x117')](_0x4657d6['start']);if(_0x421542||_0xea0bca[_0x4042('0xca')](_0x4657d6)){const _0x28841e=_0xea0bca[_0x4042('0x146')](_0x4657d6)&&xt(this[_0x4042('0x9f')][_0x4042('0x64')],_0x4657d6[_0x4042('0xfc')],_0xea0bca),_0x31fd8c=_0x4657d6[_0x4042('0x146')](_0xea0bca)&&xt(this[_0x4042('0x9f')]['schema'],_0xea0bca[_0x4042('0xfc')],_0x4657d6);_0x5c737e[_0x4042('0x51')]({'suggestion':_0x79995d,'meta':{'isOwn':_0x3563e8==_0x79995d[_0x4042('0xcf')],'isNextTo':_0x421542,'isInsideObject':_0x28841e,'containsRangeInObject':_0x31fd8c}}),_0x584979=!0x0;break;}}if(_0x584979)break;}}return _0x5c737e;}[_0x4042('0xb8')](_0x52924d,_0x5a1316,_0xdc1542,_0x26417b,_0x1fbb7f){this['_model'][_0x4042('0x71')](_0x402e9e=>{let _0x290764=_0x4042('0x16b')+_0x52924d+':'+_0x5a1316+':'+_0xdc1542;_0x1fbb7f&&(_0x290764=_0x290764+':'+_0x1fbb7f),_0x402e9e[_0x4042('0x1f')](_0x290764,{'range':_0x26417b,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4042('0x5f')](_0x206845){const _0x3e25bf=_0x206845[_0x4042('0x5d')],_0x2c726d=_0x206845[_0x4042('0x132')];_0x206845[_0x4042('0x5d')]=null,_0x206845[_0x4042('0x132')]=null,null!=_0x3e25bf&&_0x3e25bf[_0x4042('0x132')]==_0x206845&&(_0x3e25bf['next']=_0x2c726d),null!=_0x2c726d&&_0x2c726d[_0x4042('0x5d')]==_0x206845&&(_0x2c726d[_0x4042('0x5d')]=_0x3e25bf),_0x4042('0x5e')==this['_suggestionState'][_0x4042('0x143')](_0x206845)&&(this[_0x4042('0x78')][_0x4042('0x14f')](_0x206845,_0x4042('0x96')),this[_0x4042('0x4c')](_0x4042('0x83'),_0x206845,_0x3e25bf,_0x2c726d));}[_0x4042('0x3e')](_0x56d461){const _0x38b6ba=_0x56d461['id'],_0x109c1a=this[_0x4042('0x1b')](_0x56d461);if(this[_0x4042('0x16f')]&&this[_0x4042('0x16f')][_0x4042('0xcb')]){const _0x4719a5=this[_0x4042('0xad')][_0x4042('0x14b')][_0x4042('0x143')](_0x4042('0xd')),_0x2715df=_0x109c1a[_0x4042('0xc0')],_0x1360b0=_0x109c1a['subType']?_0x109c1a['type']+':'+_0x109c1a[_0x4042('0xb')]:_0x109c1a[_0x4042('0x42')],_0x1c8bd8=this['editor'][_0x4042('0x100')],_0x14181a=_0x4719a5[_0x4042('0x95')](_0x3c8dcf(_0x1c8bd8,_0x4042('0x2c'))),_0xce71a5={'id':_0x38b6ba,'type':_0x1360b0,'hasComments':_0x2715df,'data':_0x56d461[_0x4042('0x72')]||null,'originalSuggestionId':_0x56d461[_0x4042('0xc6')]||null,'attributes':_0x109c1a[_0x4042('0xc4')]};this['_adapter'][_0x4042('0xcb')](_0xce71a5)['then'](_0x36e1e5=>{_0x109c1a[_0x4042('0x8f')]=!0x0,_0x4719a5['remove'](_0x14181a),_0x36e1e5&&_0x36e1e5[_0x4042('0xd9')]&&(this[_0x4042('0x16a')]['get'](_0x38b6ba)[_0x4042('0xd9')]=_0x36e1e5['createdAt']);})[_0x4042('0x55')](_0x5ee8ff=>{throw _0x480750('error-saving-suggestion-data-suggestion-discarded'),this['editor'][_0x4042('0x175')][_0x4042('0x81')]({'isUndoable':!0x1},()=>{_0x109c1a['discard']();}),_0x109c1a[_0x4042('0xc8')](),this[_0x4042('0x16a')][_0x4042('0x48')](_0x109c1a['id']),this[_0x4042('0x78')][_0x4042('0x48')](_0x109c1a),_0x5ee8ff;});}return _0x109c1a;}['_isBlockAttribute'](_0xc2af87){return this[_0x4042('0xd7')]['has'](_0xc2af87);}[_0x4042('0x148')](_0x280f8e,_0x107f15){const _0x621d27=this[_0x4042('0xad')][_0x4042('0x14b')]['get'](_0x4042('0xd')),_0x57e021=this[_0x4042('0x44')](_0x280f8e);if(this[_0x4042('0x16f')]&&this[_0x4042('0x16f')][_0x4042('0xd3')]){if(_0x57e021['_saved']){const _0x41fe00=_0x621d27['add'](_0x3c8dcf(this[_0x4042('0xad')][_0x4042('0x100')],'PENDING_ACTION_SUGGESTION'));this[_0x4042('0x16f')][_0x4042('0xd3')](_0x280f8e,_0x107f15)[_0x4042('0x16')](()=>{_0x621d27[_0x4042('0x135')](_0x41fe00);});}else _0x57e021['on'](_0x4042('0x17'),()=>{this[_0x4042('0x148')](_0x280f8e,_0x107f15);});}}[_0x4042('0xe7')](_0x160362){if(!this[_0x4042('0x16f')]||!this[_0x4042('0x16f')][_0x4042('0x44')])throw new _0x32bac2('track-changes-adapter-missing-getsuggestion',this);return this['_adapter'][_0x4042('0x44')](_0x160362);}[_0x4042('0x4a')](_0x15a5b7){const {id:_0x12f832,type:_0xa136b4,subType:_0x25f925,authorId:_0x5ae60c}=this[_0x4042('0x156')](_0x15a5b7),_0x1f8c48=this['_suggestions'][_0x4042('0x143')](_0x12f832)||this[_0x4042('0x11d')](_0xa136b4,_0x25f925,_0x12f832,_0x5ae60c,{});switch(this[_0x4042('0x8d')](_0x1f8c48,_0xa136b4,_0x25f925,_0x5ae60c),this[_0x4042('0x78')]['get'](_0x1f8c48)){case _0x4042('0xe0'):this['_getSuggestionData'](_0x12f832)[_0x4042('0x16')](_0x96c7c2=>{let _0x3ac4c7=Promise[_0x4042('0x116')]();_0x96c7c2[_0x4042('0xc0')]&&(_0x3ac4c7=this[_0x4042('0x16d')]['fetchCommentThread']({'channelId':this[_0x4042('0xad')][_0x4042('0x15d')][_0x4042('0x143')](_0x4042('0x134')),'threadId':_0x12f832})),_0x3ac4c7[_0x4042('0x16')](()=>{this[_0x4042('0x1b')](_0x96c7c2)[_0x4042('0x8f')]=!0x0;});}),this[_0x4042('0x78')][_0x4042('0x14f')](_0x1f8c48,_0x4042('0x172'));break;case _0x4042('0x96'):this['_updateSuggestionData'](_0x12f832,{'state':'open'});case _0x4042('0x23'):this[_0x4042('0x78')][_0x4042('0x14f')](_0x1f8c48,_0x4042('0x5e')),this[_0x4042('0x4c')](_0x4042('0x54'),_0x1f8c48);break;case _0x4042('0x5e'):this[_0x4042('0x4c')](_0x4042('0xf3'),_0x1f8c48);}return _0x1f8c48[_0x4042('0x6d')](_0x15a5b7),_0x1f8c48;}[_0x4042('0x35')](_0x23fe47){const _0x2ba628=Array[_0x4042('0x169')](_0x23fe47),_0x47a3d3=_0x2ba628[_0x4042('0x158')](_0x11af1d=>_0x4042('0x33')==_0x11af1d['type']);this[_0x4042('0xda')](_0x47a3d3);const _0x3b637b=_0x2ba628['filter'](_0x31a513=>!_0x31a513[_0x4042('0xd5')]&&_0x4042('0x33')!=_0x31a513[_0x4042('0x42')]),_0x2f20ab=this[_0x4042('0xdf')]({'skipNotAttached':!0x0})[_0x4042('0x158')](_0x2b0d39=>!_0x2b0d39[_0x4042('0xd5')]&&'attribute'!=_0x2b0d39[_0x4042('0x42')]),_0x56755c=_0x2f20ab[_0x4042('0x158')](_0x14d913=>!_0x23fe47[_0x4042('0x104')](_0x14d913)),_0xb2d39e=new Map(_0x2f20ab[_0x4042('0x80')](_0x57806d=>[_0x57806d,this[_0x4042('0x15a')][_0x4042('0xed')](_0x57806d['type'],_0x57806d['subType'],_0x4042('0x129'))])),_0x4f9d6e=new Map(_0x2f20ab[_0x4042('0x80')](_0x39b295=>[_0x39b295,_0x39b295[_0x4042('0x130')]()])),_0x2b43ed=new Set(),_0x3189d4=new Set();for(let _0x2f2e24=0x0;_0x2f2e24<_0x3b637b[_0x4042('0x16c')];_0x2f2e24++)_0x57c5e5(_0x3b637b[_0x2f2e24],_0x3b637b,_0x2f2e24+0x1);for(let _0x10518e=0x0;_0x10518e<_0x3b637b[_0x4042('0x16c')];_0x10518e++)_0x57c5e5(_0x3b637b[_0x10518e],_0x56755c,0x0);const _0xb83dc6=new Set();for(let _0x343703=0x0;_0x343703<_0x3b637b['length'];_0x343703++){const _0x502625=_0x3b637b[_0x343703];!_0x3189d4['has'](_0x502625)&&_0x502625[_0x4042('0x5d')]&&(_0xb83dc6[_0x4042('0x95')](_0x502625[_0x4042('0x5d')]),_0x502625[_0x4042('0x5d')][_0x4042('0x132')]===_0x502625&&(_0x502625[_0x4042('0x5d')]['next']=null),_0x502625[_0x4042('0x5d')]=null),!_0x2b43ed[_0x4042('0x104')](_0x502625)&&_0x502625[_0x4042('0x132')]&&(_0xb83dc6[_0x4042('0x95')](_0x502625['next']),_0x502625[_0x4042('0x132')][_0x4042('0x5d')]===_0x502625&&(_0x502625[_0x4042('0x132')]['previous']=null),_0x502625[_0x4042('0x132')]=null);}function _0x57c5e5(_0x1ff27b,_0x299de2,_0x379246){for(let _0x46375a=_0x379246;_0x46375a<_0x299de2[_0x4042('0x16c')];_0x46375a++){const _0x9bcca0=_0xde2543(_0x1ff27b,_0x299de2[_0x46375a]);_0x9bcca0&&(_0x9bcca0[0x0]['next']=_0x9bcca0[0x1],_0x9bcca0[0x1][_0x4042('0x5d')]=_0x9bcca0[0x0],_0x2b43ed[_0x4042('0x95')](_0x9bcca0[0x0]),_0x3189d4['add'](_0x9bcca0[0x1]));}}function _0xde2543(_0x22e7e8,_0x2c3ece){if(_0x22e7e8[_0x4042('0xcf')]['id']!==_0x2c3ece[_0x4042('0xcf')]['id'])return null;const _0x58fec2=_0xb2d39e[_0x4042('0x143')](_0x22e7e8)(_0x22e7e8,_0x2c3ece,_0x4f9d6e[_0x4042('0x143')](_0x22e7e8),_0x4f9d6e[_0x4042('0x143')](_0x2c3ece));if(!_0x58fec2)return null;return _0xb2d39e[_0x4042('0x143')](_0x2c3ece)(_0x22e7e8,_0x2c3ece,_0x4f9d6e['get'](_0x22e7e8),_0x4f9d6e[_0x4042('0x143')](_0x2c3ece))?_0x58fec2[0x1][_0x4042('0x89')]&&_0x58fec2[0x1][_0x4042('0x89')][_0x4042('0x16c')]?null:_0x58fec2:null;}_0xb83dc6[_0x4042('0xde')]&&this[_0x4042('0x35')](_0xb83dc6);}[_0x4042('0xda')](_0x555a7e){if(0x0==_0x555a7e[_0x4042('0x16c')])return;const _0x482998=this[_0x4042('0xdf')]({'skipNotAttached':!0x0})['filter'](_0x35290e=>_0x4042('0x33')==_0x35290e[_0x4042('0x42')]&&_0x35290e['_isDataLoaded']),_0x46dc86=[],_0x49ea6c=new Map();for(const _0x1c51d4 of _0x482998){const _0x2cd89c=_0x25abe0(_0x1c51d4[_0x4042('0xc4')]);_0x49ea6c[_0x4042('0x104')](_0x2cd89c)||(_0x49ea6c[_0x4042('0x14f')](_0x2cd89c,_0x46dc86[_0x4042('0x16c')]),_0x46dc86[_0x4042('0x51')]([]));const _0x3c02b6=_0x49ea6c[_0x4042('0x143')](_0x2cd89c);_0x46dc86[_0x3c02b6]['push'](_0x1c51d4);}!function(){_0x46dc86[_0x4042('0xb0')]((_0x25fd1a,_0xd66f9a)=>{const _0x58e6cc=_0x25fd1a[0x0][_0x4042('0xd9')],_0x4423f5=_0xd66f9a[0x0][_0x4042('0xd9')];return _0x58e6cc==_0x4423f5?_0x25fd1a[0x0][_0x4042('0xc4')][_0x4042('0x12b')]<_0xd66f9a[0x0][_0x4042('0xc4')][_0x4042('0x12b')]?-0x1:0x1:_0x58e6cc<_0x4423f5?-0x1:0x1;});for(const _0x3da288 of _0x46dc86)_0x3da288[_0x4042('0xb0')]((_0x4bef8d,_0x585810)=>_0x4bef8d['id']<_0x585810['id']?-0x1:0x1);}();for(let _0x1ba18c=0x0;_0x1ba18c<_0x46dc86[_0x4042('0x16c')];_0x1ba18c++){if(0x0==_0x46dc86[_0x1ba18c][_0x4042('0x16c')])continue;const _0x3850ca=[];for(let _0x48154b=_0x1ba18c+0x1;_0x48154b<_0x46dc86[_0x4042('0x16c')];_0x48154b++)0x0!=_0x46dc86[_0x48154b]['length']&&_0x19f2e4(_0x46dc86[_0x1ba18c],_0x46dc86[_0x48154b])&&_0x3850ca[_0x4042('0x51')](_0x48154b);for(const _0x34efe2 of _0x3850ca)_0x46dc86[_0x1ba18c]=_0x46dc86[_0x1ba18c][_0x4042('0x128')](_0x46dc86[_0x34efe2]),_0x46dc86[_0x34efe2]=[];}for(const _0x7ecc73 of _0x46dc86)for(let _0x4f2b2a=0x0;_0x4f2b2a<_0x7ecc73['length'];_0x4f2b2a++)_0x7ecc73[_0x4f2b2a][_0x4042('0x132')]=_0x7ecc73[_0x4f2b2a+0x1]||null;for(const _0x2aa9f9 of _0x46dc86)for(let _0x31263f=0x0;_0x31263f<_0x2aa9f9['length'];_0x31263f++)_0x2aa9f9[_0x31263f][_0x4042('0x5d')]=_0x2aa9f9[_0x31263f-0x1]||null;function _0x19f2e4(_0x4abb20,_0x2709a2){if(_0x4abb20[0x0][_0x4042('0xc4')][_0x4042('0x12b')]!==_0x2709a2[0x0][_0x4042('0xc4')]['groupId']&&_0x4abb20[0x0][_0x4042('0xcf')]!==_0x2709a2[0x0][_0x4042('0xcf')])return!0x1;if(!function(_0x52e779,_0x56e6bd){if(!_0x52e779[_0x4042('0xc0')]&&!_0x56e6bd['hasComments'])return!0x0;if(_0x52e779[_0x4042('0xc0')]&&_0x56e6bd[_0x4042('0xc0')])return!0x1;if(_0x52e779['hasComments']&&_0x56e6bd[_0x4042('0xd9')]<_0x52e779[_0x4042('0x89')][_0x4042('0x2')][_0x4042('0x143')](0x0)[_0x4042('0xd9')])return!0x0;if(_0x56e6bd['hasComments']&&_0x52e779[_0x4042('0xd9')]<_0x56e6bd[_0x4042('0x89')][_0x4042('0x2')][_0x4042('0x143')](0x0)[_0x4042('0xd9')])return!0x0;return!0x1;}(_0x4abb20[0x0],_0x2709a2[0x0]))return!0x1;const _0x8f898e=_0x4795a3(_0x4abb20[0x0]['attributes'],'groupId'),_0x42159b=_0x4795a3(_0x2709a2[0x0][_0x4042('0xc4')],_0x4042('0x12b'));if(!_0x438cfc(_0x8f898e,_0x42159b))return!0x1;return!!_0x4abb20[_0x4042('0xc3')](_0x34c9c0=>_0x2709a2[_0x4042('0x13d')](_0x2940c0=>_0x34c9c0['getFirstRange']()['isEqual'](_0x2940c0[_0x4042('0x130')]())))&&_0x2709a2[_0x4042('0xc3')](_0x55cc9c=>_0x4abb20['some'](_0x51c92a=>_0x55cc9c['getFirstRange']()[_0x4042('0x117')](_0x51c92a[_0x4042('0x130')]())));}}[_0x4042('0xdc')](_0x145fd8){const _0x37caa6=Array[_0x4042('0x169')](_0x145fd8),_0x4bbb71=this[_0x4042('0xdf')]({'skipNotAttached':!0x0}),_0x1893ce=_0x4bbb71[_0x4042('0x158')](_0xa9d90b=>!_0x145fd8[_0x4042('0x104')](_0xa9d90b)),_0x3f87cd=new Map(_0x37caa6['map'](_0x4efa44=>[_0x4efa44,this['_suggestionFactory'][_0x4042('0xed')](_0x4efa44[_0x4042('0x42')],_0x4efa44[_0x4042('0xb')],_0x4042('0xb2'))])),_0x4826c0=new Map(_0x4bbb71[_0x4042('0x80')](_0x317138=>[_0x317138,_0x317138[_0x4042('0x90')]()]));for(let _0x442e7d=0x0;_0x442e7d<_0x37caa6[_0x4042('0x16c')];_0x442e7d++){if(_0xe5f848(this,_0x37caa6[_0x442e7d],_0x37caa6,_0x442e7d+0x1))return!0x0;}for(let _0x316fd3=0x0;_0x316fd3<_0x37caa6[_0x4042('0x16c')];_0x316fd3++){if(_0xe5f848(this,_0x37caa6[_0x316fd3],_0x1893ce,0x0))return!0x0;}return!0x1;function _0xe5f848(_0x171fe2,_0x1b2c8d,_0xa8895d,_0x40b421){for(let _0x165960=_0x40b421;_0x165960<_0xa8895d[_0x4042('0x16c')];_0x165960++){const _0x532b07=_0xa8895d[_0x165960];if(_0x532b07[_0x4042('0x42')]!==_0x1b2c8d[_0x4042('0x42')]||_0x532b07[_0x4042('0xcf')]['id']!==_0x1b2c8d[_0x4042('0xcf')]['id']||_0x532b07[_0x4042('0xb')]!==_0x1b2c8d[_0x4042('0xb')])continue;if(!Ft(_0x1b2c8d,_0x532b07,['groupId']))continue;if(_0x4042('0x33')==_0x1b2c8d[_0x4042('0x42')]&&_0x1b2c8d[_0x4042('0x72')][_0x4042('0x154')]!=_0x532b07[_0x4042('0x72')][_0x4042('0x154')])continue;if(_0x4042('0x33')==_0x1b2c8d[_0x4042('0x42')]&&_0x171fe2[_0x4042('0x4b')](_0x1b2c8d[_0x4042('0x72')][_0x4042('0xdd')]))continue;if(_0x4042('0xc2')==_0x1b2c8d[_0x4042('0x42')]){const _0x2041e3=_0x171fe2[_0x4042('0xad')][_0x4042('0x175')],_0x29e42e=_0x1b2c8d[_0x4042('0xec')]();if(_0x29e42e&&(_0x2041e3[_0x4042('0x64')][_0x4042('0xd0')](_0x29e42e)||_0x2041e3[_0x4042('0x64')][_0x4042('0x28')](_0x29e42e)))continue;}const _0x49f68d=_0x3f87cd['get'](_0x1b2c8d),_0x46cca8=_0x4826c0[_0x4042('0x143')](_0x1b2c8d),_0x1034ad=_0x4826c0[_0x4042('0x143')](_0x532b07),_0x241054=_0x1b2c8d[_0x4042('0x89')]&&_0x1b2c8d[_0x4042('0x89')][_0x4042('0x16c')],_0x486fc5=_0x532b07[_0x4042('0x89')]&&_0x532b07[_0x4042('0x89')]['length'];if(!_0x241054&&_0x49f68d(_0x1034ad,_0x46cca8))return _0x171fe2[_0x4042('0xbd')](_0x532b07,_0x1b2c8d),_0x4826c0[_0x4042('0x48')](_0x1b2c8d),!0x0;if(!_0x486fc5&&_0x49f68d(_0x46cca8,_0x1034ad))return _0x171fe2[_0x4042('0xbd')](_0x1b2c8d,_0x532b07),_0x4826c0['delete'](_0x532b07),!0x0;}return!0x1;}}[_0x4042('0xbd')](_0x55ceb6,_0x4c89e6){if(_0x55ceb6[_0x4042('0xd5')])for(const _0x16da5f of _0x4c89e6[_0x4042('0x90')]())_0x55ceb6[_0x4042('0x43')](_0x16da5f);else{const _0x84df14=_0x4c89e6[_0x4042('0x130')]()[_0x4042('0x1e')];this[_0x4042('0xac')](_0x55ceb6,this[_0x4042('0x9f')][_0x4042('0x6f')](_0x55ceb6[_0x4042('0x130')]()[_0x4042('0xfc')],_0x84df14));}_0x4c89e6[_0x4042('0x14a')]();}[_0x4042('0x145')](_0x386995,_0x19eabd){const _0x43b969=_0x386995[_0x4042('0x13b')](_0x4042('0x39'))||_0x386995[_0x4042('0x13b')](_0x4042('0x33'))?_0x4042('0x118'):_0x386995[_0x4042('0x114')]();return _0x3c8dcf(this[_0x4042('0xad')][_0x4042('0x100')],_0x19eabd+'_'+_0x43b969+_0x4042('0x11'));}['_initAriaMarkerChangeAnnouncements'](){const _0xfe94e3=this['editor'];_0x137661(this['_model'],({left:_0x31695e,entered:_0x1c758e})=>{const _0x5da4b5=[];for(const _0x154300 of _0x31695e){const {group:_0x6e3a45,type:_0x555ead}=this[_0x4042('0x156')](_0x154300[_0x4042('0x12f')]);if(_0x4042('0xb7')===_0x6e3a45){_0x5da4b5[_0x4042('0x51')](this[_0x4042('0x145')](_0x555ead,_0x4042('0xbc')));break;}}for(const _0x21e307 of _0x1c758e){const {group:_0x153192,type:_0x303260}=this[_0x4042('0x156')](_0x21e307[_0x4042('0x12f')]);if('suggestion'===_0x153192){_0x5da4b5[_0x4042('0x51')](this['_getMarkerAnnouncementText'](_0x303260,'ENTER'));break;}}_0x5da4b5[_0x4042('0x16c')]&&_0xfe94e3['ui'][_0x4042('0xbf')][_0x4042('0x15b')](_0x4042('0x49'),_0x5da4b5['join']('\x20'));});}['_processAttributeChanges'](_0x47d46){if(this['_recordAttributeSuggestions'])return!0x1;const _0x1ed4bd=this[_0x4042('0xad')],_0x5486f1=_0x1ed4bd[_0x4042('0x175')][_0x4042('0x168')][_0x4042('0xe1')][_0x4042('0x10c')]();if(0x0==_0x5486f1[_0x4042('0x16c')])return!0x1;const _0x184b7e=[],_0x3bbea5=_0x5486f1['filter'](_0x43bcdb=>'attribute'==_0x43bcdb[_0x4042('0x42')]),_0x4851f6=_0x5486f1[_0x4042('0x158')](_0x1feab1=>'insert'==_0x1feab1['type']&&'$text'!=_0x1feab1[_0x4042('0x12f')]),_0x3d40df=_0x5486f1['filter'](_0xb1aa9d=>'remove'==_0xb1aa9d[_0x4042('0x42')]&&_0x4042('0x67')!=_0xb1aa9d[_0x4042('0x12f')]);for(const _0x5ef629 of _0x3bbea5)_0x184b7e[_0x4042('0x51')]({'key':_0x5ef629[_0x4042('0x165')],'newValue':_0x5ef629[_0x4042('0x2b')],'oldValue':_0x5ef629[_0x4042('0x173')],'range':Ut(_0x5ef629[_0x4042('0x30')],_0x1ed4bd[_0x4042('0x175')])});for(const _0x4d292b of _0x4851f6){const _0x3330c9=_0x3d40df[_0x4042('0xf9')](_0x45b4b5=>_0x45b4b5[_0x4042('0x110')][_0x4042('0x117')](_0x4d292b[_0x4042('0x110')]));_0x3330c9&&_0x184b7e[_0x4042('0x51')]({'key':'$elementName','newValue':_0x4d292b[_0x4042('0x12f')],'oldValue':_0x3330c9[_0x4042('0x12f')],'range':_0x1ed4bd['model'][_0x4042('0x13')](_0x4d292b[_0x4042('0x110')][_0x4042('0x8c')])});}return 0x0!=_0x184b7e['length']&&this[_0x4042('0xf4')](_0x47d46,_0x184b7e);}[_0x4042('0x123')](_0x107cf8){let _0x515b5b=!0x1;const _0x5c02ef=this[_0x4042('0xad')]['model']['document'][_0x4042('0xe1')][_0x4042('0x58')]()['filter'](_0x58da2a=>_0x58da2a[_0x4042('0x72')][_0x4042('0x9')]&&_0x58da2a[_0x4042('0x12f')][_0x4042('0x13b')]('suggestion:attribute:'));for(const _0x1c8d00 of _0x5c02ef){const {subType:_0xc73c8,id:_0x5f2fbf}=this[_0x4042('0x156')](_0x1c8d00[_0x4042('0x12f')]),_0x9ce4ad=_0xc73c8[_0x4042('0x126')]('|')[0x0];for(const _0x33b972 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x33b972['id']!=_0x5f2fbf&&'attribute'==_0x33b972['type']&&_0x33b972[_0x4042('0x72')]&&_0x33b972[_0x4042('0x72')]['key']==_0x9ce4ad&&_0x33b972['getFirstRange']()[_0x4042('0x151')](_0x1c8d00['data'][_0x4042('0x9')])&&(this[_0x4042('0x112')](_0x33b972,_0x1c8d00['data'][_0x4042('0x9')],_0x107cf8),_0x515b5b=!0x0);}return _0x515b5b;}[_0x4042('0xa9')](_0x102834){this[_0x4042('0xad')],(this[_0x4042('0x93')]=!0x0,_0x102834());}['_isRegisteredAttribute'](_0x21fb95){const _0x9dd8c7=this[_0x4042('0x4b')](_0x21fb95),_0x3df954=this[_0x4042('0xbb')][_0x4042('0x104')](_0x21fb95);return _0x9dd8c7||_0x3df954;}[_0x4042('0xf4')](_0x326182,_0x165434){if(0x0==_0x165434['length'])return!0x1;let _0x470652=!0x1;for(const _0x23b854 of _0x165434){const _0x435727=this[_0x4042('0x7e')](_0x23b854[_0x4042('0x30')],_0x4042('0x33'))[_0x4042('0x158')](_0xf65c95=>!_0xf65c95[_0x4042('0x86')][_0x4042('0x170')])[_0x4042('0x80')](_0x540b52=>_0x540b52[_0x4042('0xb7')]),_0x47daa9=_0x25abe0({'newValue':_0x23b854[_0x4042('0x10b')]});_0x435727[_0x4042('0x158')](_0x1832b1=>{const [_0x1a3326,_0x14630b]=_0x1832b1[_0x4042('0xb')][_0x4042('0x126')]('|');return _0x1a3326==_0x23b854[_0x4042('0xdd')]&&_0x14630b!=_0x47daa9;})[_0x4042('0x40')](_0x2713a0=>{this['_reduceSuggestionAttributeRange'](_0x2713a0,_0x23b854[_0x4042('0x30')],_0x326182),_0x470652=!0x0;});}return _0x470652;}['_reduceSuggestionAttributeRange'](_0xa5fe39,_0xd270bd,_0x405c68){const _0x4f0e3c=_0xa5fe39['getFirstRange']()[_0x4042('0xa4')](_0xd270bd);0x0!==_0x4f0e3c[_0x4042('0x16c')]?0x1!==_0x4f0e3c[_0x4042('0x16c')]?this[_0x4042('0x101')](_0xa5fe39,_0xd270bd['start'],_0xd270bd[_0x4042('0x1e')]):this[_0x4042('0xac')](_0xa5fe39,_0x4f0e3c[0x0]):_0x405c68['removeMarker'](_0xa5fe39['getFirstMarker']());}}class Bt{constructor(_0x520351){this[_0x4042('0xce')]=_0x520351,this[_0x4042('0x9f')]=_0x520351[_0x4042('0x175')],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2935da,_0x19d438,_0xf362ca,_0x114cf9,_0x6d3358,_0x4005c1){return new _0x241239(this[_0x4042('0x9f')],{'type':_0x2935da,'subType':_0x19d438,'id':_0xf362ca,'author':_0x114cf9,'creator':_0x114cf9,'attributes':_0x6d3358,'onAttributesChange':_0x4005c1,'onAccept':(..._0x574cbe)=>this[_0x4042('0xed')](_0x2935da,_0x19d438,_0x4042('0xc'))(..._0x574cbe),'onDiscard':(..._0x587366)=>this['getSuggestionCallback'](_0x2935da,_0x19d438,_0x4042('0xff'))(..._0x587366)});}[_0x4042('0xea')](_0x2ddd84,_0xbf34d2,_0xe3d3bd,_0x37a612){const _0x278422=_0x2ddd84+':'+_0xbf34d2+':'+_0xe3d3bd;this[_0x4042('0x125')][_0x4042('0x14f')](_0x278422,_0x37a612);}['getSuggestionCallback'](_0x39462d,_0xb1c08d,_0x3ada88){const _0x19a812=_0x39462d+':'+_0xb1c08d+':'+_0x3ada88;return this[_0x4042('0x125')][_0x4042('0x143')](_0x19a812)||this[_0x4042('0x131')][_0x4042('0x143')](_0x39462d+':'+_0x3ada88);}['_registerDefaultCallbacks'](){const _0x239387=()=>!0x1,_0x5119b6=_0x1262b0=>{_0x1262b0[_0x4042('0xb0')]((_0x577758,_0x56144e)=>_0x577758[_0x4042('0xfc')][_0x4042('0x56')](_0x56144e[_0x4042('0xfc')])?0x1:-0x1),this[_0x4042('0x9f')][_0x4042('0x71')](_0x3980ad=>{for(const _0x1aa0e8 of _0x1262b0){let _0x121026;_0x121026=_0x1aa0e8[_0x4042('0x1e')][_0x4042('0xe8')]&&_0x1aa0e8[_0x4042('0x1e')][_0x4042('0x163')]==_0x1aa0e8[_0x4042('0xfc')]['nodeAfter']?_0x3980ad[_0x4042('0x139')](_0x1aa0e8['start'][_0x4042('0x8c')],'on'):_0x3980ad[_0x4042('0x139')](_0x1aa0e8),this['_model']['deleteContent'](_0x121026,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x291b89=(_0x34f809,_0x5ced1d)=>{_0x5ced1d&&this[_0x4042('0x9f')][_0x4042('0x71')](_0x566124=>{const {commandName:_0x5822df,commandParams:_0x1c5409=[]}=_0x5ced1d,_0x292fc6=_0x34f809[_0x4042('0x80')](_0xa0bcec=>(Rt(_0xa0bcec)&&(_0xa0bcec=this['_model'][_0x4042('0x6f')](_0xa0bcec[_0x4042('0x1e')])),_0xa0bcec))[_0x4042('0x158')](_0x3f7c57=>_0x4042('0xd2')!==_0x3f7c57[_0x4042('0xd4')][_0x4042('0x37')]);if(_0x292fc6['length']<0x1)return;const _0x4597b3=Array['from'](this[_0x4042('0x9f')][_0x4042('0x168')][_0x4042('0xab')][_0x4042('0x90')]())['map'](_0xaeed8d=>_0x1da7bd['fromRange'](_0xaeed8d));_0x566124['setSelection'](_0x292fc6);for(const _0x361d79 of this[_0x4042('0xce')][_0x4042('0x162')][_0x4042('0x162')]())_0x361d79[_0x4042('0x7d')]();_0x1c5409[_0x4042('0x51')]({'forceDefaultExecution':!0x0}),this['_editor'][_0x4042('0xeb')](_0x5822df,..._0x1c5409);const _0x47640e=_0x4597b3['filter'](_0x1f199a=>_0x4042('0xd2')!=_0x1f199a[_0x4042('0xd4')]['rootName']);_0x47640e['length']>0x0&&_0x566124[_0x4042('0x22')](_0x47640e);for(const _0x548b50 of _0x4597b3)_0x548b50[_0x4042('0x11a')]();});},_0x60871d=(_0x436d2f,_0x21930a)=>0x1==_0x436d2f[_0x4042('0x16c')]&&0x1==_0x21930a[_0x4042('0x16c')]&&_0x436d2f[0x0][_0x4042('0x1e')][_0x4042('0x117')](_0x21930a[0x0][_0x4042('0xfc')]),_0x335824=(_0x3b2590,_0x3f5798,_0x14e523,_0x4c30fd)=>Gt(_0x3b2590,_0x3f5798,_0x14e523,_0x4c30fd,this[_0x4042('0x9f')])?[_0x3b2590,_0x3f5798]:Gt(_0x3f5798,_0x3b2590,_0x4c30fd,_0x14e523,this[_0x4042('0x9f')])?[_0x3f5798,_0x3b2590]:null;this['_defaultCallbacks']['set'](_0x4042('0x6a'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x136'),_0x5119b6),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x159'),_0x60871d),this[_0x4042('0x131')][_0x4042('0x14f')]('insertion:chain',_0x335824),this[_0x4042('0x131')][_0x4042('0x14f')]('deletion:accept',_0x5119b6),this['_defaultCallbacks']['set']('deletion:discard',_0x239387),this['_defaultCallbacks'][_0x4042('0x14f')](_0x4042('0x15f'),_0x60871d),this[_0x4042('0x131')]['set'](_0x4042('0xf8'),_0x335824),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x68'),_0x291b89),this['_defaultCallbacks'][_0x4042('0x14f')]('formatInline:discard',_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0xbe'),_0x60871d),this['_defaultCallbacks']['set'](_0x4042('0x79'),_0x239387),this[_0x4042('0x131')]['set'](_0x4042('0x119'),_0x291b89),this['_defaultCallbacks'][_0x4042('0x14f')](_0x4042('0x109'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')]('formatBlock:join',_0x60871d),this[_0x4042('0x131')][_0x4042('0x14f')]('formatBlock:chain',_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0xa7'),_0x239387),this[_0x4042('0x131')][_0x4042('0x14f')](_0x4042('0x6e'),(_0x3b4194,_0xe9c49e)=>{if(!_0xe9c49e)return;const _0x3f8d2d=this[_0x4042('0xce')][_0x4042('0x14b')]['get'](p);this['_model'][_0x4042('0x71')](_0x3cf75c=>{if(_0x4042('0xa5')==_0xe9c49e['key'])for(const _0x43efc1 of _0x3b4194){const _0xa35133=_0x43efc1[_0x4042('0xfc')][_0x4042('0x8c')],_0xf62286=_0xe9c49e[_0x4042('0x154')];_0x3cf75c[_0x4042('0x106')](_0xa35133,_0xf62286);}else{if(_0x3f8d2d['_isBlockAttribute'](_0xe9c49e[_0x4042('0xdd')]))for(const _0x374074 of _0x3b4194)void 0x0!==_0xe9c49e[_0x4042('0x154')]?_0x3cf75c[_0x4042('0x10a')](_0xe9c49e[_0x4042('0xdd')],_0xe9c49e[_0x4042('0x154')],_0x374074['start']['nodeAfter']):_0x3cf75c[_0x4042('0x138')](_0xe9c49e[_0x4042('0xdd')],_0x374074['start']['nodeAfter']);else for(const _0x44d647 of _0x3b4194)_0xe9c49e['oldValue']?_0x3cf75c[_0x4042('0x10a')](_0xe9c49e[_0x4042('0xdd')],_0xe9c49e[_0x4042('0x154')],_0x44d647):_0x3cf75c[_0x4042('0x138')](_0xe9c49e['key'],_0x44d647);}});}),this[_0x4042('0x131')]['set'](_0x4042('0x32'),_0x60871d);}}function xt(_0x1aa886,_0x8d6073,_0xbd0824){for(const _0x2d15e0 of _0x8d6073[_0x4042('0x163')][_0x4042('0xfe')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x2d15e0[_0x4042('0xd4')]==_0x2d15e0)return!0x1;if(!_0xbd0824[_0x4042('0xb3')](_0x2d15e0))return!0x1;if(_0x1aa886[_0x4042('0xd0')](_0x2d15e0)||_0x1aa886['isLimit'](_0x2d15e0))return!0x0;}return!0x1;}function Rt(_0x3380ab){return _0x3380ab['end'][_0x4042('0x163')]==_0x3380ab[_0x4042('0xfc')][_0x4042('0x8c')]&&_0x3380ab[_0x4042('0x1e')][_0x4042('0x13e')];}function Tt(_0x3301f6,_0x2e3c13,_0x298ccf,_0x456953){const _0x5e4614=_0xb1178=>!_0xb1178[_0x4042('0xfd')]['is'](_0x4042('0x11e'))&&!_0x456953[_0x4042('0xd0')](_0xb1178[_0x4042('0xfd')]),_0x4f3692=_0x3301f6['start']['getLastMatchingPosition'](_0x5e4614),_0x579381=_0x3301f6[_0x4042('0x1e')][_0x4042('0xcc')](_0x5e4614,{'direction':'backward'});return(!_0x3301f6[_0x4042('0xfc')][_0x4042('0x117')](_0x4f3692)||!_0x3301f6[_0x4042('0x1e')][_0x4042('0x117')](_0x579381))&&(_0x4f3692[_0x4042('0x56')](_0x579381)?_0x298ccf['updateMarker'](_0x2e3c13,{'range':_0x298ccf[_0x4042('0x6f')](_0x4f3692,_0x579381)}):_0x298ccf[_0x4042('0xaf')](_0x2e3c13),!0x0);}function Et(_0x419543){return _0x25abe0(_0x419543);}function Vt(_0x1b71cf){const _0x494716=_0x1b71cf[_0x4042('0xfc')][_0x4042('0x8c')];return _0x494716&&_0x494716['is']('element');}function Ut(_0x4b57dd,_0x3cba2d){return null==_0x4b57dd[_0x4042('0x1e')][_0x4042('0xe4')]&&_0x4b57dd[_0x4042('0x1e')][_0x4042('0x163')]==_0x4b57dd[_0x4042('0xfc')][_0x4042('0x8c')]?Ot(_0x4b57dd[_0x4042('0xfc')][_0x4042('0x8c')],_0x3cba2d):_0x4b57dd;}function Ot(_0x4ea78f,_0x4af66a){const _0x1ac41b=_0x4af66a[_0x4042('0x64')][_0x4042('0xd0')](_0x4ea78f)||_0x4af66a['schema'][_0x4042('0x10d')](_0x4ea78f);return _0x4af66a[_0x4042('0x6f')](_0x4af66a['createPositionAt'](_0x4ea78f,_0x4042('0x97')),_0x1ac41b?_0x4af66a[_0x4042('0x7a')](_0x4ea78f):_0x4af66a[_0x4042('0xc9')](_0x4ea78f,'end'));}function Gt(_0x2c1415,_0x474f32,_0xbf6791,_0x23d8e6,_0x1fdf27){if(!Ft(_0x2c1415,_0x474f32))return!0x1;if(_0xbf6791[_0x4042('0x1e')][_0x4042('0x117')](_0x23d8e6[_0x4042('0xfc')]))return!0x0;if(_0x2c1415[_0x4042('0x42')]!=_0x474f32[_0x4042('0x42')])return!0x1;if(!_0xbf6791[_0x4042('0x1e')][_0x4042('0x5b')](_0x23d8e6['start']))return!0x1;const _0x2d761f=_0x1fdf27[_0x4042('0x6f')](_0xbf6791[_0x4042('0x1e')],_0x23d8e6['start'])[_0x4042('0xb1')]();for(const _0x1dec79 of _0x2d761f)if([_0x4042('0x62'),_0x4042('0x76')][_0x4042('0x2e')](_0x1dec79[_0x4042('0x42')])&&_0x1fdf27[_0x4042('0x64')][_0x4042('0x28')](_0x1dec79['item']))return!0x1;return!0x0;}function Ft(_0x499294,_0x41ac44,_0x503dca=[]){return!(!_0x499294[_0x4042('0x142')]||!_0x41ac44['_isDataLoaded'])&&_0x438cfc(_0x4795a3(_0x499294['attributes'],_0x503dca),_0x4795a3(_0x41ac44[_0x4042('0xc4')],_0x503dca));}function Pt(_0xdcf2b,_0x39356e){const _0x52acad=Lt(_0xdcf2b[_0x4042('0xc4')]),_0x3f5621=Lt(_0x39356e);if(!_0xdcf2b[_0x4042('0x142')])return!0x1;for(const _0x1951cc of Object[_0x4042('0x77')](_0x3f5621))if(!_0x438cfc(_0x52acad[_0x1951cc],_0x3f5621[_0x1951cc]))return!0x1;return!0x0;}function Lt(_0x48f6bd){const _0x3d8e81=Object[_0x4042('0xd8')]({},_0x48f6bd);return delete _0x3d8e81[_0x4042('0x2d')],delete _0x3d8e81[_0x4042('0x70')],_0x3d8e81;}
|