@ckeditor/ckeditor5-comments 0.0.0-nightly-20231213.0 → 0.0.0-nightly-20231215.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 _0x28c2=['_createRemoveButton','change:isRemovable','ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_COMMENT','listenTo','focus','bind','removeComment','some','ck-annotation__actions--hidden','Delete\x20comment?','icon','time','isReadOnly','div','attributes','ck-annotation','isRemovable','_attachActions','Remove','ck-comment--','ck-annotation__actions','ck-annotation__info-name','creator','panelView','getTemplate','blur','addMany','_createCommentInputView','execute','name','ck-comment__actions--hidden','withText','mouseleave','isEditMode','ck-annotation__info-time','@external','span','ck-comment--remove','ck-comment__actions','setTemplate','authoredAt','children','mouseenter','push','actionBar','_createDropdown','ck-comment__wrapper','buttonView','EXTERNAL_COMMENT','resolvedAt','createCollection','EXTERNAL_AVATAR','getExternalCommentNote','source','locale','isSystemComment','Reply...','placeholder','actionIndicator','ck-annotation__info','editButton','importWord','ck-comment__info-time','isExternal','isEditable','remove','_model','switchToEditMode','set','items','author','add','ck-comment__user','ck-annotation__main','extendTemplate','_config','getUserViewNotificationText','ck-comment__info','panelPosition','label','userView','isVisible','element','ck-comment--edit','edit','visibleView','ck-comment--remove-confirmation','removeButton','ck-comment--info','render','ck-comment','dropdown','threeVerticalDots','ck-comment__main','ck-annotation__user','Edit','fire','then','isEnabled'];(function(_0x121b78,_0x28c2f7){const _0x1e6b5f=function(_0x462e32){while(--_0x462e32){_0x121b78['push'](_0x121b78['shift']());}};_0x1e6b5f(++_0x28c2f7);}(_0x28c2,0xb0));const _0x1e6b=function(_0x121b78,_0x28c2f7){_0x121b78=_0x121b78-0x0;let _0x1e6b5f=_0x28c2[_0x121b78];return _0x1e6b5f;};import{ButtonView as _0x277896,createDropdown as _0x10ae6d,ListView as _0x12a9f2,ListItemView as _0x600fc9}from'ckeditor5/src/ui';import{icons as _0x28aa0d}from'ckeditor5/src/core';import{UserView as _0x2941af,ConfirmMixin as _0x41cfbd}from'ckeditor5-collaboration/src/collaboration-core';import _0x1bf420 from'./basecommentview';import _0x1883a7 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5e2f40}from'../../../utils/common-translations';export default class pt extends _0x41cfbd(_0x1bf420){constructor(_0x235b5c,_0x154816,_0x283f86){super(_0x235b5c,_0x154816,_0x283f86),this['set'](_0x1e6b('0x53'),null),this[_0x1e6b('0x5d')](_0x1e6b('0x52'),_0x5e2f40(_0x235b5c,_0x1e6b('0x51'))),this[_0x1e6b('0x1e')](_0x1e6b('0x41'))['to'](_0x154816),this[_0x1e6b('0x1e')](_0x1e6b('0x4a'))['to'](_0x154816),this[_0x1e6b('0x45')]=this['createCollection'](),this[_0x1e6b('0x50')]||(this[_0x1e6b('0x55')]=this['_createEditButton'](),this[_0x1e6b('0xc')]=this[_0x1e6b('0x18')](),this['items']=this[_0x1e6b('0x4b')](),this['items'][_0x1e6b('0x33')]([this['editButton'],this[_0x1e6b('0xc')]]),this[_0x1e6b('0x10')]=this[_0x1e6b('0x46')](),this[_0x1e6b('0x45')][_0x1e6b('0x60')](this[_0x1e6b('0x10')])),this[_0x1e6b('0x5')]=new _0x2941af(_0x235b5c,_0x154816[_0x1e6b('0x5f')],this['getUserViewNotificationText']()),this[_0x1e6b('0x5')]['extendTemplate']({'attributes':{'class':[_0x1e6b('0x61'),_0x1e6b('0x13')]}}),this[_0x1e6b('0x1c')](_0x154816,_0x1e6b('0x19'),()=>this['cancelConfirm']()),this[_0x1e6b('0x40')](this['getTemplate']());}[_0x1e6b('0x31')](){const _0x1a748d=this['bindTemplate'],_0x24bc2f=[{'tag':_0x1e6b('0x26'),'attributes':{'class':[_0x1e6b('0x2'),_0x1e6b('0x54')]},'children':[{'tag':_0x1e6b('0x3d'),'children':[{'text':this['userView'][_0x1e6b('0x36')]}],'attributes':{'class':['ck-comment__info-name',_0x1e6b('0x2e')]}},{'tag':_0x1e6b('0x24'),'attributes':{'datetime':_0x1a748d['to'](_0x1e6b('0x41')),'class':[_0x1e6b('0x57'),_0x1e6b('0x3b')]},'children':[{'text':_0x1a748d['to'](_0x1e6b('0x41'),_0x4e3535=>this[_0x1e6b('0x0')]['formatDateTime'](_0x4e3535))}]}]},{'tag':_0x1e6b('0x26'),'attributes':{'class':[_0x1e6b('0x3f'),_0x1e6b('0x2d'),_0x1a748d['if'](_0x1e6b('0x3a'),_0x1e6b('0x37')),_0x1a748d['if'](_0x1e6b('0x3a'),_0x1e6b('0x21'))]},'children':this[_0x1e6b('0x45')]},{'tag':'div','attributes':{'class':[_0x1e6b('0x1a')]},'children':this[_0x1e6b('0xa')]}];return this[_0x1e6b('0x5b')][_0x1e6b('0x58')]&&_0x24bc2f[_0x1e6b('0x44')]({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x1e6b('0x4d')]()}]}),{'tag':'li','attributes':{'class':[_0x1e6b('0x47'),_0x1a748d['if']('isConfirm',_0x1e6b('0xb'))],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':[_0x1e6b('0xf'),_0x1e6b('0x28'),_0x1a748d['if'](_0x1e6b('0x3a'),_0x1e6b('0x8')),_0x1a748d['if'](_0x1e6b('0x50'),_0x1e6b('0xd')),_0x1a748d['to'](_0x1e6b('0x53'),_0x3168f3=>_0x3168f3?_0x1e6b('0x2c')+_0x3168f3:'')],'data-author-id':this[_0x1e6b('0x5b')][_0x1e6b('0x5f')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x1e6b('0x5')],{'tag':_0x1e6b('0x26'),'attributes':{'class':[_0x1e6b('0x12'),_0x1e6b('0x62')]},'children':_0x24bc2f}]}]};}['_createEditButton'](){const _0x339955=new _0x277896(this[_0x1e6b('0x4f')]);return _0x339955['label']=_0x5e2f40(this[_0x1e6b('0x4f')],_0x1e6b('0x14')),_0x339955['icon']=_0x28aa0d['pencil'],_0x339955[_0x1e6b('0x38')]=!0x0,_0x339955['extendTemplate']({'attributes':{'class':_0x1e6b('0x8')}}),_0x339955['bind'](_0x1e6b('0x17'))['to'](this['_model'],_0x1e6b('0x25'),_0x15668a=>!_0x15668a),_0x339955[_0x1e6b('0x1e')](_0x1e6b('0x6'))['to'](this[_0x1e6b('0x5b')],_0x1e6b('0x59')),_0x339955['on'](_0x1e6b('0x35'),()=>this[_0x1e6b('0x5c')]()),_0x339955;}['_createRemoveButton'](){const _0x350a13=new _0x277896(this[_0x1e6b('0x4f')]);return _0x350a13[_0x1e6b('0x4')]=_0x5e2f40(this[_0x1e6b('0x4f')],_0x1e6b('0x2b')),_0x350a13[_0x1e6b('0x23')]=_0x1883a7,_0x350a13[_0x1e6b('0x38')]=!0x0,_0x350a13[_0x1e6b('0x63')]({'attributes':{'class':_0x1e6b('0x3e')}}),_0x350a13[_0x1e6b('0x1e')]('isEnabled')['to'](this['_model'],'isReadOnly',_0x270f10=>!_0x270f10),_0x350a13['bind'](_0x1e6b('0x6'))['to'](this[_0x1e6b('0x5b')],_0x1e6b('0x29')),_0x350a13['on'](_0x1e6b('0x35'),()=>{this['showConfirm'](_0x5e2f40(this[_0x1e6b('0x4f')],_0x1e6b('0x22')),this['element'])[_0x1e6b('0x16')](()=>{this[_0x1e6b('0x15')](_0x1e6b('0x1f'),this[_0x1e6b('0x5b')]['id']);});}),_0x350a13;}[_0x1e6b('0x46')](){const _0x52884e=_0x10ae6d(this['locale']),_0x9df9ce=_0x52884e[_0x1e6b('0x30')]['children'],_0x6b0892=new _0x12a9f2(this[_0x1e6b('0x4f')]),_0x411bc0=(_0xdd6ca0,_0x1e3547=-0x1)=>{const _0x31b65b=new _0x600fc9(this[_0x1e6b('0x4f')]);_0x31b65b[_0x1e6b('0x42')][_0x1e6b('0x60')](_0xdd6ca0);const _0x447aea=_0x1e3547>-0x1?_0x1e3547:_0x6b0892[_0x1e6b('0x5e')]['length'];_0x6b0892['items'][_0x1e6b('0x60')](_0x31b65b,_0x447aea),_0x52884e[_0x1e6b('0x1c')](_0xdd6ca0,'change:isEnabled',()=>{_0x52884e['isEnabled']=[...this[_0x1e6b('0x5e')]][_0x1e6b('0x20')](_0x38766b=>_0x38766b['isEnabled']);}),_0x52884e[_0x1e6b('0x1c')](_0xdd6ca0,'change:isVisible',()=>{_0x52884e['buttonView'][_0x1e6b('0x6')]=[...this[_0x1e6b('0x5e')]][_0x1e6b('0x20')](_0x153b85=>_0x153b85[_0x1e6b('0x6')]);});};_0x52884e[_0x1e6b('0x3')]='sw',_0x52884e[_0x1e6b('0x48')][_0x1e6b('0x5d')]({'label':_0x5e2f40(this[_0x1e6b('0x4f')],'Show\x20more\x20items'),'icon':_0x28aa0d[_0x1e6b('0x11')]}),_0x52884e['isEnabled']=[...this[_0x1e6b('0x5e')]][_0x1e6b('0x20')](_0x3a8f92=>_0x3a8f92[_0x1e6b('0x17')]),_0x52884e[_0x1e6b('0x48')][_0x1e6b('0x6')]=[...this[_0x1e6b('0x5e')]][_0x1e6b('0x20')](_0x52e0f8=>_0x52e0f8[_0x1e6b('0x6')]);for(const _0x15ac7e of this[_0x1e6b('0x5e')])_0x411bc0(_0x15ac7e);return _0x9df9ce[_0x1e6b('0x60')](_0x6b0892),_0x52884e[_0x1e6b('0x1c')](this[_0x1e6b('0x5e')],'add',(_0x464bdc,_0x55cd33,_0x366f5c)=>{_0x411bc0(_0x55cd33,_0x366f5c);}),_0x52884e[_0x1e6b('0x1c')](this[_0x1e6b('0x5e')],'remove',(_0x3b9cca,_0x3731c2,_0x336e5b)=>{_0x6b0892['items'][_0x1e6b('0x5a')](_0x336e5b);}),_0x52884e;}[_0x1e6b('0x2a')](_0x466223,_0x2e59ed){const _0x54e2e5=_0x466223&&_0x466223[_0x1e6b('0x7')];_0x54e2e5&&(this['listenTo'](_0x54e2e5,_0x1e6b('0x43'),()=>this['actionIndicator']=_0x2e59ed),this['listenTo'](_0x54e2e5,_0x1e6b('0x1d'),()=>this[_0x1e6b('0x53')]=_0x2e59ed),this[_0x1e6b('0x1c')](_0x54e2e5,_0x1e6b('0x39'),()=>this[_0x1e6b('0x53')]=null),this[_0x1e6b('0x1c')](_0x54e2e5,_0x1e6b('0x32'),()=>this[_0x1e6b('0x53')]=null));}[_0x1e6b('0x34')](){const _0x52d55a=super[_0x1e6b('0x34')]();return _0x52d55a[_0x1e6b('0x1e')](_0x1e6b('0x52'))['to'](this),_0x52d55a;}[_0x1e6b('0x4d')](){return'importWord'===this['_model'][_0x1e6b('0x27')][_0x1e6b('0x3c')][_0x1e6b('0x4e')]?_0x5e2f40(this['locale'],_0x1e6b('0x1b')):_0x5e2f40(this[_0x1e6b('0x4f')],_0x1e6b('0x49'));}[_0x1e6b('0x1')](){return this[_0x1e6b('0x5b')]['isExternal']?_0x1e6b('0x56')===this[_0x1e6b('0x5b')][_0x1e6b('0x27')][_0x1e6b('0x3c')][_0x1e6b('0x4e')]?_0x5e2f40(this[_0x1e6b('0x4f')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x1e6b('0x5b')]['creator'][_0x1e6b('0x36')]):_0x5e2f40(this[_0x1e6b('0x4f')],_0x1e6b('0x4c'),this['_model'][_0x1e6b('0x2f')][_0x1e6b('0x36')]):null;}[_0x1e6b('0xe')](){super[_0x1e6b('0xe')](),this[_0x1e6b('0x2a')](this[_0x1e6b('0x55')],_0x1e6b('0x9')),this['_attachActions'](this['removeButton'],_0x1e6b('0x5a'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x52bc=['pluginName','Comments'];(function(_0x3d939e,_0x52bcc6){var _0x4449ba=function(_0x5539e9){while(--_0x5539e9){_0x3d939e['push'](_0x3d939e['shift']());}};_0x4449ba(++_0x52bcc6);}(_0x52bc,0x166));var _0x4449=function(_0x3d939e,_0x52bcc6){_0x3d939e=_0x3d939e-0x0;var _0x4449ba=_0x52bc[_0x3d939e];return _0x4449ba;};import{Plugin as _0x5a1fe0}from'ckeditor5/src/core';import _0x2284f5 from'./comments/commentsrepository';import _0x5c568a from'./comments/commentsediting';import _0x1efadb from'./comments/commentsui';import _0x1dd602 from'./commentsonly';import _0x22a2e7 from'./annotations/widesidebar';import _0x5c214f from'./annotations/narrowsidebar';import _0x588f87 from'./annotations/inlineannotations';import _0x441043 from'./comments/commentsarchiveui';import _0x2c3769 from'./comments/commentsarchive';export default class f extends _0x5a1fe0{static get['requires'](){return[_0x2284f5,_0x5c568a,_0x1efadb,_0x2c3769,_0x441043,_0x1dd602,_0x22a2e7,_0x5c214f,_0x588f87];}static get[_0x4449('0x0')](){return _0x4449('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2289=['_disableCommentsOnlyMode','delete','requires','change:isEnabled','config','commands','addCommentThread','commentsOnlyMode','CommentsOnly','editor','listenTo','pluginName','has','affectsData','highest','afterInit','get','editing','document','cut','clipboardInput','commentsOnly','view','clearForceDisabled','forceDisabled','isEnabled','DragDrop','plugins','stop','set'];(function(_0x2f8aca,_0x228975){const _0x4f14bc=function(_0x5400c9){while(--_0x5400c9){_0x2f8aca['push'](_0x2f8aca['shift']());}};_0x4f14bc(++_0x228975);}(_0x2289,0x12b));const _0x4f14=function(_0x2f8aca,_0x228975){_0x2f8aca=_0x2f8aca-0x0;let _0x4f14bc=_0x2289[_0x2f8aca];return _0x4f14bc;};import{Plugin as _0x4b6834}from'ckeditor5/src/core';import _0x10856c from'./comments/commentsediting';export default class n extends _0x4b6834{static get[_0x4f14('0xc')](){return _0x4f14('0x9');}static get[_0x4f14('0x3')](){return[_0x10856c];}constructor(_0x35c102){super(_0x35c102),this[_0x4f14('0x0')]('isEnabled',!0x1),this['on'](_0x4f14('0x4'),(_0x1e8dab,_0x1e5424,_0x2096d9)=>{_0x2096d9?this['_enableCommentsOnlyMode']():this[_0x4f14('0x1')]();});}[_0x4f14('0x10')](){!this[_0x4f14('0x1a')]&&this[_0x4f14('0xa')][_0x4f14('0x5')][_0x4f14('0x11')](_0x4f14('0x16'))&&(this[_0x4f14('0x1a')]=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x281c31,_0x541f61]of this[_0x4f14('0xa')][_0x4f14('0x6')])_0x541f61[_0x4f14('0xe')]&&_0x4f14('0x7')!==_0x281c31&&_0x541f61[_0x4f14('0x19')](_0x4f14('0x8'));this[_0x4f14('0xa')]['plugins'][_0x4f14('0xd')](_0x4f14('0x1b'))&&this[_0x4f14('0xa')][_0x4f14('0x1c')][_0x4f14('0x11')](_0x4f14('0x1b'))[_0x4f14('0x19')](_0x4f14('0x8'));const _0x4c839c=this[_0x4f14('0xa')]['editing'][_0x4f14('0x17')][_0x4f14('0x13')];this[_0x4f14('0xb')](_0x4c839c,_0x4f14('0x14'),_0x14bfa9=>_0x14bfa9['stop'](),{'priority':_0x4f14('0xf')}),this['listenTo'](_0x4c839c,_0x4f14('0x15'),_0x36f45d=>_0x36f45d[_0x4f14('0x1d')](),{'priority':_0x4f14('0xf')}),this['listenTo'](_0x4c839c,_0x4f14('0x2'),_0x4db3e3=>_0x4db3e3[_0x4f14('0x1d')](),{'priority':'highest'});}[_0x4f14('0x1')](){for(const [_0x3d73f3,_0x262651]of this[_0x4f14('0xa')][_0x4f14('0x6')])_0x262651['affectsData']&&_0x4f14('0x7')!==_0x3d73f3&&_0x262651[_0x4f14('0x18')]('commentsOnlyMode');this['stopListening'](this[_0x4f14('0xa')][_0x4f14('0x12')][_0x4f14('0x17')]['document']);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x2e3a6d,_0x426e6e,_0xcc5529){const t=_0x2e3a6d['t'];switch(_0x426e6e){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'},_0xcc5529);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'},_0xcc5529);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'},_0xcc5529);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'},_0xcc5529);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 _0x4ccb=['attributes','disconnect','characterData','class','cancel','childList','attributeName','type'];(function(_0x377e40,_0x4ccb35){const _0x9ab17e=function(_0x1f6135){while(--_0x1f6135){_0x377e40['push'](_0x377e40['shift']());}};_0x9ab17e(++_0x4ccb35);}(_0x4ccb,0x14d));const _0x9ab1=function(_0x377e40,_0x4ccb35){_0x377e40=_0x377e40-0x0;let _0x9ab17e=_0x4ccb[_0x377e40];return _0x9ab17e;};import{throttle as _0x57c695}from'lodash-es';export default function Dt(_0x4fe804){const _0x5bcfaa=_0x57c695(_0x4fe804,0x1e),_0x41ad70=new MutationObserver(_0x4d1b96=>{for(const _0x1ae82a of _0x4d1b96)(_0x9ab1('0x3')==_0x1ae82a[_0x9ab1('0x2')]&&_0x9ab1('0x6')==_0x1ae82a[_0x9ab1('0x1')]||_0x9ab1('0x0')==_0x1ae82a[_0x9ab1('0x2')]||_0x9ab1('0x5')==_0x1ae82a[_0x9ab1('0x2')])&&_0x5bcfaa();});return{'attach'(_0x107520){_0x41ad70['observe'](_0x107520,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x41ad70[_0x9ab1('0x4')](),_0x5bcfaa[_0x9ab1('0x7')]();}};}
|