@ckeditor/ckeditor5-comments 47.4.0-alpha.0 → 47.4.0-alpha.1

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 _0x1c4996=_0x1247;(function(_0x330e7a,_0x2746c0){const _0x23ee0e=_0x1247,_0x531a64=_0x330e7a();while(!![]){try{const _0x1351e7=parseInt(_0x23ee0e(0x132))/0x1+parseInt(_0x23ee0e(0x141))/0x2+-parseInt(_0x23ee0e(0x93))/0x3*(-parseInt(_0x23ee0e(0x9a))/0x4)+parseInt(_0x23ee0e(0x10b))/0x5*(-parseInt(_0x23ee0e(0x10c))/0x6)+-parseInt(_0x23ee0e(0x140))/0x7*(-parseInt(_0x23ee0e(0xfd))/0x8)+-parseInt(_0x23ee0e(0x14b))/0x9*(-parseInt(_0x23ee0e(0xc6))/0xa)+parseInt(_0x23ee0e(0xc9))/0xb*(-parseInt(_0x23ee0e(0x10e))/0xc);if(_0x1351e7===_0x2746c0)break;else _0x531a64['push'](_0x531a64['shift']());}catch(_0x21667e){_0x531a64['push'](_0x531a64['shift']());}}}(_0x2781,0x808e3));import{PendingActions as _0x3a0502,ContextPlugin as _0x2e0ca,Editor as _0x4b59da}from'ckeditor5/src/core.js';import{Collection as _0x48660a,uid as _0x4ffbfe,CKEditorError as _0x5a1a0a,ObservableMixin as _0x58076f}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x251d54,hashObject as _0x26b7e8,Users as _0x2c9a13}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x395a9e,isEqual as _0x379d69,set as _0x5f36bb,unset as _0x22dd39}from'es-toolkit/compat';import{CommentThreadController as _0x58a5e9}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x2d137f}from'./ui/view/commentthreadview.js';import{CommentView as _0x3d8801}from'./ui/view/commentview.js';import{getTranslation as _0x303fe9}from'../utils/common-translations.js';import'../../theme/comment.css';function _0x1247(_0x13f972,_0x70be76){const _0x27816e=_0x2781();return _0x1247=function(_0x1247d3,_0xbeadc8){_0x1247d3=_0x1247d3-0x87;let _0x78b869=_0x27816e[_0x1247d3];return _0x78b869;},_0x1247(_0x13f972,_0x70be76);}import'../../theme/commentthread.css';function _0x2781(){const _0x1ef0ba=['modifyAll','2175632VyJVVS','comments.maxCommentCharsWhenCollapsed','switchReadOnly','_threadToController','deactivateAll','_reopenCommentThread','getCommentThreads','error','commentUpdated','commentsrepository-fetch-comment-thread','commentsrepository-remove-missing-comment-thread','unlinkedAt','body','removeCommentThread','38635AAHWnJ','786pIPgVr','textContent','9778380FtYPSs','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','isOfficialPlugin','commentsrepository-update-comment-missing-comment-thread','isAttached','commentsrepository-remove-comment-thread-internal-error','createCommentThreadController','commentsrepository-add-comment-thread-internal-error','type','commentsrepository-update-comment-invalid-content','comments.CommentThreadView','isPremiumPlugin','_updateCommentThread','focusTracker','isDirty','highest','CommentThreadView','listenTo','add','PendingActions','commentsrepository-add-comment-internal-error','_findOptimalIndex','_removeComment','commentsrepository-remove-comment-missing-comment-thread','addUser','isSubmitted','commentId','channelId','commentsrepository-active-not-attached','getIndex','commentsrepository-get-comment-invalid-id','_removeCommentThread','commentsrepository-resolve-comment-thread-internal-error','comments.CommentView','archivedAt','getCommentThreadForAnnotation','388928qRQmFW','CommentView','external:','commentsrepository-update-comment-thread-internal-error','map','creator','refreshVisibility','comments.copyMarkers','_update','resolvedAt','setActiveCommentThread','_addComment','reduce','setPermissions','7OoWzrh','1181158jtnwLy','commentsrepository-reopen-comment-thread','write','from','_updateComment','content','commentsrepository-missing-target','comments','_add','fire','9jZuYtj','_unbindEditors','comment','commentsrepository-invalid-comment-thread-id','plugins','commentsrepository-resolved-comment-thread','commentsrepository-add-comment-to-missing-comment-thread','function','innerHTML','_hasTargetInContent','once','CommentsRepository','isReadOnly','set','toJSON','_readOnlyChannels','commentsrepository-update-comment-internal-error','getCommentThread','admin','noChannel','commentsrepository-add-comment-user-not-exists','view','_remove','commentsrepository-duplicated-comment-thread-id','PENDING_ACTION_COMMENT_THREAD','stopListening','getUser','length','trim','threadId','_permissions','get','reopenCommentThread','init','commentsrepository-remove-comment-internal-error','getByInnerView','adapter','commentsrepository-invalid-commentid','licenseKey','innerView','change:_permissions','pluginName','authorName','string','change:authoredAt','activeCommentThread','getTime','comments.editorConfig','catch','div','9585loULkn','commentsrepository-active-missing-comment-thread','_attachCommentThread','_resolveCommentThread','_isSubmitted','_removeActiveAnnotation','commentsrepository-attach-missing-comment-thread','1308vFbrsO','@external','update','isFromAdapter','destroy','isResolved','_addCommentThread','setContext','_viewToController','editorDestroyed','isVisible','activate','hasCommentThread','commentsrepository-missing-thread-and-adapter-method','then','getComment','_createCommentThreadView','locale','commentsrepository-update-missing-comment','isExternal','requires','authoredAt','change:isDirty','updateComment','config','context','setUnlinkedAt','attributes','find','comments.maxCommentsWhenCollapsed','resolveCommentThread','_getExternalAuthor','createElement','_threads','resolvedBy','_repository','comments.maxThreadTotalWeight','change:_readOnlyChannels','filter','model','bodyCollectionContainer','focusableElements','removeComment','openNewCommentThread','574390RXBzVT','addComment','define','11lKWYYU','isActive','remove','_detachCommentThread','removeAttribute','isResolvable','author','submit','commentsrepository-invalid-comment-authorid','escape','getAnnotationForCommentThread','commentInputView','isRemovable','canComment','_bindAnnotationToEditors','resolve','bind','commentsrepository-invalid-comment-content','warn','addCommentThread','change:activeAnnotations','_createNewComment','assign','reopen','lowest','commentsrepository-missing-comment-thread','fetchCommentThread','_isAttached','updateCommentThread','commentsrepository-remove-missing-comment','_updateActiveAnnotation','createdAt','has','commentThreadInputView','commentsrepository-adapter-already-set','commentsrepository-reopen-comment-thread-internal-error','submitCommentThread','values','commentsListView','push','weight','setAttribute','focus','max','isEditable','delete','_submitCommentThread','getPermissions','attachTo','_adapter','editorReady'];_0x2781=function(){return _0x1ef0ba;};return _0x2781();}import'../../theme/commentinput.css';import{AnnotationView as _0x3d0025}from'../annotations/view/annotationview.js';import{Annotation as _0x2dad53}from'../annotations/annotation.js';import{Annotations as _0x3a381e}from'../annotations/annotations.js';const _t=Symbol(_0x1c4996(0x15e)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2e0ca{[_0x1c4996(0xbb)];[_0x1c4996(0x100)];[_0x1c4996(0xa2)];static get[_0x1c4996(0xae)](){return[_0x3a381e,_0x3a0502,_0x2c9a13];}static get[_0x1c4996(0x8a)](){const _0x26a83b=_0x1c4996;return _0x26a83b(0x156);}static get[_0x1c4996(0x110)](){return!0x0;}static get[_0x1c4996(0x119)](){return!0x0;}constructor(_0x327405){const _0x2cd67e=_0x1c4996;super(_0x327405),this[_0x2cd67e(0xbb)]=new Map(),this[_0x2cd67e(0x100)]=new Map(),this[_0x2cd67e(0xa2)]=new Map(),this[_0x2cd67e(0x158)](_0x2cd67e(0x15a),new Set()),this[_0x2cd67e(0x158)](_0x2cd67e(0x169),new Map());const _0x3d69a6=this[_0x2cd67e(0xb3)][_0x2cd67e(0xb2)];_0x3d69a6[_0x2cd67e(0xc8)](_0x2cd67e(0xb7),0x2),_0x3d69a6[_0x2cd67e(0xc8)](_0x2cd67e(0xbe),0x1f4),_0x3d69a6[_0x2cd67e(0xc8)](_0x2cd67e(0xfe),0x8c),_0x3d69a6[_0x2cd67e(0xc8)](_0x2cd67e(0x118),_0x2d137f),_0x3d69a6[_0x2cd67e(0xc8)](_0x2cd67e(0x12f),_0x3d8801),_0x3d69a6[_0x2cd67e(0x16a)](_0x2cd67e(0x90))||console[_0x2cd67e(0xdb)](_0x2cd67e(0x10f));}[_0x1c4996(0x16c)](){const _0x29be5d=_0x1c4996,_0xc5e468=this[_0x29be5d(0xb3)][_0x29be5d(0x14f)][_0x29be5d(0x16a)](_0x3a381e);this[_0x29be5d(0x158)](_0x29be5d(0x8e),null),this['on'](_0x29be5d(0xdc),(_0x3c0a8e,_0x45f9ae)=>this[_0x29be5d(0xa0)](_0x45f9ae)),this['on'](_0x29be5d(0xed),(_0x55c48d,_0x4475f5)=>this[_0x29be5d(0xf7)](_0x4475f5)),this['on'](_0x29be5d(0xb8),(_0x4eef87,_0x3eb0ed)=>this[_0x29be5d(0x96)](_0x3eb0ed)),this['on'](_0x29be5d(0xb8),(_0x3bc268,_0x503dd4)=>this[_0x29be5d(0xe7)](_0x503dd4),{'priority':_0x29be5d(0xe1)}),this['on'](_0x29be5d(0x16b),(_0x3313b4,_0x1193e6)=>this[_0x29be5d(0x102)](_0x1193e6)),this['on'](_0x29be5d(0x16b),(_0x340ef7,_0x483002)=>this[_0x29be5d(0xe7)](_0x483002),{'priority':_0x29be5d(0xe1)}),this['on'](_0x29be5d(0x10a),(_0x248c99,_0x380dd5)=>this[_0x29be5d(0x12d)](_0x380dd5)),this['on'](_0x29be5d(0xe5),(_0x5af7e5,_0x48ba6b)=>this[_0x29be5d(0x11a)](_0x48ba6b)),this['on'](_0x29be5d(0xe5),(_0x4041d0,_0x2cba5e)=>this[_0x29be5d(0xe7)](_0x2cba5e),{'priority':_0x29be5d(0xe1)}),this['on'](_0x29be5d(0xc7),(_0x14b62f,_0x5503c2)=>this[_0x29be5d(0x13d)](_0x5503c2)),this['on'](_0x29be5d(0xb1),(_0x45b2d6,_0x151999)=>this[_0x29be5d(0x145)](_0x151999)),this['on'](_0x29be5d(0xc4),(_0x291aab,_0x344024)=>this[_0x29be5d(0x124)](_0x344024)),this['on'](_0x29be5d(0xc7),(_0x3d7171,{threadId:_0x53e49e,isFromAdapter:_0x39a047})=>{const _0x3978b7=_0x29be5d;if(_0x39a047)return;const _0x571eec=this[_0x3978b7(0x15c)](_0x53e49e),_0x2cd5a5=_0x571eec&&this[_0x3978b7(0x100)][_0x3978b7(0x16a)](_0x571eec);_0x2cd5a5&&_0x2cd5a5[_0x3978b7(0x160)][_0x3978b7(0xef)][_0x3978b7(0xf3)](-0x1);},{'priority':_0x29be5d(0xe1)}),this[_0x29be5d(0x11f)](_0xc5e468,_0x29be5d(0xdd),(_0x2b79dd,_0x229d93,_0x163d2b)=>{const _0x3840ed=_0x29be5d,_0x46aed3=Array[_0x3840ed(0x144)](_0x163d2b)[_0x3840ed(0x136)](_0xfde5be=>this[_0x3840ed(0xa2)][_0x3840ed(0x16a)](_0xfde5be[_0x3840ed(0x88)]))[_0x3840ed(0xc0)](Boolean)[0x0];this[_0x3840ed(0x8e)]=_0x46aed3?_0x46aed3[_0x3840ed(0xc1)]:null;});}set[_0x1c4996(0x16f)](_0x803bbe){const _0x329712=_0x1c4996;if(this[_0x329712(0xfa)])throw new _0x5a1a0a(_0x329712(0xeb));this[_0x329712(0xfa)]=_0x803bbe;}get[_0x1c4996(0x16f)](){const _0x1381f4=_0x1c4996;return this[_0x1381f4(0xfa)];}[_0x1c4996(0xdc)]({channelId:_0x34e77a=_t,threadId:_0x51107c=_0x4ffbfe(),comments:_0x4741ef=[],unlinkedAt:_0x54e720=null,resolvedAt:_0x38216c=null,resolvedBy:_0x5ce5b1=null,target:_0x43bb19=null,context:_0x49aba8=null,attributes:_0x5ab10c={},isResolvable:_0x23669e=!0x0,isSubmitted:_0x54b248=!0x1,isFromAdapter:_0x2c16ed=!0x1}={}){const _0x2c0676=_0x1c4996;return this[_0x2c0676(0x14a)](Nt(_0x2c0676(0xdc),_0x34e77a),{'channelId':_0x34e77a,'threadId':_0x51107c,'comments':_0x4741ef,'unlinkedAt':_0x54e720,'resolvedAt':_0x38216c,'resolvedBy':_0x5ce5b1,'target':_0x43bb19,'context':_0x49aba8,'attributes':_0x5ab10c,'isFromAdapter':_0x2c16ed,'isResolvable':_0x23669e,'isSubmitted':_0x54b248}),this[_0x2c0676(0x15c)](_0x51107c);}[_0x1c4996(0xc5)]({channelId:_0x408a11=_t,threadId:_0x1faefb=_0x4ffbfe(),target:_0x58f19e,context:_0x563b63=null,isResolvable:_0x403870=!0x0}){const _0x577cd0=_0x1c4996;if(this[_0x577cd0(0x15a)][_0x577cd0(0xe9)](_0x408a11)||this[_0x577cd0(0x15a)][_0x577cd0(0xe9)](void 0x0))return null;if(!_0x58f19e)throw new _0x5a1a0a(_0x577cd0(0x147));const _0x18f3e1=this[_0x577cd0(0xdc)]({'channelId':_0x408a11,'threadId':_0x1faefb,'target':_0x58f19e,'context':_0x563b63,'isResolvable':_0x403870});if(!_0x18f3e1)return null;const _0x2e8c8b=this[_0x577cd0(0x100)][_0x577cd0(0x16a)](_0x18f3e1),_0x428b70=_0x2e8c8b[_0x577cd0(0x160)][_0x577cd0(0xea)][_0x577cd0(0xd4)],_0x24309f=this[_0x577cd0(0xb3)][_0x577cd0(0x14f)][_0x577cd0(0x16a)](_0x3a381e),_0x4ad525=_0x24309f[_0x577cd0(0x16e)](_0x2e8c8b[_0x577cd0(0x160)]);return _0x24309f[_0x577cd0(0xa5)](_0x4ad525),_0x428b70[_0x577cd0(0x155)](_0x577cd0(0xfb),()=>_0x428b70[_0x577cd0(0xf3)]()),_0x18f3e1;}[_0x1c4996(0xa6)](_0x595507){const _0x410a3e=_0x1c4996;if(_0x410a3e(0x8c)!=typeof _0x595507)throw new _0x5a1a0a(_0x410a3e(0x14e));return this[_0x410a3e(0xbb)][_0x410a3e(0xe9)](_0x595507);}[_0x1c4996(0xe5)]({channelId:_0x11ba8d=_t,threadId:_0xe9ced2,context:_0x5a0624,unlinkedAt:_0x388e2e,attributes:_0x336a07,isFromAdapter:_0x3e5157=!0x1}){const _0x32131b=_0x1c4996;return this[_0x32131b(0x14a)](Nt(_0x32131b(0xe5),_0x11ba8d),{'channelId':_0x11ba8d,'threadId':_0xe9ced2,'context':_0x5a0624,'unlinkedAt':_0x388e2e,'attributes':_0x336a07,'isFromAdapter':_0x3e5157}),this[_0x32131b(0x15c)](_0xe9ced2);}[_0x1c4996(0x15c)](_0x3444a7){const _0x243fe7=_0x1c4996;if(_0x243fe7(0x8c)!=typeof _0x3444a7)throw new _0x5a1a0a(_0x243fe7(0x14e));return this[_0x243fe7(0xbb)][_0x243fe7(0x16a)](_0x3444a7);}[_0x1c4996(0xe3)]({channelId:_0x1ad139,threadId:_0x328e9f}={}){const _0x2c790f=_0x1c4996,_0x7fb048=this[_0x2c790f(0x15c)](_0x328e9f);if(_0x7fb048)return Promise[_0x2c790f(0xd8)](_0x7fb048);if(!this[_0x2c790f(0x16f)])return Promise[_0x2c790f(0xd8)](void 0x0);if(_0x2c790f(0x152)!=typeof this[_0x2c790f(0x16f)][_0x2c790f(0x15c)])throw new _0x5a1a0a(_0x2c790f(0xa7),this[_0x2c790f(0xb3)]);return this[_0x2c790f(0x16f)][_0x2c790f(0x15c)]({'channelId':_0x1ad139,'threadId':_0x328e9f})[_0x2c790f(0xa8)](_0x475569=>this[_0x2c790f(0xa6)](_0x328e9f)?this[_0x2c790f(0x15c)](_0x328e9f):_0x475569?this[_0x2c790f(0xdc)](Object[_0x2c790f(0xdf)]({'isFromAdapter':!0x0,'channelId':_0x1ad139},_0x475569)):void 0x0)[_0x2c790f(0x91)](_0x2b785f=>{const _0x65cae7=_0x2c790f;throw console[_0x65cae7(0x104)](_0x2b785f),new _0x5a1a0a(_0x65cae7(0x106),this[_0x65cae7(0xb3)]);});}[_0x1c4996(0x103)]({channelId:_0xf34db2,skipNotAttached:_0x2f5d18=!0x1,skipEmpty:_0x497814=!0x1,toJSON:_0xc22b34=!0x1}={}){const _0x5fd93d=_0x1c4996,_0x1331ac=[];for(const _0x34640c of this[_0x5fd93d(0xbb)][_0x5fd93d(0xee)]())_0xf34db2&&_0x34640c[_0x5fd93d(0x129)]!==_0xf34db2||_0x2f5d18&&!_0x34640c[_0x5fd93d(0x112)]||_0x497814&&0x0===_0x34640c[_0x5fd93d(0x166)]||_0x1331ac[_0x5fd93d(0xf0)](_0x34640c);return _0xc22b34?_0x1331ac[_0x5fd93d(0x136)](_0x366af3=>_0x366af3[_0x5fd93d(0x159)]()):_0x1331ac;}[_0x1c4996(0xd3)](_0x4e8c24){const _0x492d63=_0x1c4996,_0x112935=this[_0x492d63(0x100)][_0x492d63(0x16a)](_0x4e8c24);if(!_0x112935)return null;return this[_0x492d63(0xb3)][_0x492d63(0x14f)][_0x492d63(0x16a)](_0x3a381e)[_0x492d63(0x16e)](_0x112935[_0x492d63(0x160)])||null;}[_0x1c4996(0x131)](_0x5e5038){const _0x3ccea6=_0x1c4996,_0x1951db=this[_0x3ccea6(0xa2)][_0x3ccea6(0x16a)](_0x5e5038[_0x3ccea6(0x88)]);return _0x1951db?_0x1951db[_0x3ccea6(0xc1)]:null;}[_0x1c4996(0x13c)](_0x3489c7){const _0x3cc630=_0x1c4996,_0x4f4025=this[_0x3cc630(0xb3)][_0x3cc630(0x14f)][_0x3cc630(0x16a)](_0x3a381e);if(!_0x3489c7)return void(this[_0x3cc630(0x8e)]&&_0x4f4025[_0x3cc630(0x101)]());const _0x13af84=this[_0x3cc630(0x15c)](_0x3489c7);if(!_0x13af84)throw new _0x5a1a0a(_0x3cc630(0x94),null,{'threadId':_0x3489c7});if(!this[_0x3cc630(0x100)][_0x3cc630(0xe9)](_0x13af84))throw new _0x5a1a0a(_0x3cc630(0x12a),null,{'threadId':_0x3489c7});const _0x539901=_0x4f4025[_0x3cc630(0x16e)](this[_0x3cc630(0x100)][_0x3cc630(0x16a)](_0x13af84)[_0x3cc630(0x160)]);_0x4f4025[_0x3cc630(0xa5)](_0x539901);}[_0x1c4996(0xff)](_0x26b1b6,_0x41bc46){const _0x294b61=_0x1c4996;_0x26b1b6?this[_0x294b61(0x15a)][_0x294b61(0x120)](_0x41bc46):this[_0x294b61(0x15a)][_0x294b61(0xf6)](_0x41bc46),this[_0x294b61(0x14a)](_0x294b61(0xbf),_0x294b61(0x15a),this[_0x294b61(0x15a)],this[_0x294b61(0x15a)]);}[_0x1c4996(0x157)](_0x263de6){const _0x49636d=_0x1c4996;return this[_0x49636d(0x15a)][_0x49636d(0xe9)](_0x263de6)||this[_0x49636d(0x15a)][_0x49636d(0xe9)](void 0x0);}[_0x1c4996(0x114)](_0x468069,_0x50a5ce){return new _0x58a5e9(_0x468069,_0x50a5ce);}[_0x1c4996(0x13f)](_0x3ea0fa,_0x37480f=_t){const _0xb9e2a9=_0x1c4996;this[_0xb9e2a9(0x169)][_0xb9e2a9(0x158)](_0x37480f,_0x3ea0fa),this[_0xb9e2a9(0x14a)](_0xb9e2a9(0x89),_0xb9e2a9(0x169),this[_0xb9e2a9(0x169)],this[_0xb9e2a9(0x169)]);}[_0x1c4996(0xf8)](_0x187c4c=_t){const _0x1219c2=_0x1c4996;return this[_0x1219c2(0x169)][_0x1219c2(0xe9)](_0x187c4c)?this[_0x1219c2(0x169)][_0x1219c2(0x16a)](_0x187c4c):bt;}[_0x1c4996(0xa0)]({channelId:_0x4ee245,threadId:_0x5d1a46,comments:_0x3dc91b,unlinkedAt:_0x226a94,resolvedAt:_0x421da4,resolvedBy:_0x4e0e51,target:_0x47b4b7,context:_0x44ef47,attributes:_0xbef713,isFromAdapter:_0x64111a,isResolvable:_0x491c94,isSubmitted:_0x4b6b88}){const _0x1cf373=_0x1c4996;if(_0x1cf373(0x8c)!=typeof _0x5d1a46)throw new _0x5a1a0a(_0x1cf373(0x14e),null,{'threadId':_0x5d1a46});if(this[_0x1cf373(0xa6)](_0x5d1a46))throw new _0x5a1a0a(_0x1cf373(0x162),null,{'threadId':_0x5d1a46});const _0xc3d58a=new CommentThread(this,{'channelId':_0x4ee245,'id':_0x5d1a46,'context':_0x44ef47,'attributes':_0xbef713,'unlinkedAt':_0x226a94,'resolvedAt':_0x421da4,'resolvedBy':_0x4e0e51?this[_0x1cf373(0xb3)][_0x1cf373(0x14f)][_0x1cf373(0x16a)](_0x2c9a13)[_0x1cf373(0x165)](_0x4e0e51):null,'isResolvable':_0x491c94,'isSubmitted':_0x4b6b88||_0x64111a});this[_0x1cf373(0xbb)][_0x1cf373(0x158)](_0x5d1a46,_0xc3d58a);for(const _0x2639b1 of _0x3dc91b)_0xc3d58a[_0x1cf373(0x149)](this[_0x1cf373(0xde)]({'threadId':_0x5d1a46,..._0x2639b1}));return _0x47b4b7&&_0xc3d58a[_0x1cf373(0xf9)](_0x47b4b7),_0x64111a||!_0xc3d58a[_0x1cf373(0x166)]?Promise[_0x1cf373(0xd8)]():this[_0x1cf373(0xf7)]({'channelId':_0x4ee245,'threadId':_0x5d1a46});}[_0x1c4996(0xf7)]({channelId:_0x236da0,threadId:_0x17e4fd}){const _0x1dc401=_0x1c4996;if(!this[_0x1dc401(0xa6)](_0x17e4fd))throw new _0x5a1a0a(_0x1dc401(0xe2),this);const _0x2c1ace=this[_0x1dc401(0x15c)](_0x17e4fd);if(_0x2c1ace[_0x1dc401(0x97)]=!0x0,!this[_0x1dc401(0x16f)]||_0x1dc401(0x152)!=typeof this[_0x1dc401(0x16f)][_0x1dc401(0xdc)])return Promise[_0x1dc401(0xd8)]();const {id:_0x76d2d0,comments:_0x7c6e9e,resolvedAt:_0xd99115,resolvedBy:_0x164860,context:_0x4a0c04,attributes:_0x1048b9}=_0x2c1ace,_0x5d4535=this[_0x1dc401(0xb3)][_0x1dc401(0x14f)][_0x1dc401(0x16a)](_0x1dc401(0x121)),_0x464ba3=_0x5d4535[_0x1dc401(0x120)](_0x303fe9(this[_0x1dc401(0xb3)][_0x1dc401(0xab)],_0x1dc401(0x163)));return this[_0x1dc401(0x16f)][_0x1dc401(0xdc)]({'channelId':_0x236da0,'threadId':_0x76d2d0,'comments':_0x7c6e9e[_0x1dc401(0x136)](_0x469b1f=>_0x469b1f[_0x1dc401(0x159)]()),'resolvedAt':_0xd99115,'resolvedBy':_0x164860?_0x164860['id']:_0x164860,'context':_0x4a0c04,'attributes':_0x1048b9})[_0x1dc401(0xa8)](({comments:_0x1d3d4c})=>{const _0x4972fc=_0x1dc401;_0x5d4535[_0x4972fc(0xcb)](_0x464ba3);for(const _0x5db1e0 of _0x1d3d4c)this[_0x4972fc(0x145)]({'channelId':_0x236da0,'threadId':_0x17e4fd,'commentId':_0x5db1e0[_0x4972fc(0x128)],'createdAt':_0x5db1e0[_0x4972fc(0xe8)],'isFromAdapter':!0x0});})[_0x1dc401(0x91)](_0xb79f10=>{const _0x56e296=_0x1dc401;throw console[_0x56e296(0x104)](_0xb79f10),new _0x5a1a0a(_0x56e296(0x115),this);});}[_0x1c4996(0x95)]({threadId:_0x593bb0,target:_0x2c0f23}){const _0x2ae5bf=_0x1c4996,_0x2e5243=this[_0x2ae5bf(0x15c)](_0x593bb0);if(!_0x2e5243)throw new _0x5a1a0a(_0x2ae5bf(0x99),this);const _0x2aa548=this[_0x2ae5bf(0xb3)][_0x2ae5bf(0x14f)][_0x2ae5bf(0x16a)](_0x2ae5bf(0x121)),_0x401c73=this[_0x2ae5bf(0xb3)][_0x2ae5bf(0x14f)][_0x2ae5bf(0x16a)](_0x3a381e),_0x1e9bfe=this[_0x2ae5bf(0xaa)](_0x2e5243),_0xf36fc5=new _0x58a5e9(_0x2e5243,_0x1e9bfe);let _0x59f055=null;_0x1e9bfe['on'](_0x2ae5bf(0xb0),(_0x577bbe,_0x41091e,_0x59df55)=>{const _0x6b1057=_0x2ae5bf;_0x59df55?_0x59f055=_0x2aa548[_0x6b1057(0x120)](_0x303fe9(this[_0x6b1057(0xb3)][_0x6b1057(0xab)],_0x6b1057(0x163))):_0x59f055&&(_0x2aa548[_0x6b1057(0xcb)](_0x59f055),_0x59f055=null);}),this[_0x2ae5bf(0x100)][_0x2ae5bf(0x158)](_0x2e5243,_0xf36fc5),this[_0x2ae5bf(0xa2)][_0x2ae5bf(0x158)](_0x1e9bfe,_0xf36fc5);const _0x4e1379=new _0x3d0025(this[_0x2ae5bf(0xb3)][_0x2ae5bf(0xab)],_0x1e9bfe);_0x4e1379[_0x2ae5bf(0xd9)](_0x2ae5bf(0x166))['to'](_0x1e9bfe),_0x4e1379[_0x2ae5bf(0xd9)](_0x2ae5bf(0x11c))['to'](_0x1e9bfe,_0x2ae5bf(0x11c),_0x1e9bfe,_0x2ae5bf(0x166),(_0x5959e1,_0x4a911c)=>_0x5959e1||!_0x4a911c),_0x4e1379[_0x2ae5bf(0xd9)](_0x2ae5bf(0xca))['to'](_0x1e9bfe),_0x4e1379[_0x2ae5bf(0x116)]=_0x2ae5bf(0x14d);const _0x3ca094=new _0x2dad53({'view':_0x4e1379,'target':_0x2c0f23,'type':_0x2ae5bf(0x14d),'isVisible':!_0x2e5243[_0x2ae5bf(0x130)]&&!!(_0x2ae5bf(0x152)==typeof _0x2c0f23?_0x2c0f23():_0x2c0f23)});return _0x1e9bfe['on'](_0x2ae5bf(0xd2),()=>{const _0x16fb81=_0x2ae5bf;_0x3ca094[_0x16fb81(0x14a)](_0x16fb81(0xd2));}),this[_0x2ae5bf(0xd7)](_0x1e9bfe,_0x3ca094),_0x401c73[_0x2ae5bf(0x120)](_0x3ca094),_0x3ca094;}[_0x1c4996(0xd7)](_0x22985d,_0x2ae896){const _0x4f37ba=_0x1c4996;this[_0x4f37ba(0x11f)](_0x22985d,_0x4f37ba(0xfb),(_0xe15e31,_0x4e16e7)=>{const _0x2851ea=_0x4f37ba,_0x54a742=_0x4e16e7['ui'][_0x2851ea(0x160)][_0x2851ea(0x109)][_0x2851ea(0xc2)];_0x2ae896[_0x2851ea(0xc3)][_0x2851ea(0x120)](_0x54a742),this[_0x2851ea(0xb3)]instanceof _0x4b59da&&this[_0x2851ea(0xb3)]['ui'][_0x2851ea(0x11b)][_0x2851ea(0x120)](_0x54a742);},{'priority':_0x4f37ba(0x11d)}),this[_0x4f37ba(0x11f)](_0x22985d,_0x4f37ba(0xa3),(_0x51f91a,_0x4b8e17)=>{const _0xeb3762=_0x4f37ba,_0x5c69fe=_0x4b8e17['ui'][_0xeb3762(0x160)][_0xeb3762(0x109)][_0xeb3762(0xc2)];_0x2ae896[_0xeb3762(0xc3)][_0xeb3762(0xe9)](_0x5c69fe)&&_0x2ae896[_0xeb3762(0xc3)][_0xeb3762(0xcb)](_0x5c69fe),this[_0xeb3762(0xb3)]instanceof _0x4b59da&&this[_0xeb3762(0xb3)]['ui'][_0xeb3762(0x11b)][_0xeb3762(0xcb)](_0x5c69fe);});}[_0x1c4996(0x14c)](_0x2468fe){const _0x5447d5=_0x1c4996;this[_0x5447d5(0x164)](_0x2468fe,_0x5447d5(0xfb)),this[_0x5447d5(0x164)](_0x2468fe,_0x5447d5(0xa3));}[_0x1c4996(0xaa)](_0x3ee06c){const _0x7e5999=_0x1c4996,_0xdfad9=this[_0x7e5999(0xb3)][_0x7e5999(0x14f)][_0x7e5999(0x16a)](_0x2c9a13),{config:_0x213fd0,locale:_0x5c9122}=this[_0x7e5999(0xb3)],_0x35e40c=_0x251d54(_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0xab)),_0x5c9122);return new(0x0,(_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0x148)))[(_0x7e5999(0x11e))])(_0x5c9122,_0x3ee06c,_0xdfad9['me'],{'editorConfig':{..._0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0x90)),'licenseKey':this[_0x7e5999(0xb3)][_0x7e5999(0xb2)][_0x7e5999(0x16a)](_0x7e5999(0x87))},'copyMarkers':_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0x139)),'maxCommentsWhenCollapsed':_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0xb7)),'maxThreadTotalWeight':_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0xbe)),'maxCommentCharsWhenCollapsed':_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0xfe)),'formatDateTime':_0x35e40c,'CommentView':_0x213fd0[_0x7e5999(0x16a)](_0x7e5999(0x148))[_0x7e5999(0x133)]});}[_0x1c4996(0x96)]({threadId:_0xae6799,channelId:_0x4c9224,resolvedAt:_0x4e66bb,resolvedBy:_0x2e9260,isFromAdapter:_0x1c45e0}){const _0x8ce996=_0x1c4996;if(!this[_0x8ce996(0xa6)](_0xae6799))throw new _0x5a1a0a(_0x8ce996(0xe2),null,{'threadId':_0xae6799});const _0x4eb11e=this[_0x8ce996(0x15c)](_0xae6799);if(_0x4eb11e[_0x8ce996(0x9f)])throw new _0x5a1a0a(_0x8ce996(0x150),null,{'threadId':_0xae6799});const _0x90dfc5=this[_0x8ce996(0xb3)][_0x8ce996(0x14f)][_0x8ce996(0x16a)](_0x2c9a13);if(_0x4eb11e[_0x8ce996(0xbc)]=_0x90dfc5[_0x8ce996(0x165)](_0x2e9260),_0x4eb11e[_0x8ce996(0x13b)]=_0x4e66bb,_0x1c45e0||!this[_0x8ce996(0x16f)]||_0x8ce996(0x152)!=typeof this[_0x8ce996(0x16f)][_0x8ce996(0xb8)])return Promise[_0x8ce996(0xd8)]();const _0xf132d4=this[_0x8ce996(0xb3)][_0x8ce996(0x14f)][_0x8ce996(0x16a)](_0x8ce996(0x121)),_0x514a0c=_0xf132d4[_0x8ce996(0x120)](_0x303fe9(this[_0x8ce996(0xb3)][_0x8ce996(0xab)],_0x8ce996(0x163)));return this[_0x8ce996(0x16f)][_0x8ce996(0xb8)]({'channelId':_0x4c9224,'threadId':_0xae6799})[_0x8ce996(0xa8)](({resolvedAt:_0x3e1b6f,resolvedBy:_0x4e9d73})=>{const _0x222434=_0x8ce996;_0xf132d4[_0x222434(0xcb)](_0x514a0c),_0x4eb11e[_0x222434(0xbc)]['id']!==_0x4e9d73&&(_0x4eb11e[_0x222434(0xbc)]=_0x90dfc5[_0x222434(0x165)](_0x4e9d73)),_0x4eb11e[_0x222434(0x13b)]=_0x3e1b6f;})[_0x8ce996(0x91)](_0x1c0253=>{const _0x11c664=_0x8ce996;throw console[_0x11c664(0x104)](_0x1c0253),new _0x5a1a0a(_0x11c664(0x12e),this);});}[_0x1c4996(0x102)]({threadId:_0x408f7e,channelId:_0x3ca98b,isFromAdapter:_0x3fe5cb}){const _0x597bf5=_0x1c4996;if(!this[_0x597bf5(0xa6)](_0x408f7e))throw new _0x5a1a0a(_0x597bf5(0xe2),null,{'threadId':_0x408f7e});const _0x904265=this[_0x597bf5(0x15c)](_0x408f7e);if(!_0x904265[_0x597bf5(0x9f)])throw new _0x5a1a0a(_0x597bf5(0x142),null,{'threadId':_0x408f7e});if(_0x904265[_0x597bf5(0xbc)]=null,_0x904265[_0x597bf5(0x13b)]=null,_0x3fe5cb||!this[_0x597bf5(0x16f)]||_0x597bf5(0x152)!=typeof this[_0x597bf5(0x16f)][_0x597bf5(0x16b)])return Promise[_0x597bf5(0xd8)]();const _0x2cb527=this[_0x597bf5(0xb3)][_0x597bf5(0x14f)][_0x597bf5(0x16a)](_0x597bf5(0x121)),_0x6e2782=_0x2cb527[_0x597bf5(0x120)](_0x303fe9(this[_0x597bf5(0xb3)][_0x597bf5(0xab)],_0x597bf5(0x163)));return this[_0x597bf5(0x16f)][_0x597bf5(0x16b)]({'channelId':_0x3ca98b,'threadId':_0x408f7e})[_0x597bf5(0xa8)](()=>_0x2cb527[_0x597bf5(0xcb)](_0x6e2782))[_0x597bf5(0x91)](_0x5a830d=>{const _0x16ed61=_0x597bf5;throw console[_0x16ed61(0x104)](_0x5a830d),new _0x5a1a0a(_0x16ed61(0xec),this);});}[_0x1c4996(0x12d)]({threadId:_0x1a24c5,isFromAdapter:_0x52ff0a}){const _0x5e5e52=_0x1c4996,_0x16f9c9=this[_0x5e5e52(0x15c)](_0x1a24c5);if(!_0x16f9c9)throw new _0x5a1a0a(_0x5e5e52(0x107),this);if(this[_0x5e5e52(0xcc)](_0x1a24c5),this[_0x5e5e52(0xbb)][_0x5e5e52(0xf6)](_0x1a24c5),!_0x16f9c9[_0x5e5e52(0x127)]||_0x52ff0a||!this[_0x5e5e52(0x16f)]||_0x5e5e52(0x152)!=typeof this[_0x5e5e52(0x16f)][_0x5e5e52(0x10a)])return Promise[_0x5e5e52(0xd8)]();const _0x4bf217=this[_0x5e5e52(0xb3)][_0x5e5e52(0x14f)][_0x5e5e52(0x16a)](_0x5e5e52(0x121)),{channelId:_0x7a9889}=_0x16f9c9,_0x9280b3=_0x4bf217[_0x5e5e52(0x120)](_0x303fe9(this[_0x5e5e52(0xb3)][_0x5e5e52(0xab)],_0x5e5e52(0x163)));return this[_0x5e5e52(0x16f)][_0x5e5e52(0x10a)]({'channelId':_0x7a9889,'threadId':_0x1a24c5})[_0x5e5e52(0xa8)](()=>_0x4bf217[_0x5e5e52(0xcb)](_0x9280b3))[_0x5e5e52(0x91)](_0x2723ff=>{const _0x32075d=_0x5e5e52;throw console[_0x32075d(0x104)](_0x2723ff),new _0x5a1a0a(_0x32075d(0x113),this);});}[_0x1c4996(0x11a)]({threadId:_0x349e91,unlinkedAt:_0x534f84,context:_0x1c860d,attributes:_0x19ec20,isFromAdapter:_0x545165}){const _0x109323=_0x1c4996;if(_0x109323(0x8c)!=typeof _0x349e91)throw new _0x5a1a0a(_0x109323(0x14e),null,{'threadId':_0x349e91});if(!this[_0x109323(0xa6)](_0x349e91))throw new _0x5a1a0a(_0x109323(0xe2),null,{'threadId':_0x349e91});const _0x593c04=this[_0x109323(0x15c)](_0x349e91);let _0x687cfc=!0x1;if(void 0x0!==_0x1c860d&&_0x593c04[_0x109323(0xb3)]!==_0x1c860d&&(_0x593c04[_0x109323(0xb3)]=_0x1c860d,_0x687cfc=!0x0),void 0x0!==_0x534f84&&_0x593c04[_0x109323(0x108)]!==_0x534f84&&(_0x593c04[_0x109323(0x108)]=_0x534f84,_0x687cfc=!0x0),_0x19ec20&&!_0x379d69(_0x19ec20,_0x593c04[_0x109323(0xb5)])&&(_0x593c04[_0x109323(0xb5)]=_0x19ec20,_0x687cfc=!0x0),!_0x687cfc)return Promise[_0x109323(0xd8)]();if(!_0x593c04[_0x109323(0x127)]||_0x545165||!this[_0x109323(0x16f)]||_0x109323(0x152)!=typeof this[_0x109323(0x16f)][_0x109323(0xe5)])return Promise[_0x109323(0xd8)]();const _0x4f2f8a=this[_0x109323(0xb3)][_0x109323(0x14f)][_0x109323(0x16a)](_0x109323(0x121)),{channelId:_0x5e28b8}=_0x593c04,_0x5bc9f=_0x4f2f8a[_0x109323(0x120)](_0x303fe9(this[_0x109323(0xb3)][_0x109323(0xab)],_0x109323(0x163)));return this[_0x109323(0x16f)][_0x109323(0xe5)]({'channelId':_0x5e28b8,'threadId':_0x349e91,'context':_0x1c860d,'unlinkedAt':_0x534f84,'attributes':_0x19ec20})[_0x109323(0xa8)](()=>_0x4f2f8a[_0x109323(0xcb)](_0x5bc9f))[_0x109323(0x91)](_0x1069d6=>{const _0xf18aa8=_0x109323;throw console[_0xf18aa8(0x104)](_0x1069d6),new _0x5a1a0a(_0xf18aa8(0x135),this);});}[_0x1c4996(0xcc)](_0x556a33){const _0x5ce5f1=_0x1c4996,_0xf6b68c=this[_0x5ce5f1(0xb3)][_0x5ce5f1(0x14f)][_0x5ce5f1(0x16a)](_0x3a381e),_0x34fd2e=this[_0x5ce5f1(0x15c)](_0x556a33);if(_0x34fd2e[_0x5ce5f1(0xe4)]=!0x1,this[_0x5ce5f1(0x100)][_0x5ce5f1(0xe9)](_0x34fd2e)){const _0x22f4fb=this[_0x5ce5f1(0x100)][_0x5ce5f1(0x16a)](_0x34fd2e),_0x478d5a=_0x22f4fb[_0x5ce5f1(0x160)],_0x30e78c=_0xf6b68c[_0x5ce5f1(0x16e)](_0x478d5a);this[_0x5ce5f1(0x100)][_0x5ce5f1(0xf6)](_0x34fd2e),this[_0x5ce5f1(0xa2)][_0x5ce5f1(0xf6)](_0x478d5a),_0x30e78c&&_0xf6b68c[_0x5ce5f1(0xcb)](_0x30e78c),_0x22f4fb[_0x5ce5f1(0x9e)](),_0x478d5a[_0x5ce5f1(0x9e)]()[_0x5ce5f1(0xa8)](()=>{const _0x2fad29=_0x5ce5f1;this[_0x2fad29(0x14c)](_0x478d5a);});}}[_0x1c4996(0xe7)]({threadId:_0x8ea19,resolvedAt:_0x5dd160,unlinkedAt:_0x1ebcae}){const _0x155a7e=_0x1c4996,_0x5e4c9f=!!_0x5dd160,_0x44e47f=this[_0x155a7e(0xb3)][_0x155a7e(0x14f)][_0x155a7e(0x16a)](_0x3a381e),_0x348154=this[_0x155a7e(0x15c)](_0x8ea19);if(this[_0x155a7e(0x100)][_0x155a7e(0xe9)](_0x348154)){const _0x5bfd9d=this[_0x155a7e(0x100)][_0x155a7e(0x16a)](_0x348154)[_0x155a7e(0x160)],_0x316f3a=_0x44e47f[_0x155a7e(0x16e)](_0x5bfd9d);_0x316f3a&&(_0x5e4c9f&&_0x44e47f[_0x155a7e(0x98)](_0x316f3a),_0x1ebcae?_0x316f3a[_0x155a7e(0xa4)]=!0x1:_0x316f3a[_0x155a7e(0x138)]());}}[_0x1c4996(0xb9)](_0x3a4aa2){const _0x35c16c=_0x1c4996,_0x267c37=this[_0x35c16c(0xb3)][_0x35c16c(0x14f)][_0x35c16c(0x16a)](_0x2c9a13),_0x252150=_0x26b7e8(_0x35c16c(0x134)+_0x3a4aa2),_0x52a0e8=_0x267c37[_0x35c16c(0x165)](_0x252150);return _0x52a0e8||_0x267c37[_0x35c16c(0x126)]({'id':_0x252150,'name':_0x3a4aa2});}[_0x1c4996(0xde)]({threadId:_0x4de2bc,commentId:_0x1bbc79=_0x4ffbfe(),content:_0x366542,authorId:_0xc467f4,createdAt:_0x435caf,attributes:_0x384be4}){const _0x247586=_0x1c4996;if(_0x247586(0x8c)!=typeof _0x1bbc79)throw new _0x5a1a0a(_0x247586(0x170));if(_0x247586(0x8c)!=typeof _0xc467f4)throw new _0x5a1a0a(_0x247586(0xd1));if(_0x247586(0x8c)!=typeof _0x366542||!_0x366542[_0x247586(0x167)]())throw new _0x5a1a0a(_0x247586(0xda));const _0x1655ba=this[_0x247586(0xb3)][_0x247586(0x14f)][_0x247586(0x16a)](_0x2c9a13)[_0x247586(0x165)](_0xc467f4);if(!_0x1655ba)throw new _0x5a1a0a(_0x247586(0x15f),null,{'authorId':_0xc467f4});let _0x2c51c9=null,_0x915831=_0x435caf;return _0x384be4?.[_0x247586(0x9b)]&&(_0x2c51c9=this[_0x247586(0xb9)](_0x384be4[_0x247586(0x9b)][_0x247586(0x8b)]),_0x915831=new Date(_0x384be4[_0x247586(0x9b)][_0x247586(0xe8)])),new Comment(this,{'threadId':_0x4de2bc,'id':_0x1bbc79,'author':_0x2c51c9||_0x1655ba,'creator':_0x1655ba,'content':_0x366542,'createdAt':_0x435caf,'authoredAt':_0x915831,'attributes':_0x384be4});}[_0x1c4996(0x13d)](_0x217f68){const _0x2495cb=_0x1c4996;let {threadId:_0x40b699,content:_0x414a93,attributes:_0x1648c5,isFromAdapter:_0x10e7e8}=_0x217f68;const _0xa90ff9=this[_0x2495cb(0x15c)](_0x217f68[_0x2495cb(0x168)]);if(!_0xa90ff9)throw new _0x5a1a0a(_0x2495cb(0x151),this);const _0x5360e3=this[_0x2495cb(0xde)](_0x217f68),{id:_0x34d8a8}=_0x5360e3;if(_0xa90ff9[_0x2495cb(0x149)](_0x5360e3),_0x10e7e8||!this[_0x2495cb(0x16f)]||_0x2495cb(0x152)!=typeof this[_0x2495cb(0x16f)][_0x2495cb(0xc7)]||!_0xa90ff9[_0x2495cb(0x127)])return Promise[_0x2495cb(0xd8)]();const _0x16e396=this[_0x2495cb(0xb3)][_0x2495cb(0x14f)][_0x2495cb(0x16a)](_0x2495cb(0x121)),{channelId:_0x6e6cf0}=_0xa90ff9,_0x5d8b3f=_0x16e396[_0x2495cb(0x120)](_0x303fe9(this[_0x2495cb(0xb3)][_0x2495cb(0xab)],_0x2495cb(0x163)));return _0x1648c5||(_0x1648c5={}),this[_0x2495cb(0x16f)][_0x2495cb(0xc7)]({'channelId':_0x6e6cf0,'threadId':_0x40b699,'commentId':_0x34d8a8,'content':_0x414a93,'attributes':_0x1648c5})[_0x2495cb(0xa8)](_0x287b15=>{const _0x528835=_0x2495cb;_0x16e396[_0x528835(0xcb)](_0x5d8b3f),_0x287b15&&this[_0x528835(0x145)]({'channelId':_0x6e6cf0,'threadId':_0x40b699,'commentId':_0x34d8a8,'createdAt':_0x287b15[_0x528835(0xe8)],'isFromAdapter':!0x0});})[_0x2495cb(0x91)](_0x9056c3=>{const _0x481f50=_0x2495cb;throw console[_0x481f50(0x104)](_0x9056c3),new _0x5a1a0a(_0x481f50(0x122),this);});}[_0x1c4996(0x145)]({threadId:_0x2167ac,commentId:_0x55eae0,content:_0x2c8b20,createdAt:_0x2e7f81,attributes:_0x49e45a,isFromAdapter:_0x31912c}){const _0x114613=_0x1c4996;if(void 0x0!==_0x2c8b20&&(_0x114613(0x8c)!=typeof _0x2c8b20||!_0x2c8b20[_0x114613(0x167)]()[_0x114613(0x166)]))throw new _0x5a1a0a(_0x114613(0x117));const _0x1b7aa3=this[_0x114613(0x15c)](_0x2167ac),_0x514564=_0x1b7aa3[_0x114613(0xa9)](_0x55eae0);if(!_0x514564)throw new _0x5a1a0a(_0x114613(0xac),this);let _0x5d6f90=!0x1;if(_0x2c8b20&&_0x2c8b20!==_0x514564[_0x114613(0x146)]&&(_0x514564[_0x114613(0xf5)]||_0x31912c)&&(_0x514564[_0x114613(0x146)]=_0x2c8b20,_0x5d6f90=!0x0),_0x2e7f81&&_0x2e7f81!==_0x514564[_0x114613(0xe8)]&&(_0x514564[_0x114613(0xe8)]=_0x2e7f81,_0x514564[_0x114613(0xb5)]&&_0x514564[_0x114613(0xb5)][_0x114613(0x9b)]||(_0x514564[_0x114613(0xaf)]=_0x2e7f81),_0x5d6f90=!0x0),_0x49e45a&&!_0x379d69(_0x49e45a,_0x514564[_0x114613(0xb5)])&&(_0x514564[_0x114613(0xb5)]=_0x49e45a,_0x5d6f90=!0x0),!_0x5d6f90)return Promise[_0x114613(0xd8)]();if(_0x1b7aa3[_0x114613(0x14a)](_0x114613(0x105)),_0x31912c||!this[_0x114613(0x16f)]||_0x114613(0x152)!=typeof this[_0x114613(0x16f)][_0x114613(0xb1)])return Promise[_0x114613(0xd8)]();const _0x123646=this[_0x114613(0xb3)][_0x114613(0x14f)][_0x114613(0x16a)](_0x114613(0x121)),{channelId:_0x5874a7}=this[_0x114613(0x15c)](_0x514564[_0x114613(0x168)]),_0x490bf2=_0x123646[_0x114613(0x120)](_0x303fe9(this[_0x114613(0xb3)][_0x114613(0xab)],_0x114613(0x163)));return this[_0x114613(0x16f)][_0x114613(0xb1)]({'channelId':_0x5874a7,'threadId':_0x2167ac,'commentId':_0x55eae0,'content':_0x2c8b20,'attributes':_0x49e45a})[_0x114613(0xa8)](()=>_0x123646[_0x114613(0xcb)](_0x490bf2))[_0x114613(0x91)](_0x198439=>{const _0x1830c2=_0x114613;throw console[_0x1830c2(0x104)](_0x198439),new _0x5a1a0a(_0x1830c2(0x15b),this);});}[_0x1c4996(0x124)]({threadId:_0x4104fa,commentId:_0x173ee9,isFromAdapter:_0x6c8a2a}){const _0x58244d=_0x1c4996,_0x10bbe5=this[_0x58244d(0x15c)](_0x4104fa),_0x30348c=_0x10bbe5[_0x58244d(0xa9)](_0x173ee9);if(!_0x30348c)throw new _0x5a1a0a(_0x58244d(0xe6),this);if(_0x10bbe5[_0x58244d(0x161)](_0x30348c),_0x6c8a2a||!this[_0x58244d(0x16f)]||_0x58244d(0x152)!=typeof this[_0x58244d(0x16f)][_0x58244d(0xc4)])return Promise[_0x58244d(0xd8)]();const _0x5860af=this[_0x58244d(0xb3)][_0x58244d(0x14f)][_0x58244d(0x16a)](_0x58244d(0x121)),{channelId:_0x8f1af8}=_0x10bbe5,_0x2a3c70=_0x5860af[_0x58244d(0x120)](_0x303fe9(this[_0x58244d(0xb3)][_0x58244d(0xab)],_0x58244d(0x163)));return this[_0x58244d(0x16f)][_0x58244d(0xc4)]({'channelId':_0x8f1af8,'threadId':_0x4104fa,'commentId':_0x173ee9})[_0x58244d(0xa8)](()=>_0x5860af[_0x58244d(0xcb)](_0x2a3c70))[_0x58244d(0x91)](_0x25799f=>{const _0x5d0c13=_0x58244d;throw console[_0x5d0c13(0x104)](_0x25799f),new _0x5a1a0a(_0x5d0c13(0x16d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x58076f(){[_0x1c4996(0x129)];['id'];[_0x1c4996(0xe4)];[_0x1c4996(0x97)];[_0x1c4996(0x148)];[_0x1c4996(0xbd)];constructor(_0x23600b,_0x160f73){const _0x443d60=_0x1c4996;super();const _0x57aa66=_0x160f73[_0x443d60(0xce)];this[_0x443d60(0x129)]=_0x160f73[_0x443d60(0x129)],this['id']=_0x160f73['id'],this[_0x443d60(0x148)]=new _0x48660a(),this[_0x443d60(0xbd)]=_0x23600b,this[_0x443d60(0xe4)]=!0x1,this[_0x443d60(0x97)]=_0x160f73[_0x443d60(0x127)],this[_0x443d60(0x158)](_0x443d60(0x154),!0x0),this[_0x443d60(0xd9)](_0x443d60(0x157))['to'](_0x23600b,_0x443d60(0x169),_0x23600b,_0x443d60(0x15a),()=>_0x23600b[_0x443d60(0x157)](this[_0x443d60(0x129)])),this[_0x443d60(0xd9)](_0x443d60(0xd5))['to'](_0x23600b,_0x443d60(0x169),()=>_0x23600b[_0x443d60(0xf8)](this[_0x443d60(0x129)])[_0x443d60(0x15d)]),this[_0x443d60(0xd9)](_0x443d60(0xd6))['to'](_0x23600b,_0x443d60(0x169),()=>{const _0x49ce85=_0x443d60,_0x2c703f=_0x23600b[_0x49ce85(0xf8)](this[_0x49ce85(0x129)]);return _0x2c703f[_0x49ce85(0x143)]||_0x2c703f[_0x49ce85(0x15d)];}),this[_0x443d60(0xd9)](_0x443d60(0xce))['to'](_0x23600b,_0x443d60(0x169),()=>_0x57aa66&&_0x23600b[_0x443d60(0xf8)](this[_0x443d60(0x129)])[_0x443d60(0xd8)]),this[_0x443d60(0x158)](_0x443d60(0xb3),_0x160f73[_0x443d60(0xb3)]),this[_0x443d60(0xd9)](_0x443d60(0x130))['to'](this,_0x443d60(0x13b),this,_0x443d60(0x108),(_0x1c696c,_0x3f36e1)=>_0x1c696c?_0x3f36e1?_0x1c696c<_0x3f36e1?_0x1c696c:_0x3f36e1:_0x1c696c:_0x3f36e1),this[_0x443d60(0x158)](_0x443d60(0x108),_0x160f73[_0x443d60(0x108)]||null),this[_0x443d60(0x158)](_0x443d60(0x13b),_0x160f73[_0x443d60(0x13b)]||null),this[_0x443d60(0x158)](_0x443d60(0xbc),_0x160f73[_0x443d60(0xbc)]||null),this[_0x443d60(0xd9)](_0x443d60(0x9f))['to'](this,_0x443d60(0x13b),_0x391b68=>!!_0x391b68),this[_0x443d60(0x158)](_0x443d60(0xb5),_0x160f73[_0x443d60(0xb5)]||{});}get[_0x1c4996(0xf1)](){const _0x1b3c76=_0x1c4996;return Array[_0x1b3c76(0x144)](this[_0x1b3c76(0x148)])[_0x1b3c76(0x13e)]((_0x5c1f9a,_0x2f0064)=>_0x5c1f9a+_0x2f0064[_0x1b3c76(0xf1)],0x0);}get[_0x1c4996(0x166)](){const _0x367200=_0x1c4996;return this[_0x367200(0x148)][_0x367200(0x166)];}get[_0x1c4996(0x112)](){const _0x1e227b=_0x1c4996;return this[_0x1e227b(0xe4)];}get[_0x1c4996(0x127)](){const _0x3c3812=_0x1c4996;return this[_0x3c3812(0x97)];}[_0x1c4996(0xd0)](){const _0x1ae6aa=_0x1c4996,{channelId:_0x32f222,id:_0x51555a}=this;this[_0x1ae6aa(0xbd)][_0x1ae6aa(0x14a)](Nt(_0x1ae6aa(0xed),_0x32f222),{'channelId':_0x32f222,'threadId':_0x51555a});}[_0x1c4996(0xb4)](_0x4354e4){const _0x1032b5=_0x1c4996;this[_0x1032b5(0x13a)]({'unlinkedAt':_0x4354e4});}[_0x1c4996(0xd8)]({resolvedAt:_0x514cc0=new Date(),resolvedBy:_0x5111b6='',isFromAdapter:_0x252b5f=!0x1}={}){const _0x4fb6e7=_0x1c4996,_0x18fb64=this[_0x4fb6e7(0xbd)][_0x4fb6e7(0xb3)][_0x4fb6e7(0x14f)][_0x4fb6e7(0x16a)](_0x2c9a13)['me'],{channelId:_0x2aa9bf,id:_0x267aa2}=this;this[_0x4fb6e7(0xbd)][_0x4fb6e7(0x14a)](Nt(_0x4fb6e7(0xb8),_0x2aa9bf),{'channelId':_0x2aa9bf,'threadId':_0x267aa2,'resolvedAt':_0x514cc0,'resolvedBy':_0x5111b6||_0x18fb64['id'],'isFromAdapter':_0x252b5f});}[_0x1c4996(0xe0)]({isFromAdapter:_0x43af66=!0x1}={}){const _0x9eb333=_0x1c4996,{channelId:_0x3397cc,id:_0x474e6d}=this;this[_0x9eb333(0xbd)][_0x9eb333(0x14a)](Nt(_0x9eb333(0x16b),_0x3397cc),{'channelId':_0x3397cc,'threadId':_0x474e6d,'isFromAdapter':_0x43af66});}[_0x1c4996(0xa1)](_0x190029){const _0x508e1f=_0x1c4996;this[_0x508e1f(0xb3)]||this[_0x508e1f(0x13a)]({'context':_0x190029});}[_0x1c4996(0xf2)](_0x1b031c,_0x7c009f){const _0x37e4b7=_0x1c4996,_0x37704f=_0x395a9e(this[_0x37e4b7(0xb5)]);_0x5f36bb(_0x37704f,_0x1b031c,_0x7c009f),this[_0x37e4b7(0x13a)]({'attributes':_0x37704f});}[_0x1c4996(0xcd)](_0x9a3437){const _0x3665b1=_0x1c4996,_0x2025f3=_0x395a9e(this[_0x3665b1(0xb5)]);_0x22dd39(_0x2025f3,_0x9a3437),this[_0x3665b1(0x13a)]({'attributes':_0x2025f3});}[_0x1c4996(0xcb)]({isFromAdapter:_0x785190=!0x1}={}){const _0x1b1e75=_0x1c4996,{channelId:_0x334e60,id:_0x2242bf}=this;this[_0x1b1e75(0xbd)][_0x1b1e75(0x14a)](Nt(_0x1b1e75(0x10a),_0x334e60),{'channelId':_0x334e60,'threadId':_0x2242bf,'isFromAdapter':_0x785190});}[_0x1c4996(0xf9)](_0x1be435){const _0x705aa1=_0x1c4996;return this[_0x705aa1(0xbd)][_0x705aa1(0x95)]({'threadId':this['id'],'target':_0x1be435});}[_0x1c4996(0xc7)](_0x2f984a){const _0x268841=_0x1c4996,{channelId:_0xe6de6e,id:_0x49d7e2}=this;this[_0x268841(0xbd)][_0x268841(0x14a)](Nt(_0x268841(0xc7),_0xe6de6e,_0x49d7e2),Object[_0x268841(0xdf)]({'channelId':_0xe6de6e,'threadId':_0x49d7e2},_0x2f984a));}[_0x1c4996(0xa9)](_0xa60fa9){const _0x55aeb8=_0x1c4996;if(_0x55aeb8(0x8c)!=typeof _0xa60fa9)throw new _0x5a1a0a(_0x55aeb8(0x12c),null,{'commentId':_0xa60fa9});return this[_0x55aeb8(0x148)][_0x55aeb8(0x16a)](_0xa60fa9);}[_0x1c4996(0x159)](){const _0x3c602=_0x1c4996;return{'threadId':this['id'],'context':this[_0x3c602(0xb3)],'unlinkedAt':this[_0x3c602(0x108)],'resolvedAt':this[_0x3c602(0x13b)],'resolvedBy':this[_0x3c602(0xbc)]?this[_0x3c602(0xbc)]['id']:null,'archivedAt':this[_0x3c602(0x130)],'comments':this[_0x3c602(0x148)][_0x3c602(0x136)](_0xff1584=>_0xff1584[_0x3c602(0x159)]()),'attributes':this[_0x3c602(0xb5)]};}[_0x1c4996(0x149)](_0x276725){const _0x415564=_0x1c4996;return this[_0x415564(0x11f)](_0x276725,_0x415564(0x8d),()=>{const _0x5f4381=_0x415564,_0x145386=this[_0x5f4381(0x123)](_0x276725),_0x2df119=this[_0x5f4381(0x148)];_0x145386-0x1!=_0x2df119[_0x5f4381(0x12b)](_0x276725)&&_0x145386+0x1!=_0x2df119[_0x5f4381(0x12b)](_0x276725)&&(this[_0x5f4381(0x161)](_0x276725),this[_0x5f4381(0x149)](_0x276725));}),this[_0x415564(0x148)][_0x415564(0x120)](_0x276725,this[_0x415564(0x123)](_0x276725));}[_0x1c4996(0x13a)](_0x5331ff){const _0x123acd=_0x1c4996,{channelId:_0x26cd2d,id:_0x3bd4e9}=this;this[_0x123acd(0xbd)][_0x123acd(0x14a)](Nt(_0x123acd(0xe5),_0x26cd2d),{..._0x5331ff,'channelId':_0x26cd2d,'threadId':_0x3bd4e9});}[_0x1c4996(0x161)](_0x338972){const _0x51040b=_0x1c4996;return this[_0x51040b(0x164)](_0x338972),_0x338972[_0x51040b(0x9e)](),this[_0x51040b(0x148)][_0x51040b(0xcb)](_0x338972);}[_0x1c4996(0x123)](_0x3e7646){const _0x1c4ed8=_0x1c4996,_0x52ce49=this[_0x1c4ed8(0x148)][_0x1c4ed8(0xb6)](_0x172e59=>new Date(_0x172e59[_0x1c4ed8(0xaf)])[_0x1c4ed8(0x8f)]()>new Date(_0x3e7646[_0x1c4ed8(0xaf)])[_0x1c4ed8(0x8f)]());return _0x52ce49?this[_0x1c4ed8(0x148)][_0x1c4ed8(0x12b)](_0x52ce49):this[_0x1c4ed8(0x166)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x58076f(){['id'];[_0x1c4996(0x168)];[_0x1c4996(0xcf)];[_0x1c4996(0x137)];[_0x1c4996(0xad)];[_0x1c4996(0xe8)];[_0x1c4996(0xbd)];constructor(_0x204b6e,_0x1245cc){const _0x29c6e4=_0x1c4996;super();const _0x5c9968=_0x204b6e[_0x29c6e4(0xb3)][_0x29c6e4(0x14f)][_0x29c6e4(0x16a)](_0x2c9a13)['me'],_0x5a1b7b=_0x204b6e[_0x29c6e4(0x15c)](_0x1245cc[_0x29c6e4(0x168)]),_0x5bedba=0x0===_0x5a1b7b[_0x29c6e4(0x148)][_0x29c6e4(0x166)],_0x27ec5f=_0x5c9968===_0x1245cc[_0x29c6e4(0xcf)];this['id']=_0x1245cc['id'],this[_0x29c6e4(0x168)]=_0x1245cc[_0x29c6e4(0x168)],this[_0x29c6e4(0xcf)]=_0x1245cc[_0x29c6e4(0xcf)],this[_0x29c6e4(0x137)]=_0x1245cc[_0x29c6e4(0x137)],this[_0x29c6e4(0xad)]=Boolean(_0x1245cc[_0x29c6e4(0xb5)]&&_0x1245cc[_0x29c6e4(0xb5)][_0x29c6e4(0x9b)]),this[_0x29c6e4(0x158)](_0x29c6e4(0x146),_0x1245cc[_0x29c6e4(0x146)]),this[_0x29c6e4(0xe8)]=_0x1245cc[_0x29c6e4(0xe8)]||new Date(),this[_0x29c6e4(0x158)](_0x29c6e4(0xaf),_0x1245cc[_0x29c6e4(0xaf)]||new Date()),this[_0x29c6e4(0xd9)](_0x29c6e4(0x13b))['to'](_0x5a1b7b,_0x29c6e4(0x13b)),this[_0x29c6e4(0x158)](_0x29c6e4(0xb5),_0x1245cc[_0x29c6e4(0xb5)]||{}),this[_0x29c6e4(0xd9)](_0x29c6e4(0xf5))['to'](_0x204b6e,_0x29c6e4(0x169),()=>{const _0x53adef=_0x29c6e4,_0x394945=_0x204b6e[_0x53adef(0xf8)](_0x5a1b7b[_0x53adef(0x129)])[_0x53adef(0x143)],_0x153857=_0x204b6e[_0x53adef(0xf8)](_0x5a1b7b[_0x53adef(0x129)])[_0x53adef(0xfc)];return _0x27ec5f&&_0x394945||!_0x27ec5f&&_0x153857;}),this[_0x29c6e4(0xd9)](_0x29c6e4(0xd5))['to'](_0x5a1b7b,_0x29c6e4(0xd5),_0x204b6e,_0x29c6e4(0x169),_0x54f1c2=>{const _0x329b80=_0x29c6e4,_0x36a006=_0x204b6e[_0x329b80(0xf8)](_0x5a1b7b[_0x329b80(0x129)])[_0x329b80(0x143)],_0x2e504e=_0x204b6e[_0x329b80(0xf8)](_0x5a1b7b[_0x329b80(0x129)])[_0x329b80(0xfc)];return _0x27ec5f&&_0x36a006||_0x54f1c2&&_0x5bedba||!_0x27ec5f&&_0x2e504e&&!_0x5bedba;}),this[_0x29c6e4(0xd9)](_0x29c6e4(0x157))['to'](_0x5a1b7b,_0x29c6e4(0x157)),this[_0x29c6e4(0xbd)]=_0x204b6e;}get[_0x1c4996(0xf1)](){const _0x186da9=_0x1c4996;return Math[_0x186da9(0xf4)](function(_0x412948){const _0x7d613e=_0x186da9,_0x58503f=document[_0x7d613e(0xba)](_0x7d613e(0x92));return _0x58503f[_0x7d613e(0x153)]=_0x412948,_0x58503f[_0x7d613e(0x10d)][_0x7d613e(0x166)];}(this[_0x186da9(0x146)]),0xc8);}[_0x1c4996(0x9c)](_0x48d3e6){const _0x134c2a=_0x1c4996,{threadId:_0x3781a3,id:_0x245e9e}=this;if(!this[_0x134c2a(0xbd)][_0x134c2a(0xa6)](_0x3781a3))throw new _0x5a1a0a(_0x134c2a(0x111),this);const {channelId:_0x53a003}=this[_0x134c2a(0xbd)][_0x134c2a(0x15c)](_0x3781a3);this[_0x134c2a(0xbd)][_0x134c2a(0x14a)](Nt(_0x134c2a(0xb1),_0x53a003,_0x3781a3),{'channelId':_0x53a003,'threadId':_0x3781a3,'commentId':_0x245e9e,..._0x48d3e6});}[_0x1c4996(0xf2)](_0x1f1f62,_0x56e8f9){const _0xfd0e3b=_0x1c4996,_0x48debd=_0x395a9e(this[_0xfd0e3b(0xb5)]);_0x5f36bb(_0x48debd,_0x1f1f62,_0x56e8f9),this[_0xfd0e3b(0x9c)]({'attributes':_0x48debd});}[_0x1c4996(0xcd)](_0x2dfb2){const _0x8b2c9f=_0x1c4996,_0x3b8a02=_0x395a9e(this[_0x8b2c9f(0xb5)]);_0x22dd39(_0x3b8a02,_0x2dfb2),this[_0x8b2c9f(0x9c)]({'attributes':_0x3b8a02});}[_0x1c4996(0xcb)](_0x36084e={}){const _0x496929=_0x1c4996;if(!_0x36084e[_0x496929(0x9d)]&&!this[_0x496929(0xd5)])return;const {threadId:_0x299c3a,id:_0x4249d4}=this;if(!this[_0x496929(0xbd)][_0x496929(0xa6)](_0x299c3a))throw new _0x5a1a0a(_0x496929(0x125),this);const {channelId:_0x17d391}=this[_0x496929(0xbd)][_0x496929(0x15c)](_0x299c3a);this[_0x496929(0xbd)][_0x496929(0x14a)](Nt(_0x496929(0xc4),_0x17d391,_0x299c3a),{'channelId':_0x17d391,'threadId':_0x299c3a,'commentId':_0x4249d4,..._0x36084e});}[_0x1c4996(0x159)](){const _0x2b1969=_0x1c4996;return{'commentId':this['id'],'content':this[_0x2b1969(0x146)],'createdAt':this[_0x2b1969(0xe8)],'authorId':this[_0x2b1969(0x137)]['id'],'attributes':this[_0x2b1969(0xb5)]};}[_0x1c4996(0x9e)](){const _0x16efb6=_0x1c4996;this[_0x16efb6(0x164)]();}}function Nt(_0x4fe71b,..._0x1b87f3){for(const _0x49f245 of _0x1b87f3)void 0x0!==_0x49f245&&(_0x4fe71b+=':'+String(_0x49f245));return _0x4fe71b;}
23
+ const _0x8a6221=_0x3031;function _0x58e5(){const _0x4e5a5c=['then','set','commentsrepository-missing-comment-thread','13499796eEYEsz','comments.editorConfig','4OlqYAP','commentsrepository-duplicated-comment-thread-id','function','getAnnotationForCommentThread','licenseKey','removeComment','getComment','_update','120FkVGFc','comments','switchReadOnly','attachTo','comments.CommentThreadView','isDirty','commentsrepository-remove-comment-thread-internal-error','commentsrepository-resolve-comment-thread-internal-error','comments.maxThreadTotalWeight','activeCommentThread','innerHTML','_detachCommentThread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_add','trim','commentsrepository-reopen-comment-thread-internal-error','isSubmitted','listenTo','view','_repository','context','authorName','resolve','CommentThreadView','isVisible','weight','_readOnlyChannels','max','submit','commentsrepository-update-comment-missing-comment-thread','map','warn','focus','add','isExternal','write','_removeCommentThread','createCommentThreadController','error','editorReady','49794IGFXzs','toJSON','external:','getTime','commentsrepository-invalid-comment-content','resolvedAt','_getExternalAuthor','author','commentsListView','threadId','isFromAdapter','channelId','define','_isAttached','creator','commentsrepository-update-comment-internal-error','config','_createCommentThreadView','addComment','innerView','filter','commentsrepository-adapter-already-set','resolveCommentThread','assign','2TOCoQL','body','isPremiumPlugin','commentsrepository-update-missing-comment','getByInnerView','isResolvable','addCommentThread','getIndex','noChannel','fetchCommentThread','focusableElements','reopen','textContent','commentsrepository-invalid-commentid','model','commentId','bodyCollectionContainer','pluginName','_attachCommentThread','commentsrepository-remove-comment-missing-comment-thread','comments.maxCommentsWhenCollapsed','commentsrepository-fetch-comment-thread','_removeComment','_removeActiveAnnotation','setContext','reduce','lowest','commentsrepository-missing-thread-and-adapter-method','332118StPzoG','isEditable','updateCommentThread','commentsrepository-update-comment-invalid-content','authoredAt','commentUpdated','2391501JUFYde','commentsrepository-update-comment-thread-internal-error','getCommentThreads','288353TeVmfK','modifyAll','commentsrepository-active-not-attached','requires','_addComment','reopenCommentThread','removeCommentThread','isActive','isOfficialPlugin','unlinkedAt','commentsrepository-active-missing-comment-thread','change:isDirty','from','getPermissions','focusTracker','_remove','removeAttribute','_permissions','change:_readOnlyChannels','getUser','PENDING_ACTION_COMMENT_THREAD','commentsrepository-get-comment-invalid-id','length','plugins','_viewToController','getCommentThread','_adapter','commentsrepository-resolved-comment-thread','updateComment','setActiveCommentThread','comment','3628268GFEDjS','13AklZAW','commentsrepository-invalid-comment-thread-id','commentsrepository-attach-missing-comment-thread','resolvedBy','has','commentsrepository-add-comment-to-missing-comment-thread','commentThreadInputView','CommentsRepository','isResolved','push','_threadToController','addUser','archivedAt','values','comments.maxCommentCharsWhenCollapsed','_isSubmitted','commentsrepository-missing-target','_updateComment','stopListening','_findOptimalIndex','hasCommentThread','commentsrepository-invalid-comment-authorid','change:authoredAt','110cHDTqb','commentsrepository-remove-comment-internal-error','catch','commentsrepository-add-comment-user-not-exists','_reopenCommentThread','_updateCommentThread','_unbindEditors','highest','_submitCommentThread','comments.CommentView','init','commentsrepository-remove-missing-comment','@external','change:_permissions','_bindAnnotationToEditors','commentsrepository-remove-missing-comment-thread','attributes','locale','delete','update','admin','change:activeAnnotations','editorDestroyed','adapter','div','isAttached','comments.copyMarkers','isReadOnly','find','commentsrepository-add-comment-thread-internal-error','commentInputView','content','472802srnxFR','_createNewComment','submitCommentThread','openNewCommentThread','destroy','CommentView','fire','commentsrepository-reopen-comment-thread','_updateActiveAnnotation','canComment','deactivateAll','_resolveCommentThread','get','activate','commentsrepository-add-comment-internal-error','_hasTargetInContent','escape','getCommentThreadForAnnotation','PendingActions','string','isRemovable','_threads','remove','605BYDhEM','setUnlinkedAt','_addCommentThread','once','createElement','createdAt','type','refreshVisibility','setPermissions','setAttribute','bind'];_0x58e5=function(){return _0x4e5a5c;};return _0x58e5();}(function(_0x31858e,_0x415508){const _0x192ce1=_0x3031,_0x3db43c=_0x31858e();while(!![]){try{const _0x2f81cc=-parseInt(_0x192ce1(0x11e))/0x1*(parseInt(_0x192ce1(0xf9))/0x2)+parseInt(_0x192ce1(0x11b))/0x3*(-parseInt(_0x192ce1(0xb1))/0x4)+-parseInt(_0x192ce1(0xa1))/0x5*(-parseInt(_0x192ce1(0xe1))/0x6)+parseInt(_0x192ce1(0x13d))/0x7+-parseInt(_0x192ce1(0xb9))/0x8*(parseInt(_0x192ce1(0x115))/0x9)+-parseInt(_0x192ce1(0x155))/0xa*(parseInt(_0x192ce1(0x8a))/0xb)+-parseInt(_0x192ce1(0xaf))/0xc*(-parseInt(_0x192ce1(0x13e))/0xd);if(_0x2f81cc===_0x415508)break;else _0x3db43c['push'](_0x3db43c['shift']());}catch(_0x4be32c){_0x3db43c['push'](_0x3db43c['shift']());}}}(_0x58e5,0x82c52));import{PendingActions as _0x2e466d,ContextPlugin as _0x41b3cf,Editor as _0x2c2f28}from'ckeditor5/src/core.js';import{Collection as _0x8e02ff,uid as _0x222537,CKEditorError as _0x406869,ObservableMixin as _0x538efc}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x226bc6,hashObject as _0x257abc,Users as _0x4a5848}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x32dc6b,isEqual as _0x27f3ce,set as _0x25cc12,unset as _0x569220}from'es-toolkit/compat';import{CommentThreadController as _0x37ca4b}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x3ba125}from'./ui/view/commentthreadview.js';import{CommentView as _0x1d40e7}from'./ui/view/commentview.js';import{getTranslation as _0x5eaa93}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x41d027}from'../annotations/view/annotationview.js';function _0x3031(_0x3b450f,_0x46a837){const _0x58e53c=_0x58e5();return _0x3031=function(_0x30314b,_0x2b71a3){_0x30314b=_0x30314b-0x88;let _0x569504=_0x58e53c[_0x30314b];return _0x569504;},_0x3031(_0x3b450f,_0x46a837);}import{Annotation as _0x27d050}from'../annotations/annotation.js';import{Annotations as _0x200293}from'../annotations/annotations.js';const bt=Symbol(_0x8a6221(0x101)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x41b3cf{[_0x8a6221(0x9f)];[_0x8a6221(0x148)];[_0x8a6221(0x136)];static get[_0x8a6221(0x121)](){return[_0x200293,_0x2e466d,_0x4a5848];}static get[_0x8a6221(0x10a)](){const _0x1b1744=_0x8a6221;return _0x1b1744(0x145);}static get[_0x8a6221(0x126)](){return!0x0;}static get[_0x8a6221(0xfb)](){return!0x0;}constructor(_0x5ebdd5){const _0x4e73d5=_0x8a6221;super(_0x5ebdd5),this[_0x4e73d5(0x9f)]=new Map(),this[_0x4e73d5(0x148)]=new Map(),this[_0x4e73d5(0x136)]=new Map(),this[_0x4e73d5(0xad)](_0x4e73d5(0xd3),new Set()),this[_0x4e73d5(0xad)](_0x4e73d5(0x12f),new Map());const _0x257d18=this[_0x4e73d5(0xcd)][_0x4e73d5(0xf1)];_0x257d18[_0x4e73d5(0xed)](_0x4e73d5(0x10d),0x2),_0x257d18[_0x4e73d5(0xed)](_0x4e73d5(0xc1),0x1f4),_0x257d18[_0x4e73d5(0xed)](_0x4e73d5(0x14c),0x8c),_0x257d18[_0x4e73d5(0xed)](_0x4e73d5(0xbd),_0x3ba125),_0x257d18[_0x4e73d5(0xed)](_0x4e73d5(0x15e),_0x1d40e7),_0x257d18[_0x4e73d5(0x96)](_0x4e73d5(0xb0))||console[_0x4e73d5(0xd8)](_0x4e73d5(0xc5));}[_0x8a6221(0x15f)](){const _0x23447a=_0x8a6221,_0x5e8ac5=this[_0x23447a(0xcd)][_0x23447a(0x135)][_0x23447a(0x96)](_0x200293);this[_0x23447a(0xad)](_0x23447a(0xc2),null),this['on'](_0x23447a(0xff),(_0x55e57d,_0x4421c6)=>this[_0x23447a(0xa3)](_0x4421c6)),this['on'](_0x23447a(0x8c),(_0x251da6,_0x8b98e2)=>this[_0x23447a(0x15d)](_0x8b98e2)),this['on'](_0x23447a(0xf7),(_0x43ecda,_0x50083c)=>this[_0x23447a(0x95)](_0x50083c)),this['on'](_0x23447a(0xf7),(_0x1b1fc4,_0x5c01b0)=>this[_0x23447a(0x92)](_0x5c01b0),{'priority':_0x23447a(0x113)}),this['on'](_0x23447a(0x123),(_0x3e2440,_0x3dd45f)=>this[_0x23447a(0x159)](_0x3dd45f)),this['on'](_0x23447a(0x123),(_0xf42ef0,_0x53185e)=>this[_0x23447a(0x92)](_0x53185e),{'priority':_0x23447a(0x113)}),this['on'](_0x23447a(0x124),(_0x4772cc,_0x43d7a6)=>this[_0x23447a(0xdd)](_0x43d7a6)),this['on'](_0x23447a(0x117),(_0x4865b5,_0x5ba1cb)=>this[_0x23447a(0x15a)](_0x5ba1cb)),this['on'](_0x23447a(0x117),(_0x3f6fbd,_0x4c029e)=>this[_0x23447a(0x92)](_0x4c029e),{'priority':_0x23447a(0x113)}),this['on'](_0x23447a(0xf3),(_0x5e83c0,_0x2aa9a8)=>this[_0x23447a(0x122)](_0x2aa9a8)),this['on'](_0x23447a(0x13a),(_0x332333,_0x45f7d9)=>this[_0x23447a(0x14f)](_0x45f7d9)),this['on'](_0x23447a(0xb6),(_0x3369ad,_0x359630)=>this[_0x23447a(0x10f)](_0x359630)),this['on'](_0x23447a(0xf3),(_0x3a1c7e,{threadId:_0x220b54,isFromAdapter:_0x3c4225})=>{const _0x461802=_0x23447a;if(_0x3c4225)return;const _0xa69510=this[_0x461802(0x137)](_0x220b54),_0x1e691d=_0xa69510&&this[_0x461802(0x148)][_0x461802(0x96)](_0xa69510);_0x1e691d&&_0x1e691d[_0x461802(0xcb)][_0x461802(0xe9)][_0x461802(0xd9)](-0x1);},{'priority':_0x23447a(0x113)}),this[_0x23447a(0xca)](_0x5e8ac5,_0x23447a(0x16a),(_0x1177bc,_0x409655,_0x1cffd1)=>{const _0x2ec497=_0x23447a,_0x27d4ae=Array[_0x2ec497(0x12a)](_0x1cffd1)[_0x2ec497(0xd7)](_0x5a4f76=>this[_0x2ec497(0x136)][_0x2ec497(0x96)](_0x5a4f76[_0x2ec497(0xf4)]))[_0x2ec497(0xf5)](Boolean)[0x0];this[_0x2ec497(0xc2)]=_0x27d4ae?_0x27d4ae[_0x2ec497(0x107)]:null;});}set[_0x8a6221(0x16c)](_0x983dd2){const _0x4aeda1=_0x8a6221;if(this[_0x4aeda1(0x138)])throw new _0x406869(_0x4aeda1(0xf6));this[_0x4aeda1(0x138)]=_0x983dd2;}get[_0x8a6221(0x16c)](){const _0x2a96e0=_0x8a6221;return this[_0x2a96e0(0x138)];}[_0x8a6221(0xff)]({channelId:_0x3e2a48=bt,threadId:_0x7118b6=_0x222537(),comments:_0x423a42=[],unlinkedAt:_0x19bd31=null,resolvedAt:_0x72c0b=null,resolvedBy:_0x8277d8=null,target:_0x115a03=null,context:_0x81d611=null,attributes:_0x2b6773={},isResolvable:_0x46e461=!0x0,isSubmitted:_0x13c0e1=!0x1,isFromAdapter:_0x40531f=!0x1}={}){const _0x1aed5f=_0x8a6221;return this[_0x1aed5f(0x90)](xt(_0x1aed5f(0xff),_0x3e2a48),{'channelId':_0x3e2a48,'threadId':_0x7118b6,'comments':_0x423a42,'unlinkedAt':_0x19bd31,'resolvedAt':_0x72c0b,'resolvedBy':_0x8277d8,'target':_0x115a03,'context':_0x81d611,'attributes':_0x2b6773,'isFromAdapter':_0x40531f,'isResolvable':_0x46e461,'isSubmitted':_0x13c0e1}),this[_0x1aed5f(0x137)](_0x7118b6);}[_0x8a6221(0x8d)]({channelId:_0x885429=bt,threadId:_0x247bdd=_0x222537(),target:_0x1fa6f2,context:_0x4c73be=null,isResolvable:_0xe3fdec=!0x0}){const _0x2ef1d1=_0x8a6221;if(this[_0x2ef1d1(0xd3)][_0x2ef1d1(0x142)](_0x885429)||this[_0x2ef1d1(0xd3)][_0x2ef1d1(0x142)](void 0x0))return null;if(!_0x1fa6f2)throw new _0x406869(_0x2ef1d1(0x14e));const _0x5d1c2d=this[_0x2ef1d1(0xff)]({'channelId':_0x885429,'threadId':_0x247bdd,'target':_0x1fa6f2,'context':_0x4c73be,'isResolvable':_0xe3fdec});if(!_0x5d1c2d)return null;const _0x4ba043=this[_0x2ef1d1(0x148)][_0x2ef1d1(0x96)](_0x5d1c2d),_0x4491bd=_0x4ba043[_0x2ef1d1(0xcb)][_0x2ef1d1(0x144)][_0x2ef1d1(0x88)],_0x26227f=this[_0x2ef1d1(0xcd)][_0x2ef1d1(0x135)][_0x2ef1d1(0x96)](_0x200293),_0xbc9aae=_0x26227f[_0x2ef1d1(0xfd)](_0x4ba043[_0x2ef1d1(0xcb)]);return _0x26227f[_0x2ef1d1(0x97)](_0xbc9aae),_0x4491bd[_0x2ef1d1(0xa4)](_0x2ef1d1(0xe0),()=>_0x4491bd[_0x2ef1d1(0xd9)]()),_0x5d1c2d;}[_0x8a6221(0x152)](_0x23da08){const _0x375b98=_0x8a6221;if(_0x375b98(0x9d)!=typeof _0x23da08)throw new _0x406869(_0x375b98(0x13f));return this[_0x375b98(0x9f)][_0x375b98(0x142)](_0x23da08);}[_0x8a6221(0x117)]({channelId:_0x4fd500=bt,threadId:_0x406d0d,context:_0x2db36a,unlinkedAt:_0x370c46,attributes:_0xf07a10,isFromAdapter:_0x47a62b=!0x1}){const _0x528041=_0x8a6221;return this[_0x528041(0x90)](xt(_0x528041(0x117),_0x4fd500),{'channelId':_0x4fd500,'threadId':_0x406d0d,'context':_0x2db36a,'unlinkedAt':_0x370c46,'attributes':_0xf07a10,'isFromAdapter':_0x47a62b}),this[_0x528041(0x137)](_0x406d0d);}[_0x8a6221(0x137)](_0x4ddb30){const _0x2afe47=_0x8a6221;if(_0x2afe47(0x9d)!=typeof _0x4ddb30)throw new _0x406869(_0x2afe47(0x13f));return this[_0x2afe47(0x9f)][_0x2afe47(0x96)](_0x4ddb30);}[_0x8a6221(0x102)]({channelId:_0xc14a2e,threadId:_0xf56205}={}){const _0x358a86=_0x8a6221,_0x208639=this[_0x358a86(0x137)](_0xf56205);if(_0x208639)return Promise[_0x358a86(0xcf)](_0x208639);if(!this[_0x358a86(0x16c)])return Promise[_0x358a86(0xcf)](void 0x0);if(_0x358a86(0xb3)!=typeof this[_0x358a86(0x16c)][_0x358a86(0x137)])throw new _0x406869(_0x358a86(0x114),this[_0x358a86(0xcd)]);return this[_0x358a86(0x16c)][_0x358a86(0x137)]({'channelId':_0xc14a2e,'threadId':_0xf56205})[_0x358a86(0xac)](_0x4cb0f4=>this[_0x358a86(0x152)](_0xf56205)?this[_0x358a86(0x137)](_0xf56205):_0x4cb0f4?this[_0x358a86(0xff)](Object[_0x358a86(0xf8)]({'isFromAdapter':!0x0,'channelId':_0xc14a2e},_0x4cb0f4)):void 0x0)[_0x358a86(0x157)](_0x3fa80b=>{const _0x3cc933=_0x358a86;throw console[_0x3cc933(0xdf)](_0x3fa80b),new _0x406869(_0x3cc933(0x10e),this[_0x3cc933(0xcd)]);});}[_0x8a6221(0x11d)]({channelId:_0x13e5df,skipNotAttached:_0x4cd045=!0x1,skipEmpty:_0x2764a9=!0x1,toJSON:_0x2ba231=!0x1}={}){const _0x2f9a18=_0x8a6221,_0x52d68b=[];for(const _0x17ddad of this[_0x2f9a18(0x9f)][_0x2f9a18(0x14b)]())_0x13e5df&&_0x17ddad[_0x2f9a18(0xec)]!==_0x13e5df||_0x4cd045&&!_0x17ddad[_0x2f9a18(0x16e)]||_0x2764a9&&0x0===_0x17ddad[_0x2f9a18(0x134)]||_0x52d68b[_0x2f9a18(0x147)](_0x17ddad);return _0x2ba231?_0x52d68b[_0x2f9a18(0xd7)](_0x32446b=>_0x32446b[_0x2f9a18(0xe2)]()):_0x52d68b;}[_0x8a6221(0xb4)](_0x2b9e2f){const _0x29fc25=_0x8a6221,_0x497d8c=this[_0x29fc25(0x148)][_0x29fc25(0x96)](_0x2b9e2f);if(!_0x497d8c)return null;return this[_0x29fc25(0xcd)][_0x29fc25(0x135)][_0x29fc25(0x96)](_0x200293)[_0x29fc25(0xfd)](_0x497d8c[_0x29fc25(0xcb)])||null;}[_0x8a6221(0x9b)](_0x198bfb){const _0x152ef7=_0x8a6221,_0x39d242=this[_0x152ef7(0x136)][_0x152ef7(0x96)](_0x198bfb[_0x152ef7(0xf4)]);return _0x39d242?_0x39d242[_0x152ef7(0x107)]:null;}[_0x8a6221(0x13b)](_0x23b97c){const _0x4dc0f5=_0x8a6221,_0x333c5d=this[_0x4dc0f5(0xcd)][_0x4dc0f5(0x135)][_0x4dc0f5(0x96)](_0x200293);if(!_0x23b97c)return void(this[_0x4dc0f5(0xc2)]&&_0x333c5d[_0x4dc0f5(0x94)]());const _0x296b23=this[_0x4dc0f5(0x137)](_0x23b97c);if(!_0x296b23)throw new _0x406869(_0x4dc0f5(0x128),null,{'threadId':_0x23b97c});if(!this[_0x4dc0f5(0x148)][_0x4dc0f5(0x142)](_0x296b23))throw new _0x406869(_0x4dc0f5(0x120),null,{'threadId':_0x23b97c});const _0x23e781=_0x333c5d[_0x4dc0f5(0xfd)](this[_0x4dc0f5(0x148)][_0x4dc0f5(0x96)](_0x296b23)[_0x4dc0f5(0xcb)]);_0x333c5d[_0x4dc0f5(0x97)](_0x23e781);}[_0x8a6221(0xbb)](_0x3ba9aa,_0x128ff5){const _0x9bc8b5=_0x8a6221;_0x3ba9aa?this[_0x9bc8b5(0xd3)][_0x9bc8b5(0xda)](_0x128ff5):this[_0x9bc8b5(0xd3)][_0x9bc8b5(0x167)](_0x128ff5),this[_0x9bc8b5(0x90)](_0x9bc8b5(0x130),_0x9bc8b5(0xd3),this[_0x9bc8b5(0xd3)],this[_0x9bc8b5(0xd3)]);}[_0x8a6221(0x170)](_0x3e058c){const _0x378de7=_0x8a6221;return this[_0x378de7(0xd3)][_0x378de7(0x142)](_0x3e058c)||this[_0x378de7(0xd3)][_0x378de7(0x142)](void 0x0);}[_0x8a6221(0xde)](_0x22bcf7,_0x1803b8){return new _0x37ca4b(_0x22bcf7,_0x1803b8);}[_0x8a6221(0xa9)](_0x9f0567,_0x23fad5=bt){const _0x1f246a=_0x8a6221;this[_0x1f246a(0x12f)][_0x1f246a(0xad)](_0x23fad5,_0x9f0567),this[_0x1f246a(0x90)](_0x1f246a(0x162),_0x1f246a(0x12f),this[_0x1f246a(0x12f)],this[_0x1f246a(0x12f)]);}[_0x8a6221(0x12b)](_0x1a5a55=bt){const _0xff53ce=_0x8a6221;return this[_0xff53ce(0x12f)][_0xff53ce(0x142)](_0x1a5a55)?this[_0xff53ce(0x12f)][_0xff53ce(0x96)](_0x1a5a55):Nt;}[_0x8a6221(0xa3)]({channelId:_0x871438,threadId:_0x24b3d5,comments:_0x2fe486,unlinkedAt:_0x27b7bc,resolvedAt:_0x3e6407,resolvedBy:_0x1da258,target:_0x28fcdf,context:_0x39eb63,attributes:_0x14b589,isFromAdapter:_0x2552aa,isResolvable:_0x24c090,isSubmitted:_0x6ff8d}){const _0x574d7=_0x8a6221;if(_0x574d7(0x9d)!=typeof _0x24b3d5)throw new _0x406869(_0x574d7(0x13f),null,{'threadId':_0x24b3d5});if(this[_0x574d7(0x152)](_0x24b3d5))throw new _0x406869(_0x574d7(0xb2),null,{'threadId':_0x24b3d5});const _0x32ad90=new CommentThread(this,{'channelId':_0x871438,'id':_0x24b3d5,'context':_0x39eb63,'attributes':_0x14b589,'unlinkedAt':_0x27b7bc,'resolvedAt':_0x3e6407,'resolvedBy':_0x1da258?this[_0x574d7(0xcd)][_0x574d7(0x135)][_0x574d7(0x96)](_0x4a5848)[_0x574d7(0x131)](_0x1da258):null,'isResolvable':_0x24c090,'isSubmitted':_0x6ff8d||_0x2552aa});this[_0x574d7(0x9f)][_0x574d7(0xad)](_0x24b3d5,_0x32ad90);for(const _0x1ffa49 of _0x2fe486)_0x32ad90[_0x574d7(0xc6)](this[_0x574d7(0x8b)]({'threadId':_0x24b3d5,..._0x1ffa49}));return _0x28fcdf&&_0x32ad90[_0x574d7(0xbc)](_0x28fcdf),_0x2552aa||!_0x32ad90[_0x574d7(0x134)]?Promise[_0x574d7(0xcf)]():this[_0x574d7(0x15d)]({'channelId':_0x871438,'threadId':_0x24b3d5});}[_0x8a6221(0x15d)]({channelId:_0x2e6052,threadId:_0x49f760}){const _0x5cdc8f=_0x8a6221;if(!this[_0x5cdc8f(0x152)](_0x49f760))throw new _0x406869(_0x5cdc8f(0xae),this);const _0x24ffd6=this[_0x5cdc8f(0x137)](_0x49f760);if(_0x24ffd6[_0x5cdc8f(0x14d)]=!0x0,!this[_0x5cdc8f(0x16c)]||_0x5cdc8f(0xb3)!=typeof this[_0x5cdc8f(0x16c)][_0x5cdc8f(0xff)])return Promise[_0x5cdc8f(0xcf)]();const {id:_0x3bc79c,comments:_0x2373d8,resolvedAt:_0x27fa97,resolvedBy:_0x3f2f28,context:_0x542fad,attributes:_0x12c64d}=_0x24ffd6,_0x4ce337=this[_0x5cdc8f(0xcd)][_0x5cdc8f(0x135)][_0x5cdc8f(0x96)](_0x5cdc8f(0x9c)),_0x336aa0=_0x4ce337[_0x5cdc8f(0xda)](_0x5eaa93(this[_0x5cdc8f(0xcd)][_0x5cdc8f(0x166)],_0x5cdc8f(0x132)));return this[_0x5cdc8f(0x16c)][_0x5cdc8f(0xff)]({'channelId':_0x2e6052,'threadId':_0x3bc79c,'comments':_0x2373d8[_0x5cdc8f(0xd7)](_0x312d64=>_0x312d64[_0x5cdc8f(0xe2)]()),'resolvedAt':_0x27fa97,'resolvedBy':_0x3f2f28?_0x3f2f28['id']:_0x3f2f28,'context':_0x542fad,'attributes':_0x12c64d})[_0x5cdc8f(0xac)](({comments:_0x408ce9})=>{const _0x25b645=_0x5cdc8f;_0x4ce337[_0x25b645(0xa0)](_0x336aa0);for(const _0x1d3b94 of _0x408ce9)this[_0x25b645(0x14f)]({'channelId':_0x2e6052,'threadId':_0x49f760,'commentId':_0x1d3b94[_0x25b645(0x108)],'createdAt':_0x1d3b94[_0x25b645(0xa6)],'isFromAdapter':!0x0});})[_0x5cdc8f(0x157)](_0x15bac7=>{const _0x3cb0f4=_0x5cdc8f;throw console[_0x3cb0f4(0xdf)](_0x15bac7),new _0x406869(_0x3cb0f4(0x172),this);});}[_0x8a6221(0x10b)]({threadId:_0x310068,target:_0x41a06d}){const _0x40ff59=_0x8a6221,_0x1a4c0f=this[_0x40ff59(0x137)](_0x310068);if(!_0x1a4c0f)throw new _0x406869(_0x40ff59(0x140),this);const _0x33d845=this[_0x40ff59(0xcd)][_0x40ff59(0x135)][_0x40ff59(0x96)](_0x40ff59(0x9c)),_0x48fe8e=this[_0x40ff59(0xcd)][_0x40ff59(0x135)][_0x40ff59(0x96)](_0x200293),_0x12bec6=this[_0x40ff59(0xf2)](_0x1a4c0f),_0x206b0d=new _0x37ca4b(_0x1a4c0f,_0x12bec6);let _0x40428b=null;_0x12bec6['on'](_0x40ff59(0x129),(_0x4cbfe7,_0x20da13,_0x567779)=>{const _0x1ed80a=_0x40ff59;_0x567779?_0x40428b=_0x33d845[_0x1ed80a(0xda)](_0x5eaa93(this[_0x1ed80a(0xcd)][_0x1ed80a(0x166)],_0x1ed80a(0x132))):_0x40428b&&(_0x33d845[_0x1ed80a(0xa0)](_0x40428b),_0x40428b=null);}),this[_0x40ff59(0x148)][_0x40ff59(0xad)](_0x1a4c0f,_0x206b0d),this[_0x40ff59(0x136)][_0x40ff59(0xad)](_0x12bec6,_0x206b0d);const _0x30b980=new _0x41d027(this[_0x40ff59(0xcd)][_0x40ff59(0x166)],_0x12bec6);_0x30b980[_0x40ff59(0xab)](_0x40ff59(0x134))['to'](_0x12bec6),_0x30b980[_0x40ff59(0xab)](_0x40ff59(0xbe))['to'](_0x12bec6,_0x40ff59(0xbe),_0x12bec6,_0x40ff59(0x134),(_0x2fc0c4,_0x3f79ac)=>_0x2fc0c4||!_0x3f79ac),_0x30b980[_0x40ff59(0xab)](_0x40ff59(0x125))['to'](_0x12bec6),_0x30b980[_0x40ff59(0xa7)]=_0x40ff59(0x13c);const _0x2b6314=new _0x27d050({'view':_0x30b980,'target':_0x41a06d,'type':_0x40ff59(0x13c),'isVisible':!_0x1a4c0f[_0x40ff59(0x14a)]&&!!(_0x40ff59(0xb3)==typeof _0x41a06d?_0x41a06d():_0x41a06d)});return _0x12bec6['on'](_0x40ff59(0x9a),()=>{const _0x303236=_0x40ff59;_0x2b6314[_0x303236(0x90)](_0x303236(0x9a));}),this[_0x40ff59(0x163)](_0x12bec6,_0x2b6314),_0x48fe8e[_0x40ff59(0xda)](_0x2b6314),_0x2b6314;}[_0x8a6221(0x163)](_0x106ab0,_0x5981a5){const _0x597d2f=_0x8a6221;this[_0x597d2f(0xca)](_0x106ab0,_0x597d2f(0xe0),(_0x38311d,_0x58d5a0)=>{const _0x3cc9c4=_0x597d2f,_0x5562b5=_0x58d5a0['ui'][_0x3cc9c4(0xcb)][_0x3cc9c4(0xfa)][_0x3cc9c4(0x109)];_0x5981a5[_0x3cc9c4(0x103)][_0x3cc9c4(0xda)](_0x5562b5),this[_0x3cc9c4(0xcd)]instanceof _0x2c2f28&&this[_0x3cc9c4(0xcd)]['ui'][_0x3cc9c4(0x12c)][_0x3cc9c4(0xda)](_0x5562b5);},{'priority':_0x597d2f(0x15c)}),this[_0x597d2f(0xca)](_0x106ab0,_0x597d2f(0x16b),(_0x1c16a5,_0x5be40c)=>{const _0x335c1c=_0x597d2f,_0x344c03=_0x5be40c['ui'][_0x335c1c(0xcb)][_0x335c1c(0xfa)][_0x335c1c(0x109)];_0x5981a5[_0x335c1c(0x103)][_0x335c1c(0x142)](_0x344c03)&&_0x5981a5[_0x335c1c(0x103)][_0x335c1c(0xa0)](_0x344c03),this[_0x335c1c(0xcd)]instanceof _0x2c2f28&&this[_0x335c1c(0xcd)]['ui'][_0x335c1c(0x12c)][_0x335c1c(0xa0)](_0x344c03);});}[_0x8a6221(0x15b)](_0x8408be){const _0x242016=_0x8a6221;this[_0x242016(0x150)](_0x8408be,_0x242016(0xe0)),this[_0x242016(0x150)](_0x8408be,_0x242016(0x16b));}[_0x8a6221(0xf2)](_0x5e9975){const _0x301edd=_0x8a6221,_0x55464a=this[_0x301edd(0xcd)][_0x301edd(0x135)][_0x301edd(0x96)](_0x4a5848),{config:_0x3727fe,locale:_0x2000e1}=this[_0x301edd(0xcd)],_0x3f604d=_0x226bc6(_0x3727fe[_0x301edd(0x96)](_0x301edd(0x166)),_0x2000e1);return new(0x0,(_0x3727fe[_0x301edd(0x96)](_0x301edd(0xba)))[(_0x301edd(0xd0))])(_0x2000e1,_0x5e9975,_0x55464a['me'],{'editorConfig':{..._0x3727fe[_0x301edd(0x96)](_0x301edd(0xb0)),'licenseKey':this[_0x301edd(0xcd)][_0x301edd(0xf1)][_0x301edd(0x96)](_0x301edd(0xb5))},'copyMarkers':_0x3727fe[_0x301edd(0x96)](_0x301edd(0x16f)),'maxCommentsWhenCollapsed':_0x3727fe[_0x301edd(0x96)](_0x301edd(0x10d)),'maxThreadTotalWeight':_0x3727fe[_0x301edd(0x96)](_0x301edd(0xc1)),'maxCommentCharsWhenCollapsed':_0x3727fe[_0x301edd(0x96)](_0x301edd(0x14c)),'formatDateTime':_0x3f604d,'CommentView':_0x3727fe[_0x301edd(0x96)](_0x301edd(0xba))[_0x301edd(0x8f)]});}[_0x8a6221(0x95)]({threadId:_0x179666,channelId:_0x20ec68,resolvedAt:_0xa2ac1f,resolvedBy:_0x3b6e14,isFromAdapter:_0x521752}){const _0x5764ef=_0x8a6221;if(!this[_0x5764ef(0x152)](_0x179666))throw new _0x406869(_0x5764ef(0xae),null,{'threadId':_0x179666});const _0x18213f=this[_0x5764ef(0x137)](_0x179666);if(_0x18213f[_0x5764ef(0x146)])throw new _0x406869(_0x5764ef(0x139),null,{'threadId':_0x179666});const _0x1bdb12=this[_0x5764ef(0xcd)][_0x5764ef(0x135)][_0x5764ef(0x96)](_0x4a5848);if(_0x18213f[_0x5764ef(0x141)]=_0x1bdb12[_0x5764ef(0x131)](_0x3b6e14),_0x18213f[_0x5764ef(0xe6)]=_0xa2ac1f,_0x521752||!this[_0x5764ef(0x16c)]||_0x5764ef(0xb3)!=typeof this[_0x5764ef(0x16c)][_0x5764ef(0xf7)])return Promise[_0x5764ef(0xcf)]();const _0x52ad49=this[_0x5764ef(0xcd)][_0x5764ef(0x135)][_0x5764ef(0x96)](_0x5764ef(0x9c)),_0xce9ea3=_0x52ad49[_0x5764ef(0xda)](_0x5eaa93(this[_0x5764ef(0xcd)][_0x5764ef(0x166)],_0x5764ef(0x132)));return this[_0x5764ef(0x16c)][_0x5764ef(0xf7)]({'channelId':_0x20ec68,'threadId':_0x179666})[_0x5764ef(0xac)](({resolvedAt:_0x4ddc7c,resolvedBy:_0x587ac2})=>{const _0x5a8761=_0x5764ef;_0x52ad49[_0x5a8761(0xa0)](_0xce9ea3),_0x18213f[_0x5a8761(0x141)]['id']!==_0x587ac2&&(_0x18213f[_0x5a8761(0x141)]=_0x1bdb12[_0x5a8761(0x131)](_0x587ac2)),_0x18213f[_0x5a8761(0xe6)]=_0x4ddc7c;})[_0x5764ef(0x157)](_0x17157b=>{const _0x8aee1d=_0x5764ef;throw console[_0x8aee1d(0xdf)](_0x17157b),new _0x406869(_0x8aee1d(0xc0),this);});}[_0x8a6221(0x159)]({threadId:_0x180175,channelId:_0x35c330,isFromAdapter:_0x50ed3d}){const _0x51e077=_0x8a6221;if(!this[_0x51e077(0x152)](_0x180175))throw new _0x406869(_0x51e077(0xae),null,{'threadId':_0x180175});const _0x225d67=this[_0x51e077(0x137)](_0x180175);if(!_0x225d67[_0x51e077(0x146)])throw new _0x406869(_0x51e077(0x91),null,{'threadId':_0x180175});if(_0x225d67[_0x51e077(0x141)]=null,_0x225d67[_0x51e077(0xe6)]=null,_0x50ed3d||!this[_0x51e077(0x16c)]||_0x51e077(0xb3)!=typeof this[_0x51e077(0x16c)][_0x51e077(0x123)])return Promise[_0x51e077(0xcf)]();const _0x99f1b3=this[_0x51e077(0xcd)][_0x51e077(0x135)][_0x51e077(0x96)](_0x51e077(0x9c)),_0x48ca89=_0x99f1b3[_0x51e077(0xda)](_0x5eaa93(this[_0x51e077(0xcd)][_0x51e077(0x166)],_0x51e077(0x132)));return this[_0x51e077(0x16c)][_0x51e077(0x123)]({'channelId':_0x35c330,'threadId':_0x180175})[_0x51e077(0xac)](()=>_0x99f1b3[_0x51e077(0xa0)](_0x48ca89))[_0x51e077(0x157)](_0x3a47b0=>{const _0x1b03ed=_0x51e077;throw console[_0x1b03ed(0xdf)](_0x3a47b0),new _0x406869(_0x1b03ed(0xc8),this);});}[_0x8a6221(0xdd)]({threadId:_0x1377f3,isFromAdapter:_0x30dc7b}){const _0x3a63e7=_0x8a6221,_0x3c6ce1=this[_0x3a63e7(0x137)](_0x1377f3);if(!_0x3c6ce1)throw new _0x406869(_0x3a63e7(0x164),this);if(this[_0x3a63e7(0xc4)](_0x1377f3),this[_0x3a63e7(0x9f)][_0x3a63e7(0x167)](_0x1377f3),!_0x3c6ce1[_0x3a63e7(0xc9)]||_0x30dc7b||!this[_0x3a63e7(0x16c)]||_0x3a63e7(0xb3)!=typeof this[_0x3a63e7(0x16c)][_0x3a63e7(0x124)])return Promise[_0x3a63e7(0xcf)]();const _0x4a31cc=this[_0x3a63e7(0xcd)][_0x3a63e7(0x135)][_0x3a63e7(0x96)](_0x3a63e7(0x9c)),{channelId:_0x149082}=_0x3c6ce1,_0x4729cc=_0x4a31cc[_0x3a63e7(0xda)](_0x5eaa93(this[_0x3a63e7(0xcd)][_0x3a63e7(0x166)],_0x3a63e7(0x132)));return this[_0x3a63e7(0x16c)][_0x3a63e7(0x124)]({'channelId':_0x149082,'threadId':_0x1377f3})[_0x3a63e7(0xac)](()=>_0x4a31cc[_0x3a63e7(0xa0)](_0x4729cc))[_0x3a63e7(0x157)](_0x35563d=>{const _0x21411f=_0x3a63e7;throw console[_0x21411f(0xdf)](_0x35563d),new _0x406869(_0x21411f(0xbf),this);});}[_0x8a6221(0x15a)]({threadId:_0x524400,unlinkedAt:_0x4c3875,context:_0x5058ce,attributes:_0x78951a,isFromAdapter:_0x42297a}){const _0x2f3472=_0x8a6221;if(_0x2f3472(0x9d)!=typeof _0x524400)throw new _0x406869(_0x2f3472(0x13f),null,{'threadId':_0x524400});if(!this[_0x2f3472(0x152)](_0x524400))throw new _0x406869(_0x2f3472(0xae),null,{'threadId':_0x524400});const _0x50f10c=this[_0x2f3472(0x137)](_0x524400);let _0x5b5dce=!0x1;if(void 0x0!==_0x5058ce&&_0x50f10c[_0x2f3472(0xcd)]!==_0x5058ce&&(_0x50f10c[_0x2f3472(0xcd)]=_0x5058ce,_0x5b5dce=!0x0),void 0x0!==_0x4c3875&&_0x50f10c[_0x2f3472(0x127)]!==_0x4c3875&&(_0x50f10c[_0x2f3472(0x127)]=_0x4c3875,_0x5b5dce=!0x0),_0x78951a&&!_0x27f3ce(_0x78951a,_0x50f10c[_0x2f3472(0x165)])&&(_0x50f10c[_0x2f3472(0x165)]=_0x78951a,_0x5b5dce=!0x0),!_0x5b5dce)return Promise[_0x2f3472(0xcf)]();if(!_0x50f10c[_0x2f3472(0xc9)]||_0x42297a||!this[_0x2f3472(0x16c)]||_0x2f3472(0xb3)!=typeof this[_0x2f3472(0x16c)][_0x2f3472(0x117)])return Promise[_0x2f3472(0xcf)]();const _0x174795=this[_0x2f3472(0xcd)][_0x2f3472(0x135)][_0x2f3472(0x96)](_0x2f3472(0x9c)),{channelId:_0x364644}=_0x50f10c,_0xcdcae0=_0x174795[_0x2f3472(0xda)](_0x5eaa93(this[_0x2f3472(0xcd)][_0x2f3472(0x166)],_0x2f3472(0x132)));return this[_0x2f3472(0x16c)][_0x2f3472(0x117)]({'channelId':_0x364644,'threadId':_0x524400,'context':_0x5058ce,'unlinkedAt':_0x4c3875,'attributes':_0x78951a})[_0x2f3472(0xac)](()=>_0x174795[_0x2f3472(0xa0)](_0xcdcae0))[_0x2f3472(0x157)](_0x3e9b2e=>{const _0x2161b6=_0x2f3472;throw console[_0x2161b6(0xdf)](_0x3e9b2e),new _0x406869(_0x2161b6(0x11c),this);});}[_0x8a6221(0xc4)](_0x319c67){const _0x4cab46=_0x8a6221,_0x472019=this[_0x4cab46(0xcd)][_0x4cab46(0x135)][_0x4cab46(0x96)](_0x200293),_0x57b826=this[_0x4cab46(0x137)](_0x319c67);if(_0x57b826[_0x4cab46(0xee)]=!0x1,this[_0x4cab46(0x148)][_0x4cab46(0x142)](_0x57b826)){const _0x306457=this[_0x4cab46(0x148)][_0x4cab46(0x96)](_0x57b826),_0x474b88=_0x306457[_0x4cab46(0xcb)],_0x1ccd6e=_0x472019[_0x4cab46(0xfd)](_0x474b88);this[_0x4cab46(0x148)][_0x4cab46(0x167)](_0x57b826),this[_0x4cab46(0x136)][_0x4cab46(0x167)](_0x474b88),_0x1ccd6e&&_0x472019[_0x4cab46(0xa0)](_0x1ccd6e),_0x306457[_0x4cab46(0x8e)](),_0x474b88[_0x4cab46(0x8e)]()[_0x4cab46(0xac)](()=>{const _0x573e7f=_0x4cab46;this[_0x573e7f(0x15b)](_0x474b88);});}}[_0x8a6221(0x92)]({threadId:_0xee1c44,resolvedAt:_0x2a557d,unlinkedAt:_0x3cd2e9}){const _0x318731=_0x8a6221,_0x3a5c86=!!_0x2a557d,_0x316a9e=this[_0x318731(0xcd)][_0x318731(0x135)][_0x318731(0x96)](_0x200293),_0x3acf3c=this[_0x318731(0x137)](_0xee1c44);if(this[_0x318731(0x148)][_0x318731(0x142)](_0x3acf3c)){const _0x656cdd=this[_0x318731(0x148)][_0x318731(0x96)](_0x3acf3c)[_0x318731(0xcb)],_0x5965c5=_0x316a9e[_0x318731(0xfd)](_0x656cdd);_0x5965c5&&(_0x3a5c86&&_0x316a9e[_0x318731(0x110)](_0x5965c5),_0x3cd2e9?_0x5965c5[_0x318731(0xd1)]=!0x1:_0x5965c5[_0x318731(0xa8)]());}}[_0x8a6221(0xe7)](_0x1b7f94){const _0x526e97=_0x8a6221,_0x26b193=this[_0x526e97(0xcd)][_0x526e97(0x135)][_0x526e97(0x96)](_0x4a5848),_0x1164c4=_0x257abc(_0x526e97(0xe3)+_0x1b7f94),_0x2cabe8=_0x26b193[_0x526e97(0x131)](_0x1164c4);return _0x2cabe8||_0x26b193[_0x526e97(0x149)]({'id':_0x1164c4,'name':_0x1b7f94});}[_0x8a6221(0x8b)]({threadId:_0x58c513,commentId:_0x9ef5bc=_0x222537(),content:_0x2076d3,authorId:_0x2864b3,createdAt:_0x4a64b9,attributes:_0x1d53f4}){const _0x22a3e3=_0x8a6221;if(_0x22a3e3(0x9d)!=typeof _0x9ef5bc)throw new _0x406869(_0x22a3e3(0x106));if(_0x22a3e3(0x9d)!=typeof _0x2864b3)throw new _0x406869(_0x22a3e3(0x153));if(_0x22a3e3(0x9d)!=typeof _0x2076d3||!_0x2076d3[_0x22a3e3(0xc7)]())throw new _0x406869(_0x22a3e3(0xe5));const _0x29583b=this[_0x22a3e3(0xcd)][_0x22a3e3(0x135)][_0x22a3e3(0x96)](_0x4a5848)[_0x22a3e3(0x131)](_0x2864b3);if(!_0x29583b)throw new _0x406869(_0x22a3e3(0x158),null,{'authorId':_0x2864b3});let _0x313f02=null,_0x344f35=_0x4a64b9;return _0x1d53f4?.[_0x22a3e3(0x161)]&&(_0x313f02=this[_0x22a3e3(0xe7)](_0x1d53f4[_0x22a3e3(0x161)][_0x22a3e3(0xce)]),_0x344f35=new Date(_0x1d53f4[_0x22a3e3(0x161)][_0x22a3e3(0xa6)])),new Comment(this,{'threadId':_0x58c513,'id':_0x9ef5bc,'author':_0x313f02||_0x29583b,'creator':_0x29583b,'content':_0x2076d3,'createdAt':_0x4a64b9,'authoredAt':_0x344f35,'attributes':_0x1d53f4});}[_0x8a6221(0x122)](_0x466d46){const _0x39b024=_0x8a6221;let {threadId:_0x4d1b1d,content:_0x569f45,attributes:_0xb099df,isFromAdapter:_0x114fc0}=_0x466d46;const _0x24982d=this[_0x39b024(0x137)](_0x466d46[_0x39b024(0xea)]);if(!_0x24982d)throw new _0x406869(_0x39b024(0x143),this);const _0x176bad=this[_0x39b024(0x8b)](_0x466d46),{id:_0x18a060}=_0x176bad;if(_0x24982d[_0x39b024(0xc6)](_0x176bad),_0x114fc0||!this[_0x39b024(0x16c)]||_0x39b024(0xb3)!=typeof this[_0x39b024(0x16c)][_0x39b024(0xf3)]||!_0x24982d[_0x39b024(0xc9)])return Promise[_0x39b024(0xcf)]();const _0x341590=this[_0x39b024(0xcd)][_0x39b024(0x135)][_0x39b024(0x96)](_0x39b024(0x9c)),{channelId:_0x1ca8be}=_0x24982d,_0x219dfc=_0x341590[_0x39b024(0xda)](_0x5eaa93(this[_0x39b024(0xcd)][_0x39b024(0x166)],_0x39b024(0x132)));return _0xb099df||(_0xb099df={}),this[_0x39b024(0x16c)][_0x39b024(0xf3)]({'channelId':_0x1ca8be,'threadId':_0x4d1b1d,'commentId':_0x18a060,'content':_0x569f45,'attributes':_0xb099df})[_0x39b024(0xac)](_0x3e9d72=>{const _0x3a1525=_0x39b024;_0x341590[_0x3a1525(0xa0)](_0x219dfc),_0x3e9d72&&this[_0x3a1525(0x14f)]({'channelId':_0x1ca8be,'threadId':_0x4d1b1d,'commentId':_0x18a060,'createdAt':_0x3e9d72[_0x3a1525(0xa6)],'isFromAdapter':!0x0});})[_0x39b024(0x157)](_0x133d29=>{const _0x353dee=_0x39b024;throw console[_0x353dee(0xdf)](_0x133d29),new _0x406869(_0x353dee(0x98),this);});}[_0x8a6221(0x14f)]({threadId:_0x43f350,commentId:_0x567891,content:_0x36e14a,createdAt:_0x4cfc49,attributes:_0x382aef,isFromAdapter:_0x6ff6c4}){const _0x3ef64a=_0x8a6221;if(void 0x0!==_0x36e14a&&(_0x3ef64a(0x9d)!=typeof _0x36e14a||!_0x36e14a[_0x3ef64a(0xc7)]()[_0x3ef64a(0x134)]))throw new _0x406869(_0x3ef64a(0x118));const _0x45c610=this[_0x3ef64a(0x137)](_0x43f350),_0x5f1553=_0x45c610[_0x3ef64a(0xb7)](_0x567891);if(!_0x5f1553)throw new _0x406869(_0x3ef64a(0xfc),this);let _0x5764a9=!0x1;if(_0x36e14a&&_0x36e14a!==_0x5f1553[_0x3ef64a(0x89)]&&(_0x5f1553[_0x3ef64a(0x116)]||_0x6ff6c4)&&(_0x5f1553[_0x3ef64a(0x89)]=_0x36e14a,_0x5764a9=!0x0),_0x4cfc49&&_0x4cfc49!==_0x5f1553[_0x3ef64a(0xa6)]&&(_0x5f1553[_0x3ef64a(0xa6)]=_0x4cfc49,_0x5f1553[_0x3ef64a(0x165)]&&_0x5f1553[_0x3ef64a(0x165)][_0x3ef64a(0x161)]||(_0x5f1553[_0x3ef64a(0x119)]=_0x4cfc49),_0x5764a9=!0x0),_0x382aef&&!_0x27f3ce(_0x382aef,_0x5f1553[_0x3ef64a(0x165)])&&(_0x5f1553[_0x3ef64a(0x165)]=_0x382aef,_0x5764a9=!0x0),!_0x5764a9)return Promise[_0x3ef64a(0xcf)]();if(_0x45c610[_0x3ef64a(0x90)](_0x3ef64a(0x11a)),_0x6ff6c4||!this[_0x3ef64a(0x16c)]||_0x3ef64a(0xb3)!=typeof this[_0x3ef64a(0x16c)][_0x3ef64a(0x13a)])return Promise[_0x3ef64a(0xcf)]();const _0x3cbd99=this[_0x3ef64a(0xcd)][_0x3ef64a(0x135)][_0x3ef64a(0x96)](_0x3ef64a(0x9c)),{channelId:_0x4d20fd}=this[_0x3ef64a(0x137)](_0x5f1553[_0x3ef64a(0xea)]),_0xaaff84=_0x3cbd99[_0x3ef64a(0xda)](_0x5eaa93(this[_0x3ef64a(0xcd)][_0x3ef64a(0x166)],_0x3ef64a(0x132)));return this[_0x3ef64a(0x16c)][_0x3ef64a(0x13a)]({'channelId':_0x4d20fd,'threadId':_0x43f350,'commentId':_0x567891,'content':_0x36e14a,'attributes':_0x382aef})[_0x3ef64a(0xac)](()=>_0x3cbd99[_0x3ef64a(0xa0)](_0xaaff84))[_0x3ef64a(0x157)](_0x3965d8=>{const _0x2c0e67=_0x3ef64a;throw console[_0x2c0e67(0xdf)](_0x3965d8),new _0x406869(_0x2c0e67(0xf0),this);});}[_0x8a6221(0x10f)]({threadId:_0x47ad7c,commentId:_0x3d9f20,isFromAdapter:_0x146579}){const _0x3b9a0b=_0x8a6221,_0x36348d=this[_0x3b9a0b(0x137)](_0x47ad7c),_0x26a36a=_0x36348d[_0x3b9a0b(0xb7)](_0x3d9f20);if(!_0x26a36a)throw new _0x406869(_0x3b9a0b(0x160),this);if(_0x36348d[_0x3b9a0b(0x12d)](_0x26a36a),_0x146579||!this[_0x3b9a0b(0x16c)]||_0x3b9a0b(0xb3)!=typeof this[_0x3b9a0b(0x16c)][_0x3b9a0b(0xb6)])return Promise[_0x3b9a0b(0xcf)]();const _0x2ed9dc=this[_0x3b9a0b(0xcd)][_0x3b9a0b(0x135)][_0x3b9a0b(0x96)](_0x3b9a0b(0x9c)),{channelId:_0x3429a0}=_0x36348d,_0x196c5d=_0x2ed9dc[_0x3b9a0b(0xda)](_0x5eaa93(this[_0x3b9a0b(0xcd)][_0x3b9a0b(0x166)],_0x3b9a0b(0x132)));return this[_0x3b9a0b(0x16c)][_0x3b9a0b(0xb6)]({'channelId':_0x3429a0,'threadId':_0x47ad7c,'commentId':_0x3d9f20})[_0x3b9a0b(0xac)](()=>_0x2ed9dc[_0x3b9a0b(0xa0)](_0x196c5d))[_0x3b9a0b(0x157)](_0x60168a=>{const _0x25e5ff=_0x3b9a0b;throw console[_0x25e5ff(0xdf)](_0x60168a),new _0x406869(_0x25e5ff(0x156),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0x538efc(){[_0x8a6221(0xec)];['id'];[_0x8a6221(0xee)];[_0x8a6221(0x14d)];[_0x8a6221(0xba)];[_0x8a6221(0xcc)];constructor(_0x123d2f,_0x4d0641){const _0x4f5bc6=_0x8a6221;super();const _0x29df22=_0x4d0641[_0x4f5bc6(0xfe)];this[_0x4f5bc6(0xec)]=_0x4d0641[_0x4f5bc6(0xec)],this['id']=_0x4d0641['id'],this[_0x4f5bc6(0xba)]=new _0x8e02ff(),this[_0x4f5bc6(0xcc)]=_0x123d2f,this[_0x4f5bc6(0xee)]=!0x1,this[_0x4f5bc6(0x14d)]=_0x4d0641[_0x4f5bc6(0xc9)],this[_0x4f5bc6(0xad)](_0x4f5bc6(0x99),!0x0),this[_0x4f5bc6(0xab)](_0x4f5bc6(0x170))['to'](_0x123d2f,_0x4f5bc6(0x12f),_0x123d2f,_0x4f5bc6(0xd3),()=>_0x123d2f[_0x4f5bc6(0x170)](this[_0x4f5bc6(0xec)])),this[_0x4f5bc6(0xab)](_0x4f5bc6(0x9e))['to'](_0x123d2f,_0x4f5bc6(0x12f),()=>_0x123d2f[_0x4f5bc6(0x12b)](this[_0x4f5bc6(0xec)])[_0x4f5bc6(0x169)]),this[_0x4f5bc6(0xab)](_0x4f5bc6(0x93))['to'](_0x123d2f,_0x4f5bc6(0x12f),()=>{const _0x318413=_0x4f5bc6,_0x4a4b05=_0x123d2f[_0x318413(0x12b)](this[_0x318413(0xec)]);return _0x4a4b05[_0x318413(0xdc)]||_0x4a4b05[_0x318413(0x169)];}),this[_0x4f5bc6(0xab)](_0x4f5bc6(0xfe))['to'](_0x123d2f,_0x4f5bc6(0x12f),()=>_0x29df22&&_0x123d2f[_0x4f5bc6(0x12b)](this[_0x4f5bc6(0xec)])[_0x4f5bc6(0xcf)]),this[_0x4f5bc6(0xad)](_0x4f5bc6(0xcd),_0x4d0641[_0x4f5bc6(0xcd)]),this[_0x4f5bc6(0xab)](_0x4f5bc6(0x14a))['to'](this,_0x4f5bc6(0xe6),this,_0x4f5bc6(0x127),(_0x204125,_0x3849ca)=>_0x204125?_0x3849ca?_0x204125<_0x3849ca?_0x204125:_0x3849ca:_0x204125:_0x3849ca),this[_0x4f5bc6(0xad)](_0x4f5bc6(0x127),_0x4d0641[_0x4f5bc6(0x127)]||null),this[_0x4f5bc6(0xad)](_0x4f5bc6(0xe6),_0x4d0641[_0x4f5bc6(0xe6)]||null),this[_0x4f5bc6(0xad)](_0x4f5bc6(0x141),_0x4d0641[_0x4f5bc6(0x141)]||null),this[_0x4f5bc6(0xab)](_0x4f5bc6(0x146))['to'](this,_0x4f5bc6(0xe6),_0x251f74=>!!_0x251f74),this[_0x4f5bc6(0xad)](_0x4f5bc6(0x165),_0x4d0641[_0x4f5bc6(0x165)]||{});}get[_0x8a6221(0xd2)](){const _0x26e166=_0x8a6221;return Array[_0x26e166(0x12a)](this[_0x26e166(0xba)])[_0x26e166(0x112)]((_0xe6b654,_0x2005b8)=>_0xe6b654+_0x2005b8[_0x26e166(0xd2)],0x0);}get[_0x8a6221(0x134)](){const _0x3328a4=_0x8a6221;return this[_0x3328a4(0xba)][_0x3328a4(0x134)];}get[_0x8a6221(0x16e)](){const _0x59cf68=_0x8a6221;return this[_0x59cf68(0xee)];}get[_0x8a6221(0xc9)](){const _0xa468f6=_0x8a6221;return this[_0xa468f6(0x14d)];}[_0x8a6221(0xd5)](){const _0x4b861e=_0x8a6221,{channelId:_0x422e80,id:_0x3c4903}=this;this[_0x4b861e(0xcc)][_0x4b861e(0x90)](xt(_0x4b861e(0x8c),_0x422e80),{'channelId':_0x422e80,'threadId':_0x3c4903});}[_0x8a6221(0xa2)](_0x45f050){const _0x1c0c4d=_0x8a6221;this[_0x1c0c4d(0xb8)]({'unlinkedAt':_0x45f050});}[_0x8a6221(0xcf)]({resolvedAt:_0x2f09a7=new Date(),resolvedBy:_0x326073='',isFromAdapter:_0x29ef91=!0x1}={}){const _0x7cd7c3=_0x8a6221,_0x505631=this[_0x7cd7c3(0xcc)][_0x7cd7c3(0xcd)][_0x7cd7c3(0x135)][_0x7cd7c3(0x96)](_0x4a5848)['me'],{channelId:_0x103c9c,id:_0x4f173a}=this;this[_0x7cd7c3(0xcc)][_0x7cd7c3(0x90)](xt(_0x7cd7c3(0xf7),_0x103c9c),{'channelId':_0x103c9c,'threadId':_0x4f173a,'resolvedAt':_0x2f09a7,'resolvedBy':_0x326073||_0x505631['id'],'isFromAdapter':_0x29ef91});}[_0x8a6221(0x104)]({isFromAdapter:_0x17eacc=!0x1}={}){const _0x4399dd=_0x8a6221,{channelId:_0x5870c9,id:_0x11918b}=this;this[_0x4399dd(0xcc)][_0x4399dd(0x90)](xt(_0x4399dd(0x123),_0x5870c9),{'channelId':_0x5870c9,'threadId':_0x11918b,'isFromAdapter':_0x17eacc});}[_0x8a6221(0x111)](_0x831c4e){const _0x49bfac=_0x8a6221;this[_0x49bfac(0xcd)]||this[_0x49bfac(0xb8)]({'context':_0x831c4e});}[_0x8a6221(0xaa)](_0x5e0fed,_0x1a1e95){const _0x38011a=_0x8a6221,_0x2bafe7=_0x32dc6b(this[_0x38011a(0x165)]);_0x25cc12(_0x2bafe7,_0x5e0fed,_0x1a1e95),this[_0x38011a(0xb8)]({'attributes':_0x2bafe7});}[_0x8a6221(0x12e)](_0x22cbb3){const _0x29d10d=_0x8a6221,_0x21ebd5=_0x32dc6b(this[_0x29d10d(0x165)]);_0x569220(_0x21ebd5,_0x22cbb3),this[_0x29d10d(0xb8)]({'attributes':_0x21ebd5});}[_0x8a6221(0xa0)]({isFromAdapter:_0x1c84c9=!0x1}={}){const _0x1a6877=_0x8a6221,{channelId:_0x47fa11,id:_0x5ec551}=this;this[_0x1a6877(0xcc)][_0x1a6877(0x90)](xt(_0x1a6877(0x124),_0x47fa11),{'channelId':_0x47fa11,'threadId':_0x5ec551,'isFromAdapter':_0x1c84c9});}[_0x8a6221(0xbc)](_0x134f7a){const _0x2278b=_0x8a6221;return this[_0x2278b(0xcc)][_0x2278b(0x10b)]({'threadId':this['id'],'target':_0x134f7a});}[_0x8a6221(0xf3)](_0x5a64d5){const _0x4c9254=_0x8a6221,{channelId:_0x1b715c,id:_0x17cf47}=this;this[_0x4c9254(0xcc)][_0x4c9254(0x90)](xt(_0x4c9254(0xf3),_0x1b715c,_0x17cf47),Object[_0x4c9254(0xf8)]({'channelId':_0x1b715c,'threadId':_0x17cf47},_0x5a64d5));}[_0x8a6221(0xb7)](_0x2c345b){const _0xc6bbfb=_0x8a6221;if(_0xc6bbfb(0x9d)!=typeof _0x2c345b)throw new _0x406869(_0xc6bbfb(0x133),null,{'commentId':_0x2c345b});return this[_0xc6bbfb(0xba)][_0xc6bbfb(0x96)](_0x2c345b);}[_0x8a6221(0xe2)](){const _0x3be5f7=_0x8a6221;return{'threadId':this['id'],'context':this[_0x3be5f7(0xcd)],'unlinkedAt':this[_0x3be5f7(0x127)],'resolvedAt':this[_0x3be5f7(0xe6)],'resolvedBy':this[_0x3be5f7(0x141)]?this[_0x3be5f7(0x141)]['id']:null,'archivedAt':this[_0x3be5f7(0x14a)],'comments':this[_0x3be5f7(0xba)][_0x3be5f7(0xd7)](_0x282cca=>_0x282cca[_0x3be5f7(0xe2)]()),'attributes':this[_0x3be5f7(0x165)]};}[_0x8a6221(0xc6)](_0xe9170e){const _0x1f758=_0x8a6221;return this[_0x1f758(0xca)](_0xe9170e,_0x1f758(0x154),()=>{const _0x1c519a=_0x1f758,_0x438ae6=this[_0x1c519a(0x151)](_0xe9170e),_0xfba599=this[_0x1c519a(0xba)];_0x438ae6-0x1!=_0xfba599[_0x1c519a(0x100)](_0xe9170e)&&_0x438ae6+0x1!=_0xfba599[_0x1c519a(0x100)](_0xe9170e)&&(this[_0x1c519a(0x12d)](_0xe9170e),this[_0x1c519a(0xc6)](_0xe9170e));}),this[_0x1f758(0xba)][_0x1f758(0xda)](_0xe9170e,this[_0x1f758(0x151)](_0xe9170e));}[_0x8a6221(0xb8)](_0x28c3cd){const _0x3fac02=_0x8a6221,{channelId:_0x1ee5c2,id:_0x4dec01}=this;this[_0x3fac02(0xcc)][_0x3fac02(0x90)](xt(_0x3fac02(0x117),_0x1ee5c2),{..._0x28c3cd,'channelId':_0x1ee5c2,'threadId':_0x4dec01});}[_0x8a6221(0x12d)](_0x43c158){const _0x3e6d50=_0x8a6221;return this[_0x3e6d50(0x150)](_0x43c158),_0x43c158[_0x3e6d50(0x8e)](),this[_0x3e6d50(0xba)][_0x3e6d50(0xa0)](_0x43c158);}[_0x8a6221(0x151)](_0x2034ab){const _0x3fe103=_0x8a6221,_0x4c4097=this[_0x3fe103(0xba)][_0x3fe103(0x171)](_0x417380=>new Date(_0x417380[_0x3fe103(0x119)])[_0x3fe103(0xe4)]()>new Date(_0x2034ab[_0x3fe103(0x119)])[_0x3fe103(0xe4)]());return _0x4c4097?this[_0x3fe103(0xba)][_0x3fe103(0x100)](_0x4c4097):this[_0x3fe103(0x134)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0x538efc(){['id'];[_0x8a6221(0xea)];[_0x8a6221(0xe8)];[_0x8a6221(0xef)];[_0x8a6221(0xdb)];[_0x8a6221(0xa6)];[_0x8a6221(0xcc)];constructor(_0x458bbb,_0x5c0f35){const _0x231fa9=_0x8a6221;super();const _0x54baea=_0x458bbb[_0x231fa9(0xcd)][_0x231fa9(0x135)][_0x231fa9(0x96)](_0x4a5848)['me'],_0x18c5c3=_0x458bbb[_0x231fa9(0x137)](_0x5c0f35[_0x231fa9(0xea)]),_0x88c12f=0x0===_0x18c5c3[_0x231fa9(0xba)][_0x231fa9(0x134)],_0x34a206=_0x54baea===_0x5c0f35[_0x231fa9(0xe8)];this['id']=_0x5c0f35['id'],this[_0x231fa9(0xea)]=_0x5c0f35[_0x231fa9(0xea)],this[_0x231fa9(0xe8)]=_0x5c0f35[_0x231fa9(0xe8)],this[_0x231fa9(0xef)]=_0x5c0f35[_0x231fa9(0xef)],this[_0x231fa9(0xdb)]=Boolean(_0x5c0f35[_0x231fa9(0x165)]&&_0x5c0f35[_0x231fa9(0x165)][_0x231fa9(0x161)]),this[_0x231fa9(0xad)](_0x231fa9(0x89),_0x5c0f35[_0x231fa9(0x89)]),this[_0x231fa9(0xa6)]=_0x5c0f35[_0x231fa9(0xa6)]||new Date(),this[_0x231fa9(0xad)](_0x231fa9(0x119),_0x5c0f35[_0x231fa9(0x119)]||new Date()),this[_0x231fa9(0xab)](_0x231fa9(0xe6))['to'](_0x18c5c3,_0x231fa9(0xe6)),this[_0x231fa9(0xad)](_0x231fa9(0x165),_0x5c0f35[_0x231fa9(0x165)]||{}),this[_0x231fa9(0xab)](_0x231fa9(0x116))['to'](_0x458bbb,_0x231fa9(0x12f),()=>{const _0xad1691=_0x231fa9,_0x213d7d=_0x458bbb[_0xad1691(0x12b)](_0x18c5c3[_0xad1691(0xec)])[_0xad1691(0xdc)],_0x3aca54=_0x458bbb[_0xad1691(0x12b)](_0x18c5c3[_0xad1691(0xec)])[_0xad1691(0x11f)];return _0x34a206&&_0x213d7d||!_0x34a206&&_0x3aca54;}),this[_0x231fa9(0xab)](_0x231fa9(0x9e))['to'](_0x18c5c3,_0x231fa9(0x9e),_0x458bbb,_0x231fa9(0x12f),_0x25462a=>{const _0x30509b=_0x231fa9,_0x12e9b2=_0x458bbb[_0x30509b(0x12b)](_0x18c5c3[_0x30509b(0xec)])[_0x30509b(0xdc)],_0x507f1f=_0x458bbb[_0x30509b(0x12b)](_0x18c5c3[_0x30509b(0xec)])[_0x30509b(0x11f)];return _0x34a206&&_0x12e9b2||_0x25462a&&_0x88c12f||!_0x34a206&&_0x507f1f&&!_0x88c12f;}),this[_0x231fa9(0xab)](_0x231fa9(0x170))['to'](_0x18c5c3,_0x231fa9(0x170)),this[_0x231fa9(0xcc)]=_0x458bbb;}get[_0x8a6221(0xd2)](){const _0x34a7f5=_0x8a6221;return Math[_0x34a7f5(0xd4)](function(_0x35783a){const _0x2454b8=_0x34a7f5,_0x5e006=document[_0x2454b8(0xa5)](_0x2454b8(0x16d));return _0x5e006[_0x2454b8(0xc3)]=_0x35783a,_0x5e006[_0x2454b8(0x105)][_0x2454b8(0x134)];}(this[_0x34a7f5(0x89)]),0xc8);}[_0x8a6221(0x168)](_0x1044d4){const _0x881a6a=_0x8a6221,{threadId:_0x58553f,id:_0x1336a5}=this;if(!this[_0x881a6a(0xcc)][_0x881a6a(0x152)](_0x58553f))throw new _0x406869(_0x881a6a(0xd6),this);const {channelId:_0x3e9608}=this[_0x881a6a(0xcc)][_0x881a6a(0x137)](_0x58553f);this[_0x881a6a(0xcc)][_0x881a6a(0x90)](xt(_0x881a6a(0x13a),_0x3e9608,_0x58553f),{'channelId':_0x3e9608,'threadId':_0x58553f,'commentId':_0x1336a5,..._0x1044d4});}[_0x8a6221(0xaa)](_0xea482b,_0x4611ed){const _0x282d79=_0x8a6221,_0x1ce301=_0x32dc6b(this[_0x282d79(0x165)]);_0x25cc12(_0x1ce301,_0xea482b,_0x4611ed),this[_0x282d79(0x168)]({'attributes':_0x1ce301});}[_0x8a6221(0x12e)](_0x1e4243){const _0x2cf80f=_0x8a6221,_0x58c7e9=_0x32dc6b(this[_0x2cf80f(0x165)]);_0x569220(_0x58c7e9,_0x1e4243),this[_0x2cf80f(0x168)]({'attributes':_0x58c7e9});}[_0x8a6221(0xa0)](_0x770f7={}){const _0x40d036=_0x8a6221;if(!_0x770f7[_0x40d036(0xeb)]&&!this[_0x40d036(0x9e)])return;const {threadId:_0x524690,id:_0x531284}=this;if(!this[_0x40d036(0xcc)][_0x40d036(0x152)](_0x524690))throw new _0x406869(_0x40d036(0x10c),this);const {channelId:_0x11e4b2}=this[_0x40d036(0xcc)][_0x40d036(0x137)](_0x524690);this[_0x40d036(0xcc)][_0x40d036(0x90)](xt(_0x40d036(0xb6),_0x11e4b2,_0x524690),{'channelId':_0x11e4b2,'threadId':_0x524690,'commentId':_0x531284,..._0x770f7});}[_0x8a6221(0xe2)](){const _0x4b821a=_0x8a6221;return{'commentId':this['id'],'content':this[_0x4b821a(0x89)],'createdAt':this[_0x4b821a(0xa6)],'authorId':this[_0x4b821a(0xef)]['id'],'attributes':this[_0x4b821a(0x165)]};}[_0x8a6221(0x8e)](){const _0x27ec9f=_0x8a6221;this[_0x27ec9f(0x150)]();}}function xt(_0x2d2085,..._0x56341a){for(const _0x5b4d26 of _0x56341a)void 0x0!==_0x5b4d26&&(_0x2d2085+=':'+String(_0x5b4d26));return _0x2d2085;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xebaa3b=_0x5889;function _0x5635(){const _0x3e8c37=['commentsLicenseKeyExpired','Comment','get','9yxJyiF','11317400aHbrwR','commentsLicenseKeyEvaluationLimit','focusTracker','length','low','CommentThreadInputView','usageLimit','commands','has','removeCommentThread','isOfficialPlugin','expired','comment','commentsLicenseKeyValid','4963yEmbxK','139268ywyrrU','CommentsListView','71146aKiWzI','185zOSdKK','bind','addComment','focus','isEnabled','domainLimit','model','addCommentThread','from','listenTo','requires','locale','hasMarkerForId','5184489McNako','pluginName','evaluationLimit','destroy','isPremiumPlugin','_licenseKeyCheckInterval','highest','view','push','getRange','_threadToController','hasContent','map','CommentsUI','editing','activeMarker','90KGtWFN','_createUIButton','change:activeAnnotations','featureNotAllowed','find','commentsLicenseKeyInvalid','add','672089sOpCaZ','getAllMarkersForId','invalid','comment:','plugins','set','Comments','commentsLicenseKeyUsageLimit','licenseKey','addSourceCollector','innerView','794526ZkAszs','commentsLicenseKeyNotAllowed','menuBar:comment','stop','_viewToController','componentFactory','hasCommentThread','tooltip','config','editor','_showLicenseError','commentsLicenseKeyDomainLimit','isFocused','execute','getCommentThread','init','11952uDORYs'];_0x5635=function(){return _0x3e8c37;};return _0x5635();}(function(_0x3ef2d5,_0x4fea62){const _0x3be473=_0x5889,_0x2fd117=_0x3ef2d5();while(!![]){try{const _0x5bde06=parseInt(_0x3be473(0x1d4))/0x1+parseInt(_0x3be473(0x1fa))/0x2+-parseInt(_0x3be473(0x208))/0x3+parseInt(_0x3be473(0x1f8))/0x4*(parseInt(_0x3be473(0x1fb))/0x5)+parseInt(_0x3be473(0x1e4))/0x6*(-parseInt(_0x3be473(0x1f7))/0x7)+-parseInt(_0x3be473(0x1e9))/0x8*(-parseInt(_0x3be473(0x1e8))/0x9)+-parseInt(_0x3be473(0x1c2))/0xa*(-parseInt(_0x3be473(0x1c9))/0xb);if(_0x5bde06===_0x4fea62)break;else _0x2fd117['push'](_0x2fd117['shift']());}catch(_0x3992c7){_0x2fd117['push'](_0x2fd117['shift']());}}}(_0x5635,0xe6143));import{Plugin as _0x148af4}from'ckeditor5/src/core.js';import{IconAddComment as _0x5e0fa7}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x4ae0d3}from'./commentsrepository.js';function _0x5889(_0x1f2bae,_0x45cc11){const _0x56355d=_0x5635();return _0x5889=function(_0x58893b,_0x40eee8){_0x58893b=_0x58893b-0x1b5;let _0x78d282=_0x56355d[_0x58893b];return _0x78d282;},_0x5889(_0x1f2bae,_0x45cc11);}import{CommentsEditing as _0x2d64b1}from'./commentsediting.js';import{EditorAnnotations as _0x23dfb5}from'../annotations/editorannotations.js';import{ButtonView as _0x2be89a,MenuBarMenuListItemButtonView as _0xc74261}from'ckeditor5/src/ui.js';import{Annotations as _0x546da0}from'../annotations/annotations.js';import{CommentsListView as _0x48a05e}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x59694b}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x5048df}from'../utils/common-translations.js';export class CommentsUI extends _0x148af4{[_0xebaa3b(0x1d1)];[_0xebaa3b(0x1b7)];static get[_0xebaa3b(0x209)](){const _0x32c495=_0xebaa3b;return _0x32c495(0x1bf);}static get[_0xebaa3b(0x1f3)](){return!0x0;}static get[_0xebaa3b(0x1b6)](){return!0x0;}static get[_0xebaa3b(0x205)](){return[_0x4ae0d3,_0x2d64b1,_0x23dfb5,_0x546da0];}get[_0xebaa3b(0x1f9)](){return _0x48a05e;}get[_0xebaa3b(0x1ee)](){return _0x59694b;}[_0xebaa3b(0x1e3)](){const _0x1a8256=_0xebaa3b,_0x4512b1=this[_0x1a8256(0x1dd)],_0x333bf8=_0x4512b1[_0x1a8256(0x1cd)][_0x1a8256(0x1e7)](_0x4ae0d3),_0x40da83=_0x4512b1[_0x1a8256(0x1cd)][_0x1a8256(0x1e7)](_0x2d64b1),_0x18d399=_0x4512b1[_0x1a8256(0x1cd)][_0x1a8256(0x1e7)](_0x546da0),_0x3ba12b=_0x4512b1[_0x1a8256(0x1cd)][_0x1a8256(0x1e7)](_0x23dfb5);_0x4512b1['ui'][_0x1a8256(0x1d9)][_0x1a8256(0x1c8)](_0x1a8256(0x1f5),()=>{const _0x59d108=_0x1a8256,_0xc6d725=this[_0x59d108(0x1c3)](_0x2be89a);return _0xc6d725[_0x59d108(0x1db)]=!0x0,_0xc6d725;}),_0x4512b1['ui'][_0x1a8256(0x1d9)][_0x1a8256(0x1c8)](_0x1a8256(0x1d6),()=>this[_0x1a8256(0x1c3)](_0xc74261)),_0x3ba12b[_0x1a8256(0x1d2)](()=>{const _0x540e86=_0x1a8256,_0x3aa721=[];for(const [_0x53f2ca,_0x392266]of _0x333bf8[_0x540e86(0x1bc)]){const _0x6aa79d=_0x40da83[_0x540e86(0x1ca)](_0x53f2ca['id']),_0x1e7147=_0x6aa79d[_0x540e86(0x1be)](_0x289019=>_0x289019[_0x540e86(0x1bb)]());_0x6aa79d[_0x540e86(0x1ec)]>0x0&&_0x3aa721[_0x540e86(0x1ba)]([_0x392266[_0x540e86(0x1b9)],_0x1e7147]);}return _0x3aa721;}),this[_0x1a8256(0x204)](_0x18d399,_0x1a8256(0x1c4),(_0xdcc0d4,_0x20ca38,_0x28fbc3)=>{const _0x504c98=_0x1a8256,_0x5e2bf7=Array[_0x504c98(0x203)](_0x28fbc3)[_0x504c98(0x1be)](_0x10e59a=>_0x10e59a[_0x504c98(0x1d3)])[_0x504c98(0x1c6)](_0x2f4b79=>_0x333bf8[_0x504c98(0x1d8)][_0x504c98(0x1f1)](_0x2f4b79));if(!_0x5e2bf7)return void(_0x40da83[_0x504c98(0x1c1)]=null);const _0x3d0422=_0x333bf8[_0x504c98(0x1d8)][_0x504c98(0x1e7)](_0x5e2bf7)[_0x504c98(0x201)]['id'],_0x46cbc4=_0x504c98(0x1cc)+_0x3d0422;_0x3d0422&&_0x40da83[_0x504c98(0x207)](_0x3d0422)?_0x40da83[_0x504c98(0x1c1)]=_0x46cbc4:_0x40da83[_0x504c98(0x1c1)]&&(_0x40da83[_0x504c98(0x1c1)]=null);}),this[_0x1a8256(0x204)](_0x333bf8,_0x1a8256(0x1f2),(_0x2f2177,{threadId:_0x30ccc3,isFromAdapter:_0x11c35a})=>{const _0x14be05=_0x1a8256;!_0x11c35a&&_0x4512b1['ui'][_0x14be05(0x1eb)][_0x14be05(0x1e0)]&&_0x40da83[_0x14be05(0x207)](_0x30ccc3)&&_0x4512b1[_0x14be05(0x1c0)][_0x14be05(0x1b9)][_0x14be05(0x1fe)]();},{'priority':_0x1a8256(0x1b8)}),this[_0x1a8256(0x204)](_0x333bf8,_0x1a8256(0x1fd),(_0x201bb1,{threadId:_0x2dede8,isFromAdapter:_0x313dee})=>{const _0x42c461=_0x1a8256;if(_0x313dee||!_0x40da83[_0x42c461(0x207)](_0x2dede8)||!_0x333bf8[_0x42c461(0x1da)](_0x2dede8))return;0x1===_0x333bf8[_0x42c461(0x1e2)](_0x2dede8)[_0x42c461(0x1ec)]&&(_0x4512b1[_0x42c461(0x1c0)][_0x42c461(0x1b9)][_0x42c461(0x1fe)](),_0x201bb1[_0x42c461(0x1d7)]());},{'priority':_0x1a8256(0x1ed)}),this[_0x1a8256(0x1d1)]=this[_0x1a8256(0x1dd)][_0x1a8256(0x1dc)][_0x1a8256(0x1e7)](_0x1a8256(0x1d1));const _0x5a6932=this[_0x1a8256(0x1dd)];this[_0x1a8256(0x1b7)]=setInterval(()=>{const _0x50b2fd=_0x1a8256;let _0x4b1759;for(const _0x5f58f9 in _0x5a6932){const _0x1c11bc=_0x5f58f9,_0x5033e4=_0x5a6932[_0x1c11bc];if(_0x50b2fd(0x1f6)==_0x5033e4||_0x50b2fd(0x1c7)==_0x5033e4||_0x50b2fd(0x1e5)==_0x5033e4||_0x50b2fd(0x1df)==_0x5033e4||_0x50b2fd(0x1d5)==_0x5033e4||_0x50b2fd(0x1ea)==_0x5033e4||_0x50b2fd(0x1d0)==_0x5033e4){delete _0x5a6932[_0x1c11bc],_0x4b1759=_0x5033e4,clearInterval(this[_0x50b2fd(0x1b7)]),this[_0x50b2fd(0x1b7)]=void 0x0;break;}}_0x50b2fd(0x1c7)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x1cb)),_0x50b2fd(0x1e5)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x1f4)),_0x50b2fd(0x1df)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x200)),_0x50b2fd(0x1d5)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x1c5),_0x50b2fd(0x1cf)),_0x50b2fd(0x1ea)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x20a)),_0x50b2fd(0x1d0)==_0x4b1759&&_0x5a6932[_0x50b2fd(0x1de)](_0x50b2fd(0x1ef));},0x3e8);}[_0xebaa3b(0x1b5)](){const _0x4c2113=_0xebaa3b;super[_0x4c2113(0x1b5)](),this[_0x4c2113(0x1b7)]&&clearInterval(this[_0x4c2113(0x1b7)]);}[_0xebaa3b(0x1c3)](_0x275a30){const _0x5e9597=_0xebaa3b,_0x1347d2=this[_0x5e9597(0x1dd)],_0x3a2b56=new _0x275a30(_0x1347d2[_0x5e9597(0x206)]),_0x4aa001=_0x1347d2[_0x5e9597(0x1f0)][_0x5e9597(0x1e7)](_0x5e9597(0x202));return _0x3a2b56[_0x5e9597(0x1ce)]({'label':_0x5048df(_0x1347d2[_0x5e9597(0x206)],_0x5e9597(0x1e6)),'icon':_0x5e0fa7}),_0x3a2b56[_0x5e9597(0x1fc)](_0x5e9597(0x1ff))['to'](_0x4aa001,_0x5e9597(0x1ff),_0x4aa001,_0x5e9597(0x1bd),(_0x4aa706,_0x212e9d)=>_0x4aa706&&_0x212e9d),this[_0x5e9597(0x204)](_0x3a2b56,_0x5e9597(0x1e1),()=>{const _0x5295e4=_0x5e9597;_0x4aa001[_0x5295e4(0x1e1)]();}),_0x3a2b56;}}
23
+ const _0xffb62b=_0x451b;(function(_0x102c5b,_0x10c52d){const _0xfcbe8e=_0x451b,_0xe03ca3=_0x102c5b();while(!![]){try{const _0x216ba6=parseInt(_0xfcbe8e(0x12c))/0x1+-parseInt(_0xfcbe8e(0x160))/0x2+-parseInt(_0xfcbe8e(0x130))/0x3+-parseInt(_0xfcbe8e(0x180))/0x4+-parseInt(_0xfcbe8e(0x14c))/0x5*(-parseInt(_0xfcbe8e(0x144))/0x6)+parseInt(_0xfcbe8e(0x152))/0x7*(parseInt(_0xfcbe8e(0x162))/0x8)+-parseInt(_0xfcbe8e(0x140))/0x9*(-parseInt(_0xfcbe8e(0x170))/0xa);if(_0x216ba6===_0x10c52d)break;else _0xe03ca3['push'](_0xe03ca3['shift']());}catch(_0x4f3ef4){_0xe03ca3['push'](_0xe03ca3['shift']());}}}(_0x16d8,0x84772));import{Plugin as _0x29e590}from'ckeditor5/src/core.js';import{IconAddComment as _0x10640a}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x259345}from'./commentsrepository.js';import{CommentsEditing as _0x58cf58}from'./commentsediting.js';import{EditorAnnotations as _0x13f4de}from'../annotations/editorannotations.js';import{ButtonView as _0x12871c,MenuBarMenuListItemButtonView as _0x4059d4}from'ckeditor5/src/ui.js';import{Annotations as _0x2ee4ad}from'../annotations/annotations.js';import{CommentsListView as _0x2eef1e}from'./ui/view/commentslistview.js';function _0x16d8(){const _0x573841=['listenTo','length','58525bfWWBF','init','removeCommentThread','push','tooltip','has','7yFCVWo','commentsLicenseKeyEvaluationLimit','componentFactory','getRange','invalid','hasMarkerForId','_licenseKeyCheckInterval','isOfficialPlugin','editor','Comments','plugins','change:activeAnnotations','find','focus','1394988CcKhSl','_threadToController','2619416kGtyzV','map','_showLicenseError','hasCommentThread','comment:','from','isFocused','config','comment','commands','focusTracker','set','getCommentThread','getAllMarkersForId','1365600FqTCDr','CommentsListView','CommentThreadInputView','commentsLicenseKeyDomainLimit','pluginName','usageLimit','innerView','view','domainLimit','highest','isPremiumPlugin','isEnabled','commentsLicenseKeyValid','stop','bind','hasContent','1277668eiNhuR','113140YNHEpp','add','low','_viewToController','2378724qmDLWq','destroy','CommentsUI','evaluationLimit','Comment','addCommentThread','commentsLicenseKeyInvalid','get','licenseKey','commentsLicenseKeyExpired','commentsLicenseKeyNotAllowed','expired','model','_createUIButton','menuBar:comment','featureNotAllowed','72JBzCzv','locale','activeMarker','addComment','420GVhwoK','addSourceCollector','execute','editing','commentsLicenseKeyUsageLimit','requires'];_0x16d8=function(){return _0x573841;};return _0x16d8();}import{CommentThreadInputView as _0x46ab4b}from'./ui/view/commentthreadinputview.js';function _0x451b(_0x8d4cbd,_0xca4325){const _0x16d8ce=_0x16d8();return _0x451b=function(_0x451b3f,_0x36d1fc){_0x451b3f=_0x451b3f-0x12c;let _0x2578e3=_0x16d8ce[_0x451b3f];return _0x2578e3;},_0x451b(_0x8d4cbd,_0xca4325);}import{getTranslation as _0x553e80}from'../utils/common-translations.js';export class CommentsUI extends _0x29e590{[_0xffb62b(0x138)];[_0xffb62b(0x158)];static get[_0xffb62b(0x174)](){const _0x8ab7c4=_0xffb62b;return _0x8ab7c4(0x132);}static get[_0xffb62b(0x159)](){return!0x0;}static get[_0xffb62b(0x17a)](){return!0x0;}static get[_0xffb62b(0x149)](){return[_0x259345,_0x58cf58,_0x13f4de,_0x2ee4ad];}get[_0xffb62b(0x171)](){return _0x2eef1e;}get[_0xffb62b(0x172)](){return _0x46ab4b;}[_0xffb62b(0x14d)](){const _0x272a8e=_0xffb62b,_0x17e35e=this[_0x272a8e(0x15a)],_0x145a21=_0x17e35e[_0x272a8e(0x15c)][_0x272a8e(0x137)](_0x259345),_0x3d1988=_0x17e35e[_0x272a8e(0x15c)][_0x272a8e(0x137)](_0x58cf58),_0x3bc8ba=_0x17e35e[_0x272a8e(0x15c)][_0x272a8e(0x137)](_0x2ee4ad),_0x310503=_0x17e35e[_0x272a8e(0x15c)][_0x272a8e(0x137)](_0x13f4de);_0x17e35e['ui'][_0x272a8e(0x154)][_0x272a8e(0x12d)](_0x272a8e(0x16a),()=>{const _0x5e000b=_0x272a8e,_0x251351=this[_0x5e000b(0x13d)](_0x12871c);return _0x251351[_0x5e000b(0x150)]=!0x0,_0x251351;}),_0x17e35e['ui'][_0x272a8e(0x154)][_0x272a8e(0x12d)](_0x272a8e(0x13e),()=>this[_0x272a8e(0x13d)](_0x4059d4)),_0x310503[_0x272a8e(0x145)](()=>{const _0x1daf84=_0x272a8e,_0x53590c=[];for(const [_0x21a537,_0x312001]of _0x145a21[_0x1daf84(0x161)]){const _0x6195e7=_0x3d1988[_0x1daf84(0x16f)](_0x21a537['id']),_0x1ef50f=_0x6195e7[_0x1daf84(0x163)](_0x241765=>_0x241765[_0x1daf84(0x155)]());_0x6195e7[_0x1daf84(0x14b)]>0x0&&_0x53590c[_0x1daf84(0x14f)]([_0x312001[_0x1daf84(0x177)],_0x1ef50f]);}return _0x53590c;}),this[_0x272a8e(0x14a)](_0x3bc8ba,_0x272a8e(0x15d),(_0x4596fe,_0x554284,_0x350595)=>{const _0x29d080=_0x272a8e,_0x418dd3=Array[_0x29d080(0x167)](_0x350595)[_0x29d080(0x163)](_0x4a3eca=>_0x4a3eca[_0x29d080(0x176)])[_0x29d080(0x15e)](_0x3650cb=>_0x145a21[_0x29d080(0x12f)][_0x29d080(0x151)](_0x3650cb));if(!_0x418dd3)return void(_0x3d1988[_0x29d080(0x142)]=null);const _0xa1070b=_0x145a21[_0x29d080(0x12f)][_0x29d080(0x137)](_0x418dd3)[_0x29d080(0x13c)]['id'],_0x2f2587=_0x29d080(0x166)+_0xa1070b;_0xa1070b&&_0x3d1988[_0x29d080(0x157)](_0xa1070b)?_0x3d1988[_0x29d080(0x142)]=_0x2f2587:_0x3d1988[_0x29d080(0x142)]&&(_0x3d1988[_0x29d080(0x142)]=null);}),this[_0x272a8e(0x14a)](_0x145a21,_0x272a8e(0x14e),(_0x56f738,{threadId:_0x3a262d,isFromAdapter:_0x7faebf})=>{const _0x565e12=_0x272a8e;!_0x7faebf&&_0x17e35e['ui'][_0x565e12(0x16c)][_0x565e12(0x168)]&&_0x3d1988[_0x565e12(0x157)](_0x3a262d)&&_0x17e35e[_0x565e12(0x147)][_0x565e12(0x177)][_0x565e12(0x15f)]();},{'priority':_0x272a8e(0x179)}),this[_0x272a8e(0x14a)](_0x145a21,_0x272a8e(0x143),(_0x6e1b7f,{threadId:_0x27c182,isFromAdapter:_0x368d93})=>{const _0xd19375=_0x272a8e;if(_0x368d93||!_0x3d1988[_0xd19375(0x157)](_0x27c182)||!_0x145a21[_0xd19375(0x165)](_0x27c182))return;0x1===_0x145a21[_0xd19375(0x16e)](_0x27c182)[_0xd19375(0x14b)]&&(_0x17e35e[_0xd19375(0x147)][_0xd19375(0x177)][_0xd19375(0x15f)](),_0x6e1b7f[_0xd19375(0x17d)]());},{'priority':_0x272a8e(0x12e)}),this[_0x272a8e(0x138)]=this[_0x272a8e(0x15a)][_0x272a8e(0x169)][_0x272a8e(0x137)](_0x272a8e(0x138));const _0x436dfd=this[_0x272a8e(0x15a)];this[_0x272a8e(0x158)]=setInterval(()=>{const _0x50a108=_0x272a8e;let _0x4f0cca;for(const _0x338b6f in _0x436dfd){const _0x33533c=_0x338b6f,_0x3b2cc5=_0x436dfd[_0x33533c];if(_0x50a108(0x17c)==_0x3b2cc5||_0x50a108(0x136)==_0x3b2cc5||_0x50a108(0x139)==_0x3b2cc5||_0x50a108(0x173)==_0x3b2cc5||_0x50a108(0x13a)==_0x3b2cc5||_0x50a108(0x153)==_0x3b2cc5||_0x50a108(0x148)==_0x3b2cc5){delete _0x436dfd[_0x33533c],_0x4f0cca=_0x3b2cc5,clearInterval(this[_0x50a108(0x158)]),this[_0x50a108(0x158)]=void 0x0;break;}}_0x50a108(0x136)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x156)),_0x50a108(0x139)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x13b)),_0x50a108(0x173)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x178)),_0x50a108(0x13a)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x13f),_0x50a108(0x15b)),_0x50a108(0x153)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x133)),_0x50a108(0x148)==_0x4f0cca&&_0x436dfd[_0x50a108(0x164)](_0x50a108(0x175));},0x3e8);}[_0xffb62b(0x131)](){const _0x44259a=_0xffb62b;super[_0x44259a(0x131)](),this[_0x44259a(0x158)]&&clearInterval(this[_0x44259a(0x158)]);}[_0xffb62b(0x13d)](_0x73e093){const _0x25c54b=_0xffb62b,_0x4ef4d4=this[_0x25c54b(0x15a)],_0x38f959=new _0x73e093(_0x4ef4d4[_0x25c54b(0x141)]),_0x173338=_0x4ef4d4[_0x25c54b(0x16b)][_0x25c54b(0x137)](_0x25c54b(0x135));return _0x38f959[_0x25c54b(0x16d)]({'label':_0x553e80(_0x4ef4d4[_0x25c54b(0x141)],_0x25c54b(0x134)),'icon':_0x10640a}),_0x38f959[_0x25c54b(0x17e)](_0x25c54b(0x17b))['to'](_0x173338,_0x25c54b(0x17b),_0x173338,_0x25c54b(0x17f),(_0x299693,_0x7da5bd)=>_0x299693&&_0x7da5bd),this[_0x25c54b(0x14a)](_0x38f959,_0x25c54b(0x146),()=>{const _0x646e9d=_0x25c54b;_0x173338[_0x646e9d(0x146)]();}),_0x38f959;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5776d1=_0x22ec;(function(_0x2bd4af,_0x2ebc44){const _0x2be1e2=_0x22ec,_0x4870ea=_0x2bd4af();while(!![]){try{const _0x148472=-parseInt(_0x2be1e2(0xe3))/0x1*(parseInt(_0x2be1e2(0xec))/0x2)+parseInt(_0x2be1e2(0xfc))/0x3*(parseInt(_0x2be1e2(0xf1))/0x4)+parseInt(_0x2be1e2(0xe0))/0x5*(parseInt(_0x2be1e2(0xf4))/0x6)+parseInt(_0x2be1e2(0xf6))/0x7+parseInt(_0x2be1e2(0xe4))/0x8*(parseInt(_0x2be1e2(0xfb))/0x9)+parseInt(_0x2be1e2(0xeb))/0xa*(parseInt(_0x2be1e2(0xf7))/0xb)+-parseInt(_0x2be1e2(0xe6))/0xc;if(_0x148472===_0x2ebc44)break;else _0x4870ea['push'](_0x4870ea['shift']());}catch(_0x4bb086){_0x4870ea['push'](_0x4870ea['shift']());}}}(_0xc747,0x34d6a));function _0x22ec(_0x3bc688,_0x5bae08){const _0xc74762=_0xc747();return _0x22ec=function(_0x22ec04,_0x36b615){_0x22ec04=_0x22ec04-0xdd;let _0x542270=_0xc74762[_0x22ec04];return _0x542270;},_0x22ec(_0x3bc688,_0x5bae08);}import{Plugin as _0x598003}from'ckeditor5/src/core.js';import{priorities as _0x41ab64}from'ckeditor5/src/utils.js';function _0xc747(){const _0x3b1ff2=['1021264kSAgNw','addCommentThread','listenTo','54jCeeMM','basic','75523aWKtgF','143QXmBOG','commands','collaboration.channelId','_handleImportedData','414FUGRdm','3GKpqxW','collaboration_features','editor','map','111075rGHeji','importWord.formatting.comments','execute','41AckXuP','1688bwxziH','dataInsert','6239736nAqwuT','importWord','plugins','define','config','210630Iyrose','642trmhkE','forEach','afterInit','high','get'];_0xc747=function(){return _0x3b1ff2;};return _0xc747();}import{Users as _0x23df27}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x30606a}from'../commentsrepository.js';export class CommentsImportWord extends _0x598003{constructor(_0x470d8e){const _0x532d4d=_0x22ec;super(_0x470d8e),this[_0x532d4d(0xde)][_0x532d4d(0xea)][_0x532d4d(0xe9)](_0x532d4d(0xe1),_0x532d4d(0xf5));}[_0x5776d1(0xee)](){const _0x16d550=_0x5776d1,_0x39badf=this[_0x16d550(0xde)],_0x3edfb1=_0x39badf[_0x16d550(0xf8)][_0x16d550(0xf0)](_0x16d550(0xe7)),_0x3a6652=_0x39badf[_0x16d550(0xe8)][_0x16d550(0xf0)](_0x23df27);_0x3edfb1&&(_0x3edfb1['on'](_0x16d550(0xe2),(_0xa91945,[,_0x4ea798])=>{const _0x4be777=_0x16d550;_0x4ea798[_0x4be777(0xdd)]={'comments':!0x0,'user_id':_0x3a6652['me']['id']};},{'priority':_0x41ab64[_0x16d550(0xef)]+0xa}),this[_0x16d550(0xf3)](_0x3edfb1,_0x16d550(0xe5),this[_0x16d550(0xfa)]));}[_0x5776d1(0xfa)](_0x251613,_0x36af69){const _0x1733be=_0x5776d1,{comment_threads:_0x3c8f5f}=_0x36af69;_0x3c8f5f&&_0x3c8f5f[_0x1733be(0xed)](({thread_id:_0x8169b4,comments:_0x4e5d64,is_resolved:_0x56676f})=>{const _0x2e92cc=_0x1733be,_0x51239d=new Date(),_0x5c6b0e=_0x4e5d64[_0x2e92cc(0xdf)](({author:_0x12c83d,content:_0x5a7c59,created_at:_0x144952})=>({'content':_0x5a7c59,'authorId':this[_0x2e92cc(0xde)][_0x2e92cc(0xe8)][_0x2e92cc(0xf0)](_0x23df27)['me']['id'],'createdAt':_0x51239d,'attributes':{'@external':{'authorName':_0x12c83d,'createdAt':_0x144952?new Date(_0x144952):new Date(),'source':_0x2e92cc(0xe7)}}})),_0x3f556e=this[_0x2e92cc(0xde)][_0x2e92cc(0xea)][_0x2e92cc(0xf0)](_0x2e92cc(0xf9));this[_0x2e92cc(0xde)][_0x2e92cc(0xe8)][_0x2e92cc(0xf0)](_0x30606a)[_0x2e92cc(0xf2)]({'channelId':_0x3f556e,'threadId':_0x8169b4,'comments':_0x5c6b0e,'resolvedAt':_0x56676f?_0x51239d:null});});}}
23
+ const _0x55b3fb=_0x4303;(function(_0x467ae7,_0x2f8f91){const _0xb239c5=_0x4303,_0x3f76ee=_0x467ae7();while(!![]){try{const _0xab752=-parseInt(_0xb239c5(0x109))/0x1*(-parseInt(_0xb239c5(0x11f))/0x2)+parseInt(_0xb239c5(0x11c))/0x3*(-parseInt(_0xb239c5(0x112))/0x4)+parseInt(_0xb239c5(0x108))/0x5*(parseInt(_0xb239c5(0x10b))/0x6)+parseInt(_0xb239c5(0x11e))/0x7*(parseInt(_0xb239c5(0x118))/0x8)+-parseInt(_0xb239c5(0x115))/0x9+parseInt(_0xb239c5(0x103))/0xa+parseInt(_0xb239c5(0x119))/0xb*(-parseInt(_0xb239c5(0x101))/0xc);if(_0xab752===_0x2f8f91)break;else _0x3f76ee['push'](_0x3f76ee['shift']());}catch(_0xd27f56){_0x3f76ee['push'](_0x3f76ee['shift']());}}}(_0x207d,0xf2da6));import{Plugin as _0x2bec30}from'ckeditor5/src/core.js';import{priorities as _0x1874d6}from'ckeditor5/src/utils.js';function _0x207d(){const _0x548dac=['10482390pBdCHF','editor','high','10421392bbIUwk','77jTOmWp','map','importWord.formatting.comments','201dDImHY','importWord','7SbdJFI','350104CReBpt','get','2459076XvsaxK','collaboration.channelId','16368860qQxGZA','listenTo','dataInsert','forEach','plugins','3914070PVUxkn','2fDXenF','addCommentThread','6dumCVt','define','afterInit','basic','_handleImportedData','collaboration_features','config','28572ZmJfhx','commands','execute'];_0x207d=function(){return _0x548dac;};return _0x207d();}import{Users as _0x4a5779}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x5a641c}from'../commentsrepository.js';function _0x4303(_0x85ca9c,_0x30eea9){const _0x207daa=_0x207d();return _0x4303=function(_0x4303ec,_0x16c180){_0x4303ec=_0x4303ec-0x101;let _0x252a59=_0x207daa[_0x4303ec];return _0x252a59;},_0x4303(_0x85ca9c,_0x30eea9);}export class CommentsImportWord extends _0x2bec30{constructor(_0x1b0c77){const _0x5b7e50=_0x4303;super(_0x1b0c77),this[_0x5b7e50(0x116)][_0x5b7e50(0x111)][_0x5b7e50(0x10c)](_0x5b7e50(0x11b),_0x5b7e50(0x10e));}[_0x55b3fb(0x10d)](){const _0x44f6ca=_0x55b3fb,_0x59ec14=this[_0x44f6ca(0x116)],_0x21a76a=_0x59ec14[_0x44f6ca(0x113)][_0x44f6ca(0x120)](_0x44f6ca(0x11d)),_0x2d85d5=_0x59ec14[_0x44f6ca(0x107)][_0x44f6ca(0x120)](_0x4a5779);_0x21a76a&&(_0x21a76a['on'](_0x44f6ca(0x114),(_0x8d2cbd,[,_0x4b9d33])=>{const _0xe24551=_0x44f6ca;_0x4b9d33[_0xe24551(0x110)]={'comments':!0x0,'user_id':_0x2d85d5['me']['id']};},{'priority':_0x1874d6[_0x44f6ca(0x117)]+0xa}),this[_0x44f6ca(0x104)](_0x21a76a,_0x44f6ca(0x105),this[_0x44f6ca(0x10f)]));}[_0x55b3fb(0x10f)](_0x4ebec6,_0x173b6d){const _0xae6f72=_0x55b3fb,{comment_threads:_0x2b7bef}=_0x173b6d;_0x2b7bef&&_0x2b7bef[_0xae6f72(0x106)](({thread_id:_0x1c05bf,comments:_0x4a753f,is_resolved:_0x29f05c})=>{const _0x24fef9=_0xae6f72,_0x110978=new Date(),_0x7d9b85=_0x4a753f[_0x24fef9(0x11a)](({author:_0x56e83c,content:_0x9f807f,created_at:_0x410e76})=>({'content':_0x9f807f,'authorId':this[_0x24fef9(0x116)][_0x24fef9(0x107)][_0x24fef9(0x120)](_0x4a5779)['me']['id'],'createdAt':_0x110978,'attributes':{'@external':{'authorName':_0x56e83c,'createdAt':_0x410e76?new Date(_0x410e76):new Date(),'source':_0x24fef9(0x11d)}}})),_0x4e162b=this[_0x24fef9(0x116)][_0x24fef9(0x111)][_0x24fef9(0x120)](_0x24fef9(0x102));this[_0x24fef9(0x116)][_0x24fef9(0x107)][_0x24fef9(0x120)](_0x5a641c)[_0x24fef9(0x10a)]({'channelId':_0x4e162b,'threadId':_0x1c05bf,'comments':_0x7d9b85,'resolvedAt':_0x29f05c?_0x110978:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46cb(){const _0x346945=['media','1070KNQmQz','8519tpTbji','isResolved','editor','writer','ck-horizontal-line','ignoreResolvedComments','img','954BAeCwk','2370056RYsdAc','createEmptyElement','overrideHorizontalRuleConverter','getCustomProperty','overrideImageInlineConverter','isObject','comment','item','span','elementToElement','init','900033MyZvCj','schema','containerElement','ck-comment-marker','addMarker:','165178ZHRnFg','for','createPositionAt','get','horizontalLine','widget','overrideMarkerConverters','data','downcastDispatcher','mapper','model','268124DgcRPs','options','markerName','createContainerElement','overrideMediaEmbedConverter','elementToStructure','1868AOahfs','high','conversion','addClass','removeMarker:','plugins','dataDowncast','addMarker:comment','getCommentThread','stop','imageInline','10uoDVTA','512343HycYHP','toViewElement','insert','image-inline','markerToHighlight','showCommentHighlights','consume','consumable','attribute:url:media','add','div'];_0x46cb=function(){return _0x346945;};return _0x46cb();}function _0x4352(_0x2e8eb7,_0x49a123){const _0x46cb7c=_0x46cb();return _0x4352=function(_0x4352d1,_0x54209b){_0x4352d1=_0x4352d1-0x9f;let _0x3a7884=_0x46cb7c[_0x4352d1];return _0x3a7884;},_0x4352(_0x2e8eb7,_0x49a123);}const _0x3b9eaa=_0x4352;(function(_0x35695a,_0x34c99b){const _0x3a5fec=_0x4352,_0x369e76=_0x35695a();while(!![]){try{const _0x49a5c8=parseInt(_0x3a5fec(0xb6))/0x1+-parseInt(_0x3a5fec(0xab))/0x2+parseInt(_0x3a5fec(0xa6))/0x3+parseInt(_0x3a5fec(0xbc))/0x4*(parseInt(_0x3a5fec(0xd4))/0x5)+-parseInt(_0x3a5fec(0xdc))/0x6*(parseInt(_0x3a5fec(0xd5))/0x7)+-parseInt(_0x3a5fec(0xdd))/0x8+-parseInt(_0x3a5fec(0xc8))/0x9*(-parseInt(_0x3a5fec(0xc7))/0xa);if(_0x49a5c8===_0x34c99b)break;else _0x369e76['push'](_0x369e76['shift']());}catch(_0x4aa3c7){_0x369e76['push'](_0x369e76['shift']());}}}(_0x46cb,0x2544b));import{Plugin as _0x18ccb7}from'ckeditor5/src/core.js';import{toWidget as _0x1bf577}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x277669}from'../../utils/splitmarkername.js';import{CommentsRepository as _0xe6f9f0}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x18ccb7{[_0x3b9eaa(0xa5)](){const _0x3028af=_0x3b9eaa;this[_0x3028af(0xb1)](),this[_0x3028af(0xdf)](),this[_0x3028af(0x9f)](),this[_0x3028af(0xba)]();}[_0x3b9eaa(0xb1)](){const _0x31be92=_0x3b9eaa;this[_0x31be92(0xd7)][_0x31be92(0xbe)][_0x31be92(0xac)](_0x31be92(0xc2))[_0x31be92(0xcc)]({'model':_0x31be92(0xa1),'view':(_0x24ae56,_0x521710)=>{const _0x395fc3=_0x31be92;if(!_0x521710[_0x395fc3(0xb7)][_0x395fc3(0xcd)])return null;if(_0x521710[_0x395fc3(0xb7)][_0x395fc3(0xda)]){const {id:_0xa09806}=_0x277669(_0x24ae56[_0x395fc3(0xb8)]),_0x32c3c6=this[_0x395fc3(0xd7)][_0x395fc3(0xc1)][_0x395fc3(0xae)](_0xe6f9f0);if(_0x32c3c6[_0x395fc3(0xc4)](_0xa09806)?.[_0x395fc3(0xd6)]&&_0x24ae56[_0x395fc3(0xa2)])return _0x521710[_0x395fc3(0xcf)][_0x395fc3(0xce)](_0x24ae56[_0x395fc3(0xa2)],_0x395fc3(0xaa)+_0x24ae56[_0x395fc3(0xb8)]),_0x521710[_0x395fc3(0xcf)][_0x395fc3(0xce)](_0x24ae56[_0x395fc3(0xa2)],_0x395fc3(0xc0)+_0x24ae56[_0x395fc3(0xb8)]),null;}return{'classes':[_0x395fc3(0xa9)]};}}),this[_0x31be92(0xd7)][_0x31be92(0xbe)][_0x31be92(0xac)](_0x31be92(0xc2))[_0x31be92(0xd1)](_0x20ef57=>{const _0x37c071=_0x31be92;_0x20ef57['on'](_0x37c071(0xc3),(_0x2fc466,_0x4cb8aa,_0x231354)=>{const _0x124d93=_0x37c071;if(!_0x231354[_0x124d93(0xb7)][_0x124d93(0xcd)])return;const _0x169a88=_0x4cb8aa[_0x124d93(0xa2)];if(!_0x169a88)return;const _0x32170e=_0x231354[_0x124d93(0xb4)][_0x124d93(0xc9)](_0x169a88);this[_0x124d93(0xd7)][_0x124d93(0xb5)][_0x124d93(0xa7)][_0x124d93(0xa0)](_0x169a88)&&_0x32170e&&!_0x32170e[_0x124d93(0xe0)](_0x124d93(0xb0))&&_0x32170e['is'](_0x124d93(0xa8))&&_0x1bf577(_0x32170e,_0x231354[_0x124d93(0xd8)]);},{'priority':_0x37c071(0xbd)});});}[_0x3b9eaa(0xdf)](){const _0x2fb9b3=_0x3b9eaa;this[_0x2fb9b3(0xd7)][_0x2fb9b3(0xbe)][_0x2fb9b3(0xac)](_0x2fb9b3(0xc2))[_0x2fb9b3(0xbb)]({'model':_0x2fb9b3(0xaf),'view':(_0x4d88ef,{writer:_0x4d4eeb,options:_0x46bb8d})=>{const _0x4d7e9d=_0x2fb9b3;if(!_0x46bb8d[_0x4d7e9d(0xcd)])return null;const _0x53f9fa=_0x4d4eeb[_0x4d7e9d(0xb9)](_0x4d7e9d(0xd2)),_0x507b3f=_0x4d4eeb[_0x4d7e9d(0xde)]('hr');return _0x4d4eeb[_0x4d7e9d(0xbf)](_0x4d7e9d(0xd9),_0x53f9fa),_0x4d4eeb[_0x4d7e9d(0xca)](_0x4d4eeb[_0x4d7e9d(0xad)](_0x53f9fa,0x0),_0x507b3f),_0x53f9fa;},'converterPriority':_0x2fb9b3(0xbd)});}[_0x3b9eaa(0x9f)](){const _0x5bbf1b=_0x3b9eaa;this[_0x5bbf1b(0xd7)][_0x5bbf1b(0xbe)][_0x5bbf1b(0xac)](_0x5bbf1b(0xc2))[_0x5bbf1b(0xbb)]({'model':_0x5bbf1b(0xc6),'view':(_0x5fbafc,{writer:_0x3df9fd,options:_0x455d7d})=>{const _0xeade3f=_0x5bbf1b;if(!_0x455d7d[_0xeade3f(0xcd)])return null;const _0x58183d=_0x3df9fd[_0xeade3f(0xb9)](_0xeade3f(0xa3)),_0x39f6a6=_0x3df9fd[_0xeade3f(0xde)](_0xeade3f(0xdb));return _0x3df9fd[_0xeade3f(0xbf)](_0xeade3f(0xcb),_0x58183d),_0x3df9fd[_0xeade3f(0xca)](_0x3df9fd[_0xeade3f(0xad)](_0x58183d,0x0),_0x39f6a6),_0x58183d;},'converterPriority':_0x5bbf1b(0xbd)});}[_0x3b9eaa(0xba)](){const _0x46d005=_0x3b9eaa;this[_0x46d005(0xd7)][_0x46d005(0xbe)][_0x46d005(0xac)](_0x46d005(0xc2))[_0x46d005(0xa4)]({'model':_0x46d005(0xd3),'view':(_0x4c8102,{writer:_0x296424,options:_0x96b0b6})=>{const _0xef9808=_0x46d005;if(_0x96b0b6[_0xef9808(0xcd)])return _0x296424[_0xef9808(0xde)](_0xef9808(0xd2));},'converterPriority':_0x46d005(0xbd)}),this[_0x46d005(0xd7)][_0x46d005(0xb2)][_0x46d005(0xb3)]['on'](_0x46d005(0xd0),(_0x49032b,_0x44131d,_0x4ad238)=>{const _0x18f6db=_0x46d005;_0x4ad238[_0x18f6db(0xb7)][_0x18f6db(0xcd)]&&_0x49032b[_0x18f6db(0xc5)]();},{'priority':_0x46d005(0xbd)});}}
23
+ function _0x6580(_0x2e4752,_0x28cda1){const _0xa64348=_0xa643();return _0x6580=function(_0x6580ca,_0x45a977){_0x6580ca=_0x6580ca-0xa8;let _0x43219c=_0xa64348[_0x6580ca];return _0x43219c;},_0x6580(_0x2e4752,_0x28cda1);}const _0x3ce178=_0x6580;(function(_0x4a1836,_0x10a3e){const _0x1de529=_0x6580,_0x408e9a=_0x4a1836();while(!![]){try{const _0x5101cf=parseInt(_0x1de529(0xb8))/0x1+-parseInt(_0x1de529(0xac))/0x2+-parseInt(_0x1de529(0xc7))/0x3*(-parseInt(_0x1de529(0xe1))/0x4)+-parseInt(_0x1de529(0xb6))/0x5*(-parseInt(_0x1de529(0xb9))/0x6)+parseInt(_0x1de529(0xc9))/0x7*(parseInt(_0x1de529(0xdd))/0x8)+-parseInt(_0x1de529(0xd4))/0x9+parseInt(_0x1de529(0xcf))/0xa*(-parseInt(_0x1de529(0xe4))/0xb);if(_0x5101cf===_0x10a3e)break;else _0x408e9a['push'](_0x408e9a['shift']());}catch(_0x162585){_0x408e9a['push'](_0x408e9a['shift']());}}}(_0xa643,0x6e83b));import{Plugin as _0x3a4b31}from'ckeditor5/src/core.js';import{toWidget as _0x1a9e48}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x3ee85a}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x3a6221}from'../commentsrepository.js';function _0xa643(){const _0x14c96a=['createContainerElement','getCommentThread','ck-horizontal-line','5tWxXZd','elementToElement','750402gllZMS','444054LjeGCG','for','high','attribute:url:media','get','media','add','widget','isObject','createPositionAt','div','editor','overrideHorizontalRuleConverter','downcastDispatcher','465dFmZzM','horizontalLine','91lOcLEg','elementToStructure','img','options','addMarker:','showCommentHighlights','4745990xrfcfx','stop','overrideMediaEmbedConverter','init','conversion','7391322wCmAUf','markerToHighlight','plugins','addClass','addMarker:comment','createEmptyElement','image-inline','consumable','data','485432uHahRL','model','removeMarker:','containerElement','5188ClMzgF','writer','overrideImageInlineConverter','11OBLnsP','insert','ignoreResolvedComments','getCustomProperty','schema','mapper','comment','overrideMarkerConverters','item','imageInline','isResolved','131498jGujue','span','toViewElement','markerName','ck-comment-marker','dataDowncast','consume'];_0xa643=function(){return _0x14c96a;};return _0xa643();}export class ShowCommentHighlights extends _0x3a4b31{[_0x3ce178(0xd2)](){const _0x192aa7=_0x3ce178;this[_0x192aa7(0xa8)](),this[_0x192aa7(0xc5)](),this[_0x192aa7(0xe3)](),this[_0x192aa7(0xd1)]();}[_0x3ce178(0xa8)](){const _0x5f0c1d=_0x3ce178;this[_0x5f0c1d(0xc4)][_0x5f0c1d(0xd3)][_0x5f0c1d(0xba)](_0x5f0c1d(0xb1))[_0x5f0c1d(0xd5)]({'model':_0x5f0c1d(0xea),'view':(_0x2d547e,_0x487b46)=>{const _0xfd5383=_0x5f0c1d;if(!_0x487b46[_0xfd5383(0xcc)][_0xfd5383(0xce)])return null;if(_0x487b46[_0xfd5383(0xcc)][_0xfd5383(0xe6)]){const {id:_0x324bc0}=_0x3ee85a(_0x2d547e[_0xfd5383(0xaf)]),_0x571778=this[_0xfd5383(0xc4)][_0xfd5383(0xd6)][_0xfd5383(0xbd)](_0x3a6221);if(_0x571778[_0xfd5383(0xb4)](_0x324bc0)?.[_0xfd5383(0xab)]&&_0x2d547e[_0xfd5383(0xa9)])return _0x487b46[_0xfd5383(0xdb)][_0xfd5383(0xb2)](_0x2d547e[_0xfd5383(0xa9)],_0xfd5383(0xcd)+_0x2d547e[_0xfd5383(0xaf)]),_0x487b46[_0xfd5383(0xdb)][_0xfd5383(0xb2)](_0x2d547e[_0xfd5383(0xa9)],_0xfd5383(0xdf)+_0x2d547e[_0xfd5383(0xaf)]),null;}return{'classes':[_0xfd5383(0xb0)]};}}),this[_0x5f0c1d(0xc4)][_0x5f0c1d(0xd3)][_0x5f0c1d(0xba)](_0x5f0c1d(0xb1))[_0x5f0c1d(0xbf)](_0x3a2d9a=>{const _0x20aab4=_0x5f0c1d;_0x3a2d9a['on'](_0x20aab4(0xd8),(_0x19ad6b,_0x420118,_0x463b63)=>{const _0x16ed90=_0x20aab4;if(!_0x463b63[_0x16ed90(0xcc)][_0x16ed90(0xce)])return;const _0x47bd43=_0x420118[_0x16ed90(0xa9)];if(!_0x47bd43)return;const _0x56565d=_0x463b63[_0x16ed90(0xe9)][_0x16ed90(0xae)](_0x47bd43);this[_0x16ed90(0xc4)][_0x16ed90(0xde)][_0x16ed90(0xe8)][_0x16ed90(0xc1)](_0x47bd43)&&_0x56565d&&!_0x56565d[_0x16ed90(0xe7)](_0x16ed90(0xc0))&&_0x56565d['is'](_0x16ed90(0xe0))&&_0x1a9e48(_0x56565d,_0x463b63[_0x16ed90(0xe2)]);},{'priority':_0x20aab4(0xbb)});});}[_0x3ce178(0xc5)](){const _0xe3a2d9=_0x3ce178;this[_0xe3a2d9(0xc4)][_0xe3a2d9(0xd3)][_0xe3a2d9(0xba)](_0xe3a2d9(0xb1))[_0xe3a2d9(0xca)]({'model':_0xe3a2d9(0xc8),'view':(_0x58d14c,{writer:_0x475f9e,options:_0x2037b3})=>{const _0x287614=_0xe3a2d9;if(!_0x2037b3[_0x287614(0xce)])return null;const _0x472558=_0x475f9e[_0x287614(0xb3)](_0x287614(0xc3)),_0x66d12d=_0x475f9e[_0x287614(0xd9)]('hr');return _0x475f9e[_0x287614(0xd7)](_0x287614(0xb5),_0x472558),_0x475f9e[_0x287614(0xe5)](_0x475f9e[_0x287614(0xc2)](_0x472558,0x0),_0x66d12d),_0x472558;},'converterPriority':_0xe3a2d9(0xbb)});}[_0x3ce178(0xe3)](){const _0x43274c=_0x3ce178;this[_0x43274c(0xc4)][_0x43274c(0xd3)][_0x43274c(0xba)](_0x43274c(0xb1))[_0x43274c(0xca)]({'model':_0x43274c(0xaa),'view':(_0x41a199,{writer:_0x436d31,options:_0x110009})=>{const _0x3a2af4=_0x43274c;if(!_0x110009[_0x3a2af4(0xce)])return null;const _0x4435dc=_0x436d31[_0x3a2af4(0xb3)](_0x3a2af4(0xad)),_0x284081=_0x436d31[_0x3a2af4(0xd9)](_0x3a2af4(0xcb));return _0x436d31[_0x3a2af4(0xd7)](_0x3a2af4(0xda),_0x4435dc),_0x436d31[_0x3a2af4(0xe5)](_0x436d31[_0x3a2af4(0xc2)](_0x4435dc,0x0),_0x284081),_0x4435dc;},'converterPriority':_0x43274c(0xbb)});}[_0x3ce178(0xd1)](){const _0x5a4070=_0x3ce178;this[_0x5a4070(0xc4)][_0x5a4070(0xd3)][_0x5a4070(0xba)](_0x5a4070(0xb1))[_0x5a4070(0xb7)]({'model':_0x5a4070(0xbe),'view':(_0x2b9da3,{writer:_0x91727a,options:_0x2b66e6})=>{const _0x4f703d=_0x5a4070;if(_0x2b66e6[_0x4f703d(0xce)])return _0x91727a[_0x4f703d(0xd9)](_0x4f703d(0xc3));},'converterPriority':_0x5a4070(0xbb)}),this[_0x5a4070(0xc4)][_0x5a4070(0xdc)][_0x5a4070(0xc6)]['on'](_0x5a4070(0xbc),(_0x576c1c,_0x28e35b,_0x443e5e)=>{const _0x488bfd=_0x5a4070;_0x443e5e[_0x488bfd(0xcc)][_0x488bfd(0xce)]&&_0x576c1c[_0x488bfd(0xd0)]();},{'priority':_0x5a4070(0xbb)});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x572175=_0x1808;(function(_0x5ced00,_0x367aec){const _0x5bb420=_0x1808,_0x2c65a7=_0x5ced00();while(!![]){try{const _0x3c06b6=-parseInt(_0x5bb420(0x212))/0x1*(-parseInt(_0x5bb420(0x1f4))/0x2)+parseInt(_0x5bb420(0x1f1))/0x3*(parseInt(_0x5bb420(0x1f8))/0x4)+-parseInt(_0x5bb420(0x208))/0x5*(-parseInt(_0x5bb420(0x1e4))/0x6)+-parseInt(_0x5bb420(0x1fa))/0x7+-parseInt(_0x5bb420(0x206))/0x8*(parseInt(_0x5bb420(0x1ef))/0x9)+-parseInt(_0x5bb420(0x1eb))/0xa+-parseInt(_0x5bb420(0x207))/0xb*(-parseInt(_0x5bb420(0x20c))/0xc);if(_0x3c06b6===_0x367aec)break;else _0x2c65a7['push'](_0x2c65a7['shift']());}catch(_0x4f6e10){_0x2c65a7['push'](_0x2c65a7['shift']());}}}(_0x1d9c,0x2e243));function _0x1d9c(){const _0x556374=['207369VSEUYa','fromCharCode','defaultPlugins','148362YGmpjm','init','map','childCount','20GWRpZT','destroy','909538tgBZWN','data','assign','document','end','plugins','set','get','getChild','change:placeholder','_updatePlaceholder','model','1720TSzyjI','22rWqCKq','5nwkHGf','focus','config','placeholderElement','534132kwbKZL','getRoot','placeholder','create','view','setSelection','1kWVqox','fire','1849278mKyHkA','name','editing','createRoot','join','change','initPlugins','1861370CeWEwA','low','initialData','then','13059uDyDpk','ready'];_0x1d9c=function(){return _0x556374;};return _0x1d9c();}import{Editor as _0x43c019}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x8d102b}from'./commenteditorui.js';import{ObservableMixin as _0x258ffb}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x22459c,disableViewPlaceholder as _0x29f54e}from'ckeditor5/src/engine.js';import{Clipboard as _0x4107d1}from'ckeditor5/src/clipboard.js';function _0x1808(_0x2dceb8,_0x297e9c){const _0x1d9cc7=_0x1d9c();return _0x1808=function(_0x1808d1,_0x5ce15b){_0x1808d1=_0x1808d1-0x1e4;let _0xa26ded=_0x1d9cc7[_0x1808d1];return _0xa26ded;},_0x1808(_0x2dceb8,_0x297e9c);}import{Enter as _0x25e130,ShiftEnter as _0x11b803}from'ckeditor5/src/enter.js';import{SelectAll as _0x1d0e65}from'ckeditor5/src/select-all.js';import{Typing as _0x3f5504}from'ckeditor5/src/typing.js';import{Undo as _0x5b70bd}from'ckeditor5/src/undo.js';import{Paragraph as _0x3df139}from'ckeditor5/src/paragraph.js';const Qt=[_0x4107d1,_0x25e130,_0x11b803,_0x1d0e65,_0x3f5504,_0x5b70bd,_0x3df139];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
- _0x258ffb(_0x43c019){static [_0x572175(0x1f3)]=((()=>Qt)());constructor(_0x4c1125={}){const _0x1c66f9=_0x572175;function _0x4f3d88(_0x1019e1){const _0x503dea=_0x1808;return _0x1019e1[_0x503dea(0x1f6)](_0x24d84c=>String[_0x503dea(0x1f2)](_0x24d84c))[_0x503dea(0x1e8)]('');}(_0x4c1125=Object[_0x1c66f9(0x1fc)]({},_0x4c1125))[_0x1c66f9(0x1ff)]||(_0x4c1125[_0x1c66f9(0x1ff)]=CommentEditor[_0x1c66f9(0x1f3)]),super(_0x4c1125),this['ui']=new _0x8d102b(this),this[_0x1c66f9(0x200)](_0x1c66f9(0x20e),''),this[_0x1c66f9(0x205)][_0x1c66f9(0x1fd)]['on'](_0x1c66f9(0x1e9),()=>this[_0x1c66f9(0x204)](),{'priority':_0x1c66f9(0x1ec)}),this['on'](_0x1c66f9(0x203),()=>this[_0x1c66f9(0x204)]()),this[_0x1c66f9(0x205)][_0x1c66f9(0x1fd)][_0x1c66f9(0x1e7)](),this[_0x4f3d88([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f3d88([0x76,0x69,0x65,0x77])][_0x4f3d88([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f3d88([0x61,0x75,0x74,0x6f]),this[_0x4f3d88([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4f3d88([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f3d88([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4f3d88([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4f3d88([0x6f,0x6b])});}[_0x572175(0x20f)](){const _0x2376f9=_0x572175,_0x4a9aef=this[_0x2376f9(0x20a)][_0x2376f9(0x201)](_0x2376f9(0x1ed))||'';return this[_0x2376f9(0x1ea)]()[_0x2376f9(0x1ee)](()=>this['ui'][_0x2376f9(0x1f5)]())[_0x2376f9(0x1ee)](()=>this[_0x2376f9(0x1fb)][_0x2376f9(0x1f5)](_0x4a9aef))[_0x2376f9(0x1ee)](()=>this[_0x2376f9(0x213)](_0x2376f9(0x1f0)));}[_0x572175(0x1f9)](){const _0xc0f9dc=_0x572175;return super[_0xc0f9dc(0x1f9)]()[_0xc0f9dc(0x1ee)](()=>this['ui'][_0xc0f9dc(0x1f9)]());}[_0x572175(0x209)](){const _0x3d72a1=_0x572175;this[_0x3d72a1(0x205)][_0x3d72a1(0x1e9)](_0x14dbfc=>{const _0x22f5fe=_0x3d72a1,_0x1e8f47=this[_0x22f5fe(0x205)][_0x22f5fe(0x1fd)][_0x22f5fe(0x20d)](),_0x34ed73=_0x1e8f47&&_0x1e8f47[_0x22f5fe(0x202)](_0x1e8f47[_0x22f5fe(0x1f7)]-0x1);_0x14dbfc[_0x22f5fe(0x211)](_0x34ed73,_0x22f5fe(0x1fe)),this[_0x22f5fe(0x1e6)][_0x22f5fe(0x210)][_0x22f5fe(0x209)]();});}[_0x572175(0x204)](){const _0x2e0a94=_0x572175,_0x3da150=this[_0x2e0a94(0x1e6)][_0x2e0a94(0x210)],_0x32561b=_0x3da150[_0x2e0a94(0x1fd)][_0x2e0a94(0x20d)](),_0x443ff8=_0x32561b[_0x2e0a94(0x202)](0x0);_0x32561b[_0x2e0a94(0x1f7)]>0x1||!_0x443ff8||'p'!=_0x443ff8[_0x2e0a94(0x1e5)]?this[_0x2e0a94(0x20b)]&&this[_0x2e0a94(0x20b)][_0x2e0a94(0x20e)]&&(_0x29f54e(_0x3da150,this[_0x2e0a94(0x20b)]),this[_0x2e0a94(0x20b)]=void 0x0):(this[_0x2e0a94(0x20e)]&&(_0x443ff8[_0x2e0a94(0x20e)]=this[_0x2e0a94(0x20e)]),_0x22459c({'view':_0x3da150,'element':_0x443ff8,'keepOnFocus':!0x0}),this[_0x2e0a94(0x20b)]=_0x443ff8);}}
23
+ const _0x39ce1e=_0xdbdd;(function(_0x55fb18,_0x32782c){const _0x3e886b=_0xdbdd,_0x5d166e=_0x55fb18();while(!![]){try{const _0x4086ef=parseInt(_0x3e886b(0xfb))/0x1+parseInt(_0x3e886b(0xda))/0x2+parseInt(_0x3e886b(0xe1))/0x3*(-parseInt(_0x3e886b(0xfa))/0x4)+-parseInt(_0x3e886b(0xd6))/0x5+parseInt(_0x3e886b(0xd2))/0x6+parseInt(_0x3e886b(0xf3))/0x7+-parseInt(_0x3e886b(0xd5))/0x8;if(_0x4086ef===_0x32782c)break;else _0x5d166e['push'](_0x5d166e['shift']());}catch(_0x17090b){_0x5d166e['push'](_0x5d166e['shift']());}}}(_0x3c2a,0xc060e));import{Editor as _0x1a98d2}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x141ec0}from'./commenteditorui.js';import{ObservableMixin as _0x30d62b}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x2e3476,disableViewPlaceholder as _0x106c5c}from'ckeditor5/src/engine.js';import{Clipboard as _0x214dd3}from'ckeditor5/src/clipboard.js';function _0xdbdd(_0x1c6253,_0x549e11){const _0x3c2a08=_0x3c2a();return _0xdbdd=function(_0xdbdd9,_0x16f304){_0xdbdd9=_0xdbdd9-0xd0;let _0x152606=_0x3c2a08[_0xdbdd9];return _0x152606;},_0xdbdd(_0x1c6253,_0x549e11);}import{Enter as _0x235826,ShiftEnter as _0x258bd4}from'ckeditor5/src/enter.js';import{SelectAll as _0x16f90e}from'ckeditor5/src/select-all.js';function _0x3c2a(){const _0x25c058=['map','createRoot','5688834CmfJAS','focus','init','13650240iHIoPx','1636920PBEdGU','create','initPlugins','destroy','1519046ifqZVL','get','placeholder','data','plugins','getChild','model','29148JnIdBQ','low','setSelection','fire','getRoot','join','document','then','_updatePlaceholder','defaultPlugins','change:placeholder','fromCharCode','config','name','end','ready','change','childCount','5474315cwPctc','editing','assign','set','placeholderElement','view','initialData','176iVttRk','759443iKpoZe'];_0x3c2a=function(){return _0x25c058;};return _0x3c2a();}import{Typing as _0x4e6c03}from'ckeditor5/src/typing.js';import{Undo as _0x4bb250}from'ckeditor5/src/undo.js';import{Paragraph as _0x1d9a27}from'ckeditor5/src/paragraph.js';const Qt=[_0x214dd3,_0x235826,_0x258bd4,_0x16f90e,_0x4e6c03,_0x4bb250,_0x1d9a27];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
+ _0x30d62b(_0x1a98d2){static [_0x39ce1e(0xea)]=((()=>Qt)());constructor(_0x1d2913={}){const _0x18ffb6=_0x39ce1e;function _0x20d476(_0x1dd230){const _0x306126=_0xdbdd;return _0x1dd230[_0x306126(0xd0)](_0x5bf80a=>String[_0x306126(0xec)](_0x5bf80a))[_0x306126(0xe6)]('');}(_0x1d2913=Object[_0x18ffb6(0xf5)]({},_0x1d2913))[_0x18ffb6(0xde)]||(_0x1d2913[_0x18ffb6(0xde)]=CommentEditor[_0x18ffb6(0xea)]),super(_0x1d2913),this['ui']=new _0x141ec0(this),this[_0x18ffb6(0xf6)](_0x18ffb6(0xdc),''),this[_0x18ffb6(0xe0)][_0x18ffb6(0xe7)]['on'](_0x18ffb6(0xf1),()=>this[_0x18ffb6(0xe9)](),{'priority':_0x18ffb6(0xe2)}),this['on'](_0x18ffb6(0xeb),()=>this[_0x18ffb6(0xe9)]()),this[_0x18ffb6(0xe0)][_0x18ffb6(0xe7)][_0x18ffb6(0xd1)](),this[_0x20d476([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20d476([0x76,0x69,0x65,0x77])][_0x20d476([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20d476([0x61,0x75,0x74,0x6f]),this[_0x20d476([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x20d476([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20d476([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x20d476([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x20d476([0x6f,0x6b])});}[_0x39ce1e(0xd7)](){const _0x4ee60b=_0x39ce1e,_0x455e35=this[_0x4ee60b(0xed)][_0x4ee60b(0xdb)](_0x4ee60b(0xf9))||'';return this[_0x4ee60b(0xd8)]()[_0x4ee60b(0xe8)](()=>this['ui'][_0x4ee60b(0xd4)]())[_0x4ee60b(0xe8)](()=>this[_0x4ee60b(0xdd)][_0x4ee60b(0xd4)](_0x455e35))[_0x4ee60b(0xe8)](()=>this[_0x4ee60b(0xe4)](_0x4ee60b(0xf0)));}[_0x39ce1e(0xd9)](){const _0x3110a2=_0x39ce1e;return super[_0x3110a2(0xd9)]()[_0x3110a2(0xe8)](()=>this['ui'][_0x3110a2(0xd9)]());}[_0x39ce1e(0xd3)](){const _0x11e64=_0x39ce1e;this[_0x11e64(0xe0)][_0x11e64(0xf1)](_0x2ed7cd=>{const _0x59c72a=_0x11e64,_0x4ff527=this[_0x59c72a(0xe0)][_0x59c72a(0xe7)][_0x59c72a(0xe5)](),_0x11e4fb=_0x4ff527&&_0x4ff527[_0x59c72a(0xdf)](_0x4ff527[_0x59c72a(0xf2)]-0x1);_0x2ed7cd[_0x59c72a(0xe3)](_0x11e4fb,_0x59c72a(0xef)),this[_0x59c72a(0xf4)][_0x59c72a(0xf8)][_0x59c72a(0xd3)]();});}[_0x39ce1e(0xe9)](){const _0x490bde=_0x39ce1e,_0x5c3451=this[_0x490bde(0xf4)][_0x490bde(0xf8)],_0x4bcc89=_0x5c3451[_0x490bde(0xe7)][_0x490bde(0xe5)](),_0x453062=_0x4bcc89[_0x490bde(0xdf)](0x0);_0x4bcc89[_0x490bde(0xf2)]>0x1||!_0x453062||'p'!=_0x453062[_0x490bde(0xee)]?this[_0x490bde(0xf7)]&&this[_0x490bde(0xf7)][_0x490bde(0xdc)]&&(_0x106c5c(_0x5c3451,this[_0x490bde(0xf7)]),this[_0x490bde(0xf7)]=void 0x0):(this[_0x490bde(0xdc)]&&(_0x453062[_0x490bde(0xdc)]=this[_0x490bde(0xdc)]),_0x2e3476({'view':_0x5c3451,'element':_0x453062,'keepOnFocus':!0x0}),this[_0x490bde(0xf7)]=_0x453062);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2838ff=_0x3057;function _0x3057(_0x528687,_0x55f5e6){const _0x30a6b1=_0x30a6();return _0x3057=function(_0x3057c3,_0xe4c67d){_0x3057c3=_0x3057c3-0xcd;let _0x5d7ced=_0x30a6b1[_0x3057c3];return _0x5d7ced;},_0x3057(_0x528687,_0x55f5e6);}(function(_0xaf2934,_0x465618){const _0x4e4a44=_0x3057,_0xbf6404=_0xaf2934();while(!![]){try{const _0x373dc2=parseInt(_0x4e4a44(0x10b))/0x1*(-parseInt(_0x4e4a44(0xef))/0x2)+-parseInt(_0x4e4a44(0xdc))/0x3+parseInt(_0x4e4a44(0x101))/0x4+-parseInt(_0x4e4a44(0xd3))/0x5+parseInt(_0x4e4a44(0x126))/0x6+parseInt(_0x4e4a44(0xff))/0x7+-parseInt(_0x4e4a44(0xf3))/0x8*(-parseInt(_0x4e4a44(0xde))/0x9);if(_0x373dc2===_0x465618)break;else _0xbf6404['push'](_0xbf6404['shift']());}catch(_0x40d1e8){_0xbf6404['push'](_0xbf6404['shift']());}}}(_0x30a6,0x628d0));import{View as _0x1cc8dd,ViewCollection as _0x4a7255,FocusCycler as _0x53b52e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x276243,KeystrokeHandler as _0x2f89f2}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x29b04d,trimHtml as _0x2d32e3}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x56cca2}from'./commentcontentview.js';function _0x30a6(){const _0x331b94=['render','1181916zmONoK','_createCommentContentView','source','set','isReadOnly','bind','EXTERNAL_IMPORT_WORD_AVATAR','1974225yARBER','delegate','EXTERNAL_COMMENT','getExternalCommentNote','collapse','fire','locale','COMMENT_ARIA_LABEL','editorConfig','2321454DdOyQD','element','12190509wDzYIK','focusTracker','isCollapsed','expand','authoredAt','updateComment','textContent','disabledSubmit','_createCommentInputView','enter','submit','submitLabel','once','esc','createCollection','tab','Save','2YuzDRR','EXTERNAL_AVATAR','focusFirst','remove','8JHlKmu','creator','attributes','focus','EXTERNAL_IMPORT_WORD_COMMENT','createEditor','content','change','body','COMMENT_THREAD_DESCRIPTION','focusables','cancel','2626799dRPaHV','isExternal','54344UzLLBM','maxCommentCharsWhenCollapsed','parseFromString','getUserViewNotificationText','initialData','text/html','isSystemComment','_model','get','name','368003uPxIwr','editorDestroyed','switchToDisplayMode','@external','removed','focusCycler','stopListening','switchToEditMode','editorReady','keystrokes','destroy','visibleView','_setupKeyboardNavigation','value','listenTo','importWord','add','added','ariaDescriptionView','shift+tab','formatDateTime','isEditMode','ariaLabel','_config','target','author'];_0x30a6=function(){return _0x331b94;};return _0x30a6();}import{CommentInputView as _0x20e73a}from'./commentinputview.js';import{getTranslation as _0x3fe9ae}from'../../../utils/common-translations.js';export class BaseCommentView extends _0x1cc8dd{[_0x2838ff(0x116)];[_0x2838ff(0x11d)];[_0x2838ff(0xfd)];[_0x2838ff(0xdf)];[_0x2838ff(0x114)];[_0x2838ff(0x110)];[_0x2838ff(0x108)];[_0x2838ff(0x122)];constructor(_0x45e725,_0x2186ec,_0x59406a){const _0x206126=_0x2838ff;super(_0x45e725),this[_0x206126(0x108)]=_0x2186ec,this[_0x206126(0x122)]=_0x59406a,this[_0x206126(0x107)]=!!this[_0x206126(0x122)][_0x206126(0x107)],this[_0x206126(0xcf)](_0x206126(0x120),!0x1),this[_0x206126(0xcf)](_0x206126(0xe0),!0x0),this[_0x206126(0xd1)](_0x206126(0x121))['to'](_0x2186ec,_0x206126(0xf9),_0x2186ec,_0x206126(0xe2),(_0x1996c2,_0x396322)=>_0x3fe9ae(_0x45e725,_0x206126(0xda),[_0x2186ec[_0x206126(0x124)][_0x206126(0x10a)],_0x59406a[_0x206126(0x11f)](_0x396322),new DOMParser()[_0x206126(0x103)](_0x1996c2,_0x206126(0x106))[_0x206126(0xfb)][_0x206126(0xe4)],_0x2186ec[_0x206126(0x100)]?this[_0x206126(0xd6)]():''])),this[_0x206126(0x11d)]=new _0x29b04d(_0x45e725,_0x3fe9ae(_0x45e725,_0x206126(0xfc))),this[_0x206126(0x116)]=this[_0x206126(0xec)](),this[_0x206126(0x116)][_0x206126(0x11b)](this[_0x206126(0xcd)]()),this[_0x206126(0xfd)]=new _0x4a7255(),this[_0x206126(0xdf)]=new _0x276243(),this[_0x206126(0x114)]=new _0x2f89f2(),this[_0x206126(0x110)]=new _0x53b52e({'focusables':this[_0x206126(0xfd)],'focusTracker':this[_0x206126(0xdf)],'keystrokeHandler':this[_0x206126(0x114)],'keystrokeHandlerOptions':{'filter':_0x18093b=>_0x18093b[_0x206126(0x123)]!==this[_0x206126(0xdd)]},'actions':{'focusPrevious':_0x206126(0x11e),'focusNext':_0x206126(0xed)}});}[_0x2838ff(0xe1)](){const _0x2d491f=_0x2838ff;this[_0x2d491f(0xe0)]=!0x1;}[_0x2838ff(0xd7)](){const _0x3119eb=_0x2838ff;this[_0x3119eb(0x120)]||(this[_0x3119eb(0xe0)]=!0x0);}[_0x2838ff(0xf6)](){const _0x698223=_0x2838ff;this[_0x698223(0xdd)][_0x698223(0xf6)]();}[_0x2838ff(0x125)](){const _0x568406=_0x2838ff;super[_0x568406(0x125)](),this[_0x568406(0x117)]();}async[_0x2838ff(0x115)](){const _0x4bb691=_0x2838ff;await this[_0x4bb691(0x116)][_0x4bb691(0x109)](0x0)[_0x4bb691(0x115)](),super[_0x4bb691(0x115)]();}[_0x2838ff(0x112)](){const _0x3dc9d7=_0x2838ff;this[_0x3dc9d7(0x120)]||(this[_0x3dc9d7(0x120)]=!0x0,this[_0x3dc9d7(0x116)][_0x3dc9d7(0xf2)](0x0)[_0x3dc9d7(0x115)](),this[_0x3dc9d7(0x116)][_0x3dc9d7(0x11b)](this[_0x3dc9d7(0xe6)]()));}[_0x2838ff(0x10d)](){const _0x698853=_0x2838ff;this[_0x698853(0x120)]&&(this[_0x698853(0x120)]=!0x1,this[_0x698853(0x116)][_0x698853(0xf2)](0x0)[_0x698853(0x115)](),this[_0x698853(0x116)][_0x698853(0x11b)](this[_0x698853(0xcd)]()));}[_0x2838ff(0xd6)](){const _0x4e36f3=_0x2838ff;return _0x4e36f3(0x11a)===this[_0x4e36f3(0x108)][_0x4e36f3(0xf5)][_0x4e36f3(0x10e)][_0x4e36f3(0xce)]?_0x3fe9ae(this[_0x4e36f3(0xd9)],_0x4e36f3(0xf7)):_0x3fe9ae(this[_0x4e36f3(0xd9)],_0x4e36f3(0xd5));}[_0x2838ff(0x104)](){const _0x17f972=_0x2838ff;return this[_0x17f972(0x108)][_0x17f972(0x100)]?_0x17f972(0x11a)===this[_0x17f972(0x108)][_0x17f972(0xf5)][_0x17f972(0x10e)][_0x17f972(0xce)]?_0x3fe9ae(this[_0x17f972(0xd9)],_0x17f972(0xd2),this[_0x17f972(0x108)][_0x17f972(0xf4)][_0x17f972(0x10a)]):_0x3fe9ae(this[_0x17f972(0xd9)],_0x17f972(0xf0),this[_0x17f972(0x108)][_0x17f972(0xf4)][_0x17f972(0x10a)]):null;}[_0x2838ff(0xcd)](){const _0x5fb090=_0x2838ff,_0x1ace4e=new _0x56cca2(this[_0x5fb090(0xd9)]);return _0x1ace4e[_0x5fb090(0xd1)](_0x5fb090(0xf9))['to'](this[_0x5fb090(0x108)],_0x5fb090(0xf9),this,_0x5fb090(0xe0),(_0x349891,_0x778d10)=>_0x778d10?_0x2d32e3(_0x349891,{'limit':this[_0x5fb090(0x122)][_0x5fb090(0x102)]}):_0x349891),_0x1ace4e;}[_0x2838ff(0xe6)](){const _0x19e0e1=_0x2838ff;this[_0x19e0e1(0x122)][_0x19e0e1(0xdb)]||(this[_0x19e0e1(0x122)][_0x19e0e1(0xdb)]={}),this[_0x19e0e1(0x122)][_0x19e0e1(0xdb)][_0x19e0e1(0x105)]=this[_0x19e0e1(0x108)][_0x19e0e1(0xf9)];const _0x5e6990=new _0x20e73a(this[_0x19e0e1(0xd9)],this[_0x19e0e1(0x122)][_0x19e0e1(0xdb)]);return _0x5e6990[_0x19e0e1(0x118)]=this[_0x19e0e1(0x108)][_0x19e0e1(0xf9)],_0x5e6990[_0x19e0e1(0xd1)](_0x19e0e1(0xe5))['to'](this[_0x19e0e1(0x108)],_0x19e0e1(0xd0)),_0x5e6990[_0x19e0e1(0xe9)]=_0x3fe9ae(this[_0x19e0e1(0xd9)],_0x19e0e1(0xee)),_0x5e6990['on'](_0x19e0e1(0xe8),(_0x4987a3,_0x4d3d56)=>{const _0x4c8f69=_0x19e0e1;this[_0x4c8f69(0xd8)](_0x4c8f69(0xe3),this[_0x4c8f69(0x108)]['id'],_0x4d3d56),this[_0x4c8f69(0x10d)](),this[_0x4c8f69(0xf6)]();}),_0x5e6990['on'](_0x19e0e1(0xfe),()=>{const _0xabe6fc=_0x19e0e1;this[_0xabe6fc(0x10d)](),this[_0xabe6fc(0xf6)]();}),_0x5e6990[_0x19e0e1(0xea)](_0x19e0e1(0x113),()=>{const _0xd95bb5=_0x19e0e1;_0x5e6990[_0xd95bb5(0xf6)]();}),_0x5e6990[_0x19e0e1(0xf8)](),_0x5e6990[_0x19e0e1(0xd4)](_0x19e0e1(0x113))['to'](this),_0x5e6990[_0x19e0e1(0xd4)](_0x19e0e1(0x10c))['to'](this),_0x5e6990;}[_0x2838ff(0x117)](){const _0x4b4425=_0x2838ff,_0x4bb760=this[_0x4b4425(0xdd)];this[_0x4b4425(0x114)][_0x4b4425(0x119)](_0x4bb760);for(const _0x33bcca of this[_0x4b4425(0xfd)])this[_0x4b4425(0xdf)][_0x4b4425(0x11b)](_0x33bcca[_0x4b4425(0xdd)]),this[_0x4b4425(0x114)][_0x4b4425(0x119)](_0x33bcca[_0x4b4425(0xdd)]);this[_0x4b4425(0xfd)]['on'](_0x4b4425(0xfa),(_0x259478,_0x42125f)=>{const _0x5a12f3=_0x4b4425;for(const _0x27d568 of _0x42125f[_0x5a12f3(0x10f)])this[_0x5a12f3(0xdf)][_0x5a12f3(0xf2)](_0x27d568[_0x5a12f3(0xdd)]),this[_0x5a12f3(0x114)][_0x5a12f3(0x111)](_0x27d568[_0x5a12f3(0xdd)]);for(const _0x3e9881 of _0x42125f[_0x5a12f3(0x11c)])this[_0x5a12f3(0xdf)][_0x5a12f3(0x11b)](_0x3e9881[_0x5a12f3(0xdd)]),this[_0x5a12f3(0x114)][_0x5a12f3(0x119)](_0x3e9881[_0x5a12f3(0xdd)]);}),this[_0x4b4425(0x114)][_0x4b4425(0xcf)](_0x4b4425(0xe7),(_0x5926d6,_0x596c60)=>{const _0x19e42e=_0x4b4425;_0x4bb760===_0x5926d6[_0x19e42e(0x123)]&&(this[_0x19e42e(0x110)][_0x19e42e(0xf1)](),_0x596c60());}),this[_0x4b4425(0x114)][_0x4b4425(0xcf)](_0x4b4425(0xeb),(_0x470e69,_0x5911b7)=>{const _0x2304c4=_0x4b4425;_0x4bb760!==_0x470e69[_0x2304c4(0x123)]&&(this[_0x2304c4(0xf6)](),_0x5911b7());});}}
23
+ const _0x5bb028=_0x2984;(function(_0x4eda58,_0x1a008f){const _0x1eb9b5=_0x2984,_0x358a4c=_0x4eda58();while(!![]){try{const _0xbdce19=-parseInt(_0x1eb9b5(0x200))/0x1+-parseInt(_0x1eb9b5(0x242))/0x2*(parseInt(_0x1eb9b5(0x228))/0x3)+-parseInt(_0x1eb9b5(0x247))/0x4*(parseInt(_0x1eb9b5(0x23f))/0x5)+parseInt(_0x1eb9b5(0x219))/0x6+-parseInt(_0x1eb9b5(0x1f8))/0x7+parseInt(_0x1eb9b5(0x226))/0x8*(parseInt(_0x1eb9b5(0x23e))/0x9)+parseInt(_0x1eb9b5(0x23a))/0xa;if(_0xbdce19===_0x1a008f)break;else _0x358a4c['push'](_0x358a4c['shift']());}catch(_0x14d0a){_0x358a4c['push'](_0x358a4c['shift']());}}}(_0xace9,0x51843));import{View as _0x308849,ViewCollection as _0x235ceb,FocusCycler as _0x4c0715}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5021b4,KeystrokeHandler as _0x21d1fe}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x384e52,trimHtml as _0x56f1b2}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentContentView as _0x2e0b56}from'./commentcontentview.js';import{CommentInputView as _0x46110c}from'./commentinputview.js';function _0x2984(_0x2bcddc,_0x1cc0f0){const _0xace942=_0xace9();return _0x2984=function(_0x29842d,_0x1d3763){_0x29842d=_0x29842d-0x1f4;let _0x499c9e=_0xace942[_0x29842d];return _0x499c9e;},_0x2984(_0x2bcddc,_0x1cc0f0);}import{getTranslation as _0x5be261}from'../../../utils/common-translations.js';function _0xace9(){const _0x13eac0=['ariaDescriptionView','switchToEditMode','fire','isReadOnly','_createCommentContentView','destroy','focusFirst','2061564PKwrzk','updateComment','locale','listenTo','textContent','initialData','body','add','getExternalCommentNote','content','disabledSubmit','author','_createCommentInputView','8pRhCgb','switchToDisplayMode','19887ZxxLtG','bind','once','createEditor','Save','added','set','isSystemComment','EXTERNAL_IMPORT_WORD_AVATAR','visibleView','getUserViewNotificationText','editorReady','remove','isExternal','submitLabel','isCollapsed','enter','tab','5514720BxSZkG','target','focusCycler','keystrokes','5333049RirUlD','6980nYvPGM','EXTERNAL_AVATAR','maxCommentCharsWhenCollapsed','4hVErSS','delegate','esc','submit','text/html','1348jFtYnP','editorDestroyed','formatDateTime','shift+tab','focusables','creator','COMMENT_ARIA_LABEL','isEditMode','@external','ariaLabel','removed','change','4037621fKexWV','source','name','authoredAt','EXTERNAL_IMPORT_WORD_COMMENT','expand','focus','element','93223csSvgt','_config','EXTERNAL_COMMENT','render','importWord','stopListening','_model','createCollection','cancel','focusTracker','attributes','value','collapse','get','editorConfig','parseFromString','_setupKeyboardNavigation','COMMENT_THREAD_DESCRIPTION'];_0xace9=function(){return _0x13eac0;};return _0xace9();}export class BaseCommentView extends _0x308849{[_0x5bb028(0x231)];[_0x5bb028(0x212)];[_0x5bb028(0x24b)];[_0x5bb028(0x209)];[_0x5bb028(0x23d)];[_0x5bb028(0x23c)];[_0x5bb028(0x206)];[_0x5bb028(0x201)];constructor(_0x432de5,_0x4ca480,_0x46b82e){const _0x2b6dfd=_0x5bb028;super(_0x432de5),this[_0x2b6dfd(0x206)]=_0x4ca480,this[_0x2b6dfd(0x201)]=_0x46b82e,this[_0x2b6dfd(0x22f)]=!!this[_0x2b6dfd(0x201)][_0x2b6dfd(0x22f)],this[_0x2b6dfd(0x22e)](_0x2b6dfd(0x24e),!0x1),this[_0x2b6dfd(0x22e)](_0x2b6dfd(0x237),!0x0),this[_0x2b6dfd(0x229)](_0x2b6dfd(0x1f5))['to'](_0x4ca480,_0x2b6dfd(0x222),_0x4ca480,_0x2b6dfd(0x1fb),(_0x269120,_0x1fd923)=>_0x5be261(_0x432de5,_0x2b6dfd(0x24d),[_0x4ca480[_0x2b6dfd(0x224)][_0x2b6dfd(0x1fa)],_0x46b82e[_0x2b6dfd(0x249)](_0x1fd923),new DOMParser()[_0x2b6dfd(0x20f)](_0x269120,_0x2b6dfd(0x246))[_0x2b6dfd(0x21f)][_0x2b6dfd(0x21d)],_0x4ca480[_0x2b6dfd(0x235)]?this[_0x2b6dfd(0x221)]():''])),this[_0x2b6dfd(0x212)]=new _0x384e52(_0x432de5,_0x5be261(_0x432de5,_0x2b6dfd(0x211))),this[_0x2b6dfd(0x231)]=this[_0x2b6dfd(0x207)](),this[_0x2b6dfd(0x231)][_0x2b6dfd(0x220)](this[_0x2b6dfd(0x216)]()),this[_0x2b6dfd(0x24b)]=new _0x235ceb(),this[_0x2b6dfd(0x209)]=new _0x5021b4(),this[_0x2b6dfd(0x23d)]=new _0x21d1fe(),this[_0x2b6dfd(0x23c)]=new _0x4c0715({'focusables':this[_0x2b6dfd(0x24b)],'focusTracker':this[_0x2b6dfd(0x209)],'keystrokeHandler':this[_0x2b6dfd(0x23d)],'keystrokeHandlerOptions':{'filter':_0x1bee74=>_0x1bee74[_0x2b6dfd(0x23b)]!==this[_0x2b6dfd(0x1ff)]},'actions':{'focusPrevious':_0x2b6dfd(0x24a),'focusNext':_0x2b6dfd(0x239)}});}[_0x5bb028(0x1fd)](){const _0x5c0528=_0x5bb028;this[_0x5c0528(0x237)]=!0x1;}[_0x5bb028(0x20c)](){const _0x561925=_0x5bb028;this[_0x561925(0x24e)]||(this[_0x561925(0x237)]=!0x0);}[_0x5bb028(0x1fe)](){const _0x3ac1f2=_0x5bb028;this[_0x3ac1f2(0x1ff)][_0x3ac1f2(0x1fe)]();}[_0x5bb028(0x203)](){const _0xe6f00c=_0x5bb028;super[_0xe6f00c(0x203)](),this[_0xe6f00c(0x210)]();}async[_0x5bb028(0x217)](){const _0x175cd8=_0x5bb028;await this[_0x175cd8(0x231)][_0x175cd8(0x20d)](0x0)[_0x175cd8(0x217)](),super[_0x175cd8(0x217)]();}[_0x5bb028(0x213)](){const _0x31e9e3=_0x5bb028;this[_0x31e9e3(0x24e)]||(this[_0x31e9e3(0x24e)]=!0x0,this[_0x31e9e3(0x231)][_0x31e9e3(0x234)](0x0)[_0x31e9e3(0x217)](),this[_0x31e9e3(0x231)][_0x31e9e3(0x220)](this[_0x31e9e3(0x225)]()));}[_0x5bb028(0x227)](){const _0x425718=_0x5bb028;this[_0x425718(0x24e)]&&(this[_0x425718(0x24e)]=!0x1,this[_0x425718(0x231)][_0x425718(0x234)](0x0)[_0x425718(0x217)](),this[_0x425718(0x231)][_0x425718(0x220)](this[_0x425718(0x216)]()));}[_0x5bb028(0x221)](){const _0x2b8aa4=_0x5bb028;return _0x2b8aa4(0x204)===this[_0x2b8aa4(0x206)][_0x2b8aa4(0x20a)][_0x2b8aa4(0x1f4)][_0x2b8aa4(0x1f9)]?_0x5be261(this[_0x2b8aa4(0x21b)],_0x2b8aa4(0x1fc)):_0x5be261(this[_0x2b8aa4(0x21b)],_0x2b8aa4(0x202));}[_0x5bb028(0x232)](){const _0x545932=_0x5bb028;return this[_0x545932(0x206)][_0x545932(0x235)]?_0x545932(0x204)===this[_0x545932(0x206)][_0x545932(0x20a)][_0x545932(0x1f4)][_0x545932(0x1f9)]?_0x5be261(this[_0x545932(0x21b)],_0x545932(0x230),this[_0x545932(0x206)][_0x545932(0x24c)][_0x545932(0x1fa)]):_0x5be261(this[_0x545932(0x21b)],_0x545932(0x240),this[_0x545932(0x206)][_0x545932(0x24c)][_0x545932(0x1fa)]):null;}[_0x5bb028(0x216)](){const _0x40184d=_0x5bb028,_0x4bb974=new _0x2e0b56(this[_0x40184d(0x21b)]);return _0x4bb974[_0x40184d(0x229)](_0x40184d(0x222))['to'](this[_0x40184d(0x206)],_0x40184d(0x222),this,_0x40184d(0x237),(_0x11e26c,_0x5036fe)=>_0x5036fe?_0x56f1b2(_0x11e26c,{'limit':this[_0x40184d(0x201)][_0x40184d(0x241)]}):_0x11e26c),_0x4bb974;}[_0x5bb028(0x225)](){const _0x4e1358=_0x5bb028;this[_0x4e1358(0x201)][_0x4e1358(0x20e)]||(this[_0x4e1358(0x201)][_0x4e1358(0x20e)]={}),this[_0x4e1358(0x201)][_0x4e1358(0x20e)][_0x4e1358(0x21e)]=this[_0x4e1358(0x206)][_0x4e1358(0x222)];const _0x59e1d6=new _0x46110c(this[_0x4e1358(0x21b)],this[_0x4e1358(0x201)][_0x4e1358(0x20e)]);return _0x59e1d6[_0x4e1358(0x20b)]=this[_0x4e1358(0x206)][_0x4e1358(0x222)],_0x59e1d6[_0x4e1358(0x229)](_0x4e1358(0x223))['to'](this[_0x4e1358(0x206)],_0x4e1358(0x215)),_0x59e1d6[_0x4e1358(0x236)]=_0x5be261(this[_0x4e1358(0x21b)],_0x4e1358(0x22c)),_0x59e1d6['on'](_0x4e1358(0x245),(_0x3f45db,_0x2952f6)=>{const _0x393738=_0x4e1358;this[_0x393738(0x214)](_0x393738(0x21a),this[_0x393738(0x206)]['id'],_0x2952f6),this[_0x393738(0x227)](),this[_0x393738(0x1fe)]();}),_0x59e1d6['on'](_0x4e1358(0x208),()=>{const _0x458b5f=_0x4e1358;this[_0x458b5f(0x227)](),this[_0x458b5f(0x1fe)]();}),_0x59e1d6[_0x4e1358(0x22a)](_0x4e1358(0x233),()=>{const _0x26a490=_0x4e1358;_0x59e1d6[_0x26a490(0x1fe)]();}),_0x59e1d6[_0x4e1358(0x22b)](),_0x59e1d6[_0x4e1358(0x243)](_0x4e1358(0x233))['to'](this),_0x59e1d6[_0x4e1358(0x243)](_0x4e1358(0x248))['to'](this),_0x59e1d6;}[_0x5bb028(0x210)](){const _0x2c900d=_0x5bb028,_0x5ba613=this[_0x2c900d(0x1ff)];this[_0x2c900d(0x23d)][_0x2c900d(0x21c)](_0x5ba613);for(const _0x894dbe of this[_0x2c900d(0x24b)])this[_0x2c900d(0x209)][_0x2c900d(0x220)](_0x894dbe[_0x2c900d(0x1ff)]),this[_0x2c900d(0x23d)][_0x2c900d(0x21c)](_0x894dbe[_0x2c900d(0x1ff)]);this[_0x2c900d(0x24b)]['on'](_0x2c900d(0x1f7),(_0x555ba9,_0x138910)=>{const _0x40d86b=_0x2c900d;for(const _0x231ea3 of _0x138910[_0x40d86b(0x1f6)])this[_0x40d86b(0x209)][_0x40d86b(0x234)](_0x231ea3[_0x40d86b(0x1ff)]),this[_0x40d86b(0x23d)][_0x40d86b(0x205)](_0x231ea3[_0x40d86b(0x1ff)]);for(const _0x577a8b of _0x138910[_0x40d86b(0x22d)])this[_0x40d86b(0x209)][_0x40d86b(0x220)](_0x577a8b[_0x40d86b(0x1ff)]),this[_0x40d86b(0x23d)][_0x40d86b(0x21c)](_0x577a8b[_0x40d86b(0x1ff)]);}),this[_0x2c900d(0x23d)][_0x2c900d(0x22e)](_0x2c900d(0x238),(_0x2ad3ed,_0x20f45e)=>{const _0x46c11a=_0x2c900d;_0x5ba613===_0x2ad3ed[_0x46c11a(0x23b)]&&(this[_0x46c11a(0x23c)][_0x46c11a(0x218)](),_0x20f45e());}),this[_0x2c900d(0x23d)][_0x2c900d(0x22e)](_0x2c900d(0x244),(_0x4086e9,_0x27fd53)=>{const _0x3bf2cb=_0x2c900d;_0x5ba613!==_0x4086e9[_0x3bf2cb(0x23b)]&&(this[_0x3bf2cb(0x1fe)](),_0x27fd53());});}}