@ckeditor/ckeditor5-comments 45.2.0-alpha.5 → 45.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/package.json +18 -18
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14c714=_0x2293;(function(_0x311301,_0x31458a){const _0x584843=_0x2293,_0xb10a67=_0x311301();while(!![]){try{const _0x244452=-parseInt(_0x584843(0x1d8))/0x1+-parseInt(_0x584843(0x142))/0x2*(parseInt(_0x584843(0x19c))/0x3)+-parseInt(_0x584843(0xfc))/0x4+parseInt(_0x584843(0x1ab))/0x5*(-parseInt(_0x584843(0x10d))/0x6)+parseInt(_0x584843(0x114))/0x7*(parseInt(_0x584843(0x173))/0x8)+parseInt(_0x584843(0x148))/0x9*(parseInt(_0x584843(0x175))/0xa)+parseInt(_0x584843(0x1b7))/0xb;if(_0x244452===_0x31458a)break;else _0xb10a67['push'](_0xb10a67['shift']());}catch(_0x201739){_0xb10a67['push'](_0xb10a67['shift']());}}}(_0x2a31,0x93109));import{PendingActions as _0x4c84ca,ContextPlugin as _0x5e326f,Editor as _0x5ccb85}from'ckeditor5/src/core.js';import{Collection as _0x258ca3,uid as _0x27cf66,CKEditorError as _0x409ffc,ObservableMixin as _0x33b0cf}from'ckeditor5/src/utils.js';function _0x2293(_0x3066a6,_0x1ec4b6){const _0x2a31d5=_0x2a31();return _0x2293=function(_0x229333,_0x2f24e6){_0x229333=_0x229333-0xfc;let _0x1b795d=_0x2a31d5[_0x229333];return _0x1b795d;},_0x2293(_0x3066a6,_0x1ec4b6);}import{getDateTimeFormatter as _0x23d473,hashObject as _0x15acb6,Users as _0x1b812e}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1861a9,isEqual as _0x4853b8,set as _0x12c270,unset as _0x1ea187}from'es-toolkit/compat';import _0x5292c2 from'./ui/commentthreadcontroller.js';import _0x3556a0 from'./ui/view/commentthreadview.js';import _0xc9489f from'./ui/view/commentview.js';import{getTranslation as _0x107cbd}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x3cf1e3 from'../annotations/view/annotationview.js';import _0x517546 from'../annotations/annotation.js';import _0x310d2a from'../annotations/annotations.js';const bt=Symbol(_0x14c714(0x185)),Nt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x5e326f{[_0x14c714(0xfd)];[_0x14c714(0x139)];[_0x14c714(0x19d)];static get[_0x14c714(0x18b)](){return[_0x310d2a,_0x4c84ca,_0x1b812e];}static get[_0x14c714(0x162)](){const _0x2b426e=_0x14c714;return _0x2b426e(0x16a);}static get[_0x14c714(0x159)](){return!0x0;}static get[_0x14c714(0x183)](){return!0x0;}constructor(_0x3e23d7){const _0x25b1ba=_0x14c714;super(_0x3e23d7),this[_0x25b1ba(0xfd)]=new Map(),this[_0x25b1ba(0x139)]=new Map(),this[_0x25b1ba(0x19d)]=new Map(),this[_0x25b1ba(0x18f)](_0x25b1ba(0x1e1),new Set()),this[_0x25b1ba(0x18f)](_0x25b1ba(0x1b8),new Map());const _0x37d29d=this[_0x25b1ba(0x1b5)][_0x25b1ba(0x1a2)];_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x1c1),0x2),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x14e),0x1f4),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x15a),0x8c),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x144),_0x3556a0),_0x37d29d[_0x25b1ba(0x10f)](_0x25b1ba(0x1d1),_0xc9489f),_0x37d29d[_0x25b1ba(0x172)](_0x25b1ba(0x158))||console[_0x25b1ba(0x113)](_0x25b1ba(0x190));}[_0x14c714(0x194)](){const _0x440e53=_0x14c714,_0x1422db=this[_0x440e53(0x1b5)][_0x440e53(0x1d0)][_0x440e53(0x172)](_0x310d2a);this[_0x440e53(0x18f)](_0x440e53(0x179),null),this['on'](_0x440e53(0x1d7),(_0x3a0dd4,_0x31171a)=>this[_0x440e53(0x163)](_0x31171a)),this['on'](_0x440e53(0x1b1),(_0x2852fc,_0x300558)=>this[_0x440e53(0x137)](_0x300558)),this['on'](_0x440e53(0x1a7),(_0x2bd0ad,_0x1038bb)=>this[_0x440e53(0x11c)](_0x1038bb)),this['on'](_0x440e53(0x1a7),(_0x43225c,_0x4abda0)=>this[_0x440e53(0x1b4)](_0x4abda0),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x1da),(_0x5a34b4,_0x111bcb)=>this[_0x440e53(0x12c)](_0x111bcb)),this['on'](_0x440e53(0x1da),(_0x5b9b72,_0x405712)=>this[_0x440e53(0x1b4)](_0x405712),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x134),(_0x39c10c,_0x53f92c)=>this[_0x440e53(0x167)](_0x53f92c)),this['on'](_0x440e53(0x1e2),(_0x22bb09,_0x47358c)=>this[_0x440e53(0x1ac)](_0x47358c)),this['on'](_0x440e53(0x1e2),(_0x4d2148,_0x96f5be)=>this[_0x440e53(0x1b4)](_0x96f5be),{'priority':_0x440e53(0x15d)}),this['on'](_0x440e53(0x184),(_0x4e6ad2,_0x44675c)=>this[_0x440e53(0x197)](_0x44675c)),this['on'](_0x440e53(0x15e),(_0x3c8c01,_0x343a75)=>this[_0x440e53(0x189)](_0x343a75)),this['on'](_0x440e53(0x1cd),(_0x30fd6a,_0x59a281)=>this[_0x440e53(0x13d)](_0x59a281)),this['on'](_0x440e53(0x184),(_0x3671be,{threadId:_0x15b679,isFromAdapter:_0x2c2c85})=>{const _0x1fceed=_0x440e53;if(_0x2c2c85)return;const _0x317b2f=this[_0x1fceed(0x12b)](_0x15b679),_0x478354=_0x317b2f&&this[_0x1fceed(0x139)][_0x1fceed(0x172)](_0x317b2f);_0x478354&&_0x478354[_0x1fceed(0x127)][_0x1fceed(0x146)][_0x1fceed(0x128)](-0x1);},{'priority':_0x440e53(0x15d)}),this[_0x440e53(0x13b)](_0x1422db,_0x440e53(0x120),(_0x14715d,_0x477340,_0x31e8ad)=>{const _0x6a6501=_0x440e53,_0x5a2166=Array[_0x6a6501(0x106)](_0x31e8ad)[_0x6a6501(0x150)](_0xcddf0b=>this[_0x6a6501(0x19d)][_0x6a6501(0x172)](_0xcddf0b[_0x6a6501(0x115)]))[_0x6a6501(0x168)](Boolean)[0x0];this[_0x6a6501(0x179)]=_0x5a2166?_0x5a2166[_0x6a6501(0x1ba)]:null;});}set[_0x14c714(0x1dc)](_0x489f47){const _0x229db6=_0x14c714;if(this[_0x229db6(0x15b)])throw new _0x409ffc(_0x229db6(0x1a3));this[_0x229db6(0x15b)]=_0x489f47;}get[_0x14c714(0x1dc)](){const _0xec7736=_0x14c714;return this[_0xec7736(0x15b)];}[_0x14c714(0x1d7)]({channelId:_0x267b43=bt,threadId:_0x233c36=_0x27cf66(),comments:_0x437402=[],unlinkedAt:_0x77f180=null,resolvedAt:_0x30a029=null,resolvedBy:_0x201bac=null,target:_0x2ef006=null,context:_0x5100d4=null,attributes:_0x20ba42={},isResolvable:_0x36766d=!0x0,isSubmitted:_0x36845a=!0x1,isFromAdapter:_0x223864=!0x1}={}){const _0x5dd274=_0x14c714;return this[_0x5dd274(0x101)](xt(_0x5dd274(0x1d7),_0x267b43),{'channelId':_0x267b43,'threadId':_0x233c36,'comments':_0x437402,'unlinkedAt':_0x77f180,'resolvedAt':_0x30a029,'resolvedBy':_0x201bac,'target':_0x2ef006,'context':_0x5100d4,'attributes':_0x20ba42,'isFromAdapter':_0x223864,'isResolvable':_0x36766d,'isSubmitted':_0x36845a}),this[_0x5dd274(0x12b)](_0x233c36);}[_0x14c714(0x123)]({channelId:_0xbbd05e=bt,threadId:_0x3378e1=_0x27cf66(),target:_0x3a8698,context:_0x126948=null,isResolvable:_0xd6f46b=!0x0}){const _0x205c1c=_0x14c714;if(this[_0x205c1c(0x1e1)][_0x205c1c(0x131)](_0xbbd05e)||this[_0x205c1c(0x1e1)][_0x205c1c(0x131)](void 0x0))return null;if(!_0x3a8698)throw new _0x409ffc(_0x205c1c(0x18c));const _0x34ddbe=this[_0x205c1c(0x1d7)]({'channelId':_0xbbd05e,'threadId':_0x3378e1,'target':_0x3a8698,'context':_0x126948,'isResolvable':_0xd6f46b});if(!_0x34ddbe)return null;const _0x1cbf7b=this[_0x205c1c(0x139)][_0x205c1c(0x172)](_0x34ddbe),_0x354b91=_0x1cbf7b[_0x205c1c(0x127)][_0x205c1c(0x1ad)][_0x205c1c(0x13f)],_0xdb8b82=this[_0x205c1c(0x1b5)][_0x205c1c(0x1d0)][_0x205c1c(0x172)](_0x310d2a),_0x8bdc28=_0xdb8b82[_0x205c1c(0x170)](_0x1cbf7b[_0x205c1c(0x127)]);return _0xdb8b82[_0x205c1c(0x110)](_0x8bdc28),_0x354b91[_0x205c1c(0x19e)](_0x205c1c(0x1b6),()=>_0x354b91[_0x205c1c(0x128)]()),_0x34ddbe;}[_0x14c714(0x1bd)](_0x25a4c4){const _0x525998=_0x14c714;if(_0x525998(0x100)!=typeof _0x25a4c4)throw new _0x409ffc(_0x525998(0x105));return this[_0x525998(0xfd)][_0x525998(0x131)](_0x25a4c4);}[_0x14c714(0x1e2)]({channelId:_0x577226=bt,threadId:_0x3fff9d,context:_0x404b73,unlinkedAt:_0x5ca8cc,attributes:_0x5162bd,isFromAdapter:_0x2e9790=!0x1}){const _0x44c5e4=_0x14c714;return this[_0x44c5e4(0x101)](xt(_0x44c5e4(0x1e2),_0x577226),{'channelId':_0x577226,'threadId':_0x3fff9d,'context':_0x404b73,'unlinkedAt':_0x5ca8cc,'attributes':_0x5162bd,'isFromAdapter':_0x2e9790}),this[_0x44c5e4(0x12b)](_0x3fff9d);}[_0x14c714(0x12b)](_0x646b1a){const _0x4e90d7=_0x14c714;if(_0x4e90d7(0x100)!=typeof _0x646b1a)throw new _0x409ffc(_0x4e90d7(0x105));return this[_0x4e90d7(0xfd)][_0x4e90d7(0x172)](_0x646b1a);}[_0x14c714(0x1dd)]({channelId:_0x2fdf36,threadId:_0x226d68}={}){const _0x292acd=_0x14c714,_0x162fd9=this[_0x292acd(0x12b)](_0x226d68);if(_0x162fd9)return Promise[_0x292acd(0x147)](_0x162fd9);if(!this[_0x292acd(0x1dc)])return Promise[_0x292acd(0x147)](void 0x0);if(_0x292acd(0x129)!=typeof this[_0x292acd(0x1dc)][_0x292acd(0x12b)])throw new _0x409ffc(_0x292acd(0x12a),this[_0x292acd(0x1b5)]);return this[_0x292acd(0x1dc)][_0x292acd(0x12b)]({'channelId':_0x2fdf36,'threadId':_0x226d68})[_0x292acd(0x14a)](_0x50aa10=>this[_0x292acd(0x1bd)](_0x226d68)?this[_0x292acd(0x12b)](_0x226d68):_0x50aa10?this[_0x292acd(0x1d7)](Object[_0x292acd(0x1bf)]({'isFromAdapter':!0x0,'channelId':_0x2fdf36},_0x50aa10)):void 0x0)[_0x292acd(0x166)](_0x440a81=>{const _0x52b9a5=_0x292acd;throw console[_0x52b9a5(0x136)](_0x440a81),new _0x409ffc(_0x52b9a5(0x1a9),this[_0x52b9a5(0x1b5)]);});}[_0x14c714(0x182)]({channelId:_0x1b86a6,skipNotAttached:_0x174e2a=!0x1,skipEmpty:_0x58844f=!0x1,toJSON:_0x25e355=!0x1}={}){const _0x570727=_0x14c714,_0x8f0e9c=[];for(const _0x3a16f0 of this[_0x570727(0xfd)][_0x570727(0x1db)]())_0x1b86a6&&_0x3a16f0[_0x570727(0x15f)]!==_0x1b86a6||_0x174e2a&&!_0x3a16f0[_0x570727(0x1b3)]||_0x58844f&&0x0===_0x3a16f0[_0x570727(0x161)]||_0x8f0e9c[_0x570727(0x103)](_0x3a16f0);return _0x25e355?_0x8f0e9c[_0x570727(0x150)](_0x4afb82=>_0x4afb82[_0x570727(0x1c2)]()):_0x8f0e9c;}[_0x14c714(0x1df)](_0x2ca766){const _0x1e5295=_0x14c714,_0x1bd381=this[_0x1e5295(0x1b5)][_0x1e5295(0x1d0)][_0x1e5295(0x172)](_0x310d2a);if(!_0x2ca766)return void(this[_0x1e5295(0x179)]&&_0x1bd381[_0x1e5295(0x17a)]());const _0x3b40ac=this[_0x1e5295(0x12b)](_0x2ca766);if(!_0x3b40ac)throw new _0x409ffc(_0x1e5295(0x177),null,{'threadId':_0x2ca766});if(!this[_0x1e5295(0x139)][_0x1e5295(0x131)](_0x3b40ac))throw new _0x409ffc(_0x1e5295(0x1ca),null,{'threadId':_0x2ca766});const _0x184e28=_0x1bd381[_0x1e5295(0x170)](this[_0x1e5295(0x139)][_0x1e5295(0x172)](_0x3b40ac)[_0x1e5295(0x127)]);_0x1bd381[_0x1e5295(0x110)](_0x184e28);}[_0x14c714(0x180)](_0x596a14,_0x40f15c){const _0x3bf2b9=_0x14c714;_0x596a14?this[_0x3bf2b9(0x1e1)][_0x3bf2b9(0x178)](_0x40f15c):this[_0x3bf2b9(0x1e1)][_0x3bf2b9(0x1af)](_0x40f15c),this[_0x3bf2b9(0x101)](_0x3bf2b9(0x151),_0x3bf2b9(0x1e1),this[_0x3bf2b9(0x1e1)],this[_0x3bf2b9(0x1e1)]);}[_0x14c714(0x124)](_0x3f4aba){const _0x241178=_0x14c714;return this[_0x241178(0x1e1)][_0x241178(0x131)](_0x3f4aba)||this[_0x241178(0x1e1)][_0x241178(0x131)](void 0x0);}[_0x14c714(0x1c3)](_0x289216,_0x171791){return new _0x5292c2(_0x289216,_0x171791);}[_0x14c714(0x1be)](_0x494b2a,_0x5adc5b=bt){const _0x96a12b=_0x14c714;this[_0x96a12b(0x1b8)][_0x96a12b(0x18f)](_0x5adc5b,_0x494b2a),this[_0x96a12b(0x101)](_0x96a12b(0x19b),_0x96a12b(0x1b8),this[_0x96a12b(0x1b8)],this[_0x96a12b(0x1b8)]);}[_0x14c714(0x1d2)](_0x4939a9=bt){const _0x28ef23=_0x14c714;return this[_0x28ef23(0x1b8)][_0x28ef23(0x131)](_0x4939a9)?this[_0x28ef23(0x1b8)][_0x28ef23(0x172)](_0x4939a9):Nt;}[_0x14c714(0x163)]({channelId:_0x14fbc2,threadId:_0x3df5c0,comments:_0x19fe6c,unlinkedAt:_0xa3e3cd,resolvedAt:_0x9223d8,resolvedBy:_0x25c6a9,target:_0x59e26d,context:_0x21f4c4,attributes:_0x142380,isFromAdapter:_0x2d8dc5,isResolvable:_0xcb0cb2,isSubmitted:_0x24546e}){const _0x460ea3=_0x14c714;if(_0x460ea3(0x100)!=typeof _0x3df5c0)throw new _0x409ffc(_0x460ea3(0x105),null,{'threadId':_0x3df5c0});if(this[_0x460ea3(0x1bd)](_0x3df5c0))throw new _0x409ffc(_0x460ea3(0x198),null,{'threadId':_0x3df5c0});const _0x3762f4=new CommentThread(this,{'channelId':_0x14fbc2,'id':_0x3df5c0,'context':_0x21f4c4,'attributes':_0x142380,'unlinkedAt':_0xa3e3cd,'resolvedAt':_0x9223d8,'resolvedBy':_0x25c6a9?this[_0x460ea3(0x1b5)][_0x460ea3(0x1d0)][_0x460ea3(0x172)](_0x1b812e)[_0x460ea3(0x125)](_0x25c6a9):null,'isResolvable':_0xcb0cb2,'isSubmitted':_0x24546e||_0x2d8dc5});this[_0x460ea3(0xfd)][_0x460ea3(0x18f)](_0x3df5c0,_0x3762f4);for(const _0x2e5807 of _0x19fe6c)_0x3762f4[_0x460ea3(0x169)](this[_0x460ea3(0x141)]({'threadId':_0x3df5c0,..._0x2e5807}));return _0x59e26d&&_0x3762f4[_0x460ea3(0x16c)](_0x59e26d),_0x2d8dc5||!_0x3762f4[_0x460ea3(0x161)]?Promise[_0x460ea3(0x147)]():this[_0x460ea3(0x137)]({'channelId':_0x14fbc2,'threadId':_0x3df5c0});}[_0x14c714(0x137)]({channelId:_0x46d630,threadId:_0x3fd287}){const _0x1bb3fe=_0x14c714;if(!this[_0x1bb3fe(0x1bd)](_0x3fd287))throw new _0x409ffc(_0x1bb3fe(0x1a6),this);const _0x56b906=this[_0x1bb3fe(0x12b)](_0x3fd287);if(_0x56b906[_0x1bb3fe(0x19a)]=!0x0,!this[_0x1bb3fe(0x1dc)]||_0x1bb3fe(0x129)!=typeof this[_0x1bb3fe(0x1dc)][_0x1bb3fe(0x1d7)])return Promise[_0x1bb3fe(0x147)]();const {id:_0x1536f8,comments:_0x577d22,resolvedAt:_0x2ab362,resolvedBy:_0x15c87d,context:_0x5f38af,attributes:_0x5bb31d}=_0x56b906,_0x16556f=this[_0x1bb3fe(0x1b5)][_0x1bb3fe(0x1d0)][_0x1bb3fe(0x172)](_0x1bb3fe(0x18a)),_0x30c66c=_0x16556f[_0x1bb3fe(0x178)](_0x107cbd(this[_0x1bb3fe(0x1b5)][_0x1bb3fe(0x17d)],_0x1bb3fe(0x14f)));return this[_0x1bb3fe(0x1dc)][_0x1bb3fe(0x1d7)]({'channelId':_0x46d630,'threadId':_0x1536f8,'comments':_0x577d22[_0x1bb3fe(0x150)](_0x4428ed=>_0x4428ed[_0x1bb3fe(0x1c2)]()),'resolvedAt':_0x2ab362,'resolvedBy':_0x15c87d?_0x15c87d['id']:_0x15c87d,'context':_0x5f38af,'attributes':_0x5bb31d})[_0x1bb3fe(0x14a)](({comments:_0x6d6721})=>{const _0x3e36ac=_0x1bb3fe;_0x16556f[_0x3e36ac(0x12e)](_0x30c66c);for(const _0x212eb0 of _0x6d6721)this[_0x3e36ac(0x189)]({'channelId':_0x46d630,'threadId':_0x3fd287,'commentId':_0x212eb0[_0x3e36ac(0x181)],'createdAt':_0x212eb0[_0x3e36ac(0x111)],'isFromAdapter':!0x0});})[_0x1bb3fe(0x166)](_0x31de17=>{const _0x1fe066=_0x1bb3fe;throw console[_0x1fe066(0x136)](_0x31de17),new _0x409ffc(_0x1fe066(0x1a1),this);});}[_0x14c714(0x1cf)]({threadId:_0xc500aa,target:_0x7d388f}){const _0x5d176b=_0x14c714,_0x50aad8=this[_0x5d176b(0x12b)](_0xc500aa);if(!_0x50aad8)throw new _0x409ffc(_0x5d176b(0x11a),this);const _0x26dde2=this[_0x5d176b(0x1b5)][_0x5d176b(0x1d0)][_0x5d176b(0x172)](_0x5d176b(0x18a)),_0x2dea71=this[_0x5d176b(0x1b5)][_0x5d176b(0x1d0)][_0x5d176b(0x172)](_0x310d2a),_0xc5e42e=this[_0x5d176b(0x19f)](_0x50aad8),_0x440ffd=new _0x5292c2(_0x50aad8,_0xc5e42e);let _0x51cb65=null;_0xc5e42e['on'](_0x5d176b(0x16b),(_0x323b34,_0x1ef37b,_0x481ebb)=>{const _0x55dd16=_0x5d176b;_0x481ebb?_0x51cb65=_0x26dde2[_0x55dd16(0x178)](_0x107cbd(this[_0x55dd16(0x1b5)][_0x55dd16(0x17d)],_0x55dd16(0x14f))):_0x51cb65&&(_0x26dde2[_0x55dd16(0x12e)](_0x51cb65),_0x51cb65=null);}),this[_0x5d176b(0x139)][_0x5d176b(0x18f)](_0x50aad8,_0x440ffd),this[_0x5d176b(0x19d)][_0x5d176b(0x18f)](_0xc5e42e,_0x440ffd);const _0x17fc94=new _0x3cf1e3(this[_0x5d176b(0x1b5)][_0x5d176b(0x17d)],_0xc5e42e);_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x161))['to'](_0xc5e42e),_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x1c8))['to'](_0xc5e42e,_0x5d176b(0x1c8),_0xc5e42e,_0x5d176b(0x161),(_0x28cb5,_0xb51f6f)=>_0x28cb5||!_0xb51f6f),_0x17fc94[_0x5d176b(0x155)](_0x5d176b(0x14d))['to'](_0xc5e42e),_0x17fc94[_0x5d176b(0x1c9)]=_0x5d176b(0x138);const _0x474413=new _0x517546({'view':_0x17fc94,'target':_0x7d388f,'type':_0x5d176b(0x138),'isVisible':!_0x50aad8[_0x5d176b(0x1b9)]});return _0xc5e42e['on'](_0x5d176b(0x17b),()=>{const _0x215abf=_0x5d176b;_0x474413[_0x215abf(0x101)](_0x215abf(0x17b));}),this[_0x5d176b(0x11b)](_0xc5e42e,_0x474413),_0x2dea71[_0x5d176b(0x178)](_0x474413),_0x474413;}[_0x14c714(0x11b)](_0x3cc638,_0x5ed970){const _0x3c107c=_0x14c714;this[_0x3c107c(0x13b)](_0x3cc638,_0x3c107c(0x1b6),(_0x46f32d,_0x173ca0)=>{const _0x3dc729=_0x3c107c,_0x1fa94a=_0x173ca0['ui'][_0x3dc729(0x127)][_0x3dc729(0x102)][_0x3dc729(0x1b0)];_0x5ed970[_0x3dc729(0x1a4)][_0x3dc729(0x178)](_0x1fa94a),this[_0x3dc729(0x1b5)]instanceof _0x5ccb85&&this[_0x3dc729(0x1b5)]['ui'][_0x3dc729(0x1a8)][_0x3dc729(0x178)](_0x1fa94a);},{'priority':_0x3c107c(0x15c)}),this[_0x3c107c(0x13b)](_0x3cc638,_0x3c107c(0x11e),(_0x25258a,_0x4491ac)=>{const _0x18bab0=_0x3c107c,_0x9a1005=_0x4491ac['ui'][_0x18bab0(0x127)][_0x18bab0(0x102)][_0x18bab0(0x1b0)];_0x5ed970[_0x18bab0(0x1a4)][_0x18bab0(0x131)](_0x9a1005)&&_0x5ed970[_0x18bab0(0x1a4)][_0x18bab0(0x12e)](_0x9a1005),this[_0x18bab0(0x1b5)]instanceof _0x5ccb85&&this[_0x18bab0(0x1b5)]['ui'][_0x18bab0(0x1a8)][_0x18bab0(0x12e)](_0x9a1005);});}[_0x14c714(0x160)](_0x2fbc7f){const _0x2aae7b=_0x14c714;this[_0x2aae7b(0x17c)](_0x2fbc7f,_0x2aae7b(0x1b6)),this[_0x2aae7b(0x17c)](_0x2fbc7f,_0x2aae7b(0x11e));}[_0x14c714(0x19f)](_0x1b0f21){const _0x161ff0=_0x14c714,_0x31ebc0=this[_0x161ff0(0x1b5)][_0x161ff0(0x1d0)][_0x161ff0(0x172)](_0x1b812e),{config:_0x55c05a,locale:_0x5969eb}=this[_0x161ff0(0x1b5)],_0x306e7e=_0x23d473(_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x17d)),_0x5969eb);return new(0x0,(_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x140)))[(_0x161ff0(0x132))])(_0x5969eb,_0x1b0f21,_0x31ebc0['me'],{'editorConfig':{..._0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x158)),'licenseKey':this[_0x161ff0(0x1b5)][_0x161ff0(0x1a2)][_0x161ff0(0x172)](_0x161ff0(0x11f))},'copyMarkers':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x193)),'maxCommentsWhenCollapsed':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x1c1)),'maxThreadTotalWeight':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x14e)),'maxCommentCharsWhenCollapsed':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x15a)),'formatDateTime':_0x306e7e,'CommentView':_0x55c05a[_0x161ff0(0x172)](_0x161ff0(0x140))[_0x161ff0(0x16f)]});}[_0x14c714(0x11c)]({threadId:_0x135a6e,channelId:_0x22c84c,resolvedAt:_0x34d215,resolvedBy:_0x407c78,isFromAdapter:_0xfe6262}){const _0x372a4a=_0x14c714;if(!this[_0x372a4a(0x1bd)](_0x135a6e))throw new _0x409ffc(_0x372a4a(0x1a6),null,{'threadId':_0x135a6e});const _0x4297e8=this[_0x372a4a(0x12b)](_0x135a6e);if(_0x4297e8[_0x372a4a(0x130)])throw new _0x409ffc(_0x372a4a(0x17f),null,{'threadId':_0x135a6e});const _0x4385d9=this[_0x372a4a(0x1b5)][_0x372a4a(0x1d0)][_0x372a4a(0x172)](_0x1b812e);if(_0x4297e8[_0x372a4a(0x1b2)]=_0x4385d9[_0x372a4a(0x125)](_0x407c78),_0x4297e8[_0x372a4a(0x118)]=_0x34d215,_0xfe6262||!this[_0x372a4a(0x1dc)]||_0x372a4a(0x129)!=typeof this[_0x372a4a(0x1dc)][_0x372a4a(0x1a7)])return Promise[_0x372a4a(0x147)]();const _0x20e374=this[_0x372a4a(0x1b5)][_0x372a4a(0x1d0)][_0x372a4a(0x172)](_0x372a4a(0x18a)),_0x4b81c8=_0x20e374[_0x372a4a(0x178)](_0x107cbd(this[_0x372a4a(0x1b5)][_0x372a4a(0x17d)],_0x372a4a(0x14f)));return this[_0x372a4a(0x1dc)][_0x372a4a(0x1a7)]({'channelId':_0x22c84c,'threadId':_0x135a6e})[_0x372a4a(0x14a)](({resolvedAt:_0x5ede0a,resolvedBy:_0x56610c})=>{const _0x345863=_0x372a4a;_0x20e374[_0x345863(0x12e)](_0x4b81c8),_0x4297e8[_0x345863(0x1b2)]['id']!==_0x56610c&&(_0x4297e8[_0x345863(0x1b2)]=_0x4385d9[_0x345863(0x125)](_0x56610c)),_0x4297e8[_0x345863(0x118)]=_0x5ede0a;})[_0x372a4a(0x166)](_0x265264=>{const _0x24cfd1=_0x372a4a;throw console[_0x24cfd1(0x136)](_0x265264),new _0x409ffc(_0x24cfd1(0x109),this);});}[_0x14c714(0x12c)]({threadId:_0x3de1d6,channelId:_0x33e213,isFromAdapter:_0x310345}){const _0x113aae=_0x14c714;if(!this[_0x113aae(0x1bd)](_0x3de1d6))throw new _0x409ffc(_0x113aae(0x1a6),null,{'threadId':_0x3de1d6});const _0x9dcd04=this[_0x113aae(0x12b)](_0x3de1d6);if(!_0x9dcd04[_0x113aae(0x130)])throw new _0x409ffc(_0x113aae(0x14b),null,{'threadId':_0x3de1d6});if(_0x9dcd04[_0x113aae(0x1b2)]=null,_0x9dcd04[_0x113aae(0x118)]=null,_0x310345||!this[_0x113aae(0x1dc)]||_0x113aae(0x129)!=typeof this[_0x113aae(0x1dc)][_0x113aae(0x1da)])return Promise[_0x113aae(0x147)]();const _0xa8359b=this[_0x113aae(0x1b5)][_0x113aae(0x1d0)][_0x113aae(0x172)](_0x113aae(0x18a)),_0x5b717b=_0xa8359b[_0x113aae(0x178)](_0x107cbd(this[_0x113aae(0x1b5)][_0x113aae(0x17d)],_0x113aae(0x14f)));return this[_0x113aae(0x1dc)][_0x113aae(0x1da)]({'channelId':_0x33e213,'threadId':_0x3de1d6})[_0x113aae(0x14a)](()=>_0xa8359b[_0x113aae(0x12e)](_0x5b717b))[_0x113aae(0x166)](_0x43d14f=>{const _0x561bff=_0x113aae;throw console[_0x561bff(0x136)](_0x43d14f),new _0x409ffc(_0x561bff(0x1cc),this);});}[_0x14c714(0x167)]({threadId:_0x5f080e,isFromAdapter:_0x5397e2}){const _0x5a96fa=_0x14c714,_0x9b17e=this[_0x5a96fa(0x12b)](_0x5f080e);if(!_0x9b17e)throw new _0x409ffc(_0x5a96fa(0x186),this);if(this[_0x5a96fa(0x143)](_0x5f080e),this[_0x5a96fa(0xfd)][_0x5a96fa(0x1af)](_0x5f080e),!_0x9b17e[_0x5a96fa(0x1de)]||_0x5397e2||!this[_0x5a96fa(0x1dc)]||_0x5a96fa(0x129)!=typeof this[_0x5a96fa(0x1dc)][_0x5a96fa(0x134)])return Promise[_0x5a96fa(0x147)]();const _0x5a7153=this[_0x5a96fa(0x1b5)][_0x5a96fa(0x1d0)][_0x5a96fa(0x172)](_0x5a96fa(0x18a)),{channelId:_0x5bd396}=_0x9b17e,_0x2b90b9=_0x5a7153[_0x5a96fa(0x178)](_0x107cbd(this[_0x5a96fa(0x1b5)][_0x5a96fa(0x17d)],_0x5a96fa(0x14f)));return this[_0x5a96fa(0x1dc)][_0x5a96fa(0x134)]({'channelId':_0x5bd396,'threadId':_0x5f080e})[_0x5a96fa(0x14a)](()=>_0x5a7153[_0x5a96fa(0x12e)](_0x2b90b9))[_0x5a96fa(0x166)](_0x3c8d4e=>{const _0x3ba7dc=_0x5a96fa;throw console[_0x3ba7dc(0x136)](_0x3c8d4e),new _0x409ffc(_0x3ba7dc(0x195),this);});}[_0x14c714(0x1ac)]({threadId:_0x4671ab,unlinkedAt:_0x335ca9,context:_0x3422e5,attributes:_0x3f82b3,isFromAdapter:_0x59cefb}){const _0x444000=_0x14c714;if(_0x444000(0x100)!=typeof _0x4671ab)throw new _0x409ffc(_0x444000(0x105),null,{'threadId':_0x4671ab});if(!this[_0x444000(0x1bd)](_0x4671ab))throw new _0x409ffc(_0x444000(0x1a6),null,{'threadId':_0x4671ab});const _0x26ac40=this[_0x444000(0x12b)](_0x4671ab);let _0x12aa1f=!0x1;if(void 0x0!==_0x3422e5&&_0x26ac40[_0x444000(0x1b5)]!==_0x3422e5&&(_0x26ac40[_0x444000(0x1b5)]=_0x3422e5,_0x12aa1f=!0x0),void 0x0!==_0x335ca9&&_0x26ac40[_0x444000(0x171)]!==_0x335ca9&&(_0x26ac40[_0x444000(0x171)]=_0x335ca9,_0x12aa1f=!0x0),_0x3f82b3&&!_0x4853b8(_0x3f82b3,_0x26ac40[_0x444000(0x196)])&&(_0x26ac40[_0x444000(0x196)]=_0x3f82b3,_0x12aa1f=!0x0),!_0x12aa1f)return Promise[_0x444000(0x147)]();if(!_0x26ac40[_0x444000(0x1de)]||_0x59cefb||!this[_0x444000(0x1dc)]||_0x444000(0x129)!=typeof this[_0x444000(0x1dc)][_0x444000(0x1e2)])return Promise[_0x444000(0x147)]();const _0x3ad2ef=this[_0x444000(0x1b5)][_0x444000(0x1d0)][_0x444000(0x172)](_0x444000(0x18a)),{channelId:_0x2394eb}=_0x26ac40,_0x1a9a7c=_0x3ad2ef[_0x444000(0x178)](_0x107cbd(this[_0x444000(0x1b5)][_0x444000(0x17d)],_0x444000(0x14f)));return this[_0x444000(0x1dc)][_0x444000(0x1e2)]({'channelId':_0x2394eb,'threadId':_0x4671ab,'context':_0x3422e5,'unlinkedAt':_0x335ca9,'attributes':_0x3f82b3})[_0x444000(0x14a)](()=>_0x3ad2ef[_0x444000(0x12e)](_0x1a9a7c))[_0x444000(0x166)](_0x49befb=>{const _0xe65a81=_0x444000;throw console[_0xe65a81(0x136)](_0x49befb),new _0x409ffc(_0xe65a81(0x1a0),this);});}[_0x14c714(0x143)](_0x37358b){const _0xa9f425=_0x14c714,_0x1af845=this[_0xa9f425(0x1b5)][_0xa9f425(0x1d0)][_0xa9f425(0x172)](_0x310d2a),_0x44021f=this[_0xa9f425(0x12b)](_0x37358b);if(_0x44021f[_0xa9f425(0x1d3)]=!0x1,this[_0xa9f425(0x139)][_0xa9f425(0x131)](_0x44021f)){const _0x2294da=this[_0xa9f425(0x139)][_0xa9f425(0x172)](_0x44021f),_0x2cf20c=_0x2294da[_0xa9f425(0x127)],_0x294e8b=_0x1af845[_0xa9f425(0x170)](_0x2cf20c);this[_0xa9f425(0x139)][_0xa9f425(0x1af)](_0x44021f),this[_0xa9f425(0x19d)][_0xa9f425(0x1af)](_0x2cf20c),_0x294e8b&&_0x1af845[_0xa9f425(0x12e)](_0x294e8b),_0x2294da[_0xa9f425(0x1e0)](),_0x2cf20c[_0xa9f425(0x1e0)]()[_0xa9f425(0x14a)](()=>{const _0x2c5d43=_0xa9f425;this[_0x2c5d43(0x160)](_0x2cf20c);});}}[_0x14c714(0x1b4)]({threadId:_0x146191,resolvedAt:_0x8fca3e,unlinkedAt:_0x375fea}){const _0x528602=_0x14c714,_0x5e795e=!!_0x8fca3e,_0x19bebf=this[_0x528602(0x1b5)][_0x528602(0x1d0)][_0x528602(0x172)](_0x310d2a),_0x177a6f=this[_0x528602(0x12b)](_0x146191);if(this[_0x528602(0x139)][_0x528602(0x131)](_0x177a6f)){const _0x5d1c46=this[_0x528602(0x139)][_0x528602(0x172)](_0x177a6f)[_0x528602(0x127)],_0x4205ec=_0x19bebf[_0x528602(0x170)](_0x5d1c46);_0x4205ec&&(_0x5e795e&&_0x19bebf[_0x528602(0x165)](_0x4205ec),_0x375fea?_0x4205ec[_0x528602(0x16d)]=!0x1:_0x4205ec[_0x528602(0x112)]());}}[_0x14c714(0x164)](_0x148e11){const _0x268712=_0x14c714,_0xd7ea9e=this[_0x268712(0x1b5)][_0x268712(0x1d0)][_0x268712(0x172)](_0x1b812e),_0x17983a=_0x15acb6(_0x268712(0x18e)+_0x148e11),_0x27089e=_0xd7ea9e[_0x268712(0x125)](_0x17983a);return _0x27089e||_0xd7ea9e[_0x268712(0x1ce)]({'id':_0x17983a,'name':_0x148e11});}[_0x14c714(0x141)]({threadId:_0x4c3171,commentId:_0x283d78=_0x27cf66(),content:_0x2bc722,authorId:_0x5cedfa,createdAt:_0x285db6,attributes:_0x4e0c86}){const _0x279fa8=_0x14c714;if(_0x279fa8(0x100)!=typeof _0x283d78)throw new _0x409ffc(_0x279fa8(0x12d));if(_0x279fa8(0x100)!=typeof _0x5cedfa)throw new _0x409ffc(_0x279fa8(0x156));if(_0x279fa8(0x100)!=typeof _0x2bc722||!_0x2bc722[_0x279fa8(0x1d4)]())throw new _0x409ffc(_0x279fa8(0x11d));const _0x2e7722=this[_0x279fa8(0x1b5)][_0x279fa8(0x1d0)][_0x279fa8(0x172)](_0x1b812e)[_0x279fa8(0x125)](_0x5cedfa);if(!_0x2e7722)throw new _0x409ffc(_0x279fa8(0x121),null,{'authorId':_0x5cedfa});let _0x57f0c6=null,_0x4e8f49=_0x285db6;return _0x4e0c86?.[_0x279fa8(0x153)]&&(_0x57f0c6=this[_0x279fa8(0x164)](_0x4e0c86[_0x279fa8(0x153)][_0x279fa8(0x116)]),_0x4e8f49=new Date(_0x4e0c86[_0x279fa8(0x153)][_0x279fa8(0x111)])),new Comment(this,{'threadId':_0x4c3171,'id':_0x283d78,'author':_0x57f0c6||_0x2e7722,'creator':_0x2e7722,'content':_0x2bc722,'createdAt':_0x285db6,'authoredAt':_0x4e8f49,'attributes':_0x4e0c86});}[_0x14c714(0x197)](_0x221d74){const _0xbe264f=_0x14c714;let {threadId:_0xc97220,content:_0x22f189,attributes:_0x35b612,isFromAdapter:_0xc9fe29}=_0x221d74;const _0x354b72=this[_0xbe264f(0x12b)](_0x221d74[_0xbe264f(0x10c)]);if(!_0x354b72)throw new _0x409ffc(_0xbe264f(0x1d5),this);const _0x34f071=this[_0xbe264f(0x141)](_0x221d74),{id:_0x576959}=_0x34f071;if(_0x354b72[_0xbe264f(0x169)](_0x34f071),_0xc9fe29||!this[_0xbe264f(0x1dc)]||_0xbe264f(0x129)!=typeof this[_0xbe264f(0x1dc)][_0xbe264f(0x184)]||!_0x354b72[_0xbe264f(0x1de)])return Promise[_0xbe264f(0x147)]();const _0x2e5052=this[_0xbe264f(0x1b5)][_0xbe264f(0x1d0)][_0xbe264f(0x172)](_0xbe264f(0x18a)),{channelId:_0x14d7cb}=_0x354b72,_0x245ff0=_0x2e5052[_0xbe264f(0x178)](_0x107cbd(this[_0xbe264f(0x1b5)][_0xbe264f(0x17d)],_0xbe264f(0x14f)));return _0x35b612||(_0x35b612={}),this[_0xbe264f(0x1dc)][_0xbe264f(0x184)]({'channelId':_0x14d7cb,'threadId':_0xc97220,'commentId':_0x576959,'content':_0x22f189,'attributes':_0x35b612})[_0xbe264f(0x14a)](_0x450614=>{const _0x318b57=_0xbe264f;_0x2e5052[_0x318b57(0x12e)](_0x245ff0),_0x450614&&this[_0x318b57(0x189)]({'channelId':_0x14d7cb,'threadId':_0xc97220,'commentId':_0x576959,'createdAt':_0x450614[_0x318b57(0x111)],'isFromAdapter':!0x0});})[_0xbe264f(0x166)](_0x24bef6=>{const _0x1d98b1=_0xbe264f;throw console[_0x1d98b1(0x136)](_0x24bef6),new _0x409ffc(_0x1d98b1(0x1c7),this);});}[_0x14c714(0x189)]({threadId:_0x219274,commentId:_0x1fcd07,content:_0x14ebe0,createdAt:_0x58276d,attributes:_0x4169bd,isFromAdapter:_0xd12dad}){const _0x3612a3=_0x14c714;if(void 0x0!==_0x14ebe0&&(_0x3612a3(0x100)!=typeof _0x14ebe0||!_0x14ebe0[_0x3612a3(0x1d4)]()[_0x3612a3(0x161)]))throw new _0x409ffc(_0x3612a3(0x157));const _0x215e01=this[_0x3612a3(0x12b)](_0x219274),_0x4e7998=_0x215e01[_0x3612a3(0x1bb)](_0x1fcd07);if(!_0x4e7998)throw new _0x409ffc(_0x3612a3(0x14c),this);let _0x10bab9=!0x1;if(_0x14ebe0&&_0x14ebe0!==_0x4e7998[_0x3612a3(0x145)]&&(_0x4e7998[_0x3612a3(0x199)]||_0xd12dad)&&(_0x4e7998[_0x3612a3(0x145)]=_0x14ebe0,_0x10bab9=!0x0),_0x58276d&&_0x58276d!==_0x4e7998[_0x3612a3(0x111)]&&(_0x4e7998[_0x3612a3(0x111)]=_0x58276d,_0x4e7998[_0x3612a3(0x196)]&&_0x4e7998[_0x3612a3(0x196)][_0x3612a3(0x153)]||(_0x4e7998[_0x3612a3(0x13a)]=_0x58276d),_0x10bab9=!0x0),_0x4169bd&&!_0x4853b8(_0x4169bd,_0x4e7998[_0x3612a3(0x196)])&&(_0x4e7998[_0x3612a3(0x196)]=_0x4169bd,_0x10bab9=!0x0),!_0x10bab9)return Promise[_0x3612a3(0x147)]();if(_0x215e01[_0x3612a3(0x101)](_0x3612a3(0x191)),_0xd12dad||!this[_0x3612a3(0x1dc)]||_0x3612a3(0x129)!=typeof this[_0x3612a3(0x1dc)][_0x3612a3(0x15e)])return Promise[_0x3612a3(0x147)]();const _0x326c8a=this[_0x3612a3(0x1b5)][_0x3612a3(0x1d0)][_0x3612a3(0x172)](_0x3612a3(0x18a)),{channelId:_0x371e41}=this[_0x3612a3(0x12b)](_0x4e7998[_0x3612a3(0x10c)]),_0xc10067=_0x326c8a[_0x3612a3(0x178)](_0x107cbd(this[_0x3612a3(0x1b5)][_0x3612a3(0x17d)],_0x3612a3(0x14f)));return this[_0x3612a3(0x1dc)][_0x3612a3(0x15e)]({'channelId':_0x371e41,'threadId':_0x219274,'commentId':_0x1fcd07,'content':_0x14ebe0,'attributes':_0x4169bd})[_0x3612a3(0x14a)](()=>_0x326c8a[_0x3612a3(0x12e)](_0xc10067))[_0x3612a3(0x166)](_0x1c1be3=>{const _0xbc8888=_0x3612a3;throw console[_0xbc8888(0x136)](_0x1c1be3),new _0x409ffc(_0xbc8888(0x1c5),this);});}[_0x14c714(0x13d)]({threadId:_0x53c940,commentId:_0x47c8a6,isFromAdapter:_0xc4994d}){const _0x6e498c=_0x14c714,_0x40de95=this[_0x6e498c(0x12b)](_0x53c940),_0x522b0a=_0x40de95[_0x6e498c(0x1bb)](_0x47c8a6);if(!_0x522b0a)throw new _0x409ffc(_0x6e498c(0x192),this);if(_0x40de95[_0x6e498c(0x154)](_0x522b0a),_0xc4994d||!this[_0x6e498c(0x1dc)]||_0x6e498c(0x129)!=typeof this[_0x6e498c(0x1dc)][_0x6e498c(0x1cd)])return Promise[_0x6e498c(0x147)]();const _0x113fed=this[_0x6e498c(0x1b5)][_0x6e498c(0x1d0)][_0x6e498c(0x172)](_0x6e498c(0x18a)),{channelId:_0x1faf18}=_0x40de95,_0xa10131=_0x113fed[_0x6e498c(0x178)](_0x107cbd(this[_0x6e498c(0x1b5)][_0x6e498c(0x17d)],_0x6e498c(0x14f)));return this[_0x6e498c(0x1dc)][_0x6e498c(0x1cd)]({'channelId':_0x1faf18,'threadId':_0x53c940,'commentId':_0x47c8a6})[_0x6e498c(0x14a)](()=>_0x113fed[_0x6e498c(0x12e)](_0xa10131))[_0x6e498c(0x166)](_0x182898=>{const _0x42086f=_0x6e498c;throw console[_0x42086f(0x136)](_0x182898),new _0x409ffc(_0x42086f(0x117),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x319ad5=_0x190d;(function(_0x234b2a,_0x475693){const _0xfc1d4a=_0x190d,_0xe38830=_0x234b2a();while(!![]){try{const _0x590cf5=-parseInt(_0xfc1d4a(0x22c))/0x1+-parseInt(_0xfc1d4a(0x26c))/0x2+-parseInt(_0xfc1d4a(0x2aa))/0x3+parseInt(_0xfc1d4a(0x225))/0x4*(parseInt(_0xfc1d4a(0x207))/0x5)+-parseInt(_0xfc1d4a(0x279))/0x6*(-parseInt(_0xfc1d4a(0x248))/0x7)+parseInt(_0xfc1d4a(0x271))/0x8+-parseInt(_0xfc1d4a(0x26a))/0x9;if(_0x590cf5===_0x475693)break;else _0xe38830['push'](_0xe38830['shift']());}catch(_0x287f9c){_0xe38830['push'](_0xe38830['shift']());}}}(_0x2e30,0xe6bec));import{PendingActions as _0x12fc25,ContextPlugin as _0x1c3cb2,Editor as _0x12f39e}from'ckeditor5/src/core.js';import{Collection as _0x2436e2,uid as _0x973e08,CKEditorError as _0x42d89e,ObservableMixin as _0x54b73e}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x210c22,hashObject as _0x194e0b,Users as _0x579d42}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x26b1ec,isEqual as _0x5cd54d,set as _0x36adfe,unset as _0x3537d4}from'es-toolkit/compat';import _0x3dab8c from'./ui/commentthreadcontroller.js';import _0x2a3689 from'./ui/view/commentthreadview.js';import _0x58059d from'./ui/view/commentview.js';function _0x2e30(){const _0x839e08=['CommentView','commentsrepository-remove-comment-internal-error','isOfficialPlugin','unlinkedAt','isFromAdapter','change:authoredAt','init','set','comments.maxThreadTotalWeight','fetchCommentThread','commentsrepository-add-comment-internal-error','_repository','_removeCommentThread','updateComment','commentId','commentsrepository-invalid-comment-content','_threads','_updateCommentThread','_createCommentThreadView','_addCommentThread','_createNewComment','_submitCommentThread','comment','modifyAll','view','from','remove','string','CommentsRepository','focusableElements','submit','isDirty','pluginName','commentsrepository-remove-missing-comment-thread','@external','_adapter','length','571104YvKOpZ','commentsrepository-adapter-already-set','editorDestroyed','change:isDirty','weight','_unbindEditors','_updateComment','adapter','activeCommentThread','resolvedAt','fire','setActiveCommentThread','focus','commentsrepository-missing-thread-and-adapter-method','_add','resolvedBy','author','highest','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','get','_detachCommentThread','switchReadOnly','max','_getExternalAuthor','has','change:_readOnlyChannels','body','function','isResolved','PendingActions','comments.CommentThreadView','addCommentThread','addUser','reopen','_findOptimalIndex','isRemovable','getByInnerView','commentsrepository-invalid-comment-thread-id','attributes','commentsrepository-active-not-attached','stopListening','getCommentThread','commentsrepository-update-comment-invalid-content','createdAt','commentsrepository-resolve-comment-thread-internal-error','find','focusTracker','PENDING_ACTION_COMMENT_THREAD','attachTo','commentsrepository-remove-missing-comment','external:','bind','setPermissions','commentsrepository-add-comment-user-not-exists','change:_permissions','bodyCollectionContainer','type','comments.editorConfig','resolve','_threadToController','removeComment','commentsrepository-missing-comment-thread','_reopenCommentThread','commentsrepository-resolved-comment-thread','commentUpdated','_bindAnnotationToEditors','15ytBWZC','_removeComment','add','innerHTML','getIndex','activate','getTime','isActive','_permissions','write','commentsrepository-update-comment-internal-error','commentsrepository-add-comment-to-missing-comment-thread','licenseKey','comments.copyMarkers','destroy','catch','change:activeAnnotations','commentsrepository-duplicated-comment-thread-id','commentsrepository-update-missing-comment','context','isSubmitted','resolveCommentThread','filter','commentsrepository-add-comment-thread-internal-error','lowest','plugins','commentsrepository-attach-missing-comment-thread','model','createElement','hasCommentThread','1952696SYozrH','push','requires','setUnlinkedAt','map','_isAttached','commentsrepository-update-comment-missing-comment-thread','1621608FZVsQW','authorName','getComment','_removeActiveAnnotation','refreshVisibility','submitCommentThread','commentsrepository-invalid-commentid','archivedAt','threadId','noChannel','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-reopen-comment-thread','_addComment','_isSubmitted','authoredAt','trim','isReadOnly','error','creator','delete','isExternal','commentsListView','CommentThreadView','div','assign','_remove','reduce','removeCommentThread','1561Zbxean','update','content','commentsrepository-fetch-comment-thread','listenTo','_viewToController','getPermissions','toJSON','values','commentsrepository-active-missing-comment-thread','textContent','commentsrepository-invalid-comment-authorid','channelId','comments.CommentView','innerView','setContext','warn','getCommentThreads','once','config','_readOnlyChannels','commentThreadInputView','isEditable','deactivateAll','addComment','isAttached','locale','_resolveCommentThread','updateCommentThread','commentsrepository-remove-comment-thread-internal-error','admin','commentsrepository-get-comment-invalid-id','isResolvable','then','2051262gXXxPX','commentsrepository-update-comment-thread-internal-error','590776FSJnjq','comments.maxCommentCharsWhenCollapsed','setAttribute','_attachCommentThread','openNewCommentThread','13123128WzEaDV','_updateActiveAnnotation','commentInputView','commentsrepository-missing-target','comments','escape','isVisible','define','4722lUiqag','removeAttribute','isPremiumPlugin','getUser','reopenCommentThread','_hasTargetInContent','canComment','createCommentThreadController','_update','comments.maxCommentsWhenCollapsed','commentsrepository-reopen-comment-thread-internal-error','editorReady'];_0x2e30=function(){return _0x839e08;};return _0x2e30();}import{getTranslation as _0x513a18}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import _0x151837 from'../annotations/view/annotationview.js';import _0x92720a from'../annotations/annotation.js';function _0x190d(_0x5bf3fe,_0x4b7c84){const _0x2e3027=_0x2e30();return _0x190d=function(_0x190d74,_0x521011){_0x190d74=_0x190d74-0x1d6;let _0x3c7a4e=_0x2e3027[_0x190d74];return _0x3c7a4e;},_0x190d(_0x5bf3fe,_0x4b7c84);}import _0x670a0c from'../annotations/annotations.js';const Tt=Symbol(_0x319ad5(0x235)),_t={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export default class o extends _0x1c3cb2{[_0x319ad5(0x295)];[_0x319ad5(0x200)];[_0x319ad5(0x24d)];static get[_0x319ad5(0x227)](){return[_0x670a0c,_0x12fc25,_0x579d42];}static get[_0x319ad5(0x2a5)](){const _0x13fb17=_0x319ad5;return _0x13fb17(0x2a1);}static get[_0x319ad5(0x287)](){return!0x0;}static get[_0x319ad5(0x27b)](){return!0x0;}constructor(_0x47cc84){const _0x362e77=_0x319ad5;super(_0x47cc84),this[_0x362e77(0x295)]=new Map(),this[_0x362e77(0x200)]=new Map(),this[_0x362e77(0x24d)]=new Map(),this[_0x362e77(0x28c)](_0x362e77(0x25c),new Set()),this[_0x362e77(0x28c)](_0x362e77(0x20f),new Map());const _0x565771=this[_0x362e77(0x21a)][_0x362e77(0x25b)];_0x565771[_0x362e77(0x278)](_0x362e77(0x282),0x2),_0x565771[_0x362e77(0x278)](_0x362e77(0x28d),0x1f4),_0x565771[_0x362e77(0x278)](_0x362e77(0x26d),0x8c),_0x565771[_0x362e77(0x278)](_0x362e77(0x1e3),_0x2a3689),_0x565771[_0x362e77(0x278)](_0x362e77(0x255),_0x58059d),_0x565771[_0x362e77(0x1d8)](_0x362e77(0x1fe))||console[_0x362e77(0x258)](_0x362e77(0x1d7));}[_0x319ad5(0x28b)](){const _0x3e3301=_0x319ad5,_0x10a3d6=this[_0x3e3301(0x21a)][_0x3e3301(0x220)][_0x3e3301(0x1d8)](_0x670a0c);this[_0x3e3301(0x28c)](_0x3e3301(0x2b2),null),this['on'](_0x3e3301(0x1e4),(_0xa79792,_0x561cd8)=>this[_0x3e3301(0x298)](_0x561cd8)),this['on'](_0x3e3301(0x231),(_0x171617,_0x42a56e)=>this[_0x3e3301(0x29a)](_0x42a56e)),this['on'](_0x3e3301(0x21c),(_0x2cbd66,_0x4227d4)=>this[_0x3e3301(0x263)](_0x4227d4)),this['on'](_0x3e3301(0x21c),(_0x422c57,_0x3b402b)=>this[_0x3e3301(0x272)](_0x3b402b),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x27d),(_0x567c58,_0x3a7a4f)=>this[_0x3e3301(0x203)](_0x3a7a4f)),this['on'](_0x3e3301(0x27d),(_0xf4998a,_0x14b6b4)=>this[_0x3e3301(0x272)](_0x14b6b4),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x247),(_0x3c7637,_0x585a29)=>this[_0x3e3301(0x291)](_0x585a29)),this['on'](_0x3e3301(0x264),(_0x58f27e,_0x5a747b)=>this[_0x3e3301(0x296)](_0x5a747b)),this['on'](_0x3e3301(0x264),(_0x142861,_0x253d4c)=>this[_0x3e3301(0x272)](_0x253d4c),{'priority':_0x3e3301(0x21f)}),this['on'](_0x3e3301(0x260),(_0x5da939,_0x2270e1)=>this[_0x3e3301(0x238)](_0x2270e1)),this['on'](_0x3e3301(0x292),(_0x147491,_0x557ff3)=>this[_0x3e3301(0x2b0)](_0x557ff3)),this['on'](_0x3e3301(0x201),(_0x3abd36,_0x959529)=>this[_0x3e3301(0x208)](_0x959529)),this['on'](_0x3e3301(0x260),(_0x3f3019,{threadId:_0xb3ca03,isFromAdapter:_0x53f644})=>{const _0x22e40a=_0x3e3301;if(_0x53f644)return;const _0x3701a9=this[_0x22e40a(0x1ee)](_0xb3ca03),_0x5d03e9=_0x3701a9&&this[_0x22e40a(0x200)][_0x22e40a(0x1d8)](_0x3701a9);_0x5d03e9&&_0x5d03e9[_0x22e40a(0x29d)][_0x22e40a(0x241)][_0x22e40a(0x2b6)](-0x1);},{'priority':_0x3e3301(0x21f)}),this[_0x3e3301(0x24c)](_0x10a3d6,_0x3e3301(0x217),(_0x5b80d8,_0x1423f6,_0x2a0bdb)=>{const _0x29a991=_0x3e3301,_0x4f63f9=Array[_0x29a991(0x29e)](_0x2a0bdb)[_0x29a991(0x229)](_0x34305b=>this[_0x29a991(0x24d)][_0x29a991(0x1d8)](_0x34305b[_0x29a991(0x256)]))[_0x29a991(0x21d)](Boolean)[0x0];this[_0x29a991(0x2b2)]=_0x4f63f9?_0x4f63f9[_0x29a991(0x222)]:null;});}set[_0x319ad5(0x2b1)](_0x4a1388){const _0x4393f6=_0x319ad5;if(this[_0x4393f6(0x2a8)])throw new _0x42d89e(_0x4393f6(0x2ab));this[_0x4393f6(0x2a8)]=_0x4a1388;}get[_0x319ad5(0x2b1)](){const _0x24d35a=_0x319ad5;return this[_0x24d35a(0x2a8)];}[_0x319ad5(0x1e4)]({channelId:_0x27349a=Tt,threadId:_0x10039c=_0x973e08(),comments:_0x1dd5e7=[],unlinkedAt:_0x6eb741=null,resolvedAt:_0x312374=null,resolvedBy:_0x411514=null,target:_0x2c9b79=null,context:_0x4b4485=null,attributes:_0x2e35fe={},isResolvable:_0x3e9085=!0x0,isSubmitted:_0x272b20=!0x1,isFromAdapter:_0x121910=!0x1}={}){const _0xf88af9=_0x319ad5;return this[_0xf88af9(0x2b4)](bt(_0xf88af9(0x1e4),_0x27349a),{'channelId':_0x27349a,'threadId':_0x10039c,'comments':_0x1dd5e7,'unlinkedAt':_0x6eb741,'resolvedAt':_0x312374,'resolvedBy':_0x411514,'target':_0x2c9b79,'context':_0x4b4485,'attributes':_0x2e35fe,'isFromAdapter':_0x121910,'isResolvable':_0x3e9085,'isSubmitted':_0x272b20}),this[_0xf88af9(0x1ee)](_0x10039c);}[_0x319ad5(0x270)]({channelId:_0x267ebc=Tt,threadId:_0x4bdcc3=_0x973e08(),target:_0x2c7209,context:_0x564d33=null,isResolvable:_0x2f2a26=!0x0}){const _0x4f41a5=_0x319ad5;if(this[_0x4f41a5(0x25c)][_0x4f41a5(0x1dd)](_0x267ebc)||this[_0x4f41a5(0x25c)][_0x4f41a5(0x1dd)](void 0x0))return null;if(!_0x2c7209)throw new _0x42d89e(_0x4f41a5(0x274));const _0x488e6c=this[_0x4f41a5(0x1e4)]({'channelId':_0x267ebc,'threadId':_0x4bdcc3,'target':_0x2c7209,'context':_0x564d33,'isResolvable':_0x2f2a26});if(!_0x488e6c)return null;const _0x263d21=this[_0x4f41a5(0x200)][_0x4f41a5(0x1d8)](_0x488e6c),_0x27127e=_0x263d21[_0x4f41a5(0x29d)][_0x4f41a5(0x25d)][_0x4f41a5(0x273)],_0x528cf5=this[_0x4f41a5(0x21a)][_0x4f41a5(0x220)][_0x4f41a5(0x1d8)](_0x670a0c),_0x56457e=_0x528cf5[_0x4f41a5(0x1e9)](_0x263d21[_0x4f41a5(0x29d)]);return _0x528cf5[_0x4f41a5(0x20c)](_0x56457e),_0x27127e[_0x4f41a5(0x25a)](_0x4f41a5(0x284),()=>_0x27127e[_0x4f41a5(0x2b6)]()),_0x488e6c;}[_0x319ad5(0x224)](_0x8b3af6){const _0x288565=_0x319ad5;if(_0x288565(0x2a0)!=typeof _0x8b3af6)throw new _0x42d89e(_0x288565(0x1ea));return this[_0x288565(0x295)][_0x288565(0x1dd)](_0x8b3af6);}[_0x319ad5(0x264)]({channelId:_0x510f8f=Tt,threadId:_0xe21775,context:_0x19581f,unlinkedAt:_0x329229,attributes:_0x4fef51,isFromAdapter:_0x1c5337=!0x1}){const _0x216e1f=_0x319ad5;return this[_0x216e1f(0x2b4)](bt(_0x216e1f(0x264),_0x510f8f),{'channelId':_0x510f8f,'threadId':_0xe21775,'context':_0x19581f,'unlinkedAt':_0x329229,'attributes':_0x4fef51,'isFromAdapter':_0x1c5337}),this[_0x216e1f(0x1ee)](_0xe21775);}[_0x319ad5(0x1ee)](_0x3c0285){const _0x1bd80b=_0x319ad5;if(_0x1bd80b(0x2a0)!=typeof _0x3c0285)throw new _0x42d89e(_0x1bd80b(0x1ea));return this[_0x1bd80b(0x295)][_0x1bd80b(0x1d8)](_0x3c0285);}[_0x319ad5(0x28e)]({channelId:_0x21e847,threadId:_0x3239ad}={}){const _0x266399=_0x319ad5,_0x2ac66d=this[_0x266399(0x1ee)](_0x3239ad);if(_0x2ac66d)return Promise[_0x266399(0x1ff)](_0x2ac66d);if(!this[_0x266399(0x2b1)])return Promise[_0x266399(0x1ff)](void 0x0);if(_0x266399(0x1e0)!=typeof this[_0x266399(0x2b1)][_0x266399(0x1ee)])throw new _0x42d89e(_0x266399(0x2b7),this[_0x266399(0x21a)]);return this[_0x266399(0x2b1)][_0x266399(0x1ee)]({'channelId':_0x21e847,'threadId':_0x3239ad})[_0x266399(0x269)](_0x554b29=>this[_0x266399(0x224)](_0x3239ad)?this[_0x266399(0x1ee)](_0x3239ad):_0x554b29?this[_0x266399(0x1e4)](Object[_0x266399(0x244)]({'isFromAdapter':!0x0,'channelId':_0x21e847},_0x554b29)):void 0x0)[_0x266399(0x216)](_0x44fe43=>{const _0x3dca61=_0x266399;throw console[_0x3dca61(0x23d)](_0x44fe43),new _0x42d89e(_0x3dca61(0x24b),this[_0x3dca61(0x21a)]);});}[_0x319ad5(0x259)]({channelId:_0x54b56d,skipNotAttached:_0x82e469=!0x1,skipEmpty:_0x16f2a6=!0x1,toJSON:_0x1e40df=!0x1}={}){const _0x12a4ea=_0x319ad5,_0x55ffce=[];for(const _0x450756 of this[_0x12a4ea(0x295)][_0x12a4ea(0x250)]())_0x54b56d&&_0x450756[_0x12a4ea(0x254)]!==_0x54b56d||_0x82e469&&!_0x450756[_0x12a4ea(0x261)]||_0x16f2a6&&0x0===_0x450756[_0x12a4ea(0x2a9)]||_0x55ffce[_0x12a4ea(0x226)](_0x450756);return _0x1e40df?_0x55ffce[_0x12a4ea(0x229)](_0x2810fa=>_0x2810fa[_0x12a4ea(0x24f)]()):_0x55ffce;}[_0x319ad5(0x2b5)](_0x37b612){const _0x3ab2bd=_0x319ad5,_0x2495ec=this[_0x3ab2bd(0x21a)][_0x3ab2bd(0x220)][_0x3ab2bd(0x1d8)](_0x670a0c);if(!_0x37b612)return void(this[_0x3ab2bd(0x2b2)]&&_0x2495ec[_0x3ab2bd(0x25f)]());const _0x3fd2ad=this[_0x3ab2bd(0x1ee)](_0x37b612);if(!_0x3fd2ad)throw new _0x42d89e(_0x3ab2bd(0x251),null,{'threadId':_0x37b612});if(!this[_0x3ab2bd(0x200)][_0x3ab2bd(0x1dd)](_0x3fd2ad))throw new _0x42d89e(_0x3ab2bd(0x1ec),null,{'threadId':_0x37b612});const _0x461c90=_0x2495ec[_0x3ab2bd(0x1e9)](this[_0x3ab2bd(0x200)][_0x3ab2bd(0x1d8)](_0x3fd2ad)[_0x3ab2bd(0x29d)]);_0x2495ec[_0x3ab2bd(0x20c)](_0x461c90);}[_0x319ad5(0x1da)](_0x205543,_0x1cdfc0){const _0x11b840=_0x319ad5;_0x205543?this[_0x11b840(0x25c)][_0x11b840(0x209)](_0x1cdfc0):this[_0x11b840(0x25c)][_0x11b840(0x23f)](_0x1cdfc0),this[_0x11b840(0x2b4)](_0x11b840(0x1de),_0x11b840(0x25c),this[_0x11b840(0x25c)],this[_0x11b840(0x25c)]);}[_0x319ad5(0x23c)](_0x308945){const _0x12ff8c=_0x319ad5;return this[_0x12ff8c(0x25c)][_0x12ff8c(0x1dd)](_0x308945)||this[_0x12ff8c(0x25c)][_0x12ff8c(0x1dd)](void 0x0);}[_0x319ad5(0x280)](_0x117efa,_0x18646c){return new _0x3dab8c(_0x117efa,_0x18646c);}[_0x319ad5(0x1f9)](_0x218fff,_0x5c3b65=Tt){const _0x474958=_0x319ad5;this[_0x474958(0x20f)][_0x474958(0x28c)](_0x5c3b65,_0x218fff),this[_0x474958(0x2b4)](_0x474958(0x1fb),_0x474958(0x20f),this[_0x474958(0x20f)],this[_0x474958(0x20f)]);}[_0x319ad5(0x24e)](_0x535b40=Tt){const _0x3b9c1e=_0x319ad5;return this[_0x3b9c1e(0x20f)][_0x3b9c1e(0x1dd)](_0x535b40)?this[_0x3b9c1e(0x20f)][_0x3b9c1e(0x1d8)](_0x535b40):_t;}[_0x319ad5(0x298)]({channelId:_0x506e90,threadId:_0x1c3468,comments:_0x3c98b8,unlinkedAt:_0x38ae7f,resolvedAt:_0x30844,resolvedBy:_0x518822,target:_0x495b04,context:_0xd600b2,attributes:_0x15481d,isFromAdapter:_0x2b64fe,isResolvable:_0x5af240,isSubmitted:_0x5c6afb}){const _0x35cf5a=_0x319ad5;if(_0x35cf5a(0x2a0)!=typeof _0x1c3468)throw new _0x42d89e(_0x35cf5a(0x1ea),null,{'threadId':_0x1c3468});if(this[_0x35cf5a(0x224)](_0x1c3468))throw new _0x42d89e(_0x35cf5a(0x218),null,{'threadId':_0x1c3468});const _0x439e5b=new CommentThread(this,{'channelId':_0x506e90,'id':_0x1c3468,'context':_0xd600b2,'attributes':_0x15481d,'unlinkedAt':_0x38ae7f,'resolvedAt':_0x30844,'resolvedBy':_0x518822?this[_0x35cf5a(0x21a)][_0x35cf5a(0x220)][_0x35cf5a(0x1d8)](_0x579d42)[_0x35cf5a(0x27c)](_0x518822):null,'isResolvable':_0x5af240,'isSubmitted':_0x5c6afb||_0x2b64fe});this[_0x35cf5a(0x295)][_0x35cf5a(0x28c)](_0x1c3468,_0x439e5b);for(const _0x3438cb of _0x3c98b8)_0x439e5b[_0x35cf5a(0x2b8)](this[_0x35cf5a(0x299)]({'threadId':_0x1c3468,..._0x3438cb}));return _0x495b04&&_0x439e5b[_0x35cf5a(0x1f5)](_0x495b04),_0x2b64fe||!_0x439e5b[_0x35cf5a(0x2a9)]?Promise[_0x35cf5a(0x1ff)]():this[_0x35cf5a(0x29a)]({'channelId':_0x506e90,'threadId':_0x1c3468});}[_0x319ad5(0x29a)]({channelId:_0x457bef,threadId:_0x372879}){const _0x532837=_0x319ad5;if(!this[_0x532837(0x224)](_0x372879))throw new _0x42d89e(_0x532837(0x202),this);const _0x16db53=this[_0x532837(0x1ee)](_0x372879);if(_0x16db53[_0x532837(0x239)]=!0x0,!this[_0x532837(0x2b1)]||_0x532837(0x1e0)!=typeof this[_0x532837(0x2b1)][_0x532837(0x1e4)])return Promise[_0x532837(0x1ff)]();const {id:_0x380231,comments:_0x14e509,resolvedAt:_0x324868,resolvedBy:_0x35083d,context:_0x469be2,attributes:_0x4d3782}=_0x16db53,_0x5845e9=this[_0x532837(0x21a)][_0x532837(0x220)][_0x532837(0x1d8)](_0x532837(0x1e2)),_0x20d8f4=_0x5845e9[_0x532837(0x209)](_0x513a18(this[_0x532837(0x21a)][_0x532837(0x262)],_0x532837(0x1f4)));return this[_0x532837(0x2b1)][_0x532837(0x1e4)]({'channelId':_0x457bef,'threadId':_0x380231,'comments':_0x14e509[_0x532837(0x229)](_0x2e71e8=>_0x2e71e8[_0x532837(0x24f)]()),'resolvedAt':_0x324868,'resolvedBy':_0x35083d?_0x35083d['id']:_0x35083d,'context':_0x469be2,'attributes':_0x4d3782})[_0x532837(0x269)](({comments:_0x558c78})=>{const _0x24cb85=_0x532837;_0x5845e9[_0x24cb85(0x29f)](_0x20d8f4);for(const _0x41d5c8 of _0x558c78)this[_0x24cb85(0x2b0)]({'channelId':_0x457bef,'threadId':_0x372879,'commentId':_0x41d5c8[_0x24cb85(0x293)],'createdAt':_0x41d5c8[_0x24cb85(0x1f0)],'isFromAdapter':!0x0});})[_0x532837(0x216)](_0x345175=>{const _0x2d34ad=_0x532837;throw console[_0x2d34ad(0x23d)](_0x345175),new _0x42d89e(_0x2d34ad(0x21e),this);});}[_0x319ad5(0x26f)]({threadId:_0x2640c0,target:_0x5e080c}){const _0x42eb32=_0x319ad5,_0x2e6924=this[_0x42eb32(0x1ee)](_0x2640c0);if(!_0x2e6924)throw new _0x42d89e(_0x42eb32(0x221),this);const _0x5d4a86=this[_0x42eb32(0x21a)][_0x42eb32(0x220)][_0x42eb32(0x1d8)](_0x42eb32(0x1e2)),_0x5acd69=this[_0x42eb32(0x21a)][_0x42eb32(0x220)][_0x42eb32(0x1d8)](_0x670a0c),_0xefdd2=this[_0x42eb32(0x297)](_0x2e6924),_0x42db3a=new _0x3dab8c(_0x2e6924,_0xefdd2);let _0x26b205=null;_0xefdd2['on'](_0x42eb32(0x2ad),(_0x396542,_0x50aab8,_0x1c4c87)=>{const _0x53d7fc=_0x42eb32;_0x1c4c87?_0x26b205=_0x5d4a86[_0x53d7fc(0x209)](_0x513a18(this[_0x53d7fc(0x21a)][_0x53d7fc(0x262)],_0x53d7fc(0x1f4))):_0x26b205&&(_0x5d4a86[_0x53d7fc(0x29f)](_0x26b205),_0x26b205=null);}),this[_0x42eb32(0x200)][_0x42eb32(0x28c)](_0x2e6924,_0x42db3a),this[_0x42eb32(0x24d)][_0x42eb32(0x28c)](_0xefdd2,_0x42db3a);const _0x36462d=new _0x151837(this[_0x42eb32(0x21a)][_0x42eb32(0x262)],_0xefdd2);_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x2a9))['to'](_0xefdd2),_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x2a4))['to'](_0xefdd2,_0x42eb32(0x2a4),_0xefdd2,_0x42eb32(0x2a9),(_0x140790,_0x5b225d)=>_0x140790||!_0x5b225d),_0x36462d[_0x42eb32(0x1f8)](_0x42eb32(0x20e))['to'](_0xefdd2),_0x36462d[_0x42eb32(0x1fd)]=_0x42eb32(0x29b);const _0x39b20a=new _0x92720a({'view':_0x36462d,'target':_0x5e080c,'type':_0x42eb32(0x29b),'isVisible':!_0x2e6924[_0x42eb32(0x233)]});return _0xefdd2['on'](_0x42eb32(0x276),()=>{const _0x3062f2=_0x42eb32;_0x39b20a[_0x3062f2(0x2b4)](_0x3062f2(0x276));}),this[_0x42eb32(0x206)](_0xefdd2,_0x39b20a),_0x5acd69[_0x42eb32(0x209)](_0x39b20a),_0x39b20a;}[_0x319ad5(0x206)](_0x24b036,_0x3115d0){const _0x38790e=_0x319ad5;this[_0x38790e(0x24c)](_0x24b036,_0x38790e(0x284),(_0x29de7f,_0x1ed3c4)=>{const _0x48ec0a=_0x38790e,_0x332dc5=_0x1ed3c4['ui'][_0x48ec0a(0x29d)][_0x48ec0a(0x1df)][_0x48ec0a(0x1fc)];_0x3115d0[_0x48ec0a(0x2a2)][_0x48ec0a(0x209)](_0x332dc5),this[_0x48ec0a(0x21a)]instanceof _0x12f39e&&this[_0x48ec0a(0x21a)]['ui'][_0x48ec0a(0x1f3)][_0x48ec0a(0x209)](_0x332dc5);},{'priority':_0x38790e(0x1d6)}),this[_0x38790e(0x24c)](_0x24b036,_0x38790e(0x2ac),(_0x20270b,_0x274312)=>{const _0x293c85=_0x38790e,_0x212d17=_0x274312['ui'][_0x293c85(0x29d)][_0x293c85(0x1df)][_0x293c85(0x1fc)];_0x3115d0[_0x293c85(0x2a2)][_0x293c85(0x1dd)](_0x212d17)&&_0x3115d0[_0x293c85(0x2a2)][_0x293c85(0x29f)](_0x212d17),this[_0x293c85(0x21a)]instanceof _0x12f39e&&this[_0x293c85(0x21a)]['ui'][_0x293c85(0x1f3)][_0x293c85(0x29f)](_0x212d17);});}[_0x319ad5(0x2af)](_0x35cd4f){const _0x2e8948=_0x319ad5;this[_0x2e8948(0x1ed)](_0x35cd4f,_0x2e8948(0x284)),this[_0x2e8948(0x1ed)](_0x35cd4f,_0x2e8948(0x2ac));}[_0x319ad5(0x297)](_0xba9b46){const _0x34c152=_0x319ad5,_0x70826=this[_0x34c152(0x21a)][_0x34c152(0x220)][_0x34c152(0x1d8)](_0x579d42),{config:_0x2f6607,locale:_0x16b834}=this[_0x34c152(0x21a)],_0x5ea25e=_0x210c22(_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x262)),_0x16b834);return new(0x0,(_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x275)))[(_0x34c152(0x242))])(_0x16b834,_0xba9b46,_0x70826['me'],{'editorConfig':{..._0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x1fe)),'licenseKey':this[_0x34c152(0x21a)][_0x34c152(0x25b)][_0x34c152(0x1d8)](_0x34c152(0x213))},'copyMarkers':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x214)),'maxCommentsWhenCollapsed':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x282)),'maxThreadTotalWeight':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x28d)),'maxCommentCharsWhenCollapsed':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x26d)),'formatDateTime':_0x5ea25e,'CommentView':_0x2f6607[_0x34c152(0x1d8)](_0x34c152(0x275))[_0x34c152(0x285)]});}[_0x319ad5(0x263)]({threadId:_0x2db3dc,channelId:_0xba4101,resolvedAt:_0x125049,resolvedBy:_0x50b660,isFromAdapter:_0x25b04f}){const _0x2f23e5=_0x319ad5;if(!this[_0x2f23e5(0x224)](_0x2db3dc))throw new _0x42d89e(_0x2f23e5(0x202),null,{'threadId':_0x2db3dc});const _0x5eab35=this[_0x2f23e5(0x1ee)](_0x2db3dc);if(_0x5eab35[_0x2f23e5(0x1e1)])throw new _0x42d89e(_0x2f23e5(0x204),null,{'threadId':_0x2db3dc});const _0x2c89e3=this[_0x2f23e5(0x21a)][_0x2f23e5(0x220)][_0x2f23e5(0x1d8)](_0x579d42);if(_0x5eab35[_0x2f23e5(0x2b9)]=_0x2c89e3[_0x2f23e5(0x27c)](_0x50b660),_0x5eab35[_0x2f23e5(0x2b3)]=_0x125049,_0x25b04f||!this[_0x2f23e5(0x2b1)]||_0x2f23e5(0x1e0)!=typeof this[_0x2f23e5(0x2b1)][_0x2f23e5(0x21c)])return Promise[_0x2f23e5(0x1ff)]();const _0x153af5=this[_0x2f23e5(0x21a)][_0x2f23e5(0x220)][_0x2f23e5(0x1d8)](_0x2f23e5(0x1e2)),_0x176bad=_0x153af5[_0x2f23e5(0x209)](_0x513a18(this[_0x2f23e5(0x21a)][_0x2f23e5(0x262)],_0x2f23e5(0x1f4)));return this[_0x2f23e5(0x2b1)][_0x2f23e5(0x21c)]({'channelId':_0xba4101,'threadId':_0x2db3dc})[_0x2f23e5(0x269)](({resolvedAt:_0x19992d,resolvedBy:_0xabe027})=>{const _0x23b1c6=_0x2f23e5;_0x153af5[_0x23b1c6(0x29f)](_0x176bad),_0x5eab35[_0x23b1c6(0x2b9)]['id']!==_0xabe027&&(_0x5eab35[_0x23b1c6(0x2b9)]=_0x2c89e3[_0x23b1c6(0x27c)](_0xabe027)),_0x5eab35[_0x23b1c6(0x2b3)]=_0x19992d;})[_0x2f23e5(0x216)](_0x97d25b=>{const _0x57a033=_0x2f23e5;throw console[_0x57a033(0x23d)](_0x97d25b),new _0x42d89e(_0x57a033(0x1f1),this);});}[_0x319ad5(0x203)]({threadId:_0x3415de,channelId:_0x24a1e1,isFromAdapter:_0x494544}){const _0x7c9928=_0x319ad5;if(!this[_0x7c9928(0x224)](_0x3415de))throw new _0x42d89e(_0x7c9928(0x202),null,{'threadId':_0x3415de});const _0x32d2ff=this[_0x7c9928(0x1ee)](_0x3415de);if(!_0x32d2ff[_0x7c9928(0x1e1)])throw new _0x42d89e(_0x7c9928(0x237),null,{'threadId':_0x3415de});if(_0x32d2ff[_0x7c9928(0x2b9)]=null,_0x32d2ff[_0x7c9928(0x2b3)]=null,_0x494544||!this[_0x7c9928(0x2b1)]||_0x7c9928(0x1e0)!=typeof this[_0x7c9928(0x2b1)][_0x7c9928(0x27d)])return Promise[_0x7c9928(0x1ff)]();const _0x39b773=this[_0x7c9928(0x21a)][_0x7c9928(0x220)][_0x7c9928(0x1d8)](_0x7c9928(0x1e2)),_0x452294=_0x39b773[_0x7c9928(0x209)](_0x513a18(this[_0x7c9928(0x21a)][_0x7c9928(0x262)],_0x7c9928(0x1f4)));return this[_0x7c9928(0x2b1)][_0x7c9928(0x27d)]({'channelId':_0x24a1e1,'threadId':_0x3415de})[_0x7c9928(0x269)](()=>_0x39b773[_0x7c9928(0x29f)](_0x452294))[_0x7c9928(0x216)](_0x222d23=>{const _0x21141e=_0x7c9928;throw console[_0x21141e(0x23d)](_0x222d23),new _0x42d89e(_0x21141e(0x283),this);});}[_0x319ad5(0x291)]({threadId:_0x65262d,isFromAdapter:_0xaf4f2b}){const _0x423180=_0x319ad5,_0x352d7c=this[_0x423180(0x1ee)](_0x65262d);if(!_0x352d7c)throw new _0x42d89e(_0x423180(0x2a6),this);if(this[_0x423180(0x1d9)](_0x65262d),this[_0x423180(0x295)][_0x423180(0x23f)](_0x65262d),!_0x352d7c[_0x423180(0x21b)]||_0xaf4f2b||!this[_0x423180(0x2b1)]||_0x423180(0x1e0)!=typeof this[_0x423180(0x2b1)][_0x423180(0x247)])return Promise[_0x423180(0x1ff)]();const _0x4197c0=this[_0x423180(0x21a)][_0x423180(0x220)][_0x423180(0x1d8)](_0x423180(0x1e2)),{channelId:_0x56950a}=_0x352d7c,_0x53a662=_0x4197c0[_0x423180(0x209)](_0x513a18(this[_0x423180(0x21a)][_0x423180(0x262)],_0x423180(0x1f4)));return this[_0x423180(0x2b1)][_0x423180(0x247)]({'channelId':_0x56950a,'threadId':_0x65262d})[_0x423180(0x269)](()=>_0x4197c0[_0x423180(0x29f)](_0x53a662))[_0x423180(0x216)](_0x16c783=>{const _0x48f336=_0x423180;throw console[_0x48f336(0x23d)](_0x16c783),new _0x42d89e(_0x48f336(0x265),this);});}[_0x319ad5(0x296)]({threadId:_0x3d0018,unlinkedAt:_0x32cc0d,context:_0x3b0586,attributes:_0x5c2b9,isFromAdapter:_0x4f726e}){const _0x2514e3=_0x319ad5;if(_0x2514e3(0x2a0)!=typeof _0x3d0018)throw new _0x42d89e(_0x2514e3(0x1ea),null,{'threadId':_0x3d0018});if(!this[_0x2514e3(0x224)](_0x3d0018))throw new _0x42d89e(_0x2514e3(0x202),null,{'threadId':_0x3d0018});const _0x324989=this[_0x2514e3(0x1ee)](_0x3d0018);let _0x2173a4=!0x1;if(void 0x0!==_0x3b0586&&_0x324989[_0x2514e3(0x21a)]!==_0x3b0586&&(_0x324989[_0x2514e3(0x21a)]=_0x3b0586,_0x2173a4=!0x0),void 0x0!==_0x32cc0d&&_0x324989[_0x2514e3(0x288)]!==_0x32cc0d&&(_0x324989[_0x2514e3(0x288)]=_0x32cc0d,_0x2173a4=!0x0),_0x5c2b9&&!_0x5cd54d(_0x5c2b9,_0x324989[_0x2514e3(0x1eb)])&&(_0x324989[_0x2514e3(0x1eb)]=_0x5c2b9,_0x2173a4=!0x0),!_0x2173a4)return Promise[_0x2514e3(0x1ff)]();if(!_0x324989[_0x2514e3(0x21b)]||_0x4f726e||!this[_0x2514e3(0x2b1)]||_0x2514e3(0x1e0)!=typeof this[_0x2514e3(0x2b1)][_0x2514e3(0x264)])return Promise[_0x2514e3(0x1ff)]();const _0x224756=this[_0x2514e3(0x21a)][_0x2514e3(0x220)][_0x2514e3(0x1d8)](_0x2514e3(0x1e2)),{channelId:_0x4d0edd}=_0x324989,_0x29ad3b=_0x224756[_0x2514e3(0x209)](_0x513a18(this[_0x2514e3(0x21a)][_0x2514e3(0x262)],_0x2514e3(0x1f4)));return this[_0x2514e3(0x2b1)][_0x2514e3(0x264)]({'channelId':_0x4d0edd,'threadId':_0x3d0018,'context':_0x3b0586,'unlinkedAt':_0x32cc0d,'attributes':_0x5c2b9})[_0x2514e3(0x269)](()=>_0x224756[_0x2514e3(0x29f)](_0x29ad3b))[_0x2514e3(0x216)](_0x524aaa=>{const _0x324623=_0x2514e3;throw console[_0x324623(0x23d)](_0x524aaa),new _0x42d89e(_0x324623(0x26b),this);});}[_0x319ad5(0x1d9)](_0x4fc474){const _0x9edfbe=_0x319ad5,_0x5a7003=this[_0x9edfbe(0x21a)][_0x9edfbe(0x220)][_0x9edfbe(0x1d8)](_0x670a0c),_0x50a51a=this[_0x9edfbe(0x1ee)](_0x4fc474);if(_0x50a51a[_0x9edfbe(0x22a)]=!0x1,this[_0x9edfbe(0x200)][_0x9edfbe(0x1dd)](_0x50a51a)){const _0x592fb6=this[_0x9edfbe(0x200)][_0x9edfbe(0x1d8)](_0x50a51a),_0x208972=_0x592fb6[_0x9edfbe(0x29d)],_0x23f7aa=_0x5a7003[_0x9edfbe(0x1e9)](_0x208972);this[_0x9edfbe(0x200)][_0x9edfbe(0x23f)](_0x50a51a),this[_0x9edfbe(0x24d)][_0x9edfbe(0x23f)](_0x208972),_0x23f7aa&&_0x5a7003[_0x9edfbe(0x29f)](_0x23f7aa),_0x592fb6[_0x9edfbe(0x215)](),_0x208972[_0x9edfbe(0x215)]()[_0x9edfbe(0x269)](()=>{const _0xab2b71=_0x9edfbe;this[_0xab2b71(0x2af)](_0x208972);});}}[_0x319ad5(0x272)]({threadId:_0xa42f36,resolvedAt:_0x11df77,unlinkedAt:_0x1ce387}){const _0x38fb9f=_0x319ad5,_0x49bc90=!!_0x11df77,_0x57110c=this[_0x38fb9f(0x21a)][_0x38fb9f(0x220)][_0x38fb9f(0x1d8)](_0x670a0c),_0x50dc0d=this[_0x38fb9f(0x1ee)](_0xa42f36);if(this[_0x38fb9f(0x200)][_0x38fb9f(0x1dd)](_0x50dc0d)){const _0x10cb85=this[_0x38fb9f(0x200)][_0x38fb9f(0x1d8)](_0x50dc0d)[_0x38fb9f(0x29d)],_0x9dc4a4=_0x57110c[_0x38fb9f(0x1e9)](_0x10cb85);_0x9dc4a4&&(_0x49bc90&&_0x57110c[_0x38fb9f(0x22f)](_0x9dc4a4),_0x1ce387?_0x9dc4a4[_0x38fb9f(0x277)]=!0x1:_0x9dc4a4[_0x38fb9f(0x230)]());}}[_0x319ad5(0x1dc)](_0xeb5de4){const _0x3ff861=_0x319ad5,_0x5dba67=this[_0x3ff861(0x21a)][_0x3ff861(0x220)][_0x3ff861(0x1d8)](_0x579d42),_0x423068=_0x194e0b(_0x3ff861(0x1f7)+_0xeb5de4),_0x43856d=_0x5dba67[_0x3ff861(0x27c)](_0x423068);return _0x43856d||_0x5dba67[_0x3ff861(0x1e5)]({'id':_0x423068,'name':_0xeb5de4});}[_0x319ad5(0x299)]({threadId:_0x59964c,commentId:_0x4b2a5a=_0x973e08(),content:_0x49dde3,authorId:_0xdc5bb1,createdAt:_0x4e995a,attributes:_0x6f7c77}){const _0xfdcf88=_0x319ad5;if(_0xfdcf88(0x2a0)!=typeof _0x4b2a5a)throw new _0x42d89e(_0xfdcf88(0x232));if(_0xfdcf88(0x2a0)!=typeof _0xdc5bb1)throw new _0x42d89e(_0xfdcf88(0x253));if(_0xfdcf88(0x2a0)!=typeof _0x49dde3||!_0x49dde3[_0xfdcf88(0x23b)]())throw new _0x42d89e(_0xfdcf88(0x294));const _0x1afff0=this[_0xfdcf88(0x21a)][_0xfdcf88(0x220)][_0xfdcf88(0x1d8)](_0x579d42)[_0xfdcf88(0x27c)](_0xdc5bb1);if(!_0x1afff0)throw new _0x42d89e(_0xfdcf88(0x1fa),null,{'authorId':_0xdc5bb1});let _0x361b23=null,_0xc7de69=_0x4e995a;return _0x6f7c77?.[_0xfdcf88(0x2a7)]&&(_0x361b23=this[_0xfdcf88(0x1dc)](_0x6f7c77[_0xfdcf88(0x2a7)][_0xfdcf88(0x22d)]),_0xc7de69=new Date(_0x6f7c77[_0xfdcf88(0x2a7)][_0xfdcf88(0x1f0)])),new Comment(this,{'threadId':_0x59964c,'id':_0x4b2a5a,'author':_0x361b23||_0x1afff0,'creator':_0x1afff0,'content':_0x49dde3,'createdAt':_0x4e995a,'authoredAt':_0xc7de69,'attributes':_0x6f7c77});}[_0x319ad5(0x238)](_0x4b6b79){const _0x555907=_0x319ad5;let {threadId:_0x43bbba,content:_0x27d86e,attributes:_0x10e300,isFromAdapter:_0x4d4e14}=_0x4b6b79;const _0x2459cb=this[_0x555907(0x1ee)](_0x4b6b79[_0x555907(0x234)]);if(!_0x2459cb)throw new _0x42d89e(_0x555907(0x212),this);const _0x4c5fae=this[_0x555907(0x299)](_0x4b6b79),{id:_0x5c1c7c}=_0x4c5fae;if(_0x2459cb[_0x555907(0x2b8)](_0x4c5fae),_0x4d4e14||!this[_0x555907(0x2b1)]||_0x555907(0x1e0)!=typeof this[_0x555907(0x2b1)][_0x555907(0x260)]||!_0x2459cb[_0x555907(0x21b)])return Promise[_0x555907(0x1ff)]();const _0x4eae9e=this[_0x555907(0x21a)][_0x555907(0x220)][_0x555907(0x1d8)](_0x555907(0x1e2)),{channelId:_0x389aea}=_0x2459cb,_0x10755f=_0x4eae9e[_0x555907(0x209)](_0x513a18(this[_0x555907(0x21a)][_0x555907(0x262)],_0x555907(0x1f4)));return _0x10e300||(_0x10e300={}),this[_0x555907(0x2b1)][_0x555907(0x260)]({'channelId':_0x389aea,'threadId':_0x43bbba,'commentId':_0x5c1c7c,'content':_0x27d86e,'attributes':_0x10e300})[_0x555907(0x269)](_0x26d47b=>{const _0x3d46d8=_0x555907;_0x4eae9e[_0x3d46d8(0x29f)](_0x10755f),_0x26d47b&&this[_0x3d46d8(0x2b0)]({'channelId':_0x389aea,'threadId':_0x43bbba,'commentId':_0x5c1c7c,'createdAt':_0x26d47b[_0x3d46d8(0x1f0)],'isFromAdapter':!0x0});})[_0x555907(0x216)](_0x56c617=>{const _0x4499d8=_0x555907;throw console[_0x4499d8(0x23d)](_0x56c617),new _0x42d89e(_0x4499d8(0x28f),this);});}[_0x319ad5(0x2b0)]({threadId:_0x3793d8,commentId:_0x410ff7,content:_0x1412a1,createdAt:_0x598430,attributes:_0x385a29,isFromAdapter:_0x17f12c}){const _0x48b397=_0x319ad5;if(void 0x0!==_0x1412a1&&(_0x48b397(0x2a0)!=typeof _0x1412a1||!_0x1412a1[_0x48b397(0x23b)]()[_0x48b397(0x2a9)]))throw new _0x42d89e(_0x48b397(0x1ef));const _0x48c5d6=this[_0x48b397(0x1ee)](_0x3793d8),_0x1ceb2b=_0x48c5d6[_0x48b397(0x22e)](_0x410ff7);if(!_0x1ceb2b)throw new _0x42d89e(_0x48b397(0x219),this);let _0x4ffe78=!0x1;if(_0x1412a1&&_0x1412a1!==_0x1ceb2b[_0x48b397(0x24a)]&&(_0x1ceb2b[_0x48b397(0x25e)]||_0x17f12c)&&(_0x1ceb2b[_0x48b397(0x24a)]=_0x1412a1,_0x4ffe78=!0x0),_0x598430&&_0x598430!==_0x1ceb2b[_0x48b397(0x1f0)]&&(_0x1ceb2b[_0x48b397(0x1f0)]=_0x598430,_0x1ceb2b[_0x48b397(0x1eb)]&&_0x1ceb2b[_0x48b397(0x1eb)][_0x48b397(0x2a7)]||(_0x1ceb2b[_0x48b397(0x23a)]=_0x598430),_0x4ffe78=!0x0),_0x385a29&&!_0x5cd54d(_0x385a29,_0x1ceb2b[_0x48b397(0x1eb)])&&(_0x1ceb2b[_0x48b397(0x1eb)]=_0x385a29,_0x4ffe78=!0x0),!_0x4ffe78)return Promise[_0x48b397(0x1ff)]();if(_0x48c5d6[_0x48b397(0x2b4)](_0x48b397(0x205)),_0x17f12c||!this[_0x48b397(0x2b1)]||_0x48b397(0x1e0)!=typeof this[_0x48b397(0x2b1)][_0x48b397(0x292)])return Promise[_0x48b397(0x1ff)]();const _0x2f3d02=this[_0x48b397(0x21a)][_0x48b397(0x220)][_0x48b397(0x1d8)](_0x48b397(0x1e2)),{channelId:_0x8a7048}=this[_0x48b397(0x1ee)](_0x1ceb2b[_0x48b397(0x234)]),_0x257efa=_0x2f3d02[_0x48b397(0x209)](_0x513a18(this[_0x48b397(0x21a)][_0x48b397(0x262)],_0x48b397(0x1f4)));return this[_0x48b397(0x2b1)][_0x48b397(0x292)]({'channelId':_0x8a7048,'threadId':_0x3793d8,'commentId':_0x410ff7,'content':_0x1412a1,'attributes':_0x385a29})[_0x48b397(0x269)](()=>_0x2f3d02[_0x48b397(0x29f)](_0x257efa))[_0x48b397(0x216)](_0x4d6875=>{const _0x4446cb=_0x48b397;throw console[_0x4446cb(0x23d)](_0x4d6875),new _0x42d89e(_0x4446cb(0x211),this);});}[_0x319ad5(0x208)]({threadId:_0x2f9d1e,commentId:_0x4ecdec,isFromAdapter:_0x5723f8}){const _0x3f73d3=_0x319ad5,_0x4482fb=this[_0x3f73d3(0x1ee)](_0x2f9d1e),_0x2dbbf0=_0x4482fb[_0x3f73d3(0x22e)](_0x4ecdec);if(!_0x2dbbf0)throw new _0x42d89e(_0x3f73d3(0x1f6),this);if(_0x4482fb[_0x3f73d3(0x245)](_0x2dbbf0),_0x5723f8||!this[_0x3f73d3(0x2b1)]||_0x3f73d3(0x1e0)!=typeof this[_0x3f73d3(0x2b1)][_0x3f73d3(0x201)])return Promise[_0x3f73d3(0x1ff)]();const _0x21cfde=this[_0x3f73d3(0x21a)][_0x3f73d3(0x220)][_0x3f73d3(0x1d8)](_0x3f73d3(0x1e2)),{channelId:_0x4e38be}=_0x4482fb,_0x13b802=_0x21cfde[_0x3f73d3(0x209)](_0x513a18(this[_0x3f73d3(0x21a)][_0x3f73d3(0x262)],_0x3f73d3(0x1f4)));return this[_0x3f73d3(0x2b1)][_0x3f73d3(0x201)]({'channelId':_0x4e38be,'threadId':_0x2f9d1e,'commentId':_0x4ecdec})[_0x3f73d3(0x269)](()=>_0x21cfde[_0x3f73d3(0x29f)](_0x13b802))[_0x3f73d3(0x216)](_0x4dbf09=>{const _0x2b98d4=_0x3f73d3;throw console[_0x2b98d4(0x23d)](_0x4dbf09),new _0x42d89e(_0x2b98d4(0x286),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x54b73e(){[_0x319ad5(0x254)];['id'];[_0x319ad5(0x22a)];[_0x319ad5(0x239)];[_0x319ad5(0x275)];[_0x319ad5(0x290)];constructor(_0x1b5e43,_0x1c7996){const _0x1b32b8=_0x319ad5;super();const _0x21408e=_0x1c7996[_0x1b32b8(0x268)];this[_0x1b32b8(0x254)]=_0x1c7996[_0x1b32b8(0x254)],this['id']=_0x1c7996['id'],this[_0x1b32b8(0x275)]=new _0x2436e2(),this[_0x1b32b8(0x290)]=_0x1b5e43,this[_0x1b32b8(0x22a)]=!0x1,this[_0x1b32b8(0x239)]=_0x1c7996[_0x1b32b8(0x21b)],this[_0x1b32b8(0x28c)](_0x1b32b8(0x27e),!0x0),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x23c))['to'](_0x1b5e43,_0x1b32b8(0x20f),_0x1b5e43,_0x1b32b8(0x25c),()=>_0x1b5e43[_0x1b32b8(0x23c)](this[_0x1b32b8(0x254)])),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x1e8))['to'](_0x1b5e43,_0x1b32b8(0x20f),()=>_0x1b5e43[_0x1b32b8(0x24e)](this[_0x1b32b8(0x254)])[_0x1b32b8(0x266)]),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x27f))['to'](_0x1b5e43,_0x1b32b8(0x20f),()=>{const _0x50e7fb=_0x1b32b8,_0x5480a9=_0x1b5e43[_0x50e7fb(0x24e)](this[_0x50e7fb(0x254)]);return _0x5480a9[_0x50e7fb(0x210)]||_0x5480a9[_0x50e7fb(0x266)];}),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x268))['to'](_0x1b5e43,_0x1b32b8(0x20f),()=>_0x21408e&&_0x1b5e43[_0x1b32b8(0x24e)](this[_0x1b32b8(0x254)])[_0x1b32b8(0x1ff)]),this[_0x1b32b8(0x28c)](_0x1b32b8(0x21a),_0x1c7996[_0x1b32b8(0x21a)]),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x233))['to'](this,_0x1b32b8(0x2b3),this,_0x1b32b8(0x288),(_0x294649,_0x54f0be)=>_0x294649?_0x54f0be?_0x294649<_0x54f0be?_0x294649:_0x54f0be:_0x294649:_0x54f0be),this[_0x1b32b8(0x28c)](_0x1b32b8(0x288),_0x1c7996[_0x1b32b8(0x288)]||null),this[_0x1b32b8(0x28c)](_0x1b32b8(0x2b3),_0x1c7996[_0x1b32b8(0x2b3)]||null),this[_0x1b32b8(0x28c)](_0x1b32b8(0x2b9),_0x1c7996[_0x1b32b8(0x2b9)]||null),this[_0x1b32b8(0x1f8)](_0x1b32b8(0x1e1))['to'](this,_0x1b32b8(0x2b3),_0x2de4be=>!!_0x2de4be),this[_0x1b32b8(0x28c)](_0x1b32b8(0x1eb),_0x1c7996[_0x1b32b8(0x1eb)]||{});}get[_0x319ad5(0x2ae)](){const _0x5ac22c=_0x319ad5;return Array[_0x5ac22c(0x29e)](this[_0x5ac22c(0x275)])[_0x5ac22c(0x246)]((_0x3b2f5d,_0x20e9e3)=>_0x3b2f5d+_0x20e9e3[_0x5ac22c(0x2ae)],0x0);}get[_0x319ad5(0x2a9)](){const _0x58a76a=_0x319ad5;return this[_0x58a76a(0x275)][_0x58a76a(0x2a9)];}get[_0x319ad5(0x261)](){const _0x438d67=_0x319ad5;return this[_0x438d67(0x22a)];}get[_0x319ad5(0x21b)](){const _0x480180=_0x319ad5;return this[_0x480180(0x239)];}[_0x319ad5(0x2a3)](){const _0x3c03f5=_0x319ad5,{channelId:_0x45d59c,id:_0x3d6e36}=this;this[_0x3c03f5(0x290)][_0x3c03f5(0x2b4)](bt(_0x3c03f5(0x231),_0x45d59c),{'channelId':_0x45d59c,'threadId':_0x3d6e36});}[_0x319ad5(0x228)](_0x2c5805){const _0x20be5c=_0x319ad5;this[_0x20be5c(0x281)]({'unlinkedAt':_0x2c5805});}[_0x319ad5(0x1ff)]({resolvedAt:_0x2b36ba=new Date(),resolvedBy:_0x181b89=null,isFromAdapter:_0x3a914c=!0x1}={}){const _0x3edfba=_0x319ad5,_0x3af4ae=this[_0x3edfba(0x290)][_0x3edfba(0x21a)][_0x3edfba(0x220)][_0x3edfba(0x1d8)](_0x579d42)['me'],{channelId:_0x344d50,id:_0x406a3e}=this;this[_0x3edfba(0x290)][_0x3edfba(0x2b4)](bt(_0x3edfba(0x21c),_0x344d50),{'channelId':_0x344d50,'threadId':_0x406a3e,'resolvedAt':_0x2b36ba,'resolvedBy':_0x181b89||_0x3af4ae['id'],'isFromAdapter':_0x3a914c});}[_0x319ad5(0x1e6)]({isFromAdapter:_0x2ab392=!0x1}={}){const _0x4be10d=_0x319ad5,{channelId:_0x557900,id:_0x344815}=this;this[_0x4be10d(0x290)][_0x4be10d(0x2b4)](bt(_0x4be10d(0x27d),_0x557900),{'channelId':_0x557900,'threadId':_0x344815,'isFromAdapter':_0x2ab392});}[_0x319ad5(0x257)](_0x5517fb){const _0xded226=_0x319ad5;this[_0xded226(0x21a)]||this[_0xded226(0x281)]({'context':_0x5517fb});}[_0x319ad5(0x26e)](_0x5edc20,_0x468ba2){const _0x3b4ae2=_0x319ad5,_0x42ce91=_0x26b1ec(this[_0x3b4ae2(0x1eb)]);_0x36adfe(_0x42ce91,_0x5edc20,_0x468ba2),this[_0x3b4ae2(0x281)]({'attributes':_0x42ce91});}[_0x319ad5(0x27a)](_0x242d0e){const _0x14a81d=_0x319ad5,_0x141fe4=_0x26b1ec(this[_0x14a81d(0x1eb)]);_0x3537d4(_0x141fe4,_0x242d0e),this[_0x14a81d(0x281)]({'attributes':_0x141fe4});}[_0x319ad5(0x29f)]({isFromAdapter:_0x29a896=!0x1}={}){const _0x3b4ebe=_0x319ad5,{channelId:_0x2f5f50,id:_0x2a69ce}=this;this[_0x3b4ebe(0x290)][_0x3b4ebe(0x2b4)](bt(_0x3b4ebe(0x247),_0x2f5f50),{'channelId':_0x2f5f50,'threadId':_0x2a69ce,'isFromAdapter':_0x29a896});}[_0x319ad5(0x1f5)](_0x36c3e0){const _0x305afc=_0x319ad5;return this[_0x305afc(0x290)][_0x305afc(0x26f)]({'threadId':this['id'],'target':_0x36c3e0});}[_0x319ad5(0x260)](_0x4a295e){const _0x23ffd7=_0x319ad5,{channelId:_0x2ab1ca,id:_0x371efb}=this;this[_0x23ffd7(0x290)][_0x23ffd7(0x2b4)](bt(_0x23ffd7(0x260),_0x2ab1ca,_0x371efb),Object[_0x23ffd7(0x244)]({'channelId':_0x2ab1ca,'threadId':_0x371efb},_0x4a295e));}[_0x319ad5(0x22e)](_0x4c7316){const _0xfb4029=_0x319ad5;if(_0xfb4029(0x2a0)!=typeof _0x4c7316)throw new _0x42d89e(_0xfb4029(0x267),null,{'commentId':_0x4c7316});return this[_0xfb4029(0x275)][_0xfb4029(0x1d8)](_0x4c7316);}[_0x319ad5(0x24f)](){const _0x113a87=_0x319ad5;return{'threadId':this['id'],'context':this[_0x113a87(0x21a)],'unlinkedAt':this[_0x113a87(0x288)],'resolvedAt':this[_0x113a87(0x2b3)],'resolvedBy':this[_0x113a87(0x2b9)]?this[_0x113a87(0x2b9)]['id']:null,'archivedAt':this[_0x113a87(0x233)],'comments':this[_0x113a87(0x275)][_0x113a87(0x229)](_0x3b729c=>_0x3b729c[_0x113a87(0x24f)]()),'attributes':this[_0x113a87(0x1eb)]};}[_0x319ad5(0x2b8)](_0x5a7a23){const _0xc68962=_0x319ad5;return this[_0xc68962(0x24c)](_0x5a7a23,_0xc68962(0x28a),()=>{const _0x3f604f=_0xc68962,_0x379dfc=this[_0x3f604f(0x1e7)](_0x5a7a23),_0x31279a=this[_0x3f604f(0x275)];_0x379dfc-0x1!=_0x31279a[_0x3f604f(0x20b)](_0x5a7a23)&&_0x379dfc+0x1!=_0x31279a[_0x3f604f(0x20b)](_0x5a7a23)&&(this[_0x3f604f(0x245)](_0x5a7a23),this[_0x3f604f(0x2b8)](_0x5a7a23));}),this[_0xc68962(0x275)][_0xc68962(0x209)](_0x5a7a23,this[_0xc68962(0x1e7)](_0x5a7a23));}[_0x319ad5(0x281)](_0x18462c){const _0x44142e=_0x319ad5,{channelId:_0x352bf6,id:_0x464338}=this;this[_0x44142e(0x290)][_0x44142e(0x2b4)](bt(_0x44142e(0x264),_0x352bf6),{..._0x18462c,'channelId':_0x352bf6,'threadId':_0x464338});}[_0x319ad5(0x245)](_0x5d2b97){const _0x19e48a=_0x319ad5;return this[_0x19e48a(0x1ed)](_0x5d2b97),_0x5d2b97[_0x19e48a(0x215)](),this[_0x19e48a(0x275)][_0x19e48a(0x29f)](_0x5d2b97);}[_0x319ad5(0x1e7)](_0x2520ec){const _0x282b8d=_0x319ad5,_0x502147=this[_0x282b8d(0x275)][_0x282b8d(0x1f2)](_0x4fe0ff=>new Date(_0x4fe0ff[_0x282b8d(0x23a)])[_0x282b8d(0x20d)]()>new Date(_0x2520ec[_0x282b8d(0x23a)])[_0x282b8d(0x20d)]());return _0x502147?this[_0x282b8d(0x275)][_0x282b8d(0x20b)](_0x502147):this[_0x282b8d(0x2a9)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x54b73e(){['id'];[_0x319ad5(0x234)];[_0x319ad5(0x2ba)];[_0x319ad5(0x23e)];[_0x319ad5(0x240)];[_0x319ad5(0x1f0)];[_0x319ad5(0x290)];constructor(_0x5642e0,_0x4f2297){const _0x15201e=_0x319ad5;super();const _0x393dd4=_0x5642e0[_0x15201e(0x21a)][_0x15201e(0x220)][_0x15201e(0x1d8)](_0x579d42)['me'],_0x27c39e=_0x5642e0[_0x15201e(0x1ee)](_0x4f2297[_0x15201e(0x234)]),_0x36edf8=0x0===_0x27c39e[_0x15201e(0x275)][_0x15201e(0x2a9)],_0x4c1650=_0x393dd4===_0x4f2297[_0x15201e(0x2ba)];this['id']=_0x4f2297['id'],this[_0x15201e(0x234)]=_0x4f2297[_0x15201e(0x234)],this[_0x15201e(0x2ba)]=_0x4f2297[_0x15201e(0x2ba)],this[_0x15201e(0x23e)]=_0x4f2297[_0x15201e(0x23e)],this[_0x15201e(0x240)]=Boolean(_0x4f2297[_0x15201e(0x1eb)]&&_0x4f2297[_0x15201e(0x1eb)][_0x15201e(0x2a7)]),this[_0x15201e(0x28c)](_0x15201e(0x24a),_0x4f2297[_0x15201e(0x24a)]),this[_0x15201e(0x1f0)]=_0x4f2297[_0x15201e(0x1f0)]||new Date(),this[_0x15201e(0x28c)](_0x15201e(0x23a),_0x4f2297[_0x15201e(0x23a)]||new Date()),this[_0x15201e(0x1f8)](_0x15201e(0x2b3))['to'](_0x27c39e,_0x15201e(0x2b3)),this[_0x15201e(0x28c)](_0x15201e(0x1eb),_0x4f2297[_0x15201e(0x1eb)]||{}),this[_0x15201e(0x1f8)](_0x15201e(0x25e))['to'](_0x5642e0,_0x15201e(0x20f),()=>{const _0x11ee80=_0x15201e,_0x34bed0=_0x5642e0[_0x11ee80(0x24e)](_0x27c39e[_0x11ee80(0x254)])[_0x11ee80(0x210)],_0xdfd821=_0x5642e0[_0x11ee80(0x24e)](_0x27c39e[_0x11ee80(0x254)])[_0x11ee80(0x29c)];return _0x4c1650&&_0x34bed0||!_0x4c1650&&_0xdfd821;}),this[_0x15201e(0x1f8)](_0x15201e(0x1e8))['to'](_0x27c39e,_0x15201e(0x1e8),_0x5642e0,_0x15201e(0x20f),_0x510a7e=>{const _0x14f10f=_0x15201e,_0x2124e0=_0x5642e0[_0x14f10f(0x24e)](_0x27c39e[_0x14f10f(0x254)])[_0x14f10f(0x210)],_0x2ae50f=_0x5642e0[_0x14f10f(0x24e)](_0x27c39e[_0x14f10f(0x254)])[_0x14f10f(0x29c)];return _0x4c1650&&_0x2124e0||_0x510a7e&&_0x36edf8||!_0x4c1650&&_0x2ae50f&&!_0x36edf8;}),this[_0x15201e(0x1f8)](_0x15201e(0x23c))['to'](_0x27c39e,_0x15201e(0x23c)),this[_0x15201e(0x290)]=_0x5642e0;}get[_0x319ad5(0x2ae)](){const _0x56811e=_0x319ad5;return Math[_0x56811e(0x1db)](function(_0x218e37){const _0x2f20bd=_0x56811e,_0x1007ca=document[_0x2f20bd(0x223)](_0x2f20bd(0x243));return _0x1007ca[_0x2f20bd(0x20a)]=_0x218e37,_0x1007ca[_0x2f20bd(0x252)][_0x2f20bd(0x2a9)];}(this[_0x56811e(0x24a)]),0xc8);}[_0x319ad5(0x249)](_0x33318d){const _0x5d9379=_0x319ad5,{threadId:_0x4cb6d6,id:_0x2da36b}=this;if(!this[_0x5d9379(0x290)][_0x5d9379(0x224)](_0x4cb6d6))throw new _0x42d89e(_0x5d9379(0x22b),this);const {channelId:_0xcef659}=this[_0x5d9379(0x290)][_0x5d9379(0x1ee)](_0x4cb6d6);this[_0x5d9379(0x290)][_0x5d9379(0x2b4)](bt(_0x5d9379(0x292),_0xcef659,_0x4cb6d6),{'channelId':_0xcef659,'threadId':_0x4cb6d6,'commentId':_0x2da36b,..._0x33318d});}[_0x319ad5(0x26e)](_0x3a08ec,_0x23811a){const _0x1f8ddc=_0x319ad5,_0x4de1d2=_0x26b1ec(this[_0x1f8ddc(0x1eb)]);_0x36adfe(_0x4de1d2,_0x3a08ec,_0x23811a),this[_0x1f8ddc(0x249)]({'attributes':_0x4de1d2});}[_0x319ad5(0x27a)](_0x45a166){const _0x30f895=_0x319ad5,_0x36d350=_0x26b1ec(this[_0x30f895(0x1eb)]);_0x3537d4(_0x36d350,_0x45a166),this[_0x30f895(0x249)]({'attributes':_0x36d350});}[_0x319ad5(0x29f)](_0xe98bca={}){const _0x3689c1=_0x319ad5;if(!_0xe98bca[_0x3689c1(0x289)]&&!this[_0x3689c1(0x1e8)])return;const {threadId:_0x236849,id:_0x345772}=this;if(!this[_0x3689c1(0x290)][_0x3689c1(0x224)](_0x236849))throw new _0x42d89e(_0x3689c1(0x236),this);const {channelId:_0x4459e7}=this[_0x3689c1(0x290)][_0x3689c1(0x1ee)](_0x236849);this[_0x3689c1(0x290)][_0x3689c1(0x2b4)](bt(_0x3689c1(0x201),_0x4459e7,_0x236849),{'channelId':_0x4459e7,'threadId':_0x236849,'commentId':_0x345772,..._0xe98bca});}[_0x319ad5(0x24f)](){const _0x467592=_0x319ad5;return{'commentId':this['id'],'content':this[_0x467592(0x24a)],'createdAt':this[_0x467592(0x1f0)],'authorId':this[_0x467592(0x23e)]['id'],'attributes':this[_0x467592(0x1eb)]};}[_0x319ad5(0x215)](){const _0x327ab7=_0x319ad5;this[_0x327ab7(0x1ed)]();}}function bt(_0x3cb10a,..._0x43a2d3){for(const _0x356589 of _0x43a2d3)void 0x0!==_0x356589&&(_0x3cb10a+=':'+String(_0x356589));return _0x3cb10a;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10f81e=_0x2a42;(function(_0x46e24d,_0x1b7509){const _0x4e90a5=_0x2a42,_0x33f5bb=_0x46e24d();while(!![]){try{const _0x5d8dc4=-parseInt(_0x4e90a5(0x12d))/0x1*(parseInt(_0x4e90a5(0x169))/0x2)+-parseInt(_0x4e90a5(0x13f))/0x3*(-parseInt(_0x4e90a5(0x15d))/0x4)+-parseInt(_0x4e90a5(0x140))/0x5+-parseInt(_0x4e90a5(0x142))/0x6*(-parseInt(_0x4e90a5(0x16e))/0x7)+-parseInt(_0x4e90a5(0x139))/0x8*(parseInt(_0x4e90a5(0x176))/0x9)+-parseInt(_0x4e90a5(0x159))/0xa+-parseInt(_0x4e90a5(0x133))/0xb;if(_0x5d8dc4===_0x1b7509)break;else _0x33f5bb['push'](_0x33f5bb['shift']());}catch(_0x79e4ff){_0x33f5bb['push'](_0x33f5bb['shift']());}}}(_0x54be,0xc98d4));import{Plugin as _0x9d522}from'ckeditor5/src/core.js';import{IconAddComment as _0x5954d2}from'ckeditor5/src/icons.js';import _0x415090 from'./commentsrepository.js';import _0x3cd049 from'./commentsediting.js';import _0x5dc157 from'../annotations/editorannotations.js';import{ButtonView as _0xa8e5e,MenuBarMenuListItemButtonView as _0x9d853c}from'ckeditor5/src/ui.js';import _0x3d4c21 from'../annotations/annotations.js';import _0x1d8cf0 from'./ui/view/commentslistview.js';function _0x54be(){const _0x3fc4b3=['80ZKFJVH','plugins','comment','CommentsUI','comment:','hasMarkerForId','2704735KkUabz','model','innerView','focus','set','get','15448Ttvueq','trialLimit','hasCommentThread','addComment','_showLicenseError','execute','15483GycyxC','544625Zsxoow','pluginName','118428ztBUkb','requires','commentsLicenseKeyValid','featureNotAllowed','CommentThreadInputView','editing','add','licenseKey','Comments','_licenseKeyCheckInterval','menuBar:comment','CommentsListView','isFocused','addCommentThread','evaluationLimit','_viewToController','push','Comment','componentFactory','length','commentsLicenseKeyDomainLimit','stop','_threadToController','5643000yyPGkr','domainLimit','commentsLicenseKeyNotAllowed','highest','628HIBgtS','commentsLicenseKeyTrialLimit','activeMarker','commentsLicenseKeyUsageLimit','bind','listenTo','locale','isPremiumPlugin','change:activeAnnotations','isOfficialPlugin','getRange','view','10114UMhPXE','isEnabled','init','invalid','removeCommentThread','581mQUoHT','focusTracker','commentsLicenseKeyEvaluationLimit','getCommentThread','from','has','destroy','find','1395ylBVaz','_createUIButton','tooltip','expired','commentsLicenseKeyExpired','commentsLicenseKeyInvalid','config','addSourceCollector','commands','low','usageLimit','getAllMarkersForId','map','editor'];_0x54be=function(){return _0x3fc4b3;};return _0x54be();}import _0x27019a from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x307349}from'../utils/common-translations.js';function _0x2a42(_0x2c2fb1,_0x2c0a80){const _0x54be91=_0x54be();return _0x2a42=function(_0x2a42b0,_0x39f7df){_0x2a42b0=_0x2a42b0-0x125;let _0x572e24=_0x54be91[_0x2a42b0];return _0x572e24;},_0x2a42(_0x2c2fb1,_0x2c0a80);}export default class i extends _0x9d522{[_0x10f81e(0x149)];[_0x10f81e(0x14b)];static get[_0x10f81e(0x141)](){const _0x2dcc1b=_0x10f81e;return _0x2dcc1b(0x130);}static get[_0x10f81e(0x166)](){return!0x0;}static get[_0x10f81e(0x164)](){return!0x0;}static get[_0x10f81e(0x143)](){return[_0x415090,_0x3cd049,_0x5dc157,_0x3d4c21];}get[_0x10f81e(0x14d)](){return _0x1d8cf0;}get[_0x10f81e(0x146)](){return _0x27019a;}[_0x10f81e(0x16b)](){const _0x3330bf=_0x10f81e,_0x379838=this[_0x3330bf(0x12c)],_0x5252ec=_0x379838[_0x3330bf(0x12e)][_0x3330bf(0x138)](_0x415090),_0x4193ad=_0x379838[_0x3330bf(0x12e)][_0x3330bf(0x138)](_0x3cd049),_0x43e859=_0x379838[_0x3330bf(0x12e)][_0x3330bf(0x138)](_0x3d4c21),_0x3614d4=_0x379838[_0x3330bf(0x12e)][_0x3330bf(0x138)](_0x5dc157);_0x379838['ui'][_0x3330bf(0x154)][_0x3330bf(0x148)](_0x3330bf(0x12f),()=>{const _0x58b983=_0x3330bf,_0xbf04b0=this[_0x58b983(0x177)](_0xa8e5e);return _0xbf04b0[_0x58b983(0x178)]=!0x0,_0xbf04b0;}),_0x379838['ui'][_0x3330bf(0x154)][_0x3330bf(0x148)](_0x3330bf(0x14c),()=>this[_0x3330bf(0x177)](_0x9d853c)),_0x3614d4[_0x3330bf(0x126)](()=>{const _0x4ea79a=_0x3330bf,_0x214135=[];for(const [_0x173420,_0x788b37]of _0x5252ec[_0x4ea79a(0x158)]){const _0xaec13f=_0x4193ad[_0x4ea79a(0x12a)](_0x173420['id']),_0x478ef0=_0xaec13f[_0x4ea79a(0x12b)](_0xb5363e=>_0xb5363e[_0x4ea79a(0x167)]());_0xaec13f[_0x4ea79a(0x155)]>0x0&&_0x214135[_0x4ea79a(0x152)]([_0x788b37[_0x4ea79a(0x168)],_0x478ef0]);}return _0x214135;}),this[_0x3330bf(0x162)](_0x43e859,_0x3330bf(0x165),(_0x1b947f,_0x246ae2,_0x143034)=>{const _0x952a17=_0x3330bf,_0x46231e=Array[_0x952a17(0x172)](_0x143034)[_0x952a17(0x12b)](_0x25a6e4=>_0x25a6e4[_0x952a17(0x135)])[_0x952a17(0x175)](_0x1412d1=>_0x5252ec[_0x952a17(0x151)][_0x952a17(0x173)](_0x1412d1));if(!_0x46231e)return void(_0x4193ad[_0x952a17(0x15f)]=null);const _0x210d71=_0x5252ec[_0x952a17(0x151)][_0x952a17(0x138)](_0x46231e)[_0x952a17(0x134)]['id'],_0x35de06=_0x952a17(0x131)+_0x210d71;_0x210d71&&_0x4193ad[_0x952a17(0x132)](_0x210d71)?_0x4193ad[_0x952a17(0x15f)]=_0x35de06:_0x4193ad[_0x952a17(0x15f)]&&(_0x4193ad[_0x952a17(0x15f)]=null);}),this[_0x3330bf(0x162)](_0x5252ec,_0x3330bf(0x16d),(_0x567353,{threadId:_0x47a6e2,isFromAdapter:_0xcd9419})=>{const _0x15b0c8=_0x3330bf;!_0xcd9419&&_0x379838['ui'][_0x15b0c8(0x16f)][_0x15b0c8(0x14e)]&&_0x4193ad[_0x15b0c8(0x132)](_0x47a6e2)&&_0x379838[_0x15b0c8(0x147)][_0x15b0c8(0x168)][_0x15b0c8(0x136)]();},{'priority':_0x3330bf(0x15c)}),this[_0x3330bf(0x162)](_0x5252ec,_0x3330bf(0x13c),(_0x1fe114,{threadId:_0x4ca4fe,isFromAdapter:_0x4d6aad})=>{const _0x5258f3=_0x3330bf;if(_0x4d6aad||!_0x4193ad[_0x5258f3(0x132)](_0x4ca4fe)||!_0x5252ec[_0x5258f3(0x13b)](_0x4ca4fe))return;0x1===_0x5252ec[_0x5258f3(0x171)](_0x4ca4fe)[_0x5258f3(0x155)]&&(_0x379838[_0x5258f3(0x147)][_0x5258f3(0x168)][_0x5258f3(0x136)](),_0x1fe114[_0x5258f3(0x157)]());},{'priority':_0x3330bf(0x128)}),this[_0x3330bf(0x149)]=this[_0x3330bf(0x12c)][_0x3330bf(0x125)][_0x3330bf(0x138)](_0x3330bf(0x149));const _0xf72d81=this[_0x3330bf(0x12c)];this[_0x3330bf(0x14b)]=setInterval(()=>{const _0xbd9101=_0x3330bf;let _0xa6f95c;for(const _0x2b8834 in _0xf72d81){const _0x11992b=_0x2b8834,_0x152636=_0xf72d81[_0x11992b];if(_0xbd9101(0x144)==_0x152636||_0xbd9101(0x17b)==_0x152636||_0xbd9101(0x17a)==_0x152636||_0xbd9101(0x156)==_0x152636||_0xbd9101(0x15b)==_0x152636||_0xbd9101(0x170)==_0x152636||_0xbd9101(0x15e)==_0x152636||_0xbd9101(0x160)==_0x152636){delete _0xf72d81[_0x11992b],_0xa6f95c=_0x152636,clearInterval(this[_0xbd9101(0x14b)]),this[_0xbd9101(0x14b)]=void 0x0;break;}}_0xbd9101(0x17b)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x16c)),_0xbd9101(0x17a)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x179)),_0xbd9101(0x156)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x15a)),_0xbd9101(0x15b)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x145),_0xbd9101(0x14a)),_0xbd9101(0x170)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x150)),_0xbd9101(0x15e)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x13a)),_0xbd9101(0x160)==_0xa6f95c&&_0xf72d81[_0xbd9101(0x13d)](_0xbd9101(0x129));},0x3e8);}[_0x10f81e(0x174)](){const _0x49e66b=_0x10f81e;super[_0x49e66b(0x174)](),this[_0x49e66b(0x14b)]&&clearInterval(this[_0x49e66b(0x14b)]);}[_0x10f81e(0x177)](_0x135a7a){const _0x3d1362=_0x10f81e,_0x481974=this[_0x3d1362(0x12c)],_0x3df9bf=new _0x135a7a(_0x481974[_0x3d1362(0x163)]),_0x471742=_0x481974[_0x3d1362(0x127)][_0x3d1362(0x138)](_0x3d1362(0x14f));return _0x3df9bf[_0x3d1362(0x137)]({'label':_0x307349(_0x481974[_0x3d1362(0x163)],_0x3d1362(0x153)),'icon':_0x5954d2}),_0x3df9bf[_0x3d1362(0x161)](_0x3d1362(0x16a))['to'](_0x471742),this[_0x3d1362(0x162)](_0x3df9bf,_0x3d1362(0x13e),()=>{const _0xcfaacf=_0x3d1362;_0x471742[_0xcfaacf(0x13e)]();}),_0x3df9bf;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6a63(){const _0x20fd02=['requires','7475346qOjJfd','default','hasCommentThread','all','524430ivZKJy','_removeMarkersWithoutThreads','never','markers','content','always','delete','30344hhrQBb','split','define','comment','_registerMarkerInClipboardPipeline','get','2329665WIKPHx','CommentsRepository','afterInit','8985575KuWZGJ','dragstart','4921RDQVYn','keys','plugins','7214456AtXRuk','editor','ClipboardPipeline','listenTo','config','_registerMarkerToCopy','highest','contentInsertion','_mapCommentsCopyConfigToRegisterConfiguration','ClipboardMarkersUtils','has','cut','954669vbkMCj','comments.copyMarkers'];_0x6a63=function(){return _0x20fd02;};return _0x6a63();}const _0x40e770=_0x29af;(function(_0x4d07e4,_0x44683b){const _0x1a6320=_0x29af,_0x311a59=_0x4d07e4();while(!![]){try{const _0x3d7843=-parseInt(_0x1a6320(0x17d))/0x1+-parseInt(_0x1a6320(0x184))/0x2+parseInt(_0x1a6320(0x191))/0x3+parseInt(_0x1a6320(0x199))/0x4+-parseInt(_0x1a6320(0x194))/0x5+-parseInt(_0x1a6320(0x180))/0x6+-parseInt(_0x1a6320(0x196))/0x7*(-parseInt(_0x1a6320(0x18b))/0x8);if(_0x3d7843===_0x44683b)break;else _0x311a59['push'](_0x311a59['shift']());}catch(_0x1c565b){_0x311a59['push'](_0x311a59['shift']());}}}(_0x6a63,0xf0e86));function _0x29af(_0x1e86ec,_0x3a6242){const _0x6a639a=_0x6a63();return _0x29af=function(_0x29af5f,_0x251126){_0x29af5f=_0x29af5f-0x176;let _0xb282dd=_0x6a639a[_0x29af5f];return _0xb282dd;},_0x29af(_0x1e86ec,_0x3a6242);}import{Plugin as _0x49f7bc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x201888,ClipboardMarkersUtils as _0x493190}from'ckeditor5/src/clipboard.js';export default class at extends _0x49f7bc{constructor(_0x434a2c){const _0x5bf8d7=_0x29af;super(_0x434a2c),this[_0x5bf8d7(0x19a)][_0x5bf8d7(0x19d)][_0x5bf8d7(0x18d)](_0x5bf8d7(0x17e),_0x5bf8d7(0x181));}static get[_0x40e770(0x17f)](){return[_0x493190,_0x201888];}[_0x40e770(0x193)](){const _0x21e62a=_0x40e770,_0x3fc878=this[_0x21e62a(0x19a)][_0x21e62a(0x198)][_0x21e62a(0x190)](_0x21e62a(0x19b));this[_0x21e62a(0x18f)](),this[_0x21e62a(0x19c)](_0x3fc878,_0x21e62a(0x178),(_0x2970fb,_0x195a64)=>this[_0x21e62a(0x185)](_0x195a64[_0x21e62a(0x188)][_0x21e62a(0x187)]),{'priority':_0x21e62a(0x177)});}[_0x40e770(0x185)](_0xd73e9a){const _0x235d8c=_0x40e770;if(!this[_0x235d8c(0x19a)][_0x235d8c(0x198)][_0x235d8c(0x17b)](_0x235d8c(0x192)))return _0xd73e9a;const _0x515b72=this[_0x235d8c(0x19a)][_0x235d8c(0x198)][_0x235d8c(0x190)](_0x235d8c(0x192));for(const _0xead079 of _0xd73e9a[_0x235d8c(0x197)]()){const [_0x53d5c7,_0x217577]=_0xead079[_0x235d8c(0x18c)](':');_0x235d8c(0x18e)!=_0x53d5c7||_0x515b72[_0x235d8c(0x182)](_0x217577)||_0xd73e9a[_0x235d8c(0x18a)](_0xead079);}return _0xd73e9a;}[_0x40e770(0x18f)](){const _0x3be509=_0x40e770,_0x5a040f=this[_0x3be509(0x19a)][_0x3be509(0x198)][_0x3be509(0x190)](_0x3be509(0x17a)),_0x2cdc3e=this[_0x3be509(0x179)](this[_0x3be509(0x19a)][_0x3be509(0x19d)][_0x3be509(0x190)](_0x3be509(0x17e)));_0x2cdc3e&&_0x5a040f[_0x3be509(0x176)](_0x3be509(0x18e),_0x2cdc3e);}[_0x40e770(0x179)](_0x4a800e){const _0x36d344=_0x40e770;switch(_0x4a800e){case _0x36d344(0x189):return{'allowedActions':_0x36d344(0x183),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x36d344(0x181):return{'allowedActions':[_0x36d344(0x17c),_0x36d344(0x195)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x36d344(0x186):return null;default:return null;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3945(_0x4b5a1e,_0x5c78cc){const _0x331f17=_0x331f();return _0x3945=function(_0x394571,_0x5f2ddc){_0x394571=_0x394571-0x19b;let _0x1bd564=_0x331f17[_0x394571];return _0x1bd564;},_0x3945(_0x4b5a1e,_0x5c78cc);}const _0xdf4827=_0x3945;(function(_0x556295,_0x568c24){const _0x36b754=_0x3945,_0x19e343=_0x556295();while(!![]){try{const _0xfa951a=parseInt(_0x36b754(0x1a9))/0x1+parseInt(_0x36b754(0x1a4))/0x2+-parseInt(_0x36b754(0x1a7))/0x3*(-parseInt(_0x36b754(0x19d))/0x4)+-parseInt(_0x36b754(0x1a1))/0x5+-parseInt(_0x36b754(0x1a0))/0x6+-parseInt(_0x36b754(0x19f))/0x7*(-parseInt(_0x36b754(0x19e))/0x8)+-parseInt(_0x36b754(0x19c))/0x9;if(_0xfa951a===_0x568c24)break;else _0x19e343['push'](_0x19e343['shift']());}catch(_0x249906){_0x19e343['push'](_0x19e343['shift']());}}}(_0x331f,0x6b48e));import{Plugin as _0x4ad267}from'ckeditor5/src/core.js';export default class st extends _0x4ad267{[_0xdf4827(0x19b)](){const _0x2c4203=_0xdf4827,_0x14e059=this[_0x2c4203(0x1a6)];if(!_0x14e059[_0x2c4203(0x1ab)][_0x2c4203(0x1a8)](_0x2c4203(0x1a2)))return;_0x14e059[_0x2c4203(0x1ab)][_0x2c4203(0x1aa)](_0x2c4203(0x1a2))[_0x2c4203(0x1a3)](_0x2c4203(0x1a5));}}function _0x331f(){const _0x33c482=['1009086JjDWZO','1388195JriPgD','RestrictedEditingModeEditing','enableCommand','753180KJzwit','addCommentThread','editor','4209GqRCHy','has','24092jBBdHT','get','plugins','afterInit','806274bnpfoX','108NOQRMg','4290248bHuCEh','7tjpqds'];_0x331f=function(){return _0x33c482;};return _0x331f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x230a1c=_0x44ff;(function(_0x52908e,_0x40ca81){const _0x5d18b1=_0x44ff,_0x5148d7=_0x52908e();while(!![]){try{const _0x3e07f4=-parseInt(_0x5d18b1(0x8f))/0x1+parseInt(_0x5d18b1(0xa2))/0x2*(-parseInt(_0x5d18b1(0x91))/0x3)+parseInt(_0x5d18b1(0x88))/0x4+-parseInt(_0x5d18b1(0x9d))/0x5*(parseInt(_0x5d18b1(0x87))/0x6)+-parseInt(_0x5d18b1(0x96))/0x7*(-parseInt(_0x5d18b1(0x98))/0x8)+parseInt(_0x5d18b1(0x94))/0x9*(parseInt(_0x5d18b1(0xa3))/0xa)+-parseInt(_0x5d18b1(0x90))/0xb;if(_0x3e07f4===_0x40ca81)break;else _0x5148d7['push'](_0x5148d7['shift']());}catch(_0x44bc73){_0x5148d7['push'](_0x5148d7['shift']());}}}(_0x6ba4,0x90320));function _0x44ff(_0x1e60f2,_0x495a7c){const _0x6ba497=_0x6ba4();return _0x44ff=function(_0x44ff86,_0x20ac2b){_0x44ff86=_0x44ff86-0x86;let _0x283756=_0x6ba497[_0x44ff86];return _0x283756;},_0x44ff(_0x1e60f2,_0x495a7c);}import{Plugin as _0x460066}from'ckeditor5/src/core.js';import{priorities as _0x56e10c}from'ckeditor5/src/utils.js';import{Users as _0x1c046c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x51816b from'../commentsrepository.js';export default class ct extends _0x460066{constructor(_0x5e3e0e){const _0x5ede40=_0x44ff;super(_0x5e3e0e),this[_0x5ede40(0x9b)][_0x5ede40(0xa4)][_0x5ede40(0x8d)](_0x5ede40(0x97),_0x5ede40(0x99));}[_0x230a1c(0xa0)](){const _0x5a421b=_0x230a1c,_0x302d68=this[_0x5a421b(0x9b)],_0x3521f0=_0x302d68[_0x5a421b(0x92)][_0x5a421b(0x8a)](_0x5a421b(0x89)),_0x8f2b1b=_0x302d68[_0x5a421b(0x9c)][_0x5a421b(0x8a)](_0x1c046c);_0x3521f0&&(_0x3521f0['on'](_0x5a421b(0x86),(_0x17c81d,[,_0x215349])=>{const _0x20ac48=_0x5a421b;_0x215349[_0x20ac48(0x95)]={'comments':!0x0,'user_id':_0x8f2b1b['me']['id']};},{'priority':_0x56e10c[_0x5a421b(0x8e)]+0xa}),this[_0x5a421b(0x93)](_0x3521f0,_0x5a421b(0x9e),this[_0x5a421b(0x9a)]));}[_0x230a1c(0x9a)](_0x318fd4,_0x21c373){const _0x3b673f=_0x230a1c,{comment_threads:_0x4a8abb}=_0x21c373;_0x4a8abb&&_0x4a8abb[_0x3b673f(0x8c)](({thread_id:_0x264966,comments:_0x550a7f,is_resolved:_0x19467f})=>{const _0x5e9360=_0x3b673f,_0x34209b=new Date(),_0x4192c6=_0x550a7f[_0x5e9360(0x8b)](({author:_0x325942,content:_0x2b6d45,created_at:_0x405da1})=>({'content':_0x2b6d45,'authorId':this[_0x5e9360(0x9b)][_0x5e9360(0x9c)][_0x5e9360(0x8a)](_0x1c046c)['me']['id'],'createdAt':_0x34209b,'attributes':{'@external':{'authorName':_0x325942,'createdAt':_0x405da1?new Date(_0x405da1):new Date(),'source':_0x5e9360(0x89)}}})),_0x10bcbf=this[_0x5e9360(0x9b)][_0x5e9360(0xa4)][_0x5e9360(0x8a)](_0x5e9360(0x9f));this[_0x5e9360(0x9b)][_0x5e9360(0x9c)][_0x5e9360(0x8a)](_0x51816b)[_0x5e9360(0xa1)]({'channelId':_0x10bcbf,'threadId':_0x264966,'comments':_0x4192c6,'resolvedAt':_0x19467f?_0x34209b:null});});}}function _0x6ba4(){const _0x232f6b=['high','216448ceXjuP','2683263hRgXZV','777429wbuFlm','commands','listenTo','297PgDZoy','collaboration_features','280oGdLsD','importWord.formatting.comments','215560DVeBxr','basic','_handleImportedData','editor','plugins','10ycqSfd','dataInsert','collaboration.channelId','afterInit','addCommentThread','2Xejnaf','30110SpcieM','config','execute','3050364iROEJg','4599092UCGiJo','importWord','get','map','forEach','define'];_0x6ba4=function(){return _0x232f6b;};return _0x6ba4();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x13a95d=_0x1254;function _0x1896(){const _0x320850=['imageInline','consumable','downcastDispatcher','2518272aDTKGp','ck-comment-marker','image-inline','insert','markerToHighlight','for','ignoreResolvedComments','consume','getCustomProperty','init','editor','toViewElement','item','elementToStructure','overrideHorizontalRuleConverter','elementToElement','overrideMarkerConverters','5095LaEnhC','horizontalLine','containerElement','overrideImageInlineConverter','addClass','10912960hfqMIC','conversion','widget','overrideMediaEmbedConverter','img','createContainerElement','addMarker:','ck-horizontal-line','get','span','removeMarker:','createPositionAt','createEmptyElement','addMarker:comment','media','model','options','div','showCommentHighlights','131578YnSylf','1395762crsWtb','add','getCommentThread','14NRtGbi','9pGZFoW','isObject','high','2504eZmwqR','markerName','comment','mapper','attribute:url:media','583938dsXKAK','isResolved','dataDowncast','data','plugins','2475232fmKbPR','schema','writer','stop'];_0x1896=function(){return _0x320850;};return _0x1896();}(function(_0x3439e5,_0x432407){const _0x41d253=_0x1254,_0x28a504=_0x3439e5();while(!![]){try{const _0x762f81=parseInt(_0x41d253(0xea))/0x1+-parseInt(_0x41d253(0xdd))/0x2*(-parseInt(_0x41d253(0xe2))/0x3)+parseInt(_0x41d253(0xe5))/0x4*(parseInt(_0x41d253(0x107))/0x5)+-parseInt(_0x41d253(0xde))/0x6+-parseInt(_0x41d253(0xe1))/0x7*(-parseInt(_0x41d253(0xef))/0x8)+-parseInt(_0x41d253(0xf6))/0x9+-parseInt(_0x41d253(0x10c))/0xa;if(_0x762f81===_0x432407)break;else _0x28a504['push'](_0x28a504['shift']());}catch(_0x191364){_0x28a504['push'](_0x28a504['shift']());}}}(_0x1896,0x6a064));import{Plugin as _0x559fa7}from'ckeditor5/src/core.js';import{toWidget as _0x5b726e}from'ckeditor5/src/widget.js';import{splitMarkerName as _0x1e8236}from'../commentsediting.js';function _0x1254(_0x593bb9,_0x4f0849){const _0x189612=_0x1896();return _0x1254=function(_0x1254d7,_0x2619fe){_0x1254d7=_0x1254d7-0xd1;let _0x7553b4=_0x189612[_0x1254d7];return _0x7553b4;},_0x1254(_0x593bb9,_0x4f0849);}import _0x204991 from'../commentsrepository.js';export default class ut extends _0x559fa7{[_0x13a95d(0xff)](){const _0x67ba27=_0x13a95d;this[_0x67ba27(0x106)](),this[_0x67ba27(0x104)](),this[_0x67ba27(0x10a)](),this[_0x67ba27(0x10f)]();}[_0x13a95d(0x106)](){const _0x22a848=_0x13a95d;this[_0x22a848(0x100)][_0x22a848(0x10d)][_0x22a848(0xfb)](_0x22a848(0xec))[_0x22a848(0xfa)]({'model':_0x22a848(0xe7),'view':(_0xe5dfff,_0x59be92)=>{const _0x3ccb84=_0x22a848;if(!_0x59be92[_0x3ccb84(0xda)][_0x3ccb84(0xdc)])return null;if(_0x59be92[_0x3ccb84(0xda)][_0x3ccb84(0xfc)]){const {id:_0x65be52}=_0x1e8236(_0xe5dfff[_0x3ccb84(0xe6)]),_0x390f77=this[_0x3ccb84(0x100)][_0x3ccb84(0xee)][_0x3ccb84(0xd2)](_0x204991);if(_0x390f77[_0x3ccb84(0xe0)](_0x65be52)?.[_0x3ccb84(0xeb)]&&_0xe5dfff[_0x3ccb84(0x102)])return _0x59be92[_0x3ccb84(0xf4)][_0x3ccb84(0xfd)](_0xe5dfff[_0x3ccb84(0x102)],_0x3ccb84(0x112)+_0xe5dfff[_0x3ccb84(0xe6)]),_0x59be92[_0x3ccb84(0xf4)][_0x3ccb84(0xfd)](_0xe5dfff[_0x3ccb84(0x102)],_0x3ccb84(0xd4)+_0xe5dfff[_0x3ccb84(0xe6)]),null;}return{'classes':[_0x3ccb84(0xf7)]};}}),this[_0x22a848(0x100)][_0x22a848(0x10d)][_0x22a848(0xfb)](_0x22a848(0xec))[_0x22a848(0xdf)](_0x56f3ac=>{const _0x4c51fa=_0x22a848;_0x56f3ac['on'](_0x4c51fa(0xd7),(_0x4eed75,_0x3ca934,_0x28049c)=>{const _0x17748e=_0x4c51fa;if(!_0x28049c[_0x17748e(0xda)][_0x17748e(0xdc)])return;const _0x4ab6b4=_0x3ca934[_0x17748e(0x102)];if(!_0x4ab6b4)return;const _0x1b6a63=_0x28049c[_0x17748e(0xe8)][_0x17748e(0x101)](_0x4ab6b4);this[_0x17748e(0x100)][_0x17748e(0xd9)][_0x17748e(0xf0)][_0x17748e(0xe3)](_0x4ab6b4)&&_0x1b6a63&&!_0x1b6a63[_0x17748e(0xfe)](_0x17748e(0x10e))&&_0x1b6a63['is'](_0x17748e(0x109))&&_0x5b726e(_0x1b6a63,_0x28049c[_0x17748e(0xf1)]);},{'priority':_0x4c51fa(0xe4)});});}[_0x13a95d(0x104)](){const _0x45f653=_0x13a95d;this[_0x45f653(0x100)][_0x45f653(0x10d)][_0x45f653(0xfb)](_0x45f653(0xec))[_0x45f653(0x103)]({'model':_0x45f653(0x108),'view':(_0x57d198,{writer:_0x2cf715,options:_0x22ac7c})=>{const _0x5e0949=_0x45f653;if(!_0x22ac7c[_0x5e0949(0xdc)])return null;const _0x418aee=_0x2cf715[_0x5e0949(0x111)](_0x5e0949(0xdb)),_0x2ca711=_0x2cf715[_0x5e0949(0xd6)]('hr');return _0x2cf715[_0x5e0949(0x10b)](_0x5e0949(0xd1),_0x418aee),_0x2cf715[_0x5e0949(0xf9)](_0x2cf715[_0x5e0949(0xd5)](_0x418aee,0x0),_0x2ca711),_0x418aee;},'converterPriority':_0x45f653(0xe4)});}[_0x13a95d(0x10a)](){const _0x2608e4=_0x13a95d;this[_0x2608e4(0x100)][_0x2608e4(0x10d)][_0x2608e4(0xfb)](_0x2608e4(0xec))[_0x2608e4(0x103)]({'model':_0x2608e4(0xf3),'view':(_0x1699b0,{writer:_0x51e88e,options:_0x1ba4f9})=>{const _0x765b8c=_0x2608e4;if(!_0x1ba4f9[_0x765b8c(0xdc)])return null;const _0x3f3236=_0x51e88e[_0x765b8c(0x111)](_0x765b8c(0xd3)),_0x271321=_0x51e88e[_0x765b8c(0xd6)](_0x765b8c(0x110));return _0x51e88e[_0x765b8c(0x10b)](_0x765b8c(0xf8),_0x3f3236),_0x51e88e[_0x765b8c(0xf9)](_0x51e88e[_0x765b8c(0xd5)](_0x3f3236,0x0),_0x271321),_0x3f3236;},'converterPriority':_0x2608e4(0xe4)});}[_0x13a95d(0x10f)](){const _0xd60acd=_0x13a95d;this[_0xd60acd(0x100)][_0xd60acd(0x10d)][_0xd60acd(0xfb)](_0xd60acd(0xec))[_0xd60acd(0x105)]({'model':_0xd60acd(0xd8),'view':(_0x1c7aa5,{writer:_0x420652,options:_0x2817c7})=>{const _0xd0a769=_0xd60acd;if(_0x2817c7[_0xd0a769(0xdc)])return _0x420652[_0xd0a769(0xd6)](_0xd0a769(0xdb));},'converterPriority':_0xd60acd(0xe4)}),this[_0xd60acd(0x100)][_0xd60acd(0xed)][_0xd60acd(0xf5)]['on'](_0xd60acd(0xe9),(_0x5460e9,_0xf73809,_0xde87d1)=>{const _0x83272d=_0xd60acd;_0xde87d1[_0x83272d(0xda)][_0x83272d(0xdc)]&&_0x5460e9[_0x83272d(0xf2)]();},{'priority':_0xd60acd(0xe4)});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3c3837=_0x2f33;(function(_0x54d581,_0x518aa9){const _0x1c1437=_0x2f33,_0x291a20=_0x54d581();while(!![]){try{const _0x3ab44c=parseInt(_0x1c1437(0x182))/0x1*(-parseInt(_0x1c1437(0x17c))/0x2)+parseInt(_0x1c1437(0x166))/0x3*(-parseInt(_0x1c1437(0x164))/0x4)+-parseInt(_0x1c1437(0x185))/0x5*(-parseInt(_0x1c1437(0x172))/0x6)+-parseInt(_0x1c1437(0x167))/0x7+parseInt(_0x1c1437(0x15c))/0x8*(-parseInt(_0x1c1437(0x183))/0x9)+parseInt(_0x1c1437(0x15b))/0xa+parseInt(_0x1c1437(0x173))/0xb;if(_0x3ab44c===_0x518aa9)break;else _0x291a20['push'](_0x291a20['shift']());}catch(_0xcace09){_0x291a20['push'](_0x291a20['shift']());}}}(_0x1657,0x847db));import{Editor as _0x5add65}from'ckeditor5/src/core.js';import _0x4a943a from'./commenteditorui.js';function _0x2f33(_0x276681,_0x5840b7){const _0x165781=_0x1657();return _0x2f33=function(_0x2f33d9,_0x3485f8){_0x2f33d9=_0x2f33d9-0x158;let _0x44bd33=_0x165781[_0x2f33d9];return _0x44bd33;},_0x2f33(_0x276681,_0x5840b7);}import{ObservableMixin as _0x357dc7}from'ckeditor5/src/utils.js';import{enablePlaceholder as _0x1267e1,disablePlaceholder as _0x477759}from'ckeditor5/src/engine.js';import{Clipboard as _0x31da4f}from'ckeditor5/src/clipboard.js';import{Enter as _0x1bf36e,ShiftEnter as _0x17d160}from'ckeditor5/src/enter.js';import{SelectAll as _0x2c212e}from'ckeditor5/src/select-all.js';import{Typing as _0x5ab17b}from'ckeditor5/src/typing.js';import{Undo as _0x5107ad}from'ckeditor5/src/undo.js';import{Paragraph as _0x348889}from'ckeditor5/src/paragraph.js';const Nt=[_0x31da4f,_0x1bf36e,_0x17d160,_0x2c212e,_0x5ab17b,_0x5107ad,_0x348889];class Qt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x357dc7(_0x5add65){static [_0x3c3837(0x16b)]=((()=>Nt)());constructor(_0x39a07c={}){const _0x5af20f=_0x3c3837;function _0x4ef4a4(_0x4205aa){const _0x5c08ba=_0x2f33;return _0x4205aa[_0x5c08ba(0x178)](_0x280048=>String[_0x5c08ba(0x186)](_0x280048))[_0x5c08ba(0x15d)]('');}(_0x39a07c=Object[_0x5af20f(0x17f)]({},_0x39a07c))[_0x5af20f(0x158)]||(_0x39a07c[_0x5af20f(0x158)]=Qt[_0x5af20f(0x16b)]),super(_0x39a07c),this['ui']=new _0x4a943a(this),this[_0x5af20f(0x174)](_0x5af20f(0x17b),''),this[_0x5af20f(0x176)][_0x5af20f(0x162)]['on'](_0x5af20f(0x16d),()=>this[_0x5af20f(0x159)](),{'priority':_0x5af20f(0x165)}),this['on'](_0x5af20f(0x160),()=>this[_0x5af20f(0x159)]()),this[_0x5af20f(0x176)][_0x5af20f(0x162)][_0x5af20f(0x15a)](),this[_0x4ef4a4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef4a4([0x76,0x69,0x65,0x77])][_0x4ef4a4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef4a4([0x61,0x75,0x74,0x6f]),this[_0x4ef4a4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4ef4a4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef4a4([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4ef4a4([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4ef4a4([0x6f,0x6b])});}[_0x3c3837(0x180)](){const _0x468f66=_0x3c3837,_0x4196c8=this[_0x468f66(0x15e)][_0x468f66(0x17a)](_0x468f66(0x16c))||'';return this[_0x468f66(0x16e)]()[_0x468f66(0x15f)](()=>this['ui'][_0x468f66(0x184)]())[_0x468f66(0x15f)](()=>this[_0x468f66(0x181)][_0x468f66(0x184)](_0x4196c8))[_0x468f66(0x15f)](()=>this[_0x468f66(0x161)](_0x468f66(0x16a)));}[_0x3c3837(0x16f)](){const _0x2d497a=_0x3c3837;return super[_0x2d497a(0x16f)]()[_0x2d497a(0x15f)](()=>this['ui'][_0x2d497a(0x16f)]());}[_0x3c3837(0x169)](){const _0x3a4fbe=_0x3c3837;this[_0x3a4fbe(0x176)][_0x3a4fbe(0x16d)](_0x9be81d=>{const _0x3dc9ce=_0x3a4fbe,_0x2b61c4=this[_0x3dc9ce(0x176)][_0x3dc9ce(0x162)][_0x3dc9ce(0x17e)](),_0x15a4fc=_0x2b61c4&&_0x2b61c4[_0x3dc9ce(0x17d)](_0x2b61c4[_0x3dc9ce(0x179)]-0x1);_0x9be81d[_0x3dc9ce(0x175)](_0x15a4fc,_0x3dc9ce(0x168)),this[_0x3dc9ce(0x170)][_0x3dc9ce(0x177)][_0x3dc9ce(0x169)]();});}[_0x3c3837(0x159)](){const _0x30dffa=_0x3c3837,_0x25583f=this[_0x30dffa(0x170)][_0x30dffa(0x177)],_0x5e0b9b=_0x25583f[_0x30dffa(0x162)][_0x30dffa(0x17e)](),_0x428a7a=_0x5e0b9b[_0x30dffa(0x17d)](0x0);_0x5e0b9b[_0x30dffa(0x179)]>0x1||!_0x428a7a||'p'!=_0x428a7a[_0x30dffa(0x171)]?this[_0x30dffa(0x163)]&&this[_0x30dffa(0x163)][_0x30dffa(0x17b)]&&(_0x477759(_0x25583f,this[_0x30dffa(0x163)]),this[_0x30dffa(0x163)]=void 0x0):(this[_0x30dffa(0x17b)]&&(_0x428a7a[_0x30dffa(0x17b)]=this[_0x30dffa(0x17b)]),_0x1267e1({'view':_0x25583f,'element':_0x428a7a,'keepOnFocus':!0x0}),this[_0x30dffa(0x163)]=_0x428a7a);}}function _0x1657(){const _0x5b4e19=['ready','defaultPlugins','initialData','change','initPlugins','destroy','editing','name','66vZLLpC','25488936HvWchU','set','setSelection','model','view','map','childCount','get','placeholder','387234Nmqlgd','getChild','getRoot','assign','create','data','1WaWkEb','18rmFMCA','init','126375uudXyg','fromCharCode','plugins','_updatePlaceholder','createRoot','4820530SehusE','2493496QqAHBb','join','config','then','change:placeholder','fire','document','placeholderElement','60xIdMqC','low','193047YQBkFX','5266415MQyFjA','end','focus'];_0x1657=function(){return _0x5b4e19;};return _0x1657();}export default Qt;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31eb71=_0x4928;(function(_0x5b668f,_0x5afa35){const _0x437c5e=_0x4928,_0x12a22d=_0x5b668f();while(!![]){try{const _0xe079fb=parseInt(_0x437c5e(0x107))/0x1+parseInt(_0x437c5e(0x115))/0x2+-parseInt(_0x437c5e(0x108))/0x3+-parseInt(_0x437c5e(0x11d))/0x4*(-parseInt(_0x437c5e(0x10b))/0x5)+parseInt(_0x437c5e(0x109))/0x6*(parseInt(_0x437c5e(0x11f))/0x7)+parseInt(_0x437c5e(0x11e))/0x8+-parseInt(_0x437c5e(0x105))/0x9*(parseInt(_0x437c5e(0x116))/0xa);if(_0xe079fb===_0x5afa35)break;else _0x12a22d['push'](_0x12a22d['shift']());}catch(_0x314fe9){_0x12a22d['push'](_0x12a22d['shift']());}}}(_0x4838,0xf3c52));import{InlineEditableUIView as _0x938706,EditorUIView as _0x347c05}from'ckeditor5/src/ui.js';function _0x4838(){const _0x57a4ed=['2978910gWRrBg','render','7693135ZhfLke','ck-comment__input','element','main','ck-rounded-corners','ck-reset','ck-editor','setTemplate','uiLanguage','createCollection','1135438fruFFY','23676650DrmIPD','cke-editor__aria-label_','presentation','add','focus','Comment\x20editor','ck-editor__main','4gorWRD','2825480OMvmgj','21mIcjER','div','editable','9anHRmV','uiLanguageDirection','1185460EWjnwq','5304897etwrbh'];_0x4838=function(){return _0x57a4ed;};return _0x4838();}import{uid as _0x355ea8}from'ckeditor5/src/utils.js';function _0x4928(_0x279841,_0x5cad55){const _0x4838e0=_0x4838();return _0x4928=function(_0x4928e5,_0x18990c){_0x4928e5=_0x4928e5-0x105;let _0x5b4d1e=_0x4838e0[_0x4928e5];return _0x5b4d1e;},_0x4928(_0x279841,_0x5cad55);}import{getTranslation as _0x241559}from'../../../utils/common-translations.js';export default class Ut extends _0x347c05{[_0x31eb71(0x10e)];[_0x31eb71(0x121)];constructor(_0x418c0b,_0x198619){const _0x40b422=_0x31eb71;super(_0x418c0b);const _0x4178f0=_0x355ea8();this[_0x40b422(0x10e)]=this[_0x40b422(0x114)](),this[_0x40b422(0x121)]=new _0x938706(_0x418c0b,_0x198619,void 0x0,{'label':()=>_0x241559(_0x418c0b,_0x40b422(0x11b))}),this[_0x40b422(0x112)]({'tag':_0x40b422(0x120),'attributes':{'class':[_0x40b422(0x110),_0x40b422(0x111),_0x40b422(0x10f),_0x40b422(0x10c)],'dir':_0x418c0b[_0x40b422(0x106)],'lang':_0x418c0b[_0x40b422(0x113)],'aria-labelledby':_0x40b422(0x117)+_0x4178f0},'children':[{'tag':_0x40b422(0x120),'attributes':{'class':_0x40b422(0x11c),'role':_0x40b422(0x118)},'children':this[_0x40b422(0x10e)]}]});}[_0x31eb71(0x10a)](){const _0x401c31=_0x31eb71;super[_0x401c31(0x10a)](),this[_0x401c31(0x10e)][_0x401c31(0x119)](this[_0x401c31(0x121)]);}[_0x31eb71(0x11a)](){const _0x292b02=_0x31eb71;this[_0x292b02(0x121)][_0x292b02(0x10d)][_0x292b02(0x11a)]();}}
|