@ckeditor/ckeditor5-comments 45.0.0-alpha.0 → 45.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3ae7(_0x407417,_0x1a995b){const _0x497240=_0x4972();return _0x3ae7=function(_0x3ae737,_0x10a821){_0x3ae737=_0x3ae737-0x1c8;let _0x143e97=_0x497240[_0x3ae737];return _0x143e97;},_0x3ae7(_0x407417,_0x1a995b);}const _0xdebce4=_0x3ae7;(function(_0x37d68e,_0x454188){const _0x22c28b=_0x3ae7,_0x59bd41=_0x37d68e();while(!![]){try{const _0x2434ef=-parseInt(_0x22c28b(0x1e3))/0x1+parseInt(_0x22c28b(0x1f0))/0x2+parseInt(_0x22c28b(0x222))/0x3*(-parseInt(_0x22c28b(0x20e))/0x4)+parseInt(_0x22c28b(0x211))/0x5*(parseInt(_0x22c28b(0x214))/0x6)+parseInt(_0x22c28b(0x217))/0x7+-parseInt(_0x22c28b(0x1ef))/0x8+parseInt(_0x22c28b(0x1d5))/0x9;if(_0x2434ef===_0x454188)break;else _0x59bd41['push'](_0x59bd41['shift']());}catch(_0x2d5af0){_0x59bd41['push'](_0x59bd41['shift']());}}}(_0x4972,0x52979));import{View as _0x26ed9b,FocusCycler as _0x4a715c}from'ckeditor5/src/ui.js';import{diff as _0x5dc218,Collection as _0x41a91e,FocusTracker as _0x754789,KeystrokeHandler as _0x2be5b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x2cbdd5}from'../../../utils/common-translations.js';import _0x681f84 from'./collapsedcommentsview.js';export default class te extends _0x26ed9b{[_0xdebce4(0x1db)];[_0xdebce4(0x1ea)];[_0xdebce4(0x1f5)];[_0xdebce4(0x212)];[_0xdebce4(0x206)];[_0xdebce4(0x1dc)];[_0xdebce4(0x210)];[_0xdebce4(0x1e2)];constructor(_0x10fd57,_0x1f9faa,_0x3215c5){const _0x23629c=_0xdebce4;super(_0x10fd57);const _0x2a802a=this[_0x23629c(0x226)];this[_0x23629c(0x20b)](_0x23629c(0x227),!0x1),this[_0x23629c(0x20b)](_0x23629c(0x1f7),_0x1f9faa[_0x23629c(0x1de)][_0x23629c(0x1f7)]),this[_0x23629c(0x20b)](_0x23629c(0x21b),!0x1),this[_0x23629c(0x1dc)]=_0x1f9faa,this[_0x23629c(0x210)]=_0x3215c5,this[_0x23629c(0x1db)]=this[_0x23629c(0x21f)](),this[_0x23629c(0x1c8)]=this[_0x23629c(0x21f)](),this[_0x23629c(0x1ea)]=null,this[_0x23629c(0x1f5)]=new _0x754789(),this[_0x23629c(0x212)]=new _0x2be5b6(),this[_0x23629c(0x206)]=new _0x4a715c({'focusables':this[_0x23629c(0x1db)],'focusTracker':this[_0x23629c(0x1f5)],'keystrokeHandler':this[_0x23629c(0x212)],'keystrokeHandlerOptions':{'filter':_0x56fa7d=>this[_0x23629c(0x1db)][_0x23629c(0x203)](_0x3b109c=>_0x3b109c[_0x23629c(0x1d2)])[_0x23629c(0x213)](_0x56fa7d[_0x23629c(0x1ec)])},'actions':{'focusPrevious':_0x23629c(0x1ed),'focusNext':_0x23629c(0x21d)}}),this[_0x23629c(0x1e2)]=new _0x681f84(_0x10fd57),this[_0x23629c(0x1e2)][_0x23629c(0x1f9)](_0x23629c(0x219))['to'](this,_0x23629c(0x1f7),_0x1ea0eb=>_0x1ea0eb-this[_0x23629c(0x210)][_0x23629c(0x204)]);for(const _0x428d17 of _0x1f9faa[_0x23629c(0x1de)])this[_0x23629c(0x200)](_0x428d17);this[_0x23629c(0x1cc)](),this[_0x23629c(0x1f6)](_0x1f9faa[_0x23629c(0x1de)],_0x23629c(0x1cb),(_0x435d7f,_0x323883)=>{const _0x740e92=_0x23629c,_0xf5f08c=this[_0x740e92(0x1d4)](_0x323883);this[_0x740e92(0x1f7)]++,this[_0x740e92(0x200)](_0x323883,_0xf5f08c),this[_0x740e92(0x21c)]();}),this[_0x23629c(0x1f6)](_0x1f9faa[_0x23629c(0x1de)],_0x23629c(0x1d8),(_0x1be7a1,_0x581e97)=>{const _0x382c79=_0x23629c;this[_0x382c79(0x1f7)]--,this[_0x382c79(0x1eb)](_0x581e97),this[_0x382c79(0x21c)]();}),this[_0x23629c(0x1f6)](_0x1f9faa,_0x23629c(0x201),()=>this[_0x23629c(0x21c)]()),this[_0x23629c(0x1f6)](_0x1f9faa,_0x23629c(0x1ce),()=>this[_0x23629c(0x1cc)]()),this['on'](_0x23629c(0x215),()=>this[_0x23629c(0x21c)]()),this['on'](_0x23629c(0x1e1),()=>this[_0x23629c(0x21c)]()),this[_0x23629c(0x1fe)]({'tag':'ul','attributes':{'class':[_0x23629c(0x1d7),_0x2a802a['if'](_0x23629c(0x1f7),_0x23629c(0x21e),_0x42d7fd=>!_0x42d7fd)],'aria-label':_0x2cbdd5(_0x10fd57,_0x23629c(0x1fb))},'children':this[_0x23629c(0x1c8)]});}get[_0xdebce4(0x225)](){const _0x4948f8=_0xdebce4;return this[_0x4948f8(0x1dc)][_0x4948f8(0x20f)]>this[_0x4948f8(0x210)][_0x4948f8(0x1d9)]&&!this[_0x4948f8(0x21b)]&&!this[_0x4948f8(0x227)];}[_0xdebce4(0x208)](){const _0xb631a9=_0xdebce4;super[_0xb631a9(0x208)](),this[_0xb631a9(0x21c)](),this[_0xb631a9(0x1ca)]();}[_0xdebce4(0x1e6)](_0x1ed417){const _0x527a88=_0xdebce4;-0x1===_0x1ed417?this[_0x527a88(0x206)][_0x527a88(0x1d3)]():this[_0x527a88(0x206)][_0x527a88(0x1e0)]();}[_0xdebce4(0x1cd)](){const _0x1ad383=_0xdebce4;this[_0x1ad383(0x1e2)][_0x1ad383(0x1cd)]();for(const _0x26912a of this[_0x1ad383(0x1db)])_0x26912a[_0x1ad383(0x1cd)]();super[_0x1ad383(0x1cd)]();}[_0xdebce4(0x21c)](){const _0x34f8ec=_0xdebce4;this[_0x34f8ec(0x225)]?this[_0x34f8ec(0x1d0)]():this[_0x34f8ec(0x218)]();}[_0xdebce4(0x200)](_0x2bfd95,_0x39eae7){const _0x3bed8b=_0xdebce4,_0x200e19=new this[(_0x3bed8b(0x210))][(_0x3bed8b(0x20d))](this[_0x3bed8b(0x21a)],_0x2bfd95,{'maxCommentCharsWhenCollapsed':this[_0x3bed8b(0x210)][_0x3bed8b(0x1e4)],'formatDateTime':this[_0x3bed8b(0x210)][_0x3bed8b(0x1ff)],'editorConfig':this[_0x3bed8b(0x210)][_0x3bed8b(0x1da)]});_0x200e19[_0x3bed8b(0x1f2)]=_0x2bfd95['id'],_0x200e19[_0x3bed8b(0x1df)](_0x3bed8b(0x223))['to'](this),_0x200e19[_0x3bed8b(0x1df)](_0x3bed8b(0x1ee))['to'](this),_0x200e19[_0x3bed8b(0x1df)](_0x3bed8b(0x1e5))['to'](this),_0x200e19[_0x3bed8b(0x1df)](_0x3bed8b(0x1c9))['to'](this),_0x200e19[_0x3bed8b(0x1df)](_0x3bed8b(0x1f1))['to'](this),this[_0x3bed8b(0x1f6)](_0x200e19,_0x3bed8b(0x207),()=>this[_0x3bed8b(0x205)]()),this[_0x3bed8b(0x1db)][_0x3bed8b(0x1cb)](_0x200e19,_0x39eae7);}[_0xdebce4(0x1d4)](_0x5e20b0){const _0x5241fa=_0xdebce4,_0x2fd3a3=this[_0x5241fa(0x1dc)][_0x5241fa(0x209)](_0x5e20b0);return this[_0x5241fa(0x1ea)]?this[_0x5241fa(0x1ea)][_0x5241fa(0x1fc)]>_0x5e20b0[_0x5241fa(0x1fc)]?_0x2fd3a3-0x1:_0x2fd3a3:_0x2fd3a3-0x1;}[_0xdebce4(0x1cc)](){const _0x19ae13=_0xdebce4;if(this[_0x19ae13(0x1dc)][_0x19ae13(0x1f4)]&&this[_0x19ae13(0x1dc)][_0x19ae13(0x1d1)]){const _0x4a12af={'id':_0x19ae13(0x216),'author':this[_0x19ae13(0x1dc)][_0x19ae13(0x1f4)],'authoredAt':this[_0x19ae13(0x1dc)][_0x19ae13(0x1d1)],'content':_0x2cbdd5(this[_0x19ae13(0x21a)],_0x19ae13(0x220)),'attributes':{}};this[_0x19ae13(0x1ea)]=new this[(_0x19ae13(0x210))][(_0x19ae13(0x20d))](this[_0x19ae13(0x21a)],_0x4a12af,{'maxCommentCharsWhenCollapsed':this[_0x19ae13(0x210)][_0x19ae13(0x1e4)],'formatDateTime':this[_0x19ae13(0x210)][_0x19ae13(0x1ff)],'editorConfig':this[_0x19ae13(0x210)][_0x19ae13(0x1da)],'isSystemComment':!0x0}),this[_0x19ae13(0x1db)][_0x19ae13(0x1cb)](this[_0x19ae13(0x1ea)],this[_0x19ae13(0x1dc)][_0x19ae13(0x209)](_0x4a12af));}else this[_0x19ae13(0x1ea)]&&(this[_0x19ae13(0x1db)][_0x19ae13(0x1d8)](this[_0x19ae13(0x1ea)]),this[_0x19ae13(0x1ea)][_0x19ae13(0x1cd)](),this[_0x19ae13(0x1ea)]=null);this[_0x19ae13(0x21c)]();}[_0xdebce4(0x1eb)](_0x506b02){const _0x507c57=_0xdebce4,_0x5865d6=this[_0x507c57(0x1db)][_0x507c57(0x1d8)](_0x506b02['id']);this[_0x507c57(0x1fa)](_0x5865d6),_0x5865d6[_0x507c57(0x20a)]&&this[_0x507c57(0x205)](),_0x5865d6[_0x507c57(0x1cd)]();}[_0xdebce4(0x205)](){const _0x3e0b01=_0xdebce4;this[_0x3e0b01(0x227)]=Array[_0x3e0b01(0x1e9)](this[_0x3e0b01(0x1db)])[_0x3e0b01(0x221)](_0x3ed605=>_0x3ed605[_0x3e0b01(0x20a)]);}[_0xdebce4(0x1d0)](){const _0x3b6e56=_0xdebce4,_0x375afa=function(_0x4f13c1){const _0x2dfb7c=_0x3ae7,_0x565a9e=new _0x41a91e();for(const _0x5bf95a of _0x4f13c1)_0x565a9e[_0x2dfb7c(0x1cb)](_0x5bf95a);return _0x565a9e;}(this[_0x3b6e56(0x1db)]),_0xa3f305=this[_0x3b6e56(0x1e2)][_0x3b6e56(0x219)];for(let _0x4f3bf7=0x1;_0x4f3bf7<=_0xa3f305;_0x4f3bf7++)_0x375afa[_0x3b6e56(0x1d8)](0x1);for(const _0x48684f of _0x375afa)_0x48684f[_0x3b6e56(0x1cf)]();_0xa3f305>0x0&&_0x375afa[_0x3b6e56(0x1cb)](this[_0x3b6e56(0x1e2)],0x1),ns(_0x5dc218(Array[_0x3b6e56(0x1e9)](this[_0x3b6e56(0x1c8)]),Array[_0x3b6e56(0x1e9)](_0x375afa)),this[_0x3b6e56(0x1c8)],_0x375afa);}[_0xdebce4(0x218)](){const _0x353d11=_0xdebce4;ns(_0x5dc218(Array[_0x353d11(0x1e9)](this[_0x353d11(0x1c8)]),Array[_0x353d11(0x1e9)](this[_0x353d11(0x1db)])),this[_0x353d11(0x1c8)],this[_0x353d11(0x1db)]);for(const _0x7f045 of this[_0x353d11(0x1c8)])_0x7f045[_0x353d11(0x224)]();}[_0xdebce4(0x1ca)](){const _0x2bc0a8=_0xdebce4;this[_0x2bc0a8(0x1db)][_0x2bc0a8(0x202)](_0x330e31=>{const _0xc71745=_0x2bc0a8;this[_0xc71745(0x1f5)][_0xc71745(0x1cb)](_0x330e31[_0xc71745(0x1d2)]),this[_0xc71745(0x212)][_0xc71745(0x1f6)](_0x330e31[_0xc71745(0x1d2)]);}),this[_0x2bc0a8(0x1db)]['on'](_0x2bc0a8(0x1f8),(_0x13abe4,_0x313712)=>{const _0x392031=_0x2bc0a8;for(const _0x3fc0ba of _0x313712[_0x392031(0x1f3)])this[_0x392031(0x1f5)][_0x392031(0x1d8)](_0x3fc0ba[_0x392031(0x1d2)]),this[_0x392031(0x212)][_0x392031(0x1fa)](_0x3fc0ba[_0x392031(0x1d2)]);for(const _0x3b81aa of Array[_0x392031(0x1e9)](_0x313712[_0x392031(0x1e7)])[_0x392031(0x1d6)]())this[_0x392031(0x1f5)][_0x392031(0x1cb)](_0x3b81aa[_0x392031(0x1d2)]),this[_0x392031(0x212)][_0x392031(0x1f6)](_0x3b81aa[_0x392031(0x1d2)]);});}}function _0x4972(){const _0x5cbc9e=['177694AlPhZo','editorDestroyed','viewUid','removed','resolvedBy','focusTracker','listenTo','length','change','bind','stopListening','Thread\x20comments','authoredAt','get','setTemplate','formatDateTime','_handleNewCommentModel','commentUpdated','forEach','map','maxCommentsWhenCollapsed','_updateHasDirtyComment','focusCycler','change:isEditMode','render','_findOptimalIndex','isEditMode','set','insert','CommentView','232bhkMna','weight','_config','15940XFskHl','keystrokes','includes','396gCazQx','change:isActive','resolved','3138765CXdZcB','_rearrangeExpand','count','locale','isActive','refreshVisibleViews','arrowdown','ck-hidden','createCollection','Marked\x20as\x20resolved','some','19911KwAZVq','removeComment','expand','_shouldCollapse','bindTemplate','hasDirtyComment','visibleViews','editorReady','_setupKeyboardNavigation','add','_handleInfoComment','destroy','change:isResolved','collapse','_rearrangeCollapse','resolvedAt','element','focusLast','_calculatePosition','5634585NAwShb','reverse','ck-thread__comments','remove','maxThreadTotalWeight','editorConfig','commentViews','_model','delete','comments','delegate','focusFirst','change:hasDirtyComment','_collapsedCommentsView','239960wWXBCp','maxCommentCharsWhenCollapsed','resolveCommentThread','focus','added','equal','from','resolvedCommentView','_handleRemoveCommentModel','target','arrowup','updateComment','3284096FGWsGi'];_0x4972=function(){return _0x5cbc9e;};return _0x4972();}function ns(_0x1f898a,_0x500f9f,_0x56e635){const _0xf824ec=_0xdebce4;let _0x11aef4=0x0;for(const _0x15db47 of _0x1f898a)switch(_0x15db47){case _0xf824ec(0x20c):_0x500f9f[_0xf824ec(0x1cb)](_0x56e635[_0xf824ec(0x1fd)](_0x11aef4),_0x11aef4),_0x11aef4++;break;case _0xf824ec(0x1dd):_0x500f9f[_0xf824ec(0x1d8)](_0x11aef4);break;case _0xf824ec(0x1e8):_0x11aef4++;}}
|
|
23
|
+
const _0x5e3f0e=_0x469f;(function(_0x459635,_0x1699b5){const _0x5ada79=_0x469f,_0x537e69=_0x459635();while(!![]){try{const _0x24a56d=-parseInt(_0x5ada79(0x219))/0x1*(-parseInt(_0x5ada79(0x24c))/0x2)+parseInt(_0x5ada79(0x21b))/0x3+-parseInt(_0x5ada79(0x1f0))/0x4*(parseInt(_0x5ada79(0x1f7))/0x5)+parseInt(_0x5ada79(0x205))/0x6*(-parseInt(_0x5ada79(0x1fd))/0x7)+-parseInt(_0x5ada79(0x226))/0x8+-parseInt(_0x5ada79(0x210))/0x9+parseInt(_0x5ada79(0x247))/0xa*(parseInt(_0x5ada79(0x22b))/0xb);if(_0x24a56d===_0x1699b5)break;else _0x537e69['push'](_0x537e69['shift']());}catch(_0x39bb00){_0x537e69['push'](_0x537e69['shift']());}}}(_0x598d,0x64c75));import{View as _0x138a6c,FocusCycler as _0x52d1c3}from'ckeditor5/src/ui.js';import{diff as _0x19a8d0,Collection as _0x4ace4a,FocusTracker as _0x4a33d5,KeystrokeHandler as _0x10dcb0}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e02b2}from'../../../utils/common-translations.js';import _0x5e807a from'./collapsedcommentsview.js';function _0x598d(){const _0x54cf2c=['_handleInfoComment','locale','_model','delegate','_calculatePosition','arrowup','3667960ujMIdr','authoredAt','createCollection','editorConfig','bind','6778761KdPqhd','_rearrangeCollapse','_setupKeyboardNavigation','change','target','maxCommentsWhenCollapsed','weight','resolvedCommentView','comments','element','focusFirst','forEach','maxCommentCharsWhenCollapsed','stopListening','arrowdown','editorDestroyed','visibleViews','_shouldCollapse','some','add','keystrokes','_updateHasDirtyComment','focusLast','added','remove','bindTemplate','_findOptimalIndex','render','20coPKVu','listenTo','change:isActive','removed','includes','130026fJlJkM','formatDateTime','commentUpdated','maxThreadTotalWeight','set','focus','256744sHtwFQ','insert','focusCycler','focusTracker','change:hasDirtyComment','_rearrangeExpand','removeComment','30HyfcMB','resolved','setTemplate','isEditMode','commentViews','collapse','7KXoFqu','destroy','change:isEditMode','delete','viewUid','isActive','expand','count','251952xrIAEO','refreshVisibleViews','from','ck-hidden','_handleNewCommentModel','equal','map','editorReady','resolvedBy','updateComment','_config','2719494hPgrJP','reverse','CommentView','get','_collapsedCommentsView','Marked\x20as\x20resolved','ck-thread__comments','change:isResolved','length','2daqUzD','resolvedAt','714090KXUytM','resolveCommentThread','Thread\x20comments','_handleRemoveCommentModel','hasDirtyComment'];_0x598d=function(){return _0x54cf2c;};return _0x598d();}function _0x469f(_0x57f76c,_0x3d953b){const _0x598de6=_0x598d();return _0x469f=function(_0x469f17,_0xc54d11){_0x469f17=_0x469f17-0x1f0;let _0x4b4854=_0x598de6[_0x469f17];return _0x4b4854;},_0x469f(_0x57f76c,_0x3d953b);}export default class te extends _0x138a6c{[_0x5e3f0e(0x1fb)];[_0x5e3f0e(0x232)];[_0x5e3f0e(0x1f3)];[_0x5e3f0e(0x23f)];[_0x5e3f0e(0x1f2)];[_0x5e3f0e(0x222)];[_0x5e3f0e(0x20f)];[_0x5e3f0e(0x214)];constructor(_0x3236f4,_0x5c9545,_0x1d7835){const _0x535ef9=_0x5e3f0e;super(_0x3236f4);const _0x437e35=this[_0x535ef9(0x244)];this[_0x535ef9(0x250)](_0x535ef9(0x21f),!0x1),this[_0x535ef9(0x250)](_0x535ef9(0x218),_0x5c9545[_0x535ef9(0x233)][_0x535ef9(0x218)]),this[_0x535ef9(0x250)](_0x535ef9(0x202),!0x1),this[_0x535ef9(0x222)]=_0x5c9545,this[_0x535ef9(0x20f)]=_0x1d7835,this[_0x535ef9(0x1fb)]=this[_0x535ef9(0x228)](),this[_0x535ef9(0x23b)]=this[_0x535ef9(0x228)](),this[_0x535ef9(0x232)]=null,this[_0x535ef9(0x1f3)]=new _0x4a33d5(),this[_0x535ef9(0x23f)]=new _0x10dcb0(),this[_0x535ef9(0x1f2)]=new _0x52d1c3({'focusables':this[_0x535ef9(0x1fb)],'focusTracker':this[_0x535ef9(0x1f3)],'keystrokeHandler':this[_0x535ef9(0x23f)],'keystrokeHandlerOptions':{'filter':_0x526594=>this[_0x535ef9(0x1fb)][_0x535ef9(0x20b)](_0x1ce53c=>_0x1ce53c[_0x535ef9(0x234)])[_0x535ef9(0x24b)](_0x526594[_0x535ef9(0x22f)])},'actions':{'focusPrevious':_0x535ef9(0x225),'focusNext':_0x535ef9(0x239)}}),this[_0x535ef9(0x214)]=new _0x5e807a(_0x3236f4),this[_0x535ef9(0x214)][_0x535ef9(0x22a)](_0x535ef9(0x204))['to'](this,_0x535ef9(0x218),_0x4c9b1b=>_0x4c9b1b-this[_0x535ef9(0x20f)][_0x535ef9(0x230)]);for(const _0x15413e of _0x5c9545[_0x535ef9(0x233)])this[_0x535ef9(0x209)](_0x15413e);this[_0x535ef9(0x220)](),this[_0x535ef9(0x248)](_0x5c9545[_0x535ef9(0x233)],_0x535ef9(0x23e),(_0x5bcdd1,_0x3adcb3)=>{const _0x254ead=_0x535ef9,_0x1c1d80=this[_0x254ead(0x224)](_0x3adcb3);this[_0x254ead(0x218)]++,this[_0x254ead(0x209)](_0x3adcb3,_0x1c1d80),this[_0x254ead(0x206)]();}),this[_0x535ef9(0x248)](_0x5c9545[_0x535ef9(0x233)],_0x535ef9(0x243),(_0x58421f,_0x20ab4a)=>{const _0x3135c6=_0x535ef9;this[_0x3135c6(0x218)]--,this[_0x3135c6(0x21e)](_0x20ab4a),this[_0x3135c6(0x206)]();}),this[_0x535ef9(0x248)](_0x5c9545,_0x535ef9(0x24e),()=>this[_0x535ef9(0x206)]()),this[_0x535ef9(0x248)](_0x5c9545,_0x535ef9(0x217),()=>this[_0x535ef9(0x220)]()),this['on'](_0x535ef9(0x249),()=>this[_0x535ef9(0x206)]()),this['on'](_0x535ef9(0x1f4),()=>this[_0x535ef9(0x206)]()),this[_0x535ef9(0x1f9)]({'tag':'ul','attributes':{'class':[_0x535ef9(0x216),_0x437e35['if'](_0x535ef9(0x218),_0x535ef9(0x208),_0x55fd9f=>!_0x55fd9f)],'aria-label':_0x5e02b2(_0x3236f4,_0x535ef9(0x21d))},'children':this[_0x535ef9(0x23b)]});}get[_0x5e3f0e(0x23c)](){const _0x440152=_0x5e3f0e;return this[_0x440152(0x222)][_0x440152(0x231)]>this[_0x440152(0x20f)][_0x440152(0x24f)]&&!this[_0x440152(0x202)]&&!this[_0x440152(0x21f)];}[_0x5e3f0e(0x246)](){const _0x1a6405=_0x5e3f0e;super[_0x1a6405(0x246)](),this[_0x1a6405(0x206)](),this[_0x1a6405(0x22d)]();}[_0x5e3f0e(0x251)](_0x5373a9){const _0x4ce72b=_0x5e3f0e;-0x1===_0x5373a9?this[_0x4ce72b(0x1f2)][_0x4ce72b(0x241)]():this[_0x4ce72b(0x1f2)][_0x4ce72b(0x235)]();}[_0x5e3f0e(0x1fe)](){const _0xbfffdb=_0x5e3f0e;this[_0xbfffdb(0x214)][_0xbfffdb(0x1fe)]();for(const _0x55fea4 of this[_0xbfffdb(0x1fb)])_0x55fea4[_0xbfffdb(0x1fe)]();super[_0xbfffdb(0x1fe)]();}[_0x5e3f0e(0x206)](){const _0x16f428=_0x5e3f0e;this[_0x16f428(0x23c)]?this[_0x16f428(0x22c)]():this[_0x16f428(0x1f5)]();}[_0x5e3f0e(0x209)](_0x4f20c1,_0x24aacd){const _0x3496e1=_0x5e3f0e,_0x26ec49=new this[(_0x3496e1(0x20f))][(_0x3496e1(0x212))](this[_0x3496e1(0x221)],_0x4f20c1,{'maxCommentCharsWhenCollapsed':this[_0x3496e1(0x20f)][_0x3496e1(0x237)],'formatDateTime':this[_0x3496e1(0x20f)][_0x3496e1(0x24d)],'editorConfig':this[_0x3496e1(0x20f)][_0x3496e1(0x229)]});_0x26ec49[_0x3496e1(0x201)]=_0x4f20c1['id'],_0x26ec49[_0x3496e1(0x223)](_0x3496e1(0x1f6))['to'](this),_0x26ec49[_0x3496e1(0x223)](_0x3496e1(0x20e))['to'](this),_0x26ec49[_0x3496e1(0x223)](_0x3496e1(0x21c))['to'](this),_0x26ec49[_0x3496e1(0x223)](_0x3496e1(0x20c))['to'](this),_0x26ec49[_0x3496e1(0x223)](_0x3496e1(0x23a))['to'](this),this[_0x3496e1(0x248)](_0x26ec49,_0x3496e1(0x1ff),()=>this[_0x3496e1(0x240)]()),this[_0x3496e1(0x1fb)][_0x3496e1(0x23e)](_0x26ec49,_0x24aacd);}[_0x5e3f0e(0x224)](_0x5decb4){const _0x2fe84f=_0x5e3f0e,_0x17d22e=this[_0x2fe84f(0x222)][_0x2fe84f(0x245)](_0x5decb4);return this[_0x2fe84f(0x232)]?this[_0x2fe84f(0x232)][_0x2fe84f(0x227)]>_0x5decb4[_0x2fe84f(0x227)]?_0x17d22e-0x1:_0x17d22e:_0x17d22e-0x1;}[_0x5e3f0e(0x220)](){const _0x502bcc=_0x5e3f0e;if(this[_0x502bcc(0x222)][_0x502bcc(0x20d)]&&this[_0x502bcc(0x222)][_0x502bcc(0x21a)]){const _0x5298a6={'id':_0x502bcc(0x1f8),'author':this[_0x502bcc(0x222)][_0x502bcc(0x20d)],'authoredAt':this[_0x502bcc(0x222)][_0x502bcc(0x21a)],'content':_0x5e02b2(this[_0x502bcc(0x221)],_0x502bcc(0x215)),'attributes':{}};this[_0x502bcc(0x232)]=new this[(_0x502bcc(0x20f))][(_0x502bcc(0x212))](this[_0x502bcc(0x221)],_0x5298a6,{'maxCommentCharsWhenCollapsed':this[_0x502bcc(0x20f)][_0x502bcc(0x237)],'formatDateTime':this[_0x502bcc(0x20f)][_0x502bcc(0x24d)],'editorConfig':this[_0x502bcc(0x20f)][_0x502bcc(0x229)],'isSystemComment':!0x0}),this[_0x502bcc(0x1fb)][_0x502bcc(0x23e)](this[_0x502bcc(0x232)],this[_0x502bcc(0x222)][_0x502bcc(0x245)](_0x5298a6));}else this[_0x502bcc(0x232)]&&(this[_0x502bcc(0x1fb)][_0x502bcc(0x243)](this[_0x502bcc(0x232)]),this[_0x502bcc(0x232)][_0x502bcc(0x1fe)](),this[_0x502bcc(0x232)]=null);this[_0x502bcc(0x206)]();}[_0x5e3f0e(0x21e)](_0xf95c46){const _0x3fabb9=_0x5e3f0e,_0x24fd89=this[_0x3fabb9(0x1fb)][_0x3fabb9(0x243)](_0xf95c46['id']);this[_0x3fabb9(0x238)](_0x24fd89),_0x24fd89[_0x3fabb9(0x1fa)]&&this[_0x3fabb9(0x240)](),_0x24fd89[_0x3fabb9(0x1fe)]();}[_0x5e3f0e(0x240)](){const _0x1d9c55=_0x5e3f0e;this[_0x1d9c55(0x21f)]=Array[_0x1d9c55(0x207)](this[_0x1d9c55(0x1fb)])[_0x1d9c55(0x23d)](_0x860a53=>_0x860a53[_0x1d9c55(0x1fa)]);}[_0x5e3f0e(0x22c)](){const _0xc459de=_0x5e3f0e,_0x2085bb=function(_0x49746f){const _0x46d375=_0x469f,_0x3adfb4=new _0x4ace4a();for(const _0x1c6aed of _0x49746f)_0x3adfb4[_0x46d375(0x23e)](_0x1c6aed);return _0x3adfb4;}(this[_0xc459de(0x1fb)]),_0x3fe8f8=this[_0xc459de(0x214)][_0xc459de(0x204)];for(let _0x5abd21=0x1;_0x5abd21<=_0x3fe8f8;_0x5abd21++)_0x2085bb[_0xc459de(0x243)](0x1);for(const _0xa5048d of _0x2085bb)_0xa5048d[_0xc459de(0x1fc)]();_0x3fe8f8>0x0&&_0x2085bb[_0xc459de(0x23e)](this[_0xc459de(0x214)],0x1),ns(_0x19a8d0(Array[_0xc459de(0x207)](this[_0xc459de(0x23b)]),Array[_0xc459de(0x207)](_0x2085bb)),this[_0xc459de(0x23b)],_0x2085bb);}[_0x5e3f0e(0x1f5)](){const _0x261d7e=_0x5e3f0e;ns(_0x19a8d0(Array[_0x261d7e(0x207)](this[_0x261d7e(0x23b)]),Array[_0x261d7e(0x207)](this[_0x261d7e(0x1fb)])),this[_0x261d7e(0x23b)],this[_0x261d7e(0x1fb)]);for(const _0x40bc26 of this[_0x261d7e(0x23b)])_0x40bc26[_0x261d7e(0x203)]();}[_0x5e3f0e(0x22d)](){const _0xd7c990=_0x5e3f0e;this[_0xd7c990(0x1fb)][_0xd7c990(0x236)](_0x7e5d38=>{const _0x45a226=_0xd7c990;this[_0x45a226(0x1f3)][_0x45a226(0x23e)](_0x7e5d38[_0x45a226(0x234)]),this[_0x45a226(0x23f)][_0x45a226(0x248)](_0x7e5d38[_0x45a226(0x234)]);}),this[_0xd7c990(0x1fb)]['on'](_0xd7c990(0x22e),(_0xb7253,_0x2e04f2)=>{const _0x1cfc6b=_0xd7c990;for(const _0x531e1e of _0x2e04f2[_0x1cfc6b(0x24a)])this[_0x1cfc6b(0x1f3)][_0x1cfc6b(0x243)](_0x531e1e[_0x1cfc6b(0x234)]),this[_0x1cfc6b(0x23f)][_0x1cfc6b(0x238)](_0x531e1e[_0x1cfc6b(0x234)]);for(const _0x26f564 of Array[_0x1cfc6b(0x207)](_0x2e04f2[_0x1cfc6b(0x242)])[_0x1cfc6b(0x211)]())this[_0x1cfc6b(0x1f3)][_0x1cfc6b(0x23e)](_0x26f564[_0x1cfc6b(0x234)]),this[_0x1cfc6b(0x23f)][_0x1cfc6b(0x248)](_0x26f564[_0x1cfc6b(0x234)]);});}}function ns(_0x6c7fbf,_0xd62433,_0x51eba1){const _0x4a953d=_0x5e3f0e;let _0x5d1c4f=0x0;for(const _0x5733bd of _0x6c7fbf)switch(_0x5733bd){case _0x4a953d(0x1f1):_0xd62433[_0x4a953d(0x23e)](_0x51eba1[_0x4a953d(0x213)](_0x5d1c4f),_0x5d1c4f),_0x5d1c4f++;break;case _0x4a953d(0x200):_0xd62433[_0x4a953d(0x243)](_0x5d1c4f);break;case _0x4a953d(0x20a):_0x5d1c4f++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cffcd=_0x4e51;(function(_0x10e77b,_0xe811c9){const _0x44b508=_0x4e51,_0x1b9373=_0x10e77b();while(!![]){try{const _0x1423df=parseInt(_0x44b508(0x1e2))/0x1+parseInt(_0x44b508(0x1e9))/0x2+-parseInt(_0x44b508(0x1e1))/0x3*(parseInt(_0x44b508(0x1e7))/0x4)+-parseInt(_0x44b508(0x1ed))/0x5*(parseInt(_0x44b508(0x1e0))/0x6)+-parseInt(_0x44b508(0x1de))/0x7*(-parseInt(_0x44b508(0x1ea))/0x8)+parseInt(_0x44b508(0x1e4))/0x9+-parseInt(_0x44b508(0x1e5))/0xa*(-parseInt(_0x44b508(0x1e8))/0xb);if(_0x1423df===_0xe811c9)break;else _0x1b9373['push'](_0x1b9373['shift']());}catch(_0x2f6cf7){_0x1b9373['push'](_0x1b9373['shift']());}}}(_0x4d83,0x95de6));function _0x4d83(){const _0x2f6210=['297233lUMCBT','element','5686749RbZHvQ','7730190ZddTbn','THREAD_CONTEXT_LABEL','4uHfmzP','11IvBzSQ','1005516ZArKyL','8MgHdjL','span','contextValue','913970bRVDbl','focus','setTemplate','set','ck-context__value','1632638ufODUi','bindTemplate','30nawriz','2730819AXuBhv'];_0x4d83=function(){return _0x2f6210;};return _0x4d83();}import{View as _0x597311}from'ckeditor5/src/ui.js';function _0x4e51(_0x141a21,_0x16deb5){const _0x4d830f=_0x4d83();return _0x4e51=function(_0x4e5185,_0x48aab0){_0x4e5185=_0x4e5185-0x1db;let _0x45ee42=_0x4d830f[_0x4e5185];return _0x45ee42;},_0x4e51(_0x141a21,_0x16deb5);}import{getTranslation as _0x4da8ed}from'../../../utils/common-translations.js';export default class as extends _0x597311{constructor(_0x1e06c0){const _0x2257e2=_0x4e51;super(_0x1e06c0);const _0x2bb4bb=this[_0x2257e2(0x1df)];this[_0x2257e2(0x1dc)](_0x2257e2(0x1ec),''),this[_0x2257e2(0x1db)]({'tag':_0x2257e2(0x1eb),'attributes':{'class':['ck',_0x2257e2(0x1dd)],'aria-label':_0x2bb4bb['to'](_0x2257e2(0x1ec),_0x5ab1a6=>_0x4da8ed(_0x1e06c0,_0x2257e2(0x1e6),_0x5ab1a6)),'tabindex':-0x1},'children':[{'text':_0x2bb4bb['to'](_0x2257e2(0x1ec))}]});}[_0x5cffcd(0x1ee)](){const _0x558191=_0x5cffcd;this[_0x558191(0x1e3)][_0x558191(0x1ee)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x58df(_0x446c71,_0x2357a3){const _0x5a2bbf=_0x5a2b();return _0x58df=function(_0x58dffb,_0x1e921a){_0x58dffb=_0x58dffb-0x1b9;let _0x1d4dd4=_0x5a2bbf[_0x58dffb];return _0x1d4dd4;},_0x58df(_0x446c71,_0x2357a3);}const _0xba66f8=_0x58df;(function(_0x283a5e,_0x46eb4e){const _0x4df267=_0x58df,_0x221d54=_0x283a5e();while(!![]){try{const _0x4cf15e=-parseInt(_0x4df267(0x1fa))/0x1*(-parseInt(_0x4df267(0x1de))/0x2)+parseInt(_0x4df267(0x1d5))/0x3*(parseInt(_0x4df267(0x1d1))/0x4)+parseInt(_0x4df267(0x1e5))/0x5+-parseInt(_0x4df267(0x1e3))/0x6*(-parseInt(_0x4df267(0x1ba))/0x7)+parseInt(_0x4df267(0x1db))/0x8+-parseInt(_0x4df267(0x1c1))/0x9+-parseInt(_0x4df267(0x1ea))/0xa;if(_0x4cf15e===_0x46eb4e)break;else _0x221d54['push'](_0x221d54['shift']());}catch(_0x30f685){_0x221d54['push'](_0x221d54['shift']());}}}(_0x5a2b,0xb6d97));function _0x5a2b(){const _0x47aa16=['reopenButtonView','ck-context--quotes','context','_trimContextValue','execute','isResolved','1267021HbNVKQ','bindTemplate','offsetWidth','focusFirst','isEnabled','setTemplate','ck-annotation__actions','keystrokes','1757MepouH','locale','shift+tab','focusables','overlay','fire','tab','8290602yWaQrP','isReadOnly','mouseenter','_createContextView','mouseleave','_setupKeyboardNavigation','classList','substring','isVisible','Comment\x20was\x20made\x20on\x20an\x20element','focus','contextView','render','length','isResolvable','div','315172kytAlL','ck-context','contextValue','focusCycler','54reYVSu','querySelector','hasContext','reopenCommentThread','ck-thread__header','_attachContextActions','4322024OYdrjn','listenTo','label','2Sjlibv','.ck-context','icon','lastIndexOf','...','5736tOfJgu','value','4951040dUBbmm','bind','Reopen','remove','_model','27855830VfpzBq','_createReopenButton','scrollWidth','tooltip','add','ck-context-wrapper','createCollection','focusTracker','.ck-context__value','element'];_0x5a2b=function(){return _0x47aa16;};return _0x5a2b();}import{View as _0x573d0a,ButtonView as _0x1fb1cf,FocusCycler as _0x44c3cc}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5ab8ca,KeystrokeHandler as _0x5b9186}from'ckeditor5/src/utils.js';import{IconUndo as _0x5380f1}from'ckeditor5/src/icons.js';import{getTranslation as _0x235ec4}from'../../../utils/common-translations.js';import _0x4e2c4b from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x573d0a{[_0xba66f8(0x1e9)];[_0xba66f8(0x1f4)];[_0xba66f8(0x1cc)];[_0xba66f8(0x1bd)];[_0xba66f8(0x1f1)];[_0xba66f8(0x1b9)];[_0xba66f8(0x1d4)];constructor(_0x52865f,_0x34e745){const _0x1788c6=_0xba66f8;super(_0x52865f);const _0x1fdd08=this[_0x1788c6(0x1fb)];this[_0x1788c6(0x1e9)]=_0x34e745,this[_0x1788c6(0x1f4)]=this[_0x1788c6(0x1eb)](),this[_0x1788c6(0x1cc)]=this[_0x1788c6(0x1c4)](),this[_0x1788c6(0x1bd)]=this[_0x1788c6(0x1f0)]([this[_0x1788c6(0x1cc)],this[_0x1788c6(0x1f4)]]),this[_0x1788c6(0x1f1)]=new _0x5ab8ca(),this[_0x1788c6(0x1b9)]=new _0x5b9186(),this[_0x1788c6(0x1d4)]=new _0x44c3cc({'focusables':this[_0x1788c6(0x1bd)],'focusTracker':this[_0x1788c6(0x1f1)],'keystrokeHandler':this[_0x1788c6(0x1b9)],'actions':{'focusPrevious':_0x1788c6(0x1bc),'focusNext':_0x1788c6(0x1c0)}}),this[_0x1788c6(0x1e6)](_0x1788c6(0x1d7))['to'](this[_0x1788c6(0x1e9)],_0x1788c6(0x1f6),_0x41e4a4=>!!_0x41e4a4),this[_0x1788c6(0x1e6)](_0x1788c6(0x1d3))['to'](this[_0x1788c6(0x1e9)],_0x1788c6(0x1f6),_0x5782d8=>_0x5782d8&&_0x5782d8[_0x1788c6(0x1e4)]?this[_0x1788c6(0x1f7)](_0x5782d8[_0x1788c6(0x1e4)]):_0x235ec4(this[_0x1788c6(0x1bb)],_0x1788c6(0x1ca))),this[_0x1788c6(0x1ff)]({'tag':_0x1788c6(0x1d0),'attributes':{'class':[_0x1788c6(0x1d9)]},'children':[{'tag':_0x1788c6(0x1d0),'attributes':{'class':[_0x1788c6(0x1ef)]},'children':[{'tag':_0x1788c6(0x1d0),'attributes':{'class':[_0x1788c6(0x1d2),_0x1fdd08['if'](_0x1788c6(0x1d7),_0x1788c6(0x1f5))]},'children':[this[_0x1788c6(0x1cc)]]}]},{'tag':_0x1788c6(0x1d0),'attributes':{'class':[_0x1788c6(0x200)]},'children':[this[_0x1788c6(0x1f4)]]}]});}[_0xba66f8(0x1cd)](){const _0x4aded8=_0xba66f8;super[_0x4aded8(0x1cd)](),this[_0x4aded8(0x1da)](),this[_0x4aded8(0x1c6)]();}[_0xba66f8(0x1cb)](){const _0x457fed=_0xba66f8;this[_0x457fed(0x1d4)][_0x457fed(0x1fd)]();}[_0xba66f8(0x1eb)](){const _0x40fefd=_0xba66f8,_0xe6e892=new _0x1fb1cf(this[_0x40fefd(0x1bb)]);return _0xe6e892[_0x40fefd(0x1dd)]=_0x235ec4(this[_0x40fefd(0x1bb)],_0x40fefd(0x1e7)),_0xe6e892[_0x40fefd(0x1ed)]=_0x235ec4(this[_0x40fefd(0x1bb)],_0x40fefd(0x1e7)),_0xe6e892[_0x40fefd(0x1e0)]=_0x5380f1,_0xe6e892[_0x40fefd(0x1e6)](_0x40fefd(0x1fe))['to'](this[_0x40fefd(0x1e9)],_0x40fefd(0x1c2),_0x691b26=>!_0x691b26),_0xe6e892[_0x40fefd(0x1e6)](_0x40fefd(0x1c9))['to'](this[_0x40fefd(0x1e9)],_0x40fefd(0x1cf),this[_0x40fefd(0x1e9)],_0x40fefd(0x1f9),(_0x1cf934,_0x4be881)=>_0x1cf934&&_0x4be881),_0xe6e892['on'](_0x40fefd(0x1f8),()=>{const _0xb0e1ed=_0x40fefd;this[_0xb0e1ed(0x1bf)](_0xb0e1ed(0x1d8),this[_0xb0e1ed(0x1e9)]['id']);}),_0xe6e892;}[_0xba66f8(0x1f7)](_0x41db8f){const _0x12e049=_0xba66f8;if(_0x41db8f[_0x12e049(0x1ce)]<0x96)return _0x41db8f;const _0x55465e=_0x41db8f[_0x12e049(0x1e1)]('\x20',0x93);return _0x41db8f[_0x12e049(0x1c8)](0x0,_0x55465e>-0x1?_0x55465e:0x93)+_0x12e049(0x1e2);}[_0xba66f8(0x1da)](){const _0x160cee=_0xba66f8,_0x177302=this[_0x160cee(0x1f3)][_0x160cee(0x1d6)](_0x160cee(0x1df)),_0x58da99=_0x177302[_0x160cee(0x1d6)](_0x160cee(0x1f2));this[_0x160cee(0x1dc)](_0x177302,_0x160cee(0x1c3),()=>{const _0x5ecc77=_0x160cee;_0x58da99[_0x5ecc77(0x1fc)]<_0x58da99[_0x5ecc77(0x1ec)]&&_0x177302[_0x5ecc77(0x1c7)][_0x5ecc77(0x1ee)](_0x5ecc77(0x1be));}),this[_0x160cee(0x1dc)](_0x177302,_0x160cee(0x1c5),()=>{const _0x157d05=_0x160cee;_0x177302[_0x157d05(0x1c7)][_0x157d05(0x1e8)](_0x157d05(0x1be));});}[_0xba66f8(0x1c6)](){const _0x1b3648=_0xba66f8;this[_0x1b3648(0x1b9)][_0x1b3648(0x1dc)](this[_0x1b3648(0x1f3)]);for(const _0x227751 of this[_0x1b3648(0x1bd)])this[_0x1b3648(0x1f1)][_0x1b3648(0x1ee)](_0x227751[_0x1b3648(0x1f3)]),this[_0x1b3648(0x1b9)][_0x1b3648(0x1dc)](_0x227751[_0x1b3648(0x1f3)]);}[_0xba66f8(0x1c4)](){const _0x58619d=_0xba66f8,_0x494c2f=new _0x4e2c4b(this[_0x58619d(0x1bb)]);return _0x494c2f[_0x58619d(0x1e6)](_0x58619d(0x1d3))['to'](this),_0x494c2f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x527976=_0x2524;(function(_0xc6e783,_0x308c50){const _0x42fef6=_0x2524,_0x1cd69d=_0xc6e783();while(!![]){try{const _0x1ab81d=-parseInt(_0x42fef6(0x11c))/0x1*(parseInt(_0x42fef6(0x13c))/0x2)+-parseInt(_0x42fef6(0x13e))/0x3*(parseInt(_0x42fef6(0x143))/0x4)+parseInt(_0x42fef6(0x12f))/0x5*(-parseInt(_0x42fef6(0x148))/0x6)+-parseInt(_0x42fef6(0x14a))/0x7*(-parseInt(_0x42fef6(0x133))/0x8)+-parseInt(_0x42fef6(0x150))/0x9*(parseInt(_0x42fef6(0x135))/0xa)+parseInt(_0x42fef6(0x122))/0xb*(parseInt(_0x42fef6(0x142))/0xc)+-parseInt(_0x42fef6(0x130))/0xd*(-parseInt(_0x42fef6(0x12a))/0xe);if(_0x1ab81d===_0x308c50)break;else _0x1cd69d['push'](_0x1cd69d['shift']());}catch(_0x43a65c){_0x1cd69d['push'](_0x1cd69d['shift']());}}}(_0x1bf8,0x25ba3));function _0x1bf8(){const _0x144f18=['contains','35GcBrzj','listenTo','some','view','setTemplate','then','9567hIIehH','extendTemplate','8689mjktHd','bindTemplate','target','editorReady','ck-comment__input-container--active','value','1223101ceelJL','createEditor','focusCycler','delegate','_focusOnNonInteractiveMouseDown','ck-thread__user','filter','focus','1918sWlFhF','mousedown','preventDefault','element','userView','85TBsDcZ','49855kMuFuM','render','destroy','90176dvuiDb','editorDestroyed','2410XjDwyT','showInput','editing','showButtons','focusTracker','ck-comment__input-container','bind','10YNxokm','set','3imgKWq','commentInputView','getDomRoot','change:showInput','12zmhsbX','945424XxMCVZ','div','editor','isFocused','ck-thread__input','858lSnhtL'];_0x1bf8=function(){return _0x144f18;};return _0x1bf8();}import{View as _0x33d982}from'ckeditor5/src/ui.js';import _0x346aa0 from'./commentinputview.js';import{UserView as _0x2f96aa}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2524(_0x109dd8,_0x15aaaf){const _0x1bf89b=_0x1bf8();return _0x2524=function(_0x25244b,_0x4004ff){_0x25244b=_0x25244b-0x11c;let _0x1ec533=_0x1bf89b[_0x25244b];return _0x1ec533;},_0x2524(_0x109dd8,_0x15aaaf);}export default class ie extends _0x33d982{constructor(_0x25a2e1,_0x26b82c,_0x8338ef){const _0x428009=_0x2524;super(_0x25a2e1),this[_0x428009(0x13f)]=new _0x346aa0(_0x25a2e1,_0x8338ef),this[_0x428009(0x124)]=this[_0x428009(0x13f)][_0x428009(0x124)],this[_0x428009(0x13f)][_0x428009(0x13b)](_0x428009(0x138))['to'](this[_0x428009(0x13f)][_0x428009(0x139)],_0x428009(0x146),this[_0x428009(0x13f)],_0x428009(0x121),(_0x31f90f,_0x1f344e)=>_0x31f90f||!!_0x1f344e),this[_0x428009(0x13d)](_0x428009(0x136),!0x1),this['on'](_0x428009(0x141),()=>{const _0x1a6e9d=_0x428009;this[_0x1a6e9d(0x136)]&&!this[_0x1a6e9d(0x13f)][_0x1a6e9d(0x145)]&&this[_0x1a6e9d(0x13f)][_0x1a6e9d(0x123)]();}),this[_0x428009(0x13f)][_0x428009(0x125)](_0x428009(0x11f))['to'](this),this[_0x428009(0x13f)][_0x428009(0x125)](_0x428009(0x134))['to'](this),this[_0x428009(0x12e)]=new _0x2f96aa(_0x25a2e1,_0x26b82c),this[_0x428009(0x12e)][_0x428009(0x151)]({'attributes':{'class':_0x428009(0x127),'aria-hidden':!0x0}}),this[_0x428009(0x13f)][_0x428009(0x151)]({'attributes':{'class':_0x428009(0x147)}}),this[_0x428009(0x14e)]({'tag':_0x428009(0x144),'attributes':{'class':[_0x428009(0x13a),this[_0x428009(0x11d)]['if'](_0x428009(0x136),_0x428009(0x120))]},'children':[this[_0x428009(0x12e)],this[_0x428009(0x13f)]]});}[_0x527976(0x131)](){const _0x2f22c5=_0x527976;super[_0x2f22c5(0x131)](),this[_0x2f22c5(0x126)]();}[_0x527976(0x132)](){const _0x2d701a=_0x527976;return this[_0x2d701a(0x13f)][_0x2d701a(0x132)]()[_0x2d701a(0x14f)](()=>super[_0x2d701a(0x132)]());}[_0x527976(0x129)](_0x159d7b){const _0x1080f3=_0x527976;this[_0x1080f3(0x13f)][_0x1080f3(0x129)](_0x159d7b);}[_0x527976(0x126)](){const _0x11b6a3=_0x527976;this[_0x11b6a3(0x14b)](this[_0x11b6a3(0x12d)],_0x11b6a3(0x12b),(_0x129064,_0x4dbb08)=>{const _0x189551=_0x11b6a3,{submitButtonView:_0x46e204,cancelButtonView:_0x5975ef,editor:_0x4404a3}=this[_0x189551(0x13f)];[_0x46e204[_0x189551(0x12d)],_0x5975ef[_0x189551(0x12d)],_0x4404a3?_0x4404a3[_0x189551(0x137)][_0x189551(0x14d)][_0x189551(0x140)]():null][_0x189551(0x128)](_0x5ec319=>_0x5ec319)[_0x189551(0x14c)](_0x21bf85=>_0x21bf85[_0x189551(0x149)](_0x4dbb08[_0x189551(0x11e)]))||(this[_0x189551(0x129)](),_0x4dbb08[_0x189551(0x12c)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x43ce09=_0x4de2;function _0x4de2(_0x1ee876,_0x34c9ac){const _0x493574=_0x4935();return _0x4de2=function(_0x4de22b,_0x3fa130){_0x4de22b=_0x4de22b-0x1d9;let _0x588902=_0x493574[_0x4de22b];return _0x588902;},_0x4de2(_0x1ee876,_0x34c9ac);}(function(_0x3a8fe5,_0x4460d0){const _0x23832d=_0x4de2,_0x4489ec=_0x3a8fe5();while(!![]){try{const _0x2cd1a5=-parseInt(_0x23832d(0x212))/0x1*(-parseInt(_0x23832d(0x1f4))/0x2)+-parseInt(_0x23832d(0x200))/0x3*(parseInt(_0x23832d(0x1ed))/0x4)+parseInt(_0x23832d(0x1de))/0x5+parseInt(_0x23832d(0x207))/0x6*(parseInt(_0x23832d(0x1ee))/0x7)+-parseInt(_0x23832d(0x229))/0x8+-parseInt(_0x23832d(0x1e8))/0x9*(-parseInt(_0x23832d(0x208))/0xa)+parseInt(_0x23832d(0x204))/0xb;if(_0x2cd1a5===_0x4460d0)break;else _0x4489ec['push'](_0x4489ec['shift']());}catch(_0x216e8c){_0x4489ec['push'](_0x4489ec['shift']());}}}(_0x4935,0x3d9bc));import{ConfirmMixin as _0x25a17e,LateFocusButtonView as _0x3d5085}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x462930}from'ckeditor5/src/icons.js';import _0x1d94dd from'./basecommentthreadview.js';function _0x4935(){const _0xe0d889=['commentThreadChildren','createCollection','add','isEnabled','label','listitem','_cancelAllConfirms','isVisible','length','37629UtvlBa','isActive','_model','removeButton','_createResolveButton','107728eZDqKT','805931CuZASu','ck-thread','isReadOnly','_boundFirstCommentView','isUnlinked','Resolve','341078FHStNd','bind','cancelConfirm','Delete\x20comment\x20thread?','ck-thread__container','resolveCommentThread','get','removeConfirm','execute','Write\x20a\x20comment...','showConfirm','ck-reset_all-excluded','30eeZpUS','focusables','_bindFirstCommentView','commentViews','2181619YOneyV','render','isResolved','6LUuegl','660lRRmxY','fire','commentThreadHeaderView','_updateArchivedThreadHeader','ariaLabel','change:isReadOnly','actionBar','removeCommentThread','isConfirm','div','1AMtXXG','element','has','ck-thread--unlinked','unbind','isSystemComment','tooltip','extendTemplate','commentsListView','containerElement','ck-thread--','ck-rounded-corners','bindTemplate','set','remove','ck-comment--resolve','resolveButton','archivedAt','ariaDescriptionView','then','stop','querySelector','getTemplate','2724688QOYkTK','ck-thread--active','actionIndicator','listenTo','locale','icon','isResolvable','.ck-thread__container','change:archivedAt','ck-thread--remove-confirmation','high','change:isActive','focus','placeholder','setTemplate','commentThreadInputView','511535LpShWa'];_0x4935=function(){return _0xe0d889;};return _0x4935();}import{getTranslation as _0x48e479}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25a17e(_0x1d94dd){[_0x43ce09(0x1df)];[_0x43ce09(0x21b)];[_0x43ce09(0x222)];[_0x43ce09(0x1f1)];constructor(_0x4382b5,_0x4cbf96,_0x2f5d11,_0x613caf){const _0x2cb4b6=_0x43ce09;super(_0x4382b5,_0x4cbf96,_0x2f5d11,_0x613caf),this[_0x2cb4b6(0x1df)]=this[_0x2cb4b6(0x1e0)]([this[_0x2cb4b6(0x21a)],this[_0x2cb4b6(0x1dd)],this[_0x2cb4b6(0x224)]]),this[_0x2cb4b6(0x21f)](_0x2cb4b6(0x22b),null),this[_0x2cb4b6(0x21b)]=null,this[_0x2cb4b6(0x1f1)]=null,this[_0x2cb4b6(0x22d)]=_0x4382b5,this[_0x2cb4b6(0x222)]=this[_0x2cb4b6(0x1ec)](),this[_0x2cb4b6(0x1dc)](this[_0x2cb4b6(0x228)]()),this['on'](_0x2cb4b6(0x1d9),(_0x218e14,_0x1ae95d,_0x4f45af)=>{const _0x260e18=_0x2cb4b6;_0x4f45af||this[_0x260e18(0x1e5)]();}),this[_0x2cb4b6(0x22c)](this[_0x2cb4b6(0x1ea)],_0x2cb4b6(0x20d),(_0x4256e6,_0x2202a4,_0x3eca1f)=>{const _0x4db1fb=_0x2cb4b6;_0x3eca1f&&this[_0x4db1fb(0x1e5)]();}),this[_0x2cb4b6(0x1e7)]>0x0&&this[_0x2cb4b6(0x202)](),this[_0x2cb4b6(0x22c)](this[_0x2cb4b6(0x21a)][_0x2cb4b6(0x203)],_0x2cb4b6(0x1e1),()=>{const _0x3f4192=_0x2cb4b6;this[_0x3f4192(0x202)]();});}[_0x43ce09(0x228)](){const _0x51fadb=_0x43ce09,_0x3fffc3=this[_0x51fadb(0x21e)];return{'tag':_0x51fadb(0x211),'attributes':{'class':['ck',_0x51fadb(0x1ef),_0x51fadb(0x1ff),_0x51fadb(0x21d),_0x3fffc3['if'](_0x51fadb(0x1e9),_0x51fadb(0x22a)),_0x3fffc3['if'](_0x51fadb(0x1f2),_0x51fadb(0x215)),_0x3fffc3['if'](_0x51fadb(0x210),_0x51fadb(0x232)),_0x3fffc3['to'](_0x51fadb(0x22b),_0x35e022=>_0x35e022?_0x51fadb(0x21c)+_0x35e022:'')],'data-thread-id':this[_0x51fadb(0x1ea)]['id'],'tabindex':0x0,'role':_0x51fadb(0x1e4),'aria-label':_0x3fffc3['to'](_0x51fadb(0x20c)),'aria-describedby':this[_0x51fadb(0x224)]['id']},'children':[{'tag':_0x51fadb(0x211),'attributes':{'class':_0x51fadb(0x1f8)},'children':this[_0x51fadb(0x1df)]}]};}[_0x43ce09(0x205)](){const _0x2685a0=_0x43ce09;super[_0x2685a0(0x205)](),this[_0x2685a0(0x21b)]=this[_0x2685a0(0x213)][_0x2685a0(0x227)](_0x2685a0(0x230)),this[_0x2685a0(0x1ea)]['on'](_0x2685a0(0x231),()=>{const _0x55f0ef=_0x2685a0;this[_0x55f0ef(0x20b)]();}),this[_0x2685a0(0x20b)]();}[_0x43ce09(0x1e5)](){const _0x47f978=_0x43ce09;this[_0x47f978(0x1f6)]();for(const _0x50ca7a of this[_0x47f978(0x21a)][_0x47f978(0x203)])_0x50ca7a[_0x47f978(0x1f6)]();}[_0x43ce09(0x202)](){const _0x4d25d5=_0x43ce09,{locale:_0x215a4e}=this,_0x3c3427=this[_0x4d25d5(0x21a)][_0x4d25d5(0x203)][_0x4d25d5(0x1fa)](0x0);_0x3c3427===this[_0x4d25d5(0x1f1)]||_0x3c3427[_0x4d25d5(0x217)]||(this[_0x4d25d5(0x1f1)]=_0x3c3427,this[_0x4d25d5(0x216)](_0x4d25d5(0x22b)),this[_0x4d25d5(0x1f5)](_0x4d25d5(0x22b))['to'](_0x3c3427,_0x4d25d5(0x22b),_0x450b57=>_0x4d25d5(0x220)===_0x450b57?_0x4d25d5(0x220):null),_0x3c3427[_0x4d25d5(0x1db)]=_0x48e479(_0x215a4e,_0x4d25d5(0x1fd)),_0x3c3427[_0x4d25d5(0x1eb)]['on'](_0x4d25d5(0x1fc),_0x53c36b=>{const _0x193e2f=_0x4d25d5;_0x53c36b[_0x193e2f(0x226)](),this[_0x193e2f(0x1fe)](_0x48e479(_0x215a4e,_0x193e2f(0x1f7)),this[_0x193e2f(0x21b)])[_0x193e2f(0x225)](()=>{const _0x41bbb1=_0x193e2f;this[_0x41bbb1(0x209)](_0x41bbb1(0x20f));});},{'priority':_0x4d25d5(0x233)}),this['on'](_0x4d25d5(0x1fb),()=>{const _0x404c00=_0x4d25d5;_0x3c3427[_0x404c00(0x1da)]();}),_0x3c3427[_0x4d25d5(0x20e)][_0x4d25d5(0x1e1)](this[_0x4d25d5(0x222)],0x0),_0x3c3427[_0x4d25d5(0x201)][_0x4d25d5(0x1e1)](this[_0x4d25d5(0x222)],0x0));}[_0x43ce09(0x1ec)](){const _0x49d085=_0x43ce09,_0x161cf7=new _0x3d5085(this[_0x49d085(0x22d)]);return _0x161cf7[_0x49d085(0x1e3)]=_0x48e479(this[_0x49d085(0x22d)],_0x49d085(0x1f3)),_0x161cf7[_0x49d085(0x218)]=_0x48e479(this[_0x49d085(0x22d)],_0x49d085(0x1f3)),_0x161cf7[_0x49d085(0x22e)]=_0x462930,_0x161cf7[_0x49d085(0x219)]({'attributes':{'class':_0x49d085(0x221)}}),_0x161cf7[_0x49d085(0x1f5)](_0x49d085(0x1e2))['to'](this[_0x49d085(0x1ea)],_0x49d085(0x1f0),_0x4916ac=>!_0x4916ac),_0x161cf7[_0x49d085(0x1f5)](_0x49d085(0x1e6))['to'](this[_0x49d085(0x1ea)],_0x49d085(0x22f),this[_0x49d085(0x1ea)],_0x49d085(0x206),(_0x3e0d2b,_0x3d6a4a)=>_0x3e0d2b&&!_0x3d6a4a),_0x161cf7['on'](_0x49d085(0x1fc),()=>{const _0x4277ac=_0x49d085;this[_0x4277ac(0x209)](_0x4277ac(0x1f9),this[_0x4277ac(0x1ea)]['id']);}),_0x161cf7;}[_0x43ce09(0x20b)](){const _0x54a96f=_0x43ce09;this[_0x54a96f(0x1ea)][_0x54a96f(0x223)]?this[_0x54a96f(0x1df)][_0x54a96f(0x214)](this[_0x54a96f(0x20a)])||(this[_0x54a96f(0x1df)][_0x54a96f(0x1e1)](this[_0x54a96f(0x20a)],0x0),this[_0x54a96f(0x201)][_0x54a96f(0x1e1)](this[_0x54a96f(0x20a)],0x0)):this[_0x54a96f(0x1df)][_0x54a96f(0x214)](this[_0x54a96f(0x20a)])&&(this[_0x54a96f(0x1df)][_0x54a96f(0x220)](this[_0x54a96f(0x20a)]),this[_0x54a96f(0x201)][_0x54a96f(0x220)](this[_0x54a96f(0x20a)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x47bc83=_0x53fd;(function(_0x4598ce,_0xd1d901){const _0x4cdfaa=_0x53fd,_0x5c423a=_0x4598ce();while(!![]){try{const _0x21e654=parseInt(_0x4cdfaa(0x237))/0x1*(parseInt(_0x4cdfaa(0x20a))/0x2)+-parseInt(_0x4cdfaa(0x1e4))/0x3+parseInt(_0x4cdfaa(0x225))/0x4+parseInt(_0x4cdfaa(0x201))/0x5*(parseInt(_0x4cdfaa(0x241))/0x6)+parseInt(_0x4cdfaa(0x213))/0x7*(-parseInt(_0x4cdfaa(0x24b))/0x8)+parseInt(_0x4cdfaa(0x1f7))/0x9+parseInt(_0x4cdfaa(0x1ee))/0xa;if(_0x21e654===_0xd1d901)break;else _0x5c423a['push'](_0x5c423a['shift']());}catch(_0x57f5b8){_0x5c423a['push'](_0x5c423a['shift']());}}}(_0x2491,0x7845e));import{IconRemoveComment as _0x476b2a,IconPencil as _0xe48cea,IconThreeVerticalDots as _0xf3846e}from'ckeditor5/src/icons.js';import{ButtonView as _0x1c7813,createDropdown as _0x3ccf04,ListView as _0x1e1ed3,ListItemView as _0x177c2b,focusChildOnDropdownOpen as _0x26a4f7}from'ckeditor5/src/ui.js';import{UserView as _0x4dc76e,ConfirmMixin as _0x9e8b99,LateFocusDropdownButtonView as _0x397cac}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xeea83 from'./basecommentview.js';function _0x53fd(_0x227745,_0x183fe1){const _0x24917a=_0x2491();return _0x53fd=function(_0x53fdd1,_0x3bdf09){_0x53fdd1=_0x53fdd1-0x1e0;let _0x48e06f=_0x24917a[_0x53fdd1];return _0x48e06f;},_0x53fd(_0x227745,_0x183fe1);}import{getTranslation as _0x38e5ff}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x9e8b99(_0xeea83){[_0x47bc83(0x1e9)];[_0x47bc83(0x214)];constructor(_0x119ff7,_0x387017,_0x180b65){const _0x30cda9=_0x47bc83;super(_0x119ff7,_0x387017,_0x180b65),this[_0x30cda9(0x1f2)](_0x30cda9(0x24d),null),this[_0x30cda9(0x1f2)](_0x30cda9(0x208),_0x38e5ff(_0x119ff7,_0x30cda9(0x215))),this[_0x30cda9(0x21a)](_0x30cda9(0x252))['to'](_0x387017),this[_0x30cda9(0x21a)](_0x30cda9(0x1fd))['to'](_0x387017),this[_0x30cda9(0x1e9)]=this[_0x30cda9(0x22e)](),this[_0x30cda9(0x258)]||(this[_0x30cda9(0x21b)]=this[_0x30cda9(0x223)](),this[_0x30cda9(0x24e)]=this[_0x30cda9(0x1eb)](),this[_0x30cda9(0x249)]=this[_0x30cda9(0x22e)](),this[_0x30cda9(0x249)][_0x30cda9(0x23f)]([this[_0x30cda9(0x21b)],this[_0x30cda9(0x24e)]]),this[_0x30cda9(0x236)]=this[_0x30cda9(0x218)](),this[_0x30cda9(0x1e9)][_0x30cda9(0x248)](this[_0x30cda9(0x236)]),this[_0x30cda9(0x204)][_0x30cda9(0x248)](this[_0x30cda9(0x236)])),this[_0x30cda9(0x214)]=new _0x4dc76e(_0x119ff7,_0x387017[_0x30cda9(0x226)],this[_0x30cda9(0x1e2)]()),this[_0x30cda9(0x214)][_0x30cda9(0x1e7)]({'attributes':{'class':[_0x30cda9(0x23d),_0x30cda9(0x1fb)],'aria-hidden':!0x0}}),this[_0x30cda9(0x1f9)](_0x387017,_0x30cda9(0x257),()=>this[_0x30cda9(0x1ec)]()),this[_0x30cda9(0x222)](this[_0x30cda9(0x240)]());}[_0x47bc83(0x240)](){const _0x2bc9bd=_0x47bc83,_0x2b5f89=this[_0x2bc9bd(0x235)],_0x15621d=[{'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x1e5),_0x2bc9bd(0x24c)]},'children':[{'tag':_0x2bc9bd(0x229),'children':[{'text':this[_0x2bc9bd(0x214)][_0x2bc9bd(0x24f)]}],'attributes':{'class':[_0x2bc9bd(0x216),_0x2bc9bd(0x231)],'data-cke-tooltip-text':this[_0x2bc9bd(0x214)][_0x2bc9bd(0x24f)]}},{'tag':_0x2bc9bd(0x221),'attributes':{'datetime':_0x2b5f89['to'](_0x2bc9bd(0x252)),'class':[_0x2bc9bd(0x239),_0x2bc9bd(0x22b)]},'children':[{'text':_0x2b5f89['to'](_0x2bc9bd(0x252),_0x1c7da3=>this[_0x2bc9bd(0x1ef)][_0x2bc9bd(0x1ed)](_0x1c7da3))}]}]},{'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x1fc),_0x2bc9bd(0x254),_0x2b5f89['if'](_0x2bc9bd(0x1f6),_0x2bc9bd(0x1f8)),_0x2b5f89['if'](_0x2bc9bd(0x1f6),_0x2bc9bd(0x234))]},'children':this[_0x2bc9bd(0x1e9)]},{'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x256)]},'children':this[_0x2bc9bd(0x20e)]},this[_0x2bc9bd(0x22d)]];return this[_0x2bc9bd(0x230)][_0x2bc9bd(0x21c)]&&_0x15621d[_0x2bc9bd(0x242)]({'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x219)]},'children':[{'text':this[_0x2bc9bd(0x1f0)]()}]}),{'tag':'li','attributes':{'class':[_0x2bc9bd(0x238),_0x2b5f89['if'](_0x2bc9bd(0x1e1),_0x2bc9bd(0x200))],'tabindex':-0x1,'aria-label':_0x2b5f89['to'](_0x2bc9bd(0x251)),'aria-describedby':this[_0x2bc9bd(0x22d)]['id'],'role':_0x2bc9bd(0x20d)},'children':[{'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x232),_0x2bc9bd(0x211),_0x2b5f89['if'](_0x2bc9bd(0x1f6),_0x2bc9bd(0x224)),_0x2b5f89['if'](_0x2bc9bd(0x258),_0x2bc9bd(0x21d)),_0x2b5f89['to'](_0x2bc9bd(0x24d),_0x7e5bc0=>_0x7e5bc0?_0x2bc9bd(0x1ff)+_0x7e5bc0:'')],'data-author-id':this[_0x2bc9bd(0x230)][_0x2bc9bd(0x226)]['id'],'data-comment-id':this[_0x2bc9bd(0x230)]['id'],'role':_0x2bc9bd(0x23b)},'children':[this[_0x2bc9bd(0x214)],{'tag':_0x2bc9bd(0x205),'attributes':{'class':[_0x2bc9bd(0x20c),_0x2bc9bd(0x210)]},'children':_0x15621d}]}]};}[_0x47bc83(0x223)](){const _0x1fbf6e=_0x47bc83,_0x1577d8=new _0x1c7813(this[_0x1fbf6e(0x255)]);return _0x1577d8[_0x1fbf6e(0x228)]=_0x38e5ff(this[_0x1fbf6e(0x255)],_0x1fbf6e(0x1fa)),_0x1577d8[_0x1fbf6e(0x20f)]=_0xe48cea,_0x1577d8[_0x1fbf6e(0x247)]=!0x0,_0x1577d8[_0x1fbf6e(0x1e7)]({'attributes':{'class':_0x1fbf6e(0x224)}}),_0x1577d8[_0x1fbf6e(0x21a)](_0x1fbf6e(0x233))['to'](this[_0x1fbf6e(0x230)],_0x1fbf6e(0x207),_0xb988bd=>!_0xb988bd),_0x1577d8[_0x1fbf6e(0x21a)](_0x1fbf6e(0x23e))['to'](this[_0x1fbf6e(0x230)],_0x1fbf6e(0x212)),_0x1577d8['on'](_0x1fbf6e(0x243),()=>this[_0x1fbf6e(0x20b)]()),_0x1577d8;}[_0x47bc83(0x1eb)](){const _0x3a836f=_0x47bc83,_0xfe901e=new _0x1c7813(this[_0x3a836f(0x255)]);return _0xfe901e[_0x3a836f(0x228)]=_0x38e5ff(this[_0x3a836f(0x255)],_0x3a836f(0x1f1)),_0xfe901e[_0x3a836f(0x20f)]=_0x476b2a,_0xfe901e[_0x3a836f(0x247)]=!0x0,_0xfe901e[_0x3a836f(0x1e7)]({'attributes':{'class':_0x3a836f(0x209)}}),_0xfe901e[_0x3a836f(0x21a)](_0x3a836f(0x233))['to'](this[_0x3a836f(0x230)],_0x3a836f(0x207),_0x4a67ab=>!_0x4a67ab),_0xfe901e[_0x3a836f(0x21a)](_0x3a836f(0x23e))['to'](this[_0x3a836f(0x230)],_0x3a836f(0x202)),_0xfe901e['on'](_0x3a836f(0x243),()=>{const _0x30f192=_0x3a836f;this[_0x30f192(0x1e0)](_0x38e5ff(this[_0x30f192(0x255)],_0x30f192(0x22a)),this[_0x30f192(0x1f3)])[_0x30f192(0x1e3)](()=>{const _0x260bfd=_0x30f192;this[_0x260bfd(0x250)](_0x260bfd(0x21e),this[_0x260bfd(0x230)]['id']);});}),_0xfe901e;}[_0x47bc83(0x218)](){const _0x4ea846=_0x47bc83,_0xad231a=_0x3ccf04(this[_0x4ea846(0x255)],_0x397cac),_0x499e5a=_0xad231a[_0x4ea846(0x246)][_0x4ea846(0x22c)],_0x102a90=new _0x1e1ed3(this[_0x4ea846(0x255)]),_0x340b05=_0xad231a[_0x4ea846(0x235)];_0x26a4f7(_0xad231a,()=>this[_0x4ea846(0x249)][_0x4ea846(0x217)](_0x27e8e9=>_0x27e8e9[_0x4ea846(0x23e)])),_0xad231a[_0x4ea846(0x1e7)]({'attributes':{'class':[_0x340b05['if'](_0x4ea846(0x23e),_0x4ea846(0x24a),_0xc1fa33=>!_0xc1fa33)]}});const _0x57fe81=(_0x143427,_0x3f7511=-0x1)=>{const _0x9cb173=_0x4ea846,_0x111327=new _0x177c2b(this[_0x9cb173(0x255)]);_0x111327[_0x9cb173(0x22c)][_0x9cb173(0x248)](_0x143427);const _0x1b3e5f=_0x3f7511>-0x1?_0x3f7511:_0x102a90[_0x9cb173(0x249)][_0x9cb173(0x1fe)];_0x102a90[_0x9cb173(0x249)][_0x9cb173(0x248)](_0x111327,_0x1b3e5f);const _0x51d3e2=Array[_0x9cb173(0x227)](this[_0x9cb173(0x249)]);_0xad231a[_0x9cb173(0x22f)](_0x9cb173(0x233),_0x9cb173(0x23e)),_0xad231a[_0x9cb173(0x21a)](_0x9cb173(0x233))[_0x9cb173(0x220)](_0x51d3e2,_0x9cb173(0x233),(..._0x50e7df)=>_0x50e7df[_0x9cb173(0x1e8)](_0x5823e3=>_0x5823e3)),_0xad231a[_0x9cb173(0x21a)](_0x9cb173(0x23e))[_0x9cb173(0x220)](_0x51d3e2,_0x9cb173(0x23e),(..._0x37846a)=>_0x37846a[_0x9cb173(0x1e8)](_0x850511=>_0x850511));};_0xad231a[_0x4ea846(0x253)]='sw',_0xad231a[_0x4ea846(0x1f5)][_0x4ea846(0x1f2)]({'label':_0x38e5ff(this[_0x4ea846(0x255)],_0x4ea846(0x206)),'icon':_0xf3846e});for(const _0x2f426d of this[_0x4ea846(0x249)])_0x57fe81(_0x2f426d);return _0x499e5a[_0x4ea846(0x248)](_0x102a90),_0xad231a[_0x4ea846(0x1f9)](this[_0x4ea846(0x249)],_0x4ea846(0x248),(_0x161985,_0x51fdd5,_0x4c5616)=>{_0x57fe81(_0x51fdd5,_0x4c5616);}),_0xad231a[_0x4ea846(0x1f9)](this[_0x4ea846(0x249)],_0x4ea846(0x244),(_0x4693b0,_0x243b30,_0x348727)=>{const _0xefeae=_0x4ea846;_0x102a90[_0xefeae(0x249)][_0xefeae(0x244)](_0x348727);}),_0xad231a;}[_0x47bc83(0x1e6)](_0x470e06,_0x611f03){const _0x13aadc=_0x47bc83,_0x348a6e=_0x470e06&&_0x470e06[_0x13aadc(0x1f3)];_0x348a6e&&(this[_0x13aadc(0x1f9)](_0x348a6e,_0x13aadc(0x203),()=>this[_0x13aadc(0x24d)]=_0x611f03),this[_0x13aadc(0x1f9)](_0x348a6e,_0x13aadc(0x245),()=>this[_0x13aadc(0x24d)]=_0x611f03),this[_0x13aadc(0x1f9)](_0x348a6e,_0x13aadc(0x23a),()=>this[_0x13aadc(0x24d)]=null),this[_0x13aadc(0x1f9)](_0x348a6e,_0x13aadc(0x1ea),()=>this[_0x13aadc(0x24d)]=null));}[_0x47bc83(0x21f)](){const _0x3c8d49=_0x47bc83,_0xe4c2c4=super[_0x3c8d49(0x21f)]();return _0xe4c2c4[_0x3c8d49(0x21a)](_0x3c8d49(0x208))['to'](this),_0xe4c2c4;}[_0x47bc83(0x23c)](){const _0x29086b=_0x47bc83;super[_0x29086b(0x23c)](),this[_0x29086b(0x1e6)](this[_0x29086b(0x21b)],_0x29086b(0x1f4)),this[_0x29086b(0x1e6)](this[_0x29086b(0x24e)],_0x29086b(0x244));}}function _0x2491(){const _0xdafedb=['ck-comment--remove-confirmation','5675EnQwxr','isRemovable','mouseenter','focusables','div','Show\x20more\x20items','isReadOnly','placeholder','ck-comment--remove','7184QMTYLN','switchToEditMode','ck-comment__main','listitem','visibleView','icon','ck-annotation__main','ck-annotation','isEditable','3255pJzvFo','userView','Reply...','ck-comment__info-name','find','_createDropdown','ck-comment__external','bind','editButton','isExternal','ck-comment--info','removeComment','_createCommentInputView','toMany','time','setTemplate','_createEditButton','ck-comment--edit','1344492qyBtGt','author','from','label','span','Delete\x20comment?','ck-annotation__info-time','children','ariaDescriptionView','createCollection','unbind','_model','ck-annotation__info-name','ck-comment','isEnabled','ck-annotation__actions--hidden','bindTemplate','dropdown','25GfXVVE','ck-comment__wrapper','ck-comment__info-time','mouseleave','group','render','ck-comment__user','isVisible','addMany','getTemplate','372ttMjGd','push','execute','remove','focus','panelView','withText','add','items','ck-hidden','5240CGsmJU','ck-annotation__info','actionIndicator','removeButton','name','fire','ariaLabel','authoredAt','panelPosition','ck-annotation__actions','locale','ck-annotation__content-wrapper','change:isRemovable','isSystemComment','showConfirm','isConfirm','getUserViewNotificationText','then','1790205ESOtfB','ck-comment__info','_attachActions','extendTemplate','some','actionBar','blur','_createRemoveButton','cancelConfirm','formatDateTime','6036780IJrygk','_config','getExternalCommentNote','Remove','set','element','edit','buttonView','isEditMode','2645793nBEWtI','ck-comment__actions--hidden','listenTo','Edit','ck-annotation__user','ck-comment__actions','resolvedAt','length','ck-comment--'];_0x2491=function(){return _0xdafedb;};return _0x2491();}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1c206f=_0x3ce3;(function(_0x284d25,_0x51dd5a){var _0x2e0cf8=_0x3ce3,_0x439601=_0x284d25();while(!![]){try{var _0x4dd749=parseInt(_0x2e0cf8(0x181))/0x1+parseInt(_0x2e0cf8(0x185))/0x2+parseInt(_0x2e0cf8(0x186))/0x3*(parseInt(_0x2e0cf8(0x18d))/0x4)+-parseInt(_0x2e0cf8(0x188))/0x5+parseInt(_0x2e0cf8(0x18c))/0x6*(-parseInt(_0x2e0cf8(0x183))/0x7)+-parseInt(_0x2e0cf8(0x18e))/0x8+parseInt(_0x2e0cf8(0x184))/0x9;if(_0x4dd749===_0x51dd5a)break;else _0x439601['push'](_0x439601['shift']());}catch(_0x568998){_0x439601['push'](_0x439601['shift']());}}}(_0x3fff,0x5f795));import{Plugin as _0x33350b}from'ckeditor5/src/core.js';import _0x1e896f from'./comments/commentsrepository.js';import _0xcc96c2 from'./comments/commentsediting.js';import _0x14fd52 from'./comments/commentsui.js';import _0x1f5b37 from'./commentsonly.js';import _0x559e30 from'./annotations/widesidebar.js';import _0x58aa7e from'./annotations/narrowsidebar.js';function _0x3ce3(_0x26f0c0,_0x4c4cc6){var _0x3fffb0=_0x3fff();return _0x3ce3=function(_0x3ce3d8,_0x540039){_0x3ce3d8=_0x3ce3d8-0x181;var _0x21d849=_0x3fffb0[_0x3ce3d8];return _0x21d849;},_0x3ce3(_0x26f0c0,_0x4c4cc6);}function _0x3fff(){var _0x29df56=['1142536wPzGZS','3RGzijO','isOfficialPlugin','3388880VSfjXI','isPremiumPlugin','pluginName','requires','66ykpIoE','2925532ZVdcqW','3988912VLJYzQ','470062hmKILT','Comments','222838CvbWkj','1304208DpcutX'];_0x3fff=function(){return _0x29df56;};return _0x3fff();}import _0x5ab61a from'./annotations/inlineannotations.js';import _0x4a35d7 from'./comments/commentsarchiveui.js';import _0x58aa0b from'./comments/commentsarchive.js';export default class p extends _0x33350b{static get[_0x1c206f(0x18b)](){return[_0x1e896f,_0xcc96c2,_0x14fd52,_0x58aa0b,_0x4a35d7,_0x1f5b37,_0x559e30,_0x58aa7e,_0x5ab61a];}static get[_0x1c206f(0x18a)](){var _0xf77fbd=_0x1c206f;return _0xf77fbd(0x182);}static get[_0x1c206f(0x187)](){return!0x0;}static get[_0x1c206f(0x189)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53b50a=_0x4f7f;(function(_0x2a8f4d,_0x811274){const _0x2c5570=_0x4f7f,_0x2e00e6=_0x2a8f4d();while(!![]){try{const _0x229de9=parseInt(_0x2c5570(0x17b))/0x1*(-parseInt(_0x2c5570(0x168))/0x2)+parseInt(_0x2c5570(0x17a))/0x3+-parseInt(_0x2c5570(0x189))/0x4+parseInt(_0x2c5570(0x165))/0x5+parseInt(_0x2c5570(0x178))/0x6+parseInt(_0x2c5570(0x181))/0x7+-parseInt(_0x2c5570(0x16b))/0x8;if(_0x229de9===_0x811274)break;else _0x2e00e6['push'](_0x2e00e6['shift']());}catch(_0x1b5106){_0x2e00e6['push'](_0x2e00e6['shift']());}}}(_0x56cb,0x5c992));function _0x4f7f(_0x52a65e,_0x29f053){const _0x56cbf7=_0x56cb();return _0x4f7f=function(_0x4f7faf,_0x280377){_0x4f7faf=_0x4f7faf-0x162;let _0x13ef31=_0x56cbf7[_0x4f7faf];return _0x13ef31;},_0x4f7f(_0x52a65e,_0x29f053);}function _0x56cb(){const _0x1a66dc=['affectsData','editing','3753687YxueUR','requires','SourceEditing','config','commentsOnlyMode','_enableCommentsOnlyMode','CommentsOnly','addCommentThread','1218644xsrLTW','stopListening','stop','listenTo','editor','delete','cut','clipboardInput','1818100lxBGWE','DragDrop','document','19358IUgIRF','commentsOnly','has','7451112vYyfmj','highest','isPremiumPlugin','clearForceDisabled','_disableCommentsOnlyMode','get','change:isEnabled','afterInit','forceDisabled','plugins','pluginName','editSource','view','3875712HATPyI','set','934482FjbCaB','25ImdOit','commands','isOfficialPlugin','isEnabled'];_0x56cb=function(){return _0x1a66dc;};return _0x56cb();}import{Plugin as _0xd5b4b5}from'ckeditor5/src/core.js';import _0x3edbb6 from'./comments/commentsediting.js';export default class s extends _0xd5b4b5{static get[_0x53b50a(0x175)](){const _0x2d6b06=_0x53b50a;return _0x2d6b06(0x187);}static get[_0x53b50a(0x17d)](){return!0x0;}static get[_0x53b50a(0x16d)](){return!0x0;}static get[_0x53b50a(0x182)](){return[_0x3edbb6];}constructor(_0x28a192){const _0x195633=_0x53b50a;super(_0x28a192),this[_0x195633(0x179)](_0x195633(0x17e),!0x1),this['on'](_0x195633(0x171),(_0x2b91f9,_0x6f3598,_0x4d0e5e)=>{const _0x10fc82=_0x195633;_0x4d0e5e?this[_0x10fc82(0x186)]():this[_0x10fc82(0x16f)]();});}[_0x53b50a(0x172)](){const _0x5d27ac=_0x53b50a;!this[_0x5d27ac(0x17e)]&&this[_0x5d27ac(0x18d)][_0x5d27ac(0x184)][_0x5d27ac(0x170)](_0x5d27ac(0x169))&&(this[_0x5d27ac(0x17e)]=!0x0);}[_0x53b50a(0x186)](){const _0x2f3afd=_0x53b50a;for(const [_0x275b6f,_0x146edb]of this[_0x2f3afd(0x18d)][_0x2f3afd(0x17c)])_0x146edb[_0x2f3afd(0x17f)]&&_0x2f3afd(0x188)!==_0x275b6f&&_0x146edb[_0x2f3afd(0x173)](_0x2f3afd(0x185));(this[_0x2f3afd(0x18d)][_0x2f3afd(0x174)][_0x2f3afd(0x16a)](_0x2f3afd(0x166))&&this[_0x2f3afd(0x18d)][_0x2f3afd(0x174)][_0x2f3afd(0x170)](_0x2f3afd(0x166))[_0x2f3afd(0x173)](_0x2f3afd(0x185)),this[_0x2f3afd(0x18d)][_0x2f3afd(0x174)][_0x2f3afd(0x16a)](_0x2f3afd(0x183)))&&this[_0x2f3afd(0x18d)][_0x2f3afd(0x174)][_0x2f3afd(0x170)](_0x2f3afd(0x183))[_0x2f3afd(0x173)](_0x2f3afd(0x185));this[_0x2f3afd(0x18d)][_0x2f3afd(0x17c)][_0x2f3afd(0x170)](_0x2f3afd(0x176))?.[_0x2f3afd(0x173)](_0x2f3afd(0x185));const _0x4eb5a7=this[_0x2f3afd(0x18d)][_0x2f3afd(0x180)][_0x2f3afd(0x177)][_0x2f3afd(0x167)];this[_0x2f3afd(0x18c)](_0x4eb5a7,_0x2f3afd(0x163),_0x23e94f=>_0x23e94f[_0x2f3afd(0x18b)](),{'priority':_0x2f3afd(0x16c)}),this[_0x2f3afd(0x18c)](_0x4eb5a7,_0x2f3afd(0x164),_0x59e4a6=>_0x59e4a6[_0x2f3afd(0x18b)](),{'priority':_0x2f3afd(0x16c)}),this[_0x2f3afd(0x18c)](_0x4eb5a7,_0x2f3afd(0x162),_0x1b3489=>_0x1b3489[_0x2f3afd(0x18b)](),{'priority':_0x2f3afd(0x16c)});}[_0x53b50a(0x16f)](){const _0x391ba0=_0x53b50a;for(const [_0x13021e,_0x24da94]of this[_0x391ba0(0x18d)][_0x391ba0(0x17c)])_0x24da94[_0x391ba0(0x17f)]&&_0x391ba0(0x188)!==_0x13021e&&_0x24da94[_0x391ba0(0x16e)](_0x391ba0(0x185));this[_0x391ba0(0x18d)][_0x391ba0(0x174)][_0x391ba0(0x16a)](_0x391ba0(0x183))&&this[_0x391ba0(0x18d)][_0x391ba0(0x174)][_0x391ba0(0x170)](_0x391ba0(0x183))[_0x391ba0(0x16e)](_0x391ba0(0x185)),this[_0x391ba0(0x18d)][_0x391ba0(0x17c)][_0x391ba0(0x170)](_0x391ba0(0x176))?.[_0x391ba0(0x16e)](_0x391ba0(0x185)),this[_0x391ba0(0x18a)](this[_0x391ba0(0x18d)][_0x391ba0(0x180)][_0x391ba0(0x177)][_0x391ba0(0x167)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x54621a,_0x182f17){var _0x13228a=_0x41ca,_0x5a05a7=_0x54621a();while(!![]){try{var _0x2dfd8f=-parseInt(_0x13228a(0x19e))/0x1+-parseInt(_0x13228a(0x19f))/0x2+-parseInt(_0x13228a(0x1a0))/0x3+-parseInt(_0x13228a(0x1a3))/0x4*(-parseInt(_0x13228a(0x1a7))/0x5)+parseInt(_0x13228a(0x1a4))/0x6+parseInt(_0x13228a(0x1a2))/0x7*(-parseInt(_0x13228a(0x1a1))/0x8)+parseInt(_0x13228a(0x1a6))/0x9*(parseInt(_0x13228a(0x1a5))/0xa);if(_0x2dfd8f===_0x182f17)break;else _0x5a05a7['push'](_0x5a05a7['shift']());}catch(_0x397e0c){_0x5a05a7['push'](_0x5a05a7['shift']());}}}(_0x24ce,0x7dc1c));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';function _0x24ce(){var _0x295582=['1661049TjJhgy','8VQoLZB','4691743KPOrMo','172uqEFUR','2395200VWixJZ','50CaISTe','4735935PDPlLG','36785svJShv','822017xNxhgZ','1571154fValjG'];_0x24ce=function(){return _0x295582;};return _0x24ce();}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';function _0x41ca(_0x66e7ad,_0x442e8c){var _0x24ceb7=_0x24ce();return _0x41ca=function(_0x41cafa,_0x382245){_0x41cafa=_0x41cafa-0x19e;var _0xd31158=_0x24ceb7[_0x41cafa];return _0xd31158;},_0x41ca(_0x66e7ad,_0x442e8c);}export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as Sidebar}from'./annotations/sidebar.js';export{default as WideSidebar}from'./annotations/widesidebar.js';export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{default as CommentsArchive}from'./comments/commentsarchive.js';export{default as CommentsArchiveUI}from'./comments/commentsarchiveui.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x27e3a1,_0x40f7c8,_0x5a43fe){const t=_0x27e3a1['t'];switch(_0x40f7c8){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'},_0x5a43fe);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'},_0x5a43fe);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'},_0x5a43fe);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'},_0x5a43fe);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5a43fe);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'},_0x5a43fe);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'},_0x5a43fe);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'},_0x5a43fe);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 _0x4ede(_0x4ecb80,_0x3d8386){const _0x58f700=_0x58f7();return _0x4ede=function(_0x4ede99,_0x414564){_0x4ede99=_0x4ede99-0x195;let _0x16dca8=_0x58f700[_0x4ede99];return _0x16dca8;},_0x4ede(_0x4ecb80,_0x3d8386);}function _0x58f7(){const _0x1688a7=['793zjChzj','cancel','childList','class','182228sTQKuU','4568dONwwD','1001SnggrZ','172188mYujuW','characterData','102444BAfPHA','2632245kKgnXA','attributes','280hIvVeN','1PYTiDe','disconnect','1041826OsTReV','402140xFnHlP','42ZRSnCK','27VaYZNr','type','attributeName','observe'];_0x58f7=function(){return _0x1688a7;};return _0x58f7();}(function(_0x63c405,_0x2ab27f){const _0x405db1=_0x4ede,_0x4429fb=_0x63c405();while(!![]){try{const _0x32ae40=-parseInt(_0x405db1(0x1a4))/0x1*(-parseInt(_0x405db1(0x1a6))/0x2)+parseInt(_0x405db1(0x1a9))/0x3*(-parseInt(_0x405db1(0x19b))/0x4)+-parseInt(_0x405db1(0x1a7))/0x5*(-parseInt(_0x405db1(0x1a8))/0x6)+-parseInt(_0x405db1(0x19d))/0x7*(parseInt(_0x405db1(0x19c))/0x8)+parseInt(_0x405db1(0x19e))/0x9*(-parseInt(_0x405db1(0x1a3))/0xa)+-parseInt(_0x405db1(0x1a1))/0xb+parseInt(_0x405db1(0x1a0))/0xc*(parseInt(_0x405db1(0x197))/0xd);if(_0x32ae40===_0x2ab27f)break;else _0x4429fb['push'](_0x4429fb['shift']());}catch(_0x3a7395){_0x4429fb['push'](_0x4429fb['shift']());}}}(_0x58f7,0x52859));import{throttle as _0x54d542}from'es-toolkit/compat';export default function Lt(_0x197c3e){const _0x5c394a=_0x54d542(_0x197c3e,0x1e),_0x505b2d=new MutationObserver(_0x411dc7=>{const _0x1f30ff=_0x4ede;for(const _0x5c52a1 of _0x411dc7)(_0x1f30ff(0x1a2)==_0x5c52a1[_0x1f30ff(0x1aa)]&&_0x1f30ff(0x19a)==_0x5c52a1[_0x1f30ff(0x195)]||_0x1f30ff(0x199)==_0x5c52a1[_0x1f30ff(0x1aa)]||_0x1f30ff(0x19f)==_0x5c52a1[_0x1f30ff(0x1aa)])&&_0x5c394a();});return{'attach'(_0x2ca780){const _0x8767e2=_0x4ede;_0x505b2d[_0x8767e2(0x196)](_0x2ca780,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x14da0e=_0x4ede;_0x505b2d[_0x14da0e(0x1a5)](),_0x5c394a[_0x14da0e(0x198)]();}};}
|