@ckeditor/ckeditor5-comments 45.1.0-alpha.6 → 45.1.0
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 _0x41110f=_0x2a98;(function(_0x488406,_0x30e777){const _0x36d337=_0x2a98,_0x1627fa=_0x488406();while(!![]){try{const _0x1bd9f9=-parseInt(_0x36d337(0xc6))/0x1*(-parseInt(_0x36d337(0x89))/0x2)+parseInt(_0x36d337(0xb2))/0x3+parseInt(_0x36d337(0xc0))/0x4*(-parseInt(_0x36d337(0x67))/0x5)+-parseInt(_0x36d337(0x8e))/0x6+parseInt(_0x36d337(0x6c))/0x7*(-parseInt(_0x36d337(0xbb))/0x8)+parseInt(_0x36d337(0x90))/0x9*(-parseInt(_0x36d337(0x97))/0xa)+-parseInt(_0x36d337(0xc7))/0xb*(-parseInt(_0x36d337(0x6e))/0xc);if(_0x1bd9f9===_0x30e777)break;else _0x1627fa['push'](_0x1627fa['shift']());}catch(_0x47fa4b){_0x1627fa['push'](_0x1627fa['shift']());}}}(_0x13e8,0x9afec));import{View as _0x45c669,FocusCycler as _0x267969}from'ckeditor5/src/ui.js';import{diff as _0x19ebfe,Collection as _0x33882f,FocusTracker as _0x679cd8,KeystrokeHandler as _0x11fb2f}from'ckeditor5/src/utils.js';import{getTranslation as _0x39da63}from'../../../utils/common-translations.js';function _0x13e8(){const _0x3f6432=['isActive','245580AbhSxx','from','createCollection','formatDateTime','weight','set','bindTemplate','resolvedAt','focusLast','change:isActive','_updateHasDirtyComment','count','change:isEditMode','maxThreadTotalWeight','some','commentUpdated','refreshVisibleViews','change:hasDirtyComment','_handleRemoveCommentModel','get','updateComment','arrowup','insert','arrowdown','_findOptimalIndex','CommentView','ck-thread__comments','3015942bBFIZm','_calculatePosition','comments','focus','includes','stopListening','editorReady','isEditMode','add','27512WPGhrV','maxCommentsWhenCollapsed','destroy','removed','locale','1530548sCpKjW','_collapsedCommentsView','resolvedCommentView','Thread\x20comments','visibleViews','map','2wFruWY','22KDGghS','editorConfig','_handleInfoComment','5LYSZTq','resolved','removeComment','element','reverse','1197izOOIH','delete','9619332niOyqU','length','ck-hidden','_config','change','remove','keystrokes','maxCommentCharsWhenCollapsed','_shouldCollapse','authoredAt','collapse','focusCycler','_setupKeyboardNavigation','render','resolvedBy','forEach','commentViews','target','editorDestroyed','viewUid','delegate','focusFirst','added','bind','focusTracker','Marked\x20as\x20resolved','setTemplate','311390GdozFq','hasDirtyComment','expand','_rearrangeExpand','equal','666108wlFKMA','change:isResolved','441pOFpjw','_handleNewCommentModel','listenTo','_model','resolveCommentThread','_rearrangeCollapse'];_0x13e8=function(){return _0x3f6432;};return _0x13e8();}import _0x3a5f49 from'./collapsedcommentsview.js';function _0x2a98(_0x1c8e46,_0x1d0d4){const _0x13e848=_0x13e8();return _0x2a98=function(_0x2a98e1,_0x65470a){_0x2a98e1=_0x2a98e1-0x65;let _0x516749=_0x13e848[_0x2a98e1];return _0x516749;},_0x2a98(_0x1c8e46,_0x1d0d4);}export default class te extends _0x45c669{[_0x41110f(0x7e)];[_0x41110f(0xc2)];[_0x41110f(0x86)];[_0x41110f(0x74)];[_0x41110f(0x79)];[_0x41110f(0x93)];[_0x41110f(0x71)];[_0x41110f(0xc1)];constructor(_0x81dee0,_0x4a7438,_0x336221){const _0x37fed8=_0x41110f;super(_0x81dee0);const _0x936de2=this[_0x37fed8(0x9d)];this[_0x37fed8(0x9c)](_0x37fed8(0x8a),!0x1),this[_0x37fed8(0x9c)](_0x37fed8(0x6f),_0x4a7438[_0x37fed8(0xb4)][_0x37fed8(0x6f)]),this[_0x37fed8(0x9c)](_0x37fed8(0x96),!0x1),this[_0x37fed8(0x93)]=_0x4a7438,this[_0x37fed8(0x71)]=_0x336221,this[_0x37fed8(0x7e)]=this[_0x37fed8(0x99)](),this[_0x37fed8(0xc4)]=this[_0x37fed8(0x99)](),this[_0x37fed8(0xc2)]=null,this[_0x37fed8(0x86)]=new _0x679cd8(),this[_0x37fed8(0x74)]=new _0x11fb2f(),this[_0x37fed8(0x79)]=new _0x267969({'focusables':this[_0x37fed8(0x7e)],'focusTracker':this[_0x37fed8(0x86)],'keystrokeHandler':this[_0x37fed8(0x74)],'keystrokeHandlerOptions':{'filter':_0x41d56f=>this[_0x37fed8(0x7e)][_0x37fed8(0xc5)](_0x4eefb6=>_0x4eefb6[_0x37fed8(0x6a)])[_0x37fed8(0xb6)](_0x41d56f[_0x37fed8(0x7f)])},'actions':{'focusPrevious':_0x37fed8(0xac),'focusNext':_0x37fed8(0xae)}}),this[_0x37fed8(0xc1)]=new _0x3a5f49(_0x81dee0),this[_0x37fed8(0xc1)][_0x37fed8(0x85)](_0x37fed8(0xa2))['to'](this,_0x37fed8(0x6f),_0x502180=>_0x502180-this[_0x37fed8(0x71)][_0x37fed8(0xbc)]);for(const _0x553209 of _0x4a7438[_0x37fed8(0xb4)])this[_0x37fed8(0x91)](_0x553209);this[_0x37fed8(0x66)](),this[_0x37fed8(0x92)](_0x4a7438[_0x37fed8(0xb4)],_0x37fed8(0xba),(_0x41d059,_0x3d82ac)=>{const _0x1c3f91=_0x37fed8,_0x2b0115=this[_0x1c3f91(0xb3)](_0x3d82ac);this[_0x1c3f91(0x6f)]++,this[_0x1c3f91(0x91)](_0x3d82ac,_0x2b0115),this[_0x1c3f91(0xa7)]();}),this[_0x37fed8(0x92)](_0x4a7438[_0x37fed8(0xb4)],_0x37fed8(0x73),(_0x5e0f77,_0x4a519a)=>{const _0x224036=_0x37fed8;this[_0x224036(0x6f)]--,this[_0x224036(0xa9)](_0x4a519a),this[_0x224036(0xa7)]();}),this[_0x37fed8(0x92)](_0x4a7438,_0x37fed8(0xa6),()=>this[_0x37fed8(0xa7)]()),this[_0x37fed8(0x92)](_0x4a7438,_0x37fed8(0x8f),()=>this[_0x37fed8(0x66)]()),this['on'](_0x37fed8(0xa0),()=>this[_0x37fed8(0xa7)]()),this['on'](_0x37fed8(0xa8),()=>this[_0x37fed8(0xa7)]()),this[_0x37fed8(0x88)]({'tag':'ul','attributes':{'class':[_0x37fed8(0xb1),_0x936de2['if'](_0x37fed8(0x6f),_0x37fed8(0x70),_0x353bbf=>!_0x353bbf)],'aria-label':_0x39da63(_0x81dee0,_0x37fed8(0xc3))},'children':this[_0x37fed8(0xc4)]});}get[_0x41110f(0x76)](){const _0x4789c6=_0x41110f;return this[_0x4789c6(0x93)][_0x4789c6(0x9b)]>this[_0x4789c6(0x71)][_0x4789c6(0xa4)]&&!this[_0x4789c6(0x96)]&&!this[_0x4789c6(0x8a)];}[_0x41110f(0x7b)](){const _0x496d3f=_0x41110f;super[_0x496d3f(0x7b)](),this[_0x496d3f(0xa7)](),this[_0x496d3f(0x7a)]();}[_0x41110f(0xb5)](_0x44bc7e){const _0x16a681=_0x41110f;-0x1===_0x44bc7e?this[_0x16a681(0x79)][_0x16a681(0x9f)]():this[_0x16a681(0x79)][_0x16a681(0x83)]();}[_0x41110f(0xbd)](){const _0x186391=_0x41110f;this[_0x186391(0xc1)][_0x186391(0xbd)]();for(const _0x35c114 of this[_0x186391(0x7e)])_0x35c114[_0x186391(0xbd)]();super[_0x186391(0xbd)]();}[_0x41110f(0xa7)](){const _0x4b2cac=_0x41110f;this[_0x4b2cac(0x76)]?this[_0x4b2cac(0x95)]():this[_0x4b2cac(0x8c)]();}[_0x41110f(0x91)](_0x2b16ec,_0x3523f1){const _0x2df057=_0x41110f,_0x2a38d2=new this[(_0x2df057(0x71))][(_0x2df057(0xb0))](this[_0x2df057(0xbf)],_0x2b16ec,{'maxCommentCharsWhenCollapsed':this[_0x2df057(0x71)][_0x2df057(0x75)],'formatDateTime':this[_0x2df057(0x71)][_0x2df057(0x9a)],'editorConfig':this[_0x2df057(0x71)][_0x2df057(0x65)]});_0x2a38d2[_0x2df057(0x81)]=_0x2b16ec['id'],_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x69))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0xab))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x94))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0xb8))['to'](this),_0x2a38d2[_0x2df057(0x82)](_0x2df057(0x80))['to'](this),this[_0x2df057(0x92)](_0x2a38d2,_0x2df057(0xa3),()=>this[_0x2df057(0xa1)]()),this[_0x2df057(0x7e)][_0x2df057(0xba)](_0x2a38d2,_0x3523f1);}[_0x41110f(0xb3)](_0x5bf227){const _0x844ae0=_0x41110f,_0xd9e4d0=this[_0x844ae0(0x93)][_0x844ae0(0xaf)](_0x5bf227);return this[_0x844ae0(0xc2)]?this[_0x844ae0(0xc2)][_0x844ae0(0x77)]>_0x5bf227[_0x844ae0(0x77)]?_0xd9e4d0-0x1:_0xd9e4d0:_0xd9e4d0-0x1;}[_0x41110f(0x66)](){const _0x29cd4e=_0x41110f;if(this[_0x29cd4e(0x93)][_0x29cd4e(0x7c)]&&this[_0x29cd4e(0x93)][_0x29cd4e(0x9e)]){const _0x41b1b6={'id':_0x29cd4e(0x68),'author':this[_0x29cd4e(0x93)][_0x29cd4e(0x7c)],'authoredAt':this[_0x29cd4e(0x93)][_0x29cd4e(0x9e)],'content':_0x39da63(this[_0x29cd4e(0xbf)],_0x29cd4e(0x87)),'attributes':{}};this[_0x29cd4e(0xc2)]=new this[(_0x29cd4e(0x71))][(_0x29cd4e(0xb0))](this[_0x29cd4e(0xbf)],_0x41b1b6,{'maxCommentCharsWhenCollapsed':this[_0x29cd4e(0x71)][_0x29cd4e(0x75)],'formatDateTime':this[_0x29cd4e(0x71)][_0x29cd4e(0x9a)],'editorConfig':this[_0x29cd4e(0x71)][_0x29cd4e(0x65)],'isSystemComment':!0x0}),this[_0x29cd4e(0x7e)][_0x29cd4e(0xba)](this[_0x29cd4e(0xc2)],this[_0x29cd4e(0x93)][_0x29cd4e(0xaf)](_0x41b1b6));}else this[_0x29cd4e(0xc2)]&&(this[_0x29cd4e(0x7e)][_0x29cd4e(0x73)](this[_0x29cd4e(0xc2)]),this[_0x29cd4e(0xc2)][_0x29cd4e(0xbd)](),this[_0x29cd4e(0xc2)]=null);this[_0x29cd4e(0xa7)]();}[_0x41110f(0xa9)](_0x39cfba){const _0x2b28c5=_0x41110f,_0x47180c=this[_0x2b28c5(0x7e)][_0x2b28c5(0x73)](_0x39cfba['id']);this[_0x2b28c5(0xb7)](_0x47180c),_0x47180c[_0x2b28c5(0xb9)]&&this[_0x2b28c5(0xa1)](),_0x47180c[_0x2b28c5(0xbd)]();}[_0x41110f(0xa1)](){const _0xeb8f18=_0x41110f;this[_0xeb8f18(0x8a)]=Array[_0xeb8f18(0x98)](this[_0xeb8f18(0x7e)])[_0xeb8f18(0xa5)](_0x57e107=>_0x57e107[_0xeb8f18(0xb9)]);}[_0x41110f(0x95)](){const _0x2b1a96=_0x41110f,_0x1d9ee5=function(_0x4c0a1b){const _0x5e5afd=_0x2a98,_0x24b48f=new _0x33882f();for(const _0x33e93d of _0x4c0a1b)_0x24b48f[_0x5e5afd(0xba)](_0x33e93d);return _0x24b48f;}(this[_0x2b1a96(0x7e)]),_0x5648bd=this[_0x2b1a96(0xc1)][_0x2b1a96(0xa2)];for(let _0x539543=0x1;_0x539543<=_0x5648bd;_0x539543++)_0x1d9ee5[_0x2b1a96(0x73)](0x1);for(const _0x286ec4 of _0x1d9ee5)_0x286ec4[_0x2b1a96(0x78)]();_0x5648bd>0x0&&_0x1d9ee5[_0x2b1a96(0xba)](this[_0x2b1a96(0xc1)],0x1),ns(_0x19ebfe(Array[_0x2b1a96(0x98)](this[_0x2b1a96(0xc4)]),Array[_0x2b1a96(0x98)](_0x1d9ee5)),this[_0x2b1a96(0xc4)],_0x1d9ee5);}[_0x41110f(0x8c)](){const _0xb07014=_0x41110f;ns(_0x19ebfe(Array[_0xb07014(0x98)](this[_0xb07014(0xc4)]),Array[_0xb07014(0x98)](this[_0xb07014(0x7e)])),this[_0xb07014(0xc4)],this[_0xb07014(0x7e)]);for(const _0x27b11 of this[_0xb07014(0xc4)])_0x27b11[_0xb07014(0x8b)]();}[_0x41110f(0x7a)](){const _0x22eb43=_0x41110f;this[_0x22eb43(0x7e)][_0x22eb43(0x7d)](_0x623324=>{const _0x36c3fa=_0x22eb43;this[_0x36c3fa(0x86)][_0x36c3fa(0xba)](_0x623324[_0x36c3fa(0x6a)]),this[_0x36c3fa(0x74)][_0x36c3fa(0x92)](_0x623324[_0x36c3fa(0x6a)]);}),this[_0x22eb43(0x7e)]['on'](_0x22eb43(0x72),(_0x5f53fc,_0x1e7b1c)=>{const _0x1f0838=_0x22eb43;for(const _0x5f32f8 of _0x1e7b1c[_0x1f0838(0xbe)])this[_0x1f0838(0x86)][_0x1f0838(0x73)](_0x5f32f8[_0x1f0838(0x6a)]),this[_0x1f0838(0x74)][_0x1f0838(0xb7)](_0x5f32f8[_0x1f0838(0x6a)]);for(const _0xd21ce2 of Array[_0x1f0838(0x98)](_0x1e7b1c[_0x1f0838(0x84)])[_0x1f0838(0x6b)]())this[_0x1f0838(0x86)][_0x1f0838(0xba)](_0xd21ce2[_0x1f0838(0x6a)]),this[_0x1f0838(0x74)][_0x1f0838(0x92)](_0xd21ce2[_0x1f0838(0x6a)]);});}}function ns(_0x4a64a0,_0x2f3212,_0x5e448c){const _0x30d515=_0x41110f;let _0xf49085=0x0;for(const _0x5525dc of _0x4a64a0)switch(_0x5525dc){case _0x30d515(0xad):_0x2f3212[_0x30d515(0xba)](_0x5e448c[_0x30d515(0xaa)](_0xf49085),_0xf49085),_0xf49085++;break;case _0x30d515(0x6d):_0x2f3212[_0x30d515(0x73)](_0xf49085);break;case _0x30d515(0x8d):_0xf49085++;}}
|
|
23
|
+
const _0x4aaebd=_0x1070;(function(_0x1e72be,_0x1b33e4){const _0x5de5c8=_0x1070,_0x1794f0=_0x1e72be();while(!![]){try{const _0x425f8f=parseInt(_0x5de5c8(0x1da))/0x1+parseInt(_0x5de5c8(0x1c4))/0x2+-parseInt(_0x5de5c8(0x1ab))/0x3+parseInt(_0x5de5c8(0x1d8))/0x4+-parseInt(_0x5de5c8(0x1a6))/0x5+parseInt(_0x5de5c8(0x183))/0x6*(parseInt(_0x5de5c8(0x1dd))/0x7)+-parseInt(_0x5de5c8(0x1cd))/0x8;if(_0x425f8f===_0x1b33e4)break;else _0x1794f0['push'](_0x1794f0['shift']());}catch(_0x5665de){_0x1794f0['push'](_0x1794f0['shift']());}}}(_0x43d4,0xbe2fc));function _0x43d4(){const _0x566488=['removeComment','length','removed','formatDateTime','_collapsedCommentsView','stopListening','change','_findOptimalIndex','ck-hidden','remove','editorReady','editorConfig','maxCommentsWhenCollapsed','ck-thread__comments','bindTemplate','destroy','equal','resolved','focusTracker','delegate','set','arrowdown','resolvedCommentView','hasDirtyComment','locale','resolvedBy','maxThreadTotalWeight','1489240ejdcnj','visibleViews','comments','bind','_setupKeyboardNavigation','79359VaTHSu','target','setTemplate','from','Thread\x20comments','focusCycler','get','refreshVisibleViews','forEach','isActive','viewUid','change:isResolved','_shouldCollapse','delete','createCollection','expand','Marked\x20as\x20resolved','change:hasDirtyComment','_rearrangeExpand','focus','focusFirst','map','some','CommentView','_rearrangeCollapse','2878590kYOHrh','editorDestroyed','reverse','_handleNewCommentModel','authoredAt','collapse','listenTo','commentUpdated','weight','31235760PacYwM','_model','_config','updateComment','added','isEditMode','count','includes','arrowup','insert','_handleRemoveCommentModel','6163952fHWLFy','change:isEditMode','683351vyIvne','focusLast','add','348481hKFoki','maxCommentCharsWhenCollapsed','resolvedAt','commentViews','_calculatePosition','162VMCwao','_updateHasDirtyComment','change:isActive','_handleInfoComment','render','element','keystrokes','resolveCommentThread'];_0x43d4=function(){return _0x566488;};return _0x43d4();}import{View as _0x3a4000,FocusCycler as _0xa14994}from'ckeditor5/src/ui.js';import{diff as _0x4c0a38,Collection as _0x23f992,FocusTracker as _0x50ccea,KeystrokeHandler as _0x26a0f0}from'ckeditor5/src/utils.js';import{getTranslation as _0xc5f0c}from'../../../utils/common-translations.js';function _0x1070(_0x48715e,_0x611162){const _0x43d4a7=_0x43d4();return _0x1070=function(_0x1070f5,_0x25cd89){_0x1070f5=_0x1070f5-0x181;let _0x1de914=_0x43d4a7[_0x1070f5];return _0x1de914;},_0x1070(_0x48715e,_0x611162);}import _0x5b180c from'./collapsedcommentsview.js';export default class te extends _0x3a4000{[_0x4aaebd(0x181)];[_0x4aaebd(0x1a1)];[_0x4aaebd(0x19d)];[_0x4aaebd(0x189)];[_0x4aaebd(0x1b0)];[_0x4aaebd(0x1ce)];[_0x4aaebd(0x1cf)];[_0x4aaebd(0x18f)];constructor(_0xd89702,_0x4566ff,_0x1712a2){const _0x51b595=_0x4aaebd;super(_0xd89702);const _0x2c0b67=this[_0x51b595(0x199)];this[_0x51b595(0x19f)](_0x51b595(0x1a2),!0x1),this[_0x51b595(0x19f)](_0x51b595(0x18c),_0x4566ff[_0x51b595(0x1a8)][_0x51b595(0x18c)]),this[_0x51b595(0x19f)](_0x51b595(0x1b4),!0x1),this[_0x51b595(0x1ce)]=_0x4566ff,this[_0x51b595(0x1cf)]=_0x1712a2,this[_0x51b595(0x181)]=this[_0x51b595(0x1b9)](),this[_0x51b595(0x1a7)]=this[_0x51b595(0x1b9)](),this[_0x51b595(0x1a1)]=null,this[_0x51b595(0x19d)]=new _0x50ccea(),this[_0x51b595(0x189)]=new _0x26a0f0(),this[_0x51b595(0x1b0)]=new _0xa14994({'focusables':this[_0x51b595(0x181)],'focusTracker':this[_0x51b595(0x19d)],'keystrokeHandler':this[_0x51b595(0x189)],'keystrokeHandlerOptions':{'filter':_0x16a1a1=>this[_0x51b595(0x181)][_0x51b595(0x1c0)](_0x358619=>_0x358619[_0x51b595(0x188)])[_0x51b595(0x1d4)](_0x16a1a1[_0x51b595(0x1ac)])},'actions':{'focusPrevious':_0x51b595(0x1d5),'focusNext':_0x51b595(0x1a0)}}),this[_0x51b595(0x18f)]=new _0x5b180c(_0xd89702),this[_0x51b595(0x18f)][_0x51b595(0x1a9)](_0x51b595(0x1d3))['to'](this,_0x51b595(0x18c),_0x255216=>_0x255216-this[_0x51b595(0x1cf)][_0x51b595(0x197)]);for(const _0x967132 of _0x4566ff[_0x51b595(0x1a8)])this[_0x51b595(0x1c7)](_0x967132);this[_0x51b595(0x186)](),this[_0x51b595(0x1ca)](_0x4566ff[_0x51b595(0x1a8)],_0x51b595(0x1dc),(_0x52d482,_0x40ba98)=>{const _0x58d0df=_0x51b595,_0x552b97=this[_0x58d0df(0x182)](_0x40ba98);this[_0x58d0df(0x18c)]++,this[_0x58d0df(0x1c7)](_0x40ba98,_0x552b97),this[_0x58d0df(0x1b2)]();}),this[_0x51b595(0x1ca)](_0x4566ff[_0x51b595(0x1a8)],_0x51b595(0x194),(_0x5caa0c,_0x9b3bc0)=>{const _0x29bc26=_0x51b595;this[_0x29bc26(0x18c)]--,this[_0x29bc26(0x1d7)](_0x9b3bc0),this[_0x29bc26(0x1b2)]();}),this[_0x51b595(0x1ca)](_0x4566ff,_0x51b595(0x1cb),()=>this[_0x51b595(0x1b2)]()),this[_0x51b595(0x1ca)](_0x4566ff,_0x51b595(0x1b6),()=>this[_0x51b595(0x186)]()),this['on'](_0x51b595(0x185),()=>this[_0x51b595(0x1b2)]()),this['on'](_0x51b595(0x1bc),()=>this[_0x51b595(0x1b2)]()),this[_0x51b595(0x1ad)]({'tag':'ul','attributes':{'class':[_0x51b595(0x198),_0x2c0b67['if'](_0x51b595(0x18c),_0x51b595(0x193),_0x11776f=>!_0x11776f)],'aria-label':_0xc5f0c(_0xd89702,_0x51b595(0x1af))},'children':this[_0x51b595(0x1a7)]});}get[_0x4aaebd(0x1b7)](){const _0xc5fb4f=_0x4aaebd;return this[_0xc5fb4f(0x1ce)][_0xc5fb4f(0x1cc)]>this[_0xc5fb4f(0x1cf)][_0xc5fb4f(0x1a5)]&&!this[_0xc5fb4f(0x1b4)]&&!this[_0xc5fb4f(0x1a2)];}[_0x4aaebd(0x187)](){const _0xe4992f=_0x4aaebd;super[_0xe4992f(0x187)](),this[_0xe4992f(0x1b2)](),this[_0xe4992f(0x1aa)]();}[_0x4aaebd(0x1be)](_0x32f782){const _0x3483ff=_0x4aaebd;-0x1===_0x32f782?this[_0x3483ff(0x1b0)][_0x3483ff(0x1db)]():this[_0x3483ff(0x1b0)][_0x3483ff(0x1bf)]();}[_0x4aaebd(0x19a)](){const _0x4ffd8a=_0x4aaebd;this[_0x4ffd8a(0x18f)][_0x4ffd8a(0x19a)]();for(const _0x3ce22a of this[_0x4ffd8a(0x181)])_0x3ce22a[_0x4ffd8a(0x19a)]();super[_0x4ffd8a(0x19a)]();}[_0x4aaebd(0x1b2)](){const _0x2061b6=_0x4aaebd;this[_0x2061b6(0x1b7)]?this[_0x2061b6(0x1c3)]():this[_0x2061b6(0x1bd)]();}[_0x4aaebd(0x1c7)](_0x4e1547,_0x4db315){const _0x3bd3f4=_0x4aaebd,_0x13859a=new this[(_0x3bd3f4(0x1cf))][(_0x3bd3f4(0x1c2))](this[_0x3bd3f4(0x1a3)],_0x4e1547,{'maxCommentCharsWhenCollapsed':this[_0x3bd3f4(0x1cf)][_0x3bd3f4(0x1de)],'formatDateTime':this[_0x3bd3f4(0x1cf)][_0x3bd3f4(0x18e)],'editorConfig':this[_0x3bd3f4(0x1cf)][_0x3bd3f4(0x196)]});_0x13859a[_0x3bd3f4(0x1b5)]=_0x4e1547['id'],_0x13859a[_0x3bd3f4(0x19e)](_0x3bd3f4(0x18b))['to'](this),_0x13859a[_0x3bd3f4(0x19e)](_0x3bd3f4(0x1d0))['to'](this),_0x13859a[_0x3bd3f4(0x19e)](_0x3bd3f4(0x18a))['to'](this),_0x13859a[_0x3bd3f4(0x19e)](_0x3bd3f4(0x195))['to'](this),_0x13859a[_0x3bd3f4(0x19e)](_0x3bd3f4(0x1c5))['to'](this),this[_0x3bd3f4(0x1ca)](_0x13859a,_0x3bd3f4(0x1d9),()=>this[_0x3bd3f4(0x184)]()),this[_0x3bd3f4(0x181)][_0x3bd3f4(0x1dc)](_0x13859a,_0x4db315);}[_0x4aaebd(0x182)](_0x1e0632){const _0x2201ed=_0x4aaebd,_0x29afda=this[_0x2201ed(0x1ce)][_0x2201ed(0x192)](_0x1e0632);return this[_0x2201ed(0x1a1)]?this[_0x2201ed(0x1a1)][_0x2201ed(0x1c8)]>_0x1e0632[_0x2201ed(0x1c8)]?_0x29afda-0x1:_0x29afda:_0x29afda-0x1;}[_0x4aaebd(0x186)](){const _0x1c5c0e=_0x4aaebd;if(this[_0x1c5c0e(0x1ce)][_0x1c5c0e(0x1a4)]&&this[_0x1c5c0e(0x1ce)][_0x1c5c0e(0x1df)]){const _0x254739={'id':_0x1c5c0e(0x19c),'author':this[_0x1c5c0e(0x1ce)][_0x1c5c0e(0x1a4)],'authoredAt':this[_0x1c5c0e(0x1ce)][_0x1c5c0e(0x1df)],'content':_0xc5f0c(this[_0x1c5c0e(0x1a3)],_0x1c5c0e(0x1bb)),'attributes':{}};this[_0x1c5c0e(0x1a1)]=new this[(_0x1c5c0e(0x1cf))][(_0x1c5c0e(0x1c2))](this[_0x1c5c0e(0x1a3)],_0x254739,{'maxCommentCharsWhenCollapsed':this[_0x1c5c0e(0x1cf)][_0x1c5c0e(0x1de)],'formatDateTime':this[_0x1c5c0e(0x1cf)][_0x1c5c0e(0x18e)],'editorConfig':this[_0x1c5c0e(0x1cf)][_0x1c5c0e(0x196)],'isSystemComment':!0x0}),this[_0x1c5c0e(0x181)][_0x1c5c0e(0x1dc)](this[_0x1c5c0e(0x1a1)],this[_0x1c5c0e(0x1ce)][_0x1c5c0e(0x192)](_0x254739));}else this[_0x1c5c0e(0x1a1)]&&(this[_0x1c5c0e(0x181)][_0x1c5c0e(0x194)](this[_0x1c5c0e(0x1a1)]),this[_0x1c5c0e(0x1a1)][_0x1c5c0e(0x19a)](),this[_0x1c5c0e(0x1a1)]=null);this[_0x1c5c0e(0x1b2)]();}[_0x4aaebd(0x1d7)](_0x27df94){const _0x1eff82=_0x4aaebd,_0x254bed=this[_0x1eff82(0x181)][_0x1eff82(0x194)](_0x27df94['id']);this[_0x1eff82(0x190)](_0x254bed),_0x254bed[_0x1eff82(0x1d2)]&&this[_0x1eff82(0x184)](),_0x254bed[_0x1eff82(0x19a)]();}[_0x4aaebd(0x184)](){const _0xe26b7e=_0x4aaebd;this[_0xe26b7e(0x1a2)]=Array[_0xe26b7e(0x1ae)](this[_0xe26b7e(0x181)])[_0xe26b7e(0x1c1)](_0x31f4f6=>_0x31f4f6[_0xe26b7e(0x1d2)]);}[_0x4aaebd(0x1c3)](){const _0x24cdac=_0x4aaebd,_0x478c2c=function(_0x24a09c){const _0x642a02=_0x1070,_0x209da0=new _0x23f992();for(const _0x53bf6e of _0x24a09c)_0x209da0[_0x642a02(0x1dc)](_0x53bf6e);return _0x209da0;}(this[_0x24cdac(0x181)]),_0x217a7=this[_0x24cdac(0x18f)][_0x24cdac(0x1d3)];for(let _0x5127d2=0x1;_0x5127d2<=_0x217a7;_0x5127d2++)_0x478c2c[_0x24cdac(0x194)](0x1);for(const _0x3cfbc7 of _0x478c2c)_0x3cfbc7[_0x24cdac(0x1c9)]();_0x217a7>0x0&&_0x478c2c[_0x24cdac(0x1dc)](this[_0x24cdac(0x18f)],0x1),ns(_0x4c0a38(Array[_0x24cdac(0x1ae)](this[_0x24cdac(0x1a7)]),Array[_0x24cdac(0x1ae)](_0x478c2c)),this[_0x24cdac(0x1a7)],_0x478c2c);}[_0x4aaebd(0x1bd)](){const _0x504f58=_0x4aaebd;ns(_0x4c0a38(Array[_0x504f58(0x1ae)](this[_0x504f58(0x1a7)]),Array[_0x504f58(0x1ae)](this[_0x504f58(0x181)])),this[_0x504f58(0x1a7)],this[_0x504f58(0x181)]);for(const _0x3f7584 of this[_0x504f58(0x1a7)])_0x3f7584[_0x504f58(0x1ba)]();}[_0x4aaebd(0x1aa)](){const _0x5a7015=_0x4aaebd;this[_0x5a7015(0x181)][_0x5a7015(0x1b3)](_0xd957b0=>{const _0x34dd35=_0x5a7015;this[_0x34dd35(0x19d)][_0x34dd35(0x1dc)](_0xd957b0[_0x34dd35(0x188)]),this[_0x34dd35(0x189)][_0x34dd35(0x1ca)](_0xd957b0[_0x34dd35(0x188)]);}),this[_0x5a7015(0x181)]['on'](_0x5a7015(0x191),(_0x304a78,_0x213802)=>{const _0x3c0685=_0x5a7015;for(const _0x349a89 of _0x213802[_0x3c0685(0x18d)])this[_0x3c0685(0x19d)][_0x3c0685(0x194)](_0x349a89[_0x3c0685(0x188)]),this[_0x3c0685(0x189)][_0x3c0685(0x190)](_0x349a89[_0x3c0685(0x188)]);for(const _0x32f675 of Array[_0x3c0685(0x1ae)](_0x213802[_0x3c0685(0x1d1)])[_0x3c0685(0x1c6)]())this[_0x3c0685(0x19d)][_0x3c0685(0x1dc)](_0x32f675[_0x3c0685(0x188)]),this[_0x3c0685(0x189)][_0x3c0685(0x1ca)](_0x32f675[_0x3c0685(0x188)]);});}}function ns(_0x2b61a0,_0x2f8c18,_0xaf6265){const _0x575f03=_0x4aaebd;let _0x1d4691=0x0;for(const _0x55776a of _0x2b61a0)switch(_0x55776a){case _0x575f03(0x1d6):_0x2f8c18[_0x575f03(0x1dc)](_0xaf6265[_0x575f03(0x1b1)](_0x1d4691),_0x1d4691),_0x1d4691++;break;case _0x575f03(0x1b8):_0x2f8c18[_0x575f03(0x194)](_0x1d4691);break;case _0x575f03(0x19b):_0x1d4691++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5995(){const _0x3ed92b=['3485157tLIZDL','element','set','setTemplate','bindTemplate','focus','contextValue','span','ck-context__value','457331ADOdlk','4690384HIufyO','18weIYUV','6024565gsatVR','235792IEopHZ','THREAD_CONTEXT_LABEL','20923JXWISh','17276984YoxmcT'];_0x5995=function(){return _0x3ed92b;};return _0x5995();}const _0x11c7d5=_0x1a4d;(function(_0x548c42,_0x2f4a35){const _0x17fda9=_0x1a4d,_0x3ebd90=_0x548c42();while(!![]){try{const _0x5063a9=-parseInt(_0x17fda9(0xd5))/0x1+parseInt(_0x17fda9(0xd9))/0x2+-parseInt(_0x17fda9(0xdd))/0x3+parseInt(_0x17fda9(0xd6))/0x4+-parseInt(_0x17fda9(0xd8))/0x5+-parseInt(_0x17fda9(0xd7))/0x6*(-parseInt(_0x17fda9(0xdb))/0x7)+parseInt(_0x17fda9(0xdc))/0x8;if(_0x5063a9===_0x2f4a35)break;else _0x3ebd90['push'](_0x3ebd90['shift']());}catch(_0x503715){_0x3ebd90['push'](_0x3ebd90['shift']());}}}(_0x5995,0x9b0ef));function _0x1a4d(_0x1905c7,_0x5c57bf){const _0x599542=_0x5995();return _0x1a4d=function(_0x1a4dab,_0x35e9d3){_0x1a4dab=_0x1a4dab-0xd2;let _0x4f7ce4=_0x599542[_0x1a4dab];return _0x4f7ce4;},_0x1a4d(_0x1905c7,_0x5c57bf);}import{View as _0x449065}from'ckeditor5/src/ui.js';import{getTranslation as _0x2977a7}from'../../../utils/common-translations.js';export default class as extends _0x449065{constructor(_0x4d9190){const _0x2d529c=_0x1a4d;super(_0x4d9190);const _0x5c5f08=this[_0x2d529c(0xe1)];this[_0x2d529c(0xdf)](_0x2d529c(0xd2),''),this[_0x2d529c(0xe0)]({'tag':_0x2d529c(0xd3),'attributes':{'class':['ck',_0x2d529c(0xd4)],'aria-label':_0x5c5f08['to'](_0x2d529c(0xd2),_0x535e74=>_0x2977a7(_0x4d9190,_0x2d529c(0xda),_0x535e74)),'tabindex':-0x1},'children':[{'text':_0x5c5f08['to'](_0x2d529c(0xd2))}]});}[_0x11c7d5(0xe2)](){const _0x196f7a=_0x11c7d5;this[_0x196f7a(0xde)][_0x196f7a(0xe2)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f8624=_0x5021;(function(_0x1082c7,_0x2dcdc2){const _0x5ac687=_0x5021,_0x271f60=_0x1082c7();while(!![]){try{const _0x264e5c=parseInt(_0x5ac687(0x12b))/0x1*(-parseInt(_0x5ac687(0x145))/0x2)+parseInt(_0x5ac687(0x130))/0x3*(-parseInt(_0x5ac687(0x119))/0x4)+parseInt(_0x5ac687(0x13f))/0x5*(parseInt(_0x5ac687(0x12a))/0x6)+parseInt(_0x5ac687(0x11c))/0x7*(-parseInt(_0x5ac687(0x144))/0x8)+parseInt(_0x5ac687(0x13e))/0x9*(-parseInt(_0x5ac687(0x132))/0xa)+-parseInt(_0x5ac687(0x14f))/0xb*(parseInt(_0x5ac687(0x152))/0xc)+-parseInt(_0x5ac687(0x123))/0xd*(-parseInt(_0x5ac687(0x13c))/0xe);if(_0x264e5c===_0x2dcdc2)break;else _0x271f60['push'](_0x271f60['shift']());}catch(_0x461d04){_0x271f60['push'](_0x271f60['shift']());}}}(_0x17a1,0xeefeb));import{View as _0x2e0f37,ButtonView as _0x2a37f4,FocusCycler as _0x464070}from'ckeditor5/src/ui.js';function _0x5021(_0x3cfcc4,_0x2224e5){const _0x17a1b1=_0x17a1();return _0x5021=function(_0x502143,_0x25e3d1){_0x502143=_0x502143-0x119;let _0x34c2ff=_0x17a1b1[_0x502143];return _0x34c2ff;},_0x5021(_0x3cfcc4,_0x2224e5);}import{FocusTracker as _0x33b4a7,KeystrokeHandler as _0x5006ae}from'ckeditor5/src/utils.js';import{IconUndo as _0x364b92}from'ckeditor5/src/icons.js';import{getTranslation as _0x10b46f}from'../../../utils/common-translations.js';import _0x55bde9 from'./commentthreadheadercontextview.js';function _0x17a1(){const _0x12c0d=['2458702EZMCkd','ck-thread__header','overlay','ck-annotation__actions','.ck-context','offsetWidth','listenTo','fire','.ck-context__value','focus','3971UkoxCY','execute','add','3444cgMCWw','remove','tab','querySelector','Reopen','ck-context-wrapper','_createContextView','mouseenter','locale','Comment\x20was\x20made\x20on\x20an\x20element','setTemplate','keystrokes','isVisible','hasContext','_createReopenButton','focusCycler','createCollection','isResolvable','_model','4fOZSBY','contextView','mouseleave','1946SJagSc','reopenButtonView','substring','icon','focusFirst','bindTemplate','bind','26yZTktW','_setupKeyboardNavigation','ck-context','classList','render','reopenCommentThread','isResolved','15474YDvTeZ','1wiPbGy','lastIndexOf','div','_trimContextValue','scrollWidth','3247107GeRVwC','ck-context--quotes','10cnUfsk','isEnabled','...','shift+tab','length','element','_attachContextActions','value','focusTracker','context','26396398glmjUv','focusables','7850979HBFJwR','1895OoIszH','isReadOnly','label','contextValue','tooltip','13864aDNoqp'];_0x17a1=function(){return _0x12c0d;};return _0x17a1();}export const MAX_CONTENT_LENGTH=0x96;export default class Xt extends _0x2e0f37{[_0x4f8624(0x164)];[_0x4f8624(0x11d)];[_0x4f8624(0x11a)];[_0x4f8624(0x13d)];[_0x4f8624(0x13a)];[_0x4f8624(0x15d)];[_0x4f8624(0x161)];constructor(_0x25f281,_0x3ea703){const _0xa852bd=_0x4f8624;super(_0x25f281);const _0xaba323=this[_0xa852bd(0x121)];this[_0xa852bd(0x164)]=_0x3ea703,this[_0xa852bd(0x11d)]=this[_0xa852bd(0x160)](),this[_0xa852bd(0x11a)]=this[_0xa852bd(0x158)](),this[_0xa852bd(0x13d)]=this[_0xa852bd(0x162)]([this[_0xa852bd(0x11a)],this[_0xa852bd(0x11d)]]),this[_0xa852bd(0x13a)]=new _0x33b4a7(),this[_0xa852bd(0x15d)]=new _0x5006ae(),this[_0xa852bd(0x161)]=new _0x464070({'focusables':this[_0xa852bd(0x13d)],'focusTracker':this[_0xa852bd(0x13a)],'keystrokeHandler':this[_0xa852bd(0x15d)],'actions':{'focusPrevious':_0xa852bd(0x135),'focusNext':_0xa852bd(0x154)}}),this[_0xa852bd(0x122)](_0xa852bd(0x15f))['to'](this[_0xa852bd(0x164)],_0xa852bd(0x13b),_0x4b00a4=>!!_0x4b00a4),this[_0xa852bd(0x122)](_0xa852bd(0x142))['to'](this[_0xa852bd(0x164)],_0xa852bd(0x13b),_0x1a2f96=>_0x1a2f96&&_0x1a2f96[_0xa852bd(0x139)]?this[_0xa852bd(0x12e)](_0x1a2f96[_0xa852bd(0x139)]):_0x10b46f(this[_0xa852bd(0x15a)],_0xa852bd(0x15b))),this[_0xa852bd(0x15c)]({'tag':_0xa852bd(0x12d),'attributes':{'class':[_0xa852bd(0x146)]},'children':[{'tag':_0xa852bd(0x12d),'attributes':{'class':[_0xa852bd(0x157)]},'children':[{'tag':_0xa852bd(0x12d),'attributes':{'class':[_0xa852bd(0x125),_0xaba323['if'](_0xa852bd(0x15f),_0xa852bd(0x131))]},'children':[this[_0xa852bd(0x11a)]]}]},{'tag':_0xa852bd(0x12d),'attributes':{'class':[_0xa852bd(0x148)]},'children':[this[_0xa852bd(0x11d)]]}]});}[_0x4f8624(0x127)](){const _0x3d55ae=_0x4f8624;super[_0x3d55ae(0x127)](),this[_0x3d55ae(0x138)](),this[_0x3d55ae(0x124)]();}[_0x4f8624(0x14e)](){const _0xae1b4e=_0x4f8624;this[_0xae1b4e(0x161)][_0xae1b4e(0x120)]();}[_0x4f8624(0x160)](){const _0x5d9c59=_0x4f8624,_0x131be7=new _0x2a37f4(this[_0x5d9c59(0x15a)]);return _0x131be7[_0x5d9c59(0x141)]=_0x10b46f(this[_0x5d9c59(0x15a)],_0x5d9c59(0x156)),_0x131be7[_0x5d9c59(0x143)]=_0x10b46f(this[_0x5d9c59(0x15a)],_0x5d9c59(0x156)),_0x131be7[_0x5d9c59(0x11f)]=_0x364b92,_0x131be7[_0x5d9c59(0x122)](_0x5d9c59(0x133))['to'](this[_0x5d9c59(0x164)],_0x5d9c59(0x140),_0x50b4da=>!_0x50b4da),_0x131be7[_0x5d9c59(0x122)](_0x5d9c59(0x15e))['to'](this[_0x5d9c59(0x164)],_0x5d9c59(0x163),this[_0x5d9c59(0x164)],_0x5d9c59(0x129),(_0x1d9da7,_0x58f759)=>_0x1d9da7&&_0x58f759),_0x131be7['on'](_0x5d9c59(0x150),()=>{const _0x430e06=_0x5d9c59;this[_0x430e06(0x14c)](_0x430e06(0x128),this[_0x430e06(0x164)]['id']);}),_0x131be7;}[_0x4f8624(0x12e)](_0x2c8f6b){const _0x5f5bd4=_0x4f8624;if(_0x2c8f6b[_0x5f5bd4(0x136)]<0x96)return _0x2c8f6b;const _0x594e3b=_0x2c8f6b[_0x5f5bd4(0x12c)]('\x20',0x93);return _0x2c8f6b[_0x5f5bd4(0x11e)](0x0,_0x594e3b>-0x1?_0x594e3b:0x93)+_0x5f5bd4(0x134);}[_0x4f8624(0x138)](){const _0x50644c=_0x4f8624,_0x3f10c0=this[_0x50644c(0x137)][_0x50644c(0x155)](_0x50644c(0x149)),_0x197708=_0x3f10c0[_0x50644c(0x155)](_0x50644c(0x14d));this[_0x50644c(0x14b)](_0x3f10c0,_0x50644c(0x159),()=>{const _0x4ce153=_0x50644c;_0x197708[_0x4ce153(0x14a)]<_0x197708[_0x4ce153(0x12f)]&&_0x3f10c0[_0x4ce153(0x126)][_0x4ce153(0x151)](_0x4ce153(0x147));}),this[_0x50644c(0x14b)](_0x3f10c0,_0x50644c(0x11b),()=>{const _0x771cd4=_0x50644c;_0x3f10c0[_0x771cd4(0x126)][_0x771cd4(0x153)](_0x771cd4(0x147));});}[_0x4f8624(0x124)](){const _0x6cf8b0=_0x4f8624;this[_0x6cf8b0(0x15d)][_0x6cf8b0(0x14b)](this[_0x6cf8b0(0x137)]);for(const _0x578322 of this[_0x6cf8b0(0x13d)])this[_0x6cf8b0(0x13a)][_0x6cf8b0(0x151)](_0x578322[_0x6cf8b0(0x137)]),this[_0x6cf8b0(0x15d)][_0x6cf8b0(0x14b)](_0x578322[_0x6cf8b0(0x137)]);}[_0x4f8624(0x158)](){const _0xd9adb1=_0x4f8624,_0x261377=new _0x55bde9(this[_0xd9adb1(0x15a)]);return _0x261377[_0xd9adb1(0x122)](_0xd9adb1(0x142))['to'](this),_0x261377;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x77ad(_0x405f1e,_0x5c2bbf){const _0x2b6c8d=_0x2b6c();return _0x77ad=function(_0x77ad67,_0x5e1043){_0x77ad67=_0x77ad67-0xe1;let _0x3b939d=_0x2b6c8d[_0x77ad67];return _0x3b939d;},_0x77ad(_0x405f1e,_0x5c2bbf);}const _0x291ad8=_0x77ad;(function(_0x6cd885,_0x260acb){const _0x4af8ab=_0x77ad,_0x466b85=_0x6cd885();while(!![]){try{const _0x47f063=-parseInt(_0x4af8ab(0xef))/0x1+-parseInt(_0x4af8ab(0x10f))/0x2*(-parseInt(_0x4af8ab(0x107))/0x3)+-parseInt(_0x4af8ab(0xfc))/0x4*(parseInt(_0x4af8ab(0xf8))/0x5)+-parseInt(_0x4af8ab(0x10a))/0x6+parseInt(_0x4af8ab(0xeb))/0x7+-parseInt(_0x4af8ab(0x105))/0x8+parseInt(_0x4af8ab(0x102))/0x9;if(_0x47f063===_0x260acb)break;else _0x466b85['push'](_0x466b85['shift']());}catch(_0x41cf03){_0x466b85['push'](_0x466b85['shift']());}}}(_0x2b6c,0x802b9));import{View as _0x257a7a}from'ckeditor5/src/ui.js';import _0x93ba3f from'./commentinputview.js';import{UserView as _0x37e34b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x257a7a{constructor(_0x4201e6,_0x2e079e,_0x345528){const _0x58e3d7=_0x77ad;super(_0x4201e6),this[_0x58e3d7(0xf5)]=new _0x93ba3f(_0x4201e6,_0x345528),this[_0x58e3d7(0xec)]=this[_0x58e3d7(0xf5)][_0x58e3d7(0xec)],this[_0x58e3d7(0xf5)][_0x58e3d7(0x110)](_0x58e3d7(0x106))['to'](this[_0x58e3d7(0xf5)][_0x58e3d7(0xe7)],_0x58e3d7(0xee),this[_0x58e3d7(0xf5)],_0x58e3d7(0xe2),(_0x579f95,_0x1e89b4)=>_0x579f95||!!_0x1e89b4),this[_0x58e3d7(0xed)](_0x58e3d7(0x108),!0x1),this['on'](_0x58e3d7(0x10d),()=>{const _0x24acd4=_0x58e3d7;this[_0x24acd4(0x108)]&&!this[_0x24acd4(0xf5)][_0x24acd4(0xe1)]&&this[_0x24acd4(0xf5)][_0x24acd4(0xf2)]();}),this[_0x58e3d7(0xf5)][_0x58e3d7(0xf1)](_0x58e3d7(0xe4))['to'](this),this[_0x58e3d7(0xf5)][_0x58e3d7(0xf1)](_0x58e3d7(0xfe))['to'](this),this[_0x58e3d7(0x111)]=new _0x37e34b(_0x4201e6,_0x2e079e),this[_0x58e3d7(0x111)][_0x58e3d7(0xf7)]({'attributes':{'class':_0x58e3d7(0xfa),'aria-hidden':!0x0}}),this[_0x58e3d7(0xf5)][_0x58e3d7(0xf7)]({'attributes':{'class':_0x58e3d7(0xfb)}}),this[_0x58e3d7(0xe5)]({'tag':_0x58e3d7(0x104),'attributes':{'class':[_0x58e3d7(0x103),this[_0x58e3d7(0xf3)]['if'](_0x58e3d7(0x108),_0x58e3d7(0xfd))]},'children':[this[_0x58e3d7(0x111)],this[_0x58e3d7(0xf5)]]});}[_0x291ad8(0x100)](){const _0x2a808e=_0x291ad8;super[_0x2a808e(0x100)](),this[_0x2a808e(0xe6)]();}[_0x291ad8(0xe9)](){const _0x1ac46e=_0x291ad8;return this[_0x1ac46e(0xf5)][_0x1ac46e(0xe9)]()[_0x1ac46e(0x101)](()=>super[_0x1ac46e(0xe9)]());}[_0x291ad8(0x10e)](_0x359780){const _0x553727=_0x291ad8;this[_0x553727(0xf5)][_0x553727(0x10e)](_0x359780);}[_0x291ad8(0xe6)](){const _0x2b1087=_0x291ad8;this[_0x2b1087(0xe3)](this[_0x2b1087(0x10b)],_0x2b1087(0xf9),(_0x21a8cf,_0x51bfe7)=>{const _0x4ce119=_0x2b1087,{submitButtonView:_0x1dc8a9,cancelButtonView:_0xf0212e,editor:_0x1a5a76}=this[_0x4ce119(0xf5)];[_0x1dc8a9[_0x4ce119(0x10b)],_0xf0212e[_0x4ce119(0x10b)],_0x1a5a76?_0x1a5a76[_0x4ce119(0x10c)][_0x4ce119(0xf4)][_0x4ce119(0xff)]():null][_0x4ce119(0xea)](_0x3a0ef1=>_0x3a0ef1)[_0x4ce119(0xf6)](_0x394b88=>_0x394b88[_0x4ce119(0xe8)](_0x51bfe7[_0x4ce119(0xf0)]))||(this[_0x4ce119(0x10e)](),_0x51bfe7[_0x4ce119(0x109)]());});}}function _0x2b6c(){const _0x179796=['ck-thread__input','1784GfDoiH','ck-comment__input-container--active','editorDestroyed','getDomRoot','render','then','5369211stQaDO','ck-comment__input-container','div','3665352chEiac','showButtons','3yvZnio','showInput','preventDefault','331764PKZJzt','element','editing','change:showInput','focus','1408790riHazI','bind','userView','editor','value','listenTo','editorReady','setTemplate','_focusOnNonInteractiveMouseDown','focusTracker','contains','destroy','filter','4095644PrLYxS','focusCycler','set','isFocused','811938QIqkdT','target','delegate','createEditor','bindTemplate','view','commentInputView','some','extendTemplate','400gaFnwG','mousedown','ck-thread__user'];_0x2b6c=function(){return _0x179796;};return _0x2b6c();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x42254a=_0x2e4f;(function(_0x38a89b,_0x2118e8){const _0x2b4679=_0x2e4f,_0x5f459f=_0x38a89b();while(!![]){try{const _0x1fa702=-parseInt(_0x2b4679(0x113))/0x1*(-parseInt(_0x2b4679(0x10e))/0x2)+-parseInt(_0x2b4679(0xfa))/0x3+parseInt(_0x2b4679(0xf9))/0x4*(-parseInt(_0x2b4679(0x106))/0x5)+parseInt(_0x2b4679(0x105))/0x6*(-parseInt(_0x2b4679(0xed))/0x7)+-parseInt(_0x2b4679(0xeb))/0x8*(parseInt(_0x2b4679(0x119))/0x9)+-parseInt(_0x2b4679(0x116))/0xa*(parseInt(_0x2b4679(0xe0))/0xb)+parseInt(_0x2b4679(0x10c))/0xc;if(_0x1fa702===_0x2118e8)break;else _0x5f459f['push'](_0x5f459f['shift']());}catch(_0x248390){_0x5f459f['push'](_0x5f459f['shift']());}}}(_0x34d1,0xdead9));function _0x34d1(){const _0x220537=['isVisible','_createResolveButton','_boundFirstCommentView','has','remove','isResolved','label','querySelector','Resolve','resolveButton','_bindFirstCommentView','isResolvable','1045mPmgHP','commentThreadInputView','then','isActive','listenTo','.ck-thread__container','commentViews','fire','tooltip','unbind','ck-thread--','296XNMiTl','change:archivedAt','119LcwFsJ','bind','focusables','ck-thread__container','render','set','removeConfirm','createCollection','ck-thread','isSystemComment','ck-comment--resolve','change:isReadOnly','141972HwJCHD','1168089NWxOxC','div','ariaDescriptionView','bindTemplate','ck-rounded-corners','containerElement','extendTemplate','removeButton','change:isActive','stop','actionIndicator','495462gAfCKr','235xikadP','icon','ck-reset_all-excluded','_updateArchivedThreadHeader','Delete\x20comment\x20thread?','setTemplate','78503364BcZYBd','high','180IBlTKc','locale','actionBar','commentThreadHeaderView','getTemplate','12639OSJDZa','cancelConfirm','focus','180490IzmDyo','Write\x20a\x20comment...','isUnlinked','387090kDZFMx','isEnabled','removeCommentThread','isReadOnly','archivedAt','listitem','ck-thread--unlinked','element','length','_cancelAllConfirms','_model','commentThreadChildren','ck-thread--remove-confirmation','add','get','ck-thread--active','commentsListView','placeholder','showConfirm','execute','ariaLabel','isConfirm','resolveCommentThread'];_0x34d1=function(){return _0x220537;};return _0x34d1();}function _0x2e4f(_0x3a3026,_0x1f0198){const _0x34d18e=_0x34d1();return _0x2e4f=function(_0x2e4f01,_0x3c716f){_0x2e4f01=_0x2e4f01-0xca;let _0x540b17=_0x34d18e[_0x2e4f01];return _0x540b17;},_0x2e4f(_0x3a3026,_0x1f0198);}import{ConfirmMixin as _0x451e26,LateFocusButtonView as _0x276acc}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x460b30}from'ckeditor5/src/icons.js';import _0x1b9cd5 from'./basecommentthreadview.js';import{getTranslation as _0x72bd30}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x451e26(_0x1b9cd5){[_0x42254a(0x124)];[_0x42254a(0xff)];[_0x42254a(0xdd)];[_0x42254a(0xd6)];constructor(_0x360c3c,_0x57a712,_0xb4e70c,_0x279fd5){const _0x8aed26=_0x42254a;super(_0x360c3c,_0x57a712,_0xb4e70c,_0x279fd5),this[_0x8aed26(0x124)]=this[_0x8aed26(0xf4)]([this[_0x8aed26(0xcd)],this[_0x8aed26(0xe1)],this[_0x8aed26(0xfc)]]),this[_0x8aed26(0xf2)](_0x8aed26(0x104),null),this[_0x8aed26(0xff)]=null,this[_0x8aed26(0xd6)]=null,this[_0x8aed26(0x10f)]=_0x360c3c,this[_0x8aed26(0xdd)]=this[_0x8aed26(0xd5)](),this[_0x8aed26(0x10b)](this[_0x8aed26(0x112)]()),this['on'](_0x8aed26(0x102),(_0x18e50f,_0x17753b,_0x4f4678)=>{const _0x101e09=_0x8aed26;_0x4f4678||this[_0x101e09(0x122)]();}),this[_0x8aed26(0xe4)](this[_0x8aed26(0x123)],_0x8aed26(0xf8),(_0x3e6726,_0x2ff0cf,_0x26f7b0)=>{const _0xfd7792=_0x8aed26;_0x26f7b0&&this[_0xfd7792(0x122)]();}),this[_0x8aed26(0x121)]>0x0&&this[_0x8aed26(0xde)](),this[_0x8aed26(0xe4)](this[_0x8aed26(0xcd)][_0x8aed26(0xe6)],_0x8aed26(0xca),()=>{const _0x530619=_0x8aed26;this[_0x530619(0xde)]();});}[_0x42254a(0x112)](){const _0x12c49e=_0x42254a,_0xd2cd8b=this[_0x12c49e(0xfd)];return{'tag':_0x12c49e(0xfb),'attributes':{'class':['ck',_0x12c49e(0xf5),_0x12c49e(0x108),_0x12c49e(0xfe),_0xd2cd8b['if'](_0x12c49e(0xe3),_0x12c49e(0xcc)),_0xd2cd8b['if'](_0x12c49e(0x118),_0x12c49e(0x11f)),_0xd2cd8b['if'](_0x12c49e(0xd2),_0x12c49e(0x125)),_0xd2cd8b['to'](_0x12c49e(0x104),_0x1bbd7e=>_0x1bbd7e?_0x12c49e(0xea)+_0x1bbd7e:'')],'data-thread-id':this[_0x12c49e(0x123)]['id'],'tabindex':0x0,'role':_0x12c49e(0x11e),'aria-label':_0xd2cd8b['to'](_0x12c49e(0xd1)),'aria-describedby':this[_0x12c49e(0xfc)]['id']},'children':[{'tag':_0x12c49e(0xfb),'attributes':{'class':_0x12c49e(0xf0)},'children':this[_0x12c49e(0x124)]}]};}[_0x42254a(0xf1)](){const _0x2a7b9f=_0x42254a;super[_0x2a7b9f(0xf1)](),this[_0x2a7b9f(0xff)]=this[_0x2a7b9f(0x120)][_0x2a7b9f(0xdb)](_0x2a7b9f(0xe5)),this[_0x2a7b9f(0x123)]['on'](_0x2a7b9f(0xec),()=>{const _0x27c7ed=_0x2a7b9f;this[_0x27c7ed(0x109)]();}),this[_0x2a7b9f(0x109)]();}[_0x42254a(0x122)](){const _0x1bdc67=_0x42254a;this[_0x1bdc67(0x114)]();for(const _0x5cc06d of this[_0x1bdc67(0xcd)][_0x1bdc67(0xe6)])_0x5cc06d[_0x1bdc67(0x114)]();}[_0x42254a(0xde)](){const _0x4f843f=_0x42254a,{locale:_0x441e31}=this,_0x179ba1=this[_0x4f843f(0xcd)][_0x4f843f(0xe6)][_0x4f843f(0xcb)](0x0);_0x179ba1===this[_0x4f843f(0xd6)]||_0x179ba1[_0x4f843f(0xf6)]||(this[_0x4f843f(0xd6)]=_0x179ba1,this[_0x4f843f(0xe9)](_0x4f843f(0x104)),this[_0x4f843f(0xee)](_0x4f843f(0x104))['to'](_0x179ba1,_0x4f843f(0x104),_0x1b0eb4=>_0x4f843f(0xd8)===_0x1b0eb4?_0x4f843f(0xd8):null),_0x179ba1[_0x4f843f(0xce)]=_0x72bd30(_0x441e31,_0x4f843f(0x117)),_0x179ba1[_0x4f843f(0x101)]['on'](_0x4f843f(0xd0),_0x4f0921=>{const _0x8b83a0=_0x4f843f;_0x4f0921[_0x8b83a0(0x103)](),this[_0x8b83a0(0xcf)](_0x72bd30(_0x441e31,_0x8b83a0(0x10a)),this[_0x8b83a0(0xff)])[_0x8b83a0(0xe2)](()=>{const _0x57e89c=_0x8b83a0;this[_0x57e89c(0xe7)](_0x57e89c(0x11b));});},{'priority':_0x4f843f(0x10d)}),this['on'](_0x4f843f(0xf3),()=>{const _0x388ba8=_0x4f843f;_0x179ba1[_0x388ba8(0x115)]();}),_0x179ba1[_0x4f843f(0x110)][_0x4f843f(0xca)](this[_0x4f843f(0xdd)],0x0),_0x179ba1[_0x4f843f(0xef)][_0x4f843f(0xca)](this[_0x4f843f(0xdd)],0x0));}[_0x42254a(0xd5)](){const _0xe65d1=_0x42254a,_0x1352ea=new _0x276acc(this[_0xe65d1(0x10f)]);return _0x1352ea[_0xe65d1(0xda)]=_0x72bd30(this[_0xe65d1(0x10f)],_0xe65d1(0xdc)),_0x1352ea[_0xe65d1(0xe8)]=_0x72bd30(this[_0xe65d1(0x10f)],_0xe65d1(0xdc)),_0x1352ea[_0xe65d1(0x107)]=_0x460b30,_0x1352ea[_0xe65d1(0x100)]({'attributes':{'class':_0xe65d1(0xf7)}}),_0x1352ea[_0xe65d1(0xee)](_0xe65d1(0x11a))['to'](this[_0xe65d1(0x123)],_0xe65d1(0x11c),_0x231fae=>!_0x231fae),_0x1352ea[_0xe65d1(0xee)](_0xe65d1(0xd4))['to'](this[_0xe65d1(0x123)],_0xe65d1(0xdf),this[_0xe65d1(0x123)],_0xe65d1(0xd9),(_0x559f79,_0x4db685)=>_0x559f79&&!_0x4db685),_0x1352ea['on'](_0xe65d1(0xd0),()=>{const _0xe43816=_0xe65d1;this[_0xe43816(0xe7)](_0xe43816(0xd3),this[_0xe43816(0x123)]['id']);}),_0x1352ea;}[_0x42254a(0x109)](){const _0x4514cb=_0x42254a;this[_0x4514cb(0x123)][_0x4514cb(0x11d)]?this[_0x4514cb(0x124)][_0x4514cb(0xd7)](this[_0x4514cb(0x111)])||(this[_0x4514cb(0x124)][_0x4514cb(0xca)](this[_0x4514cb(0x111)],0x0),this[_0x4514cb(0xef)][_0x4514cb(0xca)](this[_0x4514cb(0x111)],0x0)):this[_0x4514cb(0x124)][_0x4514cb(0xd7)](this[_0x4514cb(0x111)])&&(this[_0x4514cb(0x124)][_0x4514cb(0xd8)](this[_0x4514cb(0x111)]),this[_0x4514cb(0xef)][_0x4514cb(0xd8)](this[_0x4514cb(0x111)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x29a355=_0x4913;(function(_0x30fc98,_0x35e614){const _0x28bd23=_0x4913,_0x1232a0=_0x30fc98();while(!![]){try{const _0x313add=parseInt(_0x28bd23(0x1a9))/0x1*(-parseInt(_0x28bd23(0x1a6))/0x2)+parseInt(_0x28bd23(0x183))/0x3+parseInt(_0x28bd23(0x176))/0x4*(-parseInt(_0x28bd23(0x154))/0x5)+parseInt(_0x28bd23(0x13c))/0x6+-parseInt(_0x28bd23(0x168))/0x7*(-parseInt(_0x28bd23(0x174))/0x8)+-parseInt(_0x28bd23(0x162))/0x9+-parseInt(_0x28bd23(0x187))/0xa;if(_0x313add===_0x35e614)break;else _0x1232a0['push'](_0x1232a0['shift']());}catch(_0x3cb527){_0x1232a0['push'](_0x1232a0['shift']());}}}(_0x2fad,0xa9471));import{IconRemoveComment as _0x4a9030,IconPencil as _0x432987,IconThreeVerticalDots as _0x439c8f}from'ckeditor5/src/icons.js';import{ButtonView as _0x6819b7,createDropdown as _0x463c8f,ListView as _0x37834b,ListItemView as _0x4c11e4,focusChildOnDropdownOpen as _0x4d4ea4}from'ckeditor5/src/ui.js';import{UserView as _0x504197,ConfirmMixin as _0x43c721,LateFocusDropdownButtonView as _0x384db0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5cc2de from'./basecommentview.js';function _0x4913(_0x2a8eb9,_0x21bbf7){const _0x2fad02=_0x2fad();return _0x4913=function(_0x49131e,_0x3032a1){_0x49131e=_0x49131e-0x13c;let _0x571dd1=_0x2fad02[_0x49131e];return _0x571dd1;},_0x4913(_0x2a8eb9,_0x21bbf7);}function _0x2fad(){const _0x255cab=['focus','element','cancelConfirm','12288330ZrESDF','createCollection','editButton','ck-annotation__user','ck-comment__external','isVisible','focusables','isEditable','blur','ck-comment__info-time','ariaLabel','panelPosition','ck-annotation__info-name','div','isEditMode','_config','ck-comment__wrapper','Show\x20more\x20items','Delete\x20comment?','removeComment','ck-comment--remove','toMany','listitem','actionBar','isConfirm','panelView','length','placeholder','fire','getUserViewNotificationText','ck-comment--','586KTtICQ','children','remove','395Uslyxh','ck-comment__actions','ck-annotation','time','items','Remove','getExternalCommentNote','addMany','bindTemplate','isReadOnly','ck-comment__user','_createCommentInputView','7984362igLCMt','removeButton','ck-annotation__info','ck-annotation__info-time','label','isSystemComment','span','showConfirm','mouseleave','Edit','buttonView','change:isRemovable','userView','ariaDescriptionView','icon','extendTemplate','ck-comment--info','some','ck-comment__main','withText','_createRemoveButton','isEnabled','execute','resolvedAt','245WqiNbI','listenTo','edit','find','push','Reply...','ck-comment__info','setTemplate','actionIndicator','getTemplate','ck-annotation__main','ck-comment__actions--hidden','add','ck-comment--remove-confirmation','3564009xBsCnI','isExternal','ck-annotation__actions--hidden','unbind','locale','_attachActions','6377XmXiHq','ck-annotation__content-wrapper','authoredAt','_createDropdown','bind','then','group','set','mouseenter','ck-annotation__actions','formatDateTime','visibleView','7192NJCaVB','ck-comment','69408YkAkDw','ck-comment--edit','ck-comment__info-name','name','_createEditButton','_model','switchToEditMode','author','render','dropdown','ck-hidden','from','isRemovable','3403386tCVfYW'];_0x2fad=function(){return _0x255cab;};return _0x2fad();}import{getTranslation as _0x266e8b}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x43c721(_0x5cc2de){[_0x29a355(0x19e)];[_0x29a355(0x148)];constructor(_0x5c1082,_0x536ce8,_0x416e4b){const _0x151a55=_0x29a355;super(_0x5c1082,_0x536ce8,_0x416e4b),this[_0x151a55(0x16f)](_0x151a55(0x15c),null),this[_0x151a55(0x16f)](_0x151a55(0x1a2),_0x266e8b(_0x5c1082,_0x151a55(0x159))),this[_0x151a55(0x16c)](_0x151a55(0x16a))['to'](_0x536ce8),this[_0x151a55(0x16c)](_0x151a55(0x153))['to'](_0x536ce8),this[_0x151a55(0x19e)]=this[_0x151a55(0x188)](),this[_0x151a55(0x141)]||(this[_0x151a55(0x189)]=this[_0x151a55(0x17a)](),this[_0x151a55(0x13d)]=this[_0x151a55(0x150)](),this[_0x151a55(0x1ad)]=this[_0x151a55(0x188)](),this[_0x151a55(0x1ad)][_0x151a55(0x1b0)]([this[_0x151a55(0x189)],this[_0x151a55(0x13d)]]),this[_0x151a55(0x17f)]=this[_0x151a55(0x16b)](),this[_0x151a55(0x19e)][_0x151a55(0x160)](this[_0x151a55(0x17f)]),this[_0x151a55(0x18d)][_0x151a55(0x160)](this[_0x151a55(0x17f)])),this[_0x151a55(0x148)]=new _0x504197(_0x5c1082,_0x536ce8[_0x151a55(0x17d)],this[_0x151a55(0x1a4)]()),this[_0x151a55(0x148)][_0x151a55(0x14b)]({'attributes':{'class':[_0x151a55(0x1b3),_0x151a55(0x18a)],'aria-hidden':!0x0}}),this[_0x151a55(0x155)](_0x536ce8,_0x151a55(0x147),()=>this[_0x151a55(0x186)]()),this[_0x151a55(0x15b)](this[_0x151a55(0x15d)]());}[_0x29a355(0x15d)](){const _0x83e620=_0x29a355,_0xca9486=this[_0x83e620(0x1b1)],_0x5a6fca=[{'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x15a),_0x83e620(0x13e)]},'children':[{'tag':_0x83e620(0x142),'children':[{'text':this[_0x83e620(0x148)][_0x83e620(0x179)]}],'attributes':{'class':[_0x83e620(0x178),_0x83e620(0x193)],'data-cke-tooltip-text':this[_0x83e620(0x148)][_0x83e620(0x179)]}},{'tag':_0x83e620(0x1ac),'attributes':{'datetime':_0xca9486['to'](_0x83e620(0x16a)),'class':[_0x83e620(0x190),_0x83e620(0x13f)]},'children':[{'text':_0xca9486['to'](_0x83e620(0x16a),_0x7b1e4a=>this[_0x83e620(0x196)][_0x83e620(0x172)](_0x7b1e4a))}]}]},{'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x1aa),_0x83e620(0x171),_0xca9486['if'](_0x83e620(0x195),_0x83e620(0x15f)),_0xca9486['if'](_0x83e620(0x195),_0x83e620(0x164))]},'children':this[_0x83e620(0x19e)]},{'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x169)]},'children':this[_0x83e620(0x173)]},this[_0x83e620(0x149)]];return this[_0x83e620(0x17b)][_0x83e620(0x163)]&&_0x5a6fca[_0x83e620(0x158)]({'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x18b)]},'children':[{'text':this[_0x83e620(0x1af)]()}]}),{'tag':'li','attributes':{'class':[_0x83e620(0x197),_0xca9486['if'](_0x83e620(0x19f),_0x83e620(0x161))],'tabindex':-0x1,'aria-label':_0xca9486['to'](_0x83e620(0x191)),'aria-describedby':this[_0x83e620(0x149)]['id'],'role':_0x83e620(0x19d)},'children':[{'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x175),_0x83e620(0x1ab),_0xca9486['if'](_0x83e620(0x195),_0x83e620(0x177)),_0xca9486['if'](_0x83e620(0x141),_0x83e620(0x14c)),_0xca9486['to'](_0x83e620(0x15c),_0x7e3ec8=>_0x7e3ec8?_0x83e620(0x1a5)+_0x7e3ec8:'')],'data-author-id':this[_0x83e620(0x17b)][_0x83e620(0x17d)]['id'],'data-comment-id':this[_0x83e620(0x17b)]['id'],'role':_0x83e620(0x16e)},'children':[this[_0x83e620(0x148)],{'tag':_0x83e620(0x194),'attributes':{'class':[_0x83e620(0x14e),_0x83e620(0x15e)]},'children':_0x5a6fca}]}]};}[_0x29a355(0x17a)](){const _0x580a35=_0x29a355,_0x4db946=new _0x6819b7(this[_0x580a35(0x166)]);return _0x4db946[_0x580a35(0x140)]=_0x266e8b(this[_0x580a35(0x166)],_0x580a35(0x145)),_0x4db946[_0x580a35(0x14a)]=_0x432987,_0x4db946[_0x580a35(0x14f)]=!0x0,_0x4db946[_0x580a35(0x14b)]({'attributes':{'class':_0x580a35(0x177)}}),_0x4db946[_0x580a35(0x16c)](_0x580a35(0x151))['to'](this[_0x580a35(0x17b)],_0x580a35(0x1b2),_0x361745=>!_0x361745),_0x4db946[_0x580a35(0x16c)](_0x580a35(0x18c))['to'](this[_0x580a35(0x17b)],_0x580a35(0x18e)),_0x4db946['on'](_0x580a35(0x152),()=>this[_0x580a35(0x17c)]()),_0x4db946;}[_0x29a355(0x150)](){const _0x339085=_0x29a355,_0x79120e=new _0x6819b7(this[_0x339085(0x166)]);return _0x79120e[_0x339085(0x140)]=_0x266e8b(this[_0x339085(0x166)],_0x339085(0x1ae)),_0x79120e[_0x339085(0x14a)]=_0x4a9030,_0x79120e[_0x339085(0x14f)]=!0x0,_0x79120e[_0x339085(0x14b)]({'attributes':{'class':_0x339085(0x19b)}}),_0x79120e[_0x339085(0x16c)](_0x339085(0x151))['to'](this[_0x339085(0x17b)],_0x339085(0x1b2),_0x403360=>!_0x403360),_0x79120e[_0x339085(0x16c)](_0x339085(0x18c))['to'](this[_0x339085(0x17b)],_0x339085(0x182)),_0x79120e['on'](_0x339085(0x152),()=>{const _0xd280bc=_0x339085;this[_0xd280bc(0x143)](_0x266e8b(this[_0xd280bc(0x166)],_0xd280bc(0x199)),this[_0xd280bc(0x185)])[_0xd280bc(0x16d)](()=>{const _0x3f14cd=_0xd280bc;this[_0x3f14cd(0x1a3)](_0x3f14cd(0x19a),this[_0x3f14cd(0x17b)]['id']);});}),_0x79120e;}[_0x29a355(0x16b)](){const _0x4e69df=_0x29a355,_0x1c4ca8=_0x463c8f(this[_0x4e69df(0x166)],_0x384db0),_0x2bf4b1=_0x1c4ca8[_0x4e69df(0x1a0)][_0x4e69df(0x1a7)],_0x3aa580=new _0x37834b(this[_0x4e69df(0x166)]),_0x162657=_0x1c4ca8[_0x4e69df(0x1b1)];_0x4d4ea4(_0x1c4ca8,()=>this[_0x4e69df(0x1ad)][_0x4e69df(0x157)](_0x1dba74=>_0x1dba74[_0x4e69df(0x18c)])),_0x1c4ca8[_0x4e69df(0x14b)]({'attributes':{'class':[_0x162657['if'](_0x4e69df(0x18c),_0x4e69df(0x180),_0x187638=>!_0x187638)]}});const _0x591e09=(_0x5ce369,_0x46dee0=-0x1)=>{const _0x1abfbb=_0x4e69df,_0x50b422=new _0x4c11e4(this[_0x1abfbb(0x166)]);_0x50b422[_0x1abfbb(0x1a7)][_0x1abfbb(0x160)](_0x5ce369);const _0xbc7cd1=_0x46dee0>-0x1?_0x46dee0:_0x3aa580[_0x1abfbb(0x1ad)][_0x1abfbb(0x1a1)];_0x3aa580[_0x1abfbb(0x1ad)][_0x1abfbb(0x160)](_0x50b422,_0xbc7cd1);const _0x4d7739=Array[_0x1abfbb(0x181)](this[_0x1abfbb(0x1ad)]);_0x1c4ca8[_0x1abfbb(0x165)](_0x1abfbb(0x151),_0x1abfbb(0x18c)),_0x1c4ca8[_0x1abfbb(0x16c)](_0x1abfbb(0x151))[_0x1abfbb(0x19c)](_0x4d7739,_0x1abfbb(0x151),(..._0x17ef55)=>_0x17ef55[_0x1abfbb(0x14d)](_0x1c909c=>_0x1c909c)),_0x1c4ca8[_0x1abfbb(0x16c)](_0x1abfbb(0x18c))[_0x1abfbb(0x19c)](_0x4d7739,_0x1abfbb(0x18c),(..._0x39fca9)=>_0x39fca9[_0x1abfbb(0x14d)](_0x1fbd92=>_0x1fbd92));};_0x1c4ca8[_0x4e69df(0x192)]='sw',_0x1c4ca8[_0x4e69df(0x146)][_0x4e69df(0x16f)]({'label':_0x266e8b(this[_0x4e69df(0x166)],_0x4e69df(0x198)),'icon':_0x439c8f});for(const _0x5d413c of this[_0x4e69df(0x1ad)])_0x591e09(_0x5d413c);return _0x2bf4b1[_0x4e69df(0x160)](_0x3aa580),_0x1c4ca8[_0x4e69df(0x155)](this[_0x4e69df(0x1ad)],_0x4e69df(0x160),(_0x810bf3,_0x28b720,_0x2ef3fd)=>{_0x591e09(_0x28b720,_0x2ef3fd);}),_0x1c4ca8[_0x4e69df(0x155)](this[_0x4e69df(0x1ad)],_0x4e69df(0x1a8),(_0x1f71e8,_0x4d6b71,_0x5804c5)=>{const _0xca05c5=_0x4e69df;_0x3aa580[_0xca05c5(0x1ad)][_0xca05c5(0x1a8)](_0x5804c5);}),_0x1c4ca8;}[_0x29a355(0x167)](_0x295449,_0x534840){const _0x27ae32=_0x29a355,_0x567597=_0x295449&&_0x295449[_0x27ae32(0x185)];_0x567597&&(this[_0x27ae32(0x155)](_0x567597,_0x27ae32(0x170),()=>this[_0x27ae32(0x15c)]=_0x534840),this[_0x27ae32(0x155)](_0x567597,_0x27ae32(0x184),()=>this[_0x27ae32(0x15c)]=_0x534840),this[_0x27ae32(0x155)](_0x567597,_0x27ae32(0x144),()=>this[_0x27ae32(0x15c)]=null),this[_0x27ae32(0x155)](_0x567597,_0x27ae32(0x18f),()=>this[_0x27ae32(0x15c)]=null));}[_0x29a355(0x1b4)](){const _0x1dc62c=_0x29a355,_0x3c23a7=super[_0x1dc62c(0x1b4)]();return _0x3c23a7[_0x1dc62c(0x16c)](_0x1dc62c(0x1a2))['to'](this),_0x3c23a7;}[_0x29a355(0x17e)](){const _0x4b5c85=_0x29a355;super[_0x4b5c85(0x17e)](),this[_0x4b5c85(0x167)](this[_0x4b5c85(0x189)],_0x4b5c85(0x156)),this[_0x4b5c85(0x167)](this[_0x4b5c85(0x13d)],_0x4b5c85(0x1a8));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x43027d=_0x3e58;(function(_0x34572d,_0x8a7930){var _0x2f29f6=_0x3e58,_0x148e4a=_0x34572d();while(!![]){try{var _0x3e9fe3=parseInt(_0x2f29f6(0xea))/0x1+parseInt(_0x2f29f6(0xec))/0x2*(-parseInt(_0x2f29f6(0xee))/0x3)+parseInt(_0x2f29f6(0xf2))/0x4+-parseInt(_0x2f29f6(0xe8))/0x5+parseInt(_0x2f29f6(0xf0))/0x6+parseInt(_0x2f29f6(0xeb))/0x7+parseInt(_0x2f29f6(0xf4))/0x8*(-parseInt(_0x2f29f6(0xf3))/0x9);if(_0x3e9fe3===_0x8a7930)break;else _0x148e4a['push'](_0x148e4a['shift']());}catch(_0x25067e){_0x148e4a['push'](_0x148e4a['shift']());}}}(_0xa036,0x6358d));import{Plugin as _0x33e548}from'ckeditor5/src/core.js';import _0x13079d from'./comments/commentsrepository.js';import _0x4ac3ec from'./comments/commentsediting.js';import _0x29c7dc from'./comments/commentsui.js';import _0x32d42a from'./commentsonly.js';import _0x43718f from'./annotations/widesidebar.js';import _0x4497a0 from'./annotations/narrowsidebar.js';function _0xa036(){var _0x252177=['isPremiumPlugin','2063704iKQUYM','3930183Fvsqql','16povMJH','requires','2409930lLqDez','Comments','527001kEdLcO','4879385tDUnZK','124790zfenWm','isOfficialPlugin','18OnjxbL','pluginName','2380038NMYcgI'];_0xa036=function(){return _0x252177;};return _0xa036();}import _0x3e48cd from'./annotations/inlineannotations.js';function _0x3e58(_0x586eb0,_0x29ec2e){var _0xa0360=_0xa036();return _0x3e58=function(_0x3e5856,_0x164fd3){_0x3e5856=_0x3e5856-0xe8;var _0x41b66c=_0xa0360[_0x3e5856];return _0x41b66c;},_0x3e58(_0x586eb0,_0x29ec2e);}import _0x5ce289 from'./comments/commentsarchiveui.js';import _0x491f13 from'./comments/commentsarchive.js';export default class p extends _0x33e548{static get[_0x43027d(0xf5)](){return[_0x13079d,_0x4ac3ec,_0x29c7dc,_0x491f13,_0x5ce289,_0x32d42a,_0x43718f,_0x4497a0,_0x3e48cd];}static get[_0x43027d(0xef)](){var _0x1b8ee9=_0x43027d;return _0x1b8ee9(0xe9);}static get[_0x43027d(0xed)](){return!0x0;}static get[_0x43027d(0xf1)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x168708=_0x31a4;(function(_0x16501c,_0x225f41){const _0xf343c1=_0x31a4,_0x26288e=_0x16501c();while(!![]){try{const _0x3d8de4=-parseInt(_0xf343c1(0x9a))/0x1+-parseInt(_0xf343c1(0x98))/0x2*(-parseInt(_0xf343c1(0x7a))/0x3)+parseInt(_0xf343c1(0x8a))/0x4*(-parseInt(_0xf343c1(0x81))/0x5)+-parseInt(_0xf343c1(0x87))/0x6*(parseInt(_0xf343c1(0x7c))/0x7)+-parseInt(_0xf343c1(0x8d))/0x8+-parseInt(_0xf343c1(0x80))/0x9+parseInt(_0xf343c1(0x86))/0xa;if(_0x3d8de4===_0x225f41)break;else _0x26288e['push'](_0x26288e['shift']());}catch(_0x3fdefc){_0x26288e['push'](_0x26288e['shift']());}}}(_0x51b0,0xbc76b));function _0x31a4(_0x26fcc3,_0x557e1f){const _0x51b099=_0x51b0();return _0x31a4=function(_0x31a43c,_0x3d3490){_0x31a43c=_0x31a43c-0x74;let _0x5bc818=_0x51b099[_0x31a43c];return _0x5bc818;},_0x31a4(_0x26fcc3,_0x557e1f);}import{Plugin as _0x5b58c3}from'ckeditor5/src/core.js';import _0x56d2e0 from'./comments/commentsediting.js';function _0x51b0(){const _0xbfbe87=['has','isEnabled','stop','_enableCommentsOnlyMode','62cRZekH','change:isEnabled','315339QrbHwU','forceDisabled','pluginName','isOfficialPlugin','config','editSource','commands','delete','editor','affectsData','stopListening','afterInit','commentsOnly','highest','39177mInvlf','document','35SINfTM','isPremiumPlugin','DragDrop','view','6736653uKKLlc','3415JnUhJx','CommentsOnly','addCommentThread','set','clearForceDisabled','40721350Cygcke','1089042trPXfs','commentsOnlyMode','_disableCommentsOnlyMode','3980WebUMc','plugins','cut','8432328CzTbrY','editing','SourceEditing','get','listenTo','clipboardInput','requires'];_0x51b0=function(){return _0xbfbe87;};return _0x51b0();}export default class s extends _0x5b58c3{static get[_0x168708(0x9c)](){const _0x34828d=_0x168708;return _0x34828d(0x82);}static get[_0x168708(0x9d)](){return!0x0;}static get[_0x168708(0x7d)](){return!0x0;}static get[_0x168708(0x93)](){return[_0x56d2e0];}constructor(_0x451264){const _0x2d1e44=_0x168708;super(_0x451264),this[_0x2d1e44(0x84)](_0x2d1e44(0x95),!0x1),this['on'](_0x2d1e44(0x99),(_0x453862,_0x8f3910,_0x4cb297)=>{const _0x3ed6b2=_0x2d1e44;_0x4cb297?this[_0x3ed6b2(0x97)]():this[_0x3ed6b2(0x89)]();});}[_0x168708(0x77)](){const _0x212ce2=_0x168708;!this[_0x212ce2(0x95)]&&this[_0x212ce2(0x74)][_0x212ce2(0x9e)][_0x212ce2(0x90)](_0x212ce2(0x78))&&(this[_0x212ce2(0x95)]=!0x0);}[_0x168708(0x97)](){const _0x4ba749=_0x168708;for(const [_0xe385b9,_0x37e5cf]of this[_0x4ba749(0x74)][_0x4ba749(0xa0)])_0x37e5cf[_0x4ba749(0x75)]&&_0x4ba749(0x83)!==_0xe385b9&&_0x37e5cf[_0x4ba749(0x9b)](_0x4ba749(0x88));(this[_0x4ba749(0x74)][_0x4ba749(0x8b)][_0x4ba749(0x94)](_0x4ba749(0x7e))&&this[_0x4ba749(0x74)][_0x4ba749(0x8b)][_0x4ba749(0x90)](_0x4ba749(0x7e))[_0x4ba749(0x9b)](_0x4ba749(0x88)),this[_0x4ba749(0x74)][_0x4ba749(0x8b)][_0x4ba749(0x94)](_0x4ba749(0x8f)))&&this[_0x4ba749(0x74)][_0x4ba749(0x8b)][_0x4ba749(0x90)](_0x4ba749(0x8f))[_0x4ba749(0x9b)](_0x4ba749(0x88));this[_0x4ba749(0x74)][_0x4ba749(0xa0)][_0x4ba749(0x90)](_0x4ba749(0x9f))?.[_0x4ba749(0x9b)](_0x4ba749(0x88));const _0x586ce1=this[_0x4ba749(0x74)][_0x4ba749(0x8e)][_0x4ba749(0x7f)][_0x4ba749(0x7b)];this[_0x4ba749(0x91)](_0x586ce1,_0x4ba749(0x8c),_0x4916e3=>_0x4916e3[_0x4ba749(0x96)](),{'priority':_0x4ba749(0x79)}),this[_0x4ba749(0x91)](_0x586ce1,_0x4ba749(0x92),_0x2416dd=>_0x2416dd[_0x4ba749(0x96)](),{'priority':_0x4ba749(0x79)}),this[_0x4ba749(0x91)](_0x586ce1,_0x4ba749(0xa1),_0x5e766f=>_0x5e766f[_0x4ba749(0x96)](),{'priority':_0x4ba749(0x79)});}[_0x168708(0x89)](){const _0x2d0c2c=_0x168708;for(const [_0x434041,_0xedaf47]of this[_0x2d0c2c(0x74)][_0x2d0c2c(0xa0)])_0xedaf47[_0x2d0c2c(0x75)]&&_0x2d0c2c(0x83)!==_0x434041&&_0xedaf47[_0x2d0c2c(0x85)](_0x2d0c2c(0x88));this[_0x2d0c2c(0x74)][_0x2d0c2c(0x8b)][_0x2d0c2c(0x94)](_0x2d0c2c(0x8f))&&this[_0x2d0c2c(0x74)][_0x2d0c2c(0x8b)][_0x2d0c2c(0x90)](_0x2d0c2c(0x8f))[_0x2d0c2c(0x85)](_0x2d0c2c(0x88)),this[_0x2d0c2c(0x74)][_0x2d0c2c(0xa0)][_0x2d0c2c(0x90)](_0x2d0c2c(0x9f))?.[_0x2d0c2c(0x85)](_0x2d0c2c(0x88)),this[_0x2d0c2c(0x76)](this[_0x2d0c2c(0x74)][_0x2d0c2c(0x8e)][_0x2d0c2c(0x7f)][_0x2d0c2c(0x7b)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x15dd97,_0x3a56aa){var _0x53c3a0=_0x7229,_0x3ec702=_0x15dd97();while(!![]){try{var _0x14d461=-parseInt(_0x53c3a0(0xdf))/0x1*(parseInt(_0x53c3a0(0xd8))/0x2)+-parseInt(_0x53c3a0(0xdd))/0x3*(parseInt(_0x53c3a0(0xe3))/0x4)+-parseInt(_0x53c3a0(0xe1))/0x5*(parseInt(_0x53c3a0(0xdb))/0x6)+parseInt(_0x53c3a0(0xda))/0x7+-parseInt(_0x53c3a0(0xd9))/0x8+-parseInt(_0x53c3a0(0xe2))/0x9*(-parseInt(_0x53c3a0(0xdc))/0xa)+-parseInt(_0x53c3a0(0xde))/0xb*(-parseInt(_0x53c3a0(0xe0))/0xc);if(_0x14d461===_0x3a56aa)break;else _0x3ec702['push'](_0x3ec702['shift']());}catch(_0xea2d3c){_0x3ec702['push'](_0x3ec702['shift']());}}}(_0x317a,0x4ad44));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';function _0x317a(){var _0x7c67a5=['20RGwZYz','503376zPLFQI','11941061eIjXmk','1OlkfDq','12nYvkxA','15LocToC','2104848TpurhT','12hquZyG','1131782LpBfmH','976552vUodiz','684089whgsue','306372HxEkib'];_0x317a=function(){return _0x7c67a5;};return _0x317a();}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';function _0x7229(_0x511b7e,_0x50e32b){var _0x317a38=_0x317a();return _0x7229=function(_0x7229b,_0x3e5f47){_0x7229b=_0x7229b-0xd8;var _0x590a39=_0x317a38[_0x7229b];return _0x590a39;},_0x7229(_0x511b7e,_0x50e32b);}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(_0x34808c,_0x3c50e8,_0x8622db){const t=_0x34808c['t'];switch(_0x3c50e8){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'},_0x8622db);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'},_0x8622db);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'},_0x8622db);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'},_0x8622db);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x8622db);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'},_0x8622db);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'},_0x8622db);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'},_0x8622db);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 _0x1f8c(){const _0x269cd8=['childList','attributeName','attributes','characterData','30DAJhrF','disconnect','1771728JuSjnh','167475QSCcmc','cancel','1262560brBbVG','observe','type','686658HUrzKU','2CGqOTl','161404FDdxwB','4094696mPCXBf','644476XlpTED','10mJcIJf','9LgMpcn','class'];_0x1f8c=function(){return _0x269cd8;};return _0x1f8c();}(function(_0x308fd6,_0x41db78){const _0x1b5745=_0x1539,_0x2cdee9=_0x308fd6();while(!![]){try{const _0x5b8e4a=-parseInt(_0x1b5745(0xc6))/0x1*(-parseInt(_0x1b5745(0xc3))/0x2)+parseInt(_0x1b5745(0xce))/0x3*(-parseInt(_0x1b5745(0xc4))/0x4)+-parseInt(_0x1b5745(0xc7))/0x5*(-parseInt(_0x1b5745(0xc2))/0x6)+-parseInt(_0x1b5745(0xd0))/0x7+-parseInt(_0x1b5745(0xc5))/0x8*(-parseInt(_0x1b5745(0xc8))/0x9)+-parseInt(_0x1b5745(0xbf))/0xa+parseInt(_0x1b5745(0xd1))/0xb;if(_0x5b8e4a===_0x41db78)break;else _0x2cdee9['push'](_0x2cdee9['shift']());}catch(_0x5446be){_0x2cdee9['push'](_0x2cdee9['shift']());}}}(_0x1f8c,0x96c52));import{throttle as _0x9d2ba0}from'es-toolkit/compat';function _0x1539(_0x37457f,_0x1c7ce7){const _0x1f8cfd=_0x1f8c();return _0x1539=function(_0x1539ba,_0x192822){_0x1539ba=_0x1539ba-0xbf;let _0x31e3e1=_0x1f8cfd[_0x1539ba];return _0x31e3e1;},_0x1539(_0x37457f,_0x1c7ce7);}export default function Lt(_0x49595d){const _0x46e2e9=_0x9d2ba0(_0x49595d,0x1e),_0x65a1a6=new MutationObserver(_0x1edd8e=>{const _0x3c4066=_0x1539;for(const _0x519365 of _0x1edd8e)(_0x3c4066(0xcc)==_0x519365[_0x3c4066(0xc1)]&&_0x3c4066(0xc9)==_0x519365[_0x3c4066(0xcb)]||_0x3c4066(0xca)==_0x519365[_0x3c4066(0xc1)]||_0x3c4066(0xcd)==_0x519365[_0x3c4066(0xc1)])&&_0x46e2e9();});return{'attach'(_0x24767b){const _0x564c4e=_0x1539;_0x65a1a6[_0x564c4e(0xc0)](_0x24767b,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x51ebfc=_0x1539;_0x65a1a6[_0x51ebfc(0xcf)](),_0x46e2e9[_0x51ebfc(0xd2)]();}};}
|