@ckeditor/ckeditor5-comments 43.1.1 → 43.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/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.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/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/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/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/ko.js +1 -1
- package/dist/translations/ko.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/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/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/sk.js +1 -1
- package/dist/translations/sk.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/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 +15 -15
- 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/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
|
|
23
|
+
const _0x3e5b5b=_0x56b5;function _0x56b5(_0x30c993,_0x209240){const _0x1d5636=_0x1d56();return _0x56b5=function(_0x56b56c,_0x5bd28f){_0x56b56c=_0x56b56c-0x1ae;let _0x3d5396=_0x1d5636[_0x56b56c];return _0x3d5396;},_0x56b5(_0x30c993,_0x209240);}(function(_0xadc0de,_0x3eb38a){const _0x21b04e=_0x56b5,_0x33b7b1=_0xadc0de();while(!![]){try{const _0x3b2896=-parseInt(_0x21b04e(0x1b6))/0x1+parseInt(_0x21b04e(0x1c3))/0x2+parseInt(_0x21b04e(0x1d8))/0x3*(-parseInt(_0x21b04e(0x1cd))/0x4)+-parseInt(_0x21b04e(0x1b1))/0x5+-parseInt(_0x21b04e(0x1c1))/0x6*(parseInt(_0x21b04e(0x1d1))/0x7)+parseInt(_0x21b04e(0x1c9))/0x8+parseInt(_0x21b04e(0x1bb))/0x9*(parseInt(_0x21b04e(0x1d6))/0xa);if(_0x3b2896===_0x3eb38a)break;else _0x33b7b1['push'](_0x33b7b1['shift']());}catch(_0x4b917d){_0x33b7b1['push'](_0x33b7b1['shift']());}}}(_0x1d56,0xec450));import{View as _0x216659,FocusCycler as _0x3aafd5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x152162}from'ckeditor5/src/utils.js';function _0x1d56(){const _0x57311f=['setTemplate','focusNext','focusPrevious','7RuTgFu','focus','bindTemplate','first','change','210hjLaNd','focusFirst','473337nTndgu','arrowdown','EMPTY_COMMENTS_ARCHIVE','listenTo','arrowup','focusTracker','199280NZJDoP','add','destroy','length','_annotationViews','941733jFSLvR','list','element','delegate','focusCycler','898839hvXrFz','presentation','set','div','render','isActive','9279210TtzQyT','ck-comments-archive__content','3676922JCcCFK','ck-comments-archive__info','ck-comments-archive','COMMENTS_ARCHIVE_LIST_LABEL','_setupKeyboardNavigation','ck-hidden','4054448KFGSrR','isEmpty','auto','remove','24cDyodr'];_0x1d56=function(){return _0x57311f;};return _0x1d56();}import{getTranslation as _0x1f4fa7}from'../../../utils/common-translations.js';export default class tt extends _0x216659{constructor(_0x52a68d,_0x2d3285){const _0x3fb3ec=_0x56b5;super(_0x52a68d),this[_0x3fb3ec(0x1bd)](_0x3fb3ec(0x1ca),!_0x2d3285[_0x3fb3ec(0x1b4)]),this[_0x3fb3ec(0x1b0)]=new _0x152162(),this[_0x3fb3ec(0x1b5)]=_0x2d3285,this[_0x3fb3ec(0x1b5)][_0x3fb3ec(0x1b9)](_0x3fb3ec(0x1af),_0x3fb3ec(0x1d9))['to'](this),this['on'](_0x3fb3ec(0x1af),()=>{const _0x5087c6=_0x3fb3ec;this[_0x5087c6(0x1ba)][_0x5087c6(0x1d0)]();}),this['on'](_0x3fb3ec(0x1d9),()=>{const _0x17509b=_0x3fb3ec;this[_0x17509b(0x1ba)][_0x17509b(0x1cf)]();}),this[_0x3fb3ec(0x1ba)]=new _0x3aafd5({'focusables':_0x2d3285,'focusTracker':this[_0x3fb3ec(0x1b0)]}),this[_0x3fb3ec(0x1ae)](_0x2d3285,_0x3fb3ec(0x1b2),()=>{const _0x2fd1ea=_0x3fb3ec;this[_0x2fd1ea(0x1ca)]=!0x1;}),this[_0x3fb3ec(0x1ae)](_0x2d3285,_0x3fb3ec(0x1cc),(_0x3ffe4d,_0x1f9535)=>{const _0xeb5719=_0x3fb3ec;_0x1f9535[_0xeb5719(0x1c0)]&&this[_0xeb5719(0x1d2)](),_0x2d3285[_0xeb5719(0x1b4)]||(this[_0xeb5719(0x1ca)]=!0x0);});const _0x37e3fa=this[_0x3fb3ec(0x1d3)];this[_0x3fb3ec(0x1ce)]({'tag':_0x3fb3ec(0x1be),'attributes':{'dir':_0x3fb3ec(0x1cb),'class':['ck',_0x3fb3ec(0x1c5)],'tabindex':-0x1,'role':_0x3fb3ec(0x1b7),'aria-label':_0x1f4fa7(_0x52a68d,_0x3fb3ec(0x1c6))},'children':[{'tag':_0x3fb3ec(0x1be),'attributes':{'class':[_0x3fb3ec(0x1c2)],'role':_0x3fb3ec(0x1bc)},'children':[{'tag':_0x3fb3ec(0x1be),'attributes':{'role':_0x3fb3ec(0x1bc)},'children':_0x2d3285},{'tag':'p','attributes':{'class':[_0x3fb3ec(0x1c4),_0x37e3fa['if'](_0x3fb3ec(0x1ca),_0x3fb3ec(0x1c8),_0x438920=>!_0x438920)]},'children':[{'text':_0x1f4fa7(_0x52a68d,_0x3fb3ec(0x1da))}]}]}]});}[_0x3e5b5b(0x1bf)](){const _0x1d0c13=_0x3e5b5b;super[_0x1d0c13(0x1bf)](),this[_0x1d0c13(0x1c7)]();}[_0x3e5b5b(0x1b3)](){const _0xb65e21=_0x3e5b5b;super[_0xb65e21(0x1b3)](),this[_0xb65e21(0x1b0)][_0xb65e21(0x1b3)]();}[_0x3e5b5b(0x1d2)](){const _0x68a343=_0x3e5b5b;this[_0x68a343(0x1ba)][_0x68a343(0x1d4)]?this[_0x68a343(0x1ba)][_0x68a343(0x1d7)]():this[_0x68a343(0x1b8)][_0x68a343(0x1d2)]();}[_0x3e5b5b(0x1c7)](){const _0xe8f0f2=_0x3e5b5b;for(const _0x59ebd4 of this[_0xe8f0f2(0x1b5)])this[_0xe8f0f2(0x1b0)][_0xe8f0f2(0x1b2)](_0x59ebd4[_0xe8f0f2(0x1b8)]);this[_0xe8f0f2(0x1b5)]['on'](_0xe8f0f2(0x1d5),(_0x279386,{added:_0x5a1bb9,removed:_0x4ff4eb})=>{const _0x4d0eaa=_0xe8f0f2;for(const _0x10fba3 of _0x5a1bb9)this[_0x4d0eaa(0x1b0)][_0x4d0eaa(0x1b2)](_0x10fba3[_0x4d0eaa(0x1b8)]);for(const _0xeda208 of _0x4ff4eb)this[_0x4d0eaa(0x1b0)][_0x4d0eaa(0x1cc)](_0xeda208[_0x4d0eaa(0x1b8)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55988f=_0x132c;(function(_0x5b3152,_0x260d8e){const _0x3546b9=_0x132c,_0x4c8538=_0x5b3152();while(!![]){try{const _0x2c435e=-parseInt(_0x3546b9(0x1ad))/0x1*(-parseInt(_0x3546b9(0x162))/0x2)+-parseInt(_0x3546b9(0x171))/0x3+parseInt(_0x3546b9(0x163))/0x4+-parseInt(_0x3546b9(0x19b))/0x5+-parseInt(_0x3546b9(0x161))/0x6*(-parseInt(_0x3546b9(0x185))/0x7)+parseInt(_0x3546b9(0x194))/0x8+-parseInt(_0x3546b9(0x176))/0x9*(parseInt(_0x3546b9(0x151))/0xa);if(_0x2c435e===_0x260d8e)break;else _0x4c8538['push'](_0x4c8538['shift']());}catch(_0x29fa10){_0x4c8538['push'](_0x4c8538['shift']());}}}(_0x5ebd,0xbdacb));import{View as _0x2bdcae,FocusCycler as _0x3244e4}from'ckeditor5/src/ui.js';import{diff as _0x1c722a,Collection as _0x33ebda,FocusTracker as _0x495145,KeystrokeHandler as _0x27dd29}from'ckeditor5/src/utils.js';import{getTranslation as _0x40a85}from'../../../utils/common-translations.js';import _0x4e999c from'./collapsedcommentsview.js';export default class xt extends _0x2bdcae{constructor(_0x2d5ef8,_0x292887,_0x241d18){const _0x3749f4=_0x132c;super(_0x2d5ef8);const _0x42a4bd=this[_0x3749f4(0x165)];this[_0x3749f4(0x159)](_0x3749f4(0x18b),!0x1),this[_0x3749f4(0x159)](_0x3749f4(0x195),_0x292887[_0x3749f4(0x19f)][_0x3749f4(0x195)]),this[_0x3749f4(0x159)](_0x3749f4(0x1a8),!0x1),this[_0x3749f4(0x1a1)]=_0x292887,this[_0x3749f4(0x19a)]=_0x241d18,this[_0x3749f4(0x18c)]=this[_0x3749f4(0x186)](),this[_0x3749f4(0x183)]=this[_0x3749f4(0x186)](),this[_0x3749f4(0x197)]=null,this[_0x3749f4(0x175)]=new _0x495145(),this[_0x3749f4(0x172)]=new _0x27dd29(),this[_0x3749f4(0x16d)]=new _0x3244e4({'focusables':this[_0x3749f4(0x18c)],'focusTracker':this[_0x3749f4(0x175)],'keystrokeHandler':this[_0x3749f4(0x172)],'keystrokeHandlerOptions':{'filter':_0x3c839d=>this[_0x3749f4(0x18c)][_0x3749f4(0x167)](_0x20e9c6=>_0x20e9c6[_0x3749f4(0x198)])[_0x3749f4(0x19e)](_0x3c839d[_0x3749f4(0x189)])},'actions':{'focusPrevious':_0x3749f4(0x15f),'focusNext':_0x3749f4(0x170)}}),this[_0x3749f4(0x196)]=new _0x4e999c(_0x2d5ef8),this[_0x3749f4(0x196)][_0x3749f4(0x188)](_0x3749f4(0x191))['to'](this,_0x3749f4(0x195),_0x38dcd9=>_0x38dcd9-this[_0x3749f4(0x19a)][_0x3749f4(0x15c)]);for(const _0x1c20cc of _0x292887[_0x3749f4(0x19f)])this[_0x3749f4(0x1a9)](_0x1c20cc);this[_0x3749f4(0x18d)](),this[_0x3749f4(0x1a3)](_0x292887[_0x3749f4(0x19f)],_0x3749f4(0x15a),(_0x49f958,_0x11c7f9)=>{const _0xa8d390=_0x3749f4,_0x349729=this[_0xa8d390(0x19d)](_0x11c7f9);this[_0xa8d390(0x195)]++,this[_0xa8d390(0x1a9)](_0x11c7f9,_0x349729),this[_0xa8d390(0x156)]();}),this[_0x3749f4(0x1a3)](_0x292887[_0x3749f4(0x19f)],_0x3749f4(0x1ab),(_0x476450,_0xee6cc)=>{const _0x88eb7a=_0x3749f4;this[_0x88eb7a(0x195)]--,this[_0x88eb7a(0x166)](_0xee6cc),this[_0x88eb7a(0x156)]();}),this[_0x3749f4(0x1a3)](_0x292887,_0x3749f4(0x193),()=>this[_0x3749f4(0x156)]()),this[_0x3749f4(0x1a3)](_0x292887,_0x3749f4(0x16b),()=>this[_0x3749f4(0x18d)]()),this['on'](_0x3749f4(0x15b),()=>this[_0x3749f4(0x156)]()),this['on'](_0x3749f4(0x16c),()=>this[_0x3749f4(0x156)]()),this[_0x3749f4(0x1a2)]({'tag':'ul','attributes':{'class':[_0x3749f4(0x17a),_0x42a4bd['if'](_0x3749f4(0x195),_0x3749f4(0x17b),_0x58118f=>!_0x58118f)],'aria-label':_0x40a85(_0x2d5ef8,_0x3749f4(0x187))},'children':this[_0x3749f4(0x183)]});}get[_0x55988f(0x155)](){const _0x2e1aa9=_0x55988f;return this[_0x2e1aa9(0x1a1)][_0x2e1aa9(0x16e)]>this[_0x2e1aa9(0x19a)][_0x2e1aa9(0x173)]&&!this[_0x2e1aa9(0x1a8)]&&!this[_0x2e1aa9(0x18b)];}[_0x55988f(0x150)](){const _0x1f65f4=_0x55988f;super[_0x1f65f4(0x150)](),this[_0x1f65f4(0x156)](),this[_0x1f65f4(0x158)]();}[_0x55988f(0x17f)](_0x2ca3a6){const _0xd4b0f=_0x55988f;-0x1===_0x2ca3a6?this[_0xd4b0f(0x16d)][_0xd4b0f(0x1a6)]():this[_0xd4b0f(0x16d)][_0xd4b0f(0x16f)]();}[_0x55988f(0x1a4)](){const _0xb14733=_0x55988f;this[_0xb14733(0x196)][_0xb14733(0x1a4)]();for(const _0x8a8513 of this[_0xb14733(0x18c)])_0x8a8513[_0xb14733(0x1a4)]();super[_0xb14733(0x1a4)]();}[_0x55988f(0x156)](){const _0x4bd672=_0x55988f;this[_0x4bd672(0x155)]?this[_0x4bd672(0x180)]():this[_0x4bd672(0x18f)]();}[_0x55988f(0x1a9)](_0x5d39b1,_0x13f997){const _0x418c52=_0x55988f,_0x21b6e9=new this[(_0x418c52(0x19a))][(_0x418c52(0x17e))](this[_0x418c52(0x1b0)],_0x5d39b1,{'maxCommentCharsWhenCollapsed':this[_0x418c52(0x19a)][_0x418c52(0x179)],'formatDateTime':this[_0x418c52(0x19a)][_0x418c52(0x154)],'editorConfig':this[_0x418c52(0x19a)][_0x418c52(0x18e)]});_0x21b6e9[_0x418c52(0x192)]=_0x5d39b1['id'],_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x181))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x17d))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x199))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x16a))['to'](this),_0x21b6e9[_0x418c52(0x169)](_0x418c52(0x1a0))['to'](this),this[_0x418c52(0x1a3)](_0x21b6e9,_0x418c52(0x168),()=>this[_0x418c52(0x15d)]()),this[_0x418c52(0x18c)][_0x418c52(0x15a)](_0x21b6e9,_0x13f997);}[_0x55988f(0x19d)](_0x2fe9f2){const _0x3f5143=_0x55988f,_0x2ae475=this[_0x3f5143(0x1a1)][_0x3f5143(0x177)](_0x2fe9f2);return this[_0x3f5143(0x197)]?this[_0x3f5143(0x197)][_0x3f5143(0x1a7)]>_0x2fe9f2[_0x3f5143(0x1a7)]?_0x2ae475-0x1:_0x2ae475:_0x2ae475-0x1;}[_0x55988f(0x18d)](){const _0x98cbb2=_0x55988f;if(this[_0x98cbb2(0x1a1)][_0x98cbb2(0x152)]&&this[_0x98cbb2(0x1a1)][_0x98cbb2(0x1af)]){const _0x3e9a15={'id':_0x98cbb2(0x17c),'author':this[_0x98cbb2(0x1a1)][_0x98cbb2(0x152)],'authoredAt':this[_0x98cbb2(0x1a1)][_0x98cbb2(0x1af)],'content':_0x40a85(this[_0x98cbb2(0x1b0)],_0x98cbb2(0x184)),'attributes':{}};this[_0x98cbb2(0x197)]=new this[(_0x98cbb2(0x19a))][(_0x98cbb2(0x17e))](this[_0x98cbb2(0x1b0)],_0x3e9a15,{'maxCommentCharsWhenCollapsed':this[_0x98cbb2(0x19a)][_0x98cbb2(0x179)],'formatDateTime':this[_0x98cbb2(0x19a)][_0x98cbb2(0x154)],'editorConfig':this[_0x98cbb2(0x19a)][_0x98cbb2(0x18e)],'isSystemComment':!0x0}),this[_0x98cbb2(0x18c)][_0x98cbb2(0x15a)](this[_0x98cbb2(0x197)],this[_0x98cbb2(0x1a1)][_0x98cbb2(0x177)](_0x3e9a15));}else this[_0x98cbb2(0x197)]&&(this[_0x98cbb2(0x18c)][_0x98cbb2(0x1ab)](this[_0x98cbb2(0x197)]),this[_0x98cbb2(0x197)][_0x98cbb2(0x1a4)](),this[_0x98cbb2(0x197)]=null);this[_0x98cbb2(0x156)]();}[_0x55988f(0x166)](_0x5bc724){const _0x35ada4=_0x55988f,_0x3a86b4=this[_0x35ada4(0x18c)][_0x35ada4(0x1ab)](_0x5bc724['id']);this[_0x35ada4(0x182)](_0x3a86b4),_0x3a86b4[_0x35ada4(0x174)]&&this[_0x35ada4(0x15d)](),_0x3a86b4[_0x35ada4(0x1a4)]();}[_0x55988f(0x15d)](){const _0x1793b5=_0x55988f;this[_0x1793b5(0x18b)]=Array[_0x1793b5(0x190)](this[_0x1793b5(0x18c)])[_0x1793b5(0x160)](_0x141a0b=>_0x141a0b[_0x1793b5(0x174)]);}[_0x55988f(0x180)](){const _0x3535d3=_0x55988f,_0x22e72d=function(_0x274224){const _0x1a40bd=_0x132c,_0x4d34c0=new _0x33ebda();for(const _0x1f66d2 of _0x274224)_0x4d34c0[_0x1a40bd(0x15a)](_0x1f66d2);return _0x4d34c0;}(this[_0x3535d3(0x18c)]),_0x4870c0=this[_0x3535d3(0x196)][_0x3535d3(0x191)];for(let _0x3ba965=0x1;_0x3ba965<=_0x4870c0;_0x3ba965++)_0x22e72d[_0x3535d3(0x1ab)](0x1);for(const _0x12b27c of _0x22e72d)_0x12b27c[_0x3535d3(0x1a5)]();_0x4870c0>0x0&&_0x22e72d[_0x3535d3(0x15a)](this[_0x3535d3(0x196)],0x1),ms(_0x1c722a(Array[_0x3535d3(0x190)](this[_0x3535d3(0x183)]),Array[_0x3535d3(0x190)](_0x22e72d)),this[_0x3535d3(0x183)],_0x22e72d);}[_0x55988f(0x18f)](){const _0x511a88=_0x55988f;ms(_0x1c722a(Array[_0x511a88(0x190)](this[_0x511a88(0x183)]),Array[_0x511a88(0x190)](this[_0x511a88(0x18c)])),this[_0x511a88(0x183)],this[_0x511a88(0x18c)]);for(const _0x2b753a of this[_0x511a88(0x183)])_0x2b753a[_0x511a88(0x164)]();}[_0x55988f(0x158)](){const _0x4febf2=_0x55988f;this[_0x4febf2(0x18c)][_0x4febf2(0x1ae)](_0x30a1a7=>{const _0x3d475a=_0x4febf2;this[_0x3d475a(0x175)][_0x3d475a(0x15a)](_0x30a1a7[_0x3d475a(0x198)]),this[_0x3d475a(0x172)][_0x3d475a(0x1a3)](_0x30a1a7[_0x3d475a(0x198)]);}),this[_0x4febf2(0x18c)]['on'](_0x4febf2(0x19c),(_0x42c594,_0x2bf718)=>{const _0x102a80=_0x4febf2;for(const _0x342213 of _0x2bf718[_0x102a80(0x18a)])this[_0x102a80(0x175)][_0x102a80(0x1ab)](_0x342213[_0x102a80(0x198)]),this[_0x102a80(0x172)][_0x102a80(0x182)](_0x342213[_0x102a80(0x198)]);for(const _0x5d3bc9 of Array[_0x102a80(0x190)](_0x2bf718[_0x102a80(0x1aa)])[_0x102a80(0x1ac)]())this[_0x102a80(0x175)][_0x102a80(0x15a)](_0x5d3bc9[_0x102a80(0x198)]),this[_0x102a80(0x172)][_0x102a80(0x1a3)](_0x5d3bc9[_0x102a80(0x198)]);});}}function _0x132c(_0x15c975,_0x9adb8d){const _0x5ebdac=_0x5ebd();return _0x132c=function(_0x132c6a,_0x396dfc){_0x132c6a=_0x132c6a-0x150;let _0x230c12=_0x5ebdac[_0x132c6a];return _0x230c12;},_0x132c(_0x15c975,_0x9adb8d);}function _0x5ebd(){const _0x3afd0f=['target','removed','hasDirtyComment','commentViews','_handleInfoComment','editorConfig','_rearrangeExpand','from','count','viewUid','commentUpdated','10226648SbSGPw','length','_collapsedCommentsView','resolvedCommentView','element','resolveCommentThread','_config','5923595oraFen','change','_calculatePosition','includes','comments','editorDestroyed','_model','setTemplate','listenTo','destroy','collapse','focusLast','authoredAt','isActive','_handleNewCommentModel','added','remove','reverse','728671uBdJCI','forEach','resolvedAt','locale','render','30xGFQnL','resolvedBy','equal','formatDateTime','_shouldCollapse','refreshVisibleViews','get','_setupKeyboardNavigation','set','add','change:isActive','maxCommentsWhenCollapsed','_updateHasDirtyComment','delete','arrowup','some','576rPRgEn','2WwTwFh','4876856LWjPzx','expand','bindTemplate','_handleRemoveCommentModel','map','change:isEditMode','delegate','editorReady','change:isResolved','change:hasDirtyComment','focusCycler','weight','focusFirst','arrowdown','3350808tcujQG','keystrokes','maxThreadTotalWeight','isEditMode','focusTracker','977490fGDaNh','_findOptimalIndex','insert','maxCommentCharsWhenCollapsed','ck-thread__comments','ck-hidden','resolved','updateComment','CommentView','focus','_rearrangeCollapse','removeComment','stopListening','visibleViews','Marked\x20as\x20resolved','12992eYwNOM','createCollection','Thread\x20comments','bind'];_0x5ebd=function(){return _0x3afd0f;};return _0x5ebd();}function ms(_0x1ec48b,_0x5a9014,_0x8fe02c){const _0x3a6e3b=_0x55988f;let _0x34932c=0x0;for(const _0xff1aaa of _0x1ec48b)switch(_0xff1aaa){case _0x3a6e3b(0x178):_0x5a9014[_0x3a6e3b(0x15a)](_0x8fe02c[_0x3a6e3b(0x157)](_0x34932c),_0x34932c),_0x34932c++;break;case _0x3a6e3b(0x15e):_0x5a9014[_0x3a6e3b(0x1ab)](_0x34932c);break;case _0x3a6e3b(0x153):_0x34932c++;}}
|
|
23
|
+
const _0x57ed71=_0x430e;(function(_0x9f2c71,_0x39fb40){const _0x1572ee=_0x430e,_0x4fe11d=_0x9f2c71();while(!![]){try{const _0x3607b6=parseInt(_0x1572ee(0x21b))/0x1+-parseInt(_0x1572ee(0x219))/0x2*(-parseInt(_0x1572ee(0x1f1))/0x3)+-parseInt(_0x1572ee(0x21d))/0x4*(parseInt(_0x1572ee(0x1dd))/0x5)+parseInt(_0x1572ee(0x1e3))/0x6*(parseInt(_0x1572ee(0x1ef))/0x7)+-parseInt(_0x1572ee(0x1f3))/0x8*(-parseInt(_0x1572ee(0x207))/0x9)+parseInt(_0x1572ee(0x200))/0xa+-parseInt(_0x1572ee(0x1e2))/0xb;if(_0x3607b6===_0x39fb40)break;else _0x4fe11d['push'](_0x4fe11d['shift']());}catch(_0x2fe7cf){_0x4fe11d['push'](_0x4fe11d['shift']());}}}(_0x4ec9,0x924ad));import{View as _0x5089df,FocusCycler as _0x5cbe18}from'ckeditor5/src/ui.js';function _0x430e(_0x5e77e8,_0xf06a8f){const _0x4ec9c2=_0x4ec9();return _0x430e=function(_0x430eb6,_0x3588db){_0x430eb6=_0x430eb6-0x1c6;let _0x39a871=_0x4ec9c2[_0x430eb6];return _0x39a871;},_0x430e(_0x5e77e8,_0xf06a8f);}function _0x4ec9(){const _0x37bc08=['change:isActive','viewUid','focusCycler','Thread\x20comments','maxCommentsWhenCollapsed','resolvedAt','ck-hidden','hasDirtyComment','editorReady','_rearrangeExpand','_handleInfoComment','focusTracker','8270590grZthw','commentUpdated','change:isEditMode','resolveCommentThread','editorConfig','focusFirst','focusLast','1745154qayLgH','map','setTemplate','added','element','add','maxCommentCharsWhenCollapsed','resolvedBy','listenTo','_model','_collapsedCommentsView','equal','delegate','render','isEditMode','isActive','set','_handleRemoveCommentModel','294TQaCQh','from','291444ZdjHtj','stopListening','20MOUFBO','keystrokes','collapse','visibleViews','resolved','_findOptimalIndex','CommentView','Marked\x20as\x20resolved','expand','destroy','arrowdown','removed','count','weight','length','resolvedCommentView','formatDateTime','_shouldCollapse','updateComment','insert','includes','createCollection','arrowup','get','_config','editorDestroyed','target','authoredAt','locale','bind','reverse','commentViews','forEach','comments','284545MKMGMe','remove','change:isResolved','ck-thread__comments','change','19937907USGRtS','1557390kyHLqh','bindTemplate','_setupKeyboardNavigation','_handleNewCommentModel','delete','removeComment','maxThreadTotalWeight','some','_updateHasDirtyComment','_calculatePosition','change:hasDirtyComment','_rearrangeCollapse','7neWdby','refreshVisibleViews','3159OMWVbJ','focus','48GYLdVQ'];_0x4ec9=function(){return _0x37bc08;};return _0x4ec9();}import{diff as _0x5d74f4,Collection as _0x381c51,FocusTracker as _0x5da4d1,KeystrokeHandler as _0x2a6913}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ea1c}from'../../../utils/common-translations.js';import _0xa6ccc0 from'./collapsedcommentsview.js';export default class xt extends _0x5089df{constructor(_0x41ae6c,_0x5aa7e5,_0x56ee08){const _0x163c07=_0x430e;super(_0x41ae6c);const _0x2cd763=this[_0x163c07(0x1e4)];this[_0x163c07(0x217)](_0x163c07(0x1fb),!0x1),this[_0x163c07(0x217)](_0x163c07(0x1c9),_0x5aa7e5[_0x163c07(0x1dc)][_0x163c07(0x1c9)]),this[_0x163c07(0x217)](_0x163c07(0x216),!0x1),this[_0x163c07(0x210)]=_0x5aa7e5,this[_0x163c07(0x1d3)]=_0x56ee08,this[_0x163c07(0x1da)]=this[_0x163c07(0x1d0)](),this[_0x163c07(0x220)]=this[_0x163c07(0x1d0)](),this[_0x163c07(0x1ca)]=null,this[_0x163c07(0x1ff)]=new _0x5da4d1(),this[_0x163c07(0x21e)]=new _0x2a6913(),this[_0x163c07(0x1f6)]=new _0x5cbe18({'focusables':this[_0x163c07(0x1da)],'focusTracker':this[_0x163c07(0x1ff)],'keystrokeHandler':this[_0x163c07(0x21e)],'keystrokeHandlerOptions':{'filter':_0x5011fe=>this[_0x163c07(0x1da)][_0x163c07(0x208)](_0x44e940=>_0x44e940[_0x163c07(0x20b)])[_0x163c07(0x1cf)](_0x5011fe[_0x163c07(0x1d5)])},'actions':{'focusPrevious':_0x163c07(0x1d1),'focusNext':_0x163c07(0x227)}}),this[_0x163c07(0x211)]=new _0xa6ccc0(_0x41ae6c),this[_0x163c07(0x211)][_0x163c07(0x1d8)](_0x163c07(0x1c7))['to'](this,_0x163c07(0x1c9),_0x4b960f=>_0x4b960f-this[_0x163c07(0x1d3)][_0x163c07(0x1f8)]);for(const _0x15dfbf of _0x5aa7e5[_0x163c07(0x1dc)])this[_0x163c07(0x1e6)](_0x15dfbf);this[_0x163c07(0x1fe)](),this[_0x163c07(0x20f)](_0x5aa7e5[_0x163c07(0x1dc)],_0x163c07(0x20c),(_0xf12f20,_0x15babd)=>{const _0x2db577=_0x163c07,_0xf6293d=this[_0x2db577(0x1ec)](_0x15babd);this[_0x2db577(0x1c9)]++,this[_0x2db577(0x1e6)](_0x15babd,_0xf6293d),this[_0x2db577(0x1f0)]();}),this[_0x163c07(0x20f)](_0x5aa7e5[_0x163c07(0x1dc)],_0x163c07(0x1de),(_0x167f40,_0x5366c2)=>{const _0x3189bc=_0x163c07;this[_0x3189bc(0x1c9)]--,this[_0x3189bc(0x218)](_0x5366c2),this[_0x3189bc(0x1f0)]();}),this[_0x163c07(0x20f)](_0x5aa7e5,_0x163c07(0x201),()=>this[_0x163c07(0x1f0)]()),this[_0x163c07(0x20f)](_0x5aa7e5,_0x163c07(0x1df),()=>this[_0x163c07(0x1fe)]()),this['on'](_0x163c07(0x1f4),()=>this[_0x163c07(0x1f0)]()),this['on'](_0x163c07(0x1ed),()=>this[_0x163c07(0x1f0)]()),this[_0x163c07(0x209)]({'tag':'ul','attributes':{'class':[_0x163c07(0x1e0),_0x2cd763['if'](_0x163c07(0x1c9),_0x163c07(0x1fa),_0x718948=>!_0x718948)],'aria-label':_0x23ea1c(_0x41ae6c,_0x163c07(0x1f7))},'children':this[_0x163c07(0x220)]});}get[_0x57ed71(0x1cc)](){const _0x46f9bc=_0x57ed71;return this[_0x46f9bc(0x210)][_0x46f9bc(0x1c8)]>this[_0x46f9bc(0x1d3)][_0x46f9bc(0x1e9)]&&!this[_0x46f9bc(0x216)]&&!this[_0x46f9bc(0x1fb)];}[_0x57ed71(0x214)](){const _0x4f99c3=_0x57ed71;super[_0x4f99c3(0x214)](),this[_0x4f99c3(0x1f0)](),this[_0x4f99c3(0x1e5)]();}[_0x57ed71(0x1f2)](_0x20dd4a){const _0x250203=_0x57ed71;-0x1===_0x20dd4a?this[_0x250203(0x1f6)][_0x250203(0x206)]():this[_0x250203(0x1f6)][_0x250203(0x205)]();}[_0x57ed71(0x226)](){const _0x97e352=_0x57ed71;this[_0x97e352(0x211)][_0x97e352(0x226)]();for(const _0x5b79e2 of this[_0x97e352(0x1da)])_0x5b79e2[_0x97e352(0x226)]();super[_0x97e352(0x226)]();}[_0x57ed71(0x1f0)](){const _0x83a800=_0x57ed71;this[_0x83a800(0x1cc)]?this[_0x83a800(0x1ee)]():this[_0x83a800(0x1fd)]();}[_0x57ed71(0x1e6)](_0x36ab35,_0x55bad9){const _0x26ed4b=_0x57ed71,_0x2f9395=new this[(_0x26ed4b(0x1d3))][(_0x26ed4b(0x223))](this[_0x26ed4b(0x1d7)],_0x36ab35,{'maxCommentCharsWhenCollapsed':this[_0x26ed4b(0x1d3)][_0x26ed4b(0x20d)],'formatDateTime':this[_0x26ed4b(0x1d3)][_0x26ed4b(0x1cb)],'editorConfig':this[_0x26ed4b(0x1d3)][_0x26ed4b(0x204)]});_0x2f9395[_0x26ed4b(0x1f5)]=_0x36ab35['id'],_0x2f9395[_0x26ed4b(0x213)](_0x26ed4b(0x1e8))['to'](this),_0x2f9395[_0x26ed4b(0x213)](_0x26ed4b(0x1cd))['to'](this),_0x2f9395[_0x26ed4b(0x213)](_0x26ed4b(0x203))['to'](this),_0x2f9395[_0x26ed4b(0x213)](_0x26ed4b(0x1fc))['to'](this),_0x2f9395[_0x26ed4b(0x213)](_0x26ed4b(0x1d4))['to'](this),this[_0x26ed4b(0x20f)](_0x2f9395,_0x26ed4b(0x202),()=>this[_0x26ed4b(0x1eb)]()),this[_0x26ed4b(0x1da)][_0x26ed4b(0x20c)](_0x2f9395,_0x55bad9);}[_0x57ed71(0x1ec)](_0x14182b){const _0x32176a=_0x57ed71,_0x354bbb=this[_0x32176a(0x210)][_0x32176a(0x222)](_0x14182b);return this[_0x32176a(0x1ca)]?this[_0x32176a(0x1ca)][_0x32176a(0x1d6)]>_0x14182b[_0x32176a(0x1d6)]?_0x354bbb-0x1:_0x354bbb:_0x354bbb-0x1;}[_0x57ed71(0x1fe)](){const _0x5cf9a1=_0x57ed71;if(this[_0x5cf9a1(0x210)][_0x5cf9a1(0x20e)]&&this[_0x5cf9a1(0x210)][_0x5cf9a1(0x1f9)]){const _0x447546={'id':_0x5cf9a1(0x221),'author':this[_0x5cf9a1(0x210)][_0x5cf9a1(0x20e)],'authoredAt':this[_0x5cf9a1(0x210)][_0x5cf9a1(0x1f9)],'content':_0x23ea1c(this[_0x5cf9a1(0x1d7)],_0x5cf9a1(0x224)),'attributes':{}};this[_0x5cf9a1(0x1ca)]=new this[(_0x5cf9a1(0x1d3))][(_0x5cf9a1(0x223))](this[_0x5cf9a1(0x1d7)],_0x447546,{'maxCommentCharsWhenCollapsed':this[_0x5cf9a1(0x1d3)][_0x5cf9a1(0x20d)],'formatDateTime':this[_0x5cf9a1(0x1d3)][_0x5cf9a1(0x1cb)],'editorConfig':this[_0x5cf9a1(0x1d3)][_0x5cf9a1(0x204)],'isSystemComment':!0x0}),this[_0x5cf9a1(0x1da)][_0x5cf9a1(0x20c)](this[_0x5cf9a1(0x1ca)],this[_0x5cf9a1(0x210)][_0x5cf9a1(0x222)](_0x447546));}else this[_0x5cf9a1(0x1ca)]&&(this[_0x5cf9a1(0x1da)][_0x5cf9a1(0x1de)](this[_0x5cf9a1(0x1ca)]),this[_0x5cf9a1(0x1ca)][_0x5cf9a1(0x226)](),this[_0x5cf9a1(0x1ca)]=null);this[_0x5cf9a1(0x1f0)]();}[_0x57ed71(0x218)](_0x434fa9){const _0x435551=_0x57ed71,_0x13b543=this[_0x435551(0x1da)][_0x435551(0x1de)](_0x434fa9['id']);this[_0x435551(0x21c)](_0x13b543),_0x13b543[_0x435551(0x215)]&&this[_0x435551(0x1eb)](),_0x13b543[_0x435551(0x226)]();}[_0x57ed71(0x1eb)](){const _0x336754=_0x57ed71;this[_0x336754(0x1fb)]=Array[_0x336754(0x21a)](this[_0x336754(0x1da)])[_0x336754(0x1ea)](_0x4b2d2e=>_0x4b2d2e[_0x336754(0x215)]);}[_0x57ed71(0x1ee)](){const _0x5d10b7=_0x57ed71,_0x7a1d33=function(_0x559c99){const _0x71389e=_0x430e,_0x5178fd=new _0x381c51();for(const _0x40f85f of _0x559c99)_0x5178fd[_0x71389e(0x20c)](_0x40f85f);return _0x5178fd;}(this[_0x5d10b7(0x1da)]),_0x24800f=this[_0x5d10b7(0x211)][_0x5d10b7(0x1c7)];for(let _0x1994fa=0x1;_0x1994fa<=_0x24800f;_0x1994fa++)_0x7a1d33[_0x5d10b7(0x1de)](0x1);for(const _0x300c25 of _0x7a1d33)_0x300c25[_0x5d10b7(0x21f)]();_0x24800f>0x0&&_0x7a1d33[_0x5d10b7(0x20c)](this[_0x5d10b7(0x211)],0x1),ms(_0x5d74f4(Array[_0x5d10b7(0x21a)](this[_0x5d10b7(0x220)]),Array[_0x5d10b7(0x21a)](_0x7a1d33)),this[_0x5d10b7(0x220)],_0x7a1d33);}[_0x57ed71(0x1fd)](){const _0x10a4e3=_0x57ed71;ms(_0x5d74f4(Array[_0x10a4e3(0x21a)](this[_0x10a4e3(0x220)]),Array[_0x10a4e3(0x21a)](this[_0x10a4e3(0x1da)])),this[_0x10a4e3(0x220)],this[_0x10a4e3(0x1da)]);for(const _0x313c7e of this[_0x10a4e3(0x220)])_0x313c7e[_0x10a4e3(0x225)]();}[_0x57ed71(0x1e5)](){const _0x5e84ff=_0x57ed71;this[_0x5e84ff(0x1da)][_0x5e84ff(0x1db)](_0x38b7aa=>{const _0x4d0837=_0x5e84ff;this[_0x4d0837(0x1ff)][_0x4d0837(0x20c)](_0x38b7aa[_0x4d0837(0x20b)]),this[_0x4d0837(0x21e)][_0x4d0837(0x20f)](_0x38b7aa[_0x4d0837(0x20b)]);}),this[_0x5e84ff(0x1da)]['on'](_0x5e84ff(0x1e1),(_0x47e7d1,_0xb2c98e)=>{const _0xefffd1=_0x5e84ff;for(const _0x2255f0 of _0xb2c98e[_0xefffd1(0x1c6)])this[_0xefffd1(0x1ff)][_0xefffd1(0x1de)](_0x2255f0[_0xefffd1(0x20b)]),this[_0xefffd1(0x21e)][_0xefffd1(0x21c)](_0x2255f0[_0xefffd1(0x20b)]);for(const _0x34d9c5 of Array[_0xefffd1(0x21a)](_0xb2c98e[_0xefffd1(0x20a)])[_0xefffd1(0x1d9)]())this[_0xefffd1(0x1ff)][_0xefffd1(0x20c)](_0x34d9c5[_0xefffd1(0x20b)]),this[_0xefffd1(0x21e)][_0xefffd1(0x20f)](_0x34d9c5[_0xefffd1(0x20b)]);});}}function ms(_0x4f8771,_0x56994b,_0x13ff46){const _0x444576=_0x57ed71;let _0x2cf778=0x0;for(const _0x5be9e7 of _0x4f8771)switch(_0x5be9e7){case _0x444576(0x1ce):_0x56994b[_0x444576(0x20c)](_0x13ff46[_0x444576(0x1d2)](_0x2cf778),_0x2cf778),_0x2cf778++;break;case _0x444576(0x1e7):_0x56994b[_0x444576(0x1de)](_0x2cf778);break;case _0x444576(0x212):_0x2cf778++;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52854c=_0x1963;function _0x109f(){const _0xf1623f=['set','45ODiiIE','4456908SwMgnx','1343679GznAYL','3444155KLuozJ','contextValue','bindTemplate','focus','5243884vOKuMg','1ciojlH','element','THREAD_CONTEXT_LABEL','7940100SpSNpR','span','2814920UxlIBs','ck-context__value','setTemplate','1493882wJtoNI'];_0x109f=function(){return _0xf1623f;};return _0x109f();}(function(_0xf5146,_0x1a3e90){const _0xf8e46e=_0x1963,_0x459752=_0xf5146();while(!![]){try{const _0x47abd9=parseInt(_0xf8e46e(0x1f0))/0x1*(parseInt(_0xf8e46e(0x1e6))/0x2)+parseInt(_0xf8e46e(0x1ea))/0x3+-parseInt(_0xf8e46e(0x1ef))/0x4+parseInt(_0xf8e46e(0x1eb))/0x5+parseInt(_0xf8e46e(0x1e9))/0x6+parseInt(_0xf8e46e(0x1f3))/0x7+-parseInt(_0xf8e46e(0x1e3))/0x8*(parseInt(_0xf8e46e(0x1e8))/0x9);if(_0x47abd9===_0x1a3e90)break;else _0x459752['push'](_0x459752['shift']());}catch(_0x4c0e1d){_0x459752['push'](_0x459752['shift']());}}}(_0x109f,0xa8937));import{View as _0x1816a6}from'ckeditor5/src/ui.js';import{getTranslation as _0x599633}from'../../../utils/common-translations.js';function _0x1963(_0x337057,_0x502022){const _0x109f7f=_0x109f();return _0x1963=function(_0x19637b,_0x73800b){_0x19637b=_0x19637b-0x1e2;let _0x478794=_0x109f7f[_0x19637b];return _0x478794;},_0x1963(_0x337057,_0x502022);}export default class ls extends _0x1816a6{constructor(_0x191c54){const _0xb02fb3=_0x1963;super(_0x191c54);const _0x18aa2c=this[_0xb02fb3(0x1ed)];this[_0xb02fb3(0x1e7)](_0xb02fb3(0x1ec),''),this[_0xb02fb3(0x1e5)]({'tag':_0xb02fb3(0x1e2),'attributes':{'class':['ck',_0xb02fb3(0x1e4)],'aria-label':_0x18aa2c['to'](_0xb02fb3(0x1ec),_0x4a67a1=>_0x599633(_0x191c54,_0xb02fb3(0x1f2),_0x4a67a1)),'tabindex':-0x1},'children':[{'text':_0x18aa2c['to'](_0xb02fb3(0x1ec))}]});}[_0x52854c(0x1ee)](){const _0xf701ea=_0x52854c;this[_0xf701ea(0x1f1)][_0xf701ea(0x1ee)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e9d4c=_0x44ee;function _0x169f(){const _0x2251d0=['4855392whLnFC','keystrokes','7LjweRA','isVisible','isReadOnly','_attachContextActions','...','add','370nbsHiB','focusTracker','lastIndexOf','ck-context-wrapper','2523504YRvzHW','value','isEnabled','scrollWidth','overlay','length','bind','focusables','context','setTemplate','_trimContextValue','93714KMkAuM','_model','ck-thread__header','_createContextView','Reopen','37250xYfHDs','contextValue','createCollection','5706VypFCB','.ck-context__value','262703yaptIx','_setupKeyboardNavigation','shift+tab','ck-context','focusCycler','.ck-context','mouseleave','label','remove','offsetWidth','_createReopenButton','isResolved','querySelector','focus','mouseenter','classList','ck-annotation__actions','95BFVmLq','substring','1914656AaAsYS','locale','reopenCommentThread','listenTo','element','focusFirst','tab','icon','isResolvable','render','Comment\x20was\x20made\x20on\x20an\x20element','2981tYDCIb','fire','contextView','hasContext','tooltip','div','ck-context--quotes','execute','reopenButtonView','bindTemplate'];_0x169f=function(){return _0x2251d0;};return _0x169f();}(function(_0x2a708c,_0x5b9554){const _0x4f8b4e=_0x44ee,_0x4d0d22=_0x2a708c();while(!![]){try{const _0x761809=parseInt(_0x4f8b4e(0xc5))/0x1+parseInt(_0x4f8b4e(0xac))/0x2*(parseInt(_0x4f8b4e(0xc3))/0x3)+-parseInt(_0x4f8b4e(0x8f))/0x4+-parseInt(_0x4f8b4e(0x8d))/0x5*(-parseInt(_0x4f8b4e(0xbb))/0x6)+-parseInt(_0x4f8b4e(0xa6))/0x7*(-parseInt(_0x4f8b4e(0xb0))/0x8)+parseInt(_0x4f8b4e(0xa4))/0x9+-parseInt(_0x4f8b4e(0xc0))/0xa*(parseInt(_0x4f8b4e(0x9a))/0xb);if(_0x761809===_0x5b9554)break;else _0x4d0d22['push'](_0x4d0d22['shift']());}catch(_0x475303){_0x4d0d22['push'](_0x4d0d22['shift']());}}}(_0x169f,0x43e69));import{View as _0x27b1b9,ButtonView as _0x45d341,FocusCycler as _0x4f89d8}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1bfd9f,KeystrokeHandler as _0x2eee6e}from'ckeditor5/src/utils.js';function _0x44ee(_0x189ca9,_0x4d8f15){const _0x169ff7=_0x169f();return _0x44ee=function(_0x44ee1f,_0x234096){_0x44ee1f=_0x44ee1f-0x87;let _0xbec8e2=_0x169ff7[_0x44ee1f];return _0xbec8e2;},_0x44ee(_0x189ca9,_0x4d8f15);}import{getTranslation as _0x886e9f}from'../../../utils/common-translations.js';import _0x39de0b from'../../../../theme/icons/undo.svg';import _0x1808de from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export default class ts extends _0x27b1b9{constructor(_0x32b0c6,_0x5c9eea){const _0x362099=_0x44ee;super(_0x32b0c6);const _0x20b6bf=this[_0x362099(0xa3)];this[_0x362099(0xbc)]=_0x5c9eea,this[_0x362099(0xa2)]=this[_0x362099(0xcf)](),this[_0x362099(0x9c)]=this[_0x362099(0xbe)](),this[_0x362099(0xb7)]=this[_0x362099(0xc2)]([this[_0x362099(0x9c)],this[_0x362099(0xa2)]]),this[_0x362099(0xad)]=new _0x1bfd9f(),this[_0x362099(0xa5)]=new _0x2eee6e(),this[_0x362099(0xc9)]=new _0x4f89d8({'focusables':this[_0x362099(0xb7)],'focusTracker':this[_0x362099(0xad)],'keystrokeHandler':this[_0x362099(0xa5)],'actions':{'focusPrevious':_0x362099(0xc7),'focusNext':_0x362099(0x95)}}),this[_0x362099(0xb6)](_0x362099(0x9d))['to'](this[_0x362099(0xbc)],_0x362099(0xb8),_0x15bc88=>!!_0x15bc88),this[_0x362099(0xb6)](_0x362099(0xc1))['to'](this[_0x362099(0xbc)],_0x362099(0xb8),_0x104d84=>_0x104d84&&_0x104d84[_0x362099(0xb1)]?this[_0x362099(0xba)](_0x104d84[_0x362099(0xb1)]):_0x886e9f(this[_0x362099(0x90)],_0x362099(0x99))),this[_0x362099(0xb9)]({'tag':_0x362099(0x9f),'attributes':{'class':[_0x362099(0xbd)]},'children':[{'tag':_0x362099(0x9f),'attributes':{'class':[_0x362099(0xaf)]},'children':[{'tag':_0x362099(0x9f),'attributes':{'class':[_0x362099(0xc8),_0x20b6bf['if'](_0x362099(0x9d),_0x362099(0xa0))]},'children':[this[_0x362099(0x9c)]]}]},{'tag':_0x362099(0x9f),'attributes':{'class':[_0x362099(0x8c)]},'children':[this[_0x362099(0xa2)]]}]});}[_0x5e9d4c(0x98)](){const _0x3880f5=_0x5e9d4c;super[_0x3880f5(0x98)](),this[_0x3880f5(0xa9)](),this[_0x3880f5(0xc6)]();}[_0x5e9d4c(0x89)](){const _0x4c7d43=_0x5e9d4c;this[_0x4c7d43(0xc9)][_0x4c7d43(0x94)]();}[_0x5e9d4c(0xcf)](){const _0x496578=_0x5e9d4c,_0x58b77b=new _0x45d341(this[_0x496578(0x90)]);return _0x58b77b[_0x496578(0xcc)]=_0x886e9f(this[_0x496578(0x90)],_0x496578(0xbf)),_0x58b77b[_0x496578(0x9e)]=_0x886e9f(this[_0x496578(0x90)],_0x496578(0xbf)),_0x58b77b[_0x496578(0x96)]=_0x39de0b,_0x58b77b[_0x496578(0xb6)](_0x496578(0xb2))['to'](this[_0x496578(0xbc)],_0x496578(0xa8),_0x299ca6=>!_0x299ca6),_0x58b77b[_0x496578(0xb6)](_0x496578(0xa7))['to'](this[_0x496578(0xbc)],_0x496578(0x97),this[_0x496578(0xbc)],_0x496578(0x87),(_0x2bf6a2,_0x4139cf)=>_0x2bf6a2&&_0x4139cf),_0x58b77b['on'](_0x496578(0xa1),()=>{const _0x51c5e2=_0x496578;this[_0x51c5e2(0x9b)](_0x51c5e2(0x91),this[_0x51c5e2(0xbc)]['id']);}),_0x58b77b;}[_0x5e9d4c(0xba)](_0xd604d8){const _0x1d5d10=_0x5e9d4c;if(_0xd604d8[_0x1d5d10(0xb5)]<0x96)return _0xd604d8;const _0x222deb=_0xd604d8[_0x1d5d10(0xae)]('\x20',0x93);return _0xd604d8[_0x1d5d10(0x8e)](0x0,_0x222deb>-0x1?_0x222deb:0x93)+_0x1d5d10(0xaa);}[_0x5e9d4c(0xa9)](){const _0x32e10b=_0x5e9d4c,_0x45f895=this[_0x32e10b(0x93)][_0x32e10b(0x88)](_0x32e10b(0xca)),_0x380b59=_0x45f895[_0x32e10b(0x88)](_0x32e10b(0xc4));this[_0x32e10b(0x92)](_0x45f895,_0x32e10b(0x8a),()=>{const _0x59f29d=_0x32e10b;_0x380b59[_0x59f29d(0xce)]<_0x380b59[_0x59f29d(0xb3)]&&_0x45f895[_0x59f29d(0x8b)][_0x59f29d(0xab)](_0x59f29d(0xb4));}),this[_0x32e10b(0x92)](_0x45f895,_0x32e10b(0xcb),()=>{const _0xe7bbc6=_0x32e10b;_0x45f895[_0xe7bbc6(0x8b)][_0xe7bbc6(0xcd)](_0xe7bbc6(0xb4));});}[_0x5e9d4c(0xc6)](){const _0x539dac=_0x5e9d4c;this[_0x539dac(0xa5)][_0x539dac(0x92)](this[_0x539dac(0x93)]);for(const _0x21999c of this[_0x539dac(0xb7)])this[_0x539dac(0xad)][_0x539dac(0xab)](_0x21999c[_0x539dac(0x93)]),this[_0x539dac(0xa5)][_0x539dac(0x92)](_0x21999c[_0x539dac(0x93)]);}[_0x5e9d4c(0xbe)](){const _0x271c29=_0x5e9d4c,_0x433967=new _0x1808de(this[_0x271c29(0x90)]);return _0x433967[_0x271c29(0xb6)](_0x271c29(0xc1))['to'](this),_0x433967;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34e6ca=_0x806a;(function(_0x556ce4,_0x21a4eb){const _0x2b923c=_0x806a,_0x41e9b3=_0x556ce4();while(!![]){try{const _0xaaab43=parseInt(_0x2b923c(0x89))/0x1*(parseInt(_0x2b923c(0x92))/0x2)+parseInt(_0x2b923c(0x77))/0x3+-parseInt(_0x2b923c(0x71))/0x4*(-parseInt(_0x2b923c(0x86))/0x5)+-parseInt(_0x2b923c(0x7a))/0x6+-parseInt(_0x2b923c(0x99))/0x7+-parseInt(_0x2b923c(0x96))/0x8+parseInt(_0x2b923c(0x88))/0x9;if(_0xaaab43===_0x21a4eb)break;else _0x41e9b3['push'](_0x41e9b3['shift']());}catch(_0x51ffe9){_0x41e9b3['push'](_0x41e9b3['shift']());}}}(_0x3b04,0x21c33));import{View as _0x7e2119}from'ckeditor5/src/ui.js';import _0xee6193 from'./commentinputview.js';function _0x3b04(){const _0x42ac4e=['497008zdsuvz','value','then','1128547mPbzIL','bindTemplate','createEditor','mousedown','ck-thread__input','delegate','bind','userView','some','180284tOcdcJ','contains','editing','view','commentInputView','editor','108999GKXYgs','editorReady','change:showInput','1021032lWQjfU','filter','preventDefault','element','_focusOnNonInteractiveMouseDown','set','ck-comment__input-container--active','setTemplate','ck-comment__input-container','listenTo','destroy','focusCycler','15moZKwo','showInput','2245194ZNTwUR','55399zJklbm','focus','target','div','extendTemplate','isFocused','editorDestroyed','ck-thread__user','showButtons','4ZNQCjb','focusTracker','getDomRoot','render'];_0x3b04=function(){return _0x42ac4e;};return _0x3b04();}function _0x806a(_0x7509c7,_0x4233a0){const _0x3b04cc=_0x3b04();return _0x806a=function(_0x806a0f,_0x8e3847){_0x806a0f=_0x806a0f-0x6b;let _0x1df196=_0x3b04cc[_0x806a0f];return _0x1df196;},_0x806a(_0x7509c7,_0x4233a0);}import{UserView as _0x4fbf7f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class kt extends _0x7e2119{constructor(_0x382b67,_0x1e021b,_0x90baa0){const _0x1a23aa=_0x806a;super(_0x382b67),this[_0x1a23aa(0x75)]=new _0xee6193(_0x382b67,_0x90baa0),this[_0x1a23aa(0x85)]=this[_0x1a23aa(0x75)][_0x1a23aa(0x85)],this[_0x1a23aa(0x75)][_0x1a23aa(0x6e)](_0x1a23aa(0x91))['to'](this[_0x1a23aa(0x75)][_0x1a23aa(0x93)],_0x1a23aa(0x8e),this[_0x1a23aa(0x75)],_0x1a23aa(0x97),(_0x1de1c5,_0x205cd0)=>_0x1de1c5||!!_0x205cd0),this[_0x1a23aa(0x7f)](_0x1a23aa(0x87),!0x1),this['on'](_0x1a23aa(0x79),()=>{const _0x2391d7=_0x1a23aa;this[_0x2391d7(0x87)]&&!this[_0x2391d7(0x75)][_0x2391d7(0x76)]&&this[_0x2391d7(0x75)][_0x2391d7(0x9b)]();}),this[_0x1a23aa(0x75)][_0x1a23aa(0x6d)](_0x1a23aa(0x78))['to'](this),this[_0x1a23aa(0x75)][_0x1a23aa(0x6d)](_0x1a23aa(0x8f))['to'](this),this[_0x1a23aa(0x6f)]=new _0x4fbf7f(_0x382b67,_0x1e021b),this[_0x1a23aa(0x6f)][_0x1a23aa(0x8d)]({'attributes':{'class':_0x1a23aa(0x90),'aria-hidden':!0x0}}),this[_0x1a23aa(0x75)][_0x1a23aa(0x8d)]({'attributes':{'class':_0x1a23aa(0x6c)}}),this[_0x1a23aa(0x81)]({'tag':_0x1a23aa(0x8c),'attributes':{'class':[_0x1a23aa(0x82),this[_0x1a23aa(0x9a)]['if'](_0x1a23aa(0x87),_0x1a23aa(0x80))]},'children':[this[_0x1a23aa(0x6f)],this[_0x1a23aa(0x75)]]});}[_0x34e6ca(0x95)](){const _0x19df7d=_0x34e6ca;super[_0x19df7d(0x95)](),this[_0x19df7d(0x7e)]();}[_0x34e6ca(0x84)](){const _0x261d57=_0x34e6ca;return this[_0x261d57(0x75)][_0x261d57(0x84)]()[_0x261d57(0x98)](()=>super[_0x261d57(0x84)]());}[_0x34e6ca(0x8a)](_0x322121){const _0x4fc759=_0x34e6ca;this[_0x4fc759(0x75)][_0x4fc759(0x8a)](_0x322121);}[_0x34e6ca(0x7e)](){const _0x49a3d7=_0x34e6ca;this[_0x49a3d7(0x83)](this[_0x49a3d7(0x7d)],_0x49a3d7(0x6b),(_0x53beae,_0x38600d)=>{const _0x58ab68=_0x49a3d7,{submitButtonView:_0x4e2666,cancelButtonView:_0x4c55fa,editor:_0x5d4ab0}=this[_0x58ab68(0x75)];[_0x4e2666[_0x58ab68(0x7d)],_0x4c55fa[_0x58ab68(0x7d)],_0x5d4ab0?_0x5d4ab0[_0x58ab68(0x73)][_0x58ab68(0x74)][_0x58ab68(0x94)]():null][_0x58ab68(0x7b)](_0x3c9b20=>_0x3c9b20)[_0x58ab68(0x70)](_0x12aa38=>_0x12aa38[_0x58ab68(0x72)](_0x38600d[_0x58ab68(0x8b)]))||(this[_0x58ab68(0x8a)](),_0x38600d[_0x58ab68(0x7c)]());});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x29b081=_0x33bf;(function(_0x31f1a2,_0x1f4ce2){const _0x5f093d=_0x33bf,_0x48022d=_0x31f1a2();while(!![]){try{const _0x1161c3=-parseInt(_0x5f093d(0x1e8))/0x1+parseInt(_0x5f093d(0x21c))/0x2+parseInt(_0x5f093d(0x1ef))/0x3+parseInt(_0x5f093d(0x1e1))/0x4+-parseInt(_0x5f093d(0x202))/0x5+parseInt(_0x5f093d(0x1ed))/0x6+-parseInt(_0x5f093d(0x1e3))/0x7;if(_0x1161c3===_0x1f4ce2)break;else _0x48022d['push'](_0x48022d['shift']());}catch(_0x41ef21){_0x48022d['push'](_0x48022d['shift']());}}}(_0x5811,0xb65d9));function _0x33bf(_0xe43a4a,_0x17a7c8){const _0x5811bd=_0x5811();return _0x33bf=function(_0x33bff3,_0x1387c6){_0x33bff3=_0x33bff3-0x1d6;let _0x198730=_0x5811bd[_0x33bff3];return _0x198730;},_0x33bf(_0xe43a4a,_0x17a7c8);}import{ConfirmMixin as _0x2a3c12,LateFocusButtonView as _0x419ca6}from'ckeditor5-collaboration/src/collaboration-core.js';import{icons as _0x4709a4}from'ckeditor5/src/core.js';import _0x336b67 from'./basecommentthreadview.js';import{getTranslation as _0x3f6ba0}from'../../../utils/common-translations.js';function _0x5811(){const _0x3f9558=['isResolved','unbind','resolveButton','icon','2058262cpEGEH','setTemplate','containerElement','getTemplate','change:isActive','div','isSystemComment','commentThreadHeaderView','stop','isEnabled','removeCommentThread','ck-thread--unlinked','isReadOnly','fire','then','locale','placeholder','commentThreadInputView','ck-comment--resolve','_cancelAllConfirms','change:archivedAt','execute','listitem','showConfirm','Write\x20a\x20comment...','ck-reset_all-excluded','ariaLabel','set','element','2536696TLNSRZ','_createResolveButton','4491970sKHBxG','querySelector','isVisible','focusables','length','645116sKUOYA','label','ck-thread--remove-confirmation','ck-thread','isUnlinked','5291148HkAqLl','check','1133721czDXMU','_bindFirstCommentView','_boundFirstCommentView','commentThreadChildren','isResolvable','_updateArchivedThreadHeader','listenTo','ck-thread--','isActive','ck-thread__container','add','actionIndicator','commentsListView','resolveCommentThread','_model','cancelConfirm','.ck-thread__container','commentViews','focus','4446375lhRADy','bind','ariaDescriptionView','archivedAt','ck-thread--active','extendTemplate','remove','removeConfirm','change:isReadOnly','isConfirm','get','Delete\x20comment\x20thread?','actionBar','createCollection','render','has','bindTemplate','removeButton','Resolve','tooltip','ck-rounded-corners','high'];_0x5811=function(){return _0x3f9558;};return _0x5811();}export default class Ct extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2a3c12(_0x336b67){constructor(_0x4faf30,_0x3cd643,_0x2e8683,_0x47d477){const _0x156fb7=_0x33bf;super(_0x4faf30,_0x3cd643,_0x2e8683,_0x47d477),this[_0x156fb7(0x1f2)]=this[_0x156fb7(0x20f)]([this[_0x156fb7(0x1fb)],this[_0x156fb7(0x22d)],this[_0x156fb7(0x204)]]),this[_0x156fb7(0x1df)](_0x156fb7(0x1fa),null),this[_0x156fb7(0x21e)]=null,this[_0x156fb7(0x1f1)]=null,this[_0x156fb7(0x22b)]=_0x4faf30,this[_0x156fb7(0x21a)]=this[_0x156fb7(0x1e2)](),this[_0x156fb7(0x21d)](this[_0x156fb7(0x21f)]()),this['on'](_0x156fb7(0x220),(_0x4f7f88,_0x664e3a,_0x53a660)=>{const _0x4bebc3=_0x156fb7;_0x53a660||this[_0x4bebc3(0x1d7)]();}),this[_0x156fb7(0x1f5)](this[_0x156fb7(0x1fd)],_0x156fb7(0x20a),(_0x5ba215,_0x48680,_0x15a4c4)=>{const _0x351ed7=_0x156fb7;_0x15a4c4&&this[_0x351ed7(0x1d7)]();}),this[_0x156fb7(0x1e7)]>0x0&&this[_0x156fb7(0x1f0)](),this[_0x156fb7(0x1f5)](this[_0x156fb7(0x1fb)][_0x156fb7(0x200)],_0x156fb7(0x1f9),()=>{const _0x58ed10=_0x156fb7;this[_0x58ed10(0x1f0)]();});}[_0x29b081(0x21f)](){const _0x34179e=_0x29b081,_0x5db545=this[_0x34179e(0x212)];return{'tag':_0x34179e(0x221),'attributes':{'class':['ck',_0x34179e(0x1eb),_0x34179e(0x1dd),_0x34179e(0x216),_0x5db545['if'](_0x34179e(0x1f7),_0x34179e(0x206)),_0x5db545['if'](_0x34179e(0x1ec),_0x34179e(0x227)),_0x5db545['if'](_0x34179e(0x20b),_0x34179e(0x1ea)),_0x5db545['to'](_0x34179e(0x1fa),_0x22670e=>_0x22670e?_0x34179e(0x1f6)+_0x22670e:'')],'data-thread-id':this[_0x34179e(0x1fd)]['id'],'tabindex':0x0,'role':_0x34179e(0x1da),'aria-label':_0x5db545['to'](_0x34179e(0x1de)),'aria-describedby':this[_0x34179e(0x204)]['id']},'children':[{'tag':_0x34179e(0x221),'attributes':{'class':_0x34179e(0x1f8)},'children':this[_0x34179e(0x1f2)]}]};}[_0x29b081(0x210)](){const _0x55ba85=_0x29b081;super[_0x55ba85(0x210)](),this[_0x55ba85(0x21e)]=this[_0x55ba85(0x1e0)][_0x55ba85(0x1e4)](_0x55ba85(0x1ff)),this[_0x55ba85(0x1fd)]['on'](_0x55ba85(0x1d8),()=>{const _0x1e3066=_0x55ba85;this[_0x1e3066(0x1f4)]();}),this[_0x55ba85(0x1f4)]();}[_0x29b081(0x1d7)](){const _0xe6c7f5=_0x29b081;this[_0xe6c7f5(0x1fe)]();for(const _0x3efb76 of this[_0xe6c7f5(0x1fb)][_0xe6c7f5(0x200)])_0x3efb76[_0xe6c7f5(0x1fe)]();}[_0x29b081(0x1f0)](){const _0x5cc9eb=_0x29b081,{locale:_0x4eb829}=this,_0x2a9353=this[_0x5cc9eb(0x1fb)][_0x5cc9eb(0x200)][_0x5cc9eb(0x20c)](0x0);_0x2a9353===this[_0x5cc9eb(0x1f1)]||_0x2a9353[_0x5cc9eb(0x222)]||(this[_0x5cc9eb(0x1f1)]=_0x2a9353,this[_0x5cc9eb(0x219)](_0x5cc9eb(0x1fa)),this[_0x5cc9eb(0x203)](_0x5cc9eb(0x1fa))['to'](_0x2a9353,_0x5cc9eb(0x1fa),_0x269a32=>_0x5cc9eb(0x208)===_0x269a32?_0x5cc9eb(0x208):null),_0x2a9353[_0x5cc9eb(0x22c)]=_0x3f6ba0(_0x4eb829,_0x5cc9eb(0x1dc)),_0x2a9353[_0x5cc9eb(0x213)]['on'](_0x5cc9eb(0x1d9),_0x464592=>{const _0x54169e=_0x5cc9eb;_0x464592[_0x54169e(0x224)](),this[_0x54169e(0x1db)](_0x3f6ba0(_0x4eb829,_0x54169e(0x20d)),this[_0x54169e(0x21e)])[_0x54169e(0x22a)](()=>{const _0x278d7d=_0x54169e;this[_0x278d7d(0x229)](_0x278d7d(0x226));});},{'priority':_0x5cc9eb(0x217)}),this['on'](_0x5cc9eb(0x209),()=>{const _0x3d93be=_0x5cc9eb;_0x2a9353[_0x3d93be(0x201)]();}),_0x2a9353[_0x5cc9eb(0x20e)][_0x5cc9eb(0x1f9)](this[_0x5cc9eb(0x21a)],0x0),_0x2a9353[_0x5cc9eb(0x1e6)][_0x5cc9eb(0x1f9)](this[_0x5cc9eb(0x21a)],0x0));}[_0x29b081(0x1e2)](){const _0x554999=_0x29b081,_0x3b6d9a=new _0x419ca6(this[_0x554999(0x22b)]);return _0x3b6d9a[_0x554999(0x1e9)]=_0x3f6ba0(this[_0x554999(0x22b)],_0x554999(0x214)),_0x3b6d9a[_0x554999(0x215)]=_0x3f6ba0(this[_0x554999(0x22b)],_0x554999(0x214)),_0x3b6d9a[_0x554999(0x21b)]=_0x4709a4[_0x554999(0x1ee)],_0x3b6d9a[_0x554999(0x207)]({'attributes':{'class':_0x554999(0x1d6)}}),_0x3b6d9a[_0x554999(0x203)](_0x554999(0x225))['to'](this[_0x554999(0x1fd)],_0x554999(0x228),_0x20c4d1=>!_0x20c4d1),_0x3b6d9a[_0x554999(0x203)](_0x554999(0x1e5))['to'](this[_0x554999(0x1fd)],_0x554999(0x1f3),this[_0x554999(0x1fd)],_0x554999(0x218),(_0x36c719,_0x4b55d9)=>_0x36c719&&!_0x4b55d9),_0x3b6d9a['on'](_0x554999(0x1d9),()=>{const _0x22913b=_0x554999;this[_0x22913b(0x229)](_0x22913b(0x1fc),this[_0x22913b(0x1fd)]['id']);}),_0x3b6d9a;}[_0x29b081(0x1f4)](){const _0x51f362=_0x29b081;this[_0x51f362(0x1fd)][_0x51f362(0x205)]?this[_0x51f362(0x1f2)][_0x51f362(0x211)](this[_0x51f362(0x223)])||(this[_0x51f362(0x1f2)][_0x51f362(0x1f9)](this[_0x51f362(0x223)],0x0),this[_0x51f362(0x1e6)][_0x51f362(0x1f9)](this[_0x51f362(0x223)],0x0)):this[_0x51f362(0x1f2)][_0x51f362(0x211)](this[_0x51f362(0x223)])&&(this[_0x51f362(0x1f2)][_0x51f362(0x208)](this[_0x51f362(0x223)]),this[_0x51f362(0x1e6)][_0x51f362(0x208)](this[_0x51f362(0x223)]));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x56b3(_0x3b0beb,_0x134bdc){const _0x4cc888=_0x4cc8();return _0x56b3=function(_0x56b354,_0x46ca52){_0x56b354=_0x56b354-0x87;let _0x51a40f=_0x4cc888[_0x56b354];return _0x51a40f;},_0x56b3(_0x3b0beb,_0x134bdc);}const _0x8d19e1=_0x56b3;(function(_0x5944cd,_0x30b135){const _0x3b57c6=_0x56b3,_0x1767e9=_0x5944cd();while(!![]){try{const _0xe4ca0e=parseInt(_0x3b57c6(0xef))/0x1+-parseInt(_0x3b57c6(0x9e))/0x2+parseInt(_0x3b57c6(0x8c))/0x3*(-parseInt(_0x3b57c6(0xf0))/0x4)+-parseInt(_0x3b57c6(0xfa))/0x5+-parseInt(_0x3b57c6(0xf5))/0x6*(-parseInt(_0x3b57c6(0xb8))/0x7)+-parseInt(_0x3b57c6(0xbf))/0x8+parseInt(_0x3b57c6(0xeb))/0x9*(parseInt(_0x3b57c6(0xa8))/0xa);if(_0xe4ca0e===_0x30b135)break;else _0x1767e9['push'](_0x1767e9['shift']());}catch(_0x490413){_0x1767e9['push'](_0x1767e9['shift']());}}}(_0x4cc8,0xcb408));import{ButtonView as _0x17ddde,createDropdown as _0x53c317,ListView as _0x5d2fb4,ListItemView as _0x570098,focusChildOnDropdownOpen as _0x3e7331}from'ckeditor5/src/ui.js';import{icons as _0x58c187}from'ckeditor5/src/core.js';import{UserView as _0x5620fb,ConfirmMixin as _0x3e1610,LateFocusDropdownButtonView as _0x19aba1}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x160632 from'./basecommentview.js';function _0x4cc8(){const _0x31df39=['getExternalCommentNote','ck-annotation__actions','ck-hidden','ck-annotation__info-name','ck-annotation__content-wrapper','editButton','ck-annotation__actions--hidden','fire','mouseleave','309esfpwf','span','items','bindTemplate','ck-annotation__info-time','isReadOnly','removeComment','_createRemoveButton','ariaDescriptionView','toMany','ck-comment--info','listenTo','some','showConfirm','actionBar','then','isEditable','remove','2428350scfASy','label','ck-comment--remove-confirmation','Remove','setTemplate','_createDropdown','element','addMany','Reply...','bind','50nHWEOg','add','Delete\x20comment?','ck-comment__main','ck-comment__external','isEditMode','ck-comment__wrapper','visibleView','actionIndicator','ck-comment__info-time','panelPosition','render','cancelConfirm','extendTemplate','ariaLabel','from','749UfXZKU','set','ck-comment__info','ck-annotation','isSystemComment','find','Show\x20more\x20items','10003256nzskPM','ck-comment__actions','ck-comment--','formatDateTime','time','focusables','_config','change:isRemovable','getUserViewNotificationText','threeVerticalDots','unbind','userView','Edit','focus','dropdown','_createCommentInputView','_attachActions','pencil','getTemplate','div','authoredAt','name','ck-annotation__user','ck-comment__actions--hidden','edit','_model','switchToEditMode','createCollection','execute','ck-comment__info-name','ck-comment--edit','_createEditButton','ck-annotation__main','isConfirm','buttonView','length','ck-comment--remove','panelView','isRemovable','placeholder','locale','author','removeButton','ck-annotation__info','4402548SzrApI','listitem','children','mouseenter','468065drLrcx','4184QSbNMp','group','icon','isExternal','blur','53772OBKjDl','withText','isVisible','isEnabled','push','2340095wAiQwO','resolvedAt','ck-comment__user','ck-comment'];_0x4cc8=function(){return _0x31df39;};return _0x4cc8();}import _0x4a98f9 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x44bd1a}from'../../../utils/common-translations.js';export default class vt extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3e1610(_0x160632){constructor(_0x1ff5ef,_0x5ad09e,_0x494f6f){const _0x4f0f2a=_0x56b3;super(_0x1ff5ef,_0x5ad09e,_0x494f6f),this[_0x4f0f2a(0xb9)](_0x4f0f2a(0xb0),null),this[_0x4f0f2a(0xb9)](_0x4f0f2a(0xe6),_0x44bd1a(_0x1ff5ef,_0x4f0f2a(0xa6))),this[_0x4f0f2a(0xa7)](_0x4f0f2a(0xd3))['to'](_0x5ad09e),this[_0x4f0f2a(0xa7)](_0x4f0f2a(0xfb))['to'](_0x5ad09e),this[_0x4f0f2a(0x9a)]=this[_0x4f0f2a(0xda)](),this[_0x4f0f2a(0xbc)]||(this[_0x4f0f2a(0x88)]=this[_0x4f0f2a(0xde)](),this[_0x4f0f2a(0xe9)]=this[_0x4f0f2a(0x93)](),this[_0x4f0f2a(0x8e)]=this[_0x4f0f2a(0xda)](),this[_0x4f0f2a(0x8e)][_0x4f0f2a(0xa5)]([this[_0x4f0f2a(0x88)],this[_0x4f0f2a(0xe9)]]),this[_0x4f0f2a(0xcd)]=this[_0x4f0f2a(0xa3)](),this[_0x4f0f2a(0x9a)][_0x4f0f2a(0xa9)](this[_0x4f0f2a(0xcd)]),this[_0x4f0f2a(0xc4)][_0x4f0f2a(0xa9)](this[_0x4f0f2a(0xcd)])),this[_0x4f0f2a(0xca)]=new _0x5620fb(_0x1ff5ef,_0x5ad09e[_0x4f0f2a(0xe8)],this[_0x4f0f2a(0xc7)]()),this[_0x4f0f2a(0xca)][_0x4f0f2a(0xb5)]({'attributes':{'class':[_0x4f0f2a(0xfc),_0x4f0f2a(0xd5)],'aria-hidden':!0x0}}),this[_0x4f0f2a(0x97)](_0x5ad09e,_0x4f0f2a(0xc6),()=>this[_0x4f0f2a(0xb4)]()),this[_0x4f0f2a(0xa2)](this[_0x4f0f2a(0xd1)]());}[_0x8d19e1(0xd1)](){const _0x4b9cd2=_0x8d19e1,_0x4bc054=this[_0x4b9cd2(0x8f)],_0x1a776a=[{'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0xba),_0x4b9cd2(0xea)]},'children':[{'tag':_0x4b9cd2(0x8d),'children':[{'text':this[_0x4b9cd2(0xca)][_0x4b9cd2(0xd4)]}],'attributes':{'class':[_0x4b9cd2(0xdc),_0x4b9cd2(0x101)]}},{'tag':_0x4b9cd2(0xc3),'attributes':{'datetime':_0x4bc054['to'](_0x4b9cd2(0xd3)),'class':[_0x4b9cd2(0xb1),_0x4b9cd2(0x90)]},'children':[{'text':_0x4bc054['to'](_0x4b9cd2(0xd3),_0x293a69=>this[_0x4b9cd2(0xc5)][_0x4b9cd2(0xc2)](_0x293a69))}]}]},{'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0xc0),_0x4b9cd2(0xff),_0x4bc054['if'](_0x4b9cd2(0xad),_0x4b9cd2(0xd6)),_0x4bc054['if'](_0x4b9cd2(0xad),_0x4b9cd2(0x89))]},'children':this[_0x4b9cd2(0x9a)]},{'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0x87)]},'children':this[_0x4b9cd2(0xaf)]},this[_0x4b9cd2(0x94)]];return this[_0x4b9cd2(0xd8)][_0x4b9cd2(0xf3)]&&_0x1a776a[_0x4b9cd2(0xf9)]({'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0xac)]},'children':[{'text':this[_0x4b9cd2(0xfe)]()}]}),{'tag':'li','attributes':{'class':[_0x4b9cd2(0xae),_0x4bc054['if'](_0x4b9cd2(0xe0),_0x4b9cd2(0xa0))],'tabindex':-0x1,'aria-label':_0x4bc054['to'](_0x4b9cd2(0xb6)),'aria-describedby':this[_0x4b9cd2(0x94)]['id'],'role':_0x4b9cd2(0xec)},'children':[{'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0xfd),_0x4b9cd2(0xbb),_0x4bc054['if'](_0x4b9cd2(0xad),_0x4b9cd2(0xdd)),_0x4bc054['if'](_0x4b9cd2(0xbc),_0x4b9cd2(0x96)),_0x4bc054['to'](_0x4b9cd2(0xb0),_0x392e07=>_0x392e07?_0x4b9cd2(0xc1)+_0x392e07:'')],'data-author-id':this[_0x4b9cd2(0xd8)][_0x4b9cd2(0xe8)]['id'],'data-comment-id':this[_0x4b9cd2(0xd8)]['id'],'role':_0x4b9cd2(0xf1)},'children':[this[_0x4b9cd2(0xca)],{'tag':_0x4b9cd2(0xd2),'attributes':{'class':[_0x4b9cd2(0xab),_0x4b9cd2(0xdf)]},'children':_0x1a776a}]}]};}[_0x8d19e1(0xde)](){const _0x45b4fa=_0x8d19e1,_0x4e2b10=new _0x17ddde(this[_0x45b4fa(0xe7)]);return _0x4e2b10[_0x45b4fa(0x9f)]=_0x44bd1a(this[_0x45b4fa(0xe7)],_0x45b4fa(0xcb)),_0x4e2b10[_0x45b4fa(0xf2)]=_0x58c187[_0x45b4fa(0xd0)],_0x4e2b10[_0x45b4fa(0xf6)]=!0x0,_0x4e2b10[_0x45b4fa(0xb5)]({'attributes':{'class':_0x45b4fa(0xdd)}}),_0x4e2b10[_0x45b4fa(0xa7)](_0x45b4fa(0xf8))['to'](this[_0x45b4fa(0xd8)],_0x45b4fa(0x91),_0x1abd31=>!_0x1abd31),_0x4e2b10[_0x45b4fa(0xa7)](_0x45b4fa(0xf7))['to'](this[_0x45b4fa(0xd8)],_0x45b4fa(0x9c)),_0x4e2b10['on'](_0x45b4fa(0xdb),()=>this[_0x45b4fa(0xd9)]()),_0x4e2b10;}[_0x8d19e1(0x93)](){const _0x3737d2=_0x8d19e1,_0x8576c9=new _0x17ddde(this[_0x3737d2(0xe7)]);return _0x8576c9[_0x3737d2(0x9f)]=_0x44bd1a(this[_0x3737d2(0xe7)],_0x3737d2(0xa1)),_0x8576c9[_0x3737d2(0xf2)]=_0x4a98f9,_0x8576c9[_0x3737d2(0xf6)]=!0x0,_0x8576c9[_0x3737d2(0xb5)]({'attributes':{'class':_0x3737d2(0xe3)}}),_0x8576c9[_0x3737d2(0xa7)](_0x3737d2(0xf8))['to'](this[_0x3737d2(0xd8)],_0x3737d2(0x91),_0x5bf2a3=>!_0x5bf2a3),_0x8576c9[_0x3737d2(0xa7)](_0x3737d2(0xf7))['to'](this[_0x3737d2(0xd8)],_0x3737d2(0xe5)),_0x8576c9['on'](_0x3737d2(0xdb),()=>{const _0x580cfa=_0x3737d2;this[_0x580cfa(0x99)](_0x44bd1a(this[_0x580cfa(0xe7)],_0x580cfa(0xaa)),this[_0x580cfa(0xa4)])[_0x580cfa(0x9b)](()=>{const _0x53cfa9=_0x580cfa;this[_0x53cfa9(0x8a)](_0x53cfa9(0x92),this[_0x53cfa9(0xd8)]['id']);});}),_0x8576c9;}[_0x8d19e1(0xa3)](){const _0x85c140=_0x8d19e1,_0x4f6378=_0x53c317(this[_0x85c140(0xe7)],_0x19aba1),_0x40386f=_0x4f6378[_0x85c140(0xe4)][_0x85c140(0xed)],_0x3feb7c=new _0x5d2fb4(this[_0x85c140(0xe7)]),_0x4314a3=_0x4f6378[_0x85c140(0x8f)];_0x3e7331(_0x4f6378,()=>this[_0x85c140(0x8e)][_0x85c140(0xbd)](_0x255be8=>_0x255be8[_0x85c140(0xf7)])),_0x4f6378[_0x85c140(0xb5)]({'attributes':{'class':[_0x4314a3['if'](_0x85c140(0xf7),_0x85c140(0x100),_0x514cdb=>!_0x514cdb)]}});const _0x4bd9d5=(_0x1ba3ef,_0x2cd2e6=-0x1)=>{const _0x404f52=_0x85c140,_0x43229a=new _0x570098(this[_0x404f52(0xe7)]);_0x43229a[_0x404f52(0xed)][_0x404f52(0xa9)](_0x1ba3ef);const _0x1ddd1f=_0x2cd2e6>-0x1?_0x2cd2e6:_0x3feb7c[_0x404f52(0x8e)][_0x404f52(0xe2)];_0x3feb7c[_0x404f52(0x8e)][_0x404f52(0xa9)](_0x43229a,_0x1ddd1f);const _0x1ce1a2=Array[_0x404f52(0xb7)](this[_0x404f52(0x8e)]);_0x4f6378[_0x404f52(0xc9)](_0x404f52(0xf8),_0x404f52(0xf7)),_0x4f6378[_0x404f52(0xa7)](_0x404f52(0xf8))[_0x404f52(0x95)](_0x1ce1a2,_0x404f52(0xf8),(..._0xd9365e)=>_0xd9365e[_0x404f52(0x98)](_0x1c7bd6=>_0x1c7bd6)),_0x4f6378[_0x404f52(0xa7)](_0x404f52(0xf7))[_0x404f52(0x95)](_0x1ce1a2,_0x404f52(0xf7),(..._0x5cdc35)=>_0x5cdc35[_0x404f52(0x98)](_0x3bb264=>_0x3bb264));};_0x4f6378[_0x85c140(0xb2)]='sw',_0x4f6378[_0x85c140(0xe1)][_0x85c140(0xb9)]({'label':_0x44bd1a(this[_0x85c140(0xe7)],_0x85c140(0xbe)),'icon':_0x58c187[_0x85c140(0xc8)]}),_0x4f6378[_0x85c140(0xf8)]=[...this[_0x85c140(0x8e)]][_0x85c140(0x98)](_0x5db457=>_0x5db457[_0x85c140(0xf8)]),_0x4f6378[_0x85c140(0xe1)][_0x85c140(0xf7)]=[...this[_0x85c140(0x8e)]][_0x85c140(0x98)](_0x570ee6=>_0x570ee6[_0x85c140(0xf7)]);for(const _0x3ebee3 of this[_0x85c140(0x8e)])_0x4bd9d5(_0x3ebee3);return _0x40386f[_0x85c140(0xa9)](_0x3feb7c),_0x4f6378[_0x85c140(0x97)](this[_0x85c140(0x8e)],_0x85c140(0xa9),(_0x24a4b7,_0x46a7be,_0x39976d)=>{_0x4bd9d5(_0x46a7be,_0x39976d);}),_0x4f6378[_0x85c140(0x97)](this[_0x85c140(0x8e)],_0x85c140(0x9d),(_0x50f52f,_0x8dc6d,_0x5955fc)=>{const _0x3a03a3=_0x85c140;_0x3feb7c[_0x3a03a3(0x8e)][_0x3a03a3(0x9d)](_0x5955fc);}),_0x4f6378;}[_0x8d19e1(0xcf)](_0x2ae534,_0x54cbcb){const _0xa06708=_0x8d19e1,_0x223d8f=_0x2ae534&&_0x2ae534[_0xa06708(0xa4)];_0x223d8f&&(this[_0xa06708(0x97)](_0x223d8f,_0xa06708(0xee),()=>this[_0xa06708(0xb0)]=_0x54cbcb),this[_0xa06708(0x97)](_0x223d8f,_0xa06708(0xcc),()=>this[_0xa06708(0xb0)]=_0x54cbcb),this[_0xa06708(0x97)](_0x223d8f,_0xa06708(0x8b),()=>this[_0xa06708(0xb0)]=null),this[_0xa06708(0x97)](_0x223d8f,_0xa06708(0xf4),()=>this[_0xa06708(0xb0)]=null));}[_0x8d19e1(0xce)](){const _0x334456=_0x8d19e1,_0x5d9f58=super[_0x334456(0xce)]();return _0x5d9f58[_0x334456(0xa7)](_0x334456(0xe6))['to'](this),_0x5d9f58;}[_0x8d19e1(0xb3)](){const _0x3271f3=_0x8d19e1;super[_0x3271f3(0xb3)](),this[_0x3271f3(0xcf)](this[_0x3271f3(0x88)],_0x3271f3(0xd7)),this[_0x3271f3(0xcf)](this[_0x3271f3(0xe9)],_0x3271f3(0x9d));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xdaea28=_0x4513;(function(_0xd1b860,_0x43a6f8){var _0x4ae3d8=_0x4513,_0x5e7df8=_0xd1b860();while(!![]){try{var _0x976181=-parseInt(_0x4ae3d8(0xf3))/0x1+-parseInt(_0x4ae3d8(0xf7))/0x2+parseInt(_0x4ae3d8(0xfc))/0x3+parseInt(_0x4ae3d8(0xfe))/0x4*(parseInt(_0x4ae3d8(0xf4))/0x5)+parseInt(_0x4ae3d8(0xf2))/0x6*(-parseInt(_0x4ae3d8(0xfa))/0x7)+-parseInt(_0x4ae3d8(0xfb))/0x8*(-parseInt(_0x4ae3d8(0xf8))/0x9)+parseInt(_0x4ae3d8(0xf5))/0xa;if(_0x976181===_0x43a6f8)break;else _0x5e7df8['push'](_0x5e7df8['shift']());}catch(_0xca200c){_0x5e7df8['push'](_0x5e7df8['shift']());}}}(_0x51f6,0x9f075));import{Plugin as _0x556f5d}from'ckeditor5/src/core.js';import _0x581bdf from'./comments/commentsrepository.js';import _0x1de675 from'./comments/commentsediting.js';import _0x4e2a02 from'./comments/commentsui.js';import _0x4b6479 from'./commentsonly.js';function _0x4513(_0x10fc6f,_0xc4580c){var _0x51f6d3=_0x51f6();return _0x4513=function(_0x4513af,_0x1ab0a3){_0x4513af=_0x4513af-0xf2;var _0xb4ecba=_0x51f6d3[_0x4513af];return _0xb4ecba;},_0x4513(_0x10fc6f,_0xc4580c);}import _0x8b42ef from'./annotations/widesidebar.js';function _0x51f6(){var _0x405f98=['4ojrQTf','254868rgTkAN','858894uOdZSW','2272965ALSNTJ','640170zsQons','requires','2183524UwTMwH','99MSsPfo','pluginName','7jzHauq','924384BckYwu','2564631GHssSR','Comments'];_0x51f6=function(){return _0x405f98;};return _0x51f6();}import _0x3bc527 from'./annotations/narrowsidebar.js';import _0x48022e from'./annotations/inlineannotations.js';import _0x1cd5dc from'./comments/commentsarchiveui.js';import _0x789365 from'./comments/commentsarchive.js';export default class f extends _0x556f5d{static get[_0xdaea28(0xf6)](){return[_0x581bdf,_0x1de675,_0x4e2a02,_0x789365,_0x1cd5dc,_0x4b6479,_0x8b42ef,_0x3bc527,_0x48022e];}static get[_0xdaea28(0xf9)](){var _0x8dea86=_0xdaea28;return _0x8dea86(0xfd);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x23a6(){const _0x1a9788=['10tUmCTn','isEnabled','editing','commentsOnly','clipboardInput','120ifAHVi','affectsData','has','editor','delete','commentsOnlyMode','addCommentThread','831556mJtECP','_enableCommentsOnlyMode','10587saitrx','commands','DragDrop','4384fiSofJ','20XfSRdk','cut','clearForceDisabled','plugins','10605dpGHPW','set','listenTo','_disableCommentsOnlyMode','view','2621130cBHZdT','stop','requires','change:isEnabled','highest','afterInit','get','config','29990bSPigy','document','pluginName','stopListening','3290040iRGgaG','9161510jKkTxK','CommentsOnly','forceDisabled','62FLhNBe'];_0x23a6=function(){return _0x1a9788;};return _0x23a6();}const _0x358174=_0x33a9;(function(_0x6d24b4,_0x2d9e03){const _0x20f233=_0x33a9,_0x3da4f2=_0x6d24b4();while(!![]){try{const _0x86981c=parseInt(_0x20f233(0x1f8))/0x1*(-parseInt(_0x20f233(0x1f0))/0x2)+parseInt(_0x20f233(0x207))/0x3*(parseInt(_0x20f233(0x20b))/0x4)+parseInt(_0x20f233(0x1f9))/0x5*(parseInt(_0x20f233(0x214))/0x6)+parseInt(_0x20f233(0x20f))/0x7*(parseInt(_0x20f233(0x20a))/0x8)+-parseInt(_0x20f233(0x1f4))/0x9+parseInt(_0x20f233(0x1f5))/0xa+-parseInt(_0x20f233(0x205))/0xb*(parseInt(_0x20f233(0x1fe))/0xc);if(_0x86981c===_0x2d9e03)break;else _0x3da4f2['push'](_0x3da4f2['shift']());}catch(_0x12413d){_0x3da4f2['push'](_0x3da4f2['shift']());}}}(_0x23a6,0x8f314));function _0x33a9(_0x2b4166,_0x3abec9){const _0x23a6ef=_0x23a6();return _0x33a9=function(_0x33a9f4,_0x48d7dc){_0x33a9f4=_0x33a9f4-0x1ea;let _0x752005=_0x23a6ef[_0x33a9f4];return _0x752005;},_0x33a9(_0x2b4166,_0x3abec9);}import{Plugin as _0xdf1da4}from'ckeditor5/src/core.js';import _0x49a45c from'./comments/commentsediting.js';export default class e extends _0xdf1da4{static get[_0x358174(0x1f2)](){const _0x429884=_0x358174;return _0x429884(0x1f6);}static get[_0x358174(0x1ea)](){return[_0x49a45c];}constructor(_0x49c67c){const _0x186d3c=_0x358174;super(_0x49c67c),this[_0x186d3c(0x210)](_0x186d3c(0x1fa),!0x1),this['on'](_0x186d3c(0x1eb),(_0x3f1ab6,_0x363edb,_0xc0c534)=>{const _0x2593fc=_0x186d3c;_0xc0c534?this[_0x2593fc(0x206)]():this[_0x2593fc(0x212)]();});}[_0x358174(0x1ed)](){const _0x3a57d6=_0x358174;!this[_0x3a57d6(0x1fa)]&&this[_0x3a57d6(0x201)][_0x3a57d6(0x1ef)][_0x3a57d6(0x1ee)](_0x3a57d6(0x1fc))&&(this[_0x3a57d6(0x1fa)]=!0x0);}[_0x358174(0x206)](){const _0x2e380b=_0x358174;for(const [_0x585cef,_0x2cde80]of this[_0x2e380b(0x201)][_0x2e380b(0x208)])_0x2cde80[_0x2e380b(0x1ff)]&&_0x2e380b(0x204)!==_0x585cef&&_0x2cde80[_0x2e380b(0x1f7)](_0x2e380b(0x203));this[_0x2e380b(0x201)][_0x2e380b(0x20e)][_0x2e380b(0x200)](_0x2e380b(0x209))&&this[_0x2e380b(0x201)][_0x2e380b(0x20e)][_0x2e380b(0x1ee)](_0x2e380b(0x209))[_0x2e380b(0x1f7)](_0x2e380b(0x203));const _0x583520=this[_0x2e380b(0x201)][_0x2e380b(0x1fb)][_0x2e380b(0x213)][_0x2e380b(0x1f1)];this[_0x2e380b(0x211)](_0x583520,_0x2e380b(0x20c),_0x858bf7=>_0x858bf7[_0x2e380b(0x215)](),{'priority':_0x2e380b(0x1ec)}),this[_0x2e380b(0x211)](_0x583520,_0x2e380b(0x1fd),_0x537d30=>_0x537d30[_0x2e380b(0x215)](),{'priority':_0x2e380b(0x1ec)}),this[_0x2e380b(0x211)](_0x583520,_0x2e380b(0x202),_0x44444c=>_0x44444c[_0x2e380b(0x215)](),{'priority':_0x2e380b(0x1ec)});}[_0x358174(0x212)](){const _0x1a6f65=_0x358174;for(const [_0x5f22f4,_0x1c9f4b]of this[_0x1a6f65(0x201)][_0x1a6f65(0x208)])_0x1c9f4b[_0x1a6f65(0x1ff)]&&_0x1a6f65(0x204)!==_0x5f22f4&&_0x1c9f4b[_0x1a6f65(0x20d)](_0x1a6f65(0x203));this[_0x1a6f65(0x1f3)](this[_0x1a6f65(0x201)][_0x1a6f65(0x1fb)][_0x1a6f65(0x213)][_0x1a6f65(0x1f1)]);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42d294,_0x5567d7){var _0x4175fe=_0x42d4,_0x36636f=_0x42d294();while(!![]){try{var _0x3cb759=parseInt(_0x4175fe(0x16e))/0x1*(parseInt(_0x4175fe(0x16a))/0x2)+-parseInt(_0x4175fe(0x170))/0x3*(parseInt(_0x4175fe(0x16d))/0x4)+-parseInt(_0x4175fe(0x173))/0x5+-parseInt(_0x4175fe(0x16b))/0x6+-parseInt(_0x4175fe(0x172))/0x7+-parseInt(_0x4175fe(0x16f))/0x8+parseInt(_0x4175fe(0x171))/0x9*(parseInt(_0x4175fe(0x16c))/0xa);if(_0x3cb759===_0x5567d7)break;else _0x36636f['push'](_0x36636f['shift']());}catch(_0x8aa13f){_0x36636f['push'](_0x36636f['shift']());}}}(_0x3642,0xe40de));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';function _0x42d4(_0x264135,_0x1d7acd){var _0x3642c2=_0x3642();return _0x42d4=function(_0x42d4a0,_0x5332ec){_0x42d4a0=_0x42d4a0-0x16a;var _0x58c001=_0x3642c2[_0x42d4a0];return _0x58c001;},_0x42d4(_0x264135,_0x1d7acd);}export{default as Annotation}from'./annotations/annotation.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationCollection}from'./annotations/annotationcollection.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as 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 _0x3642(){var _0x4b9b1b=['855636zRLrrY','5480MGuMTN','396KwqWeA','471220dtWySF','14797288EKfFew','40197QnUhsJ','110844cEjShT','8562757HQNXbo','8721295OeuHUq','2sSjdNc'];_0x3642=function(){return _0x4b9b1b;};return _0x3642();}export{default as CommentsArchive}from'./comments/commentsarchive.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0xf64510,_0x3f8c22,_0x14a7e2){const t=_0xf64510['t'];switch(_0x3f8c22){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'},_0x14a7e2);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'},_0x14a7e2);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'},_0x14a7e2);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'},_0x14a7e2);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x14a7e2);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'},_0x14a7e2);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'},_0x14a7e2);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'},_0x14a7e2);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 _0x26c6(){const _0x47cdee=['28578dyKLnF','class','4272daLLmh','2072973GbbIqu','9YMpaAg','disconnect','610rjcvRp','characterData','childList','15UiOiTU','137980NuNYTZ','435943uVxahh','type','attributes','1079uGcHhu','cancel','2LSjeyk','6sXaDOk','2343985qIuOuw','8868QUQvcR','observe','attributeName'];_0x26c6=function(){return _0x47cdee;};return _0x26c6();}function _0x140b(_0x4d6ba7,_0x2da234){const _0x26c667=_0x26c6();return _0x140b=function(_0x140bc3,_0x3de406){_0x140bc3=_0x140bc3-0x164;let _0x2da0a2=_0x26c667[_0x140bc3];return _0x2da0a2;},_0x140b(_0x4d6ba7,_0x2da234);}(function(_0x107c6f,_0x4df9d4){const _0x3e53de=_0x140b,_0xbd9316=_0x107c6f();while(!![]){try{const _0x336810=parseInt(_0x3e53de(0x178))/0x1*(-parseInt(_0x3e53de(0x167))/0x2)+-parseInt(_0x3e53de(0x176))/0x3*(parseInt(_0x3e53de(0x177))/0x4)+parseInt(_0x3e53de(0x169))/0x5+-parseInt(_0x3e53de(0x168))/0x6*(-parseInt(_0x3e53de(0x170))/0x7)+parseInt(_0x3e53de(0x16f))/0x8*(-parseInt(_0x3e53de(0x171))/0x9)+-parseInt(_0x3e53de(0x173))/0xa*(-parseInt(_0x3e53de(0x16d))/0xb)+parseInt(_0x3e53de(0x16a))/0xc*(-parseInt(_0x3e53de(0x165))/0xd);if(_0x336810===_0x4df9d4)break;else _0xbd9316['push'](_0xbd9316['shift']());}catch(_0x4b4ad8){_0xbd9316['push'](_0xbd9316['shift']());}}}(_0x26c6,0x3dcc5));import{throttle as _0x1f57c0}from'lodash-es';export default function Lt(_0x7ecaa){const _0x22d0fe=_0x1f57c0(_0x7ecaa,0x1e),_0x141254=new MutationObserver(_0x6df57a=>{const _0x151a98=_0x140b;for(const _0x524a5f of _0x6df57a)(_0x151a98(0x164)==_0x524a5f[_0x151a98(0x179)]&&_0x151a98(0x16e)==_0x524a5f[_0x151a98(0x16c)]||_0x151a98(0x175)==_0x524a5f[_0x151a98(0x179)]||_0x151a98(0x174)==_0x524a5f[_0x151a98(0x179)])&&_0x22d0fe();});return{'attach'(_0x580bc1){const _0x348cfb=_0x140b;_0x141254[_0x348cfb(0x16b)](_0x580bc1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x128b06=_0x140b;_0x141254[_0x128b06(0x172)](),_0x22d0fe[_0x128b06(0x166)]();}};}
|