@ckeditor/ckeditor5-comments 29.1.0 → 31.1.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/lang/translations/da.po +79 -0
- package/lang/translations/id.po +78 -0
- package/package.json +8 -8
- 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/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/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/commentslistview.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/ui/view/confirmmixin.js +1 -1
- package/src/comments/ui/view/confirmview.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
- package/src/utils/getdatetimeformatter.js +1 -1
- package/src/utils/getmarkerdomelement.js +1 -1
- package/src/utils/trim-html.js +1 -1
- package/theme/icons/add-comment.svg +1 -1
- package/theme/sidebar-narrow.css +2 -2
- package/theme/icons/add-comment-inverted.svg +0 -11
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ece=['getIndex','bottom','class','_annotationToSidebarItemView','change:_lastItem','sidebar.preventScrollOutOfView','targetRect','_updateLastItem','_alignBeforeItem','_setItemTop','last','destroy','updateHeight','_attachToContainer','locale','set','remove','content','_getItemAfter','length','sidebar.container','_getMaxAvailableTop','_detachFromContainer','rearrange','clear','isAnimationDisabled','appendChild','pluginName','_destroySidebarItemView','get','setContainer','listenTo','stopListening','add','_targetTop','render','_alignToTargetRect','_sidebarItemViewToAnnotation','_activeAnnotation','_spaceBetweenItems','change:targetRect','target','_getItemBefore','_alignAfterItem','context','_lastItem','top','getSidebarItemView','height','container','addAnnotation','view','list','config','_createSidebarView','refresh','isActive','delete','_annotations','max','element','minHeight','change:top','sidebar-attachtocontainer-missing-container','_getTargetTop','change:bottom'];(function(_0x384d97,_0x4ecead){const _0x5ce96c=function(_0x3dc31f){while(--_0x3dc31f){_0x384d97['push'](_0x384d97['shift']());}};_0x5ce96c(++_0x4ecead);}(_0x4ece,0x150));const _0x5ce9=function(_0x384d97,_0x4ecead){_0x384d97=_0x384d97-0x0;let _0x5ce96c=_0x4ece[_0x384d97];return _0x5ce96c;};import{ContextPlugin as _0x389435}from'ckeditor5/src/core';import _0x2cfea1 from'./view/sidebarview';import _0x1257e0 from'./view/sidebaritemview';import{Rect as _0x37058d,CKEditorError as _0x39b225}from'ckeditor5/src/utils';import{isElement as _0x4eeb5d,throttle as _0x60280b}from'lodash-es';export default class b extends _0x389435{static get[_0x5ce9('0x15')](){return'Sidebar';}constructor(_0x27a256){super(_0x27a256),this[_0x5ce9('0x9')](_0x5ce9('0x27')),this[_0x5ce9('0x2d')]=this[_0x5ce9('0x30')](),this['set']('container',null),this['_spaceBetweenItems']=0x19,this['_sidebarItemViewToAnnotation']=new Map(),this[_0x5ce9('0x3f')]=new Map(),this[_0x5ce9('0x26')][_0x5ce9('0x2f')]['define'](_0x5ce9('0x41'),!0x1),this['_annotations']=null,this['_activeAnnotation']=null;}['init'](){const _0x1abb8d=this['context'][_0x5ce9('0x2f')][_0x5ce9('0x17')](_0x5ce9('0xe'));_0x1abb8d&&this[_0x5ce9('0x18')](_0x1abb8d);}[_0x5ce9('0x18')](_0x179f51){if(!_0x4eeb5d(_0x179f51))throw new _0x39b225('sidebar-setcontainer-invalid-element');this[_0x5ce9('0x2b')]=_0x179f51;}[_0x5ce9('0x7')]({viewClass:_0x4aeb0c='',spaceBetweenItems:_0x259bfd=0x19}={}){if(!_0x4eeb5d(this['container']))throw new _0x39b225(_0x5ce9('0x39'),this);this[_0x5ce9('0x2b')][_0x5ce9('0x14')](this[_0x5ce9('0x2d')][_0x5ce9('0x36')]),this[_0x5ce9('0x2d')][_0x5ce9('0x3e')]=_0x4aeb0c,this['_spaceBetweenItems']=_0x259bfd;}[_0x5ce9('0x11')]({removedAnnotation:_0x295d2e,previousAnnotation:_0x7e4af6,nextAnnotation:_0x2d76e5}){const _0x441a0b=this['getSidebarItemView'](_0x295d2e);this[_0x5ce9('0x2d')][_0x5ce9('0x2e')][_0x5ce9('0xa')](_0x441a0b),this[_0x5ce9('0x16')](_0x295d2e),_0x7e4af6&&this[_0x5ce9('0x1e')](this[_0x5ce9('0x29')](_0x7e4af6)),_0x2d76e5&&this[_0x5ce9('0x1e')](this[_0x5ce9('0x29')](_0x2d76e5)),this['_updateLastItem']();}[_0x5ce9('0x31')]({blurredAnnotation:_0xee2698,activatedAnnotation:_0x2bba7e,disableAnimationOnActivatedAnnotation:_0x4585ef}){if(this['_activeAnnotation']=_0x2bba7e,_0xee2698){_0xee2698[_0x5ce9('0x32')]=!0x1;const _0x4fcc03=this['getSidebarItemView'](_0xee2698);_0x4fcc03&&_0x4585ef&&(_0x4fcc03[_0x5ce9('0x13')]=!0x1);}if(_0x2bba7e){const _0x2f6727=this[_0x5ce9('0x29')](_0x2bba7e);_0x2f6727&&(_0x2bba7e[_0x5ce9('0x32')]=!0x0,_0x4585ef&&(_0x2f6727[_0x5ce9('0x13')]=!0x0,_0x2f6727[_0x5ce9('0x28')]+=0x1),this['_alignToTargetRect'](_0x2f6727));}}[_0x5ce9('0x10')](_0x48c492){this[_0x5ce9('0x1a')](),this[_0x5ce9('0x2d')][_0x5ce9('0x36')][_0x5ce9('0xa')]();for(const _0x168808 of _0x48c492)this[_0x5ce9('0x16')](_0x168808);this['view'][_0x5ce9('0x2e')][_0x5ce9('0x12')](),this['view'][_0x5ce9('0x3e')]='',this[_0x5ce9('0x27')]=null;}[_0x5ce9('0x2c')](_0x5b6ba0,_0xbb7fed){_0xbb7fed||(_0xbb7fed=_0x5b6ba0[_0x5ce9('0x2d')]);const _0x2be544=new _0x1257e0(this[_0x5ce9('0x26')][_0x5ce9('0x8')]);this['_sidebarItemViewToAnnotation'][_0x5ce9('0x9')](_0x2be544,_0x5b6ba0),this[_0x5ce9('0x3f')][_0x5ce9('0x9')](_0x5b6ba0,_0x2be544),_0x2be544[_0x5ce9('0xb')][_0x5ce9('0x1b')](_0xbb7fed),this[_0x5ce9('0x1e')](_0x2be544),this[_0x5ce9('0x19')](_0x5b6ba0[_0x5ce9('0x2d')],_0x5ce9('0x22'),()=>{const _0x15be26=this[_0x5ce9('0x3a')](_0x2be544);_0x2be544['_targetTop']!=_0x15be26&&(_0x2be544[_0x5ce9('0x1c')]=_0x15be26,this['_setItemTop'](_0x2be544,_0x15be26));}),this[_0x5ce9('0x19')](_0x2be544,_0x5ce9('0x38'),_0x60280b(()=>{if(!_0x2be544[_0x5ce9('0xb')][_0x5ce9('0xd')])return;const _0x3e9fd3=this[_0x5ce9('0x24')](_0x2be544);if(!_0x3e9fd3)return;const _0x3a9209=this[_0x5ce9('0x1f')][_0x5ce9('0x17')](_0x3e9fd3),_0x265bac=this[_0x5ce9('0x20')];_0x265bac&&_0x265bac===_0x3a9209?this[_0x5ce9('0x25')](_0x3e9fd3,_0x2be544):this[_0x5ce9('0x2')](_0x2be544,_0x3e9fd3);},0xa,{'leading':!0x1})),this['listenTo'](_0x2be544,_0x5ce9('0x3b'),_0x60280b(()=>{if(!_0x2be544[_0x5ce9('0xb')][_0x5ce9('0xd')])return;const _0x833930=this[_0x5ce9('0xc')](_0x2be544);if(!_0x833930)return;const _0x4f1437=this[_0x5ce9('0x1f')][_0x5ce9('0x17')](_0x833930),_0x2442c5=this[_0x5ce9('0x26')]['config'][_0x5ce9('0x17')]('sidebar.preventScrollOutOfView'),_0x852dac=this['_activeAnnotation'];_0x852dac&&_0x852dac===_0x4f1437&&_0x2442c5?(this[_0x5ce9('0x2')](_0x833930,_0x2be544),this[_0x5ce9('0x25')](_0x2be544,_0x833930)):_0x852dac&&_0x852dac===_0x4f1437?this[_0x5ce9('0x2')](_0x833930,_0x2be544):this['_alignAfterItem'](_0x2be544,_0x833930);},0xa,{'leading':!0x1}));const _0x4cd86b=this[_0x5ce9('0x24')](_0x2be544);if(_0x4cd86b)this[_0x5ce9('0x25')](_0x4cd86b,_0x2be544)||this[_0x5ce9('0x1e')](_0x2be544);else this['_alignToTargetRect'](_0x2be544);return this[_0x5ce9('0x1')](),this['view']['list'][_0x5ce9('0x1b')](_0x2be544),_0x2be544;}[_0x5ce9('0x29')](_0x523bf9){return this['_annotationToSidebarItemView']['get'](_0x523bf9);}[_0x5ce9('0x5')](){this['view']['destroy']();}[_0x5ce9('0x16')](_0x5e17b8){const _0x3d85aa=this[_0x5ce9('0x29')](_0x5e17b8);this['stopListening'](_0x3d85aa),this[_0x5ce9('0x1a')](_0x5e17b8[_0x5ce9('0x2d')]),_0x3d85aa[_0x5ce9('0x5')](),this[_0x5ce9('0x3f')]['delete'](_0x5e17b8),this[_0x5ce9('0x1f')][_0x5ce9('0x33')](_0x3d85aa);}[_0x5ce9('0x30')](){const _0x8b8f03=new _0x2cfea1(this['context'][_0x5ce9('0x8')]);return _0x8b8f03[_0x5ce9('0x1d')](),this['on'](_0x5ce9('0x40'),(_0x4ef33c,_0x1fd508,_0x4af3fa,_0x29a0da)=>{_0x29a0da&&_0x8b8f03['unbind'](_0x5ce9('0x37')),_0x4af3fa?_0x8b8f03['bind']('minHeight')['to'](_0x4af3fa,_0x5ce9('0x3d')):_0x8b8f03[_0x5ce9('0x37')]=null;}),_0x8b8f03;}['_updateLastItem'](){this[_0x5ce9('0x27')]=this[_0x5ce9('0x29')](this[_0x5ce9('0x34')][_0x5ce9('0x4')]);}[_0x5ce9('0x24')](_0x36fbd3){const _0x40c73a=this[_0x5ce9('0x1f')][_0x5ce9('0x17')](_0x36fbd3),_0x4b1fee=this[_0x5ce9('0x34')][_0x5ce9('0x17')](this[_0x5ce9('0x34')][_0x5ce9('0x3c')](_0x40c73a)-0x1);return _0x4b1fee&&this[_0x5ce9('0x29')](_0x4b1fee);}['_getItemAfter'](_0x2b7cd7){const _0x5827ff=this['_sidebarItemViewToAnnotation'][_0x5ce9('0x17')](_0x2b7cd7),_0x24c4ff=this['_annotations'][_0x5ce9('0x17')](this[_0x5ce9('0x34')][_0x5ce9('0x3c')](_0x5827ff)+0x1);return _0x24c4ff&&this[_0x5ce9('0x29')](_0x24c4ff);}[_0x5ce9('0x2')](_0x5cefd4,_0x37e788){_0x5cefd4[_0x5ce9('0x6')]();const _0x134511=V(_0x37e788[_0x5ce9('0x3d')]+this[_0x5ce9('0x21')],_0x5cefd4[_0x5ce9('0x28')]);return!!_0x134511&&(this['_setItemTop'](_0x37e788,_0x37e788[_0x5ce9('0x28')]-_0x134511),!0x0);}[_0x5ce9('0x25')](_0x3d354e,_0x419171){_0x3d354e[_0x5ce9('0x6')]();const _0x59e5aa=V(_0x3d354e[_0x5ce9('0x3d')]+this['_spaceBetweenItems'],_0x419171[_0x5ce9('0x28')]);return!!_0x59e5aa&&(this[_0x5ce9('0x3')](_0x419171,_0x419171['top']+_0x59e5aa,!0x1),!0x0);}['_alignToTargetRect'](_0x812388){const _0x10ca8b=this[_0x5ce9('0x1f')][_0x5ce9('0x17')](_0x812388);if(!_0x10ca8b||!_0x10ca8b[_0x5ce9('0x23')])return;const _0x43402f=this['_getTargetTop'](_0x812388);this[_0x5ce9('0x3')](_0x812388,_0x43402f);}['_getTargetTop'](_0x4b3b1b){const _0x43a682=this[_0x5ce9('0x1f')]['get'](_0x4b3b1b);if(_0x43a682[_0x5ce9('0x23')]instanceof _0x37058d)return _0x43a682[_0x5ce9('0x0')][_0x5ce9('0x28')];{const _0x21f239=new _0x37058d(this[_0x5ce9('0x2d')][_0x5ce9('0x36')])[_0x5ce9('0x28')];return _0x43a682[_0x5ce9('0x0')][_0x5ce9('0x28')]-_0x21f239;}}['_setItemTop'](_0x1ec95e,_0x19f6c7,_0x4ddae6=this[_0x5ce9('0x26')][_0x5ce9('0x2f')][_0x5ce9('0x17')]('sidebar.preventScrollOutOfView')){_0x4ddae6&&(_0x19f6c7=Math[_0x5ce9('0x35')](_0x19f6c7,this['_getMaxAvailableTop'](_0x1ec95e))),_0x1ec95e[_0x5ce9('0x28')]=_0x19f6c7;}[_0x5ce9('0xf')](_0xf4c3f9){let _0x26cefd=this['_getItemBefore'](_0xf4c3f9),_0x4ab82a=0x0;for(;_0x26cefd;)_0x26cefd[_0x5ce9('0x6')](),_0x4ab82a+=this[_0x5ce9('0x21')]+_0x26cefd[_0x5ce9('0x2a')],_0x26cefd=this['_getItemBefore'](_0x26cefd);return _0x4ab82a;}}function V(_0x33373d,_0x47ff05){return Math[_0x5ce9('0x35')](_0x33373d-_0x47ff05,0x0);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2dee=['extendTemplate','add','counterView','set','ck-annotation-counter__badge--edit-mode','children','...','annotationType','ck-annotation-counter__badge','isDirty','_badge','number','setTemplate','ck-annotation-counter'];(function(_0x17ab87,_0x2deedf){const _0x42d909=function(_0x49c2c7){while(--_0x49c2c7){_0x17ab87['push'](_0x17ab87['shift']());}};_0x42d909(++_0x2deedf);}(_0x2dee,0xc7));const _0x42d9=function(_0x17ab87,_0x2deedf){_0x17ab87=_0x17ab87-0x0;let _0x42d909=_0x2dee[_0x17ab87];return _0x42d909;};import{ButtonView as _0xbf4ef7,View as _0x4f6cb8}from'ckeditor5/src/ui';import _0x47cb7d from'../../../theme/icons/add-comment.svg';export default class _ extends _0xbf4ef7{constructor(_0x4d4dd5){super(_0x4d4dd5);const _0x273259=this['bindTemplate'];this[_0x42d9('0x0')](_0x42d9('0x6'),!0x1),this[_0x42d9('0x0')]('number',0x0),this['bind'](_0x42d9('0x7'))['to'](this,_0x42d9('0x6'),this,_0x42d9('0x8'),(_0x2a0d42,_0x5951c9)=>_0x2a0d42?_0x42d9('0x3'):_0x5951c9),this[_0x42d9('0x0')](_0x42d9('0x4'),''),this['icon']=_0x47cb7d,this[_0x42d9('0xb')]({'attributes':{'class':[_0x42d9('0xa')]}}),this[_0x42d9('0xd')]=new _0x4f6cb8(),this[_0x42d9('0xd')][_0x42d9('0x9')]({'tag':'span','attributes':{'class':[_0x42d9('0x5'),_0x273259['to']('annotationType',_0x660a7a=>'ck-annotation-counter__badge--'+_0x660a7a),_0x273259['if']('isDirty',_0x42d9('0x1'))]},'children':[{'text':_0x273259['to'](_0x42d9('0x7'))}]}),this[_0x42d9('0x2')][_0x42d9('0xc')](this[_0x42d9('0xd')]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6c73=['keystrokes','focusTracker','ck-annotation-wrapper','destroy','Esc','div','targetRect','clear','set','content','height','setTemplate','focus','mainView','render','_mutationObserver','fire','type','_updateHeight','isDirty','listenTo','detach','add','attach','createCollection','ck-rounded-corners','element','ck-annotation-wrapper--active','length','clientHeight'];(function(_0x167cda,_0x6c737c){const _0x342098=function(_0x5469a0){while(--_0x5469a0){_0x167cda['push'](_0x167cda['shift']());}};_0x342098(++_0x6c737c);}(_0x6c73,0xc2));const _0x3420=function(_0x167cda,_0x6c737c){_0x167cda=_0x167cda-0x0;let _0x342098=_0x6c73[_0x167cda];return _0x342098;};import{View as _0x4e6208}from'ckeditor5/src/ui';import{FocusTracker as _0x52cca7,KeystrokeHandler as _0x387940,uid as _0x1d891c}from'ckeditor5/src/utils';import _0x4b5bc5 from'../../utils/createmutationobserver';import'../../../theme/annotation.css';export default class rt extends _0x4e6208{constructor(_0x38a1d1,_0x1b9340){super(_0x38a1d1),this['id']=_0x1d891c(),this[_0x3420('0x11')]=new _0x52cca7(),this['keystrokes']=new _0x387940(),this[_0x3420('0x10')][_0x3420('0x18')]('Esc',(_0x47eff6,_0x1f4bb3)=>this[_0x3420('0x2')](_0x3420('0x14'),_0x1f4bb3)),this[_0x3420('0x18')](_0x3420('0x16'),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3420('0x18')](_0x3420('0x1a'),0x0),this[_0x3420('0x18')]('isActive',!0x1),this[_0x3420('0x18')](_0x3420('0x5'),!0x1),this[_0x3420('0x18')](_0x3420('0xe'),0x0),this[_0x3420('0x18')](_0x3420('0x3'),''),this[_0x3420('0x1')]=_0x4b5bc5(()=>this[_0x3420('0x4')]()),this[_0x3420('0x19')]=this[_0x3420('0xa')](),this[_0x3420('0x19')][_0x3420('0x8')](_0x1b9340),this[_0x3420('0x1d')]=_0x1b9340;const _0x3a2086=this['bindTemplate'];this[_0x3420('0x1b')]({'tag':_0x3420('0x15'),'attributes':{'class':['ck',_0x3420('0x12'),_0x3420('0xb'),_0x3a2086['if']('isActive',_0x3420('0xd'))],'tabindex':-0x1},'children':this[_0x3420('0x19')]});}[_0x3420('0x0')](){super[_0x3420('0x0')](),this['focusTracker']['add'](this[_0x3420('0xc')]),this[_0x3420('0x10')][_0x3420('0x6')](this[_0x3420('0xc')]),this[_0x3420('0x1')][_0x3420('0x9')](this['element']);}['destroy'](){this['content'][_0x3420('0x17')](),this[_0x3420('0x10')]['destroy'](),this[_0x3420('0x11')][_0x3420('0x13')](),this[_0x3420('0x1')][_0x3420('0x7')](),super[_0x3420('0x13')]();}['focus'](){this[_0x3420('0xc')][_0x3420('0x1c')]();}[_0x3420('0x4')](){const _0x4cdb70=this[_0x3420('0xc')][_0x3420('0xf')];_0x4cdb70&&(this['height']=_0x4cdb70);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a71=['render','height','clear','set','updateHeight','clientHeight','_mutationObserver','attach','isAnimationDisabled','bottom','div','ck-sidebar-item--no-animation','bind','content','ck-sidebar-item','_targetTop','setTemplate','element','destroy','detach','createCollection','top'];(function(_0x3189df,_0x5a71e1){const _0x1c48cf=function(_0x122508){while(--_0x122508){_0x3189df['push'](_0x3189df['shift']());}};_0x1c48cf(++_0x5a71e1);}(_0x5a71,0x134));const _0x1c48=function(_0x3189df,_0x5a71e1){_0x3189df=_0x3189df-0x0;let _0x1c48cf=_0x5a71[_0x3189df];return _0x1c48cf;};import{View as _0x43aa8d}from'ckeditor5/src/ui';import{toUnit as _0x140a2f}from'ckeditor5/src/utils';import _0x96f7cc from'../../utils/createmutationobserver';const gt=_0x140a2f('px');export default class T extends _0x43aa8d{constructor(_0x572355){super(_0x572355),this['set']('top'),this[_0x1c48('0x3')](_0x1c48('0x1'),0x0),this[_0x1c48('0xc')](_0x1c48('0x9'))['to'](this,_0x1c48('0x15'),this,'height',(_0x5de237,_0x3acdce)=>(_0x5de237||0x0)+_0x3acdce),this[_0x1c48('0x3')](_0x1c48('0x8'),!0x1),this['_mutationObserver']=_0x96f7cc(()=>this[_0x1c48('0x4')]()),this[_0x1c48('0xf')]=null,this[_0x1c48('0xd')]=this[_0x1c48('0x14')]();const _0x599ddb=this['bindTemplate'];this[_0x1c48('0x10')]({'tag':_0x1c48('0xa'),'attributes':{'class':[_0x1c48('0xe'),_0x599ddb['to'](_0x1c48('0x8'),_0x107e68=>_0x107e68?_0x1c48('0xb'):'')],'style':{'top':_0x599ddb['to']('top',gt)}},'children':this['content']});}[_0x1c48('0x0')](){super[_0x1c48('0x0')](),this['_mutationObserver'][_0x1c48('0x7')](this[_0x1c48('0x11')]);}[_0x1c48('0x4')](){const _0x537356=this['element'][_0x1c48('0x5')];_0x537356&&(this['height']=_0x537356);}['destroy'](){this[_0x1c48('0xd')][_0x1c48('0x2')](),this[_0x1c48('0x6')][_0x1c48('0x13')](),super[_0x1c48('0x12')]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e76=['set','bindTemplate','minHeight','class','list','ck-sidebar','createCollection'];(function(_0x4d032a,_0x3e7695){const _0x359616=function(_0xb19adb){while(--_0xb19adb){_0x4d032a['push'](_0x4d032a['shift']());}};_0x359616(++_0x3e7695);}(_0x3e76,0x1a7));const _0x3596=function(_0x4d032a,_0x3e7695){_0x4d032a=_0x4d032a-0x0;let _0x359616=_0x3e76[_0x4d032a];return _0x359616;};import{View as _0x2e2264}from'ckeditor5/src/ui';import{toUnit as _0x41f9e6}from'ckeditor5/src/utils';import'../../../theme/sidebar.css';const gt=_0x41f9e6('px');export default class O extends _0x2e2264{constructor(_0x21f4f8){super(_0x21f4f8);const _0x3abc97=this[_0x3596('0x5')];this[_0x3596('0x4')]('minHeight',0x0),this[_0x3596('0x4')](_0x3596('0x0'),''),this[_0x3596('0x1')]=this[_0x3596('0x3')](),this['setTemplate']({'tag':'div','attributes':{'class':['ck',_0x3596('0x2'),'ck-reset',_0x3abc97['to'](_0x3596('0x0'))],'style':{'minHeight':_0x3abc97['to'](_0x3596('0x6'),_0x5b1a4f=>_0x5b1a4f?gt(_0x5b1a4f+0xa):null)}},'children':this[_0x3596('0x1')]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47c3=['set:container','uiUpdate','isAttached','rearrange','_destroyEditorAnnotationsIntegration','_integrateWithEditorAnnotations','refresh','_annotations','refreshPositioning','focus','high','blur','addAnnotation','EditorAnnotations','off','container','wideSidebar','_editorAnnotations','register','init','stopListening','detach','ck-sidebar--wide','destroy','updateTargetRect','pluginName','has','attach','get','removeEventListener','stop','Sidebar','add','ready','remove','_activeAnnotation','editors','_throttledPositioningRefresh','listenTo','plugins','requires','context','cancel','set','activeAnnotation','change:container','setActiveAnnotation','widesidebar-detach-not-attached','WideSidebar'];(function(_0x51733b,_0x47c3eb){const _0x5f284b=function(_0x4d453b){while(--_0x4d453b){_0x51733b['push'](_0x51733b['shift']());}};_0x5f284b(++_0x47c3eb);}(_0x47c3,0x1ba));const _0x5f28=function(_0x51733b,_0x47c3eb){_0x51733b=_0x51733b-0x0;let _0x5f284b=_0x47c3[_0x51733b];return _0x5f284b;};import{ContextPlugin as _0x25bd1d}from'ckeditor5/src/core';import _0x3aadfa from'./annotationsuis';import _0x4841af from'./sidebar';import{CKEditorError as _0x49d77e,Collection as _0x159986}from'ckeditor5/src/utils';import{throttle as _0x1ccf74}from'lodash-es';export default class i extends _0x25bd1d{static get[_0x5f28('0x27')](){return[_0x4841af,_0x3aadfa];}static get[_0x5f28('0x18')](){return _0x5f28('0x2f');}constructor(_0x2909c5){super(_0x2909c5),this[_0x5f28('0x1')]=!0x1,this[_0x5f28('0x2a')](_0x5f28('0x2b'),null),this[_0x5f28('0x6')]=null,this[_0x5f28('0x10')]=new _0x159986(),this[_0x5f28('0x24')]=_0x1ccf74(()=>{this[_0x5f28('0x6')][_0x5f28('0x7')]();},0x190,{'leading':!0x1});}[_0x5f28('0x12')](){const _0x11433b=this[_0x5f28('0x28')][_0x5f28('0x26')]['get'](_0x3aadfa),_0x27d65d=this['context'][_0x5f28('0x26')]['get'](_0x4841af);_0x11433b[_0x5f28('0x11')](_0x5f28('0xf'),this),_0x27d65d[_0x5f28('0xe')]&&_0x11433b['switchTo']('wideSidebar');}[_0x5f28('0x2d')](_0x480bea){if(_0x480bea===this['activeAnnotation'])return;const _0x345b9e=this[_0x5f28('0x28')][_0x5f28('0x26')]['get'](_0x4841af);_0x345b9e[_0x5f28('0x22')]=_0x480bea;const _0x59eeb8=this[_0x5f28('0x2b')];this[_0x5f28('0x2b')]=_0x480bea,_0x345b9e[_0x5f28('0x5')]({'blurredAnnotation':_0x59eeb8,'activatedAnnotation':this[_0x5f28('0x2b')]});}[_0x5f28('0x1a')](_0x43ae49){this[_0x5f28('0x6')]=_0x43ae49;const _0x2487ce=this[_0x5f28('0x28')][_0x5f28('0x26')][_0x5f28('0x1b')](_0x5f28('0x1e'));if(_0x2487ce['_annotations']=_0x43ae49,this[_0x5f28('0x1')])throw new _0x49d77e('widesidebar-attach-already-attached',this);this[_0x5f28('0x1')]=!0x0,this[_0x5f28('0x25')](_0x2487ce,_0x5f28('0x30'),()=>{this['detach'](),this[_0x5f28('0x25')](_0x2487ce,_0x5f28('0x2c'),_0x3fa018=>{_0x3fa018[_0x5f28('0xd')](),this[_0x5f28('0x1a')](_0x43ae49);});}),_0x2487ce['_attachToContainer']({'viewClass':_0x5f28('0x15')});const _0x3e6340=_0x269e83=>{_0x269e83[_0x5f28('0x17')](),_0x2487ce[_0x5f28('0xb')](_0x269e83);};for(const _0x1f37a0 of _0x43ae49)_0x3e6340(_0x1f37a0);this['listenTo'](_0x43ae49,_0x5f28('0x1f'),(_0x301908,_0x51d7e5)=>{_0x3e6340(_0x51d7e5);}),this['listenTo'](_0x43ae49,_0x5f28('0x21'),(_0x39f117,_0x3bd129,_0x941a55)=>{_0x2487ce[_0x5f28('0x2')]({'removedAnnotation':_0x3bd129,'previousAnnotation':_0x43ae49[_0x5f28('0x1b')](_0x941a55-0x1),'nextAnnotation':_0x43ae49[_0x5f28('0x1b')](_0x941a55+0x1)}),_0x3bd129===this[_0x5f28('0x2b')]&&this['setActiveAnnotation'](null);},{'priority':_0x5f28('0x9')}),this[_0x5f28('0x25')](_0x43ae49,_0x5f28('0x8'),(_0x35c867,_0x907d23)=>{this[_0x5f28('0x2d')](_0x907d23);}),this['listenTo'](_0x43ae49,_0x5f28('0xa'),()=>{this[_0x5f28('0x2d')](null);});const _0x467b6a=this['context'][_0x5f28('0x23')]?this[_0x5f28('0x28')][_0x5f28('0x23')]:new _0x159986([this[_0x5f28('0x28')]]);for(const _0x418a4a of _0x467b6a)this[_0x5f28('0x4')](_0x418a4a);this[_0x5f28('0x25')](_0x467b6a,_0x5f28('0x1f'),(_0x120e12,_0x2e47f2)=>{this[_0x5f28('0x25')](_0x2e47f2,_0x5f28('0x20'),()=>{this[_0x5f28('0x4')](_0x2e47f2);});}),this[_0x5f28('0x25')](_0x467b6a,'remove',(_0x3e451f,_0x109700)=>{_0x109700['plugins'][_0x5f28('0x19')](_0x5f28('0xc'))&&this[_0x5f28('0x3')](_0x109700[_0x5f28('0x26')][_0x5f28('0x1b')](_0x5f28('0xc')));}),window['addEventListener']('resize',this[_0x5f28('0x24')]),this[_0x5f28('0x6')][_0x5f28('0x7')]();}['detach'](){if(!this['isAttached'])throw new _0x49d77e(_0x5f28('0x2e'),this);this[_0x5f28('0x2d')](null);const _0x44be1c=this[_0x5f28('0x28')][_0x5f28('0x26')][_0x5f28('0x1b')](_0x4841af);_0x44be1c['_detachFromContainer'](this['_annotations']),this[_0x5f28('0x13')](_0x44be1c),this[_0x5f28('0x13')](this['_annotations']),this[_0x5f28('0x13')](this['context'][_0x5f28('0x23')]);for(const _0x3ddc19 of Array['from'](this['_editorAnnotations']))this[_0x5f28('0x3')](_0x3ddc19);window[_0x5f28('0x1c')]('resize',this[_0x5f28('0x24')]),this['_throttledPositioningRefresh'][_0x5f28('0x29')](),this['activeAnnotation']=null,this[_0x5f28('0x1')]=!0x1;}[_0x5f28('0x16')](){this[_0x5f28('0x1')]&&this[_0x5f28('0x14')]();}[_0x5f28('0x4')](_0xfd8213){const _0x374069=_0xfd8213[_0x5f28('0x26')]['get'](_0x5f28('0xc'));if(!_0x374069)return;const _0x2ae6eb=()=>{const _0x397a52=_0x374069['getOrderedSelectedAnnotations']({'annotations':this['_annotations'],'activeAnnotation':this[_0x5f28('0x2b')]});this[_0x5f28('0x2d')](_0x397a52[0x0]||null);};this[_0x5f28('0x25')](_0x374069,'refresh',_0x2ae6eb),this[_0x5f28('0x25')](_0x374069,_0x5f28('0xa'),(_0x432fb0,{isAnnotationTracked:_0x5b5236})=>{this[_0x5f28('0x2b')]&&_0x5b5236(this[_0x5f28('0x2b')])&&this[_0x5f28('0x2d')](null);}),this[_0x5f28('0x25')](_0x374069,_0x5f28('0x0'),()=>{this[_0x5f28('0x6')][_0x5f28('0x7')]();}),this[_0x5f28('0x25')](this[_0x5f28('0x6')],_0x5f28('0xa'),_0x5cc232=>{_0x374069['hasDomSelection']()&&(_0x2ae6eb(),_0x5cc232[_0x5f28('0x1d')]());},{'priority':_0x5f28('0x9')}),this[_0x5f28('0x10')][_0x5f28('0x1f')](_0x374069);}['_destroyEditorAnnotationsIntegration'](_0x5e6c43){_0x5e6c43&&(this[_0x5f28('0x13')](_0x5e6c43),this[_0x5f28('0x10')][_0x5f28('0x21')](_0x5e6c43));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x75a4=['textProxy','execute','_trimToContent','model','getLastMatchingPosition','selection','_hasContent','tableCell','start','isObject','_itemIsContent','element','comment:','item','backward','addMarker','createRange','change','editor','isEnabled','getRanges','getItems'];(function(_0x3df52f,_0x75a4f5){const _0x1a0e36=function(_0x34546c){while(--_0x34546c){_0x3df52f['push'](_0x3df52f['shift']());}};_0x1a0e36(++_0x75a4f5);}(_0x75a4,0x168));const _0x1a0e=function(_0x3df52f,_0x75a4f5){_0x3df52f=_0x3df52f-0x0;let _0x1a0e36=_0x75a4[_0x3df52f];return _0x1a0e36;};import{Command as _0x3a0969}from'ckeditor5/src/core';import{uid as _0x37852d}from'ckeditor5/src/utils';export default class P extends _0x3a0969{['refresh'](){const _0x143fab=this[_0x1a0e('0xa')][_0x1a0e('0x11')]['document'][_0x1a0e('0x13')];for(const _0xfb11c0 of _0x143fab[_0x1a0e('0xc')]())if(this[_0x1a0e('0x14')](_0xfb11c0))return void(this[_0x1a0e('0xb')]=!0x0);this['isEnabled']=!0x1;}[_0x1a0e('0xf')]({threadId:_0x3805c5=_0x37852d()}={}){const _0x28b41f=this[_0x1a0e('0xa')]['model'],_0x5e98e7=[];for(const _0x53ef2a of _0x28b41f['document']['selection']['getRanges']())this[_0x1a0e('0x14')](_0x53ef2a)&&_0x5e98e7['push'](this['_trimToContent'](_0x53ef2a));_0x28b41f[_0x1a0e('0x9')](_0x31dbc4=>{for(const _0x109def of _0x5e98e7){const _0x4dab43=_0x37852d()['substr'](0x1,0x5),_0x5737b0=_0x1a0e('0x4')+_0x3805c5+':'+_0x4dab43;_0x31dbc4[_0x1a0e('0x7')](_0x5737b0,{'range':_0x109def,'usingOperation':!0x1,'affectData':!0x1});}});}['_hasContent'](_0x104307){for(const _0x3a4d60 of _0x104307[_0x1a0e('0xd')]())if(this[_0x1a0e('0x2')](_0x3a4d60))return!0x0;return!0x1;}['_itemIsContent'](_0x268d61){return _0x268d61['is'](_0x1a0e('0xe'))||this[_0x1a0e('0xa')][_0x1a0e('0x11')]['schema'][_0x1a0e('0x1')](_0x268d61)&&!_0x268d61['is'](_0x1a0e('0x3'),_0x1a0e('0x15'));}[_0x1a0e('0x10')](_0x55ed59){const _0x453a2e=_0x44ee7c=>!this['_itemIsContent'](_0x44ee7c[_0x1a0e('0x5')]),_0x4aa48b=_0x55ed59[_0x1a0e('0x0')][_0x1a0e('0x12')](_0x453a2e),_0x39268d=_0x55ed59['end'][_0x1a0e('0x12')](_0x453a2e,{'direction':_0x1a0e('0x6')});return this[_0x1a0e('0xa')][_0x1a0e('0x11')][_0x1a0e('0x8')](_0x4aa48b,_0x39268d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21b9=['openNewCommentThread','_attachedThreads','once','_threads','map','update:comment','isObject','comment','addComment','elementToElement','_initializeMarkerConverters','config','hasCommentThread','removeMarker','collaboration.channelId','change','for','data','pluginName','getCommentThread','_handleMarkerAddAndRemove','hasContent','upcast','ck-comment-marker','comment:','$graveyard','_changedMarkers','ready','get','set','_attachThreadToMarker','then','destroyed','CommentsEditing','from','switchReadOnly','updateMarker','render','getWalker','destroy','top','requires','_detachCommentThread','plugins','getCommentThreads','$marker','split','isCollapsed','conversion','start','registerPostFixer','length','listenTo','schema','delete','init','managedUsingOperations','isEqual','high','newRange','isThreadsLoadingPaused','left','editingDowncast','affectsData','change:activeMarker','addCommentThread','attachTo','markerName','dataToMarker','change:isThreadsLoadingPaused','rootName','model','has','hasMarkerForId','CommentsRepository','low','ck-comment-marker--active','markerToData','change:isReadOnly','document','stop','push','name','removeCommentThread','markers','createRange','editor','editing','getAllMarkersForId','text','add','activeMarker'];(function(_0x56378c,_0x21b9d8){const _0x36df78=function(_0x2ed52c){while(--_0x2ed52c){_0x56378c['push'](_0x56378c['shift']());}};_0x36df78(++_0x21b9d8);}(_0x21b9,0x1ce));const _0x36df=function(_0x56378c,_0x21b9d8){_0x56378c=_0x56378c-0x0;let _0x36df78=_0x21b9[_0x56378c];return _0x36df78;};import{Plugin as _0x81e6f0}from'ckeditor5/src/core';import{Rect as _0x3fb9dc}from'ckeditor5/src/utils';import _0xd04c1e from'./commentsrepository';import _0x13b865 from'./addcommentthreadcommand';import _0x247cfe from'../utils/getmarkerdomelement';import _0x2779d7 from'./integrations/commentsrestrictededitingmode';import'../../theme/commentmarker.css';export default class r extends _0x81e6f0{static get[_0x36df('0x27')](){return[_0xd04c1e,_0x2779d7];}static get[_0x36df('0x10')](){return _0x36df('0x1f');}constructor(_0x314abd){super(_0x314abd),this['set'](_0x36df('0x3a'),!0x0),_0x314abd[_0x36df('0xf')][_0x36df('0x0')](_0x36df('0x19'),()=>this[_0x36df('0x3a')]=!0x1),this[_0x36df('0x1b')](_0x36df('0x59'),null),this['on'](_0x36df('0x3e'),(_0x321941,_0x34bb0b,_0x96284e,_0x3795c1)=>{_0x314abd[_0x36df('0x45')][_0x36df('0xd')](_0x311f08=>{if(_0x96284e){const {id:_0x40aaa8}=N(_0x96284e),_0x41e710=this['getAllMarkersForId'](_0x40aaa8);for(const _0x4459c4 of _0x41e710)_0x311f08[_0x36df('0x22')](_0x4459c4);}if(_0x3795c1){const {id:_0x448be6}=N(_0x3795c1),_0x4087a1=this[_0x36df('0x56')](_0x448be6);for(const _0x49233c of _0x4087a1)_0x311f08[_0x36df('0x22')](_0x49233c);}});}),this[_0x36df('0x5b')]=new Set();}[_0x36df('0x35')](){const _0x109697=this[_0x36df('0x54')],_0x4156c6=_0x109697[_0x36df('0x29')][_0x36df('0x1a')]('CommentsRepository'),_0x58332a=_0x109697['config']['get']('collaboration.channelId');_0x109697['commands'][_0x36df('0x58')](_0x36df('0x3f'),new _0x13b865(_0x109697)),this[_0x36df('0x32')](_0x109697,_0x36df('0x4c'),(_0x5b9b0b,_0x5eb50b,_0x149369)=>{_0x4156c6[_0x36df('0x21')](_0x149369,_0x109697['config'][_0x36df('0x1a')](_0x36df('0xc')));}),this[_0x36df('0x32')](_0x4156c6,q(_0x36df('0x51'),_0x58332a),(_0x1330da,{threadId:_0x57e8fa})=>{_0x109697[_0x36df('0x45')]['change'](_0x44ebdd=>{for(const _0x90542e of this['getAllMarkersForId'](_0x57e8fa))_0x44ebdd[_0x36df('0xb')](_0x90542e);});const _0x2f2969=_0x4156c6[_0x36df('0x11')](_0x57e8fa);_0x4156c6[_0x36df('0xa')](_0x57e8fa)&&!_0x2f2969['length']||_0x1330da[_0x36df('0x4e')]();},{'priority':_0x36df('0x38')}),this[_0x36df('0x32')](_0x4156c6,q(_0x36df('0x6'),_0x58332a),(_0x2a1c4e,{threadId:_0x49745b,isFromAdapter:_0x110606})=>{const _0x29e749=this['getAllMarkersForId'](_0x49745b);if(_0x110606||0x0==_0x29e749[_0x36df('0x31')]||!_0x4156c6[_0x36df('0xa')](_0x49745b))return;0x1===_0x4156c6[_0x36df('0x11')](_0x49745b)['length']&&_0x109697[_0x36df('0x45')][_0x36df('0xd')](_0xf8b316=>{for(const _0x3ae783 of _0x29e749)_0xf8b316[_0x36df('0x22')](_0x3ae783,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x36df('0x49')}),this[_0x36df('0x8')](),this[_0x36df('0x12')]();}['destroy'](){const _0x1aed60=this[_0x36df('0x54')][_0x36df('0x29')]['get'](_0x36df('0x48')),_0xc87a2a=this['editor'][_0x36df('0x9')][_0x36df('0x1a')]('collaboration.channelId');for(const _0x365ec0 of _0x1aed60[_0x36df('0x2a')]({'channelId':_0xc87a2a}))_0x1aed60[_0x36df('0x28')](_0x365ec0['id']),_0x1aed60[_0x36df('0x1')][_0x36df('0x34')](_0x365ec0['id']);super[_0x36df('0x25')]();}['hasMarkerForId'](_0x3487fb){return this[_0x36df('0x56')](_0x3487fb)[_0x36df('0x31')]>0x0;}[_0x36df('0x56')](_0x2877a0){const _0x51ecbc=this[_0x36df('0x54')]['model'][_0x36df('0x52')][_0x36df('0x1a')]('comment:'+_0x2877a0);return _0x51ecbc?[_0x51ecbc]:Array[_0x36df('0x20')](this[_0x36df('0x54')]['model']['markers']['getMarkersGroup']('comment:'+_0x2877a0));}[_0x36df('0x8')](){const _0x4ac562=this['editor'];_0x4ac562['conversion'][_0x36df('0xe')](_0x36df('0x3c'))['markerToHighlight']({'model':_0x36df('0x5'),'view':_0x381f3a=>{const {id:_0x3862d9}=N(_0x381f3a[_0x36df('0x41')]),_0x33c4b8=[_0x36df('0x15')];return this[_0x36df('0x59')]&&N(this['activeMarker'])['id']===_0x3862d9&&_0x33c4b8[_0x36df('0x4f')](_0x36df('0x4a')),{'classes':_0x33c4b8,'attributes':{'data-comment':_0x3862d9}};}}),_0x4ac562[_0x36df('0x2e')][_0x36df('0xe')]('dataDowncast')[_0x36df('0x4b')]({'model':_0x36df('0x5'),'view':_0x2bde06=>{const _0x195dc5=_0x4ac562[_0x36df('0x45')]['markers'][_0x36df('0x1a')](_0x2bde06),{id:_0x68e716,part:_0x102285}=N(_0x2bde06);return _0x195dc5&&!_0x195dc5[_0x36df('0x3d')]?null:{'group':_0x36df('0x5'),'name':_0x102285?_0x68e716+':'+_0x102285:_0x68e716};}}),_0x4ac562[_0x36df('0x2e')]['for'](_0x36df('0x14'))[_0x36df('0x7')]({'view':{'name':'comment','attribute':{'id':/^\w/}},'model':(_0x319baf,{writer:_0x524bc9})=>_0x524bc9['createElement'](_0x36df('0x2b'),{'data-name':_0x36df('0x16')+_0x319baf['getAttribute']('id')})}),_0x4ac562['conversion'][_0x36df('0xe')]('upcast')[_0x36df('0x42')]({'view':_0x36df('0x5')});}[_0x36df('0x12')](){const _0x160fd3=this['editor'],_0x1d212e=_0x160fd3['plugins']['get'](_0x36df('0x48')),_0x3e3a73=new Set();_0x160fd3[_0x36df('0x45')][_0x36df('0x4d')][_0x36df('0x30')](_0x282901=>{let _0x2b0709=!0x1;for(const [_0x43cd98,_0x193edb]of _0x160fd3['model'][_0x36df('0x4d')]['differ'][_0x36df('0x18')]){const {group:_0x3c73c2,id:_0x12f95b}=N(_0x43cd98);let _0x53012c=_0x193edb[_0x36df('0x39')];if('comment'!==_0x3c73c2||!_0x53012c)continue;const _0x14c24f=_0x36df('0x17')===_0x53012c['root'][_0x36df('0x44')];_0x14c24f||(_0x53012c=j(_0x53012c,_0x160fd3['model']),!_0x53012c||_0x53012c[_0x36df('0x37')](_0x193edb['newRange']))?!_0x53012c||!_0x160fd3['model'][_0x36df('0x13')](_0x53012c)||this[_0x36df('0x5b')]['has'](_0x12f95b)&&_0x14c24f?(_0x282901[_0x36df('0xb')](_0x43cd98),_0x2b0709=!0x0):_0x14c24f||(this[_0x36df('0x3a')]?_0x3e3a73[_0x36df('0x58')](_0x12f95b):this[_0x36df('0x1c')](_0x12f95b)):(_0x282901[_0x36df('0x22')](_0x43cd98,{'range':_0x53012c}),_0x2b0709=!0x0);}return _0x2b0709;}),this['on'](_0x36df('0x43'),(_0x4ce252,_0x4a93af,_0x176c09)=>{if(!_0x176c09&&_0x3e3a73['size'])for(const _0x33b8de of _0x3e3a73)this[_0x36df('0x1c')](_0x33b8de),_0x3e3a73[_0x36df('0x34')](_0x33b8de);}),this[_0x36df('0x32')](_0x160fd3[_0x36df('0x45')][_0x36df('0x52')],_0x36df('0x3'),(_0x1ffd17,_0x1b604c,_0x333877,_0x3cd037)=>{if(_0x3cd037)return;const {id:_0x2d040f}=N(_0x1b604c[_0x36df('0x50')]),_0x4f16b5=_0x160fd3[_0x36df('0x29')][_0x36df('0x1a')](_0x36df('0x48'))[_0x36df('0x11')](_0x2d040f);_0x3e3a73[_0x36df('0x34')](_0x2d040f),_0x4f16b5&&!this[_0x36df('0x47')](_0x2d040f)&&(this[_0x36df('0x5b')]['delete'](_0x2d040f),_0x1d212e[_0x36df('0x28')](_0x2d040f));});}[_0x36df('0x1c')](_0x4ef7a5){if(this[_0x36df('0x5b')][_0x36df('0x46')](_0x4ef7a5))return;this[_0x36df('0x5b')]['add'](_0x4ef7a5);const _0x3a3c5b=this[_0x36df('0x54')],_0x37d52c=_0x3a3c5b[_0x36df('0x29')][_0x36df('0x1a')](_0x36df('0x48')),_0x2a4428=_0x3a3c5b[_0x36df('0x9')][_0x36df('0x1a')](_0x36df('0xc')),_0x425718=()=>{const _0x568fd2=this[_0x36df('0x56')](_0x4ef7a5);if(0x0==_0x568fd2['length'])return null;const _0x545d4d=_0x568fd2[_0x36df('0x2')](_0x213cb3=>_0x247cfe(_0x3a3c5b['editing'],_0x213cb3));return _0x545d4d['sort']((_0x5baa45,_0x2f76db)=>{const _0x4e8de2=new _0x3fb9dc(_0x5baa45),_0x28e8c5=new _0x3fb9dc(_0x2f76db),_0x3cfbe4=_0x4e8de2[_0x36df('0x26')]-_0x28e8c5[_0x36df('0x26')];return 0x0==_0x3cfbe4?_0x4e8de2[_0x36df('0x3b')]-_0x28e8c5['left']:_0x3cfbe4;}),_0x545d4d[0x0];};!this[_0x36df('0x56')](_0x4ef7a5)[0x0][_0x36df('0x36')]?_0x3a3c5b[_0x36df('0x55')]['view'][_0x36df('0x0')](_0x36df('0x23'),()=>{_0x37d52c[_0x36df('0x5a')]({'channelId':_0x2a4428,'threadId':_0x4ef7a5,'target':_0x425718});},{'priority':_0x36df('0x49')}):_0x37d52c['fetchCommentThread']({'channelId':_0x2a4428,'threadId':_0x4ef7a5})[_0x36df('0x1d')](_0x450234=>{if(_0x36df('0x1e')!==_0x3a3c5b['state']){if(_0x450234)_0x450234[_0x36df('0x40')](_0x425718);else{const _0x22a696=this[_0x36df('0x56')](_0x4ef7a5);_0x3a3c5b[_0x36df('0x45')]['change'](_0x10afc2=>{for(const _0x1bade6 of _0x22a696)_0x10afc2[_0x36df('0xb')](_0x1bade6);});}}});}}function q(_0x107b50,_0x3fec3c){return _0x3fec3c?_0x107b50+':'+_0x3fec3c:_0x107b50;}function N(_0x2e8ccf){const _0x4bc95e=_0x2e8ccf[_0x36df('0x2c')](':');return{'group':_0x4bc95e[0x0],'id':_0x4bc95e[0x1],'part':_0x4bc95e[0x2]};}function j(_0x5be085,_0x65c397){const _0x20a38a=_0x65c397[_0x36df('0x33')],_0x54f347=_0x65c397[_0x36df('0x53')](_0x5be085[_0x36df('0x2f')]);for(const _0x21f4bf of _0x5be085[_0x36df('0x24')]()){const {type:_0xe009b9,item:_0x339ea8,nextPosition:_0x5d4e78}=_0x21f4bf;if(_0x36df('0x57')===_0xe009b9||_0x20a38a[_0x36df('0x4')](_0x339ea8)){const _0x6930b2=_0x65c397['createPositionBefore'](_0x339ea8);_0x54f347[_0x36df('0x2d')]&&(_0x54f347[_0x36df('0x2f')]=_0x6930b2),_0x54f347['end']=_0x5d4e78;}}return _0x54f347[_0x36df('0x2d')]?null:_0x54f347;}
|