@ckeditor/ckeditor5-comments 46.0.1-alpha.9 → 46.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.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 _0x1cfd(_0x145262,_0x140b0c){const _0x2eafb0=_0x2eaf();return _0x1cfd=function(_0x1cfd9f,_0x50c7f8){_0x1cfd9f=_0x1cfd9f-0x1bd;let _0x71e8e6=_0x2eafb0[_0x1cfd9f];return _0x71e8e6;},_0x1cfd(_0x145262,_0x140b0c);}const _0x26bf13=_0x1cfd;(function(_0x45ef8b,_0x1a25be){const _0x3b77df=_0x1cfd,_0x2a61db=_0x45ef8b();while(!![]){try{const _0x8233ca=parseInt(_0x3b77df(0x1ff))/0x1*(parseInt(_0x3b77df(0x1d8))/0x2)+parseInt(_0x3b77df(0x1d4))/0x3+parseInt(_0x3b77df(0x1bd))/0x4*(-parseInt(_0x3b77df(0x1de))/0x5)+-parseInt(_0x3b77df(0x1ed))/0x6+parseInt(_0x3b77df(0x1ee))/0x7*(-parseInt(_0x3b77df(0x1f3))/0x8)+-parseInt(_0x3b77df(0x1c9))/0x9*(parseInt(_0x3b77df(0x1e7))/0xa)+parseInt(_0x3b77df(0x1da))/0xb;if(_0x8233ca===_0x1a25be)break;else _0x2a61db['push'](_0x2a61db['shift']());}catch(_0x13af13){_0x2a61db['push'](_0x2a61db['shift']());}}}(_0x2eaf,0x876dd));import{View as _0x1f0d22,FocusCycler as _0x280976}from'ckeditor5/src/ui.js';import{diff as _0x3e7ac7,Collection as _0x1bf647,FocusTracker as _0x4ce54b,KeystrokeHandler as _0x4cd914}from'ckeditor5/src/utils.js';import{getTranslation as _0x466e31}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x309ab7}from'./collapsedcommentsview.js';export class CommentsListView extends _0x1f0d22{[_0x26bf13(0x1c4)];[_0x26bf13(0x216)];[_0x26bf13(0x212)];[_0x26bf13(0x1fb)];[_0x26bf13(0x1d5)];[_0x26bf13(0x1db)];[_0x26bf13(0x208)];[_0x26bf13(0x205)];constructor(_0x309a24,_0x5c21db,_0x343fed){const _0x463b3e=_0x26bf13;super(_0x309a24);const _0x176ace=this[_0x463b3e(0x1f5)];this[_0x463b3e(0x21d)](_0x463b3e(0x211),!0x1),this[_0x463b3e(0x21d)](_0x463b3e(0x1e8),_0x5c21db[_0x463b3e(0x1d1)][_0x463b3e(0x1e8)]),this[_0x463b3e(0x21d)](_0x463b3e(0x20a),!0x1),this[_0x463b3e(0x1db)]=_0x5c21db,this[_0x463b3e(0x208)]=_0x343fed,this[_0x463b3e(0x1c4)]=this[_0x463b3e(0x1f9)](),this[_0x463b3e(0x1f0)]=this[_0x463b3e(0x1f9)](),this[_0x463b3e(0x216)]=null,this[_0x463b3e(0x212)]=new _0x4ce54b(),this[_0x463b3e(0x1fb)]=new _0x4cd914(),this[_0x463b3e(0x1d5)]=new _0x280976({'focusables':this[_0x463b3e(0x1c4)],'focusTracker':this[_0x463b3e(0x212)],'keystrokeHandler':this[_0x463b3e(0x1fb)],'keystrokeHandlerOptions':{'filter':_0x51a7c4=>this[_0x463b3e(0x1c4)][_0x463b3e(0x1c3)](_0xe548a8=>_0xe548a8[_0x463b3e(0x1e2)])[_0x463b3e(0x21e)](_0x51a7c4[_0x463b3e(0x210)])},'actions':{'focusPrevious':_0x463b3e(0x1e4),'focusNext':_0x463b3e(0x219)}}),this[_0x463b3e(0x205)]=new _0x309ab7(_0x309a24),this[_0x463b3e(0x205)][_0x463b3e(0x206)](_0x463b3e(0x202))['to'](this,_0x463b3e(0x1e8),_0x4bc610=>_0x4bc610-this[_0x463b3e(0x208)][_0x463b3e(0x214)]);for(const _0x520ff7 of _0x5c21db[_0x463b3e(0x1d1)])this[_0x463b3e(0x1ce)](_0x520ff7);this[_0x463b3e(0x215)](),this[_0x463b3e(0x20b)](_0x5c21db[_0x463b3e(0x1d1)],_0x463b3e(0x21a),(_0x3c8812,_0x5afbe9)=>{const _0x1a25ea=_0x463b3e,_0x2366a0=this[_0x1a25ea(0x1c2)](_0x5afbe9);this[_0x1a25ea(0x1e8)]++,this[_0x1a25ea(0x1ce)](_0x5afbe9,_0x2366a0),this[_0x1a25ea(0x1f2)]();}),this[_0x463b3e(0x20b)](_0x5c21db[_0x463b3e(0x1d1)],_0x463b3e(0x1ca),(_0x4d5f40,_0x407d00)=>{const _0x163185=_0x463b3e;this[_0x163185(0x1e8)]--,this[_0x163185(0x1fe)](_0x407d00),this[_0x163185(0x1f2)]();}),this[_0x463b3e(0x20b)](_0x5c21db,_0x463b3e(0x1cb),()=>this[_0x463b3e(0x1f2)]()),this[_0x463b3e(0x20b)](_0x5c21db,_0x463b3e(0x1c1),()=>this[_0x463b3e(0x215)]()),this['on'](_0x463b3e(0x1e1),()=>this[_0x463b3e(0x1f2)]()),this['on'](_0x463b3e(0x1ea),()=>this[_0x463b3e(0x1f2)]()),this[_0x463b3e(0x1d3)]({'tag':'ul','attributes':{'class':[_0x463b3e(0x1e6),_0x176ace['if'](_0x463b3e(0x1e8),_0x463b3e(0x207),_0x409247=>!_0x409247)],'aria-label':_0x466e31(_0x309a24,_0x463b3e(0x1e0))},'children':this[_0x463b3e(0x1f0)]});}get[_0x26bf13(0x1cd)](){const _0x5f4e11=_0x26bf13;return this[_0x5f4e11(0x1db)][_0x5f4e11(0x1e3)]>this[_0x5f4e11(0x208)][_0x5f4e11(0x1ef)]&&!this[_0x5f4e11(0x20a)]&&!this[_0x5f4e11(0x211)];}[_0x26bf13(0x1d7)](){const _0xd52106=_0x26bf13;super[_0xd52106(0x1d7)](),this[_0xd52106(0x1f2)](),this[_0xd52106(0x1fa)]();}[_0x26bf13(0x1be)](_0x5ce645){const _0x4cbbe3=_0x26bf13;-0x1===_0x5ce645?this[_0x4cbbe3(0x1d5)][_0x4cbbe3(0x201)]():this[_0x4cbbe3(0x1d5)][_0x4cbbe3(0x218)]();}[_0x26bf13(0x213)](){const _0x33d16e=_0x26bf13;this[_0x33d16e(0x205)][_0x33d16e(0x213)]();for(const _0x26d718 of this[_0x33d16e(0x1c4)])_0x26d718[_0x33d16e(0x213)]();super[_0x33d16e(0x213)]();}[_0x26bf13(0x1f2)](){const _0x1cfcbb=_0x26bf13;this[_0x1cfcbb(0x1cd)]?this[_0x1cfcbb(0x1dc)]():this[_0x1cfcbb(0x209)]();}[_0x26bf13(0x1ce)](_0x27dcfb,_0x20d4ac){const _0x1264b1=_0x26bf13,_0x259555=new this[(_0x1264b1(0x208))][(_0x1264b1(0x1dd))](this[_0x1264b1(0x1cc)],_0x27dcfb,{'maxCommentCharsWhenCollapsed':this[_0x1264b1(0x208)][_0x1264b1(0x1e5)],'formatDateTime':this[_0x1264b1(0x208)][_0x1264b1(0x21c)],'editorConfig':this[_0x1264b1(0x208)][_0x1264b1(0x204)]});_0x259555[_0x1264b1(0x1f7)]=_0x27dcfb['id'],_0x259555[_0x1264b1(0x21b)](_0x1264b1(0x1fc))['to'](this),_0x259555[_0x1264b1(0x21b)](_0x1264b1(0x1d6))['to'](this),_0x259555[_0x1264b1(0x21b)](_0x1264b1(0x20c))['to'](this),_0x259555[_0x1264b1(0x21b)](_0x1264b1(0x1fd))['to'](this),_0x259555[_0x1264b1(0x21b)](_0x1264b1(0x1d2))['to'](this),this[_0x1264b1(0x20b)](_0x259555,_0x1264b1(0x200),()=>this[_0x1264b1(0x1ec)]()),this[_0x1264b1(0x1c4)][_0x1264b1(0x21a)](_0x259555,_0x20d4ac);}[_0x26bf13(0x1c2)](_0x4270f2){const _0x549c83=_0x26bf13,_0x4e5ae7=this[_0x549c83(0x1db)][_0x549c83(0x20d)](_0x4270f2);return this[_0x549c83(0x216)]?this[_0x549c83(0x216)][_0x549c83(0x1c0)]>_0x4270f2[_0x549c83(0x1c0)]?_0x4e5ae7-0x1:_0x4e5ae7:_0x4e5ae7-0x1;}[_0x26bf13(0x215)](){const _0x3c679c=_0x26bf13;if(this[_0x3c679c(0x1db)][_0x3c679c(0x1d9)]&&this[_0x3c679c(0x1db)][_0x3c679c(0x1c7)]){const _0x56769c={'id':_0x3c679c(0x1c6),'author':this[_0x3c679c(0x1db)][_0x3c679c(0x1d9)],'authoredAt':this[_0x3c679c(0x1db)][_0x3c679c(0x1c7)],'content':_0x466e31(this[_0x3c679c(0x1cc)],_0x3c679c(0x203)),'attributes':{}};this[_0x3c679c(0x216)]=new this[(_0x3c679c(0x208))][(_0x3c679c(0x1dd))](this[_0x3c679c(0x1cc)],_0x56769c,{'maxCommentCharsWhenCollapsed':this[_0x3c679c(0x208)][_0x3c679c(0x1e5)],'formatDateTime':this[_0x3c679c(0x208)][_0x3c679c(0x21c)],'editorConfig':this[_0x3c679c(0x208)][_0x3c679c(0x204)],'isSystemComment':!0x0}),this[_0x3c679c(0x1c4)][_0x3c679c(0x21a)](this[_0x3c679c(0x216)],this[_0x3c679c(0x1db)][_0x3c679c(0x20d)](_0x56769c));}else this[_0x3c679c(0x216)]&&(this[_0x3c679c(0x1c4)][_0x3c679c(0x1ca)](this[_0x3c679c(0x216)]),this[_0x3c679c(0x216)][_0x3c679c(0x213)](),this[_0x3c679c(0x216)]=null);this[_0x3c679c(0x1f2)]();}[_0x26bf13(0x1fe)](_0x3980c0){const _0xaf77c1=_0x26bf13,_0x41409d=this[_0xaf77c1(0x1c4)][_0xaf77c1(0x1ca)](_0x3980c0['id']);this[_0xaf77c1(0x20e)](_0x41409d),_0x41409d[_0xaf77c1(0x1e9)]&&this[_0xaf77c1(0x1ec)](),_0x41409d[_0xaf77c1(0x213)]();}[_0x26bf13(0x1ec)](){const _0x16baf8=_0x26bf13;this[_0x16baf8(0x211)]=Array[_0x16baf8(0x217)](this[_0x16baf8(0x1c4)])[_0x16baf8(0x20f)](_0x33a684=>_0x33a684[_0x16baf8(0x1e9)]);}[_0x26bf13(0x1dc)](){const _0x33fc57=_0x26bf13,_0x197f0a=function(_0x2536d8){const _0x19f936=_0x1cfd,_0x40ea68=new _0x1bf647();for(const _0x1d652f of _0x2536d8)_0x40ea68[_0x19f936(0x21a)](_0x1d652f);return _0x40ea68;}(this[_0x33fc57(0x1c4)]),_0x4c4d78=this[_0x33fc57(0x205)][_0x33fc57(0x202)];for(let _0x2246ce=0x1;_0x2246ce<=_0x4c4d78;_0x2246ce++)_0x197f0a[_0x33fc57(0x1ca)](0x1);for(const _0x5db61f of _0x197f0a)_0x5db61f[_0x33fc57(0x1cf)]();_0x4c4d78>0x0&&_0x197f0a[_0x33fc57(0x21a)](this[_0x33fc57(0x205)],0x1),ns(_0x3e7ac7(Array[_0x33fc57(0x217)](this[_0x33fc57(0x1f0)]),Array[_0x33fc57(0x217)](_0x197f0a)),this[_0x33fc57(0x1f0)],_0x197f0a);}[_0x26bf13(0x209)](){const _0x580e6=_0x26bf13;ns(_0x3e7ac7(Array[_0x580e6(0x217)](this[_0x580e6(0x1f0)]),Array[_0x580e6(0x217)](this[_0x580e6(0x1c4)])),this[_0x580e6(0x1f0)],this[_0x580e6(0x1c4)]);for(const _0x2d1c76 of this[_0x580e6(0x1f0)])_0x2d1c76[_0x580e6(0x1d0)]();}[_0x26bf13(0x1fa)](){const _0x257ffa=_0x26bf13;this[_0x257ffa(0x1c4)][_0x257ffa(0x1eb)](_0x3b26d8=>{const _0x461d94=_0x257ffa;this[_0x461d94(0x212)][_0x461d94(0x21a)](_0x3b26d8[_0x461d94(0x1e2)]),this[_0x461d94(0x1fb)][_0x461d94(0x20b)](_0x3b26d8[_0x461d94(0x1e2)]);}),this[_0x257ffa(0x1c4)]['on'](_0x257ffa(0x1bf),(_0x22387f,_0x1066a4)=>{const _0x50b04a=_0x257ffa;for(const _0x128151 of _0x1066a4[_0x50b04a(0x1c5)])this[_0x50b04a(0x212)][_0x50b04a(0x1ca)](_0x128151[_0x50b04a(0x1e2)]),this[_0x50b04a(0x1fb)][_0x50b04a(0x20e)](_0x128151[_0x50b04a(0x1e2)]);for(const _0x421034 of Array[_0x50b04a(0x217)](_0x1066a4[_0x50b04a(0x1f8)])[_0x50b04a(0x1f1)]())this[_0x50b04a(0x212)][_0x50b04a(0x21a)](_0x421034[_0x50b04a(0x1e2)]),this[_0x50b04a(0x1fb)][_0x50b04a(0x20b)](_0x421034[_0x50b04a(0x1e2)]);});}}function _0x2eaf(){const _0x1a2cea=['added','createCollection','_setupKeyboardNavigation','keystrokes','removeComment','editorReady','_handleRemoveCommentModel','1Nwmytq','change:isEditMode','focusLast','count','Marked\x20as\x20resolved','editorConfig','_collapsedCommentsView','bind','ck-hidden','_config','_rearrangeExpand','isActive','listenTo','resolveCommentThread','_findOptimalIndex','stopListening','some','target','hasDirtyComment','focusTracker','destroy','maxCommentsWhenCollapsed','_handleInfoComment','resolvedCommentView','from','focusFirst','arrowdown','add','delegate','formatDateTime','set','includes','9388lpgioY','focus','change','authoredAt','change:isResolved','_calculatePosition','map','commentViews','removed','resolved','resolvedAt','insert','1691550wAAfxM','remove','commentUpdated','locale','_shouldCollapse','_handleNewCommentModel','collapse','expand','comments','editorDestroyed','setTemplate','784323EPCZjC','focusCycler','updateComment','render','639098tynYtL','resolvedBy','21636648fkkjJc','_model','_rearrangeCollapse','CommentView','100sGffTj','get','Thread\x20comments','change:isActive','element','weight','arrowup','maxCommentCharsWhenCollapsed','ck-thread__comments','50YIinWC','length','isEditMode','change:hasDirtyComment','forEach','_updateHasDirtyComment','3321714tZIUGu','14VsOrWf','maxThreadTotalWeight','visibleViews','reverse','refreshVisibleViews','1811728TDiAni','delete','bindTemplate','equal','viewUid'];_0x2eaf=function(){return _0x1a2cea;};return _0x2eaf();}function ns(_0xbffb7f,_0x1a6255,_0x1b685a){const _0x248a79=_0x26bf13;let _0x2771f1=0x0;for(const _0x3f34da of _0xbffb7f)switch(_0x3f34da){case _0x248a79(0x1c8):_0x1a6255[_0x248a79(0x21a)](_0x1b685a[_0x248a79(0x1df)](_0x2771f1),_0x2771f1),_0x2771f1++;break;case _0x248a79(0x1f4):_0x1a6255[_0x248a79(0x1ca)](_0x2771f1);break;case _0x248a79(0x1f6):_0x2771f1++;}}
|
|
23
|
+
const _0x1c14f8=_0x2212;(function(_0x41e74a,_0x60251c){const _0x23c68c=_0x2212,_0xedef74=_0x41e74a();while(!![]){try{const _0x3d0589=-parseInt(_0x23c68c(0x1fe))/0x1*(parseInt(_0x23c68c(0x20c))/0x2)+parseInt(_0x23c68c(0x231))/0x3*(-parseInt(_0x23c68c(0x1e2))/0x4)+-parseInt(_0x23c68c(0x20d))/0x5+parseInt(_0x23c68c(0x22c))/0x6*(parseInt(_0x23c68c(0x1ee))/0x7)+parseInt(_0x23c68c(0x224))/0x8*(-parseInt(_0x23c68c(0x205))/0x9)+-parseInt(_0x23c68c(0x209))/0xa+parseInt(_0x23c68c(0x1ec))/0xb*(parseInt(_0x23c68c(0x229))/0xc);if(_0x3d0589===_0x60251c)break;else _0xedef74['push'](_0xedef74['shift']());}catch(_0xe1ee0){_0xedef74['push'](_0xedef74['shift']());}}}(_0x2acc,0xb81d2));import{View as _0x5f2fb5,FocusCycler as _0x22f72a}from'ckeditor5/src/ui.js';import{diff as _0x2c8cbf,Collection as _0x5e5ae6,FocusTracker as _0x1a9c80,KeystrokeHandler as _0x4ee9f3}from'ckeditor5/src/utils.js';import{getTranslation as _0x189ce3}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5aad58}from'./collapsedcommentsview.js';export class CommentsListView extends _0x5f2fb5{[_0x1c14f8(0x208)];[_0x1c14f8(0x21a)];[_0x1c14f8(0x1ed)];[_0x1c14f8(0x207)];[_0x1c14f8(0x1eb)];[_0x1c14f8(0x225)];[_0x1c14f8(0x1ff)];[_0x1c14f8(0x201)];constructor(_0x3cbb30,_0x4e6bc9,_0x3fdb3c){const _0x5b51ba=_0x1c14f8;super(_0x3cbb30);const _0x523451=this[_0x5b51ba(0x22b)];this[_0x5b51ba(0x1f8)](_0x5b51ba(0x1f7),!0x1),this[_0x5b51ba(0x1f8)](_0x5b51ba(0x236),_0x4e6bc9[_0x5b51ba(0x213)][_0x5b51ba(0x236)]),this[_0x5b51ba(0x1f8)](_0x5b51ba(0x1e7),!0x1),this[_0x5b51ba(0x225)]=_0x4e6bc9,this[_0x5b51ba(0x1ff)]=_0x3fdb3c,this[_0x5b51ba(0x208)]=this[_0x5b51ba(0x232)](),this[_0x5b51ba(0x23b)]=this[_0x5b51ba(0x232)](),this[_0x5b51ba(0x21a)]=null,this[_0x5b51ba(0x1ed)]=new _0x1a9c80(),this[_0x5b51ba(0x207)]=new _0x4ee9f3(),this[_0x5b51ba(0x1eb)]=new _0x22f72a({'focusables':this[_0x5b51ba(0x208)],'focusTracker':this[_0x5b51ba(0x1ed)],'keystrokeHandler':this[_0x5b51ba(0x207)],'keystrokeHandlerOptions':{'filter':_0x209d19=>this[_0x5b51ba(0x208)][_0x5b51ba(0x234)](_0x1f0abd=>_0x1f0abd[_0x5b51ba(0x22e)])[_0x5b51ba(0x1e8)](_0x209d19[_0x5b51ba(0x1fc)])},'actions':{'focusPrevious':_0x5b51ba(0x1e5),'focusNext':_0x5b51ba(0x211)}}),this[_0x5b51ba(0x201)]=new _0x5aad58(_0x3cbb30),this[_0x5b51ba(0x201)][_0x5b51ba(0x1e9)](_0x5b51ba(0x239))['to'](this,_0x5b51ba(0x236),_0x4c37fc=>_0x4c37fc-this[_0x5b51ba(0x1ff)][_0x5b51ba(0x22a)]);for(const _0x2271ba of _0x4e6bc9[_0x5b51ba(0x213)])this[_0x5b51ba(0x1fd)](_0x2271ba);this[_0x5b51ba(0x21d)](),this[_0x5b51ba(0x244)](_0x4e6bc9[_0x5b51ba(0x213)],_0x5b51ba(0x242),(_0x2239fd,_0x28cd4b)=>{const _0xcb692f=_0x5b51ba,_0x2e2b4e=this[_0xcb692f(0x227)](_0x28cd4b);this[_0xcb692f(0x236)]++,this[_0xcb692f(0x1fd)](_0x28cd4b,_0x2e2b4e),this[_0xcb692f(0x219)]();}),this[_0x5b51ba(0x244)](_0x4e6bc9[_0x5b51ba(0x213)],_0x5b51ba(0x1f2),(_0x3e53dc,_0x1863c0)=>{const _0x342728=_0x5b51ba;this[_0x342728(0x236)]--,this[_0x342728(0x210)](_0x1863c0),this[_0x342728(0x219)]();}),this[_0x5b51ba(0x244)](_0x4e6bc9,_0x5b51ba(0x1f3),()=>this[_0x5b51ba(0x219)]()),this[_0x5b51ba(0x244)](_0x4e6bc9,_0x5b51ba(0x220),()=>this[_0x5b51ba(0x21d)]()),this['on'](_0x5b51ba(0x218),()=>this[_0x5b51ba(0x219)]()),this['on'](_0x5b51ba(0x1f4),()=>this[_0x5b51ba(0x219)]()),this[_0x5b51ba(0x216)]({'tag':'ul','attributes':{'class':[_0x5b51ba(0x1e4),_0x523451['if'](_0x5b51ba(0x236),_0x5b51ba(0x1f1),_0xb67b57=>!_0xb67b57)],'aria-label':_0x189ce3(_0x3cbb30,_0x5b51ba(0x1e6))},'children':this[_0x5b51ba(0x23b)]});}get[_0x1c14f8(0x243)](){const _0x1b16df=_0x1c14f8;return this[_0x1b16df(0x225)][_0x1b16df(0x21e)]>this[_0x1b16df(0x1ff)][_0x1b16df(0x223)]&&!this[_0x1b16df(0x1e7)]&&!this[_0x1b16df(0x1f7)];}[_0x1c14f8(0x214)](){const _0x27afa8=_0x1c14f8;super[_0x27afa8(0x214)](),this[_0x27afa8(0x219)](),this[_0x27afa8(0x20e)]();}[_0x1c14f8(0x240)](_0x93bf95){const _0x178e34=_0x1c14f8;-0x1===_0x93bf95?this[_0x178e34(0x1eb)][_0x178e34(0x222)]():this[_0x178e34(0x1eb)][_0x178e34(0x21b)]();}[_0x1c14f8(0x23d)](){const _0x2fdf07=_0x1c14f8;this[_0x2fdf07(0x201)][_0x2fdf07(0x23d)]();for(const _0x4bc8fb of this[_0x2fdf07(0x208)])_0x4bc8fb[_0x2fdf07(0x23d)]();super[_0x2fdf07(0x23d)]();}[_0x1c14f8(0x219)](){const _0x2dfcbe=_0x1c14f8;this[_0x2dfcbe(0x243)]?this[_0x2dfcbe(0x203)]():this[_0x2dfcbe(0x22f)]();}[_0x1c14f8(0x1fd)](_0x36423b,_0x274727){const _0x442c14=_0x1c14f8,_0x4baa69=new this[(_0x442c14(0x1ff))][(_0x442c14(0x23f))](this[_0x442c14(0x1f9)],_0x36423b,{'maxCommentCharsWhenCollapsed':this[_0x442c14(0x1ff)][_0x442c14(0x206)],'formatDateTime':this[_0x442c14(0x1ff)][_0x442c14(0x1fb)],'editorConfig':this[_0x442c14(0x1ff)][_0x442c14(0x226)]});_0x4baa69[_0x442c14(0x212)]=_0x36423b['id'],_0x4baa69[_0x442c14(0x235)](_0x442c14(0x221))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x1ef))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x1f0))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x204))['to'](this),_0x4baa69[_0x442c14(0x235)](_0x442c14(0x22d))['to'](this),this[_0x442c14(0x244)](_0x4baa69,_0x442c14(0x233),()=>this[_0x442c14(0x1f5)]()),this[_0x442c14(0x208)][_0x442c14(0x242)](_0x4baa69,_0x274727);}[_0x1c14f8(0x227)](_0x494b55){const _0x542a9d=_0x1c14f8,_0x57f2a6=this[_0x542a9d(0x225)][_0x542a9d(0x21c)](_0x494b55);return this[_0x542a9d(0x21a)]?this[_0x542a9d(0x21a)][_0x542a9d(0x1e3)]>_0x494b55[_0x542a9d(0x1e3)]?_0x57f2a6-0x1:_0x57f2a6:_0x57f2a6-0x1;}[_0x1c14f8(0x21d)](){const _0xff807f=_0x1c14f8;if(this[_0xff807f(0x225)][_0xff807f(0x20b)]&&this[_0xff807f(0x225)][_0xff807f(0x1f6)]){const _0x103679={'id':_0xff807f(0x238),'author':this[_0xff807f(0x225)][_0xff807f(0x20b)],'authoredAt':this[_0xff807f(0x225)][_0xff807f(0x1f6)],'content':_0x189ce3(this[_0xff807f(0x1f9)],_0xff807f(0x241)),'attributes':{}};this[_0xff807f(0x21a)]=new this[(_0xff807f(0x1ff))][(_0xff807f(0x23f))](this[_0xff807f(0x1f9)],_0x103679,{'maxCommentCharsWhenCollapsed':this[_0xff807f(0x1ff)][_0xff807f(0x206)],'formatDateTime':this[_0xff807f(0x1ff)][_0xff807f(0x1fb)],'editorConfig':this[_0xff807f(0x1ff)][_0xff807f(0x226)],'isSystemComment':!0x0}),this[_0xff807f(0x208)][_0xff807f(0x242)](this[_0xff807f(0x21a)],this[_0xff807f(0x225)][_0xff807f(0x21c)](_0x103679));}else this[_0xff807f(0x21a)]&&(this[_0xff807f(0x208)][_0xff807f(0x1f2)](this[_0xff807f(0x21a)]),this[_0xff807f(0x21a)][_0xff807f(0x23d)](),this[_0xff807f(0x21a)]=null);this[_0xff807f(0x219)]();}[_0x1c14f8(0x210)](_0x41bbd5){const _0x1e91f=_0x1c14f8,_0x252784=this[_0x1e91f(0x208)][_0x1e91f(0x1f2)](_0x41bbd5['id']);this[_0x1e91f(0x21f)](_0x252784),_0x252784[_0x1e91f(0x237)]&&this[_0x1e91f(0x1f5)](),_0x252784[_0x1e91f(0x23d)]();}[_0x1c14f8(0x1f5)](){const _0x3b0899=_0x1c14f8;this[_0x3b0899(0x1f7)]=Array[_0x3b0899(0x23a)](this[_0x3b0899(0x208)])[_0x3b0899(0x228)](_0x1fb101=>_0x1fb101[_0x3b0899(0x237)]);}[_0x1c14f8(0x203)](){const _0x82e325=_0x1c14f8,_0x352307=function(_0x3436f8){const _0x36f9f3=_0x2212,_0x590e3c=new _0x5e5ae6();for(const _0x143f74 of _0x3436f8)_0x590e3c[_0x36f9f3(0x242)](_0x143f74);return _0x590e3c;}(this[_0x82e325(0x208)]),_0x1038f6=this[_0x82e325(0x201)][_0x82e325(0x239)];for(let _0x7fca00=0x1;_0x7fca00<=_0x1038f6;_0x7fca00++)_0x352307[_0x82e325(0x1f2)](0x1);for(const _0x3d39c3 of _0x352307)_0x3d39c3[_0x82e325(0x230)]();_0x1038f6>0x0&&_0x352307[_0x82e325(0x242)](this[_0x82e325(0x201)],0x1),ns(_0x2c8cbf(Array[_0x82e325(0x23a)](this[_0x82e325(0x23b)]),Array[_0x82e325(0x23a)](_0x352307)),this[_0x82e325(0x23b)],_0x352307);}[_0x1c14f8(0x22f)](){const _0x3e0bf2=_0x1c14f8;ns(_0x2c8cbf(Array[_0x3e0bf2(0x23a)](this[_0x3e0bf2(0x23b)]),Array[_0x3e0bf2(0x23a)](this[_0x3e0bf2(0x208)])),this[_0x3e0bf2(0x23b)],this[_0x3e0bf2(0x208)]);for(const _0xae7735 of this[_0x3e0bf2(0x23b)])_0xae7735[_0x3e0bf2(0x215)]();}[_0x1c14f8(0x20e)](){const _0xaf0b74=_0x1c14f8;this[_0xaf0b74(0x208)][_0xaf0b74(0x202)](_0x3790a1=>{const _0x3b1803=_0xaf0b74;this[_0x3b1803(0x1ed)][_0x3b1803(0x242)](_0x3790a1[_0x3b1803(0x22e)]),this[_0x3b1803(0x207)][_0x3b1803(0x244)](_0x3790a1[_0x3b1803(0x22e)]);}),this[_0xaf0b74(0x208)]['on'](_0xaf0b74(0x1ea),(_0x56ed3e,_0x4e4c9a)=>{const _0x3b1483=_0xaf0b74;for(const _0x281206 of _0x4e4c9a[_0x3b1483(0x20f)])this[_0x3b1483(0x1ed)][_0x3b1483(0x1f2)](_0x281206[_0x3b1483(0x22e)]),this[_0x3b1483(0x207)][_0x3b1483(0x21f)](_0x281206[_0x3b1483(0x22e)]);for(const _0x20dd41 of Array[_0x3b1483(0x23a)](_0x4e4c9a[_0x3b1483(0x217)])[_0x3b1483(0x20a)]())this[_0x3b1483(0x1ed)][_0x3b1483(0x242)](_0x20dd41[_0x3b1483(0x22e)]),this[_0x3b1483(0x207)][_0x3b1483(0x244)](_0x20dd41[_0x3b1483(0x22e)]);});}}function ns(_0x21b8ff,_0x8ff47e,_0x584e5c){const _0x502989=_0x1c14f8;let _0x42f796=0x0;for(const _0x5cf3b9 of _0x21b8ff)switch(_0x5cf3b9){case _0x502989(0x23e):_0x8ff47e[_0x502989(0x242)](_0x584e5c[_0x502989(0x200)](_0x42f796),_0x42f796),_0x42f796++;break;case _0x502989(0x23c):_0x8ff47e[_0x502989(0x1f2)](_0x42f796);break;case _0x502989(0x1fa):_0x42f796++;}}function _0x2212(_0x3a3f7,_0xc53b56){const _0x2accbc=_0x2acc();return _0x2212=function(_0x221209,_0x48a34f){_0x221209=_0x221209-0x1e2;let _0x57a7c1=_0x2accbc[_0x221209];return _0x57a7c1;},_0x2212(_0x3a3f7,_0xc53b56);}function _0x2acc(){const _0x40f28d=['focusTracker','756623azNywL','updateComment','resolveCommentThread','ck-hidden','remove','commentUpdated','change:hasDirtyComment','_updateHasDirtyComment','resolvedAt','hasDirtyComment','set','locale','equal','formatDateTime','target','_handleNewCommentModel','117766orvPcV','_config','get','_collapsedCommentsView','forEach','_rearrangeCollapse','editorReady','5677569fUUlbR','maxCommentCharsWhenCollapsed','keystrokes','commentViews','14896960BwJySz','reverse','resolvedBy','8WGkVxt','1177835GRbylG','_setupKeyboardNavigation','removed','_handleRemoveCommentModel','arrowdown','viewUid','comments','render','expand','setTemplate','added','change:isActive','refreshVisibleViews','resolvedCommentView','focusFirst','_findOptimalIndex','_handleInfoComment','weight','stopListening','change:isResolved','removeComment','focusLast','maxThreadTotalWeight','8ZFmzcg','_model','editorConfig','_calculatePosition','some','465756zpWMZm','maxCommentsWhenCollapsed','bindTemplate','6HLHlIR','editorDestroyed','element','_rearrangeExpand','collapse','6627lSWOri','createCollection','change:isEditMode','map','delegate','length','isEditMode','resolved','count','from','visibleViews','delete','destroy','insert','CommentView','focus','Marked\x20as\x20resolved','add','_shouldCollapse','listenTo','2496gwFIjq','authoredAt','ck-thread__comments','arrowup','Thread\x20comments','isActive','includes','bind','change','focusCycler','1375xjcDjB'];_0x2acc=function(){return _0x40f28d;};return _0x2acc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x31cfa9=_0x2bce;(function(_0x448bf7,_0x1044ab){const _0x44d013=_0x2bce,_0x2f7a0f=_0x448bf7();while(!![]){try{const _0x1c6681=parseInt(_0x44d013(0x9b))/0x1*(-parseInt(_0x44d013(0x92))/0x2)+-parseInt(_0x44d013(0x94))/0x3*(parseInt(_0x44d013(0x97))/0x4)+parseInt(_0x44d013(0x9a))/0x5*(-parseInt(_0x44d013(0x8f))/0x6)+parseInt(_0x44d013(0x9d))/0x7+-parseInt(_0x44d013(0x8d))/0x8*(parseInt(_0x44d013(0x96))/0x9)+-parseInt(_0x44d013(0x99))/0xa+parseInt(_0x44d013(0x91))/0xb;if(_0x1c6681===_0x1044ab)break;else _0x2f7a0f['push'](_0x2f7a0f['shift']());}catch(_0x1cfc0f){_0x2f7a0f['push'](_0x2f7a0f['shift']());}}}(_0x4c64,0x462dc));function _0x4c64(){const _0x5283ff=['THREAD_CONTEXT_LABEL','11328955qtDhIh','1166cbHEKE','bindTemplate','627whBFMi','ck-context__value','12537KBdWjb','1272FSJgtI','focus','3800130jfHZkK','5zWHRUZ','517iBFybz','span','1648892MStzds','contextValue','set','setTemplate','1288MmvzjB','element','35100YFlvFw'];_0x4c64=function(){return _0x5283ff;};return _0x4c64();}import{View as _0x47030a}from'ckeditor5/src/ui.js';function _0x2bce(_0xe9951d,_0x3838e7){const _0x4c648d=_0x4c64();return _0x2bce=function(_0x2bcef8,_0x4c2b2b){_0x2bcef8=_0x2bcef8-0x8d;let _0x42d9fd=_0x4c648d[_0x2bcef8];return _0x42d9fd;},_0x2bce(_0xe9951d,_0x3838e7);}import{getTranslation as _0x2523ca}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x47030a{constructor(_0x1eee1c){const _0x26e8f5=_0x2bce;super(_0x1eee1c);const _0x1fa104=this[_0x26e8f5(0x93)];this[_0x26e8f5(0x9f)](_0x26e8f5(0x9e),''),this[_0x26e8f5(0xa0)]({'tag':_0x26e8f5(0x9c),'attributes':{'class':['ck',_0x26e8f5(0x95)],'aria-label':_0x1fa104['to'](_0x26e8f5(0x9e),_0x4e1312=>_0x2523ca(_0x1eee1c,_0x26e8f5(0x90),_0x4e1312)),'tabindex':-0x1},'children':[{'text':_0x1fa104['to'](_0x26e8f5(0x9e))}]});}[_0x31cfa9(0x98)](){const _0x546bae=_0x31cfa9;this[_0x546bae(0x8e)][_0x546bae(0x98)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x33d6b5=_0x29b6;(function(_0x1aa40b,_0x81bffb){const _0x588811=_0x29b6,_0x38b491=_0x1aa40b();while(!![]){try{const _0x512524=-parseInt(_0x588811(0x84))/0x1*(parseInt(_0x588811(0x7d))/0x2)+parseInt(_0x588811(0x80))/0x3*(-parseInt(_0x588811(0x97))/0x4)+parseInt(_0x588811(0x9c))/0x5*(-parseInt(_0x588811(0x95))/0x6)+-parseInt(_0x588811(0x72))/0x7*(parseInt(_0x588811(0x71))/0x8)+-parseInt(_0x588811(0x83))/0x9+parseInt(_0x588811(0x87))/0xa+parseInt(_0x588811(0xa8))/0xb;if(_0x512524===_0x81bffb)break;else _0x38b491['push'](_0x38b491['shift']());}catch(_0x2dac55){_0x38b491['push'](_0x38b491['shift']());}}}(_0x5016,0x97e4a));function _0x5016(){const _0x3f1f19=['createCollection','substring','ck-context--quotes','focus','listenTo','3391992IjnPYr','7QmMuVk','contextValue','tooltip','hasContext','ck-annotation__actions','...','Reopen','isReadOnly','shift+tab','reopenCommentThread','bind','788aLzCLr','mouseenter','_createContextView','3tVAGSC','mouseleave','ck-thread__header','3920715dFLahH','3081VCOfPF','render','div','12155640PzgPNW','focusFirst','isResolved','label','isVisible','classList','_model','element','_createReopenButton','_attachContextActions','Comment\x20was\x20made\x20on\x20an\x20element','reopenButtonView','.ck-context__value','keystrokes','5712678Absgfy','focusTracker','4969032zFlZTJ','focusCycler','lastIndexOf','ck-context','icon','5wXBzTH','.ck-context','querySelector','fire','_setupKeyboardNavigation','isEnabled','setTemplate','focusables','length','isResolvable','value','remove','40419599XILnYA','bindTemplate','add','ck-context-wrapper','context','overlay','tab','contextView','locale','offsetWidth','execute','scrollWidth','_trimContextValue'];_0x5016=function(){return _0x3f1f19;};return _0x5016();}function _0x29b6(_0x2e3fa8,_0x1a89a6){const _0x501658=_0x5016();return _0x29b6=function(_0x29b628,_0x43ceb1){_0x29b628=_0x29b628-0x6a;let _0x4d3514=_0x501658[_0x29b628];return _0x4d3514;},_0x29b6(_0x2e3fa8,_0x1a89a6);}import{View as _0x81a536,ButtonView as _0x5532bc,FocusCycler as _0x2a2f84}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1d3248,KeystrokeHandler as _0x20744c}from'ckeditor5/src/utils.js';import{IconUndo as _0x641766}from'ckeditor5/src/icons.js';import{getTranslation as _0x3b30f6}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x1fdfd0}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x81a536{[_0x33d6b5(0x8d)];[_0x33d6b5(0x92)];[_0x33d6b5(0xaf)];[_0x33d6b5(0xa3)];[_0x33d6b5(0x96)];[_0x33d6b5(0x94)];[_0x33d6b5(0x98)];constructor(_0x1d2aca,_0x16c5d3){const _0x1f7b98=_0x33d6b5;super(_0x1d2aca);const _0x3a8d2a=this[_0x1f7b98(0xa9)];this[_0x1f7b98(0x8d)]=_0x16c5d3,this[_0x1f7b98(0x92)]=this[_0x1f7b98(0x8f)](),this[_0x1f7b98(0xaf)]=this[_0x1f7b98(0x7f)](),this[_0x1f7b98(0xa3)]=this[_0x1f7b98(0x6c)]([this[_0x1f7b98(0xaf)],this[_0x1f7b98(0x92)]]),this[_0x1f7b98(0x96)]=new _0x1d3248(),this[_0x1f7b98(0x94)]=new _0x20744c(),this[_0x1f7b98(0x98)]=new _0x2a2f84({'focusables':this[_0x1f7b98(0xa3)],'focusTracker':this[_0x1f7b98(0x96)],'keystrokeHandler':this[_0x1f7b98(0x94)],'actions':{'focusPrevious':_0x1f7b98(0x7a),'focusNext':_0x1f7b98(0xae)}}),this[_0x1f7b98(0x7c)](_0x1f7b98(0x75))['to'](this[_0x1f7b98(0x8d)],_0x1f7b98(0xac),_0x1aeef5=>!!_0x1aeef5),this[_0x1f7b98(0x7c)](_0x1f7b98(0x73))['to'](this[_0x1f7b98(0x8d)],_0x1f7b98(0xac),_0x1ce8bf=>_0x1ce8bf&&_0x1ce8bf[_0x1f7b98(0xa6)]?this[_0x1f7b98(0x6b)](_0x1ce8bf[_0x1f7b98(0xa6)]):_0x3b30f6(this[_0x1f7b98(0xb0)],_0x1f7b98(0x91))),this[_0x1f7b98(0xa2)]({'tag':_0x1f7b98(0x86),'attributes':{'class':[_0x1f7b98(0x82)]},'children':[{'tag':_0x1f7b98(0x86),'attributes':{'class':[_0x1f7b98(0xab)]},'children':[{'tag':_0x1f7b98(0x86),'attributes':{'class':[_0x1f7b98(0x9a),_0x3a8d2a['if'](_0x1f7b98(0x75),_0x1f7b98(0x6e))]},'children':[this[_0x1f7b98(0xaf)]]}]},{'tag':_0x1f7b98(0x86),'attributes':{'class':[_0x1f7b98(0x76)]},'children':[this[_0x1f7b98(0x92)]]}]});}[_0x33d6b5(0x85)](){const _0x1eac47=_0x33d6b5;super[_0x1eac47(0x85)](),this[_0x1eac47(0x90)](),this[_0x1eac47(0xa0)]();}[_0x33d6b5(0x6f)](){const _0x1e94ee=_0x33d6b5;this[_0x1e94ee(0x98)][_0x1e94ee(0x88)]();}[_0x33d6b5(0x8f)](){const _0x4cf2e9=_0x33d6b5,_0x5c4e96=new _0x5532bc(this[_0x4cf2e9(0xb0)]);return _0x5c4e96[_0x4cf2e9(0x8a)]=_0x3b30f6(this[_0x4cf2e9(0xb0)],_0x4cf2e9(0x78)),_0x5c4e96[_0x4cf2e9(0x74)]=_0x3b30f6(this[_0x4cf2e9(0xb0)],_0x4cf2e9(0x78)),_0x5c4e96[_0x4cf2e9(0x9b)]=_0x641766,_0x5c4e96[_0x4cf2e9(0x7c)](_0x4cf2e9(0xa1))['to'](this[_0x4cf2e9(0x8d)],_0x4cf2e9(0x79),_0x8eb3f=>!_0x8eb3f),_0x5c4e96[_0x4cf2e9(0x7c)](_0x4cf2e9(0x8b))['to'](this[_0x4cf2e9(0x8d)],_0x4cf2e9(0xa5),this[_0x4cf2e9(0x8d)],_0x4cf2e9(0x89),(_0x4a9037,_0xdb12b8)=>_0x4a9037&&_0xdb12b8),_0x5c4e96['on'](_0x4cf2e9(0xb2),()=>{const _0x491799=_0x4cf2e9;this[_0x491799(0x9f)](_0x491799(0x7b),this[_0x491799(0x8d)]['id']);}),_0x5c4e96;}[_0x33d6b5(0x6b)](_0x3ff70b){const _0x52b5ca=_0x33d6b5;if(_0x3ff70b[_0x52b5ca(0xa4)]<0x96)return _0x3ff70b;const _0x5230fc=_0x3ff70b[_0x52b5ca(0x99)]('\x20',0x93);return _0x3ff70b[_0x52b5ca(0x6d)](0x0,_0x5230fc>-0x1?_0x5230fc:0x93)+_0x52b5ca(0x77);}[_0x33d6b5(0x90)](){const _0x51b2b8=_0x33d6b5,_0x261157=this[_0x51b2b8(0x8e)][_0x51b2b8(0x9e)](_0x51b2b8(0x9d)),_0x3ca1c1=_0x261157[_0x51b2b8(0x9e)](_0x51b2b8(0x93));this[_0x51b2b8(0x70)](_0x261157,_0x51b2b8(0x7e),()=>{const _0x37f773=_0x51b2b8;_0x3ca1c1[_0x37f773(0xb1)]<_0x3ca1c1[_0x37f773(0x6a)]&&_0x261157[_0x37f773(0x8c)][_0x37f773(0xaa)](_0x37f773(0xad));}),this[_0x51b2b8(0x70)](_0x261157,_0x51b2b8(0x81),()=>{const _0x1e0e82=_0x51b2b8;_0x261157[_0x1e0e82(0x8c)][_0x1e0e82(0xa7)](_0x1e0e82(0xad));});}[_0x33d6b5(0xa0)](){const _0xf8193b=_0x33d6b5;this[_0xf8193b(0x94)][_0xf8193b(0x70)](this[_0xf8193b(0x8e)]);for(const _0x36db92 of this[_0xf8193b(0xa3)])this[_0xf8193b(0x96)][_0xf8193b(0xaa)](_0x36db92[_0xf8193b(0x8e)]),this[_0xf8193b(0x94)][_0xf8193b(0x70)](_0x36db92[_0xf8193b(0x8e)]);}[_0x33d6b5(0x7f)](){const _0x4cded8=_0x33d6b5,_0x18895d=new _0x1fdfd0(this[_0x4cded8(0xb0)]);return _0x18895d[_0x4cded8(0x7c)](_0x4cded8(0x73))['to'](this),_0x18895d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46985d=_0x1f55;(function(_0x25fae4,_0x4d0929){const _0x8bd35b=_0x1f55,_0x327324=_0x25fae4();while(!![]){try{const _0x4c659d=-parseInt(_0x8bd35b(0x20a))/0x1+-parseInt(_0x8bd35b(0x1ee))/0x2+-parseInt(_0x8bd35b(0x213))/0x3*(-parseInt(_0x8bd35b(0x1fc))/0x4)+parseInt(_0x8bd35b(0x1e7))/0x5*(parseInt(_0x8bd35b(0x20d))/0x6)+-parseInt(_0x8bd35b(0x1e4))/0x7+parseInt(_0x8bd35b(0x1f1))/0x8*(parseInt(_0x8bd35b(0x1f8))/0x9)+-parseInt(_0x8bd35b(0x203))/0xa*(-parseInt(_0x8bd35b(0x20f))/0xb);if(_0x4c659d===_0x4d0929)break;else _0x327324['push'](_0x327324['shift']());}catch(_0x2e2220){_0x327324['push'](_0x327324['shift']());}}}(_0x416b,0x77750));import{View as _0x37b88f}from'ckeditor5/src/ui.js';function _0x1f55(_0xce178f,_0x179e12){const _0x416ba9=_0x416b();return _0x1f55=function(_0x1f5598,_0x21ebfb){_0x1f5598=_0x1f5598-0x1e1;let _0x3a378d=_0x416ba9[_0x1f5598];return _0x3a378d;},_0x1f55(_0xce178f,_0x179e12);}import{CommentInputView as _0x5fa759}from'./commentinputview.js';function _0x416b(){const _0x51a835=['6183415LpHJkm','contains','focus','75NflMOy','change:showInput','bind','ck-comment__input-container--active','ck-comment__input-container','editorReady','getDomRoot','1169208ktYxvH','preventDefault','target','488xqRinA','delegate','editorDestroyed','ck-thread__user','setTemplate','filter','mousedown','133020wZbMCr','createEditor','listenTo','div','4VClysR','destroy','render','extendTemplate','then','commentInputView','focusCycler','395950seXGvy','_focusOnNonInteractiveMouseDown','element','showButtons','some','value','editor','236617orXrky','editing','view','284700ZmXagK','bindTemplate','121hpNjZb','focusTracker','set','isFocused','434961yrIpaU','userView','ck-thread__input','showInput'];_0x416b=function(){return _0x51a835;};return _0x416b();}import{UserView as _0x2991f3}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x37b88f{constructor(_0x50174f,_0x429965,_0x100561){const _0x38c6df=_0x1f55;super(_0x50174f),this[_0x38c6df(0x201)]=new _0x5fa759(_0x50174f,_0x100561),this[_0x38c6df(0x202)]=this[_0x38c6df(0x201)][_0x38c6df(0x202)],this[_0x38c6df(0x201)][_0x38c6df(0x1e9)](_0x38c6df(0x206))['to'](this[_0x38c6df(0x201)][_0x38c6df(0x210)],_0x38c6df(0x212),this[_0x38c6df(0x201)],_0x38c6df(0x208),(_0x3f1ca0,_0x1710b1)=>_0x3f1ca0||!!_0x1710b1),this[_0x38c6df(0x211)](_0x38c6df(0x1e3),!0x1),this['on'](_0x38c6df(0x1e8),()=>{const _0x278f52=_0x38c6df;this[_0x278f52(0x1e3)]&&!this[_0x278f52(0x201)][_0x278f52(0x209)]&&this[_0x278f52(0x201)][_0x278f52(0x1f9)]();}),this[_0x38c6df(0x201)][_0x38c6df(0x1f2)](_0x38c6df(0x1ec))['to'](this),this[_0x38c6df(0x201)][_0x38c6df(0x1f2)](_0x38c6df(0x1f3))['to'](this),this[_0x38c6df(0x1e1)]=new _0x2991f3(_0x50174f,_0x429965),this[_0x38c6df(0x1e1)][_0x38c6df(0x1ff)]({'attributes':{'class':_0x38c6df(0x1f4),'aria-hidden':!0x0}}),this[_0x38c6df(0x201)][_0x38c6df(0x1ff)]({'attributes':{'class':_0x38c6df(0x1e2)}}),this[_0x38c6df(0x1f5)]({'tag':_0x38c6df(0x1fb),'attributes':{'class':[_0x38c6df(0x1eb),this[_0x38c6df(0x20e)]['if'](_0x38c6df(0x1e3),_0x38c6df(0x1ea))]},'children':[this[_0x38c6df(0x1e1)],this[_0x38c6df(0x201)]]});}[_0x46985d(0x1fe)](){const _0x11cbc3=_0x46985d;super[_0x11cbc3(0x1fe)](),this[_0x11cbc3(0x204)]();}[_0x46985d(0x1fd)](){const _0x532eed=_0x46985d;return this[_0x532eed(0x201)][_0x532eed(0x1fd)]()[_0x532eed(0x200)](()=>super[_0x532eed(0x1fd)]());}[_0x46985d(0x1e6)](_0x1ac083){const _0x5881c2=_0x46985d;this[_0x5881c2(0x201)][_0x5881c2(0x1e6)](_0x1ac083);}[_0x46985d(0x204)](){const _0x24b10f=_0x46985d;this[_0x24b10f(0x1fa)](this[_0x24b10f(0x205)],_0x24b10f(0x1f7),(_0xf057c5,_0x58845d)=>{const _0x1400df=_0x24b10f,{submitButtonView:_0xdf622f,cancelButtonView:_0x19335b,editor:_0x4bea06}=this[_0x1400df(0x201)];[_0xdf622f[_0x1400df(0x205)],_0x19335b[_0x1400df(0x205)],_0x4bea06?_0x4bea06[_0x1400df(0x20b)][_0x1400df(0x20c)][_0x1400df(0x1ed)]():null][_0x1400df(0x1f6)](_0x29423f=>_0x29423f)[_0x1400df(0x207)](_0x1ac27c=>_0x1ac27c[_0x1400df(0x1e5)](_0x58845d[_0x1400df(0x1f0)]))||(this[_0x1400df(0x1e6)](),_0x58845d[_0x1400df(0x1ef)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2c74d6=_0x4480;function _0x4480(_0x59d7a3,_0x141c6d){const _0x5482f4=_0x5482();return _0x4480=function(_0x44802a,_0x349679){_0x44802a=_0x44802a-0x1cd;let _0x2c05e0=_0x5482f4[_0x44802a];return _0x2c05e0;},_0x4480(_0x59d7a3,_0x141c6d);}(function(_0x6bdf74,_0x2238ff){const _0x345be7=_0x4480,_0x401e45=_0x6bdf74();while(!![]){try{const _0x492892=parseInt(_0x345be7(0x1e9))/0x1*(-parseInt(_0x345be7(0x1fa))/0x2)+parseInt(_0x345be7(0x1ee))/0x3+parseInt(_0x345be7(0x1d2))/0x4*(parseInt(_0x345be7(0x1e2))/0x5)+parseInt(_0x345be7(0x1fd))/0x6*(-parseInt(_0x345be7(0x1ea))/0x7)+parseInt(_0x345be7(0x211))/0x8*(parseInt(_0x345be7(0x1e1))/0x9)+-parseInt(_0x345be7(0x20f))/0xa+parseInt(_0x345be7(0x227))/0xb;if(_0x492892===_0x2238ff)break;else _0x401e45['push'](_0x401e45['shift']());}catch(_0x3bcafd){_0x401e45['push'](_0x401e45['shift']());}}}(_0x5482,0x2a9be));import{ConfirmMixin as _0x3d705a,LateFocusButtonView as _0x330ae5}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x7a996b}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x17c718}from'./basecommentthreadview.js';import{getTranslation as _0x259b58}from'../../../utils/common-translations.js';export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3d705a(_0x17c718){[_0x2c74d6(0x1d0)];[_0x2c74d6(0x1e4)];[_0x2c74d6(0x215)];[_0x2c74d6(0x1f8)];constructor(_0x3cb9eb,_0x2851c7,_0x452bb5,_0x410885){const _0x3154cc=_0x2c74d6;super(_0x3cb9eb,_0x2851c7,_0x452bb5,_0x410885),this[_0x3154cc(0x1d0)]=this[_0x3154cc(0x1dd)]([this[_0x3154cc(0x202)],this[_0x3154cc(0x212)],this[_0x3154cc(0x1f0)]]),this[_0x3154cc(0x1db)](_0x3154cc(0x221),null),this[_0x3154cc(0x1e4)]=null,this[_0x3154cc(0x1f8)]=null,this[_0x3154cc(0x1e0)]=_0x3cb9eb,this[_0x3154cc(0x215)]=this[_0x3154cc(0x21f)](),this[_0x3154cc(0x1f3)](this[_0x3154cc(0x1d8)]()),this['on'](_0x3154cc(0x1f9),(_0x2a2cf9,_0x5cae03,_0x14ce29)=>{const _0x29d2e9=_0x3154cc;_0x14ce29||this[_0x29d2e9(0x217)]();}),this[_0x3154cc(0x1e5)](this[_0x3154cc(0x1e6)],_0x3154cc(0x214),(_0x4bc5e7,_0x176da7,_0x4e2bf8)=>{const _0x317109=_0x3154cc;_0x4e2bf8&&this[_0x317109(0x217)]();}),this[_0x3154cc(0x1f1)]>0x0&&this[_0x3154cc(0x1ce)](),this[_0x3154cc(0x1e5)](this[_0x3154cc(0x202)][_0x3154cc(0x1cd)],_0x3154cc(0x207),()=>{const _0x5ca69a=_0x3154cc;this[_0x5ca69a(0x1ce)]();});}[_0x2c74d6(0x1d8)](){const _0x1b475b=_0x2c74d6,_0x4795cb=this[_0x1b475b(0x224)];return{'tag':_0x1b475b(0x20c),'attributes':{'class':['ck',_0x1b475b(0x218),_0x1b475b(0x1fb),_0x1b475b(0x1fe),_0x4795cb['if'](_0x1b475b(0x1d4),_0x1b475b(0x21b)),_0x4795cb['if'](_0x1b475b(0x1f6),_0x1b475b(0x1f5)),_0x4795cb['if'](_0x1b475b(0x1cf),_0x1b475b(0x1e7)),_0x4795cb['to'](_0x1b475b(0x221),_0x3798da=>_0x3798da?_0x1b475b(0x20e)+_0x3798da:'')],'data-thread-id':this[_0x1b475b(0x1e6)]['id'],'tabindex':0x0,'role':_0x1b475b(0x201),'aria-label':_0x4795cb['to'](_0x1b475b(0x20d)),'aria-describedby':this[_0x1b475b(0x1f0)]['id']},'children':[{'tag':_0x1b475b(0x20c),'attributes':{'class':_0x1b475b(0x1ef)},'children':this[_0x1b475b(0x1d0)]}]};}[_0x2c74d6(0x20a)](){const _0x10108e=_0x2c74d6;super[_0x10108e(0x20a)](),this[_0x10108e(0x1e4)]=this[_0x10108e(0x1e3)][_0x10108e(0x1de)](_0x10108e(0x1e8)),this[_0x10108e(0x1e6)]['on'](_0x10108e(0x200),()=>{const _0x496410=_0x10108e;this[_0x496410(0x223)]();}),this[_0x10108e(0x223)]();}[_0x2c74d6(0x217)](){const _0x2bb457=_0x2c74d6;this[_0x2bb457(0x1d3)]();for(const _0x2d7855 of this[_0x2bb457(0x202)][_0x2bb457(0x1cd)])_0x2d7855[_0x2bb457(0x1d3)]();}[_0x2c74d6(0x1ce)](){const _0x170b7e=_0x2c74d6,{locale:_0x1f50be}=this,_0x306797=this[_0x170b7e(0x202)][_0x170b7e(0x1cd)][_0x170b7e(0x226)](0x0);_0x306797===this[_0x170b7e(0x1f8)]||_0x306797[_0x170b7e(0x220)]||(this[_0x170b7e(0x1f8)]=_0x306797,this[_0x170b7e(0x225)](_0x170b7e(0x221)),this[_0x170b7e(0x1f7)](_0x170b7e(0x221))['to'](_0x306797,_0x170b7e(0x221),_0x24fcb9=>_0x170b7e(0x21d)===_0x24fcb9?_0x170b7e(0x21d):null),_0x306797[_0x170b7e(0x1dc)]=_0x259b58(_0x1f50be,_0x170b7e(0x20b)),_0x306797[_0x170b7e(0x222)]['on'](_0x170b7e(0x1eb),_0x3b5826=>{const _0x5421d7=_0x170b7e;_0x3b5826[_0x5421d7(0x1fc)](),this[_0x5421d7(0x1f4)](_0x259b58(_0x1f50be,_0x5421d7(0x1df)),this[_0x5421d7(0x1e4)])[_0x5421d7(0x1d1)](()=>{const _0x31d970=_0x5421d7;this[_0x31d970(0x219)](_0x31d970(0x205));});},{'priority':_0x170b7e(0x1d6)}),this['on'](_0x170b7e(0x208),()=>{const _0xf98df5=_0x170b7e;_0x306797[_0xf98df5(0x210)]();}),_0x306797[_0x170b7e(0x1f2)][_0x170b7e(0x207)](this[_0x170b7e(0x215)],0x0),_0x306797[_0x170b7e(0x203)][_0x170b7e(0x207)](this[_0x170b7e(0x215)],0x0));}[_0x2c74d6(0x21f)](){const _0x416021=_0x2c74d6,_0x3e2afd=new _0x330ae5(this[_0x416021(0x1e0)]);return _0x3e2afd[_0x416021(0x21e)]=_0x259b58(this[_0x416021(0x1e0)],_0x416021(0x1ec)),_0x3e2afd[_0x416021(0x1d9)]=_0x259b58(this[_0x416021(0x1e0)],_0x416021(0x1ec)),_0x3e2afd[_0x416021(0x213)]=_0x7a996b,_0x3e2afd[_0x416021(0x1ed)]({'attributes':{'class':_0x416021(0x1d5)}}),_0x3e2afd[_0x416021(0x1f7)](_0x416021(0x209))['to'](this[_0x416021(0x1e6)],_0x416021(0x1d7),_0x298d00=>!_0x298d00),_0x3e2afd[_0x416021(0x1f7)](_0x416021(0x204))['to'](this[_0x416021(0x1e6)],_0x416021(0x206),this[_0x416021(0x1e6)],_0x416021(0x21c),(_0x1d303d,_0x2e2589)=>_0x1d303d&&!_0x2e2589),_0x3e2afd['on'](_0x416021(0x1eb),()=>{const _0xacab3b=_0x416021;this[_0xacab3b(0x219)](_0xacab3b(0x1ff),this[_0xacab3b(0x1e6)]['id']);}),_0x3e2afd;}[_0x2c74d6(0x223)](){const _0x363a4a=_0x2c74d6;this[_0x363a4a(0x1e6)][_0x363a4a(0x21a)]?this[_0x363a4a(0x1d0)][_0x363a4a(0x1da)](this[_0x363a4a(0x216)])||(this[_0x363a4a(0x1d0)][_0x363a4a(0x207)](this[_0x363a4a(0x216)],0x0),this[_0x363a4a(0x203)][_0x363a4a(0x207)](this[_0x363a4a(0x216)],0x0)):this[_0x363a4a(0x1d0)][_0x363a4a(0x1da)](this[_0x363a4a(0x216)])&&(this[_0x363a4a(0x1d0)][_0x363a4a(0x21d)](this[_0x363a4a(0x216)]),this[_0x363a4a(0x203)][_0x363a4a(0x21d)](this[_0x363a4a(0x216)]));}}function _0x5482(){const _0x462836=['listenTo','_model','ck-thread--remove-confirmation','.ck-thread__container','2IEtEHl','49ghDuEb','execute','Resolve','extendTemplate','374793hNfEVZ','ck-thread__container','ariaDescriptionView','length','actionBar','setTemplate','showConfirm','ck-thread--unlinked','isUnlinked','bind','_boundFirstCommentView','change:isActive','105972TOlQrp','ck-reset_all-excluded','stop','198546FEWMIq','ck-rounded-corners','resolveCommentThread','change:archivedAt','listitem','commentsListView','focusables','isVisible','removeCommentThread','isResolvable','add','removeConfirm','isEnabled','render','Write\x20a\x20comment...','div','ariaLabel','ck-thread--','2795710ZLwfNG','focus','3416eDyFkX','commentThreadInputView','icon','change:isReadOnly','resolveButton','commentThreadHeaderView','_cancelAllConfirms','ck-thread','fire','archivedAt','ck-thread--active','isResolved','remove','label','_createResolveButton','isSystemComment','actionIndicator','removeButton','_updateArchivedThreadHeader','bindTemplate','unbind','get','2622334GAZVVm','commentViews','_bindFirstCommentView','isConfirm','commentThreadChildren','then','115608KAgJac','cancelConfirm','isActive','ck-comment--resolve','high','isReadOnly','getTemplate','tooltip','has','set','placeholder','createCollection','querySelector','Delete\x20comment\x20thread?','locale','1719DEJsfP','60CJGgOQ','element','containerElement'];_0x5482=function(){return _0x462836;};return _0x5482();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x3690(_0xbe1c4c,_0xca48f3){const _0x5167dd=_0x5167();return _0x3690=function(_0x36900d,_0x4c9707){_0x36900d=_0x36900d-0x160;let _0x2e6200=_0x5167dd[_0x36900d];return _0x2e6200;},_0x3690(_0xbe1c4c,_0xca48f3);}const _0x5b9324=_0x3690;(function(_0x1745c9,_0x594397){const _0x29912e=_0x3690,_0x2b1309=_0x1745c9();while(!![]){try{const _0x23e64a=-parseInt(_0x29912e(0x198))/0x1+parseInt(_0x29912e(0x1cd))/0x2*(parseInt(_0x29912e(0x1a4))/0x3)+-parseInt(_0x29912e(0x16c))/0x4*(parseInt(_0x29912e(0x1c3))/0x5)+-parseInt(_0x29912e(0x177))/0x6+parseInt(_0x29912e(0x17b))/0x7+-parseInt(_0x29912e(0x1b8))/0x8*(parseInt(_0x29912e(0x1cc))/0x9)+parseInt(_0x29912e(0x1c7))/0xa;if(_0x23e64a===_0x594397)break;else _0x2b1309['push'](_0x2b1309['shift']());}catch(_0x126646){_0x2b1309['push'](_0x2b1309['shift']());}}}(_0x5167,0x2e740));import{IconRemoveComment as _0x52e847,IconPencil as _0x5edb7f,IconThreeVerticalDots as _0x2b677e}from'ckeditor5/src/icons.js';import{ButtonView as _0x341f2b,createDropdown as _0x2bea52,ListView as _0x1595e7,ListItemView as _0x58ab74,focusChildOnDropdownOpen as _0x4fff8d}from'ckeditor5/src/ui.js';function _0x5167(){const _0x1b412a=['buttonView','some','1074577EQMYmR','_attachActions','remove','span','then','panelPosition','length','actionBar','editButton','push','visibleView','from','add','ck-comment--','ck-annotation__content-wrapper','_createRemoveButton','ck-annotation__actions','ck-comment','focusables','time','actionIndicator','ck-annotation__actions--hidden','icon','set','edit','focus','ck-annotation','_createCommentInputView','items','77774tzXAtn','showConfirm','addMany','setTemplate','isEditable','listitem','panelView','listenTo','isExternal','ck-annotation__main','ck-comment--info','mouseleave','309QiIGsv','getTemplate','bindTemplate','locale','isSystemComment','group','ck-comment__info','Show\x20more\x20items','Edit','name','ariaDescriptionView','ck-comment__main','getExternalCommentNote','switchToEditMode','isConfirm','blur','ck-comment__info-time','find','ck-comment__external','resolvedAt','3616WZDJKL','unbind','getUserViewNotificationText','removeComment','ck-comment--edit','isVisible','_config','toMany','authoredAt','ck-annotation__info-time','placeholder','292210jscPQR','_createDropdown','author','isReadOnly','4322330jAeODf','render','Reply...','isEnabled','change:isRemovable','4230arbxth','4918DPVFcg','ck-annotation__user','div','isRemovable','ck-comment--remove','ck-comment__user','element','mouseenter','ck-annotation__info','formatDateTime','ck-hidden','Delete\x20comment?','ck-comment--remove-confirmation','withText','extendTemplate','ck-comment__actions','ck-comment__wrapper','removeButton','_createEditButton','ck-comment__info-name','ck-comment__actions--hidden','bind','userView','dropdown','20GKtduB','Remove','cancelConfirm','label','ck-annotation__info-name','execute','isEditMode','_model','fire','createCollection','ariaLabel','397950RavpHr','children'];_0x5167=function(){return _0x1b412a;};return _0x5167();}import{UserView as _0x15a311,ConfirmMixin as _0x2486d7,LateFocusDropdownButtonView as _0x5a7eb6}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0xb99f1b}from'./basecommentview.js';import{getTranslation as _0x556656}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2486d7(_0xb99f1b){[_0x5b9324(0x182)];[_0x5b9324(0x16a)];constructor(_0x46f76e,_0x23a2ed,_0x10606d){const _0x553fdb=_0x5b9324;super(_0x46f76e,_0x23a2ed,_0x10606d),this[_0x553fdb(0x192)](_0x553fdb(0x18f),null),this[_0x553fdb(0x192)](_0x553fdb(0x1c2),_0x556656(_0x46f76e,_0x553fdb(0x1c9))),this[_0x553fdb(0x169)](_0x553fdb(0x1c0))['to'](_0x23a2ed),this[_0x553fdb(0x169)](_0x553fdb(0x1b7))['to'](_0x23a2ed),this[_0x553fdb(0x182)]=this[_0x553fdb(0x175)](),this[_0x553fdb(0x1a8)]||(this[_0x553fdb(0x183)]=this[_0x553fdb(0x166)](),this[_0x553fdb(0x165)]=this[_0x553fdb(0x18a)](),this[_0x553fdb(0x197)]=this[_0x553fdb(0x175)](),this[_0x553fdb(0x197)][_0x553fdb(0x19a)]([this[_0x553fdb(0x183)],this[_0x553fdb(0x165)]]),this[_0x553fdb(0x16b)]=this[_0x553fdb(0x1c4)](),this[_0x553fdb(0x182)][_0x553fdb(0x187)](this[_0x553fdb(0x16b)]),this[_0x553fdb(0x18d)][_0x553fdb(0x187)](this[_0x553fdb(0x16b)])),this[_0x553fdb(0x16a)]=new _0x15a311(_0x46f76e,_0x23a2ed[_0x553fdb(0x1c5)],this[_0x553fdb(0x1ba)]()),this[_0x553fdb(0x16a)][_0x553fdb(0x162)]({'attributes':{'class':[_0x553fdb(0x1d2),_0x553fdb(0x1ce)],'aria-hidden':!0x0}}),this[_0x553fdb(0x19f)](_0x23a2ed,_0x553fdb(0x1cb),()=>this[_0x553fdb(0x16e)]()),this[_0x553fdb(0x19b)](this[_0x553fdb(0x1a5)]());}[_0x5b9324(0x1a5)](){const _0x30b304=_0x5b9324,_0x2d7269=this[_0x30b304(0x1a6)],_0x38593e=[{'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x1aa),_0x30b304(0x1d5)]},'children':[{'tag':_0x30b304(0x17e),'children':[{'text':this[_0x30b304(0x16a)][_0x30b304(0x1ad)]}],'attributes':{'class':[_0x30b304(0x167),_0x30b304(0x170)],'data-cke-tooltip-text':this[_0x30b304(0x16a)][_0x30b304(0x1ad)]}},{'tag':_0x30b304(0x18e),'attributes':{'datetime':_0x2d7269['to'](_0x30b304(0x1c0)),'class':[_0x30b304(0x1b4),_0x30b304(0x1c1)]},'children':[{'text':_0x2d7269['to'](_0x30b304(0x1c0),_0x52dd24=>this[_0x30b304(0x1be)][_0x30b304(0x1d6)](_0x52dd24))}]}]},{'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x163),_0x30b304(0x18b),_0x2d7269['if'](_0x30b304(0x172),_0x30b304(0x168)),_0x2d7269['if'](_0x30b304(0x172),_0x30b304(0x190))]},'children':this[_0x30b304(0x182)]},{'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x189)]},'children':this[_0x30b304(0x185)]},this[_0x30b304(0x1ae)]];return this[_0x30b304(0x173)][_0x30b304(0x1a0)]&&_0x38593e[_0x30b304(0x184)]({'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x1b6)]},'children':[{'text':this[_0x30b304(0x1b0)]()}]}),{'tag':'li','attributes':{'class':[_0x30b304(0x164),_0x2d7269['if'](_0x30b304(0x1b2),_0x30b304(0x160))],'tabindex':-0x1,'aria-label':_0x2d7269['to'](_0x30b304(0x176)),'aria-describedby':this[_0x30b304(0x1ae)]['id'],'role':_0x30b304(0x19d)},'children':[{'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x18c),_0x30b304(0x195),_0x2d7269['if'](_0x30b304(0x172),_0x30b304(0x1bc)),_0x2d7269['if'](_0x30b304(0x1a8),_0x30b304(0x1a2)),_0x2d7269['to'](_0x30b304(0x18f),_0x507329=>_0x507329?_0x30b304(0x188)+_0x507329:'')],'data-author-id':this[_0x30b304(0x173)][_0x30b304(0x1c5)]['id'],'data-comment-id':this[_0x30b304(0x173)]['id'],'role':_0x30b304(0x1a9)},'children':[this[_0x30b304(0x16a)],{'tag':_0x30b304(0x1cf),'attributes':{'class':[_0x30b304(0x1af),_0x30b304(0x1a1)]},'children':_0x38593e}]}]};}[_0x5b9324(0x166)](){const _0x432ace=_0x5b9324,_0xe5a777=new _0x341f2b(this[_0x432ace(0x1a7)]);return _0xe5a777[_0x432ace(0x16f)]=_0x556656(this[_0x432ace(0x1a7)],_0x432ace(0x1ac)),_0xe5a777[_0x432ace(0x191)]=_0x5edb7f,_0xe5a777[_0x432ace(0x161)]=!0x0,_0xe5a777[_0x432ace(0x162)]({'attributes':{'class':_0x432ace(0x1bc)}}),_0xe5a777[_0x432ace(0x169)](_0x432ace(0x1ca))['to'](this[_0x432ace(0x173)],_0x432ace(0x1c6),_0x151aab=>!_0x151aab),_0xe5a777[_0x432ace(0x169)](_0x432ace(0x1bd))['to'](this[_0x432ace(0x173)],_0x432ace(0x19c)),_0xe5a777['on'](_0x432ace(0x171),()=>this[_0x432ace(0x1b1)]()),_0xe5a777;}[_0x5b9324(0x18a)](){const _0x1488b9=_0x5b9324,_0x55acd6=new _0x341f2b(this[_0x1488b9(0x1a7)]);return _0x55acd6[_0x1488b9(0x16f)]=_0x556656(this[_0x1488b9(0x1a7)],_0x1488b9(0x16d)),_0x55acd6[_0x1488b9(0x191)]=_0x52e847,_0x55acd6[_0x1488b9(0x161)]=!0x0,_0x55acd6[_0x1488b9(0x162)]({'attributes':{'class':_0x1488b9(0x1d1)}}),_0x55acd6[_0x1488b9(0x169)](_0x1488b9(0x1ca))['to'](this[_0x1488b9(0x173)],_0x1488b9(0x1c6),_0x21dd9b=>!_0x21dd9b),_0x55acd6[_0x1488b9(0x169)](_0x1488b9(0x1bd))['to'](this[_0x1488b9(0x173)],_0x1488b9(0x1d0)),_0x55acd6['on'](_0x1488b9(0x171),()=>{const _0x333b6f=_0x1488b9;this[_0x333b6f(0x199)](_0x556656(this[_0x333b6f(0x1a7)],_0x333b6f(0x1d8)),this[_0x333b6f(0x1d3)])[_0x333b6f(0x17f)](()=>{const _0x362926=_0x333b6f;this[_0x362926(0x174)](_0x362926(0x1bb),this[_0x362926(0x173)]['id']);});}),_0x55acd6;}[_0x5b9324(0x1c4)](){const _0x140f6d=_0x5b9324,_0x2801f3=_0x2bea52(this[_0x140f6d(0x1a7)],_0x5a7eb6),_0x193c38=_0x2801f3[_0x140f6d(0x19e)][_0x140f6d(0x178)],_0x176493=new _0x1595e7(this[_0x140f6d(0x1a7)]),_0x4ccc76=_0x2801f3[_0x140f6d(0x1a6)];_0x4fff8d(_0x2801f3,()=>this[_0x140f6d(0x197)][_0x140f6d(0x1b5)](_0x13990c=>_0x13990c[_0x140f6d(0x1bd)])),_0x2801f3[_0x140f6d(0x162)]({'attributes':{'class':[_0x4ccc76['if'](_0x140f6d(0x1bd),_0x140f6d(0x1d7),_0x36387a=>!_0x36387a)]}});const _0x32c813=(_0x198058,_0x255a96=-0x1)=>{const _0x2c0246=_0x140f6d,_0x421d17=new _0x58ab74(this[_0x2c0246(0x1a7)]);_0x421d17[_0x2c0246(0x178)][_0x2c0246(0x187)](_0x198058);const _0x24f905=_0x255a96>-0x1?_0x255a96:_0x176493[_0x2c0246(0x197)][_0x2c0246(0x181)];_0x176493[_0x2c0246(0x197)][_0x2c0246(0x187)](_0x421d17,_0x24f905);const _0x3df449=Array[_0x2c0246(0x186)](this[_0x2c0246(0x197)]);_0x2801f3[_0x2c0246(0x1b9)](_0x2c0246(0x1ca),_0x2c0246(0x1bd)),_0x2801f3[_0x2c0246(0x169)](_0x2c0246(0x1ca))[_0x2c0246(0x1bf)](_0x3df449,_0x2c0246(0x1ca),(..._0x5451f8)=>_0x5451f8[_0x2c0246(0x17a)](_0x3b78c7=>_0x3b78c7)),_0x2801f3[_0x2c0246(0x169)](_0x2c0246(0x1bd))[_0x2c0246(0x1bf)](_0x3df449,_0x2c0246(0x1bd),(..._0x2fa286)=>_0x2fa286[_0x2c0246(0x17a)](_0x44a723=>_0x44a723));};_0x2801f3[_0x140f6d(0x180)]='sw',_0x2801f3[_0x140f6d(0x179)][_0x140f6d(0x192)]({'label':_0x556656(this[_0x140f6d(0x1a7)],_0x140f6d(0x1ab)),'icon':_0x2b677e});for(const _0x2a9cc7 of this[_0x140f6d(0x197)])_0x32c813(_0x2a9cc7);return _0x193c38[_0x140f6d(0x187)](_0x176493),_0x2801f3[_0x140f6d(0x19f)](this[_0x140f6d(0x197)],_0x140f6d(0x187),(_0x32ea47,_0x29edb3,_0x4509dd)=>{_0x32c813(_0x29edb3,_0x4509dd);}),_0x2801f3[_0x140f6d(0x19f)](this[_0x140f6d(0x197)],_0x140f6d(0x17d),(_0x3248a6,_0x2dec29,_0x5f4a7a)=>{const _0x4c5050=_0x140f6d;_0x176493[_0x4c5050(0x197)][_0x4c5050(0x17d)](_0x5f4a7a);}),_0x2801f3;}[_0x5b9324(0x17c)](_0x4ab104,_0x3e9bee){const _0x2526af=_0x5b9324,_0x187eba=_0x4ab104&&_0x4ab104[_0x2526af(0x1d3)];_0x187eba&&(this[_0x2526af(0x19f)](_0x187eba,_0x2526af(0x1d4),()=>this[_0x2526af(0x18f)]=_0x3e9bee),this[_0x2526af(0x19f)](_0x187eba,_0x2526af(0x194),()=>this[_0x2526af(0x18f)]=_0x3e9bee),this[_0x2526af(0x19f)](_0x187eba,_0x2526af(0x1a3),()=>this[_0x2526af(0x18f)]=null),this[_0x2526af(0x19f)](_0x187eba,_0x2526af(0x1b3),()=>this[_0x2526af(0x18f)]=null));}[_0x5b9324(0x196)](){const _0x4732d9=_0x5b9324,_0xe4ce78=super[_0x4732d9(0x196)]();return _0xe4ce78[_0x4732d9(0x169)](_0x4732d9(0x1c2))['to'](this),_0xe4ce78;}[_0x5b9324(0x1c8)](){const _0x4ecf56=_0x5b9324;super[_0x4ecf56(0x1c8)](),this[_0x4ecf56(0x17c)](this[_0x4ecf56(0x183)],_0x4ecf56(0x193)),this[_0x4ecf56(0x17c)](this[_0x4ecf56(0x165)],_0x4ecf56(0x17d));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2f4a47=_0x2dab;(function(_0x4c389e,_0x1ac8b6){var _0x388502=_0x2dab,_0x396a49=_0x4c389e();while(!![]){try{var _0x598fbf=parseInt(_0x388502(0x70))/0x1+parseInt(_0x388502(0x6b))/0x2+parseInt(_0x388502(0x6f))/0x3*(parseInt(_0x388502(0x75))/0x4)+parseInt(_0x388502(0x69))/0x5*(-parseInt(_0x388502(0x67))/0x6)+-parseInt(_0x388502(0x71))/0x7*(-parseInt(_0x388502(0x68))/0x8)+parseInt(_0x388502(0x66))/0x9+parseInt(_0x388502(0x72))/0xa*(-parseInt(_0x388502(0x6e))/0xb);if(_0x598fbf===_0x1ac8b6)break;else _0x396a49['push'](_0x396a49['shift']());}catch(_0x27ebef){_0x396a49['push'](_0x396a49['shift']());}}}(_0x2aed,0x271e0));import{Plugin as _0x1f2824}from'ckeditor5/src/core.js';function _0x2dab(_0x39c110,_0xacd7b){var _0x2aed08=_0x2aed();return _0x2dab=function(_0x2dab13,_0x2eae2b){_0x2dab13=_0x2dab13-0x66;var _0x5514ed=_0x2aed08[_0x2dab13];return _0x5514ed;},_0x2dab(_0x39c110,_0xacd7b);}import{CommentsRepository as _0x4f36b5}from'./comments/commentsrepository.js';import{CommentsEditing as _0x5d484c}from'./comments/commentsediting.js';import{CommentsUI as _0x7b9715}from'./comments/commentsui.js';import{CommentsOnly as _0x4ad689}from'./commentsonly.js';import{WideSidebar as _0x5407f8}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x502e3d}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x5e11b8}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x549f9d}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x4422e7}from'./comments/commentsarchive.js';export class Comments extends _0x1f2824{static get[_0x2f4a47(0x73)](){return[_0x4f36b5,_0x5d484c,_0x7b9715,_0x4422e7,_0x549f9d,_0x4ad689,_0x5407f8,_0x502e3d,_0x5e11b8];}static get[_0x2f4a47(0x6c)](){var _0x2368a8=_0x2f4a47;return _0x2368a8(0x6a);}static get[_0x2f4a47(0x6d)](){return!0x0;}static get[_0x2f4a47(0x74)](){return!0x0;}}function _0x2aed(){var _0x1cc11d=['184664cPjHHK','2039643GSYacV','2268nYxgCL','625144TIuVIB','3405QduRde','Comments','508648VvwczH','pluginName','isOfficialPlugin','99fXFiGj','3anqTfe','62599jMIVkl','21rTVMYy','451670ZrVWic','requires','isPremiumPlugin'];_0x2aed=function(){return _0x1cc11d;};return _0x2aed();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3abc91=_0x5fc7;function _0x5ea4(){const _0x157cee=['plugins','listenTo','editor','stop','get','6174ylrXUZ','commentsOnly','52268260lKWpiG','5108596iiaqDo','commentsOnlyMode','DragDrop','_enableCommentsOnlyMode','4981950BVhAqj','_disableCommentsOnlyMode','isPremiumPlugin','forceDisabled','57093BTgbXP','commands','change:isEnabled','view','editing','SourceEditing','118EdZFrd','12CmLuLk','5dJgtUm','7LANLqp','config','cut','CommentsOnly','pluginName','editSource','requires','affectsData','clearForceDisabled','set','clipboardInput','addCommentThread','14966580Wnhhon','1716811QdkbJr','has','document','afterInit','4744szXsWh','stopListening','highest','isOfficialPlugin','isEnabled','delete'];_0x5ea4=function(){return _0x157cee;};return _0x5ea4();}(function(_0x5b0fed,_0x270d84){const _0x26cc9f=_0x5fc7,_0x5855c9=_0x5b0fed();while(!![]){try{const _0x478657=-parseInt(_0x26cc9f(0x1e1))/0x1+-parseInt(_0x26cc9f(0x201))/0x2*(parseInt(_0x26cc9f(0x1fb))/0x3)+-parseInt(_0x26cc9f(0x1f3))/0x4*(parseInt(_0x26cc9f(0x203))/0x5)+parseInt(_0x26cc9f(0x1f7))/0x6*(-parseInt(_0x26cc9f(0x204))/0x7)+-parseInt(_0x26cc9f(0x1e5))/0x8*(parseInt(_0x26cc9f(0x1f0))/0x9)+parseInt(_0x26cc9f(0x1e0))/0xa+parseInt(_0x26cc9f(0x1f2))/0xb*(parseInt(_0x26cc9f(0x202))/0xc);if(_0x478657===_0x270d84)break;else _0x5855c9['push'](_0x5855c9['shift']());}catch(_0x29d713){_0x5855c9['push'](_0x5855c9['shift']());}}}(_0x5ea4,0xda5c6));import{Plugin as _0x145cf0}from'ckeditor5/src/core.js';import{CommentsEditing as _0x24e2c8}from'./comments/commentsediting.js';function _0x5fc7(_0x59b6ae,_0x4716ed){const _0x5ea4c0=_0x5ea4();return _0x5fc7=function(_0x5fc747,_0x2373c4){_0x5fc747=_0x5fc747-0x1d7;let _0x2e56a4=_0x5ea4c0[_0x5fc747];return _0x2e56a4;},_0x5fc7(_0x59b6ae,_0x4716ed);}export class CommentsOnly extends _0x145cf0{static get[_0x3abc91(0x1d8)](){const _0x42a1dd=_0x3abc91;return _0x42a1dd(0x1d7);}static get[_0x3abc91(0x1e8)](){return!0x0;}static get[_0x3abc91(0x1f9)](){return!0x0;}static get[_0x3abc91(0x1da)](){return[_0x24e2c8];}constructor(_0x3fb400){const _0x1aeac7=_0x3abc91;super(_0x3fb400),this[_0x1aeac7(0x1dd)](_0x1aeac7(0x1e9),!0x1),this['on'](_0x1aeac7(0x1fd),(_0x21bd34,_0x56ee88,_0x451b4b)=>{const _0x1f5816=_0x1aeac7;_0x451b4b?this[_0x1f5816(0x1f6)]():this[_0x1f5816(0x1f8)]();});}[_0x3abc91(0x1e4)](){const _0x3506d8=_0x3abc91;!this[_0x3506d8(0x1e9)]&&this[_0x3506d8(0x1ed)][_0x3506d8(0x205)][_0x3506d8(0x1ef)](_0x3506d8(0x1f1))&&(this[_0x3506d8(0x1e9)]=!0x0);}[_0x3abc91(0x1f6)](){const _0x291e56=_0x3abc91;for(const [_0x15e364,_0x4044ff]of this[_0x291e56(0x1ed)][_0x291e56(0x1fc)])_0x4044ff[_0x291e56(0x1db)]&&_0x291e56(0x1df)!==_0x15e364&&_0x4044ff[_0x291e56(0x1fa)](_0x291e56(0x1f4));(this[_0x291e56(0x1ed)][_0x291e56(0x1eb)][_0x291e56(0x1e2)](_0x291e56(0x1f5))&&this[_0x291e56(0x1ed)][_0x291e56(0x1eb)][_0x291e56(0x1ef)](_0x291e56(0x1f5))[_0x291e56(0x1fa)](_0x291e56(0x1f4)),this[_0x291e56(0x1ed)][_0x291e56(0x1eb)][_0x291e56(0x1e2)](_0x291e56(0x200)))&&this[_0x291e56(0x1ed)][_0x291e56(0x1eb)][_0x291e56(0x1ef)](_0x291e56(0x200))[_0x291e56(0x1fa)](_0x291e56(0x1f4));this[_0x291e56(0x1ed)][_0x291e56(0x1fc)][_0x291e56(0x1ef)](_0x291e56(0x1d9))?.[_0x291e56(0x1fa)](_0x291e56(0x1f4));const _0x26229a=this[_0x291e56(0x1ed)][_0x291e56(0x1ff)][_0x291e56(0x1fe)][_0x291e56(0x1e3)];this[_0x291e56(0x1ec)](_0x26229a,_0x291e56(0x206),_0x3a20a1=>_0x3a20a1[_0x291e56(0x1ee)](),{'priority':_0x291e56(0x1e7)}),this[_0x291e56(0x1ec)](_0x26229a,_0x291e56(0x1de),_0x5df43d=>_0x5df43d[_0x291e56(0x1ee)](),{'priority':_0x291e56(0x1e7)}),this[_0x291e56(0x1ec)](_0x26229a,_0x291e56(0x1ea),_0xa92d81=>_0xa92d81[_0x291e56(0x1ee)](),{'priority':_0x291e56(0x1e7)});}[_0x3abc91(0x1f8)](){const _0x3403a0=_0x3abc91;for(const [_0x3aefd5,_0x3ef1f9]of this[_0x3403a0(0x1ed)][_0x3403a0(0x1fc)])_0x3ef1f9[_0x3403a0(0x1db)]&&_0x3403a0(0x1df)!==_0x3aefd5&&_0x3ef1f9[_0x3403a0(0x1dc)](_0x3403a0(0x1f4));this[_0x3403a0(0x1ed)][_0x3403a0(0x1eb)][_0x3403a0(0x1e2)](_0x3403a0(0x200))&&this[_0x3403a0(0x1ed)][_0x3403a0(0x1eb)][_0x3403a0(0x1ef)](_0x3403a0(0x200))[_0x3403a0(0x1dc)](_0x3403a0(0x1f4)),this[_0x3403a0(0x1ed)][_0x3403a0(0x1fc)][_0x3403a0(0x1ef)](_0x3403a0(0x1d9))?.[_0x3403a0(0x1dc)](_0x3403a0(0x1f4)),this[_0x3403a0(0x1e6)](this[_0x3403a0(0x1ed)][_0x3403a0(0x1ff)][_0x3403a0(0x1fe)][_0x3403a0(0x1e3)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3cf61a,_0x49cb16){var _0x28d227=_0x5c0e,_0x525514=_0x3cf61a();while(!![]){try{var _0x127efa=-parseInt(_0x28d227(0x199))/0x1+-parseInt(_0x28d227(0x193))/0x2*(parseInt(_0x28d227(0x197))/0x3)+-parseInt(_0x28d227(0x194))/0x4*(-parseInt(_0x28d227(0x192))/0x5)+parseInt(_0x28d227(0x195))/0x6+-parseInt(_0x28d227(0x196))/0x7+parseInt(_0x28d227(0x191))/0x8+-parseInt(_0x28d227(0x198))/0x9*(parseInt(_0x28d227(0x19a))/0xa);if(_0x127efa===_0x49cb16)break;else _0x525514['push'](_0x525514['shift']());}catch(_0x476851){_0x525514['push'](_0x525514['shift']());}}}(_0x3e7d,0x921e1));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';function _0x5c0e(_0x28ef9c,_0x4fe9db){var _0x3e7d5a=_0x3e7d();return _0x5c0e=function(_0x5c0e5e,_0x3543d8){_0x5c0e5e=_0x5c0e5e-0x191;var _0x2fc9db=_0x3e7d5a[_0x5c0e5e];return _0x2fc9db;},_0x5c0e(_0x28ef9c,_0x4fe9db);}export{CommentsUI}from'./comments/commentsui.js';export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';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';function _0x3e7d(){var _0x54c06c=['3824MXVpyp','4177926lFrDss','4263RusKdM','87wbfgaq','45MsUVZm','16850NLmZFu','1526870WhZrGZ','7417056ATYAQC','1730orELJW','39644HOfOGx'];_0x3e7d=function(){return _0x54c06c;};return _0x3e7d();}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(_0x215b2a,_0xcb4dcb,_0xd72d6){const t=_0x215b2a['t'];switch(_0xcb4dcb){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'},_0xd72d6);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'},_0xd72d6);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'},_0xd72d6);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'},_0xd72d6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xd72d6);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'},_0xd72d6);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'},_0xd72d6);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'},_0xd72d6);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(_0x2d2826,_0x54ef2d){const _0x5f513c=_0x51b8,_0x378917=_0x2d2826();while(!![]){try{const _0xf100cc=-parseInt(_0x5f513c(0x1e3))/0x1*(parseInt(_0x5f513c(0x1e2))/0x2)+parseInt(_0x5f513c(0x1e1))/0x3*(-parseInt(_0x5f513c(0x1df))/0x4)+-parseInt(_0x5f513c(0x1eb))/0x5+-parseInt(_0x5f513c(0x1e8))/0x6+-parseInt(_0x5f513c(0x1e5))/0x7*(-parseInt(_0x5f513c(0x1ea))/0x8)+parseInt(_0x5f513c(0x1ee))/0x9*(-parseInt(_0x5f513c(0x1dc))/0xa)+parseInt(_0x5f513c(0x1db))/0xb;if(_0xf100cc===_0x54ef2d)break;else _0x378917['push'](_0x378917['shift']());}catch(_0x573911){_0x378917['push'](_0x378917['shift']());}}}(_0x13a6,0xa0f3c));function _0x51b8(_0x329c6f,_0x340cde){const _0x13a69b=_0x13a6();return _0x51b8=function(_0x51b8cb,_0x3a824c){_0x51b8cb=_0x51b8cb-0x1db;let _0x1cc54d=_0x13a69b[_0x51b8cb];return _0x1cc54d;},_0x51b8(_0x329c6f,_0x340cde);}function _0x13a6(){const _0x287904=['3790345ppzqyX','characterData','cancel','207gTjvlJ','38606161LAkmGk','455490hXvSXp','class','type','3083804DtFsjW','attributes','3zCGpCI','2KWfDFr','233854YSTJIE','disconnect','35NCwQzd','observe','childList','1719450jIFjzg','attributeName','394696gSRwIq'];_0x13a6=function(){return _0x287904;};return _0x13a6();}import{throttle as _0x31cf92}from'es-toolkit/compat';export function createMutationObserver(_0x4ee85f){const _0x1e8a70=_0x31cf92(_0x4ee85f,0x1e),_0x5ae5a5=new MutationObserver(_0x212cde=>{const _0x563442=_0x51b8;for(const _0x5b8062 of _0x212cde)(_0x563442(0x1e0)==_0x5b8062[_0x563442(0x1de)]&&_0x563442(0x1dd)==_0x5b8062[_0x563442(0x1e9)]||_0x563442(0x1e7)==_0x5b8062[_0x563442(0x1de)]||_0x563442(0x1ec)==_0x5b8062[_0x563442(0x1de)])&&_0x1e8a70();});return{'attach'(_0x3dd779){const _0x10275f=_0x51b8;_0x5ae5a5[_0x10275f(0x1e6)](_0x3dd779,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x5d3e06=_0x51b8;_0x5ae5a5[_0x5d3e06(0x1e4)](),_0x1e8a70[_0x5d3e06(0x1ed)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x567328,_0x154321){const _0x53de53=_0x50ed,_0x9fb4a8=_0x567328();while(!![]){try{const _0x1459ac=parseInt(_0x53de53(0x16b))/0x1*(parseInt(_0x53de53(0x166))/0x2)+-parseInt(_0x53de53(0x165))/0x3+parseInt(_0x53de53(0x164))/0x4*(-parseInt(_0x53de53(0x168))/0x5)+-parseInt(_0x53de53(0x167))/0x6*(-parseInt(_0x53de53(0x16c))/0x7)+-parseInt(_0x53de53(0x16e))/0x8+parseInt(_0x53de53(0x16a))/0x9+parseInt(_0x53de53(0x16f))/0xa*(parseInt(_0x53de53(0x169))/0xb);if(_0x1459ac===_0x154321)break;else _0x9fb4a8['push'](_0x9fb4a8['shift']());}catch(_0x48841d){_0x9fb4a8['push'](_0x9fb4a8['shift']());}}}(_0x376b,0x75281));function _0x50ed(_0x41cd8f,_0x3652b5){const _0x376be6=_0x376b();return _0x50ed=function(_0x50ed5a,_0x27b7d8){_0x50ed5a=_0x50ed5a-0x164;let _0x4324aa=_0x376be6[_0x50ed5a];return _0x4324aa;},_0x50ed(_0x41cd8f,_0x3652b5);}export function splitMarkerName(_0x156b55){const _0x10c692=_0x50ed,_0x16fdb8=_0x156b55[_0x10c692(0x16d)](':');return{'group':_0x16fdb8[0x0],'id':_0x16fdb8[0x1],'part':_0x16fdb8[0x2]};}function _0x376b(){const _0x4305a4=['4219032AjvpgZ','2290nHpdzE','296696BsUASA','1837212mDjCny','316bOsbbF','2769414WveeQb','25GxzXev','9251eYVlyi','3754116mlSImh','5818SlygeI','7bWSPtK','split'];_0x376b=function(){return _0x4305a4;};return _0x376b();}
|