@ckeditor/ckeditor5-comments 0.0.0-nightly-20230822.0 → 0.0.0-nightly-20230823.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 _0x3052=['name','getTemplate','EXTERNAL_IMPORT_WORD_COMMENT','isRemovable','buttonView','creator','ck-annotation__user','isReadOnly','_attachActions','isVisible','change:isVisible','ck-annotation__main','ck-annotation__info-name','edit','isEnabled','importWord','ck-annotation__content-wrapper','label','time','ck-comment--remove','_config','threeVerticalDots','ck-annotation','some','length','mouseleave','setTemplate','items','author','userView','set','div','switchToEditMode','_model','getExternalCommentNote','icon','fire','@external','locale','extendTemplate','change:isRemovable','Remove','removeComment','editButton','ck-comment__info-name','remove','ck-comment__actions--hidden','ck-comment--remove-confirmation','listenTo','placeholder','isEditMode','ck-annotation__info-time','ck-comment__info-time','addMany','removeButton','isEditable','_createCommentInputView','_createRemoveButton','showConfirm','_createEditButton','execute','children','authoredAt','resolvedAt','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment--edit','visibleView','dropdown','getUserViewNotificationText','element','panelView','source','ck-comment__external','panelPosition','isExternal','actionBar','isSystemComment','bind','_createDropdown','ck-comment__actions','ck-comment__info','formatDateTime','withText','push','createCollection','actionIndicator','attributes','Show\x20more\x20items','Delete\x20comment?','isConfirm','Reply...','add'];(function(_0x43a822,_0x30525a){const _0x4b7b0a=function(_0xc4b764){while(--_0xc4b764){_0x43a822['push'](_0x43a822['shift']());}};_0x4b7b0a(++_0x30525a);}(_0x3052,0x180));const _0x4b7b=function(_0x43a822,_0x30525a){_0x43a822=_0x43a822-0x0;let _0x4b7b0a=_0x3052[_0x43a822];return _0x4b7b0a;};import{ButtonView as _0x5a118b,createDropdown as _0x31266b,ListView as _0x378eb2,ListItemView as _0xdfc861}from'ckeditor5/src/ui';import{icons as _0x3ca25c}from'ckeditor5/src/core';import{UserView as _0x226d0a,ConfirmMixin as _0x263b63}from'ckeditor5-collaboration/src/collaboration-core';import _0x4884c5 from'./basecommentview';import _0x92c3a2 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x43d204}from'../../../utils/common-translations';export default class ut extends _0x263b63(_0x4884c5){constructor(_0x4fcfad,_0x4f5b09,_0x4fe3cd){super(_0x4fcfad,_0x4f5b09,_0x4fe3cd),this[_0x4b7b('0xe')](_0x4b7b('0x45'),null),this[_0x4b7b('0xe')]('placeholder',_0x43d204(_0x4fcfad,_0x4b7b('0x4a'))),this[_0x4b7b('0x3d')](_0x4b7b('0x2e'))['to'](_0x4f5b09),this[_0x4b7b('0x3d')](_0x4b7b('0x2f'))['to'](_0x4f5b09),this[_0x4b7b('0x3b')]=this[_0x4b7b('0x44')](),this[_0x4b7b('0x3c')]||(this[_0x4b7b('0x1b')]=this[_0x4b7b('0x2b')](),this[_0x4b7b('0x26')]=this['_createRemoveButton'](),this['items']=this[_0x4b7b('0x44')](),this['items'][_0x4b7b('0x25')]([this['editButton'],this[_0x4b7b('0x26')]]),this['dropdown']=this[_0x4b7b('0x3e')](),this[_0x4b7b('0x3b')][_0x4b7b('0x4b')](this[_0x4b7b('0x33')])),this[_0x4b7b('0xd')]=new _0x226d0a(_0x4fcfad,_0x4f5b09[_0x4b7b('0xc')],this[_0x4b7b('0x34')]()),this[_0x4b7b('0xd')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x4b7b('0x52')]}}),this[_0x4b7b('0x20')](_0x4f5b09,_0x4b7b('0x18'),()=>this['cancelConfirm']()),this[_0x4b7b('0xa')](this[_0x4b7b('0x4d')]());}[_0x4b7b('0x4d')](){const _0x3aa8d2=this['bindTemplate'],_0x440f5b=[{'tag':_0x4b7b('0xf'),'attributes':{'class':[_0x4b7b('0x40'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this[_0x4b7b('0xd')]['name']}],'attributes':{'class':[_0x4b7b('0x1c'),_0x4b7b('0x58')]}},{'tag':_0x4b7b('0x2'),'attributes':{'datetime':_0x3aa8d2['to'](_0x4b7b('0x2e')),'class':[_0x4b7b('0x24'),_0x4b7b('0x23')]},'children':[{'text':_0x3aa8d2['to'](_0x4b7b('0x2e'),_0x451bd4=>this[_0x4b7b('0x4')][_0x4b7b('0x41')](_0x451bd4))}]}]},{'tag':_0x4b7b('0xf'),'attributes':{'class':[_0x4b7b('0x3f'),'ck-annotation__actions',_0x3aa8d2['if'](_0x4b7b('0x22'),_0x4b7b('0x1e')),_0x3aa8d2['if'](_0x4b7b('0x22'),'ck-annotation__actions--hidden')]},'children':this[_0x4b7b('0x3b')]},{'tag':'div','attributes':{'class':[_0x4b7b('0x0')]},'children':this[_0x4b7b('0x32')]}];return this[_0x4b7b('0x11')][_0x4b7b('0x3a')]&&_0x440f5b[_0x4b7b('0x43')]({'tag':'div','attributes':{'class':[_0x4b7b('0x38')]},'children':[{'text':this[_0x4b7b('0x12')]()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x3aa8d2['if'](_0x4b7b('0x49'),_0x4b7b('0x1f'))],'tabindex':-0x1},'children':[{'tag':_0x4b7b('0xf'),'attributes':{'class':['ck-comment',_0x4b7b('0x6'),_0x3aa8d2['if'](_0x4b7b('0x22'),_0x4b7b('0x31')),_0x3aa8d2['if']('isSystemComment','ck-comment--info'),_0x3aa8d2['to'](_0x4b7b('0x45'),_0x82417e=>_0x82417e?'ck-comment--'+_0x82417e:'')],'data-author-id':this[_0x4b7b('0x11')][_0x4b7b('0xc')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x4b7b('0xd')],{'tag':_0x4b7b('0xf'),'attributes':{'class':['ck-comment__main',_0x4b7b('0x57')]},'children':_0x440f5b}]}]};}[_0x4b7b('0x2b')](){const _0x48d0aa=new _0x5a118b(this[_0x4b7b('0x16')]);return _0x48d0aa[_0x4b7b('0x1')]=_0x43d204(this['locale'],'Edit'),_0x48d0aa[_0x4b7b('0x13')]=_0x3ca25c['pencil'],_0x48d0aa['withText']=!0x0,_0x48d0aa['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x48d0aa[_0x4b7b('0x3d')](_0x4b7b('0x5a'))['to'](this['_model'],_0x4b7b('0x53'),_0x3c3d59=>!_0x3c3d59),_0x48d0aa[_0x4b7b('0x3d')](_0x4b7b('0x55'))['to'](this[_0x4b7b('0x11')],_0x4b7b('0x27')),_0x48d0aa['on'](_0x4b7b('0x2c'),()=>this[_0x4b7b('0x10')]()),_0x48d0aa;}[_0x4b7b('0x29')](){const _0x1637d6=new _0x5a118b(this[_0x4b7b('0x16')]);return _0x1637d6[_0x4b7b('0x1')]=_0x43d204(this[_0x4b7b('0x16')],_0x4b7b('0x19')),_0x1637d6[_0x4b7b('0x13')]=_0x92c3a2,_0x1637d6[_0x4b7b('0x42')]=!0x0,_0x1637d6[_0x4b7b('0x17')]({'attributes':{'class':_0x4b7b('0x3')}}),_0x1637d6[_0x4b7b('0x3d')]('isEnabled')['to'](this[_0x4b7b('0x11')],_0x4b7b('0x53'),_0x332f25=>!_0x332f25),_0x1637d6[_0x4b7b('0x3d')](_0x4b7b('0x55'))['to'](this[_0x4b7b('0x11')],_0x4b7b('0x4f')),_0x1637d6['on'](_0x4b7b('0x2c'),()=>{this[_0x4b7b('0x2a')](_0x43d204(this[_0x4b7b('0x16')],_0x4b7b('0x48')),this[_0x4b7b('0x35')])['then'](()=>{this[_0x4b7b('0x14')](_0x4b7b('0x1a'),this[_0x4b7b('0x11')]['id']);});}),_0x1637d6;}[_0x4b7b('0x3e')](){const _0x35497c=_0x31266b(this[_0x4b7b('0x16')]),_0x3cab13=_0x35497c[_0x4b7b('0x36')][_0x4b7b('0x2d')],_0x5a5e9e=new _0x378eb2(this['locale']),_0x58cf5f=(_0x1fb178,_0x393638=-0x1)=>{const _0x774902=new _0xdfc861(this['locale']);_0x774902[_0x4b7b('0x2d')][_0x4b7b('0x4b')](_0x1fb178);const _0x2c1e00=_0x393638>-0x1?_0x393638:_0x5a5e9e[_0x4b7b('0xb')][_0x4b7b('0x8')];_0x5a5e9e['items'][_0x4b7b('0x4b')](_0x774902,_0x2c1e00),_0x35497c['listenTo'](_0x1fb178,'change:isEnabled',()=>{_0x35497c[_0x4b7b('0x5a')]=[...this[_0x4b7b('0xb')]][_0x4b7b('0x7')](_0x4f921d=>_0x4f921d[_0x4b7b('0x5a')]);}),_0x35497c[_0x4b7b('0x20')](_0x1fb178,_0x4b7b('0x56'),()=>{_0x35497c[_0x4b7b('0x50')][_0x4b7b('0x55')]=[...this[_0x4b7b('0xb')]][_0x4b7b('0x7')](_0x4fa37d=>_0x4fa37d[_0x4b7b('0x55')]);});};_0x35497c[_0x4b7b('0x39')]='sw',_0x35497c[_0x4b7b('0x50')]['set']({'label':_0x43d204(this[_0x4b7b('0x16')],_0x4b7b('0x47')),'icon':_0x3ca25c[_0x4b7b('0x5')]}),_0x35497c[_0x4b7b('0x5a')]=[...this['items']][_0x4b7b('0x7')](_0x1f4235=>_0x1f4235[_0x4b7b('0x5a')]),_0x35497c[_0x4b7b('0x50')]['isVisible']=[...this[_0x4b7b('0xb')]][_0x4b7b('0x7')](_0x3cb49d=>_0x3cb49d[_0x4b7b('0x55')]);for(const _0x581670 of this['items'])_0x58cf5f(_0x581670);return _0x3cab13[_0x4b7b('0x4b')](_0x5a5e9e),_0x35497c[_0x4b7b('0x20')](this[_0x4b7b('0xb')],'add',(_0x59dc40,_0x4ae417,_0x45733d)=>{_0x58cf5f(_0x4ae417,_0x45733d);}),_0x35497c[_0x4b7b('0x20')](this[_0x4b7b('0xb')],_0x4b7b('0x1d'),(_0x3f8f1e,_0x43dde3,_0x5a170c)=>{_0x5a5e9e[_0x4b7b('0xb')][_0x4b7b('0x1d')](_0x5a170c);}),_0x35497c;}[_0x4b7b('0x54')](_0x55914a,_0x1dc618){const _0x513293=_0x55914a&&_0x55914a[_0x4b7b('0x35')];_0x513293&&(this[_0x4b7b('0x20')](_0x513293,'mouseenter',()=>this['actionIndicator']=_0x1dc618),this[_0x4b7b('0x20')](_0x513293,'focus',()=>this[_0x4b7b('0x45')]=_0x1dc618),this[_0x4b7b('0x20')](_0x513293,_0x4b7b('0x9'),()=>this[_0x4b7b('0x45')]=null),this[_0x4b7b('0x20')](_0x513293,'blur',()=>this['actionIndicator']=null));}[_0x4b7b('0x28')](){const _0x1ea6ce=super['_createCommentInputView']();return _0x1ea6ce[_0x4b7b('0x3d')](_0x4b7b('0x21'))['to'](this),_0x1ea6ce;}[_0x4b7b('0x12')](){return _0x4b7b('0x5b')===this[_0x4b7b('0x11')][_0x4b7b('0x46')][_0x4b7b('0x15')][_0x4b7b('0x37')]?_0x43d204(this[_0x4b7b('0x16')],_0x4b7b('0x4e')):_0x43d204(this[_0x4b7b('0x16')],'EXTERNAL_COMMENT');}[_0x4b7b('0x34')](){return this[_0x4b7b('0x11')][_0x4b7b('0x3a')]?_0x4b7b('0x5b')===this['_model'][_0x4b7b('0x46')][_0x4b7b('0x15')][_0x4b7b('0x37')]?_0x43d204(this['locale'],_0x4b7b('0x30'),this['_model'][_0x4b7b('0x51')]['name']):_0x43d204(this[_0x4b7b('0x16')],'EXTERNAL_AVATAR',this[_0x4b7b('0x11')][_0x4b7b('0x51')][_0x4b7b('0x4c')]):null;}['render'](){super['render'](),this[_0x4b7b('0x54')](this[_0x4b7b('0x1b')],_0x4b7b('0x59')),this[_0x4b7b('0x54')](this[_0x4b7b('0x26')],_0x4b7b('0x1d'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x131c=['Comments','pluginName'];(function(_0x1d5757,_0x131ca0){var _0x133508=function(_0x61e3f8){while(--_0x61e3f8){_0x1d5757['push'](_0x1d5757['shift']());}};_0x133508(++_0x131ca0);}(_0x131c,0xdf));var _0x1335=function(_0x1d5757,_0x131ca0){_0x1d5757=_0x1d5757-0x0;var _0x133508=_0x131c[_0x1d5757];return _0x133508;};import{Plugin as _0x1e85e5}from'ckeditor5/src/core';import _0x262d8c from'./comments/commentsrepository';import _0x591a8f from'./comments/commentsediting';import _0x580dca from'./comments/commentsui';import _0x55c2ba from'./commentsonly';import _0x2c66d3 from'./annotations/widesidebar';import _0x22c416 from'./annotations/narrowsidebar';import _0x3d1716 from'./annotations/inlineannotations';import _0x305c55 from'./comments/commentsarchiveui';import _0x4b8c8f from'./comments/commentsarchive';export default class f extends _0x1e85e5{static get['requires'](){return[_0x262d8c,_0x591a8f,_0x580dca,_0x4b8c8f,_0x305c55,_0x55c2ba,_0x2c66d3,_0x22c416,_0x3d1716];}static get[_0x1335('0x0')](){return _0x1335('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ea0=['editor','listenTo','affectsData','requires','_disableCommentsOnlyMode','_enableCommentsOnlyMode','set','stop','get','commentsOnly','highest','editing','addCommentThread','stopListening','commands','cut','has','commentsOnlyMode','clipboardInput','document','delete','plugins','CommentsOnly','isEnabled','afterInit','view','DragDrop'];(function(_0x212fbb,_0x3ea0e0){const _0x1d5117=function(_0xe890ed){while(--_0xe890ed){_0x212fbb['push'](_0x212fbb['shift']());}};_0x1d5117(++_0x3ea0e0);}(_0x3ea0,0xef));const _0x1d51=function(_0x212fbb,_0x3ea0e0){_0x212fbb=_0x212fbb-0x0;let _0x1d5117=_0x3ea0[_0x212fbb];return _0x1d5117;};import{Plugin as _0x1ac0d7}from'ckeditor5/src/core';import _0x4313b9 from'./comments/commentsediting';export default class n extends _0x1ac0d7{static get['pluginName'](){return _0x1d51('0x1a');}static get[_0x1d51('0x7')](){return[_0x4313b9];}constructor(_0x28cc93){super(_0x28cc93),this[_0x1d51('0xa')]('isEnabled',!0x1),this['on']('change:isEnabled',(_0x21de5d,_0x39cd44,_0x21bafb)=>{_0x21bafb?this['_enableCommentsOnlyMode']():this[_0x1d51('0x8')]();});}[_0x1d51('0x1')](){!this[_0x1d51('0x0')]&&this[_0x1d51('0x4')]['config'][_0x1d51('0xc')](_0x1d51('0xd'))&&(this[_0x1d51('0x0')]=!0x0);}[_0x1d51('0x9')](){for(const [_0x39d987,_0xafc60d]of this[_0x1d51('0x4')][_0x1d51('0x12')])_0xafc60d[_0x1d51('0x6')]&&_0x1d51('0x10')!==_0x39d987&&_0xafc60d['forceDisabled'](_0x1d51('0x15'));this[_0x1d51('0x4')][_0x1d51('0x19')][_0x1d51('0x14')](_0x1d51('0x3'))&&this[_0x1d51('0x4')]['plugins'][_0x1d51('0xc')](_0x1d51('0x3'))['forceDisabled'](_0x1d51('0x15'));const _0x3fabcf=this[_0x1d51('0x4')][_0x1d51('0xf')][_0x1d51('0x2')][_0x1d51('0x17')];this[_0x1d51('0x5')](_0x3fabcf,_0x1d51('0x13'),_0x20a969=>_0x20a969[_0x1d51('0xb')](),{'priority':_0x1d51('0xe')}),this[_0x1d51('0x5')](_0x3fabcf,_0x1d51('0x16'),_0x58d6a8=>_0x58d6a8['stop'](),{'priority':_0x1d51('0xe')}),this[_0x1d51('0x5')](_0x3fabcf,_0x1d51('0x18'),_0x2d9d0e=>_0x2d9d0e['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x138422,_0x39fd76]of this['editor'][_0x1d51('0x12')])_0x39fd76['affectsData']&&'addCommentThread'!==_0x138422&&_0x39fd76['clearForceDisabled'](_0x1d51('0x15'));this[_0x1d51('0x11')](this[_0x1d51('0x4')]['editing'][_0x1d51('0x2')][_0x1d51('0x17')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5e2941,_0x3a5d9f,_0x7b1b50){const t=_0x5e2941['t'];switch(_0x3a5d9f){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'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x7b1b50);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'},_0x7b1b50);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'},_0x7b1b50);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'},_0x7b1b50);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 _0x4785=['childList','class','observe','type'];(function(_0x47b4fd,_0x47856a){const _0x610a37=function(_0x110557){while(--_0x110557){_0x47b4fd['push'](_0x47b4fd['shift']());}};_0x610a37(++_0x47856a);}(_0x4785,0x191));const _0x610a=function(_0x47b4fd,_0x47856a){_0x47b4fd=_0x47b4fd-0x0;let _0x610a37=_0x4785[_0x47b4fd];return _0x610a37;};import{throttle as _0x39edc9}from'lodash-es';export default function Dt(_0x5d9fa9){const _0x291173=_0x39edc9(_0x5d9fa9,0x1e),_0x1400e3=new MutationObserver(_0x465565=>{for(const _0x17d853 of _0x465565)('attributes'==_0x17d853[_0x610a('0x2')]&&_0x610a('0x0')==_0x17d853['attributeName']||_0x610a('0x3')==_0x17d853[_0x610a('0x2')]||'characterData'==_0x17d853['type'])&&_0x291173();});return{'attach'(_0x2ad13a){_0x1400e3[_0x610a('0x1')](_0x2ad13a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x1400e3['disconnect'](),_0x291173['cancel']();}};}
|