@ckeditor/ckeditor5-comments 47.4.0-alpha.2 → 47.4.0-alpha.3

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 _0x288c6c=_0x1fcd;(function(_0x43ebcf,_0x157cca){const _0x26d91a=_0x1fcd,_0x4539ba=_0x43ebcf();while(!![]){try{const _0x5959da=parseInt(_0x26d91a(0x10d))/0x1*(-parseInt(_0x26d91a(0x17f))/0x2)+-parseInt(_0x26d91a(0x101))/0x3*(parseInt(_0x26d91a(0x19e))/0x4)+parseInt(_0x26d91a(0x153))/0x5+parseInt(_0x26d91a(0x181))/0x6*(-parseInt(_0x26d91a(0x1b8))/0x7)+parseInt(_0x26d91a(0x134))/0x8+-parseInt(_0x26d91a(0xef))/0x9+parseInt(_0x26d91a(0x15e))/0xa;if(_0x5959da===_0x157cca)break;else _0x4539ba['push'](_0x4539ba['shift']());}catch(_0x582d21){_0x4539ba['push'](_0x4539ba['shift']());}}}(_0x105d,0x608d1));import{PendingActions as _0x1b3b22,ContextPlugin as _0x41df4c,Editor as _0x3b1a9e}from'ckeditor5/src/core.js';import{Collection as _0x8eb16,uid as _0x1f4272,CKEditorError as _0x472333,ObservableMixin as _0x14a791}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x4258ec,hashObject as _0x3b7629,Users as _0x53c330}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x57deb3,isEqual as _0x26df7c,set as _0x3284d2,unset as _0x553486}from'es-toolkit/compat';import{CommentThreadController as _0x1d2941}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0xc4610e}from'./ui/view/commentthreadview.js';import{CommentView as _0x37b809}from'./ui/view/commentview.js';import{getTranslation as _0x3012e}from'../utils/common-translations.js';function _0x105d(){const _0x49ccfa=['commentsrepository-add-comment-to-missing-comment-thread','addComment','type','isFromAdapter','channelId','fetchCommentThread','_add','editorDestroyed','_getExternalAuthor','setContext','commentsrepository-remove-comment-internal-error','submitCommentThread','createCommentThreadController','set','_remove','_attachCommentThread','activate','reopenCommentThread','admin','weight','reopen','getByInnerView','CommentView','innerHTML','resolve','comments.CommentView','commentsrepository-update-comment-internal-error','addUser','switchReadOnly','threadId','3143500YtEWYR','fire','commentUpdated','commentsrepository-invalid-commentid','commentsrepository-active-missing-comment-thread','commentsrepository-active-not-attached','isRemovable','modifyAll','model','isOfficialPlugin','get','4216550heHtaz','listenTo','comment','isActive','init','archivedAt','getComment','warn','commentThreadInputView','isResolved','filter','from','focus','push','requires','values','comments.copyMarkers','author','commentsrepository-update-missing-comment','_hasTargetInContent','context','commentsrepository-remove-missing-comment-thread','licenseKey','_updateComment','comments.maxThreadTotalWeight','_updateCommentThread','has','getPermissions','commentsrepository-add-comment-user-not-exists','delete','resolveCommentThread','setAttribute','commentsrepository-remove-comment-missing-comment-thread','122CSwDhC','noChannel','2154iNORCd','change:_permissions','resolvedBy','focusableElements','commentsrepository-missing-comment-thread','CommentThreadView','max','CommentsRepository','_permissions','_viewToController','_createCommentThreadView','_findOptimalIndex','removeCommentThread','lowest','commentsrepository-remove-comment-thread-internal-error','commentsrepository-invalid-comment-content','comments.maxCommentCharsWhenCollapsed','comments.editorConfig','commentsrepository-duplicated-comment-thread-id','attachTo','unlinkedAt','isVisible','getUser','commentsrepository-reopen-comment-thread-internal-error','destroy','setActiveCommentThread','_removeComment','then','comments.maxCommentsWhenCollapsed','1956sfmRNl','getTime','escape','adapter','_isSubmitted','hasCommentThread','commentsrepository-add-comment-internal-error','commentsrepository-reopen-comment-thread','isExternal','addCommentThread','config','creator','@external','commentsrepository-missing-target','commentsrepository-attach-missing-comment-thread','_isAttached','bind','PENDING_ACTION_COMMENT_THREAD','_addComment','commentsrepository-resolved-comment-thread','getIndex','removeComment','submit','innerView','assign','reduce','12831OQZnCa','commentsListView','_update','change:_readOnlyChannels','updateComment','_detachCommentThread','toJSON','length','deactivateAll','commentsrepository-remove-missing-comment','remove','activeCommentThread','trim','commentsrepository-add-comment-thread-internal-error','_submitCommentThread','isSubmitted','stopListening','external:','comments.CommentThreadView','map','content','_repository','isReadOnly','commentsrepository-missing-thread-and-adapter-method','authoredAt','_threadToController','function','_unbindEditors','isPremiumPlugin','getCommentThreadForAnnotation','editorReady','747360UQIPdW','add','find','commentsrepository-update-comment-missing-comment-thread','once','update','_removeActiveAnnotation','setPermissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-fetch-comment-thread','div','change:activeAnnotations','_addCommentThread','_reopenCommentThread','attributes','body','focusTracker','comments','1269kYIHVd','canComment','commentId','error','commentsrepository-adapter-already-set','commentsrepository-resolve-comment-thread-internal-error','PendingActions','locale','createElement','isEditable','_bindAnnotationToEditors','bodyCollectionContainer','6015IvdXtP','_createNewComment','refreshVisibility','_resolveCommentThread','catch','isAttached','define','_removeCommentThread','isDirty','commentsrepository-update-comment-thread-internal-error','highest','write','createdAt','isResolvable','_readOnlyChannels','commentsrepository-get-comment-invalid-id','textContent','updateCommentThread','_updateActiveAnnotation','openNewCommentThread','commentsrepository-update-comment-invalid-content','change:authoredAt','resolvedAt','getAnnotationForCommentThread','removeAttribute','plugins','commentsrepository-invalid-comment-thread-id','_adapter','setUnlinkedAt','getCommentThread','string','view','_threads','getCommentThreads','commentInputView','authorName','pluginName','change:isDirty','commentsrepository-invalid-comment-authorid','5279736LnwUWr'];_0x105d=function(){return _0x49ccfa;};return _0x105d();}import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4827ce}from'../annotations/view/annotationview.js';import{Annotation as _0xaa633a}from'../annotations/annotation.js';import{Annotations as _0x5da520}from'../annotations/annotations.js';const _t=Symbol(_0x288c6c(0x180)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x41df4c{[_0x288c6c(0x12d)];[_0x288c6c(0xe9)];[_0x288c6c(0x18a)];static get[_0x288c6c(0x16c)](){return[_0x5da520,_0x1b3b22,_0x53c330];}static get[_0x288c6c(0x131)](){const _0x33d21a=_0x288c6c;return _0x33d21a(0x188);}static get[_0x288c6c(0x15c)](){return!0x0;}static get[_0x288c6c(0xec)](){return!0x0;}constructor(_0x31d39c){const _0x26e5f8=_0x288c6c;super(_0x31d39c),this[_0x26e5f8(0x12d)]=new Map(),this[_0x26e5f8(0xe9)]=new Map(),this[_0x26e5f8(0x18a)]=new Map(),this[_0x26e5f8(0x142)](_0x26e5f8(0x11b),new Set()),this[_0x26e5f8(0x142)](_0x26e5f8(0x189),new Map());const _0x19d728=this[_0x26e5f8(0x172)][_0x26e5f8(0x1a8)];_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x19d),0x2),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x176),0x1f4),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x191),0x8c),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0xe2),_0xc4610e),_0x19d728[_0x26e5f8(0x113)](_0x26e5f8(0x14e),_0x37b809),_0x19d728[_0x26e5f8(0x15d)](_0x26e5f8(0x192))||console[_0x26e5f8(0x165)](_0x26e5f8(0xf7));}[_0x288c6c(0x162)](){const _0x2d9287=_0x288c6c,_0x6262fa=this[_0x2d9287(0x172)][_0x2d9287(0x126)][_0x2d9287(0x15d)](_0x5da520);this[_0x2d9287(0x142)](_0x2d9287(0x1c3),null),this['on'](_0x2d9287(0x1a7),(_0x5b6d4a,_0x2d13bf)=>this[_0x2d9287(0xfb)](_0x2d13bf)),this['on'](_0x2d9287(0x140),(_0x30723e,_0x129d20)=>this[_0x2d9287(0xde)](_0x129d20)),this['on'](_0x2d9287(0x17c),(_0x10b7a4,_0x46b60)=>this[_0x2d9287(0x110)](_0x46b60)),this['on'](_0x2d9287(0x17c),(_0x223964,_0x226429)=>this[_0x2d9287(0x11f)](_0x226429),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x146),(_0x1da0bd,_0x407e96)=>this[_0x2d9287(0xfc)](_0x407e96)),this['on'](_0x2d9287(0x146),(_0x2ceb74,_0x166531)=>this[_0x2d9287(0x11f)](_0x166531),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x18d),(_0x334c71,_0x48dffa)=>this[_0x2d9287(0x114)](_0x48dffa)),this['on'](_0x2d9287(0x11e),(_0x565aa2,_0x94d5a7)=>this[_0x2d9287(0x177)](_0x94d5a7)),this['on'](_0x2d9287(0x11e),(_0x36e44d,_0x2ba3f2)=>this[_0x2d9287(0x11f)](_0x2ba3f2),{'priority':_0x2d9287(0x18e)}),this['on'](_0x2d9287(0x136),(_0x11f849,_0x4cacd4)=>this[_0x2d9287(0x1b0)](_0x4cacd4)),this['on'](_0x2d9287(0x1bc),(_0x30ca76,_0x319ab6)=>this[_0x2d9287(0x175)](_0x319ab6)),this['on'](_0x2d9287(0x1b3),(_0x429aa9,_0x4a1a39)=>this[_0x2d9287(0x19b)](_0x4a1a39)),this['on'](_0x2d9287(0x136),(_0x26a073,{threadId:_0x189965,isFromAdapter:_0x2cb940})=>{const _0x156036=_0x2d9287;if(_0x2cb940)return;const _0x1deaff=this[_0x156036(0x12a)](_0x189965),_0x527307=_0x1deaff&&this[_0x156036(0xe9)][_0x156036(0x15d)](_0x1deaff);_0x527307&&_0x527307[_0x156036(0x12c)][_0x156036(0x1b9)][_0x156036(0x16a)](-0x1);},{'priority':_0x2d9287(0x18e)}),this[_0x2d9287(0x15f)](_0x6262fa,_0x2d9287(0xfa),(_0x173964,_0x587edc,_0x92ce3b)=>{const _0x1f0c3a=_0x2d9287,_0x47d1cb=Array[_0x1f0c3a(0x169)](_0x92ce3b)[_0x1f0c3a(0xe3)](_0x5107b6=>this[_0x1f0c3a(0x18a)][_0x1f0c3a(0x15d)](_0x5107b6[_0x1f0c3a(0x1b5)]))[_0x1f0c3a(0x168)](Boolean)[0x0];this[_0x1f0c3a(0x1c3)]=_0x47d1cb?_0x47d1cb[_0x1f0c3a(0x15b)]:null;});}set[_0x288c6c(0x1a1)](_0x3c1cb0){const _0x539681=_0x288c6c;if(this[_0x539681(0x128)])throw new _0x472333(_0x539681(0x105));this[_0x539681(0x128)]=_0x3c1cb0;}get[_0x288c6c(0x1a1)](){const _0x503eb9=_0x288c6c;return this[_0x503eb9(0x128)];}[_0x288c6c(0x1a7)]({channelId:_0x176132=_t,threadId:_0x128a14=_0x1f4272(),comments:_0x4f3916=[],unlinkedAt:_0x26b34d=null,resolvedAt:_0x1cb2b4=null,resolvedBy:_0x3f4ee8=null,target:_0x378b7b=null,context:_0x3aab2f=null,attributes:_0x1fd186={},isResolvable:_0x407aa5=!0x0,isSubmitted:_0x375c71=!0x1,isFromAdapter:_0x280180=!0x1}={}){const _0x479c8e=_0x288c6c;return this[_0x479c8e(0x154)](Nt(_0x479c8e(0x1a7),_0x176132),{'channelId':_0x176132,'threadId':_0x128a14,'comments':_0x4f3916,'unlinkedAt':_0x26b34d,'resolvedAt':_0x1cb2b4,'resolvedBy':_0x3f4ee8,'target':_0x378b7b,'context':_0x3aab2f,'attributes':_0x1fd186,'isFromAdapter':_0x280180,'isResolvable':_0x407aa5,'isSubmitted':_0x375c71}),this[_0x479c8e(0x12a)](_0x128a14);}[_0x288c6c(0x120)]({channelId:_0x48e1fa=_t,threadId:_0x1af3e0=_0x1f4272(),target:_0x460e70,context:_0x2938bc=null,isResolvable:_0x4c566c=!0x0}){const _0x54da4f=_0x288c6c;if(this[_0x54da4f(0x11b)][_0x54da4f(0x178)](_0x48e1fa)||this[_0x54da4f(0x11b)][_0x54da4f(0x178)](void 0x0))return null;if(!_0x460e70)throw new _0x472333(_0x54da4f(0x1ab));const _0x2976db=this[_0x54da4f(0x1a7)]({'channelId':_0x48e1fa,'threadId':_0x1af3e0,'target':_0x460e70,'context':_0x2938bc,'isResolvable':_0x4c566c});if(!_0x2976db)return null;const _0xb81c07=this[_0x54da4f(0xe9)][_0x54da4f(0x15d)](_0x2976db),_0xd2de76=_0xb81c07[_0x54da4f(0x12c)][_0x54da4f(0x166)][_0x54da4f(0x12f)],_0x25b157=this[_0x54da4f(0x172)][_0x54da4f(0x126)][_0x54da4f(0x15d)](_0x5da520),_0x25de93=_0x25b157[_0x54da4f(0x14a)](_0xb81c07[_0x54da4f(0x12c)]);return _0x25b157[_0x54da4f(0x145)](_0x25de93),_0xd2de76[_0x54da4f(0xf3)](_0x54da4f(0xee),()=>_0xd2de76[_0x54da4f(0x16a)]()),_0x2976db;}[_0x288c6c(0x1a3)](_0x16a0b2){const _0x4a4746=_0x288c6c;if(_0x4a4746(0x12b)!=typeof _0x16a0b2)throw new _0x472333(_0x4a4746(0x127));return this[_0x4a4746(0x12d)][_0x4a4746(0x178)](_0x16a0b2);}[_0x288c6c(0x11e)]({channelId:_0xff3bb6=_t,threadId:_0x242f5a,context:_0x1dc31a,unlinkedAt:_0x5dfba9,attributes:_0x248669,isFromAdapter:_0x2b99f9=!0x1}){const _0x2d9c61=_0x288c6c;return this[_0x2d9c61(0x154)](Nt(_0x2d9c61(0x11e),_0xff3bb6),{'channelId':_0xff3bb6,'threadId':_0x242f5a,'context':_0x1dc31a,'unlinkedAt':_0x5dfba9,'attributes':_0x248669,'isFromAdapter':_0x2b99f9}),this[_0x2d9c61(0x12a)](_0x242f5a);}[_0x288c6c(0x12a)](_0x2f2f3e){const _0x266717=_0x288c6c;if(_0x266717(0x12b)!=typeof _0x2f2f3e)throw new _0x472333(_0x266717(0x127));return this[_0x266717(0x12d)][_0x266717(0x15d)](_0x2f2f3e);}[_0x288c6c(0x13a)]({channelId:_0x4527bf,threadId:_0x22e3c6}={}){const _0x3c01a1=_0x288c6c,_0x5b7c03=this[_0x3c01a1(0x12a)](_0x22e3c6);if(_0x5b7c03)return Promise[_0x3c01a1(0x14d)](_0x5b7c03);if(!this[_0x3c01a1(0x1a1)])return Promise[_0x3c01a1(0x14d)](void 0x0);if(_0x3c01a1(0xea)!=typeof this[_0x3c01a1(0x1a1)][_0x3c01a1(0x12a)])throw new _0x472333(_0x3c01a1(0xe7),this[_0x3c01a1(0x172)]);return this[_0x3c01a1(0x1a1)][_0x3c01a1(0x12a)]({'channelId':_0x4527bf,'threadId':_0x22e3c6})[_0x3c01a1(0x19c)](_0x53a337=>this[_0x3c01a1(0x1a3)](_0x22e3c6)?this[_0x3c01a1(0x12a)](_0x22e3c6):_0x53a337?this[_0x3c01a1(0x1a7)](Object[_0x3c01a1(0x1b6)]({'isFromAdapter':!0x0,'channelId':_0x4527bf},_0x53a337)):void 0x0)[_0x3c01a1(0x111)](_0x1c6c85=>{const _0x80e82=_0x3c01a1;throw console[_0x80e82(0x104)](_0x1c6c85),new _0x472333(_0x80e82(0xf8),this[_0x80e82(0x172)]);});}[_0x288c6c(0x12e)]({channelId:_0x10cc55,skipNotAttached:_0x57d438=!0x1,skipEmpty:_0x2a9b69=!0x1,toJSON:_0x3c9827=!0x1}={}){const _0xc9fee6=_0x288c6c,_0x4e0eb5=[];for(const _0x111230 of this[_0xc9fee6(0x12d)][_0xc9fee6(0x16d)]())_0x10cc55&&_0x111230[_0xc9fee6(0x139)]!==_0x10cc55||_0x57d438&&!_0x111230[_0xc9fee6(0x112)]||_0x2a9b69&&0x0===_0x111230[_0xc9fee6(0x1bf)]||_0x4e0eb5[_0xc9fee6(0x16b)](_0x111230);return _0x3c9827?_0x4e0eb5[_0xc9fee6(0xe3)](_0x2c4cba=>_0x2c4cba[_0xc9fee6(0x1be)]()):_0x4e0eb5;}[_0x288c6c(0x124)](_0x168d9f){const _0x2cd29e=_0x288c6c,_0x4a4a88=this[_0x2cd29e(0xe9)][_0x2cd29e(0x15d)](_0x168d9f);if(!_0x4a4a88)return null;return this[_0x2cd29e(0x172)][_0x2cd29e(0x126)][_0x2cd29e(0x15d)](_0x5da520)[_0x2cd29e(0x14a)](_0x4a4a88[_0x2cd29e(0x12c)])||null;}[_0x288c6c(0xed)](_0x36ef2b){const _0x2eb8b1=_0x288c6c,_0x29d0d0=this[_0x2eb8b1(0x18a)][_0x2eb8b1(0x15d)](_0x36ef2b[_0x2eb8b1(0x1b5)]);return _0x29d0d0?_0x29d0d0[_0x2eb8b1(0x15b)]:null;}[_0x288c6c(0x19a)](_0x33a088){const _0x59c7e4=_0x288c6c,_0x146a47=this[_0x59c7e4(0x172)][_0x59c7e4(0x126)][_0x59c7e4(0x15d)](_0x5da520);if(!_0x33a088)return void(this[_0x59c7e4(0x1c3)]&&_0x146a47[_0x59c7e4(0x1c0)]());const _0x3353c1=this[_0x59c7e4(0x12a)](_0x33a088);if(!_0x3353c1)throw new _0x472333(_0x59c7e4(0x157),null,{'threadId':_0x33a088});if(!this[_0x59c7e4(0xe9)][_0x59c7e4(0x178)](_0x3353c1))throw new _0x472333(_0x59c7e4(0x158),null,{'threadId':_0x33a088});const _0x3de4d1=_0x146a47[_0x59c7e4(0x14a)](this[_0x59c7e4(0xe9)][_0x59c7e4(0x15d)](_0x3353c1)[_0x59c7e4(0x12c)]);_0x146a47[_0x59c7e4(0x145)](_0x3de4d1);}[_0x288c6c(0x151)](_0xd603a6,_0x2060c0){const _0x2c21c4=_0x288c6c;_0xd603a6?this[_0x2c21c4(0x11b)][_0x2c21c4(0xf0)](_0x2060c0):this[_0x2c21c4(0x11b)][_0x2c21c4(0x17b)](_0x2060c0),this[_0x2c21c4(0x154)](_0x2c21c4(0x1bb),_0x2c21c4(0x11b),this[_0x2c21c4(0x11b)],this[_0x2c21c4(0x11b)]);}[_0x288c6c(0xe6)](_0x2328fd){const _0x96746=_0x288c6c;return this[_0x96746(0x11b)][_0x96746(0x178)](_0x2328fd)||this[_0x96746(0x11b)][_0x96746(0x178)](void 0x0);}[_0x288c6c(0x141)](_0x859c16,_0x222431){return new _0x1d2941(_0x859c16,_0x222431);}[_0x288c6c(0xf6)](_0x4e525a,_0x17cef1=_t){const _0x314914=_0x288c6c;this[_0x314914(0x189)][_0x314914(0x142)](_0x17cef1,_0x4e525a),this[_0x314914(0x154)](_0x314914(0x182),_0x314914(0x189),this[_0x314914(0x189)],this[_0x314914(0x189)]);}[_0x288c6c(0x179)](_0x279b2e=_t){const _0x480ee4=_0x288c6c;return this[_0x480ee4(0x189)][_0x480ee4(0x178)](_0x279b2e)?this[_0x480ee4(0x189)][_0x480ee4(0x15d)](_0x279b2e):bt;}[_0x288c6c(0xfb)]({channelId:_0x1156b,threadId:_0x220989,comments:_0x4b49fa,unlinkedAt:_0x480b6e,resolvedAt:_0x4b0887,resolvedBy:_0xef2877,target:_0x247f4b,context:_0x5aab89,attributes:_0x2a1e7f,isFromAdapter:_0x49c927,isResolvable:_0x2f7842,isSubmitted:_0x20796d}){const _0x59f35b=_0x288c6c;if(_0x59f35b(0x12b)!=typeof _0x220989)throw new _0x472333(_0x59f35b(0x127),null,{'threadId':_0x220989});if(this[_0x59f35b(0x1a3)](_0x220989))throw new _0x472333(_0x59f35b(0x193),null,{'threadId':_0x220989});const _0x2302cd=new CommentThread(this,{'channelId':_0x1156b,'id':_0x220989,'context':_0x5aab89,'attributes':_0x2a1e7f,'unlinkedAt':_0x480b6e,'resolvedAt':_0x4b0887,'resolvedBy':_0xef2877?this[_0x59f35b(0x172)][_0x59f35b(0x126)][_0x59f35b(0x15d)](_0x53c330)[_0x59f35b(0x197)](_0xef2877):null,'isResolvable':_0x2f7842,'isSubmitted':_0x20796d||_0x49c927});this[_0x59f35b(0x12d)][_0x59f35b(0x142)](_0x220989,_0x2302cd);for(const _0xbd0fe2 of _0x4b49fa)_0x2302cd[_0x59f35b(0x13b)](this[_0x59f35b(0x10e)]({'threadId':_0x220989,..._0xbd0fe2}));return _0x247f4b&&_0x2302cd[_0x59f35b(0x194)](_0x247f4b),_0x49c927||!_0x2302cd[_0x59f35b(0x1bf)]?Promise[_0x59f35b(0x14d)]():this[_0x59f35b(0xde)]({'channelId':_0x1156b,'threadId':_0x220989});}[_0x288c6c(0xde)]({channelId:_0x41068e,threadId:_0x264d04}){const _0x115833=_0x288c6c;if(!this[_0x115833(0x1a3)](_0x264d04))throw new _0x472333(_0x115833(0x185),this);const _0x249d2d=this[_0x115833(0x12a)](_0x264d04);if(_0x249d2d[_0x115833(0x1a2)]=!0x0,!this[_0x115833(0x1a1)]||_0x115833(0xea)!=typeof this[_0x115833(0x1a1)][_0x115833(0x1a7)])return Promise[_0x115833(0x14d)]();const {id:_0x56a65c,comments:_0x594357,resolvedAt:_0x2e3556,resolvedBy:_0x33de56,context:_0x9bf4f,attributes:_0x3db223}=_0x249d2d,_0x5798a7=this[_0x115833(0x172)][_0x115833(0x126)][_0x115833(0x15d)](_0x115833(0x107)),_0x17ae42=_0x5798a7[_0x115833(0xf0)](_0x3012e(this[_0x115833(0x172)][_0x115833(0x108)],_0x115833(0x1af)));return this[_0x115833(0x1a1)][_0x115833(0x1a7)]({'channelId':_0x41068e,'threadId':_0x56a65c,'comments':_0x594357[_0x115833(0xe3)](_0x323dc8=>_0x323dc8[_0x115833(0x1be)]()),'resolvedAt':_0x2e3556,'resolvedBy':_0x33de56?_0x33de56['id']:_0x33de56,'context':_0x9bf4f,'attributes':_0x3db223})[_0x115833(0x19c)](({comments:_0x2bfec0})=>{const _0x4ae176=_0x115833;_0x5798a7[_0x4ae176(0x1c2)](_0x17ae42);for(const _0x48407f of _0x2bfec0)this[_0x4ae176(0x175)]({'channelId':_0x41068e,'threadId':_0x264d04,'commentId':_0x48407f[_0x4ae176(0x103)],'createdAt':_0x48407f[_0x4ae176(0x119)],'isFromAdapter':!0x0});})[_0x115833(0x111)](_0x4c14b2=>{const _0x2c4746=_0x115833;throw console[_0x2c4746(0x104)](_0x4c14b2),new _0x472333(_0x2c4746(0xdd),this);});}[_0x288c6c(0x144)]({threadId:_0x25826c,target:_0x41f9bf}){const _0x2107ca=_0x288c6c,_0x5c62ad=this[_0x2107ca(0x12a)](_0x25826c);if(!_0x5c62ad)throw new _0x472333(_0x2107ca(0x1ac),this);const _0x5ec221=this[_0x2107ca(0x172)][_0x2107ca(0x126)][_0x2107ca(0x15d)](_0x2107ca(0x107)),_0x2e4326=this[_0x2107ca(0x172)][_0x2107ca(0x126)][_0x2107ca(0x15d)](_0x5da520),_0x40d64c=this[_0x2107ca(0x18b)](_0x5c62ad),_0x32e72a=new _0x1d2941(_0x5c62ad,_0x40d64c);let _0x4da1d7=null;_0x40d64c['on'](_0x2107ca(0x132),(_0x1fd4e5,_0x35231a,_0xa06961)=>{const _0x41102b=_0x2107ca;_0xa06961?_0x4da1d7=_0x5ec221[_0x41102b(0xf0)](_0x3012e(this[_0x41102b(0x172)][_0x41102b(0x108)],_0x41102b(0x1af))):_0x4da1d7&&(_0x5ec221[_0x41102b(0x1c2)](_0x4da1d7),_0x4da1d7=null);}),this[_0x2107ca(0xe9)][_0x2107ca(0x142)](_0x5c62ad,_0x32e72a),this[_0x2107ca(0x18a)][_0x2107ca(0x142)](_0x40d64c,_0x32e72a);const _0x275c0a=new _0x4827ce(this[_0x2107ca(0x172)][_0x2107ca(0x108)],_0x40d64c);_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x1bf))['to'](_0x40d64c),_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x115))['to'](_0x40d64c,_0x2107ca(0x115),_0x40d64c,_0x2107ca(0x1bf),(_0x18ae82,_0x37965f)=>_0x18ae82||!_0x37965f),_0x275c0a[_0x2107ca(0x1ae)](_0x2107ca(0x161))['to'](_0x40d64c),_0x275c0a[_0x2107ca(0x137)]=_0x2107ca(0x160);const _0x116623=new _0xaa633a({'view':_0x275c0a,'target':_0x41f9bf,'type':_0x2107ca(0x160),'isVisible':!_0x5c62ad[_0x2107ca(0x163)]&&!!(_0x2107ca(0xea)==typeof _0x41f9bf?_0x41f9bf():_0x41f9bf)});return _0x40d64c['on'](_0x2107ca(0x1a0),()=>{const _0x4de535=_0x2107ca;_0x116623[_0x4de535(0x154)](_0x4de535(0x1a0));}),this[_0x2107ca(0x10b)](_0x40d64c,_0x116623),_0x2e4326[_0x2107ca(0xf0)](_0x116623),_0x116623;}[_0x288c6c(0x10b)](_0x5b8df4,_0x6f213c){const _0x534047=_0x288c6c;this[_0x534047(0x15f)](_0x5b8df4,_0x534047(0xee),(_0x58218a,_0x3c6f12)=>{const _0x526c9b=_0x534047,_0x239aec=_0x3c6f12['ui'][_0x526c9b(0x12c)][_0x526c9b(0xfe)][_0x526c9b(0x10c)];_0x6f213c[_0x526c9b(0x184)][_0x526c9b(0xf0)](_0x239aec),this[_0x526c9b(0x172)]instanceof _0x3b1a9e&&this[_0x526c9b(0x172)]['ui'][_0x526c9b(0xff)][_0x526c9b(0xf0)](_0x239aec);},{'priority':_0x534047(0x117)}),this[_0x534047(0x15f)](_0x5b8df4,_0x534047(0x13c),(_0x133f95,_0x28c285)=>{const _0x58aee9=_0x534047,_0x30c493=_0x28c285['ui'][_0x58aee9(0x12c)][_0x58aee9(0xfe)][_0x58aee9(0x10c)];_0x6f213c[_0x58aee9(0x184)][_0x58aee9(0x178)](_0x30c493)&&_0x6f213c[_0x58aee9(0x184)][_0x58aee9(0x1c2)](_0x30c493),this[_0x58aee9(0x172)]instanceof _0x3b1a9e&&this[_0x58aee9(0x172)]['ui'][_0x58aee9(0xff)][_0x58aee9(0x1c2)](_0x30c493);});}[_0x288c6c(0xeb)](_0x3c1d3c){const _0x273ee0=_0x288c6c;this[_0x273ee0(0xe0)](_0x3c1d3c,_0x273ee0(0xee)),this[_0x273ee0(0xe0)](_0x3c1d3c,_0x273ee0(0x13c));}[_0x288c6c(0x18b)](_0x51a396){const _0x5abb5c=_0x288c6c,_0x16ddf8=this[_0x5abb5c(0x172)][_0x5abb5c(0x126)][_0x5abb5c(0x15d)](_0x53c330),{config:_0x11352c,locale:_0x2acc8d}=this[_0x5abb5c(0x172)],_0x234d07=_0x4258ec(_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x108)),_0x2acc8d);return new(0x0,(_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x100)))[(_0x5abb5c(0x186))])(_0x2acc8d,_0x51a396,_0x16ddf8['me'],{'editorConfig':{..._0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x192)),'licenseKey':this[_0x5abb5c(0x172)][_0x5abb5c(0x1a8)][_0x5abb5c(0x15d)](_0x5abb5c(0x174))},'copyMarkers':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x16e)),'maxCommentsWhenCollapsed':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x19d)),'maxThreadTotalWeight':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x176)),'maxCommentCharsWhenCollapsed':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x191)),'formatDateTime':_0x234d07,'CommentView':_0x11352c[_0x5abb5c(0x15d)](_0x5abb5c(0x100))[_0x5abb5c(0x14b)]});}[_0x288c6c(0x110)]({threadId:_0x4a2267,channelId:_0x412c9e,resolvedAt:_0x41b2d8,resolvedBy:_0xb48a40,isFromAdapter:_0x2944e3}){const _0x58aa6f=_0x288c6c;if(!this[_0x58aa6f(0x1a3)](_0x4a2267))throw new _0x472333(_0x58aa6f(0x185),null,{'threadId':_0x4a2267});const _0x33d285=this[_0x58aa6f(0x12a)](_0x4a2267);if(_0x33d285[_0x58aa6f(0x167)])throw new _0x472333(_0x58aa6f(0x1b1),null,{'threadId':_0x4a2267});const _0x2bbbd6=this[_0x58aa6f(0x172)][_0x58aa6f(0x126)][_0x58aa6f(0x15d)](_0x53c330);if(_0x33d285[_0x58aa6f(0x183)]=_0x2bbbd6[_0x58aa6f(0x197)](_0xb48a40),_0x33d285[_0x58aa6f(0x123)]=_0x41b2d8,_0x2944e3||!this[_0x58aa6f(0x1a1)]||_0x58aa6f(0xea)!=typeof this[_0x58aa6f(0x1a1)][_0x58aa6f(0x17c)])return Promise[_0x58aa6f(0x14d)]();const _0x6334a=this[_0x58aa6f(0x172)][_0x58aa6f(0x126)][_0x58aa6f(0x15d)](_0x58aa6f(0x107)),_0x253e1f=_0x6334a[_0x58aa6f(0xf0)](_0x3012e(this[_0x58aa6f(0x172)][_0x58aa6f(0x108)],_0x58aa6f(0x1af)));return this[_0x58aa6f(0x1a1)][_0x58aa6f(0x17c)]({'channelId':_0x412c9e,'threadId':_0x4a2267})[_0x58aa6f(0x19c)](({resolvedAt:_0x39c887,resolvedBy:_0x5af557})=>{const _0x267b93=_0x58aa6f;_0x6334a[_0x267b93(0x1c2)](_0x253e1f),_0x33d285[_0x267b93(0x183)]['id']!==_0x5af557&&(_0x33d285[_0x267b93(0x183)]=_0x2bbbd6[_0x267b93(0x197)](_0x5af557)),_0x33d285[_0x267b93(0x123)]=_0x39c887;})[_0x58aa6f(0x111)](_0x518612=>{const _0x4be8c0=_0x58aa6f;throw console[_0x4be8c0(0x104)](_0x518612),new _0x472333(_0x4be8c0(0x106),this);});}[_0x288c6c(0xfc)]({threadId:_0x1952a2,channelId:_0x33df78,isFromAdapter:_0x185833}){const _0x329681=_0x288c6c;if(!this[_0x329681(0x1a3)](_0x1952a2))throw new _0x472333(_0x329681(0x185),null,{'threadId':_0x1952a2});const _0x3f609c=this[_0x329681(0x12a)](_0x1952a2);if(!_0x3f609c[_0x329681(0x167)])throw new _0x472333(_0x329681(0x1a5),null,{'threadId':_0x1952a2});if(_0x3f609c[_0x329681(0x183)]=null,_0x3f609c[_0x329681(0x123)]=null,_0x185833||!this[_0x329681(0x1a1)]||_0x329681(0xea)!=typeof this[_0x329681(0x1a1)][_0x329681(0x146)])return Promise[_0x329681(0x14d)]();const _0x1110ae=this[_0x329681(0x172)][_0x329681(0x126)][_0x329681(0x15d)](_0x329681(0x107)),_0x5f49a6=_0x1110ae[_0x329681(0xf0)](_0x3012e(this[_0x329681(0x172)][_0x329681(0x108)],_0x329681(0x1af)));return this[_0x329681(0x1a1)][_0x329681(0x146)]({'channelId':_0x33df78,'threadId':_0x1952a2})[_0x329681(0x19c)](()=>_0x1110ae[_0x329681(0x1c2)](_0x5f49a6))[_0x329681(0x111)](_0x372e44=>{const _0x5dce16=_0x329681;throw console[_0x5dce16(0x104)](_0x372e44),new _0x472333(_0x5dce16(0x198),this);});}[_0x288c6c(0x114)]({threadId:_0xdf49a0,isFromAdapter:_0x4e1aea}){const _0x38b5e7=_0x288c6c,_0x2dfc82=this[_0x38b5e7(0x12a)](_0xdf49a0);if(!_0x2dfc82)throw new _0x472333(_0x38b5e7(0x173),this);if(this[_0x38b5e7(0x1bd)](_0xdf49a0),this[_0x38b5e7(0x12d)][_0x38b5e7(0x17b)](_0xdf49a0),!_0x2dfc82[_0x38b5e7(0xdf)]||_0x4e1aea||!this[_0x38b5e7(0x1a1)]||_0x38b5e7(0xea)!=typeof this[_0x38b5e7(0x1a1)][_0x38b5e7(0x18d)])return Promise[_0x38b5e7(0x14d)]();const _0x658677=this[_0x38b5e7(0x172)][_0x38b5e7(0x126)][_0x38b5e7(0x15d)](_0x38b5e7(0x107)),{channelId:_0x38e84e}=_0x2dfc82,_0x3d1f9f=_0x658677[_0x38b5e7(0xf0)](_0x3012e(this[_0x38b5e7(0x172)][_0x38b5e7(0x108)],_0x38b5e7(0x1af)));return this[_0x38b5e7(0x1a1)][_0x38b5e7(0x18d)]({'channelId':_0x38e84e,'threadId':_0xdf49a0})[_0x38b5e7(0x19c)](()=>_0x658677[_0x38b5e7(0x1c2)](_0x3d1f9f))[_0x38b5e7(0x111)](_0x2a8c9a=>{const _0x455f77=_0x38b5e7;throw console[_0x455f77(0x104)](_0x2a8c9a),new _0x472333(_0x455f77(0x18f),this);});}[_0x288c6c(0x177)]({threadId:_0x404ed1,unlinkedAt:_0x5d710f,context:_0x6b309c,attributes:_0x57c428,isFromAdapter:_0x3911ae}){const _0x13a766=_0x288c6c;if(_0x13a766(0x12b)!=typeof _0x404ed1)throw new _0x472333(_0x13a766(0x127),null,{'threadId':_0x404ed1});if(!this[_0x13a766(0x1a3)](_0x404ed1))throw new _0x472333(_0x13a766(0x185),null,{'threadId':_0x404ed1});const _0x2ceefb=this[_0x13a766(0x12a)](_0x404ed1);let _0x316b1d=!0x1;if(void 0x0!==_0x6b309c&&_0x2ceefb[_0x13a766(0x172)]!==_0x6b309c&&(_0x2ceefb[_0x13a766(0x172)]=_0x6b309c,_0x316b1d=!0x0),void 0x0!==_0x5d710f&&_0x2ceefb[_0x13a766(0x195)]!==_0x5d710f&&(_0x2ceefb[_0x13a766(0x195)]=_0x5d710f,_0x316b1d=!0x0),_0x57c428&&!_0x26df7c(_0x57c428,_0x2ceefb[_0x13a766(0xfd)])&&(_0x2ceefb[_0x13a766(0xfd)]=_0x57c428,_0x316b1d=!0x0),!_0x316b1d)return Promise[_0x13a766(0x14d)]();if(!_0x2ceefb[_0x13a766(0xdf)]||_0x3911ae||!this[_0x13a766(0x1a1)]||_0x13a766(0xea)!=typeof this[_0x13a766(0x1a1)][_0x13a766(0x11e)])return Promise[_0x13a766(0x14d)]();const _0x126b9b=this[_0x13a766(0x172)][_0x13a766(0x126)][_0x13a766(0x15d)](_0x13a766(0x107)),{channelId:_0x552605}=_0x2ceefb,_0x3c19ae=_0x126b9b[_0x13a766(0xf0)](_0x3012e(this[_0x13a766(0x172)][_0x13a766(0x108)],_0x13a766(0x1af)));return this[_0x13a766(0x1a1)][_0x13a766(0x11e)]({'channelId':_0x552605,'threadId':_0x404ed1,'context':_0x6b309c,'unlinkedAt':_0x5d710f,'attributes':_0x57c428})[_0x13a766(0x19c)](()=>_0x126b9b[_0x13a766(0x1c2)](_0x3c19ae))[_0x13a766(0x111)](_0x4596b0=>{const _0x43824e=_0x13a766;throw console[_0x43824e(0x104)](_0x4596b0),new _0x472333(_0x43824e(0x116),this);});}[_0x288c6c(0x1bd)](_0x4ebe6b){const _0x54deab=_0x288c6c,_0x1ec3a1=this[_0x54deab(0x172)][_0x54deab(0x126)][_0x54deab(0x15d)](_0x5da520),_0x3fa0bd=this[_0x54deab(0x12a)](_0x4ebe6b);if(_0x3fa0bd[_0x54deab(0x1ad)]=!0x1,this[_0x54deab(0xe9)][_0x54deab(0x178)](_0x3fa0bd)){const _0x374b98=this[_0x54deab(0xe9)][_0x54deab(0x15d)](_0x3fa0bd),_0x43a556=_0x374b98[_0x54deab(0x12c)],_0x486d1f=_0x1ec3a1[_0x54deab(0x14a)](_0x43a556);this[_0x54deab(0xe9)][_0x54deab(0x17b)](_0x3fa0bd),this[_0x54deab(0x18a)][_0x54deab(0x17b)](_0x43a556),_0x486d1f&&_0x1ec3a1[_0x54deab(0x1c2)](_0x486d1f),_0x374b98[_0x54deab(0x199)](),_0x43a556[_0x54deab(0x199)]()[_0x54deab(0x19c)](()=>{const _0x2c68e0=_0x54deab;this[_0x2c68e0(0xeb)](_0x43a556);});}}[_0x288c6c(0x11f)]({threadId:_0x5b65ec,resolvedAt:_0x3cf87c,unlinkedAt:_0x2ccb9e}){const _0x50d369=_0x288c6c,_0x350e73=!!_0x3cf87c,_0x5a13c2=this[_0x50d369(0x172)][_0x50d369(0x126)][_0x50d369(0x15d)](_0x5da520),_0x3d8599=this[_0x50d369(0x12a)](_0x5b65ec);if(this[_0x50d369(0xe9)][_0x50d369(0x178)](_0x3d8599)){const _0x3f6e3a=this[_0x50d369(0xe9)][_0x50d369(0x15d)](_0x3d8599)[_0x50d369(0x12c)],_0x394ef6=_0x5a13c2[_0x50d369(0x14a)](_0x3f6e3a);_0x394ef6&&(_0x350e73&&_0x5a13c2[_0x50d369(0xf5)](_0x394ef6),_0x2ccb9e?_0x394ef6[_0x50d369(0x196)]=!0x1:_0x394ef6[_0x50d369(0x10f)]());}}[_0x288c6c(0x13d)](_0x1e0982){const _0x6df501=_0x288c6c,_0x17e0ad=this[_0x6df501(0x172)][_0x6df501(0x126)][_0x6df501(0x15d)](_0x53c330),_0x209c4d=_0x3b7629(_0x6df501(0xe1)+_0x1e0982),_0x2fc438=_0x17e0ad[_0x6df501(0x197)](_0x209c4d);return _0x2fc438||_0x17e0ad[_0x6df501(0x150)]({'id':_0x209c4d,'name':_0x1e0982});}[_0x288c6c(0x10e)]({threadId:_0x99c53e,commentId:_0x161c81=_0x1f4272(),content:_0x28d304,authorId:_0x4a28b9,createdAt:_0xbbcf3f,attributes:_0x39913d}){const _0x58f362=_0x288c6c;if(_0x58f362(0x12b)!=typeof _0x161c81)throw new _0x472333(_0x58f362(0x156));if(_0x58f362(0x12b)!=typeof _0x4a28b9)throw new _0x472333(_0x58f362(0x133));if(_0x58f362(0x12b)!=typeof _0x28d304||!_0x28d304[_0x58f362(0x1c4)]())throw new _0x472333(_0x58f362(0x190));const _0x247422=this[_0x58f362(0x172)][_0x58f362(0x126)][_0x58f362(0x15d)](_0x53c330)[_0x58f362(0x197)](_0x4a28b9);if(!_0x247422)throw new _0x472333(_0x58f362(0x17a),null,{'authorId':_0x4a28b9});let _0x4a0076=null,_0x3ebf29=_0xbbcf3f;return _0x39913d?.[_0x58f362(0x1aa)]&&(_0x4a0076=this[_0x58f362(0x13d)](_0x39913d[_0x58f362(0x1aa)][_0x58f362(0x130)]),_0x3ebf29=new Date(_0x39913d[_0x58f362(0x1aa)][_0x58f362(0x119)])),new Comment(this,{'threadId':_0x99c53e,'id':_0x161c81,'author':_0x4a0076||_0x247422,'creator':_0x247422,'content':_0x28d304,'createdAt':_0xbbcf3f,'authoredAt':_0x3ebf29,'attributes':_0x39913d});}[_0x288c6c(0x1b0)](_0x3ec5d0){const _0x3ac5db=_0x288c6c;let {threadId:_0x48f743,content:_0x34ed8b,attributes:_0x547eb1,isFromAdapter:_0x296cfb}=_0x3ec5d0;const _0x4470e7=this[_0x3ac5db(0x12a)](_0x3ec5d0[_0x3ac5db(0x152)]);if(!_0x4470e7)throw new _0x472333(_0x3ac5db(0x135),this);const _0x6e7e9a=this[_0x3ac5db(0x10e)](_0x3ec5d0),{id:_0xa320ee}=_0x6e7e9a;if(_0x4470e7[_0x3ac5db(0x13b)](_0x6e7e9a),_0x296cfb||!this[_0x3ac5db(0x1a1)]||_0x3ac5db(0xea)!=typeof this[_0x3ac5db(0x1a1)][_0x3ac5db(0x136)]||!_0x4470e7[_0x3ac5db(0xdf)])return Promise[_0x3ac5db(0x14d)]();const _0xac97ce=this[_0x3ac5db(0x172)][_0x3ac5db(0x126)][_0x3ac5db(0x15d)](_0x3ac5db(0x107)),{channelId:_0x5a96f0}=_0x4470e7,_0x356c1c=_0xac97ce[_0x3ac5db(0xf0)](_0x3012e(this[_0x3ac5db(0x172)][_0x3ac5db(0x108)],_0x3ac5db(0x1af)));return _0x547eb1||(_0x547eb1={}),this[_0x3ac5db(0x1a1)][_0x3ac5db(0x136)]({'channelId':_0x5a96f0,'threadId':_0x48f743,'commentId':_0xa320ee,'content':_0x34ed8b,'attributes':_0x547eb1})[_0x3ac5db(0x19c)](_0x421f3b=>{const _0x5dfd82=_0x3ac5db;_0xac97ce[_0x5dfd82(0x1c2)](_0x356c1c),_0x421f3b&&this[_0x5dfd82(0x175)]({'channelId':_0x5a96f0,'threadId':_0x48f743,'commentId':_0xa320ee,'createdAt':_0x421f3b[_0x5dfd82(0x119)],'isFromAdapter':!0x0});})[_0x3ac5db(0x111)](_0x22d799=>{const _0x46ea84=_0x3ac5db;throw console[_0x46ea84(0x104)](_0x22d799),new _0x472333(_0x46ea84(0x1a4),this);});}[_0x288c6c(0x175)]({threadId:_0x6841a6,commentId:_0x2614da,content:_0x242fac,createdAt:_0x5dfe72,attributes:_0x526f3d,isFromAdapter:_0x139fa1}){const _0x33c68a=_0x288c6c;if(void 0x0!==_0x242fac&&(_0x33c68a(0x12b)!=typeof _0x242fac||!_0x242fac[_0x33c68a(0x1c4)]()[_0x33c68a(0x1bf)]))throw new _0x472333(_0x33c68a(0x121));const _0x1b91fb=this[_0x33c68a(0x12a)](_0x6841a6),_0x8eae86=_0x1b91fb[_0x33c68a(0x164)](_0x2614da);if(!_0x8eae86)throw new _0x472333(_0x33c68a(0x170),this);let _0x4df5c6=!0x1;if(_0x242fac&&_0x242fac!==_0x8eae86[_0x33c68a(0xe4)]&&(_0x8eae86[_0x33c68a(0x10a)]||_0x139fa1)&&(_0x8eae86[_0x33c68a(0xe4)]=_0x242fac,_0x4df5c6=!0x0),_0x5dfe72&&_0x5dfe72!==_0x8eae86[_0x33c68a(0x119)]&&(_0x8eae86[_0x33c68a(0x119)]=_0x5dfe72,_0x8eae86[_0x33c68a(0xfd)]&&_0x8eae86[_0x33c68a(0xfd)][_0x33c68a(0x1aa)]||(_0x8eae86[_0x33c68a(0xe8)]=_0x5dfe72),_0x4df5c6=!0x0),_0x526f3d&&!_0x26df7c(_0x526f3d,_0x8eae86[_0x33c68a(0xfd)])&&(_0x8eae86[_0x33c68a(0xfd)]=_0x526f3d,_0x4df5c6=!0x0),!_0x4df5c6)return Promise[_0x33c68a(0x14d)]();if(_0x1b91fb[_0x33c68a(0x154)](_0x33c68a(0x155)),_0x139fa1||!this[_0x33c68a(0x1a1)]||_0x33c68a(0xea)!=typeof this[_0x33c68a(0x1a1)][_0x33c68a(0x1bc)])return Promise[_0x33c68a(0x14d)]();const _0x1d99e3=this[_0x33c68a(0x172)][_0x33c68a(0x126)][_0x33c68a(0x15d)](_0x33c68a(0x107)),{channelId:_0x4a4b38}=this[_0x33c68a(0x12a)](_0x8eae86[_0x33c68a(0x152)]),_0x12f428=_0x1d99e3[_0x33c68a(0xf0)](_0x3012e(this[_0x33c68a(0x172)][_0x33c68a(0x108)],_0x33c68a(0x1af)));return this[_0x33c68a(0x1a1)][_0x33c68a(0x1bc)]({'channelId':_0x4a4b38,'threadId':_0x6841a6,'commentId':_0x2614da,'content':_0x242fac,'attributes':_0x526f3d})[_0x33c68a(0x19c)](()=>_0x1d99e3[_0x33c68a(0x1c2)](_0x12f428))[_0x33c68a(0x111)](_0x5282e8=>{const _0x3997a7=_0x33c68a;throw console[_0x3997a7(0x104)](_0x5282e8),new _0x472333(_0x3997a7(0x14f),this);});}[_0x288c6c(0x19b)]({threadId:_0x163395,commentId:_0x30f703,isFromAdapter:_0x130f7a}){const _0x1e3fbc=_0x288c6c,_0x3c48a7=this[_0x1e3fbc(0x12a)](_0x163395),_0x46135c=_0x3c48a7[_0x1e3fbc(0x164)](_0x30f703);if(!_0x46135c)throw new _0x472333(_0x1e3fbc(0x1c1),this);if(_0x3c48a7[_0x1e3fbc(0x143)](_0x46135c),_0x130f7a||!this[_0x1e3fbc(0x1a1)]||_0x1e3fbc(0xea)!=typeof this[_0x1e3fbc(0x1a1)][_0x1e3fbc(0x1b3)])return Promise[_0x1e3fbc(0x14d)]();const _0xcd4a47=this[_0x1e3fbc(0x172)][_0x1e3fbc(0x126)][_0x1e3fbc(0x15d)](_0x1e3fbc(0x107)),{channelId:_0x2f4de9}=_0x3c48a7,_0x288be8=_0xcd4a47[_0x1e3fbc(0xf0)](_0x3012e(this[_0x1e3fbc(0x172)][_0x1e3fbc(0x108)],_0x1e3fbc(0x1af)));return this[_0x1e3fbc(0x1a1)][_0x1e3fbc(0x1b3)]({'channelId':_0x2f4de9,'threadId':_0x163395,'commentId':_0x30f703})[_0x1e3fbc(0x19c)](()=>_0xcd4a47[_0x1e3fbc(0x1c2)](_0x288be8))[_0x1e3fbc(0x111)](_0x331295=>{const _0x424580=_0x1e3fbc;throw console[_0x424580(0x104)](_0x331295),new _0x472333(_0x424580(0x13f),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x14a791(){[_0x288c6c(0x139)];['id'];[_0x288c6c(0x1ad)];[_0x288c6c(0x1a2)];[_0x288c6c(0x100)];[_0x288c6c(0xe5)];constructor(_0xb6d0d6,_0x5048a3){const _0x5588a8=_0x288c6c;super();const _0x3d23f7=_0x5048a3[_0x5588a8(0x11a)];this[_0x5588a8(0x139)]=_0x5048a3[_0x5588a8(0x139)],this['id']=_0x5048a3['id'],this[_0x5588a8(0x100)]=new _0x8eb16(),this[_0x5588a8(0xe5)]=_0xb6d0d6,this[_0x5588a8(0x1ad)]=!0x1,this[_0x5588a8(0x1a2)]=_0x5048a3[_0x5588a8(0xdf)],this[_0x5588a8(0x142)](_0x5588a8(0x171),!0x0),this[_0x5588a8(0x1ae)](_0x5588a8(0xe6))['to'](_0xb6d0d6,_0x5588a8(0x189),_0xb6d0d6,_0x5588a8(0x11b),()=>_0xb6d0d6[_0x5588a8(0xe6)](this[_0x5588a8(0x139)])),this[_0x5588a8(0x1ae)](_0x5588a8(0x159))['to'](_0xb6d0d6,_0x5588a8(0x189),()=>_0xb6d0d6[_0x5588a8(0x179)](this[_0x5588a8(0x139)])[_0x5588a8(0x147)]),this[_0x5588a8(0x1ae)](_0x5588a8(0x102))['to'](_0xb6d0d6,_0x5588a8(0x189),()=>{const _0xc69426=_0x5588a8,_0x8ed46b=_0xb6d0d6[_0xc69426(0x179)](this[_0xc69426(0x139)]);return _0x8ed46b[_0xc69426(0x118)]||_0x8ed46b[_0xc69426(0x147)];}),this[_0x5588a8(0x1ae)](_0x5588a8(0x11a))['to'](_0xb6d0d6,_0x5588a8(0x189),()=>_0x3d23f7&&_0xb6d0d6[_0x5588a8(0x179)](this[_0x5588a8(0x139)])[_0x5588a8(0x14d)]),this[_0x5588a8(0x142)](_0x5588a8(0x172),_0x5048a3[_0x5588a8(0x172)]),this[_0x5588a8(0x1ae)](_0x5588a8(0x163))['to'](this,_0x5588a8(0x123),this,_0x5588a8(0x195),(_0x5db017,_0x372393)=>_0x5db017?_0x372393?_0x5db017<_0x372393?_0x5db017:_0x372393:_0x5db017:_0x372393),this[_0x5588a8(0x142)](_0x5588a8(0x195),_0x5048a3[_0x5588a8(0x195)]||null),this[_0x5588a8(0x142)](_0x5588a8(0x123),_0x5048a3[_0x5588a8(0x123)]||null),this[_0x5588a8(0x142)](_0x5588a8(0x183),_0x5048a3[_0x5588a8(0x183)]||null),this[_0x5588a8(0x1ae)](_0x5588a8(0x167))['to'](this,_0x5588a8(0x123),_0x1d8c2a=>!!_0x1d8c2a),this[_0x5588a8(0x142)](_0x5588a8(0xfd),_0x5048a3[_0x5588a8(0xfd)]||{});}get[_0x288c6c(0x148)](){const _0x22ac7b=_0x288c6c;return Array[_0x22ac7b(0x169)](this[_0x22ac7b(0x100)])[_0x22ac7b(0x1b7)]((_0x3e7e78,_0x24c9d6)=>_0x3e7e78+_0x24c9d6[_0x22ac7b(0x148)],0x0);}get[_0x288c6c(0x1bf)](){const _0x1f7198=_0x288c6c;return this[_0x1f7198(0x100)][_0x1f7198(0x1bf)];}get[_0x288c6c(0x112)](){const _0xde73c2=_0x288c6c;return this[_0xde73c2(0x1ad)];}get[_0x288c6c(0xdf)](){const _0x3a9ad9=_0x288c6c;return this[_0x3a9ad9(0x1a2)];}[_0x288c6c(0x1b4)](){const _0x5c1368=_0x288c6c,{channelId:_0x3cf5eb,id:_0x149efa}=this;this[_0x5c1368(0xe5)][_0x5c1368(0x154)](Nt(_0x5c1368(0x140),_0x3cf5eb),{'channelId':_0x3cf5eb,'threadId':_0x149efa});}[_0x288c6c(0x129)](_0x38bb6f){const _0x466241=_0x288c6c;this[_0x466241(0x1ba)]({'unlinkedAt':_0x38bb6f});}[_0x288c6c(0x14d)]({resolvedAt:_0x7476c0=new Date(),resolvedBy:_0x5ab38d='',isFromAdapter:_0x4ebf2a=!0x1}={}){const _0x3c4271=_0x288c6c,_0x48527d=this[_0x3c4271(0xe5)][_0x3c4271(0x172)][_0x3c4271(0x126)][_0x3c4271(0x15d)](_0x53c330)['me'],{channelId:_0x1e57b7,id:_0x484e1b}=this;this[_0x3c4271(0xe5)][_0x3c4271(0x154)](Nt(_0x3c4271(0x17c),_0x1e57b7),{'channelId':_0x1e57b7,'threadId':_0x484e1b,'resolvedAt':_0x7476c0,'resolvedBy':_0x5ab38d||_0x48527d['id'],'isFromAdapter':_0x4ebf2a});}[_0x288c6c(0x149)]({isFromAdapter:_0x56cd65=!0x1}={}){const _0x26941d=_0x288c6c,{channelId:_0x1e2b5f,id:_0x524636}=this;this[_0x26941d(0xe5)][_0x26941d(0x154)](Nt(_0x26941d(0x146),_0x1e2b5f),{'channelId':_0x1e2b5f,'threadId':_0x524636,'isFromAdapter':_0x56cd65});}[_0x288c6c(0x13e)](_0x25ebeb){const _0x3ae334=_0x288c6c;this[_0x3ae334(0x172)]||this[_0x3ae334(0x1ba)]({'context':_0x25ebeb});}[_0x288c6c(0x17d)](_0x452d0c,_0x546ffa){const _0x168c03=_0x288c6c,_0x4a1424=_0x57deb3(this[_0x168c03(0xfd)]);_0x3284d2(_0x4a1424,_0x452d0c,_0x546ffa),this[_0x168c03(0x1ba)]({'attributes':_0x4a1424});}[_0x288c6c(0x125)](_0x1f55f3){const _0x1aaee4=_0x288c6c,_0x15fe46=_0x57deb3(this[_0x1aaee4(0xfd)]);_0x553486(_0x15fe46,_0x1f55f3),this[_0x1aaee4(0x1ba)]({'attributes':_0x15fe46});}[_0x288c6c(0x1c2)]({isFromAdapter:_0x1a61ff=!0x1}={}){const _0x3943d2=_0x288c6c,{channelId:_0x5df637,id:_0x305ad6}=this;this[_0x3943d2(0xe5)][_0x3943d2(0x154)](Nt(_0x3943d2(0x18d),_0x5df637),{'channelId':_0x5df637,'threadId':_0x305ad6,'isFromAdapter':_0x1a61ff});}[_0x288c6c(0x194)](_0x42abe1){const _0x25680f=_0x288c6c;return this[_0x25680f(0xe5)][_0x25680f(0x144)]({'threadId':this['id'],'target':_0x42abe1});}[_0x288c6c(0x136)](_0x7e128f){const _0x31d0e2=_0x288c6c,{channelId:_0x9ab1d,id:_0x20ea59}=this;this[_0x31d0e2(0xe5)][_0x31d0e2(0x154)](Nt(_0x31d0e2(0x136),_0x9ab1d,_0x20ea59),Object[_0x31d0e2(0x1b6)]({'channelId':_0x9ab1d,'threadId':_0x20ea59},_0x7e128f));}[_0x288c6c(0x164)](_0x51edeb){const _0x207d09=_0x288c6c;if(_0x207d09(0x12b)!=typeof _0x51edeb)throw new _0x472333(_0x207d09(0x11c),null,{'commentId':_0x51edeb});return this[_0x207d09(0x100)][_0x207d09(0x15d)](_0x51edeb);}[_0x288c6c(0x1be)](){const _0x38935a=_0x288c6c;return{'threadId':this['id'],'context':this[_0x38935a(0x172)],'unlinkedAt':this[_0x38935a(0x195)],'resolvedAt':this[_0x38935a(0x123)],'resolvedBy':this[_0x38935a(0x183)]?this[_0x38935a(0x183)]['id']:null,'archivedAt':this[_0x38935a(0x163)],'comments':this[_0x38935a(0x100)][_0x38935a(0xe3)](_0x5a2405=>_0x5a2405[_0x38935a(0x1be)]()),'attributes':this[_0x38935a(0xfd)]};}[_0x288c6c(0x13b)](_0x1f0e68){const _0x4be298=_0x288c6c;return this[_0x4be298(0x15f)](_0x1f0e68,_0x4be298(0x122),()=>{const _0x2ac83c=_0x4be298,_0x118639=this[_0x2ac83c(0x18c)](_0x1f0e68),_0x8d5a4d=this[_0x2ac83c(0x100)];_0x118639-0x1!=_0x8d5a4d[_0x2ac83c(0x1b2)](_0x1f0e68)&&_0x118639+0x1!=_0x8d5a4d[_0x2ac83c(0x1b2)](_0x1f0e68)&&(this[_0x2ac83c(0x143)](_0x1f0e68),this[_0x2ac83c(0x13b)](_0x1f0e68));}),this[_0x4be298(0x100)][_0x4be298(0xf0)](_0x1f0e68,this[_0x4be298(0x18c)](_0x1f0e68));}[_0x288c6c(0x1ba)](_0x13d009){const _0x221179=_0x288c6c,{channelId:_0x53720d,id:_0x4f7fa7}=this;this[_0x221179(0xe5)][_0x221179(0x154)](Nt(_0x221179(0x11e),_0x53720d),{..._0x13d009,'channelId':_0x53720d,'threadId':_0x4f7fa7});}[_0x288c6c(0x143)](_0x497a2a){const _0x5e23fa=_0x288c6c;return this[_0x5e23fa(0xe0)](_0x497a2a),_0x497a2a[_0x5e23fa(0x199)](),this[_0x5e23fa(0x100)][_0x5e23fa(0x1c2)](_0x497a2a);}[_0x288c6c(0x18c)](_0x590102){const _0x133537=_0x288c6c,_0x38e93d=this[_0x133537(0x100)][_0x133537(0xf1)](_0x5694ad=>new Date(_0x5694ad[_0x133537(0xe8)])[_0x133537(0x19f)]()>new Date(_0x590102[_0x133537(0xe8)])[_0x133537(0x19f)]());return _0x38e93d?this[_0x133537(0x100)][_0x133537(0x1b2)](_0x38e93d):this[_0x133537(0x1bf)];}}function _0x1fcd(_0x4a230,_0x4f035d){const _0x105d41=_0x105d();return _0x1fcd=function(_0x1fcdde,_0xd3b3ef){_0x1fcdde=_0x1fcdde-0xdd;let _0x312721=_0x105d41[_0x1fcdde];return _0x312721;},_0x1fcd(_0x4a230,_0x4f035d);}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x14a791(){['id'];[_0x288c6c(0x152)];[_0x288c6c(0x16f)];[_0x288c6c(0x1a9)];[_0x288c6c(0x1a6)];[_0x288c6c(0x119)];[_0x288c6c(0xe5)];constructor(_0xba1d1e,_0x5f35b8){const _0x4e1bde=_0x288c6c;super();const _0x42d15b=_0xba1d1e[_0x4e1bde(0x172)][_0x4e1bde(0x126)][_0x4e1bde(0x15d)](_0x53c330)['me'],_0x2f7fe1=_0xba1d1e[_0x4e1bde(0x12a)](_0x5f35b8[_0x4e1bde(0x152)]),_0x448975=0x0===_0x2f7fe1[_0x4e1bde(0x100)][_0x4e1bde(0x1bf)],_0x376b4f=_0x42d15b===_0x5f35b8[_0x4e1bde(0x16f)];this['id']=_0x5f35b8['id'],this[_0x4e1bde(0x152)]=_0x5f35b8[_0x4e1bde(0x152)],this[_0x4e1bde(0x16f)]=_0x5f35b8[_0x4e1bde(0x16f)],this[_0x4e1bde(0x1a9)]=_0x5f35b8[_0x4e1bde(0x1a9)],this[_0x4e1bde(0x1a6)]=Boolean(_0x5f35b8[_0x4e1bde(0xfd)]&&_0x5f35b8[_0x4e1bde(0xfd)][_0x4e1bde(0x1aa)]),this[_0x4e1bde(0x142)](_0x4e1bde(0xe4),_0x5f35b8[_0x4e1bde(0xe4)]),this[_0x4e1bde(0x119)]=_0x5f35b8[_0x4e1bde(0x119)]||new Date(),this[_0x4e1bde(0x142)](_0x4e1bde(0xe8),_0x5f35b8[_0x4e1bde(0xe8)]||new Date()),this[_0x4e1bde(0x1ae)](_0x4e1bde(0x123))['to'](_0x2f7fe1,_0x4e1bde(0x123)),this[_0x4e1bde(0x142)](_0x4e1bde(0xfd),_0x5f35b8[_0x4e1bde(0xfd)]||{}),this[_0x4e1bde(0x1ae)](_0x4e1bde(0x10a))['to'](_0xba1d1e,_0x4e1bde(0x189),()=>{const _0x53c7b4=_0x4e1bde,_0x3b400b=_0xba1d1e[_0x53c7b4(0x179)](_0x2f7fe1[_0x53c7b4(0x139)])[_0x53c7b4(0x118)],_0x44676e=_0xba1d1e[_0x53c7b4(0x179)](_0x2f7fe1[_0x53c7b4(0x139)])[_0x53c7b4(0x15a)];return _0x376b4f&&_0x3b400b||!_0x376b4f&&_0x44676e;}),this[_0x4e1bde(0x1ae)](_0x4e1bde(0x159))['to'](_0x2f7fe1,_0x4e1bde(0x159),_0xba1d1e,_0x4e1bde(0x189),_0x22ccd7=>{const _0x31fc14=_0x4e1bde,_0x460cea=_0xba1d1e[_0x31fc14(0x179)](_0x2f7fe1[_0x31fc14(0x139)])[_0x31fc14(0x118)],_0x1c855f=_0xba1d1e[_0x31fc14(0x179)](_0x2f7fe1[_0x31fc14(0x139)])[_0x31fc14(0x15a)];return _0x376b4f&&_0x460cea||_0x22ccd7&&_0x448975||!_0x376b4f&&_0x1c855f&&!_0x448975;}),this[_0x4e1bde(0x1ae)](_0x4e1bde(0xe6))['to'](_0x2f7fe1,_0x4e1bde(0xe6)),this[_0x4e1bde(0xe5)]=_0xba1d1e;}get[_0x288c6c(0x148)](){const _0x27d399=_0x288c6c;return Math[_0x27d399(0x187)](function(_0x38869a){const _0x5f29ca=_0x27d399,_0x14d8d4=document[_0x5f29ca(0x109)](_0x5f29ca(0xf9));return _0x14d8d4[_0x5f29ca(0x14c)]=_0x38869a,_0x14d8d4[_0x5f29ca(0x11d)][_0x5f29ca(0x1bf)];}(this[_0x27d399(0xe4)]),0xc8);}[_0x288c6c(0xf4)](_0x300a29){const _0x5eeeb7=_0x288c6c,{threadId:_0x337902,id:_0xf1ec66}=this;if(!this[_0x5eeeb7(0xe5)][_0x5eeeb7(0x1a3)](_0x337902))throw new _0x472333(_0x5eeeb7(0xf2),this);const {channelId:_0xb1f972}=this[_0x5eeeb7(0xe5)][_0x5eeeb7(0x12a)](_0x337902);this[_0x5eeeb7(0xe5)][_0x5eeeb7(0x154)](Nt(_0x5eeeb7(0x1bc),_0xb1f972,_0x337902),{'channelId':_0xb1f972,'threadId':_0x337902,'commentId':_0xf1ec66,..._0x300a29});}[_0x288c6c(0x17d)](_0x4643c5,_0x43c0ed){const _0x15157d=_0x288c6c,_0x5d4145=_0x57deb3(this[_0x15157d(0xfd)]);_0x3284d2(_0x5d4145,_0x4643c5,_0x43c0ed),this[_0x15157d(0xf4)]({'attributes':_0x5d4145});}[_0x288c6c(0x125)](_0x56c746){const _0x5b1dc4=_0x288c6c,_0x396dfe=_0x57deb3(this[_0x5b1dc4(0xfd)]);_0x553486(_0x396dfe,_0x56c746),this[_0x5b1dc4(0xf4)]({'attributes':_0x396dfe});}[_0x288c6c(0x1c2)](_0x466e3d={}){const _0x433565=_0x288c6c;if(!_0x466e3d[_0x433565(0x138)]&&!this[_0x433565(0x159)])return;const {threadId:_0x5a009c,id:_0x3a33f3}=this;if(!this[_0x433565(0xe5)][_0x433565(0x1a3)](_0x5a009c))throw new _0x472333(_0x433565(0x17e),this);const {channelId:_0x2291c3}=this[_0x433565(0xe5)][_0x433565(0x12a)](_0x5a009c);this[_0x433565(0xe5)][_0x433565(0x154)](Nt(_0x433565(0x1b3),_0x2291c3,_0x5a009c),{'channelId':_0x2291c3,'threadId':_0x5a009c,'commentId':_0x3a33f3,..._0x466e3d});}[_0x288c6c(0x1be)](){const _0x15349b=_0x288c6c;return{'commentId':this['id'],'content':this[_0x15349b(0xe4)],'createdAt':this[_0x15349b(0x119)],'authorId':this[_0x15349b(0x1a9)]['id'],'attributes':this[_0x15349b(0xfd)]};}[_0x288c6c(0x199)](){const _0x1bb504=_0x288c6c;this[_0x1bb504(0xe0)]();}}function Nt(_0x385cf4,..._0x2af903){for(const _0x2afd77 of _0x2af903)void 0x0!==_0x2afd77&&(_0x385cf4+=':'+String(_0x2afd77));return _0x385cf4;}
23
+ const _0x126ea9=_0x56fe;(function(_0xfa44f0,_0x1d0dcc){const _0x352b39=_0x56fe,_0x209b40=_0xfa44f0();while(!![]){try{const _0x3cefa6=parseInt(_0x352b39(0x167))/0x1+-parseInt(_0x352b39(0x1c8))/0x2+-parseInt(_0x352b39(0x141))/0x3+parseInt(_0x352b39(0x17a))/0x4+parseInt(_0x352b39(0x145))/0x5*(parseInt(_0x352b39(0x160))/0x6)+parseInt(_0x352b39(0x1a2))/0x7*(parseInt(_0x352b39(0x1c9))/0x8)+-parseInt(_0x352b39(0x116))/0x9;if(_0x3cefa6===_0x1d0dcc)break;else _0x209b40['push'](_0x209b40['shift']());}catch(_0x49dce5){_0x209b40['push'](_0x209b40['shift']());}}}(_0x2fbe,0x5d185));import{PendingActions as _0x5cac06,ContextPlugin as _0x185f72,Editor as _0x48c152}from'ckeditor5/src/core.js';import{Collection as _0x1b5a87,uid as _0x53f382,CKEditorError as _0x583339,ObservableMixin as _0x49d257}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x11cec0,hashObject as _0x227ca2,Users as _0x49f2e6}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2fbe(){const _0xa33d67=['find','createdAt','createCommentThreadController','function','_createCommentThreadView','stopListening','commentsrepository-reopen-comment-thread','commentsrepository-resolve-comment-thread-internal-error','assign','setPermissions','isFromAdapter','bodyCollectionContainer','getUser','commentsListView','values','error','_updateCommentThread','admin','_resolveCommentThread','getAnnotationForCommentThread','_detachCommentThread','754488IgATXo','commentsrepository-fetch-comment-thread','push','commentsrepository-duplicated-comment-thread-id','submit','lowest','comments.maxThreadTotalWeight','commentsrepository-update-comment-invalid-content','isResolvable','commentsrepository-missing-comment-thread','deactivateAll','plugins','setContext','commentsrepository-invalid-comment-authorid','reopenCommentThread','removeCommentThread','commentsrepository-reopen-comment-thread-internal-error','_isSubmitted','isEditable','_bindAnnotationToEditors','getCommentThreads','setUnlinkedAt','commentsrepository-attach-missing-comment-thread','content','isReadOnly','focusableElements','modifyAll','resolve','change:authoredAt','isPremiumPlugin','_removeCommentThread','comments.CommentThreadView','div','_readOnlyChannels','external:','getByInnerView','hasCommentThread','view','comments.copyMarkers','_removeActiveAnnotation','_findOptimalIndex','getPermissions','unlinkedAt','589647wpcayg','commentsrepository-invalid-commentid','focusTracker','updateComment','195vNTqUg','comment','_add','body','isVisible','isDirty','authorName','highest','bind','_threadToController','_unbindEditors','string','from','commentsrepository-add-comment-to-missing-comment-thread','filter','innerHTML','activate','CommentView','CommentsRepository','type','noChannel','commentsrepository-add-comment-thread-internal-error','removeComment','_addComment','warn','textContent','editorReady','39378wXKWCm','commentsrepository-remove-comment-missing-comment-thread','addComment','fire','openNewCommentThread','commentsrepository-get-comment-invalid-id','change:_readOnlyChannels','77264nvCKkI','editorDestroyed','catch','_adapter','reopen','commentsrepository-update-comment-thread-internal-error','_updateActiveAnnotation','_attachCommentThread','change:activeAnnotations','commentsrepository-remove-comment-thread-internal-error','change:_permissions','context','creator','resolvedAt','commentInputView','locale','_createNewComment','commentsrepository-remove-comment-internal-error','threadId','794504rhBiwC','getCommentThread','canComment','define','_submitCommentThread','remove','requires','map','change:isDirty','get','isAttached','updateCommentThread','init','comments.CommentView','submitCommentThread','commentsrepository-invalid-comment-content','commentsrepository-invalid-comment-thread-id','isRemovable','has','comments.editorConfig','commentsrepository-update-comment-internal-error','getCommentThreadForAnnotation','isActive','switchReadOnly','createElement','reduce','weight','resolvedBy','commentsrepository-resolved-comment-thread','commentThreadInputView','fetchCommentThread','listenTo','_updateComment','trim','attributes','adapter','length','delete','channelId','commentsrepository-remove-missing-comment-thread','124243TOIXnu','_threads','licenseKey','getTime','resolveCommentThread','max','comments.maxCommentCharsWhenCollapsed','isExternal','getComment','commentsrepository-add-comment-internal-error','comments.maxCommentsWhenCollapsed','comments','_remove','pluginName','commentsrepository-update-missing-comment','activeCommentThread','_addCommentThread','escape','getIndex','commentsrepository-missing-thread-and-adapter-method','commentsrepository-add-comment-user-not-exists','isOfficialPlugin','CommentThreadView','commentsrepository-update-comment-missing-comment-thread','_isAttached','addUser','commentsrepository-missing-target','archivedAt','setAttribute','set','once','_permissions','add','author','_repository','_removeComment','attachTo','toJSON','982728aGlMCe','280EAAebM','PendingActions','focus','commentId','update','_viewToController','_hasTargetInContent','model','destroy','authoredAt','removeAttribute','PENDING_ACTION_COMMENT_THREAD','commentsrepository-active-missing-comment-thread','isResolved','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','write','setActiveCommentThread','@external','_reopenCommentThread','refreshVisibility','then','commentsrepository-remove-missing-comment','innerView','commentsrepository-active-not-attached','isSubmitted','config','commentsrepository-adapter-already-set','_getExternalAuthor','addCommentThread','_update','commentUpdated'];_0x2fbe=function(){return _0xa33d67;};return _0x2fbe();}import{cloneDeep as _0x1fcb7a,isEqual as _0x800afc,set as _0x5e45c0,unset as _0x11cf5e}from'es-toolkit/compat';import{CommentThreadController as _0x5cf58b}from'./ui/commentthreadcontroller.js';function _0x56fe(_0x370428,_0x5350b3){const _0x2fbede=_0x2fbe();return _0x56fe=function(_0x56fe7c,_0x570b3f){_0x56fe7c=_0x56fe7c-0xe8;let _0x552c9c=_0x2fbede[_0x56fe7c];return _0x552c9c;},_0x56fe(_0x370428,_0x5350b3);}import{CommentThreadView as _0x4c1c4e}from'./ui/view/commentthreadview.js';import{CommentView as _0x545cfb}from'./ui/view/commentview.js';import{getTranslation as _0x1a3dcb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x1a4740}from'../annotations/view/annotationview.js';import{Annotation as _0x2b7783}from'../annotations/annotation.js';import{Annotations as _0x1a2014}from'../annotations/annotations.js';const bt=Symbol(_0x126ea9(0x159)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x185f72{[_0x126ea9(0x1a3)];[_0x126ea9(0x14e)];[_0x126ea9(0x1ce)];static get[_0x126ea9(0x180)](){return[_0x1a2014,_0x5cac06,_0x49f2e6];}static get[_0x126ea9(0x1af)](){const _0x3d67e8=_0x126ea9;return _0x3d67e8(0x157);}static get[_0x126ea9(0x1b7)](){return!0x0;}static get[_0x126ea9(0x133)](){return!0x0;}constructor(_0x464633){const _0x1354d7=_0x126ea9;super(_0x464633),this[_0x1354d7(0x1a3)]=new Map(),this[_0x1354d7(0x14e)]=new Map(),this[_0x1354d7(0x1ce)]=new Map(),this[_0x1354d7(0x1bf)](_0x1354d7(0x137),new Set()),this[_0x1354d7(0x1bf)](_0x1354d7(0x1c1),new Map());const _0x31c5c3=this[_0x1354d7(0x172)][_0x1354d7(0xfb)];_0x31c5c3[_0x1354d7(0x17d)](_0x1354d7(0x1ac),0x2),_0x31c5c3[_0x1354d7(0x17d)](_0x1354d7(0x11c),0x1f4),_0x31c5c3[_0x1354d7(0x17d)](_0x1354d7(0x1a8),0x8c),_0x31c5c3[_0x1354d7(0x17d)](_0x1354d7(0x135),_0x4c1c4e),_0x31c5c3[_0x1354d7(0x17d)](_0x1354d7(0x187),_0x545cfb),_0x31c5c3[_0x1354d7(0x183)](_0x1354d7(0x18d))||console[_0x1354d7(0x15d)](_0x1354d7(0xf0));}[_0x126ea9(0x186)](){const _0x5366e5=_0x126ea9,_0x10d7c5=this[_0x5366e5(0x172)][_0x5366e5(0x121)][_0x5366e5(0x183)](_0x1a2014);this[_0x5366e5(0x1bf)](_0x5366e5(0x1b1),null),this['on'](_0x5366e5(0xfe),(_0x441c66,_0x14903f)=>this[_0x5366e5(0x1b2)](_0x14903f)),this['on'](_0x5366e5(0x188),(_0x11ca77,_0x4522d6)=>this[_0x5366e5(0x17e)](_0x4522d6)),this['on'](_0x5366e5(0x1a6),(_0x3e890a,_0x5a3b9f)=>this[_0x5366e5(0x113)](_0x5a3b9f)),this['on'](_0x5366e5(0x1a6),(_0x55915b,_0x9b825a)=>this[_0x5366e5(0x16d)](_0x9b825a),{'priority':_0x5366e5(0x11b)}),this['on'](_0x5366e5(0x124),(_0x33d476,_0x58715c)=>this[_0x5366e5(0xf4)](_0x58715c)),this['on'](_0x5366e5(0x124),(_0x1889f3,_0x355762)=>this[_0x5366e5(0x16d)](_0x355762),{'priority':_0x5366e5(0x11b)}),this['on'](_0x5366e5(0x125),(_0x1e6a03,_0x5eef10)=>this[_0x5366e5(0x134)](_0x5eef10)),this['on'](_0x5366e5(0x185),(_0x966db,_0x47ccbb)=>this[_0x5366e5(0x111)](_0x47ccbb)),this['on'](_0x5366e5(0x185),(_0x212ca1,_0x2a324f)=>this[_0x5366e5(0x16d)](_0x2a324f),{'priority':_0x5366e5(0x11b)}),this['on'](_0x5366e5(0x162),(_0x27bdb2,_0x192865)=>this[_0x5366e5(0x15c)](_0x192865)),this['on'](_0x5366e5(0x144),(_0x5cc698,_0x30e8d1)=>this[_0x5366e5(0x19a)](_0x30e8d1)),this['on'](_0x5366e5(0x15b),(_0x3713c6,_0x5911b6)=>this[_0x5366e5(0x1c5)](_0x5911b6)),this['on'](_0x5366e5(0x162),(_0x134904,{threadId:_0x45390c,isFromAdapter:_0x2facfe})=>{const _0xccabe9=_0x5366e5;if(_0x2facfe)return;const _0x458cb7=this[_0xccabe9(0x17b)](_0x45390c),_0x554e10=_0x458cb7&&this[_0xccabe9(0x14e)][_0xccabe9(0x183)](_0x458cb7);_0x554e10&&_0x554e10[_0xccabe9(0x13b)][_0xccabe9(0x10e)][_0xccabe9(0x1cb)](-0x1);},{'priority':_0x5366e5(0x11b)}),this[_0x5366e5(0x199)](_0x10d7c5,_0x5366e5(0x16f),(_0x92e3a1,_0x5d0842,_0x33f9f4)=>{const _0x56d640=_0x5366e5,_0xa0baaa=Array[_0x56d640(0x151)](_0x33f9f4)[_0x56d640(0x181)](_0x298df4=>this[_0x56d640(0x1ce)][_0x56d640(0x183)](_0x298df4[_0x56d640(0xf8)]))[_0x56d640(0x153)](Boolean)[0x0];this[_0x56d640(0x1b1)]=_0xa0baaa?_0xa0baaa[_0x56d640(0xe9)]:null;});}set[_0x126ea9(0x19d)](_0xe7e433){const _0x5b1ff4=_0x126ea9;if(this[_0x5b1ff4(0x16a)])throw new _0x583339(_0x5b1ff4(0xfc));this[_0x5b1ff4(0x16a)]=_0xe7e433;}get[_0x126ea9(0x19d)](){const _0x4d7bb6=_0x126ea9;return this[_0x4d7bb6(0x16a)];}[_0x126ea9(0xfe)]({channelId:_0x295794=bt,threadId:_0x4ee506=_0x53f382(),comments:_0x43091d=[],unlinkedAt:_0xcf6606=null,resolvedAt:_0x280287=null,resolvedBy:_0x5887a3=null,target:_0x3e6018=null,context:_0x1e87d0=null,attributes:_0x11f756={},isResolvable:_0x1254a2=!0x0,isSubmitted:_0x3cbf52=!0x1,isFromAdapter:_0x277c74=!0x1}={}){const _0x20a2c9=_0x126ea9;return this[_0x20a2c9(0x163)](xt(_0x20a2c9(0xfe),_0x295794),{'channelId':_0x295794,'threadId':_0x4ee506,'comments':_0x43091d,'unlinkedAt':_0xcf6606,'resolvedAt':_0x280287,'resolvedBy':_0x5887a3,'target':_0x3e6018,'context':_0x1e87d0,'attributes':_0x11f756,'isFromAdapter':_0x277c74,'isResolvable':_0x1254a2,'isSubmitted':_0x3cbf52}),this[_0x20a2c9(0x17b)](_0x4ee506);}[_0x126ea9(0x164)]({channelId:_0x3b92cc=bt,threadId:_0x39c904=_0x53f382(),target:_0x13a3b0,context:_0x336e69=null,isResolvable:_0x15990f=!0x0}){const _0x587359=_0x126ea9;if(this[_0x587359(0x137)][_0x587359(0x18c)](_0x3b92cc)||this[_0x587359(0x137)][_0x587359(0x18c)](void 0x0))return null;if(!_0x13a3b0)throw new _0x583339(_0x587359(0x1bc));const _0x21eaa1=this[_0x587359(0xfe)]({'channelId':_0x3b92cc,'threadId':_0x39c904,'target':_0x13a3b0,'context':_0x336e69,'isResolvable':_0x15990f});if(!_0x21eaa1)return null;const _0x56bd3a=this[_0x587359(0x14e)][_0x587359(0x183)](_0x21eaa1),_0x11b240=_0x56bd3a[_0x587359(0x13b)][_0x587359(0x197)][_0x587359(0x175)],_0x14f687=this[_0x587359(0x172)][_0x587359(0x121)][_0x587359(0x183)](_0x1a2014),_0x49c136=_0x14f687[_0x587359(0x139)](_0x56bd3a[_0x587359(0x13b)]);return _0x14f687[_0x587359(0x155)](_0x49c136),_0x11b240[_0x587359(0x1c0)](_0x587359(0x15f),()=>_0x11b240[_0x587359(0x1cb)]()),_0x21eaa1;}[_0x126ea9(0x13a)](_0x4d2b59){const _0x27ee43=_0x126ea9;if(_0x27ee43(0x150)!=typeof _0x4d2b59)throw new _0x583339(_0x27ee43(0x18a));return this[_0x27ee43(0x1a3)][_0x27ee43(0x18c)](_0x4d2b59);}[_0x126ea9(0x185)]({channelId:_0x47b1b1=bt,threadId:_0x41b3ea,context:_0x2aa124,unlinkedAt:_0x56ed59,attributes:_0x3992ae,isFromAdapter:_0x4591af=!0x1}){const _0x122f1e=_0x126ea9;return this[_0x122f1e(0x163)](xt(_0x122f1e(0x185),_0x47b1b1),{'channelId':_0x47b1b1,'threadId':_0x41b3ea,'context':_0x2aa124,'unlinkedAt':_0x56ed59,'attributes':_0x3992ae,'isFromAdapter':_0x4591af}),this[_0x122f1e(0x17b)](_0x41b3ea);}[_0x126ea9(0x17b)](_0x4e908d){const _0x8be686=_0x126ea9;if(_0x8be686(0x150)!=typeof _0x4e908d)throw new _0x583339(_0x8be686(0x18a));return this[_0x8be686(0x1a3)][_0x8be686(0x183)](_0x4e908d);}[_0x126ea9(0x198)]({channelId:_0x50e128,threadId:_0x34623c}={}){const _0x30afb3=_0x126ea9,_0x3bc193=this[_0x30afb3(0x17b)](_0x34623c);if(_0x3bc193)return Promise[_0x30afb3(0x131)](_0x3bc193);if(!this[_0x30afb3(0x19d)])return Promise[_0x30afb3(0x131)](void 0x0);if(_0x30afb3(0x104)!=typeof this[_0x30afb3(0x19d)][_0x30afb3(0x17b)])throw new _0x583339(_0x30afb3(0x1b5),this[_0x30afb3(0x172)]);return this[_0x30afb3(0x19d)][_0x30afb3(0x17b)]({'channelId':_0x50e128,'threadId':_0x34623c})[_0x30afb3(0xf6)](_0x49311f=>this[_0x30afb3(0x13a)](_0x34623c)?this[_0x30afb3(0x17b)](_0x34623c):_0x49311f?this[_0x30afb3(0xfe)](Object[_0x30afb3(0x109)]({'isFromAdapter':!0x0,'channelId':_0x50e128},_0x49311f)):void 0x0)[_0x30afb3(0x169)](_0x57110c=>{const _0x4eb8a6=_0x30afb3;throw console[_0x4eb8a6(0x110)](_0x57110c),new _0x583339(_0x4eb8a6(0x117),this[_0x4eb8a6(0x172)]);});}[_0x126ea9(0x12a)]({channelId:_0xec4823,skipNotAttached:_0x3cf38a=!0x1,skipEmpty:_0x445a5b=!0x1,toJSON:_0x2c8a78=!0x1}={}){const _0x4c5a10=_0x126ea9,_0x554517=[];for(const _0x2b841f of this[_0x4c5a10(0x1a3)][_0x4c5a10(0x10f)]())_0xec4823&&_0x2b841f[_0x4c5a10(0x1a0)]!==_0xec4823||_0x3cf38a&&!_0x2b841f[_0x4c5a10(0x184)]||_0x445a5b&&0x0===_0x2b841f[_0x4c5a10(0x19e)]||_0x554517[_0x4c5a10(0x118)](_0x2b841f);return _0x2c8a78?_0x554517[_0x4c5a10(0x181)](_0x1bb745=>_0x1bb745[_0x4c5a10(0x1c7)]()):_0x554517;}[_0x126ea9(0x114)](_0x4d9716){const _0x37c14b=_0x126ea9,_0x2c0f5c=this[_0x37c14b(0x14e)][_0x37c14b(0x183)](_0x4d9716);if(!_0x2c0f5c)return null;return this[_0x37c14b(0x172)][_0x37c14b(0x121)][_0x37c14b(0x183)](_0x1a2014)[_0x37c14b(0x139)](_0x2c0f5c[_0x37c14b(0x13b)])||null;}[_0x126ea9(0x18f)](_0x391e60){const _0x4e4840=_0x126ea9,_0x3392b0=this[_0x4e4840(0x1ce)][_0x4e4840(0x183)](_0x391e60[_0x4e4840(0xf8)]);return _0x3392b0?_0x3392b0[_0x4e4840(0xe9)]:null;}[_0x126ea9(0xf2)](_0x33734a){const _0x221d9c=_0x126ea9,_0x5120ba=this[_0x221d9c(0x172)][_0x221d9c(0x121)][_0x221d9c(0x183)](_0x1a2014);if(!_0x33734a)return void(this[_0x221d9c(0x1b1)]&&_0x5120ba[_0x221d9c(0x120)]());const _0x31e87f=this[_0x221d9c(0x17b)](_0x33734a);if(!_0x31e87f)throw new _0x583339(_0x221d9c(0xee),null,{'threadId':_0x33734a});if(!this[_0x221d9c(0x14e)][_0x221d9c(0x18c)](_0x31e87f))throw new _0x583339(_0x221d9c(0xf9),null,{'threadId':_0x33734a});const _0x28982e=_0x5120ba[_0x221d9c(0x139)](this[_0x221d9c(0x14e)][_0x221d9c(0x183)](_0x31e87f)[_0x221d9c(0x13b)]);_0x5120ba[_0x221d9c(0x155)](_0x28982e);}[_0x126ea9(0x191)](_0x1704dd,_0x52b662){const _0x2d2d17=_0x126ea9;_0x1704dd?this[_0x2d2d17(0x137)][_0x2d2d17(0x1c2)](_0x52b662):this[_0x2d2d17(0x137)][_0x2d2d17(0x19f)](_0x52b662),this[_0x2d2d17(0x163)](_0x2d2d17(0x166),_0x2d2d17(0x137),this[_0x2d2d17(0x137)],this[_0x2d2d17(0x137)]);}[_0x126ea9(0x12e)](_0x443f24){const _0xbaafb9=_0x126ea9;return this[_0xbaafb9(0x137)][_0xbaafb9(0x18c)](_0x443f24)||this[_0xbaafb9(0x137)][_0xbaafb9(0x18c)](void 0x0);}[_0x126ea9(0x103)](_0xdfc506,_0x21e8d7){return new _0x5cf58b(_0xdfc506,_0x21e8d7);}[_0x126ea9(0x10a)](_0x811ea3,_0x3e1c5a=bt){const _0xffd093=_0x126ea9;this[_0xffd093(0x1c1)][_0xffd093(0x1bf)](_0x3e1c5a,_0x811ea3),this[_0xffd093(0x163)](_0xffd093(0x171),_0xffd093(0x1c1),this[_0xffd093(0x1c1)],this[_0xffd093(0x1c1)]);}[_0x126ea9(0x13f)](_0x2f8c4f=bt){const _0x180a9f=_0x126ea9;return this[_0x180a9f(0x1c1)][_0x180a9f(0x18c)](_0x2f8c4f)?this[_0x180a9f(0x1c1)][_0x180a9f(0x183)](_0x2f8c4f):Nt;}[_0x126ea9(0x1b2)]({channelId:_0x33c335,threadId:_0x50ef6a,comments:_0x28347a,unlinkedAt:_0x17aa96,resolvedAt:_0x5246e2,resolvedBy:_0x2a646e,target:_0x3597b6,context:_0x377534,attributes:_0x25ea9a,isFromAdapter:_0x3b60c4,isResolvable:_0x2047ad,isSubmitted:_0x3f455f}){const _0x3abf5f=_0x126ea9;if(_0x3abf5f(0x150)!=typeof _0x50ef6a)throw new _0x583339(_0x3abf5f(0x18a),null,{'threadId':_0x50ef6a});if(this[_0x3abf5f(0x13a)](_0x50ef6a))throw new _0x583339(_0x3abf5f(0x119),null,{'threadId':_0x50ef6a});const _0x2ee0ca=new CommentThread(this,{'channelId':_0x33c335,'id':_0x50ef6a,'context':_0x377534,'attributes':_0x25ea9a,'unlinkedAt':_0x17aa96,'resolvedAt':_0x5246e2,'resolvedBy':_0x2a646e?this[_0x3abf5f(0x172)][_0x3abf5f(0x121)][_0x3abf5f(0x183)](_0x49f2e6)[_0x3abf5f(0x10d)](_0x2a646e):null,'isResolvable':_0x2047ad,'isSubmitted':_0x3f455f||_0x3b60c4});this[_0x3abf5f(0x1a3)][_0x3abf5f(0x1bf)](_0x50ef6a,_0x2ee0ca);for(const _0x59f802 of _0x28347a)_0x2ee0ca[_0x3abf5f(0x147)](this[_0x3abf5f(0x177)]({'threadId':_0x50ef6a,..._0x59f802}));return _0x3597b6&&_0x2ee0ca[_0x3abf5f(0x1c6)](_0x3597b6),_0x3b60c4||!_0x2ee0ca[_0x3abf5f(0x19e)]?Promise[_0x3abf5f(0x131)]():this[_0x3abf5f(0x17e)]({'channelId':_0x33c335,'threadId':_0x50ef6a});}[_0x126ea9(0x17e)]({channelId:_0x56d083,threadId:_0x23ceb2}){const _0x6295c=_0x126ea9;if(!this[_0x6295c(0x13a)](_0x23ceb2))throw new _0x583339(_0x6295c(0x11f),this);const _0x510cbf=this[_0x6295c(0x17b)](_0x23ceb2);if(_0x510cbf[_0x6295c(0x127)]=!0x0,!this[_0x6295c(0x19d)]||_0x6295c(0x104)!=typeof this[_0x6295c(0x19d)][_0x6295c(0xfe)])return Promise[_0x6295c(0x131)]();const {id:_0x279cd6,comments:_0x1494c8,resolvedAt:_0x1f411d,resolvedBy:_0x2ba2ae,context:_0x1a4874,attributes:_0x1ae065}=_0x510cbf,_0x22416a=this[_0x6295c(0x172)][_0x6295c(0x121)][_0x6295c(0x183)](_0x6295c(0x1ca)),_0x22d32c=_0x22416a[_0x6295c(0x1c2)](_0x1a3dcb(this[_0x6295c(0x172)][_0x6295c(0x176)],_0x6295c(0xed)));return this[_0x6295c(0x19d)][_0x6295c(0xfe)]({'channelId':_0x56d083,'threadId':_0x279cd6,'comments':_0x1494c8[_0x6295c(0x181)](_0x2666b0=>_0x2666b0[_0x6295c(0x1c7)]()),'resolvedAt':_0x1f411d,'resolvedBy':_0x2ba2ae?_0x2ba2ae['id']:_0x2ba2ae,'context':_0x1a4874,'attributes':_0x1ae065})[_0x6295c(0xf6)](({comments:_0x248bd1})=>{const _0x260d9e=_0x6295c;_0x22416a[_0x260d9e(0x17f)](_0x22d32c);for(const _0x3546c6 of _0x248bd1)this[_0x260d9e(0x19a)]({'channelId':_0x56d083,'threadId':_0x23ceb2,'commentId':_0x3546c6[_0x260d9e(0x1cc)],'createdAt':_0x3546c6[_0x260d9e(0x102)],'isFromAdapter':!0x0});})[_0x6295c(0x169)](_0x52da9c=>{const _0x1c5d09=_0x6295c;throw console[_0x1c5d09(0x110)](_0x52da9c),new _0x583339(_0x1c5d09(0x15a),this);});}[_0x126ea9(0x16e)]({threadId:_0x13af32,target:_0x47cf44}){const _0x711fbd=_0x126ea9,_0x1ac5ad=this[_0x711fbd(0x17b)](_0x13af32);if(!_0x1ac5ad)throw new _0x583339(_0x711fbd(0x12c),this);const _0x1c2f17=this[_0x711fbd(0x172)][_0x711fbd(0x121)][_0x711fbd(0x183)](_0x711fbd(0x1ca)),_0x59ee0c=this[_0x711fbd(0x172)][_0x711fbd(0x121)][_0x711fbd(0x183)](_0x1a2014),_0x284202=this[_0x711fbd(0x105)](_0x1ac5ad),_0x5ec5fe=new _0x5cf58b(_0x1ac5ad,_0x284202);let _0x328299=null;_0x284202['on'](_0x711fbd(0x182),(_0x2afc76,_0x58ea0c,_0x4f689d)=>{const _0x7042b8=_0x711fbd;_0x4f689d?_0x328299=_0x1c2f17[_0x7042b8(0x1c2)](_0x1a3dcb(this[_0x7042b8(0x172)][_0x7042b8(0x176)],_0x7042b8(0xed))):_0x328299&&(_0x1c2f17[_0x7042b8(0x17f)](_0x328299),_0x328299=null);}),this[_0x711fbd(0x14e)][_0x711fbd(0x1bf)](_0x1ac5ad,_0x5ec5fe),this[_0x711fbd(0x1ce)][_0x711fbd(0x1bf)](_0x284202,_0x5ec5fe);const _0x408830=new _0x1a4740(this[_0x711fbd(0x172)][_0x711fbd(0x176)],_0x284202);_0x408830[_0x711fbd(0x14d)](_0x711fbd(0x19e))['to'](_0x284202),_0x408830[_0x711fbd(0x14d)](_0x711fbd(0x14a))['to'](_0x284202,_0x711fbd(0x14a),_0x284202,_0x711fbd(0x19e),(_0x47ac8f,_0x1bdf40)=>_0x47ac8f||!_0x1bdf40),_0x408830[_0x711fbd(0x14d)](_0x711fbd(0x190))['to'](_0x284202),_0x408830[_0x711fbd(0x158)]=_0x711fbd(0x146);const _0x48ce45=new _0x2b7783({'view':_0x408830,'target':_0x47cf44,'type':_0x711fbd(0x146),'isVisible':!_0x1ac5ad[_0x711fbd(0x1bd)]&&!!(_0x711fbd(0x104)==typeof _0x47cf44?_0x47cf44():_0x47cf44)});return _0x284202['on'](_0x711fbd(0x1b3),()=>{const _0x81097f=_0x711fbd;_0x48ce45[_0x81097f(0x163)](_0x81097f(0x1b3));}),this[_0x711fbd(0x129)](_0x284202,_0x48ce45),_0x59ee0c[_0x711fbd(0x1c2)](_0x48ce45),_0x48ce45;}[_0x126ea9(0x129)](_0x4ee3b8,_0x16d64b){const _0x39a8f6=_0x126ea9;this[_0x39a8f6(0x199)](_0x4ee3b8,_0x39a8f6(0x15f),(_0x46fdd5,_0x1ab6f0)=>{const _0x5b517b=_0x39a8f6,_0x2e1b16=_0x1ab6f0['ui'][_0x5b517b(0x13b)][_0x5b517b(0x148)][_0x5b517b(0x10c)];_0x16d64b[_0x5b517b(0x12f)][_0x5b517b(0x1c2)](_0x2e1b16),this[_0x5b517b(0x172)]instanceof _0x48c152&&this[_0x5b517b(0x172)]['ui'][_0x5b517b(0x143)][_0x5b517b(0x1c2)](_0x2e1b16);},{'priority':_0x39a8f6(0x14c)}),this[_0x39a8f6(0x199)](_0x4ee3b8,_0x39a8f6(0x168),(_0x24d1d7,_0x44920d)=>{const _0xaf78a4=_0x39a8f6,_0x2801f1=_0x44920d['ui'][_0xaf78a4(0x13b)][_0xaf78a4(0x148)][_0xaf78a4(0x10c)];_0x16d64b[_0xaf78a4(0x12f)][_0xaf78a4(0x18c)](_0x2801f1)&&_0x16d64b[_0xaf78a4(0x12f)][_0xaf78a4(0x17f)](_0x2801f1),this[_0xaf78a4(0x172)]instanceof _0x48c152&&this[_0xaf78a4(0x172)]['ui'][_0xaf78a4(0x143)][_0xaf78a4(0x17f)](_0x2801f1);});}[_0x126ea9(0x14f)](_0x34abc5){const _0x28e1d1=_0x126ea9;this[_0x28e1d1(0x106)](_0x34abc5,_0x28e1d1(0x15f)),this[_0x28e1d1(0x106)](_0x34abc5,_0x28e1d1(0x168));}[_0x126ea9(0x105)](_0x42be66){const _0x1e3f83=_0x126ea9,_0x3ebc18=this[_0x1e3f83(0x172)][_0x1e3f83(0x121)][_0x1e3f83(0x183)](_0x49f2e6),{config:_0xb2f7f6,locale:_0xba45a7}=this[_0x1e3f83(0x172)],_0x595979=_0x11cec0(_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x176)),_0xba45a7);return new(0x0,(_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x1ad)))[(_0x1e3f83(0x1b8))])(_0xba45a7,_0x42be66,_0x3ebc18['me'],{'editorConfig':{..._0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x18d)),'licenseKey':this[_0x1e3f83(0x172)][_0x1e3f83(0xfb)][_0x1e3f83(0x183)](_0x1e3f83(0x1a4))},'copyMarkers':_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x13c)),'maxCommentsWhenCollapsed':_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x1ac)),'maxThreadTotalWeight':_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x11c)),'maxCommentCharsWhenCollapsed':_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x1a8)),'formatDateTime':_0x595979,'CommentView':_0xb2f7f6[_0x1e3f83(0x183)](_0x1e3f83(0x1ad))[_0x1e3f83(0x156)]});}[_0x126ea9(0x113)]({threadId:_0x2cffbb,channelId:_0x56e7c6,resolvedAt:_0x442c24,resolvedBy:_0x576243,isFromAdapter:_0x19a8fc}){const _0x1edb70=_0x126ea9;if(!this[_0x1edb70(0x13a)](_0x2cffbb))throw new _0x583339(_0x1edb70(0x11f),null,{'threadId':_0x2cffbb});const _0x1c2e62=this[_0x1edb70(0x17b)](_0x2cffbb);if(_0x1c2e62[_0x1edb70(0xef)])throw new _0x583339(_0x1edb70(0x196),null,{'threadId':_0x2cffbb});const _0x47b71f=this[_0x1edb70(0x172)][_0x1edb70(0x121)][_0x1edb70(0x183)](_0x49f2e6);if(_0x1c2e62[_0x1edb70(0x195)]=_0x47b71f[_0x1edb70(0x10d)](_0x576243),_0x1c2e62[_0x1edb70(0x174)]=_0x442c24,_0x19a8fc||!this[_0x1edb70(0x19d)]||_0x1edb70(0x104)!=typeof this[_0x1edb70(0x19d)][_0x1edb70(0x1a6)])return Promise[_0x1edb70(0x131)]();const _0x274040=this[_0x1edb70(0x172)][_0x1edb70(0x121)][_0x1edb70(0x183)](_0x1edb70(0x1ca)),_0x3383c1=_0x274040[_0x1edb70(0x1c2)](_0x1a3dcb(this[_0x1edb70(0x172)][_0x1edb70(0x176)],_0x1edb70(0xed)));return this[_0x1edb70(0x19d)][_0x1edb70(0x1a6)]({'channelId':_0x56e7c6,'threadId':_0x2cffbb})[_0x1edb70(0xf6)](({resolvedAt:_0x250ea8,resolvedBy:_0x3ce029})=>{const _0x272953=_0x1edb70;_0x274040[_0x272953(0x17f)](_0x3383c1),_0x1c2e62[_0x272953(0x195)]['id']!==_0x3ce029&&(_0x1c2e62[_0x272953(0x195)]=_0x47b71f[_0x272953(0x10d)](_0x3ce029)),_0x1c2e62[_0x272953(0x174)]=_0x250ea8;})[_0x1edb70(0x169)](_0x1cbbe7=>{const _0x2f6854=_0x1edb70;throw console[_0x2f6854(0x110)](_0x1cbbe7),new _0x583339(_0x2f6854(0x108),this);});}[_0x126ea9(0xf4)]({threadId:_0x36a4e7,channelId:_0x46d467,isFromAdapter:_0x5b9d1b}){const _0x26e06a=_0x126ea9;if(!this[_0x26e06a(0x13a)](_0x36a4e7))throw new _0x583339(_0x26e06a(0x11f),null,{'threadId':_0x36a4e7});const _0x49ffcc=this[_0x26e06a(0x17b)](_0x36a4e7);if(!_0x49ffcc[_0x26e06a(0xef)])throw new _0x583339(_0x26e06a(0x107),null,{'threadId':_0x36a4e7});if(_0x49ffcc[_0x26e06a(0x195)]=null,_0x49ffcc[_0x26e06a(0x174)]=null,_0x5b9d1b||!this[_0x26e06a(0x19d)]||_0x26e06a(0x104)!=typeof this[_0x26e06a(0x19d)][_0x26e06a(0x124)])return Promise[_0x26e06a(0x131)]();const _0x45da90=this[_0x26e06a(0x172)][_0x26e06a(0x121)][_0x26e06a(0x183)](_0x26e06a(0x1ca)),_0x376131=_0x45da90[_0x26e06a(0x1c2)](_0x1a3dcb(this[_0x26e06a(0x172)][_0x26e06a(0x176)],_0x26e06a(0xed)));return this[_0x26e06a(0x19d)][_0x26e06a(0x124)]({'channelId':_0x46d467,'threadId':_0x36a4e7})[_0x26e06a(0xf6)](()=>_0x45da90[_0x26e06a(0x17f)](_0x376131))[_0x26e06a(0x169)](_0x5beb6b=>{const _0x30e1b4=_0x26e06a;throw console[_0x30e1b4(0x110)](_0x5beb6b),new _0x583339(_0x30e1b4(0x126),this);});}[_0x126ea9(0x134)]({threadId:_0x511596,isFromAdapter:_0xca00fd}){const _0x5bc991=_0x126ea9,_0x536215=this[_0x5bc991(0x17b)](_0x511596);if(!_0x536215)throw new _0x583339(_0x5bc991(0x1a1),this);if(this[_0x5bc991(0x115)](_0x511596),this[_0x5bc991(0x1a3)][_0x5bc991(0x19f)](_0x511596),!_0x536215[_0x5bc991(0xfa)]||_0xca00fd||!this[_0x5bc991(0x19d)]||_0x5bc991(0x104)!=typeof this[_0x5bc991(0x19d)][_0x5bc991(0x125)])return Promise[_0x5bc991(0x131)]();const _0x324b2f=this[_0x5bc991(0x172)][_0x5bc991(0x121)][_0x5bc991(0x183)](_0x5bc991(0x1ca)),{channelId:_0x37664c}=_0x536215,_0x398e48=_0x324b2f[_0x5bc991(0x1c2)](_0x1a3dcb(this[_0x5bc991(0x172)][_0x5bc991(0x176)],_0x5bc991(0xed)));return this[_0x5bc991(0x19d)][_0x5bc991(0x125)]({'channelId':_0x37664c,'threadId':_0x511596})[_0x5bc991(0xf6)](()=>_0x324b2f[_0x5bc991(0x17f)](_0x398e48))[_0x5bc991(0x169)](_0x820314=>{const _0x2e330e=_0x5bc991;throw console[_0x2e330e(0x110)](_0x820314),new _0x583339(_0x2e330e(0x170),this);});}[_0x126ea9(0x111)]({threadId:_0x3fcd2f,unlinkedAt:_0x126a78,context:_0x52f740,attributes:_0x19dd8e,isFromAdapter:_0x5e2722}){const _0x5e2582=_0x126ea9;if(_0x5e2582(0x150)!=typeof _0x3fcd2f)throw new _0x583339(_0x5e2582(0x18a),null,{'threadId':_0x3fcd2f});if(!this[_0x5e2582(0x13a)](_0x3fcd2f))throw new _0x583339(_0x5e2582(0x11f),null,{'threadId':_0x3fcd2f});const _0x91b6b7=this[_0x5e2582(0x17b)](_0x3fcd2f);let _0x5cd619=!0x1;if(void 0x0!==_0x52f740&&_0x91b6b7[_0x5e2582(0x172)]!==_0x52f740&&(_0x91b6b7[_0x5e2582(0x172)]=_0x52f740,_0x5cd619=!0x0),void 0x0!==_0x126a78&&_0x91b6b7[_0x5e2582(0x140)]!==_0x126a78&&(_0x91b6b7[_0x5e2582(0x140)]=_0x126a78,_0x5cd619=!0x0),_0x19dd8e&&!_0x800afc(_0x19dd8e,_0x91b6b7[_0x5e2582(0x19c)])&&(_0x91b6b7[_0x5e2582(0x19c)]=_0x19dd8e,_0x5cd619=!0x0),!_0x5cd619)return Promise[_0x5e2582(0x131)]();if(!_0x91b6b7[_0x5e2582(0xfa)]||_0x5e2722||!this[_0x5e2582(0x19d)]||_0x5e2582(0x104)!=typeof this[_0x5e2582(0x19d)][_0x5e2582(0x185)])return Promise[_0x5e2582(0x131)]();const _0x3dd57c=this[_0x5e2582(0x172)][_0x5e2582(0x121)][_0x5e2582(0x183)](_0x5e2582(0x1ca)),{channelId:_0x1fea38}=_0x91b6b7,_0xc9657d=_0x3dd57c[_0x5e2582(0x1c2)](_0x1a3dcb(this[_0x5e2582(0x172)][_0x5e2582(0x176)],_0x5e2582(0xed)));return this[_0x5e2582(0x19d)][_0x5e2582(0x185)]({'channelId':_0x1fea38,'threadId':_0x3fcd2f,'context':_0x52f740,'unlinkedAt':_0x126a78,'attributes':_0x19dd8e})[_0x5e2582(0xf6)](()=>_0x3dd57c[_0x5e2582(0x17f)](_0xc9657d))[_0x5e2582(0x169)](_0x5a4f75=>{const _0x46de3a=_0x5e2582;throw console[_0x46de3a(0x110)](_0x5a4f75),new _0x583339(_0x46de3a(0x16c),this);});}[_0x126ea9(0x115)](_0x18b6db){const _0x1414ef=_0x126ea9,_0x64f79d=this[_0x1414ef(0x172)][_0x1414ef(0x121)][_0x1414ef(0x183)](_0x1a2014),_0xc60537=this[_0x1414ef(0x17b)](_0x18b6db);if(_0xc60537[_0x1414ef(0x1ba)]=!0x1,this[_0x1414ef(0x14e)][_0x1414ef(0x18c)](_0xc60537)){const _0x3aa640=this[_0x1414ef(0x14e)][_0x1414ef(0x183)](_0xc60537),_0x3cdb95=_0x3aa640[_0x1414ef(0x13b)],_0x4951ed=_0x64f79d[_0x1414ef(0x139)](_0x3cdb95);this[_0x1414ef(0x14e)][_0x1414ef(0x19f)](_0xc60537),this[_0x1414ef(0x1ce)][_0x1414ef(0x19f)](_0x3cdb95),_0x4951ed&&_0x64f79d[_0x1414ef(0x17f)](_0x4951ed),_0x3aa640[_0x1414ef(0xea)](),_0x3cdb95[_0x1414ef(0xea)]()[_0x1414ef(0xf6)](()=>{const _0xeddfe5=_0x1414ef;this[_0xeddfe5(0x14f)](_0x3cdb95);});}}[_0x126ea9(0x16d)]({threadId:_0x59ba58,resolvedAt:_0x23b142,unlinkedAt:_0x508248}){const _0x442ad4=_0x126ea9,_0x2146a1=!!_0x23b142,_0x3eaffe=this[_0x442ad4(0x172)][_0x442ad4(0x121)][_0x442ad4(0x183)](_0x1a2014),_0x37052e=this[_0x442ad4(0x17b)](_0x59ba58);if(this[_0x442ad4(0x14e)][_0x442ad4(0x18c)](_0x37052e)){const _0x15f8bb=this[_0x442ad4(0x14e)][_0x442ad4(0x183)](_0x37052e)[_0x442ad4(0x13b)],_0x2f4d5a=_0x3eaffe[_0x442ad4(0x139)](_0x15f8bb);_0x2f4d5a&&(_0x2146a1&&_0x3eaffe[_0x442ad4(0x13d)](_0x2f4d5a),_0x508248?_0x2f4d5a[_0x442ad4(0x149)]=!0x1:_0x2f4d5a[_0x442ad4(0xf5)]());}}[_0x126ea9(0xfd)](_0x57ea62){const _0x4b65bc=_0x126ea9,_0x2f5894=this[_0x4b65bc(0x172)][_0x4b65bc(0x121)][_0x4b65bc(0x183)](_0x49f2e6),_0x9b6667=_0x227ca2(_0x4b65bc(0x138)+_0x57ea62),_0x3b17be=_0x2f5894[_0x4b65bc(0x10d)](_0x9b6667);return _0x3b17be||_0x2f5894[_0x4b65bc(0x1bb)]({'id':_0x9b6667,'name':_0x57ea62});}[_0x126ea9(0x177)]({threadId:_0x34a048,commentId:_0x4ad160=_0x53f382(),content:_0x52ce57,authorId:_0x312a94,createdAt:_0x1f022d,attributes:_0x2e0fb5}){const _0x2e525f=_0x126ea9;if(_0x2e525f(0x150)!=typeof _0x4ad160)throw new _0x583339(_0x2e525f(0x142));if(_0x2e525f(0x150)!=typeof _0x312a94)throw new _0x583339(_0x2e525f(0x123));if(_0x2e525f(0x150)!=typeof _0x52ce57||!_0x52ce57[_0x2e525f(0x19b)]())throw new _0x583339(_0x2e525f(0x189));const _0x126a2f=this[_0x2e525f(0x172)][_0x2e525f(0x121)][_0x2e525f(0x183)](_0x49f2e6)[_0x2e525f(0x10d)](_0x312a94);if(!_0x126a2f)throw new _0x583339(_0x2e525f(0x1b6),null,{'authorId':_0x312a94});let _0x158e66=null,_0xbb9298=_0x1f022d;return _0x2e0fb5?.[_0x2e525f(0xf3)]&&(_0x158e66=this[_0x2e525f(0xfd)](_0x2e0fb5[_0x2e525f(0xf3)][_0x2e525f(0x14b)]),_0xbb9298=new Date(_0x2e0fb5[_0x2e525f(0xf3)][_0x2e525f(0x102)])),new Comment(this,{'threadId':_0x34a048,'id':_0x4ad160,'author':_0x158e66||_0x126a2f,'creator':_0x126a2f,'content':_0x52ce57,'createdAt':_0x1f022d,'authoredAt':_0xbb9298,'attributes':_0x2e0fb5});}[_0x126ea9(0x15c)](_0x55a24d){const _0x47685d=_0x126ea9;let {threadId:_0x1cc6fe,content:_0x2221fc,attributes:_0x1cb0fa,isFromAdapter:_0xa46b00}=_0x55a24d;const _0x213350=this[_0x47685d(0x17b)](_0x55a24d[_0x47685d(0x179)]);if(!_0x213350)throw new _0x583339(_0x47685d(0x152),this);const _0x2bf229=this[_0x47685d(0x177)](_0x55a24d),{id:_0x46362e}=_0x2bf229;if(_0x213350[_0x47685d(0x147)](_0x2bf229),_0xa46b00||!this[_0x47685d(0x19d)]||_0x47685d(0x104)!=typeof this[_0x47685d(0x19d)][_0x47685d(0x162)]||!_0x213350[_0x47685d(0xfa)])return Promise[_0x47685d(0x131)]();const _0x322a0d=this[_0x47685d(0x172)][_0x47685d(0x121)][_0x47685d(0x183)](_0x47685d(0x1ca)),{channelId:_0x308503}=_0x213350,_0x3942a6=_0x322a0d[_0x47685d(0x1c2)](_0x1a3dcb(this[_0x47685d(0x172)][_0x47685d(0x176)],_0x47685d(0xed)));return _0x1cb0fa||(_0x1cb0fa={}),this[_0x47685d(0x19d)][_0x47685d(0x162)]({'channelId':_0x308503,'threadId':_0x1cc6fe,'commentId':_0x46362e,'content':_0x2221fc,'attributes':_0x1cb0fa})[_0x47685d(0xf6)](_0x2b024e=>{const _0x2be051=_0x47685d;_0x322a0d[_0x2be051(0x17f)](_0x3942a6),_0x2b024e&&this[_0x2be051(0x19a)]({'channelId':_0x308503,'threadId':_0x1cc6fe,'commentId':_0x46362e,'createdAt':_0x2b024e[_0x2be051(0x102)],'isFromAdapter':!0x0});})[_0x47685d(0x169)](_0x2cc7a8=>{const _0xac466a=_0x47685d;throw console[_0xac466a(0x110)](_0x2cc7a8),new _0x583339(_0xac466a(0x1ab),this);});}[_0x126ea9(0x19a)]({threadId:_0x53515e,commentId:_0x48af93,content:_0x3f4a9c,createdAt:_0x4e0efe,attributes:_0x138cc0,isFromAdapter:_0x5e75d3}){const _0x44f967=_0x126ea9;if(void 0x0!==_0x3f4a9c&&(_0x44f967(0x150)!=typeof _0x3f4a9c||!_0x3f4a9c[_0x44f967(0x19b)]()[_0x44f967(0x19e)]))throw new _0x583339(_0x44f967(0x11d));const _0x407315=this[_0x44f967(0x17b)](_0x53515e),_0x5a7cb4=_0x407315[_0x44f967(0x1aa)](_0x48af93);if(!_0x5a7cb4)throw new _0x583339(_0x44f967(0x1b0),this);let _0x1ee887=!0x1;if(_0x3f4a9c&&_0x3f4a9c!==_0x5a7cb4[_0x44f967(0x12d)]&&(_0x5a7cb4[_0x44f967(0x128)]||_0x5e75d3)&&(_0x5a7cb4[_0x44f967(0x12d)]=_0x3f4a9c,_0x1ee887=!0x0),_0x4e0efe&&_0x4e0efe!==_0x5a7cb4[_0x44f967(0x102)]&&(_0x5a7cb4[_0x44f967(0x102)]=_0x4e0efe,_0x5a7cb4[_0x44f967(0x19c)]&&_0x5a7cb4[_0x44f967(0x19c)][_0x44f967(0xf3)]||(_0x5a7cb4[_0x44f967(0xeb)]=_0x4e0efe),_0x1ee887=!0x0),_0x138cc0&&!_0x800afc(_0x138cc0,_0x5a7cb4[_0x44f967(0x19c)])&&(_0x5a7cb4[_0x44f967(0x19c)]=_0x138cc0,_0x1ee887=!0x0),!_0x1ee887)return Promise[_0x44f967(0x131)]();if(_0x407315[_0x44f967(0x163)](_0x44f967(0x100)),_0x5e75d3||!this[_0x44f967(0x19d)]||_0x44f967(0x104)!=typeof this[_0x44f967(0x19d)][_0x44f967(0x144)])return Promise[_0x44f967(0x131)]();const _0x503d9a=this[_0x44f967(0x172)][_0x44f967(0x121)][_0x44f967(0x183)](_0x44f967(0x1ca)),{channelId:_0x32fdd4}=this[_0x44f967(0x17b)](_0x5a7cb4[_0x44f967(0x179)]),_0x4574e8=_0x503d9a[_0x44f967(0x1c2)](_0x1a3dcb(this[_0x44f967(0x172)][_0x44f967(0x176)],_0x44f967(0xed)));return this[_0x44f967(0x19d)][_0x44f967(0x144)]({'channelId':_0x32fdd4,'threadId':_0x53515e,'commentId':_0x48af93,'content':_0x3f4a9c,'attributes':_0x138cc0})[_0x44f967(0xf6)](()=>_0x503d9a[_0x44f967(0x17f)](_0x4574e8))[_0x44f967(0x169)](_0x1ce11f=>{const _0x302374=_0x44f967;throw console[_0x302374(0x110)](_0x1ce11f),new _0x583339(_0x302374(0x18e),this);});}[_0x126ea9(0x1c5)]({threadId:_0x360b13,commentId:_0x213946,isFromAdapter:_0x3ee093}){const _0x48b2b7=_0x126ea9,_0x332a45=this[_0x48b2b7(0x17b)](_0x360b13),_0x33ff33=_0x332a45[_0x48b2b7(0x1aa)](_0x213946);if(!_0x33ff33)throw new _0x583339(_0x48b2b7(0xf7),this);if(_0x332a45[_0x48b2b7(0x1ae)](_0x33ff33),_0x3ee093||!this[_0x48b2b7(0x19d)]||_0x48b2b7(0x104)!=typeof this[_0x48b2b7(0x19d)][_0x48b2b7(0x15b)])return Promise[_0x48b2b7(0x131)]();const _0x2b651e=this[_0x48b2b7(0x172)][_0x48b2b7(0x121)][_0x48b2b7(0x183)](_0x48b2b7(0x1ca)),{channelId:_0x2c4167}=_0x332a45,_0x53ff56=_0x2b651e[_0x48b2b7(0x1c2)](_0x1a3dcb(this[_0x48b2b7(0x172)][_0x48b2b7(0x176)],_0x48b2b7(0xed)));return this[_0x48b2b7(0x19d)][_0x48b2b7(0x15b)]({'channelId':_0x2c4167,'threadId':_0x360b13,'commentId':_0x213946})[_0x48b2b7(0xf6)](()=>_0x2b651e[_0x48b2b7(0x17f)](_0x53ff56))[_0x48b2b7(0x169)](_0x3d6d6f=>{const _0x419fc6=_0x48b2b7;throw console[_0x419fc6(0x110)](_0x3d6d6f),new _0x583339(_0x419fc6(0x178),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x49d257(){[_0x126ea9(0x1a0)];['id'];[_0x126ea9(0x1ba)];[_0x126ea9(0x127)];[_0x126ea9(0x1ad)];[_0x126ea9(0x1c4)];constructor(_0x20ff0a,_0x335545){const _0x43e0f4=_0x126ea9;super();const _0x3a7873=_0x335545[_0x43e0f4(0x11e)];this[_0x43e0f4(0x1a0)]=_0x335545[_0x43e0f4(0x1a0)],this['id']=_0x335545['id'],this[_0x43e0f4(0x1ad)]=new _0x1b5a87(),this[_0x43e0f4(0x1c4)]=_0x20ff0a,this[_0x43e0f4(0x1ba)]=!0x1,this[_0x43e0f4(0x127)]=_0x335545[_0x43e0f4(0xfa)],this[_0x43e0f4(0x1bf)](_0x43e0f4(0xe8),!0x0),this[_0x43e0f4(0x14d)](_0x43e0f4(0x12e))['to'](_0x20ff0a,_0x43e0f4(0x1c1),_0x20ff0a,_0x43e0f4(0x137),()=>_0x20ff0a[_0x43e0f4(0x12e)](this[_0x43e0f4(0x1a0)])),this[_0x43e0f4(0x14d)](_0x43e0f4(0x18b))['to'](_0x20ff0a,_0x43e0f4(0x1c1),()=>_0x20ff0a[_0x43e0f4(0x13f)](this[_0x43e0f4(0x1a0)])[_0x43e0f4(0x112)]),this[_0x43e0f4(0x14d)](_0x43e0f4(0x17c))['to'](_0x20ff0a,_0x43e0f4(0x1c1),()=>{const _0xdb2f3f=_0x43e0f4,_0x138c3c=_0x20ff0a[_0xdb2f3f(0x13f)](this[_0xdb2f3f(0x1a0)]);return _0x138c3c[_0xdb2f3f(0xf1)]||_0x138c3c[_0xdb2f3f(0x112)];}),this[_0x43e0f4(0x14d)](_0x43e0f4(0x11e))['to'](_0x20ff0a,_0x43e0f4(0x1c1),()=>_0x3a7873&&_0x20ff0a[_0x43e0f4(0x13f)](this[_0x43e0f4(0x1a0)])[_0x43e0f4(0x131)]),this[_0x43e0f4(0x1bf)](_0x43e0f4(0x172),_0x335545[_0x43e0f4(0x172)]),this[_0x43e0f4(0x14d)](_0x43e0f4(0x1bd))['to'](this,_0x43e0f4(0x174),this,_0x43e0f4(0x140),(_0x5680b6,_0x3a982b)=>_0x5680b6?_0x3a982b?_0x5680b6<_0x3a982b?_0x5680b6:_0x3a982b:_0x5680b6:_0x3a982b),this[_0x43e0f4(0x1bf)](_0x43e0f4(0x140),_0x335545[_0x43e0f4(0x140)]||null),this[_0x43e0f4(0x1bf)](_0x43e0f4(0x174),_0x335545[_0x43e0f4(0x174)]||null),this[_0x43e0f4(0x1bf)](_0x43e0f4(0x195),_0x335545[_0x43e0f4(0x195)]||null),this[_0x43e0f4(0x14d)](_0x43e0f4(0xef))['to'](this,_0x43e0f4(0x174),_0x4f7fc9=>!!_0x4f7fc9),this[_0x43e0f4(0x1bf)](_0x43e0f4(0x19c),_0x335545[_0x43e0f4(0x19c)]||{});}get[_0x126ea9(0x194)](){const _0x533dc1=_0x126ea9;return Array[_0x533dc1(0x151)](this[_0x533dc1(0x1ad)])[_0x533dc1(0x193)]((_0x62749d,_0x293fbb)=>_0x62749d+_0x293fbb[_0x533dc1(0x194)],0x0);}get[_0x126ea9(0x19e)](){const _0x25056c=_0x126ea9;return this[_0x25056c(0x1ad)][_0x25056c(0x19e)];}get[_0x126ea9(0x184)](){const _0x269806=_0x126ea9;return this[_0x269806(0x1ba)];}get[_0x126ea9(0xfa)](){const _0x4d3c3b=_0x126ea9;return this[_0x4d3c3b(0x127)];}[_0x126ea9(0x11a)](){const _0x3009fb=_0x126ea9,{channelId:_0x2727aa,id:_0x509e03}=this;this[_0x3009fb(0x1c4)][_0x3009fb(0x163)](xt(_0x3009fb(0x188),_0x2727aa),{'channelId':_0x2727aa,'threadId':_0x509e03});}[_0x126ea9(0x12b)](_0x302082){const _0x9bf269=_0x126ea9;this[_0x9bf269(0xff)]({'unlinkedAt':_0x302082});}[_0x126ea9(0x131)]({resolvedAt:_0x103f02=new Date(),resolvedBy:_0x391903='',isFromAdapter:_0x1af7cc=!0x1}={}){const _0x1573f7=_0x126ea9,_0x78a418=this[_0x1573f7(0x1c4)][_0x1573f7(0x172)][_0x1573f7(0x121)][_0x1573f7(0x183)](_0x49f2e6)['me'],{channelId:_0x48a1dd,id:_0x1371aa}=this;this[_0x1573f7(0x1c4)][_0x1573f7(0x163)](xt(_0x1573f7(0x1a6),_0x48a1dd),{'channelId':_0x48a1dd,'threadId':_0x1371aa,'resolvedAt':_0x103f02,'resolvedBy':_0x391903||_0x78a418['id'],'isFromAdapter':_0x1af7cc});}[_0x126ea9(0x16b)]({isFromAdapter:_0x4aa994=!0x1}={}){const _0x5a76db=_0x126ea9,{channelId:_0x22142b,id:_0x2fc7a7}=this;this[_0x5a76db(0x1c4)][_0x5a76db(0x163)](xt(_0x5a76db(0x124),_0x22142b),{'channelId':_0x22142b,'threadId':_0x2fc7a7,'isFromAdapter':_0x4aa994});}[_0x126ea9(0x122)](_0x153e49){const _0x3dd177=_0x126ea9;this[_0x3dd177(0x172)]||this[_0x3dd177(0xff)]({'context':_0x153e49});}[_0x126ea9(0x1be)](_0x37000c,_0x33952f){const _0x5c1b03=_0x126ea9,_0x46c6fc=_0x1fcb7a(this[_0x5c1b03(0x19c)]);_0x5e45c0(_0x46c6fc,_0x37000c,_0x33952f),this[_0x5c1b03(0xff)]({'attributes':_0x46c6fc});}[_0x126ea9(0xec)](_0x11ce76){const _0xea4067=_0x126ea9,_0x41a3c7=_0x1fcb7a(this[_0xea4067(0x19c)]);_0x11cf5e(_0x41a3c7,_0x11ce76),this[_0xea4067(0xff)]({'attributes':_0x41a3c7});}[_0x126ea9(0x17f)]({isFromAdapter:_0x11034a=!0x1}={}){const _0x25466b=_0x126ea9,{channelId:_0x87ec4f,id:_0x17e7ab}=this;this[_0x25466b(0x1c4)][_0x25466b(0x163)](xt(_0x25466b(0x125),_0x87ec4f),{'channelId':_0x87ec4f,'threadId':_0x17e7ab,'isFromAdapter':_0x11034a});}[_0x126ea9(0x1c6)](_0x3bedf1){const _0x2d2e33=_0x126ea9;return this[_0x2d2e33(0x1c4)][_0x2d2e33(0x16e)]({'threadId':this['id'],'target':_0x3bedf1});}[_0x126ea9(0x162)](_0x306354){const _0x449c42=_0x126ea9,{channelId:_0x18ea53,id:_0x258fee}=this;this[_0x449c42(0x1c4)][_0x449c42(0x163)](xt(_0x449c42(0x162),_0x18ea53,_0x258fee),Object[_0x449c42(0x109)]({'channelId':_0x18ea53,'threadId':_0x258fee},_0x306354));}[_0x126ea9(0x1aa)](_0xb6f52c){const _0x535c04=_0x126ea9;if(_0x535c04(0x150)!=typeof _0xb6f52c)throw new _0x583339(_0x535c04(0x165),null,{'commentId':_0xb6f52c});return this[_0x535c04(0x1ad)][_0x535c04(0x183)](_0xb6f52c);}[_0x126ea9(0x1c7)](){const _0x32cf39=_0x126ea9;return{'threadId':this['id'],'context':this[_0x32cf39(0x172)],'unlinkedAt':this[_0x32cf39(0x140)],'resolvedAt':this[_0x32cf39(0x174)],'resolvedBy':this[_0x32cf39(0x195)]?this[_0x32cf39(0x195)]['id']:null,'archivedAt':this[_0x32cf39(0x1bd)],'comments':this[_0x32cf39(0x1ad)][_0x32cf39(0x181)](_0x125cab=>_0x125cab[_0x32cf39(0x1c7)]()),'attributes':this[_0x32cf39(0x19c)]};}[_0x126ea9(0x147)](_0xf2be29){const _0x3ba4cd=_0x126ea9;return this[_0x3ba4cd(0x199)](_0xf2be29,_0x3ba4cd(0x132),()=>{const _0x56e87a=_0x3ba4cd,_0x114bf6=this[_0x56e87a(0x13e)](_0xf2be29),_0x2940ad=this[_0x56e87a(0x1ad)];_0x114bf6-0x1!=_0x2940ad[_0x56e87a(0x1b4)](_0xf2be29)&&_0x114bf6+0x1!=_0x2940ad[_0x56e87a(0x1b4)](_0xf2be29)&&(this[_0x56e87a(0x1ae)](_0xf2be29),this[_0x56e87a(0x147)](_0xf2be29));}),this[_0x3ba4cd(0x1ad)][_0x3ba4cd(0x1c2)](_0xf2be29,this[_0x3ba4cd(0x13e)](_0xf2be29));}[_0x126ea9(0xff)](_0x1e54b7){const _0x3c4cab=_0x126ea9,{channelId:_0x55a21a,id:_0x1f2588}=this;this[_0x3c4cab(0x1c4)][_0x3c4cab(0x163)](xt(_0x3c4cab(0x185),_0x55a21a),{..._0x1e54b7,'channelId':_0x55a21a,'threadId':_0x1f2588});}[_0x126ea9(0x1ae)](_0x4c922c){const _0x36a57d=_0x126ea9;return this[_0x36a57d(0x106)](_0x4c922c),_0x4c922c[_0x36a57d(0xea)](),this[_0x36a57d(0x1ad)][_0x36a57d(0x17f)](_0x4c922c);}[_0x126ea9(0x13e)](_0x335e4d){const _0x9d2bf1=_0x126ea9,_0x510475=this[_0x9d2bf1(0x1ad)][_0x9d2bf1(0x101)](_0x35fa56=>new Date(_0x35fa56[_0x9d2bf1(0xeb)])[_0x9d2bf1(0x1a5)]()>new Date(_0x335e4d[_0x9d2bf1(0xeb)])[_0x9d2bf1(0x1a5)]());return _0x510475?this[_0x9d2bf1(0x1ad)][_0x9d2bf1(0x1b4)](_0x510475):this[_0x9d2bf1(0x19e)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x49d257(){['id'];[_0x126ea9(0x179)];[_0x126ea9(0x1c3)];[_0x126ea9(0x173)];[_0x126ea9(0x1a9)];[_0x126ea9(0x102)];[_0x126ea9(0x1c4)];constructor(_0x3341ad,_0x4e1146){const _0x4ec4b6=_0x126ea9;super();const _0x37a2df=_0x3341ad[_0x4ec4b6(0x172)][_0x4ec4b6(0x121)][_0x4ec4b6(0x183)](_0x49f2e6)['me'],_0x2df798=_0x3341ad[_0x4ec4b6(0x17b)](_0x4e1146[_0x4ec4b6(0x179)]),_0x5a4ec7=0x0===_0x2df798[_0x4ec4b6(0x1ad)][_0x4ec4b6(0x19e)],_0x52d706=_0x37a2df===_0x4e1146[_0x4ec4b6(0x1c3)];this['id']=_0x4e1146['id'],this[_0x4ec4b6(0x179)]=_0x4e1146[_0x4ec4b6(0x179)],this[_0x4ec4b6(0x1c3)]=_0x4e1146[_0x4ec4b6(0x1c3)],this[_0x4ec4b6(0x173)]=_0x4e1146[_0x4ec4b6(0x173)],this[_0x4ec4b6(0x1a9)]=Boolean(_0x4e1146[_0x4ec4b6(0x19c)]&&_0x4e1146[_0x4ec4b6(0x19c)][_0x4ec4b6(0xf3)]),this[_0x4ec4b6(0x1bf)](_0x4ec4b6(0x12d),_0x4e1146[_0x4ec4b6(0x12d)]),this[_0x4ec4b6(0x102)]=_0x4e1146[_0x4ec4b6(0x102)]||new Date(),this[_0x4ec4b6(0x1bf)](_0x4ec4b6(0xeb),_0x4e1146[_0x4ec4b6(0xeb)]||new Date()),this[_0x4ec4b6(0x14d)](_0x4ec4b6(0x174))['to'](_0x2df798,_0x4ec4b6(0x174)),this[_0x4ec4b6(0x1bf)](_0x4ec4b6(0x19c),_0x4e1146[_0x4ec4b6(0x19c)]||{}),this[_0x4ec4b6(0x14d)](_0x4ec4b6(0x128))['to'](_0x3341ad,_0x4ec4b6(0x1c1),()=>{const _0x14ab60=_0x4ec4b6,_0x295aa8=_0x3341ad[_0x14ab60(0x13f)](_0x2df798[_0x14ab60(0x1a0)])[_0x14ab60(0xf1)],_0x2d18a8=_0x3341ad[_0x14ab60(0x13f)](_0x2df798[_0x14ab60(0x1a0)])[_0x14ab60(0x130)];return _0x52d706&&_0x295aa8||!_0x52d706&&_0x2d18a8;}),this[_0x4ec4b6(0x14d)](_0x4ec4b6(0x18b))['to'](_0x2df798,_0x4ec4b6(0x18b),_0x3341ad,_0x4ec4b6(0x1c1),_0x36ec9b=>{const _0xf7c09d=_0x4ec4b6,_0x2d5f2b=_0x3341ad[_0xf7c09d(0x13f)](_0x2df798[_0xf7c09d(0x1a0)])[_0xf7c09d(0xf1)],_0x5c194b=_0x3341ad[_0xf7c09d(0x13f)](_0x2df798[_0xf7c09d(0x1a0)])[_0xf7c09d(0x130)];return _0x52d706&&_0x2d5f2b||_0x36ec9b&&_0x5a4ec7||!_0x52d706&&_0x5c194b&&!_0x5a4ec7;}),this[_0x4ec4b6(0x14d)](_0x4ec4b6(0x12e))['to'](_0x2df798,_0x4ec4b6(0x12e)),this[_0x4ec4b6(0x1c4)]=_0x3341ad;}get[_0x126ea9(0x194)](){const _0x3d4bd1=_0x126ea9;return Math[_0x3d4bd1(0x1a7)](function(_0x81b734){const _0x146563=_0x3d4bd1,_0xd625c8=document[_0x146563(0x192)](_0x146563(0x136));return _0xd625c8[_0x146563(0x154)]=_0x81b734,_0xd625c8[_0x146563(0x15e)][_0x146563(0x19e)];}(this[_0x3d4bd1(0x12d)]),0xc8);}[_0x126ea9(0x1cd)](_0x841226){const _0x57b2e1=_0x126ea9,{threadId:_0x564179,id:_0x435a15}=this;if(!this[_0x57b2e1(0x1c4)][_0x57b2e1(0x13a)](_0x564179))throw new _0x583339(_0x57b2e1(0x1b9),this);const {channelId:_0x40ac89}=this[_0x57b2e1(0x1c4)][_0x57b2e1(0x17b)](_0x564179);this[_0x57b2e1(0x1c4)][_0x57b2e1(0x163)](xt(_0x57b2e1(0x144),_0x40ac89,_0x564179),{'channelId':_0x40ac89,'threadId':_0x564179,'commentId':_0x435a15,..._0x841226});}[_0x126ea9(0x1be)](_0x3e7f9a,_0x3b9587){const _0x41d532=_0x126ea9,_0x3e7f53=_0x1fcb7a(this[_0x41d532(0x19c)]);_0x5e45c0(_0x3e7f53,_0x3e7f9a,_0x3b9587),this[_0x41d532(0x1cd)]({'attributes':_0x3e7f53});}[_0x126ea9(0xec)](_0x372229){const _0x15905b=_0x126ea9,_0x249bdc=_0x1fcb7a(this[_0x15905b(0x19c)]);_0x11cf5e(_0x249bdc,_0x372229),this[_0x15905b(0x1cd)]({'attributes':_0x249bdc});}[_0x126ea9(0x17f)](_0x4d02f8={}){const _0x5b752a=_0x126ea9;if(!_0x4d02f8[_0x5b752a(0x10b)]&&!this[_0x5b752a(0x18b)])return;const {threadId:_0x3fd61e,id:_0x3e9317}=this;if(!this[_0x5b752a(0x1c4)][_0x5b752a(0x13a)](_0x3fd61e))throw new _0x583339(_0x5b752a(0x161),this);const {channelId:_0x5b04f4}=this[_0x5b752a(0x1c4)][_0x5b752a(0x17b)](_0x3fd61e);this[_0x5b752a(0x1c4)][_0x5b752a(0x163)](xt(_0x5b752a(0x15b),_0x5b04f4,_0x3fd61e),{'channelId':_0x5b04f4,'threadId':_0x3fd61e,'commentId':_0x3e9317,..._0x4d02f8});}[_0x126ea9(0x1c7)](){const _0x1718e6=_0x126ea9;return{'commentId':this['id'],'content':this[_0x1718e6(0x12d)],'createdAt':this[_0x1718e6(0x102)],'authorId':this[_0x1718e6(0x173)]['id'],'attributes':this[_0x1718e6(0x19c)]};}[_0x126ea9(0xea)](){const _0xcd92f=_0x126ea9;this[_0xcd92f(0x106)]();}}function xt(_0x26ab0f,..._0xa0c415){for(const _0x185924 of _0xa0c415)void 0x0!==_0x185924&&(_0x26ab0f+=':'+String(_0x185924));return _0x26ab0f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29e9e4=_0x382d;(function(_0x375569,_0xf13914){const _0x40961e=_0x382d,_0x5e8279=_0x375569();while(!![]){try{const _0x248786=parseInt(_0x40961e(0x10d))/0x1+parseInt(_0x40961e(0x125))/0x2+-parseInt(_0x40961e(0x11b))/0x3+parseInt(_0x40961e(0x131))/0x4+parseInt(_0x40961e(0x117))/0x5+parseInt(_0x40961e(0x151))/0x6+-parseInt(_0x40961e(0x15b))/0x7*(parseInt(_0x40961e(0x149))/0x8);if(_0x248786===_0xf13914)break;else _0x5e8279['push'](_0x5e8279['shift']());}catch(_0x46539b){_0x5e8279['push'](_0x5e8279['shift']());}}}(_0x46ba,0x9a47c));import{Plugin as _0x3b6441}from'ckeditor5/src/core.js';import{IconAddComment as _0x3bdefa}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x3cd14d}from'./commentsrepository.js';import{CommentsEditing as _0x298d2d}from'./commentsediting.js';import{EditorAnnotations as _0x118743}from'../annotations/editorannotations.js';import{ButtonView as _0x6d8e5f,MenuBarMenuListItemButtonView as _0x469c45}from'ckeditor5/src/ui.js';import{Annotations as _0x321f16}from'../annotations/annotations.js';import{CommentsListView as _0x5535b6}from'./ui/view/commentslistview.js';function _0x46ba(){const _0x1dbe5e=['change:activeAnnotations','domainLimit','commentsLicenseKeyInvalid','isFocused','view','length','isOfficialPlugin','commentsLicenseKeyEvaluationLimit','hasContent','2106368dtBWgE','execute','_viewToController','getRange','_licenseKeyCheckInterval','editing','listenTo','hasCommentThread','comment','commentsLicenseKeyDomainLimit','focus','isEnabled','highest','activeMarker','get','bind','set','licenseKey','addCommentThread','Comments','expired','getCommentThread','pluginName','menuBar:comment','19060624PSphTz','innerView','isPremiumPlugin','commentsLicenseKeyValid','CommentsUI','from','requires','commentsLicenseKeyUsageLimit','5920548wqlTvu','_threadToController','getAllMarkersForId','stop','invalid','_createUIButton','removeCommentThread','tooltip','hasMarkerForId','add','7LJZkIf','usageLimit','model','Comment','componentFactory','544879BwCwsj','plugins','_showLicenseError','commands','addComment','focusTracker','low','commentsLicenseKeyExpired','editor','comment:','3931915zwBHpk','init','config','addSourceCollector','1485048uthpuf','has','featureNotAllowed','evaluationLimit','find','destroy','locale','commentsLicenseKeyNotAllowed','map','push','1329828YXpZzZ','CommentsListView','CommentThreadInputView'];_0x46ba=function(){return _0x1dbe5e;};return _0x46ba();}import{CommentThreadInputView as _0x599095}from'./ui/view/commentthreadinputview.js';function _0x382d(_0x2a54d0,_0x56d538){const _0x46ba42=_0x46ba();return _0x382d=function(_0x382ddf,_0x249e5b){_0x382ddf=_0x382ddf-0x10d;let _0x181bdc=_0x46ba42[_0x382ddf];return _0x181bdc;},_0x382d(_0x2a54d0,_0x56d538);}import{getTranslation as _0x3b657b}from'../utils/common-translations.js';export class CommentsUI extends _0x3b6441{[_0x29e9e4(0x142)];[_0x29e9e4(0x135)];static get[_0x29e9e4(0x147)](){const _0x36712f=_0x29e9e4;return _0x36712f(0x14d);}static get[_0x29e9e4(0x12e)](){return!0x0;}static get[_0x29e9e4(0x14b)](){return!0x0;}static get[_0x29e9e4(0x14f)](){return[_0x3cd14d,_0x298d2d,_0x118743,_0x321f16];}get[_0x29e9e4(0x126)](){return _0x5535b6;}get[_0x29e9e4(0x127)](){return _0x599095;}[_0x29e9e4(0x118)](){const _0x206146=_0x29e9e4,_0x4e7856=this[_0x206146(0x115)],_0x43c406=_0x4e7856[_0x206146(0x10e)][_0x206146(0x13f)](_0x3cd14d),_0x37f976=_0x4e7856[_0x206146(0x10e)][_0x206146(0x13f)](_0x298d2d),_0x551d02=_0x4e7856[_0x206146(0x10e)][_0x206146(0x13f)](_0x321f16),_0x5c99ea=_0x4e7856[_0x206146(0x10e)][_0x206146(0x13f)](_0x118743);_0x4e7856['ui'][_0x206146(0x15f)][_0x206146(0x15a)](_0x206146(0x139),()=>{const _0x29b3ed=_0x206146,_0x322519=this[_0x29b3ed(0x156)](_0x6d8e5f);return _0x322519[_0x29b3ed(0x158)]=!0x0,_0x322519;}),_0x4e7856['ui'][_0x206146(0x15f)][_0x206146(0x15a)](_0x206146(0x148),()=>this[_0x206146(0x156)](_0x469c45)),_0x5c99ea[_0x206146(0x11a)](()=>{const _0x434314=_0x206146,_0x1636b0=[];for(const [_0x255526,_0x2d4647]of _0x43c406[_0x434314(0x152)]){const _0x40ce94=_0x37f976[_0x434314(0x153)](_0x255526['id']),_0x1a6774=_0x40ce94[_0x434314(0x123)](_0x2d938c=>_0x2d938c[_0x434314(0x134)]());_0x40ce94[_0x434314(0x12d)]>0x0&&_0x1636b0[_0x434314(0x124)]([_0x2d4647[_0x434314(0x12c)],_0x1a6774]);}return _0x1636b0;}),this[_0x206146(0x137)](_0x551d02,_0x206146(0x128),(_0x3e8c42,_0x559776,_0x17b5ca)=>{const _0x274608=_0x206146,_0x9f29c7=Array[_0x274608(0x14e)](_0x17b5ca)[_0x274608(0x123)](_0x49f739=>_0x49f739[_0x274608(0x14a)])[_0x274608(0x11f)](_0x2b97e2=>_0x43c406[_0x274608(0x133)][_0x274608(0x11c)](_0x2b97e2));if(!_0x9f29c7)return void(_0x37f976[_0x274608(0x13e)]=null);const _0x69e72c=_0x43c406[_0x274608(0x133)][_0x274608(0x13f)](_0x9f29c7)[_0x274608(0x15d)]['id'],_0x3de926=_0x274608(0x116)+_0x69e72c;_0x69e72c&&_0x37f976[_0x274608(0x159)](_0x69e72c)?_0x37f976[_0x274608(0x13e)]=_0x3de926:_0x37f976[_0x274608(0x13e)]&&(_0x37f976[_0x274608(0x13e)]=null);}),this[_0x206146(0x137)](_0x43c406,_0x206146(0x157),(_0x3bcc29,{threadId:_0x5d3626,isFromAdapter:_0x2b4d27})=>{const _0x2ca542=_0x206146;!_0x2b4d27&&_0x4e7856['ui'][_0x2ca542(0x112)][_0x2ca542(0x12b)]&&_0x37f976[_0x2ca542(0x159)](_0x5d3626)&&_0x4e7856[_0x2ca542(0x136)][_0x2ca542(0x12c)][_0x2ca542(0x13b)]();},{'priority':_0x206146(0x13d)}),this[_0x206146(0x137)](_0x43c406,_0x206146(0x111),(_0x311c50,{threadId:_0x48dcc0,isFromAdapter:_0x195e1d})=>{const _0x997618=_0x206146;if(_0x195e1d||!_0x37f976[_0x997618(0x159)](_0x48dcc0)||!_0x43c406[_0x997618(0x138)](_0x48dcc0))return;0x1===_0x43c406[_0x997618(0x146)](_0x48dcc0)[_0x997618(0x12d)]&&(_0x4e7856[_0x997618(0x136)][_0x997618(0x12c)][_0x997618(0x13b)](),_0x311c50[_0x997618(0x154)]());},{'priority':_0x206146(0x113)}),this[_0x206146(0x142)]=this[_0x206146(0x115)][_0x206146(0x119)][_0x206146(0x13f)](_0x206146(0x142));const _0x1d68f9=this[_0x206146(0x115)];this[_0x206146(0x135)]=setInterval(()=>{const _0x46ac13=_0x206146;let _0xde5007;for(const _0xa2cc87 in _0x1d68f9){const _0x43923a=_0xa2cc87,_0x353ccd=_0x1d68f9[_0x43923a];if(_0x46ac13(0x14c)==_0x353ccd||_0x46ac13(0x12a)==_0x353ccd||_0x46ac13(0x114)==_0x353ccd||_0x46ac13(0x13a)==_0x353ccd||_0x46ac13(0x122)==_0x353ccd||_0x46ac13(0x12f)==_0x353ccd||_0x46ac13(0x150)==_0x353ccd){delete _0x1d68f9[_0x43923a],_0xde5007=_0x353ccd,clearInterval(this[_0x46ac13(0x135)]),this[_0x46ac13(0x135)]=void 0x0;break;}}_0x46ac13(0x12a)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x155)),_0x46ac13(0x114)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x145)),_0x46ac13(0x13a)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x129)),_0x46ac13(0x122)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x11d),_0x46ac13(0x144)),_0x46ac13(0x12f)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x11e)),_0x46ac13(0x150)==_0xde5007&&_0x1d68f9[_0x46ac13(0x10f)](_0x46ac13(0x15c));},0x3e8);}[_0x29e9e4(0x120)](){const _0x296255=_0x29e9e4;super[_0x296255(0x120)](),this[_0x296255(0x135)]&&clearInterval(this[_0x296255(0x135)]);}[_0x29e9e4(0x156)](_0x59c69f){const _0x21b22f=_0x29e9e4,_0x1e035c=this[_0x21b22f(0x115)],_0x42ec09=new _0x59c69f(_0x1e035c[_0x21b22f(0x121)]),_0x475379=_0x1e035c[_0x21b22f(0x110)][_0x21b22f(0x13f)](_0x21b22f(0x143));return _0x42ec09[_0x21b22f(0x141)]({'label':_0x3b657b(_0x1e035c[_0x21b22f(0x121)],_0x21b22f(0x15e)),'icon':_0x3bdefa}),_0x42ec09[_0x21b22f(0x140)](_0x21b22f(0x13c))['to'](_0x475379,_0x21b22f(0x13c),_0x475379,_0x21b22f(0x130),(_0xa42fcd,_0x23c174)=>_0xa42fcd&&_0x23c174),this[_0x21b22f(0x137)](_0x42ec09,_0x21b22f(0x132),()=>{const _0x539c45=_0x21b22f;_0x475379[_0x539c45(0x132)]();}),_0x42ec09;}}
23
+ const _0x27f43e=_0x5ece;(function(_0x19a49a,_0x51e8cb){const _0x2858ec=_0x5ece,_0x39dcca=_0x19a49a();while(!![]){try{const _0x2ede7c=-parseInt(_0x2858ec(0x149))/0x1*(parseInt(_0x2858ec(0x136))/0x2)+parseInt(_0x2858ec(0x121))/0x3*(-parseInt(_0x2858ec(0x119))/0x4)+parseInt(_0x2858ec(0x142))/0x5*(parseInt(_0x2858ec(0x122))/0x6)+-parseInt(_0x2858ec(0x131))/0x7*(parseInt(_0x2858ec(0x128))/0x8)+parseInt(_0x2858ec(0x106))/0x9*(-parseInt(_0x2858ec(0x14b))/0xa)+-parseInt(_0x2858ec(0x13e))/0xb*(parseInt(_0x2858ec(0x110))/0xc)+parseInt(_0x2858ec(0x139))/0xd*(parseInt(_0x2858ec(0x12b))/0xe);if(_0x2ede7c===_0x51e8cb)break;else _0x39dcca['push'](_0x39dcca['shift']());}catch(_0x3c5849){_0x39dcca['push'](_0x39dcca['shift']());}}}(_0xff7a,0x835b9));import{Plugin as _0x3e9910}from'ckeditor5/src/core.js';import{IconAddComment as _0x3798ec}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x584fd6}from'./commentsrepository.js';import{CommentsEditing as _0x29b6b9}from'./commentsediting.js';function _0x5ece(_0x21c308,_0x4630c2){const _0xff7a8=_0xff7a();return _0x5ece=function(_0x5eceb8,_0x3cac69){_0x5eceb8=_0x5eceb8-0x101;let _0x3f64b0=_0xff7a8[_0x5eceb8];return _0x3f64b0;},_0x5ece(_0x21c308,_0x4630c2);}import{EditorAnnotations as _0x3af77a}from'../annotations/editorannotations.js';import{ButtonView as _0x1a69c4,MenuBarMenuListItemButtonView as _0x1020a9}from'ckeditor5/src/ui.js';function _0xff7a(){const _0x4c803a=['evaluationLimit','3273WKqSKv','119478fcvpEb','comment:','addCommentThread','commentsLicenseKeyExpired','change:activeAnnotations','removeCommentThread','16ZInPTf','_showLicenseError','config','8086946brVkEE','featureNotAllowed','_threadToController','from','commentsLicenseKeyInvalid','commentsLicenseKeyDomainLimit','2439731EKkYiK','isPremiumPlugin','map','add','set','425144eUAbvT','has','stop','78SKasbd','isEnabled','hasCommentThread','Comments','componentFactory','66ghEnBF','push','commentsLicenseKeyEvaluationLimit','commands','10kqorbF','locale','CommentsUI','low','expired','hasContent','_licenseKeyCheckInterval','1KYlHaI','usageLimit','1860OVAHcc','view','focus','getRange','find','Comment','init','focusTracker','addComment','getAllMarkersForId','plugins','commentsLicenseKeyNotAllowed','requires','addSourceCollector','execute','listenTo','isOfficialPlugin','_createUIButton','commentsLicenseKeyUsageLimit','domainLimit','38664NphCof','licenseKey','innerView','invalid','_viewToController','model','hasMarkerForId','getCommentThread','CommentThreadInputView','tooltip','1363572RmAppa','commentsLicenseKeyValid','CommentsListView','length','isFocused','comment','destroy','highest','pluginName','2116QvUIbU','bind','activeMarker','get','editing','editor','menuBar:comment'];_0xff7a=function(){return _0x4c803a;};return _0xff7a();}import{Annotations as _0x3f32f4}from'../annotations/annotations.js';import{CommentsListView as _0x24e69b}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x37fb3e}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x4f8591}from'../utils/common-translations.js';export class CommentsUI extends _0x3e9910{[_0x27f43e(0x107)];[_0x27f43e(0x148)];static get[_0x27f43e(0x118)](){const _0xb3d1db=_0x27f43e;return _0xb3d1db(0x144);}static get[_0x27f43e(0x102)](){return!0x0;}static get[_0x27f43e(0x132)](){return!0x0;}static get[_0x27f43e(0x157)](){return[_0x584fd6,_0x29b6b9,_0x3af77a,_0x3f32f4];}get[_0x27f43e(0x112)](){return _0x24e69b;}get[_0x27f43e(0x10e)](){return _0x37fb3e;}[_0x27f43e(0x151)](){const _0x5f05d7=_0x27f43e,_0x56b7e1=this[_0x5f05d7(0x11e)],_0x526a76=_0x56b7e1[_0x5f05d7(0x155)][_0x5f05d7(0x11c)](_0x584fd6),_0x102599=_0x56b7e1[_0x5f05d7(0x155)][_0x5f05d7(0x11c)](_0x29b6b9),_0x14929f=_0x56b7e1[_0x5f05d7(0x155)][_0x5f05d7(0x11c)](_0x3f32f4),_0x5f4508=_0x56b7e1[_0x5f05d7(0x155)][_0x5f05d7(0x11c)](_0x3af77a);_0x56b7e1['ui'][_0x5f05d7(0x13d)][_0x5f05d7(0x134)](_0x5f05d7(0x115),()=>{const _0x589e17=_0x5f05d7,_0x38c033=this[_0x589e17(0x103)](_0x1a69c4);return _0x38c033[_0x589e17(0x10f)]=!0x0,_0x38c033;}),_0x56b7e1['ui'][_0x5f05d7(0x13d)][_0x5f05d7(0x134)](_0x5f05d7(0x11f),()=>this[_0x5f05d7(0x103)](_0x1020a9)),_0x5f4508[_0x5f05d7(0x158)](()=>{const _0x53882f=_0x5f05d7,_0x5dddd5=[];for(const [_0x99d9a2,_0x5f555d]of _0x526a76[_0x53882f(0x12d)]){const _0x4d65bb=_0x102599[_0x53882f(0x154)](_0x99d9a2['id']),_0x92550=_0x4d65bb[_0x53882f(0x133)](_0x2964a6=>_0x2964a6[_0x53882f(0x14e)]());_0x4d65bb[_0x53882f(0x113)]>0x0&&_0x5dddd5[_0x53882f(0x13f)]([_0x5f555d[_0x53882f(0x14c)],_0x92550]);}return _0x5dddd5;}),this[_0x5f05d7(0x101)](_0x14929f,_0x5f05d7(0x126),(_0x5040e8,_0x493b62,_0x2f8cb1)=>{const _0x487387=_0x5f05d7,_0x454b15=Array[_0x487387(0x12e)](_0x2f8cb1)[_0x487387(0x133)](_0x13c45c=>_0x13c45c[_0x487387(0x108)])[_0x487387(0x14f)](_0x4226ee=>_0x526a76[_0x487387(0x10a)][_0x487387(0x137)](_0x4226ee));if(!_0x454b15)return void(_0x102599[_0x487387(0x11b)]=null);const _0x3390e8=_0x526a76[_0x487387(0x10a)][_0x487387(0x11c)](_0x454b15)[_0x487387(0x10b)]['id'],_0x1c8429=_0x487387(0x123)+_0x3390e8;_0x3390e8&&_0x102599[_0x487387(0x10c)](_0x3390e8)?_0x102599[_0x487387(0x11b)]=_0x1c8429:_0x102599[_0x487387(0x11b)]&&(_0x102599[_0x487387(0x11b)]=null);}),this[_0x5f05d7(0x101)](_0x526a76,_0x5f05d7(0x127),(_0xd71e87,{threadId:_0x3380a1,isFromAdapter:_0xcab762})=>{const _0x208f70=_0x5f05d7;!_0xcab762&&_0x56b7e1['ui'][_0x208f70(0x152)][_0x208f70(0x114)]&&_0x102599[_0x208f70(0x10c)](_0x3380a1)&&_0x56b7e1[_0x208f70(0x11d)][_0x208f70(0x14c)][_0x208f70(0x14d)]();},{'priority':_0x5f05d7(0x117)}),this[_0x5f05d7(0x101)](_0x526a76,_0x5f05d7(0x153),(_0x19a47a,{threadId:_0x481ce8,isFromAdapter:_0x2be55c})=>{const _0xe1982=_0x5f05d7;if(_0x2be55c||!_0x102599[_0xe1982(0x10c)](_0x481ce8)||!_0x526a76[_0xe1982(0x13b)](_0x481ce8))return;0x1===_0x526a76[_0xe1982(0x10d)](_0x481ce8)[_0xe1982(0x113)]&&(_0x56b7e1[_0xe1982(0x11d)][_0xe1982(0x14c)][_0xe1982(0x14d)](),_0x19a47a[_0xe1982(0x138)]());},{'priority':_0x5f05d7(0x145)}),this[_0x5f05d7(0x107)]=this[_0x5f05d7(0x11e)][_0x5f05d7(0x12a)][_0x5f05d7(0x11c)](_0x5f05d7(0x107));const _0x21cc86=this[_0x5f05d7(0x11e)];this[_0x5f05d7(0x148)]=setInterval(()=>{const _0x46d332=_0x5f05d7;let _0x385163;for(const _0x177008 in _0x21cc86){const _0x164bde=_0x177008,_0x221cab=_0x21cc86[_0x164bde];if(_0x46d332(0x111)==_0x221cab||_0x46d332(0x12f)==_0x221cab||_0x46d332(0x125)==_0x221cab||_0x46d332(0x130)==_0x221cab||_0x46d332(0x156)==_0x221cab||_0x46d332(0x140)==_0x221cab||_0x46d332(0x104)==_0x221cab){delete _0x21cc86[_0x164bde],_0x385163=_0x221cab,clearInterval(this[_0x46d332(0x148)]),this[_0x46d332(0x148)]=void 0x0;break;}}_0x46d332(0x12f)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x109)),_0x46d332(0x125)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x146)),_0x46d332(0x130)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x105)),_0x46d332(0x156)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x12c),_0x46d332(0x13c)),_0x46d332(0x140)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x120)),_0x46d332(0x104)==_0x385163&&_0x21cc86[_0x46d332(0x129)](_0x46d332(0x14a));},0x3e8);}[_0x27f43e(0x116)](){const _0x54085a=_0x27f43e;super[_0x54085a(0x116)](),this[_0x54085a(0x148)]&&clearInterval(this[_0x54085a(0x148)]);}[_0x27f43e(0x103)](_0x30da85){const _0x49336f=_0x27f43e,_0x22f5a2=this[_0x49336f(0x11e)],_0x120f48=new _0x30da85(_0x22f5a2[_0x49336f(0x143)]),_0x17df3e=_0x22f5a2[_0x49336f(0x141)][_0x49336f(0x11c)](_0x49336f(0x124));return _0x120f48[_0x49336f(0x135)]({'label':_0x4f8591(_0x22f5a2[_0x49336f(0x143)],_0x49336f(0x150)),'icon':_0x3798ec}),_0x120f48[_0x49336f(0x11a)](_0x49336f(0x13a))['to'](_0x17df3e,_0x49336f(0x13a),_0x17df3e,_0x49336f(0x147),(_0x4c7aef,_0x44e5d4)=>_0x4c7aef&&_0x44e5d4),this[_0x49336f(0x101)](_0x120f48,_0x49336f(0x159),()=>{const _0x6b1b11=_0x49336f;_0x17df3e[_0x6b1b11(0x159)]();}),_0x120f48;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x172e7a=_0xd4e4;(function(_0x4e967d,_0x5a51f8){const _0x5c1856=_0xd4e4,_0x2ea75c=_0x4e967d();while(!![]){try{const _0x5298b2=-parseInt(_0x5c1856(0x1fd))/0x1+-parseInt(_0x5c1856(0x1f4))/0x2*(-parseInt(_0x5c1856(0x1ff))/0x3)+-parseInt(_0x5c1856(0x1f7))/0x4+parseInt(_0x5c1856(0x204))/0x5*(parseInt(_0x5c1856(0x206))/0x6)+parseInt(_0x5c1856(0x201))/0x7*(parseInt(_0x5c1856(0x20a))/0x8)+parseInt(_0x5c1856(0x1fe))/0x9+-parseInt(_0x5c1856(0x209))/0xa;if(_0x5298b2===_0x5a51f8)break;else _0x2ea75c['push'](_0x2ea75c['shift']());}catch(_0x4753cf){_0x2ea75c['push'](_0x2ea75c['shift']());}}}(_0x473b,0xbf043));import{Plugin as _0x19e118}from'ckeditor5/src/core.js';import{priorities as _0x47f2fa}from'ckeditor5/src/utils.js';import{Users as _0x58c624}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x371f6f}from'../commentsrepository.js';function _0xd4e4(_0x3c90f9,_0x535b42){const _0x473bba=_0x473b();return _0xd4e4=function(_0xd4e491,_0x39e5e2){_0xd4e491=_0xd4e491-0x1f3;let _0x22005c=_0x473bba[_0xd4e491];return _0x22005c;},_0xd4e4(_0x3c90f9,_0x535b42);}export class CommentsImportWord extends _0x19e118{constructor(_0x3ba09d){const _0x5856f3=_0xd4e4;super(_0x3ba09d),this[_0x5856f3(0x207)][_0x5856f3(0x200)][_0x5856f3(0x203)](_0x5856f3(0x1f9),_0x5856f3(0x208));}[_0x172e7a(0x20f)](){const _0x27b585=_0x172e7a,_0xc5e855=this[_0x27b585(0x207)],_0x46e27=_0xc5e855[_0x27b585(0x20c)][_0x27b585(0x1f3)](_0x27b585(0x1f6)),_0x477c21=_0xc5e855[_0x27b585(0x1fb)][_0x27b585(0x1f3)](_0x58c624);_0x46e27&&(_0x46e27['on'](_0x27b585(0x205),(_0x1031e5,[,_0x4422a6])=>{const _0x5e690e=_0x27b585;_0x4422a6[_0x5e690e(0x20d)]={'comments':!0x0,'user_id':_0x477c21['me']['id']};},{'priority':_0x47f2fa[_0x27b585(0x1f8)]+0xa}),this[_0x27b585(0x1fa)](_0x46e27,_0x27b585(0x202),this[_0x27b585(0x1f5)]));}[_0x172e7a(0x1f5)](_0x1f346f,_0x20ed41){const _0x581fd7=_0x172e7a,{comment_threads:_0xbc5a71}=_0x20ed41;_0xbc5a71&&_0xbc5a71[_0x581fd7(0x20e)](({thread_id:_0x1ccff4,comments:_0x45a1a5,is_resolved:_0x51fb88})=>{const _0x45ddee=_0x581fd7,_0x54d462=new Date(),_0x5e3022=_0x45a1a5[_0x45ddee(0x1fc)](({author:_0x76146f,content:_0x2151ab,created_at:_0x30c1ec})=>({'content':_0x2151ab,'authorId':this[_0x45ddee(0x207)][_0x45ddee(0x1fb)][_0x45ddee(0x1f3)](_0x58c624)['me']['id'],'createdAt':_0x54d462,'attributes':{'@external':{'authorName':_0x76146f,'createdAt':_0x30c1ec?new Date(_0x30c1ec):new Date(),'source':_0x45ddee(0x1f6)}}})),_0xb646aa=this[_0x45ddee(0x207)][_0x45ddee(0x200)][_0x45ddee(0x1f3)](_0x45ddee(0x210));this[_0x45ddee(0x207)][_0x45ddee(0x1fb)][_0x45ddee(0x1f3)](_0x371f6f)[_0x45ddee(0x20b)]({'channelId':_0xb646aa,'threadId':_0x1ccff4,'comments':_0x5e3022,'resolvedAt':_0x51fb88?_0x54d462:null});});}}function _0x473b(){const _0x19da9d=['importWord.formatting.comments','listenTo','plugins','map','1141480ApZLCy','8669970NQuAIZ','2665569YrJWla','config','555793hVqzkK','dataInsert','define','5223105uRcAxz','execute','6UuPXUe','editor','basic','9953210nHNEpZ','56eTFzVL','addCommentThread','commands','collaboration_features','forEach','afterInit','collaboration.channelId','get','2ZxOLsF','_handleImportedData','importWord','2132252xZOYJC','high'];_0x473b=function(){return _0x19da9d;};return _0x473b();}
23
+ const _0x29ee81=_0xfe8f;function _0xfe8f(_0x2b89fb,_0x426e6e){const _0x5798ae=_0x5798();return _0xfe8f=function(_0xfe8fa2,_0x545dea){_0xfe8fa2=_0xfe8fa2-0x14f;let _0x14b43f=_0x5798ae[_0xfe8fa2];return _0x14b43f;},_0xfe8f(_0x2b89fb,_0x426e6e);}(function(_0x4ad1eb,_0x2baaef){const _0x1b0ca2=_0xfe8f,_0x177234=_0x4ad1eb();while(!![]){try{const _0xdfa664=parseInt(_0x1b0ca2(0x165))/0x1*(parseInt(_0x1b0ca2(0x162))/0x2)+-parseInt(_0x1b0ca2(0x151))/0x3+-parseInt(_0x1b0ca2(0x150))/0x4+parseInt(_0x1b0ca2(0x154))/0x5+parseInt(_0x1b0ca2(0x155))/0x6+parseInt(_0x1b0ca2(0x157))/0x7+parseInt(_0x1b0ca2(0x14f))/0x8;if(_0xdfa664===_0x2baaef)break;else _0x177234['push'](_0x177234['shift']());}catch(_0x5e4eb9){_0x177234['push'](_0x177234['shift']());}}}(_0x5798,0x7d618));import{Plugin as _0x2b76f6}from'ckeditor5/src/core.js';import{priorities as _0x3740d6}from'ckeditor5/src/utils.js';import{Users as _0x105216}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x2cfe41}from'../commentsrepository.js';export class CommentsImportWord extends _0x2b76f6{constructor(_0x43a815){const _0x3973aa=_0xfe8f;super(_0x43a815),this[_0x3973aa(0x164)][_0x3973aa(0x15d)][_0x3973aa(0x153)](_0x3973aa(0x169),_0x3973aa(0x167));}[_0x29ee81(0x152)](){const _0xa2825e=_0x29ee81,_0x2ed7b5=this[_0xa2825e(0x164)],_0x18c185=_0x2ed7b5[_0xa2825e(0x158)][_0xa2825e(0x15f)](_0xa2825e(0x160)),_0x4bb949=_0x2ed7b5[_0xa2825e(0x161)][_0xa2825e(0x15f)](_0x105216);_0x18c185&&(_0x18c185['on'](_0xa2825e(0x15c),(_0x5a5bb6,[,_0x314a52])=>{const _0x2f9e27=_0xa2825e;_0x314a52[_0x2f9e27(0x156)]={'comments':!0x0,'user_id':_0x4bb949['me']['id']};},{'priority':_0x3740d6[_0xa2825e(0x15b)]+0xa}),this[_0xa2825e(0x166)](_0x18c185,_0xa2825e(0x15a),this[_0xa2825e(0x163)]));}[_0x29ee81(0x163)](_0xac5cc6,_0x450b1d){const _0x171993=_0x29ee81,{comment_threads:_0x426e84}=_0x450b1d;_0x426e84&&_0x426e84[_0x171993(0x168)](({thread_id:_0xc754bb,comments:_0x37c114,is_resolved:_0x4ce41a})=>{const _0x44aa23=_0x171993,_0x3b80cf=new Date(),_0x466260=_0x37c114[_0x44aa23(0x15e)](({author:_0x2588f3,content:_0x1edf40,created_at:_0x5b25b5})=>({'content':_0x1edf40,'authorId':this[_0x44aa23(0x164)][_0x44aa23(0x161)][_0x44aa23(0x15f)](_0x105216)['me']['id'],'createdAt':_0x3b80cf,'attributes':{'@external':{'authorName':_0x2588f3,'createdAt':_0x5b25b5?new Date(_0x5b25b5):new Date(),'source':_0x44aa23(0x160)}}})),_0xd6bc0=this[_0x44aa23(0x164)][_0x44aa23(0x15d)][_0x44aa23(0x15f)](_0x44aa23(0x159));this[_0x44aa23(0x164)][_0x44aa23(0x161)][_0x44aa23(0x15f)](_0x2cfe41)[_0x44aa23(0x16a)]({'channelId':_0xd6bc0,'threadId':_0xc754bb,'comments':_0x466260,'resolvedAt':_0x4ce41a?_0x3b80cf:null});});}}function _0x5798(){const _0x3b4785=['forEach','importWord.formatting.comments','addCommentThread','891344XVYaVm','2872112CPLpPy','2282682ceyEcj','afterInit','define','1755985DXuNah','5751450iBNbii','collaboration_features','3825794OIcvQP','commands','collaboration.channelId','dataInsert','high','execute','config','map','get','importWord','plugins','1980IhlBNt','_handleImportedData','editor','25kXJMBZ','listenTo','basic'];_0x5798=function(){return _0x3b4785;};return _0x5798();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4483fc=_0x8d5b;function _0x2bd8(){const _0x444256=['options','editor','attribute:url:media','writer','containerElement','addMarker:comment','data','item','horizontalLine','mapper','for','showCommentHighlights','addMarker:','ck-comment-marker','high','elementToElement','ignoreResolvedComments','span','2557185Ubrcyk','6GlkbIH','dataDowncast','createEmptyElement','337849KELASe','36jLZeWU','div','createContainerElement','downcastDispatcher','10ihaBpT','overrideMediaEmbedConverter','5932927Bfyuwx','ck-horizontal-line','overrideMarkerConverters','schema','markerName','createPositionAt','markerToHighlight','3741331RptFNP','elementToStructure','stop','getCustomProperty','overrideImageInlineConverter','consume','668CDIZTn','7698NkzcBd','getCommentThread','insert','image-inline','612564uPZmuY','consumable','get','conversion','media','img','toViewElement','isResolved','removeMarker:','widget','add','plugins','init','overrideHorizontalRuleConverter','addClass','848176KfhaPG','comment','imageInline','isObject','model'];_0x2bd8=function(){return _0x444256;};return _0x2bd8();}(function(_0x3e7306,_0x19a9cd){const _0x2c4c10=_0x8d5b,_0x345fec=_0x3e7306();while(!![]){try{const _0x264ae1=parseInt(_0x2c4c10(0x1a6))/0x1+-parseInt(_0x2c4c10(0x1ba))/0x2*(-parseInt(_0x2c4c10(0x1bb))/0x3)+-parseInt(_0x2c4c10(0x1bf))/0x4+parseInt(_0x2c4c10(0x1a2))/0x5*(-parseInt(_0x2c4c10(0x1a3))/0x6)+parseInt(_0x2c4c10(0x1ad))/0x7+-parseInt(_0x2c4c10(0x1ce))/0x8*(parseInt(_0x2c4c10(0x1a7))/0x9)+parseInt(_0x2c4c10(0x1ab))/0xa*(-parseInt(_0x2c4c10(0x1b4))/0xb);if(_0x264ae1===_0x19a9cd)break;else _0x345fec['push'](_0x345fec['shift']());}catch(_0x57eed0){_0x345fec['push'](_0x345fec['shift']());}}}(_0x2bd8,0x95d23));import{Plugin as _0x47b5e2}from'ckeditor5/src/core.js';function _0x8d5b(_0x1f655e,_0x2dc0f1){const _0x2bd815=_0x2bd8();return _0x8d5b=function(_0x8d5b1c,_0x30117c){_0x8d5b1c=_0x8d5b1c-0x198;let _0x4668a4=_0x2bd815[_0x8d5b1c];return _0x4668a4;},_0x8d5b(_0x1f655e,_0x2dc0f1);}import{toWidget as _0x265176}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x4abdd8}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x65f17}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x47b5e2{[_0x4483fc(0x1cb)](){const _0x54fedc=_0x4483fc;this[_0x54fedc(0x1af)](),this[_0x54fedc(0x1cc)](),this[_0x54fedc(0x1b8)](),this[_0x54fedc(0x1ac)]();}[_0x4483fc(0x1af)](){const _0x47c650=_0x4483fc;this[_0x47c650(0x1d4)][_0x47c650(0x1c2)][_0x47c650(0x19a)](_0x47c650(0x1a4))[_0x47c650(0x1b3)]({'model':_0x47c650(0x1cf),'view':(_0x384d16,_0x49ceb6)=>{const _0x35b1fd=_0x47c650;if(!_0x49ceb6[_0x35b1fd(0x1d3)][_0x35b1fd(0x19b)])return null;if(_0x49ceb6[_0x35b1fd(0x1d3)][_0x35b1fd(0x1a0)]){const {id:_0x15bd98}=_0x4abdd8(_0x384d16[_0x35b1fd(0x1b1)]),_0x5819ca=this[_0x35b1fd(0x1d4)][_0x35b1fd(0x1ca)][_0x35b1fd(0x1c1)](_0x65f17);if(_0x5819ca[_0x35b1fd(0x1bc)](_0x15bd98)?.[_0x35b1fd(0x1c6)]&&_0x384d16[_0x35b1fd(0x1da)])return _0x49ceb6[_0x35b1fd(0x1c0)][_0x35b1fd(0x1b9)](_0x384d16[_0x35b1fd(0x1da)],_0x35b1fd(0x19c)+_0x384d16[_0x35b1fd(0x1b1)]),_0x49ceb6[_0x35b1fd(0x1c0)][_0x35b1fd(0x1b9)](_0x384d16[_0x35b1fd(0x1da)],_0x35b1fd(0x1c7)+_0x384d16[_0x35b1fd(0x1b1)]),null;}return{'classes':[_0x35b1fd(0x19d)]};}}),this[_0x47c650(0x1d4)][_0x47c650(0x1c2)][_0x47c650(0x19a)](_0x47c650(0x1a4))[_0x47c650(0x1c9)](_0x35ddef=>{const _0x229595=_0x47c650;_0x35ddef['on'](_0x229595(0x1d8),(_0x339d11,_0x353b0f,_0x17e3f8)=>{const _0x36306f=_0x229595;if(!_0x17e3f8[_0x36306f(0x1d3)][_0x36306f(0x19b)])return;const _0x4f9f6d=_0x353b0f[_0x36306f(0x1da)];if(!_0x4f9f6d)return;const _0x2cd0bc=_0x17e3f8[_0x36306f(0x199)][_0x36306f(0x1c5)](_0x4f9f6d);this[_0x36306f(0x1d4)][_0x36306f(0x1d2)][_0x36306f(0x1b0)][_0x36306f(0x1d1)](_0x4f9f6d)&&_0x2cd0bc&&!_0x2cd0bc[_0x36306f(0x1b7)](_0x36306f(0x1c8))&&_0x2cd0bc['is'](_0x36306f(0x1d7))&&_0x265176(_0x2cd0bc,_0x17e3f8[_0x36306f(0x1d6)]);},{'priority':_0x229595(0x19e)});});}[_0x4483fc(0x1cc)](){const _0x17a3b9=_0x4483fc;this[_0x17a3b9(0x1d4)][_0x17a3b9(0x1c2)][_0x17a3b9(0x19a)](_0x17a3b9(0x1a4))[_0x17a3b9(0x1b5)]({'model':_0x17a3b9(0x198),'view':(_0x49d9a5,{writer:_0x21c4c9,options:_0x2148b5})=>{const _0x2da431=_0x17a3b9;if(!_0x2148b5[_0x2da431(0x19b)])return null;const _0x130d60=_0x21c4c9[_0x2da431(0x1a9)](_0x2da431(0x1a8)),_0x1ff32b=_0x21c4c9[_0x2da431(0x1a5)]('hr');return _0x21c4c9[_0x2da431(0x1cd)](_0x2da431(0x1ae),_0x130d60),_0x21c4c9[_0x2da431(0x1bd)](_0x21c4c9[_0x2da431(0x1b2)](_0x130d60,0x0),_0x1ff32b),_0x130d60;},'converterPriority':_0x17a3b9(0x19e)});}[_0x4483fc(0x1b8)](){const _0x11076a=_0x4483fc;this[_0x11076a(0x1d4)][_0x11076a(0x1c2)][_0x11076a(0x19a)](_0x11076a(0x1a4))[_0x11076a(0x1b5)]({'model':_0x11076a(0x1d0),'view':(_0x1f277a,{writer:_0x33a45a,options:_0x4f2dd1})=>{const _0x3f697d=_0x11076a;if(!_0x4f2dd1[_0x3f697d(0x19b)])return null;const _0x580c2c=_0x33a45a[_0x3f697d(0x1a9)](_0x3f697d(0x1a1)),_0x3e1573=_0x33a45a[_0x3f697d(0x1a5)](_0x3f697d(0x1c4));return _0x33a45a[_0x3f697d(0x1cd)](_0x3f697d(0x1be),_0x580c2c),_0x33a45a[_0x3f697d(0x1bd)](_0x33a45a[_0x3f697d(0x1b2)](_0x580c2c,0x0),_0x3e1573),_0x580c2c;},'converterPriority':_0x11076a(0x19e)});}[_0x4483fc(0x1ac)](){const _0x50999b=_0x4483fc;this[_0x50999b(0x1d4)][_0x50999b(0x1c2)][_0x50999b(0x19a)](_0x50999b(0x1a4))[_0x50999b(0x19f)]({'model':_0x50999b(0x1c3),'view':(_0x3856cf,{writer:_0x242a6d,options:_0x54cb99})=>{const _0x54ad64=_0x50999b;if(_0x54cb99[_0x54ad64(0x19b)])return _0x242a6d[_0x54ad64(0x1a5)](_0x54ad64(0x1a8));},'converterPriority':_0x50999b(0x19e)}),this[_0x50999b(0x1d4)][_0x50999b(0x1d9)][_0x50999b(0x1aa)]['on'](_0x50999b(0x1d5),(_0x2b53a7,_0x161ff0,_0xeaf191)=>{const _0x18edf9=_0x50999b;_0xeaf191[_0x18edf9(0x1d3)][_0x18edf9(0x19b)]&&_0x2b53a7[_0x18edf9(0x1b6)]();},{'priority':_0x50999b(0x19e)});}}
23
+ const _0x5ea684=_0xac92;(function(_0x368f37,_0x197b08){const _0x422e23=_0xac92,_0x507c0a=_0x368f37();while(!![]){try{const _0x3fc9a6=-parseInt(_0x422e23(0x179))/0x1*(parseInt(_0x422e23(0x167))/0x2)+parseInt(_0x422e23(0x16b))/0x3*(-parseInt(_0x422e23(0x159))/0x4)+-parseInt(_0x422e23(0x17e))/0x5+parseInt(_0x422e23(0x186))/0x6*(-parseInt(_0x422e23(0x177))/0x7)+-parseInt(_0x422e23(0x18f))/0x8+parseInt(_0x422e23(0x183))/0x9+parseInt(_0x422e23(0x17c))/0xa*(parseInt(_0x422e23(0x151))/0xb);if(_0x3fc9a6===_0x197b08)break;else _0x507c0a['push'](_0x507c0a['shift']());}catch(_0x11d664){_0x507c0a['push'](_0x507c0a['shift']());}}}(_0x3125,0x5fcc4));function _0x3125(){const _0x1a34f2=['overrideHorizontalRuleConverter','model','48578fBQmLJ','insert','ck-comment-marker','plugins','3QEulmE','getCommentThread','writer','markerName','elementToStructure','widget','media','dataDowncast','createEmptyElement','for','getCustomProperty','add','14QTJISi','elementToElement','2zSwSBi','imageInline','horizontalLine','90sMkrxW','attribute:url:media','3517685wvHjiZ','high','containerElement','ck-horizontal-line','img','4006323wxNdhP','div','addMarker:comment','1174962JjZvqk','createContainerElement','markerToHighlight','isObject','consumable','item','showCommentHighlights','data','overrideMarkerConverters','4726424TLIDcn','options','conversion','overrideMediaEmbedConverter','comment','2375461iFavGJ','schema','addMarker:','addClass','mapper','consume','createPositionAt','editor','1046984KGkZeY','toViewElement','image-inline','removeMarker:','ignoreResolvedComments','get','downcastDispatcher','stop','init','isResolved','span','overrideImageInlineConverter'];_0x3125=function(){return _0x1a34f2;};return _0x3125();}import{Plugin as _0x58b9bb}from'ckeditor5/src/core.js';function _0xac92(_0x47948c,_0x32c34a){const _0x31253d=_0x3125();return _0xac92=function(_0xac92f9,_0x3e614b){_0xac92f9=_0xac92f9-0x151;let _0x3f90c6=_0x31253d[_0xac92f9];return _0x3f90c6;},_0xac92(_0x47948c,_0x32c34a);}import{toWidget as _0x1b6440}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x1b3524}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x5d4e39}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x58b9bb{[_0x5ea684(0x161)](){const _0x36adb9=_0x5ea684;this[_0x36adb9(0x18e)](),this[_0x36adb9(0x165)](),this[_0x36adb9(0x164)](),this[_0x36adb9(0x192)]();}[_0x5ea684(0x18e)](){const _0x59dadc=_0x5ea684;this[_0x59dadc(0x158)][_0x59dadc(0x191)][_0x59dadc(0x174)](_0x59dadc(0x172))[_0x59dadc(0x188)]({'model':_0x59dadc(0x193),'view':(_0x1fbdbf,_0x377813)=>{const _0x1b3a7e=_0x59dadc;if(!_0x377813[_0x1b3a7e(0x190)][_0x1b3a7e(0x18c)])return null;if(_0x377813[_0x1b3a7e(0x190)][_0x1b3a7e(0x15d)]){const {id:_0x33f661}=_0x1b3524(_0x1fbdbf[_0x1b3a7e(0x16e)]),_0x31e395=this[_0x1b3a7e(0x158)][_0x1b3a7e(0x16a)][_0x1b3a7e(0x15e)](_0x5d4e39);if(_0x31e395[_0x1b3a7e(0x16c)](_0x33f661)?.[_0x1b3a7e(0x162)]&&_0x1fbdbf[_0x1b3a7e(0x18b)])return _0x377813[_0x1b3a7e(0x18a)][_0x1b3a7e(0x156)](_0x1fbdbf[_0x1b3a7e(0x18b)],_0x1b3a7e(0x153)+_0x1fbdbf[_0x1b3a7e(0x16e)]),_0x377813[_0x1b3a7e(0x18a)][_0x1b3a7e(0x156)](_0x1fbdbf[_0x1b3a7e(0x18b)],_0x1b3a7e(0x15c)+_0x1fbdbf[_0x1b3a7e(0x16e)]),null;}return{'classes':[_0x1b3a7e(0x169)]};}}),this[_0x59dadc(0x158)][_0x59dadc(0x191)][_0x59dadc(0x174)](_0x59dadc(0x172))[_0x59dadc(0x176)](_0x176bfe=>{const _0x406590=_0x59dadc;_0x176bfe['on'](_0x406590(0x185),(_0x57e92e,_0x5904dc,_0x27be37)=>{const _0x49a03f=_0x406590;if(!_0x27be37[_0x49a03f(0x190)][_0x49a03f(0x18c)])return;const _0x29fe4e=_0x5904dc[_0x49a03f(0x18b)];if(!_0x29fe4e)return;const _0x4a4d73=_0x27be37[_0x49a03f(0x155)][_0x49a03f(0x15a)](_0x29fe4e);this[_0x49a03f(0x158)][_0x49a03f(0x166)][_0x49a03f(0x152)][_0x49a03f(0x189)](_0x29fe4e)&&_0x4a4d73&&!_0x4a4d73[_0x49a03f(0x175)](_0x49a03f(0x170))&&_0x4a4d73['is'](_0x49a03f(0x180))&&_0x1b6440(_0x4a4d73,_0x27be37[_0x49a03f(0x16d)]);},{'priority':_0x406590(0x17f)});});}[_0x5ea684(0x165)](){const _0x33bfe3=_0x5ea684;this[_0x33bfe3(0x158)][_0x33bfe3(0x191)][_0x33bfe3(0x174)](_0x33bfe3(0x172))[_0x33bfe3(0x16f)]({'model':_0x33bfe3(0x17b),'view':(_0x444538,{writer:_0x34e551,options:_0x3eebf2})=>{const _0x5b4639=_0x33bfe3;if(!_0x3eebf2[_0x5b4639(0x18c)])return null;const _0x497771=_0x34e551[_0x5b4639(0x187)](_0x5b4639(0x184)),_0x12e5de=_0x34e551[_0x5b4639(0x173)]('hr');return _0x34e551[_0x5b4639(0x154)](_0x5b4639(0x181),_0x497771),_0x34e551[_0x5b4639(0x168)](_0x34e551[_0x5b4639(0x157)](_0x497771,0x0),_0x12e5de),_0x497771;},'converterPriority':_0x33bfe3(0x17f)});}[_0x5ea684(0x164)](){const _0x2c18e8=_0x5ea684;this[_0x2c18e8(0x158)][_0x2c18e8(0x191)][_0x2c18e8(0x174)](_0x2c18e8(0x172))[_0x2c18e8(0x16f)]({'model':_0x2c18e8(0x17a),'view':(_0x34e867,{writer:_0x3c77c2,options:_0x34c956})=>{const _0x4907a7=_0x2c18e8;if(!_0x34c956[_0x4907a7(0x18c)])return null;const _0xae15fd=_0x3c77c2[_0x4907a7(0x187)](_0x4907a7(0x163)),_0x147d24=_0x3c77c2[_0x4907a7(0x173)](_0x4907a7(0x182));return _0x3c77c2[_0x4907a7(0x154)](_0x4907a7(0x15b),_0xae15fd),_0x3c77c2[_0x4907a7(0x168)](_0x3c77c2[_0x4907a7(0x157)](_0xae15fd,0x0),_0x147d24),_0xae15fd;},'converterPriority':_0x2c18e8(0x17f)});}[_0x5ea684(0x192)](){const _0x45048c=_0x5ea684;this[_0x45048c(0x158)][_0x45048c(0x191)][_0x45048c(0x174)](_0x45048c(0x172))[_0x45048c(0x178)]({'model':_0x45048c(0x171),'view':(_0x5b0516,{writer:_0x160ed6,options:_0x406385})=>{const _0x46563f=_0x45048c;if(_0x406385[_0x46563f(0x18c)])return _0x160ed6[_0x46563f(0x173)](_0x46563f(0x184));},'converterPriority':_0x45048c(0x17f)}),this[_0x45048c(0x158)][_0x45048c(0x18d)][_0x45048c(0x15f)]['on'](_0x45048c(0x17d),(_0x47dcb4,_0x2a18c1,_0x17ab9e)=>{const _0x20dc34=_0x45048c;_0x17ab9e[_0x20dc34(0x190)][_0x20dc34(0x18c)]&&_0x47dcb4[_0x20dc34(0x160)]();},{'priority':_0x45048c(0x17f)});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4db6(){const _0x4c6386=['initPlugins','21056tBslrT','editing','placeholderElement','fromCharCode','model','join','getRoot','get','data','133510spcMUT','initialData','change','map','8CgDmwp','1170438itBWAQ','change:placeholder','view','set','ready','low','280431QXDnDC','then','end','document','plugins','510VLhOmj','fire','focus','create','setSelection','assign','init','name','_updatePlaceholder','10ZqzzCb','defaultPlugins','432930SrvXrk','4335688QXYfPP','childCount','config','createRoot','destroy','getChild','placeholder','10538973obpDTL'];_0x4db6=function(){return _0x4c6386;};return _0x4db6();}const _0x3e6b10=_0x1a3b;(function(_0x46681c,_0x1fb6f1){const _0xb179bd=_0x1a3b,_0x38bd5c=_0x46681c();while(!![]){try{const _0x25c841=-parseInt(_0xb179bd(0xed))/0x1+-parseInt(_0xb179bd(0xf2))/0x2+-parseInt(_0xb179bd(0xca))/0x3+parseInt(_0xb179bd(0xe4))/0x4*(-parseInt(_0xb179bd(0xcf))/0x5)+-parseInt(_0xb179bd(0xda))/0x6+parseInt(_0xb179bd(0xdb))/0x7*(parseInt(_0xb179bd(0xf1))/0x8)+parseInt(_0xb179bd(0xe2))/0x9*(parseInt(_0xb179bd(0xd8))/0xa);if(_0x25c841===_0x1fb6f1)break;else _0x38bd5c['push'](_0x38bd5c['shift']());}catch(_0x5e704e){_0x38bd5c['push'](_0x38bd5c['shift']());}}}(_0x4db6,0x5a1c4));import{Editor as _0x315cbc}from'ckeditor5/src/core.js';import{CommentEditorUI as _0xfca9f9}from'./commenteditorui.js';function _0x1a3b(_0x521e72,_0x21f50b){const _0x4db663=_0x4db6();return _0x1a3b=function(_0x1a3b10,_0x36cb86){_0x1a3b10=_0x1a3b10-0xc5;let _0xad405e=_0x4db663[_0x1a3b10];return _0xad405e;},_0x1a3b(_0x521e72,_0x21f50b);}import{ObservableMixin as _0x235f4f}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x5af201,disableViewPlaceholder as _0x14a8f}from'ckeditor5/src/engine.js';import{Clipboard as _0x149f41}from'ckeditor5/src/clipboard.js';import{Enter as _0x138523,ShiftEnter as _0x16bf0f}from'ckeditor5/src/enter.js';import{SelectAll as _0x260c69}from'ckeditor5/src/select-all.js';import{Typing as _0x3ef869}from'ckeditor5/src/typing.js';import{Undo as _0x5a1578}from'ckeditor5/src/undo.js';import{Paragraph as _0x36753a}from'ckeditor5/src/paragraph.js';const Qt=[_0x149f41,_0x138523,_0x16bf0f,_0x260c69,_0x3ef869,_0x5a1578,_0x36753a];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
- _0x235f4f(_0x315cbc){static [_0x3e6b10(0xd9)]=((()=>Qt)());constructor(_0x11ac3b={}){const _0x5b76be=_0x3e6b10;function _0x533f00(_0x439579){const _0x19b929=_0x1a3b;return _0x439579[_0x19b929(0xf0)](_0xe402ef=>String[_0x19b929(0xe7)](_0xe402ef))[_0x19b929(0xe9)]('');}(_0x11ac3b=Object[_0x5b76be(0xd4)]({},_0x11ac3b))[_0x5b76be(0xce)]||(_0x11ac3b[_0x5b76be(0xce)]=CommentEditor[_0x5b76be(0xd9)]),super(_0x11ac3b),this['ui']=new _0xfca9f9(this),this[_0x5b76be(0xc7)](_0x5b76be(0xe1),''),this[_0x5b76be(0xe8)][_0x5b76be(0xcd)]['on'](_0x5b76be(0xef),()=>this[_0x5b76be(0xd7)](),{'priority':_0x5b76be(0xc9)}),this['on'](_0x5b76be(0xc5),()=>this[_0x5b76be(0xd7)]()),this[_0x5b76be(0xe8)][_0x5b76be(0xcd)][_0x5b76be(0xde)](),this[_0x533f00([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x533f00([0x76,0x69,0x65,0x77])][_0x533f00([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x533f00([0x61,0x75,0x74,0x6f]),this[_0x533f00([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x533f00([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x533f00([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x533f00([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x533f00([0x6f,0x6b])});}[_0x3e6b10(0xd2)](){const _0x1f5a66=_0x3e6b10,_0x347f3c=this[_0x1f5a66(0xdd)][_0x1f5a66(0xeb)](_0x1f5a66(0xee))||'';return this[_0x1f5a66(0xe3)]()[_0x1f5a66(0xcb)](()=>this['ui'][_0x1f5a66(0xd5)]())[_0x1f5a66(0xcb)](()=>this[_0x1f5a66(0xec)][_0x1f5a66(0xd5)](_0x347f3c))[_0x1f5a66(0xcb)](()=>this[_0x1f5a66(0xd0)](_0x1f5a66(0xc8)));}[_0x3e6b10(0xdf)](){const _0x315d04=_0x3e6b10;return super[_0x315d04(0xdf)]()[_0x315d04(0xcb)](()=>this['ui'][_0x315d04(0xdf)]());}[_0x3e6b10(0xd1)](){const _0x17bc63=_0x3e6b10;this[_0x17bc63(0xe8)][_0x17bc63(0xef)](_0x1bcfa4=>{const _0x332f31=_0x17bc63,_0x199faf=this[_0x332f31(0xe8)][_0x332f31(0xcd)][_0x332f31(0xea)](),_0x970ee2=_0x199faf&&_0x199faf[_0x332f31(0xe0)](_0x199faf[_0x332f31(0xdc)]-0x1);_0x1bcfa4[_0x332f31(0xd3)](_0x970ee2,_0x332f31(0xcc)),this[_0x332f31(0xe5)][_0x332f31(0xc6)][_0x332f31(0xd1)]();});}[_0x3e6b10(0xd7)](){const _0x2e0bfc=_0x3e6b10,_0x31d746=this[_0x2e0bfc(0xe5)][_0x2e0bfc(0xc6)],_0x3df0dd=_0x31d746[_0x2e0bfc(0xcd)][_0x2e0bfc(0xea)](),_0x984e69=_0x3df0dd[_0x2e0bfc(0xe0)](0x0);_0x3df0dd[_0x2e0bfc(0xdc)]>0x1||!_0x984e69||'p'!=_0x984e69[_0x2e0bfc(0xd6)]?this[_0x2e0bfc(0xe6)]&&this[_0x2e0bfc(0xe6)][_0x2e0bfc(0xe1)]&&(_0x14a8f(_0x31d746,this[_0x2e0bfc(0xe6)]),this[_0x2e0bfc(0xe6)]=void 0x0):(this[_0x2e0bfc(0xe1)]&&(_0x984e69[_0x2e0bfc(0xe1)]=this[_0x2e0bfc(0xe1)]),_0x5af201({'view':_0x31d746,'element':_0x984e69,'keepOnFocus':!0x0}),this[_0x2e0bfc(0xe6)]=_0x984e69);}}
23
+ const _0x2b8bfc=_0x413e;(function(_0x2a8c8b,_0x5de7ee){const _0x37c897=_0x413e,_0x37067f=_0x2a8c8b();while(!![]){try{const _0x5ca319=-parseInt(_0x37c897(0x1bb))/0x1*(-parseInt(_0x37c897(0x1a3))/0x2)+parseInt(_0x37c897(0x1bc))/0x3*(parseInt(_0x37c897(0x1ba))/0x4)+parseInt(_0x37c897(0x1ae))/0x5+parseInt(_0x37c897(0x1b3))/0x6+-parseInt(_0x37c897(0x1c1))/0x7+-parseInt(_0x37c897(0x1b4))/0x8*(parseInt(_0x37c897(0x1c8))/0x9)+-parseInt(_0x37c897(0x1a6))/0xa*(-parseInt(_0x37c897(0x1c4))/0xb);if(_0x5ca319===_0x5de7ee)break;else _0x37067f['push'](_0x37067f['shift']());}catch(_0x35674c){_0x37067f['push'](_0x37067f['shift']());}}}(_0x5bb6,0x3fabe));import{Editor as _0x12a151}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x2bd3b4}from'./commenteditorui.js';import{ObservableMixin as _0x10b4d3}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x43ec6b,disableViewPlaceholder as _0x5cad45}from'ckeditor5/src/engine.js';import{Clipboard as _0x2fb169}from'ckeditor5/src/clipboard.js';import{Enter as _0x5a55a0,ShiftEnter as _0x1af24e}from'ckeditor5/src/enter.js';import{SelectAll as _0x3a7ce7}from'ckeditor5/src/select-all.js';function _0x413e(_0x1b3a22,_0x25da0a){const _0x5bb69d=_0x5bb6();return _0x413e=function(_0x413eb8,_0x813e80){_0x413eb8=_0x413eb8-0x19f;let _0x2e59be=_0x5bb69d[_0x413eb8];return _0x2e59be;},_0x413e(_0x1b3a22,_0x25da0a);}function _0x5bb6(){const _0x35839d=['3ndVEmp','placeholderElement','then','placeholder','getChild','3280445EWGmFZ','editing','change:placeholder','3126728RAJXOt','data','createRoot','childCount','9wHscWZ','fromCharCode','initialData','focus','map','getRoot','change','fire','get','end','12gMErkb','_updatePlaceholder','model','20WenTye','init','low','set','ready','setSelection','plugins','create','253495HXaZBC','config','document','view','defaultPlugins','2296242thkduk','3923912hOeQCP','assign','initPlugins','name','join','destroy','248728mJPpKi','25973uGwvSl'];_0x5bb6=function(){return _0x35839d;};return _0x5bb6();}import{Typing as _0x2f2a59}from'ckeditor5/src/typing.js';import{Undo as _0x189fd7}from'ckeditor5/src/undo.js';import{Paragraph as _0x1ed143}from'ckeditor5/src/paragraph.js';const Qt=[_0x2fb169,_0x5a55a0,_0x1af24e,_0x3a7ce7,_0x2f2a59,_0x189fd7,_0x1ed143];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
+ _0x10b4d3(_0x12a151){static [_0x2b8bfc(0x1b2)]=((()=>Qt)());constructor(_0x46bf78={}){const _0xd97d49=_0x2b8bfc;function _0xd49e45(_0x4ffcf5){const _0x1fdbdd=_0x413e;return _0x4ffcf5[_0x1fdbdd(0x1cc)](_0x39f16f=>String[_0x1fdbdd(0x1c9)](_0x39f16f))[_0x1fdbdd(0x1b8)]('');}(_0x46bf78=Object[_0xd97d49(0x1b5)]({},_0x46bf78))[_0xd97d49(0x1ac)]||(_0x46bf78[_0xd97d49(0x1ac)]=CommentEditor[_0xd97d49(0x1b2)]),super(_0x46bf78),this['ui']=new _0x2bd3b4(this),this[_0xd97d49(0x1a9)](_0xd97d49(0x1bf),''),this[_0xd97d49(0x1a5)][_0xd97d49(0x1b0)]['on'](_0xd97d49(0x19f),()=>this[_0xd97d49(0x1a4)](),{'priority':_0xd97d49(0x1a8)}),this['on'](_0xd97d49(0x1c3),()=>this[_0xd97d49(0x1a4)]()),this[_0xd97d49(0x1a5)][_0xd97d49(0x1b0)][_0xd97d49(0x1c6)](),this[_0xd49e45([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd49e45([0x76,0x69,0x65,0x77])][_0xd49e45([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd49e45([0x61,0x75,0x74,0x6f]),this[_0xd49e45([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0xd49e45([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd49e45([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0xd49e45([0x73,0x74,0x61,0x74,0x75,0x73])]:_0xd49e45([0x6f,0x6b])});}[_0x2b8bfc(0x1ad)](){const _0xc75420=_0x2b8bfc,_0x505ebd=this[_0xc75420(0x1af)][_0xc75420(0x1a1)](_0xc75420(0x1ca))||'';return this[_0xc75420(0x1b6)]()[_0xc75420(0x1be)](()=>this['ui'][_0xc75420(0x1a7)]())[_0xc75420(0x1be)](()=>this[_0xc75420(0x1c5)][_0xc75420(0x1a7)](_0x505ebd))[_0xc75420(0x1be)](()=>this[_0xc75420(0x1a0)](_0xc75420(0x1aa)));}[_0x2b8bfc(0x1b9)](){const _0xf990fb=_0x2b8bfc;return super[_0xf990fb(0x1b9)]()[_0xf990fb(0x1be)](()=>this['ui'][_0xf990fb(0x1b9)]());}[_0x2b8bfc(0x1cb)](){const _0x132d84=_0x2b8bfc;this[_0x132d84(0x1a5)][_0x132d84(0x19f)](_0x333846=>{const _0x1dfd51=_0x132d84,_0x4b9764=this[_0x1dfd51(0x1a5)][_0x1dfd51(0x1b0)][_0x1dfd51(0x1cd)](),_0x47416c=_0x4b9764&&_0x4b9764[_0x1dfd51(0x1c0)](_0x4b9764[_0x1dfd51(0x1c7)]-0x1);_0x333846[_0x1dfd51(0x1ab)](_0x47416c,_0x1dfd51(0x1a2)),this[_0x1dfd51(0x1c2)][_0x1dfd51(0x1b1)][_0x1dfd51(0x1cb)]();});}[_0x2b8bfc(0x1a4)](){const _0x530819=_0x2b8bfc,_0x1b5277=this[_0x530819(0x1c2)][_0x530819(0x1b1)],_0x30876c=_0x1b5277[_0x530819(0x1b0)][_0x530819(0x1cd)](),_0x54da0d=_0x30876c[_0x530819(0x1c0)](0x0);_0x30876c[_0x530819(0x1c7)]>0x1||!_0x54da0d||'p'!=_0x54da0d[_0x530819(0x1b7)]?this[_0x530819(0x1bd)]&&this[_0x530819(0x1bd)][_0x530819(0x1bf)]&&(_0x5cad45(_0x1b5277,this[_0x530819(0x1bd)]),this[_0x530819(0x1bd)]=void 0x0):(this[_0x530819(0x1bf)]&&(_0x54da0d[_0x530819(0x1bf)]=this[_0x530819(0x1bf)]),_0x43ec6b({'view':_0x1b5277,'element':_0x54da0d,'keepOnFocus':!0x0}),this[_0x530819(0x1bd)]=_0x54da0d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5588(_0xe6b50e,_0x500a42){const _0x25897d=_0x2589();return _0x5588=function(_0x5588bd,_0x1342a8){_0x5588bd=_0x5588bd-0xad;let _0x1dd93d=_0x25897d[_0x5588bd];return _0x1dd93d;},_0x5588(_0xe6b50e,_0x500a42);}const _0xdde008=_0x5588;(function(_0x5c0e5b,_0x51454c){const _0x346fea=_0x5588,_0x40386c=_0x5c0e5b();while(!![]){try{const _0x10dc35=-parseInt(_0x346fea(0xed))/0x1*(-parseInt(_0x346fea(0xb0))/0x2)+parseInt(_0x346fea(0xc5))/0x3+parseInt(_0x346fea(0xf7))/0x4+parseInt(_0x346fea(0xc2))/0x5*(-parseInt(_0x346fea(0xdb))/0x6)+parseInt(_0x346fea(0xc0))/0x7*(-parseInt(_0x346fea(0xdd))/0x8)+parseInt(_0x346fea(0xfa))/0x9+-parseInt(_0x346fea(0xe6))/0xa;if(_0x10dc35===_0x51454c)break;else _0x40386c['push'](_0x40386c['shift']());}catch(_0x30132b){_0x40386c['push'](_0x40386c['shift']());}}}(_0x2589,0xe6786));import{View as _0x5a6b9c,ViewCollection as _0x17558b,FocusCycler as _0x40bd82}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33c06e,KeystrokeHandler as _0x421771}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x2f2536,trimHtml as _0x586978}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2589(){const _0x2f7c6d=['content','disabledSubmit','createEditor','value','change','isExternal','focus','collapse','540248gjgjdP','shift+tab','once','12942081lMKMpO','createCollection','add','source','COMMENT_ARIA_LABEL','maxCommentCharsWhenCollapsed','submitLabel','switchToDisplayMode','parseFromString','importWord','isCollapsed','delegate','editorDestroyed','visibleView','ariaLabel','authoredAt','submit','3080234AyNgId','getExternalCommentNote','isSystemComment','textContent','keystrokes','get','getUserViewNotificationText','locale','_setupKeyboardNavigation','element','focusCycler','render','body','esc','target','@external','217BmmMOG','_model','3890EZauKQ','isReadOnly','expand','287346jshjyM','added','_createCommentContentView','ariaDescriptionView','removed','name','formatDateTime','_config','EXTERNAL_AVATAR','COMMENT_THREAD_DESCRIPTION','attributes','bind','remove','destroy','isEditMode','focusFirst','_createCommentInputView','tab','set','switchToEditMode','updateComment','author','1842CXplNn','Save','211576MXKusB','text/html','cancel','EXTERNAL_COMMENT','editorReady','focusTracker','listenTo','focusables','creator','12062610SvEswc','editorConfig','EXTERNAL_IMPORT_WORD_AVATAR','EXTERNAL_IMPORT_WORD_COMMENT','initialData','stopListening','fire','1xXOuwN','enter'];_0x2589=function(){return _0x2f7c6d;};return _0x2589();}import{CommentContentView as _0x182e70}from'./commentcontentview.js';import{CommentInputView as _0x149406}from'./commentinputview.js';import{getTranslation as _0x22ff99}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x5a6b9c{[_0xdde008(0x107)];[_0xdde008(0xc8)];[_0xdde008(0xe4)];[_0xdde008(0xe2)];[_0xdde008(0xb4)];[_0xdde008(0xba)];[_0xdde008(0xc1)];[_0xdde008(0xcc)];constructor(_0x4ec32b,_0x539f1c,_0x168fc0){const _0x5bde0b=_0xdde008;super(_0x4ec32b),this[_0x5bde0b(0xc1)]=_0x539f1c,this[_0x5bde0b(0xcc)]=_0x168fc0,this[_0x5bde0b(0xb2)]=!!this[_0x5bde0b(0xcc)][_0x5bde0b(0xb2)],this[_0x5bde0b(0xd7)](_0x5bde0b(0xd3),!0x1),this[_0x5bde0b(0xd7)](_0x5bde0b(0x104),!0x0),this[_0x5bde0b(0xd0)](_0x5bde0b(0xad))['to'](_0x539f1c,_0x5bde0b(0xef),_0x539f1c,_0x5bde0b(0xae),(_0x4b3c49,_0x5b96ae)=>_0x22ff99(_0x4ec32b,_0x5bde0b(0xfe),[_0x539f1c[_0x5bde0b(0xda)][_0x5bde0b(0xca)],_0x168fc0[_0x5bde0b(0xcb)](_0x5b96ae),new DOMParser()[_0x5bde0b(0x102)](_0x4b3c49,_0x5bde0b(0xde))[_0x5bde0b(0xbc)][_0x5bde0b(0xb3)],_0x539f1c[_0x5bde0b(0xf4)]?this[_0x5bde0b(0xb1)]():''])),this[_0x5bde0b(0xc8)]=new _0x2f2536(_0x4ec32b,_0x22ff99(_0x4ec32b,_0x5bde0b(0xce))),this[_0x5bde0b(0x107)]=this[_0x5bde0b(0xfb)](),this[_0x5bde0b(0x107)][_0x5bde0b(0xfc)](this[_0x5bde0b(0xc7)]()),this[_0x5bde0b(0xe4)]=new _0x17558b(),this[_0x5bde0b(0xe2)]=new _0x33c06e(),this[_0x5bde0b(0xb4)]=new _0x421771(),this[_0x5bde0b(0xba)]=new _0x40bd82({'focusables':this[_0x5bde0b(0xe4)],'focusTracker':this[_0x5bde0b(0xe2)],'keystrokeHandler':this[_0x5bde0b(0xb4)],'keystrokeHandlerOptions':{'filter':_0x21a62a=>_0x21a62a[_0x5bde0b(0xbe)]!==this[_0x5bde0b(0xb9)]},'actions':{'focusPrevious':_0x5bde0b(0xf8),'focusNext':_0x5bde0b(0xd6)}});}[_0xdde008(0xc4)](){const _0x2b347d=_0xdde008;this[_0x2b347d(0x104)]=!0x1;}[_0xdde008(0xf6)](){const _0x322207=_0xdde008;this[_0x322207(0xd3)]||(this[_0x322207(0x104)]=!0x0);}[_0xdde008(0xf5)](){const _0x5bccfb=_0xdde008;this[_0x5bccfb(0xb9)][_0x5bccfb(0xf5)]();}[_0xdde008(0xbb)](){const _0x192f4f=_0xdde008;super[_0x192f4f(0xbb)](),this[_0x192f4f(0xb8)]();}async[_0xdde008(0xd2)](){const _0x2a2202=_0xdde008;await this[_0x2a2202(0x107)][_0x2a2202(0xb5)](0x0)[_0x2a2202(0xd2)](),super[_0x2a2202(0xd2)]();}[_0xdde008(0xd8)](){const _0x20e99c=_0xdde008;this[_0x20e99c(0xd3)]||(this[_0x20e99c(0xd3)]=!0x0,this[_0x20e99c(0x107)][_0x20e99c(0xd1)](0x0)[_0x20e99c(0xd2)](),this[_0x20e99c(0x107)][_0x20e99c(0xfc)](this[_0x20e99c(0xd5)]()));}[_0xdde008(0x101)](){const _0x2aa44b=_0xdde008;this[_0x2aa44b(0xd3)]&&(this[_0x2aa44b(0xd3)]=!0x1,this[_0x2aa44b(0x107)][_0x2aa44b(0xd1)](0x0)[_0x2aa44b(0xd2)](),this[_0x2aa44b(0x107)][_0x2aa44b(0xfc)](this[_0x2aa44b(0xc7)]()));}[_0xdde008(0xb1)](){const _0x59b0f3=_0xdde008;return _0x59b0f3(0x103)===this[_0x59b0f3(0xc1)][_0x59b0f3(0xcf)][_0x59b0f3(0xbf)][_0x59b0f3(0xfd)]?_0x22ff99(this[_0x59b0f3(0xb7)],_0x59b0f3(0xe9)):_0x22ff99(this[_0x59b0f3(0xb7)],_0x59b0f3(0xe0));}[_0xdde008(0xb6)](){const _0x16c948=_0xdde008;return this[_0x16c948(0xc1)][_0x16c948(0xf4)]?_0x16c948(0x103)===this[_0x16c948(0xc1)][_0x16c948(0xcf)][_0x16c948(0xbf)][_0x16c948(0xfd)]?_0x22ff99(this[_0x16c948(0xb7)],_0x16c948(0xe8),this[_0x16c948(0xc1)][_0x16c948(0xe5)][_0x16c948(0xca)]):_0x22ff99(this[_0x16c948(0xb7)],_0x16c948(0xcd),this[_0x16c948(0xc1)][_0x16c948(0xe5)][_0x16c948(0xca)]):null;}[_0xdde008(0xc7)](){const _0x5a2367=_0xdde008,_0x529687=new _0x182e70(this[_0x5a2367(0xb7)]);return _0x529687[_0x5a2367(0xd0)](_0x5a2367(0xef))['to'](this[_0x5a2367(0xc1)],_0x5a2367(0xef),this,_0x5a2367(0x104),(_0x4aec71,_0x2cedb3)=>_0x2cedb3?_0x586978(_0x4aec71,{'limit':this[_0x5a2367(0xcc)][_0x5a2367(0xff)]}):_0x4aec71),_0x529687;}[_0xdde008(0xd5)](){const _0xd2d3ef=_0xdde008;this[_0xd2d3ef(0xcc)][_0xd2d3ef(0xe7)]||(this[_0xd2d3ef(0xcc)][_0xd2d3ef(0xe7)]={}),this[_0xd2d3ef(0xcc)][_0xd2d3ef(0xe7)][_0xd2d3ef(0xea)]=this[_0xd2d3ef(0xc1)][_0xd2d3ef(0xef)];const _0x3fdc56=new _0x149406(this[_0xd2d3ef(0xb7)],this[_0xd2d3ef(0xcc)][_0xd2d3ef(0xe7)]);return _0x3fdc56[_0xd2d3ef(0xf2)]=this[_0xd2d3ef(0xc1)][_0xd2d3ef(0xef)],_0x3fdc56[_0xd2d3ef(0xd0)](_0xd2d3ef(0xf0))['to'](this[_0xd2d3ef(0xc1)],_0xd2d3ef(0xc3)),_0x3fdc56[_0xd2d3ef(0x100)]=_0x22ff99(this[_0xd2d3ef(0xb7)],_0xd2d3ef(0xdc)),_0x3fdc56['on'](_0xd2d3ef(0xaf),(_0xa99bbd,_0x3d3202)=>{const _0x5a1cd4=_0xd2d3ef;this[_0x5a1cd4(0xec)](_0x5a1cd4(0xd9),this[_0x5a1cd4(0xc1)]['id'],_0x3d3202),this[_0x5a1cd4(0x101)](),this[_0x5a1cd4(0xf5)]();}),_0x3fdc56['on'](_0xd2d3ef(0xdf),()=>{const _0x9b59f5=_0xd2d3ef;this[_0x9b59f5(0x101)](),this[_0x9b59f5(0xf5)]();}),_0x3fdc56[_0xd2d3ef(0xf9)](_0xd2d3ef(0xe1),()=>{const _0xe28fea=_0xd2d3ef;_0x3fdc56[_0xe28fea(0xf5)]();}),_0x3fdc56[_0xd2d3ef(0xf1)](),_0x3fdc56[_0xd2d3ef(0x105)](_0xd2d3ef(0xe1))['to'](this),_0x3fdc56[_0xd2d3ef(0x105)](_0xd2d3ef(0x106))['to'](this),_0x3fdc56;}[_0xdde008(0xb8)](){const _0x4076e0=_0xdde008,_0x41a91a=this[_0x4076e0(0xb9)];this[_0x4076e0(0xb4)][_0x4076e0(0xe3)](_0x41a91a);for(const _0x41690e of this[_0x4076e0(0xe4)])this[_0x4076e0(0xe2)][_0x4076e0(0xfc)](_0x41690e[_0x4076e0(0xb9)]),this[_0x4076e0(0xb4)][_0x4076e0(0xe3)](_0x41690e[_0x4076e0(0xb9)]);this[_0x4076e0(0xe4)]['on'](_0x4076e0(0xf3),(_0x447fc6,_0x4e80b0)=>{const _0x391e62=_0x4076e0;for(const _0x14822e of _0x4e80b0[_0x391e62(0xc9)])this[_0x391e62(0xe2)][_0x391e62(0xd1)](_0x14822e[_0x391e62(0xb9)]),this[_0x391e62(0xb4)][_0x391e62(0xeb)](_0x14822e[_0x391e62(0xb9)]);for(const _0x3483ad of _0x4e80b0[_0x391e62(0xc6)])this[_0x391e62(0xe2)][_0x391e62(0xfc)](_0x3483ad[_0x391e62(0xb9)]),this[_0x391e62(0xb4)][_0x391e62(0xe3)](_0x3483ad[_0x391e62(0xb9)]);}),this[_0x4076e0(0xb4)][_0x4076e0(0xd7)](_0x4076e0(0xee),(_0x254158,_0x128c41)=>{const _0x3e5e33=_0x4076e0;_0x41a91a===_0x254158[_0x3e5e33(0xbe)]&&(this[_0x3e5e33(0xba)][_0x3e5e33(0xd4)](),_0x128c41());}),this[_0x4076e0(0xb4)][_0x4076e0(0xd7)](_0x4076e0(0xbd),(_0x36a998,_0x58260b)=>{const _0x928918=_0x4076e0;_0x41a91a!==_0x36a998[_0x928918(0xbe)]&&(this[_0x928918(0xf5)](),_0x58260b());});}}
23
+ function _0x5024(_0x18fd80,_0x301f4d){const _0x33cda2=_0x33cd();return _0x5024=function(_0x50246f,_0x3c7b6f){_0x50246f=_0x50246f-0x188;let _0x574609=_0x33cda2[_0x50246f];return _0x574609;},_0x5024(_0x18fd80,_0x301f4d);}const _0x2fc83a=_0x5024;(function(_0x3f0844,_0x313f1a){const _0x397492=_0x5024,_0x30ab0b=_0x3f0844();while(!![]){try{const _0x45d793=-parseInt(_0x397492(0x1ad))/0x1+parseInt(_0x397492(0x1ce))/0x2*(-parseInt(_0x397492(0x190))/0x3)+-parseInt(_0x397492(0x1d0))/0x4*(parseInt(_0x397492(0x188))/0x5)+-parseInt(_0x397492(0x1cd))/0x6+-parseInt(_0x397492(0x1b7))/0x7+-parseInt(_0x397492(0x192))/0x8+parseInt(_0x397492(0x18e))/0x9*(parseInt(_0x397492(0x1c2))/0xa);if(_0x45d793===_0x313f1a)break;else _0x30ab0b['push'](_0x30ab0b['shift']());}catch(_0x2141c1){_0x30ab0b['push'](_0x30ab0b['shift']());}}}(_0x33cd,0x65eb9));import{View as _0x4f2455,ViewCollection as _0x3c93f9,FocusCycler as _0x3f4360}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3c46b9,KeystrokeHandler as _0x206fa8}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x430539,trimHtml as _0x9ae667}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x12f6eb}from'./commentcontentview.js';import{CommentInputView as _0x369c67}from'./commentinputview.js';import{getTranslation as _0x23dfa4}from'../../../utils/common-translations.js';function _0x33cd(){const _0xf4278c=['destroy','esc','listenTo','attributes','disabledSubmit','tab','editorDestroyed','initialData','focusCycler','collapse','1592748sjsRxW','1602lfERZc','delegate','108036vFmqTw','name','creator','target','ariaLabel','textContent','focusTracker','body','isEditMode','formatDateTime','isCollapsed','remove','submit','isReadOnly','COMMENT_ARIA_LABEL','EXTERNAL_AVATAR','importWord','once','getUserViewNotificationText','40nrUpYe','element','visibleView','added','_config','switchToDisplayMode','1854990gxuMFn','_createCommentInputView','1548VaeQjb','switchToEditMode','1437832XAYITQ','focusFirst','value','@external','Save','_createCommentContentView','getExternalCommentNote','set','updateComment','removed','expand','authoredAt','createCollection','stopListening','focusables','editorConfig','ariaDescriptionView','parseFromString','fire','change','isExternal','_model','focus','maxCommentCharsWhenCollapsed','keystrokes','render','source','119753vQIjZE','shift+tab','isSystemComment','cancel','locale','createEditor','submitLabel','enter','_setupKeyboardNavigation','content','1702379JSRdnE','COMMENT_THREAD_DESCRIPTION','add','author','bind','get','editorReady','EXTERNAL_COMMENT','EXTERNAL_IMPORT_WORD_AVATAR','text/html','EXTERNAL_IMPORT_WORD_COMMENT','90TEKfix'];_0x33cd=function(){return _0xf4278c;};return _0x33cd();}export class BaseCommentView extends _0x4f2455{[_0x2fc83a(0x18a)];[_0x2fc83a(0x1a2)];[_0x2fc83a(0x1a0)];[_0x2fc83a(0x1d6)];[_0x2fc83a(0x1aa)];[_0x2fc83a(0x1cb)];[_0x2fc83a(0x1a7)];[_0x2fc83a(0x18c)];constructor(_0x1f7faa,_0x3893cd,_0x3ff65d){const _0x595815=_0x2fc83a;super(_0x1f7faa),this[_0x595815(0x1a7)]=_0x3893cd,this[_0x595815(0x18c)]=_0x3ff65d,this[_0x595815(0x1af)]=!!this[_0x595815(0x18c)][_0x595815(0x1af)],this[_0x595815(0x199)](_0x595815(0x1d8),!0x1),this[_0x595815(0x199)](_0x595815(0x1da),!0x0),this[_0x595815(0x1bb)](_0x595815(0x1d4))['to'](_0x3893cd,_0x595815(0x1b6),_0x3893cd,_0x595815(0x19d),(_0x3b922b,_0x40f806)=>_0x23dfa4(_0x1f7faa,_0x595815(0x1de),[_0x3893cd[_0x595815(0x1ba)][_0x595815(0x1d1)],_0x3ff65d[_0x595815(0x1d9)](_0x40f806),new DOMParser()[_0x595815(0x1a3)](_0x3b922b,_0x595815(0x1c0))[_0x595815(0x1d7)][_0x595815(0x1d5)],_0x3893cd[_0x595815(0x1a6)]?this[_0x595815(0x198)]():''])),this[_0x595815(0x1a2)]=new _0x430539(_0x1f7faa,_0x23dfa4(_0x1f7faa,_0x595815(0x1b8))),this[_0x595815(0x18a)]=this[_0x595815(0x19e)](),this[_0x595815(0x18a)][_0x595815(0x1b9)](this[_0x595815(0x197)]()),this[_0x595815(0x1a0)]=new _0x3c93f9(),this[_0x595815(0x1d6)]=new _0x3c46b9(),this[_0x595815(0x1aa)]=new _0x206fa8(),this[_0x595815(0x1cb)]=new _0x3f4360({'focusables':this[_0x595815(0x1a0)],'focusTracker':this[_0x595815(0x1d6)],'keystrokeHandler':this[_0x595815(0x1aa)],'keystrokeHandlerOptions':{'filter':_0x360b30=>_0x360b30[_0x595815(0x1d3)]!==this[_0x595815(0x189)]},'actions':{'focusPrevious':_0x595815(0x1ae),'focusNext':_0x595815(0x1c8)}});}[_0x2fc83a(0x19c)](){const _0x4caf33=_0x2fc83a;this[_0x4caf33(0x1da)]=!0x1;}[_0x2fc83a(0x1cc)](){const _0x1fe36c=_0x2fc83a;this[_0x1fe36c(0x1d8)]||(this[_0x1fe36c(0x1da)]=!0x0);}[_0x2fc83a(0x1a8)](){const _0x222ab7=_0x2fc83a;this[_0x222ab7(0x189)][_0x222ab7(0x1a8)]();}[_0x2fc83a(0x1ab)](){const _0x19ab57=_0x2fc83a;super[_0x19ab57(0x1ab)](),this[_0x19ab57(0x1b5)]();}async[_0x2fc83a(0x1c3)](){const _0x1320f4=_0x2fc83a;await this[_0x1320f4(0x18a)][_0x1320f4(0x1bc)](0x0)[_0x1320f4(0x1c3)](),super[_0x1320f4(0x1c3)]();}[_0x2fc83a(0x191)](){const _0x3c8e53=_0x2fc83a;this[_0x3c8e53(0x1d8)]||(this[_0x3c8e53(0x1d8)]=!0x0,this[_0x3c8e53(0x18a)][_0x3c8e53(0x1db)](0x0)[_0x3c8e53(0x1c3)](),this[_0x3c8e53(0x18a)][_0x3c8e53(0x1b9)](this[_0x3c8e53(0x18f)]()));}[_0x2fc83a(0x18d)](){const _0x5b7309=_0x2fc83a;this[_0x5b7309(0x1d8)]&&(this[_0x5b7309(0x1d8)]=!0x1,this[_0x5b7309(0x18a)][_0x5b7309(0x1db)](0x0)[_0x5b7309(0x1c3)](),this[_0x5b7309(0x18a)][_0x5b7309(0x1b9)](this[_0x5b7309(0x197)]()));}[_0x2fc83a(0x198)](){const _0xc16c80=_0x2fc83a;return _0xc16c80(0x1e0)===this[_0xc16c80(0x1a7)][_0xc16c80(0x1c6)][_0xc16c80(0x195)][_0xc16c80(0x1ac)]?_0x23dfa4(this[_0xc16c80(0x1b1)],_0xc16c80(0x1c1)):_0x23dfa4(this[_0xc16c80(0x1b1)],_0xc16c80(0x1be));}[_0x2fc83a(0x1e2)](){const _0x28303=_0x2fc83a;return this[_0x28303(0x1a7)][_0x28303(0x1a6)]?_0x28303(0x1e0)===this[_0x28303(0x1a7)][_0x28303(0x1c6)][_0x28303(0x195)][_0x28303(0x1ac)]?_0x23dfa4(this[_0x28303(0x1b1)],_0x28303(0x1bf),this[_0x28303(0x1a7)][_0x28303(0x1d2)][_0x28303(0x1d1)]):_0x23dfa4(this[_0x28303(0x1b1)],_0x28303(0x1df),this[_0x28303(0x1a7)][_0x28303(0x1d2)][_0x28303(0x1d1)]):null;}[_0x2fc83a(0x197)](){const _0x2aa2da=_0x2fc83a,_0x51b52c=new _0x12f6eb(this[_0x2aa2da(0x1b1)]);return _0x51b52c[_0x2aa2da(0x1bb)](_0x2aa2da(0x1b6))['to'](this[_0x2aa2da(0x1a7)],_0x2aa2da(0x1b6),this,_0x2aa2da(0x1da),(_0x18fba7,_0x325694)=>_0x325694?_0x9ae667(_0x18fba7,{'limit':this[_0x2aa2da(0x18c)][_0x2aa2da(0x1a9)]}):_0x18fba7),_0x51b52c;}[_0x2fc83a(0x18f)](){const _0x223d9a=_0x2fc83a;this[_0x223d9a(0x18c)][_0x223d9a(0x1a1)]||(this[_0x223d9a(0x18c)][_0x223d9a(0x1a1)]={}),this[_0x223d9a(0x18c)][_0x223d9a(0x1a1)][_0x223d9a(0x1ca)]=this[_0x223d9a(0x1a7)][_0x223d9a(0x1b6)];const _0x4bb6ac=new _0x369c67(this[_0x223d9a(0x1b1)],this[_0x223d9a(0x18c)][_0x223d9a(0x1a1)]);return _0x4bb6ac[_0x223d9a(0x194)]=this[_0x223d9a(0x1a7)][_0x223d9a(0x1b6)],_0x4bb6ac[_0x223d9a(0x1bb)](_0x223d9a(0x1c7))['to'](this[_0x223d9a(0x1a7)],_0x223d9a(0x1dd)),_0x4bb6ac[_0x223d9a(0x1b3)]=_0x23dfa4(this[_0x223d9a(0x1b1)],_0x223d9a(0x196)),_0x4bb6ac['on'](_0x223d9a(0x1dc),(_0x1cf8f5,_0x29b8b1)=>{const _0x1973ca=_0x223d9a;this[_0x1973ca(0x1a4)](_0x1973ca(0x19a),this[_0x1973ca(0x1a7)]['id'],_0x29b8b1),this[_0x1973ca(0x18d)](),this[_0x1973ca(0x1a8)]();}),_0x4bb6ac['on'](_0x223d9a(0x1b0),()=>{const _0x237386=_0x223d9a;this[_0x237386(0x18d)](),this[_0x237386(0x1a8)]();}),_0x4bb6ac[_0x223d9a(0x1e1)](_0x223d9a(0x1bd),()=>{const _0x3d5d81=_0x223d9a;_0x4bb6ac[_0x3d5d81(0x1a8)]();}),_0x4bb6ac[_0x223d9a(0x1b2)](),_0x4bb6ac[_0x223d9a(0x1cf)](_0x223d9a(0x1bd))['to'](this),_0x4bb6ac[_0x223d9a(0x1cf)](_0x223d9a(0x1c9))['to'](this),_0x4bb6ac;}[_0x2fc83a(0x1b5)](){const _0x41e3d4=_0x2fc83a,_0x274e05=this[_0x41e3d4(0x189)];this[_0x41e3d4(0x1aa)][_0x41e3d4(0x1c5)](_0x274e05);for(const _0x19de73 of this[_0x41e3d4(0x1a0)])this[_0x41e3d4(0x1d6)][_0x41e3d4(0x1b9)](_0x19de73[_0x41e3d4(0x189)]),this[_0x41e3d4(0x1aa)][_0x41e3d4(0x1c5)](_0x19de73[_0x41e3d4(0x189)]);this[_0x41e3d4(0x1a0)]['on'](_0x41e3d4(0x1a5),(_0x3398be,_0x3cfda8)=>{const _0xf34449=_0x41e3d4;for(const _0x26ff30 of _0x3cfda8[_0xf34449(0x19b)])this[_0xf34449(0x1d6)][_0xf34449(0x1db)](_0x26ff30[_0xf34449(0x189)]),this[_0xf34449(0x1aa)][_0xf34449(0x19f)](_0x26ff30[_0xf34449(0x189)]);for(const _0xa694c2 of _0x3cfda8[_0xf34449(0x18b)])this[_0xf34449(0x1d6)][_0xf34449(0x1b9)](_0xa694c2[_0xf34449(0x189)]),this[_0xf34449(0x1aa)][_0xf34449(0x1c5)](_0xa694c2[_0xf34449(0x189)]);}),this[_0x41e3d4(0x1aa)][_0x41e3d4(0x199)](_0x41e3d4(0x1b4),(_0x5b4310,_0x1a8113)=>{const _0x233b49=_0x41e3d4;_0x274e05===_0x5b4310[_0x233b49(0x1d3)]&&(this[_0x233b49(0x1cb)][_0x233b49(0x193)](),_0x1a8113());}),this[_0x41e3d4(0x1aa)][_0x41e3d4(0x199)](_0x41e3d4(0x1c4),(_0x5a34a3,_0x4ad41e)=>{const _0x46be05=_0x41e3d4;_0x274e05!==_0x5a34a3[_0x46be05(0x1d3)]&&(this[_0x46be05(0x1a8)](),_0x4ad41e());});}}