@ckeditor/ckeditor5-comments 46.0.1-alpha.13 → 46.0.1-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +18 -18
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/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/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/view/basecommentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x563453=_0x6205;(function(_0x330ab8,_0x3c41c3){const _0x380866=_0x6205,_0x39adec=_0x330ab8();while(!![]){try{const _0x6dba4d=-parseInt(_0x380866(0x217))/0x1+-parseInt(_0x380866(0x1e6))/0x2*(parseInt(_0x380866(0x1f3))/0x3)+-parseInt(_0x380866(0x216))/0x4*(-parseInt(_0x380866(0x1fb))/0x5)+-parseInt(_0x380866(0x206))/0x6*(parseInt(_0x380866(0x1f6))/0x7)+parseInt(_0x380866(0x1f8))/0x8+-parseInt(_0x380866(0x1f7))/0x9*(-parseInt(_0x380866(0x1df))/0xa)+parseInt(_0x380866(0x1fe))/0xb*(parseInt(_0x380866(0x1e0))/0xc);if(_0x6dba4d===_0x3c41c3)break;else _0x39adec['push'](_0x39adec['shift']());}catch(_0x26f064){_0x39adec['push'](_0x39adec['shift']());}}}(_0x4df4,0xc3e1b));import{View as _0x1cd386,FocusCycler as _0xa1eb04,ButtonView as _0x3e19c4}from'ckeditor5/src/ui.js';import{FocusTracker as _0xb87101,KeystrokeHandler as _0x42e4bc}from'ckeditor5/src/utils.js';function _0x4df4(){const _0x23e708=['tab','_setupKeyboardNavigation','withText','cancelButtonView','_isDestroyed','3685908DzsLRe','10862iuOIGk','execute','element','stop','showButtons','fire','listenTo','Ctrl+Enter','submit','Reply...','length','submitLabel','set','_editorConfig','_editorCreationPromise','getData','create','reverse','then','destroy','editorDestroyed','firstChild','placeholder','focusLast','ck-comment__input-actions--cancel','model','_createSubmitButton','bindTemplate','focusCycler','focusFirst','extendTemplate','5410HFDOly','276ysDMzD','cancel','added','createEditor','Cancel','disabledSubmit','695974DWfudy','TOO_LONG_COMMENT_ALERT','high','shift+tab','add','from','ck-comment__input-actions--submit','change','focusables','Esc','document','focusTracker','ck-comment__input-wrapper','12oGFgAz','render','editorReady','7OQSkid','5967yzCKTZ','3993048ktDZtZ','keystrokes','ck-comment__input-actions','5qMzvpq','ck-comment__input-actions--active','forEach','336369IEJZht','setData','bind','submitButtonView','value','editor','trim','isEnabled','1664802hsdMaX','setTemplate','focus','_createCancelButton','div','createCollection','initialData','label','Reply','view','insertBefore'];_0x4df4=function(){return _0x23e708;};return _0x4df4();}import{CommentEditor as _0x1a1a39}from'../commenteditor/commenteditor.js';import{getTranslation as _0x6c9c3f}from'../../../utils/common-translations.js';function _0x6205(_0x5f4606,_0x308cc8){const _0x4df415=_0x4df4();return _0x6205=function(_0x620512,_0x1978ae){_0x620512=_0x620512-0x1de;let _0x3eb308=_0x4df415[_0x620512];return _0x3eb308;},_0x6205(_0x5f4606,_0x308cc8);}export class CommentInputView extends _0x1cd386{[_0x563453(0x1f9)];[_0x563453(0x1f1)];[_0x563453(0x1ee)];[_0x563453(0x233)];[_0x563453(0x201)];[_0x563453(0x214)];[_0x563453(0x224)];constructor(_0x748e3e,_0x30e48c={}){const _0x371bb7=_0x563453;super(_0x748e3e),this[_0x371bb7(0x203)]=null,this[_0x371bb7(0x224)]=_0x30e48c,this[_0x371bb7(0x223)](_0x371bb7(0x202),_0x30e48c[_0x371bb7(0x20c)]||''),this[_0x371bb7(0x223)](_0x371bb7(0x1e5),!0x1),this[_0x371bb7(0x223)](_0x371bb7(0x21b),!0x0),this[_0x371bb7(0x223)](_0x371bb7(0x22d),_0x6c9c3f(_0x748e3e,_0x371bb7(0x220))),this[_0x371bb7(0x223)](_0x371bb7(0x222),_0x6c9c3f(_0x748e3e,_0x371bb7(0x20e))),this[_0x371bb7(0x201)]=this[_0x371bb7(0x231)](),this[_0x371bb7(0x214)]=this[_0x371bb7(0x209)](),this[_0x371bb7(0x1ee)]=this[_0x371bb7(0x20b)]([this[_0x371bb7(0x201)],this[_0x371bb7(0x214)]]),this[_0x371bb7(0x1f9)]=new _0x42e4bc(),this[_0x371bb7(0x1f1)]=new _0xb87101(),this[_0x371bb7(0x233)]=new _0xa1eb04({'focusables':this[_0x371bb7(0x1ee)],'focusTracker':this[_0x371bb7(0x1f1)],'keystrokeHandler':this[_0x371bb7(0x1f9)],'actions':{'focusPrevious':_0x371bb7(0x1e9),'focusNext':_0x371bb7(0x211)}}),this[_0x371bb7(0x207)]({'tag':_0x371bb7(0x20a),'attributes':{'class':[_0x371bb7(0x1f2)]},'children':[{'tag':_0x371bb7(0x20a),'attributes':{'class':[_0x371bb7(0x1fa),this[_0x371bb7(0x232)]['if'](_0x371bb7(0x21b),_0x371bb7(0x1fc))]},'children':[this[_0x371bb7(0x201)],this[_0x371bb7(0x214)]]}]}),this[_0x371bb7(0x1f9)][_0x371bb7(0x223)](_0x371bb7(0x1ef),(_0x3a3d29,_0x16d7f4)=>{const _0x42fbb7=_0x371bb7;this[_0x42fbb7(0x214)][_0x42fbb7(0x21c)](_0x42fbb7(0x218)),_0x16d7f4();}),this[_0x371bb7(0x1f9)][_0x371bb7(0x223)](_0x371bb7(0x21e),(_0x57e765,_0x20ecc3)=>{const _0x445192=_0x371bb7;this[_0x445192(0x201)][_0x445192(0x205)]&&(this[_0x445192(0x201)][_0x445192(0x21c)](_0x445192(0x218)),_0x20ecc3());}),this['on'](_0x371bb7(0x21f),(_0x28121c,_0x15ec88)=>{const _0x192f1e=_0x371bb7;_0x15ec88[_0x192f1e(0x221)]>0xfde8?(alert(_0x6c9c3f(_0x748e3e,_0x192f1e(0x1e7),[_0x15ec88[_0x192f1e(0x221)],0xfde8])),_0x28121c[_0x192f1e(0x21a)]()):this[_0x192f1e(0x203)][_0x192f1e(0x1ff)]('');},{'priority':_0x371bb7(0x1e8)});}[_0x563453(0x1f4)](){const _0x2c57d6=_0x563453;super[_0x2c57d6(0x1f4)](),this[_0x2c57d6(0x212)]();}[_0x563453(0x1e3)](){const _0x3f2d61=_0x563453;return this[_0x3f2d61(0x203)]||(this[_0x3f2d61(0x203)]=new _0x1a1a39(this[_0x3f2d61(0x224)]),this[_0x3f2d61(0x225)]=this[_0x3f2d61(0x203)][_0x3f2d61(0x227)]()[_0x3f2d61(0x229)](()=>{const _0x2490e2=_0x3f2d61;if(this[_0x2490e2(0x215)])return;const _0x1ecaac=this[_0x2490e2(0x203)];this[_0x2490e2(0x219)][_0x2490e2(0x210)](_0x1ecaac['ui'][_0x2490e2(0x219)],this[_0x2490e2(0x219)][_0x2490e2(0x22c)]),_0x1ecaac[_0x2490e2(0x230)][_0x2490e2(0x1f0)]['on'](_0x2490e2(0x1ed),()=>this[_0x2490e2(0x202)]=_0x1ecaac[_0x2490e2(0x226)]()),_0x1ecaac[_0x2490e2(0x200)](_0x2490e2(0x22d))['to'](this),this[_0x2490e2(0x1ee)][_0x2490e2(0x1ea)](_0x1ecaac['ui'][_0x2490e2(0x20f)],0x0),this[_0x2490e2(0x21c)](_0x2490e2(0x1f5),this[_0x2490e2(0x203)]);})),this[_0x3f2d61(0x225)];}[_0x563453(0x208)](_0x158612){const _0x349c5e=_0x563453;-0x1===_0x158612?(this[_0x349c5e(0x233)][_0x349c5e(0x234)](),this[_0x349c5e(0x233)][_0x349c5e(0x22e)]()):this[_0x349c5e(0x233)][_0x349c5e(0x234)]();}async[_0x563453(0x22a)](){const _0x23f1bc=_0x563453;this[_0x23f1bc(0x215)]||(this[_0x23f1bc(0x215)]=!0x0,this[_0x23f1bc(0x203)]&&(await this[_0x23f1bc(0x225)],await this[_0x23f1bc(0x203)][_0x23f1bc(0x22a)](),this[_0x23f1bc(0x21c)](_0x23f1bc(0x22b),this[_0x23f1bc(0x203)])),await super[_0x23f1bc(0x22a)]());}[_0x563453(0x231)](){const _0xd22e5b=_0x563453,{locale:_0x449e6b}=this,_0xd26131=new _0x3e19c4(_0x449e6b);return _0xd26131[_0xd22e5b(0x1de)]({'attributes':{'class':[_0xd22e5b(0x1ec)]}}),_0xd26131[_0xd22e5b(0x213)]=!0x0,_0xd26131[_0xd22e5b(0x200)](_0xd22e5b(0x20d))['to'](this,_0xd22e5b(0x222)),_0xd26131['on'](_0xd22e5b(0x218),()=>{const _0x19b341=_0xd22e5b;this[_0x19b341(0x21c)](_0x19b341(0x21f),this[_0x19b341(0x202)]);}),_0xd26131[_0xd22e5b(0x200)](_0xd22e5b(0x205))['to'](this,_0xd22e5b(0x202),this,_0xd22e5b(0x1e5),(_0x57134c,_0x37d4b6)=>!_0x37d4b6&&!!_0x57134c[_0xd22e5b(0x204)]()),_0xd26131;}[_0x563453(0x209)](){const _0x5a044d=_0x563453,{locale:_0x7480ff}=this,_0x5e308f=new _0x3e19c4(_0x7480ff);return _0x5e308f[_0x5a044d(0x1de)]({'attributes':{'class':[_0x5a044d(0x22f)]}}),_0x5e308f[_0x5a044d(0x20d)]=_0x6c9c3f(_0x7480ff,_0x5a044d(0x1e4)),_0x5e308f[_0x5a044d(0x213)]=!0x0,_0x5e308f['on'](_0x5a044d(0x218),()=>{const _0x274ed3=_0x5a044d;this[_0x274ed3(0x203)][_0x274ed3(0x1ff)](''),this[_0x274ed3(0x21c)](_0x274ed3(0x1e1));}),_0x5e308f;}[_0x563453(0x212)](){const _0x49ff60=_0x563453;this[_0x49ff60(0x1f9)][_0x49ff60(0x21d)](this[_0x49ff60(0x219)]),this[_0x49ff60(0x1ee)][_0x49ff60(0x1fd)](_0x2298ac=>{const _0x42cd21=_0x49ff60;this[_0x42cd21(0x1f1)][_0x42cd21(0x1ea)](_0x2298ac[_0x42cd21(0x219)]);}),this[_0x49ff60(0x1ee)]['on'](_0x49ff60(0x1ed),(_0x20aa29,_0x59d213)=>{const _0x2876e8=_0x49ff60;for(const _0x1f30fe of Array[_0x2876e8(0x1eb)](_0x59d213[_0x2876e8(0x1e2)])[_0x2876e8(0x228)]())this[_0x2876e8(0x1f1)][_0x2876e8(0x1ea)](_0x1f30fe[_0x2876e8(0x219)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c73(_0x2dcc50,_0x952312){const _0x361a20=_0x361a();return _0x5c73=function(_0x5c7335,_0x357e72){_0x5c7335=_0x5c7335-0x1c4;let _0x7b2ab5=_0x361a20[_0x5c7335];return _0x7b2ab5;},_0x5c73(_0x2dcc50,_0x952312);}const _0x4e5673=_0x5c73;(function(_0x26cdb4,_0x3c189c){const _0x7a7b0f=_0x5c73,_0x2e038d=_0x26cdb4();while(!![]){try{const _0x4621fd=parseInt(_0x7a7b0f(0x1db))/0x1*(parseInt(_0x7a7b0f(0x1fc))/0x2)+parseInt(_0x7a7b0f(0x1e1))/0x3*(-parseInt(_0x7a7b0f(0x1fa))/0x4)+-parseInt(_0x7a7b0f(0x1cf))/0x5+-parseInt(_0x7a7b0f(0x1ca))/0x6*(parseInt(_0x7a7b0f(0x1fd))/0x7)+parseInt(_0x7a7b0f(0x1e5))/0x8*(parseInt(_0x7a7b0f(0x1d8))/0x9)+parseInt(_0x7a7b0f(0x1f3))/0xa*(parseInt(_0x7a7b0f(0x1d6))/0xb)+-parseInt(_0x7a7b0f(0x1c9))/0xc*(-parseInt(_0x7a7b0f(0x1df))/0xd);if(_0x4621fd===_0x3c189c)break;else _0x2e038d['push'](_0x2e038d['shift']());}catch(_0x4c6178){_0x2e038d['push'](_0x2e038d['shift']());}}}(_0x361a,0x95bf8));import{View as _0x4d539e,ButtonView as _0x3199eb,FocusCycler as _0x50296b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1b2678,KeystrokeHandler as _0x28f75e}from'ckeditor5/src/utils.js';import{IconUndo as _0x14a4c3}from'ckeditor5/src/icons.js';import{getTranslation as _0x3565af}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x219d63}from'./commentthreadheadercontextview.js';function _0x361a(){const _0xe27698=['Reopen','.ck-context','mouseenter','isEnabled','mouseleave','351910sHXAgd','label','offsetWidth','classList','Comment\x20was\x20made\x20on\x20an\x20element','lastIndexOf','isVisible','4xzhMwK','_model','1525006QpOgjS','4559079gPqeZk','focus','remove','_createContextView','focusFirst','ck-context-wrapper','div','contextView','setTemplate','fire','substring','ck-context--quotes','length','isResolvable','bind','render','reopenButtonView','tab','createCollection','element','overlay','...','contextValue','5688qZyzYN','6XjmWyC','bindTemplate','icon','locale','focusTracker','1984570HumtRn','keystrokes','ck-context','execute','value','isResolved','_trimContextValue','55sMSlWB','_createReopenButton','3516984NdvZSZ','ck-annotation__actions','context','1PQWKcF','_setupKeyboardNavigation','ck-thread__header','isReadOnly','35282vNRvbN','listenTo','2862273UHgmFl','reopenCommentThread','shift+tab','add','8rFFciu','scrollWidth','hasContext','querySelector','focusables','_attachContextActions','focusCycler','tooltip','.ck-context__value'];_0x361a=function(){return _0xe27698;};return _0x361a();}export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x4d539e{[_0x4e5673(0x1fb)];[_0x4e5673(0x20d)];[_0x4e5673(0x204)];[_0x4e5673(0x1e9)];[_0x4e5673(0x1ce)];[_0x4e5673(0x1d0)];[_0x4e5673(0x1eb)];constructor(_0x50a462,_0x5f0f80){const _0x2b2d69=_0x4e5673;super(_0x50a462);const _0x31fb92=this[_0x2b2d69(0x1cb)];this[_0x2b2d69(0x1fb)]=_0x5f0f80,this[_0x2b2d69(0x20d)]=this[_0x2b2d69(0x1d7)](),this[_0x2b2d69(0x204)]=this[_0x2b2d69(0x200)](),this[_0x2b2d69(0x1e9)]=this[_0x2b2d69(0x1c4)]([this[_0x2b2d69(0x204)],this[_0x2b2d69(0x20d)]]),this[_0x2b2d69(0x1ce)]=new _0x1b2678(),this[_0x2b2d69(0x1d0)]=new _0x28f75e(),this[_0x2b2d69(0x1eb)]=new _0x50296b({'focusables':this[_0x2b2d69(0x1e9)],'focusTracker':this[_0x2b2d69(0x1ce)],'keystrokeHandler':this[_0x2b2d69(0x1d0)],'actions':{'focusPrevious':_0x2b2d69(0x1e3),'focusNext':_0x2b2d69(0x20e)}}),this[_0x2b2d69(0x20b)](_0x2b2d69(0x1e7))['to'](this[_0x2b2d69(0x1fb)],_0x2b2d69(0x1da),_0x5756f8=>!!_0x5756f8),this[_0x2b2d69(0x20b)](_0x2b2d69(0x1c8))['to'](this[_0x2b2d69(0x1fb)],_0x2b2d69(0x1da),_0x2ebcad=>_0x2ebcad&&_0x2ebcad[_0x2b2d69(0x1d3)]?this[_0x2b2d69(0x1d5)](_0x2ebcad[_0x2b2d69(0x1d3)]):_0x3565af(this[_0x2b2d69(0x1cd)],_0x2b2d69(0x1f7))),this[_0x2b2d69(0x205)]({'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1dd)]},'children':[{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x202)]},'children':[{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1d1),_0x31fb92['if'](_0x2b2d69(0x1e7),_0x2b2d69(0x208))]},'children':[this[_0x2b2d69(0x204)]]}]},{'tag':_0x2b2d69(0x203),'attributes':{'class':[_0x2b2d69(0x1d9)]},'children':[this[_0x2b2d69(0x20d)]]}]});}[_0x4e5673(0x20c)](){const _0x3f59ac=_0x4e5673;super[_0x3f59ac(0x20c)](),this[_0x3f59ac(0x1ea)](),this[_0x3f59ac(0x1dc)]();}[_0x4e5673(0x1fe)](){const _0x3dbdd1=_0x4e5673;this[_0x3dbdd1(0x1eb)][_0x3dbdd1(0x201)]();}[_0x4e5673(0x1d7)](){const _0x169712=_0x4e5673,_0x53f2ab=new _0x3199eb(this[_0x169712(0x1cd)]);return _0x53f2ab[_0x169712(0x1f4)]=_0x3565af(this[_0x169712(0x1cd)],_0x169712(0x1ee)),_0x53f2ab[_0x169712(0x1ec)]=_0x3565af(this[_0x169712(0x1cd)],_0x169712(0x1ee)),_0x53f2ab[_0x169712(0x1cc)]=_0x14a4c3,_0x53f2ab[_0x169712(0x20b)](_0x169712(0x1f1))['to'](this[_0x169712(0x1fb)],_0x169712(0x1de),_0x4b6945=>!_0x4b6945),_0x53f2ab[_0x169712(0x20b)](_0x169712(0x1f9))['to'](this[_0x169712(0x1fb)],_0x169712(0x20a),this[_0x169712(0x1fb)],_0x169712(0x1d4),(_0x580e95,_0x3ef555)=>_0x580e95&&_0x3ef555),_0x53f2ab['on'](_0x169712(0x1d2),()=>{const _0x210f7f=_0x169712;this[_0x210f7f(0x206)](_0x210f7f(0x1e2),this[_0x210f7f(0x1fb)]['id']);}),_0x53f2ab;}[_0x4e5673(0x1d5)](_0x49a3f8){const _0x30e8c2=_0x4e5673;if(_0x49a3f8[_0x30e8c2(0x209)]<0x96)return _0x49a3f8;const _0xb21ab6=_0x49a3f8[_0x30e8c2(0x1f8)]('\x20',0x93);return _0x49a3f8[_0x30e8c2(0x207)](0x0,_0xb21ab6>-0x1?_0xb21ab6:0x93)+_0x30e8c2(0x1c7);}[_0x4e5673(0x1ea)](){const _0x58e9e4=_0x4e5673,_0x2b0cb2=this[_0x58e9e4(0x1c5)][_0x58e9e4(0x1e8)](_0x58e9e4(0x1ef)),_0x5a4fef=_0x2b0cb2[_0x58e9e4(0x1e8)](_0x58e9e4(0x1ed));this[_0x58e9e4(0x1e0)](_0x2b0cb2,_0x58e9e4(0x1f0),()=>{const _0x5aced6=_0x58e9e4;_0x5a4fef[_0x5aced6(0x1f5)]<_0x5a4fef[_0x5aced6(0x1e6)]&&_0x2b0cb2[_0x5aced6(0x1f6)][_0x5aced6(0x1e4)](_0x5aced6(0x1c6));}),this[_0x58e9e4(0x1e0)](_0x2b0cb2,_0x58e9e4(0x1f2),()=>{const _0x543dbf=_0x58e9e4;_0x2b0cb2[_0x543dbf(0x1f6)][_0x543dbf(0x1ff)](_0x543dbf(0x1c6));});}[_0x4e5673(0x1dc)](){const _0x4818af=_0x4e5673;this[_0x4818af(0x1d0)][_0x4818af(0x1e0)](this[_0x4818af(0x1c5)]);for(const _0x3cfaa8 of this[_0x4818af(0x1e9)])this[_0x4818af(0x1ce)][_0x4818af(0x1e4)](_0x3cfaa8[_0x4818af(0x1c5)]),this[_0x4818af(0x1d0)][_0x4818af(0x1e0)](_0x3cfaa8[_0x4818af(0x1c5)]);}[_0x4e5673(0x200)](){const _0xa58353=_0x4e5673,_0x439d0c=new _0x219d63(this[_0xa58353(0x1cd)]);return _0x439d0c[_0xa58353(0x20b)](_0xa58353(0x1c8))['to'](this),_0x439d0c;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x37e9(){const _0x55c259=['_model','Remove','bindTemplate','blur','1299542fxStMC','ck-comment','Show\x20more\x20items','_createDropdown','ck-comment--edit','151528ASkinL','length','ck-annotation__info','_config','span','switchToEditMode','find','Reply...','ck-comment__info-name','isSystemComment','2334633UHVsNy','ck-annotation__info-name','actionBar','userView','children','toMany','ck-comment__actions--hidden','isVisible','then','from','ck-hidden','createCollection','authoredAt','ck-comment__info-time','ck-comment__actions','showConfirm','dropdown','isEditMode','unbind','div','getExternalCommentNote','getUserViewNotificationText','_attachActions','label','addMany','getTemplate','focus','ck-comment--remove','visibleView','ck-comment--remove-confirmation','isRemovable','fire','items','ck-annotation__info-time','_createEditButton','buttonView','panelView','ck-annotation','mouseenter','ck-annotation__user','listenTo','21775428Sryjkw','isEditable','author','isReadOnly','5OCwvyy','Delete\x20comment?','actionIndicator','push','setTemplate','ck-comment--','element','cancelConfirm','group','517351CikqSn','focusables','removeButton','ariaLabel','remove','ck-annotation__main','edit','some','ck-comment__external','ck-annotation__actions','ck-comment__info','add','execute','ck-annotation__actions--hidden','withText','mouseleave','change:isRemovable','ck-annotation__content-wrapper','bind','locale','isExternal','editButton','panelPosition','ck-comment__wrapper','_createRemoveButton','formatDateTime','ck-comment__user','resolvedAt','ariaDescriptionView','placeholder','_createCommentInputView','isConfirm','name','set','ck-comment__main','ck-comment--info','Edit','1946652iOWnjQ','render','6FEmaRc','extendTemplate','time','3009276BSgpBd','listitem','removeComment','icon','isEnabled'];_0x37e9=function(){return _0x55c259;};return _0x37e9();}const _0xec12bf=_0x46e0;(function(_0x387790,_0x56f093){const _0x53e9ec=_0x46e0,_0x593f5d=_0x387790();while(!![]){try{const _0x130d46=-parseInt(_0x53e9ec(0x191))/0x1+parseInt(_0x53e9ec(0x1c4))/0x2*(-parseInt(_0x53e9ec(0x1b8))/0x3)+-parseInt(_0x53e9ec(0x1b6))/0x4*(parseInt(_0x53e9ec(0x188))/0x5)+parseInt(_0x53e9ec(0x1bb))/0x6+parseInt(_0x53e9ec(0x1d3))/0x7+parseInt(_0x53e9ec(0x1c9))/0x8+parseInt(_0x53e9ec(0x184))/0x9;if(_0x130d46===_0x56f093)break;else _0x593f5d['push'](_0x593f5d['shift']());}catch(_0x400e65){_0x593f5d['push'](_0x593f5d['shift']());}}}(_0x37e9,0xeccd6));function _0x46e0(_0x4f68d4,_0x4b9092){const _0x37e950=_0x37e9();return _0x46e0=function(_0x46e0d2,_0x3d92d8){_0x46e0d2=_0x46e0d2-0x17c;let _0x109ef9=_0x37e950[_0x46e0d2];return _0x109ef9;},_0x46e0(_0x4f68d4,_0x4b9092);}import{IconRemoveComment as _0x32ed39,IconPencil as _0x4190c5,IconThreeVerticalDots as _0x145533}from'ckeditor5/src/icons.js';import{ButtonView as _0x28065b,createDropdown as _0xe58f39,ListView as _0x1b7430,ListItemView as _0x4af4d6,focusChildOnDropdownOpen as _0x29ddb6}from'ckeditor5/src/ui.js';import{UserView as _0x150ceb,ConfirmMixin as _0x20eb05,LateFocusDropdownButtonView as _0x503eb4}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x47cc60}from'./basecommentview.js';import{getTranslation as _0x85dcdb}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x20eb05(_0x47cc60){[_0xec12bf(0x1d5)];[_0xec12bf(0x1d6)];constructor(_0x22df3d,_0x7aace6,_0x343a52){const _0x2279a8=_0xec12bf;super(_0x22df3d,_0x7aace6,_0x343a52),this[_0x2279a8(0x1b2)](_0x2279a8(0x18a),null),this[_0x2279a8(0x1b2)](_0x2279a8(0x1ae),_0x85dcdb(_0x22df3d,_0x2279a8(0x1d0))),this[_0x2279a8(0x1a3)](_0x2279a8(0x1df))['to'](_0x7aace6),this[_0x2279a8(0x1a3)](_0x2279a8(0x1ac))['to'](_0x7aace6),this[_0x2279a8(0x1d5)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1d2)]||(this[_0x2279a8(0x1a6)]=this[_0x2279a8(0x17d)](),this[_0x2279a8(0x193)]=this[_0x2279a8(0x1a9)](),this[_0x2279a8(0x1f3)]=this[_0x2279a8(0x1de)](),this[_0x2279a8(0x1f3)][_0x2279a8(0x1eb)]([this[_0x2279a8(0x1a6)],this[_0x2279a8(0x193)]]),this[_0x2279a8(0x1e3)]=this[_0x2279a8(0x1c7)](),this[_0x2279a8(0x1d5)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)]),this[_0x2279a8(0x192)][_0x2279a8(0x19c)](this[_0x2279a8(0x1e3)])),this[_0x2279a8(0x1d6)]=new _0x150ceb(_0x22df3d,_0x7aace6[_0x2279a8(0x186)],this[_0x2279a8(0x1e8)]()),this[_0x2279a8(0x1d6)][_0x2279a8(0x1b9)]({'attributes':{'class':[_0x2279a8(0x1ab),_0x2279a8(0x182)],'aria-hidden':!0x0}}),this[_0x2279a8(0x183)](_0x7aace6,_0x2279a8(0x1a1),()=>this[_0x2279a8(0x18f)]()),this[_0x2279a8(0x18c)](this[_0x2279a8(0x1ec)]());}[_0xec12bf(0x1ec)](){const _0x406f00=_0xec12bf,_0x2d9cc0=this[_0x406f00(0x1c2)],_0x1259d7=[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x19b),_0x406f00(0x1cb)]},'children':[{'tag':_0x406f00(0x1cd),'children':[{'text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}],'attributes':{'class':[_0x406f00(0x1d1),_0x406f00(0x1d4)],'data-cke-tooltip-text':this[_0x406f00(0x1d6)][_0x406f00(0x1b1)]}},{'tag':_0x406f00(0x1ba),'attributes':{'datetime':_0x2d9cc0['to'](_0x406f00(0x1df)),'class':[_0x406f00(0x1e0),_0x406f00(0x17c)]},'children':[{'text':_0x2d9cc0['to'](_0x406f00(0x1df),_0x5ac288=>this[_0x406f00(0x1cc)][_0x406f00(0x1aa)](_0x5ac288))}]}]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1e1),_0x406f00(0x19a),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1d9)),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x19e))]},'children':this[_0x406f00(0x1d5)]},{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1a2)]},'children':this[_0x406f00(0x1ef)]},this[_0x406f00(0x1ad)]];return this[_0x406f00(0x1c0)][_0x406f00(0x1a5)]&&_0x1259d7[_0x406f00(0x18b)]({'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x199)]},'children':[{'text':this[_0x406f00(0x1e7)]()}]}),{'tag':'li','attributes':{'class':[_0x406f00(0x1a8),_0x2d9cc0['if'](_0x406f00(0x1b0),_0x406f00(0x1f0))],'tabindex':-0x1,'aria-label':_0x2d9cc0['to'](_0x406f00(0x194)),'aria-describedby':this[_0x406f00(0x1ad)]['id'],'role':_0x406f00(0x1bc)},'children':[{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1c5),_0x406f00(0x180),_0x2d9cc0['if'](_0x406f00(0x1e4),_0x406f00(0x1c8)),_0x2d9cc0['if'](_0x406f00(0x1d2),_0x406f00(0x1b4)),_0x2d9cc0['to'](_0x406f00(0x18a),_0xe00e2=>_0xe00e2?_0x406f00(0x18d)+_0xe00e2:'')],'data-author-id':this[_0x406f00(0x1c0)][_0x406f00(0x186)]['id'],'data-comment-id':this[_0x406f00(0x1c0)]['id'],'role':_0x406f00(0x190)},'children':[this[_0x406f00(0x1d6)],{'tag':_0x406f00(0x1e6),'attributes':{'class':[_0x406f00(0x1b3),_0x406f00(0x196)]},'children':_0x1259d7}]}]};}[_0xec12bf(0x17d)](){const _0x3c849b=_0xec12bf,_0x4acfdc=new _0x28065b(this[_0x3c849b(0x1a4)]);return _0x4acfdc[_0x3c849b(0x1ea)]=_0x85dcdb(this[_0x3c849b(0x1a4)],_0x3c849b(0x1b5)),_0x4acfdc[_0x3c849b(0x1be)]=_0x4190c5,_0x4acfdc[_0x3c849b(0x19f)]=!0x0,_0x4acfdc[_0x3c849b(0x1b9)]({'attributes':{'class':_0x3c849b(0x1c8)}}),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1bf))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x187),_0x584d9a=>!_0x584d9a),_0x4acfdc[_0x3c849b(0x1a3)](_0x3c849b(0x1da))['to'](this[_0x3c849b(0x1c0)],_0x3c849b(0x185)),_0x4acfdc['on'](_0x3c849b(0x19d),()=>this[_0x3c849b(0x1ce)]()),_0x4acfdc;}[_0xec12bf(0x1a9)](){const _0x593da5=_0xec12bf,_0x4a312f=new _0x28065b(this[_0x593da5(0x1a4)]);return _0x4a312f[_0x593da5(0x1ea)]=_0x85dcdb(this[_0x593da5(0x1a4)],_0x593da5(0x1c1)),_0x4a312f[_0x593da5(0x1be)]=_0x32ed39,_0x4a312f[_0x593da5(0x19f)]=!0x0,_0x4a312f[_0x593da5(0x1b9)]({'attributes':{'class':_0x593da5(0x1ee)}}),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1bf))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x187),_0x4e06a4=>!_0x4e06a4),_0x4a312f[_0x593da5(0x1a3)](_0x593da5(0x1da))['to'](this[_0x593da5(0x1c0)],_0x593da5(0x1f1)),_0x4a312f['on'](_0x593da5(0x19d),()=>{const _0x307d73=_0x593da5;this[_0x307d73(0x1e2)](_0x85dcdb(this[_0x307d73(0x1a4)],_0x307d73(0x189)),this[_0x307d73(0x18e)])[_0x307d73(0x1db)](()=>{const _0x2f63cc=_0x307d73;this[_0x2f63cc(0x1f2)](_0x2f63cc(0x1bd),this[_0x2f63cc(0x1c0)]['id']);});}),_0x4a312f;}[_0xec12bf(0x1c7)](){const _0x38c2de=_0xec12bf,_0x3e1e94=_0xe58f39(this[_0x38c2de(0x1a4)],_0x503eb4),_0x1ef7f8=_0x3e1e94[_0x38c2de(0x17f)][_0x38c2de(0x1d7)],_0x287e39=new _0x1b7430(this[_0x38c2de(0x1a4)]),_0x235cfd=_0x3e1e94[_0x38c2de(0x1c2)];_0x29ddb6(_0x3e1e94,()=>this[_0x38c2de(0x1f3)][_0x38c2de(0x1cf)](_0x17f2b5=>_0x17f2b5[_0x38c2de(0x1da)])),_0x3e1e94[_0x38c2de(0x1b9)]({'attributes':{'class':[_0x235cfd['if'](_0x38c2de(0x1da),_0x38c2de(0x1dd),_0xf1b663=>!_0xf1b663)]}});const _0x58ac92=(_0x1ece8f,_0x32faa3=-0x1)=>{const _0x323c48=_0x38c2de,_0x16b886=new _0x4af4d6(this[_0x323c48(0x1a4)]);_0x16b886[_0x323c48(0x1d7)][_0x323c48(0x19c)](_0x1ece8f);const _0x2f4c40=_0x32faa3>-0x1?_0x32faa3:_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x1ca)];_0x287e39[_0x323c48(0x1f3)][_0x323c48(0x19c)](_0x16b886,_0x2f4c40);const _0x5677b2=Array[_0x323c48(0x1dc)](this[_0x323c48(0x1f3)]);_0x3e1e94[_0x323c48(0x1e5)](_0x323c48(0x1bf),_0x323c48(0x1da)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1bf))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1bf),(..._0x2ba3a4)=>_0x2ba3a4[_0x323c48(0x198)](_0x5760bb=>_0x5760bb)),_0x3e1e94[_0x323c48(0x1a3)](_0x323c48(0x1da))[_0x323c48(0x1d8)](_0x5677b2,_0x323c48(0x1da),(..._0x5ee39a)=>_0x5ee39a[_0x323c48(0x198)](_0x3e8e75=>_0x3e8e75));};_0x3e1e94[_0x38c2de(0x1a7)]='sw',_0x3e1e94[_0x38c2de(0x17e)][_0x38c2de(0x1b2)]({'label':_0x85dcdb(this[_0x38c2de(0x1a4)],_0x38c2de(0x1c6)),'icon':_0x145533});for(const _0x459705 of this[_0x38c2de(0x1f3)])_0x58ac92(_0x459705);return _0x1ef7f8[_0x38c2de(0x19c)](_0x287e39),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x19c),(_0x3667c5,_0x5b7744,_0x34d248)=>{_0x58ac92(_0x5b7744,_0x34d248);}),_0x3e1e94[_0x38c2de(0x183)](this[_0x38c2de(0x1f3)],_0x38c2de(0x195),(_0x5c0f93,_0x278b4b,_0x4238ce)=>{const _0xb926f6=_0x38c2de;_0x287e39[_0xb926f6(0x1f3)][_0xb926f6(0x195)](_0x4238ce);}),_0x3e1e94;}[_0xec12bf(0x1e9)](_0x14924d,_0x12ec44){const _0x59e7f4=_0xec12bf,_0x421d24=_0x14924d&&_0x14924d[_0x59e7f4(0x18e)];_0x421d24&&(this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x181),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1ed),()=>this[_0x59e7f4(0x18a)]=_0x12ec44),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1a0),()=>this[_0x59e7f4(0x18a)]=null),this[_0x59e7f4(0x183)](_0x421d24,_0x59e7f4(0x1c3),()=>this[_0x59e7f4(0x18a)]=null));}[_0xec12bf(0x1af)](){const _0xf49cb2=_0xec12bf,_0x9a20ab=super[_0xf49cb2(0x1af)]();return _0x9a20ab[_0xf49cb2(0x1a3)](_0xf49cb2(0x1ae))['to'](this),_0x9a20ab;}[_0xec12bf(0x1b7)](){const _0x2b6ff9=_0xec12bf;super[_0x2b6ff9(0x1b7)](),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x1a6)],_0x2b6ff9(0x197)),this[_0x2b6ff9(0x1e9)](this[_0x2b6ff9(0x193)],_0x2b6ff9(0x195));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4f01(){const _0x1b1e71=['504hFPHOY','disconnect','2wzTLPv','type','characterData','4060329PRgGca','cancel','78424sdypaY','observe','attributes','129DXkcTV','1308039CgTOtF','2395656AiSLbC','451JaoQxP','27uLoarO','class','6605UEHRjO','attributeName','6487BJpYJu','498kaEeZb','childList','156930aFVioc'];_0x4f01=function(){return _0x1b1e71;};return _0x4f01();}(function(_0x52f0b3,_0x2e7939){const _0x225737=_0x48e5,_0x26600a=_0x52f0b3();while(!![]){try{const _0x3843fa=parseInt(_0x225737(0xa3))/0x1*(parseInt(_0x225737(0x9a))/0x2)+parseInt(_0x225737(0xa2))/0x3*(-parseInt(_0x225737(0x9f))/0x4)+-parseInt(_0x225737(0x92))/0x5*(-parseInt(_0x225737(0x95))/0x6)+parseInt(_0x225737(0x9d))/0x7+parseInt(_0x225737(0xa4))/0x8*(-parseInt(_0x225737(0x90))/0x9)+-parseInt(_0x225737(0x97))/0xa*(-parseInt(_0x225737(0xa5))/0xb)+parseInt(_0x225737(0x98))/0xc*(parseInt(_0x225737(0x94))/0xd);if(_0x3843fa===_0x2e7939)break;else _0x26600a['push'](_0x26600a['shift']());}catch(_0x17a76a){_0x26600a['push'](_0x26600a['shift']());}}}(_0x4f01,0xe0c5f));import{throttle as _0x2fb123}from'es-toolkit/compat';function _0x48e5(_0x3c7321,_0x5d7353){const _0x4f0142=_0x4f01();return _0x48e5=function(_0x48e5d8,_0x17e542){_0x48e5d8=_0x48e5d8-0x90;let _0x4adf16=_0x4f0142[_0x48e5d8];return _0x4adf16;},_0x48e5(_0x3c7321,_0x5d7353);}export function createMutationObserver(_0x46145c){const _0x43d6d6=_0x2fb123(_0x46145c,0x1e),_0x51ad23=new MutationObserver(_0x285410=>{const _0x244074=_0x48e5;for(const _0x1bd6ef of _0x285410)(_0x244074(0xa1)==_0x1bd6ef[_0x244074(0x9b)]&&_0x244074(0x91)==_0x1bd6ef[_0x244074(0x93)]||_0x244074(0x96)==_0x1bd6ef[_0x244074(0x9b)]||_0x244074(0x9c)==_0x1bd6ef[_0x244074(0x9b)])&&_0x43d6d6();});return{'attach'(_0x219dc6){const _0xde8b3d=_0x48e5;_0x51ad23[_0xde8b3d(0xa0)](_0x219dc6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x42dbd4=_0x48e5;_0x51ad23[_0x42dbd4(0x99)](),_0x43d6d6[_0x42dbd4(0x9e)]();}};}
|