@ckeditor/ckeditor5-comments 45.2.1-alpha.1 → 45.2.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5157(_0x4fb621,_0x45bb6c){const _0x58bddc=_0x58bd();return _0x5157=function(_0x515706,_0x98eae2){_0x515706=_0x515706-0x128;let _0x37e917=_0x58bddc[_0x515706];return _0x37e917;},_0x5157(_0x4fb621,_0x45bb6c);}const _0x5558a9=_0x5157;(function(_0x56b977,_0xc64da0){const _0x31dbe3=_0x5157,_0x2cd8e2=_0x56b977();while(!![]){try{const _0x1c1f78=parseInt(_0x31dbe3(0x179))/0x1+parseInt(_0x31dbe3(0x177))/0x2*(parseInt(_0x31dbe3(0x130))/0x3)+parseInt(_0x31dbe3(0x14f))/0x4*(parseInt(_0x31dbe3(0x14c))/0x5)+-parseInt(_0x31dbe3(0x128))/0x6*(parseInt(_0x31dbe3(0x145))/0x7)+parseInt(_0x31dbe3(0x151))/0x8*(-parseInt(_0x31dbe3(0x12d))/0x9)+-parseInt(_0x31dbe3(0x17f))/0xa*(-parseInt(_0x31dbe3(0x12c))/0xb)+-parseInt(_0x31dbe3(0x184))/0xc*(parseInt(_0x31dbe3(0x16e))/0xd);if(_0x1c1f78===_0xc64da0)break;else _0x2cd8e2['push'](_0x2cd8e2['shift']());}catch(_0x409643){_0x2cd8e2['push'](_0x2cd8e2['shift']());}}}(_0x58bd,0x3d086));import{View as _0x5ac260,FocusCycler as _0x5c5ea4}from'ckeditor5/src/ui.js';import{diff as _0x4d1e4e,Collection as _0x68ecdf,FocusTracker as _0x348e22,KeystrokeHandler as _0xcdca10}from'ckeditor5/src/utils.js';function _0x58bd(){const _0x347c3b=['ck-hidden','forEach','_handleRemoveCommentModel','_collapsedCommentsView','collapse','_shouldCollapse','Marked\x20as\x20resolved','change:isResolved','8876DXsmMG','equal','expand','arrowup','hasDirtyComment','focusTracker','add','5FLvOca','ck-thread__comments','_updateHasDirtyComment','968596LMFTzT','formatDateTime','8MZRynz','change:hasDirtyComment','refreshVisibleViews','bindTemplate','target','editorDestroyed','_setupKeyboardNavigation','resolvedCommentView','resolveCommentThread','listenTo','from','added','render','resolved','weight','maxCommentCharsWhenCollapsed','editorConfig','editorReady','focusCycler','resolvedBy','get','arrowdown','authoredAt','isActive','delete','removed','Thread\x20comments','focus','map','13MYWDkG','set','_calculatePosition','setTemplate','maxCommentsWhenCollapsed','keystrokes','_model','change','count','366334pAzXkd','includes','338886sKQhVN','some','_handleNewCommentModel','_rearrangeExpand','commentViews','visibleViews','2759990EqTlxu','insert','_handleInfoComment','element','removeComment','3361692BVoVly','length','updateComment','isEditMode','commentUpdated','delegate','CommentView','maxThreadTotalWeight','474gFQWTp','destroy','change:isActive','focusLast','11ABiNnj','3689082inKUda','createCollection','locale','3TJiKRG','_findOptimalIndex','comments','change:isEditMode','remove','bind','_config','stopListening','focusFirst','reverse','_rearrangeCollapse','resolvedAt','viewUid'];_0x58bd=function(){return _0x347c3b;};return _0x58bd();}import{getTranslation as _0x5b8753}from'../../../utils/common-translations.js';import _0x2656c9 from'./collapsedcommentsview.js';export default class te extends _0x5ac260{[_0x5558a9(0x17d)];[_0x5558a9(0x158)];[_0x5558a9(0x14a)];[_0x5558a9(0x173)];[_0x5558a9(0x163)];[_0x5558a9(0x174)];[_0x5558a9(0x136)];[_0x5558a9(0x140)];constructor(_0x1f717e,_0x317e5b,_0x1c4e57){const _0x455473=_0x5558a9;super(_0x1f717e);const _0x31bc42=this[_0x455473(0x154)];this[_0x455473(0x16f)](_0x455473(0x149),!0x1),this[_0x455473(0x16f)](_0x455473(0x185),_0x317e5b[_0x455473(0x132)][_0x455473(0x185)]),this[_0x455473(0x16f)](_0x455473(0x168),!0x1),this[_0x455473(0x174)]=_0x317e5b,this[_0x455473(0x136)]=_0x1c4e57,this[_0x455473(0x17d)]=this[_0x455473(0x12e)](),this[_0x455473(0x17e)]=this[_0x455473(0x12e)](),this[_0x455473(0x158)]=null,this[_0x455473(0x14a)]=new _0x348e22(),this[_0x455473(0x173)]=new _0xcdca10(),this[_0x455473(0x163)]=new _0x5c5ea4({'focusables':this[_0x455473(0x17d)],'focusTracker':this[_0x455473(0x14a)],'keystrokeHandler':this[_0x455473(0x173)],'keystrokeHandlerOptions':{'filter':_0x513ef4=>this[_0x455473(0x17d)][_0x455473(0x16d)](_0x2f7ec6=>_0x2f7ec6[_0x455473(0x182)])[_0x455473(0x178)](_0x513ef4[_0x455473(0x155)])},'actions':{'focusPrevious':_0x455473(0x148),'focusNext':_0x455473(0x166)}}),this[_0x455473(0x140)]=new _0x2656c9(_0x1f717e),this[_0x455473(0x140)][_0x455473(0x135)](_0x455473(0x176))['to'](this,_0x455473(0x185),_0x174cf6=>_0x174cf6-this[_0x455473(0x136)][_0x455473(0x172)]);for(const _0x7a264f of _0x317e5b[_0x455473(0x132)])this[_0x455473(0x17b)](_0x7a264f);this[_0x455473(0x181)](),this[_0x455473(0x15a)](_0x317e5b[_0x455473(0x132)],_0x455473(0x14b),(_0x513afe,_0x43209d)=>{const _0x399b57=_0x455473,_0x25ddb5=this[_0x399b57(0x170)](_0x43209d);this[_0x399b57(0x185)]++,this[_0x399b57(0x17b)](_0x43209d,_0x25ddb5),this[_0x399b57(0x153)]();}),this[_0x455473(0x15a)](_0x317e5b[_0x455473(0x132)],_0x455473(0x134),(_0x57bc05,_0x31f545)=>{const _0x3cce1d=_0x455473;this[_0x3cce1d(0x185)]--,this[_0x3cce1d(0x13f)](_0x31f545),this[_0x3cce1d(0x153)]();}),this[_0x455473(0x15a)](_0x317e5b,_0x455473(0x188),()=>this[_0x455473(0x153)]()),this[_0x455473(0x15a)](_0x317e5b,_0x455473(0x144),()=>this[_0x455473(0x181)]()),this['on'](_0x455473(0x12a),()=>this[_0x455473(0x153)]()),this['on'](_0x455473(0x152),()=>this[_0x455473(0x153)]()),this[_0x455473(0x171)]({'tag':'ul','attributes':{'class':[_0x455473(0x14d),_0x31bc42['if'](_0x455473(0x185),_0x455473(0x13d),_0x108cea=>!_0x108cea)],'aria-label':_0x5b8753(_0x1f717e,_0x455473(0x16b))},'children':this[_0x455473(0x17e)]});}get[_0x5558a9(0x142)](){const _0x3f329c=_0x5558a9;return this[_0x3f329c(0x174)][_0x3f329c(0x15f)]>this[_0x3f329c(0x136)][_0x3f329c(0x18b)]&&!this[_0x3f329c(0x168)]&&!this[_0x3f329c(0x149)];}[_0x5558a9(0x15d)](){const _0x28e878=_0x5558a9;super[_0x28e878(0x15d)](),this[_0x28e878(0x153)](),this[_0x28e878(0x157)]();}[_0x5558a9(0x16c)](_0x41f3fc){const _0xd27a39=_0x5558a9;-0x1===_0x41f3fc?this[_0xd27a39(0x163)][_0xd27a39(0x12b)]():this[_0xd27a39(0x163)][_0xd27a39(0x138)]();}[_0x5558a9(0x129)](){const _0x10ca75=_0x5558a9;this[_0x10ca75(0x140)][_0x10ca75(0x129)]();for(const _0x57aa70 of this[_0x10ca75(0x17d)])_0x57aa70[_0x10ca75(0x129)]();super[_0x10ca75(0x129)]();}[_0x5558a9(0x153)](){const _0x12ee17=_0x5558a9;this[_0x12ee17(0x142)]?this[_0x12ee17(0x13a)]():this[_0x12ee17(0x17c)]();}[_0x5558a9(0x17b)](_0x2480c3,_0x228f93){const _0x121ca4=_0x5558a9,_0x26e11d=new this[(_0x121ca4(0x136))][(_0x121ca4(0x18a))](this[_0x121ca4(0x12f)],_0x2480c3,{'maxCommentCharsWhenCollapsed':this[_0x121ca4(0x136)][_0x121ca4(0x160)],'formatDateTime':this[_0x121ca4(0x136)][_0x121ca4(0x150)],'editorConfig':this[_0x121ca4(0x136)][_0x121ca4(0x161)]});_0x26e11d[_0x121ca4(0x13c)]=_0x2480c3['id'],_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x183))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x186))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x159))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x162))['to'](this),_0x26e11d[_0x121ca4(0x189)](_0x121ca4(0x156))['to'](this),this[_0x121ca4(0x15a)](_0x26e11d,_0x121ca4(0x133),()=>this[_0x121ca4(0x14e)]()),this[_0x121ca4(0x17d)][_0x121ca4(0x14b)](_0x26e11d,_0x228f93);}[_0x5558a9(0x170)](_0xb389d1){const _0x4c4792=_0x5558a9,_0x531677=this[_0x4c4792(0x174)][_0x4c4792(0x131)](_0xb389d1);return this[_0x4c4792(0x158)]?this[_0x4c4792(0x158)][_0x4c4792(0x167)]>_0xb389d1[_0x4c4792(0x167)]?_0x531677-0x1:_0x531677:_0x531677-0x1;}[_0x5558a9(0x181)](){const _0x4a97af=_0x5558a9;if(this[_0x4a97af(0x174)][_0x4a97af(0x164)]&&this[_0x4a97af(0x174)][_0x4a97af(0x13b)]){const _0x5787fc={'id':_0x4a97af(0x15e),'author':this[_0x4a97af(0x174)][_0x4a97af(0x164)],'authoredAt':this[_0x4a97af(0x174)][_0x4a97af(0x13b)],'content':_0x5b8753(this[_0x4a97af(0x12f)],_0x4a97af(0x143)),'attributes':{}};this[_0x4a97af(0x158)]=new this[(_0x4a97af(0x136))][(_0x4a97af(0x18a))](this[_0x4a97af(0x12f)],_0x5787fc,{'maxCommentCharsWhenCollapsed':this[_0x4a97af(0x136)][_0x4a97af(0x160)],'formatDateTime':this[_0x4a97af(0x136)][_0x4a97af(0x150)],'editorConfig':this[_0x4a97af(0x136)][_0x4a97af(0x161)],'isSystemComment':!0x0}),this[_0x4a97af(0x17d)][_0x4a97af(0x14b)](this[_0x4a97af(0x158)],this[_0x4a97af(0x174)][_0x4a97af(0x131)](_0x5787fc));}else this[_0x4a97af(0x158)]&&(this[_0x4a97af(0x17d)][_0x4a97af(0x134)](this[_0x4a97af(0x158)]),this[_0x4a97af(0x158)][_0x4a97af(0x129)](),this[_0x4a97af(0x158)]=null);this[_0x4a97af(0x153)]();}[_0x5558a9(0x13f)](_0x435736){const _0x2db1dc=_0x5558a9,_0x5adff0=this[_0x2db1dc(0x17d)][_0x2db1dc(0x134)](_0x435736['id']);this[_0x2db1dc(0x137)](_0x5adff0),_0x5adff0[_0x2db1dc(0x187)]&&this[_0x2db1dc(0x14e)](),_0x5adff0[_0x2db1dc(0x129)]();}[_0x5558a9(0x14e)](){const _0x8efcef=_0x5558a9;this[_0x8efcef(0x149)]=Array[_0x8efcef(0x15b)](this[_0x8efcef(0x17d)])[_0x8efcef(0x17a)](_0x5b71c3=>_0x5b71c3[_0x8efcef(0x187)]);}[_0x5558a9(0x13a)](){const _0x4721a0=_0x5558a9,_0x5a9082=function(_0x3db8fa){const _0x41245a=_0x5157,_0x341187=new _0x68ecdf();for(const _0x2db8cf of _0x3db8fa)_0x341187[_0x41245a(0x14b)](_0x2db8cf);return _0x341187;}(this[_0x4721a0(0x17d)]),_0x47e8bc=this[_0x4721a0(0x140)][_0x4721a0(0x176)];for(let _0x37d2b8=0x1;_0x37d2b8<=_0x47e8bc;_0x37d2b8++)_0x5a9082[_0x4721a0(0x134)](0x1);for(const _0x3f1c78 of _0x5a9082)_0x3f1c78[_0x4721a0(0x141)]();_0x47e8bc>0x0&&_0x5a9082[_0x4721a0(0x14b)](this[_0x4721a0(0x140)],0x1),ns(_0x4d1e4e(Array[_0x4721a0(0x15b)](this[_0x4721a0(0x17e)]),Array[_0x4721a0(0x15b)](_0x5a9082)),this[_0x4721a0(0x17e)],_0x5a9082);}[_0x5558a9(0x17c)](){const _0x4d464b=_0x5558a9;ns(_0x4d1e4e(Array[_0x4d464b(0x15b)](this[_0x4d464b(0x17e)]),Array[_0x4d464b(0x15b)](this[_0x4d464b(0x17d)])),this[_0x4d464b(0x17e)],this[_0x4d464b(0x17d)]);for(const _0x33049b of this[_0x4d464b(0x17e)])_0x33049b[_0x4d464b(0x147)]();}[_0x5558a9(0x157)](){const _0x572fcd=_0x5558a9;this[_0x572fcd(0x17d)][_0x572fcd(0x13e)](_0x20f401=>{const _0x173fe0=_0x572fcd;this[_0x173fe0(0x14a)][_0x173fe0(0x14b)](_0x20f401[_0x173fe0(0x182)]),this[_0x173fe0(0x173)][_0x173fe0(0x15a)](_0x20f401[_0x173fe0(0x182)]);}),this[_0x572fcd(0x17d)]['on'](_0x572fcd(0x175),(_0x12aa18,_0x5998c5)=>{const _0x5edb43=_0x572fcd;for(const _0x1febcf of _0x5998c5[_0x5edb43(0x16a)])this[_0x5edb43(0x14a)][_0x5edb43(0x134)](_0x1febcf[_0x5edb43(0x182)]),this[_0x5edb43(0x173)][_0x5edb43(0x137)](_0x1febcf[_0x5edb43(0x182)]);for(const _0x55f5b6 of Array[_0x5edb43(0x15b)](_0x5998c5[_0x5edb43(0x15c)])[_0x5edb43(0x139)]())this[_0x5edb43(0x14a)][_0x5edb43(0x14b)](_0x55f5b6[_0x5edb43(0x182)]),this[_0x5edb43(0x173)][_0x5edb43(0x15a)](_0x55f5b6[_0x5edb43(0x182)]);});}}function ns(_0x1a1c67,_0x14d7a4,_0x4810ad){const _0x4598d3=_0x5558a9;let _0x1e68a6=0x0;for(const _0x5ba3c7 of _0x1a1c67)switch(_0x5ba3c7){case _0x4598d3(0x180):_0x14d7a4[_0x4598d3(0x14b)](_0x4810ad[_0x4598d3(0x165)](_0x1e68a6),_0x1e68a6),_0x1e68a6++;break;case _0x4598d3(0x169):_0x14d7a4[_0x4598d3(0x134)](_0x1e68a6);break;case _0x4598d3(0x146):_0x1e68a6++;}}
|
|
23
|
+
function _0x4a79(_0x3d7573,_0x2420ab){const _0x32d470=_0x32d4();return _0x4a79=function(_0x4a79e0,_0x5f1d09){_0x4a79e0=_0x4a79e0-0x176;let _0x383880=_0x32d470[_0x4a79e0];return _0x383880;},_0x4a79(_0x3d7573,_0x2420ab);}const _0x3bed91=_0x4a79;(function(_0x2d5b3b,_0x1db004){const _0x2dbdec=_0x4a79,_0x2705fe=_0x2d5b3b();while(!![]){try{const _0x5c6f1a=-parseInt(_0x2dbdec(0x185))/0x1*(-parseInt(_0x2dbdec(0x1d4))/0x2)+-parseInt(_0x2dbdec(0x17e))/0x3+-parseInt(_0x2dbdec(0x182))/0x4+parseInt(_0x2dbdec(0x18f))/0x5*(parseInt(_0x2dbdec(0x1d3))/0x6)+parseInt(_0x2dbdec(0x181))/0x7+-parseInt(_0x2dbdec(0x1a2))/0x8*(parseInt(_0x2dbdec(0x17c))/0x9)+parseInt(_0x2dbdec(0x188))/0xa;if(_0x5c6f1a===_0x1db004)break;else _0x2705fe['push'](_0x2705fe['shift']());}catch(_0x121243){_0x2705fe['push'](_0x2705fe['shift']());}}}(_0x32d4,0x3e8f0));import{View as _0x2238ec,FocusCycler as _0x2abff0}from'ckeditor5/src/ui.js';import{diff as _0x41c1b2,Collection as _0xbbcd6,FocusTracker as _0x1d3258,KeystrokeHandler as _0x1f42f3}from'ckeditor5/src/utils.js';import{getTranslation as _0x3168d5}from'../../../utils/common-translations.js';import _0xee7460 from'./collapsedcommentsview.js';export default class te extends _0x2238ec{[_0x3bed91(0x177)];[_0x3bed91(0x190)];[_0x3bed91(0x1ab)];[_0x3bed91(0x1c1)];[_0x3bed91(0x178)];[_0x3bed91(0x1a5)];[_0x3bed91(0x18c)];[_0x3bed91(0x18b)];constructor(_0x2d8840,_0x264daf,_0x195846){const _0x5ccaf8=_0x3bed91;super(_0x2d8840);const _0x23d484=this[_0x5ccaf8(0x184)];this[_0x5ccaf8(0x1a8)](_0x5ccaf8(0x1b0),!0x1),this[_0x5ccaf8(0x1a8)](_0x5ccaf8(0x187),_0x264daf[_0x5ccaf8(0x1d0)][_0x5ccaf8(0x187)]),this[_0x5ccaf8(0x1a8)](_0x5ccaf8(0x1be),!0x1),this[_0x5ccaf8(0x1a5)]=_0x264daf,this[_0x5ccaf8(0x18c)]=_0x195846,this[_0x5ccaf8(0x177)]=this[_0x5ccaf8(0x1b3)](),this[_0x5ccaf8(0x1c5)]=this[_0x5ccaf8(0x1b3)](),this[_0x5ccaf8(0x190)]=null,this[_0x5ccaf8(0x1ab)]=new _0x1d3258(),this[_0x5ccaf8(0x1c1)]=new _0x1f42f3(),this[_0x5ccaf8(0x178)]=new _0x2abff0({'focusables':this[_0x5ccaf8(0x177)],'focusTracker':this[_0x5ccaf8(0x1ab)],'keystrokeHandler':this[_0x5ccaf8(0x1c1)],'keystrokeHandlerOptions':{'filter':_0x490b0c=>this[_0x5ccaf8(0x177)][_0x5ccaf8(0x17a)](_0x34c8b0=>_0x34c8b0[_0x5ccaf8(0x19b)])[_0x5ccaf8(0x1a6)](_0x490b0c[_0x5ccaf8(0x176)])},'actions':{'focusPrevious':_0x5ccaf8(0x1a4),'focusNext':_0x5ccaf8(0x17b)}}),this[_0x5ccaf8(0x18b)]=new _0xee7460(_0x2d8840),this[_0x5ccaf8(0x18b)][_0x5ccaf8(0x1a7)](_0x5ccaf8(0x18e))['to'](this,_0x5ccaf8(0x187),_0x359208=>_0x359208-this[_0x5ccaf8(0x18c)][_0x5ccaf8(0x1cd)]);for(const _0x55690e of _0x264daf[_0x5ccaf8(0x1d0)])this[_0x5ccaf8(0x1cf)](_0x55690e);this[_0x5ccaf8(0x1bc)](),this[_0x5ccaf8(0x186)](_0x264daf[_0x5ccaf8(0x1d0)],_0x5ccaf8(0x1d1),(_0xf86cff,_0x897329)=>{const _0x5410da=_0x5ccaf8,_0x255868=this[_0x5410da(0x1ca)](_0x897329);this[_0x5410da(0x187)]++,this[_0x5410da(0x1cf)](_0x897329,_0x255868),this[_0x5410da(0x1b6)]();}),this[_0x5ccaf8(0x186)](_0x264daf[_0x5ccaf8(0x1d0)],_0x5ccaf8(0x1aa),(_0x3e2a5a,_0x54baff)=>{const _0x23e08d=_0x5ccaf8;this[_0x23e08d(0x187)]--,this[_0x23e08d(0x1c9)](_0x54baff),this[_0x23e08d(0x1b6)]();}),this[_0x5ccaf8(0x186)](_0x264daf,_0x5ccaf8(0x19f),()=>this[_0x5ccaf8(0x1b6)]()),this[_0x5ccaf8(0x186)](_0x264daf,_0x5ccaf8(0x1b1),()=>this[_0x5ccaf8(0x1bc)]()),this['on'](_0x5ccaf8(0x1c3),()=>this[_0x5ccaf8(0x1b6)]()),this['on'](_0x5ccaf8(0x1c2),()=>this[_0x5ccaf8(0x1b6)]()),this[_0x5ccaf8(0x183)]({'tag':'ul','attributes':{'class':[_0x5ccaf8(0x1c4),_0x23d484['if'](_0x5ccaf8(0x187),_0x5ccaf8(0x17f),_0x25185d=>!_0x25185d)],'aria-label':_0x3168d5(_0x2d8840,_0x5ccaf8(0x1bd))},'children':this[_0x5ccaf8(0x1c5)]});}get[_0x3bed91(0x1ae)](){const _0x101ba4=_0x3bed91;return this[_0x101ba4(0x1a5)][_0x101ba4(0x180)]>this[_0x101ba4(0x18c)][_0x101ba4(0x1bb)]&&!this[_0x101ba4(0x1be)]&&!this[_0x101ba4(0x1b0)];}[_0x3bed91(0x1b2)](){const _0x485c85=_0x3bed91;super[_0x485c85(0x1b2)](),this[_0x485c85(0x1b6)](),this[_0x485c85(0x1b5)]();}[_0x3bed91(0x18d)](_0x38a91a){const _0x3e15ff=_0x3bed91;-0x1===_0x38a91a?this[_0x3e15ff(0x178)][_0x3e15ff(0x1bf)]():this[_0x3e15ff(0x178)][_0x3e15ff(0x195)]();}[_0x3bed91(0x17d)](){const _0x37b524=_0x3bed91;this[_0x37b524(0x18b)][_0x37b524(0x17d)]();for(const _0x42c6e9 of this[_0x37b524(0x177)])_0x42c6e9[_0x37b524(0x17d)]();super[_0x37b524(0x17d)]();}[_0x3bed91(0x1b6)](){const _0xd5305=_0x3bed91;this[_0xd5305(0x1ae)]?this[_0xd5305(0x196)]():this[_0xd5305(0x1d2)]();}[_0x3bed91(0x1cf)](_0x43a9dc,_0x24384b){const _0x1d16d6=_0x3bed91,_0x2f0d12=new this[(_0x1d16d6(0x18c))][(_0x1d16d6(0x1b9))](this[_0x1d16d6(0x19d)],_0x43a9dc,{'maxCommentCharsWhenCollapsed':this[_0x1d16d6(0x18c)][_0x1d16d6(0x189)],'formatDateTime':this[_0x1d16d6(0x18c)][_0x1d16d6(0x193)],'editorConfig':this[_0x1d16d6(0x18c)][_0x1d16d6(0x198)]});_0x2f0d12[_0x1d16d6(0x1c6)]=_0x43a9dc['id'],_0x2f0d12[_0x1d16d6(0x1af)](_0x1d16d6(0x1ce))['to'](this),_0x2f0d12[_0x1d16d6(0x1af)](_0x1d16d6(0x18a))['to'](this),_0x2f0d12[_0x1d16d6(0x1af)](_0x1d16d6(0x197))['to'](this),_0x2f0d12[_0x1d16d6(0x1af)](_0x1d16d6(0x192))['to'](this),_0x2f0d12[_0x1d16d6(0x1af)](_0x1d16d6(0x1cc))['to'](this),this[_0x1d16d6(0x186)](_0x2f0d12,_0x1d16d6(0x1ba),()=>this[_0x1d16d6(0x1b7)]()),this[_0x1d16d6(0x177)][_0x1d16d6(0x1d1)](_0x2f0d12,_0x24384b);}[_0x3bed91(0x1ca)](_0x815479){const _0x254ff6=_0x3bed91,_0xb47bd8=this[_0x254ff6(0x1a5)][_0x254ff6(0x19e)](_0x815479);return this[_0x254ff6(0x190)]?this[_0x254ff6(0x190)][_0x254ff6(0x19c)]>_0x815479[_0x254ff6(0x19c)]?_0xb47bd8-0x1:_0xb47bd8:_0xb47bd8-0x1;}[_0x3bed91(0x1bc)](){const _0x384456=_0x3bed91;if(this[_0x384456(0x1a5)][_0x384456(0x1d6)]&&this[_0x384456(0x1a5)][_0x384456(0x1c8)]){const _0x38ae04={'id':_0x384456(0x1a1),'author':this[_0x384456(0x1a5)][_0x384456(0x1d6)],'authoredAt':this[_0x384456(0x1a5)][_0x384456(0x1c8)],'content':_0x3168d5(this[_0x384456(0x19d)],_0x384456(0x191)),'attributes':{}};this[_0x384456(0x190)]=new this[(_0x384456(0x18c))][(_0x384456(0x1b9))](this[_0x384456(0x19d)],_0x38ae04,{'maxCommentCharsWhenCollapsed':this[_0x384456(0x18c)][_0x384456(0x189)],'formatDateTime':this[_0x384456(0x18c)][_0x384456(0x193)],'editorConfig':this[_0x384456(0x18c)][_0x384456(0x198)],'isSystemComment':!0x0}),this[_0x384456(0x177)][_0x384456(0x1d1)](this[_0x384456(0x190)],this[_0x384456(0x1a5)][_0x384456(0x19e)](_0x38ae04));}else this[_0x384456(0x190)]&&(this[_0x384456(0x177)][_0x384456(0x1aa)](this[_0x384456(0x190)]),this[_0x384456(0x190)][_0x384456(0x17d)](),this[_0x384456(0x190)]=null);this[_0x384456(0x1b6)]();}[_0x3bed91(0x1c9)](_0x983602){const _0x5e192c=_0x3bed91,_0x4c5419=this[_0x5e192c(0x177)][_0x5e192c(0x1aa)](_0x983602['id']);this[_0x5e192c(0x1c0)](_0x4c5419),_0x4c5419[_0x5e192c(0x1b4)]&&this[_0x5e192c(0x1b7)](),_0x4c5419[_0x5e192c(0x17d)]();}[_0x3bed91(0x1b7)](){const _0x4b5b96=_0x3bed91;this[_0x4b5b96(0x1b0)]=Array[_0x4b5b96(0x1a0)](this[_0x4b5b96(0x177)])[_0x4b5b96(0x19a)](_0x2d7cc5=>_0x2d7cc5[_0x4b5b96(0x1b4)]);}[_0x3bed91(0x196)](){const _0xb878fb=_0x3bed91,_0x640a09=function(_0x53228a){const _0x4d6d54=_0x4a79,_0x5ac6f0=new _0xbbcd6();for(const _0x3f8523 of _0x53228a)_0x5ac6f0[_0x4d6d54(0x1d1)](_0x3f8523);return _0x5ac6f0;}(this[_0xb878fb(0x177)]),_0x1ae908=this[_0xb878fb(0x18b)][_0xb878fb(0x18e)];for(let _0x17fa27=0x1;_0x17fa27<=_0x1ae908;_0x17fa27++)_0x640a09[_0xb878fb(0x1aa)](0x1);for(const _0x5cda70 of _0x640a09)_0x5cda70[_0xb878fb(0x1d5)]();_0x1ae908>0x0&&_0x640a09[_0xb878fb(0x1d1)](this[_0xb878fb(0x18b)],0x1),as(_0x41c1b2(Array[_0xb878fb(0x1a0)](this[_0xb878fb(0x1c5)]),Array[_0xb878fb(0x1a0)](_0x640a09)),this[_0xb878fb(0x1c5)],_0x640a09);}[_0x3bed91(0x1d2)](){const _0x3b6b6f=_0x3bed91;as(_0x41c1b2(Array[_0x3b6b6f(0x1a0)](this[_0x3b6b6f(0x1c5)]),Array[_0x3b6b6f(0x1a0)](this[_0x3b6b6f(0x177)])),this[_0x3b6b6f(0x1c5)],this[_0x3b6b6f(0x177)]);for(const _0x4080ea of this[_0x3b6b6f(0x1c5)])_0x4080ea[_0x3b6b6f(0x1cb)]();}[_0x3bed91(0x1b5)](){const _0x42ee43=_0x3bed91;this[_0x42ee43(0x177)][_0x42ee43(0x1a3)](_0xf8f6b6=>{const _0x2ff599=_0x42ee43;this[_0x2ff599(0x1ab)][_0x2ff599(0x1d1)](_0xf8f6b6[_0x2ff599(0x19b)]),this[_0x2ff599(0x1c1)][_0x2ff599(0x186)](_0xf8f6b6[_0x2ff599(0x19b)]);}),this[_0x42ee43(0x177)]['on'](_0x42ee43(0x194),(_0x17eb66,_0x49e728)=>{const _0xbd2df3=_0x42ee43;for(const _0x18e24a of _0x49e728[_0xbd2df3(0x1a9)])this[_0xbd2df3(0x1ab)][_0xbd2df3(0x1aa)](_0x18e24a[_0xbd2df3(0x19b)]),this[_0xbd2df3(0x1c1)][_0xbd2df3(0x1c0)](_0x18e24a[_0xbd2df3(0x19b)]);for(const _0x46ee61 of Array[_0xbd2df3(0x1a0)](_0x49e728[_0xbd2df3(0x179)])[_0xbd2df3(0x1ac)]())this[_0xbd2df3(0x1ab)][_0xbd2df3(0x1d1)](_0x46ee61[_0xbd2df3(0x19b)]),this[_0xbd2df3(0x1c1)][_0xbd2df3(0x186)](_0x46ee61[_0xbd2df3(0x19b)]);});}}function _0x32d4(){const _0x520855=['change:hasDirtyComment','change:isActive','ck-thread__comments','visibleViews','viewUid','insert','resolvedAt','_handleRemoveCommentModel','_calculatePosition','expand','editorDestroyed','maxCommentsWhenCollapsed','removeComment','_handleNewCommentModel','comments','add','_rearrangeExpand','24UjljjU','552754AEDtTj','collapse','resolvedBy','target','commentViews','focusCycler','added','map','arrowdown','9EdHltL','destroy','478515tGWzAh','ck-hidden','weight','3185630wjKKUr','1793632bniMOZ','setTemplate','bindTemplate','1XwyBzB','listenTo','length','4854450REBUZR','maxCommentCharsWhenCollapsed','updateComment','_collapsedCommentsView','_config','focus','count','50230ycamIX','resolvedCommentView','Marked\x20as\x20resolved','editorReady','formatDateTime','change','focusFirst','_rearrangeCollapse','resolveCommentThread','editorConfig','get','some','element','authoredAt','locale','_findOptimalIndex','commentUpdated','from','resolved','3143544mgHcRX','forEach','arrowup','_model','includes','bind','set','removed','remove','focusTracker','reverse','equal','_shouldCollapse','delegate','hasDirtyComment','change:isResolved','render','createCollection','isEditMode','_setupKeyboardNavigation','refreshVisibleViews','_updateHasDirtyComment','delete','CommentView','change:isEditMode','maxThreadTotalWeight','_handleInfoComment','Thread\x20comments','isActive','focusLast','stopListening','keystrokes'];_0x32d4=function(){return _0x520855;};return _0x32d4();}function as(_0x55cd0d,_0x1db8e6,_0xcc4592){const _0x4f3cf7=_0x3bed91;let _0xea22b3=0x0;for(const _0x5456eb of _0x55cd0d)switch(_0x5456eb){case _0x4f3cf7(0x1c7):_0x1db8e6[_0x4f3cf7(0x1d1)](_0xcc4592[_0x4f3cf7(0x199)](_0xea22b3),_0xea22b3),_0xea22b3++;break;case _0x4f3cf7(0x1b8):_0x1db8e6[_0x4f3cf7(0x1aa)](_0xea22b3);break;case _0x4f3cf7(0x1ad):_0xea22b3++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c9b1e=_0x42b8;(function(_0x4ed499,_0x38465c){const _0x92cb63=_0x42b8,_0x5c7d68=_0x4ed499();while(!![]){try{const _0x56554a=-parseInt(_0x92cb63(0x98))/0x1+parseInt(_0x92cb63(0x95))/0x2+parseInt(_0x92cb63(0x97))/0x3*(-parseInt(_0x92cb63(0x8f))/0x4)+-parseInt(_0x92cb63(0x9b))/0x5+-parseInt(_0x92cb63(0x99))/0x6*(parseInt(_0x92cb63(0x90))/0x7)+-parseInt(_0x92cb63(0x8d))/0x8*(parseInt(_0x92cb63(0x92))/0x9)+-parseInt(_0x92cb63(0x8c))/0xa*(-parseInt(_0x92cb63(0x8e))/0xb);if(_0x56554a===_0x38465c)break;else _0x5c7d68['push'](_0x5c7d68['shift']());}catch(_0xcf47c6){_0x5c7d68['push'](_0x5c7d68['shift']());}}}(_0x2b5d,0x90547));function _0x42b8(_0xbdd184,_0x1fd9af){const _0x2b5d04=_0x2b5d();return _0x42b8=function(_0x42b817,_0xe74f9a){_0x42b817=_0x42b817-0x8b;let _0x30b04b=_0x2b5d04[_0x42b817];return _0x30b04b;},_0x42b8(_0xbdd184,_0x1fd9af);}function _0x2b5d(){const _0x2db7e2=['1677389bcwQik','set','3842271bEMTos','element','THREAD_CONTEXT_LABEL','1452370GlrKWm','span','3CgNBgy','909357SiyHzV','18LfvVfM','setTemplate','3632985qArGIP','focus','bindTemplate','ck-context__value','contextValue','16639910TGcYil','8byaOQP','22HIRFWD','2724952NMQWhR'];_0x2b5d=function(){return _0x2db7e2;};return _0x2b5d();}import{View as _0xbc1047}from'ckeditor5/src/ui.js';import{getTranslation as _0x250391}from'../../../utils/common-translations.js';export default class ls extends _0xbc1047{constructor(_0xc2308f){const _0x553353=_0x42b8;super(_0xc2308f);const _0x558569=this[_0x553353(0x9d)];this[_0x553353(0x91)](_0x553353(0x8b),''),this[_0x553353(0x9a)]({'tag':_0x553353(0x96),'attributes':{'class':['ck',_0x553353(0x9e)],'aria-label':_0x558569['to'](_0x553353(0x8b),_0x1d55b3=>_0x250391(_0xc2308f,_0x553353(0x94),_0x1d55b3)),'tabindex':-0x1},'children':[{'text':_0x558569['to'](_0x553353(0x8b))}]});}[_0x2c9b1e(0x9c)](){const _0x4c84a9=_0x2c9b1e;this[_0x4c84a9(0x93)][_0x4c84a9(0x9c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5db878=_0x3a0c;(function(_0x3ba989,_0x453e28){const _0x2d2fb3=_0x3a0c,_0xa0103c=_0x3ba989();while(!![]){try{const _0x1a3afd=parseInt(_0x2d2fb3(0xc8))/0x1*(-parseInt(_0x2d2fb3(0xf6))/0x2)+-parseInt(_0x2d2fb3(0xcd))/0x3+parseInt(_0x2d2fb3(0xf7))/0x4*(-parseInt(_0x2d2fb3(0xf4))/0x5)+-parseInt(_0x2d2fb3(0xec))/0x6+-parseInt(_0x2d2fb3(0x102))/0x7+-parseInt(_0x2d2fb3(0xf8))/0x8+parseInt(_0x2d2fb3(0xf9))/0x9;if(_0x1a3afd===_0x453e28)break;else _0xa0103c['push'](_0xa0103c['shift']());}catch(_0x430956){_0xa0103c['push'](_0xa0103c['shift']());}}}(_0x290e,0x23de3));function _0x3a0c(_0xa38ba,_0x3cdefb){const _0x290e2f=_0x290e();return _0x3a0c=function(_0x3a0c2d,_0x52cf71){_0x3a0c2d=_0x3a0c2d-0xc6;let _0x382380=_0x290e2f[_0x3a0c2d];return _0x382380;},_0x3a0c(_0xa38ba,_0x3cdefb);}import{View as _0x109152,ButtonView as _0x4475ad,FocusCycler as _0x17eb78}from'ckeditor5/src/ui.js';import{FocusTracker as _0x255954,KeystrokeHandler as _0x5ea4ca}from'ckeditor5/src/utils.js';import{IconUndo as _0x344f64}from'ckeditor5/src/icons.js';import{getTranslation as _0xd90640}from'../../../utils/common-translations.js';function _0x290e(){const _0x16e959=['.ck-context','locale','isResolved','_attachContextActions','ck-context-wrapper','isVisible','...','setTemplate','render','.ck-context__value','scrollWidth','classList','tab','element','ck-context','focusTracker','focusables','494946ZlzkrB','label','mouseleave','length','bindTemplate','_createReopenButton','overlay','ck-thread__header','425kZjcNC','mouseenter','12xoKBLU','7224pNDrkz','1483840bBUYnp','9543078YctPQQ','tooltip','div','keystrokes','listenTo','focusFirst','contextValue','createCollection','reopenCommentThread','1777965FvUnlB','shift+tab','execute','Comment\x20was\x20made\x20on\x20an\x20element','fire','Reopen','lastIndexOf','offsetWidth','focus','bind','icon','remove','context','37664pRieCq','_setupKeyboardNavigation','ck-annotation__actions','substring','hasContext','35901hwGjsP','value','querySelector','isEnabled','contextView','add','_trimContextValue','_model','isResolvable','_createContextView','isReadOnly','reopenButtonView','focusCycler','ck-context--quotes'];_0x290e=function(){return _0x16e959;};return _0x290e();}import _0x2b10fd from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class Yt extends _0x109152{[_0x5db878(0xd4)];[_0x5db878(0xd8)];[_0x5db878(0xd1)];[_0x5db878(0xeb)];[_0x5db878(0xea)];[_0x5db878(0xfc)];[_0x5db878(0xd9)];constructor(_0x175bf1,_0x127063){const _0x2538b2=_0x5db878;super(_0x175bf1);const _0x44fe1e=this[_0x2538b2(0xf0)];this[_0x2538b2(0xd4)]=_0x127063,this[_0x2538b2(0xd8)]=this[_0x2538b2(0xf1)](),this[_0x2538b2(0xd1)]=this[_0x2538b2(0xd6)](),this[_0x2538b2(0xeb)]=this[_0x2538b2(0x100)]([this[_0x2538b2(0xd1)],this[_0x2538b2(0xd8)]]),this[_0x2538b2(0xea)]=new _0x255954(),this[_0x2538b2(0xfc)]=new _0x5ea4ca(),this[_0x2538b2(0xd9)]=new _0x17eb78({'focusables':this[_0x2538b2(0xeb)],'focusTracker':this[_0x2538b2(0xea)],'keystrokeHandler':this[_0x2538b2(0xfc)],'actions':{'focusPrevious':_0x2538b2(0x103),'focusNext':_0x2538b2(0xe7)}}),this[_0x2538b2(0x10b)](_0x2538b2(0xcc))['to'](this[_0x2538b2(0xd4)],_0x2538b2(0xc7),_0x154990=>!!_0x154990),this[_0x2538b2(0x10b)](_0x2538b2(0xff))['to'](this[_0x2538b2(0xd4)],_0x2538b2(0xc7),_0x49998f=>_0x49998f&&_0x49998f[_0x2538b2(0xce)]?this[_0x2538b2(0xd3)](_0x49998f[_0x2538b2(0xce)]):_0xd90640(this[_0x2538b2(0xdc)],_0x2538b2(0x105))),this[_0x2538b2(0xe2)]({'tag':_0x2538b2(0xfb),'attributes':{'class':[_0x2538b2(0xf3)]},'children':[{'tag':_0x2538b2(0xfb),'attributes':{'class':[_0x2538b2(0xdf)]},'children':[{'tag':_0x2538b2(0xfb),'attributes':{'class':[_0x2538b2(0xe9),_0x44fe1e['if'](_0x2538b2(0xcc),_0x2538b2(0xda))]},'children':[this[_0x2538b2(0xd1)]]}]},{'tag':_0x2538b2(0xfb),'attributes':{'class':[_0x2538b2(0xca)]},'children':[this[_0x2538b2(0xd8)]]}]});}[_0x5db878(0xe3)](){const _0x166300=_0x5db878;super[_0x166300(0xe3)](),this[_0x166300(0xde)](),this[_0x166300(0xc9)]();}[_0x5db878(0x10a)](){const _0x9ab090=_0x5db878;this[_0x9ab090(0xd9)][_0x9ab090(0xfe)]();}[_0x5db878(0xf1)](){const _0x2bfdd7=_0x5db878,_0x21934b=new _0x4475ad(this[_0x2bfdd7(0xdc)]);return _0x21934b[_0x2bfdd7(0xed)]=_0xd90640(this[_0x2bfdd7(0xdc)],_0x2bfdd7(0x107)),_0x21934b[_0x2bfdd7(0xfa)]=_0xd90640(this[_0x2bfdd7(0xdc)],_0x2bfdd7(0x107)),_0x21934b[_0x2bfdd7(0x10c)]=_0x344f64,_0x21934b[_0x2bfdd7(0x10b)](_0x2bfdd7(0xd0))['to'](this[_0x2bfdd7(0xd4)],_0x2bfdd7(0xd7),_0x3428bb=>!_0x3428bb),_0x21934b[_0x2bfdd7(0x10b)](_0x2bfdd7(0xe0))['to'](this[_0x2bfdd7(0xd4)],_0x2bfdd7(0xd5),this[_0x2bfdd7(0xd4)],_0x2bfdd7(0xdd),(_0x1bd1ab,_0x28a4ee)=>_0x1bd1ab&&_0x28a4ee),_0x21934b['on'](_0x2bfdd7(0x104),()=>{const _0x286005=_0x2bfdd7;this[_0x286005(0x106)](_0x286005(0x101),this[_0x286005(0xd4)]['id']);}),_0x21934b;}[_0x5db878(0xd3)](_0x593ab9){const _0x10d692=_0x5db878;if(_0x593ab9[_0x10d692(0xef)]<0x96)return _0x593ab9;const _0x39cd20=_0x593ab9[_0x10d692(0x108)]('\x20',0x93);return _0x593ab9[_0x10d692(0xcb)](0x0,_0x39cd20>-0x1?_0x39cd20:0x93)+_0x10d692(0xe1);}[_0x5db878(0xde)](){const _0x1124f0=_0x5db878,_0x32ea08=this[_0x1124f0(0xe8)][_0x1124f0(0xcf)](_0x1124f0(0xdb)),_0x43eaac=_0x32ea08[_0x1124f0(0xcf)](_0x1124f0(0xe4));this[_0x1124f0(0xfd)](_0x32ea08,_0x1124f0(0xf5),()=>{const _0x5cde14=_0x1124f0;_0x43eaac[_0x5cde14(0x109)]<_0x43eaac[_0x5cde14(0xe5)]&&_0x32ea08[_0x5cde14(0xe6)][_0x5cde14(0xd2)](_0x5cde14(0xf2));}),this[_0x1124f0(0xfd)](_0x32ea08,_0x1124f0(0xee),()=>{const _0x3334ea=_0x1124f0;_0x32ea08[_0x3334ea(0xe6)][_0x3334ea(0xc6)](_0x3334ea(0xf2));});}[_0x5db878(0xc9)](){const _0x10d5eb=_0x5db878;this[_0x10d5eb(0xfc)][_0x10d5eb(0xfd)](this[_0x10d5eb(0xe8)]);for(const _0x42bc76 of this[_0x10d5eb(0xeb)])this[_0x10d5eb(0xea)][_0x10d5eb(0xd2)](_0x42bc76[_0x10d5eb(0xe8)]),this[_0x10d5eb(0xfc)][_0x10d5eb(0xfd)](_0x42bc76[_0x10d5eb(0xe8)]);}[_0x5db878(0xd6)](){const _0x5a3fab=_0x5db878,_0x132c0e=new _0x2b10fd(this[_0x5a3fab(0xdc)]);return _0x132c0e[_0x5a3fab(0x10b)](_0x5a3fab(0xff))['to'](this),_0x132c0e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c1930=_0x4637;(function(_0x1f366d,_0x27f4cb){const _0x5361b6=_0x4637,_0x201064=_0x1f366d();while(!![]){try{const _0xe6169=parseInt(_0x5361b6(0xa2))/0x1*(-parseInt(_0x5361b6(0x81))/0x2)+-parseInt(_0x5361b6(0x93))/0x3+-parseInt(_0x5361b6(0x85))/0x4+parseInt(_0x5361b6(0x8b))/0x5*(parseInt(_0x5361b6(0x91))/0x6)+parseInt(_0x5361b6(0x77))/0x7+parseInt(_0x5361b6(0x96))/0x8*(-parseInt(_0x5361b6(0x9d))/0x9)+parseInt(_0x5361b6(0x9e))/0xa;if(_0xe6169===_0x27f4cb)break;else _0x201064['push'](_0x201064['shift']());}catch(_0x1e2108){_0x201064['push'](_0x201064['shift']());}}}(_0x3141,0xa2d75));import{View as _0x3bcd12}from'ckeditor5/src/ui.js';import _0xade0a7 from'./commentinputview.js';function _0x4637(_0x1ab308,_0x375039){const _0x3141b1=_0x3141();return _0x4637=function(_0x463750,_0x2b2c2d){_0x463750=_0x463750-0x73;let _0x174c79=_0x3141b1[_0x463750];return _0x174c79;},_0x4637(_0x1ab308,_0x375039);}import{UserView as _0x2ee51a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x3bcd12{constructor(_0x58144b,_0x2a67f7,_0x31eb73){const _0x44d481=_0x4637;super(_0x58144b),this[_0x44d481(0x76)]=new _0xade0a7(_0x58144b,_0x31eb73),this[_0x44d481(0x7b)]=this[_0x44d481(0x76)][_0x44d481(0x7b)],this[_0x44d481(0x76)][_0x44d481(0x80)](_0x44d481(0x7c))['to'](this[_0x44d481(0x76)][_0x44d481(0x8e)],_0x44d481(0x8a),this[_0x44d481(0x76)],_0x44d481(0x88),(_0x3df23c,_0x4e67df)=>_0x3df23c||!!_0x4e67df),this[_0x44d481(0x92)](_0x44d481(0x7d),!0x1),this['on'](_0x44d481(0xa4),()=>{const _0x1db361=_0x44d481;this[_0x1db361(0x7d)]&&!this[_0x1db361(0x76)][_0x1db361(0x7e)]&&this[_0x1db361(0x76)][_0x1db361(0x79)]();}),this[_0x44d481(0x76)][_0x44d481(0x74)](_0x44d481(0x89))['to'](this),this[_0x44d481(0x76)][_0x44d481(0x74)](_0x44d481(0x99))['to'](this),this[_0x44d481(0x87)]=new _0x2ee51a(_0x58144b,_0x2a67f7),this[_0x44d481(0x87)][_0x44d481(0x94)]({'attributes':{'class':_0x44d481(0x8f),'aria-hidden':!0x0}}),this[_0x44d481(0x76)][_0x44d481(0x94)]({'attributes':{'class':_0x44d481(0x83)}}),this[_0x44d481(0x8c)]({'tag':_0x44d481(0xa0),'attributes':{'class':[_0x44d481(0x98),this[_0x44d481(0x7f)]['if'](_0x44d481(0x7d),_0x44d481(0x9c))]},'children':[this[_0x44d481(0x87)],this[_0x44d481(0x76)]]});}[_0x1c1930(0x86)](){const _0x570b44=_0x1c1930;super[_0x570b44(0x86)](),this[_0x570b44(0x97)]();}[_0x1c1930(0x78)](){const _0x5490d3=_0x1c1930;return this[_0x5490d3(0x76)][_0x5490d3(0x78)]()[_0x5490d3(0x8d)](()=>super[_0x5490d3(0x78)]());}[_0x1c1930(0x73)](_0x1d4545){const _0x55eade=_0x1c1930;this[_0x55eade(0x76)][_0x55eade(0x73)](_0x1d4545);}[_0x1c1930(0x97)](){const _0x21ab94=_0x1c1930;this[_0x21ab94(0xa1)](this[_0x21ab94(0x7a)],_0x21ab94(0x95),(_0x22bccf,_0x1b352e)=>{const _0x47c737=_0x21ab94,{submitButtonView:_0xbde57a,cancelButtonView:_0x4cd11d,editor:_0x431d31}=this[_0x47c737(0x76)];[_0xbde57a[_0x47c737(0x7a)],_0x4cd11d[_0x47c737(0x7a)],_0x431d31?_0x431d31[_0x47c737(0x9b)][_0x47c737(0x84)][_0x47c737(0x75)]():null][_0x47c737(0x9f)](_0x31b601=>_0x31b601)[_0x47c737(0xa3)](_0x570b11=>_0x570b11[_0x47c737(0x9a)](_0x1b352e[_0x47c737(0x82)]))||(this[_0x47c737(0x73)](),_0x1b352e[_0x47c737(0x90)]());});}}function _0x3141(){const _0x1e7224=['bindTemplate','bind','4QJygMU','target','ck-thread__input','view','3245388hqNcne','render','userView','value','editorReady','isFocused','1315DMGoqu','setTemplate','then','focusTracker','ck-thread__user','preventDefault','8172ubAitw','set','3234195btxXNM','extendTemplate','mousedown','896176hGpmFT','_focusOnNonInteractiveMouseDown','ck-comment__input-container','editorDestroyed','contains','editing','ck-comment__input-container--active','54eaqwYE','28275100PimkAd','filter','div','listenTo','577525urJjdH','some','change:showInput','focus','delegate','getDomRoot','commentInputView','8385125lxzxCz','destroy','createEditor','element','focusCycler','showButtons','showInput','editor'];_0x3141=function(){return _0x1e7224;};return _0x3141();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
const _0x4fde46=_0x2468;(function(_0x12a9ff,_0x26232e){const _0x50b7a1=_0x2468,_0x2de243=_0x12a9ff();while(!![]){try{const _0x4459f1=parseInt(_0x50b7a1(0x125))/0x1+-parseInt(_0x50b7a1(0xee))/0x2*(parseInt(_0x50b7a1(0xf6))/0x3)+parseInt(_0x50b7a1(0xff))/0x4+-parseInt(_0x50b7a1(0xe0))/0x5*(-parseInt(_0x50b7a1(0xf0))/0x6)+parseInt(_0x50b7a1(0x107))/0x7*(-parseInt(_0x50b7a1(0xfd))/0x8)+parseInt(_0x50b7a1(0xdb))/0x9*(-parseInt(_0x50b7a1(0xdc))/0xa)+parseInt(_0x50b7a1(0x115))/0xb;if(_0x4459f1===_0x26232e)break;else _0x2de243['push'](_0x2de243['shift']());}catch(_0x1a72a7){_0x2de243['push'](_0x2de243['shift']());}}}(_0x42ce,0x2e472));function _0x2468(_0x4891ed,_0x532593){const _0x42ce2a=_0x42ce();return _0x2468=function(_0x2468e4,_0x2bc6bc){_0x2468e4=_0x2468e4-0xd9;let _0x58f220=_0x42ce2a[_0x2468e4];return _0x58f220;},_0x2468(_0x4891ed,_0x532593);}import{ConfirmMixin as _0x23a44e,LateFocusButtonView as _0x6178b5}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCheck as _0x1e7993}from'ckeditor5/src/icons.js';function _0x42ce(){const _0x1a3936=['stop','85044TiiOkO','_updateArchivedThreadHeader','ck-thread','change:isReadOnly','removeConfirm','remove','9UZJPGd','createCollection','commentViews','commentThreadChildren','change:archivedAt','isReadOnly','_model','968EUvUUJ','getTemplate','134628SJUPov','div','placeholder','isConfirm','_cancelAllConfirms','commentsListView','render','isActive','7637UesxHG','ck-thread--active','resolveButton','containerElement','execute','isUnlinked','isSystemComment','listenTo','_createResolveButton','showConfirm','icon','bindTemplate','ck-comment--resolve','element','5874231OiGWLf','has','removeButton','bind','actionBar','then','querySelector','ariaDescriptionView','Write\x20a\x20comment...','get','commentThreadInputView','change:isActive','isVisible','removeCommentThread','ck-thread--remove-confirmation','add','27462jrHhrk','setTemplate','ariaLabel','focusables','isResolvable','actionIndicator','commentThreadHeaderView','_boundFirstCommentView','ck-thread--','unbind','high','Delete\x20comment\x20thread?','.ck-thread__container','extendTemplate','isEnabled','focus','listitem','1224DgxCzD','22200aNPJaW','resolveCommentThread','ck-thread__container','Resolve','10MxaBBS','ck-thread--unlinked','length','cancelConfirm','archivedAt','locale','tooltip','_bindFirstCommentView','ck-rounded-corners','fire','ck-reset_all-excluded','label','isResolved','set','2GTmREm'];_0x42ce=function(){return _0x1a3936;};return _0x42ce();}import _0x12c61a from'./basecommentthreadview.js';import{getTranslation as _0x5ee52a}from'../../../utils/common-translations.js';export default class gt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23a44e(_0x12c61a){[_0x4fde46(0xf9)];[_0x4fde46(0x10a)];[_0x4fde46(0x109)];[_0x4fde46(0x12c)];constructor(_0x211437,_0x52bda3,_0x4cf1ef,_0x53ec41){const _0x4d5a71=_0x4fde46;super(_0x211437,_0x52bda3,_0x4cf1ef,_0x53ec41),this[_0x4d5a71(0xf9)]=this[_0x4d5a71(0xf7)]([this[_0x4d5a71(0x104)],this[_0x4d5a71(0x11f)],this[_0x4d5a71(0x11c)]]),this[_0x4d5a71(0xed)](_0x4d5a71(0x12a),null),this[_0x4d5a71(0x10a)]=null,this[_0x4d5a71(0x12c)]=null,this[_0x4d5a71(0xe5)]=_0x211437,this[_0x4d5a71(0x109)]=this[_0x4d5a71(0x10f)](),this[_0x4d5a71(0x126)](this[_0x4d5a71(0xfe)]()),this['on'](_0x4d5a71(0x120),(_0x1bb2eb,_0xb1c264,_0x1b2417)=>{const _0x491813=_0x4d5a71;_0x1b2417||this[_0x491813(0x103)]();}),this[_0x4d5a71(0x10e)](this[_0x4d5a71(0xfc)],_0x4d5a71(0xf3),(_0x65f74,_0x2b4e17,_0x5c73ab)=>{const _0x5047af=_0x4d5a71;_0x5c73ab&&this[_0x5047af(0x103)]();}),this[_0x4d5a71(0xe2)]>0x0&&this[_0x4d5a71(0xe7)](),this[_0x4d5a71(0x10e)](this[_0x4d5a71(0x104)][_0x4d5a71(0xf8)],_0x4d5a71(0x124),()=>{const _0x2ed629=_0x4d5a71;this[_0x2ed629(0xe7)]();});}[_0x4fde46(0xfe)](){const _0x1b8ac6=_0x4fde46,_0x59c78b=this[_0x1b8ac6(0x112)];return{'tag':_0x1b8ac6(0x100),'attributes':{'class':['ck',_0x1b8ac6(0xf2),_0x1b8ac6(0xea),_0x1b8ac6(0xe8),_0x59c78b['if'](_0x1b8ac6(0x106),_0x1b8ac6(0x108)),_0x59c78b['if'](_0x1b8ac6(0x10c),_0x1b8ac6(0xe1)),_0x59c78b['if'](_0x1b8ac6(0x102),_0x1b8ac6(0x123)),_0x59c78b['to'](_0x1b8ac6(0x12a),_0x26435e=>_0x26435e?_0x1b8ac6(0x12d)+_0x26435e:'')],'data-thread-id':this[_0x1b8ac6(0xfc)]['id'],'tabindex':0x0,'role':_0x1b8ac6(0xda),'aria-label':_0x59c78b['to'](_0x1b8ac6(0x127)),'aria-describedby':this[_0x1b8ac6(0x11c)]['id']},'children':[{'tag':_0x1b8ac6(0x100),'attributes':{'class':_0x1b8ac6(0xde)},'children':this[_0x1b8ac6(0xf9)]}]};}[_0x4fde46(0x105)](){const _0x5d84ec=_0x4fde46;super[_0x5d84ec(0x105)](),this[_0x5d84ec(0x10a)]=this[_0x5d84ec(0x114)][_0x5d84ec(0x11b)](_0x5d84ec(0x131)),this[_0x5d84ec(0xfc)]['on'](_0x5d84ec(0xfa),()=>{const _0x4d94f1=_0x5d84ec;this[_0x4d94f1(0xf1)]();}),this[_0x5d84ec(0xf1)]();}[_0x4fde46(0x103)](){const _0x20c2da=_0x4fde46;this[_0x20c2da(0xe3)]();for(const _0x100ea2 of this[_0x20c2da(0x104)][_0x20c2da(0xf8)])_0x100ea2[_0x20c2da(0xe3)]();}[_0x4fde46(0xe7)](){const _0xaacb5e=_0x4fde46,{locale:_0x40f535}=this,_0x5e9e70=this[_0xaacb5e(0x104)][_0xaacb5e(0xf8)][_0xaacb5e(0x11e)](0x0);_0x5e9e70===this[_0xaacb5e(0x12c)]||_0x5e9e70[_0xaacb5e(0x10d)]||(this[_0xaacb5e(0x12c)]=_0x5e9e70,this[_0xaacb5e(0x12e)](_0xaacb5e(0x12a)),this[_0xaacb5e(0x118)](_0xaacb5e(0x12a))['to'](_0x5e9e70,_0xaacb5e(0x12a),_0x5bbc97=>_0xaacb5e(0xf5)===_0x5bbc97?_0xaacb5e(0xf5):null),_0x5e9e70[_0xaacb5e(0x101)]=_0x5ee52a(_0x40f535,_0xaacb5e(0x11d)),_0x5e9e70[_0xaacb5e(0x117)]['on'](_0xaacb5e(0x10b),_0x3b2d31=>{const _0x4ae01b=_0xaacb5e;_0x3b2d31[_0x4ae01b(0xef)](),this[_0x4ae01b(0x110)](_0x5ee52a(_0x40f535,_0x4ae01b(0x130)),this[_0x4ae01b(0x10a)])[_0x4ae01b(0x11a)](()=>{const _0x5b7c95=_0x4ae01b;this[_0x5b7c95(0xe9)](_0x5b7c95(0x122));});},{'priority':_0xaacb5e(0x12f)}),this['on'](_0xaacb5e(0xf4),()=>{const _0x15e53c=_0xaacb5e;_0x5e9e70[_0x15e53c(0xd9)]();}),_0x5e9e70[_0xaacb5e(0x119)][_0xaacb5e(0x124)](this[_0xaacb5e(0x109)],0x0),_0x5e9e70[_0xaacb5e(0x128)][_0xaacb5e(0x124)](this[_0xaacb5e(0x109)],0x0));}[_0x4fde46(0x10f)](){const _0x239f71=_0x4fde46,_0x4079fb=new _0x6178b5(this[_0x239f71(0xe5)]);return _0x4079fb[_0x239f71(0xeb)]=_0x5ee52a(this[_0x239f71(0xe5)],_0x239f71(0xdf)),_0x4079fb[_0x239f71(0xe6)]=_0x5ee52a(this[_0x239f71(0xe5)],_0x239f71(0xdf)),_0x4079fb[_0x239f71(0x111)]=_0x1e7993,_0x4079fb[_0x239f71(0x132)]({'attributes':{'class':_0x239f71(0x113)}}),_0x4079fb[_0x239f71(0x118)](_0x239f71(0x133))['to'](this[_0x239f71(0xfc)],_0x239f71(0xfb),_0x279b5c=>!_0x279b5c),_0x4079fb[_0x239f71(0x118)](_0x239f71(0x121))['to'](this[_0x239f71(0xfc)],_0x239f71(0x129),this[_0x239f71(0xfc)],_0x239f71(0xec),(_0x45d691,_0x2dcc5b)=>_0x45d691&&!_0x2dcc5b),_0x4079fb['on'](_0x239f71(0x10b),()=>{const _0x58aa25=_0x239f71;this[_0x58aa25(0xe9)](_0x58aa25(0xdd),this[_0x58aa25(0xfc)]['id']);}),_0x4079fb;}[_0x4fde46(0xf1)](){const _0x2e2801=_0x4fde46;this[_0x2e2801(0xfc)][_0x2e2801(0xe4)]?this[_0x2e2801(0xf9)][_0x2e2801(0x116)](this[_0x2e2801(0x12b)])||(this[_0x2e2801(0xf9)][_0x2e2801(0x124)](this[_0x2e2801(0x12b)],0x0),this[_0x2e2801(0x128)][_0x2e2801(0x124)](this[_0x2e2801(0x12b)],0x0)):this[_0x2e2801(0xf9)][_0x2e2801(0x116)](this[_0x2e2801(0x12b)])&&(this[_0x2e2801(0xf9)][_0x2e2801(0xf5)](this[_0x2e2801(0x12b)]),this[_0x2e2801(0x128)][_0x2e2801(0xf5)](this[_0x2e2801(0x12b)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
|
|
23
|
+
function _0x21d4(){const _0x43073c=['ck-annotation__user','formatDateTime','ck-annotation__info-time','isVisible','getUserViewNotificationText','panelPosition','298BiKYOY','23776tWohhy','placeholder','ck-annotation','children','change:isRemovable','40MLaXvi','ck-comment--','createCollection','ck-comment__actions','actionIndicator','items','_config','removeComment','focus','ck-comment--remove','listitem','edit','toMany','icon','some','author','withText','ariaLabel','add','switchToEditMode','actionBar','push','Delete\x20comment?','removeButton','authoredAt','ck-comment__wrapper','focusables','ck-annotation__content-wrapper','ck-comment--edit','11cZVcfE','getTemplate','ck-comment__info-name','panelView','span','ck-comment__main','ck-comment__actions--hidden','485OKLVTB','_createCommentInputView','_attachActions','1698750CSXWLg','cancelConfirm','locale','isEditMode','6110148SNWMGY','20450330EiVasy','blur','ck-annotation__info','ck-annotation__actions--hidden','setTemplate','name','7533617azbsGP','from','unbind','find','remove','6473KnkiJH','ck-annotation__info-name','ariaDescriptionView','isEditable','listenTo','group','resolvedAt','ck-comment__info','element','mouseenter','userView','time','ck-hidden','Remove','_createDropdown','extendTemplate','_createRemoveButton','bind','isRemovable','addMany','ck-comment__external','ck-comment__info-time','then','131067xmrALz','ck-comment','Reply...','_model','isSystemComment','label','bindTemplate','Show\x20more\x20items','dropdown','_createEditButton','ck-comment--remove-confirmation','ck-annotation__actions','isReadOnly','ck-comment__user','buttonView','isConfirm','set','visibleView','showConfirm','fire','isExternal','ck-annotation__main','render','length','execute','Edit','ck-comment--info','getExternalCommentNote','div','mouseleave','editButton','isEnabled'];_0x21d4=function(){return _0x43073c;};return _0x21d4();}function _0x11f5(_0x1abcb1,_0x359281){const _0x21d4e3=_0x21d4();return _0x11f5=function(_0x11f515,_0x2694a0){_0x11f515=_0x11f515-0x13a;let _0xa417ea=_0x21d4e3[_0x11f515];return _0xa417ea;},_0x11f5(_0x1abcb1,_0x359281);}const _0x34cdcd=_0x11f5;(function(_0x5c74c2,_0x38e8d7){const _0x6bb772=_0x11f5,_0x599bad=_0x5c74c2();while(!![]){try{const _0x730f03=-parseInt(_0x6bb772(0x13a))/0x1*(-parseInt(_0x6bb772(0x177))/0x2)+-parseInt(_0x6bb772(0x1a4))/0x3+-parseInt(_0x6bb772(0x178))/0x4*(-parseInt(_0x6bb772(0x1a1))/0x5)+parseInt(_0x6bb772(0x1a8))/0x6+parseInt(_0x6bb772(0x1af))/0x7+-parseInt(_0x6bb772(0x17d))/0x8*(parseInt(_0x6bb772(0x151))/0x9)+-parseInt(_0x6bb772(0x1a9))/0xa*(parseInt(_0x6bb772(0x19a))/0xb);if(_0x730f03===_0x38e8d7)break;else _0x599bad['push'](_0x599bad['shift']());}catch(_0x39e7b0){_0x599bad['push'](_0x599bad['shift']());}}}(_0x21d4,0xe84f0));import{IconRemoveComment as _0x566613,IconPencil as _0x3f93c3,IconThreeVerticalDots as _0x2b9d6a}from'ckeditor5/src/icons.js';import{ButtonView as _0x5a4dbd,createDropdown as _0x1b9abe,ListView as _0x4491cf,ListItemView as _0x24d2d9,focusChildOnDropdownOpen as _0x4371f0}from'ckeditor5/src/ui.js';import{UserView as _0x5b699e,ConfirmMixin as _0x21da1c,LateFocusDropdownButtonView as _0x3fff6e}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1770a1 from'./basecommentview.js';import{getTranslation as _0x2bf7ac}from'../../../utils/common-translations.js';export default class Tt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x21da1c(_0x1770a1){[_0x34cdcd(0x191)];[_0x34cdcd(0x144)];constructor(_0x43010c,_0x379ddf,_0x2fd400){const _0x399ad4=_0x34cdcd;super(_0x43010c,_0x379ddf,_0x2fd400),this[_0x399ad4(0x161)](_0x399ad4(0x181),null),this[_0x399ad4(0x161)](_0x399ad4(0x179),_0x2bf7ac(_0x43010c,_0x399ad4(0x153))),this[_0x399ad4(0x14b)](_0x399ad4(0x195))['to'](_0x379ddf),this[_0x399ad4(0x14b)](_0x399ad4(0x140))['to'](_0x379ddf),this[_0x399ad4(0x191)]=this[_0x399ad4(0x17f)](),this[_0x399ad4(0x155)]||(this[_0x399ad4(0x16f)]=this[_0x399ad4(0x15a)](),this[_0x399ad4(0x194)]=this[_0x399ad4(0x14a)](),this[_0x399ad4(0x182)]=this[_0x399ad4(0x17f)](),this[_0x399ad4(0x182)][_0x399ad4(0x14d)]([this[_0x399ad4(0x16f)],this[_0x399ad4(0x194)]]),this[_0x399ad4(0x159)]=this[_0x399ad4(0x148)](),this[_0x399ad4(0x191)][_0x399ad4(0x18f)](this[_0x399ad4(0x159)]),this[_0x399ad4(0x197)][_0x399ad4(0x18f)](this[_0x399ad4(0x159)])),this[_0x399ad4(0x144)]=new _0x5b699e(_0x43010c,_0x379ddf[_0x399ad4(0x18c)],this[_0x399ad4(0x175)]()),this[_0x399ad4(0x144)][_0x399ad4(0x149)]({'attributes':{'class':[_0x399ad4(0x15e),_0x399ad4(0x171)],'aria-hidden':!0x0}}),this[_0x399ad4(0x13e)](_0x379ddf,_0x399ad4(0x17c),()=>this[_0x399ad4(0x1a5)]()),this[_0x399ad4(0x1ad)](this[_0x399ad4(0x19b)]());}[_0x34cdcd(0x19b)](){const _0x49c653=_0x34cdcd,_0x3e7522=this[_0x49c653(0x157)],_0x5c7e70=[{'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x141),_0x49c653(0x1ab)]},'children':[{'tag':_0x49c653(0x19e),'children':[{'text':this[_0x49c653(0x144)][_0x49c653(0x1ae)]}],'attributes':{'class':[_0x49c653(0x19c),_0x49c653(0x13b)],'data-cke-tooltip-text':this[_0x49c653(0x144)][_0x49c653(0x1ae)]}},{'tag':_0x49c653(0x145),'attributes':{'datetime':_0x3e7522['to'](_0x49c653(0x195)),'class':[_0x49c653(0x14f),_0x49c653(0x173)]},'children':[{'text':_0x3e7522['to'](_0x49c653(0x195),_0x1e0558=>this[_0x49c653(0x183)][_0x49c653(0x172)](_0x1e0558))}]}]},{'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x180),_0x49c653(0x15c),_0x3e7522['if'](_0x49c653(0x1a7),_0x49c653(0x1a0)),_0x3e7522['if'](_0x49c653(0x1a7),_0x49c653(0x1ac))]},'children':this[_0x49c653(0x191)]},{'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x198)]},'children':this[_0x49c653(0x162)]},this[_0x49c653(0x13c)]];return this[_0x49c653(0x154)][_0x49c653(0x165)]&&_0x5c7e70[_0x49c653(0x192)]({'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x14e)]},'children':[{'text':this[_0x49c653(0x16c)]()}]}),{'tag':'li','attributes':{'class':[_0x49c653(0x196),_0x3e7522['if'](_0x49c653(0x160),_0x49c653(0x15b))],'tabindex':-0x1,'aria-label':_0x3e7522['to'](_0x49c653(0x18e)),'aria-describedby':this[_0x49c653(0x13c)]['id'],'role':_0x49c653(0x187)},'children':[{'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x152),_0x49c653(0x17a),_0x3e7522['if'](_0x49c653(0x1a7),_0x49c653(0x199)),_0x3e7522['if'](_0x49c653(0x155),_0x49c653(0x16b)),_0x3e7522['to'](_0x49c653(0x181),_0xaa524a=>_0xaa524a?_0x49c653(0x17e)+_0xaa524a:'')],'data-author-id':this[_0x49c653(0x154)][_0x49c653(0x18c)]['id'],'data-comment-id':this[_0x49c653(0x154)]['id'],'role':_0x49c653(0x13f)},'children':[this[_0x49c653(0x144)],{'tag':_0x49c653(0x16d),'attributes':{'class':[_0x49c653(0x19f),_0x49c653(0x166)]},'children':_0x5c7e70}]}]};}[_0x34cdcd(0x15a)](){const _0x5a59e6=_0x34cdcd,_0x44c4f3=new _0x5a4dbd(this[_0x5a59e6(0x1a6)]);return _0x44c4f3[_0x5a59e6(0x156)]=_0x2bf7ac(this[_0x5a59e6(0x1a6)],_0x5a59e6(0x16a)),_0x44c4f3[_0x5a59e6(0x18a)]=_0x3f93c3,_0x44c4f3[_0x5a59e6(0x18d)]=!0x0,_0x44c4f3[_0x5a59e6(0x149)]({'attributes':{'class':_0x5a59e6(0x199)}}),_0x44c4f3[_0x5a59e6(0x14b)](_0x5a59e6(0x170))['to'](this[_0x5a59e6(0x154)],_0x5a59e6(0x15d),_0x568753=>!_0x568753),_0x44c4f3[_0x5a59e6(0x14b)](_0x5a59e6(0x174))['to'](this[_0x5a59e6(0x154)],_0x5a59e6(0x13d)),_0x44c4f3['on'](_0x5a59e6(0x169),()=>this[_0x5a59e6(0x190)]()),_0x44c4f3;}[_0x34cdcd(0x14a)](){const _0x2a3f76=_0x34cdcd,_0x4ac79e=new _0x5a4dbd(this[_0x2a3f76(0x1a6)]);return _0x4ac79e[_0x2a3f76(0x156)]=_0x2bf7ac(this[_0x2a3f76(0x1a6)],_0x2a3f76(0x147)),_0x4ac79e[_0x2a3f76(0x18a)]=_0x566613,_0x4ac79e[_0x2a3f76(0x18d)]=!0x0,_0x4ac79e[_0x2a3f76(0x149)]({'attributes':{'class':_0x2a3f76(0x186)}}),_0x4ac79e[_0x2a3f76(0x14b)](_0x2a3f76(0x170))['to'](this[_0x2a3f76(0x154)],_0x2a3f76(0x15d),_0x1ae0d8=>!_0x1ae0d8),_0x4ac79e[_0x2a3f76(0x14b)](_0x2a3f76(0x174))['to'](this[_0x2a3f76(0x154)],_0x2a3f76(0x14c)),_0x4ac79e['on'](_0x2a3f76(0x169),()=>{const _0x37e1f6=_0x2a3f76;this[_0x37e1f6(0x163)](_0x2bf7ac(this[_0x37e1f6(0x1a6)],_0x37e1f6(0x193)),this[_0x37e1f6(0x142)])[_0x37e1f6(0x150)](()=>{const _0x33b91b=_0x37e1f6;this[_0x33b91b(0x164)](_0x33b91b(0x184),this[_0x33b91b(0x154)]['id']);});}),_0x4ac79e;}[_0x34cdcd(0x148)](){const _0x4acaac=_0x34cdcd,_0x505318=_0x1b9abe(this[_0x4acaac(0x1a6)],_0x3fff6e),_0x22b729=_0x505318[_0x4acaac(0x19d)][_0x4acaac(0x17b)],_0x402716=new _0x4491cf(this[_0x4acaac(0x1a6)]),_0x485c5a=_0x505318[_0x4acaac(0x157)];_0x4371f0(_0x505318,()=>this[_0x4acaac(0x182)][_0x4acaac(0x1b2)](_0x1ffbaf=>_0x1ffbaf[_0x4acaac(0x174)])),_0x505318[_0x4acaac(0x149)]({'attributes':{'class':[_0x485c5a['if'](_0x4acaac(0x174),_0x4acaac(0x146),_0x1f90ae=>!_0x1f90ae)]}});const _0x232f6d=(_0x5360a8,_0x1e07cc=-0x1)=>{const _0x147973=_0x4acaac,_0x40e596=new _0x24d2d9(this[_0x147973(0x1a6)]);_0x40e596[_0x147973(0x17b)][_0x147973(0x18f)](_0x5360a8);const _0x67dd61=_0x1e07cc>-0x1?_0x1e07cc:_0x402716[_0x147973(0x182)][_0x147973(0x168)];_0x402716[_0x147973(0x182)][_0x147973(0x18f)](_0x40e596,_0x67dd61);const _0x2d539e=Array[_0x147973(0x1b0)](this[_0x147973(0x182)]);_0x505318[_0x147973(0x1b1)](_0x147973(0x170),_0x147973(0x174)),_0x505318[_0x147973(0x14b)](_0x147973(0x170))[_0x147973(0x189)](_0x2d539e,_0x147973(0x170),(..._0x27eef7)=>_0x27eef7[_0x147973(0x18b)](_0x246695=>_0x246695)),_0x505318[_0x147973(0x14b)](_0x147973(0x174))[_0x147973(0x189)](_0x2d539e,_0x147973(0x174),(..._0x5ec06d)=>_0x5ec06d[_0x147973(0x18b)](_0x142e2b=>_0x142e2b));};_0x505318[_0x4acaac(0x176)]='sw',_0x505318[_0x4acaac(0x15f)][_0x4acaac(0x161)]({'label':_0x2bf7ac(this[_0x4acaac(0x1a6)],_0x4acaac(0x158)),'icon':_0x2b9d6a});for(const _0x2b1330 of this[_0x4acaac(0x182)])_0x232f6d(_0x2b1330);return _0x22b729[_0x4acaac(0x18f)](_0x402716),_0x505318[_0x4acaac(0x13e)](this[_0x4acaac(0x182)],_0x4acaac(0x18f),(_0x4ea796,_0x1e351f,_0x2cc418)=>{_0x232f6d(_0x1e351f,_0x2cc418);}),_0x505318[_0x4acaac(0x13e)](this[_0x4acaac(0x182)],_0x4acaac(0x1b3),(_0x56f54c,_0x12348f,_0x492591)=>{const _0x33e342=_0x4acaac;_0x402716[_0x33e342(0x182)][_0x33e342(0x1b3)](_0x492591);}),_0x505318;}[_0x34cdcd(0x1a3)](_0xcf82a7,_0x55e101){const _0x33538c=_0x34cdcd,_0x2db6ca=_0xcf82a7&&_0xcf82a7[_0x33538c(0x142)];_0x2db6ca&&(this[_0x33538c(0x13e)](_0x2db6ca,_0x33538c(0x143),()=>this[_0x33538c(0x181)]=_0x55e101),this[_0x33538c(0x13e)](_0x2db6ca,_0x33538c(0x185),()=>this[_0x33538c(0x181)]=_0x55e101),this[_0x33538c(0x13e)](_0x2db6ca,_0x33538c(0x16e),()=>this[_0x33538c(0x181)]=null),this[_0x33538c(0x13e)](_0x2db6ca,_0x33538c(0x1aa),()=>this[_0x33538c(0x181)]=null));}[_0x34cdcd(0x1a2)](){const _0x3f8b50=_0x34cdcd,_0x360adc=super[_0x3f8b50(0x1a2)]();return _0x360adc[_0x3f8b50(0x14b)](_0x3f8b50(0x179))['to'](this),_0x360adc;}[_0x34cdcd(0x167)](){const _0x497026=_0x34cdcd;super[_0x497026(0x167)](),this[_0x497026(0x1a3)](this[_0x497026(0x16f)],_0x497026(0x188)),this[_0x497026(0x1a3)](this[_0x497026(0x194)],_0x497026(0x1b3));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1373fc=_0x1c70;(function(_0x3f1fc5,_0x270217){var _0x4ef54b=_0x1c70,_0x38ba76=_0x3f1fc5();while(!![]){try{var _0x2e89a4=-parseInt(_0x4ef54b(0x80))/0x1*(-parseInt(_0x4ef54b(0x83))/0x2)+parseInt(_0x4ef54b(0x7d))/0x3+parseInt(_0x4ef54b(0x7b))/0x4*(-parseInt(_0x4ef54b(0x89))/0x5)+-parseInt(_0x4ef54b(0x7e))/0x6+parseInt(_0x4ef54b(0x85))/0x7*(parseInt(_0x4ef54b(0x82))/0x8)+parseInt(_0x4ef54b(0x7a))/0x9*(-parseInt(_0x4ef54b(0x7c))/0xa)+parseInt(_0x4ef54b(0x81))/0xb;if(_0x2e89a4===_0x270217)break;else _0x38ba76['push'](_0x38ba76['shift']());}catch(_0x140b36){_0x38ba76['push'](_0x38ba76['shift']());}}}(_0x13e9,0x4b809));import{Plugin as _0x32d06d}from'ckeditor5/src/core.js';function _0x1c70(_0x50ff53,_0x2531fb){var _0x13e9b5=_0x13e9();return _0x1c70=function(_0x1c70cb,_0x4e1587){_0x1c70cb=_0x1c70cb-0x7a;var _0x53d8f0=_0x13e9b5[_0x1c70cb];return _0x53d8f0;},_0x1c70(_0x50ff53,_0x2531fb);}import _0x58cd77 from'./comments/commentsrepository.js';import _0x25d3d1 from'./comments/commentsediting.js';import _0x374df2 from'./comments/commentsui.js';import _0xbc0ba0 from'./commentsonly.js';import _0x17d2e6 from'./annotations/widesidebar.js';function _0x13e9(){var _0x3872d6=['24330bEbHMz','1222035uEGXLA','170424mVLjYt','isPremiumPlugin','79682MfYIln','3805582DMekOT','16680gWnPtg','4VxvGkU','pluginName','1533RGpkuD','requires','Comments','isOfficialPlugin','912430JCvTos','1791dyWetK','12YzTNmN'];_0x13e9=function(){return _0x3872d6;};return _0x13e9();}import _0x2aa2fc from'./annotations/narrowsidebar.js';import _0x208e7b from'./annotations/inlineannotations.js';import _0x472400 from'./comments/commentsarchiveui.js';import _0x4fd4de from'./comments/commentsarchive.js';export default class p extends _0x32d06d{static get[_0x1373fc(0x86)](){return[_0x58cd77,_0x25d3d1,_0x374df2,_0x4fd4de,_0x472400,_0xbc0ba0,_0x17d2e6,_0x2aa2fc,_0x208e7b];}static get[_0x1373fc(0x84)](){var _0x237524=_0x1373fc;return _0x237524(0x87);}static get[_0x1373fc(0x88)](){return!0x0;}static get[_0x1373fc(0x7f)](){return!0x0;}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x54f428=_0x4831;(function(_0x586cdb,_0x15e5e7){const _0x5cdc8e=_0x4831,_0x576545=_0x586cdb();while(!![]){try{const _0x1ec41a=parseInt(_0x5cdc8e(0x9c))/0x1+parseInt(_0x5cdc8e(0x8e))/0x2+parseInt(_0x5cdc8e(0x9e))/0x3*(parseInt(_0x5cdc8e(0x87))/0x4)+-parseInt(_0x5cdc8e(0x93))/0x5*(parseInt(_0x5cdc8e(0x91))/0x6)+-parseInt(_0x5cdc8e(0x9f))/0x7+-parseInt(_0x5cdc8e(0x8b))/0x8*(parseInt(_0x5cdc8e(0xa7))/0x9)+-parseInt(_0x5cdc8e(0x80))/0xa;if(_0x1ec41a===_0x15e5e7)break;else _0x576545['push'](_0x576545['shift']());}catch(_0x3e3696){_0x576545['push'](_0x576545['shift']());}}}(_0x51bc,0x22bd2));import{Plugin as _0x18c7cf}from'ckeditor5/src/core.js';import _0x5a7fe6 from'./comments/commentsediting.js';function _0x4831(_0x5c6dde,_0x10d07b){const _0x51bc6b=_0x51bc();return _0x4831=function(_0x48316f,_0x1c130f){_0x48316f=_0x48316f-0x7b;let _0x28f00d=_0x51bc6b[_0x48316f];return _0x28f00d;},_0x4831(_0x5c6dde,_0x10d07b);}export default class s extends _0x18c7cf{static get[_0x54f428(0xa8)](){const _0xca6ea3=_0x54f428;return _0xca6ea3(0xa0);}static get[_0x54f428(0x88)](){return!0x0;}static get[_0x54f428(0x86)](){return!0x0;}static get[_0x54f428(0x90)](){return[_0x5a7fe6];}constructor(_0x3a0300){const _0x45264a=_0x54f428;super(_0x3a0300),this[_0x45264a(0x7b)](_0x45264a(0x8d),!0x1),this['on'](_0x45264a(0xa3),(_0x341ae0,_0x59faa4,_0x5cb6bb)=>{const _0x6773a7=_0x45264a;_0x5cb6bb?this[_0x6773a7(0x95)]():this[_0x6773a7(0xa2)]();});}[_0x54f428(0x9b)](){const _0x4e48cb=_0x54f428;!this[_0x4e48cb(0x8d)]&&this[_0x4e48cb(0x7e)][_0x4e48cb(0x92)][_0x4e48cb(0x9a)](_0x4e48cb(0x82))&&(this[_0x4e48cb(0x8d)]=!0x0);}[_0x54f428(0x95)](){const _0x5cd90d=_0x54f428;for(const [_0x54c9a2,_0x512b2c]of this[_0x5cd90d(0x7e)][_0x5cd90d(0x85)])_0x512b2c[_0x5cd90d(0xa6)]&&_0x5cd90d(0x89)!==_0x54c9a2&&_0x512b2c[_0x5cd90d(0x7d)](_0x5cd90d(0x81));(this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x8c)](_0x5cd90d(0x7f))&&this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x9a)](_0x5cd90d(0x7f))[_0x5cd90d(0x7d)](_0x5cd90d(0x81)),this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x8c)](_0x5cd90d(0x96)))&&this[_0x5cd90d(0x7e)][_0x5cd90d(0x8f)][_0x5cd90d(0x9a)](_0x5cd90d(0x96))[_0x5cd90d(0x7d)](_0x5cd90d(0x81));this[_0x5cd90d(0x7e)][_0x5cd90d(0x85)][_0x5cd90d(0x9a)](_0x5cd90d(0x97))?.[_0x5cd90d(0x7d)](_0x5cd90d(0x81));const _0x3896c5=this[_0x5cd90d(0x7e)][_0x5cd90d(0x8a)][_0x5cd90d(0x84)][_0x5cd90d(0xa1)];this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x9d),_0x3cb320=>_0x3cb320[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)}),this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x94),_0x593530=>_0x593530[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)}),this[_0x5cd90d(0x98)](_0x3896c5,_0x5cd90d(0x7c),_0x163893=>_0x163893[_0x5cd90d(0x83)](),{'priority':_0x5cd90d(0xa4)});}[_0x54f428(0xa2)](){const _0x16e2ef=_0x54f428;for(const [_0x5488db,_0x5874ed]of this[_0x16e2ef(0x7e)][_0x16e2ef(0x85)])_0x5874ed[_0x16e2ef(0xa6)]&&_0x16e2ef(0x89)!==_0x5488db&&_0x5874ed[_0x16e2ef(0xa5)](_0x16e2ef(0x81));this[_0x16e2ef(0x7e)][_0x16e2ef(0x8f)][_0x16e2ef(0x8c)](_0x16e2ef(0x96))&&this[_0x16e2ef(0x7e)][_0x16e2ef(0x8f)][_0x16e2ef(0x9a)](_0x16e2ef(0x96))[_0x16e2ef(0xa5)](_0x16e2ef(0x81)),this[_0x16e2ef(0x7e)][_0x16e2ef(0x85)][_0x16e2ef(0x9a)](_0x16e2ef(0x97))?.[_0x16e2ef(0xa5)](_0x16e2ef(0x81)),this[_0x16e2ef(0x99)](this[_0x16e2ef(0x7e)][_0x16e2ef(0x8a)][_0x16e2ef(0x84)][_0x16e2ef(0xa1)]);}}function _0x51bc(){const _0x1bb2af=['set','delete','forceDisabled','editor','DragDrop','2954720zCsJxZ','commentsOnlyMode','commentsOnly','stop','view','commands','isPremiumPlugin','1068XwnEGJ','isOfficialPlugin','addCommentThread','editing','8ExXRLI','has','isEnabled','475822RVaVFu','plugins','requires','6fuWwMz','config','533535iSuXkW','clipboardInput','_enableCommentsOnlyMode','SourceEditing','editSource','listenTo','stopListening','get','afterInit','178375iMAPAa','cut','3048knbYSc','289618cRaZDu','CommentsOnly','document','_disableCommentsOnlyMode','change:isEnabled','highest','clearForceDisabled','affectsData','915435BrLtKB','pluginName'];_0x51bc=function(){return _0x1bb2af;};return _0x51bc();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xaedb8a,_0x5d0fbd){var _0x157737=_0x3348,_0x5d9a3a=_0xaedb8a();while(!![]){try{var _0x424f76=parseInt(_0x157737(0x1a2))/0x1*(parseInt(_0x157737(0x1a5))/0x2)+-parseInt(_0x157737(0x1a1))/0x3*(-parseInt(_0x157737(0x1a6))/0x4)+-parseInt(_0x157737(0x1a3))/0x5*(parseInt(_0x157737(0x1a8))/0x6)+-parseInt(_0x157737(0x1a4))/0x7*(-parseInt(_0x157737(0x1aa))/0x8)+-parseInt(_0x157737(0x1a9))/0x9+parseInt(_0x157737(0x1a7))/0xa+-parseInt(_0x157737(0x1a0))/0xb;if(_0x424f76===_0x5d0fbd)break;else _0x5d9a3a['push'](_0x5d9a3a['shift']());}catch(_0x42e84c){_0x5d9a3a['push'](_0x5d9a3a['shift']());}}}(_0x46b3,0x8f049));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';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';function _0x46b3(){var _0x3abde4=['32bGtQdL','5406346qgzuXt','389877DqvqDM','20183EbGwKM','5275VAJTNi','1831529qisFTf','46ByrzKV','4HDERDA','773070FpgAHm','3042JxyoCj','953019bBdhSP'];_0x46b3=function(){return _0x3abde4;};return _0x46b3();}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 _0x3348(_0x334909,_0x39bee9){var _0x46b37=_0x46b3();return _0x3348=function(_0x33488b,_0x4ada56){_0x33488b=_0x33488b-0x1a0;var _0x3e80a2=_0x46b37[_0x33488b];return _0x3e80a2;},_0x3348(_0x334909,_0x39bee9);}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(_0x866b40,_0x56c4c7,_0x18a284){const t=_0x866b40['t'];switch(_0x56c4c7){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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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'},_0x18a284);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(_0x426f15,_0xac977c){const _0x1d6fa2=_0x1e0d,_0x53afcd=_0x426f15();while(!![]){try{const _0x22b7dc=-parseInt(_0x1d6fa2(0xfe))/0x1+parseInt(_0x1d6fa2(0x10c))/0x2+parseInt(_0x1d6fa2(0x109))/0x3*(-parseInt(_0x1d6fa2(0x100))/0x4)+parseInt(_0x1d6fa2(0x10a))/0x5+-parseInt(_0x1d6fa2(0xfd))/0x6+parseInt(_0x1d6fa2(0xff))/0x7+parseInt(_0x1d6fa2(0x102))/0x8;if(_0x22b7dc===_0xac977c)break;else _0x53afcd['push'](_0x53afcd['shift']());}catch(_0x43e8b6){_0x53afcd['push'](_0x53afcd['shift']());}}}(_0x4a94,0x7a4f7));function _0x4a94(){const _0x1229f2=['15645608znqrbr','childList','class','observe','attributeName','characterData','disconnect','207QWKjRb','2167885txtLde','attributes','78868PmxKzd','cancel','3074508DxPfsw','862876zcEeHA','1230537suldsI','42216Abzato','type'];_0x4a94=function(){return _0x1229f2;};return _0x4a94();}function _0x1e0d(_0x5ce391,_0x2c7cc5){const _0x4a94f9=_0x4a94();return _0x1e0d=function(_0x1e0dc7,_0x417d96){_0x1e0dc7=_0x1e0dc7-0xfd;let _0x2e82a5=_0x4a94f9[_0x1e0dc7];return _0x2e82a5;},_0x1e0d(_0x5ce391,_0x2c7cc5);}import{throttle as _0x5980f6}from'es-toolkit/compat';export default function Lt(_0x5cd58c){const _0x467f12=_0x5980f6(_0x5cd58c,0x1e),_0xc93724=new MutationObserver(_0x4fcf04=>{const _0x509912=_0x1e0d;for(const _0x1098c5 of _0x4fcf04)(_0x509912(0x10b)==_0x1098c5[_0x509912(0x101)]&&_0x509912(0x104)==_0x1098c5[_0x509912(0x106)]||_0x509912(0x103)==_0x1098c5[_0x509912(0x101)]||_0x509912(0x107)==_0x1098c5[_0x509912(0x101)])&&_0x467f12();});return{'attach'(_0x954664){const _0x553000=_0x1e0d;_0xc93724[_0x553000(0x105)](_0x954664,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x3ffd10=_0x1e0d;_0xc93724[_0x3ffd10(0x108)](),_0x467f12[_0x3ffd10(0x10d)]();}};}
|