@ckeditor/ckeditor5-comments 43.0.0-alpha.3 → 43.0.0-alpha.5
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 +1 -5
- package/dist/index.css +1 -5
- package/dist/index.js +9 -9
- 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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +14 -14
- 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 +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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/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/theme/comment.css +1 -5
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2af12c=_0x2049;(function(_0x26337f,_0x5995ac){const _0x5017d0=_0x2049,_0x4d1bdc=_0x26337f();while(!![]){try{const _0x58b049=parseInt(_0x5017d0(0x19e))/0x1*(-parseInt(_0x5017d0(0x185))/0x2)+parseInt(_0x5017d0(0x18a))/0x3+-parseInt(_0x5017d0(0x19d))/0x4+parseInt(_0x5017d0(0x1a6))/0x5*(-parseInt(_0x5017d0(0x1a0))/0x6)+parseInt(_0x5017d0(0x1a4))/0x7+-parseInt(_0x5017d0(0x186))/0x8+-parseInt(_0x5017d0(0x18e))/0x9*(-parseInt(_0x5017d0(0x191))/0xa);if(_0x58b049===_0x5995ac)break;else _0x4d1bdc['push'](_0x4d1bdc['shift']());}catch(_0x43cc83){_0x4d1bdc['push'](_0x4d1bdc['shift']());}}}(_0x52af,0xba330));import{View as _0x4287c6,FocusCycler as _0x35dbf6}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2e97e3}from'ckeditor5/src/utils.js';function _0x2049(_0xe28f0b,_0x511452){const _0x52af2a=_0x52af();return _0x2049=function(_0x204994,_0x2a4540){_0x204994=_0x204994-0x17f;let _0x192a83=_0x52af2a[_0x204994];return _0x192a83;},_0x2049(_0xe28f0b,_0x511452);}import{getTranslation as _0x508f41}from'../../../utils/common-translations.js';export default class Y extends _0x4287c6{constructor(_0x5c2fbd,_0x5c2601){const _0x401b59=_0x2049;super(_0x5c2fbd),this[_0x401b59(0x199)](_0x401b59(0x19b),!_0x5c2601[_0x401b59(0x19f)]),this[_0x401b59(0x193)]=new _0x2e97e3(),this[_0x401b59(0x1ab)]=_0x5c2601,this[_0x401b59(0x1ab)][_0x401b59(0x19c)](_0x401b59(0x195),_0x401b59(0x19a))['to'](this),this['on'](_0x401b59(0x195),()=>{const _0x25d17d=_0x401b59;this[_0x25d17d(0x194)][_0x25d17d(0x183)]();}),this['on'](_0x401b59(0x19a),()=>{const _0x1a67ab=_0x401b59;this[_0x1a67ab(0x194)][_0x1a67ab(0x1a7)]();}),this[_0x401b59(0x194)]=new _0x35dbf6({'focusables':_0x5c2601,'focusTracker':this[_0x401b59(0x193)]}),this[_0x401b59(0x192)](_0x5c2601,_0x401b59(0x197),()=>{const _0x4f4636=_0x401b59;this[_0x4f4636(0x19b)]=!0x1;}),this[_0x401b59(0x192)](_0x5c2601,_0x401b59(0x1a2),(_0x1fc5b2,_0x3384a7)=>{const _0x58f5e1=_0x401b59;_0x3384a7[_0x58f5e1(0x18f)]&&this[_0x58f5e1(0x18c)](),_0x5c2601[_0x58f5e1(0x19f)]||(this[_0x58f5e1(0x19b)]=!0x0);});const _0xfc9447=this[_0x401b59(0x188)];this[_0x401b59(0x190)]({'tag':_0x401b59(0x18b),'attributes':{'dir':_0x401b59(0x182),'class':['ck',_0x401b59(0x180)],'tabindex':-0x1,'role':_0x401b59(0x1a9),'aria-label':_0x508f41(_0x5c2fbd,_0x401b59(0x1a8))},'children':[{'tag':_0x401b59(0x18b),'attributes':{'class':[_0x401b59(0x1a1)],'role':_0x401b59(0x187)},'children':[{'tag':_0x401b59(0x18b),'attributes':{'role':_0x401b59(0x187)},'children':_0x5c2601},{'tag':'p','attributes':{'class':[_0x401b59(0x181),_0xfc9447['if'](_0x401b59(0x19b),_0x401b59(0x196),_0x2a91dd=>!_0x2a91dd)]},'children':[{'text':_0x508f41(_0x5c2fbd,_0x401b59(0x1a5))}]}]}]});}[_0x2af12c(0x189)](){const _0x462b77=_0x2af12c;super[_0x462b77(0x189)](),this[_0x462b77(0x1aa)]();}[_0x2af12c(0x18d)](){const _0xe4ac4f=_0x2af12c;super[_0xe4ac4f(0x18d)](),this[_0xe4ac4f(0x193)][_0xe4ac4f(0x18d)]();}[_0x2af12c(0x18c)](){const _0xaebbc3=_0x2af12c;this[_0xaebbc3(0x194)][_0xaebbc3(0x198)]?this[_0xaebbc3(0x194)][_0xaebbc3(0x1a3)]():this[_0xaebbc3(0x17f)][_0xaebbc3(0x18c)]();}[_0x2af12c(0x1aa)](){const _0x116c91=_0x2af12c;for(const _0x952a0a of this[_0x116c91(0x1ab)])this[_0x116c91(0x193)][_0x116c91(0x197)](_0x952a0a[_0x116c91(0x17f)]);this[_0x116c91(0x1ab)]['on'](_0x116c91(0x184),(_0x13b4ee,{added:_0x3ae0d7,removed:_0x182a9a})=>{const _0x2fa0a4=_0x116c91;for(const _0x21141b of _0x3ae0d7)this[_0x2fa0a4(0x193)][_0x2fa0a4(0x197)](_0x21141b[_0x2fa0a4(0x17f)]);for(const _0x307be8 of _0x182a9a)this[_0x2fa0a4(0x193)][_0x2fa0a4(0x1a2)](_0x307be8[_0x2fa0a4(0x17f)]);});}}function _0x52af(){const _0x36be80=['isEmpty','delegate','2588084fsNDpd','691663FXytLX','length','12vRMvzS','ck-comments-archive__content','remove','focusFirst','1830822ZWdDgw','EMPTY_COMMENTS_ARCHIVE','662210mypBnk','focusNext','COMMENTS_ARCHIVE_LIST_LABEL','list','_setupKeyboardNavigation','_annotationViews','element','ck-comments-archive','ck-comments-archive__info','auto','focusPrevious','change','2bzkIIt','1695904wJtwoI','presentation','bindTemplate','render','4505223TqUHPk','div','focus','destroy','9OBHCpY','isActive','setTemplate','8149410hstTWL','listenTo','focusTracker','focusCycler','arrowup','ck-hidden','add','first','set','arrowdown'];_0x52af=function(){return _0x36be80;};return _0x52af();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x260ae=_0x23d9;(function(_0x7792bd,_0x2c795d){const _0x55de8a=_0x23d9,_0x2eeea3=_0x7792bd();while(!![]){try{const _0x350a63=-parseInt(_0x55de8a(0x1cd))/0x1*(parseInt(_0x55de8a(0x228))/0x2)+-parseInt(_0x55de8a(0x224))/0x3*(parseInt(_0x55de8a(0x20c))/0x4)+parseInt(_0x55de8a(0x1d7))/0x5*(-parseInt(_0x55de8a(0x1ff))/0x6)+parseInt(_0x55de8a(0x1c8))/0x7*(parseInt(_0x55de8a(0x211))/0x8)+parseInt(_0x55de8a(0x1ee))/0x9*(parseInt(_0x55de8a(0x1dd))/0xa)+-parseInt(_0x55de8a(0x209))/0xb*(-parseInt(_0x55de8a(0x206))/0xc)+parseInt(_0x55de8a(0x205))/0xd;if(_0x350a63===_0x2c795d)break;else _0x2eeea3['push'](_0x2eeea3['shift']());}catch(_0x14ae42){_0x2eeea3['push'](_0x2eeea3['shift']());}}}(_0x5200,0x2a7dc));import{View as _0x3384e5,FocusCycler as _0x57c7a3}from'ckeditor5/src/ui.js';import{diff as _0xf516a1,Collection as _0x4e9465,FocusTracker as _0x15003b,KeystrokeHandler as _0x599e5b}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a43ee}from'../../../utils/common-translations.js';function _0x5200(){const _0x2f3cd4=['maxCommentCharsWhenCollapsed','createCollection','789270bfEsUf','weight','_config','focusCycler','_rearrangeCollapse','setTemplate','10XmTYoz','resolvedCommentView','_handleRemoveCommentModel','focusLast','equal','resolveCommentThread','focusTracker','focusFirst','locale','_collapsedCommentsView','bindTemplate','ck-hidden','map','_calculatePosition','insert','_handleNewCommentModel','formatDateTime','2887749tYSQcV','change:hasDirtyComment','_rearrangeExpand','hasDirtyComment','updateComment','includes','CommentView','listenTo','change:isEditMode','collapse','ck-thread__comments','arrowdown','reverse','commentViews','count','resolved','forEach','12zVGIoe','viewUid','length','stopListening','target','destroy','3530072NjWEvW','12hyITdV','arrowup','removeComment','2429119JiAyQa','remove','expand','10452NkOHPf','some','_handleInfoComment','_model','removed','1072aHdIuO','delete','isActive','set','change:isActive','editorConfig','added','visibleViews','editorReady','_updateHasDirtyComment','_shouldCollapse','isEditMode','get','comments','commentUpdated','focus','bind','render','refreshVisibleViews','144vNwgva','maxCommentsWhenCollapsed','resolvedBy','Marked\x20as\x20resolved','8BwoDAk','delegate','keystrokes','authoredAt','3605hDbaVP','from','change:isResolved','maxThreadTotalWeight','_setupKeyboardNavigation','66767FxpNRz','Thread\x20comments','add','change','editorDestroyed','element','_findOptimalIndex','resolvedAt'];_0x5200=function(){return _0x2f3cd4;};return _0x5200();}import _0x17c8dc from'./collapsedcommentsview.js';function _0x23d9(_0x37093c,_0x30745b){const _0x52004a=_0x5200();return _0x23d9=function(_0x23d94c,_0x51ab11){_0x23d94c=_0x23d94c-0x1c8;let _0x447edf=_0x52004a[_0x23d94c];return _0x447edf;},_0x23d9(_0x37093c,_0x30745b);}export default class kt extends _0x3384e5{constructor(_0x432d74,_0x139bcd,_0x1f786e){const _0xb2f1e5=_0x23d9;super(_0x432d74);const _0x5418c9=this[_0xb2f1e5(0x1e7)];this[_0xb2f1e5(0x214)](_0xb2f1e5(0x1f1),!0x1),this[_0xb2f1e5(0x214)](_0xb2f1e5(0x201),_0x139bcd[_0xb2f1e5(0x21e)][_0xb2f1e5(0x201)]),this[_0xb2f1e5(0x214)](_0xb2f1e5(0x213),!0x1),this[_0xb2f1e5(0x20f)]=_0x139bcd,this[_0xb2f1e5(0x1d9)]=_0x1f786e,this[_0xb2f1e5(0x1fb)]=this[_0xb2f1e5(0x1d6)](),this[_0xb2f1e5(0x218)]=this[_0xb2f1e5(0x1d6)](),this[_0xb2f1e5(0x1de)]=null,this[_0xb2f1e5(0x1e3)]=new _0x15003b(),this[_0xb2f1e5(0x22a)]=new _0x599e5b(),this[_0xb2f1e5(0x1da)]=new _0x57c7a3({'focusables':this[_0xb2f1e5(0x1fb)],'focusTracker':this[_0xb2f1e5(0x1e3)],'keystrokeHandler':this[_0xb2f1e5(0x22a)],'keystrokeHandlerOptions':{'filter':_0x49bf08=>this[_0xb2f1e5(0x1fb)][_0xb2f1e5(0x1e9)](_0x537e83=>_0x537e83[_0xb2f1e5(0x1d2)])[_0xb2f1e5(0x1f3)](_0x49bf08[_0xb2f1e5(0x203)])},'actions':{'focusPrevious':_0xb2f1e5(0x207),'focusNext':_0xb2f1e5(0x1f9)}}),this[_0xb2f1e5(0x1e6)]=new _0x17c8dc(_0x432d74),this[_0xb2f1e5(0x1e6)][_0xb2f1e5(0x221)](_0xb2f1e5(0x1fc))['to'](this,_0xb2f1e5(0x201),_0x555d75=>_0x555d75-this[_0xb2f1e5(0x1d9)][_0xb2f1e5(0x225)]);for(const _0x47c2d9 of _0x139bcd[_0xb2f1e5(0x21e)])this[_0xb2f1e5(0x1ec)](_0x47c2d9);this[_0xb2f1e5(0x20e)](),this[_0xb2f1e5(0x1f5)](_0x139bcd[_0xb2f1e5(0x21e)],_0xb2f1e5(0x1cf),(_0x47b859,_0x1b47fa)=>{const _0x2a6c13=_0xb2f1e5,_0x213d84=this[_0x2a6c13(0x1ea)](_0x1b47fa);this[_0x2a6c13(0x201)]++,this[_0x2a6c13(0x1ec)](_0x1b47fa,_0x213d84),this[_0x2a6c13(0x223)]();}),this[_0xb2f1e5(0x1f5)](_0x139bcd[_0xb2f1e5(0x21e)],_0xb2f1e5(0x20a),(_0x12f667,_0x5c5df3)=>{const _0x5639b8=_0xb2f1e5;this[_0x5639b8(0x201)]--,this[_0x5639b8(0x1df)](_0x5c5df3),this[_0x5639b8(0x223)]();}),this[_0xb2f1e5(0x1f5)](_0x139bcd,_0xb2f1e5(0x21f),()=>this[_0xb2f1e5(0x223)]()),this[_0xb2f1e5(0x1f5)](_0x139bcd,_0xb2f1e5(0x1ca),()=>this[_0xb2f1e5(0x20e)]()),this['on'](_0xb2f1e5(0x215),()=>this[_0xb2f1e5(0x223)]()),this['on'](_0xb2f1e5(0x1ef),()=>this[_0xb2f1e5(0x223)]()),this[_0xb2f1e5(0x1dc)]({'tag':'ul','attributes':{'class':[_0xb2f1e5(0x1f8),_0x5418c9['if'](_0xb2f1e5(0x201),_0xb2f1e5(0x1e8),_0x4dc51b=>!_0x4dc51b)],'aria-label':_0x2a43ee(_0x432d74,_0xb2f1e5(0x1ce))},'children':this[_0xb2f1e5(0x218)]});}get[_0x260ae(0x21b)](){const _0x5bcdb3=_0x260ae;return this[_0x5bcdb3(0x20f)][_0x5bcdb3(0x1d8)]>this[_0x5bcdb3(0x1d9)][_0x5bcdb3(0x1cb)]&&!this[_0x5bcdb3(0x213)]&&!this[_0x5bcdb3(0x1f1)];}[_0x260ae(0x222)](){const _0x4b38df=_0x260ae;super[_0x4b38df(0x222)](),this[_0x4b38df(0x223)](),this[_0x4b38df(0x1cc)]();}[_0x260ae(0x220)](_0x1e0b3d){const _0x3f1093=_0x260ae;-0x1===_0x1e0b3d?this[_0x3f1093(0x1da)][_0x3f1093(0x1e0)]():this[_0x3f1093(0x1da)][_0x3f1093(0x1e4)]();}[_0x260ae(0x204)](){const _0x56ab6f=_0x260ae;this[_0x56ab6f(0x1e6)][_0x56ab6f(0x204)]();for(const _0xc5bef9 of this[_0x56ab6f(0x1fb)])_0xc5bef9[_0x56ab6f(0x204)]();super[_0x56ab6f(0x204)]();}[_0x260ae(0x223)](){const _0x3cd574=_0x260ae;this[_0x3cd574(0x21b)]?this[_0x3cd574(0x1db)]():this[_0x3cd574(0x1f0)]();}[_0x260ae(0x1ec)](_0x3a48a7,_0x1bee6b){const _0x386701=_0x260ae,_0x1aca6e=new this[(_0x386701(0x1d9))][(_0x386701(0x1f4))](this[_0x386701(0x1e5)],_0x3a48a7,{'maxCommentCharsWhenCollapsed':this[_0x386701(0x1d9)][_0x386701(0x1d5)],'formatDateTime':this[_0x386701(0x1d9)][_0x386701(0x1ed)],'editorConfig':this[_0x386701(0x1d9)][_0x386701(0x216)]});_0x1aca6e[_0x386701(0x200)]=_0x3a48a7['id'],_0x1aca6e[_0x386701(0x229)](_0x386701(0x208))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1f2))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1e2))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x219))['to'](this),_0x1aca6e[_0x386701(0x229)](_0x386701(0x1d1))['to'](this),this[_0x386701(0x1f5)](_0x1aca6e,_0x386701(0x1f6),()=>this[_0x386701(0x21a)]()),this[_0x386701(0x1fb)][_0x386701(0x1cf)](_0x1aca6e,_0x1bee6b);}[_0x260ae(0x1ea)](_0x491e82){const _0x25f559=_0x260ae,_0xa687ed=this[_0x25f559(0x20f)][_0x25f559(0x1d3)](_0x491e82);return this[_0x25f559(0x1de)]?this[_0x25f559(0x1de)][_0x25f559(0x22b)]>_0x491e82[_0x25f559(0x22b)]?_0xa687ed-0x1:_0xa687ed:_0xa687ed-0x1;}[_0x260ae(0x20e)](){const _0x5bce55=_0x260ae;if(this[_0x5bce55(0x20f)][_0x5bce55(0x226)]&&this[_0x5bce55(0x20f)][_0x5bce55(0x1d4)]){const _0x5c39d0={'id':_0x5bce55(0x1fd),'author':this[_0x5bce55(0x20f)][_0x5bce55(0x226)],'authoredAt':this[_0x5bce55(0x20f)][_0x5bce55(0x1d4)],'content':_0x2a43ee(this[_0x5bce55(0x1e5)],_0x5bce55(0x227)),'attributes':{}};this[_0x5bce55(0x1de)]=new this[(_0x5bce55(0x1d9))][(_0x5bce55(0x1f4))](this[_0x5bce55(0x1e5)],_0x5c39d0,{'maxCommentCharsWhenCollapsed':this[_0x5bce55(0x1d9)][_0x5bce55(0x1d5)],'formatDateTime':this[_0x5bce55(0x1d9)][_0x5bce55(0x1ed)],'editorConfig':this[_0x5bce55(0x1d9)][_0x5bce55(0x216)],'isSystemComment':!0x0}),this[_0x5bce55(0x1fb)][_0x5bce55(0x1cf)](this[_0x5bce55(0x1de)],this[_0x5bce55(0x20f)][_0x5bce55(0x1d3)](_0x5c39d0));}else this[_0x5bce55(0x1de)]&&(this[_0x5bce55(0x1fb)][_0x5bce55(0x20a)](this[_0x5bce55(0x1de)]),this[_0x5bce55(0x1de)][_0x5bce55(0x204)](),this[_0x5bce55(0x1de)]=null);this[_0x5bce55(0x223)]();}[_0x260ae(0x1df)](_0x21d3e7){const _0x2fa684=_0x260ae,_0x44f836=this[_0x2fa684(0x1fb)][_0x2fa684(0x20a)](_0x21d3e7['id']);this[_0x2fa684(0x202)](_0x44f836),_0x44f836[_0x2fa684(0x21c)]&&this[_0x2fa684(0x21a)](),_0x44f836[_0x2fa684(0x204)]();}[_0x260ae(0x21a)](){const _0x18bd59=_0x260ae;this[_0x18bd59(0x1f1)]=Array[_0x18bd59(0x1c9)](this[_0x18bd59(0x1fb)])[_0x18bd59(0x20d)](_0x5ad780=>_0x5ad780[_0x18bd59(0x21c)]);}[_0x260ae(0x1db)](){const _0x1be2db=_0x260ae,_0x11d800=function(_0x4ab9d6){const _0x1fac8a=_0x23d9,_0x4210b7=new _0x4e9465();for(const _0x14e7f8 of _0x4ab9d6)_0x4210b7[_0x1fac8a(0x1cf)](_0x14e7f8);return _0x4210b7;}(this[_0x1be2db(0x1fb)]),_0xdadb7a=this[_0x1be2db(0x1e6)][_0x1be2db(0x1fc)];for(let _0x122086=0x1;_0x122086<=_0xdadb7a;_0x122086++)_0x11d800[_0x1be2db(0x20a)](0x1);for(const _0x31ccca of _0x11d800)_0x31ccca[_0x1be2db(0x1f7)]();_0xdadb7a>0x0&&_0x11d800[_0x1be2db(0x1cf)](this[_0x1be2db(0x1e6)],0x1),ms(_0xf516a1(Array[_0x1be2db(0x1c9)](this[_0x1be2db(0x218)]),Array[_0x1be2db(0x1c9)](_0x11d800)),this[_0x1be2db(0x218)],_0x11d800);}[_0x260ae(0x1f0)](){const _0x3ee51a=_0x260ae;ms(_0xf516a1(Array[_0x3ee51a(0x1c9)](this[_0x3ee51a(0x218)]),Array[_0x3ee51a(0x1c9)](this[_0x3ee51a(0x1fb)])),this[_0x3ee51a(0x218)],this[_0x3ee51a(0x1fb)]);for(const _0x267306 of this[_0x3ee51a(0x218)])_0x267306[_0x3ee51a(0x20b)]();}[_0x260ae(0x1cc)](){const _0x5079b9=_0x260ae;this[_0x5079b9(0x1fb)][_0x5079b9(0x1fe)](_0x25eecf=>{const _0x3bbad9=_0x5079b9;this[_0x3bbad9(0x1e3)][_0x3bbad9(0x1cf)](_0x25eecf[_0x3bbad9(0x1d2)]),this[_0x3bbad9(0x22a)][_0x3bbad9(0x1f5)](_0x25eecf[_0x3bbad9(0x1d2)]);}),this[_0x5079b9(0x1fb)]['on'](_0x5079b9(0x1d0),(_0x45a9d6,_0x25e3ad)=>{const _0x314716=_0x5079b9;for(const _0x5c66d5 of _0x25e3ad[_0x314716(0x210)])this[_0x314716(0x1e3)][_0x314716(0x20a)](_0x5c66d5[_0x314716(0x1d2)]),this[_0x314716(0x22a)][_0x314716(0x202)](_0x5c66d5[_0x314716(0x1d2)]);for(const _0xffee42 of Array[_0x314716(0x1c9)](_0x25e3ad[_0x314716(0x217)])[_0x314716(0x1fa)]())this[_0x314716(0x1e3)][_0x314716(0x1cf)](_0xffee42[_0x314716(0x1d2)]),this[_0x314716(0x22a)][_0x314716(0x1f5)](_0xffee42[_0x314716(0x1d2)]);});}}function ms(_0x417197,_0x3329dc,_0x2f5e10){const _0x25d627=_0x260ae;let _0x2b7b8e=0x0;for(const _0x5ef6d0 of _0x417197)switch(_0x5ef6d0){case _0x25d627(0x1eb):_0x3329dc[_0x25d627(0x1cf)](_0x2f5e10[_0x25d627(0x21d)](_0x2b7b8e),_0x2b7b8e),_0x2b7b8e++;break;case _0x25d627(0x212):_0x3329dc[_0x25d627(0x20a)](_0x2b7b8e);break;case _0x25d627(0x1e1):_0x2b7b8e++;}}
|
|
23
|
+
const _0x4c2602=_0x47eb;(function(_0x221a92,_0x46f870){const _0x2fad13=_0x47eb,_0x220dda=_0x221a92();while(!![]){try{const _0xa77790=parseInt(_0x2fad13(0x1d1))/0x1+parseInt(_0x2fad13(0x1b0))/0x2*(-parseInt(_0x2fad13(0x193))/0x3)+-parseInt(_0x2fad13(0x1ba))/0x4+-parseInt(_0x2fad13(0x197))/0x5*(-parseInt(_0x2fad13(0x1dc))/0x6)+parseInt(_0x2fad13(0x1ab))/0x7*(parseInt(_0x2fad13(0x1bf))/0x8)+parseInt(_0x2fad13(0x1c3))/0x9*(parseInt(_0x2fad13(0x194))/0xa)+parseInt(_0x2fad13(0x1cd))/0xb*(-parseInt(_0x2fad13(0x1d5))/0xc);if(_0xa77790===_0x46f870)break;else _0x220dda['push'](_0x220dda['shift']());}catch(_0x2f33fd){_0x220dda['push'](_0x220dda['shift']());}}}(_0x492b,0x2dfe0));function _0x492b(){const _0x544a3d=['resolveCommentThread','commentViews','focusCycler','weight','_updateHasDirtyComment','editorReady','render','change:hasDirtyComment','length','get','delete','focus','refreshVisibleViews','Marked\x20as\x20resolved','1239BFLuFq','resolved','target','bindTemplate','resolvedAt','20MNGDiJ','change:isEditMode','_shouldCollapse','includes','listenTo','_collapsedCommentsView','set','element','change:isResolved','comments','1200300irwQcK','remove','forEach','_calculatePosition','added','8616sdwKfH','maxCommentsWhenCollapsed','focusTracker','editorDestroyed','2710341MuUqlr','isActive','Thread\x20comments','createCollection','maxCommentCharsWhenCollapsed','removeComment','focusLast','count','expand','keystrokes','1324928luVJNb','equal','arrowup','setTemplate','76214BEGTaC','CommentView','_findOptimalIndex','_rearrangeExpand','12TfzULm','_setupKeyboardNavigation','arrowdown','isEditMode','_config','some','editorConfig','264330TymlOS','removed','ck-hidden','bind','from','maxThreadTotalWeight','collapse','focusFirst','updateComment','formatDateTime','_rearrangeCollapse','reverse','commentUpdated','_handleRemoveCommentModel','destroy','ck-thread__comments','insert','_model','map','add','_handleInfoComment','viewUid','locale','change:isActive','resolvedCommentView','_handleNewCommentModel','942EwYGPh','10DluVMh','stopListening','visibleViews','5oSLWgc','hasDirtyComment','change','resolvedBy','delegate','authoredAt'];_0x492b=function(){return _0x544a3d;};return _0x492b();}function _0x47eb(_0x3dcfdb,_0x6b765e){const _0x492bd1=_0x492b();return _0x47eb=function(_0x47ebf0,_0x323665){_0x47ebf0=_0x47ebf0-0x17b;let _0x5bc17b=_0x492bd1[_0x47ebf0];return _0x5bc17b;},_0x47eb(_0x3dcfdb,_0x6b765e);}import{View as _0x333685,FocusCycler as _0x4b4460}from'ckeditor5/src/ui.js';import{diff as _0x3b3232,Collection as _0x323514,FocusTracker as _0x585bc6,KeystrokeHandler as _0x4a6a28}from'ckeditor5/src/utils.js';import{getTranslation as _0x4abc05}from'../../../utils/common-translations.js';import _0x40301d from'./collapsedcommentsview.js';export default class kt extends _0x333685{constructor(_0x49f6ba,_0x5c5710,_0x307e3f){const _0x4c772d=_0x47eb;super(_0x49f6ba);const _0x52ae75=this[_0x4c772d(0x1ae)];this[_0x4c772d(0x1b6)](_0x4c772d(0x198),!0x1),this[_0x4c772d(0x1b6)](_0x4c772d(0x1a5),_0x5c5710[_0x4c772d(0x1b9)][_0x4c772d(0x1a5)]),this[_0x4c772d(0x1b6)](_0x4c772d(0x1c4),!0x1),this[_0x4c772d(0x18a)]=_0x5c5710,this[_0x4c772d(0x1d9)]=_0x307e3f,this[_0x4c772d(0x19e)]=this[_0x4c772d(0x1c6)](),this[_0x4c772d(0x196)]=this[_0x4c772d(0x1c6)](),this[_0x4c772d(0x191)]=null,this[_0x4c772d(0x1c1)]=new _0x585bc6(),this[_0x4c772d(0x1cc)]=new _0x4a6a28(),this[_0x4c772d(0x19f)]=new _0x4b4460({'focusables':this[_0x4c772d(0x19e)],'focusTracker':this[_0x4c772d(0x1c1)],'keystrokeHandler':this[_0x4c772d(0x1cc)],'keystrokeHandlerOptions':{'filter':_0x517276=>this[_0x4c772d(0x19e)][_0x4c772d(0x18b)](_0x34e3b8=>_0x34e3b8[_0x4c772d(0x1b7)])[_0x4c772d(0x1b3)](_0x517276[_0x4c772d(0x1ad)])},'actions':{'focusPrevious':_0x4c772d(0x1cf),'focusNext':_0x4c772d(0x1d7)}}),this[_0x4c772d(0x1b5)]=new _0x40301d(_0x49f6ba),this[_0x4c772d(0x1b5)][_0x4c772d(0x17c)](_0x4c772d(0x1ca))['to'](this,_0x4c772d(0x1a5),_0xad0d4c=>_0xad0d4c-this[_0x4c772d(0x1d9)][_0x4c772d(0x1c0)]);for(const _0x55668f of _0x5c5710[_0x4c772d(0x1b9)])this[_0x4c772d(0x192)](_0x55668f);this[_0x4c772d(0x18d)](),this[_0x4c772d(0x1b4)](_0x5c5710[_0x4c772d(0x1b9)],_0x4c772d(0x18c),(_0x347337,_0x290af1)=>{const _0x390328=_0x4c772d,_0x32db96=this[_0x390328(0x1bd)](_0x290af1);this[_0x390328(0x1a5)]++,this[_0x390328(0x192)](_0x290af1,_0x32db96),this[_0x390328(0x1a9)]();}),this[_0x4c772d(0x1b4)](_0x5c5710[_0x4c772d(0x1b9)],_0x4c772d(0x1bb),(_0x236344,_0x4a7de7)=>{const _0x5254f3=_0x4c772d;this[_0x5254f3(0x1a5)]--,this[_0x5254f3(0x186)](_0x4a7de7),this[_0x5254f3(0x1a9)]();}),this[_0x4c772d(0x1b4)](_0x5c5710,_0x4c772d(0x185),()=>this[_0x4c772d(0x1a9)]()),this[_0x4c772d(0x1b4)](_0x5c5710,_0x4c772d(0x1b8),()=>this[_0x4c772d(0x18d)]()),this['on'](_0x4c772d(0x190),()=>this[_0x4c772d(0x1a9)]()),this['on'](_0x4c772d(0x1a4),()=>this[_0x4c772d(0x1a9)]()),this[_0x4c772d(0x1d0)]({'tag':'ul','attributes':{'class':[_0x4c772d(0x188),_0x52ae75['if'](_0x4c772d(0x1a5),_0x4c772d(0x17b),_0x48245b=>!_0x48245b)],'aria-label':_0x4abc05(_0x49f6ba,_0x4c772d(0x1c5))},'children':this[_0x4c772d(0x196)]});}get[_0x4c2602(0x1b2)](){const _0x5b482f=_0x4c2602;return this[_0x5b482f(0x18a)][_0x5b482f(0x1a0)]>this[_0x5b482f(0x1d9)][_0x5b482f(0x17e)]&&!this[_0x5b482f(0x1c4)]&&!this[_0x5b482f(0x198)];}[_0x4c2602(0x1a3)](){const _0x8fa5d5=_0x4c2602;super[_0x8fa5d5(0x1a3)](),this[_0x8fa5d5(0x1a9)](),this[_0x8fa5d5(0x1d6)]();}[_0x4c2602(0x1a8)](_0x4f5870){const _0x1dbe18=_0x4c2602;-0x1===_0x4f5870?this[_0x1dbe18(0x19f)][_0x1dbe18(0x1c9)]():this[_0x1dbe18(0x19f)][_0x1dbe18(0x180)]();}[_0x4c2602(0x187)](){const _0x23a4bc=_0x4c2602;this[_0x23a4bc(0x1b5)][_0x23a4bc(0x187)]();for(const _0x1556ce of this[_0x23a4bc(0x19e)])_0x1556ce[_0x23a4bc(0x187)]();super[_0x23a4bc(0x187)]();}[_0x4c2602(0x1a9)](){const _0x179db2=_0x4c2602;this[_0x179db2(0x1b2)]?this[_0x179db2(0x183)]():this[_0x179db2(0x1d4)]();}[_0x4c2602(0x192)](_0x6e4713,_0x4cb5cf){const _0x471938=_0x4c2602,_0xe646f4=new this[(_0x471938(0x1d9))][(_0x471938(0x1d2))](this[_0x471938(0x18f)],_0x6e4713,{'maxCommentCharsWhenCollapsed':this[_0x471938(0x1d9)][_0x471938(0x1c7)],'formatDateTime':this[_0x471938(0x1d9)][_0x471938(0x182)],'editorConfig':this[_0x471938(0x1d9)][_0x471938(0x1db)]});_0xe646f4[_0x471938(0x18e)]=_0x6e4713['id'],_0xe646f4[_0x471938(0x19b)](_0x471938(0x1c8))['to'](this),_0xe646f4[_0x471938(0x19b)](_0x471938(0x181))['to'](this),_0xe646f4[_0x471938(0x19b)](_0x471938(0x19d))['to'](this),_0xe646f4[_0x471938(0x19b)](_0x471938(0x1a2))['to'](this),_0xe646f4[_0x471938(0x19b)](_0x471938(0x1c2))['to'](this),this[_0x471938(0x1b4)](_0xe646f4,_0x471938(0x1b1),()=>this[_0x471938(0x1a1)]()),this[_0x471938(0x19e)][_0x471938(0x18c)](_0xe646f4,_0x4cb5cf);}[_0x4c2602(0x1bd)](_0x71c675){const _0x4600c8=_0x4c2602,_0x39b253=this[_0x4600c8(0x18a)][_0x4600c8(0x1d3)](_0x71c675);return this[_0x4600c8(0x191)]?this[_0x4600c8(0x191)][_0x4600c8(0x19c)]>_0x71c675[_0x4600c8(0x19c)]?_0x39b253-0x1:_0x39b253:_0x39b253-0x1;}[_0x4c2602(0x18d)](){const _0x5e863c=_0x4c2602;if(this[_0x5e863c(0x18a)][_0x5e863c(0x19a)]&&this[_0x5e863c(0x18a)][_0x5e863c(0x1af)]){const _0x49c82={'id':_0x5e863c(0x1ac),'author':this[_0x5e863c(0x18a)][_0x5e863c(0x19a)],'authoredAt':this[_0x5e863c(0x18a)][_0x5e863c(0x1af)],'content':_0x4abc05(this[_0x5e863c(0x18f)],_0x5e863c(0x1aa)),'attributes':{}};this[_0x5e863c(0x191)]=new this[(_0x5e863c(0x1d9))][(_0x5e863c(0x1d2))](this[_0x5e863c(0x18f)],_0x49c82,{'maxCommentCharsWhenCollapsed':this[_0x5e863c(0x1d9)][_0x5e863c(0x1c7)],'formatDateTime':this[_0x5e863c(0x1d9)][_0x5e863c(0x182)],'editorConfig':this[_0x5e863c(0x1d9)][_0x5e863c(0x1db)],'isSystemComment':!0x0}),this[_0x5e863c(0x19e)][_0x5e863c(0x18c)](this[_0x5e863c(0x191)],this[_0x5e863c(0x18a)][_0x5e863c(0x1d3)](_0x49c82));}else this[_0x5e863c(0x191)]&&(this[_0x5e863c(0x19e)][_0x5e863c(0x1bb)](this[_0x5e863c(0x191)]),this[_0x5e863c(0x191)][_0x5e863c(0x187)](),this[_0x5e863c(0x191)]=null);this[_0x5e863c(0x1a9)]();}[_0x4c2602(0x186)](_0x34dcbb){const _0x1357fe=_0x4c2602,_0x40e367=this[_0x1357fe(0x19e)][_0x1357fe(0x1bb)](_0x34dcbb['id']);this[_0x1357fe(0x195)](_0x40e367),_0x40e367[_0x1357fe(0x1d8)]&&this[_0x1357fe(0x1a1)](),_0x40e367[_0x1357fe(0x187)]();}[_0x4c2602(0x1a1)](){const _0x140532=_0x4c2602;this[_0x140532(0x198)]=Array[_0x140532(0x17d)](this[_0x140532(0x19e)])[_0x140532(0x1da)](_0x5e5965=>_0x5e5965[_0x140532(0x1d8)]);}[_0x4c2602(0x183)](){const _0x14412c=_0x4c2602,_0x2f7597=function(_0xebe458){const _0x2539fd=_0x47eb,_0x4d49b3=new _0x323514();for(const _0x1ea61c of _0xebe458)_0x4d49b3[_0x2539fd(0x18c)](_0x1ea61c);return _0x4d49b3;}(this[_0x14412c(0x19e)]),_0x56af2c=this[_0x14412c(0x1b5)][_0x14412c(0x1ca)];for(let _0x42b520=0x1;_0x42b520<=_0x56af2c;_0x42b520++)_0x2f7597[_0x14412c(0x1bb)](0x1);for(const _0x349a9f of _0x2f7597)_0x349a9f[_0x14412c(0x17f)]();_0x56af2c>0x0&&_0x2f7597[_0x14412c(0x18c)](this[_0x14412c(0x1b5)],0x1),ms(_0x3b3232(Array[_0x14412c(0x17d)](this[_0x14412c(0x196)]),Array[_0x14412c(0x17d)](_0x2f7597)),this[_0x14412c(0x196)],_0x2f7597);}[_0x4c2602(0x1d4)](){const _0x29c0c9=_0x4c2602;ms(_0x3b3232(Array[_0x29c0c9(0x17d)](this[_0x29c0c9(0x196)]),Array[_0x29c0c9(0x17d)](this[_0x29c0c9(0x19e)])),this[_0x29c0c9(0x196)],this[_0x29c0c9(0x19e)]);for(const _0x49d24d of this[_0x29c0c9(0x196)])_0x49d24d[_0x29c0c9(0x1cb)]();}[_0x4c2602(0x1d6)](){const _0x14c036=_0x4c2602;this[_0x14c036(0x19e)][_0x14c036(0x1bc)](_0xcf1f75=>{const _0x5bba60=_0x14c036;this[_0x5bba60(0x1c1)][_0x5bba60(0x18c)](_0xcf1f75[_0x5bba60(0x1b7)]),this[_0x5bba60(0x1cc)][_0x5bba60(0x1b4)](_0xcf1f75[_0x5bba60(0x1b7)]);}),this[_0x14c036(0x19e)]['on'](_0x14c036(0x199),(_0x41aa63,_0x23455d)=>{const _0x21b299=_0x14c036;for(const _0x4a4d64 of _0x23455d[_0x21b299(0x1dd)])this[_0x21b299(0x1c1)][_0x21b299(0x1bb)](_0x4a4d64[_0x21b299(0x1b7)]),this[_0x21b299(0x1cc)][_0x21b299(0x195)](_0x4a4d64[_0x21b299(0x1b7)]);for(const _0x33614e of Array[_0x21b299(0x17d)](_0x23455d[_0x21b299(0x1be)])[_0x21b299(0x184)]())this[_0x21b299(0x1c1)][_0x21b299(0x18c)](_0x33614e[_0x21b299(0x1b7)]),this[_0x21b299(0x1cc)][_0x21b299(0x1b4)](_0x33614e[_0x21b299(0x1b7)]);});}}function ms(_0x16b699,_0x3c436b,_0x24bfe0){const _0x3feafe=_0x4c2602;let _0x3dd18a=0x0;for(const _0x9e7421 of _0x16b699)switch(_0x9e7421){case _0x3feafe(0x189):_0x3c436b[_0x3feafe(0x18c)](_0x24bfe0[_0x3feafe(0x1a6)](_0x3dd18a),_0x3dd18a),_0x3dd18a++;break;case _0x3feafe(0x1a7):_0x3c436b[_0x3feafe(0x1bb)](_0x3dd18a);break;case _0x3feafe(0x1ce):_0x3dd18a++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39f167=_0x3c43;(function(_0x4b0656,_0x11b913){const _0x4dc346=_0x3c43,_0x23312b=_0x4b0656();while(!![]){try{const _0x5939a4=parseInt(_0x4dc346(0x9d))/0x1+-parseInt(_0x4dc346(0x9c))/0x2+-parseInt(_0x4dc346(0x91))/0x3*(-parseInt(_0x4dc346(0x90))/0x4)+-parseInt(_0x4dc346(0x8e))/0x5*(parseInt(_0x4dc346(0x96))/0x6)+-parseInt(_0x4dc346(0x9a))/0x7+-parseInt(_0x4dc346(0x9f))/0x8*(-parseInt(_0x4dc346(0x9b))/0x9)+parseInt(_0x4dc346(0x97))/0xa;if(_0x5939a4===_0x11b913)break;else _0x23312b['push'](_0x23312b['shift']());}catch(_0x4be355){_0x23312b['push'](_0x23312b['shift']());}}}(_0xefba,0x4eeb4));import{View as _0x33fb77}from'ckeditor5/src/ui.js';function _0xefba(){const _0x324fa8=['set','32088pIpVyf','contextValue','3145JRmgBB','bindTemplate','505748FVCnBf','3JBfvcq','ck-context__value','element','span','setTemplate','1188qhhPSk','2684900FNOCGe','focus','THREAD_CONTEXT_LABEL','2523661JeXzls','1323KmHiOZ','686830qnRfxN','167188fZQqOR'];_0xefba=function(){return _0x324fa8;};return _0xefba();}function _0x3c43(_0x2f2348,_0x1eef2c){const _0xefba26=_0xefba();return _0x3c43=function(_0x3c4391,_0x445665){_0x3c4391=_0x3c4391-0x8d;let _0x4136e0=_0xefba26[_0x3c4391];return _0x4136e0;},_0x3c43(_0x2f2348,_0x1eef2c);}import{getTranslation as _0x139f42}from'../../../utils/common-translations.js';export default class ls extends _0x33fb77{constructor(_0x3cfd0c){const _0x2baf61=_0x3c43;super(_0x3cfd0c);const _0x3bed00=this[_0x2baf61(0x8f)];this[_0x2baf61(0x9e)](_0x2baf61(0x8d),''),this[_0x2baf61(0x95)]({'tag':_0x2baf61(0x94),'attributes':{'class':['ck',_0x2baf61(0x92)],'aria-label':_0x3bed00['to'](_0x2baf61(0x8d),_0x57468b=>_0x139f42(_0x3cfd0c,_0x2baf61(0x99),_0x57468b)),'tabindex':-0x1},'children':[{'text':_0x3bed00['to'](_0x2baf61(0x8d))}]});}[_0x39f167(0x98)](){const _0x55882f=_0x39f167;this[_0x55882f(0x93)][_0x55882f(0x98)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x198df5=_0x337c;function _0x287b(){const _0x46436e=['contextValue','remove','execute','_attachContextActions','locale','scrollWidth','shift+tab','...','3695960iurHXA','render','isEnabled','isVisible','fire','focusCycler','offsetWidth','_createContextView','substring','637729oALGrT','ck-context--quotes','1601335UrTtVe','1839078puUZhB','focusTracker','ck-annotation__actions','tooltip','1276302IGlhhk','bindTemplate','focusFirst','lastIndexOf','element','ck-context-wrapper','_createReopenButton','classList','mouseenter','ck-thread__header','length','reopenCommentThread','.ck-context','contextView','keystrokes','icon','isResolvable','mouseleave','_trimContextValue','hasContext','Reopen','div','createCollection','setTemplate','ck-context','_model','overlay','tab','listenTo','bind','reopenButtonView','.ck-context__value','5303277WtjCyl','context','focusables','14sbgsJz','isReadOnly','add','value','Comment\x20was\x20made\x20on\x20an\x20element','4DxjzfK','940780cqydsv','querySelector','isResolved','_setupKeyboardNavigation','label','focus'];_0x287b=function(){return _0x46436e;};return _0x287b();}(function(_0xc8e731,_0x3f2808){const _0x4c1b2c=_0x337c,_0xa15b7f=_0xc8e731();while(!![]){try{const _0x287c99=-parseInt(_0x4c1b2c(0x185))/0x1+parseInt(_0x4c1b2c(0x16e))/0x2+parseInt(_0x4c1b2c(0x188))/0x3+-parseInt(_0x4c1b2c(0x16d))/0x4*(-parseInt(_0x4c1b2c(0x187))/0x5)+-parseInt(_0x4c1b2c(0x18c))/0x6*(parseInt(_0x4c1b2c(0x168))/0x7)+-parseInt(_0x4c1b2c(0x17c))/0x8+parseInt(_0x4c1b2c(0x165))/0x9;if(_0x287c99===_0x3f2808)break;else _0xa15b7f['push'](_0xa15b7f['shift']());}catch(_0x121acc){_0xa15b7f['push'](_0xa15b7f['shift']());}}}(_0x287b,0x72342));import{View as _0x291b0f,ButtonView as _0x19cce1,FocusCycler as _0x40181d}from'ckeditor5/src/ui.js';function _0x337c(_0x235d1b,_0x46cfdf){const _0x287b5e=_0x287b();return _0x337c=function(_0x337cd8,_0x2e819e){_0x337cd8=_0x337cd8-0x158;let _0x2092f2=_0x287b5e[_0x337cd8];return _0x2092f2;},_0x337c(_0x235d1b,_0x46cfdf);}import{FocusTracker as _0x2aca5f,KeystrokeHandler as _0x5d74a9}from'ckeditor5/src/utils.js';import{getTranslation as _0x30f651}from'../../../utils/common-translations.js';import _0x161b98 from'../../../../theme/icons/undo.svg';import _0x5739b0 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x291b0f{constructor(_0x80edbe,_0x34027b){const _0x16c6f2=_0x337c;super(_0x80edbe);const _0x2ccb2e=this[_0x16c6f2(0x18d)];this[_0x16c6f2(0x15e)]=_0x34027b,this[_0x16c6f2(0x163)]=this[_0x16c6f2(0x192)](),this[_0x16c6f2(0x199)]=this[_0x16c6f2(0x183)](),this[_0x16c6f2(0x167)]=this[_0x16c6f2(0x15b)]([this[_0x16c6f2(0x199)],this[_0x16c6f2(0x163)]]),this[_0x16c6f2(0x189)]=new _0x2aca5f(),this[_0x16c6f2(0x19a)]=new _0x5d74a9(),this[_0x16c6f2(0x181)]=new _0x40181d({'focusables':this[_0x16c6f2(0x167)],'focusTracker':this[_0x16c6f2(0x189)],'keystrokeHandler':this[_0x16c6f2(0x19a)],'actions':{'focusPrevious':_0x16c6f2(0x17a),'focusNext':_0x16c6f2(0x160)}}),this[_0x16c6f2(0x162)](_0x16c6f2(0x158))['to'](this[_0x16c6f2(0x15e)],_0x16c6f2(0x166),_0x3fd696=>!!_0x3fd696),this[_0x16c6f2(0x162)](_0x16c6f2(0x174))['to'](this[_0x16c6f2(0x15e)],_0x16c6f2(0x166),_0x366550=>_0x366550&&_0x366550[_0x16c6f2(0x16b)]?this[_0x16c6f2(0x19e)](_0x366550[_0x16c6f2(0x16b)]):_0x30f651(this[_0x16c6f2(0x178)],_0x16c6f2(0x16c))),this[_0x16c6f2(0x15c)]({'tag':_0x16c6f2(0x15a),'attributes':{'class':[_0x16c6f2(0x195)]},'children':[{'tag':_0x16c6f2(0x15a),'attributes':{'class':[_0x16c6f2(0x191)]},'children':[{'tag':_0x16c6f2(0x15a),'attributes':{'class':[_0x16c6f2(0x15d),_0x2ccb2e['if'](_0x16c6f2(0x158),_0x16c6f2(0x186))]},'children':[this[_0x16c6f2(0x199)]]}]},{'tag':_0x16c6f2(0x15a),'attributes':{'class':[_0x16c6f2(0x18a)]},'children':[this[_0x16c6f2(0x163)]]}]});}[_0x198df5(0x17d)](){const _0x2d0d29=_0x198df5;super[_0x2d0d29(0x17d)](),this[_0x2d0d29(0x177)](),this[_0x2d0d29(0x171)]();}[_0x198df5(0x173)](){const _0x45e700=_0x198df5;this[_0x45e700(0x181)][_0x45e700(0x18e)]();}[_0x198df5(0x192)](){const _0x2e08ef=_0x198df5,_0x1edf90=new _0x19cce1(this[_0x2e08ef(0x178)]);return _0x1edf90[_0x2e08ef(0x172)]=_0x30f651(this[_0x2e08ef(0x178)],_0x2e08ef(0x159)),_0x1edf90[_0x2e08ef(0x18b)]=_0x30f651(this[_0x2e08ef(0x178)],_0x2e08ef(0x159)),_0x1edf90[_0x2e08ef(0x19b)]=_0x161b98,_0x1edf90[_0x2e08ef(0x162)](_0x2e08ef(0x17e))['to'](this[_0x2e08ef(0x15e)],_0x2e08ef(0x169),_0x4af099=>!_0x4af099),_0x1edf90[_0x2e08ef(0x162)](_0x2e08ef(0x17f))['to'](this[_0x2e08ef(0x15e)],_0x2e08ef(0x19c),this[_0x2e08ef(0x15e)],_0x2e08ef(0x170),(_0x1077f8,_0x23e15c)=>_0x1077f8&&_0x23e15c),_0x1edf90['on'](_0x2e08ef(0x176),()=>{const _0x43ed2d=_0x2e08ef;this[_0x43ed2d(0x180)](_0x43ed2d(0x197),this[_0x43ed2d(0x15e)]['id']);}),_0x1edf90;}[_0x198df5(0x19e)](_0x5c9a0b){const _0x341365=_0x198df5;if(_0x5c9a0b[_0x341365(0x196)]<0x96)return _0x5c9a0b;const _0x42c8c2=_0x5c9a0b[_0x341365(0x18f)]('\x20',0x93);return _0x5c9a0b[_0x341365(0x184)](0x0,_0x42c8c2>-0x1?_0x42c8c2:0x93)+_0x341365(0x17b);}[_0x198df5(0x177)](){const _0xb3c494=_0x198df5,_0x4f0590=this[_0xb3c494(0x190)][_0xb3c494(0x16f)](_0xb3c494(0x198)),_0x4eb428=_0x4f0590[_0xb3c494(0x16f)](_0xb3c494(0x164));this[_0xb3c494(0x161)](_0x4f0590,_0xb3c494(0x194),()=>{const _0x562904=_0xb3c494;_0x4eb428[_0x562904(0x182)]<_0x4eb428[_0x562904(0x179)]&&_0x4f0590[_0x562904(0x193)][_0x562904(0x16a)](_0x562904(0x15f));}),this[_0xb3c494(0x161)](_0x4f0590,_0xb3c494(0x19d),()=>{const _0x286ef0=_0xb3c494;_0x4f0590[_0x286ef0(0x193)][_0x286ef0(0x175)](_0x286ef0(0x15f));});}[_0x198df5(0x171)](){const _0x47ce38=_0x198df5;this[_0x47ce38(0x19a)][_0x47ce38(0x161)](this[_0x47ce38(0x190)]);for(const _0x29ae25 of this[_0x47ce38(0x167)])this[_0x47ce38(0x189)][_0x47ce38(0x16a)](_0x29ae25[_0x47ce38(0x190)]),this[_0x47ce38(0x19a)][_0x47ce38(0x161)](_0x29ae25[_0x47ce38(0x190)]);}[_0x198df5(0x183)](){const _0x4bc093=_0x198df5,_0x581afb=new _0x5739b0(this[_0x4bc093(0x178)]);return _0x581afb[_0x4bc093(0x162)](_0x4bc093(0x174))['to'](this),_0x581afb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5d4bc9=_0x15aa;function _0x16ae(){var _0x237e43=['delegate','userView','446556qAblYN','extendTemplate','destroy','6KmiCeB','showInput','set','editorDestroyed','div','showButtons','editor','createEditor','16TVINlz','then','value','ck-comment__input-container--active','setTemplate','change:showInput','1246900BgvnFU','420494ZbsnLn','ck-comment__input-container','294987YSLRBi','681561KaXzNQ','focusTracker','bindTemplate','ck-thread__input','266223gNzSbB','focus','ck-thread__user','focusCycler','bind','commentInputView','1DXopwX','5080620DXZeNn','isFocused','editorReady'];_0x16ae=function(){return _0x237e43;};return _0x16ae();}(function(_0x2bb35c,_0xb8d012){var _0x4821ab=_0x15aa,_0x329508=_0x2bb35c();while(!![]){try{var _0x12e23a=parseInt(_0x4821ab(0x128))/0x1*(parseInt(_0x4821ab(0x11b))/0x2)+parseInt(_0x4821ab(0x122))/0x3+parseInt(_0x4821ab(0x109))/0x4+parseInt(_0x4821ab(0x11a))/0x5+-parseInt(_0x4821ab(0x10c))/0x6*(parseInt(_0x4821ab(0x11d))/0x7)+parseInt(_0x4821ab(0x114))/0x8*(parseInt(_0x4821ab(0x11e))/0x9)+-parseInt(_0x4821ab(0x129))/0xa;if(_0x12e23a===_0xb8d012)break;else _0x329508['push'](_0x329508['shift']());}catch(_0x3c502c){_0x329508['push'](_0x329508['shift']());}}}(_0x16ae,0x3fc8e));import{View as _0x37eb34}from'ckeditor5/src/ui.js';function _0x15aa(_0x18cba1,_0x171307){var _0x16aea4=_0x16ae();return _0x15aa=function(_0x15aa35,_0x14378d){_0x15aa35=_0x15aa35-0x108;var _0x48770e=_0x16aea4[_0x15aa35];return _0x48770e;},_0x15aa(_0x18cba1,_0x171307);}import _0x3c6b23 from'./commentinputview.js';import{UserView as _0xc6c893}from'ckeditor5-collaboration/src/collaboration-core.js';export default class xt extends _0x37eb34{constructor(_0x18992f,_0x5addf1,_0xdd47b3){var _0x42f60d=_0x15aa;super(_0x18992f),this[_0x42f60d(0x127)]=new _0x3c6b23(_0x18992f,_0xdd47b3),this[_0x42f60d(0x125)]=this[_0x42f60d(0x127)][_0x42f60d(0x125)],this[_0x42f60d(0x127)][_0x42f60d(0x126)](_0x42f60d(0x111))['to'](this[_0x42f60d(0x127)][_0x42f60d(0x11f)],_0x42f60d(0x12a),this[_0x42f60d(0x127)],_0x42f60d(0x116),(_0x9fcab4,_0x2a5ff4)=>_0x9fcab4||!!_0x2a5ff4),this[_0x42f60d(0x10e)](_0x42f60d(0x10d),!0x1),this['on'](_0x42f60d(0x119),()=>{var _0x5801ad=_0x42f60d;this[_0x5801ad(0x10d)]&&!this[_0x5801ad(0x127)][_0x5801ad(0x112)]&&this[_0x5801ad(0x127)][_0x5801ad(0x113)]();}),this[_0x42f60d(0x127)][_0x42f60d(0x12c)](_0x42f60d(0x12b))['to'](this),this[_0x42f60d(0x127)][_0x42f60d(0x12c)](_0x42f60d(0x10f))['to'](this),this[_0x42f60d(0x108)]=new _0xc6c893(_0x18992f,_0x5addf1),this[_0x42f60d(0x108)][_0x42f60d(0x10a)]({'attributes':{'class':_0x42f60d(0x124),'aria-hidden':!0x0}}),this[_0x42f60d(0x127)][_0x42f60d(0x10a)]({'attributes':{'class':_0x42f60d(0x121)}}),this[_0x42f60d(0x118)]({'tag':_0x42f60d(0x110),'attributes':{'class':[_0x42f60d(0x11c),this[_0x42f60d(0x120)]['if'](_0x42f60d(0x10d),_0x42f60d(0x117))]},'children':[this[_0x42f60d(0x108)],this[_0x42f60d(0x127)]]});}[_0x5d4bc9(0x10b)](){var _0x5d4c27=_0x5d4bc9;return this[_0x5d4c27(0x127)][_0x5d4c27(0x10b)]()[_0x5d4c27(0x115)](()=>super[_0x5d4c27(0x10b)]());}[_0x5d4bc9(0x123)](_0x331064){var _0x36c95a=_0x5d4bc9;this[_0x36c95a(0x127)][_0x36c95a(0x123)](_0x331064);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x5b80(){const _0x263732=['ck-thread__container','length','isEnabled','isUnlinked','change:archivedAt','Resolve','then','resolveButton','ariaDescriptionView','5403875NEZgjA','ck-thread--','27907044jxmaMX','isConfirm','element','get','removeConfirm','label','.ck-thread__container','ck-comment--resolve','497WTffXe','9093176agYanV','has','high','commentThreadHeaderView','icon','872hAxfSF','commentThreadChildren','_model','1YPWojJ','removeButton','remove','stop','tooltip','9XgLxmr','set','isActive','419024NmtmRd','_updateArchivedThreadHeader','check','isReadOnly','add','15459jrVImH','placeholder','isResolved','actionIndicator','ck-thread','focus','change:isReadOnly','ck-rounded-corners','removeCommentThread','102882wDJxTz','6064450ZUzIXB','commentViews','getTemplate','render','createCollection','_cancelAllConfirms','_createResolveButton','querySelector','setTemplate','_boundFirstCommentView','archivedAt','unbind','Write\x20a\x20comment...','resolveCommentThread','_bindFirstCommentView','listenTo','containerElement','ck-thread--unlinked','isResolvable','locale','ariaLabel','ck-reset_all-excluded','actionBar','ck-thread--active','commentsListView','change:isActive','fire','isSystemComment','isVisible','execute','extendTemplate','showConfirm','div','bind','commentThreadInputView','bindTemplate','listitem','11PDOpPc','Delete\x20comment\x20thread?','focusables','ck-thread--remove-confirmation','cancelConfirm'];_0x5b80=function(){return _0x263732;};return _0x5b80();}const _0xb68f15=_0x44e1;(function(_0x47c1f0,_0x186878){const _0x55bef2=_0x44e1,_0x56d0fa=_0x47c1f0();while(!![]){try{const _0x345fef=parseInt(_0x55bef2(0x19f))/0x1*(parseInt(_0x55bef2(0x1a7))/0x2)+-parseInt(_0x55bef2(0x1ac))/0x3*(-parseInt(_0x55bef2(0x19c))/0x4)+parseInt(_0x55bef2(0x18c))/0x5+parseInt(_0x55bef2(0x1b5))/0x6*(-parseInt(_0x55bef2(0x196))/0x7)+-parseInt(_0x55bef2(0x197))/0x8*(-parseInt(_0x55bef2(0x1a4))/0x9)+-parseInt(_0x55bef2(0x1b6))/0xa*(-parseInt(_0x55bef2(0x17e))/0xb)+-parseInt(_0x55bef2(0x18e))/0xc;if(_0x345fef===_0x186878)break;else _0x56d0fa['push'](_0x56d0fa['shift']());}catch(_0x2acef0){_0x56d0fa['push'](_0x56d0fa['shift']());}}}(_0x5b80,0x95d4d));import{ConfirmMixin as _0x5e06da,LateFocusButtonView as _0x5cecff}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x864e94}from'ckeditor5/src/core.js';function _0x44e1(_0x446b99,_0x41b1f4){const _0x5b8054=_0x5b80();return _0x44e1=function(_0x44e158,_0x31612d){_0x44e158=_0x44e158-0x163;let _0x3a179e=_0x5b8054[_0x44e158];return _0x3a179e;},_0x44e1(_0x446b99,_0x41b1f4);}import _0x38bb6d from'./basecommentthreadview.js';import{getTranslation as _0x47b897}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5e06da(_0x38bb6d){constructor(_0x4ae251,_0x17d9cc,_0x27ebe3,_0x4c879a){const _0x4cdd77=_0x44e1;super(_0x4ae251,_0x17d9cc,_0x27ebe3,_0x4c879a),this[_0x4cdd77(0x19d)]=this[_0x4cdd77(0x1ba)]([this[_0x4cdd77(0x171)],this[_0x4cdd77(0x17b)],this[_0x4cdd77(0x18b)]]),this[_0x4cdd77(0x1a5)](_0x4cdd77(0x1af),null),this[_0x4cdd77(0x169)]=null,this[_0x4cdd77(0x1bf)]=null,this[_0x4cdd77(0x16c)]=_0x4ae251,this[_0x4cdd77(0x18a)]=this[_0x4cdd77(0x1bc)](),this[_0x4cdd77(0x1be)](this[_0x4cdd77(0x1b8)]()),this['on'](_0x4cdd77(0x172),(_0x3774dd,_0x59baf3,_0x106aa0)=>{const _0x2f52b7=_0x4cdd77;_0x106aa0||this[_0x2f52b7(0x1bb)]();}),this[_0x4cdd77(0x168)](this[_0x4cdd77(0x19e)],_0x4cdd77(0x1b2),(_0x4827d6,_0xac096,_0x5b8a6c)=>{const _0x5caa64=_0x4cdd77;_0x5b8a6c&&this[_0x5caa64(0x1bb)]();}),this[_0x4cdd77(0x184)]>0x0&&this[_0x4cdd77(0x167)](),this[_0x4cdd77(0x168)](this[_0x4cdd77(0x171)][_0x4cdd77(0x1b7)],_0x4cdd77(0x1ab),()=>{const _0x246fb5=_0x4cdd77;this[_0x246fb5(0x167)]();});}[_0xb68f15(0x1b8)](){const _0x251789=_0xb68f15,_0x3de036=this[_0x251789(0x17c)];return{'tag':_0x251789(0x179),'attributes':{'class':['ck',_0x251789(0x1b0),_0x251789(0x16e),_0x251789(0x1b3),_0x3de036['if'](_0x251789(0x1a6),_0x251789(0x170)),_0x3de036['if'](_0x251789(0x186),_0x251789(0x16a)),_0x3de036['if'](_0x251789(0x18f),_0x251789(0x181)),_0x3de036['to'](_0x251789(0x1af),_0x4e7802=>_0x4e7802?_0x251789(0x18d)+_0x4e7802:'')],'data-thread-id':this[_0x251789(0x19e)]['id'],'tabindex':0x0,'role':_0x251789(0x17d),'aria-label':_0x3de036['to'](_0x251789(0x16d)),'aria-describedby':this[_0x251789(0x18b)]['id']},'children':[{'tag':_0x251789(0x179),'attributes':{'class':_0x251789(0x183)},'children':this[_0x251789(0x19d)]}]};}[_0xb68f15(0x1b9)](){const _0x226b64=_0xb68f15;super[_0x226b64(0x1b9)](),this[_0x226b64(0x169)]=this[_0x226b64(0x190)][_0x226b64(0x1bd)](_0x226b64(0x194)),this[_0x226b64(0x19e)]['on'](_0x226b64(0x187),()=>{const _0x29356f=_0x226b64;this[_0x29356f(0x1a8)]();}),this[_0x226b64(0x1a8)]();}[_0xb68f15(0x1bb)](){const _0x498cca=_0xb68f15;this[_0x498cca(0x182)]();for(const _0x2bae24 of this[_0x498cca(0x171)][_0x498cca(0x1b7)])_0x2bae24[_0x498cca(0x182)]();}[_0xb68f15(0x167)](){const _0x125d87=_0xb68f15,{locale:_0x3c6174}=this,_0x4f8404=this[_0x125d87(0x171)][_0x125d87(0x1b7)][_0x125d87(0x191)](0x0);_0x4f8404===this[_0x125d87(0x1bf)]||_0x4f8404[_0x125d87(0x174)]||(this[_0x125d87(0x1bf)]=_0x4f8404,this[_0x125d87(0x164)](_0x125d87(0x1af)),this[_0x125d87(0x17a)](_0x125d87(0x1af))['to'](_0x4f8404,_0x125d87(0x1af),_0x19cf7b=>_0x125d87(0x1a1)===_0x19cf7b?_0x125d87(0x1a1):null),_0x4f8404[_0x125d87(0x1ad)]=_0x47b897(_0x3c6174,_0x125d87(0x165)),_0x4f8404[_0x125d87(0x1a0)]['on'](_0x125d87(0x176),_0x7d8ead=>{const _0x1961c4=_0x125d87;_0x7d8ead[_0x1961c4(0x1a2)](),this[_0x1961c4(0x178)](_0x47b897(_0x3c6174,_0x1961c4(0x17f)),this[_0x1961c4(0x169)])[_0x1961c4(0x189)](()=>{const _0x3028f4=_0x1961c4;this[_0x3028f4(0x173)](_0x3028f4(0x1b4));});},{'priority':_0x125d87(0x199)}),this['on'](_0x125d87(0x192),()=>{const _0xe7b62f=_0x125d87;_0x4f8404[_0xe7b62f(0x1b1)]();}),_0x4f8404[_0x125d87(0x16f)][_0x125d87(0x1ab)](this[_0x125d87(0x18a)],0x0),_0x4f8404[_0x125d87(0x180)][_0x125d87(0x1ab)](this[_0x125d87(0x18a)],0x0));}[_0xb68f15(0x1bc)](){const _0x191e4b=_0xb68f15,_0x8411ae=new _0x5cecff(this[_0x191e4b(0x16c)]);return _0x8411ae[_0x191e4b(0x193)]=_0x47b897(this[_0x191e4b(0x16c)],_0x191e4b(0x188)),_0x8411ae[_0x191e4b(0x1a3)]=_0x47b897(this[_0x191e4b(0x16c)],_0x191e4b(0x188)),_0x8411ae[_0x191e4b(0x19b)]=_0x864e94[_0x191e4b(0x1a9)],_0x8411ae[_0x191e4b(0x177)]({'attributes':{'class':_0x191e4b(0x195)}}),_0x8411ae[_0x191e4b(0x17a)](_0x191e4b(0x185))['to'](this[_0x191e4b(0x19e)],_0x191e4b(0x1aa),_0x2e3a6a=>!_0x2e3a6a),_0x8411ae[_0x191e4b(0x17a)](_0x191e4b(0x175))['to'](this[_0x191e4b(0x19e)],_0x191e4b(0x16b),this[_0x191e4b(0x19e)],_0x191e4b(0x1ae),(_0x16a65e,_0x2a6290)=>_0x16a65e&&!_0x2a6290),_0x8411ae['on'](_0x191e4b(0x176),()=>{const _0xcf2d2e=_0x191e4b;this[_0xcf2d2e(0x173)](_0xcf2d2e(0x166),this[_0xcf2d2e(0x19e)]['id']);}),_0x8411ae;}[_0xb68f15(0x1a8)](){const _0x52f08f=_0xb68f15;this[_0x52f08f(0x19e)][_0x52f08f(0x163)]?this[_0x52f08f(0x19d)][_0x52f08f(0x198)](this[_0x52f08f(0x19a)])||(this[_0x52f08f(0x19d)][_0x52f08f(0x1ab)](this[_0x52f08f(0x19a)],0x0),this[_0x52f08f(0x180)][_0x52f08f(0x1ab)](this[_0x52f08f(0x19a)],0x0)):this[_0x52f08f(0x19d)][_0x52f08f(0x198)](this[_0x52f08f(0x19a)])&&(this[_0x52f08f(0x19d)][_0x52f08f(0x1a1)](this[_0x52f08f(0x19a)]),this[_0x52f08f(0x180)][_0x52f08f(0x1a1)](this[_0x52f08f(0x19a)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2b7128=_0x5b05;(function(_0x2fdd4a,_0x50155f){const _0x25f912=_0x5b05,_0xa2edab=_0x2fdd4a();while(!![]){try{const _0x5864ec=-parseInt(_0x25f912(0xa7))/0x1*(parseInt(_0x25f912(0x8a))/0x2)+parseInt(_0x25f912(0xd5))/0x3*(parseInt(_0x25f912(0x98))/0x4)+-parseInt(_0x25f912(0xd9))/0x5+parseInt(_0x25f912(0x95))/0x6*(parseInt(_0x25f912(0xcb))/0x7)+parseInt(_0x25f912(0xaa))/0x8*(parseInt(_0x25f912(0xac))/0x9)+-parseInt(_0x25f912(0xbc))/0xa+parseInt(_0x25f912(0xbf))/0xb;if(_0x5864ec===_0x50155f)break;else _0xa2edab['push'](_0xa2edab['shift']());}catch(_0x38073c){_0xa2edab['push'](_0xa2edab['shift']());}}}(_0x3975,0x9382a));import{ButtonView as _0x302c7a,createDropdown as _0x23e561,ListView as _0x203e4d,ListItemView as _0xf82c50,focusChildOnDropdownOpen as _0x33c8eb}from'ckeditor5/src/ui.js';import{icons as _0x390d70}from'ckeditor5/src/core.js';function _0x5b05(_0x25a648,_0x179bdf){const _0x397596=_0x3975();return _0x5b05=function(_0x5b0510,_0x492cf6){_0x5b0510=_0x5b0510-0x82;let _0x2fcbc7=_0x397596[_0x5b0510];return _0x2fcbc7;},_0x5b05(_0x25a648,_0x179bdf);}import{UserView as _0x359111,ConfirmMixin as _0x38ede0,LateFocusDropdownButtonView as _0x3c1bc7}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3975(){const _0x52d75c=['_config','name','Delete\x20comment?','cancelConfirm','ck-comment__main','ck-comment--edit','2373754NSeoEg','actionIndicator','execute','dropdown','label','add','length','ck-comment__info-time','ck-annotation__info','isReadOnly','ck-annotation__actions','32082WmKIZr','visibleView','ck-comment--remove-confirmation','4UiwCJE','toMany','group','Remove','bindTemplate','getUserViewNotificationText','ck-annotation__user','remove','ck-comment__info-name','authoredAt','ariaLabel','ck-annotation__actions--hidden','fire','formatDateTime','find','1VzEVNE','getTemplate','removeButton','8239904NVLaMR','ck-hidden','9EXQDEp','ariaDescriptionView','panelView','ck-annotation__content-wrapper','getExternalCommentNote','ck-comment__user','extendTemplate','withText','span','ck-comment__actions--hidden','pencil','ck-comment--','createCollection','isVisible','isExternal','_attachActions','1564840KcOaUC','unbind','panelPosition','5705370tIjCKA','element','author','icon','Reply...','ck-comment','resolvedAt','ck-comment__wrapper','setTemplate','actionBar','some','removeComment','21ftuosA','switchToEditMode','Show\x20more\x20items','blur','edit','ck-comment--remove','_model','isEditable','then','_createDropdown','1568382pcLBwB','focusables','locale','ck-comment__actions','699650dBMYVz','listitem','set','ck-comment--info','ck-comment__external','placeholder','from','isEditMode','_createEditButton','isSystemComment','push','isRemovable','_createCommentInputView','Edit','children','render','ck-annotation__main','isConfirm','mouseleave','listenTo','isEnabled','ck-comment__info','ck-annotation__info-time','addMany','_createRemoveButton','buttonView','userView','change:isRemovable','threeVerticalDots','div','ck-annotation__info-name','showConfirm','items','editButton','focus','time','ck-annotation','bind','mouseenter'];_0x3975=function(){return _0x52d75c;};return _0x3975();}import _0x5e5562 from'./basecommentview.js';import _0x23d1ee from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x3db96e}from'../../../utils/common-translations.js';export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x38ede0(_0x5e5562){constructor(_0x3bd881,_0x5ac683,_0x481636){const _0x5a647c=_0x5b05;super(_0x3bd881,_0x5ac683,_0x481636),this[_0x5a647c(0xdb)](_0x5a647c(0x8b),null),this[_0x5a647c(0xdb)](_0x5a647c(0xde),_0x3db96e(_0x3bd881,_0x5a647c(0xc3))),this[_0x5a647c(0x82)](_0x5a647c(0xa1))['to'](_0x5ac683),this[_0x5a647c(0x82)](_0x5a647c(0xc5))['to'](_0x5ac683),this[_0x5a647c(0xc8)]=this[_0x5a647c(0xb8)](),this[_0x5a647c(0xe2)]||(this[_0x5a647c(0xfa)]=this[_0x5a647c(0xe1)](),this[_0x5a647c(0xa9)]=this[_0x5a647c(0xf1)](),this[_0x5a647c(0xf9)]=this[_0x5a647c(0xb8)](),this[_0x5a647c(0xf9)][_0x5a647c(0xf0)]([this[_0x5a647c(0xfa)],this[_0x5a647c(0xa9)]]),this[_0x5a647c(0x8d)]=this[_0x5a647c(0xd4)](),this[_0x5a647c(0xc8)][_0x5a647c(0x8f)](this[_0x5a647c(0x8d)]),this[_0x5a647c(0xd6)][_0x5a647c(0x8f)](this[_0x5a647c(0x8d)])),this[_0x5a647c(0xf3)]=new _0x359111(_0x3bd881,_0x5ac683[_0x5a647c(0xc1)],this[_0x5a647c(0x9d)]()),this[_0x5a647c(0xf3)][_0x5a647c(0xb2)]({'attributes':{'class':[_0x5a647c(0xb1),_0x5a647c(0x9e)],'aria-hidden':!0x0}}),this[_0x5a647c(0xec)](_0x5ac683,_0x5a647c(0xf4),()=>this[_0x5a647c(0x87)]()),this[_0x5a647c(0xc7)](this[_0x5a647c(0xa8)]());}[_0x2b7128(0xa8)](){const _0x450da3=_0x2b7128,_0x3890b2=this[_0x450da3(0x9c)],_0x24a383=[{'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0xee),_0x450da3(0x92)]},'children':[{'tag':_0x450da3(0xb4),'children':[{'text':this[_0x450da3(0xf3)][_0x450da3(0x85)]}],'attributes':{'class':[_0x450da3(0xa0),_0x450da3(0xf7)]}},{'tag':_0x450da3(0xfc),'attributes':{'datetime':_0x3890b2['to'](_0x450da3(0xa1)),'class':[_0x450da3(0x91),_0x450da3(0xef)]},'children':[{'text':_0x3890b2['to'](_0x450da3(0xa1),_0x508635=>this[_0x450da3(0x84)][_0x450da3(0xa5)](_0x508635))}]}]},{'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0xd8),_0x450da3(0x94),_0x3890b2['if'](_0x450da3(0xe0),_0x450da3(0xb5)),_0x3890b2['if'](_0x450da3(0xe0),_0x450da3(0xa3))]},'children':this[_0x450da3(0xc8)]},{'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0xaf)]},'children':this[_0x450da3(0x96)]},this[_0x450da3(0xad)]];return this[_0x450da3(0xd1)][_0x450da3(0xba)]&&_0x24a383[_0x450da3(0xe3)]({'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0xdd)]},'children':[{'text':this[_0x450da3(0xb0)]()}]}),{'tag':'li','attributes':{'class':[_0x450da3(0xc6),_0x3890b2['if'](_0x450da3(0xea),_0x450da3(0x97))],'tabindex':-0x1,'aria-label':_0x3890b2['to'](_0x450da3(0xa2)),'aria-describedby':this[_0x450da3(0xad)]['id'],'role':_0x450da3(0xda)},'children':[{'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0xc4),_0x450da3(0xfd),_0x3890b2['if'](_0x450da3(0xe0),_0x450da3(0x89)),_0x3890b2['if'](_0x450da3(0xe2),_0x450da3(0xdc)),_0x3890b2['to'](_0x450da3(0x8b),_0x2ca8fa=>_0x2ca8fa?_0x450da3(0xb7)+_0x2ca8fa:'')],'data-author-id':this[_0x450da3(0xd1)][_0x450da3(0xc1)]['id'],'data-comment-id':this[_0x450da3(0xd1)]['id'],'role':_0x450da3(0x9a)},'children':[this[_0x450da3(0xf3)],{'tag':_0x450da3(0xf6),'attributes':{'class':[_0x450da3(0x88),_0x450da3(0xe9)]},'children':_0x24a383}]}]};}[_0x2b7128(0xe1)](){const _0x82efb0=_0x2b7128,_0x5d4a4a=new _0x302c7a(this[_0x82efb0(0xd7)]);return _0x5d4a4a[_0x82efb0(0x8e)]=_0x3db96e(this[_0x82efb0(0xd7)],_0x82efb0(0xe6)),_0x5d4a4a[_0x82efb0(0xc2)]=_0x390d70[_0x82efb0(0xb6)],_0x5d4a4a[_0x82efb0(0xb3)]=!0x0,_0x5d4a4a[_0x82efb0(0xb2)]({'attributes':{'class':_0x82efb0(0x89)}}),_0x5d4a4a[_0x82efb0(0x82)](_0x82efb0(0xed))['to'](this[_0x82efb0(0xd1)],_0x82efb0(0x93),_0x15e311=>!_0x15e311),_0x5d4a4a[_0x82efb0(0x82)](_0x82efb0(0xb9))['to'](this[_0x82efb0(0xd1)],_0x82efb0(0xd2)),_0x5d4a4a['on'](_0x82efb0(0x8c),()=>this[_0x82efb0(0xcc)]()),_0x5d4a4a;}[_0x2b7128(0xf1)](){const _0xf0180=_0x2b7128,_0xaf287a=new _0x302c7a(this[_0xf0180(0xd7)]);return _0xaf287a[_0xf0180(0x8e)]=_0x3db96e(this[_0xf0180(0xd7)],_0xf0180(0x9b)),_0xaf287a[_0xf0180(0xc2)]=_0x23d1ee,_0xaf287a[_0xf0180(0xb3)]=!0x0,_0xaf287a[_0xf0180(0xb2)]({'attributes':{'class':_0xf0180(0xd0)}}),_0xaf287a[_0xf0180(0x82)](_0xf0180(0xed))['to'](this[_0xf0180(0xd1)],_0xf0180(0x93),_0xc3a04b=>!_0xc3a04b),_0xaf287a[_0xf0180(0x82)](_0xf0180(0xb9))['to'](this[_0xf0180(0xd1)],_0xf0180(0xe4)),_0xaf287a['on'](_0xf0180(0x8c),()=>{const _0x127fa0=_0xf0180;this[_0x127fa0(0xf8)](_0x3db96e(this[_0x127fa0(0xd7)],_0x127fa0(0x86)),this[_0x127fa0(0xc0)])[_0x127fa0(0xd3)](()=>{const _0x2d49fa=_0x127fa0;this[_0x2d49fa(0xa4)](_0x2d49fa(0xca),this[_0x2d49fa(0xd1)]['id']);});}),_0xaf287a;}[_0x2b7128(0xd4)](){const _0xeead7a=_0x2b7128,_0x116f1e=_0x23e561(this[_0xeead7a(0xd7)],_0x3c1bc7),_0x10c473=_0x116f1e[_0xeead7a(0xae)][_0xeead7a(0xe7)],_0x224793=new _0x203e4d(this[_0xeead7a(0xd7)]),_0x409f34=_0x116f1e[_0xeead7a(0x9c)];_0x33c8eb(_0x116f1e,()=>this[_0xeead7a(0xf9)][_0xeead7a(0xa6)](_0x3d14b8=>_0x3d14b8[_0xeead7a(0xb9)])),_0x116f1e[_0xeead7a(0xb2)]({'attributes':{'class':[_0x409f34['if'](_0xeead7a(0xb9),_0xeead7a(0xab),_0x58b020=>!_0x58b020)]}});const _0x263d92=(_0x2a8cdf,_0x164f8b=-0x1)=>{const _0x1da95c=_0xeead7a,_0x1b434b=new _0xf82c50(this[_0x1da95c(0xd7)]);_0x1b434b[_0x1da95c(0xe7)][_0x1da95c(0x8f)](_0x2a8cdf);const _0x39387b=_0x164f8b>-0x1?_0x164f8b:_0x224793[_0x1da95c(0xf9)][_0x1da95c(0x90)];_0x224793[_0x1da95c(0xf9)][_0x1da95c(0x8f)](_0x1b434b,_0x39387b);const _0x4154fb=Array[_0x1da95c(0xdf)](this[_0x1da95c(0xf9)]);_0x116f1e[_0x1da95c(0xbd)](_0x1da95c(0xed),_0x1da95c(0xb9)),_0x116f1e[_0x1da95c(0x82)](_0x1da95c(0xed))[_0x1da95c(0x99)](_0x4154fb,_0x1da95c(0xed),(..._0x4576c1)=>_0x4576c1[_0x1da95c(0xc9)](_0x42f36c=>_0x42f36c)),_0x116f1e[_0x1da95c(0x82)](_0x1da95c(0xb9))[_0x1da95c(0x99)](_0x4154fb,_0x1da95c(0xb9),(..._0x892152)=>_0x892152[_0x1da95c(0xc9)](_0x5c7dc4=>_0x5c7dc4));};_0x116f1e[_0xeead7a(0xbe)]='sw',_0x116f1e[_0xeead7a(0xf2)][_0xeead7a(0xdb)]({'label':_0x3db96e(this[_0xeead7a(0xd7)],_0xeead7a(0xcd)),'icon':_0x390d70[_0xeead7a(0xf5)]}),_0x116f1e[_0xeead7a(0xed)]=[...this[_0xeead7a(0xf9)]][_0xeead7a(0xc9)](_0x57b271=>_0x57b271[_0xeead7a(0xed)]),_0x116f1e[_0xeead7a(0xf2)][_0xeead7a(0xb9)]=[...this[_0xeead7a(0xf9)]][_0xeead7a(0xc9)](_0xc3e5b1=>_0xc3e5b1[_0xeead7a(0xb9)]);for(const _0x17801b of this[_0xeead7a(0xf9)])_0x263d92(_0x17801b);return _0x10c473[_0xeead7a(0x8f)](_0x224793),_0x116f1e[_0xeead7a(0xec)](this[_0xeead7a(0xf9)],_0xeead7a(0x8f),(_0x2cecc1,_0x5766db,_0x51d9f9)=>{_0x263d92(_0x5766db,_0x51d9f9);}),_0x116f1e[_0xeead7a(0xec)](this[_0xeead7a(0xf9)],_0xeead7a(0x9f),(_0x5b16e1,_0x4d9c43,_0x47e1c4)=>{const _0x44d81d=_0xeead7a;_0x224793[_0x44d81d(0xf9)][_0x44d81d(0x9f)](_0x47e1c4);}),_0x116f1e;}[_0x2b7128(0xbb)](_0x1c017a,_0x29b0d1){const _0x73aa4b=_0x2b7128,_0x4e9940=_0x1c017a&&_0x1c017a[_0x73aa4b(0xc0)];_0x4e9940&&(this[_0x73aa4b(0xec)](_0x4e9940,_0x73aa4b(0x83),()=>this[_0x73aa4b(0x8b)]=_0x29b0d1),this[_0x73aa4b(0xec)](_0x4e9940,_0x73aa4b(0xfb),()=>this[_0x73aa4b(0x8b)]=_0x29b0d1),this[_0x73aa4b(0xec)](_0x4e9940,_0x73aa4b(0xeb),()=>this[_0x73aa4b(0x8b)]=null),this[_0x73aa4b(0xec)](_0x4e9940,_0x73aa4b(0xce),()=>this[_0x73aa4b(0x8b)]=null));}[_0x2b7128(0xe5)](){const _0x4d6eb0=_0x2b7128,_0x1226c8=super[_0x4d6eb0(0xe5)]();return _0x1226c8[_0x4d6eb0(0x82)](_0x4d6eb0(0xde))['to'](this),_0x1226c8;}[_0x2b7128(0xe8)](){const _0x12cf31=_0x2b7128;super[_0x12cf31(0xe8)](),this[_0x12cf31(0xbb)](this[_0x12cf31(0xfa)],_0x12cf31(0xcf)),this[_0x12cf31(0xbb)](this[_0x12cf31(0xa9)],_0x12cf31(0x9f));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x149c37=_0x22bd;(function(_0xbb613d,_0x423414){var _0x48faaf=_0x22bd,_0x36a220=_0xbb613d();while(!![]){try{var _0x1bf112=-parseInt(_0x48faaf(0x167))/0x1+parseInt(_0x48faaf(0x160))/0x2*(-parseInt(_0x48faaf(0x16a))/0x3)+-parseInt(_0x48faaf(0x15f))/0x4*(parseInt(_0x48faaf(0x16d))/0x5)+-parseInt(_0x48faaf(0x168))/0x6*(-parseInt(_0x48faaf(0x164))/0x7)+parseInt(_0x48faaf(0x16b))/0x8*(-parseInt(_0x48faaf(0x16c))/0x9)+parseInt(_0x48faaf(0x16e))/0xa*(parseInt(_0x48faaf(0x162))/0xb)+-parseInt(_0x48faaf(0x165))/0xc*(-parseInt(_0x48faaf(0x163))/0xd);if(_0x1bf112===_0x423414)break;else _0x36a220['push'](_0x36a220['shift']());}catch(_0x4d3b7e){_0x36a220['push'](_0x36a220['shift']());}}}(_0x58dc,0xb7ec7));import{Plugin as _0x4eecfb}from'ckeditor5/src/core.js';import _0x7da3e8 from'./comments/commentsrepository.js';import _0x4cb901 from'./comments/commentsediting.js';import _0x223d9b from'./comments/commentsui.js';function _0x58dc(){var _0x1f6b07=['63bXCKYH','780JSYlDO','requires','1045159DXxMiG','486426RLvLbJ','Comments','153qxyzyD','11288HaqMsU','171NvynqW','1135xXTfRb','12104390tcpcVW','22708nwoIUf','18370seNake','pluginName','11VtfDdH','328471HXRujr'];_0x58dc=function(){return _0x1f6b07;};return _0x58dc();}import _0x16e7f1 from'./commentsonly.js';import _0x56aadf from'./annotations/widesidebar.js';import _0x4cef42 from'./annotations/narrowsidebar.js';import _0x1b096a from'./annotations/inlineannotations.js';import _0x39c551 from'./comments/commentsarchiveui.js';import _0x1b6058 from'./comments/commentsarchive.js';function _0x22bd(_0x15ea1b,_0xd8b3a5){var _0x58dc7d=_0x58dc();return _0x22bd=function(_0x22bda4,_0xd59977){_0x22bda4=_0x22bda4-0x15f;var _0x5450fb=_0x58dc7d[_0x22bda4];return _0x5450fb;},_0x22bd(_0x15ea1b,_0xd8b3a5);}export default class f extends _0x4eecfb{static get[_0x149c37(0x166)](){return[_0x7da3e8,_0x4cb901,_0x223d9b,_0x1b6058,_0x39c551,_0x16e7f1,_0x56aadf,_0x4cef42,_0x1b096a];}static get[_0x149c37(0x161)](){var _0x545e4e=_0x149c37;return _0x545e4e(0x169);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d5c06=_0x1504;(function(_0x446869,_0x1bbf46){const _0xbf923f=_0x1504,_0x286245=_0x446869();while(!![]){try{const _0x405cf8=parseInt(_0xbf923f(0x16a))/0x1*(parseInt(_0xbf923f(0x15d))/0x2)+parseInt(_0xbf923f(0x175))/0x3+parseInt(_0xbf923f(0x174))/0x4+-parseInt(_0xbf923f(0x16d))/0x5+-parseInt(_0xbf923f(0x166))/0x6*(-parseInt(_0xbf923f(0x167))/0x7)+-parseInt(_0xbf923f(0x17d))/0x8*(-parseInt(_0xbf923f(0x15f))/0x9)+-parseInt(_0xbf923f(0x16e))/0xa;if(_0x405cf8===_0x1bbf46)break;else _0x286245['push'](_0x286245['shift']());}catch(_0x1b8f71){_0x286245['push'](_0x286245['shift']());}}}(_0x56a5,0xc2125));import{Plugin as _0x5dbece}from'ckeditor5/src/core.js';import _0x9245aa from'./comments/commentsediting.js';export default class e extends _0x5dbece{static get[_0x2d5c06(0x17b)](){const _0x4ef9c1=_0x2d5c06;return _0x4ef9c1(0x15a);}static get[_0x2d5c06(0x17c)](){return[_0x9245aa];}constructor(_0x2611fa){const _0x5f1457=_0x2d5c06;super(_0x2611fa),this[_0x5f1457(0x16b)](_0x5f1457(0x169),!0x1),this['on'](_0x5f1457(0x162),(_0x171d56,_0x33f2d6,_0x4a117e)=>{const _0x1798ad=_0x5f1457;_0x4a117e?this[_0x1798ad(0x178)]():this[_0x1798ad(0x180)]();});}[_0x2d5c06(0x165)](){const _0x37cb2f=_0x2d5c06;!this[_0x37cb2f(0x169)]&&this[_0x37cb2f(0x15c)][_0x37cb2f(0x17f)][_0x37cb2f(0x170)](_0x37cb2f(0x160))&&(this[_0x37cb2f(0x169)]=!0x0);}[_0x2d5c06(0x178)](){const _0x1b742e=_0x2d5c06;for(const [_0x36459b,_0x43a331]of this[_0x1b742e(0x15c)][_0x1b742e(0x179)])_0x43a331[_0x1b742e(0x181)]&&_0x1b742e(0x17e)!==_0x36459b&&_0x43a331[_0x1b742e(0x168)](_0x1b742e(0x17a));this[_0x1b742e(0x15c)][_0x1b742e(0x16c)][_0x1b742e(0x164)](_0x1b742e(0x173))&&this[_0x1b742e(0x15c)][_0x1b742e(0x16c)][_0x1b742e(0x170)](_0x1b742e(0x173))[_0x1b742e(0x168)](_0x1b742e(0x17a));const _0x50272a=this[_0x1b742e(0x15c)][_0x1b742e(0x171)][_0x1b742e(0x158)][_0x1b742e(0x159)];this[_0x1b742e(0x15b)](_0x50272a,_0x1b742e(0x176),_0x68ce5e=>_0x68ce5e[_0x1b742e(0x15e)](),{'priority':_0x1b742e(0x177)}),this[_0x1b742e(0x15b)](_0x50272a,_0x1b742e(0x172),_0x1b1731=>_0x1b1731[_0x1b742e(0x15e)](),{'priority':_0x1b742e(0x177)}),this[_0x1b742e(0x15b)](_0x50272a,_0x1b742e(0x16f),_0x1a0deb=>_0x1a0deb[_0x1b742e(0x15e)](),{'priority':_0x1b742e(0x177)});}[_0x2d5c06(0x180)](){const _0x30187a=_0x2d5c06;for(const [_0x5141a4,_0xa38ed]of this[_0x30187a(0x15c)][_0x30187a(0x179)])_0xa38ed[_0x30187a(0x181)]&&_0x30187a(0x17e)!==_0x5141a4&&_0xa38ed[_0x30187a(0x161)](_0x30187a(0x17a));this[_0x30187a(0x163)](this[_0x30187a(0x15c)][_0x30187a(0x171)][_0x30187a(0x158)][_0x30187a(0x159)]);}}function _0x1504(_0xd517a1,_0x34dd29){const _0x56a5b7=_0x56a5();return _0x1504=function(_0x1504f7,_0x1a0253){_0x1504f7=_0x1504f7-0x158;let _0x10df08=_0x56a5b7[_0x1504f7];return _0x10df08;},_0x1504(_0xd517a1,_0x34dd29);}function _0x56a5(){const _0x325395=['get','editing','clipboardInput','DragDrop','104364jZPFMe','3645564OlzMgE','cut','highest','_enableCommentsOnlyMode','commands','commentsOnlyMode','pluginName','requires','24SNrQwn','addCommentThread','config','_disableCommentsOnlyMode','affectsData','view','document','CommentsOnly','listenTo','editor','792364GwYtfR','stop','1984275vTQKny','commentsOnly','clearForceDisabled','change:isEnabled','stopListening','has','afterInit','2826CCaMWQ','5971DwKJFh','forceDisabled','isEnabled','3LQnBqe','set','plugins','3042890MisFDE','20895180ZhbUvY','delete'];_0x56a5=function(){return _0x325395;};return _0x56a5();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2396d8,_0x5ca7b5){var _0x2ac820=_0x22c9,_0x2d2c74=_0x2396d8();while(!![]){try{var _0x353a91=parseInt(_0x2ac820(0xed))/0x1+-parseInt(_0x2ac820(0xef))/0x2*(-parseInt(_0x2ac820(0xf2))/0x3)+parseInt(_0x2ac820(0xec))/0x4*(parseInt(_0x2ac820(0xf4))/0x5)+parseInt(_0x2ac820(0xee))/0x6*(-parseInt(_0x2ac820(0xf0))/0x7)+parseInt(_0x2ac820(0xf3))/0x8*(-parseInt(_0x2ac820(0xf7))/0x9)+parseInt(_0x2ac820(0xf6))/0xa+parseInt(_0x2ac820(0xf5))/0xb*(-parseInt(_0x2ac820(0xf1))/0xc);if(_0x353a91===_0x5ca7b5)break;else _0x2d2c74['push'](_0x2d2c74['shift']());}catch(_0x5b9372){_0x2d2c74['push'](_0x2d2c74['shift']());}}}(_0x473b,0xc8ae5));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';function _0x473b(){var _0x4bc78f=['20ANkczY','847038GiVfIM','228XBnCib','1238gMoZIG','120715Duzrtj','79188fleMtv','5436jBlsxA','494248MbEBsD','1357940hEaFHR','4037SuXZos','10049930LRdXDs','63uqLUaE'];_0x473b=function(){return _0x4bc78f;};return _0x473b();}export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';function _0x22c9(_0x417fdc,_0x3ed9b5){var _0x473b88=_0x473b();return _0x22c9=function(_0x22c97d,_0x1e1325){_0x22c97d=_0x22c97d-0xec;var _0x4d2f7d=_0x473b88[_0x22c97d];return _0x4d2f7d;},_0x22c9(_0x417fdc,_0x3ed9b5);}export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x422495,_0x258eef,_0x3c1dc0){const t=_0x422495['t'];switch(_0x258eef){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'},_0x3c1dc0);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'},_0x3c1dc0);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'},_0x3c1dc0);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'},_0x3c1dc0);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x3c1dc0);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'},_0x3c1dc0);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'},_0x3c1dc0);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'},_0x3c1dc0);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 _0x1240(_0x164ea2,_0x133dc2){const _0x2b39e1=_0x2b39();return _0x1240=function(_0x124001,_0x5b9544){_0x124001=_0x124001-0x12d;let _0x4ecfb5=_0x2b39e1[_0x124001];return _0x4ecfb5;},_0x1240(_0x164ea2,_0x133dc2);}(function(_0x56599e,_0x325916){const _0x163aa4=_0x1240,_0x46d24f=_0x56599e();while(!![]){try{const _0x4c6ef9=-parseInt(_0x163aa4(0x132))/0x1+parseInt(_0x163aa4(0x140))/0x2*(-parseInt(_0x163aa4(0x12d))/0x3)+parseInt(_0x163aa4(0x138))/0x4*(parseInt(_0x163aa4(0x131))/0x5)+parseInt(_0x163aa4(0x13b))/0x6*(-parseInt(_0x163aa4(0x137))/0x7)+parseInt(_0x163aa4(0x13f))/0x8*(parseInt(_0x163aa4(0x13d))/0x9)+parseInt(_0x163aa4(0x139))/0xa+-parseInt(_0x163aa4(0x13c))/0xb;if(_0x4c6ef9===_0x325916)break;else _0x46d24f['push'](_0x46d24f['shift']());}catch(_0x3bebb6){_0x46d24f['push'](_0x46d24f['shift']());}}}(_0x2b39,0x3a069));import{throttle as _0x481267}from'lodash-es';export default function Lt(_0xba96b){const _0x588424=_0x481267(_0xba96b,0x1e),_0x7c9915=new MutationObserver(_0x27b745=>{const _0x5e8b2a=_0x1240;for(const _0x268bd9 of _0x27b745)(_0x5e8b2a(0x136)==_0x268bd9[_0x5e8b2a(0x12e)]&&_0x5e8b2a(0x135)==_0x268bd9[_0x5e8b2a(0x134)]||_0x5e8b2a(0x133)==_0x268bd9[_0x5e8b2a(0x12e)]||_0x5e8b2a(0x12f)==_0x268bd9[_0x5e8b2a(0x12e)])&&_0x588424();});return{'attach'(_0x4517e4){const _0x4a7916=_0x1240;_0x7c9915[_0x4a7916(0x130)](_0x4517e4,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x486ccd=_0x1240;_0x7c9915[_0x486ccd(0x13e)](),_0x588424[_0x486ccd(0x13a)]();}};}function _0x2b39(){const _0xe7ab33=['22174fsQcIA','childList','attributeName','class','attributes','2342627SfAGyB','67516myWzcI','4343610ctWrWM','cancel','6HRiOmL','4122558xFtmnL','3670821ByozqN','disconnect','8BCFptI','49710ENVWPB','3OVaWIz','type','characterData','observe','45anEfrT'];_0x2b39=function(){return _0xe7ab33;};return _0x2b39();}
|
package/theme/comment.css
CHANGED
|
@@ -164,7 +164,7 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
164
164
|
|
|
165
165
|
& .ck-list {
|
|
166
166
|
margin: 0;
|
|
167
|
-
padding: 0;
|
|
167
|
+
padding: var(--ck-spacing-small) 0;
|
|
168
168
|
|
|
169
169
|
& .ck-list__item {
|
|
170
170
|
font-size: 1.2em;
|
|
@@ -174,10 +174,6 @@ We are styling resetting list-style because of parent <ul> element. */
|
|
|
174
174
|
& .ck-button {
|
|
175
175
|
color: var(--ck-color-text);
|
|
176
176
|
}
|
|
177
|
-
|
|
178
|
-
& .ck-button__label {
|
|
179
|
-
margin: 0 var(--ck-spacing-large);
|
|
180
|
-
}
|
|
181
177
|
}
|
|
182
178
|
}
|
|
183
179
|
}
|