@ckeditor/ckeditor5-comments 47.4.0-alpha.1 → 47.4.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4b89(_0x5b5d08,_0x5c83c2){const _0x42506f=_0x4250();return _0x4b89=function(_0x4b89c7,_0x550660){_0x4b89c7=_0x4b89c7-0x1c4;let _0x5f509f=_0x42506f[_0x4b89c7];return _0x5f509f;},_0x4b89(_0x5b5d08,_0x5c83c2);}const _0x5ba1bc=_0x4b89;(function(_0x316ec0,_0x1d1a30){const _0x5aede9=_0x4b89,_0x4e7208=_0x316ec0();while(!![]){try{const _0x1aec24=-parseInt(_0x5aede9(0x1ca))/0x1+parseInt(_0x5aede9(0x212))/0x2+parseInt(_0x5aede9(0x1c9))/0x3+-parseInt(_0x5aede9(0x1ef))/0x4*(parseInt(_0x5aede9(0x1fb))/0x5)+-parseInt(_0x5aede9(0x1eb))/0x6+-parseInt(_0x5aede9(0x1d4))/0x7+-parseInt(_0x5aede9(0x1fe))/0x8*(-parseInt(_0x5aede9(0x202))/0x9);if(_0x1aec24===_0x1d1a30)break;else _0x4e7208['push'](_0x4e7208['shift']());}catch(_0x2611d0){_0x4e7208['push'](_0x4e7208['shift']());}}}(_0x4250,0x33725));import{View as _0x39f8d7,FocusCycler as _0x7acd24}from'ckeditor5/src/ui.js';import{diff as _0x1729a7,Collection as _0x18b307,FocusTracker as _0x596c86,KeystrokeHandler as _0x4cfe3d}from'ckeditor5/src/utils.js';function _0x4250(){const _0x49ea14=['_rearrangeExpand','forEach','added','get','866268ppFUij','resolvedBy','arrowdown','editorReady','4bAdyCX','change:isEditMode','delete','focus','destroy','focusFirst','delegate','editorConfig','includes','set','bindTemplate','listenTo','468115lRPZSD','authoredAt','map','8vNIwvE','focusLast','removeComment','_handleNewCommentModel','4360491aILUou','isEditMode','change:hasDirtyComment','_handleInfoComment','ck-thread__comments','isActive','CommentView','length','weight','remove','change:isActive','maxCommentCharsWhenCollapsed','bind','hasDirtyComment','arrowup','maxCommentsWhenCollapsed','87202oGxQHM','ck-hidden','_findOptimalIndex','stopListening','Thread\x20comments','target','_calculatePosition','Marked\x20as\x20resolved','add','collapse','_config','_handleRemoveCommentModel','_setupKeyboardNavigation','_model','locale','createCollection','change','keystrokes','reverse','_shouldCollapse','maxThreadTotalWeight','_rearrangeCollapse','resolved','963273YSkfVW','101491QytkAq','resolvedAt','_updateHasDirtyComment','commentUpdated','resolveCommentThread','resolvedCommentView','element','viewUid','count','editorDestroyed','2092818fTiVGj','focusCycler','some','render','expand','from','commentViews','refreshVisibleViews','setTemplate','change:isResolved','insert','updateComment','comments','removed','formatDateTime','equal','_collapsedCommentsView','focusTracker','visibleViews'];_0x4250=function(){return _0x49ea14;};return _0x4250();}import{getTranslation as _0x106803}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x2cc6af}from'./collapsedcommentsview.js';export class CommentsListView extends _0x39f8d7{[_0x5ba1bc(0x1da)];[_0x5ba1bc(0x1cf)];[_0x5ba1bc(0x1e5)];[_0x5ba1bc(0x223)];[_0x5ba1bc(0x1d5)];[_0x5ba1bc(0x21f)];[_0x5ba1bc(0x21c)];[_0x5ba1bc(0x1e4)];constructor(_0x37514b,_0x183f92,_0x4aceb7){const _0xc35b49=_0x5ba1bc;super(_0x37514b);const _0x2fd225=this[_0xc35b49(0x1f9)];this[_0xc35b49(0x1f8)](_0xc35b49(0x20f),!0x1),this[_0xc35b49(0x1f8)](_0xc35b49(0x209),_0x183f92[_0xc35b49(0x1e0)][_0xc35b49(0x209)]),this[_0xc35b49(0x1f8)](_0xc35b49(0x207),!0x1),this[_0xc35b49(0x21f)]=_0x183f92,this[_0xc35b49(0x21c)]=_0x4aceb7,this[_0xc35b49(0x1da)]=this[_0xc35b49(0x221)](),this[_0xc35b49(0x1e6)]=this[_0xc35b49(0x221)](),this[_0xc35b49(0x1cf)]=null,this[_0xc35b49(0x1e5)]=new _0x596c86(),this[_0xc35b49(0x223)]=new _0x4cfe3d(),this[_0xc35b49(0x1d5)]=new _0x7acd24({'focusables':this[_0xc35b49(0x1da)],'focusTracker':this[_0xc35b49(0x1e5)],'keystrokeHandler':this[_0xc35b49(0x223)],'keystrokeHandlerOptions':{'filter':_0x296a22=>this[_0xc35b49(0x1da)][_0xc35b49(0x1fd)](_0x547944=>_0x547944[_0xc35b49(0x1d0)])[_0xc35b49(0x1f7)](_0x296a22[_0xc35b49(0x217)])},'actions':{'focusPrevious':_0xc35b49(0x210),'focusNext':_0xc35b49(0x1ed)}}),this[_0xc35b49(0x1e4)]=new _0x2cc6af(_0x37514b),this[_0xc35b49(0x1e4)][_0xc35b49(0x20e)](_0xc35b49(0x1d2))['to'](this,_0xc35b49(0x209),_0x48b25a=>_0x48b25a-this[_0xc35b49(0x21c)][_0xc35b49(0x211)]);for(const _0x3f4d7d of _0x183f92[_0xc35b49(0x1e0)])this[_0xc35b49(0x201)](_0x3f4d7d);this[_0xc35b49(0x205)](),this[_0xc35b49(0x1fa)](_0x183f92[_0xc35b49(0x1e0)],_0xc35b49(0x21a),(_0x15816c,_0x26d94e)=>{const _0x587d5e=_0xc35b49,_0x4e6c96=this[_0x587d5e(0x218)](_0x26d94e);this[_0x587d5e(0x209)]++,this[_0x587d5e(0x201)](_0x26d94e,_0x4e6c96),this[_0x587d5e(0x1db)]();}),this[_0xc35b49(0x1fa)](_0x183f92[_0xc35b49(0x1e0)],_0xc35b49(0x20b),(_0x30d457,_0x315a2e)=>{const _0x2dcc4d=_0xc35b49;this[_0x2dcc4d(0x209)]--,this[_0x2dcc4d(0x21d)](_0x315a2e),this[_0x2dcc4d(0x1db)]();}),this[_0xc35b49(0x1fa)](_0x183f92,_0xc35b49(0x1cd),()=>this[_0xc35b49(0x1db)]()),this[_0xc35b49(0x1fa)](_0x183f92,_0xc35b49(0x1dd),()=>this[_0xc35b49(0x205)]()),this['on'](_0xc35b49(0x20c),()=>this[_0xc35b49(0x1db)]()),this['on'](_0xc35b49(0x204),()=>this[_0xc35b49(0x1db)]()),this[_0xc35b49(0x1dc)]({'tag':'ul','attributes':{'class':[_0xc35b49(0x206),_0x2fd225['if'](_0xc35b49(0x209),_0xc35b49(0x213),_0x302da1=>!_0x302da1)],'aria-label':_0x106803(_0x37514b,_0xc35b49(0x216))},'children':this[_0xc35b49(0x1e6)]});}get[_0x5ba1bc(0x1c5)](){const _0x1e06b9=_0x5ba1bc;return this[_0x1e06b9(0x21f)][_0x1e06b9(0x20a)]>this[_0x1e06b9(0x21c)][_0x1e06b9(0x1c6)]&&!this[_0x1e06b9(0x207)]&&!this[_0x1e06b9(0x20f)];}[_0x5ba1bc(0x1d7)](){const _0x9adf48=_0x5ba1bc;super[_0x9adf48(0x1d7)](),this[_0x9adf48(0x1db)](),this[_0x9adf48(0x21e)]();}[_0x5ba1bc(0x1f2)](_0x39cdff){const _0x3e254c=_0x5ba1bc;-0x1===_0x39cdff?this[_0x3e254c(0x1d5)][_0x3e254c(0x1ff)]():this[_0x3e254c(0x1d5)][_0x3e254c(0x1f4)]();}[_0x5ba1bc(0x1f3)](){const _0x1d418c=_0x5ba1bc;this[_0x1d418c(0x1e4)][_0x1d418c(0x1f3)]();for(const _0x45d4fb of this[_0x1d418c(0x1da)])_0x45d4fb[_0x1d418c(0x1f3)]();super[_0x1d418c(0x1f3)]();}[_0x5ba1bc(0x1db)](){const _0x3f50da=_0x5ba1bc;this[_0x3f50da(0x1c5)]?this[_0x3f50da(0x1c7)]():this[_0x3f50da(0x1e7)]();}[_0x5ba1bc(0x201)](_0x3570bb,_0x5cf3dc){const _0x2f55f1=_0x5ba1bc,_0x1d9123=new this[(_0x2f55f1(0x21c))][(_0x2f55f1(0x208))](this[_0x2f55f1(0x220)],_0x3570bb,{'maxCommentCharsWhenCollapsed':this[_0x2f55f1(0x21c)][_0x2f55f1(0x20d)],'formatDateTime':this[_0x2f55f1(0x21c)][_0x2f55f1(0x1e2)],'editorConfig':this[_0x2f55f1(0x21c)][_0x2f55f1(0x1f6)]});_0x1d9123[_0x2f55f1(0x1d1)]=_0x3570bb['id'],_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x200))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1df))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1ce))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1ee))['to'](this),_0x1d9123[_0x2f55f1(0x1f5)](_0x2f55f1(0x1d3))['to'](this),this[_0x2f55f1(0x1fa)](_0x1d9123,_0x2f55f1(0x1f0),()=>this[_0x2f55f1(0x1cc)]()),this[_0x2f55f1(0x1da)][_0x2f55f1(0x21a)](_0x1d9123,_0x5cf3dc);}[_0x5ba1bc(0x218)](_0x1d41b5){const _0x307b43=_0x5ba1bc,_0x101f41=this[_0x307b43(0x21f)][_0x307b43(0x214)](_0x1d41b5);return this[_0x307b43(0x1cf)]?this[_0x307b43(0x1cf)][_0x307b43(0x1fc)]>_0x1d41b5[_0x307b43(0x1fc)]?_0x101f41-0x1:_0x101f41:_0x101f41-0x1;}[_0x5ba1bc(0x205)](){const _0x58c3f6=_0x5ba1bc;if(this[_0x58c3f6(0x21f)][_0x58c3f6(0x1ec)]&&this[_0x58c3f6(0x21f)][_0x58c3f6(0x1cb)]){const _0x18d2c4={'id':_0x58c3f6(0x1c8),'author':this[_0x58c3f6(0x21f)][_0x58c3f6(0x1ec)],'authoredAt':this[_0x58c3f6(0x21f)][_0x58c3f6(0x1cb)],'content':_0x106803(this[_0x58c3f6(0x220)],_0x58c3f6(0x219)),'attributes':{}};this[_0x58c3f6(0x1cf)]=new this[(_0x58c3f6(0x21c))][(_0x58c3f6(0x208))](this[_0x58c3f6(0x220)],_0x18d2c4,{'maxCommentCharsWhenCollapsed':this[_0x58c3f6(0x21c)][_0x58c3f6(0x20d)],'formatDateTime':this[_0x58c3f6(0x21c)][_0x58c3f6(0x1e2)],'editorConfig':this[_0x58c3f6(0x21c)][_0x58c3f6(0x1f6)],'isSystemComment':!0x0}),this[_0x58c3f6(0x1da)][_0x58c3f6(0x21a)](this[_0x58c3f6(0x1cf)],this[_0x58c3f6(0x21f)][_0x58c3f6(0x214)](_0x18d2c4));}else this[_0x58c3f6(0x1cf)]&&(this[_0x58c3f6(0x1da)][_0x58c3f6(0x20b)](this[_0x58c3f6(0x1cf)]),this[_0x58c3f6(0x1cf)][_0x58c3f6(0x1f3)](),this[_0x58c3f6(0x1cf)]=null);this[_0x58c3f6(0x1db)]();}[_0x5ba1bc(0x21d)](_0x4d67e6){const _0x143b25=_0x5ba1bc,_0x29c330=this[_0x143b25(0x1da)][_0x143b25(0x20b)](_0x4d67e6['id']);this[_0x143b25(0x215)](_0x29c330),_0x29c330[_0x143b25(0x203)]&&this[_0x143b25(0x1cc)](),_0x29c330[_0x143b25(0x1f3)]();}[_0x5ba1bc(0x1cc)](){const _0x518e21=_0x5ba1bc;this[_0x518e21(0x20f)]=Array[_0x518e21(0x1d9)](this[_0x518e21(0x1da)])[_0x518e21(0x1d6)](_0x159a0f=>_0x159a0f[_0x518e21(0x203)]);}[_0x5ba1bc(0x1c7)](){const _0x5cef00=_0x5ba1bc,_0x5aa1e1=function(_0x267543){const _0x5ae82f=_0x4b89,_0x379ef4=new _0x18b307();for(const _0x558c31 of _0x267543)_0x379ef4[_0x5ae82f(0x21a)](_0x558c31);return _0x379ef4;}(this[_0x5cef00(0x1da)]),_0x3ef8a0=this[_0x5cef00(0x1e4)][_0x5cef00(0x1d2)];for(let _0xff009c=0x1;_0xff009c<=_0x3ef8a0;_0xff009c++)_0x5aa1e1[_0x5cef00(0x20b)](0x1);for(const _0x2a920f of _0x5aa1e1)_0x2a920f[_0x5cef00(0x21b)]();_0x3ef8a0>0x0&&_0x5aa1e1[_0x5cef00(0x21a)](this[_0x5cef00(0x1e4)],0x1),ns(_0x1729a7(Array[_0x5cef00(0x1d9)](this[_0x5cef00(0x1e6)]),Array[_0x5cef00(0x1d9)](_0x5aa1e1)),this[_0x5cef00(0x1e6)],_0x5aa1e1);}[_0x5ba1bc(0x1e7)](){const _0x11cfcf=_0x5ba1bc;ns(_0x1729a7(Array[_0x11cfcf(0x1d9)](this[_0x11cfcf(0x1e6)]),Array[_0x11cfcf(0x1d9)](this[_0x11cfcf(0x1da)])),this[_0x11cfcf(0x1e6)],this[_0x11cfcf(0x1da)]);for(const _0x33d3dc of this[_0x11cfcf(0x1e6)])_0x33d3dc[_0x11cfcf(0x1d8)]();}[_0x5ba1bc(0x21e)](){const _0x789eee=_0x5ba1bc;this[_0x789eee(0x1da)][_0x789eee(0x1e8)](_0x348b5d=>{const _0x26cd64=_0x789eee;this[_0x26cd64(0x1e5)][_0x26cd64(0x21a)](_0x348b5d[_0x26cd64(0x1d0)]),this[_0x26cd64(0x223)][_0x26cd64(0x1fa)](_0x348b5d[_0x26cd64(0x1d0)]);}),this[_0x789eee(0x1da)]['on'](_0x789eee(0x222),(_0x5e4820,_0x526296)=>{const _0x347b79=_0x789eee;for(const _0x422ab4 of _0x526296[_0x347b79(0x1e1)])this[_0x347b79(0x1e5)][_0x347b79(0x20b)](_0x422ab4[_0x347b79(0x1d0)]),this[_0x347b79(0x223)][_0x347b79(0x215)](_0x422ab4[_0x347b79(0x1d0)]);for(const _0x23bbc1 of Array[_0x347b79(0x1d9)](_0x526296[_0x347b79(0x1e9)])[_0x347b79(0x1c4)]())this[_0x347b79(0x1e5)][_0x347b79(0x21a)](_0x23bbc1[_0x347b79(0x1d0)]),this[_0x347b79(0x223)][_0x347b79(0x1fa)](_0x23bbc1[_0x347b79(0x1d0)]);});}}function ns(_0x2f5deb,_0x36ff23,_0x153cbf){const _0x4aca8a=_0x5ba1bc;let _0x332d33=0x0;for(const _0x505478 of _0x2f5deb)switch(_0x505478){case _0x4aca8a(0x1de):_0x36ff23[_0x4aca8a(0x21a)](_0x153cbf[_0x4aca8a(0x1ea)](_0x332d33),_0x332d33),_0x332d33++;break;case _0x4aca8a(0x1f1):_0x36ff23[_0x4aca8a(0x20b)](_0x332d33);break;case _0x4aca8a(0x1e3):_0x332d33++;}}
|
|
23
|
+
const _0x597359=_0x2f31;(function(_0xe7a4d2,_0x481eee){const _0x365c7d=_0x2f31,_0xfb4ccb=_0xe7a4d2();while(!![]){try{const _0x419f79=-parseInt(_0x365c7d(0xb2))/0x1*(-parseInt(_0x365c7d(0x73))/0x2)+parseInt(_0x365c7d(0xb7))/0x3*(-parseInt(_0x365c7d(0x8b))/0x4)+parseInt(_0x365c7d(0x84))/0x5+-parseInt(_0x365c7d(0x96))/0x6*(-parseInt(_0x365c7d(0xc6))/0x7)+-parseInt(_0x365c7d(0xd1))/0x8*(-parseInt(_0x365c7d(0x90))/0x9)+-parseInt(_0x365c7d(0xd0))/0xa*(parseInt(_0x365c7d(0xa2))/0xb)+-parseInt(_0x365c7d(0xa8))/0xc;if(_0x419f79===_0x481eee)break;else _0xfb4ccb['push'](_0xfb4ccb['shift']());}catch(_0x14a865){_0xfb4ccb['push'](_0xfb4ccb['shift']());}}}(_0x128e,0xf4106));import{View as _0x290f9d,FocusCycler as _0x3c09e1}from'ckeditor5/src/ui.js';function _0x2f31(_0x1f68b3,_0x4c3bbf){const _0x128e7e=_0x128e();return _0x2f31=function(_0x2f31fb,_0x7d1e63){_0x2f31fb=_0x2f31fb-0x73;let _0x249509=_0x128e7e[_0x2f31fb];return _0x249509;},_0x2f31(_0x1f68b3,_0x4c3bbf);}import{diff as _0x5d0353,Collection as _0x30ea97,FocusTracker as _0x362a81,KeystrokeHandler as _0x38a66a}from'ckeditor5/src/utils.js';import{getTranslation as _0x5cb98b}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x491ab0}from'./collapsedcommentsview.js';export class CommentsListView extends _0x290f9d{[_0x597359(0x87)];[_0x597359(0x8e)];[_0x597359(0xbc)];[_0x597359(0xa5)];[_0x597359(0xbf)];[_0x597359(0x82)];[_0x597359(0xc4)];[_0x597359(0x81)];constructor(_0xa05bd0,_0x17ea92,_0x1a9ab8){const _0x377e27=_0x597359;super(_0xa05bd0);const _0x1dab0d=this[_0x377e27(0xb9)];this[_0x377e27(0xd2)](_0x377e27(0x93),!0x1),this[_0x377e27(0xd2)](_0x377e27(0xcf),_0x17ea92[_0x377e27(0xce)][_0x377e27(0xcf)]),this[_0x377e27(0xd2)](_0x377e27(0x7e),!0x1),this[_0x377e27(0x82)]=_0x17ea92,this[_0x377e27(0xc4)]=_0x1a9ab8,this[_0x377e27(0x87)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x89)]=this[_0x377e27(0xa9)](),this[_0x377e27(0x8e)]=null,this[_0x377e27(0xbc)]=new _0x362a81(),this[_0x377e27(0xa5)]=new _0x38a66a(),this[_0x377e27(0xbf)]=new _0x3c09e1({'focusables':this[_0x377e27(0x87)],'focusTracker':this[_0x377e27(0xbc)],'keystrokeHandler':this[_0x377e27(0xa5)],'keystrokeHandlerOptions':{'filter':_0x1084f9=>this[_0x377e27(0x87)][_0x377e27(0x9b)](_0x1572c4=>_0x1572c4[_0x377e27(0x75)])[_0x377e27(0xcd)](_0x1084f9[_0x377e27(0xcb)])},'actions':{'focusPrevious':_0x377e27(0x97),'focusNext':_0x377e27(0xcc)}}),this[_0x377e27(0x81)]=new _0x491ab0(_0xa05bd0),this[_0x377e27(0x81)][_0x377e27(0xc3)](_0x377e27(0x94))['to'](this,_0x377e27(0xcf),_0x24052d=>_0x24052d-this[_0x377e27(0xc4)][_0x377e27(0x77)]);for(const _0x52a188 of _0x17ea92[_0x377e27(0xce)])this[_0x377e27(0xae)](_0x52a188);this[_0x377e27(0xc0)](),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0xc7),(_0x256dfd,_0x2cfcd7)=>{const _0x52bef2=_0x377e27,_0xb07ac2=this[_0x52bef2(0x7a)](_0x2cfcd7);this[_0x52bef2(0xcf)]++,this[_0x52bef2(0xae)](_0x2cfcd7,_0xb07ac2),this[_0x52bef2(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92[_0x377e27(0xce)],_0x377e27(0x9e),(_0xeb5994,_0x355dec)=>{const _0x4db4a0=_0x377e27;this[_0x4db4a0(0xcf)]--,this[_0x4db4a0(0xba)](_0x355dec),this[_0x4db4a0(0x91)]();}),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0x80),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0x95)](_0x17ea92,_0x377e27(0xab),()=>this[_0x377e27(0xc0)]()),this['on'](_0x377e27(0x9d),()=>this[_0x377e27(0x91)]()),this['on'](_0x377e27(0xc1),()=>this[_0x377e27(0x91)]()),this[_0x377e27(0xb6)]({'tag':'ul','attributes':{'class':[_0x377e27(0x9f),_0x1dab0d['if'](_0x377e27(0xcf),_0x377e27(0x76),_0x411b1c=>!_0x411b1c)],'aria-label':_0x5cb98b(_0xa05bd0,_0x377e27(0x86))},'children':this[_0x377e27(0x89)]});}get[_0x597359(0xca)](){const _0x523dc7=_0x597359;return this[_0x523dc7(0x82)][_0x523dc7(0xa4)]>this[_0x523dc7(0xc4)][_0x523dc7(0xd4)]&&!this[_0x523dc7(0x7e)]&&!this[_0x523dc7(0x93)];}[_0x597359(0xa1)](){const _0x2747e2=_0x597359;super[_0x2747e2(0xa1)](),this[_0x2747e2(0x91)](),this[_0x2747e2(0x98)]();}[_0x597359(0xac)](_0x344b54){const _0x14cb36=_0x597359;-0x1===_0x344b54?this[_0x14cb36(0xbf)][_0x14cb36(0xa0)]():this[_0x14cb36(0xbf)][_0x14cb36(0xc8)]();}[_0x597359(0xaf)](){const _0x5495fd=_0x597359;this[_0x5495fd(0x81)][_0x5495fd(0xaf)]();for(const _0x19b141 of this[_0x5495fd(0x87)])_0x19b141[_0x5495fd(0xaf)]();super[_0x5495fd(0xaf)]();}[_0x597359(0x91)](){const _0x152375=_0x597359;this[_0x152375(0xca)]?this[_0x152375(0xc9)]():this[_0x152375(0xb0)]();}[_0x597359(0xae)](_0x136427,_0x1f5c31){const _0x120b47=_0x597359,_0x3306d9=new this[(_0x120b47(0xc4))][(_0x120b47(0x78))](this[_0x120b47(0xad)],_0x136427,{'maxCommentCharsWhenCollapsed':this[_0x120b47(0xc4)][_0x120b47(0xb1)],'formatDateTime':this[_0x120b47(0xc4)][_0x120b47(0x79)],'editorConfig':this[_0x120b47(0xc4)][_0x120b47(0x9c)]});_0x3306d9[_0x120b47(0x92)]=_0x136427['id'],_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xbd))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x7d))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xaa))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0xc5))['to'](this),_0x3306d9[_0x120b47(0x8c)](_0x120b47(0x8d))['to'](this),this[_0x120b47(0x95)](_0x3306d9,_0x120b47(0xb8),()=>this[_0x120b47(0xbe)]()),this[_0x120b47(0x87)][_0x120b47(0xc7)](_0x3306d9,_0x1f5c31);}[_0x597359(0x7a)](_0x1be63a){const _0x1bff7e=_0x597359,_0x55bc84=this[_0x1bff7e(0x82)][_0x1bff7e(0xb5)](_0x1be63a);return this[_0x1bff7e(0x8e)]?this[_0x1bff7e(0x8e)][_0x1bff7e(0x7f)]>_0x1be63a[_0x1bff7e(0x7f)]?_0x55bc84-0x1:_0x55bc84:_0x55bc84-0x1;}[_0x597359(0xc0)](){const _0x4e6b2c=_0x597359;if(this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)]&&this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)]){const _0xc8a3ed={'id':_0x4e6b2c(0xbb),'author':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x8f)],'authoredAt':this[_0x4e6b2c(0x82)][_0x4e6b2c(0x99)],'content':_0x5cb98b(this[_0x4e6b2c(0xad)],_0x4e6b2c(0xb4)),'attributes':{}};this[_0x4e6b2c(0x8e)]=new this[(_0x4e6b2c(0xc4))][(_0x4e6b2c(0x78))](this[_0x4e6b2c(0xad)],_0xc8a3ed,{'maxCommentCharsWhenCollapsed':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0xb1)],'formatDateTime':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x79)],'editorConfig':this[_0x4e6b2c(0xc4)][_0x4e6b2c(0x9c)],'isSystemComment':!0x0}),this[_0x4e6b2c(0x87)][_0x4e6b2c(0xc7)](this[_0x4e6b2c(0x8e)],this[_0x4e6b2c(0x82)][_0x4e6b2c(0xb5)](_0xc8a3ed));}else this[_0x4e6b2c(0x8e)]&&(this[_0x4e6b2c(0x87)][_0x4e6b2c(0x9e)](this[_0x4e6b2c(0x8e)]),this[_0x4e6b2c(0x8e)][_0x4e6b2c(0xaf)](),this[_0x4e6b2c(0x8e)]=null);this[_0x4e6b2c(0x91)]();}[_0x597359(0xba)](_0x3353cc){const _0x52cd77=_0x597359,_0x225416=this[_0x52cd77(0x87)][_0x52cd77(0x9e)](_0x3353cc['id']);this[_0x52cd77(0x83)](_0x225416),_0x225416[_0x52cd77(0x88)]&&this[_0x52cd77(0xbe)](),_0x225416[_0x52cd77(0xaf)]();}[_0x597359(0xbe)](){const _0x166120=_0x597359;this[_0x166120(0x93)]=Array[_0x166120(0xb3)](this[_0x166120(0x87)])[_0x166120(0x8a)](_0x2369d6=>_0x2369d6[_0x166120(0x88)]);}[_0x597359(0xc9)](){const _0x432e19=_0x597359,_0x10bef3=function(_0x3781fc){const _0x2583b5=_0x2f31,_0x24865c=new _0x30ea97();for(const _0x4ac890 of _0x3781fc)_0x24865c[_0x2583b5(0xc7)](_0x4ac890);return _0x24865c;}(this[_0x432e19(0x87)]),_0xb04677=this[_0x432e19(0x81)][_0x432e19(0x94)];for(let _0x597e1f=0x1;_0x597e1f<=_0xb04677;_0x597e1f++)_0x10bef3[_0x432e19(0x9e)](0x1);for(const _0x217403 of _0x10bef3)_0x217403[_0x432e19(0xd3)]();_0xb04677>0x0&&_0x10bef3[_0x432e19(0xc7)](this[_0x432e19(0x81)],0x1),ns(_0x5d0353(Array[_0x432e19(0xb3)](this[_0x432e19(0x89)]),Array[_0x432e19(0xb3)](_0x10bef3)),this[_0x432e19(0x89)],_0x10bef3);}[_0x597359(0xb0)](){const _0x11ae34=_0x597359;ns(_0x5d0353(Array[_0x11ae34(0xb3)](this[_0x11ae34(0x89)]),Array[_0x11ae34(0xb3)](this[_0x11ae34(0x87)])),this[_0x11ae34(0x89)],this[_0x11ae34(0x87)]);for(const _0x4cd00d of this[_0x11ae34(0x89)])_0x4cd00d[_0x11ae34(0xc2)]();}[_0x597359(0x98)](){const _0x1181c6=_0x597359;this[_0x1181c6(0x87)][_0x1181c6(0x7c)](_0x404928=>{const _0x52388b=_0x1181c6;this[_0x52388b(0xbc)][_0x52388b(0xc7)](_0x404928[_0x52388b(0x75)]),this[_0x52388b(0xa5)][_0x52388b(0x95)](_0x404928[_0x52388b(0x75)]);}),this[_0x1181c6(0x87)]['on'](_0x1181c6(0xd5),(_0x436ef6,_0x957a72)=>{const _0x21d1c0=_0x1181c6;for(const _0xadba3d of _0x957a72[_0x21d1c0(0x9a)])this[_0x21d1c0(0xbc)][_0x21d1c0(0x9e)](_0xadba3d[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x83)](_0xadba3d[_0x21d1c0(0x75)]);for(const _0x29bc19 of Array[_0x21d1c0(0xb3)](_0x957a72[_0x21d1c0(0xa6)])[_0x21d1c0(0x85)]())this[_0x21d1c0(0xbc)][_0x21d1c0(0xc7)](_0x29bc19[_0x21d1c0(0x75)]),this[_0x21d1c0(0xa5)][_0x21d1c0(0x95)](_0x29bc19[_0x21d1c0(0x75)]);});}}function ns(_0xaa8909,_0x2be6ef,_0x520719){const _0x54ca9f=_0x597359;let _0x1be9b4=0x0;for(const _0x4f8c4b of _0xaa8909)switch(_0x4f8c4b){case _0x54ca9f(0xa7):_0x2be6ef[_0x54ca9f(0xc7)](_0x520719[_0x54ca9f(0x74)](_0x1be9b4),_0x1be9b4),_0x1be9b4++;break;case _0x54ca9f(0x7b):_0x2be6ef[_0x54ca9f(0x9e)](_0x1be9b4);break;case _0x54ca9f(0xa3):_0x1be9b4++;}}function _0x128e(){const _0x507fa2=['22FFrsvf','equal','weight','keystrokes','added','insert','9165528kCjJcq','createCollection','resolveCommentThread','change:isResolved','focus','locale','_handleNewCommentModel','destroy','_rearrangeExpand','maxCommentCharsWhenCollapsed','742048fmcxdv','from','Marked\x20as\x20resolved','_findOptimalIndex','setTemplate','393riWtuC','change:isEditMode','bindTemplate','_handleRemoveCommentModel','resolved','focusTracker','removeComment','_updateHasDirtyComment','focusCycler','_handleInfoComment','change:hasDirtyComment','expand','bind','_config','editorReady','7ayXMoJ','add','focusFirst','_rearrangeCollapse','_shouldCollapse','target','arrowdown','includes','comments','length','5648870VeJACT','48nnTOmO','set','collapse','maxThreadTotalWeight','change','4CNzhNg','get','element','ck-hidden','maxCommentsWhenCollapsed','CommentView','formatDateTime','_calculatePosition','delete','forEach','updateComment','isActive','authoredAt','commentUpdated','_collapsedCommentsView','_model','stopListening','7620310JSWtkz','reverse','Thread\x20comments','commentViews','isEditMode','visibleViews','some','18972LgZxRU','delegate','editorDestroyed','resolvedCommentView','resolvedBy','51201cYlQLa','refreshVisibleViews','viewUid','hasDirtyComment','count','listenTo','2833770AskrIM','arrowup','_setupKeyboardNavigation','resolvedAt','removed','map','editorConfig','change:isActive','remove','ck-thread__comments','focusLast','render'];_0x128e=function(){return _0x507fa2;};return _0x128e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1975(){const _0x108b70=['contextValue','focus','setTemplate','span','bindTemplate','21Frmten','THREAD_CONTEXT_LABEL','412065WcBrXc','2114691znqjEI','50966AreWMu','element','20odvgBR','128TymChk','4UivDCX','3120870fTSadf','ck-context__value','24969252fOWcLr','1868270pcDNpT','1459344Qxopti','set'];_0x1975=function(){return _0x108b70;};return _0x1975();}const _0x244e39=_0x161c;(function(_0x85bafe,_0x48c40d){const _0x5ae6a5=_0x161c,_0x8054d5=_0x85bafe();while(!![]){try{const _0x51069c=parseInt(_0x5ae6a5(0x173))/0x1*(-parseInt(_0x5ae6a5(0x175))/0x2)+parseInt(_0x5ae6a5(0x172))/0x3*(-parseInt(_0x5ae6a5(0x177))/0x4)+parseInt(_0x5ae6a5(0x178))/0x5+parseInt(_0x5ae6a5(0x17c))/0x6*(-parseInt(_0x5ae6a5(0x16f))/0x7)+parseInt(_0x5ae6a5(0x176))/0x8*(-parseInt(_0x5ae6a5(0x171))/0x9)+parseInt(_0x5ae6a5(0x17b))/0xa+parseInt(_0x5ae6a5(0x17a))/0xb;if(_0x51069c===_0x48c40d)break;else _0x8054d5['push'](_0x8054d5['shift']());}catch(_0x590696){_0x8054d5['push'](_0x8054d5['shift']());}}}(_0x1975,0x62ab0));import{View as _0x115272}from'ckeditor5/src/ui.js';function _0x161c(_0x4b20d7,_0x19a82d){const _0x1975e5=_0x1975();return _0x161c=function(_0x161c8e,_0x2fc867){_0x161c8e=_0x161c8e-0x16e;let _0x2335f3=_0x1975e5[_0x161c8e];return _0x2335f3;},_0x161c(_0x4b20d7,_0x19a82d);}import{getTranslation as _0x5685eb}from'../../../utils/common-translations.js';export class CommentThreadHeaderContextView extends _0x115272{constructor(_0xf90333){const _0x6c34d0=_0x161c;super(_0xf90333);const _0x34b1e6=this[_0x6c34d0(0x16e)];this[_0x6c34d0(0x17d)](_0x6c34d0(0x17e),''),this[_0x6c34d0(0x180)]({'tag':_0x6c34d0(0x181),'attributes':{'class':['ck',_0x6c34d0(0x179)],'aria-label':_0x34b1e6['to'](_0x6c34d0(0x17e),_0x55763b=>_0x5685eb(_0xf90333,_0x6c34d0(0x170),_0x55763b)),'tabindex':-0x1},'children':[{'text':_0x34b1e6['to'](_0x6c34d0(0x17e))}]});}[_0x244e39(0x17f)](){const _0x480df4=_0x244e39;this[_0x480df4(0x174)][_0x480df4(0x17f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x507c4f=_0x5bb9;function _0x5bb9(_0x2c2205,_0x1c3fdc){const _0x484696=_0x4846();return _0x5bb9=function(_0x5bb916,_0x2dc16d){_0x5bb916=_0x5bb916-0x1a8;let _0x508d36=_0x484696[_0x5bb916];return _0x508d36;},_0x5bb9(_0x2c2205,_0x1c3fdc);}(function(_0x2dd6ed,_0x3db64d){const _0x325aa5=_0x5bb9,_0x1040e5=_0x2dd6ed();while(!![]){try{const _0x30c630=parseInt(_0x325aa5(0x1db))/0x1*(parseInt(_0x325aa5(0x1de))/0x2)+-parseInt(_0x325aa5(0x1e0))/0x3*(parseInt(_0x325aa5(0x1d6))/0x4)+parseInt(_0x325aa5(0x1dc))/0x5*(parseInt(_0x325aa5(0x1ad))/0x6)+-parseInt(_0x325aa5(0x1bb))/0x7*(parseInt(_0x325aa5(0x1eb))/0x8)+-parseInt(_0x325aa5(0x1b9))/0x9*(-parseInt(_0x325aa5(0x1d8))/0xa)+-parseInt(_0x325aa5(0x1df))/0xb*(parseInt(_0x325aa5(0x1ea))/0xc)+-parseInt(_0x325aa5(0x1c2))/0xd;if(_0x30c630===_0x3db64d)break;else _0x1040e5['push'](_0x1040e5['shift']());}catch(_0x164064){_0x1040e5['push'](_0x1040e5['shift']());}}}(_0x4846,0x369f7));import{View as _0x48e24c,ButtonView as _0x596536,FocusCycler as _0x47cd02}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3785ab,KeystrokeHandler as _0x8ba457}from'ckeditor5/src/utils.js';import{IconUndo as _0x125c24}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cbf12}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x6bf051}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x48e24c{[_0x507c4f(0x1d9)];[_0x507c4f(0x1ba)];[_0x507c4f(0x1e5)];[_0x507c4f(0x1b4)];[_0x507c4f(0x1f0)];[_0x507c4f(0x1e2)];[_0x507c4f(0x1da)];constructor(_0x5ed396,_0xd2f208){const _0xa68432=_0x507c4f;super(_0x5ed396);const _0x1d0888=this[_0xa68432(0x1e4)];this[_0xa68432(0x1d9)]=_0xd2f208,this[_0xa68432(0x1ba)]=this[_0xa68432(0x1ce)](),this[_0xa68432(0x1e5)]=this[_0xa68432(0x1f2)](),this[_0xa68432(0x1b4)]=this[_0xa68432(0x1c1)]([this[_0xa68432(0x1e5)],this[_0xa68432(0x1ba)]]),this[_0xa68432(0x1f0)]=new _0x3785ab(),this[_0xa68432(0x1e2)]=new _0x8ba457(),this[_0xa68432(0x1da)]=new _0x47cd02({'focusables':this[_0xa68432(0x1b4)],'focusTracker':this[_0xa68432(0x1f0)],'keystrokeHandler':this[_0xa68432(0x1e2)],'actions':{'focusPrevious':_0xa68432(0x1cc),'focusNext':_0xa68432(0x1c6)}}),this[_0xa68432(0x1d0)](_0xa68432(0x1c9))['to'](this[_0xa68432(0x1d9)],_0xa68432(0x1bd),_0x1f7976=>!!_0x1f7976),this[_0xa68432(0x1d0)](_0xa68432(0x1bf))['to'](this[_0xa68432(0x1d9)],_0xa68432(0x1bd),_0xa356cc=>_0xa356cc&&_0xa356cc[_0xa68432(0x1a9)]?this[_0xa68432(0x1ef)](_0xa356cc[_0xa68432(0x1a9)]):_0x5cbf12(this[_0xa68432(0x1d1)],_0xa68432(0x1e3))),this[_0xa68432(0x1ab)]({'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1e6)]},'children':[{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1d4)]},'children':[{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1e9),_0x1d0888['if'](_0xa68432(0x1c9),_0xa68432(0x1c7))]},'children':[this[_0xa68432(0x1e5)]]}]},{'tag':_0xa68432(0x1d5),'attributes':{'class':[_0xa68432(0x1cb)]},'children':[this[_0xa68432(0x1ba)]]}]});}[_0x507c4f(0x1ed)](){const _0x501c8b=_0x507c4f;super[_0x501c8b(0x1ed)](),this[_0x501c8b(0x1b6)](),this[_0x501c8b(0x1e7)]();}[_0x507c4f(0x1b3)](){const _0x38f231=_0x507c4f;this[_0x38f231(0x1da)][_0x38f231(0x1b0)]();}[_0x507c4f(0x1ce)](){const _0x210c27=_0x507c4f,_0x53450d=new _0x596536(this[_0x210c27(0x1d1)]);return _0x53450d[_0x210c27(0x1c5)]=_0x5cbf12(this[_0x210c27(0x1d1)],_0x210c27(0x1aa)),_0x53450d[_0x210c27(0x1d3)]=_0x5cbf12(this[_0x210c27(0x1d1)],_0x210c27(0x1aa)),_0x53450d[_0x210c27(0x1e8)]=_0x125c24,_0x53450d[_0x210c27(0x1d0)](_0x210c27(0x1c0))['to'](this[_0x210c27(0x1d9)],_0x210c27(0x1cd),_0x279a9d=>!_0x279a9d),_0x53450d[_0x210c27(0x1d0)](_0x210c27(0x1b8))['to'](this[_0x210c27(0x1d9)],_0x210c27(0x1b7),this[_0x210c27(0x1d9)],_0x210c27(0x1c8),(_0x5aaedf,_0x5e542e)=>_0x5aaedf&&_0x5e542e),_0x53450d['on'](_0x210c27(0x1dd),()=>{const _0x1c3050=_0x210c27;this[_0x1c3050(0x1cf)](_0x1c3050(0x1f1),this[_0x1c3050(0x1d9)]['id']);}),_0x53450d;}[_0x507c4f(0x1ef)](_0x65c74d){const _0x54cc69=_0x507c4f;if(_0x65c74d[_0x54cc69(0x1ae)]<0x96)return _0x65c74d;const _0x4d95a6=_0x65c74d[_0x54cc69(0x1ec)]('\x20',0x93);return _0x65c74d[_0x54cc69(0x1d7)](0x0,_0x4d95a6>-0x1?_0x4d95a6:0x93)+_0x54cc69(0x1bc);}[_0x507c4f(0x1b6)](){const _0x2e8d94=_0x507c4f,_0x4b0823=this[_0x2e8d94(0x1ee)][_0x2e8d94(0x1be)](_0x2e8d94(0x1ca)),_0x2f3e54=_0x4b0823[_0x2e8d94(0x1be)](_0x2e8d94(0x1c4));this[_0x2e8d94(0x1b5)](_0x4b0823,_0x2e8d94(0x1b2),()=>{const _0x55bfb4=_0x2e8d94;_0x2f3e54[_0x55bfb4(0x1ac)]<_0x2f3e54[_0x55bfb4(0x1c3)]&&_0x4b0823[_0x55bfb4(0x1af)][_0x55bfb4(0x1d2)](_0x55bfb4(0x1a8));}),this[_0x2e8d94(0x1b5)](_0x4b0823,_0x2e8d94(0x1b1),()=>{const _0x5ad760=_0x2e8d94;_0x4b0823[_0x5ad760(0x1af)][_0x5ad760(0x1e1)](_0x5ad760(0x1a8));});}[_0x507c4f(0x1e7)](){const _0x475ae4=_0x507c4f;this[_0x475ae4(0x1e2)][_0x475ae4(0x1b5)](this[_0x475ae4(0x1ee)]);for(const _0x504682 of this[_0x475ae4(0x1b4)])this[_0x475ae4(0x1f0)][_0x475ae4(0x1d2)](_0x504682[_0x475ae4(0x1ee)]),this[_0x475ae4(0x1e2)][_0x475ae4(0x1b5)](_0x504682[_0x475ae4(0x1ee)]);}[_0x507c4f(0x1f2)](){const _0x5c2ffa=_0x507c4f,_0x2d6aa3=new _0x6bf051(this[_0x5c2ffa(0x1d1)]);return _0x2d6aa3[_0x5c2ffa(0x1d0)](_0x5c2ffa(0x1bf))['to'](this),_0x2d6aa3;}}function _0x4846(){const _0x91fe69=['399DfZHPq','remove','keystrokes','Comment\x20was\x20made\x20on\x20an\x20element','bindTemplate','contextView','ck-thread__header','_setupKeyboardNavigation','icon','ck-context','12EVmeCn','12784tVtRhc','lastIndexOf','render','element','_trimContextValue','focusTracker','reopenCommentThread','_createContextView','overlay','value','Reopen','setTemplate','offsetWidth','66FiveKr','length','classList','focusFirst','mouseleave','mouseenter','focus','focusables','listenTo','_attachContextActions','isResolvable','isVisible','624879kchpPA','reopenButtonView','217kCcFBD','...','context','querySelector','contextValue','isEnabled','createCollection','4021329fhggrf','scrollWidth','.ck-context__value','label','tab','ck-context--quotes','isResolved','hasContext','.ck-context','ck-annotation__actions','shift+tab','isReadOnly','_createReopenButton','fire','bind','locale','add','tooltip','ck-context-wrapper','div','116cQlDbP','substring','10WrNqVT','_model','focusCycler','155906eWzOwC','107470kwfyiQ','execute','4zQaIvg','343354AFKSiq'];_0x4846=function(){return _0x91fe69;};return _0x4846();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e214e=_0x1cc4;(function(_0x41bea7,_0xeb97fa){const _0x51e668=_0x1cc4,_0x3bce4d=_0x41bea7();while(!![]){try{const _0x1e38a5=-parseInt(_0x51e668(0xe0))/0x1*(-parseInt(_0x51e668(0xe4))/0x2)+parseInt(_0x51e668(0xdb))/0x3+parseInt(_0x51e668(0xc9))/0x4+-parseInt(_0x51e668(0xcc))/0x5+-parseInt(_0x51e668(0xee))/0x6*(-parseInt(_0x51e668(0xf6))/0x7)+-parseInt(_0x51e668(0xe5))/0x8+-parseInt(_0x51e668(0xf2))/0x9;if(_0x1e38a5===_0xeb97fa)break;else _0x3bce4d['push'](_0x3bce4d['shift']());}catch(_0x56c266){_0x3bce4d['push'](_0x3bce4d['shift']());}}}(_0x581b,0xd1449));import{View as _0x4a1cc4}from'ckeditor5/src/ui.js';function _0x581b(){const _0x38477b=['focusCycler','1996902dqvuXG','contains','extendTemplate','commentInputView','21kkqByD','isFocused','getDomRoot','bind','44440BeacuQ','delegate','listenTo','2235840TwqJxU','view','ck-thread__user','mousedown','element','filter','change:showInput','div','bindTemplate','value','setTemplate','ck-comment__input-container','showInput','ck-comment__input-container--active','destroy','473181tagSqI','set','ck-thread__input','preventDefault','editor','426776NjQnOy','editorDestroyed','editorReady','focus','4hnYSKM','6897208YEUwCp','focusTracker','then','createEditor','target','render','editing','_focusOnNonInteractiveMouseDown','showButtons','2731938ygAyak','userView','some'];_0x581b=function(){return _0x38477b;};return _0x581b();}function _0x1cc4(_0x2ad2d7,_0x4bdaf2){const _0x581be7=_0x581b();return _0x1cc4=function(_0x1cc432,_0x3594a1){_0x1cc432=_0x1cc432-0xc6;let _0x2ec8cf=_0x581be7[_0x1cc432];return _0x2ec8cf;},_0x1cc4(_0x2ad2d7,_0x4bdaf2);}import{CommentInputView as _0x57ed3a}from'./commentinputview.js';import{UserView as _0x549e8e}from'ckeditor5-collaboration/src/collaboration-core.js';export class CommentThreadInputView extends _0x4a1cc4{constructor(_0x20a314,_0x1b160d,_0x48c8c8){const _0x491645=_0x1cc4;super(_0x20a314),this[_0x491645(0xf5)]=new _0x57ed3a(_0x20a314,_0x48c8c8),this[_0x491645(0xf1)]=this[_0x491645(0xf5)][_0x491645(0xf1)],this[_0x491645(0xf5)][_0x491645(0xc8)](_0x491645(0xed))['to'](this[_0x491645(0xf5)][_0x491645(0xe6)],_0x491645(0xc6),this[_0x491645(0xf5)],_0x491645(0xd5),(_0x1866bf,_0x515d93)=>_0x1866bf||!!_0x515d93),this[_0x491645(0xdc)](_0x491645(0xd8),!0x1),this['on'](_0x491645(0xd2),()=>{const _0x4ba778=_0x491645;this[_0x4ba778(0xd8)]&&!this[_0x4ba778(0xf5)][_0x4ba778(0xdf)]&&this[_0x4ba778(0xf5)][_0x4ba778(0xe8)]();}),this[_0x491645(0xf5)][_0x491645(0xca)](_0x491645(0xe2))['to'](this),this[_0x491645(0xf5)][_0x491645(0xca)](_0x491645(0xe1))['to'](this),this[_0x491645(0xef)]=new _0x549e8e(_0x20a314,_0x1b160d),this[_0x491645(0xef)][_0x491645(0xf4)]({'attributes':{'class':_0x491645(0xce),'aria-hidden':!0x0}}),this[_0x491645(0xf5)][_0x491645(0xf4)]({'attributes':{'class':_0x491645(0xdd)}}),this[_0x491645(0xd6)]({'tag':_0x491645(0xd3),'attributes':{'class':[_0x491645(0xd7),this[_0x491645(0xd4)]['if'](_0x491645(0xd8),_0x491645(0xd9))]},'children':[this[_0x491645(0xef)],this[_0x491645(0xf5)]]});}[_0x5e214e(0xea)](){const _0x3ba92e=_0x5e214e;super[_0x3ba92e(0xea)](),this[_0x3ba92e(0xec)]();}[_0x5e214e(0xda)](){const _0x113429=_0x5e214e;return this[_0x113429(0xf5)][_0x113429(0xda)]()[_0x113429(0xe7)](()=>super[_0x113429(0xda)]());}[_0x5e214e(0xe3)](_0x541c53){const _0x19fb80=_0x5e214e;this[_0x19fb80(0xf5)][_0x19fb80(0xe3)](_0x541c53);}[_0x5e214e(0xec)](){const _0x2f8a0e=_0x5e214e;this[_0x2f8a0e(0xcb)](this[_0x2f8a0e(0xd0)],_0x2f8a0e(0xcf),(_0x346eb4,_0x3886a9)=>{const _0xeef35f=_0x2f8a0e,{submitButtonView:_0x44e8f7,cancelButtonView:_0x5706e9,editor:_0x2297b4}=this[_0xeef35f(0xf5)];[_0x44e8f7[_0xeef35f(0xd0)],_0x5706e9[_0xeef35f(0xd0)],_0x2297b4?_0x2297b4[_0xeef35f(0xeb)][_0xeef35f(0xcd)][_0xeef35f(0xc7)]():null][_0xeef35f(0xd1)](_0x3055ca=>_0x3055ca)[_0xeef35f(0xf0)](_0x2aa9e0=>_0x2aa9e0[_0xeef35f(0xf3)](_0x3886a9[_0xeef35f(0xe9)]))||(this[_0xeef35f(0xe3)](),_0x3886a9[_0xeef35f(0xde)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x128e2b=_0x298c;function _0x3967(){const _0x149f9e=['resolveCommentThread','resolveButton','removeButton','listitem','isVisible','unbind','isUnlinked','commentViews','extendTemplate','Delete\x20comment\x20thread?','_boundFirstCommentView','listenTo','ck-thread--unlinked','set','setTemplate','isReadOnly','change:isReadOnly','render','ck-thread--','784sMDtHY','230064KzqPnB','4060080NRkBtU','high','querySelector','has','bindTemplate','actionIndicator','isSystemComment','focus','ck-thread--active','isResolved','_updateArchivedThreadHeader','placeholder','ck-thread','cancelConfirm','ariaDescriptionView','div','isActive','1099944FenSVX','198oGOKrR','_bindFirstCommentView','locale','commentThreadHeaderView','ck-reset_all-excluded','element','showConfirm','add','ck-comment--resolve','.ck-thread__container','fire','removeConfirm','isEnabled','getTemplate','tooltip','stop','icon','commentsListView','removeCommentThread','4859866ILXBAv','label','execute','archivedAt','get','ariaLabel','containerElement','1874OAKWMx','then','_createResolveButton','18rByCHa','createCollection','focusables','change:archivedAt','112eNdzKb','_cancelAllConfirms','commentThreadChildren','length','6246HCOPLb','isResolvable','ck-thread__container','Resolve','bind','ck-rounded-corners','commentThreadInputView','actionBar','change:isActive','_model','Write\x20a\x20comment...','remove','2448970iXZEwr'];_0x3967=function(){return _0x149f9e;};return _0x3967();}(function(_0x1ccc90,_0xe7ef03){const _0x38bbfc=_0x298c,_0xc6887e=_0x1ccc90();while(!![]){try{const _0x348eb4=parseInt(_0x38bbfc(0x1d9))/0x1*(parseInt(_0x38bbfc(0x1bf))/0x2)+parseInt(_0x38bbfc(0x1e4))/0x3*(parseInt(_0x38bbfc(0x1ab))/0x4)+-parseInt(_0x38bbfc(0x1ad))/0x5+-parseInt(_0x38bbfc(0x1ac))/0x6*(-parseInt(_0x38bbfc(0x1e0))/0x7)+parseInt(_0x38bbfc(0x1be))/0x8+-parseInt(_0x38bbfc(0x1dc))/0x9*(parseInt(_0x38bbfc(0x1f0))/0xa)+parseInt(_0x38bbfc(0x1d2))/0xb;if(_0x348eb4===_0xe7ef03)break;else _0xc6887e['push'](_0xc6887e['shift']());}catch(_0x1a82c8){_0xc6887e['push'](_0xc6887e['shift']());}}}(_0x3967,0x764ef));import{ConfirmMixin as _0x134d2d,LateFocusButtonView as _0x1807e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x5c0d6a}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x1910b2}from'./basecommentthreadview.js';import{getTranslation as _0x63ec82}from'../../../utils/common-translations.js';function _0x298c(_0xf45dd2,_0x4c3389){const _0x3967f0=_0x3967();return _0x298c=function(_0x298c70,_0x2750bc){_0x298c70=_0x298c70-0x1a4;let _0x5290cf=_0x3967f0[_0x298c70];return _0x5290cf;},_0x298c(_0xf45dd2,_0x4c3389);}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x134d2d(_0x1910b2){[_0x128e2b(0x1e2)];[_0x128e2b(0x1d8)];[_0x128e2b(0x1f2)];[_0x128e2b(0x1fb)];constructor(_0x417174,_0x50a0af,_0x3c31d4,_0x357ac0){const _0x30fba7=_0x128e2b;super(_0x417174,_0x50a0af,_0x3c31d4,_0x357ac0),this[_0x30fba7(0x1e2)]=this[_0x30fba7(0x1dd)]([this[_0x30fba7(0x1d0)],this[_0x30fba7(0x1ea)],this[_0x30fba7(0x1bb)]]),this[_0x30fba7(0x1a5)](_0x30fba7(0x1b2),null),this[_0x30fba7(0x1d8)]=null,this[_0x30fba7(0x1fb)]=null,this[_0x30fba7(0x1c1)]=_0x417174,this[_0x30fba7(0x1f2)]=this[_0x30fba7(0x1db)](),this[_0x30fba7(0x1a6)](this[_0x30fba7(0x1cc)]()),this['on'](_0x30fba7(0x1ec),(_0x264d22,_0x4e07f0,_0x2f064f)=>{const _0x31b298=_0x30fba7;_0x2f064f||this[_0x31b298(0x1e1)]();}),this[_0x30fba7(0x1fc)](this[_0x30fba7(0x1ed)],_0x30fba7(0x1a8),(_0x125579,_0x4238b5,_0x1a23c5)=>{const _0x1a9813=_0x30fba7;_0x1a23c5&&this[_0x1a9813(0x1e1)]();}),this[_0x30fba7(0x1e3)]>0x0&&this[_0x30fba7(0x1c0)](),this[_0x30fba7(0x1fc)](this[_0x30fba7(0x1d0)][_0x30fba7(0x1f8)],_0x30fba7(0x1c6),()=>{const _0x4b3635=_0x30fba7;this[_0x4b3635(0x1c0)]();});}[_0x128e2b(0x1cc)](){const _0x44895c=_0x128e2b,_0x3a9667=this[_0x44895c(0x1b1)];return{'tag':_0x44895c(0x1bc),'attributes':{'class':['ck',_0x44895c(0x1b9),_0x44895c(0x1c3),_0x44895c(0x1e9),_0x3a9667['if'](_0x44895c(0x1bd),_0x44895c(0x1b5)),_0x3a9667['if'](_0x44895c(0x1f7),_0x44895c(0x1a4)),_0x3a9667['to'](_0x44895c(0x1b2),_0x252907=>_0x252907?_0x44895c(0x1aa)+_0x252907:'')],'data-thread-id':this[_0x44895c(0x1ed)]['id'],'tabindex':0x0,'role':_0x44895c(0x1f4),'aria-label':_0x3a9667['to'](_0x44895c(0x1d7)),'aria-describedby':this[_0x44895c(0x1bb)]['id']},'children':[{'tag':_0x44895c(0x1bc),'attributes':{'class':_0x44895c(0x1e6)},'children':this[_0x44895c(0x1e2)]}]};}[_0x128e2b(0x1a9)](){const _0xee3e47=_0x128e2b;super[_0xee3e47(0x1a9)](),this[_0xee3e47(0x1d8)]=this[_0xee3e47(0x1c4)][_0xee3e47(0x1af)](_0xee3e47(0x1c8)),this[_0xee3e47(0x1ed)]['on'](_0xee3e47(0x1df),()=>{const _0x1edda2=_0xee3e47;this[_0x1edda2(0x1b7)]();}),this[_0xee3e47(0x1b7)]();}[_0x128e2b(0x1e1)](){const _0x2641c8=_0x128e2b;this[_0x2641c8(0x1ba)]();for(const _0x47f596 of this[_0x2641c8(0x1d0)][_0x2641c8(0x1f8)])_0x47f596[_0x2641c8(0x1ba)]();}[_0x128e2b(0x1c0)](){const _0xe66ae1=_0x128e2b,{locale:_0x2c2100}=this,_0x13eaa7=this[_0xe66ae1(0x1d0)][_0xe66ae1(0x1f8)][_0xe66ae1(0x1d6)](0x0);_0x13eaa7===this[_0xe66ae1(0x1fb)]||_0x13eaa7[_0xe66ae1(0x1b3)]||(this[_0xe66ae1(0x1fb)]=_0x13eaa7,this[_0xe66ae1(0x1f6)](_0xe66ae1(0x1b2)),this[_0xe66ae1(0x1e8)](_0xe66ae1(0x1b2))['to'](_0x13eaa7,_0xe66ae1(0x1b2),_0x5053bc=>_0xe66ae1(0x1ef)===_0x5053bc?_0xe66ae1(0x1ef):null),_0x13eaa7[_0xe66ae1(0x1b8)]=_0x63ec82(_0x2c2100,_0xe66ae1(0x1ee)),_0x13eaa7[_0xe66ae1(0x1f3)]['on'](_0xe66ae1(0x1d4),_0x4cb11d=>{const _0x3933ba=_0xe66ae1;_0x4cb11d[_0x3933ba(0x1ce)](),this[_0x3933ba(0x1c5)](_0x63ec82(_0x2c2100,_0x3933ba(0x1fa)),this[_0x3933ba(0x1d8)])[_0x3933ba(0x1da)](()=>{const _0x34e320=_0x3933ba;this[_0x34e320(0x1c9)](_0x34e320(0x1d1));});},{'priority':_0xe66ae1(0x1ae)}),this['on'](_0xe66ae1(0x1ca),()=>{const _0x1c4821=_0xe66ae1;_0x13eaa7[_0x1c4821(0x1b4)]();}),_0x13eaa7[_0xe66ae1(0x1eb)][_0xe66ae1(0x1c6)](this[_0xe66ae1(0x1f2)],0x0),_0x13eaa7[_0xe66ae1(0x1de)][_0xe66ae1(0x1c6)](this[_0xe66ae1(0x1f2)],0x0));}[_0x128e2b(0x1db)](){const _0x7c3d91=_0x128e2b,_0x573d49=new _0x1807e9(this[_0x7c3d91(0x1c1)]);return _0x573d49[_0x7c3d91(0x1d3)]=_0x63ec82(this[_0x7c3d91(0x1c1)],_0x7c3d91(0x1e7)),_0x573d49[_0x7c3d91(0x1cd)]=_0x63ec82(this[_0x7c3d91(0x1c1)],_0x7c3d91(0x1e7)),_0x573d49[_0x7c3d91(0x1cf)]=_0x5c0d6a,_0x573d49[_0x7c3d91(0x1f9)]({'attributes':{'class':_0x7c3d91(0x1c7)}}),_0x573d49[_0x7c3d91(0x1e8)](_0x7c3d91(0x1cb))['to'](this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1a7),_0x5bad48=>!_0x5bad48),_0x573d49[_0x7c3d91(0x1e8)](_0x7c3d91(0x1f5))['to'](this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1e5),this[_0x7c3d91(0x1ed)],_0x7c3d91(0x1b6),(_0x67b209,_0x37d190)=>_0x67b209&&!_0x37d190),_0x573d49['on'](_0x7c3d91(0x1d4),()=>{const _0x49823c=_0x7c3d91;this[_0x49823c(0x1c9)](_0x49823c(0x1f1),this[_0x49823c(0x1ed)]['id']);}),_0x573d49;}[_0x128e2b(0x1b7)](){const _0x9b5e4=_0x128e2b;this[_0x9b5e4(0x1ed)][_0x9b5e4(0x1d5)]?this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1b0)](this[_0x9b5e4(0x1c2)])||(this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1c6)](this[_0x9b5e4(0x1c2)],0x0),this[_0x9b5e4(0x1de)][_0x9b5e4(0x1c6)](this[_0x9b5e4(0x1c2)],0x0)):this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1b0)](this[_0x9b5e4(0x1c2)])&&(this[_0x9b5e4(0x1e2)][_0x9b5e4(0x1ef)](this[_0x9b5e4(0x1c2)]),this[_0x9b5e4(0x1de)][_0x9b5e4(0x1ef)](this[_0x9b5e4(0x1c2)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x61aae0=_0x3fbb;(function(_0x3cba7d,_0x1233e5){const _0x11e91d=_0x3fbb,_0x11f22b=_0x3cba7d();while(!![]){try{const _0x121dda=-parseInt(_0x11e91d(0xca))/0x1+-parseInt(_0x11e91d(0x7b))/0x2+parseInt(_0x11e91d(0xce))/0x3*(-parseInt(_0x11e91d(0xc7))/0x4)+-parseInt(_0x11e91d(0x98))/0x5+-parseInt(_0x11e91d(0x91))/0x6*(-parseInt(_0x11e91d(0xd0))/0x7)+-parseInt(_0x11e91d(0xc3))/0x8+parseInt(_0x11e91d(0xbb))/0x9;if(_0x121dda===_0x1233e5)break;else _0x11f22b['push'](_0x11f22b['shift']());}catch(_0x270113){_0x11f22b['push'](_0x11f22b['shift']());}}}(_0x16e1,0xe4620));function _0x3fbb(_0x5dfd73,_0x406c64){const _0x16e16e=_0x16e1();return _0x3fbb=function(_0x3fbb9d,_0x277a8f){_0x3fbb9d=_0x3fbb9d-0x79;let _0x538033=_0x16e16e[_0x3fbb9d];return _0x538033;},_0x3fbb(_0x5dfd73,_0x406c64);}function _0x16e1(){const _0x4f967a=['length','extendTemplate','24762poWBjG','div','dropdown','fire','locale','panelPosition','_config','8705350aAmMKU','children','actionIndicator','createCollection','bindTemplate','edit','_attachActions','change:isRemovable','actionBar','_createEditButton','ck-annotation','Delete\x20comment?','ck-hidden','isEditable','Remove','listenTo','ck-comment--remove','ck-comment__info-time','items','isReadOnly','unbind','label','group','mouseleave','_model','span','ck-comment__actions--hidden','ck-comment--info','ck-comment__user','mouseenter','ck-comment__main','getExternalCommentNote','time','focus','ck-comment--','46336554BiVnIt','listitem','push','_createRemoveButton','ck-annotation__info-name','ariaDescriptionView','ck-comment--edit','switchToEditMode','5763880UerffA','ck-comment__external','then','blur','17120TdRstp','formatDateTime','removeButton','1088646SIhyQf','remove','render','find','921AJPVZS','_createDropdown','2261qNxKsv','setTemplate','panelView','ck-annotation__actions--hidden','withText','ck-annotation__info-time','toMany','ck-comment__wrapper','isEnabled','ck-comment__info-name','name','addMany','isExternal','ck-comment__info','isRemovable','ck-annotation__actions','placeholder','ck-annotation__content-wrapper','getTemplate','editButton','ck-annotation__info','ck-comment__actions','cancelConfirm','showConfirm','isVisible','buttonView','from','removeComment','focusables','visibleView','ariaLabel','resolvedAt','Show\x20more\x20items','1363820BsfsaA','some','ck-annotation__main','set','isEditMode','add','ck-annotation__user','ck-comment','Reply...','bind','icon','Edit','getUserViewNotificationText','author','userView','_createCommentInputView','isSystemComment','element','authoredAt','execute'];_0x16e1=function(){return _0x4f967a;};return _0x16e1();}import{IconRemoveComment as _0x35490d,IconPencil as _0x40a820,IconThreeVerticalDots as _0x5df595}from'ckeditor5/src/icons.js';import{ButtonView as _0x3cf04a,createDropdown as _0x392a9e,ListView as _0x3495df,ListItemView as _0x32dfc8,focusChildOnDropdownOpen as _0x1f719b}from'ckeditor5/src/ui.js';import{UserView as _0x400478,ConfirmMixin as _0xc943be,LateFocusDropdownButtonView as _0x441eef}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x25afd9}from'./basecommentview.js';import{getTranslation as _0x19c24e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xc943be(_0x25afd9){[_0x61aae0(0xa0)];[_0x61aae0(0x89)];constructor(_0x562edd,_0xb91a7e,_0x4d059b){const _0x458baa=_0x61aae0;super(_0x562edd,_0xb91a7e,_0x4d059b),this[_0x458baa(0x7e)](_0x458baa(0x9a),null),this[_0x458baa(0x7e)](_0x458baa(0xe0),_0x19c24e(_0x562edd,_0x458baa(0x83))),this[_0x458baa(0x84)](_0x458baa(0x8d))['to'](_0xb91a7e),this[_0x458baa(0x84)](_0x458baa(0x79))['to'](_0xb91a7e),this[_0x458baa(0xa0)]=this[_0x458baa(0x9b)](),this[_0x458baa(0x8b)]||(this[_0x458baa(0xe3)]=this[_0x458baa(0xa1)](),this[_0x458baa(0xc9)]=this[_0x458baa(0xbe)](),this[_0x458baa(0xaa)]=this[_0x458baa(0x9b)](),this[_0x458baa(0xaa)][_0x458baa(0xdb)]([this[_0x458baa(0xe3)],this[_0x458baa(0xc9)]]),this[_0x458baa(0x93)]=this[_0x458baa(0xcf)](),this[_0x458baa(0xa0)][_0x458baa(0x80)](this[_0x458baa(0x93)]),this[_0x458baa(0xec)][_0x458baa(0x80)](this[_0x458baa(0x93)])),this[_0x458baa(0x89)]=new _0x400478(_0x562edd,_0xb91a7e[_0x458baa(0x88)],this[_0x458baa(0x87)]()),this[_0x458baa(0x89)][_0x458baa(0x90)]({'attributes':{'class':[_0x458baa(0xb4),_0x458baa(0x81)],'aria-hidden':!0x0}}),this[_0x458baa(0xa7)](_0xb91a7e,_0x458baa(0x9f),()=>this[_0x458baa(0xe6)]()),this[_0x458baa(0xd1)](this[_0x458baa(0xe2)]());}[_0x61aae0(0xe2)](){const _0x156395=_0x61aae0,_0x579f91=this[_0x156395(0x9c)],_0x323476=[{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xdd),_0x156395(0xe4)]},'children':[{'tag':_0x156395(0xb1),'children':[{'text':this[_0x156395(0x89)][_0x156395(0xda)]}],'attributes':{'class':[_0x156395(0xd9),_0x156395(0xbf)],'data-cke-tooltip-text':this[_0x156395(0x89)][_0x156395(0xda)]}},{'tag':_0x156395(0xb8),'attributes':{'datetime':_0x579f91['to'](_0x156395(0x8d)),'class':[_0x156395(0xa9),_0x156395(0xd5)]},'children':[{'text':_0x579f91['to'](_0x156395(0x8d),_0x44534a=>this[_0x156395(0x97)][_0x156395(0xc8)](_0x44534a))}]}]},{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xe5),_0x156395(0xdf),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xb2)),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xd3))]},'children':this[_0x156395(0xa0)]},{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xe1)]},'children':this[_0x156395(0xed)]},this[_0x156395(0xc0)]];return this[_0x156395(0xb0)][_0x156395(0xdc)]&&_0x323476[_0x156395(0xbd)]({'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xc4)]},'children':[{'text':this[_0x156395(0xb7)]()}]}),{'tag':'li','attributes':{'class':[_0x156395(0xd7)],'tabindex':-0x1,'aria-label':_0x579f91['to'](_0x156395(0xee)),'aria-describedby':this[_0x156395(0xc0)]['id'],'role':_0x156395(0xbc)},'children':[{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0x82),_0x156395(0xa2),_0x579f91['if'](_0x156395(0x7f),_0x156395(0xc1)),_0x579f91['if'](_0x156395(0x8b),_0x156395(0xb3)),_0x579f91['to'](_0x156395(0x9a),_0x1f9d55=>_0x1f9d55?_0x156395(0xba)+_0x1f9d55:'')],'data-author-id':this[_0x156395(0xb0)][_0x156395(0x88)]['id'],'data-comment-id':this[_0x156395(0xb0)]['id'],'role':_0x156395(0xae)},'children':[this[_0x156395(0x89)],{'tag':_0x156395(0x92),'attributes':{'class':[_0x156395(0xb6),_0x156395(0x7d)]},'children':_0x323476}]}]};}[_0x61aae0(0xa1)](){const _0x4c724b=_0x61aae0,_0x1169d2=new _0x3cf04a(this[_0x4c724b(0x95)]);return _0x1169d2[_0x4c724b(0xad)]=_0x19c24e(this[_0x4c724b(0x95)],_0x4c724b(0x86)),_0x1169d2[_0x4c724b(0x85)]=_0x40a820,_0x1169d2[_0x4c724b(0xd4)]=!0x0,_0x1169d2[_0x4c724b(0x90)]({'attributes':{'class':_0x4c724b(0xc1)}}),_0x1169d2[_0x4c724b(0x84)](_0x4c724b(0xd8))['to'](this[_0x4c724b(0xb0)],_0x4c724b(0xab),_0x747c2e=>!_0x747c2e),_0x1169d2[_0x4c724b(0x84)](_0x4c724b(0xe8))['to'](this[_0x4c724b(0xb0)],_0x4c724b(0xa5)),_0x1169d2['on'](_0x4c724b(0x8e),()=>this[_0x4c724b(0xc2)]()),_0x1169d2;}[_0x61aae0(0xbe)](){const _0x74f1f0=_0x61aae0,_0x2df456=new _0x3cf04a(this[_0x74f1f0(0x95)]);return _0x2df456[_0x74f1f0(0xad)]=_0x19c24e(this[_0x74f1f0(0x95)],_0x74f1f0(0xa6)),_0x2df456[_0x74f1f0(0x85)]=_0x35490d,_0x2df456[_0x74f1f0(0xd4)]=!0x0,_0x2df456[_0x74f1f0(0x90)]({'attributes':{'class':_0x74f1f0(0xa8)}}),_0x2df456[_0x74f1f0(0x84)](_0x74f1f0(0xd8))['to'](this[_0x74f1f0(0xb0)],_0x74f1f0(0xab),_0xa63d21=>!_0xa63d21),_0x2df456[_0x74f1f0(0x84)](_0x74f1f0(0xe8))['to'](this[_0x74f1f0(0xb0)],_0x74f1f0(0xde)),_0x2df456['on'](_0x74f1f0(0x8e),()=>{const _0x3d8e5f=_0x74f1f0;this[_0x3d8e5f(0xe7)](_0x19c24e(this[_0x3d8e5f(0x95)],_0x3d8e5f(0xa3)),this[_0x3d8e5f(0x8c)])[_0x3d8e5f(0xc5)](()=>{const _0x3a9ce1=_0x3d8e5f;this[_0x3a9ce1(0x94)](_0x3a9ce1(0xeb),this[_0x3a9ce1(0xb0)]['id']);});}),_0x2df456;}[_0x61aae0(0xcf)](){const _0x1bd8e4=_0x61aae0,_0x81e840=_0x392a9e(this[_0x1bd8e4(0x95)],_0x441eef),_0x1beaaa=_0x81e840[_0x1bd8e4(0xd2)][_0x1bd8e4(0x99)],_0x38625c=new _0x3495df(this[_0x1bd8e4(0x95)]),_0x3a1607=_0x81e840[_0x1bd8e4(0x9c)];_0x1f719b(_0x81e840,()=>this[_0x1bd8e4(0xaa)][_0x1bd8e4(0xcd)](_0x14093b=>_0x14093b[_0x1bd8e4(0xe8)])),_0x81e840[_0x1bd8e4(0x90)]({'attributes':{'class':[_0x3a1607['if'](_0x1bd8e4(0xe8),_0x1bd8e4(0xa4),_0x6e6f88=>!_0x6e6f88)]}});const _0x17684f=(_0x49ce7b,_0x22453b=-0x1)=>{const _0x50908a=_0x1bd8e4,_0x47db9c=new _0x32dfc8(this[_0x50908a(0x95)]);_0x47db9c[_0x50908a(0x99)][_0x50908a(0x80)](_0x49ce7b);const _0x5b255c=_0x22453b>-0x1?_0x22453b:_0x38625c[_0x50908a(0xaa)][_0x50908a(0x8f)];_0x38625c[_0x50908a(0xaa)][_0x50908a(0x80)](_0x47db9c,_0x5b255c);const _0x44133c=Array[_0x50908a(0xea)](this[_0x50908a(0xaa)]);_0x81e840[_0x50908a(0xac)](_0x50908a(0xd8),_0x50908a(0xe8)),_0x81e840[_0x50908a(0x84)](_0x50908a(0xd8))[_0x50908a(0xd6)](_0x44133c,_0x50908a(0xd8),(..._0x13aeb4)=>_0x13aeb4[_0x50908a(0x7c)](_0x28be25=>_0x28be25)),_0x81e840[_0x50908a(0x84)](_0x50908a(0xe8))[_0x50908a(0xd6)](_0x44133c,_0x50908a(0xe8),(..._0x2b7031)=>_0x2b7031[_0x50908a(0x7c)](_0x1b0746=>_0x1b0746));};_0x81e840[_0x1bd8e4(0x96)]='sw',_0x81e840[_0x1bd8e4(0xe9)][_0x1bd8e4(0x7e)]({'label':_0x19c24e(this[_0x1bd8e4(0x95)],_0x1bd8e4(0x7a)),'icon':_0x5df595});for(const _0x3e2e32 of this[_0x1bd8e4(0xaa)])_0x17684f(_0x3e2e32);return _0x1beaaa[_0x1bd8e4(0x80)](_0x38625c),_0x81e840[_0x1bd8e4(0xa7)](this[_0x1bd8e4(0xaa)],_0x1bd8e4(0x80),(_0x4bdd1d,_0xd77c1e,_0x2dc91a)=>{_0x17684f(_0xd77c1e,_0x2dc91a);}),_0x81e840[_0x1bd8e4(0xa7)](this[_0x1bd8e4(0xaa)],_0x1bd8e4(0xcb),(_0x46db18,_0x1675be,_0x343bb7)=>{const _0x28160a=_0x1bd8e4;_0x38625c[_0x28160a(0xaa)][_0x28160a(0xcb)](_0x343bb7);}),_0x81e840;}[_0x61aae0(0x9e)](_0x3aa7fb,_0x12d4fc){const _0x47aa69=_0x61aae0,_0x1ddb56=_0x3aa7fb&&_0x3aa7fb[_0x47aa69(0x8c)];_0x1ddb56&&(this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xb5),()=>this[_0x47aa69(0x9a)]=_0x12d4fc),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xb9),()=>this[_0x47aa69(0x9a)]=_0x12d4fc),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xaf),()=>this[_0x47aa69(0x9a)]=null),this[_0x47aa69(0xa7)](_0x1ddb56,_0x47aa69(0xc6),()=>this[_0x47aa69(0x9a)]=null));}[_0x61aae0(0x8a)](){const _0x4336b6=_0x61aae0,_0x3e4044=super[_0x4336b6(0x8a)]();return _0x3e4044[_0x4336b6(0x84)](_0x4336b6(0xe0))['to'](this),_0x3e4044;}[_0x61aae0(0xcc)](){const _0x5c703c=_0x61aae0;super[_0x5c703c(0xcc)](),this[_0x5c703c(0x9e)](this[_0x5c703c(0xe3)],_0x5c703c(0x9d)),this[_0x5c703c(0x9e)](this[_0x5c703c(0xc9)],_0x5c703c(0xcb));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x42bdd7=_0x2bad;(function(_0x22a9d5,_0x4b26aa){var _0x52ae16=_0x2bad,_0x1e606a=_0x22a9d5();while(!![]){try{var _0x3e5748=-parseInt(_0x52ae16(0x1aa))/0x1+-parseInt(_0x52ae16(0x19b))/0x2*(parseInt(_0x52ae16(0x1a5))/0x3)+-parseInt(_0x52ae16(0x1a8))/0x4*(parseInt(_0x52ae16(0x1a6))/0x5)+-parseInt(_0x52ae16(0x1a1))/0x6+parseInt(_0x52ae16(0x1a4))/0x7*(parseInt(_0x52ae16(0x19e))/0x8)+parseInt(_0x52ae16(0x19d))/0x9*(parseInt(_0x52ae16(0x19f))/0xa)+-parseInt(_0x52ae16(0x1a9))/0xb*(-parseInt(_0x52ae16(0x1a0))/0xc);if(_0x3e5748===_0x4b26aa)break;else _0x1e606a['push'](_0x1e606a['shift']());}catch(_0x51ff57){_0x1e606a['push'](_0x1e606a['shift']());}}}(_0x5ea1,0x972c1));import{Plugin as _0x2c7bba}from'ckeditor5/src/core.js';function _0x2bad(_0x40f7ff,_0x1f66b4){var _0x5ea1c2=_0x5ea1();return _0x2bad=function(_0x2bad47,_0x20c0b0){_0x2bad47=_0x2bad47-0x19a;var _0x116805=_0x5ea1c2[_0x2bad47];return _0x116805;},_0x2bad(_0x40f7ff,_0x1f66b4);}import{CommentsRepository as _0x21a554}from'./comments/commentsrepository.js';import{CommentsEditing as _0x178e8e}from'./comments/commentsediting.js';import{CommentsUI as _0xea604e}from'./comments/commentsui.js';import{CommentsOnly as _0x50a60c}from'./commentsonly.js';import{WideSidebar as _0x3f03b8}from'./annotations/widesidebar.js';function _0x5ea1(){var _0x3d7296=['Comments','76hOJMgg','isPremiumPlugin','10269PBUthq','5588088Rhoflx','1780SEDtTV','6084MYsWWF','742680itDmDN','requires','pluginName','7LkVsWO','621GdozgC','67595RaXlCm','isOfficialPlugin','152HUPAVs','15961qmmHEo','372697XVJGEg'];_0x5ea1=function(){return _0x3d7296;};return _0x5ea1();}import{NarrowSidebar as _0x4b7962}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x6f6c8f}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x3886e7}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x17624}from'./comments/commentsarchive.js';export class Comments extends _0x2c7bba{static get[_0x42bdd7(0x1a2)](){return[_0x21a554,_0x178e8e,_0xea604e,_0x17624,_0x3886e7,_0x50a60c,_0x3f03b8,_0x4b7962,_0x6f6c8f];}static get[_0x42bdd7(0x1a3)](){var _0x122667=_0x42bdd7;return _0x122667(0x19a);}static get[_0x42bdd7(0x1a7)](){return!0x0;}static get[_0x42bdd7(0x19c)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf2f5bf=_0x10cd;(function(_0x737d01,_0x4f48e2){const _0x27115c=_0x10cd,_0xcf8d52=_0x737d01();while(!![]){try{const _0x10cc40=-parseInt(_0x27115c(0x126))/0x1*(parseInt(_0x27115c(0x114))/0x2)+-parseInt(_0x27115c(0x127))/0x3+-parseInt(_0x27115c(0x136))/0x4+parseInt(_0x27115c(0x120))/0x5*(-parseInt(_0x27115c(0x12d))/0x6)+-parseInt(_0x27115c(0x12c))/0x7*(-parseInt(_0x27115c(0x13a))/0x8)+-parseInt(_0x27115c(0x11a))/0x9*(parseInt(_0x27115c(0x12f))/0xa)+parseInt(_0x27115c(0x128))/0xb*(parseInt(_0x27115c(0x137))/0xc);if(_0x10cc40===_0x4f48e2)break;else _0xcf8d52['push'](_0xcf8d52['shift']());}catch(_0x22d077){_0xcf8d52['push'](_0xcf8d52['shift']());}}}(_0x4535,0x485c4));function _0x4535(){const _0x264b3a=['get','SourceEditing','DragDrop','delete','RevisionTracker','forceDisabled','2103012AGKhjb','24260508qwJoEr','pluginName','requires','587744whldeu','addCommentThread','commands','afterInit','stopListening','cut','view','set','editing','editSource','config','4vjCHKl','plugins','clipboardInput','editor','document','_enableCommentsOnlyMode','1050867OetQjD','change:isEnabled','CommentsOnly','has','isOfficialPlugin','isEnabled','28225oHKDRo','commentsOnlyMode','isPremiumPlugin','highest','stop','affectsData','35196PEgbxV','1015980BNhegY','11qFHCBF','listenTo','_disableCommentsOnlyMode','commentsOnly','7aFkMxt','546sTXFVa','clearForceDisabled','30mgbnDz'];_0x4535=function(){return _0x264b3a;};return _0x4535();}import{Plugin as _0x233e09}from'ckeditor5/src/core.js';function _0x10cd(_0x3807db,_0x4588b3){const _0x4535c2=_0x4535();return _0x10cd=function(_0x10cdc9,_0x45122b){_0x10cdc9=_0x10cdc9-0x113;let _0x116251=_0x4535c2[_0x10cdc9];return _0x116251;},_0x10cd(_0x3807db,_0x4588b3);}import{CommentsEditing as _0x559bb4}from'./comments/commentsediting.js';export class CommentsOnly extends _0x233e09{static get[_0xf2f5bf(0x138)](){const _0x375acf=_0xf2f5bf;return _0x375acf(0x11c);}static get[_0xf2f5bf(0x11e)](){return!0x0;}static get[_0xf2f5bf(0x122)](){return!0x0;}static get[_0xf2f5bf(0x139)](){return[_0x559bb4];}constructor(_0x599f39){const _0x2840f6=_0xf2f5bf;super(_0x599f39),this[_0x2840f6(0x141)](_0x2840f6(0x11f),!0x1),this['on'](_0x2840f6(0x11b),(_0x18a5cc,_0x5ef70c,_0x23e481)=>{const _0x18efb6=_0x2840f6;_0x23e481?this[_0x18efb6(0x119)]():this[_0x18efb6(0x12a)]();});}[_0xf2f5bf(0x13d)](){const _0xe5aa8f=_0xf2f5bf;!this[_0xe5aa8f(0x11f)]&&this[_0xe5aa8f(0x117)][_0xe5aa8f(0x113)][_0xe5aa8f(0x130)](_0xe5aa8f(0x12b))&&(this[_0xe5aa8f(0x11f)]=!0x0);}[_0xf2f5bf(0x119)](){const _0x31443d=_0xf2f5bf;for(const [_0x55fa3f,_0x2a929b]of this[_0x31443d(0x117)][_0x31443d(0x13c)])_0x2a929b[_0x31443d(0x125)]&&_0x31443d(0x13b)!==_0x55fa3f&&_0x2a929b[_0x31443d(0x135)](_0x31443d(0x121));(this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x132))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x132))[_0x31443d(0x135)](_0x31443d(0x121)),this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x134)))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x134))[_0x31443d(0x135)](_0x31443d(0x121));this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x11d)](_0x31443d(0x131))&&this[_0x31443d(0x117)][_0x31443d(0x115)][_0x31443d(0x130)](_0x31443d(0x131))[_0x31443d(0x135)](_0x31443d(0x121));this[_0x31443d(0x117)][_0x31443d(0x13c)][_0x31443d(0x130)](_0x31443d(0x143))?.[_0x31443d(0x135)](_0x31443d(0x121));const _0x59aeba=this[_0x31443d(0x117)][_0x31443d(0x142)][_0x31443d(0x140)][_0x31443d(0x118)];this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x13f),_0x23efe0=>_0x23efe0[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)}),this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x116),_0xdab114=>_0xdab114[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)}),this[_0x31443d(0x129)](_0x59aeba,_0x31443d(0x133),_0x1ccc7b=>_0x1ccc7b[_0x31443d(0x124)](),{'priority':_0x31443d(0x123)});}[_0xf2f5bf(0x12a)](){const _0x1b6ddf=_0xf2f5bf;for(const [_0x3c1905,_0x758bdd]of this[_0x1b6ddf(0x117)][_0x1b6ddf(0x13c)])_0x758bdd[_0x1b6ddf(0x125)]&&_0x1b6ddf(0x13b)!==_0x3c1905&&_0x758bdd[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121));this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x11d)](_0x1b6ddf(0x134))&&this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x130)](_0x1b6ddf(0x134))[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x11d)](_0x1b6ddf(0x131))&&this[_0x1b6ddf(0x117)][_0x1b6ddf(0x115)][_0x1b6ddf(0x130)](_0x1b6ddf(0x131))[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x117)][_0x1b6ddf(0x13c)][_0x1b6ddf(0x130)](_0x1b6ddf(0x143))?.[_0x1b6ddf(0x12e)](_0x1b6ddf(0x121)),this[_0x1b6ddf(0x13e)](this[_0x1b6ddf(0x117)][_0x1b6ddf(0x142)][_0x1b6ddf(0x140)][_0x1b6ddf(0x118)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37246f,_0x2b8e0a){var _0x29b369=_0x1483,_0x572faa=_0x37246f();while(!![]){try{var _0x518fc2=-parseInt(_0x29b369(0xca))/0x1+parseInt(_0x29b369(0xd1))/0x2+parseInt(_0x29b369(0xd4))/0x3*(parseInt(_0x29b369(0xc9))/0x4)+parseInt(_0x29b369(0xcd))/0x5*(-parseInt(_0x29b369(0xcf))/0x6)+parseInt(_0x29b369(0xd3))/0x7*(parseInt(_0x29b369(0xd2))/0x8)+-parseInt(_0x29b369(0xcb))/0x9*(-parseInt(_0x29b369(0xce))/0xa)+-parseInt(_0x29b369(0xcc))/0xb*(parseInt(_0x29b369(0xd0))/0xc);if(_0x518fc2===_0x2b8e0a)break;else _0x572faa['push'](_0x572faa['shift']());}catch(_0x56be9e){_0x572faa['push'](_0x572faa['shift']());}}}(_0x3d89,0x714b9));export{Comments}from'./comments.js';function _0x3d89(){var _0xfb39ad=['64ZyJYJU','768362cKEsVt','1125srHiBU','6436YRWKus','702612ZEATWx','182079KFDjTV','77hmShZo','5DxSiLQ','310RDVBfs','2809356UGSZXZ','1345908ozXmBT','622688HuuzlT'];_0x3d89=function(){return _0xfb39ad;};return _0x3d89();}export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';function _0x1483(_0x4c2070,_0x42cf20){var _0x3d896b=_0x3d89();return _0x1483=function(_0x148353,_0x21924c){_0x148353=_0x148353-0xc9;var _0x4c5b09=_0x3d896b[_0x148353];return _0x4c5b09;},_0x1483(_0x4c2070,_0x42cf20);}export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x44aae5,_0x52a186,_0x2050a6){const t=_0x44aae5['t'];switch(_0x52a186){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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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'},_0x2050a6);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(_0xed763f,_0x4f9e73){const _0x3b480b=_0x942d,_0x4f8c6f=_0xed763f();while(!![]){try{const _0x45629b=parseInt(_0x3b480b(0x154))/0x1*(parseInt(_0x3b480b(0x15f))/0x2)+-parseInt(_0x3b480b(0x157))/0x3*(-parseInt(_0x3b480b(0x15c))/0x4)+parseInt(_0x3b480b(0x162))/0x5+-parseInt(_0x3b480b(0x163))/0x6*(-parseInt(_0x3b480b(0x160))/0x7)+-parseInt(_0x3b480b(0x165))/0x8+parseInt(_0x3b480b(0x158))/0x9*(-parseInt(_0x3b480b(0x161))/0xa)+-parseInt(_0x3b480b(0x15a))/0xb;if(_0x45629b===_0x4f9e73)break;else _0x4f8c6f['push'](_0x4f8c6f['shift']());}catch(_0x27e482){_0x4f8c6f['push'](_0x4f8c6f['shift']());}}}(_0x54b1,0x6ef85));function _0x942d(_0xee8657,_0x4ca3d7){const _0x54b146=_0x54b1();return _0x942d=function(_0x942d83,_0x48b807){_0x942d83=_0x942d83-0x152;let _0xb45791=_0x54b146[_0x942d83];return _0xb45791;},_0x942d(_0xee8657,_0x4ca3d7);}import{throttle as _0xd3731b}from'es-toolkit/compat';function _0x54b1(){const _0x5d134b=['251817EjXGWp','childList','observe','2490441pfnAEY','11070kPIhyo','attributeName','968231hxhTXh','characterData','4KROPrH','cancel','disconnect','2lVHqrq','1589czDNtV','2570EovmNN','192575aPTXvM','7026CALxHE','type','4221056doCqlf','attributes','class'];_0x54b1=function(){return _0x5d134b;};return _0x54b1();}export function createMutationObserver(_0x121993){const _0x32ca4f=_0xd3731b(_0x121993,0x1e),_0x477348=new MutationObserver(_0x3f1e7e=>{const _0x2e1b49=_0x942d;for(const _0x5f5946 of _0x3f1e7e)(_0x2e1b49(0x152)==_0x5f5946[_0x2e1b49(0x164)]&&_0x2e1b49(0x153)==_0x5f5946[_0x2e1b49(0x159)]||_0x2e1b49(0x155)==_0x5f5946[_0x2e1b49(0x164)]||_0x2e1b49(0x15b)==_0x5f5946[_0x2e1b49(0x164)])&&_0x32ca4f();});return{'attach'(_0x30fa20){const _0x150074=_0x942d;_0x477348[_0x150074(0x156)](_0x30fa20,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xe7828d=_0x942d;_0x477348[_0xe7828d(0x15e)](),_0x32ca4f[_0xe7828d(0x15d)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x443df1,_0x31118e){const _0xe73079=_0x28e5,_0xe01b38=_0x443df1();while(!![]){try{const _0x5b29a1=parseInt(_0xe73079(0x138))/0x1+parseInt(_0xe73079(0x13f))/0x2+parseInt(_0xe73079(0x139))/0x3*(-parseInt(_0xe73079(0x13a))/0x4)+parseInt(_0xe73079(0x13e))/0x5+parseInt(_0xe73079(0x13c))/0x6+parseInt(_0xe73079(0x13b))/0x7*(parseInt(_0xe73079(0x13d))/0x8)+-parseInt(_0xe73079(0x141))/0x9;if(_0x5b29a1===_0x31118e)break;else _0xe01b38['push'](_0xe01b38['shift']());}catch(_0xe614b5){_0xe01b38['push'](_0xe01b38['shift']());}}}(_0x3b61,0xda1c9));export function splitMarkerName(_0x3e4487){const _0x1f47d0=_0x28e5,_0x27439f=_0x3e4487[_0x1f47d0(0x140)](':');return{'group':_0x27439f[0x0],'id':_0x27439f[0x1],'part':_0x27439f[0x2]};}function _0x28e5(_0x1ca1bb,_0x4155a6){const _0x3b6132=_0x3b61();return _0x28e5=function(_0x28e52a,_0x5e3b25){_0x28e52a=_0x28e52a-0x138;let _0x3cfe1b=_0x3b6132[_0x28e52a];return _0x3cfe1b;},_0x28e5(_0x1ca1bb,_0x4155a6);}function _0x3b61(){const _0x3df364=['1537594rmlwBg','498uESOeI','7244UpQKKV','2252999iGsQZH','4244724QSTuOF','8SXhzLh','754435ozUEAy','1678464uObgie','split','21267117xMcpKH'];_0x3b61=function(){return _0x3df364;};return _0x3b61();}
|