@ckeditor/ckeditor5-comments 47.2.0-alpha.1 → 47.2.0-alpha.3
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 _0x1e4a68=_0xd2e6;(function(_0x5e20c0,_0xa68f4d){const _0x2a832d=_0xd2e6,_0x56fb87=_0x5e20c0();while(!![]){try{const _0x5b516d=parseInt(_0x2a832d(0x9b))/0x1*(-parseInt(_0x2a832d(0xf8))/0x2)+-parseInt(_0x2a832d(0xcd))/0x3*(-parseInt(_0x2a832d(0x124))/0x4)+parseInt(_0x2a832d(0xad))/0x5*(parseInt(_0x2a832d(0xa9))/0x6)+-parseInt(_0x2a832d(0xf2))/0x7+parseInt(_0x2a832d(0xd4))/0x8+-parseInt(_0x2a832d(0xa4))/0x9*(-parseInt(_0x2a832d(0x107))/0xa)+parseInt(_0x2a832d(0xd8))/0xb;if(_0x5b516d===_0xa68f4d)break;else _0x56fb87['push'](_0x56fb87['shift']());}catch(_0x2c6cc5){_0x56fb87['push'](_0x56fb87['shift']());}}}(_0x5f4f,0xb2103));function _0xd2e6(_0x19286b,_0x3a6a9e){const _0x5f4f01=_0x5f4f();return _0xd2e6=function(_0xd2e661,_0x303955){_0xd2e661=_0xd2e661-0x8f;let _0x5edf0c=_0x5f4f01[_0xd2e661];return _0x5edf0c;},_0xd2e6(_0x19286b,_0x3a6a9e);}import{Plugin as _0xfd8521}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x3c4f71,scrollViewportToShowTarget as _0x355749,uid as _0x912550}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x208513}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x593b38}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x3f5eba,getAllMarkersDomElementsSorted as _0x1b270a,FOCUS_ANNOTATION_KEYSTROKE as _0x5e100d,Users as _0x2a37df}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x1e95c4}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x2528c1}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x530ea3}from'./integrations/importword.js';import{CommentsClipboard as _0x232e1d}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x468901}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x3582de}from'../annotations/annotations.js';import{getTranslation as _0x522fd7}from'../utils/common-translations.js';import{splitMarkerName as _0x43a286}from'../utils/splitmarkername.js';export class CommentsEditing extends _0xfd8521{static get[_0x1e4a68(0xfd)](){return[_0x208513,_0x1e95c4,_0x2a37df,_0x2528c1,_0x530ea3,_0x232e1d,_0x468901];}static get[_0x1e4a68(0xba)](){const _0x584052=_0x1e4a68;return _0x584052(0xed);}static get[_0x1e4a68(0x106)](){return!0x0;}static get[_0x1e4a68(0x110)](){return!0x0;}constructor(_0x40b584){const _0xeb28a3=_0x1e4a68;super(_0x40b584),this[_0xeb28a3(0x120)](_0xeb28a3(0x121),!0x0),_0x40b584[_0xeb28a3(0xef)][_0xeb28a3(0xe9)](_0xeb28a3(0x125),()=>this[_0xeb28a3(0x121)]=!0x1),this[_0xeb28a3(0x120)](_0xeb28a3(0xc4),null),this['on'](_0xeb28a3(0x102),(_0x5aa1fc,_0xd34e71,_0x351761,_0xd50eac)=>{const _0x126d5a=_0xeb28a3,_0x125031=_0x40b584[_0x126d5a(0xd3)][_0x126d5a(0xe2)](_0x208513),_0x8a43e3=_0x351761?_0x43a286(_0x351761)['id']:null;_0x40b584[_0x126d5a(0xaf)][_0x126d5a(0x9c)](()=>{const _0x5672c6=_0x126d5a;if(_0x8a43e3){const _0x41a298=this[_0x5672c6(0x90)](_0x8a43e3);for(const _0x4b19da of _0x41a298)_0x40b584[_0x5672c6(0xc8)][_0x5672c6(0x105)](_0x4b19da);}if(_0xd50eac){const {id:_0x142999}=_0x43a286(_0xd50eac),_0x3c3636=_0x125031[_0x5672c6(0x129)](_0x142999);if(_0x3c3636&&_0x3c3636[_0x5672c6(0x113)])return;if(_0x3c3636&&!_0x3c3636[_0x5672c6(0x95)])return;const _0x28aae0=this[_0x5672c6(0x90)](_0x142999);for(const _0x2de671 of _0x28aae0)_0x40b584[_0x5672c6(0xc8)][_0x5672c6(0x105)](_0x2de671);}}),_0x8a43e3&&this[_0x126d5a(0x115)](_0x8a43e3);}),this[_0xeb28a3(0x131)]();}[_0x1e4a68(0xee)](){const _0x26e12a=_0x1e4a68,_0x1f1d09=this[_0x26e12a(0xae)],_0x45de76=_0x1f1d09[_0x26e12a(0xd3)][_0x26e12a(0xe2)](_0x208513),_0x34b159=_0x1f1d09[_0x26e12a(0xca)][_0x26e12a(0xe2)](_0x26e12a(0xf5)),_0x144d9d=_0x45de76[_0x26e12a(0xa5)]()[_0x26e12a(0x100)](_0x28d0d6=>_0x28d0d6[_0x26e12a(0xd6)]!==_0x34b159);_0x1f1d09[_0x26e12a(0x112)][_0x26e12a(0xe8)](_0x26e12a(0x96),new _0x593b38(_0x1f1d09)),this[_0x26e12a(0xd5)](_0x1f1d09,_0x26e12a(0x11e),(_0x4ea269,_0x46de06,_0x41a607)=>{const _0x51bd44=_0x26e12a;_0x45de76[_0x51bd44(0x10d)](_0x41a607,_0x1f1d09[_0x51bd44(0xca)][_0x51bd44(0xe2)](_0x51bd44(0xf5)));}),this[_0x26e12a(0xd5)](_0x45de76,dt(_0x26e12a(0x96),_0x34b159),(_0x4aa7f6,{threadId:_0x58d2b4})=>{const _0x5b6762=_0x26e12a,_0x2e346b=this[_0x5b6762(0xae)][_0x5b6762(0xd3)][_0x5b6762(0xe2)](_0x208513)[_0x5b6762(0x129)](_0x58d2b4);_0x2e346b?.[_0x5b6762(0x113)]&&this[_0x5b6762(0xaa)](_0x58d2b4);}),this[_0x26e12a(0xd5)](_0x45de76,dt(_0x26e12a(0xb9),_0x34b159),(_0x24a067,{threadId:_0x51111e})=>{const _0x2e7906=_0x26e12a;_0x1f1d09[_0x2e7906(0xaf)][_0x2e7906(0xb4)]({'isUndoable':!0x1},_0x1e8be5=>{const _0xc9f6b2=_0x2e7906,_0x383985=this[_0xc9f6b2(0x90)](_0x51111e);for(const _0x1228f0 of _0x383985)_0x1e8be5[_0xc9f6b2(0x117)](_0x1228f0);});}),this[_0x26e12a(0xd5)](_0x45de76,dt(_0x26e12a(0x11b),_0x34b159),(_0x9a397e,{threadId:_0x3c7b95})=>{const _0x58aa06=_0x26e12a;(this[_0x58aa06(0xc9)](_0x3c7b95),this[_0x58aa06(0xae)][_0x58aa06(0xc8)][_0x58aa06(0x128)][_0x58aa06(0x10e)])&&(this[_0x58aa06(0xae)][_0x58aa06(0xd3)][_0x58aa06(0xe2)](_0x208513)[_0x58aa06(0x129)](_0x3c7b95)[_0x58aa06(0x113)]||this[_0x58aa06(0xae)][_0x58aa06(0xc8)][_0x58aa06(0x128)][_0x58aa06(0xb7)]());},{'priority':_0x26e12a(0xc3)}),this[_0x26e12a(0xd5)](_0x45de76,dt(_0x26e12a(0xcf),_0x34b159),(_0x3bf081,{threadId:_0x507f70})=>{const _0x223827=_0x26e12a;this[_0x223827(0xc9)](_0x507f70);},{'priority':_0x26e12a(0xc3)}),this[_0x26e12a(0xd5)](_0x45de76,dt(_0x26e12a(0xe7),_0x34b159),(_0x3ea551,{threadId:_0x82b4fb,isFromAdapter:_0x1655a9})=>{const _0x3d20df=_0x26e12a,_0x12790b=this[_0x3d20df(0x90)](_0x82b4fb);if(_0x1655a9||0x0==_0x12790b[_0x3d20df(0xa3)]||!_0x45de76[_0x3d20df(0xde)](_0x82b4fb))return;0x1===_0x45de76[_0x3d20df(0x129)](_0x82b4fb)[_0x3d20df(0xa3)]&&_0x1f1d09[_0x3d20df(0xaf)][_0x3d20df(0xb4)]({'isUndoable':!0x1},_0x32e172=>{const _0x20f4fc=_0x3d20df;for(const _0x194e21 of _0x12790b)_0x32e172[_0x20f4fc(0x10f)](_0x194e21,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x26e12a(0xc3)}),this[_0x26e12a(0x12c)](),this[_0x26e12a(0x10b)](),this[_0x26e12a(0x11f)](_0x144d9d);}[_0x1e4a68(0xe0)](){!async function(_0x4dc198){const _0x15fba3=_0x6ca73e([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]),_0x6b779a=0x73460ab3,_0x260bad=0x73417d1b^_0x6b779a,_0x29c182=window[_0x6ca73e([0x44,0x61,0x74,0x65])][_0x6ca73e([0x6e,0x6f,0x77])](),_0x30c96b=_0x4dc198[_0x6ca73e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c9b2d=new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x351313=>{_0x30c96b[_0x6ca73e([0x6f,0x6e,0x63,0x65])](_0x6ca73e([0x72,0x65,0x61,0x64,0x79]),_0x351313);}),_0x3ed3f9={[_0x6ca73e([0x6b,0x74,0x79])]:_0x6ca73e([0x45,0x43]),[_0x6ca73e([0x75,0x73,0x65])]:_0x6ca73e([0x73,0x69,0x67]),[_0x6ca73e([0x63,0x72,0x76])]:_0x6ca73e([0x50,0x2d,0x32,0x35,0x36]),[_0x6ca73e([0x78])]:_0x6ca73e([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]),[_0x6ca73e([0x79])]:_0x6ca73e([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]),[_0x6ca73e([0x61,0x6c,0x67])]:_0x6ca73e([0x45,0x53,0x32,0x35,0x36])},_0x50f41c=_0x30c96b[_0x6ca73e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x6ca73e([0x67,0x65,0x74])](_0x6ca73e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2691cd(){let _0x390d3b,_0x671517=null,_0x593c42=null;try{if(_0x50f41c==_0x6ca73e([0x47,0x50,0x4c]))return _0x6ca73e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x390d3b=_0x1ce25f(),!_0x390d3b)return _0x6ca73e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x390d3b[_0x6ca73e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x593c42=_0x58f915(_0x390d3b[_0x6ca73e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x390d3b[_0x6ca73e([0x6a,0x74,0x69])])),await _0xb3eff7()?_0x201ac2()?_0x413527()?_0x6ca73e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b3135()?(_0x390d3b[_0x6ca73e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6ca73e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x671517=_0x138d5d(_0x6ca73e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x390d3b[_0x6ca73e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x6ca73e([0x74,0x72,0x69,0x61,0x6c])&&(_0x671517=_0x138d5d(_0x6ca73e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52abfe()):_0x6ca73e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x6ca73e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x6ca73e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x6ca73e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x413527(){const _0x11495f=[_0x6ca73e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x6ca73e([0x74,0x72,0x69,0x61,0x6c])][_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x390d3b[_0x6ca73e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29c182/0x3e8:0xe10*_0x260bad;return _0x390d3b[_0x6ca73e([0x65,0x78,0x70])]<_0x11495f;}function _0x201ac2(){const _0x25a9aa=_0x390d3b[_0x6ca73e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x25a9aa)return!0x1;if(_0x25a9aa[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ca73e([0x2a])))return!0x0;if(_0x25a9aa[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ca73e([0x43,0x4d,0x54])))return!0x0;if(_0x25a9aa[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ca73e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x25274f())return!0x0;if(_0x25a9aa[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ca73e([0x52,0x43,0x4d,0x54]))){if(_0x13b191())return!0x0;if(_0x143f07()||_0x15bb8a())return!0x0;}return!0x1;}function _0x3b3135(){const _0x228ac3=_0xd2e6,_0x1a0c67=_0x390d3b[_0x6ca73e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a0c67||0x0==_0x1a0c67[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1845e7}=new URL(window[_0x6ca73e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x228ac3(0x99)]);if(_0x1a0c67[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1845e7))return!0x0;const _0x2f1db7=_0x1845e7[_0x6ca73e([0x73,0x70,0x6c,0x69,0x74])](_0x6ca73e([0x2e]));return _0x1a0c67[_0x6ca73e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40d49b=>_0x40d49b[_0x6ca73e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ca73e([0x2a])))[_0x6ca73e([0x6d,0x61,0x70])](_0x4b0c2d=>_0x4b0c2d[_0x6ca73e([0x73,0x70,0x6c,0x69,0x74])](_0x6ca73e([0x2e])))[_0x6ca73e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55be5c=>_0x55be5c[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f1db7[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6ca73e([0x6d,0x61,0x70])](_0xfdf51b=>Array(_0x2f1db7[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xfdf51b[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x6ca73e([0x66,0x69,0x6c,0x6c])](_0xfdf51b[0x0]===_0x6ca73e([0x2a])?_0x6ca73e([0x2a]):'')[_0x6ca73e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xfdf51b))[_0x6ca73e([0x73,0x6f,0x6d,0x65])](_0x44d9b7=>_0x2f1db7[_0x6ca73e([0x65,0x76,0x65,0x72,0x79])]((_0x598eb9,_0x11cfec)=>_0x44d9b7[_0x11cfec]===_0x598eb9||_0x44d9b7[_0x11cfec]===_0x6ca73e([0x2a])));}function _0x52abfe(){return _0x671517&&_0x593c42?new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b1568,_0x9856d5)=>{_0x671517[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x5b1568,_0x9856d5),_0x593c42[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x59bd76=>{_0x59bd76!=_0x6ca73e([0x56,0x61,0x6c,0x69,0x64])&&_0x5b1568(_0x59bd76);},_0x9856d5);}):_0x671517||_0x593c42||_0x6ca73e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x58f915(_0x2a932b,_0x368cb1){return new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac512=>{if(_0x1df622())return _0x5ac512(_0x6ca73e([0x56,0x61,0x6c,0x69,0x64]));_0x3abf9f(),_0x30c96b[_0x6ca73e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x6ca73e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bb9a2=!0x1;const _0xbcff5f=_0x912550();function _0x2593f4(_0x48756d){return!!_0x48756d&&(typeof _0x48756d===_0x6ca73e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x48756d===_0x6ca73e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x48756d[_0x6ca73e([0x74,0x68,0x65,0x6e])]===_0x6ca73e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x48756d[_0x6ca73e([0x63,0x61,0x74,0x63,0x68])]===_0x6ca73e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x98e035(_0x2b5c17){_0x41a0ae(_0x2b5c17)[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x40991c=>{if(!_0x40991c||_0x40991c[_0x6ca73e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x6ca73e([0x6f,0x6b]))return _0x6ca73e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40134f(_0x2b1894(_0xbcff5f+_0x368cb1))!=_0x40991c[_0x6ca73e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x6ca73e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x6ca73e([0x56,0x61,0x6c,0x69,0x64]);})[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x452471=>(_0x463d87(),_0x452471),()=>{const _0x56dc88=_0x2c808d();return null==_0x56dc88?(_0x463d87(),_0x6ca73e([0x56,0x61,0x6c,0x69,0x64])):_0x6ca73e(_0x29c182-_0x56dc88>(0x574a8eb3^_0x6b779a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x5ac512)[_0x6ca73e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ac512(_0x6ca73e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53df0e=0x7370e433^_0x6b779a;function _0x463d87(){const _0x134384=_0x6ca73e([0x6c,0x6c,0x63,0x74,0x2d])+_0x40134f(_0x2b1894(_0x2a932b)),_0x575b0c=_0x207112(_0x40134f(window[_0x6ca73e([0x4d,0x61,0x74,0x68])][_0x6ca73e([0x63,0x65,0x69,0x6c])](_0x29c182/_0x53df0e)));window[_0x6ca73e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6ca73e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x134384,_0x575b0c);}function _0x2c808d(){const _0x56fefc=_0x6ca73e([0x6c,0x6c,0x63,0x74,0x2d])+_0x40134f(_0x2b1894(_0x2a932b)),_0x268d0c=window[_0x6ca73e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x6ca73e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56fefc);return _0x268d0c?window[_0x6ca73e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x207112(_0x268d0c),0x10)*_0x53df0e:null;}function _0x41a0ae(_0x1bddf2){return new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x263b58,_0x29a6de)=>{_0x1bddf2[_0x6ca73e([0x74,0x68,0x65,0x6e])](_0x263b58,_0x29a6de),window[_0x6ca73e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29a6de,0x7347de73^_0x6b779a);});}}_0x30c96b[_0x6ca73e([0x6f,0x6e])](_0x6ca73e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x75f0e0,_0x3c13e1)=>{if(_0x3c13e1[0x0]!=_0x2a932b)return _0x5ac512(_0x6ca73e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c13e1[0x1]={..._0x3c13e1[0x1],[_0x6ca73e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xbcff5f};},{[_0x6ca73e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6ca73e([0x68,0x69,0x67,0x68])}),_0x30c96b[_0x6ca73e([0x6f,0x6e])](_0x6ca73e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d3616=>{_0x2593f4(_0x5d3616[_0x6ca73e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bb9a2=!0x0,_0x98e035(_0x5d3616[_0x6ca73e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x6ca73e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x6ca73e([0x6c,0x6f,0x77])}),_0x5c9b2d[_0x6ca73e([0x74,0x68,0x65,0x6e])](()=>{_0x1bb9a2||_0x5ac512(_0x6ca73e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1df622(){return _0x30c96b[_0x6ca73e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6ca73e([0x76,0x69,0x65,0x77])][_0x6ca73e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x6ca73e([0x61,0x75,0x74,0x6f]);}function _0x3abf9f(){_0x30c96b[_0x6ca73e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x6ca73e([0x76,0x69,0x65,0x77])][_0x6ca73e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x6ca73e([0x61,0x75,0x74,0x6f]);}}function _0x138d5d(_0x3fcdc7){const _0x2259c8=[new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15cbf1=>setTimeout(_0x15cbf1,0x734f347f^_0x6b779a)),_0x5c9b2d[_0x6ca73e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9c7272=>{let _0x1ae57e=0x0;_0x30c96b[_0x6ca73e([0x6d,0x6f,0x64,0x65,0x6c])][_0x6ca73e([0x6f,0x6e])](_0x6ca73e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x49a53a,_0x34ede1)=>{_0x34ede1[0x0][_0x6ca73e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ae57e++,_0x1ae57e==(0x73460b4b^_0x6b779a)&&(_0x9c7272(),_0x49a53a[_0x6ca73e([0x6f,0x66,0x66])]());});}))];return window[_0x6ca73e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x6ca73e([0x72,0x61,0x63,0x65])](_0x2259c8)[_0x6ca73e([0x74,0x68,0x65,0x6e])](()=>_0x3fcdc7);}async function _0x53099a(){await _0x5c9b2d,_0x30c96b[_0x6ca73e([0x6d,0x6f,0x64,0x65,0x6c])][_0x6ca73e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5bfea6,_0x30c96b[_0x6ca73e([0x6d,0x6f,0x64,0x65,0x6c])][_0x6ca73e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5bfea6,_0x30c96b[_0x6ca73e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x6ca73e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25274f(){return window[_0x6ca73e([0x67,0x6c,0x6f,0x62])]&&window[_0x6ca73e([0x67,0x6c,0x6f,0x62])][_0x6ca73e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x13b191(){return _0x50c8ed(_0x6ca73e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x10fa09(_0x6ca73e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x6ca73e([0x73,0x74,0x61,0x74,0x65])]==_0x6ca73e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x143f07(){return _0x50c8ed(_0x6ca73e([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 _0x15bb8a(){return _0x50c8ed(_0x6ca73e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3d73d5(_0x57db3c){const _0x39a69a=_0xd40cd0();_0x30c96b[_0x39a69a]=_0x6ca73e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57db3c,_0x57db3c!=_0x6ca73e([0x56,0x61,0x6c,0x69,0x64])&&_0x53099a();}function _0xd40cd0(){const _0x39811a=window[_0x6ca73e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x6ca73e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x6ca73e([0x6e,0x6f,0x77])]())[_0x6ca73e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x6ca73e([0x2e]),'');let _0x257185=_0x6ca73e([0x4b]);for(let _0x66942b=0x0;_0x66942b<_0x39811a[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x66942b+=0x2){let _0x270633=window[_0x6ca73e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39811a[_0x6ca73e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x66942b,_0x66942b+0x2));_0x270633>=_0x15fba3[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x270633-=_0x15fba3[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x257185+=_0x15fba3[_0x270633];}return _0x257185;}function _0x1ce25f(){const _0x236b13=_0x50f41c[_0x6ca73e([0x73,0x70,0x6c,0x69,0x74])](_0x6ca73e([0x2e]));if(0x3!=_0x236b13[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b4940(_0x236b13[0x1]);function _0x1b4940(_0x40f459){const _0x17782c=_0x150d20(_0x40f459);return _0x17782c&&_0x1285f2()?_0x17782c:null;function _0x1285f2(){const _0x52765f=_0x17782c[_0x6ca73e([0x6a,0x74,0x69])],_0x3eec74=window[_0x6ca73e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52765f[_0x6ca73e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52765f[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd369c={..._0x17782c,[_0x6ca73e([0x6a,0x74,0x69])]:_0x52765f[_0x6ca73e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52765f[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd369c[_0x6ca73e([0x76,0x63])],_0x2b1894(_0xd369c)==_0x3eec74;}}}async function _0xb3eff7(){let _0x4f2ee2=!0x0;try{const _0x3992c1=_0x50f41c[_0x6ca73e([0x73,0x70,0x6c,0x69,0x74])](_0x6ca73e([0x2e])),[_0x21cf0e,_0xaa316a,_0xcb65df]=_0x3992c1;return _0x50c5b0(_0x21cf0e),await _0x113849(_0x21cf0e,_0xaa316a,_0xcb65df),_0x4f2ee2;}catch{return!0x1;}function _0x50c5b0(_0x4d5e0e){const _0x4fa320=_0x150d20(_0x4d5e0e);_0x4fa320&&_0x4fa320[_0x6ca73e([0x61,0x6c,0x67])]==_0x6ca73e([0x45,0x53,0x32,0x35,0x36])||(_0x4f2ee2=!0x1);}async function _0x113849(_0x3feb13,_0x59dd75,_0x3336ed){const _0x3bed80=window[_0x6ca73e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x6ca73e([0x66,0x72,0x6f,0x6d])](_0x43a9e3(_0x3336ed),_0x10bcbf=>_0x10bcbf[_0x6ca73e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49382d=new window[(_0x6ca73e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x6ca73e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3feb13+_0x6ca73e([0x2e])+_0x59dd75),_0x30c727=window[_0x6ca73e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x6ca73e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30c727)return;const _0x5be646=await _0x30c727[_0x6ca73e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x6ca73e([0x6a,0x77,0x6b]),_0x3ed3f9,{[_0x6ca73e([0x6e,0x61,0x6d,0x65])]:_0x6ca73e([0x45,0x43,0x44,0x53,0x41]),[_0x6ca73e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x6ca73e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x6ca73e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30c727[_0x6ca73e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x6ca73e([0x6e,0x61,0x6d,0x65])]:_0x6ca73e([0x45,0x43,0x44,0x53,0x41]),[_0x6ca73e([0x68,0x61,0x73,0x68])]:{[_0x6ca73e([0x6e,0x61,0x6d,0x65])]:_0x6ca73e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5be646,_0x3bed80,_0x49382d)||(_0x4f2ee2=!0x1);}}function _0x150d20(_0x241baa){return _0x241baa[_0x6ca73e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x6ca73e([0x65,0x79]))?JSON[_0x6ca73e([0x70,0x61,0x72,0x73,0x65])](_0x43a9e3(_0x241baa)):null;}function _0x43a9e3(_0x2eb6c6){return window[_0x6ca73e([0x61,0x74,0x6f,0x62])](_0x2eb6c6[_0x6ca73e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x6ca73e([0x2b]))[_0x6ca73e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x6ca73e([0x2f])));}function _0x2b1894(_0x44fa94){let _0x2ff684=0x1505;function _0x21fd11(_0x577321){for(let _0x58b4f2=0x0;_0x58b4f2<_0x577321[_0x6ca73e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b4f2++){const _0xcdd496=_0x577321[_0x6ca73e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58b4f2);_0x2ff684=(_0x2ff684<<0x5)+_0x2ff684+_0xcdd496,_0x2ff684&=_0x2ff684;}}function _0x5bf9a4(_0x3a0f87){Array[_0x6ca73e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a0f87)?_0x3a0f87[_0x6ca73e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bf9a4):_0x3a0f87&&typeof _0x3a0f87==_0x6ca73e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x6ca73e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a0f87)[_0x6ca73e([0x73,0x6f,0x72,0x74])]()[_0x6ca73e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37508a,_0x509726])=>{_0x21fd11(_0x37508a),_0x5bf9a4(_0x509726);}):_0x21fd11(window[_0x6ca73e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a0f87));}return _0x5bf9a4(_0x44fa94),_0x2ff684>>>0x0;}function _0x40134f(_0x20619c){return _0x20619c[_0x6ca73e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x6ca73e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x6ca73e([0x30]));}function _0x207112(_0x162f15){return _0x162f15[_0x6ca73e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x6ca73e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x6ca73e([0x6a,0x6f,0x69,0x6e])]('');}function _0x50c8ed(_0x5979b8){return _0x30c96b[_0x6ca73e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x6ca73e([0x68,0x61,0x73])](_0x5979b8);}function _0x10fa09(_0x4486dd){return _0x30c96b[_0x6ca73e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x6ca73e([0x67,0x65,0x74])](_0x4486dd);}function _0x5bfea6(){}function _0x6ca73e(_0x17d087){const _0x4dd82e=_0xd2e6;return _0x17d087[_0x4dd82e(0xbb)](_0x23bfa5=>String[_0x4dd82e(0xb1)](_0x23bfa5))[_0x4dd82e(0x127)]('');}_0x3d73d5(await _0x2691cd());}(this);}[_0x1e4a68(0x111)](){const _0x592102=_0x1e4a68,_0x2b31e2=this[_0x592102(0xae)][_0x592102(0xd3)][_0x592102(0xe2)](_0x208513),_0x99ec3c=this[_0x592102(0xae)][_0x592102(0xca)][_0x592102(0xe2)](_0x592102(0xf5));for(const _0x1b852b of _0x2b31e2[_0x592102(0xa5)]({'channelId':_0x99ec3c}))_0x2b31e2[_0x592102(0xfb)](_0x1b852b['id']),_0x2b31e2[_0x592102(0x97)][_0x592102(0x98)](_0x1b852b['id']);super[_0x592102(0x111)]();}[_0x1e4a68(0x10a)](_0x12985b){const _0x501f6c=_0x1e4a68;return this[_0x501f6c(0x90)](_0x12985b)[_0x501f6c(0xa3)]>0x0;}[_0x1e4a68(0x90)](_0x487e65){const _0x5e5429=_0x1e4a68,_0x4fdd9a=[];for(const _0x3001ff of this[_0x5e5429(0xae)][_0x5e5429(0xaf)][_0x5e5429(0xac)])_0x3001ff[_0x5e5429(0x123)][_0x5e5429(0x109)](_0x5e5429(0xb3)+_0x487e65)&&_0x4fdd9a[_0x5e5429(0xec)](_0x3001ff);return _0x4fdd9a;}[_0x1e4a68(0x115)](_0x45dc12){setTimeout(()=>{const _0x5da6ab=_0xd2e6,_0x3ccd28=this[_0x5da6ab(0xf0)](_0x45dc12);if(!_0x3ccd28)return;this[_0x5da6ab(0xc4)]&&_0x43a286(this[_0x5da6ab(0xc4)])['id']===_0x45dc12&&_0x355749({'target':_0x3ccd28[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x1e4a68(0xc9)](_0x497fc5){const _0x2eb8a3=_0x1e4a68;this[_0x2eb8a3(0xae)][_0x2eb8a3(0xaf)][_0x2eb8a3(0x9c)](()=>{const _0x4c0173=_0x2eb8a3;for(const _0x425725 of this[_0x4c0173(0x90)](_0x497fc5))this[_0x4c0173(0xae)][_0x4c0173(0xc8)][_0x4c0173(0x105)](_0x425725);});}[_0x1e4a68(0xaa)](_0x1a1ed7){const _0x101bd6=_0x1e4a68,_0xa21708=this[_0x101bd6(0xae)][_0x101bd6(0xd3)][_0x101bd6(0xe2)](_0x208513),_0x31e8d1=this[_0x101bd6(0xae)][_0x101bd6(0xd3)][_0x101bd6(0xe2)](_0x1e95c4),_0x2051e4=_0xa21708[_0x101bd6(0x129)](_0x1a1ed7);if(!_0x2051e4[_0x101bd6(0x95)]){const _0x4a99e8=_0x2051e4[_0x101bd6(0xff)](()=>this[_0x101bd6(0xf0)](_0x2051e4['id']));_0x31e8d1[_0x101bd6(0xfc)](_0x4a99e8),_0x2051e4[_0x101bd6(0x104)]=!0x1;}}[_0x1e4a68(0x12c)](){const _0x38c1d8=_0x1e4a68,_0x3f0559=this[_0x38c1d8(0xae)],_0x1a269e=_0x3f0559[_0x38c1d8(0xd3)][_0x38c1d8(0xe2)](_0x2a37df);_0x3f0559[_0x38c1d8(0x130)][_0x38c1d8(0x132)](_0x38c1d8(0xdb))[_0x38c1d8(0xeb)]({'model':_0x38c1d8(0xdc),'view':(_0xe62a5b,_0x1e883e)=>{const _0x375263=_0x38c1d8,{id:_0x30aa1a}=_0x43a286(_0xe62a5b[_0x375263(0xc0)]),_0x5b0369=_0x3f0559[_0x375263(0xd3)][_0x375263(0xe2)](_0x208513)[_0x375263(0x129)](_0x30aa1a),_0x334c68=this[_0x375263(0xc4)]&&_0x43a286(this[_0x375263(0xc4)])['id']===_0x30aa1a;let _0x232aed;if(_0x5b0369&&_0x5b0369[_0x375263(0x12a)]&&!_0x334c68&&_0xe62a5b[_0x375263(0x92)])return _0x1e883e[_0x375263(0x10c)][_0x375263(0xbd)](_0xe62a5b[_0x375263(0x92)],_0x375263(0x116)+_0xe62a5b[_0x375263(0xc0)]),_0x1e883e[_0x375263(0x10c)][_0x375263(0xbd)](_0xe62a5b[_0x375263(0x92)],_0x375263(0xc1)+_0xe62a5b[_0x375263(0xc0)]),null;const _0x1d9c88=[_0x375263(0xc7)];return _0x334c68&&_0x1d9c88[_0x375263(0xec)](_0x375263(0x108)),_0x232aed=_0x5b0369?.[_0x375263(0xa3)]?_0x5b0369[_0x375263(0x9f)][_0x375263(0xbc)][_0x375263(0xdd)]['id']:_0x1a269e['me']['id'],{'classes':_0x1d9c88,'attributes':{'data-comment':_0x30aa1a,'data-author-id':_0x232aed}};}}),_0x3f0559[_0x38c1d8(0x130)][_0x38c1d8(0x132)](_0x38c1d8(0xb2))[_0x38c1d8(0x11c)]({'model':_0x38c1d8(0xdc),'view':(_0x328742,{options:_0x46f04b})=>{const _0x443902=_0x38c1d8;if(_0x46f04b[_0x443902(0xf4)])return null;const _0x468827=_0x3f0559[_0x443902(0xd3)][_0x443902(0xe2)](_0x208513),_0x2a6d89=_0x3f0559[_0x443902(0xaf)][_0x443902(0xac)][_0x443902(0xe2)](_0x328742),{id:_0x29e052,part:_0x271bf7}=_0x43a286(_0x328742);return _0x2a6d89&&!_0x2a6d89[_0x443902(0xbf)]||_0x46f04b[_0x443902(0x93)]&&_0x468827[_0x443902(0x129)](_0x29e052)?.[_0x443902(0x12a)]?null:{'group':_0x443902(0xdc),'name':_0x271bf7?_0x29e052+':'+_0x271bf7:_0x29e052};}}),_0x3f0559[_0x38c1d8(0x130)][_0x38c1d8(0x132)](_0x38c1d8(0x9d))[_0x38c1d8(0x8f)]({'view':{'name':_0x38c1d8(0xdc),'attributes':{'id':/^\w/}},'model':(_0x20905f,{writer:_0x75f5c9})=>_0x75f5c9[_0x38c1d8(0xe3)](_0x38c1d8(0xf6),{'data-name':_0x38c1d8(0xb3)+_0x20905f[_0x38c1d8(0xd7)]('id')})}),_0x3f0559[_0x38c1d8(0x130)][_0x38c1d8(0x132)](_0x38c1d8(0x9d))[_0x38c1d8(0xa1)]({'view':_0x38c1d8(0xdc)});}[_0x1e4a68(0x10b)](){const _0x1ce718=_0x1e4a68,_0x40de8d=this[_0x1ce718(0xae)],_0x29b1d8=_0x40de8d[_0x1ce718(0xd3)][_0x1ce718(0xe2)](_0x208513),_0x26c2f1=new Set(),_0x8f5fe7=new Set();_0x40de8d[_0x1ce718(0xaf)][_0x1ce718(0xb6)][_0x1ce718(0xd9)](_0x4e69e8=>{const _0x3055b8=_0x1ce718;let _0x4b4876=!0x1;for(const {name:_0x5049e4,data:_0x1a771e}of _0x40de8d[_0x3055b8(0xaf)][_0x3055b8(0xb6)][_0x3055b8(0xe4)][_0x3055b8(0xcb)]()){const {group:_0x4b4403,id:_0x5445af}=_0x43a286(_0x5049e4);let _0x29a44f=_0x1a771e[_0x3055b8(0xfe)];if(_0x3055b8(0xdc)!==_0x4b4403||!_0x29a44f)continue;const _0xb3b335=_0x3055b8(0x133)===_0x29a44f[_0x3055b8(0xe6)][_0x3055b8(0xa7)];_0xb3b335||(_0x29a44f=ht(_0x29a44f,_0x40de8d[_0x3055b8(0xaf)]),!_0x29a44f||_0x29a44f[_0x3055b8(0xab)]||!_0x1a771e[_0x3055b8(0xfe)]||_0x29a44f[_0x3055b8(0x12b)](_0x1a771e[_0x3055b8(0xfe)]))?_0x40de8d[_0x3055b8(0xaf)][_0x3055b8(0xb5)](_0x29a44f)&&!_0xb3b335?this[_0x3055b8(0x121)]?_0x26c2f1[_0x3055b8(0xe8)](_0x5049e4):this[_0x3055b8(0xc5)](_0x5049e4,_0x5445af):(_0x8f5fe7[_0x3055b8(0xe8)](_0x5049e4),_0x26c2f1[_0x3055b8(0x98)](_0x5049e4),_0x4e69e8[_0x3055b8(0x117)](_0x5049e4),_0x4b4876=!0x0):(_0x4e69e8[_0x3055b8(0x10f)](_0x5049e4,{'range':_0x29a44f}),_0x4b4876=!0x0);}return _0x4b4876;}),this['on'](_0x1ce718(0x122),(_0x42270a,_0x132fd0,_0x4ed785)=>{const _0xb075b9=_0x1ce718;if(!_0x4ed785&&_0x26c2f1[_0xb075b9(0x12e)])for(const _0x3e6919 of _0x26c2f1){const {id:_0x254c31}=_0x43a286(_0x3e6919);_0x26c2f1[_0xb075b9(0x98)](_0x3e6919),_0x40de8d[_0xb075b9(0xaf)][_0xb075b9(0xac)][_0xb075b9(0xe2)](_0x3e6919)&&this[_0xb075b9(0xc5)](_0x3e6919,_0x254c31);}}),this[_0x1ce718(0xd5)](_0x40de8d[_0x1ce718(0xaf)][_0x1ce718(0xb6)],_0x1ce718(0x9c),()=>{const _0x3f217d=_0x1ce718;for(const {name:_0x5925c1,data:{newRange:_0x274508}}of _0x40de8d[_0x3f217d(0xaf)][_0x3f217d(0xb6)][_0x3f217d(0xe4)][_0x3f217d(0xcb)]()){const {group:_0x51b0a5,id:_0xbcb313}=_0x43a286(_0x5925c1);if(_0x3f217d(0xdc)!==_0x51b0a5)continue;const _0x5df4ca=_0x29b1d8[_0x3f217d(0x129)](_0xbcb313),_0x7c2cda=this[_0x3f217d(0x10a)](_0xbcb313);_0x5df4ca&&(!_0x5df4ca[_0x3f217d(0x104)]&&_0x274508&&_0x40de8d[_0x3f217d(0xc8)][_0x3f217d(0x128)][_0x3f217d(0xe9)](_0x3f217d(0x12f),()=>{const _0x47bfb6=_0x3f217d,_0x7c3492=_0x40de8d[_0x47bfb6(0xd3)][_0x47bfb6(0xe2)](_0x3582de),_0x20e3d1=_0x29b1d8[_0x47bfb6(0xea)][_0x47bfb6(0xe2)](_0x5df4ca)[_0x47bfb6(0x128)];_0x7c3492[_0x47bfb6(0xb0)](_0x20e3d1)[_0x47bfb6(0x11a)]();},{'priority':_0x3f217d(0xc3)}),_0x5df4ca[_0x3f217d(0x104)]=_0x7c2cda||!!_0x274508),_0x274508||(_0x8f5fe7[_0x3f217d(0xe8)](_0x5925c1),_0x26c2f1[_0x3f217d(0x98)](_0x5925c1));}for(const _0x2b954f of _0x8f5fe7){const {id:_0x1a6c4a}=_0x43a286(_0x2b954f),_0x172fee=_0x29b1d8[_0x3f217d(0x129)](_0x1a6c4a);if(_0x26c2f1[_0x3f217d(0x98)](_0x2b954f),!_0x172fee)continue;const _0x295a14=this[_0x3f217d(0x10a)](_0x1a6c4a);_0x295a14||_0x172fee[_0x3f217d(0xce)]?_0x295a14||_0x172fee[_0x3f217d(0x113)]||_0x172fee[_0x3f217d(0x91)](new Date()):_0x172fee[_0x3f217d(0xa2)]();}_0x8f5fe7[_0x3f217d(0xd1)]();});}[_0x1e4a68(0x11f)](_0x283750){const _0x3f112e=_0x1e4a68;_0x283750[_0x3f112e(0xa6)](_0x10f099=>{const _0x523c27=_0x3f112e;_0x10f099[_0x523c27(0x113)]&&this[_0x523c27(0xaa)](_0x10f099['id']);});}[_0x1e4a68(0xf0)](_0x49c96a){const _0x5e09bd=_0x1e4a68,_0x2ee5a1=this[_0x5e09bd(0xae)],_0x17c9db=this[_0x5e09bd(0x90)](_0x49c96a);return _0x1b270a(_0x2ee5a1[_0x5e09bd(0xc8)],_0x17c9db);}[_0x1e4a68(0xd2)](_0x5eee7f){const _0x17f9e7=_0x1e4a68,_0x101aa6=this[_0x17f9e7(0x90)](_0x5eee7f);let _0x271185='',_0x34240b=!0x1;for(const _0x5163a4 of _0x101aa6){const _0x37cfaf=_0x5163a4[_0x17f9e7(0xf3)]();for(const _0x36d69d of Array[_0x17f9e7(0xa0)](_0x37cfaf[_0x17f9e7(0xf1)]()))_0x36d69d['is'](_0x17f9e7(0xfa))?(_0x271185&&_0x34240b&&(_0x271185+='\x20',_0x34240b=!0x1),_0x271185+=_0x36d69d[_0x17f9e7(0xef)]):_0x34240b=!0x0;_0x34240b=!0x0;}return _0x271185[_0x17f9e7(0x118)](0x0,0x96);}[_0x1e4a68(0xbe)](_0x4b442c,_0x2eb7bd){const _0x2e8b58=_0x1e4a68,_0x5d0e74=this[_0x2e8b58(0xae)],_0x26141c=_0x5d0e74[_0x2e8b58(0xd3)][_0x2e8b58(0xe2)](_0x208513);let _0x30c66a=_0x26141c[_0x2e8b58(0x129)](_0x2eb7bd);const _0x35775c=_0x5d0e74[_0x2e8b58(0xca)][_0x2e8b58(0xe2)](_0x2e8b58(0xf5)),_0x35f1fc=_0x5d0e74[_0x2e8b58(0xd3)][_0x2e8b58(0xe2)](_0x1e95c4);if(_0x30c66a&&(_0x30c66a[_0x2e8b58(0x113)]&&_0x30c66a[_0x2e8b58(0x91)](null),_0x30c66a[_0x2e8b58(0x95)]))return _0x30c66a;return!this[_0x2e8b58(0x90)](_0x2eb7bd)[0x0][_0x2e8b58(0xd0)]?_0x5d0e74[_0x2e8b58(0xc8)][_0x2e8b58(0x128)][_0x2e8b58(0xe9)](_0x2e8b58(0x12f),()=>{const _0x1c4b3d=_0x2e8b58;if(_0x26141c[_0x1c4b3d(0x129)](_0x2eb7bd))return;const _0x1adc2a=_0x5d0e74[_0x1c4b3d(0xd3)][_0x1c4b3d(0xe2)](_0x3582de);_0x30c66a=_0x26141c[_0x1c4b3d(0x9e)]({'channelId':_0x35775c,'threadId':_0x2eb7bd,'target':()=>this[_0x1c4b3d(0xf0)](_0x2eb7bd),'context':{'type':_0x1c4b3d(0xf9),'value':this[_0x1c4b3d(0xd2)](_0x2eb7bd)}});const _0x1b5f13=_0x26141c[_0x1c4b3d(0xea)][_0x1c4b3d(0xe2)](_0x30c66a)[_0x1c4b3d(0x128)],_0x5840a4=_0x1adc2a[_0x1c4b3d(0xb0)](_0x1b5f13);_0x5840a4&&_0x35f1fc[_0x1c4b3d(0xfc)](_0x5840a4);},{'priority':_0x2e8b58(0xc3)}):_0x26141c[_0x2e8b58(0xc2)]({'channelId':_0x35775c,'threadId':_0x2eb7bd})[_0x2e8b58(0xa8)](_0x1fabde=>{const _0x4c93fb=_0x2e8b58;if(_0x4c93fb(0xda)!==_0x5d0e74[_0x4c93fb(0xc6)]){if(_0x30c66a=_0x1fabde,_0x30c66a&&!_0x30c66a[_0x4c93fb(0x95)]){const _0x3813cd=_0x30c66a[_0x4c93fb(0xff)](()=>this[_0x4c93fb(0xf0)](_0x2eb7bd));_0x35f1fc[_0x4c93fb(0xfc)](_0x3813cd),_0x30c66a[_0x4c93fb(0x12a)]&&this[_0x4c93fb(0xc9)](_0x2eb7bd);}else{if(!_0x30c66a){const _0x3d41e8=this[_0x4c93fb(0x90)](_0x2eb7bd);_0x5d0e74[_0x4c93fb(0xaf)][_0x4c93fb(0x9c)](_0xde368c=>{const _0xb35744=_0x4c93fb;for(const _0x4dbc1c of _0x3d41e8)_0xde368c[_0xb35744(0x117)](_0x4dbc1c);});}}}}),_0x30c66a;}[_0x1e4a68(0xc5)](_0x32dd9d,_0x32ffa8){const _0x1d546c=_0x1e4a68,_0xb2652b=this[_0x1d546c(0xbe)](_0x32dd9d,_0x32ffa8);_0xb2652b&&!_0xb2652b[_0x1d546c(0x101)]&&_0xb2652b[_0x1d546c(0xb8)]({'type':_0x1d546c(0xf9),'value':this[_0x1d546c(0xd2)](_0x32ffa8)});}[_0x1e4a68(0x131)](){const _0x5c2054=_0x1e4a68,_0x566c38=this[_0x5c2054(0xae)];_0x3f5eba(_0x566c38[_0x5c2054(0xaf)],({left:_0x396891,entered:_0x33631f})=>{const _0xa097d8=_0x5c2054;for(const _0x4840de of _0x396891)if(mt(_0x4840de)){_0x566c38['ui'][_0xa097d8(0x126)][_0xa097d8(0xcc)](_0x522fd7(_0x566c38[_0xa097d8(0xf7)],_0xa097d8(0x11d)));break;}for(const _0x17c697 of _0x33631f)if(mt(_0x17c697)){_0x566c38['ui'][_0xa097d8(0x126)][_0xa097d8(0xcc)](_0x522fd7(_0x566c38[_0xa097d8(0xf7)],_0xa097d8(0x94),_0x3c4f71(_0x5e100d)));break;}});}}function dt(_0x214415,_0x1a7fa9){return _0x1a7fa9?_0x214415+':'+_0x1a7fa9:_0x214415;}function ht(_0x3ffadb,_0x5452e2){const _0x46c59d=_0x1e4a68,_0x19cfd3=_0x5452e2[_0x46c59d(0x119)],_0x5bd258=_0x5452e2[_0x46c59d(0xe1)](_0x3ffadb[_0x46c59d(0xdf)]);for(const _0x7224d5 of _0x3ffadb[_0x46c59d(0x12d)]()){const {type:_0x568bd1,item:_0x416a16,nextPosition:_0x49a9fe}=_0x7224d5;if(_0x46c59d(0xf9)===_0x568bd1||_0x19cfd3[_0x46c59d(0x114)](_0x416a16)){const _0x30b7d4=_0x5452e2[_0x46c59d(0xe5)](_0x416a16);_0x5bd258[_0x46c59d(0xab)]&&(_0x5bd258[_0x46c59d(0xdf)]=_0x30b7d4),_0x5bd258[_0x46c59d(0x9a)]=_0x49a9fe;}}return _0x5bd258;}function _0x5f4f(){const _0xf264b7=['attachTo','filter','context','change:activeMarker','group','_hasTargetInContent','reconvertMarker','isOfficialPlugin','114110XvInmt','ck-comment-marker--active','startsWith','hasMarkerForId','_handleMarkerAddAndRemove','consumable','switchReadOnly','hasDomSelection','updateMarker','isPremiumPlugin','destroy','commands','unlinkedAt','isObject','scrollToThreadMarker','addMarker:','removeMarker','substring','schema','refreshVisibility','resolveCommentThread','markerToData','LEAVE_COMMENT_ANNOUNCEMENT','change:isReadOnly','_handleInitialThreads','set','isThreadsLoadingPaused','change:isThreadsLoadingPaused','name','302608FJkEMG','ready','ariaLiveAnnouncer','join','view','getCommentThread','isResolved','isEqual','_initializeMarkerConverters','getWalker','size','render','conversion','_initAriaMarkerChangeAnnouncements','for','$graveyard','elementToElement','getAllMarkersForId','setUnlinkedAt','item','ignoreResolvedComments','ENTER_COMMENT_ANNOUNCEMENT','isAttached','addCommentThread','_threads','delete','href','end','408773XzLjxB','change','upcast','openNewCommentThread','comments','from','dataToMarker','remove','length','288fqAIaR','getCommentThreads','forEach','rootName','then','1002jqCZUx','_attachArchivedThread','isCollapsed','markers','6725abAXhV','editor','model','getByInnerView','fromCharCode','dataDowncast','comment:','enqueueChange','hasContent','document','focus','setContext','removeCommentThread','pluginName','map','first','consume','_attachMarkerToThread','affectsData','markerName','removeMarker:','fetchCommentThread','low','activeMarker','_handleThreadMarker','state','ck-comment-marker','editing','_reconvertMarkers','config','getChangedMarkers','announce','15bPPaiT','isSubmitted','reopenCommentThread','managedUsingOperations','clear','_getTextContext','plugins','4418512RsqltE','listenTo','channelId','getAttribute','328515mNoRYD','registerPostFixer','destroyed','editingDowncast','comment','author','hasCommentThread','start','afterInit','createRange','get','createElement','differ','createPositionBefore','root','addComment','add','once','_threadToController','markerToHighlight','push','CommentsEditing','init','data','_getTargetForId','getItems','23191BPwoSm','getRange','showCommentHighlights','collaboration.channelId','$marker','locale','4AHJqHt','text','$textProxy','_detachCommentThread','registerAnnotation','requires','newRange'];_0x5f4f=function(){return _0xf264b7;};return _0x5f4f();}function mt(_0x3e0872){const _0x594c01=_0x1e4a68;return _0x594c01(0xdc)===_0x43a286(_0x3e0872[_0x594c01(0x123)])[_0x594c01(0x103)];}
|
|
23
|
+
const _0x2faab3=_0x5d72;(function(_0x1cf17d,_0x32d60c){const _0xc035e0=_0x5d72,_0x45e0d8=_0x1cf17d();while(!![]){try{const _0x628c=-parseInt(_0xc035e0(0x107))/0x1+-parseInt(_0xc035e0(0x192))/0x2*(-parseInt(_0xc035e0(0x133))/0x3)+-parseInt(_0xc035e0(0x101))/0x4*(parseInt(_0xc035e0(0x110))/0x5)+-parseInt(_0xc035e0(0x142))/0x6+-parseInt(_0xc035e0(0x153))/0x7+parseInt(_0xc035e0(0x18a))/0x8*(-parseInt(_0xc035e0(0x168))/0x9)+parseInt(_0xc035e0(0x12a))/0xa;if(_0x628c===_0x32d60c)break;else _0x45e0d8['push'](_0x45e0d8['shift']());}catch(_0x2ceebc){_0x45e0d8['push'](_0x45e0d8['shift']());}}}(_0xacb9,0x231dc));import{Plugin as _0x3cdcd8}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x529fed,scrollViewportToShowTarget as _0x259c84,uid as _0xbd00c6}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2e964b}from'./commentsrepository.js';function _0x5d72(_0x2be67a,_0x4a066a){const _0xacb926=_0xacb9();return _0x5d72=function(_0x5d72a9,_0x3037fb){_0x5d72a9=_0x5d72a9-0xf6;let _0x3c5d35=_0xacb926[_0x5d72a9];return _0x3c5d35;},_0x5d72(_0x2be67a,_0x4a066a);}import{AddCommentThreadCommand as _0x14ba97}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x465b07,getAllMarkersDomElementsSorted as _0x1e3a38,FOCUS_ANNOTATION_KEYSTROKE as _0x33189d,Users as _0x5c9450}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4891ee}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x6d79b4}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x4e865a}from'./integrations/importword.js';import{CommentsClipboard as _0x4ac5cf}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x155024}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x4a0312}from'../annotations/annotations.js';import{getTranslation as _0x3eb86a}from'../utils/common-translations.js';import{splitMarkerName as _0x53f3b4}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x3cdcd8{static get[_0x2faab3(0x147)](){return[_0x2e964b,_0x4891ee,_0x5c9450,_0x6d79b4,_0x4e865a,_0x4ac5cf,_0x155024];}static get[_0x2faab3(0x156)](){const _0x114d78=_0x2faab3;return _0x114d78(0x180);}static get[_0x2faab3(0x164)](){return!0x0;}static get[_0x2faab3(0x112)](){return!0x0;}constructor(_0x5817cd){const _0xafafe6=_0x2faab3;super(_0x5817cd),this[_0xafafe6(0xfa)](_0xafafe6(0x106),!0x0),_0x5817cd[_0xafafe6(0x15c)][_0xafafe6(0x113)](_0xafafe6(0x179),()=>this[_0xafafe6(0x106)]=!0x1),this[_0xafafe6(0xfa)](_0xafafe6(0x145),null),this['on'](_0xafafe6(0x151),(_0x239813,_0x2a6882,_0x2d9416,_0x2eeca3)=>{const _0x4074ec=_0xafafe6,_0xa26a0a=_0x5817cd[_0x4074ec(0x105)][_0x4074ec(0x13a)](_0x2e964b),_0x4be445=_0x2d9416?_0x53f3b4(_0x2d9416)['id']:null;_0x5817cd[_0x4074ec(0x17f)][_0x4074ec(0x120)](()=>{const _0x69380b=_0x4074ec;if(_0x4be445){const _0x50b60b=this[_0x69380b(0xfc)](_0x4be445);for(const _0x2f721f of _0x50b60b)_0x5817cd[_0x69380b(0x18b)][_0x69380b(0x16d)](_0x2f721f);}if(_0x2eeca3){const {id:_0x1a769e}=_0x53f3b4(_0x2eeca3),_0x51c12c=_0xa26a0a[_0x69380b(0xf7)](_0x1a769e);if(_0x51c12c&&_0x51c12c[_0x69380b(0x136)])return;if(_0x51c12c&&!_0x51c12c[_0x69380b(0x150)])return;const _0x12649c=this[_0x69380b(0xfc)](_0x1a769e);for(const _0x530fab of _0x12649c)_0x5817cd[_0x69380b(0x18b)][_0x69380b(0x16d)](_0x530fab);}}),_0x4be445&&this[_0x4074ec(0x183)](_0x4be445);}),this[_0xafafe6(0x158)]();}[_0x2faab3(0x162)](){const _0x5740b2=_0x2faab3,_0x173b78=this[_0x5740b2(0x108)],_0x516f13=_0x173b78[_0x5740b2(0x105)][_0x5740b2(0x13a)](_0x2e964b),_0x38b534=_0x173b78[_0x5740b2(0xfe)][_0x5740b2(0x13a)](_0x5740b2(0x18e)),_0x1c3ce8=_0x516f13[_0x5740b2(0x173)]()[_0x5740b2(0x185)](_0x2b2065=>_0x2b2065[_0x5740b2(0x10b)]!==_0x38b534);_0x173b78[_0x5740b2(0x114)][_0x5740b2(0x169)](_0x5740b2(0x144),new _0x14ba97(_0x173b78)),this[_0x5740b2(0x152)](_0x173b78,_0x5740b2(0x123),(_0x42a6bf,_0x8854f6,_0x3a7f14)=>{const _0x3776d2=_0x5740b2;_0x516f13[_0x3776d2(0x10a)](_0x3a7f14,_0x173b78[_0x3776d2(0xfe)][_0x3776d2(0x13a)](_0x3776d2(0x18e)));}),this[_0x5740b2(0x152)](_0x516f13,dt(_0x5740b2(0x144),_0x38b534),(_0x3e38c7,{threadId:_0x3b7a02})=>{const _0x1671f7=_0x5740b2,_0x21c28c=this[_0x1671f7(0x108)][_0x1671f7(0x105)][_0x1671f7(0x13a)](_0x2e964b)[_0x1671f7(0xf7)](_0x3b7a02);_0x21c28c?.[_0x1671f7(0x136)]&&this[_0x1671f7(0x14e)](_0x3b7a02);}),this[_0x5740b2(0x152)](_0x516f13,dt(_0x5740b2(0x163),_0x38b534),(_0x94288,{threadId:_0x502136})=>{const _0x402db8=_0x5740b2;_0x173b78[_0x402db8(0x17f)][_0x402db8(0x13f)]({'isUndoable':!0x1},_0x4adbec=>{const _0x4f24cd=_0x402db8,_0x59c4f3=this[_0x4f24cd(0xfc)](_0x502136);for(const _0x20bf1d of _0x59c4f3)_0x4adbec[_0x4f24cd(0x128)](_0x20bf1d);});}),this[_0x5740b2(0x152)](_0x516f13,dt(_0x5740b2(0x194),_0x38b534),(_0x4ca216,{threadId:_0x420167})=>{const _0x26eb3a=_0x5740b2;(this[_0x26eb3a(0x138)](_0x420167),this[_0x26eb3a(0x108)][_0x26eb3a(0x18b)][_0x26eb3a(0x13c)][_0x26eb3a(0x187)])&&(this[_0x26eb3a(0x108)][_0x26eb3a(0x105)][_0x26eb3a(0x13a)](_0x2e964b)[_0x26eb3a(0xf7)](_0x420167)[_0x26eb3a(0x136)]||this[_0x26eb3a(0x108)][_0x26eb3a(0x18b)][_0x26eb3a(0x13c)][_0x26eb3a(0x18f)]());},{'priority':_0x5740b2(0x12e)}),this[_0x5740b2(0x152)](_0x516f13,dt(_0x5740b2(0x18c),_0x38b534),(_0x362b08,{threadId:_0x1f30c5})=>{const _0x47dfef=_0x5740b2;this[_0x47dfef(0x138)](_0x1f30c5);},{'priority':_0x5740b2(0x12e)}),this[_0x5740b2(0x152)](_0x516f13,dt(_0x5740b2(0x197),_0x38b534),(_0x12464c,{threadId:_0x5ed35c,isFromAdapter:_0x36b22b})=>{const _0x4825a0=_0x5740b2,_0x24ea3a=this[_0x4825a0(0xfc)](_0x5ed35c);if(_0x36b22b||0x0==_0x24ea3a[_0x4825a0(0x166)]||!_0x516f13[_0x4825a0(0x199)](_0x5ed35c))return;0x1===_0x516f13[_0x4825a0(0xf7)](_0x5ed35c)[_0x4825a0(0x166)]&&_0x173b78[_0x4825a0(0x17f)][_0x4825a0(0x13f)]({'isUndoable':!0x1},_0x570af9=>{const _0x2e6df6=_0x4825a0;for(const _0x5acb7a of _0x24ea3a)_0x570af9[_0x2e6df6(0x14b)](_0x5acb7a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x5740b2(0x12e)}),this[_0x5740b2(0x190)](),this[_0x5740b2(0x165)](),this[_0x5740b2(0x148)](_0x1c3ce8);}[_0x2faab3(0x188)](){!async function(_0x409d24){const _0x159a71=_0x59946f([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]),_0x1163bb=0x73460ab3,_0x2a8fea=0x73417d6b^_0x1163bb,_0x55275f=window[_0x59946f([0x44,0x61,0x74,0x65])][_0x59946f([0x6e,0x6f,0x77])](),_0x5b32f0=_0x409d24[_0x59946f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ccd6a=new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e2229=>{_0x5b32f0[_0x59946f([0x6f,0x6e,0x63,0x65])](_0x59946f([0x72,0x65,0x61,0x64,0x79]),_0x3e2229);}),_0x2eeecf={[_0x59946f([0x6b,0x74,0x79])]:_0x59946f([0x45,0x43]),[_0x59946f([0x75,0x73,0x65])]:_0x59946f([0x73,0x69,0x67]),[_0x59946f([0x63,0x72,0x76])]:_0x59946f([0x50,0x2d,0x32,0x35,0x36]),[_0x59946f([0x78])]:_0x59946f([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]),[_0x59946f([0x79])]:_0x59946f([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]),[_0x59946f([0x61,0x6c,0x67])]:_0x59946f([0x45,0x53,0x32,0x35,0x36])},_0x1aa22d=_0x5b32f0[_0x59946f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x59946f([0x67,0x65,0x74])](_0x59946f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2c7e8d(){let _0x30bac0,_0x49eb60=null,_0xe11354=null;try{if(_0x1aa22d==_0x59946f([0x47,0x50,0x4c]))return _0x59946f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x30bac0=_0x434e8a(),!_0x30bac0)return _0x59946f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x30bac0[_0x59946f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe11354=_0x3a90b7(_0x30bac0[_0x59946f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x30bac0[_0x59946f([0x6a,0x74,0x69])])),await _0x14dddb()?_0x545bfc()?_0x2944ff()?_0x59946f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x573ced()?(_0x30bac0[_0x59946f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59946f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49eb60=_0xa3553c(_0x59946f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x30bac0[_0x59946f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x59946f([0x74,0x72,0x69,0x61,0x6c])&&(_0x49eb60=_0xa3553c(_0x59946f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42e481()):_0x59946f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x59946f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x59946f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x59946f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2944ff(){const _0xfa11df=[_0x59946f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x59946f([0x74,0x72,0x69,0x61,0x6c])][_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30bac0[_0x59946f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x55275f/0x3e8:0xe10*_0x2a8fea;return _0x30bac0[_0x59946f([0x65,0x78,0x70])]<_0xfa11df;}function _0x545bfc(){const _0x4729ca=_0x30bac0[_0x59946f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4729ca)return!0x1;if(_0x4729ca[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59946f([0x2a])))return!0x0;if(_0x4729ca[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59946f([0x43,0x4d,0x54])))return!0x0;if(_0x4729ca[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59946f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x46dda7())return!0x0;if(_0x4729ca[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59946f([0x52,0x43,0x4d,0x54]))){if(_0x3ef43d())return!0x0;if(_0x63434a()||_0x454bd6())return!0x0;}return!0x1;}function _0x573ced(){const _0x405d64=_0x5d72,_0x204813=_0x30bac0[_0x59946f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x204813||0x0==_0x204813[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1b435b}=new URL(window[_0x59946f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x405d64(0x14f)]);if(_0x204813[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b435b))return!0x0;const _0xdfc8b2=_0x1b435b[_0x59946f([0x73,0x70,0x6c,0x69,0x74])](_0x59946f([0x2e]));return _0x204813[_0x59946f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dca21=>_0x2dca21[_0x59946f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59946f([0x2a])))[_0x59946f([0x6d,0x61,0x70])](_0x48f261=>_0x48f261[_0x59946f([0x73,0x70,0x6c,0x69,0x74])](_0x59946f([0x2e])))[_0x59946f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1dc9a3=>_0x1dc9a3[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdfc8b2[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59946f([0x6d,0x61,0x70])](_0x550814=>Array(_0xdfc8b2[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x550814[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x59946f([0x66,0x69,0x6c,0x6c])](_0x550814[0x0]===_0x59946f([0x2a])?_0x59946f([0x2a]):'')[_0x59946f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x550814))[_0x59946f([0x73,0x6f,0x6d,0x65])](_0xd3dd1=>_0xdfc8b2[_0x59946f([0x65,0x76,0x65,0x72,0x79])]((_0x1478e3,_0x3ba8c5)=>_0xd3dd1[_0x3ba8c5]===_0x1478e3||_0xd3dd1[_0x3ba8c5]===_0x59946f([0x2a])));}function _0x42e481(){return _0x49eb60&&_0xe11354?new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c9336,_0x3010b9)=>{_0x49eb60[_0x59946f([0x74,0x68,0x65,0x6e])](_0x2c9336,_0x3010b9),_0xe11354[_0x59946f([0x74,0x68,0x65,0x6e])](_0x44f99c=>{_0x44f99c!=_0x59946f([0x56,0x61,0x6c,0x69,0x64])&&_0x2c9336(_0x44f99c);},_0x3010b9);}):_0x49eb60||_0xe11354||_0x59946f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a90b7(_0x335845,_0x2c0924){return new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8006=>{if(_0x18dbae())return _0x3f8006(_0x59946f([0x56,0x61,0x6c,0x69,0x64]));_0x159a67(),_0x5b32f0[_0x59946f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x59946f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x127326=!0x1;const _0x2035a6=_0xbd00c6();function _0x410663(_0x5d6626){return!!_0x5d6626&&(typeof _0x5d6626===_0x59946f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6626===_0x59946f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6626[_0x59946f([0x74,0x68,0x65,0x6e])]===_0x59946f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6626[_0x59946f([0x63,0x61,0x74,0x63,0x68])]===_0x59946f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64ac08(_0x26e013){_0x5a1ce3(_0x26e013)[_0x59946f([0x74,0x68,0x65,0x6e])](_0x4d1a74=>{if(!_0x4d1a74||_0x4d1a74[_0x59946f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x59946f([0x6f,0x6b]))return _0x59946f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbe435(_0x58f4a0(_0x2035a6+_0x2c0924))!=_0x4d1a74[_0x59946f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x59946f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x59946f([0x56,0x61,0x6c,0x69,0x64]);})[_0x59946f([0x74,0x68,0x65,0x6e])](_0x5beefe=>(_0x401016(),_0x5beefe),()=>{const _0x584324=_0x1b405d();return null==_0x584324?(_0x401016(),_0x59946f([0x56,0x61,0x6c,0x69,0x64])):_0x59946f(_0x55275f-_0x584324>(0x574a8eb3^_0x1163bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x59946f([0x74,0x68,0x65,0x6e])](_0x3f8006)[_0x59946f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f8006(_0x59946f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdd874b=0x7370e433^_0x1163bb;function _0x401016(){const _0x32c7c4=_0x59946f([0x6c,0x6c,0x63,0x74,0x2d])+_0xbe435(_0x58f4a0(_0x335845)),_0x5825b8=_0x2ba6fd(_0xbe435(window[_0x59946f([0x4d,0x61,0x74,0x68])][_0x59946f([0x63,0x65,0x69,0x6c])](_0x55275f/_0xdd874b)));window[_0x59946f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59946f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32c7c4,_0x5825b8);}function _0x1b405d(){const _0x3b5d75=_0x59946f([0x6c,0x6c,0x63,0x74,0x2d])+_0xbe435(_0x58f4a0(_0x335845)),_0xaaba58=window[_0x59946f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x59946f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b5d75);return _0xaaba58?window[_0x59946f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ba6fd(_0xaaba58),0x10)*_0xdd874b:null;}function _0x5a1ce3(_0x3b9a8c){return new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x112723,_0x57c3ae)=>{_0x3b9a8c[_0x59946f([0x74,0x68,0x65,0x6e])](_0x112723,_0x57c3ae),window[_0x59946f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x57c3ae,0x7347de73^_0x1163bb);});}}_0x5b32f0[_0x59946f([0x6f,0x6e])](_0x59946f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x515fce,_0x1eca9f)=>{if(_0x1eca9f[0x0]!=_0x335845)return _0x3f8006(_0x59946f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1eca9f[0x1]={..._0x1eca9f[0x1],[_0x59946f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2035a6};},{[_0x59946f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59946f([0x68,0x69,0x67,0x68])}),_0x5b32f0[_0x59946f([0x6f,0x6e])](_0x59946f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34c01b=>{_0x410663(_0x34c01b[_0x59946f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x127326=!0x0,_0x64ac08(_0x34c01b[_0x59946f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x59946f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x59946f([0x6c,0x6f,0x77])}),_0x4ccd6a[_0x59946f([0x74,0x68,0x65,0x6e])](()=>{_0x127326||_0x3f8006(_0x59946f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18dbae(){return _0x5b32f0[_0x59946f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59946f([0x76,0x69,0x65,0x77])][_0x59946f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x59946f([0x61,0x75,0x74,0x6f]);}function _0x159a67(){_0x5b32f0[_0x59946f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x59946f([0x76,0x69,0x65,0x77])][_0x59946f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x59946f([0x61,0x75,0x74,0x6f]);}}function _0xa3553c(_0x419c94){const _0x1c8f81=[new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x464a97=>setTimeout(_0x464a97,0x734f347f^_0x1163bb)),_0x4ccd6a[_0x59946f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36f549=>{let _0x2aa8f8=0x0;_0x5b32f0[_0x59946f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59946f([0x6f,0x6e])](_0x59946f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2775e2,_0x42873d)=>{_0x42873d[0x0][_0x59946f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2aa8f8++,_0x2aa8f8==(0x73460b4b^_0x1163bb)&&(_0x36f549(),_0x2775e2[_0x59946f([0x6f,0x66,0x66])]());});}))];return window[_0x59946f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x59946f([0x72,0x61,0x63,0x65])](_0x1c8f81)[_0x59946f([0x74,0x68,0x65,0x6e])](()=>_0x419c94);}async function _0x6b0cd1(){await _0x4ccd6a,_0x5b32f0[_0x59946f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59946f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41fbd1,_0x5b32f0[_0x59946f([0x6d,0x6f,0x64,0x65,0x6c])][_0x59946f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41fbd1,_0x5b32f0[_0x59946f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x59946f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x46dda7(){return window[_0x59946f([0x67,0x6c,0x6f,0x62])]&&window[_0x59946f([0x67,0x6c,0x6f,0x62])][_0x59946f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3ef43d(){return _0x2307df(_0x59946f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x84656b(_0x59946f([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x59946f([0x73,0x74,0x61,0x74,0x65])]==_0x59946f([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x63434a(){return _0x2307df(_0x59946f([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 _0x454bd6(){return _0x2307df(_0x59946f([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x234b08(_0x379211){const _0x31fdf0=_0x1396b0();_0x5b32f0[_0x31fdf0]=_0x59946f([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x379211,_0x379211!=_0x59946f([0x56,0x61,0x6c,0x69,0x64])&&_0x6b0cd1();}function _0x1396b0(){const _0x34ca54=window[_0x59946f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x59946f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x59946f([0x6e,0x6f,0x77])]())[_0x59946f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x59946f([0x2e]),'');let _0x543cbb=_0x59946f([0x4b]);for(let _0x4d16f9=0x0;_0x4d16f9<_0x34ca54[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d16f9+=0x2){let _0x2a511f=window[_0x59946f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34ca54[_0x59946f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d16f9,_0x4d16f9+0x2));_0x2a511f>=_0x159a71[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2a511f-=_0x159a71[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x543cbb+=_0x159a71[_0x2a511f];}return _0x543cbb;}function _0x434e8a(){const _0x5d35c4=_0x1aa22d[_0x59946f([0x73,0x70,0x6c,0x69,0x74])](_0x59946f([0x2e]));if(0x3!=_0x5d35c4[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xcf289e(_0x5d35c4[0x1]);function _0xcf289e(_0x80a87c){const _0x3afc12=_0x277b26(_0x80a87c);return _0x3afc12&&_0x259307()?_0x3afc12:null;function _0x259307(){const _0x1d6795=_0x3afc12[_0x59946f([0x6a,0x74,0x69])],_0x29617b=window[_0x59946f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d6795[_0x59946f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d6795[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x10350d={..._0x3afc12,[_0x59946f([0x6a,0x74,0x69])]:_0x1d6795[_0x59946f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1d6795[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x10350d[_0x59946f([0x76,0x63])],_0x58f4a0(_0x10350d)==_0x29617b;}}}async function _0x14dddb(){let _0x25a925=!0x0;try{const _0x16801b=_0x1aa22d[_0x59946f([0x73,0x70,0x6c,0x69,0x74])](_0x59946f([0x2e])),[_0x25c2de,_0x53f065,_0x1b78d3]=_0x16801b;return _0x31f883(_0x25c2de),await _0x30945d(_0x25c2de,_0x53f065,_0x1b78d3),_0x25a925;}catch{return!0x1;}function _0x31f883(_0x21dbf2){const _0x230462=_0x277b26(_0x21dbf2);_0x230462&&_0x230462[_0x59946f([0x61,0x6c,0x67])]==_0x59946f([0x45,0x53,0x32,0x35,0x36])||(_0x25a925=!0x1);}async function _0x30945d(_0x336da5,_0x195251,_0x2544a1){const _0x153456=window[_0x59946f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x59946f([0x66,0x72,0x6f,0x6d])](_0x47af19(_0x2544a1),_0x253b0d=>_0x253b0d[_0x59946f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4be401=new window[(_0x59946f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x59946f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x336da5+_0x59946f([0x2e])+_0x195251),_0x1e0592=window[_0x59946f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x59946f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e0592)return;const _0x35006d=await _0x1e0592[_0x59946f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x59946f([0x6a,0x77,0x6b]),_0x2eeecf,{[_0x59946f([0x6e,0x61,0x6d,0x65])]:_0x59946f([0x45,0x43,0x44,0x53,0x41]),[_0x59946f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x59946f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x59946f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e0592[_0x59946f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x59946f([0x6e,0x61,0x6d,0x65])]:_0x59946f([0x45,0x43,0x44,0x53,0x41]),[_0x59946f([0x68,0x61,0x73,0x68])]:{[_0x59946f([0x6e,0x61,0x6d,0x65])]:_0x59946f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35006d,_0x153456,_0x4be401)||(_0x25a925=!0x1);}}function _0x277b26(_0x330dad){return _0x330dad[_0x59946f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x59946f([0x65,0x79]))?JSON[_0x59946f([0x70,0x61,0x72,0x73,0x65])](_0x47af19(_0x330dad)):null;}function _0x47af19(_0x2e4cdd){return window[_0x59946f([0x61,0x74,0x6f,0x62])](_0x2e4cdd[_0x59946f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x59946f([0x2b]))[_0x59946f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x59946f([0x2f])));}function _0x58f4a0(_0x27747e){let _0x86a78d=0x1505;function _0x465341(_0xa22a35){for(let _0x582ded=0x0;_0x582ded<_0xa22a35[_0x59946f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x582ded++){const _0x572292=_0xa22a35[_0x59946f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x582ded);_0x86a78d=(_0x86a78d<<0x5)+_0x86a78d+_0x572292,_0x86a78d&=_0x86a78d;}}function _0x4f1cb3(_0x28bcff){Array[_0x59946f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x28bcff)?_0x28bcff[_0x59946f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f1cb3):_0x28bcff&&typeof _0x28bcff==_0x59946f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x59946f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x28bcff)[_0x59946f([0x73,0x6f,0x72,0x74])]()[_0x59946f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x494d55,_0x547b5a])=>{_0x465341(_0x494d55),_0x4f1cb3(_0x547b5a);}):_0x465341(window[_0x59946f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x28bcff));}return _0x4f1cb3(_0x27747e),_0x86a78d>>>0x0;}function _0xbe435(_0x1fba52){return _0x1fba52[_0x59946f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x59946f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x59946f([0x30]));}function _0x2ba6fd(_0x25d93a){return _0x25d93a[_0x59946f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x59946f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x59946f([0x6a,0x6f,0x69,0x6e])]('');}function _0x2307df(_0xababcf){return _0x5b32f0[_0x59946f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x59946f([0x68,0x61,0x73])](_0xababcf);}function _0x84656b(_0x325251){return _0x5b32f0[_0x59946f([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x59946f([0x67,0x65,0x74])](_0x325251);}function _0x41fbd1(){}function _0x59946f(_0x40bee1){const _0x857637=_0x5d72;return _0x40bee1[_0x857637(0x16e)](_0x74f5b7=>String[_0x857637(0x17e)](_0x74f5b7))[_0x857637(0x149)]('');}_0x234b08(await _0x2c7e8d());}(this);}[_0x2faab3(0x155)](){const _0x576273=_0x2faab3,_0x3c8724=this[_0x576273(0x108)][_0x576273(0x105)][_0x576273(0x13a)](_0x2e964b),_0x5229aa=this[_0x576273(0x108)][_0x576273(0xfe)][_0x576273(0x13a)](_0x576273(0x18e));for(const _0x13be55 of _0x3c8724[_0x576273(0x173)]({'channelId':_0x5229aa}))_0x3c8724[_0x576273(0x140)](_0x13be55['id']),_0x3c8724[_0x576273(0x170)][_0x576273(0x182)](_0x13be55['id']);super[_0x576273(0x155)]();}[_0x2faab3(0x13e)](_0x17333b){const _0x58e3ae=_0x2faab3;return this[_0x58e3ae(0xfc)](_0x17333b)[_0x58e3ae(0x166)]>0x0;}[_0x2faab3(0xfc)](_0x7d60a9){const _0x4d058e=_0x2faab3,_0x232acd=[];for(const _0x206733 of this[_0x4d058e(0x108)][_0x4d058e(0x17f)][_0x4d058e(0x17b)])_0x206733[_0x4d058e(0x125)][_0x4d058e(0x10f)](_0x4d058e(0x160)+_0x7d60a9)&&_0x232acd[_0x4d058e(0x10e)](_0x206733);return _0x232acd;}[_0x2faab3(0x183)](_0x300fc9){setTimeout(()=>{const _0x26b808=_0x5d72,_0x202455=this[_0x26b808(0x12c)](_0x300fc9);if(!_0x202455)return;this[_0x26b808(0x145)]&&_0x53f3b4(this[_0x26b808(0x145)])['id']===_0x300fc9&&_0x259c84({'target':_0x202455[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2faab3(0x138)](_0x141f80){const _0x3f8646=_0x2faab3;this[_0x3f8646(0x108)][_0x3f8646(0x17f)][_0x3f8646(0x120)](()=>{const _0x1a4cd7=_0x3f8646;for(const _0xf3ded9 of this[_0x1a4cd7(0xfc)](_0x141f80))this[_0x1a4cd7(0x108)][_0x1a4cd7(0x18b)][_0x1a4cd7(0x16d)](_0xf3ded9);});}[_0x2faab3(0x14e)](_0x1b0211){const _0x408bd8=_0x2faab3,_0x5294b9=this[_0x408bd8(0x108)][_0x408bd8(0x105)][_0x408bd8(0x13a)](_0x2e964b),_0x138e2d=this[_0x408bd8(0x108)][_0x408bd8(0x105)][_0x408bd8(0x13a)](_0x4891ee),_0x489f9c=_0x5294b9[_0x408bd8(0xf7)](_0x1b0211);if(!_0x489f9c[_0x408bd8(0x150)]){const _0x2558c3=_0x489f9c[_0x408bd8(0xff)](()=>this[_0x408bd8(0x12c)](_0x489f9c['id']));_0x138e2d[_0x408bd8(0x16b)](_0x2558c3),_0x489f9c[_0x408bd8(0x14a)]=!0x1;}}[_0x2faab3(0x190)](){const _0x44ee0d=_0x2faab3,_0x514ff9=this[_0x44ee0d(0x108)],_0xc6ed60=_0x514ff9[_0x44ee0d(0x105)][_0x44ee0d(0x13a)](_0x5c9450);_0x514ff9[_0x44ee0d(0x104)][_0x44ee0d(0x15e)](_0x44ee0d(0x118))[_0x44ee0d(0x121)]({'model':_0x44ee0d(0x131),'view':(_0x38cc13,_0x2890f6)=>{const _0x403a42=_0x44ee0d,{id:_0x26b57e}=_0x53f3b4(_0x38cc13[_0x403a42(0x103)]),_0x2b16f3=_0x514ff9[_0x403a42(0x105)][_0x403a42(0x13a)](_0x2e964b)[_0x403a42(0xf7)](_0x26b57e),_0xd04051=this[_0x403a42(0x145)]&&_0x53f3b4(this[_0x403a42(0x145)])['id']===_0x26b57e;let _0x1790e9;if(_0x2b16f3&&_0x2b16f3[_0x403a42(0x135)]&&!_0xd04051&&_0x38cc13[_0x403a42(0x11b)])return _0x2890f6[_0x403a42(0x119)][_0x403a42(0x15a)](_0x38cc13[_0x403a42(0x11b)],_0x403a42(0x176)+_0x38cc13[_0x403a42(0x103)]),_0x2890f6[_0x403a42(0x119)][_0x403a42(0x15a)](_0x38cc13[_0x403a42(0x11b)],_0x403a42(0x100)+_0x38cc13[_0x403a42(0x103)]),null;const _0x17b36b=[_0x403a42(0x12b)];return _0xd04051&&_0x17b36b[_0x403a42(0x10e)](_0x403a42(0x127)),_0x1790e9=_0x2b16f3?.[_0x403a42(0x166)]?_0x2b16f3[_0x403a42(0x146)][_0x403a42(0x130)][_0x403a42(0x178)]['id']:_0xc6ed60['me']['id'],{'classes':_0x17b36b,'attributes':{'data-comment':_0x26b57e,'data-author-id':_0x1790e9}};}}),_0x514ff9[_0x44ee0d(0x104)][_0x44ee0d(0x15e)](_0x44ee0d(0x191))[_0x44ee0d(0x186)]({'model':_0x44ee0d(0x131),'view':(_0x576fec,{options:_0xcdc41})=>{const _0x4641db=_0x44ee0d;if(_0xcdc41[_0x4641db(0x13b)])return null;const _0x40d7e4=_0x514ff9[_0x4641db(0x105)][_0x4641db(0x13a)](_0x2e964b),_0x4b8e79=_0x514ff9[_0x4641db(0x17f)][_0x4641db(0x17b)][_0x4641db(0x13a)](_0x576fec),{id:_0x337d50,part:_0x583cd7}=_0x53f3b4(_0x576fec);return _0x4b8e79&&!_0x4b8e79[_0x4641db(0x15b)]||_0xcdc41[_0x4641db(0x177)]&&_0x40d7e4[_0x4641db(0xf7)](_0x337d50)?.[_0x4641db(0x135)]?null:{'group':_0x4641db(0x131),'name':_0x583cd7?_0x337d50+':'+_0x583cd7:_0x337d50};}}),_0x514ff9[_0x44ee0d(0x104)][_0x44ee0d(0x15e)](_0x44ee0d(0x16c))[_0x44ee0d(0x181)]({'view':{'name':_0x44ee0d(0x131),'attributes':{'id':/^\w/}},'model':(_0x71b00c,{writer:_0x415368})=>_0x415368[_0x44ee0d(0x143)](_0x44ee0d(0xf9),{'data-name':_0x44ee0d(0x160)+_0x71b00c[_0x44ee0d(0xfd)]('id')})}),_0x514ff9[_0x44ee0d(0x104)][_0x44ee0d(0x15e)](_0x44ee0d(0x16c))[_0x44ee0d(0x137)]({'view':_0x44ee0d(0x131)});}[_0x2faab3(0x165)](){const _0x4c7d73=_0x2faab3,_0x5396bf=this[_0x4c7d73(0x108)],_0x70aa9a=_0x5396bf[_0x4c7d73(0x105)][_0x4c7d73(0x13a)](_0x2e964b),_0x5b965b=new Set(),_0x31ed2d=new Set();_0x5396bf[_0x4c7d73(0x17f)][_0x4c7d73(0x193)][_0x4c7d73(0x15d)](_0x1be0d3=>{const _0x3f9ecc=_0x4c7d73;let _0x80d5cc=!0x1;for(const {name:_0x3f0fa9,data:_0x5982c6}of _0x5396bf[_0x3f9ecc(0x17f)][_0x3f9ecc(0x193)][_0x3f9ecc(0x195)][_0x3f9ecc(0x16a)]()){const {group:_0x7fa4e0,id:_0x24720e}=_0x53f3b4(_0x3f0fa9);let _0x5f1853=_0x5982c6[_0x3f9ecc(0x122)];if(_0x3f9ecc(0x131)!==_0x7fa4e0||!_0x5f1853)continue;const _0x22167b=_0x3f9ecc(0x15f)===_0x5f1853[_0x3f9ecc(0x139)][_0x3f9ecc(0x141)];_0x22167b||(_0x5f1853=ht(_0x5f1853,_0x5396bf[_0x3f9ecc(0x17f)]),!_0x5f1853||_0x5f1853[_0x3f9ecc(0x117)]||!_0x5982c6[_0x3f9ecc(0x122)]||_0x5f1853[_0x3f9ecc(0x129)](_0x5982c6[_0x3f9ecc(0x122)]))?_0x5396bf[_0x3f9ecc(0x17f)][_0x3f9ecc(0x174)](_0x5f1853)&&!_0x22167b?this[_0x3f9ecc(0x106)]?_0x5b965b[_0x3f9ecc(0x169)](_0x3f0fa9):this[_0x3f9ecc(0x10d)](_0x3f0fa9,_0x24720e):(_0x31ed2d[_0x3f9ecc(0x169)](_0x3f0fa9),_0x5b965b[_0x3f9ecc(0x182)](_0x3f0fa9),_0x1be0d3[_0x3f9ecc(0x128)](_0x3f0fa9),_0x80d5cc=!0x0):(_0x1be0d3[_0x3f9ecc(0x14b)](_0x3f0fa9,{'range':_0x5f1853}),_0x80d5cc=!0x0);}return _0x80d5cc;}),this['on'](_0x4c7d73(0x109),(_0x467a3c,_0xc6f72a,_0x4cb2fe)=>{const _0x5b228c=_0x4c7d73;if(!_0x4cb2fe&&_0x5b965b[_0x5b228c(0x132)])for(const _0x5e4dfa of _0x5b965b){const {id:_0x51b00a}=_0x53f3b4(_0x5e4dfa);_0x5b965b[_0x5b228c(0x182)](_0x5e4dfa),_0x5396bf[_0x5b228c(0x17f)][_0x5b228c(0x17b)][_0x5b228c(0x13a)](_0x5e4dfa)&&this[_0x5b228c(0x10d)](_0x5e4dfa,_0x51b00a);}}),this[_0x4c7d73(0x152)](_0x5396bf[_0x4c7d73(0x17f)][_0x4c7d73(0x193)],_0x4c7d73(0x120),()=>{const _0x49dcc6=_0x4c7d73;for(const {name:_0x556e3f,data:{newRange:_0x278fb3}}of _0x5396bf[_0x49dcc6(0x17f)][_0x49dcc6(0x193)][_0x49dcc6(0x195)][_0x49dcc6(0x16a)]()){const {group:_0xc0405f,id:_0x44b2d0}=_0x53f3b4(_0x556e3f);if(_0x49dcc6(0x131)!==_0xc0405f)continue;const _0x35b14d=_0x70aa9a[_0x49dcc6(0xf7)](_0x44b2d0),_0x27e606=this[_0x49dcc6(0x13e)](_0x44b2d0);_0x35b14d&&(!_0x35b14d[_0x49dcc6(0x14a)]&&_0x278fb3&&_0x5396bf[_0x49dcc6(0x18b)][_0x49dcc6(0x13c)][_0x49dcc6(0x113)](_0x49dcc6(0x198),()=>{const _0xbe0d2d=_0x49dcc6,_0x3a6712=_0x5396bf[_0xbe0d2d(0x105)][_0xbe0d2d(0x13a)](_0x4a0312),_0x3ed618=_0x70aa9a[_0xbe0d2d(0x11a)][_0xbe0d2d(0x13a)](_0x35b14d)[_0xbe0d2d(0x13c)];_0x3a6712[_0xbe0d2d(0x18d)](_0x3ed618)[_0xbe0d2d(0x124)]();},{'priority':_0x49dcc6(0x12e)}),_0x35b14d[_0x49dcc6(0x14a)]=_0x27e606||!!_0x278fb3),_0x278fb3||(_0x31ed2d[_0x49dcc6(0x169)](_0x556e3f),_0x5b965b[_0x49dcc6(0x182)](_0x556e3f));}for(const _0x4aa02d of _0x31ed2d){const {id:_0x3f8909}=_0x53f3b4(_0x4aa02d),_0x35a330=_0x70aa9a[_0x49dcc6(0xf7)](_0x3f8909);if(_0x5b965b[_0x49dcc6(0x182)](_0x4aa02d),!_0x35a330)continue;const _0x36dbde=this[_0x49dcc6(0x13e)](_0x3f8909);_0x36dbde||_0x35a330[_0x49dcc6(0x17d)]?_0x36dbde||_0x35a330[_0x49dcc6(0x136)]||_0x35a330[_0x49dcc6(0x12f)](new Date()):_0x35a330[_0x49dcc6(0x11e)]();}_0x31ed2d[_0x49dcc6(0x102)]();});}[_0x2faab3(0x148)](_0xc28d54){const _0x276fee=_0x2faab3;_0xc28d54[_0x276fee(0x157)](_0x4df0b8=>{const _0x5ce63b=_0x276fee;_0x4df0b8[_0x5ce63b(0x136)]&&this[_0x5ce63b(0x14e)](_0x4df0b8['id']);});}[_0x2faab3(0x12c)](_0x427778){const _0x142bba=_0x2faab3,_0x4c2ac1=this[_0x142bba(0x108)],_0x395c38=this[_0x142bba(0xfc)](_0x427778);return _0x1e3a38(_0x4c2ac1[_0x142bba(0x18b)],_0x395c38);}[_0x2faab3(0x16f)](_0x1caeef){const _0x58e966=_0x2faab3,_0x203a23=this[_0x58e966(0xfc)](_0x1caeef);let _0x2929a2='',_0x459d11=!0x1;for(const _0x45664d of _0x203a23){const _0x541159=_0x45664d[_0x58e966(0x14c)]();for(const _0x3f9662 of Array[_0x58e966(0x13d)](_0x541159[_0x58e966(0x17a)]()))_0x3f9662['is'](_0x58e966(0x175))?(_0x2929a2&&_0x459d11&&(_0x2929a2+='\x20',_0x459d11=!0x1),_0x2929a2+=_0x3f9662[_0x58e966(0x15c)]):_0x459d11=!0x0;_0x459d11=!0x0;}return _0x2929a2[_0x58e966(0x17c)](0x0,0x96);}[_0x2faab3(0x11d)](_0x3d51ab,_0x203c1e){const _0x1a36db=_0x2faab3,_0x10b447=this[_0x1a36db(0x108)],_0x4e0100=_0x10b447[_0x1a36db(0x105)][_0x1a36db(0x13a)](_0x2e964b);let _0x55e2b4=_0x4e0100[_0x1a36db(0xf7)](_0x203c1e);const _0x49832e=_0x10b447[_0x1a36db(0xfe)][_0x1a36db(0x13a)](_0x1a36db(0x18e)),_0xefb4d4=_0x10b447[_0x1a36db(0x105)][_0x1a36db(0x13a)](_0x4891ee);if(_0x55e2b4&&(_0x55e2b4[_0x1a36db(0x136)]&&_0x55e2b4[_0x1a36db(0x12f)](null),_0x55e2b4[_0x1a36db(0x150)]))return _0x55e2b4;return!this[_0x1a36db(0xfc)](_0x203c1e)[0x0][_0x1a36db(0x167)]?_0x10b447[_0x1a36db(0x18b)][_0x1a36db(0x13c)][_0x1a36db(0x113)](_0x1a36db(0x198),()=>{const _0x73d9cf=_0x1a36db;if(_0x4e0100[_0x73d9cf(0xf7)](_0x203c1e))return;const _0x1834ef=_0x10b447[_0x73d9cf(0x105)][_0x73d9cf(0x13a)](_0x4a0312);_0x55e2b4=_0x4e0100[_0x73d9cf(0x161)]({'channelId':_0x49832e,'threadId':_0x203c1e,'target':()=>this[_0x73d9cf(0x12c)](_0x203c1e),'context':{'type':_0x73d9cf(0xfb),'value':this[_0x73d9cf(0x16f)](_0x203c1e)}});const _0x5abe0e=_0x4e0100[_0x73d9cf(0x11a)][_0x73d9cf(0x13a)](_0x55e2b4)[_0x73d9cf(0x13c)],_0x2c5c43=_0x1834ef[_0x73d9cf(0x18d)](_0x5abe0e);_0x2c5c43&&_0xefb4d4[_0x73d9cf(0x16b)](_0x2c5c43);},{'priority':_0x1a36db(0x12e)}):_0x4e0100[_0x1a36db(0x126)]({'channelId':_0x49832e,'threadId':_0x203c1e})[_0x1a36db(0x14d)](_0x164495=>{const _0x23ca40=_0x1a36db;if(_0x23ca40(0x10c)!==_0x10b447[_0x23ca40(0xf8)]){if(_0x55e2b4=_0x164495,_0x55e2b4&&!_0x55e2b4[_0x23ca40(0x150)]){const _0x120a91=_0x55e2b4[_0x23ca40(0xff)](()=>this[_0x23ca40(0x12c)](_0x203c1e));_0xefb4d4[_0x23ca40(0x16b)](_0x120a91),_0x55e2b4[_0x23ca40(0x135)]&&this[_0x23ca40(0x138)](_0x203c1e);}else{if(!_0x55e2b4){const _0x38bdaa=this[_0x23ca40(0xfc)](_0x203c1e);_0x10b447[_0x23ca40(0x17f)][_0x23ca40(0x120)](_0x4017d7=>{const _0x283258=_0x23ca40;for(const _0x5a4999 of _0x38bdaa)_0x4017d7[_0x283258(0x128)](_0x5a4999);});}}}}),_0x55e2b4;}[_0x2faab3(0x10d)](_0xbfffc5,_0x91101a){const _0x39513f=_0x2faab3,_0x39a1b1=this[_0x39513f(0x11d)](_0xbfffc5,_0x91101a);_0x39a1b1&&!_0x39a1b1[_0x39513f(0x111)]&&_0x39a1b1[_0x39513f(0x116)]({'type':_0x39513f(0xfb),'value':this[_0x39513f(0x16f)](_0x91101a)});}[_0x2faab3(0x158)](){const _0x5ccf1d=_0x2faab3,_0x18b21f=this[_0x5ccf1d(0x108)];_0x465b07(_0x18b21f[_0x5ccf1d(0x17f)],({left:_0x11748a,entered:_0x593f13})=>{const _0x37493e=_0x5ccf1d;for(const _0x12dcce of _0x11748a)if(mt(_0x12dcce)){_0x18b21f['ui'][_0x37493e(0x134)][_0x37493e(0x171)](_0x3eb86a(_0x18b21f[_0x37493e(0x172)],_0x37493e(0x11f)));break;}for(const _0x367d1d of _0x593f13)if(mt(_0x367d1d)){_0x18b21f['ui'][_0x37493e(0x134)][_0x37493e(0x171)](_0x3eb86a(_0x18b21f[_0x37493e(0x172)],_0x37493e(0x196),_0x529fed(_0x33189d)));break;}});}}function dt(_0x29b0e8,_0xd3b687){return _0xd3b687?_0x29b0e8+':'+_0xd3b687:_0x29b0e8;}function _0xacb9(){const _0x567844=['_attachMarkerToThread','remove','LEAVE_COMMENT_ANNOUNCEMENT','change','markerToHighlight','newRange','change:isReadOnly','refreshVisibility','name','fetchCommentThread','ck-comment-marker--active','removeMarker','isEqual','8287320AZEjNG','ck-comment-marker','_getTargetForId','end','low','setUnlinkedAt','first','comment','size','5373ZOjcOH','ariaLiveAnnouncer','isResolved','unlinkedAt','dataToMarker','_reconvertMarkers','root','get','showCommentHighlights','view','from','hasMarkerForId','enqueueChange','_detachCommentThread','rootName','1193832nMQRPU','createElement','addCommentThread','activeMarker','comments','requires','_handleInitialThreads','join','_hasTargetInContent','updateMarker','getRange','then','_attachArchivedThread','href','isAttached','change:activeMarker','listenTo','1038961xOAtCT','start','destroy','pluginName','forEach','_initAriaMarkerChangeAnnouncements','createRange','consume','affectsData','data','registerPostFixer','for','$graveyard','comment:','openNewCommentThread','init','removeCommentThread','isOfficialPlugin','_handleMarkerAddAndRemove','length','managedUsingOperations','149301RNLldl','add','getChangedMarkers','registerAnnotation','upcast','reconvertMarker','map','_getTextContext','_threads','announce','locale','getCommentThreads','hasContent','$textProxy','addMarker:','ignoreResolvedComments','author','ready','getItems','markers','substring','isSubmitted','fromCharCode','model','CommentsEditing','elementToElement','delete','scrollToThreadMarker','schema','filter','markerToData','hasDomSelection','afterInit','group','32AFMylO','editing','reopenCommentThread','getByInnerView','collaboration.channelId','focus','_initializeMarkerConverters','dataDowncast','192JcUrKQ','document','resolveCommentThread','differ','ENTER_COMMENT_ANNOUNCEMENT','addComment','render','hasCommentThread','createPositionBefore','getCommentThread','state','$marker','set','text','getAllMarkersForId','getAttribute','config','attachTo','removeMarker:','54772KznVdw','clear','markerName','conversion','plugins','isThreadsLoadingPaused','210300kesKXV','editor','change:isThreadsLoadingPaused','switchReadOnly','channelId','destroyed','_handleThreadMarker','push','startsWith','85QULpDM','context','isPremiumPlugin','once','commands','isObject','setContext','isCollapsed','editingDowncast','consumable','_threadToController','item','getWalker'];_0xacb9=function(){return _0x567844;};return _0xacb9();}function ht(_0x1c8d37,_0x3b24a7){const _0x373238=_0x2faab3,_0x568350=_0x3b24a7[_0x373238(0x184)],_0x55e8fc=_0x3b24a7[_0x373238(0x159)](_0x1c8d37[_0x373238(0x154)]);for(const _0x2cee40 of _0x1c8d37[_0x373238(0x11c)]()){const {type:_0x2c4188,item:_0x571eaf,nextPosition:_0x4b8cc0}=_0x2cee40;if(_0x373238(0xfb)===_0x2c4188||_0x568350[_0x373238(0x115)](_0x571eaf)){const _0x33c30d=_0x3b24a7[_0x373238(0xf6)](_0x571eaf);_0x55e8fc[_0x373238(0x117)]&&(_0x55e8fc[_0x373238(0x154)]=_0x33c30d),_0x55e8fc[_0x373238(0x12d)]=_0x4b8cc0;}}return _0x55e8fc;}function mt(_0x34dbae){const _0x2ac335=_0x2faab3;return _0x2ac335(0x131)===_0x53f3b4(_0x34dbae[_0x2ac335(0x125)])[_0x2ac335(0x189)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x39ea6a=_0x36df;(function(_0x24c455,_0xa71dd1){const _0x40e801=_0x36df,_0x551677=_0x24c455();while(!![]){try{const _0x518d2a=-parseInt(_0x40e801(0x2ac))/0x1*(-parseInt(_0x40e801(0x258))/0x2)+parseInt(_0x40e801(0x26c))/0x3+parseInt(_0x40e801(0x22d))/0x4*(parseInt(_0x40e801(0x28e))/0x5)+-parseInt(_0x40e801(0x235))/0x6*(-parseInt(_0x40e801(0x24c))/0x7)+parseInt(_0x40e801(0x1ef))/0x8+-parseInt(_0x40e801(0x231))/0x9+-parseInt(_0x40e801(0x276))/0xa;if(_0x518d2a===_0xa71dd1)break;else _0x551677['push'](_0x551677['shift']());}catch(_0x1edf38){_0x551677['push'](_0x551677['shift']());}}}(_0x33c3,0x58c23));import{PendingActions as _0x325576,ContextPlugin as _0x2743fe,Editor as _0x71304d}from'ckeditor5/src/core.js';import{Collection as _0x3433bb,uid as _0x163d06,CKEditorError as _0xa543c9,ObservableMixin as _0x568c7a}from'ckeditor5/src/utils.js';function _0x36df(_0x29d3ee,_0x2921f5){const _0x33c3b3=_0x33c3();return _0x36df=function(_0x36dfe1,_0x5a6e83){_0x36dfe1=_0x36dfe1-0x1da;let _0x125a68=_0x33c3b3[_0x36dfe1];return _0x125a68;},_0x36df(_0x29d3ee,_0x2921f5);}import{getDateTimeFormatter as _0x1185fe,hashObject as _0xc5e4e8,Users as _0x40c859}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0xf3ed6d,isEqual as _0x1393f7,set as _0x277304,unset as _0xe84699}from'es-toolkit/compat';function _0x33c3(){const _0x1de481=['comments.CommentView','from','admin','editorDestroyed','CommentThreadView','commentsrepository-remove-comment-internal-error','update','_resolveCommentThread','204pttkOj','type','define','focus','4673565iEAkqy','escape','resolve','setAttribute','878142nZEeTH','get','attachTo','getCommentThreadForAnnotation','fetchCommentThread','change:activeAnnotations','CommentsRepository','commentsrepository-add-comment-user-not-exists','remove','isResolved','setContext','_getExternalAuthor','bodyCollectionContainer','commentsrepository-duplicated-comment-thread-id','commentsrepository-resolved-comment-thread','commentsrepository-active-missing-comment-thread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-update-comment-thread-internal-error','_permissions','commentsrepository-update-comment-internal-error','hasCommentThread','write','updateComment','21EqxiUz','commentInputView','external:','commentsrepository-remove-missing-comment','view','then','_viewToController','createCommentThreadController','body','resolvedAt','commentsrepository-invalid-comment-content','PENDING_ACTION_COMMENT_THREAD','1127024EZwcHs','change:_permissions','stopListening','commentsrepository-invalid-comment-authorid','getComment','getCommentThread','getCommentThreads','_findOptimalIndex','threadId','authoredAt','getUser','filter','_threads','authorName','addUser','modifyAll','creator','content','commentsrepository-remove-comment-thread-internal-error','pluginName','1020135GvuJdF','isOfficialPlugin','getTime','_update','string','licenseKey','setPermissions','toJSON','set','PendingActions','12390970zTnpMa','isSubmitted','_readOnlyChannels','getIndex','textContent','_submitCommentThread','add','_removeCommentThread','isResolvable','_adapter','comments.editorConfig','@external','_add','createElement','change:_readOnlyChannels','catch','CommentView','resolveCommentThread','isAttached','reduce','commentsrepository-add-comment-thread-internal-error','commentsrepository-reopen-comment-thread-internal-error','getPermissions','attributes','41660MwVQtQ','_createCommentThreadView','destroy','removeCommentThread','commentsrepository-reopen-comment-thread','commentsrepository-invalid-comment-thread-id','commentsrepository-missing-comment-thread','highest','_bindAnnotationToEditors','adapter','comments','_hasTargetInContent','function','delete','setActiveCommentThread','activeCommentThread','commentsrepository-missing-target','commentThreadInputView','_updateComment','isEditable','comments.maxCommentsWhenCollapsed','isReadOnly','isDirty','activate','once','commentsListView','commentsrepository-update-comment-invalid-content','change:authoredAt','values','innerHTML','1nZevBr','_reopenCommentThread','switchReadOnly','addCommentThread','_updateActiveAnnotation','_addCommentThread','commentsrepository-attach-missing-comment-thread','commentsrepository-adapter-already-set','_detachCommentThread','refreshVisibility','removeComment','submitCommentThread','commentsrepository-update-missing-comment','_removeComment','isPremiumPlugin','commentsrepository-missing-thread-and-adapter-method','_threadToController','addComment','archivedAt','length','focusTracker','getByInnerView','change:isDirty','canComment','isFromAdapter','error','fire','isExternal','_createNewComment','max','isActive','_removeActiveAnnotation','commentsrepository-invalid-commentid','warn','commentsrepository-active-not-attached','map','submit','deactivateAll','comments.copyMarkers','bind','lowest','_repository','comments.maxThreadTotalWeight','2835016YMtfZX','_unbindEditors','_attachCommentThread','listenTo','createdAt','config','_remove','commentsrepository-remove-comment-missing-comment-thread','commentId','plugins','_isAttached','isVisible','focusableElements','commentsrepository-add-comment-internal-error','updateCommentThread','model','_isSubmitted','reopen','openNewCommentThread','author','comments.maxCommentCharsWhenCollapsed','commentUpdated','_updateCommentThread','locale','editorReady','commentsrepository-update-comment-missing-comment-thread','resolvedBy','comments.CommentThreadView','context','innerView','channelId','isRemovable','unlinkedAt','push','requires','div','_addComment','commentsrepository-remove-missing-comment-thread','noChannel','commentsrepository-get-comment-invalid-id','weight','removeAttribute','has','getAnnotationForCommentThread','commentsrepository-fetch-comment-thread','setUnlinkedAt','trim','commentsrepository-resolve-comment-thread-internal-error','init','commentsrepository-add-comment-to-missing-comment-thread','reopenCommentThread','assign','comment','find'];_0x33c3=function(){return _0x1de481;};return _0x33c3();}import{CommentThreadController as _0x1b7ab7}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x385b1d}from'./ui/view/commentthreadview.js';import{CommentView as _0x3e9334}from'./ui/view/commentview.js';import{getTranslation as _0x5e79a3}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x197282}from'../annotations/view/annotationview.js';import{Annotation as _0x27f95a}from'../annotations/annotation.js';import{Annotations as _0x2287a4}from'../annotations/annotations.js';const _t=Symbol(_0x39ea6a(0x215)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2743fe{[_0x39ea6a(0x264)];[_0x39ea6a(0x2bc)];[_0x39ea6a(0x252)];static get[_0x39ea6a(0x211)](){return[_0x2287a4,_0x325576,_0x40c859];}static get[_0x39ea6a(0x26b)](){const _0x43658d=_0x39ea6a;return _0x43658d(0x23b);}static get[_0x39ea6a(0x26d)](){return!0x0;}static get[_0x39ea6a(0x2ba)](){return!0x0;}constructor(_0x21f064){const _0xe3de9a=_0x39ea6a;super(_0x21f064),this[_0xe3de9a(0x264)]=new Map(),this[_0xe3de9a(0x2bc)]=new Map(),this[_0xe3de9a(0x252)]=new Map(),this[_0xe3de9a(0x274)](_0xe3de9a(0x278),new Set()),this[_0xe3de9a(0x274)](_0xe3de9a(0x247),new Map());const _0x2713ef=this[_0xe3de9a(0x20b)][_0xe3de9a(0x1f4)];_0x2713ef[_0xe3de9a(0x22f)](_0xe3de9a(0x2a2),0x2),_0x2713ef[_0xe3de9a(0x22f)](_0xe3de9a(0x1ee),0x1f4),_0x2713ef[_0xe3de9a(0x22f)](_0xe3de9a(0x203),0x8c),_0x2713ef[_0xe3de9a(0x22f)](_0xe3de9a(0x20a),_0x385b1d),_0x2713ef[_0xe3de9a(0x22f)](_0xe3de9a(0x225),_0x3e9334),_0x2713ef[_0xe3de9a(0x236)](_0xe3de9a(0x280))||console[_0xe3de9a(0x1e5)](_0xe3de9a(0x245));}[_0x39ea6a(0x21f)](){const _0x2b00bf=_0x39ea6a,_0x194c57=this[_0x2b00bf(0x20b)][_0x2b00bf(0x1f8)][_0x2b00bf(0x236)](_0x2287a4);this[_0x2b00bf(0x274)](_0x2b00bf(0x29d),null),this['on'](_0x2b00bf(0x2af),(_0x19e075,_0x1deaa8)=>this[_0x2b00bf(0x2b1)](_0x1deaa8)),this['on'](_0x2b00bf(0x2b7),(_0x315563,_0x534aaf)=>this[_0x2b00bf(0x27b)](_0x534aaf)),this['on'](_0x2b00bf(0x287),(_0x25d871,_0x2f919a)=>this[_0x2b00bf(0x22c)](_0x2f919a)),this['on'](_0x2b00bf(0x287),(_0xcf8eae,_0xc04e6b)=>this[_0x2b00bf(0x2b0)](_0xc04e6b),{'priority':_0x2b00bf(0x1ec)}),this['on'](_0x2b00bf(0x221),(_0x476643,_0x5e154a)=>this[_0x2b00bf(0x2ad)](_0x5e154a)),this['on'](_0x2b00bf(0x221),(_0x3566bb,_0x1495b9)=>this[_0x2b00bf(0x2b0)](_0x1495b9),{'priority':_0x2b00bf(0x1ec)}),this['on'](_0x2b00bf(0x291),(_0x50a771,_0x1e1911)=>this[_0x2b00bf(0x27d)](_0x1e1911)),this['on'](_0x2b00bf(0x1fd),(_0x5c8757,_0x565fcc)=>this[_0x2b00bf(0x205)](_0x565fcc)),this['on'](_0x2b00bf(0x1fd),(_0x199f4e,_0x269aff)=>this[_0x2b00bf(0x2b0)](_0x269aff),{'priority':_0x2b00bf(0x1ec)}),this['on'](_0x2b00bf(0x2bd),(_0x4c6b07,_0x2f60bb)=>this[_0x2b00bf(0x213)](_0x2f60bb)),this['on'](_0x2b00bf(0x24b),(_0xc43eb1,_0x3e74c1)=>this[_0x2b00bf(0x2a0)](_0x3e74c1)),this['on'](_0x2b00bf(0x2b6),(_0x18bd71,_0x491a22)=>this[_0x2b00bf(0x2b9)](_0x491a22)),this['on'](_0x2b00bf(0x2bd),(_0x18d643,{threadId:_0x45d5ce,isFromAdapter:_0x5c306c})=>{const _0x86ddf2=_0x2b00bf;if(_0x5c306c)return;const _0x51f6ca=this[_0x86ddf2(0x25d)](_0x45d5ce),_0x2731fc=_0x51f6ca&&this[_0x86ddf2(0x2bc)][_0x86ddf2(0x236)](_0x51f6ca);_0x2731fc&&_0x2731fc[_0x86ddf2(0x250)][_0x86ddf2(0x2a7)][_0x86ddf2(0x230)](-0x1);},{'priority':_0x2b00bf(0x1ec)}),this[_0x2b00bf(0x1f2)](_0x194c57,_0x2b00bf(0x23a),(_0x3a2777,_0x451cf6,_0x53722f)=>{const _0x4c9952=_0x2b00bf,_0x3ddf6d=Array[_0x4c9952(0x226)](_0x53722f)[_0x4c9952(0x1e7)](_0x481455=>this[_0x4c9952(0x252)][_0x4c9952(0x236)](_0x481455[_0x4c9952(0x20c)]))[_0x4c9952(0x263)](Boolean)[0x0];this[_0x4c9952(0x29d)]=_0x3ddf6d?_0x3ddf6d[_0x4c9952(0x1fe)]:null;});}set[_0x39ea6a(0x297)](_0x28af34){const _0x3a4a88=_0x39ea6a;if(this[_0x3a4a88(0x27f)])throw new _0xa543c9(_0x3a4a88(0x2b3));this[_0x3a4a88(0x27f)]=_0x28af34;}get[_0x39ea6a(0x297)](){const _0x5a0f91=_0x39ea6a;return this[_0x5a0f91(0x27f)];}[_0x39ea6a(0x2af)]({channelId:_0x2adc4b=_t,threadId:_0x3d4427=_0x163d06(),comments:_0x21bc07=[],unlinkedAt:_0x3e13fd=null,resolvedAt:_0x1d3564=null,resolvedBy:_0x7720c0=null,target:_0x3d61f4=null,context:_0x494ea1=null,attributes:_0x2b489d={},isResolvable:_0x23d621=!0x0,isSubmitted:_0x161eae=!0x1,isFromAdapter:_0xafe29=!0x1}={}){const _0x597f61=_0x39ea6a;return this[_0x597f61(0x1de)](Nt(_0x597f61(0x2af),_0x2adc4b),{'channelId':_0x2adc4b,'threadId':_0x3d4427,'comments':_0x21bc07,'unlinkedAt':_0x3e13fd,'resolvedAt':_0x1d3564,'resolvedBy':_0x7720c0,'target':_0x3d61f4,'context':_0x494ea1,'attributes':_0x2b489d,'isFromAdapter':_0xafe29,'isResolvable':_0x23d621,'isSubmitted':_0x161eae}),this[_0x597f61(0x25d)](_0x3d4427);}[_0x39ea6a(0x201)]({channelId:_0x12bef8=_t,threadId:_0x30e4be=_0x163d06(),target:_0x582c64,context:_0x21b4e5=null,isResolvable:_0x4266d3=!0x0}){const _0x23af9a=_0x39ea6a;if(this[_0x23af9a(0x278)][_0x23af9a(0x219)](_0x12bef8)||this[_0x23af9a(0x278)][_0x23af9a(0x219)](void 0x0))return null;if(!_0x582c64)throw new _0xa543c9(_0x23af9a(0x29e));const _0x100043=this[_0x23af9a(0x2af)]({'channelId':_0x12bef8,'threadId':_0x30e4be,'target':_0x582c64,'context':_0x21b4e5,'isResolvable':_0x4266d3});if(!_0x100043)return null;const _0x244f7c=this[_0x23af9a(0x2bc)][_0x23af9a(0x236)](_0x100043),_0x155487=_0x244f7c[_0x23af9a(0x250)][_0x23af9a(0x29f)][_0x23af9a(0x24d)],_0x8e3773=this[_0x23af9a(0x20b)][_0x23af9a(0x1f8)][_0x23af9a(0x236)](_0x2287a4),_0x58d2cd=_0x8e3773[_0x23af9a(0x2c1)](_0x244f7c[_0x23af9a(0x250)]);return _0x8e3773[_0x23af9a(0x2a5)](_0x58d2cd),_0x155487[_0x23af9a(0x2a6)](_0x23af9a(0x207),()=>_0x155487[_0x23af9a(0x230)]()),_0x100043;}[_0x39ea6a(0x249)](_0xb66409){const _0x4e4895=_0x39ea6a;if(_0x4e4895(0x270)!=typeof _0xb66409)throw new _0xa543c9(_0x4e4895(0x293));return this[_0x4e4895(0x264)][_0x4e4895(0x219)](_0xb66409);}[_0x39ea6a(0x1fd)]({channelId:_0x29c11d=_t,threadId:_0x58edca,context:_0x340cdc,unlinkedAt:_0x352da0,attributes:_0x519415,isFromAdapter:_0x5b7dc4=!0x1}){const _0x40567d=_0x39ea6a;return this[_0x40567d(0x1de)](Nt(_0x40567d(0x1fd),_0x29c11d),{'channelId':_0x29c11d,'threadId':_0x58edca,'context':_0x340cdc,'unlinkedAt':_0x352da0,'attributes':_0x519415,'isFromAdapter':_0x5b7dc4}),this[_0x40567d(0x25d)](_0x58edca);}[_0x39ea6a(0x25d)](_0x1e7f8){const _0x1e3ad7=_0x39ea6a;if(_0x1e3ad7(0x270)!=typeof _0x1e7f8)throw new _0xa543c9(_0x1e3ad7(0x293));return this[_0x1e3ad7(0x264)][_0x1e3ad7(0x236)](_0x1e7f8);}[_0x39ea6a(0x239)]({channelId:_0x1d6a3a,threadId:_0x49f2bd}={}){const _0x1f8903=_0x39ea6a,_0x559bde=this[_0x1f8903(0x25d)](_0x49f2bd);if(_0x559bde)return Promise[_0x1f8903(0x233)](_0x559bde);if(!this[_0x1f8903(0x297)])return Promise[_0x1f8903(0x233)](void 0x0);if(_0x1f8903(0x29a)!=typeof this[_0x1f8903(0x297)][_0x1f8903(0x25d)])throw new _0xa543c9(_0x1f8903(0x2bb),this[_0x1f8903(0x20b)]);return this[_0x1f8903(0x297)][_0x1f8903(0x25d)]({'channelId':_0x1d6a3a,'threadId':_0x49f2bd})[_0x1f8903(0x251)](_0x4aab8b=>this[_0x1f8903(0x249)](_0x49f2bd)?this[_0x1f8903(0x25d)](_0x49f2bd):_0x4aab8b?this[_0x1f8903(0x2af)](Object[_0x1f8903(0x222)]({'isFromAdapter':!0x0,'channelId':_0x1d6a3a},_0x4aab8b)):void 0x0)[_0x1f8903(0x285)](_0x44d91a=>{const _0x56b25e=_0x1f8903;throw console[_0x56b25e(0x1dd)](_0x44d91a),new _0xa543c9(_0x56b25e(0x21b),this[_0x56b25e(0x20b)]);});}[_0x39ea6a(0x25e)]({channelId:_0x34a15d,skipNotAttached:_0x4f4b7b=!0x1,skipEmpty:_0x3a0862=!0x1,toJSON:_0x197ab5=!0x1}={}){const _0x43add6=_0x39ea6a,_0x1059f8=[];for(const _0x237daf of this[_0x43add6(0x264)][_0x43add6(0x2aa)]())_0x34a15d&&_0x237daf[_0x43add6(0x20d)]!==_0x34a15d||_0x4f4b7b&&!_0x237daf[_0x43add6(0x288)]||_0x3a0862&&0x0===_0x237daf[_0x43add6(0x2bf)]||_0x1059f8[_0x43add6(0x210)](_0x237daf);return _0x197ab5?_0x1059f8[_0x43add6(0x1e7)](_0x4010da=>_0x4010da[_0x43add6(0x273)]()):_0x1059f8;}[_0x39ea6a(0x21a)](_0x2ee234){const _0x5f7590=_0x39ea6a,_0x30f060=this[_0x5f7590(0x2bc)][_0x5f7590(0x236)](_0x2ee234);if(!_0x30f060)return null;return this[_0x5f7590(0x20b)][_0x5f7590(0x1f8)][_0x5f7590(0x236)](_0x2287a4)[_0x5f7590(0x2c1)](_0x30f060[_0x5f7590(0x250)])||null;}[_0x39ea6a(0x238)](_0xeec8f7){const _0x1fdc39=_0x39ea6a,_0x3f7a75=this[_0x1fdc39(0x252)][_0x1fdc39(0x236)](_0xeec8f7[_0x1fdc39(0x20c)]);return _0x3f7a75?_0x3f7a75[_0x1fdc39(0x1fe)]:null;}[_0x39ea6a(0x29c)](_0x22efd0){const _0x5ff65e=_0x39ea6a,_0xad23fa=this[_0x5ff65e(0x20b)][_0x5ff65e(0x1f8)][_0x5ff65e(0x236)](_0x2287a4);if(!_0x22efd0)return void(this[_0x5ff65e(0x29d)]&&_0xad23fa[_0x5ff65e(0x1e9)]());const _0xba23cc=this[_0x5ff65e(0x25d)](_0x22efd0);if(!_0xba23cc)throw new _0xa543c9(_0x5ff65e(0x244),null,{'threadId':_0x22efd0});if(!this[_0x5ff65e(0x2bc)][_0x5ff65e(0x219)](_0xba23cc))throw new _0xa543c9(_0x5ff65e(0x1e6),null,{'threadId':_0x22efd0});const _0x357515=_0xad23fa[_0x5ff65e(0x2c1)](this[_0x5ff65e(0x2bc)][_0x5ff65e(0x236)](_0xba23cc)[_0x5ff65e(0x250)]);_0xad23fa[_0x5ff65e(0x2a5)](_0x357515);}[_0x39ea6a(0x2ae)](_0x27e7a9,_0x5a8713){const _0x2139b5=_0x39ea6a;_0x27e7a9?this[_0x2139b5(0x278)][_0x2139b5(0x27c)](_0x5a8713):this[_0x2139b5(0x278)][_0x2139b5(0x29b)](_0x5a8713),this[_0x2139b5(0x1de)](_0x2139b5(0x284),_0x2139b5(0x278),this[_0x2139b5(0x278)],this[_0x2139b5(0x278)]);}[_0x39ea6a(0x2a3)](_0x1648d1){const _0x5390bd=_0x39ea6a;return this[_0x5390bd(0x278)][_0x5390bd(0x219)](_0x1648d1)||this[_0x5390bd(0x278)][_0x5390bd(0x219)](void 0x0);}[_0x39ea6a(0x253)](_0x44de8b,_0x10bae7){return new _0x1b7ab7(_0x44de8b,_0x10bae7);}[_0x39ea6a(0x272)](_0x36379f,_0x350afa=_t){const _0x5b1a0e=_0x39ea6a;this[_0x5b1a0e(0x247)][_0x5b1a0e(0x274)](_0x350afa,_0x36379f),this[_0x5b1a0e(0x1de)](_0x5b1a0e(0x259),_0x5b1a0e(0x247),this[_0x5b1a0e(0x247)],this[_0x5b1a0e(0x247)]);}[_0x39ea6a(0x28c)](_0x409480=_t){const _0x4bf109=_0x39ea6a;return this[_0x4bf109(0x247)][_0x4bf109(0x219)](_0x409480)?this[_0x4bf109(0x247)][_0x4bf109(0x236)](_0x409480):bt;}[_0x39ea6a(0x2b1)]({channelId:_0x278d6b,threadId:_0x395b75,comments:_0x1fb731,unlinkedAt:_0x2b443e,resolvedAt:_0x56ffa3,resolvedBy:_0x52db28,target:_0x512d11,context:_0x25ccfd,attributes:_0x39a698,isFromAdapter:_0x4959f8,isResolvable:_0x89338c,isSubmitted:_0x1995f7}){const _0x349547=_0x39ea6a;if(_0x349547(0x270)!=typeof _0x395b75)throw new _0xa543c9(_0x349547(0x293),null,{'threadId':_0x395b75});if(this[_0x349547(0x249)](_0x395b75))throw new _0xa543c9(_0x349547(0x242),null,{'threadId':_0x395b75});const _0x3f331d=new CommentThread(this,{'channelId':_0x278d6b,'id':_0x395b75,'context':_0x25ccfd,'attributes':_0x39a698,'unlinkedAt':_0x2b443e,'resolvedAt':_0x56ffa3,'resolvedBy':_0x52db28?this[_0x349547(0x20b)][_0x349547(0x1f8)][_0x349547(0x236)](_0x40c859)[_0x349547(0x262)](_0x52db28):null,'isResolvable':_0x89338c,'isSubmitted':_0x1995f7||_0x4959f8});this[_0x349547(0x264)][_0x349547(0x274)](_0x395b75,_0x3f331d);for(const _0xb0030c of _0x1fb731)_0x3f331d[_0x349547(0x282)](this[_0x349547(0x1e0)]({'threadId':_0x395b75,..._0xb0030c}));return _0x512d11&&_0x3f331d[_0x349547(0x237)](_0x512d11),_0x4959f8||!_0x3f331d[_0x349547(0x2bf)]?Promise[_0x349547(0x233)]():this[_0x349547(0x27b)]({'channelId':_0x278d6b,'threadId':_0x395b75});}[_0x39ea6a(0x27b)]({channelId:_0x58c5cc,threadId:_0x5c2210}){const _0x1e453f=_0x39ea6a;if(!this[_0x1e453f(0x249)](_0x5c2210))throw new _0xa543c9(_0x1e453f(0x294),this);const _0x51df42=this[_0x1e453f(0x25d)](_0x5c2210);if(_0x51df42[_0x1e453f(0x1ff)]=!0x0,!this[_0x1e453f(0x297)]||_0x1e453f(0x29a)!=typeof this[_0x1e453f(0x297)][_0x1e453f(0x2af)])return Promise[_0x1e453f(0x233)]();const {id:_0x484741,comments:_0x55584d,resolvedAt:_0x43b5ab,resolvedBy:_0x357558,context:_0x18bdbb,attributes:_0x26173a}=_0x51df42,_0x18d116=this[_0x1e453f(0x20b)][_0x1e453f(0x1f8)][_0x1e453f(0x236)](_0x1e453f(0x275)),_0x30188c=_0x18d116[_0x1e453f(0x27c)](_0x5e79a3(this[_0x1e453f(0x20b)][_0x1e453f(0x206)],_0x1e453f(0x257)));return this[_0x1e453f(0x297)][_0x1e453f(0x2af)]({'channelId':_0x58c5cc,'threadId':_0x484741,'comments':_0x55584d[_0x1e453f(0x1e7)](_0x53d2b6=>_0x53d2b6[_0x1e453f(0x273)]()),'resolvedAt':_0x43b5ab,'resolvedBy':_0x357558?_0x357558['id']:_0x357558,'context':_0x18bdbb,'attributes':_0x26173a})[_0x1e453f(0x251)](({comments:_0x43bf41})=>{const _0x4bcb1b=_0x1e453f;_0x18d116[_0x4bcb1b(0x23d)](_0x30188c);for(const _0x258192 of _0x43bf41)this[_0x4bcb1b(0x2a0)]({'channelId':_0x58c5cc,'threadId':_0x5c2210,'commentId':_0x258192[_0x4bcb1b(0x1f7)],'createdAt':_0x258192[_0x4bcb1b(0x1f3)],'isFromAdapter':!0x0});})[_0x1e453f(0x285)](_0x25661d=>{const _0x18baab=_0x1e453f;throw console[_0x18baab(0x1dd)](_0x25661d),new _0xa543c9(_0x18baab(0x28a),this);});}[_0x39ea6a(0x1f1)]({threadId:_0xebabe4,target:_0x26054e}){const _0x3f4726=_0x39ea6a,_0x315188=this[_0x3f4726(0x25d)](_0xebabe4);if(!_0x315188)throw new _0xa543c9(_0x3f4726(0x2b2),this);const _0x24ea15=this[_0x3f4726(0x20b)][_0x3f4726(0x1f8)][_0x3f4726(0x236)](_0x3f4726(0x275)),_0x17f19f=this[_0x3f4726(0x20b)][_0x3f4726(0x1f8)][_0x3f4726(0x236)](_0x2287a4),_0x3f76b9=this[_0x3f4726(0x28f)](_0x315188),_0x1c927d=new _0x1b7ab7(_0x315188,_0x3f76b9);let _0x8e531d=null;_0x3f76b9['on'](_0x3f4726(0x1da),(_0x33b5ce,_0x26daec,_0x8f1f61)=>{const _0x1ab599=_0x3f4726;_0x8f1f61?_0x8e531d=_0x24ea15[_0x1ab599(0x27c)](_0x5e79a3(this[_0x1ab599(0x20b)][_0x1ab599(0x206)],_0x1ab599(0x257))):_0x8e531d&&(_0x24ea15[_0x1ab599(0x23d)](_0x8e531d),_0x8e531d=null);}),this[_0x3f4726(0x2bc)][_0x3f4726(0x274)](_0x315188,_0x1c927d),this[_0x3f4726(0x252)][_0x3f4726(0x274)](_0x3f76b9,_0x1c927d);const _0x30dfe9=new _0x197282(this[_0x3f4726(0x20b)][_0x3f4726(0x206)],_0x3f76b9);_0x30dfe9[_0x3f4726(0x1eb)](_0x3f4726(0x2bf))['to'](_0x3f76b9),_0x30dfe9[_0x3f4726(0x1eb)](_0x3f4726(0x2a4))['to'](_0x3f76b9,_0x3f4726(0x2a4),_0x3f76b9,_0x3f4726(0x2bf),(_0x513c01,_0xdcd90a)=>_0x513c01||!_0xdcd90a),_0x30dfe9[_0x3f4726(0x1eb)](_0x3f4726(0x1e2))['to'](_0x3f76b9),_0x30dfe9[_0x3f4726(0x22e)]=_0x3f4726(0x223);const _0x310e02=new _0x27f95a({'view':_0x30dfe9,'target':_0x26054e,'type':_0x3f4726(0x223),'isVisible':!_0x315188[_0x3f4726(0x2be)]&&!!(_0x3f4726(0x29a)==typeof _0x26054e?_0x26054e():_0x26054e)});return _0x3f76b9['on'](_0x3f4726(0x232),()=>{const _0x267131=_0x3f4726;_0x310e02[_0x267131(0x1de)](_0x267131(0x232));}),this[_0x3f4726(0x296)](_0x3f76b9,_0x310e02),_0x17f19f[_0x3f4726(0x27c)](_0x310e02),_0x310e02;}[_0x39ea6a(0x296)](_0xf39670,_0x517deb){const _0x461b58=_0x39ea6a;this[_0x461b58(0x1f2)](_0xf39670,_0x461b58(0x207),(_0x534022,_0x3e7b8c)=>{const _0x1d83bc=_0x461b58,_0x416683=_0x3e7b8c['ui'][_0x1d83bc(0x250)][_0x1d83bc(0x254)][_0x1d83bc(0x241)];_0x517deb[_0x1d83bc(0x1fb)][_0x1d83bc(0x27c)](_0x416683),this[_0x1d83bc(0x20b)]instanceof _0x71304d&&this[_0x1d83bc(0x20b)]['ui'][_0x1d83bc(0x2c0)][_0x1d83bc(0x27c)](_0x416683);},{'priority':_0x461b58(0x295)}),this[_0x461b58(0x1f2)](_0xf39670,_0x461b58(0x228),(_0x3b7a14,_0x53d5bc)=>{const _0x51ef16=_0x461b58,_0x36c8f1=_0x53d5bc['ui'][_0x51ef16(0x250)][_0x51ef16(0x254)][_0x51ef16(0x241)];_0x517deb[_0x51ef16(0x1fb)][_0x51ef16(0x219)](_0x36c8f1)&&_0x517deb[_0x51ef16(0x1fb)][_0x51ef16(0x23d)](_0x36c8f1),this[_0x51ef16(0x20b)]instanceof _0x71304d&&this[_0x51ef16(0x20b)]['ui'][_0x51ef16(0x2c0)][_0x51ef16(0x23d)](_0x36c8f1);});}[_0x39ea6a(0x1f0)](_0x5de22b){const _0x139976=_0x39ea6a;this[_0x139976(0x25a)](_0x5de22b,_0x139976(0x207)),this[_0x139976(0x25a)](_0x5de22b,_0x139976(0x228));}[_0x39ea6a(0x28f)](_0xc47759){const _0x2bdb6f=_0x39ea6a,_0x4849c2=this[_0x2bdb6f(0x20b)][_0x2bdb6f(0x1f8)][_0x2bdb6f(0x236)](_0x40c859),{config:_0x55b205,locale:_0x543226}=this[_0x2bdb6f(0x20b)],_0x4ca048=_0x1185fe(_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x206)),_0x543226);return new(0x0,(_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x298)))[(_0x2bdb6f(0x229))])(_0x543226,_0xc47759,_0x4849c2['me'],{'editorConfig':{..._0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x280)),'licenseKey':this[_0x2bdb6f(0x20b)][_0x2bdb6f(0x1f4)][_0x2bdb6f(0x236)](_0x2bdb6f(0x271))},'copyMarkers':_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x1ea)),'maxCommentsWhenCollapsed':_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x2a2)),'maxThreadTotalWeight':_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x1ee)),'maxCommentCharsWhenCollapsed':_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x203)),'formatDateTime':_0x4ca048,'CommentView':_0x55b205[_0x2bdb6f(0x236)](_0x2bdb6f(0x298))[_0x2bdb6f(0x286)]});}[_0x39ea6a(0x22c)]({threadId:_0x503dc4,channelId:_0x4608e8,resolvedAt:_0x1a9c61,resolvedBy:_0x565a4c,isFromAdapter:_0x368ee2}){const _0x2e18e5=_0x39ea6a;if(!this[_0x2e18e5(0x249)](_0x503dc4))throw new _0xa543c9(_0x2e18e5(0x294),null,{'threadId':_0x503dc4});const _0x3403a0=this[_0x2e18e5(0x25d)](_0x503dc4);if(_0x3403a0[_0x2e18e5(0x23e)])throw new _0xa543c9(_0x2e18e5(0x243),null,{'threadId':_0x503dc4});const _0x5e2d3b=this[_0x2e18e5(0x20b)][_0x2e18e5(0x1f8)][_0x2e18e5(0x236)](_0x40c859);if(_0x3403a0[_0x2e18e5(0x209)]=_0x5e2d3b[_0x2e18e5(0x262)](_0x565a4c),_0x3403a0[_0x2e18e5(0x255)]=_0x1a9c61,_0x368ee2||!this[_0x2e18e5(0x297)]||_0x2e18e5(0x29a)!=typeof this[_0x2e18e5(0x297)][_0x2e18e5(0x287)])return Promise[_0x2e18e5(0x233)]();const _0x24c532=this[_0x2e18e5(0x20b)][_0x2e18e5(0x1f8)][_0x2e18e5(0x236)](_0x2e18e5(0x275)),_0x32ddf5=_0x24c532[_0x2e18e5(0x27c)](_0x5e79a3(this[_0x2e18e5(0x20b)][_0x2e18e5(0x206)],_0x2e18e5(0x257)));return this[_0x2e18e5(0x297)][_0x2e18e5(0x287)]({'channelId':_0x4608e8,'threadId':_0x503dc4})[_0x2e18e5(0x251)](({resolvedAt:_0x2313f7,resolvedBy:_0x369832})=>{const _0x3e339f=_0x2e18e5;_0x24c532[_0x3e339f(0x23d)](_0x32ddf5),_0x3403a0[_0x3e339f(0x209)]['id']!==_0x369832&&(_0x3403a0[_0x3e339f(0x209)]=_0x5e2d3b[_0x3e339f(0x262)](_0x369832)),_0x3403a0[_0x3e339f(0x255)]=_0x2313f7;})[_0x2e18e5(0x285)](_0x1d1ef1=>{const _0x14f807=_0x2e18e5;throw console[_0x14f807(0x1dd)](_0x1d1ef1),new _0xa543c9(_0x14f807(0x21e),this);});}[_0x39ea6a(0x2ad)]({threadId:_0xb37aaa,channelId:_0x75975c,isFromAdapter:_0x260f3a}){const _0x2e415f=_0x39ea6a;if(!this[_0x2e415f(0x249)](_0xb37aaa))throw new _0xa543c9(_0x2e415f(0x294),null,{'threadId':_0xb37aaa});const _0x44a113=this[_0x2e415f(0x25d)](_0xb37aaa);if(!_0x44a113[_0x2e415f(0x23e)])throw new _0xa543c9(_0x2e415f(0x292),null,{'threadId':_0xb37aaa});if(_0x44a113[_0x2e415f(0x209)]=null,_0x44a113[_0x2e415f(0x255)]=null,_0x260f3a||!this[_0x2e415f(0x297)]||_0x2e415f(0x29a)!=typeof this[_0x2e415f(0x297)][_0x2e415f(0x221)])return Promise[_0x2e415f(0x233)]();const _0x2f4c53=this[_0x2e415f(0x20b)][_0x2e415f(0x1f8)][_0x2e415f(0x236)](_0x2e415f(0x275)),_0x46621a=_0x2f4c53[_0x2e415f(0x27c)](_0x5e79a3(this[_0x2e415f(0x20b)][_0x2e415f(0x206)],_0x2e415f(0x257)));return this[_0x2e415f(0x297)][_0x2e415f(0x221)]({'channelId':_0x75975c,'threadId':_0xb37aaa})[_0x2e415f(0x251)](()=>_0x2f4c53[_0x2e415f(0x23d)](_0x46621a))[_0x2e415f(0x285)](_0x1ba3f4=>{const _0x1f9469=_0x2e415f;throw console[_0x1f9469(0x1dd)](_0x1ba3f4),new _0xa543c9(_0x1f9469(0x28b),this);});}[_0x39ea6a(0x27d)]({threadId:_0x2c7b94,isFromAdapter:_0x5e1a30}){const _0x4f0865=_0x39ea6a,_0x4dcf8f=this[_0x4f0865(0x25d)](_0x2c7b94);if(!_0x4dcf8f)throw new _0xa543c9(_0x4f0865(0x214),this);if(this[_0x4f0865(0x2b4)](_0x2c7b94),this[_0x4f0865(0x264)][_0x4f0865(0x29b)](_0x2c7b94),!_0x4dcf8f[_0x4f0865(0x277)]||_0x5e1a30||!this[_0x4f0865(0x297)]||_0x4f0865(0x29a)!=typeof this[_0x4f0865(0x297)][_0x4f0865(0x291)])return Promise[_0x4f0865(0x233)]();const _0x35f29b=this[_0x4f0865(0x20b)][_0x4f0865(0x1f8)][_0x4f0865(0x236)](_0x4f0865(0x275)),{channelId:_0x50f4c0}=_0x4dcf8f,_0x2811ac=_0x35f29b[_0x4f0865(0x27c)](_0x5e79a3(this[_0x4f0865(0x20b)][_0x4f0865(0x206)],_0x4f0865(0x257)));return this[_0x4f0865(0x297)][_0x4f0865(0x291)]({'channelId':_0x50f4c0,'threadId':_0x2c7b94})[_0x4f0865(0x251)](()=>_0x35f29b[_0x4f0865(0x23d)](_0x2811ac))[_0x4f0865(0x285)](_0x33beae=>{const _0x1cb086=_0x4f0865;throw console[_0x1cb086(0x1dd)](_0x33beae),new _0xa543c9(_0x1cb086(0x26a),this);});}[_0x39ea6a(0x205)]({threadId:_0x2a4077,unlinkedAt:_0x227d03,context:_0x39f31c,attributes:_0x3db60f,isFromAdapter:_0x21d6b8}){const _0x286341=_0x39ea6a;if(_0x286341(0x270)!=typeof _0x2a4077)throw new _0xa543c9(_0x286341(0x293),null,{'threadId':_0x2a4077});if(!this[_0x286341(0x249)](_0x2a4077))throw new _0xa543c9(_0x286341(0x294),null,{'threadId':_0x2a4077});const _0x47b576=this[_0x286341(0x25d)](_0x2a4077);let _0x199712=!0x1;if(void 0x0!==_0x39f31c&&_0x47b576[_0x286341(0x20b)]!==_0x39f31c&&(_0x47b576[_0x286341(0x20b)]=_0x39f31c,_0x199712=!0x0),void 0x0!==_0x227d03&&_0x47b576[_0x286341(0x20f)]!==_0x227d03&&(_0x47b576[_0x286341(0x20f)]=_0x227d03,_0x199712=!0x0),_0x3db60f&&!_0x1393f7(_0x3db60f,_0x47b576[_0x286341(0x28d)])&&(_0x47b576[_0x286341(0x28d)]=_0x3db60f,_0x199712=!0x0),!_0x199712)return Promise[_0x286341(0x233)]();if(!_0x47b576[_0x286341(0x277)]||_0x21d6b8||!this[_0x286341(0x297)]||_0x286341(0x29a)!=typeof this[_0x286341(0x297)][_0x286341(0x1fd)])return Promise[_0x286341(0x233)]();const _0x363a7a=this[_0x286341(0x20b)][_0x286341(0x1f8)][_0x286341(0x236)](_0x286341(0x275)),{channelId:_0x158155}=_0x47b576,_0x21c926=_0x363a7a[_0x286341(0x27c)](_0x5e79a3(this[_0x286341(0x20b)][_0x286341(0x206)],_0x286341(0x257)));return this[_0x286341(0x297)][_0x286341(0x1fd)]({'channelId':_0x158155,'threadId':_0x2a4077,'context':_0x39f31c,'unlinkedAt':_0x227d03,'attributes':_0x3db60f})[_0x286341(0x251)](()=>_0x363a7a[_0x286341(0x23d)](_0x21c926))[_0x286341(0x285)](_0x414ce9=>{const _0x23bd2f=_0x286341;throw console[_0x23bd2f(0x1dd)](_0x414ce9),new _0xa543c9(_0x23bd2f(0x246),this);});}[_0x39ea6a(0x2b4)](_0x4b5119){const _0x566275=_0x39ea6a,_0x1be12e=this[_0x566275(0x20b)][_0x566275(0x1f8)][_0x566275(0x236)](_0x2287a4),_0x2679a2=this[_0x566275(0x25d)](_0x4b5119);if(_0x2679a2[_0x566275(0x1f9)]=!0x1,this[_0x566275(0x2bc)][_0x566275(0x219)](_0x2679a2)){const _0x114290=this[_0x566275(0x2bc)][_0x566275(0x236)](_0x2679a2),_0x3f3708=_0x114290[_0x566275(0x250)],_0x141597=_0x1be12e[_0x566275(0x2c1)](_0x3f3708);this[_0x566275(0x2bc)][_0x566275(0x29b)](_0x2679a2),this[_0x566275(0x252)][_0x566275(0x29b)](_0x3f3708),_0x141597&&_0x1be12e[_0x566275(0x23d)](_0x141597),_0x114290[_0x566275(0x290)](),_0x3f3708[_0x566275(0x290)]()[_0x566275(0x251)](()=>{const _0x4389bf=_0x566275;this[_0x4389bf(0x1f0)](_0x3f3708);});}}[_0x39ea6a(0x2b0)]({threadId:_0x598343,resolvedAt:_0x15e2f2,unlinkedAt:_0x47b236}){const _0x1f2f7e=_0x39ea6a,_0x555987=!!_0x15e2f2,_0x21b41a=this[_0x1f2f7e(0x20b)][_0x1f2f7e(0x1f8)][_0x1f2f7e(0x236)](_0x2287a4),_0x468d84=this[_0x1f2f7e(0x25d)](_0x598343);if(this[_0x1f2f7e(0x2bc)][_0x1f2f7e(0x219)](_0x468d84)){const _0x40e328=this[_0x1f2f7e(0x2bc)][_0x1f2f7e(0x236)](_0x468d84)[_0x1f2f7e(0x250)],_0x5c74ce=_0x21b41a[_0x1f2f7e(0x2c1)](_0x40e328);_0x5c74ce&&(_0x555987&&_0x21b41a[_0x1f2f7e(0x1e3)](_0x5c74ce),_0x47b236?_0x5c74ce[_0x1f2f7e(0x1fa)]=!0x1:_0x5c74ce[_0x1f2f7e(0x2b5)]());}}[_0x39ea6a(0x240)](_0x305d5f){const _0x333b45=_0x39ea6a,_0x894af6=this[_0x333b45(0x20b)][_0x333b45(0x1f8)][_0x333b45(0x236)](_0x40c859),_0x344dde=_0xc5e4e8(_0x333b45(0x24e)+_0x305d5f),_0x58248a=_0x894af6[_0x333b45(0x262)](_0x344dde);return _0x58248a||_0x894af6[_0x333b45(0x266)]({'id':_0x344dde,'name':_0x305d5f});}[_0x39ea6a(0x1e0)]({threadId:_0x491a39,commentId:_0x410536=_0x163d06(),content:_0x58019d,authorId:_0x1914c2,createdAt:_0x5ccb17,attributes:_0x160252}){const _0x19f83d=_0x39ea6a;if(_0x19f83d(0x270)!=typeof _0x410536)throw new _0xa543c9(_0x19f83d(0x1e4));if(_0x19f83d(0x270)!=typeof _0x1914c2)throw new _0xa543c9(_0x19f83d(0x25b));if(_0x19f83d(0x270)!=typeof _0x58019d||!_0x58019d[_0x19f83d(0x21d)]())throw new _0xa543c9(_0x19f83d(0x256));const _0x2e3231=this[_0x19f83d(0x20b)][_0x19f83d(0x1f8)][_0x19f83d(0x236)](_0x40c859)[_0x19f83d(0x262)](_0x1914c2);if(!_0x2e3231)throw new _0xa543c9(_0x19f83d(0x23c),null,{'authorId':_0x1914c2});let _0x48e91f=null,_0x399bc5=_0x5ccb17;return _0x160252?.[_0x19f83d(0x281)]&&(_0x48e91f=this[_0x19f83d(0x240)](_0x160252[_0x19f83d(0x281)][_0x19f83d(0x265)]),_0x399bc5=new Date(_0x160252[_0x19f83d(0x281)][_0x19f83d(0x1f3)])),new Comment(this,{'threadId':_0x491a39,'id':_0x410536,'author':_0x48e91f||_0x2e3231,'creator':_0x2e3231,'content':_0x58019d,'createdAt':_0x5ccb17,'authoredAt':_0x399bc5,'attributes':_0x160252});}[_0x39ea6a(0x213)](_0x33705e){const _0x3786f0=_0x39ea6a;let {threadId:_0x260007,content:_0x2c5dbd,attributes:_0x119e68,isFromAdapter:_0x613e35}=_0x33705e;const _0x3b1adc=this[_0x3786f0(0x25d)](_0x33705e[_0x3786f0(0x260)]);if(!_0x3b1adc)throw new _0xa543c9(_0x3786f0(0x220),this);const _0x38df29=this[_0x3786f0(0x1e0)](_0x33705e),{id:_0x4a2de7}=_0x38df29;if(_0x3b1adc[_0x3786f0(0x282)](_0x38df29),_0x613e35||!this[_0x3786f0(0x297)]||_0x3786f0(0x29a)!=typeof this[_0x3786f0(0x297)][_0x3786f0(0x2bd)]||!_0x3b1adc[_0x3786f0(0x277)])return Promise[_0x3786f0(0x233)]();const _0xc04f3a=this[_0x3786f0(0x20b)][_0x3786f0(0x1f8)][_0x3786f0(0x236)](_0x3786f0(0x275)),{channelId:_0x280d9b}=_0x3b1adc,_0xba35f5=_0xc04f3a[_0x3786f0(0x27c)](_0x5e79a3(this[_0x3786f0(0x20b)][_0x3786f0(0x206)],_0x3786f0(0x257)));return _0x119e68||(_0x119e68={}),this[_0x3786f0(0x297)][_0x3786f0(0x2bd)]({'channelId':_0x280d9b,'threadId':_0x260007,'commentId':_0x4a2de7,'content':_0x2c5dbd,'attributes':_0x119e68})[_0x3786f0(0x251)](_0x2debd0=>{const _0x5ee559=_0x3786f0;_0xc04f3a[_0x5ee559(0x23d)](_0xba35f5),_0x2debd0&&this[_0x5ee559(0x2a0)]({'channelId':_0x280d9b,'threadId':_0x260007,'commentId':_0x4a2de7,'createdAt':_0x2debd0[_0x5ee559(0x1f3)],'isFromAdapter':!0x0});})[_0x3786f0(0x285)](_0x5ad2d0=>{const _0x5cd306=_0x3786f0;throw console[_0x5cd306(0x1dd)](_0x5ad2d0),new _0xa543c9(_0x5cd306(0x1fc),this);});}[_0x39ea6a(0x2a0)]({threadId:_0x200427,commentId:_0x44ab47,content:_0xd26745,createdAt:_0xe8c0ca,attributes:_0x474c56,isFromAdapter:_0x36cf74}){const _0x4b9865=_0x39ea6a;if(void 0x0!==_0xd26745&&(_0x4b9865(0x270)!=typeof _0xd26745||!_0xd26745[_0x4b9865(0x21d)]()[_0x4b9865(0x2bf)]))throw new _0xa543c9(_0x4b9865(0x2a8));const _0x28a4ca=this[_0x4b9865(0x25d)](_0x200427),_0x52c60c=_0x28a4ca[_0x4b9865(0x25c)](_0x44ab47);if(!_0x52c60c)throw new _0xa543c9(_0x4b9865(0x2b8),this);let _0x44c09f=!0x1;if(_0xd26745&&_0xd26745!==_0x52c60c[_0x4b9865(0x269)]&&(_0x52c60c[_0x4b9865(0x2a1)]||_0x36cf74)&&(_0x52c60c[_0x4b9865(0x269)]=_0xd26745,_0x44c09f=!0x0),_0xe8c0ca&&_0xe8c0ca!==_0x52c60c[_0x4b9865(0x1f3)]&&(_0x52c60c[_0x4b9865(0x1f3)]=_0xe8c0ca,_0x52c60c[_0x4b9865(0x28d)]&&_0x52c60c[_0x4b9865(0x28d)][_0x4b9865(0x281)]||(_0x52c60c[_0x4b9865(0x261)]=_0xe8c0ca),_0x44c09f=!0x0),_0x474c56&&!_0x1393f7(_0x474c56,_0x52c60c[_0x4b9865(0x28d)])&&(_0x52c60c[_0x4b9865(0x28d)]=_0x474c56,_0x44c09f=!0x0),!_0x44c09f)return Promise[_0x4b9865(0x233)]();if(_0x28a4ca[_0x4b9865(0x1de)](_0x4b9865(0x204)),_0x36cf74||!this[_0x4b9865(0x297)]||_0x4b9865(0x29a)!=typeof this[_0x4b9865(0x297)][_0x4b9865(0x24b)])return Promise[_0x4b9865(0x233)]();const _0x5d88df=this[_0x4b9865(0x20b)][_0x4b9865(0x1f8)][_0x4b9865(0x236)](_0x4b9865(0x275)),{channelId:_0x477e8d}=this[_0x4b9865(0x25d)](_0x52c60c[_0x4b9865(0x260)]),_0xc53ec9=_0x5d88df[_0x4b9865(0x27c)](_0x5e79a3(this[_0x4b9865(0x20b)][_0x4b9865(0x206)],_0x4b9865(0x257)));return this[_0x4b9865(0x297)][_0x4b9865(0x24b)]({'channelId':_0x477e8d,'threadId':_0x200427,'commentId':_0x44ab47,'content':_0xd26745,'attributes':_0x474c56})[_0x4b9865(0x251)](()=>_0x5d88df[_0x4b9865(0x23d)](_0xc53ec9))[_0x4b9865(0x285)](_0x22d636=>{const _0x10fea3=_0x4b9865;throw console[_0x10fea3(0x1dd)](_0x22d636),new _0xa543c9(_0x10fea3(0x248),this);});}[_0x39ea6a(0x2b9)]({threadId:_0x3e3f8b,commentId:_0x48e45c,isFromAdapter:_0x3f2b19}){const _0x50b558=_0x39ea6a,_0x25b872=this[_0x50b558(0x25d)](_0x3e3f8b),_0x190ec0=_0x25b872[_0x50b558(0x25c)](_0x48e45c);if(!_0x190ec0)throw new _0xa543c9(_0x50b558(0x24f),this);if(_0x25b872[_0x50b558(0x1f5)](_0x190ec0),_0x3f2b19||!this[_0x50b558(0x297)]||_0x50b558(0x29a)!=typeof this[_0x50b558(0x297)][_0x50b558(0x2b6)])return Promise[_0x50b558(0x233)]();const _0x4194f2=this[_0x50b558(0x20b)][_0x50b558(0x1f8)][_0x50b558(0x236)](_0x50b558(0x275)),{channelId:_0x1557af}=_0x25b872,_0x4b1978=_0x4194f2[_0x50b558(0x27c)](_0x5e79a3(this[_0x50b558(0x20b)][_0x50b558(0x206)],_0x50b558(0x257)));return this[_0x50b558(0x297)][_0x50b558(0x2b6)]({'channelId':_0x1557af,'threadId':_0x3e3f8b,'commentId':_0x48e45c})[_0x50b558(0x251)](()=>_0x4194f2[_0x50b558(0x23d)](_0x4b1978))[_0x50b558(0x285)](_0x57b0fb=>{const _0x4a8f50=_0x50b558;throw console[_0x4a8f50(0x1dd)](_0x57b0fb),new _0xa543c9(_0x4a8f50(0x22a),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x7e11e8=_0x3fe9;(function(_0x382712,_0x2bf185){const _0x4b2b70=_0x3fe9,_0x155902=_0x382712();while(!![]){try{const _0x39dd02=-parseInt(_0x4b2b70(0x16e))/0x1*(parseInt(_0x4b2b70(0x12d))/0x2)+parseInt(_0x4b2b70(0x1c1))/0x3+parseInt(_0x4b2b70(0x199))/0x4+parseInt(_0x4b2b70(0xf3))/0x5+-parseInt(_0x4b2b70(0xf1))/0x6*(-parseInt(_0x4b2b70(0x15d))/0x7)+parseInt(_0x4b2b70(0x14a))/0x8+parseInt(_0x4b2b70(0xf8))/0x9*(-parseInt(_0x4b2b70(0x158))/0xa);if(_0x39dd02===_0x2bf185)break;else _0x155902['push'](_0x155902['shift']());}catch(_0x16b418){_0x155902['push'](_0x155902['shift']());}}}(_0x5e5d,0xc6896));function _0x3fe9(_0x234863,_0x2f0376){const _0x5e5d41=_0x5e5d();return _0x3fe9=function(_0x3fe98b,_0x23a8e0){_0x3fe98b=_0x3fe98b-0xdf;let _0x361ec8=_0x5e5d41[_0x3fe98b];return _0x361ec8;},_0x3fe9(_0x234863,_0x2f0376);}import{PendingActions as _0x1a0858,ContextPlugin as _0x35af8d,Editor as _0x2b7330}from'ckeditor5/src/core.js';import{Collection as _0x5a1289,uid as _0x52e48a,CKEditorError as _0x1c5663,ObservableMixin as _0x3a797b}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x24ee10,hashObject as _0x21fcd1,Users as _0x467838}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x587394,isEqual as _0x2e0f3a,set as _0x414972,unset as _0x29d6a6}from'es-toolkit/compat';import{CommentThreadController as _0x392e25}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x2714f2}from'./ui/view/commentthreadview.js';import{CommentView as _0x2ef97c}from'./ui/view/commentview.js';import{getTranslation as _0x1c081b}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x5e5d(){const _0x4bdf6a=['external:','textContent','canComment','commentsrepository-remove-comment-missing-comment-thread','refreshVisibility','assign','getUser','25710YNRGcD','error','model','commentsrepository-add-comment-internal-error','switchReadOnly','7doXwsh','change:_permissions','getIndex','CommentView','max','_repository','_readOnlyChannels','resolve','isOfficialPlugin','content','@external','_bindAnnotationToEditors','isReadOnly','once','openNewCommentThread','commentsrepository-update-comment-missing-comment-thread','highest','1aQpFGL','commentsrepository-get-comment-invalid-id','fetchCommentThread','type','commentsrepository-add-comment-user-not-exists','editorReady','commentsrepository-active-not-attached','find','_unbindEditors','getCommentThread','commentInputView','resolvedAt','_add','weight','change:isDirty','commentsrepository-invalid-comment-thread-id','_remove','from','commentsrepository-resolve-comment-thread-internal-error','isRemovable','push','_removeComment','unlinkedAt','stopListening','reopen','update','comments.CommentThreadView','_permissions','requires','commentsrepository-fetch-comment-thread','bodyCollectionContainer','licenseKey','getPermissions','commentsrepository-update-comment-invalid-content','isSubmitted','_addCommentThread','listenTo','_isAttached','creator','has','view','_updateActiveAnnotation','CommentThreadView','3347376lENyOv','commentsrepository-duplicated-comment-thread-id','authoredAt','commentsrepository-reopen-comment-thread','filter','_addComment','commentUpdated','_removeActiveAnnotation','destroy','_hasTargetInContent','attachTo','focus','getComment','write','define','plugins','setUnlinkedAt','removeAttribute','commentsrepository-add-comment-thread-internal-error','commentThreadInputView','length','add','getAnnotationForCommentThread','commentsrepository-reopen-comment-thread-internal-error','init','remove','reopenCommentThread','pluginName','author','commentsrepository-remove-comment-thread-internal-error','getTime','isAttached','catch','_removeCommentThread','_threadToController','body','function','commentsrepository-invalid-comment-content','locale','submit','2128557SNueed','commentsrepository-adapter-already-set','channelId','admin','_attachCommentThread','isDirty','isFromAdapter','setContext','_threads','commentsrepository-remove-missing-comment-thread','comments','isExternal','_createCommentThreadView','activeCommentThread','modifyAll','_findOptimalIndex','isVisible','createElement','commentsrepository-missing-thread-and-adapter-method','resolveCommentThread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','addCommentThread','get','isActive','5667654hhToIz','comments.maxCommentCharsWhenCollapsed','3747765tbyuwk','commentsrepository-update-missing-comment','archivedAt','PendingActions','map','8892THnUxB','escape','isPremiumPlugin','commentId','commentsrepository-remove-missing-comment','_update','delete','_viewToController','lowest','_createNewComment','deactivateAll','setActiveCommentThread','createdAt','attributes','_isSubmitted','comments.copyMarkers','reduce','removeComment','commentsListView','commentsrepository-missing-comment-thread','activate','change:_readOnlyChannels','commentsrepository-missing-target','focusTracker','_resolveCommentThread','authorName','set','div','isEditable','_adapter','fire','submitCommentThread','isResolved','updateComment','PENDING_ACTION_COMMENT_THREAD','removeCommentThread','focusableElements','comments.editorConfig','toJSON','comments.CommentView','then','innerHTML','commentsrepository-invalid-commentid','commentsrepository-update-comment-thread-internal-error','comments.maxThreadTotalWeight','getByInnerView','commentsrepository-attach-missing-comment-thread','innerView','bind','config','_reopenCommentThread','_getExternalAuthor','commentsrepository-active-missing-comment-thread','2263790lnYbHE','comments.maxCommentsWhenCollapsed','commentsrepository-invalid-comment-authorid','commentsrepository-remove-comment-internal-error','addUser','comment','getCommentThreads','resolvedBy','editorDestroyed','hasCommentThread','string','adapter','setPermissions','change:activeAnnotations','updateCommentThread','warn','isResolvable','trim','noChannel','addComment','getCommentThreadForAnnotation','createCommentThreadController','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-resolved-comment-thread','context','setAttribute','change:authoredAt','_updateCommentThread','_detachCommentThread','9957792GvDHYe','CommentsRepository','values','_updateComment','threadId','_submitCommentThread','commentsrepository-update-comment-internal-error'];_0x5e5d=function(){return _0x4bdf6a;};return _0x5e5d();}import{AnnotationView as _0x3aa08e}from'../annotations/view/annotationview.js';import{Annotation as _0x114bdc}from'../annotations/annotation.js';import{Annotations as _0x3a41b8}from'../annotations/annotations.js';const _t=Symbol(_0x7e11e8(0x13f)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x35af8d{[_0x7e11e8(0xe1)];[_0x7e11e8(0x1bb)];[_0x7e11e8(0xff)];static get[_0x7e11e8(0x18a)](){return[_0x3a41b8,_0x1a0858,_0x467838];}static get[_0x7e11e8(0x1b4)](){const _0x211863=_0x7e11e8;return _0x211863(0x14b);}static get[_0x7e11e8(0x165)](){return!0x0;}static get[_0x7e11e8(0xfa)](){return!0x0;}constructor(_0x466b1a){const _0x4a3cfc=_0x7e11e8;super(_0x466b1a),this[_0x4a3cfc(0xe1)]=new Map(),this[_0x4a3cfc(0x1bb)]=new Map(),this[_0x4a3cfc(0xff)]=new Map(),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x163),new Set()),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x189),new Map());const _0x242481=this[_0x4a3cfc(0x145)][_0x4a3cfc(0x129)];_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x12e),0x2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x124),0x1f4),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0xf2),0x8c),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x188),_0x2714f2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x11f),_0x2ef97c),_0x242481[_0x4a3cfc(0xef)](_0x4a3cfc(0x11d))||console[_0x4a3cfc(0x13c)](_0x4a3cfc(0xed));}[_0x7e11e8(0x1b1)](){const _0x574600=_0x7e11e8,_0x34a1ba=this[_0x574600(0x145)][_0x574600(0x1a8)][_0x574600(0xef)](_0x3a41b8);this[_0x574600(0x112)](_0x574600(0xe6),null),this['on'](_0x574600(0xee),(_0x161354,_0x114e4e)=>this[_0x574600(0x191)](_0x114e4e)),this['on'](_0x574600(0x117),(_0x3f5ec9,_0x3bee9a)=>this[_0x574600(0x14f)](_0x3bee9a)),this['on'](_0x574600(0xec),(_0x2b5b0a,_0x4330e6)=>this[_0x574600(0x110)](_0x4330e6)),this['on'](_0x574600(0xec),(_0x336134,_0x5d5e98)=>this[_0x574600(0x197)](_0x5d5e98),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x1b3),(_0x218644,_0x36774e)=>this[_0x574600(0x12a)](_0x36774e)),this['on'](_0x574600(0x1b3),(_0x351446,_0xa7a00b)=>this[_0x574600(0x197)](_0xa7a00b),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x11b),(_0x5a21a4,_0x271ce3)=>this[_0x574600(0x1ba)](_0x271ce3)),this['on'](_0x574600(0x13b),(_0xa9912a,_0x25d512)=>this[_0x574600(0x148)](_0x25d512)),this['on'](_0x574600(0x13b),(_0x58420e,_0x16fc32)=>this[_0x574600(0x197)](_0x16fc32),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x140),(_0x1c344a,_0x3615f9)=>this[_0x574600(0x19e)](_0x3615f9)),this['on'](_0x574600(0x119),(_0x2aeb8f,_0x1ca280)=>this[_0x574600(0x14d)](_0x1ca280)),this['on'](_0x574600(0x109),(_0x4038bc,_0x37e6e6)=>this[_0x574600(0x183)](_0x37e6e6)),this['on'](_0x574600(0x140),(_0x3dc1b2,{threadId:_0x442d62,isFromAdapter:_0x18d09d})=>{const _0x358258=_0x574600;if(_0x18d09d)return;const _0x8abc4f=this[_0x358258(0x177)](_0x442d62),_0x3ab130=_0x8abc4f&&this[_0x358258(0x1bb)][_0x358258(0xef)](_0x8abc4f);_0x3ab130&&_0x3ab130[_0x358258(0x196)][_0x358258(0x10a)][_0x358258(0x1a4)](-0x1);},{'priority':_0x574600(0x100)}),this[_0x574600(0x192)](_0x34a1ba,_0x574600(0x13a),(_0x51386e,_0x4352a9,_0xdaa427)=>{const _0x4f6a13=_0x574600,_0x5699e4=Array[_0x4f6a13(0x17f)](_0xdaa427)[_0x4f6a13(0xf7)](_0x5d0c57=>this[_0x4f6a13(0xff)][_0x4f6a13(0xef)](_0x5d0c57[_0x4f6a13(0x127)]))[_0x4f6a13(0x19d)](Boolean)[0x0];this[_0x4f6a13(0xe6)]=_0x5699e4?_0x5699e4[_0x4f6a13(0x15a)]:null;});}set[_0x7e11e8(0x138)](_0x389618){const _0x3465d0=_0x7e11e8;if(this[_0x3465d0(0x115)])throw new _0x1c5663(_0x3465d0(0x1c2));this[_0x3465d0(0x115)]=_0x389618;}get[_0x7e11e8(0x138)](){const _0x55abe2=_0x7e11e8;return this[_0x55abe2(0x115)];}[_0x7e11e8(0xee)]({channelId:_0x3c91d3=_t,threadId:_0x56cafb=_0x52e48a(),comments:_0x4d0896=[],unlinkedAt:_0x3efb70=null,resolvedAt:_0x31c4e1=null,resolvedBy:_0x2b2b06=null,target:_0x1f17c0=null,context:_0x113887=null,attributes:_0x34af63={},isResolvable:_0x1b12c0=!0x0,isSubmitted:_0x4a90c4=!0x1,isFromAdapter:_0x2b5b80=!0x1}={}){const _0x54877d=_0x7e11e8;return this[_0x54877d(0x116)](Nt(_0x54877d(0xee),_0x3c91d3),{'channelId':_0x3c91d3,'threadId':_0x56cafb,'comments':_0x4d0896,'unlinkedAt':_0x3efb70,'resolvedAt':_0x31c4e1,'resolvedBy':_0x2b2b06,'target':_0x1f17c0,'context':_0x113887,'attributes':_0x34af63,'isFromAdapter':_0x2b5b80,'isResolvable':_0x1b12c0,'isSubmitted':_0x4a90c4}),this[_0x54877d(0x177)](_0x56cafb);}[_0x7e11e8(0x16b)]({channelId:_0x402913=_t,threadId:_0x2ce7fa=_0x52e48a(),target:_0x2778a8,context:_0x40da4b=null,isResolvable:_0x30cc8b=!0x0}){const _0x2b07ab=_0x7e11e8;if(this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](_0x402913)||this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](void 0x0))return null;if(!_0x2778a8)throw new _0x1c5663(_0x2b07ab(0x10e));const _0x25b5ff=this[_0x2b07ab(0xee)]({'channelId':_0x402913,'threadId':_0x2ce7fa,'target':_0x2778a8,'context':_0x40da4b,'isResolvable':_0x30cc8b});if(!_0x25b5ff)return null;const _0x2901a8=this[_0x2b07ab(0x1bb)][_0x2b07ab(0xef)](_0x25b5ff),_0x54304e=_0x2901a8[_0x2b07ab(0x196)][_0x2b07ab(0x1ac)][_0x2b07ab(0x178)],_0x4482c4=this[_0x2b07ab(0x145)][_0x2b07ab(0x1a8)][_0x2b07ab(0xef)](_0x3a41b8),_0x21fb02=_0x4482c4[_0x2b07ab(0x125)](_0x2901a8[_0x2b07ab(0x196)]);return _0x4482c4[_0x2b07ab(0x10c)](_0x21fb02),_0x54304e[_0x2b07ab(0x16a)](_0x2b07ab(0x173),()=>_0x54304e[_0x2b07ab(0x1a4)]()),_0x25b5ff;}[_0x7e11e8(0x136)](_0x46ade2){const _0x4b6550=_0x7e11e8;if(_0x4b6550(0x137)!=typeof _0x46ade2)throw new _0x1c5663(_0x4b6550(0x17d));return this[_0x4b6550(0xe1)][_0x4b6550(0x195)](_0x46ade2);}[_0x7e11e8(0x13b)]({channelId:_0x58a8ab=_t,threadId:_0x2e2296,context:_0x278365,unlinkedAt:_0x497db8,attributes:_0x59cd92,isFromAdapter:_0x2a78fe=!0x1}){const _0x48d797=_0x7e11e8;return this[_0x48d797(0x116)](Nt(_0x48d797(0x13b),_0x58a8ab),{'channelId':_0x58a8ab,'threadId':_0x2e2296,'context':_0x278365,'unlinkedAt':_0x497db8,'attributes':_0x59cd92,'isFromAdapter':_0x2a78fe}),this[_0x48d797(0x177)](_0x2e2296);}[_0x7e11e8(0x177)](_0x2d7fc2){const _0x5eb65b=_0x7e11e8;if(_0x5eb65b(0x137)!=typeof _0x2d7fc2)throw new _0x1c5663(_0x5eb65b(0x17d));return this[_0x5eb65b(0xe1)][_0x5eb65b(0xef)](_0x2d7fc2);}[_0x7e11e8(0x170)]({channelId:_0x35a9f2,threadId:_0x20a4db}={}){const _0xe20742=_0x7e11e8,_0x547d39=this[_0xe20742(0x177)](_0x20a4db);if(_0x547d39)return Promise[_0xe20742(0x164)](_0x547d39);if(!this[_0xe20742(0x138)])return Promise[_0xe20742(0x164)](void 0x0);if(_0xe20742(0x1bd)!=typeof this[_0xe20742(0x138)][_0xe20742(0x177)])throw new _0x1c5663(_0xe20742(0xeb),this[_0xe20742(0x145)]);return this[_0xe20742(0x138)][_0xe20742(0x177)]({'channelId':_0x35a9f2,'threadId':_0x20a4db})[_0xe20742(0x120)](_0x2caa71=>this[_0xe20742(0x136)](_0x20a4db)?this[_0xe20742(0x177)](_0x20a4db):_0x2caa71?this[_0xe20742(0xee)](Object[_0xe20742(0x156)]({'isFromAdapter':!0x0,'channelId':_0x35a9f2},_0x2caa71)):void 0x0)[_0xe20742(0x1b9)](_0xb6f9ce=>{const _0x1e1390=_0xe20742;throw console[_0x1e1390(0x159)](_0xb6f9ce),new _0x1c5663(_0x1e1390(0x18b),this[_0x1e1390(0x145)]);});}[_0x7e11e8(0x133)]({channelId:_0x61526b,skipNotAttached:_0x314594=!0x1,skipEmpty:_0x49fbce=!0x1,toJSON:_0x5ca12a=!0x1}={}){const _0x114640=_0x7e11e8,_0x4e89f9=[];for(const _0x2ffe87 of this[_0x114640(0xe1)][_0x114640(0x14c)]())_0x61526b&&_0x2ffe87[_0x114640(0x1c3)]!==_0x61526b||_0x314594&&!_0x2ffe87[_0x114640(0x1b8)]||_0x49fbce&&0x0===_0x2ffe87[_0x114640(0x1ad)]||_0x4e89f9[_0x114640(0x182)](_0x2ffe87);return _0x5ca12a?_0x4e89f9[_0x114640(0xf7)](_0x108807=>_0x108807[_0x114640(0x11e)]()):_0x4e89f9;}[_0x7e11e8(0x1af)](_0x43d00e){const _0x2f1d53=_0x7e11e8,_0x11fc76=this[_0x2f1d53(0x1bb)][_0x2f1d53(0xef)](_0x43d00e);if(!_0x11fc76)return null;return this[_0x2f1d53(0x145)][_0x2f1d53(0x1a8)][_0x2f1d53(0xef)](_0x3a41b8)[_0x2f1d53(0x125)](_0x11fc76[_0x2f1d53(0x196)])||null;}[_0x7e11e8(0x141)](_0x3a5f67){const _0x1dea42=_0x7e11e8,_0x548e62=this[_0x1dea42(0xff)][_0x1dea42(0xef)](_0x3a5f67[_0x1dea42(0x127)]);return _0x548e62?_0x548e62[_0x1dea42(0x15a)]:null;}[_0x7e11e8(0x103)](_0x5ca65f){const _0x183d01=_0x7e11e8,_0xe57b9b=this[_0x183d01(0x145)][_0x183d01(0x1a8)][_0x183d01(0xef)](_0x3a41b8);if(!_0x5ca65f)return void(this[_0x183d01(0xe6)]&&_0xe57b9b[_0x183d01(0x102)]());const _0x5a4527=this[_0x183d01(0x177)](_0x5ca65f);if(!_0x5a4527)throw new _0x1c5663(_0x183d01(0x12c),null,{'threadId':_0x5ca65f});if(!this[_0x183d01(0x1bb)][_0x183d01(0x195)](_0x5a4527))throw new _0x1c5663(_0x183d01(0x174),null,{'threadId':_0x5ca65f});const _0x599b39=_0xe57b9b[_0x183d01(0x125)](this[_0x183d01(0x1bb)][_0x183d01(0xef)](_0x5a4527)[_0x183d01(0x196)]);_0xe57b9b[_0x183d01(0x10c)](_0x599b39);}[_0x7e11e8(0x15c)](_0x2564bc,_0x50db0a){const _0x4148ea=_0x7e11e8;_0x2564bc?this[_0x4148ea(0x163)][_0x4148ea(0x1ae)](_0x50db0a):this[_0x4148ea(0x163)][_0x4148ea(0xfe)](_0x50db0a),this[_0x4148ea(0x116)](_0x4148ea(0x10d),_0x4148ea(0x163),this[_0x4148ea(0x163)],this[_0x4148ea(0x163)]);}[_0x7e11e8(0x169)](_0x30c82f){const _0x39268c=_0x7e11e8;return this[_0x39268c(0x163)][_0x39268c(0x195)](_0x30c82f)||this[_0x39268c(0x163)][_0x39268c(0x195)](void 0x0);}[_0x7e11e8(0x142)](_0x4bca57,_0x11c5e6){return new _0x392e25(_0x4bca57,_0x11c5e6);}[_0x7e11e8(0x139)](_0x35cd12,_0x415683=_t){const _0xf1331e=_0x7e11e8;this[_0xf1331e(0x189)][_0xf1331e(0x112)](_0x415683,_0x35cd12),this[_0xf1331e(0x116)](_0xf1331e(0x15e),_0xf1331e(0x189),this[_0xf1331e(0x189)],this[_0xf1331e(0x189)]);}[_0x7e11e8(0x18e)](_0x13eccc=_t){const _0x249208=_0x7e11e8;return this[_0x249208(0x189)][_0x249208(0x195)](_0x13eccc)?this[_0x249208(0x189)][_0x249208(0xef)](_0x13eccc):bt;}[_0x7e11e8(0x191)]({channelId:_0x19fa15,threadId:_0x3c4bc2,comments:_0x4f0edc,unlinkedAt:_0x307e5b,resolvedAt:_0x249e4a,resolvedBy:_0x3e2174,target:_0x3afbf0,context:_0x37d867,attributes:_0xf6b26,isFromAdapter:_0x54918e,isResolvable:_0x401e63,isSubmitted:_0x4aa46d}){const _0x3e1b3e=_0x7e11e8;if(_0x3e1b3e(0x137)!=typeof _0x3c4bc2)throw new _0x1c5663(_0x3e1b3e(0x17d),null,{'threadId':_0x3c4bc2});if(this[_0x3e1b3e(0x136)](_0x3c4bc2))throw new _0x1c5663(_0x3e1b3e(0x19a),null,{'threadId':_0x3c4bc2});const _0x1e04a9=new CommentThread(this,{'channelId':_0x19fa15,'id':_0x3c4bc2,'context':_0x37d867,'attributes':_0xf6b26,'unlinkedAt':_0x307e5b,'resolvedAt':_0x249e4a,'resolvedBy':_0x3e2174?this[_0x3e1b3e(0x145)][_0x3e1b3e(0x1a8)][_0x3e1b3e(0xef)](_0x467838)[_0x3e1b3e(0x157)](_0x3e2174):null,'isResolvable':_0x401e63,'isSubmitted':_0x4aa46d||_0x54918e});this[_0x3e1b3e(0xe1)][_0x3e1b3e(0x112)](_0x3c4bc2,_0x1e04a9);for(const _0xe8cce2 of _0x4f0edc)_0x1e04a9[_0x3e1b3e(0x17a)](this[_0x3e1b3e(0x101)]({'threadId':_0x3c4bc2,..._0xe8cce2}));return _0x3afbf0&&_0x1e04a9[_0x3e1b3e(0x1a3)](_0x3afbf0),_0x54918e||!_0x1e04a9[_0x3e1b3e(0x1ad)]?Promise[_0x3e1b3e(0x164)]():this[_0x3e1b3e(0x14f)]({'channelId':_0x19fa15,'threadId':_0x3c4bc2});}[_0x7e11e8(0x14f)]({channelId:_0x580d82,threadId:_0x386f87}){const _0xdbc77c=_0x7e11e8;if(!this[_0xdbc77c(0x136)](_0x386f87))throw new _0x1c5663(_0xdbc77c(0x10b),this);const _0x4d0537=this[_0xdbc77c(0x177)](_0x386f87);if(_0x4d0537[_0xdbc77c(0x106)]=!0x0,!this[_0xdbc77c(0x138)]||_0xdbc77c(0x1bd)!=typeof this[_0xdbc77c(0x138)][_0xdbc77c(0xee)])return Promise[_0xdbc77c(0x164)]();const {id:_0x191d6b,comments:_0x8cdbb3,resolvedAt:_0x39e4cc,resolvedBy:_0x5c8271,context:_0x2fb000,attributes:_0x334114}=_0x4d0537,_0x3d5dff=this[_0xdbc77c(0x145)][_0xdbc77c(0x1a8)][_0xdbc77c(0xef)](_0xdbc77c(0xf6)),_0x5ec2b4=_0x3d5dff[_0xdbc77c(0x1ae)](_0x1c081b(this[_0xdbc77c(0x145)][_0xdbc77c(0x1bf)],_0xdbc77c(0x11a)));return this[_0xdbc77c(0x138)][_0xdbc77c(0xee)]({'channelId':_0x580d82,'threadId':_0x191d6b,'comments':_0x8cdbb3[_0xdbc77c(0xf7)](_0x3eb864=>_0x3eb864[_0xdbc77c(0x11e)]()),'resolvedAt':_0x39e4cc,'resolvedBy':_0x5c8271?_0x5c8271['id']:_0x5c8271,'context':_0x2fb000,'attributes':_0x334114})[_0xdbc77c(0x120)](({comments:_0x1b1187})=>{const _0x20f9f9=_0xdbc77c;_0x3d5dff[_0x20f9f9(0x1b2)](_0x5ec2b4);for(const _0x2b2e9e of _0x1b1187)this[_0x20f9f9(0x14d)]({'channelId':_0x580d82,'threadId':_0x386f87,'commentId':_0x2b2e9e[_0x20f9f9(0xfb)],'createdAt':_0x2b2e9e[_0x20f9f9(0x104)],'isFromAdapter':!0x0});})[_0xdbc77c(0x1b9)](_0x2149d1=>{const _0x32ccba=_0xdbc77c;throw console[_0x32ccba(0x159)](_0x2149d1),new _0x1c5663(_0x32ccba(0x1ab),this);});}[_0x7e11e8(0x1c5)]({threadId:_0x59a108,target:_0x5029d7}){const _0x4f1a80=_0x7e11e8,_0x27dc20=this[_0x4f1a80(0x177)](_0x59a108);if(!_0x27dc20)throw new _0x1c5663(_0x4f1a80(0x126),this);const _0x1807e9=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x4f1a80(0xf6)),_0xbcc511=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x3a41b8),_0x2a75bf=this[_0x4f1a80(0xe5)](_0x27dc20),_0x29d0c7=new _0x392e25(_0x27dc20,_0x2a75bf);let _0x361798=null;_0x2a75bf['on'](_0x4f1a80(0x17c),(_0x440986,_0x4a4b3a,_0x2ee612)=>{const _0x49dc8a=_0x4f1a80;_0x2ee612?_0x361798=_0x1807e9[_0x49dc8a(0x1ae)](_0x1c081b(this[_0x49dc8a(0x145)][_0x49dc8a(0x1bf)],_0x49dc8a(0x11a))):_0x361798&&(_0x1807e9[_0x49dc8a(0x1b2)](_0x361798),_0x361798=null);}),this[_0x4f1a80(0x1bb)][_0x4f1a80(0x112)](_0x27dc20,_0x29d0c7),this[_0x4f1a80(0xff)][_0x4f1a80(0x112)](_0x2a75bf,_0x29d0c7);const _0x4b7b26=new _0x3aa08e(this[_0x4f1a80(0x145)][_0x4f1a80(0x1bf)],_0x2a75bf);_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1ad))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1c6))['to'](_0x2a75bf,_0x4f1a80(0x1c6),_0x2a75bf,_0x4f1a80(0x1ad),(_0x1eea1f,_0x5060d8)=>_0x1eea1f||!_0x5060d8),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0xf0))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x171)]=_0x4f1a80(0x132);const _0x4971da=new _0x114bdc({'view':_0x4b7b26,'target':_0x5029d7,'type':_0x4f1a80(0x132),'isVisible':!_0x27dc20[_0x4f1a80(0xf5)]&&!!(_0x4f1a80(0x1bd)==typeof _0x5029d7?_0x5029d7():_0x5029d7)});return _0x2a75bf['on'](_0x4f1a80(0xf9),()=>{const _0x495017=_0x4f1a80;_0x4971da[_0x495017(0x116)](_0x495017(0xf9));}),this[_0x4f1a80(0x168)](_0x2a75bf,_0x4971da),_0xbcc511[_0x4f1a80(0x1ae)](_0x4971da),_0x4971da;}[_0x7e11e8(0x168)](_0x249539,_0x14c80a){const _0x1f81cc=_0x7e11e8;this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x173),(_0x6741d,_0xd2c3aa)=>{const _0x4c225d=_0x1f81cc,_0x11d681=_0xd2c3aa['ui'][_0x4c225d(0x196)][_0x4c225d(0x1bc)][_0x4c225d(0x18c)];_0x14c80a[_0x4c225d(0x11c)][_0x4c225d(0x1ae)](_0x11d681),this[_0x4c225d(0x145)]instanceof _0x2b7330&&this[_0x4c225d(0x145)]['ui'][_0x4c225d(0x10f)][_0x4c225d(0x1ae)](_0x11d681);},{'priority':_0x1f81cc(0x16d)}),this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x135),(_0x391377,_0x24cf16)=>{const _0x15cbc9=_0x1f81cc,_0x1f8c36=_0x24cf16['ui'][_0x15cbc9(0x196)][_0x15cbc9(0x1bc)][_0x15cbc9(0x18c)];_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x195)](_0x1f8c36)&&_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x1b2)](_0x1f8c36),this[_0x15cbc9(0x145)]instanceof _0x2b7330&&this[_0x15cbc9(0x145)]['ui'][_0x15cbc9(0x10f)][_0x15cbc9(0x1b2)](_0x1f8c36);});}[_0x7e11e8(0x176)](_0x463c94){const _0x4b62b6=_0x7e11e8;this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x173)),this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x135));}[_0x7e11e8(0xe5)](_0x1bc1b0){const _0x1308d6=_0x7e11e8,_0x5e6e79=this[_0x1308d6(0x145)][_0x1308d6(0x1a8)][_0x1308d6(0xef)](_0x467838),{config:_0xcaffb5,locale:_0x1e83b0}=this[_0x1308d6(0x145)],_0x20c941=_0x24ee10(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x1bf)),_0x1e83b0);return new(0x0,(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3)))[(_0x1308d6(0x198))])(_0x1e83b0,_0x1bc1b0,_0x5e6e79['me'],{'editorConfig':{..._0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x11d)),'licenseKey':this[_0x1308d6(0x145)][_0x1308d6(0x129)][_0x1308d6(0xef)](_0x1308d6(0x18d))},'copyMarkers':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x107)),'maxCommentsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x12e)),'maxThreadTotalWeight':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x124)),'maxCommentCharsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xf2)),'formatDateTime':_0x20c941,'CommentView':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3))[_0x1308d6(0x160)]});}[_0x7e11e8(0x110)]({threadId:_0x1eaadd,channelId:_0x23b6ad,resolvedAt:_0x35cbd9,resolvedBy:_0x115c6f,isFromAdapter:_0x5a97fb}){const _0x2a848c=_0x7e11e8;if(!this[_0x2a848c(0x136)](_0x1eaadd))throw new _0x1c5663(_0x2a848c(0x10b),null,{'threadId':_0x1eaadd});const _0x59fef3=this[_0x2a848c(0x177)](_0x1eaadd);if(_0x59fef3[_0x2a848c(0x118)])throw new _0x1c5663(_0x2a848c(0x144),null,{'threadId':_0x1eaadd});const _0x368ec2=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x467838);if(_0x59fef3[_0x2a848c(0x134)]=_0x368ec2[_0x2a848c(0x157)](_0x115c6f),_0x59fef3[_0x2a848c(0x179)]=_0x35cbd9,_0x5a97fb||!this[_0x2a848c(0x138)]||_0x2a848c(0x1bd)!=typeof this[_0x2a848c(0x138)][_0x2a848c(0xec)])return Promise[_0x2a848c(0x164)]();const _0x4e1f09=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x2a848c(0xf6)),_0x36102f=_0x4e1f09[_0x2a848c(0x1ae)](_0x1c081b(this[_0x2a848c(0x145)][_0x2a848c(0x1bf)],_0x2a848c(0x11a)));return this[_0x2a848c(0x138)][_0x2a848c(0xec)]({'channelId':_0x23b6ad,'threadId':_0x1eaadd})[_0x2a848c(0x120)](({resolvedAt:_0x378991,resolvedBy:_0x5387b3})=>{const _0x3bbc12=_0x2a848c;_0x4e1f09[_0x3bbc12(0x1b2)](_0x36102f),_0x59fef3[_0x3bbc12(0x134)]['id']!==_0x5387b3&&(_0x59fef3[_0x3bbc12(0x134)]=_0x368ec2[_0x3bbc12(0x157)](_0x5387b3)),_0x59fef3[_0x3bbc12(0x179)]=_0x378991;})[_0x2a848c(0x1b9)](_0x20e1a1=>{const _0x112106=_0x2a848c;throw console[_0x112106(0x159)](_0x20e1a1),new _0x1c5663(_0x112106(0x180),this);});}[_0x7e11e8(0x12a)]({threadId:_0x12a93b,channelId:_0x1fd19e,isFromAdapter:_0x59640e}){const _0x390265=_0x7e11e8;if(!this[_0x390265(0x136)](_0x12a93b))throw new _0x1c5663(_0x390265(0x10b),null,{'threadId':_0x12a93b});const _0x16a787=this[_0x390265(0x177)](_0x12a93b);if(!_0x16a787[_0x390265(0x118)])throw new _0x1c5663(_0x390265(0x19c),null,{'threadId':_0x12a93b});if(_0x16a787[_0x390265(0x134)]=null,_0x16a787[_0x390265(0x179)]=null,_0x59640e||!this[_0x390265(0x138)]||_0x390265(0x1bd)!=typeof this[_0x390265(0x138)][_0x390265(0x1b3)])return Promise[_0x390265(0x164)]();const _0x3070dd=this[_0x390265(0x145)][_0x390265(0x1a8)][_0x390265(0xef)](_0x390265(0xf6)),_0x5db1c5=_0x3070dd[_0x390265(0x1ae)](_0x1c081b(this[_0x390265(0x145)][_0x390265(0x1bf)],_0x390265(0x11a)));return this[_0x390265(0x138)][_0x390265(0x1b3)]({'channelId':_0x1fd19e,'threadId':_0x12a93b})[_0x390265(0x120)](()=>_0x3070dd[_0x390265(0x1b2)](_0x5db1c5))[_0x390265(0x1b9)](_0x3dfc45=>{const _0x4a7c86=_0x390265;throw console[_0x4a7c86(0x159)](_0x3dfc45),new _0x1c5663(_0x4a7c86(0x1b0),this);});}[_0x7e11e8(0x1ba)]({threadId:_0x57f354,isFromAdapter:_0x309056}){const _0x181afc=_0x7e11e8,_0x25aa85=this[_0x181afc(0x177)](_0x57f354);if(!_0x25aa85)throw new _0x1c5663(_0x181afc(0xe2),this);if(this[_0x181afc(0x149)](_0x57f354),this[_0x181afc(0xe1)][_0x181afc(0xfe)](_0x57f354),!_0x25aa85[_0x181afc(0x190)]||_0x309056||!this[_0x181afc(0x138)]||_0x181afc(0x1bd)!=typeof this[_0x181afc(0x138)][_0x181afc(0x11b)])return Promise[_0x181afc(0x164)]();const _0x51ea41=this[_0x181afc(0x145)][_0x181afc(0x1a8)][_0x181afc(0xef)](_0x181afc(0xf6)),{channelId:_0x4b6a93}=_0x25aa85,_0x5195f9=_0x51ea41[_0x181afc(0x1ae)](_0x1c081b(this[_0x181afc(0x145)][_0x181afc(0x1bf)],_0x181afc(0x11a)));return this[_0x181afc(0x138)][_0x181afc(0x11b)]({'channelId':_0x4b6a93,'threadId':_0x57f354})[_0x181afc(0x120)](()=>_0x51ea41[_0x181afc(0x1b2)](_0x5195f9))[_0x181afc(0x1b9)](_0x11c46f=>{const _0x401de4=_0x181afc;throw console[_0x401de4(0x159)](_0x11c46f),new _0x1c5663(_0x401de4(0x1b6),this);});}[_0x7e11e8(0x148)]({threadId:_0x495d0d,unlinkedAt:_0x9b8fd1,context:_0x7a9dcf,attributes:_0xf236b0,isFromAdapter:_0x4442f3}){const _0x3be7f3=_0x7e11e8;if(_0x3be7f3(0x137)!=typeof _0x495d0d)throw new _0x1c5663(_0x3be7f3(0x17d),null,{'threadId':_0x495d0d});if(!this[_0x3be7f3(0x136)](_0x495d0d))throw new _0x1c5663(_0x3be7f3(0x10b),null,{'threadId':_0x495d0d});const _0x1f9f65=this[_0x3be7f3(0x177)](_0x495d0d);let _0x264ef4=!0x1;if(void 0x0!==_0x7a9dcf&&_0x1f9f65[_0x3be7f3(0x145)]!==_0x7a9dcf&&(_0x1f9f65[_0x3be7f3(0x145)]=_0x7a9dcf,_0x264ef4=!0x0),void 0x0!==_0x9b8fd1&&_0x1f9f65[_0x3be7f3(0x184)]!==_0x9b8fd1&&(_0x1f9f65[_0x3be7f3(0x184)]=_0x9b8fd1,_0x264ef4=!0x0),_0xf236b0&&!_0x2e0f3a(_0xf236b0,_0x1f9f65[_0x3be7f3(0x105)])&&(_0x1f9f65[_0x3be7f3(0x105)]=_0xf236b0,_0x264ef4=!0x0),!_0x264ef4)return Promise[_0x3be7f3(0x164)]();if(!_0x1f9f65[_0x3be7f3(0x190)]||_0x4442f3||!this[_0x3be7f3(0x138)]||_0x3be7f3(0x1bd)!=typeof this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)])return Promise[_0x3be7f3(0x164)]();const _0x16e7b2=this[_0x3be7f3(0x145)][_0x3be7f3(0x1a8)][_0x3be7f3(0xef)](_0x3be7f3(0xf6)),{channelId:_0x3768f8}=_0x1f9f65,_0x26ad03=_0x16e7b2[_0x3be7f3(0x1ae)](_0x1c081b(this[_0x3be7f3(0x145)][_0x3be7f3(0x1bf)],_0x3be7f3(0x11a)));return this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)]({'channelId':_0x3768f8,'threadId':_0x495d0d,'context':_0x7a9dcf,'unlinkedAt':_0x9b8fd1,'attributes':_0xf236b0})[_0x3be7f3(0x120)](()=>_0x16e7b2[_0x3be7f3(0x1b2)](_0x26ad03))[_0x3be7f3(0x1b9)](_0x2c8b8f=>{const _0x3f2e6b=_0x3be7f3;throw console[_0x3f2e6b(0x159)](_0x2c8b8f),new _0x1c5663(_0x3f2e6b(0x123),this);});}[_0x7e11e8(0x149)](_0x40261b){const _0xeb02f=_0x7e11e8,_0x34e608=this[_0xeb02f(0x145)][_0xeb02f(0x1a8)][_0xeb02f(0xef)](_0x3a41b8),_0x212fc7=this[_0xeb02f(0x177)](_0x40261b);if(_0x212fc7[_0xeb02f(0x193)]=!0x1,this[_0xeb02f(0x1bb)][_0xeb02f(0x195)](_0x212fc7)){const _0x376a8b=this[_0xeb02f(0x1bb)][_0xeb02f(0xef)](_0x212fc7),_0x2f2998=_0x376a8b[_0xeb02f(0x196)],_0x5dcf3f=_0x34e608[_0xeb02f(0x125)](_0x2f2998);this[_0xeb02f(0x1bb)][_0xeb02f(0xfe)](_0x212fc7),this[_0xeb02f(0xff)][_0xeb02f(0xfe)](_0x2f2998),_0x5dcf3f&&_0x34e608[_0xeb02f(0x1b2)](_0x5dcf3f),_0x376a8b[_0xeb02f(0x1a1)](),_0x2f2998[_0xeb02f(0x1a1)]()[_0xeb02f(0x120)](()=>{const _0x3786bb=_0xeb02f;this[_0x3786bb(0x176)](_0x2f2998);});}}[_0x7e11e8(0x197)]({threadId:_0x502e2d,resolvedAt:_0x580c8f,unlinkedAt:_0x40daf8}){const _0x4c2509=_0x7e11e8,_0x1c2afe=!!_0x580c8f,_0x49b34b=this[_0x4c2509(0x145)][_0x4c2509(0x1a8)][_0x4c2509(0xef)](_0x3a41b8),_0x306760=this[_0x4c2509(0x177)](_0x502e2d);if(this[_0x4c2509(0x1bb)][_0x4c2509(0x195)](_0x306760)){const _0x2c699c=this[_0x4c2509(0x1bb)][_0x4c2509(0xef)](_0x306760)[_0x4c2509(0x196)],_0x1119e2=_0x49b34b[_0x4c2509(0x125)](_0x2c699c);_0x1119e2&&(_0x1c2afe&&_0x49b34b[_0x4c2509(0x1a0)](_0x1119e2),_0x40daf8?_0x1119e2[_0x4c2509(0xe9)]=!0x1:_0x1119e2[_0x4c2509(0x155)]());}}[_0x7e11e8(0x12b)](_0x1cf9b4){const _0x2d9d9f=_0x7e11e8,_0x13080e=this[_0x2d9d9f(0x145)][_0x2d9d9f(0x1a8)][_0x2d9d9f(0xef)](_0x467838),_0xafd8d1=_0x21fcd1(_0x2d9d9f(0x151)+_0x1cf9b4),_0x2ab855=_0x13080e[_0x2d9d9f(0x157)](_0xafd8d1);return _0x2ab855||_0x13080e[_0x2d9d9f(0x131)]({'id':_0xafd8d1,'name':_0x1cf9b4});}[_0x7e11e8(0x101)]({threadId:_0x53557e,commentId:_0x3aeb67=_0x52e48a(),content:_0x6f15f8,authorId:_0x1ff3f4,createdAt:_0x24df52,attributes:_0x180946}){const _0x548733=_0x7e11e8;if(_0x548733(0x137)!=typeof _0x3aeb67)throw new _0x1c5663(_0x548733(0x122));if(_0x548733(0x137)!=typeof _0x1ff3f4)throw new _0x1c5663(_0x548733(0x12f));if(_0x548733(0x137)!=typeof _0x6f15f8||!_0x6f15f8[_0x548733(0x13e)]())throw new _0x1c5663(_0x548733(0x1be));const _0x35e102=this[_0x548733(0x145)][_0x548733(0x1a8)][_0x548733(0xef)](_0x467838)[_0x548733(0x157)](_0x1ff3f4);if(!_0x35e102)throw new _0x1c5663(_0x548733(0x172),null,{'authorId':_0x1ff3f4});let _0x7ff4e0=null,_0x182b54=_0x24df52;return _0x180946?.[_0x548733(0x167)]&&(_0x7ff4e0=this[_0x548733(0x12b)](_0x180946[_0x548733(0x167)][_0x548733(0x111)]),_0x182b54=new Date(_0x180946[_0x548733(0x167)][_0x548733(0x104)])),new Comment(this,{'threadId':_0x53557e,'id':_0x3aeb67,'author':_0x7ff4e0||_0x35e102,'creator':_0x35e102,'content':_0x6f15f8,'createdAt':_0x24df52,'authoredAt':_0x182b54,'attributes':_0x180946});}[_0x7e11e8(0x19e)](_0x33f7e5){const _0x917fe9=_0x7e11e8;let {threadId:_0xa9f80f,content:_0x33387e,attributes:_0x1beeeb,isFromAdapter:_0x280845}=_0x33f7e5;const _0x16ee7a=this[_0x917fe9(0x177)](_0x33f7e5[_0x917fe9(0x14e)]);if(!_0x16ee7a)throw new _0x1c5663(_0x917fe9(0x143),this);const _0x570740=this[_0x917fe9(0x101)](_0x33f7e5),{id:_0x5a7ebb}=_0x570740;if(_0x16ee7a[_0x917fe9(0x17a)](_0x570740),_0x280845||!this[_0x917fe9(0x138)]||_0x917fe9(0x1bd)!=typeof this[_0x917fe9(0x138)][_0x917fe9(0x140)]||!_0x16ee7a[_0x917fe9(0x190)])return Promise[_0x917fe9(0x164)]();const _0x1d1428=this[_0x917fe9(0x145)][_0x917fe9(0x1a8)][_0x917fe9(0xef)](_0x917fe9(0xf6)),{channelId:_0x160c39}=_0x16ee7a,_0x5e5504=_0x1d1428[_0x917fe9(0x1ae)](_0x1c081b(this[_0x917fe9(0x145)][_0x917fe9(0x1bf)],_0x917fe9(0x11a)));return _0x1beeeb||(_0x1beeeb={}),this[_0x917fe9(0x138)][_0x917fe9(0x140)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'content':_0x33387e,'attributes':_0x1beeeb})[_0x917fe9(0x120)](_0x9a2b76=>{const _0x42146f=_0x917fe9;_0x1d1428[_0x42146f(0x1b2)](_0x5e5504),_0x9a2b76&&this[_0x42146f(0x14d)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'createdAt':_0x9a2b76[_0x42146f(0x104)],'isFromAdapter':!0x0});})[_0x917fe9(0x1b9)](_0x3be4fc=>{const _0x622dd3=_0x917fe9;throw console[_0x622dd3(0x159)](_0x3be4fc),new _0x1c5663(_0x622dd3(0x15b),this);});}[_0x7e11e8(0x14d)]({threadId:_0x1c72d3,commentId:_0x5f4d70,content:_0x1277ed,createdAt:_0x4a201f,attributes:_0x26810e,isFromAdapter:_0x53b698}){const _0x14f083=_0x7e11e8;if(void 0x0!==_0x1277ed&&(_0x14f083(0x137)!=typeof _0x1277ed||!_0x1277ed[_0x14f083(0x13e)]()[_0x14f083(0x1ad)]))throw new _0x1c5663(_0x14f083(0x18f));const _0x15bb20=this[_0x14f083(0x177)](_0x1c72d3),_0x19757e=_0x15bb20[_0x14f083(0x1a5)](_0x5f4d70);if(!_0x19757e)throw new _0x1c5663(_0x14f083(0xf4),this);let _0x5a03fb=!0x1;if(_0x1277ed&&_0x1277ed!==_0x19757e[_0x14f083(0x166)]&&(_0x19757e[_0x14f083(0x114)]||_0x53b698)&&(_0x19757e[_0x14f083(0x166)]=_0x1277ed,_0x5a03fb=!0x0),_0x4a201f&&_0x4a201f!==_0x19757e[_0x14f083(0x104)]&&(_0x19757e[_0x14f083(0x104)]=_0x4a201f,_0x19757e[_0x14f083(0x105)]&&_0x19757e[_0x14f083(0x105)][_0x14f083(0x167)]||(_0x19757e[_0x14f083(0x19b)]=_0x4a201f),_0x5a03fb=!0x0),_0x26810e&&!_0x2e0f3a(_0x26810e,_0x19757e[_0x14f083(0x105)])&&(_0x19757e[_0x14f083(0x105)]=_0x26810e,_0x5a03fb=!0x0),!_0x5a03fb)return Promise[_0x14f083(0x164)]();if(_0x15bb20[_0x14f083(0x116)](_0x14f083(0x19f)),_0x53b698||!this[_0x14f083(0x138)]||_0x14f083(0x1bd)!=typeof this[_0x14f083(0x138)][_0x14f083(0x119)])return Promise[_0x14f083(0x164)]();const _0x56a4a9=this[_0x14f083(0x145)][_0x14f083(0x1a8)][_0x14f083(0xef)](_0x14f083(0xf6)),{channelId:_0x58b79b}=this[_0x14f083(0x177)](_0x19757e[_0x14f083(0x14e)]),_0x510507=_0x56a4a9[_0x14f083(0x1ae)](_0x1c081b(this[_0x14f083(0x145)][_0x14f083(0x1bf)],_0x14f083(0x11a)));return this[_0x14f083(0x138)][_0x14f083(0x119)]({'channelId':_0x58b79b,'threadId':_0x1c72d3,'commentId':_0x5f4d70,'content':_0x1277ed,'attributes':_0x26810e})[_0x14f083(0x120)](()=>_0x56a4a9[_0x14f083(0x1b2)](_0x510507))[_0x14f083(0x1b9)](_0x2ad52b=>{const _0x17ee8f=_0x14f083;throw console[_0x17ee8f(0x159)](_0x2ad52b),new _0x1c5663(_0x17ee8f(0x150),this);});}[_0x7e11e8(0x183)]({threadId:_0x320daa,commentId:_0x333470,isFromAdapter:_0x13cbf3}){const _0x565fb3=_0x7e11e8,_0x26e0c7=this[_0x565fb3(0x177)](_0x320daa),_0x1aaf44=_0x26e0c7[_0x565fb3(0x1a5)](_0x333470);if(!_0x1aaf44)throw new _0x1c5663(_0x565fb3(0xfc),this);if(_0x26e0c7[_0x565fb3(0x17e)](_0x1aaf44),_0x13cbf3||!this[_0x565fb3(0x138)]||_0x565fb3(0x1bd)!=typeof this[_0x565fb3(0x138)][_0x565fb3(0x109)])return Promise[_0x565fb3(0x164)]();const _0x3aae32=this[_0x565fb3(0x145)][_0x565fb3(0x1a8)][_0x565fb3(0xef)](_0x565fb3(0xf6)),{channelId:_0xe7f155}=_0x26e0c7,_0x3b9ddc=_0x3aae32[_0x565fb3(0x1ae)](_0x1c081b(this[_0x565fb3(0x145)][_0x565fb3(0x1bf)],_0x565fb3(0x11a)));return this[_0x565fb3(0x138)][_0x565fb3(0x109)]({'channelId':_0xe7f155,'threadId':_0x320daa,'commentId':_0x333470})[_0x565fb3(0x120)](()=>_0x3aae32[_0x565fb3(0x1b2)](_0x3b9ddc))[_0x565fb3(0x1b9)](_0x91ef09=>{const _0x263be4=_0x565fb3;throw console[_0x263be4(0x159)](_0x91ef09),new _0x1c5663(_0x263be4(0x130),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a797b(){[_0x7e11e8(0x1c3)];['id'];[_0x7e11e8(0x193)];[_0x7e11e8(0x106)];[_0x7e11e8(0xe3)];[_0x7e11e8(0x162)];constructor(_0x569523,_0x8d8040){const _0x1869b1=_0x7e11e8;super();const _0x3f109d=_0x8d8040[_0x1869b1(0x13d)];this[_0x1869b1(0x1c3)]=_0x8d8040[_0x1869b1(0x1c3)],this['id']=_0x8d8040['id'],this[_0x1869b1(0xe3)]=new _0x5a1289(),this[_0x1869b1(0x162)]=_0x569523,this[_0x1869b1(0x193)]=!0x1,this[_0x1869b1(0x106)]=_0x8d8040[_0x1869b1(0x190)],this[_0x1869b1(0x112)](_0x1869b1(0x1a2),!0x0),this[_0x1869b1(0x128)](_0x1869b1(0x169))['to'](_0x569523,_0x1869b1(0x189),_0x569523,_0x1869b1(0x163),()=>_0x569523[_0x1869b1(0x169)](this[_0x1869b1(0x1c3)])),this[_0x1869b1(0x128)](_0x1869b1(0x181))['to'](_0x569523,_0x1869b1(0x189),()=>_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x1c4)]),this[_0x1869b1(0x128)](_0x1869b1(0x153))['to'](_0x569523,_0x1869b1(0x189),()=>{const _0x3e5668=_0x1869b1,_0x41a35d=_0x569523[_0x3e5668(0x18e)](this[_0x3e5668(0x1c3)]);return _0x41a35d[_0x3e5668(0x1a6)]||_0x41a35d[_0x3e5668(0x1c4)];}),this[_0x1869b1(0x128)](_0x1869b1(0x13d))['to'](_0x569523,_0x1869b1(0x189),()=>_0x3f109d&&_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x164)]),this[_0x1869b1(0x112)](_0x1869b1(0x145),_0x8d8040[_0x1869b1(0x145)]),this[_0x1869b1(0x128)](_0x1869b1(0xf5))['to'](this,_0x1869b1(0x179),this,_0x1869b1(0x184),(_0x442bf7,_0x361711)=>_0x442bf7?_0x361711?_0x442bf7<_0x361711?_0x442bf7:_0x361711:_0x442bf7:_0x361711),this[_0x1869b1(0x112)](_0x1869b1(0x184),_0x8d8040[_0x1869b1(0x184)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x179),_0x8d8040[_0x1869b1(0x179)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x134),_0x8d8040[_0x1869b1(0x134)]||null),this[_0x1869b1(0x128)](_0x1869b1(0x118))['to'](this,_0x1869b1(0x179),_0x36db1f=>!!_0x36db1f),this[_0x1869b1(0x112)](_0x1869b1(0x105),_0x8d8040[_0x1869b1(0x105)]||{});}get[_0x7e11e8(0x17b)](){const _0x41e821=_0x7e11e8;return Array[_0x41e821(0x17f)](this[_0x41e821(0xe3)])[_0x41e821(0x108)]((_0x2ea3d2,_0x51e84f)=>_0x2ea3d2+_0x51e84f[_0x41e821(0x17b)],0x0);}get[_0x7e11e8(0x1ad)](){const _0x42b937=_0x7e11e8;return this[_0x42b937(0xe3)][_0x42b937(0x1ad)];}get[_0x7e11e8(0x1b8)](){const _0x33d8e4=_0x7e11e8;return this[_0x33d8e4(0x193)];}get[_0x7e11e8(0x190)](){const _0xe058a3=_0x7e11e8;return this[_0xe058a3(0x106)];}[_0x7e11e8(0x1c0)](){const _0x6cfa0a=_0x7e11e8,{channelId:_0x225c1c,id:_0x227065}=this;this[_0x6cfa0a(0x162)][_0x6cfa0a(0x116)](Nt(_0x6cfa0a(0x117),_0x225c1c),{'channelId':_0x225c1c,'threadId':_0x227065});}[_0x7e11e8(0x1a9)](_0x291cd8){const _0x5df5fc=_0x7e11e8;this[_0x5df5fc(0xfd)]({'unlinkedAt':_0x291cd8});}[_0x7e11e8(0x164)]({resolvedAt:_0x415ae2=new Date(),resolvedBy:_0x7b6315='',isFromAdapter:_0x41a4e4=!0x1}={}){const _0x34c5f2=_0x7e11e8,_0xbbed7=this[_0x34c5f2(0x162)][_0x34c5f2(0x145)][_0x34c5f2(0x1a8)][_0x34c5f2(0xef)](_0x467838)['me'],{channelId:_0x4f08e0,id:_0x1b7c86}=this;this[_0x34c5f2(0x162)][_0x34c5f2(0x116)](Nt(_0x34c5f2(0xec),_0x4f08e0),{'channelId':_0x4f08e0,'threadId':_0x1b7c86,'resolvedAt':_0x415ae2,'resolvedBy':_0x7b6315||_0xbbed7['id'],'isFromAdapter':_0x41a4e4});}[_0x7e11e8(0x186)]({isFromAdapter:_0x12f3fa=!0x1}={}){const _0x18843c=_0x7e11e8,{channelId:_0x37cd2f,id:_0xbb5c46}=this;this[_0x18843c(0x162)][_0x18843c(0x116)](Nt(_0x18843c(0x1b3),_0x37cd2f),{'channelId':_0x37cd2f,'threadId':_0xbb5c46,'isFromAdapter':_0x12f3fa});}[_0x7e11e8(0xe0)](_0x433be1){const _0x122781=_0x7e11e8;this[_0x122781(0x145)]||this[_0x122781(0xfd)]({'context':_0x433be1});}[_0x7e11e8(0x146)](_0x858e4e,_0x3bdd1c){const _0x5244da=_0x7e11e8,_0x4c5af0=_0x587394(this[_0x5244da(0x105)]);_0x414972(_0x4c5af0,_0x858e4e,_0x3bdd1c),this[_0x5244da(0xfd)]({'attributes':_0x4c5af0});}[_0x7e11e8(0x1aa)](_0x34a702){const _0x1d4fdc=_0x7e11e8,_0x159205=_0x587394(this[_0x1d4fdc(0x105)]);_0x29d6a6(_0x159205,_0x34a702),this[_0x1d4fdc(0xfd)]({'attributes':_0x159205});}[_0x7e11e8(0x1b2)]({isFromAdapter:_0x19c9ea=!0x1}={}){const _0x2e048d=_0x7e11e8,{channelId:_0x47384f,id:_0x255082}=this;this[_0x2e048d(0x162)][_0x2e048d(0x116)](Nt(_0x2e048d(0x11b),_0x47384f),{'channelId':_0x47384f,'threadId':_0x255082,'isFromAdapter':_0x19c9ea});}[_0x7e11e8(0x1a3)](_0x303e6e){const _0x371264=_0x7e11e8;return this[_0x371264(0x162)][_0x371264(0x1c5)]({'threadId':this['id'],'target':_0x303e6e});}[_0x7e11e8(0x140)](_0xd6a250){const _0x16514b=_0x7e11e8,{channelId:_0x116975,id:_0x53e16a}=this;this[_0x16514b(0x162)][_0x16514b(0x116)](Nt(_0x16514b(0x140),_0x116975,_0x53e16a),Object[_0x16514b(0x156)]({'channelId':_0x116975,'threadId':_0x53e16a},_0xd6a250));}[_0x7e11e8(0x1a5)](_0x5d13fd){const _0x35fbfe=_0x7e11e8;if(_0x35fbfe(0x137)!=typeof _0x5d13fd)throw new _0x1c5663(_0x35fbfe(0x16f),null,{'commentId':_0x5d13fd});return this[_0x35fbfe(0xe3)][_0x35fbfe(0xef)](_0x5d13fd);}[_0x7e11e8(0x11e)](){const _0x1f2a95=_0x7e11e8;return{'threadId':this['id'],'context':this[_0x1f2a95(0x145)],'unlinkedAt':this[_0x1f2a95(0x184)],'resolvedAt':this[_0x1f2a95(0x179)],'resolvedBy':this[_0x1f2a95(0x134)]?this[_0x1f2a95(0x134)]['id']:null,'archivedAt':this[_0x1f2a95(0xf5)],'comments':this[_0x1f2a95(0xe3)][_0x1f2a95(0xf7)](_0x13d705=>_0x13d705[_0x1f2a95(0x11e)]()),'attributes':this[_0x1f2a95(0x105)]};}[_0x7e11e8(0x17a)](_0xf5d86d){const _0x454b4f=_0x7e11e8;return this[_0x454b4f(0x192)](_0xf5d86d,_0x454b4f(0x147),()=>{const _0xc5ff7c=_0x454b4f,_0x2daf52=this[_0xc5ff7c(0xe8)](_0xf5d86d),_0x2e4a9b=this[_0xc5ff7c(0xe3)];_0x2daf52-0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&_0x2daf52+0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&(this[_0xc5ff7c(0x17e)](_0xf5d86d),this[_0xc5ff7c(0x17a)](_0xf5d86d));}),this[_0x454b4f(0xe3)][_0x454b4f(0x1ae)](_0xf5d86d,this[_0x454b4f(0xe8)](_0xf5d86d));}[_0x7e11e8(0xfd)](_0x170fa2){const _0x3c9673=_0x7e11e8,{channelId:_0x2f0da,id:_0x175846}=this;this[_0x3c9673(0x162)][_0x3c9673(0x116)](Nt(_0x3c9673(0x13b),_0x2f0da),{..._0x170fa2,'channelId':_0x2f0da,'threadId':_0x175846});}[_0x7e11e8(0x17e)](_0x1511ca){const _0x4767a5=_0x7e11e8;return this[_0x4767a5(0x185)](_0x1511ca),_0x1511ca[_0x4767a5(0x1a1)](),this[_0x4767a5(0xe3)][_0x4767a5(0x1b2)](_0x1511ca);}[_0x7e11e8(0xe8)](_0x38988f){const _0x595276=_0x7e11e8,_0x1eedc3=this[_0x595276(0xe3)][_0x595276(0x175)](_0x36d9a6=>new Date(_0x36d9a6[_0x595276(0x19b)])[_0x595276(0x1b7)]()>new Date(_0x38988f[_0x595276(0x19b)])[_0x595276(0x1b7)]());return _0x1eedc3?this[_0x595276(0xe3)][_0x595276(0x15f)](_0x1eedc3):this[_0x595276(0x1ad)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x3a797b(){['id'];[_0x7e11e8(0x14e)];[_0x7e11e8(0x1b5)];[_0x7e11e8(0x194)];[_0x7e11e8(0xe4)];[_0x7e11e8(0x104)];[_0x7e11e8(0x162)];constructor(_0x1abc35,_0x5769c1){const _0x4e1df5=_0x7e11e8;super();const _0x1c2ae1=_0x1abc35[_0x4e1df5(0x145)][_0x4e1df5(0x1a8)][_0x4e1df5(0xef)](_0x467838)['me'],_0xbd8d3=_0x1abc35[_0x4e1df5(0x177)](_0x5769c1[_0x4e1df5(0x14e)]),_0x5eaf05=0x0===_0xbd8d3[_0x4e1df5(0xe3)][_0x4e1df5(0x1ad)],_0xc093ba=_0x1c2ae1===_0x5769c1[_0x4e1df5(0x1b5)];this['id']=_0x5769c1['id'],this[_0x4e1df5(0x14e)]=_0x5769c1[_0x4e1df5(0x14e)],this[_0x4e1df5(0x1b5)]=_0x5769c1[_0x4e1df5(0x1b5)],this[_0x4e1df5(0x194)]=_0x5769c1[_0x4e1df5(0x194)],this[_0x4e1df5(0xe4)]=Boolean(_0x5769c1[_0x4e1df5(0x105)]&&_0x5769c1[_0x4e1df5(0x105)][_0x4e1df5(0x167)]),this[_0x4e1df5(0x112)](_0x4e1df5(0x166),_0x5769c1[_0x4e1df5(0x166)]),this[_0x4e1df5(0x104)]=_0x5769c1[_0x4e1df5(0x104)]||new Date(),this[_0x4e1df5(0x112)](_0x4e1df5(0x19b),_0x5769c1[_0x4e1df5(0x19b)]||new Date()),this[_0x4e1df5(0x128)](_0x4e1df5(0x179))['to'](_0xbd8d3,_0x4e1df5(0x179)),this[_0x4e1df5(0x112)](_0x4e1df5(0x105),_0x5769c1[_0x4e1df5(0x105)]||{}),this[_0x4e1df5(0x128)](_0x4e1df5(0x114))['to'](_0x1abc35,_0x4e1df5(0x189),()=>{const _0x3efd56=_0x4e1df5,_0x587199=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0x1a6)],_0x290a8c=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0xe7)];return _0xc093ba&&_0x587199||!_0xc093ba&&_0x290a8c;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x181))['to'](_0xbd8d3,_0x4e1df5(0x181),_0x1abc35,_0x4e1df5(0x189),_0x5c7905=>{const _0x5a9d7f=_0x4e1df5,_0x5d82f8=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0x1a6)],_0x25991d=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0xe7)];return _0xc093ba&&_0x5d82f8||_0x5c7905&&_0x5eaf05||!_0xc093ba&&_0x25991d&&!_0x5eaf05;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x169))['to'](_0xbd8d3,_0x4e1df5(0x169)),this[_0x4e1df5(0x162)]=_0x1abc35;}get[_0x7e11e8(0x17b)](){const _0x7e9b5d=_0x7e11e8;return Math[_0x7e9b5d(0x161)](function(_0x58ed63){const _0x32e44e=_0x7e9b5d,_0x55d382=document[_0x32e44e(0xea)](_0x32e44e(0x113));return _0x55d382[_0x32e44e(0x121)]=_0x58ed63,_0x55d382[_0x32e44e(0x152)][_0x32e44e(0x1ad)];}(this[_0x7e9b5d(0x166)]),0xc8);}[_0x7e11e8(0x187)](_0xcf4c63){const _0x57ce99=_0x7e11e8,{threadId:_0x396a41,id:_0x32bcb1}=this;if(!this[_0x57ce99(0x162)][_0x57ce99(0x136)](_0x396a41))throw new _0x1c5663(_0x57ce99(0x16c),this);const {channelId:_0x59f5d7}=this[_0x57ce99(0x162)][_0x57ce99(0x177)](_0x396a41);this[_0x57ce99(0x162)][_0x57ce99(0x116)](Nt(_0x57ce99(0x119),_0x59f5d7,_0x396a41),{'channelId':_0x59f5d7,'threadId':_0x396a41,'commentId':_0x32bcb1,..._0xcf4c63});}[_0x7e11e8(0x146)](_0x35fce4,_0x25f6a7){const _0x1baf98=_0x7e11e8,_0x22e82e=_0x587394(this[_0x1baf98(0x105)]);_0x414972(_0x22e82e,_0x35fce4,_0x25f6a7),this[_0x1baf98(0x187)]({'attributes':_0x22e82e});}[_0x7e11e8(0x1aa)](_0x490ea6){const _0x5a93ce=_0x7e11e8,_0x4789b1=_0x587394(this[_0x5a93ce(0x105)]);_0x29d6a6(_0x4789b1,_0x490ea6),this[_0x5a93ce(0x187)]({'attributes':_0x4789b1});}[_0x7e11e8(0x1b2)](_0x28dc3a={}){const _0x4a8e18=_0x7e11e8;if(!_0x28dc3a[_0x4a8e18(0xdf)]&&!this[_0x4a8e18(0x181)])return;const {threadId:_0x453d3b,id:_0x26a488}=this;if(!this[_0x4a8e18(0x162)][_0x4a8e18(0x136)](_0x453d3b))throw new _0x1c5663(_0x4a8e18(0x154),this);const {channelId:_0x357c60}=this[_0x4a8e18(0x162)][_0x4a8e18(0x177)](_0x453d3b);this[_0x4a8e18(0x162)][_0x4a8e18(0x116)](Nt(_0x4a8e18(0x109),_0x357c60,_0x453d3b),{'channelId':_0x357c60,'threadId':_0x453d3b,'commentId':_0x26a488,..._0x28dc3a});}[_0x7e11e8(0x11e)](){const _0x1279b6=_0x7e11e8;return{'commentId':this['id'],'content':this[_0x1279b6(0x166)],'createdAt':this[_0x1279b6(0x104)],'authorId':this[_0x1279b6(0x194)]['id'],'attributes':this[_0x1279b6(0x105)]};}[_0x7e11e8(0x1a1)](){const _0x1e7f93=_0x7e11e8;this[_0x1e7f93(0x185)]();}}function Nt(_0x439f98,..._0x50a472){for(const _0x26c40e of _0x50a472)void 0x0!==_0x26c40e&&(_0x439f98+=':'+String(_0x26c40e));return _0x439f98;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x54b988=_0x24bf;(function(_0x378b89,_0x639429){const _0x33996b=_0x24bf,_0x50eda3=_0x378b89();while(!![]){try{const _0x4acceb=parseInt(_0x33996b(0x1ce))/0x1*(-parseInt(_0x33996b(0x1b4))/0x2)+parseInt(_0x33996b(0x19e))/0x3*(-parseInt(_0x33996b(0x19c))/0x4)+parseInt(_0x33996b(0x1a2))/0x5*(-parseInt(_0x33996b(0x18d))/0x6)+parseInt(_0x33996b(0x1a7))/0x7+-parseInt(_0x33996b(0x19b))/0x8+parseInt(_0x33996b(0x1aa))/0x9*(-parseInt(_0x33996b(0x1b5))/0xa)+parseInt(_0x33996b(0x1a0))/0xb*(parseInt(_0x33996b(0x1d8))/0xc);if(_0x4acceb===_0x639429)break;else _0x50eda3['push'](_0x50eda3['shift']());}catch(_0x115da9){_0x50eda3['push'](_0x50eda3['shift']());}}}(_0x1943,0x9fe87));import{Plugin as _0x497284}from'ckeditor5/src/core.js';function _0x24bf(_0x1a23ae,_0x58984f){const _0x1943b3=_0x1943();return _0x24bf=function(_0x24bff8,_0x4711c1){_0x24bff8=_0x24bff8-0x186;let _0x105b01=_0x1943b3[_0x24bff8];return _0x105b01;},_0x24bf(_0x1a23ae,_0x58984f);}import{IconAddComment as _0x11d848}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x351695}from'./commentsrepository.js';import{CommentsEditing as _0x45550a}from'./commentsediting.js';import{EditorAnnotations as _0x5a4b78}from'../annotations/editorannotations.js';import{ButtonView as _0xd283a5,MenuBarMenuListItemButtonView as _0x125d1c}from'ckeditor5/src/ui.js';import{Annotations as _0xbf2565}from'../annotations/annotations.js';import{CommentsListView as _0x5329bf}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x1d0525}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x311670}from'../utils/common-translations.js';function _0x1943(){const _0x54aa71=['config','listenTo','isOfficialPlugin','2bZCjBH','107230wWcOCF','length','commentsLicenseKeyUsageLimit','commentsLicenseKeyInvalid','hasMarkerForId','comment:','commentsLicenseKeyTrialLimit','addComment','focus','domainLimit','init','commands','evaluationLimit','expired','comment','activeMarker','_threadToController','find','CommentThreadInputView','locale','commentsLicenseKeyExpired','hasCommentThread','hasContent','menuBar:comment','push','574767eCGemT','_licenseKeyCheckInterval','change:activeAnnotations','getAllMarkersForId','featureNotAllowed','_showLicenseError','highest','requires','isEnabled','stop','348aVEnMg','CommentsUI','low','trialLimit','Comment','editor','getRange','componentFactory','commentsLicenseKeyDomainLimit','view','isPremiumPlugin','tooltip','licenseKey','map','66jGecjT','isFocused','getCommentThread','commentsLicenseKeyNotAllowed','innerView','_createUIButton','commentsLicenseKeyValid','Comments','focusTracker','pluginName','usageLimit','from','plugins','addCommentThread','4220312twEGzJ','20684VTguuH','_viewToController','150whihNz','commentsLicenseKeyEvaluationLimit','1093422uaPRmP','destroy','580390OXHZhG','model','addSourceCollector','removeCommentThread','add','3320639RIGYeC','set','has','54HnShPy','bind','CommentsListView','invalid','get','execute','editing'];_0x1943=function(){return _0x54aa71;};return _0x1943();}export class CommentsUI extends _0x497284{[_0x54b988(0x18b)];[_0x54b988(0x1cf)];static get[_0x54b988(0x196)](){const _0x141aa1=_0x54b988;return _0x141aa1(0x1d9);}static get[_0x54b988(0x1b3)](){return!0x0;}static get[_0x54b988(0x189)](){return!0x0;}static get[_0x54b988(0x1d5)](){return[_0x351695,_0x45550a,_0x5a4b78,_0xbf2565];}get[_0x54b988(0x1ac)](){return _0x5329bf;}get[_0x54b988(0x1c7)](){return _0x1d0525;}[_0x54b988(0x1bf)](){const _0x5340e8=_0x54b988,_0x319c75=this[_0x5340e8(0x1dd)],_0x2b6078=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x351695),_0x10d126=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x45550a),_0x4dfb19=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0xbf2565),_0x4aca02=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x5a4b78);_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1c3),()=>{const _0x491e21=_0x5340e8,_0x19b6c8=this[_0x491e21(0x192)](_0xd283a5);return _0x19b6c8[_0x491e21(0x18a)]=!0x0,_0x19b6c8;}),_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1cc),()=>this[_0x5340e8(0x192)](_0x125d1c)),_0x4aca02[_0x5340e8(0x1a4)](()=>{const _0x1d0391=_0x5340e8,_0x430ef4=[];for(const [_0x550b40,_0x465e52]of _0x2b6078[_0x1d0391(0x1c5)]){const _0x58bed9=_0x10d126[_0x1d0391(0x1d1)](_0x550b40['id']),_0x22a4f9=_0x58bed9[_0x1d0391(0x18c)](_0x35e12f=>_0x35e12f[_0x1d0391(0x1de)]());_0x58bed9[_0x1d0391(0x1b6)]>0x0&&_0x430ef4[_0x1d0391(0x1cd)]([_0x465e52[_0x1d0391(0x188)],_0x22a4f9]);}return _0x430ef4;}),this[_0x5340e8(0x1b2)](_0x4dfb19,_0x5340e8(0x1d0),(_0x4e45a5,_0x16445c,_0x224e19)=>{const _0x2fdf9c=_0x5340e8,_0x296608=Array[_0x2fdf9c(0x198)](_0x224e19)[_0x2fdf9c(0x18c)](_0x570a5c=>_0x570a5c[_0x2fdf9c(0x191)])[_0x2fdf9c(0x1c6)](_0x21c9f3=>_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1a9)](_0x21c9f3));if(!_0x296608)return void(_0x10d126[_0x2fdf9c(0x1c4)]=null);const _0x2e68f9=_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1ae)](_0x296608)[_0x2fdf9c(0x1a3)]['id'],_0x33592a=_0x2fdf9c(0x1ba)+_0x2e68f9;_0x2e68f9&&_0x10d126[_0x2fdf9c(0x1b9)](_0x2e68f9)?_0x10d126[_0x2fdf9c(0x1c4)]=_0x33592a:_0x10d126[_0x2fdf9c(0x1c4)]&&(_0x10d126[_0x2fdf9c(0x1c4)]=null);}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1a5),(_0x1c5068,{threadId:_0x5b418a,isFromAdapter:_0x39eb86})=>{const _0x4c350e=_0x5340e8;!_0x39eb86&&_0x319c75['ui'][_0x4c350e(0x195)][_0x4c350e(0x18e)]&&_0x10d126[_0x4c350e(0x1b9)](_0x5b418a)&&_0x319c75[_0x4c350e(0x1b0)][_0x4c350e(0x188)][_0x4c350e(0x1bd)]();},{'priority':_0x5340e8(0x1d4)}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1bc),(_0x396691,{threadId:_0x37caf0,isFromAdapter:_0x568c48})=>{const _0x2754c5=_0x5340e8;if(_0x568c48||!_0x10d126[_0x2754c5(0x1b9)](_0x37caf0)||!_0x2b6078[_0x2754c5(0x1ca)](_0x37caf0))return;0x1===_0x2b6078[_0x2754c5(0x18f)](_0x37caf0)[_0x2754c5(0x1b6)]&&(_0x319c75[_0x2754c5(0x1b0)][_0x2754c5(0x188)][_0x2754c5(0x1bd)](),_0x396691[_0x2754c5(0x1d7)]());},{'priority':_0x5340e8(0x1da)}),this[_0x5340e8(0x18b)]=this[_0x5340e8(0x1dd)][_0x5340e8(0x1b1)][_0x5340e8(0x1ae)](_0x5340e8(0x18b));const _0x106971=this[_0x5340e8(0x1dd)];this[_0x5340e8(0x1cf)]=setInterval(()=>{const _0x3d6b57=_0x5340e8;let _0x157e9f;for(const _0x2f4fee in _0x106971){const _0x3819ab=_0x2f4fee,_0x148450=_0x106971[_0x3819ab];if(_0x3d6b57(0x193)==_0x148450||_0x3d6b57(0x1b8)==_0x148450||_0x3d6b57(0x1c9)==_0x148450||_0x3d6b57(0x187)==_0x148450||_0x3d6b57(0x190)==_0x148450||_0x3d6b57(0x19f)==_0x148450||_0x3d6b57(0x1bb)==_0x148450||_0x3d6b57(0x1b7)==_0x148450){delete _0x106971[_0x3819ab],_0x157e9f=_0x148450,clearInterval(this[_0x3d6b57(0x1cf)]),this[_0x3d6b57(0x1cf)]=void 0x0;break;}}_0x3d6b57(0x1b8)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1ad)),_0x3d6b57(0x1c9)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c2)),_0x3d6b57(0x187)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1be)),_0x3d6b57(0x190)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1d2),_0x3d6b57(0x194)),_0x3d6b57(0x19f)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c1)),_0x3d6b57(0x1bb)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1db)),_0x3d6b57(0x1b7)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x197));},0x3e8);}[_0x54b988(0x1a1)](){const _0x43c13f=_0x54b988;super[_0x43c13f(0x1a1)](),this[_0x43c13f(0x1cf)]&&clearInterval(this[_0x43c13f(0x1cf)]);}[_0x54b988(0x192)](_0x41ebc6){const _0x2d6e83=_0x54b988,_0x1bcc4c=this[_0x2d6e83(0x1dd)],_0x4690e9=new _0x41ebc6(_0x1bcc4c[_0x2d6e83(0x1c8)]),_0x4b1f4a=_0x1bcc4c[_0x2d6e83(0x1c0)][_0x2d6e83(0x1ae)](_0x2d6e83(0x19a));return _0x4690e9[_0x2d6e83(0x1a8)]({'label':_0x311670(_0x1bcc4c[_0x2d6e83(0x1c8)],_0x2d6e83(0x1dc)),'icon':_0x11d848}),_0x4690e9[_0x2d6e83(0x1ab)](_0x2d6e83(0x1d6))['to'](_0x4b1f4a,_0x2d6e83(0x1cb)),this[_0x2d6e83(0x1b2)](_0x4690e9,_0x2d6e83(0x1af),()=>{const _0x8c0e85=_0x2d6e83;_0x4b1f4a[_0x8c0e85(0x1af)]();}),_0x4690e9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1acb28=_0x45de;(function(_0x30629d,_0x458480){const _0x244733=_0x45de,_0x513289=_0x30629d();while(!![]){try{const _0x2d890c=-parseInt(_0x244733(0xbd))/0x1*(-parseInt(_0x244733(0xcb))/0x2)+parseInt(_0x244733(0xcd))/0x3+-parseInt(_0x244733(0xb0))/0x4+parseInt(_0x244733(0xd3))/0x5*(parseInt(_0x244733(0xb9))/0x6)+-parseInt(_0x244733(0xca))/0x7+parseInt(_0x244733(0xad))/0x8+-parseInt(_0x244733(0xc0))/0x9;if(_0x2d890c===_0x458480)break;else _0x513289['push'](_0x513289['shift']());}catch(_0x1d8d0f){_0x513289['push'](_0x513289['shift']());}}}(_0x403b,0x820b7));import{Plugin as _0x344d55}from'ckeditor5/src/core.js';function _0x403b(){const _0x406b92=['never','listenTo','comments.copyMarkers','editor','15nqmyQJ','delete','default','4430888IiJFFl','ClipboardMarkersUtils','content','3705144XgfWio','_removeMarkersWithoutThreads','_registerMarkerToCopy','plugins','always','hasCommentThread','config','dragstart','all','226806wBOhBp','highest','split','comment','318485FKMLGS','_registerMarkerInClipboardPipeline','keys','1377801QnfJiN','has','define','markers','_mapCommentsCopyConfigToRegisterConfiguration','CommentsRepository','contentInsertion','ClipboardPipeline','afterInit','requires','67879EzhbsA','2mUBOhx','cut','1907958JtSNVt','get'];_0x403b=function(){return _0x406b92;};return _0x403b();}import{ClipboardPipeline as _0x3ddb3a,ClipboardMarkersUtils as _0x2226d1}from'ckeditor5/src/clipboard.js';function _0x45de(_0x512132,_0x3966a1){const _0x403b23=_0x403b();return _0x45de=function(_0x45de4f,_0x3c0cb3){_0x45de4f=_0x45de4f-0xac;let _0x4abd44=_0x403b23[_0x45de4f];return _0x4abd44;},_0x45de(_0x512132,_0x3966a1);}export class CommentsClipboard extends _0x344d55{constructor(_0x303943){const _0x2d4c02=_0x45de;super(_0x303943),this[_0x2d4c02(0xd2)][_0x2d4c02(0xb6)][_0x2d4c02(0xc2)](_0x2d4c02(0xd1),_0x2d4c02(0xac));}static get[_0x1acb28(0xc9)](){return[_0x2226d1,_0x3ddb3a];}[_0x1acb28(0xc8)](){const _0x250cf7=_0x1acb28,_0x342a77=this[_0x250cf7(0xd2)][_0x250cf7(0xb3)][_0x250cf7(0xce)](_0x250cf7(0xc7));this[_0x250cf7(0xbe)](),this[_0x250cf7(0xd0)](_0x342a77,_0x250cf7(0xc6),(_0x58b7a5,_0x4fed76)=>this[_0x250cf7(0xb1)](_0x4fed76[_0x250cf7(0xaf)][_0x250cf7(0xc3)]),{'priority':_0x250cf7(0xba)});}[_0x1acb28(0xb1)](_0x740446){const _0xd2d718=_0x1acb28;if(!this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xc1)](_0xd2d718(0xc5)))return _0x740446;const _0x225303=this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xce)](_0xd2d718(0xc5));for(const _0x24717d of _0x740446[_0xd2d718(0xbf)]()){const [_0x219c59,_0x2e8c53]=_0x24717d[_0xd2d718(0xbb)](':');_0xd2d718(0xbc)!=_0x219c59||_0x225303[_0xd2d718(0xb5)](_0x2e8c53)||_0x740446[_0xd2d718(0xd4)](_0x24717d);}return _0x740446;}[_0x1acb28(0xbe)](){const _0x3ad439=_0x1acb28,_0x4cff3a=this[_0x3ad439(0xd2)][_0x3ad439(0xb3)][_0x3ad439(0xce)](_0x3ad439(0xae)),_0x576dca=this[_0x3ad439(0xc4)](this[_0x3ad439(0xd2)][_0x3ad439(0xb6)][_0x3ad439(0xce)](_0x3ad439(0xd1)));_0x576dca&&_0x4cff3a[_0x3ad439(0xb2)](_0x3ad439(0xbc),_0x576dca);}[_0x1acb28(0xc4)](_0x16973c){const _0xac7df0=_0x1acb28;switch(_0x16973c){case _0xac7df0(0xb4):return{'allowedActions':_0xac7df0(0xb8),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0xac7df0(0xac):return{'allowedActions':[_0xac7df0(0xcc),_0xac7df0(0xb7)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0xac7df0(0xcf):return null;default:return null;}}}
|