@ckeditor/ckeditor5-comments 0.0.0-nightly-20240117.0 → 0.0.0-nightly-20240119.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 _0x1e21=['time','attributes','ck-comment--','isEditMode','Edit','editButton','icon','element','ck-annotation__user','source','bind','mouseleave','remove','ck-annotation__actions--hidden','actionIndicator','locale','panelView','items','render','ck-comment--edit','cancelConfirm','ck-annotation__info','ck-annotation__actions','author','extendTemplate','some','isRemovable','isSystemComment','removeComment','ck-comment__user','isReadOnly','removeButton','span','authoredAt','setTemplate','ck-comment__info-time','_createDropdown','ck-comment__info','focus','panelPosition','EXTERNAL_COMMENT','isEditable','formatDateTime','ck-annotation__main','change:isEnabled','Remove','getExternalCommentNote','ck-comment__main','@external','ck-comment__actions','placeholder','resolvedAt','Show\x20more\x20items','ck-annotation__info-time','ck-annotation__content-wrapper','buttonView','_attachActions','getTemplate','_createCommentInputView','actionBar','addMany','threeVerticalDots','_model','ck-comment__info-name','Delete\x20comment?','switchToEditMode','createCollection','getUserViewNotificationText','add','ck-comment','change:isVisible','length','name','_createRemoveButton','pencil','blur','ck-comment--info','_config','set','children','listenTo','ck-comment--remove','ck-comment__wrapper','dropdown','div','then','withText','isEnabled','change:isRemovable','isExternal','importWord','userView','_createEditButton','isConfirm','creator','ck-annotation','isVisible'];(function(_0x328105,_0x1e2132){const _0x481adc=function(_0x59d615){while(--_0x59d615){_0x328105['push'](_0x328105['shift']());}};_0x481adc(++_0x1e2132);}(_0x1e21,0x138));const _0x481a=function(_0x328105,_0x1e2132){_0x328105=_0x328105-0x0;let _0x481adc=_0x1e21[_0x328105];return _0x481adc;};import{ButtonView as _0x36f561,createDropdown as _0x3b3115,ListView as _0x1cc540,ListItemView as _0x387e1d}from'ckeditor5/src/ui.js';import{icons as _0x17e41c}from'ckeditor5/src/core.js';import{UserView as _0x4742ab,ConfirmMixin as _0x2b327c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1a933a from'./basecommentview.js';import _0x4ee0f6 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x1a2238}from'../../../utils/common-translations.js';export default class pt extends _0x2b327c(_0x1a933a){constructor(_0x349ae3,_0x48b77b,_0x5b8786){super(_0x349ae3,_0x48b77b,_0x5b8786),this[_0x481a('0x39')]('actionIndicator',null),this['set'](_0x481a('0x1d'),_0x1a2238(_0x349ae3,'Reply...')),this[_0x481a('0x56')](_0x481a('0xc'))['to'](_0x48b77b),this['bind'](_0x481a('0x1e'))['to'](_0x48b77b),this[_0x481a('0x26')]=this[_0x481a('0x2d')](),this[_0x481a('0x6')]||(this[_0x481a('0x51')]=this['_createEditButton'](),this['removeButton']=this[_0x481a('0x34')](),this[_0x481a('0x5d')]=this[_0x481a('0x2d')](),this[_0x481a('0x5d')][_0x481a('0x27')]([this[_0x481a('0x51')],this[_0x481a('0xa')]]),this[_0x481a('0x3e')]=this[_0x481a('0xf')](),this[_0x481a('0x26')][_0x481a('0x2f')](this[_0x481a('0x3e')])),this['userView']=new _0x4742ab(_0x349ae3,_0x48b77b[_0x481a('0x2')],this[_0x481a('0x2e')]()),this[_0x481a('0x46')]['extendTemplate']({'attributes':{'class':[_0x481a('0x8'),_0x481a('0x54')]}}),this['listenTo'](_0x48b77b,_0x481a('0x43'),()=>this[_0x481a('0x60')]()),this[_0x481a('0xd')](this[_0x481a('0x24')]());}['getTemplate'](){const _0x33c1ae=this['bindTemplate'],_0x49b697=[{'tag':_0x481a('0x3f'),'attributes':{'class':[_0x481a('0x10'),_0x481a('0x0')]},'children':[{'tag':_0x481a('0xb'),'children':[{'text':this[_0x481a('0x46')][_0x481a('0x33')]}],'attributes':{'class':[_0x481a('0x2a'),'ck-annotation__info-name']}},{'tag':_0x481a('0x4c'),'attributes':{'datetime':_0x33c1ae['to']('authoredAt'),'class':[_0x481a('0xe'),_0x481a('0x20')]},'children':[{'text':_0x33c1ae['to'](_0x481a('0xc'),_0x58df2b=>this[_0x481a('0x38')][_0x481a('0x15')](_0x58df2b))}]}]},{'tag':'div','attributes':{'class':[_0x481a('0x1c'),_0x481a('0x1'),_0x33c1ae['if'](_0x481a('0x4f'),'ck-comment__actions--hidden'),_0x33c1ae['if'](_0x481a('0x4f'),_0x481a('0x59'))]},'children':this[_0x481a('0x26')]},{'tag':_0x481a('0x3f'),'attributes':{'class':[_0x481a('0x21')]},'children':this['visibleView']}];return this[_0x481a('0x29')]['isExternal']&&_0x49b697['push']({'tag':_0x481a('0x3f'),'attributes':{'class':['ck-comment__external']},'children':[{'text':this[_0x481a('0x19')]()}]}),{'tag':'li','attributes':{'class':[_0x481a('0x3d'),_0x33c1ae['if'](_0x481a('0x48'),'ck-comment--remove-confirmation')],'tabindex':-0x1},'children':[{'tag':_0x481a('0x3f'),'attributes':{'class':[_0x481a('0x30'),_0x481a('0x4a'),_0x33c1ae['if'](_0x481a('0x4f'),_0x481a('0x5f')),_0x33c1ae['if'](_0x481a('0x6'),_0x481a('0x37')),_0x33c1ae['to']('actionIndicator',_0x324956=>_0x324956?_0x481a('0x4e')+_0x324956:'')],'data-author-id':this['_model'][_0x481a('0x2')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x481a('0x46')],{'tag':'div','attributes':{'class':[_0x481a('0x1a'),_0x481a('0x16')]},'children':_0x49b697}]}]};}[_0x481a('0x47')](){const _0x2f49eb=new _0x36f561(this[_0x481a('0x5b')]);return _0x2f49eb['label']=_0x1a2238(this[_0x481a('0x5b')],_0x481a('0x50')),_0x2f49eb[_0x481a('0x52')]=_0x17e41c[_0x481a('0x35')],_0x2f49eb[_0x481a('0x41')]=!0x0,_0x2f49eb['extendTemplate']({'attributes':{'class':_0x481a('0x5f')}}),_0x2f49eb[_0x481a('0x56')](_0x481a('0x42'))['to'](this[_0x481a('0x29')],_0x481a('0x9'),_0x26a3c8=>!_0x26a3c8),_0x2f49eb[_0x481a('0x56')](_0x481a('0x4b'))['to'](this[_0x481a('0x29')],_0x481a('0x14')),_0x2f49eb['on']('execute',()=>this[_0x481a('0x2c')]()),_0x2f49eb;}[_0x481a('0x34')](){const _0x1f2b64=new _0x36f561(this[_0x481a('0x5b')]);return _0x1f2b64['label']=_0x1a2238(this['locale'],_0x481a('0x18')),_0x1f2b64[_0x481a('0x52')]=_0x4ee0f6,_0x1f2b64[_0x481a('0x41')]=!0x0,_0x1f2b64[_0x481a('0x3')]({'attributes':{'class':_0x481a('0x3c')}}),_0x1f2b64[_0x481a('0x56')](_0x481a('0x42'))['to'](this[_0x481a('0x29')],_0x481a('0x9'),_0x21e0e2=>!_0x21e0e2),_0x1f2b64[_0x481a('0x56')](_0x481a('0x4b'))['to'](this[_0x481a('0x29')],_0x481a('0x5')),_0x1f2b64['on']('execute',()=>{this['showConfirm'](_0x1a2238(this[_0x481a('0x5b')],_0x481a('0x2b')),this[_0x481a('0x53')])[_0x481a('0x40')](()=>{this['fire'](_0x481a('0x7'),this[_0x481a('0x29')]['id']);});}),_0x1f2b64;}[_0x481a('0xf')](){const _0x1badf2=_0x3b3115(this['locale']),_0x3bc0d3=_0x1badf2[_0x481a('0x5c')]['children'],_0x24f8ab=new _0x1cc540(this['locale']),_0x11518a=(_0x4b6011,_0x4d3828=-0x1)=>{const _0x950e66=new _0x387e1d(this['locale']);_0x950e66[_0x481a('0x3a')][_0x481a('0x2f')](_0x4b6011);const _0x2f8d58=_0x4d3828>-0x1?_0x4d3828:_0x24f8ab['items'][_0x481a('0x32')];_0x24f8ab[_0x481a('0x5d')][_0x481a('0x2f')](_0x950e66,_0x2f8d58),_0x1badf2[_0x481a('0x3b')](_0x4b6011,_0x481a('0x17'),()=>{_0x1badf2[_0x481a('0x42')]=[...this[_0x481a('0x5d')]][_0x481a('0x4')](_0x20649f=>_0x20649f['isEnabled']);}),_0x1badf2['listenTo'](_0x4b6011,_0x481a('0x31'),()=>{_0x1badf2[_0x481a('0x22')]['isVisible']=[...this[_0x481a('0x5d')]][_0x481a('0x4')](_0x3450c5=>_0x3450c5[_0x481a('0x4b')]);});};_0x1badf2[_0x481a('0x12')]='sw',_0x1badf2[_0x481a('0x22')][_0x481a('0x39')]({'label':_0x1a2238(this[_0x481a('0x5b')],_0x481a('0x1f')),'icon':_0x17e41c[_0x481a('0x28')]}),_0x1badf2[_0x481a('0x42')]=[...this['items']][_0x481a('0x4')](_0xe2a05f=>_0xe2a05f[_0x481a('0x42')]),_0x1badf2[_0x481a('0x22')]['isVisible']=[...this[_0x481a('0x5d')]]['some'](_0x22e41=>_0x22e41[_0x481a('0x4b')]);for(const _0x3ec12c of this[_0x481a('0x5d')])_0x11518a(_0x3ec12c);return _0x3bc0d3[_0x481a('0x2f')](_0x24f8ab),_0x1badf2[_0x481a('0x3b')](this[_0x481a('0x5d')],_0x481a('0x2f'),(_0x44cc8d,_0x367694,_0x305a39)=>{_0x11518a(_0x367694,_0x305a39);}),_0x1badf2[_0x481a('0x3b')](this['items'],_0x481a('0x58'),(_0x37ed0b,_0x202ada,_0x11ebe9)=>{_0x24f8ab[_0x481a('0x5d')][_0x481a('0x58')](_0x11ebe9);}),_0x1badf2;}[_0x481a('0x23')](_0x5ba7e9,_0x492ef9){const _0x4e385d=_0x5ba7e9&&_0x5ba7e9['element'];_0x4e385d&&(this['listenTo'](_0x4e385d,'mouseenter',()=>this['actionIndicator']=_0x492ef9),this[_0x481a('0x3b')](_0x4e385d,_0x481a('0x11'),()=>this[_0x481a('0x5a')]=_0x492ef9),this[_0x481a('0x3b')](_0x4e385d,_0x481a('0x57'),()=>this[_0x481a('0x5a')]=null),this[_0x481a('0x3b')](_0x4e385d,_0x481a('0x36'),()=>this['actionIndicator']=null));}[_0x481a('0x25')](){const _0x28858f=super['_createCommentInputView']();return _0x28858f[_0x481a('0x56')](_0x481a('0x1d'))['to'](this),_0x28858f;}['getExternalCommentNote'](){return _0x481a('0x45')===this[_0x481a('0x29')][_0x481a('0x4d')][_0x481a('0x1b')][_0x481a('0x55')]?_0x1a2238(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x1a2238(this[_0x481a('0x5b')],_0x481a('0x13'));}['getUserViewNotificationText'](){return this[_0x481a('0x29')][_0x481a('0x44')]?_0x481a('0x45')===this[_0x481a('0x29')][_0x481a('0x4d')][_0x481a('0x1b')][_0x481a('0x55')]?_0x1a2238(this[_0x481a('0x5b')],'EXTERNAL_IMPORT_WORD_AVATAR',this[_0x481a('0x29')][_0x481a('0x49')][_0x481a('0x33')]):_0x1a2238(this['locale'],'EXTERNAL_AVATAR',this[_0x481a('0x29')]['creator'][_0x481a('0x33')]):null;}['render'](){super[_0x481a('0x5e')](),this[_0x481a('0x23')](this[_0x481a('0x51')],'edit'),this['_attachActions'](this[_0x481a('0xa')],_0x481a('0x58'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4221=['requires'];(function(_0x2ffaca,_0x42219d){var _0x415830=function(_0x101427){while(--_0x101427){_0x2ffaca['push'](_0x2ffaca['shift']());}};_0x415830(++_0x42219d);}(_0x4221,0x12d));var _0x4158=function(_0x2ffaca,_0x42219d){_0x2ffaca=_0x2ffaca-0x0;var _0x415830=_0x4221[_0x2ffaca];return _0x415830;};import{Plugin as _0x560c8d}from'ckeditor5/src/core.js';import _0x520b3c from'./comments/commentsrepository.js';import _0xea227 from'./comments/commentsediting.js';import _0x51c98b from'./comments/commentsui.js';import _0x398e0c from'./commentsonly.js';import _0xd63ee2 from'./annotations/widesidebar.js';import _0x3b219f from'./annotations/narrowsidebar.js';import _0x456907 from'./annotations/inlineannotations.js';import _0x49b552 from'./comments/commentsarchiveui.js';import _0x1d4d6d from'./comments/commentsarchive.js';export default class f extends _0x560c8d{static get[_0x4158('0x0')](){return[_0x520b3c,_0xea227,_0x51c98b,_0x1d4d6d,_0x49b552,_0x398e0c,_0xd63ee2,_0x3b219f,_0x456907];}static get['pluginName'](){return'Comments';}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2984=['commentsOnly','isEnabled','set','_enableCommentsOnlyMode','DragDrop','change:isEnabled','affectsData','document','has','commands','requires','editor','editing','pluginName','view','highest','forceDisabled','delete','CommentsOnly','stop','get','cut','afterInit','_disableCommentsOnlyMode','clearForceDisabled','addCommentThread','plugins','commentsOnlyMode','listenTo'];(function(_0xcf575e,_0x2984c2){const _0x39fdc0=function(_0x31a6ed){while(--_0x31a6ed){_0xcf575e['push'](_0xcf575e['shift']());}};_0x39fdc0(++_0x2984c2);}(_0x2984,0x9a));const _0x39fd=function(_0xcf575e,_0x2984c2){_0xcf575e=_0xcf575e-0x0;let _0x39fdc0=_0x2984[_0xcf575e];return _0x39fdc0;};import{Plugin as _0x749984}from'ckeditor5/src/core.js';import _0x2389f9 from'./comments/commentsediting.js';export default class e extends _0x749984{static get[_0x39fd('0x4')](){return _0x39fd('0x9');}static get[_0x39fd('0x1')](){return[_0x2389f9];}constructor(_0x26b6fc){super(_0x26b6fc),this[_0x39fd('0x16')](_0x39fd('0x15'),!0x1),this['on'](_0x39fd('0x19'),(_0x54d930,_0x5f3f69,_0x517b8d)=>{_0x517b8d?this[_0x39fd('0x17')]():this['_disableCommentsOnlyMode']();});}[_0x39fd('0xd')](){!this[_0x39fd('0x15')]&&this[_0x39fd('0x2')]['config'][_0x39fd('0xb')](_0x39fd('0x14'))&&(this['isEnabled']=!0x0);}[_0x39fd('0x17')](){for(const [_0x308335,_0xfb90bb]of this[_0x39fd('0x2')][_0x39fd('0x0')])_0xfb90bb['affectsData']&&_0x39fd('0x10')!==_0x308335&&_0xfb90bb[_0x39fd('0x7')](_0x39fd('0x12'));this[_0x39fd('0x2')][_0x39fd('0x11')][_0x39fd('0x1c')](_0x39fd('0x18'))&&this['editor'][_0x39fd('0x11')][_0x39fd('0xb')](_0x39fd('0x18'))[_0x39fd('0x7')](_0x39fd('0x12'));const _0x1f61a0=this[_0x39fd('0x2')]['editing'][_0x39fd('0x5')][_0x39fd('0x1b')];this[_0x39fd('0x13')](_0x1f61a0,_0x39fd('0xc'),_0x364e2b=>_0x364e2b['stop'](),{'priority':_0x39fd('0x6')}),this[_0x39fd('0x13')](_0x1f61a0,'clipboardInput',_0x37ec3d=>_0x37ec3d['stop'](),{'priority':_0x39fd('0x6')}),this[_0x39fd('0x13')](_0x1f61a0,_0x39fd('0x8'),_0x33849e=>_0x33849e[_0x39fd('0xa')](),{'priority':_0x39fd('0x6')});}[_0x39fd('0xe')](){for(const [_0x2f6333,_0x324c41]of this['editor']['commands'])_0x324c41[_0x39fd('0x1a')]&&_0x39fd('0x10')!==_0x2f6333&&_0x324c41[_0x39fd('0xf')](_0x39fd('0x12'));this['stopListening'](this['editor'][_0x39fd('0x3')][_0x39fd('0x5')][_0x39fd('0x1b')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5d0efb,_0xd91e07,_0x40e400){const t=_0x5d0efb['t'];switch(_0xd91e07){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'},_0x40e400);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'},_0x40e400);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'},_0x40e400);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'},_0x40e400);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 _0x456c=['cancel','attributes','type','characterData','childList','observe','disconnect','attributeName'];(function(_0x4c73e8,_0x456cc7){const _0x3edcc1=function(_0x55c1c4){while(--_0x55c1c4){_0x4c73e8['push'](_0x4c73e8['shift']());}};_0x3edcc1(++_0x456cc7);}(_0x456c,0x1a5));const _0x3edc=function(_0x4c73e8,_0x456cc7){_0x4c73e8=_0x4c73e8-0x0;let _0x3edcc1=_0x456c[_0x4c73e8];return _0x3edcc1;};import{throttle as _0x235c06}from'lodash-es';export default function Dt(_0x2a311d){const _0xef8007=_0x235c06(_0x2a311d,0x1e),_0x5b0fff=new MutationObserver(_0x42fefc=>{for(const _0x328944 of _0x42fefc)(_0x3edc('0x4')==_0x328944[_0x3edc('0x5')]&&'class'==_0x328944[_0x3edc('0x2')]||_0x3edc('0x7')==_0x328944['type']||_0x3edc('0x6')==_0x328944[_0x3edc('0x5')])&&_0xef8007();});return{'attach'(_0x115a5a){_0x5b0fff[_0x3edc('0x0')](_0x115a5a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x5b0fff[_0x3edc('0x1')](),_0xef8007[_0x3edc('0x3')]();}};}
|