@ckeditor/ckeditor5-comments 47.2.0-alpha.7 → 47.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,6 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fbe03=_0x2ef6;(function(_0x545048,_0x169f55){const _0x3c46cf=_0x2ef6,_0x6e1e41=_0x545048();while(!![]){try{const _0x402855=parseInt(_0x3c46cf(0x116))/0x1+parseInt(_0x3c46cf(0x163))/0x2+parseInt(_0x3c46cf(0x119))/0x3*(parseInt(_0x3c46cf(0xcd))/0x4)+-parseInt(_0x3c46cf(0x103))/0x5+-parseInt(_0x3c46cf(0x9e))/0x6*(parseInt(_0x3c46cf(0x15c))/0x7)+-parseInt(_0x3c46cf(0x108))/0x8*(-parseInt(_0x3c46cf(0xc9))/0x9)+-parseInt(_0x3c46cf(0x9f))/0xa*(-parseInt(_0x3c46cf(0x156))/0xb);if(_0x402855===_0x169f55)break;else _0x6e1e41['push'](_0x6e1e41['shift']());}catch(_0x5aeb08){_0x6e1e41['push'](_0x6e1e41['shift']());}}}(_0x5b64,0xc8f4c));import{PendingActions as _0x488e7f,ContextPlugin as _0x79c4f4,Editor as _0x5e9590}from'ckeditor5/src/core.js';function _0x5b64(){const _0x2de14e=['commentsrepository-remove-missing-comment-thread','escape','9171oBgnhT','removeComment','commentsrepository-get-comment-invalid-id','then','comment','toJSON','submit','_readOnlyChannels','commentsrepository-update-comment-thread-internal-error','_unbindEditors','attachTo','_resolveCommentThread','modifyAll','activate','PendingActions','isPremiumPlugin','_createCommentThreadView','commentsrepository-resolved-comment-thread','innerView','updateComment','deactivateAll','commentsrepository-missing-target','getComment','_removeComment','removeAttribute','getTime','archivedAt','getIndex','isAttached','commentsrepository-update-comment-internal-error','div','resolvedAt','hasCommentThread','_updateCommentThread','submitCommentThread','remove','_addCommentThread','attributes','addComment','config','change:_permissions','isExternal','values','locale','isFromAdapter','string','_isAttached','isRemovable','openNewCommentThread','getCommentThreadForAnnotation','delete','_attachCommentThread','reopenCommentThread','createdAt','get','commentsrepository-remove-comment-missing-comment-thread','map','getAnnotationForCommentThread','setActiveCommentThread','isOfficialPlugin','max','44xOdQnd','createElement','content','commentsrepository-duplicated-comment-thread-id','_submitCommentThread','getByInnerView','1755383aYjznE','activeCommentThread','comments','commentsrepository-fetch-comment-thread','admin','body','listenTo','514910xRRYPn','weight','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-resolve-comment-thread-internal-error','PENDING_ACTION_COMMENT_THREAD','commentsrepository-reopen-comment-thread-internal-error','commentUpdated','from','isVisible','getCommentThreads','commentsListView','fire','commentsrepository-remove-missing-comment','_removeCommentThread','comments.maxCommentsWhenCollapsed','commentsrepository-update-comment-invalid-content','_remove','resolve','commentsrepository-invalid-comment-content','add','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_removeActiveAnnotation','comments.maxCommentCharsWhenCollapsed','function','removeCommentThread','_isSubmitted','commentsrepository-missing-thread-and-adapter-method','updateCommentThread','setUnlinkedAt','_findOptimalIndex','isReadOnly','_detachCommentThread','adapter','lowest','find','stopListening','30fgJMJe','1658180aFUVGA','resolvedBy','_reopenCommentThread','push','switchReadOnly','update','plugins','context','commentsrepository-reopen-comment-thread','error','change:_readOnlyChannels','_threads','highest','_addComment','channelId','_permissions','commentsrepository-invalid-commentid','set','commentsrepository-remove-comment-thread-internal-error','isActive','define','commentsrepository-update-missing-comment','requires','createCommentThreadController','canComment','resolveCommentThread','change:activeAnnotations','authorName','authoredAt','comments.editorConfig','commentsrepository-missing-comment-thread','_updateActiveAnnotation','commentInputView','change:authoredAt','length','commentId','catch','comments.CommentThreadView','focusableElements','CommentsRepository','_bindAnnotationToEditors','reopen','1369278CVImYR','innerHTML','_add','textContent','80EOBmPk','_threadToController','commentsrepository-add-comment-internal-error','threadId','_getExternalAuthor','setContext','commentsrepository-adapter-already-set','licenseKey','isDirty','focusTracker','_update','commentsrepository-active-not-attached','@external','once','addUser','isResolvable','model','fetchCommentThread','getUser','_adapter','filter','isEditable','commentsrepository-add-comment-thread-internal-error','CommentView','commentsrepository-invalid-comment-thread-id','_viewToController','bodyCollectionContainer','commentThreadInputView','reduce','commentsrepository-invalid-comment-authorid','comments.CommentView','destroy','commentsrepository-attach-missing-comment-thread','trim','warn','_updateComment','has','assign','bind','commentsrepository-active-missing-comment-thread','isResolved','_hasTargetInContent','write','editorReady','_repository','CommentThreadView','type','unlinkedAt','isSubmitted','commentsrepository-remove-comment-internal-error','creator','setPermissions','getPermissions','addCommentThread','7305150NLNcCu','comments.maxThreadTotalWeight','_createNewComment','author','init','80neVAMG','commentsrepository-update-comment-missing-comment-thread','view','editorDestroyed','external:','setAttribute','comments.copyMarkers','commentsrepository-add-comment-user-not-exists','change:isDirty','noChannel','pluginName','getCommentThread','focus','refreshVisibility','1034704kCyMuN'];_0x5b64=function(){return _0x2de14e;};return _0x5b64();}import{Collection as _0xe7bcd2,uid as _0x25b6d5,CKEditorError as _0x1771ad,ObservableMixin as _0x1bfd86}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x1a4710,hashObject as _0x228352,Users as _0x340930}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x576273,isEqual as _0x150978,set as _0x2a1011,unset as _0x9439c0}from'es-toolkit/compat';import{CommentThreadController as _0x644bd8}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x5b50c8}from'./ui/view/commentthreadview.js';import{CommentView as _0x110b15}from'./ui/view/commentview.js';import{getTranslation as _0x4ccc5f}from'../utils/common-translations.js';import'../../theme/comment.css';function _0x2ef6(_0x378a3d,_0xc9bd38){const _0x5b64ee=_0x5b64();return _0x2ef6=function(_0x2ef609,_0x23979b){_0x2ef609=_0x2ef609-0x9d;let _0x1b3382=_0x5b64ee[_0x2ef609];return _0x1b3382;},_0x2ef6(_0x378a3d,_0xc9bd38);}import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xc76757}from'../annotations/view/annotationview.js';import{Annotation as _0x443415}from'../annotations/annotation.js';import{Annotations as _0x282b30}from'../annotations/annotations.js';const bt=Symbol(_0x1fbe03(0x111)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x79c4f4{[_0x1fbe03(0xaa)];[_0x1fbe03(0xce)];[_0x1fbe03(0xe6)];static get[_0x1fbe03(0xb5)](){return[_0x282b30,_0x488e7f,_0x340930];}static get[_0x1fbe03(0x112)](){const _0x12b1a4=_0x1fbe03;return _0x12b1a4(0xc6);}static get[_0x1fbe03(0x154)](){return!0x0;}static get[_0x1fbe03(0x128)](){return!0x0;}constructor(_0x5320bb){const _0x30b64d=_0x1fbe03;super(_0x5320bb),this[_0x30b64d(0xaa)]=new Map(),this[_0x30b64d(0xce)]=new Map(),this[_0x30b64d(0xe6)]=new Map(),this[_0x30b64d(0xb0)](_0x30b64d(0x120),new Set()),this[_0x30b64d(0xb0)](_0x30b64d(0xae),new Map());const _0xbc98c5=this[_0x30b64d(0xa6)][_0x30b64d(0x140)];_0xbc98c5[_0x30b64d(0xb3)](_0x30b64d(0x171),0x2),_0xbc98c5[_0x30b64d(0xb3)](_0x30b64d(0x104),0x1f4),_0xbc98c5[_0x30b64d(0xb3)](_0x30b64d(0x179),0x8c),_0xbc98c5[_0x30b64d(0xb3)](_0x30b64d(0xc4),_0x5b50c8),_0xbc98c5[_0x30b64d(0xb3)](_0x30b64d(0xeb),_0x110b15),_0xbc98c5[_0x30b64d(0x14f)](_0x30b64d(0xbc))||console[_0x30b64d(0xef)](_0x30b64d(0x177));}[_0x1fbe03(0x107)](){const _0x21db03=_0x1fbe03,_0x4252c5=this[_0x21db03(0xa6)][_0x21db03(0xa5)][_0x21db03(0x14f)](_0x282b30);this[_0x21db03(0xb0)](_0x21db03(0x15d),null),this['on'](_0x21db03(0x102),(_0x259a7a,_0x49aa85)=>this[_0x21db03(0x13d)](_0x49aa85)),this['on'](_0x21db03(0x13b),(_0xd47230,_0x4dd3d3)=>this[_0x21db03(0x15a)](_0x4dd3d3)),this['on'](_0x21db03(0xb8),(_0x1e3c2a,_0x3955f4)=>this[_0x21db03(0x124)](_0x3955f4)),this['on'](_0x21db03(0xb8),(_0x3b7241,_0x1d33a4)=>this[_0x21db03(0xbe)](_0x1d33a4),{'priority':_0x21db03(0x184)}),this['on'](_0x21db03(0x14d),(_0x2e1e1e,_0x28035a)=>this[_0x21db03(0xa1)](_0x28035a)),this['on'](_0x21db03(0x14d),(_0x219d30,_0x5aa496)=>this[_0x21db03(0xbe)](_0x5aa496),{'priority':_0x21db03(0x184)}),this['on'](_0x21db03(0x17b),(_0x31e1ed,_0x43d991)=>this[_0x21db03(0x170)](_0x43d991)),this['on'](_0x21db03(0x17e),(_0x752603,_0x4f1999)=>this[_0x21db03(0x13a)](_0x4f1999)),this['on'](_0x21db03(0x17e),(_0x3be034,_0x475336)=>this[_0x21db03(0xbe)](_0x475336),{'priority':_0x21db03(0x184)}),this['on'](_0x21db03(0x13f),(_0x10e83a,_0x1e3916)=>this[_0x21db03(0xac)](_0x1e3916)),this['on'](_0x21db03(0x12c),(_0x2db4bf,_0x262a65)=>this[_0x21db03(0xf0)](_0x262a65)),this['on'](_0x21db03(0x11a),(_0x4f7d78,_0x4aa6bc)=>this[_0x21db03(0x130)](_0x4aa6bc)),this['on'](_0x21db03(0x13f),(_0x485f68,{threadId:_0x2c0c68,isFromAdapter:_0x5e72c9})=>{const _0x188e53=_0x21db03;if(_0x5e72c9)return;const _0x4bf19b=this[_0x188e53(0x113)](_0x2c0c68),_0x4e3fba=_0x4bf19b&&this[_0x188e53(0xce)][_0x188e53(0x14f)](_0x4bf19b);_0x4e3fba&&_0x4e3fba[_0x188e53(0x10a)][_0x188e53(0x16d)][_0x188e53(0x114)](-0x1);},{'priority':_0x21db03(0x184)}),this[_0x21db03(0x162)](_0x4252c5,_0x21db03(0xb9),(_0x20bce6,_0x26d7db,_0x2f22a0)=>{const _0x14fbd6=_0x21db03,_0x4782c5=Array[_0x14fbd6(0x16a)](_0x2f22a0)[_0x14fbd6(0x151)](_0xdcd5c=>this[_0x14fbd6(0xe6)][_0x14fbd6(0x14f)](_0xdcd5c[_0x14fbd6(0x12b)]))[_0x14fbd6(0xe1)](Boolean)[0x0];this[_0x14fbd6(0x15d)]=_0x4782c5?_0x4782c5[_0x14fbd6(0xdd)]:null;});}set[_0x1fbe03(0x183)](_0xabc946){const _0x5acc08=_0x1fbe03;if(this[_0x5acc08(0xe0)])throw new _0x1771ad(_0x5acc08(0xd3));this[_0x5acc08(0xe0)]=_0xabc946;}get[_0x1fbe03(0x183)](){const _0x1a43d9=_0x1fbe03;return this[_0x1a43d9(0xe0)];}[_0x1fbe03(0x102)]({channelId:_0x1776e5=bt,threadId:_0x5a2a23=_0x25b6d5(),comments:_0x1ecc06=[],unlinkedAt:_0x1e9741=null,resolvedAt:_0x57975b=null,resolvedBy:_0x5130cb=null,target:_0x5ca8da=null,context:_0x3f067d=null,attributes:_0x46997a={},isResolvable:_0x3aac76=!0x0,isSubmitted:_0x55922d=!0x1,isFromAdapter:_0x545b50=!0x1}={}){const _0x4b5051=_0x1fbe03;return this[_0x4b5051(0x16e)](xt(_0x4b5051(0x102),_0x1776e5),{'channelId':_0x1776e5,'threadId':_0x5a2a23,'comments':_0x1ecc06,'unlinkedAt':_0x1e9741,'resolvedAt':_0x57975b,'resolvedBy':_0x5130cb,'target':_0x5ca8da,'context':_0x3f067d,'attributes':_0x46997a,'isFromAdapter':_0x545b50,'isResolvable':_0x3aac76,'isSubmitted':_0x55922d}),this[_0x4b5051(0x113)](_0x5a2a23);}[_0x1fbe03(0x149)]({channelId:_0x2cff6f=bt,threadId:_0x5d3eab=_0x25b6d5(),target:_0x223808,context:_0x16434e=null,isResolvable:_0x542986=!0x0}){const _0x6298a=_0x1fbe03;if(this[_0x6298a(0x120)][_0x6298a(0xf1)](_0x2cff6f)||this[_0x6298a(0x120)][_0x6298a(0xf1)](void 0x0))return null;if(!_0x223808)throw new _0x1771ad(_0x6298a(0x12e));const _0x2f322c=this[_0x6298a(0x102)]({'channelId':_0x2cff6f,'threadId':_0x5d3eab,'target':_0x223808,'context':_0x16434e,'isResolvable':_0x542986});if(!_0x2f322c)return null;const _0x46a488=this[_0x6298a(0xce)][_0x6298a(0x14f)](_0x2f322c),_0x9ee520=_0x46a488[_0x6298a(0x10a)][_0x6298a(0xe8)][_0x6298a(0xbf)],_0x2032ab=this[_0x6298a(0xa6)][_0x6298a(0xa5)][_0x6298a(0x14f)](_0x282b30),_0x343057=_0x2032ab[_0x6298a(0x15b)](_0x46a488[_0x6298a(0x10a)]);return _0x2032ab[_0x6298a(0x126)](_0x343057),_0x9ee520[_0x6298a(0xda)](_0x6298a(0xf8),()=>_0x9ee520[_0x6298a(0x114)]()),_0x2f322c;}[_0x1fbe03(0x139)](_0x368071){const _0x257021=_0x1fbe03;if(_0x257021(0x146)!=typeof _0x368071)throw new _0x1771ad(_0x257021(0xe5));return this[_0x257021(0xaa)][_0x257021(0xf1)](_0x368071);}[_0x1fbe03(0x17e)]({channelId:_0x5ada85=bt,threadId:_0xd075a1,context:_0x2f4868,unlinkedAt:_0x3987f1,attributes:_0x594036,isFromAdapter:_0x2d081b=!0x1}){const _0x1104a9=_0x1fbe03;return this[_0x1104a9(0x16e)](xt(_0x1104a9(0x17e),_0x5ada85),{'channelId':_0x5ada85,'threadId':_0xd075a1,'context':_0x2f4868,'unlinkedAt':_0x3987f1,'attributes':_0x594036,'isFromAdapter':_0x2d081b}),this[_0x1104a9(0x113)](_0xd075a1);}[_0x1fbe03(0x113)](_0x58931b){const _0x502fff=_0x1fbe03;if(_0x502fff(0x146)!=typeof _0x58931b)throw new _0x1771ad(_0x502fff(0xe5));return this[_0x502fff(0xaa)][_0x502fff(0x14f)](_0x58931b);}[_0x1fbe03(0xde)]({channelId:_0x10c38f,threadId:_0x24c9a2}={}){const _0x582f4c=_0x1fbe03,_0x13f933=this[_0x582f4c(0x113)](_0x24c9a2);if(_0x13f933)return Promise[_0x582f4c(0x174)](_0x13f933);if(!this[_0x582f4c(0x183)])return Promise[_0x582f4c(0x174)](void 0x0);if(_0x582f4c(0x17a)!=typeof this[_0x582f4c(0x183)][_0x582f4c(0x113)])throw new _0x1771ad(_0x582f4c(0x17d),this[_0x582f4c(0xa6)]);return this[_0x582f4c(0x183)][_0x582f4c(0x113)]({'channelId':_0x10c38f,'threadId':_0x24c9a2})[_0x582f4c(0x11c)](_0xedaab4=>this[_0x582f4c(0x139)](_0x24c9a2)?this[_0x582f4c(0x113)](_0x24c9a2):_0xedaab4?this[_0x582f4c(0x102)](Object[_0x582f4c(0xf2)]({'isFromAdapter':!0x0,'channelId':_0x10c38f},_0xedaab4)):void 0x0)[_0x582f4c(0xc3)](_0x3cf6b7=>{const _0x2d4ec1=_0x582f4c;throw console[_0x2d4ec1(0xa8)](_0x3cf6b7),new _0x1771ad(_0x2d4ec1(0x15f),this[_0x2d4ec1(0xa6)]);});}[_0x1fbe03(0x16c)]({channelId:_0x4bbb76,skipNotAttached:_0x8ea6a3=!0x1,skipEmpty:_0x1f6ad7=!0x1,toJSON:_0x211f4c=!0x1}={}){const _0x9b382a=_0x1fbe03,_0x35ed4a=[];for(const _0x2360e7 of this[_0x9b382a(0xaa)][_0x9b382a(0x143)]())_0x4bbb76&&_0x2360e7[_0x9b382a(0xad)]!==_0x4bbb76||_0x8ea6a3&&!_0x2360e7[_0x9b382a(0x135)]||_0x1f6ad7&&0x0===_0x2360e7[_0x9b382a(0xc1)]||_0x35ed4a[_0x9b382a(0xa2)](_0x2360e7);return _0x211f4c?_0x35ed4a[_0x9b382a(0x151)](_0x24a999=>_0x24a999[_0x9b382a(0x11e)]()):_0x35ed4a;}[_0x1fbe03(0x152)](_0x514c6f){const _0xdad49d=_0x1fbe03,_0x1fdc96=this[_0xdad49d(0xce)][_0xdad49d(0x14f)](_0x514c6f);if(!_0x1fdc96)return null;return this[_0xdad49d(0xa6)][_0xdad49d(0xa5)][_0xdad49d(0x14f)](_0x282b30)[_0xdad49d(0x15b)](_0x1fdc96[_0xdad49d(0x10a)])||null;}[_0x1fbe03(0x14a)](_0x21ca6a){const _0x339ce7=_0x1fbe03,_0x5c8c41=this[_0x339ce7(0xe6)][_0x339ce7(0x14f)](_0x21ca6a[_0x339ce7(0x12b)]);return _0x5c8c41?_0x5c8c41[_0x339ce7(0xdd)]:null;}[_0x1fbe03(0x153)](_0x5a2301){const _0x3afaad=_0x1fbe03,_0xa7ea84=this[_0x3afaad(0xa6)][_0x3afaad(0xa5)][_0x3afaad(0x14f)](_0x282b30);if(!_0x5a2301)return void(this[_0x3afaad(0x15d)]&&_0xa7ea84[_0x3afaad(0x12d)]());const _0x48878c=this[_0x3afaad(0x113)](_0x5a2301);if(!_0x48878c)throw new _0x1771ad(_0x3afaad(0xf4),null,{'threadId':_0x5a2301});if(!this[_0x3afaad(0xce)][_0x3afaad(0xf1)](_0x48878c))throw new _0x1771ad(_0x3afaad(0xd8),null,{'threadId':_0x5a2301});const _0x35bdbe=_0xa7ea84[_0x3afaad(0x15b)](this[_0x3afaad(0xce)][_0x3afaad(0x14f)](_0x48878c)[_0x3afaad(0x10a)]);_0xa7ea84[_0x3afaad(0x126)](_0x35bdbe);}[_0x1fbe03(0xa3)](_0x588116,_0x236312){const _0x12b44b=_0x1fbe03;_0x588116?this[_0x12b44b(0x120)][_0x12b44b(0x176)](_0x236312):this[_0x12b44b(0x120)][_0x12b44b(0x14b)](_0x236312),this[_0x12b44b(0x16e)](_0x12b44b(0xa9),_0x12b44b(0x120),this[_0x12b44b(0x120)],this[_0x12b44b(0x120)]);}[_0x1fbe03(0x181)](_0x28c7e0){const _0x2ad9eb=_0x1fbe03;return this[_0x2ad9eb(0x120)][_0x2ad9eb(0xf1)](_0x28c7e0)||this[_0x2ad9eb(0x120)][_0x2ad9eb(0xf1)](void 0x0);}[_0x1fbe03(0xb6)](_0x1e046a,_0x98ca9d){return new _0x644bd8(_0x1e046a,_0x98ca9d);}[_0x1fbe03(0x100)](_0xabb45,_0x444c5c=bt){const _0x2ac0d9=_0x1fbe03;this[_0x2ac0d9(0xae)][_0x2ac0d9(0xb0)](_0x444c5c,_0xabb45),this[_0x2ac0d9(0x16e)](_0x2ac0d9(0x141),_0x2ac0d9(0xae),this[_0x2ac0d9(0xae)],this[_0x2ac0d9(0xae)]);}[_0x1fbe03(0x101)](_0x203150=bt){const _0x534ee4=_0x1fbe03;return this[_0x534ee4(0xae)][_0x534ee4(0xf1)](_0x203150)?this[_0x534ee4(0xae)][_0x534ee4(0x14f)](_0x203150):Nt;}[_0x1fbe03(0x13d)]({channelId:_0x23c97e,threadId:_0x4c80de,comments:_0x4db825,unlinkedAt:_0x3195f5,resolvedAt:_0x23b81c,resolvedBy:_0x2c1a0a,target:_0x4b1fb6,context:_0x14df7e,attributes:_0xc28162,isFromAdapter:_0x51dc48,isResolvable:_0x21217f,isSubmitted:_0x3073f3}){const _0x3db25e=_0x1fbe03;if(_0x3db25e(0x146)!=typeof _0x4c80de)throw new _0x1771ad(_0x3db25e(0xe5),null,{'threadId':_0x4c80de});if(this[_0x3db25e(0x139)](_0x4c80de))throw new _0x1771ad(_0x3db25e(0x159),null,{'threadId':_0x4c80de});const _0xb49f4c=new CommentThread(this,{'channelId':_0x23c97e,'id':_0x4c80de,'context':_0x14df7e,'attributes':_0xc28162,'unlinkedAt':_0x3195f5,'resolvedAt':_0x23b81c,'resolvedBy':_0x2c1a0a?this[_0x3db25e(0xa6)][_0x3db25e(0xa5)][_0x3db25e(0x14f)](_0x340930)[_0x3db25e(0xdf)](_0x2c1a0a):null,'isResolvable':_0x21217f,'isSubmitted':_0x3073f3||_0x51dc48});this[_0x3db25e(0xaa)][_0x3db25e(0xb0)](_0x4c80de,_0xb49f4c);for(const _0x45657b of _0x4db825)_0xb49f4c[_0x3db25e(0xcb)](this[_0x3db25e(0x105)]({'threadId':_0x4c80de,..._0x45657b}));return _0x4b1fb6&&_0xb49f4c[_0x3db25e(0x123)](_0x4b1fb6),_0x51dc48||!_0xb49f4c[_0x3db25e(0xc1)]?Promise[_0x3db25e(0x174)]():this[_0x3db25e(0x15a)]({'channelId':_0x23c97e,'threadId':_0x4c80de});}[_0x1fbe03(0x15a)]({channelId:_0x4172a0,threadId:_0x1d2079}){const _0x4e8b7c=_0x1fbe03;if(!this[_0x4e8b7c(0x139)](_0x1d2079))throw new _0x1771ad(_0x4e8b7c(0xbd),this);const _0x2e8207=this[_0x4e8b7c(0x113)](_0x1d2079);if(_0x2e8207[_0x4e8b7c(0x17c)]=!0x0,!this[_0x4e8b7c(0x183)]||_0x4e8b7c(0x17a)!=typeof this[_0x4e8b7c(0x183)][_0x4e8b7c(0x102)])return Promise[_0x4e8b7c(0x174)]();const {id:_0x443a5d,comments:_0x1b7ee3,resolvedAt:_0x1e921e,resolvedBy:_0x16e21b,context:_0x312284,attributes:_0x383bf9}=_0x2e8207,_0x5a582a=this[_0x4e8b7c(0xa6)][_0x4e8b7c(0xa5)][_0x4e8b7c(0x14f)](_0x4e8b7c(0x127)),_0x105295=_0x5a582a[_0x4e8b7c(0x176)](_0x4ccc5f(this[_0x4e8b7c(0xa6)][_0x4e8b7c(0x144)],_0x4e8b7c(0x167)));return this[_0x4e8b7c(0x183)][_0x4e8b7c(0x102)]({'channelId':_0x4172a0,'threadId':_0x443a5d,'comments':_0x1b7ee3[_0x4e8b7c(0x151)](_0xa9a55f=>_0xa9a55f[_0x4e8b7c(0x11e)]()),'resolvedAt':_0x1e921e,'resolvedBy':_0x16e21b?_0x16e21b['id']:_0x16e21b,'context':_0x312284,'attributes':_0x383bf9})[_0x4e8b7c(0x11c)](({comments:_0xa835da})=>{const _0x32f4f2=_0x4e8b7c;_0x5a582a[_0x32f4f2(0x13c)](_0x105295);for(const _0x2955a3 of _0xa835da)this[_0x32f4f2(0xf0)]({'channelId':_0x4172a0,'threadId':_0x1d2079,'commentId':_0x2955a3[_0x32f4f2(0xc2)],'createdAt':_0x2955a3[_0x32f4f2(0x14e)],'isFromAdapter':!0x0});})[_0x4e8b7c(0xc3)](_0x55c928=>{const _0x3e5a0b=_0x4e8b7c;throw console[_0x3e5a0b(0xa8)](_0x55c928),new _0x1771ad(_0x3e5a0b(0xe3),this);});}[_0x1fbe03(0x14c)]({threadId:_0x261ed1,target:_0x42b741}){const _0x21747c=_0x1fbe03,_0x2ff646=this[_0x21747c(0x113)](_0x261ed1);if(!_0x2ff646)throw new _0x1771ad(_0x21747c(0xed),this);const _0x212a7d=this[_0x21747c(0xa6)][_0x21747c(0xa5)][_0x21747c(0x14f)](_0x21747c(0x127)),_0x52088a=this[_0x21747c(0xa6)][_0x21747c(0xa5)][_0x21747c(0x14f)](_0x282b30),_0x327123=this[_0x21747c(0x129)](_0x2ff646),_0x2da1a3=new _0x644bd8(_0x2ff646,_0x327123);let _0x3658b5=null;_0x327123['on'](_0x21747c(0x110),(_0x576ac1,_0x5bda5a,_0x155ca2)=>{const _0x52df51=_0x21747c;_0x155ca2?_0x3658b5=_0x212a7d[_0x52df51(0x176)](_0x4ccc5f(this[_0x52df51(0xa6)][_0x52df51(0x144)],_0x52df51(0x167))):_0x3658b5&&(_0x212a7d[_0x52df51(0x13c)](_0x3658b5),_0x3658b5=null);}),this[_0x21747c(0xce)][_0x21747c(0xb0)](_0x2ff646,_0x2da1a3),this[_0x21747c(0xe6)][_0x21747c(0xb0)](_0x327123,_0x2da1a3);const _0x552248=new _0xc76757(this[_0x21747c(0xa6)][_0x21747c(0x144)],_0x327123);_0x552248[_0x21747c(0xf3)](_0x21747c(0xc1))['to'](_0x327123),_0x552248[_0x21747c(0xf3)](_0x21747c(0xd5))['to'](_0x327123,_0x21747c(0xd5),_0x327123,_0x21747c(0xc1),(_0x38fe74,_0x15c5b6)=>_0x38fe74||!_0x15c5b6),_0x552248[_0x21747c(0xf3)](_0x21747c(0xb2))['to'](_0x327123),_0x552248[_0x21747c(0xfb)]=_0x21747c(0x11d);const _0x2c4b1c=new _0x443415({'view':_0x552248,'target':_0x42b741,'type':_0x21747c(0x11d),'isVisible':!_0x2ff646[_0x21747c(0x133)]&&!!(_0x21747c(0x17a)==typeof _0x42b741?_0x42b741():_0x42b741)});return _0x327123['on'](_0x21747c(0x118),()=>{const _0x5b9750=_0x21747c;_0x2c4b1c[_0x5b9750(0x16e)](_0x5b9750(0x118));}),this[_0x21747c(0xc7)](_0x327123,_0x2c4b1c),_0x52088a[_0x21747c(0x176)](_0x2c4b1c),_0x2c4b1c;}[_0x1fbe03(0xc7)](_0x3a2ca7,_0x27d963){const _0x2e8915=_0x1fbe03;this[_0x2e8915(0x162)](_0x3a2ca7,_0x2e8915(0xf8),(_0x2c9138,_0x4cec3c)=>{const _0x28455c=_0x2e8915,_0x183939=_0x4cec3c['ui'][_0x28455c(0x10a)][_0x28455c(0x161)][_0x28455c(0xe7)];_0x27d963[_0x28455c(0xc5)][_0x28455c(0x176)](_0x183939),this[_0x28455c(0xa6)]instanceof _0x5e9590&&this[_0x28455c(0xa6)]['ui'][_0x28455c(0xd6)][_0x28455c(0x176)](_0x183939);},{'priority':_0x2e8915(0xab)}),this[_0x2e8915(0x162)](_0x3a2ca7,_0x2e8915(0x10b),(_0x6645bc,_0x54698d)=>{const _0x552fc5=_0x2e8915,_0x1c2554=_0x54698d['ui'][_0x552fc5(0x10a)][_0x552fc5(0x161)][_0x552fc5(0xe7)];_0x27d963[_0x552fc5(0xc5)][_0x552fc5(0xf1)](_0x1c2554)&&_0x27d963[_0x552fc5(0xc5)][_0x552fc5(0x13c)](_0x1c2554),this[_0x552fc5(0xa6)]instanceof _0x5e9590&&this[_0x552fc5(0xa6)]['ui'][_0x552fc5(0xd6)][_0x552fc5(0x13c)](_0x1c2554);});}[_0x1fbe03(0x122)](_0x561903){const _0x451304=_0x1fbe03;this[_0x451304(0x9d)](_0x561903,_0x451304(0xf8)),this[_0x451304(0x9d)](_0x561903,_0x451304(0x10b));}[_0x1fbe03(0x129)](_0x46622e){const _0x23a1b4=_0x1fbe03,_0xd48b13=this[_0x23a1b4(0xa6)][_0x23a1b4(0xa5)][_0x23a1b4(0x14f)](_0x340930),{config:_0x5c9f7b,locale:_0x432251}=this[_0x23a1b4(0xa6)],_0x42b8b1=_0x1a4710(_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x144)),_0x432251);return new(0x0,(_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x15e)))[(_0x23a1b4(0xfa))])(_0x432251,_0x46622e,_0xd48b13['me'],{'editorConfig':{..._0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0xbc)),'licenseKey':this[_0x23a1b4(0xa6)][_0x23a1b4(0x140)][_0x23a1b4(0x14f)](_0x23a1b4(0xd4))},'copyMarkers':_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x10e)),'maxCommentsWhenCollapsed':_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x171)),'maxThreadTotalWeight':_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x104)),'maxCommentCharsWhenCollapsed':_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x179)),'formatDateTime':_0x42b8b1,'CommentView':_0x5c9f7b[_0x23a1b4(0x14f)](_0x23a1b4(0x15e))[_0x23a1b4(0xe4)]});}[_0x1fbe03(0x124)]({threadId:_0x30d8d6,channelId:_0x2e6f90,resolvedAt:_0x20fa80,resolvedBy:_0xd25278,isFromAdapter:_0x5402be}){const _0x6ea2f7=_0x1fbe03;if(!this[_0x6ea2f7(0x139)](_0x30d8d6))throw new _0x1771ad(_0x6ea2f7(0xbd),null,{'threadId':_0x30d8d6});const _0xb2cd22=this[_0x6ea2f7(0x113)](_0x30d8d6);if(_0xb2cd22[_0x6ea2f7(0xf5)])throw new _0x1771ad(_0x6ea2f7(0x12a),null,{'threadId':_0x30d8d6});const _0x5179e4=this[_0x6ea2f7(0xa6)][_0x6ea2f7(0xa5)][_0x6ea2f7(0x14f)](_0x340930);if(_0xb2cd22[_0x6ea2f7(0xa0)]=_0x5179e4[_0x6ea2f7(0xdf)](_0xd25278),_0xb2cd22[_0x6ea2f7(0x138)]=_0x20fa80,_0x5402be||!this[_0x6ea2f7(0x183)]||_0x6ea2f7(0x17a)!=typeof this[_0x6ea2f7(0x183)][_0x6ea2f7(0xb8)])return Promise[_0x6ea2f7(0x174)]();const _0x52cb00=this[_0x6ea2f7(0xa6)][_0x6ea2f7(0xa5)][_0x6ea2f7(0x14f)](_0x6ea2f7(0x127)),_0x2ec444=_0x52cb00[_0x6ea2f7(0x176)](_0x4ccc5f(this[_0x6ea2f7(0xa6)][_0x6ea2f7(0x144)],_0x6ea2f7(0x167)));return this[_0x6ea2f7(0x183)][_0x6ea2f7(0xb8)]({'channelId':_0x2e6f90,'threadId':_0x30d8d6})[_0x6ea2f7(0x11c)](({resolvedAt:_0x10ad06,resolvedBy:_0x2fbcad})=>{const _0x1db3f0=_0x6ea2f7;_0x52cb00[_0x1db3f0(0x13c)](_0x2ec444),_0xb2cd22[_0x1db3f0(0xa0)]['id']!==_0x2fbcad&&(_0xb2cd22[_0x1db3f0(0xa0)]=_0x5179e4[_0x1db3f0(0xdf)](_0x2fbcad)),_0xb2cd22[_0x1db3f0(0x138)]=_0x10ad06;})[_0x6ea2f7(0xc3)](_0x36e9a8=>{const _0x4bf839=_0x6ea2f7;throw console[_0x4bf839(0xa8)](_0x36e9a8),new _0x1771ad(_0x4bf839(0x166),this);});}[_0x1fbe03(0xa1)]({threadId:_0x2a5f60,channelId:_0xb110c8,isFromAdapter:_0x5a3789}){const _0x5883e1=_0x1fbe03;if(!this[_0x5883e1(0x139)](_0x2a5f60))throw new _0x1771ad(_0x5883e1(0xbd),null,{'threadId':_0x2a5f60});const _0x156b6f=this[_0x5883e1(0x113)](_0x2a5f60);if(!_0x156b6f[_0x5883e1(0xf5)])throw new _0x1771ad(_0x5883e1(0xa7),null,{'threadId':_0x2a5f60});if(_0x156b6f[_0x5883e1(0xa0)]=null,_0x156b6f[_0x5883e1(0x138)]=null,_0x5a3789||!this[_0x5883e1(0x183)]||_0x5883e1(0x17a)!=typeof this[_0x5883e1(0x183)][_0x5883e1(0x14d)])return Promise[_0x5883e1(0x174)]();const _0x47f9ab=this[_0x5883e1(0xa6)][_0x5883e1(0xa5)][_0x5883e1(0x14f)](_0x5883e1(0x127)),_0x4c50c9=_0x47f9ab[_0x5883e1(0x176)](_0x4ccc5f(this[_0x5883e1(0xa6)][_0x5883e1(0x144)],_0x5883e1(0x167)));return this[_0x5883e1(0x183)][_0x5883e1(0x14d)]({'channelId':_0xb110c8,'threadId':_0x2a5f60})[_0x5883e1(0x11c)](()=>_0x47f9ab[_0x5883e1(0x13c)](_0x4c50c9))[_0x5883e1(0xc3)](_0x1ed8d5=>{const _0xd16f73=_0x5883e1;throw console[_0xd16f73(0xa8)](_0x1ed8d5),new _0x1771ad(_0xd16f73(0x168),this);});}[_0x1fbe03(0x170)]({threadId:_0x1d369e,isFromAdapter:_0xde25ed}){const _0x9255cd=_0x1fbe03,_0x23e4f5=this[_0x9255cd(0x113)](_0x1d369e);if(!_0x23e4f5)throw new _0x1771ad(_0x9255cd(0x117),this);if(this[_0x9255cd(0x182)](_0x1d369e),this[_0x9255cd(0xaa)][_0x9255cd(0x14b)](_0x1d369e),!_0x23e4f5[_0x9255cd(0xfd)]||_0xde25ed||!this[_0x9255cd(0x183)]||_0x9255cd(0x17a)!=typeof this[_0x9255cd(0x183)][_0x9255cd(0x17b)])return Promise[_0x9255cd(0x174)]();const _0x37471d=this[_0x9255cd(0xa6)][_0x9255cd(0xa5)][_0x9255cd(0x14f)](_0x9255cd(0x127)),{channelId:_0x5f3625}=_0x23e4f5,_0x1fac23=_0x37471d[_0x9255cd(0x176)](_0x4ccc5f(this[_0x9255cd(0xa6)][_0x9255cd(0x144)],_0x9255cd(0x167)));return this[_0x9255cd(0x183)][_0x9255cd(0x17b)]({'channelId':_0x5f3625,'threadId':_0x1d369e})[_0x9255cd(0x11c)](()=>_0x37471d[_0x9255cd(0x13c)](_0x1fac23))[_0x9255cd(0xc3)](_0xe39a36=>{const _0x2574e1=_0x9255cd;throw console[_0x2574e1(0xa8)](_0xe39a36),new _0x1771ad(_0x2574e1(0xb1),this);});}[_0x1fbe03(0x13a)]({threadId:_0x55363e,unlinkedAt:_0x30758c,context:_0x1c0fe3,attributes:_0x4ffdb4,isFromAdapter:_0x389751}){const _0x273276=_0x1fbe03;if(_0x273276(0x146)!=typeof _0x55363e)throw new _0x1771ad(_0x273276(0xe5),null,{'threadId':_0x55363e});if(!this[_0x273276(0x139)](_0x55363e))throw new _0x1771ad(_0x273276(0xbd),null,{'threadId':_0x55363e});const _0xdb51eb=this[_0x273276(0x113)](_0x55363e);let _0xbb6266=!0x1;if(void 0x0!==_0x1c0fe3&&_0xdb51eb[_0x273276(0xa6)]!==_0x1c0fe3&&(_0xdb51eb[_0x273276(0xa6)]=_0x1c0fe3,_0xbb6266=!0x0),void 0x0!==_0x30758c&&_0xdb51eb[_0x273276(0xfc)]!==_0x30758c&&(_0xdb51eb[_0x273276(0xfc)]=_0x30758c,_0xbb6266=!0x0),_0x4ffdb4&&!_0x150978(_0x4ffdb4,_0xdb51eb[_0x273276(0x13e)])&&(_0xdb51eb[_0x273276(0x13e)]=_0x4ffdb4,_0xbb6266=!0x0),!_0xbb6266)return Promise[_0x273276(0x174)]();if(!_0xdb51eb[_0x273276(0xfd)]||_0x389751||!this[_0x273276(0x183)]||_0x273276(0x17a)!=typeof this[_0x273276(0x183)][_0x273276(0x17e)])return Promise[_0x273276(0x174)]();const _0x5b3f3a=this[_0x273276(0xa6)][_0x273276(0xa5)][_0x273276(0x14f)](_0x273276(0x127)),{channelId:_0x2b067b}=_0xdb51eb,_0x4e6dd8=_0x5b3f3a[_0x273276(0x176)](_0x4ccc5f(this[_0x273276(0xa6)][_0x273276(0x144)],_0x273276(0x167)));return this[_0x273276(0x183)][_0x273276(0x17e)]({'channelId':_0x2b067b,'threadId':_0x55363e,'context':_0x1c0fe3,'unlinkedAt':_0x30758c,'attributes':_0x4ffdb4})[_0x273276(0x11c)](()=>_0x5b3f3a[_0x273276(0x13c)](_0x4e6dd8))[_0x273276(0xc3)](_0x59c264=>{const _0x33330f=_0x273276;throw console[_0x33330f(0xa8)](_0x59c264),new _0x1771ad(_0x33330f(0x121),this);});}[_0x1fbe03(0x182)](_0x4de6e3){const _0x13695f=_0x1fbe03,_0x4f4aac=this[_0x13695f(0xa6)][_0x13695f(0xa5)][_0x13695f(0x14f)](_0x282b30),_0x12689f=this[_0x13695f(0x113)](_0x4de6e3);if(_0x12689f[_0x13695f(0x147)]=!0x1,this[_0x13695f(0xce)][_0x13695f(0xf1)](_0x12689f)){const _0x1cc169=this[_0x13695f(0xce)][_0x13695f(0x14f)](_0x12689f),_0x5d3369=_0x1cc169[_0x13695f(0x10a)],_0xd264fa=_0x4f4aac[_0x13695f(0x15b)](_0x5d3369);this[_0x13695f(0xce)][_0x13695f(0x14b)](_0x12689f),this[_0x13695f(0xe6)][_0x13695f(0x14b)](_0x5d3369),_0xd264fa&&_0x4f4aac[_0x13695f(0x13c)](_0xd264fa),_0x1cc169[_0x13695f(0xec)](),_0x5d3369[_0x13695f(0xec)]()[_0x13695f(0x11c)](()=>{const _0x259a41=_0x13695f;this[_0x259a41(0x122)](_0x5d3369);});}}[_0x1fbe03(0xbe)]({threadId:_0x483e30,resolvedAt:_0x4c9b6a,unlinkedAt:_0x1d2178}){const _0x123c19=_0x1fbe03,_0x247722=!!_0x4c9b6a,_0x15ea15=this[_0x123c19(0xa6)][_0x123c19(0xa5)][_0x123c19(0x14f)](_0x282b30),_0x592cb4=this[_0x123c19(0x113)](_0x483e30);if(this[_0x123c19(0xce)][_0x123c19(0xf1)](_0x592cb4)){const _0x5695f0=this[_0x123c19(0xce)][_0x123c19(0x14f)](_0x592cb4)[_0x123c19(0x10a)],_0x35a481=_0x15ea15[_0x123c19(0x15b)](_0x5695f0);_0x35a481&&(_0x247722&&_0x15ea15[_0x123c19(0x178)](_0x35a481),_0x1d2178?_0x35a481[_0x123c19(0x16b)]=!0x1:_0x35a481[_0x123c19(0x115)]());}}[_0x1fbe03(0xd1)](_0x1622ee){const _0x1e1e93=_0x1fbe03,_0x2d6d35=this[_0x1e1e93(0xa6)][_0x1e1e93(0xa5)][_0x1e1e93(0x14f)](_0x340930),_0x54ba30=_0x228352(_0x1e1e93(0x10c)+_0x1622ee),_0x44d5c9=_0x2d6d35[_0x1e1e93(0xdf)](_0x54ba30);return _0x44d5c9||_0x2d6d35[_0x1e1e93(0xdb)]({'id':_0x54ba30,'name':_0x1622ee});}[_0x1fbe03(0x105)]({threadId:_0x20940f,commentId:_0x365b5b=_0x25b6d5(),content:_0x15c18d,authorId:_0x303342,createdAt:_0x57c9a7,attributes:_0x73cdf4}){const _0x5961d2=_0x1fbe03;if(_0x5961d2(0x146)!=typeof _0x365b5b)throw new _0x1771ad(_0x5961d2(0xaf));if(_0x5961d2(0x146)!=typeof _0x303342)throw new _0x1771ad(_0x5961d2(0xea));if(_0x5961d2(0x146)!=typeof _0x15c18d||!_0x15c18d[_0x5961d2(0xee)]())throw new _0x1771ad(_0x5961d2(0x175));const _0x4a0ea3=this[_0x5961d2(0xa6)][_0x5961d2(0xa5)][_0x5961d2(0x14f)](_0x340930)[_0x5961d2(0xdf)](_0x303342);if(!_0x4a0ea3)throw new _0x1771ad(_0x5961d2(0x10f),null,{'authorId':_0x303342});let _0x547703=null,_0x5a37a7=_0x57c9a7;return _0x73cdf4?.[_0x5961d2(0xd9)]&&(_0x547703=this[_0x5961d2(0xd1)](_0x73cdf4[_0x5961d2(0xd9)][_0x5961d2(0xba)]),_0x5a37a7=new Date(_0x73cdf4[_0x5961d2(0xd9)][_0x5961d2(0x14e)])),new Comment(this,{'threadId':_0x20940f,'id':_0x365b5b,'author':_0x547703||_0x4a0ea3,'creator':_0x4a0ea3,'content':_0x15c18d,'createdAt':_0x57c9a7,'authoredAt':_0x5a37a7,'attributes':_0x73cdf4});}[_0x1fbe03(0xac)](_0x52bb74){const _0x413fdc=_0x1fbe03;let {threadId:_0xb168cf,content:_0xf8466b,attributes:_0x1804ee,isFromAdapter:_0x3b9bd5}=_0x52bb74;const _0x786a04=this[_0x413fdc(0x113)](_0x52bb74[_0x413fdc(0xd0)]);if(!_0x786a04)throw new _0x1771ad(_0x413fdc(0x165),this);const _0xd55c76=this[_0x413fdc(0x105)](_0x52bb74),{id:_0x329ed5}=_0xd55c76;if(_0x786a04[_0x413fdc(0xcb)](_0xd55c76),_0x3b9bd5||!this[_0x413fdc(0x183)]||_0x413fdc(0x17a)!=typeof this[_0x413fdc(0x183)][_0x413fdc(0x13f)]||!_0x786a04[_0x413fdc(0xfd)])return Promise[_0x413fdc(0x174)]();const _0x5b5ce7=this[_0x413fdc(0xa6)][_0x413fdc(0xa5)][_0x413fdc(0x14f)](_0x413fdc(0x127)),{channelId:_0x296793}=_0x786a04,_0x52cf0d=_0x5b5ce7[_0x413fdc(0x176)](_0x4ccc5f(this[_0x413fdc(0xa6)][_0x413fdc(0x144)],_0x413fdc(0x167)));return _0x1804ee||(_0x1804ee={}),this[_0x413fdc(0x183)][_0x413fdc(0x13f)]({'channelId':_0x296793,'threadId':_0xb168cf,'commentId':_0x329ed5,'content':_0xf8466b,'attributes':_0x1804ee})[_0x413fdc(0x11c)](_0x43cb3b=>{const _0xe60b07=_0x413fdc;_0x5b5ce7[_0xe60b07(0x13c)](_0x52cf0d),_0x43cb3b&&this[_0xe60b07(0xf0)]({'channelId':_0x296793,'threadId':_0xb168cf,'commentId':_0x329ed5,'createdAt':_0x43cb3b[_0xe60b07(0x14e)],'isFromAdapter':!0x0});})[_0x413fdc(0xc3)](_0x511af2=>{const _0x2bd404=_0x413fdc;throw console[_0x2bd404(0xa8)](_0x511af2),new _0x1771ad(_0x2bd404(0xcf),this);});}[_0x1fbe03(0xf0)]({threadId:_0x21b3bd,commentId:_0x1a0b68,content:_0x5a9407,createdAt:_0xcd5546,attributes:_0x411942,isFromAdapter:_0x1b87ab}){const _0x34da62=_0x1fbe03;if(void 0x0!==_0x5a9407&&(_0x34da62(0x146)!=typeof _0x5a9407||!_0x5a9407[_0x34da62(0xee)]()[_0x34da62(0xc1)]))throw new _0x1771ad(_0x34da62(0x172));const _0x160d09=this[_0x34da62(0x113)](_0x21b3bd),_0x1d5d81=_0x160d09[_0x34da62(0x12f)](_0x1a0b68);if(!_0x1d5d81)throw new _0x1771ad(_0x34da62(0xb4),this);let _0xf1f886=!0x1;if(_0x5a9407&&_0x5a9407!==_0x1d5d81[_0x34da62(0x158)]&&(_0x1d5d81[_0x34da62(0xe2)]||_0x1b87ab)&&(_0x1d5d81[_0x34da62(0x158)]=_0x5a9407,_0xf1f886=!0x0),_0xcd5546&&_0xcd5546!==_0x1d5d81[_0x34da62(0x14e)]&&(_0x1d5d81[_0x34da62(0x14e)]=_0xcd5546,_0x1d5d81[_0x34da62(0x13e)]&&_0x1d5d81[_0x34da62(0x13e)][_0x34da62(0xd9)]||(_0x1d5d81[_0x34da62(0xbb)]=_0xcd5546),_0xf1f886=!0x0),_0x411942&&!_0x150978(_0x411942,_0x1d5d81[_0x34da62(0x13e)])&&(_0x1d5d81[_0x34da62(0x13e)]=_0x411942,_0xf1f886=!0x0),!_0xf1f886)return Promise[_0x34da62(0x174)]();if(_0x160d09[_0x34da62(0x16e)](_0x34da62(0x169)),_0x1b87ab||!this[_0x34da62(0x183)]||_0x34da62(0x17a)!=typeof this[_0x34da62(0x183)][_0x34da62(0x12c)])return Promise[_0x34da62(0x174)]();const _0x40f431=this[_0x34da62(0xa6)][_0x34da62(0xa5)][_0x34da62(0x14f)](_0x34da62(0x127)),{channelId:_0x29c2df}=this[_0x34da62(0x113)](_0x1d5d81[_0x34da62(0xd0)]),_0x564db5=_0x40f431[_0x34da62(0x176)](_0x4ccc5f(this[_0x34da62(0xa6)][_0x34da62(0x144)],_0x34da62(0x167)));return this[_0x34da62(0x183)][_0x34da62(0x12c)]({'channelId':_0x29c2df,'threadId':_0x21b3bd,'commentId':_0x1a0b68,'content':_0x5a9407,'attributes':_0x411942})[_0x34da62(0x11c)](()=>_0x40f431[_0x34da62(0x13c)](_0x564db5))[_0x34da62(0xc3)](_0x1412e9=>{const _0x3f3860=_0x34da62;throw console[_0x3f3860(0xa8)](_0x1412e9),new _0x1771ad(_0x3f3860(0x136),this);});}[_0x1fbe03(0x130)]({threadId:_0x2fe95c,commentId:_0xe2f856,isFromAdapter:_0x147f38}){const _0x5bb875=_0x1fbe03,_0x212898=this[_0x5bb875(0x113)](_0x2fe95c),_0x24b6b5=_0x212898[_0x5bb875(0x12f)](_0xe2f856);if(!_0x24b6b5)throw new _0x1771ad(_0x5bb875(0x16f),this);if(_0x212898[_0x5bb875(0x173)](_0x24b6b5),_0x147f38||!this[_0x5bb875(0x183)]||_0x5bb875(0x17a)!=typeof this[_0x5bb875(0x183)][_0x5bb875(0x11a)])return Promise[_0x5bb875(0x174)]();const _0x15bb49=this[_0x5bb875(0xa6)][_0x5bb875(0xa5)][_0x5bb875(0x14f)](_0x5bb875(0x127)),{channelId:_0x1bdbc1}=_0x212898,_0x6fe1e4=_0x15bb49[_0x5bb875(0x176)](_0x4ccc5f(this[_0x5bb875(0xa6)][_0x5bb875(0x144)],_0x5bb875(0x167)));return this[_0x5bb875(0x183)][_0x5bb875(0x11a)]({'channelId':_0x1bdbc1,'threadId':_0x2fe95c,'commentId':_0xe2f856})[_0x5bb875(0x11c)](()=>_0x15bb49[_0x5bb875(0x13c)](_0x6fe1e4))[_0x5bb875(0xc3)](_0x3749b0=>{const _0x3f4fd6=_0x5bb875;throw console[_0x3f4fd6(0xa8)](_0x3749b0),new _0x1771ad(_0x3f4fd6(0xfe),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x1bfd86(){[_0x1fbe03(0xad)];['id'];[_0x1fbe03(0x147)];[_0x1fbe03(0x17c)];[_0x1fbe03(0x15e)];[_0x1fbe03(0xf9)];constructor(_0x3df0f1,_0x3c1555){const _0x1b5374=_0x1fbe03;super();const _0x1781ce=_0x3c1555[_0x1b5374(0xdc)];this[_0x1b5374(0xad)]=_0x3c1555[_0x1b5374(0xad)],this['id']=_0x3c1555['id'],this[_0x1b5374(0x15e)]=new _0xe7bcd2(),this[_0x1b5374(0xf9)]=_0x3df0f1,this[_0x1b5374(0x147)]=!0x1,this[_0x1b5374(0x17c)]=_0x3c1555[_0x1b5374(0xfd)],this[_0x1b5374(0xb0)](_0x1b5374(0xf6),!0x0),this[_0x1b5374(0xf3)](_0x1b5374(0x181))['to'](_0x3df0f1,_0x1b5374(0xae),_0x3df0f1,_0x1b5374(0x120),()=>_0x3df0f1[_0x1b5374(0x181)](this[_0x1b5374(0xad)])),this[_0x1b5374(0xf3)](_0x1b5374(0x148))['to'](_0x3df0f1,_0x1b5374(0xae),()=>_0x3df0f1[_0x1b5374(0x101)](this[_0x1b5374(0xad)])[_0x1b5374(0x160)]),this[_0x1b5374(0xf3)](_0x1b5374(0xb7))['to'](_0x3df0f1,_0x1b5374(0xae),()=>{const _0xb67318=_0x1b5374,_0x4373c0=_0x3df0f1[_0xb67318(0x101)](this[_0xb67318(0xad)]);return _0x4373c0[_0xb67318(0xf7)]||_0x4373c0[_0xb67318(0x160)];}),this[_0x1b5374(0xf3)](_0x1b5374(0xdc))['to'](_0x3df0f1,_0x1b5374(0xae),()=>_0x1781ce&&_0x3df0f1[_0x1b5374(0x101)](this[_0x1b5374(0xad)])[_0x1b5374(0x174)]),this[_0x1b5374(0xb0)](_0x1b5374(0xa6),_0x3c1555[_0x1b5374(0xa6)]),this[_0x1b5374(0xf3)](_0x1b5374(0x133))['to'](this,_0x1b5374(0x138),this,_0x1b5374(0xfc),(_0x35820e,_0x457c00)=>_0x35820e?_0x457c00?_0x35820e<_0x457c00?_0x35820e:_0x457c00:_0x35820e:_0x457c00),this[_0x1b5374(0xb0)](_0x1b5374(0xfc),_0x3c1555[_0x1b5374(0xfc)]||null),this[_0x1b5374(0xb0)](_0x1b5374(0x138),_0x3c1555[_0x1b5374(0x138)]||null),this[_0x1b5374(0xb0)](_0x1b5374(0xa0),_0x3c1555[_0x1b5374(0xa0)]||null),this[_0x1b5374(0xf3)](_0x1b5374(0xf5))['to'](this,_0x1b5374(0x138),_0x575dec=>!!_0x575dec),this[_0x1b5374(0xb0)](_0x1b5374(0x13e),_0x3c1555[_0x1b5374(0x13e)]||{});}get[_0x1fbe03(0x164)](){const _0x41b6df=_0x1fbe03;return Array[_0x41b6df(0x16a)](this[_0x41b6df(0x15e)])[_0x41b6df(0xe9)]((_0x3e85d6,_0xa07386)=>_0x3e85d6+_0xa07386[_0x41b6df(0x164)],0x0);}get[_0x1fbe03(0xc1)](){const _0x183ccb=_0x1fbe03;return this[_0x183ccb(0x15e)][_0x183ccb(0xc1)];}get[_0x1fbe03(0x135)](){const _0x49bbef=_0x1fbe03;return this[_0x49bbef(0x147)];}get[_0x1fbe03(0xfd)](){const _0x14ac1f=_0x1fbe03;return this[_0x14ac1f(0x17c)];}[_0x1fbe03(0x11f)](){const _0x361368=_0x1fbe03,{channelId:_0x16944b,id:_0x473e30}=this;this[_0x361368(0xf9)][_0x361368(0x16e)](xt(_0x361368(0x13b),_0x16944b),{'channelId':_0x16944b,'threadId':_0x473e30});}[_0x1fbe03(0x17f)](_0x5ddd7c){const _0x1282b5=_0x1fbe03;this[_0x1282b5(0xd7)]({'unlinkedAt':_0x5ddd7c});}[_0x1fbe03(0x174)]({resolvedAt:_0x27ed6a=new Date(),resolvedBy:_0x5acda1='',isFromAdapter:_0x184032=!0x1}={}){const _0x5f1c5d=_0x1fbe03,_0x55f474=this[_0x5f1c5d(0xf9)][_0x5f1c5d(0xa6)][_0x5f1c5d(0xa5)][_0x5f1c5d(0x14f)](_0x340930)['me'],{channelId:_0x21dcd4,id:_0x4d20e9}=this;this[_0x5f1c5d(0xf9)][_0x5f1c5d(0x16e)](xt(_0x5f1c5d(0xb8),_0x21dcd4),{'channelId':_0x21dcd4,'threadId':_0x4d20e9,'resolvedAt':_0x27ed6a,'resolvedBy':_0x5acda1||_0x55f474['id'],'isFromAdapter':_0x184032});}[_0x1fbe03(0xc8)]({isFromAdapter:_0x518754=!0x1}={}){const _0x53983a=_0x1fbe03,{channelId:_0x28bfdb,id:_0x5d6749}=this;this[_0x53983a(0xf9)][_0x53983a(0x16e)](xt(_0x53983a(0x14d),_0x28bfdb),{'channelId':_0x28bfdb,'threadId':_0x5d6749,'isFromAdapter':_0x518754});}[_0x1fbe03(0xd2)](_0x569e83){const _0x1d3527=_0x1fbe03;this[_0x1d3527(0xa6)]||this[_0x1d3527(0xd7)]({'context':_0x569e83});}[_0x1fbe03(0x10d)](_0x461c50,_0x5a8019){const _0x4ce309=_0x1fbe03,_0x3232b0=_0x576273(this[_0x4ce309(0x13e)]);_0x2a1011(_0x3232b0,_0x461c50,_0x5a8019),this[_0x4ce309(0xd7)]({'attributes':_0x3232b0});}[_0x1fbe03(0x131)](_0x2d3ad9){const _0x39ed22=_0x1fbe03,_0x6f338f=_0x576273(this[_0x39ed22(0x13e)]);_0x9439c0(_0x6f338f,_0x2d3ad9),this[_0x39ed22(0xd7)]({'attributes':_0x6f338f});}[_0x1fbe03(0x13c)]({isFromAdapter:_0x521eb5=!0x1}={}){const _0x19f8af=_0x1fbe03,{channelId:_0x457338,id:_0x1cbd4a}=this;this[_0x19f8af(0xf9)][_0x19f8af(0x16e)](xt(_0x19f8af(0x17b),_0x457338),{'channelId':_0x457338,'threadId':_0x1cbd4a,'isFromAdapter':_0x521eb5});}[_0x1fbe03(0x123)](_0xb6dff1){const _0xc33179=_0x1fbe03;return this[_0xc33179(0xf9)][_0xc33179(0x14c)]({'threadId':this['id'],'target':_0xb6dff1});}[_0x1fbe03(0x13f)](_0x319413){const _0x56496f=_0x1fbe03,{channelId:_0xd88701,id:_0x2fc4be}=this;this[_0x56496f(0xf9)][_0x56496f(0x16e)](xt(_0x56496f(0x13f),_0xd88701,_0x2fc4be),Object[_0x56496f(0xf2)]({'channelId':_0xd88701,'threadId':_0x2fc4be},_0x319413));}[_0x1fbe03(0x12f)](_0x1d0cd3){const _0xe68a6c=_0x1fbe03;if(_0xe68a6c(0x146)!=typeof _0x1d0cd3)throw new _0x1771ad(_0xe68a6c(0x11b),null,{'commentId':_0x1d0cd3});return this[_0xe68a6c(0x15e)][_0xe68a6c(0x14f)](_0x1d0cd3);}[_0x1fbe03(0x11e)](){const _0x1e122e=_0x1fbe03;return{'threadId':this['id'],'context':this[_0x1e122e(0xa6)],'unlinkedAt':this[_0x1e122e(0xfc)],'resolvedAt':this[_0x1e122e(0x138)],'resolvedBy':this[_0x1e122e(0xa0)]?this[_0x1e122e(0xa0)]['id']:null,'archivedAt':this[_0x1e122e(0x133)],'comments':this[_0x1e122e(0x15e)][_0x1e122e(0x151)](_0x491766=>_0x491766[_0x1e122e(0x11e)]()),'attributes':this[_0x1e122e(0x13e)]};}[_0x1fbe03(0xcb)](_0xbefa07){const _0x2e04d9=_0x1fbe03;return this[_0x2e04d9(0x162)](_0xbefa07,_0x2e04d9(0xc0),()=>{const _0x9929c7=_0x2e04d9,_0x272d2e=this[_0x9929c7(0x180)](_0xbefa07),_0x3c81e6=this[_0x9929c7(0x15e)];_0x272d2e-0x1!=_0x3c81e6[_0x9929c7(0x134)](_0xbefa07)&&_0x272d2e+0x1!=_0x3c81e6[_0x9929c7(0x134)](_0xbefa07)&&(this[_0x9929c7(0x173)](_0xbefa07),this[_0x9929c7(0xcb)](_0xbefa07));}),this[_0x2e04d9(0x15e)][_0x2e04d9(0x176)](_0xbefa07,this[_0x2e04d9(0x180)](_0xbefa07));}[_0x1fbe03(0xd7)](_0x182002){const _0x4f0abd=_0x1fbe03,{channelId:_0x254ad5,id:_0x32f049}=this;this[_0x4f0abd(0xf9)][_0x4f0abd(0x16e)](xt(_0x4f0abd(0x17e),_0x254ad5),{..._0x182002,'channelId':_0x254ad5,'threadId':_0x32f049});}[_0x1fbe03(0x173)](_0x26d653){const _0x3f5a66=_0x1fbe03;return this[_0x3f5a66(0x9d)](_0x26d653),_0x26d653[_0x3f5a66(0xec)](),this[_0x3f5a66(0x15e)][_0x3f5a66(0x13c)](_0x26d653);}[_0x1fbe03(0x180)](_0x479ea4){const _0x55ce34=_0x1fbe03,_0x112563=this[_0x55ce34(0x15e)][_0x55ce34(0x185)](_0x4d5ab6=>new Date(_0x4d5ab6[_0x55ce34(0xbb)])[_0x55ce34(0x132)]()>new Date(_0x479ea4[_0x55ce34(0xbb)])[_0x55ce34(0x132)]());return _0x112563?this[_0x55ce34(0x15e)][_0x55ce34(0x134)](_0x112563):this[_0x55ce34(0xc1)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x1bfd86(){['id'];[_0x1fbe03(0xd0)];[_0x1fbe03(0x106)];[_0x1fbe03(0xff)];[_0x1fbe03(0x142)];[_0x1fbe03(0x14e)];[_0x1fbe03(0xf9)];constructor(_0x48965a,_0x5212e5){const _0x17e68d=_0x1fbe03;super();const _0x1b73a8=_0x48965a[_0x17e68d(0xa6)][_0x17e68d(0xa5)][_0x17e68d(0x14f)](_0x340930)['me'],_0x4ab473=_0x48965a[_0x17e68d(0x113)](_0x5212e5[_0x17e68d(0xd0)]),_0x211985=0x0===_0x4ab473[_0x17e68d(0x15e)][_0x17e68d(0xc1)],_0x5df61f=_0x1b73a8===_0x5212e5[_0x17e68d(0x106)];this['id']=_0x5212e5['id'],this[_0x17e68d(0xd0)]=_0x5212e5[_0x17e68d(0xd0)],this[_0x17e68d(0x106)]=_0x5212e5[_0x17e68d(0x106)],this[_0x17e68d(0xff)]=_0x5212e5[_0x17e68d(0xff)],this[_0x17e68d(0x142)]=Boolean(_0x5212e5[_0x17e68d(0x13e)]&&_0x5212e5[_0x17e68d(0x13e)][_0x17e68d(0xd9)]),this[_0x17e68d(0xb0)](_0x17e68d(0x158),_0x5212e5[_0x17e68d(0x158)]),this[_0x17e68d(0x14e)]=_0x5212e5[_0x17e68d(0x14e)]||new Date(),this[_0x17e68d(0xb0)](_0x17e68d(0xbb),_0x5212e5[_0x17e68d(0xbb)]||new Date()),this[_0x17e68d(0xf3)](_0x17e68d(0x138))['to'](_0x4ab473,_0x17e68d(0x138)),this[_0x17e68d(0xb0)](_0x17e68d(0x13e),_0x5212e5[_0x17e68d(0x13e)]||{}),this[_0x17e68d(0xf3)](_0x17e68d(0xe2))['to'](_0x48965a,_0x17e68d(0xae),()=>{const _0xb330b9=_0x17e68d,_0x272aa5=_0x48965a[_0xb330b9(0x101)](_0x4ab473[_0xb330b9(0xad)])[_0xb330b9(0xf7)],_0x7a51f9=_0x48965a[_0xb330b9(0x101)](_0x4ab473[_0xb330b9(0xad)])[_0xb330b9(0x125)];return _0x5df61f&&_0x272aa5||!_0x5df61f&&_0x7a51f9;}),this[_0x17e68d(0xf3)](_0x17e68d(0x148))['to'](_0x4ab473,_0x17e68d(0x148),_0x48965a,_0x17e68d(0xae),_0x241909=>{const _0x58c5e8=_0x17e68d,_0x4057be=_0x48965a[_0x58c5e8(0x101)](_0x4ab473[_0x58c5e8(0xad)])[_0x58c5e8(0xf7)],_0x3173c7=_0x48965a[_0x58c5e8(0x101)](_0x4ab473[_0x58c5e8(0xad)])[_0x58c5e8(0x125)];return _0x5df61f&&_0x4057be||_0x241909&&_0x211985||!_0x5df61f&&_0x3173c7&&!_0x211985;}),this[_0x17e68d(0xf3)](_0x17e68d(0x181))['to'](_0x4ab473,_0x17e68d(0x181)),this[_0x17e68d(0xf9)]=_0x48965a;}get[_0x1fbe03(0x164)](){const _0x2b250f=_0x1fbe03;return Math[_0x2b250f(0x155)](function(_0x14b586){const _0x182ed9=_0x2b250f,_0x53f948=document[_0x182ed9(0x157)](_0x182ed9(0x137));return _0x53f948[_0x182ed9(0xca)]=_0x14b586,_0x53f948[_0x182ed9(0xcc)][_0x182ed9(0xc1)];}(this[_0x2b250f(0x158)]),0xc8);}[_0x1fbe03(0xa4)](_0xe8d36b){const _0x43cabc=_0x1fbe03,{threadId:_0x30fa0c,id:_0x158a1c}=this;if(!this[_0x43cabc(0xf9)][_0x43cabc(0x139)](_0x30fa0c))throw new _0x1771ad(_0x43cabc(0x109),this);const {channelId:_0x527047}=this[_0x43cabc(0xf9)][_0x43cabc(0x113)](_0x30fa0c);this[_0x43cabc(0xf9)][_0x43cabc(0x16e)](xt(_0x43cabc(0x12c),_0x527047,_0x30fa0c),{'channelId':_0x527047,'threadId':_0x30fa0c,'commentId':_0x158a1c,..._0xe8d36b});}[_0x1fbe03(0x10d)](_0x25a2ec,_0xf8a35e){const _0x354684=_0x1fbe03,_0x562b2b=_0x576273(this[_0x354684(0x13e)]);_0x2a1011(_0x562b2b,_0x25a2ec,_0xf8a35e),this[_0x354684(0xa4)]({'attributes':_0x562b2b});}[_0x1fbe03(0x131)](_0x5a0b6e){const _0x8df8e4=_0x1fbe03,_0x25b11a=_0x576273(this[_0x8df8e4(0x13e)]);_0x9439c0(_0x25b11a,_0x5a0b6e),this[_0x8df8e4(0xa4)]({'attributes':_0x25b11a});}[_0x1fbe03(0x13c)](_0x520bbd={}){const _0x522253=_0x1fbe03;if(!_0x520bbd[_0x522253(0x145)]&&!this[_0x522253(0x148)])return;const {threadId:_0x362c9a,id:_0x2d55e6}=this;if(!this[_0x522253(0xf9)][_0x522253(0x139)](_0x362c9a))throw new _0x1771ad(_0x522253(0x150),this);const {channelId:_0x2cd5c7}=this[_0x522253(0xf9)][_0x522253(0x113)](_0x362c9a);this[_0x522253(0xf9)][_0x522253(0x16e)](xt(_0x522253(0x11a),_0x2cd5c7,_0x362c9a),{'channelId':_0x2cd5c7,'threadId':_0x362c9a,'commentId':_0x2d55e6,..._0x520bbd});}[_0x1fbe03(0x11e)](){const _0x469a92=_0x1fbe03;return{'commentId':this['id'],'content':this[_0x469a92(0x158)],'createdAt':this[_0x469a92(0x14e)],'authorId':this[_0x469a92(0xff)]['id'],'attributes':this[_0x469a92(0x13e)]};}[_0x1fbe03(0xec)](){const _0x41a1ed=_0x1fbe03;this[_0x41a1ed(0x9d)]();}}function xt(_0x300d34,..._0xcb5cda){for(const _0x55149d of _0xcb5cda)void 0x0!==_0x55149d&&(_0x300d34+=':'+String(_0x55149d));return _0x300d34;}
23
+ const _0x3a51fc=_0x3ddd;(function(_0x2c0f84,_0x41158c){const _0x5ed37e=_0x3ddd,_0x2c010f=_0x2c0f84();while(!![]){try{const _0x401070=-parseInt(_0x5ed37e(0x1ca))/0x1+-parseInt(_0x5ed37e(0x21f))/0x2*(parseInt(_0x5ed37e(0x205))/0x3)+parseInt(_0x5ed37e(0x212))/0x4*(-parseInt(_0x5ed37e(0x1b9))/0x5)+-parseInt(_0x5ed37e(0x20a))/0x6+-parseInt(_0x5ed37e(0x208))/0x7+parseInt(_0x5ed37e(0x26e))/0x8*(parseInt(_0x5ed37e(0x1b8))/0x9)+parseInt(_0x5ed37e(0x273))/0xa;if(_0x401070===_0x41158c)break;else _0x2c010f['push'](_0x2c010f['shift']());}catch(_0xd1012b){_0x2c010f['push'](_0x2c010f['shift']());}}}(_0x259a,0x558d3));function _0x259a(){const _0x540438=['_removeComment','isResolvable','external:','textContent','attachTo','commentsrepository-update-comment-invalid-content','_threads','editorDestroyed','2JFBjNI','view','_removeActiveAnnotation','write','_isAttached','updateComment','comments.copyMarkers','context','_submitCommentThread','_isSubmitted','commentsrepository-adapter-already-set','commentsrepository-update-comment-missing-comment-thread','has','addComment','_attachCommentThread','fetchCommentThread','once','config','body','reduce','resolvedBy','getIndex','define','editorReady','@external','update','commentId','commentsListView','filter','commentsrepository-duplicated-comment-thread-id','CommentView','resolvedAt','setContext','_readOnlyChannels','setActiveCommentThread','fire','innerView','createCommentThreadController','setUnlinkedAt','comments.CommentView','_reopenCommentThread','getTime','PENDING_ACTION_COMMENT_THREAD','getByInnerView','activate','_unbindEditors','openNewCommentThread','commentsrepository-active-not-attached','find','highest','isDirty','PendingActions','remove','removeCommentThread','creator','threadId','modifyAll','isResolved','pluginName','noChannel','CommentThreadView','_remove','commentsrepository-remove-comment-internal-error','commentsrepository-fetch-comment-thread','resolve','change:isDirty','comments.CommentThreadView','bodyCollectionContainer','admin','commentsrepository-update-comment-thread-internal-error','isOfficialPlugin','destroy','deactivateAll','channelId','commentsrepository-missing-thread-and-adapter-method','max','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-add-comment-thread-internal-error','comments.maxThreadTotalWeight','2657360NvTUJf','_resolveCommentThread','set','isPremiumPlugin','commentsrepository-missing-comment-thread','21448940UILduM','values','length','isFromAdapter','commentsrepository-active-missing-comment-thread','getPermissions','switchReadOnly','change:activeAnnotations','trim','listenTo','commentsrepository-get-comment-invalid-id','_add','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','bind','addUser','createdAt','createElement','toJSON','then','_permissions','isEditable','_removeCommentThread','_adapter','commentsrepository-update-missing-comment','isReadOnly','addCommentThread','assign','warn','CommentsRepository','commentsrepository-remove-missing-comment','_findOptimalIndex','getCommentThreads','type','from','commentsrepository-invalid-comment-thread-id','_getExternalAuthor','add','_addCommentThread','isExternal','setAttribute','weight','map','_repository','error','adapter','9hPBLiJ','5tANNNr','focusableElements','_updateComment','isSubmitted','resolveCommentThread','_threadToController','requires','plugins','get','activeCommentThread','removeComment','archivedAt','comments.maxCommentCharsWhenCollapsed','_createCommentThreadView','getAnnotationForCommentThread','commentsrepository-reopen-comment-thread','attributes','356915JsFSAs','locale','content','commentsrepository-invalid-comment-authorid','commentsrepository-add-comment-internal-error','commentsrepository-remove-missing-comment-thread','removeAttribute','commentsrepository-invalid-comment-content','isAttached','catch','model','submit','commentUpdated','_viewToController','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-add-comment-to-missing-comment-thread','hasCommentThread','licenseKey','string','init','refreshVisibility','reopen','push','getUser','commentsrepository-invalid-commentid','commentsrepository-attach-missing-comment-thread','authoredAt','_addComment','div','author','getCommentThread','change:_readOnlyChannels','commentsrepository-add-comment-user-not-exists','change:authoredAt','_detachCommentThread','commentsrepository-update-comment-internal-error','setPermissions','unlinkedAt','lowest','commentThreadInputView','isVisible','innerHTML','commentsrepository-remove-comment-missing-comment-thread','_update','escape','getCommentThreadForAnnotation','delete','_createNewComment','comments.editorConfig','function','commentInputView','comments','commentsrepository-missing-target','isRemovable','commentsrepository-resolved-comment-thread','_hasTargetInContent','submitCommentThread','_bindAnnotationToEditors','_updateActiveAnnotation','1976511JcuHUd','stopListening','focusTracker','2208864gNgCbA','commentsrepository-remove-comment-thread-internal-error','760524ErblIP','focus','reopenCommentThread','canComment','change:_permissions','comment','comments.maxCommentsWhenCollapsed','isActive','2674348NbnJQe','authorName','getComment','_updateCommentThread','updateCommentThread'];_0x259a=function(){return _0x540438;};return _0x259a();}import{PendingActions as _0x50e9f2,ContextPlugin as _0xe99f14,Editor as _0x42359f}from'ckeditor5/src/core.js';import{Collection as _0x429723,uid as _0x358d7f,CKEditorError as _0x3a19ed,ObservableMixin as _0x5cca9d}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0xdd7b2e,hashObject as _0x8fd2e3,Users as _0xe812f1}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x12614f,isEqual as _0x42589c,set as _0x100174,unset as _0x4355ac}from'es-toolkit/compat';import{CommentThreadController as _0x24c26b}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x1f5196}from'./ui/view/commentthreadview.js';import{CommentView as _0x5336b5}from'./ui/view/commentview.js';import{getTranslation as _0x4fa4fb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';function _0x3ddd(_0x5c3948,_0x1f9882){const _0x259ae1=_0x259a();return _0x3ddd=function(_0x3dddac,_0x19d0d4){_0x3dddac=_0x3dddac-0x1a6;let _0x5948de=_0x259ae1[_0x3dddac];return _0x5948de;},_0x3ddd(_0x5c3948,_0x1f9882);}import'../../theme/commentinput.css';import{AnnotationView as _0xf8e677}from'../annotations/view/annotationview.js';import{Annotation as _0x545914}from'../annotations/annotation.js';import{Annotations as _0x350358}from'../annotations/annotations.js';const _t=Symbol(_0x3a51fc(0x25a)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0xe99f14{[_0x3a51fc(0x21d)];[_0x3a51fc(0x1be)];[_0x3a51fc(0x1d7)];static get[_0x3a51fc(0x1bf)](){return[_0x350358,_0x50e9f2,_0xe812f1];}static get[_0x3a51fc(0x259)](){const _0x8b16c6=_0x3a51fc;return _0x8b16c6(0x1a7);}static get[_0x3a51fc(0x265)](){return!0x0;}static get[_0x3a51fc(0x271)](){return!0x0;}constructor(_0x897697){const _0x5e4434=_0x3a51fc;super(_0x897697),this[_0x5e4434(0x21d)]=new Map(),this[_0x5e4434(0x1be)]=new Map(),this[_0x5e4434(0x1d7)]=new Map(),this[_0x5e4434(0x270)](_0x5e4434(0x240),new Set()),this[_0x5e4434(0x270)](_0x5e4434(0x286),new Map());const _0x5df4ff=this[_0x5e4434(0x226)][_0x5e4434(0x230)];_0x5df4ff[_0x5e4434(0x235)](_0x5e4434(0x210),0x2),_0x5df4ff[_0x5e4434(0x235)](_0x5e4434(0x26d),0x1f4),_0x5df4ff[_0x5e4434(0x235)](_0x5e4434(0x1c5),0x8c),_0x5df4ff[_0x5e4434(0x235)](_0x5e4434(0x261),_0x1f5196),_0x5df4ff[_0x5e4434(0x235)](_0x5e4434(0x246),_0x5336b5),_0x5df4ff[_0x5e4434(0x1c1)](_0x5e4434(0x1fa))||console[_0x5e4434(0x1a6)](_0x5e4434(0x27f));}[_0x3a51fc(0x1dd)](){const _0x1027c5=_0x3a51fc,_0x2275da=this[_0x1027c5(0x226)][_0x1027c5(0x1c0)][_0x1027c5(0x1c1)](_0x350358);this[_0x1027c5(0x270)](_0x1027c5(0x1c2),null),this['on'](_0x1027c5(0x28c),(_0x31f0a4,_0x49f2f6)=>this[_0x1027c5(0x1b0)](_0x49f2f6)),this['on'](_0x1027c5(0x202),(_0x78821a,_0x5e9e7b)=>this[_0x1027c5(0x227)](_0x5e9e7b)),this['on'](_0x1027c5(0x1bd),(_0x24829e,_0x140f47)=>this[_0x1027c5(0x26f)](_0x140f47)),this['on'](_0x1027c5(0x1bd),(_0xe9f053,_0x25c537)=>this[_0x1027c5(0x204)](_0x25c537),{'priority':_0x1027c5(0x1f0)}),this['on'](_0x1027c5(0x20c),(_0x1b576a,_0x1aceff)=>this[_0x1027c5(0x247)](_0x1aceff)),this['on'](_0x1027c5(0x20c),(_0x3ce678,_0x3bf797)=>this[_0x1027c5(0x204)](_0x3bf797),{'priority':_0x1027c5(0x1f0)}),this['on'](_0x1027c5(0x254),(_0x53754e,_0x59da2a)=>this[_0x1027c5(0x288)](_0x59da2a)),this['on'](_0x1027c5(0x216),(_0x179454,_0xb43cc5)=>this[_0x1027c5(0x215)](_0xb43cc5)),this['on'](_0x1027c5(0x216),(_0x447539,_0x25c5f4)=>this[_0x1027c5(0x204)](_0x25c5f4),{'priority':_0x1027c5(0x1f0)}),this['on'](_0x1027c5(0x22c),(_0x2a8a48,_0x2cdacd)=>this[_0x1027c5(0x1e5)](_0x2cdacd)),this['on'](_0x1027c5(0x224),(_0x355c19,_0x1f776e)=>this[_0x1027c5(0x1bb)](_0x1f776e)),this['on'](_0x1027c5(0x1c3),(_0x50c5ae,_0x304b57)=>this[_0x1027c5(0x217)](_0x304b57)),this['on'](_0x1027c5(0x22c),(_0x5c50d8,{threadId:_0x2a6d9b,isFromAdapter:_0x2e05c9})=>{const _0x4bd909=_0x1027c5;if(_0x2e05c9)return;const _0x41b42e=this[_0x4bd909(0x1e8)](_0x2a6d9b),_0x188b34=_0x41b42e&&this[_0x4bd909(0x1be)][_0x4bd909(0x1c1)](_0x41b42e);_0x188b34&&_0x188b34[_0x4bd909(0x220)][_0x4bd909(0x23a)][_0x4bd909(0x20b)](-0x1);},{'priority':_0x1027c5(0x1f0)}),this[_0x1027c5(0x27c)](_0x2275da,_0x1027c5(0x27a),(_0x4f3d1f,_0x43a2da,_0x484f58)=>{const _0x1f22be=_0x1027c5,_0x52667a=Array[_0x1f22be(0x1ac)](_0x484f58)[_0x1f22be(0x1b4)](_0x171f23=>this[_0x1f22be(0x1d7)][_0x1f22be(0x1c1)](_0x171f23[_0x1f22be(0x243)]))[_0x1f22be(0x23b)](Boolean)[0x0];this[_0x1f22be(0x1c2)]=_0x52667a?_0x52667a[_0x1f22be(0x1d4)]:null;});}set[_0x3a51fc(0x1b7)](_0x5dcfae){const _0x12c223=_0x3a51fc;if(this[_0x12c223(0x289)])throw new _0x3a19ed(_0x12c223(0x229));this[_0x12c223(0x289)]=_0x5dcfae;}get[_0x3a51fc(0x1b7)](){const _0x1aad9a=_0x3a51fc;return this[_0x1aad9a(0x289)];}[_0x3a51fc(0x28c)]({channelId:_0x242d90=_t,threadId:_0x20a6b0=_0x358d7f(),comments:_0x5b624f=[],unlinkedAt:_0x14a567=null,resolvedAt:_0x851c4e=null,resolvedBy:_0xcb3d17=null,target:_0x256f09=null,context:_0x5a747a=null,attributes:_0x53b52c={},isResolvable:_0x53634d=!0x0,isSubmitted:_0x5737b6=!0x1,isFromAdapter:_0x88ed55=!0x1}={}){const _0x5f16ac=_0x3a51fc;return this[_0x5f16ac(0x242)](Nt(_0x5f16ac(0x28c),_0x242d90),{'channelId':_0x242d90,'threadId':_0x20a6b0,'comments':_0x5b624f,'unlinkedAt':_0x14a567,'resolvedAt':_0x851c4e,'resolvedBy':_0xcb3d17,'target':_0x256f09,'context':_0x5a747a,'attributes':_0x53b52c,'isFromAdapter':_0x88ed55,'isResolvable':_0x53634d,'isSubmitted':_0x5737b6}),this[_0x5f16ac(0x1e8)](_0x20a6b0);}[_0x3a51fc(0x24d)]({channelId:_0x454527=_t,threadId:_0x4aeaa7=_0x358d7f(),target:_0xbe9422,context:_0x63ce4a=null,isResolvable:_0x566dbb=!0x0}){const _0x45c87d=_0x3a51fc;if(this[_0x45c87d(0x240)][_0x45c87d(0x22b)](_0x454527)||this[_0x45c87d(0x240)][_0x45c87d(0x22b)](void 0x0))return null;if(!_0xbe9422)throw new _0x3a19ed(_0x45c87d(0x1fe));const _0x3c3f29=this[_0x45c87d(0x28c)]({'channelId':_0x454527,'threadId':_0x4aeaa7,'target':_0xbe9422,'context':_0x63ce4a,'isResolvable':_0x566dbb});if(!_0x3c3f29)return null;const _0x5bf9d5=this[_0x45c87d(0x1be)][_0x45c87d(0x1c1)](_0x3c3f29),_0x180508=_0x5bf9d5[_0x45c87d(0x220)][_0x45c87d(0x1f1)][_0x45c87d(0x1fc)],_0x1eec65=this[_0x45c87d(0x226)][_0x45c87d(0x1c0)][_0x45c87d(0x1c1)](_0x350358),_0x461553=_0x1eec65[_0x45c87d(0x24a)](_0x5bf9d5[_0x45c87d(0x220)]);return _0x1eec65[_0x45c87d(0x24b)](_0x461553),_0x180508[_0x45c87d(0x22f)](_0x45c87d(0x236),()=>_0x180508[_0x45c87d(0x20b)]()),_0x3c3f29;}[_0x3a51fc(0x1da)](_0x51af84){const _0x560094=_0x3a51fc;if(_0x560094(0x1dc)!=typeof _0x51af84)throw new _0x3a19ed(_0x560094(0x1ad));return this[_0x560094(0x21d)][_0x560094(0x22b)](_0x51af84);}[_0x3a51fc(0x216)]({channelId:_0x1d1d19=_t,threadId:_0x31a56f,context:_0x1bc97a,unlinkedAt:_0x3b1087,attributes:_0xdea4a7,isFromAdapter:_0x19337e=!0x1}){const _0x44ad82=_0x3a51fc;return this[_0x44ad82(0x242)](Nt(_0x44ad82(0x216),_0x1d1d19),{'channelId':_0x1d1d19,'threadId':_0x31a56f,'context':_0x1bc97a,'unlinkedAt':_0x3b1087,'attributes':_0xdea4a7,'isFromAdapter':_0x19337e}),this[_0x44ad82(0x1e8)](_0x31a56f);}[_0x3a51fc(0x1e8)](_0x18faca){const _0xffa02a=_0x3a51fc;if(_0xffa02a(0x1dc)!=typeof _0x18faca)throw new _0x3a19ed(_0xffa02a(0x1ad));return this[_0xffa02a(0x21d)][_0xffa02a(0x1c1)](_0x18faca);}[_0x3a51fc(0x22e)]({channelId:_0x2318d3,threadId:_0x3ac7df}={}){const _0x631aae=_0x3a51fc,_0x7f0b0a=this[_0x631aae(0x1e8)](_0x3ac7df);if(_0x7f0b0a)return Promise[_0x631aae(0x25f)](_0x7f0b0a);if(!this[_0x631aae(0x1b7)])return Promise[_0x631aae(0x25f)](void 0x0);if(_0x631aae(0x1fb)!=typeof this[_0x631aae(0x1b7)][_0x631aae(0x1e8)])throw new _0x3a19ed(_0x631aae(0x269),this[_0x631aae(0x226)]);return this[_0x631aae(0x1b7)][_0x631aae(0x1e8)]({'channelId':_0x2318d3,'threadId':_0x3ac7df})[_0x631aae(0x285)](_0x104967=>this[_0x631aae(0x1da)](_0x3ac7df)?this[_0x631aae(0x1e8)](_0x3ac7df):_0x104967?this[_0x631aae(0x28c)](Object[_0x631aae(0x28d)]({'isFromAdapter':!0x0,'channelId':_0x2318d3},_0x104967)):void 0x0)[_0x631aae(0x1d3)](_0x305595=>{const _0x30b1ab=_0x631aae;throw console[_0x30b1ab(0x1b6)](_0x305595),new _0x3a19ed(_0x30b1ab(0x25e),this[_0x30b1ab(0x226)]);});}[_0x3a51fc(0x1aa)]({channelId:_0x150814,skipNotAttached:_0x10d9fb=!0x1,skipEmpty:_0x374301=!0x1,toJSON:_0xd55ce1=!0x1}={}){const _0x509836=_0x3a51fc,_0x2367cb=[];for(const _0x20a718 of this[_0x509836(0x21d)][_0x509836(0x274)]())_0x150814&&_0x20a718[_0x509836(0x268)]!==_0x150814||_0x10d9fb&&!_0x20a718[_0x509836(0x1d2)]||_0x374301&&0x0===_0x20a718[_0x509836(0x275)]||_0x2367cb[_0x509836(0x1e0)](_0x20a718);return _0xd55ce1?_0x2367cb[_0x509836(0x1b4)](_0x1b4106=>_0x1b4106[_0x509836(0x284)]()):_0x2367cb;}[_0x3a51fc(0x1c7)](_0x159c03){const _0xa17986=_0x3a51fc,_0x40dda4=this[_0xa17986(0x1be)][_0xa17986(0x1c1)](_0x159c03);if(!_0x40dda4)return null;return this[_0xa17986(0x226)][_0xa17986(0x1c0)][_0xa17986(0x1c1)](_0x350358)[_0xa17986(0x24a)](_0x40dda4[_0xa17986(0x220)])||null;}[_0x3a51fc(0x1f7)](_0x2231b6){const _0x2284ec=_0x3a51fc,_0x3465f4=this[_0x2284ec(0x1d7)][_0x2284ec(0x1c1)](_0x2231b6[_0x2284ec(0x243)]);return _0x3465f4?_0x3465f4[_0x2284ec(0x1d4)]:null;}[_0x3a51fc(0x241)](_0xfedf15){const _0x32ffef=_0x3a51fc,_0x9bf9=this[_0x32ffef(0x226)][_0x32ffef(0x1c0)][_0x32ffef(0x1c1)](_0x350358);if(!_0xfedf15)return void(this[_0x32ffef(0x1c2)]&&_0x9bf9[_0x32ffef(0x267)]());const _0x3637e2=this[_0x32ffef(0x1e8)](_0xfedf15);if(!_0x3637e2)throw new _0x3a19ed(_0x32ffef(0x277),null,{'threadId':_0xfedf15});if(!this[_0x32ffef(0x1be)][_0x32ffef(0x22b)](_0x3637e2))throw new _0x3a19ed(_0x32ffef(0x24e),null,{'threadId':_0xfedf15});const _0x4563cf=_0x9bf9[_0x32ffef(0x24a)](this[_0x32ffef(0x1be)][_0x32ffef(0x1c1)](_0x3637e2)[_0x32ffef(0x220)]);_0x9bf9[_0x32ffef(0x24b)](_0x4563cf);}[_0x3a51fc(0x279)](_0x15d2c3,_0x24b4d3){const _0x232b41=_0x3a51fc;_0x15d2c3?this[_0x232b41(0x240)][_0x232b41(0x1af)](_0x24b4d3):this[_0x232b41(0x240)][_0x232b41(0x1f8)](_0x24b4d3),this[_0x232b41(0x242)](_0x232b41(0x1e9),_0x232b41(0x240),this[_0x232b41(0x240)],this[_0x232b41(0x240)]);}[_0x3a51fc(0x28b)](_0x13448f){const _0x372ca6=_0x3a51fc;return this[_0x372ca6(0x240)][_0x372ca6(0x22b)](_0x13448f)||this[_0x372ca6(0x240)][_0x372ca6(0x22b)](void 0x0);}[_0x3a51fc(0x244)](_0x360608,_0x1e1c04){return new _0x24c26b(_0x360608,_0x1e1c04);}[_0x3a51fc(0x1ee)](_0x2fb5cd,_0x1653a9=_t){const _0x420cac=_0x3a51fc;this[_0x420cac(0x286)][_0x420cac(0x270)](_0x1653a9,_0x2fb5cd),this[_0x420cac(0x242)](_0x420cac(0x20e),_0x420cac(0x286),this[_0x420cac(0x286)],this[_0x420cac(0x286)]);}[_0x3a51fc(0x278)](_0x561112=_t){const _0x5c6ce2=_0x3a51fc;return this[_0x5c6ce2(0x286)][_0x5c6ce2(0x22b)](_0x561112)?this[_0x5c6ce2(0x286)][_0x5c6ce2(0x1c1)](_0x561112):bt;}[_0x3a51fc(0x1b0)]({channelId:_0x2b7be2,threadId:_0x2e26ad,comments:_0x54ed10,unlinkedAt:_0x34be53,resolvedAt:_0x577da4,resolvedBy:_0x4e1cee,target:_0x4dba74,context:_0x14ff78,attributes:_0x3f916e,isFromAdapter:_0x18940a,isResolvable:_0x333a2c,isSubmitted:_0x17daf7}){const _0x49b477=_0x3a51fc;if(_0x49b477(0x1dc)!=typeof _0x2e26ad)throw new _0x3a19ed(_0x49b477(0x1ad),null,{'threadId':_0x2e26ad});if(this[_0x49b477(0x1da)](_0x2e26ad))throw new _0x3a19ed(_0x49b477(0x23c),null,{'threadId':_0x2e26ad});const _0x30865b=new CommentThread(this,{'channelId':_0x2b7be2,'id':_0x2e26ad,'context':_0x14ff78,'attributes':_0x3f916e,'unlinkedAt':_0x34be53,'resolvedAt':_0x577da4,'resolvedBy':_0x4e1cee?this[_0x49b477(0x226)][_0x49b477(0x1c0)][_0x49b477(0x1c1)](_0xe812f1)[_0x49b477(0x1e1)](_0x4e1cee):null,'isResolvable':_0x333a2c,'isSubmitted':_0x17daf7||_0x18940a});this[_0x49b477(0x21d)][_0x49b477(0x270)](_0x2e26ad,_0x30865b);for(const _0x295479 of _0x54ed10)_0x30865b[_0x49b477(0x27e)](this[_0x49b477(0x1f9)]({'threadId':_0x2e26ad,..._0x295479}));return _0x4dba74&&_0x30865b[_0x49b477(0x21b)](_0x4dba74),_0x18940a||!_0x30865b[_0x49b477(0x275)]?Promise[_0x49b477(0x25f)]():this[_0x49b477(0x227)]({'channelId':_0x2b7be2,'threadId':_0x2e26ad});}[_0x3a51fc(0x227)]({channelId:_0x27b167,threadId:_0x233b97}){const _0x4b037d=_0x3a51fc;if(!this[_0x4b037d(0x1da)](_0x233b97))throw new _0x3a19ed(_0x4b037d(0x272),this);const _0x15e0b4=this[_0x4b037d(0x1e8)](_0x233b97);if(_0x15e0b4[_0x4b037d(0x228)]=!0x0,!this[_0x4b037d(0x1b7)]||_0x4b037d(0x1fb)!=typeof this[_0x4b037d(0x1b7)][_0x4b037d(0x28c)])return Promise[_0x4b037d(0x25f)]();const {id:_0x4ba037,comments:_0x56a95c,resolvedAt:_0x341a23,resolvedBy:_0x178dd4,context:_0x44aff6,attributes:_0x3f07d9}=_0x15e0b4,_0xe27593=this[_0x4b037d(0x226)][_0x4b037d(0x1c0)][_0x4b037d(0x1c1)](_0x4b037d(0x252)),_0x1aa30e=_0xe27593[_0x4b037d(0x1af)](_0x4fa4fb(this[_0x4b037d(0x226)][_0x4b037d(0x1cb)],_0x4b037d(0x249)));return this[_0x4b037d(0x1b7)][_0x4b037d(0x28c)]({'channelId':_0x27b167,'threadId':_0x4ba037,'comments':_0x56a95c[_0x4b037d(0x1b4)](_0x1f10fe=>_0x1f10fe[_0x4b037d(0x284)]()),'resolvedAt':_0x341a23,'resolvedBy':_0x178dd4?_0x178dd4['id']:_0x178dd4,'context':_0x44aff6,'attributes':_0x3f07d9})[_0x4b037d(0x285)](({comments:_0x1f5a47})=>{const _0x58c99d=_0x4b037d;_0xe27593[_0x58c99d(0x253)](_0x1aa30e);for(const _0x32eb05 of _0x1f5a47)this[_0x58c99d(0x1bb)]({'channelId':_0x27b167,'threadId':_0x233b97,'commentId':_0x32eb05[_0x58c99d(0x239)],'createdAt':_0x32eb05[_0x58c99d(0x282)],'isFromAdapter':!0x0});})[_0x4b037d(0x1d3)](_0x50d6cc=>{const _0xd92827=_0x4b037d;throw console[_0xd92827(0x1b6)](_0x50d6cc),new _0x3a19ed(_0xd92827(0x26c),this);});}[_0x3a51fc(0x22d)]({threadId:_0x3bdc1f,target:_0x501a9e}){const _0xbbb26a=_0x3a51fc,_0x3e6b91=this[_0xbbb26a(0x1e8)](_0x3bdc1f);if(!_0x3e6b91)throw new _0x3a19ed(_0xbbb26a(0x1e3),this);const _0x5de124=this[_0xbbb26a(0x226)][_0xbbb26a(0x1c0)][_0xbbb26a(0x1c1)](_0xbbb26a(0x252)),_0x4e4c18=this[_0xbbb26a(0x226)][_0xbbb26a(0x1c0)][_0xbbb26a(0x1c1)](_0x350358),_0x2544dd=this[_0xbbb26a(0x1c6)](_0x3e6b91),_0x6f30a5=new _0x24c26b(_0x3e6b91,_0x2544dd);let _0x5ac499=null;_0x2544dd['on'](_0xbbb26a(0x260),(_0x468f81,_0x4855b6,_0x7e4bd0)=>{const _0x11a5f5=_0xbbb26a;_0x7e4bd0?_0x5ac499=_0x5de124[_0x11a5f5(0x1af)](_0x4fa4fb(this[_0x11a5f5(0x226)][_0x11a5f5(0x1cb)],_0x11a5f5(0x249))):_0x5ac499&&(_0x5de124[_0x11a5f5(0x253)](_0x5ac499),_0x5ac499=null);}),this[_0xbbb26a(0x1be)][_0xbbb26a(0x270)](_0x3e6b91,_0x6f30a5),this[_0xbbb26a(0x1d7)][_0xbbb26a(0x270)](_0x2544dd,_0x6f30a5);const _0x3540d7=new _0xf8e677(this[_0xbbb26a(0x226)][_0xbbb26a(0x1cb)],_0x2544dd);_0x3540d7[_0xbbb26a(0x280)](_0xbbb26a(0x275))['to'](_0x2544dd),_0x3540d7[_0xbbb26a(0x280)](_0xbbb26a(0x251))['to'](_0x2544dd,_0xbbb26a(0x251),_0x2544dd,_0xbbb26a(0x275),(_0x1313d5,_0x5bddf7)=>_0x1313d5||!_0x5bddf7),_0x3540d7[_0xbbb26a(0x280)](_0xbbb26a(0x211))['to'](_0x2544dd),_0x3540d7[_0xbbb26a(0x1ab)]=_0xbbb26a(0x20f);const _0x3d7af4=new _0x545914({'view':_0x3540d7,'target':_0x501a9e,'type':_0xbbb26a(0x20f),'isVisible':!_0x3e6b91[_0xbbb26a(0x1c4)]&&!!(_0xbbb26a(0x1fb)==typeof _0x501a9e?_0x501a9e():_0x501a9e)});return _0x2544dd['on'](_0xbbb26a(0x1f6),()=>{const _0x5de788=_0xbbb26a;_0x3d7af4[_0x5de788(0x242)](_0x5de788(0x1f6));}),this[_0xbbb26a(0x203)](_0x2544dd,_0x3d7af4),_0x4e4c18[_0xbbb26a(0x1af)](_0x3d7af4),_0x3d7af4;}[_0x3a51fc(0x203)](_0x1181aa,_0x34eb6e){const _0x2f54be=_0x3a51fc;this[_0x2f54be(0x27c)](_0x1181aa,_0x2f54be(0x236),(_0x29dbf4,_0x580797)=>{const _0x139074=_0x2f54be,_0x35f858=_0x580797['ui'][_0x139074(0x220)][_0x139074(0x231)][_0x139074(0x262)];_0x34eb6e[_0x139074(0x1ba)][_0x139074(0x1af)](_0x35f858),this[_0x139074(0x226)]instanceof _0x42359f&&this[_0x139074(0x226)]['ui'][_0x139074(0x207)][_0x139074(0x1af)](_0x35f858);},{'priority':_0x2f54be(0x250)}),this[_0x2f54be(0x27c)](_0x1181aa,_0x2f54be(0x21e),(_0x485098,_0x2d4c25)=>{const _0x8e121=_0x2f54be,_0x1fadb2=_0x2d4c25['ui'][_0x8e121(0x220)][_0x8e121(0x231)][_0x8e121(0x262)];_0x34eb6e[_0x8e121(0x1ba)][_0x8e121(0x22b)](_0x1fadb2)&&_0x34eb6e[_0x8e121(0x1ba)][_0x8e121(0x253)](_0x1fadb2),this[_0x8e121(0x226)]instanceof _0x42359f&&this[_0x8e121(0x226)]['ui'][_0x8e121(0x207)][_0x8e121(0x253)](_0x1fadb2);});}[_0x3a51fc(0x24c)](_0x1f03e2){const _0x5603e5=_0x3a51fc;this[_0x5603e5(0x206)](_0x1f03e2,_0x5603e5(0x236)),this[_0x5603e5(0x206)](_0x1f03e2,_0x5603e5(0x21e));}[_0x3a51fc(0x1c6)](_0x3f06a8){const _0x218244=_0x3a51fc,_0x4b64fd=this[_0x218244(0x226)][_0x218244(0x1c0)][_0x218244(0x1c1)](_0xe812f1),{config:_0x4afd5e,locale:_0x5585f6}=this[_0x218244(0x226)],_0xc60b5=_0xdd7b2e(_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x1cb)),_0x5585f6);return new(0x0,(_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x1fd)))[(_0x218244(0x25b))])(_0x5585f6,_0x3f06a8,_0x4b64fd['me'],{'editorConfig':{..._0x4afd5e[_0x218244(0x1c1)](_0x218244(0x1fa)),'licenseKey':this[_0x218244(0x226)][_0x218244(0x230)][_0x218244(0x1c1)](_0x218244(0x1db))},'copyMarkers':_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x225)),'maxCommentsWhenCollapsed':_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x210)),'maxThreadTotalWeight':_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x26d)),'maxCommentCharsWhenCollapsed':_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x1c5)),'formatDateTime':_0xc60b5,'CommentView':_0x4afd5e[_0x218244(0x1c1)](_0x218244(0x1fd))[_0x218244(0x23d)]});}[_0x3a51fc(0x26f)]({threadId:_0x14bdc2,channelId:_0x154fd4,resolvedAt:_0x4ca55d,resolvedBy:_0x476326,isFromAdapter:_0x4fa0df}){const _0x28f4a6=_0x3a51fc;if(!this[_0x28f4a6(0x1da)](_0x14bdc2))throw new _0x3a19ed(_0x28f4a6(0x272),null,{'threadId':_0x14bdc2});const _0x281334=this[_0x28f4a6(0x1e8)](_0x14bdc2);if(_0x281334[_0x28f4a6(0x258)])throw new _0x3a19ed(_0x28f4a6(0x200),null,{'threadId':_0x14bdc2});const _0x569260=this[_0x28f4a6(0x226)][_0x28f4a6(0x1c0)][_0x28f4a6(0x1c1)](_0xe812f1);if(_0x281334[_0x28f4a6(0x233)]=_0x569260[_0x28f4a6(0x1e1)](_0x476326),_0x281334[_0x28f4a6(0x23e)]=_0x4ca55d,_0x4fa0df||!this[_0x28f4a6(0x1b7)]||_0x28f4a6(0x1fb)!=typeof this[_0x28f4a6(0x1b7)][_0x28f4a6(0x1bd)])return Promise[_0x28f4a6(0x25f)]();const _0xca81f6=this[_0x28f4a6(0x226)][_0x28f4a6(0x1c0)][_0x28f4a6(0x1c1)](_0x28f4a6(0x252)),_0x4ea9bb=_0xca81f6[_0x28f4a6(0x1af)](_0x4fa4fb(this[_0x28f4a6(0x226)][_0x28f4a6(0x1cb)],_0x28f4a6(0x249)));return this[_0x28f4a6(0x1b7)][_0x28f4a6(0x1bd)]({'channelId':_0x154fd4,'threadId':_0x14bdc2})[_0x28f4a6(0x285)](({resolvedAt:_0x34057a,resolvedBy:_0x26d6d3})=>{const _0x324b77=_0x28f4a6;_0xca81f6[_0x324b77(0x253)](_0x4ea9bb),_0x281334[_0x324b77(0x233)]['id']!==_0x26d6d3&&(_0x281334[_0x324b77(0x233)]=_0x569260[_0x324b77(0x1e1)](_0x26d6d3)),_0x281334[_0x324b77(0x23e)]=_0x34057a;})[_0x28f4a6(0x1d3)](_0x3d8b71=>{const _0x4c6c43=_0x28f4a6;throw console[_0x4c6c43(0x1b6)](_0x3d8b71),new _0x3a19ed(_0x4c6c43(0x1d8),this);});}[_0x3a51fc(0x247)]({threadId:_0x5327f2,channelId:_0x21fa2a,isFromAdapter:_0x28955f}){const _0xbc1306=_0x3a51fc;if(!this[_0xbc1306(0x1da)](_0x5327f2))throw new _0x3a19ed(_0xbc1306(0x272),null,{'threadId':_0x5327f2});const _0x54652c=this[_0xbc1306(0x1e8)](_0x5327f2);if(!_0x54652c[_0xbc1306(0x258)])throw new _0x3a19ed(_0xbc1306(0x1c8),null,{'threadId':_0x5327f2});if(_0x54652c[_0xbc1306(0x233)]=null,_0x54652c[_0xbc1306(0x23e)]=null,_0x28955f||!this[_0xbc1306(0x1b7)]||_0xbc1306(0x1fb)!=typeof this[_0xbc1306(0x1b7)][_0xbc1306(0x20c)])return Promise[_0xbc1306(0x25f)]();const _0x5586b4=this[_0xbc1306(0x226)][_0xbc1306(0x1c0)][_0xbc1306(0x1c1)](_0xbc1306(0x252)),_0x266d33=_0x5586b4[_0xbc1306(0x1af)](_0x4fa4fb(this[_0xbc1306(0x226)][_0xbc1306(0x1cb)],_0xbc1306(0x249)));return this[_0xbc1306(0x1b7)][_0xbc1306(0x20c)]({'channelId':_0x21fa2a,'threadId':_0x5327f2})[_0xbc1306(0x285)](()=>_0x5586b4[_0xbc1306(0x253)](_0x266d33))[_0xbc1306(0x1d3)](_0x494d94=>{const _0x1c0b26=_0xbc1306;throw console[_0x1c0b26(0x1b6)](_0x494d94),new _0x3a19ed(_0x1c0b26(0x26b),this);});}[_0x3a51fc(0x288)]({threadId:_0x49d72b,isFromAdapter:_0x368530}){const _0x599db0=_0x3a51fc,_0x50ffcd=this[_0x599db0(0x1e8)](_0x49d72b);if(!_0x50ffcd)throw new _0x3a19ed(_0x599db0(0x1cf),this);if(this[_0x599db0(0x1ec)](_0x49d72b),this[_0x599db0(0x21d)][_0x599db0(0x1f8)](_0x49d72b),!_0x50ffcd[_0x599db0(0x1bc)]||_0x368530||!this[_0x599db0(0x1b7)]||_0x599db0(0x1fb)!=typeof this[_0x599db0(0x1b7)][_0x599db0(0x254)])return Promise[_0x599db0(0x25f)]();const _0x3c69d9=this[_0x599db0(0x226)][_0x599db0(0x1c0)][_0x599db0(0x1c1)](_0x599db0(0x252)),{channelId:_0x479164}=_0x50ffcd,_0x1ca1d4=_0x3c69d9[_0x599db0(0x1af)](_0x4fa4fb(this[_0x599db0(0x226)][_0x599db0(0x1cb)],_0x599db0(0x249)));return this[_0x599db0(0x1b7)][_0x599db0(0x254)]({'channelId':_0x479164,'threadId':_0x49d72b})[_0x599db0(0x285)](()=>_0x3c69d9[_0x599db0(0x253)](_0x1ca1d4))[_0x599db0(0x1d3)](_0x461ee2=>{const _0x31c0af=_0x599db0;throw console[_0x31c0af(0x1b6)](_0x461ee2),new _0x3a19ed(_0x31c0af(0x209),this);});}[_0x3a51fc(0x215)]({threadId:_0x54fbb7,unlinkedAt:_0xd975b2,context:_0x522357,attributes:_0x333566,isFromAdapter:_0x1fd63c}){const _0x15267c=_0x3a51fc;if(_0x15267c(0x1dc)!=typeof _0x54fbb7)throw new _0x3a19ed(_0x15267c(0x1ad),null,{'threadId':_0x54fbb7});if(!this[_0x15267c(0x1da)](_0x54fbb7))throw new _0x3a19ed(_0x15267c(0x272),null,{'threadId':_0x54fbb7});const _0x53a94c=this[_0x15267c(0x1e8)](_0x54fbb7);let _0x55e8ec=!0x1;if(void 0x0!==_0x522357&&_0x53a94c[_0x15267c(0x226)]!==_0x522357&&(_0x53a94c[_0x15267c(0x226)]=_0x522357,_0x55e8ec=!0x0),void 0x0!==_0xd975b2&&_0x53a94c[_0x15267c(0x1ef)]!==_0xd975b2&&(_0x53a94c[_0x15267c(0x1ef)]=_0xd975b2,_0x55e8ec=!0x0),_0x333566&&!_0x42589c(_0x333566,_0x53a94c[_0x15267c(0x1c9)])&&(_0x53a94c[_0x15267c(0x1c9)]=_0x333566,_0x55e8ec=!0x0),!_0x55e8ec)return Promise[_0x15267c(0x25f)]();if(!_0x53a94c[_0x15267c(0x1bc)]||_0x1fd63c||!this[_0x15267c(0x1b7)]||_0x15267c(0x1fb)!=typeof this[_0x15267c(0x1b7)][_0x15267c(0x216)])return Promise[_0x15267c(0x25f)]();const _0x1a6d06=this[_0x15267c(0x226)][_0x15267c(0x1c0)][_0x15267c(0x1c1)](_0x15267c(0x252)),{channelId:_0x225a08}=_0x53a94c,_0x1e56e6=_0x1a6d06[_0x15267c(0x1af)](_0x4fa4fb(this[_0x15267c(0x226)][_0x15267c(0x1cb)],_0x15267c(0x249)));return this[_0x15267c(0x1b7)][_0x15267c(0x216)]({'channelId':_0x225a08,'threadId':_0x54fbb7,'context':_0x522357,'unlinkedAt':_0xd975b2,'attributes':_0x333566})[_0x15267c(0x285)](()=>_0x1a6d06[_0x15267c(0x253)](_0x1e56e6))[_0x15267c(0x1d3)](_0x2a2843=>{const _0x53eb17=_0x15267c;throw console[_0x53eb17(0x1b6)](_0x2a2843),new _0x3a19ed(_0x53eb17(0x264),this);});}[_0x3a51fc(0x1ec)](_0x24c168){const _0x10d074=_0x3a51fc,_0x2ffd69=this[_0x10d074(0x226)][_0x10d074(0x1c0)][_0x10d074(0x1c1)](_0x350358),_0x27cbca=this[_0x10d074(0x1e8)](_0x24c168);if(_0x27cbca[_0x10d074(0x223)]=!0x1,this[_0x10d074(0x1be)][_0x10d074(0x22b)](_0x27cbca)){const _0x14c0c9=this[_0x10d074(0x1be)][_0x10d074(0x1c1)](_0x27cbca),_0x3ba43b=_0x14c0c9[_0x10d074(0x220)],_0x2c437c=_0x2ffd69[_0x10d074(0x24a)](_0x3ba43b);this[_0x10d074(0x1be)][_0x10d074(0x1f8)](_0x27cbca),this[_0x10d074(0x1d7)][_0x10d074(0x1f8)](_0x3ba43b),_0x2c437c&&_0x2ffd69[_0x10d074(0x253)](_0x2c437c),_0x14c0c9[_0x10d074(0x266)](),_0x3ba43b[_0x10d074(0x266)]()[_0x10d074(0x285)](()=>{const _0x45ed20=_0x10d074;this[_0x45ed20(0x24c)](_0x3ba43b);});}}[_0x3a51fc(0x204)]({threadId:_0x39ea3b,resolvedAt:_0x17ab38,unlinkedAt:_0x16f5e0}){const _0x7dbf77=_0x3a51fc,_0x23260b=!!_0x17ab38,_0x2fe5b8=this[_0x7dbf77(0x226)][_0x7dbf77(0x1c0)][_0x7dbf77(0x1c1)](_0x350358),_0x49f89c=this[_0x7dbf77(0x1e8)](_0x39ea3b);if(this[_0x7dbf77(0x1be)][_0x7dbf77(0x22b)](_0x49f89c)){const _0x52ec7d=this[_0x7dbf77(0x1be)][_0x7dbf77(0x1c1)](_0x49f89c)[_0x7dbf77(0x220)],_0x2af7f0=_0x2fe5b8[_0x7dbf77(0x24a)](_0x52ec7d);_0x2af7f0&&(_0x23260b&&_0x2fe5b8[_0x7dbf77(0x221)](_0x2af7f0),_0x16f5e0?_0x2af7f0[_0x7dbf77(0x1f2)]=!0x1:_0x2af7f0[_0x7dbf77(0x1de)]());}}[_0x3a51fc(0x1ae)](_0xb5ed10){const _0x16f14a=_0x3a51fc,_0x2754da=this[_0x16f14a(0x226)][_0x16f14a(0x1c0)][_0x16f14a(0x1c1)](_0xe812f1),_0xaa0775=_0x8fd2e3(_0x16f14a(0x219)+_0xb5ed10),_0x5a0a70=_0x2754da[_0x16f14a(0x1e1)](_0xaa0775);return _0x5a0a70||_0x2754da[_0x16f14a(0x281)]({'id':_0xaa0775,'name':_0xb5ed10});}[_0x3a51fc(0x1f9)]({threadId:_0x2aa518,commentId:_0x6166c8=_0x358d7f(),content:_0x4c0468,authorId:_0x2a027d,createdAt:_0x11a91a,attributes:_0x5700a3}){const _0x1971ab=_0x3a51fc;if(_0x1971ab(0x1dc)!=typeof _0x6166c8)throw new _0x3a19ed(_0x1971ab(0x1e2));if(_0x1971ab(0x1dc)!=typeof _0x2a027d)throw new _0x3a19ed(_0x1971ab(0x1cd));if(_0x1971ab(0x1dc)!=typeof _0x4c0468||!_0x4c0468[_0x1971ab(0x27b)]())throw new _0x3a19ed(_0x1971ab(0x1d1));const _0x448359=this[_0x1971ab(0x226)][_0x1971ab(0x1c0)][_0x1971ab(0x1c1)](_0xe812f1)[_0x1971ab(0x1e1)](_0x2a027d);if(!_0x448359)throw new _0x3a19ed(_0x1971ab(0x1ea),null,{'authorId':_0x2a027d});let _0x35519d=null,_0x2fe6ce=_0x11a91a;return _0x5700a3?.[_0x1971ab(0x237)]&&(_0x35519d=this[_0x1971ab(0x1ae)](_0x5700a3[_0x1971ab(0x237)][_0x1971ab(0x213)]),_0x2fe6ce=new Date(_0x5700a3[_0x1971ab(0x237)][_0x1971ab(0x282)])),new Comment(this,{'threadId':_0x2aa518,'id':_0x6166c8,'author':_0x35519d||_0x448359,'creator':_0x448359,'content':_0x4c0468,'createdAt':_0x11a91a,'authoredAt':_0x2fe6ce,'attributes':_0x5700a3});}[_0x3a51fc(0x1e5)](_0x43778c){const _0x47603d=_0x3a51fc;let {threadId:_0x29cf6e,content:_0x3a5f63,attributes:_0x2a703b,isFromAdapter:_0x2f7db0}=_0x43778c;const _0x374347=this[_0x47603d(0x1e8)](_0x43778c[_0x47603d(0x256)]);if(!_0x374347)throw new _0x3a19ed(_0x47603d(0x1d9),this);const _0x777af0=this[_0x47603d(0x1f9)](_0x43778c),{id:_0x29b9a7}=_0x777af0;if(_0x374347[_0x47603d(0x27e)](_0x777af0),_0x2f7db0||!this[_0x47603d(0x1b7)]||_0x47603d(0x1fb)!=typeof this[_0x47603d(0x1b7)][_0x47603d(0x22c)]||!_0x374347[_0x47603d(0x1bc)])return Promise[_0x47603d(0x25f)]();const _0x10f826=this[_0x47603d(0x226)][_0x47603d(0x1c0)][_0x47603d(0x1c1)](_0x47603d(0x252)),{channelId:_0x1f2263}=_0x374347,_0xa23484=_0x10f826[_0x47603d(0x1af)](_0x4fa4fb(this[_0x47603d(0x226)][_0x47603d(0x1cb)],_0x47603d(0x249)));return _0x2a703b||(_0x2a703b={}),this[_0x47603d(0x1b7)][_0x47603d(0x22c)]({'channelId':_0x1f2263,'threadId':_0x29cf6e,'commentId':_0x29b9a7,'content':_0x3a5f63,'attributes':_0x2a703b})[_0x47603d(0x285)](_0x338ed4=>{const _0x2313a0=_0x47603d;_0x10f826[_0x2313a0(0x253)](_0xa23484),_0x338ed4&&this[_0x2313a0(0x1bb)]({'channelId':_0x1f2263,'threadId':_0x29cf6e,'commentId':_0x29b9a7,'createdAt':_0x338ed4[_0x2313a0(0x282)],'isFromAdapter':!0x0});})[_0x47603d(0x1d3)](_0x3860be=>{const _0x23463e=_0x47603d;throw console[_0x23463e(0x1b6)](_0x3860be),new _0x3a19ed(_0x23463e(0x1ce),this);});}[_0x3a51fc(0x1bb)]({threadId:_0xca4c5e,commentId:_0x4fa814,content:_0xb1bf76,createdAt:_0x2ebbf4,attributes:_0x5ec7fa,isFromAdapter:_0x28e18b}){const _0x16b3c6=_0x3a51fc;if(void 0x0!==_0xb1bf76&&(_0x16b3c6(0x1dc)!=typeof _0xb1bf76||!_0xb1bf76[_0x16b3c6(0x27b)]()[_0x16b3c6(0x275)]))throw new _0x3a19ed(_0x16b3c6(0x21c));const _0x2dde0c=this[_0x16b3c6(0x1e8)](_0xca4c5e),_0x230400=_0x2dde0c[_0x16b3c6(0x214)](_0x4fa814);if(!_0x230400)throw new _0x3a19ed(_0x16b3c6(0x28a),this);let _0x117350=!0x1;if(_0xb1bf76&&_0xb1bf76!==_0x230400[_0x16b3c6(0x1cc)]&&(_0x230400[_0x16b3c6(0x287)]||_0x28e18b)&&(_0x230400[_0x16b3c6(0x1cc)]=_0xb1bf76,_0x117350=!0x0),_0x2ebbf4&&_0x2ebbf4!==_0x230400[_0x16b3c6(0x282)]&&(_0x230400[_0x16b3c6(0x282)]=_0x2ebbf4,_0x230400[_0x16b3c6(0x1c9)]&&_0x230400[_0x16b3c6(0x1c9)][_0x16b3c6(0x237)]||(_0x230400[_0x16b3c6(0x1e4)]=_0x2ebbf4),_0x117350=!0x0),_0x5ec7fa&&!_0x42589c(_0x5ec7fa,_0x230400[_0x16b3c6(0x1c9)])&&(_0x230400[_0x16b3c6(0x1c9)]=_0x5ec7fa,_0x117350=!0x0),!_0x117350)return Promise[_0x16b3c6(0x25f)]();if(_0x2dde0c[_0x16b3c6(0x242)](_0x16b3c6(0x1d6)),_0x28e18b||!this[_0x16b3c6(0x1b7)]||_0x16b3c6(0x1fb)!=typeof this[_0x16b3c6(0x1b7)][_0x16b3c6(0x224)])return Promise[_0x16b3c6(0x25f)]();const _0x388e9a=this[_0x16b3c6(0x226)][_0x16b3c6(0x1c0)][_0x16b3c6(0x1c1)](_0x16b3c6(0x252)),{channelId:_0x24e1b1}=this[_0x16b3c6(0x1e8)](_0x230400[_0x16b3c6(0x256)]),_0x5bc377=_0x388e9a[_0x16b3c6(0x1af)](_0x4fa4fb(this[_0x16b3c6(0x226)][_0x16b3c6(0x1cb)],_0x16b3c6(0x249)));return this[_0x16b3c6(0x1b7)][_0x16b3c6(0x224)]({'channelId':_0x24e1b1,'threadId':_0xca4c5e,'commentId':_0x4fa814,'content':_0xb1bf76,'attributes':_0x5ec7fa})[_0x16b3c6(0x285)](()=>_0x388e9a[_0x16b3c6(0x253)](_0x5bc377))[_0x16b3c6(0x1d3)](_0x5c01c4=>{const _0x1952d7=_0x16b3c6;throw console[_0x1952d7(0x1b6)](_0x5c01c4),new _0x3a19ed(_0x1952d7(0x1ed),this);});}[_0x3a51fc(0x217)]({threadId:_0x56e00a,commentId:_0x38e933,isFromAdapter:_0x491235}){const _0x56954e=_0x3a51fc,_0x50a57d=this[_0x56954e(0x1e8)](_0x56e00a),_0x2c07b2=_0x50a57d[_0x56954e(0x214)](_0x38e933);if(!_0x2c07b2)throw new _0x3a19ed(_0x56954e(0x1a8),this);if(_0x50a57d[_0x56954e(0x25c)](_0x2c07b2),_0x491235||!this[_0x56954e(0x1b7)]||_0x56954e(0x1fb)!=typeof this[_0x56954e(0x1b7)][_0x56954e(0x1c3)])return Promise[_0x56954e(0x25f)]();const _0x5ca241=this[_0x56954e(0x226)][_0x56954e(0x1c0)][_0x56954e(0x1c1)](_0x56954e(0x252)),{channelId:_0x15823e}=_0x50a57d,_0xdfe44=_0x5ca241[_0x56954e(0x1af)](_0x4fa4fb(this[_0x56954e(0x226)][_0x56954e(0x1cb)],_0x56954e(0x249)));return this[_0x56954e(0x1b7)][_0x56954e(0x1c3)]({'channelId':_0x15823e,'threadId':_0x56e00a,'commentId':_0x38e933})[_0x56954e(0x285)](()=>_0x5ca241[_0x56954e(0x253)](_0xdfe44))[_0x56954e(0x1d3)](_0x4d8175=>{const _0x4e1d93=_0x56954e;throw console[_0x4e1d93(0x1b6)](_0x4d8175),new _0x3a19ed(_0x4e1d93(0x25d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x5cca9d(){[_0x3a51fc(0x268)];['id'];[_0x3a51fc(0x223)];[_0x3a51fc(0x228)];[_0x3a51fc(0x1fd)];[_0x3a51fc(0x1b5)];constructor(_0x2ac4bb,_0x26fc29){const _0x470cb6=_0x3a51fc;super();const _0x511aa5=_0x26fc29[_0x470cb6(0x218)];this[_0x470cb6(0x268)]=_0x26fc29[_0x470cb6(0x268)],this['id']=_0x26fc29['id'],this[_0x470cb6(0x1fd)]=new _0x429723(),this[_0x470cb6(0x1b5)]=_0x2ac4bb,this[_0x470cb6(0x223)]=!0x1,this[_0x470cb6(0x228)]=_0x26fc29[_0x470cb6(0x1bc)],this[_0x470cb6(0x270)](_0x470cb6(0x201),!0x0),this[_0x470cb6(0x280)](_0x470cb6(0x28b))['to'](_0x2ac4bb,_0x470cb6(0x286),_0x2ac4bb,_0x470cb6(0x240),()=>_0x2ac4bb[_0x470cb6(0x28b)](this[_0x470cb6(0x268)])),this[_0x470cb6(0x280)](_0x470cb6(0x1ff))['to'](_0x2ac4bb,_0x470cb6(0x286),()=>_0x2ac4bb[_0x470cb6(0x278)](this[_0x470cb6(0x268)])[_0x470cb6(0x263)]),this[_0x470cb6(0x280)](_0x470cb6(0x20d))['to'](_0x2ac4bb,_0x470cb6(0x286),()=>{const _0x24da8c=_0x470cb6,_0x401297=_0x2ac4bb[_0x24da8c(0x278)](this[_0x24da8c(0x268)]);return _0x401297[_0x24da8c(0x222)]||_0x401297[_0x24da8c(0x263)];}),this[_0x470cb6(0x280)](_0x470cb6(0x218))['to'](_0x2ac4bb,_0x470cb6(0x286),()=>_0x511aa5&&_0x2ac4bb[_0x470cb6(0x278)](this[_0x470cb6(0x268)])[_0x470cb6(0x25f)]),this[_0x470cb6(0x270)](_0x470cb6(0x226),_0x26fc29[_0x470cb6(0x226)]),this[_0x470cb6(0x280)](_0x470cb6(0x1c4))['to'](this,_0x470cb6(0x23e),this,_0x470cb6(0x1ef),(_0x3dddf9,_0x3b5d5a)=>_0x3dddf9?_0x3b5d5a?_0x3dddf9<_0x3b5d5a?_0x3dddf9:_0x3b5d5a:_0x3dddf9:_0x3b5d5a),this[_0x470cb6(0x270)](_0x470cb6(0x1ef),_0x26fc29[_0x470cb6(0x1ef)]||null),this[_0x470cb6(0x270)](_0x470cb6(0x23e),_0x26fc29[_0x470cb6(0x23e)]||null),this[_0x470cb6(0x270)](_0x470cb6(0x233),_0x26fc29[_0x470cb6(0x233)]||null),this[_0x470cb6(0x280)](_0x470cb6(0x258))['to'](this,_0x470cb6(0x23e),_0x4cd88e=>!!_0x4cd88e),this[_0x470cb6(0x270)](_0x470cb6(0x1c9),_0x26fc29[_0x470cb6(0x1c9)]||{});}get[_0x3a51fc(0x1b3)](){const _0x442925=_0x3a51fc;return Array[_0x442925(0x1ac)](this[_0x442925(0x1fd)])[_0x442925(0x232)]((_0x4b5bde,_0x251cc0)=>_0x4b5bde+_0x251cc0[_0x442925(0x1b3)],0x0);}get[_0x3a51fc(0x275)](){const _0x48950c=_0x3a51fc;return this[_0x48950c(0x1fd)][_0x48950c(0x275)];}get[_0x3a51fc(0x1d2)](){const _0x27e14b=_0x3a51fc;return this[_0x27e14b(0x223)];}get[_0x3a51fc(0x1bc)](){const _0x2cbf89=_0x3a51fc;return this[_0x2cbf89(0x228)];}[_0x3a51fc(0x1d5)](){const _0x390cd8=_0x3a51fc,{channelId:_0x27358f,id:_0x53a31d}=this;this[_0x390cd8(0x1b5)][_0x390cd8(0x242)](Nt(_0x390cd8(0x202),_0x27358f),{'channelId':_0x27358f,'threadId':_0x53a31d});}[_0x3a51fc(0x245)](_0x21c7b4){const _0x1e7e11=_0x3a51fc;this[_0x1e7e11(0x1f5)]({'unlinkedAt':_0x21c7b4});}[_0x3a51fc(0x25f)]({resolvedAt:_0x159f12=new Date(),resolvedBy:_0x519422='',isFromAdapter:_0x47c9eb=!0x1}={}){const _0x3818c2=_0x3a51fc,_0x400fd2=this[_0x3818c2(0x1b5)][_0x3818c2(0x226)][_0x3818c2(0x1c0)][_0x3818c2(0x1c1)](_0xe812f1)['me'],{channelId:_0x35b3eb,id:_0x26f6b2}=this;this[_0x3818c2(0x1b5)][_0x3818c2(0x242)](Nt(_0x3818c2(0x1bd),_0x35b3eb),{'channelId':_0x35b3eb,'threadId':_0x26f6b2,'resolvedAt':_0x159f12,'resolvedBy':_0x519422||_0x400fd2['id'],'isFromAdapter':_0x47c9eb});}[_0x3a51fc(0x1df)]({isFromAdapter:_0x1690ad=!0x1}={}){const _0x326a64=_0x3a51fc,{channelId:_0x3cee90,id:_0x11c43b}=this;this[_0x326a64(0x1b5)][_0x326a64(0x242)](Nt(_0x326a64(0x20c),_0x3cee90),{'channelId':_0x3cee90,'threadId':_0x11c43b,'isFromAdapter':_0x1690ad});}[_0x3a51fc(0x23f)](_0x4f5e6a){const _0x50cf7e=_0x3a51fc;this[_0x50cf7e(0x226)]||this[_0x50cf7e(0x1f5)]({'context':_0x4f5e6a});}[_0x3a51fc(0x1b2)](_0x290821,_0x5e467c){const _0xc41736=_0x3a51fc,_0x598166=_0x12614f(this[_0xc41736(0x1c9)]);_0x100174(_0x598166,_0x290821,_0x5e467c),this[_0xc41736(0x1f5)]({'attributes':_0x598166});}[_0x3a51fc(0x1d0)](_0x46a3b3){const _0x3b34d0=_0x3a51fc,_0x1f90c3=_0x12614f(this[_0x3b34d0(0x1c9)]);_0x4355ac(_0x1f90c3,_0x46a3b3),this[_0x3b34d0(0x1f5)]({'attributes':_0x1f90c3});}[_0x3a51fc(0x253)]({isFromAdapter:_0x9ab5e6=!0x1}={}){const _0x2ab4cc=_0x3a51fc,{channelId:_0x1bb142,id:_0x58b284}=this;this[_0x2ab4cc(0x1b5)][_0x2ab4cc(0x242)](Nt(_0x2ab4cc(0x254),_0x1bb142),{'channelId':_0x1bb142,'threadId':_0x58b284,'isFromAdapter':_0x9ab5e6});}[_0x3a51fc(0x21b)](_0x43f17c){const _0x2da5ef=_0x3a51fc;return this[_0x2da5ef(0x1b5)][_0x2da5ef(0x22d)]({'threadId':this['id'],'target':_0x43f17c});}[_0x3a51fc(0x22c)](_0x4e8e6d){const _0x261b4b=_0x3a51fc,{channelId:_0x1fefa5,id:_0x495688}=this;this[_0x261b4b(0x1b5)][_0x261b4b(0x242)](Nt(_0x261b4b(0x22c),_0x1fefa5,_0x495688),Object[_0x261b4b(0x28d)]({'channelId':_0x1fefa5,'threadId':_0x495688},_0x4e8e6d));}[_0x3a51fc(0x214)](_0x40a24f){const _0x35bbcf=_0x3a51fc;if(_0x35bbcf(0x1dc)!=typeof _0x40a24f)throw new _0x3a19ed(_0x35bbcf(0x27d),null,{'commentId':_0x40a24f});return this[_0x35bbcf(0x1fd)][_0x35bbcf(0x1c1)](_0x40a24f);}[_0x3a51fc(0x284)](){const _0x2a781f=_0x3a51fc;return{'threadId':this['id'],'context':this[_0x2a781f(0x226)],'unlinkedAt':this[_0x2a781f(0x1ef)],'resolvedAt':this[_0x2a781f(0x23e)],'resolvedBy':this[_0x2a781f(0x233)]?this[_0x2a781f(0x233)]['id']:null,'archivedAt':this[_0x2a781f(0x1c4)],'comments':this[_0x2a781f(0x1fd)][_0x2a781f(0x1b4)](_0x9051=>_0x9051[_0x2a781f(0x284)]()),'attributes':this[_0x2a781f(0x1c9)]};}[_0x3a51fc(0x27e)](_0x3be623){const _0x18fd1f=_0x3a51fc;return this[_0x18fd1f(0x27c)](_0x3be623,_0x18fd1f(0x1eb),()=>{const _0x12d79a=_0x18fd1f,_0x12a8f8=this[_0x12d79a(0x1a9)](_0x3be623),_0x15e7c8=this[_0x12d79a(0x1fd)];_0x12a8f8-0x1!=_0x15e7c8[_0x12d79a(0x234)](_0x3be623)&&_0x12a8f8+0x1!=_0x15e7c8[_0x12d79a(0x234)](_0x3be623)&&(this[_0x12d79a(0x25c)](_0x3be623),this[_0x12d79a(0x27e)](_0x3be623));}),this[_0x18fd1f(0x1fd)][_0x18fd1f(0x1af)](_0x3be623,this[_0x18fd1f(0x1a9)](_0x3be623));}[_0x3a51fc(0x1f5)](_0x7d2881){const _0x330ebf=_0x3a51fc,{channelId:_0x479ed4,id:_0x4036f2}=this;this[_0x330ebf(0x1b5)][_0x330ebf(0x242)](Nt(_0x330ebf(0x216),_0x479ed4),{..._0x7d2881,'channelId':_0x479ed4,'threadId':_0x4036f2});}[_0x3a51fc(0x25c)](_0x3f059d){const _0x4425f4=_0x3a51fc;return this[_0x4425f4(0x206)](_0x3f059d),_0x3f059d[_0x4425f4(0x266)](),this[_0x4425f4(0x1fd)][_0x4425f4(0x253)](_0x3f059d);}[_0x3a51fc(0x1a9)](_0x41c730){const _0x150d5c=_0x3a51fc,_0xbef175=this[_0x150d5c(0x1fd)][_0x150d5c(0x24f)](_0x25f5bb=>new Date(_0x25f5bb[_0x150d5c(0x1e4)])[_0x150d5c(0x248)]()>new Date(_0x41c730[_0x150d5c(0x1e4)])[_0x150d5c(0x248)]());return _0xbef175?this[_0x150d5c(0x1fd)][_0x150d5c(0x234)](_0xbef175):this[_0x150d5c(0x275)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x5cca9d(){['id'];[_0x3a51fc(0x256)];[_0x3a51fc(0x1e7)];[_0x3a51fc(0x255)];[_0x3a51fc(0x1b1)];[_0x3a51fc(0x282)];[_0x3a51fc(0x1b5)];constructor(_0x2da130,_0xa8fe29){const _0x2d66cd=_0x3a51fc;super();const _0x409560=_0x2da130[_0x2d66cd(0x226)][_0x2d66cd(0x1c0)][_0x2d66cd(0x1c1)](_0xe812f1)['me'],_0x270e89=_0x2da130[_0x2d66cd(0x1e8)](_0xa8fe29[_0x2d66cd(0x256)]),_0x24931e=0x0===_0x270e89[_0x2d66cd(0x1fd)][_0x2d66cd(0x275)],_0x20f87c=_0x409560===_0xa8fe29[_0x2d66cd(0x1e7)];this['id']=_0xa8fe29['id'],this[_0x2d66cd(0x256)]=_0xa8fe29[_0x2d66cd(0x256)],this[_0x2d66cd(0x1e7)]=_0xa8fe29[_0x2d66cd(0x1e7)],this[_0x2d66cd(0x255)]=_0xa8fe29[_0x2d66cd(0x255)],this[_0x2d66cd(0x1b1)]=Boolean(_0xa8fe29[_0x2d66cd(0x1c9)]&&_0xa8fe29[_0x2d66cd(0x1c9)][_0x2d66cd(0x237)]),this[_0x2d66cd(0x270)](_0x2d66cd(0x1cc),_0xa8fe29[_0x2d66cd(0x1cc)]),this[_0x2d66cd(0x282)]=_0xa8fe29[_0x2d66cd(0x282)]||new Date(),this[_0x2d66cd(0x270)](_0x2d66cd(0x1e4),_0xa8fe29[_0x2d66cd(0x1e4)]||new Date()),this[_0x2d66cd(0x280)](_0x2d66cd(0x23e))['to'](_0x270e89,_0x2d66cd(0x23e)),this[_0x2d66cd(0x270)](_0x2d66cd(0x1c9),_0xa8fe29[_0x2d66cd(0x1c9)]||{}),this[_0x2d66cd(0x280)](_0x2d66cd(0x287))['to'](_0x2da130,_0x2d66cd(0x286),()=>{const _0x4345f1=_0x2d66cd,_0x5b73bb=_0x2da130[_0x4345f1(0x278)](_0x270e89[_0x4345f1(0x268)])[_0x4345f1(0x222)],_0x329db2=_0x2da130[_0x4345f1(0x278)](_0x270e89[_0x4345f1(0x268)])[_0x4345f1(0x257)];return _0x20f87c&&_0x5b73bb||!_0x20f87c&&_0x329db2;}),this[_0x2d66cd(0x280)](_0x2d66cd(0x1ff))['to'](_0x270e89,_0x2d66cd(0x1ff),_0x2da130,_0x2d66cd(0x286),_0xa20c76=>{const _0x3821b6=_0x2d66cd,_0x55a252=_0x2da130[_0x3821b6(0x278)](_0x270e89[_0x3821b6(0x268)])[_0x3821b6(0x222)],_0x1103ff=_0x2da130[_0x3821b6(0x278)](_0x270e89[_0x3821b6(0x268)])[_0x3821b6(0x257)];return _0x20f87c&&_0x55a252||_0xa20c76&&_0x24931e||!_0x20f87c&&_0x1103ff&&!_0x24931e;}),this[_0x2d66cd(0x280)](_0x2d66cd(0x28b))['to'](_0x270e89,_0x2d66cd(0x28b)),this[_0x2d66cd(0x1b5)]=_0x2da130;}get[_0x3a51fc(0x1b3)](){const _0x3a7fdf=_0x3a51fc;return Math[_0x3a7fdf(0x26a)](function(_0x2e8be6){const _0xdf32af=_0x3a7fdf,_0x45cc18=document[_0xdf32af(0x283)](_0xdf32af(0x1e6));return _0x45cc18[_0xdf32af(0x1f3)]=_0x2e8be6,_0x45cc18[_0xdf32af(0x21a)][_0xdf32af(0x275)];}(this[_0x3a7fdf(0x1cc)]),0xc8);}[_0x3a51fc(0x238)](_0x458988){const _0x3ce69e=_0x3a51fc,{threadId:_0x52c500,id:_0x39e933}=this;if(!this[_0x3ce69e(0x1b5)][_0x3ce69e(0x1da)](_0x52c500))throw new _0x3a19ed(_0x3ce69e(0x22a),this);const {channelId:_0x1a1530}=this[_0x3ce69e(0x1b5)][_0x3ce69e(0x1e8)](_0x52c500);this[_0x3ce69e(0x1b5)][_0x3ce69e(0x242)](Nt(_0x3ce69e(0x224),_0x1a1530,_0x52c500),{'channelId':_0x1a1530,'threadId':_0x52c500,'commentId':_0x39e933,..._0x458988});}[_0x3a51fc(0x1b2)](_0x469c08,_0x1074ed){const _0x2349f8=_0x3a51fc,_0x3d8d6d=_0x12614f(this[_0x2349f8(0x1c9)]);_0x100174(_0x3d8d6d,_0x469c08,_0x1074ed),this[_0x2349f8(0x238)]({'attributes':_0x3d8d6d});}[_0x3a51fc(0x1d0)](_0x5e999a){const _0x3ab7a5=_0x3a51fc,_0x53c18d=_0x12614f(this[_0x3ab7a5(0x1c9)]);_0x4355ac(_0x53c18d,_0x5e999a),this[_0x3ab7a5(0x238)]({'attributes':_0x53c18d});}[_0x3a51fc(0x253)](_0x548469={}){const _0x69b464=_0x3a51fc;if(!_0x548469[_0x69b464(0x276)]&&!this[_0x69b464(0x1ff)])return;const {threadId:_0x3c2d7f,id:_0x41fd09}=this;if(!this[_0x69b464(0x1b5)][_0x69b464(0x1da)](_0x3c2d7f))throw new _0x3a19ed(_0x69b464(0x1f4),this);const {channelId:_0x94d9a8}=this[_0x69b464(0x1b5)][_0x69b464(0x1e8)](_0x3c2d7f);this[_0x69b464(0x1b5)][_0x69b464(0x242)](Nt(_0x69b464(0x1c3),_0x94d9a8,_0x3c2d7f),{'channelId':_0x94d9a8,'threadId':_0x3c2d7f,'commentId':_0x41fd09,..._0x548469});}[_0x3a51fc(0x284)](){const _0x5c8b8b=_0x3a51fc;return{'commentId':this['id'],'content':this[_0x5c8b8b(0x1cc)],'createdAt':this[_0x5c8b8b(0x282)],'authorId':this[_0x5c8b8b(0x255)]['id'],'attributes':this[_0x5c8b8b(0x1c9)]};}[_0x3a51fc(0x266)](){const _0x6e2a13=_0x3a51fc;this[_0x6e2a13(0x206)]();}}function Nt(_0x46a214,..._0x2d7cb9){for(const _0x535e5a of _0x2d7cb9)void 0x0!==_0x535e5a&&(_0x46a214+=':'+String(_0x535e5a));return _0x46a214;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f63d3=_0x443a;(function(_0x38402f,_0x396124){const _0x2349df=_0x443a,_0x3766ec=_0x38402f();while(!![]){try{const _0x3b4e19=parseInt(_0x2349df(0x157))/0x1+parseInt(_0x2349df(0x13b))/0x2*(-parseInt(_0x2349df(0x145))/0x3)+parseInt(_0x2349df(0x126))/0x4+parseInt(_0x2349df(0x155))/0x5+-parseInt(_0x2349df(0x144))/0x6*(parseInt(_0x2349df(0x13d))/0x7)+-parseInt(_0x2349df(0x142))/0x8+-parseInt(_0x2349df(0x109))/0x9*(parseInt(_0x2349df(0x134))/0xa);if(_0x3b4e19===_0x396124)break;else _0x3766ec['push'](_0x3766ec['shift']());}catch(_0x673e13){_0x3766ec['push'](_0x3766ec['shift']());}}}(_0x2329,0x898c9));import{Plugin as _0x136da3}from'ckeditor5/src/core.js';import{IconAddComment as _0x266057}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x35fd6a}from'./commentsrepository.js';import{CommentsEditing as _0x454ab8}from'./commentsediting.js';import{EditorAnnotations as _0x4fafcc}from'../annotations/editorannotations.js';function _0x443a(_0x379f61,_0x4bfd08){const _0x2329a4=_0x2329();return _0x443a=function(_0x443a8d,_0x5cbacf){_0x443a8d=_0x443a8d-0x107;let _0x1077d5=_0x2329a4[_0x443a8d];return _0x1077d5;},_0x443a(_0x379f61,_0x4bfd08);}import{ButtonView as _0x565a61,MenuBarMenuListItemButtonView as _0x186847}from'ckeditor5/src/ui.js';import{Annotations as _0x52c7aa}from'../annotations/annotations.js';import{CommentsListView as _0x4fff5a}from'./ui/view/commentslistview.js';function _0x2329(){const _0x1b390a=['addComment','config','comment','activeMarker','domainLimit','featureNotAllowed','destroy','4985935BCViKT','requires','1031629QUbYgh','isOfficialPlugin','plugins','low','add','commentsLicenseKeyEvaluationLimit','commands','commentsLicenseKeyDomainLimit','innerView','9YzEFnt','tooltip','pluginName','map','menuBar:comment','CommentsUI','Comment','has','execute','commentsLicenseKeyTrialLimit','highest','isPremiumPlugin','set','focus','get','removeCommentThread','commentsLicenseKeyInvalid','usageLimit','commentsLicenseKeyValid','length','addSourceCollector','CommentsListView','focusTracker','invalid','getCommentThread','commentsLicenseKeyExpired','getRange','componentFactory','isEnabled','1603972byqaOx','find','editor','listenTo','_threadToController','licenseKey','isFocused','trialLimit','_createUIButton','CommentThreadInputView','_showLicenseError','evaluationLimit','_viewToController','bind','7616710DQbfWK','expired','getAllMarkersForId','hasCommentThread','hasMarkerForId','hasContent','stop','1288358EuJWpJ','commentsLicenseKeyNotAllowed','16233PbxtxK','model','change:activeAnnotations','locale','comment:','3350528fizLwI','addCommentThread','108rnyQVf','3PbNMZv','commentsLicenseKeyUsageLimit','from','init','_licenseKeyCheckInterval','view','editing','push','Comments'];_0x2329=function(){return _0x1b390a;};return _0x2329();}import{CommentThreadInputView as _0x5b73c9}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0xa1014}from'../utils/common-translations.js';export class CommentsUI extends _0x136da3{[_0x2f63d3(0x12b)];[_0x2f63d3(0x149)];static get[_0x2f63d3(0x10b)](){const _0x2e4a9e=_0x2f63d3;return _0x2e4a9e(0x10e);}static get[_0x2f63d3(0x158)](){return!0x0;}static get[_0x2f63d3(0x114)](){return!0x0;}static get[_0x2f63d3(0x156)](){return[_0x35fd6a,_0x454ab8,_0x4fafcc,_0x52c7aa];}get[_0x2f63d3(0x11e)](){return _0x4fff5a;}get[_0x2f63d3(0x12f)](){return _0x5b73c9;}[_0x2f63d3(0x148)](){const _0x860c29=_0x2f63d3,_0x4162dc=this[_0x860c29(0x128)],_0x213236=_0x4162dc[_0x860c29(0x159)][_0x860c29(0x117)](_0x35fd6a),_0x4a69a3=_0x4162dc[_0x860c29(0x159)][_0x860c29(0x117)](_0x454ab8),_0xdc4bdd=_0x4162dc[_0x860c29(0x159)][_0x860c29(0x117)](_0x52c7aa),_0x3f942d=_0x4162dc[_0x860c29(0x159)][_0x860c29(0x117)](_0x4fafcc);_0x4162dc['ui'][_0x860c29(0x124)][_0x860c29(0x15b)](_0x860c29(0x150),()=>{const _0x392050=_0x860c29,_0x4f6f9e=this[_0x392050(0x12e)](_0x565a61);return _0x4f6f9e[_0x392050(0x10a)]=!0x0,_0x4f6f9e;}),_0x4162dc['ui'][_0x860c29(0x124)][_0x860c29(0x15b)](_0x860c29(0x10d),()=>this[_0x860c29(0x12e)](_0x186847)),_0x3f942d[_0x860c29(0x11d)](()=>{const _0x383f2d=_0x860c29,_0x365e3f=[];for(const [_0x5a63ac,_0x324865]of _0x213236[_0x383f2d(0x12a)]){const _0x135fbc=_0x4a69a3[_0x383f2d(0x136)](_0x5a63ac['id']),_0x11ddef=_0x135fbc[_0x383f2d(0x10c)](_0x34b5c4=>_0x34b5c4[_0x383f2d(0x123)]());_0x135fbc[_0x383f2d(0x11c)]>0x0&&_0x365e3f[_0x383f2d(0x14c)]([_0x324865[_0x383f2d(0x14a)],_0x11ddef]);}return _0x365e3f;}),this[_0x860c29(0x129)](_0xdc4bdd,_0x860c29(0x13f),(_0x1f449d,_0x1e8c9e,_0x3b9fa2)=>{const _0x13a47b=_0x860c29,_0x10fbcd=Array[_0x13a47b(0x147)](_0x3b9fa2)[_0x13a47b(0x10c)](_0x2af656=>_0x2af656[_0x13a47b(0x108)])[_0x13a47b(0x127)](_0x1f3779=>_0x213236[_0x13a47b(0x132)][_0x13a47b(0x110)](_0x1f3779));if(!_0x10fbcd)return void(_0x4a69a3[_0x13a47b(0x151)]=null);const _0x2ed657=_0x213236[_0x13a47b(0x132)][_0x13a47b(0x117)](_0x10fbcd)[_0x13a47b(0x13e)]['id'],_0x39d5da=_0x13a47b(0x141)+_0x2ed657;_0x2ed657&&_0x4a69a3[_0x13a47b(0x138)](_0x2ed657)?_0x4a69a3[_0x13a47b(0x151)]=_0x39d5da:_0x4a69a3[_0x13a47b(0x151)]&&(_0x4a69a3[_0x13a47b(0x151)]=null);}),this[_0x860c29(0x129)](_0x213236,_0x860c29(0x118),(_0x3bd423,{threadId:_0x270250,isFromAdapter:_0x4a8bd4})=>{const _0x10aa3e=_0x860c29;!_0x4a8bd4&&_0x4162dc['ui'][_0x10aa3e(0x11f)][_0x10aa3e(0x12c)]&&_0x4a69a3[_0x10aa3e(0x138)](_0x270250)&&_0x4162dc[_0x10aa3e(0x14b)][_0x10aa3e(0x14a)][_0x10aa3e(0x116)]();},{'priority':_0x860c29(0x113)}),this[_0x860c29(0x129)](_0x213236,_0x860c29(0x14e),(_0x4da7b8,{threadId:_0x2de76d,isFromAdapter:_0x362011})=>{const _0x959086=_0x860c29;if(_0x362011||!_0x4a69a3[_0x959086(0x138)](_0x2de76d)||!_0x213236[_0x959086(0x137)](_0x2de76d))return;0x1===_0x213236[_0x959086(0x121)](_0x2de76d)[_0x959086(0x11c)]&&(_0x4162dc[_0x959086(0x14b)][_0x959086(0x14a)][_0x959086(0x116)](),_0x4da7b8[_0x959086(0x13a)]());},{'priority':_0x860c29(0x15a)}),this[_0x860c29(0x12b)]=this[_0x860c29(0x128)][_0x860c29(0x14f)][_0x860c29(0x117)](_0x860c29(0x12b));const _0x4933ba=this[_0x860c29(0x128)];this[_0x860c29(0x149)]=setInterval(()=>{const _0x2d20ec=_0x860c29;let _0x358167;for(const _0x2fad0f in _0x4933ba){const _0x20fbbb=_0x2fad0f,_0x39522c=_0x4933ba[_0x20fbbb];if(_0x2d20ec(0x11b)==_0x39522c||_0x2d20ec(0x119)==_0x39522c||_0x2d20ec(0x122)==_0x39522c||_0x2d20ec(0x107)==_0x39522c||_0x2d20ec(0x13c)==_0x39522c||_0x2d20ec(0x15c)==_0x39522c||_0x2d20ec(0x112)==_0x39522c||_0x2d20ec(0x146)==_0x39522c){delete _0x4933ba[_0x20fbbb],_0x358167=_0x39522c,clearInterval(this[_0x2d20ec(0x149)]),this[_0x2d20ec(0x149)]=void 0x0;break;}}_0x2d20ec(0x119)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x120)),_0x2d20ec(0x122)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x135)),_0x2d20ec(0x107)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x152)),_0x2d20ec(0x13c)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x153),_0x2d20ec(0x14d)),_0x2d20ec(0x15c)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x131)),_0x2d20ec(0x112)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x12d)),_0x2d20ec(0x146)==_0x358167&&_0x4933ba[_0x2d20ec(0x130)](_0x2d20ec(0x11a));},0x3e8);}[_0x2f63d3(0x154)](){const _0x23153b=_0x2f63d3;super[_0x23153b(0x154)](),this[_0x23153b(0x149)]&&clearInterval(this[_0x23153b(0x149)]);}[_0x2f63d3(0x12e)](_0x4904f6){const _0x417249=_0x2f63d3,_0x228771=this[_0x417249(0x128)],_0x135221=new _0x4904f6(_0x228771[_0x417249(0x140)]),_0x421435=_0x228771[_0x417249(0x15d)][_0x417249(0x117)](_0x417249(0x143));return _0x135221[_0x417249(0x115)]({'label':_0xa1014(_0x228771[_0x417249(0x140)],_0x417249(0x10f)),'icon':_0x266057}),_0x135221[_0x417249(0x133)](_0x417249(0x125))['to'](_0x421435,_0x417249(0x139)),this[_0x417249(0x129)](_0x135221,_0x417249(0x111),()=>{const _0x4e2067=_0x417249;_0x421435[_0x4e2067(0x111)]();}),_0x135221;}}
23
+ const _0x584e15=_0x4562;(function(_0x51c1b5,_0x362d53){const _0x33acb7=_0x4562,_0x3a1267=_0x51c1b5();while(!![]){try{const _0x4d824e=parseInt(_0x33acb7(0x180))/0x1+-parseInt(_0x33acb7(0x188))/0x2+parseInt(_0x33acb7(0x147))/0x3+-parseInt(_0x33acb7(0x155))/0x4*(parseInt(_0x33acb7(0x181))/0x5)+parseInt(_0x33acb7(0x151))/0x6*(-parseInt(_0x33acb7(0x177))/0x7)+-parseInt(_0x33acb7(0x148))/0x8+parseInt(_0x33acb7(0x157))/0x9;if(_0x4d824e===_0x362d53)break;else _0x3a1267['push'](_0x3a1267['shift']());}catch(_0x108946){_0x3a1267['push'](_0x3a1267['shift']());}}}(_0x3e21,0x9e74f));import{Plugin as _0x565b34}from'ckeditor5/src/core.js';function _0x3e21(){const _0x4e9562=['addSourceCollector','get','activeMarker','CommentsListView','commentsLicenseKeyValid','low','innerView','2855616HHgEKp','8832216iGOuqc','isFocused','CommentThreadInputView','hasMarkerForId','tooltip','highest','set','listenTo','featureNotAllowed','6vZFXXr','_threadToController','model','editing','8gDVzCD','commentsLicenseKeyInvalid','19339722tdNlAu','licenseKey','getRange','isEnabled','trialLimit','find','change:activeAnnotations','comment','commentsLicenseKeyNotAllowed','menuBar:comment','invalid','domainLimit','CommentsUI','plugins','from','removeCommentThread','pluginName','hasCommentThread','_showLicenseError','commentsLicenseKeyUsageLimit','isOfficialPlugin','usageLimit','isPremiumPlugin','bind','getCommentThread','map','requires','commentsLicenseKeyExpired','commentsLicenseKeyEvaluationLimit','Comments','expired','config','1156582LZFwTs','_viewToController','hasContent','getAllMarkersForId','view','Comment','locale','commentsLicenseKeyTrialLimit','destroy','86987ZftbJJ','2739605QCzdOe','add','evaluationLimit','addComment','addCommentThread','length','_licenseKeyCheckInterval','347166MiNZMI','has','editor','comment:','componentFactory','init','commands','_createUIButton','focusTracker','commentsLicenseKeyDomainLimit','stop','execute','focus','push'];_0x3e21=function(){return _0x4e9562;};return _0x3e21();}import{IconAddComment as _0x53b849}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x591a7d}from'./commentsrepository.js';import{CommentsEditing as _0x4e98ed}from'./commentsediting.js';import{EditorAnnotations as _0x453ffc}from'../annotations/editorannotations.js';import{ButtonView as _0x46d69a,MenuBarMenuListItemButtonView as _0x18d74f}from'ckeditor5/src/ui.js';import{Annotations as _0xbbf030}from'../annotations/annotations.js';import{CommentsListView as _0xbd7ff8}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x23ff73}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x14b6bb}from'../utils/common-translations.js';function _0x4562(_0x405bc1,_0x2c47a2){const _0x3e2117=_0x3e21();return _0x4562=function(_0x45625e,_0x539665){_0x45625e=_0x45625e-0x141;let _0x915c2e=_0x3e2117[_0x45625e];return _0x915c2e;},_0x4562(_0x405bc1,_0x2c47a2);}export class CommentsUI extends _0x565b34{[_0x584e15(0x158)];[_0x584e15(0x187)];static get[_0x584e15(0x167)](){const _0xf3e62c=_0x584e15;return _0xf3e62c(0x163);}static get[_0x584e15(0x16b)](){return!0x0;}static get[_0x584e15(0x16d)](){return!0x0;}static get[_0x584e15(0x171)](){return[_0x591a7d,_0x4e98ed,_0x453ffc,_0xbbf030];}get[_0x584e15(0x143)](){return _0xbd7ff8;}get[_0x584e15(0x14a)](){return _0x23ff73;}[_0x584e15(0x18d)](){const _0x36ed92=_0x584e15,_0x18ce34=this[_0x36ed92(0x18a)],_0x546a20=_0x18ce34[_0x36ed92(0x164)][_0x36ed92(0x141)](_0x591a7d),_0x21b9d6=_0x18ce34[_0x36ed92(0x164)][_0x36ed92(0x141)](_0x4e98ed),_0x51189c=_0x18ce34[_0x36ed92(0x164)][_0x36ed92(0x141)](_0xbbf030),_0xb11bc5=_0x18ce34[_0x36ed92(0x164)][_0x36ed92(0x141)](_0x453ffc);_0x18ce34['ui'][_0x36ed92(0x18c)][_0x36ed92(0x182)](_0x36ed92(0x15e),()=>{const _0x308605=_0x36ed92,_0x3321ff=this[_0x308605(0x18f)](_0x46d69a);return _0x3321ff[_0x308605(0x14c)]=!0x0,_0x3321ff;}),_0x18ce34['ui'][_0x36ed92(0x18c)][_0x36ed92(0x182)](_0x36ed92(0x160),()=>this[_0x36ed92(0x18f)](_0x18d74f)),_0xb11bc5[_0x36ed92(0x196)](()=>{const _0x132ca8=_0x36ed92,_0x5d221f=[];for(const [_0x4d1b60,_0x10884a]of _0x546a20[_0x132ca8(0x152)]){const _0x20bfa0=_0x21b9d6[_0x132ca8(0x17a)](_0x4d1b60['id']),_0x18e611=_0x20bfa0[_0x132ca8(0x170)](_0x417625=>_0x417625[_0x132ca8(0x159)]());_0x20bfa0[_0x132ca8(0x186)]>0x0&&_0x5d221f[_0x132ca8(0x195)]([_0x10884a[_0x132ca8(0x17b)],_0x18e611]);}return _0x5d221f;}),this[_0x36ed92(0x14f)](_0x51189c,_0x36ed92(0x15d),(_0x5a0fcf,_0x48bb90,_0x8c6d02)=>{const _0x2356db=_0x36ed92,_0x39d67d=Array[_0x2356db(0x165)](_0x8c6d02)[_0x2356db(0x170)](_0x372e51=>_0x372e51[_0x2356db(0x146)])[_0x2356db(0x15c)](_0x4583d0=>_0x546a20[_0x2356db(0x178)][_0x2356db(0x189)](_0x4583d0));if(!_0x39d67d)return void(_0x21b9d6[_0x2356db(0x142)]=null);const _0x317782=_0x546a20[_0x2356db(0x178)][_0x2356db(0x141)](_0x39d67d)[_0x2356db(0x153)]['id'],_0x439fc8=_0x2356db(0x18b)+_0x317782;_0x317782&&_0x21b9d6[_0x2356db(0x14b)](_0x317782)?_0x21b9d6[_0x2356db(0x142)]=_0x439fc8:_0x21b9d6[_0x2356db(0x142)]&&(_0x21b9d6[_0x2356db(0x142)]=null);}),this[_0x36ed92(0x14f)](_0x546a20,_0x36ed92(0x166),(_0x441576,{threadId:_0x39e870,isFromAdapter:_0x4e7fbf})=>{const _0x2c1326=_0x36ed92;!_0x4e7fbf&&_0x18ce34['ui'][_0x2c1326(0x190)][_0x2c1326(0x149)]&&_0x21b9d6[_0x2c1326(0x14b)](_0x39e870)&&_0x18ce34[_0x2c1326(0x154)][_0x2c1326(0x17b)][_0x2c1326(0x194)]();},{'priority':_0x36ed92(0x14d)}),this[_0x36ed92(0x14f)](_0x546a20,_0x36ed92(0x184),(_0x3c025f,{threadId:_0x62de08,isFromAdapter:_0x592335})=>{const _0x17cc92=_0x36ed92;if(_0x592335||!_0x21b9d6[_0x17cc92(0x14b)](_0x62de08)||!_0x546a20[_0x17cc92(0x168)](_0x62de08))return;0x1===_0x546a20[_0x17cc92(0x16f)](_0x62de08)[_0x17cc92(0x186)]&&(_0x18ce34[_0x17cc92(0x154)][_0x17cc92(0x17b)][_0x17cc92(0x194)](),_0x3c025f[_0x17cc92(0x192)]());},{'priority':_0x36ed92(0x145)}),this[_0x36ed92(0x158)]=this[_0x36ed92(0x18a)][_0x36ed92(0x176)][_0x36ed92(0x141)](_0x36ed92(0x158));const _0x538f9b=this[_0x36ed92(0x18a)];this[_0x36ed92(0x187)]=setInterval(()=>{const _0x2d4a14=_0x36ed92;let _0xdb6146;for(const _0x5c2748 in _0x538f9b){const _0x1e6058=_0x5c2748,_0x3f7395=_0x538f9b[_0x1e6058];if(_0x2d4a14(0x144)==_0x3f7395||_0x2d4a14(0x156)==_0x3f7395||_0x2d4a14(0x172)==_0x3f7395||_0x2d4a14(0x191)==_0x3f7395||_0x2d4a14(0x15f)==_0x3f7395||_0x2d4a14(0x173)==_0x3f7395||_0x2d4a14(0x17e)==_0x3f7395||_0x2d4a14(0x16a)==_0x3f7395){delete _0x538f9b[_0x1e6058],_0xdb6146=_0x3f7395,clearInterval(this[_0x2d4a14(0x187)]),this[_0x2d4a14(0x187)]=void 0x0;break;}}_0x2d4a14(0x156)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x161)),_0x2d4a14(0x172)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x175)),_0x2d4a14(0x191)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x162)),_0x2d4a14(0x15f)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x150),_0x2d4a14(0x174)),_0x2d4a14(0x173)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x183)),_0x2d4a14(0x17e)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x15b)),_0x2d4a14(0x16a)==_0xdb6146&&_0x538f9b[_0x2d4a14(0x169)](_0x2d4a14(0x16c));},0x3e8);}[_0x584e15(0x17f)](){const _0x265a44=_0x584e15;super[_0x265a44(0x17f)](),this[_0x265a44(0x187)]&&clearInterval(this[_0x265a44(0x187)]);}[_0x584e15(0x18f)](_0x551ec5){const _0x19368f=_0x584e15,_0x2800b0=this[_0x19368f(0x18a)],_0x462e27=new _0x551ec5(_0x2800b0[_0x19368f(0x17d)]),_0x2e68b0=_0x2800b0[_0x19368f(0x18e)][_0x19368f(0x141)](_0x19368f(0x185));return _0x462e27[_0x19368f(0x14e)]({'label':_0x14b6bb(_0x2800b0[_0x19368f(0x17d)],_0x19368f(0x17c)),'icon':_0x53b849}),_0x462e27[_0x19368f(0x16e)](_0x19368f(0x15a))['to'](_0x2e68b0,_0x19368f(0x179)),this[_0x19368f(0x14f)](_0x462e27,_0x19368f(0x193),()=>{const _0x38486b=_0x19368f;_0x2e68b0[_0x38486b(0x193)]();}),_0x462e27;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41d4cc=_0x5043;(function(_0x3c6763,_0x4f4b20){const _0x24564c=_0x5043,_0x14da4c=_0x3c6763();while(!![]){try{const _0x2bf3fb=-parseInt(_0x24564c(0x1a6))/0x1*(-parseInt(_0x24564c(0x1a3))/0x2)+parseInt(_0x24564c(0x19c))/0x3*(-parseInt(_0x24564c(0x1ac))/0x4)+parseInt(_0x24564c(0x190))/0x5*(-parseInt(_0x24564c(0x192))/0x6)+-parseInt(_0x24564c(0x1a7))/0x7*(-parseInt(_0x24564c(0x197))/0x8)+parseInt(_0x24564c(0x18c))/0x9*(parseInt(_0x24564c(0x1a9))/0xa)+-parseInt(_0x24564c(0x19a))/0xb*(-parseInt(_0x24564c(0x1a2))/0xc)+-parseInt(_0x24564c(0x1a4))/0xd;if(_0x2bf3fb===_0x4f4b20)break;else _0x14da4c['push'](_0x14da4c['shift']());}catch(_0x44dd3e){_0x14da4c['push'](_0x14da4c['shift']());}}}(_0x4231,0x687b6));function _0x5043(_0x354529,_0xfcdb39){const _0x4231a4=_0x4231();return _0x5043=function(_0x504321,_0x497a26){_0x504321=_0x504321-0x18c;let _0x44e16a=_0x4231a4[_0x504321];return _0x44e16a;},_0x5043(_0x354529,_0xfcdb39);}import{Plugin as _0x234fe5}from'ckeditor5/src/core.js';function _0x4231(){const _0x5de5e2=['execute','20OOZAzd','editor','afterInit','34192jcIDlw','2321748chfPLf','plugins','collaboration_features','get','5CvKzgA','commands','4789146XidoWU','addCommentThread','dataInsert','config','collaboration.channelId','128752bFDAwe','define','basic','5525146PTqFMD','forEach','252MIMnTm','high','listenTo','importWord','importWord.formatting.comments','map','12srMUug','1234042tWRqqZ','6026566CMIeHT','_handleImportedData','1oaImcB','336CWpCxc'];_0x4231=function(){return _0x5de5e2;};return _0x4231();}import{priorities as _0x3dbecb}from'ckeditor5/src/utils.js';import{Users as _0x19d675}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x3ccfe6}from'../commentsrepository.js';export class CommentsImportWord extends _0x234fe5{constructor(_0x1b1473){const _0x251dbe=_0x5043;super(_0x1b1473),this[_0x251dbe(0x1aa)][_0x251dbe(0x195)][_0x251dbe(0x198)](_0x251dbe(0x1a0),_0x251dbe(0x199));}[_0x41d4cc(0x1ab)](){const _0x4b4ed2=_0x41d4cc,_0x1830db=this[_0x4b4ed2(0x1aa)],_0x2fcb1a=_0x1830db[_0x4b4ed2(0x191)][_0x4b4ed2(0x18f)](_0x4b4ed2(0x19f)),_0x2731e2=_0x1830db[_0x4b4ed2(0x18d)][_0x4b4ed2(0x18f)](_0x19d675);_0x2fcb1a&&(_0x2fcb1a['on'](_0x4b4ed2(0x1a8),(_0x16f4b7,[,_0x2f602a])=>{const _0x399872=_0x4b4ed2;_0x2f602a[_0x399872(0x18e)]={'comments':!0x0,'user_id':_0x2731e2['me']['id']};},{'priority':_0x3dbecb[_0x4b4ed2(0x19d)]+0xa}),this[_0x4b4ed2(0x19e)](_0x2fcb1a,_0x4b4ed2(0x194),this[_0x4b4ed2(0x1a5)]));}[_0x41d4cc(0x1a5)](_0x2210ee,_0xbe1e1e){const _0x37b047=_0x41d4cc,{comment_threads:_0x36e918}=_0xbe1e1e;_0x36e918&&_0x36e918[_0x37b047(0x19b)](({thread_id:_0x131ab2,comments:_0x2ac5d0,is_resolved:_0x129953})=>{const _0x3e4ac6=_0x37b047,_0x29f3cb=new Date(),_0x2f7474=_0x2ac5d0[_0x3e4ac6(0x1a1)](({author:_0x5a9832,content:_0x23997b,created_at:_0x1526cf})=>({'content':_0x23997b,'authorId':this[_0x3e4ac6(0x1aa)][_0x3e4ac6(0x18d)][_0x3e4ac6(0x18f)](_0x19d675)['me']['id'],'createdAt':_0x29f3cb,'attributes':{'@external':{'authorName':_0x5a9832,'createdAt':_0x1526cf?new Date(_0x1526cf):new Date(),'source':_0x3e4ac6(0x19f)}}})),_0x471983=this[_0x3e4ac6(0x1aa)][_0x3e4ac6(0x195)][_0x3e4ac6(0x18f)](_0x3e4ac6(0x196));this[_0x3e4ac6(0x1aa)][_0x3e4ac6(0x18d)][_0x3e4ac6(0x18f)](_0x3ccfe6)[_0x3e4ac6(0x193)]({'channelId':_0x471983,'threadId':_0x131ab2,'comments':_0x2f7474,'resolvedAt':_0x129953?_0x29f3cb:null});});}}
23
+ const _0x2ae4cc=_0x9c7a;(function(_0x559e22,_0x3ed171){const _0x1fb22a=_0x9c7a,_0x260ea5=_0x559e22();while(!![]){try{const _0x35e495=parseInt(_0x1fb22a(0x16c))/0x1*(-parseInt(_0x1fb22a(0x152))/0x2)+parseInt(_0x1fb22a(0x160))/0x3*(-parseInt(_0x1fb22a(0x15b))/0x4)+parseInt(_0x1fb22a(0x14f))/0x5+parseInt(_0x1fb22a(0x163))/0x6+-parseInt(_0x1fb22a(0x151))/0x7*(-parseInt(_0x1fb22a(0x155))/0x8)+-parseInt(_0x1fb22a(0x157))/0x9*(-parseInt(_0x1fb22a(0x164))/0xa)+parseInt(_0x1fb22a(0x15d))/0xb;if(_0x35e495===_0x3ed171)break;else _0x260ea5['push'](_0x260ea5['shift']());}catch(_0xc04533){_0x260ea5['push'](_0x260ea5['shift']());}}}(_0x291c,0x1e13c));import{Plugin as _0x4a7d61}from'ckeditor5/src/core.js';import{priorities as _0x362689}from'ckeditor5/src/utils.js';import{Users as _0x596e79}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x291c(){const _0x251413=['execute','get','433296rQtGAu','780TLniyc','basic','editor','listenTo','addCommentThread','collaboration_features','config','collaboration.channelId','2eLEVgQ','importWord.formatting.comments','29515SsiFRT','dataInsert','21sKwziG','124976VbTPtS','commands','plugins','441568dsVHbR','high','2016cyTtPZ','afterInit','define','importWord','245924DZlMMy','_handleImportedData','533214sJxYMv','forEach','map','3RBGUMF'];_0x291c=function(){return _0x251413;};return _0x291c();}import{CommentsRepository as _0x4e3582}from'../commentsrepository.js';function _0x9c7a(_0x358890,_0x3b3320){const _0x291c64=_0x291c();return _0x9c7a=function(_0x9c7af7,_0x5826ea){_0x9c7af7=_0x9c7af7-0x14f;let _0x3ebaee=_0x291c64[_0x9c7af7];return _0x3ebaee;},_0x9c7a(_0x358890,_0x3b3320);}export class CommentsImportWord extends _0x4a7d61{constructor(_0x38c7ac){const _0x38cf0f=_0x9c7a;super(_0x38c7ac),this[_0x38cf0f(0x166)][_0x38cf0f(0x16a)][_0x38cf0f(0x159)](_0x38cf0f(0x16d),_0x38cf0f(0x165));}[_0x2ae4cc(0x158)](){const _0x30fa67=_0x2ae4cc,_0x9a4e63=this[_0x30fa67(0x166)],_0x96f105=_0x9a4e63[_0x30fa67(0x153)][_0x30fa67(0x162)](_0x30fa67(0x15a)),_0x4d39c9=_0x9a4e63[_0x30fa67(0x154)][_0x30fa67(0x162)](_0x596e79);_0x96f105&&(_0x96f105['on'](_0x30fa67(0x161),(_0xa4d10a,[,_0xaed186])=>{const _0x4d35c4=_0x30fa67;_0xaed186[_0x4d35c4(0x169)]={'comments':!0x0,'user_id':_0x4d39c9['me']['id']};},{'priority':_0x362689[_0x30fa67(0x156)]+0xa}),this[_0x30fa67(0x167)](_0x96f105,_0x30fa67(0x150),this[_0x30fa67(0x15c)]));}[_0x2ae4cc(0x15c)](_0x48e457,_0x297b04){const _0x31553b=_0x2ae4cc,{comment_threads:_0x5c1afb}=_0x297b04;_0x5c1afb&&_0x5c1afb[_0x31553b(0x15e)](({thread_id:_0x251be6,comments:_0x500467,is_resolved:_0x109cdd})=>{const _0x1642ca=_0x31553b,_0x11858=new Date(),_0x52603f=_0x500467[_0x1642ca(0x15f)](({author:_0x50de5b,content:_0x4a5237,created_at:_0x5d964b})=>({'content':_0x4a5237,'authorId':this[_0x1642ca(0x166)][_0x1642ca(0x154)][_0x1642ca(0x162)](_0x596e79)['me']['id'],'createdAt':_0x11858,'attributes':{'@external':{'authorName':_0x50de5b,'createdAt':_0x5d964b?new Date(_0x5d964b):new Date(),'source':_0x1642ca(0x15a)}}})),_0x336a91=this[_0x1642ca(0x166)][_0x1642ca(0x16a)][_0x1642ca(0x162)](_0x1642ca(0x16b));this[_0x1642ca(0x166)][_0x1642ca(0x154)][_0x1642ca(0x162)](_0x4e3582)[_0x1642ca(0x168)]({'channelId':_0x336a91,'threadId':_0x251be6,'comments':_0x52603f,'resolvedAt':_0x109cdd?_0x11858:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49209f=_0x34d6;(function(_0x4a48ab,_0x253318){const _0x1d81de=_0x34d6,_0x585c21=_0x4a48ab();while(!![]){try{const _0xcec0bd=-parseInt(_0x1d81de(0x164))/0x1+-parseInt(_0x1d81de(0x139))/0x2+parseInt(_0x1d81de(0x15e))/0x3+parseInt(_0x1d81de(0x16b))/0x4*(-parseInt(_0x1d81de(0x165))/0x5)+-parseInt(_0x1d81de(0x176))/0x6*(parseInt(_0x1d81de(0x143))/0x7)+-parseInt(_0x1d81de(0x15f))/0x8*(-parseInt(_0x1d81de(0x16d))/0x9)+parseInt(_0x1d81de(0x14b))/0xa;if(_0xcec0bd===_0x253318)break;else _0x585c21['push'](_0x585c21['shift']());}catch(_0x4433bc){_0x585c21['push'](_0x585c21['shift']());}}}(_0x3575,0x8e486));import{Plugin as _0x48e97c}from'ckeditor5/src/core.js';import{toWidget as _0x28b673}from'ckeditor5/src/widget.js';function _0x34d6(_0x4e95a5,_0xd6f613){const _0x357549=_0x3575();return _0x34d6=function(_0x34d606,_0x10b704){_0x34d606=_0x34d606-0x135;let _0x1dd1e8=_0x357549[_0x34d606];return _0x1dd1e8;},_0x34d6(_0x4e95a5,_0xd6f613);}import{splitMarkerName as _0x3daaa3}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x49cc1c}from'../commentsrepository.js';function _0x3575(){const _0x3d9d8c=['data','getCustomProperty','item','overrideMediaEmbedConverter','addMarker:comment','overrideImageInlineConverter','6CEYEYw','model','markerName','ck-horizontal-line','consumable','2164048lyMkjd','elementToElement','mapper','writer','attribute:url:media','elementToStructure','getCommentThread','createEmptyElement','containerElement','showCommentHighlights','3866359mtVXcv','init','widget','consume','overrideMarkerConverters','imageInline','markerToHighlight','schema','29429350dZGIlL','ignoreResolvedComments','insert','plugins','conversion','isObject','editor','isResolved','image-inline','add','comment','addMarker:','overrideHorizontalRuleConverter','removeMarker:','ck-comment-marker','span','toViewElement','get','downcastDispatcher','146088HAYaLm','536Hznymj','img','div','createPositionAt','horizontalLine','428227YdgVkS','40MxnpDr','addClass','createContainerElement','options','stop','dataDowncast','432048QNlqHt','for','69561kosGps','high','media'];_0x3575=function(){return _0x3d9d8c;};return _0x3575();}export class ShowCommentHighlights extends _0x48e97c{[_0x49209f(0x144)](){const _0x132955=_0x49209f;this[_0x132955(0x147)](),this[_0x132955(0x157)](),this[_0x132955(0x175)](),this[_0x132955(0x173)]();}[_0x49209f(0x147)](){const _0x3e2cba=_0x49209f;this[_0x3e2cba(0x151)][_0x3e2cba(0x14f)][_0x3e2cba(0x16c)](_0x3e2cba(0x16a))[_0x3e2cba(0x149)]({'model':_0x3e2cba(0x155),'view':(_0x2acaea,_0x4b38fe)=>{const _0x2d083e=_0x3e2cba;if(!_0x4b38fe[_0x2d083e(0x168)][_0x2d083e(0x142)])return null;if(_0x4b38fe[_0x2d083e(0x168)][_0x2d083e(0x14c)]){const {id:_0x48b1b0}=_0x3daaa3(_0x2acaea[_0x2d083e(0x136)]),_0x13fe90=this[_0x2d083e(0x151)][_0x2d083e(0x14e)][_0x2d083e(0x15c)](_0x49cc1c);if(_0x13fe90[_0x2d083e(0x13f)](_0x48b1b0)?.[_0x2d083e(0x152)]&&_0x2acaea[_0x2d083e(0x172)])return _0x4b38fe[_0x2d083e(0x138)][_0x2d083e(0x146)](_0x2acaea[_0x2d083e(0x172)],_0x2d083e(0x156)+_0x2acaea[_0x2d083e(0x136)]),_0x4b38fe[_0x2d083e(0x138)][_0x2d083e(0x146)](_0x2acaea[_0x2d083e(0x172)],_0x2d083e(0x158)+_0x2acaea[_0x2d083e(0x136)]),null;}return{'classes':[_0x2d083e(0x159)]};}}),this[_0x3e2cba(0x151)][_0x3e2cba(0x14f)][_0x3e2cba(0x16c)](_0x3e2cba(0x16a))[_0x3e2cba(0x154)](_0xea79ef=>{const _0x2d285c=_0x3e2cba;_0xea79ef['on'](_0x2d285c(0x174),(_0x1d0b57,_0x47fe6d,_0x2eb153)=>{const _0xa97137=_0x2d285c;if(!_0x2eb153[_0xa97137(0x168)][_0xa97137(0x142)])return;const _0x5541f2=_0x47fe6d[_0xa97137(0x172)];if(!_0x5541f2)return;const _0x26b6bc=_0x2eb153[_0xa97137(0x13b)][_0xa97137(0x15b)](_0x5541f2);this[_0xa97137(0x151)][_0xa97137(0x135)][_0xa97137(0x14a)][_0xa97137(0x150)](_0x5541f2)&&_0x26b6bc&&!_0x26b6bc[_0xa97137(0x171)](_0xa97137(0x145))&&_0x26b6bc['is'](_0xa97137(0x141))&&_0x28b673(_0x26b6bc,_0x2eb153[_0xa97137(0x13c)]);},{'priority':_0x2d285c(0x16e)});});}[_0x49209f(0x157)](){const _0x98c66e=_0x49209f;this[_0x98c66e(0x151)][_0x98c66e(0x14f)][_0x98c66e(0x16c)](_0x98c66e(0x16a))[_0x98c66e(0x13e)]({'model':_0x98c66e(0x163),'view':(_0x3cad72,{writer:_0x1afdb3,options:_0x4d3766})=>{const _0xf988f7=_0x98c66e;if(!_0x4d3766[_0xf988f7(0x142)])return null;const _0x4abdcc=_0x1afdb3[_0xf988f7(0x167)](_0xf988f7(0x161)),_0x35db57=_0x1afdb3[_0xf988f7(0x140)]('hr');return _0x1afdb3[_0xf988f7(0x166)](_0xf988f7(0x137),_0x4abdcc),_0x1afdb3[_0xf988f7(0x14d)](_0x1afdb3[_0xf988f7(0x162)](_0x4abdcc,0x0),_0x35db57),_0x4abdcc;},'converterPriority':_0x98c66e(0x16e)});}[_0x49209f(0x175)](){const _0x187076=_0x49209f;this[_0x187076(0x151)][_0x187076(0x14f)][_0x187076(0x16c)](_0x187076(0x16a))[_0x187076(0x13e)]({'model':_0x187076(0x148),'view':(_0x17a133,{writer:_0x506d09,options:_0x1b4cb3})=>{const _0x16b326=_0x187076;if(!_0x1b4cb3[_0x16b326(0x142)])return null;const _0x3e7c79=_0x506d09[_0x16b326(0x167)](_0x16b326(0x15a)),_0x4b804b=_0x506d09[_0x16b326(0x140)](_0x16b326(0x160));return _0x506d09[_0x16b326(0x166)](_0x16b326(0x153),_0x3e7c79),_0x506d09[_0x16b326(0x14d)](_0x506d09[_0x16b326(0x162)](_0x3e7c79,0x0),_0x4b804b),_0x3e7c79;},'converterPriority':_0x187076(0x16e)});}[_0x49209f(0x173)](){const _0xfd645c=_0x49209f;this[_0xfd645c(0x151)][_0xfd645c(0x14f)][_0xfd645c(0x16c)](_0xfd645c(0x16a))[_0xfd645c(0x13a)]({'model':_0xfd645c(0x16f),'view':(_0xe6940c,{writer:_0xfac77e,options:_0x302c39})=>{const _0x4e4e51=_0xfd645c;if(_0x302c39[_0x4e4e51(0x142)])return _0xfac77e[_0x4e4e51(0x140)](_0x4e4e51(0x161));},'converterPriority':_0xfd645c(0x16e)}),this[_0xfd645c(0x151)][_0xfd645c(0x170)][_0xfd645c(0x15d)]['on'](_0xfd645c(0x13d),(_0x388ab0,_0x4745bf,_0x26f9e0)=>{const _0x31b277=_0xfd645c;_0x26f9e0[_0x31b277(0x168)][_0x31b277(0x142)]&&_0x388ab0[_0x31b277(0x169)]();},{'priority':_0xfd645c(0x16e)});}}
23
+ const _0x32b9b6=_0x2f36;function _0xf938(){const _0x2b7a9b=['imageInline','overrideMediaEmbedConverter','containerElement','1960814GjaSiS','993807fmilds','item','attribute:url:media','overrideMarkerConverters','ck-horizontal-line','overrideImageInlineConverter','div','16350RNzYCC','isObject','consumable','3566020JKkCUX','downcastDispatcher','widget','7715844LHoJdh','dataDowncast','3675057DiMEFX','markerToHighlight','model','toViewElement','ck-comment-marker','init','editor','conversion','ignoreResolvedComments','span','writer','consume','elementToElement','addMarker:comment','overrideHorizontalRuleConverter','high','plugins','schema','add','data','for','4hsIldU','addMarker:','createContainerElement','mapper','getCommentThread','elementToStructure','isResolved','image-inline','markerName','options','createPositionAt','3367936YGbUlh','createEmptyElement','insert','stop','addClass','horizontalLine','media','comment','removeMarker:','get','getCustomProperty','showCommentHighlights','1267yZZWuS','img','20pVRMdv'];_0xf938=function(){return _0x2b7a9b;};return _0xf938();}(function(_0xf58741,_0x6f651e){const _0x27407e=_0x2f36,_0x269766=_0xf58741();while(!![]){try{const _0x5605a2=parseInt(_0x27407e(0x1b4))/0x1+-parseInt(_0x27407e(0x1b3))/0x2+parseInt(_0x27407e(0x1c3))/0x3*(-parseInt(_0x27407e(0x1d8))/0x4)+-parseInt(_0x27407e(0x1be))/0x5+-parseInt(_0x27407e(0x1bb))/0x6*(-parseInt(_0x27407e(0x1ef))/0x7)+parseInt(_0x27407e(0x1e3))/0x8+parseInt(_0x27407e(0x1c1))/0x9*(parseInt(_0x27407e(0x1f1))/0xa);if(_0x5605a2===_0x6f651e)break;else _0x269766['push'](_0x269766['shift']());}catch(_0x431802){_0x269766['push'](_0x269766['shift']());}}}(_0xf938,0xabe1a));import{Plugin as _0x4f701c}from'ckeditor5/src/core.js';function _0x2f36(_0x135ce4,_0x22ec7e){const _0xf9382=_0xf938();return _0x2f36=function(_0x2f36e5,_0x214fe7){_0x2f36e5=_0x2f36e5-0x1b2;let _0x9e82d8=_0xf9382[_0x2f36e5];return _0x9e82d8;},_0x2f36(_0x135ce4,_0x22ec7e);}import{toWidget as _0x39bcf4}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x36af74}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x26c448}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x4f701c{[_0x32b9b6(0x1c8)](){const _0x4429e5=_0x32b9b6;this[_0x4429e5(0x1b7)](),this[_0x4429e5(0x1d1)](),this[_0x4429e5(0x1b9)](),this[_0x4429e5(0x1f3)]();}[_0x32b9b6(0x1b7)](){const _0x397fb3=_0x32b9b6;this[_0x397fb3(0x1c9)][_0x397fb3(0x1ca)][_0x397fb3(0x1d7)](_0x397fb3(0x1c2))[_0x397fb3(0x1c4)]({'model':_0x397fb3(0x1ea),'view':(_0xc056f,_0x26f4db)=>{const _0x112b27=_0x397fb3;if(!_0x26f4db[_0x112b27(0x1e1)][_0x112b27(0x1ee)])return null;if(_0x26f4db[_0x112b27(0x1e1)][_0x112b27(0x1cb)]){const {id:_0x3f06f5}=_0x36af74(_0xc056f[_0x112b27(0x1e0)]),_0x5ad6b3=this[_0x112b27(0x1c9)][_0x112b27(0x1d3)][_0x112b27(0x1ec)](_0x26c448);if(_0x5ad6b3[_0x112b27(0x1dc)](_0x3f06f5)?.[_0x112b27(0x1de)]&&_0xc056f[_0x112b27(0x1b5)])return _0x26f4db[_0x112b27(0x1bd)][_0x112b27(0x1ce)](_0xc056f[_0x112b27(0x1b5)],_0x112b27(0x1d9)+_0xc056f[_0x112b27(0x1e0)]),_0x26f4db[_0x112b27(0x1bd)][_0x112b27(0x1ce)](_0xc056f[_0x112b27(0x1b5)],_0x112b27(0x1eb)+_0xc056f[_0x112b27(0x1e0)]),null;}return{'classes':[_0x112b27(0x1c7)]};}}),this[_0x397fb3(0x1c9)][_0x397fb3(0x1ca)][_0x397fb3(0x1d7)](_0x397fb3(0x1c2))[_0x397fb3(0x1d5)](_0x1d9d63=>{const _0xa524e=_0x397fb3;_0x1d9d63['on'](_0xa524e(0x1d0),(_0x242096,_0x570b9c,_0x22a50a)=>{const _0x3730f9=_0xa524e;if(!_0x22a50a[_0x3730f9(0x1e1)][_0x3730f9(0x1ee)])return;const _0x179d3a=_0x570b9c[_0x3730f9(0x1b5)];if(!_0x179d3a)return;const _0x3e7111=_0x22a50a[_0x3730f9(0x1db)][_0x3730f9(0x1c6)](_0x179d3a);this[_0x3730f9(0x1c9)][_0x3730f9(0x1c5)][_0x3730f9(0x1d4)][_0x3730f9(0x1bc)](_0x179d3a)&&_0x3e7111&&!_0x3e7111[_0x3730f9(0x1ed)](_0x3730f9(0x1c0))&&_0x3e7111['is'](_0x3730f9(0x1b2))&&_0x39bcf4(_0x3e7111,_0x22a50a[_0x3730f9(0x1cd)]);},{'priority':_0xa524e(0x1d2)});});}[_0x32b9b6(0x1d1)](){const _0x5a8d4c=_0x32b9b6;this[_0x5a8d4c(0x1c9)][_0x5a8d4c(0x1ca)][_0x5a8d4c(0x1d7)](_0x5a8d4c(0x1c2))[_0x5a8d4c(0x1dd)]({'model':_0x5a8d4c(0x1e8),'view':(_0x2bce77,{writer:_0x4bcfd8,options:_0x1a795d})=>{const _0x42b0e3=_0x5a8d4c;if(!_0x1a795d[_0x42b0e3(0x1ee)])return null;const _0x347e39=_0x4bcfd8[_0x42b0e3(0x1da)](_0x42b0e3(0x1ba)),_0x5a3e98=_0x4bcfd8[_0x42b0e3(0x1e4)]('hr');return _0x4bcfd8[_0x42b0e3(0x1e7)](_0x42b0e3(0x1b8),_0x347e39),_0x4bcfd8[_0x42b0e3(0x1e5)](_0x4bcfd8[_0x42b0e3(0x1e2)](_0x347e39,0x0),_0x5a3e98),_0x347e39;},'converterPriority':_0x5a8d4c(0x1d2)});}[_0x32b9b6(0x1b9)](){const _0x1b59cc=_0x32b9b6;this[_0x1b59cc(0x1c9)][_0x1b59cc(0x1ca)][_0x1b59cc(0x1d7)](_0x1b59cc(0x1c2))[_0x1b59cc(0x1dd)]({'model':_0x1b59cc(0x1f2),'view':(_0x3ee8f8,{writer:_0x13e568,options:_0x5ea101})=>{const _0x5b4120=_0x1b59cc;if(!_0x5ea101[_0x5b4120(0x1ee)])return null;const _0x16a84a=_0x13e568[_0x5b4120(0x1da)](_0x5b4120(0x1cc)),_0x339d9c=_0x13e568[_0x5b4120(0x1e4)](_0x5b4120(0x1f0));return _0x13e568[_0x5b4120(0x1e7)](_0x5b4120(0x1df),_0x16a84a),_0x13e568[_0x5b4120(0x1e5)](_0x13e568[_0x5b4120(0x1e2)](_0x16a84a,0x0),_0x339d9c),_0x16a84a;},'converterPriority':_0x1b59cc(0x1d2)});}[_0x32b9b6(0x1f3)](){const _0x53a364=_0x32b9b6;this[_0x53a364(0x1c9)][_0x53a364(0x1ca)][_0x53a364(0x1d7)](_0x53a364(0x1c2))[_0x53a364(0x1cf)]({'model':_0x53a364(0x1e9),'view':(_0x538f5a,{writer:_0xe806d2,options:_0x1f995e})=>{const _0x428147=_0x53a364;if(_0x1f995e[_0x428147(0x1ee)])return _0xe806d2[_0x428147(0x1e4)](_0x428147(0x1ba));},'converterPriority':_0x53a364(0x1d2)}),this[_0x53a364(0x1c9)][_0x53a364(0x1d6)][_0x53a364(0x1bf)]['on'](_0x53a364(0x1b6),(_0x3e42e5,_0x5c09e8,_0xc0a508)=>{const _0x27ccb4=_0x53a364;_0xc0a508[_0x27ccb4(0x1e1)][_0x27ccb4(0x1ee)]&&_0x3e42e5[_0x27ccb4(0x1e6)]();},{'priority':_0x53a364(0x1d2)});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x90a006=_0x21f5;function _0x1464(){const _0x210437=['13210cLNPLi','change','assign','379672llQEbj','get','config','childCount','createRoot','set','low','_updatePlaceholder','placeholderElement','fromCharCode','join','change:placeholder','ready','initPlugins','setSelection','132mVYbcY','plugins','189255nIMOyG','15348450bvpVop','model','fire','document','end','7419125HEtzqi','placeholder','init','data','937020Imufsp','name','initialData','create','18UcaqDj','4726668PEgSvJ','defaultPlugins','getChild','view','57eKjFvk','destroy','map','editing','then','getRoot','focus'];_0x1464=function(){return _0x210437;};return _0x1464();}(function(_0x54ff4a,_0x59841d){const _0x452b0a=_0x21f5,_0x15ea0b=_0x54ff4a();while(!![]){try{const _0x170b61=-parseInt(_0x452b0a(0x210))/0x1*(-parseInt(_0x452b0a(0x217))/0x2)+parseInt(_0x452b0a(0x207))/0x3+-parseInt(_0x452b0a(0x1fb))/0x4*(-parseInt(_0x452b0a(0x1fd))/0x5)+-parseInt(_0x452b0a(0x20c))/0x6+parseInt(_0x452b0a(0x203))/0x7+parseInt(_0x452b0a(0x21a))/0x8*(parseInt(_0x452b0a(0x20b))/0x9)+-parseInt(_0x452b0a(0x1fe))/0xa;if(_0x170b61===_0x59841d)break;else _0x15ea0b['push'](_0x15ea0b['shift']());}catch(_0x74e45d){_0x15ea0b['push'](_0x15ea0b['shift']());}}}(_0x1464,0xbc01e));import{Editor as _0x5d760a}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x1f2248}from'./commenteditorui.js';import{ObservableMixin as _0x1309d9}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0xf08645,disableViewPlaceholder as _0x211305}from'ckeditor5/src/engine.js';import{Clipboard as _0x36ea16}from'ckeditor5/src/clipboard.js';import{Enter as _0x55edbb,ShiftEnter as _0xc56950}from'ckeditor5/src/enter.js';import{SelectAll as _0x5b3ed3}from'ckeditor5/src/select-all.js';function _0x21f5(_0x3b6490,_0x43c80d){const _0x1464b9=_0x1464();return _0x21f5=function(_0x21f59c,_0x4fe7a5){_0x21f59c=_0x21f59c-0x1ef;let _0x3053ae=_0x1464b9[_0x21f59c];return _0x3053ae;},_0x21f5(_0x3b6490,_0x43c80d);}import{Typing as _0xd6230e}from'ckeditor5/src/typing.js';import{Undo as _0x2323d8}from'ckeditor5/src/undo.js';import{Paragraph as _0x2f89cf}from'ckeditor5/src/paragraph.js';const Qt=[_0x36ea16,_0x55edbb,_0xc56950,_0x5b3ed3,_0xd6230e,_0x2323d8,_0x2f89cf];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
- _0x1309d9(_0x5d760a){static [_0x90a006(0x20d)]=((()=>Qt)());constructor(_0x451511={}){const _0x188c18=_0x90a006;function _0x3d64b3(_0x316f97){const _0x1b5e61=_0x21f5;return _0x316f97[_0x1b5e61(0x212)](_0x50f920=>String[_0x1b5e61(0x1f5)](_0x50f920))[_0x1b5e61(0x1f6)]('');}(_0x451511=Object[_0x188c18(0x219)]({},_0x451511))[_0x188c18(0x1fc)]||(_0x451511[_0x188c18(0x1fc)]=CommentEditor[_0x188c18(0x20d)]),super(_0x451511),this['ui']=new _0x1f2248(this),this[_0x188c18(0x1f1)](_0x188c18(0x204),''),this[_0x188c18(0x1ff)][_0x188c18(0x201)]['on'](_0x188c18(0x218),()=>this[_0x188c18(0x1f3)](),{'priority':_0x188c18(0x1f2)}),this['on'](_0x188c18(0x1f7),()=>this[_0x188c18(0x1f3)]()),this[_0x188c18(0x1ff)][_0x188c18(0x201)][_0x188c18(0x1f0)](),this[_0x3d64b3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d64b3([0x76,0x69,0x65,0x77])][_0x3d64b3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d64b3([0x61,0x75,0x74,0x6f]),this[_0x3d64b3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3d64b3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d64b3([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3d64b3([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3d64b3([0x6f,0x6b])});}[_0x90a006(0x20a)](){const _0x5b86e0=_0x90a006,_0x2f0c15=this[_0x5b86e0(0x21c)][_0x5b86e0(0x21b)](_0x5b86e0(0x209))||'';return this[_0x5b86e0(0x1f9)]()[_0x5b86e0(0x214)](()=>this['ui'][_0x5b86e0(0x205)]())[_0x5b86e0(0x214)](()=>this[_0x5b86e0(0x206)][_0x5b86e0(0x205)](_0x2f0c15))[_0x5b86e0(0x214)](()=>this[_0x5b86e0(0x200)](_0x5b86e0(0x1f8)));}[_0x90a006(0x211)](){const _0x2ae56a=_0x90a006;return super[_0x2ae56a(0x211)]()[_0x2ae56a(0x214)](()=>this['ui'][_0x2ae56a(0x211)]());}[_0x90a006(0x216)](){const _0x4a1b4b=_0x90a006;this[_0x4a1b4b(0x1ff)][_0x4a1b4b(0x218)](_0x519588=>{const _0x1bb109=_0x4a1b4b,_0x519d7c=this[_0x1bb109(0x1ff)][_0x1bb109(0x201)][_0x1bb109(0x215)](),_0x382d20=_0x519d7c&&_0x519d7c[_0x1bb109(0x20e)](_0x519d7c[_0x1bb109(0x1ef)]-0x1);_0x519588[_0x1bb109(0x1fa)](_0x382d20,_0x1bb109(0x202)),this[_0x1bb109(0x213)][_0x1bb109(0x20f)][_0x1bb109(0x216)]();});}[_0x90a006(0x1f3)](){const _0x4f556e=_0x90a006,_0x1499eb=this[_0x4f556e(0x213)][_0x4f556e(0x20f)],_0xb7e36f=_0x1499eb[_0x4f556e(0x201)][_0x4f556e(0x215)](),_0xe62944=_0xb7e36f[_0x4f556e(0x20e)](0x0);_0xb7e36f[_0x4f556e(0x1ef)]>0x1||!_0xe62944||'p'!=_0xe62944[_0x4f556e(0x208)]?this[_0x4f556e(0x1f4)]&&this[_0x4f556e(0x1f4)][_0x4f556e(0x204)]&&(_0x211305(_0x1499eb,this[_0x4f556e(0x1f4)]),this[_0x4f556e(0x1f4)]=void 0x0):(this[_0x4f556e(0x204)]&&(_0xe62944[_0x4f556e(0x204)]=this[_0x4f556e(0x204)]),_0xf08645({'view':_0x1499eb,'element':_0xe62944,'keepOnFocus':!0x0}),this[_0x4f556e(0x1f4)]=_0xe62944);}}
23
+ const _0xf5ed18=_0x4d3c;(function(_0x1d0150,_0x448954){const _0x1e5624=_0x4d3c,_0x258600=_0x1d0150();while(!![]){try{const _0x3bf02a=parseInt(_0x1e5624(0x88))/0x1+-parseInt(_0x1e5624(0x8d))/0x2*(parseInt(_0x1e5624(0xa4))/0x3)+-parseInt(_0x1e5624(0x85))/0x4*(parseInt(_0x1e5624(0x96))/0x5)+parseInt(_0x1e5624(0x84))/0x6+parseInt(_0x1e5624(0x8f))/0x7*(-parseInt(_0x1e5624(0x7b))/0x8)+parseInt(_0x1e5624(0xa1))/0x9*(-parseInt(_0x1e5624(0xa5))/0xa)+parseInt(_0x1e5624(0x89))/0xb;if(_0x3bf02a===_0x448954)break;else _0x258600['push'](_0x258600['shift']());}catch(_0x50c209){_0x258600['push'](_0x258600['shift']());}}}(_0x5f59,0x24ec4));import{Editor as _0x3b174e}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x2b606c}from'./commenteditorui.js';function _0x4d3c(_0x5257a8,_0x2d85d5){const _0x5f5904=_0x5f59();return _0x4d3c=function(_0x4d3c61,_0x37d1ad){_0x4d3c61=_0x4d3c61-0x7b;let _0x48d0ab=_0x5f5904[_0x4d3c61];return _0x48d0ab;},_0x4d3c(_0x5257a8,_0x2d85d5);}import{ObservableMixin as _0x10c657}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x5ece7e,disableViewPlaceholder as _0x31ea8e}from'ckeditor5/src/engine.js';import{Clipboard as _0x29cae6}from'ckeditor5/src/clipboard.js';import{Enter as _0x482ed4,ShiftEnter as _0x155f20}from'ckeditor5/src/enter.js';import{SelectAll as _0x42ed9a}from'ckeditor5/src/select-all.js';import{Typing as _0x2dd968}from'ckeditor5/src/typing.js';import{Undo as _0x234447}from'ckeditor5/src/undo.js';import{Paragraph as _0xf523fa}from'ckeditor5/src/paragraph.js';const Qt=[_0x29cae6,_0x482ed4,_0x155f20,_0x42ed9a,_0x2dd968,_0x234447,_0xf523fa];function _0x5f59(){const _0x5589e8=['placeholder','name','config','setSelection','focus','change','childCount','data','1693614UlYsaH','16808nctXbn','end','placeholderElement','141551sEICFO','4586549ktNYVB','getRoot','low','createRoot','20OxEwLl','getChild','736841RAEaqc','join','fromCharCode','document','plugins','destroy','init','275YbsqNE','_updatePlaceholder','defaultPlugins','view','create','editing','model','get','initPlugins','fire','change:placeholder','171fHyZoY','map','assign','12795ZIsDNF','108030yaHoKv','ready','then','set','initialData','16bHDAZc'];_0x5f59=function(){return _0x5589e8;};return _0x5f59();}export class CommentEditor extends/* #__PURE__ -- @preserve */
24
+ _0x10c657(_0x3b174e){static [_0xf5ed18(0x98)]=((()=>Qt)());constructor(_0x216eea={}){const _0x26e77f=_0xf5ed18;function _0x376f57(_0x47b990){const _0x308893=_0x4d3c;return _0x47b990[_0x308893(0xa2)](_0x3887e0=>String[_0x308893(0x91)](_0x3887e0))[_0x308893(0x90)]('');}(_0x216eea=Object[_0x26e77f(0xa3)]({},_0x216eea))[_0x26e77f(0x93)]||(_0x216eea[_0x26e77f(0x93)]=CommentEditor[_0x26e77f(0x98)]),super(_0x216eea),this['ui']=new _0x2b606c(this),this[_0x26e77f(0xa8)](_0x26e77f(0x7c),''),this[_0x26e77f(0x9c)][_0x26e77f(0x92)]['on'](_0x26e77f(0x81),()=>this[_0x26e77f(0x97)](),{'priority':_0x26e77f(0x8b)}),this['on'](_0x26e77f(0xa0),()=>this[_0x26e77f(0x97)]()),this[_0x26e77f(0x9c)][_0x26e77f(0x92)][_0x26e77f(0x8c)](),this[_0x376f57([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x376f57([0x76,0x69,0x65,0x77])][_0x376f57([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x376f57([0x61,0x75,0x74,0x6f]),this[_0x376f57([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x376f57([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x376f57([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x376f57([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x376f57([0x6f,0x6b])});}[_0xf5ed18(0x9a)](){const _0x343535=_0xf5ed18,_0x17eb47=this[_0x343535(0x7e)][_0x343535(0x9d)](_0x343535(0xa9))||'';return this[_0x343535(0x9e)]()[_0x343535(0xa7)](()=>this['ui'][_0x343535(0x95)]())[_0x343535(0xa7)](()=>this[_0x343535(0x83)][_0x343535(0x95)](_0x17eb47))[_0x343535(0xa7)](()=>this[_0x343535(0x9f)](_0x343535(0xa6)));}[_0xf5ed18(0x94)](){const _0x43d241=_0xf5ed18;return super[_0x43d241(0x94)]()[_0x43d241(0xa7)](()=>this['ui'][_0x43d241(0x94)]());}[_0xf5ed18(0x80)](){const _0x262d03=_0xf5ed18;this[_0x262d03(0x9c)][_0x262d03(0x81)](_0x33d1e5=>{const _0x327563=_0x262d03,_0x1f8c15=this[_0x327563(0x9c)][_0x327563(0x92)][_0x327563(0x8a)](),_0x3617ed=_0x1f8c15&&_0x1f8c15[_0x327563(0x8e)](_0x1f8c15[_0x327563(0x82)]-0x1);_0x33d1e5[_0x327563(0x7f)](_0x3617ed,_0x327563(0x86)),this[_0x327563(0x9b)][_0x327563(0x99)][_0x327563(0x80)]();});}[_0xf5ed18(0x97)](){const _0x3414f3=_0xf5ed18,_0x265edd=this[_0x3414f3(0x9b)][_0x3414f3(0x99)],_0x3d41d3=_0x265edd[_0x3414f3(0x92)][_0x3414f3(0x8a)](),_0x56d56d=_0x3d41d3[_0x3414f3(0x8e)](0x0);_0x3d41d3[_0x3414f3(0x82)]>0x1||!_0x56d56d||'p'!=_0x56d56d[_0x3414f3(0x7d)]?this[_0x3414f3(0x87)]&&this[_0x3414f3(0x87)][_0x3414f3(0x7c)]&&(_0x31ea8e(_0x265edd,this[_0x3414f3(0x87)]),this[_0x3414f3(0x87)]=void 0x0):(this[_0x3414f3(0x7c)]&&(_0x56d56d[_0x3414f3(0x7c)]=this[_0x3414f3(0x7c)]),_0x5ece7e({'view':_0x265edd,'element':_0x56d56d,'keepOnFocus':!0x0}),this[_0x3414f3(0x87)]=_0x56d56d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c4964=_0x2f99;(function(_0x230839,_0x37d2cb){const _0x4420c6=_0x2f99,_0x45a094=_0x230839();while(!![]){try{const _0x19b51c=-parseInt(_0x4420c6(0xf9))/0x1+-parseInt(_0x4420c6(0xeb))/0x2*(-parseInt(_0x4420c6(0xb4))/0x3)+parseInt(_0x4420c6(0xde))/0x4*(parseInt(_0x4420c6(0xc2))/0x5)+parseInt(_0x4420c6(0xd5))/0x6*(-parseInt(_0x4420c6(0xc5))/0x7)+parseInt(_0x4420c6(0xf7))/0x8+-parseInt(_0x4420c6(0xbd))/0x9+-parseInt(_0x4420c6(0xfc))/0xa;if(_0x19b51c===_0x37d2cb)break;else _0x45a094['push'](_0x45a094['shift']());}catch(_0x1fe12e){_0x45a094['push'](_0x45a094['shift']());}}}(_0x3f57,0xa46b6));import{View as _0x49b871,ViewCollection as _0x37cbd7,FocusCycler as _0x4d73ff}from'ckeditor5/src/ui.js';function _0x2f99(_0x323343,_0x245c97){const _0x3f574c=_0x3f57();return _0x2f99=function(_0x2f998f,_0x3f5da1){_0x2f998f=_0x2f998f-0xa6;let _0x293301=_0x3f574c[_0x2f998f];return _0x293301;},_0x2f99(_0x323343,_0x245c97);}import{FocusTracker as _0x929311,KeystrokeHandler as _0x3a884a}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x278186,trimHtml as _0x50ec8f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x597b1c}from'./commentcontentview.js';function _0x3f57(){const _0x238692=['focus','132lAQGfh','authoredAt','disabledSubmit','target','bind','cancel','removed','visibleView','esc','14048AVtWaD','isSystemComment','editorDestroyed','parseFromString','_setupKeyboardNavigation','fire','_config','Save','_createCommentInputView','remove','switchToEditMode','getUserViewNotificationText','EXTERNAL_IMPORT_WORD_COMMENT','4NQaZBI','value','COMMENT_ARIA_LABEL','updateComment','importWord','isExternal','EXTERNAL_AVATAR','formatDateTime','shift+tab','focusCycler','locale','maxCommentCharsWhenCollapsed','9709976ouRZZI','render','1306238MpnAKU','EXTERNAL_COMMENT','focusFirst','8904510BKKAnp','EXTERNAL_IMPORT_WORD_AVATAR','enter','COMMENT_THREAD_DESCRIPTION','_model','submitLabel','text/html','tab','change','textContent','element','name','keystrokes','source','content','submit','stopListening','added','editorConfig','884427LRCFnA','createEditor','_createCommentContentView','editorReady','getExternalCommentNote','focusables','isCollapsed','ariaDescriptionView','add','49392GusFpM','creator','set','isEditMode','initialData','1530bMEFul','body','listenTo','763RBNkbY','get','once','expand','delegate','ariaLabel','collapse','isReadOnly','attributes','author','createCollection','focusTracker','destroy','switchToDisplayMode','@external'];_0x3f57=function(){return _0x238692;};return _0x3f57();}import{CommentInputView as _0x2ce85e}from'./commentinputview.js';import{getTranslation as _0x579dc2}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x49b871{[_0x1c4964(0xdc)];[_0x1c4964(0xbb)];[_0x1c4964(0xb9)];[_0x1c4964(0xd0)];[_0x1c4964(0xad)];[_0x1c4964(0xf4)];[_0x1c4964(0x100)];[_0x1c4964(0xe4)];constructor(_0x10ad44,_0x33645b,_0x32f8ef){const _0xcd0d5=_0x1c4964;super(_0x10ad44),this[_0xcd0d5(0x100)]=_0x33645b,this[_0xcd0d5(0xe4)]=_0x32f8ef,this[_0xcd0d5(0xdf)]=!!this[_0xcd0d5(0xe4)][_0xcd0d5(0xdf)],this[_0xcd0d5(0xbf)](_0xcd0d5(0xc0),!0x1),this[_0xcd0d5(0xbf)](_0xcd0d5(0xba),!0x0),this[_0xcd0d5(0xd9)](_0xcd0d5(0xca))['to'](_0x33645b,_0xcd0d5(0xaf),_0x33645b,_0xcd0d5(0xd6),(_0x19fb8d,_0x31feda)=>_0x579dc2(_0x10ad44,_0xcd0d5(0xed),[_0x33645b[_0xcd0d5(0xce)][_0xcd0d5(0xac)],_0x32f8ef[_0xcd0d5(0xf2)](_0x31feda),new DOMParser()[_0xcd0d5(0xe1)](_0x19fb8d,_0xcd0d5(0xa7))[_0xcd0d5(0xc3)][_0xcd0d5(0xaa)],_0x33645b[_0xcd0d5(0xf0)]?this[_0xcd0d5(0xb8)]():''])),this[_0xcd0d5(0xbb)]=new _0x278186(_0x10ad44,_0x579dc2(_0x10ad44,_0xcd0d5(0xff))),this[_0xcd0d5(0xdc)]=this[_0xcd0d5(0xcf)](),this[_0xcd0d5(0xdc)][_0xcd0d5(0xbc)](this[_0xcd0d5(0xb6)]()),this[_0xcd0d5(0xb9)]=new _0x37cbd7(),this[_0xcd0d5(0xd0)]=new _0x929311(),this[_0xcd0d5(0xad)]=new _0x3a884a(),this[_0xcd0d5(0xf4)]=new _0x4d73ff({'focusables':this[_0xcd0d5(0xb9)],'focusTracker':this[_0xcd0d5(0xd0)],'keystrokeHandler':this[_0xcd0d5(0xad)],'keystrokeHandlerOptions':{'filter':_0x10f970=>_0x10f970[_0xcd0d5(0xd8)]!==this[_0xcd0d5(0xab)]},'actions':{'focusPrevious':_0xcd0d5(0xf3),'focusNext':_0xcd0d5(0xa8)}});}[_0x1c4964(0xc8)](){const _0x59fb96=_0x1c4964;this[_0x59fb96(0xba)]=!0x1;}[_0x1c4964(0xcb)](){const _0x3d5cc2=_0x1c4964;this[_0x3d5cc2(0xc0)]||(this[_0x3d5cc2(0xba)]=!0x0);}[_0x1c4964(0xd4)](){const _0x119260=_0x1c4964;this[_0x119260(0xab)][_0x119260(0xd4)]();}[_0x1c4964(0xf8)](){const _0xd40443=_0x1c4964;super[_0xd40443(0xf8)](),this[_0xd40443(0xe2)]();}async[_0x1c4964(0xd1)](){const _0x1a4d8a=_0x1c4964;await this[_0x1a4d8a(0xdc)][_0x1a4d8a(0xc6)](0x0)[_0x1a4d8a(0xd1)](),super[_0x1a4d8a(0xd1)]();}[_0x1c4964(0xe8)](){const _0x4defc6=_0x1c4964;this[_0x4defc6(0xc0)]||(this[_0x4defc6(0xc0)]=!0x0,this[_0x4defc6(0xdc)][_0x4defc6(0xe7)](0x0)[_0x4defc6(0xd1)](),this[_0x4defc6(0xdc)][_0x4defc6(0xbc)](this[_0x4defc6(0xe6)]()));}[_0x1c4964(0xd2)](){const _0x5d0304=_0x1c4964;this[_0x5d0304(0xc0)]&&(this[_0x5d0304(0xc0)]=!0x1,this[_0x5d0304(0xdc)][_0x5d0304(0xe7)](0x0)[_0x5d0304(0xd1)](),this[_0x5d0304(0xdc)][_0x5d0304(0xbc)](this[_0x5d0304(0xb6)]()));}[_0x1c4964(0xb8)](){const _0x4aad56=_0x1c4964;return _0x4aad56(0xef)===this[_0x4aad56(0x100)][_0x4aad56(0xcd)][_0x4aad56(0xd3)][_0x4aad56(0xae)]?_0x579dc2(this[_0x4aad56(0xf5)],_0x4aad56(0xea)):_0x579dc2(this[_0x4aad56(0xf5)],_0x4aad56(0xfa));}[_0x1c4964(0xe9)](){const _0x22caba=_0x1c4964;return this[_0x22caba(0x100)][_0x22caba(0xf0)]?_0x22caba(0xef)===this[_0x22caba(0x100)][_0x22caba(0xcd)][_0x22caba(0xd3)][_0x22caba(0xae)]?_0x579dc2(this[_0x22caba(0xf5)],_0x22caba(0xfd),this[_0x22caba(0x100)][_0x22caba(0xbe)][_0x22caba(0xac)]):_0x579dc2(this[_0x22caba(0xf5)],_0x22caba(0xf1),this[_0x22caba(0x100)][_0x22caba(0xbe)][_0x22caba(0xac)]):null;}[_0x1c4964(0xb6)](){const _0x9b0df1=_0x1c4964,_0x459233=new _0x597b1c(this[_0x9b0df1(0xf5)]);return _0x459233[_0x9b0df1(0xd9)](_0x9b0df1(0xaf))['to'](this[_0x9b0df1(0x100)],_0x9b0df1(0xaf),this,_0x9b0df1(0xba),(_0x477d26,_0x1b54ed)=>_0x1b54ed?_0x50ec8f(_0x477d26,{'limit':this[_0x9b0df1(0xe4)][_0x9b0df1(0xf6)]}):_0x477d26),_0x459233;}[_0x1c4964(0xe6)](){const _0x274227=_0x1c4964;this[_0x274227(0xe4)][_0x274227(0xb3)]||(this[_0x274227(0xe4)][_0x274227(0xb3)]={}),this[_0x274227(0xe4)][_0x274227(0xb3)][_0x274227(0xc1)]=this[_0x274227(0x100)][_0x274227(0xaf)];const _0x18d481=new _0x2ce85e(this[_0x274227(0xf5)],this[_0x274227(0xe4)][_0x274227(0xb3)]);return _0x18d481[_0x274227(0xec)]=this[_0x274227(0x100)][_0x274227(0xaf)],_0x18d481[_0x274227(0xd9)](_0x274227(0xd7))['to'](this[_0x274227(0x100)],_0x274227(0xcc)),_0x18d481[_0x274227(0xa6)]=_0x579dc2(this[_0x274227(0xf5)],_0x274227(0xe5)),_0x18d481['on'](_0x274227(0xb0),(_0x3475a5,_0x37019c)=>{const _0x13d4d6=_0x274227;this[_0x13d4d6(0xe3)](_0x13d4d6(0xee),this[_0x13d4d6(0x100)]['id'],_0x37019c),this[_0x13d4d6(0xd2)](),this[_0x13d4d6(0xd4)]();}),_0x18d481['on'](_0x274227(0xda),()=>{const _0x148176=_0x274227;this[_0x148176(0xd2)](),this[_0x148176(0xd4)]();}),_0x18d481[_0x274227(0xc7)](_0x274227(0xb7),()=>{const _0x18fcd9=_0x274227;_0x18d481[_0x18fcd9(0xd4)]();}),_0x18d481[_0x274227(0xb5)](),_0x18d481[_0x274227(0xc9)](_0x274227(0xb7))['to'](this),_0x18d481[_0x274227(0xc9)](_0x274227(0xe0))['to'](this),_0x18d481;}[_0x1c4964(0xe2)](){const _0x5ac50d=_0x1c4964,_0x56725a=this[_0x5ac50d(0xab)];this[_0x5ac50d(0xad)][_0x5ac50d(0xc4)](_0x56725a);for(const _0x786fc9 of this[_0x5ac50d(0xb9)])this[_0x5ac50d(0xd0)][_0x5ac50d(0xbc)](_0x786fc9[_0x5ac50d(0xab)]),this[_0x5ac50d(0xad)][_0x5ac50d(0xc4)](_0x786fc9[_0x5ac50d(0xab)]);this[_0x5ac50d(0xb9)]['on'](_0x5ac50d(0xa9),(_0x29661a,_0xa537a3)=>{const _0x14458e=_0x5ac50d;for(const _0x4608a4 of _0xa537a3[_0x14458e(0xdb)])this[_0x14458e(0xd0)][_0x14458e(0xe7)](_0x4608a4[_0x14458e(0xab)]),this[_0x14458e(0xad)][_0x14458e(0xb1)](_0x4608a4[_0x14458e(0xab)]);for(const _0x3222d2 of _0xa537a3[_0x14458e(0xb2)])this[_0x14458e(0xd0)][_0x14458e(0xbc)](_0x3222d2[_0x14458e(0xab)]),this[_0x14458e(0xad)][_0x14458e(0xc4)](_0x3222d2[_0x14458e(0xab)]);}),this[_0x5ac50d(0xad)][_0x5ac50d(0xbf)](_0x5ac50d(0xfe),(_0x34f1b3,_0x234ebf)=>{const _0x27d899=_0x5ac50d;_0x56725a===_0x34f1b3[_0x27d899(0xd8)]&&(this[_0x27d899(0xf4)][_0x27d899(0xfb)](),_0x234ebf());}),this[_0x5ac50d(0xad)][_0x5ac50d(0xbf)](_0x5ac50d(0xdd),(_0xc1d25a,_0x24af8e)=>{const _0x2bb9d5=_0x5ac50d;_0x56725a!==_0xc1d25a[_0x2bb9d5(0xd8)]&&(this[_0x2bb9d5(0xd4)](),_0x24af8e());});}}
23
+ const _0x1d2737=_0x118d;(function(_0x3442bb,_0x28cb75){const _0x5c40fc=_0x118d,_0x5d0fcc=_0x3442bb();while(!![]){try{const _0x2b6f36=parseInt(_0x5c40fc(0x1bd))/0x1+parseInt(_0x5c40fc(0x1ba))/0x2+-parseInt(_0x5c40fc(0x1a3))/0x3+parseInt(_0x5c40fc(0x1af))/0x4*(parseInt(_0x5c40fc(0x1bc))/0x5)+parseInt(_0x5c40fc(0x1a4))/0x6*(-parseInt(_0x5c40fc(0x17a))/0x7)+parseInt(_0x5c40fc(0x175))/0x8*(parseInt(_0x5c40fc(0x19f))/0x9)+parseInt(_0x5c40fc(0x1cc))/0xa*(parseInt(_0x5c40fc(0x17f))/0xb);if(_0x2b6f36===_0x28cb75)break;else _0x5d0fcc['push'](_0x5d0fcc['shift']());}catch(_0x5f1c81){_0x5d0fcc['push'](_0x5d0fcc['shift']());}}}(_0x702a,0xab473));import{View as _0x222f85,ViewCollection as _0x259b7a,FocusCycler as _0x1ab683}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1d2759,KeystrokeHandler as _0x331249}from'ckeditor5/src/utils.js';function _0x702a(){const _0x170c34=['focusables','focusCycler','body','isSystemComment','visibleView','EXTERNAL_AVATAR','content','isCollapsed','importWord','ariaDescriptionView','900290ftLjSU','EXTERNAL_IMPORT_WORD_COMMENT','78330MMyDdj','790642lmAYNZ','editorConfig','text/html','initialData','COMMENT_ARIA_LABEL','maxCommentCharsWhenCollapsed','updateComment','createCollection','formatDateTime','fire','expand','author','textContent','change','element','12770hjKRSu','remove','disabledSubmit','destroy','COMMENT_THREAD_DESCRIPTION','96iFrTRI','submit','ariaLabel','listenTo','stopListening','7yfcily','get','editorDestroyed','source','_createCommentInputView','7128uFsaJZ','once','_config','render','EXTERNAL_COMMENT','tab','Save','set','removed','added','target','bind','getUserViewNotificationText','@external','name','locale','editorReady','enter','submitLabel','esc','focusFirst','keystrokes','delegate','value','switchToDisplayMode','_setupKeyboardNavigation','_createCommentContentView','add','isEditMode','attributes','focus','isExternal','8379LUZTin','parseFromString','authoredAt','isReadOnly','2979033ihIIpV','5035218ekQSHo','getExternalCommentNote','collapse','createEditor','switchToEditMode','creator','cancel','_model','EXTERNAL_IMPORT_WORD_AVATAR','focusTracker','shift+tab','116YRIqIn'];_0x702a=function(){return _0x170c34;};return _0x702a();}import{AriaDescriptionView as _0x158976,trimHtml as _0x4dd41d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x118d(_0x247b4f,_0x3c5ac5){const _0x702ae=_0x702a();return _0x118d=function(_0x118d4e,_0x34c6da){_0x118d4e=_0x118d4e-0x171;let _0x383cbc=_0x702ae[_0x118d4e];return _0x383cbc;},_0x118d(_0x247b4f,_0x3c5ac5);}import{CommentContentView as _0x3935ca}from'./commentcontentview.js';import{CommentInputView as _0x187bd4}from'./commentinputview.js';import{getTranslation as _0x39e173}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x222f85{[_0x1d2737(0x1b4)];[_0x1d2737(0x1b9)];[_0x1d2737(0x1b0)];[_0x1d2737(0x1ad)];[_0x1d2737(0x194)];[_0x1d2737(0x1b1)];[_0x1d2737(0x1ab)];[_0x1d2737(0x181)];constructor(_0x2a7d46,_0x1f84b8,_0x5aebab){const _0x3f5968=_0x1d2737;super(_0x2a7d46),this[_0x3f5968(0x1ab)]=_0x1f84b8,this[_0x3f5968(0x181)]=_0x5aebab,this[_0x3f5968(0x1b3)]=!!this[_0x3f5968(0x181)][_0x3f5968(0x1b3)],this[_0x3f5968(0x186)](_0x3f5968(0x19b),!0x1),this[_0x3f5968(0x186)](_0x3f5968(0x1b7),!0x0),this[_0x3f5968(0x18a)](_0x3f5968(0x177))['to'](_0x1f84b8,_0x3f5968(0x1b6),_0x1f84b8,_0x3f5968(0x1a1),(_0x40ecb6,_0x7b4329)=>_0x39e173(_0x2a7d46,_0x3f5968(0x1c1),[_0x1f84b8[_0x3f5968(0x1c8)][_0x3f5968(0x18d)],_0x5aebab[_0x3f5968(0x1c5)](_0x7b4329),new DOMParser()[_0x3f5968(0x1a0)](_0x40ecb6,_0x3f5968(0x1bf))[_0x3f5968(0x1b2)][_0x3f5968(0x1c9)],_0x1f84b8[_0x3f5968(0x19e)]?this[_0x3f5968(0x1a5)]():''])),this[_0x3f5968(0x1b9)]=new _0x158976(_0x2a7d46,_0x39e173(_0x2a7d46,_0x3f5968(0x174))),this[_0x3f5968(0x1b4)]=this[_0x3f5968(0x1c4)](),this[_0x3f5968(0x1b4)][_0x3f5968(0x19a)](this[_0x3f5968(0x199)]()),this[_0x3f5968(0x1b0)]=new _0x259b7a(),this[_0x3f5968(0x1ad)]=new _0x1d2759(),this[_0x3f5968(0x194)]=new _0x331249(),this[_0x3f5968(0x1b1)]=new _0x1ab683({'focusables':this[_0x3f5968(0x1b0)],'focusTracker':this[_0x3f5968(0x1ad)],'keystrokeHandler':this[_0x3f5968(0x194)],'keystrokeHandlerOptions':{'filter':_0x437144=>_0x437144[_0x3f5968(0x189)]!==this[_0x3f5968(0x1cb)]},'actions':{'focusPrevious':_0x3f5968(0x1ae),'focusNext':_0x3f5968(0x184)}});}[_0x1d2737(0x1c7)](){const _0x256fbb=_0x1d2737;this[_0x256fbb(0x1b7)]=!0x1;}[_0x1d2737(0x1a6)](){const _0x17fc5a=_0x1d2737;this[_0x17fc5a(0x19b)]||(this[_0x17fc5a(0x1b7)]=!0x0);}[_0x1d2737(0x19d)](){const _0x5cfc22=_0x1d2737;this[_0x5cfc22(0x1cb)][_0x5cfc22(0x19d)]();}[_0x1d2737(0x182)](){const _0x693f5a=_0x1d2737;super[_0x693f5a(0x182)](),this[_0x693f5a(0x198)]();}async[_0x1d2737(0x173)](){const _0x25436a=_0x1d2737;await this[_0x25436a(0x1b4)][_0x25436a(0x17b)](0x0)[_0x25436a(0x173)](),super[_0x25436a(0x173)]();}[_0x1d2737(0x1a8)](){const _0x3a0614=_0x1d2737;this[_0x3a0614(0x19b)]||(this[_0x3a0614(0x19b)]=!0x0,this[_0x3a0614(0x1b4)][_0x3a0614(0x171)](0x0)[_0x3a0614(0x173)](),this[_0x3a0614(0x1b4)][_0x3a0614(0x19a)](this[_0x3a0614(0x17e)]()));}[_0x1d2737(0x197)](){const _0x335f29=_0x1d2737;this[_0x335f29(0x19b)]&&(this[_0x335f29(0x19b)]=!0x1,this[_0x335f29(0x1b4)][_0x335f29(0x171)](0x0)[_0x335f29(0x173)](),this[_0x335f29(0x1b4)][_0x335f29(0x19a)](this[_0x335f29(0x199)]()));}[_0x1d2737(0x1a5)](){const _0x375efd=_0x1d2737;return _0x375efd(0x1b8)===this[_0x375efd(0x1ab)][_0x375efd(0x19c)][_0x375efd(0x18c)][_0x375efd(0x17d)]?_0x39e173(this[_0x375efd(0x18e)],_0x375efd(0x1bb)):_0x39e173(this[_0x375efd(0x18e)],_0x375efd(0x183));}[_0x1d2737(0x18b)](){const _0x513d84=_0x1d2737;return this[_0x513d84(0x1ab)][_0x513d84(0x19e)]?_0x513d84(0x1b8)===this[_0x513d84(0x1ab)][_0x513d84(0x19c)][_0x513d84(0x18c)][_0x513d84(0x17d)]?_0x39e173(this[_0x513d84(0x18e)],_0x513d84(0x1ac),this[_0x513d84(0x1ab)][_0x513d84(0x1a9)][_0x513d84(0x18d)]):_0x39e173(this[_0x513d84(0x18e)],_0x513d84(0x1b5),this[_0x513d84(0x1ab)][_0x513d84(0x1a9)][_0x513d84(0x18d)]):null;}[_0x1d2737(0x199)](){const _0x5eee9a=_0x1d2737,_0x5281a7=new _0x3935ca(this[_0x5eee9a(0x18e)]);return _0x5281a7[_0x5eee9a(0x18a)](_0x5eee9a(0x1b6))['to'](this[_0x5eee9a(0x1ab)],_0x5eee9a(0x1b6),this,_0x5eee9a(0x1b7),(_0x28f150,_0x16201a)=>_0x16201a?_0x4dd41d(_0x28f150,{'limit':this[_0x5eee9a(0x181)][_0x5eee9a(0x1c2)]}):_0x28f150),_0x5281a7;}[_0x1d2737(0x17e)](){const _0x26d9e8=_0x1d2737;this[_0x26d9e8(0x181)][_0x26d9e8(0x1be)]||(this[_0x26d9e8(0x181)][_0x26d9e8(0x1be)]={}),this[_0x26d9e8(0x181)][_0x26d9e8(0x1be)][_0x26d9e8(0x1c0)]=this[_0x26d9e8(0x1ab)][_0x26d9e8(0x1b6)];const _0x5503d8=new _0x187bd4(this[_0x26d9e8(0x18e)],this[_0x26d9e8(0x181)][_0x26d9e8(0x1be)]);return _0x5503d8[_0x26d9e8(0x196)]=this[_0x26d9e8(0x1ab)][_0x26d9e8(0x1b6)],_0x5503d8[_0x26d9e8(0x18a)](_0x26d9e8(0x172))['to'](this[_0x26d9e8(0x1ab)],_0x26d9e8(0x1a2)),_0x5503d8[_0x26d9e8(0x191)]=_0x39e173(this[_0x26d9e8(0x18e)],_0x26d9e8(0x185)),_0x5503d8['on'](_0x26d9e8(0x176),(_0x2ac374,_0x3a308c)=>{const _0x34c612=_0x26d9e8;this[_0x34c612(0x1c6)](_0x34c612(0x1c3),this[_0x34c612(0x1ab)]['id'],_0x3a308c),this[_0x34c612(0x197)](),this[_0x34c612(0x19d)]();}),_0x5503d8['on'](_0x26d9e8(0x1aa),()=>{const _0x3a9a19=_0x26d9e8;this[_0x3a9a19(0x197)](),this[_0x3a9a19(0x19d)]();}),_0x5503d8[_0x26d9e8(0x180)](_0x26d9e8(0x18f),()=>{const _0x25d950=_0x26d9e8;_0x5503d8[_0x25d950(0x19d)]();}),_0x5503d8[_0x26d9e8(0x1a7)](),_0x5503d8[_0x26d9e8(0x195)](_0x26d9e8(0x18f))['to'](this),_0x5503d8[_0x26d9e8(0x195)](_0x26d9e8(0x17c))['to'](this),_0x5503d8;}[_0x1d2737(0x198)](){const _0x2bc904=_0x1d2737,_0x27c943=this[_0x2bc904(0x1cb)];this[_0x2bc904(0x194)][_0x2bc904(0x178)](_0x27c943);for(const _0x33f472 of this[_0x2bc904(0x1b0)])this[_0x2bc904(0x1ad)][_0x2bc904(0x19a)](_0x33f472[_0x2bc904(0x1cb)]),this[_0x2bc904(0x194)][_0x2bc904(0x178)](_0x33f472[_0x2bc904(0x1cb)]);this[_0x2bc904(0x1b0)]['on'](_0x2bc904(0x1ca),(_0x2b3739,_0x58a5b7)=>{const _0x7ba8a5=_0x2bc904;for(const _0x37f5d6 of _0x58a5b7[_0x7ba8a5(0x187)])this[_0x7ba8a5(0x1ad)][_0x7ba8a5(0x171)](_0x37f5d6[_0x7ba8a5(0x1cb)]),this[_0x7ba8a5(0x194)][_0x7ba8a5(0x179)](_0x37f5d6[_0x7ba8a5(0x1cb)]);for(const _0x3f9034 of _0x58a5b7[_0x7ba8a5(0x188)])this[_0x7ba8a5(0x1ad)][_0x7ba8a5(0x19a)](_0x3f9034[_0x7ba8a5(0x1cb)]),this[_0x7ba8a5(0x194)][_0x7ba8a5(0x178)](_0x3f9034[_0x7ba8a5(0x1cb)]);}),this[_0x2bc904(0x194)][_0x2bc904(0x186)](_0x2bc904(0x190),(_0x474b2e,_0x313445)=>{const _0x277d3c=_0x2bc904;_0x27c943===_0x474b2e[_0x277d3c(0x189)]&&(this[_0x277d3c(0x1b1)][_0x277d3c(0x193)](),_0x313445());}),this[_0x2bc904(0x194)][_0x2bc904(0x186)](_0x2bc904(0x192),(_0x17c608,_0x22c895)=>{const _0x39bf3e=_0x2bc904;_0x27c943!==_0x17c608[_0x39bf3e(0x189)]&&(this[_0x39bf3e(0x19d)](),_0x22c895());});}}