@ckeditor/ckeditor5-comments 46.0.2-alpha.0 → 46.0.2-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 _0x55c255=_0x249f;function _0x249f(_0x49696f,_0x110398){const _0x4144a8=_0x4144();return _0x249f=function(_0x249fbd,_0x4add3b){_0x249fbd=_0x249fbd-0x80;let _0x2bcd97=_0x4144a8[_0x249fbd];return _0x2bcd97;},_0x249f(_0x49696f,_0x110398);}(function(_0x2cd9fc,_0x2529f9){const _0x25ce1f=_0x249f,_0x186ea5=_0x2cd9fc();while(!![]){try{const _0x1f91c9=-parseInt(_0x25ce1f(0xb3))/0x1+-parseInt(_0x25ce1f(0x82))/0x2*(-parseInt(_0x25ce1f(0xc7))/0x3)+parseInt(_0x25ce1f(0xc4))/0x4*(-parseInt(_0x25ce1f(0x87))/0x5)+parseInt(_0x25ce1f(0x8c))/0x6*(parseInt(_0x25ce1f(0xd2))/0x7)+-parseInt(_0x25ce1f(0x94))/0x8+-parseInt(_0x25ce1f(0x8b))/0x9*(-parseInt(_0x25ce1f(0x91))/0xa)+-parseInt(_0x25ce1f(0xb5))/0xb;if(_0x1f91c9===_0x2529f9)break;else _0x186ea5['push'](_0x186ea5['shift']());}catch(_0x16f2b1){_0x186ea5['push'](_0x186ea5['shift']());}}}(_0x4144,0x39e10));import{View as _0x1ebfae,FocusCycler as _0x28eacc}from'ckeditor5/src/ui.js';import{diff as _0x1892de,Collection as _0x589435,FocusTracker as _0x574d6e,KeystrokeHandler as _0xe9a22d}from'ckeditor5/src/utils.js';import{getTranslation as _0x198ae7}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4146cb}from'./collapsedcommentsview.js';function _0x4144(){const _0x27de0a=['locale','insert','render','reverse','visibleViews','724670cEdGTP','_collapsedCommentsView','_rearrangeExpand','focus','removed','10965uquAEy','Marked\x20as\x20resolved','focusCycler','maxCommentsWhenCollapsed','1152216jzPlqc','39306WikBVb','resolveCommentThread','length','includes','_model','10uHiNqP','maxCommentCharsWhenCollapsed','resolvedAt','2854360bMccJx','authoredAt','hasDirtyComment','updateComment','added','Thread\x20comments','isEditMode','equal','resolvedBy','set','change:isResolved','_config','_rearrangeCollapse','add','removeComment','_updateHasDirtyComment','change:isEditMode','focusLast','change:hasDirtyComment','formatDateTime','bindTemplate','resolvedCommentView','arrowup','refreshVisibleViews','_calculatePosition','collapse','focusTracker','some','expand','focusFirst','maxThreadTotalWeight','61278BJHaXU','commentViews','2654520ZhpUuO','createCollection','change','remove','from','_handleRemoveCommentModel','editorDestroyed','keystrokes','comments','bind','change:isActive','delegate','count','_handleNewCommentModel','target','24dQoWwS','CommentView','editorConfig','3lQjFJI','delete','_findOptimalIndex','_handleInfoComment','ck-thread__comments','ck-hidden','setTemplate','resolved','arrowdown','destroy','element','448kBWgAp','stopListening','editorReady','forEach','listenTo','map','_setupKeyboardNavigation','get','viewUid','_shouldCollapse','commentUpdated','isActive','weight'];_0x4144=function(){return _0x27de0a;};return _0x4144();}export class CommentsListView extends _0x1ebfae{[_0x55c255(0xb4)];[_0x55c255(0xa9)];[_0x55c255(0xae)];[_0x55c255(0xbc)];[_0x55c255(0x89)];[_0x55c255(0x90)];[_0x55c255(0x9f)];[_0x55c255(0x83)];constructor(_0x2f36c7,_0x272358,_0x5a7d73){const _0x24b806=_0x55c255;super(_0x2f36c7);const _0x5e0fae=this[_0x24b806(0xa8)];this[_0x24b806(0x9d)](_0x24b806(0x96),!0x1),this[_0x24b806(0x9d)](_0x24b806(0x8e),_0x272358[_0x24b806(0xbd)][_0x24b806(0x8e)]),this[_0x24b806(0x9d)](_0x24b806(0xdd),!0x1),this[_0x24b806(0x90)]=_0x272358,this[_0x24b806(0x9f)]=_0x5a7d73,this[_0x24b806(0xb4)]=this[_0x24b806(0xb6)](),this[_0x24b806(0x81)]=this[_0x24b806(0xb6)](),this[_0x24b806(0xa9)]=null,this[_0x24b806(0xae)]=new _0x574d6e(),this[_0x24b806(0xbc)]=new _0xe9a22d(),this[_0x24b806(0x89)]=new _0x28eacc({'focusables':this[_0x24b806(0xb4)],'focusTracker':this[_0x24b806(0xae)],'keystrokeHandler':this[_0x24b806(0xbc)],'keystrokeHandlerOptions':{'filter':_0x1c9c35=>this[_0x24b806(0xb4)][_0x24b806(0xd7)](_0x23a7b7=>_0x23a7b7[_0x24b806(0xd1)])[_0x24b806(0x8f)](_0x1c9c35[_0x24b806(0xc3)])},'actions':{'focusPrevious':_0x24b806(0xaa),'focusNext':_0x24b806(0xcf)}}),this[_0x24b806(0x83)]=new _0x4146cb(_0x2f36c7),this[_0x24b806(0x83)][_0x24b806(0xbe)](_0x24b806(0xc1))['to'](this,_0x24b806(0x8e),_0x1a6968=>_0x1a6968-this[_0x24b806(0x9f)][_0x24b806(0x8a)]);for(const _0x2d0488 of _0x272358[_0x24b806(0xbd)])this[_0x24b806(0xc2)](_0x2d0488);this[_0x24b806(0xca)](),this[_0x24b806(0xd6)](_0x272358[_0x24b806(0xbd)],_0x24b806(0xa1),(_0x41984a,_0x510ad3)=>{const _0x188d39=_0x24b806,_0x172aa7=this[_0x188d39(0xac)](_0x510ad3);this[_0x188d39(0x8e)]++,this[_0x188d39(0xc2)](_0x510ad3,_0x172aa7),this[_0x188d39(0xab)]();}),this[_0x24b806(0xd6)](_0x272358[_0x24b806(0xbd)],_0x24b806(0xb8),(_0x5c2a46,_0x21d48c)=>{const _0x3d2d07=_0x24b806;this[_0x3d2d07(0x8e)]--,this[_0x3d2d07(0xba)](_0x21d48c),this[_0x3d2d07(0xab)]();}),this[_0x24b806(0xd6)](_0x272358,_0x24b806(0xdc),()=>this[_0x24b806(0xab)]()),this[_0x24b806(0xd6)](_0x272358,_0x24b806(0x9e),()=>this[_0x24b806(0xca)]()),this['on'](_0x24b806(0xbf),()=>this[_0x24b806(0xab)]()),this['on'](_0x24b806(0xa6),()=>this[_0x24b806(0xab)]()),this[_0x24b806(0xcd)]({'tag':'ul','attributes':{'class':[_0x24b806(0xcb),_0x5e0fae['if'](_0x24b806(0x8e),_0x24b806(0xcc),_0x104e6e=>!_0x104e6e)],'aria-label':_0x198ae7(_0x2f36c7,_0x24b806(0x99))},'children':this[_0x24b806(0x81)]});}get[_0x55c255(0xdb)](){const _0x3b0feb=_0x55c255;return this[_0x3b0feb(0x90)][_0x3b0feb(0xde)]>this[_0x3b0feb(0x9f)][_0x3b0feb(0xb2)]&&!this[_0x3b0feb(0xdd)]&&!this[_0x3b0feb(0x96)];}[_0x55c255(0xe1)](){const _0x4f97d4=_0x55c255;super[_0x4f97d4(0xe1)](),this[_0x4f97d4(0xab)](),this[_0x4f97d4(0xd8)]();}[_0x55c255(0x85)](_0xa27c11){const _0xdc42bf=_0x55c255;-0x1===_0xa27c11?this[_0xdc42bf(0x89)][_0xdc42bf(0xa5)]():this[_0xdc42bf(0x89)][_0xdc42bf(0xb1)]();}[_0x55c255(0xd0)](){const _0x154cfa=_0x55c255;this[_0x154cfa(0x83)][_0x154cfa(0xd0)]();for(const _0x385204 of this[_0x154cfa(0xb4)])_0x385204[_0x154cfa(0xd0)]();super[_0x154cfa(0xd0)]();}[_0x55c255(0xab)](){const _0x4236e9=_0x55c255;this[_0x4236e9(0xdb)]?this[_0x4236e9(0xa0)]():this[_0x4236e9(0x84)]();}[_0x55c255(0xc2)](_0xf18b3e,_0x40cad0){const _0x16b579=_0x55c255,_0x1583e6=new this[(_0x16b579(0x9f))][(_0x16b579(0xc5))](this[_0x16b579(0xdf)],_0xf18b3e,{'maxCommentCharsWhenCollapsed':this[_0x16b579(0x9f)][_0x16b579(0x92)],'formatDateTime':this[_0x16b579(0x9f)][_0x16b579(0xa7)],'editorConfig':this[_0x16b579(0x9f)][_0x16b579(0xc6)]});_0x1583e6[_0x16b579(0xda)]=_0xf18b3e['id'],_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xa2))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0x97))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0x8d))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xd4))['to'](this),_0x1583e6[_0x16b579(0xc0)](_0x16b579(0xbb))['to'](this),this[_0x16b579(0xd6)](_0x1583e6,_0x16b579(0xa4),()=>this[_0x16b579(0xa3)]()),this[_0x16b579(0xb4)][_0x16b579(0xa1)](_0x1583e6,_0x40cad0);}[_0x55c255(0xac)](_0x1311c7){const _0x568a31=_0x55c255,_0x590704=this[_0x568a31(0x90)][_0x568a31(0xc9)](_0x1311c7);return this[_0x568a31(0xa9)]?this[_0x568a31(0xa9)][_0x568a31(0x95)]>_0x1311c7[_0x568a31(0x95)]?_0x590704-0x1:_0x590704:_0x590704-0x1;}[_0x55c255(0xca)](){const _0x4be3d2=_0x55c255;if(this[_0x4be3d2(0x90)][_0x4be3d2(0x9c)]&&this[_0x4be3d2(0x90)][_0x4be3d2(0x93)]){const _0x444a4d={'id':_0x4be3d2(0xce),'author':this[_0x4be3d2(0x90)][_0x4be3d2(0x9c)],'authoredAt':this[_0x4be3d2(0x90)][_0x4be3d2(0x93)],'content':_0x198ae7(this[_0x4be3d2(0xdf)],_0x4be3d2(0x88)),'attributes':{}};this[_0x4be3d2(0xa9)]=new this[(_0x4be3d2(0x9f))][(_0x4be3d2(0xc5))](this[_0x4be3d2(0xdf)],_0x444a4d,{'maxCommentCharsWhenCollapsed':this[_0x4be3d2(0x9f)][_0x4be3d2(0x92)],'formatDateTime':this[_0x4be3d2(0x9f)][_0x4be3d2(0xa7)],'editorConfig':this[_0x4be3d2(0x9f)][_0x4be3d2(0xc6)],'isSystemComment':!0x0}),this[_0x4be3d2(0xb4)][_0x4be3d2(0xa1)](this[_0x4be3d2(0xa9)],this[_0x4be3d2(0x90)][_0x4be3d2(0xc9)](_0x444a4d));}else this[_0x4be3d2(0xa9)]&&(this[_0x4be3d2(0xb4)][_0x4be3d2(0xb8)](this[_0x4be3d2(0xa9)]),this[_0x4be3d2(0xa9)][_0x4be3d2(0xd0)](),this[_0x4be3d2(0xa9)]=null);this[_0x4be3d2(0xab)]();}[_0x55c255(0xba)](_0x3630c8){const _0x46153b=_0x55c255,_0x209a99=this[_0x46153b(0xb4)][_0x46153b(0xb8)](_0x3630c8['id']);this[_0x46153b(0xd3)](_0x209a99),_0x209a99[_0x46153b(0x9a)]&&this[_0x46153b(0xa3)](),_0x209a99[_0x46153b(0xd0)]();}[_0x55c255(0xa3)](){const _0x1e611e=_0x55c255;this[_0x1e611e(0x96)]=Array[_0x1e611e(0xb9)](this[_0x1e611e(0xb4)])[_0x1e611e(0xaf)](_0x376e4e=>_0x376e4e[_0x1e611e(0x9a)]);}[_0x55c255(0xa0)](){const _0x1ac6aa=_0x55c255,_0x4e11b0=function(_0xbecb35){const _0x1791b0=_0x249f,_0x43cf8d=new _0x589435();for(const _0x3804e1 of _0xbecb35)_0x43cf8d[_0x1791b0(0xa1)](_0x3804e1);return _0x43cf8d;}(this[_0x1ac6aa(0xb4)]),_0x2a668b=this[_0x1ac6aa(0x83)][_0x1ac6aa(0xc1)];for(let _0x221529=0x1;_0x221529<=_0x2a668b;_0x221529++)_0x4e11b0[_0x1ac6aa(0xb8)](0x1);for(const _0x2f7f2b of _0x4e11b0)_0x2f7f2b[_0x1ac6aa(0xad)]();_0x2a668b>0x0&&_0x4e11b0[_0x1ac6aa(0xa1)](this[_0x1ac6aa(0x83)],0x1),ns(_0x1892de(Array[_0x1ac6aa(0xb9)](this[_0x1ac6aa(0x81)]),Array[_0x1ac6aa(0xb9)](_0x4e11b0)),this[_0x1ac6aa(0x81)],_0x4e11b0);}[_0x55c255(0x84)](){const _0x4b4927=_0x55c255;ns(_0x1892de(Array[_0x4b4927(0xb9)](this[_0x4b4927(0x81)]),Array[_0x4b4927(0xb9)](this[_0x4b4927(0xb4)])),this[_0x4b4927(0x81)],this[_0x4b4927(0xb4)]);for(const _0xa9f1d1 of this[_0x4b4927(0x81)])_0xa9f1d1[_0x4b4927(0xb0)]();}[_0x55c255(0xd8)](){const _0x368ae1=_0x55c255;this[_0x368ae1(0xb4)][_0x368ae1(0xd5)](_0x292fd=>{const _0x353fd5=_0x368ae1;this[_0x353fd5(0xae)][_0x353fd5(0xa1)](_0x292fd[_0x353fd5(0xd1)]),this[_0x353fd5(0xbc)][_0x353fd5(0xd6)](_0x292fd[_0x353fd5(0xd1)]);}),this[_0x368ae1(0xb4)]['on'](_0x368ae1(0xb7),(_0x46f1bb,_0x2717b2)=>{const _0x5da35c=_0x368ae1;for(const _0x5dc1d5 of _0x2717b2[_0x5da35c(0x86)])this[_0x5da35c(0xae)][_0x5da35c(0xb8)](_0x5dc1d5[_0x5da35c(0xd1)]),this[_0x5da35c(0xbc)][_0x5da35c(0xd3)](_0x5dc1d5[_0x5da35c(0xd1)]);for(const _0x376a5e of Array[_0x5da35c(0xb9)](_0x2717b2[_0x5da35c(0x98)])[_0x5da35c(0x80)]())this[_0x5da35c(0xae)][_0x5da35c(0xa1)](_0x376a5e[_0x5da35c(0xd1)]),this[_0x5da35c(0xbc)][_0x5da35c(0xd6)](_0x376a5e[_0x5da35c(0xd1)]);});}}function ns(_0x3949be,_0x231b52,_0x2dcb1e){const _0x580356=_0x55c255;let _0x3621ef=0x0;for(const _0x40eaa6 of _0x3949be)switch(_0x40eaa6){case _0x580356(0xe0):_0x231b52[_0x580356(0xa1)](_0x2dcb1e[_0x580356(0xd9)](_0x3621ef),_0x3621ef),_0x3621ef++;break;case _0x580356(0xc8):_0x231b52[_0x580356(0xb8)](_0x3621ef);break;case _0x580356(0x9b):_0x3621ef++;}}
|
|
23
|
+
const _0x2d67b2=_0x1621;function _0x1621(_0x2407a8,_0x5f1915){const _0x3ccfc3=_0x3ccf();return _0x1621=function(_0x162139,_0x267b94){_0x162139=_0x162139-0xf5;let _0x1ed97c=_0x3ccfc3[_0x162139];return _0x1ed97c;},_0x1621(_0x2407a8,_0x5f1915);}function _0x3ccf(){const _0x4a135e=['_rearrangeCollapse','forEach','focusLast','1655612uytwbF','bind','get','change:isResolved','resolvedCommentView','equal','remove','stopListening','_setupKeyboardNavigation','1RpgUHx','_model','viewUid','63qUZzPm','reverse','190dIjBGU','editorDestroyed','createCollection','focus','delegate','_handleInfoComment','length','change:hasDirtyComment','keystrokes','4555314xbLXFJ','render','removed','visibleViews','add','destroy','refreshVisibleViews','from','Thread\x20comments','_calculatePosition','_collapsedCommentsView','620296tytFAT','hasDirtyComment','collapse','_findOptimalIndex','authoredAt','comments','commentUpdated','_rearrangeExpand','some','editorConfig','ck-thread__comments','733586pmXUQE','focusCycler','commentViews','arrowdown','count','CommentView','resolveCommentThread','Marked\x20as\x20resolved','focusTracker','change:isActive','maxCommentsWhenCollapsed','resolvedAt','arrowup','isEditMode','bindTemplate','resolved','map','resolvedBy','locale','maxCommentCharsWhenCollapsed','832975qybyIO','editorReady','2247630zaaQJS','target','change:isEditMode','ck-hidden','expand','setTemplate','updateComment','change','_config','removeComment','delete','focusFirst','3397959GacNbn','5gYzXrQ','formatDateTime','insert','listenTo','_shouldCollapse','_updateHasDirtyComment','isActive','_handleRemoveCommentModel','added','includes','maxThreadTotalWeight','_handleNewCommentModel','set','weight','element'];_0x3ccf=function(){return _0x4a135e;};return _0x3ccf();}(function(_0x61d49,_0x2c3b14){const _0xd6d5a4=_0x1621,_0x3f4ad2=_0x61d49();while(!![]){try{const _0x11c080=parseInt(_0xd6d5a4(0xfe))/0x1*(-parseInt(_0xd6d5a4(0x122))/0x2)+parseInt(_0xd6d5a4(0x138))/0x3+-parseInt(_0xd6d5a4(0xf5))/0x4*(-parseInt(_0xd6d5a4(0x145))/0x5)+-parseInt(_0xd6d5a4(0x10c))/0x6+-parseInt(_0xd6d5a4(0x101))/0x7*(parseInt(_0xd6d5a4(0x117))/0x8)+-parseInt(_0xd6d5a4(0x144))/0x9+parseInt(_0xd6d5a4(0x103))/0xa*(parseInt(_0xd6d5a4(0x136))/0xb);if(_0x11c080===_0x2c3b14)break;else _0x3f4ad2['push'](_0x3f4ad2['shift']());}catch(_0x452814){_0x3f4ad2['push'](_0x3f4ad2['shift']());}}}(_0x3ccf,0x61c6c));import{View as _0x23f99c,FocusCycler as _0x2d40b6}from'ckeditor5/src/ui.js';import{diff as _0x35d6ab,Collection as _0x21244f,FocusTracker as _0x582801,KeystrokeHandler as _0x151884}from'ckeditor5/src/utils.js';import{getTranslation as _0x4516fa}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x105fc2}from'./collapsedcommentsview.js';export class CommentsListView extends _0x23f99c{[_0x2d67b2(0x124)];[_0x2d67b2(0xf9)];[_0x2d67b2(0x12a)];[_0x2d67b2(0x10b)];[_0x2d67b2(0x123)];[_0x2d67b2(0xff)];[_0x2d67b2(0x140)];[_0x2d67b2(0x116)];constructor(_0x4652fe,_0x29ffe5,_0x5aaf27){const _0x24ac6f=_0x2d67b2;super(_0x4652fe);const _0x358e15=this[_0x24ac6f(0x130)];this[_0x24ac6f(0x151)](_0x24ac6f(0x118),!0x1),this[_0x24ac6f(0x151)](_0x24ac6f(0x109),_0x29ffe5[_0x24ac6f(0x11c)][_0x24ac6f(0x109)]),this[_0x24ac6f(0x151)](_0x24ac6f(0x14b),!0x1),this[_0x24ac6f(0xff)]=_0x29ffe5,this[_0x24ac6f(0x140)]=_0x5aaf27,this[_0x24ac6f(0x124)]=this[_0x24ac6f(0x105)](),this[_0x24ac6f(0x10f)]=this[_0x24ac6f(0x105)](),this[_0x24ac6f(0xf9)]=null,this[_0x24ac6f(0x12a)]=new _0x582801(),this[_0x24ac6f(0x10b)]=new _0x151884(),this[_0x24ac6f(0x123)]=new _0x2d40b6({'focusables':this[_0x24ac6f(0x124)],'focusTracker':this[_0x24ac6f(0x12a)],'keystrokeHandler':this[_0x24ac6f(0x10b)],'keystrokeHandlerOptions':{'filter':_0x127b5d=>this[_0x24ac6f(0x124)][_0x24ac6f(0x132)](_0x40f871=>_0x40f871[_0x24ac6f(0x153)])[_0x24ac6f(0x14e)](_0x127b5d[_0x24ac6f(0x139)])},'actions':{'focusPrevious':_0x24ac6f(0x12e),'focusNext':_0x24ac6f(0x125)}}),this[_0x24ac6f(0x116)]=new _0x105fc2(_0x4652fe),this[_0x24ac6f(0x116)][_0x24ac6f(0xf6)](_0x24ac6f(0x126))['to'](this,_0x24ac6f(0x109),_0x3fb157=>_0x3fb157-this[_0x24ac6f(0x140)][_0x24ac6f(0x12c)]);for(const _0x56fb7d of _0x29ffe5[_0x24ac6f(0x11c)])this[_0x24ac6f(0x150)](_0x56fb7d);this[_0x24ac6f(0x108)](),this[_0x24ac6f(0x148)](_0x29ffe5[_0x24ac6f(0x11c)],_0x24ac6f(0x110),(_0x222dc1,_0x21c37e)=>{const _0x1025fa=_0x24ac6f,_0x2c4ba5=this[_0x1025fa(0x115)](_0x21c37e);this[_0x1025fa(0x109)]++,this[_0x1025fa(0x150)](_0x21c37e,_0x2c4ba5),this[_0x1025fa(0x112)]();}),this[_0x24ac6f(0x148)](_0x29ffe5[_0x24ac6f(0x11c)],_0x24ac6f(0xfb),(_0x5ac323,_0x19c978)=>{const _0x451950=_0x24ac6f;this[_0x451950(0x109)]--,this[_0x451950(0x14c)](_0x19c978),this[_0x451950(0x112)]();}),this[_0x24ac6f(0x148)](_0x29ffe5,_0x24ac6f(0x11d),()=>this[_0x24ac6f(0x112)]()),this[_0x24ac6f(0x148)](_0x29ffe5,_0x24ac6f(0xf8),()=>this[_0x24ac6f(0x108)]()),this['on'](_0x24ac6f(0x12b),()=>this[_0x24ac6f(0x112)]()),this['on'](_0x24ac6f(0x10a),()=>this[_0x24ac6f(0x112)]()),this[_0x24ac6f(0x13d)]({'tag':'ul','attributes':{'class':[_0x24ac6f(0x121),_0x358e15['if'](_0x24ac6f(0x109),_0x24ac6f(0x13b),_0x2e4c2c=>!_0x2e4c2c)],'aria-label':_0x4516fa(_0x4652fe,_0x24ac6f(0x114))},'children':this[_0x24ac6f(0x10f)]});}get[_0x2d67b2(0x149)](){const _0x4e55a6=_0x2d67b2;return this[_0x4e55a6(0xff)][_0x4e55a6(0x152)]>this[_0x4e55a6(0x140)][_0x4e55a6(0x14f)]&&!this[_0x4e55a6(0x14b)]&&!this[_0x4e55a6(0x118)];}[_0x2d67b2(0x10d)](){const _0x56c3d4=_0x2d67b2;super[_0x56c3d4(0x10d)](),this[_0x56c3d4(0x112)](),this[_0x56c3d4(0xfd)]();}[_0x2d67b2(0x106)](_0xd4ab6e){const _0x6c96ac=_0x2d67b2;-0x1===_0xd4ab6e?this[_0x6c96ac(0x123)][_0x6c96ac(0x156)]():this[_0x6c96ac(0x123)][_0x6c96ac(0x143)]();}[_0x2d67b2(0x111)](){const _0x3cbb87=_0x2d67b2;this[_0x3cbb87(0x116)][_0x3cbb87(0x111)]();for(const _0x48b2e2 of this[_0x3cbb87(0x124)])_0x48b2e2[_0x3cbb87(0x111)]();super[_0x3cbb87(0x111)]();}[_0x2d67b2(0x112)](){const _0x2626d8=_0x2d67b2;this[_0x2626d8(0x149)]?this[_0x2626d8(0x154)]():this[_0x2626d8(0x11e)]();}[_0x2d67b2(0x150)](_0xf1fc03,_0x392e14){const _0x39eccc=_0x2d67b2,_0x1415ca=new this[(_0x39eccc(0x140))][(_0x39eccc(0x127))](this[_0x39eccc(0x134)],_0xf1fc03,{'maxCommentCharsWhenCollapsed':this[_0x39eccc(0x140)][_0x39eccc(0x135)],'formatDateTime':this[_0x39eccc(0x140)][_0x39eccc(0x146)],'editorConfig':this[_0x39eccc(0x140)][_0x39eccc(0x120)]});_0x1415ca[_0x39eccc(0x100)]=_0xf1fc03['id'],_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x141))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x13e))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x128))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x137))['to'](this),_0x1415ca[_0x39eccc(0x107)](_0x39eccc(0x104))['to'](this),this[_0x39eccc(0x148)](_0x1415ca,_0x39eccc(0x13a),()=>this[_0x39eccc(0x14a)]()),this[_0x39eccc(0x124)][_0x39eccc(0x110)](_0x1415ca,_0x392e14);}[_0x2d67b2(0x115)](_0x55f429){const _0x14d5b6=_0x2d67b2,_0x22e89b=this[_0x14d5b6(0xff)][_0x14d5b6(0x11a)](_0x55f429);return this[_0x14d5b6(0xf9)]?this[_0x14d5b6(0xf9)][_0x14d5b6(0x11b)]>_0x55f429[_0x14d5b6(0x11b)]?_0x22e89b-0x1:_0x22e89b:_0x22e89b-0x1;}[_0x2d67b2(0x108)](){const _0x2ff38f=_0x2d67b2;if(this[_0x2ff38f(0xff)][_0x2ff38f(0x133)]&&this[_0x2ff38f(0xff)][_0x2ff38f(0x12d)]){const _0x51c399={'id':_0x2ff38f(0x131),'author':this[_0x2ff38f(0xff)][_0x2ff38f(0x133)],'authoredAt':this[_0x2ff38f(0xff)][_0x2ff38f(0x12d)],'content':_0x4516fa(this[_0x2ff38f(0x134)],_0x2ff38f(0x129)),'attributes':{}};this[_0x2ff38f(0xf9)]=new this[(_0x2ff38f(0x140))][(_0x2ff38f(0x127))](this[_0x2ff38f(0x134)],_0x51c399,{'maxCommentCharsWhenCollapsed':this[_0x2ff38f(0x140)][_0x2ff38f(0x135)],'formatDateTime':this[_0x2ff38f(0x140)][_0x2ff38f(0x146)],'editorConfig':this[_0x2ff38f(0x140)][_0x2ff38f(0x120)],'isSystemComment':!0x0}),this[_0x2ff38f(0x124)][_0x2ff38f(0x110)](this[_0x2ff38f(0xf9)],this[_0x2ff38f(0xff)][_0x2ff38f(0x11a)](_0x51c399));}else this[_0x2ff38f(0xf9)]&&(this[_0x2ff38f(0x124)][_0x2ff38f(0xfb)](this[_0x2ff38f(0xf9)]),this[_0x2ff38f(0xf9)][_0x2ff38f(0x111)](),this[_0x2ff38f(0xf9)]=null);this[_0x2ff38f(0x112)]();}[_0x2d67b2(0x14c)](_0x3a5724){const _0x11125f=_0x2d67b2,_0x493d89=this[_0x11125f(0x124)][_0x11125f(0xfb)](_0x3a5724['id']);this[_0x11125f(0xfc)](_0x493d89),_0x493d89[_0x11125f(0x12f)]&&this[_0x11125f(0x14a)](),_0x493d89[_0x11125f(0x111)]();}[_0x2d67b2(0x14a)](){const _0x482a7d=_0x2d67b2;this[_0x482a7d(0x118)]=Array[_0x482a7d(0x113)](this[_0x482a7d(0x124)])[_0x482a7d(0x11f)](_0x501304=>_0x501304[_0x482a7d(0x12f)]);}[_0x2d67b2(0x154)](){const _0x1b2bc1=_0x2d67b2,_0x12ddcc=function(_0x4f5060){const _0x415005=_0x1621,_0x5492d3=new _0x21244f();for(const _0x5dc1e3 of _0x4f5060)_0x5492d3[_0x415005(0x110)](_0x5dc1e3);return _0x5492d3;}(this[_0x1b2bc1(0x124)]),_0x222e6a=this[_0x1b2bc1(0x116)][_0x1b2bc1(0x126)];for(let _0x29af1c=0x1;_0x29af1c<=_0x222e6a;_0x29af1c++)_0x12ddcc[_0x1b2bc1(0xfb)](0x1);for(const _0x4c1d4d of _0x12ddcc)_0x4c1d4d[_0x1b2bc1(0x119)]();_0x222e6a>0x0&&_0x12ddcc[_0x1b2bc1(0x110)](this[_0x1b2bc1(0x116)],0x1),ns(_0x35d6ab(Array[_0x1b2bc1(0x113)](this[_0x1b2bc1(0x10f)]),Array[_0x1b2bc1(0x113)](_0x12ddcc)),this[_0x1b2bc1(0x10f)],_0x12ddcc);}[_0x2d67b2(0x11e)](){const _0x3a1a72=_0x2d67b2;ns(_0x35d6ab(Array[_0x3a1a72(0x113)](this[_0x3a1a72(0x10f)]),Array[_0x3a1a72(0x113)](this[_0x3a1a72(0x124)])),this[_0x3a1a72(0x10f)],this[_0x3a1a72(0x124)]);for(const _0x5bb336 of this[_0x3a1a72(0x10f)])_0x5bb336[_0x3a1a72(0x13c)]();}[_0x2d67b2(0xfd)](){const _0x2d1f96=_0x2d67b2;this[_0x2d1f96(0x124)][_0x2d1f96(0x155)](_0xfb27ed=>{const _0x37a2f4=_0x2d1f96;this[_0x37a2f4(0x12a)][_0x37a2f4(0x110)](_0xfb27ed[_0x37a2f4(0x153)]),this[_0x37a2f4(0x10b)][_0x37a2f4(0x148)](_0xfb27ed[_0x37a2f4(0x153)]);}),this[_0x2d1f96(0x124)]['on'](_0x2d1f96(0x13f),(_0x2f800f,_0xeef34b)=>{const _0x35adc2=_0x2d1f96;for(const _0x532af0 of _0xeef34b[_0x35adc2(0x10e)])this[_0x35adc2(0x12a)][_0x35adc2(0xfb)](_0x532af0[_0x35adc2(0x153)]),this[_0x35adc2(0x10b)][_0x35adc2(0xfc)](_0x532af0[_0x35adc2(0x153)]);for(const _0x45e67e of Array[_0x35adc2(0x113)](_0xeef34b[_0x35adc2(0x14d)])[_0x35adc2(0x102)]())this[_0x35adc2(0x12a)][_0x35adc2(0x110)](_0x45e67e[_0x35adc2(0x153)]),this[_0x35adc2(0x10b)][_0x35adc2(0x148)](_0x45e67e[_0x35adc2(0x153)]);});}}function ns(_0x2f7748,_0x5ee243,_0x994491){const _0x14221a=_0x2d67b2;let _0x217531=0x0;for(const _0x440e0b of _0x2f7748)switch(_0x440e0b){case _0x14221a(0x147):_0x5ee243[_0x14221a(0x110)](_0x994491[_0x14221a(0xf7)](_0x217531),_0x217531),_0x217531++;break;case _0x14221a(0x142):_0x5ee243[_0x14221a(0xfb)](_0x217531);break;case _0x14221a(0xfa):_0x217531++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a1163=_0x4466;(function(_0x22da88,_0x435395){const _0x2e1ce0=_0x4466,_0x56fb6e=_0x22da88();while(!![]){try{const _0x5fe3ff=-parseInt(_0x2e1ce0(0x1bb))/0x1+-parseInt(_0x2e1ce0(0x1ab))/0x2*(-parseInt(_0x2e1ce0(0x1ba))/0x3)+parseInt(_0x2e1ce0(0x1b0))/0x4*(parseInt(_0x2e1ce0(0x1b1))/0x5)+parseInt(_0x2e1ce0(0x1ac))/0x6+-parseInt(_0x2e1ce0(0x1aa))/0x7+-parseInt(_0x2e1ce0(0x1b6))/0x8+-parseInt(_0x2e1ce0(0x1af))/0x9*(-parseInt(_0x2e1ce0(0x1b5))/0xa);if(_0x5fe3ff===_0x435395)break;else _0x56fb6e['push'](_0x56fb6e['shift']());}catch(_0x53c47e){_0x56fb6e['push'](_0x56fb6e['shift']());}}}(_0x3811,0xa83d0));function _0x4466(_0x3fdfe2,_0x575ac0){const _0x381110=_0x3811();return _0x4466=function(_0x4466d4,_0x5ca894){_0x4466d4=_0x4466d4-0x1a9;let _0x4733c4=_0x381110[_0x4466d4];return _0x4733c4;},_0x4466(_0x3fdfe2,_0x575ac0);}import{View as _0x3ac675}from'ckeditor5/src/ui.js';function _0x3811(){const _0x3b5956=['1052WXtguJ','6186072fZeHJu','THREAD_CONTEXT_LABEL','focus','54hBlIMs','2803116OpCpSd','5JtHVim','set','bindTemplate','element','292230jUDcpj','3053944vdYzjz','ck-context__value','contextValue','span','2901uKfIFt','630513YIQDHw','setTemplate','5000877yVdqNx'];_0x3811=function(){return _0x3b5956;};return _0x3811();}import{getTranslation as _0x5575df}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x3ac675{constructor(_0x216948){const _0x921557=_0x4466;super(_0x216948);const _0x4ddb75=this[_0x921557(0x1b3)];this[_0x921557(0x1b2)](_0x921557(0x1b8),''),this[_0x921557(0x1a9)]({'tag':_0x921557(0x1b9),'attributes':{'class':['ck',_0x921557(0x1b7)],'aria-label':_0x4ddb75['to'](_0x921557(0x1b8),_0x1d892a=>_0x5575df(_0x216948,_0x921557(0x1ad),_0x1d892a)),'tabindex':-0x1},'children':[{'text':_0x4ddb75['to'](_0x921557(0x1b8))}]});}[_0x1a1163(0x1ae)](){const _0x7644b2=_0x1a1163;this[_0x7644b2(0x1b4)][_0x7644b2(0x1ae)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x486a(_0x2c3d58,_0x322c39){const _0x4c1a42=_0x4c1a();return _0x486a=function(_0x486aa1,_0x40c9d3){_0x486aa1=_0x486aa1-0x1c5;let _0x44f6f5=_0x4c1a42[_0x486aa1];return _0x44f6f5;},_0x486a(_0x2c3d58,_0x322c39);}const _0x48e24f=_0x486a;(function(_0x39941c,_0x36e6bf){const _0x5a214b=_0x486a,_0x25bc48=_0x39941c();while(!![]){try{const _0x1c31f4=parseInt(_0x5a214b(0x1d9))/0x1+parseInt(_0x5a214b(0x1de))/0x2+-parseInt(_0x5a214b(0x204))/0x3*(parseInt(_0x5a214b(0x209))/0x4)+-parseInt(_0x5a214b(0x20c))/0x5+-parseInt(_0x5a214b(0x1e7))/0x6*(parseInt(_0x5a214b(0x1f1))/0x7)+parseInt(_0x5a214b(0x206))/0x8*(-parseInt(_0x5a214b(0x1df))/0x9)+-parseInt(_0x5a214b(0x1cf))/0xa*(-parseInt(_0x5a214b(0x1e3))/0xb);if(_0x1c31f4===_0x36e6bf)break;else _0x25bc48['push'](_0x25bc48['shift']());}catch(_0x51c7b3){_0x25bc48['push'](_0x25bc48['shift']());}}}(_0x4c1a,0xb2b0e));import{View as _0x25e411,ButtonView as _0x51ff1a,FocusCycler as _0x58a0af}from'ckeditor5/src/ui.js';function _0x4c1a(){const _0x23408c=['reopenCommentThread','label','isResolved','_setupKeyboardNavigation','contextView','ck-context-wrapper','isEnabled','715178GWLkdV','contextValue','ck-annotation__actions','focusFirst','Comment\x20was\x20made\x20on\x20an\x20element','1486548NdVgqo','9kCoVfJ','fire','overlay','isReadOnly','29425ErxySs','remove','focus','value','269142gzyHsW','focusables','classList','Reopen','focusTracker','tab','listenTo','scrollWidth','keystrokes','length','56YTfADQ','_trimContextValue','ck-context--quotes','ck-thread__header','_attachContextActions','.ck-context','execute','element','lastIndexOf','...','tooltip','context','querySelector','shift+tab','createCollection','isResolvable','_model','substring','offsetWidth','219RlTvqH','bindTemplate','6403144KdrKVH','add','.ck-context__value','78140HALbyQ','render','bind','6635775bsQRHo','ck-context','mouseenter','setTemplate','div','mouseleave','_createReopenButton','focusCycler','reopenButtonView','_createContextView','isVisible','locale','11910uAwbSM','icon','hasContext'];_0x4c1a=function(){return _0x23408c;};return _0x4c1a();}import{FocusTracker as _0x546ca3,KeystrokeHandler as _0x4fff82}from'ckeditor5/src/utils.js';import{IconUndo as _0x276417}from'ckeditor5/src/icons.js';import{getTranslation as _0x35952a}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x57b23d}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x25e411{[_0x48e24f(0x201)];[_0x48e24f(0x1cb)];[_0x48e24f(0x1d6)];[_0x48e24f(0x1e8)];[_0x48e24f(0x1eb)];[_0x48e24f(0x1ef)];[_0x48e24f(0x1ca)];constructor(_0x559ac1,_0x5e980e){const _0x568c3c=_0x48e24f;super(_0x559ac1);const _0x3d01de=this[_0x568c3c(0x205)];this[_0x568c3c(0x201)]=_0x5e980e,this[_0x568c3c(0x1cb)]=this[_0x568c3c(0x1c9)](),this[_0x568c3c(0x1d6)]=this[_0x568c3c(0x1cc)](),this[_0x568c3c(0x1e8)]=this[_0x568c3c(0x1ff)]([this[_0x568c3c(0x1d6)],this[_0x568c3c(0x1cb)]]),this[_0x568c3c(0x1eb)]=new _0x546ca3(),this[_0x568c3c(0x1ef)]=new _0x4fff82(),this[_0x568c3c(0x1ca)]=new _0x58a0af({'focusables':this[_0x568c3c(0x1e8)],'focusTracker':this[_0x568c3c(0x1eb)],'keystrokeHandler':this[_0x568c3c(0x1ef)],'actions':{'focusPrevious':_0x568c3c(0x1fe),'focusNext':_0x568c3c(0x1ec)}}),this[_0x568c3c(0x20b)](_0x568c3c(0x1d1))['to'](this[_0x568c3c(0x201)],_0x568c3c(0x1fc),_0x1f37d2=>!!_0x1f37d2),this[_0x568c3c(0x20b)](_0x568c3c(0x1da))['to'](this[_0x568c3c(0x201)],_0x568c3c(0x1fc),_0x301cd8=>_0x301cd8&&_0x301cd8[_0x568c3c(0x1e6)]?this[_0x568c3c(0x1f2)](_0x301cd8[_0x568c3c(0x1e6)]):_0x35952a(this[_0x568c3c(0x1ce)],_0x568c3c(0x1dd))),this[_0x568c3c(0x1c6)]({'tag':_0x568c3c(0x1c7),'attributes':{'class':[_0x568c3c(0x1f4)]},'children':[{'tag':_0x568c3c(0x1c7),'attributes':{'class':[_0x568c3c(0x1d7)]},'children':[{'tag':_0x568c3c(0x1c7),'attributes':{'class':[_0x568c3c(0x20d),_0x3d01de['if'](_0x568c3c(0x1d1),_0x568c3c(0x1f3))]},'children':[this[_0x568c3c(0x1d6)]]}]},{'tag':_0x568c3c(0x1c7),'attributes':{'class':[_0x568c3c(0x1db)]},'children':[this[_0x568c3c(0x1cb)]]}]});}[_0x48e24f(0x20a)](){const _0x5e1b08=_0x48e24f;super[_0x5e1b08(0x20a)](),this[_0x5e1b08(0x1f5)](),this[_0x5e1b08(0x1d5)]();}[_0x48e24f(0x1e5)](){const _0x1e5560=_0x48e24f;this[_0x1e5560(0x1ca)][_0x1e5560(0x1dc)]();}[_0x48e24f(0x1c9)](){const _0x1a33e2=_0x48e24f,_0x29155a=new _0x51ff1a(this[_0x1a33e2(0x1ce)]);return _0x29155a[_0x1a33e2(0x1d3)]=_0x35952a(this[_0x1a33e2(0x1ce)],_0x1a33e2(0x1ea)),_0x29155a[_0x1a33e2(0x1fb)]=_0x35952a(this[_0x1a33e2(0x1ce)],_0x1a33e2(0x1ea)),_0x29155a[_0x1a33e2(0x1d0)]=_0x276417,_0x29155a[_0x1a33e2(0x20b)](_0x1a33e2(0x1d8))['to'](this[_0x1a33e2(0x201)],_0x1a33e2(0x1e2),_0x1c2cbd=>!_0x1c2cbd),_0x29155a[_0x1a33e2(0x20b)](_0x1a33e2(0x1cd))['to'](this[_0x1a33e2(0x201)],_0x1a33e2(0x200),this[_0x1a33e2(0x201)],_0x1a33e2(0x1d4),(_0x2f783e,_0x58aead)=>_0x2f783e&&_0x58aead),_0x29155a['on'](_0x1a33e2(0x1f7),()=>{const _0x17e7e4=_0x1a33e2;this[_0x17e7e4(0x1e0)](_0x17e7e4(0x1d2),this[_0x17e7e4(0x201)]['id']);}),_0x29155a;}[_0x48e24f(0x1f2)](_0x4f2de3){const _0x2d1b70=_0x48e24f;if(_0x4f2de3[_0x2d1b70(0x1f0)]<0x96)return _0x4f2de3;const _0x236c06=_0x4f2de3[_0x2d1b70(0x1f9)]('\x20',0x93);return _0x4f2de3[_0x2d1b70(0x202)](0x0,_0x236c06>-0x1?_0x236c06:0x93)+_0x2d1b70(0x1fa);}[_0x48e24f(0x1f5)](){const _0x388484=_0x48e24f,_0x4d9a98=this[_0x388484(0x1f8)][_0x388484(0x1fd)](_0x388484(0x1f6)),_0x2e4711=_0x4d9a98[_0x388484(0x1fd)](_0x388484(0x208));this[_0x388484(0x1ed)](_0x4d9a98,_0x388484(0x1c5),()=>{const _0x5b749e=_0x388484;_0x2e4711[_0x5b749e(0x203)]<_0x2e4711[_0x5b749e(0x1ee)]&&_0x4d9a98[_0x5b749e(0x1e9)][_0x5b749e(0x207)](_0x5b749e(0x1e1));}),this[_0x388484(0x1ed)](_0x4d9a98,_0x388484(0x1c8),()=>{const _0x3807ab=_0x388484;_0x4d9a98[_0x3807ab(0x1e9)][_0x3807ab(0x1e4)](_0x3807ab(0x1e1));});}[_0x48e24f(0x1d5)](){const _0x5c30cc=_0x48e24f;this[_0x5c30cc(0x1ef)][_0x5c30cc(0x1ed)](this[_0x5c30cc(0x1f8)]);for(const _0x2894c0 of this[_0x5c30cc(0x1e8)])this[_0x5c30cc(0x1eb)][_0x5c30cc(0x207)](_0x2894c0[_0x5c30cc(0x1f8)]),this[_0x5c30cc(0x1ef)][_0x5c30cc(0x1ed)](_0x2894c0[_0x5c30cc(0x1f8)]);}[_0x48e24f(0x1cc)](){const _0x6cf220=_0x48e24f,_0x3dac0b=new _0x57b23d(this[_0x6cf220(0x1ce)]);return _0x3dac0b[_0x6cf220(0x20b)](_0x6cf220(0x1da))['to'](this),_0x3dac0b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x587405=_0x3eef;(function(_0x404139,_0x4c936a){const _0x108eb3=_0x3eef,_0x5ae408=_0x404139();while(!![]){try{const _0x28e3da=-parseInt(_0x108eb3(0x1fc))/0x1*(parseInt(_0x108eb3(0x1d5))/0x2)+-parseInt(_0x108eb3(0x1f1))/0x3*(parseInt(_0x108eb3(0x1d6))/0x4)+-parseInt(_0x108eb3(0x1e9))/0x5+parseInt(_0x108eb3(0x1dc))/0x6*(parseInt(_0x108eb3(0x1fa))/0x7)+parseInt(_0x108eb3(0x1e0))/0x8+-parseInt(_0x108eb3(0x1d8))/0x9+parseInt(_0x108eb3(0x1d1))/0xa*(parseInt(_0x108eb3(0x1f2))/0xb);if(_0x28e3da===_0x4c936a)break;else _0x5ae408['push'](_0x5ae408['shift']());}catch(_0x3c49b0){_0x5ae408['push'](_0x5ae408['shift']());}}}(_0x5c71,0xbd065));function _0x3eef(_0x35d4b2,_0x5ec02b){const _0x5c717a=_0x5c71();return _0x3eef=function(_0x3eefd0,_0x1bbf22){_0x3eefd0=_0x3eefd0-0x1cd;let _0x3f7391=_0x5c717a[_0x3eefd0];return _0x3f7391;},_0x3eef(_0x35d4b2,_0x5ec02b);}import{View as _0x5ba76b}from'ckeditor5/src/ui.js';import{CommentInputView as _0x208288}from'./commentinputview.js';function _0x5c71(){const _0x1a2722=['ck-thread__input','element','preventDefault','28RfbjSD','ck-comment__input-container','23519YNgNoZ','ck-comment__input-container--active','then','destroy','bind','editing','focus','isFocused','100XMsJIy','editorDestroyed','focusTracker','set','98xfJOam','64bnuWac','bindTemplate','13390254UoesQf','userView','focusCycler','createEditor','1845066YNskKz','contains','editorReady','getDomRoot','709424ynOfcN','showButtons','delegate','value','extendTemplate','target','filter','mousedown','setTemplate','6775770mTteGB','render','commentInputView','_focusOnNonInteractiveMouseDown','editor','listenTo','showInput','view','177048hLPonq','4834687UABvZT','change:showInput','ck-thread__user','div','some'];_0x5c71=function(){return _0x1a2722;};return _0x5c71();}import{UserView as _0xdc8808}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x5ba76b{constructor(_0x30b642,_0x426ffb,_0x2d19b5){const _0x704b2a=_0x3eef;super(_0x30b642),this[_0x704b2a(0x1eb)]=new _0x208288(_0x30b642,_0x2d19b5),this[_0x704b2a(0x1da)]=this[_0x704b2a(0x1eb)][_0x704b2a(0x1da)],this[_0x704b2a(0x1eb)][_0x704b2a(0x1cd)](_0x704b2a(0x1e1))['to'](this[_0x704b2a(0x1eb)][_0x704b2a(0x1d3)],_0x704b2a(0x1d0),this[_0x704b2a(0x1eb)],_0x704b2a(0x1e3),(_0x26ccfa,_0x385e69)=>_0x26ccfa||!!_0x385e69),this[_0x704b2a(0x1d4)](_0x704b2a(0x1ef),!0x1),this['on'](_0x704b2a(0x1f3),()=>{const _0x1a12da=_0x704b2a;this[_0x1a12da(0x1ef)]&&!this[_0x1a12da(0x1eb)][_0x1a12da(0x1ed)]&&this[_0x1a12da(0x1eb)][_0x1a12da(0x1db)]();}),this[_0x704b2a(0x1eb)][_0x704b2a(0x1e2)](_0x704b2a(0x1de))['to'](this),this[_0x704b2a(0x1eb)][_0x704b2a(0x1e2)](_0x704b2a(0x1d2))['to'](this),this[_0x704b2a(0x1d9)]=new _0xdc8808(_0x30b642,_0x426ffb),this[_0x704b2a(0x1d9)][_0x704b2a(0x1e4)]({'attributes':{'class':_0x704b2a(0x1f4),'aria-hidden':!0x0}}),this[_0x704b2a(0x1eb)][_0x704b2a(0x1e4)]({'attributes':{'class':_0x704b2a(0x1f7)}}),this[_0x704b2a(0x1e8)]({'tag':_0x704b2a(0x1f5),'attributes':{'class':[_0x704b2a(0x1fb),this[_0x704b2a(0x1d7)]['if'](_0x704b2a(0x1ef),_0x704b2a(0x1fd))]},'children':[this[_0x704b2a(0x1d9)],this[_0x704b2a(0x1eb)]]});}[_0x587405(0x1ea)](){const _0x234bb9=_0x587405;super[_0x234bb9(0x1ea)](),this[_0x234bb9(0x1ec)]();}[_0x587405(0x1ff)](){const _0x1b8f3e=_0x587405;return this[_0x1b8f3e(0x1eb)][_0x1b8f3e(0x1ff)]()[_0x1b8f3e(0x1fe)](()=>super[_0x1b8f3e(0x1ff)]());}[_0x587405(0x1cf)](_0x7e9583){const _0x423fec=_0x587405;this[_0x423fec(0x1eb)][_0x423fec(0x1cf)](_0x7e9583);}[_0x587405(0x1ec)](){const _0x432d3f=_0x587405;this[_0x432d3f(0x1ee)](this[_0x432d3f(0x1f8)],_0x432d3f(0x1e7),(_0x14445c,_0x596086)=>{const _0x37056d=_0x432d3f,{submitButtonView:_0x1dc3a7,cancelButtonView:_0xeaffd3,editor:_0x1dc0c6}=this[_0x37056d(0x1eb)];[_0x1dc3a7[_0x37056d(0x1f8)],_0xeaffd3[_0x37056d(0x1f8)],_0x1dc0c6?_0x1dc0c6[_0x37056d(0x1ce)][_0x37056d(0x1f0)][_0x37056d(0x1df)]():null][_0x37056d(0x1e6)](_0x157092=>_0x157092)[_0x37056d(0x1f6)](_0x2c40f5=>_0x2c40f5[_0x37056d(0x1dd)](_0x596086[_0x37056d(0x1e5)]))||(this[_0x37056d(0x1cf)](),_0x596086[_0x37056d(0x1f9)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x1f949e=_0x3ed1;(function(_0x22d3d5,_0x1f6be3){const _0x9d974f=_0x3ed1,_0x32b030=_0x22d3d5();while(!![]){try{const _0x444257=parseInt(_0x9d974f(0x11a))/0x1+-parseInt(_0x9d974f(0x10d))/0x2+parseInt(_0x9d974f(0x10c))/0x3+parseInt(_0x9d974f(0x119))/0x4*(-parseInt(_0x9d974f(0xe5))/0x5)+-parseInt(_0x9d974f(0x11e))/0x6+parseInt(_0x9d974f(0xfe))/0x7*(-parseInt(_0x9d974f(0xf0))/0x8)+parseInt(_0x9d974f(0x12b))/0x9;if(_0x444257===_0x1f6be3)break;else _0x32b030['push'](_0x32b030['shift']());}catch(_0x20cd83){_0x32b030['push'](_0x32b030['shift']());}}}(_0x43b9,0xd018b));import{ConfirmMixin as _0x1190fa,LateFocusButtonView as _0x4fceee}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x43b9(){const _0x14ffc8=['containerElement','isConfirm','createCollection','actionBar','label','_cancelAllConfirms','Resolve','3237819LmBFkT','2886458ZDHbES','_boundFirstCommentView','change:isReadOnly','removeCommentThread','resolveButton','commentThreadChildren','ck-reset_all-excluded','change:isActive','setTemplate','ck-thread--remove-confirmation','icon','change:archivedAt','4jmJGhk','1102135LyGmuK','isSystemComment','isUnlinked','_bindFirstCommentView','3928854CFqVVs','add','locale','isReadOnly','focus','removeButton','high','listenTo','bindTemplate','remove','isResolved','ck-thread__container','commentThreadHeaderView','16397199DGtYgw','isVisible','set','.ck-thread__container','isResolvable','ck-thread--unlinked','focusables','ariaLabel','removeConfirm','ck-thread--active','element','isEnabled','ck-thread','unbind','render','ck-rounded-corners','_model','_createResolveButton','has','1393055XiMDhF','Delete\x20comment\x20thread?','fire','commentThreadInputView','commentViews','tooltip','archivedAt','cancelConfirm','isActive','ariaDescriptionView','getTemplate','8jGLJxw','stop','actionIndicator','get','execute','resolveCommentThread','listitem','bind','querySelector','ck-comment--resolve','extendTemplate','commentsListView','length','Write\x20a\x20comment...','5420149yYCvzd','showConfirm','placeholder','ck-thread--','_updateArchivedThreadHeader','then','div'];_0x43b9=function(){return _0x14ffc8;};return _0x43b9();}function _0x3ed1(_0x4ce853,_0x124706){const _0x43b996=_0x43b9();return _0x3ed1=function(_0x3ed151,_0x2d9fd){_0x3ed151=_0x3ed151-0xe1;let _0x35f48f=_0x43b996[_0x3ed151];return _0x35f48f;},_0x3ed1(_0x4ce853,_0x124706);}import{IconCheck as _0x3aae6d}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x2f7632}from'./basecommentthreadview.js';import{getTranslation as _0xd9000f}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1190fa(_0x2f7632){[_0x1f949e(0x112)];[_0x1f949e(0x105)];[_0x1f949e(0x111)];[_0x1f949e(0x10e)];constructor(_0x50627d,_0x1384a9,_0xf4df3f,_0x37eadc){const _0x5cfb93=_0x1f949e;super(_0x50627d,_0x1384a9,_0xf4df3f,_0x37eadc),this[_0x5cfb93(0x112)]=this[_0x5cfb93(0x107)]([this[_0x5cfb93(0xfb)],this[_0x5cfb93(0xe8)],this[_0x5cfb93(0xee)]]),this[_0x5cfb93(0x12d)](_0x5cfb93(0xf2),null),this[_0x5cfb93(0x105)]=null,this[_0x5cfb93(0x10e)]=null,this[_0x5cfb93(0x120)]=_0x50627d,this[_0x5cfb93(0x111)]=this[_0x5cfb93(0xe3)](),this[_0x5cfb93(0x115)](this[_0x5cfb93(0xef)]()),this['on'](_0x5cfb93(0x114),(_0xcc5a2b,_0x2bcc02,_0x5acc72)=>{const _0x1db680=_0x5cfb93;_0x5acc72||this[_0x1db680(0x10a)]();}),this[_0x5cfb93(0x125)](this[_0x5cfb93(0xe2)],_0x5cfb93(0x10f),(_0x44ca0f,_0x24202a,_0x2529da)=>{const _0x4c2c7e=_0x5cfb93;_0x2529da&&this[_0x4c2c7e(0x10a)]();}),this[_0x5cfb93(0xfc)]>0x0&&this[_0x5cfb93(0x11d)](),this[_0x5cfb93(0x125)](this[_0x5cfb93(0xfb)][_0x5cfb93(0xe9)],_0x5cfb93(0x11f),()=>{const _0x4d10d7=_0x5cfb93;this[_0x4d10d7(0x11d)]();});}[_0x1f949e(0xef)](){const _0x2e14bb=_0x1f949e,_0x5ec0dc=this[_0x2e14bb(0x126)];return{'tag':_0x2e14bb(0x104),'attributes':{'class':['ck',_0x2e14bb(0x137),_0x2e14bb(0x113),_0x2e14bb(0xe1),_0x5ec0dc['if'](_0x2e14bb(0xed),_0x2e14bb(0x134)),_0x5ec0dc['if'](_0x2e14bb(0x11c),_0x2e14bb(0x130)),_0x5ec0dc['if'](_0x2e14bb(0x106),_0x2e14bb(0x116)),_0x5ec0dc['to'](_0x2e14bb(0xf2),_0x43c3c4=>_0x43c3c4?_0x2e14bb(0x101)+_0x43c3c4:'')],'data-thread-id':this[_0x2e14bb(0xe2)]['id'],'tabindex':0x0,'role':_0x2e14bb(0xf6),'aria-label':_0x5ec0dc['to'](_0x2e14bb(0x132)),'aria-describedby':this[_0x2e14bb(0xee)]['id']},'children':[{'tag':_0x2e14bb(0x104),'attributes':{'class':_0x2e14bb(0x129)},'children':this[_0x2e14bb(0x112)]}]};}[_0x1f949e(0x139)](){const _0x4eaa46=_0x1f949e;super[_0x4eaa46(0x139)](),this[_0x4eaa46(0x105)]=this[_0x4eaa46(0x135)][_0x4eaa46(0xf8)](_0x4eaa46(0x12e)),this[_0x4eaa46(0xe2)]['on'](_0x4eaa46(0x118),()=>{const _0x5ac864=_0x4eaa46;this[_0x5ac864(0x102)]();}),this[_0x4eaa46(0x102)]();}[_0x1f949e(0x10a)](){const _0x2fed5d=_0x1f949e;this[_0x2fed5d(0xec)]();for(const _0x5e82c4 of this[_0x2fed5d(0xfb)][_0x2fed5d(0xe9)])_0x5e82c4[_0x2fed5d(0xec)]();}[_0x1f949e(0x11d)](){const _0x48cf34=_0x1f949e,{locale:_0x228008}=this,_0x2d9137=this[_0x48cf34(0xfb)][_0x48cf34(0xe9)][_0x48cf34(0xf3)](0x0);_0x2d9137===this[_0x48cf34(0x10e)]||_0x2d9137[_0x48cf34(0x11b)]||(this[_0x48cf34(0x10e)]=_0x2d9137,this[_0x48cf34(0x138)](_0x48cf34(0xf2)),this[_0x48cf34(0xf7)](_0x48cf34(0xf2))['to'](_0x2d9137,_0x48cf34(0xf2),_0xa581d5=>_0x48cf34(0x127)===_0xa581d5?_0x48cf34(0x127):null),_0x2d9137[_0x48cf34(0x100)]=_0xd9000f(_0x228008,_0x48cf34(0xfd)),_0x2d9137[_0x48cf34(0x123)]['on'](_0x48cf34(0xf4),_0x902833=>{const _0x271bdd=_0x48cf34;_0x902833[_0x271bdd(0xf1)](),this[_0x271bdd(0xff)](_0xd9000f(_0x228008,_0x271bdd(0xe6)),this[_0x271bdd(0x105)])[_0x271bdd(0x103)](()=>{const _0xf85524=_0x271bdd;this[_0xf85524(0xe7)](_0xf85524(0x110));});},{'priority':_0x48cf34(0x124)}),this['on'](_0x48cf34(0x133),()=>{const _0x34fc37=_0x48cf34;_0x2d9137[_0x34fc37(0x122)]();}),_0x2d9137[_0x48cf34(0x108)][_0x48cf34(0x11f)](this[_0x48cf34(0x111)],0x0),_0x2d9137[_0x48cf34(0x131)][_0x48cf34(0x11f)](this[_0x48cf34(0x111)],0x0));}[_0x1f949e(0xe3)](){const _0xf75bf4=_0x1f949e,_0x4a2e3c=new _0x4fceee(this[_0xf75bf4(0x120)]);return _0x4a2e3c[_0xf75bf4(0x109)]=_0xd9000f(this[_0xf75bf4(0x120)],_0xf75bf4(0x10b)),_0x4a2e3c[_0xf75bf4(0xea)]=_0xd9000f(this[_0xf75bf4(0x120)],_0xf75bf4(0x10b)),_0x4a2e3c[_0xf75bf4(0x117)]=_0x3aae6d,_0x4a2e3c[_0xf75bf4(0xfa)]({'attributes':{'class':_0xf75bf4(0xf9)}}),_0x4a2e3c[_0xf75bf4(0xf7)](_0xf75bf4(0x136))['to'](this[_0xf75bf4(0xe2)],_0xf75bf4(0x121),_0xb4a44d=>!_0xb4a44d),_0x4a2e3c[_0xf75bf4(0xf7)](_0xf75bf4(0x12c))['to'](this[_0xf75bf4(0xe2)],_0xf75bf4(0x12f),this[_0xf75bf4(0xe2)],_0xf75bf4(0x128),(_0x5b6214,_0xd62b42)=>_0x5b6214&&!_0xd62b42),_0x4a2e3c['on'](_0xf75bf4(0xf4),()=>{const _0x246c3e=_0xf75bf4;this[_0x246c3e(0xe7)](_0x246c3e(0xf5),this[_0x246c3e(0xe2)]['id']);}),_0x4a2e3c;}[_0x1f949e(0x102)](){const _0x2b781a=_0x1f949e;this[_0x2b781a(0xe2)][_0x2b781a(0xeb)]?this[_0x2b781a(0x112)][_0x2b781a(0xe4)](this[_0x2b781a(0x12a)])||(this[_0x2b781a(0x112)][_0x2b781a(0x11f)](this[_0x2b781a(0x12a)],0x0),this[_0x2b781a(0x131)][_0x2b781a(0x11f)](this[_0x2b781a(0x12a)],0x0)):this[_0x2b781a(0x112)][_0x2b781a(0xe4)](this[_0x2b781a(0x12a)])&&(this[_0x2b781a(0x112)][_0x2b781a(0x127)](this[_0x2b781a(0x12a)]),this[_0x2b781a(0x131)][_0x2b781a(0x127)](this[_0x2b781a(0x12a)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x164e06=_0x1fc1;function _0x1b58(){const _0xefafb2=['bind','formatDateTime','_createEditButton','focusables','bindTemplate','buttonView','ariaLabel','fire','isExternal','dropdown','editButton','ck-annotation__actions','_config','_createRemoveButton','visibleView','mouseleave','items','ck-comment--info','ck-hidden','children','add','isVisible','push','ck-annotation__info','42975ycNBZP','ck-annotation__main','addMany','Delete\x20comment?','icon','label','setTemplate','Remove','ck-annotation','then','mouseenter','switchToEditMode','4ifxFcd','some','82738Kyqcve','getTemplate','ck-comment__external','withText','ck-comment__actions','_attachActions','isRemovable','actionIndicator','showConfirm','ck-annotation__info-name','removeButton','ck-comment','listitem','207455gkCRXL','ck-annotation__content-wrapper','actionBar','3341080CrEGwW','_model','from','resolvedAt','panelPosition','render','ck-annotation__user','execute','isReadOnly','isEditMode','216RwwcAr','placeholder','getExternalCommentNote','cancelConfirm','createCollection','element','isConfirm','locale','ck-annotation__actions--hidden','406KVXSVJ','getUserViewNotificationText','ck-comment__actions--hidden','ck-comment__info-time','ck-comment--','length','focus','ck-comment__main','ck-comment--edit','_createCommentInputView','Edit','group','ck-comment__user','time','ck-comment--remove','listenTo','unbind','change:isRemovable','extendTemplate','ck-comment__wrapper','783qqgoOQ','authoredAt','find','author','remove','panelView','isEnabled','removeComment','344988cNgLcU','Show\x20more\x20items','edit','div','blur','ck-comment__info-name','_createDropdown','isSystemComment','ck-annotation__info-time','Reply...','isEditable','ck-comment--remove-confirmation','toMany','set','userView','ck-comment__info','span','name','1463598rLIVbk','ariaDescriptionView'];_0x1b58=function(){return _0xefafb2;};return _0x1b58();}(function(_0xce1b96,_0x5e939e){const _0x27c285=_0x1fc1,_0xa7f21f=_0xce1b96();while(!![]){try{const _0x3a2744=-parseInt(_0x27c285(0x187))/0x1+-parseInt(_0x27c285(0x1aa))/0x2*(parseInt(_0x27c285(0x1be))/0x3)+-parseInt(_0x27c285(0x185))/0x4*(parseInt(_0x27c285(0x194))/0x5)+parseInt(_0x27c285(0x15f))/0x6+-parseInt(_0x27c285(0x14d))/0x7+parseInt(_0x27c285(0x1a1))/0x8*(-parseInt(_0x27c285(0x179))/0x9)+parseInt(_0x27c285(0x197))/0xa;if(_0x3a2744===_0x5e939e)break;else _0xa7f21f['push'](_0xa7f21f['shift']());}catch(_0x51924d){_0xa7f21f['push'](_0xa7f21f['shift']());}}}(_0x1b58,0x3659c));import{IconRemoveComment as _0x131af2,IconPencil as _0x1100ab,IconThreeVerticalDots as _0x1bded3}from'ckeditor5/src/icons.js';import{ButtonView as _0x78d9b4,createDropdown as _0x17b225,ListView as _0x50bb16,ListItemView as _0x2f36d3,focusChildOnDropdownOpen as _0x18aaed}from'ckeditor5/src/ui.js';import{UserView as _0xce9e2f,ConfirmMixin as _0x86712d,LateFocusDropdownButtonView as _0x144142}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1fc1(_0x4eb130,_0x1de806){const _0x1b588d=_0x1b58();return _0x1fc1=function(_0x1fc174,_0x1410b5){_0x1fc174=_0x1fc174-0x149;let _0x2dc724=_0x1b588d[_0x1fc174];return _0x2dc724;},_0x1fc1(_0x4eb130,_0x1de806);}import{BaseCommentView as _0x17ecb9}from'./basecommentview.js';import{getTranslation as _0x407f11}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x86712d(_0x17ecb9){[_0x164e06(0x196)];[_0x164e06(0x15b)];constructor(_0x497cac,_0x229dfd,_0x4413ac){const _0x26de0a=_0x164e06;super(_0x497cac,_0x229dfd,_0x4413ac),this[_0x26de0a(0x15a)](_0x26de0a(0x18e),null),this[_0x26de0a(0x15a)](_0x26de0a(0x1a2),_0x407f11(_0x497cac,_0x26de0a(0x156))),this[_0x26de0a(0x161)](_0x26de0a(0x1bf))['to'](_0x229dfd),this[_0x26de0a(0x161)](_0x26de0a(0x19a))['to'](_0x229dfd),this[_0x26de0a(0x196)]=this[_0x26de0a(0x1a5)](),this[_0x26de0a(0x154)]||(this[_0x26de0a(0x16b)]=this[_0x26de0a(0x163)](),this[_0x26de0a(0x191)]=this[_0x26de0a(0x16e)](),this[_0x26de0a(0x171)]=this[_0x26de0a(0x1a5)](),this[_0x26de0a(0x171)][_0x26de0a(0x17b)]([this[_0x26de0a(0x16b)],this[_0x26de0a(0x191)]]),this[_0x26de0a(0x16a)]=this[_0x26de0a(0x153)](),this[_0x26de0a(0x196)][_0x26de0a(0x175)](this[_0x26de0a(0x16a)]),this[_0x26de0a(0x164)][_0x26de0a(0x175)](this[_0x26de0a(0x16a)])),this[_0x26de0a(0x15b)]=new _0xce9e2f(_0x497cac,_0x229dfd[_0x26de0a(0x1c1)],this[_0x26de0a(0x1ab)]()),this[_0x26de0a(0x15b)][_0x26de0a(0x1bc)]({'attributes':{'class':[_0x26de0a(0x1b6),_0x26de0a(0x19d)],'aria-hidden':!0x0}}),this[_0x26de0a(0x1b9)](_0x229dfd,_0x26de0a(0x1bb),()=>this[_0x26de0a(0x1a4)]()),this[_0x26de0a(0x17f)](this[_0x26de0a(0x188)]());}[_0x164e06(0x188)](){const _0x13fbcf=_0x164e06,_0x5ef8bb=this[_0x13fbcf(0x165)],_0x39876f=[{'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x15c),_0x13fbcf(0x178)]},'children':[{'tag':_0x13fbcf(0x15d),'children':[{'text':this[_0x13fbcf(0x15b)][_0x13fbcf(0x15e)]}],'attributes':{'class':[_0x13fbcf(0x152),_0x13fbcf(0x190)],'data-cke-tooltip-text':this[_0x13fbcf(0x15b)][_0x13fbcf(0x15e)]}},{'tag':_0x13fbcf(0x1b7),'attributes':{'datetime':_0x5ef8bb['to'](_0x13fbcf(0x1bf)),'class':[_0x13fbcf(0x1ad),_0x13fbcf(0x155)]},'children':[{'text':_0x5ef8bb['to'](_0x13fbcf(0x1bf),_0x43623a=>this[_0x13fbcf(0x16d)][_0x13fbcf(0x162)](_0x43623a))}]}]},{'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x18b),_0x13fbcf(0x16c),_0x5ef8bb['if'](_0x13fbcf(0x1a0),_0x13fbcf(0x1ac)),_0x5ef8bb['if'](_0x13fbcf(0x1a0),_0x13fbcf(0x1a9))]},'children':this[_0x13fbcf(0x196)]},{'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x195)]},'children':this[_0x13fbcf(0x16f)]},this[_0x13fbcf(0x160)]];return this[_0x13fbcf(0x198)][_0x13fbcf(0x169)]&&_0x39876f[_0x13fbcf(0x177)]({'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x189)]},'children':[{'text':this[_0x13fbcf(0x1a3)]()}]}),{'tag':'li','attributes':{'class':[_0x13fbcf(0x1bd),_0x5ef8bb['if'](_0x13fbcf(0x1a7),_0x13fbcf(0x158))],'tabindex':-0x1,'aria-label':_0x5ef8bb['to'](_0x13fbcf(0x167)),'aria-describedby':this[_0x13fbcf(0x160)]['id'],'role':_0x13fbcf(0x193)},'children':[{'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x192),_0x13fbcf(0x181),_0x5ef8bb['if'](_0x13fbcf(0x1a0),_0x13fbcf(0x1b2)),_0x5ef8bb['if'](_0x13fbcf(0x154),_0x13fbcf(0x172)),_0x5ef8bb['to'](_0x13fbcf(0x18e),_0x239fd5=>_0x239fd5?_0x13fbcf(0x1ae)+_0x239fd5:'')],'data-author-id':this[_0x13fbcf(0x198)][_0x13fbcf(0x1c1)]['id'],'data-comment-id':this[_0x13fbcf(0x198)]['id'],'role':_0x13fbcf(0x1b5)},'children':[this[_0x13fbcf(0x15b)],{'tag':_0x13fbcf(0x150),'attributes':{'class':[_0x13fbcf(0x1b1),_0x13fbcf(0x17a)]},'children':_0x39876f}]}]};}[_0x164e06(0x163)](){const _0x2c62b7=_0x164e06,_0xc52644=new _0x78d9b4(this[_0x2c62b7(0x1a8)]);return _0xc52644[_0x2c62b7(0x17e)]=_0x407f11(this[_0x2c62b7(0x1a8)],_0x2c62b7(0x1b4)),_0xc52644[_0x2c62b7(0x17d)]=_0x1100ab,_0xc52644[_0x2c62b7(0x18a)]=!0x0,_0xc52644[_0x2c62b7(0x1bc)]({'attributes':{'class':_0x2c62b7(0x1b2)}}),_0xc52644[_0x2c62b7(0x161)](_0x2c62b7(0x14b))['to'](this[_0x2c62b7(0x198)],_0x2c62b7(0x19f),_0x3dce1d=>!_0x3dce1d),_0xc52644[_0x2c62b7(0x161)](_0x2c62b7(0x176))['to'](this[_0x2c62b7(0x198)],_0x2c62b7(0x157)),_0xc52644['on'](_0x2c62b7(0x19e),()=>this[_0x2c62b7(0x184)]()),_0xc52644;}[_0x164e06(0x16e)](){const _0x15b76e=_0x164e06,_0x2850c3=new _0x78d9b4(this[_0x15b76e(0x1a8)]);return _0x2850c3[_0x15b76e(0x17e)]=_0x407f11(this[_0x15b76e(0x1a8)],_0x15b76e(0x180)),_0x2850c3[_0x15b76e(0x17d)]=_0x131af2,_0x2850c3[_0x15b76e(0x18a)]=!0x0,_0x2850c3[_0x15b76e(0x1bc)]({'attributes':{'class':_0x15b76e(0x1b8)}}),_0x2850c3[_0x15b76e(0x161)](_0x15b76e(0x14b))['to'](this[_0x15b76e(0x198)],_0x15b76e(0x19f),_0x4bc20f=>!_0x4bc20f),_0x2850c3[_0x15b76e(0x161)](_0x15b76e(0x176))['to'](this[_0x15b76e(0x198)],_0x15b76e(0x18d)),_0x2850c3['on'](_0x15b76e(0x19e),()=>{const _0x4cb9b6=_0x15b76e;this[_0x4cb9b6(0x18f)](_0x407f11(this[_0x4cb9b6(0x1a8)],_0x4cb9b6(0x17c)),this[_0x4cb9b6(0x1a6)])[_0x4cb9b6(0x182)](()=>{const _0x192ef3=_0x4cb9b6;this[_0x192ef3(0x168)](_0x192ef3(0x14c),this[_0x192ef3(0x198)]['id']);});}),_0x2850c3;}[_0x164e06(0x153)](){const _0x76889=_0x164e06,_0x362311=_0x17b225(this[_0x76889(0x1a8)],_0x144142),_0x5be8a0=_0x362311[_0x76889(0x14a)][_0x76889(0x174)],_0x413582=new _0x50bb16(this[_0x76889(0x1a8)]),_0x11f96a=_0x362311[_0x76889(0x165)];_0x18aaed(_0x362311,()=>this[_0x76889(0x171)][_0x76889(0x1c0)](_0xa6ff85=>_0xa6ff85[_0x76889(0x176)])),_0x362311[_0x76889(0x1bc)]({'attributes':{'class':[_0x11f96a['if'](_0x76889(0x176),_0x76889(0x173),_0x48f327=>!_0x48f327)]}});const _0xf0cb3e=(_0x284bb7,_0x4c31c6=-0x1)=>{const _0x2e7059=_0x76889,_0x86274b=new _0x2f36d3(this[_0x2e7059(0x1a8)]);_0x86274b[_0x2e7059(0x174)][_0x2e7059(0x175)](_0x284bb7);const _0x4102a1=_0x4c31c6>-0x1?_0x4c31c6:_0x413582[_0x2e7059(0x171)][_0x2e7059(0x1af)];_0x413582[_0x2e7059(0x171)][_0x2e7059(0x175)](_0x86274b,_0x4102a1);const _0x8b165f=Array[_0x2e7059(0x199)](this[_0x2e7059(0x171)]);_0x362311[_0x2e7059(0x1ba)](_0x2e7059(0x14b),_0x2e7059(0x176)),_0x362311[_0x2e7059(0x161)](_0x2e7059(0x14b))[_0x2e7059(0x159)](_0x8b165f,_0x2e7059(0x14b),(..._0x3044d9)=>_0x3044d9[_0x2e7059(0x186)](_0x53b43a=>_0x53b43a)),_0x362311[_0x2e7059(0x161)](_0x2e7059(0x176))[_0x2e7059(0x159)](_0x8b165f,_0x2e7059(0x176),(..._0x15f72f)=>_0x15f72f[_0x2e7059(0x186)](_0x557aeb=>_0x557aeb));};_0x362311[_0x76889(0x19b)]='sw',_0x362311[_0x76889(0x166)][_0x76889(0x15a)]({'label':_0x407f11(this[_0x76889(0x1a8)],_0x76889(0x14e)),'icon':_0x1bded3});for(const _0x3c02f1 of this[_0x76889(0x171)])_0xf0cb3e(_0x3c02f1);return _0x5be8a0[_0x76889(0x175)](_0x413582),_0x362311[_0x76889(0x1b9)](this[_0x76889(0x171)],_0x76889(0x175),(_0x40cc92,_0x308b2a,_0x5e1629)=>{_0xf0cb3e(_0x308b2a,_0x5e1629);}),_0x362311[_0x76889(0x1b9)](this[_0x76889(0x171)],_0x76889(0x149),(_0x2e9a39,_0x16a473,_0x331fdb)=>{const _0x3ace4a=_0x76889;_0x413582[_0x3ace4a(0x171)][_0x3ace4a(0x149)](_0x331fdb);}),_0x362311;}[_0x164e06(0x18c)](_0x3784a3,_0x503c38){const _0x19946b=_0x164e06,_0x38dc42=_0x3784a3&&_0x3784a3[_0x19946b(0x1a6)];_0x38dc42&&(this[_0x19946b(0x1b9)](_0x38dc42,_0x19946b(0x183),()=>this[_0x19946b(0x18e)]=_0x503c38),this[_0x19946b(0x1b9)](_0x38dc42,_0x19946b(0x1b0),()=>this[_0x19946b(0x18e)]=_0x503c38),this[_0x19946b(0x1b9)](_0x38dc42,_0x19946b(0x170),()=>this[_0x19946b(0x18e)]=null),this[_0x19946b(0x1b9)](_0x38dc42,_0x19946b(0x151),()=>this[_0x19946b(0x18e)]=null));}[_0x164e06(0x1b3)](){const _0x381645=_0x164e06,_0x197dfa=super[_0x381645(0x1b3)]();return _0x197dfa[_0x381645(0x161)](_0x381645(0x1a2))['to'](this),_0x197dfa;}[_0x164e06(0x19c)](){const _0x480dee=_0x164e06;super[_0x480dee(0x19c)](),this[_0x480dee(0x18c)](this[_0x480dee(0x16b)],_0x480dee(0x14f)),this[_0x480dee(0x18c)](this[_0x480dee(0x191)],_0x480dee(0x149));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xe1976e=_0x2713;(function(_0x1e82ed,_0x1bdd43){var _0x3da8dc=_0x2713,_0x5a7a92=_0x1e82ed();while(!![]){try{var _0x166a40=parseInt(_0x3da8dc(0x109))/0x1+-parseInt(_0x3da8dc(0x106))/0x2+parseInt(_0x3da8dc(0x10e))/0x3*(-parseInt(_0x3da8dc(0x107))/0x4)+-parseInt(_0x3da8dc(0x110))/0x5*(-parseInt(_0x3da8dc(0x112))/0x6)+parseInt(_0x3da8dc(0x10c))/0x7+-parseInt(_0x3da8dc(0x105))/0x8*(-parseInt(_0x3da8dc(0x108))/0x9)+-parseInt(_0x3da8dc(0x113))/0xa*(parseInt(_0x3da8dc(0x10f))/0xb);if(_0x166a40===_0x1bdd43)break;else _0x5a7a92['push'](_0x5a7a92['shift']());}catch(_0x36870e){_0x5a7a92['push'](_0x5a7a92['shift']());}}}(_0x1ffd,0xdfec5));function _0x2713(_0x4c9e46,_0x2a5ba0){var _0x1ffdd2=_0x1ffd();return _0x2713=function(_0x271371,_0x1c1fdf){_0x271371=_0x271371-0x105;var _0x49020b=_0x1ffdd2[_0x271371];return _0x49020b;},_0x2713(_0x4c9e46,_0x2a5ba0);}import{Plugin as _0x4b9f89}from'ckeditor5/src/core.js';function _0x1ffd(){var _0x1e99bc=['5894744SxlcGJ','2194858UGCcpv','40TTEvWD','18oifbfA','216403JabpmT','isOfficialPlugin','requires','12310662XSLPZI','Comments','324468nxUSpt','31735mUrOlZ','30TNcrOE','isPremiumPlugin','792768VaSxZD','3970POUDKe','pluginName'];_0x1ffd=function(){return _0x1e99bc;};return _0x1ffd();}import{CommentsRepository as _0x39050f}from'./comments/commentsrepository.js';import{CommentsEditing as _0x151973}from'./comments/commentsediting.js';import{CommentsUI as _0x5515b4}from'./comments/commentsui.js';import{CommentsOnly as _0x547928}from'./commentsonly.js';import{WideSidebar as _0x4ae3ed}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x323525}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x285c73}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x14ad8e}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x306587}from'./comments/commentsarchive.js';export class Comments extends _0x4b9f89{static get[_0xe1976e(0x10b)](){return[_0x39050f,_0x151973,_0x5515b4,_0x306587,_0x14ad8e,_0x547928,_0x4ae3ed,_0x323525,_0x285c73];}static get[_0xe1976e(0x114)](){var _0x22bd26=_0xe1976e;return _0x22bd26(0x10d);}static get[_0xe1976e(0x10a)](){return!0x0;}static get[_0xe1976e(0x111)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x580bab=_0x3dec;function _0x3dec(_0x21dfa2,_0x4316e7){const _0x3ffe2a=_0x3ffe();return _0x3dec=function(_0x3dec65,_0x2fb64e){_0x3dec65=_0x3dec65-0x120;let _0x2520ec=_0x3ffe2a[_0x3dec65];return _0x2520ec;},_0x3dec(_0x21dfa2,_0x4316e7);}(function(_0x452a07,_0x5a72ef){const _0x59b0b4=_0x3dec,_0x3d03d3=_0x452a07();while(!![]){try{const _0x39910e=-parseInt(_0x59b0b4(0x120))/0x1*(-parseInt(_0x59b0b4(0x141))/0x2)+parseInt(_0x59b0b4(0x12f))/0x3*(-parseInt(_0x59b0b4(0x148))/0x4)+parseInt(_0x59b0b4(0x129))/0x5*(parseInt(_0x59b0b4(0x142))/0x6)+parseInt(_0x59b0b4(0x14b))/0x7+-parseInt(_0x59b0b4(0x14e))/0x8*(-parseInt(_0x59b0b4(0x126))/0x9)+parseInt(_0x59b0b4(0x13f))/0xa*(parseInt(_0x59b0b4(0x13e))/0xb)+-parseInt(_0x59b0b4(0x127))/0xc*(parseInt(_0x59b0b4(0x146))/0xd);if(_0x39910e===_0x5a72ef)break;else _0x3d03d3['push'](_0x3d03d3['shift']());}catch(_0xc6cf4f){_0x3d03d3['push'](_0x3d03d3['shift']());}}}(_0x3ffe,0x3bb71));import{Plugin as _0x1367b8}from'ckeditor5/src/core.js';import{CommentsEditing as _0x514d3b}from'./comments/commentsediting.js';export class CommentsOnly extends _0x1367b8{static get[_0x580bab(0x147)](){const _0x37cd78=_0x580bab;return _0x37cd78(0x14a);}static get[_0x580bab(0x12a)](){return!0x0;}static get[_0x580bab(0x13c)](){return!0x0;}static get[_0x580bab(0x135)](){return[_0x514d3b];}constructor(_0x17baee){const _0x4b2ce7=_0x580bab;super(_0x17baee),this[_0x4b2ce7(0x150)](_0x4b2ce7(0x122),!0x1),this['on'](_0x4b2ce7(0x13d),(_0x23784c,_0x5f4872,_0x332456)=>{const _0x1c48fd=_0x4b2ce7;_0x332456?this[_0x1c48fd(0x12b)]():this[_0x1c48fd(0x145)]();});}[_0x580bab(0x132)](){const _0x36588f=_0x580bab;!this[_0x36588f(0x122)]&&this[_0x36588f(0x131)][_0x36588f(0x14d)][_0x36588f(0x144)](_0x36588f(0x12c))&&(this[_0x36588f(0x122)]=!0x0);}[_0x580bab(0x12b)](){const _0x15ffa3=_0x580bab;for(const [_0x152343,_0x1d23df]of this[_0x15ffa3(0x131)][_0x15ffa3(0x123)])_0x1d23df[_0x15ffa3(0x128)]&&_0x15ffa3(0x13a)!==_0x152343&&_0x1d23df[_0x15ffa3(0x143)](_0x15ffa3(0x12e));(this[_0x15ffa3(0x131)][_0x15ffa3(0x134)][_0x15ffa3(0x13b)](_0x15ffa3(0x124))&&this[_0x15ffa3(0x131)][_0x15ffa3(0x134)][_0x15ffa3(0x144)](_0x15ffa3(0x124))[_0x15ffa3(0x143)](_0x15ffa3(0x12e)),this[_0x15ffa3(0x131)][_0x15ffa3(0x134)][_0x15ffa3(0x13b)](_0x15ffa3(0x14f)))&&this[_0x15ffa3(0x131)][_0x15ffa3(0x134)][_0x15ffa3(0x144)](_0x15ffa3(0x14f))[_0x15ffa3(0x143)](_0x15ffa3(0x12e));this[_0x15ffa3(0x131)][_0x15ffa3(0x123)][_0x15ffa3(0x144)](_0x15ffa3(0x130))?.[_0x15ffa3(0x143)](_0x15ffa3(0x12e));const _0x4cbcd7=this[_0x15ffa3(0x131)][_0x15ffa3(0x139)][_0x15ffa3(0x140)][_0x15ffa3(0x14c)];this[_0x15ffa3(0x136)](_0x4cbcd7,_0x15ffa3(0x138),_0x5da265=>_0x5da265[_0x15ffa3(0x125)](),{'priority':_0x15ffa3(0x149)}),this[_0x15ffa3(0x136)](_0x4cbcd7,_0x15ffa3(0x137),_0x2e2f85=>_0x2e2f85[_0x15ffa3(0x125)](),{'priority':_0x15ffa3(0x149)}),this[_0x15ffa3(0x136)](_0x4cbcd7,_0x15ffa3(0x12d),_0x195684=>_0x195684[_0x15ffa3(0x125)](),{'priority':_0x15ffa3(0x149)});}[_0x580bab(0x145)](){const _0x593a38=_0x580bab;for(const [_0xa07048,_0x50159a]of this[_0x593a38(0x131)][_0x593a38(0x123)])_0x50159a[_0x593a38(0x128)]&&_0x593a38(0x13a)!==_0xa07048&&_0x50159a[_0x593a38(0x133)](_0x593a38(0x12e));this[_0x593a38(0x131)][_0x593a38(0x134)][_0x593a38(0x13b)](_0x593a38(0x14f))&&this[_0x593a38(0x131)][_0x593a38(0x134)][_0x593a38(0x144)](_0x593a38(0x14f))[_0x593a38(0x133)](_0x593a38(0x12e)),this[_0x593a38(0x131)][_0x593a38(0x123)][_0x593a38(0x144)](_0x593a38(0x130))?.[_0x593a38(0x133)](_0x593a38(0x12e)),this[_0x593a38(0x121)](this[_0x593a38(0x131)][_0x593a38(0x139)][_0x593a38(0x140)][_0x593a38(0x14c)]);}}function _0x3ffe(){const _0x39b40a=['editing','addCommentThread','has','isPremiumPlugin','change:isEnabled','11uBNpmF','620750DfWzTU','view','26yfFcsG','6vPaHJg','forceDisabled','get','_disableCommentsOnlyMode','13507SjvXSG','pluginName','4tZqLwQ','highest','CommentsOnly','474796uudDgP','document','config','853520AginSh','SourceEditing','set','25703VsLInt','stopListening','isEnabled','commands','DragDrop','stop','18fZgqly','3048QhVSTQ','affectsData','574310BuIwoY','isOfficialPlugin','_enableCommentsOnlyMode','commentsOnly','delete','commentsOnlyMode','851355zOSVRy','editSource','editor','afterInit','clearForceDisabled','plugins','requires','listenTo','clipboardInput','cut'];_0x3ffe=function(){return _0x39b40a;};return _0x3ffe();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x372078,_0x43006e){var _0x85b865=_0x332e,_0x2bae7f=_0x372078();while(!![]){try{var _0x3a1265=parseInt(_0x85b865(0x1b8))/0x1*(-parseInt(_0x85b865(0x1b9))/0x2)+parseInt(_0x85b865(0x1be))/0x3+-parseInt(_0x85b865(0x1b6))/0x4*(parseInt(_0x85b865(0x1b7))/0x5)+parseInt(_0x85b865(0x1bf))/0x6*(-parseInt(_0x85b865(0x1c0))/0x7)+parseInt(_0x85b865(0x1bc))/0x8+parseInt(_0x85b865(0x1ba))/0x9*(-parseInt(_0x85b865(0x1bd))/0xa)+parseInt(_0x85b865(0x1bb))/0xb;if(_0x3a1265===_0x43006e)break;else _0x2bae7f['push'](_0x2bae7f['shift']());}catch(_0x391d57){_0x2bae7f['push'](_0x2bae7f['shift']());}}}(_0x2628,0x45b92));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';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';function _0x332e(_0x399d7e,_0x148bec){var _0x26285e=_0x2628();return _0x332e=function(_0x332eaf,_0x5dc8b0){_0x332eaf=_0x332eaf-0x1b6;var _0x5546a7=_0x26285e[_0x332eaf];return _0x5546a7;},_0x332e(_0x399d7e,_0x148bec);}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';function _0x2628(){var _0x23cb49=['414HXazTW','9003654bEzwHK','2017672LjBZse','29550rEhcCj','8565ONPOlU','1902UYoHXf','9884BWjSbI','148SgFHCr','25025ADrfJp','1riClPT','38546mhgXUB'];_0x2628=function(){return _0x23cb49;};return _0x2628();}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(_0x34864b,_0x1d15f9,_0x3a4bd3){const t=_0x34864b['t'];switch(_0x1d15f9){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'},_0x3a4bd3);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'},_0x3a4bd3);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'},_0x3a4bd3);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'},_0x3a4bd3);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3a4bd3);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'},_0x3a4bd3);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'},_0x3a4bd3);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'},_0x3a4bd3);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 _0x2b50(){const _0x5d8ed2=['14PhuhhU','6lkXZJN','1519816mEEyQb','characterData','9YPyhsF','824830vEDoMC','1qRSzzG','class','disconnect','3756535ZEeewz','attributes','observe','cancel','1689618fUdOHe','38952yfvCwF','childList','attributeName','225612DGGIuC','type','203914vhejiD','165vZUUSO'];_0x2b50=function(){return _0x5d8ed2;};return _0x2b50();}(function(_0xb954e,_0x2db528){const _0x428c84=_0x57df,_0x42ac33=_0xb954e();while(!![]){try{const _0xe4367a=parseInt(_0x428c84(0xaa))/0x1*(parseInt(_0x428c84(0xa2))/0x2)+parseInt(_0x428c84(0x9c))/0x3+parseInt(_0x428c84(0xa6))/0x4+parseInt(_0x428c84(0x98))/0x5*(-parseInt(_0x428c84(0xa5))/0x6)+-parseInt(_0x428c84(0xa4))/0x7*(parseInt(_0x428c84(0x9d))/0x8)+parseInt(_0x428c84(0xa8))/0x9*(-parseInt(_0x428c84(0xa9))/0xa)+parseInt(_0x428c84(0xa3))/0xb*(parseInt(_0x428c84(0xa0))/0xc);if(_0xe4367a===_0x2db528)break;else _0x42ac33['push'](_0x42ac33['shift']());}catch(_0x21086e){_0x42ac33['push'](_0x42ac33['shift']());}}}(_0x2b50,0x76114));function _0x57df(_0x368e74,_0x30d978){const _0x2b504a=_0x2b50();return _0x57df=function(_0x57dfa6,_0x17bc8a){_0x57dfa6=_0x57dfa6-0x96;let _0x3b0c7f=_0x2b504a[_0x57dfa6];return _0x3b0c7f;},_0x57df(_0x368e74,_0x30d978);}import{throttle as _0x55cbb7}from'es-toolkit/compat';export function createMutationObserver(_0x55910d){const _0x599a88=_0x55cbb7(_0x55910d,0x1e),_0x2e1463=new MutationObserver(_0x25f024=>{const _0x52914f=_0x57df;for(const _0x5e3ebf of _0x25f024)(_0x52914f(0x99)==_0x5e3ebf[_0x52914f(0xa1)]&&_0x52914f(0x96)==_0x5e3ebf[_0x52914f(0x9f)]||_0x52914f(0x9e)==_0x5e3ebf[_0x52914f(0xa1)]||_0x52914f(0xa7)==_0x5e3ebf[_0x52914f(0xa1)])&&_0x599a88();});return{'attach'(_0x1d0f72){const _0x1755ae=_0x57df;_0x2e1463[_0x1755ae(0x9a)](_0x1d0f72,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3a66e5=_0x57df;_0x2e1463[_0x3a66e5(0x97)](),_0x599a88[_0x3a66e5(0x9b)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x33a648,_0x25be4e){const _0x8f3180=_0x5a37,_0x86dbc8=_0x33a648();while(!![]){try{const _0x54df19=parseInt(_0x8f3180(0x163))/0x1+parseInt(_0x8f3180(0x165))/0x2*(parseInt(_0x8f3180(0x166))/0x3)+parseInt(_0x8f3180(0x162))/0x4+-parseInt(_0x8f3180(0x161))/0x5+parseInt(_0x8f3180(0x15e))/0x6*(-parseInt(_0x8f3180(0x15f))/0x7)+-parseInt(_0x8f3180(0x160))/0x8+-parseInt(_0x8f3180(0x15d))/0x9;if(_0x54df19===_0x25be4e)break;else _0x86dbc8['push'](_0x86dbc8['shift']());}catch(_0x4e2727){_0x86dbc8['push'](_0x86dbc8['shift']());}}}(_0x48da,0x9e3d6));function _0x5a37(_0x5e538d,_0x13bc7e){const _0x48da0d=_0x48da();return _0x5a37=function(_0x5a37a7,_0xf78bb4){_0x5a37a7=_0x5a37a7-0x15d;let _0x2c3a20=_0x48da0d[_0x5a37a7];return _0x2c3a20;},_0x5a37(_0x5e538d,_0x13bc7e);}function _0x48da(){const _0x2f13e2=['split','31404nUhcKD','189fyfrFl','788751SDKeMj','426njixmS','59500AmbCux','6656392mKptTt','5516485qpyhzI','4552848REzNeO','1147197bTxxek'];_0x48da=function(){return _0x2f13e2;};return _0x48da();}export function splitMarkerName(_0x1861d2){const _0x135cfe=_0x5a37,_0x141fd4=_0x1861d2[_0x135cfe(0x164)](':');return{'group':_0x141fd4[0x0],'id':_0x141fd4[0x1],'part':_0x141fd4[0x2]};}
|