@ckeditor/ckeditor5-comments 45.2.0-alpha.4 → 45.2.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/package.json +18 -18
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x319ad5=_0x190d;(function(_0x234b2a,_0x475693){const _0xfc1d4a=_0x190d,_0xe38830=_0x234b2a();while(!![]){try{const _0x590cf5=-parseInt(_0xfc1d4a(0x22c))/0x1+-parseInt(_0xfc1d4a(0x26c))/0x2+-parseInt(_0xfc1d4a(0x2aa))/0x3+parseInt(_0xfc1d4a(0x225))/0x4*(parseInt(_0xfc1d4a(0x207))/0x5)+-parseInt(_0xfc1d4a(0x279))/0x6*(-parseInt(_0xfc1d4a(0x248))/0x7)+parseInt(_0xfc1d4a(0x271))/0x8+-parseInt(_0xfc1d4a(0x26a))/0x9;if(_0x590cf5===_0x475693)break;else _0xe38830['push'](_0xe38830['shift']());}catch(_0x287f9c){_0xe38830['push'](_0xe38830['shift']());}}}(_0x2e30,0xe6bec));import{PendingActions as _0x12fc25,ContextPlugin as _0x1c3cb2,Editor as _0x12f39e}from'ckeditor5/src/core.js';import{Collection as _0x2436e2,uid as _0x973e08,CKEditorError as _0x42d89e,ObservableMixin as _0x54b73e}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x210c22,hashObject as _0x194e0b,Users as _0x579d42}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x26b1ec,isEqual as _0x5cd54d,set as _0x36adfe,unset as _0x3537d4}from'es-toolkit/compat';import _0x3dab8c from'./ui/commentthreadcontroller.js';import _0x2a3689 from'./ui/view/commentthreadview.js';import _0x58059d from'./ui/view/commentview.js';function _0x2e30(){const _0x839e08=['CommentView','commentsrepository-remove-comment-internal-error','isOfficialPlugin','unlinkedAt','isFromAdapter','change:authoredAt','init','set','comments.maxThreadTotalWeight','fetchCommentThread','commentsrepository-add-comment-internal-error','_repository','_removeCommentThread','updateComment','commentId','commentsrepository-invalid-comment-content','_threads','_updateCommentThread','_createCommentThreadView','_addCommentThread','_createNewComment','_submitCommentThread','comment','modifyAll','view','from','remove','string','CommentsRepository','focusableElements','submit','isDirty','pluginName','commentsrepository-remove-missing-comment-thread','@external','_adapter','length','571104YvKOpZ','commentsrepository-adapter-already-set','editorDestroyed','change:isDirty','weight','_unbindEditors','_updateComment','adapter','activeCommentThread','resolvedAt','fire','setActiveCommentThread','focus','commentsrepository-missing-thread-and-adapter-method','_add','resolvedBy','author','highest','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','get','_detachCommentThread','switchReadOnly','max','_getExternalAuthor','has','change:_readOnlyChannels','body','function','isResolved','PendingActions','comments.CommentThreadView','addCommentThread','addUser','reopen','_findOptimalIndex','isRemovable','getByInnerView','commentsrepository-invalid-comment-thread-id','attributes','commentsrepository-active-not-attached','stopListening','getCommentThread','commentsrepository-update-comment-invalid-content','createdAt','commentsrepository-resolve-comment-thread-internal-error','find','focusTracker','PENDING_ACTION_COMMENT_THREAD','attachTo','commentsrepository-remove-missing-comment','external:','bind','setPermissions','commentsrepository-add-comment-user-not-exists','change:_permissions','bodyCollectionContainer','type','comments.editorConfig','resolve','_threadToController','removeComment','commentsrepository-missing-comment-thread','_reopenCommentThread','commentsrepository-resolved-comment-thread','commentUpdated','_bindAnnotationToEditors','15ytBWZC','_removeComment','add','innerHTML','getIndex','activate','getTime','isActive','_permissions','write','commentsrepository-update-comment-internal-error','commentsrepository-add-comment-to-missing-comment-thread','licenseKey','comments.copyMarkers','destroy','catch','change:activeAnnotations','commentsrepository-duplicated-comment-thread-id','commentsrepository-update-missing-comment','context','isSubmitted','resolveCommentThread','filter','commentsrepository-add-comment-thread-internal-error','lowest','plugins','commentsrepository-attach-missing-comment-thread','model','createElement','hasCommentThread','1952696SYozrH','push','requires','setUnlinkedAt','map','_isAttached','commentsrepository-update-comment-missing-comment-thread','1621608FZVsQW','authorName','getComment','_removeActiveAnnotation','refreshVisibility','submitCommentThread','commentsrepository-invalid-commentid','archivedAt','threadId','noChannel','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-reopen-comment-thread','_addComment','_isSubmitted','authoredAt','trim','isReadOnly','error','creator','delete','isExternal','commentsListView','CommentThreadView','div','assign','_remove','reduce','removeCommentThread','1561Zbxean','update','content','commentsrepository-fetch-comment-thread','listenTo','_viewToController','getPermissions','toJSON','values','commentsrepository-active-missing-comment-thread','textContent','commentsrepository-invalid-comment-authorid','channelId','comments.CommentView','innerView','setContext','warn','getCommentThreads','once','config','_readOnlyChannels','commentThreadInputView','isEditable','deactivateAll','addComment','isAttached','locale','_resolveCommentThread','updateCommentThread','commentsrepository-remove-comment-thread-internal-error','admin','commentsrepository-get-comment-invalid-id','isResolvable','then','2051262gXXxPX','commentsrepository-update-comment-thread-internal-error','590776FSJnjq','comments.maxCommentCharsWhenCollapsed','setAttribute','_attachCommentThread','openNewCommentThread','13123128WzEaDV','_updateActiveAnnotation','commentInputView','commentsrepository-missing-target','comments','escape','isVisible','define','4722lUiqag','removeAttribute','isPremiumPlugin','getUser','reopenCommentThread','_hasTargetInContent','canComment','createCommentThreadController','_update','comments.maxCommentsWhenCollapsed','commentsrepository-reopen-comment-thread-internal-error','editorReady'];_0x2e30=function(){return _0x839e08;};return _0x2e30();}import{getTranslation as _0x513a18}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x151837 from'../annotations/view/annotationview.js';import _0x92720a from'../annotations/annotation.js';function _0x190d(_0x5bf3fe,_0x4b7c84){const _0x2e3027=_0x2e30();return _0x190d=function(_0x190d74,_0x521011){_0x190d74=_0x190d74-0x1d6;let _0x3c7a4e=_0x2e3027[_0x190d74];return _0x3c7a4e;},_0x190d(_0x5bf3fe,_0x4b7c84);}import _0x670a0c from'../annotations/annotations.js';const Tt=Symbol(_0x319ad5(0x235)),_t={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x1c3cb2{[_0x319ad5(0x295)];[_0x319ad5(0x200)];[_0x319ad5(0x24d)];static get[_0x319ad5(0x227)](){return[_0x670a0c,_0x12fc25,_0x579d42];}static get[_0x319ad5(0x2a5)](){const _0x13fb17=_0x319ad5;return _0x13fb17(0x2a1);}static get[_0x319ad5(0x287)](){return!0x0;}static get[_0x319ad5(0x27b)](){return!0x0;}constructor(_0x47cc84){const _0x362e77=_0x319ad5;super(_0x47cc84),this[_0x362e77(0x295)]=new Map(),this[_0x362e77(0x200)]=new Map(),this[_0x362e77(0x24d)]=new Map(),this[_0x362e77(0x28c)](_0x362e77(0x25c),new Set()),this[_0x362e77(0x28c)](_0x362e77(0x20f),new Map());const _0x565771=this[_0x362e77(0x21a)][_0x362e77(0x25b)];_0x565771[_0x362e77(0x278)](_0x362e77(0x282),0x2),_0x565771[_0x362e77(0x278)](_0x362e77(0x28d),0x1f4),_0x565771[_0x362e77(0x278)](_0x362e77(0x26d),0x8c),_0x565771[_0x362e77(0x278)](_0x362e77(0x1e3),_0x2a3689),_0x565771[_0x362e77(0x278)](_0x362e77(0x255),_0x58059d),_0x565771[_0x362e77(0x1d8)](_0x362e77(0x1fe))||console[_0x362e77(0x258)](_0x362e77(0x1d7));}[_0x319ad5(0x28b)](){const _0x3e3301=_0x319ad5,_0x10a3d6=this[_0x3e3301(0x21a)][_0x3e3301(0x220)][_0x3e3301(0x1d8)](_0x670a0c);this[_0x3e3301(0x28c)](_0x3e3301(0x2b2),null),this['on'](_0x3e3301(0x1e4),(_0xa79792,_0x561cd8)=>this[_0x3e3301(0x298)](_0x561cd8)),this['on'](_0x3e3301(0x231),(_0x171617,_0x42a56e)=>this[_0x3e3301(0x29a)](_0x42a56e)),this['on'](_0x3e3301(0x21c),(_0x2cbd66,_0x4227d4)=>this[_0x3e3301(0x263)](_0x4227d4)),this['on'](_0x3e3301(0x21c),(_0x422c57,_0x3b402b)=>this[_0x3e3301(0x272)](_0x3b402b),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x27d),(_0x567c58,_0x3a7a4f)=>this[_0x3e3301(0x203)](_0x3a7a4f)),this['on'](_0x3e3301(0x27d),(_0xf4998a,_0x14b6b4)=>this[_0x3e3301(0x272)](_0x14b6b4),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x247),(_0x3c7637,_0x585a29)=>this[_0x3e3301(0x291)](_0x585a29)),this['on'](_0x3e3301(0x264),(_0x58f27e,_0x5a747b)=>this[_0x3e3301(0x296)](_0x5a747b)),this['on'](_0x3e3301(0x264),(_0x142861,_0x253d4c)=>this[_0x3e3301(0x272)](_0x253d4c),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x260),(_0x5da939,_0x2270e1)=>this[_0x3e3301(0x238)](_0x2270e1)),this['on'](_0x3e3301(0x292),(_0x147491,_0x557ff3)=>this[_0x3e3301(0x2b0)](_0x557ff3)),this['on'](_0x3e3301(0x201),(_0x3abd36,_0x959529)=>this[_0x3e3301(0x208)](_0x959529)),this['on'](_0x3e3301(0x260),(_0x3f3019,{threadId:_0xb3ca03,isFromAdapter:_0x53f644})=>{const _0x22e40a=_0x3e3301;if(_0x53f644)return;const _0x3701a9=this[_0x22e40a(0x1ee)](_0xb3ca03),_0x5d03e9=_0x3701a9&&this[_0x22e40a(0x200)][_0x22e40a(0x1d8)](_0x3701a9);_0x5d03e9&&_0x5d03e9[_0x22e40a(0x29d)][_0x22e40a(0x241)][_0x22e40a(0x2b6)](-0x1);},{'priority':_0x3e3301(0x21f)}),this[_0x3e3301(0x24c)](_0x10a3d6,_0x3e3301(0x217),(_0x5b80d8,_0x1423f6,_0x2a0bdb)=>{const _0x29a991=_0x3e3301,_0x4f63f9=Array[_0x29a991(0x29e)](_0x2a0bdb)[_0x29a991(0x229)](_0x34305b=>this[_0x29a991(0x24d)][_0x29a991(0x1d8)](_0x34305b[_0x29a991(0x256)]))[_0x29a991(0x21d)](Boolean)[0x0];this[_0x29a991(0x2b2)]=_0x4f63f9?_0x4f63f9[_0x29a991(0x222)]:null;});}set[_0x319ad5(0x2b1)](_0x4a1388){const _0x4393f6=_0x319ad5;if(this[_0x4393f6(0x2a8)])throw new _0x42d89e(_0x4393f6(0x2ab));this[_0x4393f6(0x2a8)]=_0x4a1388;}get[_0x319ad5(0x2b1)](){const _0x24d35a=_0x319ad5;return this[_0x24d35a(0x2a8)];}[_0x319ad5(0x1e4)]({channelId:_0x27349a=Tt,threadId:_0x10039c=_0x973e08(),comments:_0x1dd5e7=[],unlinkedAt:_0x6eb741=null,resolvedAt:_0x312374=null,resolvedBy:_0x411514=null,target:_0x2c9b79=null,context:_0x4b4485=null,attributes:_0x2e35fe={},isResolvable:_0x3e9085=!0x0,isSubmitted:_0x272b20=!0x1,isFromAdapter:_0x121910=!0x1}={}){const _0xf88af9=_0x319ad5;return this[_0xf88af9(0x2b4)](bt(_0xf88af9(0x1e4),_0x27349a),{'channelId':_0x27349a,'threadId':_0x10039c,'comments':_0x1dd5e7,'unlinkedAt':_0x6eb741,'resolvedAt':_0x312374,'resolvedBy':_0x411514,'target':_0x2c9b79,'context':_0x4b4485,'attributes':_0x2e35fe,'isFromAdapter':_0x121910,'isResolvable':_0x3e9085,'isSubmitted':_0x272b20}),this[_0xf88af9(0x1ee)](_0x10039c);}[_0x319ad5(0x270)]({channelId:_0x267ebc=Tt,threadId:_0x4bdcc3=_0x973e08(),target:_0x2c7209,context:_0x564d33=null,isResolvable:_0x2f2a26=!0x0}){const _0x4f41a5=_0x319ad5;if(this[_0x4f41a5(0x25c)][_0x4f41a5(0x1dd)](_0x267ebc)||this[_0x4f41a5(0x25c)][_0x4f41a5(0x1dd)](void 0x0))return null;if(!_0x2c7209)throw new _0x42d89e(_0x4f41a5(0x274));const _0x488e6c=this[_0x4f41a5(0x1e4)]({'channelId':_0x267ebc,'threadId':_0x4bdcc3,'target':_0x2c7209,'context':_0x564d33,'isResolvable':_0x2f2a26});if(!_0x488e6c)return null;const _0x263d21=this[_0x4f41a5(0x200)][_0x4f41a5(0x1d8)](_0x488e6c),_0x27127e=_0x263d21[_0x4f41a5(0x29d)][_0x4f41a5(0x25d)][_0x4f41a5(0x273)],_0x528cf5=this[_0x4f41a5(0x21a)][_0x4f41a5(0x220)][_0x4f41a5(0x1d8)](_0x670a0c),_0x56457e=_0x528cf5[_0x4f41a5(0x1e9)](_0x263d21[_0x4f41a5(0x29d)]);return _0x528cf5[_0x4f41a5(0x20c)](_0x56457e),_0x27127e[_0x4f41a5(0x25a)](_0x4f41a5(0x284),()=>_0x27127e[_0x4f41a5(0x2b6)]()),_0x488e6c;}[_0x319ad5(0x224)](_0x8b3af6){const _0x288565=_0x319ad5;if(_0x288565(0x2a0)!=typeof _0x8b3af6)throw new _0x42d89e(_0x288565(0x1ea));return this[_0x288565(0x295)][_0x288565(0x1dd)](_0x8b3af6);}[_0x319ad5(0x264)]({channelId:_0x510f8f=Tt,threadId:_0xe21775,context:_0x19581f,unlinkedAt:_0x329229,attributes:_0x4fef51,isFromAdapter:_0x1c5337=!0x1}){const _0x216e1f=_0x319ad5;return this[_0x216e1f(0x2b4)](bt(_0x216e1f(0x264),_0x510f8f),{'channelId':_0x510f8f,'threadId':_0xe21775,'context':_0x19581f,'unlinkedAt':_0x329229,'attributes':_0x4fef51,'isFromAdapter':_0x1c5337}),this[_0x216e1f(0x1ee)](_0xe21775);}[_0x319ad5(0x1ee)](_0x3c0285){const _0x1bd80b=_0x319ad5;if(_0x1bd80b(0x2a0)!=typeof _0x3c0285)throw new _0x42d89e(_0x1bd80b(0x1ea));return this[_0x1bd80b(0x295)][_0x1bd80b(0x1d8)](_0x3c0285);}[_0x319ad5(0x28e)]({channelId:_0x21e847,threadId:_0x3239ad}={}){const _0x266399=_0x319ad5,_0x2ac66d=this[_0x266399(0x1ee)](_0x3239ad);if(_0x2ac66d)return Promise[_0x266399(0x1ff)](_0x2ac66d);if(!this[_0x266399(0x2b1)])return Promise[_0x266399(0x1ff)](void 0x0);if(_0x266399(0x1e0)!=typeof this[_0x266399(0x2b1)][_0x266399(0x1ee)])throw new _0x42d89e(_0x266399(0x2b7),this[_0x266399(0x21a)]);return this[_0x266399(0x2b1)][_0x266399(0x1ee)]({'channelId':_0x21e847,'threadId':_0x3239ad})[_0x266399(0x269)](_0x554b29=>this[_0x266399(0x224)](_0x3239ad)?this[_0x266399(0x1ee)](_0x3239ad):_0x554b29?this[_0x266399(0x1e4)](Object[_0x266399(0x244)]({'isFromAdapter':!0x0,'channelId':_0x21e847},_0x554b29)):void 0x0)[_0x266399(0x216)](_0x44fe43=>{const _0x3dca61=_0x266399;throw console[_0x3dca61(0x23d)](_0x44fe43),new _0x42d89e(_0x3dca61(0x24b),this[_0x3dca61(0x21a)]);});}[_0x319ad5(0x259)]({channelId:_0x54b56d,skipNotAttached:_0x82e469=!0x1,skipEmpty:_0x16f2a6=!0x1,toJSON:_0x1e40df=!0x1}={}){const _0x12a4ea=_0x319ad5,_0x55ffce=[];for(const _0x450756 of this[_0x12a4ea(0x295)][_0x12a4ea(0x250)]())_0x54b56d&&_0x450756[_0x12a4ea(0x254)]!==_0x54b56d||_0x82e469&&!_0x450756[_0x12a4ea(0x261)]||_0x16f2a6&&0x0===_0x450756[_0x12a4ea(0x2a9)]||_0x55ffce[_0x12a4ea(0x226)](_0x450756);return _0x1e40df?_0x55ffce[_0x12a4ea(0x229)](_0x2810fa=>_0x2810fa[_0x12a4ea(0x24f)]()):_0x55ffce;}[_0x319ad5(0x2b5)](_0x37b612){const _0x3ab2bd=_0x319ad5,_0x2495ec=this[_0x3ab2bd(0x21a)][_0x3ab2bd(0x220)][_0x3ab2bd(0x1d8)](_0x670a0c);if(!_0x37b612)return void(this[_0x3ab2bd(0x2b2)]&&_0x2495ec[_0x3ab2bd(0x25f)]());const _0x3fd2ad=this[_0x3ab2bd(0x1ee)](_0x37b612);if(!_0x3fd2ad)throw new _0x42d89e(_0x3ab2bd(0x251),null,{'threadId':_0x37b612});if(!this[_0x3ab2bd(0x200)][_0x3ab2bd(0x1dd)](_0x3fd2ad))throw new _0x42d89e(_0x3ab2bd(0x1ec),null,{'threadId':_0x37b612});const _0x461c90=_0x2495ec[_0x3ab2bd(0x1e9)](this[_0x3ab2bd(0x200)][_0x3ab2bd(0x1d8)](_0x3fd2ad)[_0x3ab2bd(0x29d)]);_0x2495ec[_0x3ab2bd(0x20c)](_0x461c90);}[_0x319ad5(0x1da)](_0x205543,_0x1cdfc0){const _0x11b840=_0x319ad5;_0x205543?this[_0x11b840(0x25c)][_0x11b840(0x209)](_0x1cdfc0):this[_0x11b840(0x25c)][_0x11b840(0x23f)](_0x1cdfc0),this[_0x11b840(0x2b4)](_0x11b840(0x1de),_0x11b840(0x25c),this[_0x11b840(0x25c)],this[_0x11b840(0x25c)]);}[_0x319ad5(0x23c)](_0x308945){const _0x12ff8c=_0x319ad5;return this[_0x12ff8c(0x25c)][_0x12ff8c(0x1dd)](_0x308945)||this[_0x12ff8c(0x25c)][_0x12ff8c(0x1dd)](void 0x0);}[_0x319ad5(0x280)](_0x117efa,_0x18646c){return new _0x3dab8c(_0x117efa,_0x18646c);}[_0x319ad5(0x1f9)](_0x218fff,_0x5c3b65=Tt){const _0x474958=_0x319ad5;this[_0x474958(0x20f)][_0x474958(0x28c)](_0x5c3b65,_0x218fff),this[_0x474958(0x2b4)](_0x474958(0x1fb),_0x474958(0x20f),this[_0x474958(0x20f)],this[_0x474958(0x20f)]);}[_0x319ad5(0x24e)](_0x535b40=Tt){const _0x3b9c1e=_0x319ad5;return this[_0x3b9c1e(0x20f)][_0x3b9c1e(0x1dd)](_0x535b40)?this[_0x3b9c1e(0x20f)][_0x3b9c1e(0x1d8)](_0x535b40):_t;}[_0x319ad5(0x298)]({channelId:_0x506e90,threadId:_0x1c3468,comments:_0x3c98b8,unlinkedAt:_0x38ae7f,resolvedAt:_0x30844,resolvedBy:_0x518822,target:_0x495b04,context:_0xd600b2,attributes:_0x15481d,isFromAdapter:_0x2b64fe,isResolvable:_0x5af240,isSubmitted:_0x5c6afb}){const _0x35cf5a=_0x319ad5;if(_0x35cf5a(0x2a0)!=typeof _0x1c3468)throw new _0x42d89e(_0x35cf5a(0x1ea),null,{'threadId':_0x1c3468});if(this[_0x35cf5a(0x224)](_0x1c3468))throw new _0x42d89e(_0x35cf5a(0x218),null,{'threadId':_0x1c3468});const _0x439e5b=new CommentThread(this,{'channelId':_0x506e90,'id':_0x1c3468,'context':_0xd600b2,'attributes':_0x15481d,'unlinkedAt':_0x38ae7f,'resolvedAt':_0x30844,'resolvedBy':_0x518822?this[_0x35cf5a(0x21a)][_0x35cf5a(0x220)][_0x35cf5a(0x1d8)](_0x579d42)[_0x35cf5a(0x27c)](_0x518822):null,'isResolvable':_0x5af240,'isSubmitted':_0x5c6afb||_0x2b64fe});this[_0x35cf5a(0x295)][_0x35cf5a(0x28c)](_0x1c3468,_0x439e5b);for(const _0x3438cb of _0x3c98b8)_0x439e5b[_0x35cf5a(0x2b8)](this[_0x35cf5a(0x299)]({'threadId':_0x1c3468,..._0x3438cb}));return _0x495b04&&_0x439e5b[_0x35cf5a(0x1f5)](_0x495b04),_0x2b64fe||!_0x439e5b[_0x35cf5a(0x2a9)]?Promise[_0x35cf5a(0x1ff)]():this[_0x35cf5a(0x29a)]({'channelId':_0x506e90,'threadId':_0x1c3468});}[_0x319ad5(0x29a)]({channelId:_0x457bef,threadId:_0x372879}){const _0x532837=_0x319ad5;if(!this[_0x532837(0x224)](_0x372879))throw new _0x42d89e(_0x532837(0x202),this);const _0x16db53=this[_0x532837(0x1ee)](_0x372879);if(_0x16db53[_0x532837(0x239)]=!0x0,!this[_0x532837(0x2b1)]||_0x532837(0x1e0)!=typeof this[_0x532837(0x2b1)][_0x532837(0x1e4)])return Promise[_0x532837(0x1ff)]();const {id:_0x380231,comments:_0x14e509,resolvedAt:_0x324868,resolvedBy:_0x35083d,context:_0x469be2,attributes:_0x4d3782}=_0x16db53,_0x5845e9=this[_0x532837(0x21a)][_0x532837(0x220)][_0x532837(0x1d8)](_0x532837(0x1e2)),_0x20d8f4=_0x5845e9[_0x532837(0x209)](_0x513a18(this[_0x532837(0x21a)][_0x532837(0x262)],_0x532837(0x1f4)));return this[_0x532837(0x2b1)][_0x532837(0x1e4)]({'channelId':_0x457bef,'threadId':_0x380231,'comments':_0x14e509[_0x532837(0x229)](_0x2e71e8=>_0x2e71e8[_0x532837(0x24f)]()),'resolvedAt':_0x324868,'resolvedBy':_0x35083d?_0x35083d['id']:_0x35083d,'context':_0x469be2,'attributes':_0x4d3782})[_0x532837(0x269)](({comments:_0x558c78})=>{const _0x24cb85=_0x532837;_0x5845e9[_0x24cb85(0x29f)](_0x20d8f4);for(const _0x41d5c8 of _0x558c78)this[_0x24cb85(0x2b0)]({'channelId':_0x457bef,'threadId':_0x372879,'commentId':_0x41d5c8[_0x24cb85(0x293)],'createdAt':_0x41d5c8[_0x24cb85(0x1f0)],'isFromAdapter':!0x0});})[_0x532837(0x216)](_0x345175=>{const _0x2d34ad=_0x532837;throw console[_0x2d34ad(0x23d)](_0x345175),new _0x42d89e(_0x2d34ad(0x21e),this);});}[_0x319ad5(0x26f)]({threadId:_0x2640c0,target:_0x5e080c}){const _0x42eb32=_0x319ad5,_0x2e6924=this[_0x42eb32(0x1ee)](_0x2640c0);if(!_0x2e6924)throw new _0x42d89e(_0x42eb32(0x221),this);const _0x5d4a86=this[_0x42eb32(0x21a)][_0x42eb32(0x220)][_0x42eb32(0x1d8)](_0x42eb32(0x1e2)),_0x5acd69=this[_0x42eb32(0x21a)][_0x42eb32(0x220)][_0x42eb32(0x1d8)](_0x670a0c),_0xefdd2=this[_0x42eb32(0x297)](_0x2e6924),_0x42db3a=new _0x3dab8c(_0x2e6924,_0xefdd2);let _0x26b205=null;_0xefdd2['on'](_0x42eb32(0x2ad),(_0x396542,_0x50aab8,_0x1c4c87)=>{const _0x53d7fc=_0x42eb32;_0x1c4c87?_0x26b205=_0x5d4a86[_0x53d7fc(0x209)](_0x513a18(this[_0x53d7fc(0x21a)][_0x53d7fc(0x262)],_0x53d7fc(0x1f4))):_0x26b205&&(_0x5d4a86[_0x53d7fc(0x29f)](_0x26b205),_0x26b205=null);}),this[_0x42eb32(0x200)][_0x42eb32(0x28c)](_0x2e6924,_0x42db3a),this[_0x42eb32(0x24d)][_0x42eb32(0x28c)](_0xefdd2,_0x42db3a);const _0x36462d=new _0x151837(this[_0x42eb32(0x21a)][_0x42eb32(0x262)],_0xefdd2);_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x2a9))['to'](_0xefdd2),_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x2a4))['to'](_0xefdd2,_0x42eb32(0x2a4),_0xefdd2,_0x42eb32(0x2a9),(_0x140790,_0x5b225d)=>_0x140790||!_0x5b225d),_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x20e))['to'](_0xefdd2),_0x36462d[_0x42eb32(0x1fd)]=_0x42eb32(0x29b);const _0x39b20a=new _0x92720a({'view':_0x36462d,'target':_0x5e080c,'type':_0x42eb32(0x29b),'isVisible':!_0x2e6924[_0x42eb32(0x233)]});return _0xefdd2['on'](_0x42eb32(0x276),()=>{const _0x3062f2=_0x42eb32;_0x39b20a[_0x3062f2(0x2b4)](_0x3062f2(0x276));}),this[_0x42eb32(0x206)](_0xefdd2,_0x39b20a),_0x5acd69[_0x42eb32(0x209)](_0x39b20a),_0x39b20a;}[_0x319ad5(0x206)](_0x24b036,_0x3115d0){const _0x38790e=_0x319ad5;this[_0x38790e(0x24c)](_0x24b036,_0x38790e(0x284),(_0x29de7f,_0x1ed3c4)=>{const _0x48ec0a=_0x38790e,_0x332dc5=_0x1ed3c4['ui'][_0x48ec0a(0x29d)][_0x48ec0a(0x1df)][_0x48ec0a(0x1fc)];_0x3115d0[_0x48ec0a(0x2a2)][_0x48ec0a(0x209)](_0x332dc5),this[_0x48ec0a(0x21a)]instanceof _0x12f39e&&this[_0x48ec0a(0x21a)]['ui'][_0x48ec0a(0x1f3)][_0x48ec0a(0x209)](_0x332dc5);},{'priority':_0x38790e(0x1d6)}),this[_0x38790e(0x24c)](_0x24b036,_0x38790e(0x2ac),(_0x20270b,_0x274312)=>{const _0x293c85=_0x38790e,_0x212d17=_0x274312['ui'][_0x293c85(0x29d)][_0x293c85(0x1df)][_0x293c85(0x1fc)];_0x3115d0[_0x293c85(0x2a2)][_0x293c85(0x1dd)](_0x212d17)&&_0x3115d0[_0x293c85(0x2a2)][_0x293c85(0x29f)](_0x212d17),this[_0x293c85(0x21a)]instanceof _0x12f39e&&this[_0x293c85(0x21a)]['ui'][_0x293c85(0x1f3)][_0x293c85(0x29f)](_0x212d17);});}[_0x319ad5(0x2af)](_0x35cd4f){const _0x2e8948=_0x319ad5;this[_0x2e8948(0x1ed)](_0x35cd4f,_0x2e8948(0x284)),this[_0x2e8948(0x1ed)](_0x35cd4f,_0x2e8948(0x2ac));}[_0x319ad5(0x297)](_0xba9b46){const _0x34c152=_0x319ad5,_0x70826=this[_0x34c152(0x21a)][_0x34c152(0x220)][_0x34c152(0x1d8)](_0x579d42),{config:_0x2f6607,locale:_0x16b834}=this[_0x34c152(0x21a)],_0x5ea25e=_0x210c22(_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x262)),_0x16b834);return new(0x0,(_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x275)))[(_0x34c152(0x242))])(_0x16b834,_0xba9b46,_0x70826['me'],{'editorConfig':{..._0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x1fe)),'licenseKey':this[_0x34c152(0x21a)][_0x34c152(0x25b)][_0x34c152(0x1d8)](_0x34c152(0x213))},'copyMarkers':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x214)),'maxCommentsWhenCollapsed':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x282)),'maxThreadTotalWeight':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x28d)),'maxCommentCharsWhenCollapsed':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x26d)),'formatDateTime':_0x5ea25e,'CommentView':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x275))[_0x34c152(0x285)]});}[_0x319ad5(0x263)]({threadId:_0x2db3dc,channelId:_0xba4101,resolvedAt:_0x125049,resolvedBy:_0x50b660,isFromAdapter:_0x25b04f}){const _0x2f23e5=_0x319ad5;if(!this[_0x2f23e5(0x224)](_0x2db3dc))throw new _0x42d89e(_0x2f23e5(0x202),null,{'threadId':_0x2db3dc});const _0x5eab35=this[_0x2f23e5(0x1ee)](_0x2db3dc);if(_0x5eab35[_0x2f23e5(0x1e1)])throw new _0x42d89e(_0x2f23e5(0x204),null,{'threadId':_0x2db3dc});const _0x2c89e3=this[_0x2f23e5(0x21a)][_0x2f23e5(0x220)][_0x2f23e5(0x1d8)](_0x579d42);if(_0x5eab35[_0x2f23e5(0x2b9)]=_0x2c89e3[_0x2f23e5(0x27c)](_0x50b660),_0x5eab35[_0x2f23e5(0x2b3)]=_0x125049,_0x25b04f||!this[_0x2f23e5(0x2b1)]||_0x2f23e5(0x1e0)!=typeof this[_0x2f23e5(0x2b1)][_0x2f23e5(0x21c)])return Promise[_0x2f23e5(0x1ff)]();const _0x153af5=this[_0x2f23e5(0x21a)][_0x2f23e5(0x220)][_0x2f23e5(0x1d8)](_0x2f23e5(0x1e2)),_0x176bad=_0x153af5[_0x2f23e5(0x209)](_0x513a18(this[_0x2f23e5(0x21a)][_0x2f23e5(0x262)],_0x2f23e5(0x1f4)));return this[_0x2f23e5(0x2b1)][_0x2f23e5(0x21c)]({'channelId':_0xba4101,'threadId':_0x2db3dc})[_0x2f23e5(0x269)](({resolvedAt:_0x19992d,resolvedBy:_0xabe027})=>{const _0x23b1c6=_0x2f23e5;_0x153af5[_0x23b1c6(0x29f)](_0x176bad),_0x5eab35[_0x23b1c6(0x2b9)]['id']!==_0xabe027&&(_0x5eab35[_0x23b1c6(0x2b9)]=_0x2c89e3[_0x23b1c6(0x27c)](_0xabe027)),_0x5eab35[_0x23b1c6(0x2b3)]=_0x19992d;})[_0x2f23e5(0x216)](_0x97d25b=>{const _0x57a033=_0x2f23e5;throw console[_0x57a033(0x23d)](_0x97d25b),new _0x42d89e(_0x57a033(0x1f1),this);});}[_0x319ad5(0x203)]({threadId:_0x3415de,channelId:_0x24a1e1,isFromAdapter:_0x494544}){const _0x7c9928=_0x319ad5;if(!this[_0x7c9928(0x224)](_0x3415de))throw new _0x42d89e(_0x7c9928(0x202),null,{'threadId':_0x3415de});const _0x32d2ff=this[_0x7c9928(0x1ee)](_0x3415de);if(!_0x32d2ff[_0x7c9928(0x1e1)])throw new _0x42d89e(_0x7c9928(0x237),null,{'threadId':_0x3415de});if(_0x32d2ff[_0x7c9928(0x2b9)]=null,_0x32d2ff[_0x7c9928(0x2b3)]=null,_0x494544||!this[_0x7c9928(0x2b1)]||_0x7c9928(0x1e0)!=typeof this[_0x7c9928(0x2b1)][_0x7c9928(0x27d)])return Promise[_0x7c9928(0x1ff)]();const _0x39b773=this[_0x7c9928(0x21a)][_0x7c9928(0x220)][_0x7c9928(0x1d8)](_0x7c9928(0x1e2)),_0x452294=_0x39b773[_0x7c9928(0x209)](_0x513a18(this[_0x7c9928(0x21a)][_0x7c9928(0x262)],_0x7c9928(0x1f4)));return this[_0x7c9928(0x2b1)][_0x7c9928(0x27d)]({'channelId':_0x24a1e1,'threadId':_0x3415de})[_0x7c9928(0x269)](()=>_0x39b773[_0x7c9928(0x29f)](_0x452294))[_0x7c9928(0x216)](_0x222d23=>{const _0x21141e=_0x7c9928;throw console[_0x21141e(0x23d)](_0x222d23),new _0x42d89e(_0x21141e(0x283),this);});}[_0x319ad5(0x291)]({threadId:_0x65262d,isFromAdapter:_0xaf4f2b}){const _0x423180=_0x319ad5,_0x352d7c=this[_0x423180(0x1ee)](_0x65262d);if(!_0x352d7c)throw new _0x42d89e(_0x423180(0x2a6),this);if(this[_0x423180(0x1d9)](_0x65262d),this[_0x423180(0x295)][_0x423180(0x23f)](_0x65262d),!_0x352d7c[_0x423180(0x21b)]||_0xaf4f2b||!this[_0x423180(0x2b1)]||_0x423180(0x1e0)!=typeof this[_0x423180(0x2b1)][_0x423180(0x247)])return Promise[_0x423180(0x1ff)]();const _0x4197c0=this[_0x423180(0x21a)][_0x423180(0x220)][_0x423180(0x1d8)](_0x423180(0x1e2)),{channelId:_0x56950a}=_0x352d7c,_0x53a662=_0x4197c0[_0x423180(0x209)](_0x513a18(this[_0x423180(0x21a)][_0x423180(0x262)],_0x423180(0x1f4)));return this[_0x423180(0x2b1)][_0x423180(0x247)]({'channelId':_0x56950a,'threadId':_0x65262d})[_0x423180(0x269)](()=>_0x4197c0[_0x423180(0x29f)](_0x53a662))[_0x423180(0x216)](_0x16c783=>{const _0x48f336=_0x423180;throw console[_0x48f336(0x23d)](_0x16c783),new _0x42d89e(_0x48f336(0x265),this);});}[_0x319ad5(0x296)]({threadId:_0x3d0018,unlinkedAt:_0x32cc0d,context:_0x3b0586,attributes:_0x5c2b9,isFromAdapter:_0x4f726e}){const _0x2514e3=_0x319ad5;if(_0x2514e3(0x2a0)!=typeof _0x3d0018)throw new _0x42d89e(_0x2514e3(0x1ea),null,{'threadId':_0x3d0018});if(!this[_0x2514e3(0x224)](_0x3d0018))throw new _0x42d89e(_0x2514e3(0x202),null,{'threadId':_0x3d0018});const _0x324989=this[_0x2514e3(0x1ee)](_0x3d0018);let _0x2173a4=!0x1;if(void 0x0!==_0x3b0586&&_0x324989[_0x2514e3(0x21a)]!==_0x3b0586&&(_0x324989[_0x2514e3(0x21a)]=_0x3b0586,_0x2173a4=!0x0),void 0x0!==_0x32cc0d&&_0x324989[_0x2514e3(0x288)]!==_0x32cc0d&&(_0x324989[_0x2514e3(0x288)]=_0x32cc0d,_0x2173a4=!0x0),_0x5c2b9&&!_0x5cd54d(_0x5c2b9,_0x324989[_0x2514e3(0x1eb)])&&(_0x324989[_0x2514e3(0x1eb)]=_0x5c2b9,_0x2173a4=!0x0),!_0x2173a4)return Promise[_0x2514e3(0x1ff)]();if(!_0x324989[_0x2514e3(0x21b)]||_0x4f726e||!this[_0x2514e3(0x2b1)]||_0x2514e3(0x1e0)!=typeof this[_0x2514e3(0x2b1)][_0x2514e3(0x264)])return Promise[_0x2514e3(0x1ff)]();const _0x224756=this[_0x2514e3(0x21a)][_0x2514e3(0x220)][_0x2514e3(0x1d8)](_0x2514e3(0x1e2)),{channelId:_0x4d0edd}=_0x324989,_0x29ad3b=_0x224756[_0x2514e3(0x209)](_0x513a18(this[_0x2514e3(0x21a)][_0x2514e3(0x262)],_0x2514e3(0x1f4)));return this[_0x2514e3(0x2b1)][_0x2514e3(0x264)]({'channelId':_0x4d0edd,'threadId':_0x3d0018,'context':_0x3b0586,'unlinkedAt':_0x32cc0d,'attributes':_0x5c2b9})[_0x2514e3(0x269)](()=>_0x224756[_0x2514e3(0x29f)](_0x29ad3b))[_0x2514e3(0x216)](_0x524aaa=>{const _0x324623=_0x2514e3;throw console[_0x324623(0x23d)](_0x524aaa),new _0x42d89e(_0x324623(0x26b),this);});}[_0x319ad5(0x1d9)](_0x4fc474){const _0x9edfbe=_0x319ad5,_0x5a7003=this[_0x9edfbe(0x21a)][_0x9edfbe(0x220)][_0x9edfbe(0x1d8)](_0x670a0c),_0x50a51a=this[_0x9edfbe(0x1ee)](_0x4fc474);if(_0x50a51a[_0x9edfbe(0x22a)]=!0x1,this[_0x9edfbe(0x200)][_0x9edfbe(0x1dd)](_0x50a51a)){const _0x592fb6=this[_0x9edfbe(0x200)][_0x9edfbe(0x1d8)](_0x50a51a),_0x208972=_0x592fb6[_0x9edfbe(0x29d)],_0x23f7aa=_0x5a7003[_0x9edfbe(0x1e9)](_0x208972);this[_0x9edfbe(0x200)][_0x9edfbe(0x23f)](_0x50a51a),this[_0x9edfbe(0x24d)][_0x9edfbe(0x23f)](_0x208972),_0x23f7aa&&_0x5a7003[_0x9edfbe(0x29f)](_0x23f7aa),_0x592fb6[_0x9edfbe(0x215)](),_0x208972[_0x9edfbe(0x215)]()[_0x9edfbe(0x269)](()=>{const _0xab2b71=_0x9edfbe;this[_0xab2b71(0x2af)](_0x208972);});}}[_0x319ad5(0x272)]({threadId:_0xa42f36,resolvedAt:_0x11df77,unlinkedAt:_0x1ce387}){const _0x38fb9f=_0x319ad5,_0x49bc90=!!_0x11df77,_0x57110c=this[_0x38fb9f(0x21a)][_0x38fb9f(0x220)][_0x38fb9f(0x1d8)](_0x670a0c),_0x50dc0d=this[_0x38fb9f(0x1ee)](_0xa42f36);if(this[_0x38fb9f(0x200)][_0x38fb9f(0x1dd)](_0x50dc0d)){const _0x10cb85=this[_0x38fb9f(0x200)][_0x38fb9f(0x1d8)](_0x50dc0d)[_0x38fb9f(0x29d)],_0x9dc4a4=_0x57110c[_0x38fb9f(0x1e9)](_0x10cb85);_0x9dc4a4&&(_0x49bc90&&_0x57110c[_0x38fb9f(0x22f)](_0x9dc4a4),_0x1ce387?_0x9dc4a4[_0x38fb9f(0x277)]=!0x1:_0x9dc4a4[_0x38fb9f(0x230)]());}}[_0x319ad5(0x1dc)](_0xeb5de4){const _0x3ff861=_0x319ad5,_0x5dba67=this[_0x3ff861(0x21a)][_0x3ff861(0x220)][_0x3ff861(0x1d8)](_0x579d42),_0x423068=_0x194e0b(_0x3ff861(0x1f7)+_0xeb5de4),_0x43856d=_0x5dba67[_0x3ff861(0x27c)](_0x423068);return _0x43856d||_0x5dba67[_0x3ff861(0x1e5)]({'id':_0x423068,'name':_0xeb5de4});}[_0x319ad5(0x299)]({threadId:_0x59964c,commentId:_0x4b2a5a=_0x973e08(),content:_0x49dde3,authorId:_0xdc5bb1,createdAt:_0x4e995a,attributes:_0x6f7c77}){const _0xfdcf88=_0x319ad5;if(_0xfdcf88(0x2a0)!=typeof _0x4b2a5a)throw new _0x42d89e(_0xfdcf88(0x232));if(_0xfdcf88(0x2a0)!=typeof _0xdc5bb1)throw new _0x42d89e(_0xfdcf88(0x253));if(_0xfdcf88(0x2a0)!=typeof _0x49dde3||!_0x49dde3[_0xfdcf88(0x23b)]())throw new _0x42d89e(_0xfdcf88(0x294));const _0x1afff0=this[_0xfdcf88(0x21a)][_0xfdcf88(0x220)][_0xfdcf88(0x1d8)](_0x579d42)[_0xfdcf88(0x27c)](_0xdc5bb1);if(!_0x1afff0)throw new _0x42d89e(_0xfdcf88(0x1fa),null,{'authorId':_0xdc5bb1});let _0x361b23=null,_0xc7de69=_0x4e995a;return _0x6f7c77?.[_0xfdcf88(0x2a7)]&&(_0x361b23=this[_0xfdcf88(0x1dc)](_0x6f7c77[_0xfdcf88(0x2a7)][_0xfdcf88(0x22d)]),_0xc7de69=new Date(_0x6f7c77[_0xfdcf88(0x2a7)][_0xfdcf88(0x1f0)])),new Comment(this,{'threadId':_0x59964c,'id':_0x4b2a5a,'author':_0x361b23||_0x1afff0,'creator':_0x1afff0,'content':_0x49dde3,'createdAt':_0x4e995a,'authoredAt':_0xc7de69,'attributes':_0x6f7c77});}[_0x319ad5(0x238)](_0x4b6b79){const _0x555907=_0x319ad5;let {threadId:_0x43bbba,content:_0x27d86e,attributes:_0x10e300,isFromAdapter:_0x4d4e14}=_0x4b6b79;const _0x2459cb=this[_0x555907(0x1ee)](_0x4b6b79[_0x555907(0x234)]);if(!_0x2459cb)throw new _0x42d89e(_0x555907(0x212),this);const _0x4c5fae=this[_0x555907(0x299)](_0x4b6b79),{id:_0x5c1c7c}=_0x4c5fae;if(_0x2459cb[_0x555907(0x2b8)](_0x4c5fae),_0x4d4e14||!this[_0x555907(0x2b1)]||_0x555907(0x1e0)!=typeof this[_0x555907(0x2b1)][_0x555907(0x260)]||!_0x2459cb[_0x555907(0x21b)])return Promise[_0x555907(0x1ff)]();const _0x4eae9e=this[_0x555907(0x21a)][_0x555907(0x220)][_0x555907(0x1d8)](_0x555907(0x1e2)),{channelId:_0x389aea}=_0x2459cb,_0x10755f=_0x4eae9e[_0x555907(0x209)](_0x513a18(this[_0x555907(0x21a)][_0x555907(0x262)],_0x555907(0x1f4)));return _0x10e300||(_0x10e300={}),this[_0x555907(0x2b1)][_0x555907(0x260)]({'channelId':_0x389aea,'threadId':_0x43bbba,'commentId':_0x5c1c7c,'content':_0x27d86e,'attributes':_0x10e300})[_0x555907(0x269)](_0x26d47b=>{const _0x3d46d8=_0x555907;_0x4eae9e[_0x3d46d8(0x29f)](_0x10755f),_0x26d47b&&this[_0x3d46d8(0x2b0)]({'channelId':_0x389aea,'threadId':_0x43bbba,'commentId':_0x5c1c7c,'createdAt':_0x26d47b[_0x3d46d8(0x1f0)],'isFromAdapter':!0x0});})[_0x555907(0x216)](_0x56c617=>{const _0x4499d8=_0x555907;throw console[_0x4499d8(0x23d)](_0x56c617),new _0x42d89e(_0x4499d8(0x28f),this);});}[_0x319ad5(0x2b0)]({threadId:_0x3793d8,commentId:_0x410ff7,content:_0x1412a1,createdAt:_0x598430,attributes:_0x385a29,isFromAdapter:_0x17f12c}){const _0x48b397=_0x319ad5;if(void 0x0!==_0x1412a1&&(_0x48b397(0x2a0)!=typeof _0x1412a1||!_0x1412a1[_0x48b397(0x23b)]()[_0x48b397(0x2a9)]))throw new _0x42d89e(_0x48b397(0x1ef));const _0x48c5d6=this[_0x48b397(0x1ee)](_0x3793d8),_0x1ceb2b=_0x48c5d6[_0x48b397(0x22e)](_0x410ff7);if(!_0x1ceb2b)throw new _0x42d89e(_0x48b397(0x219),this);let _0x4ffe78=!0x1;if(_0x1412a1&&_0x1412a1!==_0x1ceb2b[_0x48b397(0x24a)]&&(_0x1ceb2b[_0x48b397(0x25e)]||_0x17f12c)&&(_0x1ceb2b[_0x48b397(0x24a)]=_0x1412a1,_0x4ffe78=!0x0),_0x598430&&_0x598430!==_0x1ceb2b[_0x48b397(0x1f0)]&&(_0x1ceb2b[_0x48b397(0x1f0)]=_0x598430,_0x1ceb2b[_0x48b397(0x1eb)]&&_0x1ceb2b[_0x48b397(0x1eb)][_0x48b397(0x2a7)]||(_0x1ceb2b[_0x48b397(0x23a)]=_0x598430),_0x4ffe78=!0x0),_0x385a29&&!_0x5cd54d(_0x385a29,_0x1ceb2b[_0x48b397(0x1eb)])&&(_0x1ceb2b[_0x48b397(0x1eb)]=_0x385a29,_0x4ffe78=!0x0),!_0x4ffe78)return Promise[_0x48b397(0x1ff)]();if(_0x48c5d6[_0x48b397(0x2b4)](_0x48b397(0x205)),_0x17f12c||!this[_0x48b397(0x2b1)]||_0x48b397(0x1e0)!=typeof this[_0x48b397(0x2b1)][_0x48b397(0x292)])return Promise[_0x48b397(0x1ff)]();const _0x2f3d02=this[_0x48b397(0x21a)][_0x48b397(0x220)][_0x48b397(0x1d8)](_0x48b397(0x1e2)),{channelId:_0x8a7048}=this[_0x48b397(0x1ee)](_0x1ceb2b[_0x48b397(0x234)]),_0x257efa=_0x2f3d02[_0x48b397(0x209)](_0x513a18(this[_0x48b397(0x21a)][_0x48b397(0x262)],_0x48b397(0x1f4)));return this[_0x48b397(0x2b1)][_0x48b397(0x292)]({'channelId':_0x8a7048,'threadId':_0x3793d8,'commentId':_0x410ff7,'content':_0x1412a1,'attributes':_0x385a29})[_0x48b397(0x269)](()=>_0x2f3d02[_0x48b397(0x29f)](_0x257efa))[_0x48b397(0x216)](_0x4d6875=>{const _0x4446cb=_0x48b397;throw console[_0x4446cb(0x23d)](_0x4d6875),new _0x42d89e(_0x4446cb(0x211),this);});}[_0x319ad5(0x208)]({threadId:_0x2f9d1e,commentId:_0x4ecdec,isFromAdapter:_0x5723f8}){const _0x3f73d3=_0x319ad5,_0x4482fb=this[_0x3f73d3(0x1ee)](_0x2f9d1e),_0x2dbbf0=_0x4482fb[_0x3f73d3(0x22e)](_0x4ecdec);if(!_0x2dbbf0)throw new _0x42d89e(_0x3f73d3(0x1f6),this);if(_0x4482fb[_0x3f73d3(0x245)](_0x2dbbf0),_0x5723f8||!this[_0x3f73d3(0x2b1)]||_0x3f73d3(0x1e0)!=typeof this[_0x3f73d3(0x2b1)][_0x3f73d3(0x201)])return Promise[_0x3f73d3(0x1ff)]();const _0x21cfde=this[_0x3f73d3(0x21a)][_0x3f73d3(0x220)][_0x3f73d3(0x1d8)](_0x3f73d3(0x1e2)),{channelId:_0x4e38be}=_0x4482fb,_0x13b802=_0x21cfde[_0x3f73d3(0x209)](_0x513a18(this[_0x3f73d3(0x21a)][_0x3f73d3(0x262)],_0x3f73d3(0x1f4)));return this[_0x3f73d3(0x2b1)][_0x3f73d3(0x201)]({'channelId':_0x4e38be,'threadId':_0x2f9d1e,'commentId':_0x4ecdec})[_0x3f73d3(0x269)](()=>_0x21cfde[_0x3f73d3(0x29f)](_0x13b802))[_0x3f73d3(0x216)](_0x4dbf09=>{const _0x2b98d4=_0x3f73d3;throw console[_0x2b98d4(0x23d)](_0x4dbf09),new _0x42d89e(_0x2b98d4(0x286),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x14c714=_0x2293;(function(_0x311301,_0x31458a){const _0x584843=_0x2293,_0xb10a67=_0x311301();while(!![]){try{const _0x244452=-parseInt(_0x584843(0x1d8))/0x1+-parseInt(_0x584843(0x142))/0x2*(parseInt(_0x584843(0x19c))/0x3)+-parseInt(_0x584843(0xfc))/0x4+parseInt(_0x584843(0x1ab))/0x5*(-parseInt(_0x584843(0x10d))/0x6)+parseInt(_0x584843(0x114))/0x7*(parseInt(_0x584843(0x173))/0x8)+parseInt(_0x584843(0x148))/0x9*(parseInt(_0x584843(0x175))/0xa)+parseInt(_0x584843(0x1b7))/0xb;if(_0x244452===_0x31458a)break;else _0xb10a67['push'](_0xb10a67['shift']());}catch(_0x201739){_0xb10a67['push'](_0xb10a67['shift']());}}}(_0x2a31,0x93109));import{PendingActions as _0x4c84ca,ContextPlugin as _0x5e326f,Editor as _0x5ccb85}from'ckeditor5/src/core.js';import{Collection as _0x258ca3,uid as _0x27cf66,CKEditorError as _0x409ffc,ObservableMixin as _0x33b0cf}from'ckeditor5/src/utils.js';function _0x2293(_0x3066a6,_0x1ec4b6){const _0x2a31d5=_0x2a31();return _0x2293=function(_0x229333,_0x2f24e6){_0x229333=_0x229333-0xfc;let _0x1b795d=_0x2a31d5[_0x229333];return _0x1b795d;},_0x2293(_0x3066a6,_0x1ec4b6);}import{getDateTimeFormatter as _0x23d473,hashObject as _0x15acb6,Users as _0x1b812e}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1861a9,isEqual as _0x4853b8,set as _0x12c270,unset as _0x1ea187}from'es-toolkit/compat';import _0x5292c2 from'./ui/commentthreadcontroller.js';import _0x3556a0 from'./ui/view/commentthreadview.js';import _0xc9489f from'./ui/view/commentview.js';import{getTranslation as _0x107cbd}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x3cf1e3 from'../annotations/view/annotationview.js';import _0x517546 from'../annotations/annotation.js';import _0x310d2a from'../annotations/annotations.js';const bt=Symbol(_0x14c714(0x185)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x5e326f{[_0x14c714(0xfd)];[_0x14c714(0x139)];[_0x14c714(0x19d)];static get[_0x14c714(0x18b)](){return[_0x310d2a,_0x4c84ca,_0x1b812e];}static get[_0x14c714(0x162)](){const _0x2b426e=_0x14c714;return _0x2b426e(0x16a);}static get[_0x14c714(0x159)](){return!0x0;}static get[_0x14c714(0x183)](){return!0x0;}constructor(_0x3e23d7){const _0x25b1ba=_0x14c714;super(_0x3e23d7),this[_0x25b1ba(0xfd)]=new Map(),this[_0x25b1ba(0x139)]=new Map(),this[_0x25b1ba(0x19d)]=new Map(),this[_0x25b1ba(0x18f)](_0x25b1ba(0x1e1),new Set()),this[_0x25b1ba(0x18f)](_0x25b1ba(0x1b8),new Map());const _0x37d29d=this[_0x25b1ba(0x1b5)][_0x25b1ba(0x1a2)];_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x1c1),0x2),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x14e),0x1f4),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x15a),0x8c),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x144),_0x3556a0),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x1d1),_0xc9489f),_0x37d29d[_0x25b1ba(0x172)](_0x25b1ba(0x158))||console[_0x25b1ba(0x113)](_0x25b1ba(0x190));}[_0x14c714(0x194)](){const _0x440e53=_0x14c714,_0x1422db=this[_0x440e53(0x1b5)][_0x440e53(0x1d0)][_0x440e53(0x172)](_0x310d2a);this[_0x440e53(0x18f)](_0x440e53(0x179),null),this['on'](_0x440e53(0x1d7),(_0x3a0dd4,_0x31171a)=>this[_0x440e53(0x163)](_0x31171a)),this['on'](_0x440e53(0x1b1),(_0x2852fc,_0x300558)=>this[_0x440e53(0x137)](_0x300558)),this['on'](_0x440e53(0x1a7),(_0x2bd0ad,_0x1038bb)=>this[_0x440e53(0x11c)](_0x1038bb)),this['on'](_0x440e53(0x1a7),(_0x43225c,_0x4abda0)=>this[_0x440e53(0x1b4)](_0x4abda0),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x1da),(_0x5a34b4,_0x111bcb)=>this[_0x440e53(0x12c)](_0x111bcb)),this['on'](_0x440e53(0x1da),(_0x5b9b72,_0x405712)=>this[_0x440e53(0x1b4)](_0x405712),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x134),(_0x39c10c,_0x53f92c)=>this[_0x440e53(0x167)](_0x53f92c)),this['on'](_0x440e53(0x1e2),(_0x22bb09,_0x47358c)=>this[_0x440e53(0x1ac)](_0x47358c)),this['on'](_0x440e53(0x1e2),(_0x4d2148,_0x96f5be)=>this[_0x440e53(0x1b4)](_0x96f5be),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x184),(_0x4e6ad2,_0x44675c)=>this[_0x440e53(0x197)](_0x44675c)),this['on'](_0x440e53(0x15e),(_0x3c8c01,_0x343a75)=>this[_0x440e53(0x189)](_0x343a75)),this['on'](_0x440e53(0x1cd),(_0x30fd6a,_0x59a281)=>this[_0x440e53(0x13d)](_0x59a281)),this['on'](_0x440e53(0x184),(_0x3671be,{threadId:_0x15b679,isFromAdapter:_0x2c2c85})=>{const _0x1fceed=_0x440e53;if(_0x2c2c85)return;const _0x317b2f=this[_0x1fceed(0x12b)](_0x15b679),_0x478354=_0x317b2f&&this[_0x1fceed(0x139)][_0x1fceed(0x172)](_0x317b2f);_0x478354&&_0x478354[_0x1fceed(0x127)][_0x1fceed(0x146)][_0x1fceed(0x128)](-0x1);},{'priority':_0x440e53(0x15d)}),this[_0x440e53(0x13b)](_0x1422db,_0x440e53(0x120),(_0x14715d,_0x477340,_0x31e8ad)=>{const _0x6a6501=_0x440e53,_0x5a2166=Array[_0x6a6501(0x106)](_0x31e8ad)[_0x6a6501(0x150)](_0xcddf0b=>this[_0x6a6501(0x19d)][_0x6a6501(0x172)](_0xcddf0b[_0x6a6501(0x115)]))[_0x6a6501(0x168)](Boolean)[0x0];this[_0x6a6501(0x179)]=_0x5a2166?_0x5a2166[_0x6a6501(0x1ba)]:null;});}set[_0x14c714(0x1dc)](_0x489f47){const _0x229db6=_0x14c714;if(this[_0x229db6(0x15b)])throw new _0x409ffc(_0x229db6(0x1a3));this[_0x229db6(0x15b)]=_0x489f47;}get[_0x14c714(0x1dc)](){const _0xec7736=_0x14c714;return this[_0xec7736(0x15b)];}[_0x14c714(0x1d7)]({channelId:_0x267b43=bt,threadId:_0x233c36=_0x27cf66(),comments:_0x437402=[],unlinkedAt:_0x77f180=null,resolvedAt:_0x30a029=null,resolvedBy:_0x201bac=null,target:_0x2ef006=null,context:_0x5100d4=null,attributes:_0x20ba42={},isResolvable:_0x36766d=!0x0,isSubmitted:_0x36845a=!0x1,isFromAdapter:_0x223864=!0x1}={}){const _0x5dd274=_0x14c714;return this[_0x5dd274(0x101)](xt(_0x5dd274(0x1d7),_0x267b43),{'channelId':_0x267b43,'threadId':_0x233c36,'comments':_0x437402,'unlinkedAt':_0x77f180,'resolvedAt':_0x30a029,'resolvedBy':_0x201bac,'target':_0x2ef006,'context':_0x5100d4,'attributes':_0x20ba42,'isFromAdapter':_0x223864,'isResolvable':_0x36766d,'isSubmitted':_0x36845a}),this[_0x5dd274(0x12b)](_0x233c36);}[_0x14c714(0x123)]({channelId:_0xbbd05e=bt,threadId:_0x3378e1=_0x27cf66(),target:_0x3a8698,context:_0x126948=null,isResolvable:_0xd6f46b=!0x0}){const _0x205c1c=_0x14c714;if(this[_0x205c1c(0x1e1)][_0x205c1c(0x131)](_0xbbd05e)||this[_0x205c1c(0x1e1)][_0x205c1c(0x131)](void 0x0))return null;if(!_0x3a8698)throw new _0x409ffc(_0x205c1c(0x18c));const _0x34ddbe=this[_0x205c1c(0x1d7)]({'channelId':_0xbbd05e,'threadId':_0x3378e1,'target':_0x3a8698,'context':_0x126948,'isResolvable':_0xd6f46b});if(!_0x34ddbe)return null;const _0x1cbf7b=this[_0x205c1c(0x139)][_0x205c1c(0x172)](_0x34ddbe),_0x354b91=_0x1cbf7b[_0x205c1c(0x127)][_0x205c1c(0x1ad)][_0x205c1c(0x13f)],_0xdb8b82=this[_0x205c1c(0x1b5)][_0x205c1c(0x1d0)][_0x205c1c(0x172)](_0x310d2a),_0x8bdc28=_0xdb8b82[_0x205c1c(0x170)](_0x1cbf7b[_0x205c1c(0x127)]);return _0xdb8b82[_0x205c1c(0x110)](_0x8bdc28),_0x354b91[_0x205c1c(0x19e)](_0x205c1c(0x1b6),()=>_0x354b91[_0x205c1c(0x128)]()),_0x34ddbe;}[_0x14c714(0x1bd)](_0x25a4c4){const _0x525998=_0x14c714;if(_0x525998(0x100)!=typeof _0x25a4c4)throw new _0x409ffc(_0x525998(0x105));return this[_0x525998(0xfd)][_0x525998(0x131)](_0x25a4c4);}[_0x14c714(0x1e2)]({channelId:_0x577226=bt,threadId:_0x3fff9d,context:_0x404b73,unlinkedAt:_0x5ca8cc,attributes:_0x5162bd,isFromAdapter:_0x2e9790=!0x1}){const _0x44c5e4=_0x14c714;return this[_0x44c5e4(0x101)](xt(_0x44c5e4(0x1e2),_0x577226),{'channelId':_0x577226,'threadId':_0x3fff9d,'context':_0x404b73,'unlinkedAt':_0x5ca8cc,'attributes':_0x5162bd,'isFromAdapter':_0x2e9790}),this[_0x44c5e4(0x12b)](_0x3fff9d);}[_0x14c714(0x12b)](_0x646b1a){const _0x4e90d7=_0x14c714;if(_0x4e90d7(0x100)!=typeof _0x646b1a)throw new _0x409ffc(_0x4e90d7(0x105));return this[_0x4e90d7(0xfd)][_0x4e90d7(0x172)](_0x646b1a);}[_0x14c714(0x1dd)]({channelId:_0x2fdf36,threadId:_0x226d68}={}){const _0x292acd=_0x14c714,_0x162fd9=this[_0x292acd(0x12b)](_0x226d68);if(_0x162fd9)return Promise[_0x292acd(0x147)](_0x162fd9);if(!this[_0x292acd(0x1dc)])return Promise[_0x292acd(0x147)](void 0x0);if(_0x292acd(0x129)!=typeof this[_0x292acd(0x1dc)][_0x292acd(0x12b)])throw new _0x409ffc(_0x292acd(0x12a),this[_0x292acd(0x1b5)]);return this[_0x292acd(0x1dc)][_0x292acd(0x12b)]({'channelId':_0x2fdf36,'threadId':_0x226d68})[_0x292acd(0x14a)](_0x50aa10=>this[_0x292acd(0x1bd)](_0x226d68)?this[_0x292acd(0x12b)](_0x226d68):_0x50aa10?this[_0x292acd(0x1d7)](Object[_0x292acd(0x1bf)]({'isFromAdapter':!0x0,'channelId':_0x2fdf36},_0x50aa10)):void 0x0)[_0x292acd(0x166)](_0x440a81=>{const _0x52b9a5=_0x292acd;throw console[_0x52b9a5(0x136)](_0x440a81),new _0x409ffc(_0x52b9a5(0x1a9),this[_0x52b9a5(0x1b5)]);});}[_0x14c714(0x182)]({channelId:_0x1b86a6,skipNotAttached:_0x174e2a=!0x1,skipEmpty:_0x58844f=!0x1,toJSON:_0x25e355=!0x1}={}){const _0x570727=_0x14c714,_0x8f0e9c=[];for(const _0x3a16f0 of this[_0x570727(0xfd)][_0x570727(0x1db)]())_0x1b86a6&&_0x3a16f0[_0x570727(0x15f)]!==_0x1b86a6||_0x174e2a&&!_0x3a16f0[_0x570727(0x1b3)]||_0x58844f&&0x0===_0x3a16f0[_0x570727(0x161)]||_0x8f0e9c[_0x570727(0x103)](_0x3a16f0);return _0x25e355?_0x8f0e9c[_0x570727(0x150)](_0x4afb82=>_0x4afb82[_0x570727(0x1c2)]()):_0x8f0e9c;}[_0x14c714(0x1df)](_0x2ca766){const _0x1e5295=_0x14c714,_0x1bd381=this[_0x1e5295(0x1b5)][_0x1e5295(0x1d0)][_0x1e5295(0x172)](_0x310d2a);if(!_0x2ca766)return void(this[_0x1e5295(0x179)]&&_0x1bd381[_0x1e5295(0x17a)]());const _0x3b40ac=this[_0x1e5295(0x12b)](_0x2ca766);if(!_0x3b40ac)throw new _0x409ffc(_0x1e5295(0x177),null,{'threadId':_0x2ca766});if(!this[_0x1e5295(0x139)][_0x1e5295(0x131)](_0x3b40ac))throw new _0x409ffc(_0x1e5295(0x1ca),null,{'threadId':_0x2ca766});const _0x184e28=_0x1bd381[_0x1e5295(0x170)](this[_0x1e5295(0x139)][_0x1e5295(0x172)](_0x3b40ac)[_0x1e5295(0x127)]);_0x1bd381[_0x1e5295(0x110)](_0x184e28);}[_0x14c714(0x180)](_0x596a14,_0x40f15c){const _0x3bf2b9=_0x14c714;_0x596a14?this[_0x3bf2b9(0x1e1)][_0x3bf2b9(0x178)](_0x40f15c):this[_0x3bf2b9(0x1e1)][_0x3bf2b9(0x1af)](_0x40f15c),this[_0x3bf2b9(0x101)](_0x3bf2b9(0x151),_0x3bf2b9(0x1e1),this[_0x3bf2b9(0x1e1)],this[_0x3bf2b9(0x1e1)]);}[_0x14c714(0x124)](_0x3f4aba){const _0x241178=_0x14c714;return this[_0x241178(0x1e1)][_0x241178(0x131)](_0x3f4aba)||this[_0x241178(0x1e1)][_0x241178(0x131)](void 0x0);}[_0x14c714(0x1c3)](_0x289216,_0x171791){return new _0x5292c2(_0x289216,_0x171791);}[_0x14c714(0x1be)](_0x494b2a,_0x5adc5b=bt){const _0x96a12b=_0x14c714;this[_0x96a12b(0x1b8)][_0x96a12b(0x18f)](_0x5adc5b,_0x494b2a),this[_0x96a12b(0x101)](_0x96a12b(0x19b),_0x96a12b(0x1b8),this[_0x96a12b(0x1b8)],this[_0x96a12b(0x1b8)]);}[_0x14c714(0x1d2)](_0x4939a9=bt){const _0x28ef23=_0x14c714;return this[_0x28ef23(0x1b8)][_0x28ef23(0x131)](_0x4939a9)?this[_0x28ef23(0x1b8)][_0x28ef23(0x172)](_0x4939a9):Nt;}[_0x14c714(0x163)]({channelId:_0x14fbc2,threadId:_0x3df5c0,comments:_0x19fe6c,unlinkedAt:_0xa3e3cd,resolvedAt:_0x9223d8,resolvedBy:_0x25c6a9,target:_0x59e26d,context:_0x21f4c4,attributes:_0x142380,isFromAdapter:_0x2d8dc5,isResolvable:_0xcb0cb2,isSubmitted:_0x24546e}){const _0x460ea3=_0x14c714;if(_0x460ea3(0x100)!=typeof _0x3df5c0)throw new _0x409ffc(_0x460ea3(0x105),null,{'threadId':_0x3df5c0});if(this[_0x460ea3(0x1bd)](_0x3df5c0))throw new _0x409ffc(_0x460ea3(0x198),null,{'threadId':_0x3df5c0});const _0x3762f4=new CommentThread(this,{'channelId':_0x14fbc2,'id':_0x3df5c0,'context':_0x21f4c4,'attributes':_0x142380,'unlinkedAt':_0xa3e3cd,'resolvedAt':_0x9223d8,'resolvedBy':_0x25c6a9?this[_0x460ea3(0x1b5)][_0x460ea3(0x1d0)][_0x460ea3(0x172)](_0x1b812e)[_0x460ea3(0x125)](_0x25c6a9):null,'isResolvable':_0xcb0cb2,'isSubmitted':_0x24546e||_0x2d8dc5});this[_0x460ea3(0xfd)][_0x460ea3(0x18f)](_0x3df5c0,_0x3762f4);for(const _0x2e5807 of _0x19fe6c)_0x3762f4[_0x460ea3(0x169)](this[_0x460ea3(0x141)]({'threadId':_0x3df5c0,..._0x2e5807}));return _0x59e26d&&_0x3762f4[_0x460ea3(0x16c)](_0x59e26d),_0x2d8dc5||!_0x3762f4[_0x460ea3(0x161)]?Promise[_0x460ea3(0x147)]():this[_0x460ea3(0x137)]({'channelId':_0x14fbc2,'threadId':_0x3df5c0});}[_0x14c714(0x137)]({channelId:_0x46d630,threadId:_0x3fd287}){const _0x1bb3fe=_0x14c714;if(!this[_0x1bb3fe(0x1bd)](_0x3fd287))throw new _0x409ffc(_0x1bb3fe(0x1a6),this);const _0x56b906=this[_0x1bb3fe(0x12b)](_0x3fd287);if(_0x56b906[_0x1bb3fe(0x19a)]=!0x0,!this[_0x1bb3fe(0x1dc)]||_0x1bb3fe(0x129)!=typeof this[_0x1bb3fe(0x1dc)][_0x1bb3fe(0x1d7)])return Promise[_0x1bb3fe(0x147)]();const {id:_0x1536f8,comments:_0x577d22,resolvedAt:_0x2ab362,resolvedBy:_0x15c87d,context:_0x5f38af,attributes:_0x5bb31d}=_0x56b906,_0x16556f=this[_0x1bb3fe(0x1b5)][_0x1bb3fe(0x1d0)][_0x1bb3fe(0x172)](_0x1bb3fe(0x18a)),_0x30c66c=_0x16556f[_0x1bb3fe(0x178)](_0x107cbd(this[_0x1bb3fe(0x1b5)][_0x1bb3fe(0x17d)],_0x1bb3fe(0x14f)));return this[_0x1bb3fe(0x1dc)][_0x1bb3fe(0x1d7)]({'channelId':_0x46d630,'threadId':_0x1536f8,'comments':_0x577d22[_0x1bb3fe(0x150)](_0x4428ed=>_0x4428ed[_0x1bb3fe(0x1c2)]()),'resolvedAt':_0x2ab362,'resolvedBy':_0x15c87d?_0x15c87d['id']:_0x15c87d,'context':_0x5f38af,'attributes':_0x5bb31d})[_0x1bb3fe(0x14a)](({comments:_0x6d6721})=>{const _0x3e36ac=_0x1bb3fe;_0x16556f[_0x3e36ac(0x12e)](_0x30c66c);for(const _0x212eb0 of _0x6d6721)this[_0x3e36ac(0x189)]({'channelId':_0x46d630,'threadId':_0x3fd287,'commentId':_0x212eb0[_0x3e36ac(0x181)],'createdAt':_0x212eb0[_0x3e36ac(0x111)],'isFromAdapter':!0x0});})[_0x1bb3fe(0x166)](_0x31de17=>{const _0x1fe066=_0x1bb3fe;throw console[_0x1fe066(0x136)](_0x31de17),new _0x409ffc(_0x1fe066(0x1a1),this);});}[_0x14c714(0x1cf)]({threadId:_0xc500aa,target:_0x7d388f}){const _0x5d176b=_0x14c714,_0x50aad8=this[_0x5d176b(0x12b)](_0xc500aa);if(!_0x50aad8)throw new _0x409ffc(_0x5d176b(0x11a),this);const _0x26dde2=this[_0x5d176b(0x1b5)][_0x5d176b(0x1d0)][_0x5d176b(0x172)](_0x5d176b(0x18a)),_0x2dea71=this[_0x5d176b(0x1b5)][_0x5d176b(0x1d0)][_0x5d176b(0x172)](_0x310d2a),_0xc5e42e=this[_0x5d176b(0x19f)](_0x50aad8),_0x440ffd=new _0x5292c2(_0x50aad8,_0xc5e42e);let _0x51cb65=null;_0xc5e42e['on'](_0x5d176b(0x16b),(_0x323b34,_0x1ef37b,_0x481ebb)=>{const _0x55dd16=_0x5d176b;_0x481ebb?_0x51cb65=_0x26dde2[_0x55dd16(0x178)](_0x107cbd(this[_0x55dd16(0x1b5)][_0x55dd16(0x17d)],_0x55dd16(0x14f))):_0x51cb65&&(_0x26dde2[_0x55dd16(0x12e)](_0x51cb65),_0x51cb65=null);}),this[_0x5d176b(0x139)][_0x5d176b(0x18f)](_0x50aad8,_0x440ffd),this[_0x5d176b(0x19d)][_0x5d176b(0x18f)](_0xc5e42e,_0x440ffd);const _0x17fc94=new _0x3cf1e3(this[_0x5d176b(0x1b5)][_0x5d176b(0x17d)],_0xc5e42e);_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x161))['to'](_0xc5e42e),_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x1c8))['to'](_0xc5e42e,_0x5d176b(0x1c8),_0xc5e42e,_0x5d176b(0x161),(_0x28cb5,_0xb51f6f)=>_0x28cb5||!_0xb51f6f),_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x14d))['to'](_0xc5e42e),_0x17fc94[_0x5d176b(0x1c9)]=_0x5d176b(0x138);const _0x474413=new _0x517546({'view':_0x17fc94,'target':_0x7d388f,'type':_0x5d176b(0x138),'isVisible':!_0x50aad8[_0x5d176b(0x1b9)]});return _0xc5e42e['on'](_0x5d176b(0x17b),()=>{const _0x215abf=_0x5d176b;_0x474413[_0x215abf(0x101)](_0x215abf(0x17b));}),this[_0x5d176b(0x11b)](_0xc5e42e,_0x474413),_0x2dea71[_0x5d176b(0x178)](_0x474413),_0x474413;}[_0x14c714(0x11b)](_0x3cc638,_0x5ed970){const _0x3c107c=_0x14c714;this[_0x3c107c(0x13b)](_0x3cc638,_0x3c107c(0x1b6),(_0x46f32d,_0x173ca0)=>{const _0x3dc729=_0x3c107c,_0x1fa94a=_0x173ca0['ui'][_0x3dc729(0x127)][_0x3dc729(0x102)][_0x3dc729(0x1b0)];_0x5ed970[_0x3dc729(0x1a4)][_0x3dc729(0x178)](_0x1fa94a),this[_0x3dc729(0x1b5)]instanceof _0x5ccb85&&this[_0x3dc729(0x1b5)]['ui'][_0x3dc729(0x1a8)][_0x3dc729(0x178)](_0x1fa94a);},{'priority':_0x3c107c(0x15c)}),this[_0x3c107c(0x13b)](_0x3cc638,_0x3c107c(0x11e),(_0x25258a,_0x4491ac)=>{const _0x18bab0=_0x3c107c,_0x9a1005=_0x4491ac['ui'][_0x18bab0(0x127)][_0x18bab0(0x102)][_0x18bab0(0x1b0)];_0x5ed970[_0x18bab0(0x1a4)][_0x18bab0(0x131)](_0x9a1005)&&_0x5ed970[_0x18bab0(0x1a4)][_0x18bab0(0x12e)](_0x9a1005),this[_0x18bab0(0x1b5)]instanceof _0x5ccb85&&this[_0x18bab0(0x1b5)]['ui'][_0x18bab0(0x1a8)][_0x18bab0(0x12e)](_0x9a1005);});}[_0x14c714(0x160)](_0x2fbc7f){const _0x2aae7b=_0x14c714;this[_0x2aae7b(0x17c)](_0x2fbc7f,_0x2aae7b(0x1b6)),this[_0x2aae7b(0x17c)](_0x2fbc7f,_0x2aae7b(0x11e));}[_0x14c714(0x19f)](_0x1b0f21){const _0x161ff0=_0x14c714,_0x31ebc0=this[_0x161ff0(0x1b5)][_0x161ff0(0x1d0)][_0x161ff0(0x172)](_0x1b812e),{config:_0x55c05a,locale:_0x5969eb}=this[_0x161ff0(0x1b5)],_0x306e7e=_0x23d473(_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x17d)),_0x5969eb);return new(0x0,(_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x140)))[(_0x161ff0(0x132))])(_0x5969eb,_0x1b0f21,_0x31ebc0['me'],{'editorConfig':{..._0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x158)),'licenseKey':this[_0x161ff0(0x1b5)][_0x161ff0(0x1a2)][_0x161ff0(0x172)](_0x161ff0(0x11f))},'copyMarkers':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x193)),'maxCommentsWhenCollapsed':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x1c1)),'maxThreadTotalWeight':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x14e)),'maxCommentCharsWhenCollapsed':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x15a)),'formatDateTime':_0x306e7e,'CommentView':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x140))[_0x161ff0(0x16f)]});}[_0x14c714(0x11c)]({threadId:_0x135a6e,channelId:_0x22c84c,resolvedAt:_0x34d215,resolvedBy:_0x407c78,isFromAdapter:_0xfe6262}){const _0x372a4a=_0x14c714;if(!this[_0x372a4a(0x1bd)](_0x135a6e))throw new _0x409ffc(_0x372a4a(0x1a6),null,{'threadId':_0x135a6e});const _0x4297e8=this[_0x372a4a(0x12b)](_0x135a6e);if(_0x4297e8[_0x372a4a(0x130)])throw new _0x409ffc(_0x372a4a(0x17f),null,{'threadId':_0x135a6e});const _0x4385d9=this[_0x372a4a(0x1b5)][_0x372a4a(0x1d0)][_0x372a4a(0x172)](_0x1b812e);if(_0x4297e8[_0x372a4a(0x1b2)]=_0x4385d9[_0x372a4a(0x125)](_0x407c78),_0x4297e8[_0x372a4a(0x118)]=_0x34d215,_0xfe6262||!this[_0x372a4a(0x1dc)]||_0x372a4a(0x129)!=typeof this[_0x372a4a(0x1dc)][_0x372a4a(0x1a7)])return Promise[_0x372a4a(0x147)]();const _0x20e374=this[_0x372a4a(0x1b5)][_0x372a4a(0x1d0)][_0x372a4a(0x172)](_0x372a4a(0x18a)),_0x4b81c8=_0x20e374[_0x372a4a(0x178)](_0x107cbd(this[_0x372a4a(0x1b5)][_0x372a4a(0x17d)],_0x372a4a(0x14f)));return this[_0x372a4a(0x1dc)][_0x372a4a(0x1a7)]({'channelId':_0x22c84c,'threadId':_0x135a6e})[_0x372a4a(0x14a)](({resolvedAt:_0x5ede0a,resolvedBy:_0x56610c})=>{const _0x345863=_0x372a4a;_0x20e374[_0x345863(0x12e)](_0x4b81c8),_0x4297e8[_0x345863(0x1b2)]['id']!==_0x56610c&&(_0x4297e8[_0x345863(0x1b2)]=_0x4385d9[_0x345863(0x125)](_0x56610c)),_0x4297e8[_0x345863(0x118)]=_0x5ede0a;})[_0x372a4a(0x166)](_0x265264=>{const _0x24cfd1=_0x372a4a;throw console[_0x24cfd1(0x136)](_0x265264),new _0x409ffc(_0x24cfd1(0x109),this);});}[_0x14c714(0x12c)]({threadId:_0x3de1d6,channelId:_0x33e213,isFromAdapter:_0x310345}){const _0x113aae=_0x14c714;if(!this[_0x113aae(0x1bd)](_0x3de1d6))throw new _0x409ffc(_0x113aae(0x1a6),null,{'threadId':_0x3de1d6});const _0x9dcd04=this[_0x113aae(0x12b)](_0x3de1d6);if(!_0x9dcd04[_0x113aae(0x130)])throw new _0x409ffc(_0x113aae(0x14b),null,{'threadId':_0x3de1d6});if(_0x9dcd04[_0x113aae(0x1b2)]=null,_0x9dcd04[_0x113aae(0x118)]=null,_0x310345||!this[_0x113aae(0x1dc)]||_0x113aae(0x129)!=typeof this[_0x113aae(0x1dc)][_0x113aae(0x1da)])return Promise[_0x113aae(0x147)]();const _0xa8359b=this[_0x113aae(0x1b5)][_0x113aae(0x1d0)][_0x113aae(0x172)](_0x113aae(0x18a)),_0x5b717b=_0xa8359b[_0x113aae(0x178)](_0x107cbd(this[_0x113aae(0x1b5)][_0x113aae(0x17d)],_0x113aae(0x14f)));return this[_0x113aae(0x1dc)][_0x113aae(0x1da)]({'channelId':_0x33e213,'threadId':_0x3de1d6})[_0x113aae(0x14a)](()=>_0xa8359b[_0x113aae(0x12e)](_0x5b717b))[_0x113aae(0x166)](_0x43d14f=>{const _0x561bff=_0x113aae;throw console[_0x561bff(0x136)](_0x43d14f),new _0x409ffc(_0x561bff(0x1cc),this);});}[_0x14c714(0x167)]({threadId:_0x5f080e,isFromAdapter:_0x5397e2}){const _0x5a96fa=_0x14c714,_0x9b17e=this[_0x5a96fa(0x12b)](_0x5f080e);if(!_0x9b17e)throw new _0x409ffc(_0x5a96fa(0x186),this);if(this[_0x5a96fa(0x143)](_0x5f080e),this[_0x5a96fa(0xfd)][_0x5a96fa(0x1af)](_0x5f080e),!_0x9b17e[_0x5a96fa(0x1de)]||_0x5397e2||!this[_0x5a96fa(0x1dc)]||_0x5a96fa(0x129)!=typeof this[_0x5a96fa(0x1dc)][_0x5a96fa(0x134)])return Promise[_0x5a96fa(0x147)]();const _0x5a7153=this[_0x5a96fa(0x1b5)][_0x5a96fa(0x1d0)][_0x5a96fa(0x172)](_0x5a96fa(0x18a)),{channelId:_0x5bd396}=_0x9b17e,_0x2b90b9=_0x5a7153[_0x5a96fa(0x178)](_0x107cbd(this[_0x5a96fa(0x1b5)][_0x5a96fa(0x17d)],_0x5a96fa(0x14f)));return this[_0x5a96fa(0x1dc)][_0x5a96fa(0x134)]({'channelId':_0x5bd396,'threadId':_0x5f080e})[_0x5a96fa(0x14a)](()=>_0x5a7153[_0x5a96fa(0x12e)](_0x2b90b9))[_0x5a96fa(0x166)](_0x3c8d4e=>{const _0x3ba7dc=_0x5a96fa;throw console[_0x3ba7dc(0x136)](_0x3c8d4e),new _0x409ffc(_0x3ba7dc(0x195),this);});}[_0x14c714(0x1ac)]({threadId:_0x4671ab,unlinkedAt:_0x335ca9,context:_0x3422e5,attributes:_0x3f82b3,isFromAdapter:_0x59cefb}){const _0x444000=_0x14c714;if(_0x444000(0x100)!=typeof _0x4671ab)throw new _0x409ffc(_0x444000(0x105),null,{'threadId':_0x4671ab});if(!this[_0x444000(0x1bd)](_0x4671ab))throw new _0x409ffc(_0x444000(0x1a6),null,{'threadId':_0x4671ab});const _0x26ac40=this[_0x444000(0x12b)](_0x4671ab);let _0x12aa1f=!0x1;if(void 0x0!==_0x3422e5&&_0x26ac40[_0x444000(0x1b5)]!==_0x3422e5&&(_0x26ac40[_0x444000(0x1b5)]=_0x3422e5,_0x12aa1f=!0x0),void 0x0!==_0x335ca9&&_0x26ac40[_0x444000(0x171)]!==_0x335ca9&&(_0x26ac40[_0x444000(0x171)]=_0x335ca9,_0x12aa1f=!0x0),_0x3f82b3&&!_0x4853b8(_0x3f82b3,_0x26ac40[_0x444000(0x196)])&&(_0x26ac40[_0x444000(0x196)]=_0x3f82b3,_0x12aa1f=!0x0),!_0x12aa1f)return Promise[_0x444000(0x147)]();if(!_0x26ac40[_0x444000(0x1de)]||_0x59cefb||!this[_0x444000(0x1dc)]||_0x444000(0x129)!=typeof this[_0x444000(0x1dc)][_0x444000(0x1e2)])return Promise[_0x444000(0x147)]();const _0x3ad2ef=this[_0x444000(0x1b5)][_0x444000(0x1d0)][_0x444000(0x172)](_0x444000(0x18a)),{channelId:_0x2394eb}=_0x26ac40,_0x1a9a7c=_0x3ad2ef[_0x444000(0x178)](_0x107cbd(this[_0x444000(0x1b5)][_0x444000(0x17d)],_0x444000(0x14f)));return this[_0x444000(0x1dc)][_0x444000(0x1e2)]({'channelId':_0x2394eb,'threadId':_0x4671ab,'context':_0x3422e5,'unlinkedAt':_0x335ca9,'attributes':_0x3f82b3})[_0x444000(0x14a)](()=>_0x3ad2ef[_0x444000(0x12e)](_0x1a9a7c))[_0x444000(0x166)](_0x49befb=>{const _0xe65a81=_0x444000;throw console[_0xe65a81(0x136)](_0x49befb),new _0x409ffc(_0xe65a81(0x1a0),this);});}[_0x14c714(0x143)](_0x37358b){const _0xa9f425=_0x14c714,_0x1af845=this[_0xa9f425(0x1b5)][_0xa9f425(0x1d0)][_0xa9f425(0x172)](_0x310d2a),_0x44021f=this[_0xa9f425(0x12b)](_0x37358b);if(_0x44021f[_0xa9f425(0x1d3)]=!0x1,this[_0xa9f425(0x139)][_0xa9f425(0x131)](_0x44021f)){const _0x2294da=this[_0xa9f425(0x139)][_0xa9f425(0x172)](_0x44021f),_0x2cf20c=_0x2294da[_0xa9f425(0x127)],_0x294e8b=_0x1af845[_0xa9f425(0x170)](_0x2cf20c);this[_0xa9f425(0x139)][_0xa9f425(0x1af)](_0x44021f),this[_0xa9f425(0x19d)][_0xa9f425(0x1af)](_0x2cf20c),_0x294e8b&&_0x1af845[_0xa9f425(0x12e)](_0x294e8b),_0x2294da[_0xa9f425(0x1e0)](),_0x2cf20c[_0xa9f425(0x1e0)]()[_0xa9f425(0x14a)](()=>{const _0x2c5d43=_0xa9f425;this[_0x2c5d43(0x160)](_0x2cf20c);});}}[_0x14c714(0x1b4)]({threadId:_0x146191,resolvedAt:_0x8fca3e,unlinkedAt:_0x375fea}){const _0x528602=_0x14c714,_0x5e795e=!!_0x8fca3e,_0x19bebf=this[_0x528602(0x1b5)][_0x528602(0x1d0)][_0x528602(0x172)](_0x310d2a),_0x177a6f=this[_0x528602(0x12b)](_0x146191);if(this[_0x528602(0x139)][_0x528602(0x131)](_0x177a6f)){const _0x5d1c46=this[_0x528602(0x139)][_0x528602(0x172)](_0x177a6f)[_0x528602(0x127)],_0x4205ec=_0x19bebf[_0x528602(0x170)](_0x5d1c46);_0x4205ec&&(_0x5e795e&&_0x19bebf[_0x528602(0x165)](_0x4205ec),_0x375fea?_0x4205ec[_0x528602(0x16d)]=!0x1:_0x4205ec[_0x528602(0x112)]());}}[_0x14c714(0x164)](_0x148e11){const _0x268712=_0x14c714,_0xd7ea9e=this[_0x268712(0x1b5)][_0x268712(0x1d0)][_0x268712(0x172)](_0x1b812e),_0x17983a=_0x15acb6(_0x268712(0x18e)+_0x148e11),_0x27089e=_0xd7ea9e[_0x268712(0x125)](_0x17983a);return _0x27089e||_0xd7ea9e[_0x268712(0x1ce)]({'id':_0x17983a,'name':_0x148e11});}[_0x14c714(0x141)]({threadId:_0x4c3171,commentId:_0x283d78=_0x27cf66(),content:_0x2bc722,authorId:_0x5cedfa,createdAt:_0x285db6,attributes:_0x4e0c86}){const _0x279fa8=_0x14c714;if(_0x279fa8(0x100)!=typeof _0x283d78)throw new _0x409ffc(_0x279fa8(0x12d));if(_0x279fa8(0x100)!=typeof _0x5cedfa)throw new _0x409ffc(_0x279fa8(0x156));if(_0x279fa8(0x100)!=typeof _0x2bc722||!_0x2bc722[_0x279fa8(0x1d4)]())throw new _0x409ffc(_0x279fa8(0x11d));const _0x2e7722=this[_0x279fa8(0x1b5)][_0x279fa8(0x1d0)][_0x279fa8(0x172)](_0x1b812e)[_0x279fa8(0x125)](_0x5cedfa);if(!_0x2e7722)throw new _0x409ffc(_0x279fa8(0x121),null,{'authorId':_0x5cedfa});let _0x57f0c6=null,_0x4e8f49=_0x285db6;return _0x4e0c86?.[_0x279fa8(0x153)]&&(_0x57f0c6=this[_0x279fa8(0x164)](_0x4e0c86[_0x279fa8(0x153)][_0x279fa8(0x116)]),_0x4e8f49=new Date(_0x4e0c86[_0x279fa8(0x153)][_0x279fa8(0x111)])),new Comment(this,{'threadId':_0x4c3171,'id':_0x283d78,'author':_0x57f0c6||_0x2e7722,'creator':_0x2e7722,'content':_0x2bc722,'createdAt':_0x285db6,'authoredAt':_0x4e8f49,'attributes':_0x4e0c86});}[_0x14c714(0x197)](_0x221d74){const _0xbe264f=_0x14c714;let {threadId:_0xc97220,content:_0x22f189,attributes:_0x35b612,isFromAdapter:_0xc9fe29}=_0x221d74;const _0x354b72=this[_0xbe264f(0x12b)](_0x221d74[_0xbe264f(0x10c)]);if(!_0x354b72)throw new _0x409ffc(_0xbe264f(0x1d5),this);const _0x34f071=this[_0xbe264f(0x141)](_0x221d74),{id:_0x576959}=_0x34f071;if(_0x354b72[_0xbe264f(0x169)](_0x34f071),_0xc9fe29||!this[_0xbe264f(0x1dc)]||_0xbe264f(0x129)!=typeof this[_0xbe264f(0x1dc)][_0xbe264f(0x184)]||!_0x354b72[_0xbe264f(0x1de)])return Promise[_0xbe264f(0x147)]();const _0x2e5052=this[_0xbe264f(0x1b5)][_0xbe264f(0x1d0)][_0xbe264f(0x172)](_0xbe264f(0x18a)),{channelId:_0x14d7cb}=_0x354b72,_0x245ff0=_0x2e5052[_0xbe264f(0x178)](_0x107cbd(this[_0xbe264f(0x1b5)][_0xbe264f(0x17d)],_0xbe264f(0x14f)));return _0x35b612||(_0x35b612={}),this[_0xbe264f(0x1dc)][_0xbe264f(0x184)]({'channelId':_0x14d7cb,'threadId':_0xc97220,'commentId':_0x576959,'content':_0x22f189,'attributes':_0x35b612})[_0xbe264f(0x14a)](_0x450614=>{const _0x318b57=_0xbe264f;_0x2e5052[_0x318b57(0x12e)](_0x245ff0),_0x450614&&this[_0x318b57(0x189)]({'channelId':_0x14d7cb,'threadId':_0xc97220,'commentId':_0x576959,'createdAt':_0x450614[_0x318b57(0x111)],'isFromAdapter':!0x0});})[_0xbe264f(0x166)](_0x24bef6=>{const _0x1d98b1=_0xbe264f;throw console[_0x1d98b1(0x136)](_0x24bef6),new _0x409ffc(_0x1d98b1(0x1c7),this);});}[_0x14c714(0x189)]({threadId:_0x219274,commentId:_0x1fcd07,content:_0x14ebe0,createdAt:_0x58276d,attributes:_0x4169bd,isFromAdapter:_0xd12dad}){const _0x3612a3=_0x14c714;if(void 0x0!==_0x14ebe0&&(_0x3612a3(0x100)!=typeof _0x14ebe0||!_0x14ebe0[_0x3612a3(0x1d4)]()[_0x3612a3(0x161)]))throw new _0x409ffc(_0x3612a3(0x157));const _0x215e01=this[_0x3612a3(0x12b)](_0x219274),_0x4e7998=_0x215e01[_0x3612a3(0x1bb)](_0x1fcd07);if(!_0x4e7998)throw new _0x409ffc(_0x3612a3(0x14c),this);let _0x10bab9=!0x1;if(_0x14ebe0&&_0x14ebe0!==_0x4e7998[_0x3612a3(0x145)]&&(_0x4e7998[_0x3612a3(0x199)]||_0xd12dad)&&(_0x4e7998[_0x3612a3(0x145)]=_0x14ebe0,_0x10bab9=!0x0),_0x58276d&&_0x58276d!==_0x4e7998[_0x3612a3(0x111)]&&(_0x4e7998[_0x3612a3(0x111)]=_0x58276d,_0x4e7998[_0x3612a3(0x196)]&&_0x4e7998[_0x3612a3(0x196)][_0x3612a3(0x153)]||(_0x4e7998[_0x3612a3(0x13a)]=_0x58276d),_0x10bab9=!0x0),_0x4169bd&&!_0x4853b8(_0x4169bd,_0x4e7998[_0x3612a3(0x196)])&&(_0x4e7998[_0x3612a3(0x196)]=_0x4169bd,_0x10bab9=!0x0),!_0x10bab9)return Promise[_0x3612a3(0x147)]();if(_0x215e01[_0x3612a3(0x101)](_0x3612a3(0x191)),_0xd12dad||!this[_0x3612a3(0x1dc)]||_0x3612a3(0x129)!=typeof this[_0x3612a3(0x1dc)][_0x3612a3(0x15e)])return Promise[_0x3612a3(0x147)]();const _0x326c8a=this[_0x3612a3(0x1b5)][_0x3612a3(0x1d0)][_0x3612a3(0x172)](_0x3612a3(0x18a)),{channelId:_0x371e41}=this[_0x3612a3(0x12b)](_0x4e7998[_0x3612a3(0x10c)]),_0xc10067=_0x326c8a[_0x3612a3(0x178)](_0x107cbd(this[_0x3612a3(0x1b5)][_0x3612a3(0x17d)],_0x3612a3(0x14f)));return this[_0x3612a3(0x1dc)][_0x3612a3(0x15e)]({'channelId':_0x371e41,'threadId':_0x219274,'commentId':_0x1fcd07,'content':_0x14ebe0,'attributes':_0x4169bd})[_0x3612a3(0x14a)](()=>_0x326c8a[_0x3612a3(0x12e)](_0xc10067))[_0x3612a3(0x166)](_0x1c1be3=>{const _0xbc8888=_0x3612a3;throw console[_0xbc8888(0x136)](_0x1c1be3),new _0x409ffc(_0xbc8888(0x1c5),this);});}[_0x14c714(0x13d)]({threadId:_0x53c940,commentId:_0x47c8a6,isFromAdapter:_0xc4994d}){const _0x6e498c=_0x14c714,_0x40de95=this[_0x6e498c(0x12b)](_0x53c940),_0x522b0a=_0x40de95[_0x6e498c(0x1bb)](_0x47c8a6);if(!_0x522b0a)throw new _0x409ffc(_0x6e498c(0x192),this);if(_0x40de95[_0x6e498c(0x154)](_0x522b0a),_0xc4994d||!this[_0x6e498c(0x1dc)]||_0x6e498c(0x129)!=typeof this[_0x6e498c(0x1dc)][_0x6e498c(0x1cd)])return Promise[_0x6e498c(0x147)]();const _0x113fed=this[_0x6e498c(0x1b5)][_0x6e498c(0x1d0)][_0x6e498c(0x172)](_0x6e498c(0x18a)),{channelId:_0x1faf18}=_0x40de95,_0xa10131=_0x113fed[_0x6e498c(0x178)](_0x107cbd(this[_0x6e498c(0x1b5)][_0x6e498c(0x17d)],_0x6e498c(0x14f)));return this[_0x6e498c(0x1dc)][_0x6e498c(0x1cd)]({'channelId':_0x1faf18,'threadId':_0x53c940,'commentId':_0x47c8a6})[_0x6e498c(0x14a)](()=>_0x113fed[_0x6e498c(0x12e)](_0xa10131))[_0x6e498c(0x166)](_0x182898=>{const _0x42086f=_0x6e498c;throw console[_0x42086f(0x136)](_0x182898),new _0x409ffc(_0x42086f(0x117),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x33b0cf(){[_0x14c714(0x15f)];['id'];[_0x14c714(0x1d3)];[_0x14c714(0x19a)];[_0x14c714(0x140)];[_0x14c714(0x133)];constructor(_0x46b32c,_0x5b3c16){const _0x2d0535=_0x14c714;super();const _0x3c1eb4=_0x5b3c16[_0x2d0535(0x149)];this[_0x2d0535(0x15f)]=_0x5b3c16[_0x2d0535(0x15f)],this['id']=_0x5b3c16['id'],this[_0x2d0535(0x140)]=new _0x258ca3(),this[_0x2d0535(0x133)]=_0x46b32c,this[_0x2d0535(0x1d3)]=!0x1,this[_0x2d0535(0x19a)]=_0x5b3c16[_0x2d0535(0x1de)],this[_0x2d0535(0x18f)](_0x2d0535(0x1d6),!0x0),this[_0x2d0535(0x155)](_0x2d0535(0x124))['to'](_0x46b32c,_0x2d0535(0x1b8),_0x46b32c,_0x2d0535(0x1e1),()=>_0x46b32c[_0x2d0535(0x124)](this[_0x2d0535(0x15f)])),this[_0x2d0535(0x155)](_0x2d0535(0x10a))['to'](_0x46b32c,_0x2d0535(0x1b8),()=>_0x46b32c[_0x2d0535(0x1d2)](this[_0x2d0535(0x15f)])[_0x2d0535(0x188)]),this[_0x2d0535(0x155)](_0x2d0535(0xfe))['to'](_0x46b32c,_0x2d0535(0x1b8),()=>{const _0x3f528c=_0x2d0535,_0x265f0d=_0x46b32c[_0x3f528c(0x1d2)](this[_0x3f528c(0x15f)]);return _0x265f0d[_0x3f528c(0x10b)]||_0x265f0d[_0x3f528c(0x188)];}),this[_0x2d0535(0x155)](_0x2d0535(0x149))['to'](_0x46b32c,_0x2d0535(0x1b8),()=>_0x3c1eb4&&_0x46b32c[_0x2d0535(0x1d2)](this[_0x2d0535(0x15f)])[_0x2d0535(0x147)]),this[_0x2d0535(0x18f)](_0x2d0535(0x1b5),_0x5b3c16[_0x2d0535(0x1b5)]),this[_0x2d0535(0x155)](_0x2d0535(0x1b9))['to'](this,_0x2d0535(0x118),this,_0x2d0535(0x171),(_0x4f0930,_0x5584a7)=>_0x4f0930?_0x5584a7?_0x4f0930<_0x5584a7?_0x4f0930:_0x5584a7:_0x4f0930:_0x5584a7),this[_0x2d0535(0x18f)](_0x2d0535(0x171),_0x5b3c16[_0x2d0535(0x171)]||null),this[_0x2d0535(0x18f)](_0x2d0535(0x118),_0x5b3c16[_0x2d0535(0x118)]||null),this[_0x2d0535(0x18f)](_0x2d0535(0x1b2),_0x5b3c16[_0x2d0535(0x1b2)]||null),this[_0x2d0535(0x155)](_0x2d0535(0x130))['to'](this,_0x2d0535(0x118),_0x4a75cf=>!!_0x4a75cf),this[_0x2d0535(0x18f)](_0x2d0535(0x196),_0x5b3c16[_0x2d0535(0x196)]||{});}get[_0x14c714(0x152)](){const _0x37ef33=_0x14c714;return Array[_0x37ef33(0x106)](this[_0x37ef33(0x140)])[_0x37ef33(0x12f)]((_0x1ed3c5,_0x5ea40a)=>_0x1ed3c5+_0x5ea40a[_0x37ef33(0x152)],0x0);}get[_0x14c714(0x161)](){const _0x500a74=_0x14c714;return this[_0x500a74(0x140)][_0x500a74(0x161)];}get[_0x14c714(0x1b3)](){const _0x1bb764=_0x14c714;return this[_0x1bb764(0x1d3)];}get[_0x14c714(0x1de)](){const _0x4a2f3c=_0x14c714;return this[_0x4a2f3c(0x19a)];}[_0x14c714(0xff)](){const _0x221a18=_0x14c714,{channelId:_0x36a38c,id:_0x26159e}=this;this[_0x221a18(0x133)][_0x221a18(0x101)](xt(_0x221a18(0x1b1),_0x36a38c),{'channelId':_0x36a38c,'threadId':_0x26159e});}[_0x14c714(0x135)](_0x487821){const _0x2ae976=_0x14c714;this[_0x2ae976(0x108)]({'unlinkedAt':_0x487821});}[_0x14c714(0x147)]({resolvedAt:_0x11324e=new Date(),resolvedBy:_0x4693ff=null,isFromAdapter:_0x3c280a=!0x1}={}){const _0xd3afe6=_0x14c714,_0x189859=this[_0xd3afe6(0x133)][_0xd3afe6(0x1b5)][_0xd3afe6(0x1d0)][_0xd3afe6(0x172)](_0x1b812e)['me'],{channelId:_0x558824,id:_0x373f56}=this;this[_0xd3afe6(0x133)][_0xd3afe6(0x101)](xt(_0xd3afe6(0x1a7),_0x558824),{'channelId':_0x558824,'threadId':_0x373f56,'resolvedAt':_0x11324e,'resolvedBy':_0x4693ff||_0x189859['id'],'isFromAdapter':_0x3c280a});}[_0x14c714(0x119)]({isFromAdapter:_0x54a7a1=!0x1}={}){const _0x23bee1=_0x14c714,{channelId:_0x136adb,id:_0x1c6076}=this;this[_0x23bee1(0x133)][_0x23bee1(0x101)](xt(_0x23bee1(0x1da),_0x136adb),{'channelId':_0x136adb,'threadId':_0x1c6076,'isFromAdapter':_0x54a7a1});}[_0x14c714(0x13c)](_0x1bd481){const _0x325a14=_0x14c714;this[_0x325a14(0x1b5)]||this[_0x325a14(0x108)]({'context':_0x1bd481});}[_0x14c714(0x1c4)](_0x37cde4,_0x15a0de){const _0xcd3f3b=_0x14c714,_0x49745a=_0x1861a9(this[_0xcd3f3b(0x196)]);_0x12c270(_0x49745a,_0x37cde4,_0x15a0de),this[_0xcd3f3b(0x108)]({'attributes':_0x49745a});}[_0x14c714(0x104)](_0x1401e7){const _0x53e720=_0x14c714,_0x3edce4=_0x1861a9(this[_0x53e720(0x196)]);_0x1ea187(_0x3edce4,_0x1401e7),this[_0x53e720(0x108)]({'attributes':_0x3edce4});}[_0x14c714(0x12e)]({isFromAdapter:_0x35d26f=!0x1}={}){const _0x57c602=_0x14c714,{channelId:_0x33f80b,id:_0x6724e8}=this;this[_0x57c602(0x133)][_0x57c602(0x101)](xt(_0x57c602(0x134),_0x33f80b),{'channelId':_0x33f80b,'threadId':_0x6724e8,'isFromAdapter':_0x35d26f});}[_0x14c714(0x16c)](_0x874a5c){const _0xeaa594=_0x14c714;return this[_0xeaa594(0x133)][_0xeaa594(0x1cf)]({'threadId':this['id'],'target':_0x874a5c});}[_0x14c714(0x184)](_0x36ebb6){const _0x53e0be=_0x14c714,{channelId:_0x218683,id:_0x4ef4bf}=this;this[_0x53e0be(0x133)][_0x53e0be(0x101)](xt(_0x53e0be(0x184),_0x218683,_0x4ef4bf),Object[_0x53e0be(0x1bf)]({'channelId':_0x218683,'threadId':_0x4ef4bf},_0x36ebb6));}[_0x14c714(0x1bb)](_0x504b8d){const _0x7889de=_0x14c714;if(_0x7889de(0x100)!=typeof _0x504b8d)throw new _0x409ffc(_0x7889de(0x10e),null,{'commentId':_0x504b8d});return this[_0x7889de(0x140)][_0x7889de(0x172)](_0x504b8d);}[_0x14c714(0x1c2)](){const _0x3fb21e=_0x14c714;return{'threadId':this['id'],'context':this[_0x3fb21e(0x1b5)],'unlinkedAt':this[_0x3fb21e(0x171)],'resolvedAt':this[_0x3fb21e(0x118)],'resolvedBy':this[_0x3fb21e(0x1b2)]?this[_0x3fb21e(0x1b2)]['id']:null,'archivedAt':this[_0x3fb21e(0x1b9)],'comments':this[_0x3fb21e(0x140)][_0x3fb21e(0x150)](_0x12ed96=>_0x12ed96[_0x3fb21e(0x1c2)]()),'attributes':this[_0x3fb21e(0x196)]};}[_0x14c714(0x169)](_0x4497f9){const _0x362d8d=_0x14c714;return this[_0x362d8d(0x13b)](_0x4497f9,_0x362d8d(0x176),()=>{const _0x24d661=_0x362d8d,_0x5779d0=this[_0x24d661(0x13e)](_0x4497f9),_0x1b0e58=this[_0x24d661(0x140)];_0x5779d0-0x1!=_0x1b0e58[_0x24d661(0x17e)](_0x4497f9)&&_0x5779d0+0x1!=_0x1b0e58[_0x24d661(0x17e)](_0x4497f9)&&(this[_0x24d661(0x154)](_0x4497f9),this[_0x24d661(0x169)](_0x4497f9));}),this[_0x362d8d(0x140)][_0x362d8d(0x178)](_0x4497f9,this[_0x362d8d(0x13e)](_0x4497f9));}[_0x14c714(0x108)](_0x14de9e){const _0x1b5a89=_0x14c714,{channelId:_0x43ab49,id:_0x5de968}=this;this[_0x1b5a89(0x133)][_0x1b5a89(0x101)](xt(_0x1b5a89(0x1e2),_0x43ab49),{..._0x14de9e,'channelId':_0x43ab49,'threadId':_0x5de968});}[_0x14c714(0x154)](_0x30b29c){const _0x542a6c=_0x14c714;return this[_0x542a6c(0x17c)](_0x30b29c),_0x30b29c[_0x542a6c(0x1e0)](),this[_0x542a6c(0x140)][_0x542a6c(0x12e)](_0x30b29c);}[_0x14c714(0x13e)](_0x3c6f56){const _0x15befe=_0x14c714,_0x30bd9b=this[_0x15befe(0x140)][_0x15befe(0x122)](_0x1e0dcf=>new Date(_0x1e0dcf[_0x15befe(0x13a)])[_0x15befe(0x1aa)]()>new Date(_0x3c6f56[_0x15befe(0x13a)])[_0x15befe(0x1aa)]());return _0x30bd9b?this[_0x15befe(0x140)][_0x15befe(0x17e)](_0x30bd9b):this[_0x15befe(0x161)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x33b0cf(){['id'];[_0x14c714(0x10c)];[_0x14c714(0x1ae)];[_0x14c714(0x1c0)];[_0x14c714(0x126)];[_0x14c714(0x111)];[_0x14c714(0x133)];constructor(_0x4f5df8,_0xecbb8a){const _0x3df4a6=_0x14c714;super();const _0x54595e=_0x4f5df8[_0x3df4a6(0x1b5)][_0x3df4a6(0x1d0)][_0x3df4a6(0x172)](_0x1b812e)['me'],_0x56cc28=_0x4f5df8[_0x3df4a6(0x12b)](_0xecbb8a[_0x3df4a6(0x10c)]),_0x3233fa=0x0===_0x56cc28[_0x3df4a6(0x140)][_0x3df4a6(0x161)],_0x2d6139=_0x54595e===_0xecbb8a[_0x3df4a6(0x1ae)];this['id']=_0xecbb8a['id'],this[_0x3df4a6(0x10c)]=_0xecbb8a[_0x3df4a6(0x10c)],this[_0x3df4a6(0x1ae)]=_0xecbb8a[_0x3df4a6(0x1ae)],this[_0x3df4a6(0x1c0)]=_0xecbb8a[_0x3df4a6(0x1c0)],this[_0x3df4a6(0x126)]=Boolean(_0xecbb8a[_0x3df4a6(0x196)]&&_0xecbb8a[_0x3df4a6(0x196)][_0x3df4a6(0x153)]),this[_0x3df4a6(0x18f)](_0x3df4a6(0x145),_0xecbb8a[_0x3df4a6(0x145)]),this[_0x3df4a6(0x111)]=_0xecbb8a[_0x3df4a6(0x111)]||new Date(),this[_0x3df4a6(0x18f)](_0x3df4a6(0x13a),_0xecbb8a[_0x3df4a6(0x13a)]||new Date()),this[_0x3df4a6(0x155)](_0x3df4a6(0x118))['to'](_0x56cc28,_0x3df4a6(0x118)),this[_0x3df4a6(0x18f)](_0x3df4a6(0x196),_0xecbb8a[_0x3df4a6(0x196)]||{}),this[_0x3df4a6(0x155)](_0x3df4a6(0x199))['to'](_0x4f5df8,_0x3df4a6(0x1b8),()=>{const _0x26bcfe=_0x3df4a6,_0x1366b9=_0x4f5df8[_0x26bcfe(0x1d2)](_0x56cc28[_0x26bcfe(0x15f)])[_0x26bcfe(0x10b)],_0x21e3a4=_0x4f5df8[_0x26bcfe(0x1d2)](_0x56cc28[_0x26bcfe(0x15f)])[_0x26bcfe(0x1d9)];return _0x2d6139&&_0x1366b9||!_0x2d6139&&_0x21e3a4;}),this[_0x3df4a6(0x155)](_0x3df4a6(0x10a))['to'](_0x56cc28,_0x3df4a6(0x10a),_0x4f5df8,_0x3df4a6(0x1b8),_0x3d467e=>{const _0x59a130=_0x3df4a6,_0x26e6c8=_0x4f5df8[_0x59a130(0x1d2)](_0x56cc28[_0x59a130(0x15f)])[_0x59a130(0x10b)],_0x20238b=_0x4f5df8[_0x59a130(0x1d2)](_0x56cc28[_0x59a130(0x15f)])[_0x59a130(0x1d9)];return _0x2d6139&&_0x26e6c8||_0x3d467e&&_0x3233fa||!_0x2d6139&&_0x20238b&&!_0x3233fa;}),this[_0x3df4a6(0x155)](_0x3df4a6(0x124))['to'](_0x56cc28,_0x3df4a6(0x124)),this[_0x3df4a6(0x133)]=_0x4f5df8;}get[_0x14c714(0x152)](){const _0x485504=_0x14c714;return Math[_0x485504(0x16e)](function(_0x27d5bb){const _0x54e99d=_0x485504,_0x48fb9d=document[_0x54e99d(0x1a5)](_0x54e99d(0x1c6));return _0x48fb9d[_0x54e99d(0x187)]=_0x27d5bb,_0x48fb9d[_0x54e99d(0x1bc)][_0x54e99d(0x161)];}(this[_0x485504(0x145)]),0xc8);}[_0x14c714(0x18d)](_0x5a4026){const _0x18124b=_0x14c714,{threadId:_0x17a528,id:_0x163b87}=this;if(!this[_0x18124b(0x133)][_0x18124b(0x1bd)](_0x17a528))throw new _0x409ffc(_0x18124b(0x107),this);const {channelId:_0x435fb3}=this[_0x18124b(0x133)][_0x18124b(0x12b)](_0x17a528);this[_0x18124b(0x133)][_0x18124b(0x101)](xt(_0x18124b(0x15e),_0x435fb3,_0x17a528),{'channelId':_0x435fb3,'threadId':_0x17a528,'commentId':_0x163b87,..._0x5a4026});}[_0x14c714(0x1c4)](_0x274d71,_0x1151c6){const _0x2f5758=_0x14c714,_0x3ae5bb=_0x1861a9(this[_0x2f5758(0x196)]);_0x12c270(_0x3ae5bb,_0x274d71,_0x1151c6),this[_0x2f5758(0x18d)]({'attributes':_0x3ae5bb});}[_0x14c714(0x104)](_0xc099c0){const _0xe349d8=_0x14c714,_0x1c239a=_0x1861a9(this[_0xe349d8(0x196)]);_0x1ea187(_0x1c239a,_0xc099c0),this[_0xe349d8(0x18d)]({'attributes':_0x1c239a});}[_0x14c714(0x12e)](_0xb843ad={}){const _0x226b24=_0x14c714;if(!_0xb843ad[_0x226b24(0x174)]&&!this[_0x226b24(0x10a)])return;const {threadId:_0x457bb6,id:_0x9b8a6a}=this;if(!this[_0x226b24(0x133)][_0x226b24(0x1bd)](_0x457bb6))throw new _0x409ffc(_0x226b24(0x1cb),this);const {channelId:_0x333434}=this[_0x226b24(0x133)][_0x226b24(0x12b)](_0x457bb6);this[_0x226b24(0x133)][_0x226b24(0x101)](xt(_0x226b24(0x1cd),_0x333434,_0x457bb6),{'channelId':_0x333434,'threadId':_0x457bb6,'commentId':_0x9b8a6a,..._0xb843ad});}[_0x14c714(0x1c2)](){const _0x375e3a=_0x14c714;return{'commentId':this['id'],'content':this[_0x375e3a(0x145)],'createdAt':this[_0x375e3a(0x111)],'authorId':this[_0x375e3a(0x1c0)]['id'],'attributes':this[_0x375e3a(0x196)]};}[_0x14c714(0x1e0)](){const _0x5c34c1=_0x14c714;this[_0x5c34c1(0x17c)]();}}function _0x2a31(){const _0x9434a5=['getUser','isExternal','view','focus','function','commentsrepository-missing-thread-and-adapter-method','getCommentThread','_reopenCommentThread','commentsrepository-invalid-commentid','remove','reduce','isResolved','has','CommentThreadView','_repository','removeCommentThread','setUnlinkedAt','error','_submitCommentThread','comment','_threadToController','authoredAt','listenTo','setContext','_removeComment','_findOptimalIndex','commentInputView','comments','_createNewComment','105262rtphJk','_detachCommentThread','comments.CommentThreadView','content','commentsListView','resolve','59877SeEWWd','isResolvable','then','commentsrepository-reopen-comment-thread','commentsrepository-update-missing-comment','isActive','comments.maxThreadTotalWeight','PENDING_ACTION_COMMENT_THREAD','map','change:_readOnlyChannels','weight','@external','_remove','bind','commentsrepository-invalid-comment-authorid','commentsrepository-update-comment-invalid-content','comments.editorConfig','isOfficialPlugin','comments.maxCommentCharsWhenCollapsed','_adapter','highest','lowest','updateComment','channelId','_unbindEditors','length','pluginName','_addCommentThread','_getExternalAuthor','_removeActiveAnnotation','catch','_removeCommentThread','filter','_add','CommentsRepository','change:isDirty','attachTo','isVisible','max','CommentView','getByInnerView','unlinkedAt','get','38864RhVkde','isFromAdapter','1810KvWXjp','change:authoredAt','commentsrepository-active-missing-comment-thread','add','activeCommentThread','deactivateAll','escape','stopListening','locale','getIndex','commentsrepository-resolved-comment-thread','switchReadOnly','commentId','getCommentThreads','isPremiumPlugin','addComment','noChannel','commentsrepository-remove-missing-comment-thread','innerHTML','admin','_updateComment','PendingActions','requires','commentsrepository-missing-target','update','external:','set','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentUpdated','commentsrepository-remove-missing-comment','comments.copyMarkers','init','commentsrepository-remove-comment-thread-internal-error','attributes','_addComment','commentsrepository-duplicated-comment-thread-id','isEditable','_isSubmitted','change:_permissions','3RxuSki','_viewToController','once','_createCommentThreadView','commentsrepository-update-comment-thread-internal-error','commentsrepository-add-comment-thread-internal-error','config','commentsrepository-adapter-already-set','focusableElements','createElement','commentsrepository-missing-comment-thread','resolveCommentThread','focusTracker','commentsrepository-fetch-comment-thread','getTime','1649380ehpzEi','_updateCommentThread','commentThreadInputView','author','delete','bodyCollectionContainer','submitCommentThread','resolvedBy','isAttached','_updateActiveAnnotation','context','editorReady','18499008aNWmwC','_permissions','archivedAt','model','getComment','textContent','hasCommentThread','setPermissions','assign','creator','comments.maxCommentsWhenCollapsed','toJSON','createCommentThreadController','setAttribute','commentsrepository-update-comment-internal-error','div','commentsrepository-add-comment-internal-error','isDirty','type','commentsrepository-active-not-attached','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-reopen-comment-thread-internal-error','removeComment','addUser','_attachCommentThread','plugins','comments.CommentView','getPermissions','_isAttached','trim','commentsrepository-add-comment-to-missing-comment-thread','_hasTargetInContent','addCommentThread','990592lLPGoc','modifyAll','reopenCommentThread','values','adapter','fetchCommentThread','isSubmitted','setActiveCommentThread','destroy','_readOnlyChannels','updateCommentThread','4185876XDQAaV','_threads','canComment','submit','string','fire','body','push','removeAttribute','commentsrepository-invalid-comment-thread-id','from','commentsrepository-update-comment-missing-comment-thread','_update','commentsrepository-resolve-comment-thread-internal-error','isRemovable','write','threadId','6SakIzp','commentsrepository-get-comment-invalid-id','define','activate','createdAt','refreshVisibility','warn','196qXfVaa','innerView','authorName','commentsrepository-remove-comment-internal-error','resolvedAt','reopen','commentsrepository-attach-missing-comment-thread','_bindAnnotationToEditors','_resolveCommentThread','commentsrepository-invalid-comment-content','editorDestroyed','licenseKey','change:activeAnnotations','commentsrepository-add-comment-user-not-exists','find','openNewCommentThread','isReadOnly'];_0x2a31=function(){return _0x9434a5;};return _0x2a31();}function xt(_0x32dffc,..._0x3d5c20){for(const _0x2daab6 of _0x3d5c20)void 0x0!==_0x2daab6&&(_0x32dffc+=':'+String(_0x2daab6));return _0x32dffc;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27f55f=_0x571b;(function(_0x191f6f,_0x26a74f){const _0x19fbd2=_0x571b,_0x24d390=_0x191f6f();while(!![]){try{const _0x59877c=-parseInt(_0x19fbd2(0x15c))/0x1+-parseInt(_0x19fbd2(0x154))/0x2*(parseInt(_0x19fbd2(0x160))/0x3)+-parseInt(_0x19fbd2(0x152))/0x4+parseInt(_0x19fbd2(0x16d))/0x5+-parseInt(_0x19fbd2(0x122))/0x6*(-parseInt(_0x19fbd2(0x12a))/0x7)+-parseInt(_0x19fbd2(0x12d))/0x8+parseInt(_0x19fbd2(0x13b))/0x9*(parseInt(_0x19fbd2(0x162))/0xa);if(_0x59877c===_0x26a74f)break;else _0x24d390['push'](_0x24d390['shift']());}catch(_0xb67bda){_0x24d390['push'](_0x24d390['shift']());}}}(_0x2af9,0xd2f02));import{Plugin as _0x227926}from'ckeditor5/src/core.js';import{IconAddComment as _0x3c695f}from'ckeditor5/src/icons.js';import _0x544bda from'./commentsrepository.js';function _0x571b(_0x2cfb43,_0x29b35f){const _0x2af96b=_0x2af9();return _0x571b=function(_0x571b80,_0x3be205){_0x571b80=_0x571b80-0x11b;let _0x16e40b=_0x2af96b[_0x571b80];return _0x16e40b;},_0x571b(_0x2cfb43,_0x29b35f);}import _0x15e68b from'./commentsediting.js';import _0x1a5bfc from'../annotations/editorannotations.js';import{ButtonView as _0x471330,MenuBarMenuListItemButtonView as _0x24d9e7}from'ckeditor5/src/ui.js';import _0x5c19e1 from'../annotations/annotations.js';import _0x167478 from'./ui/view/commentslistview.js';import _0x44fa99 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x390039}from'../utils/common-translations.js';function _0x2af9(){const _0x228128=['low','view','editing','set','listenTo','focusTracker','getAllMarkersForId','requires','4129892grrVEp','commentsLicenseKeyValid','2LcgVOq','commentsLicenseKeyDomainLimit','activeMarker','comment:','invalid','stop','editor','model','1065269dtcycm','Comments','_showLicenseError','expired','3660690ZdMjeg','isOfficialPlugin','237100IvJybX','push','pluginName','_licenseKeyCheckInterval','from','length','CommentsListView','tooltip','getRange','commentsLicenseKeyNotAllowed','_viewToController','3839945XPMZdC','commentsLicenseKeyInvalid','focus','add','map','commentsLicenseKeyEvaluationLimit','isPremiumPlugin','commands','commentsLicenseKeyTrialLimit','getCommentThread','menuBar:comment','6lauqiV','destroy','domainLimit','bind','change:activeAnnotations','innerView','highest','find','11953403TfkDCa','commentsLicenseKeyUsageLimit','comment','11766272IJtBby','Comment','isFocused','evaluationLimit','addSourceCollector','addCommentThread','_threadToController','hasCommentThread','usageLimit','featureNotAllowed','hasMarkerForId','init','componentFactory','addComment','1206fjPzLl','plugins','removeCommentThread','has','commentsLicenseKeyExpired','isEnabled','get','config','trialLimit','_createUIButton','execute','CommentThreadInputView','licenseKey','CommentsUI','locale'];_0x2af9=function(){return _0x228128;};return _0x2af9();}export default class i extends _0x227926{[_0x27f55f(0x147)];[_0x27f55f(0x165)];static get[_0x27f55f(0x164)](){const _0x941807=_0x27f55f;return _0x941807(0x148);}static get[_0x27f55f(0x161)](){return!0x0;}static get[_0x27f55f(0x11d)](){return!0x0;}static get[_0x27f55f(0x151)](){return[_0x544bda,_0x15e68b,_0x1a5bfc,_0x5c19e1];}get[_0x27f55f(0x168)](){return _0x167478;}get[_0x27f55f(0x146)](){return _0x44fa99;}[_0x27f55f(0x138)](){const _0xdb7f3b=_0x27f55f,_0xce4a19=this[_0xdb7f3b(0x15a)],_0x34f53f=_0xce4a19[_0xdb7f3b(0x13c)][_0xdb7f3b(0x141)](_0x544bda),_0x1886f8=_0xce4a19[_0xdb7f3b(0x13c)][_0xdb7f3b(0x141)](_0x15e68b),_0x4a4129=_0xce4a19[_0xdb7f3b(0x13c)][_0xdb7f3b(0x141)](_0x5c19e1),_0x548407=_0xce4a19[_0xdb7f3b(0x13c)][_0xdb7f3b(0x141)](_0x1a5bfc);_0xce4a19['ui'][_0xdb7f3b(0x139)][_0xdb7f3b(0x170)](_0xdb7f3b(0x12c),()=>{const _0x2e978d=_0xdb7f3b,_0xc0ff69=this[_0x2e978d(0x144)](_0x471330);return _0xc0ff69[_0x2e978d(0x169)]=!0x0,_0xc0ff69;}),_0xce4a19['ui'][_0xdb7f3b(0x139)][_0xdb7f3b(0x170)](_0xdb7f3b(0x121),()=>this[_0xdb7f3b(0x144)](_0x24d9e7)),_0x548407[_0xdb7f3b(0x131)](()=>{const _0x11d340=_0xdb7f3b,_0x4ee7f6=[];for(const [_0x5f2a83,_0x39ef88]of _0x34f53f[_0x11d340(0x133)]){const _0x5b4ed8=_0x1886f8[_0x11d340(0x150)](_0x5f2a83['id']),_0x488df4=_0x5b4ed8[_0x11d340(0x11b)](_0x3febc2=>_0x3febc2[_0x11d340(0x16a)]());_0x5b4ed8[_0x11d340(0x167)]>0x0&&_0x4ee7f6[_0x11d340(0x163)]([_0x39ef88[_0x11d340(0x14b)],_0x488df4]);}return _0x4ee7f6;}),this[_0xdb7f3b(0x14e)](_0x4a4129,_0xdb7f3b(0x126),(_0x4f312e,_0x1c5f7f,_0x2765e4)=>{const _0x21a249=_0xdb7f3b,_0x422fbd=Array[_0x21a249(0x166)](_0x2765e4)[_0x21a249(0x11b)](_0x42e75c=>_0x42e75c[_0x21a249(0x127)])[_0x21a249(0x129)](_0x290158=>_0x34f53f[_0x21a249(0x16c)][_0x21a249(0x13e)](_0x290158));if(!_0x422fbd)return void(_0x1886f8[_0x21a249(0x156)]=null);const _0x4cbd74=_0x34f53f[_0x21a249(0x16c)][_0x21a249(0x141)](_0x422fbd)[_0x21a249(0x15b)]['id'],_0x23cc57=_0x21a249(0x157)+_0x4cbd74;_0x4cbd74&&_0x1886f8[_0x21a249(0x137)](_0x4cbd74)?_0x1886f8[_0x21a249(0x156)]=_0x23cc57:_0x1886f8[_0x21a249(0x156)]&&(_0x1886f8[_0x21a249(0x156)]=null);}),this[_0xdb7f3b(0x14e)](_0x34f53f,_0xdb7f3b(0x13d),(_0x3bacbc,{threadId:_0x4889f2,isFromAdapter:_0x3965de})=>{const _0x543453=_0xdb7f3b;!_0x3965de&&_0xce4a19['ui'][_0x543453(0x14f)][_0x543453(0x12f)]&&_0x1886f8[_0x543453(0x137)](_0x4889f2)&&_0xce4a19[_0x543453(0x14c)][_0x543453(0x14b)][_0x543453(0x16f)]();},{'priority':_0xdb7f3b(0x128)}),this[_0xdb7f3b(0x14e)](_0x34f53f,_0xdb7f3b(0x13a),(_0x38b9f7,{threadId:_0x568a3f,isFromAdapter:_0x1e9cb2})=>{const _0x4f048a=_0xdb7f3b;if(_0x1e9cb2||!_0x1886f8[_0x4f048a(0x137)](_0x568a3f)||!_0x34f53f[_0x4f048a(0x134)](_0x568a3f))return;0x1===_0x34f53f[_0x4f048a(0x120)](_0x568a3f)[_0x4f048a(0x167)]&&(_0xce4a19[_0x4f048a(0x14c)][_0x4f048a(0x14b)][_0x4f048a(0x16f)](),_0x38b9f7[_0x4f048a(0x159)]());},{'priority':_0xdb7f3b(0x14a)}),this[_0xdb7f3b(0x147)]=this[_0xdb7f3b(0x15a)][_0xdb7f3b(0x142)][_0xdb7f3b(0x141)](_0xdb7f3b(0x147));const _0x24a094=this[_0xdb7f3b(0x15a)];this[_0xdb7f3b(0x165)]=setInterval(()=>{const _0x59f7d2=_0xdb7f3b;let _0x56ed18;for(const _0x51ae9f in _0x24a094){const _0x4ba48c=_0x51ae9f,_0x22f667=_0x24a094[_0x4ba48c];if(_0x59f7d2(0x153)==_0x22f667||_0x59f7d2(0x16e)==_0x22f667||_0x59f7d2(0x13f)==_0x22f667||_0x59f7d2(0x155)==_0x22f667||_0x59f7d2(0x16b)==_0x22f667||_0x59f7d2(0x11c)==_0x22f667||_0x59f7d2(0x11f)==_0x22f667||_0x59f7d2(0x12b)==_0x22f667){delete _0x24a094[_0x4ba48c],_0x56ed18=_0x22f667,clearInterval(this[_0x59f7d2(0x165)]),this[_0x59f7d2(0x165)]=void 0x0;break;}}_0x59f7d2(0x16e)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x158)),_0x59f7d2(0x13f)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x15f)),_0x59f7d2(0x155)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x124)),_0x59f7d2(0x16b)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x136),_0x59f7d2(0x15d)),_0x59f7d2(0x11c)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x130)),_0x59f7d2(0x11f)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x143)),_0x59f7d2(0x12b)==_0x56ed18&&_0x24a094[_0x59f7d2(0x15e)](_0x59f7d2(0x135));},0x3e8);}[_0x27f55f(0x123)](){const _0x34d219=_0x27f55f;super[_0x34d219(0x123)](),this[_0x34d219(0x165)]&&clearInterval(this[_0x34d219(0x165)]);}[_0x27f55f(0x144)](_0x47bfba){const _0x6c1082=_0x27f55f,_0x5b0d1f=this[_0x6c1082(0x15a)],_0x407eb9=new _0x47bfba(_0x5b0d1f[_0x6c1082(0x149)]),_0x10c48e=_0x5b0d1f[_0x6c1082(0x11e)][_0x6c1082(0x141)](_0x6c1082(0x132));return _0x407eb9[_0x6c1082(0x14d)]({'label':_0x390039(_0x5b0d1f[_0x6c1082(0x149)],_0x6c1082(0x12e)),'icon':_0x3c695f}),_0x407eb9[_0x6c1082(0x125)](_0x6c1082(0x140))['to'](_0x10c48e),this[_0x6c1082(0x14e)](_0x407eb9,_0x6c1082(0x145),()=>{const _0x1bd7ee=_0x6c1082;_0x10c48e[_0x1bd7ee(0x145)]();}),_0x407eb9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3cba(_0x19ee0f,_0x2aae33){const _0x3c3367=_0x3c33();return _0x3cba=function(_0x3cbae7,_0x1396ec){_0x3cbae7=_0x3cbae7-0x16d;let _0x51e3e6=_0x3c3367[_0x3cbae7];return _0x51e3e6;},_0x3cba(_0x19ee0f,_0x2aae33);}const _0x2ca3fe=_0x3cba;(function(_0x1dd391,_0x4ad64b){const _0x3d1033=_0x3cba,_0xbf6413=_0x1dd391();while(!![]){try{const _0x1738fe=-parseInt(_0x3d1033(0x18e))/0x1+-parseInt(_0x3d1033(0x18f))/0x2*(parseInt(_0x3d1033(0x185))/0x3)+-parseInt(_0x3d1033(0x16f))/0x4+parseInt(_0x3d1033(0x17f))/0x5+-parseInt(_0x3d1033(0x184))/0x6+-parseInt(_0x3d1033(0x193))/0x7*(parseInt(_0x3d1033(0x173))/0x8)+-parseInt(_0x3d1033(0x195))/0x9*(-parseInt(_0x3d1033(0x191))/0xa);if(_0x1738fe===_0x4ad64b)break;else _0xbf6413['push'](_0xbf6413['shift']());}catch(_0x35bb5c){_0xbf6413['push'](_0xbf6413['shift']());}}}(_0x3c33,0x3e9d2));function _0x3c33(){const _0x54c33b=['split','CommentsRepository','233388OlwbLf','2LmPZYE','afterInit','552060qEvJpP','dragstart','567pKbgHG','get','261mBSaKA','cut','comment','comments.copyMarkers','347964dhXAda','highest','listenTo','keys','34344YbvFEX','contentInsertion','editor','_registerMarkerInClipboardPipeline','_removeMarkersWithoutThreads','config','markers','all','never','always','_registerMarkerToCopy','delete','707430kMtyGh','has','ClipboardMarkersUtils','requires','hasCommentThread','2953038cIwdnR','977127nxQHeY','content','define','default','_mapCommentsCopyConfigToRegisterConfiguration','ClipboardPipeline','plugins'];_0x3c33=function(){return _0x54c33b;};return _0x3c33();}import{Plugin as _0x491905}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5b03bc,ClipboardMarkersUtils as _0x2d7437}from'ckeditor5/src/clipboard.js';export default class ft extends _0x491905{constructor(_0x598d0f){const _0x554586=_0x3cba;super(_0x598d0f),this[_0x554586(0x175)][_0x554586(0x178)][_0x554586(0x187)](_0x554586(0x16e),_0x554586(0x188));}static get[_0x2ca3fe(0x182)](){return[_0x2d7437,_0x5b03bc];}[_0x2ca3fe(0x190)](){const _0x46a4d0=_0x2ca3fe,_0x33607e=this[_0x46a4d0(0x175)][_0x46a4d0(0x18b)][_0x46a4d0(0x194)](_0x46a4d0(0x18a));this[_0x46a4d0(0x176)](),this[_0x46a4d0(0x171)](_0x33607e,_0x46a4d0(0x174),(_0x37dc71,_0x34422f)=>this[_0x46a4d0(0x177)](_0x34422f[_0x46a4d0(0x186)][_0x46a4d0(0x179)]),{'priority':_0x46a4d0(0x170)});}[_0x2ca3fe(0x177)](_0x3f805e){const _0x495e0e=_0x2ca3fe;if(!this[_0x495e0e(0x175)][_0x495e0e(0x18b)][_0x495e0e(0x180)](_0x495e0e(0x18d)))return _0x3f805e;const _0x4bcb49=this[_0x495e0e(0x175)][_0x495e0e(0x18b)][_0x495e0e(0x194)](_0x495e0e(0x18d));for(const _0x13353c of _0x3f805e[_0x495e0e(0x172)]()){const [_0x52befc,_0x2efdd9]=_0x13353c[_0x495e0e(0x18c)](':');_0x495e0e(0x16d)!=_0x52befc||_0x4bcb49[_0x495e0e(0x183)](_0x2efdd9)||_0x3f805e[_0x495e0e(0x17e)](_0x13353c);}return _0x3f805e;}[_0x2ca3fe(0x176)](){const _0x3d5bbb=_0x2ca3fe,_0x5950d0=this[_0x3d5bbb(0x175)][_0x3d5bbb(0x18b)][_0x3d5bbb(0x194)](_0x3d5bbb(0x181)),_0x2ebca9=this[_0x3d5bbb(0x189)](this[_0x3d5bbb(0x175)][_0x3d5bbb(0x178)][_0x3d5bbb(0x194)](_0x3d5bbb(0x16e)));_0x2ebca9&&_0x5950d0[_0x3d5bbb(0x17d)](_0x3d5bbb(0x16d),_0x2ebca9);}[_0x2ca3fe(0x189)](_0x52cedc){const _0x119a9b=_0x2ca3fe;switch(_0x52cedc){case _0x119a9b(0x17c):return{'allowedActions':_0x119a9b(0x17a),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x119a9b(0x188):return{'allowedActions':[_0x119a9b(0x196),_0x119a9b(0x192)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x119a9b(0x17b):return null;default:return null;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x230c02=_0x3acf;(function(_0x2d221f,_0x4a2398){const _0x3ad196=_0x3acf,_0x5a1ba3=_0x2d221f();while(!![]){try{const _0x474b15=-parseInt(_0x3ad196(0x84))/0x1+-parseInt(_0x3ad196(0x83))/0x2*(-parseInt(_0x3ad196(0x89))/0x3)+-parseInt(_0x3ad196(0x7f))/0x4*(parseInt(_0x3ad196(0x8a))/0x5)+-parseInt(_0x3ad196(0x7a))/0x6+-parseInt(_0x3ad196(0x85))/0x7*(parseInt(_0x3ad196(0x7c))/0x8)+parseInt(_0x3ad196(0x8b))/0x9+parseInt(_0x3ad196(0x82))/0xa;if(_0x474b15===_0x4a2398)break;else _0x5a1ba3['push'](_0x5a1ba3['shift']());}catch(_0x20abc3){_0x5a1ba3['push'](_0x5a1ba3['shift']());}}}(_0xa22a,0x23afa));import{Plugin as _0x40f24f}from'ckeditor5/src/core.js';export default class at extends _0x40f24f{[_0x230c02(0x86)](){const _0x266fe8=_0x230c02,_0x36b60d=this[_0x266fe8(0x81)];if(!_0x36b60d[_0x266fe8(0x80)][_0x266fe8(0x7e)](_0x266fe8(0x7b)))return;_0x36b60d[_0x266fe8(0x80)][_0x266fe8(0x88)](_0x266fe8(0x7b))[_0x266fe8(0x87)](_0x266fe8(0x7d));}}function _0x3acf(_0x3b4716,_0x3ec2bf){const _0xa22ae8=_0xa22a();return _0x3acf=function(_0x3acf7e,_0x5db331){_0x3acf7e=_0x3acf7e-0x7a;let _0x339934=_0xa22ae8[_0x3acf7e];return _0x339934;},_0x3acf(_0x3b4716,_0x3ec2bf);}function _0xa22a(){const _0x5dc61e=['get','1014avFgKh','5epXGVG','509742qYWirf','86208AYHUbB','RestrictedEditingModeEditing','920dYqDUT','addCommentThread','has','36528ypLayk','plugins','editor','689260GwMebv','582yahpZU','18832QckZDc','2156wqQCkj','afterInit','enableCommand'];_0xa22a=function(){return _0x5dc61e;};return _0xa22a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53c5bc=_0x3f0e;(function(_0x84e192,_0x178d98){const _0x380ad6=_0x3f0e,_0x49a3fd=_0x84e192();while(!![]){try{const _0xf45896=parseInt(_0x380ad6(0x9e))/0x1+-parseInt(_0x380ad6(0x8e))/0x2*(parseInt(_0x380ad6(0x93))/0x3)+parseInt(_0x380ad6(0x9b))/0x4*(parseInt(_0x380ad6(0x84))/0x5)+parseInt(_0x380ad6(0x87))/0x6+parseInt(_0x380ad6(0x92))/0x7*(parseInt(_0x380ad6(0x99))/0x8)+-parseInt(_0x380ad6(0x8d))/0x9+-parseInt(_0x380ad6(0x85))/0xa;if(_0xf45896===_0x178d98)break;else _0x49a3fd['push'](_0x49a3fd['shift']());}catch(_0x22a4a8){_0x49a3fd['push'](_0x49a3fd['shift']());}}}(_0x4e40,0x56a92));function _0x4e40(){const _0x248ff5=['plugins','basic','get','45NciGrw','8202410xGvGPI','editor','1909134ureRpJ','config','importWord.formatting.comments','map','afterInit','commands','3804768IQJLnZ','6eNCtgF','define','importWord','_handleImportedData','7GgOtPI','66498jDemTu','collaboration_features','high','execute','collaboration.channelId','listenTo','2529016IzcGSt','addCommentThread','248852YnPXjd','dataInsert','forEach','470220YwjYWp'];_0x4e40=function(){return _0x248ff5;};return _0x4e40();}function _0x3f0e(_0x259775,_0xf987f7){const _0x4e40e0=_0x4e40();return _0x3f0e=function(_0x3f0e76,_0x232ff5){_0x3f0e76=_0x3f0e76-0x84;let _0x154a20=_0x4e40e0[_0x3f0e76];return _0x154a20;},_0x3f0e(_0x259775,_0xf987f7);}import{Plugin as _0x135434}from'ckeditor5/src/core.js';import{priorities as _0x467358}from'ckeditor5/src/utils.js';import{Users as _0x8e58aa}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3d652d from'../commentsrepository.js';export default class ut extends _0x135434{constructor(_0x551fc6){const _0x350c4f=_0x3f0e;super(_0x551fc6),this[_0x350c4f(0x86)][_0x350c4f(0x88)][_0x350c4f(0x8f)](_0x350c4f(0x89),_0x350c4f(0xa0));}[_0x53c5bc(0x8b)](){const _0x5cc5d7=_0x53c5bc,_0x4dd877=this[_0x5cc5d7(0x86)],_0x401148=_0x4dd877[_0x5cc5d7(0x8c)][_0x5cc5d7(0xa1)](_0x5cc5d7(0x90)),_0x52c13e=_0x4dd877[_0x5cc5d7(0x9f)][_0x5cc5d7(0xa1)](_0x8e58aa);_0x401148&&(_0x401148['on'](_0x5cc5d7(0x96),(_0x269464,[,_0x2f1032])=>{const _0x562d02=_0x5cc5d7;_0x2f1032[_0x562d02(0x94)]={'comments':!0x0,'user_id':_0x52c13e['me']['id']};},{'priority':_0x467358[_0x5cc5d7(0x95)]+0xa}),this[_0x5cc5d7(0x98)](_0x401148,_0x5cc5d7(0x9c),this[_0x5cc5d7(0x91)]));}[_0x53c5bc(0x91)](_0x13adc5,_0x150329){const _0x23071f=_0x53c5bc,{comment_threads:_0x24389d}=_0x150329;_0x24389d&&_0x24389d[_0x23071f(0x9d)](({thread_id:_0x648538,comments:_0x12e2e0,is_resolved:_0x1a8a62})=>{const _0xa3e674=_0x23071f,_0x43243b=new Date(),_0x4aff1e=_0x12e2e0[_0xa3e674(0x8a)](({author:_0x447e40,content:_0xe9ef16,created_at:_0x592722})=>({'content':_0xe9ef16,'authorId':this[_0xa3e674(0x86)][_0xa3e674(0x9f)][_0xa3e674(0xa1)](_0x8e58aa)['me']['id'],'createdAt':_0x43243b,'attributes':{'@external':{'authorName':_0x447e40,'createdAt':_0x592722?new Date(_0x592722):new Date(),'source':_0xa3e674(0x90)}}})),_0x2e6b23=this[_0xa3e674(0x86)][_0xa3e674(0x88)][_0xa3e674(0xa1)](_0xa3e674(0x97));this[_0xa3e674(0x86)][_0xa3e674(0x9f)][_0xa3e674(0xa1)](_0x3d652d)[_0xa3e674(0x9a)]({'channelId':_0x2e6b23,'threadId':_0x648538,'comments':_0x4aff1e,'resolvedAt':_0x1a8a62?_0x43243b:null});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2f54(_0x752684,_0x4c3fa8){const _0x8ddfc2=_0x8ddf();return _0x2f54=function(_0x2f540a,_0x90ccb8){_0x2f540a=_0x2f540a-0x78;let _0x32041e=_0x8ddfc2[_0x2f540a];return _0x32041e;},_0x2f54(_0x752684,_0x4c3fa8);}const _0x1deee1=_0x2f54;function _0x8ddf(){const _0x5a8a78=['elementToElement','plugins','1506EarOyX','392181bPGShI','overrideHorizontalRuleConverter','item','add','for','ck-horizontal-line','addClass','overrideMarkerConverters','overrideImageInlineConverter','createPositionAt','createContainerElement','getCustomProperty','image-inline','getCommentThread','isObject','consumable','media','elementToStructure','8316lduISK','attribute:url:media','init','7785AvnUNw','showCommentHighlights','markerToHighlight','ck-comment-marker','createEmptyElement','div','consume','61809LJPGuj','24dlnpYl','schema','2OVpXDY','high','toViewElement','markerName','22212jdOyGA','addMarker:comment','ignoreResolvedComments','options','1610066ozkuLF','editor','mapper','get','comment','overrideMediaEmbedConverter','5169402IcmyGo','removeMarker:','imageInline','model','containerElement','span','dataDowncast','data','672224ocpwyY','addMarker:','conversion','downcastDispatcher','stop','writer','img','widget','isResolved','horizontalLine','insert','3560wOkBOt'];_0x8ddf=function(){return _0x5a8a78;};return _0x8ddf();}(function(_0x34bcdf,_0x1ddb90){const _0x47dd75=_0x2f54,_0x16486d=_0x34bcdf();while(!![]){try{const _0x3aa45b=parseInt(_0x47dd75(0x7f))/0x1*(-parseInt(_0x47dd75(0xbb))/0x2)+parseInt(_0x47dd75(0x9c))/0x3*(-parseInt(_0x47dd75(0xb9))/0x4)+-parseInt(_0x47dd75(0xb1))/0x5*(parseInt(_0x47dd75(0x9b))/0x6)+parseInt(_0x47dd75(0x85))/0x7+-parseInt(_0x47dd75(0x8d))/0x8+parseInt(_0x47dd75(0x7b))/0x9*(-parseInt(_0x47dd75(0x98))/0xa)+-parseInt(_0x47dd75(0xb8))/0xb*(-parseInt(_0x47dd75(0xae))/0xc);if(_0x3aa45b===_0x1ddb90)break;else _0x16486d['push'](_0x16486d['shift']());}catch(_0x19b624){_0x16486d['push'](_0x16486d['shift']());}}}(_0x8ddf,0xd7f66));import{Plugin as _0x5db0f5}from'ckeditor5/src/core.js';import{toWidget as _0x49b655}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x28c295}from'../commentsediting.js';import _0xd690f9 from'../commentsrepository.js';export default class dt extends _0x5db0f5{[_0x1deee1(0xb0)](){const _0x3220b0=_0x1deee1;this[_0x3220b0(0xa3)](),this[_0x3220b0(0x9d)](),this[_0x3220b0(0xa4)](),this[_0x3220b0(0x84)]();}[_0x1deee1(0xa3)](){const _0x172135=_0x1deee1;this[_0x172135(0x80)][_0x172135(0x8f)][_0x172135(0xa0)](_0x172135(0x8b))[_0x172135(0xb3)]({'model':_0x172135(0x83),'view':(_0x306151,_0x33f8cb)=>{const _0x21dfdf=_0x172135;if(!_0x33f8cb[_0x21dfdf(0x7e)][_0x21dfdf(0xb2)])return null;if(_0x33f8cb[_0x21dfdf(0x7e)][_0x21dfdf(0x7d)]){const {id:_0x3c67af}=_0x28c295(_0x306151[_0x21dfdf(0x7a)]),_0x1a6495=this[_0x21dfdf(0x80)][_0x21dfdf(0x9a)][_0x21dfdf(0x82)](_0xd690f9);if(_0x1a6495[_0x21dfdf(0xa9)](_0x3c67af)?.[_0x21dfdf(0x95)]&&_0x306151[_0x21dfdf(0x9e)])return _0x33f8cb[_0x21dfdf(0xab)][_0x21dfdf(0xb7)](_0x306151[_0x21dfdf(0x9e)],_0x21dfdf(0x8e)+_0x306151[_0x21dfdf(0x7a)]),_0x33f8cb[_0x21dfdf(0xab)][_0x21dfdf(0xb7)](_0x306151[_0x21dfdf(0x9e)],_0x21dfdf(0x86)+_0x306151[_0x21dfdf(0x7a)]),null;}return{'classes':[_0x21dfdf(0xb4)]};}}),this[_0x172135(0x80)][_0x172135(0x8f)][_0x172135(0xa0)](_0x172135(0x8b))[_0x172135(0x9f)](_0xcf95ac=>{const _0x2355f2=_0x172135;_0xcf95ac['on'](_0x2355f2(0x7c),(_0x5820ea,_0xf9342e,_0x1ee73c)=>{const _0x352c3b=_0x2355f2;if(!_0x1ee73c[_0x352c3b(0x7e)][_0x352c3b(0xb2)])return;const _0x5b5805=_0xf9342e[_0x352c3b(0x9e)];if(!_0x5b5805)return;const _0xe93382=_0x1ee73c[_0x352c3b(0x81)][_0x352c3b(0x79)](_0x5b5805);this[_0x352c3b(0x80)][_0x352c3b(0x88)][_0x352c3b(0xba)][_0x352c3b(0xaa)](_0x5b5805)&&_0xe93382&&!_0xe93382[_0x352c3b(0xa7)](_0x352c3b(0x94))&&_0xe93382['is'](_0x352c3b(0x89))&&_0x49b655(_0xe93382,_0x1ee73c[_0x352c3b(0x92)]);},{'priority':_0x2355f2(0x78)});});}[_0x1deee1(0x9d)](){const _0xdad196=_0x1deee1;this[_0xdad196(0x80)][_0xdad196(0x8f)][_0xdad196(0xa0)](_0xdad196(0x8b))[_0xdad196(0xad)]({'model':_0xdad196(0x96),'view':(_0xbd5548,{writer:_0x43cdd8,options:_0xda2180})=>{const _0x4f15f8=_0xdad196;if(!_0xda2180[_0x4f15f8(0xb2)])return null;const _0x2617a8=_0x43cdd8[_0x4f15f8(0xa6)](_0x4f15f8(0xb6)),_0x3a295f=_0x43cdd8[_0x4f15f8(0xb5)]('hr');return _0x43cdd8[_0x4f15f8(0xa2)](_0x4f15f8(0xa1),_0x2617a8),_0x43cdd8[_0x4f15f8(0x97)](_0x43cdd8[_0x4f15f8(0xa5)](_0x2617a8,0x0),_0x3a295f),_0x2617a8;},'converterPriority':_0xdad196(0x78)});}[_0x1deee1(0xa4)](){const _0x1a5f5f=_0x1deee1;this[_0x1a5f5f(0x80)][_0x1a5f5f(0x8f)][_0x1a5f5f(0xa0)](_0x1a5f5f(0x8b))[_0x1a5f5f(0xad)]({'model':_0x1a5f5f(0x87),'view':(_0x4f7caa,{writer:_0x4237ee,options:_0x3c0c1f})=>{const _0x3ff2b5=_0x1a5f5f;if(!_0x3c0c1f[_0x3ff2b5(0xb2)])return null;const _0xf784a8=_0x4237ee[_0x3ff2b5(0xa6)](_0x3ff2b5(0x8a)),_0x2b201f=_0x4237ee[_0x3ff2b5(0xb5)](_0x3ff2b5(0x93));return _0x4237ee[_0x3ff2b5(0xa2)](_0x3ff2b5(0xa8),_0xf784a8),_0x4237ee[_0x3ff2b5(0x97)](_0x4237ee[_0x3ff2b5(0xa5)](_0xf784a8,0x0),_0x2b201f),_0xf784a8;},'converterPriority':_0x1a5f5f(0x78)});}[_0x1deee1(0x84)](){const _0x49c61a=_0x1deee1;this[_0x49c61a(0x80)][_0x49c61a(0x8f)][_0x49c61a(0xa0)](_0x49c61a(0x8b))[_0x49c61a(0x99)]({'model':_0x49c61a(0xac),'view':(_0x44d370,{writer:_0x28c78a,options:_0x9be2e0})=>{const _0x557773=_0x49c61a;if(_0x9be2e0[_0x557773(0xb2)])return _0x28c78a[_0x557773(0xb5)](_0x557773(0xb6));},'converterPriority':_0x49c61a(0x78)}),this[_0x49c61a(0x80)][_0x49c61a(0x8c)][_0x49c61a(0x90)]['on'](_0x49c61a(0xaf),(_0x33c28a,_0x1a47fe,_0x229c5a)=>{const _0x3f525d=_0x49c61a;_0x229c5a[_0x3f525d(0x7e)][_0x3f525d(0xb2)]&&_0x33c28a[_0x3f525d(0x91)]();},{'priority':_0x49c61a(0x78)});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4b8197=_0xf0a5;(function(_0x58742b,_0x2f631c){const _0x5b0a16=_0xf0a5,_0x55db33=_0x58742b();while(!![]){try{const _0x23858d=parseInt(_0x5b0a16(0x152))/0x1*(-parseInt(_0x5b0a16(0x15b))/0x2)+-parseInt(_0x5b0a16(0x16d))/0x3*(parseInt(_0x5b0a16(0x15e))/0x4)+-parseInt(_0x5b0a16(0x16a))/0x5+parseInt(_0x5b0a16(0x17c))/0x6+-parseInt(_0x5b0a16(0x163))/0x7+parseInt(_0x5b0a16(0x157))/0x8*(parseInt(_0x5b0a16(0x179))/0x9)+parseInt(_0x5b0a16(0x161))/0xa;if(_0x23858d===_0x2f631c)break;else _0x55db33['push'](_0x55db33['shift']());}catch(_0x15d0f3){_0x55db33['push'](_0x55db33['shift']());}}}(_0x5e77,0x8772e));import{Editor as _0x234989}from'ckeditor5/src/core.js';import _0x3739cc from'./commenteditorui.js';import{ObservableMixin as _0x2ae769}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x4a097c,disablePlaceholder as _0x12e5f2}from'ckeditor5/src/engine.js';import{Clipboard as _0xd24f9a}from'ckeditor5/src/clipboard.js';import{Enter as _0x5ad03a,ShiftEnter as _0x4f8822}from'ckeditor5/src/enter.js';import{SelectAll as _0x13214a}from'ckeditor5/src/select-all.js';import{Typing as _0x4afffc}from'ckeditor5/src/typing.js';function _0x5e77(){const _0x3f8bce=['init','data','ready','4072320UuPdEe','document','getChild','123ivMele','destroy','change:placeholder','createRoot','defaultPlugins','create','childCount','plugins','model','initialData','then','set','9JYXvyt','setSelection','initPlugins','2992638UOcxkZ','getRoot','focus','end','902tNbGkH','fromCharCode','assign','editing','view','8199512jVHndc','map','low','change','2192uPaGEy','placeholder','_updatePlaceholder','27228WQGPuk','get','name','17843230pTVmEF','join','4697658ayPlxo','placeholderElement','config','fire'];_0x5e77=function(){return _0x3f8bce;};return _0x5e77();}import{Undo as _0x5b0701}from'ckeditor5/src/undo.js';import{Paragraph as _0x384280}from'ckeditor5/src/paragraph.js';const Lt=[_0xd24f9a,_0x5ad03a,_0x4f8822,_0x13214a,_0x4afffc,_0x5b0701,_0x384280];function _0xf0a5(_0x55affb,_0x34300b){const _0x5e773c=_0x5e77();return _0xf0a5=function(_0xf0a51b,_0x45ecf1){_0xf0a51b=_0xf0a51b-0x151;let _0x41e0f5=_0x5e773c[_0xf0a51b];return _0x41e0f5;},_0xf0a5(_0x55affb,_0x34300b);}class Qt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ae769(_0x234989){static [_0x4b8197(0x171)]=((()=>Lt)());constructor(_0x39e468={}){const _0x51f719=_0x4b8197;function _0x5a149f(_0x49b80f){const _0x2fc2ad=_0xf0a5;return _0x49b80f[_0x2fc2ad(0x158)](_0x154853=>String[_0x2fc2ad(0x153)](_0x154853))[_0x2fc2ad(0x162)]('');}(_0x39e468=Object[_0x51f719(0x154)]({},_0x39e468))[_0x51f719(0x174)]||(_0x39e468[_0x51f719(0x174)]=Qt[_0x51f719(0x171)]),super(_0x39e468),this['ui']=new _0x3739cc(this),this[_0x51f719(0x178)](_0x51f719(0x15c),''),this[_0x51f719(0x175)][_0x51f719(0x16b)]['on'](_0x51f719(0x15a),()=>this[_0x51f719(0x15d)](),{'priority':_0x51f719(0x159)}),this['on'](_0x51f719(0x16f),()=>this[_0x51f719(0x15d)]()),this[_0x51f719(0x175)][_0x51f719(0x16b)][_0x51f719(0x170)](),this[_0x5a149f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a149f([0x76,0x69,0x65,0x77])][_0x5a149f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a149f([0x61,0x75,0x74,0x6f]),this[_0x5a149f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x5a149f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a149f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x5a149f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x5a149f([0x6f,0x6b])});}[_0x4b8197(0x172)](){const _0x11e0ed=_0x4b8197,_0x558b48=this[_0x11e0ed(0x165)][_0x11e0ed(0x15f)](_0x11e0ed(0x176))||'';return this[_0x11e0ed(0x17b)]()[_0x11e0ed(0x177)](()=>this['ui'][_0x11e0ed(0x167)]())[_0x11e0ed(0x177)](()=>this[_0x11e0ed(0x168)][_0x11e0ed(0x167)](_0x558b48))[_0x11e0ed(0x177)](()=>this[_0x11e0ed(0x166)](_0x11e0ed(0x169)));}[_0x4b8197(0x16e)](){const _0x7707da=_0x4b8197;return super[_0x7707da(0x16e)]()[_0x7707da(0x177)](()=>this['ui'][_0x7707da(0x16e)]());}[_0x4b8197(0x17e)](){const _0x335ba4=_0x4b8197;this[_0x335ba4(0x175)][_0x335ba4(0x15a)](_0x13c155=>{const _0x1f6a3f=_0x335ba4,_0x27537b=this[_0x1f6a3f(0x175)][_0x1f6a3f(0x16b)][_0x1f6a3f(0x17d)](),_0x56f558=_0x27537b&&_0x27537b[_0x1f6a3f(0x16c)](_0x27537b[_0x1f6a3f(0x173)]-0x1);_0x13c155[_0x1f6a3f(0x17a)](_0x56f558,_0x1f6a3f(0x151)),this[_0x1f6a3f(0x155)][_0x1f6a3f(0x156)][_0x1f6a3f(0x17e)]();});}[_0x4b8197(0x15d)](){const _0x3347df=_0x4b8197,_0x4776cc=this[_0x3347df(0x155)][_0x3347df(0x156)],_0x404d14=_0x4776cc[_0x3347df(0x16b)][_0x3347df(0x17d)](),_0x3dc156=_0x404d14[_0x3347df(0x16c)](0x0);_0x404d14[_0x3347df(0x173)]>0x1||!_0x3dc156||'p'!=_0x3dc156[_0x3347df(0x160)]?this[_0x3347df(0x164)]&&this[_0x3347df(0x164)][_0x3347df(0x15c)]&&(_0x12e5f2(_0x4776cc,this[_0x3347df(0x164)]),this[_0x3347df(0x164)]=void 0x0):(this[_0x3347df(0x15c)]&&(_0x3dc156[_0x3347df(0x15c)]=this[_0x3347df(0x15c)]),_0x4a097c({'view':_0x4776cc,'element':_0x3dc156,'keepOnFocus':!0x0}),this[_0x3347df(0x164)]=_0x3dc156);}}export default Qt;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2f90(_0x1a0152,_0x43154b){const _0xf0d705=_0xf0d7();return _0x2f90=function(_0x2f9012,_0x14d04b){_0x2f9012=_0x2f9012-0x189;let _0x2cd388=_0xf0d705[_0x2f9012];return _0x2cd388;},_0x2f90(_0x1a0152,_0x43154b);}const _0x1b6397=_0x2f90;function _0xf0d7(){const _0x5e352d=['render','setTemplate','7255773ylItEF','Comment\x20editor','1885690cDgozJ','ck-editor','622668DmVJvi','main','3yNpRLK','element','2669912lgIlzy','uiLanguage','ck-editor__main','add','ck-comment__input','presentation','21AxKFOC','ck-reset','433860ZMcSYI','uiLanguageDirection','cke-editor__aria-label_','focus','createCollection','div','127116NOHGhe','editable','167538UeIHNp','ck-rounded-corners'];_0xf0d7=function(){return _0x5e352d;};return _0xf0d7();}(function(_0x4673a2,_0x4e38bb){const _0x2cc578=_0x2f90,_0x1e2a8c=_0x4673a2();while(!![]){try{const _0x553715=-parseInt(_0x2cc578(0x19e))/0x1+-parseInt(_0x2cc578(0x19c))/0x2+-parseInt(_0x2cc578(0x18c))/0x3*(parseInt(_0x2cc578(0x196))/0x4)+parseInt(_0x2cc578(0x1a4))/0x5+parseInt(_0x2cc578(0x18a))/0x6*(-parseInt(_0x2cc578(0x194))/0x7)+-parseInt(_0x2cc578(0x18e))/0x8+parseInt(_0x2cc578(0x1a2))/0x9;if(_0x553715===_0x4e38bb)break;else _0x1e2a8c['push'](_0x1e2a8c['shift']());}catch(_0x5599a7){_0x1e2a8c['push'](_0x1e2a8c['shift']());}}}(_0xf0d7,0x3082d));import{InlineEditableUIView as _0x5737b3,EditorUIView as _0x351089}from'ckeditor5/src/ui.js';import{uid as _0x12af54}from'ckeditor5/src/utils.js';import{getTranslation as _0x2b9057}from'../../../utils/common-translations.js';export default class Ut extends _0x351089{[_0x1b6397(0x18b)];[_0x1b6397(0x19d)];constructor(_0x51a547,_0x20f869){const _0x1931e3=_0x1b6397;super(_0x51a547);const _0x41b719=_0x12af54();this[_0x1931e3(0x18b)]=this[_0x1931e3(0x19a)](),this[_0x1931e3(0x19d)]=new _0x5737b3(_0x51a547,_0x20f869,void 0x0,{'label':()=>_0x2b9057(_0x51a547,_0x1931e3(0x1a3))}),this[_0x1931e3(0x1a1)]({'tag':_0x1931e3(0x19b),'attributes':{'class':[_0x1931e3(0x195),_0x1931e3(0x189),_0x1931e3(0x19f),_0x1931e3(0x192)],'dir':_0x51a547[_0x1931e3(0x197)],'lang':_0x51a547[_0x1931e3(0x18f)],'aria-labelledby':_0x1931e3(0x198)+_0x41b719},'children':[{'tag':_0x1931e3(0x19b),'attributes':{'class':_0x1931e3(0x190),'role':_0x1931e3(0x193)},'children':this[_0x1931e3(0x18b)]}]});}[_0x1b6397(0x1a0)](){const _0x203cb6=_0x1b6397;super[_0x203cb6(0x1a0)](),this[_0x203cb6(0x18b)][_0x203cb6(0x191)](this[_0x203cb6(0x19d)]);}[_0x1b6397(0x199)](){const _0x2eb052=_0x1b6397;this[_0x2eb052(0x19d)][_0x2eb052(0x18d)][_0x2eb052(0x199)]();}}
|