@ckeditor/ckeditor5-comments 0.0.0-nightly-20231212.0 → 0.0.0-nightly-20231214.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.d.ts +1 -0
- 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 _0x83a9=['ck-annotation__info','extendTemplate','getUserViewNotificationText','@external','ck-annotation__info-name','actionIndicator','isSystemComment','ck-comment--remove-confirmation','threeVerticalDots','bindTemplate','_model','ck-annotation','ck-comment--edit','isVisible','change:isRemovable','_config','children','render','isEnabled','ck-comment__user','listenTo','isRemovable','element','attributes','label','ck-annotation__content-wrapper','creator','blur','items','isEditable','ck-comment__main','removeButton','change:isEnabled','isConfirm','visibleView','_createCommentInputView','Reply...','push','withText','div','pencil','ck-comment','set','Delete\x20comment?','_createRemoveButton','Edit','actionBar','authoredAt','ck-comment--','some','createCollection','importWord','edit','resolvedAt','ck-comment--info','isEditMode','cancelConfirm','source','buttonView','_attachActions','ck-comment__info-name','mouseenter','ck-annotation__main','ck-comment__info','locale','dropdown','ck-comment__actions','icon','name','length','removeComment','bind','Show\x20more\x20items','focus','ck-comment__external','_createDropdown','author','isReadOnly','ck-comment--remove','placeholder','_createEditButton','EXTERNAL_IMPORT_WORD_AVATAR','execute','isExternal','getTemplate','userView','add','span','switchToEditMode','ck-annotation__info-time','mouseleave','ck-annotation__user','formatDateTime','getExternalCommentNote','panelView','editButton'];(function(_0x477b25,_0x83a9a9){const _0xb2623e=function(_0x358c1a){while(--_0x358c1a){_0x477b25['push'](_0x477b25['shift']());}};_0xb2623e(++_0x83a9a9);}(_0x83a9,0x190));const _0xb262=function(_0x477b25,_0x83a9a9){_0x477b25=_0x477b25-0x0;let _0xb2623e=_0x83a9[_0x477b25];return _0xb2623e;};import{ButtonView as _0x39df6f,createDropdown as _0xb31a49,ListView as _0x46557f,ListItemView as _0x284786}from'ckeditor5/src/ui';import{icons as _0x43a15d}from'ckeditor5/src/core';import{UserView as _0x5959bf,ConfirmMixin as _0x1ff770}from'ckeditor5-collaboration/src/collaboration-core';import _0x5651dc from'./basecommentview';import _0x53704c from'../../../../theme/icons/remove-comment.svg';import{getTranslation as _0x3fa931}from'../../../utils/common-translations';export default class pt extends _0x1ff770(_0x5651dc){constructor(_0x56bde4,_0x4db560,_0x7db79f){super(_0x56bde4,_0x4db560,_0x7db79f),this['set'](_0xb262('0x55'),null),this[_0xb262('0x1a')](_0xb262('0x3f'),_0x3fa931(_0x56bde4,_0xb262('0x14'))),this[_0xb262('0x37')](_0xb262('0x1f'))['to'](_0x4db560),this['bind'](_0xb262('0x25'))['to'](_0x4db560),this[_0xb262('0x1e')]=this['createCollection'](),this[_0xb262('0x56')]||(this['editButton']=this[_0xb262('0x40')](),this[_0xb262('0xf')]=this[_0xb262('0x1c')](),this[_0xb262('0xc')]=this[_0xb262('0x22')](),this[_0xb262('0xc')]['addMany']([this[_0xb262('0x4f')],this['removeButton']]),this[_0xb262('0x31')]=this[_0xb262('0x3b')](),this[_0xb262('0x1e')][_0xb262('0x46')](this['dropdown'])),this[_0xb262('0x45')]=new _0x5959bf(_0x56bde4,_0x4db560['author'],this['getUserViewNotificationText']()),this[_0xb262('0x45')][_0xb262('0x51')]({'attributes':{'class':[_0xb262('0x3'),_0xb262('0x4b')]}}),this[_0xb262('0x4')](_0x4db560,_0xb262('0x5e'),()=>this[_0xb262('0x28')]()),this['setTemplate'](this[_0xb262('0x44')]());}['getTemplate'](){const _0x24b5bf=this[_0xb262('0x59')],_0x2166ee=[{'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0x2f'),_0xb262('0x50')]},'children':[{'tag':_0xb262('0x47'),'children':[{'text':this[_0xb262('0x45')][_0xb262('0x34')]}],'attributes':{'class':[_0xb262('0x2c'),_0xb262('0x54')]}},{'tag':'time','attributes':{'datetime':_0x24b5bf['to'](_0xb262('0x1f')),'class':['ck-comment__info-time',_0xb262('0x49')]},'children':[{'text':_0x24b5bf['to']('authoredAt',_0x1aaae0=>this[_0xb262('0x5f')][_0xb262('0x4c')](_0x1aaae0))}]}]},{'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0x32'),'ck-annotation__actions',_0x24b5bf['if'](_0xb262('0x27'),'ck-comment__actions--hidden'),_0x24b5bf['if']('isEditMode','ck-annotation__actions--hidden')]},'children':this[_0xb262('0x1e')]},{'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0x9')]},'children':this[_0xb262('0x12')]}];return this[_0xb262('0x5a')][_0xb262('0x43')]&&_0x2166ee[_0xb262('0x15')]({'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0x3a')]},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper',_0x24b5bf['if'](_0xb262('0x11'),_0xb262('0x57'))],'tabindex':-0x1},'children':[{'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0x19'),_0xb262('0x5b'),_0x24b5bf['if'](_0xb262('0x27'),_0xb262('0x5c')),_0x24b5bf['if']('isSystemComment',_0xb262('0x26')),_0x24b5bf['to'](_0xb262('0x55'),_0x37b2a2=>_0x37b2a2?_0xb262('0x20')+_0x37b2a2:'')],'data-author-id':this['_model'][_0xb262('0x3c')]['id'],'data-comment-id':this[_0xb262('0x5a')]['id']},'children':[this[_0xb262('0x45')],{'tag':_0xb262('0x17'),'attributes':{'class':[_0xb262('0xe'),_0xb262('0x2e')]},'children':_0x2166ee}]}]};}[_0xb262('0x40')](){const _0x447bb7=new _0x39df6f(this[_0xb262('0x30')]);return _0x447bb7[_0xb262('0x8')]=_0x3fa931(this['locale'],_0xb262('0x1d')),_0x447bb7[_0xb262('0x33')]=_0x43a15d[_0xb262('0x18')],_0x447bb7[_0xb262('0x16')]=!0x0,_0x447bb7[_0xb262('0x51')]({'attributes':{'class':_0xb262('0x5c')}}),_0x447bb7['bind'](_0xb262('0x2'))['to'](this[_0xb262('0x5a')],_0xb262('0x3d'),_0x180b03=>!_0x180b03),_0x447bb7[_0xb262('0x37')](_0xb262('0x5d'))['to'](this[_0xb262('0x5a')],_0xb262('0xd')),_0x447bb7['on']('execute',()=>this[_0xb262('0x48')]()),_0x447bb7;}[_0xb262('0x1c')](){const _0x47a5ec=new _0x39df6f(this[_0xb262('0x30')]);return _0x47a5ec[_0xb262('0x8')]=_0x3fa931(this[_0xb262('0x30')],'Remove'),_0x47a5ec[_0xb262('0x33')]=_0x53704c,_0x47a5ec['withText']=!0x0,_0x47a5ec[_0xb262('0x51')]({'attributes':{'class':_0xb262('0x3e')}}),_0x47a5ec[_0xb262('0x37')]('isEnabled')['to'](this[_0xb262('0x5a')],_0xb262('0x3d'),_0x525488=>!_0x525488),_0x47a5ec['bind']('isVisible')['to'](this[_0xb262('0x5a')],_0xb262('0x5')),_0x47a5ec['on'](_0xb262('0x42'),()=>{this['showConfirm'](_0x3fa931(this['locale'],_0xb262('0x1b')),this[_0xb262('0x6')])['then'](()=>{this['fire'](_0xb262('0x36'),this[_0xb262('0x5a')]['id']);});}),_0x47a5ec;}[_0xb262('0x3b')](){const _0x271a9d=_0xb31a49(this[_0xb262('0x30')]),_0x4c4119=_0x271a9d[_0xb262('0x4e')]['children'],_0x1ff68e=new _0x46557f(this[_0xb262('0x30')]),_0x3ba4f0=(_0x276efd,_0x10c0b0=-0x1)=>{const _0x1d3fcc=new _0x284786(this[_0xb262('0x30')]);_0x1d3fcc[_0xb262('0x0')][_0xb262('0x46')](_0x276efd);const _0x2e609e=_0x10c0b0>-0x1?_0x10c0b0:_0x1ff68e[_0xb262('0xc')][_0xb262('0x35')];_0x1ff68e[_0xb262('0xc')][_0xb262('0x46')](_0x1d3fcc,_0x2e609e),_0x271a9d[_0xb262('0x4')](_0x276efd,_0xb262('0x10'),()=>{_0x271a9d['isEnabled']=[...this[_0xb262('0xc')]][_0xb262('0x21')](_0x44665e=>_0x44665e['isEnabled']);}),_0x271a9d['listenTo'](_0x276efd,'change:isVisible',()=>{_0x271a9d[_0xb262('0x2a')][_0xb262('0x5d')]=[...this[_0xb262('0xc')]][_0xb262('0x21')](_0x186534=>_0x186534[_0xb262('0x5d')]);});};_0x271a9d['panelPosition']='sw',_0x271a9d[_0xb262('0x2a')][_0xb262('0x1a')]({'label':_0x3fa931(this[_0xb262('0x30')],_0xb262('0x38')),'icon':_0x43a15d[_0xb262('0x58')]}),_0x271a9d['isEnabled']=[...this[_0xb262('0xc')]][_0xb262('0x21')](_0xb563a8=>_0xb563a8[_0xb262('0x2')]),_0x271a9d['buttonView']['isVisible']=[...this[_0xb262('0xc')]]['some'](_0x4cb7f4=>_0x4cb7f4[_0xb262('0x5d')]);for(const _0x22259b of this[_0xb262('0xc')])_0x3ba4f0(_0x22259b);return _0x4c4119[_0xb262('0x46')](_0x1ff68e),_0x271a9d[_0xb262('0x4')](this[_0xb262('0xc')],'add',(_0x2ee6b3,_0x33cbf3,_0x3847ac)=>{_0x3ba4f0(_0x33cbf3,_0x3847ac);}),_0x271a9d[_0xb262('0x4')](this[_0xb262('0xc')],'remove',(_0x2007e0,_0x28c1a0,_0xec5a61)=>{_0x1ff68e[_0xb262('0xc')]['remove'](_0xec5a61);}),_0x271a9d;}[_0xb262('0x2b')](_0x3f05c9,_0x2fed82){const _0x231975=_0x3f05c9&&_0x3f05c9[_0xb262('0x6')];_0x231975&&(this[_0xb262('0x4')](_0x231975,_0xb262('0x2d'),()=>this[_0xb262('0x55')]=_0x2fed82),this[_0xb262('0x4')](_0x231975,_0xb262('0x39'),()=>this['actionIndicator']=_0x2fed82),this['listenTo'](_0x231975,_0xb262('0x4a'),()=>this['actionIndicator']=null),this[_0xb262('0x4')](_0x231975,_0xb262('0xb'),()=>this['actionIndicator']=null));}[_0xb262('0x13')](){const _0xedd2c8=super[_0xb262('0x13')]();return _0xedd2c8[_0xb262('0x37')](_0xb262('0x3f'))['to'](this),_0xedd2c8;}[_0xb262('0x4d')](){return _0xb262('0x23')===this[_0xb262('0x5a')][_0xb262('0x7')][_0xb262('0x53')][_0xb262('0x29')]?_0x3fa931(this[_0xb262('0x30')],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x3fa931(this[_0xb262('0x30')],'EXTERNAL_COMMENT');}[_0xb262('0x52')](){return this[_0xb262('0x5a')][_0xb262('0x43')]?_0xb262('0x23')===this['_model'][_0xb262('0x7')][_0xb262('0x53')][_0xb262('0x29')]?_0x3fa931(this['locale'],_0xb262('0x41'),this['_model'][_0xb262('0xa')][_0xb262('0x34')]):_0x3fa931(this[_0xb262('0x30')],'EXTERNAL_AVATAR',this[_0xb262('0x5a')]['creator'][_0xb262('0x34')]):null;}['render'](){super[_0xb262('0x1')](),this[_0xb262('0x2b')](this[_0xb262('0x4f')],_0xb262('0x24')),this[_0xb262('0x2b')](this[_0xb262('0xf')],'remove');}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1261=['pluginName','Comments','requires'];(function(_0x5bb480,_0x126173){var _0x1ff0e4=function(_0x184cb9){while(--_0x184cb9){_0x5bb480['push'](_0x5bb480['shift']());}};_0x1ff0e4(++_0x126173);}(_0x1261,0x1e5));var _0x1ff0=function(_0x5bb480,_0x126173){_0x5bb480=_0x5bb480-0x0;var _0x1ff0e4=_0x1261[_0x5bb480];return _0x1ff0e4;};import{Plugin as _0x115063}from'ckeditor5/src/core';import _0x264191 from'./comments/commentsrepository';import _0x4d71b0 from'./comments/commentsediting';import _0x14994c from'./comments/commentsui';import _0xb2d134 from'./commentsonly';import _0x4b274f from'./annotations/widesidebar';import _0xca1a8c from'./annotations/narrowsidebar';import _0x361af9 from'./annotations/inlineannotations';import _0x516456 from'./comments/commentsarchiveui';import _0x20d8c1 from'./comments/commentsarchive';export default class f extends _0x115063{static get[_0x1ff0('0x0')](){return[_0x264191,_0x4d71b0,_0x14994c,_0x20d8c1,_0x516456,_0xb2d134,_0x4b274f,_0xca1a8c,_0x361af9];}static get[_0x1ff0('0x1')](){return _0x1ff0('0x2');}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e13=['_disableCommentsOnlyMode','commands','addCommentThread','pluginName','cut','has','affectsData','isEnabled','delete','listenTo','commentsOnlyMode','clipboardInput','highest','_enableCommentsOnlyMode','DragDrop','forceDisabled','document','CommentsOnly','editing','plugins','stop','editor','view','stopListening','commentsOnly','config','change:isEnabled','get','clearForceDisabled','afterInit'];(function(_0x976546,_0x4e134e){const _0x4747aa=function(_0x584ae4){while(--_0x584ae4){_0x976546['push'](_0x976546['shift']());}};_0x4747aa(++_0x4e134e);}(_0x4e13,0x8b));const _0x4747=function(_0x976546,_0x4e134e){_0x976546=_0x976546-0x0;let _0x4747aa=_0x4e13[_0x976546];return _0x4747aa;};import{Plugin as _0x48d114}from'ckeditor5/src/core';import _0xaf6db1 from'./comments/commentsediting';export default class n extends _0x48d114{static get[_0x4747('0xe')](){return _0x4747('0x1c');}static get['requires'](){return[_0xaf6db1];}constructor(_0x1c83c1){super(_0x1c83c1),this['set']('isEnabled',!0x1),this['on'](_0x4747('0x7'),(_0xed8d9c,_0xbe0d4e,_0x584e9f)=>{_0x584e9f?this['_enableCommentsOnlyMode']():this[_0x4747('0xb')]();});}[_0x4747('0xa')](){!this['isEnabled']&&this[_0x4747('0x2')][_0x4747('0x6')]['get'](_0x4747('0x5'))&&(this[_0x4747('0x12')]=!0x0);}[_0x4747('0x18')](){for(const [_0x6180f0,_0x45074b]of this[_0x4747('0x2')][_0x4747('0xc')])_0x45074b[_0x4747('0x11')]&&_0x4747('0xd')!==_0x6180f0&&_0x45074b[_0x4747('0x1a')]('commentsOnlyMode');this[_0x4747('0x2')][_0x4747('0x0')][_0x4747('0x10')](_0x4747('0x19'))&&this[_0x4747('0x2')][_0x4747('0x0')][_0x4747('0x8')]('DragDrop')[_0x4747('0x1a')]('commentsOnlyMode');const _0x105897=this[_0x4747('0x2')][_0x4747('0x1d')]['view'][_0x4747('0x1b')];this['listenTo'](_0x105897,_0x4747('0xf'),_0x4e67a6=>_0x4e67a6[_0x4747('0x1')](),{'priority':_0x4747('0x17')}),this[_0x4747('0x14')](_0x105897,_0x4747('0x16'),_0x243ff0=>_0x243ff0['stop'](),{'priority':_0x4747('0x17')}),this[_0x4747('0x14')](_0x105897,_0x4747('0x13'),_0x57e045=>_0x57e045[_0x4747('0x1')](),{'priority':_0x4747('0x17')});}[_0x4747('0xb')](){for(const [_0xc24efd,_0x13ca87]of this[_0x4747('0x2')]['commands'])_0x13ca87[_0x4747('0x11')]&&_0x4747('0xd')!==_0xc24efd&&_0x13ca87[_0x4747('0x9')](_0x4747('0x15'));this[_0x4747('0x4')](this[_0x4747('0x2')]['editing'][_0x4747('0x3')][_0x4747('0x1b')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x1be27e,_0x38beef,_0x5c81ec){const t=_0x1be27e['t'];switch(_0x38beef){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'},_0x5c81ec);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'},_0x5c81ec);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'},_0x5c81ec);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'},_0x5c81ec);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 _0x1721=['cancel','childList','type','class','attributes','attributeName','observe'];(function(_0x7512dd,_0x1721df){const _0x5bf535=function(_0x26263d){while(--_0x26263d){_0x7512dd['push'](_0x7512dd['shift']());}};_0x5bf535(++_0x1721df);}(_0x1721,0x82));const _0x5bf5=function(_0x7512dd,_0x1721df){_0x7512dd=_0x7512dd-0x0;let _0x5bf535=_0x1721[_0x7512dd];return _0x5bf535;};import{throttle as _0x491c26}from'lodash-es';export default function Dt(_0x2569b3){const _0x44f977=_0x491c26(_0x2569b3,0x1e),_0x3d09ef=new MutationObserver(_0x4b87ab=>{for(const _0x370df6 of _0x4b87ab)(_0x5bf5('0x0')==_0x370df6[_0x5bf5('0x5')]&&_0x5bf5('0x6')==_0x370df6[_0x5bf5('0x1')]||_0x5bf5('0x4')==_0x370df6[_0x5bf5('0x5')]||'characterData'==_0x370df6[_0x5bf5('0x5')])&&_0x44f977();});return{'attach'(_0x409fd1){_0x3d09ef[_0x5bf5('0x2')](_0x409fd1,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x3d09ef['disconnect'](),_0x44f977[_0x5bf5('0x3')]();}};}
|