@ckeditor/ckeditor5-comments 47.2.0-alpha.6 → 47.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x455f(_0x12e52c,_0x430b9a){const _0x1219b4=_0x1219();return _0x455f=function(_0x455fdb,_0x1a65df){_0x455fdb=_0x455fdb-0x1d0;let _0x47c164=_0x1219b4[_0x455fdb];return _0x47c164;},_0x455f(_0x12e52c,_0x430b9a);}const _0x103601=_0x455f;(function(_0x4e0837,_0x563007){const _0x4b42bc=_0x455f,_0x186acb=_0x4e0837();while(!![]){try{const _0x4cc002=-parseInt(_0x4b42bc(0x1f2))/0x1+parseInt(_0x4b42bc(0x1e9))/0x2+-parseInt(_0x4b42bc(0x1f6))/0x3*(-parseInt(_0x4b42bc(0x209))/0x4)+parseInt(_0x4b42bc(0x22f))/0x5+parseInt(_0x4b42bc(0x22b))/0x6*(-parseInt(_0x4b42bc(0x216))/0x7)+-parseInt(_0x4b42bc(0x21d))/0x8+-parseInt(_0x4b42bc(0x1d0))/0x9*(-parseInt(_0x4b42bc(0x225))/0xa);if(_0x4cc002===_0x563007)break;else _0x186acb['push'](_0x186acb['shift']());}catch(_0x339d44){_0x186acb['push'](_0x186acb['shift']());}}}(_0x1219,0x5c04f));import{View as _0x57b29a,FocusCycler as _0x5c9f5d}from'ckeditor5/src/ui.js';import{diff as _0x5ca06c,Collection as _0x339709,FocusTracker as _0x4b9066,KeystrokeHandler as _0x4bdc80}from'ckeditor5/src/utils.js';function _0x1219(){const _0x279391=['_collapsedCommentsView','listenTo','editorDestroyed','46348tPIUer','change:isResolved','delegate','maxThreadTotalWeight','maxCommentCharsWhenCollapsed','CommentView','reverse','_handleRemoveCommentModel','ck-thread__comments','440083ipipXC','Marked\x20as\x20resolved','insert','_rearrangeExpand','1041PzzMJF','length','collapse','commentUpdated','change:isActive','_handleInfoComment','_config','equal','arrowup','hasDirtyComment','element','refreshVisibleViews','some','visibleViews','_model','editorReady','updateComment','_shouldCollapse','commentViews','6556lFHjQr','focusTracker','comments','count','_rearrangeCollapse','focusLast','forEach','stopListening','weight','editorConfig','resolvedAt','ck-hidden','arrowdown','166229OHgpzr','render','includes','added','removeComment','_findOptimalIndex','destroy','3846656dQdwzq','focus','set','resolveCommentThread','createCollection','get','isEditMode','resolvedBy','10470BFRFQa','delete','from','bindTemplate','setTemplate','maxCommentsWhenCollapsed','6nHMUZE','keystrokes','removed','_updateHasDirtyComment','3360405ngZciW','formatDateTime','495qqGKVu','authoredAt','resolvedCommentView','expand','viewUid','focusCycler','change','map','change:isEditMode','bind','isActive','_setupKeyboardNavigation','Thread\x20comments','focusFirst','target','resolved','locale','add','_calculatePosition','change:hasDirtyComment','remove','_handleNewCommentModel'];_0x1219=function(){return _0x279391;};return _0x1219();}import{getTranslation as _0x1c2180}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x4a44cd}from'./collapsedcommentsview.js';export class CommentsListView extends _0x57b29a{[_0x103601(0x208)];[_0x103601(0x1d2)];[_0x103601(0x20a)];[_0x103601(0x22c)];[_0x103601(0x1d5)];[_0x103601(0x204)];[_0x103601(0x1fc)];[_0x103601(0x1e6)];constructor(_0x5241e4,_0x7140fc,_0x5d6b29){const _0x1f1ea6=_0x103601;super(_0x5241e4);const _0x90a674=this[_0x1f1ea6(0x228)];this[_0x1f1ea6(0x21f)](_0x1f1ea6(0x1ff),!0x1),this[_0x1f1ea6(0x21f)](_0x1f1ea6(0x1f7),_0x7140fc[_0x1f1ea6(0x20b)][_0x1f1ea6(0x1f7)]),this[_0x1f1ea6(0x21f)](_0x1f1ea6(0x1da),!0x1),this[_0x1f1ea6(0x204)]=_0x7140fc,this[_0x1f1ea6(0x1fc)]=_0x5d6b29,this[_0x1f1ea6(0x208)]=this[_0x1f1ea6(0x221)](),this[_0x1f1ea6(0x203)]=this[_0x1f1ea6(0x221)](),this[_0x1f1ea6(0x1d2)]=null,this[_0x1f1ea6(0x20a)]=new _0x4b9066(),this[_0x1f1ea6(0x22c)]=new _0x4bdc80(),this[_0x1f1ea6(0x1d5)]=new _0x5c9f5d({'focusables':this[_0x1f1ea6(0x208)],'focusTracker':this[_0x1f1ea6(0x20a)],'keystrokeHandler':this[_0x1f1ea6(0x22c)],'keystrokeHandlerOptions':{'filter':_0x120826=>this[_0x1f1ea6(0x208)][_0x1f1ea6(0x1d7)](_0x1434aa=>_0x1434aa[_0x1f1ea6(0x200)])[_0x1f1ea6(0x218)](_0x120826[_0x1f1ea6(0x1de)])},'actions':{'focusPrevious':_0x1f1ea6(0x1fe),'focusNext':_0x1f1ea6(0x215)}}),this[_0x1f1ea6(0x1e6)]=new _0x4a44cd(_0x5241e4),this[_0x1f1ea6(0x1e6)][_0x1f1ea6(0x1d9)](_0x1f1ea6(0x20c))['to'](this,_0x1f1ea6(0x1f7),_0x56dfce=>_0x56dfce-this[_0x1f1ea6(0x1fc)][_0x1f1ea6(0x22a)]);for(const _0x3f7af3 of _0x7140fc[_0x1f1ea6(0x20b)])this[_0x1f1ea6(0x1e5)](_0x3f7af3);this[_0x1f1ea6(0x1fb)](),this[_0x1f1ea6(0x1e7)](_0x7140fc[_0x1f1ea6(0x20b)],_0x1f1ea6(0x1e1),(_0x2675ce,_0xab59a0)=>{const _0x1a8ada=_0x1f1ea6,_0x553f44=this[_0x1a8ada(0x1e2)](_0xab59a0);this[_0x1a8ada(0x1f7)]++,this[_0x1a8ada(0x1e5)](_0xab59a0,_0x553f44),this[_0x1a8ada(0x201)]();}),this[_0x1f1ea6(0x1e7)](_0x7140fc[_0x1f1ea6(0x20b)],_0x1f1ea6(0x1e4),(_0x40b84e,_0x270a4f)=>{const _0x596a59=_0x1f1ea6;this[_0x596a59(0x1f7)]--,this[_0x596a59(0x1f0)](_0x270a4f),this[_0x596a59(0x201)]();}),this[_0x1f1ea6(0x1e7)](_0x7140fc,_0x1f1ea6(0x1f9),()=>this[_0x1f1ea6(0x201)]()),this[_0x1f1ea6(0x1e7)](_0x7140fc,_0x1f1ea6(0x1ea),()=>this[_0x1f1ea6(0x1fb)]()),this['on'](_0x1f1ea6(0x1fa),()=>this[_0x1f1ea6(0x201)]()),this['on'](_0x1f1ea6(0x1e3),()=>this[_0x1f1ea6(0x201)]()),this[_0x1f1ea6(0x229)]({'tag':'ul','attributes':{'class':[_0x1f1ea6(0x1f1),_0x90a674['if'](_0x1f1ea6(0x1f7),_0x1f1ea6(0x214),_0x42863f=>!_0x42863f)],'aria-label':_0x1c2180(_0x5241e4,_0x1f1ea6(0x1dc))},'children':this[_0x1f1ea6(0x203)]});}get[_0x103601(0x207)](){const _0x30e49e=_0x103601;return this[_0x30e49e(0x204)][_0x30e49e(0x211)]>this[_0x30e49e(0x1fc)][_0x30e49e(0x1ec)]&&!this[_0x30e49e(0x1da)]&&!this[_0x30e49e(0x1ff)];}[_0x103601(0x217)](){const _0x47b447=_0x103601;super[_0x47b447(0x217)](),this[_0x47b447(0x201)](),this[_0x47b447(0x1db)]();}[_0x103601(0x21e)](_0x404a4c){const _0x267141=_0x103601;-0x1===_0x404a4c?this[_0x267141(0x1d5)][_0x267141(0x20e)]():this[_0x267141(0x1d5)][_0x267141(0x1dd)]();}[_0x103601(0x21c)](){const _0x2673f2=_0x103601;this[_0x2673f2(0x1e6)][_0x2673f2(0x21c)]();for(const _0x248ae5 of this[_0x2673f2(0x208)])_0x248ae5[_0x2673f2(0x21c)]();super[_0x2673f2(0x21c)]();}[_0x103601(0x201)](){const _0xac1312=_0x103601;this[_0xac1312(0x207)]?this[_0xac1312(0x20d)]():this[_0xac1312(0x1f5)]();}[_0x103601(0x1e5)](_0x3aa073,_0x50fe1b){const _0x40306b=_0x103601,_0x446ecb=new this[(_0x40306b(0x1fc))][(_0x40306b(0x1ee))](this[_0x40306b(0x1e0)],_0x3aa073,{'maxCommentCharsWhenCollapsed':this[_0x40306b(0x1fc)][_0x40306b(0x1ed)],'formatDateTime':this[_0x40306b(0x1fc)][_0x40306b(0x230)],'editorConfig':this[_0x40306b(0x1fc)][_0x40306b(0x212)]});_0x446ecb[_0x40306b(0x1d4)]=_0x3aa073['id'],_0x446ecb[_0x40306b(0x1eb)](_0x40306b(0x21a))['to'](this),_0x446ecb[_0x40306b(0x1eb)](_0x40306b(0x206))['to'](this),_0x446ecb[_0x40306b(0x1eb)](_0x40306b(0x220))['to'](this),_0x446ecb[_0x40306b(0x1eb)](_0x40306b(0x205))['to'](this),_0x446ecb[_0x40306b(0x1eb)](_0x40306b(0x1e8))['to'](this),this[_0x40306b(0x1e7)](_0x446ecb,_0x40306b(0x1d8),()=>this[_0x40306b(0x22e)]()),this[_0x40306b(0x208)][_0x40306b(0x1e1)](_0x446ecb,_0x50fe1b);}[_0x103601(0x1e2)](_0x37ed2b){const _0x2d54b3=_0x103601,_0x418e50=this[_0x2d54b3(0x204)][_0x2d54b3(0x21b)](_0x37ed2b);return this[_0x2d54b3(0x1d2)]?this[_0x2d54b3(0x1d2)][_0x2d54b3(0x1d1)]>_0x37ed2b[_0x2d54b3(0x1d1)]?_0x418e50-0x1:_0x418e50:_0x418e50-0x1;}[_0x103601(0x1fb)](){const _0x597c03=_0x103601;if(this[_0x597c03(0x204)][_0x597c03(0x224)]&&this[_0x597c03(0x204)][_0x597c03(0x213)]){const _0x3e8dae={'id':_0x597c03(0x1df),'author':this[_0x597c03(0x204)][_0x597c03(0x224)],'authoredAt':this[_0x597c03(0x204)][_0x597c03(0x213)],'content':_0x1c2180(this[_0x597c03(0x1e0)],_0x597c03(0x1f3)),'attributes':{}};this[_0x597c03(0x1d2)]=new this[(_0x597c03(0x1fc))][(_0x597c03(0x1ee))](this[_0x597c03(0x1e0)],_0x3e8dae,{'maxCommentCharsWhenCollapsed':this[_0x597c03(0x1fc)][_0x597c03(0x1ed)],'formatDateTime':this[_0x597c03(0x1fc)][_0x597c03(0x230)],'editorConfig':this[_0x597c03(0x1fc)][_0x597c03(0x212)],'isSystemComment':!0x0}),this[_0x597c03(0x208)][_0x597c03(0x1e1)](this[_0x597c03(0x1d2)],this[_0x597c03(0x204)][_0x597c03(0x21b)](_0x3e8dae));}else this[_0x597c03(0x1d2)]&&(this[_0x597c03(0x208)][_0x597c03(0x1e4)](this[_0x597c03(0x1d2)]),this[_0x597c03(0x1d2)][_0x597c03(0x21c)](),this[_0x597c03(0x1d2)]=null);this[_0x597c03(0x201)]();}[_0x103601(0x1f0)](_0x46662d){const _0x3f8b72=_0x103601,_0x5f15b1=this[_0x3f8b72(0x208)][_0x3f8b72(0x1e4)](_0x46662d['id']);this[_0x3f8b72(0x210)](_0x5f15b1),_0x5f15b1[_0x3f8b72(0x223)]&&this[_0x3f8b72(0x22e)](),_0x5f15b1[_0x3f8b72(0x21c)]();}[_0x103601(0x22e)](){const _0x3bad3b=_0x103601;this[_0x3bad3b(0x1ff)]=Array[_0x3bad3b(0x227)](this[_0x3bad3b(0x208)])[_0x3bad3b(0x202)](_0x5874c3=>_0x5874c3[_0x3bad3b(0x223)]);}[_0x103601(0x20d)](){const _0x1bd727=_0x103601,_0x16883c=function(_0x44289b){const _0x2d40e6=_0x455f,_0xcb2770=new _0x339709();for(const _0x14d9b0 of _0x44289b)_0xcb2770[_0x2d40e6(0x1e1)](_0x14d9b0);return _0xcb2770;}(this[_0x1bd727(0x208)]),_0x18dc86=this[_0x1bd727(0x1e6)][_0x1bd727(0x20c)];for(let _0xc5a212=0x1;_0xc5a212<=_0x18dc86;_0xc5a212++)_0x16883c[_0x1bd727(0x1e4)](0x1);for(const _0x3e6e45 of _0x16883c)_0x3e6e45[_0x1bd727(0x1f8)]();_0x18dc86>0x0&&_0x16883c[_0x1bd727(0x1e1)](this[_0x1bd727(0x1e6)],0x1),Ut(_0x5ca06c(Array[_0x1bd727(0x227)](this[_0x1bd727(0x203)]),Array[_0x1bd727(0x227)](_0x16883c)),this[_0x1bd727(0x203)],_0x16883c);}[_0x103601(0x1f5)](){const _0x443f1d=_0x103601;Ut(_0x5ca06c(Array[_0x443f1d(0x227)](this[_0x443f1d(0x203)]),Array[_0x443f1d(0x227)](this[_0x443f1d(0x208)])),this[_0x443f1d(0x203)],this[_0x443f1d(0x208)]);for(const _0x2b6136 of this[_0x443f1d(0x203)])_0x2b6136[_0x443f1d(0x1d3)]();}[_0x103601(0x1db)](){const _0x312fe0=_0x103601;this[_0x312fe0(0x208)][_0x312fe0(0x20f)](_0x2e52d6=>{const _0x5def31=_0x312fe0;this[_0x5def31(0x20a)][_0x5def31(0x1e1)](_0x2e52d6[_0x5def31(0x200)]),this[_0x5def31(0x22c)][_0x5def31(0x1e7)](_0x2e52d6[_0x5def31(0x200)]);}),this[_0x312fe0(0x208)]['on'](_0x312fe0(0x1d6),(_0xbcac95,_0x1b29dd)=>{const _0x3e1ad4=_0x312fe0;for(const _0x208b9d of _0x1b29dd[_0x3e1ad4(0x22d)])this[_0x3e1ad4(0x20a)][_0x3e1ad4(0x1e4)](_0x208b9d[_0x3e1ad4(0x200)]),this[_0x3e1ad4(0x22c)][_0x3e1ad4(0x210)](_0x208b9d[_0x3e1ad4(0x200)]);for(const _0x3cafef of Array[_0x3e1ad4(0x227)](_0x1b29dd[_0x3e1ad4(0x219)])[_0x3e1ad4(0x1ef)]())this[_0x3e1ad4(0x20a)][_0x3e1ad4(0x1e1)](_0x3cafef[_0x3e1ad4(0x200)]),this[_0x3e1ad4(0x22c)][_0x3e1ad4(0x1e7)](_0x3cafef[_0x3e1ad4(0x200)]);});}}function Ut(_0x557047,_0x38d8ab,_0x4e6c3a){const _0x559ee0=_0x103601;let _0x21cddd=0x0;for(const _0x34cfde of _0x557047)switch(_0x34cfde){case _0x559ee0(0x1f4):_0x38d8ab[_0x559ee0(0x1e1)](_0x4e6c3a[_0x559ee0(0x222)](_0x21cddd),_0x21cddd),_0x21cddd++;break;case _0x559ee0(0x226):_0x38d8ab[_0x559ee0(0x1e4)](_0x21cddd);break;case _0x559ee0(0x1fd):_0x21cddd++;}}
|
|
23
|
+
const _0x1b8584=_0x1c27;(function(_0x4f8a91,_0x96e3a8){const _0x597124=_0x1c27,_0x476b02=_0x4f8a91();while(!![]){try{const _0x16c93a=parseInt(_0x597124(0x177))/0x1*(parseInt(_0x597124(0x17c))/0x2)+-parseInt(_0x597124(0x186))/0x3*(-parseInt(_0x597124(0x14e))/0x4)+parseInt(_0x597124(0x19e))/0x5+parseInt(_0x597124(0x194))/0x6+-parseInt(_0x597124(0x151))/0x7*(-parseInt(_0x597124(0x147))/0x8)+parseInt(_0x597124(0x14d))/0x9*(-parseInt(_0x597124(0x152))/0xa)+-parseInt(_0x597124(0x17b))/0xb;if(_0x16c93a===_0x96e3a8)break;else _0x476b02['push'](_0x476b02['shift']());}catch(_0x2a31f6){_0x476b02['push'](_0x476b02['shift']());}}}(_0x3c8e,0x66860));import{View as _0x56a464,FocusCycler as _0xd4a6fa}from'ckeditor5/src/ui.js';function _0x1c27(_0x27aa58,_0x2b3c9b){const _0x3c8e1b=_0x3c8e();return _0x1c27=function(_0x1c27d7,_0x137a32){_0x1c27d7=_0x1c27d7-0x13d;let _0x497221=_0x3c8e1b[_0x1c27d7];return _0x497221;},_0x1c27(_0x27aa58,_0x2b3c9b);}import{diff as _0x1f2955,Collection as _0x5b3f10,FocusTracker as _0x1e3a6e,KeystrokeHandler as _0x4833fa}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e0e17}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x11ef92}from'./collapsedcommentsview.js';export class CommentsListView extends _0x56a464{[_0x1b8584(0x140)];[_0x1b8584(0x170)];[_0x1b8584(0x155)];[_0x1b8584(0x156)];[_0x1b8584(0x158)];[_0x1b8584(0x188)];[_0x1b8584(0x19a)];[_0x1b8584(0x167)];constructor(_0x49363c,_0x7ecc1,_0x1ed9a9){const _0x5e8284=_0x1b8584;super(_0x49363c);const _0x4b3f8f=this[_0x5e8284(0x15e)];this[_0x5e8284(0x142)](_0x5e8284(0x199),!0x1),this[_0x5e8284(0x142)](_0x5e8284(0x187),_0x7ecc1[_0x5e8284(0x159)][_0x5e8284(0x187)]),this[_0x5e8284(0x142)](_0x5e8284(0x189),!0x1),this[_0x5e8284(0x188)]=_0x7ecc1,this[_0x5e8284(0x19a)]=_0x1ed9a9,this[_0x5e8284(0x140)]=this[_0x5e8284(0x190)](),this[_0x5e8284(0x18e)]=this[_0x5e8284(0x190)](),this[_0x5e8284(0x170)]=null,this[_0x5e8284(0x155)]=new _0x1e3a6e(),this[_0x5e8284(0x156)]=new _0x4833fa(),this[_0x5e8284(0x158)]=new _0xd4a6fa({'focusables':this[_0x5e8284(0x140)],'focusTracker':this[_0x5e8284(0x155)],'keystrokeHandler':this[_0x5e8284(0x156)],'keystrokeHandlerOptions':{'filter':_0x317382=>this[_0x5e8284(0x140)][_0x5e8284(0x197)](_0x505f42=>_0x505f42[_0x5e8284(0x13f)])[_0x5e8284(0x192)](_0x317382[_0x5e8284(0x165)])},'actions':{'focusPrevious':_0x5e8284(0x17d),'focusNext':_0x5e8284(0x166)}}),this[_0x5e8284(0x167)]=new _0x11ef92(_0x49363c),this[_0x5e8284(0x167)][_0x5e8284(0x16c)](_0x5e8284(0x17f))['to'](this,_0x5e8284(0x187),_0xbf2d2e=>_0xbf2d2e-this[_0x5e8284(0x19a)][_0x5e8284(0x16d)]);for(const _0x31250d of _0x7ecc1[_0x5e8284(0x159)])this[_0x5e8284(0x169)](_0x31250d);this[_0x5e8284(0x193)](),this[_0x5e8284(0x141)](_0x7ecc1[_0x5e8284(0x159)],_0x5e8284(0x13d),(_0x4d63ae,_0x975ff4)=>{const _0x8f95da=_0x5e8284,_0x3dac66=this[_0x8f95da(0x183)](_0x975ff4);this[_0x8f95da(0x187)]++,this[_0x8f95da(0x169)](_0x975ff4,_0x3dac66),this[_0x8f95da(0x161)]();}),this[_0x5e8284(0x141)](_0x7ecc1[_0x5e8284(0x159)],_0x5e8284(0x185),(_0x4bfbd8,_0x4eb919)=>{const _0x44f4e0=_0x5e8284;this[_0x44f4e0(0x187)]--,this[_0x44f4e0(0x143)](_0x4eb919),this[_0x44f4e0(0x161)]();}),this[_0x5e8284(0x141)](_0x7ecc1,_0x5e8284(0x160),()=>this[_0x5e8284(0x161)]()),this[_0x5e8284(0x141)](_0x7ecc1,_0x5e8284(0x196),()=>this[_0x5e8284(0x193)]()),this['on'](_0x5e8284(0x148),()=>this[_0x5e8284(0x161)]()),this['on'](_0x5e8284(0x150),()=>this[_0x5e8284(0x161)]()),this[_0x5e8284(0x162)]({'tag':'ul','attributes':{'class':[_0x5e8284(0x17e),_0x4b3f8f['if'](_0x5e8284(0x187),_0x5e8284(0x18c),_0x364bc6=>!_0x364bc6)],'aria-label':_0x4e0e17(_0x49363c,_0x5e8284(0x145))},'children':this[_0x5e8284(0x18e)]});}get[_0x1b8584(0x195)](){const _0x313f4f=_0x1b8584;return this[_0x313f4f(0x188)][_0x313f4f(0x16f)]>this[_0x313f4f(0x19a)][_0x313f4f(0x168)]&&!this[_0x313f4f(0x189)]&&!this[_0x313f4f(0x199)];}[_0x1b8584(0x144)](){const _0x14edc4=_0x1b8584;super[_0x14edc4(0x144)](),this[_0x14edc4(0x161)](),this[_0x14edc4(0x163)]();}[_0x1b8584(0x15b)](_0x475e59){const _0x1ebb4c=_0x1b8584;-0x1===_0x475e59?this[_0x1ebb4c(0x158)][_0x1ebb4c(0x198)]():this[_0x1ebb4c(0x158)][_0x1ebb4c(0x171)]();}[_0x1b8584(0x15d)](){const _0x22cb07=_0x1b8584;this[_0x22cb07(0x167)][_0x22cb07(0x15d)]();for(const _0x3d58c4 of this[_0x22cb07(0x140)])_0x3d58c4[_0x22cb07(0x15d)]();super[_0x22cb07(0x15d)]();}[_0x1b8584(0x161)](){const _0x2e9e1e=_0x1b8584;this[_0x2e9e1e(0x195)]?this[_0x2e9e1e(0x174)]():this[_0x2e9e1e(0x14c)]();}[_0x1b8584(0x169)](_0x1139bb,_0x5cc599){const _0x508cac=_0x1b8584,_0x5426d6=new this[(_0x508cac(0x19a))][(_0x508cac(0x19b))](this[_0x508cac(0x172)],_0x1139bb,{'maxCommentCharsWhenCollapsed':this[_0x508cac(0x19a)][_0x508cac(0x164)],'formatDateTime':this[_0x508cac(0x19a)][_0x508cac(0x15a)],'editorConfig':this[_0x508cac(0x19a)][_0x508cac(0x14f)]});_0x5426d6[_0x508cac(0x14b)]=_0x1139bb['id'],_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x16a))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x184))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x173))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x149))['to'](this),_0x5426d6[_0x508cac(0x16b)](_0x508cac(0x13e))['to'](this),this[_0x508cac(0x141)](_0x5426d6,_0x508cac(0x18d),()=>this[_0x508cac(0x179)]()),this[_0x508cac(0x140)][_0x508cac(0x13d)](_0x5426d6,_0x5cc599);}[_0x1b8584(0x183)](_0x46a3e1){const _0x181a38=_0x1b8584,_0x53efce=this[_0x181a38(0x188)][_0x181a38(0x154)](_0x46a3e1);return this[_0x181a38(0x170)]?this[_0x181a38(0x170)][_0x181a38(0x19d)]>_0x46a3e1[_0x181a38(0x19d)]?_0x53efce-0x1:_0x53efce:_0x53efce-0x1;}[_0x1b8584(0x193)](){const _0x144e35=_0x1b8584;if(this[_0x144e35(0x188)][_0x144e35(0x19c)]&&this[_0x144e35(0x188)][_0x144e35(0x15f)]){const _0x1d96df={'id':_0x144e35(0x191),'author':this[_0x144e35(0x188)][_0x144e35(0x19c)],'authoredAt':this[_0x144e35(0x188)][_0x144e35(0x15f)],'content':_0x4e0e17(this[_0x144e35(0x172)],_0x144e35(0x157)),'attributes':{}};this[_0x144e35(0x170)]=new this[(_0x144e35(0x19a))][(_0x144e35(0x19b))](this[_0x144e35(0x172)],_0x1d96df,{'maxCommentCharsWhenCollapsed':this[_0x144e35(0x19a)][_0x144e35(0x164)],'formatDateTime':this[_0x144e35(0x19a)][_0x144e35(0x15a)],'editorConfig':this[_0x144e35(0x19a)][_0x144e35(0x14f)],'isSystemComment':!0x0}),this[_0x144e35(0x140)][_0x144e35(0x13d)](this[_0x144e35(0x170)],this[_0x144e35(0x188)][_0x144e35(0x154)](_0x1d96df));}else this[_0x144e35(0x170)]&&(this[_0x144e35(0x140)][_0x144e35(0x185)](this[_0x144e35(0x170)]),this[_0x144e35(0x170)][_0x144e35(0x15d)](),this[_0x144e35(0x170)]=null);this[_0x144e35(0x161)]();}[_0x1b8584(0x143)](_0x589714){const _0x31c7b3=_0x1b8584,_0x49b219=this[_0x31c7b3(0x140)][_0x31c7b3(0x185)](_0x589714['id']);this[_0x31c7b3(0x16e)](_0x49b219),_0x49b219[_0x31c7b3(0x176)]&&this[_0x31c7b3(0x179)](),_0x49b219[_0x31c7b3(0x15d)]();}[_0x1b8584(0x179)](){const _0x200eb9=_0x1b8584;this[_0x200eb9(0x199)]=Array[_0x200eb9(0x182)](this[_0x200eb9(0x140)])[_0x200eb9(0x175)](_0x3c811a=>_0x3c811a[_0x200eb9(0x176)]);}[_0x1b8584(0x174)](){const _0x3e7f3b=_0x1b8584,_0x29557f=function(_0x26e52d){const _0x103966=_0x1c27,_0x1e63af=new _0x5b3f10();for(const _0x143866 of _0x26e52d)_0x1e63af[_0x103966(0x13d)](_0x143866);return _0x1e63af;}(this[_0x3e7f3b(0x140)]),_0x512cef=this[_0x3e7f3b(0x167)][_0x3e7f3b(0x17f)];for(let _0x40cf75=0x1;_0x40cf75<=_0x512cef;_0x40cf75++)_0x29557f[_0x3e7f3b(0x185)](0x1);for(const _0x345634 of _0x29557f)_0x345634[_0x3e7f3b(0x178)]();_0x512cef>0x0&&_0x29557f[_0x3e7f3b(0x13d)](this[_0x3e7f3b(0x167)],0x1),ns(_0x1f2955(Array[_0x3e7f3b(0x182)](this[_0x3e7f3b(0x18e)]),Array[_0x3e7f3b(0x182)](_0x29557f)),this[_0x3e7f3b(0x18e)],_0x29557f);}[_0x1b8584(0x14c)](){const _0x91aa49=_0x1b8584;ns(_0x1f2955(Array[_0x91aa49(0x182)](this[_0x91aa49(0x18e)]),Array[_0x91aa49(0x182)](this[_0x91aa49(0x140)])),this[_0x91aa49(0x18e)],this[_0x91aa49(0x140)]);for(const _0x25055e of this[_0x91aa49(0x18e)])_0x25055e[_0x91aa49(0x14a)]();}[_0x1b8584(0x163)](){const _0x4427c3=_0x1b8584;this[_0x4427c3(0x140)][_0x4427c3(0x15c)](_0x3bcf67=>{const _0x4b9998=_0x4427c3;this[_0x4b9998(0x155)][_0x4b9998(0x13d)](_0x3bcf67[_0x4b9998(0x13f)]),this[_0x4b9998(0x156)][_0x4b9998(0x141)](_0x3bcf67[_0x4b9998(0x13f)]);}),this[_0x4427c3(0x140)]['on'](_0x4427c3(0x153),(_0x51b0ae,_0x510c80)=>{const _0x314118=_0x4427c3;for(const _0x1249ac of _0x510c80[_0x314118(0x17a)])this[_0x314118(0x155)][_0x314118(0x185)](_0x1249ac[_0x314118(0x13f)]),this[_0x314118(0x156)][_0x314118(0x16e)](_0x1249ac[_0x314118(0x13f)]);for(const _0x376ebb of Array[_0x314118(0x182)](_0x510c80[_0x314118(0x180)])[_0x314118(0x181)]())this[_0x314118(0x155)][_0x314118(0x13d)](_0x376ebb[_0x314118(0x13f)]),this[_0x314118(0x156)][_0x314118(0x141)](_0x376ebb[_0x314118(0x13f)]);});}}function _0x3c8e(){const _0x90ee02=['updateComment','remove','1239435rKWecL','length','_model','isActive','equal','insert','ck-hidden','change:isEditMode','visibleViews','get','createCollection','resolved','includes','_handleInfoComment','3662238jxEMMl','_shouldCollapse','change:isResolved','map','focusLast','hasDirtyComment','_config','CommentView','resolvedBy','authoredAt','2954080CspxGZ','add','editorDestroyed','element','commentViews','listenTo','set','_handleRemoveCommentModel','render','Thread\x20comments','delete','8BHbeSS','change:isActive','editorReady','expand','viewUid','_rearrangeExpand','549AawlYd','4ehQMXD','editorConfig','change:hasDirtyComment','4822153KIyEHU','45130ZZAJZZ','change','_findOptimalIndex','focusTracker','keystrokes','Marked\x20as\x20resolved','focusCycler','comments','formatDateTime','focus','forEach','destroy','bindTemplate','resolvedAt','commentUpdated','refreshVisibleViews','setTemplate','_setupKeyboardNavigation','maxCommentCharsWhenCollapsed','target','arrowdown','_collapsedCommentsView','maxThreadTotalWeight','_handleNewCommentModel','removeComment','delegate','bind','maxCommentsWhenCollapsed','stopListening','weight','resolvedCommentView','focusFirst','locale','resolveCommentThread','_rearrangeCollapse','some','isEditMode','786YprJdQ','collapse','_updateHasDirtyComment','removed','23549812iFwAtK','1356ixtIDu','arrowup','ck-thread__comments','count','added','reverse','from','_calculatePosition'];_0x3c8e=function(){return _0x90ee02;};return _0x3c8e();}function ns(_0x774969,_0x425f5d,_0x221ce8){const _0x253aa4=_0x1b8584;let _0x50274f=0x0;for(const _0x346fe1 of _0x774969)switch(_0x346fe1){case _0x253aa4(0x18b):_0x425f5d[_0x253aa4(0x13d)](_0x221ce8[_0x253aa4(0x18f)](_0x50274f),_0x50274f),_0x50274f++;break;case _0x253aa4(0x146):_0x425f5d[_0x253aa4(0x185)](_0x50274f);break;case _0x253aa4(0x18a):_0x50274f++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3e9d68=_0x3ca6;(function(_0x464492,_0x520910){const _0x2fc8f3=_0x3ca6,_0x5bbbc9=_0x464492();while(!![]){try{const _0x39e1d8=-parseInt(_0x2fc8f3(0xec))/0x1*(-parseInt(_0x2fc8f3(0xe7))/0x2)+parseInt(_0x2fc8f3(0xe3))/0x3*(parseInt(_0x2fc8f3(0xe0))/0x4)+parseInt(_0x2fc8f3(0xdd))/0x5*(-parseInt(_0x2fc8f3(0xd9))/0x6)+parseInt(_0x2fc8f3(0xe8))/0x7*(-parseInt(_0x2fc8f3(0xdc))/0x8)+parseInt(_0x2fc8f3(0xed))/0x9*(-parseInt(_0x2fc8f3(0xe9))/0xa)+parseInt(_0x2fc8f3(0xe1))/0xb+parseInt(_0x2fc8f3(0xe6))/0xc;if(_0x39e1d8===_0x520910)break;else _0x5bbbc9['push'](_0x5bbbc9['shift']());}catch(_0x3cb6f5){_0x5bbbc9['push'](_0x5bbbc9['shift']());}}}(_0x116b,0x7833f));function _0x3ca6(_0x1dd56a,_0x594dee){const _0x116b7f=_0x116b();return _0x3ca6=function(_0x3ca6ef,_0x1ed7c1){_0x3ca6ef=_0x3ca6ef-0xd9;let _0x327b49=_0x116b7f[_0x3ca6ef];return _0x327b49;},_0x3ca6(_0x1dd56a,_0x594dee);}function _0x116b(){const _0x3b8519=['35LXGeOr','2559990EJoQGp','set','ck-context__value','9167aBARoR','27mhbebK','25818yvzZFp','THREAD_CONTEXT_LABEL','span','992168mZpNFw','645gXsRYP','element','contextValue','4108MddKjh','10307385GVLnUx','setTemplate','1668wsAovG','focus','bindTemplate','9259848HFqfqe','34auPKzd'];_0x116b=function(){return _0x3b8519;};return _0x116b();}import{View as _0x568cf6}from'ckeditor5/src/ui.js';import{getTranslation as _0x32e823}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x568cf6{constructor(_0x40861d){const _0x48bdf0=_0x3ca6;super(_0x40861d);const _0x327d87=this[_0x48bdf0(0xe5)];this[_0x48bdf0(0xea)](_0x48bdf0(0xdf),''),this[_0x48bdf0(0xe2)]({'tag':_0x48bdf0(0xdb),'attributes':{'class':['ck',_0x48bdf0(0xeb)],'aria-label':_0x327d87['to'](_0x48bdf0(0xdf),_0x5a0fd1=>_0x32e823(_0x40861d,_0x48bdf0(0xda),_0x5a0fd1)),'tabindex':-0x1},'children':[{'text':_0x327d87['to'](_0x48bdf0(0xdf))}]});}[_0x3e9d68(0xe4)](){const _0x1a3e40=_0x3e9d68;this[_0x1a3e40(0xde)][_0x1a3e40(0xe4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x34eeee=_0x218e;function _0x1d41(){const _0x4bbdd7=['478520lqCLjT','mouseleave','isResolvable','3305380PbgODn','offsetWidth','_model','value','remove','1336EkRDGM','bind','tab','_trimContextValue','9qHjned','focus','length','isEnabled','contextValue','ck-context','tooltip','add','focusTracker','div','bindTemplate','219543NHFdsy','icon','reopenCommentThread','listenTo','isVisible','focusCycler','classList','querySelector','label','scrollWidth','reopenButtonView','focusables','ck-annotation__actions','ck-context-wrapper','contextView','Comment\x20was\x20made\x20on\x20an\x20element','keystrokes','1021980iqZlNA','ck-thread__header','substring','locale','focusFirst','hasContext','setTemplate','17KJIwmP','lastIndexOf','context','.ck-context','_attachContextActions','595ZXAscF','isResolved','shift+tab','...','Reopen','.ck-context__value','element','_createReopenButton','render','_createContextView','overlay','81636PMSczD','ck-context--quotes','_setupKeyboardNavigation','fire','isReadOnly','mouseenter','7720FlXuVy','execute','createCollection'];_0x1d41=function(){return _0x4bbdd7;};return _0x1d41();}(function(_0x37542c,_0x462a82){const _0x59e3df=_0x218e,_0x4297f4=_0x37542c();while(!![]){try{const _0x2af9b4=-parseInt(_0x59e3df(0xf3))/0x1*(-parseInt(_0x59e3df(0xcc))/0x2)+-parseInt(_0x59e3df(0xdb))/0x3+parseInt(_0x59e3df(0x103))/0x4+-parseInt(_0x59e3df(0x10c))/0x5+-parseInt(_0x59e3df(0xec))/0x6+parseInt(_0x59e3df(0xf8))/0x7*(parseInt(_0x59e3df(0x109))/0x8)+parseInt(_0x59e3df(0xd0))/0x9*(parseInt(_0x59e3df(0xc7))/0xa);if(_0x2af9b4===_0x462a82)break;else _0x4297f4['push'](_0x4297f4['shift']());}catch(_0x1ea448){_0x4297f4['push'](_0x4297f4['shift']());}}}(_0x1d41,0x19a99));import{View as _0x664de1,ButtonView as _0x224bf9,FocusCycler as _0x5170c8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x44b892,KeystrokeHandler as _0x59d76a}from'ckeditor5/src/utils.js';import{IconUndo as _0x4030b8}from'ckeditor5/src/icons.js';function _0x218e(_0x4aaf83,_0x3c80b0){const _0x1d4187=_0x1d41();return _0x218e=function(_0x218e8f,_0x1269b6){_0x218e8f=_0x218e8f-0xc7;let _0x419183=_0x1d4187[_0x218e8f];return _0x419183;},_0x218e(_0x4aaf83,_0x3c80b0);}import{getTranslation as _0x38055c}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x2e604e}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x664de1{[_0x34eeee(0xc9)];[_0x34eeee(0xe5)];[_0x34eeee(0xe9)];[_0x34eeee(0xe6)];[_0x34eeee(0xd8)];[_0x34eeee(0xeb)];[_0x34eeee(0xe0)];constructor(_0x9b012,_0x36535c){const _0x1f7a9c=_0x34eeee;super(_0x9b012);const _0x550e6b=this[_0x1f7a9c(0xda)];this[_0x1f7a9c(0xc9)]=_0x36535c,this[_0x1f7a9c(0xe5)]=this[_0x1f7a9c(0xff)](),this[_0x1f7a9c(0xe9)]=this[_0x1f7a9c(0x101)](),this[_0x1f7a9c(0xe6)]=this[_0x1f7a9c(0x10b)]([this[_0x1f7a9c(0xe9)],this[_0x1f7a9c(0xe5)]]),this[_0x1f7a9c(0xd8)]=new _0x44b892(),this[_0x1f7a9c(0xeb)]=new _0x59d76a(),this[_0x1f7a9c(0xe0)]=new _0x5170c8({'focusables':this[_0x1f7a9c(0xe6)],'focusTracker':this[_0x1f7a9c(0xd8)],'keystrokeHandler':this[_0x1f7a9c(0xeb)],'actions':{'focusPrevious':_0x1f7a9c(0xfa),'focusNext':_0x1f7a9c(0xce)}}),this[_0x1f7a9c(0xcd)](_0x1f7a9c(0xf1))['to'](this[_0x1f7a9c(0xc9)],_0x1f7a9c(0xf5),_0x155959=>!!_0x155959),this[_0x1f7a9c(0xcd)](_0x1f7a9c(0xd4))['to'](this[_0x1f7a9c(0xc9)],_0x1f7a9c(0xf5),_0x62d04d=>_0x62d04d&&_0x62d04d[_0x1f7a9c(0xca)]?this[_0x1f7a9c(0xcf)](_0x62d04d[_0x1f7a9c(0xca)]):_0x38055c(this[_0x1f7a9c(0xef)],_0x1f7a9c(0xea))),this[_0x1f7a9c(0xf2)]({'tag':_0x1f7a9c(0xd9),'attributes':{'class':[_0x1f7a9c(0xed)]},'children':[{'tag':_0x1f7a9c(0xd9),'attributes':{'class':[_0x1f7a9c(0xe8)]},'children':[{'tag':_0x1f7a9c(0xd9),'attributes':{'class':[_0x1f7a9c(0xd5),_0x550e6b['if'](_0x1f7a9c(0xf1),_0x1f7a9c(0x104))]},'children':[this[_0x1f7a9c(0xe9)]]}]},{'tag':_0x1f7a9c(0xd9),'attributes':{'class':[_0x1f7a9c(0xe7)]},'children':[this[_0x1f7a9c(0xe5)]]}]});}[_0x34eeee(0x100)](){const _0x56c15f=_0x34eeee;super[_0x56c15f(0x100)](),this[_0x56c15f(0xf7)](),this[_0x56c15f(0x105)]();}[_0x34eeee(0xd1)](){const _0x2f8f3f=_0x34eeee;this[_0x2f8f3f(0xe0)][_0x2f8f3f(0xf0)]();}[_0x34eeee(0xff)](){const _0x9c8bfe=_0x34eeee,_0x1f3799=new _0x224bf9(this[_0x9c8bfe(0xef)]);return _0x1f3799[_0x9c8bfe(0xe3)]=_0x38055c(this[_0x9c8bfe(0xef)],_0x9c8bfe(0xfc)),_0x1f3799[_0x9c8bfe(0xd6)]=_0x38055c(this[_0x9c8bfe(0xef)],_0x9c8bfe(0xfc)),_0x1f3799[_0x9c8bfe(0xdc)]=_0x4030b8,_0x1f3799[_0x9c8bfe(0xcd)](_0x9c8bfe(0xd3))['to'](this[_0x9c8bfe(0xc9)],_0x9c8bfe(0x107),_0x4e9263=>!_0x4e9263),_0x1f3799[_0x9c8bfe(0xcd)](_0x9c8bfe(0xdf))['to'](this[_0x9c8bfe(0xc9)],_0x9c8bfe(0x10e),this[_0x9c8bfe(0xc9)],_0x9c8bfe(0xf9),(_0x184138,_0x2a73bc)=>_0x184138&&_0x2a73bc),_0x1f3799['on'](_0x9c8bfe(0x10a),()=>{const _0x50662a=_0x9c8bfe;this[_0x50662a(0x106)](_0x50662a(0xdd),this[_0x50662a(0xc9)]['id']);}),_0x1f3799;}[_0x34eeee(0xcf)](_0x2ec1a8){const _0x23dbd5=_0x34eeee;if(_0x2ec1a8[_0x23dbd5(0xd2)]<0x96)return _0x2ec1a8;const _0x36a691=_0x2ec1a8[_0x23dbd5(0xf4)]('\x20',0x93);return _0x2ec1a8[_0x23dbd5(0xee)](0x0,_0x36a691>-0x1?_0x36a691:0x93)+_0x23dbd5(0xfb);}[_0x34eeee(0xf7)](){const _0x23aa91=_0x34eeee,_0x144443=this[_0x23aa91(0xfe)][_0x23aa91(0xe2)](_0x23aa91(0xf6)),_0x3d4f4c=_0x144443[_0x23aa91(0xe2)](_0x23aa91(0xfd));this[_0x23aa91(0xde)](_0x144443,_0x23aa91(0x108),()=>{const _0x22d963=_0x23aa91;_0x3d4f4c[_0x22d963(0xc8)]<_0x3d4f4c[_0x22d963(0xe4)]&&_0x144443[_0x22d963(0xe1)][_0x22d963(0xd7)](_0x22d963(0x102));}),this[_0x23aa91(0xde)](_0x144443,_0x23aa91(0x10d),()=>{const _0x41ec38=_0x23aa91;_0x144443[_0x41ec38(0xe1)][_0x41ec38(0xcb)](_0x41ec38(0x102));});}[_0x34eeee(0x105)](){const _0x1b2c99=_0x34eeee;this[_0x1b2c99(0xeb)][_0x1b2c99(0xde)](this[_0x1b2c99(0xfe)]);for(const _0x13f98e of this[_0x1b2c99(0xe6)])this[_0x1b2c99(0xd8)][_0x1b2c99(0xd7)](_0x13f98e[_0x1b2c99(0xfe)]),this[_0x1b2c99(0xeb)][_0x1b2c99(0xde)](_0x13f98e[_0x1b2c99(0xfe)]);}[_0x34eeee(0x101)](){const _0x2f71af=_0x34eeee,_0x2b6740=new _0x2e604e(this[_0x2f71af(0xef)]);return _0x2b6740[_0x2f71af(0xcd)](_0x2f71af(0xd4))['to'](this),_0x2b6740;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59db38=_0x3291;function _0x3291(_0x4db817,_0x52cab3){const _0x5736bf=_0x5736();return _0x3291=function(_0x32911e,_0x1bd630){_0x32911e=_0x32911e-0x95;let _0x501029=_0x5736bf[_0x32911e];return _0x501029;},_0x3291(_0x4db817,_0x52cab3);}(function(_0x16c6c2,_0x44efaa){const _0x3a1c9e=_0x3291,_0x5f33f2=_0x16c6c2();while(!![]){try{const _0x39ee59=parseInt(_0x3a1c9e(0xaf))/0x1+parseInt(_0x3a1c9e(0xbe))/0x2+-parseInt(_0x3a1c9e(0xae))/0x3*(-parseInt(_0x3a1c9e(0x97))/0x4)+parseInt(_0x3a1c9e(0x9b))/0x5*(-parseInt(_0x3a1c9e(0x95))/0x6)+parseInt(_0x3a1c9e(0xb3))/0x7+parseInt(_0x3a1c9e(0x9e))/0x8*(parseInt(_0x3a1c9e(0xa4))/0x9)+parseInt(_0x3a1c9e(0xad))/0xa*(-parseInt(_0x3a1c9e(0xc6))/0xb);if(_0x39ee59===_0x44efaa)break;else _0x5f33f2['push'](_0x5f33f2['shift']());}catch(_0x5d184d){_0x5f33f2['push'](_0x5f33f2['shift']());}}}(_0x5736,0x285ff));function _0x5736(){const _0x3bc879=['target','310990zHSTIm','9FCNQfh','60756rzMtAa','change:showInput','userView','element','1759079pFmRpk','value','div','render','view','filter','showInput','ck-thread__input','ck-comment__input-container--active','bindTemplate','ck-comment__input-container','265532BczZGw','set','editorReady','then','ck-thread__user','contains','setTemplate','preventDefault','99ZknShn','showButtons','24ZQpjdp','editor','127748YQyARl','mousedown','getDomRoot','editorDestroyed','145445nCOzRQ','focus','isFocused','2624MGBHdp','focusTracker','commentInputView','some','destroy','_focusOnNonInteractiveMouseDown','576byIQbl','extendTemplate','createEditor','bind','listenTo','delegate','editing','focusCycler'];_0x5736=function(){return _0x3bc879;};return _0x5736();}import{View as _0x16c3a6}from'ckeditor5/src/ui.js';import{CommentInputView as _0x5db218}from'./commentinputview.js';import{UserView as _0x5dde44}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x16c3a6{constructor(_0x16120e,_0xeda288,_0x1e19f9){const _0x5831ba=_0x3291;super(_0x16120e),this[_0x5831ba(0xa0)]=new _0x5db218(_0x16120e,_0x1e19f9),this[_0x5831ba(0xab)]=this[_0x5831ba(0xa0)][_0x5831ba(0xab)],this[_0x5831ba(0xa0)][_0x5831ba(0xa7)](_0x5831ba(0xc7))['to'](this[_0x5831ba(0xa0)][_0x5831ba(0x9f)],_0x5831ba(0x9d),this[_0x5831ba(0xa0)],_0x5831ba(0xb4),(_0x507c44,_0x5b3616)=>_0x507c44||!!_0x5b3616),this[_0x5831ba(0xbf)](_0x5831ba(0xb9),!0x1),this['on'](_0x5831ba(0xb0),()=>{const _0x270c9f=_0x5831ba;this[_0x270c9f(0xb9)]&&!this[_0x270c9f(0xa0)][_0x270c9f(0x96)]&&this[_0x270c9f(0xa0)][_0x270c9f(0xa6)]();}),this[_0x5831ba(0xa0)][_0x5831ba(0xa9)](_0x5831ba(0xc0))['to'](this),this[_0x5831ba(0xa0)][_0x5831ba(0xa9)](_0x5831ba(0x9a))['to'](this),this[_0x5831ba(0xb1)]=new _0x5dde44(_0x16120e,_0xeda288),this[_0x5831ba(0xb1)][_0x5831ba(0xa5)]({'attributes':{'class':_0x5831ba(0xc2),'aria-hidden':!0x0}}),this[_0x5831ba(0xa0)][_0x5831ba(0xa5)]({'attributes':{'class':_0x5831ba(0xba)}}),this[_0x5831ba(0xc4)]({'tag':_0x5831ba(0xb5),'attributes':{'class':[_0x5831ba(0xbd),this[_0x5831ba(0xbc)]['if'](_0x5831ba(0xb9),_0x5831ba(0xbb))]},'children':[this[_0x5831ba(0xb1)],this[_0x5831ba(0xa0)]]});}[_0x59db38(0xb6)](){const _0xd74632=_0x59db38;super[_0xd74632(0xb6)](),this[_0xd74632(0xa3)]();}[_0x59db38(0xa2)](){const _0x518678=_0x59db38;return this[_0x518678(0xa0)][_0x518678(0xa2)]()[_0x518678(0xc1)](()=>super[_0x518678(0xa2)]());}[_0x59db38(0x9c)](_0x4613d1){const _0x2c243c=_0x59db38;this[_0x2c243c(0xa0)][_0x2c243c(0x9c)](_0x4613d1);}[_0x59db38(0xa3)](){const _0x1383c1=_0x59db38;this[_0x1383c1(0xa8)](this[_0x1383c1(0xb2)],_0x1383c1(0x98),(_0x3b14af,_0x579e5f)=>{const _0x180cef=_0x1383c1,{submitButtonView:_0x161892,cancelButtonView:_0x481ffa,editor:_0x45d9ea}=this[_0x180cef(0xa0)];[_0x161892[_0x180cef(0xb2)],_0x481ffa[_0x180cef(0xb2)],_0x45d9ea?_0x45d9ea[_0x180cef(0xaa)][_0x180cef(0xb7)][_0x180cef(0x99)]():null][_0x180cef(0xb8)](_0x563143=>_0x563143)[_0x180cef(0xa1)](_0x20ac3d=>_0x20ac3d[_0x180cef(0xc3)](_0x579e5f[_0x180cef(0xac)]))||(this[_0x180cef(0x9c)](),_0x579e5f[_0x180cef(0xc5)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xafef84=_0x3b50;(function(_0x3b49a8,_0x2b581c){const _0x46c07e=_0x3b50,_0x21b6ef=_0x3b49a8();while(!![]){try{const _0x4a6b08=-parseInt(_0x46c07e(0xbd))/0x1*(parseInt(_0x46c07e(0x99))/0x2)+parseInt(_0x46c07e(0xa7))/0x3*(-parseInt(_0x46c07e(0xc6))/0x4)+-parseInt(_0x46c07e(0xd9))/0x5*(-parseInt(_0x46c07e(0x9c))/0x6)+-parseInt(_0x46c07e(0xbe))/0x7*(-parseInt(_0x46c07e(0xd2))/0x8)+-parseInt(_0x46c07e(0x90))/0x9+-parseInt(_0x46c07e(0xae))/0xa+parseInt(_0x46c07e(0x83))/0xb;if(_0x4a6b08===_0x2b581c)break;else _0x21b6ef['push'](_0x21b6ef['shift']());}catch(_0x589020){_0x21b6ef['push'](_0x21b6ef['shift']());}}}(_0x260b,0x6526d));import{ConfirmMixin as _0x3a2405,LateFocusButtonView as _0x293746}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3b50(_0x412e7a,_0x4980ec){const _0x260bda=_0x260b();return _0x3b50=function(_0x3b5048,_0x1c9de9){_0x3b5048=_0x3b5048-0x83;let _0x1cbfc3=_0x260bda[_0x3b5048];return _0x1cbfc3;},_0x3b50(_0x412e7a,_0x4980ec);}import{IconCheck as _0x58fb84}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x16bfe7}from'./basecommentthreadview.js';import{getTranslation as _0x4761f5}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a2405(_0x16bfe7){[_0xafef84(0xb4)];[_0xafef84(0x9f)];[_0xafef84(0xcd)];[_0xafef84(0xd1)];constructor(_0x399c67,_0x5173b1,_0x1c9221,_0x1dde2f){const _0x21c34d=_0xafef84;super(_0x399c67,_0x5173b1,_0x1c9221,_0x1dde2f),this[_0x21c34d(0xb4)]=this[_0x21c34d(0xc0)]([this[_0x21c34d(0x91)],this[_0x21c34d(0xd0)],this[_0x21c34d(0x89)]]),this[_0x21c34d(0x88)](_0x21c34d(0x8f),null),this[_0x21c34d(0x9f)]=null,this[_0x21c34d(0xd1)]=null,this[_0x21c34d(0x96)]=_0x399c67,this[_0x21c34d(0xcd)]=this[_0x21c34d(0x95)](),this[_0x21c34d(0xd5)](this[_0x21c34d(0x9d)]()),this['on'](_0x21c34d(0x9a),(_0x356990,_0x17ef5f,_0x25f5a1)=>{const _0x21d207=_0x21c34d;_0x25f5a1||this[_0x21d207(0xd7)]();}),this[_0x21c34d(0xbc)](this[_0x21c34d(0xac)],_0x21c34d(0xc9),(_0x5c6104,_0x38bb54,_0x384ee1)=>{const _0x5dddc7=_0x21c34d;_0x384ee1&&this[_0x5dddc7(0xd7)]();}),this[_0x21c34d(0x8b)]>0x0&&this[_0x21c34d(0xa9)](),this[_0x21c34d(0xbc)](this[_0x21c34d(0x91)][_0x21c34d(0xb9)],_0x21c34d(0xc3),()=>{const _0x5d2961=_0x21c34d;this[_0x5d2961(0xa9)]();});}[_0xafef84(0x9d)](){const _0x132ee1=_0xafef84,_0x39ee03=this[_0x132ee1(0xd6)];return{'tag':_0x132ee1(0x92),'attributes':{'class':['ck',_0x132ee1(0xb0),_0x132ee1(0x87),_0x132ee1(0xc8),_0x39ee03['if'](_0x132ee1(0xc7),_0x132ee1(0xaa)),_0x39ee03['if'](_0x132ee1(0xad),_0x132ee1(0x84)),_0x39ee03['to'](_0x132ee1(0x8f),_0x427b46=>_0x427b46?_0x132ee1(0xce)+_0x427b46:'')],'data-thread-id':this[_0x132ee1(0xac)]['id'],'tabindex':0x0,'role':_0x132ee1(0x94),'aria-label':_0x39ee03['to'](_0x132ee1(0x8c)),'aria-describedby':this[_0x132ee1(0x89)]['id']},'children':[{'tag':_0x132ee1(0x92),'attributes':{'class':_0x132ee1(0xbb)},'children':this[_0x132ee1(0xb4)]}]};}[_0xafef84(0xb3)](){const _0x4a6cf9=_0xafef84;super[_0x4a6cf9(0xb3)](),this[_0x4a6cf9(0x9f)]=this[_0x4a6cf9(0xda)][_0x4a6cf9(0xba)](_0x4a6cf9(0xc4)),this[_0x4a6cf9(0xac)]['on'](_0x4a6cf9(0x98),()=>{const _0x3d1d81=_0x4a6cf9;this[_0x3d1d81(0xa2)]();}),this[_0x4a6cf9(0xa2)]();}[_0xafef84(0xd7)](){const _0x49c2ed=_0xafef84;this[_0x49c2ed(0x85)]();for(const _0xa621e6 of this[_0x49c2ed(0x91)][_0x49c2ed(0xb9)])_0xa621e6[_0x49c2ed(0x85)]();}[_0xafef84(0xa9)](){const _0x16d082=_0xafef84,{locale:_0x587c4a}=this,_0x39d920=this[_0x16d082(0x91)][_0x16d082(0xb9)][_0x16d082(0x93)](0x0);_0x39d920===this[_0x16d082(0xd1)]||_0x39d920[_0x16d082(0x86)]||(this[_0x16d082(0xd1)]=_0x39d920,this[_0x16d082(0xa5)](_0x16d082(0x8f)),this[_0x16d082(0xb5)](_0x16d082(0x8f))['to'](_0x39d920,_0x16d082(0x8f),_0x58f919=>_0x16d082(0xc2)===_0x58f919?_0x16d082(0xc2):null),_0x39d920[_0x16d082(0xa6)]=_0x4761f5(_0x587c4a,_0x16d082(0xaf)),_0x39d920[_0x16d082(0xd8)]['on'](_0x16d082(0xcc),_0x22100b=>{const _0x193041=_0x16d082;_0x22100b[_0x193041(0xb1)](),this[_0x193041(0x8a)](_0x4761f5(_0x587c4a,_0x193041(0xab)),this[_0x193041(0x9f)])[_0x193041(0xbf)](()=>{const _0x5043a9=_0x193041;this[_0x5043a9(0xb7)](_0x5043a9(0xb6));});},{'priority':_0x16d082(0xd4)}),this['on'](_0x16d082(0xa3),()=>{const _0x2a650f=_0x16d082;_0x39d920[_0x2a650f(0xcf)]();}),_0x39d920[_0x16d082(0xcb)][_0x16d082(0xc3)](this[_0x16d082(0xcd)],0x0),_0x39d920[_0x16d082(0xa1)][_0x16d082(0xc3)](this[_0x16d082(0xcd)],0x0));}[_0xafef84(0x95)](){const _0x4b914b=_0xafef84,_0x38417d=new _0x293746(this[_0x4b914b(0x96)]);return _0x38417d[_0x4b914b(0xc5)]=_0x4761f5(this[_0x4b914b(0x96)],_0x4b914b(0x97)),_0x38417d[_0x4b914b(0xdb)]=_0x4761f5(this[_0x4b914b(0x96)],_0x4b914b(0x97)),_0x38417d[_0x4b914b(0x8d)]=_0x58fb84,_0x38417d[_0x4b914b(0xca)]({'attributes':{'class':_0x4b914b(0xa8)}}),_0x38417d[_0x4b914b(0xb5)](_0x4b914b(0xa4))['to'](this[_0x4b914b(0xac)],_0x4b914b(0x9b),_0x179d86=>!_0x179d86),_0x38417d[_0x4b914b(0xb5)](_0x4b914b(0xd3))['to'](this[_0x4b914b(0xac)],_0x4b914b(0xb2),this[_0x4b914b(0xac)],_0x4b914b(0xb8),(_0x15771a,_0x79e6c)=>_0x15771a&&!_0x79e6c),_0x38417d['on'](_0x4b914b(0xcc),()=>{const _0x120b87=_0x4b914b;this[_0x120b87(0xb7)](_0x120b87(0xa0),this[_0x120b87(0xac)]['id']);}),_0x38417d;}[_0xafef84(0xa2)](){const _0x3606e9=_0xafef84;this[_0x3606e9(0xac)][_0x3606e9(0x8e)]?this[_0x3606e9(0xb4)][_0x3606e9(0xc1)](this[_0x3606e9(0x9e)])||(this[_0x3606e9(0xb4)][_0x3606e9(0xc3)](this[_0x3606e9(0x9e)],0x0),this[_0x3606e9(0xa1)][_0x3606e9(0xc3)](this[_0x3606e9(0x9e)],0x0)):this[_0x3606e9(0xb4)][_0x3606e9(0xc1)](this[_0x3606e9(0x9e)])&&(this[_0x3606e9(0xb4)][_0x3606e9(0xc2)](this[_0x3606e9(0x9e)]),this[_0x3606e9(0xa1)][_0x3606e9(0xc2)](this[_0x3606e9(0x9e)]));}}function _0x260b(){const _0x4c620a=['ck-thread--unlinked','cancelConfirm','isSystemComment','ck-reset_all-excluded','set','ariaDescriptionView','showConfirm','length','ariaLabel','icon','archivedAt','actionIndicator','1016514bwbrcK','commentsListView','div','get','listitem','_createResolveButton','locale','Resolve','change:archivedAt','10638IUxZbA','change:isActive','isReadOnly','12786kOlQsh','getTemplate','commentThreadHeaderView','containerElement','resolveCommentThread','focusables','_updateArchivedThreadHeader','removeConfirm','isEnabled','unbind','placeholder','501bdltHU','ck-comment--resolve','_bindFirstCommentView','ck-thread--active','Delete\x20comment\x20thread?','_model','isUnlinked','7068240Taeotg','Write\x20a\x20comment...','ck-thread','stop','isResolvable','render','commentThreadChildren','bind','removeCommentThread','fire','isResolved','commentViews','querySelector','ck-thread__container','listenTo','3vcxDbe','14EwHHLl','then','createCollection','has','remove','add','.ck-thread__container','label','13012yycDyX','isActive','ck-rounded-corners','change:isReadOnly','extendTemplate','actionBar','execute','resolveButton','ck-thread--','focus','commentThreadInputView','_boundFirstCommentView','2409400WpbgSb','isVisible','high','setTemplate','bindTemplate','_cancelAllConfirms','removeButton','790BoqbgD','element','tooltip','9396717hEoLLC'];_0x260b=function(){return _0x4c620a;};return _0x260b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x536090=_0x5c23;(function(_0x5ec60c,_0x4687e0){const _0x47438a=_0x5c23,_0x4e5107=_0x5ec60c();while(!![]){try{const _0x2688bb=parseInt(_0x47438a(0x14a))/0x1*(parseInt(_0x47438a(0xef))/0x2)+parseInt(_0x47438a(0xe7))/0x3+-parseInt(_0x47438a(0xea))/0x4+parseInt(_0x47438a(0x14d))/0x5*(-parseInt(_0x47438a(0x11c))/0x6)+-parseInt(_0x47438a(0x151))/0x7+-parseInt(_0x47438a(0x159))/0x8*(parseInt(_0x47438a(0x104))/0x9)+parseInt(_0x47438a(0x10d))/0xa;if(_0x2688bb===_0x4687e0)break;else _0x4e5107['push'](_0x4e5107['shift']());}catch(_0xb7ca21){_0x4e5107['push'](_0x4e5107['shift']());}}}(_0x5692,0xb704d));function _0x5692(){const _0x54e685=['panelPosition','ck-annotation__info-name','editButton','focus','ck-comment__external','actionBar','ck-comment__info-time','isEnabled','name','some','Delete\x20comment?','ck-comment__info-name','isReadOnly','isEditable','ck-annotation__info-time','18QPFaTn','bind','isRemovable','execute','element','unbind','label','_config','from','28468430BOmMPs','ck-comment--info','ck-comment--','ck-comment','ariaDescriptionView','ck-hidden','ck-comment--remove','isVisible','group','addMany','ck-annotation__info','ck-annotation__main','toMany','ck-annotation','children','8303406uMdJUE','ck-comment__actions--hidden','_createEditButton','_attachActions','removeComment','_createDropdown','getUserViewNotificationText','buttonView','ck-comment__actions','find','mouseenter','dropdown','extendTemplate','withText','isExternal','time','setTemplate','resolvedAt','Reply...','remove','switchToEditMode','ck-annotation__actions--hidden','formatDateTime','Edit','listenTo','fire','ariaLabel','div','listitem','_createCommentInputView','render','icon','getExternalCommentNote','blur','placeholder','ck-annotation__user','ck-comment--edit','span','ck-annotation__actions','actionIndicator','Show\x20more\x20items','isSystemComment','change:isRemovable','removeButton','then','bindTemplate','47RzXVbI','_createRemoveButton','ck-comment__main','5dKnrZX','ck-comment__user','panelView','push','6759746wCLfTA','authoredAt','ck-comment__info','Remove','author','getTemplate','add','edit','3083952QizSXI','showConfirm','focusables','ck-annotation__content-wrapper','length','3715215VfNglO','set','_model','4591380VBhxEB','isEditMode','cancelConfirm','userView','locale','39694WIRmrM','items','visibleView','ck-comment__wrapper','createCollection','mouseleave'];_0x5692=function(){return _0x54e685;};return _0x5692();}import{IconRemoveComment as _0x2a349a,IconPencil as _0x3ea1e3,IconThreeVerticalDots as _0x36c0f6}from'ckeditor5/src/icons.js';import{ButtonView as _0x11f129,createDropdown as _0x22c34a,ListView as _0x1b5687,ListItemView as _0x5c7978,focusChildOnDropdownOpen as _0x5d3a2b}from'ckeditor5/src/ui.js';function _0x5c23(_0x2a803a,_0x106f9d){const _0x569257=_0x5692();return _0x5c23=function(_0x5c230c,_0x1b1a41){_0x5c230c=_0x5c230c-0xe5;let _0x3eea8f=_0x569257[_0x5c230c];return _0x3eea8f;},_0x5c23(_0x2a803a,_0x106f9d);}import{UserView as _0x4ec2f2,ConfirmMixin as _0x199c35,LateFocusDropdownButtonView as _0x567926}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0xbede1d}from'./basecommentview.js';import{getTranslation as _0x255b9a}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x199c35(_0xbede1d){[_0x536090(0xfa)];[_0x536090(0xed)];constructor(_0x541d91,_0x1078f7,_0x5f3823){const _0x23ee9e=_0x536090;super(_0x541d91,_0x1078f7,_0x5f3823),this[_0x23ee9e(0xe8)](_0x23ee9e(0x143),null),this[_0x23ee9e(0xe8)](_0x23ee9e(0x13e),_0x255b9a(_0x541d91,_0x23ee9e(0x12e))),this[_0x23ee9e(0x105)](_0x23ee9e(0x152))['to'](_0x1078f7),this[_0x23ee9e(0x105)](_0x23ee9e(0x12d))['to'](_0x1078f7),this[_0x23ee9e(0xfa)]=this[_0x23ee9e(0xf3)](),this[_0x23ee9e(0x145)]||(this[_0x23ee9e(0xf7)]=this[_0x23ee9e(0x11e)](),this[_0x23ee9e(0x147)]=this[_0x23ee9e(0x14b)](),this[_0x23ee9e(0xf0)]=this[_0x23ee9e(0xf3)](),this[_0x23ee9e(0xf0)][_0x23ee9e(0x116)]([this[_0x23ee9e(0xf7)],this[_0x23ee9e(0x147)]]),this[_0x23ee9e(0x127)]=this[_0x23ee9e(0x121)](),this[_0x23ee9e(0xfa)][_0x23ee9e(0x157)](this[_0x23ee9e(0x127)]),this[_0x23ee9e(0x15b)][_0x23ee9e(0x157)](this[_0x23ee9e(0x127)])),this[_0x23ee9e(0xed)]=new _0x4ec2f2(_0x541d91,_0x1078f7[_0x23ee9e(0x155)],this[_0x23ee9e(0x122)]()),this[_0x23ee9e(0xed)][_0x23ee9e(0x128)]({'attributes':{'class':[_0x23ee9e(0x14e),_0x23ee9e(0x13f)],'aria-hidden':!0x0}}),this[_0x23ee9e(0x134)](_0x1078f7,_0x23ee9e(0x146),()=>this[_0x23ee9e(0xec)]()),this[_0x23ee9e(0x12c)](this[_0x23ee9e(0x156)]());}[_0x536090(0x156)](){const _0x4600cf=_0x536090,_0x352631=this[_0x4600cf(0x149)],_0x7a7d6f=[{'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0x153),_0x4600cf(0x117)]},'children':[{'tag':_0x4600cf(0x141),'children':[{'text':this[_0x4600cf(0xed)][_0x4600cf(0xfd)]}],'attributes':{'class':[_0x4600cf(0x100),_0x4600cf(0xf6)],'data-cke-tooltip-text':this[_0x4600cf(0xed)][_0x4600cf(0xfd)]}},{'tag':_0x4600cf(0x12b),'attributes':{'datetime':_0x352631['to'](_0x4600cf(0x152)),'class':[_0x4600cf(0xfb),_0x4600cf(0x103)]},'children':[{'text':_0x352631['to'](_0x4600cf(0x152),_0x1462e7=>this[_0x4600cf(0x10b)][_0x4600cf(0x132)](_0x1462e7))}]}]},{'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0x124),_0x4600cf(0x142),_0x352631['if'](_0x4600cf(0xeb),_0x4600cf(0x11d)),_0x352631['if'](_0x4600cf(0xeb),_0x4600cf(0x131))]},'children':this[_0x4600cf(0xfa)]},{'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0xe5)]},'children':this[_0x4600cf(0xf1)]},this[_0x4600cf(0x111)]];return this[_0x4600cf(0xe9)][_0x4600cf(0x12a)]&&_0x7a7d6f[_0x4600cf(0x150)]({'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0xf9)]},'children':[{'text':this[_0x4600cf(0x13c)]()}]}),{'tag':'li','attributes':{'class':[_0x4600cf(0xf2)],'tabindex':-0x1,'aria-label':_0x352631['to'](_0x4600cf(0x136)),'aria-describedby':this[_0x4600cf(0x111)]['id'],'role':_0x4600cf(0x138)},'children':[{'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0x110),_0x4600cf(0x11a),_0x352631['if'](_0x4600cf(0xeb),_0x4600cf(0x140)),_0x352631['if'](_0x4600cf(0x145),_0x4600cf(0x10e)),_0x352631['to'](_0x4600cf(0x143),_0x45beae=>_0x45beae?_0x4600cf(0x10f)+_0x45beae:'')],'data-author-id':this[_0x4600cf(0xe9)][_0x4600cf(0x155)]['id'],'data-comment-id':this[_0x4600cf(0xe9)]['id'],'role':_0x4600cf(0x115)},'children':[this[_0x4600cf(0xed)],{'tag':_0x4600cf(0x137),'attributes':{'class':[_0x4600cf(0x14c),_0x4600cf(0x118)]},'children':_0x7a7d6f}]}]};}[_0x536090(0x11e)](){const _0x561b06=_0x536090,_0x372556=new _0x11f129(this[_0x561b06(0xee)]);return _0x372556[_0x561b06(0x10a)]=_0x255b9a(this[_0x561b06(0xee)],_0x561b06(0x133)),_0x372556[_0x561b06(0x13b)]=_0x3ea1e3,_0x372556[_0x561b06(0x129)]=!0x0,_0x372556[_0x561b06(0x128)]({'attributes':{'class':_0x561b06(0x140)}}),_0x372556[_0x561b06(0x105)](_0x561b06(0xfc))['to'](this[_0x561b06(0xe9)],_0x561b06(0x101),_0x288f69=>!_0x288f69),_0x372556[_0x561b06(0x105)](_0x561b06(0x114))['to'](this[_0x561b06(0xe9)],_0x561b06(0x102)),_0x372556['on'](_0x561b06(0x107),()=>this[_0x561b06(0x130)]()),_0x372556;}[_0x536090(0x14b)](){const _0x138b64=_0x536090,_0x31c504=new _0x11f129(this[_0x138b64(0xee)]);return _0x31c504[_0x138b64(0x10a)]=_0x255b9a(this[_0x138b64(0xee)],_0x138b64(0x154)),_0x31c504[_0x138b64(0x13b)]=_0x2a349a,_0x31c504[_0x138b64(0x129)]=!0x0,_0x31c504[_0x138b64(0x128)]({'attributes':{'class':_0x138b64(0x113)}}),_0x31c504[_0x138b64(0x105)](_0x138b64(0xfc))['to'](this[_0x138b64(0xe9)],_0x138b64(0x101),_0x58fe1a=>!_0x58fe1a),_0x31c504[_0x138b64(0x105)](_0x138b64(0x114))['to'](this[_0x138b64(0xe9)],_0x138b64(0x106)),_0x31c504['on'](_0x138b64(0x107),()=>{const _0x49f7e8=_0x138b64;this[_0x49f7e8(0x15a)](_0x255b9a(this[_0x49f7e8(0xee)],_0x49f7e8(0xff)),this[_0x49f7e8(0x108)])[_0x49f7e8(0x148)](()=>{const _0xe83df2=_0x49f7e8;this[_0xe83df2(0x135)](_0xe83df2(0x120),this[_0xe83df2(0xe9)]['id']);});}),_0x31c504;}[_0x536090(0x121)](){const _0x4fa22b=_0x536090,_0xde6c75=_0x22c34a(this[_0x4fa22b(0xee)],_0x567926),_0x3d92e1=_0xde6c75[_0x4fa22b(0x14f)][_0x4fa22b(0x11b)],_0x3c2fdd=new _0x1b5687(this[_0x4fa22b(0xee)]),_0xa8a6e4=_0xde6c75[_0x4fa22b(0x149)];_0x5d3a2b(_0xde6c75,()=>this[_0x4fa22b(0xf0)][_0x4fa22b(0x125)](_0x398bfd=>_0x398bfd[_0x4fa22b(0x114)])),_0xde6c75[_0x4fa22b(0x128)]({'attributes':{'class':[_0xa8a6e4['if'](_0x4fa22b(0x114),_0x4fa22b(0x112),_0x44f9cf=>!_0x44f9cf)]}});const _0x286fb3=(_0x49123b,_0x3622aa=-0x1)=>{const _0xd51214=_0x4fa22b,_0x37e2dd=new _0x5c7978(this[_0xd51214(0xee)]);_0x37e2dd[_0xd51214(0x11b)][_0xd51214(0x157)](_0x49123b);const _0x22a44a=_0x3622aa>-0x1?_0x3622aa:_0x3c2fdd[_0xd51214(0xf0)][_0xd51214(0xe6)];_0x3c2fdd[_0xd51214(0xf0)][_0xd51214(0x157)](_0x37e2dd,_0x22a44a);const _0x50f745=Array[_0xd51214(0x10c)](this[_0xd51214(0xf0)]);_0xde6c75[_0xd51214(0x109)](_0xd51214(0xfc),_0xd51214(0x114)),_0xde6c75[_0xd51214(0x105)](_0xd51214(0xfc))[_0xd51214(0x119)](_0x50f745,_0xd51214(0xfc),(..._0x20de20)=>_0x20de20[_0xd51214(0xfe)](_0x5baf1e=>_0x5baf1e)),_0xde6c75[_0xd51214(0x105)](_0xd51214(0x114))[_0xd51214(0x119)](_0x50f745,_0xd51214(0x114),(..._0x2ec3e3)=>_0x2ec3e3[_0xd51214(0xfe)](_0x47edd1=>_0x47edd1));};_0xde6c75[_0x4fa22b(0xf5)]='sw',_0xde6c75[_0x4fa22b(0x123)][_0x4fa22b(0xe8)]({'label':_0x255b9a(this[_0x4fa22b(0xee)],_0x4fa22b(0x144)),'icon':_0x36c0f6});for(const _0x6e6642 of this[_0x4fa22b(0xf0)])_0x286fb3(_0x6e6642);return _0x3d92e1[_0x4fa22b(0x157)](_0x3c2fdd),_0xde6c75[_0x4fa22b(0x134)](this[_0x4fa22b(0xf0)],_0x4fa22b(0x157),(_0x260e6d,_0x2d2672,_0x43cdad)=>{_0x286fb3(_0x2d2672,_0x43cdad);}),_0xde6c75[_0x4fa22b(0x134)](this[_0x4fa22b(0xf0)],_0x4fa22b(0x12f),(_0x4e8b3f,_0xdc4972,_0x593e31)=>{const _0x212f20=_0x4fa22b;_0x3c2fdd[_0x212f20(0xf0)][_0x212f20(0x12f)](_0x593e31);}),_0xde6c75;}[_0x536090(0x11f)](_0x303b82,_0x1cf601){const _0x296d88=_0x536090,_0x55c73e=_0x303b82&&_0x303b82[_0x296d88(0x108)];_0x55c73e&&(this[_0x296d88(0x134)](_0x55c73e,_0x296d88(0x126),()=>this[_0x296d88(0x143)]=_0x1cf601),this[_0x296d88(0x134)](_0x55c73e,_0x296d88(0xf8),()=>this[_0x296d88(0x143)]=_0x1cf601),this[_0x296d88(0x134)](_0x55c73e,_0x296d88(0xf4),()=>this[_0x296d88(0x143)]=null),this[_0x296d88(0x134)](_0x55c73e,_0x296d88(0x13d),()=>this[_0x296d88(0x143)]=null));}[_0x536090(0x139)](){const _0x4ebb50=_0x536090,_0x59e53a=super[_0x4ebb50(0x139)]();return _0x59e53a[_0x4ebb50(0x105)](_0x4ebb50(0x13e))['to'](this),_0x59e53a;}[_0x536090(0x13a)](){const _0x43789f=_0x536090;super[_0x43789f(0x13a)](),this[_0x43789f(0x11f)](this[_0x43789f(0xf7)],_0x43789f(0x158)),this[_0x43789f(0x11f)](this[_0x43789f(0x147)],_0x43789f(0x12f));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x52bf93=_0x2d91;(function(_0x11cca0,_0xca18e6){var _0x3a9a99=_0x2d91,_0x4b87a1=_0x11cca0();while(!![]){try{var _0x456b78=-parseInt(_0x3a9a99(0x17d))/0x1+-parseInt(_0x3a9a99(0x17e))/0x2*(-parseInt(_0x3a9a99(0x176))/0x3)+-parseInt(_0x3a9a99(0x177))/0x4+parseInt(_0x3a9a99(0x184))/0x5*(parseInt(_0x3a9a99(0x17b))/0x6)+-parseInt(_0x3a9a99(0x17f))/0x7+-parseInt(_0x3a9a99(0x182))/0x8+parseInt(_0x3a9a99(0x17c))/0x9*(parseInt(_0x3a9a99(0x178))/0xa);if(_0x456b78===_0xca18e6)break;else _0x4b87a1['push'](_0x4b87a1['shift']());}catch(_0x1b4d36){_0x4b87a1['push'](_0x4b87a1['shift']());}}}(_0x4d26,0xc0eb3));import{Plugin as _0x316e0a}from'ckeditor5/src/core.js';import{CommentsRepository as _0x224f97}from'./comments/commentsrepository.js';function _0x2d91(_0x36226f,_0x198be6){var _0x4d26ac=_0x4d26();return _0x2d91=function(_0x2d9171,_0x54964a){_0x2d9171=_0x2d9171-0x176;var _0x125a2e=_0x4d26ac[_0x2d9171];return _0x125a2e;},_0x2d91(_0x36226f,_0x198be6);}function _0x4d26(){var _0x43816a=['335584GGsASs','pluginName','555DQntyH','1329171rguPfY','4074424AOCpGx','12734630jvarPV','requires','Comments','75102BNrtuJ','9VGDlfB','1554860yAHjIG','4NpuHBE','1003485TfiSml','isPremiumPlugin','isOfficialPlugin'];_0x4d26=function(){return _0x43816a;};return _0x4d26();}import{CommentsEditing as _0xf9360d}from'./comments/commentsediting.js';import{CommentsUI as _0x12cea8}from'./comments/commentsui.js';import{CommentsOnly as _0x18a223}from'./commentsonly.js';import{WideSidebar as _0x235ead}from'./annotations/widesidebar.js';import{NarrowSidebar as _0xd044f4}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x4c7035}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3d6d4d}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4c14c8}from'./comments/commentsarchive.js';export class Comments extends _0x316e0a{static get[_0x52bf93(0x179)](){return[_0x224f97,_0xf9360d,_0x12cea8,_0x4c14c8,_0x3d6d4d,_0x18a223,_0x235ead,_0xd044f4,_0x4c7035];}static get[_0x52bf93(0x183)](){var _0x516654=_0x52bf93;return _0x516654(0x17a);}static get[_0x52bf93(0x181)](){return!0x0;}static get[_0x52bf93(0x180)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x30cb(_0x39e027,_0x282dc8){const _0x5ddade=_0x5dda();return _0x30cb=function(_0x30cbdb,_0x2e9f94){_0x30cbdb=_0x30cbdb-0x1b3;let _0x3c2b0d=_0x5ddade[_0x30cbdb];return _0x3c2b0d;},_0x30cb(_0x39e027,_0x282dc8);}const _0x188e8a=_0x30cb;(function(_0x3d3805,_0x446bb9){const _0x53d98b=_0x30cb,_0x28f547=_0x3d3805();while(!![]){try{const _0x54b852=parseInt(_0x53d98b(0x1b4))/0x1*(-parseInt(_0x53d98b(0x1ba))/0x2)+parseInt(_0x53d98b(0x1c4))/0x3*(parseInt(_0x53d98b(0x1c3))/0x4)+parseInt(_0x53d98b(0x1d7))/0x5*(parseInt(_0x53d98b(0x1c2))/0x6)+-parseInt(_0x53d98b(0x1da))/0x7*(-parseInt(_0x53d98b(0x1c8))/0x8)+-parseInt(_0x53d98b(0x1be))/0x9*(-parseInt(_0x53d98b(0x1d2))/0xa)+-parseInt(_0x53d98b(0x1b5))/0xb*(parseInt(_0x53d98b(0x1b7))/0xc)+-parseInt(_0x53d98b(0x1d0))/0xd;if(_0x54b852===_0x446bb9)break;else _0x28f547['push'](_0x28f547['shift']());}catch(_0x3953b1){_0x28f547['push'](_0x28f547['shift']());}}}(_0x5dda,0xb8f3b));import{Plugin as _0x44fbaf}from'ckeditor5/src/core.js';import{CommentsEditing as _0x24505e}from'./comments/commentsediting.js';export class CommentsOnly extends _0x44fbaf{static get[_0x188e8a(0x1d4)](){const _0x2629b6=_0x188e8a;return _0x2629b6(0x1dc);}static get[_0x188e8a(0x1bc)](){return!0x0;}static get[_0x188e8a(0x1dd)](){return!0x0;}static get[_0x188e8a(0x1e2)](){return[_0x24505e];}constructor(_0x5785be){const _0x55ecb5=_0x188e8a;super(_0x5785be),this[_0x55ecb5(0x1cb)](_0x55ecb5(0x1c6),!0x1),this['on'](_0x55ecb5(0x1b6),(_0x4d1732,_0x275566,_0x46e454)=>{const _0x5461be=_0x55ecb5;_0x46e454?this[_0x5461be(0x1c7)]():this[_0x5461be(0x1d3)]();});}[_0x188e8a(0x1d5)](){const _0x314eaf=_0x188e8a;!this[_0x314eaf(0x1c6)]&&this[_0x314eaf(0x1e3)][_0x314eaf(0x1d1)][_0x314eaf(0x1b3)](_0x314eaf(0x1d9))&&(this[_0x314eaf(0x1c6)]=!0x0);}[_0x188e8a(0x1c7)](){const _0x4728b3=_0x188e8a;for(const [_0x27cba9,_0x2032e1]of this[_0x4728b3(0x1e3)][_0x4728b3(0x1d8)])_0x2032e1[_0x4728b3(0x1c0)]&&_0x4728b3(0x1d6)!==_0x27cba9&&_0x2032e1[_0x4728b3(0x1c5)](_0x4728b3(0x1cd));(this[_0x4728b3(0x1e3)][_0x4728b3(0x1df)][_0x4728b3(0x1b8)](_0x4728b3(0x1bf))&&this[_0x4728b3(0x1e3)][_0x4728b3(0x1df)][_0x4728b3(0x1b3)](_0x4728b3(0x1bf))[_0x4728b3(0x1c5)](_0x4728b3(0x1cd)),this[_0x4728b3(0x1e3)][_0x4728b3(0x1df)][_0x4728b3(0x1b8)](_0x4728b3(0x1cf)))&&this[_0x4728b3(0x1e3)][_0x4728b3(0x1df)][_0x4728b3(0x1b3)](_0x4728b3(0x1cf))[_0x4728b3(0x1c5)](_0x4728b3(0x1cd));this[_0x4728b3(0x1e3)][_0x4728b3(0x1d8)][_0x4728b3(0x1b3)](_0x4728b3(0x1c9))?.[_0x4728b3(0x1c5)](_0x4728b3(0x1cd));const _0x1bd947=this[_0x4728b3(0x1e3)][_0x4728b3(0x1c1)][_0x4728b3(0x1b9)][_0x4728b3(0x1cc)];this[_0x4728b3(0x1e0)](_0x1bd947,_0x4728b3(0x1db),_0x23643f=>_0x23643f[_0x4728b3(0x1bb)](),{'priority':_0x4728b3(0x1ca)}),this[_0x4728b3(0x1e0)](_0x1bd947,_0x4728b3(0x1bd),_0x1719e9=>_0x1719e9[_0x4728b3(0x1bb)](),{'priority':_0x4728b3(0x1ca)}),this[_0x4728b3(0x1e0)](_0x1bd947,_0x4728b3(0x1e1),_0x55c108=>_0x55c108[_0x4728b3(0x1bb)](),{'priority':_0x4728b3(0x1ca)});}[_0x188e8a(0x1d3)](){const _0x21db7b=_0x188e8a;for(const [_0x57ee58,_0x125511]of this[_0x21db7b(0x1e3)][_0x21db7b(0x1d8)])_0x125511[_0x21db7b(0x1c0)]&&_0x21db7b(0x1d6)!==_0x57ee58&&_0x125511[_0x21db7b(0x1ce)](_0x21db7b(0x1cd));this[_0x21db7b(0x1e3)][_0x21db7b(0x1df)][_0x21db7b(0x1b8)](_0x21db7b(0x1cf))&&this[_0x21db7b(0x1e3)][_0x21db7b(0x1df)][_0x21db7b(0x1b3)](_0x21db7b(0x1cf))[_0x21db7b(0x1ce)](_0x21db7b(0x1cd)),this[_0x21db7b(0x1e3)][_0x21db7b(0x1d8)][_0x21db7b(0x1b3)](_0x21db7b(0x1c9))?.[_0x21db7b(0x1ce)](_0x21db7b(0x1cd)),this[_0x21db7b(0x1de)](this[_0x21db7b(0x1e3)][_0x21db7b(0x1c1)][_0x21db7b(0x1b9)][_0x21db7b(0x1cc)]);}}function _0x5dda(){const _0x19106f=['pluginName','afterInit','addCommentThread','20795tGVgbu','commands','commentsOnly','11123LdVXTA','cut','CommentsOnly','isPremiumPlugin','stopListening','plugins','listenTo','delete','requires','editor','get','4105nHspbu','514877pKztwz','change:isEnabled','48abfWSi','has','view','518MDtZlu','stop','isOfficialPlugin','clipboardInput','4412079NOlhqW','DragDrop','affectsData','editing','438GjBdVq','5620pEJHxv','2610NhzVFP','forceDisabled','isEnabled','_enableCommentsOnlyMode','1544JRIPQF','editSource','highest','set','document','commentsOnlyMode','clearForceDisabled','SourceEditing','4093427UyQfdm','config','10TYykJp','_disableCommentsOnlyMode'];_0x5dda=function(){return _0x19106f;};return _0x5dda();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x488331,_0x5158b0){var _0x31e5f1=_0x5a11,_0x20d838=_0x488331();while(!![]){try{var _0x4341ce=-parseInt(_0x31e5f1(0x6f))/0x1+parseInt(_0x31e5f1(0x70))/0x2+-parseInt(_0x31e5f1(0x68))/0x3+-parseInt(_0x31e5f1(0x67))/0x4+-parseInt(_0x31e5f1(0x6c))/0x5*(parseInt(_0x31e5f1(0x6a))/0x6)+parseInt(_0x31e5f1(0x69))/0x7*(-parseInt(_0x31e5f1(0x6b))/0x8)+parseInt(_0x31e5f1(0x6e))/0x9*(parseInt(_0x31e5f1(0x6d))/0xa);if(_0x4341ce===_0x5158b0)break;else _0x20d838['push'](_0x20d838['shift']());}catch(_0xcada7f){_0x20d838['push'](_0x20d838['shift']());}}}(_0x4369,0x78445));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';function _0x5a11(_0x2a7aa3,_0x5cc4ad){var _0x4369d4=_0x4369();return _0x5a11=function(_0x5a118c,_0x47501d){_0x5a118c=_0x5a118c-0x67;var _0x477392=_0x4369d4[_0x5a118c];return _0x477392;},_0x5a11(_0x2a7aa3,_0x5cc4ad);}export{Annotation}from'./annotations/annotation.js';function _0x4369(){var _0xcaa430=['10XgEWDq','1037150AOVEay','225Ywiwao','609244rvhnlt','814974nPWzoi','2595564HNJnah','407988rrrZGZ','5768SkPZhy','2856342XMdxgp','1568UPDVjZ'];_0x4369=function(){return _0xcaa430;};return _0x4369();}export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x3bb208,_0x5d8e0b,_0x31f38a){const t=_0x3bb208['t'];switch(_0x5d8e0b){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'},_0x31f38a);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'},_0x31f38a);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'},_0x31f38a);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'},_0x31f38a);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x31f38a);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'},_0x31f38a);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'},_0x31f38a);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'},_0x31f38a);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 _0x29db(_0x405252,_0x3f74b4){const _0x283f85=_0x283f();return _0x29db=function(_0x29db67,_0x1b8ace){_0x29db67=_0x29db67-0x1c6;let _0x32cb53=_0x283f85[_0x29db67];return _0x32cb53;},_0x29db(_0x405252,_0x3f74b4);}function _0x283f(){const _0x34c2ec=['108WSPqVw','cancel','1713768XEvlmL','attributeName','15205610iOxnlg','childList','characterData','10552yKdVQc','3026100viGNku','9IayUyf','type','15669QBVDHD','class','attributes','1447332YomcTl','disconnect','observe','5453ONLsGQ','2823ODtArG'];_0x283f=function(){return _0x34c2ec;};return _0x283f();}(function(_0x345d9f,_0x160d26){const _0x2b9d64=_0x29db,_0x46ae79=_0x345d9f();while(!![]){try{const _0x2b8d02=parseInt(_0x2b9d64(0x1d1))/0x1+parseInt(_0x2b9d64(0x1d4))/0x2+-parseInt(_0x2b9d64(0x1d8))/0x3*(parseInt(_0x2b9d64(0x1c6))/0x4)+parseInt(_0x2b9d64(0x1ce))/0x5+-parseInt(_0x2b9d64(0x1c8))/0x6+parseInt(_0x2b9d64(0x1d7))/0x7*(parseInt(_0x2b9d64(0x1cd))/0x8)+parseInt(_0x2b9d64(0x1cf))/0x9*(-parseInt(_0x2b9d64(0x1ca))/0xa);if(_0x2b8d02===_0x160d26)break;else _0x46ae79['push'](_0x46ae79['shift']());}catch(_0x22d86f){_0x46ae79['push'](_0x46ae79['shift']());}}}(_0x283f,0x83f2c));import{throttle as _0x128985}from'es-toolkit/compat';export function createMutationObserver(_0x520caf){const _0x4bb017=_0x128985(_0x520caf,0x1e),_0x48f478=new MutationObserver(_0xf8847d=>{const _0x9f46d3=_0x29db;for(const _0x2a2be3 of _0xf8847d)(_0x9f46d3(0x1d3)==_0x2a2be3[_0x9f46d3(0x1d0)]&&_0x9f46d3(0x1d2)==_0x2a2be3[_0x9f46d3(0x1c9)]||_0x9f46d3(0x1cb)==_0x2a2be3[_0x9f46d3(0x1d0)]||_0x9f46d3(0x1cc)==_0x2a2be3[_0x9f46d3(0x1d0)])&&_0x4bb017();});return{'attach'(_0x339a22){const _0x328ff6=_0x29db;_0x48f478[_0x328ff6(0x1d6)](_0x339a22,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x1aeab4=_0x29db;_0x48f478[_0x1aeab4(0x1d5)](),_0x4bb017[_0x1aeab4(0x1c7)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x473a(){const _0x5b85ba=['8525079HyBaTQ','6494442rDVyUi','191690WCLjpo','5328OJwdFO','12810ecKWxZ','split','942789UTyNET','2060416XvyhSQ','4kAmTaF','1074925PGxAKI'];_0x473a=function(){return _0x5b85ba;};return _0x473a();}(function(_0x36e8d7,_0x46230d){const _0x2d7d51=_0x1d4e,_0x1e2656=_0x36e8d7();while(!![]){try{const _0x96325=-parseInt(_0x2d7d51(0x1b5))/0x1+-parseInt(_0x2d7d51(0x1bd))/0x2+-parseInt(_0x2d7d51(0x1bc))/0x3*(parseInt(_0x2d7d51(0x1b4))/0x4)+parseInt(_0x2d7d51(0x1b8))/0x5+parseInt(_0x2d7d51(0x1b7))/0x6+parseInt(_0x2d7d51(0x1ba))/0x7*(parseInt(_0x2d7d51(0x1b9))/0x8)+parseInt(_0x2d7d51(0x1b6))/0x9;if(_0x96325===_0x46230d)break;else _0x1e2656['push'](_0x1e2656['shift']());}catch(_0x5c4360){_0x1e2656['push'](_0x1e2656['shift']());}}}(_0x473a,0xd3c20));function _0x1d4e(_0x25c1ae,_0x39a8ff){const _0x473a66=_0x473a();return _0x1d4e=function(_0x1d4ebb,_0x423d9f){_0x1d4ebb=_0x1d4ebb-0x1b4;let _0x2e7271=_0x473a66[_0x1d4ebb];return _0x2e7271;},_0x1d4e(_0x25c1ae,_0x39a8ff);}export function splitMarkerName(_0x27eb13){const _0x2ad86d=_0x1d4e,_0xffd6dc=_0x27eb13[_0x2ad86d(0x1bb)](':');return{'group':_0xffd6dc[0x0],'id':_0xffd6dc[0x1],'part':_0xffd6dc[0x2]};}
|