@ckeditor/ckeditor5-comments 43.1.0-alpha.5 → 43.1.0-alpha.6
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/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- 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/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
|
|
23
|
+
const _0x59e348=_0x1ce9;function _0x1ce9(_0x928113,_0x2563e9){const _0x467f99=_0x467f();return _0x1ce9=function(_0x1ce960,_0x1f9e81){_0x1ce960=_0x1ce960-0x132;let _0x33b7c5=_0x467f99[_0x1ce960];return _0x33b7c5;},_0x1ce9(_0x928113,_0x2563e9);}(function(_0x42c74f,_0x28a076){const _0xa2dcc3=_0x1ce9,_0x45f0be=_0x42c74f();while(!![]){try{const _0x44824a=parseInt(_0xa2dcc3(0x159))/0x1*(-parseInt(_0xa2dcc3(0x151))/0x2)+parseInt(_0xa2dcc3(0x13c))/0x3+-parseInt(_0xa2dcc3(0x143))/0x4*(-parseInt(_0xa2dcc3(0x135))/0x5)+-parseInt(_0xa2dcc3(0x14a))/0x6*(-parseInt(_0xa2dcc3(0x145))/0x7)+parseInt(_0xa2dcc3(0x15e))/0x8*(parseInt(_0xa2dcc3(0x15a))/0x9)+-parseInt(_0xa2dcc3(0x140))/0xa+parseInt(_0xa2dcc3(0x137))/0xb*(-parseInt(_0xa2dcc3(0x150))/0xc);if(_0x44824a===_0x28a076)break;else _0x45f0be['push'](_0x45f0be['shift']());}catch(_0x2bcd0b){_0x45f0be['push'](_0x45f0be['shift']());}}}(_0x467f,0xace96));import{View as _0x119e07,FocusCycler as _0x1bd295}from'ckeditor5/src/ui.js';import{FocusTracker as _0x46c6ba}from'ckeditor5/src/utils.js';import{getTranslation as _0x73ab81}from'../../../utils/common-translations.js';function _0x467f(){const _0x13fae9=['listenTo','auto','6ApMaUR','change','ck-comments-archive','destroy','length','first','127716KOsawG','82kckUfg','COMMENTS_ARCHIVE_LIST_LABEL','ck-comments-archive__content','remove','focusCycler','focusPrevious','EMPTY_COMMENTS_ARCHIVE','list','12251ZUTirY','6842331yNBOQx','ck-hidden','_setupKeyboardNavigation','presentation','8JTDrqr','render','add','focus','isEmpty','setTemplate','5FEINTu','ck-comments-archive__info','737PQaCuB','focusFirst','arrowdown','div','bindTemplate','3691110QyjpSd','delegate','_annotationViews','isActive','7046530SirOQS','arrowup','element','1865732pIVOeJ','focusTracker','1198463qZPkPl','focusNext','set'];_0x467f=function(){return _0x13fae9;};return _0x467f();}export default class tt extends _0x119e07{constructor(_0x2df8f5,_0x462262){const _0x4fa267=_0x1ce9;super(_0x2df8f5),this[_0x4fa267(0x147)](_0x4fa267(0x133),!_0x462262[_0x4fa267(0x14e)]),this[_0x4fa267(0x144)]=new _0x46c6ba(),this[_0x4fa267(0x13e)]=_0x462262,this[_0x4fa267(0x13e)][_0x4fa267(0x13d)](_0x4fa267(0x141),_0x4fa267(0x139))['to'](this),this['on'](_0x4fa267(0x141),()=>{const _0x484920=_0x4fa267;this[_0x484920(0x155)][_0x484920(0x156)]();}),this['on'](_0x4fa267(0x139),()=>{const _0x249727=_0x4fa267;this[_0x249727(0x155)][_0x249727(0x146)]();}),this[_0x4fa267(0x155)]=new _0x1bd295({'focusables':_0x462262,'focusTracker':this[_0x4fa267(0x144)]}),this[_0x4fa267(0x148)](_0x462262,_0x4fa267(0x160),()=>{const _0x586056=_0x4fa267;this[_0x586056(0x133)]=!0x1;}),this[_0x4fa267(0x148)](_0x462262,_0x4fa267(0x154),(_0x57233a,_0x7c26ff)=>{const _0x12ef92=_0x4fa267;_0x7c26ff[_0x12ef92(0x13f)]&&this[_0x12ef92(0x132)](),_0x462262[_0x12ef92(0x14e)]||(this[_0x12ef92(0x133)]=!0x0);});const _0x1454f4=this[_0x4fa267(0x13b)];this[_0x4fa267(0x134)]({'tag':_0x4fa267(0x13a),'attributes':{'dir':_0x4fa267(0x149),'class':['ck',_0x4fa267(0x14c)],'tabindex':-0x1,'role':_0x4fa267(0x158),'aria-label':_0x73ab81(_0x2df8f5,_0x4fa267(0x152))},'children':[{'tag':_0x4fa267(0x13a),'attributes':{'class':[_0x4fa267(0x153)],'role':_0x4fa267(0x15d)},'children':[{'tag':_0x4fa267(0x13a),'attributes':{'role':_0x4fa267(0x15d)},'children':_0x462262},{'tag':'p','attributes':{'class':[_0x4fa267(0x136),_0x1454f4['if'](_0x4fa267(0x133),_0x4fa267(0x15b),_0x1db89a=>!_0x1db89a)]},'children':[{'text':_0x73ab81(_0x2df8f5,_0x4fa267(0x157))}]}]}]});}[_0x59e348(0x15f)](){const _0x58548f=_0x59e348;super[_0x58548f(0x15f)](),this[_0x58548f(0x15c)]();}[_0x59e348(0x14d)](){const _0x13dec4=_0x59e348;super[_0x13dec4(0x14d)](),this[_0x13dec4(0x144)][_0x13dec4(0x14d)]();}[_0x59e348(0x132)](){const _0x4f4bdd=_0x59e348;this[_0x4f4bdd(0x155)][_0x4f4bdd(0x14f)]?this[_0x4f4bdd(0x155)][_0x4f4bdd(0x138)]():this[_0x4f4bdd(0x142)][_0x4f4bdd(0x132)]();}[_0x59e348(0x15c)](){const _0x10fe09=_0x59e348;for(const _0x10a3df of this[_0x10fe09(0x13e)])this[_0x10fe09(0x144)][_0x10fe09(0x160)](_0x10a3df[_0x10fe09(0x142)]);this[_0x10fe09(0x13e)]['on'](_0x10fe09(0x14b),(_0x279768,{added:_0x346414,removed:_0x3119b5})=>{const _0xbc9132=_0x10fe09;for(const _0x2059b7 of _0x346414)this[_0xbc9132(0x144)][_0xbc9132(0x160)](_0x2059b7[_0xbc9132(0x142)]);for(const _0x44a4f6 of _0x3119b5)this[_0xbc9132(0x144)][_0xbc9132(0x154)](_0x44a4f6[_0xbc9132(0x142)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x334770=_0x5bad;(function(_0x5940df,_0x194fae){const _0x9055ce=_0x5bad,_0x3bf45f=_0x5940df();while(!![]){try{const _0x407409=-parseInt(_0x9055ce(0x90))/0x1*(parseInt(_0x9055ce(0x80))/0x2)+-parseInt(_0x9055ce(0xb7))/0x3+parseInt(_0x9055ce(0x9d))/0x4+-parseInt(_0x9055ce(0xd5))/0x5+-parseInt(_0x9055ce(0x82))/0x6+parseInt(_0x9055ce(0xab))/0x7*(-parseInt(_0x9055ce(0xbd))/0x8)+parseInt(_0x9055ce(0xa5))/0x9;if(_0x407409===_0x194fae)break;else _0x3bf45f['push'](_0x3bf45f['shift']());}catch(_0x2ac7f6){_0x3bf45f['push'](_0x3bf45f['shift']());}}}(_0x1ce9,0xd9c26));import{View as _0x168c29,FocusCycler as _0xf6889d}from'ckeditor5/src/ui.js';import{diff as _0x154380,Collection as _0x128f49,FocusTracker as _0x5ebce8,KeystrokeHandler as _0x3f7d08}from'ckeditor5/src/utils.js';function _0x1ce9(){const _0x49af3e=['372846LnUQub','bindTemplate','Thread\x20comments','createCollection','some','_handleInfoComment','added','_shouldCollapse','remove','_calculatePosition','change','set','CommentView','locale','2803dBRDIf','commentViews','hasDirtyComment','updateComment','focusLast','authoredAt','focusTracker','_updateHasDirtyComment','editorConfig','includes','viewUid','insert','maxCommentCharsWhenCollapsed','6191516LTygNb','_rearrangeCollapse','removeComment','map','change:hasDirtyComment','resolvedAt','_handleRemoveCommentModel','_findOptimalIndex','28929816lujHun','focus','isActive','Marked\x20as\x20resolved','maxThreadTotalWeight','element','1799dvTVFL','arrowup','reverse','listenTo','focusFirst','arrowdown','delete','_config','stopListening','ck-thread__comments','editorDestroyed','focusCycler','2380239qofwzS','_setupKeyboardNavigation','change:isActive','add','_collapsedCommentsView','visibleViews','52808IddwPt','change:isEditMode','target','forEach','editorReady','_model','count','ck-hidden','_rearrangeExpand','change:isResolved','_handleNewCommentModel','resolvedCommentView','from','isEditMode','bind','weight','destroy','removed','collapse','resolveCommentThread','setTemplate','get','resolvedBy','formatDateTime','551285YqBirp','comments','render','commentUpdated','keystrokes','delegate','equal','expand','resolved','maxCommentsWhenCollapsed','refreshVisibleViews','862bCICjf','length'];_0x1ce9=function(){return _0x49af3e;};return _0x1ce9();}import{getTranslation as _0x9ccd3e}from'../../../utils/common-translations.js';import _0x1aa0c6 from'./collapsedcommentsview.js';function _0x5bad(_0x19e041,_0x2364b2){const _0x1ce962=_0x1ce9();return _0x5bad=function(_0x5badd5,_0x6dc979){_0x5badd5=_0x5badd5-0x7e;let _0x40feec=_0x1ce962[_0x5badd5];return _0x40feec;},_0x5bad(_0x19e041,_0x2364b2);}export default class xt extends _0x168c29{constructor(_0x3c575c,_0x55f1e7,_0x43d906){const _0x2985e5=_0x5bad;super(_0x3c575c);const _0x3c18d6=this[_0x2985e5(0x83)];this[_0x2985e5(0x8d)](_0x2985e5(0x92),!0x1),this[_0x2985e5(0x8d)](_0x2985e5(0x81),_0x55f1e7[_0x2985e5(0xd6)][_0x2985e5(0x81)]),this[_0x2985e5(0x8d)](_0x2985e5(0xa7),!0x1),this[_0x2985e5(0xc2)]=_0x55f1e7,this[_0x2985e5(0xb2)]=_0x43d906,this[_0x2985e5(0x91)]=this[_0x2985e5(0x85)](),this[_0x2985e5(0xbc)]=this[_0x2985e5(0x85)](),this[_0x2985e5(0xc8)]=null,this[_0x2985e5(0x96)]=new _0x5ebce8(),this[_0x2985e5(0xd9)]=new _0x3f7d08(),this[_0x2985e5(0xb6)]=new _0xf6889d({'focusables':this[_0x2985e5(0x91)],'focusTracker':this[_0x2985e5(0x96)],'keystrokeHandler':this[_0x2985e5(0xd9)],'keystrokeHandlerOptions':{'filter':_0x52af9c=>this[_0x2985e5(0x91)][_0x2985e5(0xa0)](_0x198068=>_0x198068[_0x2985e5(0xaa)])[_0x2985e5(0x99)](_0x52af9c[_0x2985e5(0xbf)])},'actions':{'focusPrevious':_0x2985e5(0xac),'focusNext':_0x2985e5(0xb0)}}),this[_0x2985e5(0xbb)]=new _0x1aa0c6(_0x3c575c),this[_0x2985e5(0xbb)][_0x2985e5(0xcb)](_0x2985e5(0xc3))['to'](this,_0x2985e5(0x81),_0x26c161=>_0x26c161-this[_0x2985e5(0xb2)][_0x2985e5(0x7e)]);for(const _0x1f19db of _0x55f1e7[_0x2985e5(0xd6)])this[_0x2985e5(0xc7)](_0x1f19db);this[_0x2985e5(0x87)](),this[_0x2985e5(0xae)](_0x55f1e7[_0x2985e5(0xd6)],_0x2985e5(0xba),(_0x557b98,_0x112f99)=>{const _0x4bb183=_0x2985e5,_0x3c02f7=this[_0x4bb183(0x8b)](_0x112f99);this[_0x4bb183(0x81)]++,this[_0x4bb183(0xc7)](_0x112f99,_0x3c02f7),this[_0x4bb183(0x7f)]();}),this[_0x2985e5(0xae)](_0x55f1e7[_0x2985e5(0xd6)],_0x2985e5(0x8a),(_0x2834aa,_0x19f6d3)=>{const _0x25505d=_0x2985e5;this[_0x25505d(0x81)]--,this[_0x25505d(0xa3)](_0x19f6d3),this[_0x25505d(0x7f)]();}),this[_0x2985e5(0xae)](_0x55f1e7,_0x2985e5(0xd8),()=>this[_0x2985e5(0x7f)]()),this[_0x2985e5(0xae)](_0x55f1e7,_0x2985e5(0xc6),()=>this[_0x2985e5(0x87)]()),this['on'](_0x2985e5(0xb9),()=>this[_0x2985e5(0x7f)]()),this['on'](_0x2985e5(0xa1),()=>this[_0x2985e5(0x7f)]()),this[_0x2985e5(0xd1)]({'tag':'ul','attributes':{'class':[_0x2985e5(0xb4),_0x3c18d6['if'](_0x2985e5(0x81),_0x2985e5(0xc4),_0x3d3c1a=>!_0x3d3c1a)],'aria-label':_0x9ccd3e(_0x3c575c,_0x2985e5(0x84))},'children':this[_0x2985e5(0xbc)]});}get[_0x334770(0x89)](){const _0x2c37e2=_0x334770;return this[_0x2c37e2(0xc2)][_0x2c37e2(0xcc)]>this[_0x2c37e2(0xb2)][_0x2c37e2(0xa9)]&&!this[_0x2c37e2(0xa7)]&&!this[_0x2c37e2(0x92)];}[_0x334770(0xd7)](){const _0x2c78aa=_0x334770;super[_0x2c78aa(0xd7)](),this[_0x2c78aa(0x7f)](),this[_0x2c78aa(0xb8)]();}[_0x334770(0xa6)](_0x4efb59){const _0x5865cc=_0x334770;-0x1===_0x4efb59?this[_0x5865cc(0xb6)][_0x5865cc(0x94)]():this[_0x5865cc(0xb6)][_0x5865cc(0xaf)]();}[_0x334770(0xcd)](){const _0x519b58=_0x334770;this[_0x519b58(0xbb)][_0x519b58(0xcd)]();for(const _0x15800f of this[_0x519b58(0x91)])_0x15800f[_0x519b58(0xcd)]();super[_0x519b58(0xcd)]();}[_0x334770(0x7f)](){const _0x8c2a04=_0x334770;this[_0x8c2a04(0x89)]?this[_0x8c2a04(0x9e)]():this[_0x8c2a04(0xc5)]();}[_0x334770(0xc7)](_0x46b7a4,_0x438f8a){const _0x2b7557=_0x334770,_0x2cbf31=new this[(_0x2b7557(0xb2))][(_0x2b7557(0x8e))](this[_0x2b7557(0x8f)],_0x46b7a4,{'maxCommentCharsWhenCollapsed':this[_0x2b7557(0xb2)][_0x2b7557(0x9c)],'formatDateTime':this[_0x2b7557(0xb2)][_0x2b7557(0xd4)],'editorConfig':this[_0x2b7557(0xb2)][_0x2b7557(0x98)]});_0x2cbf31[_0x2b7557(0x9a)]=_0x46b7a4['id'],_0x2cbf31[_0x2b7557(0xda)](_0x2b7557(0x9f))['to'](this),_0x2cbf31[_0x2b7557(0xda)](_0x2b7557(0x93))['to'](this),_0x2cbf31[_0x2b7557(0xda)](_0x2b7557(0xd0))['to'](this),_0x2cbf31[_0x2b7557(0xda)](_0x2b7557(0xc1))['to'](this),_0x2cbf31[_0x2b7557(0xda)](_0x2b7557(0xb5))['to'](this),this[_0x2b7557(0xae)](_0x2cbf31,_0x2b7557(0xbe),()=>this[_0x2b7557(0x97)]()),this[_0x2b7557(0x91)][_0x2b7557(0xba)](_0x2cbf31,_0x438f8a);}[_0x334770(0x8b)](_0x1aaa4c){const _0x1bd196=_0x334770,_0x2c5cef=this[_0x1bd196(0xc2)][_0x1bd196(0xa4)](_0x1aaa4c);return this[_0x1bd196(0xc8)]?this[_0x1bd196(0xc8)][_0x1bd196(0x95)]>_0x1aaa4c[_0x1bd196(0x95)]?_0x2c5cef-0x1:_0x2c5cef:_0x2c5cef-0x1;}[_0x334770(0x87)](){const _0xee6645=_0x334770;if(this[_0xee6645(0xc2)][_0xee6645(0xd3)]&&this[_0xee6645(0xc2)][_0xee6645(0xa2)]){const _0x15c302={'id':_0xee6645(0xdd),'author':this[_0xee6645(0xc2)][_0xee6645(0xd3)],'authoredAt':this[_0xee6645(0xc2)][_0xee6645(0xa2)],'content':_0x9ccd3e(this[_0xee6645(0x8f)],_0xee6645(0xa8)),'attributes':{}};this[_0xee6645(0xc8)]=new this[(_0xee6645(0xb2))][(_0xee6645(0x8e))](this[_0xee6645(0x8f)],_0x15c302,{'maxCommentCharsWhenCollapsed':this[_0xee6645(0xb2)][_0xee6645(0x9c)],'formatDateTime':this[_0xee6645(0xb2)][_0xee6645(0xd4)],'editorConfig':this[_0xee6645(0xb2)][_0xee6645(0x98)],'isSystemComment':!0x0}),this[_0xee6645(0x91)][_0xee6645(0xba)](this[_0xee6645(0xc8)],this[_0xee6645(0xc2)][_0xee6645(0xa4)](_0x15c302));}else this[_0xee6645(0xc8)]&&(this[_0xee6645(0x91)][_0xee6645(0x8a)](this[_0xee6645(0xc8)]),this[_0xee6645(0xc8)][_0xee6645(0xcd)](),this[_0xee6645(0xc8)]=null);this[_0xee6645(0x7f)]();}[_0x334770(0xa3)](_0x59bd5f){const _0xc80cde=_0x334770,_0x36ee64=this[_0xc80cde(0x91)][_0xc80cde(0x8a)](_0x59bd5f['id']);this[_0xc80cde(0xb3)](_0x36ee64),_0x36ee64[_0xc80cde(0xca)]&&this[_0xc80cde(0x97)](),_0x36ee64[_0xc80cde(0xcd)]();}[_0x334770(0x97)](){const _0x1d369d=_0x334770;this[_0x1d369d(0x92)]=Array[_0x1d369d(0xc9)](this[_0x1d369d(0x91)])[_0x1d369d(0x86)](_0x4db23c=>_0x4db23c[_0x1d369d(0xca)]);}[_0x334770(0x9e)](){const _0x347aa8=_0x334770,_0x433f88=function(_0x3d6a9f){const _0x39138f=_0x5bad,_0x1d569c=new _0x128f49();for(const _0xe8ef9c of _0x3d6a9f)_0x1d569c[_0x39138f(0xba)](_0xe8ef9c);return _0x1d569c;}(this[_0x347aa8(0x91)]),_0x760f1f=this[_0x347aa8(0xbb)][_0x347aa8(0xc3)];for(let _0x303858=0x1;_0x303858<=_0x760f1f;_0x303858++)_0x433f88[_0x347aa8(0x8a)](0x1);for(const _0x3a9c9d of _0x433f88)_0x3a9c9d[_0x347aa8(0xcf)]();_0x760f1f>0x0&&_0x433f88[_0x347aa8(0xba)](this[_0x347aa8(0xbb)],0x1),ms(_0x154380(Array[_0x347aa8(0xc9)](this[_0x347aa8(0xbc)]),Array[_0x347aa8(0xc9)](_0x433f88)),this[_0x347aa8(0xbc)],_0x433f88);}[_0x334770(0xc5)](){const _0x2aae08=_0x334770;ms(_0x154380(Array[_0x2aae08(0xc9)](this[_0x2aae08(0xbc)]),Array[_0x2aae08(0xc9)](this[_0x2aae08(0x91)])),this[_0x2aae08(0xbc)],this[_0x2aae08(0x91)]);for(const _0x482837 of this[_0x2aae08(0xbc)])_0x482837[_0x2aae08(0xdc)]();}[_0x334770(0xb8)](){const _0x4c67e5=_0x334770;this[_0x4c67e5(0x91)][_0x4c67e5(0xc0)](_0x1af19=>{const _0x5d971f=_0x4c67e5;this[_0x5d971f(0x96)][_0x5d971f(0xba)](_0x1af19[_0x5d971f(0xaa)]),this[_0x5d971f(0xd9)][_0x5d971f(0xae)](_0x1af19[_0x5d971f(0xaa)]);}),this[_0x4c67e5(0x91)]['on'](_0x4c67e5(0x8c),(_0x7f4363,_0x150c8c)=>{const _0x668724=_0x4c67e5;for(const _0x42c8c2 of _0x150c8c[_0x668724(0xce)])this[_0x668724(0x96)][_0x668724(0x8a)](_0x42c8c2[_0x668724(0xaa)]),this[_0x668724(0xd9)][_0x668724(0xb3)](_0x42c8c2[_0x668724(0xaa)]);for(const _0x56223b of Array[_0x668724(0xc9)](_0x150c8c[_0x668724(0x88)])[_0x668724(0xad)]())this[_0x668724(0x96)][_0x668724(0xba)](_0x56223b[_0x668724(0xaa)]),this[_0x668724(0xd9)][_0x668724(0xae)](_0x56223b[_0x668724(0xaa)]);});}}function ms(_0x2ccd2a,_0x29bdc9,_0x16b218){const _0x23d637=_0x334770;let _0x1af645=0x0;for(const _0x9c9d71 of _0x2ccd2a)switch(_0x9c9d71){case _0x23d637(0x9b):_0x29bdc9[_0x23d637(0xba)](_0x16b218[_0x23d637(0xd2)](_0x1af645),_0x1af645),_0x1af645++;break;case _0x23d637(0xb1):_0x29bdc9[_0x23d637(0x8a)](_0x1af645);break;case _0x23d637(0xdb):_0x1af645++;}}
|
|
23
|
+
const _0x4ca40d=_0x2b76;function _0x2b76(_0x156fc3,_0x1da730){const _0x1fc0ea=_0x1fc0();return _0x2b76=function(_0x2b7676,_0x3b197c){_0x2b7676=_0x2b7676-0x1a9;let _0x14f0f4=_0x1fc0ea[_0x2b7676];return _0x14f0f4;},_0x2b76(_0x156fc3,_0x1da730);}(function(_0xcb52a9,_0x14aaf7){const _0x5b9751=_0x2b76,_0x6331f0=_0xcb52a9();while(!![]){try{const _0x524f09=-parseInt(_0x5b9751(0x1ba))/0x1*(-parseInt(_0x5b9751(0x1ad))/0x2)+-parseInt(_0x5b9751(0x1c5))/0x3*(-parseInt(_0x5b9751(0x205))/0x4)+parseInt(_0x5b9751(0x1b1))/0x5*(-parseInt(_0x5b9751(0x1f3))/0x6)+parseInt(_0x5b9751(0x1e3))/0x7*(parseInt(_0x5b9751(0x1e7))/0x8)+parseInt(_0x5b9751(0x1bd))/0x9*(parseInt(_0x5b9751(0x202))/0xa)+parseInt(_0x5b9751(0x1c7))/0xb+-parseInt(_0x5b9751(0x1b8))/0xc;if(_0x524f09===_0x14aaf7)break;else _0x6331f0['push'](_0x6331f0['shift']());}catch(_0x285956){_0x6331f0['push'](_0x6331f0['shift']());}}}(_0x1fc0,0x6c946));import{View as _0x4f940b,FocusCycler as _0x3d8dc9}from'ckeditor5/src/ui.js';import{diff as _0x2ee848,Collection as _0x1ed092,FocusTracker as _0x58da57,KeystrokeHandler as _0x4e1503}from'ckeditor5/src/utils.js';import{getTranslation as _0x768988}from'../../../utils/common-translations.js';function _0x1fc0(){const _0x2d1c48=['updateComment','5940011YhTAHD','_rearrangeCollapse','arrowdown','authoredAt','8QqOVoZ','stopListening','includes','length','from','_findOptimalIndex','visibleViews','added','locale','focusLast','reverse','change:isActive','378RvZxdt','removed','arrowup','_handleNewCommentModel','focusCycler','ck-thread__comments','createCollection','isActive','setTemplate','element','collapse','maxCommentsWhenCollapsed','bind','weight','ck-hidden','10apJGfh','delegate','focusTracker','4VwIysl','some','editorConfig','_calculatePosition','resolveCommentThread','change:hasDirtyComment','editorDestroyed','CommentView','insert','resolvedAt','_collapsedCommentsView','110ebmQEy','refreshVisibleViews','expand','map','61075ZAJAtX','commentUpdated','get','add','maxThreadTotalWeight','Marked\x20as\x20resolved','isEditMode','14100936IrbEMj','Thread\x20comments','4702TUcykz','hasDirtyComment','removeComment','3444435iiThSp','commentViews','forEach','formatDateTime','remove','_rearrangeExpand','_handleInfoComment','resolvedBy','407331uxxRxz','maxCommentCharsWhenCollapsed','8400590MdIpoD','_config','change:isEditMode','_handleRemoveCommentModel','delete','focusFirst','resolvedCommentView','render','count','set','editorReady','viewUid','change','_updateHasDirtyComment','listenTo','destroy','comments','_model','equal','keystrokes','_setupKeyboardNavigation','change:isResolved','resolved','focus','_shouldCollapse','bindTemplate','target'];_0x1fc0=function(){return _0x2d1c48;};return _0x1fc0();}import _0x104095 from'./collapsedcommentsview.js';export default class xt extends _0x4f940b{constructor(_0x3a51c1,_0x5b1504,_0x4bd0ac){const _0xb9b856=_0x2b76;super(_0x3a51c1);const _0x5e2996=this[_0xb9b856(0x1e0)];this[_0xb9b856(0x1d0)](_0xb9b856(0x1bb),!0x1),this[_0xb9b856(0x1d0)](_0xb9b856(0x1ea),_0x5b1504[_0xb9b856(0x1d7)][_0xb9b856(0x1ea)]),this[_0xb9b856(0x1d0)](_0xb9b856(0x1fa),!0x1),this[_0xb9b856(0x1d8)]=_0x5b1504,this[_0xb9b856(0x1c8)]=_0x4bd0ac,this[_0xb9b856(0x1be)]=this[_0xb9b856(0x1f9)](),this[_0xb9b856(0x1ed)]=this[_0xb9b856(0x1f9)](),this[_0xb9b856(0x1cd)]=null,this[_0xb9b856(0x204)]=new _0x58da57(),this[_0xb9b856(0x1da)]=new _0x4e1503(),this[_0xb9b856(0x1f7)]=new _0x3d8dc9({'focusables':this[_0xb9b856(0x1be)],'focusTracker':this[_0xb9b856(0x204)],'keystrokeHandler':this[_0xb9b856(0x1da)],'keystrokeHandlerOptions':{'filter':_0x3ac616=>this[_0xb9b856(0x1be)][_0xb9b856(0x1b0)](_0x25797e=>_0x25797e[_0xb9b856(0x1fc)])[_0xb9b856(0x1e9)](_0x3ac616[_0xb9b856(0x1e1)])},'actions':{'focusPrevious':_0xb9b856(0x1f5),'focusNext':_0xb9b856(0x1e5)}}),this[_0xb9b856(0x1ac)]=new _0x104095(_0x3a51c1),this[_0xb9b856(0x1ac)][_0xb9b856(0x1ff)](_0xb9b856(0x1cf))['to'](this,_0xb9b856(0x1ea),_0x27d0ef=>_0x27d0ef-this[_0xb9b856(0x1c8)][_0xb9b856(0x1fe)]);for(const _0x494b12 of _0x5b1504[_0xb9b856(0x1d7)])this[_0xb9b856(0x1f6)](_0x494b12);this[_0xb9b856(0x1c3)](),this[_0xb9b856(0x1d5)](_0x5b1504[_0xb9b856(0x1d7)],_0xb9b856(0x1b4),(_0x681927,_0x4468f)=>{const _0xebaddc=_0xb9b856,_0x29935d=this[_0xebaddc(0x208)](_0x4468f);this[_0xebaddc(0x1ea)]++,this[_0xebaddc(0x1f6)](_0x4468f,_0x29935d),this[_0xebaddc(0x1ae)]();}),this[_0xb9b856(0x1d5)](_0x5b1504[_0xb9b856(0x1d7)],_0xb9b856(0x1c1),(_0x5277be,_0xcf15fe)=>{const _0x47b7d0=_0xb9b856;this[_0x47b7d0(0x1ea)]--,this[_0x47b7d0(0x1ca)](_0xcf15fe),this[_0x47b7d0(0x1ae)]();}),this[_0xb9b856(0x1d5)](_0x5b1504,_0xb9b856(0x1b2),()=>this[_0xb9b856(0x1ae)]()),this[_0xb9b856(0x1d5)](_0x5b1504,_0xb9b856(0x1dc),()=>this[_0xb9b856(0x1c3)]()),this['on'](_0xb9b856(0x1f2),()=>this[_0xb9b856(0x1ae)]()),this['on'](_0xb9b856(0x20a),()=>this[_0xb9b856(0x1ae)]()),this[_0xb9b856(0x1fb)]({'tag':'ul','attributes':{'class':[_0xb9b856(0x1f8),_0x5e2996['if'](_0xb9b856(0x1ea),_0xb9b856(0x201),_0x3600e4=>!_0x3600e4)],'aria-label':_0x768988(_0x3a51c1,_0xb9b856(0x1b9))},'children':this[_0xb9b856(0x1ed)]});}get[_0x4ca40d(0x1df)](){const _0x3b8281=_0x4ca40d;return this[_0x3b8281(0x1d8)][_0x3b8281(0x200)]>this[_0x3b8281(0x1c8)][_0x3b8281(0x1b5)]&&!this[_0x3b8281(0x1fa)]&&!this[_0x3b8281(0x1bb)];}[_0x4ca40d(0x1ce)](){const _0x509c1f=_0x4ca40d;super[_0x509c1f(0x1ce)](),this[_0x509c1f(0x1ae)](),this[_0x509c1f(0x1db)]();}[_0x4ca40d(0x1de)](_0x3b375d){const _0x1793db=_0x4ca40d;-0x1===_0x3b375d?this[_0x1793db(0x1f7)][_0x1793db(0x1f0)]():this[_0x1793db(0x1f7)][_0x1793db(0x1cc)]();}[_0x4ca40d(0x1d6)](){const _0x5845a1=_0x4ca40d;this[_0x5845a1(0x1ac)][_0x5845a1(0x1d6)]();for(const _0x3e0387 of this[_0x5845a1(0x1be)])_0x3e0387[_0x5845a1(0x1d6)]();super[_0x5845a1(0x1d6)]();}[_0x4ca40d(0x1ae)](){const _0x40543b=_0x4ca40d;this[_0x40543b(0x1df)]?this[_0x40543b(0x1e4)]():this[_0x40543b(0x1c2)]();}[_0x4ca40d(0x1f6)](_0x55a1bb,_0x2f14cf){const _0x4e7d37=_0x4ca40d,_0x3ccf7f=new this[(_0x4e7d37(0x1c8))][(_0x4e7d37(0x1a9))](this[_0x4e7d37(0x1ef)],_0x55a1bb,{'maxCommentCharsWhenCollapsed':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x1c6)],'formatDateTime':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x1c0)],'editorConfig':this[_0x4e7d37(0x1c8)][_0x4e7d37(0x207)]});_0x3ccf7f[_0x4e7d37(0x1d2)]=_0x55a1bb['id'],_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1bc))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1e2))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x209))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x1d1))['to'](this),_0x3ccf7f[_0x4e7d37(0x203)](_0x4e7d37(0x20b))['to'](this),this[_0x4e7d37(0x1d5)](_0x3ccf7f,_0x4e7d37(0x1c9),()=>this[_0x4e7d37(0x1d4)]()),this[_0x4e7d37(0x1be)][_0x4e7d37(0x1b4)](_0x3ccf7f,_0x2f14cf);}[_0x4ca40d(0x208)](_0x4a5801){const _0x3b405f=_0x4ca40d,_0x503e03=this[_0x3b405f(0x1d8)][_0x3b405f(0x1ec)](_0x4a5801);return this[_0x3b405f(0x1cd)]?this[_0x3b405f(0x1cd)][_0x3b405f(0x1e6)]>_0x4a5801[_0x3b405f(0x1e6)]?_0x503e03-0x1:_0x503e03:_0x503e03-0x1;}[_0x4ca40d(0x1c3)](){const _0x33580f=_0x4ca40d;if(this[_0x33580f(0x1d8)][_0x33580f(0x1c4)]&&this[_0x33580f(0x1d8)][_0x33580f(0x1ab)]){const _0x329154={'id':_0x33580f(0x1dd),'author':this[_0x33580f(0x1d8)][_0x33580f(0x1c4)],'authoredAt':this[_0x33580f(0x1d8)][_0x33580f(0x1ab)],'content':_0x768988(this[_0x33580f(0x1ef)],_0x33580f(0x1b6)),'attributes':{}};this[_0x33580f(0x1cd)]=new this[(_0x33580f(0x1c8))][(_0x33580f(0x1a9))](this[_0x33580f(0x1ef)],_0x329154,{'maxCommentCharsWhenCollapsed':this[_0x33580f(0x1c8)][_0x33580f(0x1c6)],'formatDateTime':this[_0x33580f(0x1c8)][_0x33580f(0x1c0)],'editorConfig':this[_0x33580f(0x1c8)][_0x33580f(0x207)],'isSystemComment':!0x0}),this[_0x33580f(0x1be)][_0x33580f(0x1b4)](this[_0x33580f(0x1cd)],this[_0x33580f(0x1d8)][_0x33580f(0x1ec)](_0x329154));}else this[_0x33580f(0x1cd)]&&(this[_0x33580f(0x1be)][_0x33580f(0x1c1)](this[_0x33580f(0x1cd)]),this[_0x33580f(0x1cd)][_0x33580f(0x1d6)](),this[_0x33580f(0x1cd)]=null);this[_0x33580f(0x1ae)]();}[_0x4ca40d(0x1ca)](_0x562ec5){const _0x16f544=_0x4ca40d,_0x641a48=this[_0x16f544(0x1be)][_0x16f544(0x1c1)](_0x562ec5['id']);this[_0x16f544(0x1e8)](_0x641a48),_0x641a48[_0x16f544(0x1b7)]&&this[_0x16f544(0x1d4)](),_0x641a48[_0x16f544(0x1d6)]();}[_0x4ca40d(0x1d4)](){const _0x411d15=_0x4ca40d;this[_0x411d15(0x1bb)]=Array[_0x411d15(0x1eb)](this[_0x411d15(0x1be)])[_0x411d15(0x206)](_0xe7231a=>_0xe7231a[_0x411d15(0x1b7)]);}[_0x4ca40d(0x1e4)](){const _0x2b5a3a=_0x4ca40d,_0x32d169=function(_0x1997a0){const _0x173e3b=_0x2b76,_0x4a8a44=new _0x1ed092();for(const _0x884483 of _0x1997a0)_0x4a8a44[_0x173e3b(0x1b4)](_0x884483);return _0x4a8a44;}(this[_0x2b5a3a(0x1be)]),_0x53e5b5=this[_0x2b5a3a(0x1ac)][_0x2b5a3a(0x1cf)];for(let _0x41e9a3=0x1;_0x41e9a3<=_0x53e5b5;_0x41e9a3++)_0x32d169[_0x2b5a3a(0x1c1)](0x1);for(const _0x5b90f7 of _0x32d169)_0x5b90f7[_0x2b5a3a(0x1fd)]();_0x53e5b5>0x0&&_0x32d169[_0x2b5a3a(0x1b4)](this[_0x2b5a3a(0x1ac)],0x1),ms(_0x2ee848(Array[_0x2b5a3a(0x1eb)](this[_0x2b5a3a(0x1ed)]),Array[_0x2b5a3a(0x1eb)](_0x32d169)),this[_0x2b5a3a(0x1ed)],_0x32d169);}[_0x4ca40d(0x1c2)](){const _0x1a803a=_0x4ca40d;ms(_0x2ee848(Array[_0x1a803a(0x1eb)](this[_0x1a803a(0x1ed)]),Array[_0x1a803a(0x1eb)](this[_0x1a803a(0x1be)])),this[_0x1a803a(0x1ed)],this[_0x1a803a(0x1be)]);for(const _0x2d9ff2 of this[_0x1a803a(0x1ed)])_0x2d9ff2[_0x1a803a(0x1af)]();}[_0x4ca40d(0x1db)](){const _0x571656=_0x4ca40d;this[_0x571656(0x1be)][_0x571656(0x1bf)](_0x32d48a=>{const _0x53f1ca=_0x571656;this[_0x53f1ca(0x204)][_0x53f1ca(0x1b4)](_0x32d48a[_0x53f1ca(0x1fc)]),this[_0x53f1ca(0x1da)][_0x53f1ca(0x1d5)](_0x32d48a[_0x53f1ca(0x1fc)]);}),this[_0x571656(0x1be)]['on'](_0x571656(0x1d3),(_0x479113,_0x17d28f)=>{const _0x460bff=_0x571656;for(const _0x118960 of _0x17d28f[_0x460bff(0x1f4)])this[_0x460bff(0x204)][_0x460bff(0x1c1)](_0x118960[_0x460bff(0x1fc)]),this[_0x460bff(0x1da)][_0x460bff(0x1e8)](_0x118960[_0x460bff(0x1fc)]);for(const _0x628c8d of Array[_0x460bff(0x1eb)](_0x17d28f[_0x460bff(0x1ee)])[_0x460bff(0x1f1)]())this[_0x460bff(0x204)][_0x460bff(0x1b4)](_0x628c8d[_0x460bff(0x1fc)]),this[_0x460bff(0x1da)][_0x460bff(0x1d5)](_0x628c8d[_0x460bff(0x1fc)]);});}}function ms(_0x490c6b,_0x4091f7,_0x48cd60){const _0x1e1a81=_0x4ca40d;let _0x59333f=0x0;for(const _0xbcfce8 of _0x490c6b)switch(_0xbcfce8){case _0x1e1a81(0x1aa):_0x4091f7[_0x1e1a81(0x1b4)](_0x48cd60[_0x1e1a81(0x1b3)](_0x59333f),_0x59333f),_0x59333f++;break;case _0x1e1a81(0x1cb):_0x4091f7[_0x1e1a81(0x1c1)](_0x59333f);break;case _0x1e1a81(0x1d9):_0x59333f++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x966809=_0x3967;(function(_0x5e8bd3,_0x267723){const _0x11617a=_0x3967,_0x351de5=_0x5e8bd3();while(!![]){try{const _0x599a4e=-parseInt(_0x11617a(0x18e))/0x1*(parseInt(_0x11617a(0x189))/0x2)+parseInt(_0x11617a(0x184))/0x3*(parseInt(_0x11617a(0x18c))/0x4)+-parseInt(_0x11617a(0x192))/0x5+-parseInt(_0x11617a(0x190))/0x6+parseInt(_0x11617a(0x18f))/0x7+parseInt(_0x11617a(0x195))/0x8+parseInt(_0x11617a(0x194))/0x9;if(_0x599a4e===_0x267723)break;else _0x351de5['push'](_0x351de5['shift']());}catch(_0xbfa6f6){_0x351de5['push'](_0x351de5['shift']());}}}(_0xefd3,0x1e863));import{View as _0x206337}from'ckeditor5/src/ui.js';function _0x3967(_0x47a7de,_0x8cfe28){const _0xefd342=_0xefd3();return _0x3967=function(_0x3967e8,_0x3b20d3){_0x3967e8=_0x3967e8-0x184;let _0x33b89f=_0xefd342[_0x3967e8];return _0x33b89f;},_0x3967(_0x47a7de,_0x8cfe28);}function _0xefd3(){const _0x267f77=['contextValue','bindTemplate','setTemplate','element','524BHnsUI','focus','set','6248Rjkfgg','ck-context__value','548BBeNOw','547379wFDClP','1065276RLrOPY','span','695120HGcEap','THREAD_CONTEXT_LABEL','1384605oxXfpK','1487976JLbstl','321iCgiPD'];_0xefd3=function(){return _0x267f77;};return _0xefd3();}import{getTranslation as _0x5773d6}from'../../../utils/common-translations.js';export default class ls extends _0x206337{constructor(_0x1982dc){const _0x505536=_0x3967;super(_0x1982dc);const _0x5e3eaf=this[_0x505536(0x186)];this[_0x505536(0x18b)](_0x505536(0x185),''),this[_0x505536(0x187)]({'tag':_0x505536(0x191),'attributes':{'class':['ck',_0x505536(0x18d)],'aria-label':_0x5e3eaf['to'](_0x505536(0x185),_0x243879=>_0x5773d6(_0x1982dc,_0x505536(0x193),_0x243879)),'tabindex':-0x1},'children':[{'text':_0x5e3eaf['to'](_0x505536(0x185))}]});}[_0x966809(0x18a)](){const _0x141819=_0x966809;this[_0x141819(0x188)][_0x141819(0x18a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x18a0(){const _0x2cca9e=['focusables','overlay','isResolved','_createContextView','fire','context','div','shift+tab','listenTo','bindTemplate','667170npPRlA','value','isResolvable','locale','isEnabled','substring','reopenCommentThread','tab','reopenButtonView','focusTracker','lastIndexOf','_createReopenButton','isReadOnly','querySelector','focusFirst','2412372zNJIKx','label','682419ZfAIiY','_trimContextValue','add','72OhVGmG','ck-context','.ck-context','length','hasContext','.ck-context__value','createCollection','Comment\x20was\x20made\x20on\x20an\x20element','remove','classList','setTemplate','contextValue','...','scrollWidth','ck-context-wrapper','tooltip','isVisible','ck-annotation__actions','bind','ck-thread__header','3020265JPUOSB','offsetWidth','_attachContextActions','mouseleave','icon','mouseenter','execute','271548SwYcCm','focus','focusCycler','_setupKeyboardNavigation','contextView','594300eIhVvB','render','element','ck-context--quotes','684181glaATw','keystrokes','Reopen','_model'];_0x18a0=function(){return _0x2cca9e;};return _0x18a0();}const _0x1ab300=_0x3504;(function(_0x3e7355,_0x1fed15){const _0x1f5aa0=_0x3504,_0x41c473=_0x3e7355();while(!![]){try{const _0x32ee27=-parseInt(_0x1f5aa0(0x125))/0x1+parseInt(_0x1f5aa0(0x133))/0x2+parseInt(_0x1f5aa0(0x144))/0x3+-parseInt(_0x1f5aa0(0x162))/0x4+-parseInt(_0x1f5aa0(0x15b))/0x5+parseInt(_0x1f5aa0(0x142))/0x6+parseInt(_0x1f5aa0(0x167))/0x7*(parseInt(_0x1f5aa0(0x147))/0x8);if(_0x32ee27===_0x1fed15)break;else _0x41c473['push'](_0x41c473['shift']());}catch(_0x19fb37){_0x41c473['push'](_0x41c473['shift']());}}}(_0x18a0,0x5a99b));import{View as _0x769655,ButtonView as _0x4540e5,FocusCycler as _0xf5beb5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x53ada3,KeystrokeHandler as _0xb2ebf4}from'ckeditor5/src/utils.js';import{getTranslation as _0x57c704}from'../../../utils/common-translations.js';import _0x56133c from'../../../../theme/icons/undo.svg';import _0x942f30 from'./commentthreadheadercontextview.js';function _0x3504(_0x38ac8b,_0x1221d7){const _0x18a053=_0x18a0();return _0x3504=function(_0x350458,_0x1c5682){_0x350458=_0x350458-0x123;let _0x42deb8=_0x18a053[_0x350458];return _0x42deb8;},_0x3504(_0x38ac8b,_0x1221d7);}export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x769655{constructor(_0x2d79de,_0x912195){const _0x223689=_0x3504;super(_0x2d79de);const _0x4b7cbc=this[_0x223689(0x132)];this[_0x223689(0x128)]=_0x912195,this[_0x223689(0x13b)]=this[_0x223689(0x13e)](),this[_0x223689(0x166)]=this[_0x223689(0x12c)](),this[_0x223689(0x129)]=this[_0x223689(0x14d)]([this[_0x223689(0x166)],this[_0x223689(0x13b)]]),this[_0x223689(0x13c)]=new _0x53ada3(),this[_0x223689(0x126)]=new _0xb2ebf4(),this[_0x223689(0x164)]=new _0xf5beb5({'focusables':this[_0x223689(0x129)],'focusTracker':this[_0x223689(0x13c)],'keystrokeHandler':this[_0x223689(0x126)],'actions':{'focusPrevious':_0x223689(0x130),'focusNext':_0x223689(0x13a)}}),this[_0x223689(0x159)](_0x223689(0x14b))['to'](this[_0x223689(0x128)],_0x223689(0x12e),_0x2bc1f6=>!!_0x2bc1f6),this[_0x223689(0x159)](_0x223689(0x152))['to'](this[_0x223689(0x128)],_0x223689(0x12e),_0x2cee85=>_0x2cee85&&_0x2cee85[_0x223689(0x134)]?this[_0x223689(0x145)](_0x2cee85[_0x223689(0x134)]):_0x57c704(this[_0x223689(0x136)],_0x223689(0x14e))),this[_0x223689(0x151)]({'tag':_0x223689(0x12f),'attributes':{'class':[_0x223689(0x15a)]},'children':[{'tag':_0x223689(0x12f),'attributes':{'class':[_0x223689(0x155)]},'children':[{'tag':_0x223689(0x12f),'attributes':{'class':[_0x223689(0x148),_0x4b7cbc['if'](_0x223689(0x14b),_0x223689(0x124))]},'children':[this[_0x223689(0x166)]]}]},{'tag':_0x223689(0x12f),'attributes':{'class':[_0x223689(0x158)]},'children':[this[_0x223689(0x13b)]]}]});}[_0x1ab300(0x168)](){const _0x4991e8=_0x1ab300;super[_0x4991e8(0x168)](),this[_0x4991e8(0x15d)](),this[_0x4991e8(0x165)]();}[_0x1ab300(0x163)](){const _0x2d8de1=_0x1ab300;this[_0x2d8de1(0x164)][_0x2d8de1(0x141)]();}[_0x1ab300(0x13e)](){const _0x4ed656=_0x1ab300,_0x9f2a69=new _0x4540e5(this[_0x4ed656(0x136)]);return _0x9f2a69[_0x4ed656(0x143)]=_0x57c704(this[_0x4ed656(0x136)],_0x4ed656(0x127)),_0x9f2a69[_0x4ed656(0x156)]=_0x57c704(this[_0x4ed656(0x136)],_0x4ed656(0x127)),_0x9f2a69[_0x4ed656(0x15f)]=_0x56133c,_0x9f2a69[_0x4ed656(0x159)](_0x4ed656(0x137))['to'](this[_0x4ed656(0x128)],_0x4ed656(0x13f),_0x5dd001=>!_0x5dd001),_0x9f2a69[_0x4ed656(0x159)](_0x4ed656(0x157))['to'](this[_0x4ed656(0x128)],_0x4ed656(0x135),this[_0x4ed656(0x128)],_0x4ed656(0x12b),(_0x38220f,_0x4f11e8)=>_0x38220f&&_0x4f11e8),_0x9f2a69['on'](_0x4ed656(0x161),()=>{const _0x3fcf92=_0x4ed656;this[_0x3fcf92(0x12d)](_0x3fcf92(0x139),this[_0x3fcf92(0x128)]['id']);}),_0x9f2a69;}[_0x1ab300(0x145)](_0x4d2aee){const _0x352f32=_0x1ab300;if(_0x4d2aee[_0x352f32(0x14a)]<0x96)return _0x4d2aee;const _0x2c8cb7=_0x4d2aee[_0x352f32(0x13d)]('\x20',0x93);return _0x4d2aee[_0x352f32(0x138)](0x0,_0x2c8cb7>-0x1?_0x2c8cb7:0x93)+_0x352f32(0x153);}[_0x1ab300(0x15d)](){const _0x36a183=_0x1ab300,_0x1a01e2=this[_0x36a183(0x123)][_0x36a183(0x140)](_0x36a183(0x149)),_0x2e7092=_0x1a01e2[_0x36a183(0x140)](_0x36a183(0x14c));this[_0x36a183(0x131)](_0x1a01e2,_0x36a183(0x160),()=>{const _0x5c2b53=_0x36a183;_0x2e7092[_0x5c2b53(0x15c)]<_0x2e7092[_0x5c2b53(0x154)]&&_0x1a01e2[_0x5c2b53(0x150)][_0x5c2b53(0x146)](_0x5c2b53(0x12a));}),this[_0x36a183(0x131)](_0x1a01e2,_0x36a183(0x15e),()=>{const _0x254785=_0x36a183;_0x1a01e2[_0x254785(0x150)][_0x254785(0x14f)](_0x254785(0x12a));});}[_0x1ab300(0x165)](){const _0x3e3b2e=_0x1ab300;this[_0x3e3b2e(0x126)][_0x3e3b2e(0x131)](this[_0x3e3b2e(0x123)]);for(const _0x978fb1 of this[_0x3e3b2e(0x129)])this[_0x3e3b2e(0x13c)][_0x3e3b2e(0x146)](_0x978fb1[_0x3e3b2e(0x123)]),this[_0x3e3b2e(0x126)][_0x3e3b2e(0x131)](_0x978fb1[_0x3e3b2e(0x123)]);}[_0x1ab300(0x12c)](){const _0x3400df=_0x1ab300,_0x58b861=new _0x942f30(this[_0x3400df(0x136)]);return _0x58b861[_0x3400df(0x159)](_0x3400df(0x152))['to'](this),_0x58b861;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x387756=_0x24d4;(function(_0x478f32,_0x57e8b9){const _0x1495f9=_0x24d4,_0x5aa73c=_0x478f32();while(!![]){try{const _0x1c4230=-parseInt(_0x1495f9(0x96))/0x1*(-parseInt(_0x1495f9(0x74))/0x2)+-parseInt(_0x1495f9(0x88))/0x3+parseInt(_0x1495f9(0x93))/0x4+parseInt(_0x1495f9(0x95))/0x5+parseInt(_0x1495f9(0x69))/0x6+parseInt(_0x1495f9(0x72))/0x7+parseInt(_0x1495f9(0x90))/0x8*(-parseInt(_0x1495f9(0x8f))/0x9);if(_0x1c4230===_0x57e8b9)break;else _0x5aa73c['push'](_0x5aa73c['shift']());}catch(_0x3d7440){_0x5aa73c['push'](_0x5aa73c['shift']());}}}(_0x1191,0x7abd9));function _0x1191(){const _0x3922f3=['element','focus','destroy','ck-comment__input-container','createEditor','view','change:showInput','editing','value','showInput','preventDefault','1881375ErrWkr','ck-comment__input-container--active','ck-thread__user','then','render','contains','filter','8935641huDHru','16KeEFCA','editorDestroyed','isFocused','3346640jFbfbG','div','4576610erlkrJ','15BmsuNg','extendTemplate','mousedown','editor','2540982MHcOTN','target','some','listenTo','setTemplate','bindTemplate','editorReady','ck-thread__input','focusTracker','2512083MfuHTg','commentInputView','77496WhJttX','userView','bind','set','_focusOnNonInteractiveMouseDown','getDomRoot','showButtons','focusCycler','delegate'];_0x1191=function(){return _0x3922f3;};return _0x1191();}import{View as _0x17744b}from'ckeditor5/src/ui.js';import _0x237d45 from'./commentinputview.js';import{UserView as _0x22fd2a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24d4(_0x24e813,_0x147633){const _0x1191b5=_0x1191();return _0x24d4=function(_0x24d430,_0x119bea){_0x24d430=_0x24d430-0x66;let _0x45cbdd=_0x1191b5[_0x24d430];return _0x45cbdd;},_0x24d4(_0x24e813,_0x147633);}export default class kt extends _0x17744b{constructor(_0x104b46,_0x26d235,_0x50e7f6){const _0x49ae87=_0x24d4;super(_0x104b46),this[_0x49ae87(0x73)]=new _0x237d45(_0x104b46,_0x50e7f6),this[_0x49ae87(0x7b)]=this[_0x49ae87(0x73)][_0x49ae87(0x7b)],this[_0x49ae87(0x73)][_0x49ae87(0x76)](_0x49ae87(0x7a))['to'](this[_0x49ae87(0x73)][_0x49ae87(0x71)],_0x49ae87(0x92),this[_0x49ae87(0x73)],_0x49ae87(0x85),(_0x5539bb,_0x28429a)=>_0x5539bb||!!_0x28429a),this[_0x49ae87(0x77)](_0x49ae87(0x86),!0x1),this['on'](_0x49ae87(0x83),()=>{const _0x41610a=_0x49ae87;this[_0x41610a(0x86)]&&!this[_0x41610a(0x73)][_0x41610a(0x68)]&&this[_0x41610a(0x73)][_0x41610a(0x81)]();}),this[_0x49ae87(0x73)][_0x49ae87(0x7c)](_0x49ae87(0x6f))['to'](this),this[_0x49ae87(0x73)][_0x49ae87(0x7c)](_0x49ae87(0x91))['to'](this),this[_0x49ae87(0x75)]=new _0x22fd2a(_0x104b46,_0x26d235),this[_0x49ae87(0x75)][_0x49ae87(0x66)]({'attributes':{'class':_0x49ae87(0x8a),'aria-hidden':!0x0}}),this[_0x49ae87(0x73)][_0x49ae87(0x66)]({'attributes':{'class':_0x49ae87(0x70)}}),this[_0x49ae87(0x6d)]({'tag':_0x49ae87(0x94),'attributes':{'class':[_0x49ae87(0x80),this[_0x49ae87(0x6e)]['if'](_0x49ae87(0x86),_0x49ae87(0x89))]},'children':[this[_0x49ae87(0x75)],this[_0x49ae87(0x73)]]});}[_0x387756(0x8c)](){const _0x4275eb=_0x387756;super[_0x4275eb(0x8c)](),this[_0x4275eb(0x78)]();}[_0x387756(0x7f)](){const _0x179ff4=_0x387756;return this[_0x179ff4(0x73)][_0x179ff4(0x7f)]()[_0x179ff4(0x8b)](()=>super[_0x179ff4(0x7f)]());}[_0x387756(0x7e)](_0xbeaec8){const _0x13b3dd=_0x387756;this[_0x13b3dd(0x73)][_0x13b3dd(0x7e)](_0xbeaec8);}[_0x387756(0x78)](){const _0x219d90=_0x387756;this[_0x219d90(0x6c)](this[_0x219d90(0x7d)],_0x219d90(0x67),(_0x4adee7,_0x5dad97)=>{const _0x499fd4=_0x219d90,{submitButtonView:_0x4777c2,cancelButtonView:_0x3a965b,editor:_0x39bb25}=this[_0x499fd4(0x73)];[_0x4777c2[_0x499fd4(0x7d)],_0x3a965b[_0x499fd4(0x7d)],_0x39bb25?_0x39bb25[_0x499fd4(0x84)][_0x499fd4(0x82)][_0x499fd4(0x79)]():null][_0x499fd4(0x8e)](_0x1d9bfa=>_0x1d9bfa)[_0x499fd4(0x6b)](_0x58eac9=>_0x58eac9[_0x499fd4(0x8d)](_0x5dad97[_0x499fd4(0x6a)]))||(this[_0x499fd4(0x7e)](),_0x5dad97[_0x499fd4(0x87)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4aaad8=_0x246d;function _0x39d5(){const _0x42618c=['extendTemplate','cancelConfirm','isConfirm','unbind','label','get','removeButton','commentViews','Write\x20a\x20comment...','_model','isActive','isVisible','setTemplate','render','ck-thread--remove-confirmation','change:isActive','464892lPBulQ','bind','11718pDEIFW','listenTo','resolveCommentThread','840170QfEpgD','fire','commentThreadHeaderView','placeholder','Delete\x20comment\x20thread?','has','commentsListView','containerElement','ck-thread','execute','div','actionIndicator','tooltip','ck-reset_all-excluded','533ZcQBbL','querySelector','_bindFirstCommentView','isReadOnly','905reoxHJ','_updateArchivedThreadHeader','then','isResolved','6548dBXgtl','isEnabled','archivedAt','11078973wGqBWG','actionBar','ariaLabel','_boundFirstCommentView','ck-comment--resolve','ck-thread__container','187YtBhWS','getTemplate','ck-thread--unlinked','showConfirm','icon','listitem','ck-rounded-corners','high','remove','1bUwtmx','commentThreadChildren','removeConfirm','commentThreadInputView','bindTemplate','stop','Resolve','focus','change:isReadOnly','ck-thread--active','isUnlinked','resolveButton','element','removeCommentThread','_cancelAllConfirms','isResolvable','441944jZeadc','1505338uWqDpl','126knWtLp','2031lTQMmn','set','change:archivedAt','_createResolveButton','focusables','add','ariaDescriptionView','createCollection','ck-thread--','isSystemComment','locale','.ck-thread__container','check','length'];_0x39d5=function(){return _0x42618c;};return _0x39d5();}(function(_0x479983,_0x155ada){const _0x242fc9=_0x246d,_0x15b9e9=_0x479983();while(!![]){try{const _0x2fa769=parseInt(_0x242fc9(0xf5))/0x1*(-parseInt(_0x242fc9(0x106))/0x2)+parseInt(_0x242fc9(0x108))/0x3*(parseInt(_0x242fc9(0x141))/0x4)+-parseInt(_0x242fc9(0x13d))/0x5*(-parseInt(_0x242fc9(0x128))/0x6)+parseInt(_0x242fc9(0x107))/0x7*(-parseInt(_0x242fc9(0x105))/0x8)+parseInt(_0x242fc9(0x144))/0x9+parseInt(_0x242fc9(0x12b))/0xa*(parseInt(_0x242fc9(0xec))/0xb)+-parseInt(_0x242fc9(0x126))/0xc*(parseInt(_0x242fc9(0x139))/0xd);if(_0x2fa769===_0x155ada)break;else _0x15b9e9['push'](_0x15b9e9['shift']());}catch(_0x1f7ddd){_0x15b9e9['push'](_0x15b9e9['shift']());}}}(_0x39d5,0xbfcc4));import{ConfirmMixin as _0x2ad224,LateFocusButtonView as _0x599f4a}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x22f39a}from'ckeditor5/src/core.js';import _0x5c8948 from'./basecommentthreadview.js';import{getTranslation as _0x8e28f3}from'../../../utils/common-translations.js';function _0x246d(_0xa43934,_0x590d9c){const _0x39d5a8=_0x39d5();return _0x246d=function(_0x246d04,_0x12017c){_0x246d04=_0x246d04-0xe8;let _0x32f2bb=_0x39d5a8[_0x246d04];return _0x32f2bb;},_0x246d(_0xa43934,_0x590d9c);}export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2ad224(_0x5c8948){constructor(_0x5af8ea,_0x5a11b4,_0x369e30,_0x1f7d69){const _0x122fdc=_0x246d;super(_0x5af8ea,_0x5a11b4,_0x369e30,_0x1f7d69),this[_0x122fdc(0xf6)]=this[_0x122fdc(0x10f)]([this[_0x122fdc(0x131)],this[_0x122fdc(0xf8)],this[_0x122fdc(0x10e)]]),this[_0x122fdc(0x109)](_0x122fdc(0x136),null),this[_0x122fdc(0x132)]=null,this[_0x122fdc(0xe9)]=null,this[_0x122fdc(0x112)]=_0x5af8ea,this[_0x122fdc(0x100)]=this[_0x122fdc(0x10b)](),this[_0x122fdc(0x122)](this[_0x122fdc(0xed)]()),this['on'](_0x122fdc(0x125),(_0x57d8ee,_0x4ae64e,_0x5547c7)=>{const _0x4f8874=_0x122fdc;_0x5547c7||this[_0x4f8874(0x103)]();}),this[_0x122fdc(0x129)](this[_0x122fdc(0x11f)],_0x122fdc(0xfd),(_0x2ed70e,_0x1305d8,_0xed8458)=>{const _0x48ac03=_0x122fdc;_0xed8458&&this[_0x48ac03(0x103)]();}),this[_0x122fdc(0x115)]>0x0&&this[_0x122fdc(0x13b)](),this[_0x122fdc(0x129)](this[_0x122fdc(0x131)][_0x122fdc(0x11d)],_0x122fdc(0x10d),()=>{const _0x1d190e=_0x122fdc;this[_0x1d190e(0x13b)]();});}[_0x4aaad8(0xed)](){const _0x15c5a4=_0x4aaad8,_0x23d6f2=this[_0x15c5a4(0xf9)];return{'tag':_0x15c5a4(0x135),'attributes':{'class':['ck',_0x15c5a4(0x133),_0x15c5a4(0x138),_0x15c5a4(0xf2),_0x23d6f2['if'](_0x15c5a4(0x120),_0x15c5a4(0xfe)),_0x23d6f2['if'](_0x15c5a4(0xff),_0x15c5a4(0xee)),_0x23d6f2['if'](_0x15c5a4(0x118),_0x15c5a4(0x124)),_0x23d6f2['to'](_0x15c5a4(0x136),_0x5c339e=>_0x5c339e?_0x15c5a4(0x110)+_0x5c339e:'')],'data-thread-id':this[_0x15c5a4(0x11f)]['id'],'tabindex':0x0,'role':_0x15c5a4(0xf1),'aria-label':_0x23d6f2['to'](_0x15c5a4(0xe8)),'aria-describedby':this[_0x15c5a4(0x10e)]['id']},'children':[{'tag':_0x15c5a4(0x135),'attributes':{'class':_0x15c5a4(0xeb)},'children':this[_0x15c5a4(0xf6)]}]};}[_0x4aaad8(0x123)](){const _0x23f0fd=_0x4aaad8;super[_0x23f0fd(0x123)](),this[_0x23f0fd(0x132)]=this[_0x23f0fd(0x101)][_0x23f0fd(0x13a)](_0x23f0fd(0x113)),this[_0x23f0fd(0x11f)]['on'](_0x23f0fd(0x10a),()=>{const _0x468721=_0x23f0fd;this[_0x468721(0x13e)]();}),this[_0x23f0fd(0x13e)]();}[_0x4aaad8(0x103)](){const _0x42e1d5=_0x4aaad8;this[_0x42e1d5(0x117)]();for(const _0x163232 of this[_0x42e1d5(0x131)][_0x42e1d5(0x11d)])_0x163232[_0x42e1d5(0x117)]();}[_0x4aaad8(0x13b)](){const _0x4243a7=_0x4aaad8,{locale:_0x61f841}=this,_0x50640c=this[_0x4243a7(0x131)][_0x4243a7(0x11d)][_0x4243a7(0x11b)](0x0);_0x50640c===this[_0x4243a7(0xe9)]||_0x50640c[_0x4243a7(0x111)]||(this[_0x4243a7(0xe9)]=_0x50640c,this[_0x4243a7(0x119)](_0x4243a7(0x136)),this[_0x4243a7(0x127)](_0x4243a7(0x136))['to'](_0x50640c,_0x4243a7(0x136),_0x4826c7=>_0x4243a7(0xf4)===_0x4826c7?_0x4243a7(0xf4):null),_0x50640c[_0x4243a7(0x12e)]=_0x8e28f3(_0x61f841,_0x4243a7(0x11e)),_0x50640c[_0x4243a7(0x11c)]['on'](_0x4243a7(0x134),_0x4c2121=>{const _0x25ed0d=_0x4243a7;_0x4c2121[_0x25ed0d(0xfa)](),this[_0x25ed0d(0xef)](_0x8e28f3(_0x61f841,_0x25ed0d(0x12f)),this[_0x25ed0d(0x132)])[_0x25ed0d(0x13f)](()=>{const _0x22c9d2=_0x25ed0d;this[_0x22c9d2(0x12c)](_0x22c9d2(0x102));});},{'priority':_0x4243a7(0xf3)}),this['on'](_0x4243a7(0xf7),()=>{const _0x36132b=_0x4243a7;_0x50640c[_0x36132b(0xfc)]();}),_0x50640c[_0x4243a7(0x145)][_0x4243a7(0x10d)](this[_0x4243a7(0x100)],0x0),_0x50640c[_0x4243a7(0x10c)][_0x4243a7(0x10d)](this[_0x4243a7(0x100)],0x0));}[_0x4aaad8(0x10b)](){const _0x261251=_0x4aaad8,_0x26388d=new _0x599f4a(this[_0x261251(0x112)]);return _0x26388d[_0x261251(0x11a)]=_0x8e28f3(this[_0x261251(0x112)],_0x261251(0xfb)),_0x26388d[_0x261251(0x137)]=_0x8e28f3(this[_0x261251(0x112)],_0x261251(0xfb)),_0x26388d[_0x261251(0xf0)]=_0x22f39a[_0x261251(0x114)],_0x26388d[_0x261251(0x116)]({'attributes':{'class':_0x261251(0xea)}}),_0x26388d[_0x261251(0x127)](_0x261251(0x142))['to'](this[_0x261251(0x11f)],_0x261251(0x13c),_0x3fc66c=>!_0x3fc66c),_0x26388d[_0x261251(0x127)](_0x261251(0x121))['to'](this[_0x261251(0x11f)],_0x261251(0x104),this[_0x261251(0x11f)],_0x261251(0x140),(_0xb382ad,_0x516f00)=>_0xb382ad&&!_0x516f00),_0x26388d['on'](_0x261251(0x134),()=>{const _0x3da005=_0x261251;this[_0x3da005(0x12c)](_0x3da005(0x12a),this[_0x3da005(0x11f)]['id']);}),_0x26388d;}[_0x4aaad8(0x13e)](){const _0x125e96=_0x4aaad8;this[_0x125e96(0x11f)][_0x125e96(0x143)]?this[_0x125e96(0xf6)][_0x125e96(0x130)](this[_0x125e96(0x12d)])||(this[_0x125e96(0xf6)][_0x125e96(0x10d)](this[_0x125e96(0x12d)],0x0),this[_0x125e96(0x10c)][_0x125e96(0x10d)](this[_0x125e96(0x12d)],0x0)):this[_0x125e96(0xf6)][_0x125e96(0x130)](this[_0x125e96(0x12d)])&&(this[_0x125e96(0xf6)][_0x125e96(0xf4)](this[_0x125e96(0x12d)]),this[_0x125e96(0x10c)][_0x125e96(0xf4)](this[_0x125e96(0x12d)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5dff6d=_0x3662;(function(_0x19080c,_0x3b2444){const _0x4327e8=_0x3662,_0x188611=_0x19080c();while(!![]){try{const _0x21ec1e=-parseInt(_0x4327e8(0xc4))/0x1*(parseInt(_0x4327e8(0xe2))/0x2)+parseInt(_0x4327e8(0x82))/0x3+-parseInt(_0x4327e8(0xf2))/0x4+parseInt(_0x4327e8(0xf6))/0x5+parseInt(_0x4327e8(0x8e))/0x6+parseInt(_0x4327e8(0xc9))/0x7+-parseInt(_0x4327e8(0xe7))/0x8;if(_0x21ec1e===_0x3b2444)break;else _0x188611['push'](_0x188611['shift']());}catch(_0x180d28){_0x188611['push'](_0x188611['shift']());}}}(_0x34a0,0x920e6));function _0x34a0(){const _0x279cdc=['Delete\x20comment?','ck-annotation__info-name','edit','cancelConfirm','1855288gWoxBh','isEnabled','ariaDescriptionView','ck-comment__info','108745jmoJMh','ck-comment__actions','ck-annotation__content-wrapper','from','isEditMode','2969055nBqwjG','element','getUserViewNotificationText','removeButton','toMany','_createEditButton','isVisible','execute','fire','threeVerticalDots','createCollection','div','5398620FPJAiB','getTemplate','_createCommentInputView','push','remove','label','some','ck-hidden','visibleView','ck-comment__external','ck-annotation__actions','mouseenter','ck-annotation__actions--hidden','icon','ck-annotation__info','set','_createRemoveButton','removeComment','actionIndicator','_attachActions','editButton','length','listitem','actionBar','extendTemplate','formatDateTime','ck-comment--remove','ck-comment__main','span','ck-comment__info-name','Reply...','placeholder','ck-comment__actions--hidden','ck-annotation__info-time','resolvedAt','_createDropdown','ariaLabel','isConfirm','Show\x20more\x20items','dropdown','focusables','listenTo','ck-annotation','author','isExternal','isRemovable','isReadOnly','time','then','buttonView','change:isRemovable','blur','bind','_config','7nBIdUD','pencil','showConfirm','setTemplate','ck-comment__user','4836937xYwkSY','name','isEditable','withText','isSystemComment','panelPosition','panelView','bindTemplate','Remove','focus','render','authoredAt','addMany','items','add','mouseleave','ck-comment--remove-confirmation','Edit','group','ck-comment--info','ck-comment--','ck-annotation__main','userView','switchToEditMode','ck-annotation__user','249430uSuNxB','locale','ck-comment--edit','find','_model','5336976nJYpZP','ck-comment','ck-comment__info-time','children','getExternalCommentNote','unbind','ck-comment__wrapper'];_0x34a0=function(){return _0x279cdc;};return _0x34a0();}function _0x3662(_0x12e035,_0x3d0a68){const _0x34a06d=_0x34a0();return _0x3662=function(_0x3662e,_0x54073e){_0x3662e=_0x3662e-0x81;let _0x3b8d53=_0x34a06d[_0x3662e];return _0x3b8d53;},_0x3662(_0x12e035,_0x3d0a68);}import{ButtonView as _0x3d795a,createDropdown as _0x6f0891,ListView as _0x39ae66,ListItemView as _0x5b6c76,focusChildOnDropdownOpen as _0x1ec54b}from'ckeditor5/src/ui.js';import{icons as _0x1e22d5}from'ckeditor5/src/core.js';import{UserView as _0x498dcf,ConfirmMixin as _0x3322c1,LateFocusDropdownButtonView as _0x28fd1f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4c275f from'./basecommentview.js';import _0x3347b9 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x4978c4}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3322c1(_0x4c275f){constructor(_0x8a6c01,_0x5e997f,_0x4b6249){const _0x1f09de=_0x3662;super(_0x8a6c01,_0x5e997f,_0x4b6249),this[_0x1f09de(0x9d)](_0x1f09de(0xa0),null),this[_0x1f09de(0x9d)](_0x1f09de(0xad),_0x4978c4(_0x8a6c01,_0x1f09de(0xac))),this[_0x1f09de(0xc2)](_0x1f09de(0xd4))['to'](_0x5e997f),this[_0x1f09de(0xc2)](_0x1f09de(0xb0))['to'](_0x5e997f),this[_0x1f09de(0xa5)]=this[_0x1f09de(0x8c)](),this[_0x1f09de(0xcd)]||(this[_0x1f09de(0xa2)]=this[_0x1f09de(0x87)](),this[_0x1f09de(0x85)]=this[_0x1f09de(0x9e)](),this[_0x1f09de(0xd6)]=this[_0x1f09de(0x8c)](),this[_0x1f09de(0xd6)][_0x1f09de(0xd5)]([this[_0x1f09de(0xa2)],this[_0x1f09de(0x85)]]),this[_0x1f09de(0xb5)]=this[_0x1f09de(0xb1)](),this[_0x1f09de(0xa5)][_0x1f09de(0xd7)](this[_0x1f09de(0xb5)]),this[_0x1f09de(0xb6)][_0x1f09de(0xd7)](this[_0x1f09de(0xb5)])),this[_0x1f09de(0xdf)]=new _0x498dcf(_0x8a6c01,_0x5e997f[_0x1f09de(0xb9)],this[_0x1f09de(0x84)]()),this[_0x1f09de(0xdf)][_0x1f09de(0xa6)]({'attributes':{'class':[_0x1f09de(0xc8),_0x1f09de(0xe1)],'aria-hidden':!0x0}}),this[_0x1f09de(0xb7)](_0x5e997f,_0x1f09de(0xc0),()=>this[_0x1f09de(0xf1)]()),this[_0x1f09de(0xc7)](this[_0x1f09de(0x8f)]());}[_0x5dff6d(0x8f)](){const _0x3398ab=_0x5dff6d,_0x7c99b8=this[_0x3398ab(0xd0)],_0x1b7700=[{'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0xf5),_0x3398ab(0x9c)]},'children':[{'tag':_0x3398ab(0xaa),'children':[{'text':this[_0x3398ab(0xdf)][_0x3398ab(0xca)]}],'attributes':{'class':[_0x3398ab(0xab),_0x3398ab(0xef)]}},{'tag':_0x3398ab(0xbd),'attributes':{'datetime':_0x7c99b8['to'](_0x3398ab(0xd4)),'class':[_0x3398ab(0xe9),_0x3398ab(0xaf)]},'children':[{'text':_0x7c99b8['to'](_0x3398ab(0xd4),_0x3a3b1e=>this[_0x3398ab(0xc3)][_0x3398ab(0xa7)](_0x3a3b1e))}]}]},{'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0xf7),_0x3398ab(0x98),_0x7c99b8['if'](_0x3398ab(0x81),_0x3398ab(0xae)),_0x7c99b8['if'](_0x3398ab(0x81),_0x3398ab(0x9a))]},'children':this[_0x3398ab(0xa5)]},{'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0xf8)]},'children':this[_0x3398ab(0x96)]},this[_0x3398ab(0xf4)]];return this[_0x3398ab(0xe6)][_0x3398ab(0xba)]&&_0x1b7700[_0x3398ab(0x91)]({'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0x97)]},'children':[{'text':this[_0x3398ab(0xeb)]()}]}),{'tag':'li','attributes':{'class':[_0x3398ab(0xed),_0x7c99b8['if'](_0x3398ab(0xb3),_0x3398ab(0xd9))],'tabindex':-0x1,'aria-label':_0x7c99b8['to'](_0x3398ab(0xb2)),'aria-describedby':this[_0x3398ab(0xf4)]['id'],'role':_0x3398ab(0xa4)},'children':[{'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0xe8),_0x3398ab(0xb8),_0x7c99b8['if'](_0x3398ab(0x81),_0x3398ab(0xe4)),_0x7c99b8['if'](_0x3398ab(0xcd),_0x3398ab(0xdc)),_0x7c99b8['to'](_0x3398ab(0xa0),_0x21ee46=>_0x21ee46?_0x3398ab(0xdd)+_0x21ee46:'')],'data-author-id':this[_0x3398ab(0xe6)][_0x3398ab(0xb9)]['id'],'data-comment-id':this[_0x3398ab(0xe6)]['id'],'role':_0x3398ab(0xdb)},'children':[this[_0x3398ab(0xdf)],{'tag':_0x3398ab(0x8d),'attributes':{'class':[_0x3398ab(0xa9),_0x3398ab(0xde)]},'children':_0x1b7700}]}]};}[_0x5dff6d(0x87)](){const _0x35e807=_0x5dff6d,_0x1c724e=new _0x3d795a(this[_0x35e807(0xe3)]);return _0x1c724e[_0x35e807(0x93)]=_0x4978c4(this[_0x35e807(0xe3)],_0x35e807(0xda)),_0x1c724e[_0x35e807(0x9b)]=_0x1e22d5[_0x35e807(0xc5)],_0x1c724e[_0x35e807(0xcc)]=!0x0,_0x1c724e[_0x35e807(0xa6)]({'attributes':{'class':_0x35e807(0xe4)}}),_0x1c724e[_0x35e807(0xc2)](_0x35e807(0xf3))['to'](this[_0x35e807(0xe6)],_0x35e807(0xbc),_0x284cb5=>!_0x284cb5),_0x1c724e[_0x35e807(0xc2)](_0x35e807(0x88))['to'](this[_0x35e807(0xe6)],_0x35e807(0xcb)),_0x1c724e['on'](_0x35e807(0x89),()=>this[_0x35e807(0xe0)]()),_0x1c724e;}[_0x5dff6d(0x9e)](){const _0x20b5f2=_0x5dff6d,_0x4e0da5=new _0x3d795a(this[_0x20b5f2(0xe3)]);return _0x4e0da5[_0x20b5f2(0x93)]=_0x4978c4(this[_0x20b5f2(0xe3)],_0x20b5f2(0xd1)),_0x4e0da5[_0x20b5f2(0x9b)]=_0x3347b9,_0x4e0da5[_0x20b5f2(0xcc)]=!0x0,_0x4e0da5[_0x20b5f2(0xa6)]({'attributes':{'class':_0x20b5f2(0xa8)}}),_0x4e0da5[_0x20b5f2(0xc2)](_0x20b5f2(0xf3))['to'](this[_0x20b5f2(0xe6)],_0x20b5f2(0xbc),_0x304e0c=>!_0x304e0c),_0x4e0da5[_0x20b5f2(0xc2)](_0x20b5f2(0x88))['to'](this[_0x20b5f2(0xe6)],_0x20b5f2(0xbb)),_0x4e0da5['on'](_0x20b5f2(0x89),()=>{const _0x265f60=_0x20b5f2;this[_0x265f60(0xc6)](_0x4978c4(this[_0x265f60(0xe3)],_0x265f60(0xee)),this[_0x265f60(0x83)])[_0x265f60(0xbe)](()=>{const _0x51063a=_0x265f60;this[_0x51063a(0x8a)](_0x51063a(0x9f),this[_0x51063a(0xe6)]['id']);});}),_0x4e0da5;}[_0x5dff6d(0xb1)](){const _0x1af357=_0x5dff6d,_0x2f9520=_0x6f0891(this[_0x1af357(0xe3)],_0x28fd1f),_0x156720=_0x2f9520[_0x1af357(0xcf)][_0x1af357(0xea)],_0x5b30df=new _0x39ae66(this[_0x1af357(0xe3)]),_0x3c5029=_0x2f9520[_0x1af357(0xd0)];_0x1ec54b(_0x2f9520,()=>this[_0x1af357(0xd6)][_0x1af357(0xe5)](_0x3cebfc=>_0x3cebfc[_0x1af357(0x88)])),_0x2f9520[_0x1af357(0xa6)]({'attributes':{'class':[_0x3c5029['if'](_0x1af357(0x88),_0x1af357(0x95),_0x33a9c0=>!_0x33a9c0)]}});const _0x3f5c47=(_0x5cb955,_0x4cd297=-0x1)=>{const _0x205f35=_0x1af357,_0x1831f5=new _0x5b6c76(this[_0x205f35(0xe3)]);_0x1831f5[_0x205f35(0xea)][_0x205f35(0xd7)](_0x5cb955);const _0x5a35b3=_0x4cd297>-0x1?_0x4cd297:_0x5b30df[_0x205f35(0xd6)][_0x205f35(0xa3)];_0x5b30df[_0x205f35(0xd6)][_0x205f35(0xd7)](_0x1831f5,_0x5a35b3);const _0x200187=Array[_0x205f35(0xf9)](this[_0x205f35(0xd6)]);_0x2f9520[_0x205f35(0xec)](_0x205f35(0xf3),_0x205f35(0x88)),_0x2f9520[_0x205f35(0xc2)](_0x205f35(0xf3))[_0x205f35(0x86)](_0x200187,_0x205f35(0xf3),(..._0x3348c5)=>_0x3348c5[_0x205f35(0x94)](_0x2ba229=>_0x2ba229)),_0x2f9520[_0x205f35(0xc2)](_0x205f35(0x88))[_0x205f35(0x86)](_0x200187,_0x205f35(0x88),(..._0xd7d5cb)=>_0xd7d5cb[_0x205f35(0x94)](_0x36e294=>_0x36e294));};_0x2f9520[_0x1af357(0xce)]='sw',_0x2f9520[_0x1af357(0xbf)][_0x1af357(0x9d)]({'label':_0x4978c4(this[_0x1af357(0xe3)],_0x1af357(0xb4)),'icon':_0x1e22d5[_0x1af357(0x8b)]}),_0x2f9520[_0x1af357(0xf3)]=[...this[_0x1af357(0xd6)]][_0x1af357(0x94)](_0x57c04a=>_0x57c04a[_0x1af357(0xf3)]),_0x2f9520[_0x1af357(0xbf)][_0x1af357(0x88)]=[...this[_0x1af357(0xd6)]][_0x1af357(0x94)](_0x1ea6b5=>_0x1ea6b5[_0x1af357(0x88)]);for(const _0x5df2d0 of this[_0x1af357(0xd6)])_0x3f5c47(_0x5df2d0);return _0x156720[_0x1af357(0xd7)](_0x5b30df),_0x2f9520[_0x1af357(0xb7)](this[_0x1af357(0xd6)],_0x1af357(0xd7),(_0x20bb87,_0x52db46,_0x11d5c5)=>{_0x3f5c47(_0x52db46,_0x11d5c5);}),_0x2f9520[_0x1af357(0xb7)](this[_0x1af357(0xd6)],_0x1af357(0x92),(_0x43216e,_0x3d8f9d,_0x3f5c5d)=>{const _0x46d787=_0x1af357;_0x5b30df[_0x46d787(0xd6)][_0x46d787(0x92)](_0x3f5c5d);}),_0x2f9520;}[_0x5dff6d(0xa1)](_0x129563,_0x384eec){const _0x17b7ca=_0x5dff6d,_0x13f634=_0x129563&&_0x129563[_0x17b7ca(0x83)];_0x13f634&&(this[_0x17b7ca(0xb7)](_0x13f634,_0x17b7ca(0x99),()=>this[_0x17b7ca(0xa0)]=_0x384eec),this[_0x17b7ca(0xb7)](_0x13f634,_0x17b7ca(0xd2),()=>this[_0x17b7ca(0xa0)]=_0x384eec),this[_0x17b7ca(0xb7)](_0x13f634,_0x17b7ca(0xd8),()=>this[_0x17b7ca(0xa0)]=null),this[_0x17b7ca(0xb7)](_0x13f634,_0x17b7ca(0xc1),()=>this[_0x17b7ca(0xa0)]=null));}[_0x5dff6d(0x90)](){const _0x47c616=_0x5dff6d,_0x2fc743=super[_0x47c616(0x90)]();return _0x2fc743[_0x47c616(0xc2)](_0x47c616(0xad))['to'](this),_0x2fc743;}[_0x5dff6d(0xd3)](){const _0x1d54b6=_0x5dff6d;super[_0x1d54b6(0xd3)](),this[_0x1d54b6(0xa1)](this[_0x1d54b6(0xa2)],_0x1d54b6(0xf0)),this[_0x1d54b6(0xa1)](this[_0x1d54b6(0x85)],_0x1d54b6(0x92));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x592886=_0x4c42;function _0xa18a(){var _0xdddb6=['288dlXAIA','168580kzmPil','12910dUzwFe','2094LzOpFi','3662656ujNLdx','257820pWPhPY','pluginName','Comments','4218655zKlWoU','34856PdotgJ','1827875TvnjuK','requires','252LuWWeU'];_0xa18a=function(){return _0xdddb6;};return _0xa18a();}function _0x4c42(_0x60dc45,_0x37b78b){var _0xa18a03=_0xa18a();return _0x4c42=function(_0x4c426b,_0x218b04){_0x4c426b=_0x4c426b-0x152;var _0x56657d=_0xa18a03[_0x4c426b];return _0x56657d;},_0x4c42(_0x60dc45,_0x37b78b);}(function(_0x2c837f,_0x31d793){var _0x3f3b62=_0x4c42,_0x1e2e1f=_0x2c837f();while(!![]){try{var _0x25377f=-parseInt(_0x3f3b62(0x15a))/0x1+parseInt(_0x3f3b62(0x159))/0x2*(parseInt(_0x3f3b62(0x15c))/0x3)+-parseInt(_0x3f3b62(0x155))/0x4+-parseInt(_0x3f3b62(0x152))/0x5*(-parseInt(_0x3f3b62(0x153))/0x6)+parseInt(_0x3f3b62(0x158))/0x7+parseInt(_0x3f3b62(0x154))/0x8+parseInt(_0x3f3b62(0x15d))/0x9*(-parseInt(_0x3f3b62(0x15e))/0xa);if(_0x25377f===_0x31d793)break;else _0x1e2e1f['push'](_0x1e2e1f['shift']());}catch(_0x4b7e00){_0x1e2e1f['push'](_0x1e2e1f['shift']());}}}(_0xa18a,0xf29f5));import{Plugin as _0x4851f1}from'ckeditor5/src/core.js';import _0x56585c from'./comments/commentsrepository.js';import _0x21ccc3 from'./comments/commentsediting.js';import _0xaa6a40 from'./comments/commentsui.js';import _0x39061e from'./commentsonly.js';import _0x596ae7 from'./annotations/widesidebar.js';import _0x3bd69c from'./annotations/narrowsidebar.js';import _0x48d366 from'./annotations/inlineannotations.js';import _0x5d3896 from'./comments/commentsarchiveui.js';import _0x2316f7 from'./comments/commentsarchive.js';export default class f extends _0x4851f1{static get[_0x592886(0x15b)](){return[_0x56585c,_0x21ccc3,_0xaa6a40,_0x2316f7,_0x5d3896,_0x39061e,_0x596ae7,_0x3bd69c,_0x48d366];}static get[_0x592886(0x156)](){var _0x437934=_0x592886;return _0x437934(0x157);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x423f(){const _0x382024=['afterInit','4273LoIVHO','566840AnDOJG','1840808QKIOZG','config','4203909bORiph','view','get','delete','pluginName','_enableCommentsOnlyMode','document','editor','1649335hoeTRd','1344LzyrFH','cut','affectsData','2277930ezPqjF','_disableCommentsOnlyMode','6pIdFmL','addCommentThread','28QflOEc','stopListening','10MHSMjE','DragDrop','forceDisabled','listenTo','clipboardInput','26hZUSTa','commentsOnlyMode','clearForceDisabled','commands','highest','change:isEnabled','140195nUKDHb','has','CommentsOnly','requires','commentsOnly','editing','set','plugins','stop','isEnabled'];_0x423f=function(){return _0x382024;};return _0x423f();}const _0x5111fe=_0x1dd8;(function(_0x512e6b,_0x556081){const _0x1a3368=_0x1dd8,_0x416744=_0x512e6b();while(!![]){try{const _0x30b747=parseInt(_0x1a3368(0xfb))/0x1*(parseInt(_0x1a3368(0xea))/0x2)+-parseInt(_0x1a3368(0x10b))/0x3+parseInt(_0x1a3368(0xfc))/0x4+parseInt(_0x1a3368(0x107))/0x5*(parseInt(_0x1a3368(0x10d))/0x6)+-parseInt(_0x1a3368(0x10f))/0x7*(parseInt(_0x1a3368(0xfd))/0x8)+parseInt(_0x1a3368(0xff))/0x9*(parseInt(_0x1a3368(0x111))/0xa)+parseInt(_0x1a3368(0xf0))/0xb*(parseInt(_0x1a3368(0x108))/0xc);if(_0x30b747===_0x556081)break;else _0x416744['push'](_0x416744['shift']());}catch(_0x6e1c52){_0x416744['push'](_0x416744['shift']());}}}(_0x423f,0xb5241));import{Plugin as _0x8716b9}from'ckeditor5/src/core.js';function _0x1dd8(_0x2dd250,_0x337b10){const _0x423fd6=_0x423f();return _0x1dd8=function(_0x1dd87f,_0x2d3c1e){_0x1dd87f=_0x1dd87f-0xe9;let _0x28287b=_0x423fd6[_0x1dd87f];return _0x28287b;},_0x1dd8(_0x2dd250,_0x337b10);}import _0x2cfd6b from'./comments/commentsediting.js';export default class e extends _0x8716b9{static get[_0x5111fe(0x103)](){const _0x4c6e11=_0x5111fe;return _0x4c6e11(0xf2);}static get[_0x5111fe(0xf3)](){return[_0x2cfd6b];}constructor(_0x3cbf25){const _0xf132f9=_0x5111fe;super(_0x3cbf25),this[_0xf132f9(0xf6)](_0xf132f9(0xf9),!0x1),this['on'](_0xf132f9(0xef),(_0x52720d,_0x27042a,_0x138715)=>{const _0x8a0e80=_0xf132f9;_0x138715?this[_0x8a0e80(0x104)]():this[_0x8a0e80(0x10c)]();});}[_0x5111fe(0xfa)](){const _0x20b5ec=_0x5111fe;!this[_0x20b5ec(0xf9)]&&this[_0x20b5ec(0x106)][_0x20b5ec(0xfe)][_0x20b5ec(0x101)](_0x20b5ec(0xf4))&&(this[_0x20b5ec(0xf9)]=!0x0);}[_0x5111fe(0x104)](){const _0x166a1a=_0x5111fe;for(const [_0x48d48c,_0x13e0d0]of this[_0x166a1a(0x106)][_0x166a1a(0xed)])_0x13e0d0[_0x166a1a(0x10a)]&&_0x166a1a(0x10e)!==_0x48d48c&&_0x13e0d0[_0x166a1a(0x113)](_0x166a1a(0xeb));this[_0x166a1a(0x106)][_0x166a1a(0xf7)][_0x166a1a(0xf1)](_0x166a1a(0x112))&&this[_0x166a1a(0x106)][_0x166a1a(0xf7)][_0x166a1a(0x101)](_0x166a1a(0x112))[_0x166a1a(0x113)](_0x166a1a(0xeb));const _0x1b815a=this[_0x166a1a(0x106)][_0x166a1a(0xf5)][_0x166a1a(0x100)][_0x166a1a(0x105)];this[_0x166a1a(0x114)](_0x1b815a,_0x166a1a(0x109),_0x151752=>_0x151752[_0x166a1a(0xf8)](),{'priority':_0x166a1a(0xee)}),this[_0x166a1a(0x114)](_0x1b815a,_0x166a1a(0xe9),_0x24e2d8=>_0x24e2d8[_0x166a1a(0xf8)](),{'priority':_0x166a1a(0xee)}),this[_0x166a1a(0x114)](_0x1b815a,_0x166a1a(0x102),_0x529632=>_0x529632[_0x166a1a(0xf8)](),{'priority':_0x166a1a(0xee)});}[_0x5111fe(0x10c)](){const _0xe06b3b=_0x5111fe;for(const [_0x2336fc,_0x4d325d]of this[_0xe06b3b(0x106)][_0xe06b3b(0xed)])_0x4d325d[_0xe06b3b(0x10a)]&&_0xe06b3b(0x10e)!==_0x2336fc&&_0x4d325d[_0xe06b3b(0xec)](_0xe06b3b(0xeb));this[_0xe06b3b(0x110)](this[_0xe06b3b(0x106)][_0xe06b3b(0xf5)][_0xe06b3b(0x100)][_0xe06b3b(0x105)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1abd45,_0x3b4a8c){var _0x312198=_0x407d,_0x476f97=_0x1abd45();while(!![]){try{var _0x3dca41=-parseInt(_0x312198(0x1bf))/0x1+parseInt(_0x312198(0x1c0))/0x2*(parseInt(_0x312198(0x1b7))/0x3)+-parseInt(_0x312198(0x1bc))/0x4+-parseInt(_0x312198(0x1bd))/0x5+-parseInt(_0x312198(0x1ba))/0x6*(-parseInt(_0x312198(0x1bb))/0x7)+-parseInt(_0x312198(0x1b8))/0x8*(-parseInt(_0x312198(0x1b9))/0x9)+parseInt(_0x312198(0x1be))/0xa;if(_0x3dca41===_0x3b4a8c)break;else _0x476f97['push'](_0x476f97['shift']());}catch(_0x1e58dc){_0x476f97['push'](_0x476f97['shift']());}}}(_0x4811,0x995e7));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';function _0x4811(){var _0x2f7044=['8427VhlfST','56ogfrHu','1603098RiFUIE','3882jJPCpW','5971JuFpFA','144780PMtWcd','5239385cQkPZq','785720Ptswxx','499317lRcIbE','238MKGdfH'];_0x4811=function(){return _0x2f7044;};return _0x4811();}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';function _0x407d(_0x23dc01,_0x1e0175){var _0x48118f=_0x4811();return _0x407d=function(_0x407d71,_0x20f4ab){_0x407d71=_0x407d71-0x1b7;var _0x1a6d30=_0x48118f[_0x407d71];return _0x1a6d30;},_0x407d(_0x23dc01,_0x1e0175);}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';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x20e5c2,_0x38487c,_0x557ba5){const t=_0x20e5c2['t'];switch(_0x38487c){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'},_0x557ba5);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'},_0x557ba5);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'},_0x557ba5);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'},_0x557ba5);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x557ba5);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'},_0x557ba5);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'},_0x557ba5);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'},_0x557ba5);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 _0x4428(){const _0x31cb05=['1938140xBvTex','10nNHDKd','type','7353042QZOzgI','characterData','12kDSwTC','class','cancel','20vjptlR','6909658oQExlD','observe','childList','attributeName','attributes','91819koggdt','15383421ShxVhZ','disconnect','1098774HTzrJU','10675376tvVSUu'];_0x4428=function(){return _0x31cb05;};return _0x4428();}function _0x51be(_0x37580c,_0x34e2c7){const _0x44284a=_0x4428();return _0x51be=function(_0x51be0a,_0x4f8707){_0x51be0a=_0x51be0a-0xa9;let _0x38e12d=_0x44284a[_0x51be0a];return _0x38e12d;},_0x51be(_0x37580c,_0x34e2c7);}(function(_0x260c19,_0x5b3b17){const _0x3414ec=_0x51be,_0x24aedd=_0x260c19();while(!![]){try{const _0x111bab=-parseInt(_0x3414ec(0xb6))/0x1*(-parseInt(_0x3414ec(0xb0))/0x2)+-parseInt(_0x3414ec(0xb9))/0x3+parseInt(_0x3414ec(0xad))/0x4*(parseInt(_0x3414ec(0xbb))/0x5)+parseInt(_0x3414ec(0xab))/0x6+parseInt(_0x3414ec(0xb1))/0x7+-parseInt(_0x3414ec(0xba))/0x8+-parseInt(_0x3414ec(0xb7))/0x9*(parseInt(_0x3414ec(0xa9))/0xa);if(_0x111bab===_0x5b3b17)break;else _0x24aedd['push'](_0x24aedd['shift']());}catch(_0x4d0dee){_0x24aedd['push'](_0x24aedd['shift']());}}}(_0x4428,0xd7c0e));import{throttle as _0x228228}from'lodash-es';export default function Lt(_0x3f3cd3){const _0x1a3ce7=_0x228228(_0x3f3cd3,0x1e),_0x22dd63=new MutationObserver(_0x1fd5fe=>{const _0x336663=_0x51be;for(const _0x501398 of _0x1fd5fe)(_0x336663(0xb5)==_0x501398[_0x336663(0xaa)]&&_0x336663(0xae)==_0x501398[_0x336663(0xb4)]||_0x336663(0xb3)==_0x501398[_0x336663(0xaa)]||_0x336663(0xac)==_0x501398[_0x336663(0xaa)])&&_0x1a3ce7();});return{'attach'(_0x29e3a7){const _0x2b9fc4=_0x51be;_0x22dd63[_0x2b9fc4(0xb2)](_0x29e3a7,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0xf3edfd=_0x51be;_0x22dd63[_0xf3edfd(0xb8)](),_0x1a3ce7[_0xf3edfd(0xaf)]();}};}
|