@ckeditor/ckeditor5-comments 46.1.0 → 46.1.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 _0x568fc3=_0x37fc;(function(_0x53a7cb,_0x16dac1){const _0x27a7f4=_0x37fc,_0x14ceda=_0x53a7cb();while(!![]){try{const _0x3a237d=parseInt(_0x27a7f4(0x175))/0x1+-parseInt(_0x27a7f4(0x161))/0x2*(parseInt(_0x27a7f4(0x19c))/0x3)+parseInt(_0x27a7f4(0x1ad))/0x4*(-parseInt(_0x27a7f4(0x183))/0x5)+-parseInt(_0x27a7f4(0x179))/0x6+parseInt(_0x27a7f4(0x1b9))/0x7*(parseInt(_0x27a7f4(0x171))/0x8)+-parseInt(_0x27a7f4(0x170))/0x9*(-parseInt(_0x27a7f4(0x186))/0xa)+-parseInt(_0x27a7f4(0x1a7))/0xb;if(_0x3a237d===_0x16dac1)break;else _0x14ceda['push'](_0x14ceda['shift']());}catch(_0x13fb17){_0x14ceda['push'](_0x14ceda['shift']());}}}(_0x211c,0x5b9f7));import{View as _0x383709,FocusCycler as _0x31a22e}from'ckeditor5/src/ui.js';import{diff as _0x544d5a,Collection as _0x7c6017,FocusTracker as _0x538d08,KeystrokeHandler as _0xe7dbe5}from'ckeditor5/src/utils.js';import{getTranslation as _0x898355}from'../../../utils/common-translations.js';function _0x211c(){const _0x263b98=['resolvedBy','change:isResolved','expand','maxThreadTotalWeight','keystrokes','arrowup','555tTzQAs','change:isActive','resolveCommentThread','_calculatePosition','element','setTemplate','delegate','comments','_rearrangeCollapse','_updateHasDirtyComment','CommentView','11172876FVYWTc','editorConfig','focus','isEditMode','_config','bind','4JpGovV','target','equal','maxCommentCharsWhenCollapsed','get','ck-hidden','bindTemplate','viewUid','ck-thread__comments','destroy','removed','delete','334642AsNhBM','_setupKeyboardNavigation','add','_findOptimalIndex','maxCommentsWhenCollapsed','authoredAt','focusFirst','length','arrowdown','count','302BkvQra','forEach','locale','render','remove','insert','change:hasDirtyComment','change:isEditMode','refreshVisibleViews','from','some','reverse','_handleRemoveCommentModel','hasDirtyComment','map','466965QncQLL','88xXjSKi','resolvedCommentView','focusTracker','stopListening','485327gyAlrp','Marked\x20as\x20resolved','set','commentViews','582288XcoVBM','focusCycler','removeComment','weight','commentUpdated','_handleNewCommentModel','collapse','includes','_collapsedCommentsView','_rearrangeExpand','70285coltUH','updateComment','change','100OLrvFE','added','resolvedAt','editorReady','_model','_handleInfoComment','listenTo','_shouldCollapse','focusLast','editorDestroyed','isActive','createCollection','resolved','visibleViews','formatDateTime','Thread\x20comments'];_0x211c=function(){return _0x263b98;};return _0x211c();}import{CollapsedCommentsView as _0x4aaa67}from'./collapsedcommentsview.js';export class CommentsListView extends _0x383709{[_0x568fc3(0x178)];[_0x568fc3(0x172)];[_0x568fc3(0x173)];[_0x568fc3(0x19a)];[_0x568fc3(0x17a)];[_0x568fc3(0x18a)];[_0x568fc3(0x1ab)];[_0x568fc3(0x181)];constructor(_0x23ba26,_0x1cead4,_0x353696){const _0x10ef03=_0x568fc3;super(_0x23ba26);const _0x2e5aae=this[_0x10ef03(0x1b3)];this[_0x10ef03(0x177)](_0x10ef03(0x16e),!0x1),this[_0x10ef03(0x177)](_0x10ef03(0x1c0),_0x1cead4[_0x10ef03(0x1a3)][_0x10ef03(0x1c0)]),this[_0x10ef03(0x177)](_0x10ef03(0x190),!0x1),this[_0x10ef03(0x18a)]=_0x1cead4,this[_0x10ef03(0x1ab)]=_0x353696,this[_0x10ef03(0x178)]=this[_0x10ef03(0x191)](),this[_0x10ef03(0x193)]=this[_0x10ef03(0x191)](),this[_0x10ef03(0x172)]=null,this[_0x10ef03(0x173)]=new _0x538d08(),this[_0x10ef03(0x19a)]=new _0xe7dbe5(),this[_0x10ef03(0x17a)]=new _0x31a22e({'focusables':this[_0x10ef03(0x178)],'focusTracker':this[_0x10ef03(0x173)],'keystrokeHandler':this[_0x10ef03(0x19a)],'keystrokeHandlerOptions':{'filter':_0x360392=>this[_0x10ef03(0x178)][_0x10ef03(0x16f)](_0x39baf3=>_0x39baf3[_0x10ef03(0x1a0)])[_0x10ef03(0x180)](_0x360392[_0x10ef03(0x1ae)])},'actions':{'focusPrevious':_0x10ef03(0x19b),'focusNext':_0x10ef03(0x1c1)}}),this[_0x10ef03(0x181)]=new _0x4aaa67(_0x23ba26),this[_0x10ef03(0x181)][_0x10ef03(0x1ac)](_0x10ef03(0x160))['to'](this,_0x10ef03(0x1c0),_0x498231=>_0x498231-this[_0x10ef03(0x1ab)][_0x10ef03(0x1bd)]);for(const _0x1b525b of _0x1cead4[_0x10ef03(0x1a3)])this[_0x10ef03(0x17e)](_0x1b525b);this[_0x10ef03(0x18b)](),this[_0x10ef03(0x18c)](_0x1cead4[_0x10ef03(0x1a3)],_0x10ef03(0x1bb),(_0x3f783c,_0x53c5b1)=>{const _0x2d39e1=_0x10ef03,_0x5aaae6=this[_0x2d39e1(0x19f)](_0x53c5b1);this[_0x2d39e1(0x1c0)]++,this[_0x2d39e1(0x17e)](_0x53c5b1,_0x5aaae6),this[_0x2d39e1(0x169)]();}),this[_0x10ef03(0x18c)](_0x1cead4[_0x10ef03(0x1a3)],_0x10ef03(0x165),(_0xa6df75,_0xba534c)=>{const _0x366803=_0x10ef03;this[_0x366803(0x1c0)]--,this[_0x366803(0x16d)](_0xba534c),this[_0x366803(0x169)]();}),this[_0x10ef03(0x18c)](_0x1cead4,_0x10ef03(0x17d),()=>this[_0x10ef03(0x169)]()),this[_0x10ef03(0x18c)](_0x1cead4,_0x10ef03(0x197),()=>this[_0x10ef03(0x18b)]()),this['on'](_0x10ef03(0x19d),()=>this[_0x10ef03(0x169)]()),this['on'](_0x10ef03(0x167),()=>this[_0x10ef03(0x169)]()),this[_0x10ef03(0x1a1)]({'tag':'ul','attributes':{'class':[_0x10ef03(0x1b5),_0x2e5aae['if'](_0x10ef03(0x1c0),_0x10ef03(0x1b2),_0x115ae2=>!_0x115ae2)],'aria-label':_0x898355(_0x23ba26,_0x10ef03(0x195))},'children':this[_0x10ef03(0x193)]});}get[_0x568fc3(0x18d)](){const _0x4251e3=_0x568fc3;return this[_0x4251e3(0x18a)][_0x4251e3(0x17c)]>this[_0x4251e3(0x1ab)][_0x4251e3(0x199)]&&!this[_0x4251e3(0x190)]&&!this[_0x4251e3(0x16e)];}[_0x568fc3(0x164)](){const _0x1a6a46=_0x568fc3;super[_0x1a6a46(0x164)](),this[_0x1a6a46(0x169)](),this[_0x1a6a46(0x1ba)]();}[_0x568fc3(0x1a9)](_0x465334){const _0x4a1f32=_0x568fc3;-0x1===_0x465334?this[_0x4a1f32(0x17a)][_0x4a1f32(0x18e)]():this[_0x4a1f32(0x17a)][_0x4a1f32(0x1bf)]();}[_0x568fc3(0x1b6)](){const _0x1d5f82=_0x568fc3;this[_0x1d5f82(0x181)][_0x1d5f82(0x1b6)]();for(const _0x494b05 of this[_0x1d5f82(0x178)])_0x494b05[_0x1d5f82(0x1b6)]();super[_0x1d5f82(0x1b6)]();}[_0x568fc3(0x169)](){const _0x780396=_0x568fc3;this[_0x780396(0x18d)]?this[_0x780396(0x1a4)]():this[_0x780396(0x182)]();}[_0x568fc3(0x17e)](_0x49770c,_0x17fb4b){const _0xe41010=_0x568fc3,_0x58b841=new this[(_0xe41010(0x1ab))][(_0xe41010(0x1a6))](this[_0xe41010(0x163)],_0x49770c,{'maxCommentCharsWhenCollapsed':this[_0xe41010(0x1ab)][_0xe41010(0x1b0)],'formatDateTime':this[_0xe41010(0x1ab)][_0xe41010(0x194)],'editorConfig':this[_0xe41010(0x1ab)][_0xe41010(0x1a8)]});_0x58b841[_0xe41010(0x1b4)]=_0x49770c['id'],_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x17b))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x184))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x19e))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x189))['to'](this),_0x58b841[_0xe41010(0x1a2)](_0xe41010(0x18f))['to'](this),this[_0xe41010(0x18c)](_0x58b841,_0xe41010(0x168),()=>this[_0xe41010(0x1a5)]()),this[_0xe41010(0x178)][_0xe41010(0x1bb)](_0x58b841,_0x17fb4b);}[_0x568fc3(0x19f)](_0x209d7a){const _0x1ea43c=_0x568fc3,_0x27d120=this[_0x1ea43c(0x18a)][_0x1ea43c(0x1bc)](_0x209d7a);return this[_0x1ea43c(0x172)]?this[_0x1ea43c(0x172)][_0x1ea43c(0x1be)]>_0x209d7a[_0x1ea43c(0x1be)]?_0x27d120-0x1:_0x27d120:_0x27d120-0x1;}[_0x568fc3(0x18b)](){const _0x3136ea=_0x568fc3;if(this[_0x3136ea(0x18a)][_0x3136ea(0x196)]&&this[_0x3136ea(0x18a)][_0x3136ea(0x188)]){const _0x495b36={'id':_0x3136ea(0x192),'author':this[_0x3136ea(0x18a)][_0x3136ea(0x196)],'authoredAt':this[_0x3136ea(0x18a)][_0x3136ea(0x188)],'content':_0x898355(this[_0x3136ea(0x163)],_0x3136ea(0x176)),'attributes':{}};this[_0x3136ea(0x172)]=new this[(_0x3136ea(0x1ab))][(_0x3136ea(0x1a6))](this[_0x3136ea(0x163)],_0x495b36,{'maxCommentCharsWhenCollapsed':this[_0x3136ea(0x1ab)][_0x3136ea(0x1b0)],'formatDateTime':this[_0x3136ea(0x1ab)][_0x3136ea(0x194)],'editorConfig':this[_0x3136ea(0x1ab)][_0x3136ea(0x1a8)],'isSystemComment':!0x0}),this[_0x3136ea(0x178)][_0x3136ea(0x1bb)](this[_0x3136ea(0x172)],this[_0x3136ea(0x18a)][_0x3136ea(0x1bc)](_0x495b36));}else this[_0x3136ea(0x172)]&&(this[_0x3136ea(0x178)][_0x3136ea(0x165)](this[_0x3136ea(0x172)]),this[_0x3136ea(0x172)][_0x3136ea(0x1b6)](),this[_0x3136ea(0x172)]=null);this[_0x3136ea(0x169)]();}[_0x568fc3(0x16d)](_0x506e95){const _0x3c37a7=_0x568fc3,_0x148291=this[_0x3c37a7(0x178)][_0x3c37a7(0x165)](_0x506e95['id']);this[_0x3c37a7(0x174)](_0x148291),_0x148291[_0x3c37a7(0x1aa)]&&this[_0x3c37a7(0x1a5)](),_0x148291[_0x3c37a7(0x1b6)]();}[_0x568fc3(0x1a5)](){const _0xcf3449=_0x568fc3;this[_0xcf3449(0x16e)]=Array[_0xcf3449(0x16a)](this[_0xcf3449(0x178)])[_0xcf3449(0x16b)](_0xff43f=>_0xff43f[_0xcf3449(0x1aa)]);}[_0x568fc3(0x1a4)](){const _0x165a5d=_0x568fc3,_0x3e3ea7=function(_0xd509e1){const _0x49bbb4=_0x37fc,_0x1552d5=new _0x7c6017();for(const _0x401f03 of _0xd509e1)_0x1552d5[_0x49bbb4(0x1bb)](_0x401f03);return _0x1552d5;}(this[_0x165a5d(0x178)]),_0x261231=this[_0x165a5d(0x181)][_0x165a5d(0x160)];for(let _0x1008d7=0x1;_0x1008d7<=_0x261231;_0x1008d7++)_0x3e3ea7[_0x165a5d(0x165)](0x1);for(const _0x7a3e8d of _0x3e3ea7)_0x7a3e8d[_0x165a5d(0x17f)]();_0x261231>0x0&&_0x3e3ea7[_0x165a5d(0x1bb)](this[_0x165a5d(0x181)],0x1),ns(_0x544d5a(Array[_0x165a5d(0x16a)](this[_0x165a5d(0x193)]),Array[_0x165a5d(0x16a)](_0x3e3ea7)),this[_0x165a5d(0x193)],_0x3e3ea7);}[_0x568fc3(0x182)](){const _0x176cb5=_0x568fc3;ns(_0x544d5a(Array[_0x176cb5(0x16a)](this[_0x176cb5(0x193)]),Array[_0x176cb5(0x16a)](this[_0x176cb5(0x178)])),this[_0x176cb5(0x193)],this[_0x176cb5(0x178)]);for(const _0xf47d08 of this[_0x176cb5(0x193)])_0xf47d08[_0x176cb5(0x198)]();}[_0x568fc3(0x1ba)](){const _0x45d5c4=_0x568fc3;this[_0x45d5c4(0x178)][_0x45d5c4(0x162)](_0x2a902a=>{const _0x37a93d=_0x45d5c4;this[_0x37a93d(0x173)][_0x37a93d(0x1bb)](_0x2a902a[_0x37a93d(0x1a0)]),this[_0x37a93d(0x19a)][_0x37a93d(0x18c)](_0x2a902a[_0x37a93d(0x1a0)]);}),this[_0x45d5c4(0x178)]['on'](_0x45d5c4(0x185),(_0x3b9ce5,_0x26374f)=>{const _0x41549a=_0x45d5c4;for(const _0x34ca8a of _0x26374f[_0x41549a(0x1b7)])this[_0x41549a(0x173)][_0x41549a(0x165)](_0x34ca8a[_0x41549a(0x1a0)]),this[_0x41549a(0x19a)][_0x41549a(0x174)](_0x34ca8a[_0x41549a(0x1a0)]);for(const _0x4b8687 of Array[_0x41549a(0x16a)](_0x26374f[_0x41549a(0x187)])[_0x41549a(0x16c)]())this[_0x41549a(0x173)][_0x41549a(0x1bb)](_0x4b8687[_0x41549a(0x1a0)]),this[_0x41549a(0x19a)][_0x41549a(0x18c)](_0x4b8687[_0x41549a(0x1a0)]);});}}function _0x37fc(_0x3153df,_0x4a9fc4){const _0x211ce7=_0x211c();return _0x37fc=function(_0x37fca1,_0x149214){_0x37fca1=_0x37fca1-0x160;let _0x8162e4=_0x211ce7[_0x37fca1];return _0x8162e4;},_0x37fc(_0x3153df,_0x4a9fc4);}function ns(_0x1545e3,_0x1193f1,_0x3011d8){const _0x309232=_0x568fc3;let _0x4b2276=0x0;for(const _0x1d7161 of _0x1545e3)switch(_0x1d7161){case _0x309232(0x166):_0x1193f1[_0x309232(0x1bb)](_0x3011d8[_0x309232(0x1b1)](_0x4b2276),_0x4b2276),_0x4b2276++;break;case _0x309232(0x1b8):_0x1193f1[_0x309232(0x165)](_0x4b2276);break;case _0x309232(0x1af):_0x4b2276++;}}
|
|
23
|
+
function _0x3c1d(){const _0x10993d=['arrowup','comments','_collapsedCommentsView','hasDirtyComment','count','138icMQpZ','removeComment','keystrokes','_findOptimalIndex','change:isResolved','remove','editorConfig','map','locale','insert','authoredAt','from','change','editorDestroyed','forEach','resolvedBy','change:isEditMode','resolveCommentThread','_setupKeyboardNavigation','updateComment','focusTracker','focusFirst','Thread\x20comments','removed','5144gDWQRe','refreshVisibleViews','render','bind','weight','maxThreadTotalWeight','delete','focus','isActive','focusCycler','focusLast','listenTo','resolvedCommentView','104rhNdLY','resolvedAt','target','resolved','_updateHasDirtyComment','_config','14440120mKNagy','set','_handleRemoveCommentModel','formatDateTime','231155eYHcAi','_shouldCollapse','expand','element','get','viewUid','commentUpdated','commentViews','571653oforQP','arrowdown','add','_model','createCollection','_rearrangeCollapse','ck-thread__comments','CommentView','some','Marked\x20as\x20resolved','924444RDUoNY','3906826BcoDZq','change:isActive','_rearrangeExpand','bindTemplate','_handleNewCommentModel','623538IkutfO','includes','collapse','maxCommentCharsWhenCollapsed','length','editorReady','equal','stopListening','reverse','setTemplate','maxCommentsWhenCollapsed','_calculatePosition','visibleViews','_handleInfoComment','delegate','added','destroy','ck-hidden','isEditMode','change:hasDirtyComment','2550QmwDeh'];_0x3c1d=function(){return _0x10993d;};return _0x3c1d();}const _0x3216fb=_0x4847;(function(_0x1a1d20,_0xacf96f){const _0xaa87df=_0x4847,_0x4aa568=_0x1a1d20();while(!![]){try{const _0x499d9f=-parseInt(_0xaa87df(0xf5))/0x1+parseInt(_0xaa87df(0xfb))/0x2+-parseInt(_0xaa87df(0xae))/0x3*(-parseInt(_0xaa87df(0xcc))/0x4)+parseInt(_0xaa87df(0xe3))/0x5*(-parseInt(_0xaa87df(0xb4))/0x6)+parseInt(_0xaa87df(0xf6))/0x7+-parseInt(_0xaa87df(0xd9))/0x8*(parseInt(_0xaa87df(0xeb))/0x9)+parseInt(_0xaa87df(0xdf))/0xa;if(_0x499d9f===_0xacf96f)break;else _0x4aa568['push'](_0x4aa568['shift']());}catch(_0x4cea21){_0x4aa568['push'](_0x4aa568['shift']());}}}(_0x3c1d,0x90e71));import{View as _0x9fcf4d,FocusCycler as _0x347da1}from'ckeditor5/src/ui.js';import{diff as _0x3a8dbe,Collection as _0x3bd370,FocusTracker as _0x1c79be,KeystrokeHandler as _0xa8a15a}from'ckeditor5/src/utils.js';import{getTranslation as _0x561331}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x50cb44}from'./collapsedcommentsview.js';export class CommentsListView extends _0x9fcf4d{[_0x3216fb(0xea)];[_0x3216fb(0xd8)];[_0x3216fb(0xc8)];[_0x3216fb(0xb6)];[_0x3216fb(0xd5)];[_0x3216fb(0xee)];[_0x3216fb(0xde)];[_0x3216fb(0xb1)];constructor(_0x375118,_0xaeff1f,_0x3401cf){const _0x299143=_0x3216fb;super(_0x375118);const _0x434ccd=this[_0x299143(0xf9)];this[_0x299143(0xe0)](_0x299143(0xb2),!0x1),this[_0x299143(0xe0)](_0x299143(0x9e),_0xaeff1f[_0x299143(0xb0)][_0x299143(0x9e)]),this[_0x299143(0xe0)](_0x299143(0xd4),!0x1),this[_0x299143(0xee)]=_0xaeff1f,this[_0x299143(0xde)]=_0x3401cf,this[_0x299143(0xea)]=this[_0x299143(0xef)](),this[_0x299143(0xa6)]=this[_0x299143(0xef)](),this[_0x299143(0xd8)]=null,this[_0x299143(0xc8)]=new _0x1c79be(),this[_0x299143(0xb6)]=new _0xa8a15a(),this[_0x299143(0xd5)]=new _0x347da1({'focusables':this[_0x299143(0xea)],'focusTracker':this[_0x299143(0xc8)],'keystrokeHandler':this[_0x299143(0xb6)],'keystrokeHandlerOptions':{'filter':_0x3cac38=>this[_0x299143(0xea)][_0x299143(0xbb)](_0xa97b59=>_0xa97b59[_0x299143(0xe6)])[_0x299143(0xfc)](_0x3cac38[_0x299143(0xdb)])},'actions':{'focusPrevious':_0x299143(0xaf),'focusNext':_0x299143(0xec)}}),this[_0x299143(0xb1)]=new _0x50cb44(_0x375118),this[_0x299143(0xb1)][_0x299143(0xcf)](_0x299143(0xb3))['to'](this,_0x299143(0x9e),_0x85e92e=>_0x85e92e-this[_0x299143(0xde)][_0x299143(0xa4)]);for(const _0xe73009 of _0xaeff1f[_0x299143(0xb0)])this[_0x299143(0xfa)](_0xe73009);this[_0x299143(0xa7)](),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xed),(_0x2df76e,_0x16c912)=>{const _0x34409f=_0x299143,_0x10b211=this[_0x34409f(0xa5)](_0x16c912);this[_0x34409f(0x9e)]++,this[_0x34409f(0xfa)](_0x16c912,_0x10b211),this[_0x34409f(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f[_0x299143(0xb0)],_0x299143(0xb9),(_0x1aa26b,_0x342e0c)=>{const _0x2e7e74=_0x299143;this[_0x2e7e74(0x9e)]--,this[_0x2e7e74(0xe1)](_0x342e0c),this[_0x2e7e74(0xcd)]();}),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xe9),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xd7)](_0xaeff1f,_0x299143(0xb8),()=>this[_0x299143(0xa7)]()),this['on'](_0x299143(0xf7),()=>this[_0x299143(0xcd)]()),this['on'](_0x299143(0xad),()=>this[_0x299143(0xcd)]()),this[_0x299143(0xa3)]({'tag':'ul','attributes':{'class':[_0x299143(0xf1),_0x434ccd['if'](_0x299143(0x9e),_0x299143(0xab),_0x5e51cc=>!_0x5e51cc)],'aria-label':_0x561331(_0x375118,_0x299143(0xca))},'children':this[_0x299143(0xa6)]});}get[_0x3216fb(0xe4)](){const _0x45dbd7=_0x3216fb;return this[_0x45dbd7(0xee)][_0x45dbd7(0xd0)]>this[_0x45dbd7(0xde)][_0x45dbd7(0xd1)]&&!this[_0x45dbd7(0xd4)]&&!this[_0x45dbd7(0xb2)];}[_0x3216fb(0xce)](){const _0x49c2a3=_0x3216fb;super[_0x49c2a3(0xce)](),this[_0x49c2a3(0xcd)](),this[_0x49c2a3(0xc6)]();}[_0x3216fb(0xd3)](_0x78994a){const _0x3a2a8d=_0x3216fb;-0x1===_0x78994a?this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xd6)]():this[_0x3a2a8d(0xd5)][_0x3a2a8d(0xc9)]();}[_0x3216fb(0xaa)](){const _0x1b2dcd=_0x3216fb;this[_0x1b2dcd(0xb1)][_0x1b2dcd(0xaa)]();for(const _0x1e0071 of this[_0x1b2dcd(0xea)])_0x1e0071[_0x1b2dcd(0xaa)]();super[_0x1b2dcd(0xaa)]();}[_0x3216fb(0xcd)](){const _0x455750=_0x3216fb;this[_0x455750(0xe4)]?this[_0x455750(0xf0)]():this[_0x455750(0xf8)]();}[_0x3216fb(0xfa)](_0x4b9269,_0x5a2c1a){const _0x14ccdc=_0x3216fb,_0x49a8bb=new this[(_0x14ccdc(0xde))][(_0x14ccdc(0xf2))](this[_0x14ccdc(0xbc)],_0x4b9269,{'maxCommentCharsWhenCollapsed':this[_0x14ccdc(0xde)][_0x14ccdc(0x9d)],'formatDateTime':this[_0x14ccdc(0xde)][_0x14ccdc(0xe2)],'editorConfig':this[_0x14ccdc(0xde)][_0x14ccdc(0xba)]});_0x49a8bb[_0x14ccdc(0xe8)]=_0x4b9269['id'],_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xb5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc7))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc5))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0x9f))['to'](this),_0x49a8bb[_0x14ccdc(0xa8)](_0x14ccdc(0xc1))['to'](this),this[_0x14ccdc(0xd7)](_0x49a8bb,_0x14ccdc(0xc4),()=>this[_0x14ccdc(0xdd)]()),this[_0x14ccdc(0xea)][_0x14ccdc(0xed)](_0x49a8bb,_0x5a2c1a);}[_0x3216fb(0xa5)](_0x54733a){const _0x25e721=_0x3216fb,_0x4d96a0=this[_0x25e721(0xee)][_0x25e721(0xb7)](_0x54733a);return this[_0x25e721(0xd8)]?this[_0x25e721(0xd8)][_0x25e721(0xbe)]>_0x54733a[_0x25e721(0xbe)]?_0x4d96a0-0x1:_0x4d96a0:_0x4d96a0-0x1;}[_0x3216fb(0xa7)](){const _0x3cba27=_0x3216fb;if(this[_0x3cba27(0xee)][_0x3cba27(0xc3)]&&this[_0x3cba27(0xee)][_0x3cba27(0xda)]){const _0x4e2b4a={'id':_0x3cba27(0xdc),'author':this[_0x3cba27(0xee)][_0x3cba27(0xc3)],'authoredAt':this[_0x3cba27(0xee)][_0x3cba27(0xda)],'content':_0x561331(this[_0x3cba27(0xbc)],_0x3cba27(0xf4)),'attributes':{}};this[_0x3cba27(0xd8)]=new this[(_0x3cba27(0xde))][(_0x3cba27(0xf2))](this[_0x3cba27(0xbc)],_0x4e2b4a,{'maxCommentCharsWhenCollapsed':this[_0x3cba27(0xde)][_0x3cba27(0x9d)],'formatDateTime':this[_0x3cba27(0xde)][_0x3cba27(0xe2)],'editorConfig':this[_0x3cba27(0xde)][_0x3cba27(0xba)],'isSystemComment':!0x0}),this[_0x3cba27(0xea)][_0x3cba27(0xed)](this[_0x3cba27(0xd8)],this[_0x3cba27(0xee)][_0x3cba27(0xb7)](_0x4e2b4a));}else this[_0x3cba27(0xd8)]&&(this[_0x3cba27(0xea)][_0x3cba27(0xb9)](this[_0x3cba27(0xd8)]),this[_0x3cba27(0xd8)][_0x3cba27(0xaa)](),this[_0x3cba27(0xd8)]=null);this[_0x3cba27(0xcd)]();}[_0x3216fb(0xe1)](_0x140229){const _0x2fd9fb=_0x3216fb,_0x2f1ed6=this[_0x2fd9fb(0xea)][_0x2fd9fb(0xb9)](_0x140229['id']);this[_0x2fd9fb(0xa1)](_0x2f1ed6),_0x2f1ed6[_0x2fd9fb(0xac)]&&this[_0x2fd9fb(0xdd)](),_0x2f1ed6[_0x2fd9fb(0xaa)]();}[_0x3216fb(0xdd)](){const _0x1f1b50=_0x3216fb;this[_0x1f1b50(0xb2)]=Array[_0x1f1b50(0xbf)](this[_0x1f1b50(0xea)])[_0x1f1b50(0xf3)](_0x4e9d50=>_0x4e9d50[_0x1f1b50(0xac)]);}[_0x3216fb(0xf0)](){const _0x2296af=_0x3216fb,_0x3386c8=function(_0xfc870f){const _0x518581=_0x4847,_0x28d92b=new _0x3bd370();for(const _0x5ad1fd of _0xfc870f)_0x28d92b[_0x518581(0xed)](_0x5ad1fd);return _0x28d92b;}(this[_0x2296af(0xea)]),_0x494726=this[_0x2296af(0xb1)][_0x2296af(0xb3)];for(let _0xb95902=0x1;_0xb95902<=_0x494726;_0xb95902++)_0x3386c8[_0x2296af(0xb9)](0x1);for(const _0x30bffe of _0x3386c8)_0x30bffe[_0x2296af(0x9c)]();_0x494726>0x0&&_0x3386c8[_0x2296af(0xed)](this[_0x2296af(0xb1)],0x1),ns(_0x3a8dbe(Array[_0x2296af(0xbf)](this[_0x2296af(0xa6)]),Array[_0x2296af(0xbf)](_0x3386c8)),this[_0x2296af(0xa6)],_0x3386c8);}[_0x3216fb(0xf8)](){const _0x5c1814=_0x3216fb;ns(_0x3a8dbe(Array[_0x5c1814(0xbf)](this[_0x5c1814(0xa6)]),Array[_0x5c1814(0xbf)](this[_0x5c1814(0xea)])),this[_0x5c1814(0xa6)],this[_0x5c1814(0xea)]);for(const _0x57c451 of this[_0x5c1814(0xa6)])_0x57c451[_0x5c1814(0xe5)]();}[_0x3216fb(0xc6)](){const _0x3649bb=_0x3216fb;this[_0x3649bb(0xea)][_0x3649bb(0xc2)](_0xfbc212=>{const _0x32ad30=_0x3649bb;this[_0x32ad30(0xc8)][_0x32ad30(0xed)](_0xfbc212[_0x32ad30(0xe6)]),this[_0x32ad30(0xb6)][_0x32ad30(0xd7)](_0xfbc212[_0x32ad30(0xe6)]);}),this[_0x3649bb(0xea)]['on'](_0x3649bb(0xc0),(_0x2acd92,_0x554987)=>{const _0x4e4361=_0x3649bb;for(const _0x4daf70 of _0x554987[_0x4e4361(0xcb)])this[_0x4e4361(0xc8)][_0x4e4361(0xb9)](_0x4daf70[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xa1)](_0x4daf70[_0x4e4361(0xe6)]);for(const _0x4c6ee9 of Array[_0x4e4361(0xbf)](_0x554987[_0x4e4361(0xa9)])[_0x4e4361(0xa2)]())this[_0x4e4361(0xc8)][_0x4e4361(0xed)](_0x4c6ee9[_0x4e4361(0xe6)]),this[_0x4e4361(0xb6)][_0x4e4361(0xd7)](_0x4c6ee9[_0x4e4361(0xe6)]);});}}function _0x4847(_0x15a29e,_0x91bede){const _0x3c1db3=_0x3c1d();return _0x4847=function(_0x484749,_0x5e72f6){_0x484749=_0x484749-0x9c;let _0xb9f058=_0x3c1db3[_0x484749];return _0xb9f058;},_0x4847(_0x15a29e,_0x91bede);}function ns(_0x26cec9,_0x3624ff,_0x144fbb){const _0x116cd7=_0x3216fb;let _0x2a2749=0x0;for(const _0x2c8a5e of _0x26cec9)switch(_0x2c8a5e){case _0x116cd7(0xbd):_0x3624ff[_0x116cd7(0xed)](_0x144fbb[_0x116cd7(0xe7)](_0x2a2749),_0x2a2749),_0x2a2749++;break;case _0x116cd7(0xd2):_0x3624ff[_0x116cd7(0xb9)](_0x2a2749);break;case _0x116cd7(0xa0):_0x2a2749++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a2eb1=_0x1b9b;(function(_0x215204,_0x3cddb7){const _0x2746f6=_0x1b9b,_0x37f4c5=_0x215204();while(!![]){try{const _0x4c636d=parseInt(_0x2746f6(0x15b))/0x1+parseInt(_0x2746f6(0x159))/0x2*(-parseInt(_0x2746f6(0x14d))/0x3)+parseInt(_0x2746f6(0x157))/0x4+parseInt(_0x2746f6(0x151))/0x5+-parseInt(_0x2746f6(0x153))/0x6+parseInt(_0x2746f6(0x14c))/0x7*(parseInt(_0x2746f6(0x154))/0x8)+-parseInt(_0x2746f6(0x156))/0x9;if(_0x4c636d===_0x3cddb7)break;else _0x37f4c5['push'](_0x37f4c5['shift']());}catch(_0x1451a0){_0x37f4c5['push'](_0x37f4c5['shift']());}}}(_0x2401,0xdc6bf));function _0x1b9b(_0xef687f,_0x562da0){const _0x240192=_0x2401();return _0x1b9b=function(_0x1b9b30,_0x4b77d7){_0x1b9b30=_0x1b9b30-0x14c;let _0x5c1e5d=_0x240192[_0x1b9b30];return _0x5c1e5d;},_0x1b9b(_0xef687f,_0x562da0);}function _0x2401(){const _0x1bcbd0=['4489065PWzjwy','2403936hixvgb','element','91688aIgXyB','contextValue','1548212ptquGj','set','span','111237jynLFj','93OnBObB','bindTemplate','setTemplate','focus','4394225vNBywS','ck-context__value','4473234UtCcCt','272arsYkj','THREAD_CONTEXT_LABEL'];_0x2401=function(){return _0x1bcbd0;};return _0x2401();}import{View as _0x1b7576}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b2232}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x1b7576{constructor(_0x19bbea){const _0x5461ae=_0x1b9b;super(_0x19bbea);const _0x3a088b=this[_0x5461ae(0x14e)];this[_0x5461ae(0x15c)](_0x5461ae(0x15a),''),this[_0x5461ae(0x14f)]({'tag':_0x5461ae(0x15d),'attributes':{'class':['ck',_0x5461ae(0x152)],'aria-label':_0x3a088b['to'](_0x5461ae(0x15a),_0x5b6ac7=>_0x4b2232(_0x19bbea,_0x5461ae(0x155),_0x5b6ac7)),'tabindex':-0x1},'children':[{'text':_0x3a088b['to'](_0x5461ae(0x15a))}]});}[_0x5a2eb1(0x150)](){const _0x122d23=_0x5a2eb1;this[_0x122d23(0x158)][_0x122d23(0x150)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b29ec=_0x45aa;(function(_0x4243e7,_0x5a2686){const _0x3c4e3f=_0x45aa,_0xe3ce87=_0x4243e7();while(!![]){try{const _0x2a2c02=-parseInt(_0x3c4e3f(0x1bd))/0x1*(parseInt(_0x3c4e3f(0x1f1))/0x2)+-parseInt(_0x3c4e3f(0x1cd))/0x3+-parseInt(_0x3c4e3f(0x1d4))/0x4*(parseInt(_0x3c4e3f(0x1f2))/0x5)+-parseInt(_0x3c4e3f(0x1f8))/0x6+parseInt(_0x3c4e3f(0x1d6))/0x7+-parseInt(_0x3c4e3f(0x1e0))/0x8*(-parseInt(_0x3c4e3f(0x1d5))/0x9)+-parseInt(_0x3c4e3f(0x1e7))/0xa*(-parseInt(_0x3c4e3f(0x1da))/0xb);if(_0x2a2c02===_0x5a2686)break;else _0xe3ce87['push'](_0xe3ce87['shift']());}catch(_0x597f64){_0xe3ce87['push'](_0xe3ce87['shift']());}}}(_0x5ef2,0x64009));import{View as _0x566005,ButtonView as _0x479a5b,FocusCycler as _0x91f7f1}from'ckeditor5/src/ui.js';import{FocusTracker as _0xec7cdd,KeystrokeHandler as _0x3ef2c0}from'ckeditor5/src/utils.js';import{IconUndo as _0x444337}from'ckeditor5/src/icons.js';function _0x45aa(_0x4d7682,_0x45a601){const _0x5ef277=_0x5ef2();return _0x45aa=function(_0x45aa55,_0x4a2f34){_0x45aa55=_0x45aa55-0x1b2;let _0x1ea5c1=_0x5ef277[_0x45aa55];return _0x1ea5c1;},_0x45aa(_0x4d7682,_0x45a601);}function _0x5ef2(){const _0x137c94=['_trimContextValue','div','...','_setupKeyboardNavigation','2811244meWGwR','9CVUMgk','761964GMWdCr','classList','fire','_createContextView','384483TSEmIw','Reopen','.ck-context','reopenButtonView','scrollWidth','querySelector','216128duxHgt','add','_model','isResolvable','value','hasContext','tab','470MEkgjg','ck-thread__header','focus','render','ck-annotation__actions','_createReopenButton','length','bindTemplate','focusCycler','ck-context--quotes','16966VXoPzV','5rzLdrp','setTemplate','ck-context','keystrokes','focusTracker','tooltip','457974RKtMim','context','focusables','offsetWidth','label','contextValue','execute','.ck-context__value','isReadOnly','mouseleave','mouseenter','isEnabled','_attachContextActions','overlay','1HiJWzv','Comment\x20was\x20made\x20on\x20an\x20element','shift+tab','element','focusFirst','icon','ck-context-wrapper','locale','isVisible','contextView','lastIndexOf','reopenCommentThread','createCollection','listenTo','bind','remove','1744281KryYxb','isResolved','substring'];_0x5ef2=function(){return _0x137c94;};return _0x5ef2();}import{getTranslation as _0x3e9587}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x43f2cb}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x566005{[_0x3b29ec(0x1e2)];[_0x3b29ec(0x1dd)];[_0x3b29ec(0x1c6)];[_0x3b29ec(0x1fa)];[_0x3b29ec(0x1f6)];[_0x3b29ec(0x1f5)];[_0x3b29ec(0x1ef)];constructor(_0x1bdd41,_0x617ac5){const _0x2bbe86=_0x3b29ec;super(_0x1bdd41);const _0x483967=this[_0x2bbe86(0x1ee)];this[_0x2bbe86(0x1e2)]=_0x617ac5,this[_0x2bbe86(0x1dd)]=this[_0x2bbe86(0x1ec)](),this[_0x2bbe86(0x1c6)]=this[_0x2bbe86(0x1d9)](),this[_0x2bbe86(0x1fa)]=this[_0x2bbe86(0x1c9)]([this[_0x2bbe86(0x1c6)],this[_0x2bbe86(0x1dd)]]),this[_0x2bbe86(0x1f6)]=new _0xec7cdd(),this[_0x2bbe86(0x1f5)]=new _0x3ef2c0(),this[_0x2bbe86(0x1ef)]=new _0x91f7f1({'focusables':this[_0x2bbe86(0x1fa)],'focusTracker':this[_0x2bbe86(0x1f6)],'keystrokeHandler':this[_0x2bbe86(0x1f5)],'actions':{'focusPrevious':_0x2bbe86(0x1bf),'focusNext':_0x2bbe86(0x1e6)}}),this[_0x2bbe86(0x1cb)](_0x2bbe86(0x1e5))['to'](this[_0x2bbe86(0x1e2)],_0x2bbe86(0x1f9),_0x51a7a8=>!!_0x51a7a8),this[_0x2bbe86(0x1cb)](_0x2bbe86(0x1b4))['to'](this[_0x2bbe86(0x1e2)],_0x2bbe86(0x1f9),_0x38fe13=>_0x38fe13&&_0x38fe13[_0x2bbe86(0x1e4)]?this[_0x2bbe86(0x1d0)](_0x38fe13[_0x2bbe86(0x1e4)]):_0x3e9587(this[_0x2bbe86(0x1c4)],_0x2bbe86(0x1be))),this[_0x2bbe86(0x1f3)]({'tag':_0x2bbe86(0x1d1),'attributes':{'class':[_0x2bbe86(0x1e8)]},'children':[{'tag':_0x2bbe86(0x1d1),'attributes':{'class':[_0x2bbe86(0x1c3)]},'children':[{'tag':_0x2bbe86(0x1d1),'attributes':{'class':[_0x2bbe86(0x1f4),_0x483967['if'](_0x2bbe86(0x1e5),_0x2bbe86(0x1f0))]},'children':[this[_0x2bbe86(0x1c6)]]}]},{'tag':_0x2bbe86(0x1d1),'attributes':{'class':[_0x2bbe86(0x1eb)]},'children':[this[_0x2bbe86(0x1dd)]]}]});}[_0x3b29ec(0x1ea)](){const _0x56cc9d=_0x3b29ec;super[_0x56cc9d(0x1ea)](),this[_0x56cc9d(0x1bb)](),this[_0x56cc9d(0x1d3)]();}[_0x3b29ec(0x1e9)](){const _0x89f7ef=_0x3b29ec;this[_0x89f7ef(0x1ef)][_0x89f7ef(0x1c1)]();}[_0x3b29ec(0x1ec)](){const _0x1975ee=_0x3b29ec,_0x34a9d0=new _0x479a5b(this[_0x1975ee(0x1c4)]);return _0x34a9d0[_0x1975ee(0x1b3)]=_0x3e9587(this[_0x1975ee(0x1c4)],_0x1975ee(0x1db)),_0x34a9d0[_0x1975ee(0x1f7)]=_0x3e9587(this[_0x1975ee(0x1c4)],_0x1975ee(0x1db)),_0x34a9d0[_0x1975ee(0x1c2)]=_0x444337,_0x34a9d0[_0x1975ee(0x1cb)](_0x1975ee(0x1ba))['to'](this[_0x1975ee(0x1e2)],_0x1975ee(0x1b7),_0x5016d4=>!_0x5016d4),_0x34a9d0[_0x1975ee(0x1cb)](_0x1975ee(0x1c5))['to'](this[_0x1975ee(0x1e2)],_0x1975ee(0x1e3),this[_0x1975ee(0x1e2)],_0x1975ee(0x1ce),(_0x51dd5d,_0x346ca0)=>_0x51dd5d&&_0x346ca0),_0x34a9d0['on'](_0x1975ee(0x1b5),()=>{const _0x463bad=_0x1975ee;this[_0x463bad(0x1d8)](_0x463bad(0x1c8),this[_0x463bad(0x1e2)]['id']);}),_0x34a9d0;}[_0x3b29ec(0x1d0)](_0x8f728d){const _0x333c55=_0x3b29ec;if(_0x8f728d[_0x333c55(0x1ed)]<0x96)return _0x8f728d;const _0x54f131=_0x8f728d[_0x333c55(0x1c7)]('\x20',0x93);return _0x8f728d[_0x333c55(0x1cf)](0x0,_0x54f131>-0x1?_0x54f131:0x93)+_0x333c55(0x1d2);}[_0x3b29ec(0x1bb)](){const _0x6b89d7=_0x3b29ec,_0x2c108c=this[_0x6b89d7(0x1c0)][_0x6b89d7(0x1df)](_0x6b89d7(0x1dc)),_0x98e423=_0x2c108c[_0x6b89d7(0x1df)](_0x6b89d7(0x1b6));this[_0x6b89d7(0x1ca)](_0x2c108c,_0x6b89d7(0x1b9),()=>{const _0x46e1eb=_0x6b89d7;_0x98e423[_0x46e1eb(0x1b2)]<_0x98e423[_0x46e1eb(0x1de)]&&_0x2c108c[_0x46e1eb(0x1d7)][_0x46e1eb(0x1e1)](_0x46e1eb(0x1bc));}),this[_0x6b89d7(0x1ca)](_0x2c108c,_0x6b89d7(0x1b8),()=>{const _0x3e7e29=_0x6b89d7;_0x2c108c[_0x3e7e29(0x1d7)][_0x3e7e29(0x1cc)](_0x3e7e29(0x1bc));});}[_0x3b29ec(0x1d3)](){const _0x9cd9e6=_0x3b29ec;this[_0x9cd9e6(0x1f5)][_0x9cd9e6(0x1ca)](this[_0x9cd9e6(0x1c0)]);for(const _0x2cd409 of this[_0x9cd9e6(0x1fa)])this[_0x9cd9e6(0x1f6)][_0x9cd9e6(0x1e1)](_0x2cd409[_0x9cd9e6(0x1c0)]),this[_0x9cd9e6(0x1f5)][_0x9cd9e6(0x1ca)](_0x2cd409[_0x9cd9e6(0x1c0)]);}[_0x3b29ec(0x1d9)](){const _0x501002=_0x3b29ec,_0x21be20=new _0x43f2cb(this[_0x501002(0x1c4)]);return _0x21be20[_0x501002(0x1cb)](_0x501002(0x1b4))['to'](this),_0x21be20;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11d814=_0x2098;function _0x2098(_0x5e1a4d,_0x311c92){const _0x2ee167=_0x2ee1();return _0x2098=function(_0x209804,_0x2e780d){_0x209804=_0x209804-0x19d;let _0x11a62c=_0x2ee167[_0x209804];return _0x11a62c;},_0x2098(_0x5e1a4d,_0x311c92);}(function(_0x5e9e0e,_0x4fc800){const _0x420436=_0x2098,_0xb2bd57=_0x5e9e0e();while(!![]){try{const _0x88ef36=parseInt(_0x420436(0x1b9))/0x1*(parseInt(_0x420436(0x1b3))/0x2)+parseInt(_0x420436(0x1bd))/0x3*(-parseInt(_0x420436(0x1be))/0x4)+parseInt(_0x420436(0x1a2))/0x5+parseInt(_0x420436(0x1b1))/0x6*(parseInt(_0x420436(0x1a1))/0x7)+parseInt(_0x420436(0x1b0))/0x8+-parseInt(_0x420436(0x1c1))/0x9+-parseInt(_0x420436(0x1c2))/0xa;if(_0x88ef36===_0x4fc800)break;else _0xb2bd57['push'](_0xb2bd57['shift']());}catch(_0x1f0623){_0xb2bd57['push'](_0xb2bd57['shift']());}}}(_0x2ee1,0x424fa));import{View as _0x26bfb4}from'ckeditor5/src/ui.js';import{CommentInputView as _0x264314}from'./commentinputview.js';import{UserView as _0x519a65}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2ee1(){const _0x3ccb0e=['target','contains','334120ctYHvH','534NcluGj','ck-comment__input-container','34MxRtwp','set','delegate','userView','ck-comment__input-container--active','getDomRoot','8209RhOAqF','div','destroy','showInput','42666qKSQfg','32TsvmMI','bindTemplate','isFocused','2254626XPpWAh','4262910RiBFyl','view','preventDefault','editing','commentInputView','focus','then','ck-thread__user','mousedown','setTemplate','editorReady','showButtons','focusCycler','ck-thread__input','some','editorDestroyed','element','42182VkRTcu','1722795eAKuqx','change:showInput','createEditor','render','focusTracker','editor','filter','extendTemplate','bind','_focusOnNonInteractiveMouseDown','listenTo','value'];_0x2ee1=function(){return _0x3ccb0e;};return _0x2ee1();}export class CommentThreadInputView extends _0x26bfb4{constructor(_0xbbceaa,_0x557e6f,_0x5103ce){const _0x226cd0=_0x2098;super(_0xbbceaa),this[_0x226cd0(0x1c6)]=new _0x264314(_0xbbceaa,_0x5103ce),this[_0x226cd0(0x1ce)]=this[_0x226cd0(0x1c6)][_0x226cd0(0x1ce)],this[_0x226cd0(0x1c6)][_0x226cd0(0x1aa)](_0x226cd0(0x1cd))['to'](this[_0x226cd0(0x1c6)][_0x226cd0(0x1a6)],_0x226cd0(0x1c0),this[_0x226cd0(0x1c6)],_0x226cd0(0x1ad),(_0x46319f,_0x501818)=>_0x46319f||!!_0x501818),this[_0x226cd0(0x1b4)](_0x226cd0(0x1bc),!0x1),this['on'](_0x226cd0(0x1a3),()=>{const _0x2a46ee=_0x226cd0;this[_0x2a46ee(0x1bc)]&&!this[_0x2a46ee(0x1c6)][_0x2a46ee(0x1a7)]&&this[_0x2a46ee(0x1c6)][_0x2a46ee(0x1a4)]();}),this[_0x226cd0(0x1c6)][_0x226cd0(0x1b5)](_0x226cd0(0x1cc))['to'](this),this[_0x226cd0(0x1c6)][_0x226cd0(0x1b5)](_0x226cd0(0x19f))['to'](this),this[_0x226cd0(0x1b6)]=new _0x519a65(_0xbbceaa,_0x557e6f),this[_0x226cd0(0x1b6)][_0x226cd0(0x1a9)]({'attributes':{'class':_0x226cd0(0x1c9),'aria-hidden':!0x0}}),this[_0x226cd0(0x1c6)][_0x226cd0(0x1a9)]({'attributes':{'class':_0x226cd0(0x19d)}}),this[_0x226cd0(0x1cb)]({'tag':_0x226cd0(0x1ba),'attributes':{'class':[_0x226cd0(0x1b2),this[_0x226cd0(0x1bf)]['if'](_0x226cd0(0x1bc),_0x226cd0(0x1b7))]},'children':[this[_0x226cd0(0x1b6)],this[_0x226cd0(0x1c6)]]});}[_0x11d814(0x1a5)](){const _0x155649=_0x11d814;super[_0x155649(0x1a5)](),this[_0x155649(0x1ab)]();}[_0x11d814(0x1bb)](){const _0x3a7ae8=_0x11d814;return this[_0x3a7ae8(0x1c6)][_0x3a7ae8(0x1bb)]()[_0x3a7ae8(0x1c8)](()=>super[_0x3a7ae8(0x1bb)]());}[_0x11d814(0x1c7)](_0x3d81c7){const _0x294d32=_0x11d814;this[_0x294d32(0x1c6)][_0x294d32(0x1c7)](_0x3d81c7);}[_0x11d814(0x1ab)](){const _0x261876=_0x11d814;this[_0x261876(0x1ac)](this[_0x261876(0x1a0)],_0x261876(0x1ca),(_0x2915be,_0x2c3986)=>{const _0x2cedbe=_0x261876,{submitButtonView:_0x16a9ea,cancelButtonView:_0x29b9f9,editor:_0x2494bd}=this[_0x2cedbe(0x1c6)];[_0x16a9ea[_0x2cedbe(0x1a0)],_0x29b9f9[_0x2cedbe(0x1a0)],_0x2494bd?_0x2494bd[_0x2cedbe(0x1c5)][_0x2cedbe(0x1c3)][_0x2cedbe(0x1b8)]():null][_0x2cedbe(0x1a8)](_0x303a4c=>_0x303a4c)[_0x2cedbe(0x19e)](_0x3e3ec1=>_0x3e3ec1[_0x2cedbe(0x1af)](_0x2c3986[_0x2cedbe(0x1ae)]))||(this[_0x2cedbe(0x1c7)](),_0x2c3986[_0x2cedbe(0x1c4)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x441a(_0x3d8ec5,_0x1051c5){const _0x3fe794=_0x3fe7();return _0x441a=function(_0x441af6,_0x481bd6){_0x441af6=_0x441af6-0x19b;let _0x15cf43=_0x3fe794[_0x441af6];return _0x15cf43;},_0x441a(_0x3d8ec5,_0x1051c5);}const _0x471c26=_0x441a;(function(_0x5893ad,_0x26a4fe){const _0x239c7e=_0x441a,_0x5c5ef9=_0x5893ad();while(!![]){try{const _0x563401=parseInt(_0x239c7e(0x1c0))/0x1+parseInt(_0x239c7e(0x1d6))/0x2+-parseInt(_0x239c7e(0x1cc))/0x3*(parseInt(_0x239c7e(0x1a2))/0x4)+parseInt(_0x239c7e(0x1f1))/0x5*(-parseInt(_0x239c7e(0x1da))/0x6)+parseInt(_0x239c7e(0x1bb))/0x7+parseInt(_0x239c7e(0x1e6))/0x8*(parseInt(_0x239c7e(0x19b))/0x9)+-parseInt(_0x239c7e(0x1e8))/0xa;if(_0x563401===_0x26a4fe)break;else _0x5c5ef9['push'](_0x5c5ef9['shift']());}catch(_0x45af8c){_0x5c5ef9['push'](_0x5c5ef9['shift']());}}}(_0x3fe7,0x1ff39));import{ConfirmMixin as _0x2974c6,LateFocusButtonView as _0x4a29e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x57e180}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x31a45c}from'./basecommentthreadview.js';import{getTranslation as _0x19694f}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2974c6(_0x31a45c){[_0x471c26(0x1b9)];[_0x471c26(0x1b1)];[_0x471c26(0x1ca)];[_0x471c26(0x1cf)];constructor(_0x24b14a,_0x38ba50,_0x490bab,_0x2b6809){const _0x5d6ba8=_0x471c26;super(_0x24b14a,_0x38ba50,_0x490bab,_0x2b6809),this[_0x5d6ba8(0x1b9)]=this[_0x5d6ba8(0x1d5)]([this[_0x5d6ba8(0x1d7)],this[_0x5d6ba8(0x1eb)],this[_0x5d6ba8(0x1f0)]]),this[_0x5d6ba8(0x1c5)](_0x5d6ba8(0x1a1),null),this[_0x5d6ba8(0x1b1)]=null,this[_0x5d6ba8(0x1cf)]=null,this[_0x5d6ba8(0x1d2)]=_0x24b14a,this[_0x5d6ba8(0x1ca)]=this[_0x5d6ba8(0x1ed)](),this[_0x5d6ba8(0x1db)](this[_0x5d6ba8(0x1cd)]()),this['on'](_0x5d6ba8(0x1a8),(_0x90d4e8,_0x5acad3,_0x5afee1)=>{const _0x158d98=_0x5d6ba8;_0x5afee1||this[_0x158d98(0x1ae)]();}),this[_0x5d6ba8(0x1ef)](this[_0x5d6ba8(0x19d)],_0x5d6ba8(0x1a6),(_0x542239,_0x2ddbe0,_0x2dfe79)=>{const _0x5dae07=_0x5d6ba8;_0x2dfe79&&this[_0x5dae07(0x1ae)]();}),this[_0x5d6ba8(0x1b4)]>0x0&&this[_0x5d6ba8(0x19c)](),this[_0x5d6ba8(0x1ef)](this[_0x5d6ba8(0x1d7)][_0x5d6ba8(0x1f4)],_0x5d6ba8(0x1ea),()=>{const _0x269048=_0x5d6ba8;this[_0x269048(0x19c)]();});}[_0x471c26(0x1cd)](){const _0x3e374b=_0x471c26,_0x57605b=this[_0x3e374b(0x1d8)];return{'tag':_0x3e374b(0x1c1),'attributes':{'class':['ck',_0x3e374b(0x1cb),_0x3e374b(0x1e0),_0x3e374b(0x1b2),_0x57605b['if'](_0x3e374b(0x19e),_0x3e374b(0x1a4)),_0x57605b['if'](_0x3e374b(0x1bc),_0x3e374b(0x1bd)),_0x57605b['if'](_0x3e374b(0x1ce),_0x3e374b(0x19f)),_0x57605b['to'](_0x3e374b(0x1a1),_0xfec1=>_0xfec1?_0x3e374b(0x1e2)+_0xfec1:'')],'data-thread-id':this[_0x3e374b(0x19d)]['id'],'tabindex':0x0,'role':_0x3e374b(0x1e5),'aria-label':_0x57605b['to'](_0x3e374b(0x1d4)),'aria-describedby':this[_0x3e374b(0x1f0)]['id']},'children':[{'tag':_0x3e374b(0x1c1),'attributes':{'class':_0x3e374b(0x1c7)},'children':this[_0x3e374b(0x1b9)]}]};}[_0x471c26(0x1a0)](){const _0x2c0e82=_0x471c26;super[_0x2c0e82(0x1a0)](),this[_0x2c0e82(0x1b1)]=this[_0x2c0e82(0x1ec)][_0x2c0e82(0x1dd)](_0x2c0e82(0x1b8)),this[_0x2c0e82(0x19d)]['on'](_0x2c0e82(0x1a9),()=>{const _0x2b3c96=_0x2c0e82;this[_0x2b3c96(0x1e4)]();}),this[_0x2c0e82(0x1e4)]();}[_0x471c26(0x1ae)](){const _0x12ea67=_0x471c26;this[_0x12ea67(0x1a7)]();for(const _0x16d298 of this[_0x12ea67(0x1d7)][_0x12ea67(0x1f4)])_0x16d298[_0x12ea67(0x1a7)]();}[_0x471c26(0x19c)](){const _0x443bb9=_0x471c26,{locale:_0x49e7db}=this,_0xeebd65=this[_0x443bb9(0x1d7)][_0x443bb9(0x1f4)][_0x443bb9(0x1ee)](0x0);_0xeebd65===this[_0x443bb9(0x1cf)]||_0xeebd65[_0x443bb9(0x1be)]||(this[_0x443bb9(0x1cf)]=_0xeebd65,this[_0x443bb9(0x1df)](_0x443bb9(0x1a1)),this[_0x443bb9(0x1dc)](_0x443bb9(0x1a1))['to'](_0xeebd65,_0x443bb9(0x1a1),_0x1daed6=>_0x443bb9(0x1c4)===_0x1daed6?_0x443bb9(0x1c4):null),_0xeebd65[_0x443bb9(0x1c2)]=_0x19694f(_0x49e7db,_0x443bb9(0x1ab)),_0xeebd65[_0x443bb9(0x1f3)]['on'](_0x443bb9(0x1b0),_0x1b4fb2=>{const _0x781132=_0x443bb9;_0x1b4fb2[_0x781132(0x1d9)](),this[_0x781132(0x1f2)](_0x19694f(_0x49e7db,_0x781132(0x1e9)),this[_0x781132(0x1b1)])[_0x781132(0x1e1)](()=>{const _0x448aae=_0x781132;this[_0x448aae(0x1a3)](_0x448aae(0x1b3));});},{'priority':_0x443bb9(0x1ac)}),this['on'](_0x443bb9(0x1b6),()=>{const _0x8f6194=_0x443bb9;_0xeebd65[_0x8f6194(0x1c8)]();}),_0xeebd65[_0x443bb9(0x1d0)][_0x443bb9(0x1ea)](this[_0x443bb9(0x1ca)],0x0),_0xeebd65[_0x443bb9(0x1ad)][_0x443bb9(0x1ea)](this[_0x443bb9(0x1ca)],0x0));}[_0x471c26(0x1ed)](){const _0x700248=_0x471c26,_0x22e121=new _0x4a29e4(this[_0x700248(0x1d2)]);return _0x22e121[_0x700248(0x1d1)]=_0x19694f(this[_0x700248(0x1d2)],_0x700248(0x1c3)),_0x22e121[_0x700248(0x1a5)]=_0x19694f(this[_0x700248(0x1d2)],_0x700248(0x1c3)),_0x22e121[_0x700248(0x1e7)]=_0x57e180,_0x22e121[_0x700248(0x1ba)]({'attributes':{'class':_0x700248(0x1aa)}}),_0x22e121[_0x700248(0x1dc)](_0x700248(0x1b7))['to'](this[_0x700248(0x19d)],_0x700248(0x1af),_0x4e4f21=>!_0x4e4f21),_0x22e121[_0x700248(0x1dc)](_0x700248(0x1c6))['to'](this[_0x700248(0x19d)],_0x700248(0x1de),this[_0x700248(0x19d)],_0x700248(0x1d3),(_0xeb6f2f,_0xe08144)=>_0xeb6f2f&&!_0xe08144),_0x22e121['on'](_0x700248(0x1b0),()=>{const _0x2f4917=_0x700248;this[_0x2f4917(0x1a3)](_0x2f4917(0x1b5),this[_0x2f4917(0x19d)]['id']);}),_0x22e121;}[_0x471c26(0x1e4)](){const _0x4582bf=_0x471c26;this[_0x4582bf(0x19d)][_0x4582bf(0x1c9)]?this[_0x4582bf(0x1b9)][_0x4582bf(0x1bf)](this[_0x4582bf(0x1e3)])||(this[_0x4582bf(0x1b9)][_0x4582bf(0x1ea)](this[_0x4582bf(0x1e3)],0x0),this[_0x4582bf(0x1ad)][_0x4582bf(0x1ea)](this[_0x4582bf(0x1e3)],0x0)):this[_0x4582bf(0x1b9)][_0x4582bf(0x1bf)](this[_0x4582bf(0x1e3)])&&(this[_0x4582bf(0x1b9)][_0x4582bf(0x1c4)](this[_0x4582bf(0x1e3)]),this[_0x4582bf(0x1ad)][_0x4582bf(0x1c4)](this[_0x4582bf(0x1e3)]));}}function _0x3fe7(){const _0x100318=['619633uMVgtz','isUnlinked','ck-thread--unlinked','isSystemComment','has','94313AepNgJ','div','placeholder','Resolve','remove','set','isVisible','ck-thread__container','focus','archivedAt','resolveButton','ck-thread','3lrsrue','getTemplate','isConfirm','_boundFirstCommentView','actionBar','label','locale','isResolved','ariaLabel','createCollection','295324fjaVxB','commentsListView','bindTemplate','stop','18GFuJSd','setTemplate','bind','querySelector','isResolvable','unbind','ck-reset_all-excluded','then','ck-thread--','commentThreadHeaderView','_updateArchivedThreadHeader','listitem','8zRoJXT','icon','2621900pvJIEG','Delete\x20comment\x20thread?','add','commentThreadInputView','element','_createResolveButton','get','listenTo','ariaDescriptionView','19265nkeywh','showConfirm','removeButton','commentViews','1198377cZWZSE','_bindFirstCommentView','_model','isActive','ck-thread--remove-confirmation','render','actionIndicator','236100pCfHfy','fire','ck-thread--active','tooltip','change:isReadOnly','cancelConfirm','change:isActive','change:archivedAt','ck-comment--resolve','Write\x20a\x20comment...','high','focusables','_cancelAllConfirms','isReadOnly','execute','containerElement','ck-rounded-corners','removeCommentThread','length','resolveCommentThread','removeConfirm','isEnabled','.ck-thread__container','commentThreadChildren','extendTemplate'];_0x3fe7=function(){return _0x100318;};return _0x3fe7();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x559aff=_0x2a7b;function _0x25fa(){const _0x346bb5=['listitem','isConfirm','unbind','ck-annotation__main','icon','focus','add','actionIndicator','createCollection','_config','isRemovable','formatDateTime','ck-comment--edit','withText','Edit','addMany','ck-comment','Show\x20more\x20items','visibleView','bindTemplate','length','panelPosition','panelView','ck-annotation','_model','isEditMode','div','children','Remove','ck-annotation__user','focusables','removeButton','ck-hidden','some','ck-comment__wrapper','userView','_createCommentInputView','dropdown','ck-comment--remove-confirmation','switchToEditMode','name','ck-annotation__info','authoredAt','render','ck-comment__external','group','ck-comment__info-name','element','label','removeComment','author','1275696HrxZsi','then','setTemplate','set','ck-comment--','buttonView','3976448gtlhwP','extendTemplate','toMany','1157132QfedIL','find','change:isRemovable','resolvedAt','961670MiftdI','span','ck-comment--remove','blur','showConfirm','ck-annotation__content-wrapper','from','_attachActions','bind','editButton','980910fjKnkn','edit','ck-comment__main','mouseenter','ck-comment--info','time','_createDropdown','ck-annotation__info-time','getUserViewNotificationText','placeholder','Reply...','getExternalCommentNote','210184meqTdG','listenTo','remove','ck-annotation__actions--hidden','ariaLabel','Delete\x20comment?','ck-comment__info','actionBar','execute','ck-annotation__actions','items','isVisible','fire','locale','ck-annotation__info-name','ck-comment__actions','ariaDescriptionView','isSystemComment','ck-comment__actions--hidden','ck-comment__info-time','isEditable','mouseleave','cancelConfirm','isExternal','isReadOnly','_createRemoveButton','ck-comment__user','1519407oTBGXt','push','_createEditButton','getTemplate','isEnabled'];_0x25fa=function(){return _0x346bb5;};return _0x25fa();}(function(_0xe7a4a1,_0x50c778){const _0xfbd1aa=_0x2a7b,_0x5eb18d=_0xe7a4a1();while(!![]){try{const _0x44f32c=-parseInt(_0xfbd1aa(0xde))/0x1+-parseInt(_0xfbd1aa(0x13a))/0x2+parseInt(_0xfbd1aa(0xf9))/0x3+-parseInt(_0xfbd1aa(0x131))/0x4+parseInt(_0xfbd1aa(0x13e))/0x5+parseInt(_0xfbd1aa(0xd2))/0x6+parseInt(_0xfbd1aa(0x137))/0x7;if(_0x44f32c===_0x50c778)break;else _0x5eb18d['push'](_0x5eb18d['shift']());}catch(_0x1ddd2a){_0x5eb18d['push'](_0x5eb18d['shift']());}}}(_0x25fa,0x4ec76));function _0x2a7b(_0x2a822c,_0x51b6e9){const _0x25fa83=_0x25fa();return _0x2a7b=function(_0x2a7bb9,_0xc1eb24){_0x2a7bb9=_0x2a7bb9-0xd2;let _0x531dfd=_0x25fa83[_0x2a7bb9];return _0x531dfd;},_0x2a7b(_0x2a822c,_0x51b6e9);}import{IconRemoveComment as _0x36f9bc,IconPencil as _0x2938cf,IconThreeVerticalDots as _0x774cdb}from'ckeditor5/src/icons.js';import{ButtonView as _0x3886db,createDropdown as _0x2deb0a,ListView as _0x80f9dc,ListItemView as _0x447595,focusChildOnDropdownOpen as _0xd59144}from'ckeditor5/src/ui.js';import{UserView as _0x436b88,ConfirmMixin as _0x5b54ac,LateFocusDropdownButtonView as _0x4589fb}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x4200b4}from'./basecommentview.js';import{getTranslation as _0x1e94fd}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5b54ac(_0x4200b4){[_0x559aff(0xe5)];[_0x559aff(0x121)];constructor(_0x199d01,_0x4a8920,_0x59bccb){const _0x35e5e5=_0x559aff;super(_0x199d01,_0x4a8920,_0x59bccb),this[_0x35e5e5(0x134)](_0x35e5e5(0x105),null),this[_0x35e5e5(0x134)](_0x35e5e5(0xdb),_0x1e94fd(_0x199d01,_0x35e5e5(0xdc))),this[_0x35e5e5(0x146)](_0x35e5e5(0x128))['to'](_0x4a8920),this[_0x35e5e5(0x146)](_0x35e5e5(0x13d))['to'](_0x4a8920),this[_0x35e5e5(0xe5)]=this[_0x35e5e5(0x106)](),this[_0x35e5e5(0xef)]||(this[_0x35e5e5(0x147)]=this[_0x35e5e5(0xfb)](),this[_0x35e5e5(0x11d)]=this[_0x35e5e5(0xf7)](),this[_0x35e5e5(0xe8)]=this[_0x35e5e5(0x106)](),this[_0x35e5e5(0xe8)][_0x35e5e5(0x10d)]([this[_0x35e5e5(0x147)],this[_0x35e5e5(0x11d)]]),this[_0x35e5e5(0x123)]=this[_0x35e5e5(0xd8)](),this[_0x35e5e5(0xe5)][_0x35e5e5(0x104)](this[_0x35e5e5(0x123)]),this[_0x35e5e5(0x11c)][_0x35e5e5(0x104)](this[_0x35e5e5(0x123)])),this[_0x35e5e5(0x121)]=new _0x436b88(_0x199d01,_0x4a8920[_0x35e5e5(0x130)],this[_0x35e5e5(0xda)]()),this[_0x35e5e5(0x121)][_0x35e5e5(0x138)]({'attributes':{'class':[_0x35e5e5(0xf8),_0x35e5e5(0x11b)],'aria-hidden':!0x0}}),this[_0x35e5e5(0xdf)](_0x4a8920,_0x35e5e5(0x13c),()=>this[_0x35e5e5(0xf4)]()),this[_0x35e5e5(0x133)](this[_0x35e5e5(0xfc)]());}[_0x559aff(0xfc)](){const _0x55ffa4=_0x559aff,_0xf63437=this[_0x55ffa4(0x111)],_0x5eba86=[{'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0xe4),_0x55ffa4(0x127)]},'children':[{'tag':_0x55ffa4(0x13f),'children':[{'text':this[_0x55ffa4(0x121)][_0x55ffa4(0x126)]}],'attributes':{'class':[_0x55ffa4(0x12c),_0x55ffa4(0xec)],'data-cke-tooltip-text':this[_0x55ffa4(0x121)][_0x55ffa4(0x126)]}},{'tag':_0x55ffa4(0xd7),'attributes':{'datetime':_0xf63437['to'](_0x55ffa4(0x128)),'class':[_0x55ffa4(0xf1),_0x55ffa4(0xd9)]},'children':[{'text':_0xf63437['to'](_0x55ffa4(0x128),_0x4e859b=>this[_0x55ffa4(0x107)][_0x55ffa4(0x109)](_0x4e859b))}]}]},{'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0xed),_0x55ffa4(0xe7),_0xf63437['if'](_0x55ffa4(0x117),_0x55ffa4(0xf0)),_0xf63437['if'](_0x55ffa4(0x117),_0x55ffa4(0xe1))]},'children':this[_0x55ffa4(0xe5)]},{'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0x143)]},'children':this[_0x55ffa4(0x110)]},this[_0x55ffa4(0xee)]];return this[_0x55ffa4(0x116)][_0x55ffa4(0xf5)]&&_0x5eba86[_0x55ffa4(0xfa)]({'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0x12a)]},'children':[{'text':this[_0x55ffa4(0xdd)]()}]}),{'tag':'li','attributes':{'class':[_0x55ffa4(0x120),_0xf63437['if'](_0x55ffa4(0xff),_0x55ffa4(0x124))],'tabindex':-0x1,'aria-label':_0xf63437['to'](_0x55ffa4(0xe2)),'aria-describedby':this[_0x55ffa4(0xee)]['id'],'role':_0x55ffa4(0xfe)},'children':[{'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0x10e),_0x55ffa4(0x115),_0xf63437['if'](_0x55ffa4(0x117),_0x55ffa4(0x10a)),_0xf63437['if'](_0x55ffa4(0xef),_0x55ffa4(0xd6)),_0xf63437['to'](_0x55ffa4(0x105),_0x4266dd=>_0x4266dd?_0x55ffa4(0x135)+_0x4266dd:'')],'data-author-id':this[_0x55ffa4(0x116)][_0x55ffa4(0x130)]['id'],'data-comment-id':this[_0x55ffa4(0x116)]['id'],'role':_0x55ffa4(0x12b)},'children':[this[_0x55ffa4(0x121)],{'tag':_0x55ffa4(0x118),'attributes':{'class':[_0x55ffa4(0xd4),_0x55ffa4(0x101)]},'children':_0x5eba86}]}]};}[_0x559aff(0xfb)](){const _0xecb2c1=_0x559aff,_0x1f2849=new _0x3886db(this[_0xecb2c1(0xeb)]);return _0x1f2849[_0xecb2c1(0x12e)]=_0x1e94fd(this[_0xecb2c1(0xeb)],_0xecb2c1(0x10c)),_0x1f2849[_0xecb2c1(0x102)]=_0x2938cf,_0x1f2849[_0xecb2c1(0x10b)]=!0x0,_0x1f2849[_0xecb2c1(0x138)]({'attributes':{'class':_0xecb2c1(0x10a)}}),_0x1f2849[_0xecb2c1(0x146)](_0xecb2c1(0xfd))['to'](this[_0xecb2c1(0x116)],_0xecb2c1(0xf6),_0x26e6bf=>!_0x26e6bf),_0x1f2849[_0xecb2c1(0x146)](_0xecb2c1(0xe9))['to'](this[_0xecb2c1(0x116)],_0xecb2c1(0xf2)),_0x1f2849['on'](_0xecb2c1(0xe6),()=>this[_0xecb2c1(0x125)]()),_0x1f2849;}[_0x559aff(0xf7)](){const _0x4099d3=_0x559aff,_0x43551a=new _0x3886db(this[_0x4099d3(0xeb)]);return _0x43551a[_0x4099d3(0x12e)]=_0x1e94fd(this[_0x4099d3(0xeb)],_0x4099d3(0x11a)),_0x43551a[_0x4099d3(0x102)]=_0x36f9bc,_0x43551a[_0x4099d3(0x10b)]=!0x0,_0x43551a[_0x4099d3(0x138)]({'attributes':{'class':_0x4099d3(0x140)}}),_0x43551a[_0x4099d3(0x146)](_0x4099d3(0xfd))['to'](this[_0x4099d3(0x116)],_0x4099d3(0xf6),_0x5f2a56=>!_0x5f2a56),_0x43551a[_0x4099d3(0x146)](_0x4099d3(0xe9))['to'](this[_0x4099d3(0x116)],_0x4099d3(0x108)),_0x43551a['on'](_0x4099d3(0xe6),()=>{const _0x5d9c92=_0x4099d3;this[_0x5d9c92(0x142)](_0x1e94fd(this[_0x5d9c92(0xeb)],_0x5d9c92(0xe3)),this[_0x5d9c92(0x12d)])[_0x5d9c92(0x132)](()=>{const _0x10d021=_0x5d9c92;this[_0x10d021(0xea)](_0x10d021(0x12f),this[_0x10d021(0x116)]['id']);});}),_0x43551a;}[_0x559aff(0xd8)](){const _0x463b06=_0x559aff,_0x380d6f=_0x2deb0a(this[_0x463b06(0xeb)],_0x4589fb),_0x41151c=_0x380d6f[_0x463b06(0x114)][_0x463b06(0x119)],_0x1c872b=new _0x80f9dc(this[_0x463b06(0xeb)]),_0x379d60=_0x380d6f[_0x463b06(0x111)];_0xd59144(_0x380d6f,()=>this[_0x463b06(0xe8)][_0x463b06(0x13b)](_0x5a37a1=>_0x5a37a1[_0x463b06(0xe9)])),_0x380d6f[_0x463b06(0x138)]({'attributes':{'class':[_0x379d60['if'](_0x463b06(0xe9),_0x463b06(0x11e),_0x279023=>!_0x279023)]}});const _0x50e51d=(_0x36f15c,_0x201dc2=-0x1)=>{const _0x1425cc=_0x463b06,_0x4f8a69=new _0x447595(this[_0x1425cc(0xeb)]);_0x4f8a69[_0x1425cc(0x119)][_0x1425cc(0x104)](_0x36f15c);const _0x331ad5=_0x201dc2>-0x1?_0x201dc2:_0x1c872b[_0x1425cc(0xe8)][_0x1425cc(0x112)];_0x1c872b[_0x1425cc(0xe8)][_0x1425cc(0x104)](_0x4f8a69,_0x331ad5);const _0x550379=Array[_0x1425cc(0x144)](this[_0x1425cc(0xe8)]);_0x380d6f[_0x1425cc(0x100)](_0x1425cc(0xfd),_0x1425cc(0xe9)),_0x380d6f[_0x1425cc(0x146)](_0x1425cc(0xfd))[_0x1425cc(0x139)](_0x550379,_0x1425cc(0xfd),(..._0x31e1ca)=>_0x31e1ca[_0x1425cc(0x11f)](_0x4cd45d=>_0x4cd45d)),_0x380d6f[_0x1425cc(0x146)](_0x1425cc(0xe9))[_0x1425cc(0x139)](_0x550379,_0x1425cc(0xe9),(..._0x1e08f9)=>_0x1e08f9[_0x1425cc(0x11f)](_0x3caf3d=>_0x3caf3d));};_0x380d6f[_0x463b06(0x113)]='sw',_0x380d6f[_0x463b06(0x136)][_0x463b06(0x134)]({'label':_0x1e94fd(this[_0x463b06(0xeb)],_0x463b06(0x10f)),'icon':_0x774cdb});for(const _0x4b9391 of this[_0x463b06(0xe8)])_0x50e51d(_0x4b9391);return _0x41151c[_0x463b06(0x104)](_0x1c872b),_0x380d6f[_0x463b06(0xdf)](this[_0x463b06(0xe8)],_0x463b06(0x104),(_0x3a7761,_0x41bcda,_0x10ec5b)=>{_0x50e51d(_0x41bcda,_0x10ec5b);}),_0x380d6f[_0x463b06(0xdf)](this[_0x463b06(0xe8)],_0x463b06(0xe0),(_0x351bc6,_0x1f16d3,_0x568463)=>{const _0x49e7b8=_0x463b06;_0x1c872b[_0x49e7b8(0xe8)][_0x49e7b8(0xe0)](_0x568463);}),_0x380d6f;}[_0x559aff(0x145)](_0x1cc9ae,_0x3e4a96){const _0xd0f5b6=_0x559aff,_0x548ef8=_0x1cc9ae&&_0x1cc9ae[_0xd0f5b6(0x12d)];_0x548ef8&&(this[_0xd0f5b6(0xdf)](_0x548ef8,_0xd0f5b6(0xd5),()=>this[_0xd0f5b6(0x105)]=_0x3e4a96),this[_0xd0f5b6(0xdf)](_0x548ef8,_0xd0f5b6(0x103),()=>this[_0xd0f5b6(0x105)]=_0x3e4a96),this[_0xd0f5b6(0xdf)](_0x548ef8,_0xd0f5b6(0xf3),()=>this[_0xd0f5b6(0x105)]=null),this[_0xd0f5b6(0xdf)](_0x548ef8,_0xd0f5b6(0x141),()=>this[_0xd0f5b6(0x105)]=null));}[_0x559aff(0x122)](){const _0x7b5de8=_0x559aff,_0x5b298c=super[_0x7b5de8(0x122)]();return _0x5b298c[_0x7b5de8(0x146)](_0x7b5de8(0xdb))['to'](this),_0x5b298c;}[_0x559aff(0x129)](){const _0x588dca=_0x559aff;super[_0x588dca(0x129)](),this[_0x588dca(0x145)](this[_0x588dca(0x147)],_0x588dca(0xd3)),this[_0x588dca(0x145)](this[_0x588dca(0x11d)],_0x588dca(0xe0));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5499(){var _0x942129=['1468GzCOOU','pluginName','isOfficialPlugin','requires','108930nvXyio','1471956zuPsmi','1839URogUl','842165AbeYEa','267586BKebCF','Comments','243pHNcqB','isPremiumPlugin','120312AnypHP','813078hChnZn'];_0x5499=function(){return _0x942129;};return _0x5499();}var _0x3c831c=_0x5613;function _0x5613(_0x5352ee,_0x18e377){var _0x5499fb=_0x5499();return _0x5613=function(_0x56139a,_0xef27e){_0x56139a=_0x56139a-0xcb;var _0x4cd597=_0x5499fb[_0x56139a];return _0x4cd597;},_0x5613(_0x5352ee,_0x18e377);}(function(_0x4aee49,_0x2dd202){var _0x68f1bc=_0x5613,_0x14a465=_0x4aee49();while(!![]){try{var _0x2f63dc=parseInt(_0x68f1bc(0xcc))/0x1+-parseInt(_0x68f1bc(0xd2))/0x2*(-parseInt(_0x68f1bc(0xd8))/0x3)+-parseInt(_0x68f1bc(0xd7))/0x4+parseInt(_0x68f1bc(0xcb))/0x5+parseInt(_0x68f1bc(0xd6))/0x6+parseInt(_0x68f1bc(0xd1))/0x7+parseInt(_0x68f1bc(0xd0))/0x8*(-parseInt(_0x68f1bc(0xce))/0x9);if(_0x2f63dc===_0x2dd202)break;else _0x14a465['push'](_0x14a465['shift']());}catch(_0x1d8998){_0x14a465['push'](_0x14a465['shift']());}}}(_0x5499,0x3c1d4));import{Plugin as _0xa58b4f}from'ckeditor5/src/core.js';import{CommentsRepository as _0x4ce389}from'./comments/commentsrepository.js';import{CommentsEditing as _0x2b345a}from'./comments/commentsediting.js';import{CommentsUI as _0x3c7ce9}from'./comments/commentsui.js';import{CommentsOnly as _0x269720}from'./commentsonly.js';import{WideSidebar as _0x655c8a}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x19fa4a}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x412e1f}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3cb547}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0xe07fd2}from'./comments/commentsarchive.js';export class Comments extends _0xa58b4f{static get[_0x3c831c(0xd5)](){return[_0x4ce389,_0x2b345a,_0x3c7ce9,_0xe07fd2,_0x3cb547,_0x269720,_0x655c8a,_0x19fa4a,_0x412e1f];}static get[_0x3c831c(0xd3)](){var _0x38c2be=_0x3c831c;return _0x38c2be(0xcd);}static get[_0x3c831c(0xd4)](){return!0x0;}static get[_0x3c831c(0xcf)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6ea3ee=_0x37b1;(function(_0x2c8d53,_0x2ed05e){const _0x3a1ea2=_0x37b1,_0x65f3a=_0x2c8d53();while(!![]){try{const _0x5f395c=parseInt(_0x3a1ea2(0x131))/0x1*(-parseInt(_0x3a1ea2(0x145))/0x2)+-parseInt(_0x3a1ea2(0x12a))/0x3+parseInt(_0x3a1ea2(0x147))/0x4*(parseInt(_0x3a1ea2(0x144))/0x5)+parseInt(_0x3a1ea2(0x140))/0x6+parseInt(_0x3a1ea2(0x13e))/0x7+-parseInt(_0x3a1ea2(0x130))/0x8+parseInt(_0x3a1ea2(0x129))/0x9*(parseInt(_0x3a1ea2(0x142))/0xa);if(_0x5f395c===_0x2ed05e)break;else _0x65f3a['push'](_0x65f3a['shift']());}catch(_0x1e46ff){_0x65f3a['push'](_0x65f3a['shift']());}}}(_0x37f1,0xaa811));import{Plugin as _0x2166ea}from'ckeditor5/src/core.js';import{CommentsEditing as _0x31adb5}from'./comments/commentsediting.js';function _0x37b1(_0x3f036d,_0x3295e7){const _0x37f142=_0x37f1();return _0x37b1=function(_0x37b151,_0x32f6f5){_0x37b151=_0x37b151-0x11a;let _0x2b85dd=_0x37f142[_0x37b151];return _0x2b85dd;},_0x37b1(_0x3f036d,_0x3295e7);}function _0x37f1(){const _0x120cf8=['isOfficialPlugin','document','SourceEditing','editSource','afterInit','7852224NgUfRf','1368986hHTpaV','_enableCommentsOnlyMode','listenTo','highest','delete','CommentsOnly','view','plugins','cut','forceDisabled','_disableCommentsOnlyMode','isPremiumPlugin','has','7329105IuNMLj','addCommentThread','7550820FvyEua','affectsData','1714220bzztJw','editing','5031905ksdkQX','2AQDmbA','config','4OBydrS','isEnabled','set','requires','stop','clipboardInput','editor','commentsOnly','pluginName','DragDrop','commentsOnlyMode','stopListening','commands','clearForceDisabled','change:isEnabled','get','18fFNtJF','1817433UceCCo'];_0x37f1=function(){return _0x120cf8;};return _0x37f1();}export class CommentsOnly extends _0x2166ea{static get[_0x6ea3ee(0x121)](){const _0x2dc252=_0x6ea3ee;return _0x2dc252(0x136);}static get[_0x6ea3ee(0x12b)](){return!0x0;}static get[_0x6ea3ee(0x13c)](){return!0x0;}static get[_0x6ea3ee(0x11c)](){return[_0x31adb5];}constructor(_0x26cbb2){const _0x37602a=_0x6ea3ee;super(_0x26cbb2),this[_0x37602a(0x11b)](_0x37602a(0x11a),!0x1),this['on'](_0x37602a(0x127),(_0x584c0e,_0xe07096,_0x412956)=>{const _0x2faa12=_0x37602a;_0x412956?this[_0x2faa12(0x132)]():this[_0x2faa12(0x13b)]();});}[_0x6ea3ee(0x12f)](){const _0x2d50c2=_0x6ea3ee;!this[_0x2d50c2(0x11a)]&&this[_0x2d50c2(0x11f)][_0x2d50c2(0x146)][_0x2d50c2(0x128)](_0x2d50c2(0x120))&&(this[_0x2d50c2(0x11a)]=!0x0);}[_0x6ea3ee(0x132)](){const _0xd5a5fd=_0x6ea3ee;for(const [_0x25d080,_0x34fba4]of this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x125)])_0x34fba4[_0xd5a5fd(0x141)]&&_0xd5a5fd(0x13f)!==_0x25d080&&_0x34fba4[_0xd5a5fd(0x13a)](_0xd5a5fd(0x123));(this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x138)][_0xd5a5fd(0x13d)](_0xd5a5fd(0x122))&&this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x138)][_0xd5a5fd(0x128)](_0xd5a5fd(0x122))[_0xd5a5fd(0x13a)](_0xd5a5fd(0x123)),this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x138)][_0xd5a5fd(0x13d)](_0xd5a5fd(0x12d)))&&this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x138)][_0xd5a5fd(0x128)](_0xd5a5fd(0x12d))[_0xd5a5fd(0x13a)](_0xd5a5fd(0x123));this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x125)][_0xd5a5fd(0x128)](_0xd5a5fd(0x12e))?.[_0xd5a5fd(0x13a)](_0xd5a5fd(0x123));const _0x894c4f=this[_0xd5a5fd(0x11f)][_0xd5a5fd(0x143)][_0xd5a5fd(0x137)][_0xd5a5fd(0x12c)];this[_0xd5a5fd(0x133)](_0x894c4f,_0xd5a5fd(0x139),_0x5179ca=>_0x5179ca[_0xd5a5fd(0x11d)](),{'priority':_0xd5a5fd(0x134)}),this[_0xd5a5fd(0x133)](_0x894c4f,_0xd5a5fd(0x11e),_0x402008=>_0x402008[_0xd5a5fd(0x11d)](),{'priority':_0xd5a5fd(0x134)}),this[_0xd5a5fd(0x133)](_0x894c4f,_0xd5a5fd(0x135),_0x3e2c4a=>_0x3e2c4a[_0xd5a5fd(0x11d)](),{'priority':_0xd5a5fd(0x134)});}[_0x6ea3ee(0x13b)](){const _0x1b7618=_0x6ea3ee;for(const [_0x20a393,_0x212eb1]of this[_0x1b7618(0x11f)][_0x1b7618(0x125)])_0x212eb1[_0x1b7618(0x141)]&&_0x1b7618(0x13f)!==_0x20a393&&_0x212eb1[_0x1b7618(0x126)](_0x1b7618(0x123));this[_0x1b7618(0x11f)][_0x1b7618(0x138)][_0x1b7618(0x13d)](_0x1b7618(0x12d))&&this[_0x1b7618(0x11f)][_0x1b7618(0x138)][_0x1b7618(0x128)](_0x1b7618(0x12d))[_0x1b7618(0x126)](_0x1b7618(0x123)),this[_0x1b7618(0x11f)][_0x1b7618(0x125)][_0x1b7618(0x128)](_0x1b7618(0x12e))?.[_0x1b7618(0x126)](_0x1b7618(0x123)),this[_0x1b7618(0x124)](this[_0x1b7618(0x11f)][_0x1b7618(0x143)][_0x1b7618(0x137)][_0x1b7618(0x12c)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x11c532,_0x13195c){var _0x151a26=_0x5bc9,_0x12ac7c=_0x11c532();while(!![]){try{var _0x11a37e=-parseInt(_0x151a26(0xb6))/0x1+parseInt(_0x151a26(0xbc))/0x2*(-parseInt(_0x151a26(0xb4))/0x3)+parseInt(_0x151a26(0xb9))/0x4*(-parseInt(_0x151a26(0xbd))/0x5)+parseInt(_0x151a26(0xba))/0x6*(parseInt(_0x151a26(0xb7))/0x7)+parseInt(_0x151a26(0xb5))/0x8+-parseInt(_0x151a26(0xb8))/0x9+parseInt(_0x151a26(0xbb))/0xa;if(_0x11a37e===_0x13195c)break;else _0x12ac7c['push'](_0x12ac7c['shift']());}catch(_0x2cd59b){_0x12ac7c['push'](_0x12ac7c['shift']());}}}(_0x148e,0xdc346));export{Comments}from'./comments.js';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 _0x5bc9(_0x4db573,_0x44e921){var _0x148e17=_0x148e();return _0x5bc9=function(_0x5bc99d,_0x2a7799){_0x5bc99d=_0x5bc99d-0xb4;var _0x3a3cbf=_0x148e17[_0x5bc99d];return _0x3a3cbf;},_0x5bc9(_0x4db573,_0x44e921);}export{WideSidebar}from'./annotations/widesidebar.js';function _0x148e(){var _0x41d606=['30BIKbAt','15yDqgJe','10314896GefvHI','1410546YhbAIK','91rDRaLy','12512430wQakcq','883204QIyLTh','622266dVyQrV','38369000xRMwbr','578770soehAw'];_0x148e=function(){return _0x41d606;};return _0x148e();}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(_0x53ee47,_0x230ccc,_0x3ddc6e){const t=_0x53ee47['t'];switch(_0x230ccc){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'},_0x3ddc6e);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'},_0x3ddc6e);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'},_0x3ddc6e);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'},_0x3ddc6e);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3ddc6e);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'},_0x3ddc6e);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'},_0x3ddc6e);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'},_0x3ddc6e);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
|
-
|
|
23
|
+
(function(_0xcd3600,_0x34bc5e){const _0x1dd6b0=_0x397f,_0x31f704=_0xcd3600();while(!![]){try{const _0x190a95=parseInt(_0x1dd6b0(0x1d1))/0x1+parseInt(_0x1dd6b0(0x1c9))/0x2*(-parseInt(_0x1dd6b0(0x1d7))/0x3)+parseInt(_0x1dd6b0(0x1d4))/0x4*(parseInt(_0x1dd6b0(0x1d2))/0x5)+parseInt(_0x1dd6b0(0x1c6))/0x6*(parseInt(_0x1dd6b0(0x1c7))/0x7)+parseInt(_0x1dd6b0(0x1ca))/0x8*(parseInt(_0x1dd6b0(0x1cb))/0x9)+-parseInt(_0x1dd6b0(0x1d3))/0xa+-parseInt(_0x1dd6b0(0x1ce))/0xb;if(_0x190a95===_0x34bc5e)break;else _0x31f704['push'](_0x31f704['shift']());}catch(_0x21620d){_0x31f704['push'](_0x31f704['shift']());}}}(_0x303c,0x4996f));import{throttle as _0x132ba8}from'es-toolkit/compat';export function createMutationObserver(_0x5c4e4a){const _0x5d091e=_0x132ba8(_0x5c4e4a,0x1e),_0x8ebc19=new MutationObserver(_0x636c34=>{const _0x59a585=_0x397f;for(const _0x3b6add of _0x636c34)(_0x59a585(0x1cf)==_0x3b6add[_0x59a585(0x1cd)]&&_0x59a585(0x1d8)==_0x3b6add[_0x59a585(0x1d0)]||_0x59a585(0x1c5)==_0x3b6add[_0x59a585(0x1cd)]||_0x59a585(0x1cc)==_0x3b6add[_0x59a585(0x1cd)])&&_0x5d091e();});return{'attach'(_0x552107){const _0x2696d5=_0x397f;_0x8ebc19[_0x2696d5(0x1d6)](_0x552107,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4bf8c0=_0x397f;_0x8ebc19[_0x4bf8c0(0x1d5)](),_0x5d091e[_0x4bf8c0(0x1c8)]();}};}function _0x397f(_0x55e33a,_0x4a0cc1){const _0x303cb7=_0x303c();return _0x397f=function(_0x397fac,_0xaa2fc7){_0x397fac=_0x397fac-0x1c5;let _0x3e55c6=_0x303cb7[_0x397fac];return _0x3e55c6;},_0x397f(_0x55e33a,_0x4a0cc1);}function _0x303c(){const _0x9b86dd=['465wPtDAg','2396160mupJRX','2404VkDzRO','disconnect','observe','170166pJceDU','class','childList','10194ZfFjfa','945imwFdd','cancel','2duWfQK','425696NMlsZT','9hatrMH','characterData','type','2002891FVEVXq','attributes','attributeName','441372YWtFdn'];_0x303c=function(){return _0x9b86dd;};return _0x303c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3124(){const _0x3d7673=['11842054FhOxGL','6289390zCxEuh','7952072ntRbRl','38156HzJrvD','27321030SUxHgd','6YdbeAR','688180sWwRjJ','split','975264GEkTEP','16fSgyQw','12monuPs','9UFkMKM'];_0x3124=function(){return _0x3d7673;};return _0x3124();}function _0x23f9(_0x4885ad,_0x4f4146){const _0x3124e0=_0x3124();return _0x23f9=function(_0x23f9b9,_0x154f86){_0x23f9b9=_0x23f9b9-0x73;let _0x505a86=_0x3124e0[_0x23f9b9];return _0x505a86;},_0x23f9(_0x4885ad,_0x4f4146);}(function(_0x485ae1,_0x128ec5){const _0x598a76=_0x23f9,_0x228a75=_0x485ae1();while(!![]){try{const _0x4823b5=-parseInt(_0x598a76(0x7d))/0x1*(parseInt(_0x598a76(0x77))/0x2)+parseInt(_0x598a76(0x76))/0x3*(-parseInt(_0x598a76(0x78))/0x4)+parseInt(_0x598a76(0x74))/0x5*(-parseInt(_0x598a76(0x73))/0x6)+-parseInt(_0x598a76(0x7a))/0x7+parseInt(_0x598a76(0x7c))/0x8+-parseInt(_0x598a76(0x79))/0x9*(-parseInt(_0x598a76(0x7b))/0xa)+parseInt(_0x598a76(0x7e))/0xb;if(_0x4823b5===_0x128ec5)break;else _0x228a75['push'](_0x228a75['shift']());}catch(_0x330db5){_0x228a75['push'](_0x228a75['shift']());}}}(_0x3124,0xf35c8));export function splitMarkerName(_0x40a064){const _0x329d72=_0x23f9,_0x3f90fb=_0x40a064[_0x329d72(0x75)](':');return{'group':_0x3f90fb[0x0],'id':_0x3f90fb[0x1],'part':_0x3f90fb[0x2]};}
|