@ckeditor/ckeditor5-comments 47.1.0-alpha.0 → 47.1.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 _0x279067=_0x45af;(function(_0x1dff03,_0x5bb469){const _0x42d929=_0x45af,_0x4a67c8=_0x1dff03();while(!![]){try{const _0xb63807=parseInt(_0x42d929(0x19a))/0x1+parseInt(_0x42d929(0x177))/0x2+-parseInt(_0x42d929(0x18c))/0x3*(-parseInt(_0x42d929(0x140))/0x4)+parseInt(_0x42d929(0x1a4))/0x5*(parseInt(_0x42d929(0x1ac))/0x6)+-parseInt(_0x42d929(0x152))/0x7*(-parseInt(_0x42d929(0x104))/0x8)+-parseInt(_0x42d929(0x129))/0x9+-parseInt(_0x42d929(0x141))/0xa;if(_0xb63807===_0x5bb469)break;else _0x4a67c8['push'](_0x4a67c8['shift']());}catch(_0x24687c){_0x4a67c8['push'](_0x4a67c8['shift']());}}}(_0x1e12,0xdf0dc));import{PendingActions as _0x4944b7,ContextPlugin as _0x5d696c,Editor as _0x2307bb}from'ckeditor5/src/core.js';import{Collection as _0xe38014,uid as _0x2430a8,CKEditorError as _0x4639fb,ObservableMixin as _0x8ed3b0}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0xcbda40,hashObject as _0x292126,Users as _0x17ad6b}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x372e5c,isEqual as _0x3e4ffe,set as _0x34bf3e,unset as _0x13c068}from'es-toolkit/compat';import{CommentThreadController as _0x21ba5e}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x1a7eeb}from'./ui/view/commentthreadview.js';import{CommentView as _0x4addae}from'./ui/view/commentview.js';import{getTranslation as _0x4138e6}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x3a03d7}from'../annotations/view/annotationview.js';import{Annotation as _0x435a16}from'../annotations/annotation.js';import{Annotations as _0x4adb59}from'../annotations/annotations.js';const bt=Symbol(_0x279067(0x15a)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x5d696c{[_0x279067(0x14f)];[_0x279067(0x1b2)];[_0x279067(0xea)];static get[_0x279067(0x15e)](){return[_0x4adb59,_0x4944b7,_0x17ad6b];}static get[_0x279067(0x14c)](){const _0x5a45a1=_0x279067;return _0x5a45a1(0x198);}static get[_0x279067(0xed)](){return!0x0;}static get[_0x279067(0x163)](){return!0x0;}constructor(_0x5e74cf){const _0x701004=_0x279067;super(_0x5e74cf),this[_0x701004(0x14f)]=new Map(),this[_0x701004(0x1b2)]=new Map(),this[_0x701004(0xea)]=new Map(),this[_0x701004(0x174)](_0x701004(0x12b),new Set()),this[_0x701004(0x174)](_0x701004(0x108),new Map());const _0x1cb25e=this[_0x701004(0x179)][_0x701004(0x188)];_0x1cb25e[_0x701004(0xf0)](_0x701004(0xd3),0x2),_0x1cb25e[_0x701004(0xf0)](_0x701004(0x189),0x1f4),_0x1cb25e[_0x701004(0xf0)](_0x701004(0x142),0x8c),_0x1cb25e[_0x701004(0xf0)](_0x701004(0x193),_0x1a7eeb),_0x1cb25e[_0x701004(0xf0)](_0x701004(0x128),_0x4addae),_0x1cb25e[_0x701004(0x18d)](_0x701004(0x139))||console[_0x701004(0x12f)](_0x701004(0x1a0));}[_0x279067(0x158)](){const _0x8cb7d1=_0x279067,_0x67fe79=this[_0x8cb7d1(0x179)][_0x8cb7d1(0xf3)][_0x8cb7d1(0x18d)](_0x4adb59);this[_0x8cb7d1(0x174)](_0x8cb7d1(0x166),null),this['on'](_0x8cb7d1(0x151),(_0x2e9a71,_0x3e214a)=>this[_0x8cb7d1(0x183)](_0x3e214a)),this['on'](_0x8cb7d1(0x10b),(_0x20b272,_0x5b3187)=>this[_0x8cb7d1(0x18a)](_0x5b3187)),this['on'](_0x8cb7d1(0xe1),(_0x4129fb,_0x5be90e)=>this[_0x8cb7d1(0x13a)](_0x5be90e)),this['on'](_0x8cb7d1(0xe1),(_0x49019a,_0x9b768b)=>this[_0x8cb7d1(0x119)](_0x9b768b),{'priority':_0x8cb7d1(0x1ab)}),this['on'](_0x8cb7d1(0x160),(_0x5a2471,_0x2417ba)=>this[_0x8cb7d1(0xf7)](_0x2417ba)),this['on'](_0x8cb7d1(0x160),(_0x105920,_0x200d1d)=>this[_0x8cb7d1(0x119)](_0x200d1d),{'priority':_0x8cb7d1(0x1ab)}),this['on'](_0x8cb7d1(0xda),(_0x18e306,_0x30493d)=>this[_0x8cb7d1(0x12a)](_0x30493d)),this['on'](_0x8cb7d1(0x184),(_0x3f00ee,_0xe61f04)=>this[_0x8cb7d1(0x15d)](_0xe61f04)),this['on'](_0x8cb7d1(0x184),(_0x2842dc,_0x4c077f)=>this[_0x8cb7d1(0x119)](_0x4c077f),{'priority':_0x8cb7d1(0x1ab)}),this['on'](_0x8cb7d1(0x123),(_0x40023d,_0x2bbb19)=>this[_0x8cb7d1(0x120)](_0x2bbb19)),this['on'](_0x8cb7d1(0x130),(_0x4d4049,_0x551f1d)=>this[_0x8cb7d1(0x12d)](_0x551f1d)),this['on'](_0x8cb7d1(0xfc),(_0x1810c5,_0x200a8c)=>this[_0x8cb7d1(0x19e)](_0x200a8c)),this['on'](_0x8cb7d1(0x123),(_0x2036e7,{threadId:_0x5691f6,isFromAdapter:_0x110694})=>{const _0x3e766c=_0x8cb7d1;if(_0x110694)return;const _0x2e131d=this[_0x3e766c(0x124)](_0x5691f6),_0x59e30f=_0x2e131d&&this[_0x3e766c(0x1b2)][_0x3e766c(0x18d)](_0x2e131d);_0x59e30f&&_0x59e30f[_0x3e766c(0x186)][_0x3e766c(0x165)][_0x3e766c(0x19f)](-0x1);},{'priority':_0x8cb7d1(0x1ab)}),this[_0x8cb7d1(0x11d)](_0x67fe79,_0x8cb7d1(0x133),(_0x2c0111,_0x346899,_0x22d874)=>{const _0x3f0aa6=_0x8cb7d1,_0x5b34e0=Array[_0x3f0aa6(0x115)](_0x22d874)[_0x3f0aa6(0x13b)](_0x5e85f5=>this[_0x3f0aa6(0xea)][_0x3f0aa6(0x18d)](_0x5e85f5[_0x3f0aa6(0x13d)]))[_0x3f0aa6(0xec)](Boolean)[0x0];this[_0x3f0aa6(0x166)]=_0x5b34e0?_0x5b34e0[_0x3f0aa6(0xe6)]:null;});}set[_0x279067(0xdb)](_0x1dbaea){const _0x49b12e=_0x279067;if(this[_0x49b12e(0x117)])throw new _0x4639fb(_0x49b12e(0x144));this[_0x49b12e(0x117)]=_0x1dbaea;}get[_0x279067(0xdb)](){const _0x12d3d7=_0x279067;return this[_0x12d3d7(0x117)];}[_0x279067(0x151)]({channelId:_0xcc180=bt,threadId:_0x205598=_0x2430a8(),comments:_0x50fe7d=[],unlinkedAt:_0x29cddc=null,resolvedAt:_0x4372ad=null,resolvedBy:_0x4aff41=null,target:_0x3f6ec2=null,context:_0x4b3e06=null,attributes:_0x9e3130={},isResolvable:_0x5b97ab=!0x0,isSubmitted:_0x6549a5=!0x1,isFromAdapter:_0x5570ae=!0x1}={}){const _0x4f41a3=_0x279067;return this[_0x4f41a3(0x18f)](xt(_0x4f41a3(0x151),_0xcc180),{'channelId':_0xcc180,'threadId':_0x205598,'comments':_0x50fe7d,'unlinkedAt':_0x29cddc,'resolvedAt':_0x4372ad,'resolvedBy':_0x4aff41,'target':_0x3f6ec2,'context':_0x4b3e06,'attributes':_0x9e3130,'isFromAdapter':_0x5570ae,'isResolvable':_0x5b97ab,'isSubmitted':_0x6549a5}),this[_0x4f41a3(0x124)](_0x205598);}[_0x279067(0x102)]({channelId:_0x5e14c1=bt,threadId:_0x320f0b=_0x2430a8(),target:_0x366ea2,context:_0x19c918=null,isResolvable:_0x1301c9=!0x0}){const _0x3c22e5=_0x279067;if(this[_0x3c22e5(0x12b)][_0x3c22e5(0x131)](_0x5e14c1)||this[_0x3c22e5(0x12b)][_0x3c22e5(0x131)](void 0x0))return null;if(!_0x366ea2)throw new _0x4639fb(_0x3c22e5(0x18e));const _0x25f78d=this[_0x3c22e5(0x151)]({'channelId':_0x5e14c1,'threadId':_0x320f0b,'target':_0x366ea2,'context':_0x19c918,'isResolvable':_0x1301c9});if(!_0x25f78d)return null;const _0x11d5ae=this[_0x3c22e5(0x1b2)][_0x3c22e5(0x18d)](_0x25f78d),_0xdf384a=_0x11d5ae[_0x3c22e5(0x186)][_0x3c22e5(0xee)][_0x3c22e5(0x11b)],_0x450d69=this[_0x3c22e5(0x179)][_0x3c22e5(0xf3)][_0x3c22e5(0x18d)](_0x4adb59),_0x56f7af=_0x450d69[_0x3c22e5(0x16d)](_0x11d5ae[_0x3c22e5(0x186)]);return _0x450d69[_0x3c22e5(0x161)](_0x56f7af),_0xdf384a[_0x3c22e5(0x1ae)](_0x3c22e5(0x192),()=>_0xdf384a[_0x3c22e5(0x19f)]()),_0x25f78d;}[_0x279067(0xe8)](_0x5be16a){const _0x597a71=_0x279067;if(_0x597a71(0x197)!=typeof _0x5be16a)throw new _0x4639fb(_0x597a71(0x100));return this[_0x597a71(0x14f)][_0x597a71(0x131)](_0x5be16a);}[_0x279067(0x184)]({channelId:_0x270219=bt,threadId:_0x44e358,context:_0x2463f3,unlinkedAt:_0x300fb0,attributes:_0x59f9bf,isFromAdapter:_0x25fa7b=!0x1}){const _0x268492=_0x279067;return this[_0x268492(0x18f)](xt(_0x268492(0x184),_0x270219),{'channelId':_0x270219,'threadId':_0x44e358,'context':_0x2463f3,'unlinkedAt':_0x300fb0,'attributes':_0x59f9bf,'isFromAdapter':_0x25fa7b}),this[_0x268492(0x124)](_0x44e358);}[_0x279067(0x124)](_0xa194be){const _0x5c8066=_0x279067;if(_0x5c8066(0x197)!=typeof _0xa194be)throw new _0x4639fb(_0x5c8066(0x100));return this[_0x5c8066(0x14f)][_0x5c8066(0x18d)](_0xa194be);}[_0x279067(0x157)]({channelId:_0x141e3a,threadId:_0x59bde0}={}){const _0x597719=_0x279067,_0x369796=this[_0x597719(0x124)](_0x59bde0);if(_0x369796)return Promise[_0x597719(0x16a)](_0x369796);if(!this[_0x597719(0xdb)])return Promise[_0x597719(0x16a)](void 0x0);if(_0x597719(0x143)!=typeof this[_0x597719(0xdb)][_0x597719(0x124)])throw new _0x4639fb(_0x597719(0xe9),this[_0x597719(0x179)]);return this[_0x597719(0xdb)][_0x597719(0x124)]({'channelId':_0x141e3a,'threadId':_0x59bde0})[_0x597719(0xf5)](_0x57f8ce=>this[_0x597719(0xe8)](_0x59bde0)?this[_0x597719(0x124)](_0x59bde0):_0x57f8ce?this[_0x597719(0x151)](Object[_0x597719(0x10d)]({'isFromAdapter':!0x0,'channelId':_0x141e3a},_0x57f8ce)):void 0x0)[_0x597719(0x1ad)](_0x32f95f=>{const _0x5b2d54=_0x597719;throw console[_0x5b2d54(0x135)](_0x32f95f),new _0x4639fb(_0x5b2d54(0x19b),this[_0x5b2d54(0x179)]);});}[_0x279067(0x14d)]({channelId:_0x33078c,skipNotAttached:_0x4ffa0a=!0x1,skipEmpty:_0x560725=!0x1,toJSON:_0xb797d2=!0x1}={}){const _0x3c4946=_0x279067,_0x2e34b6=[];for(const _0x2daac7 of this[_0x3c4946(0x14f)][_0x3c4946(0xef)]())_0x33078c&&_0x2daac7[_0x3c4946(0x101)]!==_0x33078c||_0x4ffa0a&&!_0x2daac7[_0x3c4946(0x125)]||_0x560725&&0x0===_0x2daac7[_0x3c4946(0x13f)]||_0x2e34b6[_0x3c4946(0xd7)](_0x2daac7);return _0xb797d2?_0x2e34b6[_0x3c4946(0x13b)](_0x30acca=>_0x30acca[_0x3c4946(0x121)]()):_0x2e34b6;}[_0x279067(0x13c)](_0x5d4bab){const _0x2bc5fa=_0x279067,_0x6a88b=this[_0x2bc5fa(0x1b2)][_0x2bc5fa(0x18d)](_0x5d4bab);if(!_0x6a88b)return null;return this[_0x2bc5fa(0x179)][_0x2bc5fa(0xf3)][_0x2bc5fa(0x18d)](_0x4adb59)[_0x2bc5fa(0x16d)](_0x6a88b[_0x2bc5fa(0x186)])||null;}[_0x279067(0xeb)](_0x78773e){const _0x4e2501=_0x279067,_0x1cea0e=this[_0x4e2501(0xea)][_0x4e2501(0x18d)](_0x78773e[_0x4e2501(0x13d)]);return _0x1cea0e?_0x1cea0e[_0x4e2501(0xe6)]:null;}[_0x279067(0x10c)](_0x3f7065){const _0x583cd6=_0x279067,_0x205819=this[_0x583cd6(0x179)][_0x583cd6(0xf3)][_0x583cd6(0x18d)](_0x4adb59);if(!_0x3f7065)return void(this[_0x583cd6(0x166)]&&_0x205819[_0x583cd6(0x1a3)]());const _0x3a53c5=this[_0x583cd6(0x124)](_0x3f7065);if(!_0x3a53c5)throw new _0x4639fb(_0x583cd6(0xe7),null,{'threadId':_0x3f7065});if(!this[_0x583cd6(0x1b2)][_0x583cd6(0x131)](_0x3a53c5))throw new _0x4639fb(_0x583cd6(0x178),null,{'threadId':_0x3f7065});const _0x2e6c7d=_0x205819[_0x583cd6(0x16d)](this[_0x583cd6(0x1b2)][_0x583cd6(0x18d)](_0x3a53c5)[_0x583cd6(0x186)]);_0x205819[_0x583cd6(0x161)](_0x2e6c7d);}[_0x279067(0xe3)](_0x3a41a6,_0x1f650d){const _0x332409=_0x279067;_0x3a41a6?this[_0x332409(0x12b)][_0x332409(0x118)](_0x1f650d):this[_0x332409(0x12b)][_0x332409(0xde)](_0x1f650d),this[_0x332409(0x18f)](_0x332409(0x164),_0x332409(0x12b),this[_0x332409(0x12b)],this[_0x332409(0x12b)]);}[_0x279067(0x153)](_0x16ad7b){const _0x2af14c=_0x279067;return this[_0x2af14c(0x12b)][_0x2af14c(0x131)](_0x16ad7b)||this[_0x2af14c(0x12b)][_0x2af14c(0x131)](void 0x0);}[_0x279067(0x1a7)](_0x2b7697,_0x2f6641){return new _0x21ba5e(_0x2b7697,_0x2f6641);}[_0x279067(0x182)](_0x2c986e,_0x155574=bt){const _0x9e7cb2=_0x279067;this[_0x9e7cb2(0x108)][_0x9e7cb2(0x174)](_0x155574,_0x2c986e),this[_0x9e7cb2(0x18f)](_0x9e7cb2(0x126),_0x9e7cb2(0x108),this[_0x9e7cb2(0x108)],this[_0x9e7cb2(0x108)]);}[_0x279067(0x116)](_0x29932c=bt){const _0x427e97=_0x279067;return this[_0x427e97(0x108)][_0x427e97(0x131)](_0x29932c)?this[_0x427e97(0x108)][_0x427e97(0x18d)](_0x29932c):Nt;}[_0x279067(0x183)]({channelId:_0x4a936d,threadId:_0x336729,comments:_0x2470c7,unlinkedAt:_0x145f33,resolvedAt:_0x417ab2,resolvedBy:_0x5b138c,target:_0x4c8b5a,context:_0x3dc4e9,attributes:_0x464f61,isFromAdapter:_0x314216,isResolvable:_0x20cc3c,isSubmitted:_0x1e44bf}){const _0xb9e920=_0x279067;if(_0xb9e920(0x197)!=typeof _0x336729)throw new _0x4639fb(_0xb9e920(0x100),null,{'threadId':_0x336729});if(this[_0xb9e920(0xe8)](_0x336729))throw new _0x4639fb(_0xb9e920(0x1a1),null,{'threadId':_0x336729});const _0xc5b00d=new CommentThread(this,{'channelId':_0x4a936d,'id':_0x336729,'context':_0x3dc4e9,'attributes':_0x464f61,'unlinkedAt':_0x145f33,'resolvedAt':_0x417ab2,'resolvedBy':_0x5b138c?this[_0xb9e920(0x179)][_0xb9e920(0xf3)][_0xb9e920(0x18d)](_0x17ad6b)[_0xb9e920(0x136)](_0x5b138c):null,'isResolvable':_0x20cc3c,'isSubmitted':_0x1e44bf||_0x314216});this[_0xb9e920(0x14f)][_0xb9e920(0x174)](_0x336729,_0xc5b00d);for(const _0x3a1675 of _0x2470c7)_0xc5b00d[_0xb9e920(0xd5)](this[_0xb9e920(0xdc)]({'threadId':_0x336729,..._0x3a1675}));return _0x4c8b5a&&_0xc5b00d[_0xb9e920(0x176)](_0x4c8b5a),_0x314216||!_0xc5b00d[_0xb9e920(0x13f)]?Promise[_0xb9e920(0x16a)]():this[_0xb9e920(0x18a)]({'channelId':_0x4a936d,'threadId':_0x336729});}[_0x279067(0x18a)]({channelId:_0x588f46,threadId:_0x1ef285}){const _0x291b7d=_0x279067;if(!this[_0x291b7d(0xe8)](_0x1ef285))throw new _0x4639fb(_0x291b7d(0x19d),this);const _0x53d819=this[_0x291b7d(0x124)](_0x1ef285);if(_0x53d819[_0x291b7d(0x1b3)]=!0x0,!this[_0x291b7d(0xdb)]||_0x291b7d(0x143)!=typeof this[_0x291b7d(0xdb)][_0x291b7d(0x151)])return Promise[_0x291b7d(0x16a)]();const {id:_0x4118e1,comments:_0x4d6fed,resolvedAt:_0x3bbbe8,resolvedBy:_0xddd25,context:_0x52157e,attributes:_0x1ef79d}=_0x53d819,_0x47d99f=this[_0x291b7d(0x179)][_0x291b7d(0xf3)][_0x291b7d(0x18d)](_0x291b7d(0x17d)),_0x3eb0f3=_0x47d99f[_0x291b7d(0x118)](_0x4138e6(this[_0x291b7d(0x179)][_0x291b7d(0x175)],_0x291b7d(0x110)));return this[_0x291b7d(0xdb)][_0x291b7d(0x151)]({'channelId':_0x588f46,'threadId':_0x4118e1,'comments':_0x4d6fed[_0x291b7d(0x13b)](_0x13cbf5=>_0x13cbf5[_0x291b7d(0x121)]()),'resolvedAt':_0x3bbbe8,'resolvedBy':_0xddd25?_0xddd25['id']:_0xddd25,'context':_0x52157e,'attributes':_0x1ef79d})[_0x291b7d(0xf5)](({comments:_0xe6a03d})=>{const _0x59ef12=_0x291b7d;_0x47d99f[_0x59ef12(0x169)](_0x3eb0f3);for(const _0x500228 of _0xe6a03d)this[_0x59ef12(0x12d)]({'channelId':_0x588f46,'threadId':_0x1ef285,'commentId':_0x500228[_0x59ef12(0x191)],'createdAt':_0x500228[_0x59ef12(0x162)],'isFromAdapter':!0x0});})[_0x291b7d(0x1ad)](_0x2a225f=>{const _0x48c789=_0x291b7d;throw console[_0x48c789(0x135)](_0x2a225f),new _0x4639fb(_0x48c789(0xf8),this);});}[_0x279067(0x11f)]({threadId:_0x2a4f79,target:_0x222c8e}){const _0x13e2a9=_0x279067,_0x3c64a8=this[_0x13e2a9(0x124)](_0x2a4f79);if(!_0x3c64a8)throw new _0x4639fb(_0x13e2a9(0x1b1),this);const _0x31ba99=this[_0x13e2a9(0x179)][_0x13e2a9(0xf3)][_0x13e2a9(0x18d)](_0x13e2a9(0x17d)),_0x1ab8d0=this[_0x13e2a9(0x179)][_0x13e2a9(0xf3)][_0x13e2a9(0x18d)](_0x4adb59),_0x17c58a=this[_0x13e2a9(0x1a8)](_0x3c64a8),_0x51b3cb=new _0x21ba5e(_0x3c64a8,_0x17c58a);let _0x8446bf=null;_0x17c58a['on'](_0x13e2a9(0x172),(_0x29db3a,_0x2a8c8b,_0x5d539a)=>{const _0x5ed63a=_0x13e2a9;_0x5d539a?_0x8446bf=_0x31ba99[_0x5ed63a(0x118)](_0x4138e6(this[_0x5ed63a(0x179)][_0x5ed63a(0x175)],_0x5ed63a(0x110))):_0x8446bf&&(_0x31ba99[_0x5ed63a(0x169)](_0x8446bf),_0x8446bf=null);}),this[_0x13e2a9(0x1b2)][_0x13e2a9(0x174)](_0x3c64a8,_0x51b3cb),this[_0x13e2a9(0xea)][_0x13e2a9(0x174)](_0x17c58a,_0x51b3cb);const _0x3ea22b=new _0x3a03d7(this[_0x13e2a9(0x179)][_0x13e2a9(0x175)],_0x17c58a);_0x3ea22b[_0x13e2a9(0xf4)](_0x13e2a9(0x13f))['to'](_0x17c58a),_0x3ea22b[_0x13e2a9(0xf4)](_0x13e2a9(0x15b))['to'](_0x17c58a,_0x13e2a9(0x15b),_0x17c58a,_0x13e2a9(0x13f),(_0x84666,_0x65d7c0)=>_0x84666||!_0x65d7c0),_0x3ea22b[_0x13e2a9(0xf4)](_0x13e2a9(0x11a))['to'](_0x17c58a),_0x3ea22b[_0x13e2a9(0x112)]=_0x13e2a9(0xdf);const _0x43c41c=new _0x435a16({'view':_0x3ea22b,'target':_0x222c8e,'type':_0x13e2a9(0xdf),'isVisible':!_0x3c64a8[_0x13e2a9(0xcf)]&&!!(_0x13e2a9(0x143)==typeof _0x222c8e?_0x222c8e():_0x222c8e)});return _0x17c58a['on'](_0x13e2a9(0x159),()=>{const _0x42ce71=_0x13e2a9;_0x43c41c[_0x42ce71(0x18f)](_0x42ce71(0x159));}),this[_0x13e2a9(0xf9)](_0x17c58a,_0x43c41c),_0x1ab8d0[_0x13e2a9(0x118)](_0x43c41c),_0x43c41c;}[_0x279067(0xf9)](_0x2971d4,_0x3db4f3){const _0x4418db=_0x279067;this[_0x4418db(0x11d)](_0x2971d4,_0x4418db(0x192),(_0xf480b4,_0x4d2bb8)=>{const _0x43e10c=_0x4418db,_0x2258c8=_0x4d2bb8['ui'][_0x43e10c(0x186)][_0x43e10c(0x195)][_0x43e10c(0x14a)];_0x3db4f3[_0x43e10c(0x171)][_0x43e10c(0x118)](_0x2258c8),this[_0x43e10c(0x179)]instanceof _0x2307bb&&this[_0x43e10c(0x179)]['ui'][_0x43e10c(0xf2)][_0x43e10c(0x118)](_0x2258c8);},{'priority':_0x4418db(0x17f)}),this[_0x4418db(0x11d)](_0x2971d4,_0x4418db(0x106),(_0x43bc4c,_0x5a326b)=>{const _0x12c323=_0x4418db,_0x3161fc=_0x5a326b['ui'][_0x12c323(0x186)][_0x12c323(0x195)][_0x12c323(0x14a)];_0x3db4f3[_0x12c323(0x171)][_0x12c323(0x131)](_0x3161fc)&&_0x3db4f3[_0x12c323(0x171)][_0x12c323(0x169)](_0x3161fc),this[_0x12c323(0x179)]instanceof _0x2307bb&&this[_0x12c323(0x179)]['ui'][_0x12c323(0xf2)][_0x12c323(0x169)](_0x3161fc);});}[_0x279067(0x16f)](_0x27ee4e){const _0x3bbad7=_0x279067;this[_0x3bbad7(0x122)](_0x27ee4e,_0x3bbad7(0x192)),this[_0x3bbad7(0x122)](_0x27ee4e,_0x3bbad7(0x106));}[_0x279067(0x1a8)](_0x10027e){const _0xbafc00=_0x279067,_0x669502=this[_0xbafc00(0x179)][_0xbafc00(0xf3)][_0xbafc00(0x18d)](_0x17ad6b),{config:_0x17f83c,locale:_0x1567af}=this[_0xbafc00(0x179)],_0x469b21=_0xcbda40(_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0x175)),_0x1567af);return new(0x0,(_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0xd9)))[(_0xbafc00(0xce))])(_0x1567af,_0x10027e,_0x669502['me'],{'editorConfig':{..._0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0x139)),'licenseKey':this[_0xbafc00(0x179)][_0xbafc00(0x188)][_0xbafc00(0x18d)](_0xbafc00(0x19c))},'copyMarkers':_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0x127)),'maxCommentsWhenCollapsed':_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0xd3)),'maxThreadTotalWeight':_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0x189)),'maxCommentCharsWhenCollapsed':_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0x142)),'formatDateTime':_0x469b21,'CommentView':_0x17f83c[_0xbafc00(0x18d)](_0xbafc00(0xd9))[_0xbafc00(0x147)]});}[_0x279067(0x13a)]({threadId:_0x299800,channelId:_0x16ad05,resolvedAt:_0x5e0666,resolvedBy:_0x5216e5,isFromAdapter:_0x3c86df}){const _0x5b0d7a=_0x279067;if(!this[_0x5b0d7a(0xe8)](_0x299800))throw new _0x4639fb(_0x5b0d7a(0x19d),null,{'threadId':_0x299800});const _0x438163=this[_0x5b0d7a(0x124)](_0x299800);if(_0x438163[_0x5b0d7a(0x190)])throw new _0x4639fb(_0x5b0d7a(0x16b),null,{'threadId':_0x299800});const _0x2b73e6=this[_0x5b0d7a(0x179)][_0x5b0d7a(0xf3)][_0x5b0d7a(0x18d)](_0x17ad6b);if(_0x438163[_0x5b0d7a(0xd0)]=_0x2b73e6[_0x5b0d7a(0x136)](_0x5216e5),_0x438163[_0x5b0d7a(0x1a2)]=_0x5e0666,_0x3c86df||!this[_0x5b0d7a(0xdb)]||_0x5b0d7a(0x143)!=typeof this[_0x5b0d7a(0xdb)][_0x5b0d7a(0xe1)])return Promise[_0x5b0d7a(0x16a)]();const _0x347b03=this[_0x5b0d7a(0x179)][_0x5b0d7a(0xf3)][_0x5b0d7a(0x18d)](_0x5b0d7a(0x17d)),_0xcc0829=_0x347b03[_0x5b0d7a(0x118)](_0x4138e6(this[_0x5b0d7a(0x179)][_0x5b0d7a(0x175)],_0x5b0d7a(0x110)));return this[_0x5b0d7a(0xdb)][_0x5b0d7a(0xe1)]({'channelId':_0x16ad05,'threadId':_0x299800})[_0x5b0d7a(0xf5)](({resolvedAt:_0xbeefab,resolvedBy:_0x480f36})=>{const _0x1ee7ad=_0x5b0d7a;_0x347b03[_0x1ee7ad(0x169)](_0xcc0829),_0x438163[_0x1ee7ad(0xd0)]['id']!==_0x480f36&&(_0x438163[_0x1ee7ad(0xd0)]=_0x2b73e6[_0x1ee7ad(0x136)](_0x480f36)),_0x438163[_0x1ee7ad(0x1a2)]=_0xbeefab;})[_0x5b0d7a(0x1ad)](_0x37bf6d=>{const _0x567caa=_0x5b0d7a;throw console[_0x567caa(0x135)](_0x37bf6d),new _0x4639fb(_0x567caa(0x1a5),this);});}[_0x279067(0xf7)]({threadId:_0x55fb92,channelId:_0x1b85d3,isFromAdapter:_0x14004e}){const _0x166854=_0x279067;if(!this[_0x166854(0xe8)](_0x55fb92))throw new _0x4639fb(_0x166854(0x19d),null,{'threadId':_0x55fb92});const _0x3802ce=this[_0x166854(0x124)](_0x55fb92);if(!_0x3802ce[_0x166854(0x190)])throw new _0x4639fb(_0x166854(0xfb),null,{'threadId':_0x55fb92});if(_0x3802ce[_0x166854(0xd0)]=null,_0x3802ce[_0x166854(0x1a2)]=null,_0x14004e||!this[_0x166854(0xdb)]||_0x166854(0x143)!=typeof this[_0x166854(0xdb)][_0x166854(0x160)])return Promise[_0x166854(0x16a)]();const _0x33bbd0=this[_0x166854(0x179)][_0x166854(0xf3)][_0x166854(0x18d)](_0x166854(0x17d)),_0x356bbd=_0x33bbd0[_0x166854(0x118)](_0x4138e6(this[_0x166854(0x179)][_0x166854(0x175)],_0x166854(0x110)));return this[_0x166854(0xdb)][_0x166854(0x160)]({'channelId':_0x1b85d3,'threadId':_0x55fb92})[_0x166854(0xf5)](()=>_0x33bbd0[_0x166854(0x169)](_0x356bbd))[_0x166854(0x1ad)](_0x4eecd0=>{const _0x495286=_0x166854;throw console[_0x495286(0x135)](_0x4eecd0),new _0x4639fb(_0x495286(0xe0),this);});}[_0x279067(0x12a)]({threadId:_0x4988ca,isFromAdapter:_0xa3379f}){const _0x382d35=_0x279067,_0x3d10c9=this[_0x382d35(0x124)](_0x4988ca);if(!_0x3d10c9)throw new _0x4639fb(_0x382d35(0x17b),this);if(this[_0x382d35(0x168)](_0x4988ca),this[_0x382d35(0x14f)][_0x382d35(0xde)](_0x4988ca),!_0x3d10c9[_0x382d35(0x18b)]||_0xa3379f||!this[_0x382d35(0xdb)]||_0x382d35(0x143)!=typeof this[_0x382d35(0xdb)][_0x382d35(0xda)])return Promise[_0x382d35(0x16a)]();const _0x332ee2=this[_0x382d35(0x179)][_0x382d35(0xf3)][_0x382d35(0x18d)](_0x382d35(0x17d)),{channelId:_0x25ab94}=_0x3d10c9,_0x59c26f=_0x332ee2[_0x382d35(0x118)](_0x4138e6(this[_0x382d35(0x179)][_0x382d35(0x175)],_0x382d35(0x110)));return this[_0x382d35(0xdb)][_0x382d35(0xda)]({'channelId':_0x25ab94,'threadId':_0x4988ca})[_0x382d35(0xf5)](()=>_0x332ee2[_0x382d35(0x169)](_0x59c26f))[_0x382d35(0x1ad)](_0x565ac1=>{const _0x408f1c=_0x382d35;throw console[_0x408f1c(0x135)](_0x565ac1),new _0x4639fb(_0x408f1c(0x111),this);});}[_0x279067(0x15d)]({threadId:_0x5edb00,unlinkedAt:_0x58231a,context:_0x403ee9,attributes:_0x4ef0eb,isFromAdapter:_0xe050fc}){const _0x59f5b4=_0x279067;if(_0x59f5b4(0x197)!=typeof _0x5edb00)throw new _0x4639fb(_0x59f5b4(0x100),null,{'threadId':_0x5edb00});if(!this[_0x59f5b4(0xe8)](_0x5edb00))throw new _0x4639fb(_0x59f5b4(0x19d),null,{'threadId':_0x5edb00});const _0x58b3a6=this[_0x59f5b4(0x124)](_0x5edb00);let _0x15b24e=!0x1;if(void 0x0!==_0x403ee9&&_0x58b3a6[_0x59f5b4(0x179)]!==_0x403ee9&&(_0x58b3a6[_0x59f5b4(0x179)]=_0x403ee9,_0x15b24e=!0x0),void 0x0!==_0x58231a&&_0x58b3a6[_0x59f5b4(0x185)]!==_0x58231a&&(_0x58b3a6[_0x59f5b4(0x185)]=_0x58231a,_0x15b24e=!0x0),_0x4ef0eb&&!_0x3e4ffe(_0x4ef0eb,_0x58b3a6[_0x59f5b4(0x16e)])&&(_0x58b3a6[_0x59f5b4(0x16e)]=_0x4ef0eb,_0x15b24e=!0x0),!_0x15b24e)return Promise[_0x59f5b4(0x16a)]();if(!_0x58b3a6[_0x59f5b4(0x18b)]||_0xe050fc||!this[_0x59f5b4(0xdb)]||_0x59f5b4(0x143)!=typeof this[_0x59f5b4(0xdb)][_0x59f5b4(0x184)])return Promise[_0x59f5b4(0x16a)]();const _0x1198f6=this[_0x59f5b4(0x179)][_0x59f5b4(0xf3)][_0x59f5b4(0x18d)](_0x59f5b4(0x17d)),{channelId:_0x4b8e0e}=_0x58b3a6,_0x517957=_0x1198f6[_0x59f5b4(0x118)](_0x4138e6(this[_0x59f5b4(0x179)][_0x59f5b4(0x175)],_0x59f5b4(0x110)));return this[_0x59f5b4(0xdb)][_0x59f5b4(0x184)]({'channelId':_0x4b8e0e,'threadId':_0x5edb00,'context':_0x403ee9,'unlinkedAt':_0x58231a,'attributes':_0x4ef0eb})[_0x59f5b4(0xf5)](()=>_0x1198f6[_0x59f5b4(0x169)](_0x517957))[_0x59f5b4(0x1ad)](_0x5ae61e=>{const _0x2c8d59=_0x59f5b4;throw console[_0x2c8d59(0x135)](_0x5ae61e),new _0x4639fb(_0x2c8d59(0x138),this);});}[_0x279067(0x168)](_0x45f7b1){const _0x31762c=_0x279067,_0x51a4e2=this[_0x31762c(0x179)][_0x31762c(0xf3)][_0x31762c(0x18d)](_0x4adb59),_0x363742=this[_0x31762c(0x124)](_0x45f7b1);if(_0x363742[_0x31762c(0x1a9)]=!0x1,this[_0x31762c(0x1b2)][_0x31762c(0x131)](_0x363742)){const _0x5d9f18=this[_0x31762c(0x1b2)][_0x31762c(0x18d)](_0x363742),_0x368d7e=_0x5d9f18[_0x31762c(0x186)],_0x56c78d=_0x51a4e2[_0x31762c(0x16d)](_0x368d7e);this[_0x31762c(0x1b2)][_0x31762c(0xde)](_0x363742),this[_0x31762c(0xea)][_0x31762c(0xde)](_0x368d7e),_0x56c78d&&_0x51a4e2[_0x31762c(0x169)](_0x56c78d),_0x5d9f18[_0x31762c(0x173)](),_0x368d7e[_0x31762c(0x173)]()[_0x31762c(0xf5)](()=>{const _0x55ffc3=_0x31762c;this[_0x55ffc3(0x16f)](_0x368d7e);});}}[_0x279067(0x119)]({threadId:_0x135c98,resolvedAt:_0x1172e3,unlinkedAt:_0xb39ab6}){const _0x3ce7bd=_0x279067,_0x436046=!!_0x1172e3,_0x3c1349=this[_0x3ce7bd(0x179)][_0x3ce7bd(0xf3)][_0x3ce7bd(0x18d)](_0x4adb59),_0x3f20a6=this[_0x3ce7bd(0x124)](_0x135c98);if(this[_0x3ce7bd(0x1b2)][_0x3ce7bd(0x131)](_0x3f20a6)){const _0x2ad669=this[_0x3ce7bd(0x1b2)][_0x3ce7bd(0x18d)](_0x3f20a6)[_0x3ce7bd(0x186)],_0x5c69c9=_0x3c1349[_0x3ce7bd(0x16d)](_0x2ad669);_0x5c69c9&&(_0x436046&&_0x3c1349[_0x3ce7bd(0x11e)](_0x5c69c9),_0xb39ab6?_0x5c69c9[_0x3ce7bd(0x1aa)]=!0x1:_0x5c69c9[_0x3ce7bd(0x12c)]());}}[_0x279067(0x15c)](_0x9a60a7){const _0x420ece=_0x279067,_0x256c82=this[_0x420ece(0x179)][_0x420ece(0xf3)][_0x420ece(0x18d)](_0x17ad6b),_0x2c3d6f=_0x292126(_0x420ece(0xe4)+_0x9a60a7),_0x559443=_0x256c82[_0x420ece(0x136)](_0x2c3d6f);return _0x559443||_0x256c82[_0x420ece(0x14e)]({'id':_0x2c3d6f,'name':_0x9a60a7});}[_0x279067(0xdc)]({threadId:_0x5f3011,commentId:_0x49640e=_0x2430a8(),content:_0x20f68e,authorId:_0xba1d75,createdAt:_0x114176,attributes:_0x58b078}){const _0x2a6cb0=_0x279067;if(_0x2a6cb0(0x197)!=typeof _0x49640e)throw new _0x4639fb(_0x2a6cb0(0x199));if(_0x2a6cb0(0x197)!=typeof _0xba1d75)throw new _0x4639fb(_0x2a6cb0(0x105));if(_0x2a6cb0(0x197)!=typeof _0x20f68e||!_0x20f68e[_0x2a6cb0(0x134)]())throw new _0x4639fb(_0x2a6cb0(0x181));const _0x23b2c9=this[_0x2a6cb0(0x179)][_0x2a6cb0(0xf3)][_0x2a6cb0(0x18d)](_0x17ad6b)[_0x2a6cb0(0x136)](_0xba1d75);if(!_0x23b2c9)throw new _0x4639fb(_0x2a6cb0(0xfe),null,{'authorId':_0xba1d75});let _0x5d8aae=null,_0x13d7c8=_0x114176;return _0x58b078?.[_0x2a6cb0(0xf1)]&&(_0x5d8aae=this[_0x2a6cb0(0x15c)](_0x58b078[_0x2a6cb0(0xf1)][_0x2a6cb0(0xfd)]),_0x13d7c8=new Date(_0x58b078[_0x2a6cb0(0xf1)][_0x2a6cb0(0x162)])),new Comment(this,{'threadId':_0x5f3011,'id':_0x49640e,'author':_0x5d8aae||_0x23b2c9,'creator':_0x23b2c9,'content':_0x20f68e,'createdAt':_0x114176,'authoredAt':_0x13d7c8,'attributes':_0x58b078});}[_0x279067(0x120)](_0x22955d){const _0x2faed1=_0x279067;let {threadId:_0x5df0fe,content:_0x58b2c7,attributes:_0x2a87f1,isFromAdapter:_0x516897}=_0x22955d;const _0x20be39=this[_0x2faed1(0x124)](_0x22955d[_0x2faed1(0x113)]);if(!_0x20be39)throw new _0x4639fb(_0x2faed1(0xfa),this);const _0x23d7d9=this[_0x2faed1(0xdc)](_0x22955d),{id:_0x4c6f0a}=_0x23d7d9;if(_0x20be39[_0x2faed1(0xd5)](_0x23d7d9),_0x516897||!this[_0x2faed1(0xdb)]||_0x2faed1(0x143)!=typeof this[_0x2faed1(0xdb)][_0x2faed1(0x123)]||!_0x20be39[_0x2faed1(0x18b)])return Promise[_0x2faed1(0x16a)]();const _0x30682a=this[_0x2faed1(0x179)][_0x2faed1(0xf3)][_0x2faed1(0x18d)](_0x2faed1(0x17d)),{channelId:_0x4b4239}=_0x20be39,_0x36e789=_0x30682a[_0x2faed1(0x118)](_0x4138e6(this[_0x2faed1(0x179)][_0x2faed1(0x175)],_0x2faed1(0x110)));return _0x2a87f1||(_0x2a87f1={}),this[_0x2faed1(0xdb)][_0x2faed1(0x123)]({'channelId':_0x4b4239,'threadId':_0x5df0fe,'commentId':_0x4c6f0a,'content':_0x58b2c7,'attributes':_0x2a87f1})[_0x2faed1(0xf5)](_0x269210=>{const _0x43e046=_0x2faed1;_0x30682a[_0x43e046(0x169)](_0x36e789),_0x269210&&this[_0x43e046(0x12d)]({'channelId':_0x4b4239,'threadId':_0x5df0fe,'commentId':_0x4c6f0a,'createdAt':_0x269210[_0x43e046(0x162)],'isFromAdapter':!0x0});})[_0x2faed1(0x1ad)](_0x28b3bd=>{const _0x31db7d=_0x2faed1;throw console[_0x31db7d(0x135)](_0x28b3bd),new _0x4639fb(_0x31db7d(0x1af),this);});}[_0x279067(0x12d)]({threadId:_0x28d2c7,commentId:_0x9b5ef,content:_0x31b6b2,createdAt:_0x399f95,attributes:_0x447e23,isFromAdapter:_0x342731}){const _0x32a894=_0x279067;if(void 0x0!==_0x31b6b2&&(_0x32a894(0x197)!=typeof _0x31b6b2||!_0x31b6b2[_0x32a894(0x134)]()[_0x32a894(0x13f)]))throw new _0x4639fb(_0x32a894(0x10e));const _0x37c8c1=this[_0x32a894(0x124)](_0x28d2c7),_0x1aad64=_0x37c8c1[_0x32a894(0xcd)](_0x9b5ef);if(!_0x1aad64)throw new _0x4639fb(_0x32a894(0x10a),this);let _0x2e1082=!0x1;if(_0x31b6b2&&_0x31b6b2!==_0x1aad64[_0x32a894(0xd8)]&&(_0x1aad64[_0x32a894(0x137)]||_0x342731)&&(_0x1aad64[_0x32a894(0xd8)]=_0x31b6b2,_0x2e1082=!0x0),_0x399f95&&_0x399f95!==_0x1aad64[_0x32a894(0x162)]&&(_0x1aad64[_0x32a894(0x162)]=_0x399f95,_0x1aad64[_0x32a894(0x16e)]&&_0x1aad64[_0x32a894(0x16e)][_0x32a894(0xf1)]||(_0x1aad64[_0x32a894(0x150)]=_0x399f95),_0x2e1082=!0x0),_0x447e23&&!_0x3e4ffe(_0x447e23,_0x1aad64[_0x32a894(0x16e)])&&(_0x1aad64[_0x32a894(0x16e)]=_0x447e23,_0x2e1082=!0x0),!_0x2e1082)return Promise[_0x32a894(0x16a)]();if(_0x37c8c1[_0x32a894(0x18f)](_0x32a894(0x1b0)),_0x342731||!this[_0x32a894(0xdb)]||_0x32a894(0x143)!=typeof this[_0x32a894(0xdb)][_0x32a894(0x130)])return Promise[_0x32a894(0x16a)]();const _0x1b7ca2=this[_0x32a894(0x179)][_0x32a894(0xf3)][_0x32a894(0x18d)](_0x32a894(0x17d)),{channelId:_0x2e1180}=this[_0x32a894(0x124)](_0x1aad64[_0x32a894(0x113)]),_0x47ee1c=_0x1b7ca2[_0x32a894(0x118)](_0x4138e6(this[_0x32a894(0x179)][_0x32a894(0x175)],_0x32a894(0x110)));return this[_0x32a894(0xdb)][_0x32a894(0x130)]({'channelId':_0x2e1180,'threadId':_0x28d2c7,'commentId':_0x9b5ef,'content':_0x31b6b2,'attributes':_0x447e23})[_0x32a894(0xf5)](()=>_0x1b7ca2[_0x32a894(0x169)](_0x47ee1c))[_0x32a894(0x1ad)](_0x2fadff=>{const _0x29fcc7=_0x32a894;throw console[_0x29fcc7(0x135)](_0x2fadff),new _0x4639fb(_0x29fcc7(0x16c),this);});}[_0x279067(0x19e)]({threadId:_0x5f02db,commentId:_0x1bdc52,isFromAdapter:_0x5d3cbd}){const _0x2a4ce8=_0x279067,_0x37ebe0=this[_0x2a4ce8(0x124)](_0x5f02db),_0xa3a36d=_0x37ebe0[_0x2a4ce8(0xcd)](_0x1bdc52);if(!_0xa3a36d)throw new _0x4639fb(_0x2a4ce8(0x187),this);if(_0x37ebe0[_0x2a4ce8(0xd1)](_0xa3a36d),_0x5d3cbd||!this[_0x2a4ce8(0xdb)]||_0x2a4ce8(0x143)!=typeof this[_0x2a4ce8(0xdb)][_0x2a4ce8(0xfc)])return Promise[_0x2a4ce8(0x16a)]();const _0x173e0a=this[_0x2a4ce8(0x179)][_0x2a4ce8(0xf3)][_0x2a4ce8(0x18d)](_0x2a4ce8(0x17d)),{channelId:_0x8a4b21}=_0x37ebe0,_0x2c1c52=_0x173e0a[_0x2a4ce8(0x118)](_0x4138e6(this[_0x2a4ce8(0x179)][_0x2a4ce8(0x175)],_0x2a4ce8(0x110)));return this[_0x2a4ce8(0xdb)][_0x2a4ce8(0xfc)]({'channelId':_0x8a4b21,'threadId':_0x5f02db,'commentId':_0x1bdc52})[_0x2a4ce8(0xf5)](()=>_0x173e0a[_0x2a4ce8(0x169)](_0x2c1c52))[_0x2a4ce8(0x1ad)](_0x549d35=>{const _0x181021=_0x2a4ce8;throw console[_0x181021(0x135)](_0x549d35),new _0x4639fb(_0x181021(0xdd),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
- _0x8ed3b0(){[_0x279067(0x101)];['id'];[_0x279067(0x1a9)];[_0x279067(0x1b3)];[_0x279067(0xd9)];[_0x279067(0x17e)];constructor(_0x5c04a8,_0x3b1967){const _0x26d24a=_0x279067;super();const _0x5e21ac=_0x3b1967[_0x26d24a(0x10f)];this[_0x26d24a(0x101)]=_0x3b1967[_0x26d24a(0x101)],this['id']=_0x3b1967['id'],this[_0x26d24a(0xd9)]=new _0xe38014(),this[_0x26d24a(0x17e)]=_0x5c04a8,this[_0x26d24a(0x1a9)]=!0x1,this[_0x26d24a(0x1b3)]=_0x3b1967[_0x26d24a(0x18b)],this[_0x26d24a(0x174)](_0x26d24a(0x107),!0x0),this[_0x26d24a(0xf4)](_0x26d24a(0x153))['to'](_0x5c04a8,_0x26d24a(0x108),_0x5c04a8,_0x26d24a(0x12b),()=>_0x5c04a8[_0x26d24a(0x153)](this[_0x26d24a(0x101)])),this[_0x26d24a(0xf4)](_0x26d24a(0xe2))['to'](_0x5c04a8,_0x26d24a(0x108),()=>_0x5c04a8[_0x26d24a(0x116)](this[_0x26d24a(0x101)])[_0x26d24a(0xd6)]),this[_0x26d24a(0xf4)](_0x26d24a(0x180))['to'](_0x5c04a8,_0x26d24a(0x108),()=>{const _0x22e5a5=_0x26d24a,_0xb45fc8=_0x5c04a8[_0x22e5a5(0x116)](this[_0x22e5a5(0x101)]);return _0xb45fc8[_0x22e5a5(0x11c)]||_0xb45fc8[_0x22e5a5(0xd6)];}),this[_0x26d24a(0xf4)](_0x26d24a(0x10f))['to'](_0x5c04a8,_0x26d24a(0x108),()=>_0x5e21ac&&_0x5c04a8[_0x26d24a(0x116)](this[_0x26d24a(0x101)])[_0x26d24a(0x16a)]),this[_0x26d24a(0x174)](_0x26d24a(0x179),_0x3b1967[_0x26d24a(0x179)]),this[_0x26d24a(0xf4)](_0x26d24a(0xcf))['to'](this,_0x26d24a(0x1a2),this,_0x26d24a(0x185),(_0x453e70,_0x52e62f)=>_0x453e70?_0x52e62f?_0x453e70<_0x52e62f?_0x453e70:_0x52e62f:_0x453e70:_0x52e62f),this[_0x26d24a(0x174)](_0x26d24a(0x185),_0x3b1967[_0x26d24a(0x185)]||null),this[_0x26d24a(0x174)](_0x26d24a(0x1a2),_0x3b1967[_0x26d24a(0x1a2)]||null),this[_0x26d24a(0x174)](_0x26d24a(0xd0),_0x3b1967[_0x26d24a(0xd0)]||null),this[_0x26d24a(0xf4)](_0x26d24a(0x190))['to'](this,_0x26d24a(0x1a2),_0x49c12e=>!!_0x49c12e),this[_0x26d24a(0x174)](_0x26d24a(0x16e),_0x3b1967[_0x26d24a(0x16e)]||{});}get[_0x279067(0xd2)](){const _0x4fe055=_0x279067;return Array[_0x4fe055(0x115)](this[_0x4fe055(0xd9)])[_0x4fe055(0x1a6)]((_0x11ed4f,_0x1c75df)=>_0x11ed4f+_0x1c75df[_0x4fe055(0xd2)],0x0);}get[_0x279067(0x13f)](){const _0xd886a8=_0x279067;return this[_0xd886a8(0xd9)][_0xd886a8(0x13f)];}get[_0x279067(0x125)](){const _0x31a5d8=_0x279067;return this[_0x31a5d8(0x1a9)];}get[_0x279067(0x18b)](){const _0x58d96e=_0x279067;return this[_0x58d96e(0x1b3)];}[_0x279067(0xf6)](){const _0x59943d=_0x279067,{channelId:_0x39fe20,id:_0x14fcd2}=this;this[_0x59943d(0x17e)][_0x59943d(0x18f)](xt(_0x59943d(0x10b),_0x39fe20),{'channelId':_0x39fe20,'threadId':_0x14fcd2});}[_0x279067(0x154)](_0x2a2bb9){const _0x4eaffa=_0x279067;this[_0x4eaffa(0x132)]({'unlinkedAt':_0x2a2bb9});}[_0x279067(0x16a)]({resolvedAt:_0x41154c=new Date(),resolvedBy:_0x3a3ecb='',isFromAdapter:_0x4b20dc=!0x1}={}){const _0x4f5b1e=_0x279067,_0x5d958b=this[_0x4f5b1e(0x17e)][_0x4f5b1e(0x179)][_0x4f5b1e(0xf3)][_0x4f5b1e(0x18d)](_0x17ad6b)['me'],{channelId:_0x4ff976,id:_0x4297b9}=this;this[_0x4f5b1e(0x17e)][_0x4f5b1e(0x18f)](xt(_0x4f5b1e(0xe1),_0x4ff976),{'channelId':_0x4ff976,'threadId':_0x4297b9,'resolvedAt':_0x41154c,'resolvedBy':_0x3a3ecb||_0x5d958b['id'],'isFromAdapter':_0x4b20dc});}[_0x279067(0x155)]({isFromAdapter:_0x14ebaa=!0x1}={}){const _0x985257=_0x279067,{channelId:_0x41c858,id:_0x1407bb}=this;this[_0x985257(0x17e)][_0x985257(0x18f)](xt(_0x985257(0x160),_0x41c858),{'channelId':_0x41c858,'threadId':_0x1407bb,'isFromAdapter':_0x14ebaa});}[_0x279067(0x167)](_0x483022){const _0x10eaea=_0x279067;this[_0x10eaea(0x179)]||this[_0x10eaea(0x132)]({'context':_0x483022});}[_0x279067(0x17c)](_0x3d0c1e,_0x36c4d2){const _0x167e46=_0x279067,_0x312c38=_0x372e5c(this[_0x167e46(0x16e)]);_0x34bf3e(_0x312c38,_0x3d0c1e,_0x36c4d2),this[_0x167e46(0x132)]({'attributes':_0x312c38});}[_0x279067(0x17a)](_0x38429a){const _0x424a22=_0x279067,_0xab7343=_0x372e5c(this[_0x424a22(0x16e)]);_0x13c068(_0xab7343,_0x38429a),this[_0x424a22(0x132)]({'attributes':_0xab7343});}[_0x279067(0x169)]({isFromAdapter:_0x1c6270=!0x1}={}){const _0x2ae8ac=_0x279067,{channelId:_0x345619,id:_0x26097c}=this;this[_0x2ae8ac(0x17e)][_0x2ae8ac(0x18f)](xt(_0x2ae8ac(0xda),_0x345619),{'channelId':_0x345619,'threadId':_0x26097c,'isFromAdapter':_0x1c6270});}[_0x279067(0x176)](_0x1264aa){const _0x2a680c=_0x279067;return this[_0x2a680c(0x17e)][_0x2a680c(0x11f)]({'threadId':this['id'],'target':_0x1264aa});}[_0x279067(0x123)](_0x11a068){const _0x3e2e3d=_0x279067,{channelId:_0x2dd54d,id:_0x4151a1}=this;this[_0x3e2e3d(0x17e)][_0x3e2e3d(0x18f)](xt(_0x3e2e3d(0x123),_0x2dd54d,_0x4151a1),Object[_0x3e2e3d(0x10d)]({'channelId':_0x2dd54d,'threadId':_0x4151a1},_0x11a068));}[_0x279067(0xcd)](_0x3ab3d2){const _0x1fa415=_0x279067;if(_0x1fa415(0x197)!=typeof _0x3ab3d2)throw new _0x4639fb(_0x1fa415(0x194),null,{'commentId':_0x3ab3d2});return this[_0x1fa415(0xd9)][_0x1fa415(0x18d)](_0x3ab3d2);}[_0x279067(0x121)](){const _0x3db127=_0x279067;return{'threadId':this['id'],'context':this[_0x3db127(0x179)],'unlinkedAt':this[_0x3db127(0x185)],'resolvedAt':this[_0x3db127(0x1a2)],'resolvedBy':this[_0x3db127(0xd0)]?this[_0x3db127(0xd0)]['id']:null,'archivedAt':this[_0x3db127(0xcf)],'comments':this[_0x3db127(0xd9)][_0x3db127(0x13b)](_0x48d6f4=>_0x48d6f4[_0x3db127(0x121)]()),'attributes':this[_0x3db127(0x16e)]};}[_0x279067(0xd5)](_0xd3350f){const _0x419e34=_0x279067;return this[_0x419e34(0x11d)](_0xd3350f,_0x419e34(0x145),()=>{const _0x32ede4=_0x419e34,_0x4e0425=this[_0x32ede4(0x12e)](_0xd3350f),_0x172750=this[_0x32ede4(0xd9)];_0x4e0425-0x1!=_0x172750[_0x32ede4(0x156)](_0xd3350f)&&_0x4e0425+0x1!=_0x172750[_0x32ede4(0x156)](_0xd3350f)&&(this[_0x32ede4(0xd1)](_0xd3350f),this[_0x32ede4(0xd5)](_0xd3350f));}),this[_0x419e34(0xd9)][_0x419e34(0x118)](_0xd3350f,this[_0x419e34(0x12e)](_0xd3350f));}[_0x279067(0x132)](_0x261b78){const _0x43bfa1=_0x279067,{channelId:_0x449c19,id:_0xa4bfa1}=this;this[_0x43bfa1(0x17e)][_0x43bfa1(0x18f)](xt(_0x43bfa1(0x184),_0x449c19),{..._0x261b78,'channelId':_0x449c19,'threadId':_0xa4bfa1});}[_0x279067(0xd1)](_0x320be0){const _0x3c50bb=_0x279067;return this[_0x3c50bb(0x122)](_0x320be0),_0x320be0[_0x3c50bb(0x173)](),this[_0x3c50bb(0xd9)][_0x3c50bb(0x169)](_0x320be0);}[_0x279067(0x12e)](_0x68fd6e){const _0x219968=_0x279067,_0x42bc67=this[_0x219968(0xd9)][_0x219968(0x196)](_0x3f89c9=>new Date(_0x3f89c9[_0x219968(0x150)])[_0x219968(0xd4)]()>new Date(_0x68fd6e[_0x219968(0x150)])[_0x219968(0xd4)]());return _0x42bc67?this[_0x219968(0xd9)][_0x219968(0x156)](_0x42bc67):this[_0x219968(0x13f)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
- _0x8ed3b0(){['id'];[_0x279067(0x113)];[_0x279067(0x149)];[_0x279067(0x1b4)];[_0x279067(0xff)];[_0x279067(0x162)];[_0x279067(0x17e)];constructor(_0x443ded,_0x3a886d){const _0x424f48=_0x279067;super();const _0x45ffd6=_0x443ded[_0x424f48(0x179)][_0x424f48(0xf3)][_0x424f48(0x18d)](_0x17ad6b)['me'],_0x1dcfdd=_0x443ded[_0x424f48(0x124)](_0x3a886d[_0x424f48(0x113)]),_0x34f4a2=0x0===_0x1dcfdd[_0x424f48(0xd9)][_0x424f48(0x13f)],_0x1fa225=_0x45ffd6===_0x3a886d[_0x424f48(0x149)];this['id']=_0x3a886d['id'],this[_0x424f48(0x113)]=_0x3a886d[_0x424f48(0x113)],this[_0x424f48(0x149)]=_0x3a886d[_0x424f48(0x149)],this[_0x424f48(0x1b4)]=_0x3a886d[_0x424f48(0x1b4)],this[_0x424f48(0xff)]=Boolean(_0x3a886d[_0x424f48(0x16e)]&&_0x3a886d[_0x424f48(0x16e)][_0x424f48(0xf1)]),this[_0x424f48(0x174)](_0x424f48(0xd8),_0x3a886d[_0x424f48(0xd8)]),this[_0x424f48(0x162)]=_0x3a886d[_0x424f48(0x162)]||new Date(),this[_0x424f48(0x174)](_0x424f48(0x150),_0x3a886d[_0x424f48(0x150)]||new Date()),this[_0x424f48(0xf4)](_0x424f48(0x1a2))['to'](_0x1dcfdd,_0x424f48(0x1a2)),this[_0x424f48(0x174)](_0x424f48(0x16e),_0x3a886d[_0x424f48(0x16e)]||{}),this[_0x424f48(0xf4)](_0x424f48(0x137))['to'](_0x443ded,_0x424f48(0x108),()=>{const _0xe23aca=_0x424f48,_0x2c4637=_0x443ded[_0xe23aca(0x116)](_0x1dcfdd[_0xe23aca(0x101)])[_0xe23aca(0x11c)],_0x24504b=_0x443ded[_0xe23aca(0x116)](_0x1dcfdd[_0xe23aca(0x101)])[_0xe23aca(0x14b)];return _0x1fa225&&_0x2c4637||!_0x1fa225&&_0x24504b;}),this[_0x424f48(0xf4)](_0x424f48(0xe2))['to'](_0x1dcfdd,_0x424f48(0xe2),_0x443ded,_0x424f48(0x108),_0x4a6703=>{const _0x5d6b4c=_0x424f48,_0x4fc06d=_0x443ded[_0x5d6b4c(0x116)](_0x1dcfdd[_0x5d6b4c(0x101)])[_0x5d6b4c(0x11c)],_0x4e9e67=_0x443ded[_0x5d6b4c(0x116)](_0x1dcfdd[_0x5d6b4c(0x101)])[_0x5d6b4c(0x14b)];return _0x1fa225&&_0x4fc06d||_0x4a6703&&_0x34f4a2||!_0x1fa225&&_0x4e9e67&&!_0x34f4a2;}),this[_0x424f48(0xf4)](_0x424f48(0x153))['to'](_0x1dcfdd,_0x424f48(0x153)),this[_0x424f48(0x17e)]=_0x443ded;}get[_0x279067(0xd2)](){const _0x50300a=_0x279067;return Math[_0x50300a(0x148)](function(_0x47d2af){const _0x25b0a8=_0x50300a,_0x5d58f0=document[_0x25b0a8(0x15f)](_0x25b0a8(0x114));return _0x5d58f0[_0x25b0a8(0x109)]=_0x47d2af,_0x5d58f0[_0x25b0a8(0x170)][_0x25b0a8(0x13f)];}(this[_0x50300a(0xd8)]),0xc8);}[_0x279067(0x103)](_0x5f145e){const _0x46d915=_0x279067,{threadId:_0x54f25c,id:_0x1ede20}=this;if(!this[_0x46d915(0x17e)][_0x46d915(0xe8)](_0x54f25c))throw new _0x4639fb(_0x46d915(0xe5),this);const {channelId:_0x1cd719}=this[_0x46d915(0x17e)][_0x46d915(0x124)](_0x54f25c);this[_0x46d915(0x17e)][_0x46d915(0x18f)](xt(_0x46d915(0x130),_0x1cd719,_0x54f25c),{'channelId':_0x1cd719,'threadId':_0x54f25c,'commentId':_0x1ede20,..._0x5f145e});}[_0x279067(0x17c)](_0x6e01b0,_0x41438b){const _0x34366b=_0x279067,_0x52e445=_0x372e5c(this[_0x34366b(0x16e)]);_0x34bf3e(_0x52e445,_0x6e01b0,_0x41438b),this[_0x34366b(0x103)]({'attributes':_0x52e445});}[_0x279067(0x17a)](_0xd8ebc7){const _0xe18b1e=_0x279067,_0x3ff74a=_0x372e5c(this[_0xe18b1e(0x16e)]);_0x13c068(_0x3ff74a,_0xd8ebc7),this[_0xe18b1e(0x103)]({'attributes':_0x3ff74a});}[_0x279067(0x169)](_0x42d027={}){const _0x188a1e=_0x279067;if(!_0x42d027[_0x188a1e(0x13e)]&&!this[_0x188a1e(0xe2)])return;const {threadId:_0xd714c6,id:_0xb74155}=this;if(!this[_0x188a1e(0x17e)][_0x188a1e(0xe8)](_0xd714c6))throw new _0x4639fb(_0x188a1e(0x146),this);const {channelId:_0x471182}=this[_0x188a1e(0x17e)][_0x188a1e(0x124)](_0xd714c6);this[_0x188a1e(0x17e)][_0x188a1e(0x18f)](xt(_0x188a1e(0xfc),_0x471182,_0xd714c6),{'channelId':_0x471182,'threadId':_0xd714c6,'commentId':_0xb74155,..._0x42d027});}[_0x279067(0x121)](){const _0x125bfa=_0x279067;return{'commentId':this['id'],'content':this[_0x125bfa(0xd8)],'createdAt':this[_0x125bfa(0x162)],'authorId':this[_0x125bfa(0x1b4)]['id'],'attributes':this[_0x125bfa(0x16e)]};}[_0x279067(0x173)](){const _0x4c002a=_0x279067;this[_0x4c002a(0x122)]();}}function xt(_0x184948,..._0x5ccdac){for(const _0x354ae9 of _0x5ccdac)void 0x0!==_0x354ae9&&(_0x184948+=':'+String(_0x354ae9));return _0x184948;}function _0x45af(_0x396b7c,_0x10b8e0){const _0x1e12d2=_0x1e12();return _0x45af=function(_0x45afa0,_0x3027e6){_0x45afa0=_0x45afa0-0xcd;let _0x202444=_0x1e12d2[_0x45afa0];return _0x202444;},_0x45af(_0x396b7c,_0x10b8e0);}function _0x1e12(){const _0x3808f2=['_addCommentThread','updateCommentThread','unlinkedAt','view','commentsrepository-remove-missing-comment','config','comments.maxThreadTotalWeight','_submitCommentThread','isSubmitted','30963hnAJDk','get','commentsrepository-missing-target','fire','isResolved','commentId','editorReady','comments.CommentThreadView','commentsrepository-get-comment-invalid-id','body','find','string','CommentsRepository','commentsrepository-invalid-commentid','1156674fKLkiF','commentsrepository-fetch-comment-thread','licenseKey','commentsrepository-missing-comment-thread','_removeComment','focus','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-duplicated-comment-thread-id','resolvedAt','deactivateAll','35fKLYoj','commentsrepository-resolve-comment-thread-internal-error','reduce','createCommentThreadController','_createCommentThreadView','_isAttached','isVisible','lowest','52662upldJT','catch','once','commentsrepository-add-comment-internal-error','commentUpdated','commentsrepository-attach-missing-comment-thread','_threadToController','_isSubmitted','creator','getComment','CommentThreadView','archivedAt','resolvedBy','_remove','weight','comments.maxCommentsWhenCollapsed','getTime','_add','admin','push','content','comments','removeCommentThread','adapter','_createNewComment','commentsrepository-remove-comment-internal-error','delete','comment','commentsrepository-reopen-comment-thread-internal-error','resolveCommentThread','isRemovable','switchReadOnly','external:','commentsrepository-update-comment-missing-comment-thread','model','commentsrepository-active-missing-comment-thread','hasCommentThread','commentsrepository-missing-thread-and-adapter-method','_viewToController','getCommentThreadForAnnotation','filter','isOfficialPlugin','commentThreadInputView','values','define','@external','focusTracker','plugins','bind','then','submit','_reopenCommentThread','commentsrepository-add-comment-thread-internal-error','_bindAnnotationToEditors','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-reopen-comment-thread','removeComment','authorName','commentsrepository-add-comment-user-not-exists','isExternal','commentsrepository-invalid-comment-thread-id','channelId','openNewCommentThread','update','664iqLgpA','commentsrepository-invalid-comment-authorid','editorDestroyed','_hasTargetInContent','_permissions','innerHTML','commentsrepository-update-missing-comment','submitCommentThread','setActiveCommentThread','assign','commentsrepository-update-comment-invalid-content','isResolvable','PENDING_ACTION_COMMENT_THREAD','commentsrepository-remove-comment-thread-internal-error','type','threadId','div','from','getPermissions','_adapter','add','_updateActiveAnnotation','isActive','commentInputView','write','listenTo','_removeActiveAnnotation','_attachCommentThread','_addComment','toJSON','stopListening','addComment','getCommentThread','isAttached','change:_permissions','comments.copyMarkers','comments.CommentView','15777576kITdtD','_removeCommentThread','_readOnlyChannels','refreshVisibility','_updateComment','_findOptimalIndex','warn','updateComment','has','_update','change:activeAnnotations','trim','error','getUser','isEditable','commentsrepository-update-comment-thread-internal-error','comments.editorConfig','_resolveCommentThread','map','getAnnotationForCommentThread','innerView','isFromAdapter','length','212BRamna','1477970kyXERD','comments.maxCommentCharsWhenCollapsed','function','commentsrepository-adapter-already-set','change:authoredAt','commentsrepository-remove-comment-missing-comment-thread','CommentView','max','author','bodyCollectionContainer','modifyAll','pluginName','getCommentThreads','addUser','_threads','authoredAt','addCommentThread','79961HrbaWT','isReadOnly','setUnlinkedAt','reopen','getIndex','fetchCommentThread','init','escape','noChannel','isDirty','_getExternalAuthor','_updateCommentThread','requires','createElement','reopenCommentThread','activate','createdAt','isPremiumPlugin','change:_readOnlyChannels','commentsListView','activeCommentThread','setContext','_detachCommentThread','remove','resolve','commentsrepository-resolved-comment-thread','commentsrepository-update-comment-internal-error','getByInnerView','attributes','_unbindEditors','textContent','focusableElements','change:isDirty','destroy','set','locale','attachTo','202508jZxrqg','commentsrepository-active-not-attached','context','removeAttribute','commentsrepository-remove-missing-comment-thread','setAttribute','PendingActions','_repository','highest','canComment','commentsrepository-invalid-comment-content','setPermissions'];_0x1e12=function(){return _0x3808f2;};return _0x1e12();}
23
+ const _0x2c13ee=_0x4912;(function(_0x264c31,_0x1c381c){const _0x1259d8=_0x4912,_0x19ec4e=_0x264c31();while(!![]){try{const _0x28775b=parseInt(_0x1259d8(0x173))/0x1*(parseInt(_0x1259d8(0x21d))/0x2)+parseInt(_0x1259d8(0x183))/0x3*(parseInt(_0x1259d8(0x1ff))/0x4)+-parseInt(_0x1259d8(0x184))/0x5*(-parseInt(_0x1259d8(0x212))/0x6)+parseInt(_0x1259d8(0x1ab))/0x7+-parseInt(_0x1259d8(0x230))/0x8+parseInt(_0x1259d8(0x1ef))/0x9*(parseInt(_0x1259d8(0x1e9))/0xa)+-parseInt(_0x1259d8(0x1ec))/0xb;if(_0x28775b===_0x1c381c)break;else _0x19ec4e['push'](_0x19ec4e['shift']());}catch(_0x562218){_0x19ec4e['push'](_0x19ec4e['shift']());}}}(_0x3d86,0x8fe39));import{PendingActions as _0x20c4da,ContextPlugin as _0x21c016,Editor as _0x4341bf}from'ckeditor5/src/core.js';import{Collection as _0x5cbeea,uid as _0x5eaf43,CKEditorError as _0x1b9c34,ObservableMixin as _0xe667e9}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x3abe93,hashObject as _0x481b19,Users as _0x54ecb5}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x3f85b8,isEqual as _0x25e65f,set as _0x53d4c9,unset as _0x199f3d}from'es-toolkit/compat';import{CommentThreadController as _0xfa5eaf}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x347ee8}from'./ui/view/commentthreadview.js';import{CommentView as _0x2d26ba}from'./ui/view/commentview.js';import{getTranslation as _0x988c74}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4ceb8a}from'../annotations/view/annotationview.js';import{Annotation as _0x3f212c}from'../annotations/annotation.js';function _0x4912(_0x15d80c,_0x584960){const _0x3d8631=_0x3d86();return _0x4912=function(_0x49128b,_0x492e33){_0x49128b=_0x49128b-0x163;let _0x4ad60d=_0x3d8631[_0x49128b];return _0x4ad60d;},_0x4912(_0x15d80c,_0x584960);}import{Annotations as _0x449c99}from'../annotations/annotations.js';const _t=Symbol(_0x2c13ee(0x23d)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x21c016{[_0x2c13ee(0x186)];[_0x2c13ee(0x1fe)];[_0x2c13ee(0x1d6)];static get[_0x2c13ee(0x228)](){return[_0x449c99,_0x20c4da,_0x54ecb5];}static get[_0x2c13ee(0x17e)](){const _0x43086a=_0x2c13ee;return _0x43086a(0x22f);}static get[_0x2c13ee(0x19b)](){return!0x0;}static get[_0x2c13ee(0x23e)](){return!0x0;}constructor(_0x296af0){const _0x5dc634=_0x2c13ee;super(_0x296af0),this[_0x5dc634(0x186)]=new Map(),this[_0x5dc634(0x1fe)]=new Map(),this[_0x5dc634(0x1d6)]=new Map(),this[_0x5dc634(0x1a6)](_0x5dc634(0x1e1),new Set()),this[_0x5dc634(0x1a6)](_0x5dc634(0x178),new Map());const _0x442853=this[_0x5dc634(0x1dd)][_0x5dc634(0x1d3)];_0x442853[_0x5dc634(0x219)](_0x5dc634(0x171),0x2),_0x442853[_0x5dc634(0x219)](_0x5dc634(0x221),0x1f4),_0x442853[_0x5dc634(0x219)](_0x5dc634(0x203),0x8c),_0x442853[_0x5dc634(0x219)](_0x5dc634(0x239),_0x347ee8),_0x442853[_0x5dc634(0x219)](_0x5dc634(0x1a7),_0x2d26ba),_0x442853[_0x5dc634(0x20d)](_0x5dc634(0x1b4))||console[_0x5dc634(0x24b)](_0x5dc634(0x215));}[_0x2c13ee(0x16c)](){const _0x404da7=_0x2c13ee,_0x3538d9=this[_0x404da7(0x1dd)][_0x404da7(0x1c4)][_0x404da7(0x20d)](_0x449c99);this[_0x404da7(0x1a6)](_0x404da7(0x1b7),null),this['on'](_0x404da7(0x243),(_0x2a7dd7,_0x31a90d)=>this[_0x404da7(0x1b9)](_0x31a90d)),this['on'](_0x404da7(0x17c),(_0x3c49c1,_0x4abdfe)=>this[_0x404da7(0x1a1)](_0x4abdfe)),this['on'](_0x404da7(0x240),(_0x7dc7b7,_0x3cc196)=>this[_0x404da7(0x244)](_0x3cc196)),this['on'](_0x404da7(0x240),(_0x2c10ec,_0xc0bf8d)=>this[_0x404da7(0x201)](_0xc0bf8d),{'priority':_0x404da7(0x1de)}),this['on'](_0x404da7(0x1b0),(_0x337d8f,_0x46e218)=>this[_0x404da7(0x187)](_0x46e218)),this['on'](_0x404da7(0x1b0),(_0x21511c,_0x219f3d)=>this[_0x404da7(0x201)](_0x219f3d),{'priority':_0x404da7(0x1de)}),this['on'](_0x404da7(0x198),(_0x1bdda2,_0x2adc48)=>this[_0x404da7(0x167)](_0x2adc48)),this['on'](_0x404da7(0x1af),(_0x4a20ba,_0x4d126e)=>this[_0x404da7(0x1c8)](_0x4d126e)),this['on'](_0x404da7(0x1af),(_0xdb97c2,_0x1dff2d)=>this[_0x404da7(0x201)](_0x1dff2d),{'priority':_0x404da7(0x1de)}),this['on'](_0x404da7(0x235),(_0x23ed61,_0x25c2c4)=>this[_0x404da7(0x1ea)](_0x25c2c4)),this['on'](_0x404da7(0x18d),(_0x53cac9,_0x3969fa)=>this[_0x404da7(0x232)](_0x3969fa)),this['on'](_0x404da7(0x199),(_0xa59c,_0x4f4ca5)=>this[_0x404da7(0x249)](_0x4f4ca5)),this['on'](_0x404da7(0x235),(_0x55d5be,{threadId:_0x1d5154,isFromAdapter:_0x55ddfe})=>{const _0x53d093=_0x404da7;if(_0x55ddfe)return;const _0x128de6=this[_0x53d093(0x204)](_0x1d5154),_0x5a93a0=_0x128de6&&this[_0x53d093(0x1fe)][_0x53d093(0x20d)](_0x128de6);_0x5a93a0&&_0x5a93a0[_0x53d093(0x1da)][_0x53d093(0x1ba)][_0x53d093(0x1a3)](-0x1);},{'priority':_0x404da7(0x1de)}),this[_0x404da7(0x1cd)](_0x3538d9,_0x404da7(0x1d0),(_0x98531f,_0x5c40dd,_0x4d3d1f)=>{const _0xa6837=_0x404da7,_0x56b175=Array[_0xa6837(0x1aa)](_0x4d3d1f)[_0xa6837(0x22e)](_0x2fa9af=>this[_0xa6837(0x1d6)][_0xa6837(0x20d)](_0x2fa9af[_0xa6837(0x1cc)]))[_0xa6837(0x1d4)](Boolean)[0x0];this[_0xa6837(0x1b7)]=_0x56b175?_0x56b175[_0xa6837(0x1c2)]:null;});}set[_0x2c13ee(0x192)](_0x123068){const _0x5d90bd=_0x2c13ee;if(this[_0x5d90bd(0x1a4)])throw new _0x1b9c34(_0x5d90bd(0x211));this[_0x5d90bd(0x1a4)]=_0x123068;}get[_0x2c13ee(0x192)](){const _0x10931e=_0x2c13ee;return this[_0x10931e(0x1a4)];}[_0x2c13ee(0x243)]({channelId:_0x5d493c=_t,threadId:_0x2c7719=_0x5eaf43(),comments:_0x7583d6=[],unlinkedAt:_0x365617=null,resolvedAt:_0x5dc575=null,resolvedBy:_0x46bdc5=null,target:_0x578e60=null,context:_0x448b47=null,attributes:_0x3cd66f={},isResolvable:_0x184550=!0x0,isSubmitted:_0x12e90e=!0x1,isFromAdapter:_0xc29595=!0x1}={}){const _0x5930a8=_0x2c13ee;return this[_0x5930a8(0x24a)](Nt(_0x5930a8(0x243),_0x5d493c),{'channelId':_0x5d493c,'threadId':_0x2c7719,'comments':_0x7583d6,'unlinkedAt':_0x365617,'resolvedAt':_0x5dc575,'resolvedBy':_0x46bdc5,'target':_0x578e60,'context':_0x448b47,'attributes':_0x3cd66f,'isFromAdapter':_0xc29595,'isResolvable':_0x184550,'isSubmitted':_0x12e90e}),this[_0x5930a8(0x204)](_0x2c7719);}[_0x2c13ee(0x1ed)]({channelId:_0x1020c3=_t,threadId:_0x36ea80=_0x5eaf43(),target:_0x28137e,context:_0x2e0869=null,isResolvable:_0x293eab=!0x0}){const _0x5e5d52=_0x2c13ee;if(this[_0x5e5d52(0x1e1)][_0x5e5d52(0x1b5)](_0x1020c3)||this[_0x5e5d52(0x1e1)][_0x5e5d52(0x1b5)](void 0x0))return null;if(!_0x28137e)throw new _0x1b9c34(_0x5e5d52(0x217));const _0x5a2e98=this[_0x5e5d52(0x243)]({'channelId':_0x1020c3,'threadId':_0x36ea80,'target':_0x28137e,'context':_0x2e0869,'isResolvable':_0x293eab});if(!_0x5a2e98)return null;const _0x417c2c=this[_0x5e5d52(0x1fe)][_0x5e5d52(0x20d)](_0x5a2e98),_0xcf1a09=_0x417c2c[_0x5e5d52(0x1da)][_0x5e5d52(0x16a)][_0x5e5d52(0x168)],_0x589cd4=this[_0x5e5d52(0x1dd)][_0x5e5d52(0x1c4)][_0x5e5d52(0x20d)](_0x449c99),_0x431acd=_0x589cd4[_0x5e5d52(0x1a0)](_0x417c2c[_0x5e5d52(0x1da)]);return _0x589cd4[_0x5e5d52(0x1e8)](_0x431acd),_0xcf1a09[_0x5e5d52(0x1f3)](_0x5e5d52(0x218),()=>_0xcf1a09[_0x5e5d52(0x1a3)]()),_0x5a2e98;}[_0x2c13ee(0x17d)](_0x2aabc1){const _0x4a7dbc=_0x2c13ee;if(_0x4a7dbc(0x166)!=typeof _0x2aabc1)throw new _0x1b9c34(_0x4a7dbc(0x1f9));return this[_0x4a7dbc(0x186)][_0x4a7dbc(0x1b5)](_0x2aabc1);}[_0x2c13ee(0x1af)]({channelId:_0x537516=_t,threadId:_0x52b537,context:_0x2f60c3,unlinkedAt:_0x536a1a,attributes:_0x508375,isFromAdapter:_0x5379d5=!0x1}){const _0x45ec43=_0x2c13ee;return this[_0x45ec43(0x24a)](Nt(_0x45ec43(0x1af),_0x537516),{'channelId':_0x537516,'threadId':_0x52b537,'context':_0x2f60c3,'unlinkedAt':_0x536a1a,'attributes':_0x508375,'isFromAdapter':_0x5379d5}),this[_0x45ec43(0x204)](_0x52b537);}[_0x2c13ee(0x204)](_0x16106f){const _0xf5ba28=_0x2c13ee;if(_0xf5ba28(0x166)!=typeof _0x16106f)throw new _0x1b9c34(_0xf5ba28(0x1f9));return this[_0xf5ba28(0x186)][_0xf5ba28(0x20d)](_0x16106f);}[_0x2c13ee(0x1f2)]({channelId:_0x275be4,threadId:_0x364ee9}={}){const _0x29af16=_0x2c13ee,_0x187ff4=this[_0x29af16(0x204)](_0x364ee9);if(_0x187ff4)return Promise[_0x29af16(0x1f7)](_0x187ff4);if(!this[_0x29af16(0x192)])return Promise[_0x29af16(0x1f7)](void 0x0);if(_0x29af16(0x1b6)!=typeof this[_0x29af16(0x192)][_0x29af16(0x204)])throw new _0x1b9c34(_0x29af16(0x21a),this[_0x29af16(0x1dd)]);return this[_0x29af16(0x192)][_0x29af16(0x204)]({'channelId':_0x275be4,'threadId':_0x364ee9})[_0x29af16(0x1bb)](_0x193766=>this[_0x29af16(0x17d)](_0x364ee9)?this[_0x29af16(0x204)](_0x364ee9):_0x193766?this[_0x29af16(0x243)](Object[_0x29af16(0x216)]({'isFromAdapter':!0x0,'channelId':_0x275be4},_0x193766)):void 0x0)[_0x29af16(0x241)](_0x58f1fb=>{const _0x59044b=_0x29af16;throw console[_0x59044b(0x1cb)](_0x58f1fb),new _0x1b9c34(_0x59044b(0x16d),this[_0x59044b(0x1dd)]);});}[_0x2c13ee(0x234)]({channelId:_0x20440d,skipNotAttached:_0x220827=!0x1,skipEmpty:_0x1d5b62=!0x1,toJSON:_0x22b949=!0x1}={}){const _0x41280a=_0x2c13ee,_0x5dd5ec=[];for(const _0x159a26 of this[_0x41280a(0x186)][_0x41280a(0x1f8)]())_0x20440d&&_0x159a26[_0x41280a(0x176)]!==_0x20440d||_0x220827&&!_0x159a26[_0x41280a(0x17f)]||_0x1d5b62&&0x0===_0x159a26[_0x41280a(0x1c1)]||_0x5dd5ec[_0x41280a(0x1be)](_0x159a26);return _0x22b949?_0x5dd5ec[_0x41280a(0x22e)](_0x12b7d8=>_0x12b7d8[_0x41280a(0x1d9)]()):_0x5dd5ec;}[_0x2c13ee(0x231)](_0xa51597){const _0x51ae7b=_0x2c13ee,_0x369414=this[_0x51ae7b(0x1fe)][_0x51ae7b(0x20d)](_0xa51597);if(!_0x369414)return null;return this[_0x51ae7b(0x1dd)][_0x51ae7b(0x1c4)][_0x51ae7b(0x20d)](_0x449c99)[_0x51ae7b(0x1a0)](_0x369414[_0x51ae7b(0x1da)])||null;}[_0x2c13ee(0x21b)](_0x38ca7d){const _0x169058=_0x2c13ee,_0x40a7ef=this[_0x169058(0x1d6)][_0x169058(0x20d)](_0x38ca7d[_0x169058(0x1cc)]);return _0x40a7ef?_0x40a7ef[_0x169058(0x1c2)]:null;}[_0x2c13ee(0x246)](_0x10cd5b){const _0x37a6d9=_0x2c13ee,_0x4225f6=this[_0x37a6d9(0x1dd)][_0x37a6d9(0x1c4)][_0x37a6d9(0x20d)](_0x449c99);if(!_0x10cd5b)return void(this[_0x37a6d9(0x1b7)]&&_0x4225f6[_0x37a6d9(0x18e)]());const _0x3cfc68=this[_0x37a6d9(0x204)](_0x10cd5b);if(!_0x3cfc68)throw new _0x1b9c34(_0x37a6d9(0x1ac),null,{'threadId':_0x10cd5b});if(!this[_0x37a6d9(0x1fe)][_0x37a6d9(0x1b5)](_0x3cfc68))throw new _0x1b9c34(_0x37a6d9(0x1ee),null,{'threadId':_0x10cd5b});const _0x570ac9=_0x4225f6[_0x37a6d9(0x1a0)](this[_0x37a6d9(0x1fe)][_0x37a6d9(0x20d)](_0x3cfc68)[_0x37a6d9(0x1da)]);_0x4225f6[_0x37a6d9(0x1e8)](_0x570ac9);}[_0x2c13ee(0x182)](_0x138a29,_0x671bf2){const _0xe90317=_0x2c13ee;_0x138a29?this[_0xe90317(0x1e1)][_0xe90317(0x1f1)](_0x671bf2):this[_0xe90317(0x1e1)][_0xe90317(0x1bf)](_0x671bf2),this[_0xe90317(0x24a)](_0xe90317(0x181),_0xe90317(0x1e1),this[_0xe90317(0x1e1)],this[_0xe90317(0x1e1)]);}[_0x2c13ee(0x227)](_0x2de0da){const _0x4344c1=_0x2c13ee;return this[_0x4344c1(0x1e1)][_0x4344c1(0x1b5)](_0x2de0da)||this[_0x4344c1(0x1e1)][_0x4344c1(0x1b5)](void 0x0);}[_0x2c13ee(0x177)](_0x2de98d,_0x5662b3){return new _0xfa5eaf(_0x2de98d,_0x5662b3);}[_0x2c13ee(0x1df)](_0x26b5c7,_0x142c8c=_t){const _0x4228c6=_0x2c13ee;this[_0x4228c6(0x178)][_0x4228c6(0x1a6)](_0x142c8c,_0x26b5c7),this[_0x4228c6(0x24a)](_0x4228c6(0x185),_0x4228c6(0x178),this[_0x4228c6(0x178)],this[_0x4228c6(0x178)]);}[_0x2c13ee(0x1eb)](_0x2a8767=_t){const _0x3a1d4e=_0x2c13ee;return this[_0x3a1d4e(0x178)][_0x3a1d4e(0x1b5)](_0x2a8767)?this[_0x3a1d4e(0x178)][_0x3a1d4e(0x20d)](_0x2a8767):bt;}[_0x2c13ee(0x1b9)]({channelId:_0x20852c,threadId:_0xbadebd,comments:_0x1e7806,unlinkedAt:_0x82f672,resolvedAt:_0x5e6962,resolvedBy:_0x1e19b5,target:_0x45fc44,context:_0x1b3865,attributes:_0xa4f46a,isFromAdapter:_0x4deaf6,isResolvable:_0x2e5d76,isSubmitted:_0x564409}){const _0x3a5be0=_0x2c13ee;if(_0x3a5be0(0x166)!=typeof _0xbadebd)throw new _0x1b9c34(_0x3a5be0(0x1f9),null,{'threadId':_0xbadebd});if(this[_0x3a5be0(0x17d)](_0xbadebd))throw new _0x1b9c34(_0x3a5be0(0x1e4),null,{'threadId':_0xbadebd});const _0x4a7999=new CommentThread(this,{'channelId':_0x20852c,'id':_0xbadebd,'context':_0x1b3865,'attributes':_0xa4f46a,'unlinkedAt':_0x82f672,'resolvedAt':_0x5e6962,'resolvedBy':_0x1e19b5?this[_0x3a5be0(0x1dd)][_0x3a5be0(0x1c4)][_0x3a5be0(0x20d)](_0x54ecb5)[_0x3a5be0(0x238)](_0x1e19b5):null,'isResolvable':_0x2e5d76,'isSubmitted':_0x564409||_0x4deaf6});this[_0x3a5be0(0x186)][_0x3a5be0(0x1a6)](_0xbadebd,_0x4a7999);for(const _0x266c3b of _0x1e7806)_0x4a7999[_0x3a5be0(0x18b)](this[_0x3a5be0(0x197)]({'threadId':_0xbadebd,..._0x266c3b}));return _0x45fc44&&_0x4a7999[_0x3a5be0(0x1a9)](_0x45fc44),_0x4deaf6||!_0x4a7999[_0x3a5be0(0x1c1)]?Promise[_0x3a5be0(0x1f7)]():this[_0x3a5be0(0x1a1)]({'channelId':_0x20852c,'threadId':_0xbadebd});}[_0x2c13ee(0x1a1)]({channelId:_0x3db7dd,threadId:_0x56dd6f}){const _0x533aaf=_0x2c13ee;if(!this[_0x533aaf(0x17d)](_0x56dd6f))throw new _0x1b9c34(_0x533aaf(0x179),this);const _0x2be12a=this[_0x533aaf(0x204)](_0x56dd6f);if(_0x2be12a[_0x533aaf(0x224)]=!0x0,!this[_0x533aaf(0x192)]||_0x533aaf(0x1b6)!=typeof this[_0x533aaf(0x192)][_0x533aaf(0x243)])return Promise[_0x533aaf(0x1f7)]();const {id:_0x11f68b,comments:_0x18e374,resolvedAt:_0x2efa62,resolvedBy:_0x2bf550,context:_0x5982f5,attributes:_0x45f387}=_0x2be12a,_0x4e7bc1=this[_0x533aaf(0x1dd)][_0x533aaf(0x1c4)][_0x533aaf(0x20d)](_0x533aaf(0x1d8)),_0x42636e=_0x4e7bc1[_0x533aaf(0x1f1)](_0x988c74(this[_0x533aaf(0x1dd)][_0x533aaf(0x1b2)],_0x533aaf(0x180)));return this[_0x533aaf(0x192)][_0x533aaf(0x243)]({'channelId':_0x3db7dd,'threadId':_0x11f68b,'comments':_0x18e374[_0x533aaf(0x22e)](_0x3a98e5=>_0x3a98e5[_0x533aaf(0x1d9)]()),'resolvedAt':_0x2efa62,'resolvedBy':_0x2bf550?_0x2bf550['id']:_0x2bf550,'context':_0x5982f5,'attributes':_0x45f387})[_0x533aaf(0x1bb)](({comments:_0x4f94f7})=>{const _0x4440bb=_0x533aaf;_0x4e7bc1[_0x4440bb(0x1fd)](_0x42636e);for(const _0x9d5869 of _0x4f94f7)this[_0x4440bb(0x232)]({'channelId':_0x3db7dd,'threadId':_0x56dd6f,'commentId':_0x9d5869[_0x4440bb(0x1fa)],'createdAt':_0x9d5869[_0x4440bb(0x191)],'isFromAdapter':!0x0});})[_0x533aaf(0x241)](_0x2e59e6=>{const _0x9bb9f9=_0x533aaf;throw console[_0x9bb9f9(0x1cb)](_0x2e59e6),new _0x1b9c34(_0x9bb9f9(0x16b),this);});}[_0x2c13ee(0x1e6)]({threadId:_0x4cf5bd,target:_0x28603b}){const _0x46afc0=_0x2c13ee,_0x566233=this[_0x46afc0(0x204)](_0x4cf5bd);if(!_0x566233)throw new _0x1b9c34(_0x46afc0(0x1f6),this);const _0x49f61f=this[_0x46afc0(0x1dd)][_0x46afc0(0x1c4)][_0x46afc0(0x20d)](_0x46afc0(0x1d8)),_0xca69d3=this[_0x46afc0(0x1dd)][_0x46afc0(0x1c4)][_0x46afc0(0x20d)](_0x449c99),_0x5bc968=this[_0x46afc0(0x169)](_0x566233),_0x2edadc=new _0xfa5eaf(_0x566233,_0x5bc968);let _0x1ea190=null;_0x5bc968['on'](_0x46afc0(0x233),(_0x53c0da,_0x42fb1c,_0x4b41e1)=>{const _0x149233=_0x46afc0;_0x4b41e1?_0x1ea190=_0x49f61f[_0x149233(0x1f1)](_0x988c74(this[_0x149233(0x1dd)][_0x149233(0x1b2)],_0x149233(0x180))):_0x1ea190&&(_0x49f61f[_0x149233(0x1fd)](_0x1ea190),_0x1ea190=null);}),this[_0x46afc0(0x1fe)][_0x46afc0(0x1a6)](_0x566233,_0x2edadc),this[_0x46afc0(0x1d6)][_0x46afc0(0x1a6)](_0x5bc968,_0x2edadc);const _0x2aaf4f=new _0x4ceb8a(this[_0x46afc0(0x1dd)][_0x46afc0(0x1b2)],_0x5bc968);_0x2aaf4f[_0x46afc0(0x189)](_0x46afc0(0x1c1))['to'](_0x5bc968),_0x2aaf4f[_0x46afc0(0x189)](_0x46afc0(0x1fc))['to'](_0x5bc968,_0x46afc0(0x1fc),_0x5bc968,_0x46afc0(0x1c1),(_0x3c7bbc,_0x679833)=>_0x3c7bbc||!_0x679833),_0x2aaf4f[_0x46afc0(0x189)](_0x46afc0(0x1f4))['to'](_0x5bc968),_0x2aaf4f[_0x46afc0(0x1e7)]=_0x46afc0(0x205);const _0x1596a6=new _0x3f212c({'view':_0x2aaf4f,'target':_0x28603b,'type':_0x46afc0(0x205),'isVisible':!_0x566233[_0x46afc0(0x21f)]&&!!(_0x46afc0(0x1b6)==typeof _0x28603b?_0x28603b():_0x28603b)});return _0x5bc968['on'](_0x46afc0(0x1c7),()=>{const _0x280718=_0x46afc0;_0x1596a6[_0x280718(0x24a)](_0x280718(0x1c7));}),this[_0x46afc0(0x165)](_0x5bc968,_0x1596a6),_0xca69d3[_0x46afc0(0x1f1)](_0x1596a6),_0x1596a6;}[_0x2c13ee(0x165)](_0x25855f,_0x5d165c){const _0x2284c3=_0x2c13ee;this[_0x2284c3(0x1cd)](_0x25855f,_0x2284c3(0x218),(_0x43d1c6,_0x1a0956)=>{const _0x484cc1=_0x2284c3,_0x566788=_0x1a0956['ui'][_0x484cc1(0x1da)][_0x484cc1(0x206)][_0x484cc1(0x195)];_0x5d165c[_0x484cc1(0x18a)][_0x484cc1(0x1f1)](_0x566788),this[_0x484cc1(0x1dd)]instanceof _0x4341bf&&this[_0x484cc1(0x1dd)]['ui'][_0x484cc1(0x226)][_0x484cc1(0x1f1)](_0x566788);},{'priority':_0x2284c3(0x23b)}),this[_0x2284c3(0x1cd)](_0x25855f,_0x2284c3(0x16e),(_0x24bf16,_0x35d937)=>{const _0x58757a=_0x2284c3,_0x3ad7a9=_0x35d937['ui'][_0x58757a(0x1da)][_0x58757a(0x206)][_0x58757a(0x195)];_0x5d165c[_0x58757a(0x18a)][_0x58757a(0x1b5)](_0x3ad7a9)&&_0x5d165c[_0x58757a(0x18a)][_0x58757a(0x1fd)](_0x3ad7a9),this[_0x58757a(0x1dd)]instanceof _0x4341bf&&this[_0x58757a(0x1dd)]['ui'][_0x58757a(0x226)][_0x58757a(0x1fd)](_0x3ad7a9);});}[_0x2c13ee(0x1fb)](_0x4d4496){const _0x1ef5a5=_0x2c13ee;this[_0x1ef5a5(0x1ad)](_0x4d4496,_0x1ef5a5(0x218)),this[_0x1ef5a5(0x1ad)](_0x4d4496,_0x1ef5a5(0x16e));}[_0x2c13ee(0x169)](_0x1f0c5c){const _0xcddd61=_0x2c13ee,_0x157f1b=this[_0xcddd61(0x1dd)][_0xcddd61(0x1c4)][_0xcddd61(0x20d)](_0x54ecb5),{config:_0x16d129,locale:_0xf189f4}=this[_0xcddd61(0x1dd)],_0x5ad978=_0x3abe93(_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x1b2)),_0xf189f4);return new(0x0,(_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x1f5)))[(_0xcddd61(0x17a))])(_0xf189f4,_0x1f0c5c,_0x157f1b['me'],{'editorConfig':{..._0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x1b4)),'licenseKey':this[_0xcddd61(0x1dd)][_0xcddd61(0x1d3)][_0xcddd61(0x20d)](_0xcddd61(0x175))},'copyMarkers':_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x1b1)),'maxCommentsWhenCollapsed':_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x171)),'maxThreadTotalWeight':_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x221)),'maxCommentCharsWhenCollapsed':_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x203)),'formatDateTime':_0x5ad978,'CommentView':_0x16d129[_0xcddd61(0x20d)](_0xcddd61(0x1f5))[_0xcddd61(0x22d)]});}[_0x2c13ee(0x244)]({threadId:_0x241804,channelId:_0x138275,resolvedAt:_0x3334a2,resolvedBy:_0x51017c,isFromAdapter:_0x1e5237}){const _0x270568=_0x2c13ee;if(!this[_0x270568(0x17d)](_0x241804))throw new _0x1b9c34(_0x270568(0x179),null,{'threadId':_0x241804});const _0x465794=this[_0x270568(0x204)](_0x241804);if(_0x465794[_0x270568(0x20b)])throw new _0x1b9c34(_0x270568(0x16f),null,{'threadId':_0x241804});const _0x3d137e=this[_0x270568(0x1dd)][_0x270568(0x1c4)][_0x270568(0x20d)](_0x54ecb5);if(_0x465794[_0x270568(0x1d7)]=_0x3d137e[_0x270568(0x238)](_0x51017c),_0x465794[_0x270568(0x1cf)]=_0x3334a2,_0x1e5237||!this[_0x270568(0x192)]||_0x270568(0x1b6)!=typeof this[_0x270568(0x192)][_0x270568(0x240)])return Promise[_0x270568(0x1f7)]();const _0xb65af2=this[_0x270568(0x1dd)][_0x270568(0x1c4)][_0x270568(0x20d)](_0x270568(0x1d8)),_0x5c54f1=_0xb65af2[_0x270568(0x1f1)](_0x988c74(this[_0x270568(0x1dd)][_0x270568(0x1b2)],_0x270568(0x180)));return this[_0x270568(0x192)][_0x270568(0x240)]({'channelId':_0x138275,'threadId':_0x241804})[_0x270568(0x1bb)](({resolvedAt:_0x302f24,resolvedBy:_0x5ee0e3})=>{const _0x5a029f=_0x270568;_0xb65af2[_0x5a029f(0x1fd)](_0x5c54f1),_0x465794[_0x5a029f(0x1d7)]['id']!==_0x5ee0e3&&(_0x465794[_0x5a029f(0x1d7)]=_0x3d137e[_0x5a029f(0x238)](_0x5ee0e3)),_0x465794[_0x5a029f(0x1cf)]=_0x302f24;})[_0x270568(0x241)](_0x280e84=>{const _0x51b9c6=_0x270568;throw console[_0x51b9c6(0x1cb)](_0x280e84),new _0x1b9c34(_0x51b9c6(0x237),this);});}[_0x2c13ee(0x187)]({threadId:_0x38e3ac,channelId:_0xd92d1d,isFromAdapter:_0xace147}){const _0x1027e1=_0x2c13ee;if(!this[_0x1027e1(0x17d)](_0x38e3ac))throw new _0x1b9c34(_0x1027e1(0x179),null,{'threadId':_0x38e3ac});const _0x55fbcf=this[_0x1027e1(0x204)](_0x38e3ac);if(!_0x55fbcf[_0x1027e1(0x20b)])throw new _0x1b9c34(_0x1027e1(0x23a),null,{'threadId':_0x38e3ac});if(_0x55fbcf[_0x1027e1(0x1d7)]=null,_0x55fbcf[_0x1027e1(0x1cf)]=null,_0xace147||!this[_0x1027e1(0x192)]||_0x1027e1(0x1b6)!=typeof this[_0x1027e1(0x192)][_0x1027e1(0x1b0)])return Promise[_0x1027e1(0x1f7)]();const _0x503ac1=this[_0x1027e1(0x1dd)][_0x1027e1(0x1c4)][_0x1027e1(0x20d)](_0x1027e1(0x1d8)),_0x4d94db=_0x503ac1[_0x1027e1(0x1f1)](_0x988c74(this[_0x1027e1(0x1dd)][_0x1027e1(0x1b2)],_0x1027e1(0x180)));return this[_0x1027e1(0x192)][_0x1027e1(0x1b0)]({'channelId':_0xd92d1d,'threadId':_0x38e3ac})[_0x1027e1(0x1bb)](()=>_0x503ac1[_0x1027e1(0x1fd)](_0x4d94db))[_0x1027e1(0x241)](_0x53b1bb=>{const _0x37881d=_0x1027e1;throw console[_0x37881d(0x1cb)](_0x53b1bb),new _0x1b9c34(_0x37881d(0x229),this);});}[_0x2c13ee(0x167)]({threadId:_0x1a6a18,isFromAdapter:_0x2bfa95}){const _0xb0243=_0x2c13ee,_0x3e8c0b=this[_0xb0243(0x204)](_0x1a6a18);if(!_0x3e8c0b)throw new _0x1b9c34(_0xb0243(0x223),this);if(this[_0xb0243(0x245)](_0x1a6a18),this[_0xb0243(0x186)][_0xb0243(0x1bf)](_0x1a6a18),!_0x3e8c0b[_0xb0243(0x20f)]||_0x2bfa95||!this[_0xb0243(0x192)]||_0xb0243(0x1b6)!=typeof this[_0xb0243(0x192)][_0xb0243(0x198)])return Promise[_0xb0243(0x1f7)]();const _0x2f5b78=this[_0xb0243(0x1dd)][_0xb0243(0x1c4)][_0xb0243(0x20d)](_0xb0243(0x1d8)),{channelId:_0x3f213f}=_0x3e8c0b,_0x279014=_0x2f5b78[_0xb0243(0x1f1)](_0x988c74(this[_0xb0243(0x1dd)][_0xb0243(0x1b2)],_0xb0243(0x180)));return this[_0xb0243(0x192)][_0xb0243(0x198)]({'channelId':_0x3f213f,'threadId':_0x1a6a18})[_0xb0243(0x1bb)](()=>_0x2f5b78[_0xb0243(0x1fd)](_0x279014))[_0xb0243(0x241)](_0x3b838a=>{const _0x281511=_0xb0243;throw console[_0x281511(0x1cb)](_0x3b838a),new _0x1b9c34(_0x281511(0x194),this);});}[_0x2c13ee(0x1c8)]({threadId:_0x3382a3,unlinkedAt:_0x4535df,context:_0x330e90,attributes:_0xc22d30,isFromAdapter:_0x25399a}){const _0x186115=_0x2c13ee;if(_0x186115(0x166)!=typeof _0x3382a3)throw new _0x1b9c34(_0x186115(0x1f9),null,{'threadId':_0x3382a3});if(!this[_0x186115(0x17d)](_0x3382a3))throw new _0x1b9c34(_0x186115(0x179),null,{'threadId':_0x3382a3});const _0x384385=this[_0x186115(0x204)](_0x3382a3);let _0x1a954c=!0x1;if(void 0x0!==_0x330e90&&_0x384385[_0x186115(0x1dd)]!==_0x330e90&&(_0x384385[_0x186115(0x1dd)]=_0x330e90,_0x1a954c=!0x0),void 0x0!==_0x4535df&&_0x384385[_0x186115(0x209)]!==_0x4535df&&(_0x384385[_0x186115(0x209)]=_0x4535df,_0x1a954c=!0x0),_0xc22d30&&!_0x25e65f(_0xc22d30,_0x384385[_0x186115(0x1c5)])&&(_0x384385[_0x186115(0x1c5)]=_0xc22d30,_0x1a954c=!0x0),!_0x1a954c)return Promise[_0x186115(0x1f7)]();if(!_0x384385[_0x186115(0x20f)]||_0x25399a||!this[_0x186115(0x192)]||_0x186115(0x1b6)!=typeof this[_0x186115(0x192)][_0x186115(0x1af)])return Promise[_0x186115(0x1f7)]();const _0x2f75a0=this[_0x186115(0x1dd)][_0x186115(0x1c4)][_0x186115(0x20d)](_0x186115(0x1d8)),{channelId:_0x4880f0}=_0x384385,_0x76c16=_0x2f75a0[_0x186115(0x1f1)](_0x988c74(this[_0x186115(0x1dd)][_0x186115(0x1b2)],_0x186115(0x180)));return this[_0x186115(0x192)][_0x186115(0x1af)]({'channelId':_0x4880f0,'threadId':_0x3382a3,'context':_0x330e90,'unlinkedAt':_0x4535df,'attributes':_0xc22d30})[_0x186115(0x1bb)](()=>_0x2f75a0[_0x186115(0x1fd)](_0x76c16))[_0x186115(0x241)](_0x44639c=>{const _0x193381=_0x186115;throw console[_0x193381(0x1cb)](_0x44639c),new _0x1b9c34(_0x193381(0x1d1),this);});}[_0x2c13ee(0x245)](_0x1b650d){const _0x2ef9bc=_0x2c13ee,_0x2c649f=this[_0x2ef9bc(0x1dd)][_0x2ef9bc(0x1c4)][_0x2ef9bc(0x20d)](_0x449c99),_0x39e685=this[_0x2ef9bc(0x204)](_0x1b650d);if(_0x39e685[_0x2ef9bc(0x213)]=!0x1,this[_0x2ef9bc(0x1fe)][_0x2ef9bc(0x1b5)](_0x39e685)){const _0x474906=this[_0x2ef9bc(0x1fe)][_0x2ef9bc(0x20d)](_0x39e685),_0x5d0331=_0x474906[_0x2ef9bc(0x1da)],_0x6e40d2=_0x2c649f[_0x2ef9bc(0x1a0)](_0x5d0331);this[_0x2ef9bc(0x1fe)][_0x2ef9bc(0x1bf)](_0x39e685),this[_0x2ef9bc(0x1d6)][_0x2ef9bc(0x1bf)](_0x5d0331),_0x6e40d2&&_0x2c649f[_0x2ef9bc(0x1fd)](_0x6e40d2),_0x474906[_0x2ef9bc(0x1bd)](),_0x5d0331[_0x2ef9bc(0x1bd)]()[_0x2ef9bc(0x1bb)](()=>{const _0x52bf51=_0x2ef9bc;this[_0x52bf51(0x1fb)](_0x5d0331);});}}[_0x2c13ee(0x201)]({threadId:_0x51ee7a,resolvedAt:_0x1ad551,unlinkedAt:_0xbe72a6}){const _0x44ae80=_0x2c13ee,_0x27b534=!!_0x1ad551,_0x428af8=this[_0x44ae80(0x1dd)][_0x44ae80(0x1c4)][_0x44ae80(0x20d)](_0x449c99),_0x2fdd1f=this[_0x44ae80(0x204)](_0x51ee7a);if(this[_0x44ae80(0x1fe)][_0x44ae80(0x1b5)](_0x2fdd1f)){const _0x52e6ae=this[_0x44ae80(0x1fe)][_0x44ae80(0x20d)](_0x2fdd1f)[_0x44ae80(0x1da)],_0x1cd33d=_0x428af8[_0x44ae80(0x1a0)](_0x52e6ae);_0x1cd33d&&(_0x27b534&&_0x428af8[_0x44ae80(0x196)](_0x1cd33d),_0xbe72a6?_0x1cd33d[_0x44ae80(0x19f)]=!0x1:_0x1cd33d[_0x44ae80(0x214)]());}}[_0x2c13ee(0x202)](_0x621abb){const _0x58b25f=_0x2c13ee,_0x53299a=this[_0x58b25f(0x1dd)][_0x58b25f(0x1c4)][_0x58b25f(0x20d)](_0x54ecb5),_0xba73f9=_0x481b19(_0x58b25f(0x1e2)+_0x621abb),_0x49737f=_0x53299a[_0x58b25f(0x238)](_0xba73f9);return _0x49737f||_0x53299a[_0x58b25f(0x22a)]({'id':_0xba73f9,'name':_0x621abb});}[_0x2c13ee(0x197)]({threadId:_0x507d17,commentId:_0x22320d=_0x5eaf43(),content:_0x210a1d,authorId:_0x409137,createdAt:_0x1ab02e,attributes:_0x1645f6}){const _0x2878c3=_0x2c13ee;if(_0x2878c3(0x166)!=typeof _0x22320d)throw new _0x1b9c34(_0x2878c3(0x1dc));if(_0x2878c3(0x166)!=typeof _0x409137)throw new _0x1b9c34(_0x2878c3(0x1f0));if(_0x2878c3(0x166)!=typeof _0x210a1d||!_0x210a1d[_0x2878c3(0x19c)]())throw new _0x1b9c34(_0x2878c3(0x1bc));const _0x5ba893=this[_0x2878c3(0x1dd)][_0x2878c3(0x1c4)][_0x2878c3(0x20d)](_0x54ecb5)[_0x2878c3(0x238)](_0x409137);if(!_0x5ba893)throw new _0x1b9c34(_0x2878c3(0x18c),null,{'authorId':_0x409137});let _0x52f7b9=null,_0x35d283=_0x1ab02e;return _0x1645f6?.[_0x2878c3(0x210)]&&(_0x52f7b9=this[_0x2878c3(0x202)](_0x1645f6[_0x2878c3(0x210)][_0x2878c3(0x1d5)]),_0x35d283=new Date(_0x1645f6[_0x2878c3(0x210)][_0x2878c3(0x191)])),new Comment(this,{'threadId':_0x507d17,'id':_0x22320d,'author':_0x52f7b9||_0x5ba893,'creator':_0x5ba893,'content':_0x210a1d,'createdAt':_0x1ab02e,'authoredAt':_0x35d283,'attributes':_0x1645f6});}[_0x2c13ee(0x1ea)](_0x3d4bb0){const _0xf02b8a=_0x2c13ee;let {threadId:_0x177acb,content:_0x22cbdf,attributes:_0x42140f,isFromAdapter:_0x4e9da8}=_0x3d4bb0;const _0x34ecbf=this[_0xf02b8a(0x204)](_0x3d4bb0[_0xf02b8a(0x1c9)]);if(!_0x34ecbf)throw new _0x1b9c34(_0xf02b8a(0x1a5),this);const _0x5ef867=this[_0xf02b8a(0x197)](_0x3d4bb0),{id:_0x47ee51}=_0x5ef867;if(_0x34ecbf[_0xf02b8a(0x18b)](_0x5ef867),_0x4e9da8||!this[_0xf02b8a(0x192)]||_0xf02b8a(0x1b6)!=typeof this[_0xf02b8a(0x192)][_0xf02b8a(0x235)]||!_0x34ecbf[_0xf02b8a(0x20f)])return Promise[_0xf02b8a(0x1f7)]();const _0x9bcd7b=this[_0xf02b8a(0x1dd)][_0xf02b8a(0x1c4)][_0xf02b8a(0x20d)](_0xf02b8a(0x1d8)),{channelId:_0x19a98a}=_0x34ecbf,_0x1e3b54=_0x9bcd7b[_0xf02b8a(0x1f1)](_0x988c74(this[_0xf02b8a(0x1dd)][_0xf02b8a(0x1b2)],_0xf02b8a(0x180)));return _0x42140f||(_0x42140f={}),this[_0xf02b8a(0x192)][_0xf02b8a(0x235)]({'channelId':_0x19a98a,'threadId':_0x177acb,'commentId':_0x47ee51,'content':_0x22cbdf,'attributes':_0x42140f})[_0xf02b8a(0x1bb)](_0x50cea7=>{const _0x48990b=_0xf02b8a;_0x9bcd7b[_0x48990b(0x1fd)](_0x1e3b54),_0x50cea7&&this[_0x48990b(0x232)]({'channelId':_0x19a98a,'threadId':_0x177acb,'commentId':_0x47ee51,'createdAt':_0x50cea7[_0x48990b(0x191)],'isFromAdapter':!0x0});})[_0xf02b8a(0x241)](_0x327b4d=>{const _0x236dc1=_0xf02b8a;throw console[_0x236dc1(0x1cb)](_0x327b4d),new _0x1b9c34(_0x236dc1(0x208),this);});}[_0x2c13ee(0x232)]({threadId:_0x173748,commentId:_0x480a0e,content:_0x3044f3,createdAt:_0x2b12c9,attributes:_0x4a4e9c,isFromAdapter:_0x26a1ef}){const _0x3a9d96=_0x2c13ee;if(void 0x0!==_0x3044f3&&(_0x3a9d96(0x166)!=typeof _0x3044f3||!_0x3044f3[_0x3a9d96(0x19c)]()[_0x3a9d96(0x1c1)]))throw new _0x1b9c34(_0x3a9d96(0x1db));const _0x90e610=this[_0x3a9d96(0x204)](_0x173748),_0x5c9191=_0x90e610[_0x3a9d96(0x164)](_0x480a0e);if(!_0x5c9191)throw new _0x1b9c34(_0x3a9d96(0x1a2),this);let _0x54d778=!0x1;if(_0x3044f3&&_0x3044f3!==_0x5c9191[_0x3a9d96(0x19e)]&&(_0x5c9191[_0x3a9d96(0x17b)]||_0x26a1ef)&&(_0x5c9191[_0x3a9d96(0x19e)]=_0x3044f3,_0x54d778=!0x0),_0x2b12c9&&_0x2b12c9!==_0x5c9191[_0x3a9d96(0x191)]&&(_0x5c9191[_0x3a9d96(0x191)]=_0x2b12c9,_0x5c9191[_0x3a9d96(0x1c5)]&&_0x5c9191[_0x3a9d96(0x1c5)][_0x3a9d96(0x210)]||(_0x5c9191[_0x3a9d96(0x170)]=_0x2b12c9),_0x54d778=!0x0),_0x4a4e9c&&!_0x25e65f(_0x4a4e9c,_0x5c9191[_0x3a9d96(0x1c5)])&&(_0x5c9191[_0x3a9d96(0x1c5)]=_0x4a4e9c,_0x54d778=!0x0),!_0x54d778)return Promise[_0x3a9d96(0x1f7)]();if(_0x90e610[_0x3a9d96(0x24a)](_0x3a9d96(0x172)),_0x26a1ef||!this[_0x3a9d96(0x192)]||_0x3a9d96(0x1b6)!=typeof this[_0x3a9d96(0x192)][_0x3a9d96(0x18d)])return Promise[_0x3a9d96(0x1f7)]();const _0x4d25c8=this[_0x3a9d96(0x1dd)][_0x3a9d96(0x1c4)][_0x3a9d96(0x20d)](_0x3a9d96(0x1d8)),{channelId:_0x545143}=this[_0x3a9d96(0x204)](_0x5c9191[_0x3a9d96(0x1c9)]),_0x15e0ea=_0x4d25c8[_0x3a9d96(0x1f1)](_0x988c74(this[_0x3a9d96(0x1dd)][_0x3a9d96(0x1b2)],_0x3a9d96(0x180)));return this[_0x3a9d96(0x192)][_0x3a9d96(0x18d)]({'channelId':_0x545143,'threadId':_0x173748,'commentId':_0x480a0e,'content':_0x3044f3,'attributes':_0x4a4e9c})[_0x3a9d96(0x1bb)](()=>_0x4d25c8[_0x3a9d96(0x1fd)](_0x15e0ea))[_0x3a9d96(0x241)](_0x12ffcd=>{const _0x4dab22=_0x3a9d96;throw console[_0x4dab22(0x1cb)](_0x12ffcd),new _0x1b9c34(_0x4dab22(0x163),this);});}[_0x2c13ee(0x249)]({threadId:_0x1649ee,commentId:_0x3911ab,isFromAdapter:_0x1c1142}){const _0x305bda=_0x2c13ee,_0x52e162=this[_0x305bda(0x204)](_0x1649ee),_0x41dfe4=_0x52e162[_0x305bda(0x164)](_0x3911ab);if(!_0x41dfe4)throw new _0x1b9c34(_0x305bda(0x1c6),this);if(_0x52e162[_0x305bda(0x220)](_0x41dfe4),_0x1c1142||!this[_0x305bda(0x192)]||_0x305bda(0x1b6)!=typeof this[_0x305bda(0x192)][_0x305bda(0x199)])return Promise[_0x305bda(0x1f7)]();const _0x399588=this[_0x305bda(0x1dd)][_0x305bda(0x1c4)][_0x305bda(0x20d)](_0x305bda(0x1d8)),{channelId:_0x3ff60c}=_0x52e162,_0x2c3ed1=_0x399588[_0x305bda(0x1f1)](_0x988c74(this[_0x305bda(0x1dd)][_0x305bda(0x1b2)],_0x305bda(0x180)));return this[_0x305bda(0x192)][_0x305bda(0x199)]({'channelId':_0x3ff60c,'threadId':_0x1649ee,'commentId':_0x3911ab})[_0x305bda(0x1bb)](()=>_0x399588[_0x305bda(0x1fd)](_0x2c3ed1))[_0x305bda(0x241)](_0x3a6664=>{const _0x1cfef2=_0x305bda;throw console[_0x1cfef2(0x1cb)](_0x3a6664),new _0x1b9c34(_0x1cfef2(0x18f),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
24
+ _0xe667e9(){[_0x2c13ee(0x176)];['id'];[_0x2c13ee(0x213)];[_0x2c13ee(0x224)];[_0x2c13ee(0x1f5)];[_0x2c13ee(0x20a)];constructor(_0xfcc2a1,_0x467b8b){const _0x108d4c=_0x2c13ee;super();const _0x46cf56=_0x467b8b[_0x108d4c(0x1c3)];this[_0x108d4c(0x176)]=_0x467b8b[_0x108d4c(0x176)],this['id']=_0x467b8b['id'],this[_0x108d4c(0x1f5)]=new _0x5cbeea(),this[_0x108d4c(0x20a)]=_0xfcc2a1,this[_0x108d4c(0x213)]=!0x1,this[_0x108d4c(0x224)]=_0x467b8b[_0x108d4c(0x20f)],this[_0x108d4c(0x1a6)](_0x108d4c(0x174),!0x0),this[_0x108d4c(0x189)](_0x108d4c(0x227))['to'](_0xfcc2a1,_0x108d4c(0x178),_0xfcc2a1,_0x108d4c(0x1e1),()=>_0xfcc2a1[_0x108d4c(0x227)](this[_0x108d4c(0x176)])),this[_0x108d4c(0x189)](_0x108d4c(0x19a))['to'](_0xfcc2a1,_0x108d4c(0x178),()=>_0xfcc2a1[_0x108d4c(0x1eb)](this[_0x108d4c(0x176)])[_0x108d4c(0x207)]),this[_0x108d4c(0x189)](_0x108d4c(0x247))['to'](_0xfcc2a1,_0x108d4c(0x178),()=>{const _0x786fb8=_0x108d4c,_0x403e78=_0xfcc2a1[_0x786fb8(0x1eb)](this[_0x786fb8(0x176)]);return _0x403e78[_0x786fb8(0x188)]||_0x403e78[_0x786fb8(0x207)];}),this[_0x108d4c(0x189)](_0x108d4c(0x1c3))['to'](_0xfcc2a1,_0x108d4c(0x178),()=>_0x46cf56&&_0xfcc2a1[_0x108d4c(0x1eb)](this[_0x108d4c(0x176)])[_0x108d4c(0x1f7)]),this[_0x108d4c(0x1a6)](_0x108d4c(0x1dd),_0x467b8b[_0x108d4c(0x1dd)]),this[_0x108d4c(0x189)](_0x108d4c(0x21f))['to'](this,_0x108d4c(0x1cf),this,_0x108d4c(0x209),(_0x27b3de,_0xe1089d)=>_0x27b3de?_0xe1089d?_0x27b3de<_0xe1089d?_0x27b3de:_0xe1089d:_0x27b3de:_0xe1089d),this[_0x108d4c(0x1a6)](_0x108d4c(0x209),_0x467b8b[_0x108d4c(0x209)]||null),this[_0x108d4c(0x1a6)](_0x108d4c(0x1cf),_0x467b8b[_0x108d4c(0x1cf)]||null),this[_0x108d4c(0x1a6)](_0x108d4c(0x1d7),_0x467b8b[_0x108d4c(0x1d7)]||null),this[_0x108d4c(0x189)](_0x108d4c(0x20b))['to'](this,_0x108d4c(0x1cf),_0x2bf066=>!!_0x2bf066),this[_0x108d4c(0x1a6)](_0x108d4c(0x1c5),_0x467b8b[_0x108d4c(0x1c5)]||{});}get[_0x2c13ee(0x222)](){const _0x4de23d=_0x2c13ee;return Array[_0x4de23d(0x1aa)](this[_0x4de23d(0x1f5)])[_0x4de23d(0x200)]((_0x2b1a16,_0x1b6e0b)=>_0x2b1a16+_0x1b6e0b[_0x4de23d(0x222)],0x0);}get[_0x2c13ee(0x1c1)](){const _0x5616e6=_0x2c13ee;return this[_0x5616e6(0x1f5)][_0x5616e6(0x1c1)];}get[_0x2c13ee(0x17f)](){const _0x1efae2=_0x2c13ee;return this[_0x1efae2(0x213)];}get[_0x2c13ee(0x20f)](){const _0x12cc46=_0x2c13ee;return this[_0x12cc46(0x224)];}[_0x2c13ee(0x1d2)](){const _0x86ae31=_0x2c13ee,{channelId:_0x1f7ba5,id:_0xc1717d}=this;this[_0x86ae31(0x20a)][_0x86ae31(0x24a)](Nt(_0x86ae31(0x17c),_0x1f7ba5),{'channelId':_0x1f7ba5,'threadId':_0xc1717d});}[_0x2c13ee(0x1c0)](_0x2b48f9){const _0x1cd0fa=_0x2c13ee;this[_0x1cd0fa(0x1e3)]({'unlinkedAt':_0x2b48f9});}[_0x2c13ee(0x1f7)]({resolvedAt:_0x58347d=new Date(),resolvedBy:_0x50fb62='',isFromAdapter:_0x51f14b=!0x1}={}){const _0xdac6da=_0x2c13ee,_0x4e872d=this[_0xdac6da(0x20a)][_0xdac6da(0x1dd)][_0xdac6da(0x1c4)][_0xdac6da(0x20d)](_0x54ecb5)['me'],{channelId:_0x755689,id:_0x2bb6ec}=this;this[_0xdac6da(0x20a)][_0xdac6da(0x24a)](Nt(_0xdac6da(0x240),_0x755689),{'channelId':_0x755689,'threadId':_0x2bb6ec,'resolvedAt':_0x58347d,'resolvedBy':_0x50fb62||_0x4e872d['id'],'isFromAdapter':_0x51f14b});}[_0x2c13ee(0x23f)]({isFromAdapter:_0x38ead2=!0x1}={}){const _0x113aed=_0x2c13ee,{channelId:_0x1f736b,id:_0x4693a5}=this;this[_0x113aed(0x20a)][_0x113aed(0x24a)](Nt(_0x113aed(0x1b0),_0x1f736b),{'channelId':_0x1f736b,'threadId':_0x4693a5,'isFromAdapter':_0x38ead2});}[_0x2c13ee(0x22c)](_0x21ff55){const _0x583e07=_0x2c13ee;this[_0x583e07(0x1dd)]||this[_0x583e07(0x1e3)]({'context':_0x21ff55});}[_0x2c13ee(0x1e5)](_0x4fb4b3,_0x2ce530){const _0x465c66=_0x2c13ee,_0x45d818=_0x3f85b8(this[_0x465c66(0x1c5)]);_0x53d4c9(_0x45d818,_0x4fb4b3,_0x2ce530),this[_0x465c66(0x1e3)]({'attributes':_0x45d818});}[_0x2c13ee(0x22b)](_0x191045){const _0x78a5e9=_0x2c13ee,_0x436d20=_0x3f85b8(this[_0x78a5e9(0x1c5)]);_0x199f3d(_0x436d20,_0x191045),this[_0x78a5e9(0x1e3)]({'attributes':_0x436d20});}[_0x2c13ee(0x1fd)]({isFromAdapter:_0x529e54=!0x1}={}){const _0x426bd9=_0x2c13ee,{channelId:_0x263c47,id:_0x58509d}=this;this[_0x426bd9(0x20a)][_0x426bd9(0x24a)](Nt(_0x426bd9(0x198),_0x263c47),{'channelId':_0x263c47,'threadId':_0x58509d,'isFromAdapter':_0x529e54});}[_0x2c13ee(0x1a9)](_0x4ae9a9){const _0x6879e0=_0x2c13ee;return this[_0x6879e0(0x20a)][_0x6879e0(0x1e6)]({'threadId':this['id'],'target':_0x4ae9a9});}[_0x2c13ee(0x235)](_0x40758c){const _0x5aa211=_0x2c13ee,{channelId:_0x3a2e0,id:_0x129fc7}=this;this[_0x5aa211(0x20a)][_0x5aa211(0x24a)](Nt(_0x5aa211(0x235),_0x3a2e0,_0x129fc7),Object[_0x5aa211(0x216)]({'channelId':_0x3a2e0,'threadId':_0x129fc7},_0x40758c));}[_0x2c13ee(0x164)](_0xb0e55d){const _0xb322ad=_0x2c13ee;if(_0xb322ad(0x166)!=typeof _0xb0e55d)throw new _0x1b9c34(_0xb322ad(0x1e0),null,{'commentId':_0xb0e55d});return this[_0xb322ad(0x1f5)][_0xb322ad(0x20d)](_0xb0e55d);}[_0x2c13ee(0x1d9)](){const _0x3bd22f=_0x2c13ee;return{'threadId':this['id'],'context':this[_0x3bd22f(0x1dd)],'unlinkedAt':this[_0x3bd22f(0x209)],'resolvedAt':this[_0x3bd22f(0x1cf)],'resolvedBy':this[_0x3bd22f(0x1d7)]?this[_0x3bd22f(0x1d7)]['id']:null,'archivedAt':this[_0x3bd22f(0x21f)],'comments':this[_0x3bd22f(0x1f5)][_0x3bd22f(0x22e)](_0xec21f=>_0xec21f[_0x3bd22f(0x1d9)]()),'attributes':this[_0x3bd22f(0x1c5)]};}[_0x2c13ee(0x18b)](_0x2948ec){const _0x49f82a=_0x2c13ee;return this[_0x49f82a(0x1cd)](_0x2948ec,_0x49f82a(0x1b8),()=>{const _0x342526=_0x49f82a,_0x58fdee=this[_0x342526(0x1a8)](_0x2948ec),_0x238690=this[_0x342526(0x1f5)];_0x58fdee-0x1!=_0x238690[_0x342526(0x190)](_0x2948ec)&&_0x58fdee+0x1!=_0x238690[_0x342526(0x190)](_0x2948ec)&&(this[_0x342526(0x220)](_0x2948ec),this[_0x342526(0x18b)](_0x2948ec));}),this[_0x49f82a(0x1f5)][_0x49f82a(0x1f1)](_0x2948ec,this[_0x49f82a(0x1a8)](_0x2948ec));}[_0x2c13ee(0x1e3)](_0x3e6f31){const _0x128def=_0x2c13ee,{channelId:_0x54a45a,id:_0x315e7a}=this;this[_0x128def(0x20a)][_0x128def(0x24a)](Nt(_0x128def(0x1af),_0x54a45a),{..._0x3e6f31,'channelId':_0x54a45a,'threadId':_0x315e7a});}[_0x2c13ee(0x220)](_0x37f7b3){const _0x23ba21=_0x2c13ee;return this[_0x23ba21(0x1ad)](_0x37f7b3),_0x37f7b3[_0x23ba21(0x1bd)](),this[_0x23ba21(0x1f5)][_0x23ba21(0x1fd)](_0x37f7b3);}[_0x2c13ee(0x1a8)](_0x2242b4){const _0x33c564=_0x2c13ee,_0x40dd0e=this[_0x33c564(0x1f5)][_0x33c564(0x225)](_0x6f6d05=>new Date(_0x6f6d05[_0x33c564(0x170)])[_0x33c564(0x1ae)]()>new Date(_0x2242b4[_0x33c564(0x170)])[_0x33c564(0x1ae)]());return _0x40dd0e?this[_0x33c564(0x1f5)][_0x33c564(0x190)](_0x40dd0e):this[_0x33c564(0x1c1)];}}export class Comment extends/* #__PURE__ -- @preserve */
25
+ _0xe667e9(){['id'];[_0x2c13ee(0x1c9)];[_0x2c13ee(0x1ca)];[_0x2c13ee(0x21e)];[_0x2c13ee(0x19d)];[_0x2c13ee(0x191)];[_0x2c13ee(0x20a)];constructor(_0x162a71,_0x428c1b){const _0x2eb889=_0x2c13ee;super();const _0x242a8c=_0x162a71[_0x2eb889(0x1dd)][_0x2eb889(0x1c4)][_0x2eb889(0x20d)](_0x54ecb5)['me'],_0x3d4262=_0x162a71[_0x2eb889(0x204)](_0x428c1b[_0x2eb889(0x1c9)]),_0x4a2d37=0x0===_0x3d4262[_0x2eb889(0x1f5)][_0x2eb889(0x1c1)],_0x4a3849=_0x242a8c===_0x428c1b[_0x2eb889(0x1ca)];this['id']=_0x428c1b['id'],this[_0x2eb889(0x1c9)]=_0x428c1b[_0x2eb889(0x1c9)],this[_0x2eb889(0x1ca)]=_0x428c1b[_0x2eb889(0x1ca)],this[_0x2eb889(0x21e)]=_0x428c1b[_0x2eb889(0x21e)],this[_0x2eb889(0x19d)]=Boolean(_0x428c1b[_0x2eb889(0x1c5)]&&_0x428c1b[_0x2eb889(0x1c5)][_0x2eb889(0x210)]),this[_0x2eb889(0x1a6)](_0x2eb889(0x19e),_0x428c1b[_0x2eb889(0x19e)]),this[_0x2eb889(0x191)]=_0x428c1b[_0x2eb889(0x191)]||new Date(),this[_0x2eb889(0x1a6)](_0x2eb889(0x170),_0x428c1b[_0x2eb889(0x170)]||new Date()),this[_0x2eb889(0x189)](_0x2eb889(0x1cf))['to'](_0x3d4262,_0x2eb889(0x1cf)),this[_0x2eb889(0x1a6)](_0x2eb889(0x1c5),_0x428c1b[_0x2eb889(0x1c5)]||{}),this[_0x2eb889(0x189)](_0x2eb889(0x17b))['to'](_0x162a71,_0x2eb889(0x178),()=>{const _0x4e3829=_0x2eb889,_0xc13b66=_0x162a71[_0x4e3829(0x1eb)](_0x3d4262[_0x4e3829(0x176)])[_0x4e3829(0x188)],_0x2be66a=_0x162a71[_0x4e3829(0x1eb)](_0x3d4262[_0x4e3829(0x176)])[_0x4e3829(0x236)];return _0x4a3849&&_0xc13b66||!_0x4a3849&&_0x2be66a;}),this[_0x2eb889(0x189)](_0x2eb889(0x19a))['to'](_0x3d4262,_0x2eb889(0x19a),_0x162a71,_0x2eb889(0x178),_0x3384b0=>{const _0x57782a=_0x2eb889,_0x2d7aed=_0x162a71[_0x57782a(0x1eb)](_0x3d4262[_0x57782a(0x176)])[_0x57782a(0x188)],_0x33d520=_0x162a71[_0x57782a(0x1eb)](_0x3d4262[_0x57782a(0x176)])[_0x57782a(0x236)];return _0x4a3849&&_0x2d7aed||_0x3384b0&&_0x4a2d37||!_0x4a3849&&_0x33d520&&!_0x4a2d37;}),this[_0x2eb889(0x189)](_0x2eb889(0x227))['to'](_0x3d4262,_0x2eb889(0x227)),this[_0x2eb889(0x20a)]=_0x162a71;}get[_0x2c13ee(0x222)](){const _0x30ce1f=_0x2c13ee;return Math[_0x30ce1f(0x21c)](function(_0x21fed1){const _0x13627e=_0x30ce1f,_0x465c6c=document[_0x13627e(0x1ce)](_0x13627e(0x23c));return _0x465c6c[_0x13627e(0x242)]=_0x21fed1,_0x465c6c[_0x13627e(0x20c)][_0x13627e(0x1c1)];}(this[_0x30ce1f(0x19e)]),0xc8);}[_0x2c13ee(0x1b3)](_0x27711a){const _0x1de0a6=_0x2c13ee,{threadId:_0x9efe2,id:_0x11a709}=this;if(!this[_0x1de0a6(0x20a)][_0x1de0a6(0x17d)](_0x9efe2))throw new _0x1b9c34(_0x1de0a6(0x20e),this);const {channelId:_0x4edcdd}=this[_0x1de0a6(0x20a)][_0x1de0a6(0x204)](_0x9efe2);this[_0x1de0a6(0x20a)][_0x1de0a6(0x24a)](Nt(_0x1de0a6(0x18d),_0x4edcdd,_0x9efe2),{'channelId':_0x4edcdd,'threadId':_0x9efe2,'commentId':_0x11a709,..._0x27711a});}[_0x2c13ee(0x1e5)](_0x3d0e79,_0x333908){const _0x3de168=_0x2c13ee,_0x18ffc2=_0x3f85b8(this[_0x3de168(0x1c5)]);_0x53d4c9(_0x18ffc2,_0x3d0e79,_0x333908),this[_0x3de168(0x1b3)]({'attributes':_0x18ffc2});}[_0x2c13ee(0x22b)](_0x12a885){const _0x290b60=_0x2c13ee,_0x34f109=_0x3f85b8(this[_0x290b60(0x1c5)]);_0x199f3d(_0x34f109,_0x12a885),this[_0x290b60(0x1b3)]({'attributes':_0x34f109});}[_0x2c13ee(0x1fd)](_0x2ae52e={}){const _0x1a726b=_0x2c13ee;if(!_0x2ae52e[_0x1a726b(0x248)]&&!this[_0x1a726b(0x19a)])return;const {threadId:_0x407d2d,id:_0x1fbb79}=this;if(!this[_0x1a726b(0x20a)][_0x1a726b(0x17d)](_0x407d2d))throw new _0x1b9c34(_0x1a726b(0x193),this);const {channelId:_0x14ae30}=this[_0x1a726b(0x20a)][_0x1a726b(0x204)](_0x407d2d);this[_0x1a726b(0x20a)][_0x1a726b(0x24a)](Nt(_0x1a726b(0x199),_0x14ae30,_0x407d2d),{'channelId':_0x14ae30,'threadId':_0x407d2d,'commentId':_0x1fbb79,..._0x2ae52e});}[_0x2c13ee(0x1d9)](){const _0x181909=_0x2c13ee;return{'commentId':this['id'],'content':this[_0x181909(0x19e)],'createdAt':this[_0x181909(0x191)],'authorId':this[_0x181909(0x21e)]['id'],'attributes':this[_0x181909(0x1c5)]};}[_0x2c13ee(0x1bd)](){const _0x5df1be=_0x2c13ee;this[_0x5df1be(0x1ad)]();}}function Nt(_0x446aaa,..._0x59cf6b){for(const _0x5e3c92 of _0x59cf6b)void 0x0!==_0x5e3c92&&(_0x446aaa+=':'+String(_0x5e3c92));return _0x446aaa;}function _0x3d86(){const _0xe76b8f=['_bindAnnotationToEditors','string','_removeCommentThread','commentInputView','_createCommentThreadView','commentThreadInputView','commentsrepository-add-comment-thread-internal-error','init','commentsrepository-fetch-comment-thread','editorDestroyed','commentsrepository-resolved-comment-thread','authoredAt','comments.maxCommentsWhenCollapsed','commentUpdated','863UYtrQX','_hasTargetInContent','licenseKey','channelId','createCommentThreadController','_permissions','commentsrepository-missing-comment-thread','CommentThreadView','isEditable','submitCommentThread','hasCommentThread','pluginName','isAttached','PENDING_ACTION_COMMENT_THREAD','change:_readOnlyChannels','switchReadOnly','1411863Ubrgrp','1695nkEYgo','change:_permissions','_threads','_reopenCommentThread','write','bind','focusableElements','_add','commentsrepository-add-comment-user-not-exists','updateComment','deactivateAll','commentsrepository-remove-comment-internal-error','getIndex','createdAt','adapter','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-remove-comment-thread-internal-error','bodyCollectionContainer','_removeActiveAnnotation','_createNewComment','removeCommentThread','removeComment','isRemovable','isOfficialPlugin','trim','isExternal','content','isVisible','getByInnerView','_submitCommentThread','commentsrepository-update-missing-comment','focus','_adapter','commentsrepository-add-comment-to-missing-comment-thread','set','comments.CommentView','_findOptimalIndex','attachTo','from','6220949yAuDof','commentsrepository-active-missing-comment-thread','stopListening','getTime','updateCommentThread','reopenCommentThread','comments.copyMarkers','locale','update','comments.editorConfig','has','function','activeCommentThread','change:authoredAt','_addCommentThread','commentsListView','then','commentsrepository-invalid-comment-content','destroy','push','delete','setUnlinkedAt','length','model','isResolvable','plugins','attributes','commentsrepository-remove-missing-comment','escape','_updateCommentThread','threadId','author','error','innerView','listenTo','createElement','resolvedAt','change:activeAnnotations','commentsrepository-update-comment-thread-internal-error','submit','config','filter','authorName','_viewToController','resolvedBy','PendingActions','toJSON','view','commentsrepository-update-comment-invalid-content','commentsrepository-invalid-commentid','context','lowest','setPermissions','commentsrepository-get-comment-invalid-id','_readOnlyChannels','external:','_update','commentsrepository-duplicated-comment-thread-id','setAttribute','_attachCommentThread','type','activate','2861100jVrsPP','_addComment','getPermissions','26343053BGNtFf','openNewCommentThread','commentsrepository-active-not-attached','9gCRXRF','commentsrepository-invalid-comment-authorid','add','fetchCommentThread','once','isActive','comments','commentsrepository-attach-missing-comment-thread','resolve','values','commentsrepository-invalid-comment-thread-id','commentId','_unbindEditors','isDirty','remove','_threadToController','8PNfMDg','reduce','_updateActiveAnnotation','_getExternalAuthor','comments.maxCommentCharsWhenCollapsed','getCommentThread','comment','body','admin','commentsrepository-add-comment-internal-error','unlinkedAt','_repository','isResolved','textContent','get','commentsrepository-update-comment-missing-comment-thread','isSubmitted','@external','commentsrepository-adapter-already-set','16710WIeJln','_isAttached','refreshVisibility','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','assign','commentsrepository-missing-target','editorReady','define','commentsrepository-missing-thread-and-adapter-method','getCommentThreadForAnnotation','max','1986YwHAHY','creator','archivedAt','_remove','comments.maxThreadTotalWeight','weight','commentsrepository-remove-missing-comment-thread','_isSubmitted','find','focusTracker','isReadOnly','requires','commentsrepository-reopen-comment-thread-internal-error','addUser','removeAttribute','setContext','CommentView','map','CommentsRepository','7463528rHMNJF','getAnnotationForCommentThread','_updateComment','change:isDirty','getCommentThreads','addComment','modifyAll','commentsrepository-resolve-comment-thread-internal-error','getUser','comments.CommentThreadView','commentsrepository-reopen-comment-thread','highest','div','noChannel','isPremiumPlugin','reopen','resolveCommentThread','catch','innerHTML','addCommentThread','_resolveCommentThread','_detachCommentThread','setActiveCommentThread','canComment','isFromAdapter','_removeComment','fire','warn','commentsrepository-update-comment-internal-error','getComment'];_0x3d86=function(){return _0xe76b8f;};return _0x3d86();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c590b=_0x1037;(function(_0x1a88db,_0x3bddd5){const _0x52c21b=_0x1037,_0x3679da=_0x1a88db();while(!![]){try{const _0x125e0d=parseInt(_0x52c21b(0x183))/0x1+-parseInt(_0x52c21b(0x188))/0x2*(-parseInt(_0x52c21b(0x1a8))/0x3)+parseInt(_0x52c21b(0x185))/0x4*(parseInt(_0x52c21b(0x190))/0x5)+parseInt(_0x52c21b(0x1ac))/0x6+parseInt(_0x52c21b(0x1b0))/0x7+parseInt(_0x52c21b(0x1b1))/0x8*(-parseInt(_0x52c21b(0x195))/0x9)+parseInt(_0x52c21b(0x1d2))/0xa*(-parseInt(_0x52c21b(0x1be))/0xb);if(_0x125e0d===_0x3bddd5)break;else _0x3679da['push'](_0x3679da['shift']());}catch(_0x56351f){_0x3679da['push'](_0x3679da['shift']());}}}(_0x73d5,0x3fd78));function _0x1037(_0x1911d5,_0x3c5d09){const _0x73d55f=_0x73d5();return _0x1037=function(_0x10378f,_0x59df11){_0x10378f=_0x10378f-0x181;let _0x11d5fa=_0x73d55f[_0x10378f];return _0x11d5fa;},_0x1037(_0x1911d5,_0x3c5d09);}import{Plugin as _0xa99708}from'ckeditor5/src/core.js';import{IconAddComment as _0x209215}from'ckeditor5/src/icons.js';function _0x73d5(){const _0x75b40d=['removeCommentThread','addSourceCollector','commentsLicenseKeyNotAllowed','featureNotAllowed','innerView','menuBar:comment','_showLicenseError','isFocused','componentFactory','find','plugins','isOfficialPlugin','map','commentsLicenseKeyUsageLimit','focus','editing','locale','tooltip','comment:','60830rJHrjn','licenseKey','set','_createUIButton','Comments','CommentsListView','commentsLicenseKeyTrialLimit','commentsLicenseKeyValid','commentsLicenseKeyDomainLimit','376360DwzzJV','hasMarkerForId','320fMbELY','destroy','listenTo','2lAiDSs','_threadToController','hasCommentThread','requires','bind','Comment','low','get','19385YxwVsD','evaluationLimit','isPremiumPlugin','length','expired','81KTOZAg','push','getCommentThread','change:activeAnnotations','isEnabled','highest','activeMarker','model','execute','hasContent','getRange','init','CommentsUI','getAllMarkersForId','add','focusTracker','has','CommentThreadInputView','commands','255579AcqOHg','trialLimit','addComment','view','1451958ZBcHNd','config','editor','from','1467060zdmpMm','6008FBgCpU','comment','stop','pluginName','addCommentThread','domainLimit','usageLimit','_viewToController','commentsLicenseKeyInvalid','commentsLicenseKeyExpired','invalid','_licenseKeyCheckInterval','commentsLicenseKeyEvaluationLimit','1727PgSzwz'];_0x73d5=function(){return _0x75b40d;};return _0x73d5();}import{CommentsRepository as _0x27a452}from'./commentsrepository.js';import{CommentsEditing as _0x420b83}from'./commentsediting.js';import{EditorAnnotations as _0x2a251d}from'../annotations/editorannotations.js';import{ButtonView as _0xb802e4,MenuBarMenuListItemButtonView as _0x1d75f2}from'ckeditor5/src/ui.js';import{Annotations as _0x17792b}from'../annotations/annotations.js';import{CommentsListView as _0x33cba5}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x3984d2}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x1ffb30}from'../utils/common-translations.js';export class CommentsUI extends _0xa99708{[_0x4c590b(0x1d3)];[_0x4c590b(0x1bc)];static get[_0x4c590b(0x1b4)](){const _0x37307c=_0x4c590b;return _0x37307c(0x1a1);}static get[_0x4c590b(0x1ca)](){return!0x0;}static get[_0x4c590b(0x192)](){return!0x0;}static get[_0x4c590b(0x18b)](){return[_0x27a452,_0x420b83,_0x2a251d,_0x17792b];}get[_0x4c590b(0x1d7)](){return _0x33cba5;}get[_0x4c590b(0x1a6)](){return _0x3984d2;}[_0x4c590b(0x1a0)](){const _0x5f3b17=_0x4c590b,_0x43ae79=this[_0x5f3b17(0x1ae)],_0x3ae150=_0x43ae79[_0x5f3b17(0x1c9)][_0x5f3b17(0x18f)](_0x27a452),_0x308146=_0x43ae79[_0x5f3b17(0x1c9)][_0x5f3b17(0x18f)](_0x420b83),_0x232ccd=_0x43ae79[_0x5f3b17(0x1c9)][_0x5f3b17(0x18f)](_0x17792b),_0x226a27=_0x43ae79[_0x5f3b17(0x1c9)][_0x5f3b17(0x18f)](_0x2a251d);_0x43ae79['ui'][_0x5f3b17(0x1c7)][_0x5f3b17(0x1a3)](_0x5f3b17(0x1b2),()=>{const _0x525cf8=_0x5f3b17,_0x48e9f6=this[_0x525cf8(0x1d5)](_0xb802e4);return _0x48e9f6[_0x525cf8(0x1d0)]=!0x0,_0x48e9f6;}),_0x43ae79['ui'][_0x5f3b17(0x1c7)][_0x5f3b17(0x1a3)](_0x5f3b17(0x1c4),()=>this[_0x5f3b17(0x1d5)](_0x1d75f2)),_0x226a27[_0x5f3b17(0x1c0)](()=>{const _0x31a09b=_0x5f3b17,_0x3ebf4f=[];for(const [_0x3999a5,_0x3236a9]of _0x3ae150[_0x31a09b(0x189)]){const _0x4056d8=_0x308146[_0x31a09b(0x1a2)](_0x3999a5['id']),_0x4bb77b=_0x4056d8[_0x31a09b(0x1cb)](_0x1e2cef=>_0x1e2cef[_0x31a09b(0x19f)]());_0x4056d8[_0x31a09b(0x193)]>0x0&&_0x3ebf4f[_0x31a09b(0x196)]([_0x3236a9[_0x31a09b(0x1ab)],_0x4bb77b]);}return _0x3ebf4f;}),this[_0x5f3b17(0x187)](_0x232ccd,_0x5f3b17(0x198),(_0x53211f,_0x513cc7,_0x1cb3d1)=>{const _0x44516e=_0x5f3b17,_0x3116f7=Array[_0x44516e(0x1af)](_0x1cb3d1)[_0x44516e(0x1cb)](_0x3d9ce9=>_0x3d9ce9[_0x44516e(0x1c3)])[_0x44516e(0x1c8)](_0xddff05=>_0x3ae150[_0x44516e(0x1b8)][_0x44516e(0x1a5)](_0xddff05));if(!_0x3116f7)return void(_0x308146[_0x44516e(0x19b)]=null);const _0x3de021=_0x3ae150[_0x44516e(0x1b8)][_0x44516e(0x18f)](_0x3116f7)[_0x44516e(0x19c)]['id'],_0x45101c=_0x44516e(0x1d1)+_0x3de021;_0x3de021&&_0x308146[_0x44516e(0x184)](_0x3de021)?_0x308146[_0x44516e(0x19b)]=_0x45101c:_0x308146[_0x44516e(0x19b)]&&(_0x308146[_0x44516e(0x19b)]=null);}),this[_0x5f3b17(0x187)](_0x3ae150,_0x5f3b17(0x1bf),(_0x3346e1,{threadId:_0x96dddd,isFromAdapter:_0xeee916})=>{const _0x57e913=_0x5f3b17;!_0xeee916&&_0x43ae79['ui'][_0x57e913(0x1a4)][_0x57e913(0x1c6)]&&_0x308146[_0x57e913(0x184)](_0x96dddd)&&_0x43ae79[_0x57e913(0x1ce)][_0x57e913(0x1ab)][_0x57e913(0x1cd)]();},{'priority':_0x5f3b17(0x19a)}),this[_0x5f3b17(0x187)](_0x3ae150,_0x5f3b17(0x1aa),(_0x46d107,{threadId:_0x28ee50,isFromAdapter:_0xaae882})=>{const _0x439f66=_0x5f3b17;if(_0xaae882||!_0x308146[_0x439f66(0x184)](_0x28ee50)||!_0x3ae150[_0x439f66(0x18a)](_0x28ee50))return;0x1===_0x3ae150[_0x439f66(0x197)](_0x28ee50)[_0x439f66(0x193)]&&(_0x43ae79[_0x439f66(0x1ce)][_0x439f66(0x1ab)][_0x439f66(0x1cd)](),_0x46d107[_0x439f66(0x1b3)]());},{'priority':_0x5f3b17(0x18e)}),this[_0x5f3b17(0x1d3)]=this[_0x5f3b17(0x1ae)][_0x5f3b17(0x1ad)][_0x5f3b17(0x18f)](_0x5f3b17(0x1d3));const _0xf45fc4=this[_0x5f3b17(0x1ae)];this[_0x5f3b17(0x1bc)]=setInterval(()=>{const _0x41b38b=_0x5f3b17;let _0x2e82ec;for(const _0x4338da in _0xf45fc4){const _0x122802=_0x4338da,_0x272ec2=_0xf45fc4[_0x122802];if(_0x41b38b(0x181)==_0x272ec2||_0x41b38b(0x1b9)==_0x272ec2||_0x41b38b(0x1ba)==_0x272ec2||_0x41b38b(0x182)==_0x272ec2||_0x41b38b(0x1c1)==_0x272ec2||_0x41b38b(0x1bd)==_0x272ec2||_0x41b38b(0x1d8)==_0x272ec2||_0x41b38b(0x1cc)==_0x272ec2){delete _0xf45fc4[_0x122802],_0x2e82ec=_0x272ec2,clearInterval(this[_0x41b38b(0x1bc)]),this[_0x41b38b(0x1bc)]=void 0x0;break;}}_0x41b38b(0x1b9)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x1bb)),_0x41b38b(0x1ba)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x194)),_0x41b38b(0x182)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x1b6)),_0x41b38b(0x1c1)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x1c2),_0x41b38b(0x1d6)),_0x41b38b(0x1bd)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x191)),_0x41b38b(0x1d8)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x1a9)),_0x41b38b(0x1cc)==_0x2e82ec&&_0xf45fc4[_0x41b38b(0x1c5)](_0x41b38b(0x1b7));},0x3e8);}[_0x4c590b(0x186)](){const _0x1022e1=_0x4c590b;super[_0x1022e1(0x186)](),this[_0x1022e1(0x1bc)]&&clearInterval(this[_0x1022e1(0x1bc)]);}[_0x4c590b(0x1d5)](_0xd6937f){const _0x5bed97=_0x4c590b,_0x5329fc=this[_0x5bed97(0x1ae)],_0x5994d4=new _0xd6937f(_0x5329fc[_0x5bed97(0x1cf)]),_0x4799b0=_0x5329fc[_0x5bed97(0x1a7)][_0x5bed97(0x18f)](_0x5bed97(0x1b5));return _0x5994d4[_0x5bed97(0x1d4)]({'label':_0x1ffb30(_0x5329fc[_0x5bed97(0x1cf)],_0x5bed97(0x18d)),'icon':_0x209215}),_0x5994d4[_0x5bed97(0x18c)](_0x5bed97(0x199))['to'](_0x4799b0,_0x5bed97(0x19e)),this[_0x5bed97(0x187)](_0x5994d4,_0x5bed97(0x19d),()=>{const _0x4af2c4=_0x5bed97;_0x4799b0[_0x4af2c4(0x19d)]();}),_0x5994d4;}}
23
+ const _0x503ced=_0x302d;function _0x302d(_0x4dc581,_0x2ce2a5){const _0x2fede1=_0x2fed();return _0x302d=function(_0x302db1,_0x4f1489){_0x302db1=_0x302db1-0x10c;let _0x563b33=_0x2fede1[_0x302db1];return _0x563b33;},_0x302d(_0x4dc581,_0x2ce2a5);}(function(_0x11eaff,_0x4338fb){const _0xe9efe6=_0x302d,_0x178264=_0x11eaff();while(!![]){try{const _0x5c8ed2=parseInt(_0xe9efe6(0x159))/0x1+parseInt(_0xe9efe6(0x15c))/0x2+-parseInt(_0xe9efe6(0x123))/0x3*(parseInt(_0xe9efe6(0x110))/0x4)+-parseInt(_0xe9efe6(0x12c))/0x5+-parseInt(_0xe9efe6(0x13c))/0x6+-parseInt(_0xe9efe6(0x12a))/0x7+parseInt(_0xe9efe6(0x12d))/0x8;if(_0x5c8ed2===_0x4338fb)break;else _0x178264['push'](_0x178264['shift']());}catch(_0x5872ca){_0x178264['push'](_0x178264['shift']());}}}(_0x2fed,0xeaf7b));import{Plugin as _0x3ccd51}from'ckeditor5/src/core.js';import{IconAddComment as _0x49b69d}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x4df1d9}from'./commentsrepository.js';import{CommentsEditing as _0x378f51}from'./commentsediting.js';import{EditorAnnotations as _0xd81212}from'../annotations/editorannotations.js';import{ButtonView as _0x227b9e,MenuBarMenuListItemButtonView as _0x3d8315}from'ckeditor5/src/ui.js';import{Annotations as _0x89aa3f}from'../annotations/annotations.js';import{CommentsListView as _0x50743b}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x2c7499}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x413e54}from'../utils/common-translations.js';function _0x2fed(){const _0x1146ab=['tooltip','commentsLicenseKeyEvaluationLimit','change:activeAnnotations','get','comment','comment:','low','commentsLicenseKeyNotAllowed','_showLicenseError','1841872LahCZQ','getCommentThread','expired','399130cWDgAQ','domainLimit','getRange','featureNotAllowed','listenTo','view','commentsLicenseKeyValid','trialLimit','_viewToController','159708IMerqS','activeMarker','CommentsUI','locale','_licenseKeyCheckInterval','isPremiumPlugin','plugins','focus','execute','evaluationLimit','hasContent','invalid','length','addComment','add','CommentsListView','editing','innerView','CommentThreadInputView','108vKhwyl','config','focusTracker','bind','removeCommentThread','commands','Comment','9479652raGqLy','highest','6988165pthszo','33390336XVGzdO','map','licenseKey','componentFactory','commentsLicenseKeyTrialLimit','Comments','getAllMarkersForId','commentsLicenseKeyUsageLimit','model','hasCommentThread','isFocused','pluginName','menuBar:comment','from','editor','6381366VCJOqJ','commentsLicenseKeyDomainLimit','commentsLicenseKeyInvalid','find','isOfficialPlugin','stop','set','has','isEnabled','destroy','init','addSourceCollector','_createUIButton','push','requires','_threadToController','commentsLicenseKeyExpired','addCommentThread','usageLimit','hasMarkerForId'];_0x2fed=function(){return _0x1146ab;};return _0x2fed();}export class CommentsUI extends _0x3ccd51{[_0x503ced(0x12f)];[_0x503ced(0x114)];static get[_0x503ced(0x138)](){const _0x5d1678=_0x503ced;return _0x5d1678(0x112);}static get[_0x503ced(0x140)](){return!0x0;}static get[_0x503ced(0x115)](){return!0x0;}static get[_0x503ced(0x14a)](){return[_0x4df1d9,_0x378f51,_0xd81212,_0x89aa3f];}get[_0x503ced(0x11f)](){return _0x50743b;}get[_0x503ced(0x122)](){return _0x2c7499;}[_0x503ced(0x146)](){const _0x168a26=_0x503ced,_0x265841=this[_0x168a26(0x13b)],_0x585cda=_0x265841[_0x168a26(0x116)][_0x168a26(0x153)](_0x4df1d9),_0x5c811e=_0x265841[_0x168a26(0x116)][_0x168a26(0x153)](_0x378f51),_0x330b81=_0x265841[_0x168a26(0x116)][_0x168a26(0x153)](_0x89aa3f),_0xf57bbb=_0x265841[_0x168a26(0x116)][_0x168a26(0x153)](_0xd81212);_0x265841['ui'][_0x168a26(0x130)][_0x168a26(0x11e)](_0x168a26(0x154),()=>{const _0x169316=_0x168a26,_0x265fa2=this[_0x169316(0x148)](_0x227b9e);return _0x265fa2[_0x169316(0x150)]=!0x0,_0x265fa2;}),_0x265841['ui'][_0x168a26(0x130)][_0x168a26(0x11e)](_0x168a26(0x139),()=>this[_0x168a26(0x148)](_0x3d8315)),_0xf57bbb[_0x168a26(0x147)](()=>{const _0x459ffd=_0x168a26,_0x296188=[];for(const [_0x5f3400,_0x5365fc]of _0x585cda[_0x459ffd(0x14b)]){const _0x376d4b=_0x5c811e[_0x459ffd(0x133)](_0x5f3400['id']),_0x31b1cd=_0x376d4b[_0x459ffd(0x12e)](_0xa16ce=>_0xa16ce[_0x459ffd(0x15e)]());_0x376d4b[_0x459ffd(0x11c)]>0x0&&_0x296188[_0x459ffd(0x149)]([_0x5365fc[_0x459ffd(0x10c)],_0x31b1cd]);}return _0x296188;}),this[_0x168a26(0x160)](_0x330b81,_0x168a26(0x152),(_0x1672c1,_0x21a51f,_0x51c72a)=>{const _0x12c290=_0x168a26,_0x328381=Array[_0x12c290(0x13a)](_0x51c72a)[_0x12c290(0x12e)](_0x30cc15=>_0x30cc15[_0x12c290(0x121)])[_0x12c290(0x13f)](_0x69068=>_0x585cda[_0x12c290(0x10f)][_0x12c290(0x143)](_0x69068));if(!_0x328381)return void(_0x5c811e[_0x12c290(0x111)]=null);const _0x486e8d=_0x585cda[_0x12c290(0x10f)][_0x12c290(0x153)](_0x328381)[_0x12c290(0x135)]['id'],_0x4de9b7=_0x12c290(0x155)+_0x486e8d;_0x486e8d&&_0x5c811e[_0x12c290(0x14f)](_0x486e8d)?_0x5c811e[_0x12c290(0x111)]=_0x4de9b7:_0x5c811e[_0x12c290(0x111)]&&(_0x5c811e[_0x12c290(0x111)]=null);}),this[_0x168a26(0x160)](_0x585cda,_0x168a26(0x127),(_0x266dc1,{threadId:_0x514fb7,isFromAdapter:_0x21e55e})=>{const _0x4d5dc7=_0x168a26;!_0x21e55e&&_0x265841['ui'][_0x4d5dc7(0x125)][_0x4d5dc7(0x137)]&&_0x5c811e[_0x4d5dc7(0x14f)](_0x514fb7)&&_0x265841[_0x4d5dc7(0x120)][_0x4d5dc7(0x10c)][_0x4d5dc7(0x117)]();},{'priority':_0x168a26(0x12b)}),this[_0x168a26(0x160)](_0x585cda,_0x168a26(0x11d),(_0x5670b7,{threadId:_0x253f87,isFromAdapter:_0x19207b})=>{const _0x41d194=_0x168a26;if(_0x19207b||!_0x5c811e[_0x41d194(0x14f)](_0x253f87)||!_0x585cda[_0x41d194(0x136)](_0x253f87))return;0x1===_0x585cda[_0x41d194(0x15a)](_0x253f87)[_0x41d194(0x11c)]&&(_0x265841[_0x41d194(0x120)][_0x41d194(0x10c)][_0x41d194(0x117)](),_0x5670b7[_0x41d194(0x141)]());},{'priority':_0x168a26(0x156)}),this[_0x168a26(0x12f)]=this[_0x168a26(0x13b)][_0x168a26(0x124)][_0x168a26(0x153)](_0x168a26(0x12f));const _0x1a8a42=this[_0x168a26(0x13b)];this[_0x168a26(0x114)]=setInterval(()=>{const _0xf3fb20=_0x168a26;let _0x5df353;for(const _0x49787a in _0x1a8a42){const _0x17d0ac=_0x49787a,_0x352ad1=_0x1a8a42[_0x17d0ac];if(_0xf3fb20(0x10d)==_0x352ad1||_0xf3fb20(0x13e)==_0x352ad1||_0xf3fb20(0x14c)==_0x352ad1||_0xf3fb20(0x13d)==_0x352ad1||_0xf3fb20(0x157)==_0x352ad1||_0xf3fb20(0x151)==_0x352ad1||_0xf3fb20(0x131)==_0x352ad1||_0xf3fb20(0x134)==_0x352ad1){delete _0x1a8a42[_0x17d0ac],_0x5df353=_0x352ad1,clearInterval(this[_0xf3fb20(0x114)]),this[_0xf3fb20(0x114)]=void 0x0;break;}}_0xf3fb20(0x13e)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x11b)),_0xf3fb20(0x14c)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x15b)),_0xf3fb20(0x13d)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x15d)),_0xf3fb20(0x157)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x15f),_0xf3fb20(0x132)),_0xf3fb20(0x151)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x119)),_0xf3fb20(0x131)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x10e)),_0xf3fb20(0x134)==_0x5df353&&_0x1a8a42[_0xf3fb20(0x158)](_0xf3fb20(0x14e));},0x3e8);}[_0x503ced(0x145)](){const _0x33f6ad=_0x503ced;super[_0x33f6ad(0x145)](),this[_0x33f6ad(0x114)]&&clearInterval(this[_0x33f6ad(0x114)]);}[_0x503ced(0x148)](_0x2881cf){const _0x304d19=_0x503ced,_0x41911c=this[_0x304d19(0x13b)],_0x389206=new _0x2881cf(_0x41911c[_0x304d19(0x113)]),_0x126993=_0x41911c[_0x304d19(0x128)][_0x304d19(0x153)](_0x304d19(0x14d));return _0x389206[_0x304d19(0x142)]({'label':_0x413e54(_0x41911c[_0x304d19(0x113)],_0x304d19(0x129)),'icon':_0x49b69d}),_0x389206[_0x304d19(0x126)](_0x304d19(0x144))['to'](_0x126993,_0x304d19(0x11a)),this[_0x304d19(0x160)](_0x389206,_0x304d19(0x118),()=>{const _0x4a959b=_0x304d19;_0x126993[_0x4a959b(0x118)]();}),_0x389206;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x107a3f=_0x58d2;(function(_0x512587,_0x216a89){const _0x29c59e=_0x58d2,_0x24f003=_0x512587();while(!![]){try{const _0x164aef=-parseInt(_0x29c59e(0xd1))/0x1+-parseInt(_0x29c59e(0xdf))/0x2*(parseInt(_0x29c59e(0xce))/0x3)+parseInt(_0x29c59e(0xdb))/0x4+-parseInt(_0x29c59e(0xe1))/0x5+parseInt(_0x29c59e(0xca))/0x6*(-parseInt(_0x29c59e(0xd6))/0x7)+parseInt(_0x29c59e(0xd5))/0x8+parseInt(_0x29c59e(0xdd))/0x9;if(_0x164aef===_0x216a89)break;else _0x24f003['push'](_0x24f003['shift']());}catch(_0x174824){_0x24f003['push'](_0x24f003['shift']());}}}(_0x2583,0xc1087));import{Plugin as _0x10a27f}from'ckeditor5/src/core.js';function _0x2583(){const _0xd2fb51=['4997248HKfckk','execute','15855804QhfLwp','addCommentThread','46gUwUBy','basic','4350830VffIWM','afterInit','high','dataInsert','collaboration.channelId','collaboration_features','2090544JISCUx','importWord.formatting.comments','config','importWord','131739OIcyFi','plugins','map','261634Uachhy','forEach','listenTo','_handleImportedData','4945936BzETOm','14CxyIzV','define','get','commands','editor'];_0x2583=function(){return _0xd2fb51;};return _0x2583();}function _0x58d2(_0x13f306,_0x4cc383){const _0x258360=_0x2583();return _0x58d2=function(_0x58d2d9,_0x50efe5){_0x58d2d9=_0x58d2d9-0xc7;let _0xef8f41=_0x258360[_0x58d2d9];return _0xef8f41;},_0x58d2(_0x13f306,_0x4cc383);}import{priorities as _0x3895af}from'ckeditor5/src/utils.js';import{Users as _0x1c6eab}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x33c18c}from'../commentsrepository.js';export class CommentsImportWord extends _0x10a27f{constructor(_0x248b75){const _0x1ff445=_0x58d2;super(_0x248b75),this[_0x1ff445(0xda)][_0x1ff445(0xcc)][_0x1ff445(0xd7)](_0x1ff445(0xcb),_0x1ff445(0xe0));}[_0x107a3f(0xe2)](){const _0x502bd7=_0x107a3f,_0x4fc860=this[_0x502bd7(0xda)],_0x5d6023=_0x4fc860[_0x502bd7(0xd9)][_0x502bd7(0xd8)](_0x502bd7(0xcd)),_0x1ec5a6=_0x4fc860[_0x502bd7(0xcf)][_0x502bd7(0xd8)](_0x1c6eab);_0x5d6023&&(_0x5d6023['on'](_0x502bd7(0xdc),(_0x50559a,[,_0x56b1e8])=>{const _0x1cc660=_0x502bd7;_0x56b1e8[_0x1cc660(0xc9)]={'comments':!0x0,'user_id':_0x1ec5a6['me']['id']};},{'priority':_0x3895af[_0x502bd7(0xe3)]+0xa}),this[_0x502bd7(0xd3)](_0x5d6023,_0x502bd7(0xc7),this[_0x502bd7(0xd4)]));}[_0x107a3f(0xd4)](_0x39282b,_0x3725ad){const _0x5d519d=_0x107a3f,{comment_threads:_0x9c1c5d}=_0x3725ad;_0x9c1c5d&&_0x9c1c5d[_0x5d519d(0xd2)](({thread_id:_0x2331f8,comments:_0x3142bc,is_resolved:_0x948613})=>{const _0x3be457=_0x5d519d,_0x3f7f35=new Date(),_0x51d0a8=_0x3142bc[_0x3be457(0xd0)](({author:_0x4b57fd,content:_0x5a8e71,created_at:_0x48c7af})=>({'content':_0x5a8e71,'authorId':this[_0x3be457(0xda)][_0x3be457(0xcf)][_0x3be457(0xd8)](_0x1c6eab)['me']['id'],'createdAt':_0x3f7f35,'attributes':{'@external':{'authorName':_0x4b57fd,'createdAt':_0x48c7af?new Date(_0x48c7af):new Date(),'source':_0x3be457(0xcd)}}})),_0x5d59d4=this[_0x3be457(0xda)][_0x3be457(0xcc)][_0x3be457(0xd8)](_0x3be457(0xc8));this[_0x3be457(0xda)][_0x3be457(0xcf)][_0x3be457(0xd8)](_0x33c18c)[_0x3be457(0xde)]({'channelId':_0x5d59d4,'threadId':_0x2331f8,'comments':_0x51d0a8,'resolvedAt':_0x948613?_0x3f7f35:null});});}}
23
+ const _0x236c65=_0x15e7;(function(_0x68228c,_0x37f0e6){const _0x3a0cbf=_0x15e7,_0x220de9=_0x68228c();while(!![]){try{const _0x34acf9=-parseInt(_0x3a0cbf(0x15e))/0x1*(-parseInt(_0x3a0cbf(0x15c))/0x2)+-parseInt(_0x3a0cbf(0x15b))/0x3*(-parseInt(_0x3a0cbf(0x156))/0x4)+parseInt(_0x3a0cbf(0x149))/0x5*(-parseInt(_0x3a0cbf(0x14e))/0x6)+parseInt(_0x3a0cbf(0x158))/0x7*(-parseInt(_0x3a0cbf(0x144))/0x8)+parseInt(_0x3a0cbf(0x147))/0x9+parseInt(_0x3a0cbf(0x154))/0xa+parseInt(_0x3a0cbf(0x15a))/0xb*(parseInt(_0x3a0cbf(0x15f))/0xc);if(_0x34acf9===_0x37f0e6)break;else _0x220de9['push'](_0x220de9['shift']());}catch(_0x1c2fb8){_0x220de9['push'](_0x220de9['shift']());}}}(_0x2981,0xa09f9));function _0x2981(){const _0x46b08b=['3557322PbLUHM','addCommentThread','10ykXoul','execute','collaboration_features','importWord','collaboration.channelId','2445762asyUZt','forEach','basic','commands','afterInit','editor','4155610FJuZGJ','_handleImportedData','952Wditrj','high','470463wOyBEW','dataInsert','140657jgQiMV','11577HlVnBM','2ekAbUK','listenTo','390731FvHXHM','276HjFtCw','get','plugins','importWord.formatting.comments','config','112ZRUnQi','map','define'];_0x2981=function(){return _0x46b08b;};return _0x2981();}import{Plugin as _0x5399d4}from'ckeditor5/src/core.js';function _0x15e7(_0xca5ab2,_0x168d67){const _0x29810b=_0x2981();return _0x15e7=function(_0x15e798,_0x54b922){_0x15e798=_0x15e798-0x144;let _0x2f1dc4=_0x29810b[_0x15e798];return _0x2f1dc4;},_0x15e7(_0xca5ab2,_0x168d67);}import{priorities as _0x794384}from'ckeditor5/src/utils.js';import{Users as _0x1b7d31}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsRepository as _0x51f022}from'../commentsrepository.js';export class CommentsImportWord extends _0x5399d4{constructor(_0x191b43){const _0x45b299=_0x15e7;super(_0x191b43),this[_0x45b299(0x153)][_0x45b299(0x163)][_0x45b299(0x146)](_0x45b299(0x162),_0x45b299(0x150));}[_0x236c65(0x152)](){const _0x9e0605=_0x236c65,_0x3c7bf8=this[_0x9e0605(0x153)],_0x3c3481=_0x3c7bf8[_0x9e0605(0x151)][_0x9e0605(0x160)](_0x9e0605(0x14c)),_0x2635a9=_0x3c7bf8[_0x9e0605(0x161)][_0x9e0605(0x160)](_0x1b7d31);_0x3c3481&&(_0x3c3481['on'](_0x9e0605(0x14a),(_0x356903,[,_0x59a07f])=>{const _0x70bc57=_0x9e0605;_0x59a07f[_0x70bc57(0x14b)]={'comments':!0x0,'user_id':_0x2635a9['me']['id']};},{'priority':_0x794384[_0x9e0605(0x157)]+0xa}),this[_0x9e0605(0x15d)](_0x3c3481,_0x9e0605(0x159),this[_0x9e0605(0x155)]));}[_0x236c65(0x155)](_0x4dbc62,_0x2eb305){const _0x38debc=_0x236c65,{comment_threads:_0xdb4297}=_0x2eb305;_0xdb4297&&_0xdb4297[_0x38debc(0x14f)](({thread_id:_0x5427ca,comments:_0x17c594,is_resolved:_0x217466})=>{const _0x56d484=_0x38debc,_0x2a099=new Date(),_0x1422fc=_0x17c594[_0x56d484(0x145)](({author:_0x191597,content:_0x5c8082,created_at:_0x3c0b46})=>({'content':_0x5c8082,'authorId':this[_0x56d484(0x153)][_0x56d484(0x161)][_0x56d484(0x160)](_0x1b7d31)['me']['id'],'createdAt':_0x2a099,'attributes':{'@external':{'authorName':_0x191597,'createdAt':_0x3c0b46?new Date(_0x3c0b46):new Date(),'source':_0x56d484(0x14c)}}})),_0x5e7e4d=this[_0x56d484(0x153)][_0x56d484(0x163)][_0x56d484(0x160)](_0x56d484(0x14d));this[_0x56d484(0x153)][_0x56d484(0x161)][_0x56d484(0x160)](_0x51f022)[_0x56d484(0x148)]({'channelId':_0x5e7e4d,'threadId':_0x5427ca,'comments':_0x1422fc,'resolvedAt':_0x217466?_0x2a099:null});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x124a57=_0x3b48;(function(_0x226390,_0x1cb535){const _0x1a1398=_0x3b48,_0xe07bde=_0x226390();while(!![]){try{const _0x428cec=parseInt(_0x1a1398(0x114))/0x1+-parseInt(_0x1a1398(0x10c))/0x2*(parseInt(_0x1a1398(0x10d))/0x3)+-parseInt(_0x1a1398(0xe8))/0x4+-parseInt(_0x1a1398(0x109))/0x5+-parseInt(_0x1a1398(0xd7))/0x6*(parseInt(_0x1a1398(0xe3))/0x7)+parseInt(_0x1a1398(0xf4))/0x8+parseInt(_0x1a1398(0x100))/0x9;if(_0x428cec===_0x1cb535)break;else _0xe07bde['push'](_0xe07bde['shift']());}catch(_0x1525a8){_0xe07bde['push'](_0xe07bde['shift']());}}}(_0x5d30,0x97a67));import{Plugin as _0xa18387}from'ckeditor5/src/core.js';function _0x5d30(){const _0x423598=['data','comment','schema','stop','showCommentHighlights','imageInline','elementToStructure','item','overrideHorizontalRuleConverter','18853317ooCxhJ','widget','consumable','containerElement','createContainerElement','media','div','conversion','mapper','3113255flVvWL','addClass','init','2wdJRKV','942231apioee','isObject','high','isResolved','ck-horizontal-line','for','elementToElement','1154091jMILYF','markerToHighlight','span','insert','18nZClme','plugins','toViewElement','editor','horizontalLine','markerName','consume','overrideMarkerConverters','dataDowncast','overrideMediaEmbedConverter','ignoreResolvedComments','add','1969576AyeTQz','options','writer','createPositionAt','addMarker:comment','4139120SjGyuI','img','attribute:url:media','getCommentThread','ck-comment-marker','createEmptyElement','getCustomProperty','get','downcastDispatcher','addMarker:','removeMarker:','overrideImageInlineConverter','1502936hlDkNC','image-inline','model'];_0x5d30=function(){return _0x423598;};return _0x5d30();}import{toWidget as _0x16f8e4}from'ckeditor5/src/widget.js';function _0x3b48(_0x11c6d1,_0x13a568){const _0x5d305e=_0x5d30();return _0x3b48=function(_0x3b4887,_0x26beda){_0x3b4887=_0x3b4887-0xd6;let _0xa2f41b=_0x5d305e[_0x3b4887];return _0xa2f41b;},_0x3b48(_0x11c6d1,_0x13a568);}import{splitMarkerName as _0x16c6fb}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x42dd1f}from'../commentsrepository.js';export class ShowCommentHighlights extends _0xa18387{[_0x124a57(0x10b)](){const _0xb5fc99=_0x124a57;this[_0xb5fc99(0xde)](),this[_0xb5fc99(0xff)](),this[_0xb5fc99(0xf3)](),this[_0xb5fc99(0xe0)]();}[_0x124a57(0xde)](){const _0x31edf0=_0x124a57;this[_0x31edf0(0xda)][_0x31edf0(0x107)][_0x31edf0(0x112)](_0x31edf0(0xdf))[_0x31edf0(0x115)]({'model':_0x31edf0(0xf8),'view':(_0x452954,_0x1bb38a)=>{const _0x462b67=_0x31edf0;if(!_0x1bb38a[_0x462b67(0xe4)][_0x462b67(0xfb)])return null;if(_0x1bb38a[_0x462b67(0xe4)][_0x462b67(0xe1)]){const {id:_0x442867}=_0x16c6fb(_0x452954[_0x462b67(0xdc)]),_0x4fc190=this[_0x462b67(0xda)][_0x462b67(0xd8)][_0x462b67(0xef)](_0x42dd1f);if(_0x4fc190[_0x462b67(0xeb)](_0x442867)?.[_0x462b67(0x110)]&&_0x452954[_0x462b67(0xfe)])return _0x1bb38a[_0x462b67(0x102)][_0x462b67(0xdd)](_0x452954[_0x462b67(0xfe)],_0x462b67(0xf1)+_0x452954[_0x462b67(0xdc)]),_0x1bb38a[_0x462b67(0x102)][_0x462b67(0xdd)](_0x452954[_0x462b67(0xfe)],_0x462b67(0xf2)+_0x452954[_0x462b67(0xdc)]),null;}return{'classes':[_0x462b67(0xec)]};}}),this[_0x31edf0(0xda)][_0x31edf0(0x107)][_0x31edf0(0x112)](_0x31edf0(0xdf))[_0x31edf0(0xe2)](_0x20c193=>{const _0x58876a=_0x31edf0;_0x20c193['on'](_0x58876a(0xe7),(_0x435409,_0x34284c,_0x3186e3)=>{const _0x20b9df=_0x58876a;if(!_0x3186e3[_0x20b9df(0xe4)][_0x20b9df(0xfb)])return;const _0x1aaebd=_0x34284c[_0x20b9df(0xfe)];if(!_0x1aaebd)return;const _0x2e85a4=_0x3186e3[_0x20b9df(0x108)][_0x20b9df(0xd9)](_0x1aaebd);this[_0x20b9df(0xda)][_0x20b9df(0xf6)][_0x20b9df(0xf9)][_0x20b9df(0x10e)](_0x1aaebd)&&_0x2e85a4&&!_0x2e85a4[_0x20b9df(0xee)](_0x20b9df(0x101))&&_0x2e85a4['is'](_0x20b9df(0x103))&&_0x16f8e4(_0x2e85a4,_0x3186e3[_0x20b9df(0xe5)]);},{'priority':_0x58876a(0x10f)});});}[_0x124a57(0xff)](){const _0x2b7c3d=_0x124a57;this[_0x2b7c3d(0xda)][_0x2b7c3d(0x107)][_0x2b7c3d(0x112)](_0x2b7c3d(0xdf))[_0x2b7c3d(0xfd)]({'model':_0x2b7c3d(0xdb),'view':(_0x419269,{writer:_0x573ea1,options:_0x22bb32})=>{const _0x2bfe45=_0x2b7c3d;if(!_0x22bb32[_0x2bfe45(0xfb)])return null;const _0x39114e=_0x573ea1[_0x2bfe45(0x104)](_0x2bfe45(0x106)),_0x336581=_0x573ea1[_0x2bfe45(0xed)]('hr');return _0x573ea1[_0x2bfe45(0x10a)](_0x2bfe45(0x111),_0x39114e),_0x573ea1[_0x2bfe45(0xd6)](_0x573ea1[_0x2bfe45(0xe6)](_0x39114e,0x0),_0x336581),_0x39114e;},'converterPriority':_0x2b7c3d(0x10f)});}[_0x124a57(0xf3)](){const _0x3c74dd=_0x124a57;this[_0x3c74dd(0xda)][_0x3c74dd(0x107)][_0x3c74dd(0x112)](_0x3c74dd(0xdf))[_0x3c74dd(0xfd)]({'model':_0x3c74dd(0xfc),'view':(_0x3bcc13,{writer:_0x4564e7,options:_0x36aeef})=>{const _0x4f7ce7=_0x3c74dd;if(!_0x36aeef[_0x4f7ce7(0xfb)])return null;const _0x425c2c=_0x4564e7[_0x4f7ce7(0x104)](_0x4f7ce7(0x116)),_0x54ebee=_0x4564e7[_0x4f7ce7(0xed)](_0x4f7ce7(0xe9));return _0x4564e7[_0x4f7ce7(0x10a)](_0x4f7ce7(0xf5),_0x425c2c),_0x4564e7[_0x4f7ce7(0xd6)](_0x4564e7[_0x4f7ce7(0xe6)](_0x425c2c,0x0),_0x54ebee),_0x425c2c;},'converterPriority':_0x3c74dd(0x10f)});}[_0x124a57(0xe0)](){const _0x3b8446=_0x124a57;this[_0x3b8446(0xda)][_0x3b8446(0x107)][_0x3b8446(0x112)](_0x3b8446(0xdf))[_0x3b8446(0x113)]({'model':_0x3b8446(0x105),'view':(_0x5bf869,{writer:_0xb53d19,options:_0x324457})=>{const _0x459cfe=_0x3b8446;if(_0x324457[_0x459cfe(0xfb)])return _0xb53d19[_0x459cfe(0xed)](_0x459cfe(0x106));},'converterPriority':_0x3b8446(0x10f)}),this[_0x3b8446(0xda)][_0x3b8446(0xf7)][_0x3b8446(0xf0)]['on'](_0x3b8446(0xea),(_0x85bec6,_0x31378b,_0x155fa9)=>{const _0x320a09=_0x3b8446;_0x155fa9[_0x320a09(0xe4)][_0x320a09(0xfb)]&&_0x85bec6[_0x320a09(0xfa)]();},{'priority':_0x3b8446(0x10f)});}}
23
+ const _0x1d6f6e=_0x183a;(function(_0x2cb02e,_0x49c01e){const _0x388899=_0x183a,_0x4f4e92=_0x2cb02e();while(!![]){try{const _0x30e30f=parseInt(_0x388899(0xa9))/0x1*(parseInt(_0x388899(0x7a))/0x2)+parseInt(_0x388899(0x9f))/0x3+-parseInt(_0x388899(0xbc))/0x4*(parseInt(_0x388899(0xb1))/0x5)+-parseInt(_0x388899(0xb4))/0x6*(parseInt(_0x388899(0x81))/0x7)+parseInt(_0x388899(0xae))/0x8+-parseInt(_0x388899(0x93))/0x9+-parseInt(_0x388899(0x9a))/0xa*(-parseInt(_0x388899(0x89))/0xb);if(_0x30e30f===_0x49c01e)break;else _0x4f4e92['push'](_0x4f4e92['shift']());}catch(_0x1ad482){_0x4f4e92['push'](_0x4f4e92['shift']());}}}(_0x4f4b,0x5e62a));import{Plugin as _0x388e2f}from'ckeditor5/src/core.js';import{toWidget as _0x4a8f9e}from'ckeditor5/src/widget.js';function _0x4f4b(){const _0x2328d3=['createPositionAt','div','downcastDispatcher','43190iVtPCq','for','dataDowncast','elementToStructure','stop','938262hKRczC','conversion','imageInline','markerName','addMarker:comment','getCustomProperty','schema','mapper','addMarker:','init','1PWdHgq','horizontalLine','createEmptyElement','ck-comment-marker','comment','189248MJRHTU','isObject','ignoreResolvedComments','5DUouKf','consumable','insert','6LRkmqc','editor','consume','high','overrideMediaEmbedConverter','writer','options','ck-horizontal-line','2977716bAcybv','1108670nTfLsO','data','overrideMarkerConverters','overrideImageInlineConverter','overrideHorizontalRuleConverter','model','widget','677733njBelQ','attribute:url:media','img','item','addClass','elementToElement','createContainerElement','toViewElement','1045Duaukc','plugins','getCommentThread','span','markerToHighlight','containerElement','showCommentHighlights','isResolved','add','media','658800ZSwAEa','removeMarker:','get','image-inline'];_0x4f4b=function(){return _0x2328d3;};return _0x4f4b();}function _0x183a(_0x508e04,_0x4104c6){const _0x4f4b1a=_0x4f4b();return _0x183a=function(_0x183aff,_0x1090d9){_0x183aff=_0x183aff-0x7a;let _0x53981d=_0x4f4b1a[_0x183aff];return _0x53981d;},_0x183a(_0x508e04,_0x4104c6);}import{splitMarkerName as _0x1bdef1}from'../../utils/splitmarkername.js';import{CommentsRepository as _0x155d70}from'../commentsrepository.js';export class ShowCommentHighlights extends _0x388e2f{[_0x1d6f6e(0xa8)](){const _0x4e43bb=_0x1d6f6e;this[_0x4e43bb(0x7c)](),this[_0x4e43bb(0x7e)](),this[_0x4e43bb(0x7d)](),this[_0x4e43bb(0xb8)]();}[_0x1d6f6e(0x7c)](){const _0x50697e=_0x1d6f6e;this[_0x50697e(0xb5)][_0x50697e(0xa0)][_0x50697e(0x9b)](_0x50697e(0x9c))[_0x50697e(0x8d)]({'model':_0x50697e(0xad),'view':(_0x588258,_0x3d5225)=>{const _0x1c68ef=_0x50697e;if(!_0x3d5225[_0x1c68ef(0xba)][_0x1c68ef(0x8f)])return null;if(_0x3d5225[_0x1c68ef(0xba)][_0x1c68ef(0xb0)]){const {id:_0x26cff0}=_0x1bdef1(_0x588258[_0x1c68ef(0xa2)]),_0x1ac1cd=this[_0x1c68ef(0xb5)][_0x1c68ef(0x8a)][_0x1c68ef(0x95)](_0x155d70);if(_0x1ac1cd[_0x1c68ef(0x8b)](_0x26cff0)?.[_0x1c68ef(0x90)]&&_0x588258[_0x1c68ef(0x84)])return _0x3d5225[_0x1c68ef(0xb2)][_0x1c68ef(0xb6)](_0x588258[_0x1c68ef(0x84)],_0x1c68ef(0xa7)+_0x588258[_0x1c68ef(0xa2)]),_0x3d5225[_0x1c68ef(0xb2)][_0x1c68ef(0xb6)](_0x588258[_0x1c68ef(0x84)],_0x1c68ef(0x94)+_0x588258[_0x1c68ef(0xa2)]),null;}return{'classes':[_0x1c68ef(0xac)]};}}),this[_0x50697e(0xb5)][_0x50697e(0xa0)][_0x50697e(0x9b)](_0x50697e(0x9c))[_0x50697e(0x91)](_0x1d7bec=>{const _0x3b85db=_0x50697e;_0x1d7bec['on'](_0x3b85db(0xa3),(_0x56f20f,_0x5a1b38,_0x5ed492)=>{const _0x4cbc96=_0x3b85db;if(!_0x5ed492[_0x4cbc96(0xba)][_0x4cbc96(0x8f)])return;const _0x41b44c=_0x5a1b38[_0x4cbc96(0x84)];if(!_0x41b44c)return;const _0x5848c5=_0x5ed492[_0x4cbc96(0xa6)][_0x4cbc96(0x88)](_0x41b44c);this[_0x4cbc96(0xb5)][_0x4cbc96(0x7f)][_0x4cbc96(0xa5)][_0x4cbc96(0xaf)](_0x41b44c)&&_0x5848c5&&!_0x5848c5[_0x4cbc96(0xa4)](_0x4cbc96(0x80))&&_0x5848c5['is'](_0x4cbc96(0x8e))&&_0x4a8f9e(_0x5848c5,_0x5ed492[_0x4cbc96(0xb9)]);},{'priority':_0x3b85db(0xb7)});});}[_0x1d6f6e(0x7e)](){const _0x3ba757=_0x1d6f6e;this[_0x3ba757(0xb5)][_0x3ba757(0xa0)][_0x3ba757(0x9b)](_0x3ba757(0x9c))[_0x3ba757(0x9d)]({'model':_0x3ba757(0xaa),'view':(_0x21cb69,{writer:_0x4461bd,options:_0x1f461a})=>{const _0x32b6dd=_0x3ba757;if(!_0x1f461a[_0x32b6dd(0x8f)])return null;const _0x32998c=_0x4461bd[_0x32b6dd(0x87)](_0x32b6dd(0x98)),_0x496ad0=_0x4461bd[_0x32b6dd(0xab)]('hr');return _0x4461bd[_0x32b6dd(0x85)](_0x32b6dd(0xbb),_0x32998c),_0x4461bd[_0x32b6dd(0xb3)](_0x4461bd[_0x32b6dd(0x97)](_0x32998c,0x0),_0x496ad0),_0x32998c;},'converterPriority':_0x3ba757(0xb7)});}[_0x1d6f6e(0x7d)](){const _0x2f2114=_0x1d6f6e;this[_0x2f2114(0xb5)][_0x2f2114(0xa0)][_0x2f2114(0x9b)](_0x2f2114(0x9c))[_0x2f2114(0x9d)]({'model':_0x2f2114(0xa1),'view':(_0x5933f0,{writer:_0x40c828,options:_0x27d85a})=>{const _0x538e03=_0x2f2114;if(!_0x27d85a[_0x538e03(0x8f)])return null;const _0x4c56a1=_0x40c828[_0x538e03(0x87)](_0x538e03(0x8c)),_0x25e834=_0x40c828[_0x538e03(0xab)](_0x538e03(0x83));return _0x40c828[_0x538e03(0x85)](_0x538e03(0x96),_0x4c56a1),_0x40c828[_0x538e03(0xb3)](_0x40c828[_0x538e03(0x97)](_0x4c56a1,0x0),_0x25e834),_0x4c56a1;},'converterPriority':_0x2f2114(0xb7)});}[_0x1d6f6e(0xb8)](){const _0x4f5661=_0x1d6f6e;this[_0x4f5661(0xb5)][_0x4f5661(0xa0)][_0x4f5661(0x9b)](_0x4f5661(0x9c))[_0x4f5661(0x86)]({'model':_0x4f5661(0x92),'view':(_0x20b1d3,{writer:_0xabd369,options:_0x1222fe})=>{const _0x4414a0=_0x4f5661;if(_0x1222fe[_0x4414a0(0x8f)])return _0xabd369[_0x4414a0(0xab)](_0x4414a0(0x98));},'converterPriority':_0x4f5661(0xb7)}),this[_0x4f5661(0xb5)][_0x4f5661(0x7b)][_0x4f5661(0x99)]['on'](_0x4f5661(0x82),(_0x1116b9,_0x1971ad,_0x4b61f4)=>{const _0xfa4df1=_0x4f5661;_0x4b61f4[_0xfa4df1(0xba)][_0xfa4df1(0x8f)]&&_0x1116b9[_0xfa4df1(0x9e)]();},{'priority':_0x4f5661(0xb7)});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x23d3(_0x370ec8,_0x6e34c4){const _0x248fe2=_0x248f();return _0x23d3=function(_0x23d36f,_0x35ecc3){_0x23d36f=_0x23d36f-0x12d;let _0x17fdf1=_0x248fe2[_0x23d36f];return _0x17fdf1;},_0x23d3(_0x370ec8,_0x6e34c4);}const _0x2e744f=_0x23d3;(function(_0x12211f,_0x298f39){const _0x5b0a87=_0x23d3,_0x3b80ba=_0x12211f();while(!![]){try{const _0x26ffbb=parseInt(_0x5b0a87(0x13a))/0x1+parseInt(_0x5b0a87(0x132))/0x2+parseInt(_0x5b0a87(0x148))/0x3*(-parseInt(_0x5b0a87(0x136))/0x4)+parseInt(_0x5b0a87(0x141))/0x5+-parseInt(_0x5b0a87(0x150))/0x6*(parseInt(_0x5b0a87(0x13d))/0x7)+parseInt(_0x5b0a87(0x147))/0x8+parseInt(_0x5b0a87(0x158))/0x9*(parseInt(_0x5b0a87(0x149))/0xa);if(_0x26ffbb===_0x298f39)break;else _0x3b80ba['push'](_0x3b80ba['shift']());}catch(_0x4c0c21){_0x3b80ba['push'](_0x3b80ba['shift']());}}}(_0x248f,0x61322));import{Editor as _0x3bbe71}from'ckeditor5/src/core.js';import{CommentEditorUI as _0x228acc}from'./commenteditorui.js';import{ObservableMixin as _0x20635b}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x1700bc,disableViewPlaceholder as _0x83564}from'ckeditor5/src/engine.js';import{Clipboard as _0x4b1e23}from'ckeditor5/src/clipboard.js';import{Enter as _0x1d761d,ShiftEnter as _0x35ee74}from'ckeditor5/src/enter.js';import{SelectAll as _0x455870}from'ckeditor5/src/select-all.js';import{Typing as _0x1edb23}from'ckeditor5/src/typing.js';import{Undo as _0x4bc2e1}from'ckeditor5/src/undo.js';import{Paragraph as _0x48c3a3}from'ckeditor5/src/paragraph.js';function _0x248f(){const _0x4b1479=['focus','945195IiwObe','destroy','change','setSelection','defaultPlugins','fromCharCode','651728xjBVfp','2177097cSMLhL','471520GuxPeS','plugins','getChild','ready','placeholder','_updatePlaceholder','placeholderElement','336cARkRh','initialData','then','set','model','init','name','create','144XmkPKF','editing','fire','end','getRoot','low','map','assign','334892jPYSLZ','join','change:placeholder','view','4OXbgWR','document','initPlugins','config','553366jEIjfk','childCount','createRoot','77742ytupUg','get','data'];_0x248f=function(){return _0x4b1479;};return _0x248f();}const Qt=[_0x4b1e23,_0x1d761d,_0x35ee74,_0x455870,_0x1edb23,_0x4bc2e1,_0x48c3a3];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
- _0x20635b(_0x3bbe71){static [_0x2e744f(0x145)]=((()=>Qt)());constructor(_0x3d3cbb={}){const _0x4c24ff=_0x2e744f;function _0x3fb22f(_0x2cfe5c){const _0x1d0916=_0x23d3;return _0x2cfe5c[_0x1d0916(0x130)](_0x4c2089=>String[_0x1d0916(0x146)](_0x4c2089))[_0x1d0916(0x133)]('');}(_0x3d3cbb=Object[_0x4c24ff(0x131)]({},_0x3d3cbb))[_0x4c24ff(0x14a)]||(_0x3d3cbb[_0x4c24ff(0x14a)]=CommentEditor[_0x4c24ff(0x145)]),super(_0x3d3cbb),this['ui']=new _0x228acc(this),this[_0x4c24ff(0x153)](_0x4c24ff(0x14d),''),this[_0x4c24ff(0x154)][_0x4c24ff(0x137)]['on'](_0x4c24ff(0x143),()=>this[_0x4c24ff(0x14e)](),{'priority':_0x4c24ff(0x12f)}),this['on'](_0x4c24ff(0x134),()=>this[_0x4c24ff(0x14e)]()),this[_0x4c24ff(0x154)][_0x4c24ff(0x137)][_0x4c24ff(0x13c)](),this[_0x3fb22f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3fb22f([0x76,0x69,0x65,0x77])][_0x3fb22f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3fb22f([0x61,0x75,0x74,0x6f]),this[_0x3fb22f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x3fb22f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3fb22f([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x3fb22f([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x3fb22f([0x6f,0x6b])});}[_0x2e744f(0x157)](){const _0x49e53d=_0x2e744f,_0x2b1d56=this[_0x49e53d(0x139)][_0x49e53d(0x13e)](_0x49e53d(0x151))||'';return this[_0x49e53d(0x138)]()[_0x49e53d(0x152)](()=>this['ui'][_0x49e53d(0x155)]())[_0x49e53d(0x152)](()=>this[_0x49e53d(0x13f)][_0x49e53d(0x155)](_0x2b1d56))[_0x49e53d(0x152)](()=>this[_0x49e53d(0x15a)](_0x49e53d(0x14c)));}[_0x2e744f(0x142)](){const _0x46df8c=_0x2e744f;return super[_0x46df8c(0x142)]()[_0x46df8c(0x152)](()=>this['ui'][_0x46df8c(0x142)]());}[_0x2e744f(0x140)](){const _0x43df53=_0x2e744f;this[_0x43df53(0x154)][_0x43df53(0x143)](_0x4cfcd2=>{const _0x483d38=_0x43df53,_0x5123bf=this[_0x483d38(0x154)][_0x483d38(0x137)][_0x483d38(0x12e)](),_0x352cca=_0x5123bf&&_0x5123bf[_0x483d38(0x14b)](_0x5123bf[_0x483d38(0x13b)]-0x1);_0x4cfcd2[_0x483d38(0x144)](_0x352cca,_0x483d38(0x12d)),this[_0x483d38(0x159)][_0x483d38(0x135)][_0x483d38(0x140)]();});}[_0x2e744f(0x14e)](){const _0x92b753=_0x2e744f,_0x47f68a=this[_0x92b753(0x159)][_0x92b753(0x135)],_0x1b63c0=_0x47f68a[_0x92b753(0x137)][_0x92b753(0x12e)](),_0x39a4f6=_0x1b63c0[_0x92b753(0x14b)](0x0);_0x1b63c0[_0x92b753(0x13b)]>0x1||!_0x39a4f6||'p'!=_0x39a4f6[_0x92b753(0x156)]?this[_0x92b753(0x14f)]&&this[_0x92b753(0x14f)][_0x92b753(0x14d)]&&(_0x83564(_0x47f68a,this[_0x92b753(0x14f)]),this[_0x92b753(0x14f)]=void 0x0):(this[_0x92b753(0x14d)]&&(_0x39a4f6[_0x92b753(0x14d)]=this[_0x92b753(0x14d)]),_0x1700bc({'view':_0x47f68a,'element':_0x39a4f6,'keepOnFocus':!0x0}),this[_0x92b753(0x14f)]=_0x39a4f6);}}
23
+ const _0x24090b=_0x58ad;(function(_0x56f8d1,_0xeb619e){const _0x28e01d=_0x58ad,_0x12f6e7=_0x56f8d1();while(!![]){try{const _0x433832=parseInt(_0x28e01d(0x163))/0x1*(parseInt(_0x28e01d(0x189))/0x2)+parseInt(_0x28e01d(0x178))/0x3+-parseInt(_0x28e01d(0x182))/0x4*(-parseInt(_0x28e01d(0x16b))/0x5)+parseInt(_0x28e01d(0x16c))/0x6*(parseInt(_0x28e01d(0x17f))/0x7)+-parseInt(_0x28e01d(0x187))/0x8+parseInt(_0x28e01d(0x18d))/0x9+-parseInt(_0x28e01d(0x17d))/0xa;if(_0x433832===_0xeb619e)break;else _0x12f6e7['push'](_0x12f6e7['shift']());}catch(_0x5a8d41){_0x12f6e7['push'](_0x12f6e7['shift']());}}}(_0x5231,0xc9e1a));import{Editor as _0x1041ec}from'ckeditor5/src/core.js';function _0x58ad(_0x55f89d,_0x2d827c){const _0x5231bc=_0x5231();return _0x58ad=function(_0x58ad86,_0x38847d){_0x58ad86=_0x58ad86-0x161;let _0x28ee74=_0x5231bc[_0x58ad86];return _0x28ee74;},_0x58ad(_0x55f89d,_0x2d827c);}import{CommentEditorUI as _0x3eb766}from'./commenteditorui.js';import{ObservableMixin as _0x28fae2}from'ckeditor5/src/utils.js';import{enableViewPlaceholder as _0x112ce4,disableViewPlaceholder as _0x1e1e1a}from'ckeditor5/src/engine.js';import{Clipboard as _0x278d90}from'ckeditor5/src/clipboard.js';import{Enter as _0x305079,ShiftEnter as _0x49960c}from'ckeditor5/src/enter.js';import{SelectAll as _0x206057}from'ckeditor5/src/select-all.js';import{Typing as _0x23fa43}from'ckeditor5/src/typing.js';function _0x5231(){const _0x790cbe=['fromCharCode','getChild','4691019LEzwBM','defaultPlugins','fire','getRoot','editing','37413240VBfizp','placeholderElement','2016blqCLL','data','end','136zNxqxF','create','model','change:placeholder','initPlugins','12104352pCGolA','placeholder','170eKMsDj','then','get','set','13163949FkxEil','destroy','config','_updatePlaceholder','10512EScBJM','change','ready','document','join','low','focus','assign','138110oJLdfe','25464gRtfLT','name','map','plugins','setSelection','view','createRoot','initialData','childCount','init'];_0x5231=function(){return _0x790cbe;};return _0x5231();}import{Undo as _0x308788}from'ckeditor5/src/undo.js';import{Paragraph as _0x4078b3}from'ckeditor5/src/paragraph.js';const Qt=[_0x278d90,_0x305079,_0x49960c,_0x206057,_0x23fa43,_0x308788,_0x4078b3];export class CommentEditor extends/* #__PURE__ -- @preserve */
24
+ _0x28fae2(_0x1041ec){static [_0x24090b(0x179)]=((()=>Qt)());constructor(_0x5852d0={}){const _0x2ed6b7=_0x24090b;function _0x51e41a(_0x5e679e){const _0x20765e=_0x58ad;return _0x5e679e[_0x20765e(0x16e)](_0x547cfd=>String[_0x20765e(0x176)](_0x547cfd))[_0x20765e(0x167)]('');}(_0x5852d0=Object[_0x2ed6b7(0x16a)]({},_0x5852d0))[_0x2ed6b7(0x16f)]||(_0x5852d0[_0x2ed6b7(0x16f)]=CommentEditor[_0x2ed6b7(0x179)]),super(_0x5852d0),this['ui']=new _0x3eb766(this),this[_0x2ed6b7(0x18c)](_0x2ed6b7(0x188),''),this[_0x2ed6b7(0x184)][_0x2ed6b7(0x166)]['on'](_0x2ed6b7(0x164),()=>this[_0x2ed6b7(0x162)](),{'priority':_0x2ed6b7(0x168)}),this['on'](_0x2ed6b7(0x185),()=>this[_0x2ed6b7(0x162)]()),this[_0x2ed6b7(0x184)][_0x2ed6b7(0x166)][_0x2ed6b7(0x172)](),this[_0x51e41a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51e41a([0x76,0x69,0x65,0x77])][_0x51e41a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51e41a([0x61,0x75,0x74,0x6f]),this[_0x51e41a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x51e41a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51e41a([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x51e41a([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x51e41a([0x6f,0x6b])});}[_0x24090b(0x183)](){const _0x3e72d8=_0x24090b,_0x1abcef=this[_0x3e72d8(0x161)][_0x3e72d8(0x18b)](_0x3e72d8(0x173))||'';return this[_0x3e72d8(0x186)]()[_0x3e72d8(0x18a)](()=>this['ui'][_0x3e72d8(0x175)]())[_0x3e72d8(0x18a)](()=>this[_0x3e72d8(0x180)][_0x3e72d8(0x175)](_0x1abcef))[_0x3e72d8(0x18a)](()=>this[_0x3e72d8(0x17a)](_0x3e72d8(0x165)));}[_0x24090b(0x18e)](){const _0x134420=_0x24090b;return super[_0x134420(0x18e)]()[_0x134420(0x18a)](()=>this['ui'][_0x134420(0x18e)]());}[_0x24090b(0x169)](){const _0x2569a7=_0x24090b;this[_0x2569a7(0x184)][_0x2569a7(0x164)](_0x2f89eb=>{const _0x330116=_0x2569a7,_0x100390=this[_0x330116(0x184)][_0x330116(0x166)][_0x330116(0x17b)](),_0x24faec=_0x100390&&_0x100390[_0x330116(0x177)](_0x100390[_0x330116(0x174)]-0x1);_0x2f89eb[_0x330116(0x170)](_0x24faec,_0x330116(0x181)),this[_0x330116(0x17c)][_0x330116(0x171)][_0x330116(0x169)]();});}[_0x24090b(0x162)](){const _0x44f740=_0x24090b,_0x2e17d6=this[_0x44f740(0x17c)][_0x44f740(0x171)],_0x3976dd=_0x2e17d6[_0x44f740(0x166)][_0x44f740(0x17b)](),_0x2c5c9d=_0x3976dd[_0x44f740(0x177)](0x0);_0x3976dd[_0x44f740(0x174)]>0x1||!_0x2c5c9d||'p'!=_0x2c5c9d[_0x44f740(0x16d)]?this[_0x44f740(0x17e)]&&this[_0x44f740(0x17e)][_0x44f740(0x188)]&&(_0x1e1e1a(_0x2e17d6,this[_0x44f740(0x17e)]),this[_0x44f740(0x17e)]=void 0x0):(this[_0x44f740(0x188)]&&(_0x2c5c9d[_0x44f740(0x188)]=this[_0x44f740(0x188)]),_0x112ce4({'view':_0x2e17d6,'element':_0x2c5c9d,'keepOnFocus':!0x0}),this[_0x44f740(0x17e)]=_0x2c5c9d);}}