@ckeditor/ckeditor5-comments 47.4.0-alpha.3 → 47.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/package.json +19 -19
- 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 _0x263475=_0x429d;function _0x429d(_0x55ca29,_0x19068f){const _0x2d5265=_0x2d52();return _0x429d=function(_0x429dbd,_0x31027a){_0x429dbd=_0x429dbd-0x1a8;let _0x396154=_0x2d5265[_0x429dbd];return _0x396154;},_0x429d(_0x55ca29,_0x19068f);}(function(_0x2fc570,_0x490ed0){const _0xd6521c=_0x429d,_0x52c57b=_0x2fc570();while(!![]){try{const _0x21e087=-parseInt(_0xd6521c(0x1f9))/0x1*(-parseInt(_0xd6521c(0x1c8))/0x2)+-parseInt(_0xd6521c(0x1e7))/0x3*(-parseInt(_0xd6521c(0x1ea))/0x4)+parseInt(_0xd6521c(0x1e2))/0x5*(-parseInt(_0xd6521c(0x1e3))/0x6)+-parseInt(_0xd6521c(0x1c1))/0x7+parseInt(_0xd6521c(0x1d9))/0x8+parseInt(_0xd6521c(0x1fa))/0x9*(-parseInt(_0xd6521c(0x1ef))/0xa)+-parseInt(_0xd6521c(0x1c4))/0xb*(parseInt(_0xd6521c(0x1bb))/0xc);if(_0x21e087===_0x490ed0)break;else _0x52c57b['push'](_0x52c57b['shift']());}catch(_0x12a7ed){_0x52c57b['push'](_0x52c57b['shift']());}}}(_0x2d52,0xc2e60));import{View as _0x5caa2f,FocusCycler as _0x591759,ButtonView as _0x10d948}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4f3c3,KeystrokeHandler as _0x23e53f}from'ckeditor5/src/utils.js';function _0x2d52(){const _0x3b968c=['fire','cancelButtonView','3026670WQvZYB','_setupKeyboardNavigation','firstChild','add','disabledSubmit','length','ck-comment__input-wrapper','focusables','submit','extendTemplate','Cancel','div','editorReady','element','ck-comment__input-actions--submit','focusCycler','placeholder','11441424idSrul','Reply...','Ctrl+Enter','forEach','set','ck-comment__input-actions','label','bind','_editorConfig','14145mxcnnb','1038cdFXVv','trim','from','shift+tab','471219hXMPXb','change','insertBefore','28zIspTw','keystrokes','destroy','Esc','render','20laPUxy','then','initialData','focusFirst','ck-comment__input-actions--active','cancel','createCollection','createEditor','focus','reverse','1IkIEpM','665721bQkhbX','document','bindTemplate','view','stop','editorDestroyed','getData','focusTracker','TOO_LONG_COMMENT_ALERT','tab','value','execute','added','ck-comment__input-actions--cancel','create','_createCancelButton','setTemplate','_isDestroyed','submitLabel','model','focusLast','submitButtonView','listenTo','_editorCreationPromise','21718284fCRwUN','isEnabled','editor','withText','showButtons','setData','5582556AVsRYf','Reply','_createSubmitButton','11BgTnEN','high'];_0x2d52=function(){return _0x3b968c;};return _0x2d52();}import{CommentEditor as _0x40e0e6}from'../commenteditor/commenteditor.js';import{getTranslation as _0x164091}from'../../../utils/common-translations.js';export class CommentInputView extends _0x5caa2f{[_0x263475(0x1eb)];[_0x263475(0x1aa)];[_0x263475(0x1cf)];[_0x263475(0x1d7)];[_0x263475(0x1b8)];[_0x263475(0x1c7)];[_0x263475(0x1e1)];constructor(_0x194c7a,_0x569716={}){const _0xc9025=_0x263475;super(_0x194c7a),this[_0xc9025(0x1bd)]=null,this[_0xc9025(0x1e1)]=_0x569716,this[_0xc9025(0x1dd)](_0xc9025(0x1ad),_0x569716[_0xc9025(0x1f1)]||''),this[_0xc9025(0x1dd)](_0xc9025(0x1cc),!0x1),this[_0xc9025(0x1dd)](_0xc9025(0x1bf),!0x0),this[_0xc9025(0x1dd)](_0xc9025(0x1d8),_0x164091(_0x194c7a,_0xc9025(0x1da))),this[_0xc9025(0x1dd)](_0xc9025(0x1b5),_0x164091(_0x194c7a,_0xc9025(0x1c2))),this[_0xc9025(0x1b8)]=this[_0xc9025(0x1c3)](),this[_0xc9025(0x1c7)]=this[_0xc9025(0x1b2)](),this[_0xc9025(0x1cf)]=this[_0xc9025(0x1f5)]([this[_0xc9025(0x1b8)],this[_0xc9025(0x1c7)]]),this[_0xc9025(0x1eb)]=new _0x23e53f(),this[_0xc9025(0x1aa)]=new _0x4f3c3(),this[_0xc9025(0x1d7)]=new _0x591759({'focusables':this[_0xc9025(0x1cf)],'focusTracker':this[_0xc9025(0x1aa)],'keystrokeHandler':this[_0xc9025(0x1eb)],'actions':{'focusPrevious':_0xc9025(0x1e6),'focusNext':_0xc9025(0x1ac)}}),this[_0xc9025(0x1b3)]({'tag':_0xc9025(0x1d3),'attributes':{'class':[_0xc9025(0x1ce)]},'children':[{'tag':_0xc9025(0x1d3),'attributes':{'class':[_0xc9025(0x1de),this[_0xc9025(0x1fc)]['if'](_0xc9025(0x1bf),_0xc9025(0x1f3))]},'children':[this[_0xc9025(0x1b8)],this[_0xc9025(0x1c7)]]}]}),this[_0xc9025(0x1eb)][_0xc9025(0x1dd)](_0xc9025(0x1ed),(_0x5c2639,_0x3c21fa)=>{const _0x48a1bd=_0xc9025;this[_0x48a1bd(0x1c7)][_0x48a1bd(0x1c6)](_0x48a1bd(0x1ae)),_0x3c21fa();}),this[_0xc9025(0x1eb)][_0xc9025(0x1dd)](_0xc9025(0x1db),(_0x13e64e,_0x241aba)=>{const _0x169a9a=_0xc9025;this[_0x169a9a(0x1b8)][_0x169a9a(0x1bc)]&&(this[_0x169a9a(0x1b8)][_0x169a9a(0x1c6)](_0x169a9a(0x1ae)),_0x241aba());}),this['on'](_0xc9025(0x1d0),(_0x434653,_0x301361)=>{const _0x15780d=_0xc9025;_0x301361[_0x15780d(0x1cd)]>0xfde8?(alert(_0x164091(_0x194c7a,_0x15780d(0x1ab),[_0x301361[_0x15780d(0x1cd)],0xfde8])),_0x434653[_0x15780d(0x1fe)]()):this[_0x15780d(0x1bd)][_0x15780d(0x1c0)]('');},{'priority':_0xc9025(0x1c5)});}[_0x263475(0x1ee)](){const _0x2ad986=_0x263475;super[_0x2ad986(0x1ee)](),this[_0x2ad986(0x1c9)]();}[_0x263475(0x1f6)](){const _0x4ec035=_0x263475;return this[_0x4ec035(0x1bd)]||(this[_0x4ec035(0x1bd)]=new _0x40e0e6(this[_0x4ec035(0x1e1)]),this[_0x4ec035(0x1ba)]=this[_0x4ec035(0x1bd)][_0x4ec035(0x1b1)]()[_0x4ec035(0x1f0)](()=>{const _0x126320=_0x4ec035;if(this[_0x126320(0x1b4)])return;const _0x162ab3=this[_0x126320(0x1bd)];this[_0x126320(0x1d5)][_0x126320(0x1e9)](_0x162ab3['ui'][_0x126320(0x1d5)],this[_0x126320(0x1d5)][_0x126320(0x1ca)]),_0x162ab3[_0x126320(0x1b6)][_0x126320(0x1fb)]['on'](_0x126320(0x1e8),()=>this[_0x126320(0x1ad)]=_0x162ab3[_0x126320(0x1a9)]()),_0x162ab3[_0x126320(0x1e0)](_0x126320(0x1d8))['to'](this),this[_0x126320(0x1cf)][_0x126320(0x1cb)](_0x162ab3['ui'][_0x126320(0x1fd)],0x0),this[_0x126320(0x1c6)](_0x126320(0x1d4),this[_0x126320(0x1bd)]);})),this[_0x4ec035(0x1ba)];}[_0x263475(0x1f7)](_0x95a8fe){const _0x102633=_0x263475;-0x1===_0x95a8fe?(this[_0x102633(0x1d7)][_0x102633(0x1f2)](),this[_0x102633(0x1d7)][_0x102633(0x1b7)]()):this[_0x102633(0x1d7)][_0x102633(0x1f2)]();}async[_0x263475(0x1ec)](){const _0xd499b2=_0x263475;this[_0xd499b2(0x1b4)]||(this[_0xd499b2(0x1b4)]=!0x0,this[_0xd499b2(0x1bd)]&&(await this[_0xd499b2(0x1ba)],await this[_0xd499b2(0x1bd)][_0xd499b2(0x1ec)](),this[_0xd499b2(0x1c6)](_0xd499b2(0x1a8),this[_0xd499b2(0x1bd)])),await super[_0xd499b2(0x1ec)]());}[_0x263475(0x1c3)](){const _0x505d35=_0x263475,{locale:_0x2b84c6}=this,_0x1bc5b7=new _0x10d948(_0x2b84c6);return _0x1bc5b7[_0x505d35(0x1d1)]({'attributes':{'class':[_0x505d35(0x1d6)]}}),_0x1bc5b7[_0x505d35(0x1be)]=!0x0,_0x1bc5b7[_0x505d35(0x1e0)](_0x505d35(0x1df))['to'](this,_0x505d35(0x1b5)),_0x1bc5b7['on'](_0x505d35(0x1ae),()=>{const _0xfd088e=_0x505d35;this[_0xfd088e(0x1c6)](_0xfd088e(0x1d0),this[_0xfd088e(0x1ad)]);}),_0x1bc5b7[_0x505d35(0x1e0)](_0x505d35(0x1bc))['to'](this,_0x505d35(0x1ad),this,_0x505d35(0x1cc),(_0x1585e7,_0xa9e7e4)=>!_0xa9e7e4&&!!_0x1585e7[_0x505d35(0x1e4)]()),_0x1bc5b7;}[_0x263475(0x1b2)](){const _0x5c8db9=_0x263475,{locale:_0x3fc3e6}=this,_0x488c9d=new _0x10d948(_0x3fc3e6);return _0x488c9d[_0x5c8db9(0x1d1)]({'attributes':{'class':[_0x5c8db9(0x1b0)]}}),_0x488c9d[_0x5c8db9(0x1df)]=_0x164091(_0x3fc3e6,_0x5c8db9(0x1d2)),_0x488c9d[_0x5c8db9(0x1be)]=!0x0,_0x488c9d['on'](_0x5c8db9(0x1ae),()=>{const _0x3288ff=_0x5c8db9;this[_0x3288ff(0x1bd)][_0x3288ff(0x1c0)](''),this[_0x3288ff(0x1c6)](_0x3288ff(0x1f4));}),_0x488c9d;}[_0x263475(0x1c9)](){const _0x531352=_0x263475;this[_0x531352(0x1eb)][_0x531352(0x1b9)](this[_0x531352(0x1d5)]),this[_0x531352(0x1cf)][_0x531352(0x1dc)](_0x3e0226=>{const _0x51da1c=_0x531352;this[_0x51da1c(0x1aa)][_0x51da1c(0x1cb)](_0x3e0226[_0x51da1c(0x1d5)]);}),this[_0x531352(0x1cf)]['on'](_0x531352(0x1e8),(_0x346659,_0x107c1b)=>{const _0x3858d2=_0x531352;for(const _0x225388 of Array[_0x3858d2(0x1e5)](_0x107c1b[_0x3858d2(0x1af)])[_0x3858d2(0x1f8)]())this[_0x3858d2(0x1aa)][_0x3858d2(0x1cb)](_0x225388[_0x3858d2(0x1d5)]);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3cb8(){const _0x5d6d6b=['ck-thread__header','locale','18855ltCkdv','keystrokes','2905392oOpyVK','.ck-context','ck-context','ck-context--quotes','focusCycler','add','setTemplate','bind','.ck-context__value','focusFirst','focusTracker','shift+tab','render','querySelector','1775685miwUTs','11jdKnLk','classList','value','scrollWidth','length','listenTo','fire','overlay','131GVnFpX','Comment\x20was\x20made\x20on\x20an\x20element','_attachContextActions','_trimContextValue','lastIndexOf','div','isResolvable','execute','24733510lWIiAg','label','substring','contextView','context','mouseleave','ck-context-wrapper','offsetWidth','...','focus','ck-annotation__actions','20gsfiYk','reopenCommentThread','_createReopenButton','element','hasContext','_createContextView','3118DYIskz','bindTemplate','mouseenter','tab','tooltip','3818962gLquvJ','isEnabled','reopenButtonView','remove','_setupKeyboardNavigation','createCollection','2504YBXoWF','contextValue','icon','focusables','Reopen','isVisible','isReadOnly','401586EOddeh','isResolved','_model'];_0x3cb8=function(){return _0x5d6d6b;};return _0x3cb8();}function _0x35c7(_0x73236a,_0x333456){const _0x3cb852=_0x3cb8();return _0x35c7=function(_0x35c7a7,_0xda1050){_0x35c7a7=_0x35c7a7-0x19e;let _0x17dd0d=_0x3cb852[_0x35c7a7];return _0x17dd0d;},_0x35c7(_0x73236a,_0x333456);}const _0x142196=_0x35c7;(function(_0x3eab87,_0x41a0d8){const _0x3adabb=_0x35c7,_0x3c96c7=_0x3eab87();while(!![]){try{const _0x3ee9b2=-parseInt(_0x3adabb(0x1d8))/0x1*(-parseInt(_0x3adabb(0x1a8))/0x2)+-parseInt(_0x3adabb(0x1cf))/0x3+-parseInt(_0x3adabb(0x1c1))/0x4+parseInt(_0x3adabb(0x1a2))/0x5*(parseInt(_0x3adabb(0x1ba))/0x6)+-parseInt(_0x3adabb(0x1ad))/0x7+parseInt(_0x3adabb(0x1b3))/0x8*(-parseInt(_0x3adabb(0x1bf))/0x9)+-parseInt(_0x3adabb(0x1e0))/0xa*(-parseInt(_0x3adabb(0x1d0))/0xb);if(_0x3ee9b2===_0x41a0d8)break;else _0x3c96c7['push'](_0x3c96c7['shift']());}catch(_0x1dd927){_0x3c96c7['push'](_0x3c96c7['shift']());}}}(_0x3cb8,0x67f20));import{View as _0x3fc63e,ButtonView as _0x3fc71a,FocusCycler as _0x43b94c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x6ae02b,KeystrokeHandler as _0x2fcf52}from'ckeditor5/src/utils.js';import{IconUndo as _0x4162a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x224a0d}from'../../../utils/common-translations.js';import{CommentThreadHeaderContextView as _0x45d28c}from'./commentthreadheadercontextview.js';export const MAX_CONTENT_LENGTH=0x96;export class CommentThreadHeaderView extends _0x3fc63e{[_0x142196(0x1bc)];[_0x142196(0x1af)];[_0x142196(0x1e3)];[_0x142196(0x1b6)];[_0x142196(0x1cb)];[_0x142196(0x1c0)];[_0x142196(0x1c5)];constructor(_0x3f5186,_0x3d60b3){const _0x1eb241=_0x142196;super(_0x3f5186);const _0x582ef2=this[_0x1eb241(0x1a9)];this[_0x1eb241(0x1bc)]=_0x3d60b3,this[_0x1eb241(0x1af)]=this[_0x1eb241(0x1a4)](),this[_0x1eb241(0x1e3)]=this[_0x1eb241(0x1a7)](),this[_0x1eb241(0x1b6)]=this[_0x1eb241(0x1b2)]([this[_0x1eb241(0x1e3)],this[_0x1eb241(0x1af)]]),this[_0x1eb241(0x1cb)]=new _0x6ae02b(),this[_0x1eb241(0x1c0)]=new _0x2fcf52(),this[_0x1eb241(0x1c5)]=new _0x43b94c({'focusables':this[_0x1eb241(0x1b6)],'focusTracker':this[_0x1eb241(0x1cb)],'keystrokeHandler':this[_0x1eb241(0x1c0)],'actions':{'focusPrevious':_0x1eb241(0x1cc),'focusNext':_0x1eb241(0x1ab)}}),this[_0x1eb241(0x1c8)](_0x1eb241(0x1a6))['to'](this[_0x1eb241(0x1bc)],_0x1eb241(0x1e4),_0x5a2658=>!!_0x5a2658),this[_0x1eb241(0x1c8)](_0x1eb241(0x1b4))['to'](this[_0x1eb241(0x1bc)],_0x1eb241(0x1e4),_0x4f4512=>_0x4f4512&&_0x4f4512[_0x1eb241(0x1d2)]?this[_0x1eb241(0x1db)](_0x4f4512[_0x1eb241(0x1d2)]):_0x224a0d(this[_0x1eb241(0x1be)],_0x1eb241(0x1d9))),this[_0x1eb241(0x1c7)]({'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1bd)]},'children':[{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1e6)]},'children':[{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1c3),_0x582ef2['if'](_0x1eb241(0x1a6),_0x1eb241(0x1c4))]},'children':[this[_0x1eb241(0x1e3)]]}]},{'tag':_0x1eb241(0x1dd),'attributes':{'class':[_0x1eb241(0x1a1)]},'children':[this[_0x1eb241(0x1af)]]}]});}[_0x142196(0x1cd)](){const _0x3d8807=_0x142196;super[_0x3d8807(0x1cd)](),this[_0x3d8807(0x1da)](),this[_0x3d8807(0x1b1)]();}[_0x142196(0x1a0)](){const _0x1a6880=_0x142196;this[_0x1a6880(0x1c5)][_0x1a6880(0x1ca)]();}[_0x142196(0x1a4)](){const _0x20ed0c=_0x142196,_0x3c1a41=new _0x3fc71a(this[_0x20ed0c(0x1be)]);return _0x3c1a41[_0x20ed0c(0x1e1)]=_0x224a0d(this[_0x20ed0c(0x1be)],_0x20ed0c(0x1b7)),_0x3c1a41[_0x20ed0c(0x1ac)]=_0x224a0d(this[_0x20ed0c(0x1be)],_0x20ed0c(0x1b7)),_0x3c1a41[_0x20ed0c(0x1b5)]=_0x4162a0,_0x3c1a41[_0x20ed0c(0x1c8)](_0x20ed0c(0x1ae))['to'](this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1b9),_0x943886=>!_0x943886),_0x3c1a41[_0x20ed0c(0x1c8)](_0x20ed0c(0x1b8))['to'](this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1de),this[_0x20ed0c(0x1bc)],_0x20ed0c(0x1bb),(_0x219424,_0x4ddac9)=>_0x219424&&_0x4ddac9),_0x3c1a41['on'](_0x20ed0c(0x1df),()=>{const _0x1a3863=_0x20ed0c;this[_0x1a3863(0x1d6)](_0x1a3863(0x1a3),this[_0x1a3863(0x1bc)]['id']);}),_0x3c1a41;}[_0x142196(0x1db)](_0x51f8ad){const _0x2ac293=_0x142196;if(_0x51f8ad[_0x2ac293(0x1d4)]<0x96)return _0x51f8ad;const _0x23353c=_0x51f8ad[_0x2ac293(0x1dc)]('\x20',0x93);return _0x51f8ad[_0x2ac293(0x1e2)](0x0,_0x23353c>-0x1?_0x23353c:0x93)+_0x2ac293(0x19f);}[_0x142196(0x1da)](){const _0x2a6048=_0x142196,_0x24bf30=this[_0x2a6048(0x1a5)][_0x2a6048(0x1ce)](_0x2a6048(0x1c2)),_0x48ca60=_0x24bf30[_0x2a6048(0x1ce)](_0x2a6048(0x1c9));this[_0x2a6048(0x1d5)](_0x24bf30,_0x2a6048(0x1aa),()=>{const _0x4926b9=_0x2a6048;_0x48ca60[_0x4926b9(0x19e)]<_0x48ca60[_0x4926b9(0x1d3)]&&_0x24bf30[_0x4926b9(0x1d1)][_0x4926b9(0x1c6)](_0x4926b9(0x1d7));}),this[_0x2a6048(0x1d5)](_0x24bf30,_0x2a6048(0x1e5),()=>{const _0x496fe4=_0x2a6048;_0x24bf30[_0x496fe4(0x1d1)][_0x496fe4(0x1b0)](_0x496fe4(0x1d7));});}[_0x142196(0x1b1)](){const _0x27646b=_0x142196;this[_0x27646b(0x1c0)][_0x27646b(0x1d5)](this[_0x27646b(0x1a5)]);for(const _0x1f06f7 of this[_0x27646b(0x1b6)])this[_0x27646b(0x1cb)][_0x27646b(0x1c6)](_0x1f06f7[_0x27646b(0x1a5)]),this[_0x27646b(0x1c0)][_0x27646b(0x1d5)](_0x1f06f7[_0x27646b(0x1a5)]);}[_0x142196(0x1a7)](){const _0x1b69f5=_0x142196,_0x2011b2=new _0x45d28c(this[_0x1b69f5(0x1be)]);return _0x2011b2[_0x1b69f5(0x1c8)](_0x1b69f5(0x1b4))['to'](this),_0x2011b2;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x10254f=_0x2ab7;function _0x1fcf(){const _0x404dca=['panelPosition','ck-comment--','2745083ExLzhv','isSystemComment','5169lPfBHZ','ck-annotation__info-name','placeholder','actionBar','1TcZaPT','focusables','remove','add','1291974SOOBsj','isEditMode','actionIndicator','ck-annotation','7565733SGZoyL','addMany','buttonView','bind','some','locale','ariaLabel','div','formatDateTime','render','ck-annotation__content-wrapper','ck-comment__wrapper','find','removeComment','Edit','Show\x20more\x20items','isExternal','ck-comment__info-time','isEditable','_createCommentInputView','getUserViewNotificationText','ck-annotation__main','ck-comment__main','cancelConfirm','group','dropdown','children','author','push','25dAYzdu','ariaDescriptionView','ck-comment','length','_createDropdown','ck-comment__actions','label','switchToEditMode','_createEditButton','Delete\x20comment?','_attachActions','panelView','withText','resolvedAt','setTemplate','time','Reply...','mouseleave','set','execute','editButton','_config','ck-comment--edit','bindTemplate','2691126vtROsK','showConfirm','unbind','ck-annotation__actions--hidden','10499192YLoPaz','element','3072smJEPx','_createRemoveButton','ck-annotation__user','ck-annotation__actions','ck-comment__actions--hidden','userView','isVisible','extendTemplate','250vEfVIG','removeButton','items','isReadOnly','toMany','Remove','getExternalCommentNote','listitem','ck-comment--remove','ck-comment__external','name','visibleView','getTemplate','ck-annotation__info','fire','_model','7642854ZIqyFq','then','ck-annotation__info-time','mouseenter','ck-hidden','createCollection','ck-comment__info-name','ck-comment__user','ck-comment__info','span','icon','authoredAt','ck-comment--info','isRemovable','change:isRemovable','isEnabled','listenTo','from','focus','edit','blur'];_0x1fcf=function(){return _0x404dca;};return _0x1fcf();}(function(_0x11e035,_0x336cb6){const _0x3174bc=_0x2ab7,_0x2b7b64=_0x11e035();while(!![]){try{const _0x314798=-parseInt(_0x3174bc(0x159))/0x1*(parseInt(_0x3174bc(0x196))/0x2)+parseInt(_0x3174bc(0x155))/0x3*(-parseInt(_0x3174bc(0x19c))/0x4)+parseInt(_0x3174bc(0x17e))/0x5*(-parseInt(_0x3174bc(0x15d))/0x6)+-parseInt(_0x3174bc(0x161))/0x7+-parseInt(_0x3174bc(0x19a))/0x8+parseInt(_0x3174bc(0x13c))/0x9+parseInt(_0x3174bc(0x1a4))/0xa*(parseInt(_0x3174bc(0x153))/0xb);if(_0x314798===_0x336cb6)break;else _0x2b7b64['push'](_0x2b7b64['shift']());}catch(_0x5abe42){_0x2b7b64['push'](_0x2b7b64['shift']());}}}(_0x1fcf,0xe7c5d));import{IconRemoveComment as _0x4155c0,IconPencil as _0x42ee1b,IconThreeVerticalDots as _0x483f5a}from'ckeditor5/src/icons.js';import{ButtonView as _0xab1d29,createDropdown as _0x1aa975,ListView as _0x406c1c,ListItemView as _0x5af65c,focusChildOnDropdownOpen as _0xbc28c8}from'ckeditor5/src/ui.js';function _0x2ab7(_0x43f902,_0x5401fb){const _0x1fcf30=_0x1fcf();return _0x2ab7=function(_0x2ab727,_0x4c6cad){_0x2ab727=_0x2ab727-0x13b;let _0x3b6501=_0x1fcf30[_0x2ab727];return _0x3b6501;},_0x2ab7(_0x43f902,_0x5401fb);}import{UserView as _0x40ca2d,ConfirmMixin as _0x1875f9,LateFocusDropdownButtonView as _0x4e2e19}from'ckeditor5-collaboration/src/collaboration-core.js';import{BaseCommentView as _0x5066bd}from'./basecommentview.js';import{getTranslation as _0x455a8e}from'../../../utils/common-translations.js';export class CommentView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1875f9(_0x5066bd){[_0x10254f(0x158)];[_0x10254f(0x1a1)];constructor(_0x273004,_0x51350f,_0x14a9e8){const _0x1b4fe2=_0x10254f;super(_0x273004,_0x51350f,_0x14a9e8),this[_0x1b4fe2(0x190)](_0x1b4fe2(0x15f),null),this[_0x1b4fe2(0x190)](_0x1b4fe2(0x157),_0x455a8e(_0x273004,_0x1b4fe2(0x18e))),this[_0x1b4fe2(0x164)](_0x1b4fe2(0x147))['to'](_0x51350f),this[_0x1b4fe2(0x164)](_0x1b4fe2(0x18b))['to'](_0x51350f),this[_0x1b4fe2(0x158)]=this[_0x1b4fe2(0x141)](),this[_0x1b4fe2(0x154)]||(this[_0x1b4fe2(0x192)]=this[_0x1b4fe2(0x186)](),this[_0x1b4fe2(0x1a5)]=this[_0x1b4fe2(0x19d)](),this[_0x1b4fe2(0x1a6)]=this[_0x1b4fe2(0x141)](),this[_0x1b4fe2(0x1a6)][_0x1b4fe2(0x162)]([this[_0x1b4fe2(0x192)],this[_0x1b4fe2(0x1a5)]]),this[_0x1b4fe2(0x17a)]=this[_0x1b4fe2(0x182)](),this[_0x1b4fe2(0x158)][_0x1b4fe2(0x15c)](this[_0x1b4fe2(0x17a)]),this[_0x1b4fe2(0x15a)][_0x1b4fe2(0x15c)](this[_0x1b4fe2(0x17a)])),this[_0x1b4fe2(0x1a1)]=new _0x40ca2d(_0x273004,_0x51350f[_0x1b4fe2(0x17c)],this[_0x1b4fe2(0x175)]()),this[_0x1b4fe2(0x1a1)][_0x1b4fe2(0x1a3)]({'attributes':{'class':[_0x1b4fe2(0x143),_0x1b4fe2(0x19e)],'aria-hidden':!0x0}}),this[_0x1b4fe2(0x14c)](_0x51350f,_0x1b4fe2(0x14a),()=>this[_0x1b4fe2(0x178)]()),this[_0x1b4fe2(0x18c)](this[_0x1b4fe2(0x1b0)]());}[_0x10254f(0x1b0)](){const _0xa6f368=_0x10254f,_0x42e542=this[_0xa6f368(0x195)],_0x4b1868=[{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x144),_0xa6f368(0x1b1)]},'children':[{'tag':_0xa6f368(0x145),'children':[{'text':this[_0xa6f368(0x1a1)][_0xa6f368(0x1ae)]}],'attributes':{'class':[_0xa6f368(0x142),_0xa6f368(0x156)],'data-cke-tooltip-text':this[_0xa6f368(0x1a1)][_0xa6f368(0x1ae)]}},{'tag':_0xa6f368(0x18d),'attributes':{'datetime':_0x42e542['to'](_0xa6f368(0x147)),'class':[_0xa6f368(0x172),_0xa6f368(0x13e)]},'children':[{'text':_0x42e542['to'](_0xa6f368(0x147),_0x2d1115=>this[_0xa6f368(0x193)][_0xa6f368(0x169)](_0x2d1115))}]}]},{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x183),_0xa6f368(0x19f),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x1a0)),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x199))]},'children':this[_0xa6f368(0x158)]},{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x16b)]},'children':this[_0xa6f368(0x1af)]},this[_0xa6f368(0x17f)]];return this[_0xa6f368(0x13b)][_0xa6f368(0x171)]&&_0x4b1868[_0xa6f368(0x17d)]({'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x1ad)]},'children':[{'text':this[_0xa6f368(0x1aa)]()}]}),{'tag':'li','attributes':{'class':[_0xa6f368(0x16c)],'tabindex':-0x1,'aria-label':_0x42e542['to'](_0xa6f368(0x167)),'aria-describedby':this[_0xa6f368(0x17f)]['id'],'role':_0xa6f368(0x1ab)},'children':[{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x180),_0xa6f368(0x160),_0x42e542['if'](_0xa6f368(0x15e),_0xa6f368(0x194)),_0x42e542['if'](_0xa6f368(0x154),_0xa6f368(0x148)),_0x42e542['to'](_0xa6f368(0x15f),_0x59f660=>_0x59f660?_0xa6f368(0x152)+_0x59f660:'')],'data-author-id':this[_0xa6f368(0x13b)][_0xa6f368(0x17c)]['id'],'data-comment-id':this[_0xa6f368(0x13b)]['id'],'role':_0xa6f368(0x179)},'children':[this[_0xa6f368(0x1a1)],{'tag':_0xa6f368(0x168),'attributes':{'class':[_0xa6f368(0x177),_0xa6f368(0x176)]},'children':_0x4b1868}]}]};}[_0x10254f(0x186)](){const _0xdd22cc=_0x10254f,_0x154547=new _0xab1d29(this[_0xdd22cc(0x166)]);return _0x154547[_0xdd22cc(0x184)]=_0x455a8e(this[_0xdd22cc(0x166)],_0xdd22cc(0x16f)),_0x154547[_0xdd22cc(0x146)]=_0x42ee1b,_0x154547[_0xdd22cc(0x18a)]=!0x0,_0x154547[_0xdd22cc(0x1a3)]({'attributes':{'class':_0xdd22cc(0x194)}}),_0x154547[_0xdd22cc(0x164)](_0xdd22cc(0x14b))['to'](this[_0xdd22cc(0x13b)],_0xdd22cc(0x1a7),_0x10c587=>!_0x10c587),_0x154547[_0xdd22cc(0x164)](_0xdd22cc(0x1a2))['to'](this[_0xdd22cc(0x13b)],_0xdd22cc(0x173)),_0x154547['on'](_0xdd22cc(0x191),()=>this[_0xdd22cc(0x185)]()),_0x154547;}[_0x10254f(0x19d)](){const _0x286214=_0x10254f,_0x4554a3=new _0xab1d29(this[_0x286214(0x166)]);return _0x4554a3[_0x286214(0x184)]=_0x455a8e(this[_0x286214(0x166)],_0x286214(0x1a9)),_0x4554a3[_0x286214(0x146)]=_0x4155c0,_0x4554a3[_0x286214(0x18a)]=!0x0,_0x4554a3[_0x286214(0x1a3)]({'attributes':{'class':_0x286214(0x1ac)}}),_0x4554a3[_0x286214(0x164)](_0x286214(0x14b))['to'](this[_0x286214(0x13b)],_0x286214(0x1a7),_0x25d92d=>!_0x25d92d),_0x4554a3[_0x286214(0x164)](_0x286214(0x1a2))['to'](this[_0x286214(0x13b)],_0x286214(0x149)),_0x4554a3['on'](_0x286214(0x191),()=>{const _0x23880e=_0x286214;this[_0x23880e(0x197)](_0x455a8e(this[_0x23880e(0x166)],_0x23880e(0x187)),this[_0x23880e(0x19b)])[_0x23880e(0x13d)](()=>{const _0x54c6bb=_0x23880e;this[_0x54c6bb(0x1b2)](_0x54c6bb(0x16e),this[_0x54c6bb(0x13b)]['id']);});}),_0x4554a3;}[_0x10254f(0x182)](){const _0x49e4db=_0x10254f,_0x56d1d8=_0x1aa975(this[_0x49e4db(0x166)],_0x4e2e19),_0x2aa54a=_0x56d1d8[_0x49e4db(0x189)][_0x49e4db(0x17b)],_0x26feab=new _0x406c1c(this[_0x49e4db(0x166)]),_0x21b09f=_0x56d1d8[_0x49e4db(0x195)];_0xbc28c8(_0x56d1d8,()=>this[_0x49e4db(0x1a6)][_0x49e4db(0x16d)](_0x4c9fe7=>_0x4c9fe7[_0x49e4db(0x1a2)])),_0x56d1d8[_0x49e4db(0x1a3)]({'attributes':{'class':[_0x21b09f['if'](_0x49e4db(0x1a2),_0x49e4db(0x140),_0xb61976=>!_0xb61976)]}});const _0x46ee18=(_0x31f881,_0x52fb25=-0x1)=>{const _0x4db6e3=_0x49e4db,_0x4a25fd=new _0x5af65c(this[_0x4db6e3(0x166)]);_0x4a25fd[_0x4db6e3(0x17b)][_0x4db6e3(0x15c)](_0x31f881);const _0x2be466=_0x52fb25>-0x1?_0x52fb25:_0x26feab[_0x4db6e3(0x1a6)][_0x4db6e3(0x181)];_0x26feab[_0x4db6e3(0x1a6)][_0x4db6e3(0x15c)](_0x4a25fd,_0x2be466);const _0xe11942=Array[_0x4db6e3(0x14d)](this[_0x4db6e3(0x1a6)]);_0x56d1d8[_0x4db6e3(0x198)](_0x4db6e3(0x14b),_0x4db6e3(0x1a2)),_0x56d1d8[_0x4db6e3(0x164)](_0x4db6e3(0x14b))[_0x4db6e3(0x1a8)](_0xe11942,_0x4db6e3(0x14b),(..._0xe12c37)=>_0xe12c37[_0x4db6e3(0x165)](_0x4edfd0=>_0x4edfd0)),_0x56d1d8[_0x4db6e3(0x164)](_0x4db6e3(0x1a2))[_0x4db6e3(0x1a8)](_0xe11942,_0x4db6e3(0x1a2),(..._0x2393cf)=>_0x2393cf[_0x4db6e3(0x165)](_0x3720ec=>_0x3720ec));};_0x56d1d8[_0x49e4db(0x151)]='sw',_0x56d1d8[_0x49e4db(0x163)][_0x49e4db(0x190)]({'label':_0x455a8e(this[_0x49e4db(0x166)],_0x49e4db(0x170)),'icon':_0x483f5a});for(const _0x6a0666 of this[_0x49e4db(0x1a6)])_0x46ee18(_0x6a0666);return _0x2aa54a[_0x49e4db(0x15c)](_0x26feab),_0x56d1d8[_0x49e4db(0x14c)](this[_0x49e4db(0x1a6)],_0x49e4db(0x15c),(_0xac56cb,_0x49e927,_0x422cac)=>{_0x46ee18(_0x49e927,_0x422cac);}),_0x56d1d8[_0x49e4db(0x14c)](this[_0x49e4db(0x1a6)],_0x49e4db(0x15b),(_0x4de923,_0x546f79,_0x3fbf18)=>{const _0x8d3877=_0x49e4db;_0x26feab[_0x8d3877(0x1a6)][_0x8d3877(0x15b)](_0x3fbf18);}),_0x56d1d8;}[_0x10254f(0x188)](_0x5876ae,_0x2d633b){const _0x298fd7=_0x10254f,_0x5e585c=_0x5876ae&&_0x5876ae[_0x298fd7(0x19b)];_0x5e585c&&(this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x13f),()=>this[_0x298fd7(0x15f)]=_0x2d633b),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x14e),()=>this[_0x298fd7(0x15f)]=_0x2d633b),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x18f),()=>this[_0x298fd7(0x15f)]=null),this[_0x298fd7(0x14c)](_0x5e585c,_0x298fd7(0x150),()=>this[_0x298fd7(0x15f)]=null));}[_0x10254f(0x174)](){const _0x6ce155=_0x10254f,_0x3d968d=super[_0x6ce155(0x174)]();return _0x3d968d[_0x6ce155(0x164)](_0x6ce155(0x157))['to'](this),_0x3d968d;}[_0x10254f(0x16a)](){const _0xf6527b=_0x10254f;super[_0xf6527b(0x16a)](),this[_0xf6527b(0x188)](this[_0xf6527b(0x192)],_0xf6527b(0x14f)),this[_0xf6527b(0x188)](this[_0xf6527b(0x1a5)],_0xf6527b(0x15b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x42a1eb,_0x56c0b1){const _0x1bf388=_0x216b,_0x151b88=_0x42a1eb();while(!![]){try{const _0x214b46=-parseInt(_0x1bf388(0x1fd))/0x1+parseInt(_0x1bf388(0x1f2))/0x2*(parseInt(_0x1bf388(0x1f0))/0x3)+-parseInt(_0x1bf388(0x1fe))/0x4+parseInt(_0x1bf388(0x1f6))/0x5*(-parseInt(_0x1bf388(0x1f7))/0x6)+-parseInt(_0x1bf388(0x1fc))/0x7*(-parseInt(_0x1bf388(0x201))/0x8)+-parseInt(_0x1bf388(0x1f4))/0x9+-parseInt(_0x1bf388(0x200))/0xa*(-parseInt(_0x1bf388(0x1f5))/0xb);if(_0x214b46===_0x56c0b1)break;else _0x151b88['push'](_0x151b88['shift']());}catch(_0x1960b0){_0x151b88['push'](_0x151b88['shift']());}}}(_0x187c,0xc60ec));function _0x187c(){const _0x2b67b5=['229548vegzDJ','455935FJXSge','96YAYapN','observe','attributes','type','childList','19726ldARjW','510343vdmmno','4688784SAXLIq','characterData','2510gbjqXL','120DVJPbe','cancel','attributeName','69204MrFULt','disconnect','14eKgnqq','class','13399551UBkigS'];_0x187c=function(){return _0x2b67b5;};return _0x187c();}function _0x216b(_0x40e76f,_0x3b52d0){const _0x187ca5=_0x187c();return _0x216b=function(_0x216b64,_0x521218){_0x216b64=_0x216b64-0x1f0;let _0x49bd29=_0x187ca5[_0x216b64];return _0x49bd29;},_0x216b(_0x40e76f,_0x3b52d0);}import{throttle as _0x384ab4}from'es-toolkit/compat';export function createMutationObserver(_0x34c334){const _0x355fc3=_0x384ab4(_0x34c334,0x1e),_0x5db131=new MutationObserver(_0x375cd5=>{const _0x2afe6c=_0x216b;for(const _0x3af36f of _0x375cd5)(_0x2afe6c(0x1f9)==_0x3af36f[_0x2afe6c(0x1fa)]&&_0x2afe6c(0x1f3)==_0x3af36f[_0x2afe6c(0x203)]||_0x2afe6c(0x1fb)==_0x3af36f[_0x2afe6c(0x1fa)]||_0x2afe6c(0x1ff)==_0x3af36f[_0x2afe6c(0x1fa)])&&_0x355fc3();});return{'attach'(_0x1007c0){const _0x1ca363=_0x216b;_0x5db131[_0x1ca363(0x1f8)](_0x1007c0,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x441bec=_0x216b;_0x5db131[_0x441bec(0x1f1)](),_0x355fc3[_0x441bec(0x202)]();}};}
|