@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231204.0 → 0.0.0-nightly-20231206.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.
Files changed (66) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +3 -3
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/aiassistant.js +1 -1
  9. package/src/integrations/alignment.js +1 -1
  10. package/src/integrations/basicstyles.js +1 -1
  11. package/src/integrations/blockquote.js +1 -1
  12. package/src/integrations/ckbox.js +1 -1
  13. package/src/integrations/codeblock.js +1 -1
  14. package/src/integrations/comments.js +1 -1
  15. package/src/integrations/deletecommand.js +1 -1
  16. package/src/integrations/documentlist.js +1 -1
  17. package/src/integrations/documentlistproperties.js +1 -1
  18. package/src/integrations/entercommand.js +1 -1
  19. package/src/integrations/findandreplace.js +1 -1
  20. package/src/integrations/font.js +1 -1
  21. package/src/integrations/formatpainter.js +1 -1
  22. package/src/integrations/heading.js +1 -1
  23. package/src/integrations/highlight.js +1 -1
  24. package/src/integrations/horizontalline.js +1 -1
  25. package/src/integrations/htmlembed.js +1 -1
  26. package/src/integrations/image.js +1 -1
  27. package/src/integrations/imagereplace.js +1 -1
  28. package/src/integrations/imagestyle.js +1 -1
  29. package/src/integrations/importword.js +1 -1
  30. package/src/integrations/indent.js +1 -1
  31. package/src/integrations/inputcommand.js +1 -1
  32. package/src/integrations/link.js +1 -1
  33. package/src/integrations/list.js +1 -1
  34. package/src/integrations/listproperties.js +1 -1
  35. package/src/integrations/mediaembed.js +1 -1
  36. package/src/integrations/mention.js +1 -1
  37. package/src/integrations/pagebreak.js +1 -1
  38. package/src/integrations/paragraph.js +1 -1
  39. package/src/integrations/removeformat.js +1 -1
  40. package/src/integrations/restrictededitingmode.js +1 -1
  41. package/src/integrations/shiftentercommand.js +1 -1
  42. package/src/integrations/standardeditingmode.js +1 -1
  43. package/src/integrations/style.js +1 -1
  44. package/src/integrations/table.js +1 -1
  45. package/src/integrations/tablecaption.js +1 -1
  46. package/src/integrations/tableclipboard.js +1 -1
  47. package/src/integrations/tablecolumnresize.js +1 -1
  48. package/src/integrations/tableheadings.js +1 -1
  49. package/src/integrations/tablemergesplit.js +1 -1
  50. package/src/integrations/tableofcontents.js +1 -1
  51. package/src/integrations/tableproperties.js +1 -1
  52. package/src/integrations/template.js +1 -1
  53. package/src/integrations/title.js +1 -1
  54. package/src/integrations/undo.js +1 -1
  55. package/src/integrations/utils.js +1 -1
  56. package/src/suggestion.js +1 -1
  57. package/src/suggestiondescriptionfactory.js +1 -1
  58. package/src/trackchanges.js +1 -1
  59. package/src/trackchangesdata.js +1 -1
  60. package/src/trackchangesediting.js +1 -1
  61. package/src/trackchangesui.js +1 -1
  62. package/src/ui/suggestioncontroller.js +1 -1
  63. package/src/ui/view/basesuggestionthreadview.js +1 -1
  64. package/src/ui/view/suggestionthreadview.js +1 -1
  65. package/src/utils/common-translations.js +1 -1
  66. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e7=['_SUGGESTION_ANNOUNCEMENT','isLimit','markerName','backward','skipNestingCheck','isAtStart','isBefore','ck-suggestion-marker-formatBlock','addCommentThread','rootName','getIntersection','error-saving-suggestion-data-suggestion-discarded','consumable','isExternal','add','buildSuggestion','ck-suggestion-marker-','head','trackChanges.trackFormatChanges','getLastMatchingPosition','markerNameToElements','setTo','_model','isBlock','isTouching','_getMarkerAnnouncementText','applyOperation','never','_mergeNestedSuggestions','isArray','isLocal','highest','_initAriaMarkerChangeAnnouncements','formatInline:discard','deletion:','enqueueChange','getOperations','nodeAfter','createPositionAfter','adapter','_breakSuggestionMarker','isObject','@external','getContainedElement','differ','model','formatBlock','FORMATTING','deletion:accept','PENDING_ACTION_SUGGESTION','set','announce','discardAllSuggestions','root','_checkSuggestionCorrectness','markInlineFormat','isUndo','getWalker','notReady','subType','_enabledCommands','deletion:chain','isAtEnd','commentThread','insertion:discard','track-changes-user-not-found','define','addMarkerName','formatInline:accept','resolve','markMultiRangeBlockFormat','_suggestions','removed','rejected','version','newRange','_rangeIsInLocalUserInsertion','config','isInContent','_isDataLoaded','getChangedMarkers','markBlockFormat','containsPosition','groupId','catch','deletion','editing','formatBlock:discard','find','get','setSelection','track-changes-adapter-missing-getsuggestion','start','_findSuggestions','_joinWithAdjacentSuggestions','markMultiRangeDeletion','fromRange','addMarker:suggestion:formatBlock','_blockAttributeKeys','attribute:accept','type','getFirstRange','hasCommentThread','removeMarker','_removeSuggestion','removeMarkers','rethrowUnexpectedError','isAfter','multipleBlocks','conversion','discardSelectedSuggestions','comments','map','authoredAt','getSuggestion','TrackChangesEditing','remove','addAttribute','isOwn','markerToHighlight','formatInline:','addRange','oldValue','elementToElement','_adapter','trackChanges.mergeNestedSuggestions','_reduceExistingSuggestions','attributeOldValue','createPositionBefore','then','element','elementEnd','getAttribute','_customCallbacks','setAttribute','attributes','getSuggestionCallback','authorName','markDeletion','isCollapsed','ck-suggestion-marker','values','rename','_defaultCallbacks','ENTER','hasComments','end','collaboration.channelId','for','toViewElement','deletion:discard','every','getDifference','activeMarkers','isIntersectingWithRange','$elementName','fire','insertion:chain','normal','_registerBlockAttribute','track-changes-adapter-already-set','widget','_trackFormatChanges','dataReady','execute','_editor','newName','key','_commentsRepository','addHighlight','concat','mapper','getCustomProperty','options','removeMarker:suggestion:formatBlock','containsRangeInObject','registerCustomCallback','changeAttribute','formatInline','moveTargetPosition','isNextTo','getAllAdjacentSuggestions','move','suggestion:','formatInline:join','_setSuggestionData','registerPostFixer','insert','editor','_setSuggestionRange','_recordAttributeSuggestionsFromVersion','accepted','addSuggestion','open','fromCharCode','insertion:accept','after','change:_saved','substring','formatBlock:join','$text','addMarker','range','$marker','position','addUser','fetchCommentThread','markAttributeChange','_inlineAttributeKeys','data','tablePasteChainId','return','value','containsRange','locale','author','getNearestSelectionRange','document','trackChanges','item','addComment','listenTo','formatBlock:','_reduceSuggestionAttributeRange','_processAttributeSuggestions','isIntersecting','editingDowncast','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.','getFirstMarker','addSuggestionData','createRange','removeAttribute','isEqual','attribute','_suggestionState','refresh','getShiftedBy','getSuggestions','pop','selection','delete','splitPosition','_splitMarkerName','change:activeMarkers','attributeNewValue','getRanges','unbind','isSelectable','getAncestors','isMultiRange','_joinSuggestions','_suggestionFactory','toJSON','attribute:','markerToData','createdAt','accept','isRemovable','createPositionAt','formatBlock:accept','chain','format','_getSuggestionData','acceptAllSuggestions','suggestionLoaded','next','detach','getCommentThread','upcast','forceDefaultExecution','change','_updateSuggestionData','$textProxy','filter','getMarkers','createSelection','default','multi','acceptSuggestion','data-suggestion','reconvertMarker','originalSuggestionId','_addSuggestionMarker','sort','parent','targetPosition','_onDiscard','toUpperCase','marker-count','substr','clone','dataToMarker','_cutOutSuggestionMarker','writer','_getAuthorFromId','updateSuggestion','dataDowncast','join','update:suggestion','discard','consume','removeComment','creator','commandName','splice','_isForcedDefaultExecutionBlock','suggestionUnloaded','_createSuggestion','trackChangesCommand','some','deleteContent','_handleNewSuggestionMarker','newValue','_isBlockAttribute','split','formatBlock:chain','batch','PendingActions','_refreshAttributeSuggestionsChain','length','push','_refreshSuggestionsChain','bindElementToMarker','discardSuggestion','pluginName','name','ready','createElement','assign','forEach','insertion:join','size','insertContent','commands','high','oldRange','previous','addMarker:suggestion','suggestion','track-changes-suggestion-data-mismatch','from','formatGroupId','suggestionChanged','ck-suggestion-marker--active','hasSuggestion','has','Users','getRange','updateMarker','always','$graveyard','addClass','containsItem','_saved','_addThreadToSuggestion','keys','schema','formatInline:chain','acceptSelectedSuggestions','includes','containerElement','_registerInlineAttribute','showSuggestionHighlights','ariaLiveAnnouncer','_processAttributeChanges','_registerDefaultCallbacks','suggestion:attribute:','markInsertion','getMultiRangeId','markers','getChanges','nodeBefore','suggestion-type','enableCommand','clear','isInsideObject','low','external:','unshift','insertion:','plugins','stop','_recordAttributeChanges','markerReady','CommentsRepository','insertion','oldName'];(function(_0xe8ae04,_0x54e7ce){const _0x326650=function(_0x59d22b){while(--_0x59d22b){_0xe8ae04['push'](_0xe8ae04['shift']());}};_0x326650(++_0x54e7ce);}(_0x54e7,0xa1));const _0x3266=function(_0xe8ae04,_0x54e7ce){_0xe8ae04=_0xe8ae04-0x0;let _0x326650=_0x54e7[_0xe8ae04];return _0x326650;};import{Plugin as _0x23db9c,PendingActions as _0x45a70f}from'ckeditor5/src/core';import{LiveRange as _0x15e6db}from'ckeditor5/src/engine';import{CKEditorError as _0x1231ca,uid as _0x30564f,priorities as _0x10979b,logWarning as _0x4cde5f}from'ckeditor5/src/utils';import{toWidget as _0x173fa9}from'ckeditor5/src/widget';import{Users as _0x4c4c5f,hashObject as _0x2cbd9a,surroundingMarkersDetector as _0x196bcb}from'ckeditor5-collaboration/src/collaboration-core';import _0x333016 from'./commands/trackchangescommand';import _0x3af46b from'./commands/acceptsuggestioncommand';import _0x4d0499 from'./commands/discardsuggestioncommand';import _0x54f269 from'./commands/executeonallsuggestionscommand';import _0x2ed373 from'./commands/executeonselectedsuggestionscommand';import _0x3717a3 from'./suggestion';import _0x1b5886 from'./suggestiondescriptionfactory';import _0x5711bc from'./integrations/aiassistant';import _0x250062 from'./integrations/alignment';import _0x459d3d from'./integrations/basicstyles';import _0x3f6113 from'./integrations/blockquote';import _0x5c70b3 from'./integrations/ckbox';import _0x3df183 from'./integrations/codeblock';import _0x4f125c from'./integrations/comments';import _0x198dee from'./integrations/deletecommand';import _0x1dbd48 from'./integrations/documentlist';import _0x24a70b from'./integrations/documentlistproperties';import _0x451175 from'./integrations/entercommand';import _0x5f78d4 from'./integrations/findandreplace';import _0x27e11f from'./integrations/font';import _0x490587 from'./integrations/formatpainter';import _0x1fa2b6 from'./integrations/heading';import _0x4eed3b from'./integrations/highlight';import _0x86c63f from'./integrations/horizontalline';import _0x284144 from'./integrations/htmlembed';import _0x35a85a from'./integrations/image';import _0x14a75b from'./integrations/imagereplace';import _0x3037c3 from'./integrations/imagestyle';import _0x456ffe from'./integrations/importword';import _0x4834f9 from'./integrations/indent';import _0x2c771d from'./integrations/inputcommand';import _0x392120 from'./integrations/link';import _0x2498e6 from'./integrations/list';import _0x17cc70 from'./integrations/listproperties';import _0x20699d from'./integrations/mediaembed';import _0x1e8c2f from'./integrations/mention';import _0x53bde5 from'./integrations/pagebreak';import _0x7dafec from'./integrations/paragraph';import _0xdb593d from'./integrations/removeformat';import _0x2c5f02 from'./integrations/restrictededitingmode';import _0x4b2f64 from'./integrations/shiftentercommand';import _0x5005e5 from'./integrations/standardeditingmode';import _0x4273ca from'./integrations/style';import _0x106682 from'./integrations/table';import _0x256bf6 from'./integrations/tablemergesplit';import _0x2ae252 from'./integrations/tableheadings';import _0x18fb8f from'./integrations/tableclipboard';import _0x30c48b from'./integrations/tablecolumnresize';import _0x53954a from'./integrations/template';import _0x30a384 from'./integrations/tableofcontents';import _0x563614 from'./integrations/title';import _0x353cc1 from'./integrations/undo';import _0x4063e4 from'./integrations/tablecaption';import _0x5151d2 from'./integrations/tableproperties';import{getTranslation as _0x5cb1d5}from'./utils/common-translations';import{isEqual as _0x828a1b,omit as _0x41db8e}from'lodash-es';export const renameAttributeKey=_0x3266('0x17d');export default class p extends _0x23db9c{static get['requires'](){return['CommentsRepository',_0x4c4c5f,_0x45a70f,_0x5711bc,_0x250062,_0x459d3d,_0x3f6113,_0x5c70b3,_0x3df183,_0x4f125c,_0x198dee,_0x1dbd48,_0x24a70b,_0x451175,_0x5f78d4,_0x27e11f,_0x490587,_0x1fa2b6,_0x4eed3b,_0x86c63f,_0x284144,_0x35a85a,_0x3037c3,_0x14a75b,_0x456ffe,_0x4834f9,_0x2c771d,_0x392120,_0x2498e6,_0x17cc70,_0x20699d,_0x1e8c2f,_0x53bde5,_0x7dafec,_0xdb593d,_0x2c5f02,_0x4b2f64,_0x5005e5,_0x4273ca,_0x106682,_0x256bf6,_0x2ae252,_0x4063e4,_0x18fb8f,_0x30c48b,_0x30a384,_0x5151d2,_0x53954a,_0x563614,_0x353cc1];}static get[_0x3266('0xa3')](){return _0x3266('0x155');}constructor(_0x10a5b5){function _0xf36b0e(_0x4de344){return _0x4de344['map'](_0x4ca187=>String[_0x3266('0x21')](_0x4ca187))[_0x3266('0x88')]('');}super(_0x10a5b5),this[_0x3266('0x1d')]=null,this['set'](_0x3266('0x17b'),[]),this['on'](_0x3266('0x52'),(_0x2e21f2,_0x436eb4,_0x54e4cd,_0x2d0eea)=>{this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x44a391 of[..._0x2d0eea,..._0x54e4cd])this[_0x3266('0xf8')][_0x3266('0xd0')][_0x3266('0xb8')](_0x44a391)&&_0x10a5b5[_0x3266('0x138')][_0x3266('0x77')](_0x44a391);});}),this['_descriptionFactory']=new _0x1b5886(this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0xc3')],this['editor']['locale']),this['_adapter']=null,this[_0x3266('0x5a')]=new Bt(this[_0x3266('0x1b')]),this[_0x3266('0x129')]=new Map(),this['_commentsRepository']=_0x10a5b5[_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xdf')),this[_0x3266('0x11e')]=new Set(),this[_0x3266('0xf8')]=this[_0x3266('0x1b')][_0x3266('0x10f')],this[_0x3266('0x49')]=new WeakMap(),this[_0x3266('0x90')]=!0x1,this[_0x3266('0x144')]=new Set(['$elementName']),this[_0x3266('0x2f')]=new Set(),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0xf4'),_0x3266('0x73')),this['_trackFormatChanges']=_0x10a5b5['config']['get'](_0x3266('0xf4')),_0x10a5b5[_0x3266('0x12f')][_0x3266('0x124')](_0x3266('0x15f'),!0x0),this[_0x3266('0xfe')]=_0x10a5b5[_0x3266('0x12f')]['get'](_0x3266('0x15f')),this[_0x3266('0x93')]=new _0x333016(_0x10a5b5,this['_enabledCommands']),this[_0x3266('0x102')](),this[_0xf36b0e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0xf36b0e([0x34,0x30,0x34,0x36,0x32,0x34,0x30,0x38]);}['init'](){const _0x407ba6=this[_0x3266('0x1b')],_0x43737c=(_0xb294ff,_0x23b459)=>{if(_0x3266('0x48')!=_0xb294ff)return _0x3266('0xf2')+_0xb294ff;const _0x4412ec=_0x23b459[_0x3266('0x99')]('|')[0x0];return this[_0x3266('0x98')](_0x4412ec)?_0x3266('0xe9'):'ck-suggestion-marker-formatInline';};_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':_0x34830a=>{const {id:_0x1f16ed,type:_0x113f96,subType:_0x1461a7}=this[_0x3266('0x51')](_0x34830a[_0x3266('0xe4')]),_0x3bd4e4=[_0x3266('0x16e'),_0x43737c(_0x113f96,_0x1461a7)];let _0x5e44e5=0xbb8;return this['activeMarkers'][_0x3266('0xc6')](_0x34830a[_0x3266('0xe4')])&&(_0x3bd4e4[_0x3266('0x9f')](_0x3266('0xb6')),_0x5e44e5=0xbc2),'deletion'==_0x113f96&&(_0x5e44e5+=0x5),{'classes':_0x3bd4e4,'attributes':{'data-suggestion':_0x1f16ed},'priority':_0x5e44e5};}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x587028=>{_0x587028['on'](_0x3266('0xb0'),(_0x8f4070,_0x3e0429,_0x592324)=>{if(!_0x592324[_0x3266('0xc')]['showSuggestionHighlights'])return;const _0x382a9d=_0x3e0429[_0x3266('0x3a')];if(!_0x382a9d)return;const _0x257818=_0x592324['mapper'][_0x3266('0x177')](_0x382a9d);_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0x10b')](_0x382a9d)&&_0x257818&&!_0x257818[_0x3266('0xb')](_0x3266('0x0'))&&_0x257818['is'](_0x3266('0xc7'))&&_0x173fa9(_0x257818,_0x592324[_0x3266('0x84')]);},{'priority':'high'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x159')]({'model':_0x3266('0xb1'),'view':(_0x36bbb5,_0x1e9f6f)=>{if(!_0x1e9f6f[_0x3266('0xc')][_0x3266('0xc9')])return null;const {type:_0x1695cc,subType:_0xaf5279}=this['_splitMarkerName'](_0x36bbb5[_0x3266('0xe4')]);return{'classes':[_0x3266('0x16e'),_0x43737c(_0x1695cc,_0xaf5279)],'priority':0xbb8};}});const _0x479bff=({showActiveMarkers:_0xc58b91=!0x0,isAttributeSuggestion:_0x1c63d1=!0x1}={})=>(_0x2a2d1b,_0x3d5c72,_0x36f004)=>{if(!_0x3d5c72['item'])return;const {id:_0x5e5c39}=this[_0x3266('0x51')](_0x3d5c72[_0x3266('0xe4')]);if(_0x1c63d1){const _0x305598=Pt(this['_suggestions'][_0x3266('0x13b')](_0x5e5c39));if(!this[_0x3266('0x98')](_0x305598))return;}if(_0x3d5c72['item']['is']('selection'))return void _0x36f004['consumable']['consume'](_0x3d5c72['item'],_0x2a2d1b[_0x3266('0xa4')]);const _0x855d37=_0x36f004[_0x3266('0xa')]['toViewElement'](_0x3d5c72[_0x3266('0x3a')]);if(_0x3d5c72['item']['is'](_0x3266('0x164'))&&_0x407ba6[_0x3266('0x10f')][_0x3266('0xc3')][_0x3266('0xf9')](_0x3d5c72[_0x3266('0x3a')])&&!_0x855d37['getCustomProperty'](_0x3266('0x8'))){_0x36f004[_0x3266('0x84')][_0x3266('0xbe')]([_0x3266('0x16e'),_0x3266('0xe9')],_0x855d37),_0x36f004[_0x3266('0x84')][_0x3266('0x168')]('data-suggestion',_0x5e5c39,_0x855d37),_0x36f004['mapper'][_0x3266('0xa1')](_0x855d37,_0x3d5c72[_0x3266('0xe4')]),_0xc58b91&&(this[_0x3266('0x17b')][_0x3266('0xc6')](_0x3d5c72[_0x3266('0xe4')])?_0x36f004[_0x3266('0x84')]['addClass']('ck-suggestion-marker--active',_0x855d37):_0x36f004[_0x3266('0x84')]['removeClass'](_0x3266('0xb6'),_0x855d37));for(const _0x5d91b2 of _0x407ba6[_0x3266('0x10f')]['createRangeIn'](_0x3d5c72[_0x3266('0x3a')])['getItems']())_0x36f004['consumable'][_0x3266('0x8b')](_0x5d91b2,_0x2a2d1b[_0x3266('0xa4')]);_0x36f004[_0x3266('0xee')][_0x3266('0x8b')](_0x3d5c72[_0x3266('0x3a')],_0x2a2d1b[_0x3266('0xa4')]);}};_0x407ba6['conversion'][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0xf0')](_0x1db244=>{_0x1db244['on']('addMarker:suggestion:formatBlock',(_0x3405ae,_0x1c8bd3,_0x5fc859)=>{_0x5fc859['options']['showSuggestionHighlights']&&_0x479bff({'showActiveMarkers':!0x1})(_0x3405ae,_0x1c8bd3,_0x5fc859);},{'priority':_0x3266('0x101')});}),_0x407ba6['conversion'][_0x3266('0x176')]('dataDowncast')[_0x3266('0xf0')](_0x265c09=>{_0x265c09['on']('addMarker:suggestion:attribute',(_0x138bd0,_0xe358f1,_0x5ca3e3)=>{_0x5ca3e3[_0x3266('0xc')][_0x3266('0xc9')]&&_0x479bff({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x138bd0,_0xe358f1,_0x5ca3e3);},{'priority':'highest'});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x87'))[_0x3266('0x5d')]({'model':_0x3266('0xb1'),'view':(_0x446a60,_0x1abe7b)=>_0x1abe7b[_0x3266('0xc')][_0x3266('0xc9')]?null:{'group':_0x3266('0xb1'),'name':_0x446a60[_0x3266('0x80')](0xb)}}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x6b'))[_0x3266('0x15d')]({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x1a8735,{writer:_0x4364a3})=>{let _0x522d7c=_0x3266('0x16')+_0x1a8735[_0x3266('0x166')](_0x3266('0xd3'))+':'+_0x1a8735[_0x3266('0x166')]('id');return _0x1a8735['getAttribute']('marker-count')&&(_0x522d7c+=':'+_0x1a8735[_0x3266('0x166')](_0x3266('0x7f'))),_0x4364a3[_0x3266('0xa6')](_0x3266('0x2a'),{'data-name':_0x522d7c});}}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')](_0x3266('0x6b'))[_0x3266('0x82')]({'view':_0x3266('0xb1')}),_0x407ba6['conversion']['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x4ebee5=>{_0x4ebee5['on'](_0x3266('0x143'),_0x479bff(),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for']('editingDowncast')[_0x3266('0xf0')](_0x25a368=>{_0x25a368['on']('addMarker:suggestion:attribute',_0x479bff({'isAttributeSuggestion':!0x0}),{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')][_0x3266('0x176')]('editingDowncast')[_0x3266('0xf0')](_0x3e491e=>{_0x3e491e['on'](_0x3266('0xd'),(_0x24070c,_0xb560b8,_0x568693)=>{const _0x4c8ff0=_0x568693[_0x3266('0xa')][_0x3266('0xf6')](_0xb560b8[_0x3266('0xe4')]);if(_0x4c8ff0)for(const _0x2fc242 of _0x4c8ff0)_0x2fc242[_0x3266('0xb')](_0x3266('0x8'))||(_0x568693['writer']['removeClass']([_0x3266('0x16e'),_0x3266('0xe9'),_0x3266('0xb6')],_0x2fc242),_0x568693[_0x3266('0x84')][_0x3266('0x46')]('data-suggestion',_0x2fc242),_0x568693['mapper']['unbindElementFromMarkerName'](_0x2fc242,_0xb560b8['markerName']));},{'priority':_0x3266('0xad')});}),_0x407ba6[_0x3266('0x14f')]['for'](_0x3266('0x41'))[_0x3266('0xf0')](_0x368867=>{_0x368867['on']('removeMarker:suggestion:attribute',(_0x37c797,_0x4ab6a3,_0x422b11)=>{const _0x442d13=_0x422b11['mapper'][_0x3266('0xf6')](_0x4ab6a3[_0x3266('0xe4')]);if(!_0x442d13)return;const {id:_0x420698}=this[_0x3266('0x51')](_0x4ab6a3[_0x3266('0xe4')]),_0x24aedd=Pt(this['_suggestions'][_0x3266('0x13b')](_0x420698));if(this[_0x3266('0x98')](_0x24aedd))for(const _0x44193a of _0x442d13)_0x44193a['getCustomProperty']('addHighlight')||(_0x422b11[_0x3266('0x84')]['removeClass'](['ck-suggestion-marker',_0x3266('0xe9'),_0x3266('0xb6')],_0x44193a),_0x422b11[_0x3266('0x84')][_0x3266('0x46')](_0x3266('0x76'),_0x44193a),_0x422b11[_0x3266('0xa')]['unbindElementFromMarkerName'](_0x44193a,_0x4ab6a3['markerName']));},{'priority':'high'});}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['registerPostFixer'](_0x3d06c1=>{let _0x13c2c6=!0x1;const _0x35731e=Array['from'](_0x407ba6[_0x3266('0x10f')]['document'][_0x3266('0x10e')][_0x3266('0x132')]()),_0x1520f3=new Set();for(const {name:_0x4d92e9,data:_0x573ab3}of _0x35731e){const {group:_0x287317,type:_0x29e90e,subType:_0x43b4c9,id:_0x434474}=this['_splitMarkerName'](_0x4d92e9);if('suggestion'!==_0x287317)continue;const _0xafe2ac=this[_0x3266('0x129')]['get'](_0x434474);if(null!=_0x573ab3[_0x3266('0x12d')]){_0x3266('0x11')==_0x29e90e&&(_0x13c2c6=_0x13c2c6||Et(_0x573ab3[_0x3266('0x12d')],_0x4d92e9,_0x3d06c1,_0x407ba6[_0x3266('0x10f')]['schema']));const _0x4152b6=_0x3266('0x48')==_0x29e90e&&this[_0x3266('0x98')](_0x43b4c9[_0x3266('0x99')]('|')[0x0]);if(_0x573ab3[_0x3266('0x12d')]['isCollapsed']||_0x3266('0xbd')==_0x573ab3[_0x3266('0x12d')]['root'][_0x3266('0xeb')]||_0x3266('0x110')==_0x29e90e&&!jt(_0x573ab3[_0x3266('0x12d')])||_0x4152b6&&!jt(_0x573ab3[_0x3266('0x12d')])||'deletion'==_0x29e90e&&!(!xt(_0x1b5994=_0x573ab3[_0x3266('0x12d')])&&!function(_0x446119){return _0x446119[_0x3266('0x13e')]['parent']==_0x446119['end']['nodeBefore']&&_0x446119[_0x3266('0x13e')]['isAtEnd'];}(_0x1b5994)))_0x3d06c1['removeMarker'](_0x4d92e9),_0x13c2c6=!0x0;else{if(!_0xafe2ac||!_0xafe2ac[_0x3266('0x130')])continue;_0x1520f3[_0x3266('0xf0')](_0xafe2ac);}}}var _0x1b5994;return _0x1520f3['size']>0x0&&(_0x13c2c6=!!this[_0x3266('0x140')](_0x1520f3)||_0x13c2c6),_0x13c2c6;}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x2413dc=>{let _0x43bd29=!0x1;for(const _0x398958 of _0x407ba6['model'][_0x3266('0x38')][_0x3266('0x10e')][_0x3266('0xd1')]())if('insert'==_0x398958[_0x3266('0x146')])for(const _0xbcfaae of this[_0x3266('0x129')][_0x3266('0x16f')]()){if(_0xbcfaae['isMultiRange']||!_0xbcfaae[_0x3266('0x130')])continue;const _0x14cd78=_0x3266('0x110')==_0xbcfaae[_0x3266('0x146')],_0x1fcdad=Pt(_0xbcfaae),_0x2a42cd=_0x1fcdad&&this[_0x3266('0x98')](_0x1fcdad);if(!_0x14cd78&&!_0x2a42cd)continue;const _0x2cafda=_0xbcfaae[_0x3266('0x147')]();if(_0x2cafda[_0x3266('0x13e')][_0x3266('0x7b')]!=_0x2cafda['end']['parent']&&!_0x2cafda[_0x3266('0x174')][_0x3266('0x120')]){const _0x5e3167=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x2cafda[_0x3266('0x13e')][_0x3266('0x107')],_0x3266('0x174')),_0x1fee7d=_0x407ba6[_0x3266('0x10f')]['createRange'](_0x2cafda[_0x3266('0x13e')],_0x5e3167);_0x2413dc[_0x3266('0xbb')](_0xbcfaae[_0x3266('0x43')](),{'range':_0x1fee7d}),_0x43bd29=!0x0;}}return _0x43bd29;}),_0x407ba6['model'][_0x3266('0x38')][_0x3266('0x19')](_0x389b44=>this[_0x3266('0xcb')](_0x389b44)),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x19')](_0x56de5a=>!_0x56de5a[_0x3266('0x9b')][_0x3266('0x100')]&&this[_0x3266('0x3f')](_0x56de5a)),_0x407ba6['model'][_0x3266('0xd0')]['on'](_0x3266('0x89'),(_0x55aea8,_0xdea3b1,_0x1f04b0)=>{if(null==_0x1f04b0){const {id:_0x1e9fb6}=this['_splitMarkerName'](_0xdea3b1['name']),_0x23bb3a=this[_0x3266('0x129')]['get'](_0x1e9fb6);_0x23bb3a&&_0x23bb3a[_0x3266('0x125')](_0xdea3b1[_0x3266('0xa4')]);}}),_0x407ba6[_0x3266('0x10f')][_0x3266('0x38')]['on']('change:data',()=>{const _0x4296ea=Array[_0x3266('0xb3')](_0x407ba6['model']['document']['differ']['getChangedMarkers']())['filter'](_0x2d0c78=>_0x3266('0xb1')===this[_0x3266('0x51')](_0x2d0c78[_0x3266('0xa4')])['group']);if(0x0===_0x4296ea['length'])return;_0x4296ea[_0x3266('0x7a')]((_0x2c1342,_0x6b7885)=>{const _0x567760=_0x2c1342['data'][_0x3266('0xae')],_0x910d1f=_0x6b7885[_0x3266('0x30')][_0x3266('0xae')];return null===_0x567760&&null===_0x910d1f?0x0:null===_0x567760&&null!==_0x910d1f?-0x1:null!==_0x567760&&null===_0x910d1f?0x1:_0x567760[_0x3266('0x13e')][_0x3266('0xe8')](_0x910d1f[_0x3266('0x13e')])?-0x1:0x1;});const _0x2f257b=new Set(),_0x5e1cab=new Set();for(const {name:_0x4a2b36,data:_0x5b03bf}of _0x4296ea){const {id:_0x3167d6}=this[_0x3266('0x51')](_0x4a2b36);if(null===_0x5b03bf[_0x3266('0xae')]){const _0x29f392=this[_0x3266('0x96')](_0x4a2b36);_0x5e1cab[_0x3266('0xf0')](_0x29f392);}else{const _0x2a7ed0=this[_0x3266('0x129')][_0x3266('0x13b')](_0x3167d6);null!==_0x5b03bf[_0x3266('0x12d')]||_0x2a7ed0['isInContent']?(_0x2f257b[_0x3266('0xf0')](_0x2a7ed0[_0x3266('0xf3')]),_0x5e1cab[_0x3266('0xf0')](_0x2a7ed0)):this[_0x3266('0x14a')](_0x2a7ed0);}}_0x5e1cab['size']>0x0&&this[_0x3266('0xa0')](_0x5e1cab);for(const _0x18b9e0 of _0x2f257b)this[_0x3266('0x17e')](_0x3266('0xb5'),_0x18b9e0);}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xfc'),(_0x40bd7a,_0x3c390c)=>{const _0x358544=_0x3c390c[0x0];if(!this[_0x3266('0x129')][_0x3266('0xaa')])return;if(!_0x358544['isDocumentOperation'])return;if(_0x358544['batch'][_0x3266('0x11a')]||!_0x358544[_0x3266('0x9b')][_0x3266('0x100')])return;let _0x5e3207,_0x2fa6cc;switch(_0x358544[_0x3266('0x146')]){case _0x3266('0x1a'):_0x5e3207=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x2b')]),_0x2fa6cc=_0x5e3207['getShiftedBy'](_0x358544['howMany']);break;case _0x3266('0x99'):_0x5e3207=_0x407ba6[_0x3266('0x10f')]['createPositionAt'](_0x358544[_0x3266('0x50')]),_0x2fa6cc=_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x358544[_0x3266('0x12')]);break;case _0x3266('0x15'):_0x5e3207=_0x407ba6['model'][_0x3266('0x61')](_0x358544[_0x3266('0x7c')]),_0x2fa6cc=_0x5e3207[_0x3266('0x4b')](_0x358544['howMany']);break;default:return;}const _0x232008=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5e3207,_0x2fa6cc);_0x407ba6[_0x3266('0x10f')]['change'](()=>{for(const {suggestion:_0x1167a4,meta:_0x256def}of this[_0x3266('0x13f')](_0x232008)){if(_0x1167a4[_0x3266('0x58')])continue;if(_0x3266('0x11')==_0x1167a4[_0x3266('0x146')])continue;const _0x56eba9=Pt(_0x1167a4);if(_0x56eba9&&this[_0x3266('0x98')](_0x56eba9)&&_0x3266('0x99')!=_0x358544[_0x3266('0x146')])continue;const _0x21dade=_0x1167a4[_0x3266('0x30')]&&_0x1167a4[_0x3266('0x30')][_0x3266('0x14e')];(_0x3266('0x110')!=_0x1167a4[_0x3266('0x146')]||_0x3266('0x99')==_0x358544[_0x3266('0x146')]&&!_0x21dade)&&(_0x256def[_0x3266('0xe')]||_0x3266('0xe0')==_0x1167a4[_0x3266('0x146')]&&_0x256def['isOwn']||_0x1167a4[_0x3266('0x147')]()[_0x3266('0x34')](_0x232008)&&this[_0x3266('0x10a')](_0x1167a4,_0x5e3207,_0x2fa6cc));}});},{'priority':'lowest'}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0x95'),(_0x5868bf,_0x340dbf)=>{const _0xcfc09e=_0x340dbf[0x0],_0x564e68=_0x340dbf[0x1];if(_0x564e68&&_0x564e68[_0x3266('0x6c')])return;if(this[_0x3266('0x90')])return;if(!this[_0x3266('0x93')][_0x3266('0x33')])return;if(_0xcfc09e[_0x3266('0x16d')])return;const _0x4ff9b1=_0x407ba6['model'][_0x3266('0xc3')],{start:_0x240004,end:_0x4d5f8e}=_0xcfc09e[_0x3266('0x147')](),_0x5827cc=_0x240004[_0x3266('0x107')]&&_0x4ff9b1[_0x3266('0xe3')](_0x240004[_0x3266('0x107')])?null:_0x4ff9b1[_0x3266('0x37')](_0x240004,'forward'),_0x4b4fcb=_0x4d5f8e[_0x3266('0xd2')]&&_0x4ff9b1[_0x3266('0xe3')](_0x4d5f8e[_0x3266('0xd2')])?null:_0x4ff9b1[_0x3266('0x37')](_0x4d5f8e,_0x3266('0xe5')),_0x3e8164=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x5827cc?_0x5827cc[_0x3266('0x13e')]:_0x240004,_0x4b4fcb?_0x4b4fcb[_0x3266('0x174')]:_0x4d5f8e);_0x407ba6[_0x3266('0x10f')]['change'](_0x293984=>{this[_0x3266('0x16c')](_0x3e8164);const _0x457d13=_0x407ba6['model']['schema'][_0x3266('0x37')](_0x3e8164[_0x3266('0x13e')]);_0xcfc09e['is']('documentSelection')?_0x293984[_0x3266('0x13c')](_0x457d13):_0xcfc09e[_0x3266('0xf7')](_0x457d13);}),_0x5868bf[_0x3266('0xdc')]();},{'priority':_0x10979b[_0x3266('0x180')]+0xa}),_0x407ba6[_0x3266('0x10f')]['on'](_0x3266('0xab'),(_0x4e5548,_0x4a6418)=>{const _0x4a0b81=_0x4a6418[_0x4a6418['length']-0x1];_0x4a0b81&&_0x4a0b81[_0x3266('0x6c')]||this[_0x3266('0x90')]||this[_0x3266('0x93')]['value']&&(_0x407ba6['model']['change'](()=>{let _0x3a6567=_0x407ba6[_0x3266('0x10f')]['insertContent'](_0x4a6418[0x0],_0x4a6418[0x1],_0x4a6418[0x2],{'forceDefaultExecution':!0x0});if(!_0x3a6567)return;_0x4e5548[_0x3266('0x32')]=_0x3a6567[_0x3266('0x81')]();const _0x4ac146=_0x3a6567[_0x3266('0x174')][_0x3266('0xd2')],_0x4d7611=_0x407ba6['model'][_0x3266('0xc3')];_0x4ac146&&_0x4d7611[_0x3266('0xf9')](_0x4ac146)&&!_0x4d7611[_0x3266('0x10b')](_0x4ac146)&&(_0x3a6567=_0x407ba6[_0x3266('0x10f')][_0x3266('0x45')](_0x3a6567[_0x3266('0x13e')],_0x407ba6[_0x3266('0x10f')][_0x3266('0x61')](_0x4ac146,_0x3266('0x174')))),this[_0x3266('0xce')](_0x3a6567);}),_0x4e5548['stop']());},{'priority':_0x3266('0xad')}),this[_0x3266('0x1b')]['commands']['add'](_0x3266('0x39'),this['trackChangesCommand']),this[_0x3266('0xd4')](_0x3266('0x39'));const _0xaffca0=new _0x3af46b(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')]['add']('acceptSuggestion',_0xaffca0),this[_0x3266('0xd4')](_0x3266('0x75'));const _0xe7d535=new _0x4d0499(_0x407ba6,this[_0x3266('0x129')]);_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0xa2'),_0xe7d535),this[_0x3266('0xd4')]('discardSuggestion'),_0x407ba6[_0x3266('0xac')][_0x3266('0xf0')](_0x3266('0x66'),new _0x54f269(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x66')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x116'),new _0x54f269(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x116')),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0xc5'),new _0x2ed373(_0x407ba6,_0xaffca0,this[_0x3266('0x129')])),this[_0x3266('0xd4')]('acceptSelectedSuggestions'),_0x407ba6['commands'][_0x3266('0xf0')](_0x3266('0x150'),new _0x2ed373(_0x407ba6,_0xe7d535,this[_0x3266('0x129')])),this[_0x3266('0xd4')](_0x3266('0x150'));const _0x37ff70=_0x407ba6[_0x3266('0xdb')][_0x3266('0x13b')]('CommentsRepository');this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x3b'),(_0x2ffe21,{threadId:_0x50ddea})=>{const _0x30714c=this[_0x3266('0x129')]['get'](_0x50ddea);_0x30714c&&_0x30714c['commentThread']&&0x1===_0x30714c[_0x3266('0x121')][_0x3266('0x9e')]&&this[_0x3266('0x6e')](_0x50ddea,{'hasComments':!0x0});},{'priority':_0x3266('0xd7')}),this[_0x3266('0x3c')](_0x37ff70,_0x3266('0x8c'),(_0x167393,{threadId:_0x2b70f3})=>{const _0x49cefc=this[_0x3266('0x129')]['get'](_0x2b70f3);_0x49cefc&&_0x49cefc[_0x3266('0x121')]&&!_0x49cefc['commentThread']['length']&&this[_0x3266('0x6e')](_0x2b70f3,{'hasComments':!0x1});},{'priority':_0x3266('0xd7')});}set[_0x3266('0x109')](_0x4fbdb3){if(this[_0x3266('0x15e')])throw new _0x1231ca(_0x3266('0x182'),this);this[_0x3266('0x15e')]=_0x4fbdb3;}get[_0x3266('0x109')](){return this[_0x3266('0x15e')];}[_0x3266('0x4c')]({skipNotAttached:_0x2c5e72=!0x1,toJSON:_0x30147e=!0x1}={}){const _0xeb3773=[];for(const _0x5d0706 of this['_suggestions']['values']())_0x2c5e72&&!_0x5d0706[_0x3266('0x130')]||_0xeb3773[_0x3266('0x9f')](_0x5d0706);return _0x30147e?_0xeb3773[_0x3266('0x152')](_0x1e235b=>_0x1e235b[_0x3266('0x5b')]()):_0xeb3773;}['getSuggestion'](_0x3d422e){const _0x2434dc=this['_suggestions'][_0x3266('0x13b')](_0x3d422e);if(!_0x2434dc)throw new _0x1231ca('track-changes-suggestion-not-found',this);return _0x2434dc;}[_0x3266('0xb7')](_0x3942bf){return this[_0x3266('0x129')][_0x3266('0xb8')](_0x3942bf);}[_0x3266('0x44')](_0x144ee3){const {authorId:_0x4319a3,id:_0x11c6bb,attributes:_0xf7d414}=_0x144ee3,[_0x3f0009,_0x319db1]=_0x144ee3[_0x3266('0x146')][_0x3266('0x99')](':'),_0x13cece=this[_0x3266('0x129')][_0x3266('0x13b')](_0x11c6bb)||this[_0x3266('0x92')](_0x3f0009,_0x319db1,_0x11c6bb,_0x4319a3,_0xf7d414);if(this[_0x3266('0xc1')](_0x13cece),this['_checkSuggestionCorrectness'](_0x13cece,_0x3f0009,_0x319db1||null,_0x4319a3),_0x13cece[_0x3266('0x5e')]=_0x144ee3['createdAt'],_0x13cece[_0x3266('0x131')]=!0x0,_0xf7d414&&_0xf7d414[_0x3266('0x10c')]){const _0x583a41=_0xf7d414['@external'],_0x1a89c2=this['_getExternalAuthor'](_0x583a41[_0x3266('0x16b')]);_0x13cece[_0x3266('0x153')]=_0x583a41[_0x3266('0x5e')],_0x13cece[_0x3266('0x36')]=_0x1a89c2,_0x13cece[_0x3266('0xef')]=!0x0;}else _0x13cece[_0x3266('0x153')]=_0x144ee3[_0x3266('0x5e')];switch(_0x144ee3['data']&&(_0x13cece[_0x3266('0x30')]=_0x144ee3['data']),_0x144ee3[_0x3266('0x169')]&&(_0x13cece[_0x3266('0x169')]=_0x144ee3[_0x3266('0x169')]),this['_adapter']&&this[_0x3266('0x15e')][_0x3266('0x1f')]||(_0x13cece[_0x3266('0xc0')]=!0x0),this[_0x3266('0x49')][_0x3266('0x13b')](_0x13cece)){case'notReady':this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0x2'));break;case _0x3266('0xde'):_0x13cece[_0x3266('0x130')]?(this[_0x3266('0xa0')](new Set([_0x13cece])),this[_0x3266('0x140')](new Set([_0x13cece])),this[_0x3266('0x49')][_0x3266('0x114')](_0x13cece,_0x3266('0xa5')),this[_0x3266('0x17e')](_0x3266('0x67'),_0x13cece)):this['_suggestionState'][_0x3266('0x114')](_0x13cece,_0x3266('0x12a'));}return _0x13cece;}[_0x3266('0x75')](_0x355ec4){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x25fd09 of _0x355ec4[_0x3266('0x14')]())_0x25fd09[_0x3266('0x5f')]();});});}[_0x3266('0xa2')](_0x40a664){this['forceDefaultExecution'](()=>{this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x6d')](()=>{for(const _0x56c934 of _0x40a664[_0x3266('0x14')]())_0x56c934[_0x3266('0x8a')]();});});}[_0x3266('0xd4')](_0x5c5086,_0x17b7d1){const _0x575328=this[_0x3266('0x1b')][_0x3266('0xac')][_0x3266('0x13b')](_0x5c5086);if(!_0x575328)throw new _0x1231ca('track-changes-command-not-found',this,{'commandName':_0x5c5086});if(this[_0x3266('0x11e')][_0x3266('0xb8')](_0x575328))throw new _0x1231ca('track-changes-enable-command-twice',this,{'commandName':_0x5c5086});this[_0x3266('0x11e')][_0x3266('0xf0')](_0x575328),_0x17b7d1&&_0x575328['on'](_0x3266('0x3'),(_0xecf171,_0x13d303)=>{this[_0x3266('0x93')][_0x3266('0x33')]&&(this[_0x3266('0x90')]||(_0x13d303['length']>0x0&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1]&&_0x13d303[_0x13d303[_0x3266('0x9e')]-0x1][_0x3266('0x6c')]?_0x13d303[_0x3266('0x4d')]():(_0xecf171[_0x3266('0x32')]=_0x17b7d1((..._0x314649)=>_0x575328['execute'](..._0x314649,{'forceDefaultExecution':!0x0}),..._0x13d303),_0xecf171[_0x3266('0xdc')]())));},{'priority':_0x3266('0xad')});}[_0x3266('0x6c')](_0x5b110e){let _0x41587b,_0xf14d50;const _0x3fff3f=this[_0x3266('0x90')];this[_0x3266('0x90')]=!0x0;try{_0x41587b=_0x5b110e();}catch(_0x9dc375){_0xf14d50=_0x9dc375;}return _0x3fff3f||(this[_0x3266('0x90')]=!0x1),_0xf14d50&&_0x1231ca[_0x3266('0x14c')](_0xf14d50,this),_0x41587b;}['markInsertion'](_0x2170dc,_0x3659c0=null,_0x37ba21={}){if(_0x2170dc[_0x3266('0x16d')])return null;const _0x1cdde2=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const {suggestion:_0x22cb8a,meta:_0x3aa9de}of this[_0x3266('0x13f')](_0x2170dc,_0x3266('0xe0')))if(_0x3aa9de[_0x3266('0x158')]){if(!_0x3aa9de['isNextTo']){if(_0x3aa9de[_0x3266('0xe')]){if(!this['_mergeNestedSuggestions']||!Gt(_0x22cb8a,_0x37ba21))continue;return _0x22cb8a;}if(Gt(_0x22cb8a,_0x37ba21))return _0x22cb8a;this[_0x3266('0x10a')](_0x22cb8a,_0x2170dc[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')]);break;}if(_0x3659c0==_0x22cb8a[_0x3266('0x11d')]&&Gt(_0x22cb8a,_0x37ba21)){const _0x59b518=_0x22cb8a[_0x3266('0x147')]();return _0x59b518[_0x3266('0x13e')][_0x3266('0x47')](_0x2170dc[_0x3266('0x174')])?this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x2170dc['start'],_0x59b518[_0x3266('0x174')])):this[_0x3266('0x1c')](_0x22cb8a,this[_0x3266('0xf8')][_0x3266('0x45')](_0x59b518[_0x3266('0x13e')],_0x2170dc[_0x3266('0x174')])),_0x22cb8a;}}const _0x82445f=_0x30564f(),_0x3767f2=_0x1cdde2['id'],_0x4dfb2e=_0x3659c0?_0x3266('0xda')+_0x3659c0:_0x3266('0xe0'),_0x198713=this[_0x3266('0x18')]({'id':_0x82445f,'type':_0x4dfb2e,'createdAt':new Date(),'authorId':_0x3767f2,'attributes':_0x37ba21});return this[_0x3266('0x79')](_0x4dfb2e,_0x82445f,_0x3767f2,_0x2170dc),_0x198713;}['markMultiRangeInsertion'](_0x4b124e,_0x50d74e=_0x3266('0x74'),_0x11d7c7={}){const _0x2a90b3=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0xc72f90=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0xe0'),_0x50d74e,_0x3266('0x88'));for(const _0x3d4725 of this[_0x3266('0x4c')]())if(_0x3d4725[_0x3266('0x36')]['id']==_0x2a90b3['id']&&_0x3266('0xe0')==_0x3d4725[_0x3266('0x146')]&&_0x3d4725[_0x3266('0x11d')]==_0x50d74e&&Gt(_0x3d4725,_0x11d7c7)&&(_0xc72f90(_0x3d4725['getRanges'](),_0x4b124e)||_0xc72f90(_0x4b124e,_0x3d4725[_0x3266('0x54')]()))){for(const _0x461df0 of _0x4b124e)_0x3d4725['addRange'](_0x461df0);return _0x3d4725;}for(const {suggestion:_0x322299,meta:_0x9d3b1a}of this[_0x3266('0x13f')](_0x4b124e,'insertion')){if(!_0x9d3b1a[_0x3266('0x158')])continue;if(!this[_0x3266('0xfe')]&&_0x9d3b1a[_0x3266('0xe')])continue;if(!Gt(_0x322299,_0x11d7c7))continue;let _0x42f925=!0x0;for(const _0x3a09fc of _0x322299[_0x3266('0x54')]())for(const _0x4ad4cd of _0x4b124e)if(!_0x3a09fc[_0x3266('0x34')](_0x4ad4cd)){_0x42f925=!0x1;break;}if(_0x42f925)return _0x322299;}const _0x3c7031=_0x30564f(),_0x53403b=_0x2a90b3['id'],_0x4741af='insertion:'+_0x50d74e,_0x33ca8b=this['_setSuggestionData']({'id':_0x3c7031,'type':_0x4741af,'createdAt':new Date(),'authorId':_0x53403b,'attributes':_0x11d7c7});for(const _0x292b8a of _0x4b124e)this[_0x3266('0x79')](_0x4741af,_0x3c7031,_0x53403b,_0x292b8a,_0x3717a3[_0x3266('0xcf')]());return _0x33ca8b;}[_0x3266('0x119')](_0x38059a,_0x1f109d,_0x21c1f0=null,_0x34352f={}){if(_0x21c1f0=_0x21c1f0||Rt(_0x1f109d),_0x38059a['isCollapsed'])return null;if('never'===this[_0x3266('0x1')]){const _0x4f10be=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x4f10be([_0x38059a],_0x1f109d,_0x34352f)),null;}const _0x34a543=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x5199ce=[];if(_0x3266('0xbc')!==this[_0x3266('0x1')])for(const {suggestion:_0x4fedd7,meta:_0x519c2c}of this[_0x3266('0x13f')](_0x38059a,'insertion'))_0x519c2c[_0x3266('0x158')]&&!_0x519c2c[_0x3266('0xd6')]&&_0x5199ce[_0x3266('0x9f')](..._0x4fedd7[_0x3266('0x54')]());const _0x52bd82=function(_0x458c72,_0x1cdacd){const _0x590703=[];for(const _0x318bea of _0x1cdacd){const _0x52e05a=_0x458c72[_0x3266('0xec')](_0x318bea);_0x52e05a&&_0x590703[_0x3266('0x9f')](_0x52e05a);}return _0x590703;}(_0x38059a,_0x5199ce),_0x1bd04d=function(_0x1c2850,_0xd6adf2){const _0x1be965=[_0x1c2850];for(const _0x1c1e95 of _0xd6adf2){let _0x4a7e18=0x0;for(;_0x4a7e18<_0x1be965[_0x3266('0x9e')];){const _0x5b84d8=_0x1be965[_0x4a7e18][_0x3266('0x17a')](_0x1c1e95);_0x1be965[_0x3266('0x8f')](_0x4a7e18,0x1,..._0x5b84d8),_0x4a7e18+=_0x5b84d8[_0x3266('0x9e')];}}return _0x1be965;}(_0x38059a,_0x5199ce);_0x52bd82['length']&&this[_0x3266('0xf8')][_0x3266('0x6d')](()=>{for(const _0x393c13 of _0x52bd82){const _0x15b180=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x11'),_0x21c1f0,_0x3266('0x5f'));this[_0x3266('0x6c')](()=>_0x15b180([_0x393c13],_0x1f109d,_0x34352f));}});for(const _0x44731f of _0x1bd04d){let _0x4396f8=null,_0x59059a=_0x44731f[_0x3266('0x13e')],_0x576bef=_0x44731f[_0x3266('0x174')];for(const {suggestion:_0x229e9d,meta:_0x2b784a}of this[_0x3266('0x13f')](_0x44731f,_0x3266('0x11'))){if(!_0x2b784a[_0x3266('0x158')])continue;if(_0x229e9d[_0x3266('0x11d')]!=_0x21c1f0)continue;if(!Gt(_0x229e9d,_0x34352f))continue;const _0x59cd7c=_0x229e9d['getFirstRange']();if(_0x59cd7c[_0x3266('0x34')](_0x44731f,!0x0))return null;_0x59059a=_0x59059a[_0x3266('0xe8')](_0x59cd7c[_0x3266('0x13e')])?_0x59059a:_0x59cd7c[_0x3266('0x13e')],_0x576bef=_0x576bef['isAfter'](_0x59cd7c[_0x3266('0x174')])?_0x576bef:_0x59cd7c[_0x3266('0x174')],_0x4396f8?_0x59cd7c[_0x3266('0x13e')][_0x3266('0xe8')](_0x4396f8[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x4396f8[_0x3266('0x14b')](),_0x4396f8=_0x229e9d):_0x229e9d[_0x3266('0x14b')]():_0x4396f8=_0x229e9d;}const _0x4cb620=this['_model']['createRange'](_0x59059a,_0x576bef);if(_0x4396f8)this[_0x3266('0x1c')](_0x4396f8,_0x4cb620);else{const _0x24e76a=_0x30564f(),_0x4b4aa9=_0x34a543['id'];this[_0x3266('0x18')]({'id':_0x24e76a,'type':_0x3266('0x15a')+_0x21c1f0,'data':_0x1f109d,'createdAt':new Date(),'authorId':_0x4b4aa9,'attributes':_0x34352f}),this['_addSuggestionMarker'](_0x3266('0x15a')+_0x21c1f0,_0x24e76a,_0x4b4aa9,_0x4cb620);}}return null;}[_0x3266('0x133')](_0x5396ad,_0x23b3c1,_0x39ec74=[],_0x32e2d1=null,_0x1bb381={}){_0x23b3c1['formatGroupId']||(_0x23b3c1[_0x3266('0xb4')]=_0x23b3c1[_0x3266('0x8e')]),_0x23b3c1['multipleBlocks']=_0x5396ad['is'](_0x3266('0x29')),_0x32e2d1=_0x32e2d1||Rt(_0x23b3c1);const _0x122b21=_0x39ec74[_0x3266('0x152')](_0x504d12=>Ut(_0x504d12,this[_0x3266('0xf8')])),_0x358352=_0x5396ad['is'](_0x3266('0x29'))?_0x5396ad:Ut(_0x5396ad,this[_0x3266('0xf8')]);if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x42755c=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x42755c([_0x358352],_0x23b3c1,_0x1bb381)),null;}_0x122b21[_0x3266('0x9f')](_0x358352);let _0xc6d68=!0x0;for(const _0x57748f of _0x122b21)if(!this[_0x3266('0x12e')](_0x57748f)){_0xc6d68=!0x1;break;}if(_0xc6d68&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x44cac1=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x32e2d1,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x44cac1([_0x358352],_0x23b3c1,_0x1bb381)),null;}let _0xe787cc=null,_0x27960b=_0x358352[_0x3266('0x13e')],_0x589d04=_0x358352[_0x3266('0x174')];for(const {suggestion:_0x51c160,meta:_0x3a7111}of this['_findSuggestions'](_0x358352,_0x3266('0x110'))){if(!_0x3a7111['isOwn'])continue;if(_0x3a7111[_0x3266('0x13')]||_0x3a7111['containsRangeInObject']||_0x3a7111[_0x3266('0xd6')])continue;if(_0x51c160[_0x3266('0x30')][_0x3266('0xb4')]!=_0x23b3c1['formatGroupId'])continue;if(!Gt(_0x51c160,_0x1bb381))continue;const _0x5a6c2c=_0x51c160[_0x3266('0x147')]();if(_0x51c160[_0x3266('0x11d')]==_0x32e2d1){if(_0x5a6c2c[_0x3266('0x34')](_0x358352,!0x0))return null;_0x27960b=_0x27960b['isBefore'](_0x5a6c2c[_0x3266('0x13e')])?_0x27960b:_0x5a6c2c['start'],_0x589d04=_0x589d04[_0x3266('0x14d')](_0x5a6c2c[_0x3266('0x174')])?_0x589d04:_0x5a6c2c[_0x3266('0x174')],_0xe787cc?_0x5a6c2c[_0x3266('0x13e')][_0x3266('0xe8')](_0xe787cc[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0xe787cc[_0x3266('0x14b')](),_0xe787cc=_0x51c160):_0x51c160[_0x3266('0x14b')]():_0xe787cc=_0x51c160;}else{const _0x555ad0=_0x358352[_0x3266('0xec')](_0x5a6c2c);this['_cutOutSuggestionMarker'](_0x51c160,_0x555ad0);}}const _0x3dfd8b=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'],_0x4eff58=_0x30564f(),_0x247269=_0x3dfd8b['id'];if(_0xe787cc)return this[_0x3266('0x1c')](_0xe787cc,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0xe787cc;{const _0x1887e7=this[_0x3266('0x18')]({'id':_0x4eff58,'type':_0x3266('0x3d')+_0x32e2d1,'data':_0x23b3c1,'createdAt':new Date(),'authorId':_0x247269,'attributes':_0x1bb381});return this['_addSuggestionMarker'](_0x3266('0x3d')+_0x32e2d1,_0x4eff58,_0x247269,this[_0x3266('0xf8')][_0x3266('0x45')](_0x27960b,_0x589d04)),_0x1887e7;}}[_0x3266('0x128')](_0x374022,_0x1171da,_0x5d0527=[],_0x2af8e8=null,_0x397d5e={}){_0x1171da['formatGroupId']||(_0x1171da[_0x3266('0xb4')]=_0x1171da['commandName']);const _0x22a024=_0x374022[0x0];_0x1171da[_0x3266('0x14e')]=_0x22a024['is'](_0x3266('0x29')),_0x2af8e8=_0x2af8e8||Rt(_0x1171da);const _0x306a99=_0x5d0527[_0x3266('0x152')](_0x194c6c=>Ut(_0x194c6c,this[_0x3266('0xf8')])),_0x337eef=_0x22a024['is']('range')?_0x374022:_0x374022['map'](_0x2d53c0=>Ut(_0x2d53c0,this[_0x3266('0xf8')]));if(_0x3266('0xfd')===this[_0x3266('0x1')]){const _0x48e01d=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,'accept');return this[_0x3266('0x6c')](()=>_0x48e01d(_0x337eef,_0x1171da,_0x397d5e)),null;}_0x306a99[_0x3266('0x9f')](..._0x337eef);let _0xef0941=!0x0;for(const _0x3e331a of _0x306a99)if(!this[_0x3266('0x12e')](_0x3e331a)){_0xef0941=!0x1;break;}if(_0xef0941&&_0x3266('0xbc')!==this[_0x3266('0x1')]){const _0x158eb7=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x110'),_0x2af8e8,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x158eb7(_0x337eef,_0x1171da,_0x397d5e)),null;}const _0x3c828a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9'))['me'];for(const _0x281733 of this[_0x3266('0x4c')]()){if(_0x281733[_0x3266('0x36')]['id']!=_0x3c828a['id'])continue;if(_0x3266('0x110')!=_0x281733['type']||_0x281733[_0x3266('0x30')][_0x3266('0xb4')]!=_0x1171da['formatGroupId'])continue;if(!Gt(_0x281733,_0x397d5e))continue;const _0x19c0c2=_0x281733[_0x3266('0x11d')]==_0x2af8e8;for(let _0x5229bd=0x0;_0x5229bd<_0x337eef[_0x3266('0x9e')];_0x5229bd++){const _0x534ac4=_0x337eef[_0x5229bd];for(const _0x23939d of _0x281733[_0x3266('0x71')]()){const _0x49d6f5=_0x23939d[_0x3266('0xba')]();if(_0x534ac4[_0x3266('0x47')](_0x49d6f5)){_0x19c0c2?(_0x337eef[_0x3266('0x8f')](_0x5229bd,0x1),_0x5229bd--):_0x281733['removeMarker'](_0x23939d[_0x3266('0xa4')]);break;}}}}if(0x0==_0x337eef[_0x3266('0x9e')])return null;const _0x36e3cd=this[_0x3266('0x5a')]['getSuggestionCallback']('formatBlock',_0x2af8e8,'join');for(const _0x4de1d2 of this[_0x3266('0x4c')]())if(_0x4de1d2[_0x3266('0x36')]['id']==_0x3c828a['id']&&_0x3266('0x110')==_0x4de1d2[_0x3266('0x146')]&&_0x4de1d2[_0x3266('0x30')][_0x3266('0xb4')]==_0x1171da['formatGroupId']&&_0x4de1d2['subType']==_0x2af8e8&&Gt(_0x4de1d2,_0x397d5e)&&(_0x36e3cd(_0x4de1d2[_0x3266('0x54')](),_0x337eef)||_0x36e3cd(_0x337eef,_0x4de1d2[_0x3266('0x54')]()))){for(const _0x4b18d0 of _0x337eef)_0x4de1d2[_0x3266('0x15b')](_0x4b18d0);return _0x4de1d2;}const _0x329e6a=_0x30564f(),_0x1165cb=_0x3c828a['id'],_0x44fef8=_0x3266('0x3d')+_0x2af8e8,_0x294d52=this[_0x3266('0x18')]({'id':_0x329e6a,'type':_0x44fef8,'data':_0x1171da,'createdAt':new Date(),'authorId':_0x1165cb,'attributes':_0x397d5e});for(const _0x4ac03f of _0x337eef)this['_addSuggestionMarker'](_0x44fef8,_0x329e6a,_0x1165cb,_0x4ac03f,_0x3717a3[_0x3266('0xcf')]());return _0x294d52;}[_0x3266('0x16c')](_0x1630f9,_0xa85f69=null,_0x2ff659={}){if(_0x1630f9[_0x3266('0x16d')])return null;const _0x15269e=this['editor'][_0x3266('0xdb')]['get']('Users')['me'],_0xf034a6=new _0x15e6db(_0x1630f9[_0x3266('0x13e')],_0x1630f9[_0x3266('0x174')]);for(const {suggestion:_0xa17192,meta:_0x1bf6d9}of this['_findSuggestions'](_0xf034a6,_0x3266('0xe0')))if(_0x1bf6d9[_0x3266('0x158')]&&!_0x1bf6d9[_0x3266('0x13')]){if(_0xa17192[_0x3266('0x58')]){const _0x2c0e47=_0xa17192[_0x3266('0x54')]()[_0x3266('0x70')](_0x248146=>_0x3266('0xbd')!=_0x248146[_0x3266('0x117')]['rootName']);_0x2c0e47[_0x3266('0x179')](_0x2299c6=>_0xf034a6['containsRange'](_0x2299c6,!0x0))&&_0xa17192[_0x3266('0x8a')]();if(_0x2c0e47[_0x3266('0x94')](_0x56fdbb=>_0x56fdbb['containsRange'](_0xf034a6,!0x0))){const _0x274be0=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0xa85f69,'accept');return this[_0x3266('0x6c')](()=>_0x274be0([_0xf034a6],null,_0x2ff659)),null;}}else{const _0x593e71=_0xf034a6['getIntersection'](_0xa17192['getFirstRange']());null!==_0x593e71&&_0xa17192[_0x3266('0x7d')]([_0x593e71],null,_0x2ff659);}}if(_0xf034a6[_0x3266('0x69')](),_0xf034a6[_0x3266('0x16d')]||_0x3266('0xbd')==_0xf034a6['root'][_0x3266('0xeb')])return null;let _0x20f9d6=null,_0x5c269e=_0xf034a6[_0x3266('0x13e')],_0x299572=_0xf034a6['end'];const _0x49784f=this['_findSuggestions'](_0xf034a6,_0x3266('0x137'));for(const {suggestion:_0x2700c4,meta:_0x43d20f}of _0x49784f){const _0x18e74f=this[_0x3266('0xf8')][_0x3266('0x45')](_0x5c269e,_0x299572);if(_0x43d20f[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x43d20f[_0x3266('0xe')]&&!_0x43d20f[_0x3266('0xd6')])){if(_0x2700c4[_0x3266('0x58')]){if(!Gt(_0x2700c4,_0x2ff659))continue;let _0x52e3de=!0x0;for(const _0x2361d4 of _0x2700c4['getRanges']()){if(_0x2361d4[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;_0x18e74f[_0x3266('0x34')](_0x2361d4)||(_0x52e3de=!0x1);}_0x52e3de&&_0x2700c4[_0x3266('0x8a')]();}else{const _0x4950f0=_0x2700c4[_0x3266('0x147')]();if(_0x4950f0[_0x3266('0x34')](_0x18e74f,!0x0))return _0x2700c4;if(!Gt(_0x2700c4,_0x2ff659)){_0x18e74f[_0x3266('0x34')](_0x4950f0)?_0x2700c4[_0x3266('0x14b')]():_0x4950f0['containsPosition'](_0x5c269e)?_0x5c269e=_0x4950f0['end']:_0x4950f0[_0x3266('0x134')](_0x299572)&&(_0x299572=_0x4950f0['start']);continue;}_0x5c269e=_0x5c269e[_0x3266('0xe8')](_0x4950f0[_0x3266('0x13e')])?_0x5c269e:_0x4950f0[_0x3266('0x13e')],_0x299572=_0x299572[_0x3266('0x14d')](_0x4950f0['end'])?_0x299572:_0x4950f0[_0x3266('0x174')],_0x2ff659=Object[_0x3266('0xa7')]({},_0x2700c4[_0x3266('0x169')]),_0x20f9d6?_0x4950f0['start'][_0x3266('0xe8')](_0x20f9d6[_0x3266('0x147')]()[_0x3266('0x13e')])?(_0x20f9d6[_0x3266('0x14b')](),_0x20f9d6=_0x2700c4):_0x2700c4[_0x3266('0x14b')]():_0x20f9d6=_0x2700c4;}}}if(_0x20f9d6)return this[_0x3266('0x1c')](_0x20f9d6,this[_0x3266('0xf8')]['createRange'](_0x5c269e,_0x299572)),_0x20f9d6;{const _0x543abf=_0x30564f(),_0x6dfcca=this['_model'][_0x3266('0x45')](_0x5c269e,_0x299572),_0xbe194f=_0x15269e['id'],_0x577d46=_0xa85f69?_0x3266('0x104')+_0xa85f69:_0x3266('0x137'),_0x39b0d5=this[_0x3266('0x18')]({'id':_0x543abf,'type':_0x577d46,'createdAt':new Date(),'authorId':_0xbe194f,'attributes':_0x2ff659});return this['_addSuggestionMarker'](_0x577d46,_0x543abf,_0xbe194f,_0x6dfcca),_0x39b0d5;}}[_0x3266('0x141')](_0x380907,_0x39378f=_0x3266('0x74'),_0x1aac84={}){const _0x3bcf70=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('Users')['me'],_0xa85b9f=_0x380907[_0x3266('0x152')](_0x20ebbe=>new _0x15e6db(_0x20ebbe[_0x3266('0x13e')],_0x20ebbe[_0x3266('0x174')])),_0x54c5f9=new Set();for(const {suggestion:_0x3d7735,meta:_0x51ee75}of this[_0x3266('0x13f')](_0xa85b9f,_0x3266('0xe0')))_0x51ee75['isOwn']&&!_0x51ee75[_0x3266('0x13')]&&_0x54c5f9['add'](_0x3d7735);for(const _0x2a038b of _0x54c5f9)if(_0x2a038b[_0x3266('0x58')]){const _0x566cd4=_0x2a038b[_0x3266('0x54')]();(!_0x2a038b['attributes']||!_0x2a038b[_0x3266('0x169')]['skipNestingCheck'])&&(_0x566cd4[_0x3266('0x179')](_0x3c67f1=>_0xa85b9f['some'](_0x4345ad=>_0x4345ad[_0x3266('0x34')](_0x3c67f1,!0x0)))&&_0x2a038b[_0x3266('0x8a')]());if(_0xa85b9f[_0x3266('0x179')](_0x284067=>_0x566cd4[_0x3266('0x94')](_0x26e1c3=>_0x26e1c3[_0x3266('0x34')](_0x284067,!0x0)))){const _0x392aa2=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this[_0x3266('0x6c')](()=>_0x392aa2(_0x380907,null,_0x1aac84)),null;}}else{const _0x4284a2=_0x2a038b[_0x3266('0x147')]();_0xa85b9f['some'](_0x82cbf=>_0x82cbf[_0x3266('0x34')](_0x4284a2,!0x0))&&_0x2a038b[_0x3266('0x8a')]();if(_0xa85b9f[_0x3266('0x179')](_0xfea5cb=>_0x4284a2[_0x3266('0x34')](_0xfea5cb,!0x0))){const _0x5226e3=this['_suggestionFactory'][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x5f'));return this['forceDefaultExecution'](()=>_0x5226e3(_0xa85b9f,null,_0x1aac84)),null;}}const _0x1e8988=this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3266('0x137'),_0x39378f,_0x3266('0x88'));let _0x532b90=null;for(const _0x167314 of this[_0x3266('0x4c')]())if(_0x167314[_0x3266('0x36')]['id']==_0x3bcf70['id']&&_0x167314['isInContent']&&'deletion'==_0x167314[_0x3266('0x146')]&&_0x167314[_0x3266('0x11d')]==_0x39378f&&Gt(_0x167314,_0x1aac84)&&(_0x1e8988(_0x167314['getRanges'](),_0xa85b9f)||_0x1e8988(_0xa85b9f,_0x167314[_0x3266('0x54')]()))){if(_0x532b90){if(_0x167314[_0x3266('0x121')]&&_0x167314[_0x3266('0x121')][_0x3266('0x9e')])continue;for(const _0x3ec301 of _0x167314['getRanges']())_0x532b90[_0x3266('0x17c')](_0x3ec301)||_0x532b90[_0x3266('0x15b')](_0x3ec301);_0x167314[_0x3266('0x14b')]();}else{_0x532b90=_0x167314;for(const _0x47f1e3 of _0xa85b9f)_0x167314[_0x3266('0x17c')](_0x47f1e3)||_0x167314['addRange'](_0x47f1e3);}}if(_0x532b90)return _0x532b90;_0x54c5f9[_0x3266('0xd5')]();for(const {suggestion:_0x26b055,meta:_0x4151db}of this['_findSuggestions'](_0xa85b9f,_0x3266('0x137')))_0x4151db[_0x3266('0x158')]&&(this[_0x3266('0xfe')]||!_0x4151db[_0x3266('0xe')]&&!_0x4151db[_0x3266('0xd6')])&&Gt(_0x26b055,_0x1aac84)&&_0x54c5f9[_0x3266('0xf0')](_0x26b055);for(const _0x2fc529 of _0x54c5f9){const _0x3caba4=_0x2fc529['getRanges']();if(!_0x1aac84||!_0x1aac84['skipNestingCheck']){if(_0xa85b9f[_0x3266('0x179')](_0x274e0a=>_0x3caba4[_0x3266('0x94')](_0xf3e376=>_0xf3e376['containsRange'](_0x274e0a,!0x0))))return _0x2fc529;}(!_0x2fc529['attributes']||!_0x2fc529[_0x3266('0x169')][_0x3266('0xe6')])&&(_0x3caba4['every'](_0x50290a=>_0xa85b9f[_0x3266('0x94')](_0x177b61=>_0x177b61[_0x3266('0x34')](_0x50290a,!0x0)))&&_0x2fc529[_0x3266('0x8a')]());}const _0x4f0d7b=_0x30564f(),_0x25eeb8=_0x3bcf70['id'],_0x58aaeb=_0x3266('0x104')+_0x39378f,_0x4eaac8=this[_0x3266('0x18')]({'id':_0x4f0d7b,'type':_0x58aaeb,'createdAt':new Date(),'authorId':_0x25eeb8,'attributes':_0x1aac84});for(const _0x412cbd of _0xa85b9f)_0x412cbd['detach'](),_0x412cbd['isCollapsed']||_0x3266('0xbd')==_0x412cbd[_0x3266('0x117')][_0x3266('0xeb')]||this['_addSuggestionMarker'](_0x58aaeb,_0x4f0d7b,_0x25eeb8,_0x412cbd,_0x3717a3[_0x3266('0xcf')]());return _0x4eaac8;}[_0x3266('0x2e')](_0x336921,_0x2975a1,_0x5c9145,_0x1e6ee0,_0x57f364){if(_0x336921[_0x3266('0x16d')])return[];if('never'===this[_0x3266('0x1')])return[];const _0x4c49b6=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['me']['id'],_0x30d76c=Array[_0x3266('0xb3')](this[_0x3266('0x129')][_0x3266('0x16f')]())[_0x3266('0x70')](_0x469491=>_0x3266('0x48')==_0x469491['type']&&_0x469491[_0x3266('0x30')]['key']==_0x2975a1&&_0x469491[_0x3266('0x17c')](_0x336921));if(_0x3266('0x73')===this['_trackFormatChanges']){const _0x2f2690=this[_0x3266('0x13f')](_0x336921,_0x3266('0xe0'))[_0x3266('0x70')](({meta:_0x3249d8})=>_0x3249d8[_0x3266('0x158')]&&!_0x3249d8[_0x3266('0xd6')]&&!_0x3249d8['isNextTo'])[_0x3266('0x152')](({suggestion:_0x21eb3b})=>_0x21eb3b);_0x30d76c[_0x3266('0xd9')](..._0x2f2690);}const _0xf8b5b8=new Map([[_0x336921,_0x5c9145]]);for(const _0x40f7ef of _0x30d76c){const _0x5d41dd='attribute'==_0x40f7ef[_0x3266('0x146')]?_0x40f7ef['data'][_0x3266('0x15c')]:void 0x0,_0x44672c=_0x40f7ef[_0x3266('0x147')](),_0x50c862=Array[_0x3266('0xb3')](_0xf8b5b8['keys']())[_0x3266('0x13a')](_0x3b8996=>_0x3b8996[_0x3266('0x40')](_0x44672c));if(!_0x50c862)continue;const _0x4d6b52=_0x50c862[_0x3266('0x17a')](_0x44672c);this[_0x3266('0x98')](_0x2975a1)&&_0x3266('0xe0')==_0x40f7ef[_0x3266('0x146')]&&0x0!=_0x4d6b52[_0x3266('0x9e')]||(_0xf8b5b8['delete'](_0x50c862),_0x4d6b52[_0x3266('0xa8')](_0x2c2bf3=>{_0xf8b5b8[_0x3266('0x114')](_0x2c2bf3,_0x5c9145);}),_0x3266('0xe0')!=_0x40f7ef[_0x3266('0x146')]&&_0x5d41dd!=_0x1e6ee0&&_0xf8b5b8[_0x3266('0x114')](_0x50c862[_0x3266('0xec')](_0x44672c),_0x5d41dd));}const _0x4a2dbb=[];for(const [_0x2a9f85,_0x34c2c9]of _0xf8b5b8){const _0x25750a=_0x30564f(),_0x51bda4={'key':_0x2975a1,'oldValue':_0x34c2c9,'newValue':_0x1e6ee0};_0x2975a1[_0x3266('0x9e')]>0x25&&console['warn'](_0x3266('0x42'),{'key':_0x2975a1});const _0x1fd1dd=(_0x3266('0x5c')+(_0x2975a1+'|'+Rt({'newValue':_0x1e6ee0})))[_0x3266('0x25')](0x0,0x3c),_0x3e70a8=this[_0x3266('0x18')]({'id':_0x25750a,'type':_0x1fd1dd,'data':_0x51bda4,'createdAt':new Date(),'authorId':_0x4c49b6,'attributes':_0x57f364});_0x4a2dbb[_0x3266('0x9f')](_0x3e70a8),this['_addSuggestionMarker'](_0x1fd1dd,_0x25750a,_0x4c49b6,_0x2a9f85);}return _0x4a2dbb;}[_0x3266('0x181')](_0x4cdf8c){this[_0x3266('0x144')]['add'](_0x4cdf8c);}[_0x3266('0xc8')](_0x45ccb0){this['_inlineAttributeKeys']['add'](_0x45ccb0);}['_enableDefaultAttributesIntegration'](_0x584ff1,_0xe25d41=[],_0x3dfc26=[]){this[_0x3266('0xd4')](_0x584ff1,(_0x4cef72,..._0x88c3e3)=>{this[_0x3266('0xdd')](()=>{_0x4cef72(..._0x88c3e3);});});for(const _0x52bfb3 of _0xe25d41)this[_0x3266('0xc8')](_0x52bfb3);for(const _0x588f30 of _0x3dfc26)this['_registerBlockAttribute'](_0x588f30);}['_setSuggestionRange'](_0x2df796,_0x7ee15d){const _0x16f86b=_0x2df796[_0x3266('0x43')]();this[_0x3266('0xf8')][_0x3266('0x6d')](_0x3d2a4d=>{_0x3d2a4d[_0x3266('0xbb')](_0x16f86b,{'range':_0x7ee15d});});}[_0x3266('0xc1')](_0x5dbc28){const _0x28d29a=_0x5dbc28['id'],_0x1e6d81=this[_0x3266('0x1b')][_0x3266('0x12f')]['get']('collaboration.channelId');this[_0x3266('0x7')][_0x3266('0x148')](_0x28d29a)||this[_0x3266('0x7')][_0x3266('0xea')]({'channelId':_0x1e6d81,'threadId':_0x28d29a,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x56f886=this[_0x3266('0x7')][_0x3266('0x6a')](_0x28d29a);_0x56f886[_0x3266('0x55')]('isRemovable'),_0x56f886[_0x3266('0x60')]=!0x1,_0x5dbc28[_0x3266('0x121')]=_0x56f886;}[_0x3266('0x118')](_0x178efc,_0x27e21f,_0xc30a47,_0x2ef28a){if(_0x178efc['type']!=_0x27e21f||_0x178efc[_0x3266('0x11d')]!=_0xc30a47||_0x178efc['creator']['id']!=_0x2ef28a)throw this['editor']['enableReadOnlyMode'](_0x3266('0xb2')),new _0x1231ca(_0x3266('0xb2'),this);}[_0x3266('0x83')](_0xdacc4f,_0x392c1f){const _0x35d3c6=_0xdacc4f[_0x3266('0x147')]();if(_0x392c1f[_0x3266('0x47')](_0x35d3c6))_0xdacc4f[_0x3266('0x14b')]();else{if(_0x35d3c6[_0x3266('0x34')](_0x392c1f)){const _0x4ee129=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6['start'],_0x4ee129));const _0x319b72=_0x30564f(),_0x5bd9f5=_0xdacc4f[_0x3266('0x8d')]['id'],_0x51c949=_0xdacc4f['type']+':'+_0xdacc4f['subType'];this[_0x3266('0x18')]({'id':_0x319b72,'type':_0x51c949,'createdAt':new Date(),'authorId':_0x5bd9f5,'data':_0xdacc4f[_0x3266('0x30')],'attributes':_0xdacc4f['attributes']});const _0x54bfbb=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],'after'),_0x247f29=this['_model']['createRange'](_0x54bfbb,_0x35d3c6[_0x3266('0x174')]);this[_0x3266('0x79')](_0x51c949,_0x319b72,_0x5bd9f5,_0x247f29);}else{if(_0x35d3c6[_0x3266('0x134')](_0x392c1f[_0x3266('0x13e')])){const _0x1945af=this['_model'][_0x3266('0x61')](_0x392c1f[_0x3266('0x13e')][_0x3266('0xd2')],_0x3266('0x174'));this[_0x3266('0x1c')](_0xdacc4f,this[_0x3266('0xf8')][_0x3266('0x45')](_0x35d3c6[_0x3266('0x13e')],_0x1945af));}else{const _0x14a9e1=this[_0x3266('0xf8')][_0x3266('0x61')](_0x392c1f['end'][_0x3266('0x7b')],_0x3266('0x23'));this[_0x3266('0x1c')](_0xdacc4f,this['_model'][_0x3266('0x45')](_0x14a9e1,_0x35d3c6[_0x3266('0x174')]));}}}}[_0x3266('0x12e')](_0x169c9a){for(const {suggestion:_0x386d38,meta:_0x3f3d95}of this['_findSuggestions'](_0x169c9a,_0x3266('0xe0'))){if(!_0x3f3d95[_0x3266('0x158')])continue;const _0x51c831=_0x386d38['getRanges']();for(const _0x332e05 of _0x51c831)if(!_0x169c9a[_0x3266('0x17a')](_0x332e05)[_0x3266('0x9e')])return!0x0;}return!0x1;}[_0x3266('0x85')](_0x5dcf79){const _0x46e41f=this[_0x3266('0x1b')]['plugins'][_0x3266('0x13b')](_0x3266('0xb9'))['getUser'](_0x5dcf79);if(!_0x46e41f)throw new _0x1231ca(_0x3266('0x123'),this);return _0x46e41f;}['_getExternalAuthor'](_0x382348){const _0x13dc16=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0xb9')),_0x9a35c1=_0x2cbd9a(_0x3266('0xd8')+_0x382348),_0x33c742=_0x13dc16['getUser'](_0x9a35c1);return _0x33c742||_0x13dc16[_0x3266('0x2c')]({'id':_0x9a35c1,'name':_0x382348});}[_0x3266('0x92')](_0x303c7c,_0x286589,_0x550a9e,_0x12ea10,_0x52f2a6){const _0x1a75c8=this[_0x3266('0x85')](_0x12ea10),_0x177b01=this[_0x3266('0x5a')][_0x3266('0xf1')](_0x303c7c,_0x286589,_0x550a9e,_0x1a75c8,_0x52f2a6,_0x4de18e=>this[_0x3266('0x6e')](_0x550a9e,{'attributes':_0x4de18e}));return this[_0x3266('0x3c')](_0x177b01,_0x3266('0x5f'),()=>{this['_updateSuggestionData'](_0x550a9e,{'state':_0x3266('0x1e')});},{'priority':'high'}),this[_0x3266('0x3c')](_0x177b01,_0x3266('0x8a'),()=>{this[_0x3266('0x6e')](_0x550a9e,{'state':_0x3266('0x12b')});},{'priority':_0x3266('0xad')}),this[_0x3266('0x129')]['set'](_0x550a9e,_0x177b01),this[_0x3266('0x49')][_0x3266('0x114')](_0x177b01,_0x3266('0x11c')),_0x177b01;}[_0x3266('0x51')](_0x4e3285){const _0x3ac940=_0x4e3285['split'](':');return{'group':_0x3ac940[0x0],'type':_0x3ac940[0x1],'subType':_0x3ac940[_0x3266('0x9e')]>=0x5?_0x3ac940[0x2]:null,'id':_0x3ac940['length']<0x5?_0x3ac940[0x2]:_0x3ac940[0x3],'authorId':_0x3ac940[_0x3266('0x9e')]<0x5?_0x3ac940[0x3]:_0x3ac940[0x4],'markerCount':0x6==_0x3ac940['length']?_0x3ac940[0x5]:null};}['_breakSuggestionMarker'](_0x375a94,_0x19adba,_0x53dfbd){const _0x71fa3b=_0x375a94['getFirstRange'](),_0x262032=_0x71fa3b['start'],_0x1236c2=_0x71fa3b['end'];this[_0x3266('0x1c')](_0x375a94,this[_0x3266('0xf8')]['createRange'](_0x262032,_0x19adba));const _0x5a7415=_0x30564f(),_0x300579=_0x375a94[_0x3266('0x8d')]['id'],_0x5e8a2b=_0x375a94[_0x3266('0x146')]+(_0x375a94[_0x3266('0x11d')]?':'+_0x375a94[_0x3266('0x11d')]:'');this['_setSuggestionData']({'id':_0x5a7415,'type':_0x5e8a2b,'createdAt':new Date(),'authorId':_0x300579,'originalSuggestionId':_0x375a94['id'],'attributes':_0x375a94['attributes'],'data':_0x375a94['data']});const _0x14f5bf=Pt(_0x375a94);(_0x3266('0x110')==_0x375a94[_0x3266('0x146')]||_0x14f5bf&&this[_0x3266('0x98')](_0x14f5bf))&&(_0x53dfbd=this[_0x3266('0xf8')][_0x3266('0x162')](_0x53dfbd[_0x3266('0x7b')])),this[_0x3266('0x79')](_0x5e8a2b,_0x5a7415,_0x300579,this[_0x3266('0xf8')][_0x3266('0x45')](_0x53dfbd,_0x1236c2));}[_0x3266('0x13f')](_0x4aa4d8,_0x168fb7=null){const _0x4c37b1=[],_0x52aeb8=this[_0x3266('0x1b')][_0x3266('0xdb')]['get'](_0x3266('0xb9'))['me'];Array[_0x3266('0xff')](_0x4aa4d8)||(_0x4aa4d8=[_0x4aa4d8]);for(const _0x5b9755 of this[_0x3266('0x4c')]()){if(!_0x5b9755[_0x3266('0x130')])continue;if(_0x168fb7&&_0x5b9755[_0x3266('0x146')]!=_0x168fb7)continue;let _0x2a36b7=!0x1;for(const _0x17da6a of _0x5b9755[_0x3266('0x54')]()){for(const _0x576ef1 of _0x4aa4d8){const _0x4519ca=_0x576ef1['start'][_0x3266('0x47')](_0x17da6a[_0x3266('0x174')])||_0x576ef1[_0x3266('0x174')][_0x3266('0x47')](_0x17da6a['start']);if(_0x4519ca||_0x576ef1['getIntersection'](_0x17da6a)){const _0x3fd191=_0x576ef1['containsRange'](_0x17da6a)&&Tt(this['_model'][_0x3266('0xc3')],_0x17da6a[_0x3266('0x13e')],_0x576ef1),_0x303d06=_0x17da6a['containsRange'](_0x576ef1)&&Tt(this[_0x3266('0xf8')]['schema'],_0x576ef1[_0x3266('0x13e')],_0x17da6a);_0x4c37b1['push']({'suggestion':_0x5b9755,'meta':{'isOwn':_0x52aeb8==_0x5b9755['author'],'isNextTo':_0x4519ca,'isInsideObject':_0x3fd191,'containsRangeInObject':_0x303d06}}),_0x2a36b7=!0x0;break;}}if(_0x2a36b7)break;}}return _0x4c37b1;}[_0x3266('0x79')](_0x7b864f,_0x4e01f6,_0x1972d8,_0x473eb2,_0x319290){this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2e2b5f=>{let _0x22332d=_0x3266('0x16')+_0x7b864f+':'+_0x4e01f6+':'+_0x1972d8;_0x319290&&(_0x22332d=_0x22332d+':'+_0x319290),_0x2e2b5f[_0x3266('0x28')](_0x22332d,{'range':_0x473eb2,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x16b7b9){const _0x11818b=_0x16b7b9[_0x3266('0xaf')],_0x9d6265=_0x16b7b9[_0x3266('0x68')];_0x16b7b9['previous']=null,_0x16b7b9[_0x3266('0x68')]=null,null!=_0x11818b&&(_0x11818b[_0x3266('0x68')]=_0x9d6265),null!=_0x9d6265&&(_0x9d6265['previous']=_0x11818b),_0x3266('0xa5')==this['_suggestionState'][_0x3266('0x13b')](_0x16b7b9)&&(this[_0x3266('0x49')]['set'](_0x16b7b9,_0x3266('0x12a')),this[_0x3266('0x17e')](_0x3266('0x91'),_0x16b7b9,_0x11818b,_0x9d6265));}[_0x3266('0x18')](_0x54f64c){const _0x4e97aa=_0x54f64c['id'],_0x58707a=this[_0x3266('0x44')](_0x54f64c);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x1f')]){const _0x4c13c4=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')]('PendingActions'),_0x381c5c=_0x58707a['hasComments'],_0x5c0037=_0x58707a[_0x3266('0x11d')]?_0x58707a['type']+':'+_0x58707a[_0x3266('0x11d')]:_0x58707a['type'],_0x489770=this[_0x3266('0x1b')]['locale'],_0x57bfe9=_0x4c13c4[_0x3266('0xf0')](_0x5cb1d5(_0x489770,_0x3266('0x113'))),_0x168fc8={'id':_0x4e97aa,'type':_0x5c0037,'hasComments':_0x381c5c,'data':_0x54f64c[_0x3266('0x30')]||null,'originalSuggestionId':_0x54f64c[_0x3266('0x78')]||null,'attributes':_0x58707a['attributes']};this['_adapter'][_0x3266('0x1f')](_0x168fc8)[_0x3266('0x163')](_0x126fde=>{_0x58707a[_0x3266('0xc0')]=!0x0,_0x4c13c4['remove'](_0x57bfe9),_0x126fde&&_0x126fde[_0x3266('0x5e')]&&(this[_0x3266('0x129')][_0x3266('0x13b')](_0x4e97aa)[_0x3266('0x5e')]=_0x126fde[_0x3266('0x5e')]);})[_0x3266('0x136')](_0x5c0c21=>{throw _0x4cde5f(_0x3266('0xed')),this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x105')]({'isUndoable':!0x1},()=>{_0x58707a[_0x3266('0x8a')]();}),_0x58707a['stopListening'](),this['_suggestions'][_0x3266('0x4f')](_0x58707a['id']),this[_0x3266('0x49')][_0x3266('0x4f')](_0x58707a),_0x5c0c21;});}return _0x58707a;}[_0x3266('0x98')](_0x25cabd){return this[_0x3266('0x144')]['has'](_0x25cabd);}[_0x3266('0x6e')](_0x10a933,_0x1a4b8b){const _0x5c2e3a=this[_0x3266('0x1b')][_0x3266('0xdb')][_0x3266('0x13b')](_0x3266('0x9c')),_0x5f2fe3=this[_0x3266('0x154')](_0x10a933);if(this[_0x3266('0x15e')]&&this[_0x3266('0x15e')][_0x3266('0x86')]){if(_0x5f2fe3[_0x3266('0xc0')]){const _0x22095f=_0x5c2e3a['add'](_0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3266('0x113')));this[_0x3266('0x15e')][_0x3266('0x86')](_0x10a933,_0x1a4b8b)['then'](()=>{_0x5c2e3a[_0x3266('0x156')](_0x22095f);});}else _0x5f2fe3['on'](_0x3266('0x24'),()=>{this[_0x3266('0x6e')](_0x10a933,_0x1a4b8b);});}}[_0x3266('0x65')](_0x2e774e){if(!this[_0x3266('0x15e')]||!this[_0x3266('0x15e')][_0x3266('0x154')])throw new _0x1231ca(_0x3266('0x13d'),this);return this[_0x3266('0x15e')][_0x3266('0x154')](_0x2e774e);}[_0x3266('0x96')](_0x2128ef){const {id:_0x19b964,type:_0x162479,subType:_0x42f847,authorId:_0x50a77f}=this[_0x3266('0x51')](_0x2128ef),_0x2aff7a=this[_0x3266('0x129')][_0x3266('0x13b')](_0x19b964)||this[_0x3266('0x92')](_0x162479,_0x42f847,_0x19b964,_0x50a77f,{});switch(this[_0x3266('0x118')](_0x2aff7a,_0x162479,_0x42f847,_0x50a77f),this[_0x3266('0x49')][_0x3266('0x13b')](_0x2aff7a)){case _0x3266('0x11c'):this['_getSuggestionData'](_0x19b964)[_0x3266('0x163')](_0x5eb20e=>{let _0x54346f=Promise[_0x3266('0x127')]();_0x5eb20e[_0x3266('0x173')]&&(_0x54346f=this[_0x3266('0x7')][_0x3266('0x2d')]({'channelId':this['editor'][_0x3266('0x12f')][_0x3266('0x13b')](_0x3266('0x175')),'threadId':_0x19b964})),_0x54346f[_0x3266('0x163')](()=>{this['addSuggestionData'](_0x5eb20e)[_0x3266('0xc0')]=!0x0;});}),this[_0x3266('0x49')][_0x3266('0x114')](_0x2aff7a,_0x3266('0xde'));break;case _0x3266('0x12a'):this[_0x3266('0x6e')](_0x19b964,{'state':_0x3266('0x20')});case'dataReady':this['_suggestionState'][_0x3266('0x114')](_0x2aff7a,_0x3266('0xa5')),this['fire'](_0x3266('0x67'),_0x2aff7a);break;case _0x3266('0xa5'):this[_0x3266('0x17e')](_0x3266('0xb5'),_0x2aff7a);}return _0x2aff7a[_0x3266('0x125')](_0x2128ef),_0x2aff7a;}[_0x3266('0xa0')](_0x37fb6c){const _0x43e5ce=Array[_0x3266('0xb3')](_0x37fb6c),_0x408d5f=_0x43e5ce[_0x3266('0x70')](_0x492ee0=>_0x3266('0x48')==_0x492ee0[_0x3266('0x146')]);this[_0x3266('0x9d')](_0x408d5f);const _0x2d3906=_0x43e5ce[_0x3266('0x70')](_0x3cee3b=>!_0x3cee3b[_0x3266('0x58')]&&_0x3266('0x48')!=_0x3cee3b[_0x3266('0x146')]),_0x402142=this['getSuggestions']({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x14b58a=>!_0x14b58a[_0x3266('0x58')]&&'attribute'!=_0x14b58a['type']),_0x48f884=_0x402142[_0x3266('0x70')](_0x3408a6=>!_0x37fb6c[_0x3266('0xb8')](_0x3408a6)),_0x38b6d2=new Map(_0x402142[_0x3266('0x152')](_0x186322=>[_0x186322,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x186322[_0x3266('0x146')],_0x186322[_0x3266('0x11d')],_0x3266('0x63'))])),_0x46bfef=new Map(_0x402142[_0x3266('0x152')](_0xa0074b=>[_0xa0074b,_0xa0074b[_0x3266('0x147')]()])),_0x5e3a7d=new Set(),_0x3e20cd=new Set();for(let _0x4a8518=0x0;_0x4a8518<_0x2d3906[_0x3266('0x9e')];_0x4a8518++)_0x400995(_0x2d3906[_0x4a8518],_0x2d3906,_0x4a8518+0x1);for(let _0x13ec07=0x0;_0x13ec07<_0x2d3906[_0x3266('0x9e')];_0x13ec07++)_0x400995(_0x2d3906[_0x13ec07],_0x48f884,0x0);const _0x414130=new Set();for(let _0xb37627=0x0;_0xb37627<_0x2d3906[_0x3266('0x9e')];_0xb37627++){const _0xc41a6d=_0x2d3906[_0xb37627];!_0x3e20cd[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0xaf')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0xaf')]),_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0xaf')][_0x3266('0x68')]=null),_0xc41a6d[_0x3266('0xaf')]=null),!_0x5e3a7d[_0x3266('0xb8')](_0xc41a6d)&&_0xc41a6d[_0x3266('0x68')]&&(_0x414130[_0x3266('0xf0')](_0xc41a6d[_0x3266('0x68')]),_0xc41a6d['next'][_0x3266('0xaf')]===_0xc41a6d&&(_0xc41a6d[_0x3266('0x68')][_0x3266('0xaf')]=null),_0xc41a6d[_0x3266('0x68')]=null);}function _0x400995(_0x48a24d,_0x1dbc7a,_0x533308){for(let _0x572739=_0x533308;_0x572739<_0x1dbc7a[_0x3266('0x9e')];_0x572739++){const _0x184f37=_0x40aae7(_0x48a24d,_0x1dbc7a[_0x572739]);_0x184f37&&(_0x184f37[0x0][_0x3266('0x68')]=_0x184f37[0x1],_0x184f37[0x1][_0x3266('0xaf')]=_0x184f37[0x0],_0x5e3a7d[_0x3266('0xf0')](_0x184f37[0x0]),_0x3e20cd[_0x3266('0xf0')](_0x184f37[0x1]));}}function _0x40aae7(_0x518bae,_0x427ffe){if(_0x518bae[_0x3266('0x36')]['id']!==_0x427ffe[_0x3266('0x36')]['id'])return null;const _0x18cc3c=_0x38b6d2['get'](_0x518bae)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe));if(!_0x18cc3c)return null;return _0x38b6d2[_0x3266('0x13b')](_0x427ffe)(_0x518bae,_0x427ffe,_0x46bfef[_0x3266('0x13b')](_0x518bae),_0x46bfef[_0x3266('0x13b')](_0x427ffe))?_0x18cc3c[0x1]['commentThread']&&_0x18cc3c[0x1][_0x3266('0x121')][_0x3266('0x9e')]?null:_0x18cc3c:null;}_0x414130[_0x3266('0xaa')]&&this['_refreshSuggestionsChain'](_0x414130);}[_0x3266('0x9d')](_0x39bb2a){if(0x0==_0x39bb2a[_0x3266('0x9e')])return;const _0x42b803=this[_0x3266('0x4c')]({'skipNotAttached':!0x0})[_0x3266('0x70')](_0x265278=>_0x3266('0x48')==_0x265278[_0x3266('0x146')]&&_0x265278[_0x3266('0x131')]),_0xc0398f=[],_0x134977=new Map();for(const _0x3c4bba of _0x42b803){const _0x149335=_0x2cbd9a(_0x3c4bba[_0x3266('0x169')]);_0x134977['has'](_0x149335)||(_0x134977[_0x3266('0x114')](_0x149335,_0xc0398f[_0x3266('0x9e')]),_0xc0398f[_0x3266('0x9f')]([]));const _0x22edeb=_0x134977[_0x3266('0x13b')](_0x149335);_0xc0398f[_0x22edeb][_0x3266('0x9f')](_0x3c4bba);}!function(){_0xc0398f['sort']((_0x16fa84,_0x5e5e8b)=>{const _0x35703e=_0x16fa84[0x0][_0x3266('0x5e')],_0x1da668=_0x5e5e8b[0x0][_0x3266('0x5e')];return _0x35703e==_0x1da668?_0x16fa84[0x0][_0x3266('0x169')][_0x3266('0x135')]<_0x5e5e8b[0x0][_0x3266('0x169')]['groupId']?-0x1:0x1:_0x35703e<_0x1da668?-0x1:0x1;});for(const _0x2b75f6 of _0xc0398f)_0x2b75f6[_0x3266('0x7a')]((_0x79d8dd,_0x5b1d9e)=>_0x79d8dd['id']<_0x5b1d9e['id']?-0x1:0x1);}();for(let _0xcd485a=0x0;_0xcd485a<_0xc0398f['length'];_0xcd485a++){if(0x0==_0xc0398f[_0xcd485a][_0x3266('0x9e')])continue;const _0x331b1c=[];for(let _0x31f0e2=_0xcd485a+0x1;_0x31f0e2<_0xc0398f[_0x3266('0x9e')];_0x31f0e2++)0x0!=_0xc0398f[_0x31f0e2][_0x3266('0x9e')]&&_0x5dcd18(_0xc0398f[_0xcd485a],_0xc0398f[_0x31f0e2])&&_0x331b1c[_0x3266('0x9f')](_0x31f0e2);for(const _0x1626ba of _0x331b1c)_0xc0398f[_0xcd485a]=_0xc0398f[_0xcd485a][_0x3266('0x9')](_0xc0398f[_0x1626ba]),_0xc0398f[_0x1626ba]=[];}for(const _0x24949a of _0xc0398f)for(let _0x4f8ae7=0x0;_0x4f8ae7<_0x24949a[_0x3266('0x9e')];_0x4f8ae7++)_0x24949a[_0x4f8ae7]['next']=_0x24949a[_0x4f8ae7+0x1]||null;for(const _0x3feb0c of _0xc0398f)for(let _0x895e33=0x0;_0x895e33<_0x3feb0c[_0x3266('0x9e')];_0x895e33++)_0x3feb0c[_0x895e33][_0x3266('0xaf')]=_0x3feb0c[_0x895e33-0x1]||null;function _0x5dcd18(_0x4201bb,_0x4eb32e){if(_0x4201bb[0x0][_0x3266('0x36')]!==_0x4eb32e[0x0][_0x3266('0x36')])return!0x1;if(!function(_0x1a76d9,_0x58fe7d){if(!_0x1a76d9[_0x3266('0x173')]&&!_0x58fe7d['hasComments'])return!0x0;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x173')])return!0x1;if(_0x1a76d9[_0x3266('0x173')]&&_0x58fe7d[_0x3266('0x5e')]<_0x1a76d9[_0x3266('0x121')][_0x3266('0x151')][_0x3266('0x13b')](0x0)['createdAt'])return!0x0;if(_0x58fe7d[_0x3266('0x173')]&&_0x1a76d9[_0x3266('0x5e')]<_0x58fe7d[_0x3266('0x121')]['comments'][_0x3266('0x13b')](0x0)[_0x3266('0x5e')])return!0x0;return!0x1;}(_0x4201bb[0x0],_0x4eb32e[0x0]))return!0x1;const _0x494235=_0x41db8e(_0x4201bb[0x0][_0x3266('0x169')],_0x3266('0x135')),_0x4958fa=_0x41db8e(_0x4eb32e[0x0][_0x3266('0x169')],'groupId');if(!_0x828a1b(_0x494235,_0x4958fa))return!0x1;return!!_0x4201bb['every'](_0x2391a4=>_0x4eb32e[_0x3266('0x94')](_0x144ad4=>_0x2391a4['getFirstRange']()[_0x3266('0x47')](_0x144ad4[_0x3266('0x147')]())))&&_0x4eb32e[_0x3266('0x179')](_0x6bb26=>_0x4201bb[_0x3266('0x94')](_0x20549a=>_0x6bb26[_0x3266('0x147')]()['isEqual'](_0x20549a['getFirstRange']())));}}[_0x3266('0x140')](_0x3183bb){const _0x519c04=Array['from'](_0x3183bb),_0x503d1d=this[_0x3266('0x4c')]({'skipNotAttached':!0x0}),_0x2e5e35=_0x503d1d[_0x3266('0x70')](_0x48e7ce=>!_0x3183bb[_0x3266('0xb8')](_0x48e7ce)),_0xf1f24=new Map(_0x519c04[_0x3266('0x152')](_0x3564f8=>[_0x3564f8,this[_0x3266('0x5a')][_0x3266('0x16a')](_0x3564f8[_0x3266('0x146')],_0x3564f8['subType'],_0x3266('0x88'))])),_0x272958=new Map(_0x503d1d[_0x3266('0x152')](_0x18c179=>[_0x18c179,_0x18c179[_0x3266('0x54')]()]));for(let _0x5c834d=0x0;_0x5c834d<_0x519c04['length'];_0x5c834d++){if(_0x3d31cf(this,_0x519c04[_0x5c834d],_0x519c04,_0x5c834d+0x1))return!0x0;}for(let _0x456b52=0x0;_0x456b52<_0x519c04['length'];_0x456b52++){if(_0x3d31cf(this,_0x519c04[_0x456b52],_0x2e5e35,0x0))return!0x0;}return!0x1;function _0x3d31cf(_0x3bcbbf,_0x391f59,_0x30c9e,_0x29c388){for(let _0x224e94=_0x29c388;_0x224e94<_0x30c9e[_0x3266('0x9e')];_0x224e94++){const _0x3cd3dd=_0x30c9e[_0x224e94];if(_0x3cd3dd[_0x3266('0x146')]!==_0x391f59[_0x3266('0x146')]||_0x3cd3dd[_0x3266('0x36')]['id']!==_0x391f59[_0x3266('0x36')]['id']||_0x3cd3dd[_0x3266('0x11d')]!==_0x391f59[_0x3266('0x11d')])continue;if(!Vt(_0x391f59,_0x3cd3dd))continue;if('attribute'==_0x391f59[_0x3266('0x146')]&&_0x391f59[_0x3266('0x30')]['oldValue']!=_0x3cd3dd[_0x3266('0x30')][_0x3266('0x15c')])continue;if(_0x3266('0x48')==_0x391f59['type']&&_0x3bcbbf[_0x3266('0x98')](_0x391f59[_0x3266('0x30')]['key']))continue;if('formatBlock'==_0x391f59[_0x3266('0x146')]){const _0x567b00=_0x3bcbbf[_0x3266('0x1b')][_0x3266('0x10f')],_0x1ed3a4=_0x391f59[_0x3266('0x10d')]();if(_0x1ed3a4&&(_0x567b00[_0x3266('0xc3')]['isObject'](_0x1ed3a4)||_0x567b00[_0x3266('0xc3')][_0x3266('0xe3')](_0x1ed3a4)))continue;}const _0x59a852=_0xf1f24['get'](_0x391f59),_0x2621e7=_0x272958[_0x3266('0x13b')](_0x391f59),_0x3316d9=_0x272958[_0x3266('0x13b')](_0x3cd3dd),_0x4d0f81=_0x391f59[_0x3266('0x121')]&&_0x391f59[_0x3266('0x121')][_0x3266('0x9e')],_0x2fb510=_0x3cd3dd[_0x3266('0x121')]&&_0x3cd3dd[_0x3266('0x121')][_0x3266('0x9e')];if(!_0x4d0f81&&_0x59a852(_0x3316d9,_0x2621e7))return _0x3bcbbf[_0x3266('0x59')](_0x3cd3dd,_0x391f59),_0x272958[_0x3266('0x4f')](_0x391f59),!0x0;if(!_0x2fb510&&_0x59a852(_0x2621e7,_0x3316d9))return _0x3bcbbf[_0x3266('0x59')](_0x391f59,_0x3cd3dd),_0x272958[_0x3266('0x4f')](_0x3cd3dd),!0x0;}return!0x1;}}[_0x3266('0x59')](_0x576a04,_0x3e3c3b){if(_0x576a04[_0x3266('0x58')])for(const _0xbba762 of _0x3e3c3b['getRanges']())_0x576a04[_0x3266('0x15b')](_0xbba762);else{const _0x4f4d47=_0x3e3c3b[_0x3266('0x147')]()[_0x3266('0x174')];this[_0x3266('0x1c')](_0x576a04,this[_0x3266('0xf8')][_0x3266('0x45')](_0x576a04[_0x3266('0x147')]()['start'],_0x4f4d47));}_0x3e3c3b[_0x3266('0x14b')]();}[_0x3266('0xfb')](_0xe2556c,_0x3b41d6){const _0x58e38e=_0xe2556c['startsWith'](_0x3266('0x64'))||_0xe2556c['startsWith']('attribute')?_0x3266('0x111'):_0xe2556c[_0x3266('0x7e')]();return _0x5cb1d5(this[_0x3266('0x1b')][_0x3266('0x35')],_0x3b41d6+'_'+_0x58e38e+_0x3266('0xe2'));}[_0x3266('0x102')](){const _0x407a43=this[_0x3266('0x1b')];_0x196bcb(this[_0x3266('0xf8')],({left:_0x145f8d,entered:_0x1ba512})=>{const _0x388709=[];for(const _0x49af69 of _0x145f8d){const {group:_0x54f2fc,type:_0x5c7366}=this['_splitMarkerName'](_0x49af69[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x54f2fc){_0x388709['push'](this[_0x3266('0xfb')](_0x5c7366,'LEAVE'));break;}}for(const _0x346c5c of _0x1ba512){const {group:_0x15841a,type:_0x9ddac0}=this[_0x3266('0x51')](_0x346c5c[_0x3266('0xa4')]);if(_0x3266('0xb1')===_0x15841a){_0x388709[_0x3266('0x9f')](this['_getMarkerAnnouncementText'](_0x9ddac0,_0x3266('0x172')));break;}}_0x388709['length']&&_0x407a43['ui'][_0x3266('0xca')][_0x3266('0x115')](_0x3266('0x39'),_0x388709[_0x3266('0x88')]('\x20'));});}[_0x3266('0xcb')](_0x241e22){if(null!==this[_0x3266('0x1d')])return!0x1;const _0x62250b=this[_0x3266('0x1b')],_0x52f7be=_0x62250b[_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0xd1')]();if(0x0==_0x52f7be[_0x3266('0x9e')])return!0x1;const _0x4c51d8=[],_0x1a61aa=_0x52f7be[_0x3266('0x70')](_0x5ed2e2=>_0x3266('0x48')==_0x5ed2e2[_0x3266('0x146')]),_0x452903=_0x52f7be[_0x3266('0x70')](_0x2c4c6e=>'insert'==_0x2c4c6e[_0x3266('0x146')]&&_0x3266('0x27')!=_0x2c4c6e['name']),_0x19bfec=_0x52f7be[_0x3266('0x70')](_0x525d46=>_0x3266('0x156')==_0x525d46['type']&&_0x3266('0x27')!=_0x525d46[_0x3266('0xa4')]);for(const _0x1b199c of _0x1a61aa)_0x4c51d8[_0x3266('0x9f')]({'key':_0x1b199c['attributeKey'],'newValue':_0x1b199c[_0x3266('0x53')],'oldValue':_0x1b199c[_0x3266('0x161')],'range':_0x14da60(_0x1b199c['range'])});for(const _0x61daa5 of _0x452903){const _0x4b981a=_0x19bfec[_0x3266('0x13a')](_0xc92d8d=>_0xc92d8d[_0x3266('0x2b')][_0x3266('0x47')](_0x61daa5[_0x3266('0x2b')]));_0x4b981a&&_0x4c51d8[_0x3266('0x9f')]({'key':_0x3266('0x17d'),'newValue':_0x61daa5[_0x3266('0xa4')],'oldValue':_0x4b981a[_0x3266('0xa4')],'range':_0x62250b[_0x3266('0x10f')]['createRangeOn'](_0x61daa5[_0x3266('0x2b')][_0x3266('0x107')])});}return 0x0!=_0x4c51d8[_0x3266('0x9e')]&&this['_reduceExistingSuggestions'](_0x241e22,_0x4c51d8);function _0x14da60(_0x5b98e6){return null==_0x5b98e6[_0x3266('0x174')]['nodeBefore']&&_0x5b98e6[_0x3266('0x174')][_0x3266('0x7b')]==_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')]?Ut(_0x5b98e6[_0x3266('0x13e')][_0x3266('0x107')],_0x62250b[_0x3266('0x10f')]):_0x5b98e6;}}[_0x3266('0x3f')](_0x19d23f){let _0x5bb19e=!0x1;const _0x29b5c1=this[_0x3266('0x1b')][_0x3266('0x10f')][_0x3266('0x38')]['differ'][_0x3266('0x132')]()[_0x3266('0x70')](_0x3eea36=>_0x3eea36[_0x3266('0x30')][_0x3266('0x12d')]&&_0x3eea36[_0x3266('0xa4')]['startsWith'](_0x3266('0xcd')));for(const _0x4854e9 of _0x29b5c1){const {subType:_0x86dd70,id:_0x5835ae}=this[_0x3266('0x51')](_0x4854e9[_0x3266('0xa4')]),_0x26dc44=_0x86dd70['split']('|')[0x0];for(const _0x2447a7 of this[_0x3266('0x4c')]({'skipNotAttached':!0x0}))_0x2447a7['id']!=_0x5835ae&&'attribute'==_0x2447a7[_0x3266('0x146')]&&_0x2447a7[_0x3266('0x30')]&&_0x2447a7[_0x3266('0x30')][_0x3266('0x6')]==_0x26dc44&&_0x2447a7[_0x3266('0x147')]()[_0x3266('0x40')](_0x4854e9[_0x3266('0x30')]['newRange'])&&(this[_0x3266('0x3e')](_0x2447a7,_0x4854e9['data'][_0x3266('0x12d')],_0x19d23f),_0x5bb19e=!0x0);}return _0x5bb19e;}[_0x3266('0xdd')](_0x557f28){if(null!==this['_recordAttributeSuggestionsFromVersion'])return void _0x557f28();const _0x1d6829=this[_0x3266('0x1b')];this[_0x3266('0x1d')]=_0x1d6829[_0x3266('0x10f')][_0x3266('0x38')][_0x3266('0x12c')],_0x557f28();const _0x503d98=new Map();for(const _0x5ae3ba of _0x1d6829[_0x3266('0x10f')]['document']['history'][_0x3266('0x106')](this[_0x3266('0x1d')]))if([_0x3266('0x170'),_0x3266('0x157'),'removeAttribute',_0x3266('0x10')][_0x3266('0xc6')](_0x5ae3ba[_0x3266('0x146')])){const _0x3fa5e1=_0x5ae3ba[_0x3266('0x9b')],_0x386363=_0x503d98[_0x3266('0x13b')](_0x3fa5e1)||[];_0x386363[_0x3266('0x9f')](_0x5ae3ba),_0x503d98['set'](_0x3fa5e1,_0x386363);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x203609,_0x33e53f]of _0x503d98){const _0x1f7da0=_0x30564f();_0x1d6829[_0x3266('0x10f')][_0x3266('0x105')](_0x203609,_0x42c00c=>{const _0x42fd3f=[];for(const _0x3fc5e0 of _0x33e53f){let _0x24f798,_0xdeea35,_0x47194b,_0x588fb1;if(_0x3266('0x170')==_0x3fc5e0[_0x3266('0x146')]){const _0x36d5bc=_0x3fc5e0;_0x24f798=Ut(_0x36d5bc[_0x3266('0x2b')][_0x3266('0x107')],_0x1d6829[_0x3266('0x10f')]),_0xdeea35=_0x3266('0x17d'),_0x47194b=_0x36d5bc[_0x3266('0x5')],_0x588fb1=_0x36d5bc[_0x3266('0xe1')];}else{const _0x549fea=_0x3fc5e0,_0x2a042d=this[_0x3266('0x98')](_0x549fea[_0x3266('0x6')]),_0x245882=this[_0x3266('0x2f')][_0x3266('0xb8')](_0x549fea[_0x3266('0x6')]);if(!_0x2a042d&&!_0x245882)continue;_0x24f798=_0x2a042d?Ut(_0x549fea[_0x3266('0x29')][_0x3266('0x13e')]['nodeAfter'],_0x1d6829['model']):_0x549fea[_0x3266('0x29')],_0xdeea35=_0x549fea['key'],_0x47194b=_0x3266('0x46')==_0x3fc5e0[_0x3266('0x146')]?void 0x0:_0x549fea[_0x3266('0x97')],_0x588fb1=_0x549fea[_0x3266('0x15c')];}this[_0x3266('0x2e')](_0x24f798,_0xdeea35,_0x588fb1,_0x47194b,{'groupId':_0x1f7da0}),_0x42fd3f['push']({'range':_0x24f798,'key':_0xdeea35,'newValue':_0x47194b,'oldValue':_0x588fb1});}this[_0x3266('0x160')](_0x42c00c,_0x42fd3f);});}}[_0x3266('0x160')](_0xbb4069,_0x32b7a9){if(0x0==_0x32b7a9[_0x3266('0x9e')])return!0x1;let _0x5f0c30=!0x1;for(const _0x28a0ac of _0x32b7a9){const _0x30166c=this[_0x3266('0x13f')](_0x28a0ac['range'],_0x3266('0x48'))[_0x3266('0x70')](_0x32a368=>!_0x32a368['meta'][_0x3266('0x13')])[_0x3266('0x152')](_0x4cd65b=>_0x4cd65b[_0x3266('0xb1')]),_0x5b361e=_0x2cbd9a({'newValue':_0x28a0ac[_0x3266('0x97')]});_0x30166c[_0x3266('0x70')](_0x4f7a74=>{const [_0x39bd30,_0x1b1d42]=_0x4f7a74[_0x3266('0x11d')]['split']('|');return _0x39bd30==_0x28a0ac[_0x3266('0x6')]&&_0x1b1d42!=_0x5b361e;})[_0x3266('0xa8')](_0x394aca=>{this['_reduceSuggestionAttributeRange'](_0x394aca,_0x28a0ac[_0x3266('0x29')],_0xbb4069),_0x5f0c30=!0x0;});}return _0x5f0c30;}[_0x3266('0x3e')](_0x39cd75,_0x23918d,_0x1b8cbf){const _0x50a7c0=_0x39cd75['getFirstRange']()[_0x3266('0x17a')](_0x23918d);0x0!==_0x50a7c0[_0x3266('0x9e')]?0x1!==_0x50a7c0[_0x3266('0x9e')]?this[_0x3266('0x10a')](_0x39cd75,_0x23918d['start'],_0x23918d[_0x3266('0x174')]):this[_0x3266('0x1c')](_0x39cd75,_0x50a7c0[0x0]):_0x1b8cbf[_0x3266('0x149')](_0x39cd75['getFirstMarker']());}}class Bt{constructor(_0x58926e){this['_editor']=_0x58926e,this['_model']=_0x58926e['model'],this[_0x3266('0x167')]=new Map(),this[_0x3266('0x171')]=new Map(),this[_0x3266('0xcc')]();}[_0x3266('0xf1')](_0x3fad47,_0x362e07,_0x5b1299,_0x4d84e1,_0x3d9f25,_0x46d76e){return new _0x3717a3(this[_0x3266('0xf8')],{'type':_0x3fad47,'subType':_0x362e07,'id':_0x5b1299,'author':_0x4d84e1,'creator':_0x4d84e1,'attributes':_0x3d9f25,'onAttributesChange':_0x46d76e,'onAccept':(..._0x55f535)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x5f'))(..._0x55f535),'onDiscard':(..._0x39ec17)=>this[_0x3266('0x16a')](_0x3fad47,_0x362e07,_0x3266('0x8a'))(..._0x39ec17)});}[_0x3266('0xf')](_0x477c01,_0x53c1bd,_0x315ad4,_0x6c1b03){const _0x2fc82f=_0x477c01+':'+_0x53c1bd+':'+_0x315ad4;this['_customCallbacks']['set'](_0x2fc82f,_0x6c1b03);}[_0x3266('0x16a')](_0x235657,_0x1f7e80,_0x2ee8e4){const _0x3c287d=_0x235657+':'+_0x1f7e80+':'+_0x2ee8e4;return this[_0x3266('0x167')]['get'](_0x3c287d)||this['_defaultCallbacks'][_0x3266('0x13b')](_0x235657+':'+_0x2ee8e4);}[_0x3266('0xcc')](){const _0x3ee9af=()=>!0x1,_0x3ec7e7=_0x4da65a=>{_0x4da65a[_0x3266('0x7a')]((_0x35676f,_0x2ba425)=>_0x35676f[_0x3266('0x13e')][_0x3266('0xe8')](_0x2ba425[_0x3266('0x13e')])?0x1:-0x1),this[_0x3266('0xf8')][_0x3266('0x6d')](_0x2f6226=>{for(const _0x46f459 of _0x4da65a){let _0x2d9579;_0x2d9579=_0x46f459[_0x3266('0x174')][_0x3266('0x120')]&&_0x46f459[_0x3266('0x174')][_0x3266('0x7b')]==_0x46f459[_0x3266('0x13e')][_0x3266('0x107')]?_0x2f6226['createSelection'](_0x46f459[_0x3266('0x13e')][_0x3266('0x107')],'on'):_0x2f6226[_0x3266('0x72')](_0x46f459),this[_0x3266('0xf8')]['deleteContent'](_0x2d9579,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x617a13=(_0x3cd051,_0x8c2bdc)=>{_0x8c2bdc&&this['_model'][_0x3266('0x6d')](_0x17ac1d=>{const {commandName:_0x2f7421,commandParams:_0x25a2d1=[]}=_0x8c2bdc,_0xd097b8=_0x3cd051['map'](_0x46801b=>(xt(_0x46801b)&&(_0x46801b=this[_0x3266('0xf8')][_0x3266('0x45')](_0x46801b[_0x3266('0x174')])),_0x46801b))[_0x3266('0x70')](_0x83ce37=>'$graveyard'!==_0x83ce37[_0x3266('0x117')][_0x3266('0xeb')]);if(_0xd097b8[_0x3266('0x9e')]<0x1)return;const _0x58caf7=Array[_0x3266('0xb3')](this['_model'][_0x3266('0x38')][_0x3266('0x4e')][_0x3266('0x54')]())[_0x3266('0x152')](_0x5839a5=>_0x15e6db[_0x3266('0x142')](_0x5839a5));_0x17ac1d['setSelection'](_0xd097b8);for(const _0x3f66a4 of this[_0x3266('0x4')][_0x3266('0xac')][_0x3266('0xac')]())_0x3f66a4[_0x3266('0x4a')]();_0x25a2d1[_0x3266('0x9f')]({'forceDefaultExecution':!0x0}),this[_0x3266('0x4')][_0x3266('0x3')](_0x2f7421,..._0x25a2d1);const _0x5ed341=_0x58caf7[_0x3266('0x70')](_0x3ab810=>_0x3266('0xbd')!=_0x3ab810[_0x3266('0x117')][_0x3266('0xeb')]);_0x5ed341[_0x3266('0x9e')]>0x0&&_0x17ac1d[_0x3266('0x13c')](_0x5ed341);for(const _0x4a8f00 of _0x58caf7)_0x4a8f00[_0x3266('0x69')]();});},_0x1714f7=(_0x1bb6bd,_0x351235)=>0x1==_0x1bb6bd[_0x3266('0x9e')]&&0x1==_0x351235[_0x3266('0x9e')]&&_0x1bb6bd[0x0][_0x3266('0x174')][_0x3266('0x47')](_0x351235[0x0][_0x3266('0x13e')]),_0x17b2ce=(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8)=>Ot(_0x4e03c2,_0xb95d8b,_0x1bd132,_0x2e4aa8,this[_0x3266('0xf8')])?[_0x4e03c2,_0xb95d8b]:Ot(_0xb95d8b,_0x4e03c2,_0x2e4aa8,_0x1bd132,this[_0x3266('0xf8')])?[_0xb95d8b,_0x4e03c2]:null;this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x22'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x122'),_0x3ec7e7),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0xa9'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x17f'),_0x17b2ce),this[_0x3266('0x171')]['set'](_0x3266('0x112'),_0x3ec7e7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x178'),_0x3ee9af),this['_defaultCallbacks'][_0x3266('0x114')]('deletion:join',_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x11f'),_0x17b2ce),this['_defaultCallbacks']['set'](_0x3266('0x126'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x103'),_0x3ee9af),this[_0x3266('0x171')]['set'](_0x3266('0x17'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0xc4'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x62'),_0x617a13),this['_defaultCallbacks'][_0x3266('0x114')](_0x3266('0x139'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x26'),_0x1714f7),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x9a'),_0x3ee9af),this[_0x3266('0x171')][_0x3266('0x114')](_0x3266('0x145'),_0x3ee9af),this[_0x3266('0x171')]['set']('attribute:discard',(_0x52cada,_0x4ed84f)=>{if(!_0x4ed84f)return;const _0x36f77b=this[_0x3266('0x4')][_0x3266('0xdb')]['get'](p);this[_0x3266('0xf8')][_0x3266('0x6d')](_0x1806f8=>{if('$elementName'==_0x4ed84f[_0x3266('0x6')])for(const _0x8c741e of _0x52cada){const _0x2cdf2f=_0x8c741e[_0x3266('0x13e')][_0x3266('0x107')],_0x10e3cd=_0x4ed84f['oldValue'];_0x1806f8[_0x3266('0x170')](_0x2cdf2f,_0x10e3cd);}else{if(_0x36f77b[_0x3266('0x98')](_0x4ed84f['key']))for(const _0x48226a of _0x52cada)void 0x0!==_0x4ed84f[_0x3266('0x15c')]?_0x1806f8['setAttribute'](_0x4ed84f[_0x3266('0x6')],_0x4ed84f[_0x3266('0x15c')],_0x48226a['start'][_0x3266('0x107')]):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x48226a[_0x3266('0x13e')]['nodeAfter']);else for(const _0x5d04d5 of _0x52cada)_0x4ed84f[_0x3266('0x15c')]?_0x1806f8[_0x3266('0x168')](_0x4ed84f[_0x3266('0x6')],_0x4ed84f['oldValue'],_0x5d04d5):_0x1806f8[_0x3266('0x46')](_0x4ed84f[_0x3266('0x6')],_0x5d04d5);}});}),this['_defaultCallbacks'][_0x3266('0x114')]('attribute:join',_0x1714f7);}}function Tt(_0x255211,_0x1b8a60,_0x3aa7eb){for(const _0x54cbdf of _0x1b8a60[_0x3266('0x7b')][_0x3266('0x57')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x54cbdf[_0x3266('0x117')]==_0x54cbdf)return!0x1;if(!_0x3aa7eb[_0x3266('0xbf')](_0x54cbdf))return!0x1;if(_0x255211[_0x3266('0x10b')](_0x54cbdf)||_0x255211[_0x3266('0xe3')](_0x54cbdf))return!0x0;}return!0x1;}function xt(_0x324960){return _0x324960[_0x3266('0x174')][_0x3266('0x7b')]==_0x324960['start']['nodeAfter']&&_0x324960[_0x3266('0x174')][_0x3266('0xe7')];}function Et(_0x3292be,_0xe23dd4,_0x265dc8,_0x368338){const _0x7b72d7=_0x3fad15=>!_0x3fad15['item']['is'](_0x3266('0x6f'))&&!_0x368338['isObject'](_0x3fad15[_0x3266('0x3a')]),_0x4c2937=_0x3292be['start'][_0x3266('0xf5')](_0x7b72d7),_0x2de816=_0x3292be[_0x3266('0x174')][_0x3266('0xf5')](_0x7b72d7,{'direction':_0x3266('0xe5')});return(!_0x3292be[_0x3266('0x13e')]['isEqual'](_0x4c2937)||!_0x3292be[_0x3266('0x174')][_0x3266('0x47')](_0x2de816))&&(_0x4c2937['isBefore'](_0x2de816)?_0x265dc8[_0x3266('0xbb')](_0xe23dd4,{'range':_0x265dc8['createRange'](_0x4c2937,_0x2de816)}):_0x265dc8[_0x3266('0x149')](_0xe23dd4),!0x0);}function Rt(_0x201861){return _0x2cbd9a(_0x201861);}function jt(_0x3fb337){const _0x3ce0a7=_0x3fb337[_0x3266('0x13e')][_0x3266('0x107')];return _0x3ce0a7&&_0x3ce0a7['is'](_0x3266('0x164'));}function Ut(_0x4425b4,_0x41f3ca){const _0x8eeb3d=_0x41f3ca[_0x3266('0xc3')][_0x3266('0x10b')](_0x4425b4)||_0x41f3ca['schema'][_0x3266('0x56')](_0x4425b4);return _0x41f3ca[_0x3266('0x45')](_0x41f3ca[_0x3266('0x61')](_0x4425b4,'before'),_0x8eeb3d?_0x41f3ca[_0x3266('0x108')](_0x4425b4):_0x41f3ca[_0x3266('0x61')](_0x4425b4,_0x3266('0x174')));}function Ot(_0x380481,_0x4701a9,_0x5793b0,_0x400c81,_0x43c260){if(!Vt(_0x380481,_0x4701a9))return!0x1;if(_0x5793b0[_0x3266('0x174')][_0x3266('0x47')](_0x400c81[_0x3266('0x13e')]))return!0x0;if(_0x380481['type']!=_0x4701a9[_0x3266('0x146')])return!0x1;if(!_0x5793b0[_0x3266('0x174')][_0x3266('0xfa')](_0x400c81[_0x3266('0x13e')]))return!0x1;const _0x39ebdd=_0x43c260[_0x3266('0x45')](_0x5793b0[_0x3266('0x174')],_0x400c81[_0x3266('0x13e')])[_0x3266('0x11b')]();for(const _0x209162 of _0x39ebdd)if(['elementStart',_0x3266('0x165')][_0x3266('0xc6')](_0x209162[_0x3266('0x146')])&&_0x43c260[_0x3266('0xc3')][_0x3266('0xe3')](_0x209162[_0x3266('0x3a')]))return!0x1;return!0x0;}function Vt(_0x73c8aa,_0x3e8158){return!(!_0x73c8aa['_isDataLoaded']||!_0x3e8158[_0x3266('0x131')])&&_0x828a1b(_0x73c8aa[_0x3266('0x169')],_0x3e8158[_0x3266('0x169')]);}function Gt(_0x41e303,_0x1175cf){const _0x5c4e06=Ft(_0x41e303['attributes']),_0x19ce58=Ft(_0x1175cf);if(!_0x41e303['_isDataLoaded'])return!0x1;for(const _0x465432 of Object[_0x3266('0xc2')](_0x19ce58))if(!_0x828a1b(_0x5c4e06[_0x465432],_0x19ce58[_0x465432]))return!0x1;return!0x0;}function Ft(_0x597160){const _0x56f3ea=Object[_0x3266('0xa7')]({},_0x597160);return delete _0x56f3ea[_0x3266('0xe6')],delete _0x56f3ea[_0x3266('0x31')],_0x56f3ea;}function Pt(_0x286ac0){return'attribute'==_0x286ac0['type']?_0x286ac0[_0x3266('0x11d')][_0x3266('0x99')]('|')[0x0]:null;}
23
+ const _0x816e=['model','getItems','forward','isObject','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.','createPositionBefore','removeComment','ck-suggestion-marker-','skipNestingCheck','createdAt','_inlineAttributeKeys','isAfter','collaboration.channelId','$graveyard','_blockAttributeKeys','isArray','_registerInlineAttribute','hasComments','batch','$text','showSuggestionHighlights','selection','end','split','_breakSuggestionMarker','requires','howMany','_suggestions','track-changes-enable-command-twice','delete','removeMarkers','_recordAttributeChanges','substr','buildSuggestion','writer','nodeBefore','isSelectable','head','_removeSuggestion','marker-count','track-changes-adapter-missing-getsuggestion','concat','keys','$textProxy','getWalker','getContainedElement','_setSuggestionData','getCustomProperty','markerReady','never','track-changes-suggestion-data-mismatch','_enableDefaultAttributesIntegration','attribute:discard','_findSuggestions','registerPostFixer','consume','track-changes-adapter-already-set','newRange','item','_splitMarkerName','createRange','creator','options','map','_getExternalAuthor','ck-suggestion-marker-formatBlock','_onDiscard','getSuggestion','_commentsRepository','discardSelectedSuggestions','createSelection','formatBlock','authoredAt','insertion:','formatBlock:','some','always','stopListening','_recordAttributeSuggestionsFromVersion','notReady','_defaultCallbacks','addSuggestion','getAncestors','default','isInContent','range','createPositionAt','getFirstMarker','trackChanges','insertion:accept','newValue','isOwn','isAtStart','getMultiRangeId','suggestion:','_createSuggestion','splice','dataToMarker','rethrowUnexpectedError','getChangedMarkers','acceptAllSuggestions','change:activeMarkers','isIntersectingWithRange','insertContent','sort','formatInline:accept','then','attribute:accept','deleteContent','_SUGGESTION_ANNOUNCEMENT','detach','track-changes-command-not-found','formatBlock:join','addCommentThread','error-saving-suggestion-data-suggestion-discarded','enqueueChange','formatBlock:chain','_cutOutSuggestionMarker','push','lowest','accept','_descriptionFactory','locale','find','removeMarker','change','_addSuggestionMarker','isCollapsed','before','nodeAfter','ck-suggestion-marker-formatInline','values','format','data','isLimit','bindElementToMarker','getSuggestionCallback','_isForcedDefaultExecutionBlock','get','_reduceSuggestionAttributeRange','suggestion-type','addSuggestionData','startsWith','getAllAdjacentSuggestions','chain','multi','markDeletion','markerNameToElements','getFirstRange','pluginName','isTouching','length','splitPosition','trackChanges.mergeNestedSuggestions','markMultiRangeDeletion','dataReady','discard','getIntersection','fire','removeClass','acceptSelectedSuggestions','getUser','addMarker:suggestion','unbind','substring','move','activeMarkers','updateMarker','key','author','previous','insertion','insertion:discard','isRemovable','_refreshSuggestionsChain','from','createElement','includes','formatBlock:accept','document','markMultiRangeInsertion','conversion','getSuggestions','size','getAttribute','_customCallbacks','config','containsRangeInObject','backward','formatInline:join','rootName','enableReadOnlyMode','discardAllSuggestions','getNearestSelectionRange','deletion:chain','isBlock','trackChangesCommand','parent','addAttribute','markBlockFormat','isAtEnd','getDifference','_trackFormatChanges','assign','_registerBlockAttribute','_checkSuggestionCorrectness','trackChanges.trackFormatChanges','fetchCommentThread','attributeKey','_editor','PendingActions','_getAuthorFromId','createPositionAfter','_suggestionState','isBefore','containsRange','getLastMatchingPosition','commands','_isBlockAttribute','change:data','addClass','_refreshAttributeSuggestionsChain','_mergeNestedSuggestions','isIntersecting','getRange','setAttribute','getCommentThread','deletion','subType','hasCommentThread','oldRange','markInlineFormat','markMultiRangeBlockFormat','comments','isEqual','insert','isLocal','originalSuggestionId','consumable','unbindElementFromMarkerName','_adapter','discardSuggestion','removeMarker:suggestion:attribute','groupId','multipleBlocks','_rangeIsInLocalUserInsertion','schema','FORMATTING','remove','toViewElement','value','_handleNewSuggestionMarker','ready','type','low','markInsertion','suggestion','markAttributeChange','isNextTo','toJSON','isExternal','ENTER','getRanges','getShiftedBy','return','root','getOperations','Users','set','after','next','suggestionUnloaded','tablePasteChainId','_reduceExistingSuggestions','addHighlight','add','CommentsRepository','ck-suggestion-marker','markers','formatBlock:discard','_updateSuggestionData','setSelection','stop','editingDowncast','_model','attributeOldValue','_getSuggestionData','newName','authorName','_getMarkerAnnouncementText','updateSuggestion','join','_addThreadToSuggestion','targetPosition','isDocumentOperation','data-suggestion','removeAttribute','markerToHighlight','_processAttributeSuggestions','containerElement','upcast','formatInline','_joinSuggestions','position','elementEnd','enableCommand','ck-suggestion-marker--active','track-changes-suggestion-not-found','editing','addRange','attributes','addMarker:suggestion:formatBlock','isInsideObject','deletion:accept','_joinWithAdjacentSuggestions','unshift','differ','init','pop','forceDefaultExecution','$marker','markerName','start','rejected','_suggestionFactory','formatGroupId','for','_saved','define','suggestionLoaded','attributeNewValue','has','createRangeOn','filter','editor','$elementName','adapter','TrackChangesEditing','high','oldValue','element','_registerDefaultCallbacks','every','_setSuggestionRange','containsPosition','getMarkers','clear','_enabledCommands','acceptSuggestion','_initAriaMarkerChangeAnnouncements','name','deletion:join','deletion:','addUser','commentThread','dataDowncast','addMarkerName','highest','plugins','formatInline:','mapper','execute','attribute','getChanges','listenTo','ariaLiveAnnouncer','isMultiRange','_isDataLoaded','track-changes-user-not-found','commandName','forEach','_processAttributeChanges','rename','documentSelection','PENDING_ACTION_SUGGESTION','widget'];(function(_0x31938d,_0x816e08){const _0x506774=function(_0x1acfca){while(--_0x1acfca){_0x31938d['push'](_0x31938d['shift']());}};_0x506774(++_0x816e08);}(_0x816e,0x134));const _0x5067=function(_0x31938d,_0x816e08){_0x31938d=_0x31938d-0x0;let _0x506774=_0x816e[_0x31938d];return _0x506774;};import{Plugin as _0x2dcb3e,PendingActions as _0x2ad348}from'ckeditor5/src/core';import{LiveRange as _0x108700}from'ckeditor5/src/engine';import{CKEditorError as _0x4a14e0,uid as _0x4f1cad,priorities as _0x1d101f,logWarning as _0x1665dd}from'ckeditor5/src/utils';import{toWidget as _0x3fe84d}from'ckeditor5/src/widget';import{Users as _0x323eaf,hashObject as _0x3e3341,surroundingMarkersDetector as _0x24ed9b}from'ckeditor5-collaboration/src/collaboration-core';import _0xa1f896 from'./commands/trackchangescommand';import _0x30bd07 from'./commands/acceptsuggestioncommand';import _0x19a51d from'./commands/discardsuggestioncommand';import _0x26923f from'./commands/executeonallsuggestionscommand';import _0x1324cb from'./commands/executeonselectedsuggestionscommand';import _0x1629a3 from'./suggestion';import _0x2cd0af from'./suggestiondescriptionfactory';import _0x2cd2b9 from'./integrations/aiassistant';import _0x544704 from'./integrations/alignment';import _0x4f74e8 from'./integrations/basicstyles';import _0x34d6ca from'./integrations/blockquote';import _0x41e513 from'./integrations/ckbox';import _0x3f7d9f from'./integrations/codeblock';import _0x17d7e0 from'./integrations/comments';import _0x1c50f4 from'./integrations/deletecommand';import _0x4b4def from'./integrations/documentlist';import _0x117722 from'./integrations/documentlistproperties';import _0x2431f4 from'./integrations/entercommand';import _0x326b74 from'./integrations/findandreplace';import _0x219377 from'./integrations/font';import _0x2e3878 from'./integrations/formatpainter';import _0x4329cd from'./integrations/heading';import _0xd874e from'./integrations/highlight';import _0xb9ffc8 from'./integrations/horizontalline';import _0x3b4be2 from'./integrations/htmlembed';import _0x2de0c7 from'./integrations/image';import _0x3b525e from'./integrations/imagereplace';import _0x3ab62f from'./integrations/imagestyle';import _0x27df30 from'./integrations/importword';import _0x2b4063 from'./integrations/indent';import _0xe7bcab from'./integrations/inputcommand';import _0x2f4b8e from'./integrations/link';import _0x50a31b from'./integrations/list';import _0x163106 from'./integrations/listproperties';import _0x2d315a from'./integrations/mediaembed';import _0x77283c from'./integrations/mention';import _0x14fc81 from'./integrations/pagebreak';import _0x1382a8 from'./integrations/paragraph';import _0x43d1e6 from'./integrations/removeformat';import _0x429846 from'./integrations/restrictededitingmode';import _0x11cd46 from'./integrations/shiftentercommand';import _0x5c22ba from'./integrations/standardeditingmode';import _0x46bd9f from'./integrations/style';import _0x30e708 from'./integrations/table';import _0x3cb0e4 from'./integrations/tablemergesplit';import _0x5b6d9c from'./integrations/tableheadings';import _0x39664d from'./integrations/tableclipboard';import _0x217dbf from'./integrations/tablecolumnresize';import _0x28bbe1 from'./integrations/template';import _0x4b81b5 from'./integrations/tableofcontents';import _0x42f37d from'./integrations/title';import _0x2605f2 from'./integrations/undo';import _0x2eac60 from'./integrations/tablecaption';import _0x10eabd from'./integrations/tableproperties';import{getTranslation as _0x2de78a}from'./utils/common-translations';import{isEqual as _0x3875c5,omit as _0x358d9a}from'lodash-es';export const renameAttributeKey=_0x5067('0x1b');export default class p extends _0x2dcb3e{static get[_0x5067('0x5d')](){return[_0x5067('0x158'),_0x323eaf,_0x2ad348,_0x2cd2b9,_0x544704,_0x4f74e8,_0x34d6ca,_0x41e513,_0x3f7d9f,_0x17d7e0,_0x1c50f4,_0x4b4def,_0x117722,_0x2431f4,_0x326b74,_0x219377,_0x2e3878,_0x4329cd,_0xd874e,_0xb9ffc8,_0x3b4be2,_0x2de0c7,_0x3ab62f,_0x3b525e,_0x27df30,_0x2b4063,_0xe7bcab,_0x2f4b8e,_0x50a31b,_0x163106,_0x2d315a,_0x77283c,_0x14fc81,_0x1382a8,_0x43d1e6,_0x429846,_0x11cd46,_0x5c22ba,_0x46bd9f,_0x30e708,_0x3cb0e4,_0x5b6d9c,_0x2eac60,_0x39664d,_0x217dbf,_0x4b81b5,_0x10eabd,_0x28bbe1,_0x42f37d,_0x2605f2];}static get[_0x5067('0xd9')](){return _0x5067('0x1d');}constructor(_0x9a82ed){function _0x46b718(_0x6566d8){return _0x6566d8['map'](_0x498193=>String['fromCharCode'](_0x498193))[_0x5067('0x167')]('');}super(_0x9a82ed),this[_0x5067('0x92')]=null,this[_0x5067('0x150')](_0x5067('0xea'),[]),this['on'](_0x5067('0xa9'),(_0x59f6fd,_0x3d2ae5,_0xb158c9,_0x4d09ea)=>{this[_0x5067('0x160')]['change'](()=>{for(const _0x30f8fd of[..._0x4d09ea,..._0xb158c9])this[_0x5067('0x160')]['markers'][_0x5067('0x17')](_0x30f8fd)&&_0x9a82ed[_0x5067('0x0')]['reconvertMarker'](_0x30f8fd);});}),this[_0x5067('0xbd')]=new _0x2cd0af(this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0x13a')],this[_0x5067('0x1a')][_0x5067('0xbe')]),this['_adapter']=null,this[_0x5067('0x10')]=new Bt(this[_0x5067('0x1a')]),this[_0x5067('0x5f')]=new Map(),this[_0x5067('0x88')]=_0x9a82ed[_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x158')),this[_0x5067('0x27')]=new Set(),this['_model']=this['editor'][_0x5067('0x44')],this[_0x5067('0x119')]=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,this[_0x5067('0x52')]=new Set([_0x5067('0x1b')]),this[_0x5067('0x4e')]=new Set(),_0x9a82ed[_0x5067('0xfe')][_0x5067('0x14')](_0x5067('0x112'),'default'),this[_0x5067('0x10e')]=_0x9a82ed[_0x5067('0xfe')]['get'](_0x5067('0x112')),_0x9a82ed[_0x5067('0xfe')][_0x5067('0x14')](_0x5067('0xdd'),!0x0),this['_mergeNestedSuggestions']=_0x9a82ed[_0x5067('0xfe')][_0x5067('0xce')](_0x5067('0xdd')),this[_0x5067('0x108')]=new _0xa1f896(_0x9a82ed,this[_0x5067('0x27')]),this[_0x5067('0x29')](),this[_0x46b718([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])]=_0x46b718([0x34,0x30,0x34,0x36,0x32,0x34,0x31,0x32]);}[_0x5067('0x9')](){const _0x425a89=this['editor'],_0x34faac=(_0x7c94ec,_0x4f8ff8)=>{if('attribute'!=_0x7c94ec)return _0x5067('0x4b')+_0x7c94ec;const _0x5dd52a=_0x4f8ff8[_0x5067('0x5b')]('|')[0x0];return this[_0x5067('0x11e')](_0x5dd52a)?'ck-suggestion-marker-formatBlock':_0x5067('0xc6');};_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))[_0x5067('0x16d')]({'model':_0x5067('0x144'),'view':_0x1e0738=>{const {id:_0x4ce38a,type:_0x4371c2,subType:_0x126ea4}=this[_0x5067('0x7f')](_0x1e0738[_0x5067('0xd')]),_0x2ed8fb=['ck-suggestion-marker',_0x34faac(_0x4371c2,_0x126ea4)];let _0x1704bc=0xbb8;return this[_0x5067('0xea')][_0x5067('0xf5')](_0x1e0738[_0x5067('0xd')])&&(_0x2ed8fb[_0x5067('0xba')](_0x5067('0x176')),_0x1704bc=0xbc2),_0x5067('0x127')==_0x4371c2&&(_0x1704bc+=0x5),{'classes':_0x2ed8fb,'attributes':{'data-suggestion':_0x4ce38a},'priority':_0x1704bc};}}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x2f'))[_0x5067('0x157')](_0x47bcc0=>{_0x47bcc0['on'](_0x5067('0xe6'),(_0x5913da,_0x3f30af,_0x57200f)=>{if(!_0x57200f[_0x5067('0x82')][_0x5067('0x58')])return;const _0x31977a=_0x3f30af[_0x5067('0x7e')];if(!_0x31977a)return;const _0x30dedb=_0x57200f[_0x5067('0x34')]['toViewElement'](_0x31977a);_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x47')](_0x31977a)&&_0x30dedb&&!_0x30dedb[_0x5067('0x73')](_0x5067('0x43'))&&_0x30dedb['is'](_0x5067('0x16f'))&&_0x3fe84d(_0x30dedb,_0x57200f[_0x5067('0x66')]);},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('dataDowncast')['markerToHighlight']({'model':_0x5067('0x144'),'view':(_0x5a405c,_0x2060fb)=>{if(!_0x2060fb[_0x5067('0x82')][_0x5067('0x58')])return null;const {type:_0x4df264,subType:_0x35cafd}=this[_0x5067('0x7f')](_0x5a405c[_0x5067('0xd')]);return{'classes':[_0x5067('0x159'),_0x34faac(_0x4df264,_0x35cafd)],'priority':0xbb8};}});const _0xd0016c=({showActiveMarkers:_0xc316ee=!0x0,isAttributeSuggestion:_0x53b6b9=!0x1}={})=>(_0x4ae895,_0x422631,_0x40edc6)=>{if(!_0x422631[_0x5067('0x7e')])return;const {id:_0x4bb831}=this['_splitMarkerName'](_0x422631[_0x5067('0xd')]);if(_0x53b6b9){const _0x3d34=Pt(this[_0x5067('0x5f')][_0x5067('0xce')](_0x4bb831));if(!this[_0x5067('0x11e')](_0x3d34))return;}if(_0x422631[_0x5067('0x7e')]['is'](_0x5067('0x59')))return void _0x40edc6[_0x5067('0x132')][_0x5067('0x7b')](_0x422631[_0x5067('0x7e')],_0x4ae895[_0x5067('0x2a')]);const _0x906b4=_0x40edc6[_0x5067('0x34')][_0x5067('0x13d')](_0x422631[_0x5067('0x7e')]);if(_0x422631[_0x5067('0x7e')]['is'](_0x5067('0x20'))&&_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x107')](_0x422631[_0x5067('0x7e')])&&!_0x906b4['getCustomProperty'](_0x5067('0x156'))){_0x40edc6['writer']['addClass']([_0x5067('0x159'),'ck-suggestion-marker-formatBlock'],_0x906b4),_0x40edc6[_0x5067('0x66')]['setAttribute'](_0x5067('0x16b'),_0x4bb831,_0x906b4),_0x40edc6[_0x5067('0x34')][_0x5067('0xcb')](_0x906b4,_0x422631[_0x5067('0xd')]),_0xc316ee&&(this[_0x5067('0xea')][_0x5067('0xf5')](_0x422631[_0x5067('0xd')])?_0x40edc6[_0x5067('0x66')][_0x5067('0x120')](_0x5067('0x176'),_0x906b4):_0x40edc6[_0x5067('0x66')]['removeClass'](_0x5067('0x176'),_0x906b4));for(const _0x1f7864 of _0x425a89['model']['createRangeIn'](_0x422631[_0x5067('0x7e')])[_0x5067('0x45')]())_0x40edc6[_0x5067('0x132')]['consume'](_0x1f7864,_0x4ae895['name']);_0x40edc6['consumable'][_0x5067('0x7b')](_0x422631['item'],_0x4ae895['name']);}};_0x425a89['conversion'][_0x5067('0x12')](_0x5067('0x2f'))[_0x5067('0x157')](_0x283620=>{_0x283620['on'](_0x5067('0x3'),(_0x55822f,_0x5986e0,_0x5868bb)=>{_0x5868bb[_0x5067('0x82')][_0x5067('0x58')]&&_0xd0016c({'showActiveMarkers':!0x1})(_0x55822f,_0x5986e0,_0x5868bb);},{'priority':_0x5067('0x31')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('dataDowncast')[_0x5067('0x157')](_0x5ade9e=>{_0x5ade9e['on']('addMarker:suggestion:attribute',(_0x4e78ab,_0x436e2c,_0x4c96b2)=>{_0x4c96b2[_0x5067('0x82')][_0x5067('0x58')]&&_0xd0016c({'showActiveMarkers':!0x1,'isAttributeSuggestion':!0x0})(_0x4e78ab,_0x436e2c,_0x4c96b2);},{'priority':_0x5067('0x31')});}),_0x425a89['conversion'][_0x5067('0x12')]('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x3150cc,_0x49bfdd)=>_0x49bfdd[_0x5067('0x82')][_0x5067('0x58')]?null:{'group':_0x5067('0x144'),'name':_0x3150cc[_0x5067('0x64')](0xb)}}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')]('upcast')['elementToElement']({'view':{'name':_0x5067('0x144'),'attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x16610a,{writer:_0x135395})=>{let _0x3f6f50=_0x5067('0xa2')+_0x16610a['getAttribute'](_0x5067('0xd0'))+':'+_0x16610a[_0x5067('0xfc')]('id');return _0x16610a['getAttribute'](_0x5067('0x6b'))&&(_0x3f6f50+=':'+_0x16610a[_0x5067('0xfc')]('marker-count')),_0x135395[_0x5067('0xf4')](_0x5067('0xc'),{'data-name':_0x3f6f50});}}),_0x425a89[_0x5067('0xf9')]['for'](_0x5067('0x170'))[_0x5067('0xa5')]({'view':_0x5067('0x144')}),_0x425a89['conversion'][_0x5067('0x12')](_0x5067('0x15f'))['add'](_0x1c19f8=>{_0x1c19f8['on'](_0x5067('0x3'),_0xd0016c(),{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))['add'](_0x487228=>{_0x487228['on']('addMarker:suggestion:attribute',_0xd0016c({'isAttributeSuggestion':!0x0}),{'priority':_0x5067('0x1e')});}),_0x425a89['conversion']['for']('editingDowncast')[_0x5067('0x157')](_0x18f47f=>{_0x18f47f['on']('removeMarker:suggestion:formatBlock',(_0x503a50,_0x4d44f8,_0x92b8c9)=>{const _0x2fd6af=_0x92b8c9[_0x5067('0x34')]['markerNameToElements'](_0x4d44f8[_0x5067('0xd')]);if(_0x2fd6af)for(const _0x26e5d5 of _0x2fd6af)_0x26e5d5[_0x5067('0x73')](_0x5067('0x156'))||(_0x92b8c9[_0x5067('0x66')]['removeClass']([_0x5067('0x159'),_0x5067('0x85'),_0x5067('0x176')],_0x26e5d5),_0x92b8c9['writer'][_0x5067('0x16c')](_0x5067('0x16b'),_0x26e5d5),_0x92b8c9[_0x5067('0x34')][_0x5067('0x133')](_0x26e5d5,_0x4d44f8[_0x5067('0xd')]));},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0xf9')][_0x5067('0x12')](_0x5067('0x15f'))[_0x5067('0x157')](_0x1b4edb=>{_0x1b4edb['on'](_0x5067('0x136'),(_0x18ad4f,_0x35d41a,_0x20625b)=>{const _0x4fc845=_0x20625b[_0x5067('0x34')][_0x5067('0xd7')](_0x35d41a[_0x5067('0xd')]);if(!_0x4fc845)return;const {id:_0x447c52}=this[_0x5067('0x7f')](_0x35d41a['markerName']),_0x568cda=Pt(this['_suggestions']['get'](_0x447c52));if(this['_isBlockAttribute'](_0x568cda))for(const _0x4a54da of _0x4fc845)_0x4a54da[_0x5067('0x73')](_0x5067('0x156'))||(_0x20625b[_0x5067('0x66')][_0x5067('0xe3')](['ck-suggestion-marker',_0x5067('0x85'),'ck-suggestion-marker--active'],_0x4a54da),_0x20625b['writer']['removeAttribute'](_0x5067('0x16b'),_0x4a54da),_0x20625b[_0x5067('0x34')][_0x5067('0x133')](_0x4a54da,_0x35d41a[_0x5067('0xd')]));},{'priority':_0x5067('0x1e')});}),_0x425a89[_0x5067('0x44')]['document'][_0x5067('0x7a')](_0x227576=>{let _0x360be8=!0x1;const _0xe9680e=Array[_0x5067('0xf3')](_0x425a89[_0x5067('0x44')][_0x5067('0xf7')]['differ']['getChangedMarkers']()),_0x115bba=new Set();for(const {name:_0x50b063,data:_0x36b11a}of _0xe9680e){const {group:_0x2a766e,type:_0x39182c,subType:_0x361f60,id:_0x28b316}=this['_splitMarkerName'](_0x50b063);if(_0x5067('0x144')!==_0x2a766e)continue;const _0x10c109=this[_0x5067('0x5f')][_0x5067('0xce')](_0x28b316);if(null!=_0x36b11a[_0x5067('0x7d')]){_0x5067('0x171')==_0x39182c&&(_0x360be8=_0x360be8||Et(_0x36b11a[_0x5067('0x7d')],_0x50b063,_0x227576,_0x425a89['model']['schema']));const _0x4165ac=_0x5067('0x36')==_0x39182c&&this[_0x5067('0x11e')](_0x361f60[_0x5067('0x5b')]('|')[0x0]);if(_0x36b11a[_0x5067('0x7d')][_0x5067('0xc3')]||_0x5067('0x51')==_0x36b11a['newRange'][_0x5067('0x14d')]['rootName']||_0x5067('0x8b')==_0x39182c&&!jt(_0x36b11a[_0x5067('0x7d')])||_0x4165ac&&!jt(_0x36b11a['newRange'])||'deletion'==_0x39182c&&!(!xt(_0x405e48=_0x36b11a[_0x5067('0x7d')])&&!function(_0x23eb78){return _0x23eb78[_0x5067('0xe')][_0x5067('0x109')]==_0x23eb78[_0x5067('0x5a')]['nodeBefore']&&_0x23eb78[_0x5067('0xe')][_0x5067('0x10c')];}(_0x405e48)))_0x227576[_0x5067('0xc0')](_0x50b063),_0x360be8=!0x0;else{if(!_0x10c109||!_0x10c109[_0x5067('0x98')])continue;_0x115bba[_0x5067('0x157')](_0x10c109);}}}var _0x405e48;return _0x115bba[_0x5067('0xfb')]>0x0&&(_0x360be8=!!this[_0x5067('0x6')](_0x115bba)||_0x360be8),_0x360be8;}),_0x425a89[_0x5067('0x44')][_0x5067('0xf7')][_0x5067('0x7a')](_0x5184b7=>{let _0x2822fd=!0x1;for(const _0x366cac of _0x425a89['model'][_0x5067('0xf7')][_0x5067('0x8')][_0x5067('0x37')]())if(_0x5067('0x12f')==_0x366cac[_0x5067('0x141')])for(const _0x19c150 of this['_suggestions'][_0x5067('0xc7')]()){if(_0x19c150[_0x5067('0x3a')]||!_0x19c150['isInContent'])continue;const _0x11e4f0=_0x5067('0x8b')==_0x19c150[_0x5067('0x141')],_0x33fd49=Pt(_0x19c150),_0x495f0e=_0x33fd49&&this[_0x5067('0x11e')](_0x33fd49);if(!_0x11e4f0&&!_0x495f0e)continue;const _0x3f4f60=_0x19c150['getFirstRange']();if(_0x3f4f60[_0x5067('0xe')]['parent']!=_0x3f4f60[_0x5067('0x5a')]['parent']&&!_0x3f4f60['end']['isAtEnd']){const _0x2429e3=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x3f4f60['start'][_0x5067('0xc5')],_0x5067('0x5a')),_0x30e1b9=_0x425a89[_0x5067('0x44')][_0x5067('0x80')](_0x3f4f60[_0x5067('0xe')],_0x2429e3);_0x5184b7['updateMarker'](_0x19c150['getFirstMarker'](),{'range':_0x30e1b9}),_0x2822fd=!0x0;}}return _0x2822fd;}),_0x425a89['model']['document'][_0x5067('0x7a')](_0xb2c88f=>this[_0x5067('0x3f')](_0xb2c88f)),_0x425a89['model'][_0x5067('0xf7')]['registerPostFixer'](_0x4ab56e=>!_0x4ab56e[_0x5067('0x56')][_0x5067('0x130')]&&this[_0x5067('0x16e')](_0x4ab56e)),_0x425a89[_0x5067('0x44')][_0x5067('0x15a')]['on']('update:suggestion',(_0x4cf009,_0x5480e3,_0x1ee523)=>{if(null==_0x1ee523){const {id:_0x1536d3}=this[_0x5067('0x7f')](_0x5480e3[_0x5067('0x2a')]),_0x551cbb=this[_0x5067('0x5f')][_0x5067('0xce')](_0x1536d3);_0x551cbb&&_0x551cbb['addMarkerName'](_0x5480e3['name']);}}),_0x425a89['model'][_0x5067('0xf7')]['on'](_0x5067('0x11f'),()=>{const _0x24431f=Array['from'](_0x425a89[_0x5067('0x44')]['document'][_0x5067('0x8')][_0x5067('0xa7')]())[_0x5067('0x19')](_0x3df876=>_0x5067('0x144')===this[_0x5067('0x7f')](_0x3df876[_0x5067('0x2a')])['group']);if(0x0===_0x24431f[_0x5067('0xdb')])return;_0x24431f['sort']((_0x225022,_0x37fd65)=>{const _0x15afd8=_0x225022[_0x5067('0xc9')]['oldRange'],_0x40f123=_0x37fd65[_0x5067('0xc9')][_0x5067('0x12a')];return null===_0x15afd8&&null===_0x40f123?0x0:null===_0x15afd8&&null!==_0x40f123?-0x1:null!==_0x15afd8&&null===_0x40f123?0x1:_0x15afd8[_0x5067('0xe')][_0x5067('0x11a')](_0x40f123[_0x5067('0xe')])?-0x1:0x1;});const _0x26bfa1=new Set(),_0x445eb2=new Set();for(const {name:_0x327092,data:_0x406233}of _0x24431f){const {id:_0x5bd6ac}=this[_0x5067('0x7f')](_0x327092);if(null===_0x406233['oldRange']){const _0x3cc028=this[_0x5067('0x13f')](_0x327092);_0x445eb2[_0x5067('0x157')](_0x3cc028);}else{const _0x52fc23=this[_0x5067('0x5f')][_0x5067('0xce')](_0x5bd6ac);null!==_0x406233[_0x5067('0x7d')]||_0x52fc23[_0x5067('0x98')]?(_0x26bfa1[_0x5067('0x157')](_0x52fc23[_0x5067('0x69')]),_0x445eb2['add'](_0x52fc23)):this[_0x5067('0x6a')](_0x52fc23);}}_0x445eb2['size']>0x0&&this[_0x5067('0xf2')](_0x445eb2);for(const _0xdde4cc of _0x26bfa1)this[_0x5067('0xe2')]('suggestionChanged',_0xdde4cc);}),_0x425a89[_0x5067('0x44')]['on']('applyOperation',(_0x293529,_0x58af2b)=>{const _0x2f90b6=_0x58af2b[0x0];if(!this[_0x5067('0x5f')]['size'])return;if(!_0x2f90b6[_0x5067('0x16a')])return;if(_0x2f90b6[_0x5067('0x56')]['isUndo']||!_0x2f90b6[_0x5067('0x56')][_0x5067('0x130')])return;let _0x28cc92,_0x567244;switch(_0x2f90b6[_0x5067('0x141')]){case _0x5067('0x12f'):_0x28cc92=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6[_0x5067('0x173')]),_0x567244=_0x28cc92[_0x5067('0x14b')](_0x2f90b6[_0x5067('0x5e')]);break;case _0x5067('0x5b'):_0x28cc92=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6[_0x5067('0xdc')]),_0x567244=_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x2f90b6['moveTargetPosition']);break;case _0x5067('0xe9'):_0x28cc92=_0x425a89['model'][_0x5067('0x9a')](_0x2f90b6[_0x5067('0x169')]),_0x567244=_0x28cc92['getShiftedBy'](_0x2f90b6[_0x5067('0x5e')]);break;default:return;}const _0x2cf5ad=_0x425a89[_0x5067('0x44')][_0x5067('0x80')](_0x28cc92,_0x567244);_0x425a89[_0x5067('0x44')][_0x5067('0xc1')](()=>{for(const {suggestion:_0x5a6a68,meta:_0x4211e8}of this[_0x5067('0x79')](_0x2cf5ad)){if(_0x5a6a68[_0x5067('0x3a')])continue;if(_0x5067('0x171')==_0x5a6a68[_0x5067('0x141')])continue;const _0x5f0d76=Pt(_0x5a6a68);if(_0x5f0d76&&this[_0x5067('0x11e')](_0x5f0d76)&&_0x5067('0x5b')!=_0x2f90b6[_0x5067('0x141')])continue;const _0x1ab5db=_0x5a6a68[_0x5067('0xc9')]&&_0x5a6a68[_0x5067('0xc9')][_0x5067('0x138')];('formatBlock'!=_0x5a6a68[_0x5067('0x141')]||_0x5067('0x5b')==_0x2f90b6[_0x5067('0x141')]&&!_0x1ab5db)&&(_0x4211e8[_0x5067('0xff')]||_0x5067('0xef')==_0x5a6a68['type']&&_0x4211e8[_0x5067('0x9f')]||_0x5a6a68[_0x5067('0xd8')]()['containsRange'](_0x2cf5ad)&&this[_0x5067('0x5c')](_0x5a6a68,_0x28cc92,_0x567244));}});},{'priority':_0x5067('0xbb')}),_0x425a89[_0x5067('0x44')]['on'](_0x5067('0xb0'),(_0x5f3159,_0x4f6a55)=>{const _0x59a6a3=_0x4f6a55[0x0],_0x21ed4a=_0x4f6a55[0x1];if(_0x21ed4a&&_0x21ed4a[_0x5067('0xb')])return;if(this[_0x5067('0xcd')])return;if(!this[_0x5067('0x108')]['value'])return;if(_0x59a6a3[_0x5067('0xc3')])return;const _0x4761b5=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')],{start:_0xe03897,end:_0x3ae83a}=_0x59a6a3[_0x5067('0xd8')](),_0x5df749=_0xe03897['nodeAfter']&&_0x4761b5[_0x5067('0xca')](_0xe03897[_0x5067('0xc5')])?null:_0x4761b5[_0x5067('0x105')](_0xe03897,_0x5067('0x46')),_0x40890d=_0x3ae83a['nodeBefore']&&_0x4761b5[_0x5067('0xca')](_0x3ae83a['nodeBefore'])?null:_0x4761b5[_0x5067('0x105')](_0x3ae83a,_0x5067('0x100')),_0x28f5c8=_0x425a89['model'][_0x5067('0x80')](_0x5df749?_0x5df749['start']:_0xe03897,_0x40890d?_0x40890d[_0x5067('0x5a')]:_0x3ae83a);_0x425a89['model'][_0x5067('0xc1')](_0x5d2d98=>{this[_0x5067('0xd6')](_0x28f5c8);const _0x307d89=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')][_0x5067('0x105')](_0x28f5c8[_0x5067('0xe')]);_0x59a6a3['is'](_0x5067('0x41'))?_0x5d2d98['setSelection'](_0x307d89):_0x59a6a3['setTo'](_0x307d89);}),_0x5f3159[_0x5067('0x15e')]();},{'priority':_0x1d101f['normal']+0xa}),_0x425a89[_0x5067('0x44')]['on'](_0x5067('0xab'),(_0x20c9bf,_0x343416)=>{const _0x218147=_0x343416[_0x343416[_0x5067('0xdb')]-0x1];_0x218147&&_0x218147[_0x5067('0xb')]||this['_isForcedDefaultExecutionBlock']||this[_0x5067('0x108')][_0x5067('0x13e')]&&(_0x425a89[_0x5067('0x44')][_0x5067('0xc1')](()=>{let _0x47419d=_0x425a89[_0x5067('0x44')][_0x5067('0xab')](_0x343416[0x0],_0x343416[0x1],_0x343416[0x2],{'forceDefaultExecution':!0x0});if(!_0x47419d)return;_0x20c9bf[_0x5067('0x14c')]=_0x47419d['clone']();const _0x1e7dcf=_0x47419d[_0x5067('0x5a')][_0x5067('0x67')],_0x4385e5=_0x425a89[_0x5067('0x44')][_0x5067('0x13a')];_0x1e7dcf&&_0x4385e5[_0x5067('0x107')](_0x1e7dcf)&&!_0x4385e5[_0x5067('0x47')](_0x1e7dcf)&&(_0x47419d=_0x425a89[_0x5067('0x44')]['createRange'](_0x47419d[_0x5067('0xe')],_0x425a89[_0x5067('0x44')][_0x5067('0x9a')](_0x1e7dcf,'end'))),this[_0x5067('0x143')](_0x47419d);}),_0x20c9bf[_0x5067('0x15e')]());},{'priority':_0x5067('0x1e')}),this[_0x5067('0x1a')][_0x5067('0x11d')]['add']('trackChanges',this[_0x5067('0x108')]),this[_0x5067('0x175')](_0x5067('0x9c'));const _0x5d36d0=new _0x30bd07(_0x425a89,this['_suggestions']);_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0x28'),_0x5d36d0),this['enableCommand']('acceptSuggestion');const _0x1ae805=new _0x19a51d(_0x425a89,this[_0x5067('0x5f')]);_0x425a89['commands'][_0x5067('0x157')](_0x5067('0x135'),_0x1ae805),this[_0x5067('0x175')](_0x5067('0x135')),_0x425a89['commands']['add'](_0x5067('0xa8'),new _0x26923f(_0x425a89,_0x5d36d0,this[_0x5067('0x5f')])),this[_0x5067('0x175')](_0x5067('0xa8')),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0x104'),new _0x26923f(_0x425a89,_0x1ae805,this[_0x5067('0x5f')])),this[_0x5067('0x175')]('discardAllSuggestions'),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')](_0x5067('0xe4'),new _0x1324cb(_0x425a89,_0x5d36d0,this[_0x5067('0x5f')])),this['enableCommand']('acceptSelectedSuggestions'),_0x425a89[_0x5067('0x11d')][_0x5067('0x157')]('discardSelectedSuggestions',new _0x1324cb(_0x425a89,_0x1ae805,this[_0x5067('0x5f')])),this[_0x5067('0x175')](_0x5067('0x89'));const _0x2f2190=_0x425a89[_0x5067('0x32')]['get'](_0x5067('0x158'));this[_0x5067('0x38')](_0x2f2190,'addComment',(_0x5e8d48,{threadId:_0x1d2571})=>{const _0x4c83aa=this['_suggestions']['get'](_0x1d2571);_0x4c83aa&&_0x4c83aa[_0x5067('0x2e')]&&0x1===_0x4c83aa[_0x5067('0x2e')][_0x5067('0xdb')]&&this[_0x5067('0x15c')](_0x1d2571,{'hasComments':!0x0});},{'priority':_0x5067('0x142')}),this[_0x5067('0x38')](_0x2f2190,_0x5067('0x4a'),(_0x63e10b,{threadId:_0x5fe335})=>{const _0x566095=this[_0x5067('0x5f')][_0x5067('0xce')](_0x5fe335);_0x566095&&_0x566095[_0x5067('0x2e')]&&!_0x566095[_0x5067('0x2e')]['length']&&this[_0x5067('0x15c')](_0x5fe335,{'hasComments':!0x1});},{'priority':_0x5067('0x142')});}set[_0x5067('0x1c')](_0x5d1654){if(this[_0x5067('0x134')])throw new _0x4a14e0(_0x5067('0x7c'),this);this['_adapter']=_0x5d1654;}get[_0x5067('0x1c')](){return this[_0x5067('0x134')];}[_0x5067('0xfa')]({skipNotAttached:_0x17ff13=!0x1,toJSON:_0x3e5aab=!0x1}={}){const _0x1a54c9=[];for(const _0x58af93 of this[_0x5067('0x5f')]['values']())_0x17ff13&&!_0x58af93['isInContent']||_0x1a54c9[_0x5067('0xba')](_0x58af93);return _0x3e5aab?_0x1a54c9['map'](_0x43f59d=>_0x43f59d[_0x5067('0x147')]()):_0x1a54c9;}['getSuggestion'](_0x31b786){const _0x5b4141=this[_0x5067('0x5f')][_0x5067('0xce')](_0x31b786);if(!_0x5b4141)throw new _0x4a14e0(_0x5067('0x177'),this);return _0x5b4141;}['hasSuggestion'](_0x1ae1f0){return this['_suggestions'][_0x5067('0x17')](_0x1ae1f0);}[_0x5067('0xd1')](_0x32ab7c){const {authorId:_0x23eb39,id:_0x7650df,attributes:_0x18de95}=_0x32ab7c,[_0x390d3f,_0x316dcc]=_0x32ab7c[_0x5067('0x141')]['split'](':'),_0x1f9a77=this[_0x5067('0x5f')][_0x5067('0xce')](_0x7650df)||this[_0x5067('0xa3')](_0x390d3f,_0x316dcc,_0x7650df,_0x23eb39,_0x18de95);if(this[_0x5067('0x168')](_0x1f9a77),this[_0x5067('0x111')](_0x1f9a77,_0x390d3f,_0x316dcc||null,_0x23eb39),_0x1f9a77[_0x5067('0x4d')]=_0x32ab7c[_0x5067('0x4d')],_0x1f9a77[_0x5067('0x3b')]=!0x0,_0x18de95&&_0x18de95['@external']){const _0x2d6142=_0x18de95['@external'],_0x1a0d14=this[_0x5067('0x84')](_0x2d6142[_0x5067('0x164')]);_0x1f9a77[_0x5067('0x8c')]=_0x2d6142['createdAt'],_0x1f9a77['author']=_0x1a0d14,_0x1f9a77[_0x5067('0x148')]=!0x0;}else _0x1f9a77['authoredAt']=_0x32ab7c[_0x5067('0x4d')];switch(_0x32ab7c[_0x5067('0xc9')]&&(_0x1f9a77[_0x5067('0xc9')]=_0x32ab7c['data']),_0x32ab7c['attributes']&&(_0x1f9a77[_0x5067('0x2')]=_0x32ab7c['attributes']),this[_0x5067('0x134')]&&this[_0x5067('0x134')][_0x5067('0x95')]||(_0x1f9a77[_0x5067('0x13')]=!0x0),this[_0x5067('0x119')][_0x5067('0xce')](_0x1f9a77)){case _0x5067('0x93'):this[_0x5067('0x119')]['set'](_0x1f9a77,_0x5067('0xdf'));break;case'markerReady':_0x1f9a77[_0x5067('0x98')]?(this[_0x5067('0xf2')](new Set([_0x1f9a77])),this['_joinWithAdjacentSuggestions'](new Set([_0x1f9a77])),this[_0x5067('0x119')][_0x5067('0x150')](_0x1f9a77,_0x5067('0x140')),this[_0x5067('0xe2')](_0x5067('0x15'),_0x1f9a77)):this[_0x5067('0x119')]['set'](_0x1f9a77,'removed');}return _0x1f9a77;}[_0x5067('0x28')](_0x558217){this[_0x5067('0xb')](()=>{this[_0x5067('0x1a')]['model'][_0x5067('0xc1')](()=>{for(const _0x2fda50 of _0x558217[_0x5067('0xd3')]())_0x2fda50['accept']();});});}[_0x5067('0x135')](_0x5536bc){this[_0x5067('0xb')](()=>{this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0xc1')](()=>{for(const _0x18a4c1 of _0x5536bc[_0x5067('0xd3')]())_0x18a4c1['discard']();});});}['enableCommand'](_0x25aa78,_0x14922d){const _0x269fb3=this[_0x5067('0x1a')][_0x5067('0x11d')][_0x5067('0xce')](_0x25aa78);if(!_0x269fb3)throw new _0x4a14e0(_0x5067('0xb3'),this,{'commandName':_0x25aa78});if(this[_0x5067('0x27')][_0x5067('0x17')](_0x269fb3))throw new _0x4a14e0(_0x5067('0x60'),this,{'commandName':_0x25aa78});this[_0x5067('0x27')][_0x5067('0x157')](_0x269fb3),_0x14922d&&_0x269fb3['on']('execute',(_0x46579d,_0x3ad184)=>{this['trackChangesCommand'][_0x5067('0x13e')]&&(this['_isForcedDefaultExecutionBlock']||(_0x3ad184[_0x5067('0xdb')]>0x0&&_0x3ad184[_0x3ad184['length']-0x1]&&_0x3ad184[_0x3ad184['length']-0x1][_0x5067('0xb')]?_0x3ad184[_0x5067('0xa')]():(_0x46579d[_0x5067('0x14c')]=_0x14922d((..._0x3ca419)=>_0x269fb3[_0x5067('0x35')](..._0x3ca419,{'forceDefaultExecution':!0x0}),..._0x3ad184),_0x46579d[_0x5067('0x15e')]())));},{'priority':_0x5067('0x1e')});}[_0x5067('0xb')](_0x1e799d){let _0x1695d5,_0x1973f5;const _0x562964=this[_0x5067('0xcd')];this[_0x5067('0xcd')]=!0x0;try{_0x1695d5=_0x1e799d();}catch(_0x2d396b){_0x1973f5=_0x2d396b;}return _0x562964||(this[_0x5067('0xcd')]=!0x1),_0x1973f5&&_0x4a14e0[_0x5067('0xa6')](_0x1973f5,this),_0x1695d5;}[_0x5067('0x143')](_0x4f46fc,_0x1c444c=null,_0x515725={}){if(_0x4f46fc[_0x5067('0xc3')])return null;const _0x5ce301=this[_0x5067('0x1a')][_0x5067('0x32')]['get'](_0x5067('0x14f'))['me'];for(const {suggestion:_0x1f481e,meta:_0x56db66}of this[_0x5067('0x79')](_0x4f46fc,_0x5067('0xef')))if(_0x56db66[_0x5067('0x9f')]){if(!_0x56db66[_0x5067('0x146')]){if(_0x56db66[_0x5067('0xff')]){if(!this[_0x5067('0x122')]||!Gt(_0x1f481e,_0x515725))continue;return _0x1f481e;}if(Gt(_0x1f481e,_0x515725))return _0x1f481e;this['_breakSuggestionMarker'](_0x1f481e,_0x4f46fc[_0x5067('0xe')],_0x4f46fc[_0x5067('0x5a')]);break;}if(_0x1c444c==_0x1f481e['subType']&&Gt(_0x1f481e,_0x515725)){const _0x17bf53=_0x1f481e[_0x5067('0xd8')]();return _0x17bf53[_0x5067('0xe')][_0x5067('0x12e')](_0x4f46fc['end'])?this[_0x5067('0x23')](_0x1f481e,this[_0x5067('0x160')]['createRange'](_0x4f46fc[_0x5067('0xe')],_0x17bf53['end'])):this[_0x5067('0x23')](_0x1f481e,this[_0x5067('0x160')][_0x5067('0x80')](_0x17bf53[_0x5067('0xe')],_0x4f46fc[_0x5067('0x5a')])),_0x1f481e;}}const _0x37c4ee=_0x4f1cad(),_0x2834f5=_0x5ce301['id'],_0x10bd13=_0x1c444c?'insertion:'+_0x1c444c:'insertion',_0x40651e=this[_0x5067('0x72')]({'id':_0x37c4ee,'type':_0x10bd13,'createdAt':new Date(),'authorId':_0x2834f5,'attributes':_0x515725});return this[_0x5067('0xc2')](_0x10bd13,_0x37c4ee,_0x2834f5,_0x4f46fc),_0x40651e;}[_0x5067('0xf8')](_0x541342,_0x4cac51='multi',_0x2862f7={}){const _0x3cf093=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x4e679e=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0xef'),_0x4cac51,_0x5067('0x167'));for(const _0x125024 of this['getSuggestions']())if(_0x125024[_0x5067('0xed')]['id']==_0x3cf093['id']&&_0x5067('0xef')==_0x125024[_0x5067('0x141')]&&_0x125024['subType']==_0x4cac51&&Gt(_0x125024,_0x2862f7)&&(_0x4e679e(_0x125024[_0x5067('0x14a')](),_0x541342)||_0x4e679e(_0x541342,_0x125024[_0x5067('0x14a')]()))){for(const _0x40158b of _0x541342)_0x125024[_0x5067('0x1')](_0x40158b);return _0x125024;}for(const {suggestion:_0x14dc89,meta:_0xadc114}of this[_0x5067('0x79')](_0x541342,_0x5067('0xef'))){if(!_0xadc114[_0x5067('0x9f')])continue;if(!this[_0x5067('0x122')]&&_0xadc114[_0x5067('0xff')])continue;if(!Gt(_0x14dc89,_0x2862f7))continue;let _0x9381fe=!0x0;for(const _0x3d61b3 of _0x14dc89['getRanges']())for(const _0x140989 of _0x541342)if(!_0x3d61b3[_0x5067('0x11b')](_0x140989)){_0x9381fe=!0x1;break;}if(_0x9381fe)return _0x14dc89;}const _0x56ea25=_0x4f1cad(),_0x31e79b=_0x3cf093['id'],_0xcb8603=_0x5067('0x8d')+_0x4cac51,_0x3cfed6=this[_0x5067('0x72')]({'id':_0x56ea25,'type':_0xcb8603,'createdAt':new Date(),'authorId':_0x31e79b,'attributes':_0x2862f7});for(const _0x507e58 of _0x541342)this[_0x5067('0xc2')](_0xcb8603,_0x56ea25,_0x31e79b,_0x507e58,_0x1629a3['getMultiRangeId']());return _0x3cfed6;}[_0x5067('0x12b')](_0x505bc4,_0x921641,_0x514f50=null,_0x4c3c60={}){if(_0x514f50=_0x514f50||Rt(_0x921641),_0x505bc4['isCollapsed'])return null;if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x1c739a=this[_0x5067('0x10')][_0x5067('0xcc')]('formatInline',_0x514f50,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x1c739a([_0x505bc4],_0x921641,_0x4c3c60)),null;}const _0x218e05=this[_0x5067('0x1a')]['plugins'][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x424d1b=[];if('always'!==this[_0x5067('0x10e')])for(const {suggestion:_0x228b19,meta:_0x5b8312}of this[_0x5067('0x79')](_0x505bc4,'insertion'))_0x5b8312[_0x5067('0x9f')]&&!_0x5b8312[_0x5067('0x4')]&&_0x424d1b[_0x5067('0xba')](..._0x228b19[_0x5067('0x14a')]());const _0x14386c=function(_0x1925b2,_0x9c5d95){const _0xe3a199=[];for(const _0x268899 of _0x9c5d95){const _0x1fc648=_0x1925b2['getIntersection'](_0x268899);_0x1fc648&&_0xe3a199[_0x5067('0xba')](_0x1fc648);}return _0xe3a199;}(_0x505bc4,_0x424d1b),_0x573822=function(_0x4e17d0,_0x5daea){const _0x39be80=[_0x4e17d0];for(const _0xe6eb37 of _0x5daea){let _0x538858=0x0;for(;_0x538858<_0x39be80[_0x5067('0xdb')];){const _0x18ca6b=_0x39be80[_0x538858]['getDifference'](_0xe6eb37);_0x39be80[_0x5067('0xa4')](_0x538858,0x1,..._0x18ca6b),_0x538858+=_0x18ca6b['length'];}}return _0x39be80;}(_0x505bc4,_0x424d1b);_0x14386c['length']&&this[_0x5067('0x160')][_0x5067('0xc1')](()=>{for(const _0x2c87f8 of _0x14386c){const _0x425263=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0x171'),_0x514f50,'accept');this[_0x5067('0xb')](()=>_0x425263([_0x2c87f8],_0x921641,_0x4c3c60));}});for(const _0x3c1024 of _0x573822){let _0x32fc7c=null,_0x2419a9=_0x3c1024[_0x5067('0xe')],_0x228a05=_0x3c1024[_0x5067('0x5a')];for(const {suggestion:_0x5e3f21,meta:_0xbe6d36}of this[_0x5067('0x79')](_0x3c1024,'formatInline')){if(!_0xbe6d36[_0x5067('0x9f')])continue;if(_0x5e3f21[_0x5067('0x128')]!=_0x514f50)continue;if(!Gt(_0x5e3f21,_0x4c3c60))continue;const _0x420d9d=_0x5e3f21[_0x5067('0xd8')]();if(_0x420d9d[_0x5067('0x11b')](_0x3c1024,!0x0))return null;_0x2419a9=_0x2419a9['isBefore'](_0x420d9d[_0x5067('0xe')])?_0x2419a9:_0x420d9d[_0x5067('0xe')],_0x228a05=_0x228a05[_0x5067('0x4f')](_0x420d9d['end'])?_0x228a05:_0x420d9d[_0x5067('0x5a')],_0x32fc7c?_0x420d9d[_0x5067('0xe')][_0x5067('0x11a')](_0x32fc7c[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x32fc7c[_0x5067('0x62')](),_0x32fc7c=_0x5e3f21):_0x5e3f21[_0x5067('0x62')]():_0x32fc7c=_0x5e3f21;}const _0x48cc83=this[_0x5067('0x160')][_0x5067('0x80')](_0x2419a9,_0x228a05);if(_0x32fc7c)this[_0x5067('0x23')](_0x32fc7c,_0x48cc83);else{const _0x3eb75b=_0x4f1cad(),_0x49b2ee=_0x218e05['id'];this[_0x5067('0x72')]({'id':_0x3eb75b,'type':_0x5067('0x33')+_0x514f50,'data':_0x921641,'createdAt':new Date(),'authorId':_0x49b2ee,'attributes':_0x4c3c60}),this[_0x5067('0xc2')](_0x5067('0x33')+_0x514f50,_0x3eb75b,_0x49b2ee,_0x48cc83);}}return null;}[_0x5067('0x10b')](_0xd22513,_0x326253,_0x4bfa18=[],_0x5dbec8=null,_0x3e65a0={}){_0x326253[_0x5067('0x11')]||(_0x326253['formatGroupId']=_0x326253[_0x5067('0x3d')]),_0x326253[_0x5067('0x138')]=_0xd22513['is'](_0x5067('0x99')),_0x5dbec8=_0x5dbec8||Rt(_0x326253);const _0x117be4=_0x4bfa18['map'](_0x2aa5f3=>Ut(_0x2aa5f3,this[_0x5067('0x160')])),_0x61112c=_0xd22513['is']('range')?_0xd22513:Ut(_0xd22513,this[_0x5067('0x160')]);if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x3a91a3=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5dbec8,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x3a91a3([_0x61112c],_0x326253,_0x3e65a0)),null;}_0x117be4[_0x5067('0xba')](_0x61112c);let _0xacde25=!0x0;for(const _0x390cc9 of _0x117be4)if(!this['_rangeIsInLocalUserInsertion'](_0x390cc9)){_0xacde25=!0x1;break;}if(_0xacde25&&'always'!==this[_0x5067('0x10e')]){const _0x151a8=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5dbec8,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x151a8([_0x61112c],_0x326253,_0x3e65a0)),null;}let _0x4bc549=null,_0x3f7ce1=_0x61112c[_0x5067('0xe')],_0x343328=_0x61112c[_0x5067('0x5a')];for(const {suggestion:_0x41612a,meta:_0x2a01ba}of this[_0x5067('0x79')](_0x61112c,_0x5067('0x8b'))){if(!_0x2a01ba['isOwn'])continue;if(_0x2a01ba[_0x5067('0x146')]||_0x2a01ba[_0x5067('0xff')]||_0x2a01ba[_0x5067('0x4')])continue;if(_0x41612a[_0x5067('0xc9')][_0x5067('0x11')]!=_0x326253[_0x5067('0x11')])continue;if(!Gt(_0x41612a,_0x3e65a0))continue;const _0x2f75ad=_0x41612a[_0x5067('0xd8')]();if(_0x41612a['subType']==_0x5dbec8){if(_0x2f75ad['containsRange'](_0x61112c,!0x0))return null;_0x3f7ce1=_0x3f7ce1[_0x5067('0x11a')](_0x2f75ad[_0x5067('0xe')])?_0x3f7ce1:_0x2f75ad[_0x5067('0xe')],_0x343328=_0x343328['isAfter'](_0x2f75ad[_0x5067('0x5a')])?_0x343328:_0x2f75ad['end'],_0x4bc549?_0x2f75ad[_0x5067('0xe')][_0x5067('0x11a')](_0x4bc549[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x4bc549[_0x5067('0x62')](),_0x4bc549=_0x41612a):_0x41612a[_0x5067('0x62')]():_0x4bc549=_0x41612a;}else{const _0x2052ae=_0x61112c[_0x5067('0xe1')](_0x2f75ad);this[_0x5067('0xb9')](_0x41612a,_0x2052ae);}}const _0xd9a586=this['editor'][_0x5067('0x32')][_0x5067('0xce')]('Users')['me'],_0x1ba543=_0x4f1cad(),_0xcd437e=_0xd9a586['id'];if(_0x4bc549)return this['_setSuggestionRange'](_0x4bc549,this[_0x5067('0x160')][_0x5067('0x80')](_0x3f7ce1,_0x343328)),_0x4bc549;{const _0x264143=this[_0x5067('0x72')]({'id':_0x1ba543,'type':_0x5067('0x8e')+_0x5dbec8,'data':_0x326253,'createdAt':new Date(),'authorId':_0xcd437e,'attributes':_0x3e65a0});return this[_0x5067('0xc2')](_0x5067('0x8e')+_0x5dbec8,_0x1ba543,_0xcd437e,this[_0x5067('0x160')]['createRange'](_0x3f7ce1,_0x343328)),_0x264143;}}[_0x5067('0x12c')](_0x339563,_0x585cf5,_0x77235c=[],_0x5db339=null,_0x11f3c0={}){_0x585cf5[_0x5067('0x11')]||(_0x585cf5[_0x5067('0x11')]=_0x585cf5[_0x5067('0x3d')]);const _0x72906e=_0x339563[0x0];_0x585cf5[_0x5067('0x138')]=_0x72906e['is'](_0x5067('0x99')),_0x5db339=_0x5db339||Rt(_0x585cf5);const _0xbb2641=_0x77235c[_0x5067('0x83')](_0x568274=>Ut(_0x568274,this[_0x5067('0x160')])),_0xc559ad=_0x72906e['is'](_0x5067('0x99'))?_0x339563:_0x339563['map'](_0x520bea=>Ut(_0x520bea,this[_0x5067('0x160')]));if(_0x5067('0x75')===this[_0x5067('0x10e')]){const _0x199a88=this[_0x5067('0x10')][_0x5067('0xcc')]('formatBlock',_0x5db339,_0x5067('0xbc'));return this[_0x5067('0xb')](()=>_0x199a88(_0xc559ad,_0x585cf5,_0x11f3c0)),null;}_0xbb2641['push'](..._0xc559ad);let _0x21f664=!0x0;for(const _0x36c569 of _0xbb2641)if(!this['_rangeIsInLocalUserInsertion'](_0x36c569)){_0x21f664=!0x1;break;}if(_0x21f664&&_0x5067('0x90')!==this[_0x5067('0x10e')]){const _0x2a396e=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5db339,'accept');return this[_0x5067('0xb')](()=>_0x2a396e(_0xc559ad,_0x585cf5,_0x11f3c0)),null;}const _0x1f937e=this[_0x5067('0x1a')]['plugins'][_0x5067('0xce')](_0x5067('0x14f'))['me'];for(const _0x398063 of this[_0x5067('0xfa')]()){if(_0x398063['author']['id']!=_0x1f937e['id'])continue;if('formatBlock'!=_0x398063[_0x5067('0x141')]||_0x398063[_0x5067('0xc9')][_0x5067('0x11')]!=_0x585cf5[_0x5067('0x11')])continue;if(!Gt(_0x398063,_0x11f3c0))continue;const _0x31d886=_0x398063[_0x5067('0x128')]==_0x5db339;for(let _0x338f91=0x0;_0x338f91<_0xc559ad[_0x5067('0xdb')];_0x338f91++){const _0x5a917b=_0xc559ad[_0x338f91];for(const _0x350b78 of _0x398063[_0x5067('0x25')]()){const _0x5a3603=_0x350b78[_0x5067('0x124')]();if(_0x5a917b[_0x5067('0x12e')](_0x5a3603)){_0x31d886?(_0xc559ad[_0x5067('0xa4')](_0x338f91,0x1),_0x338f91--):_0x398063[_0x5067('0xc0')](_0x350b78[_0x5067('0x2a')]);break;}}}}if(0x0==_0xc559ad[_0x5067('0xdb')])return null;const _0xea0880=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x8b'),_0x5db339,_0x5067('0x167'));for(const _0x40b546 of this['getSuggestions']())if(_0x40b546['author']['id']==_0x1f937e['id']&&'formatBlock'==_0x40b546[_0x5067('0x141')]&&_0x40b546[_0x5067('0xc9')][_0x5067('0x11')]==_0x585cf5[_0x5067('0x11')]&&_0x40b546['subType']==_0x5db339&&Gt(_0x40b546,_0x11f3c0)&&(_0xea0880(_0x40b546[_0x5067('0x14a')](),_0xc559ad)||_0xea0880(_0xc559ad,_0x40b546[_0x5067('0x14a')]()))){for(const _0x423cfb of _0xc559ad)_0x40b546['addRange'](_0x423cfb);return _0x40b546;}const _0x564f23=_0x4f1cad(),_0x22f049=_0x1f937e['id'],_0x1bbc34=_0x5067('0x8e')+_0x5db339,_0x510eef=this[_0x5067('0x72')]({'id':_0x564f23,'type':_0x1bbc34,'data':_0x585cf5,'createdAt':new Date(),'authorId':_0x22f049,'attributes':_0x11f3c0});for(const _0x3a9983 of _0xc559ad)this[_0x5067('0xc2')](_0x1bbc34,_0x564f23,_0x22f049,_0x3a9983,_0x1629a3['getMultiRangeId']());return _0x510eef;}[_0x5067('0xd6')](_0x48b730,_0x353bf8=null,_0x2a1270={}){if(_0x48b730['isCollapsed'])return null;const _0x54f275=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'],_0x139f08=new _0x108700(_0x48b730['start'],_0x48b730[_0x5067('0x5a')]);for(const {suggestion:_0x2af825,meta:_0x5ceed2}of this[_0x5067('0x79')](_0x139f08,_0x5067('0xef')))if(_0x5ceed2[_0x5067('0x9f')]&&!_0x5ceed2[_0x5067('0x146')]){if(_0x2af825['isMultiRange']){const _0x4120aa=_0x2af825['getRanges']()[_0x5067('0x19')](_0x522e19=>_0x5067('0x51')!=_0x522e19[_0x5067('0x14d')][_0x5067('0x102')]);_0x4120aa[_0x5067('0x22')](_0x28272a=>_0x139f08[_0x5067('0x11b')](_0x28272a,!0x0))&&_0x2af825['discard']();if(_0x4120aa[_0x5067('0x8f')](_0x4f8572=>_0x4f8572[_0x5067('0x11b')](_0x139f08,!0x0))){const _0x1cb9fe=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x127'),_0x353bf8,_0x5067('0xbc'));return this['forceDefaultExecution'](()=>_0x1cb9fe([_0x139f08],null,_0x2a1270)),null;}}else{const _0x89e90f=_0x139f08['getIntersection'](_0x2af825[_0x5067('0xd8')]());null!==_0x89e90f&&_0x2af825[_0x5067('0x86')]([_0x89e90f],null,_0x2a1270);}}if(_0x139f08[_0x5067('0xb2')](),_0x139f08['isCollapsed']||_0x5067('0x51')==_0x139f08[_0x5067('0x14d')][_0x5067('0x102')])return null;let _0x4c23e9=null,_0x512e1b=_0x139f08[_0x5067('0xe')],_0x45c6f5=_0x139f08[_0x5067('0x5a')];const _0x2e14e3=this['_findSuggestions'](_0x139f08,'deletion');for(const {suggestion:_0x56901f,meta:_0x31ded3}of _0x2e14e3){const _0x4a4491=this['_model'][_0x5067('0x80')](_0x512e1b,_0x45c6f5);if(_0x31ded3['isOwn']&&(this[_0x5067('0x122')]||!_0x31ded3['containsRangeInObject']&&!_0x31ded3[_0x5067('0x4')])){if(_0x56901f[_0x5067('0x3a')]){if(!Gt(_0x56901f,_0x2a1270))continue;let _0x59236e=!0x0;for(const _0x2014b7 of _0x56901f['getRanges']()){if(_0x2014b7['containsRange'](_0x4a4491,!0x0))return _0x56901f;_0x4a4491[_0x5067('0x11b')](_0x2014b7)||(_0x59236e=!0x1);}_0x59236e&&_0x56901f[_0x5067('0xe0')]();}else{const _0x3f52ca=_0x56901f[_0x5067('0xd8')]();if(_0x3f52ca[_0x5067('0x11b')](_0x4a4491,!0x0))return _0x56901f;if(!Gt(_0x56901f,_0x2a1270)){_0x4a4491['containsRange'](_0x3f52ca)?_0x56901f['removeMarkers']():_0x3f52ca[_0x5067('0x24')](_0x512e1b)?_0x512e1b=_0x3f52ca[_0x5067('0x5a')]:_0x3f52ca['containsPosition'](_0x45c6f5)&&(_0x45c6f5=_0x3f52ca[_0x5067('0xe')]);continue;}_0x512e1b=_0x512e1b[_0x5067('0x11a')](_0x3f52ca['start'])?_0x512e1b:_0x3f52ca['start'],_0x45c6f5=_0x45c6f5[_0x5067('0x4f')](_0x3f52ca[_0x5067('0x5a')])?_0x45c6f5:_0x3f52ca[_0x5067('0x5a')],_0x2a1270=Object['assign']({},_0x56901f[_0x5067('0x2')]),_0x4c23e9?_0x3f52ca[_0x5067('0xe')][_0x5067('0x11a')](_0x4c23e9[_0x5067('0xd8')]()[_0x5067('0xe')])?(_0x4c23e9[_0x5067('0x62')](),_0x4c23e9=_0x56901f):_0x56901f[_0x5067('0x62')]():_0x4c23e9=_0x56901f;}}}if(_0x4c23e9)return this[_0x5067('0x23')](_0x4c23e9,this[_0x5067('0x160')][_0x5067('0x80')](_0x512e1b,_0x45c6f5)),_0x4c23e9;{const _0xe243f1=_0x4f1cad(),_0x554594=this[_0x5067('0x160')][_0x5067('0x80')](_0x512e1b,_0x45c6f5),_0x4c105f=_0x54f275['id'],_0x39bdfb=_0x353bf8?_0x5067('0x2c')+_0x353bf8:_0x5067('0x127'),_0x480447=this[_0x5067('0x72')]({'id':_0xe243f1,'type':_0x39bdfb,'createdAt':new Date(),'authorId':_0x4c105f,'attributes':_0x2a1270});return this[_0x5067('0xc2')](_0x39bdfb,_0xe243f1,_0x4c105f,_0x554594),_0x480447;}}[_0x5067('0xde')](_0x473314,_0x2ed2d6=_0x5067('0xd5'),_0x464577={}){const _0x569c77=this[_0x5067('0x1a')]['plugins']['get'](_0x5067('0x14f'))['me'],_0x546891=_0x473314[_0x5067('0x83')](_0x43888e=>new _0x108700(_0x43888e['start'],_0x43888e[_0x5067('0x5a')])),_0x4dee6f=new Set();for(const {suggestion:_0x3c5d88,meta:_0x46bbd5}of this[_0x5067('0x79')](_0x546891,_0x5067('0xef')))_0x46bbd5[_0x5067('0x9f')]&&!_0x46bbd5[_0x5067('0x146')]&&_0x4dee6f[_0x5067('0x157')](_0x3c5d88);for(const _0x7380c of _0x4dee6f)if(_0x7380c[_0x5067('0x3a')]){const _0x50999f=_0x7380c[_0x5067('0x14a')]();(!_0x7380c[_0x5067('0x2')]||!_0x7380c[_0x5067('0x2')][_0x5067('0x4c')])&&(_0x50999f['every'](_0x34d311=>_0x546891['some'](_0x5c4e05=>_0x5c4e05['containsRange'](_0x34d311,!0x0)))&&_0x7380c[_0x5067('0xe0')]());if(_0x546891[_0x5067('0x22')](_0x2171ed=>_0x50999f[_0x5067('0x8f')](_0x426484=>_0x426484[_0x5067('0x11b')](_0x2171ed,!0x0)))){const _0x2c3fe7=this[_0x5067('0x10')]['getSuggestionCallback'](_0x5067('0x127'),_0x2ed2d6,_0x5067('0xbc'));return this['forceDefaultExecution'](()=>_0x2c3fe7(_0x473314,null,_0x464577)),null;}}else{const _0x3abe6f=_0x7380c[_0x5067('0xd8')]();_0x546891[_0x5067('0x8f')](_0x266a9e=>_0x266a9e[_0x5067('0x11b')](_0x3abe6f,!0x0))&&_0x7380c[_0x5067('0xe0')]();if(_0x546891[_0x5067('0x22')](_0x4d1a2a=>_0x3abe6f[_0x5067('0x11b')](_0x4d1a2a,!0x0))){const _0x3853a1=this[_0x5067('0x10')][_0x5067('0xcc')](_0x5067('0x127'),_0x2ed2d6,'accept');return this['forceDefaultExecution'](()=>_0x3853a1(_0x546891,null,_0x464577)),null;}}const _0x38827f=this['_suggestionFactory'][_0x5067('0xcc')]('deletion',_0x2ed2d6,_0x5067('0x167'));let _0x219976=null;for(const _0x1bb7d8 of this['getSuggestions']())if(_0x1bb7d8[_0x5067('0xed')]['id']==_0x569c77['id']&&_0x1bb7d8[_0x5067('0x98')]&&_0x5067('0x127')==_0x1bb7d8[_0x5067('0x141')]&&_0x1bb7d8['subType']==_0x2ed2d6&&Gt(_0x1bb7d8,_0x464577)&&(_0x38827f(_0x1bb7d8[_0x5067('0x14a')](),_0x546891)||_0x38827f(_0x546891,_0x1bb7d8[_0x5067('0x14a')]()))){if(_0x219976){if(_0x1bb7d8[_0x5067('0x2e')]&&_0x1bb7d8[_0x5067('0x2e')]['length'])continue;for(const _0x3db683 of _0x1bb7d8[_0x5067('0x14a')]())_0x219976[_0x5067('0xaa')](_0x3db683)||_0x219976['addRange'](_0x3db683);_0x1bb7d8[_0x5067('0x62')]();}else{_0x219976=_0x1bb7d8;for(const _0xbb7772 of _0x546891)_0x1bb7d8[_0x5067('0xaa')](_0xbb7772)||_0x1bb7d8[_0x5067('0x1')](_0xbb7772);}}if(_0x219976)return _0x219976;_0x4dee6f[_0x5067('0x26')]();for(const {suggestion:_0x5d7be8,meta:_0x32e855}of this[_0x5067('0x79')](_0x546891,_0x5067('0x127')))_0x32e855[_0x5067('0x9f')]&&(this[_0x5067('0x122')]||!_0x32e855[_0x5067('0xff')]&&!_0x32e855[_0x5067('0x4')])&&Gt(_0x5d7be8,_0x464577)&&_0x4dee6f[_0x5067('0x157')](_0x5d7be8);for(const _0x259f81 of _0x4dee6f){const _0x10da3e=_0x259f81['getRanges']();if(!_0x464577||!_0x464577[_0x5067('0x4c')]){if(_0x546891['every'](_0x5bb4f3=>_0x10da3e[_0x5067('0x8f')](_0x488578=>_0x488578[_0x5067('0x11b')](_0x5bb4f3,!0x0))))return _0x259f81;}(!_0x259f81[_0x5067('0x2')]||!_0x259f81[_0x5067('0x2')][_0x5067('0x4c')])&&(_0x10da3e['every'](_0x312b62=>_0x546891[_0x5067('0x8f')](_0x134175=>_0x134175[_0x5067('0x11b')](_0x312b62,!0x0)))&&_0x259f81[_0x5067('0xe0')]());}const _0x42157f=_0x4f1cad(),_0xbc0a3d=_0x569c77['id'],_0xf31584=_0x5067('0x2c')+_0x2ed2d6,_0x24efcb=this[_0x5067('0x72')]({'id':_0x42157f,'type':_0xf31584,'createdAt':new Date(),'authorId':_0xbc0a3d,'attributes':_0x464577});for(const _0x1e5160 of _0x546891)_0x1e5160[_0x5067('0xb2')](),_0x1e5160[_0x5067('0xc3')]||'$graveyard'==_0x1e5160['root'][_0x5067('0x102')]||this['_addSuggestionMarker'](_0xf31584,_0x42157f,_0xbc0a3d,_0x1e5160,_0x1629a3[_0x5067('0xa1')]());return _0x24efcb;}[_0x5067('0x145')](_0x3c8ed0,_0x18d0e1,_0x1d209e,_0x109e1c,_0x122ee7){if(_0x3c8ed0['isCollapsed'])return[];if(_0x5067('0x75')===this[_0x5067('0x10e')])return[];const _0xad8326=this['editor'][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me']['id'],_0x10ea97=Array[_0x5067('0xf3')](this[_0x5067('0x5f')]['values']())[_0x5067('0x19')](_0x35554c=>'attribute'==_0x35554c[_0x5067('0x141')]&&_0x35554c['data']['key']==_0x18d0e1&&_0x35554c[_0x5067('0xaa')](_0x3c8ed0));if(_0x5067('0x97')===this[_0x5067('0x10e')]){const _0x2bae2d=this[_0x5067('0x79')](_0x3c8ed0,'insertion')[_0x5067('0x19')](({meta:_0x4f1af0})=>_0x4f1af0['isOwn']&&!_0x4f1af0[_0x5067('0x4')]&&!_0x4f1af0[_0x5067('0x146')])[_0x5067('0x83')](({suggestion:_0x1d1bc7})=>_0x1d1bc7);_0x10ea97[_0x5067('0x7')](..._0x2bae2d);}const _0x4a0ebc=new Map([[_0x3c8ed0,_0x1d209e]]);for(const _0x426ee of _0x10ea97){const _0x426c3e='attribute'==_0x426ee[_0x5067('0x141')]?_0x426ee[_0x5067('0xc9')][_0x5067('0x1f')]:void 0x0,_0x4421f3=_0x426ee['getFirstRange'](),_0x1e0948=Array[_0x5067('0xf3')](_0x4a0ebc[_0x5067('0x6e')]())[_0x5067('0xbf')](_0x62d13c=>_0x62d13c['isIntersecting'](_0x4421f3));if(!_0x1e0948)continue;const _0x3b2560=_0x1e0948[_0x5067('0x10d')](_0x4421f3);this[_0x5067('0x11e')](_0x18d0e1)&&_0x5067('0xef')==_0x426ee[_0x5067('0x141')]&&0x0!=_0x3b2560[_0x5067('0xdb')]||(_0x4a0ebc[_0x5067('0x61')](_0x1e0948),_0x3b2560['forEach'](_0x240068=>{_0x4a0ebc[_0x5067('0x150')](_0x240068,_0x1d209e);}),_0x5067('0xef')!=_0x426ee[_0x5067('0x141')]&&_0x426c3e!=_0x109e1c&&_0x4a0ebc[_0x5067('0x150')](_0x1e0948[_0x5067('0xe1')](_0x4421f3),_0x426c3e));}const _0x5a8438=[];for(const [_0x53c05d,_0x5cbcef]of _0x4a0ebc){const _0x1ddae1=_0x4f1cad(),_0x5c68e2={'key':_0x18d0e1,'oldValue':_0x5cbcef,'newValue':_0x109e1c};_0x18d0e1[_0x5067('0xdb')]>0x25&&console['warn'](_0x5067('0x48'),{'key':_0x18d0e1});const _0x362842=('attribute:'+(_0x18d0e1+'|'+Rt({'newValue':_0x109e1c})))[_0x5067('0xe8')](0x0,0x3c),_0x421742=this[_0x5067('0x72')]({'id':_0x1ddae1,'type':_0x362842,'data':_0x5c68e2,'createdAt':new Date(),'authorId':_0xad8326,'attributes':_0x122ee7});_0x5a8438[_0x5067('0xba')](_0x421742),this[_0x5067('0xc2')](_0x362842,_0x1ddae1,_0xad8326,_0x53c05d);}return _0x5a8438;}[_0x5067('0x110')](_0x254454){this[_0x5067('0x52')]['add'](_0x254454);}['_registerInlineAttribute'](_0x1841d2){this['_inlineAttributeKeys']['add'](_0x1841d2);}[_0x5067('0x77')](_0x13705c,_0x52110e=[],_0x1f5907=[]){this['enableCommand'](_0x13705c,(_0xc2ab68,..._0x39abf5)=>{this[_0x5067('0x63')](()=>{_0xc2ab68(..._0x39abf5);});});for(const _0x5c8c81 of _0x52110e)this[_0x5067('0x54')](_0x5c8c81);for(const _0x2ef208 of _0x1f5907)this[_0x5067('0x110')](_0x2ef208);}[_0x5067('0x23')](_0x308830,_0x51605e){const _0x29346b=_0x308830[_0x5067('0x9b')]();this[_0x5067('0x160')][_0x5067('0xc1')](_0x1372b4=>{_0x1372b4[_0x5067('0xeb')](_0x29346b,{'range':_0x51605e});});}[_0x5067('0x168')](_0x2187a0){const _0x49cb48=_0x2187a0['id'],_0x5af77b=this[_0x5067('0x1a')][_0x5067('0xfe')]['get'](_0x5067('0x50'));this[_0x5067('0x88')][_0x5067('0x129')](_0x49cb48)||this[_0x5067('0x88')][_0x5067('0xb5')]({'channelId':_0x5af77b,'threadId':_0x49cb48,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5269f2=this[_0x5067('0x88')][_0x5067('0x126')](_0x49cb48);_0x5269f2[_0x5067('0xe7')]('isRemovable'),_0x5269f2[_0x5067('0xf1')]=!0x1,_0x2187a0['commentThread']=_0x5269f2;}[_0x5067('0x111')](_0x8d0fb2,_0x167fc0,_0x47fd52,_0x59168b){if(_0x8d0fb2['type']!=_0x167fc0||_0x8d0fb2[_0x5067('0x128')]!=_0x47fd52||_0x8d0fb2[_0x5067('0x81')]['id']!=_0x59168b)throw this[_0x5067('0x1a')][_0x5067('0x103')](_0x5067('0x76')),new _0x4a14e0(_0x5067('0x76'),this);}[_0x5067('0xb9')](_0x5bfd40,_0x46edb7){const _0x41cb50=_0x5bfd40[_0x5067('0xd8')]();if(_0x46edb7[_0x5067('0x12e')](_0x41cb50))_0x5bfd40[_0x5067('0x62')]();else{if(_0x41cb50[_0x5067('0x11b')](_0x46edb7)){const _0x12023e=this['_model'][_0x5067('0x9a')](_0x46edb7[_0x5067('0xe')][_0x5067('0x67')],_0x5067('0x5a'));this[_0x5067('0x23')](_0x5bfd40,this['_model'][_0x5067('0x80')](_0x41cb50[_0x5067('0xe')],_0x12023e));const _0xb1885d=_0x4f1cad(),_0x48c4c8=_0x5bfd40[_0x5067('0x81')]['id'],_0xdf3701=_0x5bfd40[_0x5067('0x141')]+':'+_0x5bfd40['subType'];this[_0x5067('0x72')]({'id':_0xb1885d,'type':_0xdf3701,'createdAt':new Date(),'authorId':_0x48c4c8,'data':_0x5bfd40[_0x5067('0xc9')],'attributes':_0x5bfd40[_0x5067('0x2')]});const _0x27839a=this[_0x5067('0x160')][_0x5067('0x9a')](_0x46edb7[_0x5067('0x5a')][_0x5067('0x109')],_0x5067('0x151')),_0x20a6a3=this[_0x5067('0x160')][_0x5067('0x80')](_0x27839a,_0x41cb50[_0x5067('0x5a')]);this[_0x5067('0xc2')](_0xdf3701,_0xb1885d,_0x48c4c8,_0x20a6a3);}else{if(_0x41cb50[_0x5067('0x24')](_0x46edb7[_0x5067('0xe')])){const _0x34577e=this['_model'][_0x5067('0x9a')](_0x46edb7[_0x5067('0xe')][_0x5067('0x67')],_0x5067('0x5a'));this[_0x5067('0x23')](_0x5bfd40,this[_0x5067('0x160')]['createRange'](_0x41cb50['start'],_0x34577e));}else{const _0x4b6d83=this[_0x5067('0x160')][_0x5067('0x9a')](_0x46edb7[_0x5067('0x5a')]['parent'],_0x5067('0x151'));this[_0x5067('0x23')](_0x5bfd40,this[_0x5067('0x160')][_0x5067('0x80')](_0x4b6d83,_0x41cb50[_0x5067('0x5a')]));}}}}[_0x5067('0x139')](_0x3fa9e3){for(const {suggestion:_0x1d8abd,meta:_0xc86f29}of this[_0x5067('0x79')](_0x3fa9e3,_0x5067('0xef'))){if(!_0xc86f29[_0x5067('0x9f')])continue;const _0x39443f=_0x1d8abd['getRanges']();for(const _0x398745 of _0x39443f)if(!_0x3fa9e3[_0x5067('0x10d')](_0x398745)['length'])return!0x0;}return!0x1;}[_0x5067('0x117')](_0x5c1c93){const _0x48386e=this['editor'][_0x5067('0x32')][_0x5067('0xce')]('Users')[_0x5067('0xe5')](_0x5c1c93);if(!_0x48386e)throw new _0x4a14e0(_0x5067('0x3c'),this);return _0x48386e;}[_0x5067('0x84')](_0x5f0162){const _0x3f7480=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')]('Users'),_0x2d04e1=_0x3e3341('external:'+_0x5f0162),_0x1ac1c0=_0x3f7480[_0x5067('0xe5')](_0x2d04e1);return _0x1ac1c0||_0x3f7480[_0x5067('0x2d')]({'id':_0x2d04e1,'name':_0x5f0162});}[_0x5067('0xa3')](_0x4fee43,_0x45333a,_0x5a5631,_0x5b6f4d,_0x5b8b15){const _0xf04cb9=this[_0x5067('0x117')](_0x5b6f4d),_0x189386=this['_suggestionFactory'][_0x5067('0x65')](_0x4fee43,_0x45333a,_0x5a5631,_0xf04cb9,_0x5b8b15,_0x5ea403=>this['_updateSuggestionData'](_0x5a5631,{'attributes':_0x5ea403}));return this['listenTo'](_0x189386,_0x5067('0xbc'),()=>{this[_0x5067('0x15c')](_0x5a5631,{'state':'accepted'});},{'priority':'high'}),this[_0x5067('0x38')](_0x189386,'discard',()=>{this[_0x5067('0x15c')](_0x5a5631,{'state':_0x5067('0xf')});},{'priority':_0x5067('0x1e')}),this['_suggestions'][_0x5067('0x150')](_0x5a5631,_0x189386),this[_0x5067('0x119')][_0x5067('0x150')](_0x189386,_0x5067('0x93')),_0x189386;}['_splitMarkerName'](_0x411a65){const _0x3a3e0b=_0x411a65[_0x5067('0x5b')](':');return{'group':_0x3a3e0b[0x0],'type':_0x3a3e0b[0x1],'subType':_0x3a3e0b[_0x5067('0xdb')]>=0x5?_0x3a3e0b[0x2]:null,'id':_0x3a3e0b[_0x5067('0xdb')]<0x5?_0x3a3e0b[0x2]:_0x3a3e0b[0x3],'authorId':_0x3a3e0b[_0x5067('0xdb')]<0x5?_0x3a3e0b[0x3]:_0x3a3e0b[0x4],'markerCount':0x6==_0x3a3e0b[_0x5067('0xdb')]?_0x3a3e0b[0x5]:null};}[_0x5067('0x5c')](_0x91e2c9,_0x39ff19,_0x4c00f6){const _0xa57045=_0x91e2c9['getFirstRange'](),_0x46a228=_0xa57045[_0x5067('0xe')],_0x2bb855=_0xa57045['end'];this[_0x5067('0x23')](_0x91e2c9,this[_0x5067('0x160')]['createRange'](_0x46a228,_0x39ff19));const _0x2c6220=_0x4f1cad(),_0x424ce8=_0x91e2c9[_0x5067('0x81')]['id'],_0x3034b7=_0x91e2c9[_0x5067('0x141')]+(_0x91e2c9[_0x5067('0x128')]?':'+_0x91e2c9['subType']:'');this['_setSuggestionData']({'id':_0x2c6220,'type':_0x3034b7,'createdAt':new Date(),'authorId':_0x424ce8,'originalSuggestionId':_0x91e2c9['id'],'attributes':_0x91e2c9['attributes'],'data':_0x91e2c9['data']});const _0x5da508=Pt(_0x91e2c9);(_0x5067('0x8b')==_0x91e2c9[_0x5067('0x141')]||_0x5da508&&this['_isBlockAttribute'](_0x5da508))&&(_0x4c00f6=this[_0x5067('0x160')][_0x5067('0x49')](_0x4c00f6[_0x5067('0x109')])),this[_0x5067('0xc2')](_0x3034b7,_0x2c6220,_0x424ce8,this[_0x5067('0x160')]['createRange'](_0x4c00f6,_0x2bb855));}['_findSuggestions'](_0x769e9c,_0x2deb48=null){const _0x4735f0=[],_0x1cfb47=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x14f'))['me'];Array[_0x5067('0x53')](_0x769e9c)||(_0x769e9c=[_0x769e9c]);for(const _0x1af727 of this[_0x5067('0xfa')]()){if(!_0x1af727[_0x5067('0x98')])continue;if(_0x2deb48&&_0x1af727[_0x5067('0x141')]!=_0x2deb48)continue;let _0x30b2f9=!0x1;for(const _0x2462ba of _0x1af727[_0x5067('0x14a')]()){for(const _0x433240 of _0x769e9c){const _0x5d5a57=_0x433240[_0x5067('0xe')]['isEqual'](_0x2462ba['end'])||_0x433240['end']['isEqual'](_0x2462ba['start']);if(_0x5d5a57||_0x433240[_0x5067('0xe1')](_0x2462ba)){const _0x37be91=_0x433240[_0x5067('0x11b')](_0x2462ba)&&Tt(this[_0x5067('0x160')][_0x5067('0x13a')],_0x2462ba[_0x5067('0xe')],_0x433240),_0x11fb1a=_0x2462ba[_0x5067('0x11b')](_0x433240)&&Tt(this[_0x5067('0x160')]['schema'],_0x433240['start'],_0x2462ba);_0x4735f0[_0x5067('0xba')]({'suggestion':_0x1af727,'meta':{'isOwn':_0x1cfb47==_0x1af727['author'],'isNextTo':_0x5d5a57,'isInsideObject':_0x37be91,'containsRangeInObject':_0x11fb1a}}),_0x30b2f9=!0x0;break;}}if(_0x30b2f9)break;}}return _0x4735f0;}[_0x5067('0xc2')](_0x46efc3,_0x45a8e9,_0x3188f7,_0x3a52f0,_0x25b9d2){this[_0x5067('0x160')]['change'](_0x3689dd=>{let _0xd91978='suggestion:'+_0x46efc3+':'+_0x45a8e9+':'+_0x3188f7;_0x25b9d2&&(_0xd91978=_0xd91978+':'+_0x25b9d2),_0x3689dd['addMarker'](_0xd91978,{'range':_0x3a52f0,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x5067('0x6a')](_0x248598){const _0x46daea=_0x248598[_0x5067('0xee')],_0x5621a4=_0x248598[_0x5067('0x152')];_0x248598[_0x5067('0xee')]=null,_0x248598[_0x5067('0x152')]=null,null!=_0x46daea&&(_0x46daea[_0x5067('0x152')]=_0x5621a4),null!=_0x5621a4&&(_0x5621a4['previous']=_0x46daea),_0x5067('0x140')==this[_0x5067('0x119')][_0x5067('0xce')](_0x248598)&&(this[_0x5067('0x119')][_0x5067('0x150')](_0x248598,'removed'),this[_0x5067('0xe2')](_0x5067('0x153'),_0x248598,_0x46daea,_0x5621a4));}[_0x5067('0x72')](_0x5013e5){const _0xc33e19=_0x5013e5['id'],_0x5976bd=this[_0x5067('0xd1')](_0x5013e5);if(this[_0x5067('0x134')]&&this[_0x5067('0x134')][_0x5067('0x95')]){const _0x5f1f38=this[_0x5067('0x1a')]['plugins']['get']('PendingActions'),_0xa5421e=_0x5976bd[_0x5067('0x55')],_0x46c89e=_0x5976bd[_0x5067('0x128')]?_0x5976bd[_0x5067('0x141')]+':'+_0x5976bd['subType']:_0x5976bd['type'],_0x8d4884=this[_0x5067('0x1a')][_0x5067('0xbe')],_0x568375=_0x5f1f38[_0x5067('0x157')](_0x2de78a(_0x8d4884,_0x5067('0x42'))),_0xcb35e={'id':_0xc33e19,'type':_0x46c89e,'hasComments':_0xa5421e,'data':_0x5013e5[_0x5067('0xc9')]||null,'originalSuggestionId':_0x5013e5[_0x5067('0x131')]||null,'attributes':_0x5976bd[_0x5067('0x2')]};this['_adapter']['addSuggestion'](_0xcb35e)[_0x5067('0xae')](_0x26a057=>{_0x5976bd[_0x5067('0x13')]=!0x0,_0x5f1f38[_0x5067('0x13c')](_0x568375),_0x26a057&&_0x26a057[_0x5067('0x4d')]&&(this[_0x5067('0x5f')][_0x5067('0xce')](_0xc33e19)[_0x5067('0x4d')]=_0x26a057[_0x5067('0x4d')]);})['catch'](_0x342cf6=>{throw _0x1665dd(_0x5067('0xb6')),this[_0x5067('0x1a')][_0x5067('0x44')][_0x5067('0xb7')]({'isUndoable':!0x1},()=>{_0x5976bd[_0x5067('0xe0')]();}),_0x5976bd[_0x5067('0x91')](),this[_0x5067('0x5f')][_0x5067('0x61')](_0x5976bd['id']),this[_0x5067('0x119')][_0x5067('0x61')](_0x5976bd),_0x342cf6;});}return _0x5976bd;}['_isBlockAttribute'](_0x1e68c4){return this[_0x5067('0x52')]['has'](_0x1e68c4);}[_0x5067('0x15c')](_0x1b1a54,_0x16314c){const _0x20a81b=this[_0x5067('0x1a')][_0x5067('0x32')][_0x5067('0xce')](_0x5067('0x116')),_0x183dbe=this[_0x5067('0x87')](_0x1b1a54);if(this['_adapter']&&this[_0x5067('0x134')][_0x5067('0x166')]){if(_0x183dbe[_0x5067('0x13')]){const _0x374628=_0x20a81b[_0x5067('0x157')](_0x2de78a(this[_0x5067('0x1a')][_0x5067('0xbe')],'PENDING_ACTION_SUGGESTION'));this[_0x5067('0x134')][_0x5067('0x166')](_0x1b1a54,_0x16314c)['then'](()=>{_0x20a81b['remove'](_0x374628);});}else _0x183dbe['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x1b1a54,_0x16314c);});}}[_0x5067('0x162')](_0xfc533b){if(!this['_adapter']||!this[_0x5067('0x134')][_0x5067('0x87')])throw new _0x4a14e0(_0x5067('0x6c'),this);return this['_adapter'][_0x5067('0x87')](_0xfc533b);}['_handleNewSuggestionMarker'](_0x29ad2){const {id:_0x5f0bcd,type:_0x54c448,subType:_0x36e20b,authorId:_0x216537}=this['_splitMarkerName'](_0x29ad2),_0x141a07=this[_0x5067('0x5f')]['get'](_0x5f0bcd)||this[_0x5067('0xa3')](_0x54c448,_0x36e20b,_0x5f0bcd,_0x216537,{});switch(this['_checkSuggestionCorrectness'](_0x141a07,_0x54c448,_0x36e20b,_0x216537),this[_0x5067('0x119')][_0x5067('0xce')](_0x141a07)){case _0x5067('0x93'):this['_getSuggestionData'](_0x5f0bcd)[_0x5067('0xae')](_0x72347e=>{let _0x5c54cc=Promise['resolve']();_0x72347e[_0x5067('0x55')]&&(_0x5c54cc=this['_commentsRepository'][_0x5067('0x113')]({'channelId':this[_0x5067('0x1a')][_0x5067('0xfe')][_0x5067('0xce')](_0x5067('0x50')),'threadId':_0x5f0bcd})),_0x5c54cc[_0x5067('0xae')](()=>{this[_0x5067('0xd1')](_0x72347e)['_saved']=!0x0;});}),this[_0x5067('0x119')][_0x5067('0x150')](_0x141a07,_0x5067('0x74'));break;case'removed':this[_0x5067('0x15c')](_0x5f0bcd,{'state':'open'});case _0x5067('0xdf'):this[_0x5067('0x119')][_0x5067('0x150')](_0x141a07,'ready'),this[_0x5067('0xe2')]('suggestionLoaded',_0x141a07);break;case _0x5067('0x140'):this[_0x5067('0xe2')]('suggestionChanged',_0x141a07);}return _0x141a07[_0x5067('0x30')](_0x29ad2),_0x141a07;}['_refreshSuggestionsChain'](_0x32fdfa){const _0x395cbe=Array[_0x5067('0xf3')](_0x32fdfa),_0x4ec398=_0x395cbe[_0x5067('0x19')](_0x717758=>_0x5067('0x36')==_0x717758[_0x5067('0x141')]);this['_refreshAttributeSuggestionsChain'](_0x4ec398);const _0x2ee95e=_0x395cbe[_0x5067('0x19')](_0xc55063=>!_0xc55063['isMultiRange']&&'attribute'!=_0xc55063['type']),_0x368a59=this[_0x5067('0xfa')]({'skipNotAttached':!0x0})[_0x5067('0x19')](_0x829d9b=>!_0x829d9b['isMultiRange']&&_0x5067('0x36')!=_0x829d9b[_0x5067('0x141')]),_0x1d1cf7=_0x368a59[_0x5067('0x19')](_0xd07377=>!_0x32fdfa[_0x5067('0x17')](_0xd07377)),_0x4ba521=new Map(_0x368a59[_0x5067('0x83')](_0x52e2e4=>[_0x52e2e4,this[_0x5067('0x10')]['getSuggestionCallback'](_0x52e2e4[_0x5067('0x141')],_0x52e2e4[_0x5067('0x128')],_0x5067('0xd4'))])),_0x4f44d0=new Map(_0x368a59[_0x5067('0x83')](_0x49ce41=>[_0x49ce41,_0x49ce41[_0x5067('0xd8')]()])),_0x1883e8=new Set(),_0xbb96bb=new Set();for(let _0x1c7844=0x0;_0x1c7844<_0x2ee95e[_0x5067('0xdb')];_0x1c7844++)_0x58fc2d(_0x2ee95e[_0x1c7844],_0x2ee95e,_0x1c7844+0x1);for(let _0x51381b=0x0;_0x51381b<_0x2ee95e[_0x5067('0xdb')];_0x51381b++)_0x58fc2d(_0x2ee95e[_0x51381b],_0x1d1cf7,0x0);const _0x2171e1=new Set();for(let _0x4a5e4e=0x0;_0x4a5e4e<_0x2ee95e[_0x5067('0xdb')];_0x4a5e4e++){const _0x3cf7ec=_0x2ee95e[_0x4a5e4e];!_0xbb96bb[_0x5067('0x17')](_0x3cf7ec)&&_0x3cf7ec[_0x5067('0xee')]&&(_0x2171e1[_0x5067('0x157')](_0x3cf7ec[_0x5067('0xee')]),_0x3cf7ec[_0x5067('0xee')][_0x5067('0x152')]===_0x3cf7ec&&(_0x3cf7ec[_0x5067('0xee')]['next']=null),_0x3cf7ec[_0x5067('0xee')]=null),!_0x1883e8[_0x5067('0x17')](_0x3cf7ec)&&_0x3cf7ec[_0x5067('0x152')]&&(_0x2171e1[_0x5067('0x157')](_0x3cf7ec[_0x5067('0x152')]),_0x3cf7ec[_0x5067('0x152')]['previous']===_0x3cf7ec&&(_0x3cf7ec[_0x5067('0x152')]['previous']=null),_0x3cf7ec[_0x5067('0x152')]=null);}function _0x58fc2d(_0x23e518,_0x12dd50,_0x17350d){for(let _0x467bbe=_0x17350d;_0x467bbe<_0x12dd50[_0x5067('0xdb')];_0x467bbe++){const _0x361863=_0x2cecec(_0x23e518,_0x12dd50[_0x467bbe]);_0x361863&&(_0x361863[0x0][_0x5067('0x152')]=_0x361863[0x1],_0x361863[0x1][_0x5067('0xee')]=_0x361863[0x0],_0x1883e8[_0x5067('0x157')](_0x361863[0x0]),_0xbb96bb[_0x5067('0x157')](_0x361863[0x1]));}}function _0x2cecec(_0x5f2800,_0x481ce3){if(_0x5f2800[_0x5067('0xed')]['id']!==_0x481ce3[_0x5067('0xed')]['id'])return null;const _0x2d4073=_0x4ba521['get'](_0x5f2800)(_0x5f2800,_0x481ce3,_0x4f44d0[_0x5067('0xce')](_0x5f2800),_0x4f44d0[_0x5067('0xce')](_0x481ce3));if(!_0x2d4073)return null;return _0x4ba521[_0x5067('0xce')](_0x481ce3)(_0x5f2800,_0x481ce3,_0x4f44d0['get'](_0x5f2800),_0x4f44d0[_0x5067('0xce')](_0x481ce3))?_0x2d4073[0x1][_0x5067('0x2e')]&&_0x2d4073[0x1][_0x5067('0x2e')][_0x5067('0xdb')]?null:_0x2d4073:null;}_0x2171e1['size']&&this['_refreshSuggestionsChain'](_0x2171e1);}[_0x5067('0x121')](_0x1e4a69){if(0x0==_0x1e4a69[_0x5067('0xdb')])return;const _0x18a995=this[_0x5067('0xfa')]({'skipNotAttached':!0x0})['filter'](_0x41d440=>_0x5067('0x36')==_0x41d440[_0x5067('0x141')]&&_0x41d440[_0x5067('0x3b')]),_0x210c31=[],_0x537cfa=new Map();for(const _0x2caf3d of _0x18a995){const _0x1bc17a=_0x3e3341(_0x2caf3d['attributes']);_0x537cfa[_0x5067('0x17')](_0x1bc17a)||(_0x537cfa['set'](_0x1bc17a,_0x210c31[_0x5067('0xdb')]),_0x210c31[_0x5067('0xba')]([]));const _0x49ddc7=_0x537cfa['get'](_0x1bc17a);_0x210c31[_0x49ddc7][_0x5067('0xba')](_0x2caf3d);}!function(){_0x210c31['sort']((_0x213eeb,_0xc80248)=>{const _0x50082e=_0x213eeb[0x0][_0x5067('0x4d')],_0x290d17=_0xc80248[0x0][_0x5067('0x4d')];return _0x50082e==_0x290d17?_0x213eeb[0x0][_0x5067('0x2')][_0x5067('0x137')]<_0xc80248[0x0]['attributes'][_0x5067('0x137')]?-0x1:0x1:_0x50082e<_0x290d17?-0x1:0x1;});for(const _0xd50243 of _0x210c31)_0xd50243[_0x5067('0xac')]((_0x83bb43,_0x2073a2)=>_0x83bb43['id']<_0x2073a2['id']?-0x1:0x1);}();for(let _0x525566=0x0;_0x525566<_0x210c31[_0x5067('0xdb')];_0x525566++){if(0x0==_0x210c31[_0x525566][_0x5067('0xdb')])continue;const _0x143ade=[];for(let _0x5e20e0=_0x525566+0x1;_0x5e20e0<_0x210c31[_0x5067('0xdb')];_0x5e20e0++)0x0!=_0x210c31[_0x5e20e0][_0x5067('0xdb')]&&_0x5302b1(_0x210c31[_0x525566],_0x210c31[_0x5e20e0])&&_0x143ade[_0x5067('0xba')](_0x5e20e0);for(const _0x3d3196 of _0x143ade)_0x210c31[_0x525566]=_0x210c31[_0x525566][_0x5067('0x6d')](_0x210c31[_0x3d3196]),_0x210c31[_0x3d3196]=[];}for(const _0x31d2ba of _0x210c31)for(let _0x3fb05a=0x0;_0x3fb05a<_0x31d2ba[_0x5067('0xdb')];_0x3fb05a++)_0x31d2ba[_0x3fb05a][_0x5067('0x152')]=_0x31d2ba[_0x3fb05a+0x1]||null;for(const _0xd68495 of _0x210c31)for(let _0x456a25=0x0;_0x456a25<_0xd68495['length'];_0x456a25++)_0xd68495[_0x456a25]['previous']=_0xd68495[_0x456a25-0x1]||null;function _0x5302b1(_0x172b85,_0x517cad){if(_0x172b85[0x0][_0x5067('0xed')]!==_0x517cad[0x0]['author'])return!0x1;if(!function(_0x43d5be,_0x26e39b){if(!_0x43d5be[_0x5067('0x55')]&&!_0x26e39b[_0x5067('0x55')])return!0x0;if(_0x43d5be[_0x5067('0x55')]&&_0x26e39b[_0x5067('0x55')])return!0x1;if(_0x43d5be[_0x5067('0x55')]&&_0x26e39b[_0x5067('0x4d')]<_0x43d5be['commentThread'][_0x5067('0x12d')][_0x5067('0xce')](0x0)[_0x5067('0x4d')])return!0x0;if(_0x26e39b[_0x5067('0x55')]&&_0x43d5be['createdAt']<_0x26e39b[_0x5067('0x2e')]['comments'][_0x5067('0xce')](0x0)[_0x5067('0x4d')])return!0x0;return!0x1;}(_0x172b85[0x0],_0x517cad[0x0]))return!0x1;const _0x5e88e8=_0x358d9a(_0x172b85[0x0]['attributes'],'groupId'),_0x35180a=_0x358d9a(_0x517cad[0x0][_0x5067('0x2')],'groupId');if(!_0x3875c5(_0x5e88e8,_0x35180a))return!0x1;return!!_0x172b85['every'](_0x4d6e3f=>_0x517cad[_0x5067('0x8f')](_0x57347a=>_0x4d6e3f[_0x5067('0xd8')]()[_0x5067('0x12e')](_0x57347a[_0x5067('0xd8')]())))&&_0x517cad[_0x5067('0x22')](_0x3535cc=>_0x172b85[_0x5067('0x8f')](_0x2d30b0=>_0x3535cc[_0x5067('0xd8')]()[_0x5067('0x12e')](_0x2d30b0[_0x5067('0xd8')]())));}}[_0x5067('0x6')](_0x6de3c){const _0x3ebc45=Array[_0x5067('0xf3')](_0x6de3c),_0x30df28=this['getSuggestions']({'skipNotAttached':!0x0}),_0x479ecc=_0x30df28[_0x5067('0x19')](_0x273f67=>!_0x6de3c[_0x5067('0x17')](_0x273f67)),_0x4d72ea=new Map(_0x3ebc45['map'](_0x18b3f1=>[_0x18b3f1,this[_0x5067('0x10')][_0x5067('0xcc')](_0x18b3f1[_0x5067('0x141')],_0x18b3f1['subType'],'join')])),_0x4cb5af=new Map(_0x30df28['map'](_0x221369=>[_0x221369,_0x221369['getRanges']()]));for(let _0x3b04e6=0x0;_0x3b04e6<_0x3ebc45['length'];_0x3b04e6++){if(_0x17e179(this,_0x3ebc45[_0x3b04e6],_0x3ebc45,_0x3b04e6+0x1))return!0x0;}for(let _0x42da74=0x0;_0x42da74<_0x3ebc45[_0x5067('0xdb')];_0x42da74++){if(_0x17e179(this,_0x3ebc45[_0x42da74],_0x479ecc,0x0))return!0x0;}return!0x1;function _0x17e179(_0x1ea48c,_0x44d6e7,_0x3ad2f5,_0x21b20c){for(let _0x21fef3=_0x21b20c;_0x21fef3<_0x3ad2f5[_0x5067('0xdb')];_0x21fef3++){const _0x4ec3f1=_0x3ad2f5[_0x21fef3];if(_0x4ec3f1[_0x5067('0x141')]!==_0x44d6e7[_0x5067('0x141')]||_0x4ec3f1[_0x5067('0xed')]['id']!==_0x44d6e7[_0x5067('0xed')]['id']||_0x4ec3f1['subType']!==_0x44d6e7[_0x5067('0x128')])continue;if(!Vt(_0x44d6e7,_0x4ec3f1))continue;if(_0x5067('0x36')==_0x44d6e7[_0x5067('0x141')]&&_0x44d6e7[_0x5067('0xc9')]['oldValue']!=_0x4ec3f1[_0x5067('0xc9')][_0x5067('0x1f')])continue;if(_0x5067('0x36')==_0x44d6e7[_0x5067('0x141')]&&_0x1ea48c[_0x5067('0x11e')](_0x44d6e7['data']['key']))continue;if(_0x5067('0x8b')==_0x44d6e7['type']){const _0x1bb0f0=_0x1ea48c[_0x5067('0x1a')][_0x5067('0x44')],_0x4257f5=_0x44d6e7[_0x5067('0x71')]();if(_0x4257f5&&(_0x1bb0f0['schema'][_0x5067('0x47')](_0x4257f5)||_0x1bb0f0[_0x5067('0x13a')][_0x5067('0xca')](_0x4257f5)))continue;}const _0x3a329e=_0x4d72ea[_0x5067('0xce')](_0x44d6e7),_0x34d08d=_0x4cb5af[_0x5067('0xce')](_0x44d6e7),_0x539e57=_0x4cb5af['get'](_0x4ec3f1),_0x3b029d=_0x44d6e7[_0x5067('0x2e')]&&_0x44d6e7[_0x5067('0x2e')][_0x5067('0xdb')],_0x2607c4=_0x4ec3f1[_0x5067('0x2e')]&&_0x4ec3f1[_0x5067('0x2e')][_0x5067('0xdb')];if(!_0x3b029d&&_0x3a329e(_0x539e57,_0x34d08d))return _0x1ea48c['_joinSuggestions'](_0x4ec3f1,_0x44d6e7),_0x4cb5af['delete'](_0x44d6e7),!0x0;if(!_0x2607c4&&_0x3a329e(_0x34d08d,_0x539e57))return _0x1ea48c[_0x5067('0x172')](_0x44d6e7,_0x4ec3f1),_0x4cb5af['delete'](_0x4ec3f1),!0x0;}return!0x1;}}[_0x5067('0x172')](_0x28c2cc,_0x190be1){if(_0x28c2cc[_0x5067('0x3a')])for(const _0x4fb84f of _0x190be1[_0x5067('0x14a')]())_0x28c2cc[_0x5067('0x1')](_0x4fb84f);else{const _0x54bd72=_0x190be1['getFirstRange']()[_0x5067('0x5a')];this[_0x5067('0x23')](_0x28c2cc,this['_model'][_0x5067('0x80')](_0x28c2cc[_0x5067('0xd8')]()[_0x5067('0xe')],_0x54bd72));}_0x190be1['removeMarkers']();}[_0x5067('0x165')](_0x274211,_0x12851a){const _0x542e19=_0x274211[_0x5067('0xd2')](_0x5067('0xc8'))||_0x274211['startsWith'](_0x5067('0x36'))?_0x5067('0x13b'):_0x274211['toUpperCase']();return _0x2de78a(this[_0x5067('0x1a')][_0x5067('0xbe')],_0x12851a+'_'+_0x542e19+_0x5067('0xb1'));}['_initAriaMarkerChangeAnnouncements'](){const _0x51727a=this[_0x5067('0x1a')];_0x24ed9b(this[_0x5067('0x160')],({left:_0xa624bb,entered:_0x3a6a65})=>{const _0x14259c=[];for(const _0x180bc3 of _0xa624bb){const {group:_0x36dcfd,type:_0x3b4078}=this[_0x5067('0x7f')](_0x180bc3[_0x5067('0x2a')]);if(_0x5067('0x144')===_0x36dcfd){_0x14259c[_0x5067('0xba')](this[_0x5067('0x165')](_0x3b4078,'LEAVE'));break;}}for(const _0x388049 of _0x3a6a65){const {group:_0xcee2c,type:_0x235b1e}=this['_splitMarkerName'](_0x388049['name']);if('suggestion'===_0xcee2c){_0x14259c['push'](this[_0x5067('0x165')](_0x235b1e,_0x5067('0x149')));break;}}_0x14259c['length']&&_0x51727a['ui'][_0x5067('0x39')]['announce'](_0x5067('0x9c'),_0x14259c[_0x5067('0x167')]('\x20'));});}[_0x5067('0x3f')](_0x2a16f0){if(null!==this['_recordAttributeSuggestionsFromVersion'])return!0x1;const _0x204a2f=this[_0x5067('0x1a')],_0x1e92e4=_0x204a2f[_0x5067('0x44')][_0x5067('0xf7')][_0x5067('0x8')][_0x5067('0x37')]();if(0x0==_0x1e92e4[_0x5067('0xdb')])return!0x1;const _0x39bd32=[],_0x1bf298=_0x1e92e4[_0x5067('0x19')](_0x13ff52=>_0x5067('0x36')==_0x13ff52[_0x5067('0x141')]),_0x2aca25=_0x1e92e4[_0x5067('0x19')](_0x3b4c86=>_0x5067('0x12f')==_0x3b4c86['type']&&_0x5067('0x57')!=_0x3b4c86[_0x5067('0x2a')]),_0x353eda=_0x1e92e4[_0x5067('0x19')](_0x2d8bb1=>'remove'==_0x2d8bb1[_0x5067('0x141')]&&_0x5067('0x57')!=_0x2d8bb1[_0x5067('0x2a')]);for(const _0xae03ad of _0x1bf298)_0x39bd32[_0x5067('0xba')]({'key':_0xae03ad[_0x5067('0x114')],'newValue':_0xae03ad[_0x5067('0x16')],'oldValue':_0xae03ad[_0x5067('0x161')],'range':_0x4581da(_0xae03ad[_0x5067('0x99')])});for(const _0x14413c of _0x2aca25){const _0x30f8c3=_0x353eda[_0x5067('0xbf')](_0x52e438=>_0x52e438['position'][_0x5067('0x12e')](_0x14413c[_0x5067('0x173')]));_0x30f8c3&&_0x39bd32[_0x5067('0xba')]({'key':'$elementName','newValue':_0x14413c[_0x5067('0x2a')],'oldValue':_0x30f8c3['name'],'range':_0x204a2f[_0x5067('0x44')][_0x5067('0x18')](_0x14413c[_0x5067('0x173')]['nodeAfter'])});}return 0x0!=_0x39bd32['length']&&this[_0x5067('0x155')](_0x2a16f0,_0x39bd32);function _0x4581da(_0x11e5ad){return null==_0x11e5ad['end'][_0x5067('0x67')]&&_0x11e5ad[_0x5067('0x5a')][_0x5067('0x109')]==_0x11e5ad[_0x5067('0xe')][_0x5067('0xc5')]?Ut(_0x11e5ad[_0x5067('0xe')][_0x5067('0xc5')],_0x204a2f['model']):_0x11e5ad;}}[_0x5067('0x16e')](_0x303e10){let _0x593b0e=!0x1;const _0x1e98cd=this[_0x5067('0x1a')][_0x5067('0x44')]['document'][_0x5067('0x8')]['getChangedMarkers']()['filter'](_0x4022ab=>_0x4022ab[_0x5067('0xc9')]['newRange']&&_0x4022ab['name'][_0x5067('0xd2')]('suggestion:attribute:'));for(const _0x1aa20f of _0x1e98cd){const {subType:_0x4cfe38,id:_0x26a372}=this[_0x5067('0x7f')](_0x1aa20f[_0x5067('0x2a')]),_0x205eb4=_0x4cfe38['split']('|')[0x0];for(const _0x22605d of this[_0x5067('0xfa')]({'skipNotAttached':!0x0}))_0x22605d['id']!=_0x26a372&&_0x5067('0x36')==_0x22605d[_0x5067('0x141')]&&_0x22605d[_0x5067('0xc9')]&&_0x22605d[_0x5067('0xc9')][_0x5067('0xec')]==_0x205eb4&&_0x22605d['getFirstRange']()[_0x5067('0x123')](_0x1aa20f[_0x5067('0xc9')]['newRange'])&&(this[_0x5067('0xcf')](_0x22605d,_0x1aa20f[_0x5067('0xc9')]['newRange'],_0x303e10),_0x593b0e=!0x0);}return _0x593b0e;}['_recordAttributeChanges'](_0x26d30a){if(null!==this[_0x5067('0x92')])return void _0x26d30a();const _0x9203f9=this['editor'];this['_recordAttributeSuggestionsFromVersion']=_0x9203f9['model'][_0x5067('0xf7')]['version'],_0x26d30a();const _0x15a9f6=new Map();for(const _0x5d2b5b of _0x9203f9['model'][_0x5067('0xf7')]['history'][_0x5067('0x14e')](this['_recordAttributeSuggestionsFromVersion']))if([_0x5067('0x40'),_0x5067('0x10a'),_0x5067('0x16c'),'changeAttribute']['includes'](_0x5d2b5b[_0x5067('0x141')])){const _0x3aff90=_0x5d2b5b['batch'],_0x13b116=_0x15a9f6[_0x5067('0xce')](_0x3aff90)||[];_0x13b116['push'](_0x5d2b5b),_0x15a9f6[_0x5067('0x150')](_0x3aff90,_0x13b116);}this['_recordAttributeSuggestionsFromVersion']=null;for(const [_0x480a3e,_0x409f51]of _0x15a9f6){const _0xc32758=_0x4f1cad();_0x9203f9[_0x5067('0x44')][_0x5067('0xb7')](_0x480a3e,_0x4d2b9a=>{const _0x17006a=[];for(const _0x4e698e of _0x409f51){let _0x9ce1f4,_0x5d24a5,_0x4b7b42,_0x199472;if('rename'==_0x4e698e[_0x5067('0x141')]){const _0x48da08=_0x4e698e;_0x9ce1f4=Ut(_0x48da08[_0x5067('0x173')][_0x5067('0xc5')],_0x9203f9['model']),_0x5d24a5=_0x5067('0x1b'),_0x4b7b42=_0x48da08[_0x5067('0x163')],_0x199472=_0x48da08['oldName'];}else{const _0x50407f=_0x4e698e,_0x2c6af6=this[_0x5067('0x11e')](_0x50407f[_0x5067('0xec')]),_0x4ee945=this[_0x5067('0x4e')]['has'](_0x50407f['key']);if(!_0x2c6af6&&!_0x4ee945)continue;_0x9ce1f4=_0x2c6af6?Ut(_0x50407f[_0x5067('0x99')][_0x5067('0xe')]['nodeAfter'],_0x9203f9[_0x5067('0x44')]):_0x50407f[_0x5067('0x99')],_0x5d24a5=_0x50407f['key'],_0x4b7b42=_0x5067('0x16c')==_0x4e698e[_0x5067('0x141')]?void 0x0:_0x50407f[_0x5067('0x9e')],_0x199472=_0x50407f[_0x5067('0x1f')];}this[_0x5067('0x145')](_0x9ce1f4,_0x5d24a5,_0x199472,_0x4b7b42,{'groupId':_0xc32758}),_0x17006a[_0x5067('0xba')]({'range':_0x9ce1f4,'key':_0x5d24a5,'newValue':_0x4b7b42,'oldValue':_0x199472});}this['_reduceExistingSuggestions'](_0x4d2b9a,_0x17006a);});}}[_0x5067('0x155')](_0x1b012b,_0x2d6731){if(0x0==_0x2d6731['length'])return!0x1;let _0x14931b=!0x1;for(const _0x210061 of _0x2d6731){const _0x571669=this['_findSuggestions'](_0x210061[_0x5067('0x99')],_0x5067('0x36'))[_0x5067('0x19')](_0x40db16=>!_0x40db16['meta']['isNextTo'])['map'](_0x3dddea=>_0x3dddea['suggestion']),_0x1272f7=_0x3e3341({'newValue':_0x210061[_0x5067('0x9e')]});_0x571669[_0x5067('0x19')](_0x225aa9=>{const [_0x3ff2a2,_0x543e76]=_0x225aa9[_0x5067('0x128')][_0x5067('0x5b')]('|');return _0x3ff2a2==_0x210061[_0x5067('0xec')]&&_0x543e76!=_0x1272f7;})[_0x5067('0x3e')](_0x54c579=>{this[_0x5067('0xcf')](_0x54c579,_0x210061[_0x5067('0x99')],_0x1b012b),_0x14931b=!0x0;});}return _0x14931b;}[_0x5067('0xcf')](_0x24be35,_0x27c3d0,_0x7193cf){const _0x2782f3=_0x24be35['getFirstRange']()[_0x5067('0x10d')](_0x27c3d0);0x0!==_0x2782f3[_0x5067('0xdb')]?0x1!==_0x2782f3[_0x5067('0xdb')]?this['_breakSuggestionMarker'](_0x24be35,_0x27c3d0['start'],_0x27c3d0[_0x5067('0x5a')]):this[_0x5067('0x23')](_0x24be35,_0x2782f3[0x0]):_0x7193cf[_0x5067('0xc0')](_0x24be35[_0x5067('0x9b')]());}}class Bt{constructor(_0x2cff12){this['_editor']=_0x2cff12,this[_0x5067('0x160')]=_0x2cff12[_0x5067('0x44')],this[_0x5067('0xfd')]=new Map(),this[_0x5067('0x94')]=new Map(),this[_0x5067('0x21')]();}[_0x5067('0x65')](_0x4cd5d1,_0x544ec5,_0x4590ff,_0x3aa29f,_0x5c7b0e,_0x1bb1f0){return new _0x1629a3(this[_0x5067('0x160')],{'type':_0x4cd5d1,'subType':_0x544ec5,'id':_0x4590ff,'author':_0x3aa29f,'creator':_0x3aa29f,'attributes':_0x5c7b0e,'onAttributesChange':_0x1bb1f0,'onAccept':(..._0x3c4484)=>this[_0x5067('0xcc')](_0x4cd5d1,_0x544ec5,_0x5067('0xbc'))(..._0x3c4484),'onDiscard':(..._0x45d3d3)=>this[_0x5067('0xcc')](_0x4cd5d1,_0x544ec5,'discard')(..._0x45d3d3)});}['registerCustomCallback'](_0x2ad3ee,_0x1a362a,_0xff70a5,_0x114549){const _0x1c93c1=_0x2ad3ee+':'+_0x1a362a+':'+_0xff70a5;this['_customCallbacks'][_0x5067('0x150')](_0x1c93c1,_0x114549);}[_0x5067('0xcc')](_0x57de76,_0x31b057,_0x56c5de){const _0x4081fd=_0x57de76+':'+_0x31b057+':'+_0x56c5de;return this[_0x5067('0xfd')][_0x5067('0xce')](_0x4081fd)||this[_0x5067('0x94')][_0x5067('0xce')](_0x57de76+':'+_0x56c5de);}[_0x5067('0x21')](){const _0x4b3437=()=>!0x1,_0x1c1d7f=_0x3fd841=>{_0x3fd841['sort']((_0x13be97,_0x493571)=>_0x13be97[_0x5067('0xe')][_0x5067('0x11a')](_0x493571[_0x5067('0xe')])?0x1:-0x1),this[_0x5067('0x160')][_0x5067('0xc1')](_0x4d33de=>{for(const _0x328fe4 of _0x3fd841){let _0x289471;_0x289471=_0x328fe4['end']['isAtEnd']&&_0x328fe4[_0x5067('0x5a')]['parent']==_0x328fe4[_0x5067('0xe')]['nodeAfter']?_0x4d33de[_0x5067('0x8a')](_0x328fe4['start'][_0x5067('0xc5')],'on'):_0x4d33de[_0x5067('0x8a')](_0x328fe4),this['_model'][_0x5067('0xb0')](_0x289471,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0});}});},_0x46a068=(_0x2e00fb,_0x4905a4)=>{_0x4905a4&&this['_model'][_0x5067('0xc1')](_0x5e9ba1=>{const {commandName:_0x39fc5b,commandParams:_0x424d54=[]}=_0x4905a4,_0x52f652=_0x2e00fb[_0x5067('0x83')](_0x2bedc4=>(xt(_0x2bedc4)&&(_0x2bedc4=this[_0x5067('0x160')][_0x5067('0x80')](_0x2bedc4['end'])),_0x2bedc4))['filter'](_0x36c496=>_0x5067('0x51')!==_0x36c496[_0x5067('0x14d')]['rootName']);if(_0x52f652[_0x5067('0xdb')]<0x1)return;const _0x39ef68=Array['from'](this[_0x5067('0x160')]['document'][_0x5067('0x59')][_0x5067('0x14a')]())['map'](_0x3abc99=>_0x108700['fromRange'](_0x3abc99));_0x5e9ba1['setSelection'](_0x52f652);for(const _0x32e3b7 of this['_editor'][_0x5067('0x11d')]['commands']())_0x32e3b7['refresh']();_0x424d54[_0x5067('0xba')]({'forceDefaultExecution':!0x0}),this[_0x5067('0x115')][_0x5067('0x35')](_0x39fc5b,..._0x424d54);const _0x2eb7e0=_0x39ef68[_0x5067('0x19')](_0x5405bd=>_0x5067('0x51')!=_0x5405bd[_0x5067('0x14d')][_0x5067('0x102')]);_0x2eb7e0[_0x5067('0xdb')]>0x0&&_0x5e9ba1[_0x5067('0x15d')](_0x2eb7e0);for(const _0x2b4993 of _0x39ef68)_0x2b4993[_0x5067('0xb2')]();});},_0x564870=(_0x3e4565,_0x5220db)=>0x1==_0x3e4565[_0x5067('0xdb')]&&0x1==_0x5220db['length']&&_0x3e4565[0x0][_0x5067('0x5a')][_0x5067('0x12e')](_0x5220db[0x0][_0x5067('0xe')]),_0x5df31c=(_0x55647b,_0x2c822e,_0x5c8842,_0x112dfc)=>Ot(_0x55647b,_0x2c822e,_0x5c8842,_0x112dfc,this[_0x5067('0x160')])?[_0x55647b,_0x2c822e]:Ot(_0x2c822e,_0x55647b,_0x112dfc,_0x5c8842,this[_0x5067('0x160')])?[_0x2c822e,_0x55647b]:null;this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x9d'),_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xf0'),_0x1c1d7f),this[_0x5067('0x94')]['set']('insertion:join',_0x564870),this['_defaultCallbacks']['set']('insertion:chain',_0x5df31c),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x5'),_0x1c1d7f),this[_0x5067('0x94')][_0x5067('0x150')]('deletion:discard',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x2b'),_0x564870),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x106'),_0x5df31c),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xad'),_0x46a068),this[_0x5067('0x94')][_0x5067('0x150')]('formatInline:discard',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x101'),_0x564870),this['_defaultCallbacks']['set']('formatInline:chain',_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xf6'),_0x46a068),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0x15b'),_0x4b3437),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xb4'),_0x564870),this[_0x5067('0x94')][_0x5067('0x150')](_0x5067('0xb8'),_0x4b3437),this[_0x5067('0x94')]['set'](_0x5067('0xaf'),_0x4b3437),this[_0x5067('0x94')]['set'](_0x5067('0x78'),(_0x5a6ce1,_0x4bcf0e)=>{if(!_0x4bcf0e)return;const _0x2ce509=this['_editor'][_0x5067('0x32')][_0x5067('0xce')](p);this[_0x5067('0x160')][_0x5067('0xc1')](_0x717fa8=>{if(_0x5067('0x1b')==_0x4bcf0e['key'])for(const _0x575ff2 of _0x5a6ce1){const _0x4fc1ff=_0x575ff2[_0x5067('0xe')]['nodeAfter'],_0x7f774a=_0x4bcf0e[_0x5067('0x1f')];_0x717fa8[_0x5067('0x40')](_0x4fc1ff,_0x7f774a);}else{if(_0x2ce509[_0x5067('0x11e')](_0x4bcf0e[_0x5067('0xec')]))for(const _0x594cc6 of _0x5a6ce1)void 0x0!==_0x4bcf0e['oldValue']?_0x717fa8[_0x5067('0x125')](_0x4bcf0e[_0x5067('0xec')],_0x4bcf0e[_0x5067('0x1f')],_0x594cc6[_0x5067('0xe')][_0x5067('0xc5')]):_0x717fa8['removeAttribute'](_0x4bcf0e[_0x5067('0xec')],_0x594cc6[_0x5067('0xe')][_0x5067('0xc5')]);else for(const _0x203623 of _0x5a6ce1)_0x4bcf0e[_0x5067('0x1f')]?_0x717fa8['setAttribute'](_0x4bcf0e['key'],_0x4bcf0e[_0x5067('0x1f')],_0x203623):_0x717fa8[_0x5067('0x16c')](_0x4bcf0e[_0x5067('0xec')],_0x203623);}});}),this[_0x5067('0x94')][_0x5067('0x150')]('attribute:join',_0x564870);}}function Tt(_0x498e36,_0x24e3b1,_0x55b3e2){for(const _0x1b6eb7 of _0x24e3b1[_0x5067('0x109')][_0x5067('0x96')]({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x1b6eb7[_0x5067('0x14d')]==_0x1b6eb7)return!0x1;if(!_0x55b3e2['containsItem'](_0x1b6eb7))return!0x1;if(_0x498e36[_0x5067('0x47')](_0x1b6eb7)||_0x498e36['isLimit'](_0x1b6eb7))return!0x0;}return!0x1;}function xt(_0x1885fb){return _0x1885fb[_0x5067('0x5a')][_0x5067('0x109')]==_0x1885fb[_0x5067('0xe')][_0x5067('0xc5')]&&_0x1885fb[_0x5067('0x5a')][_0x5067('0xa0')];}function Et(_0x3eda7b,_0xefe71e,_0x4cbe15,_0x9e7e60){const _0x3a33bf=_0x43b2d8=>!_0x43b2d8[_0x5067('0x7e')]['is'](_0x5067('0x6f'))&&!_0x9e7e60[_0x5067('0x47')](_0x43b2d8[_0x5067('0x7e')]),_0x5a494d=_0x3eda7b[_0x5067('0xe')][_0x5067('0x11c')](_0x3a33bf),_0x32edc4=_0x3eda7b[_0x5067('0x5a')]['getLastMatchingPosition'](_0x3a33bf,{'direction':_0x5067('0x100')});return(!_0x3eda7b[_0x5067('0xe')]['isEqual'](_0x5a494d)||!_0x3eda7b[_0x5067('0x5a')]['isEqual'](_0x32edc4))&&(_0x5a494d[_0x5067('0x11a')](_0x32edc4)?_0x4cbe15[_0x5067('0xeb')](_0xefe71e,{'range':_0x4cbe15[_0x5067('0x80')](_0x5a494d,_0x32edc4)}):_0x4cbe15[_0x5067('0xc0')](_0xefe71e),!0x0);}function Rt(_0x329679){return _0x3e3341(_0x329679);}function jt(_0x2a6bdc){const _0x248a5c=_0x2a6bdc[_0x5067('0xe')][_0x5067('0xc5')];return _0x248a5c&&_0x248a5c['is']('element');}function Ut(_0x857ebf,_0x3dd834){const _0x4f140a=_0x3dd834[_0x5067('0x13a')][_0x5067('0x47')](_0x857ebf)||_0x3dd834[_0x5067('0x13a')][_0x5067('0x68')](_0x857ebf);return _0x3dd834['createRange'](_0x3dd834[_0x5067('0x9a')](_0x857ebf,_0x5067('0xc4')),_0x4f140a?_0x3dd834[_0x5067('0x118')](_0x857ebf):_0x3dd834[_0x5067('0x9a')](_0x857ebf,_0x5067('0x5a')));}function Ot(_0x24898c,_0x1c4baf,_0x39570c,_0x128049,_0x1ef854){if(!Vt(_0x24898c,_0x1c4baf))return!0x1;if(_0x39570c[_0x5067('0x5a')][_0x5067('0x12e')](_0x128049['start']))return!0x0;if(_0x24898c['type']!=_0x1c4baf[_0x5067('0x141')])return!0x1;if(!_0x39570c[_0x5067('0x5a')][_0x5067('0xda')](_0x128049[_0x5067('0xe')]))return!0x1;const _0x4a4ebb=_0x1ef854[_0x5067('0x80')](_0x39570c[_0x5067('0x5a')],_0x128049[_0x5067('0xe')])[_0x5067('0x70')]();for(const _0x318753 of _0x4a4ebb)if(['elementStart',_0x5067('0x174')][_0x5067('0xf5')](_0x318753[_0x5067('0x141')])&&_0x1ef854['schema'][_0x5067('0xca')](_0x318753[_0x5067('0x7e')]))return!0x1;return!0x0;}function Vt(_0x2d6663,_0x342b36){return!(!_0x2d6663[_0x5067('0x3b')]||!_0x342b36['_isDataLoaded'])&&_0x3875c5(_0x2d6663['attributes'],_0x342b36[_0x5067('0x2')]);}function Gt(_0x4ac758,_0x2329a7){const _0x2be2ef=Ft(_0x4ac758[_0x5067('0x2')]),_0x3434ee=Ft(_0x2329a7);if(!_0x4ac758[_0x5067('0x3b')])return!0x1;for(const _0x30ed4e of Object[_0x5067('0x6e')](_0x3434ee))if(!_0x3875c5(_0x2be2ef[_0x30ed4e],_0x3434ee[_0x30ed4e]))return!0x1;return!0x0;}function Ft(_0x53d47b){const _0x519b9b=Object[_0x5067('0x10f')]({},_0x53d47b);return delete _0x519b9b[_0x5067('0x4c')],delete _0x519b9b[_0x5067('0x154')],_0x519b9b;}function Pt(_0x3b3914){return _0x5067('0x36')==_0x3b3914['type']?_0x3b3914[_0x5067('0x128')][_0x5067('0x5b')]('|')[0x0]:null;}