@ckeditor/ckeditor5-comments 44.0.0-alpha.1 → 44.0.0-alpha.2
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 +15 -15
- 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/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 _0x314519=_0xd4b2;(function(_0x20e6f2,_0x242d43){const _0x28cd51=_0xd4b2,_0x35e3d0=_0x20e6f2();while(!![]){try{const _0x38d3ce=-parseInt(_0x28cd51(0x109))/0x1+-parseInt(_0x28cd51(0x1bc))/0x2*(-parseInt(_0x28cd51(0x188))/0x3)+-parseInt(_0x28cd51(0x1c4))/0x4*(-parseInt(_0x28cd51(0x177))/0x5)+parseInt(_0x28cd51(0x1d2))/0x6*(-parseInt(_0x28cd51(0x17d))/0x7)+-parseInt(_0x28cd51(0x1bb))/0x8*(parseInt(_0x28cd51(0x16d))/0x9)+parseInt(_0x28cd51(0x150))/0xa+-parseInt(_0x28cd51(0x110))/0xb;if(_0x38d3ce===_0x242d43)break;else _0x35e3d0['push'](_0x35e3d0['shift']());}catch(_0x2e4a19){_0x35e3d0['push'](_0x35e3d0['shift']());}}}(_0x2b13,0x60ef7));import{PendingActions as _0x268b5f,ContextPlugin as _0x596245,Editor as _0x4981c0}from'ckeditor5/src/core.js';import{Collection as _0x3143a3,uid as _0x2910e9,CKEditorError as _0x5ce284,ObservableMixin as _0x2c88a0}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x26c2f2,hashObject as _0x2e01c5,Users as _0x1df2cd}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x453940,isEqual as _0x4b4d74,set as _0x4c4d06,unset as _0x11be98}from'lodash-es';import _0x2300e9 from'./ui/commentthreadcontroller.js';import _0x3251a4 from'./ui/view/commentthreadview.js';import _0x24617 from'./ui/view/commentview.js';import{getTranslation as _0x22a634}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x32f58d from'../annotations/view/annotationview.js';import _0x534087 from'../annotations/annotation.js';import _0x17778a from'../annotations/annotations.js';function _0x2b13(){const _0x2ddd1a=['commentsrepository-update-missing-comment','_updateActiveAnnotation','commentId','isResolvable','plugins','commentsrepository-remove-missing-comment','addUser','commentsrepository-reopen-comment-thread','delete','setAttribute','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-reopen-comment-thread-internal-error','focusTracker','commentsrepository-missing-thread-and-adapter-method','_reopenCommentThread','add','PENDING_ACTION_COMMENT_THREAD','define','@external','commentsrepository-active-missing-comment-thread','stopListening','_removeCommentThread','commentsrepository-invalid-commentid','values','activeCommentThread','bind','getPermissions','createElement','PendingActions','CommentsRepository','_hasTargetInContent','_update','view','locale','archivedAt','_permissions','highest','7792090rFitGO','bodyCollectionContainer','addComment','listenTo','comments.maxThreadTotalWeight','deactivateAll','commentsrepository-duplicated-comment-thread-id','channelId','textContent','type','lowest','change:isDirty','commentsrepository-update-comment-thread-internal-error','commentsrepository-add-comment-to-missing-comment-thread','isEditable','filter','function','reopenCommentThread','submit','commentsrepository-missing-comment-thread','reopen','comment','max','commentsrepository-add-comment-thread-internal-error','_remove','editorReady','string','getComment','resolvedAt','68373IEiKpc','config','update','isFromAdapter','assign','getByInnerView','getIndex','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-remove-comment-internal-error','noChannel','32535TiSNDB','trim','commentUpdated','isOfficialPlugin','_submitCommentThread','_addCommentThread','2645909YkegUK','switchReadOnly','authoredAt','author','_readOnlyChannels','attachTo','reduce','creator','threadId','map','commentsrepository-update-comment-missing-comment-thread','24ZKxGbg','commentsrepository-fetch-comment-thread','error','licenseKey','resolvedBy','hasCommentThread','fetchCommentThread','init','escape','get','removeAttribute','getTime','activate','_detachCommentThread','_adapter','isResolved','_threads','updateComment','_isAttached','_removeComment','authorName','_bindAnnotationToEditors','_createNewComment','_threadToController','comments.CommentThreadView','_removeActiveAnnotation','comments','getCommentThreads','div','catch','editorDestroyed','body','change:_permissions','commentsListView','setContext','commentsrepository-resolved-comment-thread','focusableElements','removeComment','commentsrepository-update-comment-internal-error','_updateCommentThread','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-invalid-comment-thread-id','external:','_findOptimalIndex','_unbindEditors','innerView','setActiveCommentThread','commentThreadInputView','_addComment','find','_add','624QQaqLe','133894XoZeDq','commentInputView','context','commentsrepository-add-comment-internal-error','commentsrepository-active-not-attached','isDirty','admin','content','436KipkPM','isPremiumPlugin','change:authoredAt','_isSubmitted','toJSON','comments.copyMarkers','isRemovable','createCommentThreadController','requires','refreshVisibility','change:_readOnlyChannels','isReadOnly','adapter','_updateComment','6gHNfHB','pluginName','submitCommentThread','write','remove','CommentView','modifyAll','addCommentThread','_createCommentThreadView','comments.editorConfig','setUnlinkedAt','removeCommentThread','_repository','once','commentsrepository-add-comment-user-not-exists','weight','change:activeAnnotations','commentsrepository-remove-missing-comment-thread','commentsrepository-invalid-comment-authorid','isAttached','resolve','_getExternalAuthor','from','commentsrepository-remove-comment-thread-internal-error','commentsrepository-attach-missing-comment-thread','then','_resolveCommentThread','_viewToController','unlinkedAt','542014WzMhXM','openNewCommentThread','commentsrepository-missing-target','isSubmitted','commentsrepository-invalid-comment-content','destroy','innerHTML','1258774IUiGGw','model','commentsrepository-get-comment-invalid-id','_attachCommentThread','getCommentThread','comments.maxCommentsWhenCollapsed','CommentThreadView','updateCommentThread','resolveCommentThread','comments.maxCommentCharsWhenCollapsed','fire','canComment','comments.CommentView','attributes','isActive','createdAt','focus','getUser','commentsrepository-adapter-already-set','push','warn','setPermissions','set','commentsrepository-update-comment-invalid-content','isExternal','length','has'];_0x2b13=function(){return _0x2ddd1a;};return _0x2b13();}const gt=Symbol(_0x314519(0x176)),Tt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x596245{static get[_0x314519(0x1cc)](){return[_0x17778a,_0x268b5f,_0x1df2cd];}static get[_0x314519(0x1d3)](){const _0x44f705=_0x314519;return _0x44f705(0x148);}static get[_0x314519(0x17a)](){return!0x0;}static get[_0x314519(0x1c5)](){return!0x0;}constructor(_0x15dcc1){const _0x6be1af=_0x314519;super(_0x15dcc1),this[_0x6be1af(0x198)]=new Map(),this[_0x6be1af(0x19f)]=new Map(),this[_0x6be1af(0x107)]=new Map(),this[_0x6be1af(0x126)](_0x6be1af(0x181),new Set()),this[_0x6be1af(0x126)](_0x6be1af(0x14e),new Map());const _0x56281d=this[_0x6be1af(0x1be)][_0x6be1af(0x16e)];_0x56281d[_0x6be1af(0x13c)](_0x6be1af(0x115),0x2),_0x56281d[_0x6be1af(0x13c)](_0x6be1af(0x154),0x1f4),_0x56281d[_0x6be1af(0x13c)](_0x6be1af(0x119),0x8c),_0x56281d[_0x6be1af(0x13c)](_0x6be1af(0x1a0),_0x3251a4),_0x56281d[_0x6be1af(0x13c)](_0x6be1af(0x11c),_0x24617),_0x56281d[_0x6be1af(0x191)](_0x6be1af(0xf5))||console[_0x6be1af(0x124)](_0x6be1af(0x135));}[_0x314519(0x18f)](){const _0x1b3faf=_0x314519,_0x37540c=this[_0x1b3faf(0x1be)][_0x1b3faf(0x12f)][_0x1b3faf(0x191)](_0x17778a);this[_0x1b3faf(0x126)](_0x1b3faf(0x143),null),this['on'](_0x1b3faf(0xf3),(_0x3c7932,_0x36d5c4)=>this[_0x1b3faf(0x17c)](_0x36d5c4)),this['on'](_0x1b3faf(0x1d4),(_0x5c25f1,_0x147c3a)=>this[_0x1b3faf(0x17b)](_0x147c3a)),this['on'](_0x1b3faf(0x118),(_0x3b436e,_0x52a843)=>this[_0x1b3faf(0x106)](_0x52a843)),this['on'](_0x1b3faf(0x118),(_0x460a07,_0x4b6bab)=>this[_0x1b3faf(0x12c)](_0x4b6bab),{'priority':_0x1b3faf(0x15a)}),this['on'](_0x1b3faf(0x161),(_0x2dfbe6,_0x2c5dde)=>this[_0x1b3faf(0x139)](_0x2c5dde)),this['on'](_0x1b3faf(0x161),(_0x7a2df5,_0x2bf205)=>this[_0x1b3faf(0x12c)](_0x2bf205),{'priority':_0x1b3faf(0x15a)}),this['on'](_0x1b3faf(0xf7),(_0x2d4f39,_0x54e8a5)=>this[_0x1b3faf(0x140)](_0x54e8a5)),this['on'](_0x1b3faf(0x117),(_0xebf7fc,_0xfb2530)=>this[_0x1b3faf(0x1af)](_0xfb2530)),this['on'](_0x1b3faf(0x117),(_0x25509e,_0x346ca6)=>this[_0x1b3faf(0x12c)](_0x346ca6),{'priority':_0x1b3faf(0x15a)}),this['on'](_0x1b3faf(0x152),(_0x25bda6,_0x55668e)=>this[_0x1b3faf(0x1b8)](_0x55668e)),this['on'](_0x1b3faf(0x199),(_0x3d28de,_0x49ce7b)=>this[_0x1b3faf(0x1d1)](_0x49ce7b)),this['on'](_0x1b3faf(0x1ad),(_0x49b6b0,_0xe06f6e)=>this[_0x1b3faf(0x19b)](_0xe06f6e)),this['on'](_0x1b3faf(0x152),(_0x2294b6,{threadId:_0x2bac87,isFromAdapter:_0xcf36eb})=>{const _0xec4084=_0x1b3faf;if(_0xcf36eb)return;const _0x3e5049=this[_0xec4084(0x114)](_0x2bac87),_0x44af0d=_0x3e5049&&this[_0xec4084(0x19f)][_0xec4084(0x191)](_0x3e5049);_0x44af0d&&_0x44af0d[_0xec4084(0x14b)][_0xec4084(0x1a9)][_0xec4084(0x120)](-0x1);},{'priority':_0x1b3faf(0x15a)}),this[_0x1b3faf(0x153)](_0x37540c,_0x1b3faf(0xfc),(_0x52265b,_0x21e816,_0x468957)=>{const _0x188576=_0x1b3faf,_0x5251d8=Array[_0x188576(0x102)](_0x468957)[_0x188576(0x186)](_0x192ba7=>this[_0x188576(0x107)][_0x188576(0x191)](_0x192ba7[_0x188576(0x1b5)]))[_0x188576(0x15f)](Boolean)[0x0];this[_0x188576(0x143)]=_0x5251d8?_0x5251d8[_0x188576(0x111)]:null;});}set[_0x314519(0x1d0)](_0x583440){const _0x40e3de=_0x314519;if(this[_0x40e3de(0x196)])throw new _0x5ce284(_0x40e3de(0x122));this[_0x40e3de(0x196)]=_0x583440;}get[_0x314519(0x1d0)](){const _0x3cd91f=_0x314519;return this[_0x3cd91f(0x196)];}[_0x314519(0xf3)]({channelId:_0x5ca74d=gt,threadId:_0x4fcabe=_0x2910e9(),comments:_0x25d9c9=[],unlinkedAt:_0x51594a=null,resolvedAt:_0x4b0cec=null,resolvedBy:_0x33a694=null,target:_0x53e14f=null,context:_0x23b535=null,attributes:_0x40846b={},isResolvable:_0x1a13fa=!0x0,isSubmitted:_0xa57ea6=!0x1,isFromAdapter:_0x565f7f=!0x1}={}){const _0x27fcdb=_0x314519;return this[_0x27fcdb(0x11a)](_t(_0x27fcdb(0xf3),_0x5ca74d),{'channelId':_0x5ca74d,'threadId':_0x4fcabe,'comments':_0x25d9c9,'unlinkedAt':_0x51594a,'resolvedAt':_0x4b0cec,'resolvedBy':_0x33a694,'target':_0x53e14f,'context':_0x23b535,'attributes':_0x40846b,'isFromAdapter':_0x565f7f,'isResolvable':_0x1a13fa,'isSubmitted':_0xa57ea6}),this[_0x27fcdb(0x114)](_0x4fcabe);}[_0x314519(0x10a)]({channelId:_0x359f1a=gt,threadId:_0x31032b=_0x2910e9(),target:_0x3be747,context:_0x4376e1=null,isResolvable:_0x43abdd=!0x0}){const _0x502991=_0x314519;if(this[_0x502991(0x181)][_0x502991(0x12a)](_0x359f1a)||this[_0x502991(0x181)][_0x502991(0x12a)](void 0x0))return null;if(!_0x3be747)throw new _0x5ce284(_0x502991(0x10b));const _0x469cb3=this[_0x502991(0xf3)]({'channelId':_0x359f1a,'threadId':_0x31032b,'target':_0x3be747,'context':_0x4376e1,'isResolvable':_0x43abdd});if(!_0x469cb3)return null;const _0x3fc662=this[_0x502991(0x19f)][_0x502991(0x191)](_0x469cb3),_0x39c52c=_0x3fc662[_0x502991(0x14b)][_0x502991(0x1b7)][_0x502991(0x1bd)],_0x37543b=this[_0x502991(0x1be)][_0x502991(0x12f)][_0x502991(0x191)](_0x17778a),_0x5eaefb=_0x37543b[_0x502991(0x172)](_0x3fc662[_0x502991(0x14b)]);return _0x37543b[_0x502991(0x194)](_0x5eaefb),_0x39c52c[_0x502991(0xf9)](_0x502991(0x169),()=>_0x39c52c[_0x502991(0x120)]()),_0x469cb3;}[_0x314519(0x18d)](_0x56928f){const _0x5963e0=_0x314519;if(_0x5963e0(0x16a)!=typeof _0x56928f)throw new _0x5ce284(_0x5963e0(0x1b1));return this[_0x5963e0(0x198)][_0x5963e0(0x12a)](_0x56928f);}[_0x314519(0x117)]({channelId:_0x3ed11e=gt,threadId:_0x3ab9fc,context:_0xf451ac,unlinkedAt:_0x27ae3a,attributes:_0x572a5d,isFromAdapter:_0x4ef851=!0x1}){const _0x40ef66=_0x314519;return this[_0x40ef66(0x11a)](_t(_0x40ef66(0x117),_0x3ed11e),{'channelId':_0x3ed11e,'threadId':_0x3ab9fc,'context':_0xf451ac,'unlinkedAt':_0x27ae3a,'attributes':_0x572a5d,'isFromAdapter':_0x4ef851}),this[_0x40ef66(0x114)](_0x3ab9fc);}[_0x314519(0x114)](_0x3ba913){const _0x560483=_0x314519;if(_0x560483(0x16a)!=typeof _0x3ba913)throw new _0x5ce284(_0x560483(0x1b1));return this[_0x560483(0x198)][_0x560483(0x191)](_0x3ba913);}[_0x314519(0x18e)]({channelId:_0x29f326,threadId:_0x1ad310}={}){const _0x58c397=_0x314519,_0x466977=this[_0x58c397(0x114)](_0x1ad310);if(_0x466977)return Promise[_0x58c397(0x100)](_0x466977);if(!this[_0x58c397(0x1d0)])return Promise[_0x58c397(0x100)](void 0x0);if(_0x58c397(0x160)!=typeof this[_0x58c397(0x1d0)][_0x58c397(0x114)])throw new _0x5ce284(_0x58c397(0x138),this[_0x58c397(0x1be)]);return this[_0x58c397(0x1d0)][_0x58c397(0x114)]({'channelId':_0x29f326,'threadId':_0x1ad310})[_0x58c397(0x105)](_0x8e1d45=>this[_0x58c397(0x18d)](_0x1ad310)?this[_0x58c397(0x114)](_0x1ad310):_0x8e1d45?this[_0x58c397(0xf3)](Object[_0x58c397(0x171)]({'isFromAdapter':!0x0,'channelId':_0x29f326},_0x8e1d45)):void 0x0)[_0x58c397(0x1a5)](_0x4b28c4=>{const _0x5dedc6=_0x58c397;throw console[_0x5dedc6(0x18a)](_0x4b28c4),new _0x5ce284(_0x5dedc6(0x189),this[_0x5dedc6(0x1be)]);});}[_0x314519(0x1a3)]({channelId:_0x3872cf,skipNotAttached:_0x502c8d=!0x1,skipEmpty:_0x72115a=!0x1,toJSON:_0xf84493=!0x1}={}){const _0x2124dc=_0x314519,_0x4e21e4=[];for(const _0x1427a2 of this[_0x2124dc(0x198)][_0x2124dc(0x142)]())_0x3872cf&&_0x1427a2[_0x2124dc(0x157)]!==_0x3872cf||_0x502c8d&&!_0x1427a2[_0x2124dc(0xff)]||_0x72115a&&0x0===_0x1427a2[_0x2124dc(0x129)]||_0x4e21e4[_0x2124dc(0x123)](_0x1427a2);return _0xf84493?_0x4e21e4[_0x2124dc(0x186)](_0x1ffb02=>_0x1ffb02[_0x2124dc(0x1c8)]()):_0x4e21e4;}[_0x314519(0x1b6)](_0x28fecc){const _0x47930e=_0x314519,_0x3dd958=this[_0x47930e(0x1be)][_0x47930e(0x12f)][_0x47930e(0x191)](_0x17778a);if(!_0x28fecc)return void(this[_0x47930e(0x143)]&&_0x3dd958[_0x47930e(0x155)]());const _0x482195=this[_0x47930e(0x114)](_0x28fecc);if(!_0x482195)throw new _0x5ce284(_0x47930e(0x13e),null,{'threadId':_0x28fecc});if(!this[_0x47930e(0x19f)][_0x47930e(0x12a)](_0x482195))throw new _0x5ce284(_0x47930e(0x1c0),null,{'threadId':_0x28fecc});const _0x592988=_0x3dd958[_0x47930e(0x172)](this[_0x47930e(0x19f)][_0x47930e(0x191)](_0x482195)[_0x47930e(0x14b)]);_0x3dd958[_0x47930e(0x194)](_0x592988);}[_0x314519(0x17e)](_0x21cd0d,_0x340287){const _0x422b3e=_0x314519;_0x21cd0d?this[_0x422b3e(0x181)][_0x422b3e(0x13a)](_0x340287):this[_0x422b3e(0x181)][_0x422b3e(0x133)](_0x340287),this[_0x422b3e(0x11a)](_0x422b3e(0x1ce),_0x422b3e(0x181),this[_0x422b3e(0x181)],this[_0x422b3e(0x181)]);}[_0x314519(0x1cf)](_0x1ae832){const _0xb8e766=_0x314519;return this[_0xb8e766(0x181)][_0xb8e766(0x12a)](_0x1ae832)||this[_0xb8e766(0x181)][_0xb8e766(0x12a)](void 0x0);}[_0x314519(0x1cb)](_0x1bf466,_0xe43b99){return new _0x2300e9(_0x1bf466,_0xe43b99);}[_0x314519(0x125)](_0x15121b,_0x33fc07=gt){const _0x1b8568=_0x314519;this[_0x1b8568(0x14e)][_0x1b8568(0x126)](_0x33fc07,_0x15121b),this[_0x1b8568(0x11a)](_0x1b8568(0x1a8),_0x1b8568(0x14e),this[_0x1b8568(0x14e)],this[_0x1b8568(0x14e)]);}[_0x314519(0x145)](_0x171c3d=gt){const _0x27ad76=_0x314519;return this[_0x27ad76(0x14e)][_0x27ad76(0x12a)](_0x171c3d)?this[_0x27ad76(0x14e)][_0x27ad76(0x191)](_0x171c3d):Tt;}[_0x314519(0x17c)]({channelId:_0x32c96d,threadId:_0x288aad,comments:_0x4e434e,unlinkedAt:_0x1c6b4c,resolvedAt:_0x353fe3,resolvedBy:_0x4c9c66,target:_0x1c56fc,context:_0x448e7a,attributes:_0x4f6fad,isFromAdapter:_0x30b437,isResolvable:_0x1be288,isSubmitted:_0x387f78}){const _0x3d0104=_0x314519;if(_0x3d0104(0x16a)!=typeof _0x288aad)throw new _0x5ce284(_0x3d0104(0x1b1),null,{'threadId':_0x288aad});if(this[_0x3d0104(0x18d)](_0x288aad))throw new _0x5ce284(_0x3d0104(0x156),null,{'threadId':_0x288aad});const _0x127acc=new CommentThread(this,{'channelId':_0x32c96d,'id':_0x288aad,'context':_0x448e7a,'attributes':_0x4f6fad,'unlinkedAt':_0x1c6b4c,'resolvedAt':_0x353fe3,'resolvedBy':_0x4c9c66?this[_0x3d0104(0x1be)][_0x3d0104(0x12f)][_0x3d0104(0x191)](_0x1df2cd)[_0x3d0104(0x121)](_0x4c9c66):null,'isResolvable':_0x1be288,'isSubmitted':_0x387f78||_0x30b437});this[_0x3d0104(0x198)][_0x3d0104(0x126)](_0x288aad,_0x127acc);for(const _0x9076b6 of _0x4e434e)_0x127acc[_0x3d0104(0x1ba)](this[_0x3d0104(0x19e)]({'threadId':_0x288aad,..._0x9076b6}));return _0x1c56fc&&_0x127acc[_0x3d0104(0x182)](_0x1c56fc),_0x30b437||!_0x127acc[_0x3d0104(0x129)]?Promise[_0x3d0104(0x100)]():this[_0x3d0104(0x17b)]({'channelId':_0x32c96d,'threadId':_0x288aad});}[_0x314519(0x17b)]({channelId:_0x329aa7,threadId:_0x428200}){const _0x2eb42a=_0x314519;if(!this[_0x2eb42a(0x18d)](_0x428200))throw new _0x5ce284(_0x2eb42a(0x163),this);const _0x379c2b=this[_0x2eb42a(0x114)](_0x428200);if(_0x379c2b[_0x2eb42a(0x1c7)]=!0x0,!this[_0x2eb42a(0x1d0)]||_0x2eb42a(0x160)!=typeof this[_0x2eb42a(0x1d0)][_0x2eb42a(0xf3)])return Promise[_0x2eb42a(0x100)]();const {id:_0x1c8a15,comments:_0x5f52e6,resolvedAt:_0x245544,resolvedBy:_0x39cd4e,context:_0x485a1e,attributes:_0x20448a}=_0x379c2b,_0x12a67a=this[_0x2eb42a(0x1be)][_0x2eb42a(0x12f)][_0x2eb42a(0x191)](_0x2eb42a(0x147)),_0x343b6a=_0x12a67a[_0x2eb42a(0x13a)](_0x22a634(this[_0x2eb42a(0x1be)][_0x2eb42a(0x14c)],_0x2eb42a(0x13b)));return this[_0x2eb42a(0x1d0)][_0x2eb42a(0xf3)]({'channelId':_0x329aa7,'threadId':_0x1c8a15,'comments':_0x5f52e6[_0x2eb42a(0x186)](_0xdd4336=>_0xdd4336[_0x2eb42a(0x1c8)]()),'resolvedAt':_0x245544,'resolvedBy':_0x39cd4e?_0x39cd4e['id']:_0x39cd4e,'context':_0x485a1e,'attributes':_0x20448a})[_0x2eb42a(0x105)](({comments:_0x5797ef})=>{const _0x25c5a0=_0x2eb42a;_0x12a67a[_0x25c5a0(0xf0)](_0x343b6a);for(const _0x40dbb4 of _0x5797ef)this[_0x25c5a0(0x1d1)]({'channelId':_0x329aa7,'threadId':_0x428200,'commentId':_0x40dbb4[_0x25c5a0(0x12d)],'createdAt':_0x40dbb4[_0x25c5a0(0x11f)],'isFromAdapter':!0x0});})[_0x2eb42a(0x1a5)](_0x4781c8=>{const _0x18d64c=_0x2eb42a;throw console[_0x18d64c(0x18a)](_0x4781c8),new _0x5ce284(_0x18d64c(0x167),this);});}[_0x314519(0x113)]({threadId:_0x51cfb8,target:_0x25ddc2}){const _0x491067=_0x314519,_0x87e8a4=this[_0x491067(0x114)](_0x51cfb8);if(!_0x87e8a4)throw new _0x5ce284(_0x491067(0x104),this);const _0x1f81d4=this[_0x491067(0x1be)][_0x491067(0x12f)][_0x491067(0x191)](_0x491067(0x147)),_0x389098=this[_0x491067(0x1be)][_0x491067(0x12f)][_0x491067(0x191)](_0x17778a),_0x1bd8a0=this[_0x491067(0xf4)](_0x87e8a4),_0x2a9890=new _0x2300e9(_0x87e8a4,_0x1bd8a0);let _0x7bd8de=null;_0x1bd8a0['on'](_0x491067(0x15b),(_0xdb19e0,_0x5449b6,_0x198441)=>{const _0x4edf82=_0x491067;_0x198441?_0x7bd8de=_0x1f81d4[_0x4edf82(0x13a)](_0x22a634(this[_0x4edf82(0x1be)][_0x4edf82(0x14c)],_0x4edf82(0x13b))):_0x7bd8de&&(_0x1f81d4[_0x4edf82(0xf0)](_0x7bd8de),_0x7bd8de=null);}),this[_0x491067(0x19f)][_0x491067(0x126)](_0x87e8a4,_0x2a9890),this[_0x491067(0x107)][_0x491067(0x126)](_0x1bd8a0,_0x2a9890);const _0x15bfce=new _0x32f58d(this[_0x491067(0x1be)][_0x491067(0x14c)],_0x1bd8a0);_0x15bfce[_0x491067(0x144)](_0x491067(0x129))['to'](_0x1bd8a0),_0x15bfce[_0x491067(0x144)](_0x491067(0x1c1))['to'](_0x1bd8a0,_0x491067(0x1c1),_0x1bd8a0,_0x491067(0x129),(_0x442aa5,_0x2b722e)=>_0x442aa5||!_0x2b722e),_0x15bfce[_0x491067(0x144)](_0x491067(0x11e))['to'](_0x1bd8a0),_0x15bfce[_0x491067(0x159)]=_0x491067(0x165);const _0x17ae99=new _0x534087({'view':_0x15bfce,'target':_0x25ddc2,'type':_0x491067(0x165),'isVisible':!_0x87e8a4[_0x491067(0x197)]});return _0x1bd8a0['on'](_0x491067(0x190),()=>{const _0x100bdc=_0x491067;_0x17ae99[_0x100bdc(0x11a)](_0x100bdc(0x190));}),this[_0x491067(0x19d)](_0x1bd8a0,_0x17ae99),_0x389098[_0x491067(0x13a)](_0x17ae99),_0x17ae99;}[_0x314519(0x19d)](_0xb50edd,_0x3f9fba){const _0x28ca6c=_0x314519;this[_0x28ca6c(0x153)](_0xb50edd,_0x28ca6c(0x169),(_0x43ea23,_0x2425ed)=>{const _0x7dee38=_0x28ca6c,_0x10eb7c=_0x2425ed['ui'][_0x7dee38(0x14b)][_0x7dee38(0x1a7)][_0x7dee38(0x151)];_0x3f9fba[_0x7dee38(0x1ac)][_0x7dee38(0x13a)](_0x10eb7c),this[_0x7dee38(0x1be)]instanceof _0x4981c0&&this[_0x7dee38(0x1be)]['ui'][_0x7dee38(0x137)][_0x7dee38(0x13a)](_0x10eb7c);},{'priority':_0x28ca6c(0x14f)}),this[_0x28ca6c(0x153)](_0xb50edd,_0x28ca6c(0x1a6),(_0x31c008,_0x432fd9)=>{const _0x1cf378=_0x28ca6c,_0x97c5e1=_0x432fd9['ui'][_0x1cf378(0x14b)][_0x1cf378(0x1a7)][_0x1cf378(0x151)];_0x3f9fba[_0x1cf378(0x1ac)][_0x1cf378(0x12a)](_0x97c5e1)&&_0x3f9fba[_0x1cf378(0x1ac)][_0x1cf378(0xf0)](_0x97c5e1),this[_0x1cf378(0x1be)]instanceof _0x4981c0&&this[_0x1cf378(0x1be)]['ui'][_0x1cf378(0x137)][_0x1cf378(0xf0)](_0x97c5e1);});}[_0x314519(0x1b4)](_0x34a19b){const _0x39514e=_0x314519;this[_0x39514e(0x13f)](_0x34a19b,_0x39514e(0x169)),this[_0x39514e(0x13f)](_0x34a19b,_0x39514e(0x1a6));}[_0x314519(0xf4)](_0x5ec2d9){const _0x4efce4=_0x314519,_0x5e71b5=this[_0x4efce4(0x1be)][_0x4efce4(0x12f)][_0x4efce4(0x191)](_0x1df2cd),{config:_0x129ba3,locale:_0x3f32d8}=this[_0x4efce4(0x1be)],_0x1d9e6f=_0x26c2f2(_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x14c)));return new(0x0,(_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x1a2)))[(_0x4efce4(0x116))])(_0x3f32d8,_0x5ec2d9,_0x5e71b5['me'],{'editorConfig':{..._0x129ba3[_0x4efce4(0x191)](_0x4efce4(0xf5)),'licenseKey':this[_0x4efce4(0x1be)][_0x4efce4(0x16e)][_0x4efce4(0x191)](_0x4efce4(0x18b))},'copyMarkers':_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x1c9)),'maxCommentsWhenCollapsed':_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x115)),'maxThreadTotalWeight':_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x154)),'maxCommentCharsWhenCollapsed':_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x119)),'formatDateTime':_0x1d9e6f,'CommentView':_0x129ba3[_0x4efce4(0x191)](_0x4efce4(0x1a2))[_0x4efce4(0xf1)]});}[_0x314519(0x106)]({threadId:_0x3dec2f,channelId:_0x20700a,resolvedAt:_0x49e382,resolvedBy:_0x2a2e1e,isFromAdapter:_0x4b7006}){const _0x4f09e2=_0x314519;if(!this[_0x4f09e2(0x18d)](_0x3dec2f))throw new _0x5ce284(_0x4f09e2(0x163),null,{'threadId':_0x3dec2f});const _0x103e23=this[_0x4f09e2(0x114)](_0x3dec2f);if(_0x103e23[_0x4f09e2(0x197)])throw new _0x5ce284(_0x4f09e2(0x1ab),null,{'threadId':_0x3dec2f});const _0x1aaf64=this[_0x4f09e2(0x1be)][_0x4f09e2(0x12f)][_0x4f09e2(0x191)](_0x1df2cd);if(_0x103e23[_0x4f09e2(0x18c)]=_0x1aaf64[_0x4f09e2(0x121)](_0x2a2e1e),_0x103e23[_0x4f09e2(0x16c)]=_0x49e382,_0x4b7006||!this[_0x4f09e2(0x1d0)]||_0x4f09e2(0x160)!=typeof this[_0x4f09e2(0x1d0)][_0x4f09e2(0x118)])return Promise[_0x4f09e2(0x100)]();const _0x1d8ef6=this[_0x4f09e2(0x1be)][_0x4f09e2(0x12f)][_0x4f09e2(0x191)](_0x4f09e2(0x147)),_0x4e953c=_0x1d8ef6[_0x4f09e2(0x13a)](_0x22a634(this[_0x4f09e2(0x1be)][_0x4f09e2(0x14c)],_0x4f09e2(0x13b)));return this[_0x4f09e2(0x1d0)][_0x4f09e2(0x118)]({'channelId':_0x20700a,'threadId':_0x3dec2f})[_0x4f09e2(0x105)](({resolvedAt:_0x4a7d83,resolvedBy:_0x3223b2})=>{const _0x5e1405=_0x4f09e2;_0x1d8ef6[_0x5e1405(0xf0)](_0x4e953c),_0x103e23[_0x5e1405(0x18c)]['id']!==_0x3223b2&&(_0x103e23[_0x5e1405(0x18c)]=_0x1aaf64[_0x5e1405(0x121)](_0x3223b2)),_0x103e23[_0x5e1405(0x16c)]=_0x4a7d83;})[_0x4f09e2(0x1a5)](_0x20396e=>{const _0x51ccbe=_0x4f09e2;throw console[_0x51ccbe(0x18a)](_0x20396e),new _0x5ce284(_0x51ccbe(0x1b0),this);});}[_0x314519(0x139)]({threadId:_0xccd2dd,channelId:_0x2a3d3e,isFromAdapter:_0x46acad}){const _0x50512a=_0x314519;if(!this[_0x50512a(0x18d)](_0xccd2dd))throw new _0x5ce284(_0x50512a(0x163),null,{'threadId':_0xccd2dd});const _0xfb087e=this[_0x50512a(0x114)](_0xccd2dd);if(!_0xfb087e[_0x50512a(0x197)])throw new _0x5ce284(_0x50512a(0x132),null,{'threadId':_0xccd2dd});if(_0xfb087e[_0x50512a(0x18c)]=null,_0xfb087e[_0x50512a(0x16c)]=null,_0x46acad||!this[_0x50512a(0x1d0)]||_0x50512a(0x160)!=typeof this[_0x50512a(0x1d0)][_0x50512a(0x161)])return Promise[_0x50512a(0x100)]();const _0x3e8b53=this[_0x50512a(0x1be)][_0x50512a(0x12f)][_0x50512a(0x191)](_0x50512a(0x147)),_0xa5fcd8=_0x3e8b53[_0x50512a(0x13a)](_0x22a634(this[_0x50512a(0x1be)][_0x50512a(0x14c)],_0x50512a(0x13b)));return this[_0x50512a(0x1d0)][_0x50512a(0x161)]({'channelId':_0x2a3d3e,'threadId':_0xccd2dd})[_0x50512a(0x105)](()=>_0x3e8b53[_0x50512a(0xf0)](_0xa5fcd8))[_0x50512a(0x1a5)](_0x27bbb8=>{const _0x376fad=_0x50512a;throw console[_0x376fad(0x18a)](_0x27bbb8),new _0x5ce284(_0x376fad(0x136),this);});}[_0x314519(0x140)]({threadId:_0x5b4568,isFromAdapter:_0x9a1b82}){const _0x462422=_0x314519,_0x3cb398=this[_0x462422(0x114)](_0x5b4568);if(!_0x3cb398)throw new _0x5ce284(_0x462422(0xfd),this);if(this[_0x462422(0x195)](_0x5b4568),this[_0x462422(0x198)][_0x462422(0x133)](_0x5b4568),!_0x3cb398[_0x462422(0x10c)]||_0x9a1b82||!this[_0x462422(0x1d0)]||_0x462422(0x160)!=typeof this[_0x462422(0x1d0)][_0x462422(0xf7)])return Promise[_0x462422(0x100)]();const _0x28f861=this[_0x462422(0x1be)][_0x462422(0x12f)][_0x462422(0x191)](_0x462422(0x147)),{channelId:_0x19fb42}=_0x3cb398,_0xb21f41=_0x28f861[_0x462422(0x13a)](_0x22a634(this[_0x462422(0x1be)][_0x462422(0x14c)],_0x462422(0x13b)));return this[_0x462422(0x1d0)][_0x462422(0xf7)]({'channelId':_0x19fb42,'threadId':_0x5b4568})[_0x462422(0x105)](()=>_0x28f861[_0x462422(0xf0)](_0xb21f41))[_0x462422(0x1a5)](_0x3f1eb4=>{const _0x3fb118=_0x462422;throw console[_0x3fb118(0x18a)](_0x3f1eb4),new _0x5ce284(_0x3fb118(0x103),this);});}[_0x314519(0x1af)]({threadId:_0x101a04,unlinkedAt:_0x5b9605,context:_0x3c74ff,attributes:_0x4c8796,isFromAdapter:_0x25a968}){const _0x27177b=_0x314519;if(_0x27177b(0x16a)!=typeof _0x101a04)throw new _0x5ce284(_0x27177b(0x1b1),null,{'threadId':_0x101a04});if(!this[_0x27177b(0x18d)](_0x101a04))throw new _0x5ce284(_0x27177b(0x163),null,{'threadId':_0x101a04});const _0x136a3b=this[_0x27177b(0x114)](_0x101a04);let _0x4247a6=!0x1;if(void 0x0!==_0x3c74ff&&_0x136a3b[_0x27177b(0x1be)]!==_0x3c74ff&&(_0x136a3b[_0x27177b(0x1be)]=_0x3c74ff,_0x4247a6=!0x0),void 0x0!==_0x5b9605&&_0x136a3b[_0x27177b(0x108)]!==_0x5b9605&&(_0x136a3b[_0x27177b(0x108)]=_0x5b9605,_0x4247a6=!0x0),_0x4c8796&&!_0x4b4d74(_0x4c8796,_0x136a3b[_0x27177b(0x11d)])&&(_0x136a3b[_0x27177b(0x11d)]=_0x4c8796,_0x4247a6=!0x0),!_0x4247a6)return Promise[_0x27177b(0x100)]();if(!_0x136a3b[_0x27177b(0x10c)]||_0x25a968||!this[_0x27177b(0x1d0)]||_0x27177b(0x160)!=typeof this[_0x27177b(0x1d0)][_0x27177b(0x117)])return Promise[_0x27177b(0x100)]();const _0x1dd937=this[_0x27177b(0x1be)][_0x27177b(0x12f)][_0x27177b(0x191)](_0x27177b(0x147)),{channelId:_0x4cc577}=_0x136a3b,_0x25505=_0x1dd937[_0x27177b(0x13a)](_0x22a634(this[_0x27177b(0x1be)][_0x27177b(0x14c)],_0x27177b(0x13b)));return this[_0x27177b(0x1d0)][_0x27177b(0x117)]({'channelId':_0x4cc577,'threadId':_0x101a04,'context':_0x3c74ff,'unlinkedAt':_0x5b9605,'attributes':_0x4c8796})[_0x27177b(0x105)](()=>_0x1dd937[_0x27177b(0xf0)](_0x25505))[_0x27177b(0x1a5)](_0x28e4b9=>{const _0x1f1367=_0x27177b;throw console[_0x1f1367(0x18a)](_0x28e4b9),new _0x5ce284(_0x1f1367(0x15c),this);});}[_0x314519(0x195)](_0x23966a){const _0x4fc2dc=_0x314519,_0x55c318=this[_0x4fc2dc(0x1be)][_0x4fc2dc(0x12f)][_0x4fc2dc(0x191)](_0x17778a),_0x529166=this[_0x4fc2dc(0x114)](_0x23966a);if(this[_0x4fc2dc(0x19f)][_0x4fc2dc(0x12a)](_0x529166)){const _0x445450=this[_0x4fc2dc(0x19f)][_0x4fc2dc(0x191)](_0x529166),_0x13725d=_0x445450[_0x4fc2dc(0x14b)],_0x3bc706=_0x55c318[_0x4fc2dc(0x172)](_0x13725d);this[_0x4fc2dc(0x19f)][_0x4fc2dc(0x133)](_0x529166),this[_0x4fc2dc(0x107)][_0x4fc2dc(0x133)](_0x13725d),_0x3bc706&&_0x55c318[_0x4fc2dc(0xf0)](_0x3bc706),_0x445450[_0x4fc2dc(0x10e)](),_0x13725d[_0x4fc2dc(0x10e)]()[_0x4fc2dc(0x105)](()=>{const _0x33d3e2=_0x4fc2dc;this[_0x33d3e2(0x1b4)](_0x13725d);});}}[_0x314519(0x12c)]({threadId:_0x2a2e93,resolvedAt:_0x4080fe}){const _0x31217e=_0x314519,_0x4a4760=!!_0x4080fe,_0x390874=this[_0x31217e(0x1be)][_0x31217e(0x12f)][_0x31217e(0x191)](_0x17778a),_0x4c09e3=this[_0x31217e(0x114)](_0x2a2e93);if(this[_0x31217e(0x19f)][_0x31217e(0x12a)](_0x4c09e3)){const _0x17ce0e=this[_0x31217e(0x19f)][_0x31217e(0x191)](_0x4c09e3)[_0x31217e(0x14b)],_0x38135f=_0x390874[_0x31217e(0x172)](_0x17ce0e);_0x38135f&&(_0x4a4760&&_0x390874[_0x31217e(0x1a1)](_0x38135f),_0x38135f[_0x31217e(0x1cd)]());}}[_0x314519(0x101)](_0x1c1571){const _0xb18bda=_0x314519,_0x46e35f=this[_0xb18bda(0x1be)][_0xb18bda(0x12f)][_0xb18bda(0x191)](_0x1df2cd),_0x3eb0cf=_0x2e01c5(_0xb18bda(0x1b2)+_0x1c1571),_0x151469=_0x46e35f[_0xb18bda(0x121)](_0x3eb0cf);return _0x151469||_0x46e35f[_0xb18bda(0x131)]({'id':_0x3eb0cf,'name':_0x1c1571});}[_0x314519(0x19e)]({threadId:_0xe08228,commentId:_0x370e5e=_0x2910e9(),content:_0x28ea20,authorId:_0x55c4f1,createdAt:_0x32e577,attributes:_0x5c65ec}){const _0x23fec4=_0x314519;if(_0x23fec4(0x16a)!=typeof _0x370e5e)throw new _0x5ce284(_0x23fec4(0x141));if(_0x23fec4(0x16a)!=typeof _0x55c4f1)throw new _0x5ce284(_0x23fec4(0xfe));if(_0x23fec4(0x16a)!=typeof _0x28ea20||!_0x28ea20[_0x23fec4(0x178)]())throw new _0x5ce284(_0x23fec4(0x10d));const _0x44071e=this[_0x23fec4(0x1be)][_0x23fec4(0x12f)][_0x23fec4(0x191)](_0x1df2cd)[_0x23fec4(0x121)](_0x55c4f1);if(!_0x44071e)throw new _0x5ce284(_0x23fec4(0xfa),null,{'authorId':_0x55c4f1});let _0x1c5ce9=null,_0x496b1c=_0x32e577;return _0x5c65ec&&_0x5c65ec[_0x23fec4(0x13d)]&&(_0x1c5ce9=this[_0x23fec4(0x101)](_0x5c65ec[_0x23fec4(0x13d)][_0x23fec4(0x19c)]),_0x496b1c=new Date(_0x5c65ec[_0x23fec4(0x13d)][_0x23fec4(0x11f)])),new Comment(this,{'threadId':_0xe08228,'id':_0x370e5e,'author':_0x1c5ce9||_0x44071e,'creator':_0x44071e,'content':_0x28ea20,'createdAt':_0x32e577,'authoredAt':_0x496b1c,'attributes':_0x5c65ec});}[_0x314519(0x1b8)](_0x516afe){const _0x8a79e4=_0x314519;let {threadId:_0x38b75f,content:_0x35fa86,attributes:_0x3330e1,isFromAdapter:_0x5d8f11}=_0x516afe;const _0x39eafc=this[_0x8a79e4(0x114)](_0x516afe[_0x8a79e4(0x185)]);if(!_0x39eafc)throw new _0x5ce284(_0x8a79e4(0x15d),this);const _0x1ebf85=this[_0x8a79e4(0x19e)](_0x516afe),{id:_0x208ac5}=_0x1ebf85;if(_0x39eafc[_0x8a79e4(0x1ba)](_0x1ebf85),_0x5d8f11||!this[_0x8a79e4(0x1d0)]||_0x8a79e4(0x160)!=typeof this[_0x8a79e4(0x1d0)][_0x8a79e4(0x152)]||!_0x39eafc[_0x8a79e4(0x10c)])return Promise[_0x8a79e4(0x100)]();const _0xe9814e=this[_0x8a79e4(0x1be)][_0x8a79e4(0x12f)][_0x8a79e4(0x191)](_0x8a79e4(0x147)),{channelId:_0x1d5bcc}=_0x39eafc,_0x5827c3=_0xe9814e[_0x8a79e4(0x13a)](_0x22a634(this[_0x8a79e4(0x1be)][_0x8a79e4(0x14c)],_0x8a79e4(0x13b)));return _0x3330e1||(_0x3330e1={}),this[_0x8a79e4(0x1d0)][_0x8a79e4(0x152)]({'channelId':_0x1d5bcc,'threadId':_0x38b75f,'commentId':_0x208ac5,'content':_0x35fa86,'attributes':_0x3330e1})[_0x8a79e4(0x105)](_0x43df6b=>{const _0x261025=_0x8a79e4;_0xe9814e[_0x261025(0xf0)](_0x5827c3),_0x43df6b&&this[_0x261025(0x1d1)]({'channelId':_0x1d5bcc,'threadId':_0x38b75f,'commentId':_0x208ac5,'createdAt':_0x43df6b[_0x261025(0x11f)],'isFromAdapter':!0x0});})[_0x8a79e4(0x1a5)](_0x26865a=>{const _0x44eb24=_0x8a79e4;throw console[_0x44eb24(0x18a)](_0x26865a),new _0x5ce284(_0x44eb24(0x1bf),this);});}[_0x314519(0x1d1)]({threadId:_0x501ee0,commentId:_0xa03ad5,content:_0x556150,createdAt:_0x596421,attributes:_0x5733c2,isFromAdapter:_0x406471}){const _0x42157b=_0x314519;if(void 0x0!==_0x556150&&(_0x42157b(0x16a)!=typeof _0x556150||!_0x556150[_0x42157b(0x178)]()[_0x42157b(0x129)]))throw new _0x5ce284(_0x42157b(0x127));const _0x5a02e0=this[_0x42157b(0x114)](_0x501ee0),_0x4197f4=_0x5a02e0[_0x42157b(0x16b)](_0xa03ad5);if(!_0x4197f4)throw new _0x5ce284(_0x42157b(0x12b),this);let _0x1e9a52=!0x1;if(_0x556150&&_0x556150!==_0x4197f4[_0x42157b(0x1c3)]&&(_0x4197f4[_0x42157b(0x15e)]||_0x406471)&&(_0x4197f4[_0x42157b(0x1c3)]=_0x556150,_0x1e9a52=!0x0),_0x596421&&_0x596421!==_0x4197f4[_0x42157b(0x11f)]&&(_0x4197f4[_0x42157b(0x11f)]=_0x596421,_0x4197f4[_0x42157b(0x11d)]&&_0x4197f4[_0x42157b(0x11d)][_0x42157b(0x13d)]||(_0x4197f4[_0x42157b(0x17f)]=_0x596421),_0x1e9a52=!0x0),_0x5733c2&&!_0x4b4d74(_0x5733c2,_0x4197f4[_0x42157b(0x11d)])&&(_0x4197f4[_0x42157b(0x11d)]=_0x5733c2,_0x1e9a52=!0x0),!_0x1e9a52)return Promise[_0x42157b(0x100)]();if(_0x5a02e0[_0x42157b(0x11a)](_0x42157b(0x179)),_0x406471||!this[_0x42157b(0x1d0)]||_0x42157b(0x160)!=typeof this[_0x42157b(0x1d0)][_0x42157b(0x199)])return Promise[_0x42157b(0x100)]();const _0x557a4f=this[_0x42157b(0x1be)][_0x42157b(0x12f)][_0x42157b(0x191)](_0x42157b(0x147)),{channelId:_0x5cc282}=this[_0x42157b(0x114)](_0x4197f4[_0x42157b(0x185)]),_0x32a948=_0x557a4f[_0x42157b(0x13a)](_0x22a634(this[_0x42157b(0x1be)][_0x42157b(0x14c)],_0x42157b(0x13b)));return this[_0x42157b(0x1d0)][_0x42157b(0x199)]({'channelId':_0x5cc282,'threadId':_0x501ee0,'commentId':_0xa03ad5,'content':_0x556150,'attributes':_0x5733c2})[_0x42157b(0x105)](()=>_0x557a4f[_0x42157b(0xf0)](_0x32a948))[_0x42157b(0x1a5)](_0x4c1094=>{const _0x2345b0=_0x42157b;throw console[_0x2345b0(0x18a)](_0x4c1094),new _0x5ce284(_0x2345b0(0x1ae),this);});}[_0x314519(0x19b)]({threadId:_0x10f31b,commentId:_0x2d59d8,isFromAdapter:_0x5b7581}){const _0xc9a882=_0x314519,_0x2eccce=this[_0xc9a882(0x114)](_0x10f31b),_0x810163=_0x2eccce[_0xc9a882(0x16b)](_0x2d59d8);if(!_0x810163)throw new _0x5ce284(_0xc9a882(0x130),this);if(_0x2eccce[_0xc9a882(0x168)](_0x810163),_0x5b7581||!this[_0xc9a882(0x1d0)]||_0xc9a882(0x160)!=typeof this[_0xc9a882(0x1d0)][_0xc9a882(0x1ad)])return Promise[_0xc9a882(0x100)]();const _0x448c9e=this[_0xc9a882(0x1be)][_0xc9a882(0x12f)][_0xc9a882(0x191)](_0xc9a882(0x147)),{channelId:_0x526107}=_0x2eccce,_0x1a6c1e=_0x448c9e[_0xc9a882(0x13a)](_0x22a634(this[_0xc9a882(0x1be)][_0xc9a882(0x14c)],_0xc9a882(0x13b)));return this[_0xc9a882(0x1d0)][_0xc9a882(0x1ad)]({'channelId':_0x526107,'threadId':_0x10f31b,'commentId':_0x2d59d8})[_0xc9a882(0x105)](()=>_0x448c9e[_0xc9a882(0xf0)](_0x1a6c1e))[_0xc9a882(0x1a5)](_0x4c2128=>{const _0x3fb50c=_0xc9a882;throw console[_0x3fb50c(0x18a)](_0x4c2128),new _0x5ce284(_0x3fb50c(0x175),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
function _0x2dc7(){const _0x4c324e=['_threads','isPremiumPlugin','commentsrepository-invalid-comment-content','locale','getCommentThreads','7AufoKg','18IYQxbc','4651856mdoZvC','submitCommentThread','removeCommentThread','reopenCommentThread','_updateActiveAnnotation','_updateCommentThread','attachTo','values','adapter','commentsrepository-adapter-already-set','createdAt','getIndex','comments.CommentView','change:_readOnlyChannels','isExternal','addUser','switchReadOnly','_bindAnnotationToEditors','_getExternalAuthor','_createNewComment','reduce','context','11KtRDyg','commentsrepository-update-comment-invalid-content','_readOnlyChannels','change:isDirty','toJSON','channelId','getTime','isSubmitted','_removeComment','deactivateAll','set','from','noChannel','commentsrepository-remove-comment-internal-error','_addCommentThread','commentsrepository-remove-missing-comment-thread','17071032sHRNTu','commentsrepository-attach-missing-comment-thread','resolve','setActiveCommentThread','523072XSVqGh','content','attributes','getUser','_threadToController','authoredAt','getCommentThread','comments','isOfficialPlugin','_createCommentThreadView','createElement','isRemovable','escape','CommentsRepository','commentsrepository-active-missing-comment-thread','commentsrepository-reopen-comment-thread-internal-error','openNewCommentThread','_removeActiveAnnotation','commentsrepository-missing-thread-and-adapter-method','threadId','_isAttached','commentsrepository-active-not-attached','textContent','_repository','hasCommentThread','then','resolvedAt','isReadOnly','isResolvable','@external','updateComment','commentsrepository-update-comment-internal-error','string','commentsrepository-update-comment-missing-comment-thread','catch','commentsrepository-remove-comment-missing-comment-thread','innerView','div','_attachCommentThread','PENDING_ACTION_COMMENT_THREAD','isActive','removeAttribute','change:_permissions','commentsrepository-reopen-comment-thread','init','commentThreadInputView','_hasTargetInContent','refreshVisibility','comments.editorConfig','map','commentsrepository-add-comment-to-missing-comment-thread','isResolved','delete','commentsrepository-update-comment-thread-internal-error','assign','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-invalid-comment-thread-id','length','find','add','PendingActions','resolvedBy','view','max','innerHTML','trim','_resolveCommentThread','_permissions','getPermissions','_submitCommentThread','_unbindEditors','757815tcKWsw','editorReady','reopen','commentInputView','_addComment','createCommentThreadController','commentsrepository-get-comment-invalid-id','activeCommentThread','_removeCommentThread','comments.maxThreadTotalWeight','activate','commentsrepository-add-comment-user-not-exists','602038NHDxmS','commentsrepository-missing-target','authorName','external:','pluginName','commentsrepository-duplicated-comment-thread-id','commentsrepository-invalid-commentid','fire','setContext','commentsListView','commentId','author','isEditable','model','commentsrepository-remove-missing-comment','_viewToController','submit','archivedAt','function','commentsrepository-resolve-comment-thread-internal-error','commentUpdated','_adapter','isAttached','comments.maxCommentsWhenCollapsed','_reopenCommentThread','commentsrepository-resolved-comment-thread','remove','commentsrepository-update-missing-comment','commentsrepository-remove-comment-thread-internal-error','addCommentThread','licenseKey','comment','CommentThreadView','commentsrepository-add-comment-internal-error','isFromAdapter','canComment','fetchCommentThread','creator','lowest','getComment','9nsDcHr','isDirty','define','CommentView','error','push','commentsrepository-invalid-comment-authorid','_updateComment','comments.CommentThreadView','warn','updateCommentThread','commentsrepository-missing-comment-thread','focusableElements','commentsrepository-add-comment-thread-internal-error','get','once','update','resolveCommentThread','bodyCollectionContainer','plugins','removeComment','setAttribute','unlinkedAt','type','commentsrepository-fetch-comment-thread','_isSubmitted','1LaJUWg','weight','has','focusTracker','_remove','filter','setPermissions','focus','admin','config','change:activeAnnotations','778630MROcPu','bind','modifyAll','setUnlinkedAt','_findOptimalIndex','destroy','editorDestroyed','_detachCommentThread','write','_add','stopListening','comments.maxCommentCharsWhenCollapsed','highest','_update','listenTo','1715193lMGajC','comments.copyMarkers','body','change:authoredAt','requires','getByInnerView','addComment'];_0x2dc7=function(){return _0x4c324e;};return _0x2dc7();}const _0x32b3ba=_0x2964;(function(_0x107739,_0x1a1b79){const _0x14f65f=_0x2964,_0x5a0421=_0x107739();while(!![]){try{const _0x157d1f=-parseInt(_0x14f65f(0x243))/0x1*(parseInt(_0x14f65f(0x201))/0x2)+-parseInt(_0x14f65f(0x25d))/0x3+-parseInt(_0x14f65f(0x295))/0x4+-parseInt(_0x14f65f(0x1f5))/0x5*(-parseInt(_0x14f65f(0x26a))/0x6)+-parseInt(_0x14f65f(0x269))/0x7*(parseInt(_0x14f65f(0x26b))/0x8)+-parseInt(_0x14f65f(0x229))/0x9*(-parseInt(_0x14f65f(0x24e))/0xa)+-parseInt(_0x14f65f(0x281))/0xb*(-parseInt(_0x14f65f(0x291))/0xc);if(_0x157d1f===_0x1a1b79)break;else _0x5a0421['push'](_0x5a0421['shift']());}catch(_0x379a51){_0x5a0421['push'](_0x5a0421['shift']());}}}(_0x2dc7,0x5a5da));import{PendingActions as _0x40811b,ContextPlugin as _0x529925,Editor as _0x23b5a7}from'ckeditor5/src/core.js';import{Collection as _0x1852ee,uid as _0x1e787d,CKEditorError as _0x5054f8,ObservableMixin as _0x1a7d19}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x141e46,hashObject as _0x317943,Users as _0x7cb4b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x5e59b2,isEqual as _0x1fa3d0,set as _0x36d948,unset as _0x5016eb}from'lodash-es';import _0x2ca5b8 from'./ui/commentthreadcontroller.js';import _0x4f406c from'./ui/view/commentthreadview.js';import _0x27c6d8 from'./ui/view/commentview.js';import{getTranslation as _0x23244f}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x5ef6b2 from'../annotations/view/annotationview.js';import _0x22a6b1 from'../annotations/annotation.js';import _0x278e0c from'../annotations/annotations.js';function _0x2964(_0x35d0b7,_0x23f9f7){const _0x2dc7a6=_0x2dc7();return _0x2964=function(_0x2964a0,_0x4264ee){_0x2964a0=_0x2964a0-0x1e7;let _0x33a4c1=_0x2dc7a6[_0x2964a0];return _0x33a4c1;},_0x2964(_0x35d0b7,_0x23f9f7);}const _t=Symbol(_0x32b3ba(0x28d)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x529925{static get[_0x32b3ba(0x261)](){return[_0x278e0c,_0x40811b,_0x7cb4b2];}static get[_0x32b3ba(0x205)](){const _0xf1a65=_0x32b3ba;return _0xf1a65(0x2a2);}static get[_0x32b3ba(0x29d)](){return!0x0;}static get[_0x32b3ba(0x265)](){return!0x0;}constructor(_0x1a0351){const _0x2ebdc7=_0x32b3ba;super(_0x1a0351),this[_0x2ebdc7(0x264)]=new Map(),this[_0x2ebdc7(0x299)]=new Map(),this[_0x2ebdc7(0x210)]=new Map(),this[_0x2ebdc7(0x28b)](_0x2ebdc7(0x283),new Set()),this[_0x2ebdc7(0x28b)](_0x2ebdc7(0x1f1),new Map());const _0x292dae=this[_0x2ebdc7(0x280)][_0x2ebdc7(0x24c)];_0x292dae[_0x2ebdc7(0x22b)](_0x2ebdc7(0x218),0x2),_0x292dae[_0x2ebdc7(0x22b)](_0x2ebdc7(0x1fe),0x1f4),_0x292dae[_0x2ebdc7(0x22b)](_0x2ebdc7(0x259),0x8c),_0x292dae[_0x2ebdc7(0x22b)](_0x2ebdc7(0x231),_0x4f406c),_0x292dae[_0x2ebdc7(0x22b)](_0x2ebdc7(0x277),_0x27c6d8),_0x292dae[_0x2ebdc7(0x237)](_0x2ebdc7(0x2c5))||console[_0x2ebdc7(0x232)](_0x2ebdc7(0x2cc));}[_0x32b3ba(0x2c1)](){const _0x474a48=_0x32b3ba,_0x562692=this[_0x474a48(0x280)][_0x474a48(0x23c)][_0x474a48(0x237)](_0x278e0c);this[_0x474a48(0x28b)](_0x474a48(0x1fc),null),this['on'](_0x474a48(0x21e),(_0x43d93f,_0x3c9328)=>this[_0x474a48(0x28f)](_0x3c9328)),this['on'](_0x474a48(0x26c),(_0x194bdd,_0x4d2724)=>this[_0x474a48(0x1f3)](_0x4d2724)),this['on'](_0x474a48(0x23a),(_0x5caaba,_0x3542fb)=>this[_0x474a48(0x1f0)](_0x3542fb)),this['on'](_0x474a48(0x23a),(_0x286420,_0x466876)=>this[_0x474a48(0x26f)](_0x466876),{'priority':_0x474a48(0x227)}),this['on'](_0x474a48(0x26e),(_0x1cc5f2,_0xff36d7)=>this[_0x474a48(0x219)](_0xff36d7)),this['on'](_0x474a48(0x26e),(_0xeb88d3,_0x344400)=>this[_0x474a48(0x26f)](_0x344400),{'priority':_0x474a48(0x227)}),this['on'](_0x474a48(0x26d),(_0x3fd84c,_0x158246)=>this[_0x474a48(0x1fd)](_0x158246)),this['on'](_0x474a48(0x233),(_0x13f8f2,_0x5dd5c9)=>this[_0x474a48(0x270)](_0x5dd5c9)),this['on'](_0x474a48(0x233),(_0x42012f,_0x2d4867)=>this[_0x474a48(0x26f)](_0x2d4867),{'priority':_0x474a48(0x227)}),this['on'](_0x474a48(0x263),(_0x4b03da,_0x3d88ab)=>this[_0x474a48(0x1f9)](_0x3d88ab)),this['on'](_0x474a48(0x2b3),(_0x54f53f,_0x13287a)=>this[_0x474a48(0x230)](_0x13287a)),this['on'](_0x474a48(0x23d),(_0x1e06da,_0x5af69b)=>this[_0x474a48(0x289)](_0x5af69b)),this['on'](_0x474a48(0x263),(_0x54eaf6,{threadId:_0x4b9f01,isFromAdapter:_0x16d7e0})=>{const _0x5bbe40=_0x474a48;if(_0x16d7e0)return;const _0x506d80=this[_0x5bbe40(0x29b)](_0x4b9f01),_0x1cb845=_0x506d80&&this[_0x5bbe40(0x299)][_0x5bbe40(0x237)](_0x506d80);_0x1cb845&&_0x1cb845[_0x5bbe40(0x1ec)][_0x5bbe40(0x20a)][_0x5bbe40(0x24a)](-0x1);},{'priority':_0x474a48(0x227)}),this[_0x474a48(0x25c)](_0x562692,_0x474a48(0x24d),(_0x50bc86,_0x2b7ce4,_0x1fa515)=>{const _0x38a960=_0x474a48,_0x20aadf=Array[_0x38a960(0x28c)](_0x1fa515)[_0x38a960(0x2c6)](_0x2858c9=>this[_0x38a960(0x210)][_0x38a960(0x237)](_0x2858c9[_0x38a960(0x2b9)]))[_0x38a960(0x248)](Boolean)[0x0];this[_0x38a960(0x1fc)]=_0x20aadf?_0x20aadf[_0x38a960(0x20e)]:null;});}set[_0x32b3ba(0x273)](_0x4d47a7){const _0x4065f5=_0x32b3ba;if(this[_0x4065f5(0x216)])throw new _0x5054f8(_0x4065f5(0x274));this[_0x4065f5(0x216)]=_0x4d47a7;}get[_0x32b3ba(0x273)](){const _0xcce77d=_0x32b3ba;return this[_0xcce77d(0x216)];}[_0x32b3ba(0x21e)]({channelId:_0x4e33a1=_t,threadId:_0x9c8fb=_0x1e787d(),comments:_0x12df35=[],unlinkedAt:_0x117842=null,resolvedAt:_0x24fd53=null,resolvedBy:_0x4e4bf3=null,target:_0x584196=null,context:_0x418b88=null,attributes:_0x3102f1={},isResolvable:_0x5b8fd1=!0x0,isSubmitted:_0x171a2b=!0x1,isFromAdapter:_0x5a8801=!0x1}={}){const _0xa97b4=_0x32b3ba;return this[_0xa97b4(0x208)](Nt(_0xa97b4(0x21e),_0x4e33a1),{'channelId':_0x4e33a1,'threadId':_0x9c8fb,'comments':_0x12df35,'unlinkedAt':_0x117842,'resolvedAt':_0x24fd53,'resolvedBy':_0x4e4bf3,'target':_0x584196,'context':_0x418b88,'attributes':_0x3102f1,'isFromAdapter':_0x5a8801,'isResolvable':_0x5b8fd1,'isSubmitted':_0x171a2b}),this[_0xa97b4(0x29b)](_0x9c8fb);}[_0x32b3ba(0x2a5)]({channelId:_0x5e97b6=_t,threadId:_0x28d167=_0x1e787d(),target:_0x296ab6,context:_0x41b86e=null,isResolvable:_0x3cfd30=!0x0}){const _0x179ceb=_0x32b3ba;if(this[_0x179ceb(0x283)][_0x179ceb(0x245)](_0x5e97b6)||this[_0x179ceb(0x283)][_0x179ceb(0x245)](void 0x0))return null;if(!_0x296ab6)throw new _0x5054f8(_0x179ceb(0x202));const _0x28e964=this[_0x179ceb(0x21e)]({'channelId':_0x5e97b6,'threadId':_0x28d167,'target':_0x296ab6,'context':_0x41b86e,'isResolvable':_0x3cfd30});if(!_0x28e964)return null;const _0x42575a=this[_0x179ceb(0x299)][_0x179ceb(0x237)](_0x28e964),_0x5d0803=_0x42575a[_0x179ceb(0x1ec)][_0x179ceb(0x2c2)][_0x179ceb(0x1f8)],_0x54efb2=this[_0x179ceb(0x280)][_0x179ceb(0x23c)][_0x179ceb(0x237)](_0x278e0c),_0x3ac4e7=_0x54efb2[_0x179ceb(0x262)](_0x42575a[_0x179ceb(0x1ec)]);return _0x54efb2[_0x179ceb(0x1ff)](_0x3ac4e7),_0x5d0803[_0x179ceb(0x238)](_0x179ceb(0x1f6),()=>_0x5d0803[_0x179ceb(0x24a)]()),_0x28e964;}[_0x32b3ba(0x2ad)](_0x386062){const _0x391d78=_0x32b3ba;if(_0x391d78(0x2b5)!=typeof _0x386062)throw new _0x5054f8(_0x391d78(0x2cd));return this[_0x391d78(0x264)][_0x391d78(0x245)](_0x386062);}[_0x32b3ba(0x233)]({channelId:_0x57fb15=_t,threadId:_0x34ec68,context:_0x11551b,unlinkedAt:_0x1cd16e,attributes:_0x1a86c0,isFromAdapter:_0x1a3e80=!0x1}){const _0xf70010=_0x32b3ba;return this[_0xf70010(0x208)](Nt(_0xf70010(0x233),_0x57fb15),{'channelId':_0x57fb15,'threadId':_0x34ec68,'context':_0x11551b,'unlinkedAt':_0x1cd16e,'attributes':_0x1a86c0,'isFromAdapter':_0x1a3e80}),this[_0xf70010(0x29b)](_0x34ec68);}[_0x32b3ba(0x29b)](_0x506c03){const _0x982bff=_0x32b3ba;if(_0x982bff(0x2b5)!=typeof _0x506c03)throw new _0x5054f8(_0x982bff(0x2cd));return this[_0x982bff(0x264)][_0x982bff(0x237)](_0x506c03);}[_0x32b3ba(0x225)]({channelId:_0x159152,threadId:_0x24266f}={}){const _0x15a76c=_0x32b3ba,_0x3b6bfd=this[_0x15a76c(0x29b)](_0x24266f);if(_0x3b6bfd)return Promise[_0x15a76c(0x293)](_0x3b6bfd);if(!this[_0x15a76c(0x273)])return Promise[_0x15a76c(0x293)](void 0x0);if(_0x15a76c(0x213)!=typeof this[_0x15a76c(0x273)][_0x15a76c(0x29b)])throw new _0x5054f8(_0x15a76c(0x2a7),this[_0x15a76c(0x280)]);return this[_0x15a76c(0x273)][_0x15a76c(0x29b)]({'channelId':_0x159152,'threadId':_0x24266f})[_0x15a76c(0x2ae)](_0x5c4268=>this[_0x15a76c(0x2ad)](_0x24266f)?this[_0x15a76c(0x29b)](_0x24266f):_0x5c4268?this[_0x15a76c(0x21e)](Object[_0x15a76c(0x2cb)]({'isFromAdapter':!0x0,'channelId':_0x159152},_0x5c4268)):void 0x0)[_0x15a76c(0x2b7)](_0x34ef39=>{const _0x157514=_0x15a76c;throw console[_0x157514(0x22d)](_0x34ef39),new _0x5054f8(_0x157514(0x241),this[_0x157514(0x280)]);});}[_0x32b3ba(0x268)]({channelId:_0x2c143d,skipNotAttached:_0x571e44=!0x1,skipEmpty:_0x16bcd2=!0x1,toJSON:_0x39ae5a=!0x1}={}){const _0x760b1c=_0x32b3ba,_0x30fd1c=[];for(const _0x3c54c2 of this[_0x760b1c(0x264)][_0x760b1c(0x272)]())_0x2c143d&&_0x3c54c2[_0x760b1c(0x286)]!==_0x2c143d||_0x571e44&&!_0x3c54c2[_0x760b1c(0x217)]||_0x16bcd2&&0x0===_0x3c54c2[_0x760b1c(0x1e7)]||_0x30fd1c[_0x760b1c(0x22e)](_0x3c54c2);return _0x39ae5a?_0x30fd1c[_0x760b1c(0x2c6)](_0x4e2502=>_0x4e2502[_0x760b1c(0x285)]()):_0x30fd1c;}[_0x32b3ba(0x294)](_0x31bb1e){const _0xd2a437=_0x32b3ba,_0x3cdd18=this[_0xd2a437(0x280)][_0xd2a437(0x23c)][_0xd2a437(0x237)](_0x278e0c);if(!_0x31bb1e)return void(this[_0xd2a437(0x1fc)]&&_0x3cdd18[_0xd2a437(0x28a)]());const _0x3d2e49=this[_0xd2a437(0x29b)](_0x31bb1e);if(!_0x3d2e49)throw new _0x5054f8(_0xd2a437(0x2a3),null,{'threadId':_0x31bb1e});if(!this[_0xd2a437(0x299)][_0xd2a437(0x245)](_0x3d2e49))throw new _0x5054f8(_0xd2a437(0x2aa),null,{'threadId':_0x31bb1e});const _0x80444e=_0x3cdd18[_0xd2a437(0x262)](this[_0xd2a437(0x299)][_0xd2a437(0x237)](_0x3d2e49)[_0xd2a437(0x1ec)]);_0x3cdd18[_0xd2a437(0x1ff)](_0x80444e);}[_0x32b3ba(0x27b)](_0x3cf0e9,_0x3dce16){const _0x36163b=_0x32b3ba;_0x3cf0e9?this[_0x36163b(0x283)][_0x36163b(0x1e9)](_0x3dce16):this[_0x36163b(0x283)][_0x36163b(0x2c9)](_0x3dce16),this[_0x36163b(0x208)](_0x36163b(0x278),_0x36163b(0x283),this[_0x36163b(0x283)],this[_0x36163b(0x283)]);}[_0x32b3ba(0x2b0)](_0xea1e6f){const _0x147d6d=_0x32b3ba;return this[_0x147d6d(0x283)][_0x147d6d(0x245)](_0xea1e6f)||this[_0x147d6d(0x283)][_0x147d6d(0x245)](void 0x0);}[_0x32b3ba(0x1fa)](_0x39b709,_0x31f8b4){return new _0x2ca5b8(_0x39b709,_0x31f8b4);}[_0x32b3ba(0x249)](_0x23ca15,_0x59307d=_t){const _0x4256c6=_0x32b3ba;this[_0x4256c6(0x1f1)][_0x4256c6(0x28b)](_0x59307d,_0x23ca15),this[_0x4256c6(0x208)](_0x4256c6(0x2bf),_0x4256c6(0x1f1),this[_0x4256c6(0x1f1)],this[_0x4256c6(0x1f1)]);}[_0x32b3ba(0x1f2)](_0x77c7e7=_t){const _0x2216a0=_0x32b3ba;return this[_0x2216a0(0x1f1)][_0x2216a0(0x245)](_0x77c7e7)?this[_0x2216a0(0x1f1)][_0x2216a0(0x237)](_0x77c7e7):bt;}[_0x32b3ba(0x28f)]({channelId:_0x310fe7,threadId:_0x350517,comments:_0x1ddc70,unlinkedAt:_0x14f1f9,resolvedAt:_0x565100,resolvedBy:_0x406304,target:_0x523669,context:_0x4eb30b,attributes:_0x40ad86,isFromAdapter:_0x22b564,isResolvable:_0x2fda50,isSubmitted:_0x2b08e4}){const _0x2fcd2a=_0x32b3ba;if(_0x2fcd2a(0x2b5)!=typeof _0x350517)throw new _0x5054f8(_0x2fcd2a(0x2cd),null,{'threadId':_0x350517});if(this[_0x2fcd2a(0x2ad)](_0x350517))throw new _0x5054f8(_0x2fcd2a(0x206),null,{'threadId':_0x350517});const _0x3e1b0c=new CommentThread(this,{'channelId':_0x310fe7,'id':_0x350517,'context':_0x4eb30b,'attributes':_0x40ad86,'unlinkedAt':_0x14f1f9,'resolvedAt':_0x565100,'resolvedBy':_0x406304?this[_0x2fcd2a(0x280)][_0x2fcd2a(0x23c)][_0x2fcd2a(0x237)](_0x7cb4b2)[_0x2fcd2a(0x298)](_0x406304):null,'isResolvable':_0x2fda50,'isSubmitted':_0x2b08e4||_0x22b564});this[_0x2fcd2a(0x264)][_0x2fcd2a(0x28b)](_0x350517,_0x3e1b0c);for(const _0x287eac of _0x1ddc70)_0x3e1b0c[_0x2fcd2a(0x257)](this[_0x2fcd2a(0x27e)]({'threadId':_0x350517,..._0x287eac}));return _0x523669&&_0x3e1b0c[_0x2fcd2a(0x271)](_0x523669),_0x22b564||!_0x3e1b0c[_0x2fcd2a(0x1e7)]?Promise[_0x2fcd2a(0x293)]():this[_0x2fcd2a(0x1f3)]({'channelId':_0x310fe7,'threadId':_0x350517});}[_0x32b3ba(0x1f3)]({channelId:_0x5b1dfc,threadId:_0x3ee2c3}){const _0x563fc1=_0x32b3ba;if(!this[_0x563fc1(0x2ad)](_0x3ee2c3))throw new _0x5054f8(_0x563fc1(0x234),this);const _0x52f677=this[_0x563fc1(0x29b)](_0x3ee2c3);if(_0x52f677[_0x563fc1(0x242)]=!0x0,!this[_0x563fc1(0x273)]||_0x563fc1(0x213)!=typeof this[_0x563fc1(0x273)][_0x563fc1(0x21e)])return Promise[_0x563fc1(0x293)]();const {id:_0x4675e9,comments:_0xb18f4a,resolvedAt:_0x1bfad1,resolvedBy:_0x1a9fe1,context:_0x5291a7,attributes:_0x2a3142}=_0x52f677,_0x5f25c7=this[_0x563fc1(0x280)][_0x563fc1(0x23c)][_0x563fc1(0x237)](_0x563fc1(0x1ea)),_0x5d2b3d=_0x5f25c7[_0x563fc1(0x1e9)](_0x23244f(this[_0x563fc1(0x280)][_0x563fc1(0x267)],_0x563fc1(0x2bc)));return this[_0x563fc1(0x273)][_0x563fc1(0x21e)]({'channelId':_0x5b1dfc,'threadId':_0x4675e9,'comments':_0xb18f4a[_0x563fc1(0x2c6)](_0x4badac=>_0x4badac[_0x563fc1(0x285)]()),'resolvedAt':_0x1bfad1,'resolvedBy':_0x1a9fe1?_0x1a9fe1['id']:_0x1a9fe1,'context':_0x5291a7,'attributes':_0x2a3142})[_0x563fc1(0x2ae)](({comments:_0x59dd82})=>{const _0x431ea8=_0x563fc1;_0x5f25c7[_0x431ea8(0x21b)](_0x5d2b3d);for(const _0x498cb7 of _0x59dd82)this[_0x431ea8(0x230)]({'channelId':_0x5b1dfc,'threadId':_0x3ee2c3,'commentId':_0x498cb7[_0x431ea8(0x20b)],'createdAt':_0x498cb7[_0x431ea8(0x275)],'isFromAdapter':!0x0});})[_0x563fc1(0x2b7)](_0x36b6c2=>{const _0xe0b9d1=_0x563fc1;throw console[_0xe0b9d1(0x22d)](_0x36b6c2),new _0x5054f8(_0xe0b9d1(0x236),this);});}[_0x32b3ba(0x2bb)]({threadId:_0x111f46,target:_0x54e9a3}){const _0x41da81=_0x32b3ba,_0x57be30=this[_0x41da81(0x29b)](_0x111f46);if(!_0x57be30)throw new _0x5054f8(_0x41da81(0x292),this);const _0x3558b2=this[_0x41da81(0x280)][_0x41da81(0x23c)][_0x41da81(0x237)](_0x41da81(0x1ea)),_0x537c8b=this[_0x41da81(0x280)][_0x41da81(0x23c)][_0x41da81(0x237)](_0x278e0c),_0x2c8a20=this[_0x41da81(0x29e)](_0x57be30),_0x3d862e=new _0x2ca5b8(_0x57be30,_0x2c8a20);let _0x22adc9=null;_0x2c8a20['on'](_0x41da81(0x284),(_0x299d02,_0x21a997,_0x239eee)=>{const _0x231f64=_0x41da81;_0x239eee?_0x22adc9=_0x3558b2[_0x231f64(0x1e9)](_0x23244f(this[_0x231f64(0x280)][_0x231f64(0x267)],_0x231f64(0x2bc))):_0x22adc9&&(_0x3558b2[_0x231f64(0x21b)](_0x22adc9),_0x22adc9=null);}),this[_0x41da81(0x299)][_0x41da81(0x28b)](_0x57be30,_0x3d862e),this[_0x41da81(0x210)][_0x41da81(0x28b)](_0x2c8a20,_0x3d862e);const _0x1d2a7e=new _0x5ef6b2(this[_0x41da81(0x280)][_0x41da81(0x267)],_0x2c8a20);_0x1d2a7e[_0x41da81(0x24f)](_0x41da81(0x1e7))['to'](_0x2c8a20),_0x1d2a7e[_0x41da81(0x24f)](_0x41da81(0x22a))['to'](_0x2c8a20,_0x41da81(0x22a),_0x2c8a20,_0x41da81(0x1e7),(_0x51e0da,_0x3d6b3b)=>_0x51e0da||!_0x3d6b3b),_0x1d2a7e[_0x41da81(0x24f)](_0x41da81(0x2bd))['to'](_0x2c8a20),_0x1d2a7e[_0x41da81(0x240)]=_0x41da81(0x220);const _0x1dcfb8=new _0x22a6b1({'view':_0x1d2a7e,'target':_0x54e9a3,'type':_0x41da81(0x220),'isVisible':!_0x57be30[_0x41da81(0x2c8)]});return _0x2c8a20['on'](_0x41da81(0x2a1),()=>{const _0x41191b=_0x41da81;_0x1dcfb8[_0x41191b(0x208)](_0x41191b(0x2a1));}),this[_0x41da81(0x27c)](_0x2c8a20,_0x1dcfb8),_0x537c8b[_0x41da81(0x1e9)](_0x1dcfb8),_0x1dcfb8;}[_0x32b3ba(0x27c)](_0x7bc41e,_0xfd7f9f){const _0x59c61a=_0x32b3ba;this[_0x59c61a(0x25c)](_0x7bc41e,_0x59c61a(0x1f6),(_0x3d00aa,_0x11db2c)=>{const _0x1ea55f=_0x59c61a,_0x4fb9cd=_0x11db2c['ui'][_0x1ea55f(0x1ec)][_0x1ea55f(0x25f)][_0x1ea55f(0x23b)];_0xfd7f9f[_0x1ea55f(0x235)][_0x1ea55f(0x1e9)](_0x4fb9cd),this[_0x1ea55f(0x280)]instanceof _0x23b5a7&&this[_0x1ea55f(0x280)]['ui'][_0x1ea55f(0x246)][_0x1ea55f(0x1e9)](_0x4fb9cd);},{'priority':_0x59c61a(0x25a)}),this[_0x59c61a(0x25c)](_0x7bc41e,_0x59c61a(0x254),(_0x2ce083,_0x3fbbb0)=>{const _0x54e73d=_0x59c61a,_0x2ff2db=_0x3fbbb0['ui'][_0x54e73d(0x1ec)][_0x54e73d(0x25f)][_0x54e73d(0x23b)];_0xfd7f9f[_0x54e73d(0x235)][_0x54e73d(0x245)](_0x2ff2db)&&_0xfd7f9f[_0x54e73d(0x235)][_0x54e73d(0x21b)](_0x2ff2db),this[_0x54e73d(0x280)]instanceof _0x23b5a7&&this[_0x54e73d(0x280)]['ui'][_0x54e73d(0x246)][_0x54e73d(0x21b)](_0x2ff2db);});}[_0x32b3ba(0x1f4)](_0x1fe320){const _0x4f01aa=_0x32b3ba;this[_0x4f01aa(0x258)](_0x1fe320,_0x4f01aa(0x1f6)),this[_0x4f01aa(0x258)](_0x1fe320,_0x4f01aa(0x254));}[_0x32b3ba(0x29e)](_0x549c38){const _0x562a38=_0x32b3ba,_0x1a771f=this[_0x562a38(0x280)][_0x562a38(0x23c)][_0x562a38(0x237)](_0x7cb4b2),{config:_0x1695b7,locale:_0x3c7a63}=this[_0x562a38(0x280)],_0x5ddae4=_0x141e46(_0x1695b7[_0x562a38(0x237)](_0x562a38(0x267)));return new(0x0,(_0x1695b7[_0x562a38(0x237)](_0x562a38(0x29c)))[(_0x562a38(0x221))])(_0x3c7a63,_0x549c38,_0x1a771f['me'],{'editorConfig':{..._0x1695b7[_0x562a38(0x237)](_0x562a38(0x2c5)),'licenseKey':this[_0x562a38(0x280)][_0x562a38(0x24c)][_0x562a38(0x237)](_0x562a38(0x21f))},'copyMarkers':_0x1695b7[_0x562a38(0x237)](_0x562a38(0x25e)),'maxCommentsWhenCollapsed':_0x1695b7[_0x562a38(0x237)](_0x562a38(0x218)),'maxThreadTotalWeight':_0x1695b7[_0x562a38(0x237)](_0x562a38(0x1fe)),'maxCommentCharsWhenCollapsed':_0x1695b7[_0x562a38(0x237)](_0x562a38(0x259)),'formatDateTime':_0x5ddae4,'CommentView':_0x1695b7[_0x562a38(0x237)](_0x562a38(0x29c))[_0x562a38(0x22c)]});}[_0x32b3ba(0x1f0)]({threadId:_0x34c03f,channelId:_0x28d40e,resolvedAt:_0x461b64,resolvedBy:_0x2c5daa,isFromAdapter:_0x5b22f0}){const _0x353749=_0x32b3ba;if(!this[_0x353749(0x2ad)](_0x34c03f))throw new _0x5054f8(_0x353749(0x234),null,{'threadId':_0x34c03f});const _0x552820=this[_0x353749(0x29b)](_0x34c03f);if(_0x552820[_0x353749(0x2c8)])throw new _0x5054f8(_0x353749(0x21a),null,{'threadId':_0x34c03f});const _0x240eec=this[_0x353749(0x280)][_0x353749(0x23c)][_0x353749(0x237)](_0x7cb4b2);if(_0x552820[_0x353749(0x1eb)]=_0x240eec[_0x353749(0x298)](_0x2c5daa),_0x552820[_0x353749(0x2af)]=_0x461b64,_0x5b22f0||!this[_0x353749(0x273)]||_0x353749(0x213)!=typeof this[_0x353749(0x273)][_0x353749(0x23a)])return Promise[_0x353749(0x293)]();const _0xd07df5=this[_0x353749(0x280)][_0x353749(0x23c)][_0x353749(0x237)](_0x353749(0x1ea)),_0x310a7f=_0xd07df5[_0x353749(0x1e9)](_0x23244f(this[_0x353749(0x280)][_0x353749(0x267)],_0x353749(0x2bc)));return this[_0x353749(0x273)][_0x353749(0x23a)]({'channelId':_0x28d40e,'threadId':_0x34c03f})[_0x353749(0x2ae)](({resolvedAt:_0x77b384,resolvedBy:_0x1c8f3b})=>{const _0x1c6572=_0x353749;_0xd07df5[_0x1c6572(0x21b)](_0x310a7f),_0x552820[_0x1c6572(0x1eb)]['id']!==_0x1c8f3b&&(_0x552820[_0x1c6572(0x1eb)]=_0x240eec[_0x1c6572(0x298)](_0x1c8f3b)),_0x552820[_0x1c6572(0x2af)]=_0x77b384;})[_0x353749(0x2b7)](_0xcbb59a=>{const _0x2cc200=_0x353749;throw console[_0x2cc200(0x22d)](_0xcbb59a),new _0x5054f8(_0x2cc200(0x214),this);});}[_0x32b3ba(0x219)]({threadId:_0x5e35e0,channelId:_0x3eaf25,isFromAdapter:_0x45923d}){const _0x1b3055=_0x32b3ba;if(!this[_0x1b3055(0x2ad)](_0x5e35e0))throw new _0x5054f8(_0x1b3055(0x234),null,{'threadId':_0x5e35e0});const _0x33820a=this[_0x1b3055(0x29b)](_0x5e35e0);if(!_0x33820a[_0x1b3055(0x2c8)])throw new _0x5054f8(_0x1b3055(0x2c0),null,{'threadId':_0x5e35e0});if(_0x33820a[_0x1b3055(0x1eb)]=null,_0x33820a[_0x1b3055(0x2af)]=null,_0x45923d||!this[_0x1b3055(0x273)]||_0x1b3055(0x213)!=typeof this[_0x1b3055(0x273)][_0x1b3055(0x26e)])return Promise[_0x1b3055(0x293)]();const _0x1c67d0=this[_0x1b3055(0x280)][_0x1b3055(0x23c)][_0x1b3055(0x237)](_0x1b3055(0x1ea)),_0x5c090e=_0x1c67d0[_0x1b3055(0x1e9)](_0x23244f(this[_0x1b3055(0x280)][_0x1b3055(0x267)],_0x1b3055(0x2bc)));return this[_0x1b3055(0x273)][_0x1b3055(0x26e)]({'channelId':_0x3eaf25,'threadId':_0x5e35e0})[_0x1b3055(0x2ae)](()=>_0x1c67d0[_0x1b3055(0x21b)](_0x5c090e))[_0x1b3055(0x2b7)](_0x13edfd=>{const _0x381954=_0x1b3055;throw console[_0x381954(0x22d)](_0x13edfd),new _0x5054f8(_0x381954(0x2a4),this);});}[_0x32b3ba(0x1fd)]({threadId:_0x1276fe,isFromAdapter:_0x16aacb}){const _0x46616b=_0x32b3ba,_0x4a5c48=this[_0x46616b(0x29b)](_0x1276fe);if(!_0x4a5c48)throw new _0x5054f8(_0x46616b(0x290),this);if(this[_0x46616b(0x255)](_0x1276fe),this[_0x46616b(0x264)][_0x46616b(0x2c9)](_0x1276fe),!_0x4a5c48[_0x46616b(0x288)]||_0x16aacb||!this[_0x46616b(0x273)]||_0x46616b(0x213)!=typeof this[_0x46616b(0x273)][_0x46616b(0x26d)])return Promise[_0x46616b(0x293)]();const _0x2538e9=this[_0x46616b(0x280)][_0x46616b(0x23c)][_0x46616b(0x237)](_0x46616b(0x1ea)),{channelId:_0x298e77}=_0x4a5c48,_0xeabee7=_0x2538e9[_0x46616b(0x1e9)](_0x23244f(this[_0x46616b(0x280)][_0x46616b(0x267)],_0x46616b(0x2bc)));return this[_0x46616b(0x273)][_0x46616b(0x26d)]({'channelId':_0x298e77,'threadId':_0x1276fe})[_0x46616b(0x2ae)](()=>_0x2538e9[_0x46616b(0x21b)](_0xeabee7))[_0x46616b(0x2b7)](_0xb0e8d8=>{const _0x343e62=_0x46616b;throw console[_0x343e62(0x22d)](_0xb0e8d8),new _0x5054f8(_0x343e62(0x21d),this);});}[_0x32b3ba(0x270)]({threadId:_0x275cb3,unlinkedAt:_0x558325,context:_0x1f253b,attributes:_0x2b8ede,isFromAdapter:_0x11b87a}){const _0xb8714a=_0x32b3ba;if(_0xb8714a(0x2b5)!=typeof _0x275cb3)throw new _0x5054f8(_0xb8714a(0x2cd),null,{'threadId':_0x275cb3});if(!this[_0xb8714a(0x2ad)](_0x275cb3))throw new _0x5054f8(_0xb8714a(0x234),null,{'threadId':_0x275cb3});const _0x2a7e24=this[_0xb8714a(0x29b)](_0x275cb3);let _0xabfb07=!0x1;if(void 0x0!==_0x1f253b&&_0x2a7e24[_0xb8714a(0x280)]!==_0x1f253b&&(_0x2a7e24[_0xb8714a(0x280)]=_0x1f253b,_0xabfb07=!0x0),void 0x0!==_0x558325&&_0x2a7e24[_0xb8714a(0x23f)]!==_0x558325&&(_0x2a7e24[_0xb8714a(0x23f)]=_0x558325,_0xabfb07=!0x0),_0x2b8ede&&!_0x1fa3d0(_0x2b8ede,_0x2a7e24[_0xb8714a(0x297)])&&(_0x2a7e24[_0xb8714a(0x297)]=_0x2b8ede,_0xabfb07=!0x0),!_0xabfb07)return Promise[_0xb8714a(0x293)]();if(!_0x2a7e24[_0xb8714a(0x288)]||_0x11b87a||!this[_0xb8714a(0x273)]||_0xb8714a(0x213)!=typeof this[_0xb8714a(0x273)][_0xb8714a(0x233)])return Promise[_0xb8714a(0x293)]();const _0x477d6f=this[_0xb8714a(0x280)][_0xb8714a(0x23c)][_0xb8714a(0x237)](_0xb8714a(0x1ea)),{channelId:_0x2ef910}=_0x2a7e24,_0x3148cc=_0x477d6f[_0xb8714a(0x1e9)](_0x23244f(this[_0xb8714a(0x280)][_0xb8714a(0x267)],_0xb8714a(0x2bc)));return this[_0xb8714a(0x273)][_0xb8714a(0x233)]({'channelId':_0x2ef910,'threadId':_0x275cb3,'context':_0x1f253b,'unlinkedAt':_0x558325,'attributes':_0x2b8ede})[_0xb8714a(0x2ae)](()=>_0x477d6f[_0xb8714a(0x21b)](_0x3148cc))[_0xb8714a(0x2b7)](_0x3a977f=>{const _0xf4fabb=_0xb8714a;throw console[_0xf4fabb(0x22d)](_0x3a977f),new _0x5054f8(_0xf4fabb(0x2ca),this);});}[_0x32b3ba(0x255)](_0x2555d2){const _0x5fc860=_0x32b3ba,_0x528129=this[_0x5fc860(0x280)][_0x5fc860(0x23c)][_0x5fc860(0x237)](_0x278e0c),_0x98a059=this[_0x5fc860(0x29b)](_0x2555d2);if(this[_0x5fc860(0x299)][_0x5fc860(0x245)](_0x98a059)){const _0x161119=this[_0x5fc860(0x299)][_0x5fc860(0x237)](_0x98a059),_0x29da0d=_0x161119[_0x5fc860(0x1ec)],_0x5e215e=_0x528129[_0x5fc860(0x262)](_0x29da0d);this[_0x5fc860(0x299)][_0x5fc860(0x2c9)](_0x98a059),this[_0x5fc860(0x210)][_0x5fc860(0x2c9)](_0x29da0d),_0x5e215e&&_0x528129[_0x5fc860(0x21b)](_0x5e215e),_0x161119[_0x5fc860(0x253)](),_0x29da0d[_0x5fc860(0x253)]()[_0x5fc860(0x2ae)](()=>{const _0x513eda=_0x5fc860;this[_0x513eda(0x1f4)](_0x29da0d);});}}[_0x32b3ba(0x26f)]({threadId:_0x29190a,resolvedAt:_0x101b0c}){const _0x56ae4d=_0x32b3ba,_0x44f8c1=!!_0x101b0c,_0x117398=this[_0x56ae4d(0x280)][_0x56ae4d(0x23c)][_0x56ae4d(0x237)](_0x278e0c),_0x4c83db=this[_0x56ae4d(0x29b)](_0x29190a);if(this[_0x56ae4d(0x299)][_0x56ae4d(0x245)](_0x4c83db)){const _0x7d27e0=this[_0x56ae4d(0x299)][_0x56ae4d(0x237)](_0x4c83db)[_0x56ae4d(0x1ec)],_0x9934c6=_0x117398[_0x56ae4d(0x262)](_0x7d27e0);_0x9934c6&&(_0x44f8c1&&_0x117398[_0x56ae4d(0x2a6)](_0x9934c6),_0x9934c6[_0x56ae4d(0x2c4)]());}}[_0x32b3ba(0x27d)](_0x5197c4){const _0x259b91=_0x32b3ba,_0x311ce4=this[_0x259b91(0x280)][_0x259b91(0x23c)][_0x259b91(0x237)](_0x7cb4b2),_0x145102=_0x317943(_0x259b91(0x204)+_0x5197c4),_0x31a36c=_0x311ce4[_0x259b91(0x298)](_0x145102);return _0x31a36c||_0x311ce4[_0x259b91(0x27a)]({'id':_0x145102,'name':_0x5197c4});}[_0x32b3ba(0x27e)]({threadId:_0x16542c,commentId:_0x38249a=_0x1e787d(),content:_0x3fb5b5,authorId:_0x462940,createdAt:_0x542282,attributes:_0x28bb24}){const _0x13090b=_0x32b3ba;if(_0x13090b(0x2b5)!=typeof _0x38249a)throw new _0x5054f8(_0x13090b(0x207));if(_0x13090b(0x2b5)!=typeof _0x462940)throw new _0x5054f8(_0x13090b(0x22f));if(_0x13090b(0x2b5)!=typeof _0x3fb5b5||!_0x3fb5b5[_0x13090b(0x1ef)]())throw new _0x5054f8(_0x13090b(0x266));const _0x253d0c=this[_0x13090b(0x280)][_0x13090b(0x23c)][_0x13090b(0x237)](_0x7cb4b2)[_0x13090b(0x298)](_0x462940);if(!_0x253d0c)throw new _0x5054f8(_0x13090b(0x200),null,{'authorId':_0x462940});let _0x27c3ee=null,_0x811243=_0x542282;return _0x28bb24&&_0x28bb24[_0x13090b(0x2b2)]&&(_0x27c3ee=this[_0x13090b(0x27d)](_0x28bb24[_0x13090b(0x2b2)][_0x13090b(0x203)]),_0x811243=new Date(_0x28bb24[_0x13090b(0x2b2)][_0x13090b(0x275)])),new Comment(this,{'threadId':_0x16542c,'id':_0x38249a,'author':_0x27c3ee||_0x253d0c,'creator':_0x253d0c,'content':_0x3fb5b5,'createdAt':_0x542282,'authoredAt':_0x811243,'attributes':_0x28bb24});}[_0x32b3ba(0x1f9)](_0x5dfb43){const _0x43916d=_0x32b3ba;let {threadId:_0x4d9388,content:_0x1087de,attributes:_0x15ae4c,isFromAdapter:_0x23ede1}=_0x5dfb43;const _0x5974b4=this[_0x43916d(0x29b)](_0x5dfb43[_0x43916d(0x2a8)]);if(!_0x5974b4)throw new _0x5054f8(_0x43916d(0x2c7),this);const _0x2e58fc=this[_0x43916d(0x27e)](_0x5dfb43),{id:_0x2ada98}=_0x2e58fc;if(_0x5974b4[_0x43916d(0x257)](_0x2e58fc),_0x23ede1||!this[_0x43916d(0x273)]||_0x43916d(0x213)!=typeof this[_0x43916d(0x273)][_0x43916d(0x263)]||!_0x5974b4[_0x43916d(0x288)])return Promise[_0x43916d(0x293)]();const _0xdad52b=this[_0x43916d(0x280)][_0x43916d(0x23c)][_0x43916d(0x237)](_0x43916d(0x1ea)),{channelId:_0x52207e}=_0x5974b4,_0x323a03=_0xdad52b[_0x43916d(0x1e9)](_0x23244f(this[_0x43916d(0x280)][_0x43916d(0x267)],_0x43916d(0x2bc)));return _0x15ae4c||(_0x15ae4c={}),this[_0x43916d(0x273)][_0x43916d(0x263)]({'channelId':_0x52207e,'threadId':_0x4d9388,'commentId':_0x2ada98,'content':_0x1087de,'attributes':_0x15ae4c})[_0x43916d(0x2ae)](_0x174d70=>{const _0x3b022b=_0x43916d;_0xdad52b[_0x3b022b(0x21b)](_0x323a03),_0x174d70&&this[_0x3b022b(0x230)]({'channelId':_0x52207e,'threadId':_0x4d9388,'commentId':_0x2ada98,'createdAt':_0x174d70[_0x3b022b(0x275)],'isFromAdapter':!0x0});})[_0x43916d(0x2b7)](_0x224764=>{const _0x5a4e47=_0x43916d;throw console[_0x5a4e47(0x22d)](_0x224764),new _0x5054f8(_0x5a4e47(0x222),this);});}[_0x32b3ba(0x230)]({threadId:_0x2b5e63,commentId:_0x4f8fae,content:_0x2e001a,createdAt:_0x2a5280,attributes:_0x2595e0,isFromAdapter:_0x1dd72b}){const _0x4faaa9=_0x32b3ba;if(void 0x0!==_0x2e001a&&(_0x4faaa9(0x2b5)!=typeof _0x2e001a||!_0x2e001a[_0x4faaa9(0x1ef)]()[_0x4faaa9(0x1e7)]))throw new _0x5054f8(_0x4faaa9(0x282));const _0x221acf=this[_0x4faaa9(0x29b)](_0x2b5e63),_0x3af942=_0x221acf[_0x4faaa9(0x228)](_0x4f8fae);if(!_0x3af942)throw new _0x5054f8(_0x4faaa9(0x21c),this);let _0x281b1a=!0x1;if(_0x2e001a&&_0x2e001a!==_0x3af942[_0x4faaa9(0x296)]&&(_0x3af942[_0x4faaa9(0x20d)]||_0x1dd72b)&&(_0x3af942[_0x4faaa9(0x296)]=_0x2e001a,_0x281b1a=!0x0),_0x2a5280&&_0x2a5280!==_0x3af942[_0x4faaa9(0x275)]&&(_0x3af942[_0x4faaa9(0x275)]=_0x2a5280,_0x3af942[_0x4faaa9(0x297)]&&_0x3af942[_0x4faaa9(0x297)][_0x4faaa9(0x2b2)]||(_0x3af942[_0x4faaa9(0x29a)]=_0x2a5280),_0x281b1a=!0x0),_0x2595e0&&!_0x1fa3d0(_0x2595e0,_0x3af942[_0x4faaa9(0x297)])&&(_0x3af942[_0x4faaa9(0x297)]=_0x2595e0,_0x281b1a=!0x0),!_0x281b1a)return Promise[_0x4faaa9(0x293)]();if(_0x221acf[_0x4faaa9(0x208)](_0x4faaa9(0x215)),_0x1dd72b||!this[_0x4faaa9(0x273)]||_0x4faaa9(0x213)!=typeof this[_0x4faaa9(0x273)][_0x4faaa9(0x2b3)])return Promise[_0x4faaa9(0x293)]();const _0x99b95c=this[_0x4faaa9(0x280)][_0x4faaa9(0x23c)][_0x4faaa9(0x237)](_0x4faaa9(0x1ea)),{channelId:_0x5a0ecf}=this[_0x4faaa9(0x29b)](_0x3af942[_0x4faaa9(0x2a8)]),_0x36ea2f=_0x99b95c[_0x4faaa9(0x1e9)](_0x23244f(this[_0x4faaa9(0x280)][_0x4faaa9(0x267)],_0x4faaa9(0x2bc)));return this[_0x4faaa9(0x273)][_0x4faaa9(0x2b3)]({'channelId':_0x5a0ecf,'threadId':_0x2b5e63,'commentId':_0x4f8fae,'content':_0x2e001a,'attributes':_0x2595e0})[_0x4faaa9(0x2ae)](()=>_0x99b95c[_0x4faaa9(0x21b)](_0x36ea2f))[_0x4faaa9(0x2b7)](_0x51f76e=>{const _0x25b304=_0x4faaa9;throw console[_0x25b304(0x22d)](_0x51f76e),new _0x5054f8(_0x25b304(0x2b4),this);});}[_0x32b3ba(0x289)]({threadId:_0x1ef6e6,commentId:_0x12a7f8,isFromAdapter:_0x4289c2}){const _0x504f02=_0x32b3ba,_0x50c070=this[_0x504f02(0x29b)](_0x1ef6e6),_0x1bf299=_0x50c070[_0x504f02(0x228)](_0x12a7f8);if(!_0x1bf299)throw new _0x5054f8(_0x504f02(0x20f),this);if(_0x50c070[_0x504f02(0x247)](_0x1bf299),_0x4289c2||!this[_0x504f02(0x273)]||_0x504f02(0x213)!=typeof this[_0x504f02(0x273)][_0x504f02(0x23d)])return Promise[_0x504f02(0x293)]();const _0x1dd308=this[_0x504f02(0x280)][_0x504f02(0x23c)][_0x504f02(0x237)](_0x504f02(0x1ea)),{channelId:_0x499b9c}=_0x50c070,_0x2dce01=_0x1dd308[_0x504f02(0x1e9)](_0x23244f(this[_0x504f02(0x280)][_0x504f02(0x267)],_0x504f02(0x2bc)));return this[_0x504f02(0x273)][_0x504f02(0x23d)]({'channelId':_0x499b9c,'threadId':_0x1ef6e6,'commentId':_0x12a7f8})[_0x504f02(0x2ae)](()=>_0x1dd308[_0x504f02(0x21b)](_0x2dce01))[_0x504f02(0x2b7)](_0x5c20d0=>{const _0x5cae66=_0x504f02;throw console[_0x5cae66(0x22d)](_0x5c20d0),new _0x5054f8(_0x5cae66(0x28e),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1a7d19(){constructor(_0x46d156,_0x4d1f13){const _0x21863a=_0x32b3ba;super();const _0xcfa003=_0x4d1f13[_0x21863a(0x2b1)];this[_0x21863a(0x286)]=_0x4d1f13[_0x21863a(0x286)],this['id']=_0x4d1f13['id'],this[_0x21863a(0x29c)]=new _0x1852ee(),this[_0x21863a(0x2ac)]=_0x46d156,this[_0x21863a(0x2a9)]=!0x1,this[_0x21863a(0x242)]=_0x4d1f13[_0x21863a(0x288)],this[_0x21863a(0x28b)](_0x21863a(0x2c3),!0x0),this[_0x21863a(0x24f)](_0x21863a(0x2b0))['to'](_0x46d156,_0x21863a(0x1f1),_0x46d156,_0x21863a(0x283),()=>_0x46d156[_0x21863a(0x2b0)](this[_0x21863a(0x286)])),this[_0x21863a(0x24f)](_0x21863a(0x2a0))['to'](_0x46d156,_0x21863a(0x1f1),()=>_0x46d156[_0x21863a(0x1f2)](this[_0x21863a(0x286)])[_0x21863a(0x24b)]),this[_0x21863a(0x24f)](_0x21863a(0x224))['to'](_0x46d156,_0x21863a(0x1f1),()=>{const _0x23d83c=_0x21863a,_0x1260d6=_0x46d156[_0x23d83c(0x1f2)](this[_0x23d83c(0x286)]);return _0x1260d6[_0x23d83c(0x256)]||_0x1260d6[_0x23d83c(0x24b)];}),this[_0x21863a(0x24f)](_0x21863a(0x2b1))['to'](_0x46d156,_0x21863a(0x1f1),()=>_0xcfa003&&_0x46d156[_0x21863a(0x1f2)](this[_0x21863a(0x286)])[_0x21863a(0x293)]),this[_0x21863a(0x28b)](_0x21863a(0x280),_0x4d1f13[_0x21863a(0x280)]),this[_0x21863a(0x24f)](_0x21863a(0x212))['to'](this,_0x21863a(0x2af),this,_0x21863a(0x23f),(_0x4fd4d4,_0x4a0658)=>_0x4fd4d4?_0x4a0658?_0x4fd4d4<_0x4a0658?_0x4fd4d4:_0x4a0658:_0x4fd4d4:_0x4a0658),this[_0x21863a(0x28b)](_0x21863a(0x23f),_0x4d1f13[_0x21863a(0x23f)]||null),this[_0x21863a(0x28b)](_0x21863a(0x2af),_0x4d1f13[_0x21863a(0x2af)]||null),this[_0x21863a(0x28b)](_0x21863a(0x1eb),_0x4d1f13[_0x21863a(0x1eb)]||null),this[_0x21863a(0x24f)](_0x21863a(0x2c8))['to'](this,_0x21863a(0x2af),_0x2b66bc=>!!_0x2b66bc),this[_0x21863a(0x28b)](_0x21863a(0x297),_0x4d1f13[_0x21863a(0x297)]||{});}get[_0x32b3ba(0x244)](){const _0x21688b=_0x32b3ba;return Array[_0x21688b(0x28c)](this[_0x21688b(0x29c)])[_0x21688b(0x27f)]((_0x3c1f6c,_0x6c236e)=>_0x3c1f6c+_0x6c236e[_0x21688b(0x244)],0x0);}get[_0x32b3ba(0x1e7)](){const _0x15a1b6=_0x32b3ba;return this[_0x15a1b6(0x29c)][_0x15a1b6(0x1e7)];}get[_0x32b3ba(0x217)](){const _0x55273b=_0x32b3ba;return this[_0x55273b(0x2a9)];}get[_0x32b3ba(0x288)](){const _0x3a6dbb=_0x32b3ba;return this[_0x3a6dbb(0x242)];}[_0x32b3ba(0x211)](){const _0x32eab5=_0x32b3ba,{channelId:_0x4df485,id:_0x3d0bd4}=this;this[_0x32eab5(0x2ac)][_0x32eab5(0x208)](Nt(_0x32eab5(0x26c),_0x4df485),{'channelId':_0x4df485,'threadId':_0x3d0bd4});}[_0x32b3ba(0x251)](_0x1e55dc){const _0x2b65f8=_0x32b3ba;this[_0x2b65f8(0x25b)]({'unlinkedAt':_0x1e55dc});}[_0x32b3ba(0x293)]({resolvedAt:_0x271453=new Date(),resolvedBy:_0x1a68b0=null,isFromAdapter:_0x37ab00=!0x1}={}){const _0x2b5d3c=_0x32b3ba,_0x154bd2=this[_0x2b5d3c(0x2ac)][_0x2b5d3c(0x280)][_0x2b5d3c(0x23c)][_0x2b5d3c(0x237)](_0x7cb4b2)['me'],{channelId:_0x21ae50,id:_0x35d11b}=this;this[_0x2b5d3c(0x2ac)][_0x2b5d3c(0x208)](Nt(_0x2b5d3c(0x23a),_0x21ae50),{'channelId':_0x21ae50,'threadId':_0x35d11b,'resolvedAt':_0x271453,'resolvedBy':_0x1a68b0||_0x154bd2['id'],'isFromAdapter':_0x37ab00});}[_0x32b3ba(0x1f7)]({isFromAdapter:_0x20e73d=!0x1}={}){const _0x308522=_0x32b3ba,{channelId:_0x2763c8,id:_0x16dc6e}=this;this[_0x308522(0x2ac)][_0x308522(0x208)](Nt(_0x308522(0x26e),_0x2763c8),{'channelId':_0x2763c8,'threadId':_0x16dc6e,'isFromAdapter':_0x20e73d});}[_0x32b3ba(0x209)](_0x2b9596){const _0x6457a4=_0x32b3ba;this[_0x6457a4(0x280)]||this[_0x6457a4(0x25b)]({'context':_0x2b9596});}[_0x32b3ba(0x23e)](_0x12608e,_0x11828a){const _0x21847c=_0x32b3ba,_0x401c6d=_0x5e59b2(this[_0x21847c(0x297)]);_0x36d948(_0x401c6d,_0x12608e,_0x11828a),this[_0x21847c(0x25b)]({'attributes':_0x401c6d});}[_0x32b3ba(0x2be)](_0x4ab5f0){const _0x61b1d=_0x32b3ba,_0xe25b95=_0x5e59b2(this[_0x61b1d(0x297)]);_0x5016eb(_0xe25b95,_0x4ab5f0),this[_0x61b1d(0x25b)]({'attributes':_0xe25b95});}[_0x32b3ba(0x21b)]({isFromAdapter:_0x5d277a=!0x1}={}){const _0x229963=_0x32b3ba,{channelId:_0x1ef06f,id:_0x1e5ab5}=this;this[_0x229963(0x2ac)][_0x229963(0x208)](Nt(_0x229963(0x26d),_0x1ef06f),{'channelId':_0x1ef06f,'threadId':_0x1e5ab5,'isFromAdapter':_0x5d277a});}[_0x32b3ba(0x271)](_0x48fb5c){const _0x5d7913=_0x32b3ba;return this[_0x5d7913(0x2ac)][_0x5d7913(0x2bb)]({'threadId':this['id'],'target':_0x48fb5c});}[_0x32b3ba(0x263)](_0x5e176c){const _0x34705b=_0x32b3ba,{channelId:_0x4e0877,id:_0x364a6d}=this;this[_0x34705b(0x2ac)][_0x34705b(0x208)](Nt(_0x34705b(0x263),_0x4e0877,_0x364a6d),Object[_0x34705b(0x2cb)]({'channelId':_0x4e0877,'threadId':_0x364a6d},_0x5e176c));}[_0x32b3ba(0x228)](_0x44152c){const _0x4451ad=_0x32b3ba;if(_0x4451ad(0x2b5)!=typeof _0x44152c)throw new _0x5054f8(_0x4451ad(0x1fb),null,{'commentId':_0x44152c});return this[_0x4451ad(0x29c)][_0x4451ad(0x237)](_0x44152c);}[_0x32b3ba(0x285)](){const _0x4f6648=_0x32b3ba;return{'threadId':this['id'],'context':this[_0x4f6648(0x280)],'unlinkedAt':this[_0x4f6648(0x23f)],'resolvedAt':this[_0x4f6648(0x2af)],'resolvedBy':this[_0x4f6648(0x1eb)]?this[_0x4f6648(0x1eb)]['id']:null,'archivedAt':this[_0x4f6648(0x212)],'comments':this[_0x4f6648(0x29c)][_0x4f6648(0x2c6)](_0x58c5d0=>_0x58c5d0[_0x4f6648(0x285)]()),'attributes':this[_0x4f6648(0x297)]};}[_0x32b3ba(0x257)](_0x1a12ec){const _0x198fcb=_0x32b3ba;return this[_0x198fcb(0x25c)](_0x1a12ec,_0x198fcb(0x260),()=>{const _0x5d69de=_0x198fcb,_0x5c1a86=this[_0x5d69de(0x252)](_0x1a12ec),_0x1f309c=this[_0x5d69de(0x29c)];_0x5c1a86-0x1!=_0x1f309c[_0x5d69de(0x276)](_0x1a12ec)&&_0x5c1a86+0x1!=_0x1f309c[_0x5d69de(0x276)](_0x1a12ec)&&(this[_0x5d69de(0x247)](_0x1a12ec),this[_0x5d69de(0x257)](_0x1a12ec));}),this[_0x198fcb(0x29c)][_0x198fcb(0x1e9)](_0x1a12ec,this[_0x198fcb(0x252)](_0x1a12ec));}[_0x32b3ba(0x25b)](_0x325599){const _0x35fe5b=_0x32b3ba,{channelId:_0x107d30,id:_0x4a8644}=this;this[_0x35fe5b(0x2ac)][_0x35fe5b(0x208)](Nt(_0x35fe5b(0x233),_0x107d30),{..._0x325599,'channelId':_0x107d30,'threadId':_0x4a8644});}[_0x32b3ba(0x247)](_0xf9720a){const _0x3e08ab=_0x32b3ba;return this[_0x3e08ab(0x258)](_0xf9720a),_0xf9720a[_0x3e08ab(0x253)](),this[_0x3e08ab(0x29c)][_0x3e08ab(0x21b)](_0xf9720a);}[_0x32b3ba(0x252)](_0x3d7793){const _0x4db641=_0x32b3ba,_0x5a3237=this[_0x4db641(0x29c)][_0x4db641(0x1e8)](_0x4f2762=>new Date(_0x4f2762[_0x4db641(0x29a)])[_0x4db641(0x287)]()>new Date(_0x3d7793[_0x4db641(0x29a)])[_0x4db641(0x287)]());return _0x5a3237?this[_0x4db641(0x29c)][_0x4db641(0x276)](_0x5a3237):this[_0x4db641(0x1e7)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x1a7d19(){constructor(_0x45b4b3,_0x1cbf6d){const _0x31ebff=_0x32b3ba;super();const _0x4d7bfc=_0x45b4b3[_0x31ebff(0x280)][_0x31ebff(0x23c)][_0x31ebff(0x237)](_0x7cb4b2)['me'],_0x2c2ba6=_0x45b4b3[_0x31ebff(0x29b)](_0x1cbf6d[_0x31ebff(0x2a8)]),_0x2e162f=0x0===_0x2c2ba6[_0x31ebff(0x29c)][_0x31ebff(0x1e7)],_0x2a9cc1=_0x4d7bfc===_0x1cbf6d[_0x31ebff(0x20c)];this['id']=_0x1cbf6d['id'],this[_0x31ebff(0x2a8)]=_0x1cbf6d[_0x31ebff(0x2a8)],this[_0x31ebff(0x20c)]=_0x1cbf6d[_0x31ebff(0x20c)],this[_0x31ebff(0x226)]=_0x1cbf6d[_0x31ebff(0x226)],this[_0x31ebff(0x279)]=Boolean(_0x1cbf6d[_0x31ebff(0x297)]&&_0x1cbf6d[_0x31ebff(0x297)][_0x31ebff(0x2b2)]),this[_0x31ebff(0x28b)](_0x31ebff(0x296),_0x1cbf6d[_0x31ebff(0x296)]),this[_0x31ebff(0x275)]=_0x1cbf6d[_0x31ebff(0x275)]||new Date(),this[_0x31ebff(0x28b)](_0x31ebff(0x29a),_0x1cbf6d[_0x31ebff(0x29a)]||new Date()),this[_0x31ebff(0x24f)](_0x31ebff(0x2af))['to'](_0x2c2ba6,_0x31ebff(0x2af)),this[_0x31ebff(0x28b)](_0x31ebff(0x297),_0x1cbf6d[_0x31ebff(0x297)]||{}),this[_0x31ebff(0x24f)](_0x31ebff(0x20d))['to'](_0x45b4b3,_0x31ebff(0x1f1),()=>{const _0xdb603=_0x31ebff,_0x24fa3c=_0x45b4b3[_0xdb603(0x1f2)](_0x2c2ba6[_0xdb603(0x286)])[_0xdb603(0x256)],_0x5d8a9f=_0x45b4b3[_0xdb603(0x1f2)](_0x2c2ba6[_0xdb603(0x286)])[_0xdb603(0x250)];return _0x2a9cc1&&_0x24fa3c||!_0x2a9cc1&&_0x5d8a9f;}),this[_0x31ebff(0x24f)](_0x31ebff(0x2a0))['to'](_0x2c2ba6,_0x31ebff(0x2a0),_0x45b4b3,_0x31ebff(0x1f1),_0x3ac2c4=>{const _0x338add=_0x31ebff,_0x20da0e=_0x45b4b3[_0x338add(0x1f2)](_0x2c2ba6[_0x338add(0x286)])[_0x338add(0x256)],_0x1a020c=_0x45b4b3[_0x338add(0x1f2)](_0x2c2ba6[_0x338add(0x286)])[_0x338add(0x250)];return _0x2a9cc1&&_0x20da0e||_0x3ac2c4&&_0x2e162f||!_0x2a9cc1&&_0x1a020c&&!_0x2e162f;}),this[_0x31ebff(0x24f)](_0x31ebff(0x2b0))['to'](_0x2c2ba6,_0x31ebff(0x2b0)),this[_0x31ebff(0x2ac)]=_0x45b4b3;}get[_0x32b3ba(0x244)](){const _0x7d40a2=_0x32b3ba;return Math[_0x7d40a2(0x1ed)](function(_0x11931f){const _0x4dee7e=_0x7d40a2,_0x9f1fd9=document[_0x4dee7e(0x29f)](_0x4dee7e(0x2ba));return _0x9f1fd9[_0x4dee7e(0x1ee)]=_0x11931f,_0x9f1fd9[_0x4dee7e(0x2ab)][_0x4dee7e(0x1e7)];}(this[_0x7d40a2(0x296)]),0xc8);}[_0x32b3ba(0x239)](_0x5f56a2){const _0x3154c2=_0x32b3ba,{threadId:_0x16ef21,id:_0x36041f}=this;if(!this[_0x3154c2(0x2ac)][_0x3154c2(0x2ad)](_0x16ef21))throw new _0x5054f8(_0x3154c2(0x2b6),this);const {channelId:_0x77c937}=this[_0x3154c2(0x2ac)][_0x3154c2(0x29b)](_0x16ef21);this[_0x3154c2(0x2ac)][_0x3154c2(0x208)](Nt(_0x3154c2(0x2b3),_0x77c937,_0x16ef21),{'channelId':_0x77c937,'threadId':_0x16ef21,'commentId':_0x36041f,..._0x5f56a2});}[_0x32b3ba(0x23e)](_0x5b95eb,_0x2262d7){const _0x372a24=_0x32b3ba,_0x2d98a3=_0x5e59b2(this[_0x372a24(0x297)]);_0x36d948(_0x2d98a3,_0x5b95eb,_0x2262d7),this[_0x372a24(0x239)]({'attributes':_0x2d98a3});}[_0x32b3ba(0x2be)](_0x2d649a){const _0x5bdc6b=_0x32b3ba,_0x21883d=_0x5e59b2(this[_0x5bdc6b(0x297)]);_0x5016eb(_0x21883d,_0x2d649a),this[_0x5bdc6b(0x239)]({'attributes':_0x21883d});}[_0x32b3ba(0x21b)](_0x3f7483={}){const _0xfc1bae=_0x32b3ba;if(!_0x3f7483[_0xfc1bae(0x223)]&&!this[_0xfc1bae(0x2a0)])return;const {threadId:_0x54baa8,id:_0x38aa3e}=this;if(!this[_0xfc1bae(0x2ac)][_0xfc1bae(0x2ad)](_0x54baa8))throw new _0x5054f8(_0xfc1bae(0x2b8),this);const {channelId:_0x170775}=this[_0xfc1bae(0x2ac)][_0xfc1bae(0x29b)](_0x54baa8);this[_0xfc1bae(0x2ac)][_0xfc1bae(0x208)](Nt(_0xfc1bae(0x23d),_0x170775,_0x54baa8),{'channelId':_0x170775,'threadId':_0x54baa8,'commentId':_0x38aa3e,..._0x3f7483});}[_0x32b3ba(0x285)](){const _0x38b667=_0x32b3ba;return{'commentId':this['id'],'content':this[_0x38b667(0x296)],'createdAt':this[_0x38b667(0x275)],'authorId':this[_0x38b667(0x226)]['id'],'attributes':this[_0x38b667(0x297)]};}[_0x32b3ba(0x253)](){const _0x22b7ea=_0x32b3ba;this[_0x22b7ea(0x258)]();}}function Nt(_0x2bf32c,..._0x33aef3){for(const _0x4daa8a of _0x33aef3)void 0x0!==_0x4daa8a&&(_0x2bf32c+=':'+String(_0x4daa8a));return _0x2bf32c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c1941=_0xe24e;(function(_0x28ac09,_0x2f79f6){const _0x1d5686=_0xe24e,_0x47231a=_0x28ac09();while(!![]){try{const _0x361e0b=parseInt(_0x1d5686(0x1e9))/0x1+-parseInt(_0x1d5686(0x20f))/0x2*(parseInt(_0x1d5686(0x1ee))/0x3)+parseInt(_0x1d5686(0x1c7))/0x4*(parseInt(_0x1d5686(0x215))/0x5)+-parseInt(_0x1d5686(0x1f6))/0x6+-parseInt(_0x1d5686(0x202))/0x7+parseInt(_0x1d5686(0x1da))/0x8*(-parseInt(_0x1d5686(0x20c))/0x9)+parseInt(_0x1d5686(0x20b))/0xa*(parseInt(_0x1d5686(0x206))/0xb);if(_0x361e0b===_0x2f79f6)break;else _0x47231a['push'](_0x47231a['shift']());}catch(_0xa2b81c){_0x47231a['push'](_0x47231a['shift']());}}}(_0x3dbb,0x49e2a));function _0x3dbb(){const _0x43a704=['usageLimit','pluginName','plugins','editor','change:activeAnnotations','length','commentsLicenseKeyUsageLimit','removeCommentThread','Comment','addSourceCollector','highest','add','hasCommentThread','isOfficialPlugin','_showLicenseError','activeMarker','model','commentsLicenseKeyNotAllowed','8crxFys','commentsLicenseKeyEvaluationLimit','commentsLicenseKeyDomainLimit','commentsLicenseKeyTrialLimit','_createUIButton','bind','destroy','commands','CommentsUI','commentsLicenseKeyInvalid','domainLimit','map','from','get','hasMarkerForId','232923NHtOTC','comment:','invalid','find','comment','783669ndgIwM','_licenseKeyCheckInterval','CommentsListView','getRange','isEnabled','featureNotAllowed','tooltip','listenTo','2452938sYfJMM','execute','low','commentsLicenseKeyValid','getAllMarkersForId','commentsLicenseKeyExpired','expired','_threadToController','addComment','menuBar:comment','stop','has','3279773cNKqQE','isFocused','trialLimit','view','8117890pRxdNl','requires','locale','innerView','editing','20ZKpPJT','2616777iRHQKF','addCommentThread','Comments','2CJAnWp','getCommentThread','developmentLimit','licenseKey','componentFactory','CommentThreadInputView','5XeQgMo','isPremiumPlugin','init','config','set','push','commentsLicenseKeyDevelopmentLimit','_viewToController','focus','evaluationLimit','focusTracker','92276sypNOp'];_0x3dbb=function(){return _0x43a704;};return _0x3dbb();}import{Plugin as _0x2b92d8}from'ckeditor5/src/core.js';import _0x57fb1c from'./commentsrepository.js';import _0x4edb18 from'./commentsediting.js';import _0x54762c from'../annotations/editorannotations.js';function _0xe24e(_0x43fdbb,_0x45b62a){const _0x3dbba7=_0x3dbb();return _0xe24e=function(_0xe24e8b,_0x273cca){_0xe24e8b=_0xe24e8b-0x1c3;let _0x1b85c7=_0x3dbba7[_0xe24e8b];return _0x1b85c7;},_0xe24e(_0x43fdbb,_0x45b62a);}import{ButtonView as _0x3c6517,MenuBarMenuListItemButtonView as _0x1c91c3}from'ckeditor5/src/ui.js';import _0x43eeb0 from'../../theme/icons/add-comment.svg';import _0x2ea9db from'../annotations/annotations.js';import _0x4d87d6 from'./ui/view/commentslistview.js';import _0x14e1c9 from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x587988}from'../utils/common-translations.js';export default class i extends _0x2b92d8{static get[_0x3c1941(0x1c9)](){const _0x45025c=_0x3c1941;return _0x45025c(0x1e2);}static get[_0x3c1941(0x1d5)](){return!0x0;}static get[_0x3c1941(0x216)](){return!0x0;}static get[_0x3c1941(0x207)](){return[_0x57fb1c,_0x4edb18,_0x54762c,_0x2ea9db];}get[_0x3c1941(0x1f0)](){return _0x4d87d6;}get[_0x3c1941(0x214)](){return _0x14e1c9;}[_0x3c1941(0x217)](){const _0x5cf0e6=_0x3c1941,_0x2f01cd=this[_0x5cf0e6(0x1cb)],_0x1c4834=_0x2f01cd[_0x5cf0e6(0x1ca)][_0x5cf0e6(0x1e7)](_0x57fb1c),_0x10798b=_0x2f01cd[_0x5cf0e6(0x1ca)][_0x5cf0e6(0x1e7)](_0x4edb18),_0x5bcae2=_0x2f01cd[_0x5cf0e6(0x1ca)][_0x5cf0e6(0x1e7)](_0x2ea9db),_0x286e81=_0x2f01cd[_0x5cf0e6(0x1ca)][_0x5cf0e6(0x1e7)](_0x54762c);_0x2f01cd['ui'][_0x5cf0e6(0x213)][_0x5cf0e6(0x1d3)](_0x5cf0e6(0x1ed),()=>{const _0x4d4f72=_0x5cf0e6,_0x1a0aeb=this[_0x4d4f72(0x1de)](_0x3c6517);return _0x1a0aeb[_0x4d4f72(0x1f4)]=!0x0,_0x1a0aeb;}),_0x2f01cd['ui'][_0x5cf0e6(0x213)][_0x5cf0e6(0x1d3)](_0x5cf0e6(0x1ff),()=>this[_0x5cf0e6(0x1de)](_0x1c91c3)),_0x286e81[_0x5cf0e6(0x1d1)](()=>{const _0x3ae1e4=_0x5cf0e6,_0x3e9a6b=[];for(const [_0x2a499f,_0x588e61]of _0x1c4834[_0x3ae1e4(0x1fd)]){const _0x336fd6=_0x10798b[_0x3ae1e4(0x1fa)](_0x2a499f['id']),_0x560351=_0x336fd6[_0x3ae1e4(0x1e5)](_0x39670c=>_0x39670c[_0x3ae1e4(0x1f1)]());_0x336fd6[_0x3ae1e4(0x1cd)]>0x0&&_0x3e9a6b[_0x3ae1e4(0x21a)]([_0x588e61[_0x3ae1e4(0x205)],_0x560351]);}return _0x3e9a6b;}),this[_0x5cf0e6(0x1f5)](_0x5bcae2,_0x5cf0e6(0x1cc),(_0x329861,_0x14eecf,_0xd5e41)=>{const _0x239c61=_0x5cf0e6,_0x1c7c27=Array[_0x239c61(0x1e6)](_0xd5e41)[_0x239c61(0x1e5)](_0x1a44f0=>_0x1a44f0[_0x239c61(0x209)])[_0x239c61(0x1ec)](_0x201d55=>_0x1c4834[_0x239c61(0x1c3)][_0x239c61(0x201)](_0x201d55));if(!_0x1c7c27)return void(_0x10798b[_0x239c61(0x1d7)]=null);const _0x4c7460=_0x1c4834[_0x239c61(0x1c3)][_0x239c61(0x1e7)](_0x1c7c27)[_0x239c61(0x1d8)]['id'],_0x162d00=_0x239c61(0x1ea)+_0x4c7460;_0x4c7460&&_0x10798b[_0x239c61(0x1e8)](_0x4c7460)?_0x10798b[_0x239c61(0x1d7)]=_0x162d00:_0x10798b[_0x239c61(0x1d7)]&&(_0x10798b[_0x239c61(0x1d7)]=null);}),this[_0x5cf0e6(0x1f5)](_0x1c4834,_0x5cf0e6(0x1cf),(_0x486f27,{threadId:_0x41672f,isFromAdapter:_0xd1e60a})=>{const _0x3f7211=_0x5cf0e6;!_0xd1e60a&&_0x2f01cd['ui'][_0x3f7211(0x1c6)][_0x3f7211(0x203)]&&_0x10798b[_0x3f7211(0x1e8)](_0x41672f)&&_0x2f01cd[_0x3f7211(0x20a)][_0x3f7211(0x205)][_0x3f7211(0x1c4)]();},{'priority':_0x5cf0e6(0x1d2)}),this[_0x5cf0e6(0x1f5)](_0x1c4834,_0x5cf0e6(0x1fe),(_0x347860,{threadId:_0x575be2,isFromAdapter:_0x5b8816})=>{const _0x3446b2=_0x5cf0e6;if(_0x5b8816||!_0x10798b[_0x3446b2(0x1e8)](_0x575be2)||!_0x1c4834[_0x3446b2(0x1d4)](_0x575be2))return;0x1===_0x1c4834[_0x3446b2(0x210)](_0x575be2)[_0x3446b2(0x1cd)]&&(_0x2f01cd[_0x3446b2(0x20a)][_0x3446b2(0x205)][_0x3446b2(0x1c4)](),_0x347860[_0x3446b2(0x200)]());},{'priority':_0x5cf0e6(0x1f8)}),this[_0x5cf0e6(0x212)]=this[_0x5cf0e6(0x1cb)][_0x5cf0e6(0x218)][_0x5cf0e6(0x1e7)](_0x5cf0e6(0x212));const _0x5b86a9=this[_0x5cf0e6(0x1cb)];this[_0x5cf0e6(0x1ef)]=setInterval(()=>{const _0x4c4055=_0x5cf0e6;let _0x4e2638;for(const _0x3c4ffb in _0x5b86a9){const _0x2e57bc=_0x3c4ffb,_0x537cc8=_0x5b86a9[_0x2e57bc];if(_0x4c4055(0x1f9)==_0x537cc8||_0x4c4055(0x1e3)==_0x537cc8||_0x4c4055(0x1fb)==_0x537cc8||_0x4c4055(0x1dc)==_0x537cc8||_0x4c4055(0x1d9)==_0x537cc8||_0x4c4055(0x1db)==_0x537cc8||_0x4c4055(0x1dd)==_0x537cc8||_0x4c4055(0x21b)==_0x537cc8||_0x4c4055(0x1ce)==_0x537cc8){delete _0x5b86a9[_0x2e57bc],_0x4e2638=_0x537cc8,clearInterval(this[_0x4c4055(0x1ef)]),this[_0x4c4055(0x1ef)]=void 0x0;break;}}_0x4c4055(0x1e3)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1eb)),_0x4c4055(0x1fb)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1fc)),_0x4c4055(0x1dc)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1e4)),_0x4c4055(0x1d9)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1f3),_0x4c4055(0x20e)),_0x4c4055(0x1db)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1c5)),_0x4c4055(0x1dd)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x204)),_0x4c4055(0x21b)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x211)),_0x4c4055(0x1ce)==_0x4e2638&&_0x5b86a9[_0x4c4055(0x1d6)](_0x4c4055(0x1c8));},0x3e8);}[_0x3c1941(0x1e0)](){const _0x58dec3=_0x3c1941;super[_0x58dec3(0x1e0)](),this[_0x58dec3(0x1ef)]&&clearInterval(this[_0x58dec3(0x1ef)]);}[_0x3c1941(0x1de)](_0xad0d76){const _0x5760f2=_0x3c1941,_0x2eafe6=this[_0x5760f2(0x1cb)],_0x21af65=new _0xad0d76(_0x2eafe6[_0x5760f2(0x208)]),_0x3be824=_0x2eafe6[_0x5760f2(0x1e1)][_0x5760f2(0x1e7)](_0x5760f2(0x20d));return _0x21af65[_0x5760f2(0x219)]({'label':_0x587988(_0x2eafe6[_0x5760f2(0x208)],_0x5760f2(0x1d0)),'icon':_0x43eeb0}),_0x21af65[_0x5760f2(0x1df)](_0x5760f2(0x1f2))['to'](_0x3be824),this[_0x5760f2(0x1f5)](_0x21af65,_0x5760f2(0x1f7),()=>_0x3be824[_0x5760f2(0x1f7)]()),_0x21af65;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x440bc6=_0x16ce;(function(_0x109bc0,_0x45f5ca){const _0x88664d=_0x16ce,_0x2c7a00=_0x109bc0();while(!![]){try{const _0x484909=-parseInt(_0x88664d(0xc2))/0x1*(parseInt(_0x88664d(0xda))/0x2)+parseInt(_0x88664d(0xc4))/0x3*(-parseInt(_0x88664d(0xd1))/0x4)+-parseInt(_0x88664d(0xb8))/0x5*(-parseInt(_0x88664d(0xdc))/0x6)+-parseInt(_0x88664d(0xbe))/0x7*(-parseInt(_0x88664d(0xcf))/0x8)+-parseInt(_0x88664d(0xcc))/0x9*(-parseInt(_0x88664d(0xc3))/0xa)+parseInt(_0x88664d(0xb1))/0xb*(-parseInt(_0x88664d(0xd9))/0xc)+parseInt(_0x88664d(0xb0))/0xd;if(_0x484909===_0x45f5ca)break;else _0x2c7a00['push'](_0x2c7a00['shift']());}catch(_0x3653d3){_0x2c7a00['push'](_0x2c7a00['shift']());}}}(_0xf081,0x65da3));import{Plugin as _0x46b887}from'ckeditor5/src/core.js';function _0xf081(){const _0x5283c1=['_removeMarkersWithoutThreads','113976KKhuJw','15338622uuTISQ','44DwtVoY','dragstart','contentInsertion','all','config','comments.copyMarkers','hasCommentThread','5SIbxgt','plugins','content','markers','has','get','7gnmEcg','_registerMarkerToCopy','requires','ClipboardMarkersUtils','5705Csndan','1784080ZTWOFL','245283bQOJJR','keys','editor','highest','comment','CommentsRepository','listenTo','never','9XDUlvG','cut','_registerMarkerInClipboardPipeline','2079944yzNbjf','_mapCommentsCopyConfigToRegisterConfiguration','4ImwsSo','always','afterInit','delete','define','split','ClipboardPipeline','default','1720644jkOSzU','198KQjSwx'];_0xf081=function(){return _0x5283c1;};return _0xf081();}import{ClipboardPipeline as _0x340a32,ClipboardMarkersUtils as _0x395456}from'ckeditor5/src/clipboard.js';function _0x16ce(_0x3715a6,_0x15516c){const _0xf08175=_0xf081();return _0x16ce=function(_0x16ce9e,_0x2b579b){_0x16ce9e=_0x16ce9e-0xb0;let _0x4dc221=_0xf08175[_0x16ce9e];return _0x4dc221;},_0x16ce(_0x3715a6,_0x15516c);}export default class ft extends _0x46b887{constructor(_0x223c4f){const _0xe022d0=_0x16ce;super(_0x223c4f),this[_0xe022d0(0xc6)][_0xe022d0(0xb5)][_0xe022d0(0xd5)](_0xe022d0(0xb6),_0xe022d0(0xd8));}static get[_0x440bc6(0xc0)](){return[_0x395456,_0x340a32];}[_0x440bc6(0xd3)](){const _0x1fd470=_0x440bc6,_0x7d185=this[_0x1fd470(0xc6)][_0x1fd470(0xb9)][_0x1fd470(0xbd)](_0x1fd470(0xd7));this[_0x1fd470(0xce)](),this[_0x1fd470(0xca)](_0x7d185,_0x1fd470(0xb3),(_0x1ffbb4,_0x1d78cf)=>this[_0x1fd470(0xdb)](_0x1d78cf[_0x1fd470(0xba)][_0x1fd470(0xbb)]),{'priority':_0x1fd470(0xc7)});}[_0x440bc6(0xdb)](_0x4fa23e){const _0xf67af4=_0x440bc6;if(!this[_0xf67af4(0xc6)][_0xf67af4(0xb9)][_0xf67af4(0xbc)](_0xf67af4(0xc9)))return _0x4fa23e;const _0x3b9ebf=this[_0xf67af4(0xc6)][_0xf67af4(0xb9)][_0xf67af4(0xbd)](_0xf67af4(0xc9));for(const _0x24a714 of _0x4fa23e[_0xf67af4(0xc5)]()){const [_0x1f55ad,_0x2ef116]=_0x24a714[_0xf67af4(0xd6)](':');_0xf67af4(0xc8)!=_0x1f55ad||_0x3b9ebf[_0xf67af4(0xb7)](_0x2ef116)||_0x4fa23e[_0xf67af4(0xd4)](_0x24a714);}return _0x4fa23e;}[_0x440bc6(0xce)](){const _0x11fae4=_0x440bc6,_0x1adb0e=this[_0x11fae4(0xc6)][_0x11fae4(0xb9)][_0x11fae4(0xbd)](_0x11fae4(0xc1)),_0x192376=this[_0x11fae4(0xd0)](this[_0x11fae4(0xc6)][_0x11fae4(0xb5)][_0x11fae4(0xbd)](_0x11fae4(0xb6)));_0x192376&&_0x1adb0e[_0x11fae4(0xbf)](_0x11fae4(0xc8),_0x192376);}[_0x440bc6(0xd0)](_0x583e60){const _0x5af9f2=_0x440bc6;switch(_0x583e60){case _0x5af9f2(0xd2):return{'allowedActions':_0x5af9f2(0xb4),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x5af9f2(0xd8):return{'allowedActions':[_0x5af9f2(0xcd),_0x5af9f2(0xb2)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x5af9f2(0xcb):return null;default:return null;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x426c19=_0x100d;function _0xc443(){const _0x6e5ebb=['11423403FAltEF','editor','9067308sxxdaD','plugins','RestrictedEditingModeEditing','addCommentThread','100UVMWnp','48412ieOwVb','50171dwjRQD','3LDNHSV','enableCommand','2040414mNSGFS','128732IbqZak','has','904142QneATb','8oEGqxb','get','afterInit','11030pMbpZm'];_0xc443=function(){return _0x6e5ebb;};return _0xc443();}function _0x100d(_0x8a5307,_0x5157b4){const _0xc4437c=_0xc443();return _0x100d=function(_0x100db2,_0x2a6835){_0x100db2=_0x100db2-0x185;let _0x507f62=_0xc4437c[_0x100db2];return _0x507f62;},_0x100d(_0x8a5307,_0x5157b4);}(function(_0x3d8ea8,_0x150058){const _0x499bec=_0x100d,_0x1fc7e3=_0x3d8ea8();while(!![]){try{const _0x409f38=-parseInt(_0x499bec(0x196))/0x1+parseInt(_0x499bec(0x193))/0x2*(-parseInt(_0x499bec(0x191))/0x3)+-parseInt(_0x499bec(0x194))/0x4*(-parseInt(_0x499bec(0x18e))/0x5)+-parseInt(_0x499bec(0x18a))/0x6+-parseInt(_0x499bec(0x18f))/0x7*(parseInt(_0x499bec(0x197))/0x8)+-parseInt(_0x499bec(0x188))/0x9+parseInt(_0x499bec(0x187))/0xa*(parseInt(_0x499bec(0x190))/0xb);if(_0x409f38===_0x150058)break;else _0x1fc7e3['push'](_0x1fc7e3['shift']());}catch(_0x3e0664){_0x1fc7e3['push'](_0x1fc7e3['shift']());}}}(_0xc443,0xeb085));import{Plugin as _0x5f3199}from'ckeditor5/src/core.js';export default class at extends _0x5f3199{[_0x426c19(0x186)](){const _0x557695=_0x426c19,_0x3dedb0=this[_0x557695(0x189)];if(!_0x3dedb0[_0x557695(0x18b)][_0x557695(0x195)](_0x557695(0x18c)))return;_0x3dedb0[_0x557695(0x18b)][_0x557695(0x185)](_0x557695(0x18c))[_0x557695(0x192)](_0x557695(0x18d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b3a81=_0x3850;function _0x3850(_0x30ae7b,_0x393961){const _0x55b1bf=_0x55b1();return _0x3850=function(_0x38501a,_0x3b08fb){_0x38501a=_0x38501a-0x72;let _0xaaa1fa=_0x55b1bf[_0x38501a];return _0xaaa1fa;},_0x3850(_0x30ae7b,_0x393961);}(function(_0x40944e,_0x2e5763){const _0xd8612a=_0x3850,_0x2c172e=_0x40944e();while(!![]){try{const _0x5ea4dc=-parseInt(_0xd8612a(0x8f))/0x1*(-parseInt(_0xd8612a(0x89))/0x2)+parseInt(_0xd8612a(0x76))/0x3*(-parseInt(_0xd8612a(0x73))/0x4)+parseInt(_0xd8612a(0x8b))/0x5*(parseInt(_0xd8612a(0x7e))/0x6)+-parseInt(_0xd8612a(0x82))/0x7*(-parseInt(_0xd8612a(0x86))/0x8)+parseInt(_0xd8612a(0x7b))/0x9*(-parseInt(_0xd8612a(0x88))/0xa)+parseInt(_0xd8612a(0x7d))/0xb+-parseInt(_0xd8612a(0x74))/0xc;if(_0x5ea4dc===_0x2e5763)break;else _0x2c172e['push'](_0x2c172e['shift']());}catch(_0x5b0f3f){_0x2c172e['push'](_0x2c172e['shift']());}}}(_0x55b1,0x84adf));import{Plugin as _0x30b9b9}from'ckeditor5/src/core.js';import{priorities as _0x17c7f2}from'ckeditor5/src/utils.js';import{Users as _0x5a6fb6}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f2284 from'../commentsrepository.js';export default class ut extends _0x30b9b9{constructor(_0x40389b){const _0x5988f4=_0x3850;super(_0x40389b),this[_0x5988f4(0x83)][_0x5988f4(0x81)][_0x5988f4(0x8c)](_0x5988f4(0x79),_0x5988f4(0x8a));}[_0x1b3a81(0x87)](){const _0x2f44d7=_0x1b3a81,_0x24aa4d=this[_0x2f44d7(0x83)],_0x4a53f1=_0x24aa4d[_0x2f44d7(0x84)][_0x2f44d7(0x85)](_0x2f44d7(0x8d)),_0xb0ef91=_0x24aa4d[_0x2f44d7(0x72)][_0x2f44d7(0x85)](_0x5a6fb6);_0x4a53f1&&(_0x4a53f1['on'](_0x2f44d7(0x91),(_0x2aaca2,[,_0x3678e4])=>{const _0x2e1ac8=_0x2f44d7;_0x3678e4[_0x2e1ac8(0x75)]={'comments':!0x0,'user_id':_0xb0ef91['me']['id']};},{'priority':_0x17c7f2[_0x2f44d7(0x8e)]+0xa}),this[_0x2f44d7(0x78)](_0x4a53f1,_0x2f44d7(0x7f),this[_0x2f44d7(0x80)]));}[_0x1b3a81(0x80)](_0x335d44,_0xcc6f7e){const _0x31a13f=_0x1b3a81,{comment_threads:_0x4bdc40}=_0xcc6f7e;_0x4bdc40&&_0x4bdc40[_0x31a13f(0x7c)](({thread_id:_0x101db5,comments:_0x37d85b,is_resolved:_0x360a42})=>{const _0x419990=_0x31a13f,_0x3a5b73=new Date(),_0x3156fd=_0x37d85b[_0x419990(0x7a)](({author:_0x3df2c4,content:_0x550b84,created_at:_0x18b4e9})=>({'content':_0x550b84,'authorId':this[_0x419990(0x83)][_0x419990(0x72)][_0x419990(0x85)](_0x5a6fb6)['me']['id'],'createdAt':_0x3a5b73,'attributes':{'@external':{'authorName':_0x3df2c4,'createdAt':_0x18b4e9?new Date(_0x18b4e9):new Date(),'source':_0x419990(0x8d)}}})),_0x23271f=this[_0x419990(0x83)][_0x419990(0x81)][_0x419990(0x85)](_0x419990(0x90));this[_0x419990(0x83)][_0x419990(0x72)][_0x419990(0x85)](_0x2f2284)[_0x419990(0x77)]({'channelId':_0x23271f,'threadId':_0x101db5,'comments':_0x3156fd,'resolvedAt':_0x360a42?_0x3a5b73:null});});}}function _0x55b1(){const _0x57a07b=['6RcjKyM','dataInsert','_handleImportedData','config','3563ChnhbK','editor','commands','get','712obUaLF','afterInit','40XuOpUV','2ozhHzX','basic','4971760fmPhba','define','importWord','high','814502ZSskPB','collaboration.channelId','execute','plugins','393348MqPYpm','7243380lZaYEv','collaboration_features','33SnFJea','addCommentThread','listenTo','importWord.formatting.comments','map','60111GxpJBH','forEach','4414718CxswqZ'];_0x55b1=function(){return _0x57a07b;};return _0x55b1();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1fa7ef=_0x3b27;(function(_0x4074a2,_0x27daa1){const _0x3dddae=_0x3b27,_0x4868c0=_0x4074a2();while(!![]){try{const _0x405650=parseInt(_0x3dddae(0x10d))/0x1+parseInt(_0x3dddae(0x107))/0x2+parseInt(_0x3dddae(0x11b))/0x3+parseInt(_0x3dddae(0xfb))/0x4+parseInt(_0x3dddae(0x112))/0x5*(-parseInt(_0x3dddae(0x102))/0x6)+-parseInt(_0x3dddae(0x11d))/0x7+-parseInt(_0x3dddae(0xfd))/0x8*(-parseInt(_0x3dddae(0x106))/0x9);if(_0x405650===_0x27daa1)break;else _0x4868c0['push'](_0x4868c0['shift']());}catch(_0x8f981){_0x4868c0['push'](_0x4868c0['shift']());}}}(_0x1e38,0x4fdf4));import{Editor as _0x5b70b1}from'ckeditor5/src/core.js';import _0x3c211e from'./commenteditorui.js';import{ObservableMixin as _0x22649f}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x1e6e92,disablePlaceholder as _0x29795b}from'ckeditor5/src/engine.js';import{Clipboard as _0x2a6afa}from'ckeditor5/src/clipboard.js';function _0x1e38(){const _0x2905d6=['440676dtehCy','270926VErzmw','_updatePlaceholder','createRoot','childCount','initPlugins','setSelection','102701MQAVYv','get','change:placeholder','getChild','end','335qwzWlh','view','init','low','defaultPlugins','fromCharCode','placeholderElement','name','editing','372681UJnPYr','create','1709057DGiZul','change','join','initialData','config','fire','destroy','ready','model','data','focus','673776sftMBq','then','80CXsTgW','map','placeholder','assign','plugins','40224yiTFMG','document','getRoot','set'];_0x1e38=function(){return _0x2905d6;};return _0x1e38();}import{Enter as _0x38c5bd,ShiftEnter as _0x121207}from'ckeditor5/src/enter.js';import{SelectAll as _0x10522a}from'ckeditor5/src/select-all.js';import{Typing as _0x18a820}from'ckeditor5/src/typing.js';import{Undo as _0x34d977}from'ckeditor5/src/undo.js';function _0x3b27(_0x552df4,_0x49dc76){const _0x1e38ab=_0x1e38();return _0x3b27=function(_0x3b271,_0x14a0aa){_0x3b271=_0x3b271-0xf2;let _0x404162=_0x1e38ab[_0x3b271];return _0x404162;},_0x3b27(_0x552df4,_0x49dc76);}import{Paragraph as _0x50b330}from'ckeditor5/src/paragraph.js';const Qt=[_0x2a6afa,_0x38c5bd,_0x121207,_0x10522a,_0x18a820,_0x34d977,_0x50b330];class Rt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x22649f(_0x5b70b1){constructor(_0x374d4d={}){const _0x3d905a=_0x3b27;function _0x430fd2(_0xcbdaae){const _0x3bd073=_0x3b27;return _0xcbdaae[_0x3bd073(0xfe)](_0x91f342=>String[_0x3bd073(0x117)](_0x91f342))[_0x3bd073(0xf2)]('');}(_0x374d4d=Object[_0x3d905a(0x100)]({},_0x374d4d))[_0x3d905a(0x101)]||(_0x374d4d[_0x3d905a(0x101)]=Rt[_0x3d905a(0x116)]),super(_0x374d4d),this['ui']=new _0x3c211e(this),this[_0x3d905a(0x105)](_0x3d905a(0xff),''),this[_0x3d905a(0xf8)][_0x3d905a(0x103)]['on'](_0x3d905a(0x11e),()=>this[_0x3d905a(0x108)](),{'priority':_0x3d905a(0x115)}),this['on'](_0x3d905a(0x10f),()=>this[_0x3d905a(0x108)]()),this[_0x3d905a(0xf8)][_0x3d905a(0x103)][_0x3d905a(0x109)](),this[_0x430fd2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x430fd2([0x76,0x69,0x65,0x77])][_0x430fd2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x430fd2([0x61,0x75,0x74,0x6f]),this[_0x430fd2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x430fd2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x430fd2([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x430fd2([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x430fd2([0x6f,0x6b])});}[_0x1fa7ef(0x11c)](){const _0x1ec786=_0x1fa7ef,_0xd711a2=this[_0x1ec786(0xf4)][_0x1ec786(0x10e)](_0x1ec786(0xf3))||'';return this[_0x1ec786(0x10b)]()[_0x1ec786(0xfc)](()=>this['ui'][_0x1ec786(0x114)]())[_0x1ec786(0xfc)](()=>this[_0x1ec786(0xf9)][_0x1ec786(0x114)](_0xd711a2))[_0x1ec786(0xfc)](()=>this[_0x1ec786(0xf5)](_0x1ec786(0xf7)));}[_0x1fa7ef(0xf6)](){const _0xe3c7c=_0x1fa7ef;return super[_0xe3c7c(0xf6)]()[_0xe3c7c(0xfc)](()=>this['ui'][_0xe3c7c(0xf6)]());}[_0x1fa7ef(0xfa)](){const _0x10ca85=_0x1fa7ef;this[_0x10ca85(0xf8)][_0x10ca85(0x11e)](_0x7d018e=>{const _0x55130f=_0x10ca85,_0x2d817b=this[_0x55130f(0xf8)][_0x55130f(0x103)][_0x55130f(0x104)](),_0x1eafcb=_0x2d817b&&_0x2d817b[_0x55130f(0x110)](_0x2d817b[_0x55130f(0x10a)]-0x1);_0x7d018e[_0x55130f(0x10c)](_0x1eafcb,_0x55130f(0x111)),this[_0x55130f(0x11a)][_0x55130f(0x113)][_0x55130f(0xfa)]();});}[_0x1fa7ef(0x108)](){const _0x2ffefa=_0x1fa7ef,_0x219640=this[_0x2ffefa(0x11a)][_0x2ffefa(0x113)],_0x2aa1ec=_0x219640[_0x2ffefa(0x103)][_0x2ffefa(0x104)](),_0x476ab6=_0x2aa1ec[_0x2ffefa(0x110)](0x0);_0x2aa1ec[_0x2ffefa(0x10a)]>0x1||!_0x476ab6||'p'!=_0x476ab6[_0x2ffefa(0x119)]?this[_0x2ffefa(0x118)]&&this[_0x2ffefa(0x118)][_0x2ffefa(0xff)]&&(_0x29795b(_0x219640,this[_0x2ffefa(0x118)]),this[_0x2ffefa(0x118)]=void 0x0):(this[_0x2ffefa(0xff)]&&(_0x476ab6[_0x2ffefa(0xff)]=this[_0x2ffefa(0xff)]),_0x1e6e92({'view':_0x219640,'element':_0x476ab6,'keepOnFocus':!0x0}),this[_0x2ffefa(0x118)]=_0x476ab6);}}Rt[_0x1fa7ef(0x116)]=Qt;export default Rt;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8997=_0x2b85;(function(_0x43e036,_0x37f759){const _0x2451b3=_0x2b85,_0x476012=_0x43e036();while(!![]){try{const _0x539131=-parseInt(_0x2451b3(0x85))/0x1+-parseInt(_0x2451b3(0x7e))/0x2*(-parseInt(_0x2451b3(0x84))/0x3)+parseInt(_0x2451b3(0x8a))/0x4+parseInt(_0x2451b3(0x7d))/0x5+-parseInt(_0x2451b3(0x95))/0x6*(-parseInt(_0x2451b3(0x8b))/0x7)+parseInt(_0x2451b3(0x7f))/0x8*(parseInt(_0x2451b3(0x91))/0x9)+-parseInt(_0x2451b3(0x8d))/0xa;if(_0x539131===_0x37f759)break;else _0x476012['push'](_0x476012['shift']());}catch(_0x4c1b54){_0x476012['push'](_0x476012['shift']());}}}(_0x37dc,0x5ec2f));import{InlineEditableUIView as _0x6b4fb5,EditorUIView as _0x5babd9}from'ckeditor5/src/ui.js';import{uid as _0x3b895f}from'ckeditor5/src/utils.js';import{getTranslation as _0x128e9f}from'../../../utils/common-translations.js';function _0x2b85(_0xcc19d3,_0x1851ac){const _0x37dcbb=_0x37dc();return _0x2b85=function(_0x2b8575,_0x457210){_0x2b8575=_0x2b8575-0x7c;let _0x178d59=_0x37dcbb[_0x2b8575];return _0x178d59;},_0x2b85(_0xcc19d3,_0x1851ac);}export default class Vt extends _0x5babd9{constructor(_0x2199ee,_0x36b206){const _0x2ddd8b=_0x2b85;super(_0x2199ee);const _0x46eb14=_0x3b895f();this[_0x2ddd8b(0x82)]=this[_0x2ddd8b(0x88)](),this[_0x2ddd8b(0x7c)]=new _0x6b4fb5(_0x2199ee,_0x36b206,void 0x0,{'label':()=>_0x128e9f(_0x2199ee,_0x2ddd8b(0x89))}),this[_0x2ddd8b(0x98)]({'tag':_0x2ddd8b(0x8e),'attributes':{'class':[_0x2ddd8b(0x83),_0x2ddd8b(0x80),_0x2ddd8b(0x97),_0x2ddd8b(0x81)],'dir':_0x2199ee[_0x2ddd8b(0x87)],'lang':_0x2199ee[_0x2ddd8b(0x93)],'aria-labelledby':_0x2ddd8b(0x86)+_0x46eb14},'children':[{'tag':_0x2ddd8b(0x8e),'attributes':{'class':_0x2ddd8b(0x8c),'role':_0x2ddd8b(0x90)},'children':this[_0x2ddd8b(0x82)]}]});}[_0x1a8997(0x92)](){const _0xb1d134=_0x1a8997;super[_0xb1d134(0x92)](),this[_0xb1d134(0x82)][_0xb1d134(0x8f)](this[_0xb1d134(0x7c)]);}[_0x1a8997(0x94)](){const _0x2c7a73=_0x1a8997;this[_0x2c7a73(0x7c)][_0x2c7a73(0x96)][_0x2c7a73(0x94)]();}}function _0x37dc(){const _0x5456f7=['234mugsIP','render','uiLanguage','focus','6GVoZal','element','ck-rounded-corners','setTemplate','editable','2678435bKkxCk','12ofSmsD','150864dXYexc','ck-editor','ck-comment__input','main','ck-reset','297573nVMkEX','523645nlqCPq','cke-editor__aria-label_','uiLanguageDirection','createCollection','Comment\x20editor','985056QpnZPP','1581055GmiGaS','ck-editor__main','11814820qnaZGV','div','add','presentation'];_0x37dc=function(){return _0x5456f7;};return _0x37dc();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
24
|
-
|
|
23
|
+
var _0x10f185=_0x1f3f;(function(_0x8d3367,_0x22f26a){var _0x38dde0=_0x1f3f,_0x334a82=_0x8d3367();while(!![]){try{var _0x37dbed=parseInt(_0x38dde0(0x1ab))/0x1+-parseInt(_0x38dde0(0x194))/0x2*(-parseInt(_0x38dde0(0x190))/0x3)+-parseInt(_0x38dde0(0x191))/0x4+-parseInt(_0x38dde0(0x196))/0x5*(parseInt(_0x38dde0(0x199))/0x6)+-parseInt(_0x38dde0(0x192))/0x7*(parseInt(_0x38dde0(0x1a7))/0x8)+-parseInt(_0x38dde0(0x19d))/0x9*(parseInt(_0x38dde0(0x1aa))/0xa)+parseInt(_0x38dde0(0x19f))/0xb;if(_0x37dbed===_0x22f26a)break;else _0x334a82['push'](_0x334a82['shift']());}catch(_0x1649c8){_0x334a82['push'](_0x334a82['shift']());}}}(_0x2a74,0xb2150));function _0x2a74(){var _0x346ce5=['getComment','12rzgwUf','resolveCommentThread','reopen','model','9poJcqM','update','1716022ONtxFD','removeCommentThread','isResolved','remove','stopListening','submitCommentThread','_localUser','destroy','8370152xRAluS','addComment','listenTo','324040fUODlc','1448847tOVkpl','view','removeComment','reopenCommentThread','_isAttached','854043CCNHIj','1623124oPOUXF','7jGZwUJ','submit','10wjHYBZ','updateComment','2035940DVSHuM','resolve'];_0x2a74=function(){return _0x346ce5;};return _0x2a74();}import{ObservableMixin as _0x1cc09b}from'ckeditor5/src/utils.js';function _0x1f3f(_0x9a573f,_0x20caab){var _0x2a745a=_0x2a74();return _0x1f3f=function(_0x1f3f3b,_0x2a1437){_0x1f3f3b=_0x1f3f3b-0x18e;var _0x2136c5=_0x2a745a[_0x1f3f3b];return _0x2136c5;},_0x1f3f(_0x9a573f,_0x20caab);}export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1cc09b(){constructor(_0x3fbce3,_0x1fbf71){var _0x1d8193=_0x1f3f;super(),this[_0x1d8193(0x19c)]=_0x3fbce3,this[_0x1d8193(0x19c)][_0x1d8193(0x18f)]=!0x0,this[_0x1d8193(0x1ac)]=_0x1fbf71,this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x1a4),()=>this[_0x1d8193(0x193)]()),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x1a0),()=>this[_0x1d8193(0x1a2)]()),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x19a),()=>this[_0x1d8193(0x197)]()),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x18e),()=>this[_0x1d8193(0x19b)]()),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x1a8),(_0x33fb20,_0x24c9d7)=>this[_0x1d8193(0x1a8)](_0x24c9d7)),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x195),(_0x7faf20,_0x26b48a,_0x459bcb)=>this[_0x1d8193(0x195)](_0x26b48a,_0x459bcb)),this[_0x1d8193(0x1a9)](_0x1fbf71,_0x1d8193(0x1ad),(_0x5cb35c,_0x2bb016)=>this[_0x1d8193(0x1ad)](_0x2bb016));}[_0x10f185(0x193)](){var _0x19d87b=_0x10f185;this[_0x19d87b(0x19c)][_0x19d87b(0x193)]();}[_0x10f185(0x1a2)](){var _0x11e0da=_0x10f185;this[_0x11e0da(0x19c)][_0x11e0da(0x1a2)]();}[_0x10f185(0x197)](){var _0x26a237=_0x10f185;this[_0x26a237(0x19c)][_0x26a237(0x1a1)]||this[_0x26a237(0x19c)][_0x26a237(0x197)]();}[_0x10f185(0x19b)](){var _0x59de5a=_0x10f185;this[_0x59de5a(0x19c)][_0x59de5a(0x1a1)]&&this[_0x59de5a(0x19c)][_0x59de5a(0x19b)]();}[_0x10f185(0x1a8)](_0x4deb7a){var _0x3d545f=_0x10f185;this[_0x3d545f(0x19c)][_0x3d545f(0x1a8)]({'content':_0x4deb7a,'authorId':this[_0x3d545f(0x1ac)][_0x3d545f(0x1a5)]['id']});}[_0x10f185(0x195)](_0x33b112,_0x5d648d){var _0x1e4842=_0x10f185;this[_0x1e4842(0x19c)][_0x1e4842(0x198)](_0x33b112)[_0x1e4842(0x19e)]({'content':_0x5d648d});}[_0x10f185(0x1ad)](_0x390683){var _0x16e572=_0x10f185;this[_0x16e572(0x19c)][_0x16e572(0x198)](_0x390683)[_0x16e572(0x1a2)]();}[_0x10f185(0x1a6)](){var _0x2d3717=_0x10f185;this[_0x2d3717(0x1a3)](),this[_0x2d3717(0x19c)][_0x2d3717(0x18f)]=!0x1;}}
|