@ckeditor/ckeditor5-comments 0.0.0-nightly-20231029.0 → 0.0.0-nightly-20231031.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 _0x33ed=['editButton','focus','ck-comment--remove-confirmation','getTemplate','@external','children','ck-comment__info-name','ck-comment','getExternalCommentNote','div','fire','pencil','setTemplate','ck-comment__external','extendTemplate','span','buttonView','isConfirm','threeVerticalDots','isReadOnly','Remove','removeButton','Edit','remove','source','_config','panelView','switchToEditMode','ck-annotation','locale','creator','add','ck-comment__actions--hidden','ck-annotation__info-name','withText','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__wrapper','_attachActions','label','author','ck-comment__info-time','ck-annotation__actions','name','visibleView','ck-comment__user','userView','listenTo','ck-annotation__info-time','createCollection','isExternal','ck-annotation__info','_model','_createCommentInputView','icon','_createRemoveButton','ck-comment__main','showConfirm','actionIndicator','items','element','set','dropdown','placeholder','ck-comment__actions','ck-comment--edit','actionBar','some','edit','ck-comment--','isEditMode','authoredAt','isVisible','isRemovable','execute','ck-annotation__content-wrapper','EXTERNAL_COMMENT','isEnabled','Show\x20more\x20items','time','EXTERNAL_IMPORT_WORD_AVATAR','isSystemComment','Reply...','change:isEnabled','_createDropdown','ck-comment__info','change:isVisible','ck-annotation__user','bind','blur','importWord','attributes','mouseenter','ck-annotation__main','formatDateTime','resolvedAt','mouseleave'];(function(_0x33b293,_0x33ed52){const _0x1998e4=function(_0x133c95){while(--_0x133c95){_0x33b293['push'](_0x33b293['shift']());}};_0x1998e4(++_0x33ed52);}(_0x33ed,0x13d));const _0x1998=function(_0x33b293,_0x33ed52){_0x33b293=_0x33b293-0x0;let _0x1998e4=_0x33ed[_0x33b293];return _0x1998e4;};import{ButtonView as _0x3e7410,createDropdown as _0x38841c,ListView as _0x55d384,ListItemView as _0x4268c8}from'ckeditor5/src/ui';import{icons as _0x51b2d0}from'ckeditor5/src/core';import{UserView as _0x53afc8,ConfirmMixin as _0x7a7491}from'ckeditor5-collaboration/src/collaboration-core';import _0xcfcd1 from'./basecommentview';import _0x4cb233 from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x7cc4d4}from'../../../utils/common-translations';export default class ut extends _0x7a7491(_0xcfcd1){constructor(_0x111598,_0x391270,_0x1b3c12){super(_0x111598,_0x391270,_0x1b3c12),this[_0x1998('0x1f')](_0x1998('0x1c'),null),this[_0x1998('0x1f')]('placeholder',_0x7cc4d4(_0x111598,_0x1998('0x34'))),this[_0x1998('0x3a')](_0x1998('0x29'))['to'](_0x391270),this[_0x1998('0x3a')](_0x1998('0x41'))['to'](_0x391270),this['actionBar']=this[_0x1998('0x13')](),this[_0x1998('0x33')]||(this[_0x1998('0x43')]=this['_createEditButton'](),this[_0x1998('0x58')]=this[_0x1998('0x19')](),this[_0x1998('0x1d')]=this[_0x1998('0x13')](),this[_0x1998('0x1d')]['addMany']([this[_0x1998('0x43')],this['removeButton']]),this['dropdown']=this[_0x1998('0x36')](),this[_0x1998('0x24')][_0x1998('0x2')](this[_0x1998('0x20')])),this[_0x1998('0x10')]=new _0x53afc8(_0x111598,_0x391270[_0x1998('0xa')],this['getUserViewNotificationText']()),this['userView'][_0x1998('0x51')]({'attributes':{'class':[_0x1998('0xf'),_0x1998('0x39')]}}),this[_0x1998('0x11')](_0x391270,'change:isRemovable',()=>this['cancelConfirm']()),this[_0x1998('0x4f')](this[_0x1998('0x46')]());}[_0x1998('0x46')](){const _0x1fdad7=this['bindTemplate'],_0x7a8d93=[{'tag':'div','attributes':{'class':[_0x1998('0x37'),_0x1998('0x15')]},'children':[{'tag':_0x1998('0x52'),'children':[{'text':this[_0x1998('0x10')][_0x1998('0xd')]}],'attributes':{'class':[_0x1998('0x49'),_0x1998('0x4')]}},{'tag':_0x1998('0x31'),'attributes':{'datetime':_0x1fdad7['to']('authoredAt'),'class':[_0x1998('0xb'),_0x1998('0x12')]},'children':[{'text':_0x1fdad7['to'](_0x1998('0x29'),_0x5e3c29=>this[_0x1998('0x5c')][_0x1998('0x40')](_0x5e3c29))}]}]},{'tag':'div','attributes':{'class':[_0x1998('0x22'),_0x1998('0xc'),_0x1fdad7['if'](_0x1998('0x28'),_0x1998('0x3')),_0x1fdad7['if'](_0x1998('0x28'),'ck-annotation__actions--hidden')]},'children':this[_0x1998('0x24')]},{'tag':_0x1998('0x4c'),'attributes':{'class':[_0x1998('0x2d')]},'children':this[_0x1998('0xe')]}];return this[_0x1998('0x16')][_0x1998('0x14')]&&_0x7a8d93['push']({'tag':_0x1998('0x4c'),'attributes':{'class':[_0x1998('0x50')]},'children':[{'text':this[_0x1998('0x4b')]()}]}),{'tag':'li','attributes':{'class':[_0x1998('0x7'),_0x1fdad7['if'](_0x1998('0x54'),_0x1998('0x45'))],'tabindex':-0x1},'children':[{'tag':_0x1998('0x4c'),'attributes':{'class':[_0x1998('0x4a'),_0x1998('0x5f'),_0x1fdad7['if'](_0x1998('0x28'),_0x1998('0x23')),_0x1fdad7['if'](_0x1998('0x33'),'ck-comment--info'),_0x1fdad7['to'](_0x1998('0x1c'),_0xe9e448=>_0xe9e448?_0x1998('0x27')+_0xe9e448:'')],'data-author-id':this['_model'][_0x1998('0xa')]['id'],'data-comment-id':this[_0x1998('0x16')]['id']},'children':[this[_0x1998('0x10')],{'tag':_0x1998('0x4c'),'attributes':{'class':[_0x1998('0x1a'),_0x1998('0x3f')]},'children':_0x7a8d93}]}]};}['_createEditButton'](){const _0x56c6cc=new _0x3e7410(this[_0x1998('0x0')]);return _0x56c6cc[_0x1998('0x9')]=_0x7cc4d4(this[_0x1998('0x0')],_0x1998('0x59')),_0x56c6cc['icon']=_0x51b2d0[_0x1998('0x4e')],_0x56c6cc[_0x1998('0x5')]=!0x0,_0x56c6cc[_0x1998('0x51')]({'attributes':{'class':_0x1998('0x23')}}),_0x56c6cc[_0x1998('0x3a')]('isEnabled')['to'](this[_0x1998('0x16')],_0x1998('0x56'),_0x208080=>!_0x208080),_0x56c6cc[_0x1998('0x3a')](_0x1998('0x2a'))['to'](this[_0x1998('0x16')],'isEditable'),_0x56c6cc['on'](_0x1998('0x2c'),()=>this[_0x1998('0x5e')]()),_0x56c6cc;}['_createRemoveButton'](){const _0x443d7d=new _0x3e7410(this['locale']);return _0x443d7d[_0x1998('0x9')]=_0x7cc4d4(this[_0x1998('0x0')],_0x1998('0x57')),_0x443d7d[_0x1998('0x18')]=_0x4cb233,_0x443d7d[_0x1998('0x5')]=!0x0,_0x443d7d[_0x1998('0x51')]({'attributes':{'class':'ck-comment--remove'}}),_0x443d7d[_0x1998('0x3a')]('isEnabled')['to'](this[_0x1998('0x16')],_0x1998('0x56'),_0x5a6f2b=>!_0x5a6f2b),_0x443d7d[_0x1998('0x3a')]('isVisible')['to'](this[_0x1998('0x16')],_0x1998('0x2b')),_0x443d7d['on'](_0x1998('0x2c'),()=>{this[_0x1998('0x1b')](_0x7cc4d4(this['locale'],'Delete\x20comment?'),this[_0x1998('0x1e')])['then'](()=>{this[_0x1998('0x4d')]('removeComment',this[_0x1998('0x16')]['id']);});}),_0x443d7d;}[_0x1998('0x36')](){const _0x2c877c=_0x38841c(this[_0x1998('0x0')]),_0x5cfd63=_0x2c877c[_0x1998('0x5d')][_0x1998('0x48')],_0x38d91c=new _0x55d384(this[_0x1998('0x0')]),_0x101d82=(_0x46fd7d,_0x256d17=-0x1)=>{const _0x2f1ee5=new _0x4268c8(this[_0x1998('0x0')]);_0x2f1ee5[_0x1998('0x48')]['add'](_0x46fd7d);const _0x2745ee=_0x256d17>-0x1?_0x256d17:_0x38d91c[_0x1998('0x1d')]['length'];_0x38d91c['items']['add'](_0x2f1ee5,_0x2745ee),_0x2c877c[_0x1998('0x11')](_0x46fd7d,_0x1998('0x35'),()=>{_0x2c877c[_0x1998('0x2f')]=[...this[_0x1998('0x1d')]][_0x1998('0x25')](_0x482a1a=>_0x482a1a[_0x1998('0x2f')]);}),_0x2c877c[_0x1998('0x11')](_0x46fd7d,_0x1998('0x38'),()=>{_0x2c877c[_0x1998('0x53')][_0x1998('0x2a')]=[...this[_0x1998('0x1d')]]['some'](_0x6fa1b9=>_0x6fa1b9[_0x1998('0x2a')]);});};_0x2c877c['panelPosition']='sw',_0x2c877c[_0x1998('0x53')]['set']({'label':_0x7cc4d4(this[_0x1998('0x0')],_0x1998('0x30')),'icon':_0x51b2d0[_0x1998('0x55')]}),_0x2c877c[_0x1998('0x2f')]=[...this[_0x1998('0x1d')]][_0x1998('0x25')](_0x75fd61=>_0x75fd61[_0x1998('0x2f')]),_0x2c877c[_0x1998('0x53')][_0x1998('0x2a')]=[...this[_0x1998('0x1d')]]['some'](_0x43b509=>_0x43b509[_0x1998('0x2a')]);for(const _0x27a2d9 of this[_0x1998('0x1d')])_0x101d82(_0x27a2d9);return _0x5cfd63[_0x1998('0x2')](_0x38d91c),_0x2c877c['listenTo'](this['items'],_0x1998('0x2'),(_0xc1cc95,_0x56e6c4,_0x58fc90)=>{_0x101d82(_0x56e6c4,_0x58fc90);}),_0x2c877c[_0x1998('0x11')](this[_0x1998('0x1d')],'remove',(_0xc17ec4,_0x5dfd33,_0x54090d)=>{_0x38d91c[_0x1998('0x1d')][_0x1998('0x5a')](_0x54090d);}),_0x2c877c;}[_0x1998('0x8')](_0x23adc3,_0x43e591){const _0x24b624=_0x23adc3&&_0x23adc3[_0x1998('0x1e')];_0x24b624&&(this[_0x1998('0x11')](_0x24b624,_0x1998('0x3e'),()=>this['actionIndicator']=_0x43e591),this[_0x1998('0x11')](_0x24b624,_0x1998('0x44'),()=>this[_0x1998('0x1c')]=_0x43e591),this[_0x1998('0x11')](_0x24b624,_0x1998('0x42'),()=>this[_0x1998('0x1c')]=null),this[_0x1998('0x11')](_0x24b624,_0x1998('0x3b'),()=>this[_0x1998('0x1c')]=null));}[_0x1998('0x17')](){const _0x450802=super[_0x1998('0x17')]();return _0x450802[_0x1998('0x3a')](_0x1998('0x21'))['to'](this),_0x450802;}['getExternalCommentNote'](){return'importWord'===this['_model'][_0x1998('0x3d')][_0x1998('0x47')]['source']?_0x7cc4d4(this[_0x1998('0x0')],_0x1998('0x6')):_0x7cc4d4(this[_0x1998('0x0')],_0x1998('0x2e'));}['getUserViewNotificationText'](){return this[_0x1998('0x16')]['isExternal']?_0x1998('0x3c')===this[_0x1998('0x16')][_0x1998('0x3d')][_0x1998('0x47')][_0x1998('0x5b')]?_0x7cc4d4(this['locale'],_0x1998('0x32'),this[_0x1998('0x16')][_0x1998('0x1')]['name']):_0x7cc4d4(this[_0x1998('0x0')],'EXTERNAL_AVATAR',this[_0x1998('0x16')]['creator']['name']):null;}['render'](){super['render'](),this[_0x1998('0x8')](this['editButton'],_0x1998('0x26')),this[_0x1998('0x8')](this[_0x1998('0x58')],_0x1998('0x5a'));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x484b=['Comments','requires','pluginName'];(function(_0x42a396,_0x484b37){var _0x303e2b=function(_0x3c3b73){while(--_0x3c3b73){_0x42a396['push'](_0x42a396['shift']());}};_0x303e2b(++_0x484b37);}(_0x484b,0x17c));var _0x303e=function(_0x42a396,_0x484b37){_0x42a396=_0x42a396-0x0;var _0x303e2b=_0x484b[_0x42a396];return _0x303e2b;};import{Plugin as _0x2a6d9e}from'ckeditor5/src/core';import _0x491e6a from'./comments/commentsrepository';import _0x11049c from'./comments/commentsediting';import _0x45e4f1 from'./comments/commentsui';import _0x3cc249 from'./commentsonly';import _0x33fb2d from'./annotations/widesidebar';import _0x5d847d from'./annotations/narrowsidebar';import _0x329a3f from'./annotations/inlineannotations';import _0x49c9da from'./comments/commentsarchiveui';import _0x5de822 from'./comments/commentsarchive';export default class f extends _0x2a6d9e{static get[_0x303e('0x2')](){return[_0x491e6a,_0x11049c,_0x45e4f1,_0x5de822,_0x49c9da,_0x3cc249,_0x33fb2d,_0x5d847d,_0x329a3f];}static get[_0x303e('0x0')](){return _0x303e('0x1');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3105=['listenTo','change:isEnabled','document','delete','config','forceDisabled','editing','CommentsOnly','afterInit','has','requires','commentsOnlyMode','commentsOnly','editor','highest','clearForceDisabled','view','plugins','isEnabled','DragDrop','clipboardInput','_disableCommentsOnlyMode','set','_enableCommentsOnlyMode','get','commands','stop','cut','addCommentThread','stopListening'];(function(_0x384542,_0x310590){const _0x46284e=function(_0x1fc81d){while(--_0x1fc81d){_0x384542['push'](_0x384542['shift']());}};_0x46284e(++_0x310590);}(_0x3105,0x150));const _0x4628=function(_0x384542,_0x310590){_0x384542=_0x384542-0x0;let _0x46284e=_0x3105[_0x384542];return _0x46284e;};import{Plugin as _0x4d2514}from'ckeditor5/src/core';import _0x53106b from'./comments/commentsediting';export default class n extends _0x4d2514{static get['pluginName'](){return _0x4628('0x1');}static get[_0x4628('0x4')](){return[_0x53106b];}constructor(_0x315c13){super(_0x315c13),this[_0x4628('0x10')]('isEnabled',!0x1),this['on'](_0x4628('0x19'),(_0x336685,_0x3f89d8,_0x425d2c)=>{_0x425d2c?this['_enableCommentsOnlyMode']():this[_0x4628('0xf')]();});}[_0x4628('0x2')](){!this['isEnabled']&&this[_0x4628('0x7')][_0x4628('0x1c')][_0x4628('0x12')](_0x4628('0x6'))&&(this[_0x4628('0xc')]=!0x0);}[_0x4628('0x11')](){for(const [_0x134f28,_0x2fc76f]of this[_0x4628('0x7')]['commands'])_0x2fc76f['affectsData']&&'addCommentThread'!==_0x134f28&&_0x2fc76f[_0x4628('0x1d')]('commentsOnlyMode');this[_0x4628('0x7')]['plugins'][_0x4628('0x3')](_0x4628('0xd'))&&this[_0x4628('0x7')][_0x4628('0xb')][_0x4628('0x12')](_0x4628('0xd'))['forceDisabled'](_0x4628('0x5'));const _0x1a5cc9=this[_0x4628('0x7')][_0x4628('0x0')][_0x4628('0xa')][_0x4628('0x1a')];this[_0x4628('0x18')](_0x1a5cc9,_0x4628('0x15'),_0x540007=>_0x540007[_0x4628('0x14')](),{'priority':_0x4628('0x8')}),this['listenTo'](_0x1a5cc9,_0x4628('0xe'),_0x471942=>_0x471942['stop'](),{'priority':_0x4628('0x8')}),this['listenTo'](_0x1a5cc9,_0x4628('0x1b'),_0x4c1397=>_0x4c1397[_0x4628('0x14')](),{'priority':_0x4628('0x8')});}[_0x4628('0xf')](){for(const [_0x11601a,_0x2bc9be]of this['editor'][_0x4628('0x13')])_0x2bc9be['affectsData']&&_0x4628('0x16')!==_0x11601a&&_0x2bc9be[_0x4628('0x9')]('commentsOnlyMode');this[_0x4628('0x17')](this['editor'][_0x4628('0x0')][_0x4628('0xa')][_0x4628('0x1a')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1c3189,_0x567ac5,_0xe35d93){const t=_0x1c3189['t'];switch(_0x567ac5){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'},_0xe35d93);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'},_0xe35d93);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'},_0xe35d93);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'},_0xe35d93);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 _0x4d29=['characterData','cancel','type','childList','attributes','class'];(function(_0x4231e7,_0x4d29e7){const _0x4682c6=function(_0x422263){while(--_0x422263){_0x4231e7['push'](_0x4231e7['shift']());}};_0x4682c6(++_0x4d29e7);}(_0x4d29,0x17a));const _0x4682=function(_0x4231e7,_0x4d29e7){_0x4231e7=_0x4231e7-0x0;let _0x4682c6=_0x4d29[_0x4231e7];return _0x4682c6;};import{throttle as _0x552db6}from'lodash-es';export default function Dt(_0x3db93a){const _0x7e752d=_0x552db6(_0x3db93a,0x1e),_0x5d602f=new MutationObserver(_0x472d96=>{for(const _0x3bf9bc of _0x472d96)(_0x4682('0x4')==_0x3bf9bc[_0x4682('0x2')]&&_0x4682('0x5')==_0x3bf9bc['attributeName']||_0x4682('0x3')==_0x3bf9bc[_0x4682('0x2')]||_0x4682('0x0')==_0x3bf9bc[_0x4682('0x2')])&&_0x7e752d();});return{'attach'(_0x4779b5){_0x5d602f['observe'](_0x4779b5,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x5d602f['disconnect'](),_0x7e752d[_0x4682('0x1')]();}};}
|