@ckeditor/ckeditor5-comments 0.0.0-nightly-20240202.0 → 0.0.0-nightly-20240203.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.d.ts +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 _0x4cfa=['source','_createCommentInputView','resolvedAt','ck-comment__info','isConfirm','isEnabled','actionIndicator','mouseleave','panelPosition','render','creator','name','blur','switchToEditMode','mouseenter','isEditable','some','isVisible','getUserViewNotificationText','ck-comment--info','pencil','authoredAt','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','change:isVisible','editButton','Reply...','placeholder','ck-comment','execute','dropdown','withText','formatDateTime','Delete\x20comment?','change:isEnabled','removeComment','change:isRemovable','ck-annotation__actions','showConfirm','cancelConfirm','add','length','bind','isEditMode','extendTemplate','isSystemComment','ck-annotation__content-wrapper','locale','isReadOnly','_createEditButton','ck-comment__main','_config','actionBar','isExternal','ck-annotation__actions--hidden','_createDropdown','ck-comment__user','ck-comment--remove','focus','edit','ck-annotation__user','Edit','Remove','@external','ck-annotation__info','ck-annotation__main','remove','icon','set','isRemovable','buttonView','listenTo','userView','getExternalCommentNote','_attachActions','EXTERNAL_AVATAR','push','removeButton','time','ck-comment--edit','attributes','importWord','EXTERNAL_IMPORT_WORD_COMMENT','_createRemoveButton','ck-annotation__info-time','addMany','ck-comment__external','author','ck-comment--remove-confirmation','threeVerticalDots','_model','label','ck-comment__info-time','ck-annotation__info-name','div','panelView','Show\x20more\x20items','ck-comment__wrapper','items'];(function(_0x1766d3,_0x4cfaa0){const _0x15ecda=function(_0x4087f7){while(--_0x4087f7){_0x1766d3['push'](_0x1766d3['shift']());}};_0x15ecda(++_0x4cfaa0);}(_0x4cfa,0xc6));const _0x15ec=function(_0x1766d3,_0x4cfaa0){_0x1766d3=_0x1766d3-0x0;let _0x15ecda=_0x4cfa[_0x1766d3];return _0x15ecda;};import{ButtonView as _0x5a7dd7,createDropdown as _0x10d96d,ListView as _0x1d28f8,ListItemView as _0x1fa8ac}from'ckeditor5/src/ui.js';import{icons as _0x194238}from'ckeditor5/src/core.js';import{UserView as _0x58a636,ConfirmMixin as _0x56933d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xe95af9 from'./basecommentview.js';import _0x93a8a5 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x26b4e7}from'../../../utils/common-translations.js';export default class pt extends _0x56933d(_0xe95af9){constructor(_0x10e6df,_0x4d9ec4,_0xf8e170){super(_0x10e6df,_0x4d9ec4,_0xf8e170),this[_0x15ec('0x44')](_0x15ec('0x6'),null),this[_0x15ec('0x44')](_0x15ec('0x1b'),_0x26b4e7(_0x10e6df,_0x15ec('0x1a'))),this['bind'](_0x15ec('0x15'))['to'](_0x4d9ec4),this[_0x15ec('0x2a')](_0x15ec('0x2'))['to'](_0x4d9ec4),this[_0x15ec('0x34')]=this['createCollection'](),this[_0x15ec('0x2d')]||(this['editButton']=this[_0x15ec('0x31')](),this[_0x15ec('0x4d')]=this['_createRemoveButton'](),this['items']=this['createCollection'](),this[_0x15ec('0x62')][_0x15ec('0x55')]([this[_0x15ec('0x19')],this[_0x15ec('0x4d')]]),this['dropdown']=this['_createDropdown'](),this[_0x15ec('0x34')][_0x15ec('0x28')](this[_0x15ec('0x1e')])),this[_0x15ec('0x48')]=new _0x58a636(_0x10e6df,_0x4d9ec4[_0x15ec('0x57')],this[_0x15ec('0x12')]()),this[_0x15ec('0x48')][_0x15ec('0x2c')]({'attributes':{'class':[_0x15ec('0x38'),_0x15ec('0x3c')]}}),this[_0x15ec('0x47')](_0x4d9ec4,_0x15ec('0x24'),()=>this[_0x15ec('0x27')]()),this[_0x15ec('0x16')](this['getTemplate']());}['getTemplate'](){const _0x3b9c27=this['bindTemplate'],_0x170414=[{'tag':_0x15ec('0x5e'),'attributes':{'class':[_0x15ec('0x3'),_0x15ec('0x40')]},'children':[{'tag':'span','children':[{'text':this[_0x15ec('0x48')][_0x15ec('0xb')]}],'attributes':{'class':['ck-comment__info-name',_0x15ec('0x5d')]}},{'tag':_0x15ec('0x4e'),'attributes':{'datetime':_0x3b9c27['to']('authoredAt'),'class':[_0x15ec('0x5c'),_0x15ec('0x54')]},'children':[{'text':_0x3b9c27['to']('authoredAt',_0x526f08=>this[_0x15ec('0x33')][_0x15ec('0x20')](_0x526f08))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions',_0x15ec('0x25'),_0x3b9c27['if'](_0x15ec('0x2b'),'ck-comment__actions--hidden'),_0x3b9c27['if'](_0x15ec('0x2b'),_0x15ec('0x36'))]},'children':this[_0x15ec('0x34')]},{'tag':_0x15ec('0x5e'),'attributes':{'class':[_0x15ec('0x2e')]},'children':this['visibleView']}];return this[_0x15ec('0x5a')][_0x15ec('0x35')]&&_0x170414[_0x15ec('0x4c')]({'tag':'div','attributes':{'class':[_0x15ec('0x56')]},'children':[{'text':this[_0x15ec('0x49')]()}]}),{'tag':'li','attributes':{'class':[_0x15ec('0x61'),_0x3b9c27['if'](_0x15ec('0x4'),_0x15ec('0x58'))],'tabindex':-0x1},'children':[{'tag':_0x15ec('0x5e'),'attributes':{'class':[_0x15ec('0x1c'),'ck-annotation',_0x3b9c27['if'](_0x15ec('0x2b'),_0x15ec('0x4f')),_0x3b9c27['if'](_0x15ec('0x2d'),_0x15ec('0x13')),_0x3b9c27['to']('actionIndicator',_0x97cb74=>_0x97cb74?'ck-comment--'+_0x97cb74:'')],'data-author-id':this['_model'][_0x15ec('0x57')]['id'],'data-comment-id':this[_0x15ec('0x5a')]['id']},'children':[this[_0x15ec('0x48')],{'tag':_0x15ec('0x5e'),'attributes':{'class':[_0x15ec('0x32'),_0x15ec('0x41')]},'children':_0x170414}]}]};}[_0x15ec('0x31')](){const _0x12722a=new _0x5a7dd7(this[_0x15ec('0x2f')]);return _0x12722a['label']=_0x26b4e7(this[_0x15ec('0x2f')],_0x15ec('0x3d')),_0x12722a['icon']=_0x194238[_0x15ec('0x14')],_0x12722a[_0x15ec('0x1f')]=!0x0,_0x12722a['extendTemplate']({'attributes':{'class':_0x15ec('0x4f')}}),_0x12722a[_0x15ec('0x2a')](_0x15ec('0x5'))['to'](this[_0x15ec('0x5a')],_0x15ec('0x30'),_0x2afa2e=>!_0x2afa2e),_0x12722a[_0x15ec('0x2a')](_0x15ec('0x11'))['to'](this[_0x15ec('0x5a')],_0x15ec('0xf')),_0x12722a['on'](_0x15ec('0x1d'),()=>this[_0x15ec('0xd')]()),_0x12722a;}[_0x15ec('0x53')](){const _0x5d994c=new _0x5a7dd7(this[_0x15ec('0x2f')]);return _0x5d994c[_0x15ec('0x5b')]=_0x26b4e7(this[_0x15ec('0x2f')],_0x15ec('0x3e')),_0x5d994c[_0x15ec('0x43')]=_0x93a8a5,_0x5d994c['withText']=!0x0,_0x5d994c['extendTemplate']({'attributes':{'class':_0x15ec('0x39')}}),_0x5d994c[_0x15ec('0x2a')](_0x15ec('0x5'))['to'](this['_model'],_0x15ec('0x30'),_0x2ef97f=>!_0x2ef97f),_0x5d994c[_0x15ec('0x2a')](_0x15ec('0x11'))['to'](this['_model'],_0x15ec('0x45')),_0x5d994c['on'](_0x15ec('0x1d'),()=>{this[_0x15ec('0x26')](_0x26b4e7(this['locale'],_0x15ec('0x21')),this['element'])['then'](()=>{this['fire'](_0x15ec('0x23'),this[_0x15ec('0x5a')]['id']);});}),_0x5d994c;}[_0x15ec('0x37')](){const _0x1952eb=_0x10d96d(this[_0x15ec('0x2f')]),_0x2e74cd=_0x1952eb[_0x15ec('0x5f')]['children'],_0x4510dd=new _0x1d28f8(this[_0x15ec('0x2f')]),_0x3958f7=(_0x219977,_0xf2069d=-0x1)=>{const _0x1fab00=new _0x1fa8ac(this[_0x15ec('0x2f')]);_0x1fab00['children'][_0x15ec('0x28')](_0x219977);const _0x33e8f6=_0xf2069d>-0x1?_0xf2069d:_0x4510dd[_0x15ec('0x62')][_0x15ec('0x29')];_0x4510dd[_0x15ec('0x62')][_0x15ec('0x28')](_0x1fab00,_0x33e8f6),_0x1952eb[_0x15ec('0x47')](_0x219977,_0x15ec('0x22'),()=>{_0x1952eb['isEnabled']=[...this[_0x15ec('0x62')]]['some'](_0x4cfe4c=>_0x4cfe4c[_0x15ec('0x5')]);}),_0x1952eb[_0x15ec('0x47')](_0x219977,_0x15ec('0x18'),()=>{_0x1952eb[_0x15ec('0x46')][_0x15ec('0x11')]=[...this[_0x15ec('0x62')]][_0x15ec('0x10')](_0x1f3e49=>_0x1f3e49['isVisible']);});};_0x1952eb[_0x15ec('0x8')]='sw',_0x1952eb[_0x15ec('0x46')]['set']({'label':_0x26b4e7(this[_0x15ec('0x2f')],_0x15ec('0x60')),'icon':_0x194238[_0x15ec('0x59')]}),_0x1952eb['isEnabled']=[...this[_0x15ec('0x62')]][_0x15ec('0x10')](_0x4bf22f=>_0x4bf22f[_0x15ec('0x5')]),_0x1952eb[_0x15ec('0x46')]['isVisible']=[...this['items']][_0x15ec('0x10')](_0x4240f3=>_0x4240f3[_0x15ec('0x11')]);for(const _0x54e4b1 of this[_0x15ec('0x62')])_0x3958f7(_0x54e4b1);return _0x2e74cd['add'](_0x4510dd),_0x1952eb['listenTo'](this[_0x15ec('0x62')],_0x15ec('0x28'),(_0x33a071,_0x5f4b79,_0x301c5c)=>{_0x3958f7(_0x5f4b79,_0x301c5c);}),_0x1952eb[_0x15ec('0x47')](this[_0x15ec('0x62')],'remove',(_0x20d43e,_0x16fe51,_0x23ca3f)=>{_0x4510dd['items'][_0x15ec('0x42')](_0x23ca3f);}),_0x1952eb;}['_attachActions'](_0x596323,_0x34c96e){const _0x548532=_0x596323&&_0x596323['element'];_0x548532&&(this[_0x15ec('0x47')](_0x548532,_0x15ec('0xe'),()=>this['actionIndicator']=_0x34c96e),this[_0x15ec('0x47')](_0x548532,_0x15ec('0x3a'),()=>this[_0x15ec('0x6')]=_0x34c96e),this['listenTo'](_0x548532,_0x15ec('0x7'),()=>this['actionIndicator']=null),this[_0x15ec('0x47')](_0x548532,_0x15ec('0xc'),()=>this[_0x15ec('0x6')]=null));}[_0x15ec('0x1')](){const _0x2ba406=super[_0x15ec('0x1')]();return _0x2ba406[_0x15ec('0x2a')](_0x15ec('0x1b'))['to'](this),_0x2ba406;}[_0x15ec('0x49')](){return _0x15ec('0x51')===this[_0x15ec('0x5a')]['attributes'][_0x15ec('0x3f')][_0x15ec('0x0')]?_0x26b4e7(this['locale'],_0x15ec('0x52')):_0x26b4e7(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this[_0x15ec('0x5a')]['isExternal']?'importWord'===this[_0x15ec('0x5a')][_0x15ec('0x50')][_0x15ec('0x3f')][_0x15ec('0x0')]?_0x26b4e7(this['locale'],_0x15ec('0x17'),this['_model'][_0x15ec('0xa')][_0x15ec('0xb')]):_0x26b4e7(this[_0x15ec('0x2f')],_0x15ec('0x4b'),this[_0x15ec('0x5a')][_0x15ec('0xa')][_0x15ec('0xb')]):null;}[_0x15ec('0x9')](){super[_0x15ec('0x9')](),this['_attachActions'](this['editButton'],_0x15ec('0x3b')),this[_0x15ec('0x4a')](this[_0x15ec('0x4d')],_0x15ec('0x42'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3d85=['requires','pluginName'];(function(_0x56af58,_0x3d85a2){var _0x25ebc3=function(_0x4b1682){while(--_0x4b1682){_0x56af58['push'](_0x56af58['shift']());}};_0x25ebc3(++_0x3d85a2);}(_0x3d85,0x1d0));var _0x25eb=function(_0x56af58,_0x3d85a2){_0x56af58=_0x56af58-0x0;var _0x25ebc3=_0x3d85[_0x56af58];return _0x25ebc3;};import{Plugin as _0x304029}from'ckeditor5/src/core.js';import _0x30ccbc from'./comments/commentsrepository.js';import _0x31e19e from'./comments/commentsediting.js';import _0x27164c from'./comments/commentsui.js';import _0x4128ef from'./commentsonly.js';import _0x4340a2 from'./annotations/widesidebar.js';import _0xa9fd46 from'./annotations/narrowsidebar.js';import _0x378350 from'./annotations/inlineannotations.js';import _0xc3fd76 from'./comments/commentsarchiveui.js';import _0x41027b from'./comments/commentsarchive.js';export default class f extends _0x304029{static get[_0x25eb('0x0')](){return[_0x30ccbc,_0x31e19e,_0x27164c,_0x41027b,_0xc3fd76,_0x4128ef,_0x4340a2,_0xa9fd46,_0x378350];}static get[_0x25eb('0x1')](){return'Comments';}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d41=['commentsOnlyMode','delete','stop','requires','highest','get','editing','set','plugins','affectsData','forceDisabled','isEnabled','commands','clipboardInput','commentsOnly','change:isEnabled','_enableCommentsOnlyMode','has','listenTo','view','cut','DragDrop','pluginName','document','afterInit','editor','addCommentThread'];(function(_0x15f6dd,_0x2d4175){const _0x2b3fbf=function(_0x4d249b){while(--_0x4d249b){_0x15f6dd['push'](_0x15f6dd['shift']());}};_0x2b3fbf(++_0x2d4175);}(_0x2d41,0xc0));const _0x2b3f=function(_0x15f6dd,_0x2d4175){_0x15f6dd=_0x15f6dd-0x0;let _0x2b3fbf=_0x2d41[_0x15f6dd];return _0x2b3fbf;};import{Plugin as _0x4ba78e}from'ckeditor5/src/core.js';import _0x436dfa from'./comments/commentsediting.js';export default class e extends _0x4ba78e{static get[_0x2b3f('0x13')](){return'CommentsOnly';}static get[_0x2b3f('0x0')](){return[_0x436dfa];}constructor(_0x193bf4){super(_0x193bf4),this[_0x2b3f('0x4')](_0x2b3f('0x8'),!0x1),this['on'](_0x2b3f('0xc'),(_0xafec0c,_0x13aa90,_0x2084d2)=>{_0x2084d2?this[_0x2b3f('0xd')]():this['_disableCommentsOnlyMode']();});}[_0x2b3f('0x15')](){!this[_0x2b3f('0x8')]&&this[_0x2b3f('0x16')]['config'][_0x2b3f('0x2')](_0x2b3f('0xb'))&&(this['isEnabled']=!0x0);}[_0x2b3f('0xd')](){for(const [_0x1f912e,_0x5536ef]of this[_0x2b3f('0x16')][_0x2b3f('0x9')])_0x5536ef[_0x2b3f('0x6')]&&_0x2b3f('0x17')!==_0x1f912e&&_0x5536ef['forceDisabled'](_0x2b3f('0x18'));this[_0x2b3f('0x16')][_0x2b3f('0x5')][_0x2b3f('0xe')](_0x2b3f('0x12'))&&this[_0x2b3f('0x16')][_0x2b3f('0x5')][_0x2b3f('0x2')](_0x2b3f('0x12'))[_0x2b3f('0x7')](_0x2b3f('0x18'));const _0x58e02=this[_0x2b3f('0x16')]['editing'][_0x2b3f('0x10')][_0x2b3f('0x14')];this[_0x2b3f('0xf')](_0x58e02,_0x2b3f('0x11'),_0x3a72bd=>_0x3a72bd[_0x2b3f('0x1a')](),{'priority':'highest'}),this[_0x2b3f('0xf')](_0x58e02,_0x2b3f('0xa'),_0x4e787b=>_0x4e787b['stop'](),{'priority':_0x2b3f('0x1')}),this['listenTo'](_0x58e02,_0x2b3f('0x19'),_0x7822d9=>_0x7822d9['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x5e9aef,_0x1be341]of this[_0x2b3f('0x16')][_0x2b3f('0x9')])_0x1be341[_0x2b3f('0x6')]&&_0x2b3f('0x17')!==_0x5e9aef&&_0x1be341['clearForceDisabled'](_0x2b3f('0x18'));this['stopListening'](this[_0x2b3f('0x16')][_0x2b3f('0x3')][_0x2b3f('0x10')][_0x2b3f('0x14')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x57866b,_0x1030bd,_0x589ee2){const t=_0x57866b['t'];switch(_0x1030bd){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'},_0x589ee2);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'},_0x589ee2);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'},_0x589ee2);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'},_0x589ee2);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 _0x48f6=['attributes','cancel','childList','observe','attributeName','characterData','disconnect'];(function(_0xe48971,_0x48f6e6){const _0x36262c=function(_0x4f7a98){while(--_0x4f7a98){_0xe48971['push'](_0xe48971['shift']());}};_0x36262c(++_0x48f6e6);}(_0x48f6,0xa0));const _0x3626=function(_0xe48971,_0x48f6e6){_0xe48971=_0xe48971-0x0;let _0x36262c=_0x48f6[_0xe48971];return _0x36262c;};import{throttle as _0x494852}from'lodash-es';export default function Dt(_0x5f0b50){const _0x1c50b4=_0x494852(_0x5f0b50,0x1e),_0xe5824=new MutationObserver(_0x3586e6=>{for(const _0x4734c5 of _0x3586e6)(_0x3626('0x1')==_0x4734c5['type']&&'class'==_0x4734c5[_0x3626('0x5')]||_0x3626('0x3')==_0x4734c5['type']||_0x3626('0x6')==_0x4734c5['type'])&&_0x1c50b4();});return{'attach'(_0xcc124){_0xe5824[_0x3626('0x4')](_0xcc124,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0xe5824[_0x3626('0x0')](),_0x1c50b4[_0x3626('0x2')]();}};}
|