@ckeditor/ckeditor5-comments 47.4.0-alpha.4 → 47.4.0-alpha.5
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 +19 -19
- 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
|
-
function _0x135f(){const _0x46c3ce=['set','height','updateHeight','content','nodeType','bottom','class','config','Sidebar','change:_lastItem','_detachFromContainer','pluginName','length','690864mahUtd','stopListening','1707768ceCLHs','bind','clear','_updateLastItem','10064450qbHauM','_attachToContainer','change:top','190gsYDqt','isPremiumPlugin','sidebar.container','_getItemBefore','change:targetRect','rearrange','4LgUJKh','define','_destroySidebarItemView','1301106TjCZxT','_spaceBetweenItems','49ehbhHc','170MMQOWy','get','_alignForTopChange','_annotationToSidebarItemView','change:bottom','_getItemAfter','_activeAnnotation','_recalculate','element','sidebar-setcontainer-invalid-element','max','363183afLLpS','unbind','delete','appendChild','sidebar.preventScrollOutOfView','isOfficialPlugin','sidebar-attachtocontainer-missing-container','add','303165WmRvYL','getSidebarItemView','getIndex','setContainer','view','minHeight','targetRect','context','listenTo','refresh','addAnnotation','destroy','init','last','object','_alignForBottomChange','_alignToTargetRect','_annotations','container','render','_alignBeforeItem','locale','_getMaxAvailableTop','_createSidebarView','isActive','_getTargetTop','_sidebarItemViewToAnnotation','target','top','_targetTop','remove','_alignAfterItem','push','_setItemTop','list','_recalculateBuffer','72412tQhfUv','isAnimationDisabled','_lastItem'];_0x135f=function(){return _0x46c3ce;};return _0x135f();}const _0x2e8c7f=_0x5a17;(function(_0x3acdf1,_0x472c14){const _0x25a8cf=_0x5a17,_0x2425cf=_0x3acdf1();while(!![]){try{const _0x2f1728=-parseInt(_0x25a8cf(0x107))/0x1+parseInt(_0x25a8cf(0xf6))/0x2*(parseInt(_0x25a8cf(0xf9))/0x3)+parseInt(_0x25a8cf(0xd7))/0x4*(parseInt(_0x25a8cf(0xfc))/0x5)+parseInt(_0x25a8cf(0xe9))/0x6+-parseInt(_0x25a8cf(0xfb))/0x7*(parseInt(_0x25a8cf(0xe7))/0x8)+parseInt(_0x25a8cf(0x10f))/0x9*(parseInt(_0x25a8cf(0xf0))/0xa)+-parseInt(_0x25a8cf(0xed))/0xb;if(_0x2f1728===_0x472c14)break;else _0x2425cf['push'](_0x2425cf['shift']());}catch(_0x47f820){_0x2425cf['push'](_0x2425cf['shift']());}}}(_0x135f,0x8026e));function _0x5a17(_0x272376,_0xe76145){const _0x135f53=_0x135f();return _0x5a17=function(_0x5a175d,_0x5df7a4){_0x5a175d=_0x5a175d-0xca;let _0x1bdd59=_0x135f53[_0x5a175d];return _0x1bdd59;},_0x5a17(_0x272376,_0xe76145);}import{ContextPlugin as _0x141cc9}from'ckeditor5/src/core.js';import{Rect as _0x244743,CKEditorError as _0x13c4a4}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x51e93e}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1ff576}from'./view/sidebaritemview.js';export class Sidebar extends _0x141cc9{[_0x2e8c7f(0x113)];[_0x2e8c7f(0x102)];[_0x2e8c7f(0x120)];[_0x2e8c7f(0xfa)];[_0x2e8c7f(0xcd)];[_0x2e8c7f(0xff)];[_0x2e8c7f(0xd6)];static get[_0x2e8c7f(0xe5)](){const _0x2036b2=_0x2e8c7f;return _0x2036b2(0xe2);}static get[_0x2e8c7f(0x10c)](){return!0x0;}static get[_0x2e8c7f(0xf1)](){return!0x0;}constructor(_0x2f9652){const _0x5d4c21=_0x2e8c7f;super(_0x2f9652),this[_0x5d4c21(0xda)](_0x5d4c21(0xd9),void 0x0),this[_0x5d4c21(0x113)]=this[_0x5d4c21(0xca)](),this[_0x5d4c21(0xda)](_0x5d4c21(0x121),null),this[_0x5d4c21(0xfa)]=0x19,this[_0x5d4c21(0xcd)]=new Map(),this[_0x5d4c21(0xff)]=new Map(),this[_0x5d4c21(0x116)][_0x5d4c21(0xe1)][_0x5d4c21(0xf7)](_0x5d4c21(0x10b),!0x1),this[_0x5d4c21(0x120)]=null,this[_0x5d4c21(0x102)]=null,this[_0x5d4c21(0xd6)]=[];}[_0x2e8c7f(0x11b)](){const _0x4fac66=_0x2e8c7f,_0x7af99b=this[_0x4fac66(0x116)][_0x4fac66(0xe1)][_0x4fac66(0xfd)](_0x4fac66(0xf2));_0x7af99b&&this[_0x4fac66(0x112)](_0x7af99b);}[_0x2e8c7f(0x112)](_0x70751e){const _0x5a3550=_0x2e8c7f;if(!g(_0x70751e))throw new _0x13c4a4(_0x5a3550(0x105));this[_0x5a3550(0x121)]=_0x70751e;}[_0x2e8c7f(0xee)]({viewClass:_0x28f957='',spaceBetweenItems:_0x5b40aa=0x19}={}){const _0xb294a4=_0x2e8c7f;if(!g(this[_0xb294a4(0x121)]))throw new _0x13c4a4(_0xb294a4(0x10d),this);this[_0xb294a4(0x121)][_0xb294a4(0x10a)](this[_0xb294a4(0x113)][_0xb294a4(0x104)]),this[_0xb294a4(0x113)][_0xb294a4(0xe0)]=_0x28f957,this[_0xb294a4(0xfa)]=_0x5b40aa;}[_0x2e8c7f(0xf5)]({removedAnnotation:_0x35e1ab,previousAnnotation:_0x530948,nextAnnotation:_0x3acca3}){const _0x359cb8=_0x2e8c7f,_0x28f301=this[_0x359cb8(0x110)](_0x35e1ab);this[_0x359cb8(0x113)][_0x359cb8(0xd5)][_0x359cb8(0xd1)](_0x28f301),this[_0x359cb8(0xf8)](_0x35e1ab),_0x530948&&this[_0x359cb8(0x11f)](this[_0x359cb8(0x110)](_0x530948)),_0x3acca3&&this[_0x359cb8(0x11f)](this[_0x359cb8(0x110)](_0x3acca3)),this[_0x359cb8(0xec)]();}[_0x2e8c7f(0x118)]({blurredAnnotation:_0xee0303,activatedAnnotation:_0x1ac2cc,disableAnimationOnActivatedAnnotation:_0x309732}){const _0x35a9da=_0x2e8c7f;if(this[_0x35a9da(0x102)]=_0x1ac2cc,_0xee0303){_0xee0303[_0x35a9da(0xcb)]=!0x1;const _0x475760=this[_0x35a9da(0x110)](_0xee0303);_0x475760&&_0x309732&&(_0x475760[_0x35a9da(0xd8)]=!0x1);}if(_0x1ac2cc){const _0x45099f=this[_0x35a9da(0x110)](_0x1ac2cc);_0x45099f&&(_0x1ac2cc[_0x35a9da(0xcb)]=!0x0,_0x309732&&(_0x45099f[_0x35a9da(0xd8)]=!0x0,_0x45099f[_0x35a9da(0xcf)]+=0x1),this[_0x35a9da(0x11f)](_0x45099f));}}[_0x2e8c7f(0xe4)](_0x3e4002){const _0x4ce1e5=_0x2e8c7f;if(this[_0x4ce1e5(0x113)][_0x4ce1e5(0x104)][_0x4ce1e5(0xd1)](),_0x3e4002){for(const _0x23a883 of _0x3e4002)this[_0x4ce1e5(0xf8)](_0x23a883);}this[_0x4ce1e5(0x113)][_0x4ce1e5(0xd5)][_0x4ce1e5(0xeb)](),this[_0x4ce1e5(0x113)][_0x4ce1e5(0xe0)]='',this[_0x4ce1e5(0xd9)]=null;}[_0x2e8c7f(0x119)](_0x446367,_0x5b67c0){const _0x39c5ce=_0x2e8c7f;_0x5b67c0||(_0x5b67c0=_0x446367[_0x39c5ce(0x113)]);const _0x49a483=new _0x1ff576(this[_0x39c5ce(0x116)][_0x39c5ce(0x124)]);this[_0x39c5ce(0xcd)][_0x39c5ce(0xda)](_0x49a483,_0x446367),this[_0x39c5ce(0xff)][_0x39c5ce(0xda)](_0x446367,_0x49a483),_0x49a483[_0x39c5ce(0xdd)][_0x39c5ce(0x10e)](_0x5b67c0),this[_0x39c5ce(0x117)](_0x446367[_0x39c5ce(0x113)],_0x39c5ce(0xf4),(_0x357e8d,_0x40bcda,_0x40d30d)=>{const _0x7c3ab7=_0x39c5ce,_0x48a777=this[_0x7c3ab7(0xcc)](_0x446367,_0x40d30d);_0x49a483[_0x7c3ab7(0xd0)]!=_0x48a777&&(_0x49a483[_0x7c3ab7(0xd0)]=_0x48a777,this[_0x7c3ab7(0xd4)](_0x49a483,_0x48a777));}),this[_0x39c5ce(0x117)](_0x49a483,_0x39c5ce(0xef),()=>{const _0x3be64a=_0x39c5ce;this[_0x3be64a(0x103)](_0x49a483,_0x3be64a(0xcf));}),this[_0x39c5ce(0x117)](_0x49a483,_0x39c5ce(0x100),()=>{const _0x16a8e6=_0x39c5ce;this[_0x16a8e6(0x103)](_0x49a483,_0x16a8e6(0xdf));}),this[_0x39c5ce(0x11f)](_0x49a483);const _0xb65220=this[_0x39c5ce(0xf3)](_0x49a483);if(_0xb65220)this[_0x39c5ce(0xd2)](_0xb65220,_0x49a483)||this[_0x39c5ce(0x11f)](_0x49a483);else this[_0x39c5ce(0x11f)](_0x49a483);return this[_0x39c5ce(0xec)](),this[_0x39c5ce(0x113)][_0x39c5ce(0xd5)][_0x39c5ce(0x10e)](_0x49a483),_0x49a483;}[_0x2e8c7f(0xfe)](_0x1368f2){const _0x59db6f=_0x2e8c7f;if(!_0x1368f2[_0x59db6f(0xdd)][_0x59db6f(0xe6)])return;const _0x1b0eb9=this[_0x59db6f(0xf3)](_0x1368f2);if(!_0x1b0eb9)return;const _0x1d4442=this[_0x59db6f(0xcd)][_0x59db6f(0xfd)](_0x1b0eb9),_0x3262f9=this[_0x59db6f(0x102)];_0x3262f9&&_0x3262f9===_0x1d4442?this[_0x59db6f(0xd2)](_0x1b0eb9,_0x1368f2):this[_0x59db6f(0x123)](_0x1368f2,_0x1b0eb9);}[_0x2e8c7f(0x11e)](_0x346dd0){const _0x4e6ff3=_0x2e8c7f;if(!_0x346dd0[_0x4e6ff3(0xdd)][_0x4e6ff3(0xe6)])return;const _0x1eb60c=this[_0x4e6ff3(0x101)](_0x346dd0);if(!_0x1eb60c)return;const _0x23aa1e=this[_0x4e6ff3(0xcd)][_0x4e6ff3(0xfd)](_0x1eb60c),_0x2365b1=this[_0x4e6ff3(0x116)][_0x4e6ff3(0xe1)][_0x4e6ff3(0xfd)](_0x4e6ff3(0x10b)),_0x4e9e2a=this[_0x4e6ff3(0x102)];_0x4e9e2a&&_0x4e9e2a===_0x23aa1e&&_0x2365b1?(this[_0x4e6ff3(0x123)](_0x1eb60c,_0x346dd0),this[_0x4e6ff3(0xd2)](_0x346dd0,_0x1eb60c)):_0x4e9e2a&&_0x4e9e2a===_0x23aa1e?this[_0x4e6ff3(0x123)](_0x1eb60c,_0x346dd0):this[_0x4e6ff3(0xd2)](_0x346dd0,_0x1eb60c);}[_0x2e8c7f(0x103)](_0x3e802a,_0x307cd1){const _0x1c7b87=_0x2e8c7f;0x0===this[_0x1c7b87(0xd6)][_0x1c7b87(0xe6)]&&setTimeout(()=>{const _0x2e6dac=_0x1c7b87;for(const {sidebarItemView:_0x1ffcb3,changedProp:_0x34b996}of this[_0x2e6dac(0xd6)])_0x2e6dac(0xcf)===_0x34b996?this[_0x2e6dac(0xfe)](_0x1ffcb3):this[_0x2e6dac(0x11e)](_0x1ffcb3);this[_0x2e6dac(0xd6)]=[];},0xa),this[_0x1c7b87(0xd6)][_0x1c7b87(0xd3)]({'sidebarItemView':_0x3e802a,'changedProp':_0x307cd1});}[_0x2e8c7f(0x110)](_0x790ca1){const _0x17fc39=_0x2e8c7f;return this[_0x17fc39(0xff)][_0x17fc39(0xfd)](_0x790ca1);}[_0x2e8c7f(0x11a)](){const _0x2d75f7=_0x2e8c7f;this[_0x2d75f7(0xe8)](),this[_0x2d75f7(0x113)][_0x2d75f7(0x11a)]();}[_0x2e8c7f(0xf8)](_0x2c26c5){const _0x101c70=_0x2e8c7f,_0x58c2b2=this[_0x101c70(0x110)](_0x2c26c5);this[_0x101c70(0xe8)](_0x58c2b2),this[_0x101c70(0xe8)](_0x2c26c5[_0x101c70(0x113)]),_0x58c2b2[_0x101c70(0x11a)](),this[_0x101c70(0xff)][_0x101c70(0x109)](_0x2c26c5),this[_0x101c70(0xcd)][_0x101c70(0x109)](_0x58c2b2);}[_0x2e8c7f(0xca)](){const _0x461411=_0x2e8c7f,_0x53bf27=new _0x51e93e(this[_0x461411(0x116)][_0x461411(0x124)]);return _0x53bf27[_0x461411(0x122)](),this['on'](_0x461411(0xe3),(_0x54f046,_0x327ed0,_0x235474,_0xdac231)=>{const _0x284b33=_0x461411;_0xdac231&&_0x53bf27[_0x284b33(0x108)](_0x284b33(0x114)),_0x235474?_0x53bf27[_0x284b33(0xea)](_0x284b33(0x114))['to'](_0x235474,_0x284b33(0xdf)):_0x53bf27[_0x284b33(0x114)]=null;}),_0x53bf27;}[_0x2e8c7f(0xec)](){const _0x30d342=_0x2e8c7f;this[_0x30d342(0xd9)]=this[_0x30d342(0x120)]?.[_0x30d342(0x11c)]?this[_0x30d342(0x110)](this[_0x30d342(0x120)][_0x30d342(0x11c)]):null;}[_0x2e8c7f(0xf3)](_0x430742){const _0x279b79=_0x2e8c7f,_0x3c8f9c=this[_0x279b79(0xcd)][_0x279b79(0xfd)](_0x430742),_0x5c529d=_0x3c8f9c&&this[_0x279b79(0x120)]?.[_0x279b79(0xfd)](this[_0x279b79(0x120)][_0x279b79(0x111)](_0x3c8f9c)-0x1);return _0x5c529d&&this[_0x279b79(0x110)](_0x5c529d)||null;}[_0x2e8c7f(0x101)](_0x34528a){const _0x50aad1=_0x2e8c7f,_0x2e8bfb=this[_0x50aad1(0xcd)][_0x50aad1(0xfd)](_0x34528a),_0x2cad5f=_0x2e8bfb&&this[_0x50aad1(0x120)]?.[_0x50aad1(0xfd)](this[_0x50aad1(0x120)][_0x50aad1(0x111)](_0x2e8bfb)+0x1);return _0x2cad5f&&this[_0x50aad1(0x110)](_0x2cad5f)||null;}[_0x2e8c7f(0x123)](_0x1b41b2,_0x3d55bf){const _0x3d8f2a=_0x2e8c7f;_0x1b41b2[_0x3d8f2a(0xdc)]();const _0x17c07b=G(_0x3d55bf[_0x3d8f2a(0xdf)]+this[_0x3d8f2a(0xfa)],_0x1b41b2[_0x3d8f2a(0xcf)]);return!!_0x17c07b&&(this[_0x3d8f2a(0xd4)](_0x3d55bf,_0x3d55bf[_0x3d8f2a(0xcf)]-_0x17c07b),!0x0);}[_0x2e8c7f(0xd2)](_0x2816fd,_0xf62d39){const _0x5ebf89=_0x2e8c7f;_0x2816fd[_0x5ebf89(0xdc)]();const _0x4c26bb=G(_0x2816fd[_0x5ebf89(0xdf)]+this[_0x5ebf89(0xfa)],_0xf62d39[_0x5ebf89(0xcf)]);return!!_0x4c26bb&&(this[_0x5ebf89(0xd4)](_0xf62d39,_0xf62d39[_0x5ebf89(0xcf)]+_0x4c26bb,!0x1),!0x0);}[_0x2e8c7f(0x11f)](_0xfc87dc){const _0x4416c5=_0x2e8c7f,_0x27340f=this[_0x4416c5(0xcd)][_0x4416c5(0xfd)](_0xfc87dc);if(!_0x27340f||!_0x27340f[_0x4416c5(0xce)]||!_0x27340f[_0x4416c5(0x115)])return;const _0x1cd5bd=this[_0x4416c5(0xcc)](_0x27340f,_0x27340f[_0x4416c5(0x115)]);this[_0x4416c5(0xd4)](_0xfc87dc,_0x1cd5bd);}[_0x2e8c7f(0xcc)](_0x1aabda,_0x7195ed){const _0x3efba1=_0x2e8c7f;if(null===_0x7195ed)return 0x0;if(_0x1aabda[_0x3efba1(0xce)]instanceof _0x244743)return _0x7195ed[_0x3efba1(0xcf)];{const _0x4a4096=new _0x244743(this[_0x3efba1(0x113)][_0x3efba1(0x104)])[_0x3efba1(0xcf)];return _0x7195ed[_0x3efba1(0xcf)]-_0x4a4096;}}[_0x2e8c7f(0xd4)](_0x1fec18,_0x48d08e,_0x1172eb=this[_0x2e8c7f(0x116)][_0x2e8c7f(0xe1)][_0x2e8c7f(0xfd)](_0x2e8c7f(0x10b))){const _0x4aeba0=_0x2e8c7f;_0x1172eb&&(_0x48d08e=Math[_0x4aeba0(0x106)](_0x48d08e,this[_0x4aeba0(0x125)](_0x1fec18))),_0x1fec18[_0x4aeba0(0xcf)]=_0x48d08e;}[_0x2e8c7f(0x125)](_0x6afc1a){const _0x29fb15=_0x2e8c7f;let _0x104d6b=this[_0x29fb15(0xf3)](_0x6afc1a),_0x21adfd=0x0;for(;_0x104d6b;)_0x104d6b[_0x29fb15(0xdc)](),_0x21adfd+=this[_0x29fb15(0xfa)]+_0x104d6b[_0x29fb15(0xdb)],_0x104d6b=this[_0x29fb15(0xf3)](_0x104d6b);return _0x21adfd;}}function G(_0x468800,_0x10d99e){const _0x13f376=_0x2e8c7f;return Math[_0x13f376(0x106)](_0x468800-_0x10d99e,0x0);}function g(_0x4dc228){const _0x3b214f=_0x2e8c7f;return null!==_0x4dc228&&_0x3b214f(0x11d)==typeof _0x4dc228&&0x1===_0x4dc228[_0x3b214f(0xde)];}
|
|
23
|
+
function _0x30bf(){const _0x210455=['object','_sidebarItemViewToAnnotation','container','refresh','sidebar.container','destroy','_alignAfterItem','add','_alignToTargetRect','_annotations','set','_getMaxAvailableTop','length','last','locale','_createSidebarView','560741iIASrb','_recalculateBuffer','_getItemBefore','_detachFromContainer','change:targetRect','render','delete','pluginName','rearrange','stopListening','sidebar.preventScrollOutOfView','setContainer','getSidebarItemView','listenTo','2480608dSynuW','isOfficialPlugin','2271606ErrcfA','_lastItem','isActive','minHeight','target','1541772fJsovg','_setItemTop','sidebar-attachtocontainer-missing-container','define','init','bottom','430922pEVrtG','_attachToContainer','max','updateHeight','1378868MFYiCi','context','appendChild','_getTargetTop','targetRect','_destroySidebarItemView','remove','Sidebar','bind','config','unbind','_getItemAfter','_alignForTopChange','change:_lastItem','view','clear','change:top','addAnnotation','isPremiumPlugin','_recalculate','sidebar-setcontainer-invalid-element','_spaceBetweenItems','get','height','push','_updateLastItem','content','change:bottom','15IPqaLc','_alignForBottomChange','element','7sOfZtv','isAnimationDisabled','getIndex','_alignBeforeItem','list','class','_annotationToSidebarItemView','_activeAnnotation','2706369cLURtl','top','nodeType','_targetTop'];_0x30bf=function(){return _0x210455;};return _0x30bf();}function _0x4152(_0x4c70fc,_0x5a4895){const _0x30bfd9=_0x30bf();return _0x4152=function(_0x41529a,_0x3fa2d1){_0x41529a=_0x41529a-0xb7;let _0x2dd273=_0x30bfd9[_0x41529a];return _0x2dd273;},_0x4152(_0x4c70fc,_0x5a4895);}const _0x947f69=_0x4152;(function(_0x5f11e7,_0x1d4185){const _0x277c9a=_0x4152,_0x429a23=_0x5f11e7();while(!![]){try{const _0x36be3a=-parseInt(_0x277c9a(0xf8))/0x1+-parseInt(_0x277c9a(0xb9))/0x2+parseInt(_0x277c9a(0xe4))/0x3+parseInt(_0x277c9a(0xbd))/0x4*(parseInt(_0x277c9a(0xd9))/0x5)+-parseInt(_0x277c9a(0x108))/0x6*(parseInt(_0x277c9a(0xdc))/0x7)+-parseInt(_0x277c9a(0x106))/0x8+parseInt(_0x277c9a(0x10d))/0x9;if(_0x36be3a===_0x1d4185)break;else _0x429a23['push'](_0x429a23['shift']());}catch(_0x1803f3){_0x429a23['push'](_0x429a23['shift']());}}}(_0x30bf,0x9ce8f));import{ContextPlugin as _0xc647c5}from'ckeditor5/src/core.js';import{Rect as _0x543ca8,CKEditorError as _0x21d4bd}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x57efce}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x143b2f}from'./view/sidebaritemview.js';export class Sidebar extends _0xc647c5{[_0x947f69(0xcb)];[_0x947f69(0xe3)];[_0x947f69(0xf1)];[_0x947f69(0xd2)];[_0x947f69(0xe9)];[_0x947f69(0xe2)];[_0x947f69(0xf9)];static get[_0x947f69(0xff)](){const _0x1a523b=_0x947f69;return _0x1a523b(0xc4);}static get[_0x947f69(0x107)](){return!0x0;}static get[_0x947f69(0xcf)](){return!0x0;}constructor(_0x3c4b10){const _0x1fe444=_0x947f69;super(_0x3c4b10),this[_0x1fe444(0xf2)](_0x1fe444(0x109),void 0x0),this[_0x1fe444(0xcb)]=this[_0x1fe444(0xf7)](),this[_0x1fe444(0xf2)](_0x1fe444(0xea),null),this[_0x1fe444(0xd2)]=0x19,this[_0x1fe444(0xe9)]=new Map(),this[_0x1fe444(0xe2)]=new Map(),this[_0x1fe444(0xbe)][_0x1fe444(0xc6)][_0x1fe444(0x110)](_0x1fe444(0x102),!0x1),this[_0x1fe444(0xf1)]=null,this[_0x1fe444(0xe3)]=null,this[_0x1fe444(0xf9)]=[];}[_0x947f69(0xb7)](){const _0x4a4ab4=_0x947f69,_0x77625b=this[_0x4a4ab4(0xbe)][_0x4a4ab4(0xc6)][_0x4a4ab4(0xd3)](_0x4a4ab4(0xec));_0x77625b&&this[_0x4a4ab4(0x103)](_0x77625b);}[_0x947f69(0x103)](_0x1e8447){const _0x4b89aa=_0x947f69;if(!g(_0x1e8447))throw new _0x21d4bd(_0x4b89aa(0xd1));this[_0x4b89aa(0xea)]=_0x1e8447;}[_0x947f69(0xba)]({viewClass:_0x107349='',spaceBetweenItems:_0x5ce337=0x19}={}){const _0x34e2ea=_0x947f69;if(!g(this[_0x34e2ea(0xea)]))throw new _0x21d4bd(_0x34e2ea(0x10f),this);this[_0x34e2ea(0xea)][_0x34e2ea(0xbf)](this[_0x34e2ea(0xcb)][_0x34e2ea(0xdb)]),this[_0x34e2ea(0xcb)][_0x34e2ea(0xe1)]=_0x107349,this[_0x34e2ea(0xd2)]=_0x5ce337;}[_0x947f69(0x100)]({removedAnnotation:_0x2e25b7,previousAnnotation:_0x3d5e7f,nextAnnotation:_0x544c23}){const _0x17ae96=_0x947f69,_0x2ee2db=this[_0x17ae96(0x104)](_0x2e25b7);this[_0x17ae96(0xcb)][_0x17ae96(0xe0)][_0x17ae96(0xc3)](_0x2ee2db),this[_0x17ae96(0xc2)](_0x2e25b7),_0x3d5e7f&&this[_0x17ae96(0xf0)](this[_0x17ae96(0x104)](_0x3d5e7f)),_0x544c23&&this[_0x17ae96(0xf0)](this[_0x17ae96(0x104)](_0x544c23)),this[_0x17ae96(0xd6)]();}[_0x947f69(0xeb)]({blurredAnnotation:_0x42b95e,activatedAnnotation:_0x8d21d9,disableAnimationOnActivatedAnnotation:_0x5af29f}){const _0x4d7f67=_0x947f69;if(this[_0x4d7f67(0xe3)]=_0x8d21d9,_0x42b95e){_0x42b95e[_0x4d7f67(0x10a)]=!0x1;const _0x223df2=this[_0x4d7f67(0x104)](_0x42b95e);_0x223df2&&_0x5af29f&&(_0x223df2[_0x4d7f67(0xdd)]=!0x1);}if(_0x8d21d9){const _0x2897a9=this[_0x4d7f67(0x104)](_0x8d21d9);_0x2897a9&&(_0x8d21d9[_0x4d7f67(0x10a)]=!0x0,_0x5af29f&&(_0x2897a9[_0x4d7f67(0xdd)]=!0x0,_0x2897a9[_0x4d7f67(0xe5)]+=0x1),this[_0x4d7f67(0xf0)](_0x2897a9));}}[_0x947f69(0xfb)](_0x119149){const _0x2585e3=_0x947f69;if(this[_0x2585e3(0xcb)][_0x2585e3(0xdb)][_0x2585e3(0xc3)](),_0x119149){for(const _0xe50a6b of _0x119149)this[_0x2585e3(0xc2)](_0xe50a6b);}this[_0x2585e3(0xcb)][_0x2585e3(0xe0)][_0x2585e3(0xcc)](),this[_0x2585e3(0xcb)][_0x2585e3(0xe1)]='',this[_0x2585e3(0x109)]=null;}[_0x947f69(0xce)](_0x368b2d,_0xe4efa7){const _0x37eb56=_0x947f69;_0xe4efa7||(_0xe4efa7=_0x368b2d[_0x37eb56(0xcb)]);const _0x1472d1=new _0x143b2f(this[_0x37eb56(0xbe)][_0x37eb56(0xf6)]);this[_0x37eb56(0xe9)][_0x37eb56(0xf2)](_0x1472d1,_0x368b2d),this[_0x37eb56(0xe2)][_0x37eb56(0xf2)](_0x368b2d,_0x1472d1),_0x1472d1[_0x37eb56(0xd7)][_0x37eb56(0xef)](_0xe4efa7),this[_0x37eb56(0x105)](_0x368b2d[_0x37eb56(0xcb)],_0x37eb56(0xfc),(_0x3ce970,_0x1c1975,_0x5e91fc)=>{const _0x5a9f3b=_0x37eb56,_0x35cc33=this[_0x5a9f3b(0xc0)](_0x368b2d,_0x5e91fc);_0x1472d1[_0x5a9f3b(0xe7)]!=_0x35cc33&&(_0x1472d1[_0x5a9f3b(0xe7)]=_0x35cc33,this[_0x5a9f3b(0x10e)](_0x1472d1,_0x35cc33));}),this[_0x37eb56(0x105)](_0x1472d1,_0x37eb56(0xcd),()=>{const _0x3aaf45=_0x37eb56;this[_0x3aaf45(0xd0)](_0x1472d1,_0x3aaf45(0xe5));}),this[_0x37eb56(0x105)](_0x1472d1,_0x37eb56(0xd8),()=>{const _0x11ec77=_0x37eb56;this[_0x11ec77(0xd0)](_0x1472d1,_0x11ec77(0xb8));}),this[_0x37eb56(0xf0)](_0x1472d1);const _0x2879f5=this[_0x37eb56(0xfa)](_0x1472d1);if(_0x2879f5)this[_0x37eb56(0xee)](_0x2879f5,_0x1472d1)||this[_0x37eb56(0xf0)](_0x1472d1);else this[_0x37eb56(0xf0)](_0x1472d1);return this[_0x37eb56(0xd6)](),this[_0x37eb56(0xcb)][_0x37eb56(0xe0)][_0x37eb56(0xef)](_0x1472d1),_0x1472d1;}[_0x947f69(0xc9)](_0x3d551f){const _0x3cbe7f=_0x947f69;if(!_0x3d551f[_0x3cbe7f(0xd7)][_0x3cbe7f(0xf4)])return;const _0x3701ce=this[_0x3cbe7f(0xfa)](_0x3d551f);if(!_0x3701ce)return;const _0x175193=this[_0x3cbe7f(0xe9)][_0x3cbe7f(0xd3)](_0x3701ce),_0x198c8a=this[_0x3cbe7f(0xe3)];_0x198c8a&&_0x198c8a===_0x175193?this[_0x3cbe7f(0xee)](_0x3701ce,_0x3d551f):this[_0x3cbe7f(0xdf)](_0x3d551f,_0x3701ce);}[_0x947f69(0xda)](_0x1ae7f3){const _0xd2aa2e=_0x947f69;if(!_0x1ae7f3[_0xd2aa2e(0xd7)][_0xd2aa2e(0xf4)])return;const _0x4fcc01=this[_0xd2aa2e(0xc8)](_0x1ae7f3);if(!_0x4fcc01)return;const _0x39f7ac=this[_0xd2aa2e(0xe9)][_0xd2aa2e(0xd3)](_0x4fcc01),_0x3e1700=this[_0xd2aa2e(0xbe)][_0xd2aa2e(0xc6)][_0xd2aa2e(0xd3)](_0xd2aa2e(0x102)),_0x582255=this[_0xd2aa2e(0xe3)];_0x582255&&_0x582255===_0x39f7ac&&_0x3e1700?(this[_0xd2aa2e(0xdf)](_0x4fcc01,_0x1ae7f3),this[_0xd2aa2e(0xee)](_0x1ae7f3,_0x4fcc01)):_0x582255&&_0x582255===_0x39f7ac?this[_0xd2aa2e(0xdf)](_0x4fcc01,_0x1ae7f3):this[_0xd2aa2e(0xee)](_0x1ae7f3,_0x4fcc01);}[_0x947f69(0xd0)](_0x5b1428,_0x27f706){const _0x1b9dae=_0x947f69;0x0===this[_0x1b9dae(0xf9)][_0x1b9dae(0xf4)]&&setTimeout(()=>{const _0x34fb7a=_0x1b9dae;for(const {sidebarItemView:_0x40358d,changedProp:_0x459db2}of this[_0x34fb7a(0xf9)])_0x34fb7a(0xe5)===_0x459db2?this[_0x34fb7a(0xc9)](_0x40358d):this[_0x34fb7a(0xda)](_0x40358d);this[_0x34fb7a(0xf9)]=[];},0xa),this[_0x1b9dae(0xf9)][_0x1b9dae(0xd5)]({'sidebarItemView':_0x5b1428,'changedProp':_0x27f706});}[_0x947f69(0x104)](_0x22077b){const _0x598154=_0x947f69;return this[_0x598154(0xe2)][_0x598154(0xd3)](_0x22077b);}[_0x947f69(0xed)](){const _0x3347a4=_0x947f69;this[_0x3347a4(0x101)](),this[_0x3347a4(0xcb)][_0x3347a4(0xed)]();}[_0x947f69(0xc2)](_0x743f5e){const _0x6cfb86=_0x947f69,_0x5aff22=this[_0x6cfb86(0x104)](_0x743f5e);this[_0x6cfb86(0x101)](_0x5aff22),this[_0x6cfb86(0x101)](_0x743f5e[_0x6cfb86(0xcb)]),_0x5aff22[_0x6cfb86(0xed)](),this[_0x6cfb86(0xe2)][_0x6cfb86(0xfe)](_0x743f5e),this[_0x6cfb86(0xe9)][_0x6cfb86(0xfe)](_0x5aff22);}[_0x947f69(0xf7)](){const _0x4d6f63=_0x947f69,_0x34ad79=new _0x57efce(this[_0x4d6f63(0xbe)][_0x4d6f63(0xf6)]);return _0x34ad79[_0x4d6f63(0xfd)](),this['on'](_0x4d6f63(0xca),(_0x4fcac9,_0x44f11a,_0x3d8627,_0x4e6164)=>{const _0x204e0a=_0x4d6f63;_0x4e6164&&_0x34ad79[_0x204e0a(0xc7)](_0x204e0a(0x10b)),_0x3d8627?_0x34ad79[_0x204e0a(0xc5)](_0x204e0a(0x10b))['to'](_0x3d8627,_0x204e0a(0xb8)):_0x34ad79[_0x204e0a(0x10b)]=null;}),_0x34ad79;}[_0x947f69(0xd6)](){const _0x336781=_0x947f69;this[_0x336781(0x109)]=this[_0x336781(0xf1)]?.[_0x336781(0xf5)]?this[_0x336781(0x104)](this[_0x336781(0xf1)][_0x336781(0xf5)]):null;}[_0x947f69(0xfa)](_0x3472fc){const _0x1952e2=_0x947f69,_0x286949=this[_0x1952e2(0xe9)][_0x1952e2(0xd3)](_0x3472fc),_0x2f777f=_0x286949&&this[_0x1952e2(0xf1)]?.[_0x1952e2(0xd3)](this[_0x1952e2(0xf1)][_0x1952e2(0xde)](_0x286949)-0x1);return _0x2f777f&&this[_0x1952e2(0x104)](_0x2f777f)||null;}[_0x947f69(0xc8)](_0x38d04c){const _0x5ce815=_0x947f69,_0x1c2847=this[_0x5ce815(0xe9)][_0x5ce815(0xd3)](_0x38d04c),_0x5e95a4=_0x1c2847&&this[_0x5ce815(0xf1)]?.[_0x5ce815(0xd3)](this[_0x5ce815(0xf1)][_0x5ce815(0xde)](_0x1c2847)+0x1);return _0x5e95a4&&this[_0x5ce815(0x104)](_0x5e95a4)||null;}[_0x947f69(0xdf)](_0x383fb7,_0x39e484){const _0x431fef=_0x947f69;_0x383fb7[_0x431fef(0xbc)]();const _0x56964f=G(_0x39e484[_0x431fef(0xb8)]+this[_0x431fef(0xd2)],_0x383fb7[_0x431fef(0xe5)]);return!!_0x56964f&&(this[_0x431fef(0x10e)](_0x39e484,_0x39e484[_0x431fef(0xe5)]-_0x56964f),!0x0);}[_0x947f69(0xee)](_0x89e994,_0x16f776){const _0x2d6fcc=_0x947f69;_0x89e994[_0x2d6fcc(0xbc)]();const _0x238814=G(_0x89e994[_0x2d6fcc(0xb8)]+this[_0x2d6fcc(0xd2)],_0x16f776[_0x2d6fcc(0xe5)]);return!!_0x238814&&(this[_0x2d6fcc(0x10e)](_0x16f776,_0x16f776[_0x2d6fcc(0xe5)]+_0x238814,!0x1),!0x0);}[_0x947f69(0xf0)](_0x58567e){const _0xa7ecf0=_0x947f69,_0x30ba88=this[_0xa7ecf0(0xe9)][_0xa7ecf0(0xd3)](_0x58567e);if(!_0x30ba88||!_0x30ba88[_0xa7ecf0(0x10c)]||!_0x30ba88[_0xa7ecf0(0xc1)])return;const _0x17bcfe=this[_0xa7ecf0(0xc0)](_0x30ba88,_0x30ba88[_0xa7ecf0(0xc1)]);this[_0xa7ecf0(0x10e)](_0x58567e,_0x17bcfe);}[_0x947f69(0xc0)](_0x4b6975,_0x548f93){const _0x52c7fb=_0x947f69;if(null===_0x548f93)return 0x0;if(_0x4b6975[_0x52c7fb(0x10c)]instanceof _0x543ca8)return _0x548f93[_0x52c7fb(0xe5)];{const _0x33693a=new _0x543ca8(this[_0x52c7fb(0xcb)][_0x52c7fb(0xdb)])[_0x52c7fb(0xe5)];return _0x548f93[_0x52c7fb(0xe5)]-_0x33693a;}}[_0x947f69(0x10e)](_0x1d723c,_0x5c0ae8,_0x439c49=this[_0x947f69(0xbe)][_0x947f69(0xc6)][_0x947f69(0xd3)](_0x947f69(0x102))){const _0x3e529c=_0x947f69;_0x439c49&&(_0x5c0ae8=Math[_0x3e529c(0xbb)](_0x5c0ae8,this[_0x3e529c(0xf3)](_0x1d723c))),_0x1d723c[_0x3e529c(0xe5)]=_0x5c0ae8;}[_0x947f69(0xf3)](_0x42d6e1){const _0x21d21d=_0x947f69;let _0x32e0cc=this[_0x21d21d(0xfa)](_0x42d6e1),_0x55175c=0x0;for(;_0x32e0cc;)_0x32e0cc[_0x21d21d(0xbc)](),_0x55175c+=this[_0x21d21d(0xd2)]+_0x32e0cc[_0x21d21d(0xd4)],_0x32e0cc=this[_0x21d21d(0xfa)](_0x32e0cc);return _0x55175c;}}function G(_0x375594,_0x19e98a){const _0x5213d6=_0x947f69;return Math[_0x5213d6(0xbb)](_0x375594-_0x19e98a,0x0);}function g(_0x17e4de){const _0x2dba68=_0x947f69;return null!==_0x17e4de&&_0x2dba68(0xe8)==typeof _0x17e4de&&0x1===_0x17e4de[_0x2dba68(0xe6)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1f99(_0x192241,_0x44df55){const _0x28efc3=_0x28ef();return _0x1f99=function(_0x1f9930,_0x3bf9e3){_0x1f9930=_0x1f9930-0x163;let _0x287143=_0x28efc3[_0x1f9930];return _0x287143;},_0x1f99(_0x192241,_0x44df55);}const _0x26c761=_0x1f99;(function(_0x473ae8,_0x466d69){const _0x5ba892=_0x1f99,_0x4bb9ab=_0x473ae8();while(!![]){try{const _0x4c12cb=parseInt(_0x5ba892(0x165))/0x1+-parseInt(_0x5ba892(0x176))/0x2*(parseInt(_0x5ba892(0x16f))/0x3)+-parseInt(_0x5ba892(0x172))/0x4*(-parseInt(_0x5ba892(0x17f))/0x5)+parseInt(_0x5ba892(0x167))/0x6+-parseInt(_0x5ba892(0x175))/0x7+-parseInt(_0x5ba892(0x177))/0x8*(parseInt(_0x5ba892(0x178))/0x9)+parseInt(_0x5ba892(0x17c))/0xa*(-parseInt(_0x5ba892(0x169))/0xb);if(_0x4c12cb===_0x466d69)break;else _0x4bb9ab['push'](_0x4bb9ab['shift']());}catch(_0x42f8bf){_0x4bb9ab['push'](_0x4bb9ab['shift']());}}}(_0x28ef,0xe7b31));import{ButtonView as _0xc9df8a,View as _0x42ef8b}from'ckeditor5/src/ui.js';import{IconAddComment as _0x19255b}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0xc9df8a{[_0x26c761(0x171)];constructor(_0x5f10a9){const _0x18d05a=_0x26c761;super(_0x5f10a9);const _0x359b25=this[_0x18d05a(0x16e)];this[_0x18d05a(0x168)](_0x18d05a(0x179),!0x1),this[_0x18d05a(0x168)](_0x18d05a(0x16c),0x0),this[_0x18d05a(0x164)](_0x18d05a(0x17b))['to'](this,_0x18d05a(0x179),this,_0x18d05a(0x16c),(_0x3e2e0a,_0xa840f6)=>_0x3e2e0a?_0x18d05a(0x173):_0xa840f6[_0x18d05a(0x16b)]()),this[_0x18d05a(0x168)](_0x18d05a(0x181),''),this[_0x18d05a(0x16a)]=_0x19255b,this[_0x18d05a(0x163)]({'attributes':{'class':[_0x18d05a(0x16d)]}}),this[_0x18d05a(0x171)]=new _0x42ef8b(),this[_0x18d05a(0x171)][_0x18d05a(0x170)]({'tag':_0x18d05a(0x17a),'attributes':{'class':[_0x18d05a(0x174),_0x359b25['to'](_0x18d05a(0x181),_0x46c439=>_0x18d05a(0x180)+_0x46c439),_0x359b25['if'](_0x18d05a(0x179),_0x18d05a(0x166))]},'children':[{'text':_0x359b25['to'](_0x18d05a(0x17b))}]}),this[_0x18d05a(0x17d)][_0x18d05a(0x17e)](this[_0x18d05a(0x171)]);}}function _0x28ef(){const _0x3f2d34=['counterView','388isHXkd','...','ck-annotation-counter__badge','5863795TUMJkD','2ucnoRk','7119016cUyLQB','9GpjSXa','isDirty','span','_badge','3758890gVETPw','children','add','59680DAWYKJ','ck-annotation-counter__badge--','annotationType','extendTemplate','bind','1580740umtIYQ','ck-annotation-counter__badge--edit-mode','8553630OMYbAq','set','11XvlOKA','icon','toString','number','ck-annotation-counter','bindTemplate','3334935iiyqiq','setTemplate'];_0x28ef=function(){return _0x3f2d34;};return _0x28ef();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24f9a5=_0x59ab;(function(_0x433227,_0x40ffa2){const _0x5efad9=_0x59ab,_0x4d9246=_0x433227();while(!![]){try{const _0x12436a=parseInt(_0x5efad9(0x186))/0x1+-parseInt(_0x5efad9(0x187))/0x2*(-parseInt(_0x5efad9(0x172))/0x3)+-parseInt(_0x5efad9(0x17f))/0x4+parseInt(_0x5efad9(0x17b))/0x5*(parseInt(_0x5efad9(0x18d))/0x6)+-parseInt(_0x5efad9(0x168))/0x7*(-parseInt(_0x5efad9(0x16f))/0x8)+-parseInt(_0x5efad9(0x165))/0x9*(parseInt(_0x5efad9(0x18c))/0xa)+-parseInt(_0x5efad9(0x178))/0xb;if(_0x12436a===_0x40ffa2)break;else _0x4d9246['push'](_0x4d9246['shift']());}catch(_0x5e590a){_0x4d9246['push'](_0x4d9246['shift']());}}}(_0x5493,0x805ed));function _0x59ab(_0x5cf9ea,_0x34603f){const _0x5493c4=_0x5493();return _0x59ab=function(_0x59ab6e,_0x354199){_0x59ab6e=_0x59ab6e-0x160;let _0x392ee9=_0x5493c4[_0x59ab6e];return _0x392ee9;},_0x59ab(_0x5cf9ea,_0x34603f);}import{View as _0x158de0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x25a96f,KeystrokeHandler as _0x2a32fc,uid as _0x5b9afb}from'ckeditor5/src/utils.js';function _0x5493(){const _0x30627b=['50LaANtA','createCollection','add','div','613080IAqaev','arrowdown','detach','_updateHeight','type','ck-annotation-wrapper','ck-rounded-corners','989523XonXLX','1721594tjxOxO','destroy','focus','length','keystrokes','10xjugLc','571338QSPAyE','ck-annotation-wrapper--active','bindTemplate','attach','clear','clientHeight','delegate','render','6566634VDIVsV','setTemplate','Esc','24430LTzuLo','set','first','element','targetRect','presentation','fire','832tVnTQs','isDirty','_mutationObserver','3haWwiX','isActive','focusTracker','mainView','height','content','19324899SpiEPb','arrowup','listenTo'];_0x5493=function(){return _0x30627b;};return _0x5493();}import{createMutationObserver as _0x2f6ad6}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x158de0{[_0x24f9a5(0x174)];['id'];[_0x24f9a5(0x18b)];[_0x24f9a5(0x177)];[_0x24f9a5(0x175)];[_0x24f9a5(0x171)];constructor(_0x595272,_0x496438){const _0x86111f=_0x24f9a5;super(_0x595272),this['id']=_0x5b9afb(),this[_0x86111f(0x174)]=new _0x25a96f(),this[_0x86111f(0x18b)]=new _0x2a32fc(),this[_0x86111f(0x18b)][_0x86111f(0x169)](_0x86111f(0x167),(_0xd3ae79,_0x355686)=>this[_0x86111f(0x16e)](_0x86111f(0x167),_0x355686)),this[_0x86111f(0x169)](_0x86111f(0x16c),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x86111f(0x169)](_0x86111f(0x176),0x0),this[_0x86111f(0x169)](_0x86111f(0x173),!0x1),this[_0x86111f(0x169)](_0x86111f(0x170),!0x1),this[_0x86111f(0x169)](_0x86111f(0x18a),0x0),this[_0x86111f(0x169)](_0x86111f(0x183),''),this[_0x86111f(0x171)]=_0x2f6ad6(()=>this[_0x86111f(0x182)]()),this[_0x86111f(0x177)]=this[_0x86111f(0x17c)](),this[_0x86111f(0x177)][_0x86111f(0x163)](_0x86111f(0x179),_0x86111f(0x180))['to'](this),this[_0x86111f(0x177)][_0x86111f(0x17d)](_0x496438),this[_0x86111f(0x175)]=_0x496438;const _0x4de034=this[_0x86111f(0x18f)];this[_0x86111f(0x166)]({'tag':_0x86111f(0x17e),'attributes':{'class':['ck',_0x86111f(0x184),_0x86111f(0x185),_0x4de034['if'](_0x86111f(0x173),_0x86111f(0x18e))],'role':_0x86111f(0x16d)},'children':this[_0x86111f(0x177)]});}[_0x24f9a5(0x164)](){const _0x183d76=_0x24f9a5;super[_0x183d76(0x164)](),this[_0x183d76(0x174)][_0x183d76(0x17d)](this[_0x183d76(0x16b)]),this[_0x183d76(0x18b)][_0x183d76(0x17a)](this[_0x183d76(0x16b)]),this[_0x183d76(0x171)][_0x183d76(0x160)](this[_0x183d76(0x16b)]);}[_0x24f9a5(0x188)](){const _0x2e6488=_0x24f9a5;this[_0x2e6488(0x177)][_0x2e6488(0x161)](),this[_0x2e6488(0x18b)][_0x2e6488(0x188)](),this[_0x2e6488(0x174)][_0x2e6488(0x188)](),this[_0x2e6488(0x171)][_0x2e6488(0x181)](),super[_0x2e6488(0x188)]();}[_0x24f9a5(0x189)](){const _0x257084=_0x24f9a5;this[_0x257084(0x177)][_0x257084(0x16a)]&&this[_0x257084(0x177)][_0x257084(0x16a)][_0x257084(0x189)]();}[_0x24f9a5(0x182)](){const _0xf9766a=_0x24f9a5,_0x32815a=this[_0xf9766a(0x16b)][_0xf9766a(0x162)];_0x32815a&&(this[_0xf9766a(0x176)]=_0x32815a);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x2610fc=_0x3473;(function(_0x89bf60,_0x47892c){const _0x1c2c2d=_0x3473,_0x457467=_0x89bf60();while(!![]){try{const _0x2463b8=parseInt(_0x1c2c2d(0x1aa))/0x1+-parseInt(_0x1c2c2d(0x1c0))/0x2+-parseInt(_0x1c2c2d(0x1c2))/0x3*(-parseInt(_0x1c2c2d(0x1a3))/0x4)+-parseInt(_0x1c2c2d(0x1b1))/0x5*(parseInt(_0x1c2c2d(0x1bf))/0x6)+parseInt(_0x1c2c2d(0x1c8))/0x7*(-parseInt(_0x1c2c2d(0x1a7))/0x8)+-parseInt(_0x1c2c2d(0x1ca))/0x9*(-parseInt(_0x1c2c2d(0x1af))/0xa)+parseInt(_0x1c2c2d(0x1a9))/0xb;if(_0x2463b8===_0x47892c)break;else _0x457467['push'](_0x457467['shift']());}catch(_0x5eeeb4){_0x457467['push'](_0x457467['shift']());}}}(_0x2e68,0x2fa74));import{View as _0x13976b}from'ckeditor5/src/ui.js';import{toUnit as _0x17d0f4}from'ckeditor5/src/utils.js';function _0x3473(_0x5eef44,_0x25acfb){const _0x2e683d=_0x2e68();return _0x3473=function(_0x3473f6,_0x23b890){_0x3473f6=_0x3473f6-0x1a3;let _0x5956b9=_0x2e683d[_0x3473f6];return _0x5956b9;},_0x3473(_0x5eef44,_0x25acfb);}import{createMutationObserver as _0x4dcaf0}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x17d0f4('px');export class AnnotationsSidebarItemView extends _0x13976b{[_0x2610fc(0x1be)];[_0x2610fc(0x1c7)];[_0x2610fc(0x1a4)];constructor(_0x2cf517){const _0x5ada77=_0x2610fc;super(_0x2cf517),this[_0x5ada77(0x1c9)](_0x5ada77(0x1b2),0x0),this[_0x5ada77(0x1c9)](_0x5ada77(0x1bd),0x0),this[_0x5ada77(0x1ae)](_0x5ada77(0x1b4))['to'](this,_0x5ada77(0x1b2),this,_0x5ada77(0x1bd),(_0x4696f7,_0x509bb5)=>_0x4696f7+_0x509bb5),this[_0x5ada77(0x1c9)](_0x5ada77(0x1a8),!0x1),this[_0x5ada77(0x1a4)]=_0x4dcaf0(()=>this[_0x5ada77(0x1c3)]()),this[_0x5ada77(0x1c7)]=null,this[_0x5ada77(0x1be)]=this[_0x5ada77(0x1b5)](),this[_0x5ada77(0x1be)][_0x5ada77(0x1b8)](_0x5ada77(0x1ac),_0x5ada77(0x1b7))['to'](this);const _0x5a0e9a=this[_0x5ada77(0x1b3)];this[_0x5ada77(0x1bb)]({'tag':_0x5ada77(0x1c5),'attributes':{'class':[_0x5ada77(0x1a5),_0x5a0e9a['to'](_0x5ada77(0x1a8),_0x33c2ee=>_0x33c2ee?_0x5ada77(0x1bc):'')],'style':{'top':_0x5a0e9a['to'](_0x5ada77(0x1b2),_0x5da56e=>Ot(_0x5da56e))},'role':_0x5ada77(0x1b0)},'children':this[_0x5ada77(0x1be)]});}[_0x2610fc(0x1b9)](){const _0x153432=_0x2610fc;super[_0x153432(0x1b9)](),this[_0x153432(0x1a4)][_0x153432(0x1c4)](this[_0x153432(0x1ad)]);}[_0x2610fc(0x1c6)](){const _0x3c2526=_0x2610fc;this[_0x3c2526(0x1be)][_0x3c2526(0x1ba)]&&this[_0x3c2526(0x1be)][_0x3c2526(0x1ba)][_0x3c2526(0x1c6)]();}[_0x2610fc(0x1c3)](){const _0x1702b2=_0x2610fc,_0x3e23a4=this[_0x1702b2(0x1ad)][_0x1702b2(0x1a6)];_0x3e23a4&&(this[_0x1702b2(0x1bd)]=_0x3e23a4);}[_0x2610fc(0x1b6)](){const _0x150482=_0x2610fc;this[_0x150482(0x1be)][_0x150482(0x1ab)](),this[_0x150482(0x1a4)][_0x150482(0x1c1)](),super[_0x150482(0x1b6)]();}}function _0x2e68(){const _0x43d34a=['4LxDRTV','_mutationObserver','ck-sidebar-item','clientHeight','856cdOmMN','isAnimationDisabled','968099xnzItk','235974RpjsvS','clear','arrowup','element','bind','440bhgXhM','presentation','20sMxpDw','top','bindTemplate','bottom','createCollection','destroy','arrowdown','delegate','render','first','setTemplate','ck-sidebar-item--no-animation','height','content','291426BcCweM','83508IzRZCd','detach','820143yrSHwb','updateHeight','attach','div','focus','_targetTop','14182adBrhf','set','10359ToDYtT'];_0x2e68=function(){return _0x43d34a;};return _0x2e68();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2b603f=_0x5366;(function(_0x380836,_0x2087c8){const _0x8585ed=_0x5366,_0x230c58=_0x380836();while(!![]){try{const _0x55accb=parseInt(_0x8585ed(0xce))/0x1+parseInt(_0x8585ed(0xd4))/0x2+-parseInt(_0x8585ed(0xc5))/0x3*(-parseInt(_0x8585ed(0xba))/0x4)+parseInt(_0x8585ed(0xad))/0x5+parseInt(_0x8585ed(0xbe))/0x6*(parseInt(_0x8585ed(0xae))/0x7)+parseInt(_0x8585ed(0xc9))/0x8*(-parseInt(_0x8585ed(0xc7))/0x9)+-parseInt(_0x8585ed(0xcc))/0xa*(parseInt(_0x8585ed(0xc3))/0xb);if(_0x55accb===_0x2087c8)break;else _0x230c58['push'](_0x230c58['shift']());}catch(_0x5c2391){_0x230c58['push'](_0x230c58['shift']());}}}(_0x586e,0xabf29));function _0x586e(){const _0x158d3e=['3764289ZssaiN','change','1441431XYXFSY','focusables','8ZvkWhb','add','element','20WKILNv','forEach','807927MqTfNZ','_updateItemPositionInFocusables','list','setTemplate','focusPrevious','length','896570MCcmtO','focusFirst','number','div','set','createCollection','added','focusNext','change:top','removed','focus','class','ck-reset','974310urWfWa','3714179QpVSKU','application','delegate','top','focusTracker','bindTemplate','render','_setupKeyboardNavigation','getIndex','minHeight','ck-sidebar','remove','4cKUzCq','listenTo','arrowdown','arrowup','6mZkwMk','uiLanguageDirection','source','Annotations\x20list','focusCycler','13045879YQGZoX','Annotations\x20sidebar'];_0x586e=function(){return _0x158d3e;};return _0x586e();}import{View as _0x3f344f,FocusCycler as _0x1744e4}from'ckeditor5/src/ui.js';import{FocusTracker as _0x232128,toUnit as _0x1c0448}from'ckeditor5/src/utils.js';function _0x5366(_0x205f7d,_0x3ce3e0){const _0x586e4b=_0x586e();return _0x5366=function(_0x53664c,_0x5137e5){_0x53664c=_0x53664c-0xa9;let _0x13dee1=_0x586e4b[_0x53664c];return _0x13dee1;},_0x5366(_0x205f7d,_0x3ce3e0);}import{getTranslation as _0x5eed59}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1c0448('px');export class AnnotationsSidebarView extends _0x3f344f{[_0x2b603f(0xd0)];[_0x2b603f(0xc8)];[_0x2b603f(0xb2)];[_0x2b603f(0xc2)];constructor(_0x1849d2){const _0x331cc3=_0x2b603f;super(_0x1849d2);const _0xa00f3b=this[_0x331cc3(0xb3)];this[_0x331cc3(0xd8)](_0x331cc3(0xb7),0x0),this[_0x331cc3(0xd8)](_0x331cc3(0xab),''),this[_0x331cc3(0xd0)]=this[_0x331cc3(0xd9)](),this[_0x331cc3(0xc8)]=this[_0x331cc3(0xd9)](),this[_0x331cc3(0xd0)][_0x331cc3(0xb0)](_0x331cc3(0xbd),_0x331cc3(0xbc))['to'](this),this[_0x331cc3(0xb2)]=new _0x232128(),this[_0x331cc3(0xc2)]=new _0x1744e4({'focusables':this[_0x331cc3(0xc8)],'focusTracker':this[_0x331cc3(0xb2)]}),this[_0x331cc3(0xd1)]({'tag':_0x331cc3(0xd7),'attributes':{'class':['ck',_0x331cc3(0xb8),_0x331cc3(0xac),_0xa00f3b['to'](_0x331cc3(0xab))],'style':{'minHeight':_0xa00f3b['to'](_0x331cc3(0xb7),_0x54a807=>_0x331cc3(0xd6)==typeof _0x54a807?Ot(_0x54a807+0xa):null)},'dir':_0x1849d2[_0x331cc3(0xbf)],'role':_0x331cc3(0xaf),'aria-label':_0x5eed59(_0x1849d2,_0x331cc3(0xc4)),'tabindex':0x0},'children':[{'tag':_0x331cc3(0xd7),'attributes':{'role':_0x331cc3(0xd0),'aria-label':_0x5eed59(_0x1849d2,_0x331cc3(0xc1))},'children':this[_0x331cc3(0xd0)]}]});}[_0x2b603f(0xb4)](){const _0x37ce29=_0x2b603f;super[_0x37ce29(0xb4)](),this[_0x37ce29(0xb5)]();}[_0x2b603f(0xaa)](){const _0x443805=_0x2b603f;this[_0x443805(0xc2)][_0x443805(0xd5)]();}[_0x2b603f(0xb5)](){const _0x3809a8=_0x2b603f;this[_0x3809a8(0xd0)][_0x3809a8(0xb0)](_0x3809a8(0xdc))['to'](this),this['on'](_0x3809a8(0xdc),_0x38bf1e=>{const _0x44462f=_0x3809a8;this[_0x44462f(0xcf)](_0x38bf1e[_0x44462f(0xc0)]);}),this[_0x3809a8(0xd0)][_0x3809a8(0xcd)](_0x1ed587=>{const _0x4a90fd=_0x3809a8;this[_0x4a90fd(0xb2)][_0x4a90fd(0xca)](_0x1ed587[_0x4a90fd(0xcb)]),this[_0x4a90fd(0xcf)](_0x1ed587);}),this[_0x3809a8(0xd0)]['on'](_0x3809a8(0xc6),(_0x4df343,_0x16f50c)=>{const _0x441788=_0x3809a8;for(const _0x4b47c4 of _0x16f50c[_0x441788(0xa9)])this[_0x441788(0xb2)][_0x441788(0xb9)](_0x4b47c4[_0x441788(0xcb)]),this[_0x441788(0xc8)][_0x441788(0xb9)](_0x4b47c4);for(const _0x38aca8 of _0x16f50c[_0x441788(0xda)])this[_0x441788(0xb2)][_0x441788(0xca)](_0x38aca8[_0x441788(0xcb)]),this[_0x441788(0xcf)](_0x38aca8);}),this['on'](_0x3809a8(0xbd),()=>{const _0x2dcf1c=_0x3809a8;this[_0x2dcf1c(0xc2)][_0x2dcf1c(0xd2)]();}),this['on'](_0x3809a8(0xbc),()=>{const _0x287d3a=_0x3809a8;this[_0x287d3a(0xc2)][_0x287d3a(0xdb)]();}),this[_0x3809a8(0xbb)](this[_0x3809a8(0xcb)],_0x3809a8(0xaa),()=>{const _0x8c933d=_0x3809a8;this[_0x8c933d(0xaa)]();});}[_0x2b603f(0xcf)](_0x5f541d){const _0x36599b=_0x2b603f,_0x3526c3=this[_0x36599b(0xc8)][_0x36599b(0xb6)](_0x5f541d);let _0x13029d,_0x314c1f;for(const _0x2504c4 of this[_0x36599b(0xc8)])if(_0x5f541d[_0x36599b(0xb1)]<_0x2504c4[_0x36599b(0xb1)]){_0x13029d=_0x2504c4;break;}if(_0x314c1f=_0x13029d?this[_0x36599b(0xc8)][_0x36599b(0xb6)](_0x13029d):this[_0x36599b(0xc8)][_0x36599b(0xd3)],-0x1!==_0x3526c3){if(_0x3526c3===_0x314c1f-0x1)return;this[_0x36599b(0xc8)][_0x36599b(0xb9)](_0x5f541d),_0x314c1f=_0x13029d?this[_0x36599b(0xc8)][_0x36599b(0xb6)](_0x13029d):this[_0x36599b(0xc8)][_0x36599b(0xd3)];}this[_0x36599b(0xc8)][_0x36599b(0xca)](_0x5f541d,_0x314c1f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2c37(_0x493a4a,_0x113efe){const _0x229754=_0x2297();return _0x2c37=function(_0x2c3764,_0x9d3ed0){_0x2c3764=_0x2c3764-0x6c;let _0x59ee8f=_0x229754[_0x2c3764];return _0x59ee8f;},_0x2c37(_0x493a4a,_0x113efe);}const _0x3089c4=_0x2c37;(function(_0x518e4b,_0x43bfb5){const _0x1cf9d4=_0x2c37,_0x1c99c6=_0x518e4b();while(!![]){try{const _0x4d234f=parseInt(_0x1cf9d4(0x6c))/0x1+-parseInt(_0x1cf9d4(0xa2))/0x2*(parseInt(_0x1cf9d4(0x9e))/0x3)+parseInt(_0x1cf9d4(0x7f))/0x4*(parseInt(_0x1cf9d4(0x7b))/0x5)+-parseInt(_0x1cf9d4(0x74))/0x6*(parseInt(_0x1cf9d4(0x73))/0x7)+parseInt(_0x1cf9d4(0x96))/0x8*(-parseInt(_0x1cf9d4(0xb5))/0x9)+-parseInt(_0x1cf9d4(0xac))/0xa*(-parseInt(_0x1cf9d4(0x71))/0xb)+parseInt(_0x1cf9d4(0x86))/0xc;if(_0x4d234f===_0x43bfb5)break;else _0x1c99c6['push'](_0x1c99c6['shift']());}catch(_0x2944fc){_0x1c99c6['push'](_0x1c99c6['shift']());}}}(_0x2297,0x5bde2));import{ContextPlugin as _0x25c342,Context as _0x336768}from'ckeditor5/src/core.js';function _0x2297(){const _0xc5e85b=['11xvVDCh','has','609EUOKyp','10356qpVDgh','removeEventListener','isAttached','get','hasDomSelection','_integrateWithEditorAnnotations','setActiveAnnotation','10mbqUrI','updateTargetRect','set:container','switchTo','866356HHIUkE','requires','attach','addAnnotation','rearrange','_annotations','init','5681484mHvPZy','plugins','ready','off','stop','from','cancel','remove','register','addEventListener','stopListening','destroy','wideSidebar','focus','widesidebar-detach-not-attached','getOrderedSelectedAnnotations','8sNVnKo','set','resize','_editorAnnotations','change:container','add','context','high','5601FxFbWK','listenTo','annotations','refreshPositioning','642mfMffO','_refreshPositioningDebounced','Annotations','ck-sidebar--wide','EditorAnnotations','_destroyEditorAnnotationsIntegration','_detachFromContainer','WideSidebar','widesidebar-attach-already-attached','_attachToContainer','1183430MzFnsJ','isOfficialPlugin','uiUpdate','activeAnnotation','_activeAnnotation','blur','refreshVisibility','container','detach','4743405eWSVby','627826oDvqlK','isPremiumPlugin','editors','refresh','pluginName'];_0x2297=function(){return _0xc5e85b;};return _0x2297();}import{AnnotationsUIs as _0x137a44}from'./annotationsuis.js';import{Sidebar as _0x1ed42d}from'./sidebar.js';import{CKEditorError as _0x49b751,Collection as _0x4dc639}from'ckeditor5/src/utils.js';import{debounce as _0x38a35f}from'es-toolkit/compat';export class WideSidebar extends _0x25c342{[_0x3089c4(0x76)];[_0x3089c4(0xa0)];[_0x3089c4(0x99)];[_0x3089c4(0xa3)];static get[_0x3089c4(0x80)](){return[_0x1ed42d,_0x137a44];}static get[_0x3089c4(0x70)](){const _0x385a06=_0x3089c4;return _0x385a06(0xa9);}static get[_0x3089c4(0xad)](){return!0x0;}static get[_0x3089c4(0x6d)](){return!0x0;}constructor(_0x23fbd0){const _0x3e705f=_0x3089c4;super(_0x23fbd0),this[_0x3e705f(0x76)]=!0x1,this[_0x3e705f(0x97)](_0x3e705f(0xaf),null),this[_0x3e705f(0xa0)]=null,this[_0x3e705f(0x99)]=new _0x4dc639(),this[_0x3e705f(0xa3)]=_0x38a35f(()=>{const _0x5e9709=_0x3e705f;_0x23fbd0[_0x5e9709(0x87)][_0x5e9709(0x77)](_0x5e9709(0xa4))[_0x5e9709(0xb2)](),this[_0x5e9709(0xa0)][_0x5e9709(0xa1)]();},0xfa,{'leading':!0x1});}[_0x3089c4(0x85)](){const _0x4b04cb=_0x3089c4,_0x55dc92=this[_0x4b04cb(0x9c)][_0x4b04cb(0x87)][_0x4b04cb(0x77)](_0x137a44),_0x44fe8e=this[_0x4b04cb(0x9c)][_0x4b04cb(0x87)][_0x4b04cb(0x77)](_0x1ed42d);_0x55dc92[_0x4b04cb(0x8e)](_0x4b04cb(0x92),this),_0x44fe8e[_0x4b04cb(0xb3)]&&_0x55dc92[_0x4b04cb(0x7e)](_0x4b04cb(0x92));}[_0x3089c4(0x7a)](_0x59afaf){const _0xb6d698=_0x3089c4;if(_0x59afaf===this[_0xb6d698(0xaf)])return;const _0x3452b6=this[_0xb6d698(0x9c)][_0xb6d698(0x87)][_0xb6d698(0x77)](_0x1ed42d);_0x3452b6[_0xb6d698(0xb0)]=_0x59afaf;const _0x2f7d30=this[_0xb6d698(0xaf)];_0x3452b6[_0xb6d698(0x6f)]({'blurredAnnotation':_0x2f7d30,'activatedAnnotation':_0x59afaf}),this[_0xb6d698(0xaf)]=_0x59afaf;}[_0x3089c4(0x81)](_0x39f200){const _0xc97e6=_0x3089c4;this[_0xc97e6(0xa0)]=_0x39f200;const _0x76a82b=this[_0xc97e6(0x9c)][_0xc97e6(0x87)][_0xc97e6(0x77)](_0x1ed42d);if(_0x76a82b[_0xc97e6(0x84)]=_0x39f200,this[_0xc97e6(0x76)])throw new _0x49b751(_0xc97e6(0xaa),this);this[_0xc97e6(0x76)]=!0x0,this[_0xc97e6(0x9f)](_0x76a82b,_0xc97e6(0x7d),()=>{const _0x1b0da3=_0xc97e6;this[_0x1b0da3(0xb4)](),this[_0x1b0da3(0x9f)](_0x76a82b,_0x1b0da3(0x9a),_0x34c8d9=>{const _0x1e8df2=_0x1b0da3;_0x34c8d9[_0x1e8df2(0x89)](),this[_0x1e8df2(0x81)](_0x39f200);});}),_0x76a82b[_0xc97e6(0xab)]({'viewClass':_0xc97e6(0xa5)});const _0x533c1d=_0x1e5427=>{const _0x3f85c4=_0xc97e6;_0x1e5427[_0x3f85c4(0x7c)](),_0x76a82b[_0x3f85c4(0x82)](_0x1e5427);};for(const _0x24a492 of _0x39f200)_0x533c1d(_0x24a492);this[_0xc97e6(0x9f)](_0x39f200,_0xc97e6(0x9b),(_0x1c8d7f,_0x208733)=>{_0x533c1d(_0x208733);}),this[_0xc97e6(0x9f)](_0x39f200,_0xc97e6(0x8d),(_0x212377,_0x4022c7,_0x59c7b2)=>{const _0x3cf3ca=_0xc97e6;_0x76a82b[_0x3cf3ca(0x83)]({'removedAnnotation':_0x4022c7,'previousAnnotation':_0x39f200[_0x3cf3ca(0x77)](_0x59c7b2-0x1),'nextAnnotation':_0x39f200[_0x3cf3ca(0x77)](_0x59c7b2+0x1)}),_0x4022c7===this[_0x3cf3ca(0xaf)]&&this[_0x3cf3ca(0x7a)](null);},{'priority':_0xc97e6(0x9d)}),this[_0xc97e6(0x9f)](_0x39f200,_0xc97e6(0x93),(_0x145d31,_0x1665f8)=>{const _0x4b7646=_0xc97e6;this[_0x4b7646(0x7a)](_0x1665f8);}),this[_0xc97e6(0x9f)](_0x39f200,_0xc97e6(0xb1),()=>{const _0x4ee4c8=_0xc97e6;this[_0x4ee4c8(0x7a)](null);});const _0x2eac3c=this[_0xc97e6(0x9c)]instanceof _0x336768?this[_0xc97e6(0x9c)][_0xc97e6(0x6e)]:new _0x4dc639([this[_0xc97e6(0x9c)]]);for(const _0x24f82f of _0x2eac3c)this[_0xc97e6(0x79)](_0x24f82f);this[_0xc97e6(0x9f)](_0x2eac3c,_0xc97e6(0x9b),(_0x5c676b,_0x522692)=>{const _0x44986b=_0xc97e6;this[_0x44986b(0x9f)](_0x522692,_0x44986b(0x88),()=>{const _0x242b7f=_0x44986b;this[_0x242b7f(0x79)](_0x522692);});}),this[_0xc97e6(0x9f)](_0x2eac3c,_0xc97e6(0x8d),(_0x28dc40,_0x82ff6e)=>{const _0x461a33=_0xc97e6;_0x82ff6e[_0x461a33(0x87)][_0x461a33(0x72)](_0x461a33(0xa6))&&this[_0x461a33(0xa7)](_0x82ff6e[_0x461a33(0x87)][_0x461a33(0x77)](_0x461a33(0xa6)));}),window[_0xc97e6(0x8f)](_0xc97e6(0x98),this[_0xc97e6(0xa3)]),this[_0xc97e6(0x9c)][_0xc97e6(0x87)][_0xc97e6(0x77)](_0xc97e6(0xa4))[_0xc97e6(0xb2)](),this[_0xc97e6(0xa0)][_0xc97e6(0xa1)]();}[_0x3089c4(0xb4)](){const _0x54317c=_0x3089c4;if(!this[_0x54317c(0x76)])throw new _0x49b751(_0x54317c(0x94),this);this[_0x54317c(0x7a)](null);const _0x5bcc19=this[_0x54317c(0x9c)][_0x54317c(0x87)][_0x54317c(0x77)](_0x1ed42d);_0x5bcc19[_0x54317c(0xa8)](this[_0x54317c(0xa0)]),this[_0x54317c(0x90)](_0x5bcc19),this[_0x54317c(0x90)](this[_0x54317c(0xa0)]),this[_0x54317c(0x9c)]instanceof _0x336768&&this[_0x54317c(0x90)](this[_0x54317c(0x9c)][_0x54317c(0x6e)]);for(const _0x57c018 of Array[_0x54317c(0x8b)](this[_0x54317c(0x99)]))this[_0x54317c(0xa7)](_0x57c018);window[_0x54317c(0x75)](_0x54317c(0x98),this[_0x54317c(0xa3)]),this[_0x54317c(0xa3)][_0x54317c(0x8c)](),this[_0x54317c(0xaf)]=null,this[_0x54317c(0x76)]=!0x1,this[_0x54317c(0xa0)]=null;}[_0x3089c4(0x91)](){const _0x2ac347=_0x3089c4;this[_0x2ac347(0x76)]&&this[_0x2ac347(0xb4)]();}[_0x3089c4(0x79)](_0x22cd2b){const _0x3f7845=_0x3089c4;if(!_0x22cd2b[_0x3f7845(0x87)][_0x3f7845(0x72)](_0x3f7845(0xa6)))return;const _0x1d2e60=_0x22cd2b[_0x3f7845(0x87)][_0x3f7845(0x77)](_0x3f7845(0xa6)),_0x37ee5d=()=>{const _0x235628=_0x3f7845,_0x453844=_0x1d2e60[_0x235628(0x95)]({'annotations':this[_0x235628(0xa0)],'activeAnnotation':this[_0x235628(0xaf)]});this[_0x235628(0x7a)](_0x453844[0x0]||null);};this[_0x3f7845(0x9f)](_0x1d2e60,_0x3f7845(0x6f),_0x37ee5d),this[_0x3f7845(0x9f)](_0x1d2e60,_0x3f7845(0xb1),(_0x35fd93,{isAnnotationTracked:_0x3f1139})=>{const _0x52fbd3=_0x3f7845;this[_0x52fbd3(0xaf)]&&_0x3f1139(this[_0x52fbd3(0xaf)])&&this[_0x52fbd3(0x7a)](null);}),this[_0x3f7845(0x9f)](_0x1d2e60,_0x3f7845(0xae),()=>{const _0x430074=_0x3f7845;this[_0x430074(0xa3)]();}),this[_0x3f7845(0x9f)](this[_0x3f7845(0xa0)],_0x3f7845(0xb1),_0x20b29c=>{const _0x3f9a59=_0x3f7845;_0x1d2e60[_0x3f9a59(0x78)]()&&(_0x37ee5d(),_0x20b29c[_0x3f9a59(0x8a)]());},{'priority':_0x3f7845(0x9d)}),this[_0x3f7845(0x99)][_0x3f7845(0x9b)](_0x1d2e60);}[_0x3089c4(0xa7)](_0xb2fc27){const _0x4e8e4d=_0x3089c4;this[_0x4e8e4d(0x90)](_0xb2fc27),this[_0x4e8e4d(0x99)][_0x4e8e4d(0x8d)](_0xb2fc27);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2edfe2=_0x2f16;(function(_0x56bd9a,_0x392eb6){const _0x5abef8=_0x2f16,_0x26fd8=_0x56bd9a();while(!![]){try{const _0x242989=-parseInt(_0x5abef8(0xb1))/0x1*(parseInt(_0x5abef8(0x9b))/0x2)+parseInt(_0x5abef8(0x8c))/0x3*(-parseInt(_0x5abef8(0xa2))/0x4)+parseInt(_0x5abef8(0x8f))/0x5+parseInt(_0x5abef8(0xa4))/0x6+-parseInt(_0x5abef8(0x8d))/0x7*(parseInt(_0x5abef8(0xb5))/0x8)+parseInt(_0x5abef8(0xb3))/0x9+parseInt(_0x5abef8(0xb6))/0xa;if(_0x242989===_0x392eb6)break;else _0x26fd8['push'](_0x26fd8['shift']());}catch(_0x4b5df7){_0x26fd8['push'](_0x26fd8['shift']());}}}(_0x3e12,0xe8d76));function _0x3e12(){const _0x41f038=['isObject','push','from','start','_createCommentThread','backward','4pUEMXt','_createMarkersFromRanges','element','addMarker','getItems','execute','createRange','4GViXVh','change','10573176FCsOyt','isEnabled','config','editor','model','tableCell','get','refresh','collaboration.channelId','getRanges','Users','plugins','end','616852anWjrt','addcommentthreadcommand-user-not-found','15057603kqTOwv','length','8uDFpye','11441820zjyjsi','_itemIsContent','hasContent','substr','_trimToContent','comment:','schema','getLastMatchingPosition','_hasContent','addCommentThread','CommentsRepository','3010401IdZSTE','12305377ULpgMJ','item','1846775YdhEnk','addcommentthreadcommand-incorrect-ranges','selection','document','$textProxy','set'];_0x3e12=function(){return _0x41f038;};return _0x3e12();}import{Command as _0x114806}from'ckeditor5/src/core.js';import{uid as _0x2310fa,CKEditorError as _0x328dc6}from'ckeditor5/src/utils.js';function _0x2f16(_0x4af13b,_0x1013a4){const _0x3e1278=_0x3e12();return _0x2f16=function(_0x2f16ae,_0x3e78bd){_0x2f16ae=_0x2f16ae-0x85;let _0x3ebbf1=_0x3e1278[_0x2f16ae];return _0x3ebbf1;},_0x2f16(_0x4af13b,_0x1013a4);}export class AddCommentThreadCommand extends _0x114806{constructor(_0xcd628b){const _0x3c8a55=_0x2f16;super(_0xcd628b),this[_0x3c8a55(0x94)](_0x3c8a55(0xb8),!0x1);}[_0x2edfe2(0xab)](){const _0x32e50c=_0x2edfe2,_0x23b445=this[_0x32e50c(0xa7)][_0x32e50c(0xa8)][_0x32e50c(0x92)][_0x32e50c(0x91)];this[_0x32e50c(0xa5)]=!0x0,this[_0x32e50c(0xb8)]=!0x1;for(const _0x1b6090 of _0x23b445[_0x32e50c(0xad)]())if(this[_0x32e50c(0x89)](_0x1b6090))return void(this[_0x32e50c(0xb8)]=!0x0);}[_0x2edfe2(0xa0)]({threadId:_0x3a2629=_0x2310fa(),ranges:_0x85fde2,comment:_0x1ae34e}={}){const _0x21f584=_0x2edfe2,_0x4af636=this[_0x21f584(0xa7)][_0x21f584(0xa8)],_0x2532ec=_0x85fde2??Array[_0x21f584(0x97)](_0x4af636[_0x21f584(0x92)][_0x21f584(0x91)][_0x21f584(0xad)]()),_0xce2d09=[];for(const _0x4c4452 of _0x2532ec)this[_0x21f584(0x89)](_0x4c4452)&&_0xce2d09[_0x21f584(0x96)](this[_0x21f584(0x85)](_0x4c4452));if(!_0xce2d09[_0x21f584(0xb4)])throw new _0x328dc6(_0x21f584(0x90),null);_0x1ae34e&&this[_0x21f584(0x99)](_0x3a2629,_0x1ae34e),this[_0x21f584(0x9c)](_0x3a2629,_0xce2d09,!!_0x1ae34e);}[_0x2edfe2(0x9c)](_0x118f7c,_0x4e2a0d,_0x34db0b){const _0x4c4f86=_0x2edfe2;this[_0x4c4f86(0xa7)][_0x4c4f86(0xa8)][_0x4c4f86(0xa3)](_0x5f2b80=>{const _0x53e384=_0x4c4f86;for(const _0x5e4411 of _0x4e2a0d){const _0x2d2b21=_0x2310fa()[_0x53e384(0xb9)](0x1,0x5),_0x56a200=_0x53e384(0x86)+_0x118f7c+':'+_0x2d2b21;_0x5f2b80[_0x53e384(0x9e)](_0x56a200,{'range':_0x5e4411,'usingOperation':_0x34db0b,'affectsData':_0x34db0b});}});}[_0x2edfe2(0x99)](_0x5cf9d4,_0x526cc2){const _0x56ff90=_0x2edfe2,_0x554578=this[_0x56ff90(0xa7)][_0x56ff90(0xaf)][_0x56ff90(0xaa)](_0x56ff90(0x8b)),_0x1aebcc=this[_0x56ff90(0xa7)][_0x56ff90(0xa6)][_0x56ff90(0xaa)](_0x56ff90(0xac)),_0xb19338=this[_0x56ff90(0xa7)][_0x56ff90(0xaf)][_0x56ff90(0xaa)](_0x56ff90(0xae))['me'];if(!_0xb19338)throw new _0x328dc6(_0x56ff90(0xb2),null);_0x554578[_0x56ff90(0x8a)]({'threadId':_0x5cf9d4,'channelId':_0x1aebcc,'comments':[{'authorId':_0xb19338['id'],'content':_0x526cc2,'createdAt':new Date(),'attributes':{}}]});}[_0x2edfe2(0x89)](_0x516027){const _0x40dabb=_0x2edfe2;for(const _0x59f774 of _0x516027[_0x40dabb(0x9f)]())if(this[_0x40dabb(0xb7)](_0x59f774))return!0x0;return!0x1;}[_0x2edfe2(0xb7)](_0xce7049){const _0x5ab734=_0x2edfe2;return _0xce7049['is'](_0x5ab734(0x93))||this[_0x5ab734(0xa7)][_0x5ab734(0xa8)][_0x5ab734(0x87)][_0x5ab734(0x95)](_0xce7049)&&!_0xce7049['is'](_0x5ab734(0x9d),_0x5ab734(0xa9));}[_0x2edfe2(0x85)](_0x7012f0){const _0x586ade=_0x2edfe2,_0x3bffba=_0x11b36b=>!this[_0x586ade(0xb7)](_0x11b36b[_0x586ade(0x8e)]),_0x29c6c8=_0x7012f0[_0x586ade(0x98)][_0x586ade(0x88)](_0x3bffba),_0x23b1d3=_0x7012f0[_0x586ade(0xb0)][_0x586ade(0x88)](_0x3bffba,{'direction':_0x586ade(0x9a)});return this[_0x586ade(0xa7)][_0x586ade(0xa8)][_0x586ade(0xa1)](_0x29c6c8,_0x23b1d3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xdb14(_0x4fe353,_0x264310){const _0x3c06ff=_0x3c06();return _0xdb14=function(_0xdb1450,_0x38188b){_0xdb1450=_0xdb1450-0xf2;let _0x3ceec2=_0x3c06ff[_0xdb1450];return _0x3ceec2;},_0xdb14(_0x4fe353,_0x264310);}const _0x3e1e8d=_0xdb14;(function(_0x4d75fa,_0x4a4daf){const _0x416980=_0xdb14,_0x28d179=_0x4d75fa();while(!![]){try{const _0x304f14=parseInt(_0x416980(0xf2))/0x1+parseInt(_0x416980(0x117))/0x2*(parseInt(_0x416980(0x114))/0x3)+parseInt(_0x416980(0xfa))/0x4*(parseInt(_0x416980(0x103))/0x5)+-parseInt(_0x416980(0x115))/0x6*(parseInt(_0x416980(0xf4))/0x7)+parseInt(_0x416980(0x119))/0x8+parseInt(_0x416980(0x112))/0x9*(-parseInt(_0x416980(0x108))/0xa)+-parseInt(_0x416980(0xf9))/0xb;if(_0x304f14===_0x4a4daf)break;else _0x28d179['push'](_0x28d179['shift']());}catch(_0x855b18){_0x28d179['push'](_0x28d179['shift']());}}}(_0x3c06,0x62066));import{ContextPlugin as _0x559232}from'ckeditor5/src/core.js';import{Collection as _0x5b4326}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x142b1b}from'./commentsrepository.js';import{Annotations as _0x19491b}from'../annotations/annotations.js';export class CommentsArchive extends _0x559232{static get[_0x3e1e8d(0xf7)](){const _0x401f32=_0x3e1e8d;return _0x401f32(0x10b);}static get[_0x3e1e8d(0x102)](){return!0x0;}static get[_0x3e1e8d(0x111)](){return!0x0;}static get[_0x3e1e8d(0x104)](){return[_0x142b1b,_0x19491b];}constructor(_0x45fd9b){const _0xa950c4=_0x3e1e8d;super(_0x45fd9b),this[_0xa950c4(0x10e)]=new _0x5b4326();}[_0x3e1e8d(0xf8)](){const _0x41fea1=_0x3e1e8d,_0x2e84ae=this[_0x41fea1(0xfc)],_0x41cde8=_0x2e84ae[_0x41fea1(0x101)][_0x41fea1(0x10a)](_0x142b1b),_0x459d0e=_0x2e84ae[_0x41fea1(0x101)][_0x41fea1(0x10a)](_0x19491b);this[_0x41fea1(0x118)](_0x41cde8,_0x41fea1(0xfe),(_0x19dd78,{threadId:_0x50911f})=>{const _0x373b64=_0x41fea1,_0x4d8ba=_0x41cde8[_0x373b64(0x100)](_0x50911f);_0x4d8ba[_0x373b64(0x10c)]&&this[_0x373b64(0x10e)][_0x373b64(0xfb)](_0x4d8ba,this[_0x373b64(0x116)](_0x4d8ba[_0x373b64(0x10c)])),this[_0x373b64(0x118)](_0x4d8ba,_0x373b64(0x105),(_0x17a681,_0x4ab413,_0x270847)=>{const _0x4ba703=_0x373b64;_0x270847?this[_0x4ba703(0x10e)][_0x4ba703(0xf6)](_0x4d8ba)||this[_0x4ba703(0x10e)][_0x4ba703(0xfb)](_0x4d8ba,this[_0x4ba703(0x116)](_0x4d8ba[_0x4ba703(0x10c)])):this[_0x4ba703(0x10e)][_0x4ba703(0xf6)](_0x4d8ba)&&this[_0x4ba703(0x10e)][_0x4ba703(0xff)](_0x4d8ba);});}),this[_0x41fea1(0x118)](_0x41cde8,_0x41fea1(0xfd),(_0x294070,{threadId:_0x3f1e74})=>{const _0x7f2230=_0x41fea1,_0x205292=_0x41cde8[_0x7f2230(0x100)](_0x3f1e74);this[_0x7f2230(0x10f)](_0x205292),this[_0x7f2230(0x10e)][_0x7f2230(0xf6)](_0x205292)&&this[_0x7f2230(0x10e)][_0x7f2230(0xff)](_0x205292);},{'priority':_0x41fea1(0xf3)}),this[_0x41fea1(0x118)](_0x459d0e[_0x41fea1(0x106)],_0x41fea1(0x10d),(_0x2d2abf,_0x4093a6)=>{const _0x57463d=_0x41fea1;_0x4093a6[_0x57463d(0x113)]||(_0x4093a6[_0x57463d(0x110)]=!0x0,_0x459d0e[_0x57463d(0xf5)](_0x4093a6));});}[_0x3e1e8d(0x116)](_0x5a3d26){const _0x5e413a=_0x3e1e8d,_0x1db549=[...this[_0x5e413a(0x10e)]][_0x5e413a(0x109)](_0x49eb76=>_0x49eb76[_0x5e413a(0x10c)]<_0x5a3d26);return _0x1db549>-0x1?_0x1db549:this[_0x5e413a(0x10e)][_0x5e413a(0x107)];}}function _0x3c06(){const _0xe7440f=['156sWoqQS','_calculatePosition','4IZrgEU','listenTo','3225584IGuLsr','442179OzxlHL','highest','97573XmZhdC','activate','has','pluginName','init','4858018PkUbFU','132sLZeAG','add','context','removeCommentThread','addCommentThread','remove','getCommentThread','plugins','isOfficialPlugin','35605choDaQ','requires','change:archivedAt','collection','length','420QvGeiD','findIndex','get','CommentsArchive','archivedAt','focus','archivedThreads','stopListening','isActive','isPremiumPlugin','23769PFyMHG','isVisible','354171GeTgcX'];_0x3c06=function(){return _0xe7440f;};return _0x3c06();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a8223=_0x5728;(function(_0x335ff4,_0x1cb1db){const _0x1b12f0=_0x5728,_0x39350d=_0x335ff4();while(!![]){try{const _0x2a0cba=parseInt(_0x1b12f0(0xa6))/0x1+parseInt(_0x1b12f0(0xb4))/0x2+parseInt(_0x1b12f0(0x8e))/0x3*(-parseInt(_0x1b12f0(0x9a))/0x4)+-parseInt(_0x1b12f0(0x86))/0x5*(parseInt(_0x1b12f0(0x9e))/0x6)+parseInt(_0x1b12f0(0x69))/0x7+parseInt(_0x1b12f0(0xb1))/0x8*(parseInt(_0x1b12f0(0x98))/0x9)+-parseInt(_0x1b12f0(0xaf))/0xa;if(_0x2a0cba===_0x1cb1db)break;else _0x39350d['push'](_0x39350d['shift']());}catch(_0x1a1466){_0x39350d['push'](_0x39350d['shift']());}}}(_0x8214,0xf184b));import'../../theme/commentsarchive.css';import{Plugin as _0x25b94e}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x149a3b}from'ckeditor5/src/icons.js';import{ViewCollection as _0x51803b,MenuBarMenuListItemButtonView as _0x4564bb,ButtonView as _0x54fcee,Dialog as _0x5678bb,DialogViewPosition as _0x1f456f}from'ckeditor5/src/ui.js';import{getTranslation as _0x12e190}from'../utils/common-translations.js';function _0x8214(){const _0x756d03=['focusableElements','includes','archivedAt','1955351glzlYq','_createCommentsArchiveButton','_addAnnotationToArchive','CommentsRepository','editor','plugins','source','filter','Dialog','27704870hBUHXL','find','440pJmwgv','archivedThreads','stop','1861696oZeQpg','menuitemcheckbox','execute','get','9116317UxGKCQ','_hideDialogOnAnnotationEscape','indexOf','getByInnerView','annotationViews','channelId','stopListening','escape','_threadToController','Annotations','remove','length','bind','requires','commentsArchive','has','_handleNewThread','_calculatePosition','collection','config','isOn','set:isVisible','_visibleAnnotations','innerView','splice','set','hide','init','listenTo','15FVyVyS','findIndex','view','isPremiumPlugin','_toggleDialog','return','menuBar:commentsArchive','isOpen','90QMCgHC','locale','componentFactory','show','CommentsArchiveUI','commentsArchiveView','EDITOR_TOP_SIDE','isVisible','forEach','add','186813ZQFPrW','isEnabled','11296dYxtBI','COMMENTS_ARCHIVE','collaboration.channelId','pluginName','2971398rIiKvU','push','isOfficialPlugin','_pendingThreads','tooltip'];_0x8214=function(){return _0x756d03;};return _0x8214();}import{CommentsArchiveView as _0x3577de}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x54b532}from'./commentsarchive.js';function _0x5728(_0x1561ca,_0x55cc2c){const _0x82149b=_0x8214();return _0x5728=function(_0x572819,_0x189eed){_0x572819=_0x572819-0x69;let _0x38ab57=_0x82149b[_0x572819];return _0x38ab57;},_0x5728(_0x1561ca,_0x55cc2c);}export class CommentsArchiveUI extends _0x25b94e{[_0x1a8223(0x93)];[_0x1a8223(0x6d)];[_0x1a8223(0xa1)];static get[_0x1a8223(0x9d)](){const _0x28f613=_0x1a8223;return _0x28f613(0x92);}static get[_0x1a8223(0xa0)](){return!0x0;}static get[_0x1a8223(0x89)](){return!0x0;}static get[_0x1a8223(0x76)](){return[_0x54b532,_0x5678bb];}constructor(_0x24643b){const _0x52daf4=_0x1a8223;super(_0x24643b),this[_0x52daf4(0x6d)]=new _0x51803b(),this[_0x52daf4(0xa1)]=[];}[_0x1a8223(0x84)](){const _0x18be79=_0x1a8223,_0x370957=this[_0x18be79(0xaa)],_0x7f552a=this[_0x18be79(0x6a)][_0x18be79(0x75)](this);_0x370957['ui'][_0x18be79(0x90)][_0x18be79(0x97)](_0x18be79(0x77),()=>this[_0x18be79(0xa7)](_0x54fcee,!0x0)),_0x370957['ui'][_0x18be79(0x90)][_0x18be79(0x97)](_0x18be79(0x8c),()=>{const _0x18b75b=_0x18be79,_0x224469=this[_0x18b75b(0xa7)](_0x4564bb);return _0x224469[_0x18b75b(0x82)]({'role':_0x18b75b(0xb5)}),_0x224469;});const _0x23e9de=_0x370957[_0x18be79(0xab)][_0x18be79(0xb7)](_0x54b532),_0x2ade8f=_0x370957[_0x18be79(0xab)][_0x18be79(0xb7)](_0x18be79(0x72)),_0x5e7ece=_0x370957[_0x18be79(0xab)][_0x18be79(0xb7)](_0x18be79(0xa9));_0x23e9de[_0x18be79(0xb2)][_0x18be79(0x96)](_0x5696c6=>{const _0x4328b2=_0x18be79;this[_0x4328b2(0x79)](_0x5696c6);}),this[_0x18be79(0x85)](_0x23e9de[_0x18be79(0xb2)],_0x18be79(0x97),(_0x514261,_0x5c68dc)=>{const _0x1f5c06=_0x18be79;this[_0x1f5c06(0x79)](_0x5c68dc);}),this[_0x18be79(0x85)](_0x2ade8f[_0x18be79(0x7b)],_0x18be79(0x97),(_0x46661f,_0x3e715e)=>{const _0x22c02a=_0x18be79,_0x560960=this[_0x22c02a(0xa1)][_0x22c02a(0xb0)](_0x288a69=>{const _0x222b86=_0x22c02a,_0x1ed5f5=_0x5e7ece[_0x222b86(0x71)][_0x222b86(0xb7)](_0x288a69);return _0x1ed5f5&&_0x3e715e[_0x222b86(0x80)]===_0x1ed5f5[_0x222b86(0x88)];});if(_0x560960){const _0x4ac95f=this[_0x22c02a(0x7a)](_0x560960[_0x22c02a(0xa5)]);this[_0x22c02a(0xa8)](_0x3e715e,_0x4ac95f),this[_0x22c02a(0xa1)][_0x22c02a(0x81)](this[_0x22c02a(0xa1)][_0x22c02a(0x6b)](_0x560960),0x1);}}),this[_0x18be79(0x85)](_0x23e9de[_0x18be79(0xb2)],_0x18be79(0x73),(_0x504e81,_0x8e14da)=>{const _0x4a58da=_0x18be79,_0x35f0f6=_0x370957[_0x4a58da(0x7c)][_0x4a58da(0xb7)](_0x4a58da(0x9c));if(!_0x35f0f6||_0x8e14da[_0x4a58da(0x6e)]===_0x35f0f6){if(this[_0x4a58da(0xa1)][_0x4a58da(0xa4)](_0x8e14da))this[_0x4a58da(0xa1)][_0x4a58da(0x81)](this[_0x4a58da(0xa1)][_0x4a58da(0x6b)](_0x8e14da),0x1);else{const _0x2150e3=_0x5e7ece[_0x4a58da(0x71)][_0x4a58da(0xb7)](_0x8e14da),_0x45fc33=_0x2ade8f[_0x4a58da(0x6c)](_0x2150e3[_0x4a58da(0x88)]);this[_0x4a58da(0x6d)][_0x4a58da(0x73)](_0x45fc33[_0x4a58da(0x88)]),this[_0x4a58da(0x6f)](_0x45fc33),this[_0x4a58da(0x6f)](_0x45fc33[_0x4a58da(0xa3)]);}}}),this[_0x18be79(0x85)](_0x2ade8f[_0x18be79(0x7b)],_0x18be79(0x97),(_0x31eaf5,_0xcd0ba1)=>{const _0x5dd7cf=_0x18be79;this[_0x5dd7cf(0x85)](_0xcd0ba1,_0x5dd7cf(0x70),_0x7f552a);}),this[_0x18be79(0x85)](_0x2ade8f[_0x18be79(0x7b)],_0x18be79(0x73),(_0xea0d64,_0x53883a)=>{const _0x367884=_0x18be79;this[_0x367884(0x6f)](_0x53883a,_0x367884(0x70),_0x7f552a);});}[_0x1a8223(0xa8)](_0xa9ce13,_0x2f8a55){const _0x12508e=_0x1a8223;this[_0x12508e(0x85)](_0xa9ce13,_0x12508e(0x7e),_0x1f930c=>{const _0x1d234e=_0x12508e;_0x1f930c[_0x1d234e(0x8b)]=!0x1,_0x1f930c[_0x1d234e(0xb3)]();}),this[_0x12508e(0x6d)][_0x12508e(0x97)](_0xa9ce13[_0x12508e(0x88)],_0x2f8a55);}[_0x1a8223(0x79)](_0x4d20b6){const _0x49a7e3=_0x1a8223,_0x84fe89=this[_0x49a7e3(0xaa)][_0x49a7e3(0xab)][_0x49a7e3(0xb7)](_0x49a7e3(0xa9)),_0x322728=this[_0x49a7e3(0xaa)][_0x49a7e3(0xab)][_0x49a7e3(0xb7)](_0x49a7e3(0x72)),_0x188907=this[_0x49a7e3(0xaa)][_0x49a7e3(0x7c)][_0x49a7e3(0xb7)](_0x49a7e3(0x9c));if(!_0x188907||_0x4d20b6[_0x49a7e3(0x6e)]===_0x188907){const _0x4e4fe2=_0x84fe89[_0x49a7e3(0x71)][_0x49a7e3(0xb7)](_0x4d20b6);if(!_0x4e4fe2)return void this[_0x49a7e3(0xa1)][_0x49a7e3(0x9f)](_0x4d20b6);const _0x49efd4=this[_0x49a7e3(0x7a)](_0x4d20b6[_0x49a7e3(0xa5)]),_0x454a5d=_0x322728[_0x49a7e3(0x6c)](_0x4e4fe2[_0x49a7e3(0x88)]);_0x454a5d[_0x49a7e3(0x95)]&&_0x322728[_0x49a7e3(0x7f)][_0x49a7e3(0x73)](_0x454a5d),this[_0x49a7e3(0xa8)](_0x454a5d,_0x49efd4);}}[_0x1a8223(0x7a)](_0x24d093){const _0x6e33f3=_0x1a8223,_0x2e8286=this[_0x6e33f3(0xaa)][_0x6e33f3(0x7c)][_0x6e33f3(0xb7)](_0x6e33f3(0x9c)),_0x55fe69=[...this[_0x6e33f3(0xaa)][_0x6e33f3(0xab)][_0x6e33f3(0xb7)](_0x54b532)[_0x6e33f3(0xb2)]][_0x6e33f3(0xad)](_0x28b6b6=>_0x28b6b6[_0x6e33f3(0x6e)]===_0x2e8286)[_0x6e33f3(0x87)](_0x4b7046=>_0x4b7046[_0x6e33f3(0xa5)]<_0x24d093);return _0x55fe69<0x0||_0x55fe69>this[_0x6e33f3(0x6d)][_0x6e33f3(0x74)]?this[_0x6e33f3(0x6d)][_0x6e33f3(0x74)]:_0x55fe69-0x1;}[_0x1a8223(0x8a)](){const _0x554fd1=_0x1a8223,_0x1e3251=this[_0x554fd1(0xaa)],_0x299877=_0x1e3251[_0x554fd1(0xab)][_0x554fd1(0xb7)](_0x554fd1(0xae));this[_0x554fd1(0x93)]||(this[_0x554fd1(0x93)]=new _0x3577de(_0x1e3251[_0x554fd1(0x8f)],this[_0x554fd1(0x6d)])),_0x554fd1(0x77)===_0x299877['id']?_0x299877[_0x554fd1(0x83)]():_0x299877[_0x554fd1(0x91)]({'id':_0x554fd1(0x77),'title':_0x12e190(_0x1e3251[_0x554fd1(0x8f)],_0x554fd1(0x9b)),'icon':_0x149a3b,'hasCloseButton':!0x0,'content':this[_0x554fd1(0x93)],'position':_0x1f456f[_0x554fd1(0x94)]});}[_0x1a8223(0xa7)](_0x4c3682,_0x2249ac=!0x1){const _0x4eb607=_0x1a8223,_0x2ae61f=this[_0x4eb607(0xaa)][_0x4eb607(0x8f)],_0x13d50a=this[_0x4eb607(0xaa)][_0x4eb607(0xab)][_0x4eb607(0xb7)](_0x4eb607(0xae)),_0x34784e=new _0x4c3682(_0x2ae61f);return _0x34784e[_0x4eb607(0x75)](_0x4eb607(0x99))['to'](this,_0x4eb607(0x99)),_0x34784e[_0x4eb607(0x75)](_0x4eb607(0x7d))['to'](_0x13d50a,'id',_0x15d6bc=>_0x4eb607(0x77)===_0x15d6bc),_0x34784e[_0x4eb607(0x82)]({'label':_0x12e190(_0x2ae61f,_0x4eb607(0x9b)),'icon':_0x149a3b,'isToggleable':!0x0}),_0x2249ac&&(_0x34784e[_0x4eb607(0xa2)]=!0x0),this[_0x4eb607(0x85)](_0x34784e,_0x4eb607(0xb6),()=>this[_0x4eb607(0x8a)]()),_0x34784e;}[_0x1a8223(0x6a)]=_0xa669d=>{const _0x365c77=_0x1a8223,_0x519f71=_0xa669d[_0x365c77(0xac)];if(!this[_0x365c77(0x6d)][_0x365c77(0x78)](_0x519f71[_0x365c77(0x88)]))return;const _0x1ff636=this[_0x365c77(0xaa)][_0x365c77(0xab)][_0x365c77(0xb7)](_0x365c77(0xae));_0x1ff636[_0x365c77(0x8d)]&&_0x365c77(0x77)===_0x1ff636['id']&&(_0x1ff636[_0x365c77(0x83)](),_0xa669d[_0x365c77(0xb3)]());};}
|