@ckeditor/ckeditor5-comments 47.3.0-alpha.6 → 47.3.0
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 +19 -19
- 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 _0x5077da=_0x29c1;(function(_0x17c86e,_0x56330d){const _0x5d2cf4=_0x29c1,_0x162ed1=_0x17c86e();while(!![]){try{const _0x5004fb=parseInt(_0x5d2cf4(0x1d9))/0x1*(parseInt(_0x5d2cf4(0x1ea))/0x2)+-parseInt(_0x5d2cf4(0x228))/0x3+-parseInt(_0x5d2cf4(0x226))/0x4+-parseInt(_0x5d2cf4(0x1ed))/0x5+-parseInt(_0x5d2cf4(0x1f0))/0x6+parseInt(_0x5d2cf4(0x210))/0x7*(-parseInt(_0x5d2cf4(0x21f))/0x8)+parseInt(_0x5d2cf4(0x1d5))/0x9;if(_0x5004fb===_0x56330d)break;else _0x162ed1['push'](_0x162ed1['shift']());}catch(_0x1f50f6){_0x162ed1['push'](_0x162ed1['shift']());}}}(_0x528c,0x34a62));import{View as _0x224bc0,FocusCycler as _0x2e2d64}from'ckeditor5/src/ui.js';function _0x29c1(_0x5760aa,_0x46c30a){const _0x528c66=_0x528c();return _0x29c1=function(_0x29c138,_0x2826a5){_0x29c138=_0x29c138-0x1d3;let _0x590b32=_0x528c66[_0x29c138];return _0x590b32;},_0x29c1(_0x5760aa,_0x46c30a);}import{diff as _0x3e3ae1,Collection as _0x10fd2e,FocusTracker as _0x227d02,KeystrokeHandler as _0x339aab}from'ckeditor5/src/utils.js';import{getTranslation as _0x167fc1}from'../../../utils/common-translations.js';function _0x528c(){const _0x5993b8=['formatDateTime','arrowdown','removeComment','16429DYYgnh','updateComment','resolved','CommentView','element','bindTemplate','target','from','comments','bind','_calculatePosition','weight','focusLast','render','some','refreshVisibleViews','resolveCommentThread','28xsAnWV','Thread\x20comments','resolvedCommentView','283260VfvtjP','locale','change','2497242jTqBOl','viewUid','focusFirst','delegate','equal','_handleRemoveCommentModel','maxThreadTotalWeight','editorConfig','authoredAt','setTemplate','remove','includes','_collapsedCommentsView','editorReady','_setupKeyboardNavigation','hasDirtyComment','_handleNewCommentModel','destroy','_model','_findOptimalIndex','focus','change:isEditMode','resolvedBy','visibleViews','isActive','add','reverse','change:isResolved','listenTo','insert','expand','maxCommentsWhenCollapsed','7wouiMp','set','_rearrangeCollapse','Marked\x20as\x20resolved','stopListening','forEach','resolvedAt','length','focusCycler','change:hasDirtyComment','maxCommentCharsWhenCollapsed','editorDestroyed','count','ck-hidden','commentViews','3154072gmSQTQ','ck-thread__comments','_updateHasDirtyComment','_rearrangeExpand','isEditMode','added','_config','470984pqVSFt','commentUpdated','1289562oCngeL','keystrokes','map','collapse','createCollection','delete','change:isActive','_handleInfoComment','get','_shouldCollapse','focusTracker','removed','arrowup','12603258LoWQoe'];_0x528c=function(){return _0x5993b8;};return _0x528c();}import{CollapsedCommentsView as _0x3241ec}from'./collapsedcommentsview.js';export class CommentsListView extends _0x224bc0{[_0x5077da(0x21e)];[_0x5077da(0x1ec)];[_0x5077da(0x232)];[_0x5077da(0x229)];[_0x5077da(0x218)];[_0x5077da(0x202)];[_0x5077da(0x225)];[_0x5077da(0x1fc)];constructor(_0x482092,_0x12c50e,_0x2fd508){const _0x56a29c=_0x5077da;super(_0x482092);const _0x5ce3b3=this[_0x56a29c(0x1de)];this[_0x56a29c(0x211)](_0x56a29c(0x1ff),!0x1),this[_0x56a29c(0x211)](_0x56a29c(0x217),_0x12c50e[_0x56a29c(0x1e1)][_0x56a29c(0x217)]),this[_0x56a29c(0x211)](_0x56a29c(0x208),!0x1),this[_0x56a29c(0x202)]=_0x12c50e,this[_0x56a29c(0x225)]=_0x2fd508,this[_0x56a29c(0x21e)]=this[_0x56a29c(0x22c)](),this[_0x56a29c(0x207)]=this[_0x56a29c(0x22c)](),this[_0x56a29c(0x1ec)]=null,this[_0x56a29c(0x232)]=new _0x227d02(),this[_0x56a29c(0x229)]=new _0x339aab(),this[_0x56a29c(0x218)]=new _0x2e2d64({'focusables':this[_0x56a29c(0x21e)],'focusTracker':this[_0x56a29c(0x232)],'keystrokeHandler':this[_0x56a29c(0x229)],'keystrokeHandlerOptions':{'filter':_0x245372=>this[_0x56a29c(0x21e)][_0x56a29c(0x22a)](_0x523a71=>_0x523a71[_0x56a29c(0x1dd)])[_0x56a29c(0x1fb)](_0x245372[_0x56a29c(0x1df)])},'actions':{'focusPrevious':_0x56a29c(0x1d4),'focusNext':_0x56a29c(0x1d7)}}),this[_0x56a29c(0x1fc)]=new _0x3241ec(_0x482092),this[_0x56a29c(0x1fc)][_0x56a29c(0x1e2)](_0x56a29c(0x21c))['to'](this,_0x56a29c(0x217),_0x3d78d2=>_0x3d78d2-this[_0x56a29c(0x225)][_0x56a29c(0x20f)]);for(const _0x4ed93b of _0x12c50e[_0x56a29c(0x1e1)])this[_0x56a29c(0x200)](_0x4ed93b);this[_0x56a29c(0x22f)](),this[_0x56a29c(0x20c)](_0x12c50e[_0x56a29c(0x1e1)],_0x56a29c(0x209),(_0x261d1c,_0x8d8727)=>{const _0xcb748f=_0x56a29c,_0x1b8c35=this[_0xcb748f(0x1e3)](_0x8d8727);this[_0xcb748f(0x217)]++,this[_0xcb748f(0x200)](_0x8d8727,_0x1b8c35),this[_0xcb748f(0x1e8)]();}),this[_0x56a29c(0x20c)](_0x12c50e[_0x56a29c(0x1e1)],_0x56a29c(0x1fa),(_0x33d523,_0x31b93c)=>{const _0xecca9b=_0x56a29c;this[_0xecca9b(0x217)]--,this[_0xecca9b(0x1f5)](_0x31b93c),this[_0xecca9b(0x1e8)]();}),this[_0x56a29c(0x20c)](_0x12c50e,_0x56a29c(0x227),()=>this[_0x56a29c(0x1e8)]()),this[_0x56a29c(0x20c)](_0x12c50e,_0x56a29c(0x20b),()=>this[_0x56a29c(0x22f)]()),this['on'](_0x56a29c(0x22e),()=>this[_0x56a29c(0x1e8)]()),this['on'](_0x56a29c(0x219),()=>this[_0x56a29c(0x1e8)]()),this[_0x56a29c(0x1f9)]({'tag':'ul','attributes':{'class':[_0x56a29c(0x220),_0x5ce3b3['if'](_0x56a29c(0x217),_0x56a29c(0x21d),_0x1651c6=>!_0x1651c6)],'aria-label':_0x167fc1(_0x482092,_0x56a29c(0x1eb))},'children':this[_0x56a29c(0x207)]});}get[_0x5077da(0x231)](){const _0x14a82f=_0x5077da;return this[_0x14a82f(0x202)][_0x14a82f(0x1e4)]>this[_0x14a82f(0x225)][_0x14a82f(0x1f6)]&&!this[_0x14a82f(0x208)]&&!this[_0x14a82f(0x1ff)];}[_0x5077da(0x1e6)](){const _0xe239ee=_0x5077da;super[_0xe239ee(0x1e6)](),this[_0xe239ee(0x1e8)](),this[_0xe239ee(0x1fe)]();}[_0x5077da(0x204)](_0x1e089a){const _0x25b220=_0x5077da;-0x1===_0x1e089a?this[_0x25b220(0x218)][_0x25b220(0x1e5)]():this[_0x25b220(0x218)][_0x25b220(0x1f2)]();}[_0x5077da(0x201)](){const _0x26cb4a=_0x5077da;this[_0x26cb4a(0x1fc)][_0x26cb4a(0x201)]();for(const _0x5f243f of this[_0x26cb4a(0x21e)])_0x5f243f[_0x26cb4a(0x201)]();super[_0x26cb4a(0x201)]();}[_0x5077da(0x1e8)](){const _0x5c5725=_0x5077da;this[_0x5c5725(0x231)]?this[_0x5c5725(0x212)]():this[_0x5c5725(0x222)]();}[_0x5077da(0x200)](_0x14218d,_0x2f4ed3){const _0x20d9d6=_0x5077da,_0x3163d4=new this[(_0x20d9d6(0x225))][(_0x20d9d6(0x1dc))](this[_0x20d9d6(0x1ee)],_0x14218d,{'maxCommentCharsWhenCollapsed':this[_0x20d9d6(0x225)][_0x20d9d6(0x21a)],'formatDateTime':this[_0x20d9d6(0x225)][_0x20d9d6(0x1d6)],'editorConfig':this[_0x20d9d6(0x225)][_0x20d9d6(0x1f7)]});_0x3163d4[_0x20d9d6(0x1f1)]=_0x14218d['id'],_0x3163d4[_0x20d9d6(0x1f3)](_0x20d9d6(0x1d8))['to'](this),_0x3163d4[_0x20d9d6(0x1f3)](_0x20d9d6(0x1da))['to'](this),_0x3163d4[_0x20d9d6(0x1f3)](_0x20d9d6(0x1e9))['to'](this),_0x3163d4[_0x20d9d6(0x1f3)](_0x20d9d6(0x1fd))['to'](this),_0x3163d4[_0x20d9d6(0x1f3)](_0x20d9d6(0x21b))['to'](this),this[_0x20d9d6(0x20c)](_0x3163d4,_0x20d9d6(0x205),()=>this[_0x20d9d6(0x221)]()),this[_0x20d9d6(0x21e)][_0x20d9d6(0x209)](_0x3163d4,_0x2f4ed3);}[_0x5077da(0x1e3)](_0x19a3a8){const _0x589697=_0x5077da,_0x51a2b7=this[_0x589697(0x202)][_0x589697(0x203)](_0x19a3a8);return this[_0x589697(0x1ec)]?this[_0x589697(0x1ec)][_0x589697(0x1f8)]>_0x19a3a8[_0x589697(0x1f8)]?_0x51a2b7-0x1:_0x51a2b7:_0x51a2b7-0x1;}[_0x5077da(0x22f)](){const _0xd20704=_0x5077da;if(this[_0xd20704(0x202)][_0xd20704(0x206)]&&this[_0xd20704(0x202)][_0xd20704(0x216)]){const _0x1808ef={'id':_0xd20704(0x1db),'author':this[_0xd20704(0x202)][_0xd20704(0x206)],'authoredAt':this[_0xd20704(0x202)][_0xd20704(0x216)],'content':_0x167fc1(this[_0xd20704(0x1ee)],_0xd20704(0x213)),'attributes':{}};this[_0xd20704(0x1ec)]=new this[(_0xd20704(0x225))][(_0xd20704(0x1dc))](this[_0xd20704(0x1ee)],_0x1808ef,{'maxCommentCharsWhenCollapsed':this[_0xd20704(0x225)][_0xd20704(0x21a)],'formatDateTime':this[_0xd20704(0x225)][_0xd20704(0x1d6)],'editorConfig':this[_0xd20704(0x225)][_0xd20704(0x1f7)],'isSystemComment':!0x0}),this[_0xd20704(0x21e)][_0xd20704(0x209)](this[_0xd20704(0x1ec)],this[_0xd20704(0x202)][_0xd20704(0x203)](_0x1808ef));}else this[_0xd20704(0x1ec)]&&(this[_0xd20704(0x21e)][_0xd20704(0x1fa)](this[_0xd20704(0x1ec)]),this[_0xd20704(0x1ec)][_0xd20704(0x201)](),this[_0xd20704(0x1ec)]=null);this[_0xd20704(0x1e8)]();}[_0x5077da(0x1f5)](_0x3dad47){const _0x2c9e1e=_0x5077da,_0x10a7c1=this[_0x2c9e1e(0x21e)][_0x2c9e1e(0x1fa)](_0x3dad47['id']);this[_0x2c9e1e(0x214)](_0x10a7c1),_0x10a7c1[_0x2c9e1e(0x223)]&&this[_0x2c9e1e(0x221)](),_0x10a7c1[_0x2c9e1e(0x201)]();}[_0x5077da(0x221)](){const _0x553f54=_0x5077da;this[_0x553f54(0x1ff)]=Array[_0x553f54(0x1e0)](this[_0x553f54(0x21e)])[_0x553f54(0x1e7)](_0x13c1f9=>_0x13c1f9[_0x553f54(0x223)]);}[_0x5077da(0x212)](){const _0x20001e=_0x5077da,_0x267b44=function(_0x44506c){const _0x4dc827=_0x29c1,_0x139b46=new _0x10fd2e();for(const _0xfbcb15 of _0x44506c)_0x139b46[_0x4dc827(0x209)](_0xfbcb15);return _0x139b46;}(this[_0x20001e(0x21e)]),_0x16879c=this[_0x20001e(0x1fc)][_0x20001e(0x21c)];for(let _0x11a680=0x1;_0x11a680<=_0x16879c;_0x11a680++)_0x267b44[_0x20001e(0x1fa)](0x1);for(const _0x24fc60 of _0x267b44)_0x24fc60[_0x20001e(0x22b)]();_0x16879c>0x0&&_0x267b44[_0x20001e(0x209)](this[_0x20001e(0x1fc)],0x1),ns(_0x3e3ae1(Array[_0x20001e(0x1e0)](this[_0x20001e(0x207)]),Array[_0x20001e(0x1e0)](_0x267b44)),this[_0x20001e(0x207)],_0x267b44);}[_0x5077da(0x222)](){const _0x18df59=_0x5077da;ns(_0x3e3ae1(Array[_0x18df59(0x1e0)](this[_0x18df59(0x207)]),Array[_0x18df59(0x1e0)](this[_0x18df59(0x21e)])),this[_0x18df59(0x207)],this[_0x18df59(0x21e)]);for(const _0x4dbf13 of this[_0x18df59(0x207)])_0x4dbf13[_0x18df59(0x20e)]();}[_0x5077da(0x1fe)](){const _0x54bb2f=_0x5077da;this[_0x54bb2f(0x21e)][_0x54bb2f(0x215)](_0x45695a=>{const _0x539c5f=_0x54bb2f;this[_0x539c5f(0x232)][_0x539c5f(0x209)](_0x45695a[_0x539c5f(0x1dd)]),this[_0x539c5f(0x229)][_0x539c5f(0x20c)](_0x45695a[_0x539c5f(0x1dd)]);}),this[_0x54bb2f(0x21e)]['on'](_0x54bb2f(0x1ef),(_0x280df7,_0xa9780a)=>{const _0x3614b1=_0x54bb2f;for(const _0x412bbb of _0xa9780a[_0x3614b1(0x1d3)])this[_0x3614b1(0x232)][_0x3614b1(0x1fa)](_0x412bbb[_0x3614b1(0x1dd)]),this[_0x3614b1(0x229)][_0x3614b1(0x214)](_0x412bbb[_0x3614b1(0x1dd)]);for(const _0x7ff8b3 of Array[_0x3614b1(0x1e0)](_0xa9780a[_0x3614b1(0x224)])[_0x3614b1(0x20a)]())this[_0x3614b1(0x232)][_0x3614b1(0x209)](_0x7ff8b3[_0x3614b1(0x1dd)]),this[_0x3614b1(0x229)][_0x3614b1(0x20c)](_0x7ff8b3[_0x3614b1(0x1dd)]);});}}function ns(_0x3abc1c,_0x3e2045,_0x54ac41){const _0x23a536=_0x5077da;let _0x2fa625=0x0;for(const _0x14fd01 of _0x3abc1c)switch(_0x14fd01){case _0x23a536(0x20d):_0x3e2045[_0x23a536(0x209)](_0x54ac41[_0x23a536(0x230)](_0x2fa625),_0x2fa625),_0x2fa625++;break;case _0x23a536(0x22d):_0x3e2045[_0x23a536(0x1fa)](_0x2fa625);break;case _0x23a536(0x1f4):_0x2fa625++;}}
|
|
23
|
+
const _0x422d5b=_0x3977;function _0x3977(_0x1c27dc,_0x3c6b72){const _0x480ea5=_0x480e();return _0x3977=function(_0x3977a7,_0x3f97e9){_0x3977a7=_0x3977a7-0x1ab;let _0x2b1c46=_0x480ea5[_0x3977a7];return _0x2b1c46;},_0x3977(_0x1c27dc,_0x3c6b72);}(function(_0x18e858,_0x3a20ec){const _0x4c4c29=_0x3977,_0x4e2e0b=_0x18e858();while(!![]){try{const _0xdac856=parseInt(_0x4c4c29(0x1f8))/0x1*(parseInt(_0x4c4c29(0x1cf))/0x2)+-parseInt(_0x4c4c29(0x204))/0x3+parseInt(_0x4c4c29(0x1f4))/0x4*(-parseInt(_0x4c4c29(0x1d5))/0x5)+parseInt(_0x4c4c29(0x1b5))/0x6*(-parseInt(_0x4c4c29(0x1fe))/0x7)+parseInt(_0x4c4c29(0x1ce))/0x8+-parseInt(_0x4c4c29(0x1e9))/0x9*(parseInt(_0x4c4c29(0x1b6))/0xa)+parseInt(_0x4c4c29(0x1e3))/0xb*(parseInt(_0x4c4c29(0x1ee))/0xc);if(_0xdac856===_0x3a20ec)break;else _0x4e2e0b['push'](_0x4e2e0b['shift']());}catch(_0x3a6527){_0x4e2e0b['push'](_0x4e2e0b['shift']());}}}(_0x480e,0x1a6ed));function _0x480e(){const _0x1cbc7c=['maxThreadTotalWeight','_shouldCollapse','listenTo','_updateHasDirtyComment','insert','comments','collapse','reverse','_findOptimalIndex','updateComment','expand','CommentView','commentUpdated','focusFirst','equal','change','add','focusLast','get','324344zYKKHQ','48634EwcFGt','_handleInfoComment','resolvedCommentView','change:isResolved','focusTracker','createCollection','66355sixQfX','keystrokes','_setupKeyboardNavigation','render','set','authoredAt','removeComment','target','_rearrangeExpand','Thread\x20comments','_collapsedCommentsView','_handleNewCommentModel','added','destroy','652718fTDjpd','resolvedAt','some','editorDestroyed','ck-thread__comments','formatDateTime','226071HWmgkZ','maxCommentsWhenCollapsed','commentViews','resolvedBy','delegate','84DXaphk','arrowup','map','stopListening','change:isActive','count','44iRhwGK','hasDirtyComment','focusCycler','bindTemplate','7RGZvqr','weight','element','refreshVisibleViews','_rearrangeCollapse','_handleRemoveCommentModel','979034iKFeLt','change:isEditMode','bind','_calculatePosition','visibleViews','isEditMode','545334SWJcOm','forEach','viewUid','remove','editorReady','isActive','delete','locale','resolveCommentThread','arrowdown','Marked\x20as\x20resolved','editorConfig','resolved','focus','maxCommentCharsWhenCollapsed','length','from','_model','ck-hidden','removed','6INlHVZ','20dQYRZI','_config','includes','setTemplate','change:hasDirtyComment'];_0x480e=function(){return _0x1cbc7c;};return _0x480e();}import{View as _0xb542d6,FocusCycler as _0x478030}from'ckeditor5/src/ui.js';import{diff as _0x5a5fe9,Collection as _0xe11e9a,FocusTracker as _0x27e230,KeystrokeHandler as _0x2ae9f4}from'ckeditor5/src/utils.js';import{getTranslation as _0x23e725}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x1e68d9}from'./collapsedcommentsview.js';export class CommentsListView extends _0xb542d6{[_0x422d5b(0x1eb)];[_0x422d5b(0x1d1)];[_0x422d5b(0x1d3)];[_0x422d5b(0x1d6)];[_0x422d5b(0x1f6)];[_0x422d5b(0x1b2)];[_0x422d5b(0x1b7)];[_0x422d5b(0x1df)];constructor(_0x447788,_0x30e057,_0x1ffcfc){const _0x2f2309=_0x422d5b;super(_0x447788);const _0xaaeb31=this[_0x2f2309(0x1f7)];this[_0x2f2309(0x1d9)](_0x2f2309(0x1f5),!0x1),this[_0x2f2309(0x1d9)](_0x2f2309(0x1b0),_0x30e057[_0x2f2309(0x1c0)][_0x2f2309(0x1b0)]),this[_0x2f2309(0x1d9)](_0x2f2309(0x209),!0x1),this[_0x2f2309(0x1b2)]=_0x30e057,this[_0x2f2309(0x1b7)]=_0x1ffcfc,this[_0x2f2309(0x1eb)]=this[_0x2f2309(0x1d4)](),this[_0x2f2309(0x202)]=this[_0x2f2309(0x1d4)](),this[_0x2f2309(0x1d1)]=null,this[_0x2f2309(0x1d3)]=new _0x27e230(),this[_0x2f2309(0x1d6)]=new _0x2ae9f4(),this[_0x2f2309(0x1f6)]=new _0x478030({'focusables':this[_0x2f2309(0x1eb)],'focusTracker':this[_0x2f2309(0x1d3)],'keystrokeHandler':this[_0x2f2309(0x1d6)],'keystrokeHandlerOptions':{'filter':_0x57c422=>this[_0x2f2309(0x1eb)][_0x2f2309(0x1f0)](_0x10c5b9=>_0x10c5b9[_0x2f2309(0x1fa)])[_0x2f2309(0x1b8)](_0x57c422[_0x2f2309(0x1dc)])},'actions':{'focusPrevious':_0x2f2309(0x1ef),'focusNext':_0x2f2309(0x20d)}}),this[_0x2f2309(0x1df)]=new _0x1e68d9(_0x447788),this[_0x2f2309(0x1df)][_0x2f2309(0x200)](_0x2f2309(0x1f3))['to'](this,_0x2f2309(0x1b0),_0x18deab=>_0x18deab-this[_0x2f2309(0x1b7)][_0x2f2309(0x1ea)]);for(const _0x51dcfd of _0x30e057[_0x2f2309(0x1c0)])this[_0x2f2309(0x1e0)](_0x51dcfd);this[_0x2f2309(0x1d0)](),this[_0x2f2309(0x1bd)](_0x30e057[_0x2f2309(0x1c0)],_0x2f2309(0x1cb),(_0x3c4f3e,_0x290fc9)=>{const _0x520bc6=_0x2f2309,_0x2e1798=this[_0x520bc6(0x201)](_0x290fc9);this[_0x520bc6(0x1b0)]++,this[_0x520bc6(0x1e0)](_0x290fc9,_0x2e1798),this[_0x520bc6(0x1fb)]();}),this[_0x2f2309(0x1bd)](_0x30e057[_0x2f2309(0x1c0)],_0x2f2309(0x207),(_0x38137c,_0x481d7a)=>{const _0x14fadf=_0x2f2309;this[_0x14fadf(0x1b0)]--,this[_0x14fadf(0x1fd)](_0x481d7a),this[_0x14fadf(0x1fb)]();}),this[_0x2f2309(0x1bd)](_0x30e057,_0x2f2309(0x1c7),()=>this[_0x2f2309(0x1fb)]()),this[_0x2f2309(0x1bd)](_0x30e057,_0x2f2309(0x1d2),()=>this[_0x2f2309(0x1d0)]()),this['on'](_0x2f2309(0x1f2),()=>this[_0x2f2309(0x1fb)]()),this['on'](_0x2f2309(0x1ba),()=>this[_0x2f2309(0x1fb)]()),this[_0x2f2309(0x1b9)]({'tag':'ul','attributes':{'class':[_0x2f2309(0x1e7),_0xaaeb31['if'](_0x2f2309(0x1b0),_0x2f2309(0x1b3),_0x39d2c9=>!_0x39d2c9)],'aria-label':_0x23e725(_0x447788,_0x2f2309(0x1de))},'children':this[_0x2f2309(0x202)]});}get[_0x422d5b(0x1bc)](){const _0x6e7087=_0x422d5b;return this[_0x6e7087(0x1b2)][_0x6e7087(0x1f9)]>this[_0x6e7087(0x1b7)][_0x6e7087(0x1bb)]&&!this[_0x6e7087(0x209)]&&!this[_0x6e7087(0x1f5)];}[_0x422d5b(0x1d8)](){const _0x2b6175=_0x422d5b;super[_0x2b6175(0x1d8)](),this[_0x2b6175(0x1fb)](),this[_0x2b6175(0x1d7)]();}[_0x422d5b(0x1ae)](_0x4b0b60){const _0x11190e=_0x422d5b;-0x1===_0x4b0b60?this[_0x11190e(0x1f6)][_0x11190e(0x1cc)]():this[_0x11190e(0x1f6)][_0x11190e(0x1c8)]();}[_0x422d5b(0x1e2)](){const _0xfda6c3=_0x422d5b;this[_0xfda6c3(0x1df)][_0xfda6c3(0x1e2)]();for(const _0x54c75b of this[_0xfda6c3(0x1eb)])_0x54c75b[_0xfda6c3(0x1e2)]();super[_0xfda6c3(0x1e2)]();}[_0x422d5b(0x1fb)](){const _0x10c6f6=_0x422d5b;this[_0x10c6f6(0x1bc)]?this[_0x10c6f6(0x1fc)]():this[_0x10c6f6(0x1dd)]();}[_0x422d5b(0x1e0)](_0x1c41d9,_0x141a7f){const _0x31f4b8=_0x422d5b,_0x51158c=new this[(_0x31f4b8(0x1b7))][(_0x31f4b8(0x1c6))](this[_0x31f4b8(0x20b)],_0x1c41d9,{'maxCommentCharsWhenCollapsed':this[_0x31f4b8(0x1b7)][_0x31f4b8(0x1af)],'formatDateTime':this[_0x31f4b8(0x1b7)][_0x31f4b8(0x1e8)],'editorConfig':this[_0x31f4b8(0x1b7)][_0x31f4b8(0x1ac)]});_0x51158c[_0x31f4b8(0x206)]=_0x1c41d9['id'],_0x51158c[_0x31f4b8(0x1ed)](_0x31f4b8(0x1db))['to'](this),_0x51158c[_0x31f4b8(0x1ed)](_0x31f4b8(0x1c4))['to'](this),_0x51158c[_0x31f4b8(0x1ed)](_0x31f4b8(0x20c))['to'](this),_0x51158c[_0x31f4b8(0x1ed)](_0x31f4b8(0x208))['to'](this),_0x51158c[_0x31f4b8(0x1ed)](_0x31f4b8(0x1e6))['to'](this),this[_0x31f4b8(0x1bd)](_0x51158c,_0x31f4b8(0x1ff),()=>this[_0x31f4b8(0x1be)]()),this[_0x31f4b8(0x1eb)][_0x31f4b8(0x1cb)](_0x51158c,_0x141a7f);}[_0x422d5b(0x201)](_0x160e7c){const _0x44583a=_0x422d5b,_0xcef7e8=this[_0x44583a(0x1b2)][_0x44583a(0x1c3)](_0x160e7c);return this[_0x44583a(0x1d1)]?this[_0x44583a(0x1d1)][_0x44583a(0x1da)]>_0x160e7c[_0x44583a(0x1da)]?_0xcef7e8-0x1:_0xcef7e8:_0xcef7e8-0x1;}[_0x422d5b(0x1d0)](){const _0x113f07=_0x422d5b;if(this[_0x113f07(0x1b2)][_0x113f07(0x1ec)]&&this[_0x113f07(0x1b2)][_0x113f07(0x1e4)]){const _0x1652a4={'id':_0x113f07(0x1ad),'author':this[_0x113f07(0x1b2)][_0x113f07(0x1ec)],'authoredAt':this[_0x113f07(0x1b2)][_0x113f07(0x1e4)],'content':_0x23e725(this[_0x113f07(0x20b)],_0x113f07(0x1ab)),'attributes':{}};this[_0x113f07(0x1d1)]=new this[(_0x113f07(0x1b7))][(_0x113f07(0x1c6))](this[_0x113f07(0x20b)],_0x1652a4,{'maxCommentCharsWhenCollapsed':this[_0x113f07(0x1b7)][_0x113f07(0x1af)],'formatDateTime':this[_0x113f07(0x1b7)][_0x113f07(0x1e8)],'editorConfig':this[_0x113f07(0x1b7)][_0x113f07(0x1ac)],'isSystemComment':!0x0}),this[_0x113f07(0x1eb)][_0x113f07(0x1cb)](this[_0x113f07(0x1d1)],this[_0x113f07(0x1b2)][_0x113f07(0x1c3)](_0x1652a4));}else this[_0x113f07(0x1d1)]&&(this[_0x113f07(0x1eb)][_0x113f07(0x207)](this[_0x113f07(0x1d1)]),this[_0x113f07(0x1d1)][_0x113f07(0x1e2)](),this[_0x113f07(0x1d1)]=null);this[_0x113f07(0x1fb)]();}[_0x422d5b(0x1fd)](_0x5b8316){const _0xf4931d=_0x422d5b,_0x5edaa5=this[_0xf4931d(0x1eb)][_0xf4931d(0x207)](_0x5b8316['id']);this[_0xf4931d(0x1f1)](_0x5edaa5),_0x5edaa5[_0xf4931d(0x203)]&&this[_0xf4931d(0x1be)](),_0x5edaa5[_0xf4931d(0x1e2)]();}[_0x422d5b(0x1be)](){const _0x17600a=_0x422d5b;this[_0x17600a(0x1f5)]=Array[_0x17600a(0x1b1)](this[_0x17600a(0x1eb)])[_0x17600a(0x1e5)](_0x256ee1=>_0x256ee1[_0x17600a(0x203)]);}[_0x422d5b(0x1fc)](){const _0x118a3c=_0x422d5b,_0x2e41ea=function(_0x49a03d){const _0x92dcad=_0x3977,_0x415128=new _0xe11e9a();for(const _0x48feb7 of _0x49a03d)_0x415128[_0x92dcad(0x1cb)](_0x48feb7);return _0x415128;}(this[_0x118a3c(0x1eb)]),_0x3fe643=this[_0x118a3c(0x1df)][_0x118a3c(0x1f3)];for(let _0x17382e=0x1;_0x17382e<=_0x3fe643;_0x17382e++)_0x2e41ea[_0x118a3c(0x207)](0x1);for(const _0xb741a7 of _0x2e41ea)_0xb741a7[_0x118a3c(0x1c1)]();_0x3fe643>0x0&&_0x2e41ea[_0x118a3c(0x1cb)](this[_0x118a3c(0x1df)],0x1),ns(_0x5a5fe9(Array[_0x118a3c(0x1b1)](this[_0x118a3c(0x202)]),Array[_0x118a3c(0x1b1)](_0x2e41ea)),this[_0x118a3c(0x202)],_0x2e41ea);}[_0x422d5b(0x1dd)](){const _0x3edd5f=_0x422d5b;ns(_0x5a5fe9(Array[_0x3edd5f(0x1b1)](this[_0x3edd5f(0x202)]),Array[_0x3edd5f(0x1b1)](this[_0x3edd5f(0x1eb)])),this[_0x3edd5f(0x202)],this[_0x3edd5f(0x1eb)]);for(const _0x2e5f45 of this[_0x3edd5f(0x202)])_0x2e5f45[_0x3edd5f(0x1c5)]();}[_0x422d5b(0x1d7)](){const _0xa23ad7=_0x422d5b;this[_0xa23ad7(0x1eb)][_0xa23ad7(0x205)](_0x54bf58=>{const _0x4c3711=_0xa23ad7;this[_0x4c3711(0x1d3)][_0x4c3711(0x1cb)](_0x54bf58[_0x4c3711(0x1fa)]),this[_0x4c3711(0x1d6)][_0x4c3711(0x1bd)](_0x54bf58[_0x4c3711(0x1fa)]);}),this[_0xa23ad7(0x1eb)]['on'](_0xa23ad7(0x1ca),(_0x43e231,_0x2b9df6)=>{const _0x3a441e=_0xa23ad7;for(const _0xf79f4d of _0x2b9df6[_0x3a441e(0x1b4)])this[_0x3a441e(0x1d3)][_0x3a441e(0x207)](_0xf79f4d[_0x3a441e(0x1fa)]),this[_0x3a441e(0x1d6)][_0x3a441e(0x1f1)](_0xf79f4d[_0x3a441e(0x1fa)]);for(const _0x447bf2 of Array[_0x3a441e(0x1b1)](_0x2b9df6[_0x3a441e(0x1e1)])[_0x3a441e(0x1c2)]())this[_0x3a441e(0x1d3)][_0x3a441e(0x1cb)](_0x447bf2[_0x3a441e(0x1fa)]),this[_0x3a441e(0x1d6)][_0x3a441e(0x1bd)](_0x447bf2[_0x3a441e(0x1fa)]);});}}function ns(_0x3141d5,_0x41023b,_0x4428ad){const _0x116753=_0x422d5b;let _0x3ae6e1=0x0;for(const _0x47f2b3 of _0x3141d5)switch(_0x47f2b3){case _0x116753(0x1bf):_0x41023b[_0x116753(0x1cb)](_0x4428ad[_0x116753(0x1cd)](_0x3ae6e1),_0x3ae6e1),_0x3ae6e1++;break;case _0x116753(0x20a):_0x41023b[_0x116753(0x207)](_0x3ae6e1);break;case _0x116753(0x1c9):_0x3ae6e1++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaad28d=_0x25f0;function _0x3bbc(){const _0xa301e3=['set','contextValue','THREAD_CONTEXT_LABEL','setTemplate','45JYSolw','focus','31866165ISlSAy','735184kKSmfN','span','2964242RiCrnK','4276188PZhmeR','1039371qrYxMo','681654NKDQvs','3ZGYGhp','6372792CdGnPw','ck-context__value','bindTemplate','element'];_0x3bbc=function(){return _0xa301e3;};return _0x3bbc();}function _0x25f0(_0x28b09c,_0x2ce519){const _0x3bbc98=_0x3bbc();return _0x25f0=function(_0x25f0a5,_0x43b893){_0x25f0a5=_0x25f0a5-0x13e;let _0xb84a4e=_0x3bbc98[_0x25f0a5];return _0xb84a4e;},_0x25f0(_0x28b09c,_0x2ce519);}(function(_0x31657b,_0x492d65){const _0x1c30ed=_0x25f0,_0x404e68=_0x31657b();while(!![]){try{const _0x23beb1=-parseInt(_0x1c30ed(0x144))/0x1+-parseInt(_0x1c30ed(0x142))/0x2*(parseInt(_0x1c30ed(0x146))/0x3)+parseInt(_0x1c30ed(0x147))/0x4+-parseInt(_0x1c30ed(0x14f))/0x5*(parseInt(_0x1c30ed(0x145))/0x6)+-parseInt(_0x1c30ed(0x143))/0x7+-parseInt(_0x1c30ed(0x140))/0x8+parseInt(_0x1c30ed(0x13f))/0x9;if(_0x23beb1===_0x492d65)break;else _0x404e68['push'](_0x404e68['shift']());}catch(_0x2ffc8c){_0x404e68['push'](_0x404e68['shift']());}}}(_0x3bbc,0xd8958));import{View as _0x210da8}from'ckeditor5/src/ui.js';import{getTranslation as _0x354eb4}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x210da8{constructor(_0x5774a5){const _0x7bb764=_0x25f0;super(_0x5774a5);const _0x2a385b=this[_0x7bb764(0x149)];this[_0x7bb764(0x14b)](_0x7bb764(0x14c),''),this[_0x7bb764(0x14e)]({'tag':_0x7bb764(0x141),'attributes':{'class':['ck',_0x7bb764(0x148)],'aria-label':_0x2a385b['to'](_0x7bb764(0x14c),_0x264849=>_0x354eb4(_0x5774a5,_0x7bb764(0x14d),_0x264849)),'tabindex':-0x1},'children':[{'text':_0x2a385b['to'](_0x7bb764(0x14c))}]});}[_0xaad28d(0x13e)](){const _0x56e1e2=_0xaad28d;this[_0x56e1e2(0x14a)][_0x56e1e2(0x13e)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53837e=_0x4101;function _0x2be7(){const _0x3c3751=['tab','querySelector','offsetWidth','tooltip','9884712YBqlEW','execute','ck-context-wrapper','Reopen','element','div','.ck-context','isResolved','_attachContextActions','setTemplate','5976047PIrsNZ','isVisible','.ck-context__value','focusables','1211118iYPyyY','shift+tab','ck-context--quotes','_createReopenButton','_model','scrollWidth','overlay','createCollection','3101844fJBwpu','reopenCommentThread','bind','remove','substring','context','lastIndexOf','_setupKeyboardNavigation','isReadOnly','694682fBLXBO','isResolvable','bindTemplate','icon','676566WRVuVT','_trimContextValue','1ptAwmi','35peXNBr','value','focusTracker','label','ck-context','mouseenter','isEnabled','fire','length','keystrokes','focus','ck-annotation__actions','reopenButtonView','contextValue','focusFirst','contextView','ck-thread__header','5020326UyFksh','mouseleave','...','Comment\x20was\x20made\x20on\x20an\x20element','hasContext','add','focusCycler','_createContextView','listenTo','classList','render','locale'];_0x2be7=function(){return _0x3c3751;};return _0x2be7();}function _0x4101(_0x24b3ca,_0x27031b){const _0x2be72b=_0x2be7();return _0x4101=function(_0x4101fe,_0x45b922){_0x4101fe=_0x4101fe-0xd3;let _0x872bc5=_0x2be72b[_0x4101fe];return _0x872bc5;},_0x4101(_0x24b3ca,_0x27031b);}(function(_0x10aa1c,_0x363844){const _0x1ab470=_0x4101,_0x5c7f63=_0x10aa1c();while(!![]){try{const _0x20c611=parseInt(_0x1ab470(0xe3))/0x1*(parseInt(_0x1ab470(0xdd))/0x2)+-parseInt(_0x1ab470(0xe1))/0x3+-parseInt(_0x1ab470(0xd4))/0x4+parseInt(_0x1ab470(0xe4))/0x5*(parseInt(_0x1ab470(0x113))/0x6)+parseInt(_0x1ab470(0x10f))/0x7+-parseInt(_0x1ab470(0x105))/0x8+parseInt(_0x1ab470(0xf5))/0x9;if(_0x20c611===_0x363844)break;else _0x5c7f63['push'](_0x5c7f63['shift']());}catch(_0x3a2400){_0x5c7f63['push'](_0x5c7f63['shift']());}}}(_0x2be7,0xe456b));import{View as _0x14381b,ButtonView as _0x5d9be8,FocusCycler as _0xeb1f1c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x415e63,KeystrokeHandler as _0x3a26bc}from'ckeditor5/src/utils.js';import{IconUndo as _0x376fad}from'ckeditor5/src/icons.js';import{getTranslation as _0x38abf5}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x3862f2}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x14381b{[_0x53837e(0x117)];[_0x53837e(0xf0)];[_0x53837e(0xf3)];[_0x53837e(0x112)];[_0x53837e(0xe6)];[_0x53837e(0xed)];[_0x53837e(0xfb)];constructor(_0x130017,_0x3cb43d){const _0x481cd2=_0x53837e;super(_0x130017);const _0x2658a9=this[_0x481cd2(0xdf)];this[_0x481cd2(0x117)]=_0x3cb43d,this[_0x481cd2(0xf0)]=this[_0x481cd2(0x116)](),this[_0x481cd2(0xf3)]=this[_0x481cd2(0xfc)](),this[_0x481cd2(0x112)]=this[_0x481cd2(0xd3)]([this[_0x481cd2(0xf3)],this[_0x481cd2(0xf0)]]),this[_0x481cd2(0xe6)]=new _0x415e63(),this[_0x481cd2(0xed)]=new _0x3a26bc(),this[_0x481cd2(0xfb)]=new _0xeb1f1c({'focusables':this[_0x481cd2(0x112)],'focusTracker':this[_0x481cd2(0xe6)],'keystrokeHandler':this[_0x481cd2(0xed)],'actions':{'focusPrevious':_0x481cd2(0x114),'focusNext':_0x481cd2(0x101)}}),this[_0x481cd2(0xd6)](_0x481cd2(0xf9))['to'](this[_0x481cd2(0x117)],_0x481cd2(0xd9),_0x563f98=>!!_0x563f98),this[_0x481cd2(0xd6)](_0x481cd2(0xf1))['to'](this[_0x481cd2(0x117)],_0x481cd2(0xd9),_0x36dcdf=>_0x36dcdf&&_0x36dcdf[_0x481cd2(0xe5)]?this[_0x481cd2(0xe2)](_0x36dcdf[_0x481cd2(0xe5)]):_0x38abf5(this[_0x481cd2(0x100)],_0x481cd2(0xf8))),this[_0x481cd2(0x10e)]({'tag':_0x481cd2(0x10a),'attributes':{'class':[_0x481cd2(0xf4)]},'children':[{'tag':_0x481cd2(0x10a),'attributes':{'class':[_0x481cd2(0x107)]},'children':[{'tag':_0x481cd2(0x10a),'attributes':{'class':[_0x481cd2(0xe8),_0x2658a9['if'](_0x481cd2(0xf9),_0x481cd2(0x115))]},'children':[this[_0x481cd2(0xf3)]]}]},{'tag':_0x481cd2(0x10a),'attributes':{'class':[_0x481cd2(0xef)]},'children':[this[_0x481cd2(0xf0)]]}]});}[_0x53837e(0xff)](){const _0x440b2e=_0x53837e;super[_0x440b2e(0xff)](),this[_0x440b2e(0x10d)](),this[_0x440b2e(0xdb)]();}[_0x53837e(0xee)](){const _0xa189e=_0x53837e;this[_0xa189e(0xfb)][_0xa189e(0xf2)]();}[_0x53837e(0x116)](){const _0x14c977=_0x53837e,_0x3641ce=new _0x5d9be8(this[_0x14c977(0x100)]);return _0x3641ce[_0x14c977(0xe7)]=_0x38abf5(this[_0x14c977(0x100)],_0x14c977(0x108)),_0x3641ce[_0x14c977(0x104)]=_0x38abf5(this[_0x14c977(0x100)],_0x14c977(0x108)),_0x3641ce[_0x14c977(0xe0)]=_0x376fad,_0x3641ce[_0x14c977(0xd6)](_0x14c977(0xea))['to'](this[_0x14c977(0x117)],_0x14c977(0xdc),_0x42b509=>!_0x42b509),_0x3641ce[_0x14c977(0xd6)](_0x14c977(0x110))['to'](this[_0x14c977(0x117)],_0x14c977(0xde),this[_0x14c977(0x117)],_0x14c977(0x10c),(_0x268d8a,_0x1be8b8)=>_0x268d8a&&_0x1be8b8),_0x3641ce['on'](_0x14c977(0x106),()=>{const _0x183507=_0x14c977;this[_0x183507(0xeb)](_0x183507(0xd5),this[_0x183507(0x117)]['id']);}),_0x3641ce;}[_0x53837e(0xe2)](_0x4e04e8){const _0x1b8d13=_0x53837e;if(_0x4e04e8[_0x1b8d13(0xec)]<0x96)return _0x4e04e8;const _0x4a901f=_0x4e04e8[_0x1b8d13(0xda)]('\x20',0x93);return _0x4e04e8[_0x1b8d13(0xd8)](0x0,_0x4a901f>-0x1?_0x4a901f:0x93)+_0x1b8d13(0xf7);}[_0x53837e(0x10d)](){const _0x216eed=_0x53837e,_0x2e8e0b=this[_0x216eed(0x109)][_0x216eed(0x102)](_0x216eed(0x10b)),_0x4bae31=_0x2e8e0b[_0x216eed(0x102)](_0x216eed(0x111));this[_0x216eed(0xfd)](_0x2e8e0b,_0x216eed(0xe9),()=>{const _0x248c5d=_0x216eed;_0x4bae31[_0x248c5d(0x103)]<_0x4bae31[_0x248c5d(0x118)]&&_0x2e8e0b[_0x248c5d(0xfe)][_0x248c5d(0xfa)](_0x248c5d(0x119));}),this[_0x216eed(0xfd)](_0x2e8e0b,_0x216eed(0xf6),()=>{const _0x4eb5b5=_0x216eed;_0x2e8e0b[_0x4eb5b5(0xfe)][_0x4eb5b5(0xd7)](_0x4eb5b5(0x119));});}[_0x53837e(0xdb)](){const _0x51dd4d=_0x53837e;this[_0x51dd4d(0xed)][_0x51dd4d(0xfd)](this[_0x51dd4d(0x109)]);for(const _0xf53d15 of this[_0x51dd4d(0x112)])this[_0x51dd4d(0xe6)][_0x51dd4d(0xfa)](_0xf53d15[_0x51dd4d(0x109)]),this[_0x51dd4d(0xed)][_0x51dd4d(0xfd)](_0xf53d15[_0x51dd4d(0x109)]);}[_0x53837e(0xfc)](){const _0x139dba=_0x53837e,_0x56625b=new _0x3862f2(this[_0x139dba(0x100)]);return _0x56625b[_0x139dba(0xd6)](_0x139dba(0xf1))['to'](this),_0x56625b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4ac499=_0x30d1;function _0x2e16(){const _0x19ae9e=['then','set','_focusOnNonInteractiveMouseDown','preventDefault','extendTemplate','focus','focusCycler','editing','contains','change:showInput','render','mousedown','28919orShLg','focusTracker','isFocused','delegate','220iPhptS','some','setTemplate','div','editorDestroyed','ck-comment__input-container','view','ck-thread__input','listenTo','getDomRoot','editorReady','target','79084OtqiLW','bind','showButtons','showInput','1676766fAZpwA','element','1537975TljWxw','filter','commentInputView','createEditor','424qVkoTR','51NJiuxT','destroy','ck-comment__input-container--active','861188tqjYBg','userView','value','bindTemplate','2637pwMiau','ck-thread__user','editor','807686Mhpqet','6GFByKJ'];_0x2e16=function(){return _0x19ae9e;};return _0x2e16();}(function(_0x83849b,_0x4afb58){const _0x36789f=_0x30d1,_0xecceed=_0x83849b();while(!![]){try{const _0x7171d0=-parseInt(_0x36789f(0x19e))/0x1+-parseInt(_0x36789f(0x1bc))/0x2+-parseInt(_0x36789f(0x1b9))/0x3*(parseInt(_0x36789f(0x1ae))/0x4)+-parseInt(_0x36789f(0x1b4))/0x5*(parseInt(_0x36789f(0x1c4))/0x6)+-parseInt(_0x36789f(0x1b2))/0x7+parseInt(_0x36789f(0x1b8))/0x8*(parseInt(_0x36789f(0x1c0))/0x9)+parseInt(_0x36789f(0x1a2))/0xa*(parseInt(_0x36789f(0x1c3))/0xb);if(_0x7171d0===_0x4afb58)break;else _0xecceed['push'](_0xecceed['shift']());}catch(_0x33a28d){_0xecceed['push'](_0xecceed['shift']());}}}(_0x2e16,0x46594));function _0x30d1(_0x498fb6,_0x99321c){const _0x2e1640=_0x2e16();return _0x30d1=function(_0x30d104,_0x8cf5){_0x30d104=_0x30d104-0x192;let _0x11005c=_0x2e1640[_0x30d104];return _0x11005c;},_0x30d1(_0x498fb6,_0x99321c);}import{View as _0x4aebb3}from'ckeditor5/src/ui.js';import{CommentInputView as _0x172855}from'./commentinputview.js';import{UserView as _0x4d91f}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4aebb3{constructor(_0xeebdef,_0x4f189b,_0x194199){const _0x2c23aa=_0x30d1;super(_0xeebdef),this[_0x2c23aa(0x1b6)]=new _0x172855(_0xeebdef,_0x194199),this[_0x2c23aa(0x198)]=this[_0x2c23aa(0x1b6)][_0x2c23aa(0x198)],this[_0x2c23aa(0x1b6)][_0x2c23aa(0x1af)](_0x2c23aa(0x1b0))['to'](this[_0x2c23aa(0x1b6)][_0x2c23aa(0x19f)],_0x2c23aa(0x1a0),this[_0x2c23aa(0x1b6)],_0x2c23aa(0x1be),(_0x3148cb,_0xd85f86)=>_0x3148cb||!!_0xd85f86),this[_0x2c23aa(0x193)](_0x2c23aa(0x1b1),!0x1),this['on'](_0x2c23aa(0x19b),()=>{const _0x44122b=_0x2c23aa;this[_0x44122b(0x1b1)]&&!this[_0x44122b(0x1b6)][_0x44122b(0x1c2)]&&this[_0x44122b(0x1b6)][_0x44122b(0x1b7)]();}),this[_0x2c23aa(0x1b6)][_0x2c23aa(0x1a1)](_0x2c23aa(0x1ac))['to'](this),this[_0x2c23aa(0x1b6)][_0x2c23aa(0x1a1)](_0x2c23aa(0x1a6))['to'](this),this[_0x2c23aa(0x1bd)]=new _0x4d91f(_0xeebdef,_0x4f189b),this[_0x2c23aa(0x1bd)][_0x2c23aa(0x196)]({'attributes':{'class':_0x2c23aa(0x1c1),'aria-hidden':!0x0}}),this[_0x2c23aa(0x1b6)][_0x2c23aa(0x196)]({'attributes':{'class':_0x2c23aa(0x1a9)}}),this[_0x2c23aa(0x1a4)]({'tag':_0x2c23aa(0x1a5),'attributes':{'class':[_0x2c23aa(0x1a7),this[_0x2c23aa(0x1bf)]['if'](_0x2c23aa(0x1b1),_0x2c23aa(0x1bb))]},'children':[this[_0x2c23aa(0x1bd)],this[_0x2c23aa(0x1b6)]]});}[_0x4ac499(0x19c)](){const _0x2f0d09=_0x4ac499;super[_0x2f0d09(0x19c)](),this[_0x2f0d09(0x194)]();}[_0x4ac499(0x1ba)](){const _0x1e6728=_0x4ac499;return this[_0x1e6728(0x1b6)][_0x1e6728(0x1ba)]()[_0x1e6728(0x192)](()=>super[_0x1e6728(0x1ba)]());}[_0x4ac499(0x197)](_0x37badd){const _0x6f029f=_0x4ac499;this[_0x6f029f(0x1b6)][_0x6f029f(0x197)](_0x37badd);}[_0x4ac499(0x194)](){const _0x11726f=_0x4ac499;this[_0x11726f(0x1aa)](this[_0x11726f(0x1b3)],_0x11726f(0x19d),(_0x27efeb,_0x257c1a)=>{const _0x380895=_0x11726f,{submitButtonView:_0x1f6ec7,cancelButtonView:_0x3252c8,editor:_0x96eec4}=this[_0x380895(0x1b6)];[_0x1f6ec7[_0x380895(0x1b3)],_0x3252c8[_0x380895(0x1b3)],_0x96eec4?_0x96eec4[_0x380895(0x199)][_0x380895(0x1a8)][_0x380895(0x1ab)]():null][_0x380895(0x1b5)](_0x44f25c=>_0x44f25c)[_0x380895(0x1a3)](_0xce2117=>_0xce2117[_0x380895(0x19a)](_0x257c1a[_0x380895(0x1ad)]))||(this[_0x380895(0x197)](),_0x257c1a[_0x380895(0x195)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x404acf=_0x3194;function _0x3194(_0x166a03,_0x4a0af6){const _0xa95314=_0xa953();return _0x3194=function(_0x319490,_0x4771fc){_0x319490=_0x319490-0x15d;let _0x239a49=_0xa95314[_0x319490];return _0x239a49;},_0x3194(_0x166a03,_0x4a0af6);}function _0xa953(){const _0x340702=['Delete\x20comment\x20thread?','extendTemplate','_updateArchivedThreadHeader','commentThreadChildren','createCollection','removeConfirm','add','Resolve','isUnlinked','ck-thread--active','locale','element','listitem','isVisible','fire','actionIndicator','isResolved','tooltip','listenTo','archivedAt','div','get','19jsIjhr','change:isActive','commentThreadHeaderView','focusables','bind','resolveButton','isEnabled','removeCommentThread','ck-thread--unlinked','_model','27Gylqfz','commentViews','6658322NGtImJ','180490VqajWD','setTemplate','ck-comment--resolve','245943bFGvPN','stop','then','18yQNmpr','100520rQPYxS','change:isReadOnly','focus','2848PKjHrm','cancelConfirm','isReadOnly','getTemplate','ck-thread--','set','placeholder','isResolvable','_cancelAllConfirms','execute','has','23132rNHaZg','commentThreadInputView','ck-thread','ariaLabel','.ck-thread__container','resolveCommentThread','ck-rounded-corners','high','change:archivedAt','length','unbind','remove','bindTemplate','actionBar','196GxQvfX','removeButton','showConfirm','_createResolveButton','82756RzYGFE','commentsListView','label','render','_boundFirstCommentView','querySelector','ck-thread__container','containerElement','isActive','ck-reset_all-excluded','isSystemComment','icon','ariaDescriptionView','_bindFirstCommentView','Write\x20a\x20comment...'];_0xa953=function(){return _0x340702;};return _0xa953();}(function(_0x31b550,_0x1812d2){const _0x369fc4=_0x3194,_0x504a3b=_0x31b550();while(!![]){try{const _0x5b8d39=parseInt(_0x369fc4(0x1b1))/0x1*(-parseInt(_0x369fc4(0x17a))/0x2)+parseInt(_0x369fc4(0x162))/0x3*(-parseInt(_0x369fc4(0x18c))/0x4)+parseInt(_0x369fc4(0x165))/0x5*(-parseInt(_0x369fc4(0x16b))/0x6)+parseInt(_0x369fc4(0x188))/0x7*(-parseInt(_0x369fc4(0x16f))/0x8)+parseInt(_0x369fc4(0x168))/0x9+parseInt(_0x369fc4(0x16c))/0xa+parseInt(_0x369fc4(0x164))/0xb;if(_0x5b8d39===_0x1812d2)break;else _0x504a3b['push'](_0x504a3b['shift']());}catch(_0x1bc5b4){_0x504a3b['push'](_0x504a3b['shift']());}}}(_0xa953,0x1cec0));import{ConfirmMixin as _0x889814,LateFocusButtonView as _0x268275}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x54c585}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x301f06}from'./basecommentthreadview.js';import{getTranslation as _0x429b28}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x889814(_0x301f06){[_0x404acf(0x19e)];[_0x404acf(0x193)];[_0x404acf(0x15d)];[_0x404acf(0x190)];constructor(_0x13dee7,_0x5371ff,_0x59bf05,_0x38bb36){const _0x2aee19=_0x404acf;super(_0x13dee7,_0x5371ff,_0x59bf05,_0x38bb36),this[_0x2aee19(0x19e)]=this[_0x2aee19(0x19f)]([this[_0x2aee19(0x18d)],this[_0x2aee19(0x17b)],this[_0x2aee19(0x198)]]),this[_0x2aee19(0x174)](_0x2aee19(0x1aa),null),this[_0x2aee19(0x193)]=null,this[_0x2aee19(0x190)]=null,this[_0x2aee19(0x1a5)]=_0x13dee7,this[_0x2aee19(0x15d)]=this[_0x2aee19(0x18b)](),this[_0x2aee19(0x166)](this[_0x2aee19(0x172)]()),this['on'](_0x2aee19(0x1b2),(_0x46565d,_0x3f9ca8,_0x4b8754)=>{const _0x105963=_0x2aee19;_0x4b8754||this[_0x105963(0x177)]();}),this[_0x2aee19(0x1ad)](this[_0x2aee19(0x161)],_0x2aee19(0x16d),(_0x50d2cc,_0x487872,_0xaead13)=>{const _0x57c79b=_0x2aee19;_0xaead13&&this[_0x57c79b(0x177)]();}),this[_0x2aee19(0x183)]>0x0&&this[_0x2aee19(0x199)](),this[_0x2aee19(0x1ad)](this[_0x2aee19(0x18d)][_0x2aee19(0x163)],_0x2aee19(0x1a1),()=>{const _0x137175=_0x2aee19;this[_0x137175(0x199)]();});}[_0x404acf(0x172)](){const _0x39549d=_0x404acf,_0x4b0ba9=this[_0x39549d(0x186)];return{'tag':_0x39549d(0x1af),'attributes':{'class':['ck',_0x39549d(0x17c),_0x39549d(0x195),_0x39549d(0x180),_0x4b0ba9['if'](_0x39549d(0x194),_0x39549d(0x1a4)),_0x4b0ba9['if'](_0x39549d(0x1a3),_0x39549d(0x160)),_0x4b0ba9['to'](_0x39549d(0x1aa),_0x3a1751=>_0x3a1751?_0x39549d(0x173)+_0x3a1751:'')],'data-thread-id':this[_0x39549d(0x161)]['id'],'tabindex':0x0,'role':_0x39549d(0x1a7),'aria-label':_0x4b0ba9['to'](_0x39549d(0x17d)),'aria-describedby':this[_0x39549d(0x198)]['id']},'children':[{'tag':_0x39549d(0x1af),'attributes':{'class':_0x39549d(0x192)},'children':this[_0x39549d(0x19e)]}]};}[_0x404acf(0x18f)](){const _0x2a017f=_0x404acf;super[_0x2a017f(0x18f)](),this[_0x2a017f(0x193)]=this[_0x2a017f(0x1a6)][_0x2a017f(0x191)](_0x2a017f(0x17e)),this[_0x2a017f(0x161)]['on'](_0x2a017f(0x182),()=>{const _0x460fbf=_0x2a017f;this[_0x460fbf(0x19d)]();}),this[_0x2a017f(0x19d)]();}[_0x404acf(0x177)](){const _0x85f98c=_0x404acf;this[_0x85f98c(0x170)]();for(const _0x37678b of this[_0x85f98c(0x18d)][_0x85f98c(0x163)])_0x37678b[_0x85f98c(0x170)]();}[_0x404acf(0x199)](){const _0x333b50=_0x404acf,{locale:_0x19c4f6}=this,_0x4486a1=this[_0x333b50(0x18d)][_0x333b50(0x163)][_0x333b50(0x1b0)](0x0);_0x4486a1===this[_0x333b50(0x190)]||_0x4486a1[_0x333b50(0x196)]||(this[_0x333b50(0x190)]=_0x4486a1,this[_0x333b50(0x184)](_0x333b50(0x1aa)),this[_0x333b50(0x1b5)](_0x333b50(0x1aa))['to'](_0x4486a1,_0x333b50(0x1aa),_0x33dbcf=>_0x333b50(0x185)===_0x33dbcf?_0x333b50(0x185):null),_0x4486a1[_0x333b50(0x175)]=_0x429b28(_0x19c4f6,_0x333b50(0x19a)),_0x4486a1[_0x333b50(0x189)]['on'](_0x333b50(0x178),_0x58689d=>{const _0x4ae43f=_0x333b50;_0x58689d[_0x4ae43f(0x169)](),this[_0x4ae43f(0x18a)](_0x429b28(_0x19c4f6,_0x4ae43f(0x19b)),this[_0x4ae43f(0x193)])[_0x4ae43f(0x16a)](()=>{const _0x4bf518=_0x4ae43f;this[_0x4bf518(0x1a9)](_0x4bf518(0x15f));});},{'priority':_0x333b50(0x181)}),this['on'](_0x333b50(0x1a0),()=>{const _0x2742d6=_0x333b50;_0x4486a1[_0x2742d6(0x16e)]();}),_0x4486a1[_0x333b50(0x187)][_0x333b50(0x1a1)](this[_0x333b50(0x15d)],0x0),_0x4486a1[_0x333b50(0x1b4)][_0x333b50(0x1a1)](this[_0x333b50(0x15d)],0x0));}[_0x404acf(0x18b)](){const _0xe9b681=_0x404acf,_0x2c422d=new _0x268275(this[_0xe9b681(0x1a5)]);return _0x2c422d[_0xe9b681(0x18e)]=_0x429b28(this[_0xe9b681(0x1a5)],_0xe9b681(0x1a2)),_0x2c422d[_0xe9b681(0x1ac)]=_0x429b28(this[_0xe9b681(0x1a5)],_0xe9b681(0x1a2)),_0x2c422d[_0xe9b681(0x197)]=_0x54c585,_0x2c422d[_0xe9b681(0x19c)]({'attributes':{'class':_0xe9b681(0x167)}}),_0x2c422d[_0xe9b681(0x1b5)](_0xe9b681(0x15e))['to'](this[_0xe9b681(0x161)],_0xe9b681(0x171),_0x153929=>!_0x153929),_0x2c422d[_0xe9b681(0x1b5)](_0xe9b681(0x1a8))['to'](this[_0xe9b681(0x161)],_0xe9b681(0x176),this[_0xe9b681(0x161)],_0xe9b681(0x1ab),(_0x572ba4,_0x54a1b5)=>_0x572ba4&&!_0x54a1b5),_0x2c422d['on'](_0xe9b681(0x178),()=>{const _0x3867e0=_0xe9b681;this[_0x3867e0(0x1a9)](_0x3867e0(0x17f),this[_0x3867e0(0x161)]['id']);}),_0x2c422d;}[_0x404acf(0x19d)](){const _0x297a44=_0x404acf;this[_0x297a44(0x161)][_0x297a44(0x1ae)]?this[_0x297a44(0x19e)][_0x297a44(0x179)](this[_0x297a44(0x1b3)])||(this[_0x297a44(0x19e)][_0x297a44(0x1a1)](this[_0x297a44(0x1b3)],0x0),this[_0x297a44(0x1b4)][_0x297a44(0x1a1)](this[_0x297a44(0x1b3)],0x0)):this[_0x297a44(0x19e)][_0x297a44(0x179)](this[_0x297a44(0x1b3)])&&(this[_0x297a44(0x19e)][_0x297a44(0x185)](this[_0x297a44(0x1b3)]),this[_0x297a44(0x1b4)][_0x297a44(0x185)](this[_0x297a44(0x1b3)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x513a9a=_0x314d;(function(_0x1506ef,_0x2836a6){const _0xb9dfaa=_0x314d,_0x309e58=_0x1506ef();while(!![]){try{const _0x240723=parseInt(_0xb9dfaa(0x151))/0x1*(-parseInt(_0xb9dfaa(0x182))/0x2)+parseInt(_0xb9dfaa(0x148))/0x3+parseInt(_0xb9dfaa(0x1a2))/0x4*(parseInt(_0xb9dfaa(0x18e))/0x5)+-parseInt(_0xb9dfaa(0x169))/0x6*(-parseInt(_0xb9dfaa(0x164))/0x7)+-parseInt(_0xb9dfaa(0x136))/0x8*(parseInt(_0xb9dfaa(0x17c))/0x9)+-parseInt(_0xb9dfaa(0x165))/0xa*(parseInt(_0xb9dfaa(0x19e))/0xb)+-parseInt(_0xb9dfaa(0x17d))/0xc;if(_0x240723===_0x2836a6)break;else _0x309e58['push'](_0x309e58['shift']());}catch(_0x1a0704){_0x309e58['push'](_0x309e58['shift']());}}}(_0x2542,0xe689c));import{IconRemoveComment as _0x1e718b,IconPencil as _0x3cc111,IconThreeVerticalDots as _0x51a9bb}from'ckeditor5/src/icons.js';function _0x2542(){const _0x4d3af2=['ck-comment--info','label','ck-comment--remove','51240TpYQbt','dropdown','children','authoredAt','getTemplate','setTemplate','_createEditButton','find','ck-hidden','isEditable','visibleView','ck-annotation','buttonView','push','locale','focus','element','actionIndicator','showConfirm','9QhrQCy','9015852rxZfIb','add','time','set','mouseleave','6hWTcLt','getUserViewNotificationText','removeButton','isVisible','ck-annotation__actions','from','Delete\x20comment?','cancelConfirm','removeComment','group','ariaDescriptionView','ck-comment__info','5XFUciC','then','Reply...','Show\x20more\x20items','actionBar','ck-comment--','execute','userView','listitem','isExternal','span','bindTemplate','extendTemplate','mouseenter','change:isRemovable','_config','68717XxTngN','blur','icon','ck-annotation__user','4883816doYYQR','ck-annotation__info','edit','ck-annotation__info-name','resolvedAt','focusables','bind','some','_model','isRemovable','panelView','isEnabled','panelPosition','7306720fJfwzw','ck-comment','_attachActions','unbind','ck-comment__user','Remove','listenTo','isReadOnly','length','fire','ck-comment__actions--hidden','isEditMode','ck-annotation__info-time','_createRemoveButton','ck-comment__main','remove','getExternalCommentNote','editButton','5389140HJOIVy','addMany','ck-comment__actions','ck-annotation__content-wrapper','div','createCollection','_createCommentInputView','ariaLabel','ck-comment__wrapper','179089tploLc','Edit','withText','name','author','_createDropdown','ck-comment__external','isSystemComment','items','ck-comment__info-name','ck-comment--edit','ck-comment__info-time','render','ck-annotation__main','ck-annotation__actions--hidden','toMany','switchToEditMode','formatDateTime','placeholder','546pgyzYr','860KxAPwM'];_0x2542=function(){return _0x4d3af2;};return _0x2542();}import{ButtonView as _0x5e53e9,createDropdown as _0x11c017,ListView as _0x30eb84,ListItemView as _0x5237c7,focusChildOnDropdownOpen as _0x45652b}from'ckeditor5/src/ui.js';import{UserView as _0x3d481b,ConfirmMixin as _0x11409d,LateFocusDropdownButtonView as _0x2bebb7}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x31e112}from'./basecommentview.js';import{getTranslation as _0x322bdc}from'../../../utils/common-translations.js';function _0x314d(_0x5929db,_0x353d16){const _0x25429a=_0x2542();return _0x314d=function(_0x314da3,_0x27bfff){_0x314da3=_0x314da3-0x12a;let _0x289003=_0x25429a[_0x314da3];return _0x289003;},_0x314d(_0x5929db,_0x353d16);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x11409d(_0x31e112){[_0x513a9a(0x192)];[_0x513a9a(0x195)];constructor(_0x3496c0,_0x30e10f,_0x1999ec){const _0x3440ee=_0x513a9a;super(_0x3496c0,_0x30e10f,_0x1999ec),this[_0x3440ee(0x180)](_0x3440ee(0x17a),null),this[_0x3440ee(0x180)](_0x3440ee(0x163),_0x322bdc(_0x3496c0,_0x3440ee(0x190))),this[_0x3440ee(0x12f)](_0x3440ee(0x16c))['to'](_0x30e10f),this[_0x3440ee(0x12f)](_0x3440ee(0x12d))['to'](_0x30e10f),this[_0x3440ee(0x192)]=this[_0x3440ee(0x14d)](),this[_0x3440ee(0x158)]||(this[_0x3440ee(0x147)]=this[_0x3440ee(0x16f)](),this[_0x3440ee(0x184)]=this[_0x3440ee(0x143)](),this[_0x3440ee(0x159)]=this[_0x3440ee(0x14d)](),this[_0x3440ee(0x159)][_0x3440ee(0x149)]([this[_0x3440ee(0x147)],this[_0x3440ee(0x184)]]),this[_0x3440ee(0x16a)]=this[_0x3440ee(0x156)](),this[_0x3440ee(0x192)][_0x3440ee(0x17e)](this[_0x3440ee(0x16a)]),this[_0x3440ee(0x12e)][_0x3440ee(0x17e)](this[_0x3440ee(0x16a)])),this[_0x3440ee(0x195)]=new _0x3d481b(_0x3496c0,_0x30e10f[_0x3440ee(0x155)],this[_0x3440ee(0x183)]()),this[_0x3440ee(0x195)][_0x3440ee(0x19a)]({'attributes':{'class':[_0x3440ee(0x13a),_0x3440ee(0x1a1)],'aria-hidden':!0x0}}),this[_0x3440ee(0x13c)](_0x30e10f,_0x3440ee(0x19c),()=>this[_0x3440ee(0x189)]()),this[_0x3440ee(0x16e)](this[_0x3440ee(0x16d)]());}[_0x513a9a(0x16d)](){const _0x199c58=_0x513a9a,_0x53e932=this[_0x199c58(0x199)],_0x42c212=[{'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x18d),_0x199c58(0x12a)]},'children':[{'tag':_0x199c58(0x198),'children':[{'text':this[_0x199c58(0x195)][_0x199c58(0x154)]}],'attributes':{'class':[_0x199c58(0x15a),_0x199c58(0x12c)],'data-cke-tooltip-text':this[_0x199c58(0x195)][_0x199c58(0x154)]}},{'tag':_0x199c58(0x17f),'attributes':{'datetime':_0x53e932['to'](_0x199c58(0x16c)),'class':[_0x199c58(0x15c),_0x199c58(0x142)]},'children':[{'text':_0x53e932['to'](_0x199c58(0x16c),_0x242139=>this[_0x199c58(0x19d)][_0x199c58(0x162)](_0x242139))}]}]},{'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x14a),_0x199c58(0x186),_0x53e932['if'](_0x199c58(0x141),_0x199c58(0x140)),_0x53e932['if'](_0x199c58(0x141),_0x199c58(0x15f))]},'children':this[_0x199c58(0x192)]},{'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x14b)]},'children':this[_0x199c58(0x173)]},this[_0x199c58(0x18c)]];return this[_0x199c58(0x131)][_0x199c58(0x197)]&&_0x42c212[_0x199c58(0x176)]({'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x157)]},'children':[{'text':this[_0x199c58(0x146)]()}]}),{'tag':'li','attributes':{'class':[_0x199c58(0x150)],'tabindex':-0x1,'aria-label':_0x53e932['to'](_0x199c58(0x14f)),'aria-describedby':this[_0x199c58(0x18c)]['id'],'role':_0x199c58(0x196)},'children':[{'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x137),_0x199c58(0x174),_0x53e932['if'](_0x199c58(0x141),_0x199c58(0x15b)),_0x53e932['if'](_0x199c58(0x158),_0x199c58(0x166)),_0x53e932['to'](_0x199c58(0x17a),_0x3488e8=>_0x3488e8?_0x199c58(0x193)+_0x3488e8:'')],'data-author-id':this[_0x199c58(0x131)][_0x199c58(0x155)]['id'],'data-comment-id':this[_0x199c58(0x131)]['id'],'role':_0x199c58(0x18b)},'children':[this[_0x199c58(0x195)],{'tag':_0x199c58(0x14c),'attributes':{'class':[_0x199c58(0x144),_0x199c58(0x15e)]},'children':_0x42c212}]}]};}[_0x513a9a(0x16f)](){const _0x452abc=_0x513a9a,_0x3a59e6=new _0x5e53e9(this[_0x452abc(0x177)]);return _0x3a59e6[_0x452abc(0x167)]=_0x322bdc(this[_0x452abc(0x177)],_0x452abc(0x152)),_0x3a59e6[_0x452abc(0x1a0)]=_0x3cc111,_0x3a59e6[_0x452abc(0x153)]=!0x0,_0x3a59e6[_0x452abc(0x19a)]({'attributes':{'class':_0x452abc(0x15b)}}),_0x3a59e6[_0x452abc(0x12f)](_0x452abc(0x134))['to'](this[_0x452abc(0x131)],_0x452abc(0x13d),_0x2b27b6=>!_0x2b27b6),_0x3a59e6[_0x452abc(0x12f)](_0x452abc(0x185))['to'](this[_0x452abc(0x131)],_0x452abc(0x172)),_0x3a59e6['on'](_0x452abc(0x194),()=>this[_0x452abc(0x161)]()),_0x3a59e6;}[_0x513a9a(0x143)](){const _0x42b607=_0x513a9a,_0x4a692b=new _0x5e53e9(this[_0x42b607(0x177)]);return _0x4a692b[_0x42b607(0x167)]=_0x322bdc(this[_0x42b607(0x177)],_0x42b607(0x13b)),_0x4a692b[_0x42b607(0x1a0)]=_0x1e718b,_0x4a692b[_0x42b607(0x153)]=!0x0,_0x4a692b[_0x42b607(0x19a)]({'attributes':{'class':_0x42b607(0x168)}}),_0x4a692b[_0x42b607(0x12f)](_0x42b607(0x134))['to'](this[_0x42b607(0x131)],_0x42b607(0x13d),_0x50aaeb=>!_0x50aaeb),_0x4a692b[_0x42b607(0x12f)](_0x42b607(0x185))['to'](this[_0x42b607(0x131)],_0x42b607(0x132)),_0x4a692b['on'](_0x42b607(0x194),()=>{const _0x4a099c=_0x42b607;this[_0x4a099c(0x17b)](_0x322bdc(this[_0x4a099c(0x177)],_0x4a099c(0x188)),this[_0x4a099c(0x179)])[_0x4a099c(0x18f)](()=>{const _0x372878=_0x4a099c;this[_0x372878(0x13f)](_0x372878(0x18a),this[_0x372878(0x131)]['id']);});}),_0x4a692b;}[_0x513a9a(0x156)](){const _0xe696b2=_0x513a9a,_0xdb990a=_0x11c017(this[_0xe696b2(0x177)],_0x2bebb7),_0x24a26a=_0xdb990a[_0xe696b2(0x133)][_0xe696b2(0x16b)],_0x1b6d55=new _0x30eb84(this[_0xe696b2(0x177)]),_0x5c5da6=_0xdb990a[_0xe696b2(0x199)];_0x45652b(_0xdb990a,()=>this[_0xe696b2(0x159)][_0xe696b2(0x170)](_0x5d4231=>_0x5d4231[_0xe696b2(0x185)])),_0xdb990a[_0xe696b2(0x19a)]({'attributes':{'class':[_0x5c5da6['if'](_0xe696b2(0x185),_0xe696b2(0x171),_0x498b95=>!_0x498b95)]}});const _0x319dd1=(_0x2d477a,_0x11e908=-0x1)=>{const _0x3249fc=_0xe696b2,_0x208a61=new _0x5237c7(this[_0x3249fc(0x177)]);_0x208a61[_0x3249fc(0x16b)][_0x3249fc(0x17e)](_0x2d477a);const _0x19926b=_0x11e908>-0x1?_0x11e908:_0x1b6d55[_0x3249fc(0x159)][_0x3249fc(0x13e)];_0x1b6d55[_0x3249fc(0x159)][_0x3249fc(0x17e)](_0x208a61,_0x19926b);const _0x5d1f8e=Array[_0x3249fc(0x187)](this[_0x3249fc(0x159)]);_0xdb990a[_0x3249fc(0x139)](_0x3249fc(0x134),_0x3249fc(0x185)),_0xdb990a[_0x3249fc(0x12f)](_0x3249fc(0x134))[_0x3249fc(0x160)](_0x5d1f8e,_0x3249fc(0x134),(..._0x535291)=>_0x535291[_0x3249fc(0x130)](_0x52ffb5=>_0x52ffb5)),_0xdb990a[_0x3249fc(0x12f)](_0x3249fc(0x185))[_0x3249fc(0x160)](_0x5d1f8e,_0x3249fc(0x185),(..._0x1d2ace)=>_0x1d2ace[_0x3249fc(0x130)](_0x565b30=>_0x565b30));};_0xdb990a[_0xe696b2(0x135)]='sw',_0xdb990a[_0xe696b2(0x175)][_0xe696b2(0x180)]({'label':_0x322bdc(this[_0xe696b2(0x177)],_0xe696b2(0x191)),'icon':_0x51a9bb});for(const _0x349ead of this[_0xe696b2(0x159)])_0x319dd1(_0x349ead);return _0x24a26a[_0xe696b2(0x17e)](_0x1b6d55),_0xdb990a[_0xe696b2(0x13c)](this[_0xe696b2(0x159)],_0xe696b2(0x17e),(_0x53aef7,_0x38385a,_0x20f880)=>{_0x319dd1(_0x38385a,_0x20f880);}),_0xdb990a[_0xe696b2(0x13c)](this[_0xe696b2(0x159)],_0xe696b2(0x145),(_0x476aef,_0x356193,_0x2063cf)=>{const _0x31930d=_0xe696b2;_0x1b6d55[_0x31930d(0x159)][_0x31930d(0x145)](_0x2063cf);}),_0xdb990a;}[_0x513a9a(0x138)](_0x123907,_0xac2819){const _0x277ea6=_0x513a9a,_0x8d15e8=_0x123907&&_0x123907[_0x277ea6(0x179)];_0x8d15e8&&(this[_0x277ea6(0x13c)](_0x8d15e8,_0x277ea6(0x19b),()=>this[_0x277ea6(0x17a)]=_0xac2819),this[_0x277ea6(0x13c)](_0x8d15e8,_0x277ea6(0x178),()=>this[_0x277ea6(0x17a)]=_0xac2819),this[_0x277ea6(0x13c)](_0x8d15e8,_0x277ea6(0x181),()=>this[_0x277ea6(0x17a)]=null),this[_0x277ea6(0x13c)](_0x8d15e8,_0x277ea6(0x19f),()=>this[_0x277ea6(0x17a)]=null));}[_0x513a9a(0x14e)](){const _0x303303=_0x513a9a,_0x65d8d2=super[_0x303303(0x14e)]();return _0x65d8d2[_0x303303(0x12f)](_0x303303(0x163))['to'](this),_0x65d8d2;}[_0x513a9a(0x15d)](){const _0x4d4e5c=_0x513a9a;super[_0x4d4e5c(0x15d)](),this[_0x4d4e5c(0x138)](this[_0x4d4e5c(0x147)],_0x4d4e5c(0x12b)),this[_0x4d4e5c(0x138)](this[_0x4d4e5c(0x184)],_0x4d4e5c(0x145));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x31e079=_0x9db6;(function(_0x1d5efa,_0x362fb2){var _0x4722dc=_0x9db6,_0x3de53c=_0x1d5efa();while(!![]){try{var _0x5ce7c3=parseInt(_0x4722dc(0x1d0))/0x1+parseInt(_0x4722dc(0x1db))/0x2+parseInt(_0x4722dc(0x1d3))/0x3+-parseInt(_0x4722dc(0x1d6))/0x4+parseInt(_0x4722dc(0x1d8))/0x5+parseInt(_0x4722dc(0x1d1))/0x6+-parseInt(_0x4722dc(0x1d4))/0x7;if(_0x5ce7c3===_0x362fb2)break;else _0x3de53c['push'](_0x3de53c['shift']());}catch(_0x377cb6){_0x3de53c['push'](_0x3de53c['shift']());}}}(_0x31e9,0x8ca47));import{Plugin as _0x36dab5}from'ckeditor5/src/core.js';import{CommentsRepository as _0x4ac651}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5b7c1c}from'./comments/commentsediting.js';import{CommentsUI as _0xd76602}from'./comments/commentsui.js';import{CommentsOnly as _0x3d6f93}from'./commentsonly.js';import{WideSidebar as _0xcc0eb0}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x5d03b8}from'./annotations/narrowsidebar.js';function _0x9db6(_0x5b5c3b,_0x2a4437){var _0x31e9d5=_0x31e9();return _0x9db6=function(_0x9db643,_0x4769e6){_0x9db643=_0x9db643-0x1d0;var _0x47fdba=_0x31e9d5[_0x9db643];return _0x47fdba;},_0x9db6(_0x5b5c3b,_0x2a4437);}import{InlineAnnotations as _0x376639}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0xd8bc35}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4205ce}from'./comments/commentsarchive.js';export class Comments extends _0x36dab5{static get[_0x31e079(0x1d2)](){return[_0x4ac651,_0x5b7c1c,_0xd76602,_0x4205ce,_0xd8bc35,_0x3d6f93,_0xcc0eb0,_0x5d03b8,_0x376639];}static get[_0x31e079(0x1d9)](){var _0x7d70ba=_0x31e079;return _0x7d70ba(0x1d5);}static get[_0x31e079(0x1da)](){return!0x0;}static get[_0x31e079(0x1d7)](){return!0x0;}}function _0x31e9(){var _0x43c5a8=['requires','1448757YPRtba','15512098sagznw','Comments','1573636KKfaso','isPremiumPlugin','4507890DjGiHJ','pluginName','isOfficialPlugin','1587910zBHpsX','40625eFIPPH','5798502nTTegL'];_0x31e9=function(){return _0x43c5a8;};return _0x31e9();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2c2b86=_0x1d7b;function _0x1d7b(_0x35b233,_0x461b3a){const _0x498364=_0x4983();return _0x1d7b=function(_0x1d7b1d,_0x58d02b){_0x1d7b1d=_0x1d7b1d-0x128;let _0x49b309=_0x498364[_0x1d7b1d];return _0x49b309;},_0x1d7b(_0x35b233,_0x461b3a);}function _0x4983(){const _0x322b41=['RevisionTracker','DragDrop','153FnuUOM','12bWBTMv','167849geTlUo','CommentsOnly','131VdfjFU','stop','has','editor','get','_disableCommentsOnlyMode','54736TSUNUM','clipboardInput','commands','plugins','editSource','328782UwuTAd','requires','296265mNgqQo','afterInit','_enableCommentsOnlyMode','commentsOnlyMode','isPremiumPlugin','130GRkKhA','pluginName','config','forceDisabled','isOfficialPlugin','stopListening','1446Stinpb','document','isEnabled','listenTo','SourceEditing','set','highest','addCommentThread','commentsOnly','cut','clearForceDisabled','change:isEnabled','editing','3700200hJFWlS','view','delete','affectsData','117186hMjSOm','14hLaCjL'];_0x4983=function(){return _0x322b41;};return _0x4983();}(function(_0x4e22a2,_0x3b4dbc){const _0x58a7cd=_0x1d7b,_0x5e8c8d=_0x4e22a2();while(!![]){try{const _0xa96f36=-parseInt(_0x58a7cd(0x138))/0x1*(-parseInt(_0x58a7cd(0x150))/0x2)+-parseInt(_0x58a7cd(0x130))/0x3*(parseInt(_0x58a7cd(0x135))/0x4)+parseInt(_0x58a7cd(0x145))/0x5+-parseInt(_0x58a7cd(0x143))/0x6*(-parseInt(_0x58a7cd(0x131))/0x7)+-parseInt(_0x58a7cd(0x13e))/0x8*(parseInt(_0x58a7cd(0x134))/0x9)+parseInt(_0x58a7cd(0x14a))/0xa*(-parseInt(_0x58a7cd(0x136))/0xb)+parseInt(_0x58a7cd(0x12c))/0xc;if(_0xa96f36===_0x3b4dbc)break;else _0x5e8c8d['push'](_0x5e8c8d['shift']());}catch(_0xd6e7eb){_0x5e8c8d['push'](_0x5e8c8d['shift']());}}}(_0x4983,0x2230b));import{Plugin as _0x2ea214}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1879d7}from'./comments/commentsediting.js';export class CommentsOnly extends _0x2ea214{static get[_0x2c2b86(0x14b)](){const _0x460a5b=_0x2c2b86;return _0x460a5b(0x137);}static get[_0x2c2b86(0x14e)](){return!0x0;}static get[_0x2c2b86(0x149)](){return!0x0;}static get[_0x2c2b86(0x144)](){return[_0x1879d7];}constructor(_0x2e9110){const _0x2eb90c=_0x2c2b86;super(_0x2e9110),this[_0x2eb90c(0x155)](_0x2eb90c(0x152),!0x1),this['on'](_0x2eb90c(0x12a),(_0x22b822,_0x51764a,_0x59c182)=>{const _0x5b6464=_0x2eb90c;_0x59c182?this[_0x5b6464(0x147)]():this[_0x5b6464(0x13d)]();});}[_0x2c2b86(0x146)](){const _0x12ce1c=_0x2c2b86;!this[_0x12ce1c(0x152)]&&this[_0x12ce1c(0x13b)][_0x12ce1c(0x14c)][_0x12ce1c(0x13c)](_0x12ce1c(0x158))&&(this[_0x12ce1c(0x152)]=!0x0);}[_0x2c2b86(0x147)](){const _0x219e91=_0x2c2b86;for(const [_0x55f38f,_0x203988]of this[_0x219e91(0x13b)][_0x219e91(0x140)])_0x203988[_0x219e91(0x12f)]&&_0x219e91(0x157)!==_0x55f38f&&_0x203988[_0x219e91(0x14d)](_0x219e91(0x148));(this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13a)](_0x219e91(0x133))&&this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13c)](_0x219e91(0x133))[_0x219e91(0x14d)](_0x219e91(0x148)),this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13a)](_0x219e91(0x132)))&&this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13c)](_0x219e91(0x132))[_0x219e91(0x14d)](_0x219e91(0x148));this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13a)](_0x219e91(0x154))&&this[_0x219e91(0x13b)][_0x219e91(0x141)][_0x219e91(0x13c)](_0x219e91(0x154))[_0x219e91(0x14d)](_0x219e91(0x148));this[_0x219e91(0x13b)][_0x219e91(0x140)][_0x219e91(0x13c)](_0x219e91(0x142))?.[_0x219e91(0x14d)](_0x219e91(0x148));const _0x59943c=this[_0x219e91(0x13b)][_0x219e91(0x12b)][_0x219e91(0x12d)][_0x219e91(0x151)];this[_0x219e91(0x153)](_0x59943c,_0x219e91(0x128),_0x236299=>_0x236299[_0x219e91(0x139)](),{'priority':_0x219e91(0x156)}),this[_0x219e91(0x153)](_0x59943c,_0x219e91(0x13f),_0x2c2b85=>_0x2c2b85[_0x219e91(0x139)](),{'priority':_0x219e91(0x156)}),this[_0x219e91(0x153)](_0x59943c,_0x219e91(0x12e),_0x2222a7=>_0x2222a7[_0x219e91(0x139)](),{'priority':_0x219e91(0x156)});}[_0x2c2b86(0x13d)](){const _0x371450=_0x2c2b86;for(const [_0x7ef8cd,_0x54994f]of this[_0x371450(0x13b)][_0x371450(0x140)])_0x54994f[_0x371450(0x12f)]&&_0x371450(0x157)!==_0x7ef8cd&&_0x54994f[_0x371450(0x129)](_0x371450(0x148));this[_0x371450(0x13b)][_0x371450(0x141)][_0x371450(0x13a)](_0x371450(0x132))&&this[_0x371450(0x13b)][_0x371450(0x141)][_0x371450(0x13c)](_0x371450(0x132))[_0x371450(0x129)](_0x371450(0x148)),this[_0x371450(0x13b)][_0x371450(0x141)][_0x371450(0x13a)](_0x371450(0x154))&&this[_0x371450(0x13b)][_0x371450(0x141)][_0x371450(0x13c)](_0x371450(0x154))[_0x371450(0x129)](_0x371450(0x148)),this[_0x371450(0x13b)][_0x371450(0x140)][_0x371450(0x13c)](_0x371450(0x142))?.[_0x371450(0x129)](_0x371450(0x148)),this[_0x371450(0x14f)](this[_0x371450(0x13b)][_0x371450(0x12b)][_0x371450(0x12d)][_0x371450(0x151)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ad2d6,_0x13651d){var _0x5a1594=_0x1efe,_0x43a24c=_0x5ad2d6();while(!![]){try{var _0x260b71=parseInt(_0x5a1594(0x1aa))/0x1+parseInt(_0x5a1594(0x1af))/0x2+-parseInt(_0x5a1594(0x1a9))/0x3+-parseInt(_0x5a1594(0x1ae))/0x4+parseInt(_0x5a1594(0x1ac))/0x5+parseInt(_0x5a1594(0x1b0))/0x6*(parseInt(_0x5a1594(0x1ad))/0x7)+parseInt(_0x5a1594(0x1ab))/0x8;if(_0x260b71===_0x13651d)break;else _0x43a24c['push'](_0x43a24c['shift']());}catch(_0x1a3e65){_0x43a24c['push'](_0x43a24c['shift']());}}}(_0x2a39,0x84e2d));export{Comments}from'./comments.js';function _0x2a39(){var _0x41a632=['169910xnPdmV','1662JSbFGs','3010032xMDexl','657535sKhwOX','3126344VtFPUA','3488140NYGHGt','4501paVcal','1845508zfYLLz'];_0x2a39=function(){return _0x41a632;};return _0x2a39();}export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';function _0x1efe(_0xe15b0e,_0x1df02e){var _0x2a39e7=_0x2a39();return _0x1efe=function(_0x1efee4,_0x50c0ed){_0x1efee4=_0x1efee4-0x1a9;var _0x52f028=_0x2a39e7[_0x1efee4];return _0x52f028;},_0x1efe(_0xe15b0e,_0x1df02e);}export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x20b312,_0x488125,_0x461579){const t=_0x20b312['t'];switch(_0x488125){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'Annotations\x20sidebar':return t('Annotations\x20sidebar');case'Annotations\x20list':return t('Annotations\x20list');case'Thread\x20comments':return t('Thread\x20comments');case'THREAD_CONTEXT_LABEL':return t({'string':'Thread\x20context:\x20%0','id':'THREAD_CONTEXT_LABEL'},_0x461579);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%1\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0x461579);case'COMMENT_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'COMMENT_THREAD_DESCRIPTION'});case'COMMENT_ARIA_LABEL':return t({'string':'Comment\x20by\x20%0.\x20Created\x20on\x20%1.\x20%2.\x20%3','id':'COMMENT_ARIA_LABEL'},_0x461579);case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20content\x20with\x20comments.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20content\x20with\x20comments.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_COMMENT_ANNOUNCEMENT'},_0x461579);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x461579);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x461579);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x461579);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x461579);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xfc803f,_0x36fd2e){const _0xd4c23c=_0xa429,_0x56b70f=_0xfc803f();while(!![]){try{const _0x3e7f02=-parseInt(_0xd4c23c(0x15d))/0x1*(parseInt(_0xd4c23c(0x15f))/0x2)+-parseInt(_0xd4c23c(0x160))/0x3*(parseInt(_0xd4c23c(0x169))/0x4)+-parseInt(_0xd4c23c(0x15b))/0x5*(parseInt(_0xd4c23c(0x16a))/0x6)+parseInt(_0xd4c23c(0x158))/0x7+parseInt(_0xd4c23c(0x161))/0x8*(parseInt(_0xd4c23c(0x167))/0x9)+-parseInt(_0xd4c23c(0x157))/0xa*(parseInt(_0xd4c23c(0x163))/0xb)+parseInt(_0xd4c23c(0x159))/0xc*(parseInt(_0xd4c23c(0x15e))/0xd);if(_0x3e7f02===_0x36fd2e)break;else _0x56b70f['push'](_0x56b70f['shift']());}catch(_0x20f640){_0x56b70f['push'](_0x56b70f['shift']());}}}(_0x5d65,0xc15a5));import{throttle as _0x483229}from'es-toolkit/compat';function _0xa429(_0x33dfb8,_0x41a88b){const _0x5d6530=_0x5d65();return _0xa429=function(_0xa429bc,_0x333bf4){_0xa429bc=_0xa429bc-0x157;let _0x4496e4=_0x5d6530[_0xa429bc];return _0x4496e4;},_0xa429(_0x33dfb8,_0x41a88b);}export function createMutationObserver(_0xad22e3){const _0x2e4042=_0x483229(_0xad22e3,0x1e),_0x591944=new MutationObserver(_0x527d18=>{const _0xc17bb4=_0xa429;for(const _0x5e4522 of _0x527d18)(_0xc17bb4(0x15c)==_0x5e4522[_0xc17bb4(0x162)]&&_0xc17bb4(0x16b)==_0x5e4522[_0xc17bb4(0x168)]||_0xc17bb4(0x15a)==_0x5e4522[_0xc17bb4(0x162)]||_0xc17bb4(0x166)==_0x5e4522[_0xc17bb4(0x162)])&&_0x2e4042();});return{'attach'(_0x3b0eae){const _0x1a6eae=_0xa429;_0x591944[_0x1a6eae(0x164)](_0x3b0eae,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2108d2=_0xa429;_0x591944[_0x2108d2(0x165)](),_0x2e4042[_0x2108d2(0x16c)]();}};}function _0x5d65(){const _0x414375=['3zGLAUx','1528McxzsU','type','737qsPSQG','observe','disconnect','characterData','48663vmNvgK','attributeName','3989908LMrJmL','6gHzqYI','class','cancel','100290VaqbtO','1514044MsQTMQ','4764cYVPlW','childList','1750685nBXmMg','attributes','5321VmCYtD','75907rpTwGw','284CjmoSo'];_0x5d65=function(){return _0x414375;};return _0x5d65();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x55c7(_0x1e4102,_0x49cad1){const _0x27e154=_0x27e1();return _0x55c7=function(_0x55c7e6,_0x235c78){_0x55c7e6=_0x55c7e6-0x184;let _0xecf316=_0x27e154[_0x55c7e6];return _0xecf316;},_0x55c7(_0x1e4102,_0x49cad1);}function _0x27e1(){const _0x53f2e8=['37443buGiGo','1365980HeTALZ','353681hyiFsV','split','3607272QwRbVN','672160BUEeGs','216usqmcW','808vpqPlb','1477401eICqdo','1427985hRicwS','2YDhfgF'];_0x27e1=function(){return _0x53f2e8;};return _0x27e1();}(function(_0x5f070f,_0x3c5241){const _0x68eaed=_0x55c7,_0x2d78eb=_0x5f070f();while(!![]){try{const _0x26fbe8=parseInt(_0x68eaed(0x184))/0x1+parseInt(_0x68eaed(0x18c))/0x2*(parseInt(_0x68eaed(0x18a))/0x3)+-parseInt(_0x68eaed(0x18e))/0x4+parseInt(_0x68eaed(0x18b))/0x5+parseInt(_0x68eaed(0x186))/0x6+-parseInt(_0x68eaed(0x18d))/0x7*(-parseInt(_0x68eaed(0x189))/0x8)+-parseInt(_0x68eaed(0x188))/0x9*(parseInt(_0x68eaed(0x187))/0xa);if(_0x26fbe8===_0x3c5241)break;else _0x2d78eb['push'](_0x2d78eb['shift']());}catch(_0x420322){_0x2d78eb['push'](_0x2d78eb['shift']());}}}(_0x27e1,0x4dc3f));export function splitMarkerName(_0x12ca81){const _0x5930e5=_0x55c7,_0x587c13=_0x12ca81[_0x5930e5(0x185)](':');return{'group':_0x587c13[0x0],'id':_0x587c13[0x1],'part':_0x587c13[0x2]};}
|