@ckeditor/ckeditor5-comments 46.0.0 → 46.0.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-editor.css +5 -5
- package/dist/index.css +49 -49
- 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.d.ts +1 -8
- 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.d.ts +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.d.ts +12 -0
- package/src/utils/splitmarkername.js +23 -0
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1196(_0x21a0f9,_0x3f9ade){const _0x2f19d8=_0x2f19();return _0x1196=function(_0x11969d,_0x3d677d){_0x11969d=_0x11969d-0xa9;let _0x5ae614=_0x2f19d8[_0x11969d];return _0x5ae614;},_0x1196(_0x21a0f9,_0x3f9ade);}const _0x3a2e2d=_0x1196;(function(_0x4315b3,_0x36c98d){const _0x272d14=_0x1196,_0x1d573d=_0x4315b3();while(!![]){try{const _0x452bc0=-parseInt(_0x272d14(0xf1))/0x1+parseInt(_0x272d14(0xd3))/0x2+-parseInt(_0x272d14(0xda))/0x3*(parseInt(_0x272d14(0xfd))/0x4)+parseInt(_0x272d14(0xdf))/0x5+parseInt(_0x272d14(0xb6))/0x6+-parseInt(_0x272d14(0xeb))/0x7*(parseInt(_0x272d14(0xc6))/0x8)+parseInt(_0x272d14(0xc9))/0x9*(parseInt(_0x272d14(0xfb))/0xa);if(_0x452bc0===_0x36c98d)break;else _0x1d573d['push'](_0x1d573d['shift']());}catch(_0x1d85e5){_0x1d573d['push'](_0x1d573d['shift']());}}}(_0x2f19,0x94afd));import{View as _0x22b386,FocusCycler as _0x51bf2f}from'ckeditor5/src/ui.js';function _0x2f19(){const _0x27a113=['formatDateTime','weight','keystrokes','21mtqNZa','focus','_setupKeyboardNavigation','_shouldCollapse','insert','length','844961btqAEb','add','stopListening','comments','_handleInfoComment','_config','arrowup','_updateHasDirtyComment','change','change:isResolved','3185340YitZhD','_model','172mZxVsR','resolvedCommentView','_handleNewCommentModel','createCollection','editorReady','ck-hidden','viewUid','maxCommentCharsWhenCollapsed','hasDirtyComment','_rearrangeExpand','updateComment','from','delete','focusTracker','bind','change:isActive','Marked\x20as\x20resolved','editorConfig','bindTemplate','resolveCommentThread','expand','destroy','_collapsedCommentsView','focusFirst','focusCycler','some','6608256kcijWx','delegate','count','_findOptimalIndex','CommentView','arrowdown','resolvedAt','element','set','render','get','maxCommentsWhenCollapsed','change:isEditMode','authoredAt','removed','commentUpdated','2757448NtAshL','editorDestroyed','refreshVisibleViews','45IDoHbj','commentViews','_rearrangeCollapse','change:hasDirtyComment','ck-thread__comments','remove','isActive','visibleViews','includes','collapse','196742ebZFTg','focusLast','resolved','listenTo','removeComment','isEditMode','map','72183YFiJQy','_handleRemoveCommentModel','added','locale','setTemplate','3651155vEvsuY','_calculatePosition','reverse','target','forEach','maxThreadTotalWeight','equal','resolvedBy','Thread\x20comments'];_0x2f19=function(){return _0x27a113;};return _0x2f19();}import{diff as _0x3ace9c,Collection as _0x25b6fb,FocusTracker as _0x428ff2,KeystrokeHandler as _0x4304dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x3486c1}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x91fce0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x22b386{[_0x3a2e2d(0xca)];[_0x3a2e2d(0xfe)];[_0x3a2e2d(0xa9)];[_0x3a2e2d(0xea)];[_0x3a2e2d(0xb4)];[_0x3a2e2d(0xfc)];[_0x3a2e2d(0xf6)];[_0x3a2e2d(0xb2)];constructor(_0x57eb04,_0x3b4350,_0x52a289){const _0x1eb7b2=_0x3a2e2d;super(_0x57eb04);const _0x8841d7=this[_0x1eb7b2(0xae)];this[_0x1eb7b2(0xbe)](_0x1eb7b2(0x105),!0x1),this[_0x1eb7b2(0xbe)](_0x1eb7b2(0xf0),_0x3b4350[_0x1eb7b2(0xf4)][_0x1eb7b2(0xf0)]),this[_0x1eb7b2(0xbe)](_0x1eb7b2(0xcf),!0x1),this[_0x1eb7b2(0xfc)]=_0x3b4350,this[_0x1eb7b2(0xf6)]=_0x52a289,this[_0x1eb7b2(0xca)]=this[_0x1eb7b2(0x100)](),this[_0x1eb7b2(0xd0)]=this[_0x1eb7b2(0x100)](),this[_0x1eb7b2(0xfe)]=null,this[_0x1eb7b2(0xa9)]=new _0x428ff2(),this[_0x1eb7b2(0xea)]=new _0x4304dd(),this[_0x1eb7b2(0xb4)]=new _0x51bf2f({'focusables':this[_0x1eb7b2(0xca)],'focusTracker':this[_0x1eb7b2(0xa9)],'keystrokeHandler':this[_0x1eb7b2(0xea)],'keystrokeHandlerOptions':{'filter':_0x4c52ee=>this[_0x1eb7b2(0xca)][_0x1eb7b2(0xd9)](_0x3d1189=>_0x3d1189[_0x1eb7b2(0xbd)])[_0x1eb7b2(0xd1)](_0x4c52ee[_0x1eb7b2(0xe2)])},'actions':{'focusPrevious':_0x1eb7b2(0xf7),'focusNext':_0x1eb7b2(0xbb)}}),this[_0x1eb7b2(0xb2)]=new _0x91fce0(_0x57eb04),this[_0x1eb7b2(0xb2)][_0x1eb7b2(0xaa)](_0x1eb7b2(0xb8))['to'](this,_0x1eb7b2(0xf0),_0x318500=>_0x318500-this[_0x1eb7b2(0xf6)][_0x1eb7b2(0xc1)]);for(const _0x3a286a of _0x3b4350[_0x1eb7b2(0xf4)])this[_0x1eb7b2(0xff)](_0x3a286a);this[_0x1eb7b2(0xf5)](),this[_0x1eb7b2(0xd6)](_0x3b4350[_0x1eb7b2(0xf4)],_0x1eb7b2(0xf2),(_0x4c2f49,_0x3471ef)=>{const _0x249d52=_0x1eb7b2,_0x53c230=this[_0x249d52(0xe0)](_0x3471ef);this[_0x249d52(0xf0)]++,this[_0x249d52(0xff)](_0x3471ef,_0x53c230),this[_0x249d52(0xc8)]();}),this[_0x1eb7b2(0xd6)](_0x3b4350[_0x1eb7b2(0xf4)],_0x1eb7b2(0xce),(_0xc428d8,_0x58dd5b)=>{const _0x125dc7=_0x1eb7b2;this[_0x125dc7(0xf0)]--,this[_0x125dc7(0xdb)](_0x58dd5b),this[_0x125dc7(0xc8)]();}),this[_0x1eb7b2(0xd6)](_0x3b4350,_0x1eb7b2(0xc5),()=>this[_0x1eb7b2(0xc8)]()),this[_0x1eb7b2(0xd6)](_0x3b4350,_0x1eb7b2(0xfa),()=>this[_0x1eb7b2(0xf5)]()),this['on'](_0x1eb7b2(0xab),()=>this[_0x1eb7b2(0xc8)]()),this['on'](_0x1eb7b2(0xcc),()=>this[_0x1eb7b2(0xc8)]()),this[_0x1eb7b2(0xde)]({'tag':'ul','attributes':{'class':[_0x1eb7b2(0xcd),_0x8841d7['if'](_0x1eb7b2(0xf0),_0x1eb7b2(0x102),_0x5c32f7=>!_0x5c32f7)],'aria-label':_0x3486c1(_0x57eb04,_0x1eb7b2(0xe7))},'children':this[_0x1eb7b2(0xd0)]});}get[_0x3a2e2d(0xee)](){const _0x66f13=_0x3a2e2d;return this[_0x66f13(0xfc)][_0x66f13(0xe9)]>this[_0x66f13(0xf6)][_0x66f13(0xe4)]&&!this[_0x66f13(0xcf)]&&!this[_0x66f13(0x105)];}[_0x3a2e2d(0xbf)](){const _0x125706=_0x3a2e2d;super[_0x125706(0xbf)](),this[_0x125706(0xc8)](),this[_0x125706(0xed)]();}[_0x3a2e2d(0xec)](_0x3c8d20){const _0xfb7539=_0x3a2e2d;-0x1===_0x3c8d20?this[_0xfb7539(0xb4)][_0xfb7539(0xd4)]():this[_0xfb7539(0xb4)][_0xfb7539(0xb3)]();}[_0x3a2e2d(0xb1)](){const _0x281c4e=_0x3a2e2d;this[_0x281c4e(0xb2)][_0x281c4e(0xb1)]();for(const _0x5c1aeb of this[_0x281c4e(0xca)])_0x5c1aeb[_0x281c4e(0xb1)]();super[_0x281c4e(0xb1)]();}[_0x3a2e2d(0xc8)](){const _0x2a65f4=_0x3a2e2d;this[_0x2a65f4(0xee)]?this[_0x2a65f4(0xcb)]():this[_0x2a65f4(0x106)]();}[_0x3a2e2d(0xff)](_0x22e385,_0x5bc137){const _0x47f301=_0x3a2e2d,_0x5266a3=new this[(_0x47f301(0xf6))][(_0x47f301(0xba))](this[_0x47f301(0xdd)],_0x22e385,{'maxCommentCharsWhenCollapsed':this[_0x47f301(0xf6)][_0x47f301(0x104)],'formatDateTime':this[_0x47f301(0xf6)][_0x47f301(0xe8)],'editorConfig':this[_0x47f301(0xf6)][_0x47f301(0xad)]});_0x5266a3[_0x47f301(0x103)]=_0x22e385['id'],_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xd7))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0x107))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xaf))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0x101))['to'](this),_0x5266a3[_0x47f301(0xb7)](_0x47f301(0xc7))['to'](this),this[_0x47f301(0xd6)](_0x5266a3,_0x47f301(0xc2),()=>this[_0x47f301(0xf8)]()),this[_0x47f301(0xca)][_0x47f301(0xf2)](_0x5266a3,_0x5bc137);}[_0x3a2e2d(0xe0)](_0x5d350d){const _0x335f0f=_0x3a2e2d,_0x4b2a1e=this[_0x335f0f(0xfc)][_0x335f0f(0xb9)](_0x5d350d);return this[_0x335f0f(0xfe)]?this[_0x335f0f(0xfe)][_0x335f0f(0xc3)]>_0x5d350d[_0x335f0f(0xc3)]?_0x4b2a1e-0x1:_0x4b2a1e:_0x4b2a1e-0x1;}[_0x3a2e2d(0xf5)](){const _0x5179ae=_0x3a2e2d;if(this[_0x5179ae(0xfc)][_0x5179ae(0xe6)]&&this[_0x5179ae(0xfc)][_0x5179ae(0xbc)]){const _0x1b6af0={'id':_0x5179ae(0xd5),'author':this[_0x5179ae(0xfc)][_0x5179ae(0xe6)],'authoredAt':this[_0x5179ae(0xfc)][_0x5179ae(0xbc)],'content':_0x3486c1(this[_0x5179ae(0xdd)],_0x5179ae(0xac)),'attributes':{}};this[_0x5179ae(0xfe)]=new this[(_0x5179ae(0xf6))][(_0x5179ae(0xba))](this[_0x5179ae(0xdd)],_0x1b6af0,{'maxCommentCharsWhenCollapsed':this[_0x5179ae(0xf6)][_0x5179ae(0x104)],'formatDateTime':this[_0x5179ae(0xf6)][_0x5179ae(0xe8)],'editorConfig':this[_0x5179ae(0xf6)][_0x5179ae(0xad)],'isSystemComment':!0x0}),this[_0x5179ae(0xca)][_0x5179ae(0xf2)](this[_0x5179ae(0xfe)],this[_0x5179ae(0xfc)][_0x5179ae(0xb9)](_0x1b6af0));}else this[_0x5179ae(0xfe)]&&(this[_0x5179ae(0xca)][_0x5179ae(0xce)](this[_0x5179ae(0xfe)]),this[_0x5179ae(0xfe)][_0x5179ae(0xb1)](),this[_0x5179ae(0xfe)]=null);this[_0x5179ae(0xc8)]();}[_0x3a2e2d(0xdb)](_0x2c1039){const _0x2c2952=_0x3a2e2d,_0x4f12ed=this[_0x2c2952(0xca)][_0x2c2952(0xce)](_0x2c1039['id']);this[_0x2c2952(0xf3)](_0x4f12ed),_0x4f12ed[_0x2c2952(0xd8)]&&this[_0x2c2952(0xf8)](),_0x4f12ed[_0x2c2952(0xb1)]();}[_0x3a2e2d(0xf8)](){const _0x263b11=_0x3a2e2d;this[_0x263b11(0x105)]=Array[_0x263b11(0x108)](this[_0x263b11(0xca)])[_0x263b11(0xb5)](_0x9b73fd=>_0x9b73fd[_0x263b11(0xd8)]);}[_0x3a2e2d(0xcb)](){const _0x13197a=_0x3a2e2d,_0x407fa7=function(_0x202249){const _0x319e55=_0x1196,_0x40488b=new _0x25b6fb();for(const _0x4ebe12 of _0x202249)_0x40488b[_0x319e55(0xf2)](_0x4ebe12);return _0x40488b;}(this[_0x13197a(0xca)]),_0x4cbc40=this[_0x13197a(0xb2)][_0x13197a(0xb8)];for(let _0x15f3c9=0x1;_0x15f3c9<=_0x4cbc40;_0x15f3c9++)_0x407fa7[_0x13197a(0xce)](0x1);for(const _0x17905e of _0x407fa7)_0x17905e[_0x13197a(0xd2)]();_0x4cbc40>0x0&&_0x407fa7[_0x13197a(0xf2)](this[_0x13197a(0xb2)],0x1),rs(_0x3ace9c(Array[_0x13197a(0x108)](this[_0x13197a(0xd0)]),Array[_0x13197a(0x108)](_0x407fa7)),this[_0x13197a(0xd0)],_0x407fa7);}[_0x3a2e2d(0x106)](){const _0x447770=_0x3a2e2d;rs(_0x3ace9c(Array[_0x447770(0x108)](this[_0x447770(0xd0)]),Array[_0x447770(0x108)](this[_0x447770(0xca)])),this[_0x447770(0xd0)],this[_0x447770(0xca)]);for(const _0x128011 of this[_0x447770(0xd0)])_0x128011[_0x447770(0xb0)]();}[_0x3a2e2d(0xed)](){const _0x1bf443=_0x3a2e2d;this[_0x1bf443(0xca)][_0x1bf443(0xe3)](_0x369aa6=>{const _0x230025=_0x1bf443;this[_0x230025(0xa9)][_0x230025(0xf2)](_0x369aa6[_0x230025(0xbd)]),this[_0x230025(0xea)][_0x230025(0xd6)](_0x369aa6[_0x230025(0xbd)]);}),this[_0x1bf443(0xca)]['on'](_0x1bf443(0xf9),(_0x2ea1eb,_0x4c4c8d)=>{const _0x2fa3d3=_0x1bf443;for(const _0x2182e2 of _0x4c4c8d[_0x2fa3d3(0xc4)])this[_0x2fa3d3(0xa9)][_0x2fa3d3(0xce)](_0x2182e2[_0x2fa3d3(0xbd)]),this[_0x2fa3d3(0xea)][_0x2fa3d3(0xf3)](_0x2182e2[_0x2fa3d3(0xbd)]);for(const _0x93b8dd of Array[_0x2fa3d3(0x108)](_0x4c4c8d[_0x2fa3d3(0xdc)])[_0x2fa3d3(0xe1)]())this[_0x2fa3d3(0xa9)][_0x2fa3d3(0xf2)](_0x93b8dd[_0x2fa3d3(0xbd)]),this[_0x2fa3d3(0xea)][_0x2fa3d3(0xd6)](_0x93b8dd[_0x2fa3d3(0xbd)]);});}}function rs(_0x1ce0bd,_0x5aefcd,_0x69aba){const _0x247e2d=_0x3a2e2d;let _0x166abe=0x0;for(const _0xda644b of _0x1ce0bd)switch(_0xda644b){case _0x247e2d(0xef):_0x5aefcd[_0x247e2d(0xf2)](_0x69aba[_0x247e2d(0xc0)](_0x166abe),_0x166abe),_0x166abe++;break;case _0x247e2d(0x109):_0x5aefcd[_0x247e2d(0xce)](_0x166abe);break;case _0x247e2d(0xe5):_0x166abe++;}}
|
|
23
|
+
function _0x8d95(){const _0x34751d=['visibleViews','setTemplate','authoredAt','render','896hjxzQW','Thread\x20comments','from','element','add','removed','32586IXAtqG','reverse','editorReady','change:isActive','resolveCommentThread','viewUid','change:isResolved','focusFirst','bindTemplate','_model','focus','focusLast','_rearrangeCollapse','_shouldCollapse','change:isEditMode','9103120lfmTMR','destroy','editorDestroyed','expand','_config','Marked\x20as\x20resolved','map','length','createCollection','_rearrangeExpand','_calculatePosition','resolvedAt','_handleInfoComment','change:hasDirtyComment','maxThreadTotalWeight','1425972HFMfqO','refreshVisibleViews','_updateHasDirtyComment','arrowup','925204hiCNJX','equal','forEach','weight','count','arrowdown','_setupKeyboardNavigation','ck-hidden','isActive','listenTo','commentUpdated','added','keystrokes','isEditMode','locale','focusTracker','480951jEDnmp','resolvedCommentView','formatDateTime','25679286RVjwKV','maxCommentsWhenCollapsed','_handleRemoveCommentModel','CommentView','updateComment','get','hasDirtyComment','419470TQYxFp','stopListening','collapse','insert','maxCommentCharsWhenCollapsed','resolvedBy','bind','resolved','target','change','set','16ESqIlk','removeComment','comments','commentViews','focusCycler','ck-thread__comments','_findOptimalIndex','_collapsedCommentsView','includes','delegate','_handleNewCommentModel','delete','remove','some','editorConfig'];_0x8d95=function(){return _0x34751d;};return _0x8d95();}const _0x8590bb=_0x20e1;(function(_0x32d38f,_0x161f8c){const _0x5aa812=_0x20e1,_0x3f08bc=_0x32d38f();while(!![]){try{const _0x4fd436=-parseInt(_0x5aa812(0x11a))/0x1+parseInt(_0x5aa812(0x116))/0x2+parseInt(_0x5aa812(0x12a))/0x3+parseInt(_0x5aa812(0x13f))/0x4*(-parseInt(_0x5aa812(0x134))/0x5)+parseInt(_0x5aa812(0x158))/0x6*(-parseInt(_0x5aa812(0x152))/0x7)+-parseInt(_0x5aa812(0x167))/0x8+parseInt(_0x5aa812(0x12d))/0x9;if(_0x4fd436===_0x161f8c)break;else _0x3f08bc['push'](_0x3f08bc['shift']());}catch(_0x494648){_0x3f08bc['push'](_0x3f08bc['shift']());}}}(_0x8d95,0x9a78f));import{View as _0x197337,FocusCycler as _0x4e1f6f}from'ckeditor5/src/ui.js';function _0x20e1(_0x3b37a6,_0x5123e6){const _0x8d95df=_0x8d95();return _0x20e1=function(_0x20e1a8,_0x1ff0f2){_0x20e1a8=_0x20e1a8-0x108;let _0x37371e=_0x8d95df[_0x20e1a8];return _0x37371e;},_0x20e1(_0x3b37a6,_0x5123e6);}import{diff as _0x222110,Collection as _0x5e881f,FocusTracker as _0x25808b,KeystrokeHandler as _0x3c5f9a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2f2cc5}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2d549f}from'./collapsedcommentsview.js';export class CommentsListView extends _0x197337{[_0x8590bb(0x142)];[_0x8590bb(0x12b)];[_0x8590bb(0x129)];[_0x8590bb(0x126)];[_0x8590bb(0x143)];[_0x8590bb(0x161)];[_0x8590bb(0x10b)];[_0x8590bb(0x146)];constructor(_0x3cd631,_0x4fc75d,_0x1fdbd5){const _0x24c585=_0x8590bb;super(_0x3cd631);const _0x9fc8e8=this[_0x24c585(0x160)];this[_0x24c585(0x13e)](_0x24c585(0x133),!0x1),this[_0x24c585(0x13e)](_0x24c585(0x10e),_0x4fc75d[_0x24c585(0x141)][_0x24c585(0x10e)]),this[_0x24c585(0x13e)](_0x24c585(0x122),!0x1),this[_0x24c585(0x161)]=_0x4fc75d,this[_0x24c585(0x10b)]=_0x1fdbd5,this[_0x24c585(0x142)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x14e)]=this[_0x24c585(0x10f)](),this[_0x24c585(0x12b)]=null,this[_0x24c585(0x129)]=new _0x25808b(),this[_0x24c585(0x126)]=new _0x3c5f9a(),this[_0x24c585(0x143)]=new _0x4e1f6f({'focusables':this[_0x24c585(0x142)],'focusTracker':this[_0x24c585(0x129)],'keystrokeHandler':this[_0x24c585(0x126)],'keystrokeHandlerOptions':{'filter':_0x419a98=>this[_0x24c585(0x142)][_0x24c585(0x10d)](_0x200e6c=>_0x200e6c[_0x24c585(0x155)])[_0x24c585(0x147)](_0x419a98[_0x24c585(0x13c)])},'actions':{'focusPrevious':_0x24c585(0x119),'focusNext':_0x24c585(0x11f)}}),this[_0x24c585(0x146)]=new _0x2d549f(_0x3cd631),this[_0x24c585(0x146)][_0x24c585(0x13a)](_0x24c585(0x11e))['to'](this,_0x24c585(0x10e),_0x40d0a9=>_0x40d0a9-this[_0x24c585(0x10b)][_0x24c585(0x12e)]);for(const _0x511341 of _0x4fc75d[_0x24c585(0x141)])this[_0x24c585(0x149)](_0x511341);this[_0x24c585(0x113)](),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x156),(_0x5624ab,_0x41c2dc)=>{const _0x105508=_0x24c585,_0x436b40=this[_0x105508(0x111)](_0x41c2dc);this[_0x105508(0x10e)]++,this[_0x105508(0x149)](_0x41c2dc,_0x436b40),this[_0x105508(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d[_0x24c585(0x141)],_0x24c585(0x14b),(_0x45fd71,_0x47b158)=>{const _0x24a97f=_0x24c585;this[_0x24a97f(0x10e)]--,this[_0x24a97f(0x12f)](_0x47b158),this[_0x24a97f(0x117)]();}),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x124),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x123)](_0x4fc75d,_0x24c585(0x15e),()=>this[_0x24c585(0x113)]()),this['on'](_0x24c585(0x15b),()=>this[_0x24c585(0x117)]()),this['on'](_0x24c585(0x114),()=>this[_0x24c585(0x117)]()),this[_0x24c585(0x14f)]({'tag':'ul','attributes':{'class':[_0x24c585(0x144),_0x9fc8e8['if'](_0x24c585(0x10e),_0x24c585(0x121),_0x5cb73d=>!_0x5cb73d)],'aria-label':_0x2f2cc5(_0x3cd631,_0x24c585(0x153))},'children':this[_0x24c585(0x14e)]});}get[_0x8590bb(0x165)](){const _0x461356=_0x8590bb;return this[_0x461356(0x161)][_0x461356(0x11d)]>this[_0x461356(0x10b)][_0x461356(0x115)]&&!this[_0x461356(0x122)]&&!this[_0x461356(0x133)];}[_0x8590bb(0x151)](){const _0xaa47e=_0x8590bb;super[_0xaa47e(0x151)](),this[_0xaa47e(0x117)](),this[_0xaa47e(0x120)]();}[_0x8590bb(0x162)](_0x36ae72){const _0x2517d3=_0x8590bb;-0x1===_0x36ae72?this[_0x2517d3(0x143)][_0x2517d3(0x163)]():this[_0x2517d3(0x143)][_0x2517d3(0x15f)]();}[_0x8590bb(0x108)](){const _0x16fc59=_0x8590bb;this[_0x16fc59(0x146)][_0x16fc59(0x108)]();for(const _0x440fe0 of this[_0x16fc59(0x142)])_0x440fe0[_0x16fc59(0x108)]();super[_0x16fc59(0x108)]();}[_0x8590bb(0x117)](){const _0x2d0621=_0x8590bb;this[_0x2d0621(0x165)]?this[_0x2d0621(0x164)]():this[_0x2d0621(0x110)]();}[_0x8590bb(0x149)](_0x123d4b,_0x51ccca){const _0x26c3b8=_0x8590bb,_0x2f2ef7=new this[(_0x26c3b8(0x10b))][(_0x26c3b8(0x130))](this[_0x26c3b8(0x128)],_0x123d4b,{'maxCommentCharsWhenCollapsed':this[_0x26c3b8(0x10b)][_0x26c3b8(0x138)],'formatDateTime':this[_0x26c3b8(0x10b)][_0x26c3b8(0x12c)],'editorConfig':this[_0x26c3b8(0x10b)][_0x26c3b8(0x14d)]});_0x2f2ef7[_0x26c3b8(0x15d)]=_0x123d4b['id'],_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x140))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x131))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15c))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x15a))['to'](this),_0x2f2ef7[_0x26c3b8(0x148)](_0x26c3b8(0x109))['to'](this),this[_0x26c3b8(0x123)](_0x2f2ef7,_0x26c3b8(0x166),()=>this[_0x26c3b8(0x118)]()),this[_0x26c3b8(0x142)][_0x26c3b8(0x156)](_0x2f2ef7,_0x51ccca);}[_0x8590bb(0x111)](_0x283511){const _0x35b331=_0x8590bb,_0x3ca067=this[_0x35b331(0x161)][_0x35b331(0x145)](_0x283511);return this[_0x35b331(0x12b)]?this[_0x35b331(0x12b)][_0x35b331(0x150)]>_0x283511[_0x35b331(0x150)]?_0x3ca067-0x1:_0x3ca067:_0x3ca067-0x1;}[_0x8590bb(0x113)](){const _0x5bdbf4=_0x8590bb;if(this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)]&&this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)]){const _0x4f8bb0={'id':_0x5bdbf4(0x13b),'author':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x139)],'authoredAt':this[_0x5bdbf4(0x161)][_0x5bdbf4(0x112)],'content':_0x2f2cc5(this[_0x5bdbf4(0x128)],_0x5bdbf4(0x10c)),'attributes':{}};this[_0x5bdbf4(0x12b)]=new this[(_0x5bdbf4(0x10b))][(_0x5bdbf4(0x130))](this[_0x5bdbf4(0x128)],_0x4f8bb0,{'maxCommentCharsWhenCollapsed':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x138)],'formatDateTime':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x12c)],'editorConfig':this[_0x5bdbf4(0x10b)][_0x5bdbf4(0x14d)],'isSystemComment':!0x0}),this[_0x5bdbf4(0x142)][_0x5bdbf4(0x156)](this[_0x5bdbf4(0x12b)],this[_0x5bdbf4(0x161)][_0x5bdbf4(0x145)](_0x4f8bb0));}else this[_0x5bdbf4(0x12b)]&&(this[_0x5bdbf4(0x142)][_0x5bdbf4(0x14b)](this[_0x5bdbf4(0x12b)]),this[_0x5bdbf4(0x12b)][_0x5bdbf4(0x108)](),this[_0x5bdbf4(0x12b)]=null);this[_0x5bdbf4(0x117)]();}[_0x8590bb(0x12f)](_0x36a46e){const _0x494dcd=_0x8590bb,_0x1d5487=this[_0x494dcd(0x142)][_0x494dcd(0x14b)](_0x36a46e['id']);this[_0x494dcd(0x135)](_0x1d5487),_0x1d5487[_0x494dcd(0x127)]&&this[_0x494dcd(0x118)](),_0x1d5487[_0x494dcd(0x108)]();}[_0x8590bb(0x118)](){const _0x210a09=_0x8590bb;this[_0x210a09(0x133)]=Array[_0x210a09(0x154)](this[_0x210a09(0x142)])[_0x210a09(0x14c)](_0x536bc7=>_0x536bc7[_0x210a09(0x127)]);}[_0x8590bb(0x164)](){const _0x3bd7ff=_0x8590bb,_0x3920ec=function(_0x489825){const _0x7ff94e=_0x20e1,_0xd7c3bb=new _0x5e881f();for(const _0x4264a5 of _0x489825)_0xd7c3bb[_0x7ff94e(0x156)](_0x4264a5);return _0xd7c3bb;}(this[_0x3bd7ff(0x142)]),_0x3b65df=this[_0x3bd7ff(0x146)][_0x3bd7ff(0x11e)];for(let _0x21155f=0x1;_0x21155f<=_0x3b65df;_0x21155f++)_0x3920ec[_0x3bd7ff(0x14b)](0x1);for(const _0x91f110 of _0x3920ec)_0x91f110[_0x3bd7ff(0x136)]();_0x3b65df>0x0&&_0x3920ec[_0x3bd7ff(0x156)](this[_0x3bd7ff(0x146)],0x1),ns(_0x222110(Array[_0x3bd7ff(0x154)](this[_0x3bd7ff(0x14e)]),Array[_0x3bd7ff(0x154)](_0x3920ec)),this[_0x3bd7ff(0x14e)],_0x3920ec);}[_0x8590bb(0x110)](){const _0x397a21=_0x8590bb;ns(_0x222110(Array[_0x397a21(0x154)](this[_0x397a21(0x14e)]),Array[_0x397a21(0x154)](this[_0x397a21(0x142)])),this[_0x397a21(0x14e)],this[_0x397a21(0x142)]);for(const _0x5dfa88 of this[_0x397a21(0x14e)])_0x5dfa88[_0x397a21(0x10a)]();}[_0x8590bb(0x120)](){const _0x31ccbf=_0x8590bb;this[_0x31ccbf(0x142)][_0x31ccbf(0x11c)](_0x2924cb=>{const _0x3dbf44=_0x31ccbf;this[_0x3dbf44(0x129)][_0x3dbf44(0x156)](_0x2924cb[_0x3dbf44(0x155)]),this[_0x3dbf44(0x126)][_0x3dbf44(0x123)](_0x2924cb[_0x3dbf44(0x155)]);}),this[_0x31ccbf(0x142)]['on'](_0x31ccbf(0x13d),(_0x54cd59,_0x30717f)=>{const _0x485c2a=_0x31ccbf;for(const _0x4a87c4 of _0x30717f[_0x485c2a(0x157)])this[_0x485c2a(0x129)][_0x485c2a(0x14b)](_0x4a87c4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x135)](_0x4a87c4[_0x485c2a(0x155)]);for(const _0x2f3ef4 of Array[_0x485c2a(0x154)](_0x30717f[_0x485c2a(0x125)])[_0x485c2a(0x159)]())this[_0x485c2a(0x129)][_0x485c2a(0x156)](_0x2f3ef4[_0x485c2a(0x155)]),this[_0x485c2a(0x126)][_0x485c2a(0x123)](_0x2f3ef4[_0x485c2a(0x155)]);});}}function ns(_0x28e0cb,_0x590cf8,_0x3d84bf){const _0x1bd544=_0x8590bb;let _0x2371a3=0x0;for(const _0x12f7d7 of _0x28e0cb)switch(_0x12f7d7){case _0x1bd544(0x137):_0x590cf8[_0x1bd544(0x156)](_0x3d84bf[_0x1bd544(0x132)](_0x2371a3),_0x2371a3),_0x2371a3++;break;case _0x1bd544(0x14a):_0x590cf8[_0x1bd544(0x14b)](_0x2371a3);break;case _0x1bd544(0x11b):_0x2371a3++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c4b47=_0x7ddf;(function(_0x19c688,_0x597b83){const _0x5928cd=_0x7ddf,_0x54f921=_0x19c688();while(!![]){try{const _0x179ab8=-parseInt(_0x5928cd(0xa5))/0x1*(-parseInt(_0x5928cd(0xb5))/0x2)+parseInt(_0x5928cd(0xa9))/0x3*(parseInt(_0x5928cd(0xab))/0x4)+parseInt(_0x5928cd(0xa3))/0x5*(-parseInt(_0x5928cd(0xa6))/0x6)+-parseInt(_0x5928cd(0xaf))/0x7+parseInt(_0x5928cd(0xa7))/0x8*(parseInt(_0x5928cd(0xb8))/0x9)+parseInt(_0x5928cd(0xad))/0xa*(-parseInt(_0x5928cd(0xb3))/0xb)+-parseInt(_0x5928cd(0xaa))/0xc*(parseInt(_0x5928cd(0xb7))/0xd);if(_0x179ab8===_0x597b83)break;else _0x54f921['push'](_0x54f921['shift']());}catch(_0x58a0da){_0x54f921['push'](_0x54f921['shift']());}}}(_0xf3cd,0xc075f));function _0x7ddf(_0x3be509,_0x1ce1ca){const _0xf3cdfc=_0xf3cd();return _0x7ddf=function(_0x7ddf0a,_0x7cb6d4){_0x7ddf0a=_0x7ddf0a-0xa3;let _0x1d3de1=_0xf3cdfc[_0x7ddf0a];return _0x1d3de1;},_0x7ddf(_0x3be509,_0x1ce1ca);}import{View as _0x2e26d8}from'ckeditor5/src/ui.js';function _0xf3cd(){const _0x6c990f=['focus','2VYEAkG','12bmPwvQ','424aDULVr','element','2200089eWhbVV','12ybwrrM','4wHogdF','ck-context__value','33980DXLcxJ','THREAD_CONTEXT_LABEL','1543199crCtvG','span','contextValue','bindTemplate','968dtjpiN','set','827060vdXjdn','setTemplate','8962343WmqKCS','260550OgSzGQ','2743905YAVmTF'];_0xf3cd=function(){return _0x6c990f;};return _0xf3cd();}import{getTranslation as _0x4fb8c6}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x2e26d8{constructor(_0x1796ce){const _0x1be651=_0x7ddf;super(_0x1796ce);const _0x30ffac=this[_0x1be651(0xb2)];this[_0x1be651(0xb4)](_0x1be651(0xb1),''),this[_0x1be651(0xb6)]({'tag':_0x1be651(0xb0),'attributes':{'class':['ck',_0x1be651(0xac)],'aria-label':_0x30ffac['to'](_0x1be651(0xb1),_0x173e4e=>_0x4fb8c6(_0x1796ce,_0x1be651(0xae),_0x173e4e)),'tabindex':-0x1},'children':[{'text':_0x30ffac['to'](_0x1be651(0xb1))}]});}[_0x4c4b47(0xa4)](){const _0x5163a1=_0x4c4b47;this[_0x5163a1(0xa8)][_0x5163a1(0xa4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1e7b(){const _0xf15398=['7jCqYxC','contextView','fire','8412344BoDrda','contextValue','locale','bindTemplate','length','listenTo','isReadOnly','focusFirst','div','_setupKeyboardNavigation','querySelector','classList','mouseleave','overlay','_model','hasContext','render','1039760IrXJcT','mouseenter','remove','352jTYoFJ','1214082xVqpgG','isEnabled','substring','_createContextView','...','lastIndexOf','999500iHuAmB','ck-annotation__actions','bind','isResolved','shift+tab','1386636KmDFSI','36tXFuxN','focusTracker','ck-context-wrapper','399545sbseBr','reopenCommentThread','execute','context','focusCycler','.ck-context','focusables','add','setTemplate','.ck-context__value','_trimContextValue','label','ck-context','element','offsetWidth','tab','createCollection','_createReopenButton','_attachContextActions','scrollWidth','value','isVisible','tooltip','Reopen','2OpIGSr','ck-thread__header','keystrokes','4598499KBNFhp','isResolvable','Comment\x20was\x20made\x20on\x20an\x20element','icon','reopenButtonView','ck-context--quotes','focus'];_0x1e7b=function(){return _0xf15398;};return _0x1e7b();}const _0x307832=_0x311a;(function(_0x48a698,_0x2c2dc0){const _0x22eb3e=_0x311a,_0x38db55=_0x48a698();while(!![]){try{const _0x1433de=-parseInt(_0x22eb3e(0x146))/0x1+parseInt(_0x22eb3e(0x119))/0x2*(-parseInt(_0x22eb3e(0x11c))/0x3)+parseInt(_0x22eb3e(0x137))/0x4+-parseInt(_0x22eb3e(0x101))/0x5*(parseInt(_0x22eb3e(0x147))/0x6)+parseInt(_0x22eb3e(0x123))/0x7*(parseInt(_0x22eb3e(0x126))/0x8)+-parseInt(_0x22eb3e(0x13b))/0x9+parseInt(_0x22eb3e(0x141))/0xa*(parseInt(_0x22eb3e(0x13a))/0xb);if(_0x1433de===_0x2c2dc0)break;else _0x38db55['push'](_0x38db55['shift']());}catch(_0x1393f8){_0x38db55['push'](_0x38db55['shift']());}}}(_0x1e7b,0xee4be));import{View as _0xea1b39,ButtonView as _0x57d28a,FocusCycler as _0x4a5a04}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2f14b9,KeystrokeHandler as _0x212762}from'ckeditor5/src/utils.js';import{IconUndo as _0x2d9c35}from'ckeditor5/src/icons.js';import{getTranslation as _0x7eeb98}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0xba2894}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;function _0x311a(_0x1d45d0,_0x4d27bf){const _0x1e7b9d=_0x1e7b();return _0x311a=function(_0x311a95,_0x10eec4){_0x311a95=_0x311a95-0x100;let _0x196fbb=_0x1e7b9d[_0x311a95];return _0x196fbb;},_0x311a(_0x1d45d0,_0x4d27bf);}export class CommentThreadHeaderView extends _0xea1b39{[_0x307832(0x134)];[_0x307832(0x120)];[_0x307832(0x124)];[_0x307832(0x107)];[_0x307832(0x148)];[_0x307832(0x11b)];[_0x307832(0x105)];constructor(_0x2cd4dc,_0x19c135){const _0x2dd074=_0x307832;super(_0x2cd4dc);const _0x55a243=this[_0x2dd074(0x129)];this[_0x2dd074(0x134)]=_0x19c135,this[_0x2dd074(0x120)]=this[_0x2dd074(0x112)](),this[_0x2dd074(0x124)]=this[_0x2dd074(0x13e)](),this[_0x2dd074(0x107)]=this[_0x2dd074(0x111)]([this[_0x2dd074(0x124)],this[_0x2dd074(0x120)]]),this[_0x2dd074(0x148)]=new _0x2f14b9(),this[_0x2dd074(0x11b)]=new _0x212762(),this[_0x2dd074(0x105)]=new _0x4a5a04({'focusables':this[_0x2dd074(0x107)],'focusTracker':this[_0x2dd074(0x148)],'keystrokeHandler':this[_0x2dd074(0x11b)],'actions':{'focusPrevious':_0x2dd074(0x145),'focusNext':_0x2dd074(0x110)}}),this[_0x2dd074(0x143)](_0x2dd074(0x135))['to'](this[_0x2dd074(0x134)],_0x2dd074(0x104),_0x21c05e=>!!_0x21c05e),this[_0x2dd074(0x143)](_0x2dd074(0x127))['to'](this[_0x2dd074(0x134)],_0x2dd074(0x104),_0x1e8e7a=>_0x1e8e7a&&_0x1e8e7a[_0x2dd074(0x115)]?this[_0x2dd074(0x10b)](_0x1e8e7a[_0x2dd074(0x115)]):_0x7eeb98(this[_0x2dd074(0x128)],_0x2dd074(0x11e))),this[_0x2dd074(0x109)]({'tag':_0x2dd074(0x12e),'attributes':{'class':[_0x2dd074(0x11a)]},'children':[{'tag':_0x2dd074(0x12e),'attributes':{'class':[_0x2dd074(0x100)]},'children':[{'tag':_0x2dd074(0x12e),'attributes':{'class':[_0x2dd074(0x10d),_0x55a243['if'](_0x2dd074(0x135),_0x2dd074(0x121))]},'children':[this[_0x2dd074(0x124)]]}]},{'tag':_0x2dd074(0x12e),'attributes':{'class':[_0x2dd074(0x142)]},'children':[this[_0x2dd074(0x120)]]}]});}[_0x307832(0x136)](){const _0x464493=_0x307832;super[_0x464493(0x136)](),this[_0x464493(0x113)](),this[_0x464493(0x12f)]();}[_0x307832(0x122)](){const _0x4ab348=_0x307832;this[_0x4ab348(0x105)][_0x4ab348(0x12d)]();}[_0x307832(0x112)](){const _0x19d667=_0x307832,_0x3c9562=new _0x57d28a(this[_0x19d667(0x128)]);return _0x3c9562[_0x19d667(0x10c)]=_0x7eeb98(this[_0x19d667(0x128)],_0x19d667(0x118)),_0x3c9562[_0x19d667(0x117)]=_0x7eeb98(this[_0x19d667(0x128)],_0x19d667(0x118)),_0x3c9562[_0x19d667(0x11f)]=_0x2d9c35,_0x3c9562[_0x19d667(0x143)](_0x19d667(0x13c))['to'](this[_0x19d667(0x134)],_0x19d667(0x12c),_0x28bca1=>!_0x28bca1),_0x3c9562[_0x19d667(0x143)](_0x19d667(0x116))['to'](this[_0x19d667(0x134)],_0x19d667(0x11d),this[_0x19d667(0x134)],_0x19d667(0x144),(_0x2c7766,_0x29af67)=>_0x2c7766&&_0x29af67),_0x3c9562['on'](_0x19d667(0x103),()=>{const _0x56531d=_0x19d667;this[_0x56531d(0x125)](_0x56531d(0x102),this[_0x56531d(0x134)]['id']);}),_0x3c9562;}[_0x307832(0x10b)](_0x1c022b){const _0x35eb2c=_0x307832;if(_0x1c022b[_0x35eb2c(0x12a)]<0x96)return _0x1c022b;const _0x56e26f=_0x1c022b[_0x35eb2c(0x140)]('\x20',0x93);return _0x1c022b[_0x35eb2c(0x13d)](0x0,_0x56e26f>-0x1?_0x56e26f:0x93)+_0x35eb2c(0x13f);}[_0x307832(0x113)](){const _0x312f02=_0x307832,_0x3b0cdc=this[_0x312f02(0x10e)][_0x312f02(0x130)](_0x312f02(0x106)),_0x10f0cf=_0x3b0cdc[_0x312f02(0x130)](_0x312f02(0x10a));this[_0x312f02(0x12b)](_0x3b0cdc,_0x312f02(0x138),()=>{const _0x1d575a=_0x312f02;_0x10f0cf[_0x1d575a(0x10f)]<_0x10f0cf[_0x1d575a(0x114)]&&_0x3b0cdc[_0x1d575a(0x131)][_0x1d575a(0x108)](_0x1d575a(0x133));}),this[_0x312f02(0x12b)](_0x3b0cdc,_0x312f02(0x132),()=>{const _0x47f119=_0x312f02;_0x3b0cdc[_0x47f119(0x131)][_0x47f119(0x139)](_0x47f119(0x133));});}[_0x307832(0x12f)](){const _0x15c651=_0x307832;this[_0x15c651(0x11b)][_0x15c651(0x12b)](this[_0x15c651(0x10e)]);for(const _0x490895 of this[_0x15c651(0x107)])this[_0x15c651(0x148)][_0x15c651(0x108)](_0x490895[_0x15c651(0x10e)]),this[_0x15c651(0x11b)][_0x15c651(0x12b)](_0x490895[_0x15c651(0x10e)]);}[_0x307832(0x13e)](){const _0x158b81=_0x307832,_0x3c7573=new _0xba2894(this[_0x158b81(0x128)]);return _0x3c7573[_0x158b81(0x143)](_0x158b81(0x127))['to'](this),_0x3c7573;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f2d66=_0x17e3;(function(_0x10dbd9,_0x29e0e9){const _0x4f09cf=_0x17e3,_0x46cd48=_0x10dbd9();while(!![]){try{const _0x1240de=-parseInt(_0x4f09cf(0x133))/0x1+-parseInt(_0x4f09cf(0x11c))/0x2+parseInt(_0x4f09cf(0x13a))/0x3*(parseInt(_0x4f09cf(0x13c))/0x4)+parseInt(_0x4f09cf(0x146))/0x5*(parseInt(_0x4f09cf(0x13e))/0x6)+-parseInt(_0x4f09cf(0x117))/0x7+-parseInt(_0x4f09cf(0x126))/0x8*(parseInt(_0x4f09cf(0x123))/0x9)+-parseInt(_0x4f09cf(0x12d))/0xa*(-parseInt(_0x4f09cf(0x138))/0xb);if(_0x1240de===_0x29e0e9)break;else _0x46cd48['push'](_0x46cd48['shift']());}catch(_0x2ae758){_0x46cd48['push'](_0x46cd48['shift']());}}}(_0x164f,0x6cf3a));function _0x164f(){const _0x40d981=['setTemplate','change:showInput','showInput','preventDefault','bind','291450BWmzJg','userView','delegate','commentInputView','focus','focusTracker','620556lrJXhX','view','editing','createEditor','bindTemplate','638wMugwT','editorReady','41946nAYQON','filter','44arFpwM','target','23304bEvbpy','ck-comment__input-container--active','then','render','ck-thread__input','contains','editorDestroyed','isFocused','1020oRhzwd','some','div','ck-comment__input-container','3568299VMfcls','showButtons','value','element','ck-thread__user','1059394LDddRf','_focusOnNonInteractiveMouseDown','extendTemplate','focusCycler','mousedown','set','editor','5256vXiBUG','destroy','listenTo','7264jLeJIc','getDomRoot'];_0x164f=function(){return _0x40d981;};return _0x164f();}import{View as _0xb82809}from'ckeditor5/src/ui.js';function _0x17e3(_0x1de7d5,_0x18cb06){const _0x164fa9=_0x164f();return _0x17e3=function(_0x17e38c,_0x572494){_0x17e38c=_0x17e38c-0x117;let _0x17a748=_0x164fa9[_0x17e38c];return _0x17a748;},_0x17e3(_0x1de7d5,_0x18cb06);}import{CommentInputView as _0x514134}from'./commentinputview.js';import{UserView as _0x3e2601}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0xb82809{constructor(_0x3083ed,_0x343c68,_0x2c3127){const _0x57a41c=_0x17e3;super(_0x3083ed),this[_0x57a41c(0x130)]=new _0x514134(_0x3083ed,_0x2c3127),this[_0x57a41c(0x11f)]=this[_0x57a41c(0x130)][_0x57a41c(0x11f)],this[_0x57a41c(0x130)][_0x57a41c(0x12c)](_0x57a41c(0x118))['to'](this[_0x57a41c(0x130)][_0x57a41c(0x132)],_0x57a41c(0x145),this[_0x57a41c(0x130)],_0x57a41c(0x119),(_0x55dedb,_0xc8f5c)=>_0x55dedb||!!_0xc8f5c),this[_0x57a41c(0x121)](_0x57a41c(0x12a),!0x1),this['on'](_0x57a41c(0x129),()=>{const _0x3f74d5=_0x57a41c;this[_0x3f74d5(0x12a)]&&!this[_0x3f74d5(0x130)][_0x3f74d5(0x122)]&&this[_0x3f74d5(0x130)][_0x3f74d5(0x136)]();}),this[_0x57a41c(0x130)][_0x57a41c(0x12f)](_0x57a41c(0x139))['to'](this),this[_0x57a41c(0x130)][_0x57a41c(0x12f)](_0x57a41c(0x144))['to'](this),this[_0x57a41c(0x12e)]=new _0x3e2601(_0x3083ed,_0x343c68),this[_0x57a41c(0x12e)][_0x57a41c(0x11e)]({'attributes':{'class':_0x57a41c(0x11b),'aria-hidden':!0x0}}),this[_0x57a41c(0x130)][_0x57a41c(0x11e)]({'attributes':{'class':_0x57a41c(0x142)}}),this[_0x57a41c(0x128)]({'tag':_0x57a41c(0x148),'attributes':{'class':[_0x57a41c(0x149),this[_0x57a41c(0x137)]['if'](_0x57a41c(0x12a),_0x57a41c(0x13f))]},'children':[this[_0x57a41c(0x12e)],this[_0x57a41c(0x130)]]});}[_0x4f2d66(0x141)](){const _0x52131f=_0x4f2d66;super[_0x52131f(0x141)](),this[_0x52131f(0x11d)]();}[_0x4f2d66(0x124)](){const _0x142da8=_0x4f2d66;return this[_0x142da8(0x130)][_0x142da8(0x124)]()[_0x142da8(0x140)](()=>super[_0x142da8(0x124)]());}[_0x4f2d66(0x131)](_0x10da24){const _0x4d11c4=_0x4f2d66;this[_0x4d11c4(0x130)][_0x4d11c4(0x131)](_0x10da24);}[_0x4f2d66(0x11d)](){const _0x1c2160=_0x4f2d66;this[_0x1c2160(0x125)](this[_0x1c2160(0x11a)],_0x1c2160(0x120),(_0xedbba4,_0x10ccb9)=>{const _0x419519=_0x1c2160,{submitButtonView:_0x3bb576,cancelButtonView:_0x1a4597,editor:_0x58098}=this[_0x419519(0x130)];[_0x3bb576[_0x419519(0x11a)],_0x1a4597[_0x419519(0x11a)],_0x58098?_0x58098[_0x419519(0x135)][_0x419519(0x134)][_0x419519(0x127)]():null][_0x419519(0x13b)](_0x12d232=>_0x12d232)[_0x419519(0x147)](_0x204460=>_0x204460[_0x419519(0x143)](_0x10ccb9[_0x419519(0x13d)]))||(this[_0x419519(0x131)](),_0x10ccb9[_0x419519(0x12b)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x415859=_0x35b1;(function(_0x1c24f9,_0x24ad32){const _0x2b4758=_0x35b1,_0x4b4a0d=_0x1c24f9();while(!![]){try{const _0x3f2c8d=-parseInt(_0x2b4758(0x20f))/0x1+parseInt(_0x2b4758(0x248))/0x2*(parseInt(_0x2b4758(0x228))/0x3)+parseInt(_0x2b4758(0x23f))/0x4+parseInt(_0x2b4758(0x22b))/0x5*(-parseInt(_0x2b4758(0x222))/0x6)+parseInt(_0x2b4758(0x20d))/0x7*(parseInt(_0x2b4758(0x20c))/0x8)+parseInt(_0x2b4758(0x24a))/0x9+-parseInt(_0x2b4758(0x212))/0xa;if(_0x3f2c8d===_0x24ad32)break;else _0x4b4a0d['push'](_0x4b4a0d['shift']());}catch(_0x412f22){_0x4b4a0d['push'](_0x4b4a0d['shift']());}}}(_0x5a37,0x531b8));import{ConfirmMixin as _0x24a503,LateFocusButtonView as _0x1a5ced}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x5cb077}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x1afbd6}from'./basecommentthreadview.js';function _0x35b1(_0xeaf49c,_0x19109e){const _0x5a3727=_0x5a37();return _0x35b1=function(_0x35b119,_0x45a886){_0x35b119=_0x35b119-0x1f2;let _0x3ee5d8=_0x5a3727[_0x35b119];return _0x3ee5d8;},_0x35b1(_0xeaf49c,_0x19109e);}import{getTranslation as _0x211906}from'../../../utils/common-translations.js';function _0x5a37(){const _0x22b84c=['placeholder','commentViews','change:isReadOnly','execute','unbind','ariaDescriptionView','add','fire','resolveButton','icon','_updateArchivedThreadHeader','label','ck-thread--active','_bindFirstCommentView','then','_model','isReadOnly','has','1849032cdPVeH','locale','listitem','archivedAt','removeButton','isVisible','set','removeCommentThread','render','1966DUuahz','isResolved','5710077LbamQg','isEnabled','showConfirm','ck-thread--remove-confirmation','.ck-thread__container','ck-comment--resolve','_cancelAllConfirms','listenTo','length','stop','commentThreadChildren','focus','isActive','actionIndicator','ck-rounded-corners','ck-thread','cancelConfirm','isUnlinked','Resolve','setTemplate','Write\x20a\x20comment...','ck-thread--','ariaLabel','isConfirm','get','getTemplate','ck-thread__container','remove','136mJvQKO','26271ZvwpVJ','actionBar','299542ISDEru','resolveCommentThread','bindTemplate','1073210iONVlg','commentThreadHeaderView','Delete\x20comment\x20thread?','querySelector','extendTemplate','containerElement','isSystemComment','ck-reset_all-excluded','removeConfirm','commentsListView','element','change:isActive','high','_boundFirstCommentView','commentThreadInputView','createCollection','12uOugvx','tooltip','ck-thread--unlinked','div','isResolvable','bind','165KZCKxH','_createResolveButton','focusables','1168265tgvGUg','change:archivedAt'];_0x5a37=function(){return _0x22b84c;};return _0x5a37();}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24a503(_0x1afbd6){[_0x415859(0x1fa)];[_0x415859(0x217)];[_0x415859(0x235)];[_0x415859(0x21f)];constructor(_0x5c2eb0,_0x594f2c,_0x542637,_0x384950){const _0x5848b6=_0x415859;super(_0x5c2eb0,_0x594f2c,_0x542637,_0x384950),this[_0x5848b6(0x1fa)]=this[_0x5848b6(0x221)]([this[_0x5848b6(0x21b)],this[_0x5848b6(0x220)],this[_0x5848b6(0x232)]]),this[_0x5848b6(0x245)](_0x5848b6(0x1fd),null),this[_0x5848b6(0x217)]=null,this[_0x5848b6(0x21f)]=null,this[_0x5848b6(0x240)]=_0x5c2eb0,this[_0x5848b6(0x235)]=this[_0x5848b6(0x229)](),this[_0x5848b6(0x203)](this[_0x5848b6(0x209)]()),this['on'](_0x5848b6(0x21d),(_0x220971,_0x21b2e8,_0x58b53d)=>{const _0x551920=_0x5848b6;_0x58b53d||this[_0x551920(0x1f6)]();}),this[_0x5848b6(0x1f7)](this[_0x5848b6(0x23c)],_0x5848b6(0x22f),(_0xa905fe,_0x5893cf,_0x47cb84)=>{const _0x85041a=_0x5848b6;_0x47cb84&&this[_0x85041a(0x1f6)]();}),this[_0x5848b6(0x1f8)]>0x0&&this[_0x5848b6(0x23a)](),this[_0x5848b6(0x1f7)](this[_0x5848b6(0x21b)][_0x5848b6(0x22e)],_0x5848b6(0x233),()=>{const _0x40f04d=_0x5848b6;this[_0x40f04d(0x23a)]();});}[_0x415859(0x209)](){const _0x56535c=_0x415859,_0x16c2e1=this[_0x56535c(0x211)];return{'tag':_0x56535c(0x225),'attributes':{'class':['ck',_0x56535c(0x1ff),_0x56535c(0x219),_0x56535c(0x1fe),_0x16c2e1['if'](_0x56535c(0x1fc),_0x56535c(0x239)),_0x16c2e1['if'](_0x56535c(0x201),_0x56535c(0x224)),_0x16c2e1['if'](_0x56535c(0x207),_0x56535c(0x1f3)),_0x16c2e1['to'](_0x56535c(0x1fd),_0x41be68=>_0x41be68?_0x56535c(0x205)+_0x41be68:'')],'data-thread-id':this[_0x56535c(0x23c)]['id'],'tabindex':0x0,'role':_0x56535c(0x241),'aria-label':_0x16c2e1['to'](_0x56535c(0x206)),'aria-describedby':this[_0x56535c(0x232)]['id']},'children':[{'tag':_0x56535c(0x225),'attributes':{'class':_0x56535c(0x20a)},'children':this[_0x56535c(0x1fa)]}]};}[_0x415859(0x247)](){const _0x7276ff=_0x415859;super[_0x7276ff(0x247)](),this[_0x7276ff(0x217)]=this[_0x7276ff(0x21c)][_0x7276ff(0x215)](_0x7276ff(0x1f4)),this[_0x7276ff(0x23c)]['on'](_0x7276ff(0x22c),()=>{const _0x15af6d=_0x7276ff;this[_0x15af6d(0x237)]();}),this[_0x7276ff(0x237)]();}[_0x415859(0x1f6)](){const _0x5bbf4e=_0x415859;this[_0x5bbf4e(0x200)]();for(const _0x355c40 of this[_0x5bbf4e(0x21b)][_0x5bbf4e(0x22e)])_0x355c40[_0x5bbf4e(0x200)]();}[_0x415859(0x23a)](){const _0x7685f0=_0x415859,{locale:_0xa328ae}=this,_0x37c888=this[_0x7685f0(0x21b)][_0x7685f0(0x22e)][_0x7685f0(0x208)](0x0);_0x37c888===this[_0x7685f0(0x21f)]||_0x37c888[_0x7685f0(0x218)]||(this[_0x7685f0(0x21f)]=_0x37c888,this[_0x7685f0(0x231)](_0x7685f0(0x1fd)),this[_0x7685f0(0x227)](_0x7685f0(0x1fd))['to'](_0x37c888,_0x7685f0(0x1fd),_0x4526a4=>_0x7685f0(0x20b)===_0x4526a4?_0x7685f0(0x20b):null),_0x37c888[_0x7685f0(0x22d)]=_0x211906(_0xa328ae,_0x7685f0(0x204)),_0x37c888[_0x7685f0(0x243)]['on'](_0x7685f0(0x230),_0x3dea54=>{const _0x318f2c=_0x7685f0;_0x3dea54[_0x318f2c(0x1f9)](),this[_0x318f2c(0x1f2)](_0x211906(_0xa328ae,_0x318f2c(0x214)),this[_0x318f2c(0x217)])[_0x318f2c(0x23b)](()=>{const _0x26912c=_0x318f2c;this[_0x26912c(0x234)](_0x26912c(0x246));});},{'priority':_0x7685f0(0x21e)}),this['on'](_0x7685f0(0x21a),()=>{const _0x291d0a=_0x7685f0;_0x37c888[_0x291d0a(0x1fb)]();}),_0x37c888[_0x7685f0(0x20e)][_0x7685f0(0x233)](this[_0x7685f0(0x235)],0x0),_0x37c888[_0x7685f0(0x22a)][_0x7685f0(0x233)](this[_0x7685f0(0x235)],0x0));}[_0x415859(0x229)](){const _0x4e1c85=_0x415859,_0x25ad56=new _0x1a5ced(this[_0x4e1c85(0x240)]);return _0x25ad56[_0x4e1c85(0x238)]=_0x211906(this[_0x4e1c85(0x240)],_0x4e1c85(0x202)),_0x25ad56[_0x4e1c85(0x223)]=_0x211906(this[_0x4e1c85(0x240)],_0x4e1c85(0x202)),_0x25ad56[_0x4e1c85(0x236)]=_0x5cb077,_0x25ad56[_0x4e1c85(0x216)]({'attributes':{'class':_0x4e1c85(0x1f5)}}),_0x25ad56[_0x4e1c85(0x227)](_0x4e1c85(0x24b))['to'](this[_0x4e1c85(0x23c)],_0x4e1c85(0x23d),_0x5df4e2=>!_0x5df4e2),_0x25ad56[_0x4e1c85(0x227)](_0x4e1c85(0x244))['to'](this[_0x4e1c85(0x23c)],_0x4e1c85(0x226),this[_0x4e1c85(0x23c)],_0x4e1c85(0x249),(_0x2409ed,_0x9e0be3)=>_0x2409ed&&!_0x9e0be3),_0x25ad56['on'](_0x4e1c85(0x230),()=>{const _0x2f3d04=_0x4e1c85;this[_0x2f3d04(0x234)](_0x2f3d04(0x210),this[_0x2f3d04(0x23c)]['id']);}),_0x25ad56;}[_0x415859(0x237)](){const _0x1c793e=_0x415859;this[_0x1c793e(0x23c)][_0x1c793e(0x242)]?this[_0x1c793e(0x1fa)][_0x1c793e(0x23e)](this[_0x1c793e(0x213)])||(this[_0x1c793e(0x1fa)][_0x1c793e(0x233)](this[_0x1c793e(0x213)],0x0),this[_0x1c793e(0x22a)][_0x1c793e(0x233)](this[_0x1c793e(0x213)],0x0)):this[_0x1c793e(0x1fa)][_0x1c793e(0x23e)](this[_0x1c793e(0x213)])&&(this[_0x1c793e(0x1fa)][_0x1c793e(0x20b)](this[_0x1c793e(0x213)]),this[_0x1c793e(0x22a)][_0x1c793e(0x20b)](this[_0x1c793e(0x213)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x554a(_0x5ba971,_0x1e27d1){const _0x50b69c=_0x50b6();return _0x554a=function(_0x554a8,_0x3323cf){_0x554a8=_0x554a8-0x17d;let _0xe5c8a9=_0x50b69c[_0x554a8];return _0xe5c8a9;},_0x554a(_0x5ba971,_0x1e27d1);}const _0x133ebd=_0x554a;function _0x50b6(){const _0xa0b61b=['items','2041719WosSsR','blur','ck-comment__actions--hidden','ck-comment__info-time','placeholder','actionBar','ck-comment__info','children','panelView','removeButton','ck-comment__user','span','from','_config','ck-annotation__content-wrapper','author','ck-comment__external','push','editButton','removeComment','change:isRemovable','createCollection','extendTemplate','formatDateTime','isRemovable','ck-annotation__info-name','some','toMany','_model','ariaLabel','mouseleave','575443okrvkk','isExternal','ck-comment__wrapper','_createCommentInputView','addMany','ck-annotation__info-time','bind','render','_createDropdown','authoredAt','ck-comment','visibleView','locale','ck-annotation__user','div','icon','unbind','isEditable','edit','showConfirm','isReadOnly','1566448pOXioq','isEditMode','time','ck-annotation__info','890264POMEwy','ck-comment--remove','dropdown','panelPosition','4179249dHrBrA','element','isVisible','ck-annotation','remove','add','3497745oILAsT','userView','getExternalCommentNote','getTemplate','6oIXZEP','fire','bindTemplate','ck-comment--info','resolvedAt','_createEditButton','ck-annotation__actions','switchToEditMode','execute','setTemplate','isConfirm','buttonView','length','_createRemoveButton','ck-annotation__actions--hidden','ck-hidden','name','Delete\x20comment?','focusables','7aNiyls','set','_attachActions','1688578HdalNj','Edit','then','focus','ck-comment__actions','ck-annotation__main','ck-comment--remove-confirmation','ck-comment__info-name','listitem','withText','group','ck-comment--','ariaDescriptionView','Remove','mouseenter','ck-comment__main','isSystemComment','getUserViewNotificationText','find','listenTo','label','actionIndicator','Show\x20more\x20items','cancelConfirm','Reply...','ck-comment--edit','isEnabled'];_0x50b6=function(){return _0xa0b61b;};return _0x50b6();}(function(_0x39a74f,_0x5057b5){const _0x131ea0=_0x554a,_0xaea66a=_0x39a74f();while(!![]){try{const _0x3cea52=parseInt(_0x131ea0(0x197))/0x1+parseInt(_0x131ea0(0x1d4))/0x2+-parseInt(_0x131ea0(0x1f0))/0x3+-parseInt(_0x131ea0(0x1b0))/0x4+parseInt(_0x131ea0(0x1ba))/0x5*(parseInt(_0x131ea0(0x1be))/0x6)+-parseInt(_0x131ea0(0x1d1))/0x7*(parseInt(_0x131ea0(0x1ac))/0x8)+-parseInt(_0x131ea0(0x1b4))/0x9;if(_0x3cea52===_0x5057b5)break;else _0xaea66a['push'](_0xaea66a['shift']());}catch(_0x3c97dd){_0xaea66a['push'](_0xaea66a['shift']());}}}(_0x50b6,0x87bc7));import{IconRemoveComment as _0x41a3fc,IconPencil as _0xe2f968,IconThreeVerticalDots as _0x15438a}from'ckeditor5/src/icons.js';import{ButtonView as _0x47d0ef,createDropdown as _0x149889,ListView as _0x535347,ListItemView as _0x4434a5,focusChildOnDropdownOpen as _0x371c34}from'ckeditor5/src/ui.js';import{UserView as _0x32c091,ConfirmMixin as _0x8e1324,LateFocusDropdownButtonView as _0x307c83}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x2e8e5e}from'./basecommentview.js';import{getTranslation as _0x49cb51}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x8e1324(_0x2e8e5e){[_0x133ebd(0x17d)];[_0x133ebd(0x1bb)];constructor(_0x202f51,_0x3ed153,_0x2e1e7f){const _0x16f83f=_0x133ebd;super(_0x202f51,_0x3ed153,_0x2e1e7f),this[_0x16f83f(0x1d2)](_0x16f83f(0x1e9),null),this[_0x16f83f(0x1d2)](_0x16f83f(0x1f4),_0x49cb51(_0x202f51,_0x16f83f(0x1ec))),this[_0x16f83f(0x19d)](_0x16f83f(0x1a0))['to'](_0x3ed153),this[_0x16f83f(0x19d)](_0x16f83f(0x1c2))['to'](_0x3ed153),this[_0x16f83f(0x17d)]=this[_0x16f83f(0x18d)](),this[_0x16f83f(0x1e4)]||(this[_0x16f83f(0x18a)]=this[_0x16f83f(0x1c3)](),this[_0x16f83f(0x181)]=this[_0x16f83f(0x1cb)](),this[_0x16f83f(0x1ef)]=this[_0x16f83f(0x18d)](),this[_0x16f83f(0x1ef)][_0x16f83f(0x19b)]([this[_0x16f83f(0x18a)],this[_0x16f83f(0x181)]]),this[_0x16f83f(0x1b2)]=this[_0x16f83f(0x19f)](),this[_0x16f83f(0x17d)][_0x16f83f(0x1b9)](this[_0x16f83f(0x1b2)]),this[_0x16f83f(0x1d0)][_0x16f83f(0x1b9)](this[_0x16f83f(0x1b2)])),this[_0x16f83f(0x1bb)]=new _0x32c091(_0x202f51,_0x3ed153[_0x16f83f(0x187)],this[_0x16f83f(0x1e5)]()),this[_0x16f83f(0x1bb)][_0x16f83f(0x18e)]({'attributes':{'class':[_0x16f83f(0x182),_0x16f83f(0x1a4)],'aria-hidden':!0x0}}),this[_0x16f83f(0x1e7)](_0x3ed153,_0x16f83f(0x18c),()=>this[_0x16f83f(0x1eb)]()),this[_0x16f83f(0x1c7)](this[_0x16f83f(0x1bd)]());}[_0x133ebd(0x1bd)](){const _0xe344fc=_0x133ebd,_0x2191ae=this[_0xe344fc(0x1c0)],_0x8d72c6=[{'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x17e),_0xe344fc(0x1af)]},'children':[{'tag':_0xe344fc(0x183),'children':[{'text':this[_0xe344fc(0x1bb)][_0xe344fc(0x1ce)]}],'attributes':{'class':[_0xe344fc(0x1db),_0xe344fc(0x191)],'data-cke-tooltip-text':this[_0xe344fc(0x1bb)][_0xe344fc(0x1ce)]}},{'tag':_0xe344fc(0x1ae),'attributes':{'datetime':_0x2191ae['to'](_0xe344fc(0x1a0)),'class':[_0xe344fc(0x1f3),_0xe344fc(0x19c)]},'children':[{'text':_0x2191ae['to'](_0xe344fc(0x1a0),_0x245ff2=>this[_0xe344fc(0x185)][_0xe344fc(0x18f)](_0x245ff2))}]}]},{'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x1d8),_0xe344fc(0x1c4),_0x2191ae['if'](_0xe344fc(0x1ad),_0xe344fc(0x1f2)),_0x2191ae['if'](_0xe344fc(0x1ad),_0xe344fc(0x1cc))]},'children':this[_0xe344fc(0x17d)]},{'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x186)]},'children':this[_0xe344fc(0x1a2)]},this[_0xe344fc(0x1e0)]];return this[_0xe344fc(0x194)][_0xe344fc(0x198)]&&_0x8d72c6[_0xe344fc(0x189)]({'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x188)]},'children':[{'text':this[_0xe344fc(0x1bc)]()}]}),{'tag':'li','attributes':{'class':[_0xe344fc(0x199),_0x2191ae['if'](_0xe344fc(0x1c8),_0xe344fc(0x1da))],'tabindex':-0x1,'aria-label':_0x2191ae['to'](_0xe344fc(0x195)),'aria-describedby':this[_0xe344fc(0x1e0)]['id'],'role':_0xe344fc(0x1dc)},'children':[{'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x1a1),_0xe344fc(0x1b7),_0x2191ae['if'](_0xe344fc(0x1ad),_0xe344fc(0x1ed)),_0x2191ae['if'](_0xe344fc(0x1e4),_0xe344fc(0x1c1)),_0x2191ae['to'](_0xe344fc(0x1e9),_0x3ca17b=>_0x3ca17b?_0xe344fc(0x1df)+_0x3ca17b:'')],'data-author-id':this[_0xe344fc(0x194)][_0xe344fc(0x187)]['id'],'data-comment-id':this[_0xe344fc(0x194)]['id'],'role':_0xe344fc(0x1de)},'children':[this[_0xe344fc(0x1bb)],{'tag':_0xe344fc(0x1a5),'attributes':{'class':[_0xe344fc(0x1e3),_0xe344fc(0x1d9)]},'children':_0x8d72c6}]}]};}[_0x133ebd(0x1c3)](){const _0x3e3b3e=_0x133ebd,_0x40b532=new _0x47d0ef(this[_0x3e3b3e(0x1a3)]);return _0x40b532[_0x3e3b3e(0x1e8)]=_0x49cb51(this[_0x3e3b3e(0x1a3)],_0x3e3b3e(0x1d5)),_0x40b532[_0x3e3b3e(0x1a6)]=_0xe2f968,_0x40b532[_0x3e3b3e(0x1dd)]=!0x0,_0x40b532[_0x3e3b3e(0x18e)]({'attributes':{'class':_0x3e3b3e(0x1ed)}}),_0x40b532[_0x3e3b3e(0x19d)](_0x3e3b3e(0x1ee))['to'](this[_0x3e3b3e(0x194)],_0x3e3b3e(0x1ab),_0x306c9c=>!_0x306c9c),_0x40b532[_0x3e3b3e(0x19d)](_0x3e3b3e(0x1b6))['to'](this[_0x3e3b3e(0x194)],_0x3e3b3e(0x1a8)),_0x40b532['on'](_0x3e3b3e(0x1c6),()=>this[_0x3e3b3e(0x1c5)]()),_0x40b532;}[_0x133ebd(0x1cb)](){const _0x2d6cb3=_0x133ebd,_0x94edba=new _0x47d0ef(this[_0x2d6cb3(0x1a3)]);return _0x94edba[_0x2d6cb3(0x1e8)]=_0x49cb51(this[_0x2d6cb3(0x1a3)],_0x2d6cb3(0x1e1)),_0x94edba[_0x2d6cb3(0x1a6)]=_0x41a3fc,_0x94edba[_0x2d6cb3(0x1dd)]=!0x0,_0x94edba[_0x2d6cb3(0x18e)]({'attributes':{'class':_0x2d6cb3(0x1b1)}}),_0x94edba[_0x2d6cb3(0x19d)](_0x2d6cb3(0x1ee))['to'](this[_0x2d6cb3(0x194)],_0x2d6cb3(0x1ab),_0x31e68b=>!_0x31e68b),_0x94edba[_0x2d6cb3(0x19d)](_0x2d6cb3(0x1b6))['to'](this[_0x2d6cb3(0x194)],_0x2d6cb3(0x190)),_0x94edba['on'](_0x2d6cb3(0x1c6),()=>{const _0x286efe=_0x2d6cb3;this[_0x286efe(0x1aa)](_0x49cb51(this[_0x286efe(0x1a3)],_0x286efe(0x1cf)),this[_0x286efe(0x1b5)])[_0x286efe(0x1d6)](()=>{const _0x4dd9c0=_0x286efe;this[_0x4dd9c0(0x1bf)](_0x4dd9c0(0x18b),this[_0x4dd9c0(0x194)]['id']);});}),_0x94edba;}[_0x133ebd(0x19f)](){const _0x4f2d25=_0x133ebd,_0x4f64d1=_0x149889(this[_0x4f2d25(0x1a3)],_0x307c83),_0x1962bc=_0x4f64d1[_0x4f2d25(0x180)][_0x4f2d25(0x17f)],_0x5e4301=new _0x535347(this[_0x4f2d25(0x1a3)]),_0x3d2def=_0x4f64d1[_0x4f2d25(0x1c0)];_0x371c34(_0x4f64d1,()=>this[_0x4f2d25(0x1ef)][_0x4f2d25(0x1e6)](_0x10def8=>_0x10def8[_0x4f2d25(0x1b6)])),_0x4f64d1[_0x4f2d25(0x18e)]({'attributes':{'class':[_0x3d2def['if'](_0x4f2d25(0x1b6),_0x4f2d25(0x1cd),_0x5d1a1=>!_0x5d1a1)]}});const _0x20a3a9=(_0x5cabf7,_0x15df05=-0x1)=>{const _0x251a2e=_0x4f2d25,_0x7356bd=new _0x4434a5(this[_0x251a2e(0x1a3)]);_0x7356bd[_0x251a2e(0x17f)][_0x251a2e(0x1b9)](_0x5cabf7);const _0x27535a=_0x15df05>-0x1?_0x15df05:_0x5e4301[_0x251a2e(0x1ef)][_0x251a2e(0x1ca)];_0x5e4301[_0x251a2e(0x1ef)][_0x251a2e(0x1b9)](_0x7356bd,_0x27535a);const _0x6870a6=Array[_0x251a2e(0x184)](this[_0x251a2e(0x1ef)]);_0x4f64d1[_0x251a2e(0x1a7)](_0x251a2e(0x1ee),_0x251a2e(0x1b6)),_0x4f64d1[_0x251a2e(0x19d)](_0x251a2e(0x1ee))[_0x251a2e(0x193)](_0x6870a6,_0x251a2e(0x1ee),(..._0x2aacad)=>_0x2aacad[_0x251a2e(0x192)](_0x49e0e1=>_0x49e0e1)),_0x4f64d1[_0x251a2e(0x19d)](_0x251a2e(0x1b6))[_0x251a2e(0x193)](_0x6870a6,_0x251a2e(0x1b6),(..._0x140b36)=>_0x140b36[_0x251a2e(0x192)](_0x362604=>_0x362604));};_0x4f64d1[_0x4f2d25(0x1b3)]='sw',_0x4f64d1[_0x4f2d25(0x1c9)][_0x4f2d25(0x1d2)]({'label':_0x49cb51(this[_0x4f2d25(0x1a3)],_0x4f2d25(0x1ea)),'icon':_0x15438a});for(const _0x3835e4 of this[_0x4f2d25(0x1ef)])_0x20a3a9(_0x3835e4);return _0x1962bc[_0x4f2d25(0x1b9)](_0x5e4301),_0x4f64d1[_0x4f2d25(0x1e7)](this[_0x4f2d25(0x1ef)],_0x4f2d25(0x1b9),(_0x2bb51b,_0x4464f1,_0x47967c)=>{_0x20a3a9(_0x4464f1,_0x47967c);}),_0x4f64d1[_0x4f2d25(0x1e7)](this[_0x4f2d25(0x1ef)],_0x4f2d25(0x1b8),(_0x108269,_0x14293e,_0x380d6e)=>{const _0x1461b9=_0x4f2d25;_0x5e4301[_0x1461b9(0x1ef)][_0x1461b9(0x1b8)](_0x380d6e);}),_0x4f64d1;}[_0x133ebd(0x1d3)](_0x35237d,_0x475c0f){const _0x594d12=_0x133ebd,_0x8192de=_0x35237d&&_0x35237d[_0x594d12(0x1b5)];_0x8192de&&(this[_0x594d12(0x1e7)](_0x8192de,_0x594d12(0x1e2),()=>this[_0x594d12(0x1e9)]=_0x475c0f),this[_0x594d12(0x1e7)](_0x8192de,_0x594d12(0x1d7),()=>this[_0x594d12(0x1e9)]=_0x475c0f),this[_0x594d12(0x1e7)](_0x8192de,_0x594d12(0x196),()=>this[_0x594d12(0x1e9)]=null),this[_0x594d12(0x1e7)](_0x8192de,_0x594d12(0x1f1),()=>this[_0x594d12(0x1e9)]=null));}[_0x133ebd(0x19a)](){const _0x2af5e8=_0x133ebd,_0x34bde7=super[_0x2af5e8(0x19a)]();return _0x34bde7[_0x2af5e8(0x19d)](_0x2af5e8(0x1f4))['to'](this),_0x34bde7;}[_0x133ebd(0x19e)](){const _0x15ff3d=_0x133ebd;super[_0x15ff3d(0x19e)](),this[_0x15ff3d(0x1d3)](this[_0x15ff3d(0x18a)],_0x15ff3d(0x1a9)),this[_0x15ff3d(0x1d3)](this[_0x15ff3d(0x181)],_0x15ff3d(0x1b8));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1be88b=_0x17b6;(function(_0xbe3267,_0x2d1682){var _0x1954fc=_0x17b6,_0x38b3c8=_0xbe3267();while(!![]){try{var _0x44121b=-parseInt(_0x1954fc(0x185))/0x1+-parseInt(_0x1954fc(0x186))/0x2+parseInt(_0x1954fc(0x188))/0x3+parseInt(_0x1954fc(0x17e))/0x4+-parseInt(_0x1954fc(0x189))/0x5+-parseInt(_0x1954fc(0x183))/0x6*(-parseInt(_0x1954fc(0x180))/0x7)+-parseInt(_0x1954fc(0x17f))/0x8*(-parseInt(_0x1954fc(0x187))/0x9);if(_0x44121b===_0x2d1682)break;else _0x38b3c8['push'](_0x38b3c8['shift']());}catch(_0x282df1){_0x38b3c8['push'](_0x38b3c8['shift']());}}}(_0x168d,0xd5fdf));import{Plugin as _0x5cb762}from'ckeditor5/src/core.js';import{CommentsRepository as _0x2270aa}from'./comments/commentsrepository.js';import{CommentsEditing as _0x1a37ae}from'./comments/commentsediting.js';import{CommentsUI as _0x468af8}from'./comments/commentsui.js';function _0x17b6(_0x8d4bcf,_0x36c6be){var _0x168db4=_0x168d();return _0x17b6=function(_0x17b6de,_0x58a68c){_0x17b6de=_0x17b6de-0x17d;var _0x131ec=_0x168db4[_0x17b6de];return _0x131ec;},_0x17b6(_0x8d4bcf,_0x36c6be);}import{CommentsOnly as _0x12f3f6}from'./commentsonly.js';import{WideSidebar as _0x46e2cd}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x251f07}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x411f70}from'./annotations/inlineannotations.js';function _0x168d(){var _0xfd548=['184klnvJE','28CAGDPu','isOfficialPlugin','Comments','255798vbXbnR','isPremiumPlugin','1641824qYtsnF','1582494sGOcUV','1197567RneqtX','2266488dULZRp','5684500SyWiEx','requires','pluginName','1840020VsZgrx'];_0x168d=function(){return _0xfd548;};return _0x168d();}import{CommentsArchiveUI as _0xf061f}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x569202}from'./comments/commentsarchive.js';export class Comments extends _0x5cb762{static get[_0x1be88b(0x18a)](){return[_0x2270aa,_0x1a37ae,_0x468af8,_0x569202,_0xf061f,_0x12f3f6,_0x46e2cd,_0x251f07,_0x411f70];}static get[_0x1be88b(0x17d)](){var _0x5c5db3=_0x1be88b;return _0x5c5db3(0x182);}static get[_0x1be88b(0x181)](){return!0x0;}static get[_0x1be88b(0x184)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb2be4=_0x2e13;(function(_0x4b34d2,_0x320236){const _0x22f5e2=_0x2e13,_0x4809fa=_0x4b34d2();while(!![]){try{const _0x39f7c0=-parseInt(_0x22f5e2(0xeb))/0x1+parseInt(_0x22f5e2(0xec))/0x2+parseInt(_0x22f5e2(0xfc))/0x3+parseInt(_0x22f5e2(0xf2))/0x4*(parseInt(_0x22f5e2(0xfa))/0x5)+parseInt(_0x22f5e2(0xe4))/0x6*(parseInt(_0x22f5e2(0x105))/0x7)+-parseInt(_0x22f5e2(0x108))/0x8*(parseInt(_0x22f5e2(0xe6))/0x9)+-parseInt(_0x22f5e2(0xef))/0xa;if(_0x39f7c0===_0x320236)break;else _0x4809fa['push'](_0x4809fa['shift']());}catch(_0x3b224b){_0x4809fa['push'](_0x4809fa['shift']());}}}(_0x57e6,0xe0e9c));import{Plugin as _0x1a6239}from'ckeditor5/src/core.js';function _0x57e6(){const _0x1e3535=['clearForceDisabled','DragDrop','15oRsUoS','afterInit','1546425OIvkIl','plugins','commentsOnlyMode','view','editSource','SourceEditing','isPremiumPlugin','isEnabled','cut','357CPCrYX','addCommentThread','delete','368EkOIqw','_disableCommentsOnlyMode','stop','highest','set','isOfficialPlugin','requires','CommentsOnly','has','document','120846KyyRxm','forceDisabled','157158kBwdrO','commands','stopListening','config','commentsOnly','1573330FyZozc','677332ZKTacu','pluginName','get','3777100DmoRyD','change:isEnabled','affectsData','2392272jCXpcg','listenTo','clipboardInput','editing','editor','_enableCommentsOnlyMode'];_0x57e6=function(){return _0x1e3535;};return _0x57e6();}import{CommentsEditing as _0x4fe18b}from'./comments/commentsediting.js';function _0x2e13(_0x5f24f6,_0x12e5b3){const _0x57e631=_0x57e6();return _0x2e13=function(_0x2e1327,_0x370b51){_0x2e1327=_0x2e1327-0xe2;let _0x9df3ab=_0x57e631[_0x2e1327];return _0x9df3ab;},_0x2e13(_0x5f24f6,_0x12e5b3);}export class CommentsOnly extends _0x1a6239{static get[_0xb2be4(0xed)](){const _0x5c1805=_0xb2be4;return _0x5c1805(0x10f);}static get[_0xb2be4(0x10d)](){return!0x0;}static get[_0xb2be4(0x102)](){return!0x0;}static get[_0xb2be4(0x10e)](){return[_0x4fe18b];}constructor(_0x456789){const _0x31a156=_0xb2be4;super(_0x456789),this[_0x31a156(0x10c)](_0x31a156(0x103),!0x1),this['on'](_0x31a156(0xf0),(_0x5cdeaf,_0xfb4884,_0x4a783f)=>{const _0x5a862d=_0x31a156;_0x4a783f?this[_0x5a862d(0xf7)]():this[_0x5a862d(0x109)]();});}[_0xb2be4(0xfb)](){const _0x51d8e0=_0xb2be4;!this[_0x51d8e0(0x103)]&&this[_0x51d8e0(0xf6)][_0x51d8e0(0xe9)][_0x51d8e0(0xee)](_0x51d8e0(0xea))&&(this[_0x51d8e0(0x103)]=!0x0);}[_0xb2be4(0xf7)](){const _0x3c70f4=_0xb2be4;for(const [_0x13a762,_0x1f51f2]of this[_0x3c70f4(0xf6)][_0x3c70f4(0xe7)])_0x1f51f2[_0x3c70f4(0xf1)]&&_0x3c70f4(0x106)!==_0x13a762&&_0x1f51f2[_0x3c70f4(0xe5)](_0x3c70f4(0xfe));(this[_0x3c70f4(0xf6)][_0x3c70f4(0xfd)][_0x3c70f4(0xe2)](_0x3c70f4(0xf9))&&this[_0x3c70f4(0xf6)][_0x3c70f4(0xfd)][_0x3c70f4(0xee)](_0x3c70f4(0xf9))[_0x3c70f4(0xe5)](_0x3c70f4(0xfe)),this[_0x3c70f4(0xf6)][_0x3c70f4(0xfd)][_0x3c70f4(0xe2)](_0x3c70f4(0x101)))&&this[_0x3c70f4(0xf6)][_0x3c70f4(0xfd)][_0x3c70f4(0xee)](_0x3c70f4(0x101))[_0x3c70f4(0xe5)](_0x3c70f4(0xfe));this[_0x3c70f4(0xf6)][_0x3c70f4(0xe7)][_0x3c70f4(0xee)](_0x3c70f4(0x100))?.[_0x3c70f4(0xe5)](_0x3c70f4(0xfe));const _0x81c6e=this[_0x3c70f4(0xf6)][_0x3c70f4(0xf5)][_0x3c70f4(0xff)][_0x3c70f4(0xe3)];this[_0x3c70f4(0xf3)](_0x81c6e,_0x3c70f4(0x104),_0x33d7a8=>_0x33d7a8[_0x3c70f4(0x10a)](),{'priority':_0x3c70f4(0x10b)}),this[_0x3c70f4(0xf3)](_0x81c6e,_0x3c70f4(0xf4),_0x5bd095=>_0x5bd095[_0x3c70f4(0x10a)](),{'priority':_0x3c70f4(0x10b)}),this[_0x3c70f4(0xf3)](_0x81c6e,_0x3c70f4(0x107),_0x2c6516=>_0x2c6516[_0x3c70f4(0x10a)](),{'priority':_0x3c70f4(0x10b)});}[_0xb2be4(0x109)](){const _0x498145=_0xb2be4;for(const [_0x5cb1fd,_0x458924]of this[_0x498145(0xf6)][_0x498145(0xe7)])_0x458924[_0x498145(0xf1)]&&_0x498145(0x106)!==_0x5cb1fd&&_0x458924[_0x498145(0xf8)](_0x498145(0xfe));this[_0x498145(0xf6)][_0x498145(0xfd)][_0x498145(0xe2)](_0x498145(0x101))&&this[_0x498145(0xf6)][_0x498145(0xfd)][_0x498145(0xee)](_0x498145(0x101))[_0x498145(0xf8)](_0x498145(0xfe)),this[_0x498145(0xf6)][_0x498145(0xe7)][_0x498145(0xee)](_0x498145(0x100))?.[_0x498145(0xf8)](_0x498145(0xfe)),this[_0x498145(0xe8)](this[_0x498145(0xf6)][_0x498145(0xf5)][_0x498145(0xff)][_0x498145(0xe3)]);}}
|
package/src/index.d.ts
CHANGED
|
@@ -29,6 +29,6 @@ export { AddCommentThreadCommand } from './comments/addcommentthreadcommand.js';
|
|
|
29
29
|
export { CommentsArchive } from './comments/commentsarchive.js';
|
|
30
30
|
export { CommentsArchiveUI } from './comments/commentsarchiveui.js';
|
|
31
31
|
export type { CommentsConfig, AnnotationsSidebarConfig, CommentsClipboardCopyConfig, CommentThreadConfig, CommentViewConfig } from './config.js';
|
|
32
|
-
export
|
|
32
|
+
export { CommentsEditing } from './comments/commentsediting.js';
|
|
33
33
|
export { AnnotationCounterButtonView } from './annotations/view/annotationcounterbuttonview.js';
|
|
34
34
|
import './augmentation.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42ad3a,_0x3c98b6){var _0x125515=_0x5a79,_0x1ec9ac=_0x42ad3a();while(!![]){try{var _0xdac3d5=parseInt(_0x125515(0x74))/0x1+-parseInt(_0x125515(0x75))/0x2*(parseInt(_0x125515(0x76))/0x3)+parseInt(_0x125515(0x7d))/0x4+parseInt(_0x125515(0x77))/0x5+-parseInt(_0x125515(0x7e))/0x6*(parseInt(_0x125515(0x79))/0x7)+parseInt(_0x125515(0x7b))/0x8*(parseInt(_0x125515(0x7c))/0x9)+-parseInt(_0x125515(0x7a))/0xa*(parseInt(_0x125515(0x78))/0xb);if(_0xdac3d5===_0x3c98b6)break;else _0x1ec9ac['push'](_0x1ec9ac['shift']());}catch(_0x15e499){_0x1ec9ac['push'](_0x1ec9ac['shift']());}}}(_0x15cb,0x23e07));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 _0x5a79(_0x4c80f0,_0x4b2067){var _0x15cb6f=_0x15cb();return _0x5a79=function(_0x5a79bd,_0x572e43){_0x5a79bd=_0x5a79bd-0x74;var _0x413766=_0x15cb6f[_0x5a79bd];return _0x413766;},_0x5a79(_0x4c80f0,_0x4b2067);}export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x15cb(){var _0x27aec8=['7TNOdvM','567030MGHtMv','2310424AdyjJz','9yzimsX','887704mvAUAa','1419906vuJBvI','149365gaMjvQ','106WfaPCl','1797IGoomM','193850GCPFrx','55pxIVyZ'];_0x15cb=function(){return _0x27aec8;};return _0x15cb();}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(_0x37b23a,_0x4b47d0,_0x2e0f0d){const t=_0x37b23a['t'];switch(_0x4b47d0){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'},_0x2e0f0d);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'},_0x2e0f0d);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'},_0x2e0f0d);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'},_0x2e0f0d);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2e0f0d);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'},_0x2e0f0d);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'},_0x2e0f0d);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'},_0x2e0f0d);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(_0x4dde47,_0x5556d4){const _0x47d7c7=_0x4bd3,_0x58ba9c=_0x4dde47();while(!![]){try{const _0x4da17f=parseInt(_0x47d7c7(0x14c))/0x1*(-parseInt(_0x47d7c7(0x152))/0x2)+parseInt(_0x47d7c7(0x14e))/0x3*(-parseInt(_0x47d7c7(0x151))/0x4)+parseInt(_0x47d7c7(0x15a))/0x5*(-parseInt(_0x47d7c7(0x155))/0x6)+-parseInt(_0x47d7c7(0x150))/0x7*(-parseInt(_0x47d7c7(0x159))/0x8)+parseInt(_0x47d7c7(0x15f))/0x9+-parseInt(_0x47d7c7(0x157))/0xa*(-parseInt(_0x47d7c7(0x153))/0xb)+parseInt(_0x47d7c7(0x15e))/0xc;if(_0x4da17f===_0x5556d4)break;else _0x58ba9c['push'](_0x58ba9c['shift']());}catch(_0x18c0b1){_0x58ba9c['push'](_0x58ba9c['shift']());}}}(_0x4d0a,0xd2269));function _0x4bd3(_0xc9630e,_0x3ad54c){const _0x4d0a82=_0x4d0a();return _0x4bd3=function(_0x4bd33b,_0x54b5e8){_0x4bd33b=_0x4bd33b-0x14c;let _0x3a3d0c=_0x4d0a82[_0x4bd33b];return _0x3a3d0c;},_0x4bd3(_0xc9630e,_0x3ad54c);}function _0x4d0a(){const _0x1379cf=['class','1103916uAazzn','disconnect','120WWDgqI','cancel','88XEojTQ','5uBMWQR','observe','type','attributes','23934024pmXBYn','1834056fzKbZe','characterData','3371JbKMHY','attributeName','308601GMzEsf','childList','837109ddaVYe','36WeCUDg','958zBiRrg','65571ODwdiI'];_0x4d0a=function(){return _0x1379cf;};return _0x4d0a();}import{throttle as _0x5ab70f}from'es-toolkit/compat';export function createMutationObserver(_0x434f3e){const _0x5d617c=_0x5ab70f(_0x434f3e,0x1e),_0x3b71a5=new MutationObserver(_0xfa248a=>{const _0x8801bd=_0x4bd3;for(const _0x461d1f of _0xfa248a)(_0x8801bd(0x15d)==_0x461d1f[_0x8801bd(0x15c)]&&_0x8801bd(0x154)==_0x461d1f[_0x8801bd(0x14d)]||_0x8801bd(0x14f)==_0x461d1f[_0x8801bd(0x15c)]||_0x8801bd(0x160)==_0x461d1f[_0x8801bd(0x15c)])&&_0x5d617c();});return{'attach'(_0x1970d1){const _0x56d36e=_0x4bd3;_0x3b71a5[_0x56d36e(0x15b)](_0x1970d1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x19ae01=_0x4bd3;_0x3b71a5[_0x19ae01(0x156)](),_0x5d617c[_0x19ae01(0x158)]();}};}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Returns marker name split to group and id.
|
|
7
|
+
*/
|
|
8
|
+
export declare function splitMarkerName(name: string): {
|
|
9
|
+
group: string;
|
|
10
|
+
id: string;
|
|
11
|
+
part: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function _0xc1ca(_0xf03326,_0x56e7f8){const _0x4a6d4e=_0x4a6d();return _0xc1ca=function(_0xc1cacf,_0x4dd47d){_0xc1cacf=_0xc1cacf-0x138;let _0x275da8=_0x4a6d4e[_0xc1cacf];return _0x275da8;},_0xc1ca(_0xf03326,_0x56e7f8);}(function(_0x3b0c28,_0x317fda){const _0x5382c6=_0xc1ca,_0x4ffa59=_0x3b0c28();while(!![]){try{const _0x4e3d19=parseInt(_0x5382c6(0x142))/0x1+parseInt(_0x5382c6(0x140))/0x2*(parseInt(_0x5382c6(0x13c))/0x3)+parseInt(_0x5382c6(0x13d))/0x4+-parseInt(_0x5382c6(0x138))/0x5*(-parseInt(_0x5382c6(0x13f))/0x6)+parseInt(_0x5382c6(0x13e))/0x7+parseInt(_0x5382c6(0x13a))/0x8*(-parseInt(_0x5382c6(0x141))/0x9)+-parseInt(_0x5382c6(0x13b))/0xa;if(_0x4e3d19===_0x317fda)break;else _0x4ffa59['push'](_0x4ffa59['shift']());}catch(_0x3408cc){_0x4ffa59['push'](_0x4ffa59['shift']());}}}(_0x4a6d,0x32536));function _0x4a6d(){const _0xba425=['3004767unQYPR','65657LfWOmV','455475mRLscN','split','8DwpgzI','461600fquZCR','5298ZSJTSW','575236onPzlU','1324421FOZelb','12qcnfLb','6dqTFBa'];_0x4a6d=function(){return _0xba425;};return _0x4a6d();}export function splitMarkerName(_0x53893f){const _0x472a01=_0xc1ca,_0x39d32f=_0x53893f[_0x472a01(0x139)](':');return{'group':_0x39d32f[0x0],'id':_0x39d32f[0x1],'part':_0x39d32f[0x2]};}
|