@ckeditor/ckeditor5-comments 0.0.0-nightly-20230811.0 → 0.0.0-nightly-20230812.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 _0x12a2=['resolvedAt','extendTemplate','isVisible','pencil','EXTERNAL_AVATAR','_attachActions','execute','importWord','change:isRemovable','setTemplate','change:isEnabled','name','Remove','some','getExternalCommentNote','isConfirm','visibleView','remove','getUserViewNotificationText','ck-annotation__content-wrapper','ck-comment--edit','editButton','items','switchToEditMode','span','icon','isExternal','add','_model','buttonView','cancelConfirm','render','getTemplate','locale','bind','dropdown','ck-comment__actions--hidden','addMany','ck-comment__info-name','_createCommentInputView','ck-comment__external','ck-annotation__actions','EXTERNAL_COMMENT','createCollection','set','actionBar','isEditMode','_createEditButton','source','length','ck-annotation__main','div','mouseenter','ck-comment__actions','Delete\x20comment?','removeButton','push','element','_createDropdown','panelView','bindTemplate','_config','EXTERNAL_IMPORT_WORD_COMMENT','edit','ck-annotation__actions--hidden','focus','ck-annotation__info-time','label','formatDateTime','ck-comment--remove','isReadOnly','threeVerticalDots','ck-comment__info','children','mouseleave','blur','_createRemoveButton','ck-comment__info-time','listenTo','time','ck-comment--','ck-comment--remove-confirmation','author','userView','showConfirm','isSystemComment','ck-annotation__info-name','Reply...','@external','placeholder','authoredAt','creator','ck-comment--info','actionIndicator','EXTERNAL_IMPORT_WORD_AVATAR','isEnabled','attributes'];(function(_0xc6406e,_0x12a2f2){const _0x4dd80c=function(_0xf723ae){while(--_0xf723ae){_0xc6406e['push'](_0xc6406e['shift']());}};_0x4dd80c(++_0x12a2f2);}(_0x12a2,0x98));const _0x4dd8=function(_0xc6406e,_0x12a2f2){_0xc6406e=_0xc6406e-0x0;let _0x4dd80c=_0x12a2[_0xc6406e];return _0x4dd80c;};import{ButtonView as _0x32643e,createDropdown as _0x44c235,ListView as _0x4fefd9,ListItemView as _0x34bd23}from'ckeditor5/src/ui';import{icons as _0x1041d4}from'ckeditor5/src/core';import{UserView as _0x19f860,ConfirmMixin as _0x35eb45}from'ckeditor5-collaboration/src/collaboration-core';import _0x226ee0 from'./basecommentview';import _0x5e8d19 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x1880b4}from'../../../utils/common-translations';export default class ut extends _0x35eb45(_0x226ee0){constructor(_0x12c468,_0x25c84f,_0x4b3420){super(_0x12c468,_0x25c84f,_0x4b3420),this['set'](_0x4dd8('0x26'),null),this[_0x4dd8('0x56')](_0x4dd8('0x22'),_0x1880b4(_0x12c468,_0x4dd8('0x20'))),this[_0x4dd8('0x4c')](_0x4dd8('0x23'))['to'](_0x25c84f),this['bind'](_0x4dd8('0x2a'))['to'](_0x25c84f),this[_0x4dd8('0x57')]=this['createCollection'](),this[_0x4dd8('0x1e')]||(this[_0x4dd8('0x3f')]=this[_0x4dd8('0x59')](),this['removeButton']=this[_0x4dd8('0x15')](),this[_0x4dd8('0x40')]=this[_0x4dd8('0x55')](),this[_0x4dd8('0x40')][_0x4dd8('0x4f')]([this[_0x4dd8('0x3f')],this['removeButton']]),this['dropdown']=this[_0x4dd8('0x3')](),this[_0x4dd8('0x57')][_0x4dd8('0x45')](this[_0x4dd8('0x4d')])),this['userView']=new _0x19f860(_0x12c468,_0x25c84f[_0x4dd8('0x1b')],this[_0x4dd8('0x3c')]()),this[_0x4dd8('0x1c')][_0x4dd8('0x2b')]({'attributes':{'class':['ck-comment__user','ck-annotation__user']}}),this[_0x4dd8('0x17')](_0x25c84f,_0x4dd8('0x32'),()=>this[_0x4dd8('0x48')]()),this[_0x4dd8('0x33')](this[_0x4dd8('0x4a')]());}[_0x4dd8('0x4a')](){const _0x3cc6e4=this[_0x4dd8('0x5')],_0xe93dbf=[{'tag':_0x4dd8('0x5d'),'attributes':{'class':[_0x4dd8('0x11'),'ck-annotation__info']},'children':[{'tag':_0x4dd8('0x42'),'children':[{'text':this['userView'][_0x4dd8('0x35')]}],'attributes':{'class':[_0x4dd8('0x50'),_0x4dd8('0x1f')]}},{'tag':_0x4dd8('0x18'),'attributes':{'datetime':_0x3cc6e4['to'](_0x4dd8('0x23')),'class':[_0x4dd8('0x16'),_0x4dd8('0xb')]},'children':[{'text':_0x3cc6e4['to'](_0x4dd8('0x23'),_0xde5fda=>this[_0x4dd8('0x6')][_0x4dd8('0xd')](_0xde5fda))}]}]},{'tag':'div','attributes':{'class':[_0x4dd8('0x5f'),_0x4dd8('0x53'),_0x3cc6e4['if'](_0x4dd8('0x58'),_0x4dd8('0x4e')),_0x3cc6e4['if'](_0x4dd8('0x58'),_0x4dd8('0x9'))]},'children':this[_0x4dd8('0x57')]},{'tag':'div','attributes':{'class':[_0x4dd8('0x3d')]},'children':this[_0x4dd8('0x3a')]}];return this[_0x4dd8('0x46')][_0x4dd8('0x44')]&&_0xe93dbf[_0x4dd8('0x1')]({'tag':_0x4dd8('0x5d'),'attributes':{'class':[_0x4dd8('0x52')]},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x3cc6e4['if'](_0x4dd8('0x39'),_0x4dd8('0x1a'))],'tabindex':-0x1},'children':[{'tag':_0x4dd8('0x5d'),'attributes':{'class':['ck-comment','ck-annotation',_0x3cc6e4['if']('isEditMode',_0x4dd8('0x3e')),_0x3cc6e4['if'](_0x4dd8('0x1e'),_0x4dd8('0x25')),_0x3cc6e4['to']('actionIndicator',_0x404dd4=>_0x404dd4?_0x4dd8('0x19')+_0x404dd4:'')],'data-author-id':this[_0x4dd8('0x46')][_0x4dd8('0x1b')]['id'],'data-comment-id':this[_0x4dd8('0x46')]['id']},'children':[this[_0x4dd8('0x1c')],{'tag':'div','attributes':{'class':['ck-comment__main',_0x4dd8('0x5c')]},'children':_0xe93dbf}]}]};}[_0x4dd8('0x59')](){const _0x4540d7=new _0x32643e(this[_0x4dd8('0x4b')]);return _0x4540d7['label']=_0x1880b4(this[_0x4dd8('0x4b')],'Edit'),_0x4540d7[_0x4dd8('0x43')]=_0x1041d4[_0x4dd8('0x2d')],_0x4540d7['withText']=!0x0,_0x4540d7['extendTemplate']({'attributes':{'class':_0x4dd8('0x3e')}}),_0x4540d7[_0x4dd8('0x4c')]('isEnabled')['to'](this[_0x4dd8('0x46')],_0x4dd8('0xf'),_0x173301=>!_0x173301),_0x4540d7[_0x4dd8('0x4c')](_0x4dd8('0x2c'))['to'](this[_0x4dd8('0x46')],'isEditable'),_0x4540d7['on']('execute',()=>this[_0x4dd8('0x41')]()),_0x4540d7;}[_0x4dd8('0x15')](){const _0x5bcb85=new _0x32643e(this[_0x4dd8('0x4b')]);return _0x5bcb85[_0x4dd8('0xc')]=_0x1880b4(this[_0x4dd8('0x4b')],_0x4dd8('0x36')),_0x5bcb85[_0x4dd8('0x43')]=_0x5e8d19,_0x5bcb85['withText']=!0x0,_0x5bcb85[_0x4dd8('0x2b')]({'attributes':{'class':_0x4dd8('0xe')}}),_0x5bcb85['bind']('isEnabled')['to'](this[_0x4dd8('0x46')],'isReadOnly',_0xc38b82=>!_0xc38b82),_0x5bcb85[_0x4dd8('0x4c')](_0x4dd8('0x2c'))['to'](this[_0x4dd8('0x46')],'isRemovable'),_0x5bcb85['on'](_0x4dd8('0x30'),()=>{this[_0x4dd8('0x1d')](_0x1880b4(this[_0x4dd8('0x4b')],_0x4dd8('0x60')),this[_0x4dd8('0x2')])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x5bcb85;}[_0x4dd8('0x3')](){const _0x2cd023=_0x44c235(this[_0x4dd8('0x4b')]),_0x1201ca=_0x2cd023[_0x4dd8('0x4')][_0x4dd8('0x12')],_0x578e88=new _0x4fefd9(this['locale']),_0x3600ca=(_0x3e7700,_0x34165c=-0x1)=>{const _0xea2b7d=new _0x34bd23(this[_0x4dd8('0x4b')]);_0xea2b7d[_0x4dd8('0x12')][_0x4dd8('0x45')](_0x3e7700);const _0x509a02=_0x34165c>-0x1?_0x34165c:_0x578e88[_0x4dd8('0x40')][_0x4dd8('0x5b')];_0x578e88['items'][_0x4dd8('0x45')](_0xea2b7d,_0x509a02),_0x2cd023['listenTo'](_0x3e7700,_0x4dd8('0x34'),()=>{_0x2cd023[_0x4dd8('0x28')]=[...this['items']][_0x4dd8('0x37')](_0x475916=>_0x475916[_0x4dd8('0x28')]);}),_0x2cd023[_0x4dd8('0x17')](_0x3e7700,'change:isVisible',()=>{_0x2cd023[_0x4dd8('0x47')]['isVisible']=[...this[_0x4dd8('0x40')]][_0x4dd8('0x37')](_0x47f336=>_0x47f336['isVisible']);});};_0x2cd023['panelPosition']='sw',_0x2cd023[_0x4dd8('0x47')][_0x4dd8('0x56')]({'label':_0x1880b4(this[_0x4dd8('0x4b')],'Show\x20more\x20items'),'icon':_0x1041d4[_0x4dd8('0x10')]}),_0x2cd023[_0x4dd8('0x28')]=[...this['items']]['some'](_0x317e41=>_0x317e41[_0x4dd8('0x28')]),_0x2cd023[_0x4dd8('0x47')]['isVisible']=[...this[_0x4dd8('0x40')]][_0x4dd8('0x37')](_0x14eaa5=>_0x14eaa5['isVisible']);for(const _0x5c2e73 of this[_0x4dd8('0x40')])_0x3600ca(_0x5c2e73);return _0x1201ca[_0x4dd8('0x45')](_0x578e88),_0x2cd023[_0x4dd8('0x17')](this[_0x4dd8('0x40')],_0x4dd8('0x45'),(_0x479f1b,_0x227f11,_0x36d8ab)=>{_0x3600ca(_0x227f11,_0x36d8ab);}),_0x2cd023['listenTo'](this['items'],_0x4dd8('0x3b'),(_0x1df556,_0x6d9139,_0x36f861)=>{_0x578e88['items']['remove'](_0x36f861);}),_0x2cd023;}[_0x4dd8('0x2f')](_0x3c0319,_0x577987){const _0x312d94=_0x3c0319&&_0x3c0319[_0x4dd8('0x2')];_0x312d94&&(this[_0x4dd8('0x17')](_0x312d94,_0x4dd8('0x5e'),()=>this[_0x4dd8('0x26')]=_0x577987),this[_0x4dd8('0x17')](_0x312d94,_0x4dd8('0xa'),()=>this['actionIndicator']=_0x577987),this[_0x4dd8('0x17')](_0x312d94,_0x4dd8('0x13'),()=>this['actionIndicator']=null),this['listenTo'](_0x312d94,_0x4dd8('0x14'),()=>this[_0x4dd8('0x26')]=null));}['_createCommentInputView'](){const _0x3fa69d=super[_0x4dd8('0x51')]();return _0x3fa69d[_0x4dd8('0x4c')](_0x4dd8('0x22'))['to'](this),_0x3fa69d;}[_0x4dd8('0x38')](){return _0x4dd8('0x31')===this['_model'][_0x4dd8('0x29')][_0x4dd8('0x21')][_0x4dd8('0x5a')]?_0x1880b4(this[_0x4dd8('0x4b')],_0x4dd8('0x7')):_0x1880b4(this['locale'],_0x4dd8('0x54'));}['getUserViewNotificationText'](){return this[_0x4dd8('0x46')]['isExternal']?_0x4dd8('0x31')===this['_model'][_0x4dd8('0x29')][_0x4dd8('0x21')][_0x4dd8('0x5a')]?_0x1880b4(this[_0x4dd8('0x4b')],_0x4dd8('0x27'),this[_0x4dd8('0x46')][_0x4dd8('0x24')]['name']):_0x1880b4(this['locale'],_0x4dd8('0x2e'),this[_0x4dd8('0x46')][_0x4dd8('0x24')]['name']):null;}[_0x4dd8('0x49')](){super['render'](),this[_0x4dd8('0x2f')](this['editButton'],_0x4dd8('0x8')),this[_0x4dd8('0x2f')](this[_0x4dd8('0x0')],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1c22=['pluginName','requires','Comments'];(function(_0x3d19ff,_0x1c221d){var _0x50128f=function(_0x342f72){while(--_0x342f72){_0x3d19ff['push'](_0x3d19ff['shift']());}};_0x50128f(++_0x1c221d);}(_0x1c22,0x164));var _0x5012=function(_0x3d19ff,_0x1c221d){_0x3d19ff=_0x3d19ff-0x0;var _0x50128f=_0x1c22[_0x3d19ff];return _0x50128f;};import{Plugin as _0x521ea6}from'ckeditor5/src/core';import _0x470d77 from'./comments/commentsrepository';import _0x449724 from'./comments/commentsediting';import _0x1ac3d2 from'./comments/commentsui';import _0xf81af8 from'./commentsonly';import _0x488ea8 from'./annotations/widesidebar';import _0x16203f from'./annotations/narrowsidebar';import _0x11d2c6 from'./annotations/inlineannotations';import _0x561459 from'./comments/commentsarchiveui';import _0x4fb64d from'./comments/commentsarchive';export default class f extends _0x521ea6{static get[_0x5012('0x2')](){return[_0x470d77,_0x449724,_0x1ac3d2,_0x4fb64d,_0x561459,_0xf81af8,_0x488ea8,_0x16203f,_0x11d2c6];}static get[_0x5012('0x1')](){return _0x5012('0x0');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4d37=['_enableCommentsOnlyMode','_disableCommentsOnlyMode','delete','clearForceDisabled','commentsOnly','set','forceDisabled','editing','CommentsOnly','affectsData','commentsOnlyMode','commands','clipboardInput','editor','highest','plugins','addCommentThread','listenTo','config','isEnabled','view','document','afterInit','pluginName','has','get','DragDrop','stop'];(function(_0x44b470,_0x4d376a){const _0x2cb691=function(_0x17f5cd){while(--_0x17f5cd){_0x44b470['push'](_0x44b470['shift']());}};_0x2cb691(++_0x4d376a);}(_0x4d37,0x184));const _0x2cb6=function(_0x44b470,_0x4d376a){_0x44b470=_0x44b470-0x0;let _0x2cb691=_0x4d37[_0x44b470];return _0x2cb691;};import{Plugin as _0x137fe9}from'ckeditor5/src/core';import _0x4ab726 from'./comments/commentsediting';export default class n extends _0x137fe9{static get[_0x2cb6('0x1b')](){return _0x2cb6('0xc');}static get['requires'](){return[_0x4ab726];}constructor(_0x10f12a){super(_0x10f12a),this[_0x2cb6('0x9')](_0x2cb6('0x17'),!0x1),this['on']('change:isEnabled',(_0x341a6f,_0x2456a0,_0x3963f1)=>{_0x3963f1?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}[_0x2cb6('0x1a')](){!this[_0x2cb6('0x17')]&&this['editor'][_0x2cb6('0x16')][_0x2cb6('0x1')](_0x2cb6('0x8'))&&(this[_0x2cb6('0x17')]=!0x0);}[_0x2cb6('0x4')](){for(const [_0x2a2c7a,_0x486fef]of this[_0x2cb6('0x11')][_0x2cb6('0xf')])_0x486fef[_0x2cb6('0xd')]&&_0x2cb6('0x14')!==_0x2a2c7a&&_0x486fef[_0x2cb6('0xa')](_0x2cb6('0xe'));this['editor'][_0x2cb6('0x13')][_0x2cb6('0x0')](_0x2cb6('0x2'))&&this['editor'][_0x2cb6('0x13')][_0x2cb6('0x1')](_0x2cb6('0x2'))[_0x2cb6('0xa')](_0x2cb6('0xe'));const _0x1b8e67=this[_0x2cb6('0x11')][_0x2cb6('0xb')]['view']['document'];this[_0x2cb6('0x15')](_0x1b8e67,'cut',_0x4b345e=>_0x4b345e['stop'](),{'priority':_0x2cb6('0x12')}),this[_0x2cb6('0x15')](_0x1b8e67,_0x2cb6('0x10'),_0x1d01c6=>_0x1d01c6[_0x2cb6('0x3')](),{'priority':_0x2cb6('0x12')}),this[_0x2cb6('0x15')](_0x1b8e67,_0x2cb6('0x6'),_0x4836bf=>_0x4836bf[_0x2cb6('0x3')](),{'priority':_0x2cb6('0x12')});}[_0x2cb6('0x5')](){for(const [_0x4e0264,_0x1e80fe]of this[_0x2cb6('0x11')]['commands'])_0x1e80fe['affectsData']&&'addCommentThread'!==_0x4e0264&&_0x1e80fe[_0x2cb6('0x7')]('commentsOnlyMode');this['stopListening'](this[_0x2cb6('0x11')][_0x2cb6('0xb')][_0x2cb6('0x18')][_0x2cb6('0x19')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x503224,_0x25b442,_0x18dd17){const t=_0x503224['t'];switch(_0x25b442){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'},_0x18dd17);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'},_0x18dd17);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'},_0x18dd17);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'},_0x18dd17);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 _0x1ad6=['disconnect','type','attributeName','attributes','cancel','childList','class'];(function(_0x21fdbe,_0x1ad63e){const _0xf33b2a=function(_0xcacac){while(--_0xcacac){_0x21fdbe['push'](_0x21fdbe['shift']());}};_0xf33b2a(++_0x1ad63e);}(_0x1ad6,0xf2));const _0xf33b=function(_0x21fdbe,_0x1ad63e){_0x21fdbe=_0x21fdbe-0x0;let _0xf33b2a=_0x1ad6[_0x21fdbe];return _0xf33b2a;};import{throttle as _0x3be218}from'lodash-es';export default function Dt(_0x5485ac){const _0x4e3a21=_0x3be218(_0x5485ac,0x1e),_0xd002d8=new MutationObserver(_0x2a9a91=>{for(const _0x215feb of _0x2a9a91)(_0xf33b('0x6')==_0x215feb[_0xf33b('0x4')]&&_0xf33b('0x2')==_0x215feb[_0xf33b('0x5')]||_0xf33b('0x1')==_0x215feb[_0xf33b('0x4')]||'characterData'==_0x215feb[_0xf33b('0x4')])&&_0x4e3a21();});return{'attach'(_0x4b9a0d){_0xd002d8['observe'](_0x4b9a0d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0xd002d8[_0xf33b('0x3')](),_0x4e3a21[_0xf33b('0x0')]();}};}
|