@ckeditor/ckeditor5-comments 0.0.0-nightly-20230710.1 → 0.0.0-nightly-20230711.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 _0x6c24=['actionBar','creator','Delete\x20comment?','_attachActions','push','ck-comment__wrapper','userView','_model','div','icon','author','@external','edit','getExternalCommentNote','label','Reply...','isEnabled','element','ck-annotation__content-wrapper','editButton','dropdown','getUserViewNotificationText','isVisible','ck-comment__main','isEditable','children','Remove','_config','isExternal','ck-comment--info','mouseenter','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','EXTERNAL_AVATAR','blur','resolvedAt','isEditMode','_createEditButton','execute','buttonView','removeButton','ck-comment__external','ck-comment__info','ck-comment--remove-confirmation','ck-comment--edit','threeVerticalDots','cancelConfirm','_createDropdown','then','ck-annotation__info-name','span','_createRemoveButton','ck-comment__info-name','actionIndicator','importWord','time','setTemplate','ck-comment__actions--hidden','change:isRemovable','ck-annotation__actions','panelView','listenTo','getTemplate','attributes','ck-annotation','items','EXTERNAL_COMMENT','some','isReadOnly','source','ck-annotation__actions--hidden','length','locale','isRemovable','addMany','name','visibleView','ck-comment__actions','remove','removeComment','add','ck-annotation__info','change:isEnabled','withText','ck-comment__user','fire','EXTERNAL_IMPORT_WORD_COMMENT','Show\x20more\x20items','formatDateTime','bindTemplate','switchToEditMode','bind','ck-annotation__user','isConfirm','placeholder','_createCommentInputView','extendTemplate','render','ck-comment--remove'];(function(_0x36f012,_0x6c2441){const _0x53373a=function(_0x52a39c){while(--_0x52a39c){_0x36f012['push'](_0x36f012['shift']());}};_0x53373a(++_0x6c2441);}(_0x6c24,0x14a));const _0x5337=function(_0x36f012,_0x6c2441){_0x36f012=_0x36f012-0x0;let _0x53373a=_0x6c24[_0x36f012];return _0x53373a;};import{ButtonView as _0x466d05,createDropdown as _0xc3ccec,ListView as _0x3d6d2f,ListItemView as _0x5eecf0}from'ckeditor5/src/ui';import{icons as _0x520e47}from'ckeditor5/src/core';import{UserView as _0x483cb8,ConfirmMixin as _0x11d8c1}from'ckeditor5-collaboration/src/collaboration-core';import _0x2e4d33 from'./basecommentview';import _0x5a181f from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x1a9e52}from'../../../utils/common-translations';export default class ut extends _0x11d8c1(_0x2e4d33){constructor(_0x116434,_0x595214,_0x3ea401){super(_0x116434,_0x595214,_0x3ea401),this['set'](_0x5337('0x14'),null),this['set'](_0x5337('0x3d'),_0x1a9e52(_0x116434,_0x5337('0x51'))),this[_0x5337('0x3a')](_0x5337('0x61'))['to'](_0x595214),this[_0x5337('0x3a')](_0x5337('0x2'))['to'](_0x595214),this[_0x5337('0x42')]=this['createCollection'](),this['isSystemComment']||(this[_0x5337('0x55')]=this[_0x5337('0x4')](),this[_0x5337('0x7')]=this[_0x5337('0x12')](),this[_0x5337('0x20')]=this['createCollection'](),this['items'][_0x5337('0x29')]([this['editButton'],this[_0x5337('0x7')]]),this[_0x5337('0x56')]=this['_createDropdown'](),this[_0x5337('0x42')][_0x5337('0x2f')](this[_0x5337('0x56')])),this[_0x5337('0x48')]=new _0x483cb8(_0x116434,_0x595214['author'],this[_0x5337('0x57')]()),this[_0x5337('0x48')][_0x5337('0x3f')]({'attributes':{'class':[_0x5337('0x33'),_0x5337('0x3b')]}}),this['listenTo'](_0x595214,_0x5337('0x19'),()=>this[_0x5337('0xd')]()),this[_0x5337('0x17')](this[_0x5337('0x1d')]());}[_0x5337('0x1d')](){const _0x16654c=this[_0x5337('0x38')],_0x5067b0=[{'tag':_0x5337('0x4a'),'attributes':{'class':[_0x5337('0x9'),_0x5337('0x30')]},'children':[{'tag':_0x5337('0x11'),'children':[{'text':this['userView'][_0x5337('0x2a')]}],'attributes':{'class':[_0x5337('0x13'),_0x5337('0x10')]}},{'tag':_0x5337('0x16'),'attributes':{'datetime':_0x16654c['to'](_0x5337('0x61')),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x16654c['to'](_0x5337('0x61'),_0x16cc64=>this[_0x5337('0x5d')][_0x5337('0x37')](_0x16cc64))}]}]},{'tag':_0x5337('0x4a'),'attributes':{'class':[_0x5337('0x2c'),_0x5337('0x1a'),_0x16654c['if'](_0x5337('0x3'),_0x5337('0x18')),_0x16654c['if'](_0x5337('0x3'),_0x5337('0x25'))]},'children':this[_0x5337('0x42')]},{'tag':_0x5337('0x4a'),'attributes':{'class':[_0x5337('0x54')]},'children':this[_0x5337('0x2b')]}];return this[_0x5337('0x49')][_0x5337('0x5e')]&&_0x5067b0[_0x5337('0x46')]({'tag':_0x5337('0x4a'),'attributes':{'class':[_0x5337('0x8')]},'children':[{'text':this[_0x5337('0x4f')]()}]}),{'tag':'li','attributes':{'class':[_0x5337('0x47'),_0x16654c['if'](_0x5337('0x3c'),_0x5337('0xa'))],'tabindex':-0x1},'children':[{'tag':_0x5337('0x4a'),'attributes':{'class':['ck-comment',_0x5337('0x1f'),_0x16654c['if'](_0x5337('0x3'),_0x5337('0xb')),_0x16654c['if']('isSystemComment',_0x5337('0x5f')),_0x16654c['to']('actionIndicator',_0xca85d1=>_0xca85d1?'ck-comment--'+_0xca85d1:'')],'data-author-id':this[_0x5337('0x49')][_0x5337('0x4c')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x5337('0x48')],{'tag':_0x5337('0x4a'),'attributes':{'class':[_0x5337('0x59'),'ck-annotation__main']},'children':_0x5067b0}]}]};}[_0x5337('0x4')](){const _0x2786c1=new _0x466d05(this[_0x5337('0x27')]);return _0x2786c1[_0x5337('0x50')]=_0x1a9e52(this[_0x5337('0x27')],'Edit'),_0x2786c1[_0x5337('0x4b')]=_0x520e47['pencil'],_0x2786c1[_0x5337('0x32')]=!0x0,_0x2786c1[_0x5337('0x3f')]({'attributes':{'class':'ck-comment--edit'}}),_0x2786c1[_0x5337('0x3a')]('isEnabled')['to'](this['_model'],_0x5337('0x23'),_0x3315da=>!_0x3315da),_0x2786c1['bind'](_0x5337('0x58'))['to'](this[_0x5337('0x49')],_0x5337('0x5a')),_0x2786c1['on'](_0x5337('0x5'),()=>this[_0x5337('0x39')]()),_0x2786c1;}['_createRemoveButton'](){const _0x4d00b5=new _0x466d05(this['locale']);return _0x4d00b5[_0x5337('0x50')]=_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x5c')),_0x4d00b5[_0x5337('0x4b')]=_0x5a181f,_0x4d00b5['withText']=!0x0,_0x4d00b5['extendTemplate']({'attributes':{'class':_0x5337('0x41')}}),_0x4d00b5['bind']('isEnabled')['to'](this[_0x5337('0x49')],_0x5337('0x23'),_0x36bf70=>!_0x36bf70),_0x4d00b5[_0x5337('0x3a')]('isVisible')['to'](this['_model'],_0x5337('0x28')),_0x4d00b5['on']('execute',()=>{this['showConfirm'](_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x44')),this[_0x5337('0x53')])[_0x5337('0xf')](()=>{this[_0x5337('0x34')](_0x5337('0x2e'),this['_model']['id']);});}),_0x4d00b5;}[_0x5337('0xe')](){const _0x4a1cb7=_0xc3ccec(this[_0x5337('0x27')]),_0x264331=_0x4a1cb7[_0x5337('0x1b')][_0x5337('0x5b')],_0x54a179=new _0x3d6d2f(this[_0x5337('0x27')]),_0x384e55=(_0x557af2,_0x459a9e=-0x1)=>{const _0x522529=new _0x5eecf0(this['locale']);_0x522529[_0x5337('0x5b')][_0x5337('0x2f')](_0x557af2);const _0x20e06b=_0x459a9e>-0x1?_0x459a9e:_0x54a179[_0x5337('0x20')][_0x5337('0x26')];_0x54a179[_0x5337('0x20')]['add'](_0x522529,_0x20e06b),_0x4a1cb7['listenTo'](_0x557af2,_0x5337('0x31'),()=>{_0x4a1cb7['isEnabled']=[...this[_0x5337('0x20')]][_0x5337('0x22')](_0x3fef15=>_0x3fef15['isEnabled']);}),_0x4a1cb7[_0x5337('0x1c')](_0x557af2,'change:isVisible',()=>{_0x4a1cb7[_0x5337('0x6')][_0x5337('0x58')]=[...this['items']][_0x5337('0x22')](_0xae5dd1=>_0xae5dd1[_0x5337('0x58')]);});};_0x4a1cb7['panelPosition']='sw',_0x4a1cb7['buttonView']['set']({'label':_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x36')),'icon':_0x520e47[_0x5337('0xc')]}),_0x4a1cb7[_0x5337('0x52')]=[...this['items']][_0x5337('0x22')](_0x3c37ca=>_0x3c37ca[_0x5337('0x52')]),_0x4a1cb7[_0x5337('0x6')][_0x5337('0x58')]=[...this[_0x5337('0x20')]]['some'](_0xe2c3bc=>_0xe2c3bc[_0x5337('0x58')]);for(const _0x202700 of this['items'])_0x384e55(_0x202700);return _0x264331[_0x5337('0x2f')](_0x54a179),_0x4a1cb7['listenTo'](this['items'],'add',(_0xf0cdf9,_0x14b659,_0x2d2203)=>{_0x384e55(_0x14b659,_0x2d2203);}),_0x4a1cb7[_0x5337('0x1c')](this['items'],_0x5337('0x2d'),(_0x2b5195,_0x1eef21,_0x360d5e)=>{_0x54a179[_0x5337('0x20')][_0x5337('0x2d')](_0x360d5e);}),_0x4a1cb7;}[_0x5337('0x45')](_0x5eb892,_0x19e7fd){const _0x5829b2=_0x5eb892&&_0x5eb892['element'];_0x5829b2&&(this['listenTo'](_0x5829b2,_0x5337('0x60'),()=>this[_0x5337('0x14')]=_0x19e7fd),this[_0x5337('0x1c')](_0x5829b2,'focus',()=>this[_0x5337('0x14')]=_0x19e7fd),this['listenTo'](_0x5829b2,'mouseleave',()=>this[_0x5337('0x14')]=null),this[_0x5337('0x1c')](_0x5829b2,_0x5337('0x1'),()=>this[_0x5337('0x14')]=null));}[_0x5337('0x3e')](){const _0x1ff688=super[_0x5337('0x3e')]();return _0x1ff688[_0x5337('0x3a')](_0x5337('0x3d'))['to'](this),_0x1ff688;}[_0x5337('0x4f')](){return _0x5337('0x15')===this[_0x5337('0x49')][_0x5337('0x1e')][_0x5337('0x4d')][_0x5337('0x24')]?_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x35')):_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x21'));}['getUserViewNotificationText'](){return this[_0x5337('0x49')][_0x5337('0x5e')]?_0x5337('0x15')===this[_0x5337('0x49')][_0x5337('0x1e')][_0x5337('0x4d')][_0x5337('0x24')]?_0x1a9e52(this[_0x5337('0x27')],_0x5337('0x62'),this[_0x5337('0x49')]['creator']['name']):_0x1a9e52(this['locale'],_0x5337('0x0'),this[_0x5337('0x49')][_0x5337('0x43')][_0x5337('0x2a')]):null;}[_0x5337('0x40')](){super[_0x5337('0x40')](),this[_0x5337('0x45')](this[_0x5337('0x55')],_0x5337('0x4e')),this[_0x5337('0x45')](this[_0x5337('0x7')],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1afd=['pluginName','Comments','requires'];(function(_0x3ce69d,_0x1afdd8){var _0x2aaca9=function(_0x4ea9a9){while(--_0x4ea9a9){_0x3ce69d['push'](_0x3ce69d['shift']());}};_0x2aaca9(++_0x1afdd8);}(_0x1afd,0x164));var _0x2aac=function(_0x3ce69d,_0x1afdd8){_0x3ce69d=_0x3ce69d-0x0;var _0x2aaca9=_0x1afd[_0x3ce69d];return _0x2aaca9;};import{Plugin as _0x579450}from'ckeditor5/src/core';import _0x5d909b from'./comments/commentsrepository';import _0x4ade46 from'./comments/commentsediting';import _0x28e21a from'./comments/commentsui';import _0x521a8e from'./commentsonly';import _0x52abed from'./annotations/widesidebar';import _0x1f3331 from'./annotations/narrowsidebar';import _0x2e6162 from'./annotations/inlineannotations';import _0x2f9e66 from'./comments/commentsarchiveui';import _0x11fb1a from'./comments/commentsarchive';export default class f extends _0x579450{static get[_0x2aac('0x0')](){return[_0x5d909b,_0x4ade46,_0x28e21a,_0x11fb1a,_0x2f9e66,_0x521a8e,_0x52abed,_0x1f3331,_0x2e6162];}static get[_0x2aac('0x1')](){return _0x2aac('0x2');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ad2=['DragDrop','plugins','isEnabled','commands','get','document','set','change:isEnabled','editor','listenTo','view','CommentsOnly','stop','has','delete','requires','cut','editing','clearForceDisabled','commentsOnly','forceDisabled','highest','addCommentThread','_enableCommentsOnlyMode','_disableCommentsOnlyMode','pluginName','commentsOnlyMode','affectsData'];(function(_0x727801,_0x1ad25b){const _0x576bdf=function(_0x2f60f2){while(--_0x2f60f2){_0x727801['push'](_0x727801['shift']());}};_0x576bdf(++_0x1ad25b);}(_0x1ad2,0x82));const _0x576b=function(_0x727801,_0x1ad25b){_0x727801=_0x727801-0x0;let _0x576bdf=_0x1ad2[_0x727801];return _0x576bdf;};import{Plugin as _0x28dacb}from'ckeditor5/src/core';import _0x59f875 from'./comments/commentsediting';export default class n extends _0x28dacb{static get[_0x576b('0x7')](){return _0x576b('0x15');}static get[_0x576b('0x19')](){return[_0x59f875];}constructor(_0x1fccba){super(_0x1fccba),this[_0x576b('0x10')](_0x576b('0xc'),!0x1),this['on'](_0x576b('0x11'),(_0x6d9f40,_0x37dbe4,_0x39c354)=>{_0x39c354?this[_0x576b('0x5')]():this[_0x576b('0x6')]();});}['afterInit'](){!this['isEnabled']&&this[_0x576b('0x12')]['config'][_0x576b('0xe')](_0x576b('0x1'))&&(this['isEnabled']=!0x0);}[_0x576b('0x5')](){for(const [_0x4804ac,_0x17252c]of this[_0x576b('0x12')][_0x576b('0xd')])_0x17252c[_0x576b('0x9')]&&'addCommentThread'!==_0x4804ac&&_0x17252c['forceDisabled'](_0x576b('0x8'));this[_0x576b('0x12')][_0x576b('0xb')][_0x576b('0x17')](_0x576b('0xa'))&&this[_0x576b('0x12')][_0x576b('0xb')][_0x576b('0xe')]('DragDrop')[_0x576b('0x2')]('commentsOnlyMode');const _0x1907da=this['editor'][_0x576b('0x1b')][_0x576b('0x14')][_0x576b('0xf')];this[_0x576b('0x13')](_0x1907da,_0x576b('0x1a'),_0x5a9a98=>_0x5a9a98[_0x576b('0x16')](),{'priority':'highest'}),this[_0x576b('0x13')](_0x1907da,'clipboardInput',_0x60452d=>_0x60452d[_0x576b('0x16')](),{'priority':_0x576b('0x3')}),this['listenTo'](_0x1907da,_0x576b('0x18'),_0x32af51=>_0x32af51[_0x576b('0x16')](),{'priority':'highest'});}[_0x576b('0x6')](){for(const [_0x2f0c58,_0x123481]of this[_0x576b('0x12')][_0x576b('0xd')])_0x123481[_0x576b('0x9')]&&_0x576b('0x4')!==_0x2f0c58&&_0x123481[_0x576b('0x0')](_0x576b('0x8'));this['stopListening'](this[_0x576b('0x12')][_0x576b('0x1b')]['view'][_0x576b('0xf')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x36669b,_0x38d8cb,_0x45903f){const t=_0x36669b['t'];switch(_0x38d8cb){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'},_0x45903f);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'},_0x45903f);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'},_0x45903f);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'},_0x45903f);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 _0x5741=['disconnect','characterData','observe','type'];(function(_0x281d62,_0x57412f){const _0x1775be=function(_0x3fd26f){while(--_0x3fd26f){_0x281d62['push'](_0x281d62['shift']());}};_0x1775be(++_0x57412f);}(_0x5741,0x10c));const _0x1775=function(_0x281d62,_0x57412f){_0x281d62=_0x281d62-0x0;let _0x1775be=_0x5741[_0x281d62];return _0x1775be;};import{throttle as _0x49b422}from'lodash-es';export default function Dt(_0x47db38){const _0x3f57e3=_0x49b422(_0x47db38,0x1e),_0x3bd334=new MutationObserver(_0x590fd9=>{for(const _0x37b10a of _0x590fd9)('attributes'==_0x37b10a[_0x1775('0x3')]&&'class'==_0x37b10a['attributeName']||'childList'==_0x37b10a[_0x1775('0x3')]||_0x1775('0x1')==_0x37b10a['type'])&&_0x3f57e3();});return{'attach'(_0x53dc5d){_0x3bd334[_0x1775('0x2')](_0x53dc5d,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x3bd334[_0x1775('0x0')](),_0x3f57e3['cancel']();}};}
|