@ckeditor/ckeditor5-comments 0.0.0-nightly-20231228.0 → 0.0.0-nightly-20231230.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 _0x3d7f=['name','Reply...','setTemplate','addMany','withText','isExternal','edit','@external','removeComment','Show\x20more\x20items','panelView','then','isEnabled','length','creator','_model','ck-comment__actions--hidden','icon','cancelConfirm','_createCommentInputView','ck-comment--remove','actionBar','Edit','placeholder','attributes','source','isSystemComment','isEditMode','ck-comment','author','getUserViewNotificationText','editButton','items','focus','mouseenter','change:isVisible','Delete\x20comment?','children','actionIndicator','getTemplate','label','element','bind','isVisible','ck-annotation__main','ck-comment__user','ck-comment__wrapper','add','_createEditButton','time','render','fire','Remove','visibleView','authoredAt','some','_createDropdown','ck-comment__actions','ck-annotation__user','blur','dropdown','_attachActions','isReadOnly','push','extendTemplate','ck-comment--','ck-comment--info','ck-comment__main','span','importWord','ck-annotation__info','ck-comment__info-time','createCollection','userView','formatDateTime','locale','_createRemoveButton','pencil','listenTo','ck-annotation__actions','_config','ck-annotation__content-wrapper','buttonView','isEditable','execute','ck-annotation__info-name','resolvedAt','ck-comment__info-name','remove','set','ck-comment__external','div'];(function(_0x5e2da7,_0x3d7ffd){const _0xcf052f=function(_0x5aa1a4){while(--_0x5aa1a4){_0x5e2da7['push'](_0x5e2da7['shift']());}};_0xcf052f(++_0x3d7ffd);}(_0x3d7f,0x1ef));const _0xcf05=function(_0x5e2da7,_0x3d7ffd){_0x5e2da7=_0x5e2da7-0x0;let _0xcf052f=_0x3d7f[_0x5e2da7];return _0xcf052f;};import{ButtonView as _0x26e325,createDropdown as _0x271437,ListView as _0x572aaa,ListItemView as _0x247968}from'ckeditor5/src/ui.js';import{icons as _0x3ba862}from'ckeditor5/src/core.js';import{UserView as _0x262bb7,ConfirmMixin as _0x5d1d72}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x33b938 from'./basecommentview.js';import _0x1c6752 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x38397e}from'../../../utils/common-translations.js';export default class pt extends _0x5d1d72(_0x33b938){constructor(_0x4f651d,_0x506973,_0x16b925){super(_0x4f651d,_0x506973,_0x16b925),this[_0xcf05('0x36')]('actionIndicator',null),this['set']('placeholder',_0x38397e(_0x4f651d,_0xcf05('0x3a'))),this[_0xcf05('0x7')](_0xcf05('0x13'))['to'](_0x506973),this[_0xcf05('0x7')](_0xcf05('0x33'))['to'](_0x506973),this[_0xcf05('0x4e')]=this[_0xcf05('0x25')](),this[_0xcf05('0x53')]||(this[_0xcf05('0x58')]=this['_createEditButton'](),this['removeButton']=this[_0xcf05('0x29')](),this['items']=this['createCollection'](),this[_0xcf05('0x59')][_0xcf05('0x3c')]([this[_0xcf05('0x58')],this['removeButton']]),this[_0xcf05('0x19')]=this[_0xcf05('0x15')](),this[_0xcf05('0x4e')][_0xcf05('0xc')](this[_0xcf05('0x19')])),this[_0xcf05('0x26')]=new _0x262bb7(_0x4f651d,_0x506973[_0xcf05('0x56')],this[_0xcf05('0x57')]()),this[_0xcf05('0x26')]['extendTemplate']({'attributes':{'class':[_0xcf05('0xa'),_0xcf05('0x17')]}}),this[_0xcf05('0x2b')](_0x506973,'change:isRemovable',()=>this[_0xcf05('0x4b')]()),this[_0xcf05('0x3b')](this[_0xcf05('0x4')]());}[_0xcf05('0x4')](){const _0x11fe73=this['bindTemplate'],_0x20c710=[{'tag':'div','attributes':{'class':['ck-comment__info',_0xcf05('0x23')]},'children':[{'tag':_0xcf05('0x21'),'children':[{'text':this[_0xcf05('0x26')][_0xcf05('0x39')]}],'attributes':{'class':[_0xcf05('0x34'),_0xcf05('0x32')]}},{'tag':_0xcf05('0xe'),'attributes':{'datetime':_0x11fe73['to'](_0xcf05('0x13')),'class':[_0xcf05('0x24'),'ck-annotation__info-time']},'children':[{'text':_0x11fe73['to'](_0xcf05('0x13'),_0x5071db=>this[_0xcf05('0x2d')][_0xcf05('0x27')](_0x5071db))}]}]},{'tag':_0xcf05('0x38'),'attributes':{'class':[_0xcf05('0x16'),_0xcf05('0x2c'),_0x11fe73['if'](_0xcf05('0x54'),_0xcf05('0x49')),_0x11fe73['if'](_0xcf05('0x54'),'ck-annotation__actions--hidden')]},'children':this['actionBar']},{'tag':'div','attributes':{'class':[_0xcf05('0x2e')]},'children':this[_0xcf05('0x12')]}];return this[_0xcf05('0x48')][_0xcf05('0x3e')]&&_0x20c710[_0xcf05('0x1c')]({'tag':'div','attributes':{'class':[_0xcf05('0x37')]},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':[_0xcf05('0xb'),_0x11fe73['if']('isConfirm','ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0xcf05('0x38'),'attributes':{'class':[_0xcf05('0x55'),'ck-annotation',_0x11fe73['if']('isEditMode','ck-comment--edit'),_0x11fe73['if'](_0xcf05('0x53'),_0xcf05('0x1f')),_0x11fe73['to'](_0xcf05('0x3'),_0xb2d7a8=>_0xb2d7a8?_0xcf05('0x1e')+_0xb2d7a8:'')],'data-author-id':this['_model']['author']['id'],'data-comment-id':this[_0xcf05('0x48')]['id']},'children':[this['userView'],{'tag':_0xcf05('0x38'),'attributes':{'class':[_0xcf05('0x20'),_0xcf05('0x9')]},'children':_0x20c710}]}]};}[_0xcf05('0xd')](){const _0x16c2e0=new _0x26e325(this[_0xcf05('0x28')]);return _0x16c2e0['label']=_0x38397e(this[_0xcf05('0x28')],_0xcf05('0x4f')),_0x16c2e0[_0xcf05('0x4a')]=_0x3ba862[_0xcf05('0x2a')],_0x16c2e0[_0xcf05('0x3d')]=!0x0,_0x16c2e0[_0xcf05('0x1d')]({'attributes':{'class':'ck-comment--edit'}}),_0x16c2e0[_0xcf05('0x7')]('isEnabled')['to'](this[_0xcf05('0x48')],_0xcf05('0x1b'),_0x36b011=>!_0x36b011),_0x16c2e0[_0xcf05('0x7')](_0xcf05('0x8'))['to'](this['_model'],_0xcf05('0x30')),_0x16c2e0['on'](_0xcf05('0x31'),()=>this['switchToEditMode']()),_0x16c2e0;}[_0xcf05('0x29')](){const _0x595b42=new _0x26e325(this[_0xcf05('0x28')]);return _0x595b42[_0xcf05('0x5')]=_0x38397e(this[_0xcf05('0x28')],_0xcf05('0x11')),_0x595b42[_0xcf05('0x4a')]=_0x1c6752,_0x595b42[_0xcf05('0x3d')]=!0x0,_0x595b42[_0xcf05('0x1d')]({'attributes':{'class':_0xcf05('0x4d')}}),_0x595b42[_0xcf05('0x7')](_0xcf05('0x45'))['to'](this[_0xcf05('0x48')],_0xcf05('0x1b'),_0x44e0a8=>!_0x44e0a8),_0x595b42[_0xcf05('0x7')](_0xcf05('0x8'))['to'](this[_0xcf05('0x48')],'isRemovable'),_0x595b42['on'](_0xcf05('0x31'),()=>{this['showConfirm'](_0x38397e(this[_0xcf05('0x28')],_0xcf05('0x1')),this[_0xcf05('0x6')])[_0xcf05('0x44')](()=>{this[_0xcf05('0x10')](_0xcf05('0x41'),this['_model']['id']);});}),_0x595b42;}[_0xcf05('0x15')](){const _0x28adde=_0x271437(this[_0xcf05('0x28')]),_0x34a10b=_0x28adde[_0xcf05('0x43')][_0xcf05('0x2')],_0x2edaa6=new _0x572aaa(this[_0xcf05('0x28')]),_0x48f28a=(_0x47c612,_0x2bf85a=-0x1)=>{const _0x475140=new _0x247968(this[_0xcf05('0x28')]);_0x475140['children'][_0xcf05('0xc')](_0x47c612);const _0x9e6a72=_0x2bf85a>-0x1?_0x2bf85a:_0x2edaa6[_0xcf05('0x59')][_0xcf05('0x46')];_0x2edaa6['items']['add'](_0x475140,_0x9e6a72),_0x28adde['listenTo'](_0x47c612,'change:isEnabled',()=>{_0x28adde[_0xcf05('0x45')]=[...this[_0xcf05('0x59')]][_0xcf05('0x14')](_0x3e5a8b=>_0x3e5a8b[_0xcf05('0x45')]);}),_0x28adde[_0xcf05('0x2b')](_0x47c612,_0xcf05('0x0'),()=>{_0x28adde[_0xcf05('0x2f')][_0xcf05('0x8')]=[...this['items']][_0xcf05('0x14')](_0x275463=>_0x275463['isVisible']);});};_0x28adde['panelPosition']='sw',_0x28adde[_0xcf05('0x2f')]['set']({'label':_0x38397e(this[_0xcf05('0x28')],_0xcf05('0x42')),'icon':_0x3ba862['threeVerticalDots']}),_0x28adde[_0xcf05('0x45')]=[...this[_0xcf05('0x59')]][_0xcf05('0x14')](_0x2996a4=>_0x2996a4[_0xcf05('0x45')]),_0x28adde[_0xcf05('0x2f')][_0xcf05('0x8')]=[...this['items']]['some'](_0x39bb7f=>_0x39bb7f[_0xcf05('0x8')]);for(const _0xf91523 of this[_0xcf05('0x59')])_0x48f28a(_0xf91523);return _0x34a10b[_0xcf05('0xc')](_0x2edaa6),_0x28adde[_0xcf05('0x2b')](this['items'],_0xcf05('0xc'),(_0x4e0376,_0x4e9163,_0x111113)=>{_0x48f28a(_0x4e9163,_0x111113);}),_0x28adde[_0xcf05('0x2b')](this[_0xcf05('0x59')],_0xcf05('0x35'),(_0xb2386c,_0x401fbe,_0x30982b)=>{_0x2edaa6[_0xcf05('0x59')]['remove'](_0x30982b);}),_0x28adde;}[_0xcf05('0x1a')](_0x141fa2,_0x128436){const _0x56dc3d=_0x141fa2&&_0x141fa2[_0xcf05('0x6')];_0x56dc3d&&(this[_0xcf05('0x2b')](_0x56dc3d,_0xcf05('0x5b'),()=>this[_0xcf05('0x3')]=_0x128436),this[_0xcf05('0x2b')](_0x56dc3d,_0xcf05('0x5a'),()=>this['actionIndicator']=_0x128436),this[_0xcf05('0x2b')](_0x56dc3d,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x56dc3d,_0xcf05('0x18'),()=>this['actionIndicator']=null));}[_0xcf05('0x4c')](){const _0x574e21=super[_0xcf05('0x4c')]();return _0x574e21[_0xcf05('0x7')](_0xcf05('0x50'))['to'](this),_0x574e21;}['getExternalCommentNote'](){return _0xcf05('0x22')===this[_0xcf05('0x48')][_0xcf05('0x51')][_0xcf05('0x40')][_0xcf05('0x52')]?_0x38397e(this[_0xcf05('0x28')],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x38397e(this[_0xcf05('0x28')],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model'][_0xcf05('0x3e')]?'importWord'===this[_0xcf05('0x48')][_0xcf05('0x51')][_0xcf05('0x40')][_0xcf05('0x52')]?_0x38397e(this[_0xcf05('0x28')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0xcf05('0x48')][_0xcf05('0x47')][_0xcf05('0x39')]):_0x38397e(this['locale'],'EXTERNAL_AVATAR',this['_model'][_0xcf05('0x47')][_0xcf05('0x39')]):null;}[_0xcf05('0xf')](){super[_0xcf05('0xf')](),this['_attachActions'](this['editButton'],_0xcf05('0x3f')),this['_attachActions'](this['removeButton'],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x6860=['pluginName','Comments','requires'];(function(_0x54f423,_0x686050){var _0x24b855=function(_0x51afce){while(--_0x51afce){_0x54f423['push'](_0x54f423['shift']());}};_0x24b855(++_0x686050);}(_0x6860,0x1c9));var _0x24b8=function(_0x54f423,_0x686050){_0x54f423=_0x54f423-0x0;var _0x24b855=_0x6860[_0x54f423];return _0x24b855;};import{Plugin as _0x3094da}from'ckeditor5/src/core.js';import _0x3642ac from'./comments/commentsrepository.js';import _0x4c0f1a from'./comments/commentsediting.js';import _0x3e8185 from'./comments/commentsui.js';import _0x296bcd from'./commentsonly.js';import _0x5004ca from'./annotations/widesidebar.js';import _0x28ab09 from'./annotations/narrowsidebar.js';import _0x45a208 from'./annotations/inlineannotations.js';import _0x50f829 from'./comments/commentsarchiveui.js';import _0x1a25c7 from'./comments/commentsarchive.js';export default class f extends _0x3094da{static get[_0x24b8('0x1')](){return[_0x3642ac,_0x4c0f1a,_0x3e8185,_0x1a25c7,_0x50f829,_0x296bcd,_0x5004ca,_0x28ab09,_0x45a208];}static get[_0x24b8('0x2')](){return _0x24b8('0x0');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c33=['editor','DragDrop','plugins','CommentsOnly','change:isEnabled','_disableCommentsOnlyMode','isEnabled','afterInit','highest','addCommentThread','commentsOnly','get','has','commentsOnlyMode','_enableCommentsOnlyMode','set','clearForceDisabled','editing','commands','listenTo','config','stop','view','forceDisabled'];(function(_0x4f554c,_0x2c337a){const _0x1bd217=function(_0x2dc8a7){while(--_0x2dc8a7){_0x4f554c['push'](_0x4f554c['shift']());}};_0x1bd217(++_0x2c337a);}(_0x2c33,0x1b1));const _0x1bd2=function(_0x4f554c,_0x2c337a){_0x4f554c=_0x4f554c-0x0;let _0x1bd217=_0x2c33[_0x4f554c];return _0x1bd217;};import{Plugin as _0x13837e}from'ckeditor5/src/core.js';import _0x449440 from'./comments/commentsediting.js';export default class e extends _0x13837e{static get['pluginName'](){return _0x1bd2('0x2');}static get['requires'](){return[_0x449440];}constructor(_0x34f9f6){super(_0x34f9f6),this[_0x1bd2('0xe')](_0x1bd2('0x5'),!0x1),this['on'](_0x1bd2('0x3'),(_0x19924f,_0x25fd92,_0xee275b)=>{_0xee275b?this[_0x1bd2('0xd')]():this[_0x1bd2('0x4')]();});}[_0x1bd2('0x6')](){!this[_0x1bd2('0x5')]&&this['editor'][_0x1bd2('0x13')][_0x1bd2('0xa')](_0x1bd2('0x9'))&&(this[_0x1bd2('0x5')]=!0x0);}[_0x1bd2('0xd')](){for(const [_0x4db559,_0x24faa2]of this['editor'][_0x1bd2('0x11')])_0x24faa2['affectsData']&&_0x1bd2('0x8')!==_0x4db559&&_0x24faa2[_0x1bd2('0x16')]('commentsOnlyMode');this[_0x1bd2('0x17')][_0x1bd2('0x1')][_0x1bd2('0xb')]('DragDrop')&&this[_0x1bd2('0x17')][_0x1bd2('0x1')][_0x1bd2('0xa')](_0x1bd2('0x0'))[_0x1bd2('0x16')](_0x1bd2('0xc'));const _0x5f4c2d=this[_0x1bd2('0x17')][_0x1bd2('0x10')][_0x1bd2('0x15')]['document'];this['listenTo'](_0x5f4c2d,'cut',_0x1ba05e=>_0x1ba05e[_0x1bd2('0x14')](),{'priority':_0x1bd2('0x7')}),this[_0x1bd2('0x12')](_0x5f4c2d,'clipboardInput',_0x1ffc80=>_0x1ffc80[_0x1bd2('0x14')](),{'priority':_0x1bd2('0x7')}),this[_0x1bd2('0x12')](_0x5f4c2d,'delete',_0x10aeb0=>_0x10aeb0[_0x1bd2('0x14')](),{'priority':_0x1bd2('0x7')});}[_0x1bd2('0x4')](){for(const [_0x23be07,_0x1d1949]of this[_0x1bd2('0x17')][_0x1bd2('0x11')])_0x1d1949['affectsData']&&_0x1bd2('0x8')!==_0x23be07&&_0x1d1949[_0x1bd2('0xf')](_0x1bd2('0xc'));this['stopListening'](this[_0x1bd2('0x17')][_0x1bd2('0x10')][_0x1bd2('0x15')]['document']);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x4892ab,_0x1efaa3,_0x2a854d){const t=_0x4892ab['t'];switch(_0x1efaa3){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'},_0x2a854d);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'},_0x2a854d);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'},_0x2a854d);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'},_0x2a854d);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 _0x3a1f=['disconnect','attributes','type','attributeName','cancel','class'];(function(_0x4aadee,_0x3a1f07){const _0x407d2f=function(_0x3fe294){while(--_0x3fe294){_0x4aadee['push'](_0x4aadee['shift']());}};_0x407d2f(++_0x3a1f07);}(_0x3a1f,0x19e));const _0x407d=function(_0x4aadee,_0x3a1f07){_0x4aadee=_0x4aadee-0x0;let _0x407d2f=_0x3a1f[_0x4aadee];return _0x407d2f;};import{throttle as _0x3bc907}from'lodash-es';export default function Dt(_0x4d30bf){const _0x46425e=_0x3bc907(_0x4d30bf,0x1e),_0x2fe542=new MutationObserver(_0x3fd5d0=>{for(const _0x4e35f2 of _0x3fd5d0)(_0x407d('0x1')==_0x4e35f2[_0x407d('0x2')]&&_0x407d('0x5')==_0x4e35f2[_0x407d('0x3')]||'childList'==_0x4e35f2[_0x407d('0x2')]||'characterData'==_0x4e35f2[_0x407d('0x2')])&&_0x46425e();});return{'attach'(_0x5bd83d){_0x2fe542['observe'](_0x5bd83d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x2fe542[_0x407d('0x0')](),_0x46425e[_0x407d('0x4')]();}};}
|