@ckeditor/ckeditor5-comments 0.0.0-nightly-20230907.0 → 0.0.0-nightly-20230908.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 _0x277d=['_model','getExternalCommentNote','items','ck-comment--remove-confirmation','attributes','setTemplate','ck-comment__wrapper','remove','listenTo','visibleView','ck-comment--remove','ck-comment__info','ck-annotation__actions--hidden','ck-comment--info','resolvedAt','isVisible','authoredAt','ck-comment__external','ck-comment__main','bindTemplate','removeButton','Remove','edit','change:isEnabled','creator','getTemplate','formatDateTime','focus','render','ck-annotation__content-wrapper','panelView','_createEditButton','name','isEnabled','change:isRemovable','userView','addMany','EXTERNAL_COMMENT','removeComment','span','_createRemoveButton','time','Edit','pencil','_attachActions','ck-annotation__info-name','add','div','@external','ck-annotation__main','ck-annotation__user','isSystemComment','children','placeholder','ck-annotation','EXTERNAL_IMPORT_WORD_AVATAR','createCollection','locale','isRemovable','dropdown','isEditable','withText','showConfirm','getUserViewNotificationText','label','element','editButton','extendTemplate','isEditMode','actionIndicator','isReadOnly','author','actionBar','execute','ck-comment','Delete\x20comment?','length','buttonView','ck-comment__actions--hidden','bind','_createDropdown','set','importWord','blur','icon','_createCommentInputView','ck-annotation__info-time','isConfirm','ck-comment__info-time','isExternal','switchToEditMode','Show\x20more\x20items','some'];(function(_0x701f65,_0x277d34){const _0x45e3e2=function(_0x51733a){while(--_0x51733a){_0x701f65['push'](_0x701f65['shift']());}};_0x45e3e2(++_0x277d34);}(_0x277d,0x81));const _0x45e3=function(_0x701f65,_0x277d34){_0x701f65=_0x701f65-0x0;let _0x45e3e2=_0x277d[_0x701f65];return _0x45e3e2;};import{ButtonView as _0x4aa073,createDropdown as _0x391e07,ListView as _0x3f995c,ListItemView as _0x59ea3e}from'ckeditor5/src/ui';import{icons as _0xf6ebd7}from'ckeditor5/src/core';import{UserView as _0x155b4b,ConfirmMixin as _0x51d211}from'ckeditor5-collaboration/src/collaboration-core';import _0x1cb6ee from'./basecommentview';import _0x2aa59f from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x5cf879}from'../../../utils/common-translations';export default class ut extends _0x51d211(_0x1cb6ee){constructor(_0x41b45e,_0x1985a2,_0x33c31d){super(_0x41b45e,_0x1985a2,_0x33c31d),this[_0x45e3('0x2d')]('actionIndicator',null),this['set']('placeholder',_0x5cf879(_0x41b45e,'Reply...')),this['bind'](_0x45e3('0x49'))['to'](_0x1985a2),this[_0x45e3('0x2b')](_0x45e3('0x47'))['to'](_0x1985a2),this[_0x45e3('0x24')]=this[_0x45e3('0x14')](),this[_0x45e3('0xf')]||(this[_0x45e3('0x1e')]=this[_0x45e3('0x58')](),this[_0x45e3('0x4d')]=this[_0x45e3('0x4')](),this[_0x45e3('0x3b')]=this[_0x45e3('0x14')](),this['items'][_0x45e3('0x0')]([this['editButton'],this[_0x45e3('0x4d')]]),this['dropdown']=this[_0x45e3('0x2c')](),this[_0x45e3('0x24')][_0x45e3('0xa')](this[_0x45e3('0x17')])),this[_0x45e3('0x5c')]=new _0x155b4b(_0x41b45e,_0x1985a2[_0x45e3('0x23')],this['getUserViewNotificationText']()),this[_0x45e3('0x5c')][_0x45e3('0x1f')]({'attributes':{'class':['ck-comment__user',_0x45e3('0xe')]}}),this[_0x45e3('0x41')](_0x1985a2,_0x45e3('0x5b'),()=>this['cancelConfirm']()),this[_0x45e3('0x3e')](this['getTemplate']());}[_0x45e3('0x52')](){const _0xd35ddd=this[_0x45e3('0x4c')],_0x2ea965=[{'tag':_0x45e3('0xb'),'attributes':{'class':[_0x45e3('0x44'),'ck-annotation__info']},'children':[{'tag':_0x45e3('0x3'),'children':[{'text':this['userView'][_0x45e3('0x59')]}],'attributes':{'class':['ck-comment__info-name',_0x45e3('0x9')]}},{'tag':_0x45e3('0x5'),'attributes':{'datetime':_0xd35ddd['to'](_0x45e3('0x49')),'class':[_0x45e3('0x34'),_0x45e3('0x32')]},'children':[{'text':_0xd35ddd['to'](_0x45e3('0x49'),_0x46b6c2=>this['_config'][_0x45e3('0x53')](_0x46b6c2))}]}]},{'tag':_0x45e3('0xb'),'attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0xd35ddd['if'](_0x45e3('0x20'),_0x45e3('0x2a')),_0xd35ddd['if'](_0x45e3('0x20'),_0x45e3('0x45'))]},'children':this['actionBar']},{'tag':'div','attributes':{'class':[_0x45e3('0x56')]},'children':this[_0x45e3('0x42')]}];return this['_model'][_0x45e3('0x35')]&&_0x2ea965['push']({'tag':_0x45e3('0xb'),'attributes':{'class':[_0x45e3('0x4a')]},'children':[{'text':this[_0x45e3('0x3a')]()}]}),{'tag':'li','attributes':{'class':[_0x45e3('0x3f'),_0xd35ddd['if'](_0x45e3('0x33'),_0x45e3('0x3c'))],'tabindex':-0x1},'children':[{'tag':_0x45e3('0xb'),'attributes':{'class':[_0x45e3('0x26'),_0x45e3('0x12'),_0xd35ddd['if'](_0x45e3('0x20'),'ck-comment--edit'),_0xd35ddd['if'](_0x45e3('0xf'),_0x45e3('0x46')),_0xd35ddd['to'](_0x45e3('0x21'),_0x22ba55=>_0x22ba55?'ck-comment--'+_0x22ba55:'')],'data-author-id':this['_model'][_0x45e3('0x23')]['id'],'data-comment-id':this['_model']['id']},'children':[this[_0x45e3('0x5c')],{'tag':_0x45e3('0xb'),'attributes':{'class':[_0x45e3('0x4b'),_0x45e3('0xd')]},'children':_0x2ea965}]}]};}[_0x45e3('0x58')](){const _0x4bbd49=new _0x4aa073(this[_0x45e3('0x15')]);return _0x4bbd49[_0x45e3('0x1c')]=_0x5cf879(this[_0x45e3('0x15')],_0x45e3('0x6')),_0x4bbd49['icon']=_0xf6ebd7[_0x45e3('0x7')],_0x4bbd49[_0x45e3('0x19')]=!0x0,_0x4bbd49[_0x45e3('0x1f')]({'attributes':{'class':'ck-comment--edit'}}),_0x4bbd49[_0x45e3('0x2b')](_0x45e3('0x5a'))['to'](this[_0x45e3('0x39')],_0x45e3('0x22'),_0x360b97=>!_0x360b97),_0x4bbd49['bind'](_0x45e3('0x48'))['to'](this['_model'],_0x45e3('0x18')),_0x4bbd49['on'](_0x45e3('0x25'),()=>this[_0x45e3('0x36')]()),_0x4bbd49;}[_0x45e3('0x4')](){const _0x1693c9=new _0x4aa073(this['locale']);return _0x1693c9['label']=_0x5cf879(this['locale'],_0x45e3('0x4e')),_0x1693c9[_0x45e3('0x30')]=_0x2aa59f,_0x1693c9[_0x45e3('0x19')]=!0x0,_0x1693c9['extendTemplate']({'attributes':{'class':_0x45e3('0x43')}}),_0x1693c9[_0x45e3('0x2b')](_0x45e3('0x5a'))['to'](this['_model'],_0x45e3('0x22'),_0x5e7409=>!_0x5e7409),_0x1693c9[_0x45e3('0x2b')](_0x45e3('0x48'))['to'](this[_0x45e3('0x39')],_0x45e3('0x16')),_0x1693c9['on'](_0x45e3('0x25'),()=>{this[_0x45e3('0x1a')](_0x5cf879(this[_0x45e3('0x15')],_0x45e3('0x27')),this['element'])['then'](()=>{this['fire'](_0x45e3('0x2'),this[_0x45e3('0x39')]['id']);});}),_0x1693c9;}['_createDropdown'](){const _0x4a782f=_0x391e07(this[_0x45e3('0x15')]),_0x1d6dc6=_0x4a782f[_0x45e3('0x57')][_0x45e3('0x10')],_0x23a8f6=new _0x3f995c(this[_0x45e3('0x15')]),_0x462baa=(_0x25df50,_0x3d3f3a=-0x1)=>{const _0x1af99c=new _0x59ea3e(this[_0x45e3('0x15')]);_0x1af99c[_0x45e3('0x10')][_0x45e3('0xa')](_0x25df50);const _0x694204=_0x3d3f3a>-0x1?_0x3d3f3a:_0x23a8f6[_0x45e3('0x3b')][_0x45e3('0x28')];_0x23a8f6[_0x45e3('0x3b')][_0x45e3('0xa')](_0x1af99c,_0x694204),_0x4a782f[_0x45e3('0x41')](_0x25df50,_0x45e3('0x50'),()=>{_0x4a782f[_0x45e3('0x5a')]=[...this[_0x45e3('0x3b')]][_0x45e3('0x38')](_0x4ca434=>_0x4ca434['isEnabled']);}),_0x4a782f[_0x45e3('0x41')](_0x25df50,'change:isVisible',()=>{_0x4a782f[_0x45e3('0x29')][_0x45e3('0x48')]=[...this['items']]['some'](_0x3e8b22=>_0x3e8b22[_0x45e3('0x48')]);});};_0x4a782f['panelPosition']='sw',_0x4a782f[_0x45e3('0x29')][_0x45e3('0x2d')]({'label':_0x5cf879(this['locale'],_0x45e3('0x37')),'icon':_0xf6ebd7['threeVerticalDots']}),_0x4a782f[_0x45e3('0x5a')]=[...this[_0x45e3('0x3b')]][_0x45e3('0x38')](_0x4dd481=>_0x4dd481[_0x45e3('0x5a')]),_0x4a782f[_0x45e3('0x29')][_0x45e3('0x48')]=[...this[_0x45e3('0x3b')]][_0x45e3('0x38')](_0x364a77=>_0x364a77['isVisible']);for(const _0x389266 of this[_0x45e3('0x3b')])_0x462baa(_0x389266);return _0x1d6dc6[_0x45e3('0xa')](_0x23a8f6),_0x4a782f['listenTo'](this['items'],_0x45e3('0xa'),(_0x5ee105,_0x1ef19a,_0x2c081d)=>{_0x462baa(_0x1ef19a,_0x2c081d);}),_0x4a782f[_0x45e3('0x41')](this[_0x45e3('0x3b')],'remove',(_0x333d3f,_0x3301ad,_0xc26d01)=>{_0x23a8f6[_0x45e3('0x3b')][_0x45e3('0x40')](_0xc26d01);}),_0x4a782f;}[_0x45e3('0x8')](_0x228277,_0x3bcbd6){const _0x13eb75=_0x228277&&_0x228277[_0x45e3('0x1d')];_0x13eb75&&(this[_0x45e3('0x41')](_0x13eb75,'mouseenter',()=>this[_0x45e3('0x21')]=_0x3bcbd6),this[_0x45e3('0x41')](_0x13eb75,_0x45e3('0x54'),()=>this[_0x45e3('0x21')]=_0x3bcbd6),this[_0x45e3('0x41')](_0x13eb75,'mouseleave',()=>this[_0x45e3('0x21')]=null),this[_0x45e3('0x41')](_0x13eb75,_0x45e3('0x2f'),()=>this[_0x45e3('0x21')]=null));}[_0x45e3('0x31')](){const _0x1769de=super[_0x45e3('0x31')]();return _0x1769de[_0x45e3('0x2b')](_0x45e3('0x11'))['to'](this),_0x1769de;}['getExternalCommentNote'](){return _0x45e3('0x2e')===this['_model'][_0x45e3('0x3d')][_0x45e3('0xc')]['source']?_0x5cf879(this[_0x45e3('0x15')],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x5cf879(this[_0x45e3('0x15')],_0x45e3('0x1'));}[_0x45e3('0x1b')](){return this['_model'][_0x45e3('0x35')]?_0x45e3('0x2e')===this[_0x45e3('0x39')][_0x45e3('0x3d')][_0x45e3('0xc')]['source']?_0x5cf879(this['locale'],_0x45e3('0x13'),this[_0x45e3('0x39')]['creator'][_0x45e3('0x59')]):_0x5cf879(this[_0x45e3('0x15')],'EXTERNAL_AVATAR',this[_0x45e3('0x39')][_0x45e3('0x51')]['name']):null;}[_0x45e3('0x55')](){super['render'](),this[_0x45e3('0x8')](this[_0x45e3('0x1e')],_0x45e3('0x4f')),this[_0x45e3('0x8')](this[_0x45e3('0x4d')],_0x45e3('0x40'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3562=['requires','Comments'];(function(_0x4ca981,_0x35627a){var _0x49c01e=function(_0xb47c1d){while(--_0xb47c1d){_0x4ca981['push'](_0x4ca981['shift']());}};_0x49c01e(++_0x35627a);}(_0x3562,0x1a6));var _0x49c0=function(_0x4ca981,_0x35627a){_0x4ca981=_0x4ca981-0x0;var _0x49c01e=_0x3562[_0x4ca981];return _0x49c01e;};import{Plugin as _0x2b3610}from'ckeditor5/src/core';import _0x38dc3b from'./comments/commentsrepository';import _0x4db965 from'./comments/commentsediting';import _0x382997 from'./comments/commentsui';import _0x45cfaa from'./commentsonly';import _0x37e016 from'./annotations/widesidebar';import _0x438498 from'./annotations/narrowsidebar';import _0x22a951 from'./annotations/inlineannotations';import _0x5772b0 from'./comments/commentsarchiveui';import _0x287fb0 from'./comments/commentsarchive';export default class f extends _0x2b3610{static get[_0x49c0('0x0')](){return[_0x38dc3b,_0x4db965,_0x382997,_0x287fb0,_0x5772b0,_0x45cfaa,_0x37e016,_0x438498,_0x22a951];}static get['pluginName'](){return _0x49c0('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f05=['_enableCommentsOnlyMode','set','clearForceDisabled','clipboardInput','stopListening','delete','cut','plugins','config','editor','_disableCommentsOnlyMode','listenTo','get','highest','has','commentsOnly','affectsData','addCommentThread','afterInit','forceDisabled','document','pluginName','isEnabled','commentsOnlyMode','stop','commands','view','editing','DragDrop','change:isEnabled','CommentsOnly'];(function(_0x15560b,_0x1f05d3){const _0x13150c=function(_0xb3518a){while(--_0xb3518a){_0x15560b['push'](_0x15560b['shift']());}};_0x13150c(++_0x1f05d3);}(_0x1f05,0xbd));const _0x1315=function(_0x15560b,_0x1f05d3){_0x15560b=_0x15560b-0x0;let _0x13150c=_0x1f05[_0x15560b];return _0x13150c;};import{Plugin as _0x3aae0d}from'ckeditor5/src/core';import _0x493b36 from'./comments/commentsediting';export default class n extends _0x3aae0d{static get[_0x1315('0x12')](){return _0x1315('0x1b');}static get['requires'](){return[_0x493b36];}constructor(_0x583f22){super(_0x583f22),this[_0x1315('0x1d')](_0x1315('0x13'),!0x1),this['on'](_0x1315('0x1a'),(_0x275500,_0x1ab67a,_0x136971)=>{_0x136971?this[_0x1315('0x1c')]():this[_0x1315('0x7')]();});}[_0x1315('0xf')](){!this[_0x1315('0x13')]&&this['editor'][_0x1315('0x5')]['get'](_0x1315('0xc'))&&(this['isEnabled']=!0x0);}[_0x1315('0x1c')](){for(const [_0x122986,_0x60766c]of this[_0x1315('0x6')][_0x1315('0x16')])_0x60766c['affectsData']&&_0x1315('0xe')!==_0x122986&&_0x60766c[_0x1315('0x10')](_0x1315('0x14'));this[_0x1315('0x6')][_0x1315('0x4')][_0x1315('0xb')]('DragDrop')&&this[_0x1315('0x6')][_0x1315('0x4')][_0x1315('0x9')](_0x1315('0x19'))['forceDisabled'](_0x1315('0x14'));const _0x409726=this[_0x1315('0x6')][_0x1315('0x18')]['view'][_0x1315('0x11')];this['listenTo'](_0x409726,_0x1315('0x3'),_0x17624e=>_0x17624e[_0x1315('0x15')](),{'priority':_0x1315('0xa')}),this[_0x1315('0x8')](_0x409726,_0x1315('0x0'),_0x7befa7=>_0x7befa7[_0x1315('0x15')](),{'priority':'highest'}),this['listenTo'](_0x409726,_0x1315('0x2'),_0x1a8ea8=>_0x1a8ea8[_0x1315('0x15')](),{'priority':_0x1315('0xa')});}[_0x1315('0x7')](){for(const [_0x169abc,_0x391d7d]of this[_0x1315('0x6')]['commands'])_0x391d7d[_0x1315('0xd')]&&_0x1315('0xe')!==_0x169abc&&_0x391d7d[_0x1315('0x1e')]('commentsOnlyMode');this[_0x1315('0x1')](this[_0x1315('0x6')][_0x1315('0x18')][_0x1315('0x17')][_0x1315('0x11')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x5b46df,_0x52c511,_0xc3fbea){const t=_0x5b46df['t'];switch(_0x52c511){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'},_0xc3fbea);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'},_0xc3fbea);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'},_0xc3fbea);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'},_0xc3fbea);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 _0x4a83=['cancel','childList','attributeName','characterData','type','attributes','disconnect'];(function(_0x44a8ff,_0x4a8396){const _0x45537e=function(_0x5bcfbb){while(--_0x5bcfbb){_0x44a8ff['push'](_0x44a8ff['shift']());}};_0x45537e(++_0x4a8396);}(_0x4a83,0x184));const _0x4553=function(_0x44a8ff,_0x4a8396){_0x44a8ff=_0x44a8ff-0x0;let _0x45537e=_0x4a83[_0x44a8ff];return _0x45537e;};import{throttle as _0x3d61e7}from'lodash-es';export default function Dt(_0x302326){const _0x74ae6=_0x3d61e7(_0x302326,0x1e),_0x418316=new MutationObserver(_0x5340b7=>{for(const _0x4d0777 of _0x5340b7)(_0x4553('0x2')==_0x4d0777[_0x4553('0x1')]&&'class'==_0x4d0777[_0x4553('0x6')]||_0x4553('0x5')==_0x4d0777[_0x4553('0x1')]||_0x4553('0x0')==_0x4d0777[_0x4553('0x1')])&&_0x74ae6();});return{'attach'(_0x41f834){_0x418316['observe'](_0x41f834,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x418316[_0x4553('0x3')](),_0x74ae6[_0x4553('0x4')]();}};}
|