@ckeditor/ckeditor5-comments 44.2.0-alpha.8 → 44.2.0-alpha.9
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 _0x3660ff=_0x70ac;(function(_0x579437,_0x24121c){const _0x1a65a9=_0x70ac,_0x1bbb88=_0x579437();while(!![]){try{const _0x1fff5f=parseInt(_0x1a65a9(0xdb))/0x1*(-parseInt(_0x1a65a9(0x105))/0x2)+-parseInt(_0x1a65a9(0xed))/0x3*(parseInt(_0x1a65a9(0xea))/0x4)+parseInt(_0x1a65a9(0xee))/0x5*(-parseInt(_0x1a65a9(0x11a))/0x6)+parseInt(_0x1a65a9(0xd7))/0x7+-parseInt(_0x1a65a9(0xfd))/0x8*(parseInt(_0x1a65a9(0xf4))/0x9)+-parseInt(_0x1a65a9(0xde))/0xa*(-parseInt(_0x1a65a9(0x114))/0xb)+parseInt(_0x1a65a9(0xd5))/0xc;if(_0x1fff5f===_0x24121c)break;else _0x1bbb88['push'](_0x1bbb88['shift']());}catch(_0x26b0c7){_0x1bbb88['push'](_0x1bbb88['shift']());}}}(_0x3fc0,0x5927e));function _0x3fc0(){const _0x18d1ba=['visibleViews','5049530nHvOVI','_model','length','change:hasDirtyComment','resolvedCommentView','commentUpdated','viewUid','_handleInfoComment','delete','some','removeComment','_updateHasDirtyComment','4JOxOzJ','maxCommentsWhenCollapsed','maxThreadTotalWeight','239406PEoEYm','435560FOsxiS','editorConfig','_shouldCollapse','formatDateTime','bind','remove','6462dndnVM','comments','change','focus','isEditMode','change:isResolved','set','forEach','_rearrangeCollapse','5840fZtNZG','from','_setupKeyboardNavigation','Marked\x20as\x20resolved','editorReady','isActive','keystrokes','focusLast','146miWlLC','render','editorDestroyed','destroy','equal','_rearrangeExpand','_handleRemoveCommentModel','_calculatePosition','resolvedAt','refreshVisibleViews','locale','hasDirtyComment','resolvedBy','resolved','ck-hidden','11rWVZaz','target','insert','Thread\x20comments','commentViews','stopListening','36tKxeIh','change:isEditMode','collapse','added','CommentView','updateComment','count','_handleNewCommentModel','listenTo','arrowup','setTemplate','bindTemplate','add','weight','focusTracker','_findOptimalIndex','includes','expand','delegate','reverse','resolveCommentThread','authoredAt','get','maxCommentCharsWhenCollapsed','map','element','focusFirst','ck-thread__comments','removed','_config','13675056MQQGSs','arrowdown','1024352lDpxyV','createCollection','focusCycler','change:isActive','4097LcXNhb','_collapsedCommentsView'];_0x3fc0=function(){return _0x18d1ba;};return _0x3fc0();}import{View as _0x21cbc6,FocusCycler as _0x46a334}from'ckeditor5/src/ui.js';import{diff as _0x276962,Collection as _0x4b1ede,FocusTracker as _0x35e04d,KeystrokeHandler as _0x4beea0}from'ckeditor5/src/utils.js';function _0x70ac(_0x24b63a,_0x2fc5ff){const _0x3fc018=_0x3fc0();return _0x70ac=function(_0x70ac14,_0x19f161){_0x70ac14=_0x70ac14-0xc7;let _0x26c980=_0x3fc018[_0x70ac14];return _0x26c980;},_0x70ac(_0x24b63a,_0x2fc5ff);}import{getTranslation as _0x5678a7}from'../../../utils/common-translations.js';import _0x445f24 from'./collapsedcommentsview.js';export default class te extends _0x21cbc6{constructor(_0x45328a,_0x1b1fed,_0x6c2865){const _0x57f783=_0x70ac;super(_0x45328a);const _0x375766=this[_0x57f783(0x125)];this[_0x57f783(0xfa)](_0x57f783(0x110),!0x1),this[_0x57f783(0xfa)](_0x57f783(0xe0),_0x1b1fed[_0x57f783(0xf5)][_0x57f783(0xe0)]),this[_0x57f783(0xfa)](_0x57f783(0x102),!0x1),this[_0x57f783(0xdf)]=_0x1b1fed,this[_0x57f783(0xd4)]=_0x6c2865,this[_0x57f783(0x118)]=this[_0x57f783(0xd8)](),this[_0x57f783(0xdd)]=this[_0x57f783(0xd8)](),this[_0x57f783(0xe2)]=null,this[_0x57f783(0x128)]=new _0x35e04d(),this[_0x57f783(0x103)]=new _0x4beea0(),this[_0x57f783(0xd9)]=new _0x46a334({'focusables':this[_0x57f783(0x118)],'focusTracker':this[_0x57f783(0x128)],'keystrokeHandler':this[_0x57f783(0x103)],'keystrokeHandlerOptions':{'filter':_0x46e3b4=>this[_0x57f783(0x118)][_0x57f783(0xcf)](_0x57b4b1=>_0x57b4b1[_0x57f783(0xd0)])[_0x57f783(0xc7)](_0x46e3b4[_0x57f783(0x115)])},'actions':{'focusPrevious':_0x57f783(0x123),'focusNext':_0x57f783(0xd6)}}),this[_0x57f783(0xdc)]=new _0x445f24(_0x45328a),this[_0x57f783(0xdc)][_0x57f783(0xf2)](_0x57f783(0x120))['to'](this,_0x57f783(0xe0),_0x482bcc=>_0x482bcc-this[_0x57f783(0xd4)][_0x57f783(0xeb)]);for(const _0x2cc65c of _0x1b1fed[_0x57f783(0xf5)])this[_0x57f783(0x121)](_0x2cc65c);this[_0x57f783(0xe5)](),this[_0x57f783(0x122)](_0x1b1fed[_0x57f783(0xf5)],_0x57f783(0x126),(_0x51e2ea,_0x41cf33)=>{const _0x39889f=_0x57f783,_0x2a6b2e=this[_0x39889f(0x10c)](_0x41cf33);this[_0x39889f(0xe0)]++,this[_0x39889f(0x121)](_0x41cf33,_0x2a6b2e),this[_0x39889f(0x10e)]();}),this[_0x57f783(0x122)](_0x1b1fed[_0x57f783(0xf5)],_0x57f783(0xf3),(_0x124451,_0x4db935)=>{const _0x31fcbc=_0x57f783;this[_0x31fcbc(0xe0)]--,this[_0x31fcbc(0x10b)](_0x4db935),this[_0x31fcbc(0x10e)]();}),this[_0x57f783(0x122)](_0x1b1fed,_0x57f783(0xe3),()=>this[_0x57f783(0x10e)]()),this[_0x57f783(0x122)](_0x1b1fed,_0x57f783(0xf9),()=>this[_0x57f783(0xe5)]()),this['on'](_0x57f783(0xda),()=>this[_0x57f783(0x10e)]()),this['on'](_0x57f783(0xe1),()=>this[_0x57f783(0x10e)]()),this[_0x57f783(0x124)]({'tag':'ul','attributes':{'class':[_0x57f783(0xd2),_0x375766['if'](_0x57f783(0xe0),_0x57f783(0x113),_0x1827d0=>!_0x1827d0)],'aria-label':_0x5678a7(_0x45328a,_0x57f783(0x117))},'children':this[_0x57f783(0xdd)]});}get[_0x3660ff(0xf0)](){const _0x4e989b=_0x3660ff;return this[_0x4e989b(0xdf)][_0x4e989b(0x127)]>this[_0x4e989b(0xd4)][_0x4e989b(0xec)]&&!this[_0x4e989b(0x102)]&&!this[_0x4e989b(0x110)];}[_0x3660ff(0x106)](){const _0x4533d7=_0x3660ff;super[_0x4533d7(0x106)](),this[_0x4533d7(0x10e)](),this[_0x4533d7(0xff)]();}[_0x3660ff(0xf7)](_0x1ba3a4){const _0x508b9a=_0x3660ff;-0x1===_0x1ba3a4?this[_0x508b9a(0xd9)][_0x508b9a(0x104)]():this[_0x508b9a(0xd9)][_0x508b9a(0xd1)]();}[_0x3660ff(0x108)](){const _0x1496db=_0x3660ff;this[_0x1496db(0xdc)][_0x1496db(0x108)]();for(const _0x4be3ac of this[_0x1496db(0x118)])_0x4be3ac[_0x1496db(0x108)]();super[_0x1496db(0x108)]();}[_0x3660ff(0x10e)](){const _0x2cc41a=_0x3660ff;this[_0x2cc41a(0xf0)]?this[_0x2cc41a(0xfc)]():this[_0x2cc41a(0x10a)]();}[_0x3660ff(0x121)](_0x3cd481,_0x159521){const _0xbe9f1d=_0x3660ff,_0x33a404=new this[(_0xbe9f1d(0xd4))][(_0xbe9f1d(0x11e))](this[_0xbe9f1d(0x10f)],_0x3cd481,{'maxCommentCharsWhenCollapsed':this[_0xbe9f1d(0xd4)][_0xbe9f1d(0xce)],'formatDateTime':this[_0xbe9f1d(0xd4)][_0xbe9f1d(0xf1)],'editorConfig':this[_0xbe9f1d(0xd4)][_0xbe9f1d(0xef)]});_0x33a404[_0xbe9f1d(0xe4)]=_0x3cd481['id'],_0x33a404[_0xbe9f1d(0xc9)](_0xbe9f1d(0xe8))['to'](this),_0x33a404[_0xbe9f1d(0xc9)](_0xbe9f1d(0x11f))['to'](this),_0x33a404[_0xbe9f1d(0xc9)](_0xbe9f1d(0xcb))['to'](this),_0x33a404[_0xbe9f1d(0xc9)](_0xbe9f1d(0x101))['to'](this),_0x33a404[_0xbe9f1d(0xc9)](_0xbe9f1d(0x107))['to'](this),this[_0xbe9f1d(0x122)](_0x33a404,_0xbe9f1d(0x11b),()=>this[_0xbe9f1d(0xe9)]()),this[_0xbe9f1d(0x118)][_0xbe9f1d(0x126)](_0x33a404,_0x159521);}[_0x3660ff(0x10c)](_0x51d3d3){const _0x1848e9=_0x3660ff,_0x21c6e7=this[_0x1848e9(0xdf)][_0x1848e9(0x129)](_0x51d3d3);return this[_0x1848e9(0xe2)]?this[_0x1848e9(0xe2)][_0x1848e9(0xcc)]>_0x51d3d3[_0x1848e9(0xcc)]?_0x21c6e7-0x1:_0x21c6e7:_0x21c6e7-0x1;}[_0x3660ff(0xe5)](){const _0x271da9=_0x3660ff;if(this[_0x271da9(0xdf)][_0x271da9(0x111)]&&this[_0x271da9(0xdf)][_0x271da9(0x10d)]){const _0xd9db28={'id':_0x271da9(0x112),'author':this[_0x271da9(0xdf)][_0x271da9(0x111)],'authoredAt':this[_0x271da9(0xdf)][_0x271da9(0x10d)],'content':_0x5678a7(this[_0x271da9(0x10f)],_0x271da9(0x100)),'attributes':{}};this[_0x271da9(0xe2)]=new this[(_0x271da9(0xd4))][(_0x271da9(0x11e))](this[_0x271da9(0x10f)],_0xd9db28,{'maxCommentCharsWhenCollapsed':this[_0x271da9(0xd4)][_0x271da9(0xce)],'formatDateTime':this[_0x271da9(0xd4)][_0x271da9(0xf1)],'editorConfig':this[_0x271da9(0xd4)][_0x271da9(0xef)],'isSystemComment':!0x0}),this[_0x271da9(0x118)][_0x271da9(0x126)](this[_0x271da9(0xe2)],this[_0x271da9(0xdf)][_0x271da9(0x129)](_0xd9db28));}else this[_0x271da9(0xe2)]&&(this[_0x271da9(0x118)][_0x271da9(0xf3)](this[_0x271da9(0xe2)]),this[_0x271da9(0xe2)][_0x271da9(0x108)](),this[_0x271da9(0xe2)]=null);this[_0x271da9(0x10e)]();}[_0x3660ff(0x10b)](_0x59fd27){const _0x4d6a3d=_0x3660ff,_0x3e0b5d=this[_0x4d6a3d(0x118)][_0x4d6a3d(0xf3)](_0x59fd27['id']);this[_0x4d6a3d(0x119)](_0x3e0b5d),_0x3e0b5d[_0x4d6a3d(0xf8)]&&this[_0x4d6a3d(0xe9)](),_0x3e0b5d[_0x4d6a3d(0x108)]();}[_0x3660ff(0xe9)](){const _0x54f976=_0x3660ff;this[_0x54f976(0x110)]=Array[_0x54f976(0xfe)](this[_0x54f976(0x118)])[_0x54f976(0xe7)](_0x157ff8=>_0x157ff8[_0x54f976(0xf8)]);}[_0x3660ff(0xfc)](){const _0x18c3d8=_0x3660ff,_0x482602=function(_0x4f3e24){const _0x101f53=_0x70ac,_0x5f49fd=new _0x4b1ede();for(const _0x16c2cb of _0x4f3e24)_0x5f49fd[_0x101f53(0x126)](_0x16c2cb);return _0x5f49fd;}(this[_0x18c3d8(0x118)]),_0x3f3b2d=this[_0x18c3d8(0xdc)][_0x18c3d8(0x120)];for(let _0x44bfb8=0x1;_0x44bfb8<=_0x3f3b2d;_0x44bfb8++)_0x482602[_0x18c3d8(0xf3)](0x1);for(const _0x1d54a3 of _0x482602)_0x1d54a3[_0x18c3d8(0x11c)]();_0x3f3b2d>0x0&&_0x482602[_0x18c3d8(0x126)](this[_0x18c3d8(0xdc)],0x1),as(_0x276962(Array[_0x18c3d8(0xfe)](this[_0x18c3d8(0xdd)]),Array[_0x18c3d8(0xfe)](_0x482602)),this[_0x18c3d8(0xdd)],_0x482602);}[_0x3660ff(0x10a)](){const _0xefa725=_0x3660ff;as(_0x276962(Array[_0xefa725(0xfe)](this[_0xefa725(0xdd)]),Array[_0xefa725(0xfe)](this[_0xefa725(0x118)])),this[_0xefa725(0xdd)],this[_0xefa725(0x118)]);for(const _0x4d72c2 of this[_0xefa725(0xdd)])_0x4d72c2[_0xefa725(0xc8)]();}[_0x3660ff(0xff)](){const _0x5929d2=_0x3660ff;this[_0x5929d2(0x118)][_0x5929d2(0xfb)](_0x2d85bf=>{const _0x490ce5=_0x5929d2;this[_0x490ce5(0x128)][_0x490ce5(0x126)](_0x2d85bf[_0x490ce5(0xd0)]),this[_0x490ce5(0x103)][_0x490ce5(0x122)](_0x2d85bf[_0x490ce5(0xd0)]);}),this[_0x5929d2(0x118)]['on'](_0x5929d2(0xf6),(_0x44ddca,_0x1dc956)=>{const _0x1f660f=_0x5929d2;for(const _0x571115 of _0x1dc956[_0x1f660f(0xd3)])this[_0x1f660f(0x128)][_0x1f660f(0xf3)](_0x571115[_0x1f660f(0xd0)]),this[_0x1f660f(0x103)][_0x1f660f(0x119)](_0x571115[_0x1f660f(0xd0)]);for(const _0x16b247 of Array[_0x1f660f(0xfe)](_0x1dc956[_0x1f660f(0x11d)])[_0x1f660f(0xca)]())this[_0x1f660f(0x128)][_0x1f660f(0x126)](_0x16b247[_0x1f660f(0xd0)]),this[_0x1f660f(0x103)][_0x1f660f(0x122)](_0x16b247[_0x1f660f(0xd0)]);});}}function as(_0xa03e55,_0x1f8ce7,_0x383980){const _0x35a4d8=_0x3660ff;let _0x4d390d=0x0;for(const _0x5c16c8 of _0xa03e55)switch(_0x5c16c8){case _0x35a4d8(0x116):_0x1f8ce7[_0x35a4d8(0x126)](_0x383980[_0x35a4d8(0xcd)](_0x4d390d),_0x4d390d),_0x4d390d++;break;case _0x35a4d8(0xe6):_0x1f8ce7[_0x35a4d8(0xf3)](_0x4d390d);break;case _0x35a4d8(0x109):_0x4d390d++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3bc4(_0x55ac80,_0x35925b){const _0x225ee4=_0x225e();return _0x3bc4=function(_0x3bc49d,_0x39c59c){_0x3bc49d=_0x3bc49d-0x1c0;let _0x322c2a=_0x225ee4[_0x3bc49d];return _0x322c2a;},_0x3bc4(_0x55ac80,_0x35925b);}const _0x5a27ea=_0x3bc4;(function(_0x2113d3,_0x446176){const _0x3fc300=_0x3bc4,_0x17ec2e=_0x2113d3();while(!![]){try{const _0x37d7e1=parseInt(_0x3fc300(0x1ca))/0x1+parseInt(_0x3fc300(0x1c5))/0x2+parseInt(_0x3fc300(0x1c7))/0x3+parseInt(_0x3fc300(0x1cb))/0x4+-parseInt(_0x3fc300(0x1c0))/0x5+parseInt(_0x3fc300(0x1c6))/0x6+-parseInt(_0x3fc300(0x1c2))/0x7;if(_0x37d7e1===_0x446176)break;else _0x17ec2e['push'](_0x17ec2e['shift']());}catch(_0x4f9631){_0x17ec2e['push'](_0x17ec2e['shift']());}}}(_0x225e,0x8f98c));function _0x225e(){const _0x351903=['453536yedWHd','3245442xvmpEI','1553394HQuWXG','set','contextValue','646388BxlbBj','262704caHsxx','setTemplate','span','focus','ck-context__value','831065AoaCJt','element','8702064sMUbpt','THREAD_CONTEXT_LABEL','bindTemplate'];_0x225e=function(){return _0x351903;};return _0x225e();}import{View as _0x6b3609}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ac67b}from'../../../utils/common-translations.js';export default class ls extends _0x6b3609{constructor(_0x2c876b){const _0x12601a=_0x3bc4;super(_0x2c876b);const _0x160d6d=this[_0x12601a(0x1c4)];this[_0x12601a(0x1c8)](_0x12601a(0x1c9),''),this[_0x12601a(0x1cc)]({'tag':_0x12601a(0x1cd),'attributes':{'class':['ck',_0x12601a(0x1cf)],'aria-label':_0x160d6d['to'](_0x12601a(0x1c9),_0xe778aa=>_0x2ac67b(_0x2c876b,_0x12601a(0x1c3),_0xe778aa)),'tabindex':-0x1},'children':[{'text':_0x160d6d['to'](_0x12601a(0x1c9))}]});}[_0x5a27ea(0x1ce)](){const _0x32b6c0=_0x5a27ea;this[_0x32b6c0(0x1c1)][_0x32b6c0(0x1ce)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23554d=_0x1209;(function(_0x102679,_0xb2a4d6){const _0x7bbb1c=_0x1209,_0x55b6b9=_0x102679();while(!![]){try{const _0x15bede=parseInt(_0x7bbb1c(0x1fb))/0x1*(parseInt(_0x7bbb1c(0x1d7))/0x2)+parseInt(_0x7bbb1c(0x1c0))/0x3+-parseInt(_0x7bbb1c(0x1cc))/0x4+parseInt(_0x7bbb1c(0x1cf))/0x5*(parseInt(_0x7bbb1c(0x1f3))/0x6)+-parseInt(_0x7bbb1c(0x1e2))/0x7+-parseInt(_0x7bbb1c(0x1f6))/0x8+parseInt(_0x7bbb1c(0x1dc))/0x9*(parseInt(_0x7bbb1c(0x1e0))/0xa);if(_0x15bede===_0xb2a4d6)break;else _0x55b6b9['push'](_0x55b6b9['shift']());}catch(_0x1caaf0){_0x55b6b9['push'](_0x55b6b9['shift']());}}}(_0x1b5c,0xc5f04));import{View as _0x27060f,ButtonView as _0x2b9765,FocusCycler as _0xe17823}from'ckeditor5/src/ui.js';function _0x1b5c(){const _0x320a4c=['keystrokes','render','mouseleave','_setupKeyboardNavigation','Comment\x20was\x20made\x20on\x20an\x20element','value','contextValue','locale','reopenButtonView','scrollWidth','context','shift+tab','_attachContextActions','_trimContextValue','isResolvable','6BzRKNf','listenTo','bind','1946072XipaIb','isVisible','focusables','focusTracker','execute','116031DgUzRQ','_createContextView','.ck-context','overlay','isEnabled','length','lastIndexOf','label','_createReopenButton','hasContext','createCollection','reopenCommentThread','...','3725079cypcWL','focusCycler','focus','offsetWidth','ck-thread__header','add','substring','_model','isResolved','icon','tab','remove','5438268RydAnv','ck-context','classList','2748595zWeXTA','tooltip','element','ck-context-wrapper','.ck-context__value','contextView','bindTemplate','querySelector','4BExRht','isReadOnly','ck-annotation__actions','ck-context--quotes','fire','5127039Hujjcc','setTemplate','div','Reopen','30KBYWjX','focusFirst','9232335VMxiGh','mouseenter'];_0x1b5c=function(){return _0x320a4c;};return _0x1b5c();}import{FocusTracker as _0x438baf,KeystrokeHandler as _0xbf2731}from'ckeditor5/src/utils.js';import{getTranslation as _0x3fa845}from'../../../utils/common-translations.js';import _0x2d3c66 from'../../../../theme/icons/undo.svg';function _0x1209(_0x2e45ec,_0x18e1b5){const _0x1b5c64=_0x1b5c();return _0x1209=function(_0x1209cb,_0x4ce77a){_0x1209cb=_0x1209cb-0x1b9;let _0x472d1c=_0x1b5c64[_0x1209cb];return _0x472d1c;},_0x1209(_0x2e45ec,_0x18e1b5);}import _0x991324 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Zt extends _0x27060f{constructor(_0xad8e32,_0x5158cc){const _0x3b0d7b=_0x1209;super(_0xad8e32);const _0x733b32=this[_0x3b0d7b(0x1d5)];this[_0x3b0d7b(0x1c7)]=_0x5158cc,this[_0x3b0d7b(0x1ec)]=this[_0x3b0d7b(0x1bb)](),this[_0x3b0d7b(0x1d4)]=this[_0x3b0d7b(0x1fc)](),this[_0x3b0d7b(0x1f8)]=this[_0x3b0d7b(0x1bd)]([this[_0x3b0d7b(0x1d4)],this[_0x3b0d7b(0x1ec)]]),this[_0x3b0d7b(0x1f9)]=new _0x438baf(),this[_0x3b0d7b(0x1e4)]=new _0xbf2731(),this[_0x3b0d7b(0x1c1)]=new _0xe17823({'focusables':this[_0x3b0d7b(0x1f8)],'focusTracker':this[_0x3b0d7b(0x1f9)],'keystrokeHandler':this[_0x3b0d7b(0x1e4)],'actions':{'focusPrevious':_0x3b0d7b(0x1ef),'focusNext':_0x3b0d7b(0x1ca)}}),this[_0x3b0d7b(0x1f5)](_0x3b0d7b(0x1bc))['to'](this[_0x3b0d7b(0x1c7)],_0x3b0d7b(0x1ee),_0x34200d=>!!_0x34200d),this[_0x3b0d7b(0x1f5)](_0x3b0d7b(0x1ea))['to'](this[_0x3b0d7b(0x1c7)],_0x3b0d7b(0x1ee),_0x5956ca=>_0x5956ca&&_0x5956ca[_0x3b0d7b(0x1e9)]?this[_0x3b0d7b(0x1f1)](_0x5956ca[_0x3b0d7b(0x1e9)]):_0x3fa845(this[_0x3b0d7b(0x1eb)],_0x3b0d7b(0x1e8))),this[_0x3b0d7b(0x1dd)]({'tag':_0x3b0d7b(0x1de),'attributes':{'class':[_0x3b0d7b(0x1c4)]},'children':[{'tag':_0x3b0d7b(0x1de),'attributes':{'class':[_0x3b0d7b(0x1d2)]},'children':[{'tag':_0x3b0d7b(0x1de),'attributes':{'class':[_0x3b0d7b(0x1cd),_0x733b32['if'](_0x3b0d7b(0x1bc),_0x3b0d7b(0x1da))]},'children':[this[_0x3b0d7b(0x1d4)]]}]},{'tag':_0x3b0d7b(0x1de),'attributes':{'class':[_0x3b0d7b(0x1d9)]},'children':[this[_0x3b0d7b(0x1ec)]]}]});}[_0x23554d(0x1e5)](){const _0x3679a8=_0x23554d;super[_0x3679a8(0x1e5)](),this[_0x3679a8(0x1f0)](),this[_0x3679a8(0x1e7)]();}[_0x23554d(0x1c2)](){const _0x4e045e=_0x23554d;this[_0x4e045e(0x1c1)][_0x4e045e(0x1e1)]();}[_0x23554d(0x1bb)](){const _0x4a4952=_0x23554d,_0xb6697f=new _0x2b9765(this[_0x4a4952(0x1eb)]);return _0xb6697f[_0x4a4952(0x1ba)]=_0x3fa845(this[_0x4a4952(0x1eb)],_0x4a4952(0x1df)),_0xb6697f[_0x4a4952(0x1d0)]=_0x3fa845(this[_0x4a4952(0x1eb)],_0x4a4952(0x1df)),_0xb6697f[_0x4a4952(0x1c9)]=_0x2d3c66,_0xb6697f[_0x4a4952(0x1f5)](_0x4a4952(0x1ff))['to'](this[_0x4a4952(0x1c7)],_0x4a4952(0x1d8),_0x1c3a2c=>!_0x1c3a2c),_0xb6697f[_0x4a4952(0x1f5)](_0x4a4952(0x1f7))['to'](this[_0x4a4952(0x1c7)],_0x4a4952(0x1f2),this[_0x4a4952(0x1c7)],_0x4a4952(0x1c8),(_0x2cfcb0,_0x37a6ce)=>_0x2cfcb0&&_0x37a6ce),_0xb6697f['on'](_0x4a4952(0x1fa),()=>{const _0x45e638=_0x4a4952;this[_0x45e638(0x1db)](_0x45e638(0x1be),this[_0x45e638(0x1c7)]['id']);}),_0xb6697f;}[_0x23554d(0x1f1)](_0x4f1745){const _0x22eca8=_0x23554d;if(_0x4f1745[_0x22eca8(0x200)]<0x96)return _0x4f1745;const _0x21a19f=_0x4f1745[_0x22eca8(0x1b9)]('\x20',0x93);return _0x4f1745[_0x22eca8(0x1c6)](0x0,_0x21a19f>-0x1?_0x21a19f:0x93)+_0x22eca8(0x1bf);}[_0x23554d(0x1f0)](){const _0x3fa9fa=_0x23554d,_0x5821d5=this[_0x3fa9fa(0x1d1)][_0x3fa9fa(0x1d6)](_0x3fa9fa(0x1fd)),_0x45f025=_0x5821d5[_0x3fa9fa(0x1d6)](_0x3fa9fa(0x1d3));this[_0x3fa9fa(0x1f4)](_0x5821d5,_0x3fa9fa(0x1e3),()=>{const _0x50302=_0x3fa9fa;_0x45f025[_0x50302(0x1c3)]<_0x45f025[_0x50302(0x1ed)]&&_0x5821d5[_0x50302(0x1ce)][_0x50302(0x1c5)](_0x50302(0x1fe));}),this[_0x3fa9fa(0x1f4)](_0x5821d5,_0x3fa9fa(0x1e6),()=>{const _0x36c39c=_0x3fa9fa;_0x5821d5[_0x36c39c(0x1ce)][_0x36c39c(0x1cb)](_0x36c39c(0x1fe));});}[_0x23554d(0x1e7)](){const _0x435972=_0x23554d;this[_0x435972(0x1e4)][_0x435972(0x1f4)](this[_0x435972(0x1d1)]);for(const _0x4dc315 of this[_0x435972(0x1f8)])this[_0x435972(0x1f9)][_0x435972(0x1c5)](_0x4dc315[_0x435972(0x1d1)]),this[_0x435972(0x1e4)][_0x435972(0x1f4)](_0x4dc315[_0x435972(0x1d1)]);}[_0x23554d(0x1fc)](){const _0x45fc87=_0x23554d,_0x415af8=new _0x991324(this[_0x45fc87(0x1eb)]);return _0x415af8[_0x45fc87(0x1f5)](_0x45fc87(0x1ea))['to'](this),_0x415af8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x555ce4=_0x2313;(function(_0x4d1418,_0x346c49){const _0x4aa8d5=_0x2313,_0x2f0442=_0x4d1418();while(!![]){try{const _0x3eba09=-parseInt(_0x4aa8d5(0x141))/0x1+-parseInt(_0x4aa8d5(0x123))/0x2+-parseInt(_0x4aa8d5(0x14b))/0x3*(parseInt(_0x4aa8d5(0x13f))/0x4)+-parseInt(_0x4aa8d5(0x11f))/0x5+parseInt(_0x4aa8d5(0x133))/0x6*(parseInt(_0x4aa8d5(0x128))/0x7)+-parseInt(_0x4aa8d5(0x139))/0x8*(-parseInt(_0x4aa8d5(0x148))/0x9)+parseInt(_0x4aa8d5(0x134))/0xa;if(_0x3eba09===_0x346c49)break;else _0x2f0442['push'](_0x2f0442['shift']());}catch(_0xd97e4f){_0x2f0442['push'](_0x2f0442['shift']());}}}(_0x210e,0x5b2d4));import{View as _0x1df38c}from'ckeditor5/src/ui.js';function _0x2313(_0x307350,_0x390ee8){const _0x210eb6=_0x210e();return _0x2313=function(_0x23130b,_0x3f4e68){_0x23130b=_0x23130b-0x11c;let _0x2ea7f4=_0x210eb6[_0x23130b];return _0x2ea7f4;},_0x2313(_0x307350,_0x390ee8);}function _0x210e(){const _0x232f01=['bindTemplate','353576dnpcZG','set','delegate','extendTemplate','_focusOnNonInteractiveMouseDown','isFocused','4dWfgkg','createEditor','67148DjvrVM','bind','mousedown','render','focus','editor','view','90orsmXd','commentInputView','editorReady','1061157AnWQHy','getDomRoot','showInput','editorDestroyed','userView','ck-thread__user','2145530ZAWiaE','listenTo','setTemplate','filter','1042300Gdpvmn','ck-comment__input-container--active','contains','ck-comment__input-container','focusCycler','288883vknaMe','some','element','div','showButtons','change:showInput','preventDefault','then','destroy','editing','ck-thread__input','6lgmpHR','12613440kzKnnp','target','focusTracker','value'];_0x210e=function(){return _0x232f01;};return _0x210e();}import _0x2a5a0d from'./commentinputview.js';import{UserView as _0x42fa4b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x1df38c{constructor(_0x182d1d,_0x470899,_0x2e81bc){const _0x55b6dc=_0x2313;super(_0x182d1d),this[_0x55b6dc(0x149)]=new _0x2a5a0d(_0x182d1d,_0x2e81bc),this[_0x55b6dc(0x127)]=this[_0x55b6dc(0x149)][_0x55b6dc(0x127)],this[_0x55b6dc(0x149)][_0x55b6dc(0x142)](_0x55b6dc(0x12c))['to'](this[_0x55b6dc(0x149)][_0x55b6dc(0x136)],_0x55b6dc(0x13e),this[_0x55b6dc(0x149)],_0x55b6dc(0x137),(_0x2c6fa8,_0x3475a2)=>_0x2c6fa8||!!_0x3475a2),this[_0x55b6dc(0x13a)](_0x55b6dc(0x14d),!0x1),this['on'](_0x55b6dc(0x12d),()=>{const _0x4ddc43=_0x55b6dc;this[_0x4ddc43(0x14d)]&&!this[_0x4ddc43(0x149)][_0x4ddc43(0x146)]&&this[_0x4ddc43(0x149)][_0x4ddc43(0x140)]();}),this[_0x55b6dc(0x149)][_0x55b6dc(0x13b)](_0x55b6dc(0x14a))['to'](this),this[_0x55b6dc(0x149)][_0x55b6dc(0x13b)](_0x55b6dc(0x11c))['to'](this),this[_0x55b6dc(0x11d)]=new _0x42fa4b(_0x182d1d,_0x470899),this[_0x55b6dc(0x11d)][_0x55b6dc(0x13c)]({'attributes':{'class':_0x55b6dc(0x11e),'aria-hidden':!0x0}}),this[_0x55b6dc(0x149)][_0x55b6dc(0x13c)]({'attributes':{'class':_0x55b6dc(0x132)}}),this[_0x55b6dc(0x121)]({'tag':_0x55b6dc(0x12b),'attributes':{'class':[_0x55b6dc(0x126),this[_0x55b6dc(0x138)]['if'](_0x55b6dc(0x14d),_0x55b6dc(0x124))]},'children':[this[_0x55b6dc(0x11d)],this[_0x55b6dc(0x149)]]});}[_0x555ce4(0x144)](){const _0xcb6aa7=_0x555ce4;super[_0xcb6aa7(0x144)](),this[_0xcb6aa7(0x13d)]();}[_0x555ce4(0x130)](){const _0x515293=_0x555ce4;return this[_0x515293(0x149)][_0x515293(0x130)]()[_0x515293(0x12f)](()=>super[_0x515293(0x130)]());}[_0x555ce4(0x145)](_0xfc5adc){const _0x56cb18=_0x555ce4;this[_0x56cb18(0x149)][_0x56cb18(0x145)](_0xfc5adc);}[_0x555ce4(0x13d)](){const _0x571710=_0x555ce4;this[_0x571710(0x120)](this[_0x571710(0x12a)],_0x571710(0x143),(_0x56f0a5,_0x5f1656)=>{const _0x2fe1e6=_0x571710,{submitButtonView:_0x265f0e,cancelButtonView:_0x5726a9,editor:_0x5e6a90}=this[_0x2fe1e6(0x149)];[_0x265f0e[_0x2fe1e6(0x12a)],_0x5726a9[_0x2fe1e6(0x12a)],_0x5e6a90?_0x5e6a90[_0x2fe1e6(0x131)][_0x2fe1e6(0x147)][_0x2fe1e6(0x14c)]():null][_0x2fe1e6(0x122)](_0x22637b=>_0x22637b)[_0x2fe1e6(0x129)](_0x2f9dbb=>_0x2f9dbb[_0x2fe1e6(0x125)](_0x5f1656[_0x2fe1e6(0x135)]))||(this[_0x2fe1e6(0x145)](),_0x5f1656[_0x2fe1e6(0x12e)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3721ac=_0x5d54;(function(_0x48249d,_0x18eac6){const _0x39d6ad=_0x5d54,_0x5693e6=_0x48249d();while(!![]){try{const _0x5872ef=parseInt(_0x39d6ad(0x1e7))/0x1*(parseInt(_0x39d6ad(0x1b8))/0x2)+parseInt(_0x39d6ad(0x1ee))/0x3*(parseInt(_0x39d6ad(0x1de))/0x4)+-parseInt(_0x39d6ad(0x205))/0x5*(-parseInt(_0x39d6ad(0x1e5))/0x6)+parseInt(_0x39d6ad(0x201))/0x7*(-parseInt(_0x39d6ad(0x208))/0x8)+-parseInt(_0x39d6ad(0x1f6))/0x9+parseInt(_0x39d6ad(0x1f3))/0xa+parseInt(_0x39d6ad(0x1d3))/0xb*(parseInt(_0x39d6ad(0x20f))/0xc);if(_0x5872ef===_0x18eac6)break;else _0x5693e6['push'](_0x5693e6['shift']());}catch(_0x18df02){_0x5693e6['push'](_0x5693e6['shift']());}}}(_0x434f,0x6d49c));import{ConfirmMixin as _0x28dc11,LateFocusButtonView as _0x1c0f74}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x434f(){const _0x439910=['_model','then','focusables','actionBar','removeButton','bind','listitem','Delete\x20comment\x20thread?','isEnabled','ck-thread--','11caqDkF','isConfirm','locale','containerElement','fire','isActive','add','setTemplate','extendTemplate','isResolved','get','36MMIyxQ','icon','resolveButton','ck-rounded-corners','length','Resolve','element','3174TrMZjf','change:isActive','2853vMBPgX','ck-reset_all-excluded','removeCommentThread','focus','removeConfirm','cancelConfirm','ariaDescriptionView','87558mcOkWJ','has','placeholder','showConfirm','isVisible','59240FwWxqv','isResolvable','change:isReadOnly','3940443nhnXcn','commentViews','high','.ck-thread__container','actionIndicator','remove','unbind','label','div','isUnlinked','querySelector','1848595UFOPmY','commentThreadInputView','set','ck-thread--unlinked','7265VTmggE','commentThreadHeaderView','check','24DYwWpO','isReadOnly','ck-thread','ck-thread__container','ariaLabel','tooltip','change:archivedAt','530568BRwSPD','_cancelAllConfirms','execute','_boundFirstCommentView','ck-thread--active','_updateArchivedThreadHeader','418kLqIWT','commentThreadChildren','getTemplate','_bindFirstCommentView','commentsListView','isSystemComment','listenTo','_createResolveButton','stop','createCollection','Write\x20a\x20comment...','archivedAt','bindTemplate','resolveCommentThread','ck-comment--resolve','render','ck-thread--remove-confirmation'];_0x434f=function(){return _0x439910;};return _0x434f();}import{icons as _0x2f8c36}from'ckeditor5/src/core.js';import _0x1798d5 from'./basecommentthreadview.js';function _0x5d54(_0x57066e,_0x40a66c){const _0x434f55=_0x434f();return _0x5d54=function(_0x5d54ea,_0x4b31a1){_0x5d54ea=_0x5d54ea-0x1b3;let _0x78ca19=_0x434f55[_0x5d54ea];return _0x78ca19;},_0x5d54(_0x57066e,_0x40a66c);}import{getTranslation as _0x22a037}from'../../../utils/common-translations.js';export default class Tt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28dc11(_0x1798d5){constructor(_0x4d6193,_0x7f1ea0,_0x541a3f,_0x3bc7cd){const _0x51eed7=_0x5d54;super(_0x4d6193,_0x7f1ea0,_0x541a3f,_0x3bc7cd),this[_0x51eed7(0x1b9)]=this[_0x51eed7(0x1c1)]([this[_0x51eed7(0x1bc)],this[_0x51eed7(0x202)],this[_0x51eed7(0x1ed)]]),this[_0x51eed7(0x203)](_0x51eed7(0x1fa),null),this[_0x51eed7(0x1d6)]=null,this[_0x51eed7(0x1b5)]=null,this[_0x51eed7(0x1d5)]=_0x4d6193,this[_0x51eed7(0x1e0)]=this[_0x51eed7(0x1bf)](),this[_0x51eed7(0x1da)](this[_0x51eed7(0x1ba)]()),this['on'](_0x51eed7(0x1e6),(_0x50b9df,_0x378def,_0x937631)=>{const _0x5db63e=_0x51eed7;_0x937631||this[_0x5db63e(0x1b3)]();}),this[_0x51eed7(0x1be)](this[_0x51eed7(0x1c9)],_0x51eed7(0x1f5),(_0x2a983c,_0x4cc55a,_0x5a81e2)=>{const _0x24ed1f=_0x51eed7;_0x5a81e2&&this[_0x24ed1f(0x1b3)]();}),this[_0x51eed7(0x1e2)]>0x0&&this[_0x51eed7(0x1bb)](),this[_0x51eed7(0x1be)](this[_0x51eed7(0x1bc)][_0x51eed7(0x1f7)],_0x51eed7(0x1d9),()=>{const _0x3ecf83=_0x51eed7;this[_0x3ecf83(0x1bb)]();});}[_0x3721ac(0x1ba)](){const _0x2f1c80=_0x3721ac,_0x444b62=this[_0x2f1c80(0x1c4)];return{'tag':_0x2f1c80(0x1fe),'attributes':{'class':['ck',_0x2f1c80(0x20a),_0x2f1c80(0x1e8),_0x2f1c80(0x1e1),_0x444b62['if'](_0x2f1c80(0x1d8),_0x2f1c80(0x1b6)),_0x444b62['if'](_0x2f1c80(0x1ff),_0x2f1c80(0x204)),_0x444b62['if'](_0x2f1c80(0x1d4),_0x2f1c80(0x1c8)),_0x444b62['to'](_0x2f1c80(0x1fa),_0x4b1dcb=>_0x4b1dcb?_0x2f1c80(0x1d2)+_0x4b1dcb:'')],'data-thread-id':this[_0x2f1c80(0x1c9)]['id'],'tabindex':0x0,'role':_0x2f1c80(0x1cf),'aria-label':_0x444b62['to'](_0x2f1c80(0x20c)),'aria-describedby':this[_0x2f1c80(0x1ed)]['id']},'children':[{'tag':_0x2f1c80(0x1fe),'attributes':{'class':_0x2f1c80(0x20b)},'children':this[_0x2f1c80(0x1b9)]}]};}[_0x3721ac(0x1c7)](){const _0xec5279=_0x3721ac;super[_0xec5279(0x1c7)](),this[_0xec5279(0x1d6)]=this[_0xec5279(0x1e4)][_0xec5279(0x200)](_0xec5279(0x1f9)),this[_0xec5279(0x1c9)]['on'](_0xec5279(0x20e),()=>{const _0x41fd2f=_0xec5279;this[_0x41fd2f(0x1b7)]();}),this[_0xec5279(0x1b7)]();}[_0x3721ac(0x1b3)](){const _0xcc3df0=_0x3721ac;this[_0xcc3df0(0x1ec)]();for(const _0x24c45d of this[_0xcc3df0(0x1bc)][_0xcc3df0(0x1f7)])_0x24c45d[_0xcc3df0(0x1ec)]();}[_0x3721ac(0x1bb)](){const _0x5f2b96=_0x3721ac,{locale:_0x25dac4}=this,_0x288e64=this[_0x5f2b96(0x1bc)][_0x5f2b96(0x1f7)][_0x5f2b96(0x1dd)](0x0);_0x288e64===this[_0x5f2b96(0x1b5)]||_0x288e64[_0x5f2b96(0x1bd)]||(this[_0x5f2b96(0x1b5)]=_0x288e64,this[_0x5f2b96(0x1fc)](_0x5f2b96(0x1fa)),this[_0x5f2b96(0x1ce)](_0x5f2b96(0x1fa))['to'](_0x288e64,_0x5f2b96(0x1fa),_0x12b726=>_0x5f2b96(0x1fb)===_0x12b726?_0x5f2b96(0x1fb):null),_0x288e64[_0x5f2b96(0x1f0)]=_0x22a037(_0x25dac4,_0x5f2b96(0x1c2)),_0x288e64[_0x5f2b96(0x1cd)]['on'](_0x5f2b96(0x1b4),_0x1231d0=>{const _0x488ea0=_0x5f2b96;_0x1231d0[_0x488ea0(0x1c0)](),this[_0x488ea0(0x1f1)](_0x22a037(_0x25dac4,_0x488ea0(0x1d0)),this[_0x488ea0(0x1d6)])[_0x488ea0(0x1ca)](()=>{const _0x1dd1e6=_0x488ea0;this[_0x1dd1e6(0x1d7)](_0x1dd1e6(0x1e9));});},{'priority':_0x5f2b96(0x1f8)}),this['on'](_0x5f2b96(0x1eb),()=>{const _0x37742a=_0x5f2b96;_0x288e64[_0x37742a(0x1ea)]();}),_0x288e64[_0x5f2b96(0x1cc)][_0x5f2b96(0x1d9)](this[_0x5f2b96(0x1e0)],0x0),_0x288e64[_0x5f2b96(0x1cb)][_0x5f2b96(0x1d9)](this[_0x5f2b96(0x1e0)],0x0));}[_0x3721ac(0x1bf)](){const _0x228425=_0x3721ac,_0x1273d=new _0x1c0f74(this[_0x228425(0x1d5)]);return _0x1273d[_0x228425(0x1fd)]=_0x22a037(this[_0x228425(0x1d5)],_0x228425(0x1e3)),_0x1273d[_0x228425(0x20d)]=_0x22a037(this[_0x228425(0x1d5)],_0x228425(0x1e3)),_0x1273d[_0x228425(0x1df)]=_0x2f8c36[_0x228425(0x207)],_0x1273d[_0x228425(0x1db)]({'attributes':{'class':_0x228425(0x1c6)}}),_0x1273d[_0x228425(0x1ce)](_0x228425(0x1d1))['to'](this[_0x228425(0x1c9)],_0x228425(0x209),_0x3d182e=>!_0x3d182e),_0x1273d[_0x228425(0x1ce)](_0x228425(0x1f2))['to'](this[_0x228425(0x1c9)],_0x228425(0x1f4),this[_0x228425(0x1c9)],_0x228425(0x1dc),(_0x5418e5,_0x4b8f78)=>_0x5418e5&&!_0x4b8f78),_0x1273d['on'](_0x228425(0x1b4),()=>{const _0x118b34=_0x228425;this[_0x118b34(0x1d7)](_0x118b34(0x1c5),this[_0x118b34(0x1c9)]['id']);}),_0x1273d;}[_0x3721ac(0x1b7)](){const _0x31b15d=_0x3721ac;this[_0x31b15d(0x1c9)][_0x31b15d(0x1c3)]?this[_0x31b15d(0x1b9)][_0x31b15d(0x1ef)](this[_0x31b15d(0x206)])||(this[_0x31b15d(0x1b9)][_0x31b15d(0x1d9)](this[_0x31b15d(0x206)],0x0),this[_0x31b15d(0x1cb)][_0x31b15d(0x1d9)](this[_0x31b15d(0x206)],0x0)):this[_0x31b15d(0x1b9)][_0x31b15d(0x1ef)](this[_0x31b15d(0x206)])&&(this[_0x31b15d(0x1b9)][_0x31b15d(0x1fb)](this[_0x31b15d(0x206)]),this[_0x31b15d(0x1cb)][_0x31b15d(0x1fb)](this[_0x31b15d(0x206)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x6643ea=_0x4b03;(function(_0x1640fb,_0x6f9817){const _0x5eb1bf=_0x4b03,_0x1d9902=_0x1640fb();while(!![]){try{const _0x80787e=-parseInt(_0x5eb1bf(0x171))/0x1*(-parseInt(_0x5eb1bf(0x18f))/0x2)+parseInt(_0x5eb1bf(0x12d))/0x3*(-parseInt(_0x5eb1bf(0x18a))/0x4)+parseInt(_0x5eb1bf(0x125))/0x5+-parseInt(_0x5eb1bf(0x191))/0x6*(parseInt(_0x5eb1bf(0x183))/0x7)+-parseInt(_0x5eb1bf(0x16f))/0x8*(-parseInt(_0x5eb1bf(0x165))/0x9)+parseInt(_0x5eb1bf(0x170))/0xa*(-parseInt(_0x5eb1bf(0x17c))/0xb)+parseInt(_0x5eb1bf(0x15f))/0xc;if(_0x80787e===_0x6f9817)break;else _0x1d9902['push'](_0x1d9902['shift']());}catch(_0x14ddf7){_0x1d9902['push'](_0x1d9902['shift']());}}}(_0x262d,0x39a42));function _0x4b03(_0x223116,_0x47acd4){const _0x262d26=_0x262d();return _0x4b03=function(_0x4b03e0,_0x4ca7bf){_0x4b03e0=_0x4b03e0-0x116;let _0x25356c=_0x262d26[_0x4b03e0];return _0x25356c;},_0x4b03(_0x223116,_0x47acd4);}import{ButtonView as _0x1d39d7,createDropdown as _0x5a36e5,ListView as _0x42c1c4,ListItemView as _0x202388,focusChildOnDropdownOpen as _0x29c2ee}from'ckeditor5/src/ui.js';import{icons as _0x57a854}from'ckeditor5/src/core.js';import{UserView as _0x5864ac,ConfirmMixin as _0x3dcf7c,LateFocusDropdownButtonView as _0x4afe51}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x262d(){const _0x4517e3=['45273Pibrmd','isEnabled','userView','Reply...','edit','resolvedAt','from','ck-annotation__main','switchToEditMode','bind','span','isEditMode','visibleView','bindTemplate','_model','ck-annotation__content-wrapper','panelPosition','ck-annotation','ck-comment__info','listitem','focusables','isConfirm','_config','createCollection','ck-annotation__info-time','setTemplate','dropdown','icon','isEditable','ck-comment--info','_createCommentInputView','ariaDescriptionView','getUserViewNotificationText','ck-annotation__user','name','length','pencil','showConfirm','ck-comment__info-time','Delete\x20comment?','formatDateTime','listenTo','set','ck-comment__user','label','extendTemplate','toMany','actionIndicator','add','ck-annotation__actions--hidden','811080IzqSBI','ck-annotation__info-name','placeholder','ck-comment','blur','ck-annotation__actions','9bktiIc','actionBar','author','ariaLabel','ck-comment__actions--hidden','_createEditButton','isVisible','items','buttonView','panelView','2637648pqrZpT','2810BXMeaQ','1xnqZbM','ck-hidden','children','locale','execute','addMany','threeVerticalDots','isReadOnly','Remove','ck-comment__info-name','render','5203SjQRFf','element','time','ck-comment__wrapper','change:isRemovable','authoredAt','mouseleave','91VILiHA','ck-comment__main','fire','remove','getExternalCommentNote','removeButton','ck-comment--remove-confirmation','88ZCiCks','mouseenter','withText','ck-comment__actions','removeComment','693112ZvswYy','_createRemoveButton','195780sxnrxy','isSystemComment','div','isExternal','ck-comment__external','focus','group','ck-annotation__info','ck-comment--remove','isRemovable','ck-comment--','getTemplate','_attachActions','find','then','unbind','ck-comment--edit','1906755fmysDt','_createDropdown','editButton','cancelConfirm','some','Edit','push','Show\x20more\x20items'];_0x262d=function(){return _0x4517e3;};return _0x262d();}import _0x2c8c82 from'./basecommentview.js';import _0x5373af from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x101277}from'../../../utils/common-translations.js';export default class _t extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3dcf7c(_0x2c8c82){constructor(_0x1e68fc,_0x392e8d,_0x3e0f40){const _0xc53f4d=_0x4b03;super(_0x1e68fc,_0x392e8d,_0x3e0f40),this[_0xc53f4d(0x157)](_0xc53f4d(0x15c),null),this[_0xc53f4d(0x157)](_0xc53f4d(0x161),_0x101277(_0x1e68fc,_0xc53f4d(0x130))),this[_0xc53f4d(0x136)](_0xc53f4d(0x181))['to'](_0x392e8d),this[_0xc53f4d(0x136)](_0xc53f4d(0x132))['to'](_0x392e8d),this[_0xc53f4d(0x166)]=this[_0xc53f4d(0x144)](),this[_0xc53f4d(0x192)]||(this[_0xc53f4d(0x127)]=this[_0xc53f4d(0x16a)](),this[_0xc53f4d(0x188)]=this[_0xc53f4d(0x190)](),this[_0xc53f4d(0x16c)]=this[_0xc53f4d(0x144)](),this[_0xc53f4d(0x16c)][_0xc53f4d(0x176)]([this[_0xc53f4d(0x127)],this[_0xc53f4d(0x188)]]),this[_0xc53f4d(0x147)]=this[_0xc53f4d(0x126)](),this[_0xc53f4d(0x166)][_0xc53f4d(0x15d)](this[_0xc53f4d(0x147)]),this[_0xc53f4d(0x141)][_0xc53f4d(0x15d)](this[_0xc53f4d(0x147)])),this[_0xc53f4d(0x12f)]=new _0x5864ac(_0x1e68fc,_0x392e8d[_0xc53f4d(0x167)],this[_0xc53f4d(0x14d)]()),this[_0xc53f4d(0x12f)][_0xc53f4d(0x15a)]({'attributes':{'class':[_0xc53f4d(0x158),_0xc53f4d(0x14e)],'aria-hidden':!0x0}}),this[_0xc53f4d(0x156)](_0x392e8d,_0xc53f4d(0x180),()=>this[_0xc53f4d(0x128)]()),this[_0xc53f4d(0x146)](this[_0xc53f4d(0x11f)]());}[_0x6643ea(0x11f)](){const _0x977866=_0x6643ea,_0x431c67=this[_0x977866(0x13a)],_0x2614ec=[{'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x13f),_0x977866(0x11b)]},'children':[{'tag':_0x977866(0x137),'children':[{'text':this[_0x977866(0x12f)][_0x977866(0x14f)]}],'attributes':{'class':[_0x977866(0x17a),_0x977866(0x160)],'data-cke-tooltip-text':this[_0x977866(0x12f)][_0x977866(0x14f)]}},{'tag':_0x977866(0x17e),'attributes':{'datetime':_0x431c67['to'](_0x977866(0x181)),'class':[_0x977866(0x153),_0x977866(0x145)]},'children':[{'text':_0x431c67['to'](_0x977866(0x181),_0x51a04=>this[_0x977866(0x143)][_0x977866(0x155)](_0x51a04))}]}]},{'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x18d),_0x977866(0x164),_0x431c67['if'](_0x977866(0x138),_0x977866(0x169)),_0x431c67['if'](_0x977866(0x138),_0x977866(0x15e))]},'children':this[_0x977866(0x166)]},{'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x13c)]},'children':this[_0x977866(0x139)]},this[_0x977866(0x14c)]];return this[_0x977866(0x13b)][_0x977866(0x117)]&&_0x2614ec[_0x977866(0x12b)]({'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x118)]},'children':[{'text':this[_0x977866(0x187)]()}]}),{'tag':'li','attributes':{'class':[_0x977866(0x17f),_0x431c67['if'](_0x977866(0x142),_0x977866(0x189))],'tabindex':-0x1,'aria-label':_0x431c67['to'](_0x977866(0x168)),'aria-describedby':this[_0x977866(0x14c)]['id'],'role':_0x977866(0x140)},'children':[{'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x162),_0x977866(0x13e),_0x431c67['if'](_0x977866(0x138),_0x977866(0x124)),_0x431c67['if'](_0x977866(0x192),_0x977866(0x14a)),_0x431c67['to'](_0x977866(0x15c),_0x31ac24=>_0x31ac24?_0x977866(0x11e)+_0x31ac24:'')],'data-author-id':this[_0x977866(0x13b)][_0x977866(0x167)]['id'],'data-comment-id':this[_0x977866(0x13b)]['id'],'role':_0x977866(0x11a)},'children':[this[_0x977866(0x12f)],{'tag':_0x977866(0x116),'attributes':{'class':[_0x977866(0x184),_0x977866(0x134)]},'children':_0x2614ec}]}]};}[_0x6643ea(0x16a)](){const _0x183980=_0x6643ea,_0x3bec40=new _0x1d39d7(this[_0x183980(0x174)]);return _0x3bec40[_0x183980(0x159)]=_0x101277(this[_0x183980(0x174)],_0x183980(0x12a)),_0x3bec40[_0x183980(0x148)]=_0x57a854[_0x183980(0x151)],_0x3bec40[_0x183980(0x18c)]=!0x0,_0x3bec40[_0x183980(0x15a)]({'attributes':{'class':_0x183980(0x124)}}),_0x3bec40[_0x183980(0x136)](_0x183980(0x12e))['to'](this[_0x183980(0x13b)],_0x183980(0x178),_0x42f06d=>!_0x42f06d),_0x3bec40[_0x183980(0x136)](_0x183980(0x16b))['to'](this[_0x183980(0x13b)],_0x183980(0x149)),_0x3bec40['on'](_0x183980(0x175),()=>this[_0x183980(0x135)]()),_0x3bec40;}[_0x6643ea(0x190)](){const _0x45eaa7=_0x6643ea,_0x4eae6a=new _0x1d39d7(this[_0x45eaa7(0x174)]);return _0x4eae6a[_0x45eaa7(0x159)]=_0x101277(this[_0x45eaa7(0x174)],_0x45eaa7(0x179)),_0x4eae6a[_0x45eaa7(0x148)]=_0x5373af,_0x4eae6a[_0x45eaa7(0x18c)]=!0x0,_0x4eae6a[_0x45eaa7(0x15a)]({'attributes':{'class':_0x45eaa7(0x11c)}}),_0x4eae6a[_0x45eaa7(0x136)](_0x45eaa7(0x12e))['to'](this[_0x45eaa7(0x13b)],_0x45eaa7(0x178),_0xc15f23=>!_0xc15f23),_0x4eae6a[_0x45eaa7(0x136)](_0x45eaa7(0x16b))['to'](this[_0x45eaa7(0x13b)],_0x45eaa7(0x11d)),_0x4eae6a['on'](_0x45eaa7(0x175),()=>{const _0x54b794=_0x45eaa7;this[_0x54b794(0x152)](_0x101277(this[_0x54b794(0x174)],_0x54b794(0x154)),this[_0x54b794(0x17d)])[_0x54b794(0x122)](()=>{const _0xef5d2c=_0x54b794;this[_0xef5d2c(0x185)](_0xef5d2c(0x18e),this[_0xef5d2c(0x13b)]['id']);});}),_0x4eae6a;}[_0x6643ea(0x126)](){const _0x17015d=_0x6643ea,_0x1b6c13=_0x5a36e5(this[_0x17015d(0x174)],_0x4afe51),_0x38794d=_0x1b6c13[_0x17015d(0x16e)][_0x17015d(0x173)],_0x49d318=new _0x42c1c4(this[_0x17015d(0x174)]),_0x574318=_0x1b6c13[_0x17015d(0x13a)];_0x29c2ee(_0x1b6c13,()=>this[_0x17015d(0x16c)][_0x17015d(0x121)](_0x4e46ff=>_0x4e46ff[_0x17015d(0x16b)])),_0x1b6c13[_0x17015d(0x15a)]({'attributes':{'class':[_0x574318['if'](_0x17015d(0x16b),_0x17015d(0x172),_0x52c49b=>!_0x52c49b)]}});const _0x10eb84=(_0xa25d4e,_0x5c679c=-0x1)=>{const _0x181e84=_0x17015d,_0x12280c=new _0x202388(this[_0x181e84(0x174)]);_0x12280c[_0x181e84(0x173)][_0x181e84(0x15d)](_0xa25d4e);const _0x179e2a=_0x5c679c>-0x1?_0x5c679c:_0x49d318[_0x181e84(0x16c)][_0x181e84(0x150)];_0x49d318[_0x181e84(0x16c)][_0x181e84(0x15d)](_0x12280c,_0x179e2a);const _0x3c02f4=Array[_0x181e84(0x133)](this[_0x181e84(0x16c)]);_0x1b6c13[_0x181e84(0x123)](_0x181e84(0x12e),_0x181e84(0x16b)),_0x1b6c13[_0x181e84(0x136)](_0x181e84(0x12e))[_0x181e84(0x15b)](_0x3c02f4,_0x181e84(0x12e),(..._0x4ab4ac)=>_0x4ab4ac[_0x181e84(0x129)](_0x167ed0=>_0x167ed0)),_0x1b6c13[_0x181e84(0x136)](_0x181e84(0x16b))[_0x181e84(0x15b)](_0x3c02f4,_0x181e84(0x16b),(..._0x515450)=>_0x515450[_0x181e84(0x129)](_0x2470b8=>_0x2470b8));};_0x1b6c13[_0x17015d(0x13d)]='sw',_0x1b6c13[_0x17015d(0x16d)][_0x17015d(0x157)]({'label':_0x101277(this[_0x17015d(0x174)],_0x17015d(0x12c)),'icon':_0x57a854[_0x17015d(0x177)]});for(const _0x3709ab of this[_0x17015d(0x16c)])_0x10eb84(_0x3709ab);return _0x38794d[_0x17015d(0x15d)](_0x49d318),_0x1b6c13[_0x17015d(0x156)](this[_0x17015d(0x16c)],_0x17015d(0x15d),(_0x35e1b8,_0x48f3df,_0x22a46a)=>{_0x10eb84(_0x48f3df,_0x22a46a);}),_0x1b6c13[_0x17015d(0x156)](this[_0x17015d(0x16c)],_0x17015d(0x186),(_0xd6eb46,_0x104e1a,_0x45adc9)=>{const _0x30b7ea=_0x17015d;_0x49d318[_0x30b7ea(0x16c)][_0x30b7ea(0x186)](_0x45adc9);}),_0x1b6c13;}[_0x6643ea(0x120)](_0x17f2f9,_0x4a0fc8){const _0x3c4d7a=_0x6643ea,_0x1a950b=_0x17f2f9&&_0x17f2f9[_0x3c4d7a(0x17d)];_0x1a950b&&(this[_0x3c4d7a(0x156)](_0x1a950b,_0x3c4d7a(0x18b),()=>this[_0x3c4d7a(0x15c)]=_0x4a0fc8),this[_0x3c4d7a(0x156)](_0x1a950b,_0x3c4d7a(0x119),()=>this[_0x3c4d7a(0x15c)]=_0x4a0fc8),this[_0x3c4d7a(0x156)](_0x1a950b,_0x3c4d7a(0x182),()=>this[_0x3c4d7a(0x15c)]=null),this[_0x3c4d7a(0x156)](_0x1a950b,_0x3c4d7a(0x163),()=>this[_0x3c4d7a(0x15c)]=null));}[_0x6643ea(0x14b)](){const _0x4ee492=_0x6643ea,_0x5aa1fd=super[_0x4ee492(0x14b)]();return _0x5aa1fd[_0x4ee492(0x136)](_0x4ee492(0x161))['to'](this),_0x5aa1fd;}[_0x6643ea(0x17b)](){const _0x4069e9=_0x6643ea;super[_0x4069e9(0x17b)](),this[_0x4069e9(0x120)](this[_0x4069e9(0x127)],_0x4069e9(0x131)),this[_0x4069e9(0x120)](this[_0x4069e9(0x188)],_0x4069e9(0x186));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5d64(_0x3be8d3,_0x6ace97){var _0x5ebd77=_0x5ebd();return _0x5d64=function(_0x5d6450,_0x4f717a){_0x5d6450=_0x5d6450-0x10f;var _0x134809=_0x5ebd77[_0x5d6450];return _0x134809;},_0x5d64(_0x3be8d3,_0x6ace97);}var _0x585817=_0x5d64;(function(_0x396b03,_0x5afc32){var _0x1c13f2=_0x5d64,_0x41db4a=_0x396b03();while(!![]){try{var _0x3d8078=parseInt(_0x1c13f2(0x11d))/0x1*(-parseInt(_0x1c13f2(0x114))/0x2)+-parseInt(_0x1c13f2(0x11c))/0x3+-parseInt(_0x1c13f2(0x116))/0x4*(parseInt(_0x1c13f2(0x112))/0x5)+parseInt(_0x1c13f2(0x118))/0x6+-parseInt(_0x1c13f2(0x10f))/0x7*(-parseInt(_0x1c13f2(0x117))/0x8)+parseInt(_0x1c13f2(0x111))/0x9+parseInt(_0x1c13f2(0x11b))/0xa;if(_0x3d8078===_0x5afc32)break;else _0x41db4a['push'](_0x41db4a['shift']());}catch(_0xc61ce7){_0x41db4a['push'](_0x41db4a['shift']());}}}(_0x5ebd,0x775d6));import{Plugin as _0x308349}from'ckeditor5/src/core.js';import _0x2b7ba4 from'./comments/commentsrepository.js';import _0x43d4bc from'./comments/commentsediting.js';import _0x3bd7fa from'./comments/commentsui.js';import _0x472469 from'./commentsonly.js';import _0x5a3ef5 from'./annotations/widesidebar.js';import _0x24202f from'./annotations/narrowsidebar.js';function _0x5ebd(){var _0x296745=['4057812BhuHxM','55rvjhIY','isOfficialPlugin','82jttcuf','pluginName','191672pHOGGj','54680zAXgjt','461454gNqXNw','Comments','isPremiumPlugin','13074740YDefQm','2251008QzKNOJ','2514fJlEJK','35cgpuHb','requires'];_0x5ebd=function(){return _0x296745;};return _0x5ebd();}import _0x3fdddc from'./annotations/inlineannotations.js';import _0x3e228d from'./comments/commentsarchiveui.js';import _0x368b41 from'./comments/commentsarchive.js';export default class p extends _0x308349{static get[_0x585817(0x110)](){return[_0x2b7ba4,_0x43d4bc,_0x3bd7fa,_0x368b41,_0x3e228d,_0x472469,_0x5a3ef5,_0x24202f,_0x3fdddc];}static get[_0x585817(0x115)](){var _0xd960fd=_0x585817;return _0xd960fd(0x119);}static get[_0x585817(0x113)](){return!0x0;}static get[_0x585817(0x11a)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x28e7(){const _0x4c78e5=['isEnabled','isPremiumPlugin','editSource','stopListening','highest','afterInit','8061DPakVs','commentsOnly','_disableCommentsOnlyMode','set','view','commentsOnlyMode','SourceEditing','change:isEnabled','6280569eHqlEW','delete','cut','clearForceDisabled','has','118QhNeys','CommentsOnly','affectsData','commands','editing','addCommentThread','1934540jzHwqw','14656ClGstX','244156piqRTe','3094UPXFuM','config','pluginName','editor','forceDisabled','DragDrop','plugins','2746236qhTqAv','clipboardInput','2639325FdJNWV','_enableCommentsOnlyMode','get','isOfficialPlugin','requires','listenTo','stop','document'];_0x28e7=function(){return _0x4c78e5;};return _0x28e7();}function _0x16ec(_0x3deacb,_0x2c0bc1){const _0x28e725=_0x28e7();return _0x16ec=function(_0x16eccd,_0x51668c){_0x16eccd=_0x16eccd-0x1d8;let _0x50688e=_0x28e725[_0x16eccd];return _0x50688e;},_0x16ec(_0x3deacb,_0x2c0bc1);}const _0x2290be=_0x16ec;(function(_0x28843a,_0x44aa99){const _0x2b8bb6=_0x16ec,_0x53384a=_0x28843a();while(!![]){try{const _0x35ca34=parseInt(_0x2b8bb6(0x1e4))/0x1+parseInt(_0x2b8bb6(0x1dc))/0x2*(parseInt(_0x2b8bb6(0x1fc))/0x3)+parseInt(_0x2b8bb6(0x1e2))/0x4+parseInt(_0x2b8bb6(0x1ee))/0x5+-parseInt(_0x2b8bb6(0x1ec))/0x6+-parseInt(_0x2b8bb6(0x1e5))/0x7*(parseInt(_0x2b8bb6(0x1e3))/0x8)+parseInt(_0x2b8bb6(0x204))/0x9;if(_0x35ca34===_0x44aa99)break;else _0x53384a['push'](_0x53384a['shift']());}catch(_0x3345a6){_0x53384a['push'](_0x53384a['shift']());}}}(_0x28e7,0xce324));import{Plugin as _0x4e586b}from'ckeditor5/src/core.js';import _0x4114da from'./comments/commentsediting.js';export default class s extends _0x4e586b{static get[_0x2290be(0x1e7)](){const _0x294c63=_0x2290be;return _0x294c63(0x1dd);}static get[_0x2290be(0x1f1)](){return!0x0;}static get[_0x2290be(0x1f7)](){return!0x0;}static get[_0x2290be(0x1f2)](){return[_0x4114da];}constructor(_0x5ae9cf){const _0x1229ba=_0x2290be;super(_0x5ae9cf),this[_0x1229ba(0x1ff)](_0x1229ba(0x1f6),!0x1),this['on'](_0x1229ba(0x203),(_0x2c20d6,_0x521327,_0x118e3d)=>{const _0xd6420f=_0x1229ba;_0x118e3d?this[_0xd6420f(0x1ef)]():this[_0xd6420f(0x1fe)]();});}[_0x2290be(0x1fb)](){const _0x2f7fac=_0x2290be;!this[_0x2f7fac(0x1f6)]&&this[_0x2f7fac(0x1e8)][_0x2f7fac(0x1e6)][_0x2f7fac(0x1f0)](_0x2f7fac(0x1fd))&&(this[_0x2f7fac(0x1f6)]=!0x0);}[_0x2290be(0x1ef)](){const _0x326b15=_0x2290be;var _0x124969;for(const [_0x3b5ee1,_0x31c67f]of this[_0x326b15(0x1e8)][_0x326b15(0x1df)])_0x31c67f[_0x326b15(0x1de)]&&_0x326b15(0x1e1)!==_0x3b5ee1&&_0x31c67f[_0x326b15(0x1e9)](_0x326b15(0x201));(this[_0x326b15(0x1e8)][_0x326b15(0x1eb)][_0x326b15(0x1db)](_0x326b15(0x1ea))&&this[_0x326b15(0x1e8)][_0x326b15(0x1eb)][_0x326b15(0x1f0)](_0x326b15(0x1ea))[_0x326b15(0x1e9)](_0x326b15(0x201)),this[_0x326b15(0x1e8)][_0x326b15(0x1eb)][_0x326b15(0x1db)](_0x326b15(0x202)))&&this[_0x326b15(0x1e8)][_0x326b15(0x1eb)][_0x326b15(0x1f0)](_0x326b15(0x202))[_0x326b15(0x1e9)](_0x326b15(0x201));null===(_0x124969=this[_0x326b15(0x1e8)][_0x326b15(0x1df)][_0x326b15(0x1f0)](_0x326b15(0x1f8)))||void 0x0===_0x124969||_0x124969[_0x326b15(0x1e9)](_0x326b15(0x201));const _0x145283=this[_0x326b15(0x1e8)][_0x326b15(0x1e0)][_0x326b15(0x200)][_0x326b15(0x1f5)];this[_0x326b15(0x1f3)](_0x145283,_0x326b15(0x1d9),_0x4bde15=>_0x4bde15[_0x326b15(0x1f4)](),{'priority':_0x326b15(0x1fa)}),this[_0x326b15(0x1f3)](_0x145283,_0x326b15(0x1ed),_0x337781=>_0x337781[_0x326b15(0x1f4)](),{'priority':_0x326b15(0x1fa)}),this[_0x326b15(0x1f3)](_0x145283,_0x326b15(0x1d8),_0x442e36=>_0x442e36[_0x326b15(0x1f4)](),{'priority':_0x326b15(0x1fa)});}[_0x2290be(0x1fe)](){const _0x198154=_0x2290be;var _0x5e2b80;for(const [_0x4fd441,_0x5dfd42]of this[_0x198154(0x1e8)][_0x198154(0x1df)])_0x5dfd42[_0x198154(0x1de)]&&_0x198154(0x1e1)!==_0x4fd441&&_0x5dfd42[_0x198154(0x1da)](_0x198154(0x201));this[_0x198154(0x1e8)][_0x198154(0x1eb)][_0x198154(0x1db)](_0x198154(0x202))&&this[_0x198154(0x1e8)][_0x198154(0x1eb)][_0x198154(0x1f0)](_0x198154(0x202))[_0x198154(0x1da)](_0x198154(0x201)),null===(_0x5e2b80=this[_0x198154(0x1e8)][_0x198154(0x1df)][_0x198154(0x1f0)](_0x198154(0x1f8)))||void 0x0===_0x5e2b80||_0x5e2b80[_0x198154(0x1da)](_0x198154(0x201)),this[_0x198154(0x1f9)](this[_0x198154(0x1e8)][_0x198154(0x1e0)][_0x198154(0x200)][_0x198154(0x1f5)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3f8bba,_0x26aeaf){var _0x279b1a=_0x18ae,_0x191cee=_0x3f8bba();while(!![]){try{var _0x2089bf=parseInt(_0x279b1a(0x19e))/0x1*(-parseInt(_0x279b1a(0x1a5))/0x2)+-parseInt(_0x279b1a(0x19f))/0x3*(parseInt(_0x279b1a(0x1a8))/0x4)+parseInt(_0x279b1a(0x1a9))/0x5*(parseInt(_0x279b1a(0x1a0))/0x6)+parseInt(_0x279b1a(0x1a6))/0x7*(parseInt(_0x279b1a(0x1a3))/0x8)+-parseInt(_0x279b1a(0x1a2))/0x9+-parseInt(_0x279b1a(0x1a1))/0xa*(-parseInt(_0x279b1a(0x1a7))/0xb)+parseInt(_0x279b1a(0x1a4))/0xc;if(_0x2089bf===_0x26aeaf)break;else _0x191cee['push'](_0x191cee['shift']());}catch(_0x575b75){_0x191cee['push'](_0x191cee['shift']());}}}(_0xf6d2,0x4ffcc));function _0x18ae(_0x2d4bf2,_0x54da72){var _0xf6d25a=_0xf6d2();return _0x18ae=function(_0x18ae3d,_0x2632d3){_0x18ae3d=_0x18ae3d-0x19e;var _0x162a3f=_0xf6d25a[_0x18ae3d];return _0x162a3f;},_0x18ae(_0x2d4bf2,_0x54da72);}function _0xf6d2(){var _0x22771f=['8jzwHdS','4631148xBNqbk','2qEPqsP','3165092CYPKer','11exRBZA','4LpDPmk','45245GvYQPs','338794XMsnAt','868047JFUuue','126pCoLJc','1317960kSpBqw','1837251hXwDSL'];_0xf6d2=function(){return _0x22771f;};return _0xf6d2();}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';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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x129e9e,_0x41d4f8,_0x235148){const t=_0x129e9e['t'];switch(_0x41d4f8){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'},_0x235148);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'},_0x235148);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'},_0x235148);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'},_0x235148);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x235148);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'},_0x235148);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'},_0x235148);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'},_0x235148);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(_0x1ab4ee,_0x323fbd){const _0x1dc021=_0x3e8e,_0x4cd095=_0x1ab4ee();while(!![]){try{const _0x5c029f=-parseInt(_0x1dc021(0x12d))/0x1*(-parseInt(_0x1dc021(0x129))/0x2)+parseInt(_0x1dc021(0x133))/0x3+-parseInt(_0x1dc021(0x131))/0x4+parseInt(_0x1dc021(0x134))/0x5*(parseInt(_0x1dc021(0x12a))/0x6)+parseInt(_0x1dc021(0x130))/0x7*(-parseInt(_0x1dc021(0x136))/0x8)+-parseInt(_0x1dc021(0x132))/0x9+parseInt(_0x1dc021(0x12b))/0xa;if(_0x5c029f===_0x323fbd)break;else _0x4cd095['push'](_0x4cd095['shift']());}catch(_0x4769a8){_0x4cd095['push'](_0x4cd095['shift']());}}}(_0x27d3,0xea113));import{throttle as _0x2d254d}from'lodash-es';export default function J(_0x42640c){const _0x4b07a7=_0x2d254d(_0x42640c,0x1e),_0x4c036a=new MutationObserver(_0x453a99=>{const _0x147683=_0x3e8e;for(const _0x2016d9 of _0x453a99)(_0x147683(0x12c)==_0x2016d9[_0x147683(0x135)]&&_0x147683(0x125)==_0x2016d9[_0x147683(0x127)]||_0x147683(0x126)==_0x2016d9[_0x147683(0x135)]||_0x147683(0x12f)==_0x2016d9[_0x147683(0x135)])&&_0x4b07a7();});return{'attach'(_0xcea2e9){const _0x569c1e=_0x3e8e;_0x4c036a[_0x569c1e(0x124)](_0xcea2e9,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x4c2645=_0x3e8e;_0x4c036a[_0x4c2645(0x128)](),_0x4b07a7[_0x4c2645(0x12e)]();}};}function _0x3e8e(_0x457e39,_0x3fefaa){const _0x27d383=_0x27d3();return _0x3e8e=function(_0x3e8e15,_0x3e0719){_0x3e8e15=_0x3e8e15-0x124;let _0x35afae=_0x27d383[_0x3e8e15];return _0x35afae;},_0x3e8e(_0x457e39,_0x3fefaa);}function _0x27d3(){const _0x7e3d84=['type','237616zthSbD','observe','class','childList','attributeName','disconnect','2178DaDcNi','30sQlLMu','33234790sCbXZx','attributes','293UiTYcH','cancel','characterData','203AlMOCy','7394892OEClaF','14860548FXTUtF','4344963CHXeQL','229115KEqUUZ'];_0x27d3=function(){return _0x7e3d84;};return _0x27d3();}
|