@ckeditor/ckeditor5-comments 45.2.0 → 45.2.1-alpha.1
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
|
-
const _0xa9657a=_0x3b6e;(function(_0x371c3d,_0x4018d0){const _0x1a8d25=_0x3b6e,_0x4eb215=_0x371c3d();while(!![]){try{const _0x16f3ed=-parseInt(_0x1a8d25(0x200))/0x1+parseInt(_0x1a8d25(0x1f5))/0x2*(-parseInt(_0x1a8d25(0x202))/0x3)+-parseInt(_0x1a8d25(0x203))/0x4+parseInt(_0x1a8d25(0x211))/0x5+parseInt(_0x1a8d25(0x21d))/0x6+-parseInt(_0x1a8d25(0x205))/0x7*(-parseInt(_0x1a8d25(0x1e4))/0x8)+-parseInt(_0x1a8d25(0x218))/0x9*(-parseInt(_0x1a8d25(0x1f3))/0xa);if(_0x16f3ed===_0x4018d0)break;else _0x4eb215['push'](_0x4eb215['shift']());}catch(_0x19dd4b){_0x4eb215['push'](_0x4eb215['shift']());}}}(_0x7d54,0x2d56a));import{View as _0x47163e,FocusCycler as _0x13e69b}from'ckeditor5/src/ui.js';import{diff as _0x26cfc7,Collection as _0x19bc54,FocusTracker as _0x3c8320,KeystrokeHandler as _0x53f90f}from'ckeditor5/src/utils.js';function _0x7d54(){const _0x5e844b=['resolvedAt','bind','updateComment','count','ck-hidden','expand','remove','add','delegate','Marked\x20as\x20resolved','collapse','focus','resolved','focusLast','_rearrangeExpand','comments','reverse','7512YHDsOI','_setupKeyboardNavigation','hasDirtyComment','_calculatePosition','get','maxCommentCharsWhenCollapsed','bindTemplate','removeComment','stopListening','locale','_handleInfoComment','insert','arrowdown','focusTracker','resolvedBy','2966420ENfhWR','change:hasDirtyComment','586BOxCsJ','_model','maxThreadTotalWeight','Thread\x20comments','resolvedCommentView','added','keystrokes','destroy','_handleRemoveCommentModel','authoredAt','isEditMode','243236kXWWGw','change:isResolved','2478ssXvnG','1151720pKRvWc','render','217GnuOBr','_handleNewCommentModel','formatDateTime','forEach','weight','createCollection','from','editorDestroyed','CommentView','change','map','some','1578840iJQvVW','delete','focusFirst','_config','change:isEditMode','target','_updateHasDirtyComment','18ycuWui','editorConfig','ck-thread__comments','_collapsedCommentsView','equal','124374aoZVpf','isActive','removed','_rearrangeCollapse','setTemplate','focusCycler','element','resolveCommentThread','refreshVisibleViews','_findOptimalIndex','change:isActive','length','set','listenTo','visibleViews','includes','editorReady','viewUid','commentUpdated','_shouldCollapse','arrowup','commentViews','maxCommentsWhenCollapsed'];_0x7d54=function(){return _0x5e844b;};return _0x7d54();}function _0x3b6e(_0x21c1e4,_0x3a14cb){const _0x7d54f9=_0x7d54();return _0x3b6e=function(_0x3b6ed1,_0x483d5b){_0x3b6ed1=_0x3b6ed1-0x1ca;let _0x493c8e=_0x7d54f9[_0x3b6ed1];return _0x493c8e;},_0x3b6e(_0x21c1e4,_0x3a14cb);}import{getTranslation as _0x19595a}from'../../../utils/common-translations.js';import _0x2fce0a from'./collapsedcommentsview.js';export default class te extends _0x47163e{[_0xa9657a(0x1d1)];[_0xa9657a(0x1f9)];[_0xa9657a(0x1f1)];[_0xa9657a(0x1fb)];[_0xa9657a(0x222)];[_0xa9657a(0x1f6)];[_0xa9657a(0x214)];[_0xa9657a(0x21b)];constructor(_0x47deaf,_0x3498e3,_0x88aa2){const _0x52fc85=_0xa9657a;super(_0x47deaf);const _0x595d1f=this[_0x52fc85(0x1ea)];this[_0x52fc85(0x229)](_0x52fc85(0x1e6),!0x1),this[_0x52fc85(0x229)](_0x52fc85(0x228),_0x3498e3[_0x52fc85(0x1e2)][_0x52fc85(0x228)]),this[_0x52fc85(0x229)](_0x52fc85(0x21e),!0x1),this[_0x52fc85(0x1f6)]=_0x3498e3,this[_0x52fc85(0x214)]=_0x88aa2,this[_0x52fc85(0x1d1)]=this[_0x52fc85(0x20a)](),this[_0x52fc85(0x1ca)]=this[_0x52fc85(0x20a)](),this[_0x52fc85(0x1f9)]=null,this[_0x52fc85(0x1f1)]=new _0x3c8320(),this[_0x52fc85(0x1fb)]=new _0x53f90f(),this[_0x52fc85(0x222)]=new _0x13e69b({'focusables':this[_0x52fc85(0x1d1)],'focusTracker':this[_0x52fc85(0x1f1)],'keystrokeHandler':this[_0x52fc85(0x1fb)],'keystrokeHandlerOptions':{'filter':_0x515704=>this[_0x52fc85(0x1d1)][_0x52fc85(0x20f)](_0xe25136=>_0xe25136[_0x52fc85(0x223)])[_0x52fc85(0x1cb)](_0x515704[_0x52fc85(0x216)])},'actions':{'focusPrevious':_0x52fc85(0x1d0),'focusNext':_0x52fc85(0x1f0)}}),this[_0x52fc85(0x21b)]=new _0x2fce0a(_0x47deaf),this[_0x52fc85(0x21b)][_0x52fc85(0x1d4)](_0x52fc85(0x1d6))['to'](this,_0x52fc85(0x228),_0x2086f6=>_0x2086f6-this[_0x52fc85(0x214)][_0x52fc85(0x1d2)]);for(const _0x2d8b2b of _0x3498e3[_0x52fc85(0x1e2)])this[_0x52fc85(0x206)](_0x2d8b2b);this[_0x52fc85(0x1ee)](),this[_0x52fc85(0x22a)](_0x3498e3[_0x52fc85(0x1e2)],_0x52fc85(0x1da),(_0x73354a,_0x48b5e9)=>{const _0x447540=_0x52fc85,_0x5e9888=this[_0x447540(0x1e7)](_0x48b5e9);this[_0x447540(0x228)]++,this[_0x447540(0x206)](_0x48b5e9,_0x5e9888),this[_0x447540(0x225)]();}),this[_0x52fc85(0x22a)](_0x3498e3[_0x52fc85(0x1e2)],_0x52fc85(0x1d9),(_0x7a4a1d,_0x337bd5)=>{const _0xf60f28=_0x52fc85;this[_0xf60f28(0x228)]--,this[_0xf60f28(0x1fd)](_0x337bd5),this[_0xf60f28(0x225)]();}),this[_0x52fc85(0x22a)](_0x3498e3,_0x52fc85(0x1ce),()=>this[_0x52fc85(0x225)]()),this[_0x52fc85(0x22a)](_0x3498e3,_0x52fc85(0x201),()=>this[_0x52fc85(0x1ee)]()),this['on'](_0x52fc85(0x227),()=>this[_0x52fc85(0x225)]()),this['on'](_0x52fc85(0x1f4),()=>this[_0x52fc85(0x225)]()),this[_0x52fc85(0x221)]({'tag':'ul','attributes':{'class':[_0x52fc85(0x21a),_0x595d1f['if'](_0x52fc85(0x228),_0x52fc85(0x1d7),_0x226902=>!_0x226902)],'aria-label':_0x19595a(_0x47deaf,_0x52fc85(0x1f8))},'children':this[_0x52fc85(0x1ca)]});}get[_0xa9657a(0x1cf)](){const _0x5afc9b=_0xa9657a;return this[_0x5afc9b(0x1f6)][_0x5afc9b(0x209)]>this[_0x5afc9b(0x214)][_0x5afc9b(0x1f7)]&&!this[_0x5afc9b(0x21e)]&&!this[_0x5afc9b(0x1e6)];}[_0xa9657a(0x204)](){const _0x4c71f0=_0xa9657a;super[_0x4c71f0(0x204)](),this[_0x4c71f0(0x225)](),this[_0x4c71f0(0x1e5)]();}[_0xa9657a(0x1de)](_0x3d9352){const _0x42a0f8=_0xa9657a;-0x1===_0x3d9352?this[_0x42a0f8(0x222)][_0x42a0f8(0x1e0)]():this[_0x42a0f8(0x222)][_0x42a0f8(0x213)]();}[_0xa9657a(0x1fc)](){const _0x31cda9=_0xa9657a;this[_0x31cda9(0x21b)][_0x31cda9(0x1fc)]();for(const _0x36aeb4 of this[_0x31cda9(0x1d1)])_0x36aeb4[_0x31cda9(0x1fc)]();super[_0x31cda9(0x1fc)]();}[_0xa9657a(0x225)](){const _0x101227=_0xa9657a;this[_0x101227(0x1cf)]?this[_0x101227(0x220)]():this[_0x101227(0x1e1)]();}[_0xa9657a(0x206)](_0x282c23,_0x5c9491){const _0x2feb1a=_0xa9657a,_0x31cf38=new this[(_0x2feb1a(0x214))][(_0x2feb1a(0x20d))](this[_0x2feb1a(0x1ed)],_0x282c23,{'maxCommentCharsWhenCollapsed':this[_0x2feb1a(0x214)][_0x2feb1a(0x1e9)],'formatDateTime':this[_0x2feb1a(0x214)][_0x2feb1a(0x207)],'editorConfig':this[_0x2feb1a(0x214)][_0x2feb1a(0x219)]});_0x31cf38[_0x2feb1a(0x1cd)]=_0x282c23['id'],_0x31cf38[_0x2feb1a(0x1db)](_0x2feb1a(0x1eb))['to'](this),_0x31cf38[_0x2feb1a(0x1db)](_0x2feb1a(0x1d5))['to'](this),_0x31cf38[_0x2feb1a(0x1db)](_0x2feb1a(0x224))['to'](this),_0x31cf38[_0x2feb1a(0x1db)](_0x2feb1a(0x1cc))['to'](this),_0x31cf38[_0x2feb1a(0x1db)](_0x2feb1a(0x20c))['to'](this),this[_0x2feb1a(0x22a)](_0x31cf38,_0x2feb1a(0x215),()=>this[_0x2feb1a(0x217)]()),this[_0x2feb1a(0x1d1)][_0x2feb1a(0x1da)](_0x31cf38,_0x5c9491);}[_0xa9657a(0x1e7)](_0x5952e3){const _0x37f27a=_0xa9657a,_0x2601e2=this[_0x37f27a(0x1f6)][_0x37f27a(0x226)](_0x5952e3);return this[_0x37f27a(0x1f9)]?this[_0x37f27a(0x1f9)][_0x37f27a(0x1fe)]>_0x5952e3[_0x37f27a(0x1fe)]?_0x2601e2-0x1:_0x2601e2:_0x2601e2-0x1;}[_0xa9657a(0x1ee)](){const _0x2ee9f6=_0xa9657a;if(this[_0x2ee9f6(0x1f6)][_0x2ee9f6(0x1f2)]&&this[_0x2ee9f6(0x1f6)][_0x2ee9f6(0x1d3)]){const _0x21ed68={'id':_0x2ee9f6(0x1df),'author':this[_0x2ee9f6(0x1f6)][_0x2ee9f6(0x1f2)],'authoredAt':this[_0x2ee9f6(0x1f6)][_0x2ee9f6(0x1d3)],'content':_0x19595a(this[_0x2ee9f6(0x1ed)],_0x2ee9f6(0x1dc)),'attributes':{}};this[_0x2ee9f6(0x1f9)]=new this[(_0x2ee9f6(0x214))][(_0x2ee9f6(0x20d))](this[_0x2ee9f6(0x1ed)],_0x21ed68,{'maxCommentCharsWhenCollapsed':this[_0x2ee9f6(0x214)][_0x2ee9f6(0x1e9)],'formatDateTime':this[_0x2ee9f6(0x214)][_0x2ee9f6(0x207)],'editorConfig':this[_0x2ee9f6(0x214)][_0x2ee9f6(0x219)],'isSystemComment':!0x0}),this[_0x2ee9f6(0x1d1)][_0x2ee9f6(0x1da)](this[_0x2ee9f6(0x1f9)],this[_0x2ee9f6(0x1f6)][_0x2ee9f6(0x226)](_0x21ed68));}else this[_0x2ee9f6(0x1f9)]&&(this[_0x2ee9f6(0x1d1)][_0x2ee9f6(0x1d9)](this[_0x2ee9f6(0x1f9)]),this[_0x2ee9f6(0x1f9)][_0x2ee9f6(0x1fc)](),this[_0x2ee9f6(0x1f9)]=null);this[_0x2ee9f6(0x225)]();}[_0xa9657a(0x1fd)](_0x1cbc76){const _0x4bcfcd=_0xa9657a,_0x3039ff=this[_0x4bcfcd(0x1d1)][_0x4bcfcd(0x1d9)](_0x1cbc76['id']);this[_0x4bcfcd(0x1ec)](_0x3039ff),_0x3039ff[_0x4bcfcd(0x1ff)]&&this[_0x4bcfcd(0x217)](),_0x3039ff[_0x4bcfcd(0x1fc)]();}[_0xa9657a(0x217)](){const _0x201648=_0xa9657a;this[_0x201648(0x1e6)]=Array[_0x201648(0x20b)](this[_0x201648(0x1d1)])[_0x201648(0x210)](_0x3822c0=>_0x3822c0[_0x201648(0x1ff)]);}[_0xa9657a(0x220)](){const _0x4707cb=_0xa9657a,_0x3749dd=function(_0x40fa65){const _0x5e7d27=_0x3b6e,_0x3454f2=new _0x19bc54();for(const _0x272083 of _0x40fa65)_0x3454f2[_0x5e7d27(0x1da)](_0x272083);return _0x3454f2;}(this[_0x4707cb(0x1d1)]),_0x29ccd2=this[_0x4707cb(0x21b)][_0x4707cb(0x1d6)];for(let _0x45fb6c=0x1;_0x45fb6c<=_0x29ccd2;_0x45fb6c++)_0x3749dd[_0x4707cb(0x1d9)](0x1);for(const _0x312e8e of _0x3749dd)_0x312e8e[_0x4707cb(0x1dd)]();_0x29ccd2>0x0&&_0x3749dd[_0x4707cb(0x1da)](this[_0x4707cb(0x21b)],0x1),ns(_0x26cfc7(Array[_0x4707cb(0x20b)](this[_0x4707cb(0x1ca)]),Array[_0x4707cb(0x20b)](_0x3749dd)),this[_0x4707cb(0x1ca)],_0x3749dd);}[_0xa9657a(0x1e1)](){const _0x781496=_0xa9657a;ns(_0x26cfc7(Array[_0x781496(0x20b)](this[_0x781496(0x1ca)]),Array[_0x781496(0x20b)](this[_0x781496(0x1d1)])),this[_0x781496(0x1ca)],this[_0x781496(0x1d1)]);for(const _0x5e6d87 of this[_0x781496(0x1ca)])_0x5e6d87[_0x781496(0x1d8)]();}[_0xa9657a(0x1e5)](){const _0x4f8b5f=_0xa9657a;this[_0x4f8b5f(0x1d1)][_0x4f8b5f(0x208)](_0x5c32ea=>{const _0x28ee2f=_0x4f8b5f;this[_0x28ee2f(0x1f1)][_0x28ee2f(0x1da)](_0x5c32ea[_0x28ee2f(0x223)]),this[_0x28ee2f(0x1fb)][_0x28ee2f(0x22a)](_0x5c32ea[_0x28ee2f(0x223)]);}),this[_0x4f8b5f(0x1d1)]['on'](_0x4f8b5f(0x20e),(_0x472eec,_0x519ef4)=>{const _0x1f399d=_0x4f8b5f;for(const _0x279835 of _0x519ef4[_0x1f399d(0x21f)])this[_0x1f399d(0x1f1)][_0x1f399d(0x1d9)](_0x279835[_0x1f399d(0x223)]),this[_0x1f399d(0x1fb)][_0x1f399d(0x1ec)](_0x279835[_0x1f399d(0x223)]);for(const _0x31c7e6 of Array[_0x1f399d(0x20b)](_0x519ef4[_0x1f399d(0x1fa)])[_0x1f399d(0x1e3)]())this[_0x1f399d(0x1f1)][_0x1f399d(0x1da)](_0x31c7e6[_0x1f399d(0x223)]),this[_0x1f399d(0x1fb)][_0x1f399d(0x22a)](_0x31c7e6[_0x1f399d(0x223)]);});}}function ns(_0x10cfe4,_0x266255,_0x22760d){const _0x20644d=_0xa9657a;let _0x573e6f=0x0;for(const _0x1d51cc of _0x10cfe4)switch(_0x1d51cc){case _0x20644d(0x1ef):_0x266255[_0x20644d(0x1da)](_0x22760d[_0x20644d(0x1e8)](_0x573e6f),_0x573e6f),_0x573e6f++;break;case _0x20644d(0x212):_0x266255[_0x20644d(0x1d9)](_0x573e6f);break;case _0x20644d(0x21c):_0x573e6f++;}}
|
|
23
|
+
function _0x5157(_0x4fb621,_0x45bb6c){const _0x58bddc=_0x58bd();return _0x5157=function(_0x515706,_0x98eae2){_0x515706=_0x515706-0x128;let _0x37e917=_0x58bddc[_0x515706];return _0x37e917;},_0x5157(_0x4fb621,_0x45bb6c);}const _0x5558a9=_0x5157;(function(_0x56b977,_0xc64da0){const _0x31dbe3=_0x5157,_0x2cd8e2=_0x56b977();while(!![]){try{const _0x1c1f78=parseInt(_0x31dbe3(0x179))/0x1+parseInt(_0x31dbe3(0x177))/0x2*(parseInt(_0x31dbe3(0x130))/0x3)+parseInt(_0x31dbe3(0x14f))/0x4*(parseInt(_0x31dbe3(0x14c))/0x5)+-parseInt(_0x31dbe3(0x128))/0x6*(parseInt(_0x31dbe3(0x145))/0x7)+parseInt(_0x31dbe3(0x151))/0x8*(-parseInt(_0x31dbe3(0x12d))/0x9)+-parseInt(_0x31dbe3(0x17f))/0xa*(-parseInt(_0x31dbe3(0x12c))/0xb)+-parseInt(_0x31dbe3(0x184))/0xc*(parseInt(_0x31dbe3(0x16e))/0xd);if(_0x1c1f78===_0xc64da0)break;else _0x2cd8e2['push'](_0x2cd8e2['shift']());}catch(_0x409643){_0x2cd8e2['push'](_0x2cd8e2['shift']());}}}(_0x58bd,0x3d086));import{View as _0x5ac260,FocusCycler as _0x5c5ea4}from'ckeditor5/src/ui.js';import{diff as _0x4d1e4e,Collection as _0x68ecdf,FocusTracker as _0x348e22,KeystrokeHandler as _0xcdca10}from'ckeditor5/src/utils.js';function _0x58bd(){const _0x347c3b=['ck-hidden','forEach','_handleRemoveCommentModel','_collapsedCommentsView','collapse','_shouldCollapse','Marked\x20as\x20resolved','change:isResolved','8876DXsmMG','equal','expand','arrowup','hasDirtyComment','focusTracker','add','5FLvOca','ck-thread__comments','_updateHasDirtyComment','968596LMFTzT','formatDateTime','8MZRynz','change:hasDirtyComment','refreshVisibleViews','bindTemplate','target','editorDestroyed','_setupKeyboardNavigation','resolvedCommentView','resolveCommentThread','listenTo','from','added','render','resolved','weight','maxCommentCharsWhenCollapsed','editorConfig','editorReady','focusCycler','resolvedBy','get','arrowdown','authoredAt','isActive','delete','removed','Thread\x20comments','focus','map','13MYWDkG','set','_calculatePosition','setTemplate','maxCommentsWhenCollapsed','keystrokes','_model','change','count','366334pAzXkd','includes','338886sKQhVN','some','_handleNewCommentModel','_rearrangeExpand','commentViews','visibleViews','2759990EqTlxu','insert','_handleInfoComment','element','removeComment','3361692BVoVly','length','updateComment','isEditMode','commentUpdated','delegate','CommentView','maxThreadTotalWeight','474gFQWTp','destroy','change:isActive','focusLast','11ABiNnj','3689082inKUda','createCollection','locale','3TJiKRG','_findOptimalIndex','comments','change:isEditMode','remove','bind','_config','stopListening','focusFirst','reverse','_rearrangeCollapse','resolvedAt','viewUid'];_0x58bd=function(){return _0x347c3b;};return _0x58bd();}import{getTranslation as _0x5b8753}from'../../../utils/common-translations.js';import _0x2656c9 from'./collapsedcommentsview.js';export default class te extends _0x5ac260{[_0x5558a9(0x17d)];[_0x5558a9(0x158)];[_0x5558a9(0x14a)];[_0x5558a9(0x173)];[_0x5558a9(0x163)];[_0x5558a9(0x174)];[_0x5558a9(0x136)];[_0x5558a9(0x140)];constructor(_0x1f717e,_0x317e5b,_0x1c4e57){const _0x455473=_0x5558a9;super(_0x1f717e);const _0x31bc42=this[_0x455473(0x154)];this[_0x455473(0x16f)](_0x455473(0x149),!0x1),this[_0x455473(0x16f)](_0x455473(0x185),_0x317e5b[_0x455473(0x132)][_0x455473(0x185)]),this[_0x455473(0x16f)](_0x455473(0x168),!0x1),this[_0x455473(0x174)]=_0x317e5b,this[_0x455473(0x136)]=_0x1c4e57,this[_0x455473(0x17d)]=this[_0x455473(0x12e)](),this[_0x455473(0x17e)]=this[_0x455473(0x12e)](),this[_0x455473(0x158)]=null,this[_0x455473(0x14a)]=new _0x348e22(),this[_0x455473(0x173)]=new _0xcdca10(),this[_0x455473(0x163)]=new _0x5c5ea4({'focusables':this[_0x455473(0x17d)],'focusTracker':this[_0x455473(0x14a)],'keystrokeHandler':this[_0x455473(0x173)],'keystrokeHandlerOptions':{'filter':_0x513ef4=>this[_0x455473(0x17d)][_0x455473(0x16d)](_0x2f7ec6=>_0x2f7ec6[_0x455473(0x182)])[_0x455473(0x178)](_0x513ef4[_0x455473(0x155)])},'actions':{'focusPrevious':_0x455473(0x148),'focusNext':_0x455473(0x166)}}),this[_0x455473(0x140)]=new _0x2656c9(_0x1f717e),this[_0x455473(0x140)][_0x455473(0x135)](_0x455473(0x176))['to'](this,_0x455473(0x185),_0x174cf6=>_0x174cf6-this[_0x455473(0x136)][_0x455473(0x172)]);for(const _0x7a264f of _0x317e5b[_0x455473(0x132)])this[_0x455473(0x17b)](_0x7a264f);this[_0x455473(0x181)](),this[_0x455473(0x15a)](_0x317e5b[_0x455473(0x132)],_0x455473(0x14b),(_0x513afe,_0x43209d)=>{const _0x399b57=_0x455473,_0x25ddb5=this[_0x399b57(0x170)](_0x43209d);this[_0x399b57(0x185)]++,this[_0x399b57(0x17b)](_0x43209d,_0x25ddb5),this[_0x399b57(0x153)]();}),this[_0x455473(0x15a)](_0x317e5b[_0x455473(0x132)],_0x455473(0x134),(_0x57bc05,_0x31f545)=>{const _0x3cce1d=_0x455473;this[_0x3cce1d(0x185)]--,this[_0x3cce1d(0x13f)](_0x31f545),this[_0x3cce1d(0x153)]();}),this[_0x455473(0x15a)](_0x317e5b,_0x455473(0x188),()=>this[_0x455473(0x153)]()),this[_0x455473(0x15a)](_0x317e5b,_0x455473(0x144),()=>this[_0x455473(0x181)]()),this['on'](_0x455473(0x12a),()=>this[_0x455473(0x153)]()),this['on'](_0x455473(0x152),()=>this[_0x455473(0x153)]()),this[_0x455473(0x171)]({'tag':'ul','attributes':{'class':[_0x455473(0x14d),_0x31bc42['if'](_0x455473(0x185),_0x455473(0x13d),_0x108cea=>!_0x108cea)],'aria-label':_0x5b8753(_0x1f717e,_0x455473(0x16b))},'children':this[_0x455473(0x17e)]});}get[_0x5558a9(0x142)](){const _0x3f329c=_0x5558a9;return this[_0x3f329c(0x174)][_0x3f329c(0x15f)]>this[_0x3f329c(0x136)][_0x3f329c(0x18b)]&&!this[_0x3f329c(0x168)]&&!this[_0x3f329c(0x149)];}[_0x5558a9(0x15d)](){const _0x28e878=_0x5558a9;super[_0x28e878(0x15d)](),this[_0x28e878(0x153)](),this[_0x28e878(0x157)]();}[_0x5558a9(0x16c)](_0x41f3fc){const _0xd27a39=_0x5558a9;-0x1===_0x41f3fc?this[_0xd27a39(0x163)][_0xd27a39(0x12b)]():this[_0xd27a39(0x163)][_0xd27a39(0x138)]();}[_0x5558a9(0x129)](){const _0x10ca75=_0x5558a9;this[_0x10ca75(0x140)][_0x10ca75(0x129)]();for(const _0x57aa70 of this[_0x10ca75(0x17d)])_0x57aa70[_0x10ca75(0x129)]();super[_0x10ca75(0x129)]();}[_0x5558a9(0x153)](){const _0x12ee17=_0x5558a9;this[_0x12ee17(0x142)]?this[_0x12ee17(0x13a)]():this[_0x12ee17(0x17c)]();}[_0x5558a9(0x17b)](_0x2480c3,_0x228f93){const _0x121ca4=_0x5558a9,_0x26e11d=new this[(_0x121ca4(0x136))][(_0x121ca4(0x18a))](this[_0x121ca4(0x12f)],_0x2480c3,{'maxCommentCharsWhenCollapsed':this[_0x121ca4(0x136)][_0x121ca4(0x160)],'formatDateTime':this[_0x121ca4(0x136)][_0x121ca4(0x150)],'editorConfig':this[_0x121ca4(0x136)][_0x121ca4(0x161)]});_0x26e11d[_0x121ca4(0x13c)]=_0x2480c3['id'],_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x183))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x186))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x159))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x162))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x156))['to'](this),this[_0x121ca4(0x15a)](_0x26e11d,_0x121ca4(0x133),()=>this[_0x121ca4(0x14e)]()),this[_0x121ca4(0x17d)][_0x121ca4(0x14b)](_0x26e11d,_0x228f93);}[_0x5558a9(0x170)](_0xb389d1){const _0x4c4792=_0x5558a9,_0x531677=this[_0x4c4792(0x174)][_0x4c4792(0x131)](_0xb389d1);return this[_0x4c4792(0x158)]?this[_0x4c4792(0x158)][_0x4c4792(0x167)]>_0xb389d1[_0x4c4792(0x167)]?_0x531677-0x1:_0x531677:_0x531677-0x1;}[_0x5558a9(0x181)](){const _0x4a97af=_0x5558a9;if(this[_0x4a97af(0x174)][_0x4a97af(0x164)]&&this[_0x4a97af(0x174)][_0x4a97af(0x13b)]){const _0x5787fc={'id':_0x4a97af(0x15e),'author':this[_0x4a97af(0x174)][_0x4a97af(0x164)],'authoredAt':this[_0x4a97af(0x174)][_0x4a97af(0x13b)],'content':_0x5b8753(this[_0x4a97af(0x12f)],_0x4a97af(0x143)),'attributes':{}};this[_0x4a97af(0x158)]=new this[(_0x4a97af(0x136))][(_0x4a97af(0x18a))](this[_0x4a97af(0x12f)],_0x5787fc,{'maxCommentCharsWhenCollapsed':this[_0x4a97af(0x136)][_0x4a97af(0x160)],'formatDateTime':this[_0x4a97af(0x136)][_0x4a97af(0x150)],'editorConfig':this[_0x4a97af(0x136)][_0x4a97af(0x161)],'isSystemComment':!0x0}),this[_0x4a97af(0x17d)][_0x4a97af(0x14b)](this[_0x4a97af(0x158)],this[_0x4a97af(0x174)][_0x4a97af(0x131)](_0x5787fc));}else this[_0x4a97af(0x158)]&&(this[_0x4a97af(0x17d)][_0x4a97af(0x134)](this[_0x4a97af(0x158)]),this[_0x4a97af(0x158)][_0x4a97af(0x129)](),this[_0x4a97af(0x158)]=null);this[_0x4a97af(0x153)]();}[_0x5558a9(0x13f)](_0x435736){const _0x2db1dc=_0x5558a9,_0x5adff0=this[_0x2db1dc(0x17d)][_0x2db1dc(0x134)](_0x435736['id']);this[_0x2db1dc(0x137)](_0x5adff0),_0x5adff0[_0x2db1dc(0x187)]&&this[_0x2db1dc(0x14e)](),_0x5adff0[_0x2db1dc(0x129)]();}[_0x5558a9(0x14e)](){const _0x8efcef=_0x5558a9;this[_0x8efcef(0x149)]=Array[_0x8efcef(0x15b)](this[_0x8efcef(0x17d)])[_0x8efcef(0x17a)](_0x5b71c3=>_0x5b71c3[_0x8efcef(0x187)]);}[_0x5558a9(0x13a)](){const _0x4721a0=_0x5558a9,_0x5a9082=function(_0x3db8fa){const _0x41245a=_0x5157,_0x341187=new _0x68ecdf();for(const _0x2db8cf of _0x3db8fa)_0x341187[_0x41245a(0x14b)](_0x2db8cf);return _0x341187;}(this[_0x4721a0(0x17d)]),_0x47e8bc=this[_0x4721a0(0x140)][_0x4721a0(0x176)];for(let _0x37d2b8=0x1;_0x37d2b8<=_0x47e8bc;_0x37d2b8++)_0x5a9082[_0x4721a0(0x134)](0x1);for(const _0x3f1c78 of _0x5a9082)_0x3f1c78[_0x4721a0(0x141)]();_0x47e8bc>0x0&&_0x5a9082[_0x4721a0(0x14b)](this[_0x4721a0(0x140)],0x1),ns(_0x4d1e4e(Array[_0x4721a0(0x15b)](this[_0x4721a0(0x17e)]),Array[_0x4721a0(0x15b)](_0x5a9082)),this[_0x4721a0(0x17e)],_0x5a9082);}[_0x5558a9(0x17c)](){const _0x4d464b=_0x5558a9;ns(_0x4d1e4e(Array[_0x4d464b(0x15b)](this[_0x4d464b(0x17e)]),Array[_0x4d464b(0x15b)](this[_0x4d464b(0x17d)])),this[_0x4d464b(0x17e)],this[_0x4d464b(0x17d)]);for(const _0x33049b of this[_0x4d464b(0x17e)])_0x33049b[_0x4d464b(0x147)]();}[_0x5558a9(0x157)](){const _0x572fcd=_0x5558a9;this[_0x572fcd(0x17d)][_0x572fcd(0x13e)](_0x20f401=>{const _0x173fe0=_0x572fcd;this[_0x173fe0(0x14a)][_0x173fe0(0x14b)](_0x20f401[_0x173fe0(0x182)]),this[_0x173fe0(0x173)][_0x173fe0(0x15a)](_0x20f401[_0x173fe0(0x182)]);}),this[_0x572fcd(0x17d)]['on'](_0x572fcd(0x175),(_0x12aa18,_0x5998c5)=>{const _0x5edb43=_0x572fcd;for(const _0x1febcf of _0x5998c5[_0x5edb43(0x16a)])this[_0x5edb43(0x14a)][_0x5edb43(0x134)](_0x1febcf[_0x5edb43(0x182)]),this[_0x5edb43(0x173)][_0x5edb43(0x137)](_0x1febcf[_0x5edb43(0x182)]);for(const _0x55f5b6 of Array[_0x5edb43(0x15b)](_0x5998c5[_0x5edb43(0x15c)])[_0x5edb43(0x139)]())this[_0x5edb43(0x14a)][_0x5edb43(0x14b)](_0x55f5b6[_0x5edb43(0x182)]),this[_0x5edb43(0x173)][_0x5edb43(0x15a)](_0x55f5b6[_0x5edb43(0x182)]);});}}function ns(_0x1a1c67,_0x14d7a4,_0x4810ad){const _0x4598d3=_0x5558a9;let _0x1e68a6=0x0;for(const _0x5ba3c7 of _0x1a1c67)switch(_0x5ba3c7){case _0x4598d3(0x180):_0x14d7a4[_0x4598d3(0x14b)](_0x4810ad[_0x4598d3(0x165)](_0x1e68a6),_0x1e68a6),_0x1e68a6++;break;case _0x4598d3(0x169):_0x14d7a4[_0x4598d3(0x134)](_0x1e68a6);break;case _0x4598d3(0x146):_0x1e68a6++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d983b=_0x1f05;(function(_0x4e8de0,_0x57d2f7){const _0x345657=_0x1f05,_0x310818=_0x4e8de0();while(!![]){try{const _0x1c0597=parseInt(_0x345657(0x184))/0x1+-parseInt(_0x345657(0x174))/0x2+-parseInt(_0x345657(0x175))/0x3*(-parseInt(_0x345657(0x172))/0x4)+-parseInt(_0x345657(0x182))/0x5*(parseInt(_0x345657(0x179))/0x6)+parseInt(_0x345657(0x177))/0x7+-parseInt(_0x345657(0x17e))/0x8+parseInt(_0x345657(0x17f))/0x9*(parseInt(_0x345657(0x180))/0xa);if(_0x1c0597===_0x57d2f7)break;else _0x310818['push'](_0x310818['shift']());}catch(_0x4f8bcf){_0x310818['push'](_0x310818['shift']());}}}(_0x199f,0xdc022));import{View as _0xaf2eed}from'ckeditor5/src/ui.js';import{getTranslation as _0x217095}from'../../../utils/common-translations.js';function _0x1f05(_0x215a35,_0xb5057b){const _0x199fd3=_0x199f();return _0x1f05=function(_0x1f0569,_0x1264b5){_0x1f0569=_0x1f0569-0x172;let _0x529ec6=_0x199fd3[_0x1f0569];return _0x529ec6;},_0x1f05(_0x215a35,_0xb5057b);}function _0x199f(){const _0x4d1d6e=['5850976IQILTQ','36yPIjMo','2718840qDmyGd','focus','1265jaTeUH','set','230566ZvyjGp','12cNESiR','ck-context__value','2315098ATMSuh','858630PGJiQg','span','4812304ZIsfCl','element','1758kDsREg','bindTemplate','THREAD_CONTEXT_LABEL','contextValue','setTemplate'];_0x199f=function(){return _0x4d1d6e;};return _0x199f();}export default class as extends _0xaf2eed{constructor(_0x285032){const _0x20b20c=_0x1f05;super(_0x285032);const _0x15d69f=this[_0x20b20c(0x17a)];this[_0x20b20c(0x183)](_0x20b20c(0x17c),''),this[_0x20b20c(0x17d)]({'tag':_0x20b20c(0x176),'attributes':{'class':['ck',_0x20b20c(0x173)],'aria-label':_0x15d69f['to'](_0x20b20c(0x17c),_0x8c7b85=>_0x217095(_0x285032,_0x20b20c(0x17b),_0x8c7b85)),'tabindex':-0x1},'children':[{'text':_0x15d69f['to'](_0x20b20c(0x17c))}]});}[_0x4d983b(0x181)](){const _0x193589=_0x4d983b;this[_0x193589(0x178)][_0x193589(0x181)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x352596=_0x4596;function _0x3f84(){const _0x213518=['2cNSEbs','bind','_trimContextValue','ck-context--quotes','55nWUUiS','setTemplate','2905208iMfOMR','44YWAoZM','192571QXaeVD','...','_createReopenButton','execute','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','.ck-context__value','keystrokes','ck-context','isVisible','contextValue','isReadOnly','classList','_createContextView','render','mouseenter','createCollection','locale','9wMeJPi','_setupKeyboardNavigation','isResolved','reopenCommentThread','focusFirst','remove','length','isEnabled','focusCycler','focusTracker','tab','.ck-context','ck-thread__header','48ojucNV','focusables','scrollWidth','focus','listenTo','isResolvable','context','lastIndexOf','bindTemplate','icon','2321502INCCkM','ck-context-wrapper','Reopen','hasContext','7leZXFH','div','add','34885ZeQwWM','_model','overlay','tooltip','contextView','reopenButtonView','604279fgxAyS','label','_attachContextActions','value','querySelector','104590wLWprV','substring','fire','mouseleave','ck-annotation__actions','shift+tab','860106wWlkiT','element'];_0x3f84=function(){return _0x213518;};return _0x3f84();}function _0x4596(_0x48354b,_0x289df5){const _0x3f84a3=_0x3f84();return _0x4596=function(_0x459614,_0x45ebde){_0x459614=_0x459614-0x1bc;let _0x5e0691=_0x3f84a3[_0x459614];return _0x5e0691;},_0x4596(_0x48354b,_0x289df5);}(function(_0x2a4a8b,_0x17209e){const _0x3e6e1f=_0x4596,_0x31e160=_0x2a4a8b();while(!![]){try{const _0x1d77ea=parseInt(_0x3e6e1f(0x1d0))/0x1*(parseInt(_0x3e6e1f(0x1c8))/0x2)+-parseInt(_0x3e6e1f(0x1c6))/0x3+parseInt(_0x3e6e1f(0x1cf))/0x4*(parseInt(_0x3e6e1f(0x200))/0x5)+-parseInt(_0x3e6e1f(0x1f9))/0x6*(-parseInt(_0x3e6e1f(0x1fd))/0x7)+parseInt(_0x3e6e1f(0x1ce))/0x8*(-parseInt(_0x3e6e1f(0x1e2))/0x9)+parseInt(_0x3e6e1f(0x1c0))/0xa*(parseInt(_0x3e6e1f(0x1cc))/0xb)+-parseInt(_0x3e6e1f(0x1ef))/0xc*(-parseInt(_0x3e6e1f(0x206))/0xd);if(_0x1d77ea===_0x17209e)break;else _0x31e160['push'](_0x31e160['shift']());}catch(_0x2dedc6){_0x31e160['push'](_0x31e160['shift']());}}}(_0x3f84,0x3bb81));import{View as _0x29933e,ButtonView as _0x12b77e,FocusCycler as _0x4e4a15}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4f28a3,KeystrokeHandler as _0x40960c}from'ckeditor5/src/utils.js';import{IconUndo as _0x58d412}from'ckeditor5/src/icons.js';import{getTranslation as _0x335c8e}from'../../../utils/common-translations.js';import _0x30a4f2 from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x29933e{[_0x352596(0x201)];[_0x352596(0x205)];[_0x352596(0x204)];[_0x352596(0x1f0)];[_0x352596(0x1eb)];[_0x352596(0x1d7)];[_0x352596(0x1ea)];constructor(_0xf6e8,_0x2d6e66){const _0x330d02=_0x352596;super(_0xf6e8);const _0x114303=this[_0x330d02(0x1f7)];this[_0x330d02(0x201)]=_0x2d6e66,this[_0x330d02(0x205)]=this[_0x330d02(0x1d2)](),this[_0x330d02(0x204)]=this[_0x330d02(0x1dd)](),this[_0x330d02(0x1f0)]=this[_0x330d02(0x1e0)]([this[_0x330d02(0x204)],this[_0x330d02(0x205)]]),this[_0x330d02(0x1eb)]=new _0x4f28a3(),this[_0x330d02(0x1d7)]=new _0x40960c(),this[_0x330d02(0x1ea)]=new _0x4e4a15({'focusables':this[_0x330d02(0x1f0)],'focusTracker':this[_0x330d02(0x1eb)],'keystrokeHandler':this[_0x330d02(0x1d7)],'actions':{'focusPrevious':_0x330d02(0x1c5),'focusNext':_0x330d02(0x1ec)}}),this[_0x330d02(0x1c9)](_0x330d02(0x1fc))['to'](this[_0x330d02(0x201)],_0x330d02(0x1f5),_0x4ecfd7=>!!_0x4ecfd7),this[_0x330d02(0x1c9)](_0x330d02(0x1da))['to'](this[_0x330d02(0x201)],_0x330d02(0x1f5),_0x58fa67=>_0x58fa67&&_0x58fa67[_0x330d02(0x1be)]?this[_0x330d02(0x1ca)](_0x58fa67[_0x330d02(0x1be)]):_0x335c8e(this[_0x330d02(0x1e1)],_0x330d02(0x1d5))),this[_0x330d02(0x1cd)]({'tag':_0x330d02(0x1fe),'attributes':{'class':[_0x330d02(0x1ee)]},'children':[{'tag':_0x330d02(0x1fe),'attributes':{'class':[_0x330d02(0x1fa)]},'children':[{'tag':_0x330d02(0x1fe),'attributes':{'class':[_0x330d02(0x1d8),_0x114303['if'](_0x330d02(0x1fc),_0x330d02(0x1cb))]},'children':[this[_0x330d02(0x204)]]}]},{'tag':_0x330d02(0x1fe),'attributes':{'class':[_0x330d02(0x1c4)]},'children':[this[_0x330d02(0x205)]]}]});}[_0x352596(0x1de)](){const _0x4e34eb=_0x352596;super[_0x4e34eb(0x1de)](),this[_0x4e34eb(0x1bd)](),this[_0x4e34eb(0x1e3)]();}[_0x352596(0x1f2)](){const _0x573c91=_0x352596;this[_0x573c91(0x1ea)][_0x573c91(0x1e6)]();}[_0x352596(0x1d2)](){const _0x1dda66=_0x352596,_0x330906=new _0x12b77e(this[_0x1dda66(0x1e1)]);return _0x330906[_0x1dda66(0x1bc)]=_0x335c8e(this[_0x1dda66(0x1e1)],_0x1dda66(0x1fb)),_0x330906[_0x1dda66(0x203)]=_0x335c8e(this[_0x1dda66(0x1e1)],_0x1dda66(0x1fb)),_0x330906[_0x1dda66(0x1f8)]=_0x58d412,_0x330906[_0x1dda66(0x1c9)](_0x1dda66(0x1e9))['to'](this[_0x1dda66(0x201)],_0x1dda66(0x1db),_0x5cb547=>!_0x5cb547),_0x330906[_0x1dda66(0x1c9)](_0x1dda66(0x1d9))['to'](this[_0x1dda66(0x201)],_0x1dda66(0x1f4),this[_0x1dda66(0x201)],_0x1dda66(0x1e4),(_0x2395d8,_0x20c095)=>_0x2395d8&&_0x20c095),_0x330906['on'](_0x1dda66(0x1d3),()=>{const _0x2cc7c4=_0x1dda66;this[_0x2cc7c4(0x1c2)](_0x2cc7c4(0x1e5),this[_0x2cc7c4(0x201)]['id']);}),_0x330906;}[_0x352596(0x1ca)](_0x535bac){const _0x2432d1=_0x352596;if(_0x535bac[_0x2432d1(0x1e8)]<0x96)return _0x535bac;const _0x45a2df=_0x535bac[_0x2432d1(0x1f6)]('\x20',0x93);return _0x535bac[_0x2432d1(0x1c1)](0x0,_0x45a2df>-0x1?_0x45a2df:0x93)+_0x2432d1(0x1d1);}[_0x352596(0x1bd)](){const _0x55e015=_0x352596,_0x48cbf5=this[_0x55e015(0x1c7)][_0x55e015(0x1bf)](_0x55e015(0x1ed)),_0x59d5d3=_0x48cbf5[_0x55e015(0x1bf)](_0x55e015(0x1d6));this[_0x55e015(0x1f3)](_0x48cbf5,_0x55e015(0x1df),()=>{const _0x1212a9=_0x55e015;_0x59d5d3[_0x1212a9(0x1d4)]<_0x59d5d3[_0x1212a9(0x1f1)]&&_0x48cbf5[_0x1212a9(0x1dc)][_0x1212a9(0x1ff)](_0x1212a9(0x202));}),this[_0x55e015(0x1f3)](_0x48cbf5,_0x55e015(0x1c3),()=>{const _0x174f0a=_0x55e015;_0x48cbf5[_0x174f0a(0x1dc)][_0x174f0a(0x1e7)](_0x174f0a(0x202));});}[_0x352596(0x1e3)](){const _0x1f45c5=_0x352596;this[_0x1f45c5(0x1d7)][_0x1f45c5(0x1f3)](this[_0x1f45c5(0x1c7)]);for(const _0x44d3f9 of this[_0x1f45c5(0x1f0)])this[_0x1f45c5(0x1eb)][_0x1f45c5(0x1ff)](_0x44d3f9[_0x1f45c5(0x1c7)]),this[_0x1f45c5(0x1d7)][_0x1f45c5(0x1f3)](_0x44d3f9[_0x1f45c5(0x1c7)]);}[_0x352596(0x1dd)](){const _0x221730=_0x352596,_0x415577=new _0x30a4f2(this[_0x221730(0x1e1)]);return _0x415577[_0x221730(0x1c9)](_0x221730(0x1da))['to'](this),_0x415577;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e6a0d=_0x4bb1;function _0x4bb1(_0x16846e,_0x4f4dcf){const _0x143521=_0x1435();return _0x4bb1=function(_0x4bb1c9,_0x458407){_0x4bb1c9=_0x4bb1c9-0x1c3;let _0x4ff6f0=_0x143521[_0x4bb1c9];return _0x4ff6f0;},_0x4bb1(_0x16846e,_0x4f4dcf);}(function(_0x2f1204,_0x28cd15){const _0x2b7deb=_0x4bb1,_0xb136a8=_0x2f1204();while(!![]){try{const _0x109d3f=-parseInt(_0x2b7deb(0x1c8))/0x1+parseInt(_0x2b7deb(0x1ca))/0x2+-parseInt(_0x2b7deb(0x1e6))/0x3*(-parseInt(_0x2b7deb(0x1de))/0x4)+-parseInt(_0x2b7deb(0x1df))/0x5+parseInt(_0x2b7deb(0x1db))/0x6*(-parseInt(_0x2b7deb(0x1cc))/0x7)+-parseInt(_0x2b7deb(0x1d8))/0x8+parseInt(_0x2b7deb(0x1ed))/0x9;if(_0x109d3f===_0x28cd15)break;else _0xb136a8['push'](_0xb136a8['shift']());}catch(_0x5433c3){_0xb136a8['push'](_0xb136a8['shift']());}}}(_0x1435,0xd658b));import{View as _0x1697a5}from'ckeditor5/src/ui.js';import _0x444c65 from'./commentinputview.js';import{UserView as _0x3cf78a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1435(){const _0x162a18=['getDomRoot','isFocused','extendTemplate','bindTemplate','41335173XijPbm','change:showInput','then','some','filter','editorReady','preventDefault','focusCycler','editing','mousedown','element','set','1739654KEruLG','render','367444fJlJKn','ck-thread__user','157423YrSWQX','userView','ck-thread__input','bind','editorDestroyed','delegate','div','editor','focus','focusTracker','target','showInput','10063440MmkMUf','value','contains','216SudQvD','showButtons','commentInputView','4152968RkzZCj','5648050LlWaQX','createEditor','setTemplate','_focusOnNonInteractiveMouseDown','ck-comment__input-container--active','listenTo','view','3TSePRq','destroy','ck-comment__input-container'];_0x1435=function(){return _0x162a18;};return _0x1435();}export default class ie extends _0x1697a5{constructor(_0x445a72,_0x2ab531,_0x5c0e7f){const _0x1805df=_0x4bb1;super(_0x445a72),this[_0x1805df(0x1dd)]=new _0x444c65(_0x445a72,_0x5c0e7f),this[_0x1805df(0x1c3)]=this[_0x1805df(0x1dd)][_0x1805df(0x1c3)],this[_0x1805df(0x1dd)][_0x1805df(0x1cf)](_0x1805df(0x1dc))['to'](this[_0x1805df(0x1dd)][_0x1805df(0x1d5)],_0x1805df(0x1ea),this[_0x1805df(0x1dd)],_0x1805df(0x1d9),(_0x54f3ba,_0xc32ad)=>_0x54f3ba||!!_0xc32ad),this[_0x1805df(0x1c7)](_0x1805df(0x1d7),!0x1),this['on'](_0x1805df(0x1ee),()=>{const _0x4dfd17=_0x1805df;this[_0x4dfd17(0x1d7)]&&!this[_0x4dfd17(0x1dd)][_0x4dfd17(0x1d3)]&&this[_0x4dfd17(0x1dd)][_0x4dfd17(0x1e0)]();}),this[_0x1805df(0x1dd)][_0x1805df(0x1d1)](_0x1805df(0x1f2))['to'](this),this[_0x1805df(0x1dd)][_0x1805df(0x1d1)](_0x1805df(0x1d0))['to'](this),this[_0x1805df(0x1cd)]=new _0x3cf78a(_0x445a72,_0x2ab531),this[_0x1805df(0x1cd)][_0x1805df(0x1eb)]({'attributes':{'class':_0x1805df(0x1cb),'aria-hidden':!0x0}}),this[_0x1805df(0x1dd)][_0x1805df(0x1eb)]({'attributes':{'class':_0x1805df(0x1ce)}}),this[_0x1805df(0x1e1)]({'tag':_0x1805df(0x1d2),'attributes':{'class':[_0x1805df(0x1e8),this[_0x1805df(0x1ec)]['if'](_0x1805df(0x1d7),_0x1805df(0x1e3))]},'children':[this[_0x1805df(0x1cd)],this[_0x1805df(0x1dd)]]});}[_0x2e6a0d(0x1c9)](){const _0x54b475=_0x2e6a0d;super[_0x54b475(0x1c9)](),this[_0x54b475(0x1e2)]();}[_0x2e6a0d(0x1e7)](){const _0x259d79=_0x2e6a0d;return this[_0x259d79(0x1dd)][_0x259d79(0x1e7)]()[_0x259d79(0x1ef)](()=>super[_0x259d79(0x1e7)]());}[_0x2e6a0d(0x1d4)](_0x42fce4){const _0x151abd=_0x2e6a0d;this[_0x151abd(0x1dd)][_0x151abd(0x1d4)](_0x42fce4);}[_0x2e6a0d(0x1e2)](){const _0x1e2d85=_0x2e6a0d;this[_0x1e2d85(0x1e4)](this[_0x1e2d85(0x1c6)],_0x1e2d85(0x1c5),(_0x20c98e,_0x534c2c)=>{const _0x335125=_0x1e2d85,{submitButtonView:_0x1522d4,cancelButtonView:_0x42eb1c,editor:_0x124a9a}=this[_0x335125(0x1dd)];[_0x1522d4[_0x335125(0x1c6)],_0x42eb1c[_0x335125(0x1c6)],_0x124a9a?_0x124a9a[_0x335125(0x1c4)][_0x335125(0x1e5)][_0x335125(0x1e9)]():null][_0x335125(0x1f1)](_0x90e1b2=>_0x90e1b2)[_0x335125(0x1f0)](_0x3d7615=>_0x3d7615[_0x335125(0x1da)](_0x534c2c[_0x335125(0x1d6)]))||(this[_0x335125(0x1d4)](),_0x534c2c[_0x335125(0x1f3)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2ae3(){const _0x70c9ef=['execute','commentThreadInputView','ariaDescriptionView','ck-thread--active','fire','listenTo','_cancelAllConfirms','removeButton','2095842XsRzjY','set','showConfirm','change:archivedAt','removeConfirm','ck-thread--remove-confirmation','has','isResolved','commentThreadChildren','ck-thread__container','isReadOnly','high','length','ck-thread--','stop','add','ariaLabel','render','locale','Resolve','bindTemplate','createCollection','223374aYygaK','then','818876tTPRNw','unbind','438307yciIQz','setTemplate','change:isReadOnly','resolveButton','_updateArchivedThreadHeader','listitem','div','commentViews','isUnlinked','querySelector','containerElement','removeCommentThread','907134alyRzH','tooltip','isVisible','3qKXQQN','ck-rounded-corners','change:isActive','focusables','archivedAt','isSystemComment','get','extendTemplate','commentsListView','735605TggiET','getTemplate','_bindFirstCommentView','Delete\x20comment\x20thread?','resolveCommentThread','isResolvable','isEnabled','actionIndicator','36BowHxA','2417144QYsGhs','element','ck-reset_all-excluded','actionBar','cancelConfirm','_createResolveButton','ck-comment--resolve','focus','isActive','_model','ck-thread','icon','remove','_boundFirstCommentView','commentThreadHeaderView','Write\x20a\x20comment...','label','placeholder','isConfirm','ck-thread--unlinked','bind','.ck-thread__container'];_0x2ae3=function(){return _0x70c9ef;};return _0x2ae3();}const _0x2c0fc9=_0x3fbd;function _0x3fbd(_0xe868c6,_0x22fbc3){const _0x2ae3d5=_0x2ae3();return _0x3fbd=function(_0x3fbd58,_0x60755d){_0x3fbd58=_0x3fbd58-0x1e7;let _0x26f8d7=_0x2ae3d5[_0x3fbd58];return _0x26f8d7;},_0x3fbd(_0xe868c6,_0x22fbc3);}(function(_0x3dc3e1,_0x43887d){const _0x4e0dce=_0x3fbd,_0x45767a=_0x3dc3e1();while(!![]){try{const _0x3b0a53=parseInt(_0x4e0dce(0x217))/0x1+parseInt(_0x4e0dce(0x223))/0x2+parseInt(_0x4e0dce(0x226))/0x3*(parseInt(_0x4e0dce(0x215))/0x4)+parseInt(_0x4e0dce(0x22f))/0x5+-parseInt(_0x4e0dce(0x213))/0x6+parseInt(_0x4e0dce(0x1fd))/0x7+-parseInt(_0x4e0dce(0x238))/0x8*(parseInt(_0x4e0dce(0x237))/0x9);if(_0x3b0a53===_0x43887d)break;else _0x45767a['push'](_0x45767a['shift']());}catch(_0x3b4be5){_0x45767a['push'](_0x45767a['shift']());}}}(_0x2ae3,0x48967));import{ConfirmMixin as _0x2d22cb,LateFocusButtonView as _0x3973d9}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x56cf9d}from'ckeditor5/src/icons.js';import _0x195569 from'./basecommentthreadview.js';import{getTranslation as _0x233d36}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2d22cb(_0x195569){[_0x2c0fc9(0x205)];[_0x2c0fc9(0x221)];[_0x2c0fc9(0x21a)];[_0x2c0fc9(0x1ec)];constructor(_0x79685b,_0x12f4ef,_0x55ed15,_0x1c4dd4){const _0x505574=_0x2c0fc9;super(_0x79685b,_0x12f4ef,_0x55ed15,_0x1c4dd4),this[_0x505574(0x205)]=this[_0x505574(0x212)]([this[_0x505574(0x22e)],this[_0x505574(0x1f6)],this[_0x505574(0x1f7)]]),this[_0x505574(0x1fe)](_0x505574(0x236),null),this[_0x505574(0x221)]=null,this[_0x505574(0x1ec)]=null,this[_0x505574(0x20f)]=_0x79685b,this[_0x505574(0x21a)]=this[_0x505574(0x23d)](),this[_0x505574(0x218)](this[_0x505574(0x230)]()),this['on'](_0x505574(0x228),(_0x2c58ae,_0x4de898,_0x51f6d3)=>{const _0xa09821=_0x505574;_0x51f6d3||this[_0xa09821(0x1fb)]();}),this[_0x505574(0x1fa)](this[_0x505574(0x1e8)],_0x505574(0x219),(_0x2eaa74,_0x5e8680,_0x43ed76)=>{const _0x432194=_0x505574;_0x43ed76&&this[_0x432194(0x1fb)]();}),this[_0x505574(0x209)]>0x0&&this[_0x505574(0x231)](),this[_0x505574(0x1fa)](this[_0x505574(0x22e)][_0x505574(0x21e)],_0x505574(0x20c),()=>{const _0x4c8b59=_0x505574;this[_0x4c8b59(0x231)]();});}[_0x2c0fc9(0x230)](){const _0x4b555f=_0x2c0fc9,_0x21fff5=this[_0x4b555f(0x211)];return{'tag':_0x4b555f(0x21d),'attributes':{'class':['ck',_0x4b555f(0x1e9),_0x4b555f(0x23a),_0x4b555f(0x227),_0x21fff5['if'](_0x4b555f(0x1e7),_0x4b555f(0x1f8)),_0x21fff5['if'](_0x4b555f(0x21f),_0x4b555f(0x1f2)),_0x21fff5['if'](_0x4b555f(0x1f1),_0x4b555f(0x202)),_0x21fff5['to'](_0x4b555f(0x236),_0x2f2881=>_0x2f2881?_0x4b555f(0x20a)+_0x2f2881:'')],'data-thread-id':this[_0x4b555f(0x1e8)]['id'],'tabindex':0x0,'role':_0x4b555f(0x21c),'aria-label':_0x21fff5['to'](_0x4b555f(0x20d)),'aria-describedby':this[_0x4b555f(0x1f7)]['id']},'children':[{'tag':_0x4b555f(0x21d),'attributes':{'class':_0x4b555f(0x206)},'children':this[_0x4b555f(0x205)]}]};}[_0x2c0fc9(0x20e)](){const _0x57debb=_0x2c0fc9;super[_0x57debb(0x20e)](),this[_0x57debb(0x221)]=this[_0x57debb(0x239)][_0x57debb(0x220)](_0x57debb(0x1f4)),this[_0x57debb(0x1e8)]['on'](_0x57debb(0x200),()=>{const _0x1949ad=_0x57debb;this[_0x1949ad(0x21b)]();}),this[_0x57debb(0x21b)]();}[_0x2c0fc9(0x1fb)](){const _0x3daa2c=_0x2c0fc9;this[_0x3daa2c(0x23c)]();for(const _0x7cf5db of this[_0x3daa2c(0x22e)][_0x3daa2c(0x21e)])_0x7cf5db[_0x3daa2c(0x23c)]();}[_0x2c0fc9(0x231)](){const _0x5c7736=_0x2c0fc9,{locale:_0xc8ba82}=this,_0x16d57c=this[_0x5c7736(0x22e)][_0x5c7736(0x21e)][_0x5c7736(0x22c)](0x0);_0x16d57c===this[_0x5c7736(0x1ec)]||_0x16d57c[_0x5c7736(0x22b)]||(this[_0x5c7736(0x1ec)]=_0x16d57c,this[_0x5c7736(0x216)](_0x5c7736(0x236)),this[_0x5c7736(0x1f3)](_0x5c7736(0x236))['to'](_0x16d57c,_0x5c7736(0x236),_0x141336=>_0x5c7736(0x1eb)===_0x141336?_0x5c7736(0x1eb):null),_0x16d57c[_0x5c7736(0x1f0)]=_0x233d36(_0xc8ba82,_0x5c7736(0x1ee)),_0x16d57c[_0x5c7736(0x1fc)]['on'](_0x5c7736(0x1f5),_0x1bd4b5=>{const _0x285ca5=_0x5c7736;_0x1bd4b5[_0x285ca5(0x20b)](),this[_0x285ca5(0x1ff)](_0x233d36(_0xc8ba82,_0x285ca5(0x232)),this[_0x285ca5(0x221)])[_0x285ca5(0x214)](()=>{const _0x183125=_0x285ca5;this[_0x183125(0x1f9)](_0x183125(0x222));});},{'priority':_0x5c7736(0x208)}),this['on'](_0x5c7736(0x201),()=>{const _0x3fd854=_0x5c7736;_0x16d57c[_0x3fd854(0x23f)]();}),_0x16d57c[_0x5c7736(0x23b)][_0x5c7736(0x20c)](this[_0x5c7736(0x21a)],0x0),_0x16d57c[_0x5c7736(0x229)][_0x5c7736(0x20c)](this[_0x5c7736(0x21a)],0x0));}[_0x2c0fc9(0x23d)](){const _0x34490a=_0x2c0fc9,_0x2ee02c=new _0x3973d9(this[_0x34490a(0x20f)]);return _0x2ee02c[_0x34490a(0x1ef)]=_0x233d36(this[_0x34490a(0x20f)],_0x34490a(0x210)),_0x2ee02c[_0x34490a(0x224)]=_0x233d36(this[_0x34490a(0x20f)],_0x34490a(0x210)),_0x2ee02c[_0x34490a(0x1ea)]=_0x56cf9d,_0x2ee02c[_0x34490a(0x22d)]({'attributes':{'class':_0x34490a(0x23e)}}),_0x2ee02c[_0x34490a(0x1f3)](_0x34490a(0x235))['to'](this[_0x34490a(0x1e8)],_0x34490a(0x207),_0x250eee=>!_0x250eee),_0x2ee02c[_0x34490a(0x1f3)](_0x34490a(0x225))['to'](this[_0x34490a(0x1e8)],_0x34490a(0x234),this[_0x34490a(0x1e8)],_0x34490a(0x204),(_0x3b7727,_0x26ef5a)=>_0x3b7727&&!_0x26ef5a),_0x2ee02c['on'](_0x34490a(0x1f5),()=>{const _0x31af78=_0x34490a;this[_0x31af78(0x1f9)](_0x31af78(0x233),this[_0x31af78(0x1e8)]['id']);}),_0x2ee02c;}[_0x2c0fc9(0x21b)](){const _0x122e4d=_0x2c0fc9;this[_0x122e4d(0x1e8)][_0x122e4d(0x22a)]?this[_0x122e4d(0x205)][_0x122e4d(0x203)](this[_0x122e4d(0x1ed)])||(this[_0x122e4d(0x205)][_0x122e4d(0x20c)](this[_0x122e4d(0x1ed)],0x0),this[_0x122e4d(0x229)][_0x122e4d(0x20c)](this[_0x122e4d(0x1ed)],0x0)):this[_0x122e4d(0x205)][_0x122e4d(0x203)](this[_0x122e4d(0x1ed)])&&(this[_0x122e4d(0x205)][_0x122e4d(0x1eb)](this[_0x122e4d(0x1ed)]),this[_0x122e4d(0x229)][_0x122e4d(0x1eb)](this[_0x122e4d(0x1ed)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0xd765(){const _0xef4d04=['Delete\x20comment?','ck-comment--edit','listitem','isVisible','isEditable','ck-comment__wrapper','actionBar','isRemovable','panelView','ck-comment__info-name','ck-annotation__actions','_createCommentInputView','ck-comment--','actionIndicator','_model','authoredAt','bind','8vOjCHV','Remove','ck-annotation__content-wrapper','isSystemComment','removeButton','time','ariaDescriptionView','ck-annotation__actions--hidden','ck-annotation__info-time','extendTemplate','isExternal','withText','ck-comment__info','edit','locale','find','createCollection','from','cancelConfirm','Edit','add','6308332ATZjcv','focusables','setTemplate','_createRemoveButton','children','push','some','editButton','userView','ck-comment--info','remove','length','_config','getTemplate','unbind','_createEditButton','toMany','ck-comment__info-time','visibleView','mouseenter','ck-comment__main','ck-annotation','focus','Show\x20more\x20items','items','ck-comment__actions','10201975CTzlJj','panelPosition','ariaLabel','change:isRemovable','showConfirm','_attachActions','ck-annotation__main','getUserViewNotificationText','64847277Lzuqez','name','Reply...','span','icon','ck-comment__user','ck-comment--remove-confirmation','_createDropdown','author','ck-annotation__info-name','getExternalCommentNote','ck-annotation__user','execute','mouseleave','isEditMode','10sYPyrT','5338RxFLRs','ck-comment--remove','addMany','3019250XBPzaY','label','ck-hidden','fire','placeholder','499UlyuvG','render','formatDateTime','switchToEditMode','isConfirm','div','3CWbWwV','set','buttonView','dropdown','7305684eGVOjo','element','isEnabled','ck-comment__external','then','listenTo','isReadOnly','bindTemplate','5373072aKDAMB','ck-comment','ck-annotation__info','resolvedAt','ck-comment__actions--hidden','blur','removeComment','group'];_0xd765=function(){return _0xef4d04;};return _0xd765();}const _0x186de3=_0x27e9;(function(_0x59e6cc,_0x46c3b9){const _0x1ba445=_0x27e9,_0x1390a6=_0x59e6cc();while(!![]){try{const _0x18c5a7=parseInt(_0x1ba445(0xb8))/0x1*(parseInt(_0x1ba445(0xb0))/0x2)+-parseInt(_0x1ba445(0xbe))/0x3*(-parseInt(_0x1ba445(0x7e))/0x4)+parseInt(_0x1ba445(0xb3))/0x5+parseInt(_0x1ba445(0xc2))/0x6+-parseInt(_0x1ba445(0x98))/0x7*(-parseInt(_0x1ba445(0x69))/0x8)+parseInt(_0x1ba445(0xca))/0x9+parseInt(_0x1ba445(0xaf))/0xa*(-parseInt(_0x1ba445(0xa0))/0xb);if(_0x18c5a7===_0x46c3b9)break;else _0x1390a6['push'](_0x1390a6['shift']());}catch(_0x879fd3){_0x1390a6['push'](_0x1390a6['shift']());}}}(_0xd765,0xd9304));import{IconRemoveComment as _0x2792da,IconPencil as _0x2070d8,IconThreeVerticalDots as _0x3d29c0}from'ckeditor5/src/icons.js';import{ButtonView as _0x6a6c9f,createDropdown as _0x68208b,ListView as _0x4f9f63,ListItemView as _0x156499,focusChildOnDropdownOpen as _0x5c8b7e}from'ckeditor5/src/ui.js';import{UserView as _0x38b2f3,ConfirmMixin as _0x346263,LateFocusDropdownButtonView as _0x3f6c3d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x13ffdc from'./basecommentview.js';function _0x27e9(_0x4e7e44,_0x4cc576){const _0xd76563=_0xd765();return _0x27e9=function(_0x27e983,_0x90726e){_0x27e983=_0x27e983-0x64;let _0x452cc7=_0xd76563[_0x27e983];return _0x452cc7;},_0x27e9(_0x4e7e44,_0x4cc576);}import{getTranslation as _0xab733a}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x346263(_0x13ffdc){[_0x186de3(0xd8)];[_0x186de3(0x86)];constructor(_0x7fcefa,_0x2f81f0,_0x56e023){const _0xe83fad=_0x186de3;super(_0x7fcefa,_0x2f81f0,_0x56e023),this[_0xe83fad(0xbf)](_0xe83fad(0x65),null),this[_0xe83fad(0xbf)](_0xe83fad(0xb7),_0xab733a(_0x7fcefa,_0xe83fad(0xa2))),this[_0xe83fad(0x68)](_0xe83fad(0x67))['to'](_0x2f81f0),this[_0xe83fad(0x68)](_0xe83fad(0xcd))['to'](_0x2f81f0),this[_0xe83fad(0xd8)]=this[_0xe83fad(0x79)](),this[_0xe83fad(0x6c)]||(this[_0xe83fad(0x85)]=this[_0xe83fad(0x8d)](),this[_0xe83fad(0x6d)]=this[_0xe83fad(0x81)](),this[_0xe83fad(0x96)]=this[_0xe83fad(0x79)](),this[_0xe83fad(0x96)][_0xe83fad(0xb2)]([this[_0xe83fad(0x85)],this[_0xe83fad(0x6d)]]),this[_0xe83fad(0xc1)]=this[_0xe83fad(0xa7)](),this[_0xe83fad(0xd8)][_0xe83fad(0x7d)](this[_0xe83fad(0xc1)]),this[_0xe83fad(0x7f)][_0xe83fad(0x7d)](this[_0xe83fad(0xc1)])),this[_0xe83fad(0x86)]=new _0x38b2f3(_0x7fcefa,_0x2f81f0[_0xe83fad(0xa8)],this[_0xe83fad(0x9f)]()),this[_0xe83fad(0x86)][_0xe83fad(0x72)]({'attributes':{'class':[_0xe83fad(0xa5),_0xe83fad(0xab)],'aria-hidden':!0x0}}),this[_0xe83fad(0xc7)](_0x2f81f0,_0xe83fad(0x9b),()=>this[_0xe83fad(0x7b)]()),this[_0xe83fad(0x80)](this[_0xe83fad(0x8b)]());}[_0x186de3(0x8b)](){const _0x5be8cf=_0x186de3,_0x362829=this[_0x5be8cf(0xc9)],_0x5c13e6=[{'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0x75),_0x5be8cf(0xcc)]},'children':[{'tag':_0x5be8cf(0xa3),'children':[{'text':this[_0x5be8cf(0x86)][_0x5be8cf(0xa1)]}],'attributes':{'class':[_0x5be8cf(0xdb),_0x5be8cf(0xa9)],'data-cke-tooltip-text':this[_0x5be8cf(0x86)][_0x5be8cf(0xa1)]}},{'tag':_0x5be8cf(0x6e),'attributes':{'datetime':_0x362829['to'](_0x5be8cf(0x67)),'class':[_0x5be8cf(0x8f),_0x5be8cf(0x71)]},'children':[{'text':_0x362829['to'](_0x5be8cf(0x67),_0x270b30=>this[_0x5be8cf(0x8a)][_0x5be8cf(0xba)](_0x270b30))}]}]},{'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0x97),_0x5be8cf(0xdc),_0x362829['if'](_0x5be8cf(0xae),_0x5be8cf(0xce)),_0x362829['if'](_0x5be8cf(0xae),_0x5be8cf(0x70))]},'children':this[_0x5be8cf(0xd8)]},{'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0x6b)]},'children':this[_0x5be8cf(0x90)]},this[_0x5be8cf(0x6f)]];return this[_0x5be8cf(0x66)][_0x5be8cf(0x73)]&&_0x5c13e6[_0x5be8cf(0x83)]({'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0xc5)]},'children':[{'text':this[_0x5be8cf(0xaa)]()}]}),{'tag':'li','attributes':{'class':[_0x5be8cf(0xd7),_0x362829['if'](_0x5be8cf(0xbc),_0x5be8cf(0xa6))],'tabindex':-0x1,'aria-label':_0x362829['to'](_0x5be8cf(0x9a)),'aria-describedby':this[_0x5be8cf(0x6f)]['id'],'role':_0x5be8cf(0xd4)},'children':[{'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0xcb),_0x5be8cf(0x93),_0x362829['if'](_0x5be8cf(0xae),_0x5be8cf(0xd3)),_0x362829['if'](_0x5be8cf(0x6c),_0x5be8cf(0x87)),_0x362829['to'](_0x5be8cf(0x65),_0x45605d=>_0x45605d?_0x5be8cf(0x64)+_0x45605d:'')],'data-author-id':this[_0x5be8cf(0x66)][_0x5be8cf(0xa8)]['id'],'data-comment-id':this[_0x5be8cf(0x66)]['id'],'role':_0x5be8cf(0xd1)},'children':[this[_0x5be8cf(0x86)],{'tag':_0x5be8cf(0xbd),'attributes':{'class':[_0x5be8cf(0x92),_0x5be8cf(0x9e)]},'children':_0x5c13e6}]}]};}[_0x186de3(0x8d)](){const _0x3700bf=_0x186de3,_0x13b977=new _0x6a6c9f(this[_0x3700bf(0x77)]);return _0x13b977[_0x3700bf(0xb4)]=_0xab733a(this[_0x3700bf(0x77)],_0x3700bf(0x7c)),_0x13b977[_0x3700bf(0xa4)]=_0x2070d8,_0x13b977[_0x3700bf(0x74)]=!0x0,_0x13b977[_0x3700bf(0x72)]({'attributes':{'class':_0x3700bf(0xd3)}}),_0x13b977[_0x3700bf(0x68)](_0x3700bf(0xc4))['to'](this[_0x3700bf(0x66)],_0x3700bf(0xc8),_0x1e7a59=>!_0x1e7a59),_0x13b977[_0x3700bf(0x68)](_0x3700bf(0xd5))['to'](this[_0x3700bf(0x66)],_0x3700bf(0xd6)),_0x13b977['on'](_0x3700bf(0xac),()=>this[_0x3700bf(0xbb)]()),_0x13b977;}[_0x186de3(0x81)](){const _0xe803be=_0x186de3,_0x390ed1=new _0x6a6c9f(this[_0xe803be(0x77)]);return _0x390ed1[_0xe803be(0xb4)]=_0xab733a(this[_0xe803be(0x77)],_0xe803be(0x6a)),_0x390ed1[_0xe803be(0xa4)]=_0x2792da,_0x390ed1[_0xe803be(0x74)]=!0x0,_0x390ed1[_0xe803be(0x72)]({'attributes':{'class':_0xe803be(0xb1)}}),_0x390ed1[_0xe803be(0x68)](_0xe803be(0xc4))['to'](this[_0xe803be(0x66)],_0xe803be(0xc8),_0x277883=>!_0x277883),_0x390ed1[_0xe803be(0x68)](_0xe803be(0xd5))['to'](this[_0xe803be(0x66)],_0xe803be(0xd9)),_0x390ed1['on'](_0xe803be(0xac),()=>{const _0x1b913b=_0xe803be;this[_0x1b913b(0x9c)](_0xab733a(this[_0x1b913b(0x77)],_0x1b913b(0xd2)),this[_0x1b913b(0xc3)])[_0x1b913b(0xc6)](()=>{const _0x558c6e=_0x1b913b;this[_0x558c6e(0xb6)](_0x558c6e(0xd0),this[_0x558c6e(0x66)]['id']);});}),_0x390ed1;}[_0x186de3(0xa7)](){const _0x4b4b12=_0x186de3,_0x355c82=_0x68208b(this[_0x4b4b12(0x77)],_0x3f6c3d),_0x3b3855=_0x355c82[_0x4b4b12(0xda)][_0x4b4b12(0x82)],_0x5c645d=new _0x4f9f63(this[_0x4b4b12(0x77)]),_0x1aa5d4=_0x355c82[_0x4b4b12(0xc9)];_0x5c8b7e(_0x355c82,()=>this[_0x4b4b12(0x96)][_0x4b4b12(0x78)](_0x26cdae=>_0x26cdae[_0x4b4b12(0xd5)])),_0x355c82[_0x4b4b12(0x72)]({'attributes':{'class':[_0x1aa5d4['if'](_0x4b4b12(0xd5),_0x4b4b12(0xb5),_0x355a4b=>!_0x355a4b)]}});const _0xf941ac=(_0x44eecb,_0x53ea5a=-0x1)=>{const _0x136b8a=_0x4b4b12,_0x194fdb=new _0x156499(this[_0x136b8a(0x77)]);_0x194fdb[_0x136b8a(0x82)][_0x136b8a(0x7d)](_0x44eecb);const _0x4dfc05=_0x53ea5a>-0x1?_0x53ea5a:_0x5c645d[_0x136b8a(0x96)][_0x136b8a(0x89)];_0x5c645d[_0x136b8a(0x96)][_0x136b8a(0x7d)](_0x194fdb,_0x4dfc05);const _0x448d27=Array[_0x136b8a(0x7a)](this[_0x136b8a(0x96)]);_0x355c82[_0x136b8a(0x8c)](_0x136b8a(0xc4),_0x136b8a(0xd5)),_0x355c82[_0x136b8a(0x68)](_0x136b8a(0xc4))[_0x136b8a(0x8e)](_0x448d27,_0x136b8a(0xc4),(..._0xeb23d9)=>_0xeb23d9[_0x136b8a(0x84)](_0x4e32dd=>_0x4e32dd)),_0x355c82[_0x136b8a(0x68)](_0x136b8a(0xd5))[_0x136b8a(0x8e)](_0x448d27,_0x136b8a(0xd5),(..._0x6ccbd1)=>_0x6ccbd1[_0x136b8a(0x84)](_0x323796=>_0x323796));};_0x355c82[_0x4b4b12(0x99)]='sw',_0x355c82[_0x4b4b12(0xc0)][_0x4b4b12(0xbf)]({'label':_0xab733a(this[_0x4b4b12(0x77)],_0x4b4b12(0x95)),'icon':_0x3d29c0});for(const _0x8f1596 of this[_0x4b4b12(0x96)])_0xf941ac(_0x8f1596);return _0x3b3855[_0x4b4b12(0x7d)](_0x5c645d),_0x355c82[_0x4b4b12(0xc7)](this[_0x4b4b12(0x96)],_0x4b4b12(0x7d),(_0x54ad33,_0x86ed6b,_0x2a46fd)=>{_0xf941ac(_0x86ed6b,_0x2a46fd);}),_0x355c82[_0x4b4b12(0xc7)](this[_0x4b4b12(0x96)],_0x4b4b12(0x88),(_0x1353f7,_0x3d1e10,_0x3fb28a)=>{const _0x640e8a=_0x4b4b12;_0x5c645d[_0x640e8a(0x96)][_0x640e8a(0x88)](_0x3fb28a);}),_0x355c82;}[_0x186de3(0x9d)](_0x18126d,_0x23f189){const _0xfe4c5=_0x186de3,_0x271355=_0x18126d&&_0x18126d[_0xfe4c5(0xc3)];_0x271355&&(this[_0xfe4c5(0xc7)](_0x271355,_0xfe4c5(0x91),()=>this[_0xfe4c5(0x65)]=_0x23f189),this[_0xfe4c5(0xc7)](_0x271355,_0xfe4c5(0x94),()=>this[_0xfe4c5(0x65)]=_0x23f189),this[_0xfe4c5(0xc7)](_0x271355,_0xfe4c5(0xad),()=>this[_0xfe4c5(0x65)]=null),this[_0xfe4c5(0xc7)](_0x271355,_0xfe4c5(0xcf),()=>this[_0xfe4c5(0x65)]=null));}[_0x186de3(0xdd)](){const _0x48b437=_0x186de3,_0x29ddb7=super[_0x48b437(0xdd)]();return _0x29ddb7[_0x48b437(0x68)](_0x48b437(0xb7))['to'](this),_0x29ddb7;}[_0x186de3(0xb9)](){const _0x4bb275=_0x186de3;super[_0x4bb275(0xb9)](),this[_0x4bb275(0x9d)](this[_0x4bb275(0x85)],_0x4bb275(0x76)),this[_0x4bb275(0x9d)](this[_0x4bb275(0x6d)],_0x4bb275(0x88));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ee2f6=_0x4abd;(function(_0x100c7a,_0x581191){var _0x14a399=_0x4abd,_0x56f228=_0x100c7a();while(!![]){try{var _0x128d76=parseInt(_0x14a399(0x107))/0x1*(-parseInt(_0x14a399(0xf8))/0x2)+-parseInt(_0x14a399(0xfa))/0x3*(parseInt(_0x14a399(0xfd))/0x4)+-parseInt(_0x14a399(0xfc))/0x5+parseInt(_0x14a399(0xfe))/0x6*(-parseInt(_0x14a399(0xff))/0x7)+parseInt(_0x14a399(0x103))/0x8*(-parseInt(_0x14a399(0x108))/0x9)+parseInt(_0x14a399(0x106))/0xa+-parseInt(_0x14a399(0x104))/0xb*(-parseInt(_0x14a399(0x100))/0xc);if(_0x128d76===_0x581191)break;else _0x56f228['push'](_0x56f228['shift']());}catch(_0x1f1fd6){_0x56f228['push'](_0x56f228['shift']());}}}(_0x5d39,0x5995b));import{Plugin as _0x41a513}from'ckeditor5/src/core.js';import _0x211bf5 from'./comments/commentsrepository.js';import _0x5b7445 from'./comments/commentsediting.js';function _0x4abd(_0x200fe6,_0x4c02a0){var _0x5d3959=_0x5d39();return _0x4abd=function(_0x4abda4,_0x543703){_0x4abda4=_0x4abda4-0xf8;var _0x4753b6=_0x5d3959[_0x4abda4];return _0x4753b6;},_0x4abd(_0x200fe6,_0x4c02a0);}function _0x5d39(){var _0x3b6476=['requires','pluginName','56056vZhiYd','22iuSjgh','Comments','5253080mpUrUA','71SeAoQk','936PJLQNU','18848yfxGiV','isOfficialPlugin','3993NJtMzP','isPremiumPlugin','672510fNEggT','748CLeciK','6lEFyQG','3164434yatbLT','12449544gNQnsr'];_0x5d39=function(){return _0x3b6476;};return _0x5d39();}import _0x5e8165 from'./comments/commentsui.js';import _0x39cb38 from'./commentsonly.js';import _0x3863d9 from'./annotations/widesidebar.js';import _0xfd5af7 from'./annotations/narrowsidebar.js';import _0x2d6437 from'./annotations/inlineannotations.js';import _0x4874a8 from'./comments/commentsarchiveui.js';import _0x3515dc from'./comments/commentsarchive.js';export default class p extends _0x41a513{static get[_0x2ee2f6(0x101)](){return[_0x211bf5,_0x5b7445,_0x5e8165,_0x3515dc,_0x4874a8,_0x39cb38,_0x3863d9,_0xfd5af7,_0x2d6437];}static get[_0x2ee2f6(0x102)](){var _0xc5eae8=_0x2ee2f6;return _0xc5eae8(0x105);}static get[_0x2ee2f6(0xf9)](){return!0x0;}static get[_0x2ee2f6(0xfb)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb63007=_0x3a6c;function _0x28a9(){const _0xa0cc3a=['1AqdYYz','set','commentsOnly','SourceEditing','1042970rVOQCz','_enableCommentsOnlyMode','isOfficialPlugin','pluginName','stop','editor','_disableCommentsOnlyMode','clearForceDisabled','plugins','get','editing','affectsData','commands','afterInit','12687433NFQGNm','2634040FuvnXb','49116kNMzNa','commentsOnlyMode','DragDrop','editSource','addCommentThread','view','change:isEnabled','159XPVrQv','highest','3531984oxLCir','listenTo','9tmtPxL','clipboardInput','document','1291592TbGgjx','1177606kNKDLb','has','forceDisabled','stopListening','CommentsOnly','isPremiumPlugin','isEnabled','7QfinTU','config','cut','delete','requires'];_0x28a9=function(){return _0xa0cc3a;};return _0x28a9();}(function(_0x1df9e6,_0x1a70a9){const _0x1d25e3=_0x3a6c,_0x41114a=_0x1df9e6();while(!![]){try{const _0x10454=parseInt(_0x1d25e3(0x11d))/0x1*(parseInt(_0x1d25e3(0x111))/0x2)+parseInt(_0x1d25e3(0x109))/0x3*(parseInt(_0x1d25e3(0x102))/0x4)+-parseInt(_0x1d25e3(0x101))/0x5+-parseInt(_0x1d25e3(0x10b))/0x6*(-parseInt(_0x1d25e3(0x118))/0x7)+parseInt(_0x1d25e3(0x110))/0x8+-parseInt(_0x1d25e3(0x10d))/0x9*(-parseInt(_0x1d25e3(0x121))/0xa)+-parseInt(_0x1d25e3(0x100))/0xb;if(_0x10454===_0x1a70a9)break;else _0x41114a['push'](_0x41114a['shift']());}catch(_0x3aa6b2){_0x41114a['push'](_0x41114a['shift']());}}}(_0x28a9,0x6505d));function _0x3a6c(_0x449160,_0x34e26f){const _0x28a903=_0x28a9();return _0x3a6c=function(_0x3a6c8d,_0x30af14){_0x3a6c8d=_0x3a6c8d-0xfc;let _0x1d2c7f=_0x28a903[_0x3a6c8d];return _0x1d2c7f;},_0x3a6c(_0x449160,_0x34e26f);}import{Plugin as _0x460f5e}from'ckeditor5/src/core.js';import _0x4b9554 from'./comments/commentsediting.js';export default class s extends _0x460f5e{static get[_0xb63007(0x124)](){const _0x4c356c=_0xb63007;return _0x4c356c(0x115);}static get[_0xb63007(0x123)](){return!0x0;}static get[_0xb63007(0x116)](){return!0x0;}static get[_0xb63007(0x11c)](){return[_0x4b9554];}constructor(_0x2ab2db){const _0xb12d60=_0xb63007;super(_0x2ab2db),this[_0xb12d60(0x11e)](_0xb12d60(0x117),!0x1),this['on'](_0xb12d60(0x108),(_0x15a8ba,_0x4ba501,_0x14e15f)=>{const _0x5d643d=_0xb12d60;_0x14e15f?this[_0x5d643d(0x122)]():this[_0x5d643d(0x127)]();});}[_0xb63007(0xff)](){const _0x45abcd=_0xb63007;!this[_0x45abcd(0x117)]&&this[_0x45abcd(0x126)][_0x45abcd(0x119)][_0x45abcd(0x12a)](_0x45abcd(0x11f))&&(this[_0x45abcd(0x117)]=!0x0);}[_0xb63007(0x122)](){const _0x577758=_0xb63007;for(const [_0x350a16,_0x5a7d75]of this[_0x577758(0x126)][_0x577758(0xfe)])_0x5a7d75[_0x577758(0xfd)]&&_0x577758(0x106)!==_0x350a16&&_0x5a7d75[_0x577758(0x113)](_0x577758(0x103));(this[_0x577758(0x126)][_0x577758(0x129)][_0x577758(0x112)](_0x577758(0x104))&&this[_0x577758(0x126)][_0x577758(0x129)][_0x577758(0x12a)](_0x577758(0x104))[_0x577758(0x113)](_0x577758(0x103)),this[_0x577758(0x126)][_0x577758(0x129)][_0x577758(0x112)](_0x577758(0x120)))&&this[_0x577758(0x126)][_0x577758(0x129)][_0x577758(0x12a)](_0x577758(0x120))[_0x577758(0x113)](_0x577758(0x103));this[_0x577758(0x126)][_0x577758(0xfe)][_0x577758(0x12a)](_0x577758(0x105))?.[_0x577758(0x113)](_0x577758(0x103));const _0x2bbbd3=this[_0x577758(0x126)][_0x577758(0xfc)][_0x577758(0x107)][_0x577758(0x10f)];this[_0x577758(0x10c)](_0x2bbbd3,_0x577758(0x11a),_0x1c85e9=>_0x1c85e9[_0x577758(0x125)](),{'priority':_0x577758(0x10a)}),this[_0x577758(0x10c)](_0x2bbbd3,_0x577758(0x10e),_0x170d17=>_0x170d17[_0x577758(0x125)](),{'priority':_0x577758(0x10a)}),this[_0x577758(0x10c)](_0x2bbbd3,_0x577758(0x11b),_0x2a8bfc=>_0x2a8bfc[_0x577758(0x125)](),{'priority':_0x577758(0x10a)});}[_0xb63007(0x127)](){const _0x3d5e16=_0xb63007;for(const [_0x30ddaa,_0x4e17cc]of this[_0x3d5e16(0x126)][_0x3d5e16(0xfe)])_0x4e17cc[_0x3d5e16(0xfd)]&&_0x3d5e16(0x106)!==_0x30ddaa&&_0x4e17cc[_0x3d5e16(0x128)](_0x3d5e16(0x103));this[_0x3d5e16(0x126)][_0x3d5e16(0x129)][_0x3d5e16(0x112)](_0x3d5e16(0x120))&&this[_0x3d5e16(0x126)][_0x3d5e16(0x129)][_0x3d5e16(0x12a)](_0x3d5e16(0x120))[_0x3d5e16(0x128)](_0x3d5e16(0x103)),this[_0x3d5e16(0x126)][_0x3d5e16(0xfe)][_0x3d5e16(0x12a)](_0x3d5e16(0x105))?.[_0x3d5e16(0x128)](_0x3d5e16(0x103)),this[_0x3d5e16(0x114)](this[_0x3d5e16(0x126)][_0x3d5e16(0xfc)][_0x3d5e16(0x107)][_0x3d5e16(0x10f)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x38c06e,_0x15ae6e){var _0xb50cc5=_0x1f89,_0x1d3c09=_0x38c06e();while(!![]){try{var _0x5805a3=-parseInt(_0xb50cc5(0xc0))/0x1+parseInt(_0xb50cc5(0xc2))/0x2*(-parseInt(_0xb50cc5(0xc3))/0x3)+-parseInt(_0xb50cc5(0xbf))/0x4*(-parseInt(_0xb50cc5(0xc6))/0x5)+-parseInt(_0xb50cc5(0xc8))/0x6+parseInt(_0xb50cc5(0xc7))/0x7+-parseInt(_0xb50cc5(0xc5))/0x8+-parseInt(_0xb50cc5(0xc4))/0x9*(-parseInt(_0xb50cc5(0xc1))/0xa);if(_0x5805a3===_0x15ae6e)break;else _0x1d3c09['push'](_0x1d3c09['shift']());}catch(_0x538392){_0x1d3c09['push'](_0x1d3c09['shift']());}}}(_0x549c,0x4fee9));function _0x1f89(_0x4e4d2f,_0x10cbd0){var _0x549cdd=_0x549c();return _0x1f89=function(_0x1f8998,_0xdcc24d){_0x1f8998=_0x1f8998-0xbf;var _0x2d1ead=_0x549cdd[_0x1f8998];return _0x2d1ead;},_0x1f89(_0x4e4d2f,_0x10cbd0);}export{default as Comments}from'./comments.js';function _0x549c(){var _0x2c690a=['4296whbrIW','186BEZPhM','622026LNqOyn','1277360UiOTms','37550nOOgAV','3863734XjBzri','2670972TNCzsG','20qRFmcA','491699vIhdKD','140NqDImJ'];_0x549c=function(){return _0x2c690a;};return _0x549c();}export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as 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(_0x5457e6,_0x2a5141,_0x1decee){const t=_0x5457e6['t'];switch(_0x2a5141){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'},_0x1decee);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'},_0x1decee);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'},_0x1decee);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'},_0x1decee);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x1decee);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'},_0x1decee);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'},_0x1decee);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'},_0x1decee);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
|
-
|
|
23
|
+
(function(_0x577a3c,_0xadb44f){const _0x29b083=_0x519c,_0x55d9a6=_0x577a3c();while(!![]){try{const _0x1265d5=-parseInt(_0x29b083(0xcc))/0x1+parseInt(_0x29b083(0xc9))/0x2+-parseInt(_0x29b083(0xd5))/0x3*(parseInt(_0x29b083(0xd3))/0x4)+parseInt(_0x29b083(0xcf))/0x5+parseInt(_0x29b083(0xd6))/0x6*(-parseInt(_0x29b083(0xca))/0x7)+parseInt(_0x29b083(0xc8))/0x8+parseInt(_0x29b083(0xcd))/0x9*(-parseInt(_0x29b083(0xd1))/0xa);if(_0x1265d5===_0xadb44f)break;else _0x55d9a6['push'](_0x55d9a6['shift']());}catch(_0x1c9774){_0x55d9a6['push'](_0x55d9a6['shift']());}}}(_0xf719,0x535b4));import{throttle as _0x3e8502}from'es-toolkit/compat';function _0xf719(){const _0x46842d=['12JcGobc','186qnytYH','attributes','disconnect','cancel','attributeName','3140424qCYVkB','1168962mOmyqp','20055rgUoVC','type','35409qDAQqW','1206zgEMEs','class','748850GhJZqX','characterData','32120MLlSsr','childList','230744pXCblR','observe'];_0xf719=function(){return _0x46842d;};return _0xf719();}function _0x519c(_0x510b01,_0x41ea3a){const _0xf71986=_0xf719();return _0x519c=function(_0x519cee,_0x49545e){_0x519cee=_0x519cee-0xc4;let _0x3514a3=_0xf71986[_0x519cee];return _0x3514a3;},_0x519c(_0x510b01,_0x41ea3a);}export default function Lt(_0x403f06){const _0x2a1f41=_0x3e8502(_0x403f06,0x1e),_0x5d9531=new MutationObserver(_0x38132e=>{const _0x57b1b=_0x519c;for(const _0x40318b of _0x38132e)(_0x57b1b(0xc4)==_0x40318b[_0x57b1b(0xcb)]&&_0x57b1b(0xce)==_0x40318b[_0x57b1b(0xc7)]||_0x57b1b(0xd2)==_0x40318b[_0x57b1b(0xcb)]||_0x57b1b(0xd0)==_0x40318b[_0x57b1b(0xcb)])&&_0x2a1f41();});return{'attach'(_0x38a606){const _0x321f1=_0x519c;_0x5d9531[_0x321f1(0xd4)](_0x38a606,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2a2a9c=_0x519c;_0x5d9531[_0x2a2a9c(0xc5)](),_0x2a1f41[_0x2a2a9c(0xc6)]();}};}
|