@ckeditor/ckeditor5-comments 47.0.0-alpha.8 → 47.0.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/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- 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 +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- 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 +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- 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/commentthreadheadercontextview.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 +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x580874=_0xbd67;(function(_0xfe7413,_0x51a327){const _0x566214=_0xbd67,_0x4b3e5e=_0xfe7413();while(!![]){try{const _0x2a5768=parseInt(_0x566214(0x115))/0x1+parseInt(_0x566214(0xe2))/0x2*(-parseInt(_0x566214(0xe0))/0x3)+-parseInt(_0x566214(0xed))/0x4*(-parseInt(_0x566214(0xfb))/0x5)+parseInt(_0x566214(0xd9))/0x6+-parseInt(_0x566214(0xc8))/0x7*(parseInt(_0x566214(0xc3))/0x8)+-parseInt(_0x566214(0xfd))/0x9*(parseInt(_0x566214(0xf9))/0xa)+parseInt(_0x566214(0xe5))/0xb;if(_0x2a5768===_0x51a327)break;else _0x4b3e5e['push'](_0x4b3e5e['shift']());}catch(_0x2dfff0){_0x4b3e5e['push'](_0x4b3e5e['shift']());}}}(_0x5ec6,0xafa4a));import{ContextPlugin as _0x2d4d48}from'ckeditor5/src/core.js';import{Rect as _0x4ca7ed,CKEditorError as _0x49e40f}from'ckeditor5/src/utils.js';function _0x5ec6(){const _0x2e7c31=['sidebar-attachtocontainer-missing-container','addAnnotation','change:bottom','_getTargetTop','length','_getMaxAvailableTop','remove','context','set','view','5257158oxIiLH','updateHeight','isAnimationDisabled','getSidebarItemView','getIndex','minHeight','_setItemTop','3ivOqbO','_annotations','1759256KasedE','_sidebarItemViewToAnnotation','_alignToTargetRect','5570312irYoXu','target','_alignAfterItem','_getItemAfter','config','listenTo','Sidebar','height','142172RcbYLV','_alignForTopChange','_updateLastItem','object','change:targetRect','last','setContainer','_targetTop','stopListening','push','change:_lastItem','locale','39110jjkYkC','targetRect','15ZdjOIP','_createSidebarView','18UezaDt','destroy','isPremiumPlugin','container','refresh','_alignForBottomChange','isOfficialPlugin','change:top','class','_destroySidebarItemView','sidebar.preventScrollOutOfView','rearrange','_detachFromContainer','list','_getItemBefore','delete','pluginName','_recalculateBuffer','unbind','_annotationToSidebarItemView','bottom','_spaceBetweenItems','_recalculate','sidebar.container','850795HztcAU','add','sidebar-setcontainer-invalid-element','max','render','define','_activeAnnotation','_alignBeforeItem','bind','init','15000gnoQdX','content','element','appendChild','clear','2737MxPXhh','isActive','nodeType','_attachToContainer','get','_lastItem','top'];_0x5ec6=function(){return _0x2e7c31;};return _0x5ec6();}import{AnnotationsSidebarView as _0x15e797}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x2400f1}from'./view/sidebaritemview.js';function _0xbd67(_0x2dc938,_0x5ee55f){const _0x5ec690=_0x5ec6();return _0xbd67=function(_0xbd67c1,_0x3ca93e){_0xbd67c1=_0xbd67c1-0xc1;let _0x2bd717=_0x5ec690[_0xbd67c1];return _0x2bd717;},_0xbd67(_0x2dc938,_0x5ee55f);}export class Sidebar extends _0x2d4d48{[_0x580874(0xd8)];[_0x580874(0x11b)];[_0x580874(0xe1)];[_0x580874(0x112)];[_0x580874(0xe3)];[_0x580874(0x110)];[_0x580874(0x10e)];static get[_0x580874(0x10d)](){const _0x198668=_0x580874;return _0x198668(0xeb);}static get[_0x580874(0x103)](){return!0x0;}static get[_0x580874(0xff)](){return!0x0;}constructor(_0x4aab4b){const _0x506a2e=_0x580874;super(_0x4aab4b),this[_0x506a2e(0xd7)](_0x506a2e(0xcd),void 0x0),this[_0x506a2e(0xd8)]=this[_0x506a2e(0xfc)](),this[_0x506a2e(0xd7)](_0x506a2e(0x100),null),this[_0x506a2e(0x112)]=0x19,this[_0x506a2e(0xe3)]=new Map(),this[_0x506a2e(0x110)]=new Map(),this[_0x506a2e(0xd6)][_0x506a2e(0xe9)][_0x506a2e(0x11a)](_0x506a2e(0x107),!0x1),this[_0x506a2e(0xe1)]=null,this[_0x506a2e(0x11b)]=null,this[_0x506a2e(0x10e)]=[];}[_0x580874(0xc2)](){const _0x3acfa1=_0x580874,_0xdc36e4=this[_0x3acfa1(0xd6)][_0x3acfa1(0xe9)][_0x3acfa1(0xcc)](_0x3acfa1(0x114));_0xdc36e4&&this[_0x3acfa1(0xf3)](_0xdc36e4);}[_0x580874(0xf3)](_0x279f2d){const _0x4c9773=_0x580874;if(!g(_0x279f2d))throw new _0x49e40f(_0x4c9773(0x117));this[_0x4c9773(0x100)]=_0x279f2d;}[_0x580874(0xcb)]({viewClass:_0xa9ba5f='',spaceBetweenItems:_0x55f9df=0x19}={}){const _0x33f0ae=_0x580874;if(!g(this[_0x33f0ae(0x100)]))throw new _0x49e40f(_0x33f0ae(0xcf),this);this[_0x33f0ae(0x100)][_0x33f0ae(0xc6)](this[_0x33f0ae(0xd8)][_0x33f0ae(0xc5)]),this[_0x33f0ae(0xd8)][_0x33f0ae(0x105)]=_0xa9ba5f,this[_0x33f0ae(0x112)]=_0x55f9df;}[_0x580874(0x108)]({removedAnnotation:_0x16c66c,previousAnnotation:_0x205353,nextAnnotation:_0xb9b733}){const _0x2675a4=_0x580874,_0x376610=this[_0x2675a4(0xdc)](_0x16c66c);this[_0x2675a4(0xd8)][_0x2675a4(0x10a)][_0x2675a4(0xd5)](_0x376610),this[_0x2675a4(0x106)](_0x16c66c),_0x205353&&this[_0x2675a4(0xe4)](this[_0x2675a4(0xdc)](_0x205353)),_0xb9b733&&this[_0x2675a4(0xe4)](this[_0x2675a4(0xdc)](_0xb9b733)),this[_0x2675a4(0xef)]();}[_0x580874(0x101)]({blurredAnnotation:_0x4be400,activatedAnnotation:_0x51ab4c,disableAnimationOnActivatedAnnotation:_0x259304}){const _0x5db6ef=_0x580874;if(this[_0x5db6ef(0x11b)]=_0x51ab4c,_0x4be400){_0x4be400[_0x5db6ef(0xc9)]=!0x1;const _0x11470c=this[_0x5db6ef(0xdc)](_0x4be400);_0x11470c&&_0x259304&&(_0x11470c[_0x5db6ef(0xdb)]=!0x1);}if(_0x51ab4c){const _0x453703=this[_0x5db6ef(0xdc)](_0x51ab4c);_0x453703&&(_0x51ab4c[_0x5db6ef(0xc9)]=!0x0,_0x259304&&(_0x453703[_0x5db6ef(0xdb)]=!0x0,_0x453703[_0x5db6ef(0xce)]+=0x1),this[_0x5db6ef(0xe4)](_0x453703));}}[_0x580874(0x109)](_0x212af6){const _0xedf585=_0x580874;if(this[_0xedf585(0xd8)][_0xedf585(0xc5)][_0xedf585(0xd5)](),_0x212af6){for(const _0x3c6807 of _0x212af6)this[_0xedf585(0x106)](_0x3c6807);}this[_0xedf585(0xd8)][_0xedf585(0x10a)][_0xedf585(0xc7)](),this[_0xedf585(0xd8)][_0xedf585(0x105)]='',this[_0xedf585(0xcd)]=null;}[_0x580874(0xd0)](_0x1115f8,_0x9fef1d){const _0x274242=_0x580874;_0x9fef1d||(_0x9fef1d=_0x1115f8[_0x274242(0xd8)]);const _0x11b748=new _0x2400f1(this[_0x274242(0xd6)][_0x274242(0xf8)]);this[_0x274242(0xe3)][_0x274242(0xd7)](_0x11b748,_0x1115f8),this[_0x274242(0x110)][_0x274242(0xd7)](_0x1115f8,_0x11b748),_0x11b748[_0x274242(0xc4)][_0x274242(0x116)](_0x9fef1d),this[_0x274242(0xea)](_0x1115f8[_0x274242(0xd8)],_0x274242(0xf1),(_0xf5fa5e,_0x325f48,_0x59be08)=>{const _0x1f02d7=_0x274242,_0x130ce1=this[_0x1f02d7(0xd2)](_0x1115f8,_0x59be08);_0x11b748[_0x1f02d7(0xf4)]!=_0x130ce1&&(_0x11b748[_0x1f02d7(0xf4)]=_0x130ce1,this[_0x1f02d7(0xdf)](_0x11b748,_0x130ce1));}),this[_0x274242(0xea)](_0x11b748,_0x274242(0x104),()=>{const _0x553182=_0x274242;this[_0x553182(0x113)](_0x11b748,_0x553182(0xce));}),this[_0x274242(0xea)](_0x11b748,_0x274242(0xd1),()=>{const _0x9d829a=_0x274242;this[_0x9d829a(0x113)](_0x11b748,_0x9d829a(0x111));}),this[_0x274242(0xe4)](_0x11b748);const _0x2baf21=this[_0x274242(0x10b)](_0x11b748);if(_0x2baf21)this[_0x274242(0xe7)](_0x2baf21,_0x11b748)||this[_0x274242(0xe4)](_0x11b748);else this[_0x274242(0xe4)](_0x11b748);return this[_0x274242(0xef)](),this[_0x274242(0xd8)][_0x274242(0x10a)][_0x274242(0x116)](_0x11b748),_0x11b748;}[_0x580874(0xee)](_0x582b61){const _0x40d3ec=_0x580874;if(!_0x582b61[_0x40d3ec(0xc4)][_0x40d3ec(0xd3)])return;const _0xe0a889=this[_0x40d3ec(0x10b)](_0x582b61);if(!_0xe0a889)return;const _0x3380b1=this[_0x40d3ec(0xe3)][_0x40d3ec(0xcc)](_0xe0a889),_0x295832=this[_0x40d3ec(0x11b)];_0x295832&&_0x295832===_0x3380b1?this[_0x40d3ec(0xe7)](_0xe0a889,_0x582b61):this[_0x40d3ec(0x11c)](_0x582b61,_0xe0a889);}[_0x580874(0x102)](_0x5c864a){const _0x326b64=_0x580874;if(!_0x5c864a[_0x326b64(0xc4)][_0x326b64(0xd3)])return;const _0x477316=this[_0x326b64(0xe8)](_0x5c864a);if(!_0x477316)return;const _0x3c623f=this[_0x326b64(0xe3)][_0x326b64(0xcc)](_0x477316),_0x5f2100=this[_0x326b64(0xd6)][_0x326b64(0xe9)][_0x326b64(0xcc)](_0x326b64(0x107)),_0x53a4a2=this[_0x326b64(0x11b)];_0x53a4a2&&_0x53a4a2===_0x3c623f&&_0x5f2100?(this[_0x326b64(0x11c)](_0x477316,_0x5c864a),this[_0x326b64(0xe7)](_0x5c864a,_0x477316)):_0x53a4a2&&_0x53a4a2===_0x3c623f?this[_0x326b64(0x11c)](_0x477316,_0x5c864a):this[_0x326b64(0xe7)](_0x5c864a,_0x477316);}[_0x580874(0x113)](_0x11eb1d,_0x5130f5){const _0x53cbb1=_0x580874;0x0===this[_0x53cbb1(0x10e)][_0x53cbb1(0xd3)]&&setTimeout(()=>{const _0x26836e=_0x53cbb1;for(const {sidebarItemView:_0x34f6c5,changedProp:_0x447b87}of this[_0x26836e(0x10e)])_0x26836e(0xce)===_0x447b87?this[_0x26836e(0xee)](_0x34f6c5):this[_0x26836e(0x102)](_0x34f6c5);this[_0x26836e(0x10e)]=[];},0xa),this[_0x53cbb1(0x10e)][_0x53cbb1(0xf6)]({'sidebarItemView':_0x11eb1d,'changedProp':_0x5130f5});}[_0x580874(0xdc)](_0x33d123){const _0x161733=_0x580874;return this[_0x161733(0x110)][_0x161733(0xcc)](_0x33d123);}[_0x580874(0xfe)](){const _0x186d60=_0x580874;this[_0x186d60(0xf5)](),this[_0x186d60(0xd8)][_0x186d60(0xfe)]();}[_0x580874(0x106)](_0x47aee3){const _0x4b0ac5=_0x580874,_0x5dabec=this[_0x4b0ac5(0xdc)](_0x47aee3);this[_0x4b0ac5(0xf5)](_0x5dabec),this[_0x4b0ac5(0xf5)](_0x47aee3[_0x4b0ac5(0xd8)]),_0x5dabec[_0x4b0ac5(0xfe)](),this[_0x4b0ac5(0x110)][_0x4b0ac5(0x10c)](_0x47aee3),this[_0x4b0ac5(0xe3)][_0x4b0ac5(0x10c)](_0x5dabec);}[_0x580874(0xfc)](){const _0x4196ab=_0x580874,_0x3a4ddb=new _0x15e797(this[_0x4196ab(0xd6)][_0x4196ab(0xf8)]);return _0x3a4ddb[_0x4196ab(0x119)](),this['on'](_0x4196ab(0xf7),(_0x1ca4a8,_0x356089,_0x2873ea,_0x4b85b8)=>{const _0x260272=_0x4196ab;_0x4b85b8&&_0x3a4ddb[_0x260272(0x10f)](_0x260272(0xde)),_0x2873ea?_0x3a4ddb[_0x260272(0xc1)](_0x260272(0xde))['to'](_0x2873ea,_0x260272(0x111)):_0x3a4ddb[_0x260272(0xde)]=null;}),_0x3a4ddb;}[_0x580874(0xef)](){const _0x6f322d=_0x580874;this[_0x6f322d(0xcd)]=this[_0x6f322d(0xe1)]?.[_0x6f322d(0xf2)]?this[_0x6f322d(0xdc)](this[_0x6f322d(0xe1)][_0x6f322d(0xf2)]):null;}[_0x580874(0x10b)](_0x3e8a27){const _0x231055=_0x580874,_0x33b7a1=this[_0x231055(0xe3)][_0x231055(0xcc)](_0x3e8a27),_0x1c7910=_0x33b7a1&&this[_0x231055(0xe1)]?.[_0x231055(0xcc)](this[_0x231055(0xe1)][_0x231055(0xdd)](_0x33b7a1)-0x1);return _0x1c7910&&this[_0x231055(0xdc)](_0x1c7910)||null;}[_0x580874(0xe8)](_0x422f5b){const _0x1655cf=_0x580874,_0xb8001a=this[_0x1655cf(0xe3)][_0x1655cf(0xcc)](_0x422f5b),_0x1af3fc=_0xb8001a&&this[_0x1655cf(0xe1)]?.[_0x1655cf(0xcc)](this[_0x1655cf(0xe1)][_0x1655cf(0xdd)](_0xb8001a)+0x1);return _0x1af3fc&&this[_0x1655cf(0xdc)](_0x1af3fc)||null;}[_0x580874(0x11c)](_0x3f881b,_0x56a149){const _0x389283=_0x580874;_0x3f881b[_0x389283(0xda)]();const _0x40f657=G(_0x56a149[_0x389283(0x111)]+this[_0x389283(0x112)],_0x3f881b[_0x389283(0xce)]);return!!_0x40f657&&(this[_0x389283(0xdf)](_0x56a149,_0x56a149[_0x389283(0xce)]-_0x40f657),!0x0);}[_0x580874(0xe7)](_0x520209,_0x14be52){const _0x3be6be=_0x580874;_0x520209[_0x3be6be(0xda)]();const _0x3202d4=G(_0x520209[_0x3be6be(0x111)]+this[_0x3be6be(0x112)],_0x14be52[_0x3be6be(0xce)]);return!!_0x3202d4&&(this[_0x3be6be(0xdf)](_0x14be52,_0x14be52[_0x3be6be(0xce)]+_0x3202d4,!0x1),!0x0);}[_0x580874(0xe4)](_0x1a4f7c){const _0x21d9e4=_0x580874,_0x1699e7=this[_0x21d9e4(0xe3)][_0x21d9e4(0xcc)](_0x1a4f7c);if(!_0x1699e7||!_0x1699e7[_0x21d9e4(0xe6)]||!_0x1699e7[_0x21d9e4(0xfa)])return;const _0x40b21c=this[_0x21d9e4(0xd2)](_0x1699e7,_0x1699e7[_0x21d9e4(0xfa)]);this[_0x21d9e4(0xdf)](_0x1a4f7c,_0x40b21c);}[_0x580874(0xd2)](_0x30721a,_0x5c014b){const _0x204ce6=_0x580874;if(null===_0x5c014b)return 0x0;if(_0x30721a[_0x204ce6(0xe6)]instanceof _0x4ca7ed)return _0x5c014b[_0x204ce6(0xce)];{const _0x272f6a=new _0x4ca7ed(this[_0x204ce6(0xd8)][_0x204ce6(0xc5)])[_0x204ce6(0xce)];return _0x5c014b[_0x204ce6(0xce)]-_0x272f6a;}}[_0x580874(0xdf)](_0x4a5150,_0x13afa5,_0x750e5=this[_0x580874(0xd6)][_0x580874(0xe9)][_0x580874(0xcc)](_0x580874(0x107))){const _0x343e3c=_0x580874;_0x750e5&&(_0x13afa5=Math[_0x343e3c(0x118)](_0x13afa5,this[_0x343e3c(0xd4)](_0x4a5150))),_0x4a5150[_0x343e3c(0xce)]=_0x13afa5;}[_0x580874(0xd4)](_0x3d98d7){const _0x31e1ae=_0x580874;let _0x247484=this[_0x31e1ae(0x10b)](_0x3d98d7),_0x44ad31=0x0;for(;_0x247484;)_0x247484[_0x31e1ae(0xda)](),_0x44ad31+=this[_0x31e1ae(0x112)]+_0x247484[_0x31e1ae(0xec)],_0x247484=this[_0x31e1ae(0x10b)](_0x247484);return _0x44ad31;}}function G(_0x32f055,_0x152097){const _0x171eee=_0x580874;return Math[_0x171eee(0x118)](_0x32f055-_0x152097,0x0);}function g(_0xc763e4){const _0x267087=_0x580874;return null!==_0xc763e4&&_0x267087(0xf0)==typeof _0xc763e4&&0x1===_0xc763e4[_0x267087(0xca)];}
|
|
23
|
+
const _0x530bf3=_0x4eb8;(function(_0x420c71,_0x3caebb){const _0x3e7baf=_0x4eb8,_0xe579d=_0x420c71();while(!![]){try{const _0x160c0=parseInt(_0x3e7baf(0x1e6))/0x1+parseInt(_0x3e7baf(0x1cf))/0x2*(-parseInt(_0x3e7baf(0x21a))/0x3)+parseInt(_0x3e7baf(0x1c0))/0x4+-parseInt(_0x3e7baf(0x1f5))/0x5*(-parseInt(_0x3e7baf(0x1f1))/0x6)+parseInt(_0x3e7baf(0x1fc))/0x7*(-parseInt(_0x3e7baf(0x201))/0x8)+parseInt(_0x3e7baf(0x1e4))/0x9+parseInt(_0x3e7baf(0x20b))/0xa*(parseInt(_0x3e7baf(0x1ed))/0xb);if(_0x160c0===_0x3caebb)break;else _0xe579d['push'](_0xe579d['shift']());}catch(_0x458059){_0xe579d['push'](_0xe579d['shift']());}}}(_0x2b80,0x72c93));import{ContextPlugin as _0x5d0e47}from'ckeditor5/src/core.js';import{Rect as _0x872403,CKEditorError as _0x406ead}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x3a0404}from'./view/sidebarview.js';function _0x2b80(){const _0x27b947=['bind','_alignToTargetRect','_attachToContainer','710iPlmNc','_detachFromContainer','isAnimationDisabled','isActive','_getTargetTop','change:bottom','_sidebarItemViewToAnnotation','sidebar-attachtocontainer-missing-container','context','getSidebarItemView','destroy','_annotationToSidebarItemView','config','minHeight','height','3mhbVWM','_lastItem','900408jHxhEj','set','pluginName','_annotations','_alignBeforeItem','locale','push','target','_createSidebarView','sidebar.preventScrollOutOfView','clear','_targetTop','Sidebar','list','object','1720102lhVloI','delete','init','container','content','addAnnotation','_getItemBefore','_activeAnnotation','_recalculateBuffer','appendChild','change:targetRect','length','define','rearrange','_alignForTopChange','_recalculate','targetRect','add','refresh','remove','_destroySidebarItemView','7991541ymyZCg','bottom','13460DzAosC','unbind','view','sidebar.container','top','change:_lastItem','_spaceBetweenItems','140822REDXVM','_getMaxAvailableTop','element','sidebar-setcontainer-invalid-element','15546ezCAwM','_setItemTop','isOfficialPlugin','getIndex','230kqGieR','_updateLastItem','change:top','render','nodeType','listenTo','isPremiumPlugin','8575UYiJmY','class','last','_alignAfterItem','get','5384SUMvgd','updateHeight','_alignForBottomChange','max','_getItemAfter','stopListening','setContainer'];_0x2b80=function(){return _0x27b947;};return _0x2b80();}import{AnnotationsSidebarItemView as _0x37a0ec}from'./view/sidebaritemview.js';function _0x4eb8(_0x2518fa,_0x14510b){const _0x2b80a4=_0x2b80();return _0x4eb8=function(_0x4eb89d,_0x27db82){_0x4eb89d=_0x4eb89d-0x1c0;let _0x330f26=_0x2b80a4[_0x4eb89d];return _0x330f26;},_0x4eb8(_0x2518fa,_0x14510b);}export class Sidebar extends _0x5d0e47{[_0x530bf3(0x1e8)];[_0x530bf3(0x1d6)];[_0x530bf3(0x1c3)];[_0x530bf3(0x1ec)];[_0x530bf3(0x211)];[_0x530bf3(0x216)];[_0x530bf3(0x1d7)];static get[_0x530bf3(0x1c2)](){const _0x1e594c=_0x530bf3;return _0x1e594c(0x1cc);}static get[_0x530bf3(0x1f3)](){return!0x0;}static get[_0x530bf3(0x1fb)](){return!0x0;}constructor(_0x3a08a6){const _0x10fb61=_0x530bf3;super(_0x3a08a6),this[_0x10fb61(0x1c1)](_0x10fb61(0x21b),void 0x0),this[_0x10fb61(0x1e8)]=this[_0x10fb61(0x1c8)](),this[_0x10fb61(0x1c1)](_0x10fb61(0x1d2),null),this[_0x10fb61(0x1ec)]=0x19,this[_0x10fb61(0x211)]=new Map(),this[_0x10fb61(0x216)]=new Map(),this[_0x10fb61(0x213)][_0x10fb61(0x217)][_0x10fb61(0x1db)](_0x10fb61(0x1c9),!0x1),this[_0x10fb61(0x1c3)]=null,this[_0x10fb61(0x1d6)]=null,this[_0x10fb61(0x1d7)]=[];}[_0x530bf3(0x1d1)](){const _0x374887=_0x530bf3,_0x5b67e2=this[_0x374887(0x213)][_0x374887(0x217)][_0x374887(0x200)](_0x374887(0x1e9));_0x5b67e2&&this[_0x374887(0x207)](_0x5b67e2);}[_0x530bf3(0x207)](_0x463405){const _0x4572b6=_0x530bf3;if(!g(_0x463405))throw new _0x406ead(_0x4572b6(0x1f0));this[_0x4572b6(0x1d2)]=_0x463405;}[_0x530bf3(0x20a)]({viewClass:_0x102f11='',spaceBetweenItems:_0x60c097=0x19}={}){const _0x4b7095=_0x530bf3;if(!g(this[_0x4b7095(0x1d2)]))throw new _0x406ead(_0x4b7095(0x212),this);this[_0x4b7095(0x1d2)][_0x4b7095(0x1d8)](this[_0x4b7095(0x1e8)][_0x4b7095(0x1ef)]),this[_0x4b7095(0x1e8)][_0x4b7095(0x1fd)]=_0x102f11,this[_0x4b7095(0x1ec)]=_0x60c097;}[_0x530bf3(0x1dc)]({removedAnnotation:_0x4411b2,previousAnnotation:_0x26d367,nextAnnotation:_0x4633f3}){const _0x3fc492=_0x530bf3,_0x5859f2=this[_0x3fc492(0x214)](_0x4411b2);this[_0x3fc492(0x1e8)][_0x3fc492(0x1cd)][_0x3fc492(0x1e2)](_0x5859f2),this[_0x3fc492(0x1e3)](_0x4411b2),_0x26d367&&this[_0x3fc492(0x209)](this[_0x3fc492(0x214)](_0x26d367)),_0x4633f3&&this[_0x3fc492(0x209)](this[_0x3fc492(0x214)](_0x4633f3)),this[_0x3fc492(0x1f6)]();}[_0x530bf3(0x1e1)]({blurredAnnotation:_0x2ed6c3,activatedAnnotation:_0x26aa56,disableAnimationOnActivatedAnnotation:_0x535e58}){const _0x52c180=_0x530bf3;if(this[_0x52c180(0x1d6)]=_0x26aa56,_0x2ed6c3){_0x2ed6c3[_0x52c180(0x20e)]=!0x1;const _0x571567=this[_0x52c180(0x214)](_0x2ed6c3);_0x571567&&_0x535e58&&(_0x571567[_0x52c180(0x20d)]=!0x1);}if(_0x26aa56){const _0x55eb48=this[_0x52c180(0x214)](_0x26aa56);_0x55eb48&&(_0x26aa56[_0x52c180(0x20e)]=!0x0,_0x535e58&&(_0x55eb48[_0x52c180(0x20d)]=!0x0,_0x55eb48[_0x52c180(0x1ea)]+=0x1),this[_0x52c180(0x209)](_0x55eb48));}}[_0x530bf3(0x20c)](_0x312540){const _0x189c6f=_0x530bf3;if(this[_0x189c6f(0x1e8)][_0x189c6f(0x1ef)][_0x189c6f(0x1e2)](),_0x312540){for(const _0x20f5e1 of _0x312540)this[_0x189c6f(0x1e3)](_0x20f5e1);}this[_0x189c6f(0x1e8)][_0x189c6f(0x1cd)][_0x189c6f(0x1ca)](),this[_0x189c6f(0x1e8)][_0x189c6f(0x1fd)]='',this[_0x189c6f(0x21b)]=null;}[_0x530bf3(0x1d4)](_0x27d874,_0x3cac8e){const _0x3ec82f=_0x530bf3;_0x3cac8e||(_0x3cac8e=_0x27d874[_0x3ec82f(0x1e8)]);const _0x36a310=new _0x37a0ec(this[_0x3ec82f(0x213)][_0x3ec82f(0x1c5)]);this[_0x3ec82f(0x211)][_0x3ec82f(0x1c1)](_0x36a310,_0x27d874),this[_0x3ec82f(0x216)][_0x3ec82f(0x1c1)](_0x27d874,_0x36a310),_0x36a310[_0x3ec82f(0x1d3)][_0x3ec82f(0x1e0)](_0x3cac8e),this[_0x3ec82f(0x1fa)](_0x27d874[_0x3ec82f(0x1e8)],_0x3ec82f(0x1d9),(_0x621dd8,_0x4dfdd1,_0x570465)=>{const _0xebb5de=_0x3ec82f,_0x262180=this[_0xebb5de(0x20f)](_0x27d874,_0x570465);_0x36a310[_0xebb5de(0x1cb)]!=_0x262180&&(_0x36a310[_0xebb5de(0x1cb)]=_0x262180,this[_0xebb5de(0x1f2)](_0x36a310,_0x262180));}),this[_0x3ec82f(0x1fa)](_0x36a310,_0x3ec82f(0x1f7),()=>{const _0x12db96=_0x3ec82f;this[_0x12db96(0x1de)](_0x36a310,_0x12db96(0x1ea));}),this[_0x3ec82f(0x1fa)](_0x36a310,_0x3ec82f(0x210),()=>{const _0x3213c0=_0x3ec82f;this[_0x3213c0(0x1de)](_0x36a310,_0x3213c0(0x1e5));}),this[_0x3ec82f(0x209)](_0x36a310);const _0x3cdd13=this[_0x3ec82f(0x1d5)](_0x36a310);if(_0x3cdd13)this[_0x3ec82f(0x1ff)](_0x3cdd13,_0x36a310)||this[_0x3ec82f(0x209)](_0x36a310);else this[_0x3ec82f(0x209)](_0x36a310);return this[_0x3ec82f(0x1f6)](),this[_0x3ec82f(0x1e8)][_0x3ec82f(0x1cd)][_0x3ec82f(0x1e0)](_0x36a310),_0x36a310;}[_0x530bf3(0x1dd)](_0x5517d6){const _0x40a2d3=_0x530bf3;if(!_0x5517d6[_0x40a2d3(0x1d3)][_0x40a2d3(0x1da)])return;const _0xb67a80=this[_0x40a2d3(0x1d5)](_0x5517d6);if(!_0xb67a80)return;const _0xa3a040=this[_0x40a2d3(0x211)][_0x40a2d3(0x200)](_0xb67a80),_0x31ab96=this[_0x40a2d3(0x1d6)];_0x31ab96&&_0x31ab96===_0xa3a040?this[_0x40a2d3(0x1ff)](_0xb67a80,_0x5517d6):this[_0x40a2d3(0x1c4)](_0x5517d6,_0xb67a80);}[_0x530bf3(0x203)](_0x24e848){const _0x23e8a3=_0x530bf3;if(!_0x24e848[_0x23e8a3(0x1d3)][_0x23e8a3(0x1da)])return;const _0x55a8d7=this[_0x23e8a3(0x205)](_0x24e848);if(!_0x55a8d7)return;const _0x367f4f=this[_0x23e8a3(0x211)][_0x23e8a3(0x200)](_0x55a8d7),_0x4c3c68=this[_0x23e8a3(0x213)][_0x23e8a3(0x217)][_0x23e8a3(0x200)](_0x23e8a3(0x1c9)),_0x3a1c97=this[_0x23e8a3(0x1d6)];_0x3a1c97&&_0x3a1c97===_0x367f4f&&_0x4c3c68?(this[_0x23e8a3(0x1c4)](_0x55a8d7,_0x24e848),this[_0x23e8a3(0x1ff)](_0x24e848,_0x55a8d7)):_0x3a1c97&&_0x3a1c97===_0x367f4f?this[_0x23e8a3(0x1c4)](_0x55a8d7,_0x24e848):this[_0x23e8a3(0x1ff)](_0x24e848,_0x55a8d7);}[_0x530bf3(0x1de)](_0x41de27,_0x3f2f9a){const _0x592129=_0x530bf3;0x0===this[_0x592129(0x1d7)][_0x592129(0x1da)]&&setTimeout(()=>{const _0x127481=_0x592129;for(const {sidebarItemView:_0x3f06a9,changedProp:_0x28fab8}of this[_0x127481(0x1d7)])_0x127481(0x1ea)===_0x28fab8?this[_0x127481(0x1dd)](_0x3f06a9):this[_0x127481(0x203)](_0x3f06a9);this[_0x127481(0x1d7)]=[];},0xa),this[_0x592129(0x1d7)][_0x592129(0x1c6)]({'sidebarItemView':_0x41de27,'changedProp':_0x3f2f9a});}[_0x530bf3(0x214)](_0x3c415c){const _0x2d547f=_0x530bf3;return this[_0x2d547f(0x216)][_0x2d547f(0x200)](_0x3c415c);}[_0x530bf3(0x215)](){const _0x68864f=_0x530bf3;this[_0x68864f(0x206)](),this[_0x68864f(0x1e8)][_0x68864f(0x215)]();}[_0x530bf3(0x1e3)](_0x3cc641){const _0x313aed=_0x530bf3,_0x416d8b=this[_0x313aed(0x214)](_0x3cc641);this[_0x313aed(0x206)](_0x416d8b),this[_0x313aed(0x206)](_0x3cc641[_0x313aed(0x1e8)]),_0x416d8b[_0x313aed(0x215)](),this[_0x313aed(0x216)][_0x313aed(0x1d0)](_0x3cc641),this[_0x313aed(0x211)][_0x313aed(0x1d0)](_0x416d8b);}[_0x530bf3(0x1c8)](){const _0x45b00a=_0x530bf3,_0x3ef59c=new _0x3a0404(this[_0x45b00a(0x213)][_0x45b00a(0x1c5)]);return _0x3ef59c[_0x45b00a(0x1f8)](),this['on'](_0x45b00a(0x1eb),(_0x3ec47e,_0x1996d5,_0xdfd973,_0x441a2c)=>{const _0x2c6573=_0x45b00a;_0x441a2c&&_0x3ef59c[_0x2c6573(0x1e7)](_0x2c6573(0x218)),_0xdfd973?_0x3ef59c[_0x2c6573(0x208)](_0x2c6573(0x218))['to'](_0xdfd973,_0x2c6573(0x1e5)):_0x3ef59c[_0x2c6573(0x218)]=null;}),_0x3ef59c;}[_0x530bf3(0x1f6)](){const _0x3e2bc0=_0x530bf3;this[_0x3e2bc0(0x21b)]=this[_0x3e2bc0(0x1c3)]?.[_0x3e2bc0(0x1fe)]?this[_0x3e2bc0(0x214)](this[_0x3e2bc0(0x1c3)][_0x3e2bc0(0x1fe)]):null;}[_0x530bf3(0x1d5)](_0xf064b7){const _0x16d5ca=_0x530bf3,_0x4ee099=this[_0x16d5ca(0x211)][_0x16d5ca(0x200)](_0xf064b7),_0x3f7ec9=_0x4ee099&&this[_0x16d5ca(0x1c3)]?.[_0x16d5ca(0x200)](this[_0x16d5ca(0x1c3)][_0x16d5ca(0x1f4)](_0x4ee099)-0x1);return _0x3f7ec9&&this[_0x16d5ca(0x214)](_0x3f7ec9)||null;}[_0x530bf3(0x205)](_0x207628){const _0x141a3d=_0x530bf3,_0x4c2b62=this[_0x141a3d(0x211)][_0x141a3d(0x200)](_0x207628),_0x325f45=_0x4c2b62&&this[_0x141a3d(0x1c3)]?.[_0x141a3d(0x200)](this[_0x141a3d(0x1c3)][_0x141a3d(0x1f4)](_0x4c2b62)+0x1);return _0x325f45&&this[_0x141a3d(0x214)](_0x325f45)||null;}[_0x530bf3(0x1c4)](_0x3ab872,_0x3dd38f){const _0x426b3f=_0x530bf3;_0x3ab872[_0x426b3f(0x202)]();const _0x23935f=G(_0x3dd38f[_0x426b3f(0x1e5)]+this[_0x426b3f(0x1ec)],_0x3ab872[_0x426b3f(0x1ea)]);return!!_0x23935f&&(this[_0x426b3f(0x1f2)](_0x3dd38f,_0x3dd38f[_0x426b3f(0x1ea)]-_0x23935f),!0x0);}[_0x530bf3(0x1ff)](_0x16adb3,_0x369245){const _0x89ef40=_0x530bf3;_0x16adb3[_0x89ef40(0x202)]();const _0x3a807c=G(_0x16adb3[_0x89ef40(0x1e5)]+this[_0x89ef40(0x1ec)],_0x369245[_0x89ef40(0x1ea)]);return!!_0x3a807c&&(this[_0x89ef40(0x1f2)](_0x369245,_0x369245[_0x89ef40(0x1ea)]+_0x3a807c,!0x1),!0x0);}[_0x530bf3(0x209)](_0x5257b6){const _0x338207=_0x530bf3,_0x154cbf=this[_0x338207(0x211)][_0x338207(0x200)](_0x5257b6);if(!_0x154cbf||!_0x154cbf[_0x338207(0x1c7)]||!_0x154cbf[_0x338207(0x1df)])return;const _0x53b283=this[_0x338207(0x20f)](_0x154cbf,_0x154cbf[_0x338207(0x1df)]);this[_0x338207(0x1f2)](_0x5257b6,_0x53b283);}[_0x530bf3(0x20f)](_0x521cdc,_0x5ccf17){const _0x4f10d7=_0x530bf3;if(null===_0x5ccf17)return 0x0;if(_0x521cdc[_0x4f10d7(0x1c7)]instanceof _0x872403)return _0x5ccf17[_0x4f10d7(0x1ea)];{const _0x49c6a8=new _0x872403(this[_0x4f10d7(0x1e8)][_0x4f10d7(0x1ef)])[_0x4f10d7(0x1ea)];return _0x5ccf17[_0x4f10d7(0x1ea)]-_0x49c6a8;}}[_0x530bf3(0x1f2)](_0x2aaff9,_0x2d77ca,_0x4cfffd=this[_0x530bf3(0x213)][_0x530bf3(0x217)][_0x530bf3(0x200)](_0x530bf3(0x1c9))){const _0x5098ed=_0x530bf3;_0x4cfffd&&(_0x2d77ca=Math[_0x5098ed(0x204)](_0x2d77ca,this[_0x5098ed(0x1ee)](_0x2aaff9))),_0x2aaff9[_0x5098ed(0x1ea)]=_0x2d77ca;}[_0x530bf3(0x1ee)](_0x32e967){const _0x188d16=_0x530bf3;let _0x54ef6c=this[_0x188d16(0x1d5)](_0x32e967),_0x2920a8=0x0;for(;_0x54ef6c;)_0x54ef6c[_0x188d16(0x202)](),_0x2920a8+=this[_0x188d16(0x1ec)]+_0x54ef6c[_0x188d16(0x219)],_0x54ef6c=this[_0x188d16(0x1d5)](_0x54ef6c);return _0x2920a8;}}function G(_0x203a4a,_0x2b7c10){const _0xa3b107=_0x530bf3;return Math[_0xa3b107(0x204)](_0x203a4a-_0x2b7c10,0x0);}function g(_0x300533){const _0x5acb81=_0x530bf3;return null!==_0x300533&&_0x5acb81(0x1ce)==typeof _0x300533&&0x1===_0x300533[_0x5acb81(0x1f9)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1a4a8c=_0x2453;function _0x2453(_0x129d92,_0x38a76b){const _0x2edbfc=_0x2edb();return _0x2453=function(_0x245383,_0x337419){_0x245383=_0x245383-0xf3;let _0x5caa0b=_0x2edbfc[_0x245383];return _0x5caa0b;},_0x2453(_0x129d92,_0x38a76b);}(function(_0x3f19e0,_0x213655){const _0xde6391=_0x2453,_0x3f3b01=_0x3f19e0();while(!![]){try{const _0x98c1a8=-parseInt(_0xde6391(0x109))/0x1+-parseInt(_0xde6391(0x10b))/0x2+-parseInt(_0xde6391(0x104))/0x3+parseInt(_0xde6391(0x10a))/0x4*(-parseInt(_0xde6391(0x102))/0x5)+-parseInt(_0xde6391(0xfc))/0x6*(-parseInt(_0xde6391(0xf4))/0x7)+-parseInt(_0xde6391(0xf3))/0x8+parseInt(_0xde6391(0x107))/0x9;if(_0x98c1a8===_0x213655)break;else _0x3f3b01['push'](_0x3f3b01['shift']());}catch(_0x5df3fe){_0x3f3b01['push'](_0x3f3b01['shift']());}}}(_0x2edb,0xe88a9));function _0x2edb(){const _0x34103b=['1107042aROpKg','164mBhOkG','2165658aGtyPL','bind','isDirty','number','toString','2260816OYBpwS','13202ACzbLh','children','set','bindTemplate','setTemplate','span','counterView','annotationType','4470JMPTXn','_badge','icon','...','ck-annotation-counter__badge--edit-mode','add','190835kRduJL','extendTemplate','1107348VWngWs','ck-annotation-counter__badge','ck-annotation-counter','35584695jmXlyT','ck-annotation-counter__badge--'];_0x2edb=function(){return _0x34103b;};return _0x2edb();}import{ButtonView as _0x36a374,View as _0x30f971}from'ckeditor5/src/ui.js';import{IconAddComment as _0x4cef64}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x36a374{[_0x1a4a8c(0xfa)];constructor(_0x36ccde){const _0xeaf50e=_0x1a4a8c;super(_0x36ccde);const _0x1422a0=this[_0xeaf50e(0xf7)];this[_0xeaf50e(0xf6)](_0xeaf50e(0x10d),!0x1),this[_0xeaf50e(0xf6)](_0xeaf50e(0x10e),0x0),this[_0xeaf50e(0x10c)](_0xeaf50e(0xfd))['to'](this,_0xeaf50e(0x10d),this,_0xeaf50e(0x10e),(_0x32a776,_0x48115f)=>_0x32a776?_0xeaf50e(0xff):_0x48115f[_0xeaf50e(0x10f)]()),this[_0xeaf50e(0xf6)](_0xeaf50e(0xfb),''),this[_0xeaf50e(0xfe)]=_0x4cef64,this[_0xeaf50e(0x103)]({'attributes':{'class':[_0xeaf50e(0x106)]}}),this[_0xeaf50e(0xfa)]=new _0x30f971(),this[_0xeaf50e(0xfa)][_0xeaf50e(0xf8)]({'tag':_0xeaf50e(0xf9),'attributes':{'class':[_0xeaf50e(0x105),_0x1422a0['to'](_0xeaf50e(0xfb),_0x3e483d=>_0xeaf50e(0x108)+_0x3e483d),_0x1422a0['if'](_0xeaf50e(0x10d),_0xeaf50e(0x100))]},'children':[{'text':_0x1422a0['to'](_0xeaf50e(0xfd))}]}),this[_0xeaf50e(0xf5)][_0xeaf50e(0x101)](this[_0xeaf50e(0xfa)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x420702=_0x36a2;(function(_0x1d26d3,_0x3ca07b){const _0x58feb8=_0x36a2,_0x1b6297=_0x1d26d3();while(!![]){try{const _0x145091=-parseInt(_0x58feb8(0xef))/0x1*(-parseInt(_0x58feb8(0xf3))/0x2)+parseInt(_0x58feb8(0xde))/0x3*(-parseInt(_0x58feb8(0xd5))/0x4)+parseInt(_0x58feb8(0xfa))/0x5+parseInt(_0x58feb8(0xd7))/0x6+-parseInt(_0x58feb8(0xe9))/0x7+-parseInt(_0x58feb8(0xda))/0x8+parseInt(_0x58feb8(0xfe))/0x9;if(_0x145091===_0x3ca07b)break;else _0x1b6297['push'](_0x1b6297['shift']());}catch(_0x592436){_0x1b6297['push'](_0x1b6297['shift']());}}}(_0x5143,0x6258d));import{View as _0x12a47e}from'ckeditor5/src/ui.js';function _0x5143(){const _0x3957a6=['height','type','_updateHeight','Esc','add','1444345UXYImd','_mutationObserver','isDirty','length','121176Niqszt','set','delegate','render','arrowdown','4LdlmsG','attach','3451518Dbjpbb','ck-annotation-wrapper','element','41320TakZXI','first','setTemplate','isActive','1429704iPEVrQ','listenTo','keystrokes','ck-annotation-wrapper--active','content','arrowup','mainView','focus','createCollection','focusTracker','fire','3795512QUbGnf','targetRect','ck-rounded-corners','clientHeight','clear','presentation','26152Yheizw','destroy','div','bindTemplate','42XcFUFl','detach'];_0x5143=function(){return _0x3957a6;};return _0x5143();}import{FocusTracker as _0x107258,KeystrokeHandler as _0x333d41,uid as _0x2c77f0}from'ckeditor5/src/utils.js';function _0x36a2(_0xf723f8,_0x23dc70){const _0x514337=_0x5143();return _0x36a2=function(_0x36a2c2,_0x4314db){_0x36a2c2=_0x36a2c2-0xd2;let _0x3f9f17=_0x514337[_0x36a2c2];return _0x3f9f17;},_0x36a2(_0xf723f8,_0x23dc70);}import{createMutationObserver as _0x24fee3}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x12a47e{[_0x420702(0xe7)];['id'];[_0x420702(0xe0)];[_0x420702(0xe2)];[_0x420702(0xe4)];[_0x420702(0xfb)];constructor(_0x23240b,_0x969fd3){const _0x142253=_0x420702;super(_0x23240b),this['id']=_0x2c77f0(),this[_0x142253(0xe7)]=new _0x107258(),this[_0x142253(0xe0)]=new _0x333d41(),this[_0x142253(0xe0)][_0x142253(0xff)](_0x142253(0xf8),(_0x572fff,_0x3d2f84)=>this[_0x142253(0xe8)](_0x142253(0xf8),_0x3d2f84)),this[_0x142253(0xff)](_0x142253(0xea),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x142253(0xff)](_0x142253(0xf5),0x0),this[_0x142253(0xff)](_0x142253(0xdd),!0x1),this[_0x142253(0xff)](_0x142253(0xfc),!0x1),this[_0x142253(0xff)](_0x142253(0xfd),0x0),this[_0x142253(0xff)](_0x142253(0xf6),''),this[_0x142253(0xfb)]=_0x24fee3(()=>this[_0x142253(0xf7)]()),this[_0x142253(0xe2)]=this[_0x142253(0xe6)](),this[_0x142253(0xe2)][_0x142253(0xd2)](_0x142253(0xe3),_0x142253(0xd4))['to'](this),this[_0x142253(0xe2)][_0x142253(0xf9)](_0x969fd3),this[_0x142253(0xe4)]=_0x969fd3;const _0x58af80=this[_0x142253(0xf2)];this[_0x142253(0xdc)]({'tag':_0x142253(0xf1),'attributes':{'class':['ck',_0x142253(0xd8),_0x142253(0xeb),_0x58af80['if'](_0x142253(0xdd),_0x142253(0xe1))],'role':_0x142253(0xee)},'children':this[_0x142253(0xe2)]});}[_0x420702(0xd3)](){const _0x492931=_0x420702;super[_0x492931(0xd3)](),this[_0x492931(0xe7)][_0x492931(0xf9)](this[_0x492931(0xd9)]),this[_0x492931(0xe0)][_0x492931(0xdf)](this[_0x492931(0xd9)]),this[_0x492931(0xfb)][_0x492931(0xd6)](this[_0x492931(0xd9)]);}[_0x420702(0xf0)](){const _0x5a581a=_0x420702;this[_0x5a581a(0xe2)][_0x5a581a(0xed)](),this[_0x5a581a(0xe0)][_0x5a581a(0xf0)](),this[_0x5a581a(0xe7)][_0x5a581a(0xf0)](),this[_0x5a581a(0xfb)][_0x5a581a(0xf4)](),super[_0x5a581a(0xf0)]();}[_0x420702(0xe5)](){const _0x105e35=_0x420702;this[_0x105e35(0xe2)][_0x105e35(0xdb)]&&this[_0x105e35(0xe2)][_0x105e35(0xdb)][_0x105e35(0xe5)]();}[_0x420702(0xf7)](){const _0x4db156=_0x420702,_0x507df0=this[_0x4db156(0xd9)][_0x4db156(0xec)];_0x507df0&&(this[_0x4db156(0xf5)]=_0x507df0);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x9362f0=_0x42fc;function _0x1133(){const _0x200799=['element','clientHeight','createCollection','12759CPesWl','bottom','762bJLZhZ','top','presentation','isAnimationDisabled','80824LzeiME','19135006lRQJfO','height','attach','2640916LrSjpq','arrowup','10WtDPVx','detach','35785gRpNtE','first','clear','_mutationObserver','1371850IuWlVj','destroy','set','content','render','arrowdown','updateHeight','bindTemplate','bind','delegate','ck-sidebar-item','setTemplate','ck-sidebar-item--no-animation','13436991TbDOJK','focus','div','620yBzpnq','_targetTop','518VKjBqH'];_0x1133=function(){return _0x200799;};return _0x1133();}(function(_0xcb561c,_0x4face3){const _0x3b6f12=_0x42fc,_0x1408c0=_0xcb561c();while(!![]){try{const _0x5ef212=-parseInt(_0x3b6f12(0x1ef))/0x1+parseInt(_0x3b6f12(0x1e7))/0x2+-parseInt(_0x3b6f12(0x1dd))/0x3*(parseInt(_0x3b6f12(0x1d7))/0x4)+parseInt(_0x3b6f12(0x1eb))/0x5*(-parseInt(_0x3b6f12(0x1df))/0x6)+parseInt(_0x3b6f12(0x1d9))/0x7*(-parseInt(_0x3b6f12(0x1e3))/0x8)+parseInt(_0x3b6f12(0x1d4))/0x9*(parseInt(_0x3b6f12(0x1e9))/0xa)+parseInt(_0x3b6f12(0x1e4))/0xb;if(_0x5ef212===_0x4face3)break;else _0x1408c0['push'](_0x1408c0['shift']());}catch(_0x532de2){_0x1408c0['push'](_0x1408c0['shift']());}}}(_0x1133,0xd3461));import{View as _0x2be6f6}from'ckeditor5/src/ui.js';import{toUnit as _0x28d1bc}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x22749d}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28d1bc('px');function _0x42fc(_0xea6a56,_0x122ae0){const _0x1133db=_0x1133();return _0x42fc=function(_0x42fc03,_0x26ece6){_0x42fc03=_0x42fc03-0x1cf;let _0x335e19=_0x1133db[_0x42fc03];return _0x335e19;},_0x42fc(_0xea6a56,_0x122ae0);}export class AnnotationsSidebarItemView extends _0x2be6f6{[_0x9362f0(0x1f2)];[_0x9362f0(0x1d8)];[_0x9362f0(0x1ee)];constructor(_0x3be238){const _0x458348=_0x9362f0;super(_0x3be238),this[_0x458348(0x1f1)](_0x458348(0x1e0),0x0),this[_0x458348(0x1f1)](_0x458348(0x1e5),0x0),this[_0x458348(0x1cf)](_0x458348(0x1de))['to'](this,_0x458348(0x1e0),this,_0x458348(0x1e5),(_0xa3ae68,_0x4514d6)=>_0xa3ae68+_0x4514d6),this[_0x458348(0x1f1)](_0x458348(0x1e2),!0x1),this[_0x458348(0x1ee)]=_0x22749d(()=>this[_0x458348(0x1f5)]()),this[_0x458348(0x1d8)]=null,this[_0x458348(0x1f2)]=this[_0x458348(0x1dc)](),this[_0x458348(0x1f2)][_0x458348(0x1d0)](_0x458348(0x1e8),_0x458348(0x1f4))['to'](this);const _0x535d73=this[_0x458348(0x1f6)];this[_0x458348(0x1d2)]({'tag':_0x458348(0x1d6),'attributes':{'class':[_0x458348(0x1d1),_0x535d73['to'](_0x458348(0x1e2),_0xd03311=>_0xd03311?_0x458348(0x1d3):'')],'style':{'top':_0x535d73['to'](_0x458348(0x1e0),_0x1da0db=>Ot(_0x1da0db))},'role':_0x458348(0x1e1)},'children':this[_0x458348(0x1f2)]});}[_0x9362f0(0x1f3)](){const _0xcc0636=_0x9362f0;super[_0xcc0636(0x1f3)](),this[_0xcc0636(0x1ee)][_0xcc0636(0x1e6)](this[_0xcc0636(0x1da)]);}[_0x9362f0(0x1d5)](){const _0x17ef7a=_0x9362f0;this[_0x17ef7a(0x1f2)][_0x17ef7a(0x1ec)]&&this[_0x17ef7a(0x1f2)][_0x17ef7a(0x1ec)][_0x17ef7a(0x1d5)]();}[_0x9362f0(0x1f5)](){const _0x115a8e=_0x9362f0,_0x3304bb=this[_0x115a8e(0x1da)][_0x115a8e(0x1db)];_0x3304bb&&(this[_0x115a8e(0x1e5)]=_0x3304bb);}[_0x9362f0(0x1f0)](){const _0x5d8279=_0x9362f0;this[_0x5d8279(0x1f2)][_0x5d8279(0x1ed)](),this[_0x5d8279(0x1ee)][_0x5d8279(0x1ea)](),super[_0x5d8279(0x1f0)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5f3fc9=_0x38dc;function _0x38dc(_0x2b395f,_0xaf7922){const _0x510855=_0x5108();return _0x38dc=function(_0x38dc2f,_0x15548d){_0x38dc2f=_0x38dc2f-0x146;let _0xf34d8d=_0x510855[_0x38dc2f];return _0xf34d8d;},_0x38dc(_0x2b395f,_0xaf7922);}(function(_0x50e051,_0x5b7c96){const _0x42abbb=_0x38dc,_0x280f80=_0x50e051();while(!![]){try{const _0xde7051=-parseInt(_0x42abbb(0x174))/0x1*(parseInt(_0x42abbb(0x154))/0x2)+-parseInt(_0x42abbb(0x16a))/0x3+parseInt(_0x42abbb(0x16c))/0x4+-parseInt(_0x42abbb(0x159))/0x5*(parseInt(_0x42abbb(0x15b))/0x6)+parseInt(_0x42abbb(0x14b))/0x7+parseInt(_0x42abbb(0x16e))/0x8*(-parseInt(_0x42abbb(0x15f))/0x9)+parseInt(_0x42abbb(0x148))/0xa;if(_0xde7051===_0x5b7c96)break;else _0x280f80['push'](_0x280f80['shift']());}catch(_0x3599ef){_0x280f80['push'](_0x280f80['shift']());}}}(_0x5108,0x6059a));import{View as _0x496a78,FocusCycler as _0x2fdc6e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3d898d,toUnit as _0x5a3104}from'ckeditor5/src/utils.js';import{getTranslation as _0x179c4b}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5a3104('px');export class AnnotationsSidebarView extends _0x496a78{[_0x5f3fc9(0x157)];[_0x5f3fc9(0x178)];[_0x5f3fc9(0x176)];[_0x5f3fc9(0x14c)];constructor(_0x27d6b5){const _0x5b28bb=_0x5f3fc9;super(_0x27d6b5);const _0x2c37b2=this[_0x5b28bb(0x15d)];this[_0x5b28bb(0x165)](_0x5b28bb(0x146),0x0),this[_0x5b28bb(0x165)](_0x5b28bb(0x14d),''),this[_0x5b28bb(0x157)]=this[_0x5b28bb(0x147)](),this[_0x5b28bb(0x178)]=this[_0x5b28bb(0x147)](),this[_0x5b28bb(0x157)][_0x5b28bb(0x152)](_0x5b28bb(0x164),_0x5b28bb(0x158))['to'](this),this[_0x5b28bb(0x176)]=new _0x3d898d(),this[_0x5b28bb(0x14c)]=new _0x2fdc6e({'focusables':this[_0x5b28bb(0x178)],'focusTracker':this[_0x5b28bb(0x176)]}),this[_0x5b28bb(0x172)]({'tag':_0x5b28bb(0x15a),'attributes':{'class':['ck',_0x5b28bb(0x171),_0x5b28bb(0x153),_0x2c37b2['to'](_0x5b28bb(0x14d))],'style':{'minHeight':_0x2c37b2['to'](_0x5b28bb(0x146),_0x30763d=>_0x5b28bb(0x151)==typeof _0x30763d?Ot(_0x30763d+0xa):null)},'dir':_0x27d6b5[_0x5b28bb(0x162)],'role':_0x5b28bb(0x16f),'aria-label':_0x179c4b(_0x27d6b5,_0x5b28bb(0x161)),'tabindex':0x0},'children':[{'tag':_0x5b28bb(0x15a),'attributes':{'role':_0x5b28bb(0x157),'aria-label':_0x179c4b(_0x27d6b5,_0x5b28bb(0x177))},'children':this[_0x5b28bb(0x157)]}]});}[_0x5f3fc9(0x175)](){const _0x29973e=_0x5f3fc9;super[_0x29973e(0x175)](),this[_0x29973e(0x15c)]();}[_0x5f3fc9(0x15e)](){const _0x292da9=_0x5f3fc9;this[_0x292da9(0x14c)][_0x292da9(0x163)]();}[_0x5f3fc9(0x15c)](){const _0x4d561a=_0x5f3fc9;this[_0x4d561a(0x157)][_0x4d561a(0x152)](_0x4d561a(0x14a))['to'](this),this['on'](_0x4d561a(0x14a),_0x13354b=>{const _0x4438d0=_0x4d561a;this[_0x4438d0(0x173)](_0x13354b[_0x4438d0(0x16d)]);}),this[_0x4d561a(0x157)][_0x4d561a(0x16b)](_0x4e9d2b=>{const _0x20aaf0=_0x4d561a;this[_0x20aaf0(0x176)][_0x20aaf0(0x167)](_0x4e9d2b[_0x20aaf0(0x168)]),this[_0x20aaf0(0x173)](_0x4e9d2b);}),this[_0x4d561a(0x157)]['on'](_0x4d561a(0x150),(_0x297836,_0x30b9c3)=>{const _0x2eb30e=_0x4d561a;for(const _0x13c9ba of _0x30b9c3[_0x2eb30e(0x160)])this[_0x2eb30e(0x176)][_0x2eb30e(0x149)](_0x13c9ba[_0x2eb30e(0x168)]),this[_0x2eb30e(0x178)][_0x2eb30e(0x149)](_0x13c9ba);for(const _0x152153 of _0x30b9c3[_0x2eb30e(0x170)])this[_0x2eb30e(0x176)][_0x2eb30e(0x167)](_0x152153[_0x2eb30e(0x168)]),this[_0x2eb30e(0x173)](_0x152153);}),this['on'](_0x4d561a(0x164),()=>{const _0x1f4d41=_0x4d561a;this[_0x1f4d41(0x14c)][_0x1f4d41(0x166)]();}),this['on'](_0x4d561a(0x158),()=>{const _0x3ab0ca=_0x4d561a;this[_0x3ab0ca(0x14c)][_0x3ab0ca(0x155)]();}),this[_0x4d561a(0x14f)](this[_0x4d561a(0x168)],_0x4d561a(0x15e),()=>{const _0xf73b1c=_0x4d561a;this[_0xf73b1c(0x15e)]();});}[_0x5f3fc9(0x173)](_0x10f18f){const _0x1892c6=_0x5f3fc9,_0x3491a7=this[_0x1892c6(0x178)][_0x1892c6(0x156)](_0x10f18f);let _0x467aa7,_0xaa93e1;for(const _0x220617 of this[_0x1892c6(0x178)])if(_0x10f18f[_0x1892c6(0x14e)]<_0x220617[_0x1892c6(0x14e)]){_0x467aa7=_0x220617;break;}if(_0xaa93e1=_0x467aa7?this[_0x1892c6(0x178)][_0x1892c6(0x156)](_0x467aa7):this[_0x1892c6(0x178)][_0x1892c6(0x169)],-0x1!==_0x3491a7){if(_0x3491a7===_0xaa93e1-0x1)return;this[_0x1892c6(0x178)][_0x1892c6(0x149)](_0x10f18f),_0xaa93e1=_0x467aa7?this[_0x1892c6(0x178)][_0x1892c6(0x156)](_0x467aa7):this[_0x1892c6(0x178)][_0x1892c6(0x169)];}this[_0x1892c6(0x178)][_0x1892c6(0x167)](_0x10f18f,_0xaa93e1);}}function _0x5108(){const _0xa7f238=['forEach','1490140EXhOeF','source','264jANzEN','application','added','ck-sidebar','setTemplate','_updateItemPositionInFocusables','3Vhkkrc','render','focusTracker','Annotations\x20list','focusables','minHeight','createCollection','7020210ozIZSq','remove','change:top','4320883CELhbC','focusCycler','class','top','listenTo','change','number','delegate','ck-reset','291010ijehES','focusNext','getIndex','list','arrowdown','85XgnXNW','div','26286iqDAJv','_setupKeyboardNavigation','bindTemplate','focus','160038aEbwGF','removed','Annotations\x20sidebar','uiLanguageDirection','focusFirst','arrowup','set','focusPrevious','add','element','length','598131alHvqp'];_0x5108=function(){return _0xa7f238;};return _0x5108();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x125cfc=_0x14aa;function _0x14aa(_0x433c24,_0x3fa8f7){const _0x279675=_0x2796();return _0x14aa=function(_0x14aa17,_0x22856d){_0x14aa17=_0x14aa17-0x199;let _0x1961ae=_0x279675[_0x14aa17];return _0x1961ae;},_0x14aa(_0x433c24,_0x3fa8f7);}function _0x2796(){const _0xcb32dc=['from','WideSidebar','_editorAnnotations','editors','add','addAnnotation','_destroyEditorAnnotationsIntegration','off','_activeAnnotation','rearrange','uiUpdate','1959wfEnAr','_detachFromContainer','removeEventListener','high','setActiveAnnotation','get','set','updateTargetRect','_annotations','Annotations','_attachToContainer','switchTo','resize','9549ABlASE','requires','listenTo','8508AwVnht','refreshVisibility','getOrderedSelectedAnnotations','1984xMzrne','remove','register','refresh','plugins','3906HHiPGU','22642500FRHabO','refreshPositioning','stop','1188914EgJdsg','6918aVIHLf','isOfficialPlugin','set:container','focus','ready','EditorAnnotations','wideSidebar','change:container','context','widesidebar-attach-already-attached','_refreshPositioningDebounced','detach','activeAnnotation','2153935teKBEh','_integrateWithEditorAnnotations','stopListening','destroy','isPremiumPlugin','isAttached','cancel','init','has','blur','attach','addEventListener','annotations','pluginName','widesidebar-detach-not-attached','2469528lbTYhx','ck-sidebar--wide','hasDomSelection','container'];_0x2796=function(){return _0xcb32dc;};return _0x2796();}(function(_0x21a2ea,_0x68d096){const _0x48733d=_0x14aa,_0x332aef=_0x21a2ea();while(!![]){try{const _0x283bff=parseInt(_0x48733d(0x1a1))/0x1+parseInt(_0x48733d(0x1be))/0x2+-parseInt(_0x48733d(0x1cd))/0x3*(-parseInt(_0x48733d(0x1dd))/0x4)+-parseInt(_0x48733d(0x1af))/0x5+parseInt(_0x48733d(0x1a2))/0x6*(-parseInt(_0x48733d(0x19d))/0x7)+-parseInt(_0x48733d(0x1e0))/0x8*(-parseInt(_0x48733d(0x1da))/0x9)+-parseInt(_0x48733d(0x19e))/0xa;if(_0x283bff===_0x68d096)break;else _0x332aef['push'](_0x332aef['shift']());}catch(_0x1a4501){_0x332aef['push'](_0x332aef['shift']());}}}(_0x2796,0xb402e));import{ContextPlugin as _0x2349aa,Context as _0x3623e9}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x2fb8e8}from'./annotationsuis.js';import{Sidebar as _0x5ac05e}from'./sidebar.js';import{CKEditorError as _0x1d0312,Collection as _0x590994}from'ckeditor5/src/utils.js';import{debounce as _0x224d95}from'es-toolkit/compat';export class WideSidebar extends _0x2349aa{[_0x125cfc(0x1b4)];[_0x125cfc(0x1bb)];[_0x125cfc(0x1c4)];[_0x125cfc(0x1ac)];static get[_0x125cfc(0x1db)](){return[_0x5ac05e,_0x2fb8e8];}static get[_0x125cfc(0x1bc)](){const _0x37b4d2=_0x125cfc;return _0x37b4d2(0x1c3);}static get[_0x125cfc(0x1a3)](){return!0x0;}static get[_0x125cfc(0x1b3)](){return!0x0;}constructor(_0x35a9e9){const _0x1ec183=_0x125cfc;super(_0x35a9e9),this[_0x1ec183(0x1b4)]=!0x1,this[_0x1ec183(0x1d3)](_0x1ec183(0x1ae),null),this[_0x1ec183(0x1bb)]=null,this[_0x1ec183(0x1c4)]=new _0x590994(),this[_0x1ec183(0x1ac)]=_0x224d95(()=>{const _0xd3cc92=_0x1ec183;_0x35a9e9[_0xd3cc92(0x19c)][_0xd3cc92(0x1d2)](_0xd3cc92(0x1d6))[_0xd3cc92(0x1de)](),this[_0xd3cc92(0x1bb)][_0xd3cc92(0x19f)]();},0xfa,{'leading':!0x1});}[_0x125cfc(0x1b6)](){const _0xda88cc=_0x125cfc,_0x433cf2=this[_0xda88cc(0x1aa)][_0xda88cc(0x19c)][_0xda88cc(0x1d2)](_0x2fb8e8),_0x194cfb=this[_0xda88cc(0x1aa)][_0xda88cc(0x19c)][_0xda88cc(0x1d2)](_0x5ac05e);_0x433cf2[_0xda88cc(0x19a)](_0xda88cc(0x1a8),this),_0x194cfb[_0xda88cc(0x1c1)]&&_0x433cf2[_0xda88cc(0x1d8)](_0xda88cc(0x1a8));}[_0x125cfc(0x1d1)](_0x31a6e9){const _0x39e611=_0x125cfc;if(_0x31a6e9===this[_0x39e611(0x1ae)])return;const _0x2791d4=this[_0x39e611(0x1aa)][_0x39e611(0x19c)][_0x39e611(0x1d2)](_0x5ac05e);_0x2791d4[_0x39e611(0x1ca)]=_0x31a6e9;const _0x259e73=this[_0x39e611(0x1ae)];_0x2791d4[_0x39e611(0x19b)]({'blurredAnnotation':_0x259e73,'activatedAnnotation':_0x31a6e9}),this[_0x39e611(0x1ae)]=_0x31a6e9;}[_0x125cfc(0x1b9)](_0x269c95){const _0xcd4db9=_0x125cfc;this[_0xcd4db9(0x1bb)]=_0x269c95;const _0x279b0f=this[_0xcd4db9(0x1aa)][_0xcd4db9(0x19c)][_0xcd4db9(0x1d2)](_0x5ac05e);if(_0x279b0f[_0xcd4db9(0x1d5)]=_0x269c95,this[_0xcd4db9(0x1b4)])throw new _0x1d0312(_0xcd4db9(0x1ab),this);this[_0xcd4db9(0x1b4)]=!0x0,this[_0xcd4db9(0x1dc)](_0x279b0f,_0xcd4db9(0x1a4),()=>{const _0x495822=_0xcd4db9;this[_0x495822(0x1ad)](),this[_0x495822(0x1dc)](_0x279b0f,_0x495822(0x1a9),_0x18883b=>{const _0x27868b=_0x495822;_0x18883b[_0x27868b(0x1c9)](),this[_0x27868b(0x1b9)](_0x269c95);});}),_0x279b0f[_0xcd4db9(0x1d7)]({'viewClass':_0xcd4db9(0x1bf)});const _0x354039=_0x24fc15=>{const _0x6f5d42=_0xcd4db9;_0x24fc15[_0x6f5d42(0x1d4)](),_0x279b0f[_0x6f5d42(0x1c7)](_0x24fc15);};for(const _0x22ac74 of _0x269c95)_0x354039(_0x22ac74);this[_0xcd4db9(0x1dc)](_0x269c95,_0xcd4db9(0x1c6),(_0x5bb9fd,_0x2ae4a8)=>{_0x354039(_0x2ae4a8);}),this[_0xcd4db9(0x1dc)](_0x269c95,_0xcd4db9(0x199),(_0x156ad3,_0x8e622e,_0x110073)=>{const _0xfc5f9f=_0xcd4db9;_0x279b0f[_0xfc5f9f(0x1cb)]({'removedAnnotation':_0x8e622e,'previousAnnotation':_0x269c95[_0xfc5f9f(0x1d2)](_0x110073-0x1),'nextAnnotation':_0x269c95[_0xfc5f9f(0x1d2)](_0x110073+0x1)}),_0x8e622e===this[_0xfc5f9f(0x1ae)]&&this[_0xfc5f9f(0x1d1)](null);},{'priority':_0xcd4db9(0x1d0)}),this[_0xcd4db9(0x1dc)](_0x269c95,_0xcd4db9(0x1a5),(_0xb32a33,_0xba3e35)=>{const _0x356800=_0xcd4db9;this[_0x356800(0x1d1)](_0xba3e35);}),this[_0xcd4db9(0x1dc)](_0x269c95,_0xcd4db9(0x1b8),()=>{const _0x18896b=_0xcd4db9;this[_0x18896b(0x1d1)](null);});const _0x15a9b3=this[_0xcd4db9(0x1aa)]instanceof _0x3623e9?this[_0xcd4db9(0x1aa)][_0xcd4db9(0x1c5)]:new _0x590994([this[_0xcd4db9(0x1aa)]]);for(const _0x404568 of _0x15a9b3)this[_0xcd4db9(0x1b0)](_0x404568);this[_0xcd4db9(0x1dc)](_0x15a9b3,_0xcd4db9(0x1c6),(_0xa3b8fe,_0x44710b)=>{const _0x1fd2c8=_0xcd4db9;this[_0x1fd2c8(0x1dc)](_0x44710b,_0x1fd2c8(0x1a6),()=>{const _0xb0f445=_0x1fd2c8;this[_0xb0f445(0x1b0)](_0x44710b);});}),this[_0xcd4db9(0x1dc)](_0x15a9b3,_0xcd4db9(0x199),(_0x27c402,_0x5c8f55)=>{const _0x21d640=_0xcd4db9;_0x5c8f55[_0x21d640(0x19c)][_0x21d640(0x1b7)](_0x21d640(0x1a7))&&this[_0x21d640(0x1c8)](_0x5c8f55[_0x21d640(0x19c)][_0x21d640(0x1d2)](_0x21d640(0x1a7)));}),window[_0xcd4db9(0x1ba)](_0xcd4db9(0x1d9),this[_0xcd4db9(0x1ac)]),this[_0xcd4db9(0x1aa)][_0xcd4db9(0x19c)][_0xcd4db9(0x1d2)](_0xcd4db9(0x1d6))[_0xcd4db9(0x1de)](),this[_0xcd4db9(0x1bb)][_0xcd4db9(0x19f)]();}[_0x125cfc(0x1ad)](){const _0x2779f=_0x125cfc;if(!this[_0x2779f(0x1b4)])throw new _0x1d0312(_0x2779f(0x1bd),this);this[_0x2779f(0x1d1)](null);const _0x27f3a6=this[_0x2779f(0x1aa)][_0x2779f(0x19c)][_0x2779f(0x1d2)](_0x5ac05e);_0x27f3a6[_0x2779f(0x1ce)](this[_0x2779f(0x1bb)]),this[_0x2779f(0x1b1)](_0x27f3a6),this[_0x2779f(0x1b1)](this[_0x2779f(0x1bb)]),this[_0x2779f(0x1aa)]instanceof _0x3623e9&&this[_0x2779f(0x1b1)](this[_0x2779f(0x1aa)][_0x2779f(0x1c5)]);for(const _0x5644c5 of Array[_0x2779f(0x1c2)](this[_0x2779f(0x1c4)]))this[_0x2779f(0x1c8)](_0x5644c5);window[_0x2779f(0x1cf)](_0x2779f(0x1d9),this[_0x2779f(0x1ac)]),this[_0x2779f(0x1ac)][_0x2779f(0x1b5)](),this[_0x2779f(0x1ae)]=null,this[_0x2779f(0x1b4)]=!0x1,this[_0x2779f(0x1bb)]=null;}[_0x125cfc(0x1b2)](){const _0x3aef18=_0x125cfc;this[_0x3aef18(0x1b4)]&&this[_0x3aef18(0x1ad)]();}[_0x125cfc(0x1b0)](_0x36ce73){const _0x9329b=_0x125cfc;if(!_0x36ce73[_0x9329b(0x19c)][_0x9329b(0x1b7)](_0x9329b(0x1a7)))return;const _0x1f2639=_0x36ce73[_0x9329b(0x19c)][_0x9329b(0x1d2)](_0x9329b(0x1a7)),_0xe43540=()=>{const _0x1ac888=_0x9329b,_0x446c3c=_0x1f2639[_0x1ac888(0x1df)]({'annotations':this[_0x1ac888(0x1bb)],'activeAnnotation':this[_0x1ac888(0x1ae)]});this[_0x1ac888(0x1d1)](_0x446c3c[0x0]||null);};this[_0x9329b(0x1dc)](_0x1f2639,_0x9329b(0x19b),_0xe43540),this[_0x9329b(0x1dc)](_0x1f2639,_0x9329b(0x1b8),(_0x3225c9,{isAnnotationTracked:_0x757e9a})=>{const _0x239a81=_0x9329b;this[_0x239a81(0x1ae)]&&_0x757e9a(this[_0x239a81(0x1ae)])&&this[_0x239a81(0x1d1)](null);}),this[_0x9329b(0x1dc)](_0x1f2639,_0x9329b(0x1cc),()=>{const _0x2a0f0f=_0x9329b;this[_0x2a0f0f(0x1ac)]();}),this[_0x9329b(0x1dc)](this[_0x9329b(0x1bb)],_0x9329b(0x1b8),_0x4cfc35=>{const _0x53f205=_0x9329b;_0x1f2639[_0x53f205(0x1c0)]()&&(_0xe43540(),_0x4cfc35[_0x53f205(0x1a0)]());},{'priority':_0x9329b(0x1d0)}),this[_0x9329b(0x1c4)][_0x9329b(0x1c6)](_0x1f2639);}[_0x125cfc(0x1c8)](_0x47f6a7){const _0x409b9f=_0x125cfc;this[_0x409b9f(0x1b1)](_0x47f6a7),this[_0x409b9f(0x1c4)][_0x409b9f(0x199)](_0x47f6a7);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x443c9e=_0x167f;function _0x167f(_0xad8d90,_0x25a106){const _0x1633ca=_0x1633();return _0x167f=function(_0x167ff3,_0x40ba3c){_0x167ff3=_0x167ff3-0x13a;let _0x4856d4=_0x1633ca[_0x167ff3];return _0x4856d4;},_0x167f(_0xad8d90,_0x25a106);}function _0x1633(){const _0x483db0=['change','66131SYjEkq','$textProxy','_createMarkersFromRanges','_hasContent','document','2055033DwAWOT','getItems','56CCMDen','28232DheRDS','execute','9885udcJYE','getLastMatchingPosition','config','selection','addCommentThread','plugins','getRanges','element','start','hasContent','model','17kJUIYO','CommentsRepository','addcommentthreadcommand-incorrect-ranges','substr','Users','addMarker','_itemIsContent','9084BKveFF','refresh','push','editor','126430ZXkmiM','310681hbaHXw','comment:','schema','isEnabled','createRange','length','from','set','end','isObject','132uJGygb','tableCell','backward','addcommentthreadcommand-user-not-found','1408IZRmlJ','item','_trimToContent','_createCommentThread','collaboration.channelId','get','1300MsWrgh','2622090uQcVvZ'];_0x1633=function(){return _0x483db0;};return _0x1633();}(function(_0x44487a,_0x6f4a1f){const _0x19de27=_0x167f,_0x306864=_0x44487a();while(!![]){try{const _0x441eef=parseInt(_0x19de27(0x153))/0x1*(parseInt(_0x19de27(0x146))/0x2)+parseInt(_0x19de27(0x13c))/0x3+parseInt(_0x19de27(0x13b))/0x4*(-parseInt(_0x19de27(0x148))/0x5)+-parseInt(_0x19de27(0x169))/0x6*(-parseInt(_0x19de27(0x15f))/0x7)+parseInt(_0x19de27(0x145))/0x8*(parseInt(_0x19de27(0x143))/0x9)+parseInt(_0x19de27(0x15e))/0xa*(parseInt(_0x19de27(0x16d))/0xb)+parseInt(_0x19de27(0x15a))/0xc*(-parseInt(_0x19de27(0x13e))/0xd);if(_0x441eef===_0x6f4a1f)break;else _0x306864['push'](_0x306864['shift']());}catch(_0x3b966c){_0x306864['push'](_0x306864['shift']());}}}(_0x1633,0xc6a8b));import{Command as _0x4b95fd}from'ckeditor5/src/core.js';import{uid as _0x104f54,CKEditorError as _0x55d5e0}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x4b95fd{constructor(_0x127b40){const _0x41b20a=_0x167f;super(_0x127b40),this[_0x41b20a(0x166)](_0x41b20a(0x151),!0x1);}[_0x443c9e(0x15b)](){const _0x5b3dba=_0x443c9e,_0x4a09bc=this[_0x5b3dba(0x15d)][_0x5b3dba(0x152)][_0x5b3dba(0x142)][_0x5b3dba(0x14b)];this[_0x5b3dba(0x162)]=!0x0,this[_0x5b3dba(0x151)]=!0x1;for(const _0x1bf422 of _0x4a09bc[_0x5b3dba(0x14e)]())if(this[_0x5b3dba(0x141)](_0x1bf422))return void(this[_0x5b3dba(0x151)]=!0x0);}[_0x443c9e(0x147)]({threadId:_0x18620f=_0x104f54(),ranges:_0x19191a,comment:_0xe83843}={}){const _0xda8376=_0x443c9e,_0x1ad695=this[_0xda8376(0x15d)][_0xda8376(0x152)],_0x317ee4=_0x19191a??Array[_0xda8376(0x165)](_0x1ad695[_0xda8376(0x142)][_0xda8376(0x14b)][_0xda8376(0x14e)]()),_0x103651=[];for(const _0x389bc3 of _0x317ee4)this[_0xda8376(0x141)](_0x389bc3)&&_0x103651[_0xda8376(0x15c)](this[_0xda8376(0x16f)](_0x389bc3));if(!_0x103651[_0xda8376(0x164)])throw new _0x55d5e0(_0xda8376(0x155),null);_0xe83843&&this[_0xda8376(0x170)](_0x18620f,_0xe83843),this[_0xda8376(0x140)](_0x18620f,_0x103651,!!_0xe83843);}[_0x443c9e(0x140)](_0x187322,_0x563471,_0x55807b){const _0x32e160=_0x443c9e;this[_0x32e160(0x15d)][_0x32e160(0x152)][_0x32e160(0x13d)](_0xaad069=>{const _0x505854=_0x32e160;for(const _0x776852 of _0x563471){const _0x114f25=_0x104f54()[_0x505854(0x156)](0x1,0x5),_0x343937=_0x505854(0x160)+_0x187322+':'+_0x114f25;_0xaad069[_0x505854(0x158)](_0x343937,{'range':_0x776852,'usingOperation':_0x55807b,'affectsData':_0x55807b});}});}[_0x443c9e(0x170)](_0x408d08,_0x58a300){const _0x4a5d62=_0x443c9e,_0x27a258=this[_0x4a5d62(0x15d)][_0x4a5d62(0x14d)][_0x4a5d62(0x13a)](_0x4a5d62(0x154)),_0x21aa29=this[_0x4a5d62(0x15d)][_0x4a5d62(0x14a)][_0x4a5d62(0x13a)](_0x4a5d62(0x171)),_0x3deac2=this[_0x4a5d62(0x15d)][_0x4a5d62(0x14d)][_0x4a5d62(0x13a)](_0x4a5d62(0x157))['me'];if(!_0x3deac2)throw new _0x55d5e0(_0x4a5d62(0x16c),null);_0x27a258[_0x4a5d62(0x14c)]({'threadId':_0x408d08,'channelId':_0x21aa29,'comments':[{'authorId':_0x3deac2['id'],'content':_0x58a300,'createdAt':new Date(),'attributes':{}}]});}[_0x443c9e(0x141)](_0x527779){const _0x213e57=_0x443c9e;for(const _0xca74ea of _0x527779[_0x213e57(0x144)]())if(this[_0x213e57(0x159)](_0xca74ea))return!0x0;return!0x1;}[_0x443c9e(0x159)](_0x179a3a){const _0x5c7aeb=_0x443c9e;return _0x179a3a['is'](_0x5c7aeb(0x13f))||this[_0x5c7aeb(0x15d)][_0x5c7aeb(0x152)][_0x5c7aeb(0x161)][_0x5c7aeb(0x168)](_0x179a3a)&&!_0x179a3a['is'](_0x5c7aeb(0x14f),_0x5c7aeb(0x16a));}[_0x443c9e(0x16f)](_0x69fc5){const _0x285d10=_0x443c9e,_0x55b560=_0x15dcf4=>!this[_0x285d10(0x159)](_0x15dcf4[_0x285d10(0x16e)]),_0x103880=_0x69fc5[_0x285d10(0x150)][_0x285d10(0x149)](_0x55b560),_0x1574ca=_0x69fc5[_0x285d10(0x167)][_0x285d10(0x149)](_0x55b560,{'direction':_0x285d10(0x16b)});return this[_0x285d10(0x15d)][_0x285d10(0x152)][_0x285d10(0x163)](_0x103880,_0x1574ca);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5b6b24=_0x4422;(function(_0x50c3cb,_0x23b5b0){const _0x1c7b58=_0x4422,_0x2a5d77=_0x50c3cb();while(!![]){try{const _0x3d4013=-parseInt(_0x1c7b58(0xd3))/0x1+-parseInt(_0x1c7b58(0xcc))/0x2*(-parseInt(_0x1c7b58(0xe9))/0x3)+parseInt(_0x1c7b58(0xd8))/0x4+parseInt(_0x1c7b58(0xc9))/0x5+-parseInt(_0x1c7b58(0xec))/0x6*(-parseInt(_0x1c7b58(0xdd))/0x7)+-parseInt(_0x1c7b58(0xd9))/0x8+-parseInt(_0x1c7b58(0xca))/0x9;if(_0x3d4013===_0x23b5b0)break;else _0x2a5d77['push'](_0x2a5d77['shift']());}catch(_0xf72c1a){_0x2a5d77['push'](_0x2a5d77['shift']());}}}(_0x33bd,0x486d9));import{ContextPlugin as _0x201df4}from'ckeditor5/src/core.js';import{Collection as _0x354ef8}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x48175a}from'./commentsrepository.js';import{Annotations as _0x43868f}from'../annotations/annotations.js';function _0x33bd(){const _0x3fad43=['isActive','pluginName','plugins','140819TiVRFX','removeCommentThread','get','archivedAt','activate','addCommentThread','findIndex','context','isOfficialPlugin','collection','CommentsArchive','_calculatePosition','33Evfqwq','remove','length','90nZpiPm','focus','has','957530vuRMKE','5397336iEKgyh','archivedThreads','91714GjaCpz','init','listenTo','stopListening','getCommentThread','isPremiumPlugin','isVisible','44260SVkzjP','requires','add','highest','change:archivedAt','2130100NpjuvG','4716672YJpDma'];_0x33bd=function(){return _0x3fad43;};return _0x33bd();}function _0x4422(_0x805b7b,_0x28f4f6){const _0x33bd6c=_0x33bd();return _0x4422=function(_0x44224d,_0x3a50ef){_0x44224d=_0x44224d-0xc8;let _0xaee21a=_0x33bd6c[_0x44224d];return _0xaee21a;},_0x4422(_0x805b7b,_0x28f4f6);}export class CommentsArchive extends _0x201df4{static get[_0x5b6b24(0xdb)](){const _0x5b2dbd=_0x5b6b24;return _0x5b2dbd(0xe7);}static get[_0x5b6b24(0xe5)](){return!0x0;}static get[_0x5b6b24(0xd1)](){return!0x0;}static get[_0x5b6b24(0xd4)](){return[_0x48175a,_0x43868f];}constructor(_0x574ffd){const _0x22fc4a=_0x5b6b24;super(_0x574ffd),this[_0x22fc4a(0xcb)]=new _0x354ef8();}[_0x5b6b24(0xcd)](){const _0x2fafb0=_0x5b6b24,_0x10e543=this[_0x2fafb0(0xe4)],_0x2ca444=_0x10e543[_0x2fafb0(0xdc)][_0x2fafb0(0xdf)](_0x48175a),_0x446965=_0x10e543[_0x2fafb0(0xdc)][_0x2fafb0(0xdf)](_0x43868f);this[_0x2fafb0(0xce)](_0x2ca444,_0x2fafb0(0xe2),(_0x3a9787,{threadId:_0x126971})=>{const _0x273457=_0x2fafb0,_0x1517ac=_0x2ca444[_0x273457(0xd0)](_0x126971);_0x1517ac[_0x273457(0xe0)]&&this[_0x273457(0xcb)][_0x273457(0xd5)](_0x1517ac,this[_0x273457(0xe8)](_0x1517ac[_0x273457(0xe0)])),this[_0x273457(0xce)](_0x1517ac,_0x273457(0xd7),(_0xba412e,_0x545b52,_0x510adf)=>{const _0x428ac4=_0x273457;_0x510adf?this[_0x428ac4(0xcb)][_0x428ac4(0xc8)](_0x1517ac)||this[_0x428ac4(0xcb)][_0x428ac4(0xd5)](_0x1517ac,this[_0x428ac4(0xe8)](_0x1517ac[_0x428ac4(0xe0)])):this[_0x428ac4(0xcb)][_0x428ac4(0xc8)](_0x1517ac)&&this[_0x428ac4(0xcb)][_0x428ac4(0xea)](_0x1517ac);});}),this[_0x2fafb0(0xce)](_0x2ca444,_0x2fafb0(0xde),(_0x30f10c,{threadId:_0x24f107})=>{const _0x8e6a16=_0x2fafb0,_0x3423cd=_0x2ca444[_0x8e6a16(0xd0)](_0x24f107);this[_0x8e6a16(0xcf)](_0x3423cd),this[_0x8e6a16(0xcb)][_0x8e6a16(0xc8)](_0x3423cd)&&this[_0x8e6a16(0xcb)][_0x8e6a16(0xea)](_0x3423cd);},{'priority':_0x2fafb0(0xd6)}),this[_0x2fafb0(0xce)](_0x446965[_0x2fafb0(0xe6)],_0x2fafb0(0xed),(_0x5cbc84,_0x108970)=>{const _0xb0ad81=_0x2fafb0;_0x108970[_0xb0ad81(0xd2)]||(_0x108970[_0xb0ad81(0xda)]=!0x0,_0x446965[_0xb0ad81(0xe1)](_0x108970));});}[_0x5b6b24(0xe8)](_0x22aced){const _0x481d77=_0x5b6b24,_0x5ec2c4=[...this[_0x481d77(0xcb)]][_0x481d77(0xe3)](_0xc03b61=>_0xc03b61[_0x481d77(0xe0)]<_0x22aced);return _0x5ec2c4>-0x1?_0x5ec2c4:this[_0x481d77(0xcb)][_0x481d77(0xeb)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x22740c=_0x369a;(function(_0x3006e3,_0x2b8c72){const _0x56421d=_0x369a,_0x35e604=_0x3006e3();while(!![]){try{const _0x5ef440=parseInt(_0x56421d(0x197))/0x1*(-parseInt(_0x56421d(0x1c2))/0x2)+parseInt(_0x56421d(0x1c3))/0x3*(parseInt(_0x56421d(0x1ab))/0x4)+parseInt(_0x56421d(0x17f))/0x5+-parseInt(_0x56421d(0x19e))/0x6+parseInt(_0x56421d(0x1bd))/0x7*(-parseInt(_0x56421d(0x182))/0x8)+-parseInt(_0x56421d(0x1a5))/0x9*(-parseInt(_0x56421d(0x1a2))/0xa)+-parseInt(_0x56421d(0x1b1))/0xb;if(_0x5ef440===_0x2b8c72)break;else _0x35e604['push'](_0x35e604['shift']());}catch(_0x26be65){_0x35e604['push'](_0x35e604['shift']());}}}(_0x11cb,0x68c58));import'../../theme/commentsarchive.css';import{Plugin as _0x244e2a}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x2e2ae3}from'ckeditor5/src/icons.js';function _0x369a(_0x2ba4b0,_0x511c09){const _0x11cbca=_0x11cb();return _0x369a=function(_0x369ae4,_0x2f2459){_0x369ae4=_0x369ae4-0x17f;let _0x5f391a=_0x11cbca[_0x369ae4];return _0x5f391a;},_0x369a(_0x2ba4b0,_0x511c09);}function _0x11cb(){const _0x5e1002=['escape','set:isVisible','7MTTaeo','Annotations','includes','locale','CommentsRepository','182576CDWtZd','3dbJvHF','EDITOR_TOP_SIDE','isOfficialPlugin','archivedAt','remove','stopListening','archivedThreads','indexOf','_pendingThreads','splice','editor','getByInnerView','3313905pILdYZ','CommentsArchiveUI','innerView','967912RehLfy','_threadToController','menuitemcheckbox','isEnabled','init','pluginName','collaboration.channelId','has','filter','channelId','isOpen','COMMENTS_ARCHIVE','plugins','hide','length','componentFactory','_visibleAnnotations','requires','_calculatePosition','add','isOn','6tLVOZT','_hideDialogOnAnnotationEscape','return','findIndex','config','commentsArchiveView','set','922578jtFzTM','_handleNewThread','_createCommentsArchiveButton','collection','1710KOiFgt','annotationViews','find','34065oEDecR','tooltip','push','execute','commentsArchive','listenTo','2671708mqpIcL','forEach','source','show','isPremiumPlugin','_addAnnotationToArchive','7989509eMymut','Dialog','isVisible','focusableElements','_toggleDialog','get','bind','stop','menuBar:commentsArchive','view'];_0x11cb=function(){return _0x5e1002;};return _0x11cb();}import{ViewCollection as _0x3d07aa,MenuBarMenuListItemButtonView as _0x4569af,ButtonView as _0x2cb71d,Dialog as _0x5ae87b,DialogViewPosition as _0x14d35d}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d05d1}from'../utils/common-translations.js';import{CommentsArchiveView as _0x15e6bd}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xdb96db}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x244e2a{[_0x22740c(0x19c)];[_0x22740c(0x1a3)];[_0x22740c(0x1cb)];static get[_0x22740c(0x187)](){const _0x18098a=_0x22740c;return _0x18098a(0x180);}static get[_0x22740c(0x1c5)](){return!0x0;}static get[_0x22740c(0x1af)](){return!0x0;}static get[_0x22740c(0x193)](){return[_0xdb96db,_0x5ae87b];}constructor(_0x27096d){const _0x393b4c=_0x22740c;super(_0x27096d),this[_0x393b4c(0x1a3)]=new _0x3d07aa(),this[_0x393b4c(0x1cb)]=[];}[_0x22740c(0x186)](){const _0x790fbe=_0x22740c,_0x5dccdd=this[_0x790fbe(0x1cd)],_0x30a172=this[_0x790fbe(0x198)][_0x790fbe(0x1b7)](this);_0x5dccdd['ui'][_0x790fbe(0x191)][_0x790fbe(0x195)](_0x790fbe(0x1a9),()=>this[_0x790fbe(0x1a0)](_0x2cb71d,!0x0)),_0x5dccdd['ui'][_0x790fbe(0x191)][_0x790fbe(0x195)](_0x790fbe(0x1b9),()=>{const _0x353c37=_0x790fbe,_0xc87b92=this[_0x353c37(0x1a0)](_0x4569af);return _0xc87b92[_0x353c37(0x19d)]({'role':_0x353c37(0x184)}),_0xc87b92;});const _0x5bb2b4=_0x5dccdd[_0x790fbe(0x18e)][_0x790fbe(0x1b6)](_0xdb96db),_0x1dde2f=_0x5dccdd[_0x790fbe(0x18e)][_0x790fbe(0x1b6)](_0x790fbe(0x1be)),_0x5e9ed5=_0x5dccdd[_0x790fbe(0x18e)][_0x790fbe(0x1b6)](_0x790fbe(0x1c1));_0x5bb2b4[_0x790fbe(0x1c9)][_0x790fbe(0x1ac)](_0x1da54e=>{const _0x58c0ca=_0x790fbe;this[_0x58c0ca(0x19f)](_0x1da54e);}),this[_0x790fbe(0x1aa)](_0x5bb2b4[_0x790fbe(0x1c9)],_0x790fbe(0x195),(_0x27318a,_0x4e1c76)=>{const _0x3c3aa6=_0x790fbe;this[_0x3c3aa6(0x19f)](_0x4e1c76);}),this[_0x790fbe(0x1aa)](_0x1dde2f[_0x790fbe(0x1a1)],_0x790fbe(0x195),(_0x1649c2,_0x55bb5b)=>{const _0x441756=_0x790fbe,_0x35555f=this[_0x441756(0x1cb)][_0x441756(0x1a4)](_0x4a19a3=>{const _0x295dcf=_0x441756,_0x2bc6e2=_0x5e9ed5[_0x295dcf(0x183)][_0x295dcf(0x1b6)](_0x4a19a3);return _0x2bc6e2&&_0x55bb5b[_0x295dcf(0x181)]===_0x2bc6e2[_0x295dcf(0x1ba)];});if(_0x35555f){const _0x2d41f4=this[_0x441756(0x194)](_0x35555f[_0x441756(0x1c6)]);this[_0x441756(0x1b0)](_0x55bb5b,_0x2d41f4),this[_0x441756(0x1cb)][_0x441756(0x1cc)](this[_0x441756(0x1cb)][_0x441756(0x1ca)](_0x35555f),0x1);}}),this[_0x790fbe(0x1aa)](_0x5bb2b4[_0x790fbe(0x1c9)],_0x790fbe(0x1c7),(_0x402d92,_0x53e1c0)=>{const _0x4ae09b=_0x790fbe,_0x3ffc42=_0x5dccdd[_0x4ae09b(0x19b)][_0x4ae09b(0x1b6)](_0x4ae09b(0x188));if(!_0x3ffc42||_0x53e1c0[_0x4ae09b(0x18b)]===_0x3ffc42){if(this[_0x4ae09b(0x1cb)][_0x4ae09b(0x1bf)](_0x53e1c0))this[_0x4ae09b(0x1cb)][_0x4ae09b(0x1cc)](this[_0x4ae09b(0x1cb)][_0x4ae09b(0x1ca)](_0x53e1c0),0x1);else{const _0xed83f9=_0x5e9ed5[_0x4ae09b(0x183)][_0x4ae09b(0x1b6)](_0x53e1c0),_0x5b428e=_0x1dde2f[_0x4ae09b(0x1ce)](_0xed83f9[_0x4ae09b(0x1ba)]);this[_0x4ae09b(0x1a3)][_0x4ae09b(0x1c7)](_0x5b428e[_0x4ae09b(0x1ba)]),this[_0x4ae09b(0x1c8)](_0x5b428e),this[_0x4ae09b(0x1c8)](_0x5b428e[_0x4ae09b(0x1b4)]);}}}),this[_0x790fbe(0x1aa)](_0x1dde2f[_0x790fbe(0x1a1)],_0x790fbe(0x195),(_0x745b62,_0x533f16)=>{const _0x53e162=_0x790fbe;this[_0x53e162(0x1aa)](_0x533f16,_0x53e162(0x1bb),_0x30a172);}),this[_0x790fbe(0x1aa)](_0x1dde2f[_0x790fbe(0x1a1)],_0x790fbe(0x1c7),(_0x1c014f,_0x20a0ab)=>{const _0x58948e=_0x790fbe;this[_0x58948e(0x1c8)](_0x20a0ab,_0x58948e(0x1bb),_0x30a172);});}[_0x22740c(0x1b0)](_0x30d281,_0x1b96ef){const _0x5d07d5=_0x22740c;this[_0x5d07d5(0x1aa)](_0x30d281,_0x5d07d5(0x1bc),_0x31780e=>{const _0x399cf6=_0x5d07d5;_0x31780e[_0x399cf6(0x199)]=!0x1,_0x31780e[_0x399cf6(0x1b8)]();}),this[_0x5d07d5(0x1a3)][_0x5d07d5(0x195)](_0x30d281[_0x5d07d5(0x1ba)],_0x1b96ef);}[_0x22740c(0x19f)](_0x31278f){const _0x4725dd=_0x22740c,_0x601a73=this[_0x4725dd(0x1cd)][_0x4725dd(0x18e)][_0x4725dd(0x1b6)](_0x4725dd(0x1c1)),_0x20bce8=this[_0x4725dd(0x1cd)][_0x4725dd(0x18e)][_0x4725dd(0x1b6)](_0x4725dd(0x1be)),_0xdb0f1a=this[_0x4725dd(0x1cd)][_0x4725dd(0x19b)][_0x4725dd(0x1b6)](_0x4725dd(0x188));if(!_0xdb0f1a||_0x31278f[_0x4725dd(0x18b)]===_0xdb0f1a){const _0x1d9a16=_0x601a73[_0x4725dd(0x183)][_0x4725dd(0x1b6)](_0x31278f);if(!_0x1d9a16)return void this[_0x4725dd(0x1cb)][_0x4725dd(0x1a7)](_0x31278f);const _0x2a6bc6=this[_0x4725dd(0x194)](_0x31278f[_0x4725dd(0x1c6)]),_0x678435=_0x20bce8[_0x4725dd(0x1ce)](_0x1d9a16[_0x4725dd(0x1ba)]);_0x678435[_0x4725dd(0x1b3)]&&_0x20bce8[_0x4725dd(0x192)][_0x4725dd(0x1c7)](_0x678435),this[_0x4725dd(0x1b0)](_0x678435,_0x2a6bc6);}}[_0x22740c(0x194)](_0x2f051a){const _0x54698a=_0x22740c,_0x5a20be=this[_0x54698a(0x1cd)][_0x54698a(0x19b)][_0x54698a(0x1b6)](_0x54698a(0x188)),_0x4762e1=[...this[_0x54698a(0x1cd)][_0x54698a(0x18e)][_0x54698a(0x1b6)](_0xdb96db)[_0x54698a(0x1c9)]][_0x54698a(0x18a)](_0x3d4b15=>_0x3d4b15[_0x54698a(0x18b)]===_0x5a20be)[_0x54698a(0x19a)](_0x68411a=>_0x68411a[_0x54698a(0x1c6)]<_0x2f051a);return _0x4762e1<0x0||_0x4762e1>this[_0x54698a(0x1a3)][_0x54698a(0x190)]?this[_0x54698a(0x1a3)][_0x54698a(0x190)]:_0x4762e1-0x1;}[_0x22740c(0x1b5)](){const _0x533841=_0x22740c,_0x268d31=this[_0x533841(0x1cd)],_0x36380b=_0x268d31[_0x533841(0x18e)][_0x533841(0x1b6)](_0x533841(0x1b2));this[_0x533841(0x19c)]||(this[_0x533841(0x19c)]=new _0x15e6bd(_0x268d31[_0x533841(0x1c0)],this[_0x533841(0x1a3)])),_0x533841(0x1a9)===_0x36380b['id']?_0x36380b[_0x533841(0x18f)]():_0x36380b[_0x533841(0x1ae)]({'id':_0x533841(0x1a9),'title':_0x5d05d1(_0x268d31[_0x533841(0x1c0)],_0x533841(0x18d)),'icon':_0x2e2ae3,'hasCloseButton':!0x0,'content':this[_0x533841(0x19c)],'position':_0x14d35d[_0x533841(0x1c4)]});}[_0x22740c(0x1a0)](_0x59a58d,_0x5d94a7=!0x1){const _0x252ce3=_0x22740c,_0x115abf=this[_0x252ce3(0x1cd)][_0x252ce3(0x1c0)],_0x3b3b6d=this[_0x252ce3(0x1cd)][_0x252ce3(0x18e)][_0x252ce3(0x1b6)](_0x252ce3(0x1b2)),_0x177a89=new _0x59a58d(_0x115abf);return _0x177a89[_0x252ce3(0x1b7)](_0x252ce3(0x185))['to'](this,_0x252ce3(0x185)),_0x177a89[_0x252ce3(0x1b7)](_0x252ce3(0x196))['to'](_0x3b3b6d,'id',_0x45400f=>_0x252ce3(0x1a9)===_0x45400f),_0x177a89[_0x252ce3(0x19d)]({'label':_0x5d05d1(_0x115abf,_0x252ce3(0x18d)),'icon':_0x2e2ae3,'isToggleable':!0x0}),_0x5d94a7&&(_0x177a89[_0x252ce3(0x1a6)]=!0x0),this[_0x252ce3(0x1aa)](_0x177a89,_0x252ce3(0x1a8),()=>this[_0x252ce3(0x1b5)]()),_0x177a89;}[_0x22740c(0x198)]=_0x54276f=>{const _0x3389b2=_0x22740c,_0x514865=_0x54276f[_0x3389b2(0x1ad)];if(!this[_0x3389b2(0x1a3)][_0x3389b2(0x189)](_0x514865[_0x3389b2(0x1ba)]))return;const _0x3d7e4=this[_0x3389b2(0x1cd)][_0x3389b2(0x18e)][_0x3389b2(0x1b6)](_0x3389b2(0x1b2));_0x3d7e4[_0x3389b2(0x18c)]&&_0x3389b2(0x1a9)===_0x3d7e4['id']&&(_0x3d7e4[_0x3389b2(0x18f)](),_0x54276f[_0x3389b2(0x1b8)]());};}
|