@ckeditor/ckeditor5-comments 43.3.0-alpha.1 → 43.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +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/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/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 +15 -15
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15139a=_0x1caf;function _0x63d5(){const _0x190d0d=['setTemplate','focusTracker','focusFirst','622279IWWVcx','focusNext','element','arrowdown','isActive','focusPrevious','length','6jIBzYa','_setupKeyboardNavigation','5376BLFZCR','presentation','first','bindTemplate','div','isEmpty','COMMENTS_ARCHIVE_LIST_LABEL','6636664kCBzpp','focus','add','41150OHwGDp','398499BgAMbG','ck-comments-archive__info','list','delegate','listenTo','change','9054uIGZyi','remove','ck-hidden','focusCycler','destroy','_annotationViews','4843796oaCSvB','render','ck-comments-archive__content','set','ck-comments-archive','auto','arrowup','EMPTY_COMMENTS_ARCHIVE','2097OVNjrY','5468120iKHHrr'];_0x63d5=function(){return _0x190d0d;};return _0x63d5();}(function(_0x80b53c,_0x27e9d5){const _0x33e0ff=_0x1caf,_0x31b2bf=_0x80b53c();while(!![]){try{const _0xffc7fd=-parseInt(_0x33e0ff(0x1b1))/0x1+parseInt(_0x33e0ff(0x18b))/0x2*(-parseInt(_0x33e0ff(0x198))/0x3)+parseInt(_0x33e0ff(0x1a4))/0x4+parseInt(_0x33e0ff(0x1ad))/0x5+-parseInt(_0x33e0ff(0x19e))/0x6*(-parseInt(_0x33e0ff(0x18d))/0x7)+-parseInt(_0x33e0ff(0x194))/0x8+parseInt(_0x33e0ff(0x1ac))/0x9*(-parseInt(_0x33e0ff(0x197))/0xa);if(_0xffc7fd===_0x27e9d5)break;else _0x31b2bf['push'](_0x31b2bf['shift']());}catch(_0x2d64c1){_0x31b2bf['push'](_0x31b2bf['shift']());}}}(_0x63d5,0x9fbf9));import{View as _0x1e9789,FocusCycler as _0x5402c4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3d25de}from'ckeditor5/src/utils.js';function _0x1caf(_0x394cf6,_0x4ddbd6){const _0x63d515=_0x63d5();return _0x1caf=function(_0x1cafd8,_0x4b9507){_0x1cafd8=_0x1cafd8-0x186;let _0x56a22d=_0x63d515[_0x1cafd8];return _0x56a22d;},_0x1caf(_0x394cf6,_0x4ddbd6);}import{getTranslation as _0x5ad03c}from'../../../utils/common-translations.js';export default class tt extends _0x1e9789{constructor(_0x33e7f1,_0x312e0c){const _0x574918=_0x1caf;super(_0x33e7f1),this[_0x574918(0x1a7)](_0x574918(0x192),!_0x312e0c[_0x574918(0x18a)]),this[_0x574918(0x1af)]=new _0x3d25de(),this[_0x574918(0x1a3)]=_0x312e0c,this[_0x574918(0x1a3)][_0x574918(0x19b)](_0x574918(0x1aa),_0x574918(0x187))['to'](this),this['on'](_0x574918(0x1aa),()=>{const _0x2fbb5e=_0x574918;this[_0x2fbb5e(0x1a1)][_0x2fbb5e(0x189)]();}),this['on'](_0x574918(0x187),()=>{const _0x5d63c6=_0x574918;this[_0x5d63c6(0x1a1)][_0x5d63c6(0x1b2)]();}),this[_0x574918(0x1a1)]=new _0x5402c4({'focusables':_0x312e0c,'focusTracker':this[_0x574918(0x1af)]}),this[_0x574918(0x19c)](_0x312e0c,_0x574918(0x196),()=>{const _0x52402e=_0x574918;this[_0x52402e(0x192)]=!0x1;}),this[_0x574918(0x19c)](_0x312e0c,_0x574918(0x19f),(_0x30ac09,_0x16e8c4)=>{const _0x2582e2=_0x574918;_0x16e8c4[_0x2582e2(0x188)]&&this[_0x2582e2(0x195)](),_0x312e0c[_0x2582e2(0x18a)]||(this[_0x2582e2(0x192)]=!0x0);});const _0x2cd8d0=this[_0x574918(0x190)];this[_0x574918(0x1ae)]({'tag':_0x574918(0x191),'attributes':{'dir':_0x574918(0x1a9),'class':['ck',_0x574918(0x1a8)],'tabindex':-0x1,'role':_0x574918(0x19a),'aria-label':_0x5ad03c(_0x33e7f1,_0x574918(0x193))},'children':[{'tag':_0x574918(0x191),'attributes':{'class':[_0x574918(0x1a6)],'role':_0x574918(0x18e)},'children':[{'tag':_0x574918(0x191),'attributes':{'role':_0x574918(0x18e)},'children':_0x312e0c},{'tag':'p','attributes':{'class':[_0x574918(0x199),_0x2cd8d0['if'](_0x574918(0x192),_0x574918(0x1a0),_0x8d84d7=>!_0x8d84d7)]},'children':[{'text':_0x5ad03c(_0x33e7f1,_0x574918(0x1ab))}]}]}]});}[_0x15139a(0x1a5)](){const _0x43ea7d=_0x15139a;super[_0x43ea7d(0x1a5)](),this[_0x43ea7d(0x18c)]();}[_0x15139a(0x1a2)](){const _0x21ca7b=_0x15139a;super[_0x21ca7b(0x1a2)](),this[_0x21ca7b(0x1af)][_0x21ca7b(0x1a2)]();}[_0x15139a(0x195)](){const _0x113058=_0x15139a;this[_0x113058(0x1a1)][_0x113058(0x18f)]?this[_0x113058(0x1a1)][_0x113058(0x1b0)]():this[_0x113058(0x186)][_0x113058(0x195)]();}[_0x15139a(0x18c)](){const _0x759ff3=_0x15139a;for(const _0x3874b2 of this[_0x759ff3(0x1a3)])this[_0x759ff3(0x1af)][_0x759ff3(0x196)](_0x3874b2[_0x759ff3(0x186)]);this[_0x759ff3(0x1a3)]['on'](_0x759ff3(0x19d),(_0x3c9a87,{added:_0x21bcf9,removed:_0x4c822a})=>{const _0x51700f=_0x759ff3;for(const _0x186919 of _0x21bcf9)this[_0x51700f(0x1af)][_0x51700f(0x196)](_0x186919[_0x51700f(0x186)]);for(const _0x2f0ad4 of _0x4c822a)this[_0x51700f(0x1af)][_0x51700f(0x19f)](_0x2f0ad4[_0x51700f(0x186)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x17ab(_0x475245,_0x3d24ee){const _0x23a036=_0x23a0();return _0x17ab=function(_0x17ab22,_0x54c1ed){_0x17ab22=_0x17ab22-0x194;let _0x1c1bde=_0x23a036[_0x17ab22];return _0x1c1bde;},_0x17ab(_0x475245,_0x3d24ee);}const _0x27a455=_0x17ab;(function(_0x4b7434,_0x1e9d5a){const _0x255a6c=_0x17ab,_0x4bdd9e=_0x4b7434();while(!![]){try{const _0x13346e=parseInt(_0x255a6c(0x197))/0x1*(-parseInt(_0x255a6c(0x1b9))/0x2)+-parseInt(_0x255a6c(0x19f))/0x3*(parseInt(_0x255a6c(0x1e6))/0x4)+-parseInt(_0x255a6c(0x1b8))/0x5*(-parseInt(_0x255a6c(0x1b7))/0x6)+parseInt(_0x255a6c(0x1cb))/0x7+parseInt(_0x255a6c(0x1d0))/0x8+-parseInt(_0x255a6c(0x1da))/0x9*(-parseInt(_0x255a6c(0x1c1))/0xa)+parseInt(_0x255a6c(0x1cc))/0xb;if(_0x13346e===_0x1e9d5a)break;else _0x4bdd9e['push'](_0x4bdd9e['shift']());}catch(_0x58d54f){_0x4bdd9e['push'](_0x4bdd9e['shift']());}}}(_0x23a0,0x7e908));import{View as _0x3a11cf,FocusCycler as _0x297215}from'ckeditor5/src/ui.js';import{diff as _0x58e3e3,Collection as _0x4bd95c,FocusTracker as _0x606a1,KeystrokeHandler as _0x51af6d}from'ckeditor5/src/utils.js';import{getTranslation as _0xeaa41f}from'../../../utils/common-translations.js';import _0x50b97f from'./collapsedcommentsview.js';function _0x23a0(){const _0x230336=['focusCycler','maxCommentCharsWhenCollapsed','resolveCommentThread','Thread\x20comments','formatDateTime','insert','element','add','focus','resolvedCommentView','change:hasDirtyComment','934033IVmmqm','focusLast','focusFirst','refreshVisibleViews','editorConfig','forEach','resolvedAt','get','3ERWBjK','_collapsedCommentsView','editorReady','change','keystrokes','_rearrangeExpand','delete','focusTracker','change:isActive','render','hasDirtyComment','added','_handleRemoveCommentModel','_model','_findOptimalIndex','editorDestroyed','locale','listenTo','change:isEditMode','commentViews','weight','expand','authoredAt','createCollection','326226loyKfw','65CtjODE','2uSWGcv','ck-thread__comments','maxCommentsWhenCollapsed','arrowdown','maxThreadTotalWeight','comments','removeComment','_shouldCollapse','344830hngmTA','_setupKeyboardNavigation','ck-hidden','visibleViews','resolvedBy','arrowup','CommentView','length','_handleInfoComment','_rearrangeCollapse','503629eDdKKF','6103141hKEwHF','_handleNewCommentModel','bindTemplate','set','2257288Cjvabk','destroy','isActive','equal','isEditMode','count','bind','delegate','includes','map','144tXNeeJ','reverse','_config','Marked\x20as\x20resolved','updateComment','_updateHasDirtyComment','resolved','commentUpdated','target','stopListening','some','_calculatePosition','2860196pyTYXP','setTemplate','removed','from','viewUid','remove','change:isResolved','collapse'];_0x23a0=function(){return _0x230336;};return _0x23a0();}export default class xt extends _0x3a11cf{constructor(_0x31a948,_0x21f473,_0x400dd4){const _0x54063d=_0x17ab;super(_0x31a948);const _0x4dc699=this[_0x54063d(0x1ce)];this[_0x54063d(0x1cf)](_0x54063d(0x1a9),!0x1),this[_0x54063d(0x1cf)](_0x54063d(0x1c8),_0x21f473[_0x54063d(0x1be)][_0x54063d(0x1c8)]),this[_0x54063d(0x1cf)](_0x54063d(0x1d2),!0x1),this[_0x54063d(0x1ac)]=_0x21f473,this[_0x54063d(0x1dc)]=_0x400dd4,this[_0x54063d(0x1b2)]=this[_0x54063d(0x1b6)](),this[_0x54063d(0x1c4)]=this[_0x54063d(0x1b6)](),this[_0x54063d(0x195)]=null,this[_0x54063d(0x1a6)]=new _0x606a1(),this[_0x54063d(0x1a3)]=new _0x51af6d(),this[_0x54063d(0x1ee)]=new _0x297215({'focusables':this[_0x54063d(0x1b2)],'focusTracker':this[_0x54063d(0x1a6)],'keystrokeHandler':this[_0x54063d(0x1a3)],'keystrokeHandlerOptions':{'filter':_0x513b09=>this[_0x54063d(0x1b2)][_0x54063d(0x1d9)](_0x174ebe=>_0x174ebe[_0x54063d(0x1f4)])[_0x54063d(0x1d8)](_0x513b09[_0x54063d(0x1e2)])},'actions':{'focusPrevious':_0x54063d(0x1c6),'focusNext':_0x54063d(0x1bc)}}),this[_0x54063d(0x1a0)]=new _0x50b97f(_0x31a948),this[_0x54063d(0x1a0)][_0x54063d(0x1d6)](_0x54063d(0x1d5))['to'](this,_0x54063d(0x1c8),_0x485d76=>_0x485d76-this[_0x54063d(0x1dc)][_0x54063d(0x1bb)]);for(const _0x3c3d91 of _0x21f473[_0x54063d(0x1be)])this[_0x54063d(0x1cd)](_0x3c3d91);this[_0x54063d(0x1c9)](),this[_0x54063d(0x1b0)](_0x21f473[_0x54063d(0x1be)],_0x54063d(0x1f5),(_0x8efa88,_0x12f85f)=>{const _0x4fd0ab=_0x54063d,_0x110470=this[_0x4fd0ab(0x1e5)](_0x12f85f);this[_0x4fd0ab(0x1c8)]++,this[_0x4fd0ab(0x1cd)](_0x12f85f,_0x110470),this[_0x4fd0ab(0x19a)]();}),this[_0x54063d(0x1b0)](_0x21f473[_0x54063d(0x1be)],_0x54063d(0x1eb),(_0x76df50,_0x30a0ab)=>{const _0x254319=_0x54063d;this[_0x254319(0x1c8)]--,this[_0x254319(0x1ab)](_0x30a0ab),this[_0x254319(0x19a)]();}),this[_0x54063d(0x1b0)](_0x21f473,_0x54063d(0x1e1),()=>this[_0x54063d(0x19a)]()),this[_0x54063d(0x1b0)](_0x21f473,_0x54063d(0x1ec),()=>this[_0x54063d(0x1c9)]()),this['on'](_0x54063d(0x1a7),()=>this[_0x54063d(0x19a)]()),this['on'](_0x54063d(0x196),()=>this[_0x54063d(0x19a)]()),this[_0x54063d(0x1e7)]({'tag':'ul','attributes':{'class':[_0x54063d(0x1ba),_0x4dc699['if'](_0x54063d(0x1c8),_0x54063d(0x1c3),_0x1a6216=>!_0x1a6216)],'aria-label':_0xeaa41f(_0x31a948,_0x54063d(0x1f1))},'children':this[_0x54063d(0x1c4)]});}get[_0x27a455(0x1c0)](){const _0x346735=_0x27a455;return this[_0x346735(0x1ac)][_0x346735(0x1b3)]>this[_0x346735(0x1dc)][_0x346735(0x1bd)]&&!this[_0x346735(0x1d2)]&&!this[_0x346735(0x1a9)];}[_0x27a455(0x1a8)](){const _0x1cdbb1=_0x27a455;super[_0x1cdbb1(0x1a8)](),this[_0x1cdbb1(0x19a)](),this[_0x1cdbb1(0x1c2)]();}[_0x27a455(0x194)](_0x51444e){const _0x32e429=_0x27a455;-0x1===_0x51444e?this[_0x32e429(0x1ee)][_0x32e429(0x198)]():this[_0x32e429(0x1ee)][_0x32e429(0x199)]();}[_0x27a455(0x1d1)](){const _0x188d1c=_0x27a455;this[_0x188d1c(0x1a0)][_0x188d1c(0x1d1)]();for(const _0x2628ad of this[_0x188d1c(0x1b2)])_0x2628ad[_0x188d1c(0x1d1)]();super[_0x188d1c(0x1d1)]();}[_0x27a455(0x19a)](){const _0x434ef8=_0x27a455;this[_0x434ef8(0x1c0)]?this[_0x434ef8(0x1ca)]():this[_0x434ef8(0x1a4)]();}[_0x27a455(0x1cd)](_0x2b6ac7,_0x1b891f){const _0x2f4437=_0x27a455,_0x1732f2=new this[(_0x2f4437(0x1dc))][(_0x2f4437(0x1c7))](this[_0x2f4437(0x1af)],_0x2b6ac7,{'maxCommentCharsWhenCollapsed':this[_0x2f4437(0x1dc)][_0x2f4437(0x1ef)],'formatDateTime':this[_0x2f4437(0x1dc)][_0x2f4437(0x1f2)],'editorConfig':this[_0x2f4437(0x1dc)][_0x2f4437(0x19b)]});_0x1732f2[_0x2f4437(0x1ea)]=_0x2b6ac7['id'],_0x1732f2[_0x2f4437(0x1d7)](_0x2f4437(0x1bf))['to'](this),_0x1732f2[_0x2f4437(0x1d7)](_0x2f4437(0x1de))['to'](this),_0x1732f2[_0x2f4437(0x1d7)](_0x2f4437(0x1f0))['to'](this),_0x1732f2[_0x2f4437(0x1d7)](_0x2f4437(0x1a1))['to'](this),_0x1732f2[_0x2f4437(0x1d7)](_0x2f4437(0x1ae))['to'](this),this[_0x2f4437(0x1b0)](_0x1732f2,_0x2f4437(0x1b1),()=>this[_0x2f4437(0x1df)]()),this[_0x2f4437(0x1b2)][_0x2f4437(0x1f5)](_0x1732f2,_0x1b891f);}[_0x27a455(0x1e5)](_0x53989a){const _0x39ff12=_0x27a455,_0x1454c3=this[_0x39ff12(0x1ac)][_0x39ff12(0x1ad)](_0x53989a);return this[_0x39ff12(0x195)]?this[_0x39ff12(0x195)][_0x39ff12(0x1b5)]>_0x53989a[_0x39ff12(0x1b5)]?_0x1454c3-0x1:_0x1454c3:_0x1454c3-0x1;}[_0x27a455(0x1c9)](){const _0x543420=_0x27a455;if(this[_0x543420(0x1ac)][_0x543420(0x1c5)]&&this[_0x543420(0x1ac)][_0x543420(0x19d)]){const _0x3d7599={'id':_0x543420(0x1e0),'author':this[_0x543420(0x1ac)][_0x543420(0x1c5)],'authoredAt':this[_0x543420(0x1ac)][_0x543420(0x19d)],'content':_0xeaa41f(this[_0x543420(0x1af)],_0x543420(0x1dd)),'attributes':{}};this[_0x543420(0x195)]=new this[(_0x543420(0x1dc))][(_0x543420(0x1c7))](this[_0x543420(0x1af)],_0x3d7599,{'maxCommentCharsWhenCollapsed':this[_0x543420(0x1dc)][_0x543420(0x1ef)],'formatDateTime':this[_0x543420(0x1dc)][_0x543420(0x1f2)],'editorConfig':this[_0x543420(0x1dc)][_0x543420(0x19b)],'isSystemComment':!0x0}),this[_0x543420(0x1b2)][_0x543420(0x1f5)](this[_0x543420(0x195)],this[_0x543420(0x1ac)][_0x543420(0x1ad)](_0x3d7599));}else this[_0x543420(0x195)]&&(this[_0x543420(0x1b2)][_0x543420(0x1eb)](this[_0x543420(0x195)]),this[_0x543420(0x195)][_0x543420(0x1d1)](),this[_0x543420(0x195)]=null);this[_0x543420(0x19a)]();}[_0x27a455(0x1ab)](_0x233023){const _0x2c701d=_0x27a455,_0x1e59f6=this[_0x2c701d(0x1b2)][_0x2c701d(0x1eb)](_0x233023['id']);this[_0x2c701d(0x1e3)](_0x1e59f6),_0x1e59f6[_0x2c701d(0x1d4)]&&this[_0x2c701d(0x1df)](),_0x1e59f6[_0x2c701d(0x1d1)]();}[_0x27a455(0x1df)](){const _0x2c5d76=_0x27a455;this[_0x2c5d76(0x1a9)]=Array[_0x2c5d76(0x1e9)](this[_0x2c5d76(0x1b2)])[_0x2c5d76(0x1e4)](_0x1008f0=>_0x1008f0[_0x2c5d76(0x1d4)]);}[_0x27a455(0x1ca)](){const _0x45912a=_0x27a455,_0x1ee884=function(_0x56e4a9){const _0xb7f617=_0x17ab,_0x405340=new _0x4bd95c();for(const _0x164b5e of _0x56e4a9)_0x405340[_0xb7f617(0x1f5)](_0x164b5e);return _0x405340;}(this[_0x45912a(0x1b2)]),_0x139667=this[_0x45912a(0x1a0)][_0x45912a(0x1d5)];for(let _0x3bb62c=0x1;_0x3bb62c<=_0x139667;_0x3bb62c++)_0x1ee884[_0x45912a(0x1eb)](0x1);for(const _0x108206 of _0x1ee884)_0x108206[_0x45912a(0x1ed)]();_0x139667>0x0&&_0x1ee884[_0x45912a(0x1f5)](this[_0x45912a(0x1a0)],0x1),ms(_0x58e3e3(Array[_0x45912a(0x1e9)](this[_0x45912a(0x1c4)]),Array[_0x45912a(0x1e9)](_0x1ee884)),this[_0x45912a(0x1c4)],_0x1ee884);}[_0x27a455(0x1a4)](){const _0x106480=_0x27a455;ms(_0x58e3e3(Array[_0x106480(0x1e9)](this[_0x106480(0x1c4)]),Array[_0x106480(0x1e9)](this[_0x106480(0x1b2)])),this[_0x106480(0x1c4)],this[_0x106480(0x1b2)]);for(const _0x3c6924 of this[_0x106480(0x1c4)])_0x3c6924[_0x106480(0x1b4)]();}[_0x27a455(0x1c2)](){const _0x2f4973=_0x27a455;this[_0x2f4973(0x1b2)][_0x2f4973(0x19c)](_0xabab7c=>{const _0x5918be=_0x2f4973;this[_0x5918be(0x1a6)][_0x5918be(0x1f5)](_0xabab7c[_0x5918be(0x1f4)]),this[_0x5918be(0x1a3)][_0x5918be(0x1b0)](_0xabab7c[_0x5918be(0x1f4)]);}),this[_0x2f4973(0x1b2)]['on'](_0x2f4973(0x1a2),(_0xc44426,_0x52d776)=>{const _0x1d1276=_0x2f4973;for(const _0x2bc7db of _0x52d776[_0x1d1276(0x1e8)])this[_0x1d1276(0x1a6)][_0x1d1276(0x1eb)](_0x2bc7db[_0x1d1276(0x1f4)]),this[_0x1d1276(0x1a3)][_0x1d1276(0x1e3)](_0x2bc7db[_0x1d1276(0x1f4)]);for(const _0x5534f3 of Array[_0x1d1276(0x1e9)](_0x52d776[_0x1d1276(0x1aa)])[_0x1d1276(0x1db)]())this[_0x1d1276(0x1a6)][_0x1d1276(0x1f5)](_0x5534f3[_0x1d1276(0x1f4)]),this[_0x1d1276(0x1a3)][_0x1d1276(0x1b0)](_0x5534f3[_0x1d1276(0x1f4)]);});}}function ms(_0x183fb2,_0x290a5e,_0x3b3b5d){const _0x378f2c=_0x27a455;let _0xdfd84d=0x0;for(const _0x487969 of _0x183fb2)switch(_0x487969){case _0x378f2c(0x1f3):_0x290a5e[_0x378f2c(0x1f5)](_0x3b3b5d[_0x378f2c(0x19e)](_0xdfd84d),_0xdfd84d),_0xdfd84d++;break;case _0x378f2c(0x1a5):_0x290a5e[_0x378f2c(0x1eb)](_0xdfd84d);break;case _0x378f2c(0x1d3):_0xdfd84d++;}}
|
|
23
|
+
function _0x4b1d(_0x18040d,_0x302988){const _0x1444ff=_0x1444();return _0x4b1d=function(_0x4b1d3b,_0x4bdbbb){_0x4b1d3b=_0x4b1d3b-0x74;let _0x260ae7=_0x1444ff[_0x4b1d3b];return _0x260ae7;},_0x4b1d(_0x18040d,_0x302988);}const _0xbe2587=_0x4b1d;(function(_0xa0a164,_0x5d93ed){const _0x579a62=_0x4b1d,_0x2e355a=_0xa0a164();while(!![]){try{const _0x314aa7=parseInt(_0x579a62(0xc1))/0x1+-parseInt(_0x579a62(0xb7))/0x2+parseInt(_0x579a62(0x83))/0x3+parseInt(_0x579a62(0x9c))/0x4*(parseInt(_0x579a62(0xa8))/0x5)+parseInt(_0x579a62(0xb8))/0x6*(-parseInt(_0x579a62(0x8a))/0x7)+-parseInt(_0x579a62(0x75))/0x8+parseInt(_0x579a62(0x8e))/0x9*(parseInt(_0x579a62(0xc5))/0xa);if(_0x314aa7===_0x5d93ed)break;else _0x2e355a['push'](_0x2e355a['shift']());}catch(_0x2b2ff0){_0x2e355a['push'](_0x2e355a['shift']());}}}(_0x1444,0xcd50e));import{View as _0x4d8daf,FocusCycler as _0x31331b}from'ckeditor5/src/ui.js';import{diff as _0x39f7e0,Collection as _0x3d082d,FocusTracker as _0x6b2c1e,KeystrokeHandler as _0x51f30a}from'ckeditor5/src/utils.js';import{getTranslation as _0x2bffd1}from'../../../utils/common-translations.js';import _0x4790a7 from'./collapsedcommentsview.js';export default class xt extends _0x4d8daf{constructor(_0x3a53bc,_0x356edb,_0x2f3595){const _0x1fd238=_0x4b1d;super(_0x3a53bc);const _0x1a95e6=this[_0x1fd238(0x9b)];this[_0x1fd238(0xc0)](_0x1fd238(0x84),!0x1),this[_0x1fd238(0xc0)](_0x1fd238(0xd4),_0x356edb[_0x1fd238(0xa5)][_0x1fd238(0xd4)]),this[_0x1fd238(0xc0)](_0x1fd238(0xd0),!0x1),this[_0x1fd238(0xaf)]=_0x356edb,this[_0x1fd238(0xc7)]=_0x2f3595,this[_0x1fd238(0x89)]=this[_0x1fd238(0x80)](),this[_0x1fd238(0xcc)]=this[_0x1fd238(0x80)](),this[_0x1fd238(0x7a)]=null,this[_0x1fd238(0xc6)]=new _0x6b2c1e(),this[_0x1fd238(0xa1)]=new _0x51f30a(),this[_0x1fd238(0xa6)]=new _0x31331b({'focusables':this[_0x1fd238(0x89)],'focusTracker':this[_0x1fd238(0xc6)],'keystrokeHandler':this[_0x1fd238(0xa1)],'keystrokeHandlerOptions':{'filter':_0x4d5539=>this[_0x1fd238(0x89)][_0x1fd238(0x81)](_0x2b4e0c=>_0x2b4e0c[_0x1fd238(0xaa)])[_0x1fd238(0xb2)](_0x4d5539[_0x1fd238(0x76)])},'actions':{'focusPrevious':_0x1fd238(0x9d),'focusNext':_0x1fd238(0xad)}}),this[_0x1fd238(0xb4)]=new _0x4790a7(_0x3a53bc),this[_0x1fd238(0xb4)][_0x1fd238(0xab)](_0x1fd238(0x8b))['to'](this,_0x1fd238(0xd4),_0x23e79e=>_0x23e79e-this[_0x1fd238(0xc7)][_0x1fd238(0xae)]);for(const _0x132891 of _0x356edb[_0x1fd238(0xa5)])this[_0x1fd238(0xca)](_0x132891);this[_0x1fd238(0xc9)](),this[_0x1fd238(0xa4)](_0x356edb[_0x1fd238(0xa5)],_0x1fd238(0xa9),(_0x243cf9,_0x12ed00)=>{const _0xae9a97=_0x1fd238,_0x49aa60=this[_0xae9a97(0x90)](_0x12ed00);this[_0xae9a97(0xd4)]++,this[_0xae9a97(0xca)](_0x12ed00,_0x49aa60),this[_0xae9a97(0xa2)]();}),this[_0x1fd238(0xa4)](_0x356edb[_0x1fd238(0xa5)],_0x1fd238(0xbe),(_0x34daca,_0x10ae06)=>{const _0xf97acc=_0x1fd238;this[_0xf97acc(0xd4)]--,this[_0xf97acc(0xbb)](_0x10ae06),this[_0xf97acc(0xa2)]();}),this[_0x1fd238(0xa4)](_0x356edb,_0x1fd238(0x7c),()=>this[_0x1fd238(0xa2)]()),this[_0x1fd238(0xa4)](_0x356edb,_0x1fd238(0x97),()=>this[_0x1fd238(0xc9)]()),this['on'](_0x1fd238(0x85),()=>this[_0x1fd238(0xa2)]()),this['on'](_0x1fd238(0xcd),()=>this[_0x1fd238(0xa2)]()),this[_0x1fd238(0x93)]({'tag':'ul','attributes':{'class':[_0x1fd238(0xa3),_0x1a95e6['if'](_0x1fd238(0xd4),_0x1fd238(0x92),_0x3cbbcf=>!_0x3cbbcf)],'aria-label':_0x2bffd1(_0x3a53bc,_0x1fd238(0x77))},'children':this[_0x1fd238(0xcc)]});}get[_0xbe2587(0xb9)](){const _0x6d28f8=_0xbe2587;return this[_0x6d28f8(0xaf)][_0x6d28f8(0xb1)]>this[_0x6d28f8(0xc7)][_0x6d28f8(0x8c)]&&!this[_0x6d28f8(0xd0)]&&!this[_0x6d28f8(0x84)];}[_0xbe2587(0xa7)](){const _0x521565=_0xbe2587;super[_0x521565(0xa7)](),this[_0x521565(0xa2)](),this[_0x521565(0xbd)]();}[_0xbe2587(0x96)](_0x55fdb9){const _0x193806=_0xbe2587;-0x1===_0x55fdb9?this[_0x193806(0xa6)][_0x193806(0x9e)]():this[_0x193806(0xa6)][_0x193806(0xac)]();}[_0xbe2587(0x7f)](){const _0x15ce4e=_0xbe2587;this[_0x15ce4e(0xb4)][_0x15ce4e(0x7f)]();for(const _0x43b190 of this[_0x15ce4e(0x89)])_0x43b190[_0x15ce4e(0x7f)]();super[_0x15ce4e(0x7f)]();}[_0xbe2587(0xa2)](){const _0x157278=_0xbe2587;this[_0x157278(0xb9)]?this[_0x157278(0xbc)]():this[_0x157278(0x79)]();}[_0xbe2587(0xca)](_0x627906,_0x1329d2){const _0x16fb14=_0xbe2587,_0x348ef6=new this[(_0x16fb14(0xc7))][(_0x16fb14(0x87))](this[_0x16fb14(0xc3)],_0x627906,{'maxCommentCharsWhenCollapsed':this[_0x16fb14(0xc7)][_0x16fb14(0xcb)],'formatDateTime':this[_0x16fb14(0xc7)][_0x16fb14(0xc2)],'editorConfig':this[_0x16fb14(0xc7)][_0x16fb14(0xb3)]});_0x348ef6[_0x16fb14(0x78)]=_0x627906['id'],_0x348ef6[_0x16fb14(0xbf)](_0x16fb14(0x98))['to'](this),_0x348ef6[_0x16fb14(0xbf)](_0x16fb14(0x88))['to'](this),_0x348ef6[_0x16fb14(0xbf)](_0x16fb14(0x86))['to'](this),_0x348ef6[_0x16fb14(0xbf)](_0x16fb14(0x91))['to'](this),_0x348ef6[_0x16fb14(0xbf)](_0x16fb14(0xc4))['to'](this),this[_0x16fb14(0xa4)](_0x348ef6,_0x16fb14(0xd2),()=>this[_0x16fb14(0x7d)]()),this[_0x16fb14(0x89)][_0x16fb14(0xa9)](_0x348ef6,_0x1329d2);}[_0xbe2587(0x90)](_0x16d83b){const _0x18c45a=_0xbe2587,_0x1dbc66=this[_0x18c45a(0xaf)][_0x18c45a(0x99)](_0x16d83b);return this[_0x18c45a(0x7a)]?this[_0x18c45a(0x7a)][_0x18c45a(0x9a)]>_0x16d83b[_0x18c45a(0x9a)]?_0x1dbc66-0x1:_0x1dbc66:_0x1dbc66-0x1;}[_0xbe2587(0xc9)](){const _0x13fe9b=_0xbe2587;if(this[_0x13fe9b(0xaf)][_0x13fe9b(0xb5)]&&this[_0x13fe9b(0xaf)][_0x13fe9b(0xba)]){const _0x31a0a4={'id':_0x13fe9b(0x82),'author':this[_0x13fe9b(0xaf)][_0x13fe9b(0xb5)],'authoredAt':this[_0x13fe9b(0xaf)][_0x13fe9b(0xba)],'content':_0x2bffd1(this[_0x13fe9b(0xc3)],_0x13fe9b(0x94)),'attributes':{}};this[_0x13fe9b(0x7a)]=new this[(_0x13fe9b(0xc7))][(_0x13fe9b(0x87))](this[_0x13fe9b(0xc3)],_0x31a0a4,{'maxCommentCharsWhenCollapsed':this[_0x13fe9b(0xc7)][_0x13fe9b(0xcb)],'formatDateTime':this[_0x13fe9b(0xc7)][_0x13fe9b(0xc2)],'editorConfig':this[_0x13fe9b(0xc7)][_0x13fe9b(0xb3)],'isSystemComment':!0x0}),this[_0x13fe9b(0x89)][_0x13fe9b(0xa9)](this[_0x13fe9b(0x7a)],this[_0x13fe9b(0xaf)][_0x13fe9b(0x99)](_0x31a0a4));}else this[_0x13fe9b(0x7a)]&&(this[_0x13fe9b(0x89)][_0x13fe9b(0xbe)](this[_0x13fe9b(0x7a)]),this[_0x13fe9b(0x7a)][_0x13fe9b(0x7f)](),this[_0x13fe9b(0x7a)]=null);this[_0x13fe9b(0xa2)]();}[_0xbe2587(0xbb)](_0x2659a3){const _0x1a0c72=_0xbe2587,_0xc5f7cd=this[_0x1a0c72(0x89)][_0x1a0c72(0xbe)](_0x2659a3['id']);this[_0x1a0c72(0x7b)](_0xc5f7cd),_0xc5f7cd[_0x1a0c72(0xb0)]&&this[_0x1a0c72(0x7d)](),_0xc5f7cd[_0x1a0c72(0x7f)]();}[_0xbe2587(0x7d)](){const _0x14f511=_0xbe2587;this[_0x14f511(0x84)]=Array[_0x14f511(0xd1)](this[_0x14f511(0x89)])[_0x14f511(0xb6)](_0x111982=>_0x111982[_0x14f511(0xb0)]);}[_0xbe2587(0xbc)](){const _0x3bf343=_0xbe2587,_0x4c738f=function(_0x5daa6c){const _0x5ae389=_0x4b1d,_0x20a2cf=new _0x3d082d();for(const _0x48f03e of _0x5daa6c)_0x20a2cf[_0x5ae389(0xa9)](_0x48f03e);return _0x20a2cf;}(this[_0x3bf343(0x89)]),_0x3cb0a7=this[_0x3bf343(0xb4)][_0x3bf343(0x8b)];for(let _0x2ccad5=0x1;_0x2ccad5<=_0x3cb0a7;_0x2ccad5++)_0x4c738f[_0x3bf343(0xbe)](0x1);for(const _0x2e11e0 of _0x4c738f)_0x2e11e0[_0x3bf343(0xc8)]();_0x3cb0a7>0x0&&_0x4c738f[_0x3bf343(0xa9)](this[_0x3bf343(0xb4)],0x1),ms(_0x39f7e0(Array[_0x3bf343(0xd1)](this[_0x3bf343(0xcc)]),Array[_0x3bf343(0xd1)](_0x4c738f)),this[_0x3bf343(0xcc)],_0x4c738f);}[_0xbe2587(0x79)](){const _0xd5fdae=_0xbe2587;ms(_0x39f7e0(Array[_0xd5fdae(0xd1)](this[_0xd5fdae(0xcc)]),Array[_0xd5fdae(0xd1)](this[_0xd5fdae(0x89)])),this[_0xd5fdae(0xcc)],this[_0xd5fdae(0x89)]);for(const _0x248643 of this[_0xd5fdae(0xcc)])_0x248643[_0xd5fdae(0xa0)]();}[_0xbe2587(0xbd)](){const _0x31fb6b=_0xbe2587;this[_0x31fb6b(0x89)][_0x31fb6b(0x74)](_0x1d81d2=>{const _0x3cf428=_0x31fb6b;this[_0x3cf428(0xc6)][_0x3cf428(0xa9)](_0x1d81d2[_0x3cf428(0xaa)]),this[_0x3cf428(0xa1)][_0x3cf428(0xa4)](_0x1d81d2[_0x3cf428(0xaa)]);}),this[_0x31fb6b(0x89)]['on'](_0x31fb6b(0xce),(_0xb3f412,_0x192ac6)=>{const _0x11971a=_0x31fb6b;for(const _0x92933c of _0x192ac6[_0x11971a(0x7e)])this[_0x11971a(0xc6)][_0x11971a(0xbe)](_0x92933c[_0x11971a(0xaa)]),this[_0x11971a(0xa1)][_0x11971a(0x7b)](_0x92933c[_0x11971a(0xaa)]);for(const _0x551f82 of Array[_0x11971a(0xd1)](_0x192ac6[_0x11971a(0x95)])[_0x11971a(0xcf)]())this[_0x11971a(0xc6)][_0x11971a(0xa9)](_0x551f82[_0x11971a(0xaa)]),this[_0x11971a(0xa1)][_0x11971a(0xa4)](_0x551f82[_0x11971a(0xaa)]);});}}function ms(_0x1f9346,_0x4ede83,_0x547479){const _0x19cff4=_0xbe2587;let _0x1353f9=0x0;for(const _0x117037 of _0x1f9346)switch(_0x117037){case _0x19cff4(0x9f):_0x4ede83[_0x19cff4(0xa9)](_0x547479[_0x19cff4(0x8d)](_0x1353f9),_0x1353f9),_0x1353f9++;break;case _0x19cff4(0xd3):_0x4ede83[_0x19cff4(0xbe)](_0x1353f9);break;case _0x19cff4(0x8f):_0x1353f9++;}}function _0x1444(){const _0x53569a=['reverse','isActive','from','change:isEditMode','delete','length','forEach','12569176wuRrUy','target','Thread\x20comments','viewUid','_rearrangeExpand','resolvedCommentView','stopListening','commentUpdated','_updateHasDirtyComment','removed','destroy','createCollection','map','resolved','3297906vshoqu','hasDirtyComment','change:isActive','resolveCommentThread','CommentView','updateComment','commentViews','182nezozV','count','maxThreadTotalWeight','get','2655CxwwLM','equal','_calculatePosition','editorReady','ck-hidden','setTemplate','Marked\x20as\x20resolved','added','focus','change:isResolved','removeComment','_findOptimalIndex','authoredAt','bindTemplate','14636HcvwTI','arrowup','focusLast','insert','expand','keystrokes','refreshVisibleViews','ck-thread__comments','listenTo','comments','focusCycler','render','970KNmOpj','add','element','bind','focusFirst','arrowdown','maxCommentsWhenCollapsed','_model','isEditMode','weight','includes','editorConfig','_collapsedCommentsView','resolvedBy','some','2036892MlFEiT','211242dORMdu','_shouldCollapse','resolvedAt','_handleRemoveCommentModel','_rearrangeCollapse','_setupKeyboardNavigation','remove','delegate','set','272676tfVMjn','formatDateTime','locale','editorDestroyed','76750VJishF','focusTracker','_config','collapse','_handleInfoComment','_handleNewCommentModel','maxCommentCharsWhenCollapsed','visibleViews','change:hasDirtyComment','change'];_0x1444=function(){return _0x53569a;};return _0x1444();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2cb266=_0x4499;(function(_0x2b24da,_0x447d95){const _0x3a687b=_0x4499,_0x46af54=_0x2b24da();while(!![]){try{const _0x525076=-parseInt(_0x3a687b(0x9c))/0x1+parseInt(_0x3a687b(0x9f))/0x2*(-parseInt(_0x3a687b(0xaa))/0x3)+-parseInt(_0x3a687b(0xa5))/0x4*(parseInt(_0x3a687b(0xa1))/0x5)+-parseInt(_0x3a687b(0xa0))/0x6+-parseInt(_0x3a687b(0xa6))/0x7*(parseInt(_0x3a687b(0xad))/0x8)+-parseInt(_0x3a687b(0xab))/0x9*(parseInt(_0x3a687b(0xaf))/0xa)+parseInt(_0x3a687b(0x9e))/0xb*(parseInt(_0x3a687b(0xa7))/0xc);if(_0x525076===_0x447d95)break;else _0x46af54['push'](_0x46af54['shift']());}catch(_0x562334){_0x46af54['push'](_0x46af54['shift']());}}}(_0x29e6,0x75fec));import{View as _0x415e84}from'ckeditor5/src/ui.js';function _0x4499(_0xe689cf,_0x33a3fb){const _0x29e689=_0x29e6();return _0x4499=function(_0x4499e3,_0x32c229){_0x4499e3=_0x4499e3-0x9b;let _0x5bb06b=_0x29e689[_0x4499e3];return _0x5bb06b;},_0x4499(_0xe689cf,_0x33a3fb);}import{getTranslation as _0x44da9f}from'../../../utils/common-translations.js';export default class ls extends _0x415e84{constructor(_0x1bb962){const _0x2b2e08=_0x4499;super(_0x1bb962);const _0x2a8908=this[_0x2b2e08(0xa3)];this[_0x2b2e08(0xae)](_0x2b2e08(0xac),''),this[_0x2b2e08(0xa9)]({'tag':_0x2b2e08(0xa2),'attributes':{'class':['ck',_0x2b2e08(0xa4)],'aria-label':_0x2a8908['to'](_0x2b2e08(0xac),_0x38fe35=>_0x44da9f(_0x1bb962,_0x2b2e08(0xa8),_0x38fe35)),'tabindex':-0x1},'children':[{'text':_0x2a8908['to'](_0x2b2e08(0xac))}]});}[_0x2cb266(0x9d)](){const _0x4b5975=_0x2cb266;this[_0x4b5975(0x9b)][_0x4b5975(0x9d)]();}}function _0x29e6(){const _0x28d688=['11hJkAre','405070clFQiN','5665644PmGMSR','15SyjkdR','span','bindTemplate','ck-context__value','679012nfDhnh','14cEyHMV','52457772voYhkS','THREAD_CONTEXT_LABEL','setTemplate','3sMyysG','180567OHDfJQ','contextValue','2175512QmYBkN','set','420wVdZgy','element','845581IWXvDZ','focus'];_0x29e6=function(){return _0x28d688;};return _0x29e6();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bd289=_0x50d4;(function(_0x25538f,_0x3a3f38){const _0x276daf=_0x50d4,_0x39131a=_0x25538f();while(!![]){try{const _0x347dd1=parseInt(_0x276daf(0x14e))/0x1+parseInt(_0x276daf(0x194))/0x2*(-parseInt(_0x276daf(0x15d))/0x3)+-parseInt(_0x276daf(0x197))/0x4*(-parseInt(_0x276daf(0x165))/0x5)+-parseInt(_0x276daf(0x181))/0x6*(-parseInt(_0x276daf(0x171))/0x7)+-parseInt(_0x276daf(0x151))/0x8+-parseInt(_0x276daf(0x15a))/0x9*(parseInt(_0x276daf(0x153))/0xa)+parseInt(_0x276daf(0x193))/0xb*(parseInt(_0x276daf(0x17b))/0xc);if(_0x347dd1===_0x3a3f38)break;else _0x39131a['push'](_0x39131a['shift']());}catch(_0x3d024e){_0x39131a['push'](_0x39131a['shift']());}}}(_0x49f1,0x18b2e));import{View as _0x115a79,ButtonView as _0x4434e3,FocusCycler as _0x11fdf0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5b54f9,KeystrokeHandler as _0x2e3599}from'ckeditor5/src/utils.js';import{getTranslation as _0x1af542}from'../../../utils/common-translations.js';import _0x34c107 from'../../../../theme/icons/undo.svg';function _0x50d4(_0x462a95,_0x2672ae){const _0x49f114=_0x49f1();return _0x50d4=function(_0x50d458,_0xad2fc4){_0x50d458=_0x50d458-0x14e;let _0xdf611d=_0x49f114[_0x50d458];return _0xdf611d;},_0x50d4(_0x462a95,_0x2672ae);}import _0x224259 from'./commentthreadheadercontextview.js';function _0x49f1(){const _0x1452b2=['ck-context','.ck-context','contextView','isEnabled','1032WTKuIA','classList','querySelector','context','add','keystrokes','6HdvnmG','listenTo','bind','focusFirst','_attachContextActions','isReadOnly','.ck-context__value','locale','isResolvable','_model','ck-annotation__actions','focusCycler','_createContextView','mouseenter','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','reopenCommentThread','contextValue','231bRjKHg','10996ykQnAn','length','isVisible','371836BBXIKf','130562gxtPVa','remove','focusables','842928LeCqCt','lastIndexOf','30VRbXxA','substring','ck-context-wrapper','render','icon','createCollection','_trimContextValue','63432NNaSqG','shift+tab','_setupKeyboardNavigation','75gulznW','ck-thread__header','label','setTemplate','...','hasContext','tooltip','focusTracker','5eydYSJ','bindTemplate','element','reopenButtonView','execute','ck-context--quotes','tab','scrollWidth','value','fire','Reopen','div','978593DedJAr','focus','mouseleave','overlay','isResolved','_createReopenButton'];_0x49f1=function(){return _0x1452b2;};return _0x49f1();}export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x115a79{constructor(_0x2cc673,_0xf98bfa){const _0x919d89=_0x50d4;super(_0x2cc673);const _0x2ef65e=this[_0x919d89(0x166)];this[_0x919d89(0x18a)]=_0xf98bfa,this[_0x919d89(0x168)]=this[_0x919d89(0x176)](),this[_0x919d89(0x179)]=this[_0x919d89(0x18d)](),this[_0x919d89(0x150)]=this[_0x919d89(0x158)]([this[_0x919d89(0x179)],this[_0x919d89(0x168)]]),this[_0x919d89(0x164)]=new _0x5b54f9(),this[_0x919d89(0x180)]=new _0x2e3599(),this[_0x919d89(0x18c)]=new _0x11fdf0({'focusables':this[_0x919d89(0x150)],'focusTracker':this[_0x919d89(0x164)],'keystrokeHandler':this[_0x919d89(0x180)],'actions':{'focusPrevious':_0x919d89(0x15b),'focusNext':_0x919d89(0x16b)}}),this[_0x919d89(0x183)](_0x919d89(0x162))['to'](this[_0x919d89(0x18a)],_0x919d89(0x17e),_0x471925=>!!_0x471925),this[_0x919d89(0x183)](_0x919d89(0x192))['to'](this[_0x919d89(0x18a)],_0x919d89(0x17e),_0x1a1cbb=>_0x1a1cbb&&_0x1a1cbb[_0x919d89(0x16d)]?this[_0x919d89(0x159)](_0x1a1cbb[_0x919d89(0x16d)]):_0x1af542(this[_0x919d89(0x188)],_0x919d89(0x190))),this[_0x919d89(0x160)]({'tag':_0x919d89(0x170),'attributes':{'class':[_0x919d89(0x15e)]},'children':[{'tag':_0x919d89(0x170),'attributes':{'class':[_0x919d89(0x155)]},'children':[{'tag':_0x919d89(0x170),'attributes':{'class':[_0x919d89(0x177),_0x2ef65e['if'](_0x919d89(0x162),_0x919d89(0x16a))]},'children':[this[_0x919d89(0x179)]]}]},{'tag':_0x919d89(0x170),'attributes':{'class':[_0x919d89(0x18b)]},'children':[this[_0x919d89(0x168)]]}]});}[_0x2bd289(0x156)](){const _0x4e356c=_0x2bd289;super[_0x4e356c(0x156)](),this[_0x4e356c(0x185)](),this[_0x4e356c(0x15c)]();}[_0x2bd289(0x172)](){const _0xa18831=_0x2bd289;this[_0xa18831(0x18c)][_0xa18831(0x184)]();}[_0x2bd289(0x176)](){const _0x1ce29e=_0x2bd289,_0xf6b794=new _0x4434e3(this[_0x1ce29e(0x188)]);return _0xf6b794[_0x1ce29e(0x15f)]=_0x1af542(this[_0x1ce29e(0x188)],_0x1ce29e(0x16f)),_0xf6b794[_0x1ce29e(0x163)]=_0x1af542(this[_0x1ce29e(0x188)],_0x1ce29e(0x16f)),_0xf6b794[_0x1ce29e(0x157)]=_0x34c107,_0xf6b794[_0x1ce29e(0x183)](_0x1ce29e(0x17a))['to'](this[_0x1ce29e(0x18a)],_0x1ce29e(0x186),_0x2cb851=>!_0x2cb851),_0xf6b794[_0x1ce29e(0x183)](_0x1ce29e(0x196))['to'](this[_0x1ce29e(0x18a)],_0x1ce29e(0x189),this[_0x1ce29e(0x18a)],_0x1ce29e(0x175),(_0x38f412,_0xb52371)=>_0x38f412&&_0xb52371),_0xf6b794['on'](_0x1ce29e(0x169),()=>{const _0x21090a=_0x1ce29e;this[_0x21090a(0x16e)](_0x21090a(0x191),this[_0x21090a(0x18a)]['id']);}),_0xf6b794;}[_0x2bd289(0x159)](_0xe9220c){const _0x192613=_0x2bd289;if(_0xe9220c[_0x192613(0x195)]<0x96)return _0xe9220c;const _0x1a6d9b=_0xe9220c[_0x192613(0x152)]('\x20',0x93);return _0xe9220c[_0x192613(0x154)](0x0,_0x1a6d9b>-0x1?_0x1a6d9b:0x93)+_0x192613(0x161);}[_0x2bd289(0x185)](){const _0x3bdca6=_0x2bd289,_0x39ab0e=this[_0x3bdca6(0x167)][_0x3bdca6(0x17d)](_0x3bdca6(0x178)),_0x48493a=_0x39ab0e[_0x3bdca6(0x17d)](_0x3bdca6(0x187));this[_0x3bdca6(0x182)](_0x39ab0e,_0x3bdca6(0x18e),()=>{const _0x2eeffd=_0x3bdca6;_0x48493a[_0x2eeffd(0x18f)]<_0x48493a[_0x2eeffd(0x16c)]&&_0x39ab0e[_0x2eeffd(0x17c)][_0x2eeffd(0x17f)](_0x2eeffd(0x174));}),this[_0x3bdca6(0x182)](_0x39ab0e,_0x3bdca6(0x173),()=>{const _0x43365f=_0x3bdca6;_0x39ab0e[_0x43365f(0x17c)][_0x43365f(0x14f)](_0x43365f(0x174));});}[_0x2bd289(0x15c)](){const _0x549233=_0x2bd289;this[_0x549233(0x180)][_0x549233(0x182)](this[_0x549233(0x167)]);for(const _0x174c7f of this[_0x549233(0x150)])this[_0x549233(0x164)][_0x549233(0x17f)](_0x174c7f[_0x549233(0x167)]),this[_0x549233(0x180)][_0x549233(0x182)](_0x174c7f[_0x549233(0x167)]);}[_0x2bd289(0x18d)](){const _0x53eb38=_0x2bd289,_0x5c2ed2=new _0x224259(this[_0x53eb38(0x188)]);return _0x5c2ed2[_0x53eb38(0x183)](_0x53eb38(0x192))['to'](this),_0x5c2ed2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x295dd4=_0x261a;(function(_0x3afa19,_0x4f3418){const _0xd9d88f=_0x261a,_0xa268fb=_0x3afa19();while(!![]){try{const _0xcb6675=-parseInt(_0xd9d88f(0x18b))/0x1*(-parseInt(_0xd9d88f(0x19a))/0x2)+-parseInt(_0xd9d88f(0x186))/0x3*(parseInt(_0xd9d88f(0x191))/0x4)+parseInt(_0xd9d88f(0x193))/0x5+parseInt(_0xd9d88f(0x1a0))/0x6*(-parseInt(_0xd9d88f(0x188))/0x7)+-parseInt(_0xd9d88f(0x19b))/0x8+parseInt(_0xd9d88f(0x189))/0x9+-parseInt(_0xd9d88f(0x1b3))/0xa*(-parseInt(_0xd9d88f(0x19d))/0xb);if(_0xcb6675===_0x4f3418)break;else _0xa268fb['push'](_0xa268fb['shift']());}catch(_0xed1019){_0xa268fb['push'](_0xa268fb['shift']());}}}(_0x4da9,0x2cbff));import{View as _0x269c60}from'ckeditor5/src/ui.js';function _0x261a(_0x1a9283,_0x45bb7b){const _0x4da9b4=_0x4da9();return _0x261a=function(_0x261ace,_0x3124f2){_0x261ace=_0x261ace-0x184;let _0x4fe880=_0x4da9b4[_0x261ace];return _0x4fe880;},_0x261a(_0x1a9283,_0x45bb7b);}import _0x10632d from'./commentinputview.js';import{UserView as _0x33bd56}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Pt extends _0x269c60{constructor(_0x4bcb42,_0x22d4a7,_0x14b117){const _0x289389=_0x261a;super(_0x4bcb42),this[_0x289389(0x18f)]=new _0x10632d(_0x4bcb42,_0x14b117),this[_0x289389(0x19f)]=this[_0x289389(0x18f)][_0x289389(0x19f)],this[_0x289389(0x18f)][_0x289389(0x19c)](_0x289389(0x194))['to'](this[_0x289389(0x18f)][_0x289389(0x184)],_0x289389(0x1b5),this[_0x289389(0x18f)],_0x289389(0x1a6),(_0x4039c4,_0x3a2ded)=>_0x4039c4||!!_0x3a2ded),this[_0x289389(0x192)](_0x289389(0x1a7),!0x1),this['on'](_0x289389(0x187),()=>{const _0x300c24=_0x289389;this[_0x300c24(0x1a7)]&&!this[_0x300c24(0x18f)][_0x300c24(0x1a1)]&&this[_0x300c24(0x18f)][_0x300c24(0x1b1)]();}),this[_0x289389(0x18f)][_0x289389(0x1b4)](_0x289389(0x1a5))['to'](this),this[_0x289389(0x18f)][_0x289389(0x1b4)](_0x289389(0x1ae))['to'](this),this[_0x289389(0x199)]=new _0x33bd56(_0x4bcb42,_0x22d4a7),this[_0x289389(0x199)][_0x289389(0x1a3)]({'attributes':{'class':_0x289389(0x1ac),'aria-hidden':!0x0}}),this[_0x289389(0x18f)][_0x289389(0x1a3)]({'attributes':{'class':_0x289389(0x1af)}}),this[_0x289389(0x19e)]({'tag':_0x289389(0x18d),'attributes':{'class':[_0x289389(0x1a2),this[_0x289389(0x1ad)]['if'](_0x289389(0x1a7),_0x289389(0x185))]},'children':[this[_0x289389(0x199)],this[_0x289389(0x18f)]]});}[_0x295dd4(0x198)](){const _0x1a093f=_0x295dd4;super[_0x1a093f(0x198)](),this[_0x1a093f(0x18a)]();}[_0x295dd4(0x1a9)](){const _0x958576=_0x295dd4;return this[_0x958576(0x18f)][_0x958576(0x1a9)]()[_0x958576(0x196)](()=>super[_0x958576(0x1a9)]());}[_0x295dd4(0x1b2)](_0x5a6e48){const _0x469717=_0x295dd4;this[_0x469717(0x18f)][_0x469717(0x1b2)](_0x5a6e48);}[_0x295dd4(0x18a)](){const _0x866bec=_0x295dd4;this[_0x866bec(0x190)](this[_0x866bec(0x1b6)],_0x866bec(0x1b0),(_0x7b7385,_0xa7d5a2)=>{const _0x3900ec=_0x866bec,{submitButtonView:_0x3f7e4d,cancelButtonView:_0x41e817,editor:_0x3a6a96}=this[_0x3900ec(0x18f)];[_0x3f7e4d[_0x3900ec(0x1b6)],_0x41e817[_0x3900ec(0x1b6)],_0x3a6a96?_0x3a6a96[_0x3900ec(0x18c)][_0x3900ec(0x1a8)][_0x3900ec(0x1aa)]():null][_0x3900ec(0x195)](_0x42b38a=>_0x42b38a)[_0x3900ec(0x1ab)](_0x3e1631=>_0x3e1631[_0x3900ec(0x18e)](_0xa7d5a2[_0x3900ec(0x197)]))||(this[_0x3900ec(0x1b2)](),_0xa7d5a2[_0x3900ec(0x1a4)]());});}}function _0x4da9(){const _0x4d04c8=['focusCycler','6JNPZEj','editor','ck-comment__input-container','extendTemplate','preventDefault','editorReady','value','showInput','view','destroy','getDomRoot','some','ck-thread__user','bindTemplate','editorDestroyed','ck-thread__input','mousedown','createEditor','focus','149540IfEqcJ','delegate','isFocused','element','focusTracker','ck-comment__input-container--active','485019AAliRU','change:showInput','996387zxUDWq','1336707bYKCMe','_focusOnNonInteractiveMouseDown','1yAfDai','editing','div','contains','commentInputView','listenTo','4okigwg','set','1625490GDpqkm','showButtons','filter','then','target','render','userView','615110zKUBbl','2470568YbnrzL','bind','11glgetR','setTemplate'];_0x4da9=function(){return _0x4d04c8;};return _0x4da9();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x48e4d5=_0x52c5;(function(_0x3abe15,_0x52d6bb){const _0x3013b1=_0x52c5,_0x324c80=_0x3abe15();while(!![]){try{const _0x44ff6b=parseInt(_0x3013b1(0x118))/0x1*(-parseInt(_0x3013b1(0x158))/0x2)+parseInt(_0x3013b1(0x143))/0x3+parseInt(_0x3013b1(0x13e))/0x4+-parseInt(_0x3013b1(0x12e))/0x5*(parseInt(_0x3013b1(0x15b))/0x6)+parseInt(_0x3013b1(0x14d))/0x7+parseInt(_0x3013b1(0x15c))/0x8*(parseInt(_0x3013b1(0x147))/0x9)+-parseInt(_0x3013b1(0x157))/0xa*(parseInt(_0x3013b1(0x14a))/0xb);if(_0x44ff6b===_0x52d6bb)break;else _0x324c80['push'](_0x324c80['shift']());}catch(_0x43b9ef){_0x324c80['push'](_0x324c80['shift']());}}}(_0x1370,0x5dcac));import{ConfirmMixin as _0x5ddc5a,LateFocusButtonView as _0x39ed7d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x52c5(_0xd9d558,_0x14113e){const _0x1370b3=_0x1370();return _0x52c5=function(_0x52c549,_0x140460){_0x52c549=_0x52c549-0x104;let _0xe23e6=_0x1370b3[_0x52c549];return _0xe23e6;},_0x52c5(_0xd9d558,_0x14113e);}import{icons as _0x400bb6}from'ckeditor5/src/core.js';import _0x2e2e69 from'./basecommentthreadview.js';import{getTranslation as _0x1002aa}from'../../../utils/common-translations.js';function _0x1370(){const _0x53fa84=['ck-comment--resolve','setTemplate','ck-thread--unlinked','focusables','956637QUpZrp','fire','commentThreadChildren','change:archivedAt','423lIGKpr','bindTemplate','high','33VeQkFL','has','commentThreadInputView','3322795EmboJt','tooltip','unbind','resolveButton','archivedAt','cancelConfirm','change:isActive','isReadOnly','locale','ck-thread--active','1344110ikwEIX','502850aKqeRr','isVisible','_createResolveButton','1381926wWXYbs','81368JKjDmF','Delete\x20comment\x20thread?','actionBar','isEnabled','_boundFirstCommentView','commentViews','ck-reset_all-excluded','stop','check','isSystemComment','commentsListView','actionIndicator','label','element','change:isReadOnly','ck-rounded-corners','commentThreadHeaderView','isConfirm','div','isUnlinked','Write\x20a\x20comment...','then','ariaDescriptionView','icon','3OdPneF','ck-thread--remove-confirmation','_bindFirstCommentView','isResolvable','containerElement','extendTemplate','placeholder','querySelector','removeConfirm','set','resolveCommentThread','ariaLabel','ck-thread__container','length','get','listenTo','render','removeCommentThread','_updateArchivedThreadHeader','_model','getTemplate','ck-thread--','10EadHPS','Resolve','execute','focus','ck-thread','isActive','_cancelAllConfirms','.ck-thread__container','removeButton','showConfirm','isResolved','createCollection','listitem','bind','add','remove','2922884stSouv'];_0x1370=function(){return _0x53fa84;};return _0x1370();}export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5ddc5a(_0x2e2e69){constructor(_0x28edd8,_0x23e05d,_0x421ca4,_0xe8cb59){const _0x4d6b10=_0x52c5;super(_0x28edd8,_0x23e05d,_0x421ca4,_0xe8cb59),this[_0x4d6b10(0x145)]=this[_0x4d6b10(0x139)]([this[_0x4d6b10(0x10a)],this[_0x4d6b10(0x14c)],this[_0x4d6b10(0x116)]]),this[_0x4d6b10(0x121)](_0x4d6b10(0x10b),null),this[_0x4d6b10(0x11c)]=null,this[_0x4d6b10(0x104)]=null,this[_0x4d6b10(0x155)]=_0x28edd8,this[_0x4d6b10(0x150)]=this[_0x4d6b10(0x15a)](),this[_0x4d6b10(0x140)](this[_0x4d6b10(0x12c)]()),this['on'](_0x4d6b10(0x153),(_0x59afc0,_0x404c8d,_0x533af8)=>{const _0x5b4e03=_0x4d6b10;_0x533af8||this[_0x5b4e03(0x134)]();}),this[_0x4d6b10(0x127)](this[_0x4d6b10(0x12b)],_0x4d6b10(0x10e),(_0x1ca345,_0x30882c,_0x434248)=>{const _0x2b2471=_0x4d6b10;_0x434248&&this[_0x2b2471(0x134)]();}),this[_0x4d6b10(0x125)]>0x0&&this[_0x4d6b10(0x11a)](),this[_0x4d6b10(0x127)](this[_0x4d6b10(0x10a)][_0x4d6b10(0x105)],_0x4d6b10(0x13c),()=>{const _0x29b4b5=_0x4d6b10;this[_0x29b4b5(0x11a)]();});}[_0x48e4d5(0x12c)](){const _0x315bc3=_0x48e4d5,_0x21ed9a=this[_0x315bc3(0x148)];return{'tag':_0x315bc3(0x112),'attributes':{'class':['ck',_0x315bc3(0x132),_0x315bc3(0x106),_0x315bc3(0x10f),_0x21ed9a['if'](_0x315bc3(0x133),_0x315bc3(0x156)),_0x21ed9a['if'](_0x315bc3(0x113),_0x315bc3(0x141)),_0x21ed9a['if'](_0x315bc3(0x111),_0x315bc3(0x119)),_0x21ed9a['to'](_0x315bc3(0x10b),_0x45eea1=>_0x45eea1?_0x315bc3(0x12d)+_0x45eea1:'')],'data-thread-id':this[_0x315bc3(0x12b)]['id'],'tabindex':0x0,'role':_0x315bc3(0x13a),'aria-label':_0x21ed9a['to'](_0x315bc3(0x123)),'aria-describedby':this[_0x315bc3(0x116)]['id']},'children':[{'tag':_0x315bc3(0x112),'attributes':{'class':_0x315bc3(0x124)},'children':this[_0x315bc3(0x145)]}]};}[_0x48e4d5(0x128)](){const _0x535b75=_0x48e4d5;super[_0x535b75(0x128)](),this[_0x535b75(0x11c)]=this[_0x535b75(0x10d)][_0x535b75(0x11f)](_0x535b75(0x135)),this[_0x535b75(0x12b)]['on'](_0x535b75(0x146),()=>{const _0x5d9f92=_0x535b75;this[_0x5d9f92(0x12a)]();}),this[_0x535b75(0x12a)]();}[_0x48e4d5(0x134)](){const _0xd6d53e=_0x48e4d5;this[_0xd6d53e(0x152)]();for(const _0x3a1ea1 of this[_0xd6d53e(0x10a)][_0xd6d53e(0x105)])_0x3a1ea1[_0xd6d53e(0x152)]();}[_0x48e4d5(0x11a)](){const _0x4926af=_0x48e4d5,{locale:_0x1eefcb}=this,_0x25d173=this[_0x4926af(0x10a)][_0x4926af(0x105)][_0x4926af(0x126)](0x0);_0x25d173===this[_0x4926af(0x104)]||_0x25d173[_0x4926af(0x109)]||(this[_0x4926af(0x104)]=_0x25d173,this[_0x4926af(0x14f)](_0x4926af(0x10b)),this[_0x4926af(0x13b)](_0x4926af(0x10b))['to'](_0x25d173,_0x4926af(0x10b),_0x242b25=>_0x4926af(0x13d)===_0x242b25?_0x4926af(0x13d):null),_0x25d173[_0x4926af(0x11e)]=_0x1002aa(_0x1eefcb,_0x4926af(0x114)),_0x25d173[_0x4926af(0x136)]['on'](_0x4926af(0x130),_0x556c58=>{const _0x25c65e=_0x4926af;_0x556c58[_0x25c65e(0x107)](),this[_0x25c65e(0x137)](_0x1002aa(_0x1eefcb,_0x25c65e(0x15d)),this[_0x25c65e(0x11c)])[_0x25c65e(0x115)](()=>{const _0x459375=_0x25c65e;this[_0x459375(0x144)](_0x459375(0x129));});},{'priority':_0x4926af(0x149)}),this['on'](_0x4926af(0x120),()=>{const _0x387b4a=_0x4926af;_0x25d173[_0x387b4a(0x131)]();}),_0x25d173[_0x4926af(0x15e)][_0x4926af(0x13c)](this[_0x4926af(0x150)],0x0),_0x25d173[_0x4926af(0x142)][_0x4926af(0x13c)](this[_0x4926af(0x150)],0x0));}[_0x48e4d5(0x15a)](){const _0x3525a7=_0x48e4d5,_0x3779d6=new _0x39ed7d(this[_0x3525a7(0x155)]);return _0x3779d6[_0x3525a7(0x10c)]=_0x1002aa(this[_0x3525a7(0x155)],_0x3525a7(0x12f)),_0x3779d6[_0x3525a7(0x14e)]=_0x1002aa(this[_0x3525a7(0x155)],_0x3525a7(0x12f)),_0x3779d6[_0x3525a7(0x117)]=_0x400bb6[_0x3525a7(0x108)],_0x3779d6[_0x3525a7(0x11d)]({'attributes':{'class':_0x3525a7(0x13f)}}),_0x3779d6[_0x3525a7(0x13b)](_0x3525a7(0x15f))['to'](this[_0x3525a7(0x12b)],_0x3525a7(0x154),_0x5c7dfc=>!_0x5c7dfc),_0x3779d6[_0x3525a7(0x13b)](_0x3525a7(0x159))['to'](this[_0x3525a7(0x12b)],_0x3525a7(0x11b),this[_0x3525a7(0x12b)],_0x3525a7(0x138),(_0x32b54f,_0x36c59f)=>_0x32b54f&&!_0x36c59f),_0x3779d6['on'](_0x3525a7(0x130),()=>{const _0x2c61de=_0x3525a7;this[_0x2c61de(0x144)](_0x2c61de(0x122),this[_0x2c61de(0x12b)]['id']);}),_0x3779d6;}[_0x48e4d5(0x12a)](){const _0x3780f1=_0x48e4d5;this[_0x3780f1(0x12b)][_0x3780f1(0x151)]?this[_0x3780f1(0x145)][_0x3780f1(0x14b)](this[_0x3780f1(0x110)])||(this[_0x3780f1(0x145)][_0x3780f1(0x13c)](this[_0x3780f1(0x110)],0x0),this[_0x3780f1(0x142)][_0x3780f1(0x13c)](this[_0x3780f1(0x110)],0x0)):this[_0x3780f1(0x145)][_0x3780f1(0x14b)](this[_0x3780f1(0x110)])&&(this[_0x3780f1(0x145)][_0x3780f1(0x13d)](this[_0x3780f1(0x110)]),this[_0x3780f1(0x142)][_0x3780f1(0x13d)](this[_0x3780f1(0x110)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x542013=_0x3538;(function(_0x1d6445,_0x1bf5cc){const _0x507ada=_0x3538,_0xb62d2c=_0x1d6445();while(!![]){try{const _0x28f343=-parseInt(_0x507ada(0xd8))/0x1*(parseInt(_0x507ada(0xd2))/0x2)+-parseInt(_0x507ada(0xcd))/0x3+parseInt(_0x507ada(0xd4))/0x4*(parseInt(_0x507ada(0x10c))/0x5)+-parseInt(_0x507ada(0xfd))/0x6+parseInt(_0x507ada(0x12a))/0x7*(-parseInt(_0x507ada(0xbb))/0x8)+-parseInt(_0x507ada(0xfb))/0x9*(parseInt(_0x507ada(0xdf))/0xa)+parseInt(_0x507ada(0xeb))/0xb*(parseInt(_0x507ada(0xcb))/0xc);if(_0x28f343===_0x1bf5cc)break;else _0xb62d2c['push'](_0xb62d2c['shift']());}catch(_0x21e14c){_0xb62d2c['push'](_0xb62d2c['shift']());}}}(_0x32c3,0xa7db1));import{ButtonView as _0x5187c9,createDropdown as _0x5b6398,ListView as _0x4bed8f,ListItemView as _0x4c2ea7,focusChildOnDropdownOpen as _0x16c3a3}from'ckeditor5/src/ui.js';import{icons as _0x3c76ba}from'ckeditor5/src/core.js';function _0x3538(_0x1d35aa,_0x3f492f){const _0x32c387=_0x32c3();return _0x3538=function(_0x353801,_0x1a2e95){_0x353801=_0x353801-0xb7;let _0x27e24b=_0x32c387[_0x353801];return _0x27e24b;},_0x3538(_0x1d35aa,_0x3f492f);}function _0x32c3(){const _0x1fd3c7=['listenTo','author','ck-comment__info','getExternalCommentNote','isEditMode','removeComment','_model','render','getTemplate','change:isRemovable','panelView','actionBar','ck-comment__actions--hidden','formatDateTime','552sWvCrT','mouseleave','3990246tweDTj','ck-comment__info-time','userView','ck-annotation__info','ariaDescriptionView','2LsWhYy','threeVerticalDots','24whwykG','Remove','ariaLabel','ck-annotation','159080uRSumO','fire','focus','ck-annotation__actions--hidden','ck-comment__main','isVisible','blur','98710ehgMgH','ck-annotation__content-wrapper','locale','some','Delete\x20comment?','push','mouseenter','_createCommentInputView','placeholder','removeButton','_createEditButton','extendTemplate','689931GlUQiV','icon','ck-comment__wrapper','ck-comment--edit','time','isReadOnly','focusables','addMany','cancelConfirm','createCollection','edit','ck-hidden','authoredAt','withText','ck-annotation__info-name','Show\x20more\x20items','954dfDagn','isSystemComment','4280448hsCRkO','buttonView','name','switchToEditMode','element','visibleView','panelPosition','ck-comment__info-name','group','_createDropdown','isEnabled','Reply...','isExternal','ck-annotation__main','span','878265zSjQPG','remove','editButton','execute','label','dropdown','toMany','items','length','add','_config','ck-comment','ck-comment__actions','ck-comment__external','getUserViewNotificationText','ck-comment__user','resolvedAt','unbind','pencil','isRemovable','actionIndicator','bindTemplate','set','ck-comment--remove','_attachActions','ck-comment--remove-confirmation','ck-comment--info','find','listitem','from','7KRPOYg','bind','isEditable','ck-annotation__info-time','div','then','setTemplate','_createRemoveButton','isConfirm','ck-annotation__actions','ck-annotation__user','children','Edit','ck-comment--','21208hLnDuo','showConfirm'];_0x32c3=function(){return _0x1fd3c7;};return _0x32c3();}import{UserView as _0x40b936,ConfirmMixin as _0x46d68e,LateFocusDropdownButtonView as _0x2740d2}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x234ec8 from'./basecommentview.js';import _0x347c67 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x14d2f3}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x46d68e(_0x234ec8){constructor(_0x2656ad,_0x52e912,_0x5a29c1){const _0x24a54b=_0x3538;super(_0x2656ad,_0x52e912,_0x5a29c1),this[_0x24a54b(0x122)](_0x24a54b(0x120),null),this[_0x24a54b(0x122)](_0x24a54b(0xe7),_0x14d2f3(_0x2656ad,_0x24a54b(0x108))),this[_0x24a54b(0x12b)](_0x24a54b(0xf7))['to'](_0x52e912),this[_0x24a54b(0x12b)](_0x24a54b(0x11c))['to'](_0x52e912),this[_0x24a54b(0xc8)]=this[_0x24a54b(0xf4)](),this[_0x24a54b(0xfc)]||(this[_0x24a54b(0x10e)]=this[_0x24a54b(0xe9)](),this[_0x24a54b(0xe8)]=this[_0x24a54b(0x131)](),this[_0x24a54b(0x113)]=this[_0x24a54b(0xf4)](),this[_0x24a54b(0x113)][_0x24a54b(0xf2)]([this[_0x24a54b(0x10e)],this[_0x24a54b(0xe8)]]),this[_0x24a54b(0x111)]=this[_0x24a54b(0x106)](),this[_0x24a54b(0xc8)][_0x24a54b(0x115)](this[_0x24a54b(0x111)]),this[_0x24a54b(0xf1)][_0x24a54b(0x115)](this[_0x24a54b(0x111)])),this[_0x24a54b(0xcf)]=new _0x40b936(_0x2656ad,_0x52e912[_0x24a54b(0xbe)],this[_0x24a54b(0x11a)]()),this[_0x24a54b(0xcf)][_0x24a54b(0xea)]({'attributes':{'class':[_0x24a54b(0x11b),_0x24a54b(0xb7)],'aria-hidden':!0x0}}),this[_0x24a54b(0xbd)](_0x52e912,_0x24a54b(0xc6),()=>this[_0x24a54b(0xf3)]()),this[_0x24a54b(0x130)](this[_0x24a54b(0xc5)]());}[_0x542013(0xc5)](){const _0x4e13f1=_0x542013,_0xecac3d=this[_0x4e13f1(0x121)],_0x3da4bb=[{'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0xbf),_0x4e13f1(0xd0)]},'children':[{'tag':_0x4e13f1(0x10b),'children':[{'text':this[_0x4e13f1(0xcf)][_0x4e13f1(0xff)]}],'attributes':{'class':[_0x4e13f1(0x104),_0x4e13f1(0xf9)]}},{'tag':_0x4e13f1(0xef),'attributes':{'datetime':_0xecac3d['to'](_0x4e13f1(0xf7)),'class':[_0x4e13f1(0xce),_0x4e13f1(0x12d)]},'children':[{'text':_0xecac3d['to'](_0x4e13f1(0xf7),_0xca836f=>this[_0x4e13f1(0x116)][_0x4e13f1(0xca)](_0xca836f))}]}]},{'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0x118),_0x4e13f1(0x133),_0xecac3d['if'](_0x4e13f1(0xc1),_0x4e13f1(0xc9)),_0xecac3d['if'](_0x4e13f1(0xc1),_0x4e13f1(0xdb))]},'children':this[_0x4e13f1(0xc8)]},{'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0xe0)]},'children':this[_0x4e13f1(0x102)]},this[_0x4e13f1(0xd1)]];return this[_0x4e13f1(0xc3)][_0x4e13f1(0x109)]&&_0x3da4bb[_0x4e13f1(0xe4)]({'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0x119)]},'children':[{'text':this[_0x4e13f1(0xc0)]()}]}),{'tag':'li','attributes':{'class':[_0x4e13f1(0xed),_0xecac3d['if'](_0x4e13f1(0x132),_0x4e13f1(0x125))],'tabindex':-0x1,'aria-label':_0xecac3d['to'](_0x4e13f1(0xd6)),'aria-describedby':this[_0x4e13f1(0xd1)]['id'],'role':_0x4e13f1(0x128)},'children':[{'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0x117),_0x4e13f1(0xd7),_0xecac3d['if'](_0x4e13f1(0xc1),_0x4e13f1(0xee)),_0xecac3d['if'](_0x4e13f1(0xfc),_0x4e13f1(0x126)),_0xecac3d['to'](_0x4e13f1(0x120),_0x2d8983=>_0x2d8983?_0x4e13f1(0xba)+_0x2d8983:'')],'data-author-id':this[_0x4e13f1(0xc3)][_0x4e13f1(0xbe)]['id'],'data-comment-id':this[_0x4e13f1(0xc3)]['id'],'role':_0x4e13f1(0x105)},'children':[this[_0x4e13f1(0xcf)],{'tag':_0x4e13f1(0x12e),'attributes':{'class':[_0x4e13f1(0xdc),_0x4e13f1(0x10a)]},'children':_0x3da4bb}]}]};}[_0x542013(0xe9)](){const _0x4b94e0=_0x542013,_0x1c88d3=new _0x5187c9(this[_0x4b94e0(0xe1)]);return _0x1c88d3[_0x4b94e0(0x110)]=_0x14d2f3(this[_0x4b94e0(0xe1)],_0x4b94e0(0xb9)),_0x1c88d3[_0x4b94e0(0xec)]=_0x3c76ba[_0x4b94e0(0x11e)],_0x1c88d3[_0x4b94e0(0xf8)]=!0x0,_0x1c88d3[_0x4b94e0(0xea)]({'attributes':{'class':_0x4b94e0(0xee)}}),_0x1c88d3[_0x4b94e0(0x12b)](_0x4b94e0(0x107))['to'](this[_0x4b94e0(0xc3)],_0x4b94e0(0xf0),_0x25b3aa=>!_0x25b3aa),_0x1c88d3[_0x4b94e0(0x12b)](_0x4b94e0(0xdd))['to'](this[_0x4b94e0(0xc3)],_0x4b94e0(0x12c)),_0x1c88d3['on'](_0x4b94e0(0x10f),()=>this[_0x4b94e0(0x100)]()),_0x1c88d3;}[_0x542013(0x131)](){const _0x2f2d0d=_0x542013,_0x509ee5=new _0x5187c9(this[_0x2f2d0d(0xe1)]);return _0x509ee5[_0x2f2d0d(0x110)]=_0x14d2f3(this[_0x2f2d0d(0xe1)],_0x2f2d0d(0xd5)),_0x509ee5[_0x2f2d0d(0xec)]=_0x347c67,_0x509ee5[_0x2f2d0d(0xf8)]=!0x0,_0x509ee5[_0x2f2d0d(0xea)]({'attributes':{'class':_0x2f2d0d(0x123)}}),_0x509ee5[_0x2f2d0d(0x12b)](_0x2f2d0d(0x107))['to'](this[_0x2f2d0d(0xc3)],_0x2f2d0d(0xf0),_0x42c334=>!_0x42c334),_0x509ee5[_0x2f2d0d(0x12b)](_0x2f2d0d(0xdd))['to'](this[_0x2f2d0d(0xc3)],_0x2f2d0d(0x11f)),_0x509ee5['on'](_0x2f2d0d(0x10f),()=>{const _0x14f3e9=_0x2f2d0d;this[_0x14f3e9(0xbc)](_0x14d2f3(this[_0x14f3e9(0xe1)],_0x14f3e9(0xe3)),this[_0x14f3e9(0x101)])[_0x14f3e9(0x12f)](()=>{const _0x2c10ae=_0x14f3e9;this[_0x2c10ae(0xd9)](_0x2c10ae(0xc2),this[_0x2c10ae(0xc3)]['id']);});}),_0x509ee5;}[_0x542013(0x106)](){const _0x4511a9=_0x542013,_0xe50a8a=_0x5b6398(this[_0x4511a9(0xe1)],_0x2740d2),_0x437adf=_0xe50a8a[_0x4511a9(0xc7)][_0x4511a9(0xb8)],_0x120b96=new _0x4bed8f(this[_0x4511a9(0xe1)]),_0x51fe3b=_0xe50a8a[_0x4511a9(0x121)];_0x16c3a3(_0xe50a8a,()=>this[_0x4511a9(0x113)][_0x4511a9(0x127)](_0x2c022b=>_0x2c022b[_0x4511a9(0xdd)])),_0xe50a8a[_0x4511a9(0xea)]({'attributes':{'class':[_0x51fe3b['if'](_0x4511a9(0xdd),_0x4511a9(0xf6),_0x5e6d2b=>!_0x5e6d2b)]}});const _0x32c0c9=(_0x2627e3,_0x5f1fb4=-0x1)=>{const _0x2bc63e=_0x4511a9,_0x1786e4=new _0x4c2ea7(this[_0x2bc63e(0xe1)]);_0x1786e4[_0x2bc63e(0xb8)][_0x2bc63e(0x115)](_0x2627e3);const _0x5bdb0f=_0x5f1fb4>-0x1?_0x5f1fb4:_0x120b96[_0x2bc63e(0x113)][_0x2bc63e(0x114)];_0x120b96[_0x2bc63e(0x113)][_0x2bc63e(0x115)](_0x1786e4,_0x5bdb0f);const _0x14778f=Array[_0x2bc63e(0x129)](this[_0x2bc63e(0x113)]);_0xe50a8a[_0x2bc63e(0x11d)](_0x2bc63e(0x107),_0x2bc63e(0xdd)),_0xe50a8a[_0x2bc63e(0x12b)](_0x2bc63e(0x107))[_0x2bc63e(0x112)](_0x14778f,_0x2bc63e(0x107),(..._0xea251e)=>_0xea251e[_0x2bc63e(0xe2)](_0x206ed5=>_0x206ed5)),_0xe50a8a[_0x2bc63e(0x12b)](_0x2bc63e(0xdd))[_0x2bc63e(0x112)](_0x14778f,_0x2bc63e(0xdd),(..._0x1d1b56)=>_0x1d1b56[_0x2bc63e(0xe2)](_0x4a25e7=>_0x4a25e7));};_0xe50a8a[_0x4511a9(0x103)]='sw',_0xe50a8a[_0x4511a9(0xfe)][_0x4511a9(0x122)]({'label':_0x14d2f3(this[_0x4511a9(0xe1)],_0x4511a9(0xfa)),'icon':_0x3c76ba[_0x4511a9(0xd3)]});for(const _0x29a6da of this[_0x4511a9(0x113)])_0x32c0c9(_0x29a6da);return _0x437adf[_0x4511a9(0x115)](_0x120b96),_0xe50a8a[_0x4511a9(0xbd)](this[_0x4511a9(0x113)],_0x4511a9(0x115),(_0x3e7322,_0x3fa29d,_0x18a927)=>{_0x32c0c9(_0x3fa29d,_0x18a927);}),_0xe50a8a[_0x4511a9(0xbd)](this[_0x4511a9(0x113)],_0x4511a9(0x10d),(_0x16e4b9,_0x198b51,_0x16f2a4)=>{const _0x27a1bc=_0x4511a9;_0x120b96[_0x27a1bc(0x113)][_0x27a1bc(0x10d)](_0x16f2a4);}),_0xe50a8a;}[_0x542013(0x124)](_0x4e44a0,_0x5508a9){const _0x25ccf3=_0x542013,_0x3e4280=_0x4e44a0&&_0x4e44a0[_0x25ccf3(0x101)];_0x3e4280&&(this[_0x25ccf3(0xbd)](_0x3e4280,_0x25ccf3(0xe5),()=>this[_0x25ccf3(0x120)]=_0x5508a9),this[_0x25ccf3(0xbd)](_0x3e4280,_0x25ccf3(0xda),()=>this[_0x25ccf3(0x120)]=_0x5508a9),this[_0x25ccf3(0xbd)](_0x3e4280,_0x25ccf3(0xcc),()=>this[_0x25ccf3(0x120)]=null),this[_0x25ccf3(0xbd)](_0x3e4280,_0x25ccf3(0xde),()=>this[_0x25ccf3(0x120)]=null));}[_0x542013(0xe6)](){const _0xdf5839=_0x542013,_0x499909=super[_0xdf5839(0xe6)]();return _0x499909[_0xdf5839(0x12b)](_0xdf5839(0xe7))['to'](this),_0x499909;}[_0x542013(0xc4)](){const _0xd7afe8=_0x542013;super[_0xd7afe8(0xc4)](),this[_0xd7afe8(0x124)](this[_0xd7afe8(0x10e)],_0xd7afe8(0xf5)),this[_0xd7afe8(0x124)](this[_0xd7afe8(0xe8)],_0xd7afe8(0x10d));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x41f6(_0x3b0f71,_0x11750e){var _0x42b649=_0x42b6();return _0x41f6=function(_0x41f699,_0x141211){_0x41f699=_0x41f699-0x15e;var _0x24db0f=_0x42b649[_0x41f699];return _0x24db0f;},_0x41f6(_0x3b0f71,_0x11750e);}var _0x5f0a73=_0x41f6;(function(_0x1320f2,_0x4dfd32){var _0x3359b9=_0x41f6,_0x230b7b=_0x1320f2();while(!![]){try{var _0x34457f=-parseInt(_0x3359b9(0x16a))/0x1+parseInt(_0x3359b9(0x16c))/0x2+-parseInt(_0x3359b9(0x169))/0x3+parseInt(_0x3359b9(0x16d))/0x4*(parseInt(_0x3359b9(0x16b))/0x5)+parseInt(_0x3359b9(0x162))/0x6*(parseInt(_0x3359b9(0x163))/0x7)+parseInt(_0x3359b9(0x161))/0x8*(-parseInt(_0x3359b9(0x168))/0x9)+-parseInt(_0x3359b9(0x15f))/0xa*(parseInt(_0x3359b9(0x167))/0xb);if(_0x34457f===_0x4dfd32)break;else _0x230b7b['push'](_0x230b7b['shift']());}catch(_0x330b86){_0x230b7b['push'](_0x230b7b['shift']());}}}(_0x42b6,0xa9883));function _0x42b6(){var _0x41c4f9=['Comments','16hhQsKU','6360wxnxJx','5208VqUMdD','pluginName','requires','isOfficialPlugin','1193302JSHfeT','3051819mnXShs','1143699roIQaK','256968SjrbZf','6601505YQiaTF','2624222DrgsnW','4ydUVzw','isPremiumPlugin','130ycJIhQ'];_0x42b6=function(){return _0x41c4f9;};return _0x42b6();}import{Plugin as _0x1212b3}from'ckeditor5/src/core.js';import _0x1740c8 from'./comments/commentsrepository.js';import _0x493394 from'./comments/commentsediting.js';import _0x480389 from'./comments/commentsui.js';import _0x2626d0 from'./commentsonly.js';import _0x138844 from'./annotations/widesidebar.js';import _0x1be31f from'./annotations/narrowsidebar.js';import _0x2df950 from'./annotations/inlineannotations.js';import _0x3fb757 from'./comments/commentsarchiveui.js';import _0x29bb93 from'./comments/commentsarchive.js';export default class p extends _0x1212b3{static get[_0x5f0a73(0x165)](){return[_0x1740c8,_0x493394,_0x480389,_0x29bb93,_0x3fb757,_0x2626d0,_0x138844,_0x1be31f,_0x2df950];}static get[_0x5f0a73(0x164)](){var _0x180c0b=_0x5f0a73;return _0x180c0b(0x160);}static get[_0x5f0a73(0x166)](){return!0x0;}static get[_0x5f0a73(0x15e)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3f70(_0x4ca220,_0x12e22c){const _0x237bad=_0x237b();return _0x3f70=function(_0x3f7097,_0x268845){_0x3f7097=_0x3f7097-0x121;let _0x3a365c=_0x237bad[_0x3f7097];return _0x3a365c;},_0x3f70(_0x4ca220,_0x12e22c);}function _0x237b(){const _0x4641e9=['addCommentThread','78dxeKIn','commentsOnly','isEnabled','config','plugins','commands','get','8URlwFM','_disableCommentsOnlyMode','forceDisabled','editor','6950oYVpSL','afterInit','isPremiumPlugin','listenTo','has','editing','CommentsOnly','affectsData','document','300NTbePz','686571dSmzwy','clearForceDisabled','1781096KWVolZ','17498459kdrSBS','commentsOnlyMode','view','set','DragDrop','highest','stopListening','isOfficialPlugin','pluginName','52542NVsgtl','754185mzsdqX','1881Tluhdd','clipboardInput','requires','_enableCommentsOnlyMode','cut','15828HKHnnX','stop','change:isEnabled','delete'];_0x237b=function(){return _0x4641e9;};return _0x237b();}const _0x2e0fd7=_0x3f70;(function(_0x5de585,_0x198dde){const _0x3a4a1e=_0x3f70,_0x23238a=_0x5de585();while(!![]){try{const _0x4a0a6f=-parseInt(_0x3a4a1e(0x12a))/0x1+-parseInt(_0x3a4a1e(0x13d))/0x2*(-parseInt(_0x3a4a1e(0x142))/0x3)+-parseInt(_0x3a4a1e(0x149))/0x4*(parseInt(_0x3a4a1e(0x137))/0x5)+parseInt(_0x3a4a1e(0x129))/0x6*(-parseInt(_0x3a4a1e(0x136))/0x7)+-parseInt(_0x3a4a1e(0x12c))/0x8+-parseInt(_0x3a4a1e(0x138))/0x9*(-parseInt(_0x3a4a1e(0x14d))/0xa)+parseInt(_0x3a4a1e(0x12d))/0xb;if(_0x4a0a6f===_0x198dde)break;else _0x23238a['push'](_0x23238a['shift']());}catch(_0xdc5243){_0x23238a['push'](_0x23238a['shift']());}}}(_0x237b,0x56d16));import{Plugin as _0x2c73f9}from'ckeditor5/src/core.js';import _0xdee383 from'./comments/commentsediting.js';export default class s extends _0x2c73f9{static get[_0x2e0fd7(0x135)](){const _0x2c4994=_0x2e0fd7;return _0x2c4994(0x126);}static get[_0x2e0fd7(0x134)](){return!0x0;}static get[_0x2e0fd7(0x122)](){return!0x0;}static get[_0x2e0fd7(0x13a)](){return[_0xdee383];}constructor(_0x40b424){const _0x14d8f9=_0x2e0fd7;super(_0x40b424),this[_0x14d8f9(0x130)](_0x14d8f9(0x144),!0x1),this['on'](_0x14d8f9(0x13f),(_0x451df4,_0x5e5ba3,_0x4b836f)=>{const _0x2a310c=_0x14d8f9;_0x4b836f?this[_0x2a310c(0x13b)]():this[_0x2a310c(0x14a)]();});}[_0x2e0fd7(0x121)](){const _0xc82034=_0x2e0fd7;!this[_0xc82034(0x144)]&&this[_0xc82034(0x14c)][_0xc82034(0x145)][_0xc82034(0x148)](_0xc82034(0x143))&&(this[_0xc82034(0x144)]=!0x0);}[_0x2e0fd7(0x13b)](){const _0x3bdf68=_0x2e0fd7;for(const [_0x30c16e,_0x567835]of this[_0x3bdf68(0x14c)][_0x3bdf68(0x147)])_0x567835[_0x3bdf68(0x127)]&&_0x3bdf68(0x141)!==_0x30c16e&&_0x567835[_0x3bdf68(0x14b)](_0x3bdf68(0x12e));this[_0x3bdf68(0x14c)][_0x3bdf68(0x146)][_0x3bdf68(0x124)](_0x3bdf68(0x131))&&this[_0x3bdf68(0x14c)][_0x3bdf68(0x146)][_0x3bdf68(0x148)](_0x3bdf68(0x131))[_0x3bdf68(0x14b)](_0x3bdf68(0x12e));const _0x51a205=this[_0x3bdf68(0x14c)][_0x3bdf68(0x125)][_0x3bdf68(0x12f)][_0x3bdf68(0x128)];this[_0x3bdf68(0x123)](_0x51a205,_0x3bdf68(0x13c),_0xd93379=>_0xd93379[_0x3bdf68(0x13e)](),{'priority':_0x3bdf68(0x132)}),this[_0x3bdf68(0x123)](_0x51a205,_0x3bdf68(0x139),_0x19d99c=>_0x19d99c[_0x3bdf68(0x13e)](),{'priority':_0x3bdf68(0x132)}),this[_0x3bdf68(0x123)](_0x51a205,_0x3bdf68(0x140),_0x1217a6=>_0x1217a6[_0x3bdf68(0x13e)](),{'priority':_0x3bdf68(0x132)});}[_0x2e0fd7(0x14a)](){const _0x315631=_0x2e0fd7;for(const [_0x6d93b9,_0x3c524b]of this[_0x315631(0x14c)][_0x315631(0x147)])_0x3c524b[_0x315631(0x127)]&&_0x315631(0x141)!==_0x6d93b9&&_0x3c524b[_0x315631(0x12b)](_0x315631(0x12e));this[_0x315631(0x133)](this[_0x315631(0x14c)][_0x315631(0x125)][_0x315631(0x12f)][_0x315631(0x128)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4f0c74,_0x262ff8){var _0x2212e8=_0x53f8,_0x5ae94b=_0x4f0c74();while(!![]){try{var _0x27fe74=-parseInt(_0x2212e8(0x10d))/0x1+parseInt(_0x2212e8(0x107))/0x2+parseInt(_0x2212e8(0x10b))/0x3+-parseInt(_0x2212e8(0x109))/0x4+-parseInt(_0x2212e8(0x108))/0x5+-parseInt(_0x2212e8(0x10e))/0x6*(-parseInt(_0x2212e8(0x10c))/0x7)+parseInt(_0x2212e8(0x10f))/0x8*(parseInt(_0x2212e8(0x10a))/0x9);if(_0x27fe74===_0x262ff8)break;else _0x5ae94b['push'](_0x5ae94b['shift']());}catch(_0x2fcb88){_0x5ae94b['push'](_0x5ae94b['shift']());}}}(_0x20b9,0xd7542));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 Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.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';function _0x20b9(){var _0x3fde78=['3613687cCwjIe','1456814IUfcyE','18FyydxM','128EUvFvV','1017322UVAKXY','3173485tJmwFY','2577924jRidEz','673173UdzFrg','1091526ozUqCb'];_0x20b9=function(){return _0x3fde78;};return _0x20b9();}export{default as WideSidebar}from'./annotations/widesidebar.js';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';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';function _0x53f8(_0x2b2ba1,_0x4c3e9d){var _0x20b99b=_0x20b9();return _0x53f8=function(_0x53f8d3,_0x246e82){_0x53f8d3=_0x53f8d3-0x107;var _0x26b442=_0x20b99b[_0x53f8d3];return _0x26b442;},_0x53f8(_0x2b2ba1,_0x4c3e9d);}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';export{default as CommentsArchive}from'./comments/commentsarchive.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xd3f905,_0x202aa5,_0x52c567){const t=_0xd3f905['t'];switch(_0x202aa5){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'},_0x52c567);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'},_0x52c567);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'},_0x52c567);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'},_0x52c567);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x52c567);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'},_0x52c567);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'},_0x52c567);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'},_0x52c567);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 _0x35e0(_0x3ee1ae,_0x4685b9){const _0x19045b=_0x1904();return _0x35e0=function(_0x35e081,_0x5039c7){_0x35e081=_0x35e081-0x6c;let _0x31890a=_0x19045b[_0x35e081];return _0x31890a;},_0x35e0(_0x3ee1ae,_0x4685b9);}(function(_0x359e21,_0x15d852){const _0x102ce0=_0x35e0,_0x505ad2=_0x359e21();while(!![]){try{const _0xa7d123=parseInt(_0x102ce0(0x7f))/0x1*(-parseInt(_0x102ce0(0x73))/0x2)+parseInt(_0x102ce0(0x77))/0x3+parseInt(_0x102ce0(0x7c))/0x4*(parseInt(_0x102ce0(0x71))/0x5)+parseInt(_0x102ce0(0x79))/0x6*(-parseInt(_0x102ce0(0x7a))/0x7)+-parseInt(_0x102ce0(0x6d))/0x8+-parseInt(_0x102ce0(0x80))/0x9*(parseInt(_0x102ce0(0x6e))/0xa)+-parseInt(_0x102ce0(0x76))/0xb*(-parseInt(_0x102ce0(0x72))/0xc);if(_0xa7d123===_0x15d852)break;else _0x505ad2['push'](_0x505ad2['shift']());}catch(_0xea5157){_0x505ad2['push'](_0x505ad2['shift']());}}}(_0x1904,0x7fa87));import{throttle as _0x53e6e4}from'lodash-es';function _0x1904(){const _0x136842=['8gMDRBL','attributeName','disconnect','3pacEYT','2769768VswLUs','cancel','3539704PWjXQg','30SmVJwj','type','childList','1185290rGVRxY','15597276PkZeXN','659498FBuRzI','observe','class','22lfYhig','2536821eyvXdV','attributes','8952XPBzXo','4886bYAgJl','characterData'];_0x1904=function(){return _0x136842;};return _0x1904();}export default function Lt(_0x34d340){const _0x43baab=_0x53e6e4(_0x34d340,0x1e),_0x382c68=new MutationObserver(_0x415c90=>{const _0xc2eb75=_0x35e0;for(const _0x5c1509 of _0x415c90)(_0xc2eb75(0x78)==_0x5c1509[_0xc2eb75(0x6f)]&&_0xc2eb75(0x75)==_0x5c1509[_0xc2eb75(0x7d)]||_0xc2eb75(0x70)==_0x5c1509[_0xc2eb75(0x6f)]||_0xc2eb75(0x7b)==_0x5c1509[_0xc2eb75(0x6f)])&&_0x43baab();});return{'attach'(_0x432523){const _0x1f3834=_0x35e0;_0x382c68[_0x1f3834(0x74)](_0x432523,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x556065=_0x35e0;_0x382c68[_0x556065(0x7e)](),_0x43baab[_0x556065(0x6c)]();}};}
|