@ckeditor/ckeditor5-comments 44.2.0-alpha.8 → 44.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +17 -17
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x428676=_0x3e1a;function _0x3e1a(_0x5a573f,_0x9010db){const _0x3a6fca=_0x3a6f();return _0x3e1a=function(_0x3e1a9d,_0x35fc1f){_0x3e1a9d=_0x3e1a9d-0x1c1;let _0x31bec1=_0x3a6fca[_0x3e1a9d];return _0x31bec1;},_0x3e1a(_0x5a573f,_0x9010db);}(function(_0x45ed2c,_0x260961){const _0x152f16=_0x3e1a,_0x4cce2e=_0x45ed2c();while(!![]){try{const _0xb5177d=-parseInt(_0x152f16(0x201))/0x1*(parseInt(_0x152f16(0x1d6))/0x2)+parseInt(_0x152f16(0x21d))/0x3+parseInt(_0x152f16(0x1d8))/0x4+parseInt(_0x152f16(0x1d3))/0x5*(parseInt(_0x152f16(0x1c7))/0x6)+-parseInt(_0x152f16(0x1c1))/0x7+-parseInt(_0x152f16(0x1c4))/0x8+-parseInt(_0x152f16(0x1cb))/0x9*(-parseInt(_0x152f16(0x1cc))/0xa);if(_0xb5177d===_0x260961)break;else _0x4cce2e['push'](_0x4cce2e['shift']());}catch(_0x2e0bda){_0x4cce2e['push'](_0x4cce2e['shift']());}}}(_0x3a6f,0xe5c70));function _0x3a6f(){const _0x27bc14=['forEach','updateComment','718dDEkUm','Thread\x20comments','_calculatePosition','locale','length','render','resolveCommentThread','listenTo','_rearrangeCollapse','focusLast','_shouldCollapse','reverse','count','target','element','focus','refreshVisibleViews','remove','maxCommentCharsWhenCollapsed','_handleNewCommentModel','Marked\x20as\x20resolved','change:isResolved','some','comments','_handleRemoveCommentModel','weight','maxCommentsWhenCollapsed','focusCycler','2738040mQSEzG','ck-hidden','keystrokes','hasDirtyComment','resolvedBy','8754529FDFXeu','expand','equal','7387400xKzgwb','editorConfig','CommentView','2426778ohHkoM','resolved','commentUpdated','change','5771502rcFLzL','40wNwtMC','collapse','destroy','ck-thread__comments','authoredAt','change:isActive','isActive','10xMthaO','resolvedCommentView','get','4888AtOVbH','editorReady','2333256GQALMl','focusFirst','delegate','insert','bindTemplate','maxThreadTotalWeight','viewUid','change:isEditMode','_findOptimalIndex','visibleViews','formatDateTime','_updateHasDirtyComment','editorDestroyed','_handleInfoComment','isEditMode','set','includes','_collapsedCommentsView','focusTracker','removed','change:hasDirtyComment','added','commentViews','_setupKeyboardNavigation','from','add','removeComment','arrowdown','delete','_config','createCollection','_model','setTemplate','arrowup','_rearrangeExpand','map','resolvedAt','stopListening','bind'];_0x3a6f=function(){return _0x27bc14;};return _0x3a6f();}import{View as _0x35cd6d,FocusCycler as _0x49bc0a}from'ckeditor5/src/ui.js';import{diff as _0x1493e7,Collection as _0x333605,FocusTracker as _0x357ad3,KeystrokeHandler as _0x3e1e1b}from'ckeditor5/src/utils.js';import{getTranslation as _0x37c874}from'../../../utils/common-translations.js';import _0x240131 from'./collapsedcommentsview.js';export default class te extends _0x35cd6d{constructor(_0x5ad83c,_0x4bf79d,_0x15ab24){const _0x243556=_0x3e1a;super(_0x5ad83c);const _0x1a9e62=this[_0x243556(0x1dc)];this[_0x243556(0x1e7)](_0x243556(0x220),!0x1),this[_0x243556(0x1e7)](_0x243556(0x205),_0x4bf79d[_0x243556(0x218)][_0x243556(0x205)]),this[_0x243556(0x1e7)](_0x243556(0x1d2),!0x1),this[_0x243556(0x1f7)]=_0x4bf79d,this[_0x243556(0x1f5)]=_0x15ab24,this[_0x243556(0x1ee)]=this[_0x243556(0x1f6)](),this[_0x243556(0x1e1)]=this[_0x243556(0x1f6)](),this[_0x243556(0x1d4)]=null,this[_0x243556(0x1ea)]=new _0x357ad3(),this[_0x243556(0x21f)]=new _0x3e1e1b(),this[_0x243556(0x21c)]=new _0x49bc0a({'focusables':this[_0x243556(0x1ee)],'focusTracker':this[_0x243556(0x1ea)],'keystrokeHandler':this[_0x243556(0x21f)],'keystrokeHandlerOptions':{'filter':_0x5516eb=>this[_0x243556(0x1ee)][_0x243556(0x1fb)](_0x447646=>_0x447646[_0x243556(0x20f)])[_0x243556(0x1e8)](_0x5516eb[_0x243556(0x20e)])},'actions':{'focusPrevious':_0x243556(0x1f9),'focusNext':_0x243556(0x1f3)}}),this[_0x243556(0x1e9)]=new _0x240131(_0x5ad83c),this[_0x243556(0x1e9)][_0x243556(0x1fe)](_0x243556(0x20d))['to'](this,_0x243556(0x205),_0x5d5bc4=>_0x5d5bc4-this[_0x243556(0x1f5)][_0x243556(0x21b)]);for(const _0x5da745 of _0x4bf79d[_0x243556(0x218)])this[_0x243556(0x214)](_0x5da745);this[_0x243556(0x1e5)](),this[_0x243556(0x208)](_0x4bf79d[_0x243556(0x218)],_0x243556(0x1f1),(_0x285452,_0x5181f4)=>{const _0x349661=_0x243556,_0x2ac358=this[_0x349661(0x203)](_0x5181f4);this[_0x349661(0x205)]++,this[_0x349661(0x214)](_0x5181f4,_0x2ac358),this[_0x349661(0x211)]();}),this[_0x243556(0x208)](_0x4bf79d[_0x243556(0x218)],_0x243556(0x212),(_0xf4e0a7,_0x24880c)=>{const _0x2800f2=_0x243556;this[_0x2800f2(0x205)]--,this[_0x2800f2(0x219)](_0x24880c),this[_0x2800f2(0x211)]();}),this[_0x243556(0x208)](_0x4bf79d,_0x243556(0x1c9),()=>this[_0x243556(0x211)]()),this[_0x243556(0x208)](_0x4bf79d,_0x243556(0x216),()=>this[_0x243556(0x1e5)]()),this['on'](_0x243556(0x1d1),()=>this[_0x243556(0x211)]()),this['on'](_0x243556(0x1ec),()=>this[_0x243556(0x211)]()),this[_0x243556(0x1f8)]({'tag':'ul','attributes':{'class':[_0x243556(0x1cf),_0x1a9e62['if'](_0x243556(0x205),_0x243556(0x21e),_0x2bf15c=>!_0x2bf15c)],'aria-label':_0x37c874(_0x5ad83c,_0x243556(0x202))},'children':this[_0x243556(0x1e1)]});}get[_0x428676(0x20b)](){const _0x23d63b=_0x428676;return this[_0x23d63b(0x1f7)][_0x23d63b(0x21a)]>this[_0x23d63b(0x1f5)][_0x23d63b(0x1dd)]&&!this[_0x23d63b(0x1d2)]&&!this[_0x23d63b(0x220)];}[_0x428676(0x206)](){const _0x38ecae=_0x428676;super[_0x38ecae(0x206)](),this[_0x38ecae(0x211)](),this[_0x38ecae(0x1ef)]();}[_0x428676(0x210)](_0x2aa21a){const _0x42e52c=_0x428676;-0x1===_0x2aa21a?this[_0x42e52c(0x21c)][_0x42e52c(0x20a)]():this[_0x42e52c(0x21c)][_0x42e52c(0x1d9)]();}[_0x428676(0x1ce)](){const _0x485c7a=_0x428676;this[_0x485c7a(0x1e9)][_0x485c7a(0x1ce)]();for(const _0x35a5b8 of this[_0x485c7a(0x1ee)])_0x35a5b8[_0x485c7a(0x1ce)]();super[_0x485c7a(0x1ce)]();}[_0x428676(0x211)](){const _0x1d7e86=_0x428676;this[_0x1d7e86(0x20b)]?this[_0x1d7e86(0x209)]():this[_0x1d7e86(0x1fa)]();}[_0x428676(0x214)](_0x5a45f0,_0x897934){const _0xd54c4e=_0x428676,_0x2c4bbe=new this[(_0xd54c4e(0x1f5))][(_0xd54c4e(0x1c6))](this[_0xd54c4e(0x204)],_0x5a45f0,{'maxCommentCharsWhenCollapsed':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x213)],'formatDateTime':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x1e2)],'editorConfig':this[_0xd54c4e(0x1f5)][_0xd54c4e(0x1c5)]});_0x2c4bbe[_0xd54c4e(0x1de)]=_0x5a45f0['id'],_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1f2))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x200))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x207))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1d7))['to'](this),_0x2c4bbe[_0xd54c4e(0x1da)](_0xd54c4e(0x1e4))['to'](this),this[_0xd54c4e(0x208)](_0x2c4bbe,_0xd54c4e(0x1df),()=>this[_0xd54c4e(0x1e3)]()),this[_0xd54c4e(0x1ee)][_0xd54c4e(0x1f1)](_0x2c4bbe,_0x897934);}[_0x428676(0x203)](_0x45ceab){const _0x4441e1=_0x428676,_0x69d448=this[_0x4441e1(0x1f7)][_0x4441e1(0x1e0)](_0x45ceab);return this[_0x4441e1(0x1d4)]?this[_0x4441e1(0x1d4)][_0x4441e1(0x1d0)]>_0x45ceab[_0x4441e1(0x1d0)]?_0x69d448-0x1:_0x69d448:_0x69d448-0x1;}[_0x428676(0x1e5)](){const _0x2ce182=_0x428676;if(this[_0x2ce182(0x1f7)][_0x2ce182(0x221)]&&this[_0x2ce182(0x1f7)][_0x2ce182(0x1fc)]){const _0x3694bf={'id':_0x2ce182(0x1c8),'author':this[_0x2ce182(0x1f7)][_0x2ce182(0x221)],'authoredAt':this[_0x2ce182(0x1f7)][_0x2ce182(0x1fc)],'content':_0x37c874(this[_0x2ce182(0x204)],_0x2ce182(0x215)),'attributes':{}};this[_0x2ce182(0x1d4)]=new this[(_0x2ce182(0x1f5))][(_0x2ce182(0x1c6))](this[_0x2ce182(0x204)],_0x3694bf,{'maxCommentCharsWhenCollapsed':this[_0x2ce182(0x1f5)][_0x2ce182(0x213)],'formatDateTime':this[_0x2ce182(0x1f5)][_0x2ce182(0x1e2)],'editorConfig':this[_0x2ce182(0x1f5)][_0x2ce182(0x1c5)],'isSystemComment':!0x0}),this[_0x2ce182(0x1ee)][_0x2ce182(0x1f1)](this[_0x2ce182(0x1d4)],this[_0x2ce182(0x1f7)][_0x2ce182(0x1e0)](_0x3694bf));}else this[_0x2ce182(0x1d4)]&&(this[_0x2ce182(0x1ee)][_0x2ce182(0x212)](this[_0x2ce182(0x1d4)]),this[_0x2ce182(0x1d4)][_0x2ce182(0x1ce)](),this[_0x2ce182(0x1d4)]=null);this[_0x2ce182(0x211)]();}[_0x428676(0x219)](_0x15538c){const _0x22348c=_0x428676,_0x4b2251=this[_0x22348c(0x1ee)][_0x22348c(0x212)](_0x15538c['id']);this[_0x22348c(0x1fd)](_0x4b2251),_0x4b2251[_0x22348c(0x1e6)]&&this[_0x22348c(0x1e3)](),_0x4b2251[_0x22348c(0x1ce)]();}[_0x428676(0x1e3)](){const _0x3ab4fd=_0x428676;this[_0x3ab4fd(0x220)]=Array[_0x3ab4fd(0x1f0)](this[_0x3ab4fd(0x1ee)])[_0x3ab4fd(0x217)](_0x310371=>_0x310371[_0x3ab4fd(0x1e6)]);}[_0x428676(0x209)](){const _0x3a048e=_0x428676,_0x513e91=function(_0x10ce29){const _0x4c7d4c=_0x3e1a,_0x189f10=new _0x333605();for(const _0x48615b of _0x10ce29)_0x189f10[_0x4c7d4c(0x1f1)](_0x48615b);return _0x189f10;}(this[_0x3a048e(0x1ee)]),_0x30f8c3=this[_0x3a048e(0x1e9)][_0x3a048e(0x20d)];for(let _0x1675c1=0x1;_0x1675c1<=_0x30f8c3;_0x1675c1++)_0x513e91[_0x3a048e(0x212)](0x1);for(const _0x24cd3f of _0x513e91)_0x24cd3f[_0x3a048e(0x1cd)]();_0x30f8c3>0x0&&_0x513e91[_0x3a048e(0x1f1)](this[_0x3a048e(0x1e9)],0x1),as(_0x1493e7(Array[_0x3a048e(0x1f0)](this[_0x3a048e(0x1e1)]),Array[_0x3a048e(0x1f0)](_0x513e91)),this[_0x3a048e(0x1e1)],_0x513e91);}[_0x428676(0x1fa)](){const _0x13a26=_0x428676;as(_0x1493e7(Array[_0x13a26(0x1f0)](this[_0x13a26(0x1e1)]),Array[_0x13a26(0x1f0)](this[_0x13a26(0x1ee)])),this[_0x13a26(0x1e1)],this[_0x13a26(0x1ee)]);for(const _0x11a71e of this[_0x13a26(0x1e1)])_0x11a71e[_0x13a26(0x1c2)]();}[_0x428676(0x1ef)](){const _0x57bf01=_0x428676;this[_0x57bf01(0x1ee)][_0x57bf01(0x1ff)](_0x1ce38e=>{const _0x497698=_0x57bf01;this[_0x497698(0x1ea)][_0x497698(0x1f1)](_0x1ce38e[_0x497698(0x20f)]),this[_0x497698(0x21f)][_0x497698(0x208)](_0x1ce38e[_0x497698(0x20f)]);}),this[_0x57bf01(0x1ee)]['on'](_0x57bf01(0x1ca),(_0x52ee59,_0x5f0008)=>{const _0x3cf2d2=_0x57bf01;for(const _0x50257c of _0x5f0008[_0x3cf2d2(0x1eb)])this[_0x3cf2d2(0x1ea)][_0x3cf2d2(0x212)](_0x50257c[_0x3cf2d2(0x20f)]),this[_0x3cf2d2(0x21f)][_0x3cf2d2(0x1fd)](_0x50257c[_0x3cf2d2(0x20f)]);for(const _0xceaa86 of Array[_0x3cf2d2(0x1f0)](_0x5f0008[_0x3cf2d2(0x1ed)])[_0x3cf2d2(0x20c)]())this[_0x3cf2d2(0x1ea)][_0x3cf2d2(0x1f1)](_0xceaa86[_0x3cf2d2(0x20f)]),this[_0x3cf2d2(0x21f)][_0x3cf2d2(0x208)](_0xceaa86[_0x3cf2d2(0x20f)]);});}}function as(_0x450982,_0x5a2156,_0x4a2049){const _0x5807bf=_0x428676;let _0x5e2f57=0x0;for(const _0x12efb9 of _0x450982)switch(_0x12efb9){case _0x5807bf(0x1db):_0x5a2156[_0x5807bf(0x1f1)](_0x4a2049[_0x5807bf(0x1d5)](_0x5e2f57),_0x5e2f57),_0x5e2f57++;break;case _0x5807bf(0x1f4):_0x5a2156[_0x5807bf(0x212)](_0x5e2f57);break;case _0x5807bf(0x1c3):_0x5e2f57++;}}
|
|
23
|
+
const _0x4901ac=_0x50d9;function _0x50d9(_0x4942b7,_0x52ce9d){const _0x2ed418=_0x2ed4();return _0x50d9=function(_0x50d9d6,_0x3e900e){_0x50d9d6=_0x50d9d6-0xc6;let _0x2202cd=_0x2ed418[_0x50d9d6];return _0x2202cd;},_0x50d9(_0x4942b7,_0x52ce9d);}(function(_0x4b8952,_0x43f99d){const _0x47d024=_0x50d9,_0x2e9635=_0x4b8952();while(!![]){try{const _0x575d84=-parseInt(_0x47d024(0xfd))/0x1+parseInt(_0x47d024(0x10f))/0x2*(-parseInt(_0x47d024(0x102))/0x3)+-parseInt(_0x47d024(0x10c))/0x4*(-parseInt(_0x47d024(0xc6))/0x5)+parseInt(_0x47d024(0xfe))/0x6+parseInt(_0x47d024(0xd1))/0x7*(-parseInt(_0x47d024(0xce))/0x8)+-parseInt(_0x47d024(0x126))/0x9+parseInt(_0x47d024(0xf5))/0xa;if(_0x575d84===_0x43f99d)break;else _0x2e9635['push'](_0x2e9635['shift']());}catch(_0x2eb593){_0x2e9635['push'](_0x2e9635['shift']());}}}(_0x2ed4,0xce9bb));import{View as _0x434065,FocusCycler as _0x11bd39}from'ckeditor5/src/ui.js';import{diff as _0x503266,Collection as _0x2d675a,FocusTracker as _0x24ce1c,KeystrokeHandler as _0x366699}from'ckeditor5/src/utils.js';import{getTranslation as _0x406600}from'../../../utils/common-translations.js';import _0x1fd350 from'./collapsedcommentsview.js';export default class te extends _0x434065{constructor(_0x281954,_0x1eefad,_0x5f3dea){const _0x4673c7=_0x50d9;super(_0x281954);const _0x136982=this[_0x4673c7(0xca)];this[_0x4673c7(0xd7)](_0x4673c7(0xdd),!0x1),this[_0x4673c7(0xd7)](_0x4673c7(0xeb),_0x1eefad[_0x4673c7(0xf6)][_0x4673c7(0xeb)]),this[_0x4673c7(0xd7)](_0x4673c7(0x11c),!0x1),this[_0x4673c7(0x120)]=_0x1eefad,this[_0x4673c7(0x105)]=_0x5f3dea,this[_0x4673c7(0xdf)]=this[_0x4673c7(0xe8)](),this[_0x4673c7(0xde)]=this[_0x4673c7(0xe8)](),this[_0x4673c7(0xd3)]=null,this[_0x4673c7(0xf2)]=new _0x24ce1c(),this[_0x4673c7(0xd6)]=new _0x366699(),this[_0x4673c7(0x108)]=new _0x11bd39({'focusables':this[_0x4673c7(0xdf)],'focusTracker':this[_0x4673c7(0xf2)],'keystrokeHandler':this[_0x4673c7(0xd6)],'keystrokeHandlerOptions':{'filter':_0x3988d1=>this[_0x4673c7(0xdf)][_0x4673c7(0xd8)](_0x40e860=>_0x40e860[_0x4673c7(0x10b)])[_0x4673c7(0x111)](_0x3988d1[_0x4673c7(0xe7)])},'actions':{'focusPrevious':_0x4673c7(0xee),'focusNext':_0x4673c7(0xfb)}}),this[_0x4673c7(0x101)]=new _0x1fd350(_0x281954),this[_0x4673c7(0x101)][_0x4673c7(0xf0)](_0x4673c7(0xf3))['to'](this,_0x4673c7(0xeb),_0x3b2025=>_0x3b2025-this[_0x4673c7(0x105)][_0x4673c7(0xdc)]);for(const _0x5aa583 of _0x1eefad[_0x4673c7(0xf6)])this[_0x4673c7(0xe2)](_0x5aa583);this[_0x4673c7(0x109)](),this[_0x4673c7(0x11e)](_0x1eefad[_0x4673c7(0xf6)],_0x4673c7(0xfc),(_0x51d2b6,_0x7ba887)=>{const _0x1a1011=_0x4673c7,_0x4a3fc1=this[_0x1a1011(0xcb)](_0x7ba887);this[_0x1a1011(0xeb)]++,this[_0x1a1011(0xe2)](_0x7ba887,_0x4a3fc1),this[_0x1a1011(0x121)]();}),this[_0x4673c7(0x11e)](_0x1eefad[_0x4673c7(0xf6)],_0x4673c7(0x11a),(_0x4017a3,_0x429320)=>{const _0x49b0e6=_0x4673c7;this[_0x49b0e6(0xeb)]--,this[_0x49b0e6(0xe0)](_0x429320),this[_0x49b0e6(0x121)]();}),this[_0x4673c7(0x11e)](_0x1eefad,_0x4673c7(0x107),()=>this[_0x4673c7(0x121)]()),this[_0x4673c7(0x11e)](_0x1eefad,_0x4673c7(0x119),()=>this[_0x4673c7(0x109)]()),this['on'](_0x4673c7(0x114),()=>this[_0x4673c7(0x121)]()),this['on'](_0x4673c7(0xf9),()=>this[_0x4673c7(0x121)]()),this[_0x4673c7(0xfa)]({'tag':'ul','attributes':{'class':[_0x4673c7(0x11b),_0x136982['if'](_0x4673c7(0xeb),_0x4673c7(0x123),_0x2e8fe5=>!_0x2e8fe5)],'aria-label':_0x406600(_0x281954,_0x4673c7(0xcf))},'children':this[_0x4673c7(0xde)]});}get[_0x4901ac(0xd0)](){const _0x4d59ef=_0x4901ac;return this[_0x4d59ef(0x120)][_0x4d59ef(0x10e)]>this[_0x4d59ef(0x105)][_0x4d59ef(0x11f)]&&!this[_0x4d59ef(0x11c)]&&!this[_0x4d59ef(0xdd)];}[_0x4901ac(0xc9)](){const _0x50d00d=_0x4901ac;super[_0x50d00d(0xc9)](),this[_0x50d00d(0x121)](),this[_0x50d00d(0x125)]();}[_0x4901ac(0xd5)](_0x5aa739){const _0x1f3bf4=_0x4901ac;-0x1===_0x5aa739?this[_0x1f3bf4(0x108)][_0x1f3bf4(0xf7)]():this[_0x1f3bf4(0x108)][_0x1f3bf4(0xe3)]();}[_0x4901ac(0xf8)](){const _0x2bfb35=_0x4901ac;this[_0x2bfb35(0x101)][_0x2bfb35(0xf8)]();for(const _0x1d1dd9 of this[_0x2bfb35(0xdf)])_0x1d1dd9[_0x2bfb35(0xf8)]();super[_0x2bfb35(0xf8)]();}[_0x4901ac(0x121)](){const _0x43a8e2=_0x4901ac;this[_0x43a8e2(0xd0)]?this[_0x43a8e2(0xe4)]():this[_0x43a8e2(0xda)]();}[_0x4901ac(0xe2)](_0x530c92,_0x2faab6){const _0x179620=_0x4901ac,_0x37db8a=new this[(_0x179620(0x105))][(_0x179620(0xc7))](this[_0x179620(0x115)],_0x530c92,{'maxCommentCharsWhenCollapsed':this[_0x179620(0x105)][_0x179620(0xd4)],'formatDateTime':this[_0x179620(0x105)][_0x179620(0xe6)],'editorConfig':this[_0x179620(0x105)][_0x179620(0x112)]});_0x37db8a[_0x179620(0xe5)]=_0x530c92['id'],_0x37db8a[_0x179620(0xd9)](_0x179620(0xcc))['to'](this),_0x37db8a[_0x179620(0xd9)](_0x179620(0x117))['to'](this),_0x37db8a[_0x179620(0xd9)](_0x179620(0xea))['to'](this),_0x37db8a[_0x179620(0xd9)](_0x179620(0xf1))['to'](this),_0x37db8a[_0x179620(0xd9)](_0x179620(0x124))['to'](this),this[_0x179620(0x11e)](_0x37db8a,_0x179620(0xdb),()=>this[_0x179620(0x113)]()),this[_0x179620(0xdf)][_0x179620(0xfc)](_0x37db8a,_0x2faab6);}[_0x4901ac(0xcb)](_0x5a40ea){const _0x107f25=_0x4901ac,_0x5c1325=this[_0x107f25(0x120)][_0x107f25(0x106)](_0x5a40ea);return this[_0x107f25(0xd3)]?this[_0x107f25(0xd3)][_0x107f25(0x100)]>_0x5a40ea[_0x107f25(0x100)]?_0x5c1325-0x1:_0x5c1325:_0x5c1325-0x1;}[_0x4901ac(0x109)](){const _0x46417a=_0x4901ac;if(this[_0x46417a(0x120)][_0x46417a(0xed)]&&this[_0x46417a(0x120)][_0x46417a(0x104)]){const _0x5e6528={'id':_0x46417a(0x110),'author':this[_0x46417a(0x120)][_0x46417a(0xed)],'authoredAt':this[_0x46417a(0x120)][_0x46417a(0x104)],'content':_0x406600(this[_0x46417a(0x115)],_0x46417a(0xcd)),'attributes':{}};this[_0x46417a(0xd3)]=new this[(_0x46417a(0x105))][(_0x46417a(0xc7))](this[_0x46417a(0x115)],_0x5e6528,{'maxCommentCharsWhenCollapsed':this[_0x46417a(0x105)][_0x46417a(0xd4)],'formatDateTime':this[_0x46417a(0x105)][_0x46417a(0xe6)],'editorConfig':this[_0x46417a(0x105)][_0x46417a(0x112)],'isSystemComment':!0x0}),this[_0x46417a(0xdf)][_0x46417a(0xfc)](this[_0x46417a(0xd3)],this[_0x46417a(0x120)][_0x46417a(0x106)](_0x5e6528));}else this[_0x46417a(0xd3)]&&(this[_0x46417a(0xdf)][_0x46417a(0x11a)](this[_0x46417a(0xd3)]),this[_0x46417a(0xd3)][_0x46417a(0xf8)](),this[_0x46417a(0xd3)]=null);this[_0x46417a(0x121)]();}[_0x4901ac(0xe0)](_0x5ca54b){const _0x18ec9b=_0x4901ac,_0xf2813=this[_0x18ec9b(0xdf)][_0x18ec9b(0x11a)](_0x5ca54b['id']);this[_0x18ec9b(0xff)](_0xf2813),_0xf2813[_0x18ec9b(0xef)]&&this[_0x18ec9b(0x113)](),_0xf2813[_0x18ec9b(0xf8)]();}[_0x4901ac(0x113)](){const _0x55f2b1=_0x4901ac;this[_0x55f2b1(0xdd)]=Array[_0x55f2b1(0xe9)](this[_0x55f2b1(0xdf)])[_0x55f2b1(0xe1)](_0x54ab3a=>_0x54ab3a[_0x55f2b1(0xef)]);}[_0x4901ac(0xe4)](){const _0x391067=_0x4901ac,_0x87dc01=function(_0x288098){const _0xf2bc8c=_0x50d9,_0x4c9b7c=new _0x2d675a();for(const _0x14c391 of _0x288098)_0x4c9b7c[_0xf2bc8c(0xfc)](_0x14c391);return _0x4c9b7c;}(this[_0x391067(0xdf)]),_0x4ff12d=this[_0x391067(0x101)][_0x391067(0xf3)];for(let _0xc5885c=0x1;_0xc5885c<=_0x4ff12d;_0xc5885c++)_0x87dc01[_0x391067(0x11a)](0x1);for(const _0x318eec of _0x87dc01)_0x318eec[_0x391067(0xc8)]();_0x4ff12d>0x0&&_0x87dc01[_0x391067(0xfc)](this[_0x391067(0x101)],0x1),as(_0x503266(Array[_0x391067(0xe9)](this[_0x391067(0xde)]),Array[_0x391067(0xe9)](_0x87dc01)),this[_0x391067(0xde)],_0x87dc01);}[_0x4901ac(0xda)](){const _0x288770=_0x4901ac;as(_0x503266(Array[_0x288770(0xe9)](this[_0x288770(0xde)]),Array[_0x288770(0xe9)](this[_0x288770(0xdf)])),this[_0x288770(0xde)],this[_0x288770(0xdf)]);for(const _0x754c59 of this[_0x288770(0xde)])_0x754c59[_0x288770(0x118)]();}[_0x4901ac(0x125)](){const _0x4d2cd1=_0x4901ac;this[_0x4d2cd1(0xdf)][_0x4d2cd1(0xec)](_0x1830e7=>{const _0x5ae45f=_0x4d2cd1;this[_0x5ae45f(0xf2)][_0x5ae45f(0xfc)](_0x1830e7[_0x5ae45f(0x10b)]),this[_0x5ae45f(0xd6)][_0x5ae45f(0x11e)](_0x1830e7[_0x5ae45f(0x10b)]);}),this[_0x4d2cd1(0xdf)]['on'](_0x4d2cd1(0x103),(_0x2a76f6,_0x3dbe1f)=>{const _0xebb928=_0x4d2cd1;for(const _0x3f4ccf of _0x3dbe1f[_0xebb928(0x122)])this[_0xebb928(0xf2)][_0xebb928(0x11a)](_0x3f4ccf[_0xebb928(0x10b)]),this[_0xebb928(0xd6)][_0xebb928(0xff)](_0x3f4ccf[_0xebb928(0x10b)]);for(const _0x48d735 of Array[_0xebb928(0xe9)](_0x3dbe1f[_0xebb928(0x10d)])[_0xebb928(0xd2)]())this[_0xebb928(0xf2)][_0xebb928(0xfc)](_0x48d735[_0xebb928(0x10b)]),this[_0xebb928(0xd6)][_0xebb928(0x11e)](_0x48d735[_0xebb928(0x10b)]);});}}function _0x2ed4(){const _0x5486e1=['setTemplate','arrowdown','add','1579025zVjvri','4604184qIerpc','stopListening','authoredAt','_collapsedCommentsView','5577GEQqKQ','change','resolvedAt','_config','_findOptimalIndex','commentUpdated','focusCycler','_handleInfoComment','delete','element','357964HPqIdK','added','weight','794LIrbnH','resolved','includes','editorConfig','_updateHasDirtyComment','change:isActive','locale','get','updateComment','expand','change:isResolved','remove','ck-thread__comments','isActive','equal','listenTo','maxThreadTotalWeight','_model','refreshVisibleViews','removed','ck-hidden','editorDestroyed','_setupKeyboardNavigation','10974825BjDCbC','85NZNhTN','CommentView','collapse','render','bindTemplate','_calculatePosition','removeComment','Marked\x20as\x20resolved','4069192qUVgFd','Thread\x20comments','_shouldCollapse','7gpGLdp','reverse','resolvedCommentView','maxCommentCharsWhenCollapsed','focus','keystrokes','set','map','delegate','_rearrangeExpand','change:isEditMode','maxCommentsWhenCollapsed','hasDirtyComment','visibleViews','commentViews','_handleRemoveCommentModel','some','_handleNewCommentModel','focusFirst','_rearrangeCollapse','viewUid','formatDateTime','target','createCollection','from','resolveCommentThread','length','forEach','resolvedBy','arrowup','isEditMode','bind','editorReady','focusTracker','count','insert','26026780GloyMe','comments','focusLast','destroy','change:hasDirtyComment'];_0x2ed4=function(){return _0x5486e1;};return _0x2ed4();}function as(_0x9cc5d6,_0x12537a,_0x5467d4){const _0x3c4755=_0x4901ac;let _0x1f9427=0x0;for(const _0x44b1f1 of _0x9cc5d6)switch(_0x44b1f1){case _0x3c4755(0xf4):_0x12537a[_0x3c4755(0xfc)](_0x5467d4[_0x3c4755(0x116)](_0x1f9427),_0x1f9427),_0x1f9427++;break;case _0x3c4755(0x10a):_0x12537a[_0x3c4755(0x11a)](_0x1f9427);break;case _0x3c4755(0x11d):_0x1f9427++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x9ee5(){const _0x16760d=['ck-context__value','set','883443RBOTda','14uakJgf','1077105mCvrVc','2205818wOUUKR','setTemplate','element','10boPMDn','focus','THREAD_CONTEXT_LABEL','2267428wbeiVC','contextValue','span','bindTemplate','2599512PKwHaH','5aFmTOU','2438988QbEuvo','5691987sBKYuN'];_0x9ee5=function(){return _0x16760d;};return _0x9ee5();}const _0x471084=_0x312f;(function(_0x24532e,_0x42089f){const _0x3527ff=_0x312f,_0x5efe6d=_0x24532e();while(!![]){try{const _0x35cf1b=parseInt(_0x3527ff(0x12d))/0x1+parseInt(_0x3527ff(0x12e))/0x2+-parseInt(_0x3527ff(0x12b))/0x3+-parseInt(_0x3527ff(0x134))/0x4*(-parseInt(_0x3527ff(0x126))/0x5)+-parseInt(_0x3527ff(0x127))/0x6*(parseInt(_0x3527ff(0x12c))/0x7)+-parseInt(_0x3527ff(0x125))/0x8+parseInt(_0x3527ff(0x128))/0x9*(-parseInt(_0x3527ff(0x131))/0xa);if(_0x35cf1b===_0x42089f)break;else _0x5efe6d['push'](_0x5efe6d['shift']());}catch(_0x54c428){_0x5efe6d['push'](_0x5efe6d['shift']());}}}(_0x9ee5,0xa681c));import{View as _0x52c387}from'ckeditor5/src/ui.js';function _0x312f(_0x3d8d0b,_0x5d2d8c){const _0x9ee535=_0x9ee5();return _0x312f=function(_0x312f08,_0x1e2890){_0x312f08=_0x312f08-0x122;let _0x38003b=_0x9ee535[_0x312f08];return _0x38003b;},_0x312f(_0x3d8d0b,_0x5d2d8c);}import{getTranslation as _0x4fc73b}from'../../../utils/common-translations.js';export default class ls extends _0x52c387{constructor(_0x1433d9){const _0x21d22=_0x312f;super(_0x1433d9);const _0x3ec154=this[_0x21d22(0x124)];this[_0x21d22(0x12a)](_0x21d22(0x122),''),this[_0x21d22(0x12f)]({'tag':_0x21d22(0x123),'attributes':{'class':['ck',_0x21d22(0x129)],'aria-label':_0x3ec154['to'](_0x21d22(0x122),_0x7049a7=>_0x4fc73b(_0x1433d9,_0x21d22(0x133),_0x7049a7)),'tabindex':-0x1},'children':[{'text':_0x3ec154['to'](_0x21d22(0x122))}]});}[_0x471084(0x132)](){const _0x2f9e2f=_0x471084;this[_0x2f9e2f(0x130)][_0x2f9e2f(0x132)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5763be=_0x202e;(function(_0x50089f,_0x4c6156){const _0x2970f5=_0x202e,_0x35c43f=_0x50089f();while(!![]){try{const _0x43a33c=parseInt(_0x2970f5(0xe7))/0x1*(-parseInt(_0x2970f5(0xf1))/0x2)+parseInt(_0x2970f5(0xef))/0x3*(parseInt(_0x2970f5(0xb4))/0x4)+-parseInt(_0x2970f5(0xf5))/0x5*(parseInt(_0x2970f5(0xc8))/0x6)+-parseInt(_0x2970f5(0xe9))/0x7+-parseInt(_0x2970f5(0xe2))/0x8*(parseInt(_0x2970f5(0xdc))/0x9)+parseInt(_0x2970f5(0xcb))/0xa*(parseInt(_0x2970f5(0xd9))/0xb)+parseInt(_0x2970f5(0xe5))/0xc;if(_0x43a33c===_0x4c6156)break;else _0x35c43f['push'](_0x35c43f['shift']());}catch(_0x5ec2c9){_0x35c43f['push'](_0x35c43f['shift']());}}}(_0x5a40,0x8a786));function _0x202e(_0x5054a0,_0x2f02b2){const _0x5a40c5=_0x5a40();return _0x202e=function(_0x202e9f,_0xcb3bd8){_0x202e9f=_0x202e9f-0xb2;let _0xb0987e=_0x5a40c5[_0x202e9f];return _0xb0987e;},_0x202e(_0x5054a0,_0x2f02b2);}import{View as _0x4b6a70,ButtonView as _0x4db481,FocusCycler as _0x5e3d44}from'ckeditor5/src/ui.js';import{FocusTracker as _0xa57426,KeystrokeHandler as _0x34b593}from'ckeditor5/src/utils.js';import{getTranslation as _0x58fe55}from'../../../utils/common-translations.js';function _0x5a40(){const _0x10a4f0=['bindTemplate','2NXsLBP','bind','6482105GZyDwp','createCollection','ck-context-wrapper','remove','lastIndexOf','focusFirst','3kiSVfc','mouseenter','494734HcDcqH','...','hasContext','context','3625bQFSoV','isVisible','focus','tab','reopenCommentThread','.ck-context__value','_attachContextActions','ck-thread__header','setTemplate','4151244azgvAt','execute','tooltip','substring','length','classList','_model','isEnabled','focusTracker','listenTo','fire','_createContextView','focusables','scrollWidth','div','ck-annotation__actions','value','label','ck-context','offsetWidth','1674rSTeVg','_createReopenButton','isResolved','22730ZyMrvR','isResolvable','isReadOnly','focusCycler','Comment\x20was\x20made\x20on\x20an\x20element','element','overlay','keystrokes','_trimContextValue','ck-context--quotes','shift+tab','querySelector','contextView','Reopen','2321WCcsas','contextValue','reopenButtonView','18UMmdar','locale','icon','.ck-context','render','_setupKeyboardNavigation','3647888uwDZtk','mouseleave','add','19017072QtNtOh'];_0x5a40=function(){return _0x10a4f0;};return _0x5a40();}import _0x2f2196 from'../../../../theme/icons/undo.svg';import _0x3cad0c from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x4b6a70{constructor(_0x39101f,_0x1ff722){const _0x4f6963=_0x202e;super(_0x39101f);const _0x490928=this[_0x4f6963(0xe6)];this[_0x4f6963(0xba)]=_0x1ff722,this[_0x4f6963(0xdb)]=this[_0x4f6963(0xc9)](),this[_0x4f6963(0xd7)]=this[_0x4f6963(0xbf)](),this[_0x4f6963(0xc0)]=this[_0x4f6963(0xea)]([this[_0x4f6963(0xd7)],this[_0x4f6963(0xdb)]]),this[_0x4f6963(0xbc)]=new _0xa57426(),this[_0x4f6963(0xd2)]=new _0x34b593(),this[_0x4f6963(0xce)]=new _0x5e3d44({'focusables':this[_0x4f6963(0xc0)],'focusTracker':this[_0x4f6963(0xbc)],'keystrokeHandler':this[_0x4f6963(0xd2)],'actions':{'focusPrevious':_0x4f6963(0xd5),'focusNext':_0x4f6963(0xf8)}}),this[_0x4f6963(0xe8)](_0x4f6963(0xf3))['to'](this[_0x4f6963(0xba)],_0x4f6963(0xf4),_0x5b82a2=>!!_0x5b82a2),this[_0x4f6963(0xe8)](_0x4f6963(0xda))['to'](this[_0x4f6963(0xba)],_0x4f6963(0xf4),_0x504ca4=>_0x504ca4&&_0x504ca4[_0x4f6963(0xc4)]?this[_0x4f6963(0xd3)](_0x504ca4[_0x4f6963(0xc4)]):_0x58fe55(this[_0x4f6963(0xdd)],_0x4f6963(0xcf))),this[_0x4f6963(0xb3)]({'tag':_0x4f6963(0xc2),'attributes':{'class':[_0x4f6963(0xb2)]},'children':[{'tag':_0x4f6963(0xc2),'attributes':{'class':[_0x4f6963(0xeb)]},'children':[{'tag':_0x4f6963(0xc2),'attributes':{'class':[_0x4f6963(0xc6),_0x490928['if'](_0x4f6963(0xf3),_0x4f6963(0xd4))]},'children':[this[_0x4f6963(0xd7)]]}]},{'tag':_0x4f6963(0xc2),'attributes':{'class':[_0x4f6963(0xc3)]},'children':[this[_0x4f6963(0xdb)]]}]});}[_0x5763be(0xe0)](){const _0x1d2669=_0x5763be;super[_0x1d2669(0xe0)](),this[_0x1d2669(0xfb)](),this[_0x1d2669(0xe1)]();}[_0x5763be(0xf7)](){const _0x329e92=_0x5763be;this[_0x329e92(0xce)][_0x329e92(0xee)]();}[_0x5763be(0xc9)](){const _0x53273f=_0x5763be,_0x28427c=new _0x4db481(this[_0x53273f(0xdd)]);return _0x28427c[_0x53273f(0xc5)]=_0x58fe55(this[_0x53273f(0xdd)],_0x53273f(0xd8)),_0x28427c[_0x53273f(0xb6)]=_0x58fe55(this[_0x53273f(0xdd)],_0x53273f(0xd8)),_0x28427c[_0x53273f(0xde)]=_0x2f2196,_0x28427c[_0x53273f(0xe8)](_0x53273f(0xbb))['to'](this[_0x53273f(0xba)],_0x53273f(0xcd),_0x333b3a=>!_0x333b3a),_0x28427c[_0x53273f(0xe8)](_0x53273f(0xf6))['to'](this[_0x53273f(0xba)],_0x53273f(0xcc),this[_0x53273f(0xba)],_0x53273f(0xca),(_0x35bff0,_0x8d5243)=>_0x35bff0&&_0x8d5243),_0x28427c['on'](_0x53273f(0xb5),()=>{const _0x3eda44=_0x53273f;this[_0x3eda44(0xbe)](_0x3eda44(0xf9),this[_0x3eda44(0xba)]['id']);}),_0x28427c;}[_0x5763be(0xd3)](_0x44c39d){const _0x37cc66=_0x5763be;if(_0x44c39d[_0x37cc66(0xb8)]<0x96)return _0x44c39d;const _0x5bd4c9=_0x44c39d[_0x37cc66(0xed)]('\x20',0x93);return _0x44c39d[_0x37cc66(0xb7)](0x0,_0x5bd4c9>-0x1?_0x5bd4c9:0x93)+_0x37cc66(0xf2);}[_0x5763be(0xfb)](){const _0x110a33=_0x5763be,_0x1cfd9d=this[_0x110a33(0xd0)][_0x110a33(0xd6)](_0x110a33(0xdf)),_0x4d2355=_0x1cfd9d[_0x110a33(0xd6)](_0x110a33(0xfa));this[_0x110a33(0xbd)](_0x1cfd9d,_0x110a33(0xf0),()=>{const _0x23f255=_0x110a33;_0x4d2355[_0x23f255(0xc7)]<_0x4d2355[_0x23f255(0xc1)]&&_0x1cfd9d[_0x23f255(0xb9)][_0x23f255(0xe4)](_0x23f255(0xd1));}),this[_0x110a33(0xbd)](_0x1cfd9d,_0x110a33(0xe3),()=>{const _0x53e357=_0x110a33;_0x1cfd9d[_0x53e357(0xb9)][_0x53e357(0xec)](_0x53e357(0xd1));});}[_0x5763be(0xe1)](){const _0x1f05fc=_0x5763be;this[_0x1f05fc(0xd2)][_0x1f05fc(0xbd)](this[_0x1f05fc(0xd0)]);for(const _0x4c8a71 of this[_0x1f05fc(0xc0)])this[_0x1f05fc(0xbc)][_0x1f05fc(0xe4)](_0x4c8a71[_0x1f05fc(0xd0)]),this[_0x1f05fc(0xd2)][_0x1f05fc(0xbd)](_0x4c8a71[_0x1f05fc(0xd0)]);}[_0x5763be(0xbf)](){const _0x1ec836=_0x5763be,_0x2d5f01=new _0x3cad0c(this[_0x1ec836(0xdd)]);return _0x2d5f01[_0x1ec836(0xe8)](_0x1ec836(0xda))['to'](this),_0x2d5f01;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ab8d9=_0x242f;(function(_0x2fabbc,_0x4637a2){const _0x46a2e0=_0x242f,_0x22cc17=_0x2fabbc();while(!![]){try{const _0x3c1e33=-parseInt(_0x46a2e0(0x158))/0x1+parseInt(_0x46a2e0(0x16c))/0x2+-parseInt(_0x46a2e0(0x166))/0x3+-parseInt(_0x46a2e0(0x15b))/0x4+-parseInt(_0x46a2e0(0x15d))/0x5+parseInt(_0x46a2e0(0x15a))/0x6+parseInt(_0x46a2e0(0x159))/0x7;if(_0x3c1e33===_0x4637a2)break;else _0x22cc17['push'](_0x22cc17['shift']());}catch(_0x581031){_0x22cc17['push'](_0x22cc17['shift']());}}}(_0x51b6,0x2059e));import{View as _0x236a92}from'ckeditor5/src/ui.js';function _0x242f(_0x410e80,_0x376bc0){const _0x51b6bc=_0x51b6();return _0x242f=function(_0x242ff5,_0x5a5a9f){_0x242ff5=_0x242ff5-0x14f;let _0x3096ea=_0x51b6bc[_0x242ff5];return _0x3096ea;},_0x242f(_0x410e80,_0x376bc0);}import _0x598f86 from'./commentinputview.js';function _0x51b6(){const _0x17ad9b=['812910qzECHx','1002112xFttTw','ck-comment__input-container--active','1092450GKltnu','ck-thread__user','isFocused','change:showInput','showInput','focus','ck-thread__input','editorReady','mousedown','627813LbyYoI','showButtons','destroy','then','value','ck-comment__input-container','28408VjoZle','view','userView','filter','getDomRoot','listenTo','editing','extendTemplate','div','contains','editorDestroyed','set','createEditor','render','editor','element','setTemplate','preventDefault','bind','bindTemplate','some','focusTracker','delegate','target','_focusOnNonInteractiveMouseDown','focusCycler','commentInputView','244655ubacGM','6340355ITczSW'];_0x51b6=function(){return _0x17ad9b;};return _0x51b6();}import{UserView as _0x4d9d7e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x236a92{constructor(_0x2a67f7,_0x5a6178,_0x3b5c65){const _0x130b10=_0x242f;super(_0x2a67f7),this[_0x130b10(0x157)]=new _0x598f86(_0x2a67f7,_0x3b5c65),this[_0x130b10(0x156)]=this[_0x130b10(0x157)][_0x130b10(0x156)],this[_0x130b10(0x157)][_0x130b10(0x14f)](_0x130b10(0x167))['to'](this[_0x130b10(0x157)][_0x130b10(0x152)],_0x130b10(0x15f),this[_0x130b10(0x157)],_0x130b10(0x16a),(_0x22cec4,_0x8d1ba2)=>_0x22cec4||!!_0x8d1ba2),this[_0x130b10(0x177)](_0x130b10(0x161),!0x1),this['on'](_0x130b10(0x160),()=>{const _0x347e4a=_0x130b10;this[_0x347e4a(0x161)]&&!this[_0x347e4a(0x157)][_0x347e4a(0x17a)]&&this[_0x347e4a(0x157)][_0x347e4a(0x178)]();}),this[_0x130b10(0x157)][_0x130b10(0x153)](_0x130b10(0x164))['to'](this),this[_0x130b10(0x157)][_0x130b10(0x153)](_0x130b10(0x176))['to'](this),this[_0x130b10(0x16e)]=new _0x4d9d7e(_0x2a67f7,_0x5a6178),this[_0x130b10(0x16e)][_0x130b10(0x173)]({'attributes':{'class':_0x130b10(0x15e),'aria-hidden':!0x0}}),this[_0x130b10(0x157)][_0x130b10(0x173)]({'attributes':{'class':_0x130b10(0x163)}}),this[_0x130b10(0x17c)]({'tag':_0x130b10(0x174),'attributes':{'class':[_0x130b10(0x16b),this[_0x130b10(0x150)]['if'](_0x130b10(0x161),_0x130b10(0x15c))]},'children':[this[_0x130b10(0x16e)],this[_0x130b10(0x157)]]});}[_0x3ab8d9(0x179)](){const _0x1f646b=_0x3ab8d9;super[_0x1f646b(0x179)](),this[_0x1f646b(0x155)]();}[_0x3ab8d9(0x168)](){const _0x588adf=_0x3ab8d9;return this[_0x588adf(0x157)][_0x588adf(0x168)]()[_0x588adf(0x169)](()=>super[_0x588adf(0x168)]());}[_0x3ab8d9(0x162)](_0x3f4f0a){const _0x2c887e=_0x3ab8d9;this[_0x2c887e(0x157)][_0x2c887e(0x162)](_0x3f4f0a);}[_0x3ab8d9(0x155)](){const _0x54eaee=_0x3ab8d9;this[_0x54eaee(0x171)](this[_0x54eaee(0x17b)],_0x54eaee(0x165),(_0x3e1289,_0x370186)=>{const _0xe8038b=_0x54eaee,{submitButtonView:_0x2919e5,cancelButtonView:_0x59de35,editor:_0x366e61}=this[_0xe8038b(0x157)];[_0x2919e5[_0xe8038b(0x17b)],_0x59de35[_0xe8038b(0x17b)],_0x366e61?_0x366e61[_0xe8038b(0x172)][_0xe8038b(0x16d)][_0xe8038b(0x170)]():null][_0xe8038b(0x16f)](_0x1023ce=>_0x1023ce)[_0xe8038b(0x151)](_0xcb22fa=>_0xcb22fa[_0xe8038b(0x175)](_0x370186[_0xe8038b(0x154)]))||(this[_0xe8038b(0x162)](),_0x370186[_0xe8038b(0x17d)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x31c9(){const _0x56fc2b=['removeConfirm','5570ZJSGdA','ck-rounded-corners','showConfirm','ck-reset_all-excluded','remove','focus','ck-thread','length','24TipShn','check','render','Delete\x20comment\x20thread?','ck-comment--resolve','locale','removeButton','div','stop','commentThreadHeaderView','5MEEkMo','ck-thread--unlinked','change:archivedAt','_model','unbind','element','then','_boundFirstCommentView','5381166pzSGMv','bind','isReadOnly','ck-thread--','127270IdNOSs','extendTemplate','execute','ck-thread--remove-confirmation','tooltip','resolveCommentThread','isResolvable','cancelConfirm','listitem','ck-thread--active','commentThreadChildren','4353559Wiqxtb','change:isActive','isSystemComment','listenTo','229JdXZul','isResolved','actionIndicator','isEnabled','isUnlinked','actionBar','_cancelAllConfirms','isVisible','focusables','1144KPWIsd','_createResolveButton','ariaDescriptionView','isActive','icon','ck-thread__container','Write\x20a\x20comment...','containerElement','commentsListView','createCollection','bindTemplate','get','removeCommentThread','placeholder','archivedAt','setTemplate','15581988jcccWd','2648187fdGAEB','isConfirm','_bindFirstCommentView','.ck-thread__container','querySelector','label','getTemplate','resolveButton','fire','change:isReadOnly','add','commentThreadInputView','ariaLabel','has','Resolve','set','7205812ELJnVJ','high','commentViews','_updateArchivedThreadHeader'];_0x31c9=function(){return _0x56fc2b;};return _0x31c9();}const _0x5eb11d=_0x52bf;function _0x52bf(_0x58eddb,_0x1947dc){const _0x31c935=_0x31c9();return _0x52bf=function(_0x52bf1f,_0x521800){_0x52bf1f=_0x52bf1f-0x137;let _0xf7dcee=_0x31c935[_0x52bf1f];return _0xf7dcee;},_0x52bf(_0x58eddb,_0x1947dc);}(function(_0x3fd42b,_0xcf391d){const _0x370f8d=_0x52bf,_0xa691b6=_0x3fd42b();while(!![]){try{const _0x4f8b21=parseInt(_0x370f8d(0x148))/0x1*(parseInt(_0x370f8d(0x177))/0x2)+-parseInt(_0x370f8d(0x162))/0x3+-parseInt(_0x370f8d(0x172))/0x4*(-parseInt(_0x370f8d(0x189))/0x5)+parseInt(_0x370f8d(0x191))/0x6+-parseInt(_0x370f8d(0x144))/0x7*(parseInt(_0x370f8d(0x17f))/0x8)+parseInt(_0x370f8d(0x161))/0x9+parseInt(_0x370f8d(0x139))/0xa*(-parseInt(_0x370f8d(0x151))/0xb);if(_0x4f8b21===_0xcf391d)break;else _0xa691b6['push'](_0xa691b6['shift']());}catch(_0x4135ba){_0xa691b6['push'](_0xa691b6['shift']());}}}(_0x31c9,0xf2fbf));import{ConfirmMixin as _0x382741,LateFocusButtonView as _0x156655}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x19150e}from'ckeditor5/src/core.js';import _0x4971d4 from'./basecommentthreadview.js';import{getTranslation as _0x1b84ce}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x382741(_0x4971d4){constructor(_0x53180a,_0x4292c7,_0x2bfa28,_0x140dcb){const _0x593d92=_0x52bf;super(_0x53180a,_0x4292c7,_0x2bfa28,_0x140dcb),this[_0x593d92(0x143)]=this[_0x593d92(0x15a)]([this[_0x593d92(0x159)],this[_0x593d92(0x16d)],this[_0x593d92(0x153)]]),this[_0x593d92(0x171)](_0x593d92(0x14a),null),this[_0x593d92(0x158)]=null,this[_0x593d92(0x190)]=null,this[_0x593d92(0x184)]=_0x53180a,this[_0x593d92(0x169)]=this[_0x593d92(0x152)](),this[_0x593d92(0x160)](this[_0x593d92(0x168)]()),this['on'](_0x593d92(0x145),(_0x9e1829,_0x32e7ab,_0x5a45db)=>{const _0x447b03=_0x593d92;_0x5a45db||this[_0x447b03(0x14e)]();}),this[_0x593d92(0x147)](this[_0x593d92(0x18c)],_0x593d92(0x16b),(_0x1b8afa,_0x366ce4,_0x273806)=>{const _0x203856=_0x593d92;_0x273806&&this[_0x203856(0x14e)]();}),this[_0x593d92(0x17e)]>0x0&&this[_0x593d92(0x164)](),this[_0x593d92(0x147)](this[_0x593d92(0x159)][_0x593d92(0x174)],_0x593d92(0x16c),()=>{const _0x5a669c=_0x593d92;this[_0x5a669c(0x164)]();});}[_0x5eb11d(0x168)](){const _0x21db74=_0x5eb11d,_0x451744=this[_0x21db74(0x15b)];return{'tag':_0x21db74(0x186),'attributes':{'class':['ck',_0x21db74(0x17d),_0x21db74(0x17a),_0x21db74(0x178),_0x451744['if'](_0x21db74(0x154),_0x21db74(0x142)),_0x451744['if'](_0x21db74(0x14c),_0x21db74(0x18a)),_0x451744['if'](_0x21db74(0x163),_0x21db74(0x13c)),_0x451744['to'](_0x21db74(0x14a),_0x405aea=>_0x405aea?_0x21db74(0x138)+_0x405aea:'')],'data-thread-id':this[_0x21db74(0x18c)]['id'],'tabindex':0x0,'role':_0x21db74(0x141),'aria-label':_0x451744['to'](_0x21db74(0x16e)),'aria-describedby':this[_0x21db74(0x153)]['id']},'children':[{'tag':_0x21db74(0x186),'attributes':{'class':_0x21db74(0x156)},'children':this[_0x21db74(0x143)]}]};}[_0x5eb11d(0x181)](){const _0x173b5d=_0x5eb11d;super[_0x173b5d(0x181)](),this[_0x173b5d(0x158)]=this[_0x173b5d(0x18e)][_0x173b5d(0x166)](_0x173b5d(0x165)),this[_0x173b5d(0x18c)]['on'](_0x173b5d(0x18b),()=>{const _0x4e40ad=_0x173b5d;this[_0x4e40ad(0x175)]();}),this[_0x173b5d(0x175)]();}[_0x5eb11d(0x14e)](){const _0x5bba76=_0x5eb11d;this[_0x5bba76(0x140)]();for(const _0x51cfe6 of this[_0x5bba76(0x159)][_0x5bba76(0x174)])_0x51cfe6[_0x5bba76(0x140)]();}[_0x5eb11d(0x164)](){const _0x56ebc5=_0x5eb11d,{locale:_0x5ee362}=this,_0x46c758=this[_0x56ebc5(0x159)][_0x56ebc5(0x174)][_0x56ebc5(0x15c)](0x0);_0x46c758===this[_0x56ebc5(0x190)]||_0x46c758[_0x56ebc5(0x146)]||(this[_0x56ebc5(0x190)]=_0x46c758,this[_0x56ebc5(0x18d)](_0x56ebc5(0x14a)),this[_0x56ebc5(0x192)](_0x56ebc5(0x14a))['to'](_0x46c758,_0x56ebc5(0x14a),_0x450316=>_0x56ebc5(0x17b)===_0x450316?_0x56ebc5(0x17b):null),_0x46c758[_0x56ebc5(0x15e)]=_0x1b84ce(_0x5ee362,_0x56ebc5(0x157)),_0x46c758[_0x56ebc5(0x185)]['on'](_0x56ebc5(0x13b),_0x1f5719=>{const _0x40860a=_0x56ebc5;_0x1f5719[_0x40860a(0x187)](),this[_0x40860a(0x179)](_0x1b84ce(_0x5ee362,_0x40860a(0x182)),this[_0x40860a(0x158)])[_0x40860a(0x18f)](()=>{const _0x2fc20f=_0x40860a;this[_0x2fc20f(0x16a)](_0x2fc20f(0x15d));});},{'priority':_0x56ebc5(0x173)}),this['on'](_0x56ebc5(0x176),()=>{const _0x17bdd1=_0x56ebc5;_0x46c758[_0x17bdd1(0x17c)]();}),_0x46c758[_0x56ebc5(0x14d)][_0x56ebc5(0x16c)](this[_0x56ebc5(0x169)],0x0),_0x46c758[_0x56ebc5(0x150)][_0x56ebc5(0x16c)](this[_0x56ebc5(0x169)],0x0));}[_0x5eb11d(0x152)](){const _0x1a441f=_0x5eb11d,_0x5c2a56=new _0x156655(this[_0x1a441f(0x184)]);return _0x5c2a56[_0x1a441f(0x167)]=_0x1b84ce(this[_0x1a441f(0x184)],_0x1a441f(0x170)),_0x5c2a56[_0x1a441f(0x13d)]=_0x1b84ce(this[_0x1a441f(0x184)],_0x1a441f(0x170)),_0x5c2a56[_0x1a441f(0x155)]=_0x19150e[_0x1a441f(0x180)],_0x5c2a56[_0x1a441f(0x13a)]({'attributes':{'class':_0x1a441f(0x183)}}),_0x5c2a56[_0x1a441f(0x192)](_0x1a441f(0x14b))['to'](this[_0x1a441f(0x18c)],_0x1a441f(0x137),_0x3f5f64=>!_0x3f5f64),_0x5c2a56[_0x1a441f(0x192)](_0x1a441f(0x14f))['to'](this[_0x1a441f(0x18c)],_0x1a441f(0x13f),this[_0x1a441f(0x18c)],_0x1a441f(0x149),(_0x23cf23,_0x58b77f)=>_0x23cf23&&!_0x58b77f),_0x5c2a56['on'](_0x1a441f(0x13b),()=>{const _0x5b6e8e=_0x1a441f;this[_0x5b6e8e(0x16a)](_0x5b6e8e(0x13e),this[_0x5b6e8e(0x18c)]['id']);}),_0x5c2a56;}[_0x5eb11d(0x175)](){const _0x2d688d=_0x5eb11d;this[_0x2d688d(0x18c)][_0x2d688d(0x15f)]?this[_0x2d688d(0x143)][_0x2d688d(0x16f)](this[_0x2d688d(0x188)])||(this[_0x2d688d(0x143)][_0x2d688d(0x16c)](this[_0x2d688d(0x188)],0x0),this[_0x2d688d(0x150)][_0x2d688d(0x16c)](this[_0x2d688d(0x188)],0x0)):this[_0x2d688d(0x143)][_0x2d688d(0x16f)](this[_0x2d688d(0x188)])&&(this[_0x2d688d(0x143)][_0x2d688d(0x17b)](this[_0x2d688d(0x188)]),this[_0x2d688d(0x150)][_0x2d688d(0x17b)](this[_0x2d688d(0x188)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2562(){const _0x34382e=['visibleView','locale','group','_createEditButton','isExternal','removeComment','isSystemComment','ck-comment--','ariaLabel','threeVerticalDots','fire','Delete\x20comment?','5273810XXTNAx','length','ck-comment__info-time','763752jTXcET','items','isVisible','actionIndicator','add','some','actionBar','set','1284SGAGpl','isEditMode','then','focusables','ck-comment--info','execute','bindTemplate','element','_model','switchToEditMode','Show\x20more\x20items','ck-comment__user','blur','ck-comment','isEditable','createCollection','ck-comment__actions--hidden','ck-annotation','Reply...','16hlvsrC','authoredAt','615MwcOGq','ck-annotation__user','ck-comment__external','3517150cIEZlS','mouseleave','placeholder','_config','dropdown','span','listenTo','pencil','label','ck-comment__info-name','_attachActions','unbind','editButton','showConfirm','ck-annotation__main','Remove','91410PChCNy','ariaDescriptionView','ck-annotation__content-wrapper','children','ck-comment--remove','change:isRemovable','panelPosition','5068AjlqGx','ck-annotation__info-time','bind','focus','ck-comment__wrapper','listitem','ck-comment--remove-confirmation','ck-hidden','ck-annotation__info','isConfirm','ck-annotation__info-name','userView','2754162acZBsT','addMany','formatDateTime','Edit','getExternalCommentNote','withText','buttonView','from','author','ck-comment__actions','isReadOnly','ck-comment__main','remove','name','ck-annotation__actions--hidden','_createRemoveButton','render','setTemplate','cancelConfirm','toMany','ck-comment__info','removeButton','getUserViewNotificationText','icon','isEnabled','isRemovable','find','extendTemplate','time','ck-annotation__actions','edit','getTemplate','ck-comment--edit','_createCommentInputView','push','resolvedAt','div','mouseenter','_createDropdown','panelView','678UDEdbG'];_0x2562=function(){return _0x34382e;};return _0x2562();}const _0x4ce58e=_0x65f3;(function(_0x15a00,_0x405933){const _0x2a57c7=_0x65f3,_0x630de0=_0x15a00();while(!![]){try{const _0x3dc04d=parseInt(_0x2a57c7(0x171))/0x1+parseInt(_0x2a57c7(0x131))/0x2*(parseInt(_0x2a57c7(0x15e))/0x3)+-parseInt(_0x2a57c7(0x141))/0x4+-parseInt(_0x2a57c7(0x161))/0x5+-parseInt(_0x2a57c7(0x149))/0x6*(-parseInt(_0x2a57c7(0x178))/0x7)+parseInt(_0x2a57c7(0x15c))/0x8*(parseInt(_0x2a57c7(0x184))/0x9)+parseInt(_0x2a57c7(0x13e))/0xa;if(_0x3dc04d===_0x405933)break;else _0x630de0['push'](_0x630de0['shift']());}catch(_0x4918da){_0x630de0['push'](_0x630de0['shift']());}}}(_0x2562,0x88efa));import{ButtonView as _0xfa2539,createDropdown as _0x900cce,ListView as _0x34c74f,ListItemView as _0x7650a2,focusChildOnDropdownOpen as _0x375f90}from'ckeditor5/src/ui.js';function _0x65f3(_0x8f22da,_0x3cd14e){const _0x25629b=_0x2562();return _0x65f3=function(_0x65f3f4,_0x3facbc){_0x65f3f4=_0x65f3f4-0x11a;let _0x562188=_0x25629b[_0x65f3f4];return _0x562188;},_0x65f3(_0x8f22da,_0x3cd14e);}import{icons as _0x44eba0}from'ckeditor5/src/core.js';import{UserView as _0x5d93b0,ConfirmMixin as _0x2a80ef,LateFocusDropdownButtonView as _0x2df943}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1450ba from'./basecommentview.js';import _0x4b2836 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x178976}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a80ef(_0x1450ba){constructor(_0x1aa642,_0x8be388,_0x46913b){const _0x488e04=_0x65f3;super(_0x1aa642,_0x8be388,_0x46913b),this[_0x488e04(0x148)](_0x488e04(0x144),null),this[_0x488e04(0x148)](_0x488e04(0x163),_0x178976(_0x1aa642,_0x488e04(0x15b))),this[_0x488e04(0x17a)](_0x488e04(0x15d))['to'](_0x8be388),this[_0x488e04(0x17a)](_0x488e04(0x12c))['to'](_0x8be388),this[_0x488e04(0x147)]=this[_0x488e04(0x158)](),this[_0x488e04(0x138)]||(this[_0x488e04(0x16d)]=this[_0x488e04(0x135)](),this[_0x488e04(0x11e)]=this[_0x488e04(0x193)](),this[_0x488e04(0x142)]=this[_0x488e04(0x158)](),this[_0x488e04(0x142)][_0x488e04(0x185)]([this[_0x488e04(0x16d)],this[_0x488e04(0x11e)]]),this[_0x488e04(0x165)]=this[_0x488e04(0x12f)](),this[_0x488e04(0x147)][_0x488e04(0x145)](this[_0x488e04(0x165)]),this[_0x488e04(0x14c)][_0x488e04(0x145)](this[_0x488e04(0x165)])),this[_0x488e04(0x183)]=new _0x5d93b0(_0x1aa642,_0x8be388[_0x488e04(0x18c)],this[_0x488e04(0x11f)]()),this[_0x488e04(0x183)][_0x488e04(0x124)]({'attributes':{'class':[_0x488e04(0x154),_0x488e04(0x15f)],'aria-hidden':!0x0}}),this[_0x488e04(0x167)](_0x8be388,_0x488e04(0x176),()=>this[_0x488e04(0x11b)]()),this[_0x488e04(0x11a)](this[_0x488e04(0x128)]());}[_0x4ce58e(0x128)](){const _0x1e6563=_0x4ce58e,_0xfc3252=this[_0x1e6563(0x14f)],_0x11dbb3=[{'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x11d),_0x1e6563(0x180)]},'children':[{'tag':_0x1e6563(0x166),'children':[{'text':this[_0x1e6563(0x183)][_0x1e6563(0x191)]}],'attributes':{'class':[_0x1e6563(0x16a),_0x1e6563(0x182)],'data-cke-tooltip-text':this[_0x1e6563(0x183)][_0x1e6563(0x191)]}},{'tag':_0x1e6563(0x125),'attributes':{'datetime':_0xfc3252['to'](_0x1e6563(0x15d)),'class':[_0x1e6563(0x140),_0x1e6563(0x179)]},'children':[{'text':_0xfc3252['to'](_0x1e6563(0x15d),_0x532bb6=>this[_0x1e6563(0x164)][_0x1e6563(0x186)](_0x532bb6))}]}]},{'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x18d),_0x1e6563(0x126),_0xfc3252['if'](_0x1e6563(0x14a),_0x1e6563(0x159)),_0xfc3252['if'](_0x1e6563(0x14a),_0x1e6563(0x192))]},'children':this[_0x1e6563(0x147)]},{'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x173)]},'children':this[_0x1e6563(0x132)]},this[_0x1e6563(0x172)]];return this[_0x1e6563(0x151)][_0x1e6563(0x136)]&&_0x11dbb3[_0x1e6563(0x12b)]({'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x160)]},'children':[{'text':this[_0x1e6563(0x188)]()}]}),{'tag':'li','attributes':{'class':[_0x1e6563(0x17c),_0xfc3252['if'](_0x1e6563(0x181),_0x1e6563(0x17e))],'tabindex':-0x1,'aria-label':_0xfc3252['to'](_0x1e6563(0x13a)),'aria-describedby':this[_0x1e6563(0x172)]['id'],'role':_0x1e6563(0x17d)},'children':[{'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x156),_0x1e6563(0x15a),_0xfc3252['if'](_0x1e6563(0x14a),_0x1e6563(0x129)),_0xfc3252['if'](_0x1e6563(0x138),_0x1e6563(0x14d)),_0xfc3252['to'](_0x1e6563(0x144),_0x50c372=>_0x50c372?_0x1e6563(0x139)+_0x50c372:'')],'data-author-id':this[_0x1e6563(0x151)][_0x1e6563(0x18c)]['id'],'data-comment-id':this[_0x1e6563(0x151)]['id'],'role':_0x1e6563(0x134)},'children':[this[_0x1e6563(0x183)],{'tag':_0x1e6563(0x12d),'attributes':{'class':[_0x1e6563(0x18f),_0x1e6563(0x16f)]},'children':_0x11dbb3}]}]};}[_0x4ce58e(0x135)](){const _0x5d7c7b=_0x4ce58e,_0x3a4915=new _0xfa2539(this[_0x5d7c7b(0x133)]);return _0x3a4915[_0x5d7c7b(0x169)]=_0x178976(this[_0x5d7c7b(0x133)],_0x5d7c7b(0x187)),_0x3a4915[_0x5d7c7b(0x120)]=_0x44eba0[_0x5d7c7b(0x168)],_0x3a4915[_0x5d7c7b(0x189)]=!0x0,_0x3a4915[_0x5d7c7b(0x124)]({'attributes':{'class':_0x5d7c7b(0x129)}}),_0x3a4915[_0x5d7c7b(0x17a)](_0x5d7c7b(0x121))['to'](this[_0x5d7c7b(0x151)],_0x5d7c7b(0x18e),_0x16b693=>!_0x16b693),_0x3a4915[_0x5d7c7b(0x17a)](_0x5d7c7b(0x143))['to'](this[_0x5d7c7b(0x151)],_0x5d7c7b(0x157)),_0x3a4915['on'](_0x5d7c7b(0x14e),()=>this[_0x5d7c7b(0x152)]()),_0x3a4915;}[_0x4ce58e(0x193)](){const _0x7f1942=_0x4ce58e,_0x7050b5=new _0xfa2539(this[_0x7f1942(0x133)]);return _0x7050b5[_0x7f1942(0x169)]=_0x178976(this[_0x7f1942(0x133)],_0x7f1942(0x170)),_0x7050b5[_0x7f1942(0x120)]=_0x4b2836,_0x7050b5[_0x7f1942(0x189)]=!0x0,_0x7050b5[_0x7f1942(0x124)]({'attributes':{'class':_0x7f1942(0x175)}}),_0x7050b5[_0x7f1942(0x17a)](_0x7f1942(0x121))['to'](this[_0x7f1942(0x151)],_0x7f1942(0x18e),_0x490767=>!_0x490767),_0x7050b5[_0x7f1942(0x17a)](_0x7f1942(0x143))['to'](this[_0x7f1942(0x151)],_0x7f1942(0x122)),_0x7050b5['on'](_0x7f1942(0x14e),()=>{const _0x4c3229=_0x7f1942;this[_0x4c3229(0x16e)](_0x178976(this[_0x4c3229(0x133)],_0x4c3229(0x13d)),this[_0x4c3229(0x150)])[_0x4c3229(0x14b)](()=>{const _0x9b13eb=_0x4c3229;this[_0x9b13eb(0x13c)](_0x9b13eb(0x137),this[_0x9b13eb(0x151)]['id']);});}),_0x7050b5;}[_0x4ce58e(0x12f)](){const _0x4b60ee=_0x4ce58e,_0x4a1079=_0x900cce(this[_0x4b60ee(0x133)],_0x2df943),_0x416a5f=_0x4a1079[_0x4b60ee(0x130)][_0x4b60ee(0x174)],_0x1ee8b9=new _0x34c74f(this[_0x4b60ee(0x133)]),_0x20135d=_0x4a1079[_0x4b60ee(0x14f)];_0x375f90(_0x4a1079,()=>this[_0x4b60ee(0x142)][_0x4b60ee(0x123)](_0x4255ce=>_0x4255ce[_0x4b60ee(0x143)])),_0x4a1079[_0x4b60ee(0x124)]({'attributes':{'class':[_0x20135d['if'](_0x4b60ee(0x143),_0x4b60ee(0x17f),_0x10c91e=>!_0x10c91e)]}});const _0x5b8f8d=(_0x3efae1,_0x65bd9c=-0x1)=>{const _0x49842b=_0x4b60ee,_0x461f2b=new _0x7650a2(this[_0x49842b(0x133)]);_0x461f2b[_0x49842b(0x174)][_0x49842b(0x145)](_0x3efae1);const _0x4bac4e=_0x65bd9c>-0x1?_0x65bd9c:_0x1ee8b9[_0x49842b(0x142)][_0x49842b(0x13f)];_0x1ee8b9[_0x49842b(0x142)][_0x49842b(0x145)](_0x461f2b,_0x4bac4e);const _0x3bfae4=Array[_0x49842b(0x18b)](this[_0x49842b(0x142)]);_0x4a1079[_0x49842b(0x16c)](_0x49842b(0x121),_0x49842b(0x143)),_0x4a1079[_0x49842b(0x17a)](_0x49842b(0x121))[_0x49842b(0x11c)](_0x3bfae4,_0x49842b(0x121),(..._0x110a01)=>_0x110a01[_0x49842b(0x146)](_0x2817fc=>_0x2817fc)),_0x4a1079[_0x49842b(0x17a)](_0x49842b(0x143))[_0x49842b(0x11c)](_0x3bfae4,_0x49842b(0x143),(..._0x4fd21a)=>_0x4fd21a[_0x49842b(0x146)](_0x1963d7=>_0x1963d7));};_0x4a1079[_0x4b60ee(0x177)]='sw',_0x4a1079[_0x4b60ee(0x18a)][_0x4b60ee(0x148)]({'label':_0x178976(this[_0x4b60ee(0x133)],_0x4b60ee(0x153)),'icon':_0x44eba0[_0x4b60ee(0x13b)]});for(const _0x524c12 of this[_0x4b60ee(0x142)])_0x5b8f8d(_0x524c12);return _0x416a5f[_0x4b60ee(0x145)](_0x1ee8b9),_0x4a1079[_0x4b60ee(0x167)](this[_0x4b60ee(0x142)],_0x4b60ee(0x145),(_0x3dd2f4,_0xa7cb98,_0x5bd6df)=>{_0x5b8f8d(_0xa7cb98,_0x5bd6df);}),_0x4a1079[_0x4b60ee(0x167)](this[_0x4b60ee(0x142)],_0x4b60ee(0x190),(_0x3597a9,_0x3d07c7,_0x2265e0)=>{const _0x3ff2af=_0x4b60ee;_0x1ee8b9[_0x3ff2af(0x142)][_0x3ff2af(0x190)](_0x2265e0);}),_0x4a1079;}[_0x4ce58e(0x16b)](_0x5de168,_0x5e0734){const _0x2102ec=_0x4ce58e,_0x4fdc33=_0x5de168&&_0x5de168[_0x2102ec(0x150)];_0x4fdc33&&(this[_0x2102ec(0x167)](_0x4fdc33,_0x2102ec(0x12e),()=>this[_0x2102ec(0x144)]=_0x5e0734),this[_0x2102ec(0x167)](_0x4fdc33,_0x2102ec(0x17b),()=>this[_0x2102ec(0x144)]=_0x5e0734),this[_0x2102ec(0x167)](_0x4fdc33,_0x2102ec(0x162),()=>this[_0x2102ec(0x144)]=null),this[_0x2102ec(0x167)](_0x4fdc33,_0x2102ec(0x155),()=>this[_0x2102ec(0x144)]=null));}[_0x4ce58e(0x12a)](){const _0x31b52e=_0x4ce58e,_0x3a33e3=super[_0x31b52e(0x12a)]();return _0x3a33e3[_0x31b52e(0x17a)](_0x31b52e(0x163))['to'](this),_0x3a33e3;}[_0x4ce58e(0x194)](){const _0x190e8e=_0x4ce58e;super[_0x190e8e(0x194)](),this[_0x190e8e(0x16b)](this[_0x190e8e(0x16d)],_0x190e8e(0x127)),this[_0x190e8e(0x16b)](this[_0x190e8e(0x11e)],_0x190e8e(0x190));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x8e3057=_0x306f;(function(_0xbebc56,_0x368a57){var _0x326e60=_0x306f,_0x16d88a=_0xbebc56();while(!![]){try{var _0x1cd4fa=parseInt(_0x326e60(0x195))/0x1*(-parseInt(_0x326e60(0x19a))/0x2)+parseInt(_0x326e60(0x18f))/0x3*(-parseInt(_0x326e60(0x191))/0x4)+parseInt(_0x326e60(0x18e))/0x5*(-parseInt(_0x326e60(0x199))/0x6)+-parseInt(_0x326e60(0x198))/0x7+parseInt(_0x326e60(0x19d))/0x8*(parseInt(_0x326e60(0x19b))/0x9)+parseInt(_0x326e60(0x190))/0xa+parseInt(_0x326e60(0x194))/0xb;if(_0x1cd4fa===_0x368a57)break;else _0x16d88a['push'](_0x16d88a['shift']());}catch(_0xb2b8cc){_0x16d88a['push'](_0x16d88a['shift']());}}}(_0x8c75,0xf1503));import{Plugin as _0x42f8b3}from'ckeditor5/src/core.js';import _0x199b75 from'./comments/commentsrepository.js';function _0x306f(_0x87945d,_0x48b088){var _0x8c75f7=_0x8c75();return _0x306f=function(_0x306f7d,_0x9c0812){_0x306f7d=_0x306f7d-0x18e;var _0xfae6d6=_0x8c75f7[_0x306f7d];return _0xfae6d6;},_0x306f(_0x87945d,_0x48b088);}import _0x2cd419 from'./comments/commentsediting.js';import _0x5781ee from'./comments/commentsui.js';import _0x51d880 from'./commentsonly.js';import _0x265ad3 from'./annotations/widesidebar.js';import _0x7a1d11 from'./annotations/narrowsidebar.js';import _0x28a524 from'./annotations/inlineannotations.js';function _0x8c75(){var _0x42fa2c=['38237OHgRKA','pluginName','isPremiumPlugin','6833274IsFBuI','8761566vDglyX','8cArekx','3753MySAwn','requires','26576OsSPbH','5LhOGvb','3YIBYWf','9926710YfTMfG','4336152TpARPe','isOfficialPlugin','Comments','25122933USsDbK'];_0x8c75=function(){return _0x42fa2c;};return _0x8c75();}import _0x247d00 from'./comments/commentsarchiveui.js';import _0x27d77a from'./comments/commentsarchive.js';export default class p extends _0x42f8b3{static get[_0x8e3057(0x19c)](){return[_0x199b75,_0x2cd419,_0x5781ee,_0x27d77a,_0x247d00,_0x51d880,_0x265ad3,_0x7a1d11,_0x28a524];}static get[_0x8e3057(0x196)](){var _0x457f8b=_0x8e3057;return _0x457f8b(0x193);}static get[_0x8e3057(0x192)](){return!0x0;}static get[_0x8e3057(0x197)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1bdf(_0x2cbbf7,_0x46e105){const _0x1ccb43=_0x1ccb();return _0x1bdf=function(_0x1bdf5a,_0x55bbdd){_0x1bdf5a=_0x1bdf5a-0x18e;let _0x300a6c=_0x1ccb43[_0x1bdf5a];return _0x300a6c;},_0x1bdf(_0x2cbbf7,_0x46e105);}const _0x593e0e=_0x1bdf;(function(_0x258b7a,_0x224517){const _0x5b1992=_0x1bdf,_0x37cd25=_0x258b7a();while(!![]){try{const _0x5081aa=parseInt(_0x5b1992(0x195))/0x1+-parseInt(_0x5b1992(0x1b9))/0x2+parseInt(_0x5b1992(0x191))/0x3+-parseInt(_0x5b1992(0x19a))/0x4+-parseInt(_0x5b1992(0x19d))/0x5*(parseInt(_0x5b1992(0x19f))/0x6)+parseInt(_0x5b1992(0x1a9))/0x7*(-parseInt(_0x5b1992(0x1ae))/0x8)+parseInt(_0x5b1992(0x1b6))/0x9*(parseInt(_0x5b1992(0x192))/0xa);if(_0x5081aa===_0x224517)break;else _0x37cd25['push'](_0x37cd25['shift']());}catch(_0x3ccace){_0x37cd25['push'](_0x37cd25['shift']());}}}(_0x1ccb,0x31cdb));function _0x1ccb(){const _0x58764f=['change:isEnabled','1217514DQODqt','SourceEditing','pluginName','commentsOnlyMode','commands','cut','forceDisabled','highest','stop','listenTo','161147IYmybE','addCommentThread','has','afterInit','DragDrop','128hktvqf','set','document','commentsOnly','get','clearForceDisabled','editor','plugins','18xVKOYc','affectsData','CommentsOnly','201338bNDoCD','_enableCommentsOnlyMode','stopListening','clipboardInput','view','isPremiumPlugin','206280CYwNJP','5107790GBlXtv','editSource','isEnabled','133485EwXGtR','editing','delete','_disableCommentsOnlyMode','config','1391536tqcTWh','isOfficialPlugin','requires','5NEufuo'];_0x1ccb=function(){return _0x58764f;};return _0x1ccb();}import{Plugin as _0x4775dc}from'ckeditor5/src/core.js';import _0x58eb43 from'./comments/commentsediting.js';export default class s extends _0x4775dc{static get[_0x593e0e(0x1a1)](){const _0x27bc3e=_0x593e0e;return _0x27bc3e(0x1b8);}static get[_0x593e0e(0x19b)](){return!0x0;}static get[_0x593e0e(0x190)](){return!0x0;}static get[_0x593e0e(0x19c)](){return[_0x58eb43];}constructor(_0x28a134){const _0x525e7d=_0x593e0e;super(_0x28a134),this[_0x525e7d(0x1af)](_0x525e7d(0x194),!0x1),this['on'](_0x525e7d(0x19e),(_0x297fea,_0x3f391f,_0x5b8b1e)=>{const _0x43ecb8=_0x525e7d;_0x5b8b1e?this[_0x43ecb8(0x1ba)]():this[_0x43ecb8(0x198)]();});}[_0x593e0e(0x1ac)](){const _0x2f1bb3=_0x593e0e;!this[_0x2f1bb3(0x194)]&&this[_0x2f1bb3(0x1b4)][_0x2f1bb3(0x199)][_0x2f1bb3(0x1b2)](_0x2f1bb3(0x1b1))&&(this[_0x2f1bb3(0x194)]=!0x0);}[_0x593e0e(0x1ba)](){const _0x4dd859=_0x593e0e;var _0x3d2cd2;for(const [_0xd71d69,_0x5852f0]of this[_0x4dd859(0x1b4)][_0x4dd859(0x1a3)])_0x5852f0[_0x4dd859(0x1b7)]&&_0x4dd859(0x1aa)!==_0xd71d69&&_0x5852f0[_0x4dd859(0x1a5)](_0x4dd859(0x1a2));(this[_0x4dd859(0x1b4)][_0x4dd859(0x1b5)][_0x4dd859(0x1ab)](_0x4dd859(0x1ad))&&this[_0x4dd859(0x1b4)][_0x4dd859(0x1b5)][_0x4dd859(0x1b2)](_0x4dd859(0x1ad))[_0x4dd859(0x1a5)](_0x4dd859(0x1a2)),this[_0x4dd859(0x1b4)][_0x4dd859(0x1b5)][_0x4dd859(0x1ab)](_0x4dd859(0x1a0)))&&this[_0x4dd859(0x1b4)][_0x4dd859(0x1b5)][_0x4dd859(0x1b2)](_0x4dd859(0x1a0))[_0x4dd859(0x1a5)](_0x4dd859(0x1a2));null===(_0x3d2cd2=this[_0x4dd859(0x1b4)][_0x4dd859(0x1a3)][_0x4dd859(0x1b2)](_0x4dd859(0x193)))||void 0x0===_0x3d2cd2||_0x3d2cd2[_0x4dd859(0x1a5)](_0x4dd859(0x1a2));const _0x4478a3=this[_0x4dd859(0x1b4)][_0x4dd859(0x196)][_0x4dd859(0x18f)][_0x4dd859(0x1b0)];this[_0x4dd859(0x1a8)](_0x4478a3,_0x4dd859(0x1a4),_0x49f315=>_0x49f315[_0x4dd859(0x1a7)](),{'priority':_0x4dd859(0x1a6)}),this[_0x4dd859(0x1a8)](_0x4478a3,_0x4dd859(0x18e),_0x3dc7dd=>_0x3dc7dd[_0x4dd859(0x1a7)](),{'priority':_0x4dd859(0x1a6)}),this[_0x4dd859(0x1a8)](_0x4478a3,_0x4dd859(0x197),_0x52f906=>_0x52f906[_0x4dd859(0x1a7)](),{'priority':_0x4dd859(0x1a6)});}[_0x593e0e(0x198)](){const _0x4f4cef=_0x593e0e;var _0x1bdd6e;for(const [_0x1fb2dc,_0x5e82f2]of this[_0x4f4cef(0x1b4)][_0x4f4cef(0x1a3)])_0x5e82f2[_0x4f4cef(0x1b7)]&&_0x4f4cef(0x1aa)!==_0x1fb2dc&&_0x5e82f2[_0x4f4cef(0x1b3)](_0x4f4cef(0x1a2));this[_0x4f4cef(0x1b4)][_0x4f4cef(0x1b5)][_0x4f4cef(0x1ab)](_0x4f4cef(0x1a0))&&this[_0x4f4cef(0x1b4)][_0x4f4cef(0x1b5)][_0x4f4cef(0x1b2)](_0x4f4cef(0x1a0))[_0x4f4cef(0x1b3)](_0x4f4cef(0x1a2)),null===(_0x1bdd6e=this[_0x4f4cef(0x1b4)][_0x4f4cef(0x1a3)][_0x4f4cef(0x1b2)](_0x4f4cef(0x193)))||void 0x0===_0x1bdd6e||_0x1bdd6e[_0x4f4cef(0x1b3)](_0x4f4cef(0x1a2)),this[_0x4f4cef(0x1bb)](this[_0x4f4cef(0x1b4)][_0x4f4cef(0x196)][_0x4f4cef(0x18f)][_0x4f4cef(0x1b0)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3a6025,_0x47d766){var _0x56ee87=_0x1ab6,_0x404ebf=_0x3a6025();while(!![]){try{var _0x17d4db=parseInt(_0x56ee87(0x19d))/0x1*(-parseInt(_0x56ee87(0x195))/0x2)+parseInt(_0x56ee87(0x19a))/0x3+-parseInt(_0x56ee87(0x196))/0x4+-parseInt(_0x56ee87(0x197))/0x5+-parseInt(_0x56ee87(0x19b))/0x6*(-parseInt(_0x56ee87(0x198))/0x7)+parseInt(_0x56ee87(0x194))/0x8*(-parseInt(_0x56ee87(0x199))/0x9)+-parseInt(_0x56ee87(0x193))/0xa*(-parseInt(_0x56ee87(0x19c))/0xb);if(_0x17d4db===_0x47d766)break;else _0x404ebf['push'](_0x404ebf['shift']());}catch(_0x524d98){_0x404ebf['push'](_0x404ebf['shift']());}}}(_0x47e8,0xc6045));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';function _0x1ab6(_0x3939e6,_0x1fc050){var _0x47e857=_0x47e8();return _0x1ab6=function(_0x1ab6b6,_0x3da067){_0x1ab6b6=_0x1ab6b6-0x193;var _0x38a2f9=_0x47e857[_0x1ab6b6];return _0x38a2f9;},_0x1ab6(_0x3939e6,_0x1fc050);}export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';function _0x47e8(){var _0x357b79=['643216kzSRFr','1711500waSEHM','644889zXJwUs','18fLPliD','1019025YaAIoL','6WpQfGu','35631541ZQlzda','1iGZEdp','10YxuHwt','5616504yFoYxh','1905452SzFpoK'];_0x47e8=function(){return _0x357b79;};return _0x47e8();}import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4b98d0,_0x5b6ca2,_0x32edcb){const t=_0x4b98d0['t'];switch(_0x5b6ca2){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'},_0x32edcb);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'},_0x32edcb);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'},_0x32edcb);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'},_0x32edcb);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x32edcb);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'},_0x32edcb);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'},_0x32edcb);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'},_0x32edcb);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(_0x1e4698,_0x251f14){const _0x3edb9c=_0x318a,_0x4f9533=_0x1e4698();while(!![]){try{const _0x202313=parseInt(_0x3edb9c(0x199))/0x1*(-parseInt(_0x3edb9c(0x196))/0x2)+-parseInt(_0x3edb9c(0x198))/0x3*(-parseInt(_0x3edb9c(0x19b))/0x4)+parseInt(_0x3edb9c(0x191))/0x5+parseInt(_0x3edb9c(0x190))/0x6+-parseInt(_0x3edb9c(0x1a0))/0x7*(-parseInt(_0x3edb9c(0x194))/0x8)+-parseInt(_0x3edb9c(0x19d))/0x9+parseInt(_0x3edb9c(0x195))/0xa*(parseInt(_0x3edb9c(0x19a))/0xb);if(_0x202313===_0x251f14)break;else _0x4f9533['push'](_0x4f9533['shift']());}catch(_0x4984c5){_0x4f9533['push'](_0x4f9533['shift']());}}}(_0x414f,0x5bb31));import{throttle as _0x53b972}from'lodash-es';function _0x318a(_0x3092ba,_0x457802){const _0x414fe1=_0x414f();return _0x318a=function(_0x318a78,_0x3d039e){_0x318a78=_0x318a78-0x18d;let _0x446c43=_0x414fe1[_0x318a78];return _0x446c43;},_0x318a(_0x3092ba,_0x457802);}export default function Lt(_0x35e247){const _0x3b4628=_0x53b972(_0x35e247,0x1e),_0x10ee06=new MutationObserver(_0x20b2c3=>{const _0xaf5255=_0x318a;for(const _0x23f0d7 of _0x20b2c3)(_0xaf5255(0x19f)==_0x23f0d7[_0xaf5255(0x192)]&&_0xaf5255(0x18f)==_0x23f0d7[_0xaf5255(0x197)]||_0xaf5255(0x193)==_0x23f0d7[_0xaf5255(0x192)]||_0xaf5255(0x18d)==_0x23f0d7[_0xaf5255(0x192)])&&_0x3b4628();});return{'attach'(_0x35c840){const _0x34ea9d=_0x318a;_0x10ee06[_0x34ea9d(0x19c)](_0x35c840,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x462166=_0x318a;_0x10ee06[_0x462166(0x18e)](),_0x3b4628[_0x462166(0x19e)]();}};}function _0x414f(){const _0x28daa1=['32gbvhig','5380uWpByh','96442BNQmsH','attributeName','6KWZEks','2VSuEdc','1606qhmRaU','1181576ucRpaU','observe','5790510WMpOTH','cancel','attributes','66010JRikcR','characterData','disconnect','class','2371950yVnKgc','65260jxLIoo','type','childList'];_0x414f=function(){return _0x28daa1;};return _0x414f();}
|