@ckeditor/ckeditor5-comments 0.0.0-nightly-20231107.0 → 0.0.0-nightly-20231108.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/lang/contexts.json +2 -0
- 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 _0x22ac=['set','ck-comment__info-time','isRemovable','bind','dropdown','ck-comment--edit','creator','getExternalCommentNote','editButton','getTemplate','length','panelView','ck-comment__info','removeComment','buttonView','actionIndicator','switchToEditMode','some','add','addMany','blur','isExternal','formatDateTime','withText','ck-annotation__main','_createRemoveButton','@external','label','ck-comment__actions','isEnabled','ck-comment--info','visibleView','ck-annotation__actions--hidden','execute','Edit','change:isRemovable','icon','ck-annotation__actions','EXTERNAL_IMPORT_WORD_AVATAR','ck-comment--','actionBar','_createEditButton','userView','mouseenter','Show\x20more\x20items','isReadOnly','source','ck-annotation','EXTERNAL_IMPORT_WORD_COMMENT','ck-annotation__user','_model','authoredAt','EXTERNAL_AVATAR','isConfirm','cancelConfirm','_createCommentInputView','ck-comment__external','_config','_attachActions','change:isVisible','ck-comment__info-name','isSystemComment','placeholder','locale','name','removeButton','ck-annotation__info-name','change:isEnabled','ck-comment--remove','push','ck-comment__wrapper','author','pencil','getUserViewNotificationText','Delete\x20comment?','_createDropdown','Remove','setTemplate','attributes','createCollection','children','isVisible','listenTo','items','focus','extendTemplate','render','remove','threeVerticalDots','isEditMode','ck-comment__actions--hidden','mouseleave','fire','div'];(function(_0x5394b1,_0x22aca3){const _0x12f081=function(_0x3519e7){while(--_0x3519e7){_0x5394b1['push'](_0x5394b1['shift']());}};_0x12f081(++_0x22aca3);}(_0x22ac,0x1c3));const _0x12f0=function(_0x5394b1,_0x22aca3){_0x5394b1=_0x5394b1-0x0;let _0x12f081=_0x22ac[_0x5394b1];return _0x12f081;};import{ButtonView as _0x4c1dab,createDropdown as _0x209409,ListView as _0x220637,ListItemView as _0x46a562}from'ckeditor5/src/ui';import{icons as _0x2536fb}from'ckeditor5/src/core';import{UserView as _0x1b4807,ConfirmMixin as _0x25cc39}from'ckeditor5-collaboration/src/collaboration-core';import _0x5adf4b from'./basecommentview';import _0x5ea30b from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0xf699b2}from'../../../utils/common-translations';export default class pt extends _0x25cc39(_0x5adf4b){constructor(_0x19e6e1,_0xc94c67,_0x564103){super(_0x19e6e1,_0xc94c67,_0x564103),this[_0x12f0('0x13')](_0x12f0('0x22'),null),this[_0x12f0('0x13')](_0x12f0('0x51'),_0xf699b2(_0x19e6e1,'Reply...')),this[_0x12f0('0x16')]('authoredAt')['to'](_0xc94c67),this['bind']('resolvedAt')['to'](_0xc94c67),this['actionBar']=this[_0x12f0('0x4')](),this[_0x12f0('0x50')]||(this[_0x12f0('0x1b')]=this[_0x12f0('0x3c')](),this[_0x12f0('0x54')]=this[_0x12f0('0x2c')](),this[_0x12f0('0x8')]=this[_0x12f0('0x4')](),this[_0x12f0('0x8')][_0x12f0('0x26')]([this[_0x12f0('0x1b')],this[_0x12f0('0x54')]]),this[_0x12f0('0x17')]=this[_0x12f0('0x0')](),this['actionBar'][_0x12f0('0x25')](this['dropdown'])),this['userView']=new _0x1b4807(_0x19e6e1,_0xc94c67[_0x12f0('0x5a')],this[_0x12f0('0x5c')]()),this[_0x12f0('0x3d')]['extendTemplate']({'attributes':{'class':['ck-comment__user',_0x12f0('0x44')]}}),this['listenTo'](_0xc94c67,_0x12f0('0x36'),()=>this[_0x12f0('0x49')]()),this[_0x12f0('0x2')](this[_0x12f0('0x1c')]());}[_0x12f0('0x1c')](){const _0xe5be8e=this['bindTemplate'],_0x2e7b8b=[{'tag':'div','attributes':{'class':[_0x12f0('0x1f'),'ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView'][_0x12f0('0x53')]}],'attributes':{'class':[_0x12f0('0x4f'),_0x12f0('0x55')]}},{'tag':'time','attributes':{'datetime':_0xe5be8e['to'](_0x12f0('0x46')),'class':[_0x12f0('0x14'),'ck-annotation__info-time']},'children':[{'text':_0xe5be8e['to'](_0x12f0('0x46'),_0x5e9d4e=>this[_0x12f0('0x4c')][_0x12f0('0x29')](_0x5e9d4e))}]}]},{'tag':_0x12f0('0x12'),'attributes':{'class':[_0x12f0('0x2f'),_0x12f0('0x38'),_0xe5be8e['if']('isEditMode',_0x12f0('0xf')),_0xe5be8e['if'](_0x12f0('0xe'),_0x12f0('0x33'))]},'children':this[_0x12f0('0x3b')]},{'tag':_0x12f0('0x12'),'attributes':{'class':['ck-annotation__content-wrapper']},'children':this[_0x12f0('0x32')]}];return this[_0x12f0('0x45')][_0x12f0('0x28')]&&_0x2e7b8b[_0x12f0('0x58')]({'tag':'div','attributes':{'class':[_0x12f0('0x4b')]},'children':[{'text':this[_0x12f0('0x1a')]()}]}),{'tag':'li','attributes':{'class':[_0x12f0('0x59'),_0xe5be8e['if'](_0x12f0('0x48'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x12f0('0x12'),'attributes':{'class':['ck-comment',_0x12f0('0x42'),_0xe5be8e['if'](_0x12f0('0xe'),_0x12f0('0x18')),_0xe5be8e['if'](_0x12f0('0x50'),_0x12f0('0x31')),_0xe5be8e['to'](_0x12f0('0x22'),_0x531497=>_0x531497?_0x12f0('0x3a')+_0x531497:'')],'data-author-id':this[_0x12f0('0x45')][_0x12f0('0x5a')]['id'],'data-comment-id':this[_0x12f0('0x45')]['id']},'children':[this[_0x12f0('0x3d')],{'tag':_0x12f0('0x12'),'attributes':{'class':['ck-comment__main',_0x12f0('0x2b')]},'children':_0x2e7b8b}]}]};}[_0x12f0('0x3c')](){const _0x40c61e=new _0x4c1dab(this[_0x12f0('0x52')]);return _0x40c61e[_0x12f0('0x2e')]=_0xf699b2(this['locale'],_0x12f0('0x35')),_0x40c61e['icon']=_0x2536fb[_0x12f0('0x5b')],_0x40c61e[_0x12f0('0x2a')]=!0x0,_0x40c61e['extendTemplate']({'attributes':{'class':_0x12f0('0x18')}}),_0x40c61e['bind'](_0x12f0('0x30'))['to'](this[_0x12f0('0x45')],_0x12f0('0x40'),_0x2c2d19=>!_0x2c2d19),_0x40c61e['bind'](_0x12f0('0x6'))['to'](this['_model'],'isEditable'),_0x40c61e['on'](_0x12f0('0x34'),()=>this[_0x12f0('0x23')]()),_0x40c61e;}[_0x12f0('0x2c')](){const _0x5bc999=new _0x4c1dab(this[_0x12f0('0x52')]);return _0x5bc999['label']=_0xf699b2(this[_0x12f0('0x52')],_0x12f0('0x1')),_0x5bc999[_0x12f0('0x37')]=_0x5ea30b,_0x5bc999[_0x12f0('0x2a')]=!0x0,_0x5bc999[_0x12f0('0xa')]({'attributes':{'class':_0x12f0('0x57')}}),_0x5bc999[_0x12f0('0x16')](_0x12f0('0x30'))['to'](this[_0x12f0('0x45')],_0x12f0('0x40'),_0x6bf7a8=>!_0x6bf7a8),_0x5bc999[_0x12f0('0x16')](_0x12f0('0x6'))['to'](this[_0x12f0('0x45')],_0x12f0('0x15')),_0x5bc999['on'](_0x12f0('0x34'),()=>{this['showConfirm'](_0xf699b2(this[_0x12f0('0x52')],_0x12f0('0x5d')),this['element'])['then'](()=>{this[_0x12f0('0x11')](_0x12f0('0x20'),this['_model']['id']);});}),_0x5bc999;}[_0x12f0('0x0')](){const _0x4fcd40=_0x209409(this[_0x12f0('0x52')]),_0x4bba02=_0x4fcd40[_0x12f0('0x1e')][_0x12f0('0x5')],_0x244ea6=new _0x220637(this[_0x12f0('0x52')]),_0x33dacc=(_0x3fcb92,_0x2eceff=-0x1)=>{const _0x16f406=new _0x46a562(this[_0x12f0('0x52')]);_0x16f406[_0x12f0('0x5')][_0x12f0('0x25')](_0x3fcb92);const _0x1f6405=_0x2eceff>-0x1?_0x2eceff:_0x244ea6['items'][_0x12f0('0x1d')];_0x244ea6[_0x12f0('0x8')]['add'](_0x16f406,_0x1f6405),_0x4fcd40[_0x12f0('0x7')](_0x3fcb92,_0x12f0('0x56'),()=>{_0x4fcd40[_0x12f0('0x30')]=[...this[_0x12f0('0x8')]][_0x12f0('0x24')](_0x203935=>_0x203935[_0x12f0('0x30')]);}),_0x4fcd40[_0x12f0('0x7')](_0x3fcb92,_0x12f0('0x4e'),()=>{_0x4fcd40[_0x12f0('0x21')][_0x12f0('0x6')]=[...this[_0x12f0('0x8')]][_0x12f0('0x24')](_0x27a2c3=>_0x27a2c3[_0x12f0('0x6')]);});};_0x4fcd40['panelPosition']='sw',_0x4fcd40[_0x12f0('0x21')][_0x12f0('0x13')]({'label':_0xf699b2(this[_0x12f0('0x52')],_0x12f0('0x3f')),'icon':_0x2536fb[_0x12f0('0xd')]}),_0x4fcd40[_0x12f0('0x30')]=[...this[_0x12f0('0x8')]][_0x12f0('0x24')](_0x2ef25a=>_0x2ef25a[_0x12f0('0x30')]),_0x4fcd40[_0x12f0('0x21')]['isVisible']=[...this['items']][_0x12f0('0x24')](_0x248268=>_0x248268['isVisible']);for(const _0x1edd17 of this['items'])_0x33dacc(_0x1edd17);return _0x4bba02[_0x12f0('0x25')](_0x244ea6),_0x4fcd40[_0x12f0('0x7')](this[_0x12f0('0x8')],_0x12f0('0x25'),(_0x9e71b0,_0x3cc862,_0x1c50f8)=>{_0x33dacc(_0x3cc862,_0x1c50f8);}),_0x4fcd40[_0x12f0('0x7')](this[_0x12f0('0x8')],_0x12f0('0xc'),(_0x29bfc9,_0x2b389a,_0x29d0fe)=>{_0x244ea6[_0x12f0('0x8')][_0x12f0('0xc')](_0x29d0fe);}),_0x4fcd40;}['_attachActions'](_0x444376,_0x363cf6){const _0x40529e=_0x444376&&_0x444376['element'];_0x40529e&&(this[_0x12f0('0x7')](_0x40529e,_0x12f0('0x3e'),()=>this[_0x12f0('0x22')]=_0x363cf6),this[_0x12f0('0x7')](_0x40529e,_0x12f0('0x9'),()=>this[_0x12f0('0x22')]=_0x363cf6),this['listenTo'](_0x40529e,_0x12f0('0x10'),()=>this[_0x12f0('0x22')]=null),this['listenTo'](_0x40529e,_0x12f0('0x27'),()=>this[_0x12f0('0x22')]=null));}[_0x12f0('0x4a')](){const _0x358ddd=super[_0x12f0('0x4a')]();return _0x358ddd[_0x12f0('0x16')](_0x12f0('0x51'))['to'](this),_0x358ddd;}[_0x12f0('0x1a')](){return'importWord'===this[_0x12f0('0x45')]['attributes'][_0x12f0('0x2d')][_0x12f0('0x41')]?_0xf699b2(this['locale'],_0x12f0('0x43')):_0xf699b2(this[_0x12f0('0x52')],'EXTERNAL_COMMENT');}[_0x12f0('0x5c')](){return this[_0x12f0('0x45')]['isExternal']?'importWord'===this['_model'][_0x12f0('0x3')][_0x12f0('0x2d')][_0x12f0('0x41')]?_0xf699b2(this[_0x12f0('0x52')],_0x12f0('0x39'),this[_0x12f0('0x45')][_0x12f0('0x19')][_0x12f0('0x53')]):_0xf699b2(this[_0x12f0('0x52')],_0x12f0('0x47'),this['_model']['creator'][_0x12f0('0x53')]):null;}['render'](){super[_0x12f0('0xb')](),this[_0x12f0('0x4d')](this['editButton'],'edit'),this[_0x12f0('0x4d')](this[_0x12f0('0x54')],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4318=['requires','Comments','pluginName'];(function(_0x4c1e9b,_0x4318bb){var _0x1470ad=function(_0x5d4d18){while(--_0x5d4d18){_0x4c1e9b['push'](_0x4c1e9b['shift']());}};_0x1470ad(++_0x4318bb);}(_0x4318,0x77));var _0x1470=function(_0x4c1e9b,_0x4318bb){_0x4c1e9b=_0x4c1e9b-0x0;var _0x1470ad=_0x4318[_0x4c1e9b];return _0x1470ad;};import{Plugin as _0x365e2d}from'ckeditor5/src/core';import _0x173e08 from'./comments/commentsrepository';import _0x1acb8d from'./comments/commentsediting';import _0x173d79 from'./comments/commentsui';import _0x569a94 from'./commentsonly';import _0x2087e3 from'./annotations/widesidebar';import _0xc106ca from'./annotations/narrowsidebar';import _0x3f98c8 from'./annotations/inlineannotations';import _0x350f03 from'./comments/commentsarchiveui';import _0x2b2d4f from'./comments/commentsarchive';export default class f extends _0x365e2d{static get[_0x1470('0x1')](){return[_0x173e08,_0x1acb8d,_0x173d79,_0x2b2d4f,_0x350f03,_0x569a94,_0x2087e3,_0xc106ca,_0x3f98c8];}static get[_0x1470('0x0')](){return _0x1470('0x2');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3845=['view','document','editing','commentsOnlyMode','afterInit','stop','commands','affectsData','editor','isEnabled','plugins','set','delete','config','commentsOnly','forceDisabled','_enableCommentsOnlyMode','DragDrop','addCommentThread','highest','listenTo','get','_disableCommentsOnlyMode'];(function(_0x5a112f,_0x38455b){const _0x2c7910=function(_0x56bbcd){while(--_0x56bbcd){_0x5a112f['push'](_0x5a112f['shift']());}};_0x2c7910(++_0x38455b);}(_0x3845,0x1de));const _0x2c79=function(_0x5a112f,_0x38455b){_0x5a112f=_0x5a112f-0x0;let _0x2c7910=_0x3845[_0x5a112f];return _0x2c7910;};import{Plugin as _0x5c67b5}from'ckeditor5/src/core';import _0x35cbde from'./comments/commentsediting';export default class n extends _0x5c67b5{static get['pluginName'](){return'CommentsOnly';}static get['requires'](){return[_0x35cbde];}constructor(_0x29e9a6){super(_0x29e9a6),this[_0x2c79('0x10')](_0x2c79('0xe'),!0x1),this['on']('change:isEnabled',(_0xb967b0,_0x56a5a5,_0x3f666c)=>{_0x3f666c?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}[_0x2c79('0x9')](){!this[_0x2c79('0xe')]&&this[_0x2c79('0xd')][_0x2c79('0x12')][_0x2c79('0x3')](_0x2c79('0x13'))&&(this[_0x2c79('0xe')]=!0x0);}[_0x2c79('0x15')](){for(const [_0x44f731,_0x514c86]of this[_0x2c79('0xd')][_0x2c79('0xb')])_0x514c86[_0x2c79('0xc')]&&_0x2c79('0x0')!==_0x44f731&&_0x514c86[_0x2c79('0x14')](_0x2c79('0x8'));this['editor'][_0x2c79('0xf')]['has']('DragDrop')&&this[_0x2c79('0xd')][_0x2c79('0xf')][_0x2c79('0x3')](_0x2c79('0x16'))[_0x2c79('0x14')]('commentsOnlyMode');const _0x108bb2=this[_0x2c79('0xd')][_0x2c79('0x7')][_0x2c79('0x5')]['document'];this['listenTo'](_0x108bb2,'cut',_0x3d1121=>_0x3d1121[_0x2c79('0xa')](),{'priority':_0x2c79('0x1')}),this['listenTo'](_0x108bb2,'clipboardInput',_0x5f0644=>_0x5f0644[_0x2c79('0xa')](),{'priority':'highest'}),this[_0x2c79('0x2')](_0x108bb2,_0x2c79('0x11'),_0x3a31df=>_0x3a31df[_0x2c79('0xa')](),{'priority':'highest'});}[_0x2c79('0x4')](){for(const [_0x2264e9,_0x862903]of this['editor'][_0x2c79('0xb')])_0x862903[_0x2c79('0xc')]&&_0x2c79('0x0')!==_0x2264e9&&_0x862903['clearForceDisabled'](_0x2c79('0x8'));this['stopListening'](this[_0x2c79('0xd')][_0x2c79('0x7')]['view'][_0x2c79('0x6')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x19f0d4,_0x4d7f11,_0x3d3ca3){const t=_0x19f0d4['t'];switch(_0x4d7f11){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'},_0x3d3ca3);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'},_0x3d3ca3);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'},_0x3d3ca3);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'},_0x3d3ca3);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 _0x5f27=['type','childList','disconnect','class','characterData','observe'];(function(_0x404a4e,_0x5f2799){const _0x5a814c=function(_0x426518){while(--_0x426518){_0x404a4e['push'](_0x404a4e['shift']());}};_0x5a814c(++_0x5f2799);}(_0x5f27,0x172));const _0x5a81=function(_0x404a4e,_0x5f2799){_0x404a4e=_0x404a4e-0x0;let _0x5a814c=_0x5f27[_0x404a4e];return _0x5a814c;};import{throttle as _0x90b3da}from'lodash-es';export default function Dt(_0x29865b){const _0x47991e=_0x90b3da(_0x29865b,0x1e),_0x32a110=new MutationObserver(_0x2f4824=>{for(const _0x377d81 of _0x2f4824)('attributes'==_0x377d81[_0x5a81('0x2')]&&_0x5a81('0x5')==_0x377d81['attributeName']||_0x5a81('0x3')==_0x377d81[_0x5a81('0x2')]||_0x5a81('0x0')==_0x377d81[_0x5a81('0x2')])&&_0x47991e();});return{'attach'(_0x32c280){_0x32a110[_0x5a81('0x1')](_0x32c280,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x32a110[_0x5a81('0x4')](),_0x47991e['cancel']();}};}
|