@ckeditor/ckeditor5-comments 47.7.0-alpha.3 → 47.7.0-alpha.4
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 +11 -11
- 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 +19 -19
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48c53a=_0x598b;function _0x191e(){const _0x43d3c6=['destroy','ck-thread__comments','1003395bLSBuC','_findOptimalIndex','focus','from','22aOJZWw','_calculatePosition','_rearrangeCollapse','set','removed','maxThreadTotalWeight','isActive','updateComment','hasDirtyComment','add','ck-hidden','listenTo','target','visibleViews','bindTemplate','locale','change:isActive','comments','commentUpdated','forEach','_shouldCollapse','setTemplate','insert','Marked\x20as\x20resolved','focusTracker','focusFirst','equal','resolvedBy','_updateHasDirtyComment','_rearrangeExpand','resolveCommentThread','24OhhDrL','remove','some','maxCommentsWhenCollapsed','change:isEditMode','count','element','1837423cbdCcU','commentViews','viewUid','added','change:isResolved','_collapsedCommentsView','isEditMode','weight','resolvedAt','refreshVisibleViews','_model','focusCycler','3078360bvIYZv','_handleNewCommentModel','createCollection','stopListening','change','CommentView','formatDateTime','change:hasDirtyComment','_config','editorConfig','delete','6QfHdLs','_setupKeyboardNavigation','7883210gphmrb','resolved','maxCommentCharsWhenCollapsed','_handleInfoComment','render','bind','expand','focusLast','authoredAt','arrowup','editorDestroyed','keystrokes','6190490hZWNVo','arrowdown','273yEBuyu','Thread\x20comments','23666eFldzH','removeComment','reverse','collapse','delegate','resolvedCommentView','_handleRemoveCommentModel','includes','editorReady','map','length','8457858gmLgAc','get'];_0x191e=function(){return _0x43d3c6;};return _0x191e();}(function(_0x20a21c,_0xddd33f){const _0x322550=_0x598b,_0x5cacdf=_0x20a21c();while(!![]){try{const _0x484289=-parseInt(_0x322550(0x1af))/0x1+-parseInt(_0x322550(0x1a0))/0x2*(-parseInt(_0x322550(0x19e))/0x3)+-parseInt(_0x322550(0x183))/0x4+-parseInt(_0x322550(0x19c))/0x5*(-parseInt(_0x322550(0x18e))/0x6)+parseInt(_0x322550(0x177))/0x7*(parseInt(_0x322550(0x170))/0x8)+parseInt(_0x322550(0x1ab))/0x9+-parseInt(_0x322550(0x190))/0xa*(parseInt(_0x322550(0x1b3))/0xb);if(_0x484289===_0xddd33f)break;else _0x5cacdf['push'](_0x5cacdf['shift']());}catch(_0x2d0025){_0x5cacdf['push'](_0x5cacdf['shift']());}}}(_0x191e,0xa9117));import{View as _0x140d12,FocusCycler as _0x59c289}from'ckeditor5/src/ui.js';import{diff as _0x15365a,Collection as _0x37b3f7,FocusTracker as _0x522021,KeystrokeHandler as _0x394bac}from'ckeditor5/src/utils.js';function _0x598b(_0x4e057e,_0x4954fb){const _0x191ef3=_0x191e();return _0x598b=function(_0x598b75,_0xa11f9f){_0x598b75=_0x598b75-0x155;let _0x270fff=_0x191ef3[_0x598b75];return _0x270fff;},_0x598b(_0x4e057e,_0x4954fb);}import{getTranslation as _0x3385e2}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x5e6aa4}from'./collapsedcommentsview.js';export class CommentsListView extends _0x140d12{[_0x48c53a(0x178)];[_0x48c53a(0x1a5)];[_0x48c53a(0x169)];[_0x48c53a(0x19b)];[_0x48c53a(0x182)];[_0x48c53a(0x181)];[_0x48c53a(0x18b)];[_0x48c53a(0x17c)];constructor(_0xf3bef7,_0x8da8aa,_0x1fa6dc){const _0x41911c=_0x48c53a;super(_0xf3bef7);const _0x4e1a66=this[_0x41911c(0x15f)];this[_0x41911c(0x1b6)](_0x41911c(0x159),!0x1),this[_0x41911c(0x1b6)](_0x41911c(0x1aa),_0x8da8aa[_0x41911c(0x162)][_0x41911c(0x1aa)]),this[_0x41911c(0x1b6)](_0x41911c(0x157),!0x1),this[_0x41911c(0x181)]=_0x8da8aa,this[_0x41911c(0x18b)]=_0x1fa6dc,this[_0x41911c(0x178)]=this[_0x41911c(0x185)](),this[_0x41911c(0x15e)]=this[_0x41911c(0x185)](),this[_0x41911c(0x1a5)]=null,this[_0x41911c(0x169)]=new _0x522021(),this[_0x41911c(0x19b)]=new _0x394bac(),this[_0x41911c(0x182)]=new _0x59c289({'focusables':this[_0x41911c(0x178)],'focusTracker':this[_0x41911c(0x169)],'keystrokeHandler':this[_0x41911c(0x19b)],'keystrokeHandlerOptions':{'filter':_0x30a3f4=>this[_0x41911c(0x178)][_0x41911c(0x1a9)](_0x1ac987=>_0x1ac987[_0x41911c(0x176)])[_0x41911c(0x1a7)](_0x30a3f4[_0x41911c(0x15d)])},'actions':{'focusPrevious':_0x41911c(0x199),'focusNext':_0x41911c(0x19d)}}),this[_0x41911c(0x17c)]=new _0x5e6aa4(_0xf3bef7),this[_0x41911c(0x17c)][_0x41911c(0x195)](_0x41911c(0x175))['to'](this,_0x41911c(0x1aa),_0x28ad32=>_0x28ad32-this[_0x41911c(0x18b)][_0x41911c(0x173)]);for(const _0x5e8eff of _0x8da8aa[_0x41911c(0x162)])this[_0x41911c(0x184)](_0x5e8eff);this[_0x41911c(0x193)](),this[_0x41911c(0x15c)](_0x8da8aa[_0x41911c(0x162)],_0x41911c(0x15a),(_0x457400,_0x1db3f4)=>{const _0x371a63=_0x41911c,_0xeeb999=this[_0x371a63(0x1b4)](_0x1db3f4);this[_0x371a63(0x1aa)]++,this[_0x371a63(0x184)](_0x1db3f4,_0xeeb999),this[_0x371a63(0x180)]();}),this[_0x41911c(0x15c)](_0x8da8aa[_0x41911c(0x162)],_0x41911c(0x171),(_0x1506d1,_0x139024)=>{const _0x57e813=_0x41911c;this[_0x57e813(0x1aa)]--,this[_0x57e813(0x1a6)](_0x139024),this[_0x57e813(0x180)]();}),this[_0x41911c(0x15c)](_0x8da8aa,_0x41911c(0x163),()=>this[_0x41911c(0x180)]()),this[_0x41911c(0x15c)](_0x8da8aa,_0x41911c(0x17b),()=>this[_0x41911c(0x193)]()),this['on'](_0x41911c(0x161),()=>this[_0x41911c(0x180)]()),this['on'](_0x41911c(0x18a),()=>this[_0x41911c(0x180)]()),this[_0x41911c(0x166)]({'tag':'ul','attributes':{'class':[_0x41911c(0x1ae),_0x4e1a66['if'](_0x41911c(0x1aa),_0x41911c(0x15b),_0x3ccc2e=>!_0x3ccc2e)],'aria-label':_0x3385e2(_0xf3bef7,_0x41911c(0x19f))},'children':this[_0x41911c(0x15e)]});}get[_0x48c53a(0x165)](){const _0xadc362=_0x48c53a;return this[_0xadc362(0x181)][_0xadc362(0x17e)]>this[_0xadc362(0x18b)][_0xadc362(0x156)]&&!this[_0xadc362(0x157)]&&!this[_0xadc362(0x159)];}[_0x48c53a(0x194)](){const _0xb40f6d=_0x48c53a;super[_0xb40f6d(0x194)](),this[_0xb40f6d(0x180)](),this[_0xb40f6d(0x18f)]();}[_0x48c53a(0x1b1)](_0x5a2467){const _0x211289=_0x48c53a;-0x1===_0x5a2467?this[_0x211289(0x182)][_0x211289(0x197)]():this[_0x211289(0x182)][_0x211289(0x16a)]();}[_0x48c53a(0x1ad)](){const _0x28f23a=_0x48c53a;this[_0x28f23a(0x17c)][_0x28f23a(0x1ad)]();for(const _0x11017e of this[_0x28f23a(0x178)])_0x11017e[_0x28f23a(0x1ad)]();super[_0x28f23a(0x1ad)]();}[_0x48c53a(0x180)](){const _0x26c389=_0x48c53a;this[_0x26c389(0x165)]?this[_0x26c389(0x1b5)]():this[_0x26c389(0x16e)]();}[_0x48c53a(0x184)](_0x13e070,_0x3e8676){const _0x363ef4=_0x48c53a,_0x549eb7=new this[(_0x363ef4(0x18b))][(_0x363ef4(0x188))](this[_0x363ef4(0x160)],_0x13e070,{'maxCommentCharsWhenCollapsed':this[_0x363ef4(0x18b)][_0x363ef4(0x192)],'formatDateTime':this[_0x363ef4(0x18b)][_0x363ef4(0x189)],'editorConfig':this[_0x363ef4(0x18b)][_0x363ef4(0x18c)]});_0x549eb7[_0x363ef4(0x179)]=_0x13e070['id'],_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x1a1))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x158))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x16f))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x1a8))['to'](this),_0x549eb7[_0x363ef4(0x1a4)](_0x363ef4(0x19a))['to'](this),this[_0x363ef4(0x15c)](_0x549eb7,_0x363ef4(0x174),()=>this[_0x363ef4(0x16d)]()),this[_0x363ef4(0x178)][_0x363ef4(0x15a)](_0x549eb7,_0x3e8676);}[_0x48c53a(0x1b4)](_0x379872){const _0xdda21d=_0x48c53a,_0x2ace6e=this[_0xdda21d(0x181)][_0xdda21d(0x1b0)](_0x379872);return this[_0xdda21d(0x1a5)]?this[_0xdda21d(0x1a5)][_0xdda21d(0x198)]>_0x379872[_0xdda21d(0x198)]?_0x2ace6e-0x1:_0x2ace6e:_0x2ace6e-0x1;}[_0x48c53a(0x193)](){const _0x58929d=_0x48c53a;if(this[_0x58929d(0x181)][_0x58929d(0x16c)]&&this[_0x58929d(0x181)][_0x58929d(0x17f)]){const _0x4fd87e={'id':_0x58929d(0x191),'author':this[_0x58929d(0x181)][_0x58929d(0x16c)],'authoredAt':this[_0x58929d(0x181)][_0x58929d(0x17f)],'content':_0x3385e2(this[_0x58929d(0x160)],_0x58929d(0x168)),'attributes':{}};this[_0x58929d(0x1a5)]=new this[(_0x58929d(0x18b))][(_0x58929d(0x188))](this[_0x58929d(0x160)],_0x4fd87e,{'maxCommentCharsWhenCollapsed':this[_0x58929d(0x18b)][_0x58929d(0x192)],'formatDateTime':this[_0x58929d(0x18b)][_0x58929d(0x189)],'editorConfig':this[_0x58929d(0x18b)][_0x58929d(0x18c)],'isSystemComment':!0x0}),this[_0x58929d(0x178)][_0x58929d(0x15a)](this[_0x58929d(0x1a5)],this[_0x58929d(0x181)][_0x58929d(0x1b0)](_0x4fd87e));}else this[_0x58929d(0x1a5)]&&(this[_0x58929d(0x178)][_0x58929d(0x171)](this[_0x58929d(0x1a5)]),this[_0x58929d(0x1a5)][_0x58929d(0x1ad)](),this[_0x58929d(0x1a5)]=null);this[_0x58929d(0x180)]();}[_0x48c53a(0x1a6)](_0x4e5d0a){const _0x2738b1=_0x48c53a,_0x2e3c7f=this[_0x2738b1(0x178)][_0x2738b1(0x171)](_0x4e5d0a['id']);this[_0x2738b1(0x186)](_0x2e3c7f),_0x2e3c7f[_0x2738b1(0x17d)]&&this[_0x2738b1(0x16d)](),_0x2e3c7f[_0x2738b1(0x1ad)]();}[_0x48c53a(0x16d)](){const _0xbe63a9=_0x48c53a;this[_0xbe63a9(0x159)]=Array[_0xbe63a9(0x1b2)](this[_0xbe63a9(0x178)])[_0xbe63a9(0x172)](_0x59aa46=>_0x59aa46[_0xbe63a9(0x17d)]);}[_0x48c53a(0x1b5)](){const _0x5375bc=_0x48c53a,_0x3c3cf3=function(_0x4a0407){const _0x536334=_0x598b,_0x527379=new _0x37b3f7();for(const _0x5dbedd of _0x4a0407)_0x527379[_0x536334(0x15a)](_0x5dbedd);return _0x527379;}(this[_0x5375bc(0x178)]),_0x2cf23b=this[_0x5375bc(0x17c)][_0x5375bc(0x175)];for(let _0xd2e5b7=0x1;_0xd2e5b7<=_0x2cf23b;_0xd2e5b7++)_0x3c3cf3[_0x5375bc(0x171)](0x1);for(const _0x4c5ebb of _0x3c3cf3)_0x4c5ebb[_0x5375bc(0x1a3)]();_0x2cf23b>0x0&&_0x3c3cf3[_0x5375bc(0x15a)](this[_0x5375bc(0x17c)],0x1),ns(_0x15365a(Array[_0x5375bc(0x1b2)](this[_0x5375bc(0x15e)]),Array[_0x5375bc(0x1b2)](_0x3c3cf3)),this[_0x5375bc(0x15e)],_0x3c3cf3);}[_0x48c53a(0x16e)](){const _0x58d04d=_0x48c53a;ns(_0x15365a(Array[_0x58d04d(0x1b2)](this[_0x58d04d(0x15e)]),Array[_0x58d04d(0x1b2)](this[_0x58d04d(0x178)])),this[_0x58d04d(0x15e)],this[_0x58d04d(0x178)]);for(const _0x2ed670 of this[_0x58d04d(0x15e)])_0x2ed670[_0x58d04d(0x196)]();}[_0x48c53a(0x18f)](){const _0x39ea40=_0x48c53a;this[_0x39ea40(0x178)][_0x39ea40(0x164)](_0x43752e=>{const _0x40f7e3=_0x39ea40;this[_0x40f7e3(0x169)][_0x40f7e3(0x15a)](_0x43752e[_0x40f7e3(0x176)]),this[_0x40f7e3(0x19b)][_0x40f7e3(0x15c)](_0x43752e[_0x40f7e3(0x176)]);}),this[_0x39ea40(0x178)]['on'](_0x39ea40(0x187),(_0x1f335f,_0x3b233c)=>{const _0xa44e7b=_0x39ea40;for(const _0x4637e1 of _0x3b233c[_0xa44e7b(0x155)])this[_0xa44e7b(0x169)][_0xa44e7b(0x171)](_0x4637e1[_0xa44e7b(0x176)]),this[_0xa44e7b(0x19b)][_0xa44e7b(0x186)](_0x4637e1[_0xa44e7b(0x176)]);for(const _0x1bffa8 of Array[_0xa44e7b(0x1b2)](_0x3b233c[_0xa44e7b(0x17a)])[_0xa44e7b(0x1a2)]())this[_0xa44e7b(0x169)][_0xa44e7b(0x15a)](_0x1bffa8[_0xa44e7b(0x176)]),this[_0xa44e7b(0x19b)][_0xa44e7b(0x15c)](_0x1bffa8[_0xa44e7b(0x176)]);});}}function ns(_0x5728f4,_0x396b3f,_0x512ff1){const _0x3c5772=_0x48c53a;let _0x2706ed=0x0;for(const _0x59008f of _0x5728f4)switch(_0x59008f){case _0x3c5772(0x167):_0x396b3f[_0x3c5772(0x15a)](_0x512ff1[_0x3c5772(0x1ac)](_0x2706ed),_0x2706ed),_0x2706ed++;break;case _0x3c5772(0x18d):_0x396b3f[_0x3c5772(0x171)](_0x2706ed);break;case _0x3c5772(0x16b):_0x2706ed++;}}
|
|
23
|
+
const _0x407aaa=_0x4d67;(function(_0x409e5c,_0x2b176c){const _0x313eda=_0x4d67,_0x405371=_0x409e5c();while(!![]){try{const _0x67cf77=parseInt(_0x313eda(0x1a8))/0x1+-parseInt(_0x313eda(0x1aa))/0x2*(-parseInt(_0x313eda(0x159))/0x3)+-parseInt(_0x313eda(0x1a5))/0x4+parseInt(_0x313eda(0x19d))/0x5+-parseInt(_0x313eda(0x196))/0x6*(-parseInt(_0x313eda(0x19c))/0x7)+-parseInt(_0x313eda(0x172))/0x8*(-parseInt(_0x313eda(0x14e))/0x9)+-parseInt(_0x313eda(0x180))/0xa;if(_0x67cf77===_0x2b176c)break;else _0x405371['push'](_0x405371['shift']());}catch(_0x5ec1b9){_0x405371['push'](_0x405371['shift']());}}}(_0x1f97,0x84a2a));import{View as _0x451834,FocusCycler as _0x50ef35}from'ckeditor5/src/ui.js';function _0x1f97(){const _0x4d7ed4=['_shouldCollapse','editorReady','visibleViews','_model','createCollection','set','change:hasDirtyComment','71480wxskTd','_handleRemoveCommentModel','bindTemplate','collapse','maxCommentCharsWhenCollapsed','hasDirtyComment','change','arrowdown','CommentView','delegate','add','delete','weight','change:isActive','18173710olPVSC','_config','commentViews','insert','removeComment','Thread\x20comments','refreshVisibleViews','expand','get','remove','bind','_handleInfoComment','formatDateTime','Marked\x20as\x20resolved','includes','forEach','change:isResolved','editorConfig','resolvedBy','maxThreadTotalWeight','resolveCommentThread','viewUid','3017940hnKEIg','change:isEditMode','isEditMode','isActive','map','render','7boaSxo','4074190vSFVZs','_rearrangeCollapse','editorDestroyed','maxCommentsWhenCollapsed','_handleNewCommentModel','commentUpdated','equal','updateComment','1491480zfDKBU','added','_calculatePosition','197307lBtzaC','stopListening','15830IeUrpU','authoredAt','focus','length','from','135BWJfgg','focusFirst','resolvedAt','removed','arrowup','reverse','target','comments','keystrokes','_setupKeyboardNavigation','_findOptimalIndex','411PlekAv','ck-thread__comments','count','listenTo','resolved','_collapsedCommentsView','focusLast','resolvedCommentView','_updateHasDirtyComment','some','_rearrangeExpand','locale','element','destroy','setTemplate','focusTracker','focusCycler','ck-hidden'];_0x1f97=function(){return _0x4d7ed4;};return _0x1f97();}function _0x4d67(_0x4d57eb,_0x4d48ae){const _0x1f972d=_0x1f97();return _0x4d67=function(_0x4d6761,_0x4bc8d5){_0x4d6761=_0x4d6761-0x14e;let _0x1b7d7e=_0x1f972d[_0x4d6761];return _0x1b7d7e;},_0x4d67(_0x4d57eb,_0x4d48ae);}import{diff as _0x1a72eb,Collection as _0x538309,FocusTracker as _0x26ee92,KeystrokeHandler as _0x2effd6}from'ckeditor5/src/utils.js';import{getTranslation as _0x55cf57}from'../../../utils/common-translations.js';import{CollapsedCommentsView as _0x401b79}from'./collapsedcommentsview.js';export class CommentsListView extends _0x451834{[_0x407aaa(0x182)];[_0x407aaa(0x160)];[_0x407aaa(0x168)];[_0x407aaa(0x156)];[_0x407aaa(0x169)];[_0x407aaa(0x16e)];[_0x407aaa(0x181)];[_0x407aaa(0x15e)];constructor(_0x46959a,_0x33480b,_0x12092a){const _0x2565e8=_0x407aaa;super(_0x46959a);const _0x2ced80=this[_0x2565e8(0x174)];this[_0x2565e8(0x170)](_0x2565e8(0x177),!0x1),this[_0x2565e8(0x170)](_0x2565e8(0x1ad),_0x33480b[_0x2565e8(0x155)][_0x2565e8(0x1ad)]),this[_0x2565e8(0x170)](_0x2565e8(0x199),!0x1),this[_0x2565e8(0x16e)]=_0x33480b,this[_0x2565e8(0x181)]=_0x12092a,this[_0x2565e8(0x182)]=this[_0x2565e8(0x16f)](),this[_0x2565e8(0x16d)]=this[_0x2565e8(0x16f)](),this[_0x2565e8(0x160)]=null,this[_0x2565e8(0x168)]=new _0x26ee92(),this[_0x2565e8(0x156)]=new _0x2effd6(),this[_0x2565e8(0x169)]=new _0x50ef35({'focusables':this[_0x2565e8(0x182)],'focusTracker':this[_0x2565e8(0x168)],'keystrokeHandler':this[_0x2565e8(0x156)],'keystrokeHandlerOptions':{'filter':_0x296c02=>this[_0x2565e8(0x182)][_0x2565e8(0x19a)](_0x5073af=>_0x5073af[_0x2565e8(0x165)])[_0x2565e8(0x18e)](_0x296c02[_0x2565e8(0x154)])},'actions':{'focusPrevious':_0x2565e8(0x152),'focusNext':_0x2565e8(0x179)}}),this[_0x2565e8(0x15e)]=new _0x401b79(_0x46959a),this[_0x2565e8(0x15e)][_0x2565e8(0x18a)](_0x2565e8(0x15b))['to'](this,_0x2565e8(0x1ad),_0xae0a90=>_0xae0a90-this[_0x2565e8(0x181)][_0x2565e8(0x1a0)]);for(const _0x4f7a1d of _0x33480b[_0x2565e8(0x155)])this[_0x2565e8(0x1a1)](_0x4f7a1d);this[_0x2565e8(0x18b)](),this[_0x2565e8(0x15c)](_0x33480b[_0x2565e8(0x155)],_0x2565e8(0x17c),(_0x4116b5,_0x55733a)=>{const _0xc54964=_0x2565e8,_0x4ce48a=this[_0xc54964(0x1a7)](_0x55733a);this[_0xc54964(0x1ad)]++,this[_0xc54964(0x1a1)](_0x55733a,_0x4ce48a),this[_0xc54964(0x186)]();}),this[_0x2565e8(0x15c)](_0x33480b[_0x2565e8(0x155)],_0x2565e8(0x189),(_0x4b589d,_0x3426b3)=>{const _0x4f0fdc=_0x2565e8;this[_0x4f0fdc(0x1ad)]--,this[_0x4f0fdc(0x173)](_0x3426b3),this[_0x4f0fdc(0x186)]();}),this[_0x2565e8(0x15c)](_0x33480b,_0x2565e8(0x1a2),()=>this[_0x2565e8(0x186)]()),this[_0x2565e8(0x15c)](_0x33480b,_0x2565e8(0x190),()=>this[_0x2565e8(0x18b)]()),this['on'](_0x2565e8(0x17f),()=>this[_0x2565e8(0x186)]()),this['on'](_0x2565e8(0x171),()=>this[_0x2565e8(0x186)]()),this[_0x2565e8(0x167)]({'tag':'ul','attributes':{'class':[_0x2565e8(0x15a),_0x2ced80['if'](_0x2565e8(0x1ad),_0x2565e8(0x16a),_0x279a45=>!_0x279a45)],'aria-label':_0x55cf57(_0x46959a,_0x2565e8(0x185))},'children':this[_0x2565e8(0x16d)]});}get[_0x407aaa(0x16b)](){const _0x3f8eaf=_0x407aaa;return this[_0x3f8eaf(0x16e)][_0x3f8eaf(0x17e)]>this[_0x3f8eaf(0x181)][_0x3f8eaf(0x193)]&&!this[_0x3f8eaf(0x199)]&&!this[_0x3f8eaf(0x177)];}[_0x407aaa(0x19b)](){const _0xc23ed0=_0x407aaa;super[_0xc23ed0(0x19b)](),this[_0xc23ed0(0x186)](),this[_0xc23ed0(0x157)]();}[_0x407aaa(0x1ac)](_0x3fd7f8){const _0x984392=_0x407aaa;-0x1===_0x3fd7f8?this[_0x984392(0x169)][_0x984392(0x15f)]():this[_0x984392(0x169)][_0x984392(0x14f)]();}[_0x407aaa(0x166)](){const _0x30d3b1=_0x407aaa;this[_0x30d3b1(0x15e)][_0x30d3b1(0x166)]();for(const _0x151ad2 of this[_0x30d3b1(0x182)])_0x151ad2[_0x30d3b1(0x166)]();super[_0x30d3b1(0x166)]();}[_0x407aaa(0x186)](){const _0x11cd6f=_0x407aaa;this[_0x11cd6f(0x16b)]?this[_0x11cd6f(0x19e)]():this[_0x11cd6f(0x163)]();}[_0x407aaa(0x1a1)](_0x5da645,_0x25d69f){const _0x2ec788=_0x407aaa,_0x1be416=new this[(_0x2ec788(0x181))][(_0x2ec788(0x17a))](this[_0x2ec788(0x164)],_0x5da645,{'maxCommentCharsWhenCollapsed':this[_0x2ec788(0x181)][_0x2ec788(0x176)],'formatDateTime':this[_0x2ec788(0x181)][_0x2ec788(0x18c)],'editorConfig':this[_0x2ec788(0x181)][_0x2ec788(0x191)]});_0x1be416[_0x2ec788(0x195)]=_0x5da645['id'],_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x184))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x1a4))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x194))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x16c))['to'](this),_0x1be416[_0x2ec788(0x17b)](_0x2ec788(0x19f))['to'](this),this[_0x2ec788(0x15c)](_0x1be416,_0x2ec788(0x197),()=>this[_0x2ec788(0x161)]()),this[_0x2ec788(0x182)][_0x2ec788(0x17c)](_0x1be416,_0x25d69f);}[_0x407aaa(0x1a7)](_0x2e4f1e){const _0x54e05d=_0x407aaa,_0x3e3457=this[_0x54e05d(0x16e)][_0x54e05d(0x158)](_0x2e4f1e);return this[_0x54e05d(0x160)]?this[_0x54e05d(0x160)][_0x54e05d(0x1ab)]>_0x2e4f1e[_0x54e05d(0x1ab)]?_0x3e3457-0x1:_0x3e3457:_0x3e3457-0x1;}[_0x407aaa(0x18b)](){const _0x5a7efd=_0x407aaa;if(this[_0x5a7efd(0x16e)][_0x5a7efd(0x192)]&&this[_0x5a7efd(0x16e)][_0x5a7efd(0x150)]){const _0xccaedb={'id':_0x5a7efd(0x15d),'author':this[_0x5a7efd(0x16e)][_0x5a7efd(0x192)],'authoredAt':this[_0x5a7efd(0x16e)][_0x5a7efd(0x150)],'content':_0x55cf57(this[_0x5a7efd(0x164)],_0x5a7efd(0x18d)),'attributes':{}};this[_0x5a7efd(0x160)]=new this[(_0x5a7efd(0x181))][(_0x5a7efd(0x17a))](this[_0x5a7efd(0x164)],_0xccaedb,{'maxCommentCharsWhenCollapsed':this[_0x5a7efd(0x181)][_0x5a7efd(0x176)],'formatDateTime':this[_0x5a7efd(0x181)][_0x5a7efd(0x18c)],'editorConfig':this[_0x5a7efd(0x181)][_0x5a7efd(0x191)],'isSystemComment':!0x0}),this[_0x5a7efd(0x182)][_0x5a7efd(0x17c)](this[_0x5a7efd(0x160)],this[_0x5a7efd(0x16e)][_0x5a7efd(0x158)](_0xccaedb));}else this[_0x5a7efd(0x160)]&&(this[_0x5a7efd(0x182)][_0x5a7efd(0x189)](this[_0x5a7efd(0x160)]),this[_0x5a7efd(0x160)][_0x5a7efd(0x166)](),this[_0x5a7efd(0x160)]=null);this[_0x5a7efd(0x186)]();}[_0x407aaa(0x173)](_0xd2d0b){const _0x49a6aa=_0x407aaa,_0x3f5066=this[_0x49a6aa(0x182)][_0x49a6aa(0x189)](_0xd2d0b['id']);this[_0x49a6aa(0x1a9)](_0x3f5066),_0x3f5066[_0x49a6aa(0x198)]&&this[_0x49a6aa(0x161)](),_0x3f5066[_0x49a6aa(0x166)]();}[_0x407aaa(0x161)](){const _0x408aeb=_0x407aaa;this[_0x408aeb(0x177)]=Array[_0x408aeb(0x1ae)](this[_0x408aeb(0x182)])[_0x408aeb(0x162)](_0x493783=>_0x493783[_0x408aeb(0x198)]);}[_0x407aaa(0x19e)](){const _0x400433=_0x407aaa,_0x355646=function(_0x1bfa19){const _0x451b2b=_0x4d67,_0x2e4259=new _0x538309();for(const _0x1cfe82 of _0x1bfa19)_0x2e4259[_0x451b2b(0x17c)](_0x1cfe82);return _0x2e4259;}(this[_0x400433(0x182)]),_0x3cbe3d=this[_0x400433(0x15e)][_0x400433(0x15b)];for(let _0xed1bde=0x1;_0xed1bde<=_0x3cbe3d;_0xed1bde++)_0x355646[_0x400433(0x189)](0x1);for(const _0x4dee5f of _0x355646)_0x4dee5f[_0x400433(0x175)]();_0x3cbe3d>0x0&&_0x355646[_0x400433(0x17c)](this[_0x400433(0x15e)],0x1),ns(_0x1a72eb(Array[_0x400433(0x1ae)](this[_0x400433(0x16d)]),Array[_0x400433(0x1ae)](_0x355646)),this[_0x400433(0x16d)],_0x355646);}[_0x407aaa(0x163)](){const _0x1fc3e6=_0x407aaa;ns(_0x1a72eb(Array[_0x1fc3e6(0x1ae)](this[_0x1fc3e6(0x16d)]),Array[_0x1fc3e6(0x1ae)](this[_0x1fc3e6(0x182)])),this[_0x1fc3e6(0x16d)],this[_0x1fc3e6(0x182)]);for(const _0x196b2f of this[_0x1fc3e6(0x16d)])_0x196b2f[_0x1fc3e6(0x187)]();}[_0x407aaa(0x157)](){const _0x445729=_0x407aaa;this[_0x445729(0x182)][_0x445729(0x18f)](_0x22d7df=>{const _0x2e1f1f=_0x445729;this[_0x2e1f1f(0x168)][_0x2e1f1f(0x17c)](_0x22d7df[_0x2e1f1f(0x165)]),this[_0x2e1f1f(0x156)][_0x2e1f1f(0x15c)](_0x22d7df[_0x2e1f1f(0x165)]);}),this[_0x445729(0x182)]['on'](_0x445729(0x178),(_0x3202a2,_0x200402)=>{const _0x305439=_0x445729;for(const _0x444694 of _0x200402[_0x305439(0x151)])this[_0x305439(0x168)][_0x305439(0x189)](_0x444694[_0x305439(0x165)]),this[_0x305439(0x156)][_0x305439(0x1a9)](_0x444694[_0x305439(0x165)]);for(const _0x31765f of Array[_0x305439(0x1ae)](_0x200402[_0x305439(0x1a6)])[_0x305439(0x153)]())this[_0x305439(0x168)][_0x305439(0x17c)](_0x31765f[_0x305439(0x165)]),this[_0x305439(0x156)][_0x305439(0x15c)](_0x31765f[_0x305439(0x165)]);});}}function ns(_0x78fbbe,_0x542d59,_0x5cd05c){const _0x164198=_0x407aaa;let _0x134ba6=0x0;for(const _0x5c7017 of _0x78fbbe)switch(_0x5c7017){case _0x164198(0x183):_0x542d59[_0x164198(0x17c)](_0x5cd05c[_0x164198(0x188)](_0x134ba6),_0x134ba6),_0x134ba6++;break;case _0x164198(0x17d):_0x542d59[_0x164198(0x189)](_0x134ba6);break;case _0x164198(0x1a3):_0x134ba6++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55324b=_0x2cc1;(function(_0x1263f8,_0xfb9994){const _0x252ea3=_0x2cc1,_0x3bc367=_0x1263f8();while(!![]){try{const _0x4df9df=parseInt(_0x252ea3(0x1bb))/0x1+-parseInt(_0x252ea3(0x1b9))/0x2+-parseInt(_0x252ea3(0x1c6))/0x3*(parseInt(_0x252ea3(0x1c8))/0x4)+-parseInt(_0x252ea3(0x1c5))/0x5+-parseInt(_0x252ea3(0x1be))/0x6+-parseInt(_0x252ea3(0x1bf))/0x7+parseInt(_0x252ea3(0x1c1))/0x8*(parseInt(_0x252ea3(0x1c4))/0x9);if(_0x4df9df===_0xfb9994)break;else _0x3bc367['push'](_0x3bc367['shift']());}catch(_0x111094){_0x3bc367['push'](_0x3bc367['shift']());}}}(_0x421b,0xc3d0b));import{View as _0x3e71a0}from'ckeditor5/src/ui.js';import{getTranslation as _0xf34bb8}from'../../../utils/common-translations.js';function _0x2cc1(_0x5663c3,_0x3cc68c){const _0x421b76=_0x421b();return _0x2cc1=function(_0x2cc1dd,_0x498f07){_0x2cc1dd=_0x2cc1dd-0x1b9;let _0x4baa82=_0x421b76[_0x2cc1dd];return _0x4baa82;},_0x2cc1(_0x5663c3,_0x3cc68c);}function _0x421b(){const _0x5cdb7f=['1049272rteihc','element','13928QURjIs','setTemplate','ck-context__value','21825NWRnKk','7590200JAuEwz','15aYzaLf','set','1228220tZLLth','bindTemplate','THREAD_CONTEXT_LABEL','1979880QUbFVb','contextValue','1094255nsdlZi','focus','span','1925820waVPJd'];_0x421b=function(){return _0x5cdb7f;};return _0x421b();}export class CommentThreadHeaderContextView extends _0x3e71a0{constructor(_0x66ea8){const _0x41ffc1=_0x2cc1;super(_0x66ea8);const _0x24a5b9=this[_0x41ffc1(0x1c9)];this[_0x41ffc1(0x1c7)](_0x41ffc1(0x1ba),''),this[_0x41ffc1(0x1c2)]({'tag':_0x41ffc1(0x1bd),'attributes':{'class':['ck',_0x41ffc1(0x1c3)],'aria-label':_0x24a5b9['to'](_0x41ffc1(0x1ba),_0x9cb09f=>_0xf34bb8(_0x66ea8,_0x41ffc1(0x1ca),_0x9cb09f)),'tabindex':-0x1},'children':[{'text':_0x24a5b9['to'](_0x41ffc1(0x1ba))}]});}[_0x55324b(0x1bc)](){const _0x69901f=_0x55324b;this[_0x69901f(0x1c0)][_0x69901f(0x1bc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x379d5d=_0xe8a6;(function(_0x251109,_0x47bb5e){const _0x2eb451=_0xe8a6,_0x1f2b0f=_0x251109();while(!![]){try{const _0x1c7512=-parseInt(_0x2eb451(0x13c))/0x1*(parseInt(_0x2eb451(0x144))/0x2)+-parseInt(_0x2eb451(0x13f))/0x3+-parseInt(_0x2eb451(0x121))/0x4*(-parseInt(_0x2eb451(0x127))/0x5)+parseInt(_0x2eb451(0x123))/0x6*(parseInt(_0x2eb451(0x13d))/0x7)+parseInt(_0x2eb451(0x140))/0x8*(parseInt(_0x2eb451(0x12a))/0x9)+parseInt(_0x2eb451(0x130))/0xa*(-parseInt(_0x2eb451(0x13e))/0xb)+-parseInt(_0x2eb451(0x11b))/0xc*(parseInt(_0x2eb451(0x115))/0xd);if(_0x1c7512===_0x47bb5e)break;else _0x1f2b0f['push'](_0x1f2b0f['shift']());}catch(_0x40d55e){_0x1f2b0f['push'](_0x1f2b0f['shift']());}}}(_0x805e,0x65fb3));import{View as _0x3aff70,ButtonView as _0x238d9c,FocusCycler as _0x398d95}from'ckeditor5/src/ui.js';import{FocusTracker as _0x535910,KeystrokeHandler as _0xebc996}from'ckeditor5/src/utils.js';import{IconUndo as _0x3a0fbe}from'ckeditor5/src/icons.js';function _0x805e(){const _0x17b3c7=['offsetWidth','_attachContextActions','scrollWidth','579137EvVkTS','setTemplate','isReadOnly','reopenButtonView','locale','isEnabled','36AzLnWT','lastIndexOf','createCollection','shift+tab','_setupKeyboardNavigation','icon','4mjaDmC','.ck-context__value','2598hTBGOh','hasContext','length','context','916260OdPcYK','render','value','9eHMrlN','isResolvable','keystrokes','label','listenTo','tooltip','470fUMdQb','contextValue','substring','focus','ck-annotation__actions','_trimContextValue','tab','...','element','overlay','mouseleave','bindTemplate','26407GEgEWC','10619BQcGJG','162349cSmDNq','246333mfmCSY','5375056VyHbsl','add','querySelector','.ck-context','14xhaDRt','focusCycler','div','Comment\x20was\x20made\x20on\x20an\x20element','execute','isVisible','fire','ck-context--quotes','reopenCommentThread','classList','Reopen','contextView','_createContextView','remove','ck-thread__header','focusables','bind','mouseenter','_createReopenButton','_model','focusFirst','isResolved','ck-context-wrapper','ck-context','focusTracker'];_0x805e=function(){return _0x17b3c7;};return _0x805e();}function _0xe8a6(_0x10642f,_0x550be3){const _0x805e06=_0x805e();return _0xe8a6=function(_0xe8a642,_0x49a914){_0xe8a642=_0xe8a642-0xfc;let _0x2efb44=_0x805e06[_0xe8a642];return _0x2efb44;},_0xe8a6(_0x10642f,_0x550be3);}import{getTranslation as _0x2b8322}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x5c4501}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3aff70{[_0x379d5d(0x10c)];[_0x379d5d(0x118)];[_0x379d5d(0x104)];[_0x379d5d(0x108)];[_0x379d5d(0x111)];[_0x379d5d(0x12c)];[_0x379d5d(0x145)];constructor(_0x541ee7,_0x5836b4){const _0x469f94=_0x379d5d;super(_0x541ee7);const _0x65dc76=this[_0x469f94(0x13b)];this[_0x469f94(0x10c)]=_0x5836b4,this[_0x469f94(0x118)]=this[_0x469f94(0x10b)](),this[_0x469f94(0x104)]=this[_0x469f94(0x105)](),this[_0x469f94(0x108)]=this[_0x469f94(0x11d)]([this[_0x469f94(0x104)],this[_0x469f94(0x118)]]),this[_0x469f94(0x111)]=new _0x535910(),this[_0x469f94(0x12c)]=new _0xebc996(),this[_0x469f94(0x145)]=new _0x398d95({'focusables':this[_0x469f94(0x108)],'focusTracker':this[_0x469f94(0x111)],'keystrokeHandler':this[_0x469f94(0x12c)],'actions':{'focusPrevious':_0x469f94(0x11e),'focusNext':_0x469f94(0x136)}}),this[_0x469f94(0x109)](_0x469f94(0x124))['to'](this[_0x469f94(0x10c)],_0x469f94(0x126),_0x31c7ed=>!!_0x31c7ed),this[_0x469f94(0x109)](_0x469f94(0x131))['to'](this[_0x469f94(0x10c)],_0x469f94(0x126),_0xd9a5a6=>_0xd9a5a6&&_0xd9a5a6[_0x469f94(0x129)]?this[_0x469f94(0x135)](_0xd9a5a6[_0x469f94(0x129)]):_0x2b8322(this[_0x469f94(0x119)],_0x469f94(0xfc))),this[_0x469f94(0x116)]({'tag':_0x469f94(0x146),'attributes':{'class':[_0x469f94(0x107)]},'children':[{'tag':_0x469f94(0x146),'attributes':{'class':[_0x469f94(0x10f)]},'children':[{'tag':_0x469f94(0x146),'attributes':{'class':[_0x469f94(0x110),_0x65dc76['if'](_0x469f94(0x124),_0x469f94(0x100))]},'children':[this[_0x469f94(0x104)]]}]},{'tag':_0x469f94(0x146),'attributes':{'class':[_0x469f94(0x134)]},'children':[this[_0x469f94(0x118)]]}]});}[_0x379d5d(0x128)](){const _0x59a8fa=_0x379d5d;super[_0x59a8fa(0x128)](),this[_0x59a8fa(0x113)](),this[_0x59a8fa(0x11f)]();}[_0x379d5d(0x133)](){const _0x18f373=_0x379d5d;this[_0x18f373(0x145)][_0x18f373(0x10d)]();}[_0x379d5d(0x10b)](){const _0x2516e0=_0x379d5d,_0x401a7d=new _0x238d9c(this[_0x2516e0(0x119)]);return _0x401a7d[_0x2516e0(0x12d)]=_0x2b8322(this[_0x2516e0(0x119)],_0x2516e0(0x103)),_0x401a7d[_0x2516e0(0x12f)]=_0x2b8322(this[_0x2516e0(0x119)],_0x2516e0(0x103)),_0x401a7d[_0x2516e0(0x120)]=_0x3a0fbe,_0x401a7d[_0x2516e0(0x109)](_0x2516e0(0x11a))['to'](this[_0x2516e0(0x10c)],_0x2516e0(0x117),_0x46605d=>!_0x46605d),_0x401a7d[_0x2516e0(0x109)](_0x2516e0(0xfe))['to'](this[_0x2516e0(0x10c)],_0x2516e0(0x12b),this[_0x2516e0(0x10c)],_0x2516e0(0x10e),(_0x492555,_0x4d3b92)=>_0x492555&&_0x4d3b92),_0x401a7d['on'](_0x2516e0(0xfd),()=>{const _0x11396c=_0x2516e0;this[_0x11396c(0xff)](_0x11396c(0x101),this[_0x11396c(0x10c)]['id']);}),_0x401a7d;}[_0x379d5d(0x135)](_0x177d93){const _0x12adee=_0x379d5d;if(_0x177d93[_0x12adee(0x125)]<0x96)return _0x177d93;const _0x2f908e=_0x177d93[_0x12adee(0x11c)]('\x20',0x93);return _0x177d93[_0x12adee(0x132)](0x0,_0x2f908e>-0x1?_0x2f908e:0x93)+_0x12adee(0x137);}[_0x379d5d(0x113)](){const _0x464934=_0x379d5d,_0x5e80ed=this[_0x464934(0x138)][_0x464934(0x142)](_0x464934(0x143)),_0x5d7c69=_0x5e80ed[_0x464934(0x142)](_0x464934(0x122));this[_0x464934(0x12e)](_0x5e80ed,_0x464934(0x10a),()=>{const _0x122bf8=_0x464934;_0x5d7c69[_0x122bf8(0x112)]<_0x5d7c69[_0x122bf8(0x114)]&&_0x5e80ed[_0x122bf8(0x102)][_0x122bf8(0x141)](_0x122bf8(0x139));}),this[_0x464934(0x12e)](_0x5e80ed,_0x464934(0x13a),()=>{const _0x478ffa=_0x464934;_0x5e80ed[_0x478ffa(0x102)][_0x478ffa(0x106)](_0x478ffa(0x139));});}[_0x379d5d(0x11f)](){const _0x208738=_0x379d5d;this[_0x208738(0x12c)][_0x208738(0x12e)](this[_0x208738(0x138)]);for(const _0xf526a5 of this[_0x208738(0x108)])this[_0x208738(0x111)][_0x208738(0x141)](_0xf526a5[_0x208738(0x138)]),this[_0x208738(0x12c)][_0x208738(0x12e)](_0xf526a5[_0x208738(0x138)]);}[_0x379d5d(0x105)](){const _0x506f89=_0x379d5d,_0x51780d=new _0x5c4501(this[_0x506f89(0x119)]);return _0x51780d[_0x506f89(0x109)](_0x506f89(0x131))['to'](this),_0x51780d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13f775=_0x1057;(function(_0x22b68c,_0x23db5f){const _0x2cdef9=_0x1057,_0x319ad4=_0x22b68c();while(!![]){try{const _0x4a1ba2=parseInt(_0x2cdef9(0x1b0))/0x1*(-parseInt(_0x2cdef9(0x1d1))/0x2)+-parseInt(_0x2cdef9(0x1b9))/0x3*(parseInt(_0x2cdef9(0x1a8))/0x4)+-parseInt(_0x2cdef9(0x1a7))/0x5+parseInt(_0x2cdef9(0x1a9))/0x6+parseInt(_0x2cdef9(0x1a2))/0x7+-parseInt(_0x2cdef9(0x1a5))/0x8+-parseInt(_0x2cdef9(0x1ad))/0x9*(-parseInt(_0x2cdef9(0x1d3))/0xa);if(_0x4a1ba2===_0x23db5f)break;else _0x319ad4['push'](_0x319ad4['shift']());}catch(_0xfed89c){_0x319ad4['push'](_0x319ad4['shift']());}}}(_0x9624,0xb4c25));import{View as _0x14d4bc}from'ckeditor5/src/ui.js';import{CommentInputView as _0x8f4627}from'./commentinputview.js';import{UserView as _0x1ee217}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1057(_0x3ba915,_0x4e11bd){const _0x96249e=_0x9624();return _0x1057=function(_0x105789,_0x8a9dce){_0x105789=_0x105789-0x1a2;let _0x7fb6d8=_0x96249e[_0x105789];return _0x7fb6d8;},_0x1057(_0x3ba915,_0x4e11bd);}export class CommentThreadInputView extends _0x14d4bc{constructor(_0x48c042,_0xc7f78f,_0x46322d){const _0x81e029=_0x1057;super(_0x48c042),this[_0x81e029(0x1c2)]=new _0x8f4627(_0x48c042,_0x46322d),this[_0x81e029(0x1cc)]=this[_0x81e029(0x1c2)][_0x81e029(0x1cc)],this[_0x81e029(0x1c2)][_0x81e029(0x1ba)](_0x81e029(0x1ab))['to'](this[_0x81e029(0x1c2)][_0x81e029(0x1c4)],_0x81e029(0x1c5),this[_0x81e029(0x1c2)],_0x81e029(0x1c1),(_0x4ce392,_0x5f3c1f)=>_0x4ce392||!!_0x5f3c1f),this[_0x81e029(0x1ce)](_0x81e029(0x1b8),!0x1),this['on'](_0x81e029(0x1bb),()=>{const _0x54e34b=_0x81e029;this[_0x54e34b(0x1b8)]&&!this[_0x54e34b(0x1c2)][_0x54e34b(0x1ac)]&&this[_0x54e34b(0x1c2)][_0x54e34b(0x1c3)]();}),this[_0x81e029(0x1c2)][_0x81e029(0x1b7)](_0x81e029(0x1aa))['to'](this),this[_0x81e029(0x1c2)][_0x81e029(0x1b7)](_0x81e029(0x1cb))['to'](this),this[_0x81e029(0x1b2)]=new _0x1ee217(_0x48c042,_0xc7f78f),this[_0x81e029(0x1b2)][_0x81e029(0x1b4)]({'attributes':{'class':_0x81e029(0x1af),'aria-hidden':!0x0}}),this[_0x81e029(0x1c2)][_0x81e029(0x1b4)]({'attributes':{'class':_0x81e029(0x1c9)}}),this[_0x81e029(0x1bd)]({'tag':_0x81e029(0x1b1),'attributes':{'class':[_0x81e029(0x1ae),this[_0x81e029(0x1cf)]['if'](_0x81e029(0x1b8),_0x81e029(0x1c6))]},'children':[this[_0x81e029(0x1b2)],this[_0x81e029(0x1c2)]]});}[_0x13f775(0x1b6)](){const _0x58b65e=_0x13f775;super[_0x58b65e(0x1b6)](),this[_0x58b65e(0x1a3)]();}[_0x13f775(0x1b5)](){const _0x2bfa4b=_0x13f775;return this[_0x2bfa4b(0x1c2)][_0x2bfa4b(0x1b5)]()[_0x2bfa4b(0x1bf)](()=>super[_0x2bfa4b(0x1b5)]());}[_0x13f775(0x1be)](_0x2dd0c2){const _0x2b9388=_0x13f775;this[_0x2b9388(0x1c2)][_0x2b9388(0x1be)](_0x2dd0c2);}[_0x13f775(0x1a3)](){const _0x3424fc=_0x13f775;this[_0x3424fc(0x1c7)](this[_0x3424fc(0x1c8)],_0x3424fc(0x1ca),(_0x170328,_0x4c761b)=>{const _0x5191be=_0x3424fc,{submitButtonView:_0x266862,cancelButtonView:_0x39e483,editor:_0x489908}=this[_0x5191be(0x1c2)];[_0x266862[_0x5191be(0x1c8)],_0x39e483[_0x5191be(0x1c8)],_0x489908?_0x489908[_0x5191be(0x1b3)][_0x5191be(0x1d2)][_0x5191be(0x1d0)]():null][_0x5191be(0x1c0)](_0x5c2e51=>_0x5c2e51)[_0x5191be(0x1bc)](_0x3b7a8a=>_0x3b7a8a[_0x5191be(0x1a4)](_0x4c761b[_0x5191be(0x1a6)]))||(this[_0x5191be(0x1be)](),_0x4c761b[_0x5191be(0x1cd)]());});}}function _0x9624(){const _0x48d2dc=['change:showInput','some','setTemplate','focus','then','filter','value','commentInputView','createEditor','focusTracker','isFocused','ck-comment__input-container--active','listenTo','element','ck-thread__input','mousedown','editorDestroyed','focusCycler','preventDefault','set','bindTemplate','getDomRoot','26674sqdtAh','view','131160fRttZv','3972591HDZWGT','_focusOnNonInteractiveMouseDown','contains','165504sVfEzy','target','7111140QFunlI','431588QswEyl','4548378zWiRaR','editorReady','showButtons','editor','819roWnZZ','ck-comment__input-container','ck-thread__user','9uDkMju','div','userView','editing','extendTemplate','destroy','render','delegate','showInput','6ZFpqFg','bind'];_0x9624=function(){return _0x48d2dc;};return _0x9624();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x5ea093=_0x1063;(function(_0x5e483c,_0x1e597f){const _0xd05695=_0x1063,_0x298651=_0x5e483c();while(!![]){try{const _0x3fa810=-parseInt(_0xd05695(0x10e))/0x1*(parseInt(_0xd05695(0xec))/0x2)+parseInt(_0xd05695(0x116))/0x3*(-parseInt(_0xd05695(0x123))/0x4)+parseInt(_0xd05695(0x101))/0x5*(parseInt(_0xd05695(0x104))/0x6)+parseInt(_0xd05695(0xd7))/0x7*(parseInt(_0xd05695(0x10f))/0x8)+parseInt(_0xd05695(0xf5))/0x9+-parseInt(_0xd05695(0xd9))/0xa*(parseInt(_0xd05695(0x112))/0xb)+-parseInt(_0xd05695(0x126))/0xc*(-parseInt(_0xd05695(0x105))/0xd);if(_0x3fa810===_0x1e597f)break;else _0x298651['push'](_0x298651['shift']());}catch(_0x5e2886){_0x298651['push'](_0x298651['shift']());}}}(_0x540f,0xe5497));import{ConfirmMixin as _0x3180e2,LateFocusButtonView as _0x44d146}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x142a15}from'ckeditor5/src/icons.js';import{BaseCommentThreadView as _0x579022}from'./basecommentthreadview.js';import{getTranslation as _0x34249e}from'../../../utils/common-translations.js';function _0x1063(_0x3d6d7c,_0x2e8547){const _0x540f43=_0x540f();return _0x1063=function(_0x10633e,_0x4e8e4d){_0x10633e=_0x10633e-0xcd;let _0x51bc9c=_0x540f43[_0x10633e];return _0x51bc9c;},_0x1063(_0x3d6d7c,_0x2e8547);}function _0x540f(){const _0xa59cfe=['6916550xdPXeQ','showConfirm','isResolvable','commentThreadChildren','cancelConfirm','ck-thread--active','fire','isActive','change:archivedAt','unbind','resolveCommentThread','isUnlinked','stop','actionIndicator','focus','change:isReadOnly','element','isResolved','ck-rounded-corners','424JomKig','bind','_model','placeholder','render','ck-thread__container','.ck-thread__container','has','isEnabled','11365740poVtpu','locale','_cancelAllConfirms','_updateArchivedThreadHeader','then','querySelector','ck-thread--unlinked','focusables','isVisible','length','isReadOnly','Resolve','5miTvVa','_boundFirstCommentView','high','11049474VWmNTo','36413kyiCNc','listenTo','bindTemplate','tooltip','execute','isSystemComment','set','get','label','4931kMtXAv','582536tDljwO','removeConfirm','remove','11yESFBk','setTemplate','resolveButton','ck-thread','3kpiTBk','ck-thread--','commentThreadHeaderView','ck-reset_all-excluded','Write\x20a\x20comment...','icon','removeCommentThread','ariaDescriptionView','_createResolveButton','Delete\x20comment\x20thread?','add','archivedAt','removeButton','6698324WtMvkr','containerElement','createCollection','1284xyvWGb','_bindFirstCommentView','div','commentViews','commentsListView','listitem','extendTemplate','actionBar','getTemplate','commentThreadInputView','ariaLabel','ck-comment--resolve','91SxmTYc','change:isActive'];_0x540f=function(){return _0xa59cfe;};return _0x540f();}export class CommentThreadView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3180e2(_0x579022){[_0x5ea093(0xdc)];[_0x5ea093(0x124)];[_0x5ea093(0x114)];[_0x5ea093(0x102)];constructor(_0x5477a1,_0x33f8d0,_0x21ef72,_0x5c5019){const _0x4e8549=_0x5ea093;super(_0x5477a1,_0x33f8d0,_0x21ef72,_0x5c5019),this[_0x4e8549(0xdc)]=this[_0x4e8549(0x125)]([this[_0x4e8549(0xcf)],this[_0x4e8549(0xd4)],this[_0x4e8549(0x11d)]]),this[_0x4e8549(0x10b)](_0x4e8549(0xe6),null),this[_0x4e8549(0x124)]=null,this[_0x4e8549(0x102)]=null,this[_0x4e8549(0xf6)]=_0x5477a1,this[_0x4e8549(0x114)]=this[_0x4e8549(0x11e)](),this[_0x4e8549(0x113)](this[_0x4e8549(0xd3)]()),this['on'](_0x4e8549(0xd8),(_0x220c46,_0x176475,_0x397e1c)=>{const _0x2e0580=_0x4e8549;_0x397e1c||this[_0x2e0580(0xf7)]();}),this[_0x4e8549(0x106)](this[_0x4e8549(0xee)],_0x4e8549(0xe8),(_0x1c668f,_0x1757f6,_0x100d75)=>{const _0x2d6b6d=_0x4e8549;_0x100d75&&this[_0x2d6b6d(0xf7)]();}),this[_0x4e8549(0xfe)]>0x0&&this[_0x4e8549(0x127)](),this[_0x4e8549(0x106)](this[_0x4e8549(0xcf)][_0x4e8549(0xce)],_0x4e8549(0x120),()=>{const _0x333565=_0x4e8549;this[_0x333565(0x127)]();});}[_0x5ea093(0xd3)](){const _0x567931=_0x5ea093,_0x1aa97b=this[_0x567931(0x107)];return{'tag':_0x567931(0xcd),'attributes':{'class':['ck',_0x567931(0x115),_0x567931(0x119),_0x567931(0xeb),_0x1aa97b['if'](_0x567931(0xe0),_0x567931(0xde)),_0x1aa97b['if'](_0x567931(0xe4),_0x567931(0xfb)),_0x1aa97b['to'](_0x567931(0xe6),_0x3ff5aa=>_0x3ff5aa?_0x567931(0x117)+_0x3ff5aa:'')],'data-thread-id':this[_0x567931(0xee)]['id'],'tabindex':0x0,'role':_0x567931(0xd0),'aria-label':_0x1aa97b['to'](_0x567931(0xd5)),'aria-describedby':this[_0x567931(0x11d)]['id']},'children':[{'tag':_0x567931(0xcd),'attributes':{'class':_0x567931(0xf1)},'children':this[_0x567931(0xdc)]}]};}[_0x5ea093(0xf0)](){const _0x2cf7c9=_0x5ea093;super[_0x2cf7c9(0xf0)](),this[_0x2cf7c9(0x124)]=this[_0x2cf7c9(0xe9)][_0x2cf7c9(0xfa)](_0x2cf7c9(0xf2)),this[_0x2cf7c9(0xee)]['on'](_0x2cf7c9(0xe1),()=>{const _0x50d6ba=_0x2cf7c9;this[_0x50d6ba(0xf8)]();}),this[_0x2cf7c9(0xf8)]();}[_0x5ea093(0xf7)](){const _0xaae0ea=_0x5ea093;this[_0xaae0ea(0xdd)]();for(const _0x1251d8 of this[_0xaae0ea(0xcf)][_0xaae0ea(0xce)])_0x1251d8[_0xaae0ea(0xdd)]();}[_0x5ea093(0x127)](){const _0x27c39d=_0x5ea093,{locale:_0xd83e99}=this,_0x1c3ed6=this[_0x27c39d(0xcf)][_0x27c39d(0xce)][_0x27c39d(0x10c)](0x0);_0x1c3ed6===this[_0x27c39d(0x102)]||_0x1c3ed6[_0x27c39d(0x10a)]||(this[_0x27c39d(0x102)]=_0x1c3ed6,this[_0x27c39d(0xe2)](_0x27c39d(0xe6)),this[_0x27c39d(0xed)](_0x27c39d(0xe6))['to'](_0x1c3ed6,_0x27c39d(0xe6),_0x4acfed=>_0x27c39d(0x111)===_0x4acfed?_0x27c39d(0x111):null),_0x1c3ed6[_0x27c39d(0xef)]=_0x34249e(_0xd83e99,_0x27c39d(0x11a)),_0x1c3ed6[_0x27c39d(0x122)]['on'](_0x27c39d(0x109),_0x3a2b42=>{const _0x24e8b6=_0x27c39d;_0x3a2b42[_0x24e8b6(0xe5)](),this[_0x24e8b6(0xda)](_0x34249e(_0xd83e99,_0x24e8b6(0x11f)),this[_0x24e8b6(0x124)])[_0x24e8b6(0xf9)](()=>{const _0x21a981=_0x24e8b6;this[_0x21a981(0xdf)](_0x21a981(0x11c));});},{'priority':_0x27c39d(0x103)}),this['on'](_0x27c39d(0x110),()=>{const _0x201175=_0x27c39d;_0x1c3ed6[_0x201175(0xe7)]();}),_0x1c3ed6[_0x27c39d(0xd2)][_0x27c39d(0x120)](this[_0x27c39d(0x114)],0x0),_0x1c3ed6[_0x27c39d(0xfc)][_0x27c39d(0x120)](this[_0x27c39d(0x114)],0x0));}[_0x5ea093(0x11e)](){const _0x45ee98=_0x5ea093,_0x4592f6=new _0x44d146(this[_0x45ee98(0xf6)]);return _0x4592f6[_0x45ee98(0x10d)]=_0x34249e(this[_0x45ee98(0xf6)],_0x45ee98(0x100)),_0x4592f6[_0x45ee98(0x108)]=_0x34249e(this[_0x45ee98(0xf6)],_0x45ee98(0x100)),_0x4592f6[_0x45ee98(0x11b)]=_0x142a15,_0x4592f6[_0x45ee98(0xd1)]({'attributes':{'class':_0x45ee98(0xd6)}}),_0x4592f6[_0x45ee98(0xed)](_0x45ee98(0xf4))['to'](this[_0x45ee98(0xee)],_0x45ee98(0xff),_0x25fb6b=>!_0x25fb6b),_0x4592f6[_0x45ee98(0xed)](_0x45ee98(0xfd))['to'](this[_0x45ee98(0xee)],_0x45ee98(0xdb),this[_0x45ee98(0xee)],_0x45ee98(0xea),(_0x7f83d8,_0x5d9eb6)=>_0x7f83d8&&!_0x5d9eb6),_0x4592f6['on'](_0x45ee98(0x109),()=>{const _0x2b5bea=_0x45ee98;this[_0x2b5bea(0xdf)](_0x2b5bea(0xe3),this[_0x2b5bea(0xee)]['id']);}),_0x4592f6;}[_0x5ea093(0xf8)](){const _0x22be72=_0x5ea093;this[_0x22be72(0xee)][_0x22be72(0x121)]?this[_0x22be72(0xdc)][_0x22be72(0xf3)](this[_0x22be72(0x118)])||(this[_0x22be72(0xdc)][_0x22be72(0x120)](this[_0x22be72(0x118)],0x0),this[_0x22be72(0xfc)][_0x22be72(0x120)](this[_0x22be72(0x118)],0x0)):this[_0x22be72(0xdc)][_0x22be72(0xf3)](this[_0x22be72(0x118)])&&(this[_0x22be72(0xdc)][_0x22be72(0x111)](this[_0x22be72(0x118)]),this[_0x22be72(0xfc)][_0x22be72(0x111)](this[_0x22be72(0x118)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xcf86be=_0x4080;function _0x14d9(){const _0x1479b9=['focus','icon','isEditMode','actionIndicator','authoredAt','group','fire','ck-comment--edit','isExternal','bindTemplate','unbind','setTemplate','Show\x20more\x20items','2RZUHal','span','ck-annotation__info','children','ck-annotation__content-wrapper','9psvopt','_attachActions','ck-annotation__info-name','11196VhMUPi','ck-comment__external','div','length','panelPosition','edit','editButton','_model','items','resolvedAt','ck-annotation','getUserViewNotificationText','bind','mouseenter','108KDzyNH','then','cancelConfirm','12067YRFMiu','change:isRemovable','getTemplate','ariaDescriptionView','time','isEditable','ck-comment__wrapper','panelView','ck-comment__actions','6JdqJia','Remove','listitem','removeComment','Edit','ck-comment__info-name','remove','ck-hidden','listenTo','49007855fgKsqP','find','createCollection','label','some','_createRemoveButton','178388QmnQHp','element','ck-annotation__info-time','ck-annotation__main','ck-comment__info','ck-comment__user','dropdown','formatDateTime','execute','push','ck-comment--info','ck-comment__main','679eCytyn','name','locale','getExternalCommentNote','buttonView','_config','_createCommentInputView','placeholder','isSystemComment','toMany','visibleView','ck-comment--','Reply...','userView','blur','isVisible','2497950fKjflG','15829610cRbuoA','ck-comment--remove','ariaLabel','_createEditButton','ck-annotation__actions','focusables','withText','set','isRemovable','ck-comment__info-time','extendTemplate','376945MNJwYd','isReadOnly','add','ck-comment','_createDropdown','actionBar','Delete\x20comment?','render','switchToEditMode','showConfirm','127192QqPlVq','author','isEnabled','addMany','ck-comment__actions--hidden','from','ck-annotation__user','removeButton','ck-annotation__actions--hidden','mouseleave'];_0x14d9=function(){return _0x1479b9;};return _0x14d9();}(function(_0x5e3d5c,_0x5ced1f){const _0x4b1921=_0x4080,_0x55d8fb=_0x5e3d5c();while(!![]){try{const _0x25a3a8=parseInt(_0x4b1921(0x8c))/0x1*(parseInt(_0x4b1921(0xad))/0x2)+parseInt(_0x4b1921(0xc3))/0x3*(-parseInt(_0x4b1921(0xde))/0x4)+-parseInt(_0x4b1921(0xfa))/0x5*(-parseInt(_0x4b1921(0xcf))/0x6)+parseInt(_0x4b1921(0xea))/0x7*(-parseInt(_0x4b1921(0x96))/0x8)+-parseInt(_0x4b1921(0xb2))/0x9*(parseInt(_0x4b1921(0xfb))/0xa)+parseInt(_0x4b1921(0xc6))/0xb*(parseInt(_0x4b1921(0xb5))/0xc)+parseInt(_0x4b1921(0xd8))/0xd;if(_0x25a3a8===_0x5ced1f)break;else _0x55d8fb['push'](_0x55d8fb['shift']());}catch(_0x5bdc44){_0x55d8fb['push'](_0x55d8fb['shift']());}}}(_0x14d9,0xe54cf));import{IconRemoveComment as _0xb861f7,IconPencil as _0x2d9aaf,IconThreeVerticalDots as _0x4191fa}from'ckeditor5/src/icons.js';import{ButtonView as _0x61a86b,createDropdown as _0x277111,ListView as _0x16afac,ListItemView as _0x1c2afd,focusChildOnDropdownOpen as _0xcbc030}from'ckeditor5/src/ui.js';import{UserView as _0x18ce4d,ConfirmMixin as _0x530928,LateFocusDropdownButtonView as _0x5652b9}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x1cd173}from'./basecommentview.js';import{getTranslation as _0x38bc46}from'../../../utils/common-translations.js';function _0x4080(_0x25f164,_0x3c076c){const _0x14d988=_0x14d9();return _0x4080=function(_0x408057,_0x2a4122){_0x408057=_0x408057-0x8c;let _0x2d5a2c=_0x14d988[_0x408057];return _0x2d5a2c;},_0x4080(_0x25f164,_0x3c076c);}export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x530928(_0x1cd173){[_0xcf86be(0x91)];[_0xcf86be(0xf7)];constructor(_0x1cdd9c,_0x36b740,_0x384c87){const _0x1b54d0=_0xcf86be;super(_0x1cdd9c,_0x36b740,_0x384c87),this[_0x1b54d0(0x102)](_0x1b54d0(0xa3),null),this[_0x1b54d0(0x102)](_0x1b54d0(0xf1),_0x38bc46(_0x1cdd9c,_0x1b54d0(0xf6))),this[_0x1b54d0(0xc1)](_0x1b54d0(0xa4))['to'](_0x36b740),this[_0x1b54d0(0xc1)](_0x1b54d0(0xbe))['to'](_0x36b740),this[_0x1b54d0(0x91)]=this[_0x1b54d0(0xda)](),this[_0x1b54d0(0xf2)]||(this[_0x1b54d0(0xbb)]=this[_0x1b54d0(0xfe)](),this[_0x1b54d0(0x9d)]=this[_0x1b54d0(0xdd)](),this[_0x1b54d0(0xbd)]=this[_0x1b54d0(0xda)](),this[_0x1b54d0(0xbd)][_0x1b54d0(0x99)]([this[_0x1b54d0(0xbb)],this[_0x1b54d0(0x9d)]]),this[_0x1b54d0(0xe4)]=this[_0x1b54d0(0x90)](),this[_0x1b54d0(0x91)][_0x1b54d0(0x8e)](this[_0x1b54d0(0xe4)]),this[_0x1b54d0(0x100)][_0x1b54d0(0x8e)](this[_0x1b54d0(0xe4)])),this[_0x1b54d0(0xf7)]=new _0x18ce4d(_0x1cdd9c,_0x36b740[_0x1b54d0(0x97)],this[_0x1b54d0(0xc0)]()),this[_0x1b54d0(0xf7)][_0x1b54d0(0x105)]({'attributes':{'class':[_0x1b54d0(0xe3),_0x1b54d0(0x9c)],'aria-hidden':!0x0}}),this[_0x1b54d0(0xd7)](_0x36b740,_0x1b54d0(0xc7),()=>this[_0x1b54d0(0xc5)]()),this[_0x1b54d0(0xab)](this[_0x1b54d0(0xc8)]());}[_0xcf86be(0xc8)](){const _0x547287=_0xcf86be,_0x3274d9=this[_0x547287(0xa9)],_0x1d22f7=[{'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0xe2),_0x547287(0xaf)]},'children':[{'tag':_0x547287(0xae),'children':[{'text':this[_0x547287(0xf7)][_0x547287(0xeb)]}],'attributes':{'class':[_0x547287(0xd4),_0x547287(0xb4)],'data-cke-tooltip-text':this[_0x547287(0xf7)][_0x547287(0xeb)]}},{'tag':_0x547287(0xca),'attributes':{'datetime':_0x3274d9['to'](_0x547287(0xa4)),'class':[_0x547287(0x104),_0x547287(0xe0)]},'children':[{'text':_0x3274d9['to'](_0x547287(0xa4),_0x2a85af=>this[_0x547287(0xef)][_0x547287(0xe5)](_0x2a85af))}]}]},{'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0xce),_0x547287(0xff),_0x3274d9['if'](_0x547287(0xa2),_0x547287(0x9a)),_0x3274d9['if'](_0x547287(0xa2),_0x547287(0x9e))]},'children':this[_0x547287(0x91)]},{'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0xb1)]},'children':this[_0x547287(0xf4)]},this[_0x547287(0xc9)]];return this[_0x547287(0xbc)][_0x547287(0xa8)]&&_0x1d22f7[_0x547287(0xe7)]({'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0xb6)]},'children':[{'text':this[_0x547287(0xed)]()}]}),{'tag':'li','attributes':{'class':[_0x547287(0xcc)],'tabindex':-0x1,'aria-label':_0x3274d9['to'](_0x547287(0xfd)),'aria-describedby':this[_0x547287(0xc9)]['id'],'role':_0x547287(0xd1)},'children':[{'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0x8f),_0x547287(0xbf),_0x3274d9['if'](_0x547287(0xa2),_0x547287(0xa7)),_0x3274d9['if'](_0x547287(0xf2),_0x547287(0xe8)),_0x3274d9['to'](_0x547287(0xa3),_0x32ebf8=>_0x32ebf8?_0x547287(0xf5)+_0x32ebf8:'')],'data-author-id':this[_0x547287(0xbc)][_0x547287(0x97)]['id'],'data-comment-id':this[_0x547287(0xbc)]['id'],'role':_0x547287(0xa5)},'children':[this[_0x547287(0xf7)],{'tag':_0x547287(0xb7),'attributes':{'class':[_0x547287(0xe9),_0x547287(0xe1)]},'children':_0x1d22f7}]}]};}[_0xcf86be(0xfe)](){const _0x565a92=_0xcf86be,_0x108c36=new _0x61a86b(this[_0x565a92(0xec)]);return _0x108c36[_0x565a92(0xdb)]=_0x38bc46(this[_0x565a92(0xec)],_0x565a92(0xd3)),_0x108c36[_0x565a92(0xa1)]=_0x2d9aaf,_0x108c36[_0x565a92(0x101)]=!0x0,_0x108c36[_0x565a92(0x105)]({'attributes':{'class':_0x565a92(0xa7)}}),_0x108c36[_0x565a92(0xc1)](_0x565a92(0x98))['to'](this[_0x565a92(0xbc)],_0x565a92(0x8d),_0x143a18=>!_0x143a18),_0x108c36[_0x565a92(0xc1)](_0x565a92(0xf9))['to'](this[_0x565a92(0xbc)],_0x565a92(0xcb)),_0x108c36['on'](_0x565a92(0xe6),()=>this[_0x565a92(0x94)]()),_0x108c36;}[_0xcf86be(0xdd)](){const _0x5362dd=_0xcf86be,_0x17e2d3=new _0x61a86b(this[_0x5362dd(0xec)]);return _0x17e2d3[_0x5362dd(0xdb)]=_0x38bc46(this[_0x5362dd(0xec)],_0x5362dd(0xd0)),_0x17e2d3[_0x5362dd(0xa1)]=_0xb861f7,_0x17e2d3[_0x5362dd(0x101)]=!0x0,_0x17e2d3[_0x5362dd(0x105)]({'attributes':{'class':_0x5362dd(0xfc)}}),_0x17e2d3[_0x5362dd(0xc1)](_0x5362dd(0x98))['to'](this[_0x5362dd(0xbc)],_0x5362dd(0x8d),_0x39506e=>!_0x39506e),_0x17e2d3[_0x5362dd(0xc1)](_0x5362dd(0xf9))['to'](this[_0x5362dd(0xbc)],_0x5362dd(0x103)),_0x17e2d3['on'](_0x5362dd(0xe6),()=>{const _0x22502d=_0x5362dd;this[_0x22502d(0x95)](_0x38bc46(this[_0x22502d(0xec)],_0x22502d(0x92)),this[_0x22502d(0xdf)])[_0x22502d(0xc4)](()=>{const _0xb1cc0d=_0x22502d;this[_0xb1cc0d(0xa6)](_0xb1cc0d(0xd2),this[_0xb1cc0d(0xbc)]['id']);});}),_0x17e2d3;}[_0xcf86be(0x90)](){const _0x162e4c=_0xcf86be,_0x37dbd1=_0x277111(this[_0x162e4c(0xec)],_0x5652b9),_0x2f12d5=_0x37dbd1[_0x162e4c(0xcd)][_0x162e4c(0xb0)],_0x34e092=new _0x16afac(this[_0x162e4c(0xec)]),_0x1a7f37=_0x37dbd1[_0x162e4c(0xa9)];_0xcbc030(_0x37dbd1,()=>this[_0x162e4c(0xbd)][_0x162e4c(0xd9)](_0x3b7ce2=>_0x3b7ce2[_0x162e4c(0xf9)])),_0x37dbd1[_0x162e4c(0x105)]({'attributes':{'class':[_0x1a7f37['if'](_0x162e4c(0xf9),_0x162e4c(0xd6),_0x218784=>!_0x218784)]}});const _0x4be71f=(_0xc8183,_0x27e424=-0x1)=>{const _0x3d3a57=_0x162e4c,_0x1eb0df=new _0x1c2afd(this[_0x3d3a57(0xec)]);_0x1eb0df[_0x3d3a57(0xb0)][_0x3d3a57(0x8e)](_0xc8183);const _0x391c32=_0x27e424>-0x1?_0x27e424:_0x34e092[_0x3d3a57(0xbd)][_0x3d3a57(0xb8)];_0x34e092[_0x3d3a57(0xbd)][_0x3d3a57(0x8e)](_0x1eb0df,_0x391c32);const _0x11ff5a=Array[_0x3d3a57(0x9b)](this[_0x3d3a57(0xbd)]);_0x37dbd1[_0x3d3a57(0xaa)](_0x3d3a57(0x98),_0x3d3a57(0xf9)),_0x37dbd1[_0x3d3a57(0xc1)](_0x3d3a57(0x98))[_0x3d3a57(0xf3)](_0x11ff5a,_0x3d3a57(0x98),(..._0x1b0f13)=>_0x1b0f13[_0x3d3a57(0xdc)](_0x5def3c=>_0x5def3c)),_0x37dbd1[_0x3d3a57(0xc1)](_0x3d3a57(0xf9))[_0x3d3a57(0xf3)](_0x11ff5a,_0x3d3a57(0xf9),(..._0x3d123b)=>_0x3d123b[_0x3d3a57(0xdc)](_0x3bbde2=>_0x3bbde2));};_0x37dbd1[_0x162e4c(0xb9)]='sw',_0x37dbd1[_0x162e4c(0xee)][_0x162e4c(0x102)]({'label':_0x38bc46(this[_0x162e4c(0xec)],_0x162e4c(0xac)),'icon':_0x4191fa});for(const _0x15141b of this[_0x162e4c(0xbd)])_0x4be71f(_0x15141b);return _0x2f12d5[_0x162e4c(0x8e)](_0x34e092),_0x37dbd1[_0x162e4c(0xd7)](this[_0x162e4c(0xbd)],_0x162e4c(0x8e),(_0xac267a,_0x197c80,_0x516e3f)=>{_0x4be71f(_0x197c80,_0x516e3f);}),_0x37dbd1[_0x162e4c(0xd7)](this[_0x162e4c(0xbd)],_0x162e4c(0xd5),(_0x40a1a5,_0x21a3a8,_0xca58b2)=>{const _0x536363=_0x162e4c;_0x34e092[_0x536363(0xbd)][_0x536363(0xd5)](_0xca58b2);}),_0x37dbd1;}[_0xcf86be(0xb3)](_0x40ce27,_0x159cf4){const _0x110816=_0xcf86be,_0x26cd3e=_0x40ce27&&_0x40ce27[_0x110816(0xdf)];_0x26cd3e&&(this[_0x110816(0xd7)](_0x26cd3e,_0x110816(0xc2),()=>this[_0x110816(0xa3)]=_0x159cf4),this[_0x110816(0xd7)](_0x26cd3e,_0x110816(0xa0),()=>this[_0x110816(0xa3)]=_0x159cf4),this[_0x110816(0xd7)](_0x26cd3e,_0x110816(0x9f),()=>this[_0x110816(0xa3)]=null),this[_0x110816(0xd7)](_0x26cd3e,_0x110816(0xf8),()=>this[_0x110816(0xa3)]=null));}[_0xcf86be(0xf0)](){const _0x581386=_0xcf86be,_0x50c536=super[_0x581386(0xf0)]();return _0x50c536[_0x581386(0xc1)](_0x581386(0xf1))['to'](this),_0x50c536;}[_0xcf86be(0x93)](){const _0x2e31ee=_0xcf86be;super[_0x2e31ee(0x93)](),this[_0x2e31ee(0xb3)](this[_0x2e31ee(0xbb)],_0x2e31ee(0xba)),this[_0x2e31ee(0xb3)](this[_0x2e31ee(0x9d)],_0x2e31ee(0xd5));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31579e=_0x4ab8;(function(_0x4dd615,_0x3d3ff5){var _0x3bcdf8=_0x4ab8,_0x4918e4=_0x4dd615();while(!![]){try{var _0xdaa605=-parseInt(_0x3bcdf8(0x125))/0x1+parseInt(_0x3bcdf8(0x118))/0x2*(parseInt(_0x3bcdf8(0x121))/0x3)+-parseInt(_0x3bcdf8(0x11e))/0x4*(-parseInt(_0x3bcdf8(0x11d))/0x5)+parseInt(_0x3bcdf8(0x117))/0x6*(-parseInt(_0x3bcdf8(0x11a))/0x7)+parseInt(_0x3bcdf8(0x122))/0x8*(parseInt(_0x3bcdf8(0x11f))/0x9)+parseInt(_0x3bcdf8(0x123))/0xa*(-parseInt(_0x3bcdf8(0x120))/0xb)+-parseInt(_0x3bcdf8(0x124))/0xc*(parseInt(_0x3bcdf8(0x126))/0xd);if(_0xdaa605===_0x3d3ff5)break;else _0x4918e4['push'](_0x4918e4['shift']());}catch(_0x508baa){_0x4918e4['push'](_0x4918e4['shift']());}}}(_0x5e93,0xdbc7e));import{Plugin as _0x57b4a5}from'ckeditor5/src/core.js';import{CommentsRepository as _0x3cd714}from'./comments/commentsrepository.js';import{CommentsEditing as _0x38522d}from'./comments/commentsediting.js';import{CommentsUI as _0x3f2f72}from'./comments/commentsui.js';import{CommentsOnly as _0xa246f2}from'./commentsonly.js';import{WideSidebar as _0x7d126e}from'./annotations/widesidebar.js';import{NarrowSidebar as _0x518c7e}from'./annotations/narrowsidebar.js';import{InlineAnnotations as _0x235b15}from'./annotations/inlineannotations.js';import{CommentsArchiveUI as _0x28e2f8}from'./comments/commentsarchiveui.js';import{CommentsArchive as _0x13421a}from'./comments/commentsarchive.js';function _0x4ab8(_0x439ba0,_0x27cbbf){var _0x5e9392=_0x5e93();return _0x4ab8=function(_0x4ab83b,_0x3a288a){_0x4ab83b=_0x4ab83b-0x116;var _0x1ad3f9=_0x5e9392[_0x4ab83b];return _0x1ad3f9;},_0x4ab8(_0x439ba0,_0x27cbbf);}function _0x5e93(){var _0x3ac46b=['26751jNZArF','10995608yajuam','180CVfmYq','9612IOtpHw','848783oKIlis','3185DgyxNY','isPremiumPlugin','Comments','24XLsUdb','10swOnZv','isOfficialPlugin','412916KnuAbO','pluginName','requires','252430YlcCct','116YhEChR','9sJHkUa','428956zKxjlu'];_0x5e93=function(){return _0x3ac46b;};return _0x5e93();}export class Comments extends _0x57b4a5{static get[_0x31579e(0x11c)](){return[_0x3cd714,_0x38522d,_0x3f2f72,_0x13421a,_0x28e2f8,_0xa246f2,_0x7d126e,_0x518c7e,_0x235b15];}static get[_0x31579e(0x11b)](){var _0x3aff81=_0x31579e;return _0x3aff81(0x116);}static get[_0x31579e(0x119)](){return!0x0;}static get[_0x31579e(0x127)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x775170=_0x450a;(function(_0x1fcb6a,_0x50ba7d){const _0x169b0d=_0x450a,_0x236cba=_0x1fcb6a();while(!![]){try{const _0x40aca9=-parseInt(_0x169b0d(0x84))/0x1*(-parseInt(_0x169b0d(0x89))/0x2)+-parseInt(_0x169b0d(0xa0))/0x3*(-parseInt(_0x169b0d(0x7d))/0x4)+-parseInt(_0x169b0d(0x88))/0x5+parseInt(_0x169b0d(0x9b))/0x6*(-parseInt(_0x169b0d(0x81))/0x7)+-parseInt(_0x169b0d(0x86))/0x8+-parseInt(_0x169b0d(0x99))/0x9+-parseInt(_0x169b0d(0x8b))/0xa*(-parseInt(_0x169b0d(0x74))/0xb);if(_0x40aca9===_0x50ba7d)break;else _0x236cba['push'](_0x236cba['shift']());}catch(_0x79c02e){_0x236cba['push'](_0x236cba['shift']());}}}(_0x5503,0x7f9a1));import{Plugin as _0x573f97}from'ckeditor5/src/core.js';import{CommentsEditing as _0x1e83dd}from'./comments/commentsediting.js';export class CommentsOnly extends _0x573f97{static get[_0x775170(0x8e)](){const _0x5b5bb2=_0x775170;return _0x5b5bb2(0xa1);}static get[_0x775170(0x85)](){return!0x0;}static get[_0x775170(0x91)](){return!0x0;}static get[_0x775170(0x95)](){return[_0x1e83dd];}constructor(_0x386804){const _0xc20125=_0x775170;super(_0x386804),this[_0xc20125(0x77)](_0xc20125(0x87),!0x1),this['on'](_0xc20125(0x93),(_0x1034ec,_0x32525c,_0x542d28)=>{const _0x547a87=_0xc20125;_0x542d28?this[_0x547a87(0x9a)]():this[_0x547a87(0x98)]();});}[_0x775170(0x9f)](){const _0x19c0f9=_0x775170;!this[_0x19c0f9(0x87)]&&this[_0x19c0f9(0x96)][_0x19c0f9(0xa2)][_0x19c0f9(0x8f)](_0x19c0f9(0x78))&&(this[_0x19c0f9(0x87)]=!0x0);}[_0x775170(0x9a)](){const _0x4a6fdd=_0x775170;for(const [_0x2183aa,_0x29a971]of this[_0x4a6fdd(0x96)][_0x4a6fdd(0x83)])_0x29a971[_0x4a6fdd(0x8a)]&&_0x4a6fdd(0x76)!==_0x2183aa&&_0x29a971[_0x4a6fdd(0x7e)](_0x4a6fdd(0x94));(this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x92)](_0x4a6fdd(0x8c))&&this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x8f)](_0x4a6fdd(0x8c))[_0x4a6fdd(0x7e)](_0x4a6fdd(0x94)),this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x92)](_0x4a6fdd(0x8d)))&&this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x8f)](_0x4a6fdd(0x8d))[_0x4a6fdd(0x7e)](_0x4a6fdd(0x94));this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x92)](_0x4a6fdd(0xa3))&&this[_0x4a6fdd(0x96)][_0x4a6fdd(0x90)][_0x4a6fdd(0x8f)](_0x4a6fdd(0xa3))[_0x4a6fdd(0x7e)](_0x4a6fdd(0x94));this[_0x4a6fdd(0x96)][_0x4a6fdd(0x83)][_0x4a6fdd(0x8f)](_0x4a6fdd(0x9c))?.[_0x4a6fdd(0x7e)](_0x4a6fdd(0x94));const _0x179728=this[_0x4a6fdd(0x96)][_0x4a6fdd(0x9e)][_0x4a6fdd(0x80)][_0x4a6fdd(0x82)];this[_0x4a6fdd(0x7a)](_0x179728,_0x4a6fdd(0x7c),_0x6365c=>_0x6365c[_0x4a6fdd(0x7f)](),{'priority':_0x4a6fdd(0x7b)}),this[_0x4a6fdd(0x7a)](_0x179728,_0x4a6fdd(0x9d),_0x4aeba8=>_0x4aeba8[_0x4a6fdd(0x7f)](),{'priority':_0x4a6fdd(0x7b)}),this[_0x4a6fdd(0x7a)](_0x179728,_0x4a6fdd(0x75),_0x3829ae=>_0x3829ae[_0x4a6fdd(0x7f)](),{'priority':_0x4a6fdd(0x7b)});}[_0x775170(0x98)](){const _0x20fd16=_0x775170;for(const [_0x576a39,_0x52ebb9]of this[_0x20fd16(0x96)][_0x20fd16(0x83)])_0x52ebb9[_0x20fd16(0x8a)]&&_0x20fd16(0x76)!==_0x576a39&&_0x52ebb9[_0x20fd16(0x97)](_0x20fd16(0x94));this[_0x20fd16(0x96)][_0x20fd16(0x90)][_0x20fd16(0x92)](_0x20fd16(0x8d))&&this[_0x20fd16(0x96)][_0x20fd16(0x90)][_0x20fd16(0x8f)](_0x20fd16(0x8d))[_0x20fd16(0x97)](_0x20fd16(0x94)),this[_0x20fd16(0x96)][_0x20fd16(0x90)][_0x20fd16(0x92)](_0x20fd16(0xa3))&&this[_0x20fd16(0x96)][_0x20fd16(0x90)][_0x20fd16(0x8f)](_0x20fd16(0xa3))[_0x20fd16(0x97)](_0x20fd16(0x94)),this[_0x20fd16(0x96)][_0x20fd16(0x83)][_0x20fd16(0x8f)](_0x20fd16(0x9c))?.[_0x20fd16(0x97)](_0x20fd16(0x94)),this[_0x20fd16(0x79)](this[_0x20fd16(0x96)][_0x20fd16(0x9e)][_0x20fd16(0x80)][_0x20fd16(0x82)]);}}function _0x450a(_0x12ed91,_0x1e632f){const _0x55036c=_0x5503();return _0x450a=function(_0x450a14,_0x479b0f){_0x450a14=_0x450a14-0x74;let _0x3d0cf5=_0x55036c[_0x450a14];return _0x3d0cf5;},_0x450a(_0x12ed91,_0x1e632f);}function _0x5503(){const _0x5ca278=['addCommentThread','set','commentsOnly','stopListening','listenTo','highest','cut','526244LmdRfZ','forceDisabled','stop','view','11648xGvndn','document','commands','31pnzAHk','isOfficialPlugin','7072064CsRLtb','isEnabled','4726830VdJYpY','4286MKsiAt','affectsData','2900wqtZiW','DragDrop','RevisionTracker','pluginName','get','plugins','isPremiumPlugin','has','change:isEnabled','commentsOnlyMode','requires','editor','clearForceDisabled','_disableCommentsOnlyMode','7517907sQJhwS','_enableCommentsOnlyMode','996uWRpWz','editSource','clipboardInput','editing','afterInit','15yTLrRO','CommentsOnly','config','SourceEditing','103906zkeJih','delete'];_0x5503=function(){return _0x5ca278;};return _0x5503();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4ce5a2,_0x2e55bc){var _0x1f074d=_0x5caf,_0x522bb8=_0x4ce5a2();while(!![]){try{var _0x5f244d=parseInt(_0x1f074d(0x119))/0x1*(parseInt(_0x1f074d(0x118))/0x2)+-parseInt(_0x1f074d(0x113))/0x3*(-parseInt(_0x1f074d(0x116))/0x4)+-parseInt(_0x1f074d(0x10f))/0x5+-parseInt(_0x1f074d(0x111))/0x6*(-parseInt(_0x1f074d(0x112))/0x7)+-parseInt(_0x1f074d(0x10e))/0x8+parseInt(_0x1f074d(0x117))/0x9*(-parseInt(_0x1f074d(0x110))/0xa)+parseInt(_0x1f074d(0x114))/0xb*(parseInt(_0x1f074d(0x115))/0xc);if(_0x5f244d===_0x2e55bc)break;else _0x522bb8['push'](_0x522bb8['shift']());}catch(_0x47dc77){_0x522bb8['push'](_0x522bb8['shift']());}}}(_0x166e,0xc255d));export{Comments}from'./comments.js';export{CommentsOnly}from'./commentsonly.js';export{CommentsUI}from'./comments/commentsui.js';function _0x5caf(_0x2852c9,_0x3ae508){var _0x166e33=_0x166e();return _0x5caf=function(_0x5caf0f,_0x3f5637){_0x5caf0f=_0x5caf0f-0x10e;var _0x36ed43=_0x166e33[_0x5caf0f];return _0x36ed43;},_0x5caf(_0x2852c9,_0x3ae508);}export{CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{Annotation}from'./annotations/annotation.js';export{Annotations}from'./annotations/annotations.js';export{AnnotationCollection,bindAnnotationCollections}from'./annotations/annotationcollection.js';export{AnnotationsUIs}from'./annotations/annotationsuis.js';export{EditorAnnotations}from'./annotations/editorannotations.js';export{InlineAnnotations}from'./annotations/inlineannotations.js';export{Sidebar}from'./annotations/sidebar.js';export{WideSidebar}from'./annotations/widesidebar.js';function _0x166e(){var _0x30dd25=['5488448GlhlAQ','6873060uElAEt','20xsTbah','53322NPnwdc','637QhYKJU','489NZqiIx','253tNVgsJ','1083588dEQjaw','20756ButjKa','7154712snWnmr','300twyIPv','4768LEZpnd'];_0x166e=function(){return _0x30dd25;};return _0x166e();}export{NarrowSidebar}from'./annotations/narrowsidebar.js';export{AnnotationView}from'./annotations/view/annotationview.js';export{AnnotationsSidebarItemView}from'./annotations/view/sidebaritemview.js';export{AnnotationsSidebarView}from'./annotations/view/sidebarview.js';export{BaseCommentView}from'./comments/ui/view/basecommentview.js';export{BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{CommentsListView}from'./comments/ui/view/commentslistview.js';export{CommentView}from'./comments/ui/view/commentview.js';export{CommentThreadView}from'./comments/ui/view/commentthreadview.js';export{CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';export{AddCommentThreadCommand}from'./comments/addcommentthreadcommand.js';export{CommentsArchive}from'./comments/commentsarchive.js';export{CommentsArchiveUI}from'./comments/commentsarchiveui.js';export{CommentsEditing}from'./comments/commentsediting.js';export{AnnotationCounterButtonView}from'./annotations/view/annotationcounterbuttonview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5b88c5,_0xfd617d,_0x5f2f81){const t=_0x5b88c5['t'];switch(_0xfd617d){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'},_0x5f2f81);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'},_0x5f2f81);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'},_0x5f2f81);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'},_0x5f2f81);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5f2f81);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'},_0x5f2f81);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'},_0x5f2f81);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'},_0x5f2f81);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 _0xca92(_0x3675f1,_0x52dcc7){const _0x21d286=_0x21d2();return _0xca92=function(_0xca92b7,_0x591df9){_0xca92b7=_0xca92b7-0x18a;let _0x1589ae=_0x21d286[_0xca92b7];return _0x1589ae;},_0xca92(_0x3675f1,_0x52dcc7);}(function(_0x194517,_0x471f51){const _0x189951=_0xca92,_0x1cadfc=_0x194517();while(!![]){try{const _0x3ad297=-parseInt(_0x189951(0x198))/0x1+-parseInt(_0x189951(0x190))/0x2+-parseInt(_0x189951(0x197))/0x3*(-parseInt(_0x189951(0x18d))/0x4)+parseInt(_0x189951(0x196))/0x5*(parseInt(_0x189951(0x19a))/0x6)+-parseInt(_0x189951(0x18c))/0x7+-parseInt(_0x189951(0x199))/0x8*(parseInt(_0x189951(0x18b))/0x9)+parseInt(_0x189951(0x191))/0xa;if(_0x3ad297===_0x471f51)break;else _0x1cadfc['push'](_0x1cadfc['shift']());}catch(_0x57be23){_0x1cadfc['push'](_0x1cadfc['shift']());}}}(_0x21d2,0x3af7c));import{throttle as _0x10b6ee}from'es-toolkit/compat';function _0x21d2(){const _0x233a85=['type','characterData','attributeName','cancel','2055tBxXTS','1686xVAINO','416323rmmeQD','63568uqReGd','4506JOwXvd','attributes','class','observe','162dgyfKa','2399803NyPQDp','2312dlYKEp','disconnect','childList','737676byIUUJ','8790530jFWRIW'];_0x21d2=function(){return _0x233a85;};return _0x21d2();}export function createMutationObserver(_0xa205ae){const _0x14aa27=_0x10b6ee(_0xa205ae,0x1e),_0x2adcb6=new MutationObserver(_0x88fd26=>{const _0x31286b=_0xca92;for(const _0x265288 of _0x88fd26)(_0x31286b(0x19b)==_0x265288[_0x31286b(0x192)]&&_0x31286b(0x19c)==_0x265288[_0x31286b(0x194)]||_0x31286b(0x18f)==_0x265288[_0x31286b(0x192)]||_0x31286b(0x193)==_0x265288[_0x31286b(0x192)])&&_0x14aa27();});return{'attach'(_0x2d02a0){const _0x488fc=_0xca92;_0x2adcb6[_0x488fc(0x18a)](_0x2d02a0,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x2d922a=_0xca92;_0x2adcb6[_0x2d922a(0x18e)](),_0x14aa27[_0x2d922a(0x195)]();}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5eca72,_0x36fd01){const _0x4c7ec5=_0x1dd0,_0x5f0d89=_0x5eca72();while(!![]){try{const _0x229d32=-parseInt(_0x4c7ec5(0xae))/0x1+parseInt(_0x4c7ec5(0xaa))/0x2*(parseInt(_0x4c7ec5(0xa9))/0x3)+parseInt(_0x4c7ec5(0xab))/0x4*(parseInt(_0x4c7ec5(0xad))/0x5)+-parseInt(_0x4c7ec5(0xa5))/0x6+-parseInt(_0x4c7ec5(0xaf))/0x7+-parseInt(_0x4c7ec5(0xa6))/0x8+parseInt(_0x4c7ec5(0xac))/0x9*(parseInt(_0x4c7ec5(0xa7))/0xa);if(_0x229d32===_0x36fd01)break;else _0x5f0d89['push'](_0x5f0d89['shift']());}catch(_0x6cc95){_0x5f0d89['push'](_0x5f0d89['shift']());}}}(_0x3215,0x9e1c8));function _0x1dd0(_0x2b532e,_0x4e69dd){const _0x321523=_0x3215();return _0x1dd0=function(_0x1dd0f1,_0x1c102b){_0x1dd0f1=_0x1dd0f1-0xa5;let _0x1332bb=_0x321523[_0x1dd0f1];return _0x1332bb;},_0x1dd0(_0x2b532e,_0x4e69dd);}function _0x3215(){const _0x383f66=['373850FnRUJe','split','12CFDLuI','434068nepjWe','1272bCNYMv','405uZNTMK','19040QfcMmn','949197AXRkxY','4481932PHMfnR','1610118rOMlyU','10047640MEYyVj'];_0x3215=function(){return _0x383f66;};return _0x3215();}export function splitMarkerName(_0x3eaac7){const _0x2ec541=_0x1dd0,_0x4c9b35=_0x3eaac7[_0x2ec541(0xa8)](':');return{'group':_0x4c9b35[0x0],'id':_0x4c9b35[0x1],'part':_0x4c9b35[0x2]};}
|