@ckeditor/ckeditor5-comments 0.0.0-nightly-20240131.0 → 0.0.0-nightly-20240202.0
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/package.json +3 -3
- package/src/annotations/annotation.js +1 -1
- 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 +1 -1
- package/src/comments/commentsui.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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- package/src/comments.js +1 -1
- package/src/commentsonly.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
|
-
const
|
|
23
|
+
const _0x7a96=['actionIndicator','div','placeholder','ck-comment__main','ck-comment--','getUserViewNotificationText','getExternalCommentNote','children','_config','removeButton','Show\x20more\x20items','withText','edit','time','ck-annotation__actions--hidden','ck-comment--edit','ck-comment__external','ck-comment__info','set','panelPosition','importWord','visibleView','ck-comment__actions--hidden','_createRemoveButton','icon','isVisible','listenTo','bind','authoredAt','Edit','userView','actionBar','createCollection','ck-annotation__content-wrapper','_createCommentInputView','change:isEnabled','attributes','Remove','_createEditButton','EXTERNAL_IMPORT_WORD_AVATAR','_model','addMany','ck-comment__actions','dropdown','element','mouseenter','name','_attachActions','then','isSystemComment','isEditable','cancelConfirm','isReadOnly','threeVerticalDots','source','editButton','push','removeComment','ck-annotation__user','some','locale','ck-comment--info','change:isVisible','showConfirm','formatDateTime','isRemovable','EXTERNAL_IMPORT_WORD_COMMENT','isEditMode','ck-annotation__info-time','isExternal','ck-comment','isConfirm','label','add','creator','change:isRemovable','resolvedAt','extendTemplate','isEnabled','EXTERNAL_COMMENT','fire','items','focus','ck-annotation__main','ck-annotation__info-name','@external','span','author','ck-annotation','_createDropdown','execute','ck-comment--remove','remove','ck-comment__info-name'];(function(_0x23ee40,_0x7a965){const _0x19c449=function(_0x49a52a){while(--_0x49a52a){_0x23ee40['push'](_0x23ee40['shift']());}};_0x19c449(++_0x7a965);}(_0x7a96,0xfb));const _0x19c4=function(_0x23ee40,_0x7a965){_0x23ee40=_0x23ee40-0x0;let _0x19c449=_0x7a96[_0x23ee40];return _0x19c449;};import{ButtonView as _0x302894,createDropdown as _0x298eea,ListView as _0x33c987,ListItemView as _0x18f1a4}from'ckeditor5/src/ui.js';import{icons as _0x126644}from'ckeditor5/src/core.js';import{UserView as _0x1b69d6,ConfirmMixin as _0x387258}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x497649 from'./basecommentview.js';import _0x45e2ad from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x1e1f7e}from'../../../utils/common-translations.js';export default class pt extends _0x387258(_0x497649){constructor(_0x261609,_0x322e7b,_0x440afa){super(_0x261609,_0x322e7b,_0x440afa),this['set'](_0x19c4('0x1f'),null),this[_0x19c4('0x31')](_0x19c4('0x21'),_0x1e1f7e(_0x261609,'Reply...')),this[_0x19c4('0x3a')](_0x19c4('0x3b'))['to'](_0x322e7b),this[_0x19c4('0x3a')](_0x19c4('0xd'))['to'](_0x322e7b),this[_0x19c4('0x3e')]=this[_0x19c4('0x3f')](),this[_0x19c4('0x50')]||(this[_0x19c4('0x56')]=this[_0x19c4('0x45')](),this['removeButton']=this[_0x19c4('0x36')](),this[_0x19c4('0x12')]=this[_0x19c4('0x3f')](),this[_0x19c4('0x12')][_0x19c4('0x48')]([this[_0x19c4('0x56')],this[_0x19c4('0x28')]]),this[_0x19c4('0x4a')]=this[_0x19c4('0x1a')](),this[_0x19c4('0x3e')][_0x19c4('0xa')](this[_0x19c4('0x4a')])),this['userView']=new _0x1b69d6(_0x261609,_0x322e7b[_0x19c4('0x18')],this[_0x19c4('0x24')]()),this['userView'][_0x19c4('0xe')]({'attributes':{'class':['ck-comment__user',_0x19c4('0x59')]}}),this['listenTo'](_0x322e7b,_0x19c4('0xc'),()=>this[_0x19c4('0x52')]()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x237ab0=this['bindTemplate'],_0x1f5785=[{'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x30'),'ck-annotation__info']},'children':[{'tag':_0x19c4('0x17'),'children':[{'text':this[_0x19c4('0x3d')]['name']}],'attributes':{'class':[_0x19c4('0x1e'),_0x19c4('0x15')]}},{'tag':_0x19c4('0x2c'),'attributes':{'datetime':_0x237ab0['to'](_0x19c4('0x3b')),'class':['ck-comment__info-time',_0x19c4('0x5')]},'children':[{'text':_0x237ab0['to'](_0x19c4('0x3b'),_0x36206a=>this[_0x19c4('0x27')][_0x19c4('0x1')](_0x36206a))}]}]},{'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x49'),'ck-annotation__actions',_0x237ab0['if']('isEditMode',_0x19c4('0x35')),_0x237ab0['if']('isEditMode',_0x19c4('0x2d'))]},'children':this[_0x19c4('0x3e')]},{'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x40')]},'children':this[_0x19c4('0x34')]}];return this[_0x19c4('0x47')][_0x19c4('0x6')]&&_0x1f5785[_0x19c4('0x57')]({'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x2f')]},'children':[{'text':this[_0x19c4('0x25')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x237ab0['if'](_0x19c4('0x8'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x7'),_0x19c4('0x19'),_0x237ab0['if'](_0x19c4('0x4'),_0x19c4('0x2e')),_0x237ab0['if']('isSystemComment',_0x19c4('0x5c')),_0x237ab0['to'](_0x19c4('0x1f'),_0x5cf6ca=>_0x5cf6ca?_0x19c4('0x23')+_0x5cf6ca:'')],'data-author-id':this[_0x19c4('0x47')][_0x19c4('0x18')]['id'],'data-comment-id':this[_0x19c4('0x47')]['id']},'children':[this[_0x19c4('0x3d')],{'tag':_0x19c4('0x20'),'attributes':{'class':[_0x19c4('0x22'),_0x19c4('0x14')]},'children':_0x1f5785}]}]};}['_createEditButton'](){const _0x250e76=new _0x302894(this[_0x19c4('0x5b')]);return _0x250e76['label']=_0x1e1f7e(this[_0x19c4('0x5b')],_0x19c4('0x3c')),_0x250e76[_0x19c4('0x37')]=_0x126644['pencil'],_0x250e76[_0x19c4('0x2a')]=!0x0,_0x250e76['extendTemplate']({'attributes':{'class':_0x19c4('0x2e')}}),_0x250e76[_0x19c4('0x3a')](_0x19c4('0xf'))['to'](this[_0x19c4('0x47')],'isReadOnly',_0x506135=>!_0x506135),_0x250e76[_0x19c4('0x3a')](_0x19c4('0x38'))['to'](this[_0x19c4('0x47')],_0x19c4('0x51')),_0x250e76['on'](_0x19c4('0x1b'),()=>this['switchToEditMode']()),_0x250e76;}[_0x19c4('0x36')](){const _0xa2c80a=new _0x302894(this[_0x19c4('0x5b')]);return _0xa2c80a[_0x19c4('0x9')]=_0x1e1f7e(this[_0x19c4('0x5b')],_0x19c4('0x44')),_0xa2c80a['icon']=_0x45e2ad,_0xa2c80a[_0x19c4('0x2a')]=!0x0,_0xa2c80a[_0x19c4('0xe')]({'attributes':{'class':_0x19c4('0x1c')}}),_0xa2c80a[_0x19c4('0x3a')](_0x19c4('0xf'))['to'](this[_0x19c4('0x47')],_0x19c4('0x53'),_0x43f41e=>!_0x43f41e),_0xa2c80a[_0x19c4('0x3a')](_0x19c4('0x38'))['to'](this[_0x19c4('0x47')],_0x19c4('0x2')),_0xa2c80a['on'](_0x19c4('0x1b'),()=>{this[_0x19c4('0x0')](_0x1e1f7e(this[_0x19c4('0x5b')],'Delete\x20comment?'),this[_0x19c4('0x4b')])[_0x19c4('0x4f')](()=>{this[_0x19c4('0x11')](_0x19c4('0x58'),this[_0x19c4('0x47')]['id']);});}),_0xa2c80a;}['_createDropdown'](){const _0x4b029a=_0x298eea(this['locale']),_0x357990=_0x4b029a['panelView']['children'],_0x555bda=new _0x33c987(this['locale']),_0x18a692=(_0x350ca3,_0x2e6e16=-0x1)=>{const _0x41ba9d=new _0x18f1a4(this[_0x19c4('0x5b')]);_0x41ba9d[_0x19c4('0x26')][_0x19c4('0xa')](_0x350ca3);const _0x40c1a6=_0x2e6e16>-0x1?_0x2e6e16:_0x555bda['items']['length'];_0x555bda[_0x19c4('0x12')][_0x19c4('0xa')](_0x41ba9d,_0x40c1a6),_0x4b029a['listenTo'](_0x350ca3,_0x19c4('0x42'),()=>{_0x4b029a['isEnabled']=[...this[_0x19c4('0x12')]]['some'](_0x497e46=>_0x497e46[_0x19c4('0xf')]);}),_0x4b029a[_0x19c4('0x39')](_0x350ca3,_0x19c4('0x5d'),()=>{_0x4b029a['buttonView'][_0x19c4('0x38')]=[...this[_0x19c4('0x12')]]['some'](_0x44e59f=>_0x44e59f['isVisible']);});};_0x4b029a[_0x19c4('0x32')]='sw',_0x4b029a['buttonView'][_0x19c4('0x31')]({'label':_0x1e1f7e(this['locale'],_0x19c4('0x29')),'icon':_0x126644[_0x19c4('0x54')]}),_0x4b029a[_0x19c4('0xf')]=[...this[_0x19c4('0x12')]]['some'](_0x146927=>_0x146927['isEnabled']),_0x4b029a['buttonView'][_0x19c4('0x38')]=[...this['items']][_0x19c4('0x5a')](_0x10212e=>_0x10212e[_0x19c4('0x38')]);for(const _0x41f796 of this[_0x19c4('0x12')])_0x18a692(_0x41f796);return _0x357990['add'](_0x555bda),_0x4b029a[_0x19c4('0x39')](this[_0x19c4('0x12')],'add',(_0xefa3b,_0x5151d2,_0x14e862)=>{_0x18a692(_0x5151d2,_0x14e862);}),_0x4b029a['listenTo'](this[_0x19c4('0x12')],_0x19c4('0x1d'),(_0x3b6a3b,_0x35e0b0,_0x3777f1)=>{_0x555bda[_0x19c4('0x12')][_0x19c4('0x1d')](_0x3777f1);}),_0x4b029a;}[_0x19c4('0x4e')](_0x291891,_0x49675c){const _0x30133d=_0x291891&&_0x291891[_0x19c4('0x4b')];_0x30133d&&(this[_0x19c4('0x39')](_0x30133d,_0x19c4('0x4c'),()=>this[_0x19c4('0x1f')]=_0x49675c),this['listenTo'](_0x30133d,_0x19c4('0x13'),()=>this[_0x19c4('0x1f')]=_0x49675c),this[_0x19c4('0x39')](_0x30133d,'mouseleave',()=>this[_0x19c4('0x1f')]=null),this['listenTo'](_0x30133d,'blur',()=>this[_0x19c4('0x1f')]=null));}[_0x19c4('0x41')](){const _0x5e5dd3=super[_0x19c4('0x41')]();return _0x5e5dd3[_0x19c4('0x3a')](_0x19c4('0x21'))['to'](this),_0x5e5dd3;}[_0x19c4('0x25')](){return _0x19c4('0x33')===this[_0x19c4('0x47')][_0x19c4('0x43')][_0x19c4('0x16')][_0x19c4('0x55')]?_0x1e1f7e(this[_0x19c4('0x5b')],_0x19c4('0x3')):_0x1e1f7e(this[_0x19c4('0x5b')],_0x19c4('0x10'));}[_0x19c4('0x24')](){return this[_0x19c4('0x47')][_0x19c4('0x6')]?'importWord'===this[_0x19c4('0x47')][_0x19c4('0x43')][_0x19c4('0x16')][_0x19c4('0x55')]?_0x1e1f7e(this[_0x19c4('0x5b')],_0x19c4('0x46'),this[_0x19c4('0x47')][_0x19c4('0xb')][_0x19c4('0x4d')]):_0x1e1f7e(this[_0x19c4('0x5b')],'EXTERNAL_AVATAR',this[_0x19c4('0x47')][_0x19c4('0xb')]['name']):null;}['render'](){super['render'](),this[_0x19c4('0x4e')](this[_0x19c4('0x56')],_0x19c4('0x2b')),this['_attachActions'](this[_0x19c4('0x28')],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4dc5=['Comments','requires'];(function(_0x16a957,_0x4dc5ee){var _0x1e9e4e=function(_0x4ed320){while(--_0x4ed320){_0x16a957['push'](_0x16a957['shift']());}};_0x1e9e4e(++_0x4dc5ee);}(_0x4dc5,0xc3));var _0x1e9e=function(_0x16a957,_0x4dc5ee){_0x16a957=_0x16a957-0x0;var _0x1e9e4e=_0x4dc5[_0x16a957];return _0x1e9e4e;};import{Plugin as _0x4b8c59}from'ckeditor5/src/core.js';import _0x5515ef from'./comments/commentsrepository.js';import _0x2ef5f5 from'./comments/commentsediting.js';import _0x5a87ae from'./comments/commentsui.js';import _0x3d7fb6 from'./commentsonly.js';import _0xfdb026 from'./annotations/widesidebar.js';import _0x1a4c53 from'./annotations/narrowsidebar.js';import _0xfa1097 from'./annotations/inlineannotations.js';import _0x497c1e from'./comments/commentsarchiveui.js';import _0x1ec395 from'./comments/commentsarchive.js';export default class f extends _0x4b8c59{static get[_0x1e9e('0x0')](){return[_0x5515ef,_0x2ef5f5,_0x5a87ae,_0x1ec395,_0x497c1e,_0x3d7fb6,_0xfdb026,_0x1a4c53,_0xfa1097];}static get['pluginName'](){return _0x1e9e('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x309b=['document','plugins','DragDrop','cut','forceDisabled','commentsOnlyMode','clipboardInput','CommentsOnly','requires','change:isEnabled','commands','config','has','stop','get','stopListening','listenTo','afterInit','delete','editing','highest','editor','addCommentThread','isEnabled','commentsOnly','_disableCommentsOnlyMode','view','_enableCommentsOnlyMode'];(function(_0x37c1f2,_0x309b95){const _0x2c3ed7=function(_0xd14279){while(--_0xd14279){_0x37c1f2['push'](_0x37c1f2['shift']());}};_0x2c3ed7(++_0x309b95);}(_0x309b,0x14e));const _0x2c3e=function(_0x37c1f2,_0x309b95){_0x37c1f2=_0x37c1f2-0x0;let _0x2c3ed7=_0x309b[_0x37c1f2];return _0x2c3ed7;};import{Plugin as _0x1ae0cf}from'ckeditor5/src/core.js';import _0x204e5c from'./comments/commentsediting.js';export default class e extends _0x1ae0cf{static get['pluginName'](){return _0x2c3e('0x9');}static get[_0x2c3e('0xa')](){return[_0x204e5c];}constructor(_0x32470e){super(_0x32470e),this['set']('isEnabled',!0x1),this['on'](_0x2c3e('0xb'),(_0xeb1b0a,_0x53bb77,_0x54c52a)=>{_0x54c52a?this[_0x2c3e('0x1')]():this[_0x2c3e('0x1b')]();});}[_0x2c3e('0x13')](){!this['isEnabled']&&this['editor'][_0x2c3e('0xd')][_0x2c3e('0x10')](_0x2c3e('0x1a'))&&(this[_0x2c3e('0x19')]=!0x0);}[_0x2c3e('0x1')](){for(const [_0x15e113,_0x275785]of this[_0x2c3e('0x17')][_0x2c3e('0xc')])_0x275785['affectsData']&&_0x2c3e('0x18')!==_0x15e113&&_0x275785[_0x2c3e('0x6')](_0x2c3e('0x7'));this[_0x2c3e('0x17')][_0x2c3e('0x3')][_0x2c3e('0xe')](_0x2c3e('0x4'))&&this[_0x2c3e('0x17')][_0x2c3e('0x3')][_0x2c3e('0x10')](_0x2c3e('0x4'))[_0x2c3e('0x6')](_0x2c3e('0x7'));const _0x1990a3=this[_0x2c3e('0x17')][_0x2c3e('0x15')][_0x2c3e('0x0')]['document'];this[_0x2c3e('0x12')](_0x1990a3,_0x2c3e('0x5'),_0x363445=>_0x363445[_0x2c3e('0xf')](),{'priority':_0x2c3e('0x16')}),this[_0x2c3e('0x12')](_0x1990a3,_0x2c3e('0x8'),_0x4fc4d1=>_0x4fc4d1['stop'](),{'priority':_0x2c3e('0x16')}),this['listenTo'](_0x1990a3,_0x2c3e('0x14'),_0x3061f4=>_0x3061f4['stop'](),{'priority':_0x2c3e('0x16')});}[_0x2c3e('0x1b')](){for(const [_0x54ad27,_0x4f4578]of this[_0x2c3e('0x17')][_0x2c3e('0xc')])_0x4f4578['affectsData']&&_0x2c3e('0x18')!==_0x54ad27&&_0x4f4578['clearForceDisabled'](_0x2c3e('0x7'));this[_0x2c3e('0x11')](this[_0x2c3e('0x17')][_0x2c3e('0x15')][_0x2c3e('0x0')][_0x2c3e('0x2')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5e8071,_0xf781e4,_0x4b8c88){const t=_0x5e8071['t'];switch(_0xf781e4){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'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x4b8c88);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'},_0x4b8c88);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'},_0x4b8c88);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'},_0x4b8c88);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'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5717=['characterData','attributes','class','cancel','childList','disconnect','attributeName','type'];(function(_0x1c31d2,_0x5717a7){const _0x5919cd=function(_0x2972e1){while(--_0x2972e1){_0x1c31d2['push'](_0x1c31d2['shift']());}};_0x5919cd(++_0x5717a7);}(_0x5717,0xda));const _0x5919=function(_0x1c31d2,_0x5717a7){_0x1c31d2=_0x1c31d2-0x0;let _0x5919cd=_0x5717[_0x1c31d2];return _0x5919cd;};import{throttle as _0x234a8f}from'lodash-es';export default function Dt(_0x38b11b){const _0x1b62cc=_0x234a8f(_0x38b11b,0x1e),_0x4a10be=new MutationObserver(_0x3f05fc=>{for(const _0x4a6d83 of _0x3f05fc)(_0x5919('0x7')==_0x4a6d83[_0x5919('0x5')]&&_0x5919('0x0')==_0x4a6d83[_0x5919('0x4')]||_0x5919('0x2')==_0x4a6d83[_0x5919('0x5')]||_0x5919('0x6')==_0x4a6d83[_0x5919('0x5')])&&_0x1b62cc();});return{'attach'(_0x52d3c6){_0x4a10be['observe'](_0x52d3c6,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x4a10be[_0x5919('0x3')](),_0x1b62cc[_0x5919('0x1')]();}};}
|