@ckeditor/ckeditor5-comments 46.0.1-alpha.13 → 46.0.1-alpha.14

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.
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cd477=_0x5615;(function(_0x48290a,_0x33680a){const _0x276d97=_0x5615,_0x5a6646=_0x48290a();while(!![]){try{const _0x5044f3=-parseInt(_0x276d97(0x1d5))/0x1*(-parseInt(_0x276d97(0x172))/0x2)+-parseInt(_0x276d97(0x139))/0x3*(-parseInt(_0x276d97(0x1ea))/0x4)+-parseInt(_0x276d97(0x1fd))/0x5*(parseInt(_0x276d97(0x13d))/0x6)+-parseInt(_0x276d97(0x17a))/0x7*(parseInt(_0x276d97(0x13e))/0x8)+-parseInt(_0x276d97(0x1c5))/0x9*(parseInt(_0x276d97(0x1a9))/0xa)+-parseInt(_0x276d97(0x195))/0xb*(parseInt(_0x276d97(0x1c2))/0xc)+parseInt(_0x276d97(0x149))/0xd;if(_0x5044f3===_0x33680a)break;else _0x5a6646['push'](_0x5a6646['shift']());}catch(_0x19936e){_0x5a6646['push'](_0x5a6646['shift']());}}}(_0x2f12,0x69e3e));import{PendingActions as _0x212b45,ContextPlugin as _0x30435a,Editor as _0x5effec}from'ckeditor5/src/core.js';import{Collection as _0x1a9a78,uid as _0x52ca9d,CKEditorError as _0x94be9a,ObservableMixin as _0xa76dbc}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x3ff43c,hashObject as _0x373b91,Users as _0x338b2a}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x28303b,isEqual as _0x5bf07f,set as _0x1a1cf1,unset as _0x323885}from'es-toolkit/compat';import{CommentThreadController as _0x4eddfe}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x466290}from'./ui/view/commentthreadview.js';import{CommentView as _0x414b3e}from'./ui/view/commentview.js';import{getTranslation as _0xa185f1}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';function _0x5615(_0x14ae59,_0xfa3abd){const _0x2f12c7=_0x2f12();return _0x5615=function(_0x561535,_0x226be5){_0x561535=_0x561535-0x12d;let _0x3ea150=_0x2f12c7[_0x561535];return _0x3ea150;},_0x5615(_0x14ae59,_0xfa3abd);}import'../../theme/commentinput.css';import{AnnotationView as _0x5c27f0}from'../annotations/view/annotationview.js';import{Annotation as _0x96fea2}from'../annotations/annotation.js';import{Annotations as _0x363756}from'../annotations/annotations.js';const bt=Symbol(_0x5cd477(0x16e)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};function _0x2f12(){const _0x756e88=['_repository','focus','commentsrepository-update-comment-missing-comment-thread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','length','11cYhKQl','trim','channelId','highest','canComment','commentsrepository-invalid-comment-authorid','change:isDirty','createCommentThreadController','resolvedBy','weight','commentsrepository-add-comment-thread-internal-error','addComment','update','setUnlinkedAt','type','resolveCommentThread','commentsrepository-reopen-comment-thread-internal-error','_resolveCommentThread','commentsrepository-duplicated-comment-thread-id','commentsrepository-reopen-comment-thread','670IDXrKA','listenTo','author','_readOnlyChannels','_submitCommentThread','setAttribute','isEditable','isFromAdapter','commentsrepository-get-comment-invalid-id','change:_permissions','toJSON','activate','isPremiumPlugin','change:_readOnlyChannels','comments.copyMarkers','getByInnerView','commentId','comments','_isSubmitted','commentsrepository-add-comment-internal-error','commentsrepository-remove-missing-comment','commentsrepository-remove-missing-comment-thread','_updateComment','commentsrepository-add-comment-to-missing-comment-thread','getIndex','8876412UwzCVZ','commentsrepository-add-comment-user-not-exists','_createNewComment','48159sQcIoz','commentsListView','PendingActions','setContext','CommentsRepository','getAnnotationForCommentThread','bodyCollectionContainer','_permissions','commentsrepository-adapter-already-set','plugins','_bindAnnotationToEditors','commentsrepository-remove-comment-internal-error','bind','createdAt','CommentThreadView','isRemovable','1cRrKsU','modifyAll','resolvedAt','CommentView','commentsrepository-update-comment-internal-error','error','submit','add','commentsrepository-fetch-comment-thread','locale','function','_adapter','_update','isDirty','refreshVisibility','pluginName','has','comments.CommentView','commentsrepository-update-missing-comment','createElement','values','2160deGRUD','comments.editorConfig','getUser','comments.maxThreadTotalWeight','openNewCommentThread','_hasTargetInContent','warn','div','_removeComment','get','_add','activeCommentThread','from','_threadToController','commentsrepository-missing-thread-and-adapter-method','attributes','view','authoredAt','comment','520hkpfjw','commentsrepository-attach-missing-comment-thread','define','_remove','commentThreadInputView','_addCommentThread','commentUpdated','commentsrepository-update-comment-invalid-content','reopen','_unbindEditors','isReadOnly','isExternal','context','set','setActiveCommentThread','_attachCommentThread','requires','submitCommentThread','reopenCommentThread','assign','fetchCommentThread','comments.CommentThreadView','_reopenCommentThread','catch','creator','admin','removeAttribute','innerHTML','_isAttached','_detachCommentThread','commentsrepository-missing-target','stopListening','resolve','escape','delete','once','getCommentThreads','push','_addComment','3426OClXbC','getPermissions','isActive','commentsrepository-update-comment-thread-internal-error','29418QFAbnn','303136SbqslU','external:','editorDestroyed','write','config','removeCommentThread','getComment','unlinkedAt','hasCommentThread','adapter','commentsrepository-invalid-commentid','16946553CjDIAd','_removeActiveAnnotation','archivedAt','threadId','_findOptimalIndex','getCommentThreadForAnnotation','addUser','commentsrepository-remove-comment-thread-internal-error','then','_threads','body','_updateActiveAnnotation','commentsrepository-missing-comment-thread','change:authoredAt','innerView','max','getTime','reduce','map','commentsrepository-remove-comment-missing-comment-thread','isAttached','find','focusTracker','commentsrepository-resolve-comment-thread-internal-error','_viewToController','switchReadOnly','string','isResolvable','filter','commentsrepository-active-not-attached','focusableElements','deactivateAll','content','_createCommentThreadView','authorName','commentInputView','commentsrepository-invalid-comment-thread-id','noChannel','removeComment','updateCommentThread','updateComment','1001030OZdpmM','licenseKey','destroy','@external','commentsrepository-invalid-comment-content','isSubmitted','_updateCommentThread','isResolved','70UUzOBh','_removeCommentThread','change:activeAnnotations','remove','lowest','getCommentThread','setPermissions','comments.maxCommentsWhenCollapsed','model','init','PENDING_ACTION_COMMENT_THREAD','_getExternalAuthor','commentsrepository-resolved-comment-thread','fire','textContent','isVisible','comments.maxCommentCharsWhenCollapsed','isOfficialPlugin','editorReady','addCommentThread','commentsrepository-active-missing-comment-thread','attachTo'];_0x2f12=function(){return _0x756e88;};return _0x2f12();}export class CommentsRepository extends _0x30435a{[_0x5cd477(0x152)];[_0x5cd477(0x1f7)];[_0x5cd477(0x161)];static get[_0x5cd477(0x20d)](){return[_0x363756,_0x212b45,_0x338b2a];}static get[_0x5cd477(0x1e4)](){const _0x4d2b3a=_0x5cd477;return _0x4d2b3a(0x1c9);}static get[_0x5cd477(0x18b)](){return!0x0;}static get[_0x5cd477(0x1b5)](){return!0x0;}constructor(_0x1b6d40){const _0x480d86=_0x5cd477;super(_0x1b6d40),this[_0x480d86(0x152)]=new Map(),this[_0x480d86(0x1f7)]=new Map(),this[_0x480d86(0x161)]=new Map(),this[_0x480d86(0x20a)](_0x480d86(0x1ac),new Set()),this[_0x480d86(0x20a)](_0x480d86(0x1cc),new Map());const _0x53a8f5=this[_0x480d86(0x209)][_0x480d86(0x142)];_0x53a8f5[_0x480d86(0x1ff)](_0x480d86(0x181),0x2),_0x53a8f5[_0x480d86(0x1ff)](_0x480d86(0x1ed),0x1f4),_0x53a8f5[_0x480d86(0x1ff)](_0x480d86(0x18a),0x8c),_0x53a8f5[_0x480d86(0x1ff)](_0x480d86(0x212),_0x466290),_0x53a8f5[_0x480d86(0x1ff)](_0x480d86(0x1e6),_0x414b3e),_0x53a8f5[_0x480d86(0x1f3)](_0x480d86(0x1eb))||console[_0x480d86(0x1f0)](_0x480d86(0x193));}[_0x5cd477(0x183)](){const _0x59df82=_0x5cd477,_0x44de50=this[_0x59df82(0x209)][_0x59df82(0x1ce)][_0x59df82(0x1f3)](_0x363756);this[_0x59df82(0x20a)](_0x59df82(0x1f5),null),this['on'](_0x59df82(0x18d),(_0x49aaa2,_0x4fa21b)=>this[_0x59df82(0x202)](_0x4fa21b)),this['on'](_0x59df82(0x20e),(_0x2f0caf,_0x280fd0)=>this[_0x59df82(0x1ad)](_0x280fd0)),this['on'](_0x59df82(0x1a4),(_0x3b91bc,_0x54c3ad)=>this[_0x59df82(0x1a6)](_0x54c3ad)),this['on'](_0x59df82(0x1a4),(_0x41b791,_0x21bf2b)=>this[_0x59df82(0x154)](_0x21bf2b),{'priority':_0x59df82(0x17e)}),this['on'](_0x59df82(0x20f),(_0xadf2e1,_0x543887)=>this[_0x59df82(0x213)](_0x543887)),this['on'](_0x59df82(0x20f),(_0x46804b,_0x474c19)=>this[_0x59df82(0x154)](_0x474c19),{'priority':_0x59df82(0x17e)}),this['on'](_0x59df82(0x143),(_0x3b4642,_0x723d05)=>this[_0x59df82(0x17b)](_0x723d05)),this['on'](_0x59df82(0x170),(_0x3e3e27,_0x12ac5a)=>this[_0x59df82(0x178)](_0x12ac5a)),this['on'](_0x59df82(0x170),(_0xbfa26f,_0x156459)=>this[_0x59df82(0x154)](_0x156459),{'priority':_0x59df82(0x17e)}),this['on'](_0x59df82(0x1a0),(_0x44b9a9,_0x1e522a)=>this[_0x59df82(0x138)](_0x1e522a)),this['on'](_0x59df82(0x171),(_0xb893dd,_0x9b0ce2)=>this[_0x59df82(0x1bf)](_0x9b0ce2)),this['on'](_0x59df82(0x16f),(_0x587b0c,_0x16c01d)=>this[_0x59df82(0x1f2)](_0x16c01d)),this['on'](_0x59df82(0x1a0),(_0x5f5d2d,{threadId:_0x2cf44e,isFromAdapter:_0x894cd9})=>{const _0x446633=_0x59df82;if(_0x894cd9)return;const _0x4a9efb=this[_0x446633(0x17f)](_0x2cf44e),_0x181074=_0x4a9efb&&this[_0x446633(0x1f7)][_0x446633(0x1f3)](_0x4a9efb);_0x181074&&_0x181074[_0x446633(0x1fa)][_0x446633(0x1c6)][_0x446633(0x191)](-0x1);},{'priority':_0x59df82(0x17e)}),this[_0x59df82(0x1aa)](_0x44de50,_0x59df82(0x17c),(_0x21066c,_0x582e79,_0x531384)=>{const _0x51d0d5=_0x59df82,_0x15b245=Array[_0x51d0d5(0x1f6)](_0x531384)[_0x51d0d5(0x15b)](_0x14c781=>this[_0x51d0d5(0x161)][_0x51d0d5(0x1f3)](_0x14c781[_0x51d0d5(0x157)]))[_0x51d0d5(0x165)](Boolean)[0x0];this[_0x51d0d5(0x1f5)]=_0x15b245?_0x15b245[_0x51d0d5(0x182)]:null;});}set[_0x5cd477(0x147)](_0x39b9a3){const _0x3ec79d=_0x5cd477;if(this[_0x3ec79d(0x1e0)])throw new _0x94be9a(_0x3ec79d(0x1cd));this[_0x3ec79d(0x1e0)]=_0x39b9a3;}get[_0x5cd477(0x147)](){const _0x36f8a2=_0x5cd477;return this[_0x36f8a2(0x1e0)];}[_0x5cd477(0x18d)]({channelId:_0x581fce=bt,threadId:_0x181f94=_0x52ca9d(),comments:_0x200933=[],unlinkedAt:_0x196f56=null,resolvedAt:_0x1cea86=null,resolvedBy:_0x5aa63a=null,target:_0x586a93=null,context:_0xd5e77b=null,attributes:_0x272ce9={},isResolvable:_0x3ea9cf=!0x0,isSubmitted:_0x4e18ad=!0x1,isFromAdapter:_0x2888f0=!0x1}={}){const _0x44efea=_0x5cd477;return this[_0x44efea(0x187)](xt(_0x44efea(0x18d),_0x581fce),{'channelId':_0x581fce,'threadId':_0x181f94,'comments':_0x200933,'unlinkedAt':_0x196f56,'resolvedAt':_0x1cea86,'resolvedBy':_0x5aa63a,'target':_0x586a93,'context':_0xd5e77b,'attributes':_0x272ce9,'isFromAdapter':_0x2888f0,'isResolvable':_0x3ea9cf,'isSubmitted':_0x4e18ad}),this[_0x44efea(0x17f)](_0x181f94);}[_0x5cd477(0x1ee)]({channelId:_0x5df623=bt,threadId:_0x1113f9=_0x52ca9d(),target:_0xb9131,context:_0x470fb8=null,isResolvable:_0x14827b=!0x0}){const _0x5bb7aa=_0x5cd477;if(this[_0x5bb7aa(0x1ac)][_0x5bb7aa(0x1e5)](_0x5df623)||this[_0x5bb7aa(0x1ac)][_0x5bb7aa(0x1e5)](void 0x0))return null;if(!_0xb9131)throw new _0x94be9a(_0x5bb7aa(0x130));const _0x4c980f=this[_0x5bb7aa(0x18d)]({'channelId':_0x5df623,'threadId':_0x1113f9,'target':_0xb9131,'context':_0x470fb8,'isResolvable':_0x14827b});if(!_0x4c980f)return null;const _0x4d78e6=this[_0x5bb7aa(0x1f7)][_0x5bb7aa(0x1f3)](_0x4c980f),_0x3f32b9=_0x4d78e6[_0x5bb7aa(0x1fa)][_0x5bb7aa(0x201)][_0x5bb7aa(0x16c)],_0x2d5c73=this[_0x5bb7aa(0x209)][_0x5bb7aa(0x1ce)][_0x5bb7aa(0x1f3)](_0x363756),_0x3b2bc8=_0x2d5c73[_0x5bb7aa(0x1b8)](_0x4d78e6[_0x5bb7aa(0x1fa)]);return _0x2d5c73[_0x5bb7aa(0x1b4)](_0x3b2bc8),_0x3f32b9[_0x5bb7aa(0x135)](_0x5bb7aa(0x18c),()=>_0x3f32b9[_0x5bb7aa(0x191)]()),_0x4c980f;}[_0x5cd477(0x146)](_0x52194d){const _0x4b44ae=_0x5cd477;if(_0x4b44ae(0x163)!=typeof _0x52194d)throw new _0x94be9a(_0x4b44ae(0x16d));return this[_0x4b44ae(0x152)][_0x4b44ae(0x1e5)](_0x52194d);}[_0x5cd477(0x170)]({channelId:_0x3278d4=bt,threadId:_0x48afe2,context:_0x25eca8,unlinkedAt:_0xbae06,attributes:_0x4e0aeb,isFromAdapter:_0x15832c=!0x1}){const _0xd0c42f=_0x5cd477;return this[_0xd0c42f(0x187)](xt(_0xd0c42f(0x170),_0x3278d4),{'channelId':_0x3278d4,'threadId':_0x48afe2,'context':_0x25eca8,'unlinkedAt':_0xbae06,'attributes':_0x4e0aeb,'isFromAdapter':_0x15832c}),this[_0xd0c42f(0x17f)](_0x48afe2);}[_0x5cd477(0x17f)](_0x593523){const _0x111f3e=_0x5cd477;if(_0x111f3e(0x163)!=typeof _0x593523)throw new _0x94be9a(_0x111f3e(0x16d));return this[_0x111f3e(0x152)][_0x111f3e(0x1f3)](_0x593523);}[_0x5cd477(0x211)]({channelId:_0x4ec903,threadId:_0x118446}={}){const _0xbf0707=_0x5cd477,_0x3d201d=this[_0xbf0707(0x17f)](_0x118446);if(_0x3d201d)return Promise[_0xbf0707(0x132)](_0x3d201d);if(!this[_0xbf0707(0x147)])return Promise[_0xbf0707(0x132)](void 0x0);if(_0xbf0707(0x1df)!=typeof this[_0xbf0707(0x147)][_0xbf0707(0x17f)])throw new _0x94be9a(_0xbf0707(0x1f8),this[_0xbf0707(0x209)]);return this[_0xbf0707(0x147)][_0xbf0707(0x17f)]({'channelId':_0x4ec903,'threadId':_0x118446})[_0xbf0707(0x151)](_0x14b878=>this[_0xbf0707(0x146)](_0x118446)?this[_0xbf0707(0x17f)](_0x118446):_0x14b878?this[_0xbf0707(0x18d)](Object[_0xbf0707(0x210)]({'isFromAdapter':!0x0,'channelId':_0x4ec903},_0x14b878)):void 0x0)[_0xbf0707(0x214)](_0x2d6a7a=>{const _0x1dcb2e=_0xbf0707;throw console[_0x1dcb2e(0x1da)](_0x2d6a7a),new _0x94be9a(_0x1dcb2e(0x1dd),this[_0x1dcb2e(0x209)]);});}[_0x5cd477(0x136)]({channelId:_0x2a6ad8,skipNotAttached:_0x32c71f=!0x1,skipEmpty:_0x302424=!0x1,toJSON:_0x2cd59f=!0x1}={}){const _0x4ac6e6=_0x5cd477,_0x3461e1=[];for(const _0x44d474 of this[_0x4ac6e6(0x152)][_0x4ac6e6(0x1e9)]())_0x2a6ad8&&_0x44d474[_0x4ac6e6(0x197)]!==_0x2a6ad8||_0x32c71f&&!_0x44d474[_0x4ac6e6(0x15d)]||_0x302424&&0x0===_0x44d474[_0x4ac6e6(0x194)]||_0x3461e1[_0x4ac6e6(0x137)](_0x44d474);return _0x2cd59f?_0x3461e1[_0x4ac6e6(0x15b)](_0x21c0a4=>_0x21c0a4[_0x4ac6e6(0x1b3)]()):_0x3461e1;}[_0x5cd477(0x1ca)](_0x3f272b){const _0x2803c3=_0x5cd477,_0x1320c3=this[_0x2803c3(0x1f7)][_0x2803c3(0x1f3)](_0x3f272b);if(!_0x1320c3)return null;return this[_0x2803c3(0x209)][_0x2803c3(0x1ce)][_0x2803c3(0x1f3)](_0x363756)[_0x2803c3(0x1b8)](_0x1320c3[_0x2803c3(0x1fa)])||null;}[_0x5cd477(0x14e)](_0x3117b1){const _0x5a8e9e=_0x5cd477,_0x1ac723=this[_0x5a8e9e(0x161)][_0x5a8e9e(0x1f3)](_0x3117b1[_0x5a8e9e(0x157)]);return _0x1ac723?_0x1ac723[_0x5a8e9e(0x182)]:null;}[_0x5cd477(0x20b)](_0x40e85c){const _0xa878fa=_0x5cd477,_0x4b15bf=this[_0xa878fa(0x209)][_0xa878fa(0x1ce)][_0xa878fa(0x1f3)](_0x363756);if(!_0x40e85c)return void(this[_0xa878fa(0x1f5)]&&_0x4b15bf[_0xa878fa(0x168)]());const _0x3ab1d7=this[_0xa878fa(0x17f)](_0x40e85c);if(!_0x3ab1d7)throw new _0x94be9a(_0xa878fa(0x18e),null,{'threadId':_0x40e85c});if(!this[_0xa878fa(0x1f7)][_0xa878fa(0x1e5)](_0x3ab1d7))throw new _0x94be9a(_0xa878fa(0x166),null,{'threadId':_0x40e85c});const _0x5f1a64=_0x4b15bf[_0xa878fa(0x1b8)](this[_0xa878fa(0x1f7)][_0xa878fa(0x1f3)](_0x3ab1d7)[_0xa878fa(0x1fa)]);_0x4b15bf[_0xa878fa(0x1b4)](_0x5f1a64);}[_0x5cd477(0x162)](_0x678bb0,_0x16d1e6){const _0x5745be=_0x5cd477;_0x678bb0?this[_0x5745be(0x1ac)][_0x5745be(0x1dc)](_0x16d1e6):this[_0x5745be(0x1ac)][_0x5745be(0x134)](_0x16d1e6),this[_0x5745be(0x187)](_0x5745be(0x1b6),_0x5745be(0x1ac),this[_0x5745be(0x1ac)],this[_0x5745be(0x1ac)]);}[_0x5cd477(0x207)](_0x511a85){const _0x493a44=_0x5cd477;return this[_0x493a44(0x1ac)][_0x493a44(0x1e5)](_0x511a85)||this[_0x493a44(0x1ac)][_0x493a44(0x1e5)](void 0x0);}[_0x5cd477(0x19c)](_0x323f9a,_0x4158be){return new _0x4eddfe(_0x323f9a,_0x4158be);}[_0x5cd477(0x180)](_0xd12dc8,_0x1f59ea=bt){const _0x358161=_0x5cd477;this[_0x358161(0x1cc)][_0x358161(0x20a)](_0x1f59ea,_0xd12dc8),this[_0x358161(0x187)](_0x358161(0x1b2),_0x358161(0x1cc),this[_0x358161(0x1cc)],this[_0x358161(0x1cc)]);}[_0x5cd477(0x13a)](_0x24f809=bt){const _0x3516f7=_0x5cd477;return this[_0x3516f7(0x1cc)][_0x3516f7(0x1e5)](_0x24f809)?this[_0x3516f7(0x1cc)][_0x3516f7(0x1f3)](_0x24f809):Nt;}[_0x5cd477(0x202)]({channelId:_0x56b750,threadId:_0x47ef79,comments:_0x127655,unlinkedAt:_0x31038a,resolvedAt:_0x525dda,resolvedBy:_0x4cdafe,target:_0x4aec8e,context:_0x2bff15,attributes:_0x226298,isFromAdapter:_0x10ea48,isResolvable:_0x543cf9,isSubmitted:_0x2654e3}){const _0x42541a=_0x5cd477;if(_0x42541a(0x163)!=typeof _0x47ef79)throw new _0x94be9a(_0x42541a(0x16d),null,{'threadId':_0x47ef79});if(this[_0x42541a(0x146)](_0x47ef79))throw new _0x94be9a(_0x42541a(0x1a7),null,{'threadId':_0x47ef79});const _0x482637=new CommentThread(this,{'channelId':_0x56b750,'id':_0x47ef79,'context':_0x2bff15,'attributes':_0x226298,'unlinkedAt':_0x31038a,'resolvedAt':_0x525dda,'resolvedBy':_0x4cdafe?this[_0x42541a(0x209)][_0x42541a(0x1ce)][_0x42541a(0x1f3)](_0x338b2a)[_0x42541a(0x1ec)](_0x4cdafe):null,'isResolvable':_0x543cf9,'isSubmitted':_0x2654e3||_0x10ea48});this[_0x42541a(0x152)][_0x42541a(0x20a)](_0x47ef79,_0x482637);for(const _0x439a25 of _0x127655)_0x482637[_0x42541a(0x1f4)](this[_0x42541a(0x1c4)]({'threadId':_0x47ef79,..._0x439a25}));return _0x4aec8e&&_0x482637[_0x42541a(0x18f)](_0x4aec8e),_0x10ea48||!_0x482637[_0x42541a(0x194)]?Promise[_0x42541a(0x132)]():this[_0x42541a(0x1ad)]({'channelId':_0x56b750,'threadId':_0x47ef79});}[_0x5cd477(0x1ad)]({channelId:_0x534ec5,threadId:_0xf7e2e4}){const _0x2211c1=_0x5cd477;if(!this[_0x2211c1(0x146)](_0xf7e2e4))throw new _0x94be9a(_0x2211c1(0x155),this);const _0x1b3a3a=this[_0x2211c1(0x17f)](_0xf7e2e4);if(_0x1b3a3a[_0x2211c1(0x1bb)]=!0x0,!this[_0x2211c1(0x147)]||_0x2211c1(0x1df)!=typeof this[_0x2211c1(0x147)][_0x2211c1(0x18d)])return Promise[_0x2211c1(0x132)]();const {id:_0x526184,comments:_0x579e00,resolvedAt:_0x38b41d,resolvedBy:_0x6156ed,context:_0x3c4de6,attributes:_0x24ffe3}=_0x1b3a3a,_0x344fe8=this[_0x2211c1(0x209)][_0x2211c1(0x1ce)][_0x2211c1(0x1f3)](_0x2211c1(0x1c7)),_0x1718b5=_0x344fe8[_0x2211c1(0x1dc)](_0xa185f1(this[_0x2211c1(0x209)][_0x2211c1(0x1de)],_0x2211c1(0x184)));return this[_0x2211c1(0x147)][_0x2211c1(0x18d)]({'channelId':_0x534ec5,'threadId':_0x526184,'comments':_0x579e00[_0x2211c1(0x15b)](_0x2c7287=>_0x2c7287[_0x2211c1(0x1b3)]()),'resolvedAt':_0x38b41d,'resolvedBy':_0x6156ed?_0x6156ed['id']:_0x6156ed,'context':_0x3c4de6,'attributes':_0x24ffe3})[_0x2211c1(0x151)](({comments:_0x22bd46})=>{const _0x375c30=_0x2211c1;_0x344fe8[_0x375c30(0x17d)](_0x1718b5);for(const _0x23ad3e of _0x22bd46)this[_0x375c30(0x1bf)]({'channelId':_0x534ec5,'threadId':_0xf7e2e4,'commentId':_0x23ad3e[_0x375c30(0x1b9)],'createdAt':_0x23ad3e[_0x375c30(0x1d2)],'isFromAdapter':!0x0});})[_0x2211c1(0x214)](_0x5dfcf5=>{const _0x48b8b7=_0x2211c1;throw console[_0x48b8b7(0x1da)](_0x5dfcf5),new _0x94be9a(_0x48b8b7(0x19f),this);});}[_0x5cd477(0x20c)]({threadId:_0x43b6ac,target:_0xe1975}){const _0x31ad23=_0x5cd477,_0x23eb3f=this[_0x31ad23(0x17f)](_0x43b6ac);if(!_0x23eb3f)throw new _0x94be9a(_0x31ad23(0x1fe),this);const _0x43ebf9=this[_0x31ad23(0x209)][_0x31ad23(0x1ce)][_0x31ad23(0x1f3)](_0x31ad23(0x1c7)),_0x8fdca7=this[_0x31ad23(0x209)][_0x31ad23(0x1ce)][_0x31ad23(0x1f3)](_0x363756),_0x5b78b0=this[_0x31ad23(0x16a)](_0x23eb3f),_0x77108c=new _0x4eddfe(_0x23eb3f,_0x5b78b0);let _0x2fa9cb=null;_0x5b78b0['on'](_0x31ad23(0x19b),(_0x2a976c,_0x53507b,_0x411581)=>{const _0x222d9d=_0x31ad23;_0x411581?_0x2fa9cb=_0x43ebf9[_0x222d9d(0x1dc)](_0xa185f1(this[_0x222d9d(0x209)][_0x222d9d(0x1de)],_0x222d9d(0x184))):_0x2fa9cb&&(_0x43ebf9[_0x222d9d(0x17d)](_0x2fa9cb),_0x2fa9cb=null);}),this[_0x31ad23(0x1f7)][_0x31ad23(0x20a)](_0x23eb3f,_0x77108c),this[_0x31ad23(0x161)][_0x31ad23(0x20a)](_0x5b78b0,_0x77108c);const _0x59258d=new _0x5c27f0(this[_0x31ad23(0x209)][_0x31ad23(0x1de)],_0x5b78b0);_0x59258d[_0x31ad23(0x1d1)](_0x31ad23(0x194))['to'](_0x5b78b0),_0x59258d[_0x31ad23(0x1d1)](_0x31ad23(0x1e2))['to'](_0x5b78b0,_0x31ad23(0x1e2),_0x5b78b0,_0x31ad23(0x194),(_0x2d8015,_0xeeb40d)=>_0x2d8015||!_0xeeb40d),_0x59258d[_0x31ad23(0x1d1)](_0x31ad23(0x13b))['to'](_0x5b78b0),_0x59258d[_0x31ad23(0x1a3)]=_0x31ad23(0x1fc);const _0x4951cb=new _0x96fea2({'view':_0x59258d,'target':_0xe1975,'type':_0x31ad23(0x1fc),'isVisible':!_0x23eb3f[_0x31ad23(0x14b)]&&!!(_0x31ad23(0x1df)==typeof _0xe1975?_0xe1975():_0xe1975)});return _0x5b78b0['on'](_0x31ad23(0x133),()=>{const _0x539067=_0x31ad23;_0x4951cb[_0x539067(0x187)](_0x539067(0x133));}),this[_0x31ad23(0x1cf)](_0x5b78b0,_0x4951cb),_0x8fdca7[_0x31ad23(0x1dc)](_0x4951cb),_0x4951cb;}[_0x5cd477(0x1cf)](_0x7689d5,_0x8cc642){const _0x49668f=_0x5cd477;this[_0x49668f(0x1aa)](_0x7689d5,_0x49668f(0x18c),(_0x4b861d,_0x14739e)=>{const _0x5f0475=_0x49668f,_0x314802=_0x14739e['ui'][_0x5f0475(0x1fa)][_0x5f0475(0x153)][_0x5f0475(0x1cb)];_0x8cc642[_0x5f0475(0x167)][_0x5f0475(0x1dc)](_0x314802),this[_0x5f0475(0x209)]instanceof _0x5effec&&this[_0x5f0475(0x209)]['ui'][_0x5f0475(0x15f)][_0x5f0475(0x1dc)](_0x314802);},{'priority':_0x49668f(0x198)}),this[_0x49668f(0x1aa)](_0x7689d5,_0x49668f(0x140),(_0x4cee54,_0x3511f5)=>{const _0x453595=_0x49668f,_0x18b3fc=_0x3511f5['ui'][_0x453595(0x1fa)][_0x453595(0x153)][_0x453595(0x1cb)];_0x8cc642[_0x453595(0x167)][_0x453595(0x1e5)](_0x18b3fc)&&_0x8cc642[_0x453595(0x167)][_0x453595(0x17d)](_0x18b3fc),this[_0x453595(0x209)]instanceof _0x5effec&&this[_0x453595(0x209)]['ui'][_0x453595(0x15f)][_0x453595(0x17d)](_0x18b3fc);});}[_0x5cd477(0x206)](_0x999981){const _0x2a9f7b=_0x5cd477;this[_0x2a9f7b(0x131)](_0x999981,_0x2a9f7b(0x18c)),this[_0x2a9f7b(0x131)](_0x999981,_0x2a9f7b(0x140));}[_0x5cd477(0x16a)](_0x4da264){const _0x35610e=_0x5cd477,_0x333868=this[_0x35610e(0x209)][_0x35610e(0x1ce)][_0x35610e(0x1f3)](_0x338b2a),{config:_0x1b6e69,locale:_0x5e1bf4}=this[_0x35610e(0x209)],_0x26b901=_0x3ff43c(_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1de)),_0x5e1bf4);return new(0x0,(_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1ba)))[(_0x35610e(0x1d3))])(_0x5e1bf4,_0x4da264,_0x333868['me'],{'editorConfig':{..._0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1eb)),'licenseKey':this[_0x35610e(0x209)][_0x35610e(0x142)][_0x35610e(0x1f3)](_0x35610e(0x173))},'copyMarkers':_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1b7)),'maxCommentsWhenCollapsed':_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x181)),'maxThreadTotalWeight':_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1ed)),'maxCommentCharsWhenCollapsed':_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x18a)),'formatDateTime':_0x26b901,'CommentView':_0x1b6e69[_0x35610e(0x1f3)](_0x35610e(0x1ba))[_0x35610e(0x1d8)]});}[_0x5cd477(0x1a6)]({threadId:_0xe3b061,channelId:_0x23e28d,resolvedAt:_0x36aab3,resolvedBy:_0x786e3f,isFromAdapter:_0x56c2ec}){const _0x454f0b=_0x5cd477;if(!this[_0x454f0b(0x146)](_0xe3b061))throw new _0x94be9a(_0x454f0b(0x155),null,{'threadId':_0xe3b061});const _0x2ab543=this[_0x454f0b(0x17f)](_0xe3b061);if(_0x2ab543[_0x454f0b(0x179)])throw new _0x94be9a(_0x454f0b(0x186),null,{'threadId':_0xe3b061});const _0x4606f9=this[_0x454f0b(0x209)][_0x454f0b(0x1ce)][_0x454f0b(0x1f3)](_0x338b2a);if(_0x2ab543[_0x454f0b(0x19d)]=_0x4606f9[_0x454f0b(0x1ec)](_0x786e3f),_0x2ab543[_0x454f0b(0x1d7)]=_0x36aab3,_0x56c2ec||!this[_0x454f0b(0x147)]||_0x454f0b(0x1df)!=typeof this[_0x454f0b(0x147)][_0x454f0b(0x1a4)])return Promise[_0x454f0b(0x132)]();const _0x342c8c=this[_0x454f0b(0x209)][_0x454f0b(0x1ce)][_0x454f0b(0x1f3)](_0x454f0b(0x1c7)),_0x50265d=_0x342c8c[_0x454f0b(0x1dc)](_0xa185f1(this[_0x454f0b(0x209)][_0x454f0b(0x1de)],_0x454f0b(0x184)));return this[_0x454f0b(0x147)][_0x454f0b(0x1a4)]({'channelId':_0x23e28d,'threadId':_0xe3b061})[_0x454f0b(0x151)](({resolvedAt:_0x405459,resolvedBy:_0x53cef7})=>{const _0x1b0fe7=_0x454f0b;_0x342c8c[_0x1b0fe7(0x17d)](_0x50265d),_0x2ab543[_0x1b0fe7(0x19d)]['id']!==_0x53cef7&&(_0x2ab543[_0x1b0fe7(0x19d)]=_0x4606f9[_0x1b0fe7(0x1ec)](_0x53cef7)),_0x2ab543[_0x1b0fe7(0x1d7)]=_0x405459;})[_0x454f0b(0x214)](_0x366b1a=>{const _0x5113cf=_0x454f0b;throw console[_0x5113cf(0x1da)](_0x366b1a),new _0x94be9a(_0x5113cf(0x160),this);});}[_0x5cd477(0x213)]({threadId:_0x57a4bb,channelId:_0x177cec,isFromAdapter:_0x54a383}){const _0x40b673=_0x5cd477;if(!this[_0x40b673(0x146)](_0x57a4bb))throw new _0x94be9a(_0x40b673(0x155),null,{'threadId':_0x57a4bb});const _0x5306e7=this[_0x40b673(0x17f)](_0x57a4bb);if(!_0x5306e7[_0x40b673(0x179)])throw new _0x94be9a(_0x40b673(0x1a8),null,{'threadId':_0x57a4bb});if(_0x5306e7[_0x40b673(0x19d)]=null,_0x5306e7[_0x40b673(0x1d7)]=null,_0x54a383||!this[_0x40b673(0x147)]||_0x40b673(0x1df)!=typeof this[_0x40b673(0x147)][_0x40b673(0x20f)])return Promise[_0x40b673(0x132)]();const _0x1f86af=this[_0x40b673(0x209)][_0x40b673(0x1ce)][_0x40b673(0x1f3)](_0x40b673(0x1c7)),_0x5d558b=_0x1f86af[_0x40b673(0x1dc)](_0xa185f1(this[_0x40b673(0x209)][_0x40b673(0x1de)],_0x40b673(0x184)));return this[_0x40b673(0x147)][_0x40b673(0x20f)]({'channelId':_0x177cec,'threadId':_0x57a4bb})[_0x40b673(0x151)](()=>_0x1f86af[_0x40b673(0x17d)](_0x5d558b))[_0x40b673(0x214)](_0x401102=>{const _0x4733e4=_0x40b673;throw console[_0x4733e4(0x1da)](_0x401102),new _0x94be9a(_0x4733e4(0x1a5),this);});}[_0x5cd477(0x17b)]({threadId:_0x135007,isFromAdapter:_0x261cd5}){const _0x509099=_0x5cd477,_0x4a2ea7=this[_0x509099(0x17f)](_0x135007);if(!_0x4a2ea7)throw new _0x94be9a(_0x509099(0x1be),this);if(this[_0x509099(0x12f)](_0x135007),this[_0x509099(0x152)][_0x509099(0x134)](_0x135007),!_0x4a2ea7[_0x509099(0x177)]||_0x261cd5||!this[_0x509099(0x147)]||_0x509099(0x1df)!=typeof this[_0x509099(0x147)][_0x509099(0x143)])return Promise[_0x509099(0x132)]();const _0x2b0ccb=this[_0x509099(0x209)][_0x509099(0x1ce)][_0x509099(0x1f3)](_0x509099(0x1c7)),{channelId:_0x11a6b4}=_0x4a2ea7,_0x40bf68=_0x2b0ccb[_0x509099(0x1dc)](_0xa185f1(this[_0x509099(0x209)][_0x509099(0x1de)],_0x509099(0x184)));return this[_0x509099(0x147)][_0x509099(0x143)]({'channelId':_0x11a6b4,'threadId':_0x135007})[_0x509099(0x151)](()=>_0x2b0ccb[_0x509099(0x17d)](_0x40bf68))[_0x509099(0x214)](_0x31379c=>{const _0x4c44ff=_0x509099;throw console[_0x4c44ff(0x1da)](_0x31379c),new _0x94be9a(_0x4c44ff(0x150),this);});}[_0x5cd477(0x178)]({threadId:_0x434b0a,unlinkedAt:_0x1a6414,context:_0x1aa8ad,attributes:_0x5dfa38,isFromAdapter:_0x298a1d}){const _0x4328a7=_0x5cd477;if(_0x4328a7(0x163)!=typeof _0x434b0a)throw new _0x94be9a(_0x4328a7(0x16d),null,{'threadId':_0x434b0a});if(!this[_0x4328a7(0x146)](_0x434b0a))throw new _0x94be9a(_0x4328a7(0x155),null,{'threadId':_0x434b0a});const _0x1cebdd=this[_0x4328a7(0x17f)](_0x434b0a);let _0x4cf9f1=!0x1;if(void 0x0!==_0x1aa8ad&&_0x1cebdd[_0x4328a7(0x209)]!==_0x1aa8ad&&(_0x1cebdd[_0x4328a7(0x209)]=_0x1aa8ad,_0x4cf9f1=!0x0),void 0x0!==_0x1a6414&&_0x1cebdd[_0x4328a7(0x145)]!==_0x1a6414&&(_0x1cebdd[_0x4328a7(0x145)]=_0x1a6414,_0x4cf9f1=!0x0),_0x5dfa38&&!_0x5bf07f(_0x5dfa38,_0x1cebdd[_0x4328a7(0x1f9)])&&(_0x1cebdd[_0x4328a7(0x1f9)]=_0x5dfa38,_0x4cf9f1=!0x0),!_0x4cf9f1)return Promise[_0x4328a7(0x132)]();if(!_0x1cebdd[_0x4328a7(0x177)]||_0x298a1d||!this[_0x4328a7(0x147)]||_0x4328a7(0x1df)!=typeof this[_0x4328a7(0x147)][_0x4328a7(0x170)])return Promise[_0x4328a7(0x132)]();const _0x436f6e=this[_0x4328a7(0x209)][_0x4328a7(0x1ce)][_0x4328a7(0x1f3)](_0x4328a7(0x1c7)),{channelId:_0x29962f}=_0x1cebdd,_0x3b6955=_0x436f6e[_0x4328a7(0x1dc)](_0xa185f1(this[_0x4328a7(0x209)][_0x4328a7(0x1de)],_0x4328a7(0x184)));return this[_0x4328a7(0x147)][_0x4328a7(0x170)]({'channelId':_0x29962f,'threadId':_0x434b0a,'context':_0x1aa8ad,'unlinkedAt':_0x1a6414,'attributes':_0x5dfa38})[_0x4328a7(0x151)](()=>_0x436f6e[_0x4328a7(0x17d)](_0x3b6955))[_0x4328a7(0x214)](_0x1eb837=>{const _0x309d53=_0x4328a7;throw console[_0x309d53(0x1da)](_0x1eb837),new _0x94be9a(_0x309d53(0x13c),this);});}[_0x5cd477(0x12f)](_0x35e58e){const _0x35fe60=_0x5cd477,_0x45ae5a=this[_0x35fe60(0x209)][_0x35fe60(0x1ce)][_0x35fe60(0x1f3)](_0x363756),_0x47b2e8=this[_0x35fe60(0x17f)](_0x35e58e);if(_0x47b2e8[_0x35fe60(0x12e)]=!0x1,this[_0x35fe60(0x1f7)][_0x35fe60(0x1e5)](_0x47b2e8)){const _0x4aa8e9=this[_0x35fe60(0x1f7)][_0x35fe60(0x1f3)](_0x47b2e8),_0x1e3aec=_0x4aa8e9[_0x35fe60(0x1fa)],_0x1427fa=_0x45ae5a[_0x35fe60(0x1b8)](_0x1e3aec);this[_0x35fe60(0x1f7)][_0x35fe60(0x134)](_0x47b2e8),this[_0x35fe60(0x161)][_0x35fe60(0x134)](_0x1e3aec),_0x1427fa&&_0x45ae5a[_0x35fe60(0x17d)](_0x1427fa),_0x4aa8e9[_0x35fe60(0x174)](),_0x1e3aec[_0x35fe60(0x174)]()[_0x35fe60(0x151)](()=>{const _0x50ee4e=_0x35fe60;this[_0x50ee4e(0x206)](_0x1e3aec);});}}[_0x5cd477(0x154)]({threadId:_0x25ad5d,resolvedAt:_0x15fb50,unlinkedAt:_0x267193}){const _0x186848=_0x5cd477,_0x5781a9=!!_0x15fb50,_0x4004b8=this[_0x186848(0x209)][_0x186848(0x1ce)][_0x186848(0x1f3)](_0x363756),_0x1fe934=this[_0x186848(0x17f)](_0x25ad5d);if(this[_0x186848(0x1f7)][_0x186848(0x1e5)](_0x1fe934)){const _0x522d45=this[_0x186848(0x1f7)][_0x186848(0x1f3)](_0x1fe934)[_0x186848(0x1fa)],_0x38d2e6=_0x4004b8[_0x186848(0x1b8)](_0x522d45);_0x38d2e6&&(_0x5781a9&&_0x4004b8[_0x186848(0x14a)](_0x38d2e6),_0x267193?_0x38d2e6[_0x186848(0x189)]=!0x1:_0x38d2e6[_0x186848(0x1e3)]());}}[_0x5cd477(0x185)](_0x53b331){const _0x11a9fb=_0x5cd477,_0x22f234=this[_0x11a9fb(0x209)][_0x11a9fb(0x1ce)][_0x11a9fb(0x1f3)](_0x338b2a),_0xcd6f8c=_0x373b91(_0x11a9fb(0x13f)+_0x53b331),_0x143ddd=_0x22f234[_0x11a9fb(0x1ec)](_0xcd6f8c);return _0x143ddd||_0x22f234[_0x11a9fb(0x14f)]({'id':_0xcd6f8c,'name':_0x53b331});}[_0x5cd477(0x1c4)]({threadId:_0x1f7042,commentId:_0x44c3d2=_0x52ca9d(),content:_0x2711f1,authorId:_0x53c5d8,createdAt:_0x583ec0,attributes:_0x54b8ed}){const _0x2ca697=_0x5cd477;if(_0x2ca697(0x163)!=typeof _0x44c3d2)throw new _0x94be9a(_0x2ca697(0x148));if(_0x2ca697(0x163)!=typeof _0x53c5d8)throw new _0x94be9a(_0x2ca697(0x19a));if(_0x2ca697(0x163)!=typeof _0x2711f1||!_0x2711f1[_0x2ca697(0x196)]())throw new _0x94be9a(_0x2ca697(0x176));const _0x1442f3=this[_0x2ca697(0x209)][_0x2ca697(0x1ce)][_0x2ca697(0x1f3)](_0x338b2a)[_0x2ca697(0x1ec)](_0x53c5d8);if(!_0x1442f3)throw new _0x94be9a(_0x2ca697(0x1c3),null,{'authorId':_0x53c5d8});let _0x2a8460=null,_0x6d7899=_0x583ec0;return _0x54b8ed?.[_0x2ca697(0x175)]&&(_0x2a8460=this[_0x2ca697(0x185)](_0x54b8ed[_0x2ca697(0x175)][_0x2ca697(0x16b)]),_0x6d7899=new Date(_0x54b8ed[_0x2ca697(0x175)][_0x2ca697(0x1d2)])),new Comment(this,{'threadId':_0x1f7042,'id':_0x44c3d2,'author':_0x2a8460||_0x1442f3,'creator':_0x1442f3,'content':_0x2711f1,'createdAt':_0x583ec0,'authoredAt':_0x6d7899,'attributes':_0x54b8ed});}[_0x5cd477(0x138)](_0x3be820){const _0x1398bc=_0x5cd477;let {threadId:_0x309838,content:_0x4ee082,attributes:_0x4cf9a4,isFromAdapter:_0x358f41}=_0x3be820;const _0x298715=this[_0x1398bc(0x17f)](_0x3be820[_0x1398bc(0x14c)]);if(!_0x298715)throw new _0x94be9a(_0x1398bc(0x1c0),this);const _0x5b848c=this[_0x1398bc(0x1c4)](_0x3be820),{id:_0xff33c0}=_0x5b848c;if(_0x298715[_0x1398bc(0x1f4)](_0x5b848c),_0x358f41||!this[_0x1398bc(0x147)]||_0x1398bc(0x1df)!=typeof this[_0x1398bc(0x147)][_0x1398bc(0x1a0)]||!_0x298715[_0x1398bc(0x177)])return Promise[_0x1398bc(0x132)]();const _0x317ba9=this[_0x1398bc(0x209)][_0x1398bc(0x1ce)][_0x1398bc(0x1f3)](_0x1398bc(0x1c7)),{channelId:_0x43eff6}=_0x298715,_0xdaceb=_0x317ba9[_0x1398bc(0x1dc)](_0xa185f1(this[_0x1398bc(0x209)][_0x1398bc(0x1de)],_0x1398bc(0x184)));return _0x4cf9a4||(_0x4cf9a4={}),this[_0x1398bc(0x147)][_0x1398bc(0x1a0)]({'channelId':_0x43eff6,'threadId':_0x309838,'commentId':_0xff33c0,'content':_0x4ee082,'attributes':_0x4cf9a4})[_0x1398bc(0x151)](_0x2fc685=>{const _0x4ae2a7=_0x1398bc;_0x317ba9[_0x4ae2a7(0x17d)](_0xdaceb),_0x2fc685&&this[_0x4ae2a7(0x1bf)]({'channelId':_0x43eff6,'threadId':_0x309838,'commentId':_0xff33c0,'createdAt':_0x2fc685[_0x4ae2a7(0x1d2)],'isFromAdapter':!0x0});})[_0x1398bc(0x214)](_0x78fec1=>{const _0x3ebb7e=_0x1398bc;throw console[_0x3ebb7e(0x1da)](_0x78fec1),new _0x94be9a(_0x3ebb7e(0x1bc),this);});}[_0x5cd477(0x1bf)]({threadId:_0x80ab0d,commentId:_0x51d824,content:_0x4f186d,createdAt:_0x28d9fc,attributes:_0x6fe59,isFromAdapter:_0x5f095b}){const _0x57882b=_0x5cd477;if(void 0x0!==_0x4f186d&&(_0x57882b(0x163)!=typeof _0x4f186d||!_0x4f186d[_0x57882b(0x196)]()[_0x57882b(0x194)]))throw new _0x94be9a(_0x57882b(0x204));const _0x85d95a=this[_0x57882b(0x17f)](_0x80ab0d),_0x1a9bbb=_0x85d95a[_0x57882b(0x144)](_0x51d824);if(!_0x1a9bbb)throw new _0x94be9a(_0x57882b(0x1e7),this);let _0x1b7dbf=!0x1;if(_0x4f186d&&_0x4f186d!==_0x1a9bbb[_0x57882b(0x169)]&&(_0x1a9bbb[_0x57882b(0x1af)]||_0x5f095b)&&(_0x1a9bbb[_0x57882b(0x169)]=_0x4f186d,_0x1b7dbf=!0x0),_0x28d9fc&&_0x28d9fc!==_0x1a9bbb[_0x57882b(0x1d2)]&&(_0x1a9bbb[_0x57882b(0x1d2)]=_0x28d9fc,_0x1a9bbb[_0x57882b(0x1f9)]&&_0x1a9bbb[_0x57882b(0x1f9)][_0x57882b(0x175)]||(_0x1a9bbb[_0x57882b(0x1fb)]=_0x28d9fc),_0x1b7dbf=!0x0),_0x6fe59&&!_0x5bf07f(_0x6fe59,_0x1a9bbb[_0x57882b(0x1f9)])&&(_0x1a9bbb[_0x57882b(0x1f9)]=_0x6fe59,_0x1b7dbf=!0x0),!_0x1b7dbf)return Promise[_0x57882b(0x132)]();if(_0x85d95a[_0x57882b(0x187)](_0x57882b(0x203)),_0x5f095b||!this[_0x57882b(0x147)]||_0x57882b(0x1df)!=typeof this[_0x57882b(0x147)][_0x57882b(0x171)])return Promise[_0x57882b(0x132)]();const _0x12ac6b=this[_0x57882b(0x209)][_0x57882b(0x1ce)][_0x57882b(0x1f3)](_0x57882b(0x1c7)),{channelId:_0xb46437}=this[_0x57882b(0x17f)](_0x1a9bbb[_0x57882b(0x14c)]),_0x294366=_0x12ac6b[_0x57882b(0x1dc)](_0xa185f1(this[_0x57882b(0x209)][_0x57882b(0x1de)],_0x57882b(0x184)));return this[_0x57882b(0x147)][_0x57882b(0x171)]({'channelId':_0xb46437,'threadId':_0x80ab0d,'commentId':_0x51d824,'content':_0x4f186d,'attributes':_0x6fe59})[_0x57882b(0x151)](()=>_0x12ac6b[_0x57882b(0x17d)](_0x294366))[_0x57882b(0x214)](_0x20e0c6=>{const _0x50aacf=_0x57882b;throw console[_0x50aacf(0x1da)](_0x20e0c6),new _0x94be9a(_0x50aacf(0x1d9),this);});}[_0x5cd477(0x1f2)]({threadId:_0x387add,commentId:_0x34ede3,isFromAdapter:_0x126dfa}){const _0x428989=_0x5cd477,_0x59e74b=this[_0x428989(0x17f)](_0x387add),_0x1e6c72=_0x59e74b[_0x428989(0x144)](_0x34ede3);if(!_0x1e6c72)throw new _0x94be9a(_0x428989(0x1bd),this);if(_0x59e74b[_0x428989(0x200)](_0x1e6c72),_0x126dfa||!this[_0x428989(0x147)]||_0x428989(0x1df)!=typeof this[_0x428989(0x147)][_0x428989(0x16f)])return Promise[_0x428989(0x132)]();const _0x4ca1b7=this[_0x428989(0x209)][_0x428989(0x1ce)][_0x428989(0x1f3)](_0x428989(0x1c7)),{channelId:_0x5e1c6b}=_0x59e74b,_0x94e160=_0x4ca1b7[_0x428989(0x1dc)](_0xa185f1(this[_0x428989(0x209)][_0x428989(0x1de)],_0x428989(0x184)));return this[_0x428989(0x147)][_0x428989(0x16f)]({'channelId':_0x5e1c6b,'threadId':_0x387add,'commentId':_0x34ede3})[_0x428989(0x151)](()=>_0x4ca1b7[_0x428989(0x17d)](_0x94e160))[_0x428989(0x214)](_0x406357=>{const _0xe97ed0=_0x428989;throw console[_0xe97ed0(0x1da)](_0x406357),new _0x94be9a(_0xe97ed0(0x1d0),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0xa76dbc(){[_0x5cd477(0x197)];['id'];[_0x5cd477(0x12e)];[_0x5cd477(0x1bb)];[_0x5cd477(0x1ba)];[_0x5cd477(0x190)];constructor(_0x4e040c,_0x48f516){const _0x5ebe04=_0x5cd477;super();const _0x2841e9=_0x48f516[_0x5ebe04(0x164)];this[_0x5ebe04(0x197)]=_0x48f516[_0x5ebe04(0x197)],this['id']=_0x48f516['id'],this[_0x5ebe04(0x1ba)]=new _0x1a9a78(),this[_0x5ebe04(0x190)]=_0x4e040c,this[_0x5ebe04(0x12e)]=!0x1,this[_0x5ebe04(0x1bb)]=_0x48f516[_0x5ebe04(0x177)],this[_0x5ebe04(0x20a)](_0x5ebe04(0x1ef),!0x0),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x207))['to'](_0x4e040c,_0x5ebe04(0x1cc),_0x4e040c,_0x5ebe04(0x1ac),()=>_0x4e040c[_0x5ebe04(0x207)](this[_0x5ebe04(0x197)])),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x1d4))['to'](_0x4e040c,_0x5ebe04(0x1cc),()=>_0x4e040c[_0x5ebe04(0x13a)](this[_0x5ebe04(0x197)])[_0x5ebe04(0x216)]),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x199))['to'](_0x4e040c,_0x5ebe04(0x1cc),()=>{const _0x1b210f=_0x5ebe04,_0x141ab6=_0x4e040c[_0x1b210f(0x13a)](this[_0x1b210f(0x197)]);return _0x141ab6[_0x1b210f(0x141)]||_0x141ab6[_0x1b210f(0x216)];}),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x164))['to'](_0x4e040c,_0x5ebe04(0x1cc),()=>_0x2841e9&&_0x4e040c[_0x5ebe04(0x13a)](this[_0x5ebe04(0x197)])[_0x5ebe04(0x132)]),this[_0x5ebe04(0x20a)](_0x5ebe04(0x209),_0x48f516[_0x5ebe04(0x209)]),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x14b))['to'](this,_0x5ebe04(0x1d7),this,_0x5ebe04(0x145),(_0x56c03c,_0x546dea)=>_0x56c03c?_0x546dea?_0x56c03c<_0x546dea?_0x56c03c:_0x546dea:_0x56c03c:_0x546dea),this[_0x5ebe04(0x20a)](_0x5ebe04(0x145),_0x48f516[_0x5ebe04(0x145)]||null),this[_0x5ebe04(0x20a)](_0x5ebe04(0x1d7),_0x48f516[_0x5ebe04(0x1d7)]||null),this[_0x5ebe04(0x20a)](_0x5ebe04(0x19d),_0x48f516[_0x5ebe04(0x19d)]||null),this[_0x5ebe04(0x1d1)](_0x5ebe04(0x179))['to'](this,_0x5ebe04(0x1d7),_0x893ffc=>!!_0x893ffc),this[_0x5ebe04(0x20a)](_0x5ebe04(0x1f9),_0x48f516[_0x5ebe04(0x1f9)]||{});}get[_0x5cd477(0x19e)](){const _0x5cdd66=_0x5cd477;return Array[_0x5cdd66(0x1f6)](this[_0x5cdd66(0x1ba)])[_0x5cdd66(0x15a)]((_0x206aa1,_0x27c4eb)=>_0x206aa1+_0x27c4eb[_0x5cdd66(0x19e)],0x0);}get[_0x5cd477(0x194)](){const _0x114f39=_0x5cd477;return this[_0x114f39(0x1ba)][_0x114f39(0x194)];}get[_0x5cd477(0x15d)](){const _0x91671e=_0x5cd477;return this[_0x91671e(0x12e)];}get[_0x5cd477(0x177)](){const _0x48136b=_0x5cd477;return this[_0x48136b(0x1bb)];}[_0x5cd477(0x1db)](){const _0x2d3be6=_0x5cd477,{channelId:_0x614e3c,id:_0x4508d7}=this;this[_0x2d3be6(0x190)][_0x2d3be6(0x187)](xt(_0x2d3be6(0x20e),_0x614e3c),{'channelId':_0x614e3c,'threadId':_0x4508d7});}[_0x5cd477(0x1a2)](_0x37e991){const _0xbf9c41=_0x5cd477;this[_0xbf9c41(0x1e1)]({'unlinkedAt':_0x37e991});}[_0x5cd477(0x132)]({resolvedAt:_0x15f312=new Date(),resolvedBy:_0x31c9bd=null,isFromAdapter:_0x181bd8=!0x1}={}){const _0x325bb1=_0x5cd477,_0x27d1e1=this[_0x325bb1(0x190)][_0x325bb1(0x209)][_0x325bb1(0x1ce)][_0x325bb1(0x1f3)](_0x338b2a)['me'],{channelId:_0x31de8b,id:_0x1e20fc}=this;this[_0x325bb1(0x190)][_0x325bb1(0x187)](xt(_0x325bb1(0x1a4),_0x31de8b),{'channelId':_0x31de8b,'threadId':_0x1e20fc,'resolvedAt':_0x15f312,'resolvedBy':_0x31c9bd||_0x27d1e1['id'],'isFromAdapter':_0x181bd8});}[_0x5cd477(0x205)]({isFromAdapter:_0x41344d=!0x1}={}){const _0x354f10=_0x5cd477,{channelId:_0x22c6c0,id:_0x85b661}=this;this[_0x354f10(0x190)][_0x354f10(0x187)](xt(_0x354f10(0x20f),_0x22c6c0),{'channelId':_0x22c6c0,'threadId':_0x85b661,'isFromAdapter':_0x41344d});}[_0x5cd477(0x1c8)](_0xd8e925){const _0x18f71a=_0x5cd477;this[_0x18f71a(0x209)]||this[_0x18f71a(0x1e1)]({'context':_0xd8e925});}[_0x5cd477(0x1ae)](_0x57664e,_0xadb083){const _0x2c2a6d=_0x5cd477,_0x1eb7e7=_0x28303b(this[_0x2c2a6d(0x1f9)]);_0x1a1cf1(_0x1eb7e7,_0x57664e,_0xadb083),this[_0x2c2a6d(0x1e1)]({'attributes':_0x1eb7e7});}[_0x5cd477(0x217)](_0x417cae){const _0x3c3df3=_0x5cd477,_0x5a510e=_0x28303b(this[_0x3c3df3(0x1f9)]);_0x323885(_0x5a510e,_0x417cae),this[_0x3c3df3(0x1e1)]({'attributes':_0x5a510e});}[_0x5cd477(0x17d)]({isFromAdapter:_0x45c1d2=!0x1}={}){const _0x59a6ce=_0x5cd477,{channelId:_0x11d7ff,id:_0x563976}=this;this[_0x59a6ce(0x190)][_0x59a6ce(0x187)](xt(_0x59a6ce(0x143),_0x11d7ff),{'channelId':_0x11d7ff,'threadId':_0x563976,'isFromAdapter':_0x45c1d2});}[_0x5cd477(0x18f)](_0x4f7f09){const _0x1511e9=_0x5cd477;return this[_0x1511e9(0x190)][_0x1511e9(0x20c)]({'threadId':this['id'],'target':_0x4f7f09});}[_0x5cd477(0x1a0)](_0x1a4097){const _0xca04ce=_0x5cd477,{channelId:_0x48e12d,id:_0x2280e2}=this;this[_0xca04ce(0x190)][_0xca04ce(0x187)](xt(_0xca04ce(0x1a0),_0x48e12d,_0x2280e2),Object[_0xca04ce(0x210)]({'channelId':_0x48e12d,'threadId':_0x2280e2},_0x1a4097));}[_0x5cd477(0x144)](_0x4a5baf){const _0x1e8ff1=_0x5cd477;if(_0x1e8ff1(0x163)!=typeof _0x4a5baf)throw new _0x94be9a(_0x1e8ff1(0x1b1),null,{'commentId':_0x4a5baf});return this[_0x1e8ff1(0x1ba)][_0x1e8ff1(0x1f3)](_0x4a5baf);}[_0x5cd477(0x1b3)](){const _0x3feeaa=_0x5cd477;return{'threadId':this['id'],'context':this[_0x3feeaa(0x209)],'unlinkedAt':this[_0x3feeaa(0x145)],'resolvedAt':this[_0x3feeaa(0x1d7)],'resolvedBy':this[_0x3feeaa(0x19d)]?this[_0x3feeaa(0x19d)]['id']:null,'archivedAt':this[_0x3feeaa(0x14b)],'comments':this[_0x3feeaa(0x1ba)][_0x3feeaa(0x15b)](_0x2929f0=>_0x2929f0[_0x3feeaa(0x1b3)]()),'attributes':this[_0x3feeaa(0x1f9)]};}[_0x5cd477(0x1f4)](_0xa4156){const _0x10d1c4=_0x5cd477;return this[_0x10d1c4(0x1aa)](_0xa4156,_0x10d1c4(0x156),()=>{const _0x4319d4=_0x10d1c4,_0x19e1d6=this[_0x4319d4(0x14d)](_0xa4156),_0x47c50a=this[_0x4319d4(0x1ba)];_0x19e1d6-0x1!=_0x47c50a[_0x4319d4(0x1c1)](_0xa4156)&&_0x19e1d6+0x1!=_0x47c50a[_0x4319d4(0x1c1)](_0xa4156)&&(this[_0x4319d4(0x200)](_0xa4156),this[_0x4319d4(0x1f4)](_0xa4156));}),this[_0x10d1c4(0x1ba)][_0x10d1c4(0x1dc)](_0xa4156,this[_0x10d1c4(0x14d)](_0xa4156));}[_0x5cd477(0x1e1)](_0x457333){const _0x3780d9=_0x5cd477,{channelId:_0x21a23b,id:_0x492cef}=this;this[_0x3780d9(0x190)][_0x3780d9(0x187)](xt(_0x3780d9(0x170),_0x21a23b),{..._0x457333,'channelId':_0x21a23b,'threadId':_0x492cef});}[_0x5cd477(0x200)](_0x47b786){const _0x4b9886=_0x5cd477;return this[_0x4b9886(0x131)](_0x47b786),_0x47b786[_0x4b9886(0x174)](),this[_0x4b9886(0x1ba)][_0x4b9886(0x17d)](_0x47b786);}[_0x5cd477(0x14d)](_0x1f3e3d){const _0x3eae76=_0x5cd477,_0x384542=this[_0x3eae76(0x1ba)][_0x3eae76(0x15e)](_0x18b82d=>new Date(_0x18b82d[_0x3eae76(0x1fb)])[_0x3eae76(0x159)]()>new Date(_0x1f3e3d[_0x3eae76(0x1fb)])[_0x3eae76(0x159)]());return _0x384542?this[_0x3eae76(0x1ba)][_0x3eae76(0x1c1)](_0x384542):this[_0x3eae76(0x194)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0xa76dbc(){['id'];[_0x5cd477(0x14c)];[_0x5cd477(0x1ab)];[_0x5cd477(0x215)];[_0x5cd477(0x208)];[_0x5cd477(0x1d2)];[_0x5cd477(0x190)];constructor(_0x22437d,_0x4e1046){const _0x4c53ea=_0x5cd477;super();const _0xc7f56e=_0x22437d[_0x4c53ea(0x209)][_0x4c53ea(0x1ce)][_0x4c53ea(0x1f3)](_0x338b2a)['me'],_0x22e38b=_0x22437d[_0x4c53ea(0x17f)](_0x4e1046[_0x4c53ea(0x14c)]),_0x586e54=0x0===_0x22e38b[_0x4c53ea(0x1ba)][_0x4c53ea(0x194)],_0x111e19=_0xc7f56e===_0x4e1046[_0x4c53ea(0x1ab)];this['id']=_0x4e1046['id'],this[_0x4c53ea(0x14c)]=_0x4e1046[_0x4c53ea(0x14c)],this[_0x4c53ea(0x1ab)]=_0x4e1046[_0x4c53ea(0x1ab)],this[_0x4c53ea(0x215)]=_0x4e1046[_0x4c53ea(0x215)],this[_0x4c53ea(0x208)]=Boolean(_0x4e1046[_0x4c53ea(0x1f9)]&&_0x4e1046[_0x4c53ea(0x1f9)][_0x4c53ea(0x175)]),this[_0x4c53ea(0x20a)](_0x4c53ea(0x169),_0x4e1046[_0x4c53ea(0x169)]),this[_0x4c53ea(0x1d2)]=_0x4e1046[_0x4c53ea(0x1d2)]||new Date(),this[_0x4c53ea(0x20a)](_0x4c53ea(0x1fb),_0x4e1046[_0x4c53ea(0x1fb)]||new Date()),this[_0x4c53ea(0x1d1)](_0x4c53ea(0x1d7))['to'](_0x22e38b,_0x4c53ea(0x1d7)),this[_0x4c53ea(0x20a)](_0x4c53ea(0x1f9),_0x4e1046[_0x4c53ea(0x1f9)]||{}),this[_0x4c53ea(0x1d1)](_0x4c53ea(0x1af))['to'](_0x22437d,_0x4c53ea(0x1cc),()=>{const _0x21b32d=_0x4c53ea,_0x3de4ed=_0x22437d[_0x21b32d(0x13a)](_0x22e38b[_0x21b32d(0x197)])[_0x21b32d(0x141)],_0x3dc517=_0x22437d[_0x21b32d(0x13a)](_0x22e38b[_0x21b32d(0x197)])[_0x21b32d(0x1d6)];return _0x111e19&&_0x3de4ed||!_0x111e19&&_0x3dc517;}),this[_0x4c53ea(0x1d1)](_0x4c53ea(0x1d4))['to'](_0x22e38b,_0x4c53ea(0x1d4),_0x22437d,_0x4c53ea(0x1cc),_0x427c80=>{const _0x37236c=_0x4c53ea,_0x14c48f=_0x22437d[_0x37236c(0x13a)](_0x22e38b[_0x37236c(0x197)])[_0x37236c(0x141)],_0x36dea1=_0x22437d[_0x37236c(0x13a)](_0x22e38b[_0x37236c(0x197)])[_0x37236c(0x1d6)];return _0x111e19&&_0x14c48f||_0x427c80&&_0x586e54||!_0x111e19&&_0x36dea1&&!_0x586e54;}),this[_0x4c53ea(0x1d1)](_0x4c53ea(0x207))['to'](_0x22e38b,_0x4c53ea(0x207)),this[_0x4c53ea(0x190)]=_0x22437d;}get[_0x5cd477(0x19e)](){const _0x2e3f22=_0x5cd477;return Math[_0x2e3f22(0x158)](function(_0x462e14){const _0x5cd087=_0x2e3f22,_0x5080e2=document[_0x5cd087(0x1e8)](_0x5cd087(0x1f1));return _0x5080e2[_0x5cd087(0x12d)]=_0x462e14,_0x5080e2[_0x5cd087(0x188)][_0x5cd087(0x194)];}(this[_0x2e3f22(0x169)]),0xc8);}[_0x5cd477(0x1a1)](_0x1de6c1){const _0x315bf7=_0x5cd477,{threadId:_0x5921bc,id:_0xafe74e}=this;if(!this[_0x315bf7(0x190)][_0x315bf7(0x146)](_0x5921bc))throw new _0x94be9a(_0x315bf7(0x192),this);const {channelId:_0x1c1982}=this[_0x315bf7(0x190)][_0x315bf7(0x17f)](_0x5921bc);this[_0x315bf7(0x190)][_0x315bf7(0x187)](xt(_0x315bf7(0x171),_0x1c1982,_0x5921bc),{'channelId':_0x1c1982,'threadId':_0x5921bc,'commentId':_0xafe74e,..._0x1de6c1});}[_0x5cd477(0x1ae)](_0x113549,_0x17f948){const _0x4c275c=_0x5cd477,_0x4b358f=_0x28303b(this[_0x4c275c(0x1f9)]);_0x1a1cf1(_0x4b358f,_0x113549,_0x17f948),this[_0x4c275c(0x1a1)]({'attributes':_0x4b358f});}[_0x5cd477(0x217)](_0x44715c){const _0x69cd8f=_0x5cd477,_0xf8aa4f=_0x28303b(this[_0x69cd8f(0x1f9)]);_0x323885(_0xf8aa4f,_0x44715c),this[_0x69cd8f(0x1a1)]({'attributes':_0xf8aa4f});}[_0x5cd477(0x17d)](_0x501568={}){const _0x312d5e=_0x5cd477;if(!_0x501568[_0x312d5e(0x1b0)]&&!this[_0x312d5e(0x1d4)])return;const {threadId:_0x3658a9,id:_0x55d1a4}=this;if(!this[_0x312d5e(0x190)][_0x312d5e(0x146)](_0x3658a9))throw new _0x94be9a(_0x312d5e(0x15c),this);const {channelId:_0x1ec3f1}=this[_0x312d5e(0x190)][_0x312d5e(0x17f)](_0x3658a9);this[_0x312d5e(0x190)][_0x312d5e(0x187)](xt(_0x312d5e(0x16f),_0x1ec3f1,_0x3658a9),{'channelId':_0x1ec3f1,'threadId':_0x3658a9,'commentId':_0x55d1a4,..._0x501568});}[_0x5cd477(0x1b3)](){const _0x325736=_0x5cd477;return{'commentId':this['id'],'content':this[_0x325736(0x169)],'createdAt':this[_0x325736(0x1d2)],'authorId':this[_0x325736(0x215)]['id'],'attributes':this[_0x325736(0x1f9)]};}[_0x5cd477(0x174)](){const _0x4d8182=_0x5cd477;this[_0x4d8182(0x131)]();}}function xt(_0x529a34,..._0x5c6de7){for(const _0x46d42f of _0x5c6de7)void 0x0!==_0x46d42f&&(_0x529a34+=':'+String(_0x46d42f));return _0x529a34;}
23
+ const _0x23a01a=_0xa2d2;function _0xcb99(){const _0x6c6367=['view','removeCommentThread','authoredAt','commentsrepository-duplicated-comment-thread-id','createCommentThreadController','commentsrepository-resolved-comment-thread','change:_permissions','setAttribute','editorDestroyed','map','textContent','_hasTargetInContent','24264691UjTwHa','commentsrepository-remove-missing-comment','isSubmitted','authorName','unlinkedAt','_removeComment','isPremiumPlugin','attachTo','commentThreadInputView','comments','context','comments.editorConfig','deactivateAll','switchReadOnly','pluginName','createdAt','getCommentThreadForAnnotation','_unbindEditors','delete','CommentsRepository','threadId','string','_findOptimalIndex','_updateActiveAnnotation','innerHTML','catch','noChannel','CommentView','archivedAt','16173800SUwDuP','commentsrepository-add-comment-thread-internal-error','commentsrepository-reopen-comment-thread-internal-error','activeCommentThread','canComment','setPermissions','9VOmVhV','_removeActiveAnnotation','12XDrgjH','commentsrepository-remove-comment-missing-comment-thread','isExternal','comments.CommentThreadView','_removeCommentThread','change:isDirty','12467384rzfAUA','252hbuAaH','values','function','getByInnerView','commentsrepository-attach-missing-comment-thread','commentsrepository-update-comment-thread-internal-error','commentsListView','getCommentThreads','_add','init','isVisible','licenseKey','_createNewComment','commentsrepository-active-missing-comment-thread','toJSON','commentUpdated','listenTo','getUser','highest','from','change:authoredAt','removeComment','createElement','author','commentsrepository-invalid-commentid','removeAttribute','focus','101935eHbEMZ','update','commentsrepository-update-comment-missing-comment-thread','_resolveCommentThread','weight','PENDING_ACTION_COMMENT_THREAD','addComment','PendingActions','config','CommentThreadView','_repository','fetchCommentThread','commentsrepository-invalid-comment-thread-id','comments.maxCommentsWhenCollapsed','find','commentsrepository-active-not-attached','length','plugins','_threads','define','commentInputView','commentsrepository-fetch-comment-thread','model','hasCommentThread','_update','commentsrepository-add-comment-user-not-exists','channelId','innerView','commentsrepository-missing-comment-thread','updateCommentThread','commentsrepository-missing-target','activate','commentsrepository-remove-comment-thread-internal-error','_viewToController','editorReady','_updateComment','commentsrepository-invalid-comment-authorid','push','locale','_reopenCommentThread','_attachCommentThread','isReadOnly','change:_readOnlyChannels','_bindAnnotationToEditors','type','commentsrepository-remove-missing-comment-thread','isActive','adapter','setContext','addUser','updateComment','2394102AjGsCd','then','commentsrepository-missing-thread-and-adapter-method','commentsrepository-remove-comment-internal-error','get','isFromAdapter','body','addCommentThread','_readOnlyChannels','setActiveCommentThread','trim','requires','_addComment','_permissions','write','attributes','modifyAll','resolvedAt','_submitCommentThread','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-get-comment-invalid-id','31362RQOltG','focusableElements','commentsrepository-update-missing-comment','focusTracker','filter','escape','external:','max','submit','commentsrepository-update-comment-invalid-content','commentsrepository-add-comment-to-missing-comment-thread','87284fGykuC','isEditable','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','getAnnotationForCommentThread','@external','_updateCommentThread','reopenCommentThread','commentsrepository-add-comment-internal-error','set','_threadToController','isOfficialPlugin','destroy','_remove','_isAttached','commentsrepository-adapter-already-set','fire','change:activeAnnotations','warn','getPermissions','26UdIUqw','resolvedBy','getTime','content','isDirty','commentsrepository-invalid-comment-content','_createCommentThreadView','2016HrTssF','error','setUnlinkedAt','_isSubmitted','openNewCommentThread','creator','once','add','admin','submitCommentThread','getCommentThread','isResolved','resolveCommentThread','commentsrepository-reopen-comment-thread','comment','_adapter','has','comments.CommentView','assign','commentsrepository-update-comment-internal-error','_detachCommentThread','isAttached','comments.maxThreadTotalWeight','isRemovable','stopListening','reduce','lowest','reopen','commentId','comments.copyMarkers','resolve','refreshVisibility','bind','getIndex','remove','_addCommentThread','bodyCollectionContainer','comments.maxCommentCharsWhenCollapsed','_getExternalAuthor','getComment','div','isResolvable'];_0xcb99=function(){return _0x6c6367;};return _0xcb99();}(function(_0x2bba63,_0x162d2d){const _0x3c0540=_0xa2d2,_0x32f432=_0x2bba63();while(!![]){try{const _0x5e6f61=-parseInt(_0x3c0540(0x16a))/0x1*(-parseInt(_0x3c0540(0x157))/0x2)+-parseInt(_0x3c0540(0x137))/0x3+parseInt(_0x3c0540(0xe9))/0x4*(parseInt(_0x3c0540(0x104))/0x5)+-parseInt(_0x3c0540(0x14c))/0x6*(-parseInt(_0x3c0540(0x171))/0x7)+parseInt(_0x3c0540(0xe8))/0x8+-parseInt(_0x3c0540(0xe0))/0x9*(parseInt(_0x3c0540(0xda))/0xa)+parseInt(_0x3c0540(0x1a7))/0xb*(-parseInt(_0x3c0540(0xe2))/0xc);if(_0x5e6f61===_0x162d2d)break;else _0x32f432['push'](_0x32f432['shift']());}catch(_0x3bedf4){_0x32f432['push'](_0x32f432['shift']());}}}(_0xcb99,0xd2589));import{PendingActions as _0x55f5ff,ContextPlugin as _0x44acf8,Editor as _0x2bcad2}from'ckeditor5/src/core.js';import{Collection as _0x4a9ffa,uid as _0x34bf71,CKEditorError as _0x29e860,ObservableMixin as _0x520c3d}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x440fbf,hashObject as _0x56ceca,Users as _0x32c5dc}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x2e7c9e,isEqual as _0x91b941,set as _0x2ee755,unset as _0x33b054}from'es-toolkit/compat';import{CommentThreadController as _0x1e08fe}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x439399}from'./ui/view/commentthreadview.js';import{CommentView as _0x3fa87d}from'./ui/view/commentview.js';import{getTranslation as _0xce3493}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x67b709}from'../annotations/view/annotationview.js';import{Annotation as _0x3a1b0e}from'../annotations/annotation.js';function _0xa2d2(_0x14953e,_0x2be750){const _0xcb994f=_0xcb99();return _0xa2d2=function(_0xa2d229,_0x2d86c6){_0xa2d229=_0xa2d229-0xcb;let _0x5ea46b=_0xcb994f[_0xa2d229];return _0x5ea46b;},_0xa2d2(_0x14953e,_0x2be750);}import{Annotations as _0x5a7d6f}from'../annotations/annotations.js';const _t=Symbol(_0x23a01a(0xd7)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x44acf8{[_0x23a01a(0x116)];[_0x23a01a(0x160)];[_0x23a01a(0x125)];static get[_0x23a01a(0x142)](){return[_0x5a7d6f,_0x55f5ff,_0x32c5dc];}static get[_0x23a01a(0xcb)](){const _0x192f3c=_0x23a01a;return _0x192f3c(0xd0);}static get[_0x23a01a(0x161)](){return!0x0;}static get[_0x23a01a(0x1ad)](){return!0x0;}constructor(_0x1b73ba){const _0x4d9e42=_0x23a01a;super(_0x1b73ba),this[_0x4d9e42(0x116)]=new Map(),this[_0x4d9e42(0x160)]=new Map(),this[_0x4d9e42(0x125)]=new Map(),this[_0x4d9e42(0x15f)](_0x4d9e42(0x13f),new Set()),this[_0x4d9e42(0x15f)](_0x4d9e42(0x144),new Map());const _0x722898=this[_0x4d9e42(0x1b1)][_0x4d9e42(0x10c)];_0x722898[_0x4d9e42(0x117)](_0x4d9e42(0x111),0x2),_0x722898[_0x4d9e42(0x117)](_0x4d9e42(0x187),0x1f4),_0x722898[_0x4d9e42(0x117)](_0x4d9e42(0x196),0x8c),_0x722898[_0x4d9e42(0x117)](_0x4d9e42(0xe5),_0x439399),_0x722898[_0x4d9e42(0x117)](_0x4d9e42(0x182),_0x3fa87d),_0x722898[_0x4d9e42(0x13b)](_0x4d9e42(0x1b2))||console[_0x4d9e42(0x168)](_0x4d9e42(0x159));}[_0x23a01a(0xf2)](){const _0x5f2fcd=_0x23a01a,_0x1b378c=this[_0x5f2fcd(0x1b1)][_0x5f2fcd(0x115)][_0x5f2fcd(0x13b)](_0x5a7d6f);this[_0x5f2fcd(0x15f)](_0x5f2fcd(0xdd),null),this['on'](_0x5f2fcd(0x13e),(_0x3ecb38,_0x2e894e)=>this[_0x5f2fcd(0x194)](_0x2e894e)),this['on'](_0x5f2fcd(0x17a),(_0x53951c,_0x33a3aa)=>this[_0x5f2fcd(0x149)](_0x33a3aa)),this['on'](_0x5f2fcd(0x17d),(_0x3aaa12,_0x2ca764)=>this[_0x5f2fcd(0x107)](_0x2ca764)),this['on'](_0x5f2fcd(0x17d),(_0x4ad0bc,_0xa80bd0)=>this[_0x5f2fcd(0xd4)](_0xa80bd0),{'priority':_0x5f2fcd(0x18b)}),this['on'](_0x5f2fcd(0x15d),(_0x4be971,_0x48f58e)=>this[_0x5f2fcd(0x12b)](_0x48f58e)),this['on'](_0x5f2fcd(0x15d),(_0x40e1bd,_0x3c0271)=>this[_0x5f2fcd(0xd4)](_0x3c0271),{'priority':_0x5f2fcd(0x18b)}),this['on'](_0x5f2fcd(0x19c),(_0x1068e2,_0x5bb183)=>this[_0x5f2fcd(0xe6)](_0x5bb183)),this['on'](_0x5f2fcd(0x121),(_0x1bce01,_0x185c00)=>this[_0x5f2fcd(0x15c)](_0x185c00)),this['on'](_0x5f2fcd(0x121),(_0x4479f7,_0x4247dd)=>this[_0x5f2fcd(0xd4)](_0x4247dd),{'priority':_0x5f2fcd(0x18b)}),this['on'](_0x5f2fcd(0x10a),(_0x4adaee,_0x165c62)=>this[_0x5f2fcd(0x143)](_0x165c62)),this['on'](_0x5f2fcd(0x136),(_0x35b352,_0x176d60)=>this[_0x5f2fcd(0x127)](_0x176d60)),this['on'](_0x5f2fcd(0xfe),(_0x48d85e,_0x4410e5)=>this[_0x5f2fcd(0x1ac)](_0x4410e5)),this['on'](_0x5f2fcd(0x10a),(_0x57f3c3,{threadId:_0x24a9c7,isFromAdapter:_0x38cc16})=>{const _0xdb5fd3=_0x5f2fcd;if(_0x38cc16)return;const _0x2bf5a2=this[_0xdb5fd3(0x17b)](_0x24a9c7),_0x4754fd=_0x2bf5a2&&this[_0xdb5fd3(0x160)][_0xdb5fd3(0x13b)](_0x2bf5a2);_0x4754fd&&_0x4754fd[_0xdb5fd3(0x19b)][_0xdb5fd3(0xef)][_0xdb5fd3(0x103)](-0x1);},{'priority':_0x5f2fcd(0x18b)}),this[_0x5f2fcd(0xf9)](_0x1b378c,_0x5f2fcd(0x167),(_0x173360,_0x452618,_0x5e6a1f)=>{const _0x14026a=_0x5f2fcd,_0x195d6d=Array[_0x14026a(0xfc)](_0x5e6a1f)[_0x14026a(0x1a4)](_0x49ece0=>this[_0x14026a(0x125)][_0x14026a(0x13b)](_0x49ece0[_0x14026a(0x11f)]))[_0x14026a(0x150)](Boolean)[0x0];this[_0x14026a(0xdd)]=_0x195d6d?_0x195d6d[_0x14026a(0x11a)]:null;});}set[_0x23a01a(0x133)](_0x2bbe5e){const _0x66bb93=_0x23a01a;if(this[_0x66bb93(0x180)])throw new _0x29e860(_0x66bb93(0x165));this[_0x66bb93(0x180)]=_0x2bbe5e;}get[_0x23a01a(0x133)](){const _0x3e775e=_0x23a01a;return this[_0x3e775e(0x180)];}[_0x23a01a(0x13e)]({channelId:_0x2ee969=_t,threadId:_0x1645d0=_0x34bf71(),comments:_0x1eee8a=[],unlinkedAt:_0xf9a1a8=null,resolvedAt:_0x1c79d1=null,resolvedBy:_0x236cba=null,target:_0x3c43e3=null,context:_0x5b8205=null,attributes:_0x2c46a1={},isResolvable:_0x1e3fa7=!0x0,isSubmitted:_0x301873=!0x1,isFromAdapter:_0x2b3a46=!0x1}={}){const _0x44988d=_0x23a01a;return this[_0x44988d(0x166)](Nt(_0x44988d(0x13e),_0x2ee969),{'channelId':_0x2ee969,'threadId':_0x1645d0,'comments':_0x1eee8a,'unlinkedAt':_0xf9a1a8,'resolvedAt':_0x1c79d1,'resolvedBy':_0x236cba,'target':_0x3c43e3,'context':_0x5b8205,'attributes':_0x2c46a1,'isFromAdapter':_0x2b3a46,'isResolvable':_0x1e3fa7,'isSubmitted':_0x301873}),this[_0x44988d(0x17b)](_0x1645d0);}[_0x23a01a(0x175)]({channelId:_0x53077f=_t,threadId:_0x115592=_0x34bf71(),target:_0x2240e4,context:_0x116e28=null,isResolvable:_0x15768c=!0x0}){const _0x59a5cf=_0x23a01a;if(this[_0x59a5cf(0x13f)][_0x59a5cf(0x181)](_0x53077f)||this[_0x59a5cf(0x13f)][_0x59a5cf(0x181)](void 0x0))return null;if(!_0x2240e4)throw new _0x29e860(_0x59a5cf(0x122));const _0x13cdc8=this[_0x59a5cf(0x13e)]({'channelId':_0x53077f,'threadId':_0x115592,'target':_0x2240e4,'context':_0x116e28,'isResolvable':_0x15768c});if(!_0x13cdc8)return null;const _0x32287c=this[_0x59a5cf(0x160)][_0x59a5cf(0x13b)](_0x13cdc8),_0x91a89e=_0x32287c[_0x59a5cf(0x19b)][_0x59a5cf(0x1af)][_0x59a5cf(0x118)],_0x221acd=this[_0x59a5cf(0x1b1)][_0x59a5cf(0x115)][_0x59a5cf(0x13b)](_0x5a7d6f),_0x555ea1=_0x221acd[_0x59a5cf(0xec)](_0x32287c[_0x59a5cf(0x19b)]);return _0x221acd[_0x59a5cf(0x123)](_0x555ea1),_0x91a89e[_0x59a5cf(0x177)](_0x59a5cf(0x126),()=>_0x91a89e[_0x59a5cf(0x103)]()),_0x13cdc8;}[_0x23a01a(0x11b)](_0x5d129a){const _0x3e3f63=_0x23a01a;if(_0x3e3f63(0xd2)!=typeof _0x5d129a)throw new _0x29e860(_0x3e3f63(0x110));return this[_0x3e3f63(0x116)][_0x3e3f63(0x181)](_0x5d129a);}[_0x23a01a(0x121)]({channelId:_0x1048a1=_t,threadId:_0x407cdb,context:_0x2cfee3,unlinkedAt:_0x4f12ad,attributes:_0xa4fffb,isFromAdapter:_0x1227b3=!0x1}){const _0x49e757=_0x23a01a;return this[_0x49e757(0x166)](Nt(_0x49e757(0x121),_0x1048a1),{'channelId':_0x1048a1,'threadId':_0x407cdb,'context':_0x2cfee3,'unlinkedAt':_0x4f12ad,'attributes':_0xa4fffb,'isFromAdapter':_0x1227b3}),this[_0x49e757(0x17b)](_0x407cdb);}[_0x23a01a(0x17b)](_0xbfc8c3){const _0x89f3d3=_0x23a01a;if(_0x89f3d3(0xd2)!=typeof _0xbfc8c3)throw new _0x29e860(_0x89f3d3(0x110));return this[_0x89f3d3(0x116)][_0x89f3d3(0x13b)](_0xbfc8c3);}[_0x23a01a(0x10f)]({channelId:_0x3fe372,threadId:_0x2a85a3}={}){const _0x1c5985=_0x23a01a,_0x1bd2c7=this[_0x1c5985(0x17b)](_0x2a85a3);if(_0x1bd2c7)return Promise[_0x1c5985(0x18f)](_0x1bd2c7);if(!this[_0x1c5985(0x133)])return Promise[_0x1c5985(0x18f)](void 0x0);if(_0x1c5985(0xeb)!=typeof this[_0x1c5985(0x133)][_0x1c5985(0x17b)])throw new _0x29e860(_0x1c5985(0x139),this[_0x1c5985(0x1b1)]);return this[_0x1c5985(0x133)][_0x1c5985(0x17b)]({'channelId':_0x3fe372,'threadId':_0x2a85a3})[_0x1c5985(0x138)](_0x37a024=>this[_0x1c5985(0x11b)](_0x2a85a3)?this[_0x1c5985(0x17b)](_0x2a85a3):_0x37a024?this[_0x1c5985(0x13e)](Object[_0x1c5985(0x183)]({'isFromAdapter':!0x0,'channelId':_0x3fe372},_0x37a024)):void 0x0)[_0x1c5985(0xd6)](_0x3793cf=>{const _0x1ea6d6=_0x1c5985;throw console[_0x1ea6d6(0x172)](_0x3793cf),new _0x29e860(_0x1ea6d6(0x119),this[_0x1ea6d6(0x1b1)]);});}[_0x23a01a(0xf0)]({channelId:_0x1a91b7,skipNotAttached:_0x526011=!0x1,skipEmpty:_0x3a2989=!0x1,toJSON:_0xaca25a=!0x1}={}){const _0x547fa1=_0x23a01a,_0x501cf7=[];for(const _0x538dc0 of this[_0x547fa1(0x116)][_0x547fa1(0xea)]())_0x1a91b7&&_0x538dc0[_0x547fa1(0x11e)]!==_0x1a91b7||_0x526011&&!_0x538dc0[_0x547fa1(0x186)]||_0x3a2989&&0x0===_0x538dc0[_0x547fa1(0x114)]||_0x501cf7[_0x547fa1(0x129)](_0x538dc0);return _0xaca25a?_0x501cf7[_0x547fa1(0x1a4)](_0x584cc2=>_0x584cc2[_0x547fa1(0xf7)]()):_0x501cf7;}[_0x23a01a(0x15a)](_0x4f05f7){const _0x335aa7=_0x23a01a,_0xb430c9=this[_0x335aa7(0x160)][_0x335aa7(0x13b)](_0x4f05f7);if(!_0xb430c9)return null;return this[_0x335aa7(0x1b1)][_0x335aa7(0x115)][_0x335aa7(0x13b)](_0x5a7d6f)[_0x335aa7(0xec)](_0xb430c9[_0x335aa7(0x19b)])||null;}[_0x23a01a(0xcd)](_0x5349b0){const _0x2f0a11=_0x23a01a,_0x5c3259=this[_0x2f0a11(0x125)][_0x2f0a11(0x13b)](_0x5349b0[_0x2f0a11(0x11f)]);return _0x5c3259?_0x5c3259[_0x2f0a11(0x11a)]:null;}[_0x23a01a(0x140)](_0x15bdea){const _0x3e86f4=_0x23a01a,_0x4f1202=this[_0x3e86f4(0x1b1)][_0x3e86f4(0x115)][_0x3e86f4(0x13b)](_0x5a7d6f);if(!_0x15bdea)return void(this[_0x3e86f4(0xdd)]&&_0x4f1202[_0x3e86f4(0x1b3)]());const _0x5e2a4e=this[_0x3e86f4(0x17b)](_0x15bdea);if(!_0x5e2a4e)throw new _0x29e860(_0x3e86f4(0xf6),null,{'threadId':_0x15bdea});if(!this[_0x3e86f4(0x160)][_0x3e86f4(0x181)](_0x5e2a4e))throw new _0x29e860(_0x3e86f4(0x113),null,{'threadId':_0x15bdea});const _0x55e7c3=_0x4f1202[_0x3e86f4(0xec)](this[_0x3e86f4(0x160)][_0x3e86f4(0x13b)](_0x5e2a4e)[_0x3e86f4(0x19b)]);_0x4f1202[_0x3e86f4(0x123)](_0x55e7c3);}[_0x23a01a(0x1b4)](_0x129707,_0x354dfa){const _0x2dcb33=_0x23a01a;_0x129707?this[_0x2dcb33(0x13f)][_0x2dcb33(0x178)](_0x354dfa):this[_0x2dcb33(0x13f)][_0x2dcb33(0xcf)](_0x354dfa),this[_0x2dcb33(0x166)](_0x2dcb33(0x12e),_0x2dcb33(0x13f),this[_0x2dcb33(0x13f)],this[_0x2dcb33(0x13f)]);}[_0x23a01a(0x12d)](_0xd3825f){const _0x66ea91=_0x23a01a;return this[_0x66ea91(0x13f)][_0x66ea91(0x181)](_0xd3825f)||this[_0x66ea91(0x13f)][_0x66ea91(0x181)](void 0x0);}[_0x23a01a(0x19f)](_0x435f84,_0x59d4b4){return new _0x1e08fe(_0x435f84,_0x59d4b4);}[_0x23a01a(0xdf)](_0x3887ac,_0x36ca11=_t){const _0x39dcd9=_0x23a01a;this[_0x39dcd9(0x144)][_0x39dcd9(0x15f)](_0x36ca11,_0x3887ac),this[_0x39dcd9(0x166)](_0x39dcd9(0x1a1),_0x39dcd9(0x144),this[_0x39dcd9(0x144)],this[_0x39dcd9(0x144)]);}[_0x23a01a(0x169)](_0x4989c6=_t){const _0x27c90e=_0x23a01a;return this[_0x27c90e(0x144)][_0x27c90e(0x181)](_0x4989c6)?this[_0x27c90e(0x144)][_0x27c90e(0x13b)](_0x4989c6):bt;}[_0x23a01a(0x194)]({channelId:_0x5bf599,threadId:_0xb648c7,comments:_0x2f03cb,unlinkedAt:_0x5d634c,resolvedAt:_0x19734e,resolvedBy:_0x100832,target:_0x14928c,context:_0x222543,attributes:_0x490ad5,isFromAdapter:_0x179548,isResolvable:_0x57aa96,isSubmitted:_0x29f007}){const _0x2493a9=_0x23a01a;if(_0x2493a9(0xd2)!=typeof _0xb648c7)throw new _0x29e860(_0x2493a9(0x110),null,{'threadId':_0xb648c7});if(this[_0x2493a9(0x11b)](_0xb648c7))throw new _0x29e860(_0x2493a9(0x19e),null,{'threadId':_0xb648c7});const _0x4c6a8b=new CommentThread(this,{'channelId':_0x5bf599,'id':_0xb648c7,'context':_0x222543,'attributes':_0x490ad5,'unlinkedAt':_0x5d634c,'resolvedAt':_0x19734e,'resolvedBy':_0x100832?this[_0x2493a9(0x1b1)][_0x2493a9(0x115)][_0x2493a9(0x13b)](_0x32c5dc)[_0x2493a9(0xfa)](_0x100832):null,'isResolvable':_0x57aa96,'isSubmitted':_0x29f007||_0x179548});this[_0x2493a9(0x116)][_0x2493a9(0x15f)](_0xb648c7,_0x4c6a8b);for(const _0x9527c4 of _0x2f03cb)_0x4c6a8b[_0x2493a9(0xf1)](this[_0x2493a9(0xf5)]({'threadId':_0xb648c7,..._0x9527c4}));return _0x14928c&&_0x4c6a8b[_0x2493a9(0x1ae)](_0x14928c),_0x179548||!_0x4c6a8b[_0x2493a9(0x114)]?Promise[_0x2493a9(0x18f)]():this[_0x2493a9(0x149)]({'channelId':_0x5bf599,'threadId':_0xb648c7});}[_0x23a01a(0x149)]({channelId:_0x13aa46,threadId:_0x20999f}){const _0x4b289a=_0x23a01a;if(!this[_0x4b289a(0x11b)](_0x20999f))throw new _0x29e860(_0x4b289a(0x120),this);const _0x488292=this[_0x4b289a(0x17b)](_0x20999f);if(_0x488292[_0x4b289a(0x174)]=!0x0,!this[_0x4b289a(0x133)]||_0x4b289a(0xeb)!=typeof this[_0x4b289a(0x133)][_0x4b289a(0x13e)])return Promise[_0x4b289a(0x18f)]();const {id:_0x5c46fd,comments:_0xdab0d0,resolvedAt:_0x496b65,resolvedBy:_0x47d7cc,context:_0x479d9b,attributes:_0x4cf700}=_0x488292,_0x115c37=this[_0x4b289a(0x1b1)][_0x4b289a(0x115)][_0x4b289a(0x13b)](_0x4b289a(0x10b)),_0x1ddd6c=_0x115c37[_0x4b289a(0x178)](_0xce3493(this[_0x4b289a(0x1b1)][_0x4b289a(0x12a)],_0x4b289a(0x109)));return this[_0x4b289a(0x133)][_0x4b289a(0x13e)]({'channelId':_0x13aa46,'threadId':_0x5c46fd,'comments':_0xdab0d0[_0x4b289a(0x1a4)](_0x213659=>_0x213659[_0x4b289a(0xf7)]()),'resolvedAt':_0x496b65,'resolvedBy':_0x47d7cc?_0x47d7cc['id']:_0x47d7cc,'context':_0x479d9b,'attributes':_0x4cf700})[_0x4b289a(0x138)](({comments:_0x45e9d0})=>{const _0x12c2d8=_0x4b289a;_0x115c37[_0x12c2d8(0x193)](_0x1ddd6c);for(const _0x34567e of _0x45e9d0)this[_0x12c2d8(0x127)]({'channelId':_0x13aa46,'threadId':_0x20999f,'commentId':_0x34567e[_0x12c2d8(0x18d)],'createdAt':_0x34567e[_0x12c2d8(0xcc)],'isFromAdapter':!0x0});})[_0x4b289a(0xd6)](_0x2792a9=>{const _0x5f523d=_0x4b289a;throw console[_0x5f523d(0x172)](_0x2792a9),new _0x29e860(_0x5f523d(0xdb),this);});}[_0x23a01a(0x12c)]({threadId:_0x3f2dbf,target:_0x5dc117}){const _0x5baad6=_0x23a01a,_0x22cbf3=this[_0x5baad6(0x17b)](_0x3f2dbf);if(!_0x22cbf3)throw new _0x29e860(_0x5baad6(0xed),this);const _0x5525c6=this[_0x5baad6(0x1b1)][_0x5baad6(0x115)][_0x5baad6(0x13b)](_0x5baad6(0x10b)),_0x13af68=this[_0x5baad6(0x1b1)][_0x5baad6(0x115)][_0x5baad6(0x13b)](_0x5a7d6f),_0x56f48f=this[_0x5baad6(0x170)](_0x22cbf3),_0x2fabe8=new _0x1e08fe(_0x22cbf3,_0x56f48f);let _0x8073e7=null;_0x56f48f['on'](_0x5baad6(0xe7),(_0x510e76,_0x2cff60,_0x3c6f5b)=>{const _0x116406=_0x5baad6;_0x3c6f5b?_0x8073e7=_0x5525c6[_0x116406(0x178)](_0xce3493(this[_0x116406(0x1b1)][_0x116406(0x12a)],_0x116406(0x109))):_0x8073e7&&(_0x5525c6[_0x116406(0x193)](_0x8073e7),_0x8073e7=null);}),this[_0x5baad6(0x160)][_0x5baad6(0x15f)](_0x22cbf3,_0x2fabe8),this[_0x5baad6(0x125)][_0x5baad6(0x15f)](_0x56f48f,_0x2fabe8);const _0x102884=new _0x67b709(this[_0x5baad6(0x1b1)][_0x5baad6(0x12a)],_0x56f48f);_0x102884[_0x5baad6(0x191)](_0x5baad6(0x114))['to'](_0x56f48f),_0x102884[_0x5baad6(0x191)](_0x5baad6(0x16e))['to'](_0x56f48f,_0x5baad6(0x16e),_0x56f48f,_0x5baad6(0x114),(_0x4001b2,_0x5c4ef5)=>_0x4001b2||!_0x5c4ef5),_0x102884[_0x5baad6(0x191)](_0x5baad6(0x132))['to'](_0x56f48f),_0x102884[_0x5baad6(0x130)]=_0x5baad6(0x17f);const _0x4ddab0=new _0x3a1b0e({'view':_0x102884,'target':_0x5dc117,'type':_0x5baad6(0x17f),'isVisible':!_0x22cbf3[_0x5baad6(0xd9)]&&!!(_0x5baad6(0xeb)==typeof _0x5dc117?_0x5dc117():_0x5dc117)});return _0x56f48f['on'](_0x5baad6(0x151),()=>{const _0x431b21=_0x5baad6;_0x4ddab0[_0x431b21(0x166)](_0x431b21(0x151));}),this[_0x5baad6(0x12f)](_0x56f48f,_0x4ddab0),_0x13af68[_0x5baad6(0x178)](_0x4ddab0),_0x4ddab0;}[_0x23a01a(0x12f)](_0x283e53,_0x518f85){const _0x4f40cf=_0x23a01a;this[_0x4f40cf(0xf9)](_0x283e53,_0x4f40cf(0x126),(_0x20415e,_0x4cae59)=>{const _0x474762=_0x4f40cf,_0xf80f87=_0x4cae59['ui'][_0x474762(0x19b)][_0x474762(0x13d)][_0x474762(0x195)];_0x518f85[_0x474762(0x14d)][_0x474762(0x178)](_0xf80f87),this[_0x474762(0x1b1)]instanceof _0x2bcad2&&this[_0x474762(0x1b1)]['ui'][_0x474762(0x14f)][_0x474762(0x178)](_0xf80f87);},{'priority':_0x4f40cf(0xfb)}),this[_0x4f40cf(0xf9)](_0x283e53,_0x4f40cf(0x1a3),(_0x2bc6b2,_0x21c5e3)=>{const _0x4441b8=_0x4f40cf,_0x4391f6=_0x21c5e3['ui'][_0x4441b8(0x19b)][_0x4441b8(0x13d)][_0x4441b8(0x195)];_0x518f85[_0x4441b8(0x14d)][_0x4441b8(0x181)](_0x4391f6)&&_0x518f85[_0x4441b8(0x14d)][_0x4441b8(0x193)](_0x4391f6),this[_0x4441b8(0x1b1)]instanceof _0x2bcad2&&this[_0x4441b8(0x1b1)]['ui'][_0x4441b8(0x14f)][_0x4441b8(0x193)](_0x4391f6);});}[_0x23a01a(0xce)](_0x3abc28){const _0x5d296f=_0x23a01a;this[_0x5d296f(0x189)](_0x3abc28,_0x5d296f(0x126)),this[_0x5d296f(0x189)](_0x3abc28,_0x5d296f(0x1a3));}[_0x23a01a(0x170)](_0x327e26){const _0x38507a=_0x23a01a,_0x2f3b76=this[_0x38507a(0x1b1)][_0x38507a(0x115)][_0x38507a(0x13b)](_0x32c5dc),{config:_0x5e85e5,locale:_0x562518}=this[_0x38507a(0x1b1)],_0x286fd6=_0x440fbf(_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x12a)),_0x562518);return new(0x0,(_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x1b0)))[(_0x38507a(0x10d))])(_0x562518,_0x327e26,_0x2f3b76['me'],{'editorConfig':{..._0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x1b2)),'licenseKey':this[_0x38507a(0x1b1)][_0x38507a(0x10c)][_0x38507a(0x13b)](_0x38507a(0xf4))},'copyMarkers':_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x18e)),'maxCommentsWhenCollapsed':_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x111)),'maxThreadTotalWeight':_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x187)),'maxCommentCharsWhenCollapsed':_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x196)),'formatDateTime':_0x286fd6,'CommentView':_0x5e85e5[_0x38507a(0x13b)](_0x38507a(0x1b0))[_0x38507a(0xd8)]});}[_0x23a01a(0x107)]({threadId:_0x2b240c,channelId:_0x283469,resolvedAt:_0x567c78,resolvedBy:_0x55927a,isFromAdapter:_0x502bf6}){const _0x3e9f0a=_0x23a01a;if(!this[_0x3e9f0a(0x11b)](_0x2b240c))throw new _0x29e860(_0x3e9f0a(0x120),null,{'threadId':_0x2b240c});const _0x528629=this[_0x3e9f0a(0x17b)](_0x2b240c);if(_0x528629[_0x3e9f0a(0x17c)])throw new _0x29e860(_0x3e9f0a(0x1a0),null,{'threadId':_0x2b240c});const _0x495dbd=this[_0x3e9f0a(0x1b1)][_0x3e9f0a(0x115)][_0x3e9f0a(0x13b)](_0x32c5dc);if(_0x528629[_0x3e9f0a(0x16b)]=_0x495dbd[_0x3e9f0a(0xfa)](_0x55927a),_0x528629[_0x3e9f0a(0x148)]=_0x567c78,_0x502bf6||!this[_0x3e9f0a(0x133)]||_0x3e9f0a(0xeb)!=typeof this[_0x3e9f0a(0x133)][_0x3e9f0a(0x17d)])return Promise[_0x3e9f0a(0x18f)]();const _0x2688a3=this[_0x3e9f0a(0x1b1)][_0x3e9f0a(0x115)][_0x3e9f0a(0x13b)](_0x3e9f0a(0x10b)),_0x3ff7f9=_0x2688a3[_0x3e9f0a(0x178)](_0xce3493(this[_0x3e9f0a(0x1b1)][_0x3e9f0a(0x12a)],_0x3e9f0a(0x109)));return this[_0x3e9f0a(0x133)][_0x3e9f0a(0x17d)]({'channelId':_0x283469,'threadId':_0x2b240c})[_0x3e9f0a(0x138)](({resolvedAt:_0x10964f,resolvedBy:_0x4e974a})=>{const _0xfb7a45=_0x3e9f0a;_0x2688a3[_0xfb7a45(0x193)](_0x3ff7f9),_0x528629[_0xfb7a45(0x16b)]['id']!==_0x4e974a&&(_0x528629[_0xfb7a45(0x16b)]=_0x495dbd[_0xfb7a45(0xfa)](_0x4e974a)),_0x528629[_0xfb7a45(0x148)]=_0x10964f;})[_0x3e9f0a(0xd6)](_0x3db850=>{const _0x550207=_0x3e9f0a;throw console[_0x550207(0x172)](_0x3db850),new _0x29e860(_0x550207(0x14a),this);});}[_0x23a01a(0x12b)]({threadId:_0x3ab680,channelId:_0x3322a3,isFromAdapter:_0x33c57c}){const _0x9e8082=_0x23a01a;if(!this[_0x9e8082(0x11b)](_0x3ab680))throw new _0x29e860(_0x9e8082(0x120),null,{'threadId':_0x3ab680});const _0x8ad4f8=this[_0x9e8082(0x17b)](_0x3ab680);if(!_0x8ad4f8[_0x9e8082(0x17c)])throw new _0x29e860(_0x9e8082(0x17e),null,{'threadId':_0x3ab680});if(_0x8ad4f8[_0x9e8082(0x16b)]=null,_0x8ad4f8[_0x9e8082(0x148)]=null,_0x33c57c||!this[_0x9e8082(0x133)]||_0x9e8082(0xeb)!=typeof this[_0x9e8082(0x133)][_0x9e8082(0x15d)])return Promise[_0x9e8082(0x18f)]();const _0x366210=this[_0x9e8082(0x1b1)][_0x9e8082(0x115)][_0x9e8082(0x13b)](_0x9e8082(0x10b)),_0x3b9e1b=_0x366210[_0x9e8082(0x178)](_0xce3493(this[_0x9e8082(0x1b1)][_0x9e8082(0x12a)],_0x9e8082(0x109)));return this[_0x9e8082(0x133)][_0x9e8082(0x15d)]({'channelId':_0x3322a3,'threadId':_0x3ab680})[_0x9e8082(0x138)](()=>_0x366210[_0x9e8082(0x193)](_0x3b9e1b))[_0x9e8082(0xd6)](_0xe442f3=>{const _0x1e0fde=_0x9e8082;throw console[_0x1e0fde(0x172)](_0xe442f3),new _0x29e860(_0x1e0fde(0xdc),this);});}[_0x23a01a(0xe6)]({threadId:_0xc4603f,isFromAdapter:_0x48ad4a}){const _0x21dbff=_0x23a01a,_0x5124e6=this[_0x21dbff(0x17b)](_0xc4603f);if(!_0x5124e6)throw new _0x29e860(_0x21dbff(0x131),this);if(this[_0x21dbff(0x185)](_0xc4603f),this[_0x21dbff(0x116)][_0x21dbff(0xcf)](_0xc4603f),!_0x5124e6[_0x21dbff(0x1a9)]||_0x48ad4a||!this[_0x21dbff(0x133)]||_0x21dbff(0xeb)!=typeof this[_0x21dbff(0x133)][_0x21dbff(0x19c)])return Promise[_0x21dbff(0x18f)]();const _0x1d8df0=this[_0x21dbff(0x1b1)][_0x21dbff(0x115)][_0x21dbff(0x13b)](_0x21dbff(0x10b)),{channelId:_0x5cdc5a}=_0x5124e6,_0x4d0773=_0x1d8df0[_0x21dbff(0x178)](_0xce3493(this[_0x21dbff(0x1b1)][_0x21dbff(0x12a)],_0x21dbff(0x109)));return this[_0x21dbff(0x133)][_0x21dbff(0x19c)]({'channelId':_0x5cdc5a,'threadId':_0xc4603f})[_0x21dbff(0x138)](()=>_0x1d8df0[_0x21dbff(0x193)](_0x4d0773))[_0x21dbff(0xd6)](_0x4b86aa=>{const _0xbb6ca2=_0x21dbff;throw console[_0xbb6ca2(0x172)](_0x4b86aa),new _0x29e860(_0xbb6ca2(0x124),this);});}[_0x23a01a(0x15c)]({threadId:_0x4ee46c,unlinkedAt:_0x133884,context:_0x298e06,attributes:_0x11f49b,isFromAdapter:_0x979743}){const _0x52e5f3=_0x23a01a;if(_0x52e5f3(0xd2)!=typeof _0x4ee46c)throw new _0x29e860(_0x52e5f3(0x110),null,{'threadId':_0x4ee46c});if(!this[_0x52e5f3(0x11b)](_0x4ee46c))throw new _0x29e860(_0x52e5f3(0x120),null,{'threadId':_0x4ee46c});const _0xa7fc69=this[_0x52e5f3(0x17b)](_0x4ee46c);let _0x14eee5=!0x1;if(void 0x0!==_0x298e06&&_0xa7fc69[_0x52e5f3(0x1b1)]!==_0x298e06&&(_0xa7fc69[_0x52e5f3(0x1b1)]=_0x298e06,_0x14eee5=!0x0),void 0x0!==_0x133884&&_0xa7fc69[_0x52e5f3(0x1ab)]!==_0x133884&&(_0xa7fc69[_0x52e5f3(0x1ab)]=_0x133884,_0x14eee5=!0x0),_0x11f49b&&!_0x91b941(_0x11f49b,_0xa7fc69[_0x52e5f3(0x146)])&&(_0xa7fc69[_0x52e5f3(0x146)]=_0x11f49b,_0x14eee5=!0x0),!_0x14eee5)return Promise[_0x52e5f3(0x18f)]();if(!_0xa7fc69[_0x52e5f3(0x1a9)]||_0x979743||!this[_0x52e5f3(0x133)]||_0x52e5f3(0xeb)!=typeof this[_0x52e5f3(0x133)][_0x52e5f3(0x121)])return Promise[_0x52e5f3(0x18f)]();const _0x488fbe=this[_0x52e5f3(0x1b1)][_0x52e5f3(0x115)][_0x52e5f3(0x13b)](_0x52e5f3(0x10b)),{channelId:_0x48f332}=_0xa7fc69,_0x422577=_0x488fbe[_0x52e5f3(0x178)](_0xce3493(this[_0x52e5f3(0x1b1)][_0x52e5f3(0x12a)],_0x52e5f3(0x109)));return this[_0x52e5f3(0x133)][_0x52e5f3(0x121)]({'channelId':_0x48f332,'threadId':_0x4ee46c,'context':_0x298e06,'unlinkedAt':_0x133884,'attributes':_0x11f49b})[_0x52e5f3(0x138)](()=>_0x488fbe[_0x52e5f3(0x193)](_0x422577))[_0x52e5f3(0xd6)](_0x5677a4=>{const _0x2db151=_0x52e5f3;throw console[_0x2db151(0x172)](_0x5677a4),new _0x29e860(_0x2db151(0xee),this);});}[_0x23a01a(0x185)](_0x417664){const _0x333025=_0x23a01a,_0xc58b73=this[_0x333025(0x1b1)][_0x333025(0x115)][_0x333025(0x13b)](_0x5a7d6f),_0x7280a1=this[_0x333025(0x17b)](_0x417664);if(_0x7280a1[_0x333025(0x164)]=!0x1,this[_0x333025(0x160)][_0x333025(0x181)](_0x7280a1)){const _0x8990d8=this[_0x333025(0x160)][_0x333025(0x13b)](_0x7280a1),_0xf3d5a8=_0x8990d8[_0x333025(0x19b)],_0x5ccf4e=_0xc58b73[_0x333025(0xec)](_0xf3d5a8);this[_0x333025(0x160)][_0x333025(0xcf)](_0x7280a1),this[_0x333025(0x125)][_0x333025(0xcf)](_0xf3d5a8),_0x5ccf4e&&_0xc58b73[_0x333025(0x193)](_0x5ccf4e),_0x8990d8[_0x333025(0x162)](),_0xf3d5a8[_0x333025(0x162)]()[_0x333025(0x138)](()=>{const _0x9fa45=_0x333025;this[_0x9fa45(0xce)](_0xf3d5a8);});}}[_0x23a01a(0xd4)]({threadId:_0x1463c0,resolvedAt:_0xe39567,unlinkedAt:_0x5ead75}){const _0x2b8e73=_0x23a01a,_0x18885b=!!_0xe39567,_0x396bb7=this[_0x2b8e73(0x1b1)][_0x2b8e73(0x115)][_0x2b8e73(0x13b)](_0x5a7d6f),_0x22d74c=this[_0x2b8e73(0x17b)](_0x1463c0);if(this[_0x2b8e73(0x160)][_0x2b8e73(0x181)](_0x22d74c)){const _0x1fdc10=this[_0x2b8e73(0x160)][_0x2b8e73(0x13b)](_0x22d74c)[_0x2b8e73(0x19b)],_0x814b5d=_0x396bb7[_0x2b8e73(0xec)](_0x1fdc10);_0x814b5d&&(_0x18885b&&_0x396bb7[_0x2b8e73(0xe1)](_0x814b5d),_0x5ead75?_0x814b5d[_0x2b8e73(0xf3)]=!0x1:_0x814b5d[_0x2b8e73(0x190)]());}}[_0x23a01a(0x197)](_0x2474ee){const _0x35ab7d=_0x23a01a,_0x3d5839=this[_0x35ab7d(0x1b1)][_0x35ab7d(0x115)][_0x35ab7d(0x13b)](_0x32c5dc),_0x12cb3d=_0x56ceca(_0x35ab7d(0x152)+_0x2474ee),_0x942b52=_0x3d5839[_0x35ab7d(0xfa)](_0x12cb3d);return _0x942b52||_0x3d5839[_0x35ab7d(0x135)]({'id':_0x12cb3d,'name':_0x2474ee});}[_0x23a01a(0xf5)]({threadId:_0x1d9401,commentId:_0x4ffb52=_0x34bf71(),content:_0x415986,authorId:_0x24f13f,createdAt:_0x17d776,attributes:_0x24ba1e}){const _0x12cb6e=_0x23a01a;if(_0x12cb6e(0xd2)!=typeof _0x4ffb52)throw new _0x29e860(_0x12cb6e(0x101));if(_0x12cb6e(0xd2)!=typeof _0x24f13f)throw new _0x29e860(_0x12cb6e(0x128));if(_0x12cb6e(0xd2)!=typeof _0x415986||!_0x415986[_0x12cb6e(0x141)]())throw new _0x29e860(_0x12cb6e(0x16f));const _0x370655=this[_0x12cb6e(0x1b1)][_0x12cb6e(0x115)][_0x12cb6e(0x13b)](_0x32c5dc)[_0x12cb6e(0xfa)](_0x24f13f);if(!_0x370655)throw new _0x29e860(_0x12cb6e(0x11d),null,{'authorId':_0x24f13f});let _0x550ff0=null,_0x16aecb=_0x17d776;return _0x24ba1e?.[_0x12cb6e(0x15b)]&&(_0x550ff0=this[_0x12cb6e(0x197)](_0x24ba1e[_0x12cb6e(0x15b)][_0x12cb6e(0x1aa)]),_0x16aecb=new Date(_0x24ba1e[_0x12cb6e(0x15b)][_0x12cb6e(0xcc)])),new Comment(this,{'threadId':_0x1d9401,'id':_0x4ffb52,'author':_0x550ff0||_0x370655,'creator':_0x370655,'content':_0x415986,'createdAt':_0x17d776,'authoredAt':_0x16aecb,'attributes':_0x24ba1e});}[_0x23a01a(0x143)](_0x51a5ee){const _0x2c6d60=_0x23a01a;let {threadId:_0x3bf017,content:_0x390a3f,attributes:_0x2e55df,isFromAdapter:_0x2f82ec}=_0x51a5ee;const _0xe17be3=this[_0x2c6d60(0x17b)](_0x51a5ee[_0x2c6d60(0xd1)]);if(!_0xe17be3)throw new _0x29e860(_0x2c6d60(0x156),this);const _0x2671aa=this[_0x2c6d60(0xf5)](_0x51a5ee),{id:_0x306d6b}=_0x2671aa;if(_0xe17be3[_0x2c6d60(0xf1)](_0x2671aa),_0x2f82ec||!this[_0x2c6d60(0x133)]||_0x2c6d60(0xeb)!=typeof this[_0x2c6d60(0x133)][_0x2c6d60(0x10a)]||!_0xe17be3[_0x2c6d60(0x1a9)])return Promise[_0x2c6d60(0x18f)]();const _0x369a2e=this[_0x2c6d60(0x1b1)][_0x2c6d60(0x115)][_0x2c6d60(0x13b)](_0x2c6d60(0x10b)),{channelId:_0x265a81}=_0xe17be3,_0x1d3e3a=_0x369a2e[_0x2c6d60(0x178)](_0xce3493(this[_0x2c6d60(0x1b1)][_0x2c6d60(0x12a)],_0x2c6d60(0x109)));return _0x2e55df||(_0x2e55df={}),this[_0x2c6d60(0x133)][_0x2c6d60(0x10a)]({'channelId':_0x265a81,'threadId':_0x3bf017,'commentId':_0x306d6b,'content':_0x390a3f,'attributes':_0x2e55df})[_0x2c6d60(0x138)](_0x5e9206=>{const _0x3664a2=_0x2c6d60;_0x369a2e[_0x3664a2(0x193)](_0x1d3e3a),_0x5e9206&&this[_0x3664a2(0x127)]({'channelId':_0x265a81,'threadId':_0x3bf017,'commentId':_0x306d6b,'createdAt':_0x5e9206[_0x3664a2(0xcc)],'isFromAdapter':!0x0});})[_0x2c6d60(0xd6)](_0x1690c3=>{const _0x3d8fa9=_0x2c6d60;throw console[_0x3d8fa9(0x172)](_0x1690c3),new _0x29e860(_0x3d8fa9(0x15e),this);});}[_0x23a01a(0x127)]({threadId:_0x15e411,commentId:_0x5044b9,content:_0x20b495,createdAt:_0x30b401,attributes:_0xc8b7f9,isFromAdapter:_0x1b6cb9}){const _0x4dd6a5=_0x23a01a;if(void 0x0!==_0x20b495&&(_0x4dd6a5(0xd2)!=typeof _0x20b495||!_0x20b495[_0x4dd6a5(0x141)]()[_0x4dd6a5(0x114)]))throw new _0x29e860(_0x4dd6a5(0x155));const _0xfe6149=this[_0x4dd6a5(0x17b)](_0x15e411),_0x563614=_0xfe6149[_0x4dd6a5(0x198)](_0x5044b9);if(!_0x563614)throw new _0x29e860(_0x4dd6a5(0x14e),this);let _0x968154=!0x1;if(_0x20b495&&_0x20b495!==_0x563614[_0x4dd6a5(0x16d)]&&(_0x563614[_0x4dd6a5(0x158)]||_0x1b6cb9)&&(_0x563614[_0x4dd6a5(0x16d)]=_0x20b495,_0x968154=!0x0),_0x30b401&&_0x30b401!==_0x563614[_0x4dd6a5(0xcc)]&&(_0x563614[_0x4dd6a5(0xcc)]=_0x30b401,_0x563614[_0x4dd6a5(0x146)]&&_0x563614[_0x4dd6a5(0x146)][_0x4dd6a5(0x15b)]||(_0x563614[_0x4dd6a5(0x19d)]=_0x30b401),_0x968154=!0x0),_0xc8b7f9&&!_0x91b941(_0xc8b7f9,_0x563614[_0x4dd6a5(0x146)])&&(_0x563614[_0x4dd6a5(0x146)]=_0xc8b7f9,_0x968154=!0x0),!_0x968154)return Promise[_0x4dd6a5(0x18f)]();if(_0xfe6149[_0x4dd6a5(0x166)](_0x4dd6a5(0xf8)),_0x1b6cb9||!this[_0x4dd6a5(0x133)]||_0x4dd6a5(0xeb)!=typeof this[_0x4dd6a5(0x133)][_0x4dd6a5(0x136)])return Promise[_0x4dd6a5(0x18f)]();const _0x4fca78=this[_0x4dd6a5(0x1b1)][_0x4dd6a5(0x115)][_0x4dd6a5(0x13b)](_0x4dd6a5(0x10b)),{channelId:_0x140539}=this[_0x4dd6a5(0x17b)](_0x563614[_0x4dd6a5(0xd1)]),_0x4c416d=_0x4fca78[_0x4dd6a5(0x178)](_0xce3493(this[_0x4dd6a5(0x1b1)][_0x4dd6a5(0x12a)],_0x4dd6a5(0x109)));return this[_0x4dd6a5(0x133)][_0x4dd6a5(0x136)]({'channelId':_0x140539,'threadId':_0x15e411,'commentId':_0x5044b9,'content':_0x20b495,'attributes':_0xc8b7f9})[_0x4dd6a5(0x138)](()=>_0x4fca78[_0x4dd6a5(0x193)](_0x4c416d))[_0x4dd6a5(0xd6)](_0x5558db=>{const _0x90b412=_0x4dd6a5;throw console[_0x90b412(0x172)](_0x5558db),new _0x29e860(_0x90b412(0x184),this);});}[_0x23a01a(0x1ac)]({threadId:_0x56e64d,commentId:_0x40a1d6,isFromAdapter:_0x5c4347}){const _0x44f64c=_0x23a01a,_0x41eaac=this[_0x44f64c(0x17b)](_0x56e64d),_0x45a905=_0x41eaac[_0x44f64c(0x198)](_0x40a1d6);if(!_0x45a905)throw new _0x29e860(_0x44f64c(0x1a8),this);if(_0x41eaac[_0x44f64c(0x163)](_0x45a905),_0x5c4347||!this[_0x44f64c(0x133)]||_0x44f64c(0xeb)!=typeof this[_0x44f64c(0x133)][_0x44f64c(0xfe)])return Promise[_0x44f64c(0x18f)]();const _0x57f0af=this[_0x44f64c(0x1b1)][_0x44f64c(0x115)][_0x44f64c(0x13b)](_0x44f64c(0x10b)),{channelId:_0x11ea04}=_0x41eaac,_0x4e8332=_0x57f0af[_0x44f64c(0x178)](_0xce3493(this[_0x44f64c(0x1b1)][_0x44f64c(0x12a)],_0x44f64c(0x109)));return this[_0x44f64c(0x133)][_0x44f64c(0xfe)]({'channelId':_0x11ea04,'threadId':_0x56e64d,'commentId':_0x40a1d6})[_0x44f64c(0x138)](()=>_0x57f0af[_0x44f64c(0x193)](_0x4e8332))[_0x44f64c(0xd6)](_0x428b7f=>{const _0x28b24f=_0x44f64c;throw console[_0x28b24f(0x172)](_0x428b7f),new _0x29e860(_0x28b24f(0x13a),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x520c3d(){[_0x23a01a(0x11e)];['id'];[_0x23a01a(0x164)];[_0x23a01a(0x174)];[_0x23a01a(0x1b0)];[_0x23a01a(0x10e)];constructor(_0x573b71,_0x5f4ece){const _0x589769=_0x23a01a;super();const _0x2f6c90=_0x5f4ece[_0x589769(0x19a)];this[_0x589769(0x11e)]=_0x5f4ece[_0x589769(0x11e)],this['id']=_0x5f4ece['id'],this[_0x589769(0x1b0)]=new _0x4a9ffa(),this[_0x589769(0x10e)]=_0x573b71,this[_0x589769(0x164)]=!0x1,this[_0x589769(0x174)]=_0x5f4ece[_0x589769(0x1a9)],this[_0x589769(0x15f)](_0x589769(0x1a6),!0x0),this[_0x589769(0x191)](_0x589769(0x12d))['to'](_0x573b71,_0x589769(0x144),_0x573b71,_0x589769(0x13f),()=>_0x573b71[_0x589769(0x12d)](this[_0x589769(0x11e)])),this[_0x589769(0x191)](_0x589769(0x188))['to'](_0x573b71,_0x589769(0x144),()=>_0x573b71[_0x589769(0x169)](this[_0x589769(0x11e)])[_0x589769(0x179)]),this[_0x589769(0x191)](_0x589769(0xde))['to'](_0x573b71,_0x589769(0x144),()=>{const _0x2b98c8=_0x589769,_0x2dc58c=_0x573b71[_0x2b98c8(0x169)](this[_0x2b98c8(0x11e)]);return _0x2dc58c[_0x2b98c8(0x145)]||_0x2dc58c[_0x2b98c8(0x179)];}),this[_0x589769(0x191)](_0x589769(0x19a))['to'](_0x573b71,_0x589769(0x144),()=>_0x2f6c90&&_0x573b71[_0x589769(0x169)](this[_0x589769(0x11e)])[_0x589769(0x18f)]),this[_0x589769(0x15f)](_0x589769(0x1b1),_0x5f4ece[_0x589769(0x1b1)]),this[_0x589769(0x191)](_0x589769(0xd9))['to'](this,_0x589769(0x148),this,_0x589769(0x1ab),(_0x53ab25,_0x2d5e10)=>_0x53ab25?_0x2d5e10?_0x53ab25<_0x2d5e10?_0x53ab25:_0x2d5e10:_0x53ab25:_0x2d5e10),this[_0x589769(0x15f)](_0x589769(0x1ab),_0x5f4ece[_0x589769(0x1ab)]||null),this[_0x589769(0x15f)](_0x589769(0x148),_0x5f4ece[_0x589769(0x148)]||null),this[_0x589769(0x15f)](_0x589769(0x16b),_0x5f4ece[_0x589769(0x16b)]||null),this[_0x589769(0x191)](_0x589769(0x17c))['to'](this,_0x589769(0x148),_0x449912=>!!_0x449912),this[_0x589769(0x15f)](_0x589769(0x146),_0x5f4ece[_0x589769(0x146)]||{});}get[_0x23a01a(0x108)](){const _0x207b89=_0x23a01a;return Array[_0x207b89(0xfc)](this[_0x207b89(0x1b0)])[_0x207b89(0x18a)]((_0x5f17e3,_0x488728)=>_0x5f17e3+_0x488728[_0x207b89(0x108)],0x0);}get[_0x23a01a(0x114)](){const _0x11f260=_0x23a01a;return this[_0x11f260(0x1b0)][_0x11f260(0x114)];}get[_0x23a01a(0x186)](){const _0x53058d=_0x23a01a;return this[_0x53058d(0x164)];}get[_0x23a01a(0x1a9)](){const _0x2f0971=_0x23a01a;return this[_0x2f0971(0x174)];}[_0x23a01a(0x154)](){const _0x2b3427=_0x23a01a,{channelId:_0x5c3a92,id:_0x2ad556}=this;this[_0x2b3427(0x10e)][_0x2b3427(0x166)](Nt(_0x2b3427(0x17a),_0x5c3a92),{'channelId':_0x5c3a92,'threadId':_0x2ad556});}[_0x23a01a(0x173)](_0x5347a2){const _0x363058=_0x23a01a;this[_0x363058(0x11c)]({'unlinkedAt':_0x5347a2});}[_0x23a01a(0x18f)]({resolvedAt:_0x42a13d=new Date(),resolvedBy:_0x17c8d8=null,isFromAdapter:_0x1a403c=!0x1}={}){const _0x4d6f66=_0x23a01a,_0x1f007b=this[_0x4d6f66(0x10e)][_0x4d6f66(0x1b1)][_0x4d6f66(0x115)][_0x4d6f66(0x13b)](_0x32c5dc)['me'],{channelId:_0x26d6e4,id:_0x58cf9f}=this;this[_0x4d6f66(0x10e)][_0x4d6f66(0x166)](Nt(_0x4d6f66(0x17d),_0x26d6e4),{'channelId':_0x26d6e4,'threadId':_0x58cf9f,'resolvedAt':_0x42a13d,'resolvedBy':_0x17c8d8||_0x1f007b['id'],'isFromAdapter':_0x1a403c});}[_0x23a01a(0x18c)]({isFromAdapter:_0x153b0d=!0x1}={}){const _0xe1fd26=_0x23a01a,{channelId:_0x426a9a,id:_0x736193}=this;this[_0xe1fd26(0x10e)][_0xe1fd26(0x166)](Nt(_0xe1fd26(0x15d),_0x426a9a),{'channelId':_0x426a9a,'threadId':_0x736193,'isFromAdapter':_0x153b0d});}[_0x23a01a(0x134)](_0x468527){const _0x59c64d=_0x23a01a;this[_0x59c64d(0x1b1)]||this[_0x59c64d(0x11c)]({'context':_0x468527});}[_0x23a01a(0x1a2)](_0x20058d,_0x55569c){const _0xd15f53=_0x23a01a,_0x231ccd=_0x2e7c9e(this[_0xd15f53(0x146)]);_0x2ee755(_0x231ccd,_0x20058d,_0x55569c),this[_0xd15f53(0x11c)]({'attributes':_0x231ccd});}[_0x23a01a(0x102)](_0x4f310e){const _0x395b12=_0x23a01a,_0x1ef060=_0x2e7c9e(this[_0x395b12(0x146)]);_0x33b054(_0x1ef060,_0x4f310e),this[_0x395b12(0x11c)]({'attributes':_0x1ef060});}[_0x23a01a(0x193)]({isFromAdapter:_0x2c2788=!0x1}={}){const _0x436154=_0x23a01a,{channelId:_0x51a297,id:_0x584018}=this;this[_0x436154(0x10e)][_0x436154(0x166)](Nt(_0x436154(0x19c),_0x51a297),{'channelId':_0x51a297,'threadId':_0x584018,'isFromAdapter':_0x2c2788});}[_0x23a01a(0x1ae)](_0xc3235){const _0x4c8cb1=_0x23a01a;return this[_0x4c8cb1(0x10e)][_0x4c8cb1(0x12c)]({'threadId':this['id'],'target':_0xc3235});}[_0x23a01a(0x10a)](_0x594320){const _0x187869=_0x23a01a,{channelId:_0x315a89,id:_0x3d22a4}=this;this[_0x187869(0x10e)][_0x187869(0x166)](Nt(_0x187869(0x10a),_0x315a89,_0x3d22a4),Object[_0x187869(0x183)]({'channelId':_0x315a89,'threadId':_0x3d22a4},_0x594320));}[_0x23a01a(0x198)](_0x2ca9fe){const _0x1252d2=_0x23a01a;if(_0x1252d2(0xd2)!=typeof _0x2ca9fe)throw new _0x29e860(_0x1252d2(0x14b),null,{'commentId':_0x2ca9fe});return this[_0x1252d2(0x1b0)][_0x1252d2(0x13b)](_0x2ca9fe);}[_0x23a01a(0xf7)](){const _0x465c5d=_0x23a01a;return{'threadId':this['id'],'context':this[_0x465c5d(0x1b1)],'unlinkedAt':this[_0x465c5d(0x1ab)],'resolvedAt':this[_0x465c5d(0x148)],'resolvedBy':this[_0x465c5d(0x16b)]?this[_0x465c5d(0x16b)]['id']:null,'archivedAt':this[_0x465c5d(0xd9)],'comments':this[_0x465c5d(0x1b0)][_0x465c5d(0x1a4)](_0x3f782d=>_0x3f782d[_0x465c5d(0xf7)]()),'attributes':this[_0x465c5d(0x146)]};}[_0x23a01a(0xf1)](_0x1429d1){const _0x334fe3=_0x23a01a;return this[_0x334fe3(0xf9)](_0x1429d1,_0x334fe3(0xfd),()=>{const _0x487cde=_0x334fe3,_0x49f328=this[_0x487cde(0xd3)](_0x1429d1),_0x3e402c=this[_0x487cde(0x1b0)];_0x49f328-0x1!=_0x3e402c[_0x487cde(0x192)](_0x1429d1)&&_0x49f328+0x1!=_0x3e402c[_0x487cde(0x192)](_0x1429d1)&&(this[_0x487cde(0x163)](_0x1429d1),this[_0x487cde(0xf1)](_0x1429d1));}),this[_0x334fe3(0x1b0)][_0x334fe3(0x178)](_0x1429d1,this[_0x334fe3(0xd3)](_0x1429d1));}[_0x23a01a(0x11c)](_0x317cd5){const _0x214e80=_0x23a01a,{channelId:_0x45ddb4,id:_0x46e1c0}=this;this[_0x214e80(0x10e)][_0x214e80(0x166)](Nt(_0x214e80(0x121),_0x45ddb4),{..._0x317cd5,'channelId':_0x45ddb4,'threadId':_0x46e1c0});}[_0x23a01a(0x163)](_0xecec16){const _0x24d506=_0x23a01a;return this[_0x24d506(0x189)](_0xecec16),_0xecec16[_0x24d506(0x162)](),this[_0x24d506(0x1b0)][_0x24d506(0x193)](_0xecec16);}[_0x23a01a(0xd3)](_0x44edd3){const _0xaabe85=_0x23a01a,_0x3d961a=this[_0xaabe85(0x1b0)][_0xaabe85(0x112)](_0x1bcfdc=>new Date(_0x1bcfdc[_0xaabe85(0x19d)])[_0xaabe85(0x16c)]()>new Date(_0x44edd3[_0xaabe85(0x19d)])[_0xaabe85(0x16c)]());return _0x3d961a?this[_0xaabe85(0x1b0)][_0xaabe85(0x192)](_0x3d961a):this[_0xaabe85(0x114)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x520c3d(){['id'];[_0x23a01a(0xd1)];[_0x23a01a(0x100)];[_0x23a01a(0x176)];[_0x23a01a(0xe4)];[_0x23a01a(0xcc)];[_0x23a01a(0x10e)];constructor(_0xf9947e,_0x2517d2){const _0x354ea8=_0x23a01a;super();const _0x91c800=_0xf9947e[_0x354ea8(0x1b1)][_0x354ea8(0x115)][_0x354ea8(0x13b)](_0x32c5dc)['me'],_0x5b6d80=_0xf9947e[_0x354ea8(0x17b)](_0x2517d2[_0x354ea8(0xd1)]),_0x3b412f=0x0===_0x5b6d80[_0x354ea8(0x1b0)][_0x354ea8(0x114)],_0x764800=_0x91c800===_0x2517d2[_0x354ea8(0x100)];this['id']=_0x2517d2['id'],this[_0x354ea8(0xd1)]=_0x2517d2[_0x354ea8(0xd1)],this[_0x354ea8(0x100)]=_0x2517d2[_0x354ea8(0x100)],this[_0x354ea8(0x176)]=_0x2517d2[_0x354ea8(0x176)],this[_0x354ea8(0xe4)]=Boolean(_0x2517d2[_0x354ea8(0x146)]&&_0x2517d2[_0x354ea8(0x146)][_0x354ea8(0x15b)]),this[_0x354ea8(0x15f)](_0x354ea8(0x16d),_0x2517d2[_0x354ea8(0x16d)]),this[_0x354ea8(0xcc)]=_0x2517d2[_0x354ea8(0xcc)]||new Date(),this[_0x354ea8(0x15f)](_0x354ea8(0x19d),_0x2517d2[_0x354ea8(0x19d)]||new Date()),this[_0x354ea8(0x191)](_0x354ea8(0x148))['to'](_0x5b6d80,_0x354ea8(0x148)),this[_0x354ea8(0x15f)](_0x354ea8(0x146),_0x2517d2[_0x354ea8(0x146)]||{}),this[_0x354ea8(0x191)](_0x354ea8(0x158))['to'](_0xf9947e,_0x354ea8(0x144),()=>{const _0x192e99=_0x354ea8,_0x1592fa=_0xf9947e[_0x192e99(0x169)](_0x5b6d80[_0x192e99(0x11e)])[_0x192e99(0x145)],_0xf1bb41=_0xf9947e[_0x192e99(0x169)](_0x5b6d80[_0x192e99(0x11e)])[_0x192e99(0x147)];return _0x764800&&_0x1592fa||!_0x764800&&_0xf1bb41;}),this[_0x354ea8(0x191)](_0x354ea8(0x188))['to'](_0x5b6d80,_0x354ea8(0x188),_0xf9947e,_0x354ea8(0x144),_0xb89f02=>{const _0x4adb77=_0x354ea8,_0x1e0170=_0xf9947e[_0x4adb77(0x169)](_0x5b6d80[_0x4adb77(0x11e)])[_0x4adb77(0x145)],_0x1ff62b=_0xf9947e[_0x4adb77(0x169)](_0x5b6d80[_0x4adb77(0x11e)])[_0x4adb77(0x147)];return _0x764800&&_0x1e0170||_0xb89f02&&_0x3b412f||!_0x764800&&_0x1ff62b&&!_0x3b412f;}),this[_0x354ea8(0x191)](_0x354ea8(0x12d))['to'](_0x5b6d80,_0x354ea8(0x12d)),this[_0x354ea8(0x10e)]=_0xf9947e;}get[_0x23a01a(0x108)](){const _0x1c1d33=_0x23a01a;return Math[_0x1c1d33(0x153)](function(_0x3fa5b2){const _0x51c0fb=_0x1c1d33,_0x8f5e05=document[_0x51c0fb(0xff)](_0x51c0fb(0x199));return _0x8f5e05[_0x51c0fb(0xd5)]=_0x3fa5b2,_0x8f5e05[_0x51c0fb(0x1a5)][_0x51c0fb(0x114)];}(this[_0x1c1d33(0x16d)]),0xc8);}[_0x23a01a(0x105)](_0x56b0bc){const _0x2b2eb9=_0x23a01a,{threadId:_0x3f63dd,id:_0x3a73f2}=this;if(!this[_0x2b2eb9(0x10e)][_0x2b2eb9(0x11b)](_0x3f63dd))throw new _0x29e860(_0x2b2eb9(0x106),this);const {channelId:_0x2ce26f}=this[_0x2b2eb9(0x10e)][_0x2b2eb9(0x17b)](_0x3f63dd);this[_0x2b2eb9(0x10e)][_0x2b2eb9(0x166)](Nt(_0x2b2eb9(0x136),_0x2ce26f,_0x3f63dd),{'channelId':_0x2ce26f,'threadId':_0x3f63dd,'commentId':_0x3a73f2,..._0x56b0bc});}[_0x23a01a(0x1a2)](_0x2211e3,_0x3d8572){const _0x184623=_0x23a01a,_0x9cb0aa=_0x2e7c9e(this[_0x184623(0x146)]);_0x2ee755(_0x9cb0aa,_0x2211e3,_0x3d8572),this[_0x184623(0x105)]({'attributes':_0x9cb0aa});}[_0x23a01a(0x102)](_0x5c0b74){const _0x3917f5=_0x23a01a,_0x5d4d7f=_0x2e7c9e(this[_0x3917f5(0x146)]);_0x33b054(_0x5d4d7f,_0x5c0b74),this[_0x3917f5(0x105)]({'attributes':_0x5d4d7f});}[_0x23a01a(0x193)](_0x24bf1c={}){const _0x58dbf2=_0x23a01a;if(!_0x24bf1c[_0x58dbf2(0x13c)]&&!this[_0x58dbf2(0x188)])return;const {threadId:_0x330e2f,id:_0x35b6e1}=this;if(!this[_0x58dbf2(0x10e)][_0x58dbf2(0x11b)](_0x330e2f))throw new _0x29e860(_0x58dbf2(0xe3),this);const {channelId:_0x324933}=this[_0x58dbf2(0x10e)][_0x58dbf2(0x17b)](_0x330e2f);this[_0x58dbf2(0x10e)][_0x58dbf2(0x166)](Nt(_0x58dbf2(0xfe),_0x324933,_0x330e2f),{'channelId':_0x324933,'threadId':_0x330e2f,'commentId':_0x35b6e1,..._0x24bf1c});}[_0x23a01a(0xf7)](){const _0x7a2a8a=_0x23a01a;return{'commentId':this['id'],'content':this[_0x7a2a8a(0x16d)],'createdAt':this[_0x7a2a8a(0xcc)],'authorId':this[_0x7a2a8a(0x176)]['id'],'attributes':this[_0x7a2a8a(0x146)]};}[_0x23a01a(0x162)](){const _0x24486e=_0x23a01a;this[_0x24486e(0x189)]();}}function Nt(_0x35f79b,..._0x318276){for(const _0x5a2fca of _0x318276)void 0x0!==_0x5a2fca&&(_0x35f79b+=':'+String(_0x5a2fca));return _0x35f79b;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2513a9=_0x1cce;(function(_0x5793fd,_0x41b698){const _0x45c93c=_0x1cce,_0x1fd6c9=_0x5793fd();while(!![]){try{const _0xd7677b=-parseInt(_0x45c93c(0xce))/0x1*(-parseInt(_0x45c93c(0xb5))/0x2)+parseInt(_0x45c93c(0xc2))/0x3*(-parseInt(_0x45c93c(0xc6))/0x4)+parseInt(_0x45c93c(0xc7))/0x5+-parseInt(_0x45c93c(0x92))/0x6+parseInt(_0x45c93c(0xa8))/0x7*(-parseInt(_0x45c93c(0xd7))/0x8)+-parseInt(_0x45c93c(0xa2))/0x9+parseInt(_0x45c93c(0xb1))/0xa;if(_0xd7677b===_0x41b698)break;else _0x1fd6c9['push'](_0x1fd6c9['shift']());}catch(_0x4d4dfe){_0x1fd6c9['push'](_0x1fd6c9['shift']());}}}(_0x3296,0xe3875));import{Plugin as _0x3fad41}from'ckeditor5/src/core.js';import{IconAddComment as _0x5b269f}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x4fc7e1}from'./commentsrepository.js';import{CommentsEditing as _0x275f60}from'./commentsediting.js';import{EditorAnnotations as _0x33845c}from'../annotations/editorannotations.js';import{ButtonView as _0x3fe8a5,MenuBarMenuListItemButtonView as _0x3027c8}from'ckeditor5/src/ui.js';import{Annotations as _0xbca7fd}from'../annotations/annotations.js';import{CommentsListView as _0x485b99}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x233b72}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x1dbf5e}from'../utils/common-translations.js';export class CommentsUI extends _0x3fad41{[_0x2513a9(0xc5)];[_0x2513a9(0xa9)];static get[_0x2513a9(0xd3)](){const _0x36ea03=_0x2513a9;return _0x36ea03(0x94);}static get[_0x2513a9(0xd4)](){return!0x0;}static get[_0x2513a9(0xd2)](){return!0x0;}static get[_0x2513a9(0xd1)](){return[_0x4fc7e1,_0x275f60,_0x33845c,_0xbca7fd];}get[_0x2513a9(0xe7)](){return _0x485b99;}get[_0x2513a9(0x91)](){return _0x233b72;}[_0x2513a9(0xae)](){const _0x516455=_0x2513a9,_0x5925dc=this[_0x516455(0xad)],_0xa40c5b=_0x5925dc[_0x516455(0xc8)][_0x516455(0x9e)](_0x4fc7e1),_0x2db19a=_0x5925dc[_0x516455(0xc8)][_0x516455(0x9e)](_0x275f60),_0x39f1e4=_0x5925dc[_0x516455(0xc8)][_0x516455(0x9e)](_0xbca7fd),_0x2440d0=_0x5925dc[_0x516455(0xc8)][_0x516455(0x9e)](_0x33845c);_0x5925dc['ui'][_0x516455(0xa7)][_0x516455(0xbd)](_0x516455(0xda),()=>{const _0x4d9e47=_0x516455,_0x38cc9f=this[_0x4d9e47(0x9d)](_0x3fe8a5);return _0x38cc9f[_0x4d9e47(0xe5)]=!0x0,_0x38cc9f;}),_0x5925dc['ui'][_0x516455(0xa7)][_0x516455(0xbd)](_0x516455(0xd6),()=>this[_0x516455(0x9d)](_0x3027c8)),_0x2440d0[_0x516455(0xa3)](()=>{const _0x918231=_0x516455,_0x55b91f=[];for(const [_0x580120,_0x100391]of _0xa40c5b[_0x918231(0xdf)]){const _0xad21ee=_0x2db19a[_0x918231(0xd5)](_0x580120['id']),_0x43e1f4=_0xad21ee[_0x918231(0xbc)](_0x574a4f=>_0x574a4f[_0x918231(0x97)]());_0xad21ee[_0x918231(0x9b)]>0x0&&_0x55b91f[_0x918231(0xb3)]([_0x100391[_0x918231(0xdb)],_0x43e1f4]);}return _0x55b91f;}),this[_0x516455(0xb6)](_0x39f1e4,_0x516455(0xe2),(_0x114a9a,_0x2feec2,_0x4c7fe8)=>{const _0x1c5a40=_0x516455,_0x1afc09=Array[_0x1c5a40(0xdc)](_0x4c7fe8)[_0x1c5a40(0xbc)](_0x2a97ce=>_0x2a97ce[_0x1c5a40(0xab)])[_0x1c5a40(0xa5)](_0x54822f=>_0xa40c5b[_0x1c5a40(0xc1)][_0x1c5a40(0x9f)](_0x54822f));if(!_0x1afc09)return void(_0x2db19a[_0x1c5a40(0xa6)]=null);const _0x2e3945=_0xa40c5b[_0x1c5a40(0xc1)][_0x1c5a40(0x9e)](_0x1afc09)[_0x1c5a40(0xcd)]['id'],_0x27dc7c=_0x1c5a40(0xdd)+_0x2e3945;_0x2e3945&&_0x2db19a[_0x1c5a40(0xc9)](_0x2e3945)?_0x2db19a[_0x1c5a40(0xa6)]=_0x27dc7c:_0x2db19a[_0x1c5a40(0xa6)]&&(_0x2db19a[_0x1c5a40(0xa6)]=null);}),this[_0x516455(0xb6)](_0xa40c5b,_0x516455(0xb2),(_0xc7e768,{threadId:_0x4b7b08,isFromAdapter:_0xb2392d})=>{const _0x513291=_0x516455;!_0xb2392d&&_0x5925dc['ui'][_0x513291(0xb4)][_0x513291(0xbe)]&&_0x2db19a[_0x513291(0xc9)](_0x4b7b08)&&_0x5925dc[_0x513291(0xe0)][_0x513291(0xdb)][_0x513291(0xb0)]();},{'priority':_0x516455(0xde)}),this[_0x516455(0xb6)](_0xa40c5b,_0x516455(0xa1),(_0x3efb85,{threadId:_0x462cd6,isFromAdapter:_0x1e43e8})=>{const _0x99af60=_0x516455;if(_0x1e43e8||!_0x2db19a[_0x99af60(0xc9)](_0x462cd6)||!_0xa40c5b[_0x99af60(0x98)](_0x462cd6))return;0x1===_0xa40c5b[_0x99af60(0xcb)](_0x462cd6)[_0x99af60(0x9b)]&&(_0x5925dc[_0x99af60(0xe0)][_0x99af60(0xdb)][_0x99af60(0xb0)](),_0x3efb85[_0x99af60(0x96)]());},{'priority':_0x516455(0xd9)}),this[_0x516455(0xc5)]=this[_0x516455(0xad)][_0x516455(0xc3)][_0x516455(0x9e)](_0x516455(0xc5));const _0x236aff=this[_0x516455(0xad)];this[_0x516455(0xa9)]=setInterval(()=>{const _0x54e41c=_0x516455;let _0x5f1da6;for(const _0x3d86d4 in _0x236aff){const _0x5c389d=_0x3d86d4,_0x449170=_0x236aff[_0x5c389d];if(_0x54e41c(0xaf)==_0x449170||_0x54e41c(0x99)==_0x449170||_0x54e41c(0xa0)==_0x449170||_0x54e41c(0x9c)==_0x449170||_0x54e41c(0x9a)==_0x449170||_0x54e41c(0xa4)==_0x449170||_0x54e41c(0xb9)==_0x449170||_0x54e41c(0xbf)==_0x449170){delete _0x236aff[_0x5c389d],_0x5f1da6=_0x449170,clearInterval(this[_0x54e41c(0xa9)]),this[_0x54e41c(0xa9)]=void 0x0;break;}}_0x54e41c(0x99)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0xbb)),_0x54e41c(0xa0)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0xb7)),_0x54e41c(0x9c)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0x93)),_0x54e41c(0x9a)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0xb8),_0x54e41c(0xaa)),_0x54e41c(0xa4)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0xcc)),_0x54e41c(0xb9)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0xd8)),_0x54e41c(0xbf)==_0x5f1da6&&_0x236aff[_0x54e41c(0xe4)](_0x54e41c(0x95));},0x3e8);}[_0x2513a9(0xc0)](){const _0x118ea3=_0x2513a9;super[_0x118ea3(0xc0)](),this[_0x118ea3(0xa9)]&&clearInterval(this[_0x118ea3(0xa9)]);}[_0x2513a9(0x9d)](_0x548f4e){const _0x5d4974=_0x2513a9,_0x93d448=this[_0x5d4974(0xad)],_0x7876b4=new _0x548f4e(_0x93d448[_0x5d4974(0xc4)]),_0x6276e7=_0x93d448[_0x5d4974(0xba)][_0x5d4974(0x9e)](_0x5d4974(0xe1));return _0x7876b4[_0x5d4974(0xe3)]({'label':_0x1dbf5e(_0x93d448[_0x5d4974(0xc4)],_0x5d4974(0xd0)),'icon':_0x5b269f}),_0x7876b4[_0x5d4974(0xe6)](_0x5d4974(0xca))['to'](_0x6276e7,_0x5d4974(0xac)),this[_0x5d4974(0xb6)](_0x7876b4,_0x5d4974(0xcf),()=>{const _0x1e9c66=_0x5d4974;_0x6276e7[_0x1e9c66(0xcf)]();}),_0x7876b4;}}function _0x1cce(_0x107e1b,_0x55d6a4){const _0x3296c2=_0x3296();return _0x1cce=function(_0x1cce68,_0x45dca1){_0x1cce68=_0x1cce68-0x91;let _0x53b67f=_0x3296c2[_0x1cce68];return _0x53b67f;},_0x1cce(_0x107e1b,_0x55d6a4);}function _0x3296(){const _0x4ea425=['invalid','map','add','isFocused','commentsLicenseKeyUsageLimit','destroy','_viewToController','43905gLjGWJ','config','locale','licenseKey','184ykLqpr','5047740rhSVdJ','plugins','hasMarkerForId','isEnabled','getCommentThread','evaluationLimit','model','194027zYpVKu','execute','Comment','requires','isPremiumPlugin','pluginName','isOfficialPlugin','getAllMarkersForId','menuBar:comment','6152sRgwzf','trialLimit','low','comment','view','from','comment:','highest','_threadToController','editing','addCommentThread','change:activeAnnotations','set','_showLicenseError','tooltip','bind','CommentsListView','CommentThreadInputView','4110750tRYQva','domainLimit','CommentsUI','usageLimit','stop','getRange','hasCommentThread','commentsLicenseKeyInvalid','commentsLicenseKeyNotAllowed','length','commentsLicenseKeyDomainLimit','_createUIButton','get','has','commentsLicenseKeyExpired','addComment','6479406libOsO','addSourceCollector','commentsLicenseKeyEvaluationLimit','find','activeMarker','componentFactory','5383QIthpK','_licenseKeyCheckInterval','Comments','innerView','hasContent','editor','init','commentsLicenseKeyValid','focus','20099580xHyYEp','removeCommentThread','push','focusTracker','6ppqzzs','listenTo','expired','featureNotAllowed','commentsLicenseKeyTrialLimit','commands'];_0x3296=function(){return _0x4ea425;};return _0x3296();}
23
+ const _0x425950=_0x4db7;(function(_0x2ebaa1,_0x417e75){const _0x18a2e3=_0x4db7,_0x54341f=_0x2ebaa1();while(!![]){try{const _0x1762a6=parseInt(_0x18a2e3(0x1fa))/0x1+parseInt(_0x18a2e3(0x1c9))/0x2+-parseInt(_0x18a2e3(0x1e8))/0x3+-parseInt(_0x18a2e3(0x1f1))/0x4*(parseInt(_0x18a2e3(0x1ec))/0x5)+parseInt(_0x18a2e3(0x1ef))/0x6*(-parseInt(_0x18a2e3(0x1ae))/0x7)+-parseInt(_0x18a2e3(0x1fd))/0x8+-parseInt(_0x18a2e3(0x1f3))/0x9*(-parseInt(_0x18a2e3(0x202))/0xa);if(_0x1762a6===_0x417e75)break;else _0x54341f['push'](_0x54341f['shift']());}catch(_0x4928ff){_0x54341f['push'](_0x54341f['shift']());}}}(_0xbe7a,0x7cb79));import{Plugin as _0x566d02}from'ckeditor5/src/core.js';import{IconAddComment as _0x2160aa}from'ckeditor5/src/icons.js';function _0xbe7a(){const _0x284ca6=['commentsLicenseKeyTrialLimit','get','featureNotAllowed','menuBar:comment','hasCommentThread','destroy','_viewToController','add','Comment','commentsLicenseKeyExpired','_showLicenseError','1137555PPMWXv','init','isPremiumPlugin','addComment','1754705pEBwws','requires','set','676146SEOczF','focus','4haAnre','isFocused','359937iAVcMf','stop','push','low','commentsLicenseKeyDomainLimit','bind','usageLimit','1011593jEwBlH','highest','commands','5557536OVjHDT','plugins','CommentsUI','getRange','locale','180XxAbUJ','domainLimit','commentsLicenseKeyValid','49VJgniv','commentsLicenseKeyEvaluationLimit','invalid','focusTracker','CommentsListView','listenTo','isEnabled','hasContent','change:activeAnnotations','Comments','pluginName','model','addSourceCollector','find','_threadToController','expired','_licenseKeyCheckInterval','activeMarker','getCommentThread','length','getAllMarkersForId','comment:','execute','componentFactory','removeCommentThread','addCommentThread','licenseKey','1986058YWUcFN','isOfficialPlugin','view','innerView','commentsLicenseKeyNotAllowed','comment','commentsLicenseKeyInvalid','trialLimit','_createUIButton','evaluationLimit','has','config','CommentThreadInputView','editing','map','editor','commentsLicenseKeyUsageLimit','hasMarkerForId','tooltip','from'];_0xbe7a=function(){return _0x284ca6;};return _0xbe7a();}import{CommentsRepository as _0x391362}from'./commentsrepository.js';function _0x4db7(_0x3c4c36,_0x4e3459){const _0xbe7a2=_0xbe7a();return _0x4db7=function(_0x4db7fd,_0x3c1f00){_0x4db7fd=_0x4db7fd-0x1ac;let _0x349b7f=_0xbe7a2[_0x4db7fd];return _0x349b7f;},_0x4db7(_0x3c4c36,_0x4e3459);}import{CommentsEditing as _0x45362e}from'./commentsediting.js';import{EditorAnnotations as _0x3c427e}from'../annotations/editorannotations.js';import{ButtonView as _0x3966d4,MenuBarMenuListItemButtonView as _0x582682}from'ckeditor5/src/ui.js';import{Annotations as _0x10f974}from'../annotations/annotations.js';import{CommentsListView as _0x25bba1}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x42b459}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x407b48}from'../utils/common-translations.js';export class CommentsUI extends _0x566d02{[_0x425950(0x1c8)];[_0x425950(0x1be)];static get[_0x425950(0x1b8)](){const _0x56cb1d=_0x425950;return _0x56cb1d(0x1ff);}static get[_0x425950(0x1ca)](){return!0x0;}static get[_0x425950(0x1ea)](){return!0x0;}static get[_0x425950(0x1ed)](){return[_0x391362,_0x45362e,_0x3c427e,_0x10f974];}get[_0x425950(0x1b2)](){return _0x25bba1;}get[_0x425950(0x1d5)](){return _0x42b459;}[_0x425950(0x1e9)](){const _0x5decca=_0x425950,_0x4bee2b=this[_0x5decca(0x1d8)],_0x2257d2=_0x4bee2b[_0x5decca(0x1fe)][_0x5decca(0x1de)](_0x391362),_0x581471=_0x4bee2b[_0x5decca(0x1fe)][_0x5decca(0x1de)](_0x45362e),_0x3ed964=_0x4bee2b[_0x5decca(0x1fe)][_0x5decca(0x1de)](_0x10f974),_0xc6d1f9=_0x4bee2b[_0x5decca(0x1fe)][_0x5decca(0x1de)](_0x3c427e);_0x4bee2b['ui'][_0x5decca(0x1c5)][_0x5decca(0x1e4)](_0x5decca(0x1ce),()=>{const _0x40b770=_0x5decca,_0x2959dc=this[_0x40b770(0x1d1)](_0x3966d4);return _0x2959dc[_0x40b770(0x1db)]=!0x0,_0x2959dc;}),_0x4bee2b['ui'][_0x5decca(0x1c5)][_0x5decca(0x1e4)](_0x5decca(0x1e0),()=>this[_0x5decca(0x1d1)](_0x582682)),_0xc6d1f9[_0x5decca(0x1ba)](()=>{const _0x3607ad=_0x5decca,_0x51af5d=[];for(const [_0x42535f,_0x2f1797]of _0x2257d2[_0x3607ad(0x1bc)]){const _0x51dda3=_0x581471[_0x3607ad(0x1c2)](_0x42535f['id']),_0x228706=_0x51dda3[_0x3607ad(0x1d7)](_0x59ed88=>_0x59ed88[_0x3607ad(0x200)]());_0x51dda3[_0x3607ad(0x1c1)]>0x0&&_0x51af5d[_0x3607ad(0x1f5)]([_0x2f1797[_0x3607ad(0x1cb)],_0x228706]);}return _0x51af5d;}),this[_0x5decca(0x1b3)](_0x3ed964,_0x5decca(0x1b6),(_0x106341,_0x26f7e8,_0xa57933)=>{const _0x1d236d=_0x5decca,_0x416701=Array[_0x1d236d(0x1dc)](_0xa57933)[_0x1d236d(0x1d7)](_0x38bb8d=>_0x38bb8d[_0x1d236d(0x1cc)])[_0x1d236d(0x1bb)](_0x26d750=>_0x2257d2[_0x1d236d(0x1e3)][_0x1d236d(0x1d3)](_0x26d750));if(!_0x416701)return void(_0x581471[_0x1d236d(0x1bf)]=null);const _0x3c14ea=_0x2257d2[_0x1d236d(0x1e3)][_0x1d236d(0x1de)](_0x416701)[_0x1d236d(0x1b9)]['id'],_0x222c35=_0x1d236d(0x1c3)+_0x3c14ea;_0x3c14ea&&_0x581471[_0x1d236d(0x1da)](_0x3c14ea)?_0x581471[_0x1d236d(0x1bf)]=_0x222c35:_0x581471[_0x1d236d(0x1bf)]&&(_0x581471[_0x1d236d(0x1bf)]=null);}),this[_0x5decca(0x1b3)](_0x2257d2,_0x5decca(0x1c6),(_0x2422e6,{threadId:_0x121ff7,isFromAdapter:_0x1a0bd6})=>{const _0x8a428f=_0x5decca;!_0x1a0bd6&&_0x4bee2b['ui'][_0x8a428f(0x1b1)][_0x8a428f(0x1f2)]&&_0x581471[_0x8a428f(0x1da)](_0x121ff7)&&_0x4bee2b[_0x8a428f(0x1d6)][_0x8a428f(0x1cb)][_0x8a428f(0x1f0)]();},{'priority':_0x5decca(0x1fb)}),this[_0x5decca(0x1b3)](_0x2257d2,_0x5decca(0x1eb),(_0x3b38c9,{threadId:_0x32b7ab,isFromAdapter:_0x162db0})=>{const _0x432d66=_0x5decca;if(_0x162db0||!_0x581471[_0x432d66(0x1da)](_0x32b7ab)||!_0x2257d2[_0x432d66(0x1e1)](_0x32b7ab))return;0x1===_0x2257d2[_0x432d66(0x1c0)](_0x32b7ab)[_0x432d66(0x1c1)]&&(_0x4bee2b[_0x432d66(0x1d6)][_0x432d66(0x1cb)][_0x432d66(0x1f0)](),_0x3b38c9[_0x432d66(0x1f4)]());},{'priority':_0x5decca(0x1f6)}),this[_0x5decca(0x1c8)]=this[_0x5decca(0x1d8)][_0x5decca(0x1d4)][_0x5decca(0x1de)](_0x5decca(0x1c8));const _0x386f70=this[_0x5decca(0x1d8)];this[_0x5decca(0x1be)]=setInterval(()=>{const _0x2b9612=_0x5decca;let _0x2f095f;for(const _0x4837c5 in _0x386f70){const _0x4a8a2d=_0x4837c5,_0x5c3663=_0x386f70[_0x4a8a2d];if(_0x2b9612(0x1ad)==_0x5c3663||_0x2b9612(0x1cf)==_0x5c3663||_0x2b9612(0x1e6)==_0x5c3663||_0x2b9612(0x1f7)==_0x5c3663||_0x2b9612(0x1cd)==_0x5c3663||_0x2b9612(0x1af)==_0x5c3663||_0x2b9612(0x1dd)==_0x5c3663||_0x2b9612(0x1d9)==_0x5c3663){delete _0x386f70[_0x4a8a2d],_0x2f095f=_0x5c3663,clearInterval(this[_0x2b9612(0x1be)]),this[_0x2b9612(0x1be)]=void 0x0;break;}}_0x2b9612(0x1cf)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1b0)),_0x2b9612(0x1e6)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1bd)),_0x2b9612(0x1f7)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1ac)),_0x2b9612(0x1cd)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1df),_0x2b9612(0x1b7)),_0x2b9612(0x1af)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1d2)),_0x2b9612(0x1dd)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1d0)),_0x2b9612(0x1d9)==_0x2f095f&&_0x386f70[_0x2b9612(0x1e7)](_0x2b9612(0x1f9));},0x3e8);}[_0x425950(0x1e2)](){const _0x122f38=_0x425950;super[_0x122f38(0x1e2)](),this[_0x122f38(0x1be)]&&clearInterval(this[_0x122f38(0x1be)]);}[_0x425950(0x1d1)](_0xe61dcc){const _0xedb761=_0x425950,_0x3e64f5=this[_0xedb761(0x1d8)],_0x408de5=new _0xe61dcc(_0x3e64f5[_0xedb761(0x201)]),_0x4e1484=_0x3e64f5[_0xedb761(0x1fc)][_0xedb761(0x1de)](_0xedb761(0x1c7));return _0x408de5[_0xedb761(0x1ee)]({'label':_0x407b48(_0x3e64f5[_0xedb761(0x201)],_0xedb761(0x1e5)),'icon':_0x2160aa}),_0x408de5[_0xedb761(0x1f8)](_0xedb761(0x1b4))['to'](_0x4e1484,_0xedb761(0x1b5)),this[_0xedb761(0x1b3)](_0x408de5,_0xedb761(0x1c4),()=>{const _0x2e0f38=_0xedb761;_0x4e1484[_0x2e0f38(0x1c4)]();}),_0x408de5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe26cb1=_0x5f34;(function(_0x40b2be,_0x19fb66){const _0x2b54df=_0x5f34,_0x29f110=_0x40b2be();while(!![]){try{const _0x1d0525=parseInt(_0x2b54df(0xd6))/0x1+-parseInt(_0x2b54df(0xcd))/0x2*(-parseInt(_0x2b54df(0xd0))/0x3)+-parseInt(_0x2b54df(0xc8))/0x4*(-parseInt(_0x2b54df(0xce))/0x5)+parseInt(_0x2b54df(0xd1))/0x6+parseInt(_0x2b54df(0xc6))/0x7+parseInt(_0x2b54df(0xd8))/0x8+parseInt(_0x2b54df(0xdc))/0x9*(-parseInt(_0x2b54df(0xde))/0xa);if(_0x1d0525===_0x19fb66)break;else _0x29f110['push'](_0x29f110['shift']());}catch(_0x1d328b){_0x29f110['push'](_0x29f110['shift']());}}}(_0x5d9b,0x6c661));import{Plugin as _0x35bf0c}from'ckeditor5/src/core.js';import{priorities as _0x500f83}from'ckeditor5/src/utils.js';import{Users as _0x5bd617}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5d9b(){const _0x2094fc=['2873157oUGMfv','high','496012eMbNOO','execute','addCommentThread','map','config','6CYnFqk','5QcXreY','importWord.formatting.comments','599124erClhZ','563178ocZXgx','afterInit','commands','collaboration.channelId','define','46441EhMZRk','_handleImportedData','3339872qxObFs','editor','dataInsert','plugins','315YFTdxF','collaboration_features','356390MHqpWd','listenTo','forEach','basic','get','importWord'];_0x5d9b=function(){return _0x2094fc;};return _0x5d9b();}import{CommentsRepository as _0x3332e4}from'../commentsrepository.js';function _0x5f34(_0x3dd0c3,_0x4b32b0){const _0x5d9b62=_0x5d9b();return _0x5f34=function(_0x5f3453,_0x12266f){_0x5f3453=_0x5f3453-0xc2;let _0x5f8d7=_0x5d9b62[_0x5f3453];return _0x5f8d7;},_0x5f34(_0x3dd0c3,_0x4b32b0);}export class CommentsImportWord extends _0x35bf0c{constructor(_0x42bca0){const _0x19b1af=_0x5f34;super(_0x42bca0),this[_0x19b1af(0xd9)][_0x19b1af(0xcc)][_0x19b1af(0xd5)](_0x19b1af(0xcf),_0x19b1af(0xc3));}[_0xe26cb1(0xd2)](){const _0x2f7ec3=_0xe26cb1,_0x13561d=this[_0x2f7ec3(0xd9)],_0xcddf8b=_0x13561d[_0x2f7ec3(0xd3)][_0x2f7ec3(0xc4)](_0x2f7ec3(0xc5)),_0xb6e72b=_0x13561d[_0x2f7ec3(0xdb)][_0x2f7ec3(0xc4)](_0x5bd617);_0xcddf8b&&(_0xcddf8b['on'](_0x2f7ec3(0xc9),(_0x1b3080,[,_0x1c2562])=>{const _0x1e3484=_0x2f7ec3;_0x1c2562[_0x1e3484(0xdd)]={'comments':!0x0,'user_id':_0xb6e72b['me']['id']};},{'priority':_0x500f83[_0x2f7ec3(0xc7)]+0xa}),this[_0x2f7ec3(0xdf)](_0xcddf8b,_0x2f7ec3(0xda),this[_0x2f7ec3(0xd7)]));}[_0xe26cb1(0xd7)](_0x18d40a,_0x4573d9){const _0x55e7ff=_0xe26cb1,{comment_threads:_0x1c783f}=_0x4573d9;_0x1c783f&&_0x1c783f[_0x55e7ff(0xc2)](({thread_id:_0x16d495,comments:_0x16fa9d,is_resolved:_0x332746})=>{const _0x2aa5ab=_0x55e7ff,_0x1fd63f=new Date(),_0x3a3f98=_0x16fa9d[_0x2aa5ab(0xcb)](({author:_0x31b934,content:_0x52c62d,created_at:_0x4a11bb})=>({'content':_0x52c62d,'authorId':this[_0x2aa5ab(0xd9)][_0x2aa5ab(0xdb)][_0x2aa5ab(0xc4)](_0x5bd617)['me']['id'],'createdAt':_0x1fd63f,'attributes':{'@external':{'authorName':_0x31b934,'createdAt':_0x4a11bb?new Date(_0x4a11bb):new Date(),'source':_0x2aa5ab(0xc5)}}})),_0x41d1eb=this[_0x2aa5ab(0xd9)][_0x2aa5ab(0xcc)][_0x2aa5ab(0xc4)](_0x2aa5ab(0xd4));this[_0x2aa5ab(0xd9)][_0x2aa5ab(0xdb)][_0x2aa5ab(0xc4)](_0x3332e4)[_0x2aa5ab(0xca)]({'channelId':_0x41d1eb,'threadId':_0x16d495,'comments':_0x3a3f98,'resolvedAt':_0x332746?_0x1fd63f:null});});}}
23
+ const _0x565735=_0x6ec9;(function(_0x4dc719,_0x455025){const _0x2a4708=_0x6ec9,_0x152476=_0x4dc719();while(!![]){try{const _0x4bc938=parseInt(_0x2a4708(0x11d))/0x1*(parseInt(_0x2a4708(0x103))/0x2)+parseInt(_0x2a4708(0x115))/0x3+-parseInt(_0x2a4708(0x102))/0x4*(parseInt(_0x2a4708(0x107))/0x5)+parseInt(_0x2a4708(0x105))/0x6*(parseInt(_0x2a4708(0x104))/0x7)+parseInt(_0x2a4708(0x108))/0x8+parseInt(_0x2a4708(0x118))/0x9*(-parseInt(_0x2a4708(0x10c))/0xa)+parseInt(_0x2a4708(0x11f))/0xb;if(_0x4bc938===_0x455025)break;else _0x152476['push'](_0x152476['shift']());}catch(_0x265b12){_0x152476['push'](_0x152476['shift']());}}}(_0x16f7,0x1df79));import{Plugin as _0x41bb05}from'ckeditor5/src/core.js';import{priorities as _0x859c14}from'ckeditor5/src/utils.js';function _0x16f7(){const _0x2bcd77=['775027JubsLv','map','4NSJOyQ','410342fRCOCo','147ifOili','7098BiMnvD','execute','244795cZoMqS','432152QZuLdL','dataInsert','editor','importWord','1150fDlmtt','basic','_handleImportedData','define','collaboration_features','forEach','collaboration.channelId','importWord.formatting.comments','afterInit','92307JVVKkM','commands','listenTo','16713prugfB','plugins','config','high','addCommentThread','1aHPFiL','get'];_0x16f7=function(){return _0x2bcd77;};return _0x16f7();}import{Users as _0x6636c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x907abd}from'../commentsrepository.js';function _0x6ec9(_0x2e3d26,_0x45b7d5){const _0x16f7d5=_0x16f7();return _0x6ec9=function(_0x6ec934,_0x3812c9){_0x6ec934=_0x6ec934-0x101;let _0x50de6b=_0x16f7d5[_0x6ec934];return _0x50de6b;},_0x6ec9(_0x2e3d26,_0x45b7d5);}export class CommentsImportWord extends _0x41bb05{constructor(_0x349bbc){const _0x3c4049=_0x6ec9;super(_0x349bbc),this[_0x3c4049(0x10a)][_0x3c4049(0x11a)][_0x3c4049(0x10f)](_0x3c4049(0x113),_0x3c4049(0x10d));}[_0x565735(0x114)](){const _0x1d9740=_0x565735,_0x8a56a6=this[_0x1d9740(0x10a)],_0x305260=_0x8a56a6[_0x1d9740(0x116)][_0x1d9740(0x11e)](_0x1d9740(0x10b)),_0x29a41e=_0x8a56a6[_0x1d9740(0x119)][_0x1d9740(0x11e)](_0x6636c6);_0x305260&&(_0x305260['on'](_0x1d9740(0x106),(_0x4fb3d7,[,_0x59fd45])=>{const _0x5de74d=_0x1d9740;_0x59fd45[_0x5de74d(0x110)]={'comments':!0x0,'user_id':_0x29a41e['me']['id']};},{'priority':_0x859c14[_0x1d9740(0x11b)]+0xa}),this[_0x1d9740(0x117)](_0x305260,_0x1d9740(0x109),this[_0x1d9740(0x10e)]));}[_0x565735(0x10e)](_0x68b526,_0x280cb4){const _0x50fe94=_0x565735,{comment_threads:_0x461792}=_0x280cb4;_0x461792&&_0x461792[_0x50fe94(0x111)](({thread_id:_0x2c772c,comments:_0x20b852,is_resolved:_0x46b2b8})=>{const _0x1ca153=_0x50fe94,_0x5617e5=new Date(),_0xf0a66f=_0x20b852[_0x1ca153(0x101)](({author:_0x4fb562,content:_0x2d6fd1,created_at:_0x4489cd})=>({'content':_0x2d6fd1,'authorId':this[_0x1ca153(0x10a)][_0x1ca153(0x119)][_0x1ca153(0x11e)](_0x6636c6)['me']['id'],'createdAt':_0x5617e5,'attributes':{'@external':{'authorName':_0x4fb562,'createdAt':_0x4489cd?new Date(_0x4489cd):new Date(),'source':_0x1ca153(0x10b)}}})),_0x3837cd=this[_0x1ca153(0x10a)][_0x1ca153(0x11a)][_0x1ca153(0x11e)](_0x1ca153(0x112));this[_0x1ca153(0x10a)][_0x1ca153(0x119)][_0x1ca153(0x11e)](_0x907abd)[_0x1ca153(0x11c)]({'channelId':_0x3837cd,'threadId':_0x2c772c,'comments':_0xf0a66f,'resolvedAt':_0x46b2b8?_0x5617e5:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37b6(_0x1842be,_0xdfec48){const _0x11e45b=_0x11e4();return _0x37b6=function(_0x37b6e7,_0x349e1e){_0x37b6e7=_0x37b6e7-0x1be;let _0x48717e=_0x11e45b[_0x37b6e7];return _0x48717e;},_0x37b6(_0x1842be,_0xdfec48);}const _0x46c15c=_0x37b6;(function(_0x21f9cc,_0x739a14){const _0x1eec49=_0x37b6,_0x9c97be=_0x21f9cc();while(!![]){try{const _0x4486c3=parseInt(_0x1eec49(0x1c7))/0x1*(parseInt(_0x1eec49(0x200))/0x2)+parseInt(_0x1eec49(0x1e1))/0x3+parseInt(_0x1eec49(0x1eb))/0x4*(parseInt(_0x1eec49(0x1db))/0x5)+-parseInt(_0x1eec49(0x1fd))/0x6+parseInt(_0x1eec49(0x1f1))/0x7+-parseInt(_0x1eec49(0x1e2))/0x8*(parseInt(_0x1eec49(0x1ea))/0x9)+-parseInt(_0x1eec49(0x1d5))/0xa*(parseInt(_0x1eec49(0x1c8))/0xb);if(_0x4486c3===_0x739a14)break;else _0x9c97be['push'](_0x9c97be['shift']());}catch(_0x409e5f){_0x9c97be['push'](_0x9c97be['shift']());}}}(_0x11e4,0x96e4c));import{Plugin as _0x4cfaf8}from'ckeditor5/src/core.js';import{toWidget as _0x3d82b1}from'ckeditor5/src/widget.js';function _0x11e4(){const _0x108751=['ignoreResolvedComments','mapper','containerElement','27guOZxw','895416MWNenO','ck-horizontal-line','addMarker:comment','span','createPositionAt','options','6387528LDZkFR','isObject','overrideMarkerConverters','isResolved','schema','elementToStructure','downcastDispatcher','createEmptyElement','model','getCustomProperty','toViewElement','conversion','6052500kiIdnB','dataDowncast','image-inline','386qJrGzc','markerToHighlight','overrideMediaEmbedConverter','div','addMarker:','stop','insert','removeMarker:','widget','img','853vRjmTw','1930104oHrJSq','elementToElement','imageInline','showCommentHighlights','get','media','plugins','editor','consume','overrideImageInlineConverter','add','consumable','init','20ZOylba','item','writer','high','for','attribute:url:media','20ACEcxO','createContainerElement','overrideHorizontalRuleConverter','addClass','markerName','horizontalLine','2886342XbEJPR','2551800LUmaQF','getCommentThread','ck-comment-marker','data','comment'];_0x11e4=function(){return _0x108751;};return _0x11e4();}import{splitMarkerName as _0x49c151}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x4d6c82}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x4cfaf8{[_0x46c15c(0x1d4)](){const _0x2d2ca0=_0x46c15c;this[_0x2d2ca0(0x1f3)](),this[_0x2d2ca0(0x1dd)](),this[_0x2d2ca0(0x1d1)](),this[_0x2d2ca0(0x1bf)]();}[_0x46c15c(0x1f3)](){const _0x3203f3=_0x46c15c;this[_0x3203f3(0x1cf)][_0x3203f3(0x1fc)][_0x3203f3(0x1d9)](_0x3203f3(0x1fe))[_0x3203f3(0x1be)]({'model':_0x3203f3(0x1e6),'view':(_0x33e2b6,_0x4aa352)=>{const _0xd9d678=_0x3203f3;if(!_0x4aa352[_0xd9d678(0x1f0)][_0xd9d678(0x1cb)])return null;if(_0x4aa352[_0xd9d678(0x1f0)][_0xd9d678(0x1e7)]){const {id:_0x58891e}=_0x49c151(_0x33e2b6[_0xd9d678(0x1df)]),_0x13a722=this[_0xd9d678(0x1cf)][_0xd9d678(0x1ce)][_0xd9d678(0x1cc)](_0x4d6c82);if(_0x13a722[_0xd9d678(0x1e3)](_0x58891e)?.[_0xd9d678(0x1f4)]&&_0x33e2b6[_0xd9d678(0x1d6)])return _0x4aa352[_0xd9d678(0x1d3)][_0xd9d678(0x1d0)](_0x33e2b6[_0xd9d678(0x1d6)],_0xd9d678(0x1c1)+_0x33e2b6[_0xd9d678(0x1df)]),_0x4aa352[_0xd9d678(0x1d3)][_0xd9d678(0x1d0)](_0x33e2b6[_0xd9d678(0x1d6)],_0xd9d678(0x1c4)+_0x33e2b6[_0xd9d678(0x1df)]),null;}return{'classes':[_0xd9d678(0x1e4)]};}}),this[_0x3203f3(0x1cf)][_0x3203f3(0x1fc)][_0x3203f3(0x1d9)](_0x3203f3(0x1fe))[_0x3203f3(0x1d2)](_0x239da5=>{const _0x282fee=_0x3203f3;_0x239da5['on'](_0x282fee(0x1ed),(_0x4b3e15,_0x1770e5,_0x28d51a)=>{const _0x308019=_0x282fee;if(!_0x28d51a[_0x308019(0x1f0)][_0x308019(0x1cb)])return;const _0x5aeb14=_0x1770e5[_0x308019(0x1d6)];if(!_0x5aeb14)return;const _0x47728a=_0x28d51a[_0x308019(0x1e8)][_0x308019(0x1fb)](_0x5aeb14);this[_0x308019(0x1cf)][_0x308019(0x1f9)][_0x308019(0x1f5)][_0x308019(0x1f2)](_0x5aeb14)&&_0x47728a&&!_0x47728a[_0x308019(0x1fa)](_0x308019(0x1c5))&&_0x47728a['is'](_0x308019(0x1e9))&&_0x3d82b1(_0x47728a,_0x28d51a[_0x308019(0x1d7)]);},{'priority':_0x282fee(0x1d8)});});}[_0x46c15c(0x1dd)](){const _0x56ca12=_0x46c15c;this[_0x56ca12(0x1cf)][_0x56ca12(0x1fc)][_0x56ca12(0x1d9)](_0x56ca12(0x1fe))[_0x56ca12(0x1f6)]({'model':_0x56ca12(0x1e0),'view':(_0x54aac7,{writer:_0x3b2a91,options:_0x253046})=>{const _0x2002fa=_0x56ca12;if(!_0x253046[_0x2002fa(0x1cb)])return null;const _0x352b2c=_0x3b2a91[_0x2002fa(0x1dc)](_0x2002fa(0x1c0)),_0x5bfcd6=_0x3b2a91[_0x2002fa(0x1f8)]('hr');return _0x3b2a91[_0x2002fa(0x1de)](_0x2002fa(0x1ec),_0x352b2c),_0x3b2a91[_0x2002fa(0x1c3)](_0x3b2a91[_0x2002fa(0x1ef)](_0x352b2c,0x0),_0x5bfcd6),_0x352b2c;},'converterPriority':_0x56ca12(0x1d8)});}[_0x46c15c(0x1d1)](){const _0x481990=_0x46c15c;this[_0x481990(0x1cf)][_0x481990(0x1fc)][_0x481990(0x1d9)](_0x481990(0x1fe))[_0x481990(0x1f6)]({'model':_0x481990(0x1ca),'view':(_0x412fe1,{writer:_0x1e7d9f,options:_0x4bf2d7})=>{const _0x5bd4f0=_0x481990;if(!_0x4bf2d7[_0x5bd4f0(0x1cb)])return null;const _0xbd5586=_0x1e7d9f[_0x5bd4f0(0x1dc)](_0x5bd4f0(0x1ee)),_0x116df9=_0x1e7d9f[_0x5bd4f0(0x1f8)](_0x5bd4f0(0x1c6));return _0x1e7d9f[_0x5bd4f0(0x1de)](_0x5bd4f0(0x1ff),_0xbd5586),_0x1e7d9f[_0x5bd4f0(0x1c3)](_0x1e7d9f[_0x5bd4f0(0x1ef)](_0xbd5586,0x0),_0x116df9),_0xbd5586;},'converterPriority':_0x481990(0x1d8)});}[_0x46c15c(0x1bf)](){const _0x4d67a8=_0x46c15c;this[_0x4d67a8(0x1cf)][_0x4d67a8(0x1fc)][_0x4d67a8(0x1d9)](_0x4d67a8(0x1fe))[_0x4d67a8(0x1c9)]({'model':_0x4d67a8(0x1cd),'view':(_0x1a3fe8,{writer:_0x2bf15e,options:_0x385d3c})=>{const _0x28dda0=_0x4d67a8;if(_0x385d3c[_0x28dda0(0x1cb)])return _0x2bf15e[_0x28dda0(0x1f8)](_0x28dda0(0x1c0));},'converterPriority':_0x4d67a8(0x1d8)}),this[_0x4d67a8(0x1cf)][_0x4d67a8(0x1e5)][_0x4d67a8(0x1f7)]['on'](_0x4d67a8(0x1da),(_0x406cdb,_0x44e9ce,_0x5e4caa)=>{const _0x5b5595=_0x4d67a8;_0x5e4caa[_0x5b5595(0x1f0)][_0x5b5595(0x1cb)]&&_0x406cdb[_0x5b5595(0x1c2)]();},{'priority':_0x4d67a8(0x1d8)});}}
23
+ const _0x53400a=_0x42c8;(function(_0x4c8164,_0x1ed975){const _0x424196=_0x42c8,_0x110381=_0x4c8164();while(!![]){try{const _0x55a55e=parseInt(_0x424196(0x152))/0x1+parseInt(_0x424196(0x186))/0x2+-parseInt(_0x424196(0x159))/0x3*(-parseInt(_0x424196(0x168))/0x4)+parseInt(_0x424196(0x177))/0x5+parseInt(_0x424196(0x15d))/0x6*(-parseInt(_0x424196(0x169))/0x7)+parseInt(_0x424196(0x15e))/0x8*(parseInt(_0x424196(0x17f))/0x9)+-parseInt(_0x424196(0x18b))/0xa;if(_0x55a55e===_0x1ed975)break;else _0x110381['push'](_0x110381['shift']());}catch(_0x37f155){_0x110381['push'](_0x110381['shift']());}}}(_0x589e,0xd4fd8));function _0x42c8(_0x3edcd2,_0x5c1c78){const _0x589efd=_0x589e();return _0x42c8=function(_0x42c870,_0x12cbda){_0x42c870=_0x42c870-0x14e;let _0x29f938=_0x589efd[_0x42c870];return _0x29f938;},_0x42c8(_0x3edcd2,_0x5c1c78);}import{Plugin as _0x2d5c0c}from'ckeditor5/src/core.js';import{toWidget as _0x8f1405}from'ckeditor5/src/widget.js';function _0x589e(){const _0x4f4edd=['overrideMarkerConverters','ignoreResolvedComments','2500534uZiidY','getCommentThread','add','dataDowncast','insert','42255910oCpHjh','consumable','span','overrideMediaEmbedConverter','consume','ck-horizontal-line','conversion','elementToElement','markerName','1269477wTkliP','createPositionAt','elementToStructure','downcastDispatcher','createContainerElement','init','showCommentHighlights','2832pAIulZ','img','model','isResolved','6853764qDkxYy','16jLdQqH','overrideHorizontalRuleConverter','imageInline','isObject','media','containerElement','data','editor','high','overrideImageInlineConverter','6684TlkvoL','7oIGrdH','get','ck-comment-marker','comment','createEmptyElement','image-inline','stop','addMarker:comment','writer','toViewElement','item','for','addMarker:','addClass','5918855hVSUKk','div','mapper','getCustomProperty','widget','horizontalLine','schema','plugins','4317093lhZbgy','options','markerToHighlight','removeMarker:','attribute:url:media'];_0x589e=function(){return _0x4f4edd;};return _0x589e();}import{splitMarkerName as _0x22f7e5}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x3d1490}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x2d5c0c{[_0x53400a(0x157)](){const _0x1b08b5=_0x53400a;this[_0x1b08b5(0x184)](),this[_0x1b08b5(0x15f)](),this[_0x1b08b5(0x167)](),this[_0x1b08b5(0x18e)]();}[_0x53400a(0x184)](){const _0x49a7eb=_0x53400a;this[_0x49a7eb(0x165)][_0x49a7eb(0x14f)][_0x49a7eb(0x174)](_0x49a7eb(0x189))[_0x49a7eb(0x181)]({'model':_0x49a7eb(0x16c),'view':(_0x56ae81,_0x3372ca)=>{const _0x1d86da=_0x49a7eb;if(!_0x3372ca[_0x1d86da(0x180)][_0x1d86da(0x158)])return null;if(_0x3372ca[_0x1d86da(0x180)][_0x1d86da(0x185)]){const {id:_0x593b20}=_0x22f7e5(_0x56ae81[_0x1d86da(0x151)]),_0x41ea62=this[_0x1d86da(0x165)][_0x1d86da(0x17e)][_0x1d86da(0x16a)](_0x3d1490);if(_0x41ea62[_0x1d86da(0x187)](_0x593b20)?.[_0x1d86da(0x15c)]&&_0x56ae81[_0x1d86da(0x173)])return _0x3372ca[_0x1d86da(0x18c)][_0x1d86da(0x18f)](_0x56ae81[_0x1d86da(0x173)],_0x1d86da(0x175)+_0x56ae81[_0x1d86da(0x151)]),_0x3372ca[_0x1d86da(0x18c)][_0x1d86da(0x18f)](_0x56ae81[_0x1d86da(0x173)],_0x1d86da(0x182)+_0x56ae81[_0x1d86da(0x151)]),null;}return{'classes':[_0x1d86da(0x16b)]};}}),this[_0x49a7eb(0x165)][_0x49a7eb(0x14f)][_0x49a7eb(0x174)](_0x49a7eb(0x189))[_0x49a7eb(0x188)](_0x535cb4=>{const _0x537f9=_0x49a7eb;_0x535cb4['on'](_0x537f9(0x170),(_0x503734,_0x5887e2,_0xfa37ee)=>{const _0x41bed3=_0x537f9;if(!_0xfa37ee[_0x41bed3(0x180)][_0x41bed3(0x158)])return;const _0x22c120=_0x5887e2[_0x41bed3(0x173)];if(!_0x22c120)return;const _0x4711b9=_0xfa37ee[_0x41bed3(0x179)][_0x41bed3(0x172)](_0x22c120);this[_0x41bed3(0x165)][_0x41bed3(0x15b)][_0x41bed3(0x17d)][_0x41bed3(0x161)](_0x22c120)&&_0x4711b9&&!_0x4711b9[_0x41bed3(0x17a)](_0x41bed3(0x17b))&&_0x4711b9['is'](_0x41bed3(0x163))&&_0x8f1405(_0x4711b9,_0xfa37ee[_0x41bed3(0x171)]);},{'priority':_0x537f9(0x166)});});}[_0x53400a(0x15f)](){const _0x339d6b=_0x53400a;this[_0x339d6b(0x165)][_0x339d6b(0x14f)][_0x339d6b(0x174)](_0x339d6b(0x189))[_0x339d6b(0x154)]({'model':_0x339d6b(0x17c),'view':(_0x5d1caf,{writer:_0x10a542,options:_0x1ee264})=>{const _0x340b95=_0x339d6b;if(!_0x1ee264[_0x340b95(0x158)])return null;const _0x20a312=_0x10a542[_0x340b95(0x156)](_0x340b95(0x178)),_0x5ec4ba=_0x10a542[_0x340b95(0x16d)]('hr');return _0x10a542[_0x340b95(0x176)](_0x340b95(0x14e),_0x20a312),_0x10a542[_0x340b95(0x18a)](_0x10a542[_0x340b95(0x153)](_0x20a312,0x0),_0x5ec4ba),_0x20a312;},'converterPriority':_0x339d6b(0x166)});}[_0x53400a(0x167)](){const _0x4393ba=_0x53400a;this[_0x4393ba(0x165)][_0x4393ba(0x14f)][_0x4393ba(0x174)](_0x4393ba(0x189))[_0x4393ba(0x154)]({'model':_0x4393ba(0x160),'view':(_0x452bbb,{writer:_0x36350d,options:_0x208a40})=>{const _0x23a733=_0x4393ba;if(!_0x208a40[_0x23a733(0x158)])return null;const _0x42f53c=_0x36350d[_0x23a733(0x156)](_0x23a733(0x18d)),_0xe34761=_0x36350d[_0x23a733(0x16d)](_0x23a733(0x15a));return _0x36350d[_0x23a733(0x176)](_0x23a733(0x16e),_0x42f53c),_0x36350d[_0x23a733(0x18a)](_0x36350d[_0x23a733(0x153)](_0x42f53c,0x0),_0xe34761),_0x42f53c;},'converterPriority':_0x4393ba(0x166)});}[_0x53400a(0x18e)](){const _0x22891e=_0x53400a;this[_0x22891e(0x165)][_0x22891e(0x14f)][_0x22891e(0x174)](_0x22891e(0x189))[_0x22891e(0x150)]({'model':_0x22891e(0x162),'view':(_0x5277cd,{writer:_0x4d6e88,options:_0x33b989})=>{const _0x5cd411=_0x22891e;if(_0x33b989[_0x5cd411(0x158)])return _0x4d6e88[_0x5cd411(0x16d)](_0x5cd411(0x178));},'converterPriority':_0x22891e(0x166)}),this[_0x22891e(0x165)][_0x22891e(0x164)][_0x22891e(0x155)]['on'](_0x22891e(0x183),(_0x5ad4f8,_0xff1dcd,_0x52f6cf)=>{const _0x43ff23=_0x22891e;_0x52f6cf[_0x43ff23(0x180)][_0x43ff23(0x158)]&&_0x5ad4f8[_0x43ff23(0x16f)]();},{'priority':_0x22891e(0x166)});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x326074=_0x4469;(function(_0x233d41,_0x9ac487){const _0x30ceaa=_0x4469,_0xe1663d=_0x233d41();while(!![]){try{const _0x2f2780=parseInt(_0x30ceaa(0x138))/0x1+-parseInt(_0x30ceaa(0x149))/0x2*(-parseInt(_0x30ceaa(0x130))/0x3)+-parseInt(_0x30ceaa(0x146))/0x4*(parseInt(_0x30ceaa(0x13e))/0x5)+parseInt(_0x30ceaa(0x153))/0x6+-parseInt(_0x30ceaa(0x13f))/0x7+-parseInt(_0x30ceaa(0x12f))/0x8+parseInt(_0x30ceaa(0x143))/0x9*(-parseInt(_0x30ceaa(0x14d))/0xa);if(_0x2f2780===_0x9ac487)break;else _0xe1663d['push'](_0xe1663d['shift']());}catch(_0x19a64c){_0xe1663d['push'](_0xe1663d['shift']());}}}(_0x2b1b,0xb7d01));import{Editor as _0x3f702c}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x3041e4}from'./commenteditorui.js';import{ObservableMixin as _0x51c109}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x5a126d,disableViewPlaceholder as _0x4a5aa4}from'ckeditor5/src/engine.js';import{Clipboard as _0x322061}from'ckeditor5/src/clipboard.js';import{Enter as _0x27ee8f,ShiftEnter as _0x6b8132}from'ckeditor5/src/enter.js';import{SelectAll as _0x2310c7}from'ckeditor5/src/select-all.js';function _0x2b1b(){const _0x4f31d8=['ready','editing','2126jvumEO','init','data','placeholderElement','4150XQDner','initPlugins','get','_updatePlaceholder','fire','set','5649756onRduz','model','view','then','assign','getChild','initialData','join','create','placeholder','194352qYNpbh','2277tBcTrB','plugins','document','focus','low','defaultPlugins','map','end','313021CUdtPA','destroy','fromCharCode','name','change','createRoot','2199005lufwqK','3874899DoVfWf','childCount','config','setSelection','6309kzGyNO','change:placeholder','getRoot','4zsUBcu'];_0x2b1b=function(){return _0x4f31d8;};return _0x2b1b();}import{Typing as _0x4b8a66}from'ckeditor5/src/typing.js';import{Undo as _0x3275fd}from'ckeditor5/src/undo.js';import{Paragraph as _0x1eb0f8}from'ckeditor5/src/paragraph.js';const Qt=[_0x322061,_0x27ee8f,_0x6b8132,_0x2310c7,_0x4b8a66,_0x3275fd,_0x1eb0f8];class Rt extends/* #__PURE__ -- @preserve */
24
- _0x51c109(_0x3f702c){static [_0x326074(0x135)]=((()=>Qt)());constructor(_0x19a944={}){const _0x2a4846=_0x326074;function _0x3fe728(_0x41e7db){const _0x5b15d7=_0x4469;return _0x41e7db[_0x5b15d7(0x136)](_0x58bfa0=>String[_0x5b15d7(0x13a)](_0x58bfa0))[_0x5b15d7(0x12c)]('');}(_0x19a944=Object[_0x2a4846(0x129)]({},_0x19a944))[_0x2a4846(0x131)]||(_0x19a944[_0x2a4846(0x131)]=Rt[_0x2a4846(0x135)]),super(_0x19a944),this['ui']=new _0x3041e4(this),this[_0x2a4846(0x152)](_0x2a4846(0x12e),''),this[_0x2a4846(0x126)][_0x2a4846(0x132)]['on'](_0x2a4846(0x13c),()=>this[_0x2a4846(0x150)](),{'priority':_0x2a4846(0x134)}),this['on'](_0x2a4846(0x144),()=>this[_0x2a4846(0x150)]()),this[_0x2a4846(0x126)][_0x2a4846(0x132)][_0x2a4846(0x13d)](),this[_0x3fe728([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fe728([0x76,0x69,0x65,0x77])][_0x3fe728([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fe728([0x61,0x75,0x74,0x6f]),this[_0x3fe728([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3fe728([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fe728([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3fe728([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3fe728([0x6f,0x6b])});}[_0x326074(0x12d)](){const _0x3907b8=_0x326074,_0x79ca5a=this[_0x3907b8(0x141)][_0x3907b8(0x14f)](_0x3907b8(0x12b))||'';return this[_0x3907b8(0x14e)]()[_0x3907b8(0x128)](()=>this['ui'][_0x3907b8(0x14a)]())[_0x3907b8(0x128)](()=>this[_0x3907b8(0x14b)][_0x3907b8(0x14a)](_0x79ca5a))[_0x3907b8(0x128)](()=>this[_0x3907b8(0x151)](_0x3907b8(0x147)));}[_0x326074(0x139)](){const _0x57568a=_0x326074;return super[_0x57568a(0x139)]()[_0x57568a(0x128)](()=>this['ui'][_0x57568a(0x139)]());}[_0x326074(0x133)](){const _0x56bf45=_0x326074;this[_0x56bf45(0x126)][_0x56bf45(0x13c)](_0x59a578=>{const _0x5ca20d=_0x56bf45,_0x1bf95f=this[_0x5ca20d(0x126)][_0x5ca20d(0x132)][_0x5ca20d(0x145)](),_0x596678=_0x1bf95f&&_0x1bf95f[_0x5ca20d(0x12a)](_0x1bf95f[_0x5ca20d(0x140)]-0x1);_0x59a578[_0x5ca20d(0x142)](_0x596678,_0x5ca20d(0x137)),this[_0x5ca20d(0x148)][_0x5ca20d(0x127)][_0x5ca20d(0x133)]();});}[_0x326074(0x150)](){const _0x429b3e=_0x326074,_0x1b3288=this[_0x429b3e(0x148)][_0x429b3e(0x127)],_0xcd9a13=_0x1b3288[_0x429b3e(0x132)][_0x429b3e(0x145)](),_0x579a19=_0xcd9a13[_0x429b3e(0x12a)](0x0);_0xcd9a13[_0x429b3e(0x140)]>0x1||!_0x579a19||'p'!=_0x579a19[_0x429b3e(0x13b)]?this[_0x429b3e(0x14c)]&&this[_0x429b3e(0x14c)][_0x429b3e(0x12e)]&&(_0x4a5aa4(_0x1b3288,this[_0x429b3e(0x14c)]),this[_0x429b3e(0x14c)]=void 0x0):(this[_0x429b3e(0x12e)]&&(_0x579a19[_0x429b3e(0x12e)]=this[_0x429b3e(0x12e)]),_0x5a126d({'view':_0x1b3288,'element':_0x579a19,'keepOnFocus':!0x0}),this[_0x429b3e(0x14c)]=_0x579a19);}}function _0x4469(_0x397375,_0x2efa18){const _0x2b1bd5=_0x2b1b();return _0x4469=function(_0x4469d4,_0x3cdd46){_0x4469d4=_0x4469d4-0x126;let _0x2c4c6a=_0x2b1bd5[_0x4469d4];return _0x2c4c6a;},_0x4469(_0x397375,_0x2efa18);}export{Rt as CommentEditor};
23
+ const _0x466d4b=_0x2214;function _0x575a(){const _0x1268ea=['change','childCount','initPlugins','view','fire','fromCharCode','getRoot','initialData','document','placeholderElement','low','change:placeholder','892887WFyClg','191838ZZzcig','19002mCIQcf','get','plugins','ready','map','40hlXAJX','84SlxagX','join','20xwZhUq','8EXMLaJ','model','config','getChild','34740017cjzlxk','set','createRoot','27ozysHs','name','defaultPlugins','then','create','placeholder','4299760gbFfGQ','end','init','setSelection','618871JQLSSX','focus','data','destroy','editing','484421DWuKMe','_updatePlaceholder','113dWxQTF','assign'];_0x575a=function(){return _0x1268ea;};return _0x575a();}function _0x2214(_0x4d4df7,_0x1a0b10){const _0x575a98=_0x575a();return _0x2214=function(_0x2214b1,_0x542248){_0x2214b1=_0x2214b1-0x8b;let _0x1041a1=_0x575a98[_0x2214b1];return _0x1041a1;},_0x2214(_0x4d4df7,_0x1a0b10);}(function(_0x1ddd6f,_0x370cc1){const _0xd0a3ec=_0x2214,_0x5c2675=_0x1ddd6f();while(!![]){try{const _0x3d990d=parseInt(_0xd0a3ec(0x8d))/0x1*(parseInt(_0xd0a3ec(0x9d))/0x2)+-parseInt(_0xd0a3ec(0x9b))/0x3*(-parseInt(_0xd0a3ec(0xa6))/0x4)+-parseInt(_0xd0a3ec(0xa5))/0x5*(parseInt(_0xd0a3ec(0x9c))/0x6)+-parseInt(_0xd0a3ec(0x8b))/0x7*(-parseInt(_0xd0a3ec(0xa2))/0x8)+parseInt(_0xd0a3ec(0xad))/0x9*(parseInt(_0xd0a3ec(0xb3))/0xa)+-parseInt(_0xd0a3ec(0xb7))/0xb*(-parseInt(_0xd0a3ec(0xa3))/0xc)+-parseInt(_0xd0a3ec(0xaa))/0xd;if(_0x3d990d===_0x370cc1)break;else _0x5c2675['push'](_0x5c2675['shift']());}catch(_0x4752b7){_0x5c2675['push'](_0x5c2675['shift']());}}}(_0x575a,0xdb588));import{Editor as _0x206206}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x4daa98}from'./commenteditorui.js';import{ObservableMixin as _0x1fc54f}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x27608e,disableViewPlaceholder as _0x476e4d}from'ckeditor5/src/engine.js';import{Clipboard as _0x23802f}from'ckeditor5/src/clipboard.js';import{Enter as _0x5374f0,ShiftEnter as _0x547f98}from'ckeditor5/src/enter.js';import{SelectAll as _0x6d59d}from'ckeditor5/src/select-all.js';import{Typing as _0x46955b}from'ckeditor5/src/typing.js';import{Undo as _0xebb9cc}from'ckeditor5/src/undo.js';import{Paragraph as _0x251450}from'ckeditor5/src/paragraph.js';const Qt=[_0x23802f,_0x5374f0,_0x547f98,_0x6d59d,_0x46955b,_0xebb9cc,_0x251450];class Rt extends/* #__PURE__ -- @preserve */
24
+ _0x1fc54f(_0x206206){static [_0x466d4b(0xaf)]=((()=>Qt)());constructor(_0x1ee085={}){const _0x37a108=_0x466d4b;function _0x48b6e0(_0x4b3cbc){const _0x31614c=_0x2214;return _0x4b3cbc[_0x31614c(0xa1)](_0x5b2c2e=>String[_0x31614c(0x94)](_0x5b2c2e))[_0x31614c(0xa4)]('');}(_0x1ee085=Object[_0x37a108(0x8e)]({},_0x1ee085))[_0x37a108(0x9f)]||(_0x1ee085[_0x37a108(0x9f)]=Rt[_0x37a108(0xaf)]),super(_0x1ee085),this['ui']=new _0x4daa98(this),this[_0x37a108(0xab)](_0x37a108(0xb2),''),this[_0x37a108(0xa7)][_0x37a108(0x97)]['on'](_0x37a108(0x8f),()=>this[_0x37a108(0x8c)](),{'priority':_0x37a108(0x99)}),this['on'](_0x37a108(0x9a),()=>this[_0x37a108(0x8c)]()),this[_0x37a108(0xa7)][_0x37a108(0x97)][_0x37a108(0xac)](),this[_0x48b6e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x48b6e0([0x76,0x69,0x65,0x77])][_0x48b6e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x48b6e0([0x61,0x75,0x74,0x6f]),this[_0x48b6e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x48b6e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x48b6e0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x48b6e0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x48b6e0([0x6f,0x6b])});}[_0x466d4b(0xb1)](){const _0x5a0194=_0x466d4b,_0x939f56=this[_0x5a0194(0xa8)][_0x5a0194(0x9e)](_0x5a0194(0x96))||'';return this[_0x5a0194(0x91)]()[_0x5a0194(0xb0)](()=>this['ui'][_0x5a0194(0xb5)]())[_0x5a0194(0xb0)](()=>this[_0x5a0194(0xb9)][_0x5a0194(0xb5)](_0x939f56))[_0x5a0194(0xb0)](()=>this[_0x5a0194(0x93)](_0x5a0194(0xa0)));}[_0x466d4b(0xba)](){const _0x55f7ab=_0x466d4b;return super[_0x55f7ab(0xba)]()[_0x55f7ab(0xb0)](()=>this['ui'][_0x55f7ab(0xba)]());}[_0x466d4b(0xb8)](){const _0x1e0c3d=_0x466d4b;this[_0x1e0c3d(0xa7)][_0x1e0c3d(0x8f)](_0x341926=>{const _0x5ec441=_0x1e0c3d,_0x318836=this[_0x5ec441(0xa7)][_0x5ec441(0x97)][_0x5ec441(0x95)](),_0x2f2dcb=_0x318836&&_0x318836[_0x5ec441(0xa9)](_0x318836[_0x5ec441(0x90)]-0x1);_0x341926[_0x5ec441(0xb6)](_0x2f2dcb,_0x5ec441(0xb4)),this[_0x5ec441(0xbb)][_0x5ec441(0x92)][_0x5ec441(0xb8)]();});}[_0x466d4b(0x8c)](){const _0x53ee70=_0x466d4b,_0x185b85=this[_0x53ee70(0xbb)][_0x53ee70(0x92)],_0x17f7e0=_0x185b85[_0x53ee70(0x97)][_0x53ee70(0x95)](),_0x4123cb=_0x17f7e0[_0x53ee70(0xa9)](0x0);_0x17f7e0[_0x53ee70(0x90)]>0x1||!_0x4123cb||'p'!=_0x4123cb[_0x53ee70(0xae)]?this[_0x53ee70(0x98)]&&this[_0x53ee70(0x98)][_0x53ee70(0xb2)]&&(_0x476e4d(_0x185b85,this[_0x53ee70(0x98)]),this[_0x53ee70(0x98)]=void 0x0):(this[_0x53ee70(0xb2)]&&(_0x4123cb[_0x53ee70(0xb2)]=this[_0x53ee70(0xb2)]),_0x27608e({'view':_0x185b85,'element':_0x4123cb,'keepOnFocus':!0x0}),this[_0x53ee70(0x98)]=_0x4123cb);}}export{Rt as CommentEditor};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x72f191=_0x20fc;(function(_0x10b210,_0x2cb124){const _0x7ec817=_0x20fc,_0x255fd7=_0x10b210();while(!![]){try{const _0xaeca88=parseInt(_0x7ec817(0x84))/0x1*(parseInt(_0x7ec817(0x80))/0x2)+parseInt(_0x7ec817(0xbe))/0x3*(-parseInt(_0x7ec817(0x6e))/0x4)+parseInt(_0x7ec817(0xa9))/0x5+parseInt(_0x7ec817(0x9e))/0x6*(parseInt(_0x7ec817(0x8b))/0x7)+parseInt(_0x7ec817(0x65))/0x8+parseInt(_0x7ec817(0xa7))/0x9*(parseInt(_0x7ec817(0xa8))/0xa)+-parseInt(_0x7ec817(0x85))/0xb*(parseInt(_0x7ec817(0x69))/0xc);if(_0xaeca88===_0x2cb124)break;else _0x255fd7['push'](_0x255fd7['shift']());}catch(_0x32aec2){_0x255fd7['push'](_0x255fd7['shift']());}}}(_0x3a58,0x43257));function _0x3a58(){const _0x1a93d6=['228KpTScY','focusCycler','updateComment','editorConfig','value','4yrgBFv','isExternal','COMMENT_THREAD_DESCRIPTION','expand','submit','maxCommentCharsWhenCollapsed','stopListening','editorReady','switchToDisplayMode','_setupKeyboardNavigation','esc','switchToEditMode','focusables','target','EXTERNAL_IMPORT_WORD_AVATAR','visibleView','text/html','fire','227218kYkVWZ','attributes','_model','set','2wEWLId','305129uDeeHJ','isCollapsed','parseFromString','added','focusFirst','get','21ycOsRs','EXTERNAL_AVATAR','focusTracker','author','ariaLabel','destroy','remove','EXTERNAL_COMMENT','COMMENT_ARIA_LABEL','textContent','tab','element','getExternalCommentNote','getUserViewNotificationText','_createCommentContentView','initialData','enter','cancel','isReadOnly','255240dNnbwz','_config','EXTERNAL_IMPORT_WORD_COMMENT','Save','source','editorDestroyed','@external','listenTo','bind','171LpveLC','5030XgVUCS','163595ItNZte','delegate','shift+tab','once','isSystemComment','submitLabel','focus','createEditor','removed','_createCommentInputView','keystrokes','change','disabledSubmit','locale','render','body','isEditMode','createCollection','add','authoredAt','collapse','285225rOtpxN','ariaDescriptionView','creator','formatDateTime','4000264HPaVRB','importWord','name','content'];_0x3a58=function(){return _0x1a93d6;};return _0x3a58();}import{View as _0x486b5d,ViewCollection as _0x3120d6,FocusCycler as _0x571eb8}from'ckeditor5/src/ui.js';import{FocusTracker as _0xe686ef,KeystrokeHandler as _0x50468c}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x335f35,trimHtml as _0x368163}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x4af540}from'./commentcontentview.js';import{CommentInputView as _0x85c398}from'./commentinputview.js';import{getTranslation as _0x247183}from'../../../utils/common-translations.js';function _0x20fc(_0x3131ac,_0x260148){const _0x3a585b=_0x3a58();return _0x20fc=function(_0x20fceb,_0x5d25e4){_0x20fceb=_0x20fceb-0x64;let _0x48e7e2=_0x3a585b[_0x20fceb];return _0x48e7e2;},_0x20fc(_0x3131ac,_0x260148);}export class BaseCommentView extends _0x486b5d{[_0x72f191(0x7d)];[_0x72f191(0xbf)];[_0x72f191(0x7a)];[_0x72f191(0x8d)];[_0x72f191(0xb3)];[_0x72f191(0x6a)];[_0x72f191(0x82)];[_0x72f191(0x9f)];constructor(_0x41e49f,_0x128c8e,_0x48e0e4){const _0x460fa8=_0x72f191;super(_0x41e49f),this[_0x460fa8(0x82)]=_0x128c8e,this[_0x460fa8(0x9f)]=_0x48e0e4,this[_0x460fa8(0xad)]=!!this[_0x460fa8(0x9f)][_0x460fa8(0xad)],this[_0x460fa8(0x83)](_0x460fa8(0xb9),!0x1),this[_0x460fa8(0x83)](_0x460fa8(0x86),!0x0),this[_0x460fa8(0xa6)](_0x460fa8(0x8f))['to'](_0x128c8e,_0x460fa8(0x68),_0x128c8e,_0x460fa8(0xbc),(_0x1cdba6,_0x508a74)=>_0x247183(_0x41e49f,_0x460fa8(0x93),[_0x128c8e[_0x460fa8(0x8e)][_0x460fa8(0x67)],_0x48e0e4[_0x460fa8(0x64)](_0x508a74),new DOMParser()[_0x460fa8(0x87)](_0x1cdba6,_0x460fa8(0x7e))[_0x460fa8(0xb8)][_0x460fa8(0x94)],_0x128c8e[_0x460fa8(0x6f)]?this[_0x460fa8(0x97)]():''])),this[_0x460fa8(0xbf)]=new _0x335f35(_0x41e49f,_0x247183(_0x41e49f,_0x460fa8(0x70))),this[_0x460fa8(0x7d)]=this[_0x460fa8(0xba)](),this[_0x460fa8(0x7d)][_0x460fa8(0xbb)](this[_0x460fa8(0x99)]()),this[_0x460fa8(0x7a)]=new _0x3120d6(),this[_0x460fa8(0x8d)]=new _0xe686ef(),this[_0x460fa8(0xb3)]=new _0x50468c(),this[_0x460fa8(0x6a)]=new _0x571eb8({'focusables':this[_0x460fa8(0x7a)],'focusTracker':this[_0x460fa8(0x8d)],'keystrokeHandler':this[_0x460fa8(0xb3)],'keystrokeHandlerOptions':{'filter':_0x47294d=>_0x47294d[_0x460fa8(0x7b)]!==this[_0x460fa8(0x96)]},'actions':{'focusPrevious':_0x460fa8(0xab),'focusNext':_0x460fa8(0x95)}});}[_0x72f191(0x71)](){const _0x31bb79=_0x72f191;this[_0x31bb79(0x86)]=!0x1;}[_0x72f191(0xbd)](){const _0x124df2=_0x72f191;this[_0x124df2(0xb9)]||(this[_0x124df2(0x86)]=!0x0);}[_0x72f191(0xaf)](){const _0x173afc=_0x72f191;this[_0x173afc(0x96)][_0x173afc(0xaf)]();}[_0x72f191(0xb7)](){const _0x5b5175=_0x72f191;super[_0x5b5175(0xb7)](),this[_0x5b5175(0x77)]();}async[_0x72f191(0x90)](){const _0x353720=_0x72f191;await this[_0x353720(0x7d)][_0x353720(0x8a)](0x0)[_0x353720(0x90)](),super[_0x353720(0x90)]();}[_0x72f191(0x79)](){const _0x60b776=_0x72f191;this[_0x60b776(0xb9)]||(this[_0x60b776(0xb9)]=!0x0,this[_0x60b776(0x7d)][_0x60b776(0x91)](0x0)[_0x60b776(0x90)](),this[_0x60b776(0x7d)][_0x60b776(0xbb)](this[_0x60b776(0xb2)]()));}[_0x72f191(0x76)](){const _0x21418f=_0x72f191;this[_0x21418f(0xb9)]&&(this[_0x21418f(0xb9)]=!0x1,this[_0x21418f(0x7d)][_0x21418f(0x91)](0x0)[_0x21418f(0x90)](),this[_0x21418f(0x7d)][_0x21418f(0xbb)](this[_0x21418f(0x99)]()));}[_0x72f191(0x97)](){const _0x597b0c=_0x72f191;return _0x597b0c(0x66)===this[_0x597b0c(0x82)][_0x597b0c(0x81)][_0x597b0c(0xa4)][_0x597b0c(0xa2)]?_0x247183(this[_0x597b0c(0xb6)],_0x597b0c(0xa0)):_0x247183(this[_0x597b0c(0xb6)],_0x597b0c(0x92));}[_0x72f191(0x98)](){const _0x4511f3=_0x72f191;return this[_0x4511f3(0x82)][_0x4511f3(0x6f)]?_0x4511f3(0x66)===this[_0x4511f3(0x82)][_0x4511f3(0x81)][_0x4511f3(0xa4)][_0x4511f3(0xa2)]?_0x247183(this[_0x4511f3(0xb6)],_0x4511f3(0x7c),this[_0x4511f3(0x82)][_0x4511f3(0xc0)][_0x4511f3(0x67)]):_0x247183(this[_0x4511f3(0xb6)],_0x4511f3(0x8c),this[_0x4511f3(0x82)][_0x4511f3(0xc0)][_0x4511f3(0x67)]):null;}[_0x72f191(0x99)](){const _0x2237a7=_0x72f191,_0x3d2450=new _0x4af540(this[_0x2237a7(0xb6)]);return _0x3d2450[_0x2237a7(0xa6)](_0x2237a7(0x68))['to'](this[_0x2237a7(0x82)],_0x2237a7(0x68),this,_0x2237a7(0x86),(_0x3547f1,_0x407de3)=>_0x407de3?_0x368163(_0x3547f1,{'limit':this[_0x2237a7(0x9f)][_0x2237a7(0x73)]}):_0x3547f1),_0x3d2450;}[_0x72f191(0xb2)](){const _0x4f4527=_0x72f191;this[_0x4f4527(0x9f)][_0x4f4527(0x6c)]||(this[_0x4f4527(0x9f)][_0x4f4527(0x6c)]={}),this[_0x4f4527(0x9f)][_0x4f4527(0x6c)][_0x4f4527(0x9a)]=this[_0x4f4527(0x82)][_0x4f4527(0x68)];const _0x2cef32=new _0x85c398(this[_0x4f4527(0xb6)],this[_0x4f4527(0x9f)][_0x4f4527(0x6c)]);return _0x2cef32[_0x4f4527(0x6d)]=this[_0x4f4527(0x82)][_0x4f4527(0x68)],_0x2cef32[_0x4f4527(0xa6)](_0x4f4527(0xb5))['to'](this[_0x4f4527(0x82)],_0x4f4527(0x9d)),_0x2cef32[_0x4f4527(0xae)]=_0x247183(this[_0x4f4527(0xb6)],_0x4f4527(0xa1)),_0x2cef32['on'](_0x4f4527(0x72),(_0x2198e3,_0x3c27c7)=>{const _0x3cb05e=_0x4f4527;this[_0x3cb05e(0x7f)](_0x3cb05e(0x6b),this[_0x3cb05e(0x82)]['id'],_0x3c27c7),this[_0x3cb05e(0x76)](),this[_0x3cb05e(0xaf)]();}),_0x2cef32['on'](_0x4f4527(0x9c),()=>{const _0x59e61a=_0x4f4527;this[_0x59e61a(0x76)](),this[_0x59e61a(0xaf)]();}),_0x2cef32[_0x4f4527(0xac)](_0x4f4527(0x75),()=>{const _0x2ec724=_0x4f4527;_0x2cef32[_0x2ec724(0xaf)]();}),_0x2cef32[_0x4f4527(0xb0)](),_0x2cef32[_0x4f4527(0xaa)](_0x4f4527(0x75))['to'](this),_0x2cef32[_0x4f4527(0xaa)](_0x4f4527(0xa3))['to'](this),_0x2cef32;}[_0x72f191(0x77)](){const _0x3e51e9=_0x72f191,_0x446fab=this[_0x3e51e9(0x96)];this[_0x3e51e9(0xb3)][_0x3e51e9(0xa5)](_0x446fab);for(const _0x23f11f of this[_0x3e51e9(0x7a)])this[_0x3e51e9(0x8d)][_0x3e51e9(0xbb)](_0x23f11f[_0x3e51e9(0x96)]),this[_0x3e51e9(0xb3)][_0x3e51e9(0xa5)](_0x23f11f[_0x3e51e9(0x96)]);this[_0x3e51e9(0x7a)]['on'](_0x3e51e9(0xb4),(_0x2a0670,_0x1625d8)=>{const _0x5ec5f6=_0x3e51e9;for(const _0x329ba9 of _0x1625d8[_0x5ec5f6(0xb1)])this[_0x5ec5f6(0x8d)][_0x5ec5f6(0x91)](_0x329ba9[_0x5ec5f6(0x96)]),this[_0x5ec5f6(0xb3)][_0x5ec5f6(0x74)](_0x329ba9[_0x5ec5f6(0x96)]);for(const _0x4e567e of _0x1625d8[_0x5ec5f6(0x88)])this[_0x5ec5f6(0x8d)][_0x5ec5f6(0xbb)](_0x4e567e[_0x5ec5f6(0x96)]),this[_0x5ec5f6(0xb3)][_0x5ec5f6(0xa5)](_0x4e567e[_0x5ec5f6(0x96)]);}),this[_0x3e51e9(0xb3)][_0x3e51e9(0x83)](_0x3e51e9(0x9b),(_0x535f74,_0x359fec)=>{const _0x483baa=_0x3e51e9;_0x446fab===_0x535f74[_0x483baa(0x7b)]&&(this[_0x483baa(0x6a)][_0x483baa(0x89)](),_0x359fec());}),this[_0x3e51e9(0xb3)][_0x3e51e9(0x83)](_0x3e51e9(0x78),(_0x34cb99,_0x54ef49)=>{const _0x2c67b6=_0x3e51e9;_0x446fab!==_0x34cb99[_0x2c67b6(0x7b)]&&(this[_0x2c67b6(0xaf)](),_0x54ef49());});}}
23
+ const _0x12c08c=_0x4b1a;(function(_0x59c372,_0x24de39){const _0x1e8b54=_0x4b1a,_0x51d5a0=_0x59c372();while(!![]){try{const _0x2ed53b=parseInt(_0x1e8b54(0x226))/0x1*(-parseInt(_0x1e8b54(0x24a))/0x2)+-parseInt(_0x1e8b54(0x1f3))/0x3*(parseInt(_0x1e8b54(0x22e))/0x4)+parseInt(_0x1e8b54(0x21d))/0x5*(-parseInt(_0x1e8b54(0x20b))/0x6)+parseInt(_0x1e8b54(0x225))/0x7+parseInt(_0x1e8b54(0x220))/0x8*(parseInt(_0x1e8b54(0x236))/0x9)+parseInt(_0x1e8b54(0x241))/0xa*(-parseInt(_0x1e8b54(0x1fc))/0xb)+parseInt(_0x1e8b54(0x221))/0xc;if(_0x2ed53b===_0x24de39)break;else _0x51d5a0['push'](_0x51d5a0['shift']());}catch(_0x2b8740){_0x51d5a0['push'](_0x51d5a0['shift']());}}}(_0x9e46,0x67dda));import{View as _0x73e687,ViewCollection as _0x18628b,FocusCycler as _0x5884d8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4172fb,KeystrokeHandler as _0x635ffd}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x8ddecd,trimHtml as _0x8958e6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0xe5800e}from'./commentcontentview.js';import{CommentInputView as _0x356ee8}from'./commentinputview.js';function _0x4b1a(_0x1693b1,_0x4f549e){const _0x9e460b=_0x9e46();return _0x4b1a=function(_0x4b1a84,_0xdbfdbe){_0x4b1a84=_0x4b1a84-0x1f1;let _0x44bc13=_0x9e460b[_0x4b1a84];return _0x44bc13;},_0x4b1a(_0x1693b1,_0x4f549e);}import{getTranslation as _0x457c43}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x73e687{[_0x12c08c(0x20f)];[_0x12c08c(0x239)];[_0x12c08c(0x21c)];[_0x12c08c(0x1ff)];[_0x12c08c(0x22a)];[_0x12c08c(0x204)];[_0x12c08c(0x222)];[_0x12c08c(0x1f6)];constructor(_0x484e81,_0x40779f,_0x1cc82e){const _0x2f8aef=_0x12c08c;super(_0x484e81),this[_0x2f8aef(0x222)]=_0x40779f,this[_0x2f8aef(0x1f6)]=_0x1cc82e,this[_0x2f8aef(0x22c)]=!!this[_0x2f8aef(0x1f6)][_0x2f8aef(0x22c)],this[_0x2f8aef(0x21a)](_0x2f8aef(0x244),!0x1),this[_0x2f8aef(0x21a)](_0x2f8aef(0x218),!0x0),this[_0x2f8aef(0x230)](_0x2f8aef(0x23d))['to'](_0x40779f,_0x2f8aef(0x231),_0x40779f,_0x2f8aef(0x24c),(_0x51b8b6,_0x1adeb6)=>_0x457c43(_0x484e81,_0x2f8aef(0x1f2),[_0x40779f[_0x2f8aef(0x1f1)][_0x2f8aef(0x23e)],_0x1cc82e[_0x2f8aef(0x200)](_0x1adeb6),new DOMParser()[_0x2f8aef(0x202)](_0x51b8b6,_0x2f8aef(0x246))[_0x2f8aef(0x210)][_0x2f8aef(0x211)],_0x40779f[_0x2f8aef(0x247)]?this[_0x2f8aef(0x206)]():''])),this[_0x2f8aef(0x239)]=new _0x8ddecd(_0x484e81,_0x457c43(_0x484e81,_0x2f8aef(0x232))),this[_0x2f8aef(0x20f)]=this[_0x2f8aef(0x205)](),this[_0x2f8aef(0x20f)][_0x2f8aef(0x20a)](this[_0x2f8aef(0x245)]()),this[_0x2f8aef(0x21c)]=new _0x18628b(),this[_0x2f8aef(0x1ff)]=new _0x4172fb(),this[_0x2f8aef(0x22a)]=new _0x635ffd(),this[_0x2f8aef(0x204)]=new _0x5884d8({'focusables':this[_0x2f8aef(0x21c)],'focusTracker':this[_0x2f8aef(0x1ff)],'keystrokeHandler':this[_0x2f8aef(0x22a)],'keystrokeHandlerOptions':{'filter':_0x2d8c34=>_0x2d8c34[_0x2f8aef(0x23a)]!==this[_0x2f8aef(0x248)]},'actions':{'focusPrevious':_0x2f8aef(0x1f7),'focusNext':_0x2f8aef(0x22f)}});}[_0x12c08c(0x219)](){const _0x383d2b=_0x12c08c;this[_0x383d2b(0x218)]=!0x1;}[_0x12c08c(0x249)](){const _0x535011=_0x12c08c;this[_0x535011(0x244)]||(this[_0x535011(0x218)]=!0x0);}[_0x12c08c(0x24b)](){const _0x29fdf0=_0x12c08c;this[_0x29fdf0(0x248)][_0x29fdf0(0x24b)]();}[_0x12c08c(0x208)](){const _0x47ccc1=_0x12c08c;super[_0x47ccc1(0x208)](),this[_0x47ccc1(0x235)]();}async[_0x12c08c(0x23b)](){const _0x2319d7=_0x12c08c;await this[_0x2319d7(0x20f)][_0x2319d7(0x20d)](0x0)[_0x2319d7(0x23b)](),super[_0x2319d7(0x23b)]();}[_0x12c08c(0x234)](){const _0xeda4d1=_0x12c08c;this[_0xeda4d1(0x244)]||(this[_0xeda4d1(0x244)]=!0x0,this[_0xeda4d1(0x20f)][_0xeda4d1(0x237)](0x0)[_0xeda4d1(0x23b)](),this[_0xeda4d1(0x20f)][_0xeda4d1(0x20a)](this[_0xeda4d1(0x209)]()));}[_0x12c08c(0x22d)](){const _0x5c55f6=_0x12c08c;this[_0x5c55f6(0x244)]&&(this[_0x5c55f6(0x244)]=!0x1,this[_0x5c55f6(0x20f)][_0x5c55f6(0x237)](0x0)[_0x5c55f6(0x23b)](),this[_0x5c55f6(0x20f)][_0x5c55f6(0x20a)](this[_0x5c55f6(0x245)]()));}[_0x12c08c(0x206)](){const _0x1e47f9=_0x12c08c;return _0x1e47f9(0x217)===this[_0x1e47f9(0x222)][_0x1e47f9(0x20e)][_0x1e47f9(0x24d)][_0x1e47f9(0x20c)]?_0x457c43(this[_0x1e47f9(0x203)],_0x1e47f9(0x215)):_0x457c43(this[_0x1e47f9(0x203)],_0x1e47f9(0x1f5));}[_0x12c08c(0x201)](){const _0x1adcc8=_0x12c08c;return this[_0x1adcc8(0x222)][_0x1adcc8(0x247)]?_0x1adcc8(0x217)===this[_0x1adcc8(0x222)][_0x1adcc8(0x20e)][_0x1adcc8(0x24d)][_0x1adcc8(0x20c)]?_0x457c43(this[_0x1adcc8(0x203)],_0x1adcc8(0x21e),this[_0x1adcc8(0x222)][_0x1adcc8(0x228)][_0x1adcc8(0x23e)]):_0x457c43(this[_0x1adcc8(0x203)],_0x1adcc8(0x207),this[_0x1adcc8(0x222)][_0x1adcc8(0x228)][_0x1adcc8(0x23e)]):null;}[_0x12c08c(0x245)](){const _0x4ad917=_0x12c08c,_0x400023=new _0xe5800e(this[_0x4ad917(0x203)]);return _0x400023[_0x4ad917(0x230)](_0x4ad917(0x231))['to'](this[_0x4ad917(0x222)],_0x4ad917(0x231),this,_0x4ad917(0x218),(_0x5c27dd,_0x47c6f8)=>_0x47c6f8?_0x8958e6(_0x5c27dd,{'limit':this[_0x4ad917(0x1f6)][_0x4ad917(0x224)]}):_0x5c27dd),_0x400023;}[_0x12c08c(0x209)](){const _0x38a510=_0x12c08c;this[_0x38a510(0x1f6)][_0x38a510(0x1f9)]||(this[_0x38a510(0x1f6)][_0x38a510(0x1f9)]={}),this[_0x38a510(0x1f6)][_0x38a510(0x1f9)][_0x38a510(0x238)]=this[_0x38a510(0x222)][_0x38a510(0x231)];const _0x143507=new _0x356ee8(this[_0x38a510(0x203)],this[_0x38a510(0x1f6)][_0x38a510(0x1f9)]);return _0x143507[_0x38a510(0x1fe)]=this[_0x38a510(0x222)][_0x38a510(0x231)],_0x143507[_0x38a510(0x230)](_0x38a510(0x243))['to'](this[_0x38a510(0x222)],_0x38a510(0x213)),_0x143507[_0x38a510(0x1fd)]=_0x457c43(this[_0x38a510(0x203)],_0x38a510(0x1fb)),_0x143507['on'](_0x38a510(0x242),(_0x1d625e,_0x4989b1)=>{const _0x3bc99b=_0x38a510;this[_0x3bc99b(0x227)](_0x3bc99b(0x1f4),this[_0x3bc99b(0x222)]['id'],_0x4989b1),this[_0x3bc99b(0x22d)](),this[_0x3bc99b(0x24b)]();}),_0x143507['on'](_0x38a510(0x21b),()=>{const _0x59e019=_0x38a510;this[_0x59e019(0x22d)](),this[_0x59e019(0x24b)]();}),_0x143507[_0x38a510(0x23c)](_0x38a510(0x216),()=>{const _0x110265=_0x38a510;_0x143507[_0x110265(0x24b)]();}),_0x143507[_0x38a510(0x22b)](),_0x143507[_0x38a510(0x212)](_0x38a510(0x216))['to'](this),_0x143507[_0x38a510(0x212)](_0x38a510(0x1f8))['to'](this),_0x143507;}[_0x12c08c(0x235)](){const _0x1c6ff9=_0x12c08c,_0x56e49e=this[_0x1c6ff9(0x248)];this[_0x1c6ff9(0x22a)][_0x1c6ff9(0x1fa)](_0x56e49e);for(const _0x2c1eba of this[_0x1c6ff9(0x21c)])this[_0x1c6ff9(0x1ff)][_0x1c6ff9(0x20a)](_0x2c1eba[_0x1c6ff9(0x248)]),this[_0x1c6ff9(0x22a)][_0x1c6ff9(0x1fa)](_0x2c1eba[_0x1c6ff9(0x248)]);this[_0x1c6ff9(0x21c)]['on'](_0x1c6ff9(0x23f),(_0x1b798f,_0x48a371)=>{const _0x5ac9bc=_0x1c6ff9;for(const _0x104246 of _0x48a371[_0x5ac9bc(0x233)])this[_0x5ac9bc(0x1ff)][_0x5ac9bc(0x237)](_0x104246[_0x5ac9bc(0x248)]),this[_0x5ac9bc(0x22a)][_0x5ac9bc(0x229)](_0x104246[_0x5ac9bc(0x248)]);for(const _0x52ba64 of _0x48a371[_0x5ac9bc(0x214)])this[_0x5ac9bc(0x1ff)][_0x5ac9bc(0x20a)](_0x52ba64[_0x5ac9bc(0x248)]),this[_0x5ac9bc(0x22a)][_0x5ac9bc(0x1fa)](_0x52ba64[_0x5ac9bc(0x248)]);}),this[_0x1c6ff9(0x22a)][_0x1c6ff9(0x21a)](_0x1c6ff9(0x223),(_0x3fa6db,_0x2b0742)=>{const _0x2a1ef1=_0x1c6ff9;_0x56e49e===_0x3fa6db[_0x2a1ef1(0x23a)]&&(this[_0x2a1ef1(0x204)][_0x2a1ef1(0x240)](),_0x2b0742());}),this[_0x1c6ff9(0x22a)][_0x1c6ff9(0x21a)](_0x1c6ff9(0x21f),(_0x16c064,_0x3a9e16)=>{const _0x2dbb30=_0x1c6ff9;_0x56e49e!==_0x16c064[_0x2dbb30(0x23a)]&&(this[_0x2dbb30(0x24b)](),_0x3a9e16());});}}function _0x9e46(){const _0x2ac711=['remove','initialData','ariaDescriptionView','target','destroy','once','ariaLabel','name','change','focusFirst','30trkKvT','submit','disabledSubmit','isEditMode','_createCommentContentView','text/html','isExternal','element','collapse','2qeOxzF','focus','authoredAt','@external','author','COMMENT_ARIA_LABEL','3JapZFe','updateComment','EXTERNAL_COMMENT','_config','shift+tab','editorDestroyed','editorConfig','listenTo','Save','2342681dgttKE','submitLabel','value','focusTracker','formatDateTime','getUserViewNotificationText','parseFromString','locale','focusCycler','createCollection','getExternalCommentNote','EXTERNAL_AVATAR','render','_createCommentInputView','add','10380UUGVKX','source','get','attributes','visibleView','body','textContent','delegate','isReadOnly','added','EXTERNAL_IMPORT_WORD_COMMENT','editorReady','importWord','isCollapsed','expand','set','cancel','focusables','695KxCRGg','EXTERNAL_IMPORT_WORD_AVATAR','esc','2709168mgYYUj','15568176QppRyI','_model','enter','maxCommentCharsWhenCollapsed','1158479GdwSwR','10883VANRRa','fire','creator','stopListening','keystrokes','createEditor','isSystemComment','switchToDisplayMode','3297748GPnDVu','tab','bind','content','COMMENT_THREAD_DESCRIPTION','removed','switchToEditMode','_setupKeyboardNavigation','18rKJBgF'];_0x9e46=function(){return _0x2ac711;};return _0x9e46();}