@ckeditor/ckeditor5-comments 47.0.0-alpha.3 → 47.0.0-alpha.5
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 +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.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/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.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/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2044ed=_0xfb84;(function(_0xff787,_0x51cfad){const _0x297472=_0xfb84,_0x42a88e=_0xff787();while(!![]){try{const _0x1d6d31=parseInt(_0x297472(0x20a))/0x1+-parseInt(_0x297472(0x1c8))/0x2*(-parseInt(_0x297472(0x24e))/0x3)+-parseInt(_0x297472(0x208))/0x4+-parseInt(_0x297472(0x1bc))/0x5+parseInt(_0x297472(0x214))/0x6*(parseInt(_0x297472(0x241))/0x7)+-parseInt(_0x297472(0x216))/0x8*(parseInt(_0x297472(0x205))/0x9)+parseInt(_0x297472(0x1cf))/0xa*(parseInt(_0x297472(0x24b))/0xb);if(_0x1d6d31===_0x51cfad)break;else _0x42a88e['push'](_0x42a88e['shift']());}catch(_0x9eebe8){_0x42a88e['push'](_0x42a88e['shift']());}}}(_0x14d3,0x8ea90));import{Plugin as _0x217566}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x345db4,scrollViewportToShowTarget as _0xa10f2f,uid as _0x57853b}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x5598e5}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x534860}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x161c8e,getAllMarkersDomElementsSorted as _0x110821,FOCUS_ANNOTATION_KEYSTROKE as _0x36293c,Users as _0x4576b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x3b5a0a}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x45e7ff}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0xed5f64}from'./integrations/importword.js';import{CommentsClipboard as _0x2eb3d9}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x3ffb9a}from'./integrations/showcommenthighlights.js';function _0xfb84(_0x24f12f,_0x66e5fb){const _0x14d375=_0x14d3();return _0xfb84=function(_0xfb84ca,_0x4bc0ed){_0xfb84ca=_0xfb84ca-0x1b8;let _0x107981=_0x14d375[_0xfb84ca];return _0x107981;},_0xfb84(_0x24f12f,_0x66e5fb);}import'../../theme/commentmarker.css';import{Annotations as _0x331211}from'../annotations/annotations.js';import{getTranslation as _0x4c19ce}from'../utils/common-translations.js';import{splitMarkerName as _0x2f836a}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x217566{static get[_0x2044ed(0x25a)](){return[_0x5598e5,_0x3b5a0a,_0x4576b9,_0x45e7ff,_0xed5f64,_0x2eb3d9,_0x3ffb9a];}static get[_0x2044ed(0x1be)](){const _0x5b93fa=_0x2044ed;return _0x5b93fa(0x1e9);}static get[_0x2044ed(0x224)](){return!0x0;}static get[_0x2044ed(0x251)](){return!0x0;}constructor(_0x1253c8){const _0x3f4954=_0x2044ed;super(_0x1253c8),this[_0x3f4954(0x204)](_0x3f4954(0x1c7),!0x0),_0x1253c8[_0x3f4954(0x25c)][_0x3f4954(0x252)](_0x3f4954(0x228),()=>this[_0x3f4954(0x1c7)]=!0x1),this[_0x3f4954(0x204)](_0x3f4954(0x258),null),this['on'](_0x3f4954(0x209),(_0x2f0131,_0x2839fe,_0x4292e8,_0x47142e)=>{const _0x5824ef=_0x3f4954,_0x2d6265=_0x1253c8[_0x5824ef(0x23d)][_0x5824ef(0x225)](_0x5598e5),_0x2b79ab=_0x4292e8?_0x2f836a(_0x4292e8)['id']:null;_0x1253c8[_0x5824ef(0x1dc)][_0x5824ef(0x22b)](()=>{const _0x2ff0fe=_0x5824ef;if(_0x2b79ab){const _0x317e3a=this[_0x2ff0fe(0x1d9)](_0x2b79ab);for(const _0x1288b3 of _0x317e3a)_0x1253c8[_0x2ff0fe(0x25b)][_0x2ff0fe(0x1c6)](_0x1288b3);}if(_0x47142e){const {id:_0x24c168}=_0x2f836a(_0x47142e),_0x221cea=_0x2d6265[_0x2ff0fe(0x22a)](_0x24c168);if(_0x221cea&&_0x221cea[_0x2ff0fe(0x23f)])return;if(_0x221cea&&!_0x221cea[_0x2ff0fe(0x221)])return;const _0x4bba1c=this[_0x2ff0fe(0x1d9)](_0x24c168);for(const _0x19ea73 of _0x4bba1c)_0x1253c8[_0x2ff0fe(0x25b)][_0x2ff0fe(0x1c6)](_0x19ea73);}}),_0x2b79ab&&this[_0x5824ef(0x222)](_0x2b79ab);}),this[_0x3f4954(0x259)]();}[_0x2044ed(0x227)](){const _0x1390ee=_0x2044ed,_0x948c4c=this[_0x1390ee(0x253)],_0x2ce03b=_0x948c4c[_0x1390ee(0x23d)][_0x1390ee(0x225)](_0x5598e5),_0x5b4982=_0x948c4c[_0x1390ee(0x20d)][_0x1390ee(0x225)](_0x1390ee(0x1e2)),_0x4055ec=_0x2ce03b[_0x1390ee(0x239)]()[_0x1390ee(0x22e)](_0x5df516=>_0x5df516[_0x1390ee(0x229)]!==_0x5b4982);_0x948c4c[_0x1390ee(0x256)][_0x1390ee(0x24c)](_0x1390ee(0x1bb),new _0x534860(_0x948c4c)),this[_0x1390ee(0x1c9)](_0x948c4c,_0x1390ee(0x20e),(_0x22f46a,_0x13c3fe,_0x10eecf)=>{const _0x2da7f9=_0x1390ee;_0x2ce03b[_0x2da7f9(0x1d5)](_0x10eecf,_0x948c4c[_0x2da7f9(0x20d)][_0x2da7f9(0x225)](_0x2da7f9(0x1e2)));}),this[_0x1390ee(0x1c9)](_0x2ce03b,dt(_0x1390ee(0x1bb),_0x5b4982),(_0x195b64,{threadId:_0x81513f})=>{const _0x1166b5=_0x1390ee,_0xab5cdc=this[_0x1166b5(0x253)][_0x1166b5(0x23d)][_0x1166b5(0x225)](_0x5598e5)[_0x1166b5(0x22a)](_0x81513f);_0xab5cdc?.[_0x1166b5(0x23f)]&&this[_0x1166b5(0x1e6)](_0x81513f);}),this[_0x1390ee(0x1c9)](_0x2ce03b,dt(_0x1390ee(0x23a),_0x5b4982),(_0x36a05c,{threadId:_0x5e71de})=>{const _0x21885c=_0x1390ee;_0x948c4c[_0x21885c(0x1dc)][_0x21885c(0x243)]({'isUndoable':!0x1},_0x29441e=>{const _0x1b6176=_0x21885c,_0x1eb47c=this[_0x1b6176(0x1d9)](_0x5e71de);for(const _0x4352e0 of _0x1eb47c)_0x29441e[_0x1b6176(0x248)](_0x4352e0);});}),this[_0x1390ee(0x1c9)](_0x2ce03b,dt(_0x1390ee(0x230),_0x5b4982),(_0x4f63fe,{threadId:_0xb93a9e})=>{const _0x1e152e=_0x1390ee;(this[_0x1e152e(0x213)](_0xb93a9e),this[_0x1e152e(0x253)][_0x1e152e(0x25b)][_0x1e152e(0x1f4)][_0x1e152e(0x223)])&&(this[_0x1e152e(0x253)][_0x1e152e(0x23d)][_0x1e152e(0x225)](_0x5598e5)[_0x1e152e(0x22a)](_0xb93a9e)[_0x1e152e(0x23f)]||this[_0x1e152e(0x253)][_0x1e152e(0x25b)][_0x1e152e(0x1f4)][_0x1e152e(0x200)]());},{'priority':_0x1390ee(0x22d)}),this[_0x1390ee(0x1c9)](_0x2ce03b,dt(_0x1390ee(0x21f),_0x5b4982),(_0x405aee,{threadId:_0x6e13a9})=>{const _0x38f2d6=_0x1390ee;this[_0x38f2d6(0x213)](_0x6e13a9);},{'priority':_0x1390ee(0x22d)}),this[_0x1390ee(0x1c9)](_0x2ce03b,dt(_0x1390ee(0x201),_0x5b4982),(_0x3aca32,{threadId:_0x47a49e,isFromAdapter:_0x211b3c})=>{const _0x37470c=_0x1390ee,_0x2fea14=this[_0x37470c(0x1d9)](_0x47a49e);if(_0x211b3c||0x0==_0x2fea14[_0x37470c(0x1b8)]||!_0x2ce03b[_0x37470c(0x1ee)](_0x47a49e))return;0x1===_0x2ce03b[_0x37470c(0x22a)](_0x47a49e)[_0x37470c(0x1b8)]&&_0x948c4c[_0x37470c(0x1dc)][_0x37470c(0x243)]({'isUndoable':!0x1},_0x5230b8=>{const _0x53820b=_0x37470c;for(const _0x39ef2a of _0x2fea14)_0x5230b8[_0x53820b(0x1cd)](_0x39ef2a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1390ee(0x22d)}),this[_0x1390ee(0x1f8)](),this[_0x1390ee(0x23b)](),this[_0x1390ee(0x1e8)](_0x4055ec);}[_0x2044ed(0x1c3)](){!async function(_0x501430){const _0x471c8b=_0x18dc63([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x12c61c=0x73460ab3,_0x5db182=0x73417e23^_0x12c61c,_0xdc2188=window[_0x18dc63([0x44,0x61,0x74,0x65])][_0x18dc63([0x6e,0x6f,0x77])](),_0x22a1f8=_0x501430[_0x18dc63([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x141565=new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x624635=>{_0x22a1f8[_0x18dc63([0x6f,0x6e,0x63,0x65])](_0x18dc63([0x72,0x65,0x61,0x64,0x79]),_0x624635);}),_0x176111={[_0x18dc63([0x6b,0x74,0x79])]:_0x18dc63([0x45,0x43]),[_0x18dc63([0x75,0x73,0x65])]:_0x18dc63([0x73,0x69,0x67]),[_0x18dc63([0x63,0x72,0x76])]:_0x18dc63([0x50,0x2d,0x32,0x35,0x36]),[_0x18dc63([0x78])]:_0x18dc63([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x18dc63([0x79])]:_0x18dc63([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x18dc63([0x61,0x6c,0x67])]:_0x18dc63([0x45,0x53,0x32,0x35,0x36])},_0x2d1513=_0x22a1f8[_0x18dc63([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18dc63([0x67,0x65,0x74])](_0x18dc63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a8a27(){let _0x1a8d09,_0x5d5814=null,_0x186a85=null;try{if(_0x2d1513==_0x18dc63([0x47,0x50,0x4c]))return _0x18dc63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a8d09=_0x35dbf2(),!_0x1a8d09)return _0x18dc63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a8d09[_0x18dc63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x186a85=_0x286878(_0x1a8d09[_0x18dc63([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a8d09[_0x18dc63([0x6a,0x74,0x69])])),await _0x6248d6()?_0x48eaed()?_0x523f2c()?_0x18dc63([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c0349()?(_0x1a8d09[_0x18dc63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18dc63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d5814=_0x4e4c39(_0x18dc63([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a8d09[_0x18dc63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18dc63([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d5814=_0x4e4c39(_0x18dc63([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f5716()):_0x18dc63([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18dc63([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18dc63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18dc63([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x523f2c(){const _0x49fec6=[_0x18dc63([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18dc63([0x74,0x72,0x69,0x61,0x6c])][_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a8d09[_0x18dc63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdc2188/0x3e8:0xe10*_0x5db182;return _0x1a8d09[_0x18dc63([0x65,0x78,0x70])]<_0x49fec6;}function _0x48eaed(){const _0x4f4ffc=_0x1a8d09[_0x18dc63([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4f4ffc)return!0x1;if(_0x4f4ffc[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18dc63([0x2a])))return!0x0;if(_0x4f4ffc[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18dc63([0x43,0x4d,0x54])))return!0x0;if(_0x4f4ffc[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18dc63([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5ded2f())return!0x0;if(_0x4f4ffc[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18dc63([0x52,0x43,0x4d,0x54]))){if(_0x5828d9())return!0x0;if(_0x4065b5()||_0x2dd1c0())return!0x0;}return!0x1;}function _0x2c0349(){const _0x312c4b=_0xfb84,_0x28acb5=_0x1a8d09[_0x18dc63([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x28acb5||0x0==_0x28acb5[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x169d19}=new URL(window[_0x18dc63([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x312c4b(0x1f0)]);if(_0x28acb5[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x169d19))return!0x0;const _0x492142=_0x169d19[_0x18dc63([0x73,0x70,0x6c,0x69,0x74])](_0x18dc63([0x2e]));return _0x28acb5[_0x18dc63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20abd8=>_0x20abd8[_0x18dc63([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18dc63([0x2a])))[_0x18dc63([0x6d,0x61,0x70])](_0x20a06d=>_0x20a06d[_0x18dc63([0x73,0x70,0x6c,0x69,0x74])](_0x18dc63([0x2e])))[_0x18dc63([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x143ada=>_0x143ada[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x492142[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18dc63([0x6d,0x61,0x70])](_0x4738c1=>Array(_0x492142[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4738c1[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18dc63([0x66,0x69,0x6c,0x6c])](_0x4738c1[0x0]===_0x18dc63([0x2a])?_0x18dc63([0x2a]):'')[_0x18dc63([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4738c1))[_0x18dc63([0x73,0x6f,0x6d,0x65])](_0x2360af=>_0x492142[_0x18dc63([0x65,0x76,0x65,0x72,0x79])]((_0x14717f,_0x745839)=>_0x2360af[_0x745839]===_0x14717f||_0x2360af[_0x745839]===_0x18dc63([0x2a])));}function _0x1f5716(){return _0x5d5814&&_0x186a85?new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10bf25,_0x20d743)=>{_0x5d5814[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x10bf25,_0x20d743),_0x186a85[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x389621=>{_0x389621!=_0x18dc63([0x56,0x61,0x6c,0x69,0x64])&&_0x10bf25(_0x389621);},_0x20d743);}):_0x5d5814||_0x186a85||_0x18dc63([0x56,0x61,0x6c,0x69,0x64]);}}function _0x286878(_0x2f97c5,_0x2af620){return new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58b8e3=>{if(_0x50426c())return _0x58b8e3(_0x18dc63([0x56,0x61,0x6c,0x69,0x64]));_0x152a2d(),_0x22a1f8[_0x18dc63([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18dc63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x254aba=!0x1;const _0x303d35=_0x57853b();function _0x4daaa6(_0x7d5d38){return!!_0x7d5d38&&(typeof _0x7d5d38===_0x18dc63([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7d5d38===_0x18dc63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7d5d38[_0x18dc63([0x74,0x68,0x65,0x6e])]===_0x18dc63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7d5d38[_0x18dc63([0x63,0x61,0x74,0x63,0x68])]===_0x18dc63([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe30843(_0x349685){_0x408d2a(_0x349685)[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x5a30aa=>{if(!_0x5a30aa||_0x5a30aa[_0x18dc63([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18dc63([0x6f,0x6b]))return _0x18dc63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c90a9(_0x4f6a36(_0x303d35+_0x2af620))!=_0x5a30aa[_0x18dc63([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18dc63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18dc63([0x56,0x61,0x6c,0x69,0x64]);})[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x3371ed=>(_0x14e87c(),_0x3371ed),()=>{const _0x599347=_0x1f8473();return null==_0x599347?(_0x14e87c(),_0x18dc63([0x56,0x61,0x6c,0x69,0x64])):_0x18dc63(_0xdc2188-_0x599347>(0x574a8eb3^_0x12c61c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x58b8e3)[_0x18dc63([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58b8e3(_0x18dc63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x56c6ad=0x7370e433^_0x12c61c;function _0x14e87c(){const _0x2d5335=_0x18dc63([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c90a9(_0x4f6a36(_0x2f97c5)),_0x2a7457=_0x518c00(_0x4c90a9(window[_0x18dc63([0x4d,0x61,0x74,0x68])][_0x18dc63([0x63,0x65,0x69,0x6c])](_0xdc2188/_0x56c6ad)));window[_0x18dc63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18dc63([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d5335,_0x2a7457);}function _0x1f8473(){const _0x168f2b=_0x18dc63([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c90a9(_0x4f6a36(_0x2f97c5)),_0x3144e7=window[_0x18dc63([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18dc63([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x168f2b);return _0x3144e7?window[_0x18dc63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x518c00(_0x3144e7),0x10)*_0x56c6ad:null;}function _0x408d2a(_0xcea7c1){return new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37a5ea,_0xca930)=>{_0xcea7c1[_0x18dc63([0x74,0x68,0x65,0x6e])](_0x37a5ea,_0xca930),window[_0x18dc63([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xca930,0x7347de73^_0x12c61c);});}}_0x22a1f8[_0x18dc63([0x6f,0x6e])](_0x18dc63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x22e9ca,_0x157a5e)=>{if(_0x157a5e[0x0]!=_0x2f97c5)return _0x58b8e3(_0x18dc63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x157a5e[0x1]={..._0x157a5e[0x1],[_0x18dc63([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x303d35};},{[_0x18dc63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18dc63([0x68,0x69,0x67,0x68])}),_0x22a1f8[_0x18dc63([0x6f,0x6e])](_0x18dc63([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x316ef3=>{_0x4daaa6(_0x316ef3[_0x18dc63([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x254aba=!0x0,_0xe30843(_0x316ef3[_0x18dc63([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18dc63([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18dc63([0x6c,0x6f,0x77])}),_0x141565[_0x18dc63([0x74,0x68,0x65,0x6e])](()=>{_0x254aba||_0x58b8e3(_0x18dc63([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50426c(){return _0x22a1f8[_0x18dc63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18dc63([0x76,0x69,0x65,0x77])][_0x18dc63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18dc63([0x61,0x75,0x74,0x6f]);}function _0x152a2d(){_0x22a1f8[_0x18dc63([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18dc63([0x76,0x69,0x65,0x77])][_0x18dc63([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18dc63([0x61,0x75,0x74,0x6f]);}}function _0x4e4c39(_0x1e58d0){const _0x3736b6=[new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x306184=>setTimeout(_0x306184,0x734f347f^_0x12c61c)),_0x141565[_0x18dc63([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a60b2=>{let _0x19952c=0x0;_0x22a1f8[_0x18dc63([0x6d,0x6f,0x64,0x65,0x6c])][_0x18dc63([0x6f,0x6e])](_0x18dc63([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x307cf0,_0x1eefe1)=>{_0x1eefe1[0x0][_0x18dc63([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19952c++,_0x19952c==(0x73460b4b^_0x12c61c)&&(_0x2a60b2(),_0x307cf0[_0x18dc63([0x6f,0x66,0x66])]());});}))];return window[_0x18dc63([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18dc63([0x72,0x61,0x63,0x65])](_0x3736b6)[_0x18dc63([0x74,0x68,0x65,0x6e])](()=>_0x1e58d0);}async function _0x48e415(){await _0x141565,_0x22a1f8[_0x18dc63([0x6d,0x6f,0x64,0x65,0x6c])][_0x18dc63([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x225317,_0x22a1f8[_0x18dc63([0x6d,0x6f,0x64,0x65,0x6c])][_0x18dc63([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x225317,_0x22a1f8[_0x18dc63([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18dc63([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5ded2f(){return window[_0x18dc63([0x67,0x6c,0x6f,0x62])]&&window[_0x18dc63([0x67,0x6c,0x6f,0x62])][_0x18dc63([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5828d9(){return _0x2b25d0(_0x18dc63([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e5585(_0x18dc63([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x18dc63([0x73,0x74,0x61,0x74,0x65])]==_0x18dc63([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4065b5(){return _0x2b25d0(_0x18dc63([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x2dd1c0(){return _0x2b25d0(_0x18dc63([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x10a9b4(_0x469c3b){const _0x4bbb04=_0xa947d5();_0x22a1f8[_0x4bbb04]=_0x18dc63([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x469c3b,_0x469c3b!=_0x18dc63([0x56,0x61,0x6c,0x69,0x64])&&_0x48e415();}function _0xa947d5(){const _0x313746=window[_0x18dc63([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18dc63([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18dc63([0x6e,0x6f,0x77])]())[_0x18dc63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18dc63([0x2e]),'');let _0x926a7=_0x18dc63([0x4b]);for(let _0x3b34ad=0x0;_0x3b34ad<_0x313746[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b34ad+=0x2){let _0x526f5a=window[_0x18dc63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x313746[_0x18dc63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b34ad,_0x3b34ad+0x2));_0x526f5a>=_0x471c8b[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x526f5a-=_0x471c8b[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x926a7+=_0x471c8b[_0x526f5a];}return _0x926a7;}function _0x35dbf2(){const _0x5e5df0=_0x2d1513[_0x18dc63([0x73,0x70,0x6c,0x69,0x74])](_0x18dc63([0x2e]));if(0x3!=_0x5e5df0[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3af8b3(_0x5e5df0[0x1]);function _0x3af8b3(_0x7293ff){const _0x46ce2b=_0x1f8bc9(_0x7293ff);return _0x46ce2b&&_0x48fac3()?_0x46ce2b:null;function _0x48fac3(){const _0x5e9287=_0x46ce2b[_0x18dc63([0x6a,0x74,0x69])],_0x3d3258=window[_0x18dc63([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e9287[_0x18dc63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e9287[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d6a79={..._0x46ce2b,[_0x18dc63([0x6a,0x74,0x69])]:_0x5e9287[_0x18dc63([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5e9287[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d6a79[_0x18dc63([0x76,0x63])],_0x4f6a36(_0x5d6a79)==_0x3d3258;}}}async function _0x6248d6(){let _0x316a64=!0x0;try{const _0x252a7d=_0x2d1513[_0x18dc63([0x73,0x70,0x6c,0x69,0x74])](_0x18dc63([0x2e])),[_0x53ec0a,_0x66afe3,_0x711b0b]=_0x252a7d;return _0x380c51(_0x53ec0a),await _0x5a39c0(_0x53ec0a,_0x66afe3,_0x711b0b),_0x316a64;}catch{return!0x1;}function _0x380c51(_0x50f87e){const _0x15197a=_0x1f8bc9(_0x50f87e);_0x15197a&&_0x15197a[_0x18dc63([0x61,0x6c,0x67])]==_0x18dc63([0x45,0x53,0x32,0x35,0x36])||(_0x316a64=!0x1);}async function _0x5a39c0(_0x1025f8,_0x28760f,_0x318c5f){const _0x1f4f41=window[_0x18dc63([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18dc63([0x66,0x72,0x6f,0x6d])](_0x101734(_0x318c5f),_0x53c51=>_0x53c51[_0x18dc63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1441fa=new window[(_0x18dc63([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18dc63([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1025f8+_0x18dc63([0x2e])+_0x28760f),_0x5c7a76=window[_0x18dc63([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18dc63([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5c7a76)return;const _0x4fa909=await _0x5c7a76[_0x18dc63([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18dc63([0x6a,0x77,0x6b]),_0x176111,{[_0x18dc63([0x6e,0x61,0x6d,0x65])]:_0x18dc63([0x45,0x43,0x44,0x53,0x41]),[_0x18dc63([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18dc63([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18dc63([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5c7a76[_0x18dc63([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18dc63([0x6e,0x61,0x6d,0x65])]:_0x18dc63([0x45,0x43,0x44,0x53,0x41]),[_0x18dc63([0x68,0x61,0x73,0x68])]:{[_0x18dc63([0x6e,0x61,0x6d,0x65])]:_0x18dc63([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4fa909,_0x1f4f41,_0x1441fa)||(_0x316a64=!0x1);}}function _0x1f8bc9(_0x3e9b96){return _0x3e9b96[_0x18dc63([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18dc63([0x65,0x79]))?JSON[_0x18dc63([0x70,0x61,0x72,0x73,0x65])](_0x101734(_0x3e9b96)):null;}function _0x101734(_0x27348a){return window[_0x18dc63([0x61,0x74,0x6f,0x62])](_0x27348a[_0x18dc63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18dc63([0x2b]))[_0x18dc63([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18dc63([0x2f])));}function _0x4f6a36(_0x35d42a){let _0xf56cb6=0x1505;function _0xb55fa9(_0x27787e){for(let _0x35fa9a=0x0;_0x35fa9a<_0x27787e[_0x18dc63([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35fa9a++){const _0x2eff58=_0x27787e[_0x18dc63([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35fa9a);_0xf56cb6=(_0xf56cb6<<0x5)+_0xf56cb6+_0x2eff58,_0xf56cb6&=_0xf56cb6;}}function _0xc8922c(_0x813910){Array[_0x18dc63([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x813910)?_0x813910[_0x18dc63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc8922c):_0x813910&&typeof _0x813910==_0x18dc63([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18dc63([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x813910)[_0x18dc63([0x73,0x6f,0x72,0x74])]()[_0x18dc63([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x123f3f,_0x220e2a])=>{_0xb55fa9(_0x123f3f),_0xc8922c(_0x220e2a);}):_0xb55fa9(window[_0x18dc63([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x813910));}return _0xc8922c(_0x35d42a),_0xf56cb6>>>0x0;}function _0x4c90a9(_0x4ccebc){return _0x4ccebc[_0x18dc63([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18dc63([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18dc63([0x30]));}function _0x518c00(_0x407716){return _0x407716[_0x18dc63([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18dc63([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18dc63([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b25d0(_0x2a75d3){return _0x22a1f8[_0x18dc63([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18dc63([0x68,0x61,0x73])](_0x2a75d3);}function _0x5e5585(_0x20c975){return _0x22a1f8[_0x18dc63([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x18dc63([0x67,0x65,0x74])](_0x20c975);}function _0x225317(){}function _0x18dc63(_0x5ea86b){const _0x14e0a8=_0xfb84;return _0x5ea86b[_0x14e0a8(0x1f2)](_0x2d9a79=>String[_0x14e0a8(0x247)](_0x2d9a79))[_0x14e0a8(0x1d7)]('');}_0x10a9b4(await _0x3a8a27());}(this);}[_0x2044ed(0x1ec)](){const _0xf9ed74=_0x2044ed,_0x3c6af0=this[_0xf9ed74(0x253)][_0xf9ed74(0x23d)][_0xf9ed74(0x225)](_0x5598e5),_0x199f35=this[_0xf9ed74(0x253)][_0xf9ed74(0x20d)][_0xf9ed74(0x225)](_0xf9ed74(0x1e2));for(const _0x52de72 of _0x3c6af0[_0xf9ed74(0x239)]({'channelId':_0x199f35}))_0x3c6af0[_0xf9ed74(0x1db)](_0x52de72['id']),_0x3c6af0[_0xf9ed74(0x255)][_0xf9ed74(0x1e3)](_0x52de72['id']);super[_0xf9ed74(0x1ec)]();}[_0x2044ed(0x1e5)](_0x35af56){const _0x129a89=_0x2044ed;return this[_0x129a89(0x1d9)](_0x35af56)[_0x129a89(0x1b8)]>0x0;}[_0x2044ed(0x1d9)](_0x4f7742){const _0x184d87=_0x2044ed,_0x187ab6=[];for(const _0x276731 of this[_0x184d87(0x253)][_0x184d87(0x1dc)][_0x184d87(0x1cb)])_0x276731[_0x184d87(0x1d0)][_0x184d87(0x236)](_0x184d87(0x1cc)+_0x4f7742)&&_0x187ab6[_0x184d87(0x212)](_0x276731);return _0x187ab6;}[_0x2044ed(0x222)](_0x836562){setTimeout(()=>{const _0x351e4f=_0xfb84,_0x320dfe=this[_0x351e4f(0x21e)](_0x836562);if(!_0x320dfe)return;this[_0x351e4f(0x258)]&&_0x2f836a(this[_0x351e4f(0x258)])['id']===_0x836562&&_0xa10f2f({'target':_0x320dfe[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2044ed(0x213)](_0x2ea878){const _0x50e0a6=_0x2044ed;this[_0x50e0a6(0x253)][_0x50e0a6(0x1dc)][_0x50e0a6(0x22b)](()=>{const _0x3ac377=_0x50e0a6;for(const _0x5c64d1 of this[_0x3ac377(0x1d9)](_0x2ea878))this[_0x3ac377(0x253)][_0x3ac377(0x25b)][_0x3ac377(0x1c6)](_0x5c64d1);});}[_0x2044ed(0x1e6)](_0x476e86){const _0x2a72d2=_0x2044ed,_0x16b1dd=this[_0x2a72d2(0x253)][_0x2a72d2(0x23d)][_0x2a72d2(0x225)](_0x5598e5),_0x56b3b4=this[_0x2a72d2(0x253)][_0x2a72d2(0x23d)][_0x2a72d2(0x225)](_0x3b5a0a),_0x3b6643=_0x16b1dd[_0x2a72d2(0x22a)](_0x476e86);if(!_0x3b6643[_0x2a72d2(0x221)]){const _0x4e1f1c=_0x3b6643[_0x2a72d2(0x240)](()=>this[_0x2a72d2(0x21e)](_0x3b6643['id']));_0x56b3b4[_0x2a72d2(0x1c4)](_0x4e1f1c),_0x3b6643[_0x2a72d2(0x218)]=!0x1;}}[_0x2044ed(0x1f8)](){const _0x55f7e3=_0x2044ed,_0x4649a1=this[_0x55f7e3(0x253)],_0x21e205=_0x4649a1[_0x55f7e3(0x23d)][_0x55f7e3(0x225)](_0x4576b9);_0x4649a1[_0x55f7e3(0x257)][_0x55f7e3(0x1c2)](_0x55f7e3(0x1f6))[_0x55f7e3(0x1fc)]({'model':_0x55f7e3(0x242),'view':(_0x32c38e,_0x1b41e5)=>{const _0xf4465d=_0x55f7e3,{id:_0x3b016e}=_0x2f836a(_0x32c38e[_0xf4465d(0x21d)]),_0x3cd4ee=_0x4649a1[_0xf4465d(0x23d)][_0xf4465d(0x225)](_0x5598e5)[_0xf4465d(0x22a)](_0x3b016e),_0x461c31=this[_0xf4465d(0x258)]&&_0x2f836a(this[_0xf4465d(0x258)])['id']===_0x3b016e;let _0x4ebf33;if(_0x3cd4ee&&_0x3cd4ee[_0xf4465d(0x245)]&&!_0x461c31&&_0x32c38e[_0xf4465d(0x1ce)])return _0x1b41e5[_0xf4465d(0x1bd)][_0xf4465d(0x22f)](_0x32c38e[_0xf4465d(0x1ce)],_0xf4465d(0x233)+_0x32c38e[_0xf4465d(0x21d)]),_0x1b41e5[_0xf4465d(0x1bd)][_0xf4465d(0x22f)](_0x32c38e[_0xf4465d(0x1ce)],_0xf4465d(0x23c)+_0x32c38e[_0xf4465d(0x21d)]),null;const _0x4e2f8f=[_0xf4465d(0x219)];return _0x461c31&&_0x4e2f8f[_0xf4465d(0x212)](_0xf4465d(0x1ed)),_0x4ebf33=_0x3cd4ee?.[_0xf4465d(0x1b8)]?_0x3cd4ee[_0xf4465d(0x22c)][_0xf4465d(0x23e)][_0xf4465d(0x1d2)]['id']:_0x21e205['me']['id'],{'classes':_0x4e2f8f,'attributes':{'data-comment':_0x3b016e,'data-author-id':_0x4ebf33}};}}),_0x4649a1[_0x55f7e3(0x257)][_0x55f7e3(0x1c2)](_0x55f7e3(0x1eb))[_0x55f7e3(0x20b)]({'model':_0x55f7e3(0x242),'view':(_0x5ace2e,{options:_0x3d7858})=>{const _0x23a9ab=_0x55f7e3;if(_0x3d7858[_0x23a9ab(0x1fb)])return null;const _0x55b4ec=_0x4649a1[_0x23a9ab(0x23d)][_0x23a9ab(0x225)](_0x5598e5),_0xf6905f=_0x4649a1[_0x23a9ab(0x1dc)][_0x23a9ab(0x1cb)][_0x23a9ab(0x225)](_0x5ace2e),{id:_0x23827d,part:_0x2c81a8}=_0x2f836a(_0x5ace2e);return _0xf6905f&&!_0xf6905f[_0x23a9ab(0x215)]||_0x3d7858[_0x23a9ab(0x24a)]&&_0x55b4ec[_0x23a9ab(0x22a)](_0x23827d)?.[_0x23a9ab(0x245)]?null:{'group':_0x23a9ab(0x242),'name':_0x2c81a8?_0x23827d+':'+_0x2c81a8:_0x23827d};}}),_0x4649a1[_0x55f7e3(0x257)][_0x55f7e3(0x1c2)](_0x55f7e3(0x1e0))[_0x55f7e3(0x1f7)]({'view':{'name':_0x55f7e3(0x242),'attributes':{'id':/^\w/}},'model':(_0x55540e,{writer:_0x3f318a})=>_0x3f318a[_0x55f7e3(0x1f1)](_0x55f7e3(0x237),{'data-name':_0x55f7e3(0x1cc)+_0x55540e[_0x55f7e3(0x1e4)]('id')})}),_0x4649a1[_0x55f7e3(0x257)][_0x55f7e3(0x1c2)](_0x55f7e3(0x1e0))[_0x55f7e3(0x211)]({'view':_0x55f7e3(0x242)});}[_0x2044ed(0x23b)](){const _0x5c4603=_0x2044ed,_0x431e34=this[_0x5c4603(0x253)],_0x224c91=_0x431e34[_0x5c4603(0x23d)][_0x5c4603(0x225)](_0x5598e5),_0x5e0ecb=new Set(),_0x27a361=new Set();_0x431e34[_0x5c4603(0x1dc)][_0x5c4603(0x1fa)][_0x5c4603(0x254)](_0x13cef2=>{const _0x3a89da=_0x5c4603;let _0x55a734=!0x1;for(const {name:_0x2b484d,data:_0x15e083}of _0x431e34[_0x3a89da(0x1dc)][_0x3a89da(0x1fa)][_0x3a89da(0x1ff)][_0x3a89da(0x1df)]()){const {group:_0x2232aa,id:_0x4eaf67}=_0x2f836a(_0x2b484d);let _0x18a6c3=_0x15e083[_0x3a89da(0x235)];if(_0x3a89da(0x242)!==_0x2232aa||!_0x18a6c3)continue;const _0x2d7c1b=_0x3a89da(0x249)===_0x18a6c3[_0x3a89da(0x231)][_0x3a89da(0x1ef)];_0x2d7c1b||(_0x18a6c3=ht(_0x18a6c3,_0x431e34[_0x3a89da(0x1dc)]),!_0x18a6c3||_0x18a6c3[_0x3a89da(0x1c0)]||!_0x15e083[_0x3a89da(0x235)]||_0x18a6c3[_0x3a89da(0x226)](_0x15e083[_0x3a89da(0x235)]))?_0x431e34[_0x3a89da(0x1dc)][_0x3a89da(0x21c)](_0x18a6c3)&&!_0x2d7c1b?this[_0x3a89da(0x1c7)]?_0x5e0ecb[_0x3a89da(0x24c)](_0x2b484d):this[_0x3a89da(0x1dd)](_0x2b484d,_0x4eaf67):(_0x27a361[_0x3a89da(0x24c)](_0x2b484d),_0x5e0ecb[_0x3a89da(0x1e3)](_0x2b484d),_0x13cef2[_0x3a89da(0x248)](_0x2b484d),_0x55a734=!0x0):(_0x13cef2[_0x3a89da(0x1cd)](_0x2b484d,{'range':_0x18a6c3}),_0x55a734=!0x0);}return _0x55a734;}),this['on'](_0x5c4603(0x202),(_0x1a0621,_0x28a3ca,_0x2ec4e9)=>{const _0x1251bc=_0x5c4603;if(!_0x2ec4e9&&_0x5e0ecb[_0x1251bc(0x1e7)])for(const _0x5b3c11 of _0x5e0ecb){const {id:_0x2b0da2}=_0x2f836a(_0x5b3c11);_0x5e0ecb[_0x1251bc(0x1e3)](_0x5b3c11),_0x431e34[_0x1251bc(0x1dc)][_0x1251bc(0x1cb)][_0x1251bc(0x225)](_0x5b3c11)&&this[_0x1251bc(0x1dd)](_0x5b3c11,_0x2b0da2);}}),this[_0x5c4603(0x1c9)](_0x431e34[_0x5c4603(0x1dc)][_0x5c4603(0x1fa)],_0x5c4603(0x22b),()=>{const _0x43dd29=_0x5c4603;for(const {name:_0x22538e,data:{newRange:_0x1513e4}}of _0x431e34[_0x43dd29(0x1dc)][_0x43dd29(0x1fa)][_0x43dd29(0x1ff)][_0x43dd29(0x1df)]()){const {group:_0x917c36,id:_0x2ec6c3}=_0x2f836a(_0x22538e);if(_0x43dd29(0x242)!==_0x917c36)continue;const _0x3ece8d=_0x224c91[_0x43dd29(0x22a)](_0x2ec6c3),_0x500c3a=this[_0x43dd29(0x1e5)](_0x2ec6c3);_0x3ece8d&&(!_0x3ece8d[_0x43dd29(0x218)]&&_0x1513e4&&_0x431e34[_0x43dd29(0x25b)][_0x43dd29(0x1f4)][_0x43dd29(0x252)](_0x43dd29(0x1f5),()=>{const _0x40916e=_0x43dd29,_0x20e447=_0x431e34[_0x40916e(0x23d)][_0x40916e(0x225)](_0x331211),_0x508aec=_0x224c91[_0x40916e(0x1d8)][_0x40916e(0x225)](_0x3ece8d)[_0x40916e(0x1f4)];_0x20e447[_0x40916e(0x20f)](_0x508aec)[_0x40916e(0x232)]();},{'priority':_0x43dd29(0x22d)}),_0x3ece8d[_0x43dd29(0x218)]=_0x500c3a||!!_0x1513e4),_0x1513e4||(_0x27a361[_0x43dd29(0x24c)](_0x22538e),_0x5e0ecb[_0x43dd29(0x1e3)](_0x22538e));}for(const _0x1833b1 of _0x27a361){const {id:_0x5113d9}=_0x2f836a(_0x1833b1),_0x2cedba=_0x224c91[_0x43dd29(0x22a)](_0x5113d9);if(_0x5e0ecb[_0x43dd29(0x1e3)](_0x1833b1),!_0x2cedba)continue;const _0x15fd51=this[_0x43dd29(0x1e5)](_0x5113d9);_0x15fd51||_0x2cedba[_0x43dd29(0x21a)]?_0x15fd51||_0x2cedba[_0x43dd29(0x23f)]||_0x2cedba[_0x43dd29(0x1d1)](new Date()):_0x2cedba[_0x43dd29(0x206)]();}_0x27a361[_0x43dd29(0x246)]();});}[_0x2044ed(0x1e8)](_0x430c99){const _0x19fab0=_0x2044ed;_0x430c99[_0x19fab0(0x1fd)](_0x2cd99d=>{const _0x4a8b67=_0x19fab0;_0x2cd99d[_0x4a8b67(0x23f)]&&this[_0x4a8b67(0x1e6)](_0x2cd99d['id']);});}[_0x2044ed(0x21e)](_0x477ea7){const _0x4e0e50=_0x2044ed,_0x5ce40b=this[_0x4e0e50(0x253)],_0x23d5e2=this[_0x4e0e50(0x1d9)](_0x477ea7);return _0x110821(_0x5ce40b[_0x4e0e50(0x25b)],_0x23d5e2);}[_0x2044ed(0x1d6)](_0x5ed891){const _0x2380fe=_0x2044ed,_0x207ece=this[_0x2380fe(0x1d9)](_0x5ed891);let _0x1806ac='',_0x2eb211=!0x1;for(const _0x5dddca of _0x207ece){const _0xa9c7a5=_0x5dddca[_0x2380fe(0x1c1)]();for(const _0x15b6a6 of Array[_0x2380fe(0x220)](_0xa9c7a5[_0x2380fe(0x20c)]()))_0x15b6a6['is'](_0x2380fe(0x238))?(_0x1806ac&&_0x2eb211&&(_0x1806ac+='\x20',_0x2eb211=!0x1),_0x1806ac+=_0x15b6a6[_0x2380fe(0x25c)]):_0x2eb211=!0x0;_0x2eb211=!0x0;}return _0x1806ac[_0x2380fe(0x1ea)](0x0,0x96);}[_0x2044ed(0x1d4)](_0x328c28,_0x2e5016){const _0x279705=_0x2044ed,_0x4b70a1=this[_0x279705(0x253)],_0x182e7b=_0x4b70a1[_0x279705(0x23d)][_0x279705(0x225)](_0x5598e5);let _0x15fd6c=_0x182e7b[_0x279705(0x22a)](_0x2e5016);const _0x53444d=_0x4b70a1[_0x279705(0x20d)][_0x279705(0x225)](_0x279705(0x1e2)),_0x1e14a3=_0x4b70a1[_0x279705(0x23d)][_0x279705(0x225)](_0x3b5a0a);if(_0x15fd6c&&(_0x15fd6c[_0x279705(0x23f)]&&_0x15fd6c[_0x279705(0x1d1)](null),_0x15fd6c[_0x279705(0x221)]))return _0x15fd6c;return!this[_0x279705(0x1d9)](_0x2e5016)[0x0][_0x279705(0x1e1)]?_0x4b70a1[_0x279705(0x25b)][_0x279705(0x1f4)][_0x279705(0x252)](_0x279705(0x1f5),()=>{const _0x50ad82=_0x279705;if(_0x182e7b[_0x50ad82(0x22a)](_0x2e5016))return;const _0x448057=_0x4b70a1[_0x50ad82(0x23d)][_0x50ad82(0x225)](_0x331211);_0x15fd6c=_0x182e7b[_0x50ad82(0x1c5)]({'channelId':_0x53444d,'threadId':_0x2e5016,'target':()=>this[_0x50ad82(0x21e)](_0x2e5016),'context':{'type':_0x50ad82(0x210),'value':this[_0x50ad82(0x1d6)](_0x2e5016)}});const _0x5255dc=_0x182e7b[_0x50ad82(0x1d8)][_0x50ad82(0x225)](_0x15fd6c)[_0x50ad82(0x1f4)],_0x3d3e6a=_0x448057[_0x50ad82(0x20f)](_0x5255dc);_0x3d3e6a&&_0x1e14a3[_0x50ad82(0x1c4)](_0x3d3e6a);},{'priority':_0x279705(0x22d)}):_0x182e7b[_0x279705(0x24f)]({'channelId':_0x53444d,'threadId':_0x2e5016})[_0x279705(0x1f3)](_0x125cfa=>{const _0x2bac67=_0x279705;if(_0x2bac67(0x203)!==_0x4b70a1[_0x2bac67(0x1da)]){if(_0x15fd6c=_0x125cfa,_0x15fd6c&&!_0x15fd6c[_0x2bac67(0x221)]){const _0x1b3e77=_0x15fd6c[_0x2bac67(0x240)](()=>this[_0x2bac67(0x21e)](_0x2e5016));_0x1e14a3[_0x2bac67(0x1c4)](_0x1b3e77),_0x15fd6c[_0x2bac67(0x245)]&&this[_0x2bac67(0x213)](_0x2e5016);}else{if(!_0x15fd6c){const _0x569407=this[_0x2bac67(0x1d9)](_0x2e5016);_0x4b70a1[_0x2bac67(0x1dc)][_0x2bac67(0x22b)](_0x15fc54=>{const _0xb53c17=_0x2bac67;for(const _0x462558 of _0x569407)_0x15fc54[_0xb53c17(0x248)](_0x462558);});}}}}),_0x15fd6c;}[_0x2044ed(0x1dd)](_0x173b5f,_0x25352c){const _0x45f71f=_0x2044ed,_0x529f42=this[_0x45f71f(0x1d4)](_0x173b5f,_0x25352c);_0x529f42&&!_0x529f42[_0x45f71f(0x1b9)]&&_0x529f42[_0x45f71f(0x244)]({'type':_0x45f71f(0x210),'value':this[_0x45f71f(0x1d6)](_0x25352c)});}[_0x2044ed(0x259)](){const _0x54fc15=_0x2044ed,_0x363b14=this[_0x54fc15(0x253)];_0x161c8e(_0x363b14[_0x54fc15(0x1dc)],({left:_0x2fa27a,entered:_0x4b2506})=>{const _0x18ac81=_0x54fc15;for(const _0x1eb2ce of _0x2fa27a)if(mt(_0x1eb2ce)){_0x363b14['ui'][_0x18ac81(0x1ca)][_0x18ac81(0x234)](_0x4c19ce(_0x363b14[_0x18ac81(0x21b)],_0x18ac81(0x1fe)));break;}for(const _0x4d63ac of _0x4b2506)if(mt(_0x4d63ac)){_0x363b14['ui'][_0x18ac81(0x1ca)][_0x18ac81(0x234)](_0x4c19ce(_0x363b14[_0x18ac81(0x21b)],_0x18ac81(0x1ba),_0x345db4(_0x36293c)));break;}});}}function dt(_0x58af17,_0x5e3570){return _0x5e3570?_0x58af17+':'+_0x5e3570:_0x58af17;}function _0x14d3(){const _0x205850=['createPositionBefore','_attachMarkerToThread','switchReadOnly','_getTextContext','join','_threadToController','getAllMarkersForId','state','_detachCommentThread','model','_handleThreadMarker','group','getChangedMarkers','upcast','managedUsingOperations','collaboration.channelId','delete','getAttribute','hasMarkerForId','_attachArchivedThread','size','_handleInitialThreads','CommentsEditing','substring','dataDowncast','destroy','ck-comment-marker--active','hasCommentThread','rootName','href','createElement','map','then','view','render','editingDowncast','elementToElement','_initializeMarkerConverters','start','document','showCommentHighlights','markerToHighlight','forEach','LEAVE_COMMENT_ANNOUNCEMENT','differ','focus','addComment','change:isThreadsLoadingPaused','destroyed','set','295263snJJIn','remove','isObject','1792832YYBIEe','change:activeMarker','485827SQlWwr','markerToData','getItems','config','change:isReadOnly','getByInnerView','text','dataToMarker','push','_reconvertMarkers','78xzAyBC','affectsData','152BHJeWv','schema','_hasTargetInContent','ck-comment-marker','isSubmitted','locale','hasContent','markerName','_getTargetForId','reopenCommentThread','from','isAttached','scrollToThreadMarker','hasDomSelection','isOfficialPlugin','get','isEqual','init','ready','channelId','getCommentThread','change','comments','low','filter','consume','resolveCommentThread','root','refreshVisibility','addMarker:','announce','newRange','startsWith','$marker','$textProxy','getCommentThreads','removeCommentThread','_handleMarkerAddAndRemove','removeMarker:','plugins','first','unlinkedAt','attachTo','611660IARPYu','comment','enqueueChange','setContext','isResolved','clear','fromCharCode','removeMarker','$graveyard','ignoreResolvedComments','216887oTJqOe','add','getWalker','213Njexsv','fetchCommentThread','createRange','isPremiumPlugin','once','editor','registerPostFixer','_threads','commands','conversion','activeMarker','_initAriaMarkerChangeAnnouncements','requires','editing','data','length','context','ENTER_COMMENT_ANNOUNCEMENT','addCommentThread','5220050wXOPiN','consumable','pluginName','end','isCollapsed','getRange','for','afterInit','registerAnnotation','openNewCommentThread','reconvertMarker','isThreadsLoadingPaused','18706bHTXUR','listenTo','ariaLiveAnnouncer','markers','comment:','updateMarker','item','210GKYoIT','name','setUnlinkedAt','author'];_0x14d3=function(){return _0x205850;};return _0x14d3();}function ht(_0x2ee731,_0x1c0e31){const _0x18a7ea=_0x2044ed,_0x132699=_0x1c0e31[_0x18a7ea(0x217)],_0x58a51c=_0x1c0e31[_0x18a7ea(0x250)](_0x2ee731[_0x18a7ea(0x1f9)]);for(const _0x526997 of _0x2ee731[_0x18a7ea(0x24d)]()){const {type:_0x113192,item:_0x41dbc4,nextPosition:_0x44a511}=_0x526997;if(_0x18a7ea(0x210)===_0x113192||_0x132699[_0x18a7ea(0x207)](_0x41dbc4)){const _0x18d9c9=_0x1c0e31[_0x18a7ea(0x1d3)](_0x41dbc4);_0x58a51c[_0x18a7ea(0x1c0)]&&(_0x58a51c[_0x18a7ea(0x1f9)]=_0x18d9c9),_0x58a51c[_0x18a7ea(0x1bf)]=_0x44a511;}}return _0x58a51c;}function mt(_0x419cdc){const _0x326bf6=_0x2044ed;return _0x326bf6(0x242)===_0x2f836a(_0x419cdc[_0x326bf6(0x1d0)])[_0x326bf6(0x1de)];}
|
|
23
|
+
const _0xb163b4=_0x3103;(function(_0x451e2c,_0xeaf8b1){const _0x1c455d=_0x3103,_0x301391=_0x451e2c();while(!![]){try{const _0x51f8a3=-parseInt(_0x1c455d(0xa3))/0x1*(-parseInt(_0x1c455d(0x12f))/0x2)+parseInt(_0x1c455d(0x105))/0x3*(parseInt(_0x1c455d(0x112))/0x4)+-parseInt(_0x1c455d(0x116))/0x5*(-parseInt(_0x1c455d(0xde))/0x6)+-parseInt(_0x1c455d(0x10b))/0x7+parseInt(_0x1c455d(0xca))/0x8+-parseInt(_0x1c455d(0xe6))/0x9*(parseInt(_0x1c455d(0x11d))/0xa)+-parseInt(_0x1c455d(0x97))/0xb*(-parseInt(_0x1c455d(0x115))/0xc);if(_0x51f8a3===_0xeaf8b1)break;else _0x301391['push'](_0x301391['shift']());}catch(_0x5e045a){_0x301391['push'](_0x301391['shift']());}}}(_0xf6c5,0x9b702));import{Plugin as _0x4d5cce}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2c18e8,scrollViewportToShowTarget as _0x48a267,uid as _0xa8f534}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x12a814}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x40bb21}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x8f3c1e,getAllMarkersDomElementsSorted as _0x272cb5,FOCUS_ANNOTATION_KEYSTROKE as _0x45eaca,Users as _0x46f015}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x5220e8}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x3ff8e7}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2d62d0}from'./integrations/importword.js';import{CommentsClipboard as _0x52058b}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0xe5c717}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';function _0x3103(_0x1673fb,_0x1aeb9d){const _0xf6c50e=_0xf6c5();return _0x3103=function(_0x31039f,_0x5cede8){_0x31039f=_0x31039f-0x8c;let _0x574d6e=_0xf6c50e[_0x31039f];return _0x574d6e;},_0x3103(_0x1673fb,_0x1aeb9d);}import{Annotations as _0xbb1cef}from'../annotations/annotations.js';import{getTranslation as _0x354efd}from'../utils/common-translations.js';function _0xf6c5(){const _0xaf6794=['addComment','change:isReadOnly','switchReadOnly','hasDomSelection','plugins','_getTargetForId','from','markers','context','getByInnerView','first','_handleMarkerAddAndRemove','396Kwkigf','$graveyard','_attachArchivedThread','dataDowncast','end','comment','$textProxy','createRange','destroyed','state','showCommentHighlights','getRange','358193TDcJuH','listenTo','_threadToController','isPremiumPlugin','set','attachTo','scrollToThreadMarker','consumable','root','setContext','ENTER_COMMENT_ANNOUNCEMENT','_threads','_getTextContext','editing','data','_handleInitialThreads','managedUsingOperations','name','reconvertMarker','comment:','dataToMarker','hasMarkerForId','document','createElement','isCollapsed','change:activeMarker','resolveCommentThread','consume','addCommentThread','isObject','href','_reconvertMarkers','registerAnnotation','CommentsEditing','ignoreResolvedComments','length','channelId','delete','change:isThreadsLoadingPaused','709872twmbdP','addMarker:','unlinkedAt','comments','conversion','markerToHighlight','group','reopenCommentThread','afterInit','removeMarker','elementToElement','getAttribute','setUnlinkedAt','focus','fetchCommentThread','startsWith','getCommentThread','map','registerPostFixer','enqueueChange','166182kUUeBP','change','markerToData','isThreadsLoadingPaused','getCommentThreads','getAllMarkersForId','for','render','101925ClleQi','item','getItems','isResolved','filter','_hasTargetInContent','affectsData','schema','requires','commands','rootName','low','hasCommentThread','LEAVE_COMMENT_ANNOUNCEMENT','join','isSubmitted','add','upcast','text','start','getChangedMarkers','clear','init','_attachMarkerToThread','once','substring','author','activeMarker','ready','view','refreshVisibility','3mbFIOM','openNewCommentThread','removeCommentThread','editor','hasContent','_detachCommentThread','3056102deLjTW','ck-comment-marker','config','newRange','differ','createPositionBefore','fromCharCode','227764OkxXtr','size','locale','151596MMZBBt','35tbUEZb','_initAriaMarkerChangeAnnouncements','collaboration.channelId','markerName','removeMarker:','push','announce','70JJPkwr','destroy','$marker','model','ariaLiveAnnouncer','remove','isEqual','updateMarker','editingDowncast','then','forEach','isAttached','_initializeMarkerConverters','pluginName','getWalker','_handleThreadMarker','isOfficialPlugin','get','2zuhpNX','ck-comment-marker--active'];_0xf6c5=function(){return _0xaf6794;};return _0xf6c5();}import{splitMarkerName as _0x2be007}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x4d5cce{static get[_0xb163b4(0xee)](){return[_0x12a814,_0x5220e8,_0x46f015,_0x3ff8e7,_0x2d62d0,_0x52058b,_0xe5c717];}static get[_0xb163b4(0x12a)](){const _0x49b996=_0xb163b4;return _0x49b996(0xc4);}static get[_0xb163b4(0x12d)](){return!0x0;}static get[_0xb163b4(0xa6)](){return!0x0;}constructor(_0x44605d){const _0x1131cd=_0xb163b4;super(_0x44605d),this[_0x1131cd(0xa7)](_0x1131cd(0xe1),!0x0),_0x44605d[_0x1131cd(0xb1)][_0x1131cd(0xfe)](_0x1131cd(0x102),()=>this[_0x1131cd(0xe1)]=!0x1),this[_0x1131cd(0xa7)](_0x1131cd(0x101),null),this['on'](_0x1131cd(0xbc),(_0x34d03f,_0x4f7fa1,_0x2346ce,_0x50ac81)=>{const _0x308010=_0x1131cd,_0x2b084d=_0x44605d[_0x308010(0x8f)][_0x308010(0x12e)](_0x12a814),_0x40d5a2=_0x2346ce?_0x2be007(_0x2346ce)['id']:null;_0x44605d[_0x308010(0x120)][_0x308010(0xdf)](()=>{const _0x43f48c=_0x308010;if(_0x40d5a2){const _0x487373=this[_0x43f48c(0xe3)](_0x40d5a2);for(const _0x12026c of _0x487373)_0x44605d[_0x43f48c(0xb0)][_0x43f48c(0xb5)](_0x12026c);}if(_0x50ac81){const {id:_0x2615a8}=_0x2be007(_0x50ac81),_0x11fd1e=_0x2b084d[_0x43f48c(0xda)](_0x2615a8);if(_0x11fd1e&&_0x11fd1e[_0x43f48c(0xcc)])return;if(_0x11fd1e&&!_0x11fd1e[_0x43f48c(0x128)])return;const _0x42de19=this[_0x43f48c(0xe3)](_0x2615a8);for(const _0x5a861d of _0x42de19)_0x44605d[_0x43f48c(0xb0)][_0x43f48c(0xb5)](_0x5a861d);}}),_0x40d5a2&&this[_0x308010(0xa9)](_0x40d5a2);}),this[_0x1131cd(0x117)]();}[_0xb163b4(0xfc)](){const _0x1aa46c=_0xb163b4,_0x1bce9c=this[_0x1aa46c(0x108)],_0x4f8815=_0x1bce9c[_0x1aa46c(0x8f)][_0x1aa46c(0x12e)](_0x12a814),_0x107c27=_0x1bce9c[_0x1aa46c(0x10d)][_0x1aa46c(0x12e)](_0x1aa46c(0x118)),_0x4c44e5=_0x4f8815[_0x1aa46c(0xe2)]()[_0x1aa46c(0xea)](_0x251071=>_0x251071[_0x1aa46c(0xc7)]!==_0x107c27);_0x1bce9c[_0x1aa46c(0xef)][_0x1aa46c(0xf6)](_0x1aa46c(0xbf),new _0x40bb21(_0x1bce9c)),this[_0x1aa46c(0xa4)](_0x1bce9c,_0x1aa46c(0x8c),(_0x581733,_0x1b2af4,_0x5c5e57)=>{const _0x1ddadc=_0x1aa46c;_0x4f8815[_0x1ddadc(0x8d)](_0x5c5e57,_0x1bce9c[_0x1ddadc(0x10d)][_0x1ddadc(0x12e)](_0x1ddadc(0x118)));}),this[_0x1aa46c(0xa4)](_0x4f8815,dt(_0x1aa46c(0xbf),_0x107c27),(_0x52af60,{threadId:_0x2b40cc})=>{const _0x43fe57=_0x1aa46c,_0x46b392=this[_0x43fe57(0x108)][_0x43fe57(0x8f)][_0x43fe57(0x12e)](_0x12a814)[_0x43fe57(0xda)](_0x2b40cc);_0x46b392?.[_0x43fe57(0xcc)]&&this[_0x43fe57(0x99)](_0x2b40cc);}),this[_0x1aa46c(0xa4)](_0x4f8815,dt(_0x1aa46c(0x107),_0x107c27),(_0x40055b,{threadId:_0x2dd07f})=>{const _0x5292ee=_0x1aa46c;_0x1bce9c[_0x5292ee(0x120)][_0x5292ee(0xdd)]({'isUndoable':!0x1},_0x429e96=>{const _0xca7761=_0x5292ee,_0x4e7ceb=this[_0xca7761(0xe3)](_0x2dd07f);for(const _0x11b0d4 of _0x4e7ceb)_0x429e96[_0xca7761(0xd3)](_0x11b0d4);});}),this[_0x1aa46c(0xa4)](_0x4f8815,dt(_0x1aa46c(0xbd),_0x107c27),(_0x4e0274,{threadId:_0x2d7daf})=>{const _0xecf1bc=_0x1aa46c;(this[_0xecf1bc(0xc2)](_0x2d7daf),this[_0xecf1bc(0x108)][_0xecf1bc(0xb0)][_0xecf1bc(0x103)][_0xecf1bc(0x8e)])&&(this[_0xecf1bc(0x108)][_0xecf1bc(0x8f)][_0xecf1bc(0x12e)](_0x12a814)[_0xecf1bc(0xda)](_0x2d7daf)[_0xecf1bc(0xcc)]||this[_0xecf1bc(0x108)][_0xecf1bc(0xb0)][_0xecf1bc(0x103)][_0xecf1bc(0xd7)]());},{'priority':_0x1aa46c(0xf1)}),this[_0x1aa46c(0xa4)](_0x4f8815,dt(_0x1aa46c(0xd1),_0x107c27),(_0x53eda9,{threadId:_0xb264f8})=>{const _0x68b2c9=_0x1aa46c;this[_0x68b2c9(0xc2)](_0xb264f8);},{'priority':_0x1aa46c(0xf1)}),this[_0x1aa46c(0xa4)](_0x4f8815,dt(_0x1aa46c(0x131),_0x107c27),(_0x12b6fa,{threadId:_0x34f4c8,isFromAdapter:_0x33f263})=>{const _0x245e1c=_0x1aa46c,_0x3eeb35=this[_0x245e1c(0xe3)](_0x34f4c8);if(_0x33f263||0x0==_0x3eeb35[_0x245e1c(0xc6)]||!_0x4f8815[_0x245e1c(0xf2)](_0x34f4c8))return;0x1===_0x4f8815[_0x245e1c(0xda)](_0x34f4c8)[_0x245e1c(0xc6)]&&_0x1bce9c[_0x245e1c(0x120)][_0x245e1c(0xdd)]({'isUndoable':!0x1},_0x421800=>{const _0x5d4d78=_0x245e1c;for(const _0x57f409 of _0x3eeb35)_0x421800[_0x5d4d78(0x124)](_0x57f409,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1aa46c(0xf1)}),this[_0x1aa46c(0x129)](),this[_0x1aa46c(0x96)](),this[_0x1aa46c(0xb2)](_0x4c44e5);}[_0xb163b4(0xd2)](){!async function(_0x3ab3e3){const _0x26b9b6=_0x8d574([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x544439=0x73460ab3,_0x503f61=0x73417e73^_0x544439,_0xfe71f2=window[_0x8d574([0x44,0x61,0x74,0x65])][_0x8d574([0x6e,0x6f,0x77])](),_0x41f224=_0x3ab3e3[_0x8d574([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4aabb9=new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ddb8f=>{_0x41f224[_0x8d574([0x6f,0x6e,0x63,0x65])](_0x8d574([0x72,0x65,0x61,0x64,0x79]),_0x1ddb8f);}),_0x499423={[_0x8d574([0x6b,0x74,0x79])]:_0x8d574([0x45,0x43]),[_0x8d574([0x75,0x73,0x65])]:_0x8d574([0x73,0x69,0x67]),[_0x8d574([0x63,0x72,0x76])]:_0x8d574([0x50,0x2d,0x32,0x35,0x36]),[_0x8d574([0x78])]:_0x8d574([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x8d574([0x79])]:_0x8d574([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x8d574([0x61,0x6c,0x67])]:_0x8d574([0x45,0x53,0x32,0x35,0x36])},_0x40c2f5=_0x41f224[_0x8d574([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8d574([0x67,0x65,0x74])](_0x8d574([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x20d7fe(){let _0x4661f0,_0x37848a=null,_0x4b1347=null;try{if(_0x40c2f5==_0x8d574([0x47,0x50,0x4c]))return _0x8d574([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4661f0=_0x5ab274(),!_0x4661f0)return _0x8d574([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4661f0[_0x8d574([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b1347=_0x574643(_0x4661f0[_0x8d574([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4661f0[_0x8d574([0x6a,0x74,0x69])])),await _0x1b7c9a()?_0x4f679a()?_0x27d8e3()?_0x8d574([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x48f2cb()?(_0x4661f0[_0x8d574([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8d574([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37848a=_0x39b41e(_0x8d574([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4661f0[_0x8d574([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8d574([0x74,0x72,0x69,0x61,0x6c])&&(_0x37848a=_0x39b41e(_0x8d574([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x313f60()):_0x8d574([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8d574([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8d574([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8d574([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x27d8e3(){const _0x16a1d6=[_0x8d574([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8d574([0x74,0x72,0x69,0x61,0x6c])][_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4661f0[_0x8d574([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xfe71f2/0x3e8:0xe10*_0x503f61;return _0x4661f0[_0x8d574([0x65,0x78,0x70])]<_0x16a1d6;}function _0x4f679a(){const _0x3f22e6=_0x4661f0[_0x8d574([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x3f22e6)return!0x1;if(_0x3f22e6[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d574([0x2a])))return!0x0;if(_0x3f22e6[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d574([0x43,0x4d,0x54])))return!0x0;if(_0x3f22e6[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d574([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x59eb8e())return!0x0;if(_0x3f22e6[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d574([0x52,0x43,0x4d,0x54]))){if(_0x153dcf())return!0x0;if(_0x5a3794()||_0x3f7549())return!0x0;}return!0x1;}function _0x48f2cb(){const _0x234ff0=_0x3103,_0x2281d5=_0x4661f0[_0x8d574([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2281d5||0x0==_0x2281d5[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x29cd69}=new URL(window[_0x8d574([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x234ff0(0xc1)]);if(_0x2281d5[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29cd69))return!0x0;const _0x467fcf=_0x29cd69[_0x8d574([0x73,0x70,0x6c,0x69,0x74])](_0x8d574([0x2e]));return _0x2281d5[_0x8d574([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x513f6c=>_0x513f6c[_0x8d574([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d574([0x2a])))[_0x8d574([0x6d,0x61,0x70])](_0x85364d=>_0x85364d[_0x8d574([0x73,0x70,0x6c,0x69,0x74])](_0x8d574([0x2e])))[_0x8d574([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x150ecb=>_0x150ecb[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x467fcf[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8d574([0x6d,0x61,0x70])](_0x2a1666=>Array(_0x467fcf[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a1666[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8d574([0x66,0x69,0x6c,0x6c])](_0x2a1666[0x0]===_0x8d574([0x2a])?_0x8d574([0x2a]):'')[_0x8d574([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a1666))[_0x8d574([0x73,0x6f,0x6d,0x65])](_0x1a60a9=>_0x467fcf[_0x8d574([0x65,0x76,0x65,0x72,0x79])]((_0x4864cb,_0x595fe4)=>_0x1a60a9[_0x595fe4]===_0x4864cb||_0x1a60a9[_0x595fe4]===_0x8d574([0x2a])));}function _0x313f60(){return _0x37848a&&_0x4b1347?new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d88a3,_0x939b9b)=>{_0x37848a[_0x8d574([0x74,0x68,0x65,0x6e])](_0x1d88a3,_0x939b9b),_0x4b1347[_0x8d574([0x74,0x68,0x65,0x6e])](_0x28131e=>{_0x28131e!=_0x8d574([0x56,0x61,0x6c,0x69,0x64])&&_0x1d88a3(_0x28131e);},_0x939b9b);}):_0x37848a||_0x4b1347||_0x8d574([0x56,0x61,0x6c,0x69,0x64]);}}function _0x574643(_0xa01068,_0x1c5624){return new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3085=>{if(_0x3b5371())return _0x3d3085(_0x8d574([0x56,0x61,0x6c,0x69,0x64]));_0x1342de(),_0x41f224[_0x8d574([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8d574([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xe373f9=!0x1;const _0x41d709=_0xa8f534();function _0x279239(_0x354a32){return!!_0x354a32&&(typeof _0x354a32===_0x8d574([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x354a32===_0x8d574([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x354a32[_0x8d574([0x74,0x68,0x65,0x6e])]===_0x8d574([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x354a32[_0x8d574([0x63,0x61,0x74,0x63,0x68])]===_0x8d574([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2a9535(_0x459251){_0x57a5d1(_0x459251)[_0x8d574([0x74,0x68,0x65,0x6e])](_0x3cb521=>{if(!_0x3cb521||_0x3cb521[_0x8d574([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8d574([0x6f,0x6b]))return _0x8d574([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x522822(_0x24ef98(_0x41d709+_0x1c5624))!=_0x3cb521[_0x8d574([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8d574([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8d574([0x56,0x61,0x6c,0x69,0x64]);})[_0x8d574([0x74,0x68,0x65,0x6e])](_0x28d1f8=>(_0x3577c3(),_0x28d1f8),()=>{const _0x1eee90=_0x46aa0c();return null==_0x1eee90?(_0x3577c3(),_0x8d574([0x56,0x61,0x6c,0x69,0x64])):_0x8d574(_0xfe71f2-_0x1eee90>(0x574a8eb3^_0x544439)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8d574([0x74,0x68,0x65,0x6e])](_0x3d3085)[_0x8d574([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d3085(_0x8d574([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x254cd4=0x7370e433^_0x544439;function _0x3577c3(){const _0x26e25b=_0x8d574([0x6c,0x6c,0x63,0x74,0x2d])+_0x522822(_0x24ef98(_0xa01068)),_0x2a363b=_0x564af3(_0x522822(window[_0x8d574([0x4d,0x61,0x74,0x68])][_0x8d574([0x63,0x65,0x69,0x6c])](_0xfe71f2/_0x254cd4)));window[_0x8d574([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8d574([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26e25b,_0x2a363b);}function _0x46aa0c(){const _0xb65730=_0x8d574([0x6c,0x6c,0x63,0x74,0x2d])+_0x522822(_0x24ef98(_0xa01068)),_0x31c9e8=window[_0x8d574([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8d574([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb65730);return _0x31c9e8?window[_0x8d574([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x564af3(_0x31c9e8),0x10)*_0x254cd4:null;}function _0x57a5d1(_0x4c821a){return new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x200473,_0x33840)=>{_0x4c821a[_0x8d574([0x74,0x68,0x65,0x6e])](_0x200473,_0x33840),window[_0x8d574([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x33840,0x7347de73^_0x544439);});}}_0x41f224[_0x8d574([0x6f,0x6e])](_0x8d574([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x170bdc,_0x2e777f)=>{if(_0x2e777f[0x0]!=_0xa01068)return _0x3d3085(_0x8d574([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e777f[0x1]={..._0x2e777f[0x1],[_0x8d574([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41d709};},{[_0x8d574([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8d574([0x68,0x69,0x67,0x68])}),_0x41f224[_0x8d574([0x6f,0x6e])](_0x8d574([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2952a4=>{_0x279239(_0x2952a4[_0x8d574([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xe373f9=!0x0,_0x2a9535(_0x2952a4[_0x8d574([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8d574([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8d574([0x6c,0x6f,0x77])}),_0x4aabb9[_0x8d574([0x74,0x68,0x65,0x6e])](()=>{_0xe373f9||_0x3d3085(_0x8d574([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b5371(){return _0x41f224[_0x8d574([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8d574([0x76,0x69,0x65,0x77])][_0x8d574([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8d574([0x61,0x75,0x74,0x6f]);}function _0x1342de(){_0x41f224[_0x8d574([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8d574([0x76,0x69,0x65,0x77])][_0x8d574([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8d574([0x61,0x75,0x74,0x6f]);}}function _0x39b41e(_0x26e8e9){const _0x189e87=[new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b6e0e=>setTimeout(_0x2b6e0e,0x734f347f^_0x544439)),_0x4aabb9[_0x8d574([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf07a91=>{let _0x5031a2=0x0;_0x41f224[_0x8d574([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d574([0x6f,0x6e])](_0x8d574([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1733df,_0x4f4bb7)=>{_0x4f4bb7[0x0][_0x8d574([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5031a2++,_0x5031a2==(0x73460b4b^_0x544439)&&(_0xf07a91(),_0x1733df[_0x8d574([0x6f,0x66,0x66])]());});}))];return window[_0x8d574([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8d574([0x72,0x61,0x63,0x65])](_0x189e87)[_0x8d574([0x74,0x68,0x65,0x6e])](()=>_0x26e8e9);}async function _0x16fb3b(){await _0x4aabb9,_0x41f224[_0x8d574([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d574([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe7d372,_0x41f224[_0x8d574([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d574([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe7d372,_0x41f224[_0x8d574([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8d574([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x59eb8e(){return window[_0x8d574([0x67,0x6c,0x6f,0x62])]&&window[_0x8d574([0x67,0x6c,0x6f,0x62])][_0x8d574([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x153dcf(){return _0xb26d6e(_0x8d574([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5eb884(_0x8d574([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x8d574([0x73,0x74,0x61,0x74,0x65])]==_0x8d574([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x5a3794(){return _0xb26d6e(_0x8d574([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x3f7549(){return _0xb26d6e(_0x8d574([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x1bb7cb(_0x180528){const _0x43a2ce=_0x33c02d();_0x41f224[_0x43a2ce]=_0x8d574([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x180528,_0x180528!=_0x8d574([0x56,0x61,0x6c,0x69,0x64])&&_0x16fb3b();}function _0x33c02d(){const _0xa003ea=window[_0x8d574([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8d574([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8d574([0x6e,0x6f,0x77])]())[_0x8d574([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8d574([0x2e]),'');let _0x10a4e0=_0x8d574([0x4b]);for(let _0x8bfdff=0x0;_0x8bfdff<_0xa003ea[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8bfdff+=0x2){let _0x4449bd=window[_0x8d574([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa003ea[_0x8d574([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8bfdff,_0x8bfdff+0x2));_0x4449bd>=_0x26b9b6[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4449bd-=_0x26b9b6[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10a4e0+=_0x26b9b6[_0x4449bd];}return _0x10a4e0;}function _0x5ab274(){const _0x46086c=_0x40c2f5[_0x8d574([0x73,0x70,0x6c,0x69,0x74])](_0x8d574([0x2e]));if(0x3!=_0x46086c[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31b628(_0x46086c[0x1]);function _0x31b628(_0x5750de){const _0x33443f=_0x30576c(_0x5750de);return _0x33443f&&_0x514dce()?_0x33443f:null;function _0x514dce(){const _0x33e58a=_0x33443f[_0x8d574([0x6a,0x74,0x69])],_0x214303=window[_0x8d574([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33e58a[_0x8d574([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33e58a[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2eeea2={..._0x33443f,[_0x8d574([0x6a,0x74,0x69])]:_0x33e58a[_0x8d574([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33e58a[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2eeea2[_0x8d574([0x76,0x63])],_0x24ef98(_0x2eeea2)==_0x214303;}}}async function _0x1b7c9a(){let _0x58f93f=!0x0;try{const _0x1af9c3=_0x40c2f5[_0x8d574([0x73,0x70,0x6c,0x69,0x74])](_0x8d574([0x2e])),[_0x4302fa,_0x563f7f,_0x55c3cb]=_0x1af9c3;return _0x69529d(_0x4302fa),await _0x334701(_0x4302fa,_0x563f7f,_0x55c3cb),_0x58f93f;}catch{return!0x1;}function _0x69529d(_0x32d1b6){const _0x1be0b1=_0x30576c(_0x32d1b6);_0x1be0b1&&_0x1be0b1[_0x8d574([0x61,0x6c,0x67])]==_0x8d574([0x45,0x53,0x32,0x35,0x36])||(_0x58f93f=!0x1);}async function _0x334701(_0x11ca5b,_0x1d077c,_0x356de0){const _0x223d47=window[_0x8d574([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8d574([0x66,0x72,0x6f,0x6d])](_0x4bd02d(_0x356de0),_0x385418=>_0x385418[_0x8d574([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ce410=new window[(_0x8d574([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8d574([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11ca5b+_0x8d574([0x2e])+_0x1d077c),_0x1d739e=window[_0x8d574([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8d574([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d739e)return;const _0x17dee9=await _0x1d739e[_0x8d574([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8d574([0x6a,0x77,0x6b]),_0x499423,{[_0x8d574([0x6e,0x61,0x6d,0x65])]:_0x8d574([0x45,0x43,0x44,0x53,0x41]),[_0x8d574([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8d574([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8d574([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d739e[_0x8d574([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8d574([0x6e,0x61,0x6d,0x65])]:_0x8d574([0x45,0x43,0x44,0x53,0x41]),[_0x8d574([0x68,0x61,0x73,0x68])]:{[_0x8d574([0x6e,0x61,0x6d,0x65])]:_0x8d574([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17dee9,_0x223d47,_0x2ce410)||(_0x58f93f=!0x1);}}function _0x30576c(_0x5f38c2){return _0x5f38c2[_0x8d574([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8d574([0x65,0x79]))?JSON[_0x8d574([0x70,0x61,0x72,0x73,0x65])](_0x4bd02d(_0x5f38c2)):null;}function _0x4bd02d(_0x278d15){return window[_0x8d574([0x61,0x74,0x6f,0x62])](_0x278d15[_0x8d574([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8d574([0x2b]))[_0x8d574([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8d574([0x2f])));}function _0x24ef98(_0x4ed678){let _0x5cc382=0x1505;function _0x38e90a(_0x5edaa4){for(let _0x2a58b0=0x0;_0x2a58b0<_0x5edaa4[_0x8d574([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a58b0++){const _0x4e9337=_0x5edaa4[_0x8d574([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a58b0);_0x5cc382=(_0x5cc382<<0x5)+_0x5cc382+_0x4e9337,_0x5cc382&=_0x5cc382;}}function _0x80ebb2(_0x32d760){Array[_0x8d574([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32d760)?_0x32d760[_0x8d574([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x80ebb2):_0x32d760&&typeof _0x32d760==_0x8d574([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8d574([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32d760)[_0x8d574([0x73,0x6f,0x72,0x74])]()[_0x8d574([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25faee,_0x5b2196])=>{_0x38e90a(_0x25faee),_0x80ebb2(_0x5b2196);}):_0x38e90a(window[_0x8d574([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32d760));}return _0x80ebb2(_0x4ed678),_0x5cc382>>>0x0;}function _0x522822(_0x274396){return _0x274396[_0x8d574([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8d574([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8d574([0x30]));}function _0x564af3(_0x3530f8){return _0x3530f8[_0x8d574([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8d574([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8d574([0x6a,0x6f,0x69,0x6e])]('');}function _0xb26d6e(_0x5d914f){return _0x41f224[_0x8d574([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x8d574([0x68,0x61,0x73])](_0x5d914f);}function _0x5eb884(_0x5a3306){return _0x41f224[_0x8d574([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x8d574([0x67,0x65,0x74])](_0x5a3306);}function _0xe7d372(){}function _0x8d574(_0x1bd4f7){const _0x585a55=_0x3103;return _0x1bd4f7[_0x585a55(0xdb)](_0x289057=>String[_0x585a55(0x111)](_0x289057))[_0x585a55(0xf4)]('');}_0x1bb7cb(await _0x20d7fe());}(this);}[_0xb163b4(0x11e)](){const _0x59e339=_0xb163b4,_0x2b177e=this[_0x59e339(0x108)][_0x59e339(0x8f)][_0x59e339(0x12e)](_0x12a814),_0x45fe2f=this[_0x59e339(0x108)][_0x59e339(0x10d)][_0x59e339(0x12e)](_0x59e339(0x118));for(const _0x3c7e27 of _0x2b177e[_0x59e339(0xe2)]({'channelId':_0x45fe2f}))_0x2b177e[_0x59e339(0x10a)](_0x3c7e27['id']),_0x2b177e[_0x59e339(0xae)][_0x59e339(0xc8)](_0x3c7e27['id']);super[_0x59e339(0x11e)]();}[_0xb163b4(0xb8)](_0x102621){const _0x2462c4=_0xb163b4;return this[_0x2462c4(0xe3)](_0x102621)[_0x2462c4(0xc6)]>0x0;}[_0xb163b4(0xe3)](_0x402453){const _0x167b0f=_0xb163b4,_0x2c450d=[];for(const _0x4975e6 of this[_0x167b0f(0x108)][_0x167b0f(0x120)][_0x167b0f(0x92)])_0x4975e6[_0x167b0f(0xb4)][_0x167b0f(0xd9)](_0x167b0f(0xb6)+_0x402453)&&_0x2c450d[_0x167b0f(0x11b)](_0x4975e6);return _0x2c450d;}[_0xb163b4(0xa9)](_0x1152cc){setTimeout(()=>{const _0x48f384=_0x3103,_0x5159bd=this[_0x48f384(0x90)](_0x1152cc);if(!_0x5159bd)return;this[_0x48f384(0x101)]&&_0x2be007(this[_0x48f384(0x101)])['id']===_0x1152cc&&_0x48a267({'target':_0x5159bd[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xb163b4(0xc2)](_0x27d2f3){const _0x2acb31=_0xb163b4;this[_0x2acb31(0x108)][_0x2acb31(0x120)][_0x2acb31(0xdf)](()=>{const _0x189d92=_0x2acb31;for(const _0x54cf07 of this[_0x189d92(0xe3)](_0x27d2f3))this[_0x189d92(0x108)][_0x189d92(0xb0)][_0x189d92(0xb5)](_0x54cf07);});}[_0xb163b4(0x99)](_0x209cf4){const _0x2f6c7c=_0xb163b4,_0x32b543=this[_0x2f6c7c(0x108)][_0x2f6c7c(0x8f)][_0x2f6c7c(0x12e)](_0x12a814),_0x1bb098=this[_0x2f6c7c(0x108)][_0x2f6c7c(0x8f)][_0x2f6c7c(0x12e)](_0x5220e8),_0xa9240=_0x32b543[_0x2f6c7c(0xda)](_0x209cf4);if(!_0xa9240[_0x2f6c7c(0x128)]){const _0x1ddc05=_0xa9240[_0x2f6c7c(0xa8)](()=>this[_0x2f6c7c(0x90)](_0xa9240['id']));_0x1bb098[_0x2f6c7c(0xc3)](_0x1ddc05),_0xa9240[_0x2f6c7c(0xeb)]=!0x1;}}[_0xb163b4(0x129)](){const _0x1cd798=_0xb163b4,_0x4fc45d=this[_0x1cd798(0x108)],_0x4f2e3b=_0x4fc45d[_0x1cd798(0x8f)][_0x1cd798(0x12e)](_0x46f015);_0x4fc45d[_0x1cd798(0xce)][_0x1cd798(0xe4)](_0x1cd798(0x125))[_0x1cd798(0xcf)]({'model':_0x1cd798(0x9c),'view':(_0x1a3216,_0x3b5f6f)=>{const _0x222429=_0x1cd798,{id:_0x2093b0}=_0x2be007(_0x1a3216[_0x222429(0x119)]),_0x128bfb=_0x4fc45d[_0x222429(0x8f)][_0x222429(0x12e)](_0x12a814)[_0x222429(0xda)](_0x2093b0),_0x145cd8=this[_0x222429(0x101)]&&_0x2be007(this[_0x222429(0x101)])['id']===_0x2093b0;let _0x33f668;if(_0x128bfb&&_0x128bfb[_0x222429(0xe9)]&&!_0x145cd8&&_0x1a3216[_0x222429(0xe7)])return _0x3b5f6f[_0x222429(0xaa)][_0x222429(0xbe)](_0x1a3216[_0x222429(0xe7)],_0x222429(0xcb)+_0x1a3216[_0x222429(0x119)]),_0x3b5f6f[_0x222429(0xaa)][_0x222429(0xbe)](_0x1a3216[_0x222429(0xe7)],_0x222429(0x11a)+_0x1a3216[_0x222429(0x119)]),null;const _0x422375=[_0x222429(0x10c)];return _0x145cd8&&_0x422375[_0x222429(0x11b)](_0x222429(0x130)),_0x33f668=_0x128bfb?.[_0x222429(0xc6)]?_0x128bfb[_0x222429(0xcd)][_0x222429(0x95)][_0x222429(0x100)]['id']:_0x4f2e3b['me']['id'],{'classes':_0x422375,'attributes':{'data-comment':_0x2093b0,'data-author-id':_0x33f668}};}}),_0x4fc45d[_0x1cd798(0xce)][_0x1cd798(0xe4)](_0x1cd798(0x9a))[_0x1cd798(0xe0)]({'model':_0x1cd798(0x9c),'view':(_0x1ffaf8,{options:_0x24651e})=>{const _0x2836bc=_0x1cd798;if(_0x24651e[_0x2836bc(0xa1)])return null;const _0x29a7cc=_0x4fc45d[_0x2836bc(0x8f)][_0x2836bc(0x12e)](_0x12a814),_0x1135bc=_0x4fc45d[_0x2836bc(0x120)][_0x2836bc(0x92)][_0x2836bc(0x12e)](_0x1ffaf8),{id:_0x14e267,part:_0xe71287}=_0x2be007(_0x1ffaf8);return _0x1135bc&&!_0x1135bc[_0x2836bc(0xec)]||_0x24651e[_0x2836bc(0xc5)]&&_0x29a7cc[_0x2836bc(0xda)](_0x14e267)?.[_0x2836bc(0xe9)]?null:{'group':_0x2836bc(0x9c),'name':_0xe71287?_0x14e267+':'+_0xe71287:_0x14e267};}}),_0x4fc45d[_0x1cd798(0xce)][_0x1cd798(0xe4)](_0x1cd798(0xf7))[_0x1cd798(0xd4)]({'view':{'name':_0x1cd798(0x9c),'attributes':{'id':/^\w/}},'model':(_0x3d69d0,{writer:_0x8a708})=>_0x8a708[_0x1cd798(0xba)](_0x1cd798(0x11f),{'data-name':_0x1cd798(0xb6)+_0x3d69d0[_0x1cd798(0xd5)]('id')})}),_0x4fc45d[_0x1cd798(0xce)][_0x1cd798(0xe4)](_0x1cd798(0xf7))[_0x1cd798(0xb7)]({'view':_0x1cd798(0x9c)});}[_0xb163b4(0x96)](){const _0x38cb8f=_0xb163b4,_0xd00757=this[_0x38cb8f(0x108)],_0x28b390=_0xd00757[_0x38cb8f(0x8f)][_0x38cb8f(0x12e)](_0x12a814),_0x555358=new Set(),_0x420eb6=new Set();_0xd00757[_0x38cb8f(0x120)][_0x38cb8f(0xb9)][_0x38cb8f(0xdc)](_0x184a2c=>{const _0x32cc0a=_0x38cb8f;let _0x74c96e=!0x1;for(const {name:_0x36c381,data:_0x191fb0}of _0xd00757[_0x32cc0a(0x120)][_0x32cc0a(0xb9)][_0x32cc0a(0x10f)][_0x32cc0a(0xfa)]()){const {group:_0x3fa2b2,id:_0x3464cb}=_0x2be007(_0x36c381);let _0x163d76=_0x191fb0[_0x32cc0a(0x10e)];if(_0x32cc0a(0x9c)!==_0x3fa2b2||!_0x163d76)continue;const _0xb331eb=_0x32cc0a(0x98)===_0x163d76[_0x32cc0a(0xab)][_0x32cc0a(0xf0)];_0xb331eb||(_0x163d76=ht(_0x163d76,_0xd00757[_0x32cc0a(0x120)]),!_0x163d76||_0x163d76[_0x32cc0a(0xbb)]||!_0x191fb0[_0x32cc0a(0x10e)]||_0x163d76[_0x32cc0a(0x123)](_0x191fb0[_0x32cc0a(0x10e)]))?_0xd00757[_0x32cc0a(0x120)][_0x32cc0a(0x109)](_0x163d76)&&!_0xb331eb?this[_0x32cc0a(0xe1)]?_0x555358[_0x32cc0a(0xf6)](_0x36c381):this[_0x32cc0a(0x12c)](_0x36c381,_0x3464cb):(_0x420eb6[_0x32cc0a(0xf6)](_0x36c381),_0x555358[_0x32cc0a(0xc8)](_0x36c381),_0x184a2c[_0x32cc0a(0xd3)](_0x36c381),_0x74c96e=!0x0):(_0x184a2c[_0x32cc0a(0x124)](_0x36c381,{'range':_0x163d76}),_0x74c96e=!0x0);}return _0x74c96e;}),this['on'](_0x38cb8f(0xc9),(_0x12726a,_0x3c2b18,_0x22ca3d)=>{const _0x5bf01a=_0x38cb8f;if(!_0x22ca3d&&_0x555358[_0x5bf01a(0x113)])for(const _0x51c5d4 of _0x555358){const {id:_0x47c14b}=_0x2be007(_0x51c5d4);_0x555358[_0x5bf01a(0xc8)](_0x51c5d4),_0xd00757[_0x5bf01a(0x120)][_0x5bf01a(0x92)][_0x5bf01a(0x12e)](_0x51c5d4)&&this[_0x5bf01a(0x12c)](_0x51c5d4,_0x47c14b);}}),this[_0x38cb8f(0xa4)](_0xd00757[_0x38cb8f(0x120)][_0x38cb8f(0xb9)],_0x38cb8f(0xdf),()=>{const _0x494fbe=_0x38cb8f;for(const {name:_0x5f4481,data:{newRange:_0x1d2af7}}of _0xd00757[_0x494fbe(0x120)][_0x494fbe(0xb9)][_0x494fbe(0x10f)][_0x494fbe(0xfa)]()){const {group:_0x41d0e6,id:_0xe351d8}=_0x2be007(_0x5f4481);if(_0x494fbe(0x9c)!==_0x41d0e6)continue;const _0x47d9b9=_0x28b390[_0x494fbe(0xda)](_0xe351d8),_0x2c59c1=this[_0x494fbe(0xb8)](_0xe351d8);_0x47d9b9&&(!_0x47d9b9[_0x494fbe(0xeb)]&&_0x1d2af7&&_0xd00757[_0x494fbe(0xb0)][_0x494fbe(0x103)][_0x494fbe(0xfe)](_0x494fbe(0xe5),()=>{const _0x49d200=_0x494fbe,_0x5b219e=_0xd00757[_0x49d200(0x8f)][_0x49d200(0x12e)](_0xbb1cef),_0x1b2305=_0x28b390[_0x49d200(0xa5)][_0x49d200(0x12e)](_0x47d9b9)[_0x49d200(0x103)];_0x5b219e[_0x49d200(0x94)](_0x1b2305)[_0x49d200(0x104)]();},{'priority':_0x494fbe(0xf1)}),_0x47d9b9[_0x494fbe(0xeb)]=_0x2c59c1||!!_0x1d2af7),_0x1d2af7||(_0x420eb6[_0x494fbe(0xf6)](_0x5f4481),_0x555358[_0x494fbe(0xc8)](_0x5f4481));}for(const _0x245611 of _0x420eb6){const {id:_0x362827}=_0x2be007(_0x245611),_0x2efae0=_0x28b390[_0x494fbe(0xda)](_0x362827);if(_0x555358[_0x494fbe(0xc8)](_0x245611),!_0x2efae0)continue;const _0x163e37=this[_0x494fbe(0xb8)](_0x362827);_0x163e37||_0x2efae0[_0x494fbe(0xf5)]?_0x163e37||_0x2efae0[_0x494fbe(0xcc)]||_0x2efae0[_0x494fbe(0xd6)](new Date()):_0x2efae0[_0x494fbe(0x122)]();}_0x420eb6[_0x494fbe(0xfb)]();});}[_0xb163b4(0xb2)](_0x22d298){const _0x20e2f7=_0xb163b4;_0x22d298[_0x20e2f7(0x127)](_0x57593f=>{const _0x28e80f=_0x20e2f7;_0x57593f[_0x28e80f(0xcc)]&&this[_0x28e80f(0x99)](_0x57593f['id']);});}[_0xb163b4(0x90)](_0x38f87c){const _0x42b5f9=_0xb163b4,_0x5a974e=this[_0x42b5f9(0x108)],_0x31cbfc=this[_0x42b5f9(0xe3)](_0x38f87c);return _0x272cb5(_0x5a974e[_0x42b5f9(0xb0)],_0x31cbfc);}[_0xb163b4(0xaf)](_0x47c33b){const _0x4b0b77=_0xb163b4,_0x8d20cf=this[_0x4b0b77(0xe3)](_0x47c33b);let _0x2812ff='',_0x51b83a=!0x1;for(const _0x4691bd of _0x8d20cf){const _0x57bf14=_0x4691bd[_0x4b0b77(0xa2)]();for(const _0x42a3b4 of Array[_0x4b0b77(0x91)](_0x57bf14[_0x4b0b77(0xe8)]()))_0x42a3b4['is'](_0x4b0b77(0x9d))?(_0x2812ff&&_0x51b83a&&(_0x2812ff+='\x20',_0x51b83a=!0x1),_0x2812ff+=_0x42a3b4[_0x4b0b77(0xb1)]):_0x51b83a=!0x0;_0x51b83a=!0x0;}return _0x2812ff[_0x4b0b77(0xff)](0x0,0x96);}[_0xb163b4(0xfd)](_0x17b556,_0x53c22e){const _0x125828=_0xb163b4,_0x41fe49=this[_0x125828(0x108)],_0x187c82=_0x41fe49[_0x125828(0x8f)][_0x125828(0x12e)](_0x12a814);let _0x2824b1=_0x187c82[_0x125828(0xda)](_0x53c22e);const _0x48c515=_0x41fe49[_0x125828(0x10d)][_0x125828(0x12e)](_0x125828(0x118)),_0x4f42ad=_0x41fe49[_0x125828(0x8f)][_0x125828(0x12e)](_0x5220e8);if(_0x2824b1&&(_0x2824b1[_0x125828(0xcc)]&&_0x2824b1[_0x125828(0xd6)](null),_0x2824b1[_0x125828(0x128)]))return _0x2824b1;return!this[_0x125828(0xe3)](_0x53c22e)[0x0][_0x125828(0xb3)]?_0x41fe49[_0x125828(0xb0)][_0x125828(0x103)][_0x125828(0xfe)](_0x125828(0xe5),()=>{const _0x2db90d=_0x125828;if(_0x187c82[_0x2db90d(0xda)](_0x53c22e))return;const _0x283e99=_0x41fe49[_0x2db90d(0x8f)][_0x2db90d(0x12e)](_0xbb1cef);_0x2824b1=_0x187c82[_0x2db90d(0x106)]({'channelId':_0x48c515,'threadId':_0x53c22e,'target':()=>this[_0x2db90d(0x90)](_0x53c22e),'context':{'type':_0x2db90d(0xf8),'value':this[_0x2db90d(0xaf)](_0x53c22e)}});const _0x2b679c=_0x187c82[_0x2db90d(0xa5)][_0x2db90d(0x12e)](_0x2824b1)[_0x2db90d(0x103)],_0x5600cf=_0x283e99[_0x2db90d(0x94)](_0x2b679c);_0x5600cf&&_0x4f42ad[_0x2db90d(0xc3)](_0x5600cf);},{'priority':_0x125828(0xf1)}):_0x187c82[_0x125828(0xd8)]({'channelId':_0x48c515,'threadId':_0x53c22e})[_0x125828(0x126)](_0xccbbcc=>{const _0x2b5770=_0x125828;if(_0x2b5770(0x9f)!==_0x41fe49[_0x2b5770(0xa0)]){if(_0x2824b1=_0xccbbcc,_0x2824b1&&!_0x2824b1[_0x2b5770(0x128)]){const _0x1ae01d=_0x2824b1[_0x2b5770(0xa8)](()=>this[_0x2b5770(0x90)](_0x53c22e));_0x4f42ad[_0x2b5770(0xc3)](_0x1ae01d),_0x2824b1[_0x2b5770(0xe9)]&&this[_0x2b5770(0xc2)](_0x53c22e);}else{if(!_0x2824b1){const _0x1ac160=this[_0x2b5770(0xe3)](_0x53c22e);_0x41fe49[_0x2b5770(0x120)][_0x2b5770(0xdf)](_0x5ee8c6=>{const _0x5ddda7=_0x2b5770;for(const _0x521e2c of _0x1ac160)_0x5ee8c6[_0x5ddda7(0xd3)](_0x521e2c);});}}}}),_0x2824b1;}[_0xb163b4(0x12c)](_0x54d635,_0x291b0a){const _0x15c7c2=_0xb163b4,_0x2fa542=this[_0x15c7c2(0xfd)](_0x54d635,_0x291b0a);_0x2fa542&&!_0x2fa542[_0x15c7c2(0x93)]&&_0x2fa542[_0x15c7c2(0xac)]({'type':_0x15c7c2(0xf8),'value':this[_0x15c7c2(0xaf)](_0x291b0a)});}[_0xb163b4(0x117)](){const _0x560468=_0xb163b4,_0x457fee=this[_0x560468(0x108)];_0x8f3c1e(_0x457fee[_0x560468(0x120)],({left:_0x367d63,entered:_0x4e1d81})=>{const _0x3ebc33=_0x560468;for(const _0x34bb7c of _0x367d63)if(mt(_0x34bb7c)){_0x457fee['ui'][_0x3ebc33(0x121)][_0x3ebc33(0x11c)](_0x354efd(_0x457fee[_0x3ebc33(0x114)],_0x3ebc33(0xf3)));break;}for(const _0x3b0c98 of _0x4e1d81)if(mt(_0x3b0c98)){_0x457fee['ui'][_0x3ebc33(0x121)][_0x3ebc33(0x11c)](_0x354efd(_0x457fee[_0x3ebc33(0x114)],_0x3ebc33(0xad),_0x2c18e8(_0x45eaca)));break;}});}}function dt(_0x5323a3,_0x4fa171){return _0x4fa171?_0x5323a3+':'+_0x4fa171:_0x5323a3;}function ht(_0x2e04e8,_0x109922){const _0x50356d=_0xb163b4,_0x270f53=_0x109922[_0x50356d(0xed)],_0x1e4bb8=_0x109922[_0x50356d(0x9e)](_0x2e04e8[_0x50356d(0xf9)]);for(const _0x5db312 of _0x2e04e8[_0x50356d(0x12b)]()){const {type:_0x5541f2,item:_0xb2e4a2,nextPosition:_0x38f68f}=_0x5db312;if(_0x50356d(0xf8)===_0x5541f2||_0x270f53[_0x50356d(0xc0)](_0xb2e4a2)){const _0x3406d4=_0x109922[_0x50356d(0x110)](_0xb2e4a2);_0x1e4bb8[_0x50356d(0xbb)]&&(_0x1e4bb8[_0x50356d(0xf9)]=_0x3406d4),_0x1e4bb8[_0x50356d(0x9b)]=_0x38f68f;}}return _0x1e4bb8;}function mt(_0x17e434){const _0x57ab68=_0xb163b4;return _0x57ab68(0x9c)===_0x2be007(_0x17e434[_0x57ab68(0xb4)])[_0x57ab68(0xd0)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x270e88=_0x37c5;(function(_0x26865c,_0x5bdbe5){const _0x349b33=_0x37c5,_0x2a412c=_0x26865c();while(!![]){try{const _0x3bfbdc=parseInt(_0x349b33(0x17f))/0x1*(-parseInt(_0x349b33(0x165))/0x2)+parseInt(_0x349b33(0x1cf))/0x3*(parseInt(_0x349b33(0x132))/0x4)+parseInt(_0x349b33(0x1ca))/0x5*(parseInt(_0x349b33(0x14e))/0x6)+-parseInt(_0x349b33(0x122))/0x7*(parseInt(_0x349b33(0x14c))/0x8)+-parseInt(_0x349b33(0x151))/0x9+-parseInt(_0x349b33(0x1e8))/0xa*(parseInt(_0x349b33(0x18f))/0xb)+parseInt(_0x349b33(0x1d7))/0xc;if(_0x3bfbdc===_0x5bdbe5)break;else _0x2a412c['push'](_0x2a412c['shift']());}catch(_0x62dc6){_0x2a412c['push'](_0x2a412c['shift']());}}}(_0x2609,0xc96c9));import{PendingActions as _0x2568fd,ContextPlugin as _0x254425,Editor as _0x271d06}from'ckeditor5/src/core.js';import{Collection as _0x5efb1e,uid as _0x589d8b,CKEditorError as _0x4fb8c8,ObservableMixin as _0x5dfd88}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x321cf9,hashObject as _0x45cdf6,Users as _0x421025}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x3e46f8,isEqual as _0x1b0cf7,set as _0x560f57,unset as _0x34ee0b}from'es-toolkit/compat';import{CommentThreadController as _0x220724}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x316a3c}from'./ui/view/commentthreadview.js';import{CommentView as _0x2d31ad}from'./ui/view/commentview.js';import{getTranslation as _0x23d0b9}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x44bf2d}from'../annotations/view/annotationview.js';import{Annotation as _0x4cf729}from'../annotations/annotation.js';import{Annotations as _0x6f38b1}from'../annotations/annotations.js';function _0x37c5(_0x320ee8,_0x10a4b6){const _0x260918=_0x2609();return _0x37c5=function(_0x37c543,_0xbdd393){_0x37c543=_0x37c543-0x102;let _0x2ead30=_0x260918[_0x37c543];return _0x2ead30;},_0x37c5(_0x320ee8,_0x10a4b6);}const _t=Symbol(_0x270e88(0x145)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};function _0x2609(){const _0x583663=['_submitCommentThread','modifyAll','authoredAt','fetchCommentThread','@external','catch','channelId','commentsrepository-update-comment-internal-error','focusableElements','resolvedAt','div','568rHyrgY','removeAttribute','canComment','length','_threadToController','commentsrepository-update-missing-comment','push','locale','error','commentsrepository-remove-comment-missing-comment-thread','isReadOnly','requires','activeCommentThread','commentsrepository-missing-thread-and-adapter-method','_add','isDirty','getComment','has','switchReadOnly','noChannel','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','comments','function','archivedAt','deactivateAll','commentsrepository-add-comment-thread-internal-error','12520EvPKKh','warn','17742sStjcY','_addComment','createElement','3207978ZEeWRH','isResolved','activate','author','getIndex','commentsrepository-active-not-attached','comments.maxCommentsWhenCollapsed','authorName','_threads','_updateCommentThread','stopListening','_isAttached','commentsrepository-remove-comment-internal-error','from','commentsrepository-invalid-comment-thread-id','commentsrepository-update-comment-missing-comment-thread','highest','_updateComment','updateComment','commentsrepository-remove-missing-comment-thread','182ykKjTi','createdAt','commentsrepository-reopen-comment-thread','refreshVisibility','body','submitCommentThread','isExternal','remove','setActiveCommentThread','commentsrepository-missing-target','_unbindEditors','createCommentThreadController','comment','context','content','commentsrepository-duplicated-comment-thread-id','_attachCommentThread','focusTracker','plugins','getCommentThreadForAnnotation','commentInputView','weight','then','escape','fire','commentsrepository-update-comment-thread-internal-error','11313DgmjUc','threadId','commentsrepository-add-comment-internal-error','commentId','setContext','attachTo','unlinkedAt','map','isAttached','editorDestroyed','commentUpdated','commentsrepository-invalid-comment-content','_isSubmitted','add','string','get','22cdJQMS','_viewToController','setAttribute','removeComment','getByInnerView','updateCommentThread','_bindAnnotationToEditors','change:isDirty','commentsListView','_adapter','adapter','commentsrepository-remove-missing-comment','commentsrepository-add-comment-user-not-exists','textContent','commentsrepository-get-comment-invalid-id','model','setUnlinkedAt','write','view','_updateActiveAnnotation','_createCommentThreadView','getPermissions','type','comments.maxThreadTotalWeight','set','PendingActions','commentsrepository-update-comment-invalid-content','openNewCommentThread','commentsrepository-fetch-comment-thread','addUser','_remove','comments.CommentView','change:_readOnlyChannels','_reopenCommentThread','isFromAdapter','editorReady','resolveCommentThread','commentsrepository-adapter-already-set','CommentsRepository','comments.editorConfig','getCommentThread','delete','_removeCommentThread','setPermissions','_removeComment','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-resolved-comment-thread','innerHTML','listenTo','resolve','comments.copyMarkers','CommentThreadView','bodyCollectionContainer','init','getAnnotationForCommentThread','change:_permissions','creator','commentsrepository-add-comment-to-missing-comment-thread','_detachCommentThread','985HJvPeb','reopen','commentsrepository-active-missing-comment-thread','PENDING_ACTION_COMMENT_THREAD','commentsrepository-invalid-commentid','16653bNfhon','hasCommentThread','addComment','isOfficialPlugin','commentThreadInputView','isEditable','pluginName','_createNewComment','28024416WOHjAh','reduce','destroy','commentsrepository-resolve-comment-thread-internal-error','comments.CommentThreadView','filter','values','comments.maxCommentCharsWhenCollapsed','_repository','commentsrepository-invalid-comment-authorid','isSubmitted','lowest','admin','licenseKey','_update','getCommentThreads','reopenCommentThread','582080TLcSGT','_permissions','_removeActiveAnnotation','commentsrepository-missing-comment-thread','getUser','change:activeAnnotations','toJSON','submit','_getExternalAuthor','removeCommentThread','_readOnlyChannels','_hasTargetInContent','isActive','addCommentThread','_resolveCommentThread','commentsrepository-remove-comment-thread-internal-error','define','resolvedBy','getTime','bind','commentsrepository-attach-missing-comment-thread','CommentView','_findOptimalIndex','isVisible','isResolvable','update','trim','find','external:','isRemovable','attributes','once','max','innerView','change:authoredAt','assign','6167amiDaF','isPremiumPlugin','config','focus','_addCommentThread'];_0x2609=function(){return _0x583663;};return _0x2609();}export class CommentsRepository extends _0x254425{[_0x270e88(0x159)];[_0x270e88(0x136)];[_0x270e88(0x190)];static get[_0x270e88(0x13d)](){return[_0x6f38b1,_0x2568fd,_0x421025];}static get[_0x270e88(0x1d5)](){const _0x3269c0=_0x270e88;return _0x3269c0(0x1b5);}static get[_0x270e88(0x1d2)](){return!0x0;}static get[_0x270e88(0x123)](){return!0x0;}constructor(_0x2533a7){const _0xe93cd3=_0x270e88;super(_0x2533a7),this[_0xe93cd3(0x159)]=new Map(),this[_0xe93cd3(0x136)]=new Map(),this[_0xe93cd3(0x190)]=new Map(),this[_0xe93cd3(0x1a7)](_0xe93cd3(0x108),new Set()),this[_0xe93cd3(0x1a7)](_0xe93cd3(0x1e9),new Map());const _0x51d3d0=this[_0xe93cd3(0x172)][_0xe93cd3(0x124)];_0x51d3d0[_0xe93cd3(0x10e)](_0xe93cd3(0x157),0x2),_0x51d3d0[_0xe93cd3(0x10e)](_0xe93cd3(0x1a6),0x1f4),_0x51d3d0[_0xe93cd3(0x10e)](_0xe93cd3(0x1de),0x8c),_0x51d3d0[_0xe93cd3(0x10e)](_0xe93cd3(0x1db),_0x316a3c),_0x51d3d0[_0xe93cd3(0x10e)](_0xe93cd3(0x1ae),_0x2d31ad),_0x51d3d0[_0xe93cd3(0x18e)](_0xe93cd3(0x1b6))||console[_0xe93cd3(0x14d)](_0xe93cd3(0x146));}[_0x270e88(0x1c4)](){const _0x542d57=_0x270e88,_0xda3b4=this[_0x542d57(0x172)][_0x542d57(0x177)][_0x542d57(0x18e)](_0x6f38b1);this[_0x542d57(0x1a7)](_0x542d57(0x13e),null),this['on'](_0x542d57(0x10b),(_0x3d625b,_0x491c56)=>this[_0x542d57(0x126)](_0x491c56)),this['on'](_0x542d57(0x16a),(_0xb4cd04,_0x194fbf)=>this[_0x542d57(0x127)](_0x194fbf)),this['on'](_0x542d57(0x1b3),(_0x579bd,_0x28813a)=>this[_0x542d57(0x10c)](_0x28813a)),this['on'](_0x542d57(0x1b3),(_0x337035,_0x2a9a02)=>this[_0x542d57(0x1a2)](_0x2a9a02),{'priority':_0x542d57(0x1e2)}),this['on'](_0x542d57(0x1e7),(_0x10b83c,_0x260d30)=>this[_0x542d57(0x1b0)](_0x260d30)),this['on'](_0x542d57(0x1e7),(_0x48af29,_0x4764ca)=>this[_0x542d57(0x1a2)](_0x4764ca),{'priority':_0x542d57(0x1e2)}),this['on'](_0x542d57(0x107),(_0x28cd31,_0x4de0d8)=>this[_0x542d57(0x1b9)](_0x4de0d8)),this['on'](_0x542d57(0x194),(_0x4a2c31,_0x1b113b)=>this[_0x542d57(0x15a)](_0x1b113b)),this['on'](_0x542d57(0x194),(_0x2274da,_0x233ac4)=>this[_0x542d57(0x1a2)](_0x233ac4),{'priority':_0x542d57(0x1e2)}),this['on'](_0x542d57(0x1d1),(_0x1673aa,_0x284110)=>this[_0x542d57(0x14f)](_0x284110)),this['on'](_0x542d57(0x163),(_0x10ff4f,_0x45645b)=>this[_0x542d57(0x162)](_0x45645b)),this['on'](_0x542d57(0x192),(_0xb4413d,_0x22c553)=>this[_0x542d57(0x1bb)](_0x22c553)),this['on'](_0x542d57(0x1d1),(_0x2e3759,{threadId:_0x2571d9,isFromAdapter:_0x3ef9ce})=>{const _0x233efb=_0x542d57;if(_0x3ef9ce)return;const _0x5e3a01=this[_0x233efb(0x1b7)](_0x2571d9),_0x198f49=_0x5e3a01&&this[_0x233efb(0x136)][_0x233efb(0x18e)](_0x5e3a01);_0x198f49&&_0x198f49[_0x233efb(0x1a1)][_0x233efb(0x197)][_0x233efb(0x125)](-0x1);},{'priority':_0x542d57(0x1e2)}),this[_0x542d57(0x1bf)](_0xda3b4,_0x542d57(0x103),(_0xef07ae,_0x218293,_0x5a1619)=>{const _0x32b325=_0x542d57,_0x4659e2=Array[_0x32b325(0x15e)](_0x5a1619)[_0x32b325(0x186)](_0x139593=>this[_0x32b325(0x190)][_0x32b325(0x18e)](_0x139593[_0x32b325(0x11f)]))[_0x32b325(0x1dc)](Boolean)[0x0];this[_0x32b325(0x13e)]=_0x4659e2?_0x4659e2[_0x32b325(0x19e)]:null;});}set[_0x270e88(0x199)](_0x11a0e3){const _0x49af13=_0x270e88;if(this[_0x49af13(0x198)])throw new _0x4fb8c8(_0x49af13(0x1b4));this[_0x49af13(0x198)]=_0x11a0e3;}get[_0x270e88(0x199)](){const _0x11a97d=_0x270e88;return this[_0x11a97d(0x198)];}[_0x270e88(0x10b)]({channelId:_0x1f6008=_t,threadId:_0x3a9360=_0x589d8b(),comments:_0x4504b6=[],unlinkedAt:_0x249e66=null,resolvedAt:_0x3b0eb1=null,resolvedBy:_0x51dd0b=null,target:_0x390ace=null,context:_0x2bd5f4=null,attributes:_0x1c4e28={},isResolvable:_0x29abdf=!0x0,isSubmitted:_0x4686ff=!0x1,isFromAdapter:_0x38a048=!0x1}={}){const _0x5a085c=_0x270e88;return this[_0x5a085c(0x17d)](Nt(_0x5a085c(0x10b),_0x1f6008),{'channelId':_0x1f6008,'threadId':_0x3a9360,'comments':_0x4504b6,'unlinkedAt':_0x249e66,'resolvedAt':_0x3b0eb1,'resolvedBy':_0x51dd0b,'target':_0x390ace,'context':_0x2bd5f4,'attributes':_0x1c4e28,'isFromAdapter':_0x38a048,'isResolvable':_0x29abdf,'isSubmitted':_0x4686ff}),this[_0x5a085c(0x1b7)](_0x3a9360);}[_0x270e88(0x1aa)]({channelId:_0x529132=_t,threadId:_0x149f99=_0x589d8b(),target:_0x6969b3,context:_0x5c1d25=null,isResolvable:_0x5bc782=!0x0}){const _0x3e50a6=_0x270e88;if(this[_0x3e50a6(0x108)][_0x3e50a6(0x143)](_0x529132)||this[_0x3e50a6(0x108)][_0x3e50a6(0x143)](void 0x0))return null;if(!_0x6969b3)throw new _0x4fb8c8(_0x3e50a6(0x16e));const _0x54cbc5=this[_0x3e50a6(0x10b)]({'channelId':_0x529132,'threadId':_0x149f99,'target':_0x6969b3,'context':_0x5c1d25,'isResolvable':_0x5bc782});if(!_0x54cbc5)return null;const _0xf10f81=this[_0x3e50a6(0x136)][_0x3e50a6(0x18e)](_0x54cbc5),_0x2e7d88=_0xf10f81[_0x3e50a6(0x1a1)][_0x3e50a6(0x1d3)][_0x3e50a6(0x179)],_0x4f248f=this[_0x3e50a6(0x172)][_0x3e50a6(0x177)][_0x3e50a6(0x18e)](_0x6f38b1),_0x498f27=_0x4f248f[_0x3e50a6(0x193)](_0xf10f81[_0x3e50a6(0x1a1)]);return _0x4f248f[_0x3e50a6(0x153)](_0x498f27),_0x2e7d88[_0x3e50a6(0x11d)](_0x3e50a6(0x1b2),()=>_0x2e7d88[_0x3e50a6(0x125)]()),_0x54cbc5;}[_0x270e88(0x1d0)](_0x17dc0a){const _0x1c4aed=_0x270e88;if(_0x1c4aed(0x18d)!=typeof _0x17dc0a)throw new _0x4fb8c8(_0x1c4aed(0x15f));return this[_0x1c4aed(0x159)][_0x1c4aed(0x143)](_0x17dc0a);}[_0x270e88(0x194)]({channelId:_0x35da8b=_t,threadId:_0x251f9f,context:_0x3456b6,unlinkedAt:_0x3046e6,attributes:_0x41eedd,isFromAdapter:_0x5c11ae=!0x1}){const _0x2cd8d5=_0x270e88;return this[_0x2cd8d5(0x17d)](Nt(_0x2cd8d5(0x194),_0x35da8b),{'channelId':_0x35da8b,'threadId':_0x251f9f,'context':_0x3456b6,'unlinkedAt':_0x3046e6,'attributes':_0x41eedd,'isFromAdapter':_0x5c11ae}),this[_0x2cd8d5(0x1b7)](_0x251f9f);}[_0x270e88(0x1b7)](_0x17c745){const _0x8f0ba0=_0x270e88;if(_0x8f0ba0(0x18d)!=typeof _0x17c745)throw new _0x4fb8c8(_0x8f0ba0(0x15f));return this[_0x8f0ba0(0x159)][_0x8f0ba0(0x18e)](_0x17c745);}[_0x270e88(0x12a)]({channelId:_0x1c65e7,threadId:_0x3a110a}={}){const _0x3f7b62=_0x270e88,_0x2d8f44=this[_0x3f7b62(0x1b7)](_0x3a110a);if(_0x2d8f44)return Promise[_0x3f7b62(0x1c0)](_0x2d8f44);if(!this[_0x3f7b62(0x199)])return Promise[_0x3f7b62(0x1c0)](void 0x0);if(_0x3f7b62(0x148)!=typeof this[_0x3f7b62(0x199)][_0x3f7b62(0x1b7)])throw new _0x4fb8c8(_0x3f7b62(0x13f),this[_0x3f7b62(0x172)]);return this[_0x3f7b62(0x199)][_0x3f7b62(0x1b7)]({'channelId':_0x1c65e7,'threadId':_0x3a110a})[_0x3f7b62(0x17b)](_0xfb3894=>this[_0x3f7b62(0x1d0)](_0x3a110a)?this[_0x3f7b62(0x1b7)](_0x3a110a):_0xfb3894?this[_0x3f7b62(0x10b)](Object[_0x3f7b62(0x121)]({'isFromAdapter':!0x0,'channelId':_0x1c65e7},_0xfb3894)):void 0x0)[_0x3f7b62(0x12c)](_0x19bdb2=>{const _0x40c537=_0x3f7b62;throw console[_0x40c537(0x13a)](_0x19bdb2),new _0x4fb8c8(_0x40c537(0x1ab),this[_0x40c537(0x172)]);});}[_0x270e88(0x1e6)]({channelId:_0x326a0c,skipNotAttached:_0x589290=!0x1,skipEmpty:_0x1be24e=!0x1,toJSON:_0x48164e=!0x1}={}){const _0x3a2cd0=_0x270e88,_0x243d44=[];for(const _0x1d0df3 of this[_0x3a2cd0(0x159)][_0x3a2cd0(0x1dd)]())_0x326a0c&&_0x1d0df3[_0x3a2cd0(0x12d)]!==_0x326a0c||_0x589290&&!_0x1d0df3[_0x3a2cd0(0x187)]||_0x1be24e&&0x0===_0x1d0df3[_0x3a2cd0(0x135)]||_0x243d44[_0x3a2cd0(0x138)](_0x1d0df3);return _0x48164e?_0x243d44[_0x3a2cd0(0x186)](_0x45e784=>_0x45e784[_0x3a2cd0(0x104)]()):_0x243d44;}[_0x270e88(0x1c5)](_0x51ecd1){const _0x16a024=_0x270e88,_0x316453=this[_0x16a024(0x136)][_0x16a024(0x18e)](_0x51ecd1);if(!_0x316453)return null;return this[_0x16a024(0x172)][_0x16a024(0x177)][_0x16a024(0x18e)](_0x6f38b1)[_0x16a024(0x193)](_0x316453[_0x16a024(0x1a1)])||null;}[_0x270e88(0x178)](_0x20e13c){const _0x5bb884=_0x270e88,_0x27c2f3=this[_0x5bb884(0x190)][_0x5bb884(0x18e)](_0x20e13c[_0x5bb884(0x11f)]);return _0x27c2f3?_0x27c2f3[_0x5bb884(0x19e)]:null;}[_0x270e88(0x16d)](_0x1ee508){const _0x4ff272=_0x270e88,_0x597bec=this[_0x4ff272(0x172)][_0x4ff272(0x177)][_0x4ff272(0x18e)](_0x6f38b1);if(!_0x1ee508)return void(this[_0x4ff272(0x13e)]&&_0x597bec[_0x4ff272(0x14a)]());const _0x1146a9=this[_0x4ff272(0x1b7)](_0x1ee508);if(!_0x1146a9)throw new _0x4fb8c8(_0x4ff272(0x1cc),null,{'threadId':_0x1ee508});if(!this[_0x4ff272(0x136)][_0x4ff272(0x143)](_0x1146a9))throw new _0x4fb8c8(_0x4ff272(0x156),null,{'threadId':_0x1ee508});const _0x188c27=_0x597bec[_0x4ff272(0x193)](this[_0x4ff272(0x136)][_0x4ff272(0x18e)](_0x1146a9)[_0x4ff272(0x1a1)]);_0x597bec[_0x4ff272(0x153)](_0x188c27);}[_0x270e88(0x144)](_0x42f2e5,_0xfbc81c){const _0x332055=_0x270e88;_0x42f2e5?this[_0x332055(0x108)][_0x332055(0x18c)](_0xfbc81c):this[_0x332055(0x108)][_0x332055(0x1b8)](_0xfbc81c),this[_0x332055(0x17d)](_0x332055(0x1af),_0x332055(0x108),this[_0x332055(0x108)],this[_0x332055(0x108)]);}[_0x270e88(0x13c)](_0x3b44e2){const _0x1d00e9=_0x270e88;return this[_0x1d00e9(0x108)][_0x1d00e9(0x143)](_0x3b44e2)||this[_0x1d00e9(0x108)][_0x1d00e9(0x143)](void 0x0);}[_0x270e88(0x170)](_0x248f8c,_0xc6922b){return new _0x220724(_0x248f8c,_0xc6922b);}[_0x270e88(0x1ba)](_0x56febd,_0x24137d=_t){const _0x3d476a=_0x270e88;this[_0x3d476a(0x1e9)][_0x3d476a(0x1a7)](_0x24137d,_0x56febd),this[_0x3d476a(0x17d)](_0x3d476a(0x1c6),_0x3d476a(0x1e9),this[_0x3d476a(0x1e9)],this[_0x3d476a(0x1e9)]);}[_0x270e88(0x1a4)](_0x350648=_t){const _0xb00cb6=_0x270e88;return this[_0xb00cb6(0x1e9)][_0xb00cb6(0x143)](_0x350648)?this[_0xb00cb6(0x1e9)][_0xb00cb6(0x18e)](_0x350648):bt;}[_0x270e88(0x126)]({channelId:_0x51a0ee,threadId:_0x21d569,comments:_0x20bc23,unlinkedAt:_0x27f3d7,resolvedAt:_0x580e22,resolvedBy:_0x3896c4,target:_0x2c4399,context:_0x31d7c8,attributes:_0xa43285,isFromAdapter:_0x55abbd,isResolvable:_0x1817a6,isSubmitted:_0x18c75a}){const _0x21005c=_0x270e88;if(_0x21005c(0x18d)!=typeof _0x21d569)throw new _0x4fb8c8(_0x21005c(0x15f),null,{'threadId':_0x21d569});if(this[_0x21005c(0x1d0)](_0x21d569))throw new _0x4fb8c8(_0x21005c(0x174),null,{'threadId':_0x21d569});const _0x15043c=new CommentThread(this,{'channelId':_0x51a0ee,'id':_0x21d569,'context':_0x31d7c8,'attributes':_0xa43285,'unlinkedAt':_0x27f3d7,'resolvedAt':_0x580e22,'resolvedBy':_0x3896c4?this[_0x21005c(0x172)][_0x21005c(0x177)][_0x21005c(0x18e)](_0x421025)[_0x21005c(0x102)](_0x3896c4):null,'isResolvable':_0x1817a6,'isSubmitted':_0x18c75a||_0x55abbd});this[_0x21005c(0x159)][_0x21005c(0x1a7)](_0x21d569,_0x15043c);for(const _0x3f5c16 of _0x20bc23)_0x15043c[_0x21005c(0x140)](this[_0x21005c(0x1d6)]({'threadId':_0x21d569,..._0x3f5c16}));return _0x2c4399&&_0x15043c[_0x21005c(0x184)](_0x2c4399),_0x55abbd||!_0x15043c[_0x21005c(0x135)]?Promise[_0x21005c(0x1c0)]():this[_0x21005c(0x127)]({'channelId':_0x51a0ee,'threadId':_0x21d569});}[_0x270e88(0x127)]({channelId:_0x4652bc,threadId:_0x268496}){const _0x374e27=_0x270e88;if(!this[_0x374e27(0x1d0)](_0x268496))throw new _0x4fb8c8(_0x374e27(0x1eb),this);const _0x4dae72=this[_0x374e27(0x1b7)](_0x268496);if(_0x4dae72[_0x374e27(0x18b)]=!0x0,!this[_0x374e27(0x199)]||_0x374e27(0x148)!=typeof this[_0x374e27(0x199)][_0x374e27(0x10b)])return Promise[_0x374e27(0x1c0)]();const {id:_0xbdf87b,comments:_0x44895c,resolvedAt:_0x8d81a6,resolvedBy:_0x194deb,context:_0x2165c6,attributes:_0x56746f}=_0x4dae72,_0x3eaf54=this[_0x374e27(0x172)][_0x374e27(0x177)][_0x374e27(0x18e)](_0x374e27(0x1a8)),_0x521d91=_0x3eaf54[_0x374e27(0x18c)](_0x23d0b9(this[_0x374e27(0x172)][_0x374e27(0x139)],_0x374e27(0x1cd)));return this[_0x374e27(0x199)][_0x374e27(0x10b)]({'channelId':_0x4652bc,'threadId':_0xbdf87b,'comments':_0x44895c[_0x374e27(0x186)](_0x461462=>_0x461462[_0x374e27(0x104)]()),'resolvedAt':_0x8d81a6,'resolvedBy':_0x194deb?_0x194deb['id']:_0x194deb,'context':_0x2165c6,'attributes':_0x56746f})[_0x374e27(0x17b)](({comments:_0x3b910b})=>{const _0x358a28=_0x374e27;_0x3eaf54[_0x358a28(0x16c)](_0x521d91);for(const _0x995c4f of _0x3b910b)this[_0x358a28(0x162)]({'channelId':_0x4652bc,'threadId':_0x268496,'commentId':_0x995c4f[_0x358a28(0x182)],'createdAt':_0x995c4f[_0x358a28(0x166)],'isFromAdapter':!0x0});})[_0x374e27(0x12c)](_0x2e8691=>{const _0x1aca5b=_0x374e27;throw console[_0x1aca5b(0x13a)](_0x2e8691),new _0x4fb8c8(_0x1aca5b(0x14b),this);});}[_0x270e88(0x175)]({threadId:_0x57fc0f,target:_0xa51ea1}){const _0x138c8c=_0x270e88,_0x573f59=this[_0x138c8c(0x1b7)](_0x57fc0f);if(!_0x573f59)throw new _0x4fb8c8(_0x138c8c(0x112),this);const _0x54d80c=this[_0x138c8c(0x172)][_0x138c8c(0x177)][_0x138c8c(0x18e)](_0x138c8c(0x1a8)),_0x115e30=this[_0x138c8c(0x172)][_0x138c8c(0x177)][_0x138c8c(0x18e)](_0x6f38b1),_0x416bc3=this[_0x138c8c(0x1a3)](_0x573f59),_0x40985d=new _0x220724(_0x573f59,_0x416bc3);let _0x1d4264=null;_0x416bc3['on'](_0x138c8c(0x196),(_0x1368b9,_0xfc4c4d,_0x527886)=>{const _0x333440=_0x138c8c;_0x527886?_0x1d4264=_0x54d80c[_0x333440(0x18c)](_0x23d0b9(this[_0x333440(0x172)][_0x333440(0x139)],_0x333440(0x1cd))):_0x1d4264&&(_0x54d80c[_0x333440(0x16c)](_0x1d4264),_0x1d4264=null);}),this[_0x138c8c(0x136)][_0x138c8c(0x1a7)](_0x573f59,_0x40985d),this[_0x138c8c(0x190)][_0x138c8c(0x1a7)](_0x416bc3,_0x40985d);const _0x1644bd=new _0x44bf2d(this[_0x138c8c(0x172)][_0x138c8c(0x139)],_0x416bc3);_0x1644bd[_0x138c8c(0x111)](_0x138c8c(0x135))['to'](_0x416bc3),_0x1644bd[_0x138c8c(0x111)](_0x138c8c(0x141))['to'](_0x416bc3,_0x138c8c(0x141),_0x416bc3,_0x138c8c(0x135),(_0x4c6c27,_0x2003d0)=>_0x4c6c27||!_0x2003d0),_0x1644bd[_0x138c8c(0x111)](_0x138c8c(0x10a))['to'](_0x416bc3),_0x1644bd[_0x138c8c(0x1a5)]=_0x138c8c(0x171);const _0x2075f9=new _0x4cf729({'view':_0x1644bd,'target':_0xa51ea1,'type':_0x138c8c(0x171),'isVisible':!_0x573f59[_0x138c8c(0x149)]&&!!(_0x138c8c(0x148)==typeof _0xa51ea1?_0xa51ea1():_0xa51ea1)});return _0x416bc3['on'](_0x138c8c(0x17c),()=>{const _0x44cdfa=_0x138c8c;_0x2075f9[_0x44cdfa(0x17d)](_0x44cdfa(0x17c));}),this[_0x138c8c(0x195)](_0x416bc3,_0x2075f9),_0x115e30[_0x138c8c(0x18c)](_0x2075f9),_0x2075f9;}[_0x270e88(0x195)](_0x25d339,_0x48c0a5){const _0x1acd96=_0x270e88;this[_0x1acd96(0x1bf)](_0x25d339,_0x1acd96(0x1b2),(_0xe11064,_0x40f7b6)=>{const _0x296634=_0x1acd96,_0x864ceb=_0x40f7b6['ui'][_0x296634(0x1a1)][_0x296634(0x169)][_0x296634(0x1c3)];_0x48c0a5[_0x296634(0x12f)][_0x296634(0x18c)](_0x864ceb),this[_0x296634(0x172)]instanceof _0x271d06&&this[_0x296634(0x172)]['ui'][_0x296634(0x176)][_0x296634(0x18c)](_0x864ceb);},{'priority':_0x1acd96(0x161)}),this[_0x1acd96(0x1bf)](_0x25d339,_0x1acd96(0x188),(_0x2282dd,_0xfca7b9)=>{const _0x57ed8d=_0x1acd96,_0x1e8a21=_0xfca7b9['ui'][_0x57ed8d(0x1a1)][_0x57ed8d(0x169)][_0x57ed8d(0x1c3)];_0x48c0a5[_0x57ed8d(0x12f)][_0x57ed8d(0x143)](_0x1e8a21)&&_0x48c0a5[_0x57ed8d(0x12f)][_0x57ed8d(0x16c)](_0x1e8a21),this[_0x57ed8d(0x172)]instanceof _0x271d06&&this[_0x57ed8d(0x172)]['ui'][_0x57ed8d(0x176)][_0x57ed8d(0x16c)](_0x1e8a21);});}[_0x270e88(0x16f)](_0x342e11){const _0xcaed8f=_0x270e88;this[_0xcaed8f(0x15b)](_0x342e11,_0xcaed8f(0x1b2)),this[_0xcaed8f(0x15b)](_0x342e11,_0xcaed8f(0x188));}[_0x270e88(0x1a3)](_0x27bf94){const _0x28cf89=_0x270e88,_0x20db27=this[_0x28cf89(0x172)][_0x28cf89(0x177)][_0x28cf89(0x18e)](_0x421025),{config:_0x1216a2,locale:_0x99f20d}=this[_0x28cf89(0x172)],_0x3b39ec=_0x321cf9(_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x139)),_0x99f20d);return new(0x0,(_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x147)))[(_0x28cf89(0x1c2))])(_0x99f20d,_0x27bf94,_0x20db27['me'],{'editorConfig':{..._0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x1b6)),'licenseKey':this[_0x28cf89(0x172)][_0x28cf89(0x124)][_0x28cf89(0x18e)](_0x28cf89(0x1e4))},'copyMarkers':_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x1c1)),'maxCommentsWhenCollapsed':_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x157)),'maxThreadTotalWeight':_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x1a6)),'maxCommentCharsWhenCollapsed':_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x1de)),'formatDateTime':_0x3b39ec,'CommentView':_0x1216a2[_0x28cf89(0x18e)](_0x28cf89(0x147))[_0x28cf89(0x113)]});}[_0x270e88(0x10c)]({threadId:_0x8b1852,channelId:_0x50b921,resolvedAt:_0x1454ad,resolvedBy:_0x3c0d0a,isFromAdapter:_0xb27a05}){const _0x48d986=_0x270e88;if(!this[_0x48d986(0x1d0)](_0x8b1852))throw new _0x4fb8c8(_0x48d986(0x1eb),null,{'threadId':_0x8b1852});const _0x264640=this[_0x48d986(0x1b7)](_0x8b1852);if(_0x264640[_0x48d986(0x152)])throw new _0x4fb8c8(_0x48d986(0x1bd),null,{'threadId':_0x8b1852});const _0x5ca720=this[_0x48d986(0x172)][_0x48d986(0x177)][_0x48d986(0x18e)](_0x421025);if(_0x264640[_0x48d986(0x10f)]=_0x5ca720[_0x48d986(0x102)](_0x3c0d0a),_0x264640[_0x48d986(0x130)]=_0x1454ad,_0xb27a05||!this[_0x48d986(0x199)]||_0x48d986(0x148)!=typeof this[_0x48d986(0x199)][_0x48d986(0x1b3)])return Promise[_0x48d986(0x1c0)]();const _0x33f126=this[_0x48d986(0x172)][_0x48d986(0x177)][_0x48d986(0x18e)](_0x48d986(0x1a8)),_0x3cef70=_0x33f126[_0x48d986(0x18c)](_0x23d0b9(this[_0x48d986(0x172)][_0x48d986(0x139)],_0x48d986(0x1cd)));return this[_0x48d986(0x199)][_0x48d986(0x1b3)]({'channelId':_0x50b921,'threadId':_0x8b1852})[_0x48d986(0x17b)](({resolvedAt:_0x204778,resolvedBy:_0x44c6bc})=>{const _0x4d2f36=_0x48d986;_0x33f126[_0x4d2f36(0x16c)](_0x3cef70),_0x264640[_0x4d2f36(0x10f)]['id']!==_0x44c6bc&&(_0x264640[_0x4d2f36(0x10f)]=_0x5ca720[_0x4d2f36(0x102)](_0x44c6bc)),_0x264640[_0x4d2f36(0x130)]=_0x204778;})[_0x48d986(0x12c)](_0x16af3b=>{const _0x2e9143=_0x48d986;throw console[_0x2e9143(0x13a)](_0x16af3b),new _0x4fb8c8(_0x2e9143(0x1da),this);});}[_0x270e88(0x1b0)]({threadId:_0x427dcf,channelId:_0x2a3361,isFromAdapter:_0x5c4fc7}){const _0x9e1e2=_0x270e88;if(!this[_0x9e1e2(0x1d0)](_0x427dcf))throw new _0x4fb8c8(_0x9e1e2(0x1eb),null,{'threadId':_0x427dcf});const _0x7cfca7=this[_0x9e1e2(0x1b7)](_0x427dcf);if(!_0x7cfca7[_0x9e1e2(0x152)])throw new _0x4fb8c8(_0x9e1e2(0x167),null,{'threadId':_0x427dcf});if(_0x7cfca7[_0x9e1e2(0x10f)]=null,_0x7cfca7[_0x9e1e2(0x130)]=null,_0x5c4fc7||!this[_0x9e1e2(0x199)]||_0x9e1e2(0x148)!=typeof this[_0x9e1e2(0x199)][_0x9e1e2(0x1e7)])return Promise[_0x9e1e2(0x1c0)]();const _0x25abb1=this[_0x9e1e2(0x172)][_0x9e1e2(0x177)][_0x9e1e2(0x18e)](_0x9e1e2(0x1a8)),_0x39a989=_0x25abb1[_0x9e1e2(0x18c)](_0x23d0b9(this[_0x9e1e2(0x172)][_0x9e1e2(0x139)],_0x9e1e2(0x1cd)));return this[_0x9e1e2(0x199)][_0x9e1e2(0x1e7)]({'channelId':_0x2a3361,'threadId':_0x427dcf})[_0x9e1e2(0x17b)](()=>_0x25abb1[_0x9e1e2(0x16c)](_0x39a989))[_0x9e1e2(0x12c)](_0x482837=>{const _0x1f9406=_0x9e1e2;throw console[_0x1f9406(0x13a)](_0x482837),new _0x4fb8c8(_0x1f9406(0x1bc),this);});}[_0x270e88(0x1b9)]({threadId:_0x2e63bb,isFromAdapter:_0x363e49}){const _0x2a99e4=_0x270e88,_0x386bb2=this[_0x2a99e4(0x1b7)](_0x2e63bb);if(!_0x386bb2)throw new _0x4fb8c8(_0x2a99e4(0x164),this);if(this[_0x2a99e4(0x1c9)](_0x2e63bb),this[_0x2a99e4(0x159)][_0x2a99e4(0x1b8)](_0x2e63bb),!_0x386bb2[_0x2a99e4(0x1e1)]||_0x363e49||!this[_0x2a99e4(0x199)]||_0x2a99e4(0x148)!=typeof this[_0x2a99e4(0x199)][_0x2a99e4(0x107)])return Promise[_0x2a99e4(0x1c0)]();const _0x4d92ae=this[_0x2a99e4(0x172)][_0x2a99e4(0x177)][_0x2a99e4(0x18e)](_0x2a99e4(0x1a8)),{channelId:_0x297dfd}=_0x386bb2,_0xee3dca=_0x4d92ae[_0x2a99e4(0x18c)](_0x23d0b9(this[_0x2a99e4(0x172)][_0x2a99e4(0x139)],_0x2a99e4(0x1cd)));return this[_0x2a99e4(0x199)][_0x2a99e4(0x107)]({'channelId':_0x297dfd,'threadId':_0x2e63bb})[_0x2a99e4(0x17b)](()=>_0x4d92ae[_0x2a99e4(0x16c)](_0xee3dca))[_0x2a99e4(0x12c)](_0x33c9b6=>{const _0x1e2239=_0x2a99e4;throw console[_0x1e2239(0x13a)](_0x33c9b6),new _0x4fb8c8(_0x1e2239(0x10d),this);});}[_0x270e88(0x15a)]({threadId:_0x5df99f,unlinkedAt:_0x4e0c1f,context:_0x32c555,attributes:_0xfe14f0,isFromAdapter:_0x1d75ec}){const _0x2558fb=_0x270e88;if(_0x2558fb(0x18d)!=typeof _0x5df99f)throw new _0x4fb8c8(_0x2558fb(0x15f),null,{'threadId':_0x5df99f});if(!this[_0x2558fb(0x1d0)](_0x5df99f))throw new _0x4fb8c8(_0x2558fb(0x1eb),null,{'threadId':_0x5df99f});const _0x20d2d5=this[_0x2558fb(0x1b7)](_0x5df99f);let _0x37a854=!0x1;if(void 0x0!==_0x32c555&&_0x20d2d5[_0x2558fb(0x172)]!==_0x32c555&&(_0x20d2d5[_0x2558fb(0x172)]=_0x32c555,_0x37a854=!0x0),void 0x0!==_0x4e0c1f&&_0x20d2d5[_0x2558fb(0x185)]!==_0x4e0c1f&&(_0x20d2d5[_0x2558fb(0x185)]=_0x4e0c1f,_0x37a854=!0x0),_0xfe14f0&&!_0x1b0cf7(_0xfe14f0,_0x20d2d5[_0x2558fb(0x11c)])&&(_0x20d2d5[_0x2558fb(0x11c)]=_0xfe14f0,_0x37a854=!0x0),!_0x37a854)return Promise[_0x2558fb(0x1c0)]();if(!_0x20d2d5[_0x2558fb(0x1e1)]||_0x1d75ec||!this[_0x2558fb(0x199)]||_0x2558fb(0x148)!=typeof this[_0x2558fb(0x199)][_0x2558fb(0x194)])return Promise[_0x2558fb(0x1c0)]();const _0x350bc8=this[_0x2558fb(0x172)][_0x2558fb(0x177)][_0x2558fb(0x18e)](_0x2558fb(0x1a8)),{channelId:_0xa196ad}=_0x20d2d5,_0x2fd545=_0x350bc8[_0x2558fb(0x18c)](_0x23d0b9(this[_0x2558fb(0x172)][_0x2558fb(0x139)],_0x2558fb(0x1cd)));return this[_0x2558fb(0x199)][_0x2558fb(0x194)]({'channelId':_0xa196ad,'threadId':_0x5df99f,'context':_0x32c555,'unlinkedAt':_0x4e0c1f,'attributes':_0xfe14f0})[_0x2558fb(0x17b)](()=>_0x350bc8[_0x2558fb(0x16c)](_0x2fd545))[_0x2558fb(0x12c)](_0x1ca36=>{const _0x3b9c8a=_0x2558fb;throw console[_0x3b9c8a(0x13a)](_0x1ca36),new _0x4fb8c8(_0x3b9c8a(0x17e),this);});}[_0x270e88(0x1c9)](_0x2c5884){const _0x44ddb1=_0x270e88,_0x3c5e09=this[_0x44ddb1(0x172)][_0x44ddb1(0x177)][_0x44ddb1(0x18e)](_0x6f38b1),_0x1fe47d=this[_0x44ddb1(0x1b7)](_0x2c5884);if(_0x1fe47d[_0x44ddb1(0x15c)]=!0x1,this[_0x44ddb1(0x136)][_0x44ddb1(0x143)](_0x1fe47d)){const _0x4344b9=this[_0x44ddb1(0x136)][_0x44ddb1(0x18e)](_0x1fe47d),_0x24cf38=_0x4344b9[_0x44ddb1(0x1a1)],_0x2ae7f5=_0x3c5e09[_0x44ddb1(0x193)](_0x24cf38);this[_0x44ddb1(0x136)][_0x44ddb1(0x1b8)](_0x1fe47d),this[_0x44ddb1(0x190)][_0x44ddb1(0x1b8)](_0x24cf38),_0x2ae7f5&&_0x3c5e09[_0x44ddb1(0x16c)](_0x2ae7f5),_0x4344b9[_0x44ddb1(0x1d9)](),_0x24cf38[_0x44ddb1(0x1d9)]()[_0x44ddb1(0x17b)](()=>{const _0x4d0afd=_0x44ddb1;this[_0x4d0afd(0x16f)](_0x24cf38);});}}[_0x270e88(0x1a2)]({threadId:_0x9cb4b1,resolvedAt:_0x12c10f,unlinkedAt:_0x5ec941}){const _0x3cd3df=_0x270e88,_0x3aa6f5=!!_0x12c10f,_0x756cfb=this[_0x3cd3df(0x172)][_0x3cd3df(0x177)][_0x3cd3df(0x18e)](_0x6f38b1),_0x527b63=this[_0x3cd3df(0x1b7)](_0x9cb4b1);if(this[_0x3cd3df(0x136)][_0x3cd3df(0x143)](_0x527b63)){const _0x1d23f4=this[_0x3cd3df(0x136)][_0x3cd3df(0x18e)](_0x527b63)[_0x3cd3df(0x1a1)],_0x5bfb79=_0x756cfb[_0x3cd3df(0x193)](_0x1d23f4);_0x5bfb79&&(_0x3aa6f5&&_0x756cfb[_0x3cd3df(0x1ea)](_0x5bfb79),_0x5ec941?_0x5bfb79[_0x3cd3df(0x115)]=!0x1:_0x5bfb79[_0x3cd3df(0x168)]());}}[_0x270e88(0x106)](_0x1c29d8){const _0x2bb510=_0x270e88,_0x1cf8c7=this[_0x2bb510(0x172)][_0x2bb510(0x177)][_0x2bb510(0x18e)](_0x421025),_0xa945de=_0x45cdf6(_0x2bb510(0x11a)+_0x1c29d8),_0x3a004c=_0x1cf8c7[_0x2bb510(0x102)](_0xa945de);return _0x3a004c||_0x1cf8c7[_0x2bb510(0x1ac)]({'id':_0xa945de,'name':_0x1c29d8});}[_0x270e88(0x1d6)]({threadId:_0x567505,commentId:_0x5a0251=_0x589d8b(),content:_0x111102,authorId:_0xcc4d52,createdAt:_0x1079c0,attributes:_0x3dfb4a}){const _0x47871f=_0x270e88;if(_0x47871f(0x18d)!=typeof _0x5a0251)throw new _0x4fb8c8(_0x47871f(0x1ce));if(_0x47871f(0x18d)!=typeof _0xcc4d52)throw new _0x4fb8c8(_0x47871f(0x1e0));if(_0x47871f(0x18d)!=typeof _0x111102||!_0x111102[_0x47871f(0x118)]())throw new _0x4fb8c8(_0x47871f(0x18a));const _0x4c6126=this[_0x47871f(0x172)][_0x47871f(0x177)][_0x47871f(0x18e)](_0x421025)[_0x47871f(0x102)](_0xcc4d52);if(!_0x4c6126)throw new _0x4fb8c8(_0x47871f(0x19b),null,{'authorId':_0xcc4d52});let _0x51be52=null,_0x2768c6=_0x1079c0;return _0x3dfb4a?.[_0x47871f(0x12b)]&&(_0x51be52=this[_0x47871f(0x106)](_0x3dfb4a[_0x47871f(0x12b)][_0x47871f(0x158)]),_0x2768c6=new Date(_0x3dfb4a[_0x47871f(0x12b)][_0x47871f(0x166)])),new Comment(this,{'threadId':_0x567505,'id':_0x5a0251,'author':_0x51be52||_0x4c6126,'creator':_0x4c6126,'content':_0x111102,'createdAt':_0x1079c0,'authoredAt':_0x2768c6,'attributes':_0x3dfb4a});}[_0x270e88(0x14f)](_0x3f3896){const _0x4160bd=_0x270e88;let {threadId:_0x4b9332,content:_0x56f874,attributes:_0x5efb0e,isFromAdapter:_0x23ea49}=_0x3f3896;const _0x1aeb33=this[_0x4160bd(0x1b7)](_0x3f3896[_0x4160bd(0x180)]);if(!_0x1aeb33)throw new _0x4fb8c8(_0x4160bd(0x1c8),this);const _0x208f51=this[_0x4160bd(0x1d6)](_0x3f3896),{id:_0x5d9d02}=_0x208f51;if(_0x1aeb33[_0x4160bd(0x140)](_0x208f51),_0x23ea49||!this[_0x4160bd(0x199)]||_0x4160bd(0x148)!=typeof this[_0x4160bd(0x199)][_0x4160bd(0x1d1)]||!_0x1aeb33[_0x4160bd(0x1e1)])return Promise[_0x4160bd(0x1c0)]();const _0x1c992f=this[_0x4160bd(0x172)][_0x4160bd(0x177)][_0x4160bd(0x18e)](_0x4160bd(0x1a8)),{channelId:_0x37490c}=_0x1aeb33,_0x36809d=_0x1c992f[_0x4160bd(0x18c)](_0x23d0b9(this[_0x4160bd(0x172)][_0x4160bd(0x139)],_0x4160bd(0x1cd)));return _0x5efb0e||(_0x5efb0e={}),this[_0x4160bd(0x199)][_0x4160bd(0x1d1)]({'channelId':_0x37490c,'threadId':_0x4b9332,'commentId':_0x5d9d02,'content':_0x56f874,'attributes':_0x5efb0e})[_0x4160bd(0x17b)](_0x4db932=>{const _0x1b2446=_0x4160bd;_0x1c992f[_0x1b2446(0x16c)](_0x36809d),_0x4db932&&this[_0x1b2446(0x162)]({'channelId':_0x37490c,'threadId':_0x4b9332,'commentId':_0x5d9d02,'createdAt':_0x4db932[_0x1b2446(0x166)],'isFromAdapter':!0x0});})[_0x4160bd(0x12c)](_0x3f0692=>{const _0x5abba5=_0x4160bd;throw console[_0x5abba5(0x13a)](_0x3f0692),new _0x4fb8c8(_0x5abba5(0x181),this);});}[_0x270e88(0x162)]({threadId:_0x4ddf93,commentId:_0x28b6f7,content:_0x1b0517,createdAt:_0x29b45b,attributes:_0x338470,isFromAdapter:_0x254489}){const _0x2d8daa=_0x270e88;if(void 0x0!==_0x1b0517&&(_0x2d8daa(0x18d)!=typeof _0x1b0517||!_0x1b0517[_0x2d8daa(0x118)]()[_0x2d8daa(0x135)]))throw new _0x4fb8c8(_0x2d8daa(0x1a9));const _0x435986=this[_0x2d8daa(0x1b7)](_0x4ddf93),_0x499502=_0x435986[_0x2d8daa(0x142)](_0x28b6f7);if(!_0x499502)throw new _0x4fb8c8(_0x2d8daa(0x137),this);let _0x2b702a=!0x1;if(_0x1b0517&&_0x1b0517!==_0x499502[_0x2d8daa(0x173)]&&(_0x499502[_0x2d8daa(0x1d4)]||_0x254489)&&(_0x499502[_0x2d8daa(0x173)]=_0x1b0517,_0x2b702a=!0x0),_0x29b45b&&_0x29b45b!==_0x499502[_0x2d8daa(0x166)]&&(_0x499502[_0x2d8daa(0x166)]=_0x29b45b,_0x499502[_0x2d8daa(0x11c)]&&_0x499502[_0x2d8daa(0x11c)][_0x2d8daa(0x12b)]||(_0x499502[_0x2d8daa(0x129)]=_0x29b45b),_0x2b702a=!0x0),_0x338470&&!_0x1b0cf7(_0x338470,_0x499502[_0x2d8daa(0x11c)])&&(_0x499502[_0x2d8daa(0x11c)]=_0x338470,_0x2b702a=!0x0),!_0x2b702a)return Promise[_0x2d8daa(0x1c0)]();if(_0x435986[_0x2d8daa(0x17d)](_0x2d8daa(0x189)),_0x254489||!this[_0x2d8daa(0x199)]||_0x2d8daa(0x148)!=typeof this[_0x2d8daa(0x199)][_0x2d8daa(0x163)])return Promise[_0x2d8daa(0x1c0)]();const _0x7cc72c=this[_0x2d8daa(0x172)][_0x2d8daa(0x177)][_0x2d8daa(0x18e)](_0x2d8daa(0x1a8)),{channelId:_0x1e8e5}=this[_0x2d8daa(0x1b7)](_0x499502[_0x2d8daa(0x180)]),_0x29b091=_0x7cc72c[_0x2d8daa(0x18c)](_0x23d0b9(this[_0x2d8daa(0x172)][_0x2d8daa(0x139)],_0x2d8daa(0x1cd)));return this[_0x2d8daa(0x199)][_0x2d8daa(0x163)]({'channelId':_0x1e8e5,'threadId':_0x4ddf93,'commentId':_0x28b6f7,'content':_0x1b0517,'attributes':_0x338470})[_0x2d8daa(0x17b)](()=>_0x7cc72c[_0x2d8daa(0x16c)](_0x29b091))[_0x2d8daa(0x12c)](_0x4e9fb9=>{const _0x59f761=_0x2d8daa;throw console[_0x59f761(0x13a)](_0x4e9fb9),new _0x4fb8c8(_0x59f761(0x12e),this);});}[_0x270e88(0x1bb)]({threadId:_0x59acdc,commentId:_0x4f0dd3,isFromAdapter:_0x1f3aa2}){const _0x5106dd=_0x270e88,_0x4d3b5d=this[_0x5106dd(0x1b7)](_0x59acdc),_0x87700e=_0x4d3b5d[_0x5106dd(0x142)](_0x4f0dd3);if(!_0x87700e)throw new _0x4fb8c8(_0x5106dd(0x19a),this);if(_0x4d3b5d[_0x5106dd(0x1ad)](_0x87700e),_0x1f3aa2||!this[_0x5106dd(0x199)]||_0x5106dd(0x148)!=typeof this[_0x5106dd(0x199)][_0x5106dd(0x192)])return Promise[_0x5106dd(0x1c0)]();const _0x2276bb=this[_0x5106dd(0x172)][_0x5106dd(0x177)][_0x5106dd(0x18e)](_0x5106dd(0x1a8)),{channelId:_0x3d6041}=_0x4d3b5d,_0x247231=_0x2276bb[_0x5106dd(0x18c)](_0x23d0b9(this[_0x5106dd(0x172)][_0x5106dd(0x139)],_0x5106dd(0x1cd)));return this[_0x5106dd(0x199)][_0x5106dd(0x192)]({'channelId':_0x3d6041,'threadId':_0x59acdc,'commentId':_0x4f0dd3})[_0x5106dd(0x17b)](()=>_0x2276bb[_0x5106dd(0x16c)](_0x247231))[_0x5106dd(0x12c)](_0x47a2be=>{const _0x56f830=_0x5106dd;throw console[_0x56f830(0x13a)](_0x47a2be),new _0x4fb8c8(_0x56f830(0x15d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x4adffa=_0x14d0;(function(_0x2cef47,_0xa45055){const _0x590e7a=_0x14d0,_0x4a9d7b=_0x2cef47();while(!![]){try{const _0x156468=-parseInt(_0x590e7a(0x14b))/0x1+-parseInt(_0x590e7a(0x17b))/0x2+-parseInt(_0x590e7a(0x169))/0x3*(parseInt(_0x590e7a(0xae))/0x4)+parseInt(_0x590e7a(0x12d))/0x5+-parseInt(_0x590e7a(0x135))/0x6*(parseInt(_0x590e7a(0x128))/0x7)+parseInt(_0x590e7a(0x13f))/0x8*(-parseInt(_0x590e7a(0xfd))/0x9)+parseInt(_0x590e7a(0x140))/0xa;if(_0x156468===_0xa45055)break;else _0x4a9d7b['push'](_0x4a9d7b['shift']());}catch(_0x25f62a){_0x4a9d7b['push'](_0x4a9d7b['shift']());}}}(_0x4aad,0xc5a7f));import{PendingActions as _0x5b9364,ContextPlugin as _0x25a1a0,Editor as _0x37ccae}from'ckeditor5/src/core.js';import{Collection as _0x2a73e2,uid as _0x31b50e,CKEditorError as _0x5e1c4c,ObservableMixin as _0x1fbe5d}from'ckeditor5/src/utils.js';function _0x14d0(_0x4125be,_0x15bcf1){const _0x4aad0a=_0x4aad();return _0x14d0=function(_0x14d00,_0x248fad){_0x14d00=_0x14d00-0x9b;let _0x3fff5d=_0x4aad0a[_0x14d00];return _0x3fff5d;},_0x14d0(_0x4125be,_0x15bcf1);}import{getDateTimeFormatter as _0x4c020a,hashObject as _0x57e840,Users as _0xca05b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x549f80,isEqual as _0x247e95,set as _0x1419cf,unset as _0x134106}from'es-toolkit/compat';import{CommentThreadController as _0x22bb7d}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x374576}from'./ui/view/commentthreadview.js';import{CommentView as _0x3b6215}from'./ui/view/commentview.js';import{getTranslation as _0x4f5b68}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4454a0}from'../annotations/view/annotationview.js';import{Annotation as _0x327695}from'../annotations/annotation.js';import{Annotations as _0x1d508d}from'../annotations/annotations.js';const _t=Symbol(_0x4adffa(0x9b)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};function _0x4aad(){const _0x4066a2=['getIndex','CommentThreadView','24669mwOWJN','@external','_adapter','stopListening','commentsrepository-active-not-attached','textContent','activate','define','getCommentThread','commentThreadInputView','innerHTML','commentsrepository-update-comment-internal-error','comments.maxThreadTotalWeight','_isAttached','_updateComment','_detachCommentThread','commentInputView','getTime','adapter','reduce','isPremiumPlugin','submit','map','removeCommentThread','_threadToController','length','bind','requires','comment','warn','commentsrepository-invalid-comment-thread-id','_removeActiveAnnotation','commentsrepository-add-comment-user-not-exists','once','resolvedBy','innerView','addComment','weight','isExternal','hasCommentThread','add','commentsrepository-active-missing-comment-thread','function','7XJgeiv','commentsrepository-remove-comment-missing-comment-thread','filter','change:_readOnlyChannels','licenseKey','1125730bcsqmq','threadId','resolveCommentThread','updateComment','commentsrepository-attach-missing-comment-thread','assign','toJSON','error','7809036EgiceU','commentsrepository-remove-missing-comment-thread','type','modifyAll','removeComment','isEditable','canComment','setActiveCommentThread','deactivateAll','submitCommentThread','2504IflcBZ','58494700UHLtTw','commentsrepository-invalid-comment-content','CommentsRepository','_attachCommentThread','authorName','change:isDirty','setContext','updateCommentThread','commentsrepository-reopen-comment-thread','_permissions','commentsrepository-update-missing-comment','1450246dhvrue','getCommentThreadForAnnotation','comments.CommentThreadView','commentsrepository-invalid-comment-authorid','_update','delete','createElement','max','comments.editorConfig','setUnlinkedAt','_removeCommentThread','commentsrepository-remove-missing-comment','getByInnerView','commentsrepository-resolve-comment-thread-internal-error','find','commentsrepository-duplicated-comment-thread-id','bodyCollectionContainer','push','commentId','reopenCommentThread','_resolveCommentThread','isAttached','from','commentsrepository-missing-thread-and-adapter-method','then','commentsrepository-add-comment-to-missing-comment-thread','_bindAnnotationToEditors','change:authoredAt','resolvedAt','content','2531682pJOBCa','_updateActiveAnnotation','openNewCommentThread','refreshVisibility','commentsrepository-add-comment-internal-error','addUser','fetchCommentThread','getPermissions','getUser','removeAttribute','commentsrepository-missing-target','destroy','init','isOfficialPlugin','string','commentsrepository-reopen-comment-thread-internal-error','commentsrepository-invalid-commentid','unlinkedAt','1622876nDHEYK','comments.maxCommentsWhenCollapsed','createdAt','setAttribute','focus','_reopenCommentThread','_isSubmitted','pluginName','noChannel','commentsrepository-resolved-comment-thread','isReadOnly','_viewToController','_readOnlyChannels','creator','_remove','_submitCommentThread','getComment','_hasTargetInContent','change:_permissions','getAnnotationForCommentThread','activeCommentThread','context','div','reopen','escape','archivedAt','isSubmitted','4QYAJVQ','createCommentThreadController','comments.copyMarkers','focusTracker','change:activeAnnotations','editorReady','commentsrepository-get-comment-invalid-id','attachTo','commentsrepository-adapter-already-set','_getExternalAuthor','_unbindEditors','isVisible','comments','config','set','_createCommentThreadView','comments.CommentView','has','author','commentsrepository-missing-comment-thread','admin','_addComment','plugins','highest','commentsrepository-update-comment-thread-internal-error','PENDING_ACTION_COMMENT_THREAD','setPermissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-update-comment-invalid-content','model','authoredAt','_removeComment','update','_add','write','lowest','values','isDirty','_updateCommentThread','getCommentThreads','_findOptimalIndex','commentsrepository-add-comment-thread-internal-error','CommentView','commentsrepository-remove-comment-internal-error','isRemovable','get','comments.maxCommentCharsWhenCollapsed','_createNewComment','isResolvable','remove','isActive','commentsrepository-update-comment-missing-comment-thread','isResolved','body','channelId','commentsrepository-fetch-comment-thread','attributes','addCommentThread','fire','external:','resolve','_repository','locale','_threads','commentsrepository-remove-comment-thread-internal-error','commentsListView','switchReadOnly','commentUpdated','listenTo','editorDestroyed','focusableElements','_addCommentThread','isFromAdapter','PendingActions','catch','trim','view'];_0x4aad=function(){return _0x4066a2;};return _0x4aad();}export class CommentsRepository extends _0x25a1a0{[_0x4adffa(0xed)];[_0x4adffa(0x115)];[_0x4adffa(0x9e)];static get[_0x4adffa(0x118)](){return[_0x1d508d,_0x5b9364,_0xca05b9];}static get[_0x4adffa(0x182)](){const _0x74678f=_0x4adffa;return _0x74678f(0x142);}static get[_0x4adffa(0x176)](){return!0x0;}static get[_0x4adffa(0x111)](){return!0x0;}constructor(_0x57f1b9){const _0x333f72=_0x4adffa;super(_0x57f1b9),this[_0x333f72(0xed)]=new Map(),this[_0x333f72(0x115)]=new Map(),this[_0x333f72(0x9e)]=new Map(),this[_0x333f72(0xbc)](_0x333f72(0x9f),new Set()),this[_0x333f72(0xbc)](_0x333f72(0x149),new Map());const _0x522c22=this[_0x333f72(0xa8)][_0x333f72(0xbb)];_0x522c22[_0x333f72(0x104)](_0x333f72(0x17c),0x2),_0x522c22[_0x333f72(0x104)](_0x333f72(0x109),0x1f4),_0x522c22[_0x333f72(0x104)](_0x333f72(0xdc),0x8c),_0x522c22[_0x333f72(0x104)](_0x333f72(0x14d),_0x374576),_0x522c22[_0x333f72(0x104)](_0x333f72(0xbe),_0x3b6215),_0x522c22[_0x333f72(0xdb)](_0x333f72(0x153))||console[_0x333f72(0x11a)](_0x333f72(0xc9));}[_0x4adffa(0x175)](){const _0x4888d9=_0x4adffa,_0x11ff27=this[_0x4888d9(0xa8)][_0x4888d9(0xc4)][_0x4888d9(0xdb)](_0x1d508d);this[_0x4888d9(0xbc)](_0x4888d9(0xa7),null),this['on'](_0x4888d9(0xe7),(_0x361fcd,_0x291895)=>this[_0x4888d9(0xf5)](_0x291895)),this['on'](_0x4888d9(0x13e),(_0x21f53f,_0x3568c5)=>this[_0x4888d9(0xa2)](_0x3568c5)),this['on'](_0x4888d9(0x12f),(_0x581cfa,_0x234525)=>this[_0x4888d9(0x15f)](_0x234525)),this['on'](_0x4888d9(0x12f),(_0x3328fe,_0x217fa0)=>this[_0x4888d9(0x16a)](_0x217fa0),{'priority':_0x4888d9(0xd1)}),this['on'](_0x4888d9(0x15e),(_0x4e9fc2,_0x19a07d)=>this[_0x4888d9(0x180)](_0x19a07d)),this['on'](_0x4888d9(0x15e),(_0x350f7c,_0x41e32f)=>this[_0x4888d9(0x16a)](_0x41e32f),{'priority':_0x4888d9(0xd1)}),this['on'](_0x4888d9(0x114),(_0x4b42c9,_0x294858)=>this[_0x4888d9(0x155)](_0x294858)),this['on'](_0x4888d9(0x147),(_0x316980,_0x44d0c9)=>this[_0x4888d9(0xd4)](_0x44d0c9)),this['on'](_0x4888d9(0x147),(_0x3e363b,_0x3bd50c)=>this[_0x4888d9(0x16a)](_0x3bd50c),{'priority':_0x4888d9(0xd1)}),this['on'](_0x4888d9(0x121),(_0xba51cf,_0x5472ee)=>this[_0x4888d9(0xc3)](_0x5472ee)),this['on'](_0x4888d9(0x130),(_0x20e118,_0x237526)=>this[_0x4888d9(0x10b)](_0x237526)),this['on'](_0x4888d9(0x139),(_0x40b218,_0x34a0b8)=>this[_0x4888d9(0xcd)](_0x34a0b8)),this['on'](_0x4888d9(0x121),(_0x16bd04,{threadId:_0x1df3a3,isFromAdapter:_0x2e6385})=>{const _0x3f4702=_0x4888d9;if(_0x2e6385)return;const _0x4b392b=this[_0x3f4702(0x105)](_0x1df3a3),_0xfd8dd=_0x4b392b&&this[_0x3f4702(0x115)][_0x3f4702(0xdb)](_0x4b392b);_0xfd8dd&&_0xfd8dd[_0x3f4702(0xfa)][_0x3f4702(0xef)][_0x3f4702(0x17f)](-0x1);},{'priority':_0x4888d9(0xd1)}),this[_0x4888d9(0xf2)](_0x11ff27,_0x4888d9(0xb2),(_0x3d2185,_0x2e6273,_0x2d5f91)=>{const _0x711513=_0x4888d9,_0x1a5fe4=Array[_0x711513(0x161)](_0x2d5f91)[_0x711513(0x113)](_0x46800d=>this[_0x711513(0x9e)][_0x711513(0xdb)](_0x46800d[_0x711513(0x120)]))[_0x711513(0x12a)](Boolean)[0x0];this[_0x711513(0xa7)]=_0x1a5fe4?_0x1a5fe4[_0x711513(0xcb)]:null;});}set[_0x4adffa(0x10f)](_0x49dd18){const _0x1df365=_0x4adffa;if(this[_0x1df365(0xff)])throw new _0x5e1c4c(_0x1df365(0xb6));this[_0x1df365(0xff)]=_0x49dd18;}get[_0x4adffa(0x10f)](){const _0xe0c54=_0x4adffa;return this[_0xe0c54(0xff)];}[_0x4adffa(0xe7)]({channelId:_0x3100da=_t,threadId:_0x2c5219=_0x31b50e(),comments:_0x4b47fe=[],unlinkedAt:_0x53916c=null,resolvedAt:_0x333628=null,resolvedBy:_0x33e92b=null,target:_0x59dfbd=null,context:_0x246fef=null,attributes:_0x41e694={},isResolvable:_0x4ad99c=!0x0,isSubmitted:_0xd764d=!0x1,isFromAdapter:_0x216ff8=!0x1}={}){const _0x590d25=_0x4adffa;return this[_0x590d25(0xe8)](Nt(_0x590d25(0xe7),_0x3100da),{'channelId':_0x3100da,'threadId':_0x2c5219,'comments':_0x4b47fe,'unlinkedAt':_0x53916c,'resolvedAt':_0x333628,'resolvedBy':_0x33e92b,'target':_0x59dfbd,'context':_0x246fef,'attributes':_0x41e694,'isFromAdapter':_0x216ff8,'isResolvable':_0x4ad99c,'isSubmitted':_0xd764d}),this[_0x590d25(0x105)](_0x2c5219);}[_0x4adffa(0x16b)]({channelId:_0x292859=_t,threadId:_0x1983a2=_0x31b50e(),target:_0x5a2283,context:_0x35b81a=null,isResolvable:_0x14ae7b=!0x0}){const _0x356020=_0x4adffa;if(this[_0x356020(0x9f)][_0x356020(0xbf)](_0x292859)||this[_0x356020(0x9f)][_0x356020(0xbf)](void 0x0))return null;if(!_0x5a2283)throw new _0x5e1c4c(_0x356020(0x173));const _0x4068a3=this[_0x356020(0xe7)]({'channelId':_0x292859,'threadId':_0x1983a2,'target':_0x5a2283,'context':_0x35b81a,'isResolvable':_0x14ae7b});if(!_0x4068a3)return null;const _0x1d7640=this[_0x356020(0x115)][_0x356020(0xdb)](_0x4068a3),_0x4568b9=_0x1d7640[_0x356020(0xfa)][_0x356020(0x106)][_0x356020(0x10d)],_0x262a1f=this[_0x356020(0xa8)][_0x356020(0xc4)][_0x356020(0xdb)](_0x1d508d),_0x677556=_0x262a1f[_0x356020(0x157)](_0x1d7640[_0x356020(0xfa)]);return _0x262a1f[_0x356020(0x103)](_0x677556),_0x4568b9[_0x356020(0x11e)](_0x356020(0xb3),()=>_0x4568b9[_0x356020(0x17f)]()),_0x4068a3;}[_0x4adffa(0x124)](_0x530c8f){const _0x187b77=_0x4adffa;if(_0x187b77(0x177)!=typeof _0x530c8f)throw new _0x5e1c4c(_0x187b77(0x11b));return this[_0x187b77(0xed)][_0x187b77(0xbf)](_0x530c8f);}[_0x4adffa(0x147)]({channelId:_0xfb586c=_t,threadId:_0x54942c,context:_0x239b8b,unlinkedAt:_0x3daa64,attributes:_0x41061a,isFromAdapter:_0x4b7136=!0x1}){const _0x38ecfd=_0x4adffa;return this[_0x38ecfd(0xe8)](Nt(_0x38ecfd(0x147),_0xfb586c),{'channelId':_0xfb586c,'threadId':_0x54942c,'context':_0x239b8b,'unlinkedAt':_0x3daa64,'attributes':_0x41061a,'isFromAdapter':_0x4b7136}),this[_0x38ecfd(0x105)](_0x54942c);}[_0x4adffa(0x105)](_0x2ab29e){const _0x1d1814=_0x4adffa;if(_0x1d1814(0x177)!=typeof _0x2ab29e)throw new _0x5e1c4c(_0x1d1814(0x11b));return this[_0x1d1814(0xed)][_0x1d1814(0xdb)](_0x2ab29e);}[_0x4adffa(0x16f)]({channelId:_0x1b4556,threadId:_0x295aa8}={}){const _0x972d2=_0x4adffa,_0x265b15=this[_0x972d2(0x105)](_0x295aa8);if(_0x265b15)return Promise[_0x972d2(0xea)](_0x265b15);if(!this[_0x972d2(0x10f)])return Promise[_0x972d2(0xea)](void 0x0);if(_0x972d2(0x127)!=typeof this[_0x972d2(0x10f)][_0x972d2(0x105)])throw new _0x5e1c4c(_0x972d2(0x162),this[_0x972d2(0xa8)]);return this[_0x972d2(0x10f)][_0x972d2(0x105)]({'channelId':_0x1b4556,'threadId':_0x295aa8})[_0x972d2(0x163)](_0x4871eb=>this[_0x972d2(0x124)](_0x295aa8)?this[_0x972d2(0x105)](_0x295aa8):_0x4871eb?this[_0x972d2(0xe7)](Object[_0x972d2(0x132)]({'isFromAdapter':!0x0,'channelId':_0x1b4556},_0x4871eb)):void 0x0)[_0x972d2(0xf8)](_0x2c7b9e=>{const _0x5f267b=_0x972d2;throw console[_0x5f267b(0x134)](_0x2c7b9e),new _0x5e1c4c(_0x5f267b(0xe5),this[_0x5f267b(0xa8)]);});}[_0x4adffa(0xd5)]({channelId:_0x2f7832,skipNotAttached:_0x4519c8=!0x1,skipEmpty:_0x298b79=!0x1,toJSON:_0x174ea8=!0x1}={}){const _0x1f78a6=_0x4adffa,_0x5c590f=[];for(const _0x260be1 of this[_0x1f78a6(0xed)][_0x1f78a6(0xd2)]())_0x2f7832&&_0x260be1[_0x1f78a6(0xe4)]!==_0x2f7832||_0x4519c8&&!_0x260be1[_0x1f78a6(0x160)]||_0x298b79&&0x0===_0x260be1[_0x1f78a6(0x116)]||_0x5c590f[_0x1f78a6(0x15c)](_0x260be1);return _0x174ea8?_0x5c590f[_0x1f78a6(0x113)](_0x2fbbec=>_0x2fbbec[_0x1f78a6(0x133)]()):_0x5c590f;}[_0x4adffa(0xa6)](_0x533214){const _0x758db9=_0x4adffa,_0x4bfec6=this[_0x758db9(0x115)][_0x758db9(0xdb)](_0x533214);if(!_0x4bfec6)return null;return this[_0x758db9(0xa8)][_0x758db9(0xc4)][_0x758db9(0xdb)](_0x1d508d)[_0x758db9(0x157)](_0x4bfec6[_0x758db9(0xfa)])||null;}[_0x4adffa(0x14c)](_0x2e4055){const _0x38b8bd=_0x4adffa,_0x48ae62=this[_0x38b8bd(0x9e)][_0x38b8bd(0xdb)](_0x2e4055[_0x38b8bd(0x120)]);return _0x48ae62?_0x48ae62[_0x38b8bd(0xcb)]:null;}[_0x4adffa(0x13c)](_0x25f4f4){const _0x40c90f=_0x4adffa,_0x3a345b=this[_0x40c90f(0xa8)][_0x40c90f(0xc4)][_0x40c90f(0xdb)](_0x1d508d);if(!_0x25f4f4)return void(this[_0x40c90f(0xa7)]&&_0x3a345b[_0x40c90f(0x13d)]());const _0x31e06a=this[_0x40c90f(0x105)](_0x25f4f4);if(!_0x31e06a)throw new _0x5e1c4c(_0x40c90f(0x126),null,{'threadId':_0x25f4f4});if(!this[_0x40c90f(0x115)][_0x40c90f(0xbf)](_0x31e06a))throw new _0x5e1c4c(_0x40c90f(0x101),null,{'threadId':_0x25f4f4});const _0x23c9fe=_0x3a345b[_0x40c90f(0x157)](this[_0x40c90f(0x115)][_0x40c90f(0xdb)](_0x31e06a)[_0x40c90f(0xfa)]);_0x3a345b[_0x40c90f(0x103)](_0x23c9fe);}[_0x4adffa(0xf0)](_0x340b01,_0xa177ed){const _0x1292c9=_0x4adffa;_0x340b01?this[_0x1292c9(0x9f)][_0x1292c9(0x125)](_0xa177ed):this[_0x1292c9(0x9f)][_0x1292c9(0x150)](_0xa177ed),this[_0x1292c9(0xe8)](_0x1292c9(0x12b),_0x1292c9(0x9f),this[_0x1292c9(0x9f)],this[_0x1292c9(0x9f)]);}[_0x4adffa(0x9d)](_0x20f08a){const _0x3ea2d6=_0x4adffa;return this[_0x3ea2d6(0x9f)][_0x3ea2d6(0xbf)](_0x20f08a)||this[_0x3ea2d6(0x9f)][_0x3ea2d6(0xbf)](void 0x0);}[_0x4adffa(0xaf)](_0x13158e,_0x1152de){return new _0x22bb7d(_0x13158e,_0x1152de);}[_0x4adffa(0xc8)](_0x51fc2a,_0x26d73f=_t){const _0x254abd=_0x4adffa;this[_0x254abd(0x149)][_0x254abd(0xbc)](_0x26d73f,_0x51fc2a),this[_0x254abd(0xe8)](_0x254abd(0xa5),_0x254abd(0x149),this[_0x254abd(0x149)],this[_0x254abd(0x149)]);}[_0x4adffa(0x170)](_0x4e65c7=_t){const _0x170d9b=_0x4adffa;return this[_0x170d9b(0x149)][_0x170d9b(0xbf)](_0x4e65c7)?this[_0x170d9b(0x149)][_0x170d9b(0xdb)](_0x4e65c7):bt;}[_0x4adffa(0xf5)]({channelId:_0x255e2d,threadId:_0x2f3594,comments:_0xc87fae,unlinkedAt:_0x38ea4f,resolvedAt:_0x1cdf27,resolvedBy:_0x50189b,target:_0x1d6e94,context:_0x1c3133,attributes:_0xc2655c,isFromAdapter:_0xca2374,isResolvable:_0x53d47b,isSubmitted:_0x5c3cbb}){const _0x58a452=_0x4adffa;if(_0x58a452(0x177)!=typeof _0x2f3594)throw new _0x5e1c4c(_0x58a452(0x11b),null,{'threadId':_0x2f3594});if(this[_0x58a452(0x124)](_0x2f3594))throw new _0x5e1c4c(_0x58a452(0x15a),null,{'threadId':_0x2f3594});const _0x2607b2=new CommentThread(this,{'channelId':_0x255e2d,'id':_0x2f3594,'context':_0x1c3133,'attributes':_0xc2655c,'unlinkedAt':_0x38ea4f,'resolvedAt':_0x1cdf27,'resolvedBy':_0x50189b?this[_0x58a452(0xa8)][_0x58a452(0xc4)][_0x58a452(0xdb)](_0xca05b9)[_0x58a452(0x171)](_0x50189b):null,'isResolvable':_0x53d47b,'isSubmitted':_0x5c3cbb||_0xca2374});this[_0x58a452(0xed)][_0x58a452(0xbc)](_0x2f3594,_0x2607b2);for(const _0x1b0878 of _0xc87fae)_0x2607b2[_0x58a452(0xcf)](this[_0x58a452(0xdd)]({'threadId':_0x2f3594,..._0x1b0878}));return _0x1d6e94&&_0x2607b2[_0x58a452(0xb5)](_0x1d6e94),_0xca2374||!_0x2607b2[_0x58a452(0x116)]?Promise[_0x58a452(0xea)]():this[_0x58a452(0xa2)]({'channelId':_0x255e2d,'threadId':_0x2f3594});}[_0x4adffa(0xa2)]({channelId:_0xa9ffc3,threadId:_0x75b427}){const _0x24d077=_0x4adffa;if(!this[_0x24d077(0x124)](_0x75b427))throw new _0x5e1c4c(_0x24d077(0xc1),this);const _0x6fd812=this[_0x24d077(0x105)](_0x75b427);if(_0x6fd812[_0x24d077(0x181)]=!0x0,!this[_0x24d077(0x10f)]||_0x24d077(0x127)!=typeof this[_0x24d077(0x10f)][_0x24d077(0xe7)])return Promise[_0x24d077(0xea)]();const {id:_0x1d5a51,comments:_0x280112,resolvedAt:_0x12c8e2,resolvedBy:_0x3b19d9,context:_0x171357,attributes:_0x1bf04a}=_0x6fd812,_0x21ed32=this[_0x24d077(0xa8)][_0x24d077(0xc4)][_0x24d077(0xdb)](_0x24d077(0xf7)),_0x7d4661=_0x21ed32[_0x24d077(0x125)](_0x4f5b68(this[_0x24d077(0xa8)][_0x24d077(0xec)],_0x24d077(0xc7)));return this[_0x24d077(0x10f)][_0x24d077(0xe7)]({'channelId':_0xa9ffc3,'threadId':_0x1d5a51,'comments':_0x280112[_0x24d077(0x113)](_0xda13da=>_0xda13da[_0x24d077(0x133)]()),'resolvedAt':_0x12c8e2,'resolvedBy':_0x3b19d9?_0x3b19d9['id']:_0x3b19d9,'context':_0x171357,'attributes':_0x1bf04a})[_0x24d077(0x163)](({comments:_0x192dcb})=>{const _0x1a171f=_0x24d077;_0x21ed32[_0x1a171f(0xdf)](_0x7d4661);for(const _0x3fb0ac of _0x192dcb)this[_0x1a171f(0x10b)]({'channelId':_0xa9ffc3,'threadId':_0x75b427,'commentId':_0x3fb0ac[_0x1a171f(0x15d)],'createdAt':_0x3fb0ac[_0x1a171f(0x17d)],'isFromAdapter':!0x0});})[_0x24d077(0xf8)](_0x1a05d9=>{const _0x502800=_0x24d077;throw console[_0x502800(0x134)](_0x1a05d9),new _0x5e1c4c(_0x502800(0xd7),this);});}[_0x4adffa(0x143)]({threadId:_0x1a4e17,target:_0x7f32a}){const _0x209aba=_0x4adffa,_0x490aca=this[_0x209aba(0x105)](_0x1a4e17);if(!_0x490aca)throw new _0x5e1c4c(_0x209aba(0x131),this);const _0x3446c8=this[_0x209aba(0xa8)][_0x209aba(0xc4)][_0x209aba(0xdb)](_0x209aba(0xf7)),_0x13fcc5=this[_0x209aba(0xa8)][_0x209aba(0xc4)][_0x209aba(0xdb)](_0x1d508d),_0x4cbb37=this[_0x209aba(0xbd)](_0x490aca),_0x5f3fc9=new _0x22bb7d(_0x490aca,_0x4cbb37);let _0x101a1c=null;_0x4cbb37['on'](_0x209aba(0x145),(_0x1f2c3e,_0x28c8fe,_0x3e18b5)=>{const _0x289966=_0x209aba;_0x3e18b5?_0x101a1c=_0x3446c8[_0x289966(0x125)](_0x4f5b68(this[_0x289966(0xa8)][_0x289966(0xec)],_0x289966(0xc7))):_0x101a1c&&(_0x3446c8[_0x289966(0xdf)](_0x101a1c),_0x101a1c=null);}),this[_0x209aba(0x115)][_0x209aba(0xbc)](_0x490aca,_0x5f3fc9),this[_0x209aba(0x9e)][_0x209aba(0xbc)](_0x4cbb37,_0x5f3fc9);const _0x1a2ebf=new _0x4454a0(this[_0x209aba(0xa8)][_0x209aba(0xec)],_0x4cbb37);_0x1a2ebf[_0x209aba(0x117)](_0x209aba(0x116))['to'](_0x4cbb37),_0x1a2ebf[_0x209aba(0x117)](_0x209aba(0xd3))['to'](_0x4cbb37,_0x209aba(0xd3),_0x4cbb37,_0x209aba(0x116),(_0x4d381f,_0x91cc78)=>_0x4d381f||!_0x91cc78),_0x1a2ebf[_0x209aba(0x117)](_0x209aba(0xe0))['to'](_0x4cbb37),_0x1a2ebf[_0x209aba(0x137)]=_0x209aba(0x119);const _0x55d2b4=new _0x327695({'view':_0x1a2ebf,'target':_0x7f32a,'type':_0x209aba(0x119),'isVisible':!_0x490aca[_0x209aba(0xac)]&&!!(_0x209aba(0x127)==typeof _0x7f32a?_0x7f32a():_0x7f32a)});return _0x4cbb37['on'](_0x209aba(0xab),()=>{const _0x37846d=_0x209aba;_0x55d2b4[_0x37846d(0xe8)](_0x37846d(0xab));}),this[_0x209aba(0x165)](_0x4cbb37,_0x55d2b4),_0x13fcc5[_0x209aba(0x125)](_0x55d2b4),_0x55d2b4;}[_0x4adffa(0x165)](_0x84a3c5,_0x4fe330){const _0x92431b=_0x4adffa;this[_0x92431b(0xf2)](_0x84a3c5,_0x92431b(0xb3),(_0x2e5cb4,_0x122bb5)=>{const _0x274eb5=_0x92431b,_0x510895=_0x122bb5['ui'][_0x274eb5(0xfa)][_0x274eb5(0xe3)][_0x274eb5(0x15b)];_0x4fe330[_0x274eb5(0xf4)][_0x274eb5(0x125)](_0x510895),this[_0x274eb5(0xa8)]instanceof _0x37ccae&&this[_0x274eb5(0xa8)]['ui'][_0x274eb5(0xb1)][_0x274eb5(0x125)](_0x510895);},{'priority':_0x92431b(0xc5)}),this[_0x92431b(0xf2)](_0x84a3c5,_0x92431b(0xf3),(_0x39b2ee,_0x1c501f)=>{const _0x2dd988=_0x92431b,_0x377ae2=_0x1c501f['ui'][_0x2dd988(0xfa)][_0x2dd988(0xe3)][_0x2dd988(0x15b)];_0x4fe330[_0x2dd988(0xf4)][_0x2dd988(0xbf)](_0x377ae2)&&_0x4fe330[_0x2dd988(0xf4)][_0x2dd988(0xdf)](_0x377ae2),this[_0x2dd988(0xa8)]instanceof _0x37ccae&&this[_0x2dd988(0xa8)]['ui'][_0x2dd988(0xb1)][_0x2dd988(0xdf)](_0x377ae2);});}[_0x4adffa(0xb8)](_0x1893ee){const _0xa9b252=_0x4adffa;this[_0xa9b252(0x100)](_0x1893ee,_0xa9b252(0xb3)),this[_0xa9b252(0x100)](_0x1893ee,_0xa9b252(0xf3));}[_0x4adffa(0xbd)](_0x3a87c6){const _0x1c9b9e=_0x4adffa,_0x389c90=this[_0x1c9b9e(0xa8)][_0x1c9b9e(0xc4)][_0x1c9b9e(0xdb)](_0xca05b9),{config:_0x367735,locale:_0x1b61ba}=this[_0x1c9b9e(0xa8)],_0x1b93db=_0x4c020a(_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0xec)),_0x1b61ba);return new(0x0,(_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0xba)))[(_0x1c9b9e(0xfc))])(_0x1b61ba,_0x3a87c6,_0x389c90['me'],{'editorConfig':{..._0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0x153)),'licenseKey':this[_0x1c9b9e(0xa8)][_0x1c9b9e(0xbb)][_0x1c9b9e(0xdb)](_0x1c9b9e(0x12c))},'copyMarkers':_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0xb0)),'maxCommentsWhenCollapsed':_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0x17c)),'maxThreadTotalWeight':_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0x109)),'maxCommentCharsWhenCollapsed':_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0xdc)),'formatDateTime':_0x1b93db,'CommentView':_0x367735[_0x1c9b9e(0xdb)](_0x1c9b9e(0xba))[_0x1c9b9e(0xd8)]});}[_0x4adffa(0x15f)]({threadId:_0x3918ea,channelId:_0x57684a,resolvedAt:_0x5f84d7,resolvedBy:_0x3805b0,isFromAdapter:_0x359938}){const _0x33b2b3=_0x4adffa;if(!this[_0x33b2b3(0x124)](_0x3918ea))throw new _0x5e1c4c(_0x33b2b3(0xc1),null,{'threadId':_0x3918ea});const _0x1bc058=this[_0x33b2b3(0x105)](_0x3918ea);if(_0x1bc058[_0x33b2b3(0xe2)])throw new _0x5e1c4c(_0x33b2b3(0x9c),null,{'threadId':_0x3918ea});const _0x54e18d=this[_0x33b2b3(0xa8)][_0x33b2b3(0xc4)][_0x33b2b3(0xdb)](_0xca05b9);if(_0x1bc058[_0x33b2b3(0x11f)]=_0x54e18d[_0x33b2b3(0x171)](_0x3805b0),_0x1bc058[_0x33b2b3(0x167)]=_0x5f84d7,_0x359938||!this[_0x33b2b3(0x10f)]||_0x33b2b3(0x127)!=typeof this[_0x33b2b3(0x10f)][_0x33b2b3(0x12f)])return Promise[_0x33b2b3(0xea)]();const _0x16a967=this[_0x33b2b3(0xa8)][_0x33b2b3(0xc4)][_0x33b2b3(0xdb)](_0x33b2b3(0xf7)),_0x4d5e3a=_0x16a967[_0x33b2b3(0x125)](_0x4f5b68(this[_0x33b2b3(0xa8)][_0x33b2b3(0xec)],_0x33b2b3(0xc7)));return this[_0x33b2b3(0x10f)][_0x33b2b3(0x12f)]({'channelId':_0x57684a,'threadId':_0x3918ea})[_0x33b2b3(0x163)](({resolvedAt:_0x4df7b4,resolvedBy:_0x35bb71})=>{const _0x22c57e=_0x33b2b3;_0x16a967[_0x22c57e(0xdf)](_0x4d5e3a),_0x1bc058[_0x22c57e(0x11f)]['id']!==_0x35bb71&&(_0x1bc058[_0x22c57e(0x11f)]=_0x54e18d[_0x22c57e(0x171)](_0x35bb71)),_0x1bc058[_0x22c57e(0x167)]=_0x4df7b4;})[_0x33b2b3(0xf8)](_0x4450ed=>{const _0x456805=_0x33b2b3;throw console[_0x456805(0x134)](_0x4450ed),new _0x5e1c4c(_0x456805(0x158),this);});}[_0x4adffa(0x180)]({threadId:_0x517242,channelId:_0x5c6194,isFromAdapter:_0x54149c}){const _0x523cdd=_0x4adffa;if(!this[_0x523cdd(0x124)](_0x517242))throw new _0x5e1c4c(_0x523cdd(0xc1),null,{'threadId':_0x517242});const _0x58b9fd=this[_0x523cdd(0x105)](_0x517242);if(!_0x58b9fd[_0x523cdd(0xe2)])throw new _0x5e1c4c(_0x523cdd(0x148),null,{'threadId':_0x517242});if(_0x58b9fd[_0x523cdd(0x11f)]=null,_0x58b9fd[_0x523cdd(0x167)]=null,_0x54149c||!this[_0x523cdd(0x10f)]||_0x523cdd(0x127)!=typeof this[_0x523cdd(0x10f)][_0x523cdd(0x15e)])return Promise[_0x523cdd(0xea)]();const _0x4e06cd=this[_0x523cdd(0xa8)][_0x523cdd(0xc4)][_0x523cdd(0xdb)](_0x523cdd(0xf7)),_0x1db506=_0x4e06cd[_0x523cdd(0x125)](_0x4f5b68(this[_0x523cdd(0xa8)][_0x523cdd(0xec)],_0x523cdd(0xc7)));return this[_0x523cdd(0x10f)][_0x523cdd(0x15e)]({'channelId':_0x5c6194,'threadId':_0x517242})[_0x523cdd(0x163)](()=>_0x4e06cd[_0x523cdd(0xdf)](_0x1db506))[_0x523cdd(0xf8)](_0x3babfd=>{const _0x78138=_0x523cdd;throw console[_0x78138(0x134)](_0x3babfd),new _0x5e1c4c(_0x78138(0x178),this);});}[_0x4adffa(0x155)]({threadId:_0x5e2f46,isFromAdapter:_0xa9a8a6}){const _0x18b448=_0x4adffa,_0x59ae14=this[_0x18b448(0x105)](_0x5e2f46);if(!_0x59ae14)throw new _0x5e1c4c(_0x18b448(0x136),this);if(this[_0x18b448(0x10c)](_0x5e2f46),this[_0x18b448(0xed)][_0x18b448(0x150)](_0x5e2f46),!_0x59ae14[_0x18b448(0xad)]||_0xa9a8a6||!this[_0x18b448(0x10f)]||_0x18b448(0x127)!=typeof this[_0x18b448(0x10f)][_0x18b448(0x114)])return Promise[_0x18b448(0xea)]();const _0x144125=this[_0x18b448(0xa8)][_0x18b448(0xc4)][_0x18b448(0xdb)](_0x18b448(0xf7)),{channelId:_0x4c90a5}=_0x59ae14,_0x2cd2eb=_0x144125[_0x18b448(0x125)](_0x4f5b68(this[_0x18b448(0xa8)][_0x18b448(0xec)],_0x18b448(0xc7)));return this[_0x18b448(0x10f)][_0x18b448(0x114)]({'channelId':_0x4c90a5,'threadId':_0x5e2f46})[_0x18b448(0x163)](()=>_0x144125[_0x18b448(0xdf)](_0x2cd2eb))[_0x18b448(0xf8)](_0x5e7564=>{const _0x56c680=_0x18b448;throw console[_0x56c680(0x134)](_0x5e7564),new _0x5e1c4c(_0x56c680(0xee),this);});}[_0x4adffa(0xd4)]({threadId:_0x4b0a48,unlinkedAt:_0x46e0b1,context:_0x5a427a,attributes:_0x5135c9,isFromAdapter:_0x5b9659}){const _0x4fb032=_0x4adffa;if(_0x4fb032(0x177)!=typeof _0x4b0a48)throw new _0x5e1c4c(_0x4fb032(0x11b),null,{'threadId':_0x4b0a48});if(!this[_0x4fb032(0x124)](_0x4b0a48))throw new _0x5e1c4c(_0x4fb032(0xc1),null,{'threadId':_0x4b0a48});const _0x451a42=this[_0x4fb032(0x105)](_0x4b0a48);let _0x2e8ff4=!0x1;if(void 0x0!==_0x5a427a&&_0x451a42[_0x4fb032(0xa8)]!==_0x5a427a&&(_0x451a42[_0x4fb032(0xa8)]=_0x5a427a,_0x2e8ff4=!0x0),void 0x0!==_0x46e0b1&&_0x451a42[_0x4fb032(0x17a)]!==_0x46e0b1&&(_0x451a42[_0x4fb032(0x17a)]=_0x46e0b1,_0x2e8ff4=!0x0),_0x5135c9&&!_0x247e95(_0x5135c9,_0x451a42[_0x4fb032(0xe6)])&&(_0x451a42[_0x4fb032(0xe6)]=_0x5135c9,_0x2e8ff4=!0x0),!_0x2e8ff4)return Promise[_0x4fb032(0xea)]();if(!_0x451a42[_0x4fb032(0xad)]||_0x5b9659||!this[_0x4fb032(0x10f)]||_0x4fb032(0x127)!=typeof this[_0x4fb032(0x10f)][_0x4fb032(0x147)])return Promise[_0x4fb032(0xea)]();const _0x1536fa=this[_0x4fb032(0xa8)][_0x4fb032(0xc4)][_0x4fb032(0xdb)](_0x4fb032(0xf7)),{channelId:_0x52b0f1}=_0x451a42,_0x313bfc=_0x1536fa[_0x4fb032(0x125)](_0x4f5b68(this[_0x4fb032(0xa8)][_0x4fb032(0xec)],_0x4fb032(0xc7)));return this[_0x4fb032(0x10f)][_0x4fb032(0x147)]({'channelId':_0x52b0f1,'threadId':_0x4b0a48,'context':_0x5a427a,'unlinkedAt':_0x46e0b1,'attributes':_0x5135c9})[_0x4fb032(0x163)](()=>_0x1536fa[_0x4fb032(0xdf)](_0x313bfc))[_0x4fb032(0xf8)](_0x70a5e6=>{const _0x11b2e4=_0x4fb032;throw console[_0x11b2e4(0x134)](_0x70a5e6),new _0x5e1c4c(_0x11b2e4(0xc6),this);});}[_0x4adffa(0x10c)](_0x484513){const _0x2f7bbd=_0x4adffa,_0x18dde6=this[_0x2f7bbd(0xa8)][_0x2f7bbd(0xc4)][_0x2f7bbd(0xdb)](_0x1d508d),_0x5d05aa=this[_0x2f7bbd(0x105)](_0x484513);if(_0x5d05aa[_0x2f7bbd(0x10a)]=!0x1,this[_0x2f7bbd(0x115)][_0x2f7bbd(0xbf)](_0x5d05aa)){const _0x327304=this[_0x2f7bbd(0x115)][_0x2f7bbd(0xdb)](_0x5d05aa),_0x3155d0=_0x327304[_0x2f7bbd(0xfa)],_0x1e0197=_0x18dde6[_0x2f7bbd(0x157)](_0x3155d0);this[_0x2f7bbd(0x115)][_0x2f7bbd(0x150)](_0x5d05aa),this[_0x2f7bbd(0x9e)][_0x2f7bbd(0x150)](_0x3155d0),_0x1e0197&&_0x18dde6[_0x2f7bbd(0xdf)](_0x1e0197),_0x327304[_0x2f7bbd(0x174)](),_0x3155d0[_0x2f7bbd(0x174)]()[_0x2f7bbd(0x163)](()=>{const _0x5ee734=_0x2f7bbd;this[_0x5ee734(0xb8)](_0x3155d0);});}}[_0x4adffa(0x16a)]({threadId:_0x30ef1a,resolvedAt:_0x4cb4df,unlinkedAt:_0x32969d}){const _0x1fd5e9=_0x4adffa,_0x4d4fb7=!!_0x4cb4df,_0x3349bf=this[_0x1fd5e9(0xa8)][_0x1fd5e9(0xc4)][_0x1fd5e9(0xdb)](_0x1d508d),_0x1bcb8a=this[_0x1fd5e9(0x105)](_0x30ef1a);if(this[_0x1fd5e9(0x115)][_0x1fd5e9(0xbf)](_0x1bcb8a)){const _0x306a16=this[_0x1fd5e9(0x115)][_0x1fd5e9(0xdb)](_0x1bcb8a)[_0x1fd5e9(0xfa)],_0x538c64=_0x3349bf[_0x1fd5e9(0x157)](_0x306a16);_0x538c64&&(_0x4d4fb7&&_0x3349bf[_0x1fd5e9(0x11c)](_0x538c64),_0x32969d?_0x538c64[_0x1fd5e9(0xb9)]=!0x1:_0x538c64[_0x1fd5e9(0x16c)]());}}[_0x4adffa(0xb7)](_0x3ba763){const _0x376853=_0x4adffa,_0x1990a6=this[_0x376853(0xa8)][_0x376853(0xc4)][_0x376853(0xdb)](_0xca05b9),_0x47721e=_0x57e840(_0x376853(0xe9)+_0x3ba763),_0x1c7457=_0x1990a6[_0x376853(0x171)](_0x47721e);return _0x1c7457||_0x1990a6[_0x376853(0x16e)]({'id':_0x47721e,'name':_0x3ba763});}[_0x4adffa(0xdd)]({threadId:_0x3236bc,commentId:_0x41c298=_0x31b50e(),content:_0x5025f3,authorId:_0x5348ac,createdAt:_0x1e1393,attributes:_0x269998}){const _0x146293=_0x4adffa;if(_0x146293(0x177)!=typeof _0x41c298)throw new _0x5e1c4c(_0x146293(0x179));if(_0x146293(0x177)!=typeof _0x5348ac)throw new _0x5e1c4c(_0x146293(0x14e));if(_0x146293(0x177)!=typeof _0x5025f3||!_0x5025f3[_0x146293(0xf9)]())throw new _0x5e1c4c(_0x146293(0x141));const _0x5b92c2=this[_0x146293(0xa8)][_0x146293(0xc4)][_0x146293(0xdb)](_0xca05b9)[_0x146293(0x171)](_0x5348ac);if(!_0x5b92c2)throw new _0x5e1c4c(_0x146293(0x11d),null,{'authorId':_0x5348ac});let _0x21027e=null,_0x44d508=_0x1e1393;return _0x269998?.[_0x146293(0xfe)]&&(_0x21027e=this[_0x146293(0xb7)](_0x269998[_0x146293(0xfe)][_0x146293(0x144)]),_0x44d508=new Date(_0x269998[_0x146293(0xfe)][_0x146293(0x17d)])),new Comment(this,{'threadId':_0x3236bc,'id':_0x41c298,'author':_0x21027e||_0x5b92c2,'creator':_0x5b92c2,'content':_0x5025f3,'createdAt':_0x1e1393,'authoredAt':_0x44d508,'attributes':_0x269998});}[_0x4adffa(0xc3)](_0x56e4a3){const _0x56a9b9=_0x4adffa;let {threadId:_0x1df3a0,content:_0x426626,attributes:_0x898da9,isFromAdapter:_0x1bc408}=_0x56e4a3;const _0x21efea=this[_0x56a9b9(0x105)](_0x56e4a3[_0x56a9b9(0x12e)]);if(!_0x21efea)throw new _0x5e1c4c(_0x56a9b9(0x164),this);const _0x1b2d34=this[_0x56a9b9(0xdd)](_0x56e4a3),{id:_0x38825e}=_0x1b2d34;if(_0x21efea[_0x56a9b9(0xcf)](_0x1b2d34),_0x1bc408||!this[_0x56a9b9(0x10f)]||_0x56a9b9(0x127)!=typeof this[_0x56a9b9(0x10f)][_0x56a9b9(0x121)]||!_0x21efea[_0x56a9b9(0xad)])return Promise[_0x56a9b9(0xea)]();const _0x35fb7e=this[_0x56a9b9(0xa8)][_0x56a9b9(0xc4)][_0x56a9b9(0xdb)](_0x56a9b9(0xf7)),{channelId:_0x4c3acc}=_0x21efea,_0x4ca745=_0x35fb7e[_0x56a9b9(0x125)](_0x4f5b68(this[_0x56a9b9(0xa8)][_0x56a9b9(0xec)],_0x56a9b9(0xc7)));return _0x898da9||(_0x898da9={}),this[_0x56a9b9(0x10f)][_0x56a9b9(0x121)]({'channelId':_0x4c3acc,'threadId':_0x1df3a0,'commentId':_0x38825e,'content':_0x426626,'attributes':_0x898da9})[_0x56a9b9(0x163)](_0x47ed6a=>{const _0x2813af=_0x56a9b9;_0x35fb7e[_0x2813af(0xdf)](_0x4ca745),_0x47ed6a&&this[_0x2813af(0x10b)]({'channelId':_0x4c3acc,'threadId':_0x1df3a0,'commentId':_0x38825e,'createdAt':_0x47ed6a[_0x2813af(0x17d)],'isFromAdapter':!0x0});})[_0x56a9b9(0xf8)](_0x44753a=>{const _0x446aad=_0x56a9b9;throw console[_0x446aad(0x134)](_0x44753a),new _0x5e1c4c(_0x446aad(0x16d),this);});}[_0x4adffa(0x10b)]({threadId:_0x431f7,commentId:_0x3f94e9,content:_0x5640ec,createdAt:_0x3458f7,attributes:_0x95a78e,isFromAdapter:_0x3e2e22}){const _0x3d236d=_0x4adffa;if(void 0x0!==_0x5640ec&&(_0x3d236d(0x177)!=typeof _0x5640ec||!_0x5640ec[_0x3d236d(0xf9)]()[_0x3d236d(0x116)]))throw new _0x5e1c4c(_0x3d236d(0xca));const _0x2ddd70=this[_0x3d236d(0x105)](_0x431f7),_0x21f689=_0x2ddd70[_0x3d236d(0xa3)](_0x3f94e9);if(!_0x21f689)throw new _0x5e1c4c(_0x3d236d(0x14a),this);let _0x1539e1=!0x1;if(_0x5640ec&&_0x5640ec!==_0x21f689[_0x3d236d(0x168)]&&(_0x21f689[_0x3d236d(0x13a)]||_0x3e2e22)&&(_0x21f689[_0x3d236d(0x168)]=_0x5640ec,_0x1539e1=!0x0),_0x3458f7&&_0x3458f7!==_0x21f689[_0x3d236d(0x17d)]&&(_0x21f689[_0x3d236d(0x17d)]=_0x3458f7,_0x21f689[_0x3d236d(0xe6)]&&_0x21f689[_0x3d236d(0xe6)][_0x3d236d(0xfe)]||(_0x21f689[_0x3d236d(0xcc)]=_0x3458f7),_0x1539e1=!0x0),_0x95a78e&&!_0x247e95(_0x95a78e,_0x21f689[_0x3d236d(0xe6)])&&(_0x21f689[_0x3d236d(0xe6)]=_0x95a78e,_0x1539e1=!0x0),!_0x1539e1)return Promise[_0x3d236d(0xea)]();if(_0x2ddd70[_0x3d236d(0xe8)](_0x3d236d(0xf1)),_0x3e2e22||!this[_0x3d236d(0x10f)]||_0x3d236d(0x127)!=typeof this[_0x3d236d(0x10f)][_0x3d236d(0x130)])return Promise[_0x3d236d(0xea)]();const _0x52605d=this[_0x3d236d(0xa8)][_0x3d236d(0xc4)][_0x3d236d(0xdb)](_0x3d236d(0xf7)),{channelId:_0x4d7f5b}=this[_0x3d236d(0x105)](_0x21f689[_0x3d236d(0x12e)]),_0x33c5d6=_0x52605d[_0x3d236d(0x125)](_0x4f5b68(this[_0x3d236d(0xa8)][_0x3d236d(0xec)],_0x3d236d(0xc7)));return this[_0x3d236d(0x10f)][_0x3d236d(0x130)]({'channelId':_0x4d7f5b,'threadId':_0x431f7,'commentId':_0x3f94e9,'content':_0x5640ec,'attributes':_0x95a78e})[_0x3d236d(0x163)](()=>_0x52605d[_0x3d236d(0xdf)](_0x33c5d6))[_0x3d236d(0xf8)](_0x179368=>{const _0x3c3871=_0x3d236d;throw console[_0x3c3871(0x134)](_0x179368),new _0x5e1c4c(_0x3c3871(0x108),this);});}[_0x4adffa(0xcd)]({threadId:_0x393b70,commentId:_0x425783,isFromAdapter:_0x3a71e7}){const _0x2352bb=_0x4adffa,_0x411fd8=this[_0x2352bb(0x105)](_0x393b70),_0x1a0cd8=_0x411fd8[_0x2352bb(0xa3)](_0x425783);if(!_0x1a0cd8)throw new _0x5e1c4c(_0x2352bb(0x156),this);if(_0x411fd8[_0x2352bb(0xa1)](_0x1a0cd8),_0x3a71e7||!this[_0x2352bb(0x10f)]||_0x2352bb(0x127)!=typeof this[_0x2352bb(0x10f)][_0x2352bb(0x139)])return Promise[_0x2352bb(0xea)]();const _0x2945ee=this[_0x2352bb(0xa8)][_0x2352bb(0xc4)][_0x2352bb(0xdb)](_0x2352bb(0xf7)),{channelId:_0xd97fda}=_0x411fd8,_0x5830d1=_0x2945ee[_0x2352bb(0x125)](_0x4f5b68(this[_0x2352bb(0xa8)][_0x2352bb(0xec)],_0x2352bb(0xc7)));return this[_0x2352bb(0x10f)][_0x2352bb(0x139)]({'channelId':_0xd97fda,'threadId':_0x393b70,'commentId':_0x425783})[_0x2352bb(0x163)](()=>_0x2945ee[_0x2352bb(0xdf)](_0x5830d1))[_0x2352bb(0xf8)](_0x189f85=>{const _0x9b3cf6=_0x2352bb;throw console[_0x9b3cf6(0x134)](_0x189f85),new _0x5e1c4c(_0x9b3cf6(0xd9),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1fbe5d(){[_0x4adffa(0xe4)];['id'];[_0x4adffa(0x10a)];[_0x4adffa(0x181)];[_0x4adffa(0xba)];[_0x4adffa(0xeb)];constructor(_0x282f6a,_0x5c8d9c){const _0x53eb94=_0x4adffa;super();const _0x99a7f5=_0x5c8d9c[_0x53eb94(0xde)];this[_0x53eb94(0xe4)]=_0x5c8d9c[_0x53eb94(0xe4)],this['id']=_0x5c8d9c['id'],this[_0x53eb94(0xba)]=new _0x2a73e2(),this[_0x53eb94(0xeb)]=_0x282f6a,this[_0x53eb94(0x10a)]=!0x1,this[_0x53eb94(0x181)]=_0x5c8d9c[_0x53eb94(0xad)],this[_0x53eb94(0xbc)](_0x53eb94(0xa4),!0x0),this[_0x53eb94(0x117)](_0x53eb94(0x9d))['to'](_0x282f6a,_0x53eb94(0x149),_0x282f6a,_0x53eb94(0x9f),()=>_0x282f6a[_0x53eb94(0x9d)](this[_0x53eb94(0xe4)])),this[_0x53eb94(0x117)](_0x53eb94(0xda))['to'](_0x282f6a,_0x53eb94(0x149),()=>_0x282f6a[_0x53eb94(0x170)](this[_0x53eb94(0xe4)])[_0x53eb94(0xc2)]),this[_0x53eb94(0x117)](_0x53eb94(0x13b))['to'](_0x282f6a,_0x53eb94(0x149),()=>{const _0x78b9c3=_0x53eb94,_0x2af32d=_0x282f6a[_0x78b9c3(0x170)](this[_0x78b9c3(0xe4)]);return _0x2af32d[_0x78b9c3(0xd0)]||_0x2af32d[_0x78b9c3(0xc2)];}),this[_0x53eb94(0x117)](_0x53eb94(0xde))['to'](_0x282f6a,_0x53eb94(0x149),()=>_0x99a7f5&&_0x282f6a[_0x53eb94(0x170)](this[_0x53eb94(0xe4)])[_0x53eb94(0xea)]),this[_0x53eb94(0xbc)](_0x53eb94(0xa8),_0x5c8d9c[_0x53eb94(0xa8)]),this[_0x53eb94(0x117)](_0x53eb94(0xac))['to'](this,_0x53eb94(0x167),this,_0x53eb94(0x17a),(_0xf1d6da,_0x4e435b)=>_0xf1d6da?_0x4e435b?_0xf1d6da<_0x4e435b?_0xf1d6da:_0x4e435b:_0xf1d6da:_0x4e435b),this[_0x53eb94(0xbc)](_0x53eb94(0x17a),_0x5c8d9c[_0x53eb94(0x17a)]||null),this[_0x53eb94(0xbc)](_0x53eb94(0x167),_0x5c8d9c[_0x53eb94(0x167)]||null),this[_0x53eb94(0xbc)](_0x53eb94(0x11f),_0x5c8d9c[_0x53eb94(0x11f)]||null),this[_0x53eb94(0x117)](_0x53eb94(0xe2))['to'](this,_0x53eb94(0x167),_0x18a8ae=>!!_0x18a8ae),this[_0x53eb94(0xbc)](_0x53eb94(0xe6),_0x5c8d9c[_0x53eb94(0xe6)]||{});}get[_0x4adffa(0x122)](){const _0x5807f9=_0x4adffa;return Array[_0x5807f9(0x161)](this[_0x5807f9(0xba)])[_0x5807f9(0x110)]((_0x467379,_0x43ceb8)=>_0x467379+_0x43ceb8[_0x5807f9(0x122)],0x0);}get[_0x4adffa(0x116)](){const _0x2bf879=_0x4adffa;return this[_0x2bf879(0xba)][_0x2bf879(0x116)];}get[_0x4adffa(0x160)](){const _0x3a1606=_0x4adffa;return this[_0x3a1606(0x10a)];}get[_0x4adffa(0xad)](){const _0x2d0f4e=_0x4adffa;return this[_0x2d0f4e(0x181)];}[_0x4adffa(0x112)](){const _0x4b32ff=_0x4adffa,{channelId:_0xe8f2ac,id:_0x229be0}=this;this[_0x4b32ff(0xeb)][_0x4b32ff(0xe8)](Nt(_0x4b32ff(0x13e),_0xe8f2ac),{'channelId':_0xe8f2ac,'threadId':_0x229be0});}[_0x4adffa(0x154)](_0x3a7e4f){const _0xf9e233=_0x4adffa;this[_0xf9e233(0x14f)]({'unlinkedAt':_0x3a7e4f});}[_0x4adffa(0xea)]({resolvedAt:_0x3d301a=new Date(),resolvedBy:_0x131e8a='',isFromAdapter:_0x506d1b=!0x1}={}){const _0x15fcc5=_0x4adffa,_0x4775e8=this[_0x15fcc5(0xeb)][_0x15fcc5(0xa8)][_0x15fcc5(0xc4)][_0x15fcc5(0xdb)](_0xca05b9)['me'],{channelId:_0x49d0cb,id:_0xfb0362}=this;this[_0x15fcc5(0xeb)][_0x15fcc5(0xe8)](Nt(_0x15fcc5(0x12f),_0x49d0cb),{'channelId':_0x49d0cb,'threadId':_0xfb0362,'resolvedAt':_0x3d301a,'resolvedBy':_0x131e8a||_0x4775e8['id'],'isFromAdapter':_0x506d1b});}[_0x4adffa(0xaa)]({isFromAdapter:_0x1b4665=!0x1}={}){const _0x97dfd3=_0x4adffa,{channelId:_0x3f9265,id:_0x472fd0}=this;this[_0x97dfd3(0xeb)][_0x97dfd3(0xe8)](Nt(_0x97dfd3(0x15e),_0x3f9265),{'channelId':_0x3f9265,'threadId':_0x472fd0,'isFromAdapter':_0x1b4665});}[_0x4adffa(0x146)](_0x5338da){const _0x34c972=_0x4adffa;this[_0x34c972(0xa8)]||this[_0x34c972(0x14f)]({'context':_0x5338da});}[_0x4adffa(0x17e)](_0x48eae9,_0x2186ed){const _0x5b51b0=_0x4adffa,_0x3c7bcd=_0x549f80(this[_0x5b51b0(0xe6)]);_0x1419cf(_0x3c7bcd,_0x48eae9,_0x2186ed),this[_0x5b51b0(0x14f)]({'attributes':_0x3c7bcd});}[_0x4adffa(0x172)](_0xfe2d0c){const _0x58d238=_0x4adffa,_0xaf7913=_0x549f80(this[_0x58d238(0xe6)]);_0x134106(_0xaf7913,_0xfe2d0c),this[_0x58d238(0x14f)]({'attributes':_0xaf7913});}[_0x4adffa(0xdf)]({isFromAdapter:_0x28a5d3=!0x1}={}){const _0x4b6767=_0x4adffa,{channelId:_0xbc9df6,id:_0x24d0fa}=this;this[_0x4b6767(0xeb)][_0x4b6767(0xe8)](Nt(_0x4b6767(0x114),_0xbc9df6),{'channelId':_0xbc9df6,'threadId':_0x24d0fa,'isFromAdapter':_0x28a5d3});}[_0x4adffa(0xb5)](_0x2ef6b2){const _0x40b7ed=_0x4adffa;return this[_0x40b7ed(0xeb)][_0x40b7ed(0x143)]({'threadId':this['id'],'target':_0x2ef6b2});}[_0x4adffa(0x121)](_0x4e6e7c){const _0x1c7f50=_0x4adffa,{channelId:_0x4a80cb,id:_0x4bcad4}=this;this[_0x1c7f50(0xeb)][_0x1c7f50(0xe8)](Nt(_0x1c7f50(0x121),_0x4a80cb,_0x4bcad4),Object[_0x1c7f50(0x132)]({'channelId':_0x4a80cb,'threadId':_0x4bcad4},_0x4e6e7c));}[_0x4adffa(0xa3)](_0x3607c4){const _0x41697b=_0x4adffa;if(_0x41697b(0x177)!=typeof _0x3607c4)throw new _0x5e1c4c(_0x41697b(0xb4),null,{'commentId':_0x3607c4});return this[_0x41697b(0xba)][_0x41697b(0xdb)](_0x3607c4);}[_0x4adffa(0x133)](){const _0x5a4fae=_0x4adffa;return{'threadId':this['id'],'context':this[_0x5a4fae(0xa8)],'unlinkedAt':this[_0x5a4fae(0x17a)],'resolvedAt':this[_0x5a4fae(0x167)],'resolvedBy':this[_0x5a4fae(0x11f)]?this[_0x5a4fae(0x11f)]['id']:null,'archivedAt':this[_0x5a4fae(0xac)],'comments':this[_0x5a4fae(0xba)][_0x5a4fae(0x113)](_0xadf209=>_0xadf209[_0x5a4fae(0x133)]()),'attributes':this[_0x5a4fae(0xe6)]};}[_0x4adffa(0xcf)](_0x2b3eca){const _0x1fdfed=_0x4adffa;return this[_0x1fdfed(0xf2)](_0x2b3eca,_0x1fdfed(0x166),()=>{const _0x37771f=_0x1fdfed,_0xfa164b=this[_0x37771f(0xd6)](_0x2b3eca),_0x564d57=this[_0x37771f(0xba)];_0xfa164b-0x1!=_0x564d57[_0x37771f(0xfb)](_0x2b3eca)&&_0xfa164b+0x1!=_0x564d57[_0x37771f(0xfb)](_0x2b3eca)&&(this[_0x37771f(0xa1)](_0x2b3eca),this[_0x37771f(0xcf)](_0x2b3eca));}),this[_0x1fdfed(0xba)][_0x1fdfed(0x125)](_0x2b3eca,this[_0x1fdfed(0xd6)](_0x2b3eca));}[_0x4adffa(0x14f)](_0x5be6b6){const _0xb709a1=_0x4adffa,{channelId:_0x58c60e,id:_0x5c19aa}=this;this[_0xb709a1(0xeb)][_0xb709a1(0xe8)](Nt(_0xb709a1(0x147),_0x58c60e),{..._0x5be6b6,'channelId':_0x58c60e,'threadId':_0x5c19aa});}[_0x4adffa(0xa1)](_0x33c925){const _0x4cef92=_0x4adffa;return this[_0x4cef92(0x100)](_0x33c925),_0x33c925[_0x4cef92(0x174)](),this[_0x4cef92(0xba)][_0x4cef92(0xdf)](_0x33c925);}[_0x4adffa(0xd6)](_0x216b3d){const _0xd390a1=_0x4adffa,_0x3ba177=this[_0xd390a1(0xba)][_0xd390a1(0x159)](_0x5529b5=>new Date(_0x5529b5[_0xd390a1(0xcc)])[_0xd390a1(0x10e)]()>new Date(_0x216b3d[_0xd390a1(0xcc)])[_0xd390a1(0x10e)]());return _0x3ba177?this[_0xd390a1(0xba)][_0xd390a1(0xfb)](_0x3ba177):this[_0xd390a1(0x116)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x1fbe5d(){['id'];[_0x4adffa(0x12e)];[_0x4adffa(0xc0)];[_0x4adffa(0xa0)];[_0x4adffa(0x123)];[_0x4adffa(0x17d)];[_0x4adffa(0xeb)];constructor(_0x599c06,_0x3e7628){const _0x4111cd=_0x4adffa;super();const _0x4a5c60=_0x599c06[_0x4111cd(0xa8)][_0x4111cd(0xc4)][_0x4111cd(0xdb)](_0xca05b9)['me'],_0x2b81b2=_0x599c06[_0x4111cd(0x105)](_0x3e7628[_0x4111cd(0x12e)]),_0x403ee3=0x0===_0x2b81b2[_0x4111cd(0xba)][_0x4111cd(0x116)],_0x2568fe=_0x4a5c60===_0x3e7628[_0x4111cd(0xc0)];this['id']=_0x3e7628['id'],this[_0x4111cd(0x12e)]=_0x3e7628[_0x4111cd(0x12e)],this[_0x4111cd(0xc0)]=_0x3e7628[_0x4111cd(0xc0)],this[_0x4111cd(0xa0)]=_0x3e7628[_0x4111cd(0xa0)],this[_0x4111cd(0x123)]=Boolean(_0x3e7628[_0x4111cd(0xe6)]&&_0x3e7628[_0x4111cd(0xe6)][_0x4111cd(0xfe)]),this[_0x4111cd(0xbc)](_0x4111cd(0x168),_0x3e7628[_0x4111cd(0x168)]),this[_0x4111cd(0x17d)]=_0x3e7628[_0x4111cd(0x17d)]||new Date(),this[_0x4111cd(0xbc)](_0x4111cd(0xcc),_0x3e7628[_0x4111cd(0xcc)]||new Date()),this[_0x4111cd(0x117)](_0x4111cd(0x167))['to'](_0x2b81b2,_0x4111cd(0x167)),this[_0x4111cd(0xbc)](_0x4111cd(0xe6),_0x3e7628[_0x4111cd(0xe6)]||{}),this[_0x4111cd(0x117)](_0x4111cd(0x13a))['to'](_0x599c06,_0x4111cd(0x149),()=>{const _0x903c5b=_0x4111cd,_0x167f59=_0x599c06[_0x903c5b(0x170)](_0x2b81b2[_0x903c5b(0xe4)])[_0x903c5b(0xd0)],_0x577292=_0x599c06[_0x903c5b(0x170)](_0x2b81b2[_0x903c5b(0xe4)])[_0x903c5b(0x138)];return _0x2568fe&&_0x167f59||!_0x2568fe&&_0x577292;}),this[_0x4111cd(0x117)](_0x4111cd(0xda))['to'](_0x2b81b2,_0x4111cd(0xda),_0x599c06,_0x4111cd(0x149),_0x4f0d90=>{const _0x2cf314=_0x4111cd,_0x74deea=_0x599c06[_0x2cf314(0x170)](_0x2b81b2[_0x2cf314(0xe4)])[_0x2cf314(0xd0)],_0x135b95=_0x599c06[_0x2cf314(0x170)](_0x2b81b2[_0x2cf314(0xe4)])[_0x2cf314(0x138)];return _0x2568fe&&_0x74deea||_0x4f0d90&&_0x403ee3||!_0x2568fe&&_0x135b95&&!_0x403ee3;}),this[_0x4111cd(0x117)](_0x4111cd(0x9d))['to'](_0x2b81b2,_0x4111cd(0x9d)),this[_0x4111cd(0xeb)]=_0x599c06;}get[_0x4adffa(0x122)](){const _0x14f15b=_0x4adffa;return Math[_0x14f15b(0x152)](function(_0x125a9c){const _0x1d7f22=_0x14f15b,_0x35a302=document[_0x1d7f22(0x151)](_0x1d7f22(0xa9));return _0x35a302[_0x1d7f22(0x107)]=_0x125a9c,_0x35a302[_0x1d7f22(0x102)][_0x1d7f22(0x116)];}(this[_0x14f15b(0x168)]),0xc8);}[_0x4adffa(0xce)](_0x35acc6){const _0x599f6b=_0x4adffa,{threadId:_0x167f57,id:_0x24e7ec}=this;if(!this[_0x599f6b(0xeb)][_0x599f6b(0x124)](_0x167f57))throw new _0x5e1c4c(_0x599f6b(0xe1),this);const {channelId:_0xcad0f4}=this[_0x599f6b(0xeb)][_0x599f6b(0x105)](_0x167f57);this[_0x599f6b(0xeb)][_0x599f6b(0xe8)](Nt(_0x599f6b(0x130),_0xcad0f4,_0x167f57),{'channelId':_0xcad0f4,'threadId':_0x167f57,'commentId':_0x24e7ec,..._0x35acc6});}[_0x4adffa(0x17e)](_0x2501be,_0x2570cb){const _0x4ef749=_0x4adffa,_0x1f6b9b=_0x549f80(this[_0x4ef749(0xe6)]);_0x1419cf(_0x1f6b9b,_0x2501be,_0x2570cb),this[_0x4ef749(0xce)]({'attributes':_0x1f6b9b});}[_0x4adffa(0x172)](_0x55645a){const _0x45284e=_0x4adffa,_0x1135bc=_0x549f80(this[_0x45284e(0xe6)]);_0x134106(_0x1135bc,_0x55645a),this[_0x45284e(0xce)]({'attributes':_0x1135bc});}[_0x4adffa(0xdf)](_0x549990={}){const _0x55eb25=_0x4adffa;if(!_0x549990[_0x55eb25(0xf6)]&&!this[_0x55eb25(0xda)])return;const {threadId:_0x2d6e87,id:_0x467420}=this;if(!this[_0x55eb25(0xeb)][_0x55eb25(0x124)](_0x2d6e87))throw new _0x5e1c4c(_0x55eb25(0x129),this);const {channelId:_0x459700}=this[_0x55eb25(0xeb)][_0x55eb25(0x105)](_0x2d6e87);this[_0x55eb25(0xeb)][_0x55eb25(0xe8)](Nt(_0x55eb25(0x139),_0x459700,_0x2d6e87),{'channelId':_0x459700,'threadId':_0x2d6e87,'commentId':_0x467420,..._0x549990});}[_0x4adffa(0x133)](){const _0x38c766=_0x4adffa;return{'commentId':this['id'],'content':this[_0x38c766(0x168)],'createdAt':this[_0x38c766(0x17d)],'authorId':this[_0x38c766(0xa0)]['id'],'attributes':this[_0x38c766(0xe6)]};}[_0x4adffa(0x174)](){const _0x1492d8=_0x4adffa;this[_0x1492d8(0x100)]();}}function Nt(_0x1ad9de,..._0x48b71a){for(const _0x30c2ab of _0x48b71a)void 0x0!==_0x30c2ab&&(_0x1ad9de+=':'+String(_0x30c2ab));return _0x1ad9de;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x46a0a7=_0x3c8c;(function(_0x3aaa3a,_0x417c9b){const _0x211cd0=_0x3c8c,_0x10c5a6=_0x3aaa3a();while(!![]){try{const _0x4e15ea=-parseInt(_0x211cd0(0x14d))/0x1+-parseInt(_0x211cd0(0x16a))/0x2+-parseInt(_0x211cd0(0x14e))/0x3+parseInt(_0x211cd0(0x18a))/0x4*(-parseInt(_0x211cd0(0x174))/0x5)+-parseInt(_0x211cd0(0x169))/0x6+-parseInt(_0x211cd0(0x16c))/0x7*(parseInt(_0x211cd0(0x17c))/0x8)+-parseInt(_0x211cd0(0x194))/0x9*(-parseInt(_0x211cd0(0x146))/0xa);if(_0x4e15ea===_0x417c9b)break;else _0x10c5a6['push'](_0x10c5a6['shift']());}catch(_0x86b1c2){_0x10c5a6['push'](_0x10c5a6['shift']());}}}(_0x288e,0x4a86a));import{Plugin as _0xfdb234}from'ckeditor5/src/core.js';import{IconAddComment as _0x381c99}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x4d354c}from'./commentsrepository.js';import{CommentsEditing as _0x282051}from'./commentsediting.js';function _0x3c8c(_0x3e7b6b,_0x11cb48){const _0x288e3d=_0x288e();return _0x3c8c=function(_0x3c8c75,_0x18fdab){_0x3c8c75=_0x3c8c75-0x145;let _0x2da1dc=_0x288e3d[_0x3c8c75];return _0x2da1dc;},_0x3c8c(_0x3e7b6b,_0x11cb48);}import{EditorAnnotations as _0x49eaed}from'../annotations/editorannotations.js';import{ButtonView as _0x2b68b5,MenuBarMenuListItemButtonView as _0x2c448a}from'ckeditor5/src/ui.js';import{Annotations as _0x50035f}from'../annotations/annotations.js';import{CommentsListView as _0x18cef3}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x42e74a}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x50bd91}from'../utils/common-translations.js';function _0x288e(){const _0x157754=['commentsLicenseKeyUsageLimit','_licenseKeyCheckInterval','execute','find','expired','config','4960xighQb','comment:','view','getCommentThread','CommentsListView','set','removeCommentThread','comment','13656RmvPuZ','isOfficialPlugin','isFocused','getRange','getAllMarkersForId','get','commentsLicenseKeyDomainLimit','activeMarker','commentsLicenseKeyNotAllowed','add','_viewToController','evaluationLimit','CommentsUI','Comment','668HdYNos','pluginName','requires','featureNotAllowed','plugins','addCommentThread','listenTo','hasMarkerForId','from','bind','16363485fZcGWd','_showLicenseError','commentsLicenseKeyTrialLimit','CommentThreadInputView','focus','destroy','invalid','commentsLicenseKeyExpired','componentFactory','10LgOCzx','commentsLicenseKeyEvaluationLimit','editing','map','usageLimit','isPremiumPlugin','low','231038yZrSGC','166338mTvWbx','commentsLicenseKeyInvalid','menuBar:comment','addSourceCollector','highest','change:activeAnnotations','locale','tooltip','editor','Comments','_createUIButton','init','commentsLicenseKeyValid','addComment','length','has','domainLimit','push','trialLimit','focusTracker','_threadToController','model','isEnabled','commands','licenseKey','innerView','hasCommentThread','2992218BIbmMg','239886DEofLX','hasContent','1813NsDUIa','stop'];_0x288e=function(){return _0x157754;};return _0x288e();}export class CommentsUI extends _0xfdb234{[_0x46a0a7(0x166)];[_0x46a0a7(0x16f)];static get[_0x46a0a7(0x18b)](){const _0x31a88f=_0x46a0a7;return _0x31a88f(0x188);}static get[_0x46a0a7(0x17d)](){return!0x0;}static get[_0x46a0a7(0x14b)](){return!0x0;}static get[_0x46a0a7(0x18c)](){return[_0x4d354c,_0x282051,_0x49eaed,_0x50035f];}get[_0x46a0a7(0x178)](){return _0x18cef3;}get[_0x46a0a7(0x197)](){return _0x42e74a;}[_0x46a0a7(0x159)](){const _0x201135=_0x46a0a7,_0x1675b6=this[_0x201135(0x156)],_0x531434=_0x1675b6[_0x201135(0x18e)][_0x201135(0x181)](_0x4d354c),_0x59051d=_0x1675b6[_0x201135(0x18e)][_0x201135(0x181)](_0x282051),_0x17dcfb=_0x1675b6[_0x201135(0x18e)][_0x201135(0x181)](_0x50035f),_0x1944ab=_0x1675b6[_0x201135(0x18e)][_0x201135(0x181)](_0x49eaed);_0x1675b6['ui'][_0x201135(0x145)][_0x201135(0x185)](_0x201135(0x17b),()=>{const _0x2a110f=_0x201135,_0x2a92bb=this[_0x2a110f(0x158)](_0x2b68b5);return _0x2a92bb[_0x2a110f(0x155)]=!0x0,_0x2a92bb;}),_0x1675b6['ui'][_0x201135(0x145)][_0x201135(0x185)](_0x201135(0x150),()=>this[_0x201135(0x158)](_0x2c448a)),_0x1944ab[_0x201135(0x151)](()=>{const _0x363ba3=_0x201135,_0x312c13=[];for(const [_0x435494,_0x289d17]of _0x531434[_0x363ba3(0x162)]){const _0x29b60a=_0x59051d[_0x363ba3(0x180)](_0x435494['id']),_0x4c85fc=_0x29b60a[_0x363ba3(0x149)](_0x34c858=>_0x34c858[_0x363ba3(0x17f)]());_0x29b60a[_0x363ba3(0x15c)]>0x0&&_0x312c13[_0x363ba3(0x15f)]([_0x289d17[_0x363ba3(0x176)],_0x4c85fc]);}return _0x312c13;}),this[_0x201135(0x190)](_0x17dcfb,_0x201135(0x153),(_0x41e1f4,_0x271ce2,_0x323e71)=>{const _0x136659=_0x201135,_0x7e9fd7=Array[_0x136659(0x192)](_0x323e71)[_0x136659(0x149)](_0x5bcb92=>_0x5bcb92[_0x136659(0x167)])[_0x136659(0x171)](_0x5cb5ad=>_0x531434[_0x136659(0x186)][_0x136659(0x15d)](_0x5cb5ad));if(!_0x7e9fd7)return void(_0x59051d[_0x136659(0x183)]=null);const _0x1c0b81=_0x531434[_0x136659(0x186)][_0x136659(0x181)](_0x7e9fd7)[_0x136659(0x163)]['id'],_0x25cfca=_0x136659(0x175)+_0x1c0b81;_0x1c0b81&&_0x59051d[_0x136659(0x191)](_0x1c0b81)?_0x59051d[_0x136659(0x183)]=_0x25cfca:_0x59051d[_0x136659(0x183)]&&(_0x59051d[_0x136659(0x183)]=null);}),this[_0x201135(0x190)](_0x531434,_0x201135(0x17a),(_0x535e64,{threadId:_0x5be0af,isFromAdapter:_0xfbb87a})=>{const _0x2c8c43=_0x201135;!_0xfbb87a&&_0x1675b6['ui'][_0x2c8c43(0x161)][_0x2c8c43(0x17e)]&&_0x59051d[_0x2c8c43(0x191)](_0x5be0af)&&_0x1675b6[_0x2c8c43(0x148)][_0x2c8c43(0x176)][_0x2c8c43(0x198)]();},{'priority':_0x201135(0x152)}),this[_0x201135(0x190)](_0x531434,_0x201135(0x15b),(_0x479998,{threadId:_0x3c5b85,isFromAdapter:_0x2c5ce6})=>{const _0x2593a4=_0x201135;if(_0x2c5ce6||!_0x59051d[_0x2593a4(0x191)](_0x3c5b85)||!_0x531434[_0x2593a4(0x168)](_0x3c5b85))return;0x1===_0x531434[_0x2593a4(0x177)](_0x3c5b85)[_0x2593a4(0x15c)]&&(_0x1675b6[_0x2593a4(0x148)][_0x2593a4(0x176)][_0x2593a4(0x198)](),_0x479998[_0x2593a4(0x16d)]());},{'priority':_0x201135(0x14c)}),this[_0x201135(0x166)]=this[_0x201135(0x156)][_0x201135(0x173)][_0x201135(0x181)](_0x201135(0x166));const _0xb64614=this[_0x201135(0x156)];this[_0x201135(0x16f)]=setInterval(()=>{const _0x3baa4f=_0x201135;let _0x4ccae2;for(const _0x4e661d in _0xb64614){const _0x174dd1=_0x4e661d,_0x1e6dc0=_0xb64614[_0x174dd1];if(_0x3baa4f(0x15a)==_0x1e6dc0||_0x3baa4f(0x14f)==_0x1e6dc0||_0x3baa4f(0x19b)==_0x1e6dc0||_0x3baa4f(0x182)==_0x1e6dc0||_0x3baa4f(0x184)==_0x1e6dc0||_0x3baa4f(0x147)==_0x1e6dc0||_0x3baa4f(0x196)==_0x1e6dc0||_0x3baa4f(0x16e)==_0x1e6dc0){delete _0xb64614[_0x174dd1],_0x4ccae2=_0x1e6dc0,clearInterval(this[_0x3baa4f(0x16f)]),this[_0x3baa4f(0x16f)]=void 0x0;break;}}_0x3baa4f(0x14f)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x19a)),_0x3baa4f(0x19b)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x172)),_0x3baa4f(0x182)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x15e)),_0x3baa4f(0x184)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x18d),_0x3baa4f(0x157)),_0x3baa4f(0x147)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x187)),_0x3baa4f(0x196)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x160)),_0x3baa4f(0x16e)==_0x4ccae2&&_0xb64614[_0x3baa4f(0x195)](_0x3baa4f(0x14a));},0x3e8);}[_0x46a0a7(0x199)](){const _0x2c3927=_0x46a0a7;super[_0x2c3927(0x199)](),this[_0x2c3927(0x16f)]&&clearInterval(this[_0x2c3927(0x16f)]);}[_0x46a0a7(0x158)](_0x1bddd3){const _0x5781f7=_0x46a0a7,_0xc534a3=this[_0x5781f7(0x156)],_0x4e5809=new _0x1bddd3(_0xc534a3[_0x5781f7(0x154)]),_0x2767db=_0xc534a3[_0x5781f7(0x165)][_0x5781f7(0x181)](_0x5781f7(0x18f));return _0x4e5809[_0x5781f7(0x179)]({'label':_0x50bd91(_0xc534a3[_0x5781f7(0x154)],_0x5781f7(0x189)),'icon':_0x381c99}),_0x4e5809[_0x5781f7(0x193)](_0x5781f7(0x164))['to'](_0x2767db,_0x5781f7(0x16b)),this[_0x5781f7(0x190)](_0x4e5809,_0x5781f7(0x170),()=>{const _0x444782=_0x5781f7;_0x2767db[_0x444782(0x170)]();}),_0x4e5809;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40bc77=_0xd590;(function(_0x3feff7,_0x5a49b8){const _0x4e56e4=_0xd590,_0x2d0dfd=_0x3feff7();while(!![]){try{const _0x3e5e1a=parseInt(_0x4e56e4(0x1cc))/0x1+parseInt(_0x4e56e4(0x1c2))/0x2*(parseInt(_0x4e56e4(0x1cb))/0x3)+-parseInt(_0x4e56e4(0x1da))/0x4+parseInt(_0x4e56e4(0x1d1))/0x5*(parseInt(_0x4e56e4(0x1e9))/0x6)+parseInt(_0x4e56e4(0x1c5))/0x7*(-parseInt(_0x4e56e4(0x1cf))/0x8)+parseInt(_0x4e56e4(0x1c6))/0x9*(parseInt(_0x4e56e4(0x1d5))/0xa)+-parseInt(_0x4e56e4(0x1ce))/0xb*(-parseInt(_0x4e56e4(0x1db))/0xc);if(_0x3e5e1a===_0x5a49b8)break;else _0x2d0dfd['push'](_0x2d0dfd['shift']());}catch(_0x1392cf){_0x2d0dfd['push'](_0x2d0dfd['shift']());}}}(_0x8ad0,0x4c164));function _0xd590(_0x1121e8,_0x46f1c2){const _0x8ad0a0=_0x8ad0();return _0xd590=function(_0xd590b9,_0x1adba3){_0xd590b9=_0xd590b9-0x1c1;let _0x339cac=_0x8ad0a0[_0xd590b9];return _0x339cac;},_0xd590(_0x1121e8,_0x46f1c2);}import{Plugin as _0x2b32c6}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x219b68,ClipboardMarkersUtils as _0x2ffe03}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x2b32c6{constructor(_0x35f23b){const _0x339bdd=_0xd590;super(_0x35f23b),this[_0x339bdd(0x1eb)][_0x339bdd(0x1e1)][_0x339bdd(0x1ea)](_0x339bdd(0x1e2),_0x339bdd(0x1d7));}static get[_0x40bc77(0x1e5)](){return[_0x2ffe03,_0x219b68];}[_0x40bc77(0x1cd)](){const _0x273902=_0x40bc77,_0xf6c560=this[_0x273902(0x1eb)][_0x273902(0x1d0)][_0x273902(0x1d4)](_0x273902(0x1c1));this[_0x273902(0x1c7)](),this[_0x273902(0x1d8)](_0xf6c560,_0x273902(0x1de),(_0x5661ac,_0x3ccaca)=>this[_0x273902(0x1dc)](_0x3ccaca[_0x273902(0x1c4)][_0x273902(0x1e8)]),{'priority':_0x273902(0x1e4)});}[_0x40bc77(0x1dc)](_0x236e09){const _0x2b4323=_0x40bc77;if(!this[_0x2b4323(0x1eb)][_0x2b4323(0x1d0)][_0x2b4323(0x1df)](_0x2b4323(0x1e0)))return _0x236e09;const _0x30927b=this[_0x2b4323(0x1eb)][_0x2b4323(0x1d0)][_0x2b4323(0x1d4)](_0x2b4323(0x1e0));for(const _0x1c04ad of _0x236e09[_0x2b4323(0x1e7)]()){const [_0x30a3a7,_0xba799b]=_0x1c04ad[_0x2b4323(0x1dd)](':');_0x2b4323(0x1c9)!=_0x30a3a7||_0x30927b[_0x2b4323(0x1d2)](_0xba799b)||_0x236e09[_0x2b4323(0x1d6)](_0x1c04ad);}return _0x236e09;}[_0x40bc77(0x1c7)](){const _0x4f94a8=_0x40bc77,_0xf52a70=this[_0x4f94a8(0x1eb)][_0x4f94a8(0x1d0)][_0x4f94a8(0x1d4)](_0x4f94a8(0x1ec)),_0x4ec5f5=this[_0x4f94a8(0x1ca)](this[_0x4f94a8(0x1eb)][_0x4f94a8(0x1e1)][_0x4f94a8(0x1d4)](_0x4f94a8(0x1e2)));_0x4ec5f5&&_0xf52a70[_0x4f94a8(0x1d9)](_0x4f94a8(0x1c9),_0x4ec5f5);}[_0x40bc77(0x1ca)](_0x1b85e0){const _0x3ff851=_0x40bc77;switch(_0x1b85e0){case _0x3ff851(0x1c3):return{'allowedActions':_0x3ff851(0x1e3),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x3ff851(0x1d7):return{'allowedActions':[_0x3ff851(0x1e6),_0x3ff851(0x1d3)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x3ff851(0x1c8):return null;default:return null;}}}function _0x8ad0(){const _0x119124=['240432fBZcgw','376986VpYdyb','afterInit','1023rUUdzC','8rbmTyn','plugins','5365OZUUsX','hasCommentThread','dragstart','get','30AqDVCT','delete','default','listenTo','_registerMarkerToCopy','2214032xWcbGf','25572dCLrRv','_removeMarkersWithoutThreads','split','contentInsertion','has','CommentsRepository','config','comments.copyMarkers','all','highest','requires','cut','keys','markers','984iqcpUm','define','editor','ClipboardMarkersUtils','ClipboardPipeline','6eUobym','always','content','3739001Oyqdcw','1223190qogkoJ','_registerMarkerInClipboardPipeline','never','comment','_mapCommentsCopyConfigToRegisterConfiguration'];_0x8ad0=function(){return _0x119124;};return _0x8ad0();}
|