@ckeditor/ckeditor5-comments 42.0.0-alpha.8 → 42.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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 +3 -3
- 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/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 _0x5cfeed=_0x300c;(function(_0xae6dde,_0x47a6d4){const _0x271b88=_0x300c,_0x45a239=_0xae6dde();while(!![]){try{const _0x2a861d=-parseInt(_0x271b88(0x154))/0x1+-parseInt(_0x271b88(0x184))/0x2*(parseInt(_0x271b88(0x15f))/0x3)+parseInt(_0x271b88(0x13f))/0x4*(parseInt(_0x271b88(0x167))/0x5)+-parseInt(_0x271b88(0x15d))/0x6*(parseInt(_0x271b88(0x13c))/0x7)+parseInt(_0x271b88(0x169))/0x8+parseInt(_0x271b88(0x168))/0x9*(parseInt(_0x271b88(0x17b))/0xa)+parseInt(_0x271b88(0x13b))/0xb*(parseInt(_0x271b88(0x174))/0xc);if(_0x2a861d===_0x47a6d4)break;else _0x45a239['push'](_0x45a239['shift']());}catch(_0x5e7a51){_0x45a239['push'](_0x45a239['shift']());}}}(_0x37b2,0xcf831));function _0x37b2(){const _0x556ddf=['editorDestroyed','setTemplate','resolveCommentThread','ck-thread__comments','_shouldCollapse','delegate','change:isEditMode','_calculatePosition','refreshVisibleViews','_model','585201xXgCnI','commentViews','resolved','_rearrangeCollapse','viewUid','insert','collapse','focus','maxCommentsWhenCollapsed','198kzYbCo','_handleRemoveCommentModel','1836sVCrgu','remove','_config','delete','add','from','Marked\x20as\x20resolved','removeComment','590pnmvnh','3926547uPlxfe','3660520JUEuKs','locale','_findOptimalIndex','visibleViews','change:isResolved','weight','set','resolvedAt','formatDateTime','CommentView','updateComment','12biDEev','resolvedBy','commentUpdated','destroy','isActive','some','count','20iIDqZu','isEditMode','listenTo','expand','hasDirtyComment','length','maxThreadTotalWeight','_handleInfoComment','editorReady','5422rjvaUP','resolvedCommentView','_updateHasDirtyComment','_collapsedCommentsView','change:isActive','stopListening','get','8603078pwvYfO','101857coInqr','editorConfig','comments','49568GwITsP','bind','_handleNewCommentModel','maxCommentCharsWhenCollapsed','change:hasDirtyComment','render','equal','element','authoredAt','_rearrangeExpand','createCollection'];_0x37b2=function(){return _0x556ddf;};return _0x37b2();}import{View as _0x2519f7}from'ckeditor5/src/ui.js';function _0x300c(_0x1fa96e,_0x1c593){const _0x37b2ea=_0x37b2();return _0x300c=function(_0x300cb6,_0x41ca44){_0x300cb6=_0x300cb6-0x136;let _0x472249=_0x37b2ea[_0x300cb6];return _0x472249;},_0x300c(_0x1fa96e,_0x1c593);}import{diff as _0x3d5582,Collection as _0x23c9d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x409bcc}from'../../../utils/common-translations.js';import _0xf55ca9 from'./collapsedcommentsview.js';export default class xt extends _0x2519f7{constructor(_0x4c6f17,_0x271afb,_0x3aacf3){const _0x30ad17=_0x300c;super(_0x4c6f17),this[_0x30ad17(0x16f)](_0x30ad17(0x17f),!0x1),this[_0x30ad17(0x16f)](_0x30ad17(0x180),_0x271afb[_0x30ad17(0x13e)][_0x30ad17(0x180)]),this[_0x30ad17(0x16f)](_0x30ad17(0x178),!0x1),this[_0x30ad17(0x153)]=_0x271afb,this[_0x30ad17(0x161)]=_0x3aacf3,this[_0x30ad17(0x155)]=this[_0x30ad17(0x149)](),this[_0x30ad17(0x16c)]=this[_0x30ad17(0x149)](),this[_0x30ad17(0x185)]=null,this[_0x30ad17(0x137)]=new _0xf55ca9(_0x4c6f17),this[_0x30ad17(0x137)][_0x30ad17(0x140)](_0x30ad17(0x17a))['to'](this,_0x30ad17(0x180),_0x487f64=>_0x487f64-this[_0x30ad17(0x161)][_0x30ad17(0x15c)]);for(const _0x194489 of _0x271afb[_0x30ad17(0x13e)])this[_0x30ad17(0x141)](_0x194489);this[_0x30ad17(0x182)](),this[_0x30ad17(0x17d)](_0x271afb[_0x30ad17(0x13e)],_0x30ad17(0x163),(_0x27194e,_0x4a7c7d)=>{const _0x5d0457=_0x30ad17,_0x3b5c05=this[_0x5d0457(0x151)](_0x4a7c7d);this[_0x5d0457(0x180)]++,this[_0x5d0457(0x141)](_0x4a7c7d,_0x3b5c05),this[_0x5d0457(0x152)]();}),this[_0x30ad17(0x17d)](_0x271afb[_0x30ad17(0x13e)],_0x30ad17(0x160),(_0x339ad3,_0x11a2bc)=>{const _0x1d0409=_0x30ad17;this[_0x1d0409(0x180)]--,this[_0x1d0409(0x15e)](_0x11a2bc),this[_0x1d0409(0x152)]();}),this[_0x30ad17(0x17d)](_0x271afb,_0x30ad17(0x176),()=>this[_0x30ad17(0x152)]()),this[_0x30ad17(0x17d)](_0x271afb,_0x30ad17(0x16d),()=>this[_0x30ad17(0x182)]()),this['on'](_0x30ad17(0x138),()=>this[_0x30ad17(0x152)]()),this['on'](_0x30ad17(0x143),()=>this[_0x30ad17(0x152)]()),this[_0x30ad17(0x14b)]({'tag':'ul','attributes':{'class':[_0x30ad17(0x14d)]},'children':this[_0x30ad17(0x16c)]});}get[_0x5cfeed(0x14e)](){const _0x1c5d58=_0x5cfeed;return this[_0x1c5d58(0x153)][_0x1c5d58(0x16e)]>this[_0x1c5d58(0x161)][_0x1c5d58(0x181)]&&!this[_0x1c5d58(0x178)]&&!this[_0x1c5d58(0x17f)];}[_0x5cfeed(0x144)](){const _0x3331bc=_0x5cfeed;super[_0x3331bc(0x144)](),this[_0x3331bc(0x152)]();}[_0x5cfeed(0x15b)](){const _0x38f15e=_0x5cfeed;this[_0x38f15e(0x146)][_0x38f15e(0x15b)]();}[_0x5cfeed(0x177)](){const _0x5d8bae=_0x5cfeed;this[_0x5d8bae(0x137)][_0x5d8bae(0x177)]();for(const _0x373fff of this[_0x5d8bae(0x155)])_0x373fff[_0x5d8bae(0x177)]();super[_0x5d8bae(0x177)]();}[_0x5cfeed(0x152)](){const _0x1f0a26=_0x5cfeed;this[_0x1f0a26(0x14e)]?this[_0x1f0a26(0x157)]():this[_0x1f0a26(0x148)]();}[_0x5cfeed(0x141)](_0x2ba6d5,_0x1dff4a){const _0x43cd3b=_0x5cfeed,_0x385467=new this[(_0x43cd3b(0x161))][(_0x43cd3b(0x172))](this[_0x43cd3b(0x16a)],_0x2ba6d5,{'maxCommentCharsWhenCollapsed':this[_0x43cd3b(0x161)][_0x43cd3b(0x142)],'formatDateTime':this[_0x43cd3b(0x161)][_0x43cd3b(0x171)],'editorConfig':this[_0x43cd3b(0x161)][_0x43cd3b(0x13d)]});_0x385467[_0x43cd3b(0x158)]=_0x2ba6d5['id'],_0x385467[_0x43cd3b(0x14f)](_0x43cd3b(0x166))['to'](this),_0x385467[_0x43cd3b(0x14f)](_0x43cd3b(0x173))['to'](this),_0x385467[_0x43cd3b(0x14f)](_0x43cd3b(0x14c))['to'](this),_0x385467[_0x43cd3b(0x14f)](_0x43cd3b(0x183))['to'](this),_0x385467[_0x43cd3b(0x14f)](_0x43cd3b(0x14a))['to'](this),this[_0x43cd3b(0x17d)](_0x385467,_0x43cd3b(0x150),()=>this[_0x43cd3b(0x136)]()),this[_0x43cd3b(0x155)][_0x43cd3b(0x163)](_0x385467,_0x1dff4a);}[_0x5cfeed(0x151)](_0x470b77){const _0x4c22d5=_0x5cfeed,_0x3386d1=this[_0x4c22d5(0x153)][_0x4c22d5(0x16b)](_0x470b77);return this[_0x4c22d5(0x185)]?this[_0x4c22d5(0x185)][_0x4c22d5(0x147)]>_0x470b77[_0x4c22d5(0x147)]?_0x3386d1-0x1:_0x3386d1:_0x3386d1-0x1;}[_0x5cfeed(0x182)](){const _0x294b78=_0x5cfeed;if(this[_0x294b78(0x153)][_0x294b78(0x175)]&&this[_0x294b78(0x153)][_0x294b78(0x170)]){const _0x345b1b={'id':_0x294b78(0x156),'author':this[_0x294b78(0x153)][_0x294b78(0x175)],'authoredAt':this[_0x294b78(0x153)][_0x294b78(0x170)],'content':_0x409bcc(this[_0x294b78(0x16a)],_0x294b78(0x165)),'attributes':{}};this[_0x294b78(0x185)]=new this[(_0x294b78(0x161))][(_0x294b78(0x172))](this[_0x294b78(0x16a)],_0x345b1b,{'maxCommentCharsWhenCollapsed':this[_0x294b78(0x161)][_0x294b78(0x142)],'formatDateTime':this[_0x294b78(0x161)][_0x294b78(0x171)],'editorConfig':this[_0x294b78(0x161)][_0x294b78(0x13d)],'isSystemComment':!0x0}),this[_0x294b78(0x155)][_0x294b78(0x163)](this[_0x294b78(0x185)],this[_0x294b78(0x153)][_0x294b78(0x16b)](_0x345b1b));}else this[_0x294b78(0x185)]&&(this[_0x294b78(0x155)][_0x294b78(0x160)](this[_0x294b78(0x185)]),this[_0x294b78(0x185)][_0x294b78(0x177)](),this[_0x294b78(0x185)]=null);this[_0x294b78(0x152)]();}[_0x5cfeed(0x15e)](_0x43bfa6){const _0x15e24b=_0x5cfeed,_0x50befa=this[_0x15e24b(0x155)][_0x15e24b(0x160)](_0x43bfa6['id']);this[_0x15e24b(0x139)](_0x50befa),_0x50befa[_0x15e24b(0x17c)]&&this[_0x15e24b(0x136)](),_0x50befa[_0x15e24b(0x177)]();}[_0x5cfeed(0x136)](){const _0x5507fb=_0x5cfeed;this[_0x5507fb(0x17f)]=Array[_0x5507fb(0x164)](this[_0x5507fb(0x155)])[_0x5507fb(0x179)](_0x3fe0c8=>_0x3fe0c8[_0x5507fb(0x17c)]);}[_0x5cfeed(0x157)](){const _0x58f438=_0x5cfeed,_0x4da823=function(_0x3cc346){const _0x5271e1=_0x300c,_0x1d3ba2=new _0x23c9d2();for(const _0x5b59a3 of _0x3cc346)_0x1d3ba2[_0x5271e1(0x163)](_0x5b59a3);return _0x1d3ba2;}(this[_0x58f438(0x155)]),_0x56edaf=this[_0x58f438(0x137)][_0x58f438(0x17a)];for(let _0x336d53=0x1;_0x336d53<=_0x56edaf;_0x336d53++)_0x4da823[_0x58f438(0x160)](0x1);for(const _0x4caee1 of _0x4da823)_0x4caee1[_0x58f438(0x15a)]();_0x56edaf>0x0&&_0x4da823[_0x58f438(0x163)](this[_0x58f438(0x137)],0x1),is(_0x3d5582(Array[_0x58f438(0x164)](this[_0x58f438(0x16c)]),Array[_0x58f438(0x164)](_0x4da823)),this[_0x58f438(0x16c)],_0x4da823);}[_0x5cfeed(0x148)](){const _0x143a02=_0x5cfeed;is(_0x3d5582(Array[_0x143a02(0x164)](this[_0x143a02(0x16c)]),Array[_0x143a02(0x164)](this[_0x143a02(0x155)])),this[_0x143a02(0x16c)],this[_0x143a02(0x155)]);for(const _0xe8771f of this[_0x143a02(0x16c)])_0xe8771f[_0x143a02(0x17e)]();}}function is(_0x536964,_0x23228a,_0x1b516a){const _0x33b7db=_0x5cfeed;let _0x4df39a=0x0;for(const _0x2454e4 of _0x536964)switch(_0x2454e4){case _0x33b7db(0x159):_0x23228a[_0x33b7db(0x163)](_0x1b516a[_0x33b7db(0x13a)](_0x4df39a),_0x4df39a),_0x4df39a++;break;case _0x33b7db(0x162):_0x23228a[_0x33b7db(0x160)](_0x4df39a);break;case _0x33b7db(0x145):_0x4df39a++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4751(){const _0xe44eb1=['_model','_createReopenButton','isResolvable','isEnabled','isVisible','tooltip','reopenCommentThread','execute','fire','render','lastIndexOf','setTemplate','mouseenter','ck-thread__header','span','261202NRNktc','element','ck-annotation__actions','overlay','830961ljyyXR','bind','isResolved','_trimContextValue','ck-context-wrapper','contextValue','48iaBywQ','412982HVMEyA','length','ck-context__value','listenTo','39020UwLnNp','.ck-context__value','bindTemplate','value','isReadOnly','offsetWidth','ck-context','1593942JlpZDQ','Comment\x20was\x20made\x20on\x20an\x20element','hasContext','add','30PWmoQE','2610179AbsEVd','reopenButtonView','scrollWidth','context','querySelector','label','icon','...','div','Reopen','.ck-context','classList','_attachContextActions','444ZBjCuT','3720336ArWGsJ','18XUbzvs','ck-context--quotes','locale','substring','mouseleave','remove'];_0x4751=function(){return _0xe44eb1;};return _0x4751();}const _0x43befa=_0x361f;(function(_0x4538fd,_0x3aa8c4){const _0x4a0def=_0x361f,_0x22dd5e=_0x4538fd();while(!![]){try{const _0x5f02db=-parseInt(_0x4a0def(0x16f))/0x1+parseInt(_0x4a0def(0x164))/0x2*(-parseInt(_0x4a0def(0x14f))/0x3)+-parseInt(_0x4a0def(0x14d))/0x4*(-parseInt(_0x4a0def(0x173))/0x5)+-parseInt(_0x4a0def(0x14e))/0x6+-parseInt(_0x4a0def(0x17a))/0x7*(-parseInt(_0x4a0def(0x16e))/0x8)+-parseInt(_0x4a0def(0x168))/0x9*(-parseInt(_0x4a0def(0x17e))/0xa)+parseInt(_0x4a0def(0x140))/0xb;if(_0x5f02db===_0x3aa8c4)break;else _0x22dd5e['push'](_0x22dd5e['shift']());}catch(_0x49eea0){_0x22dd5e['push'](_0x22dd5e['shift']());}}}(_0x4751,0xe3140));import{View as _0xdb3872,ButtonView as _0xfe8479}from'ckeditor5/src/ui.js';import{getTranslation as _0x132027}from'../../../utils/common-translations.js';import _0x5476dc from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;function _0x361f(_0x37cfcb,_0x4cd874){const _0x47513a=_0x4751();return _0x361f=function(_0x361f9d,_0xf4cc95){_0x361f9d=_0x361f9d-0x140;let _0x19e0b8=_0x47513a[_0x361f9d];return _0x19e0b8;},_0x361f(_0x37cfcb,_0x4cd874);}export default class Zt extends _0xdb3872{constructor(_0x4df5fd,_0x25ee19){const _0x1ec181=_0x361f;super(_0x4df5fd);const _0x348304=this[_0x1ec181(0x175)];this[_0x1ec181(0x155)]=_0x25ee19,this[_0x1ec181(0x141)]=this[_0x1ec181(0x156)](),this[_0x1ec181(0x169)](_0x1ec181(0x17c))['to'](this[_0x1ec181(0x155)],_0x1ec181(0x143),_0x1ac19e=>!!_0x1ac19e),this[_0x1ec181(0x169)](_0x1ec181(0x16d))['to'](this[_0x1ec181(0x155)],_0x1ec181(0x143),_0x1688da=>_0x1688da&&_0x1688da[_0x1ec181(0x176)]?this[_0x1ec181(0x16b)](_0x1688da[_0x1ec181(0x176)]):_0x132027(this[_0x1ec181(0x151)],_0x1ec181(0x17b))),this[_0x1ec181(0x160)]({'tag':_0x1ec181(0x148),'attributes':{'class':[_0x1ec181(0x162)]},'children':[{'tag':_0x1ec181(0x148),'attributes':{'class':[_0x1ec181(0x16c)]},'children':[{'tag':_0x1ec181(0x148),'attributes':{'class':[_0x1ec181(0x179),_0x348304['if'](_0x1ec181(0x17c),_0x1ec181(0x150))]},'children':[{'tag':_0x1ec181(0x163),'attributes':{'class':[_0x1ec181(0x171)]},'children':[{'text':_0x348304['to'](_0x1ec181(0x16d))}]}]}]},{'tag':_0x1ec181(0x148),'attributes':{'class':[_0x1ec181(0x166)]},'children':[this[_0x1ec181(0x141)]]}]});}[_0x43befa(0x15e)](){const _0x235981=_0x43befa;super[_0x235981(0x15e)](),this[_0x235981(0x14c)]();}[_0x43befa(0x156)](){const _0x504c86=_0x43befa,_0x46ab87=new _0xfe8479(this[_0x504c86(0x151)]);return _0x46ab87[_0x504c86(0x145)]=_0x132027(this[_0x504c86(0x151)],_0x504c86(0x149)),_0x46ab87[_0x504c86(0x15a)]=_0x132027(this[_0x504c86(0x151)],_0x504c86(0x149)),_0x46ab87[_0x504c86(0x146)]=_0x5476dc,_0x46ab87[_0x504c86(0x169)](_0x504c86(0x158))['to'](this[_0x504c86(0x155)],_0x504c86(0x177),_0x505286=>!_0x505286),_0x46ab87[_0x504c86(0x169)](_0x504c86(0x159))['to'](this[_0x504c86(0x155)],_0x504c86(0x157),this[_0x504c86(0x155)],_0x504c86(0x16a),(_0x3174b8,_0x53526b)=>_0x3174b8&&_0x53526b),_0x46ab87['on'](_0x504c86(0x15c),()=>{const _0x205926=_0x504c86;this[_0x205926(0x15d)](_0x205926(0x15b),this[_0x205926(0x155)]['id']);}),_0x46ab87;}[_0x43befa(0x16b)](_0x72c566){const _0x976a8a=_0x43befa;if(_0x72c566[_0x976a8a(0x170)]<0x96)return _0x72c566;const _0x5e9714=_0x72c566[_0x976a8a(0x15f)]('\x20',0x93);return _0x72c566[_0x976a8a(0x152)](0x0,_0x5e9714>-0x1?_0x5e9714:0x93)+_0x976a8a(0x147);}[_0x43befa(0x14c)](){const _0x2537ff=_0x43befa,_0x16e938=this[_0x2537ff(0x165)][_0x2537ff(0x144)](_0x2537ff(0x14a)),_0x31a800=_0x16e938[_0x2537ff(0x144)](_0x2537ff(0x174));this[_0x2537ff(0x172)](_0x16e938,_0x2537ff(0x161),()=>{const _0x4804e6=_0x2537ff;_0x31a800[_0x4804e6(0x178)]<_0x31a800[_0x4804e6(0x142)]&&_0x16e938[_0x4804e6(0x14b)][_0x4804e6(0x17d)](_0x4804e6(0x167));}),this[_0x2537ff(0x172)](_0x16e938,_0x2537ff(0x153),()=>{const _0x3c7821=_0x2537ff;_0x16e938[_0x3c7821(0x14b)][_0x3c7821(0x154)](_0x3c7821(0x167));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3c94(_0x9b26bd,_0x3347c6){var _0x1c4c93=_0x1c4c();return _0x3c94=function(_0x3c94b5,_0x23c658){_0x3c94b5=_0x3c94b5-0x19f;var _0x287c7c=_0x1c4c93[_0x3c94b5];return _0x287c7c;},_0x3c94(_0x9b26bd,_0x3347c6);}var _0x231226=_0x3c94;(function(_0x1be3c6,_0x18874c){var _0x4c67f7=_0x3c94,_0x5853d1=_0x1be3c6();while(!![]){try{var _0x39bf0b=-parseInt(_0x4c67f7(0x1b5))/0x1+parseInt(_0x4c67f7(0x1ae))/0x2+parseInt(_0x4c67f7(0x1a9))/0x3*(parseInt(_0x4c67f7(0x1a7))/0x4)+parseInt(_0x4c67f7(0x1be))/0x5+-parseInt(_0x4c67f7(0x1b6))/0x6*(parseInt(_0x4c67f7(0x1aa))/0x7)+-parseInt(_0x4c67f7(0x1bb))/0x8*(parseInt(_0x4c67f7(0x1bf))/0x9)+parseInt(_0x4c67f7(0x1b8))/0xa;if(_0x39bf0b===_0x18874c)break;else _0x5853d1['push'](_0x5853d1['shift']());}catch(_0x1ed08d){_0x5853d1['push'](_0x5853d1['shift']());}}}(_0x1c4c,0x1ced3));import{View as _0x23b1be}from'ckeditor5/src/ui.js';import _0x46ceee from'./commentinputview.js';import{UserView as _0x2f30d5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class Tt extends _0x23b1be{constructor(_0x4d5207,_0x2a5c4e,_0x55fca7){var _0x190651=_0x3c94;super(_0x4d5207),this[_0x190651(0x1b3)]=new _0x46ceee(_0x4d5207,_0x55fca7),this[_0x190651(0x1b3)][_0x190651(0x1b2)](_0x190651(0x1bc))['to'](this[_0x190651(0x1b3)][_0x190651(0x1a8)],_0x190651(0x1b1),this[_0x190651(0x1b3)],_0x190651(0x1c0),(_0x54fe53,_0x5920e9)=>_0x54fe53||!!_0x5920e9),this[_0x190651(0x1ac)](_0x190651(0x1ba),!0x1),this['on'](_0x190651(0x1a3),()=>{var _0x481305=_0x190651;this[_0x481305(0x1ba)]&&!this[_0x481305(0x1b3)][_0x481305(0x1a0)]&&this[_0x481305(0x1b3)][_0x481305(0x1a2)]();}),this[_0x190651(0x1b3)][_0x190651(0x1a6)](_0x190651(0x1a4))['to'](this),this[_0x190651(0x1b3)][_0x190651(0x1a6)](_0x190651(0x1a1))['to'](this),this[_0x190651(0x1ab)]=new _0x2f30d5(_0x4d5207,_0x2a5c4e),this[_0x190651(0x1ab)][_0x190651(0x1b7)]({'attributes':{'class':_0x190651(0x19f)}}),this[_0x190651(0x1b3)][_0x190651(0x1b7)]({'attributes':{'class':_0x190651(0x1b0)}}),this[_0x190651(0x1b4)]({'tag':_0x190651(0x1ad),'attributes':{'class':[_0x190651(0x1c1),this[_0x190651(0x1b9)]['if'](_0x190651(0x1ba),_0x190651(0x1af))]},'children':[this[_0x190651(0x1ab)],this[_0x190651(0x1b3)]]});}[_0x231226(0x1a5)](){var _0x21e424=_0x231226;return this[_0x21e424(0x1b3)][_0x21e424(0x1a5)]()[_0x21e424(0x1bd)](()=>super[_0x21e424(0x1a5)]());}}function _0x1c4c(){var _0x4b5a69=['value','ck-comment__input-container','ck-thread__user','editor','editorDestroyed','createEditor','change:showInput','editorReady','destroy','delegate','205372nZOKVs','focusTracker','3KMJouY','8715hwIyrI','userView','set','div','283290TnTCwW','ck-comment__input-container--active','ck-thread__input','isFocused','bind','commentInputView','setTemplate','1635hmDxnJ','744cNAlPB','extendTemplate','2008260QuzWQb','bindTemplate','showInput','8SCHMio','showButtons','then','145550OwXTWg','1335834uEMUBL'];_0x1c4c=function(){return _0x4b5a69;};return _0x1c4c();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x4e779c=_0x5f2c;(function(_0x14ff8c,_0x36f8c9){const _0x41702f=_0x5f2c,_0x1a74ed=_0x14ff8c();while(!![]){try{const _0x131641=-parseInt(_0x41702f(0x107))/0x1*(-parseInt(_0x41702f(0x124))/0x2)+-parseInt(_0x41702f(0x11e))/0x3+parseInt(_0x41702f(0xe4))/0x4*(-parseInt(_0x41702f(0x129))/0x5)+parseInt(_0x41702f(0xf8))/0x6*(parseInt(_0x41702f(0xf3))/0x7)+-parseInt(_0x41702f(0x120))/0x8+parseInt(_0x41702f(0x10d))/0x9*(-parseInt(_0x41702f(0xe7))/0xa)+parseInt(_0x41702f(0x12b))/0xb*(parseInt(_0x41702f(0x134))/0xc);if(_0x131641===_0x36f8c9)break;else _0x1a74ed['push'](_0x1a74ed['shift']());}catch(_0x42a5aa){_0x1a74ed['push'](_0x1a74ed['shift']());}}}(_0x22a6,0xe1437));function _0x22a6(){const _0x5aa1d9=['cancelConfirm','change:isReadOnly','bind','ck-thread--remove-confirmation','commentThreadInputView','18vUkseD','isVisible','execute','unbind','add','has','resolveButton','ck-thread--active','check','then','isActive','tooltip','_boundFirstCommentView','showConfirm','locale','div','set','2206305WXVLmc','Resolve','6461072VfYSDT','ck-reset_all-excluded','getTemplate','_bindFirstCommentView','15698iNhsgt','placeholder','commentsListView','removeButton','_createResolveButton','335bCFVwT','commentThreadChildren','44Xeojbb','length','ck-comment--resolve','isSystemComment','Write\x20a\x20comment...','Delete\x20comment\x20thread?','actionIndicator','icon','high','6929304uyjntP','isResolved','isConfirm','get','element','actionBar','55516sDMzbX','commentThreadHeaderView','ck-thread--unlinked','8369170dfEROE','fire','.ck-thread__container','change:archivedAt','label','remove','commentViews','change:isActive','_cancelAllConfirms','extendTemplate','bindTemplate','ck-thread--','25424wHEjkr','stop','isEnabled','archivedAt','addMany','2238YYNrzI','containerElement','ck-thread__container','isUnlinked','_model','isReadOnly','render','listenTo','ck-thread','querySelector','resolveCommentThread','createCollection','removeCommentThread','setTemplate','isResolvable','179IDWlnv'];_0x22a6=function(){return _0x5aa1d9;};return _0x22a6();}import{ConfirmMixin as _0x39842a}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x47fc9f}from'ckeditor5/src/ui.js';import{icons as _0x3304b0}from'ckeditor5/src/core.js';function _0x5f2c(_0x55d791,_0x33598e){const _0x22a658=_0x22a6();return _0x5f2c=function(_0x5f2c38,_0x47b052){_0x5f2c38=_0x5f2c38-0xe0;let _0xf9511e=_0x22a658[_0x5f2c38];return _0xf9511e;},_0x5f2c(_0x55d791,_0x33598e);}import _0x2adeff from'./basecommentthreadview.js';import{getTranslation as _0x23cdcd}from'../../../utils/common-translations.js';export default class yt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x39842a(_0x2adeff){constructor(_0x3448aa,_0x2d130f,_0xffda16,_0xe983bf){const _0x2f04bc=_0x5f2c;super(_0x3448aa,_0x2d130f,_0xffda16,_0xe983bf),this[_0x2f04bc(0x12a)]=this[_0x2f04bc(0x103)](),this[_0x2f04bc(0x12a)][_0x2f04bc(0xf7)]([this[_0x2f04bc(0x126)],this[_0x2f04bc(0x10c)]]),this[_0x2f04bc(0xfc)][_0x2f04bc(0xf6)]&&this[_0x2f04bc(0x12a)][_0x2f04bc(0x111)](this[_0x2f04bc(0xe5)],0x0),this[_0x2f04bc(0xfc)]['on'](_0x2f04bc(0xea),(_0x49a014,_0x3a154b,_0x94f50b)=>{const _0x49298d=_0x2f04bc;_0x94f50b?this[_0x49298d(0x12a)][_0x49298d(0x112)](this[_0x49298d(0xe5)])||this[_0x49298d(0x12a)][_0x49298d(0x111)](this[_0x49298d(0xe5)],0x0):this[_0x49298d(0x12a)][_0x49298d(0xec)](this[_0x49298d(0xe5)]);}),this[_0x2f04bc(0x11d)](_0x2f04bc(0x131),null),this[_0x2f04bc(0xf9)]=null,this[_0x2f04bc(0x119)]=null,this[_0x2f04bc(0x11b)]=_0x3448aa,this[_0x2f04bc(0x113)]=this[_0x2f04bc(0x128)](),this[_0x2f04bc(0x105)](this[_0x2f04bc(0x122)]()),this['on'](_0x2f04bc(0xee),(_0x3fd8d6,_0x2c82d5,_0x1b30dc)=>{const _0x1bdcc9=_0x2f04bc;_0x1b30dc||this[_0x1bdcc9(0xef)]();}),this[_0x2f04bc(0xff)](this[_0x2f04bc(0xfc)],_0x2f04bc(0x109),(_0x2c38e2,_0x5a7fd8,_0x45db)=>{const _0x361b16=_0x2f04bc;_0x45db&&this[_0x361b16(0xef)]();}),this[_0x2f04bc(0x12c)]>0x0&&this[_0x2f04bc(0x123)](),this[_0x2f04bc(0xff)](this[_0x2f04bc(0x126)][_0x2f04bc(0xed)],_0x2f04bc(0x111),()=>{const _0x5cfc50=_0x2f04bc;this[_0x5cfc50(0x123)]();});}[_0x4e779c(0x122)](){const _0x387ace=_0x4e779c,_0x4ba18d=this[_0x387ace(0xf1)];return{'tag':_0x387ace(0x11c),'attributes':{'class':[_0x387ace(0x100),_0x387ace(0x121),_0x4ba18d['if'](_0x387ace(0x117),_0x387ace(0x114)),_0x4ba18d['if'](_0x387ace(0xfb),_0x387ace(0xe6)),_0x4ba18d['if'](_0x387ace(0xe0),_0x387ace(0x10b)),_0x4ba18d['to'](_0x387ace(0x131),_0x4ab448=>_0x4ab448?_0x387ace(0xf2)+_0x4ab448:'')],'data-thread-id':this[_0x387ace(0xfc)]['id'],'tabindex':-0x1},'children':[{'tag':_0x387ace(0x11c),'attributes':{'class':_0x387ace(0xfa)},'children':this[_0x387ace(0x12a)]}]};}[_0x4e779c(0xfe)](){const _0x18e9cb=_0x4e779c;super[_0x18e9cb(0xfe)](),this[_0x18e9cb(0xf9)]=this[_0x18e9cb(0xe2)][_0x18e9cb(0x101)](_0x18e9cb(0xe9));}[_0x4e779c(0xef)](){const _0x21971f=_0x4e779c;this[_0x21971f(0x108)]();for(const _0x42d2fe of this[_0x21971f(0x126)][_0x21971f(0xed)])_0x42d2fe[_0x21971f(0x108)]();}[_0x4e779c(0x123)](){const _0x1b17c2=_0x4e779c,{locale:_0x4d870c}=this,_0x5d7502=this[_0x1b17c2(0x126)][_0x1b17c2(0xed)][_0x1b17c2(0xe1)](0x0);_0x5d7502===this[_0x1b17c2(0x119)]||_0x5d7502[_0x1b17c2(0x12e)]||(this[_0x1b17c2(0x119)]=_0x5d7502,this[_0x1b17c2(0x110)](_0x1b17c2(0x131)),this[_0x1b17c2(0x10a)](_0x1b17c2(0x131))['to'](_0x5d7502,_0x1b17c2(0x131),_0x4b1ee9=>_0x1b17c2(0xec)===_0x4b1ee9?_0x1b17c2(0xec):null),_0x5d7502[_0x1b17c2(0x125)]=_0x23cdcd(_0x4d870c,_0x1b17c2(0x12f)),_0x5d7502[_0x1b17c2(0x127)]['on'](_0x1b17c2(0x10f),_0x134037=>{const _0x5aa63a=_0x1b17c2;_0x134037[_0x5aa63a(0xf4)](),this[_0x5aa63a(0x11a)](_0x23cdcd(_0x4d870c,_0x5aa63a(0x130)),this[_0x5aa63a(0xf9)])[_0x5aa63a(0x116)](()=>{const _0x542dc9=_0x5aa63a;this[_0x542dc9(0xe8)](_0x542dc9(0x104));});},{'priority':_0x1b17c2(0x133)}),_0x5d7502[_0x1b17c2(0xe3)][_0x1b17c2(0x111)](this[_0x1b17c2(0x113)],0x0));}[_0x4e779c(0x128)](){const _0x39dbc9=_0x4e779c,_0x32732f=new _0x47fc9f(this[_0x39dbc9(0x11b)]);return _0x32732f[_0x39dbc9(0xeb)]=_0x23cdcd(this[_0x39dbc9(0x11b)],_0x39dbc9(0x11f)),_0x32732f[_0x39dbc9(0x118)]=_0x23cdcd(this[_0x39dbc9(0x11b)],_0x39dbc9(0x11f)),_0x32732f[_0x39dbc9(0x132)]=_0x3304b0[_0x39dbc9(0x115)],_0x32732f[_0x39dbc9(0xf0)]({'attributes':{'class':_0x39dbc9(0x12d)}}),_0x32732f[_0x39dbc9(0x10a)](_0x39dbc9(0xf5))['to'](this[_0x39dbc9(0xfc)],_0x39dbc9(0xfd),_0x33acd6=>!_0x33acd6),_0x32732f[_0x39dbc9(0x10a)](_0x39dbc9(0x10e))['to'](this[_0x39dbc9(0xfc)],_0x39dbc9(0x106),this[_0x39dbc9(0xfc)],_0x39dbc9(0x135),(_0x380552,_0x437207)=>_0x380552&&!_0x437207),_0x32732f['on'](_0x39dbc9(0x10f),()=>{const _0x2f641c=_0x39dbc9;this[_0x2f641c(0xe8)](_0x2f641c(0x102),this[_0x2f641c(0xfc)]['id']);}),_0x32732f;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x4fde(_0x5bca86,_0x42c07e){const _0x3b6ede=_0x3b6e();return _0x4fde=function(_0x4fde56,_0x138562){_0x4fde56=_0x4fde56-0x16d;let _0x2ea436=_0x3b6ede[_0x4fde56];return _0x2ea436;},_0x4fde(_0x5bca86,_0x42c07e);}const _0x5dad21=_0x4fde;(function(_0x4b7c65,_0x4be786){const _0x5355df=_0x4fde,_0x3b4d83=_0x4b7c65();while(!![]){try{const _0x3e5292=parseInt(_0x5355df(0x179))/0x1*(-parseInt(_0x5355df(0x1e4))/0x2)+-parseInt(_0x5355df(0x18d))/0x3*(parseInt(_0x5355df(0x172))/0x4)+-parseInt(_0x5355df(0x189))/0x5+-parseInt(_0x5355df(0x18c))/0x6*(-parseInt(_0x5355df(0x170))/0x7)+-parseInt(_0x5355df(0x1d2))/0x8*(-parseInt(_0x5355df(0x19b))/0x9)+parseInt(_0x5355df(0x19f))/0xa+parseInt(_0x5355df(0x1c6))/0xb*(parseInt(_0x5355df(0x19e))/0xc);if(_0x3e5292===_0x4be786)break;else _0x3b4d83['push'](_0x3b4d83['shift']());}catch(_0x418ce8){_0x3b4d83['push'](_0x3b4d83['shift']());}}}(_0x3b6e,0x60ecf));import{ButtonView as _0x44a957,createDropdown as _0x3fd1f5,ListView as _0x2b211a,ListItemView as _0x1487f5}from'ckeditor5/src/ui.js';import{icons as _0xd09ffd}from'ckeditor5/src/core.js';function _0x3b6e(){const _0x199370=['ck-comment--remove','isEditable','ck-comment__info-time','add','ck-annotation__info','pencil','threeVerticalDots','ck-comment--info','1237480mzTjys','source','removeComment','506250NYLcXi','3DgGLfD','ck-annotation__user','mouseenter','authoredAt','userView','actionIndicator','importWord','ck-comment--edit','Reply...','actionBar','ck-annotation__content-wrapper','ck-annotation__main','Show\x20more\x20items','isReadOnly','9AkGbhW','Remove','_attachActions','75072VStFvF','2464220VdwBfM','children','Delete\x20comment?','isEnabled','isRemovable','createCollection','listenTo','cancelConfirm','editButton','isSystemComment','visibleView','extendTemplate','ck-comment__external','formatDateTime','_createRemoveButton','ck-comment__info-name','change:isVisible','name','ck-comment','EXTERNAL_AVATAR','locale','switchToEditMode','change:isRemovable','getUserViewNotificationText','EXTERNAL_IMPORT_WORD_COMMENT','panelPosition','focus','fire','ck-annotation__actions--hidden','ck-comment__user','change:isEnabled','_createEditButton','attributes','render','blur','ck-annotation__actions','setTemplate','ck-annotation','edit','1144uJAmAH','getExternalCommentNote','isVisible','mouseleave','ck-comment__info','bind','then','buttonView','Edit','dropdown','items','element','524936tOYcdT','time','ck-annotation__info-time','execute','span','ck-comment__actions','EXTERNAL_COMMENT','placeholder','isExternal','showConfirm','_createDropdown','ck-comment__wrapper','panelView','addMany','bindTemplate','remove','ck-comment__main','getTemplate','12pTLlmB','some','removeButton','ck-comment__actions--hidden','_model','creator','@external','length','icon','ck-annotation__info-name','49izGjYU','author','2535532rmzhho','resolvedAt','label','EXTERNAL_IMPORT_WORD_AVATAR','push','set','isConfirm','45817LNaKQg','ck-comment--remove-confirmation','withText','isEditMode','ck-comment--','_createCommentInputView','div','_config'];_0x3b6e=function(){return _0x199370;};return _0x3b6e();}import{UserView as _0x2bcfc3,ConfirmMixin as _0x5eeddc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xf01102 from'./basecommentview.js';import _0x525209 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x107c88}from'../../../utils/common-translations.js';export default class At extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5eeddc(_0xf01102){constructor(_0x3f3f68,_0x50691b,_0x5ee1f3){const _0x5508d3=_0x4fde;super(_0x3f3f68,_0x50691b,_0x5ee1f3),this[_0x5508d3(0x177)](_0x5508d3(0x192),null),this[_0x5508d3(0x177)](_0x5508d3(0x1d9),_0x107c88(_0x3f3f68,_0x5508d3(0x195))),this[_0x5508d3(0x1cb)](_0x5508d3(0x190))['to'](_0x50691b),this[_0x5508d3(0x1cb)](_0x5508d3(0x173))['to'](_0x50691b),this[_0x5508d3(0x196)]=this[_0x5508d3(0x1a4)](),this[_0x5508d3(0x1a8)]||(this[_0x5508d3(0x1a7)]=this[_0x5508d3(0x1be)](),this[_0x5508d3(0x1e6)]=this[_0x5508d3(0x1ad)](),this[_0x5508d3(0x1d0)]=this[_0x5508d3(0x1a4)](),this[_0x5508d3(0x1d0)][_0x5508d3(0x1df)]([this[_0x5508d3(0x1a7)],this[_0x5508d3(0x1e6)]]),this[_0x5508d3(0x1cf)]=this[_0x5508d3(0x1dc)](),this[_0x5508d3(0x196)][_0x5508d3(0x184)](this[_0x5508d3(0x1cf)])),this[_0x5508d3(0x191)]=new _0x2bcfc3(_0x3f3f68,_0x50691b[_0x5508d3(0x171)],this[_0x5508d3(0x1b6)]()),this[_0x5508d3(0x191)][_0x5508d3(0x1aa)]({'attributes':{'class':[_0x5508d3(0x1bc),_0x5508d3(0x18e)]}}),this[_0x5508d3(0x1a5)](_0x50691b,_0x5508d3(0x1b5),()=>this[_0x5508d3(0x1a6)]()),this[_0x5508d3(0x1c3)](this[_0x5508d3(0x1e3)]());}[_0x5dad21(0x1e3)](){const _0x28308b=_0x5dad21,_0x563167=this[_0x28308b(0x1e0)],_0x46ccdc=[{'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x1ca),_0x28308b(0x185)]},'children':[{'tag':_0x28308b(0x1d6),'children':[{'text':this[_0x28308b(0x191)][_0x28308b(0x1b0)]}],'attributes':{'class':[_0x28308b(0x1ae),_0x28308b(0x16f)]}},{'tag':_0x28308b(0x1d3),'attributes':{'datetime':_0x563167['to'](_0x28308b(0x190)),'class':[_0x28308b(0x183),_0x28308b(0x1d4)]},'children':[{'text':_0x563167['to'](_0x28308b(0x190),_0x569f30=>this[_0x28308b(0x180)][_0x28308b(0x1ac)](_0x569f30))}]}]},{'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x1d7),_0x28308b(0x1c2),_0x563167['if'](_0x28308b(0x17c),_0x28308b(0x1e7)),_0x563167['if'](_0x28308b(0x17c),_0x28308b(0x1bb))]},'children':this[_0x28308b(0x196)]},{'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x197)]},'children':this[_0x28308b(0x1a9)]}];return this[_0x28308b(0x1e8)][_0x28308b(0x1da)]&&_0x46ccdc[_0x28308b(0x176)]({'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x1ab)]},'children':[{'text':this[_0x28308b(0x1c7)]()}]}),{'tag':'li','attributes':{'class':[_0x28308b(0x1dd),_0x563167['if'](_0x28308b(0x178),_0x28308b(0x17a))],'tabindex':-0x1},'children':[{'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x1b1),_0x28308b(0x1c4),_0x563167['if'](_0x28308b(0x17c),_0x28308b(0x194)),_0x563167['if'](_0x28308b(0x1a8),_0x28308b(0x188)),_0x563167['to'](_0x28308b(0x192),_0x39e945=>_0x39e945?_0x28308b(0x17d)+_0x39e945:'')],'data-author-id':this[_0x28308b(0x1e8)][_0x28308b(0x171)]['id'],'data-comment-id':this[_0x28308b(0x1e8)]['id']},'children':[this[_0x28308b(0x191)],{'tag':_0x28308b(0x17f),'attributes':{'class':[_0x28308b(0x1e2),_0x28308b(0x198)]},'children':_0x46ccdc}]}]};}[_0x5dad21(0x1be)](){const _0x5102bb=_0x5dad21,_0x22f3d5=new _0x44a957(this[_0x5102bb(0x1b3)]);return _0x22f3d5[_0x5102bb(0x174)]=_0x107c88(this[_0x5102bb(0x1b3)],_0x5102bb(0x1ce)),_0x22f3d5[_0x5102bb(0x16e)]=_0xd09ffd[_0x5102bb(0x186)],_0x22f3d5[_0x5102bb(0x17b)]=!0x0,_0x22f3d5[_0x5102bb(0x1aa)]({'attributes':{'class':_0x5102bb(0x194)}}),_0x22f3d5[_0x5102bb(0x1cb)](_0x5102bb(0x1a2))['to'](this[_0x5102bb(0x1e8)],_0x5102bb(0x19a),_0x103f94=>!_0x103f94),_0x22f3d5[_0x5102bb(0x1cb)](_0x5102bb(0x1c8))['to'](this[_0x5102bb(0x1e8)],_0x5102bb(0x182)),_0x22f3d5['on'](_0x5102bb(0x1d5),()=>this[_0x5102bb(0x1b4)]()),_0x22f3d5;}[_0x5dad21(0x1ad)](){const _0x4a1fde=_0x5dad21,_0x3f221b=new _0x44a957(this[_0x4a1fde(0x1b3)]);return _0x3f221b[_0x4a1fde(0x174)]=_0x107c88(this[_0x4a1fde(0x1b3)],_0x4a1fde(0x19c)),_0x3f221b[_0x4a1fde(0x16e)]=_0x525209,_0x3f221b[_0x4a1fde(0x17b)]=!0x0,_0x3f221b[_0x4a1fde(0x1aa)]({'attributes':{'class':_0x4a1fde(0x181)}}),_0x3f221b[_0x4a1fde(0x1cb)](_0x4a1fde(0x1a2))['to'](this[_0x4a1fde(0x1e8)],_0x4a1fde(0x19a),_0x10216c=>!_0x10216c),_0x3f221b[_0x4a1fde(0x1cb)](_0x4a1fde(0x1c8))['to'](this[_0x4a1fde(0x1e8)],_0x4a1fde(0x1a3)),_0x3f221b['on'](_0x4a1fde(0x1d5),()=>{const _0x2767dd=_0x4a1fde;this[_0x2767dd(0x1db)](_0x107c88(this[_0x2767dd(0x1b3)],_0x2767dd(0x1a1)),this[_0x2767dd(0x1d1)])[_0x2767dd(0x1cc)](()=>{const _0x4b0a2e=_0x2767dd;this[_0x4b0a2e(0x1ba)](_0x4b0a2e(0x18b),this[_0x4b0a2e(0x1e8)]['id']);});}),_0x3f221b;}[_0x5dad21(0x1dc)](){const _0x44416f=_0x5dad21,_0x34e461=_0x3fd1f5(this[_0x44416f(0x1b3)]),_0x84df5f=_0x34e461[_0x44416f(0x1de)][_0x44416f(0x1a0)],_0x17e636=new _0x2b211a(this[_0x44416f(0x1b3)]),_0x5ce1bd=(_0x14f34e,_0x18dbba=-0x1)=>{const _0x50a644=_0x44416f,_0x11aaf6=new _0x1487f5(this[_0x50a644(0x1b3)]);_0x11aaf6[_0x50a644(0x1a0)][_0x50a644(0x184)](_0x14f34e);const _0x1aa501=_0x18dbba>-0x1?_0x18dbba:_0x17e636[_0x50a644(0x1d0)][_0x50a644(0x16d)];_0x17e636[_0x50a644(0x1d0)][_0x50a644(0x184)](_0x11aaf6,_0x1aa501),_0x34e461[_0x50a644(0x1a5)](_0x14f34e,_0x50a644(0x1bd),()=>{const _0x4c3377=_0x50a644;_0x34e461[_0x4c3377(0x1a2)]=[...this[_0x4c3377(0x1d0)]][_0x4c3377(0x1e5)](_0x5c58b6=>_0x5c58b6[_0x4c3377(0x1a2)]);}),_0x34e461[_0x50a644(0x1a5)](_0x14f34e,_0x50a644(0x1af),()=>{const _0x4cb0b9=_0x50a644;_0x34e461[_0x4cb0b9(0x1cd)][_0x4cb0b9(0x1c8)]=[...this[_0x4cb0b9(0x1d0)]][_0x4cb0b9(0x1e5)](_0x2526d1=>_0x2526d1[_0x4cb0b9(0x1c8)]);});};_0x34e461[_0x44416f(0x1b8)]='sw',_0x34e461[_0x44416f(0x1cd)][_0x44416f(0x177)]({'label':_0x107c88(this[_0x44416f(0x1b3)],_0x44416f(0x199)),'icon':_0xd09ffd[_0x44416f(0x187)]}),_0x34e461[_0x44416f(0x1a2)]=[...this[_0x44416f(0x1d0)]][_0x44416f(0x1e5)](_0x2fd389=>_0x2fd389[_0x44416f(0x1a2)]),_0x34e461[_0x44416f(0x1cd)][_0x44416f(0x1c8)]=[...this[_0x44416f(0x1d0)]][_0x44416f(0x1e5)](_0x182d60=>_0x182d60[_0x44416f(0x1c8)]);for(const _0x5c3cc4 of this[_0x44416f(0x1d0)])_0x5ce1bd(_0x5c3cc4);return _0x84df5f[_0x44416f(0x184)](_0x17e636),_0x34e461[_0x44416f(0x1a5)](this[_0x44416f(0x1d0)],_0x44416f(0x184),(_0xab8c31,_0x101eaf,_0x3e38cf)=>{_0x5ce1bd(_0x101eaf,_0x3e38cf);}),_0x34e461[_0x44416f(0x1a5)](this[_0x44416f(0x1d0)],_0x44416f(0x1e1),(_0x5e1bfe,_0x2759cc,_0x7c792a)=>{const _0x580c39=_0x44416f;_0x17e636[_0x580c39(0x1d0)][_0x580c39(0x1e1)](_0x7c792a);}),_0x34e461;}[_0x5dad21(0x19d)](_0x2023fe,_0xdd3210){const _0x4a71d5=_0x5dad21,_0x26a5d1=_0x2023fe&&_0x2023fe[_0x4a71d5(0x1d1)];_0x26a5d1&&(this[_0x4a71d5(0x1a5)](_0x26a5d1,_0x4a71d5(0x18f),()=>this[_0x4a71d5(0x192)]=_0xdd3210),this[_0x4a71d5(0x1a5)](_0x26a5d1,_0x4a71d5(0x1b9),()=>this[_0x4a71d5(0x192)]=_0xdd3210),this[_0x4a71d5(0x1a5)](_0x26a5d1,_0x4a71d5(0x1c9),()=>this[_0x4a71d5(0x192)]=null),this[_0x4a71d5(0x1a5)](_0x26a5d1,_0x4a71d5(0x1c1),()=>this[_0x4a71d5(0x192)]=null));}[_0x5dad21(0x17e)](){const _0x5a567c=_0x5dad21,_0x122a6c=super[_0x5a567c(0x17e)]();return _0x122a6c[_0x5a567c(0x1cb)](_0x5a567c(0x1d9))['to'](this),_0x122a6c;}[_0x5dad21(0x1c7)](){const _0x33dbd1=_0x5dad21;return _0x33dbd1(0x193)===this[_0x33dbd1(0x1e8)][_0x33dbd1(0x1bf)][_0x33dbd1(0x1ea)][_0x33dbd1(0x18a)]?_0x107c88(this[_0x33dbd1(0x1b3)],_0x33dbd1(0x1b7)):_0x107c88(this[_0x33dbd1(0x1b3)],_0x33dbd1(0x1d8));}[_0x5dad21(0x1b6)](){const _0x1e912f=_0x5dad21;return this[_0x1e912f(0x1e8)][_0x1e912f(0x1da)]?_0x1e912f(0x193)===this[_0x1e912f(0x1e8)][_0x1e912f(0x1bf)][_0x1e912f(0x1ea)][_0x1e912f(0x18a)]?_0x107c88(this[_0x1e912f(0x1b3)],_0x1e912f(0x175),this[_0x1e912f(0x1e8)][_0x1e912f(0x1e9)][_0x1e912f(0x1b0)]):_0x107c88(this[_0x1e912f(0x1b3)],_0x1e912f(0x1b2),this[_0x1e912f(0x1e8)][_0x1e912f(0x1e9)][_0x1e912f(0x1b0)]):null;}[_0x5dad21(0x1c0)](){const _0x42719e=_0x5dad21;super[_0x42719e(0x1c0)](),this[_0x42719e(0x19d)](this[_0x42719e(0x1a7)],_0x42719e(0x1c5)),this[_0x42719e(0x19d)](this[_0x42719e(0x1e6)],_0x42719e(0x1e1));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x32197f=_0x13e3;(function(_0x4f63de,_0x14a235){var _0x1e0fbb=_0x13e3,_0x3f18cb=_0x4f63de();while(!![]){try{var _0x1f7fb5=parseInt(_0x1e0fbb(0x1d4))/0x1*(parseInt(_0x1e0fbb(0x1d9))/0x2)+-parseInt(_0x1e0fbb(0x1d3))/0x3*(-parseInt(_0x1e0fbb(0x1d0))/0x4)+-parseInt(_0x1e0fbb(0x1d8))/0x5*(-parseInt(_0x1e0fbb(0x1dc))/0x6)+parseInt(_0x1e0fbb(0x1d6))/0x7+parseInt(_0x1e0fbb(0x1d7))/0x8+parseInt(_0x1e0fbb(0x1d2))/0x9*(-parseInt(_0x1e0fbb(0x1cf))/0xa)+-parseInt(_0x1e0fbb(0x1da))/0xb*(parseInt(_0x1e0fbb(0x1d5))/0xc);if(_0x1f7fb5===_0x14a235)break;else _0x3f18cb['push'](_0x3f18cb['shift']());}catch(_0x4eb94d){_0x3f18cb['push'](_0x3f18cb['shift']());}}}(_0x390f,0x19f01));import{Plugin as _0x5fc5fb}from'ckeditor5/src/core.js';import _0x4160bf from'./comments/commentsrepository.js';import _0x2a437e from'./comments/commentsediting.js';import _0xbf9e4f from'./comments/commentsui.js';import _0x492b49 from'./commentsonly.js';import _0x337485 from'./annotations/widesidebar.js';import _0x2fe237 from'./annotations/narrowsidebar.js';function _0x13e3(_0x488859,_0x2cb318){var _0x390f78=_0x390f();return _0x13e3=function(_0x13e374,_0x735176){_0x13e374=_0x13e374-0x1cf;var _0x41a7bf=_0x390f78[_0x13e374];return _0x41a7bf;},_0x13e3(_0x488859,_0x2cb318);}import _0x2a787e from'./annotations/inlineannotations.js';import _0x39c2ee from'./comments/commentsarchiveui.js';import _0x236e16 from'./comments/commentsarchive.js';export default class f extends _0x5fc5fb{static get[_0x32197f(0x1db)](){return[_0x4160bf,_0x2a437e,_0xbf9e4f,_0x236e16,_0x39c2ee,_0x492b49,_0x337485,_0x2fe237,_0x2a787e];}static get[_0x32197f(0x1dd)](){var _0x889893=_0x32197f;return _0x889893(0x1d1);}}function _0x390f(){var _0x38ac53=['pluginName','74930sgpXqb','23204mOvNft','Comments','9eXerGG','3Tjbbfz','177TkkcCF','3632124xHWteN','49910qBRplg','1476656dEhVSZ','4595VrnDtW','1570uAkQyW','11fOLAUD','requires','522qeZXEq'];_0x390f=function(){return _0x38ac53;};return _0x390f();}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5f1080=_0x485a;function _0x485a(_0x3bf2b0,_0x1fc44e){const _0x533561=_0x5335();return _0x485a=function(_0x485aa1,_0x47a4e5){_0x485aa1=_0x485aa1-0x1c1;let _0x4a8f7b=_0x533561[_0x485aa1];return _0x4a8f7b;},_0x485a(_0x3bf2b0,_0x1fc44e);}(function(_0xabace5,_0x282f39){const _0x181917=_0x485a,_0x915947=_0xabace5();while(!![]){try{const _0x1a3a66=-parseInt(_0x181917(0x1e9))/0x1*(parseInt(_0x181917(0x1c7))/0x2)+-parseInt(_0x181917(0x1cb))/0x3+-parseInt(_0x181917(0x1d3))/0x4+parseInt(_0x181917(0x1c9))/0x5+parseInt(_0x181917(0x1d8))/0x6*(-parseInt(_0x181917(0x1c3))/0x7)+-parseInt(_0x181917(0x1c1))/0x8*(parseInt(_0x181917(0x1e3))/0x9)+parseInt(_0x181917(0x1eb))/0xa*(parseInt(_0x181917(0x1de))/0xb);if(_0x1a3a66===_0x282f39)break;else _0x915947['push'](_0x915947['shift']());}catch(_0x1afca6){_0x915947['push'](_0x915947['shift']());}}}(_0x5335,0x2dda2));import{Plugin as _0x145ce6}from'ckeditor5/src/core.js';function _0x5335(){const _0xbf5c81=['document','clearForceDisabled','870384iocXSS','plugins','delete','CommentsOnly','commands','304410PYPVee','afterInit','forceDisabled','has','clipboardInput','addCommentThread','11KaEaQI','view','_enableCommentsOnlyMode','commentsOnly','config','3141vScIsC','commentsOnlyMode','cut','pluginName','listenTo','get','122506YnvmMV','set','6388510hsmoSv','184vLbzBe','_disableCommentsOnlyMode','7ngVqvl','highest','isEnabled','change:isEnabled','4mwMKGt','stop','539675pNanat','DragDrop','112818DOMjZW','stopListening','requires','affectsData','editing','editor'];_0x5335=function(){return _0xbf5c81;};return _0x5335();}import _0x1f6569 from'./comments/commentsediting.js';export default class e extends _0x145ce6{static get[_0x5f1080(0x1e6)](){const _0x5029d7=_0x5f1080;return _0x5029d7(0x1d6);}static get[_0x5f1080(0x1cd)](){return[_0x1f6569];}constructor(_0x267ff7){const _0x2cf4c6=_0x5f1080;super(_0x267ff7),this[_0x2cf4c6(0x1ea)](_0x2cf4c6(0x1c5),!0x1),this['on'](_0x2cf4c6(0x1c6),(_0x830d23,_0x47777f,_0x1869ee)=>{const _0x4b5c5c=_0x2cf4c6;_0x1869ee?this[_0x4b5c5c(0x1e0)]():this[_0x4b5c5c(0x1c2)]();});}[_0x5f1080(0x1d9)](){const _0x12f4d2=_0x5f1080;!this[_0x12f4d2(0x1c5)]&&this[_0x12f4d2(0x1d0)][_0x12f4d2(0x1e2)][_0x12f4d2(0x1e8)](_0x12f4d2(0x1e1))&&(this[_0x12f4d2(0x1c5)]=!0x0);}[_0x5f1080(0x1e0)](){const _0x11c6ef=_0x5f1080;for(const [_0x2c195f,_0x5e50a2]of this[_0x11c6ef(0x1d0)][_0x11c6ef(0x1d7)])_0x5e50a2[_0x11c6ef(0x1ce)]&&_0x11c6ef(0x1dd)!==_0x2c195f&&_0x5e50a2[_0x11c6ef(0x1da)](_0x11c6ef(0x1e4));this[_0x11c6ef(0x1d0)][_0x11c6ef(0x1d4)][_0x11c6ef(0x1db)](_0x11c6ef(0x1ca))&&this[_0x11c6ef(0x1d0)][_0x11c6ef(0x1d4)][_0x11c6ef(0x1e8)](_0x11c6ef(0x1ca))[_0x11c6ef(0x1da)](_0x11c6ef(0x1e4));const _0x53f528=this[_0x11c6ef(0x1d0)][_0x11c6ef(0x1cf)][_0x11c6ef(0x1df)][_0x11c6ef(0x1d1)];this[_0x11c6ef(0x1e7)](_0x53f528,_0x11c6ef(0x1e5),_0xa8e480=>_0xa8e480[_0x11c6ef(0x1c8)](),{'priority':_0x11c6ef(0x1c4)}),this[_0x11c6ef(0x1e7)](_0x53f528,_0x11c6ef(0x1dc),_0x196769=>_0x196769[_0x11c6ef(0x1c8)](),{'priority':_0x11c6ef(0x1c4)}),this[_0x11c6ef(0x1e7)](_0x53f528,_0x11c6ef(0x1d5),_0x222584=>_0x222584[_0x11c6ef(0x1c8)](),{'priority':_0x11c6ef(0x1c4)});}[_0x5f1080(0x1c2)](){const _0x24dc76=_0x5f1080;for(const [_0x38ff2d,_0x83513b]of this[_0x24dc76(0x1d0)][_0x24dc76(0x1d7)])_0x83513b[_0x24dc76(0x1ce)]&&_0x24dc76(0x1dd)!==_0x38ff2d&&_0x83513b[_0x24dc76(0x1d2)](_0x24dc76(0x1e4));this[_0x24dc76(0x1cc)](this[_0x24dc76(0x1d0)][_0x24dc76(0x1cf)][_0x24dc76(0x1df)][_0x24dc76(0x1d1)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16e5e7,_0x5cfb9a){var _0xf82ef1=_0x1903,_0x196752=_0x16e5e7();while(!![]){try{var _0x17397a=parseInt(_0xf82ef1(0xf0))/0x1*(-parseInt(_0xf82ef1(0xe8))/0x2)+parseInt(_0xf82ef1(0xe7))/0x3*(parseInt(_0xf82ef1(0xe6))/0x4)+-parseInt(_0xf82ef1(0xee))/0x5*(parseInt(_0xf82ef1(0xed))/0x6)+-parseInt(_0xf82ef1(0xec))/0x7*(parseInt(_0xf82ef1(0xe9))/0x8)+parseInt(_0xf82ef1(0xf1))/0x9*(parseInt(_0xf82ef1(0xeb))/0xa)+-parseInt(_0xf82ef1(0xea))/0xb+parseInt(_0xf82ef1(0xef))/0xc;if(_0x17397a===_0x5cfb9a)break;else _0x196752['push'](_0x196752['shift']());}catch(_0xf6c43a){_0x196752['push'](_0x196752['shift']());}}}(_0x4bc5,0xc4a12));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';function _0x1903(_0x49a8d8,_0x45988d){var _0x4bc5fa=_0x4bc5();return _0x1903=function(_0x1903c1,_0x578404){_0x1903c1=_0x1903c1-0xe6;var _0x1b71cf=_0x4bc5fa[_0x1903c1];return _0x1b71cf;},_0x1903(_0x49a8d8,_0x45988d);}export{default as CommentsUI}from'./comments/commentsui.js';function _0x4bc5(){var _0x200c7a=['2618034sWSXal','5NVCfeg','15183348NmEGAo','312710mxyKZJ','9caONxy','2194172xSmNgk','3vlNZmT','4DnynMT','1776488CfiooS','12824746pvpJYq','14412780epngfV','7VnVUIJ'];_0x4bc5=function(){return _0x200c7a;};return _0x4bc5();}export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5b5081,_0xf4815b,_0x2abf81){const t=_0x5b5081['t'];switch(_0xf4815b){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'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2abf81);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'},_0x2abf81);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'},_0x2abf81);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'},_0x2abf81);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'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ce34e,_0x56f0e7){const _0xaec8b7=_0x11c0,_0x1a2a8d=_0x2ce34e();while(!![]){try{const _0xa0c53d=-parseInt(_0xaec8b7(0xe5))/0x1*(-parseInt(_0xaec8b7(0xed))/0x2)+parseInt(_0xaec8b7(0xe2))/0x3+-parseInt(_0xaec8b7(0xeb))/0x4*(-parseInt(_0xaec8b7(0xe3))/0x5)+parseInt(_0xaec8b7(0xe7))/0x6+-parseInt(_0xaec8b7(0xe0))/0x7*(-parseInt(_0xaec8b7(0xdd))/0x8)+parseInt(_0xaec8b7(0xec))/0x9+parseInt(_0xaec8b7(0xe8))/0xa*(-parseInt(_0xaec8b7(0xea))/0xb);if(_0xa0c53d===_0x56f0e7)break;else _0x1a2a8d['push'](_0x1a2a8d['shift']());}catch(_0x28e610){_0x1a2a8d['push'](_0x1a2a8d['shift']());}}}(_0x5602,0x4dccb));function _0x11c0(_0x3f093d,_0x2cc113){const _0x5602f8=_0x5602();return _0x11c0=function(_0x11c0eb,_0x2254a4){_0x11c0eb=_0x11c0eb-0xda;let _0x5e1fe7=_0x5602f8[_0x11c0eb];return _0x5e1fe7;},_0x11c0(_0x3f093d,_0x2cc113);}import{throttle as _0x2d520c}from'lodash-es';function _0x5602(){const _0x22ab11=['observe','1161078LOrCbi','60480SFJexY','attributeName','2497lGgdaa','1562908rMIWGI','1485288cGLmTx','53374XmRgrf','characterData','disconnect','attributes','8xAUoCR','cancel','childList','2135651qECBht','type','1671411XRhbTL','5XoScex','class','3kAloNQ'];_0x5602=function(){return _0x22ab11;};return _0x5602();}export default function Dt(_0x57ee9a){const _0x4c05d5=_0x2d520c(_0x57ee9a,0x1e),_0x8cb68e=new MutationObserver(_0x26b9ae=>{const _0x46f5b0=_0x11c0;for(const _0x5b08ee of _0x26b9ae)(_0x46f5b0(0xdc)==_0x5b08ee[_0x46f5b0(0xe1)]&&_0x46f5b0(0xe4)==_0x5b08ee[_0x46f5b0(0xe9)]||_0x46f5b0(0xdf)==_0x5b08ee[_0x46f5b0(0xe1)]||_0x46f5b0(0xda)==_0x5b08ee[_0x46f5b0(0xe1)])&&_0x4c05d5();});return{'attach'(_0x2445d2){const _0x34c26a=_0x11c0;_0x8cb68e[_0x34c26a(0xe6)](_0x2445d2,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2037e1=_0x11c0;_0x8cb68e[_0x2037e1(0xdb)](),_0x4c05d5[_0x2037e1(0xde)]();}};}
|