@ckeditor/ckeditor5-comments 43.3.0-alpha.8 → 43.3.1-alpha.0
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
|
-
|
|
23
|
+
const _0x43477e=_0x3438;(function(_0x2f8273,_0x13a362){const _0x19256f=_0x3438,_0x346589=_0x2f8273();while(!![]){try{const _0x36a20e=parseInt(_0x19256f(0xdf))/0x1+-parseInt(_0x19256f(0xe6))/0x2+parseInt(_0x19256f(0xc4))/0x3+-parseInt(_0x19256f(0xe9))/0x4+-parseInt(_0x19256f(0xd4))/0x5*(parseInt(_0x19256f(0xd6))/0x6)+parseInt(_0x19256f(0xd9))/0x7+parseInt(_0x19256f(0xdd))/0x8;if(_0x36a20e===_0x13a362)break;else _0x346589['push'](_0x346589['shift']());}catch(_0x7615af){_0x346589['push'](_0x346589['shift']());}}}(_0x5bc6,0x26e76));function _0x3438(_0x14eb21,_0xdb0def){const _0x5bc626=_0x5bc6();return _0x3438=function(_0x3438d8,_0x3c49eb){_0x3438d8=_0x3438d8-0xc4;let _0x220ac5=_0x5bc626[_0x3438d8];return _0x220ac5;},_0x3438(_0x14eb21,_0xdb0def);}import{View as _0x458cfc,FocusCycler as _0x1baf31}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4c1651}from'ckeditor5/src/utils.js';function _0x5bc6(){const _0x47b0d5=['focusNext','6URMVOF','COMMENTS_ARCHIVE_LIST_LABEL','ck-comments-archive','1084153doNnDj','listenTo','destroy','ck-comments-archive__info','4285936KQqzHA','arrowdown','172636RIcYgZ','presentation','render','element','ck-comments-archive__content','first','add','619698UszrPQ','focus','auto','931948vixsXf','focusPrevious','length','setTemplate','list','arrowup','319476NIiRQO','EMPTY_COMMENTS_ARCHIVE','set','focusTracker','div','isActive','change','remove','focusFirst','ck-hidden','_annotationViews','delegate','focusCycler','isEmpty','_setupKeyboardNavigation','bindTemplate','1337815RzMTlc'];_0x5bc6=function(){return _0x47b0d5;};return _0x5bc6();}import{getTranslation as _0x4d25f2}from'../../../utils/common-translations.js';export default class st extends _0x458cfc{constructor(_0x17a080,_0x2b1467){const _0x349321=_0x3438;super(_0x17a080),this[_0x349321(0xc6)](_0x349321(0xd1),!_0x2b1467[_0x349321(0xeb)]),this[_0x349321(0xc7)]=new _0x4c1651(),this[_0x349321(0xce)]=_0x2b1467,this[_0x349321(0xce)][_0x349321(0xcf)](_0x349321(0xee),_0x349321(0xde))['to'](this),this['on'](_0x349321(0xee),()=>{const _0x5e0170=_0x349321;this[_0x5e0170(0xd0)][_0x5e0170(0xea)]();}),this['on'](_0x349321(0xde),()=>{const _0x24a48f=_0x349321;this[_0x24a48f(0xd0)][_0x24a48f(0xd5)]();}),this[_0x349321(0xd0)]=new _0x1baf31({'focusables':_0x2b1467,'focusTracker':this[_0x349321(0xc7)]}),this[_0x349321(0xda)](_0x2b1467,_0x349321(0xe5),()=>{const _0x1ea567=_0x349321;this[_0x1ea567(0xd1)]=!0x1;}),this[_0x349321(0xda)](_0x2b1467,_0x349321(0xcb),(_0x2ed867,_0x2bc41f)=>{const _0x2889a4=_0x349321;_0x2bc41f[_0x2889a4(0xc9)]&&this[_0x2889a4(0xe7)](),_0x2b1467[_0x2889a4(0xeb)]||(this[_0x2889a4(0xd1)]=!0x0);});const _0x181ece=this[_0x349321(0xd3)];this[_0x349321(0xec)]({'tag':_0x349321(0xc8),'attributes':{'dir':_0x349321(0xe8),'class':['ck',_0x349321(0xd8)],'tabindex':-0x1,'role':_0x349321(0xed),'aria-label':_0x4d25f2(_0x17a080,_0x349321(0xd7))},'children':[{'tag':_0x349321(0xc8),'attributes':{'class':[_0x349321(0xe3)],'role':_0x349321(0xe0)},'children':[{'tag':_0x349321(0xc8),'attributes':{'role':_0x349321(0xe0)},'children':_0x2b1467},{'tag':'p','attributes':{'class':[_0x349321(0xdc),_0x181ece['if'](_0x349321(0xd1),_0x349321(0xcd),_0x5e5a7a=>!_0x5e5a7a)]},'children':[{'text':_0x4d25f2(_0x17a080,_0x349321(0xc5))}]}]}]});}[_0x43477e(0xe1)](){const _0xe95467=_0x43477e;super[_0xe95467(0xe1)](),this[_0xe95467(0xd2)]();}[_0x43477e(0xdb)](){const _0x29bcc3=_0x43477e;super[_0x29bcc3(0xdb)](),this[_0x29bcc3(0xc7)][_0x29bcc3(0xdb)]();}[_0x43477e(0xe7)](){const _0x39f2ad=_0x43477e;this[_0x39f2ad(0xd0)][_0x39f2ad(0xe4)]?this[_0x39f2ad(0xd0)][_0x39f2ad(0xcc)]():this[_0x39f2ad(0xe2)][_0x39f2ad(0xe7)]();}[_0x43477e(0xd2)](){const _0x4f1160=_0x43477e;for(const _0x3b5aec of this[_0x4f1160(0xce)])this[_0x4f1160(0xc7)][_0x4f1160(0xe5)](_0x3b5aec[_0x4f1160(0xe2)]);this[_0x4f1160(0xce)]['on'](_0x4f1160(0xca),(_0x1c042a,{added:_0x145f48,removed:_0x24b450})=>{const _0x49705f=_0x4f1160;for(const _0x5e5b9f of _0x145f48)this[_0x49705f(0xc7)][_0x49705f(0xe5)](_0x5e5b9f[_0x49705f(0xe2)]);for(const _0x3ee1b3 of _0x24b450)this[_0x49705f(0xc7)][_0x49705f(0xcb)](_0x3ee1b3[_0x49705f(0xe2)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2a01(){const _0x2e1d00=['resolved','commentViews','added','maxCommentCharsWhenCollapsed','_rearrangeCollapse','element','focusLast','isActive','render','16712tYknbJ','_updateHasDirtyComment','get','hasDirtyComment','_rearrangeExpand','refreshVisibleViews','change:isActive','5776119ItwQRJ','locale','_findOptimalIndex','add','3493EKuJQY','formatDateTime','maxCommentsWhenCollapsed','_calculatePosition','updateComment','removeComment','resolveCommentThread','from','some','54HTiUaI','resolvedAt','resolvedCommentView','editorDestroyed','bindTemplate','_handleInfoComment','focusCycler','target','focus','_config','_handleRemoveCommentModel','delete','_handleNewCommentModel','collapse','commentUpdated','isEditMode','insert','change:hasDirtyComment','count','stopListening','createCollection','keystrokes','focusTracker','_setupKeyboardNavigation','bind','ck-thread__comments','includes','destroy','map','listenTo','reverse','CommentView','focusFirst','maxThreadTotalWeight','viewUid','setTemplate','Thread\x20comments','12015GywtiA','_shouldCollapse','change:isResolved','_model','forEach','remove','change:isEditMode','31550730IAEVab','removed','_collapsedCommentsView','authoredAt','72630cOCeVU','change','1276WZIhEr','set','weight','length','Marked\x20as\x20resolved','comments','equal','779971URCaTS','expand','visibleViews','arrowdown','editorConfig','resolvedBy','editorReady','delegate','ck-hidden','1368222jlFElF','arrowup'];_0x2a01=function(){return _0x2e1d00;};return _0x2a01();}const _0x298f4a=_0x6582;(function(_0x4c33cc,_0x2a2ac0){const _0x9d9419=_0x6582,_0x3406e9=_0x4c33cc();while(!![]){try{const _0x1d5ae5=-parseInt(_0x9d9419(0x107))/0x1+-parseInt(_0x9d9419(0xaf))/0x2+parseInt(_0x9d9419(0xf3))/0x3*(-parseInt(_0x9d9419(0x100))/0x4)+-parseInt(_0x9d9419(0xfe))/0x5*(parseInt(_0x9d9419(0xce))/0x6)+-parseInt(_0x9d9419(0xc5))/0x7*(-parseInt(_0x9d9419(0xba))/0x8)+-parseInt(_0x9d9419(0xc1))/0x9+parseInt(_0x9d9419(0xfa))/0xa;if(_0x1d5ae5===_0x2a2ac0)break;else _0x3406e9['push'](_0x3406e9['shift']());}catch(_0x35f397){_0x3406e9['push'](_0x3406e9['shift']());}}}(_0x2a01,0xa6d12));import{View as _0x51256e,FocusCycler as _0x2bd553}from'ckeditor5/src/ui.js';import{diff as _0x204eb3,Collection as _0x4c3b6e,FocusTracker as _0x3aded5,KeystrokeHandler as _0x2b0df6}from'ckeditor5/src/utils.js';import{getTranslation as _0x1e267d}from'../../../utils/common-translations.js';import _0x38f110 from'./collapsedcommentsview.js';function _0x6582(_0xfa39c7,_0x197f7d){const _0x2a0166=_0x2a01();return _0x6582=function(_0x65826a,_0x4446bb){_0x65826a=_0x65826a-0xaa;let _0x1d18eb=_0x2a0166[_0x65826a];return _0x1d18eb;},_0x6582(_0xfa39c7,_0x197f7d);}export default class xt extends _0x51256e{constructor(_0x2ba512,_0x1f0b7a,_0x5bf2a7){const _0x22b226=_0x6582;super(_0x2ba512);const _0x3437f0=this[_0x22b226(0xd2)];this[_0x22b226(0x101)](_0x22b226(0xbd),!0x1),this[_0x22b226(0x101)](_0x22b226(0x103),_0x1f0b7a[_0x22b226(0x105)][_0x22b226(0x103)]),this[_0x22b226(0x101)](_0x22b226(0xb8),!0x1),this[_0x22b226(0xf6)]=_0x1f0b7a,this[_0x22b226(0xd7)]=_0x5bf2a7,this[_0x22b226(0xb2)]=this[_0x22b226(0xe2)](),this[_0x22b226(0x109)]=this[_0x22b226(0xe2)](),this[_0x22b226(0xd0)]=null,this[_0x22b226(0xe4)]=new _0x3aded5(),this[_0x22b226(0xe3)]=new _0x2b0df6(),this[_0x22b226(0xd4)]=new _0x2bd553({'focusables':this[_0x22b226(0xb2)],'focusTracker':this[_0x22b226(0xe4)],'keystrokeHandler':this[_0x22b226(0xe3)],'keystrokeHandlerOptions':{'filter':_0x400f77=>this[_0x22b226(0xb2)][_0x22b226(0xea)](_0x1aaedc=>_0x1aaedc[_0x22b226(0xb6)])[_0x22b226(0xe8)](_0x400f77[_0x22b226(0xd5)])},'actions':{'focusPrevious':_0x22b226(0xb0),'focusNext':_0x22b226(0x10a)}}),this[_0x22b226(0xfc)]=new _0x38f110(_0x2ba512),this[_0x22b226(0xfc)][_0x22b226(0xe6)](_0x22b226(0xe0))['to'](this,_0x22b226(0x103),_0x52270b=>_0x52270b-this[_0x22b226(0xd7)][_0x22b226(0xc7)]);for(const _0x56a9a5 of _0x1f0b7a[_0x22b226(0x105)])this[_0x22b226(0xda)](_0x56a9a5);this[_0x22b226(0xd3)](),this[_0x22b226(0xeb)](_0x1f0b7a[_0x22b226(0x105)],_0x22b226(0xc4),(_0x1e50a6,_0x46db37)=>{const _0x20b1b7=_0x22b226,_0x17eb37=this[_0x20b1b7(0xc8)](_0x46db37);this[_0x20b1b7(0x103)]++,this[_0x20b1b7(0xda)](_0x46db37,_0x17eb37),this[_0x20b1b7(0xbf)]();}),this[_0x22b226(0xeb)](_0x1f0b7a[_0x22b226(0x105)],_0x22b226(0xf8),(_0x3e208b,_0x11f2f2)=>{const _0x4853c7=_0x22b226;this[_0x4853c7(0x103)]--,this[_0x4853c7(0xd8)](_0x11f2f2),this[_0x4853c7(0xbf)]();}),this[_0x22b226(0xeb)](_0x1f0b7a,_0x22b226(0xdc),()=>this[_0x22b226(0xbf)]()),this[_0x22b226(0xeb)](_0x1f0b7a,_0x22b226(0xf5),()=>this[_0x22b226(0xd3)]()),this['on'](_0x22b226(0xc0),()=>this[_0x22b226(0xbf)]()),this['on'](_0x22b226(0xdf),()=>this[_0x22b226(0xbf)]()),this[_0x22b226(0xf1)]({'tag':'ul','attributes':{'class':[_0x22b226(0xe7),_0x3437f0['if'](_0x22b226(0x103),_0x22b226(0xae),_0x2d0998=>!_0x2d0998)],'aria-label':_0x1e267d(_0x2ba512,_0x22b226(0xf2))},'children':this[_0x22b226(0x109)]});}get[_0x298f4a(0xf4)](){const _0x578233=_0x298f4a;return this[_0x578233(0xf6)][_0x578233(0x102)]>this[_0x578233(0xd7)][_0x578233(0xef)]&&!this[_0x578233(0xb8)]&&!this[_0x578233(0xbd)];}[_0x298f4a(0xb9)](){const _0x1afb44=_0x298f4a;super[_0x1afb44(0xb9)](),this[_0x1afb44(0xbf)](),this[_0x1afb44(0xe5)]();}[_0x298f4a(0xd6)](_0x321f6d){const _0xc85f8a=_0x298f4a;-0x1===_0x321f6d?this[_0xc85f8a(0xd4)][_0xc85f8a(0xb7)]():this[_0xc85f8a(0xd4)][_0xc85f8a(0xee)]();}[_0x298f4a(0xe9)](){const _0x4eba23=_0x298f4a;this[_0x4eba23(0xfc)][_0x4eba23(0xe9)]();for(const _0xf60473 of this[_0x4eba23(0xb2)])_0xf60473[_0x4eba23(0xe9)]();super[_0x4eba23(0xe9)]();}[_0x298f4a(0xbf)](){const _0x3529d5=_0x298f4a;this[_0x3529d5(0xf4)]?this[_0x3529d5(0xb5)]():this[_0x3529d5(0xbe)]();}[_0x298f4a(0xda)](_0x27e5fb,_0x875d0a){const _0x23f427=_0x298f4a,_0xc72f94=new this[(_0x23f427(0xd7))][(_0x23f427(0xed))](this[_0x23f427(0xc2)],_0x27e5fb,{'maxCommentCharsWhenCollapsed':this[_0x23f427(0xd7)][_0x23f427(0xb4)],'formatDateTime':this[_0x23f427(0xd7)][_0x23f427(0xc6)],'editorConfig':this[_0x23f427(0xd7)][_0x23f427(0xaa)]});_0xc72f94[_0x23f427(0xf0)]=_0x27e5fb['id'],_0xc72f94[_0x23f427(0xad)](_0x23f427(0xca))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xc9))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xcb))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xac))['to'](this),_0xc72f94[_0x23f427(0xad)](_0x23f427(0xd1))['to'](this),this[_0x23f427(0xeb)](_0xc72f94,_0x23f427(0xf9),()=>this[_0x23f427(0xbb)]()),this[_0x23f427(0xb2)][_0x23f427(0xc4)](_0xc72f94,_0x875d0a);}[_0x298f4a(0xc8)](_0x2bc13f){const _0x317d1a=_0x298f4a,_0x200765=this[_0x317d1a(0xf6)][_0x317d1a(0xc3)](_0x2bc13f);return this[_0x317d1a(0xd0)]?this[_0x317d1a(0xd0)][_0x317d1a(0xfd)]>_0x2bc13f[_0x317d1a(0xfd)]?_0x200765-0x1:_0x200765:_0x200765-0x1;}[_0x298f4a(0xd3)](){const _0x1fd4ca=_0x298f4a;if(this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xab)]&&this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xcf)]){const _0x1b49c1={'id':_0x1fd4ca(0xb1),'author':this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xab)],'authoredAt':this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xcf)],'content':_0x1e267d(this[_0x1fd4ca(0xc2)],_0x1fd4ca(0x104)),'attributes':{}};this[_0x1fd4ca(0xd0)]=new this[(_0x1fd4ca(0xd7))][(_0x1fd4ca(0xed))](this[_0x1fd4ca(0xc2)],_0x1b49c1,{'maxCommentCharsWhenCollapsed':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xb4)],'formatDateTime':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xc6)],'editorConfig':this[_0x1fd4ca(0xd7)][_0x1fd4ca(0xaa)],'isSystemComment':!0x0}),this[_0x1fd4ca(0xb2)][_0x1fd4ca(0xc4)](this[_0x1fd4ca(0xd0)],this[_0x1fd4ca(0xf6)][_0x1fd4ca(0xc3)](_0x1b49c1));}else this[_0x1fd4ca(0xd0)]&&(this[_0x1fd4ca(0xb2)][_0x1fd4ca(0xf8)](this[_0x1fd4ca(0xd0)]),this[_0x1fd4ca(0xd0)][_0x1fd4ca(0xe9)](),this[_0x1fd4ca(0xd0)]=null);this[_0x1fd4ca(0xbf)]();}[_0x298f4a(0xd8)](_0x2b2f6e){const _0x13c59a=_0x298f4a,_0xd176fc=this[_0x13c59a(0xb2)][_0x13c59a(0xf8)](_0x2b2f6e['id']);this[_0x13c59a(0xe1)](_0xd176fc),_0xd176fc[_0x13c59a(0xdd)]&&this[_0x13c59a(0xbb)](),_0xd176fc[_0x13c59a(0xe9)]();}[_0x298f4a(0xbb)](){const _0x4c9df9=_0x298f4a;this[_0x4c9df9(0xbd)]=Array[_0x4c9df9(0xcc)](this[_0x4c9df9(0xb2)])[_0x4c9df9(0xcd)](_0x4fed28=>_0x4fed28[_0x4c9df9(0xdd)]);}[_0x298f4a(0xb5)](){const _0x29a02b=_0x298f4a,_0x29eee3=function(_0x61063c){const _0x114e93=_0x6582,_0x2ac420=new _0x4c3b6e();for(const _0x545151 of _0x61063c)_0x2ac420[_0x114e93(0xc4)](_0x545151);return _0x2ac420;}(this[_0x29a02b(0xb2)]),_0x1b0923=this[_0x29a02b(0xfc)][_0x29a02b(0xe0)];for(let _0x4fb141=0x1;_0x4fb141<=_0x1b0923;_0x4fb141++)_0x29eee3[_0x29a02b(0xf8)](0x1);for(const _0x52dd48 of _0x29eee3)_0x52dd48[_0x29a02b(0xdb)]();_0x1b0923>0x0&&_0x29eee3[_0x29a02b(0xc4)](this[_0x29a02b(0xfc)],0x1),ms(_0x204eb3(Array[_0x29a02b(0xcc)](this[_0x29a02b(0x109)]),Array[_0x29a02b(0xcc)](_0x29eee3)),this[_0x29a02b(0x109)],_0x29eee3);}[_0x298f4a(0xbe)](){const _0x1208c0=_0x298f4a;ms(_0x204eb3(Array[_0x1208c0(0xcc)](this[_0x1208c0(0x109)]),Array[_0x1208c0(0xcc)](this[_0x1208c0(0xb2)])),this[_0x1208c0(0x109)],this[_0x1208c0(0xb2)]);for(const _0x49968b of this[_0x1208c0(0x109)])_0x49968b[_0x1208c0(0x108)]();}[_0x298f4a(0xe5)](){const _0x26db69=_0x298f4a;this[_0x26db69(0xb2)][_0x26db69(0xf7)](_0x159662=>{const _0x4d1d10=_0x26db69;this[_0x4d1d10(0xe4)][_0x4d1d10(0xc4)](_0x159662[_0x4d1d10(0xb6)]),this[_0x4d1d10(0xe3)][_0x4d1d10(0xeb)](_0x159662[_0x4d1d10(0xb6)]);}),this[_0x26db69(0xb2)]['on'](_0x26db69(0xff),(_0x2ba31f,_0x4dfc4f)=>{const _0x51294d=_0x26db69;for(const _0x22e6ec of _0x4dfc4f[_0x51294d(0xfb)])this[_0x51294d(0xe4)][_0x51294d(0xf8)](_0x22e6ec[_0x51294d(0xb6)]),this[_0x51294d(0xe3)][_0x51294d(0xe1)](_0x22e6ec[_0x51294d(0xb6)]);for(const _0x3144fa of Array[_0x51294d(0xcc)](_0x4dfc4f[_0x51294d(0xb3)])[_0x51294d(0xec)]())this[_0x51294d(0xe4)][_0x51294d(0xc4)](_0x3144fa[_0x51294d(0xb6)]),this[_0x51294d(0xe3)][_0x51294d(0xeb)](_0x3144fa[_0x51294d(0xb6)]);});}}function ms(_0xcd5144,_0x28c8d1,_0x12c0de){const _0x5969a2=_0x298f4a;let _0x1c3d97=0x0;for(const _0x3b9e33 of _0xcd5144)switch(_0x3b9e33){case _0x5969a2(0xde):_0x28c8d1[_0x5969a2(0xc4)](_0x12c0de[_0x5969a2(0xbc)](_0x1c3d97),_0x1c3d97),_0x1c3d97++;break;case _0x5969a2(0xd9):_0x28c8d1[_0x5969a2(0xf8)](_0x1c3d97);break;case _0x5969a2(0x106):_0x1c3d97++;}}
|
|
23
|
+
function _0x5ee4(){const _0x59cb54=['remove','maxThreadTotalWeight','some','1180VgTHbv','_model','locale','destroy','from','stopListening','expand','count','maxCommentsWhenCollapsed','get','removeComment','_findOptimalIndex','added','resolvedCommentView','equal','isEditMode','bindTemplate','target','resolvedBy','weight','maxCommentCharsWhenCollapsed','Thread\x20comments','set','formatDateTime','hasDirtyComment','focusTracker','_rearrangeCollapse','focus','listenTo','reverse','createCollection','commentUpdated','authoredAt','_handleNewCommentModel','focusCycler','647nDdELz','editorConfig','715548fJdXox','_setupKeyboardNavigation','add','element','insert','1720KPbfyX','focusFirst','setTemplate','Marked\x20as\x20resolved','ck-hidden','viewUid','isActive','render','editorReady','comments','_collapsedCommentsView','_handleRemoveCommentModel','delegate','change:hasDirtyComment','_config','collapse','ck-thread__comments','_handleInfoComment','change:isEditMode','refreshVisibleViews','_calculatePosition','editorDestroyed','resolvedAt','visibleViews','12tBvGXg','removed','updateComment','_rearrangeExpand','_shouldCollapse','1020385xTyiaB','CommentView','arrowdown','length','144016ZYqvrF','commentViews','map','change:isResolved','resolved','1432575NnuFwf','102235hsmHyW','delete','_updateHasDirtyComment','includes','forEach','resolveCommentThread','focusLast','bind','change','change:isActive','165mVFSQk','312IoCpUm','keystrokes','arrowup','20349qPdGqX'];_0x5ee4=function(){return _0x59cb54;};return _0x5ee4();}const _0x4878f6=_0x1041;(function(_0x257a06,_0x2c69cd){const _0x102a44=_0x1041,_0x1393cf=_0x257a06();while(!![]){try{const _0x2d8c5e=parseInt(_0x102a44(0x168))/0x1*(-parseInt(_0x102a44(0x1a8))/0x2)+parseInt(_0x102a44(0x195))/0x3+-parseInt(_0x102a44(0x190))/0x4+parseInt(_0x102a44(0x18c))/0x5*(parseInt(_0x102a44(0x187))/0x6)+parseInt(_0x102a44(0x196))/0x7*(-parseInt(_0x102a44(0x1a1))/0x8)+-parseInt(_0x102a44(0x1a4))/0x9*(parseInt(_0x102a44(0x16f))/0xa)+parseInt(_0x102a44(0x1a0))/0xb*(parseInt(_0x102a44(0x16a))/0xc);if(_0x2d8c5e===_0x2c69cd)break;else _0x1393cf['push'](_0x1393cf['shift']());}catch(_0x4d09a4){_0x1393cf['push'](_0x1393cf['shift']());}}}(_0x5ee4,0x629b5));import{View as _0x55dd26,FocusCycler as _0x51fffc}from'ckeditor5/src/ui.js';import{diff as _0x203091,Collection as _0x34396b,FocusTracker as _0x3b07bd,KeystrokeHandler as _0xb2f12b}from'ckeditor5/src/utils.js';import{getTranslation as _0xa6dfba}from'../../../utils/common-translations.js';function _0x1041(_0x41706c,_0x1d141b){const _0x5ee4cc=_0x5ee4();return _0x1041=function(_0x104176,_0x559a24){_0x104176=_0x104176-0x15f;let _0x34c73c=_0x5ee4cc[_0x104176];return _0x34c73c;},_0x1041(_0x41706c,_0x1d141b);}import _0x43fa59 from'./collapsedcommentsview.js';export default class xt extends _0x55dd26{constructor(_0x1ddb0e,_0x4ca4f0,_0x411aa0){const _0x3867a1=_0x1041;super(_0x1ddb0e);const _0xcfb6b4=this[_0x3867a1(0x1b8)];this[_0x3867a1(0x1be)](_0x3867a1(0x1c0),!0x1),this[_0x3867a1(0x1be)](_0x3867a1(0x18f),_0x4ca4f0[_0x3867a1(0x178)][_0x3867a1(0x18f)]),this[_0x3867a1(0x1be)](_0x3867a1(0x175),!0x1),this[_0x3867a1(0x1a9)]=_0x4ca4f0,this[_0x3867a1(0x17d)]=_0x411aa0,this[_0x3867a1(0x191)]=this[_0x3867a1(0x163)](),this[_0x3867a1(0x186)]=this[_0x3867a1(0x163)](),this[_0x3867a1(0x1b5)]=null,this[_0x3867a1(0x1c1)]=new _0x3b07bd(),this[_0x3867a1(0x1a2)]=new _0xb2f12b(),this[_0x3867a1(0x167)]=new _0x51fffc({'focusables':this[_0x3867a1(0x191)],'focusTracker':this[_0x3867a1(0x1c1)],'keystrokeHandler':this[_0x3867a1(0x1a2)],'keystrokeHandlerOptions':{'filter':_0x366d4a=>this[_0x3867a1(0x191)][_0x3867a1(0x192)](_0x36ff32=>_0x36ff32[_0x3867a1(0x16d)])[_0x3867a1(0x199)](_0x366d4a[_0x3867a1(0x1b9)])},'actions':{'focusPrevious':_0x3867a1(0x1a3),'focusNext':_0x3867a1(0x18e)}}),this[_0x3867a1(0x179)]=new _0x43fa59(_0x1ddb0e),this[_0x3867a1(0x179)][_0x3867a1(0x19d)](_0x3867a1(0x1af))['to'](this,_0x3867a1(0x18f),_0x302ce9=>_0x302ce9-this[_0x3867a1(0x17d)][_0x3867a1(0x1b0)]);for(const _0x5a31fa of _0x4ca4f0[_0x3867a1(0x178)])this[_0x3867a1(0x166)](_0x5a31fa);this[_0x3867a1(0x180)](),this[_0x3867a1(0x161)](_0x4ca4f0[_0x3867a1(0x178)],_0x3867a1(0x16c),(_0x985a54,_0x92f4d0)=>{const _0x10bd3c=_0x3867a1,_0x505771=this[_0x10bd3c(0x183)](_0x92f4d0);this[_0x10bd3c(0x18f)]++,this[_0x10bd3c(0x166)](_0x92f4d0,_0x505771),this[_0x10bd3c(0x182)]();}),this[_0x3867a1(0x161)](_0x4ca4f0[_0x3867a1(0x178)],_0x3867a1(0x1a5),(_0x50eda4,_0x384d48)=>{const _0x54522a=_0x3867a1;this[_0x54522a(0x18f)]--,this[_0x54522a(0x17a)](_0x384d48),this[_0x54522a(0x182)]();}),this[_0x3867a1(0x161)](_0x4ca4f0,_0x3867a1(0x164),()=>this[_0x3867a1(0x182)]()),this[_0x3867a1(0x161)](_0x4ca4f0,_0x3867a1(0x193),()=>this[_0x3867a1(0x180)]()),this['on'](_0x3867a1(0x19f),()=>this[_0x3867a1(0x182)]()),this['on'](_0x3867a1(0x17c),()=>this[_0x3867a1(0x182)]()),this[_0x3867a1(0x171)]({'tag':'ul','attributes':{'class':[_0x3867a1(0x17f),_0xcfb6b4['if'](_0x3867a1(0x18f),_0x3867a1(0x173),_0x4529ff=>!_0x4529ff)],'aria-label':_0xa6dfba(_0x1ddb0e,_0x3867a1(0x1bd))},'children':this[_0x3867a1(0x186)]});}get[_0x4878f6(0x18b)](){const _0x49c95f=_0x4878f6;return this[_0x49c95f(0x1a9)][_0x49c95f(0x1bb)]>this[_0x49c95f(0x17d)][_0x49c95f(0x1a6)]&&!this[_0x49c95f(0x175)]&&!this[_0x49c95f(0x1c0)];}[_0x4878f6(0x176)](){const _0x3744aa=_0x4878f6;super[_0x3744aa(0x176)](),this[_0x3744aa(0x182)](),this[_0x3744aa(0x16b)]();}[_0x4878f6(0x160)](_0x1b4c9a){const _0x183f06=_0x4878f6;-0x1===_0x1b4c9a?this[_0x183f06(0x167)][_0x183f06(0x19c)]():this[_0x183f06(0x167)][_0x183f06(0x170)]();}[_0x4878f6(0x1ab)](){const _0x45335d=_0x4878f6;this[_0x45335d(0x179)][_0x45335d(0x1ab)]();for(const _0x1a8bdc of this[_0x45335d(0x191)])_0x1a8bdc[_0x45335d(0x1ab)]();super[_0x45335d(0x1ab)]();}[_0x4878f6(0x182)](){const _0xf27200=_0x4878f6;this[_0xf27200(0x18b)]?this[_0xf27200(0x15f)]():this[_0xf27200(0x18a)]();}[_0x4878f6(0x166)](_0x452979,_0xf9d5af){const _0x17064c=_0x4878f6,_0x379ffc=new this[(_0x17064c(0x17d))][(_0x17064c(0x18d))](this[_0x17064c(0x1aa)],_0x452979,{'maxCommentCharsWhenCollapsed':this[_0x17064c(0x17d)][_0x17064c(0x1bc)],'formatDateTime':this[_0x17064c(0x17d)][_0x17064c(0x1bf)],'editorConfig':this[_0x17064c(0x17d)][_0x17064c(0x169)]});_0x379ffc[_0x17064c(0x174)]=_0x452979['id'],_0x379ffc[_0x17064c(0x17b)](_0x17064c(0x1b2))['to'](this),_0x379ffc[_0x17064c(0x17b)](_0x17064c(0x189))['to'](this),_0x379ffc[_0x17064c(0x17b)](_0x17064c(0x19b))['to'](this),_0x379ffc[_0x17064c(0x17b)](_0x17064c(0x177))['to'](this),_0x379ffc[_0x17064c(0x17b)](_0x17064c(0x184))['to'](this),this[_0x17064c(0x161)](_0x379ffc,_0x17064c(0x181),()=>this[_0x17064c(0x198)]()),this[_0x17064c(0x191)][_0x17064c(0x16c)](_0x379ffc,_0xf9d5af);}[_0x4878f6(0x183)](_0x321a85){const _0x3b3d44=_0x4878f6,_0x204aa8=this[_0x3b3d44(0x1a9)][_0x3b3d44(0x1b3)](_0x321a85);return this[_0x3b3d44(0x1b5)]?this[_0x3b3d44(0x1b5)][_0x3b3d44(0x165)]>_0x321a85[_0x3b3d44(0x165)]?_0x204aa8-0x1:_0x204aa8:_0x204aa8-0x1;}[_0x4878f6(0x180)](){const _0x2f98a6=_0x4878f6;if(this[_0x2f98a6(0x1a9)][_0x2f98a6(0x1ba)]&&this[_0x2f98a6(0x1a9)][_0x2f98a6(0x185)]){const _0x2e56d3={'id':_0x2f98a6(0x194),'author':this[_0x2f98a6(0x1a9)][_0x2f98a6(0x1ba)],'authoredAt':this[_0x2f98a6(0x1a9)][_0x2f98a6(0x185)],'content':_0xa6dfba(this[_0x2f98a6(0x1aa)],_0x2f98a6(0x172)),'attributes':{}};this[_0x2f98a6(0x1b5)]=new this[(_0x2f98a6(0x17d))][(_0x2f98a6(0x18d))](this[_0x2f98a6(0x1aa)],_0x2e56d3,{'maxCommentCharsWhenCollapsed':this[_0x2f98a6(0x17d)][_0x2f98a6(0x1bc)],'formatDateTime':this[_0x2f98a6(0x17d)][_0x2f98a6(0x1bf)],'editorConfig':this[_0x2f98a6(0x17d)][_0x2f98a6(0x169)],'isSystemComment':!0x0}),this[_0x2f98a6(0x191)][_0x2f98a6(0x16c)](this[_0x2f98a6(0x1b5)],this[_0x2f98a6(0x1a9)][_0x2f98a6(0x1b3)](_0x2e56d3));}else this[_0x2f98a6(0x1b5)]&&(this[_0x2f98a6(0x191)][_0x2f98a6(0x1a5)](this[_0x2f98a6(0x1b5)]),this[_0x2f98a6(0x1b5)][_0x2f98a6(0x1ab)](),this[_0x2f98a6(0x1b5)]=null);this[_0x2f98a6(0x182)]();}[_0x4878f6(0x17a)](_0x192a4b){const _0x14d20f=_0x4878f6,_0x513680=this[_0x14d20f(0x191)][_0x14d20f(0x1a5)](_0x192a4b['id']);this[_0x14d20f(0x1ad)](_0x513680),_0x513680[_0x14d20f(0x1b7)]&&this[_0x14d20f(0x198)](),_0x513680[_0x14d20f(0x1ab)]();}[_0x4878f6(0x198)](){const _0x5ce8fd=_0x4878f6;this[_0x5ce8fd(0x1c0)]=Array[_0x5ce8fd(0x1ac)](this[_0x5ce8fd(0x191)])[_0x5ce8fd(0x1a7)](_0x14231b=>_0x14231b[_0x5ce8fd(0x1b7)]);}[_0x4878f6(0x15f)](){const _0x240cb8=_0x4878f6,_0x455512=function(_0x46b96d){const _0x54a469=_0x1041,_0x3da80f=new _0x34396b();for(const _0x34d30e of _0x46b96d)_0x3da80f[_0x54a469(0x16c)](_0x34d30e);return _0x3da80f;}(this[_0x240cb8(0x191)]),_0x4ce79f=this[_0x240cb8(0x179)][_0x240cb8(0x1af)];for(let _0x55810a=0x1;_0x55810a<=_0x4ce79f;_0x55810a++)_0x455512[_0x240cb8(0x1a5)](0x1);for(const _0x33317e of _0x455512)_0x33317e[_0x240cb8(0x17e)]();_0x4ce79f>0x0&&_0x455512[_0x240cb8(0x16c)](this[_0x240cb8(0x179)],0x1),ms(_0x203091(Array[_0x240cb8(0x1ac)](this[_0x240cb8(0x186)]),Array[_0x240cb8(0x1ac)](_0x455512)),this[_0x240cb8(0x186)],_0x455512);}[_0x4878f6(0x18a)](){const _0x1fc27f=_0x4878f6;ms(_0x203091(Array[_0x1fc27f(0x1ac)](this[_0x1fc27f(0x186)]),Array[_0x1fc27f(0x1ac)](this[_0x1fc27f(0x191)])),this[_0x1fc27f(0x186)],this[_0x1fc27f(0x191)]);for(const _0x490dff of this[_0x1fc27f(0x186)])_0x490dff[_0x1fc27f(0x1ae)]();}[_0x4878f6(0x16b)](){const _0xd16c3=_0x4878f6;this[_0xd16c3(0x191)][_0xd16c3(0x19a)](_0x20196b=>{const _0x1057ac=_0xd16c3;this[_0x1057ac(0x1c1)][_0x1057ac(0x16c)](_0x20196b[_0x1057ac(0x16d)]),this[_0x1057ac(0x1a2)][_0x1057ac(0x161)](_0x20196b[_0x1057ac(0x16d)]);}),this[_0xd16c3(0x191)]['on'](_0xd16c3(0x19e),(_0x16a1ae,_0x4cf830)=>{const _0x4f736f=_0xd16c3;for(const _0x4be8fd of _0x4cf830[_0x4f736f(0x188)])this[_0x4f736f(0x1c1)][_0x4f736f(0x1a5)](_0x4be8fd[_0x4f736f(0x16d)]),this[_0x4f736f(0x1a2)][_0x4f736f(0x1ad)](_0x4be8fd[_0x4f736f(0x16d)]);for(const _0x2458af of Array[_0x4f736f(0x1ac)](_0x4cf830[_0x4f736f(0x1b4)])[_0x4f736f(0x162)]())this[_0x4f736f(0x1c1)][_0x4f736f(0x16c)](_0x2458af[_0x4f736f(0x16d)]),this[_0x4f736f(0x1a2)][_0x4f736f(0x161)](_0x2458af[_0x4f736f(0x16d)]);});}}function ms(_0x205cdb,_0x166067,_0x49e232){const _0x14127e=_0x4878f6;let _0x3b564f=0x0;for(const _0x2ea707 of _0x205cdb)switch(_0x2ea707){case _0x14127e(0x16e):_0x166067[_0x14127e(0x16c)](_0x49e232[_0x14127e(0x1b1)](_0x3b564f),_0x3b564f),_0x3b564f++;break;case _0x14127e(0x197):_0x166067[_0x14127e(0x1a5)](_0x3b564f);break;case _0x14127e(0x1b6):_0x3b564f++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1305(){const _0x13371c=['bindTemplate','THREAD_CONTEXT_LABEL','157885kAqSRk','1380jzqEbJ','contextValue','5839497qzgsIV','10ekYeBv','887018PdmcqQ','30iSWCDg','ck-context__value','204652pvKIOC','3033WQfJei','96vDmAoU','3356790MoeoKI','4govYTB','span','setTemplate','element','23286lZMeAS','228wQrzXN','focus','set'];_0x1305=function(){return _0x13371c;};return _0x1305();}function _0x46d8(_0x316a5e,_0x57ed6a){const _0x130505=_0x1305();return _0x46d8=function(_0x46d817,_0x423940){_0x46d817=_0x46d817-0x70;let _0x43f16e=_0x130505[_0x46d817];return _0x43f16e;},_0x46d8(_0x316a5e,_0x57ed6a);}const _0x45aaca=_0x46d8;(function(_0x3942ca,_0x225443){const _0xc456d9=_0x46d8,_0x2045df=_0x3942ca();while(!![]){try{const _0x598ef8=parseInt(_0xc456d9(0x7f))/0x1*(-parseInt(_0xc456d9(0x7c))/0x2)+parseInt(_0xc456d9(0x81))/0x3*(-parseInt(_0xc456d9(0x82))/0x4)+parseInt(_0xc456d9(0x77))/0x5*(parseInt(_0xc456d9(0x70))/0x6)+parseInt(_0xc456d9(0x7e))/0x7*(parseInt(_0xc456d9(0x80))/0x8)+parseInt(_0xc456d9(0x79))/0x9*(parseInt(_0xc456d9(0x7a))/0xa)+-parseInt(_0xc456d9(0x7b))/0xb+parseInt(_0xc456d9(0x71))/0xc*(-parseInt(_0xc456d9(0x76))/0xd);if(_0x598ef8===_0x225443)break;else _0x2045df['push'](_0x2045df['shift']());}catch(_0x2f14ae){_0x2045df['push'](_0x2045df['shift']());}}}(_0x1305,0x9143b));import{View as _0x250b78}from'ckeditor5/src/ui.js';import{getTranslation as _0x14c6d6}from'../../../utils/common-translations.js';export default class ls extends _0x250b78{constructor(_0x12ebe8){const _0x2ac75c=_0x46d8;super(_0x12ebe8);const _0x509184=this[_0x2ac75c(0x74)];this[_0x2ac75c(0x73)](_0x2ac75c(0x78),''),this[_0x2ac75c(0x84)]({'tag':_0x2ac75c(0x83),'attributes':{'class':['ck',_0x2ac75c(0x7d)],'aria-label':_0x509184['to'](_0x2ac75c(0x78),_0x15206d=>_0x14c6d6(_0x12ebe8,_0x2ac75c(0x75),_0x15206d)),'tabindex':-0x1},'children':[{'text':_0x509184['to'](_0x2ac75c(0x78))}]});}[_0x45aaca(0x72)](){const _0x50109e=_0x45aaca;this[_0x50109e(0x85)][_0x50109e(0x72)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5af4e6=_0x440b;(function(_0x49873f,_0x581a4e){const _0x5c0fd7=_0x440b,_0x19e19e=_0x49873f();while(!![]){try{const _0x3851c2=parseInt(_0x5c0fd7(0x93))/0x1*(-parseInt(_0x5c0fd7(0x7f))/0x2)+-parseInt(_0x5c0fd7(0x8d))/0x3+parseInt(_0x5c0fd7(0x7a))/0x4+-parseInt(_0x5c0fd7(0x97))/0x5*(parseInt(_0x5c0fd7(0x91))/0x6)+parseInt(_0x5c0fd7(0xa7))/0x7+-parseInt(_0x5c0fd7(0x75))/0x8*(-parseInt(_0x5c0fd7(0xa3))/0x9)+parseInt(_0x5c0fd7(0x70))/0xa;if(_0x3851c2===_0x581a4e)break;else _0x19e19e['push'](_0x19e19e['shift']());}catch(_0x2f5a85){_0x19e19e['push'](_0x19e19e['shift']());}}}(_0x1086,0xa6aff));import{View as _0x112b7b,ButtonView as _0x1dd85b,FocusCycler as _0x4ea6c7}from'ckeditor5/src/ui.js';function _0x1086(){const _0x198d0c=['_model','setTemplate','substring','1098DThXdJ','ck-context--quotes','283qVtHrw','focusTracker','scrollWidth','focusables','31475KlBGpp','hasContext','contextView','_createReopenButton','remove','querySelector','reopenButtonView','_trimContextValue','isResolvable','mouseenter','locale','ck-thread__header','11043PmcNNQ','tab','contextValue','context','427777ZuANqU','value','bindTemplate','focusCycler','bind','execute','createCollection','.ck-context__value','focus','isResolved','_createContextView','classList','fire','...','shift+tab','length','keystrokes','28093770hmsrka','_setupKeyboardNavigation','lastIndexOf','ck-annotation__actions','add','4376GhNGeq','_attachContextActions','render','isReadOnly','offsetWidth','435860KRwRKn','div','focusFirst','Reopen','tooltip','4376RDNpyW','.ck-context','reopenCommentThread','element','ck-context-wrapper','ck-context','overlay','listenTo','label','isVisible','isEnabled','mouseleave','icon','Comment\x20was\x20made\x20on\x20an\x20element','3590046OzNQbe'];_0x1086=function(){return _0x198d0c;};return _0x1086();}import{FocusTracker as _0x103459,KeystrokeHandler as _0x4531ce}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a18b0}from'../../../utils/common-translations.js';function _0x440b(_0x1471e0,_0x5449c9){const _0x10865a=_0x1086();return _0x440b=function(_0x440b88,_0x3eb30c){_0x440b88=_0x440b88-0x6b;let _0x1cffd1=_0x10865a[_0x440b88];return _0x1cffd1;},_0x440b(_0x1471e0,_0x5449c9);}import _0x32f064 from'../../../../theme/icons/undo.svg';import _0x22550e from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x112b7b{constructor(_0x1676e7,_0x1fc979){const _0x4c1c09=_0x440b;super(_0x1676e7);const _0x1f218a=this[_0x4c1c09(0xa9)];this[_0x4c1c09(0x8e)]=_0x1fc979,this[_0x4c1c09(0x9d)]=this[_0x4c1c09(0x9a)](),this[_0x4c1c09(0x99)]=this[_0x4c1c09(0xb1)](),this[_0x4c1c09(0x96)]=this[_0x4c1c09(0xad)]([this[_0x4c1c09(0x99)],this[_0x4c1c09(0x9d)]]),this[_0x4c1c09(0x94)]=new _0x103459(),this[_0x4c1c09(0x6f)]=new _0x4531ce(),this[_0x4c1c09(0xaa)]=new _0x4ea6c7({'focusables':this[_0x4c1c09(0x96)],'focusTracker':this[_0x4c1c09(0x94)],'keystrokeHandler':this[_0x4c1c09(0x6f)],'actions':{'focusPrevious':_0x4c1c09(0x6d),'focusNext':_0x4c1c09(0xa4)}}),this[_0x4c1c09(0xab)](_0x4c1c09(0x98))['to'](this[_0x4c1c09(0x8e)],_0x4c1c09(0xa6),_0x5e47f4=>!!_0x5e47f4),this[_0x4c1c09(0xab)](_0x4c1c09(0xa5))['to'](this[_0x4c1c09(0x8e)],_0x4c1c09(0xa6),_0x4eb883=>_0x4eb883&&_0x4eb883[_0x4c1c09(0xa8)]?this[_0x4c1c09(0x9e)](_0x4eb883[_0x4c1c09(0xa8)]):_0x3a18b0(this[_0x4c1c09(0xa1)],_0x4c1c09(0x8c))),this[_0x4c1c09(0x8f)]({'tag':_0x4c1c09(0x7b),'attributes':{'class':[_0x4c1c09(0xa2)]},'children':[{'tag':_0x4c1c09(0x7b),'attributes':{'class':[_0x4c1c09(0x83)]},'children':[{'tag':_0x4c1c09(0x7b),'attributes':{'class':[_0x4c1c09(0x84),_0x1f218a['if'](_0x4c1c09(0x98),_0x4c1c09(0x92))]},'children':[this[_0x4c1c09(0x99)]]}]},{'tag':_0x4c1c09(0x7b),'attributes':{'class':[_0x4c1c09(0x73)]},'children':[this[_0x4c1c09(0x9d)]]}]});}[_0x5af4e6(0x77)](){const _0x2ea014=_0x5af4e6;super[_0x2ea014(0x77)](),this[_0x2ea014(0x76)](),this[_0x2ea014(0x71)]();}[_0x5af4e6(0xaf)](){const _0xedee9=_0x5af4e6;this[_0xedee9(0xaa)][_0xedee9(0x7c)]();}[_0x5af4e6(0x9a)](){const _0x5c70da=_0x5af4e6,_0x5cfdf5=new _0x1dd85b(this[_0x5c70da(0xa1)]);return _0x5cfdf5[_0x5c70da(0x87)]=_0x3a18b0(this[_0x5c70da(0xa1)],_0x5c70da(0x7d)),_0x5cfdf5[_0x5c70da(0x7e)]=_0x3a18b0(this[_0x5c70da(0xa1)],_0x5c70da(0x7d)),_0x5cfdf5[_0x5c70da(0x8b)]=_0x32f064,_0x5cfdf5[_0x5c70da(0xab)](_0x5c70da(0x89))['to'](this[_0x5c70da(0x8e)],_0x5c70da(0x78),_0x435372=>!_0x435372),_0x5cfdf5[_0x5c70da(0xab)](_0x5c70da(0x88))['to'](this[_0x5c70da(0x8e)],_0x5c70da(0x9f),this[_0x5c70da(0x8e)],_0x5c70da(0xb0),(_0x19f05a,_0x55767f)=>_0x19f05a&&_0x55767f),_0x5cfdf5['on'](_0x5c70da(0xac),()=>{const _0x449523=_0x5c70da;this[_0x449523(0x6b)](_0x449523(0x81),this[_0x449523(0x8e)]['id']);}),_0x5cfdf5;}[_0x5af4e6(0x9e)](_0x5b73ca){const _0x25f5b6=_0x5af4e6;if(_0x5b73ca[_0x25f5b6(0x6e)]<0x96)return _0x5b73ca;const _0x1564b7=_0x5b73ca[_0x25f5b6(0x72)]('\x20',0x93);return _0x5b73ca[_0x25f5b6(0x90)](0x0,_0x1564b7>-0x1?_0x1564b7:0x93)+_0x25f5b6(0x6c);}[_0x5af4e6(0x76)](){const _0x31053c=_0x5af4e6,_0x3e0188=this[_0x31053c(0x82)][_0x31053c(0x9c)](_0x31053c(0x80)),_0x1909f7=_0x3e0188[_0x31053c(0x9c)](_0x31053c(0xae));this[_0x31053c(0x86)](_0x3e0188,_0x31053c(0xa0),()=>{const _0x10618b=_0x31053c;_0x1909f7[_0x10618b(0x79)]<_0x1909f7[_0x10618b(0x95)]&&_0x3e0188[_0x10618b(0xb2)][_0x10618b(0x74)](_0x10618b(0x85));}),this[_0x31053c(0x86)](_0x3e0188,_0x31053c(0x8a),()=>{const _0x5dd22c=_0x31053c;_0x3e0188[_0x5dd22c(0xb2)][_0x5dd22c(0x9b)](_0x5dd22c(0x85));});}[_0x5af4e6(0x71)](){const _0x266c4f=_0x5af4e6;this[_0x266c4f(0x6f)][_0x266c4f(0x86)](this[_0x266c4f(0x82)]);for(const _0x24cb29 of this[_0x266c4f(0x96)])this[_0x266c4f(0x94)][_0x266c4f(0x74)](_0x24cb29[_0x266c4f(0x82)]),this[_0x266c4f(0x6f)][_0x266c4f(0x86)](_0x24cb29[_0x266c4f(0x82)]);}[_0x5af4e6(0xb1)](){const _0xef62fb=_0x5af4e6,_0x53407a=new _0x22550e(this[_0xef62fb(0xa1)]);return _0x53407a[_0xef62fb(0xab)](_0xef62fb(0xa5))['to'](this),_0x53407a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5731(){const _0x1f1fbc=['ck-thread__user','bind','element','listenTo','userView','isFocused','mousedown','editorDestroyed','3542583IWMthn','focus','createEditor','50HnKPOV','then','render','editor','showInput','editorReady','21QgjKDS','focusTracker','filter','4348xRTZNe','editing','view','change:showInput','291672AjevuG','delegate','value','contains','set','1629708KdQlXf','ck-comment__input-container','19094wqIPdh','div','44eUTkxI','ck-thread__input','focusCycler','commentInputView','_focusOnNonInteractiveMouseDown','bindTemplate','preventDefault','3152694ewLtyA','getDomRoot','3BzgFGE','10421896iULicY','some','extendTemplate','destroy','setTemplate','target','showButtons','ck-comment__input-container--active','4205wdLFqA'];_0x5731=function(){return _0x1f1fbc;};return _0x5731();}const _0x34df67=_0x4ea8;function _0x4ea8(_0x579190,_0x1e8c6b){const _0x573169=_0x5731();return _0x4ea8=function(_0x4ea82f,_0x477107){_0x4ea82f=_0x4ea82f-0x119;let _0x590abc=_0x573169[_0x4ea82f];return _0x590abc;},_0x4ea8(_0x579190,_0x1e8c6b);}(function(_0x34a03b,_0x25412b){const _0x1efe1f=_0x4ea8,_0x53795f=_0x34a03b();while(!![]){try{const _0x28584a=-parseInt(_0x1efe1f(0x13a))/0x1*(-parseInt(_0x1efe1f(0x12f))/0x2)+parseInt(_0x1efe1f(0x14c))/0x3+-parseInt(_0x1efe1f(0x124))/0x4*(parseInt(_0x1efe1f(0x143))/0x5)+-parseInt(_0x1efe1f(0x138))/0x6*(-parseInt(_0x1efe1f(0x121))/0x7)+-parseInt(_0x1efe1f(0x13b))/0x8+parseInt(_0x1efe1f(0x128))/0x9*(-parseInt(_0x1efe1f(0x11b))/0xa)+parseInt(_0x1efe1f(0x131))/0xb*(parseInt(_0x1efe1f(0x12d))/0xc);if(_0x28584a===_0x25412b)break;else _0x53795f['push'](_0x53795f['shift']());}catch(_0x1a03a4){_0x53795f['push'](_0x53795f['shift']());}}}(_0x5731,0xe7f7d));import{View as _0x4577df}from'ckeditor5/src/ui.js';import _0x38360c from'./commentinputview.js';import{UserView as _0x34d94b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Pt extends _0x4577df{constructor(_0xcba890,_0x260520,_0x179e4b){const _0x54530d=_0x4ea8;super(_0xcba890),this[_0x54530d(0x134)]=new _0x38360c(_0xcba890,_0x179e4b),this[_0x54530d(0x133)]=this[_0x54530d(0x134)][_0x54530d(0x133)],this[_0x54530d(0x134)][_0x54530d(0x145)](_0x54530d(0x141))['to'](this[_0x54530d(0x134)][_0x54530d(0x122)],_0x54530d(0x149),this[_0x54530d(0x134)],_0x54530d(0x12a),(_0x322fd0,_0x1b18bb)=>_0x322fd0||!!_0x1b18bb),this[_0x54530d(0x12c)](_0x54530d(0x11f),!0x1),this['on'](_0x54530d(0x127),()=>{const _0x439e20=_0x54530d;this[_0x439e20(0x11f)]&&!this[_0x439e20(0x134)][_0x439e20(0x11e)]&&this[_0x439e20(0x134)][_0x439e20(0x11a)]();}),this[_0x54530d(0x134)][_0x54530d(0x129)](_0x54530d(0x120))['to'](this),this[_0x54530d(0x134)][_0x54530d(0x129)](_0x54530d(0x14b))['to'](this),this[_0x54530d(0x148)]=new _0x34d94b(_0xcba890,_0x260520),this[_0x54530d(0x148)][_0x54530d(0x13d)]({'attributes':{'class':_0x54530d(0x144),'aria-hidden':!0x0}}),this[_0x54530d(0x134)][_0x54530d(0x13d)]({'attributes':{'class':_0x54530d(0x132)}}),this[_0x54530d(0x13f)]({'tag':_0x54530d(0x130),'attributes':{'class':[_0x54530d(0x12e),this[_0x54530d(0x136)]['if'](_0x54530d(0x11f),_0x54530d(0x142))]},'children':[this[_0x54530d(0x148)],this[_0x54530d(0x134)]]});}[_0x34df67(0x11d)](){const _0x2c92d2=_0x34df67;super[_0x2c92d2(0x11d)](),this[_0x2c92d2(0x135)]();}[_0x34df67(0x13e)](){const _0x3daaaa=_0x34df67;return this[_0x3daaaa(0x134)][_0x3daaaa(0x13e)]()[_0x3daaaa(0x11c)](()=>super[_0x3daaaa(0x13e)]());}[_0x34df67(0x119)](_0x431acb){const _0x2315eb=_0x34df67;this[_0x2315eb(0x134)][_0x2315eb(0x119)](_0x431acb);}[_0x34df67(0x135)](){const _0x1c6a9f=_0x34df67;this[_0x1c6a9f(0x147)](this[_0x1c6a9f(0x146)],_0x1c6a9f(0x14a),(_0xc275b4,_0x54b968)=>{const _0x3835a5=_0x1c6a9f,{submitButtonView:_0x4f9b8e,cancelButtonView:_0x54b92,editor:_0xea8b2d}=this[_0x3835a5(0x134)];[_0x4f9b8e[_0x3835a5(0x146)],_0x54b92[_0x3835a5(0x146)],_0xea8b2d?_0xea8b2d[_0x3835a5(0x125)][_0x3835a5(0x126)][_0x3835a5(0x139)]():null][_0x3835a5(0x123)](_0x4d4fa8=>_0x4d4fa8)[_0x3835a5(0x13c)](_0x2ece5c=>_0x2ece5c[_0x3835a5(0x12b)](_0x54b968[_0x3835a5(0x140)]))||(this[_0x3835a5(0x119)](),_0x54b968[_0x3835a5(0x137)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x3ca1(){const _0x28a7a8=['stop','Write\x20a\x20comment...','containerElement','execute','ck-thread__container','removeConfirm','commentViews','locale','placeholder','archivedAt','has','4769778BGNYoc','ariaLabel','Delete\x20comment\x20thread?','div','render','focusables','isEnabled','Resolve','then','bindTemplate','.ck-thread__container','icon','isUnlinked','isReadOnly','isConfirm','set','_boundFirstCommentView','ck-thread--unlinked','6903995SWeKwF','change:isActive','check','5613751DnSyOQ','high','removeButton','commentThreadInputView','element','_cancelAllConfirms','isSystemComment','3170128wPIbqT','getTemplate','focus','isVisible','commentsListView','13896PzoHrc','listitem','commentThreadChildren','961892LneYED','unbind','change:archivedAt','actionBar','add','_updateArchivedThreadHeader','ck-thread--','7141440ddgpns','listenTo','ck-rounded-corners','_bindFirstCommentView','ck-reset_all-excluded','4760jUjhEy','ck-thread--remove-confirmation','actionIndicator','isActive','isResolved','_createResolveButton','remove','length','removeCommentThread','cancelConfirm','ck-thread--active','_model','setTemplate','isResolvable','label','createCollection','ck-thread','showConfirm','fire','tooltip','resolveCommentThread','6AQNYiD','change:isReadOnly','querySelector','commentThreadHeaderView','extendTemplate','8tbCpMF','2MhpESi','get','ck-comment--resolve','resolveButton','bind','ariaDescriptionView'];_0x3ca1=function(){return _0x28a7a8;};return _0x3ca1();}function _0x3b1d(_0x137601,_0x548a4b){const _0x3ca1dc=_0x3ca1();return _0x3b1d=function(_0x3b1d8a,_0x3919f6){_0x3b1d8a=_0x3b1d8a-0x18b;let _0x11bd3c=_0x3ca1dc[_0x3b1d8a];return _0x11bd3c;},_0x3b1d(_0x137601,_0x548a4b);}const _0x5d8b60=_0x3b1d;(function(_0x2274e0,_0x364103){const _0x51c0b9=_0x3b1d,_0x11ee21=_0x2274e0();while(!![]){try{const _0x188202=parseInt(_0x51c0b9(0x18c))/0x1*(-parseInt(_0x51c0b9(0x1b3))/0x2)+-parseInt(_0x51c0b9(0x1ad))/0x3*(parseInt(_0x51c0b9(0x1e0))/0x4)+parseInt(_0x51c0b9(0x193))/0x5+parseInt(_0x51c0b9(0x1c4))/0x6+-parseInt(_0x51c0b9(0x1d6))/0x7*(-parseInt(_0x51c0b9(0x1b2))/0x8)+parseInt(_0x51c0b9(0x1e5))/0x9*(parseInt(_0x51c0b9(0x198))/0xa)+-parseInt(_0x51c0b9(0x1d9))/0xb;if(_0x188202===_0x364103)break;else _0x11ee21['push'](_0x11ee21['shift']());}catch(_0x5ca8d1){_0x11ee21['push'](_0x11ee21['shift']());}}}(_0x3ca1,0xd898f));import{ConfirmMixin as _0x59aac1,LateFocusButtonView as _0x2db149}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4c1f69}from'ckeditor5/src/core.js';import _0x3e1368 from'./basecommentthreadview.js';import{getTranslation as _0x511a66}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x59aac1(_0x3e1368){constructor(_0x4c370e,_0x27ea66,_0x37d9fb,_0x56e361){const _0x20de02=_0x3b1d;super(_0x4c370e,_0x27ea66,_0x37d9fb,_0x56e361),this[_0x20de02(0x18b)]=this[_0x20de02(0x1a7)]([this[_0x20de02(0x1e4)],this[_0x20de02(0x1dc)],this[_0x20de02(0x1b8)]]),this[_0x20de02(0x1d3)](_0x20de02(0x19a),null),this[_0x20de02(0x1bb)]=null,this[_0x20de02(0x1d4)]=null,this[_0x20de02(0x1c0)]=_0x4c370e,this[_0x20de02(0x1b6)]=this[_0x20de02(0x19d)](),this[_0x20de02(0x1a4)](this[_0x20de02(0x1e1)]()),this['on'](_0x20de02(0x1d7),(_0x273063,_0x42f22f,_0x5d0603)=>{const _0x228bad=_0x20de02;_0x5d0603||this[_0x228bad(0x1de)]();}),this[_0x20de02(0x194)](this[_0x20de02(0x1a3)],_0x20de02(0x1ae),(_0x5cef12,_0x44f5b6,_0x51c3e7)=>{const _0x56004e=_0x20de02;_0x51c3e7&&this[_0x56004e(0x1de)]();}),this[_0x20de02(0x19f)]>0x0&&this[_0x20de02(0x196)](),this[_0x20de02(0x194)](this[_0x20de02(0x1e4)][_0x20de02(0x1bf)],_0x20de02(0x190),()=>{const _0x4c0cc3=_0x20de02;this[_0x4c0cc3(0x196)]();});}[_0x5d8b60(0x1e1)](){const _0x5f1f3d=_0x5d8b60,_0x42bc43=this[_0x5f1f3d(0x1cd)];return{'tag':_0x5f1f3d(0x1c7),'attributes':{'class':['ck',_0x5f1f3d(0x1a8),_0x5f1f3d(0x197),_0x5f1f3d(0x195),_0x42bc43['if'](_0x5f1f3d(0x19b),_0x5f1f3d(0x1a2)),_0x42bc43['if'](_0x5f1f3d(0x1d0),_0x5f1f3d(0x1d5)),_0x42bc43['if'](_0x5f1f3d(0x1d2),_0x5f1f3d(0x199)),_0x42bc43['to'](_0x5f1f3d(0x19a),_0x8676bf=>_0x8676bf?_0x5f1f3d(0x192)+_0x8676bf:'')],'data-thread-id':this[_0x5f1f3d(0x1a3)]['id'],'tabindex':0x0,'role':_0x5f1f3d(0x1e6),'aria-label':_0x42bc43['to'](_0x5f1f3d(0x1c5)),'aria-describedby':this[_0x5f1f3d(0x1b8)]['id']},'children':[{'tag':_0x5f1f3d(0x1c7),'attributes':{'class':_0x5f1f3d(0x1bd)},'children':this[_0x5f1f3d(0x18b)]}]};}[_0x5d8b60(0x1c8)](){const _0x5d6774=_0x5d8b60;super[_0x5d6774(0x1c8)](),this[_0x5d6774(0x1bb)]=this[_0x5d6774(0x1dd)][_0x5d6774(0x1af)](_0x5d6774(0x1ce)),this[_0x5d6774(0x1a3)]['on'](_0x5d6774(0x18e),()=>{const _0x2fcd9e=_0x5d6774;this[_0x2fcd9e(0x191)]();}),this[_0x5d6774(0x191)]();}[_0x5d8b60(0x1de)](){const _0x2d45a8=_0x5d8b60;this[_0x2d45a8(0x1a1)]();for(const _0x274acf of this[_0x2d45a8(0x1e4)][_0x2d45a8(0x1bf)])_0x274acf[_0x2d45a8(0x1a1)]();}[_0x5d8b60(0x196)](){const _0x22f7ff=_0x5d8b60,{locale:_0x3d31a4}=this,_0x3c59ec=this[_0x22f7ff(0x1e4)][_0x22f7ff(0x1bf)][_0x22f7ff(0x1b4)](0x0);_0x3c59ec===this[_0x22f7ff(0x1d4)]||_0x3c59ec[_0x22f7ff(0x1df)]||(this[_0x22f7ff(0x1d4)]=_0x3c59ec,this[_0x22f7ff(0x18d)](_0x22f7ff(0x19a)),this[_0x22f7ff(0x1b7)](_0x22f7ff(0x19a))['to'](_0x3c59ec,_0x22f7ff(0x19a),_0x37809d=>_0x22f7ff(0x19e)===_0x37809d?_0x22f7ff(0x19e):null),_0x3c59ec[_0x22f7ff(0x1c1)]=_0x511a66(_0x3d31a4,_0x22f7ff(0x1ba)),_0x3c59ec[_0x22f7ff(0x1db)]['on'](_0x22f7ff(0x1bc),_0x21d8f2=>{const _0x4e62e8=_0x22f7ff;_0x21d8f2[_0x4e62e8(0x1b9)](),this[_0x4e62e8(0x1a9)](_0x511a66(_0x3d31a4,_0x4e62e8(0x1c6)),this[_0x4e62e8(0x1bb)])[_0x4e62e8(0x1cc)](()=>{const _0x13f161=_0x4e62e8;this[_0x13f161(0x1aa)](_0x13f161(0x1a0));});},{'priority':_0x22f7ff(0x1da)}),this['on'](_0x22f7ff(0x1be),()=>{const _0x3ddc6d=_0x22f7ff;_0x3c59ec[_0x3ddc6d(0x1e2)]();}),_0x3c59ec[_0x22f7ff(0x18f)][_0x22f7ff(0x190)](this[_0x22f7ff(0x1b6)],0x0),_0x3c59ec[_0x22f7ff(0x1c9)][_0x22f7ff(0x190)](this[_0x22f7ff(0x1b6)],0x0));}[_0x5d8b60(0x19d)](){const _0x462b5e=_0x5d8b60,_0x3f5f69=new _0x2db149(this[_0x462b5e(0x1c0)]);return _0x3f5f69[_0x462b5e(0x1a6)]=_0x511a66(this[_0x462b5e(0x1c0)],_0x462b5e(0x1cb)),_0x3f5f69[_0x462b5e(0x1ab)]=_0x511a66(this[_0x462b5e(0x1c0)],_0x462b5e(0x1cb)),_0x3f5f69[_0x462b5e(0x1cf)]=_0x4c1f69[_0x462b5e(0x1d8)],_0x3f5f69[_0x462b5e(0x1b1)]({'attributes':{'class':_0x462b5e(0x1b5)}}),_0x3f5f69[_0x462b5e(0x1b7)](_0x462b5e(0x1ca))['to'](this[_0x462b5e(0x1a3)],_0x462b5e(0x1d1),_0x48f697=>!_0x48f697),_0x3f5f69[_0x462b5e(0x1b7)](_0x462b5e(0x1e3))['to'](this[_0x462b5e(0x1a3)],_0x462b5e(0x1a5),this[_0x462b5e(0x1a3)],_0x462b5e(0x19c),(_0x41f305,_0x200cc8)=>_0x41f305&&!_0x200cc8),_0x3f5f69['on'](_0x462b5e(0x1bc),()=>{const _0x102d31=_0x462b5e;this[_0x102d31(0x1aa)](_0x102d31(0x1ac),this[_0x102d31(0x1a3)]['id']);}),_0x3f5f69;}[_0x5d8b60(0x191)](){const _0x930cb2=_0x5d8b60;this[_0x930cb2(0x1a3)][_0x930cb2(0x1c2)]?this[_0x930cb2(0x18b)][_0x930cb2(0x1c3)](this[_0x930cb2(0x1b0)])||(this[_0x930cb2(0x18b)][_0x930cb2(0x190)](this[_0x930cb2(0x1b0)],0x0),this[_0x930cb2(0x1c9)][_0x930cb2(0x190)](this[_0x930cb2(0x1b0)],0x0)):this[_0x930cb2(0x18b)][_0x930cb2(0x1c3)](this[_0x930cb2(0x1b0)])&&(this[_0x930cb2(0x18b)][_0x930cb2(0x19e)](this[_0x930cb2(0x1b0)]),this[_0x930cb2(0x1c9)][_0x930cb2(0x19e)](this[_0x930cb2(0x1b0)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x54e4(){const _0xd8ff2b=['mouseenter','userView','edit','label','isEditMode','getTemplate','Edit','buttonView','unbind','cancelConfirm','actionBar','editButton','find','ck-annotation__info-time','ck-annotation__actions--hidden','element','remove','ck-annotation__user','ck-annotation__main','dropdown','ck-comment__wrapper','focusables','1748yaNLku','ck-annotation','bindTemplate','ck-comment--remove-confirmation','_attachActions','switchToEditMode','Delete\x20comment?','set','getUserViewNotificationText','visibleView','888YeZdkS','isRemovable','focus','execute','2228256COeQFp','ck-annotation__info-name','Show\x20more\x20items','removeComment','resolvedAt','ck-hidden','isEditable','ck-comment__actions--hidden','ariaDescriptionView','ck-comment__user','_createDropdown','add','some','Remove','blur','ck-annotation__content-wrapper','isExternal','listitem','isEnabled','authoredAt','isReadOnly','placeholder','items','formatDateTime','extendTemplate','render','listenTo','_model','pencil','toMany','children','then','div','ariaLabel','mouseleave','ck-comment__info-name','1718WgsyMV','ck-comment--remove','name','group','push','length','removeButton','icon','author','ck-annotation__actions','13111KcefWj','time','_createCommentInputView','_createRemoveButton','isSystemComment','panelPosition','ck-comment','1201256YluQOX','ck-annotation__info','ck-comment--','createCollection','locale','ck-comment--info','ck-comment--edit','showConfirm','span','62tTXqLl','Reply...','getExternalCommentNote','change:isRemovable','setTemplate','isConfirm','panelView','4274710VYkxNL','isVisible','fire','actionIndicator','_config','withText','2395giTyoT','620847uxXujT','ck-comment__actions','_createEditButton','from','bind','ck-comment__info','threeVerticalDots','ck-comment__external','addMany','ck-comment__main','ck-comment__info-time'];_0x54e4=function(){return _0xd8ff2b;};return _0x54e4();}const _0x4a8daf=_0x11f7;(function(_0x5a73f1,_0x3258f0){const _0x4bc462=_0x11f7,_0x16bb89=_0x5a73f1();while(!![]){try{const _0x219e34=-parseInt(_0x4bc462(0x1b1))/0x1*(parseInt(_0x4bc462(0x197))/0x2)+parseInt(_0x4bc462(0x1bf))/0x3+-parseInt(_0x4bc462(0x165))/0x4*(parseInt(_0x4bc462(0x1be))/0x5)+parseInt(_0x4bc462(0x16f))/0x6*(parseInt(_0x4bc462(0x1a1))/0x7)+parseInt(_0x4bc462(0x1a8))/0x8+parseInt(_0x4bc462(0x173))/0x9+-parseInt(_0x4bc462(0x1b8))/0xa;if(_0x219e34===_0x3258f0)break;else _0x16bb89['push'](_0x16bb89['shift']());}catch(_0x4378dd){_0x16bb89['push'](_0x16bb89['shift']());}}}(_0x54e4,0x2ed62));import{ButtonView as _0x29802b,createDropdown as _0xd79929,ListView as _0x18b9b6,ListItemView as _0x92db78,focusChildOnDropdownOpen as _0x54f63c}from'ckeditor5/src/ui.js';import{icons as _0x15100e}from'ckeditor5/src/core.js';import{UserView as _0x32e5e1,ConfirmMixin as _0xdf62b2,LateFocusDropdownButtonView as _0x1a36ab}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11f7(_0x37feef,_0x1b76da){const _0x54e46a=_0x54e4();return _0x11f7=function(_0x11f798,_0x122a35){_0x11f798=_0x11f798-0x161;let _0xfe393c=_0x54e46a[_0x11f798];return _0xfe393c;},_0x11f7(_0x37feef,_0x1b76da);}import _0x17570c from'./basecommentview.js';import _0x1141dc from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x3e51ed}from'../../../utils/common-translations.js';export default class Tt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xdf62b2(_0x17570c){constructor(_0x23d679,_0x4bfa27,_0x4501be){const _0x29aa5b=_0x11f7;super(_0x23d679,_0x4bfa27,_0x4501be),this[_0x29aa5b(0x16c)](_0x29aa5b(0x1bb),null),this[_0x29aa5b(0x16c)](_0x29aa5b(0x188),_0x3e51ed(_0x23d679,_0x29aa5b(0x1b2))),this[_0x29aa5b(0x1c3)](_0x29aa5b(0x186))['to'](_0x4bfa27),this[_0x29aa5b(0x1c3)](_0x29aa5b(0x177))['to'](_0x4bfa27),this[_0x29aa5b(0x1d4)]=this[_0x29aa5b(0x1ab)](),this[_0x29aa5b(0x1a5)]||(this[_0x29aa5b(0x1d5)]=this[_0x29aa5b(0x1c1)](),this[_0x29aa5b(0x19d)]=this[_0x29aa5b(0x1a4)](),this[_0x29aa5b(0x189)]=this[_0x29aa5b(0x1ab)](),this[_0x29aa5b(0x189)][_0x29aa5b(0x1c7)]([this[_0x29aa5b(0x1d5)],this[_0x29aa5b(0x19d)]]),this[_0x29aa5b(0x162)]=this[_0x29aa5b(0x17d)](),this[_0x29aa5b(0x1d4)][_0x29aa5b(0x17e)](this[_0x29aa5b(0x162)]),this[_0x29aa5b(0x164)][_0x29aa5b(0x17e)](this[_0x29aa5b(0x162)])),this[_0x29aa5b(0x1cb)]=new _0x32e5e1(_0x23d679,_0x4bfa27[_0x29aa5b(0x19f)],this[_0x29aa5b(0x16d)]()),this[_0x29aa5b(0x1cb)][_0x29aa5b(0x18b)]({'attributes':{'class':[_0x29aa5b(0x17c),_0x29aa5b(0x1db)],'aria-hidden':!0x0}}),this[_0x29aa5b(0x18d)](_0x4bfa27,_0x29aa5b(0x1b4),()=>this[_0x29aa5b(0x1d3)]()),this[_0x29aa5b(0x1b5)](this[_0x29aa5b(0x1cf)]());}[_0x4a8daf(0x1cf)](){const _0x5144aa=_0x4a8daf,_0x213aae=this[_0x5144aa(0x167)],_0x42ec7e=[{'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x1c4),_0x5144aa(0x1a9)]},'children':[{'tag':_0x5144aa(0x1b0),'children':[{'text':this[_0x5144aa(0x1cb)][_0x5144aa(0x199)]}],'attributes':{'class':[_0x5144aa(0x196),_0x5144aa(0x174)]}},{'tag':_0x5144aa(0x1a2),'attributes':{'datetime':_0x213aae['to'](_0x5144aa(0x186)),'class':[_0x5144aa(0x1c9),_0x5144aa(0x1d7)]},'children':[{'text':_0x213aae['to'](_0x5144aa(0x186),_0x43a4b5=>this[_0x5144aa(0x1bc)][_0x5144aa(0x18a)](_0x43a4b5))}]}]},{'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x1c0),_0x5144aa(0x1a0),_0x213aae['if'](_0x5144aa(0x1ce),_0x5144aa(0x17a)),_0x213aae['if'](_0x5144aa(0x1ce),_0x5144aa(0x1d8))]},'children':this[_0x5144aa(0x1d4)]},{'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x182)]},'children':this[_0x5144aa(0x16e)]},this[_0x5144aa(0x17b)]];return this[_0x5144aa(0x18e)][_0x5144aa(0x183)]&&_0x42ec7e[_0x5144aa(0x19b)]({'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x1c6)]},'children':[{'text':this[_0x5144aa(0x1b3)]()}]}),{'tag':'li','attributes':{'class':[_0x5144aa(0x163),_0x213aae['if'](_0x5144aa(0x1b6),_0x5144aa(0x168))],'tabindex':-0x1,'aria-label':_0x213aae['to'](_0x5144aa(0x194)),'aria-describedby':this[_0x5144aa(0x17b)]['id'],'role':_0x5144aa(0x184)},'children':[{'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x1a7),_0x5144aa(0x166),_0x213aae['if'](_0x5144aa(0x1ce),_0x5144aa(0x1ae)),_0x213aae['if'](_0x5144aa(0x1a5),_0x5144aa(0x1ad)),_0x213aae['to'](_0x5144aa(0x1bb),_0x3cb3b9=>_0x3cb3b9?_0x5144aa(0x1aa)+_0x3cb3b9:'')],'data-author-id':this[_0x5144aa(0x18e)][_0x5144aa(0x19f)]['id'],'data-comment-id':this[_0x5144aa(0x18e)]['id'],'role':_0x5144aa(0x19a)},'children':[this[_0x5144aa(0x1cb)],{'tag':_0x5144aa(0x193),'attributes':{'class':[_0x5144aa(0x1c8),_0x5144aa(0x161)]},'children':_0x42ec7e}]}]};}[_0x4a8daf(0x1c1)](){const _0x19acec=_0x4a8daf,_0xff5956=new _0x29802b(this[_0x19acec(0x1ac)]);return _0xff5956[_0x19acec(0x1cd)]=_0x3e51ed(this[_0x19acec(0x1ac)],_0x19acec(0x1d0)),_0xff5956[_0x19acec(0x19e)]=_0x15100e[_0x19acec(0x18f)],_0xff5956[_0x19acec(0x1bd)]=!0x0,_0xff5956[_0x19acec(0x18b)]({'attributes':{'class':_0x19acec(0x1ae)}}),_0xff5956[_0x19acec(0x1c3)](_0x19acec(0x185))['to'](this[_0x19acec(0x18e)],_0x19acec(0x187),_0x2f7fcc=>!_0x2f7fcc),_0xff5956[_0x19acec(0x1c3)](_0x19acec(0x1b9))['to'](this[_0x19acec(0x18e)],_0x19acec(0x179)),_0xff5956['on'](_0x19acec(0x172),()=>this[_0x19acec(0x16a)]()),_0xff5956;}[_0x4a8daf(0x1a4)](){const _0x5266b5=_0x4a8daf,_0x421ab7=new _0x29802b(this[_0x5266b5(0x1ac)]);return _0x421ab7[_0x5266b5(0x1cd)]=_0x3e51ed(this[_0x5266b5(0x1ac)],_0x5266b5(0x180)),_0x421ab7[_0x5266b5(0x19e)]=_0x1141dc,_0x421ab7[_0x5266b5(0x1bd)]=!0x0,_0x421ab7[_0x5266b5(0x18b)]({'attributes':{'class':_0x5266b5(0x198)}}),_0x421ab7[_0x5266b5(0x1c3)](_0x5266b5(0x185))['to'](this[_0x5266b5(0x18e)],_0x5266b5(0x187),_0x1c6109=>!_0x1c6109),_0x421ab7[_0x5266b5(0x1c3)](_0x5266b5(0x1b9))['to'](this[_0x5266b5(0x18e)],_0x5266b5(0x170)),_0x421ab7['on'](_0x5266b5(0x172),()=>{const _0x4bf8bb=_0x5266b5;this[_0x4bf8bb(0x1af)](_0x3e51ed(this[_0x4bf8bb(0x1ac)],_0x4bf8bb(0x16b)),this[_0x4bf8bb(0x1d9)])[_0x4bf8bb(0x192)](()=>{const _0x34d85a=_0x4bf8bb;this[_0x34d85a(0x1ba)](_0x34d85a(0x176),this[_0x34d85a(0x18e)]['id']);});}),_0x421ab7;}[_0x4a8daf(0x17d)](){const _0x172f4d=_0x4a8daf,_0x5de62f=_0xd79929(this[_0x172f4d(0x1ac)],_0x1a36ab),_0x12bc84=_0x5de62f[_0x172f4d(0x1b7)][_0x172f4d(0x191)],_0x5a9b28=new _0x18b9b6(this[_0x172f4d(0x1ac)]),_0x102c70=_0x5de62f[_0x172f4d(0x167)];_0x54f63c(_0x5de62f,()=>this[_0x172f4d(0x189)][_0x172f4d(0x1d6)](_0x24140b=>_0x24140b[_0x172f4d(0x1b9)])),_0x5de62f[_0x172f4d(0x18b)]({'attributes':{'class':[_0x102c70['if'](_0x172f4d(0x1b9),_0x172f4d(0x178),_0x34b733=>!_0x34b733)]}});const _0x1a232c=(_0x4c00d4,_0x415180=-0x1)=>{const _0x7540a=_0x172f4d,_0x293416=new _0x92db78(this[_0x7540a(0x1ac)]);_0x293416[_0x7540a(0x191)][_0x7540a(0x17e)](_0x4c00d4);const _0x154b7d=_0x415180>-0x1?_0x415180:_0x5a9b28[_0x7540a(0x189)][_0x7540a(0x19c)];_0x5a9b28[_0x7540a(0x189)][_0x7540a(0x17e)](_0x293416,_0x154b7d);const _0x243a5f=Array[_0x7540a(0x1c2)](this[_0x7540a(0x189)]);_0x5de62f[_0x7540a(0x1d2)](_0x7540a(0x185),_0x7540a(0x1b9)),_0x5de62f[_0x7540a(0x1c3)](_0x7540a(0x185))[_0x7540a(0x190)](_0x243a5f,_0x7540a(0x185),(..._0x46839c)=>_0x46839c[_0x7540a(0x17f)](_0x245e9c=>_0x245e9c)),_0x5de62f[_0x7540a(0x1c3)](_0x7540a(0x1b9))[_0x7540a(0x190)](_0x243a5f,_0x7540a(0x1b9),(..._0x2eaeba)=>_0x2eaeba[_0x7540a(0x17f)](_0x2a12a0=>_0x2a12a0));};_0x5de62f[_0x172f4d(0x1a6)]='sw',_0x5de62f[_0x172f4d(0x1d1)][_0x172f4d(0x16c)]({'label':_0x3e51ed(this[_0x172f4d(0x1ac)],_0x172f4d(0x175)),'icon':_0x15100e[_0x172f4d(0x1c5)]});for(const _0x48d38f of this[_0x172f4d(0x189)])_0x1a232c(_0x48d38f);return _0x12bc84[_0x172f4d(0x17e)](_0x5a9b28),_0x5de62f[_0x172f4d(0x18d)](this[_0x172f4d(0x189)],_0x172f4d(0x17e),(_0x3a47d8,_0x155ffe,_0xf23b61)=>{_0x1a232c(_0x155ffe,_0xf23b61);}),_0x5de62f[_0x172f4d(0x18d)](this[_0x172f4d(0x189)],_0x172f4d(0x1da),(_0x2029d3,_0x52cbd9,_0x5a7cd7)=>{const _0x2631be=_0x172f4d;_0x5a9b28[_0x2631be(0x189)][_0x2631be(0x1da)](_0x5a7cd7);}),_0x5de62f;}[_0x4a8daf(0x169)](_0x325964,_0x3b7638){const _0x441ad6=_0x4a8daf,_0x29cb72=_0x325964&&_0x325964[_0x441ad6(0x1d9)];_0x29cb72&&(this[_0x441ad6(0x18d)](_0x29cb72,_0x441ad6(0x1ca),()=>this[_0x441ad6(0x1bb)]=_0x3b7638),this[_0x441ad6(0x18d)](_0x29cb72,_0x441ad6(0x171),()=>this[_0x441ad6(0x1bb)]=_0x3b7638),this[_0x441ad6(0x18d)](_0x29cb72,_0x441ad6(0x195),()=>this[_0x441ad6(0x1bb)]=null),this[_0x441ad6(0x18d)](_0x29cb72,_0x441ad6(0x181),()=>this[_0x441ad6(0x1bb)]=null));}[_0x4a8daf(0x1a3)](){const _0x4f69e2=_0x4a8daf,_0x47cfc1=super[_0x4f69e2(0x1a3)]();return _0x47cfc1[_0x4f69e2(0x1c3)](_0x4f69e2(0x188))['to'](this),_0x47cfc1;}[_0x4a8daf(0x18c)](){const _0x59bfdd=_0x4a8daf;super[_0x59bfdd(0x18c)](),this[_0x59bfdd(0x169)](this[_0x59bfdd(0x1d5)],_0x59bfdd(0x1cc)),this[_0x59bfdd(0x169)](this[_0x59bfdd(0x19d)],_0x59bfdd(0x1da));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4eec82=_0x4629;(function(_0x150ca4,_0x5c501c){var _0x4478fc=_0x4629,_0x227a72=_0x150ca4();while(!![]){try{var _0x1cf397=-parseInt(_0x4478fc(0xf0))/0x1*(-parseInt(_0x4478fc(0xf4))/0x2)+parseInt(_0x4478fc(0xf7))/0x3+parseInt(_0x4478fc(0xf1))/0x4*(-parseInt(_0x4478fc(0xf2))/0x5)+-parseInt(_0x4478fc(0xf3))/0x6+-parseInt(_0x4478fc(0xef))/0x7+parseInt(_0x4478fc(0xfb))/0x8*(-parseInt(_0x4478fc(0xf5))/0x9)+-parseInt(_0x4478fc(0xf9))/0xa*(-parseInt(_0x4478fc(0xf6))/0xb);if(_0x1cf397===_0x5c501c)break;else _0x227a72['push'](_0x227a72['shift']());}catch(_0x2497b6){_0x227a72['push'](_0x227a72['shift']());}}}(_0x4dd5,0x63eb0));function _0x4629(_0x46ccfc,_0x366052){var _0x4dd579=_0x4dd5();return _0x4629=function(_0x46291a,_0x5b58d8){_0x46291a=_0x46291a-0xed;var _0x5b9133=_0x4dd579[_0x46291a];return _0x5b9133;},_0x4629(_0x46ccfc,_0x366052);}import{Plugin as _0x365cce}from'ckeditor5/src/core.js';import _0x18620e from'./comments/commentsrepository.js';import _0x5903b1 from'./comments/commentsediting.js';import _0x9ba90a from'./comments/commentsui.js';import _0x213bef from'./commentsonly.js';import _0x130dd4 from'./annotations/widesidebar.js';import _0x3789d2 from'./annotations/narrowsidebar.js';import _0x57c607 from'./annotations/inlineannotations.js';function _0x4dd5(){var _0x2095e4=['Comments','requires','isPremiumPlugin','1298983LeVtHf','24421pHbWNo','927988wxGOGH','5PzrdQC','2830488IGbUgs','14kxuTnu','1179sxIhPr','1661kJYbTJ','1147245VOVCHg','pluginName','58470GbhhOF','isOfficialPlugin','8408ooRIZs'];_0x4dd5=function(){return _0x2095e4;};return _0x4dd5();}import _0x166a4a from'./comments/commentsarchiveui.js';import _0x4c68d0 from'./comments/commentsarchive.js';export default class p extends _0x365cce{static get[_0x4eec82(0xed)](){return[_0x18620e,_0x5903b1,_0x9ba90a,_0x4c68d0,_0x166a4a,_0x213bef,_0x130dd4,_0x3789d2,_0x57c607];}static get[_0x4eec82(0xf8)](){var _0xdb7c6c=_0x4eec82;return _0xdb7c6c(0xfc);}static get[_0x4eec82(0xfa)](){return!0x0;}static get[_0x4eec82(0xee)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x161c(){const _0x51fc1e=['set','commands','isOfficialPlugin','88424YscdiL','isEnabled','2hdPlfo','editor','requires','commentsOnlyMode','get','12mPCUgx','delete','937797XIBtLO','forceDisabled','182906CGaLsb','addCommentThread','commentsOnly','pluginName','has','4550623fwuash','plugins','editing','stop','change:isEnabled','_disableCommentsOnlyMode','highest','_enableCommentsOnlyMode','clipboardInput','config','290060lfePUV','listenTo','document','CommentsOnly','25UXLKhE','612952joVLTL','cut','view','isPremiumPlugin','affectsData','DragDrop','clearForceDisabled','1173708iZUnpU','72CDXfqk','afterInit','stopListening'];_0x161c=function(){return _0x51fc1e;};return _0x161c();}const _0xd8cd97=_0x12bf;(function(_0x269e76,_0x41397a){const _0x31ed64=_0x12bf,_0x2e61e2=_0x269e76();while(!![]){try{const _0x4a0623=-parseInt(_0x31ed64(0x20d))/0x1*(parseInt(_0x31ed64(0x216))/0x2)+-parseInt(_0x31ed64(0x204))/0x3+-parseInt(_0x31ed64(0x20b))/0x4*(parseInt(_0x31ed64(0x1fc))/0x5)+parseInt(_0x31ed64(0x212))/0x6*(parseInt(_0x31ed64(0x214))/0x7)+parseInt(_0x31ed64(0x1fd))/0x8+parseInt(_0x31ed64(0x205))/0x9*(parseInt(_0x31ed64(0x1f8))/0xa)+parseInt(_0x31ed64(0x1ee))/0xb;if(_0x4a0623===_0x41397a)break;else _0x2e61e2['push'](_0x2e61e2['shift']());}catch(_0x32883e){_0x2e61e2['push'](_0x2e61e2['shift']());}}}(_0x161c,0x4a9de));function _0x12bf(_0x1aead2,_0xe2da34){const _0x161c5e=_0x161c();return _0x12bf=function(_0x12bf56,_0x29dbd9){_0x12bf56=_0x12bf56-0x1ea;let _0x456ab3=_0x161c5e[_0x12bf56];return _0x456ab3;},_0x12bf(_0x1aead2,_0xe2da34);}import{Plugin as _0x5bddf3}from'ckeditor5/src/core.js';import _0x75fbbb from'./comments/commentsediting.js';export default class s extends _0x5bddf3{static get[_0xd8cd97(0x1ec)](){const _0x57f16d=_0xd8cd97;return _0x57f16d(0x1fb);}static get[_0xd8cd97(0x20a)](){return!0x0;}static get[_0xd8cd97(0x200)](){return!0x0;}static get[_0xd8cd97(0x20f)](){return[_0x75fbbb];}constructor(_0x52a46c){const _0x37a9b3=_0xd8cd97;super(_0x52a46c),this[_0x37a9b3(0x208)](_0x37a9b3(0x20c),!0x1),this['on'](_0x37a9b3(0x1f2),(_0x392441,_0x4e22c4,_0x385cf5)=>{const _0x8ddf6a=_0x37a9b3;_0x385cf5?this[_0x8ddf6a(0x1f5)]():this[_0x8ddf6a(0x1f3)]();});}[_0xd8cd97(0x206)](){const _0x5082b0=_0xd8cd97;!this[_0x5082b0(0x20c)]&&this[_0x5082b0(0x20e)][_0x5082b0(0x1f7)][_0x5082b0(0x211)](_0x5082b0(0x1eb))&&(this[_0x5082b0(0x20c)]=!0x0);}[_0xd8cd97(0x1f5)](){const _0x3d0a9a=_0xd8cd97;for(const [_0x300ffb,_0x14638b]of this[_0x3d0a9a(0x20e)][_0x3d0a9a(0x209)])_0x14638b[_0x3d0a9a(0x201)]&&_0x3d0a9a(0x1ea)!==_0x300ffb&&_0x14638b[_0x3d0a9a(0x215)](_0x3d0a9a(0x210));this[_0x3d0a9a(0x20e)][_0x3d0a9a(0x1ef)][_0x3d0a9a(0x1ed)](_0x3d0a9a(0x202))&&this[_0x3d0a9a(0x20e)][_0x3d0a9a(0x1ef)][_0x3d0a9a(0x211)](_0x3d0a9a(0x202))[_0x3d0a9a(0x215)](_0x3d0a9a(0x210));const _0x23f87a=this[_0x3d0a9a(0x20e)][_0x3d0a9a(0x1f0)][_0x3d0a9a(0x1ff)][_0x3d0a9a(0x1fa)];this[_0x3d0a9a(0x1f9)](_0x23f87a,_0x3d0a9a(0x1fe),_0x27d050=>_0x27d050[_0x3d0a9a(0x1f1)](),{'priority':_0x3d0a9a(0x1f4)}),this[_0x3d0a9a(0x1f9)](_0x23f87a,_0x3d0a9a(0x1f6),_0x22ba43=>_0x22ba43[_0x3d0a9a(0x1f1)](),{'priority':_0x3d0a9a(0x1f4)}),this[_0x3d0a9a(0x1f9)](_0x23f87a,_0x3d0a9a(0x213),_0x459ee9=>_0x459ee9[_0x3d0a9a(0x1f1)](),{'priority':_0x3d0a9a(0x1f4)});}[_0xd8cd97(0x1f3)](){const _0x2970da=_0xd8cd97;for(const [_0x18b171,_0x7e7848]of this[_0x2970da(0x20e)][_0x2970da(0x209)])_0x7e7848[_0x2970da(0x201)]&&_0x2970da(0x1ea)!==_0x18b171&&_0x7e7848[_0x2970da(0x203)](_0x2970da(0x210));this[_0x2970da(0x207)](this[_0x2970da(0x20e)][_0x2970da(0x1f0)][_0x2970da(0x1ff)][_0x2970da(0x1fa)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x336902,_0x168149){var _0x4532c7=_0x2717,_0x5b0c7f=_0x336902();while(!![]){try{var _0x163721=-parseInt(_0x4532c7(0x1fa))/0x1*(parseInt(_0x4532c7(0x1f3))/0x2)+parseInt(_0x4532c7(0x1f9))/0x3*(parseInt(_0x4532c7(0x1fc))/0x4)+-parseInt(_0x4532c7(0x1f8))/0x5+-parseInt(_0x4532c7(0x1f4))/0x6*(-parseInt(_0x4532c7(0x1f5))/0x7)+parseInt(_0x4532c7(0x1f6))/0x8+-parseInt(_0x4532c7(0x1fb))/0x9+parseInt(_0x4532c7(0x1f2))/0xa*(-parseInt(_0x4532c7(0x1f7))/0xb);if(_0x163721===_0x168149)break;else _0x5b0c7f['push'](_0x5b0c7f['shift']());}catch(_0x4cdbe2){_0x5b0c7f['push'](_0x5b0c7f['shift']());}}}(_0x51df,0x2eca5));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';function _0x51df(){var _0x4b6a8c=['388LaXclh','19160SaiZIM','116BlmgZo','6zPOXXc','1158353qUzusm','3025384pPJTse','1111Oxeznk','1278285UYyhQM','6852QJSseU','59TdDXHg','1088568AilPyD'];_0x51df=function(){return _0x4b6a8c;};return _0x51df();}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 _0x2717(_0x4e25a4,_0xb52b19){var _0x51df48=_0x51df();return _0x2717=function(_0x271768,_0x578688){_0x271768=_0x271768-0x1f2;var _0x157cf0=_0x51df48[_0x271768];return _0x157cf0;},_0x2717(_0x4e25a4,_0xb52b19);}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';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(_0x5f5b40,_0x5e2fda,_0x564758){const t=_0x5f5b40['t'];switch(_0x5e2fda){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'},_0x564758);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'},_0x564758);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'},_0x564758);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'},_0x564758);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x564758);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'},_0x564758);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'},_0x564758);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'},_0x564758);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});case'COMMENTS_ARCHIVE_LIST_LABEL':return t({'string':'List\x20of\x20comments','id':'COMMENTS_ARCHIVE_LIST_LABEL'});case'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP':return t({'string':'Keystrokes\x20for\x20interacting\x20with\x20annotation\x20threads\x20(e.g.\x20comments,\x20track\x20changes\x20suggestions)','id':'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'});case'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO':return t({'string':'Move\x20focus\x20to\x20the\x20thread\x20when\x20the\x20selection\x20is\x20anchored\x20in\x20its\x20marker','id':'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'});case'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT':return t({'string':'Exit\x20the\x20annotation\x20and\x20move\x20focus\x20back\x20to\x20the\x20edited\x20content','id':'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER':return t({'string':'Browse\x20the\x20focused\x20annotation\x20thread\x20or\x20thread\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'});case'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS':return t({'string':'Move\x20across\x20internals\x20of\x20the\x20annotation\x20thread','id':'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'});case'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT':return t({'string':'Submit\x20the\x20reply\x20while\x20writing\x20a\x20comment','id':'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'});case'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS':return t({'string':'Move\x20to\x20the\x20previous\x20or\x20next\x20thread\x20in\x20the\x20annotations\x20sidebar\x20or\x20comments\x20archive','id':'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x56aa86,_0x5002e3){const _0x4a76ac=_0x20db,_0x21d357=_0x56aa86();while(!![]){try{const _0x42a6e4=parseInt(_0x4a76ac(0x192))/0x1+-parseInt(_0x4a76ac(0x194))/0x2+-parseInt(_0x4a76ac(0x19d))/0x3+parseInt(_0x4a76ac(0x19a))/0x4+parseInt(_0x4a76ac(0x19e))/0x5*(parseInt(_0x4a76ac(0x199))/0x6)+-parseInt(_0x4a76ac(0x18e))/0x7+parseInt(_0x4a76ac(0x195))/0x8*(-parseInt(_0x4a76ac(0x193))/0x9);if(_0x42a6e4===_0x5002e3)break;else _0x21d357['push'](_0x21d357['shift']());}catch(_0x2b84ad){_0x21d357['push'](_0x21d357['shift']());}}}(_0x1b60,0x8562f));function _0x20db(_0x1a40f6,_0x391872){const _0x1b6022=_0x1b60();return _0x20db=function(_0x20dbaa,_0x29b9df){_0x20dbaa=_0x20dbaa-0x18e;let _0x4075d1=_0x1b6022[_0x20dbaa];return _0x4075d1;},_0x20db(_0x1a40f6,_0x391872);}function _0x1b60(){const _0x2e6e94=['730290NZOuMY','5oNrcRe','attributes','1065603nQQRxQ','type','class','cancel','817164ghlZlB','433071uWlpyf','165040oDJfvz','88mAGbFp','characterData','observe','childList','251562Ckticl','2778992xGhQdy','attributeName','disconnect'];_0x1b60=function(){return _0x2e6e94;};return _0x1b60();}import{throttle as _0x2416d6}from'lodash-es';export default function J(_0x3cd391){const _0x546ac6=_0x2416d6(_0x3cd391,0x1e),_0x4a99a9=new MutationObserver(_0x591a4a=>{const _0x165f26=_0x20db;for(const _0x5319a3 of _0x591a4a)(_0x165f26(0x19f)==_0x5319a3[_0x165f26(0x18f)]&&_0x165f26(0x190)==_0x5319a3[_0x165f26(0x19b)]||_0x165f26(0x198)==_0x5319a3[_0x165f26(0x18f)]||_0x165f26(0x196)==_0x5319a3[_0x165f26(0x18f)])&&_0x546ac6();});return{'attach'(_0x4b0e7b){const _0x235357=_0x20db;_0x4a99a9[_0x235357(0x197)](_0x4b0e7b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5f91b4=_0x20db;_0x4a99a9[_0x5f91b4(0x19c)](),_0x546ac6[_0x5f91b4(0x191)]();}};}
|