@ckeditor/ckeditor5-comments 47.0.0 → 47.1.0-alpha.1
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 _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)];}
|
|
23
|
+
const _0x1b2246=_0x411d;function _0x4276(){const _0x19857a=['sidebar-attachtocontainer-missing-container','_attachToContainer','isOfficialPlugin','config','_annotations','define','_updateLastItem','container','1254755Eclbfj','39084XrKikO','context','_alignForTopChange','bottom','minHeight','appendChild','Sidebar','nodeType','listenTo','targetRect','74oXLuuU','content','bind','max','9Ksznhi','_activeAnnotation','change:bottom','isAnimationDisabled','1941357ehdawC','_recalculateBuffer','_alignBeforeItem','element','_getItemBefore','change:targetRect','locale','_recalculate','_createSidebarView','7948010EgQONq','init','getSidebarItemView','destroy','isPremiumPlugin','_sidebarItemViewToAnnotation','5840024HMBrGw','_getItemAfter','_detachFromContainer','target','sidebar.container','addAnnotation','_targetTop','1764081zTPLZj','last','top','_alignToTargetRect','_lastItem','get','remove','set','view','5720wgoiUu','push','10EhNnfo','_getMaxAvailableTop','33389bEcjFs','unbind','6sxQpMU','render','getIndex','8cFkFpx','list','class','clear','refresh','change:top','object','delete','pluginName','updateHeight','_alignAfterItem','setContainer','length','sidebar.preventScrollOutOfView','_setItemTop','change:_lastItem','_alignForBottomChange','_annotationToSidebarItemView','sidebar-setcontainer-invalid-element','isActive','rearrange','_getTargetTop','add','height','_destroySidebarItemView','stopListening','_spaceBetweenItems'];_0x4276=function(){return _0x19857a;};return _0x4276();}(function(_0x3d1e21,_0x32ae8b){const _0x49b484=_0x411d,_0x5e8574=_0x3d1e21();while(!![]){try{const _0x14788f=parseInt(_0x49b484(0x153))/0x1*(-parseInt(_0x49b484(0x128))/0x2)+-parseInt(_0x49b484(0x130))/0x3*(-parseInt(_0x49b484(0x158))/0x4)+-parseInt(_0x49b484(0x17b))/0x5*(parseInt(_0x49b484(0x155))/0x6)+-parseInt(_0x49b484(0x139))/0x7+-parseInt(_0x49b484(0x13f))/0x8*(-parseInt(_0x49b484(0x12c))/0x9)+-parseInt(_0x49b484(0x151))/0xa*(parseInt(_0x49b484(0x146))/0xb)+-parseInt(_0x49b484(0x17c))/0xc*(-parseInt(_0x49b484(0x14f))/0xd);if(_0x14788f===_0x32ae8b)break;else _0x5e8574['push'](_0x5e8574['shift']());}catch(_0x2c76bc){_0x5e8574['push'](_0x5e8574['shift']());}}}(_0x4276,0xa4d68));import{ContextPlugin as _0x4ac936}from'ckeditor5/src/core.js';import{Rect as _0x3284de,CKEditorError as _0x17ab86}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x52f7f3}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3a6531}from'./view/sidebaritemview.js';export class Sidebar extends _0x4ac936{[_0x1b2246(0x14e)];[_0x1b2246(0x12d)];[_0x1b2246(0x177)];[_0x1b2246(0x172)];[_0x1b2246(0x13e)];[_0x1b2246(0x169)];[_0x1b2246(0x131)];static get[_0x1b2246(0x160)](){const _0x58edbb=_0x1b2246;return _0x58edbb(0x182);}static get[_0x1b2246(0x175)](){return!0x0;}static get[_0x1b2246(0x13d)](){return!0x0;}constructor(_0x121544){const _0x3b88c8=_0x1b2246;super(_0x121544),this[_0x3b88c8(0x14d)](_0x3b88c8(0x14a),void 0x0),this[_0x3b88c8(0x14e)]=this[_0x3b88c8(0x138)](),this[_0x3b88c8(0x14d)](_0x3b88c8(0x17a),null),this[_0x3b88c8(0x172)]=0x19,this[_0x3b88c8(0x13e)]=new Map(),this[_0x3b88c8(0x169)]=new Map(),this[_0x3b88c8(0x17d)][_0x3b88c8(0x176)][_0x3b88c8(0x178)](_0x3b88c8(0x165),!0x1),this[_0x3b88c8(0x177)]=null,this[_0x3b88c8(0x12d)]=null,this[_0x3b88c8(0x131)]=[];}[_0x1b2246(0x13a)](){const _0x52a9ce=_0x1b2246,_0x12c01e=this[_0x52a9ce(0x17d)][_0x52a9ce(0x176)][_0x52a9ce(0x14b)](_0x52a9ce(0x143));_0x12c01e&&this[_0x52a9ce(0x163)](_0x12c01e);}[_0x1b2246(0x163)](_0x5bce06){const _0x32b580=_0x1b2246;if(!g(_0x5bce06))throw new _0x17ab86(_0x32b580(0x16a));this[_0x32b580(0x17a)]=_0x5bce06;}[_0x1b2246(0x174)]({viewClass:_0x93b33d='',spaceBetweenItems:_0x3daf8e=0x19}={}){const _0x2880c1=_0x1b2246;if(!g(this[_0x2880c1(0x17a)]))throw new _0x17ab86(_0x2880c1(0x173),this);this[_0x2880c1(0x17a)][_0x2880c1(0x181)](this[_0x2880c1(0x14e)][_0x2880c1(0x133)]),this[_0x2880c1(0x14e)][_0x2880c1(0x15a)]=_0x93b33d,this[_0x2880c1(0x172)]=_0x3daf8e;}[_0x1b2246(0x16c)]({removedAnnotation:_0x4bb44f,previousAnnotation:_0x1c2bb9,nextAnnotation:_0x1ce444}){const _0x16f311=_0x1b2246,_0x16ace1=this[_0x16f311(0x13b)](_0x4bb44f);this[_0x16f311(0x14e)][_0x16f311(0x159)][_0x16f311(0x14c)](_0x16ace1),this[_0x16f311(0x170)](_0x4bb44f),_0x1c2bb9&&this[_0x16f311(0x149)](this[_0x16f311(0x13b)](_0x1c2bb9)),_0x1ce444&&this[_0x16f311(0x149)](this[_0x16f311(0x13b)](_0x1ce444)),this[_0x16f311(0x179)]();}[_0x1b2246(0x15c)]({blurredAnnotation:_0x5cc383,activatedAnnotation:_0x575350,disableAnimationOnActivatedAnnotation:_0x104de6}){const _0x502889=_0x1b2246;if(this[_0x502889(0x12d)]=_0x575350,_0x5cc383){_0x5cc383[_0x502889(0x16b)]=!0x1;const _0x5080cc=this[_0x502889(0x13b)](_0x5cc383);_0x5080cc&&_0x104de6&&(_0x5080cc[_0x502889(0x12f)]=!0x1);}if(_0x575350){const _0x2ae22e=this[_0x502889(0x13b)](_0x575350);_0x2ae22e&&(_0x575350[_0x502889(0x16b)]=!0x0,_0x104de6&&(_0x2ae22e[_0x502889(0x12f)]=!0x0,_0x2ae22e[_0x502889(0x148)]+=0x1),this[_0x502889(0x149)](_0x2ae22e));}}[_0x1b2246(0x141)](_0x3d65a8){const _0x51f037=_0x1b2246;if(this[_0x51f037(0x14e)][_0x51f037(0x133)][_0x51f037(0x14c)](),_0x3d65a8){for(const _0x32561c of _0x3d65a8)this[_0x51f037(0x170)](_0x32561c);}this[_0x51f037(0x14e)][_0x51f037(0x159)][_0x51f037(0x15b)](),this[_0x51f037(0x14e)][_0x51f037(0x15a)]='',this[_0x51f037(0x14a)]=null;}[_0x1b2246(0x144)](_0x59ae38,_0x2413d6){const _0x252096=_0x1b2246;_0x2413d6||(_0x2413d6=_0x59ae38[_0x252096(0x14e)]);const _0x9da046=new _0x3a6531(this[_0x252096(0x17d)][_0x252096(0x136)]);this[_0x252096(0x13e)][_0x252096(0x14d)](_0x9da046,_0x59ae38),this[_0x252096(0x169)][_0x252096(0x14d)](_0x59ae38,_0x9da046),_0x9da046[_0x252096(0x129)][_0x252096(0x16e)](_0x2413d6),this[_0x252096(0x126)](_0x59ae38[_0x252096(0x14e)],_0x252096(0x135),(_0x11a46d,_0x1f42d1,_0x339120)=>{const _0x313193=_0x252096,_0x135a29=this[_0x313193(0x16d)](_0x59ae38,_0x339120);_0x9da046[_0x313193(0x145)]!=_0x135a29&&(_0x9da046[_0x313193(0x145)]=_0x135a29,this[_0x313193(0x166)](_0x9da046,_0x135a29));}),this[_0x252096(0x126)](_0x9da046,_0x252096(0x15d),()=>{const _0x427f64=_0x252096;this[_0x427f64(0x137)](_0x9da046,_0x427f64(0x148));}),this[_0x252096(0x126)](_0x9da046,_0x252096(0x12e),()=>{const _0x123d45=_0x252096;this[_0x123d45(0x137)](_0x9da046,_0x123d45(0x17f));}),this[_0x252096(0x149)](_0x9da046);const _0x2ae58d=this[_0x252096(0x134)](_0x9da046);if(_0x2ae58d)this[_0x252096(0x162)](_0x2ae58d,_0x9da046)||this[_0x252096(0x149)](_0x9da046);else this[_0x252096(0x149)](_0x9da046);return this[_0x252096(0x179)](),this[_0x252096(0x14e)][_0x252096(0x159)][_0x252096(0x16e)](_0x9da046),_0x9da046;}[_0x1b2246(0x17e)](_0x247bac){const _0x11b66d=_0x1b2246;if(!_0x247bac[_0x11b66d(0x129)][_0x11b66d(0x164)])return;const _0x1fc30f=this[_0x11b66d(0x134)](_0x247bac);if(!_0x1fc30f)return;const _0x3cfdb2=this[_0x11b66d(0x13e)][_0x11b66d(0x14b)](_0x1fc30f),_0x47c257=this[_0x11b66d(0x12d)];_0x47c257&&_0x47c257===_0x3cfdb2?this[_0x11b66d(0x162)](_0x1fc30f,_0x247bac):this[_0x11b66d(0x132)](_0x247bac,_0x1fc30f);}[_0x1b2246(0x168)](_0x14ab21){const _0x47b36d=_0x1b2246;if(!_0x14ab21[_0x47b36d(0x129)][_0x47b36d(0x164)])return;const _0xb7f75c=this[_0x47b36d(0x140)](_0x14ab21);if(!_0xb7f75c)return;const _0x465bdc=this[_0x47b36d(0x13e)][_0x47b36d(0x14b)](_0xb7f75c),_0x32cc54=this[_0x47b36d(0x17d)][_0x47b36d(0x176)][_0x47b36d(0x14b)](_0x47b36d(0x165)),_0x23b2b5=this[_0x47b36d(0x12d)];_0x23b2b5&&_0x23b2b5===_0x465bdc&&_0x32cc54?(this[_0x47b36d(0x132)](_0xb7f75c,_0x14ab21),this[_0x47b36d(0x162)](_0x14ab21,_0xb7f75c)):_0x23b2b5&&_0x23b2b5===_0x465bdc?this[_0x47b36d(0x132)](_0xb7f75c,_0x14ab21):this[_0x47b36d(0x162)](_0x14ab21,_0xb7f75c);}[_0x1b2246(0x137)](_0x51740b,_0x480ee9){const _0x53e05c=_0x1b2246;0x0===this[_0x53e05c(0x131)][_0x53e05c(0x164)]&&setTimeout(()=>{const _0x323c7e=_0x53e05c;for(const {sidebarItemView:_0x3e9604,changedProp:_0x367677}of this[_0x323c7e(0x131)])_0x323c7e(0x148)===_0x367677?this[_0x323c7e(0x17e)](_0x3e9604):this[_0x323c7e(0x168)](_0x3e9604);this[_0x323c7e(0x131)]=[];},0xa),this[_0x53e05c(0x131)][_0x53e05c(0x150)]({'sidebarItemView':_0x51740b,'changedProp':_0x480ee9});}[_0x1b2246(0x13b)](_0x15ef60){const _0x1ada5b=_0x1b2246;return this[_0x1ada5b(0x169)][_0x1ada5b(0x14b)](_0x15ef60);}[_0x1b2246(0x13c)](){const _0xe63add=_0x1b2246;this[_0xe63add(0x171)](),this[_0xe63add(0x14e)][_0xe63add(0x13c)]();}[_0x1b2246(0x170)](_0x52ea9b){const _0x27feee=_0x1b2246,_0x5c2734=this[_0x27feee(0x13b)](_0x52ea9b);this[_0x27feee(0x171)](_0x5c2734),this[_0x27feee(0x171)](_0x52ea9b[_0x27feee(0x14e)]),_0x5c2734[_0x27feee(0x13c)](),this[_0x27feee(0x169)][_0x27feee(0x15f)](_0x52ea9b),this[_0x27feee(0x13e)][_0x27feee(0x15f)](_0x5c2734);}[_0x1b2246(0x138)](){const _0x3a98a9=_0x1b2246,_0x56cffa=new _0x52f7f3(this[_0x3a98a9(0x17d)][_0x3a98a9(0x136)]);return _0x56cffa[_0x3a98a9(0x156)](),this['on'](_0x3a98a9(0x167),(_0x293588,_0x12ccdf,_0x1dac23,_0x56661c)=>{const _0x297328=_0x3a98a9;_0x56661c&&_0x56cffa[_0x297328(0x154)](_0x297328(0x180)),_0x1dac23?_0x56cffa[_0x297328(0x12a)](_0x297328(0x180))['to'](_0x1dac23,_0x297328(0x17f)):_0x56cffa[_0x297328(0x180)]=null;}),_0x56cffa;}[_0x1b2246(0x179)](){const _0x74e6af=_0x1b2246;this[_0x74e6af(0x14a)]=this[_0x74e6af(0x177)]?.[_0x74e6af(0x147)]?this[_0x74e6af(0x13b)](this[_0x74e6af(0x177)][_0x74e6af(0x147)]):null;}[_0x1b2246(0x134)](_0x28dbc7){const _0x4751f4=_0x1b2246,_0x567c8e=this[_0x4751f4(0x13e)][_0x4751f4(0x14b)](_0x28dbc7),_0x2975bf=_0x567c8e&&this[_0x4751f4(0x177)]?.[_0x4751f4(0x14b)](this[_0x4751f4(0x177)][_0x4751f4(0x157)](_0x567c8e)-0x1);return _0x2975bf&&this[_0x4751f4(0x13b)](_0x2975bf)||null;}[_0x1b2246(0x140)](_0x279681){const _0x3abd60=_0x1b2246,_0x2f840d=this[_0x3abd60(0x13e)][_0x3abd60(0x14b)](_0x279681),_0x113c63=_0x2f840d&&this[_0x3abd60(0x177)]?.[_0x3abd60(0x14b)](this[_0x3abd60(0x177)][_0x3abd60(0x157)](_0x2f840d)+0x1);return _0x113c63&&this[_0x3abd60(0x13b)](_0x113c63)||null;}[_0x1b2246(0x132)](_0x31e776,_0x7bea54){const _0x468c07=_0x1b2246;_0x31e776[_0x468c07(0x161)]();const _0x596256=G(_0x7bea54[_0x468c07(0x17f)]+this[_0x468c07(0x172)],_0x31e776[_0x468c07(0x148)]);return!!_0x596256&&(this[_0x468c07(0x166)](_0x7bea54,_0x7bea54[_0x468c07(0x148)]-_0x596256),!0x0);}[_0x1b2246(0x162)](_0x1dfe08,_0x17b092){const _0x55e601=_0x1b2246;_0x1dfe08[_0x55e601(0x161)]();const _0x34f9fb=G(_0x1dfe08[_0x55e601(0x17f)]+this[_0x55e601(0x172)],_0x17b092[_0x55e601(0x148)]);return!!_0x34f9fb&&(this[_0x55e601(0x166)](_0x17b092,_0x17b092[_0x55e601(0x148)]+_0x34f9fb,!0x1),!0x0);}[_0x1b2246(0x149)](_0x765761){const _0x54e067=_0x1b2246,_0x385665=this[_0x54e067(0x13e)][_0x54e067(0x14b)](_0x765761);if(!_0x385665||!_0x385665[_0x54e067(0x142)]||!_0x385665[_0x54e067(0x127)])return;const _0x3517cd=this[_0x54e067(0x16d)](_0x385665,_0x385665[_0x54e067(0x127)]);this[_0x54e067(0x166)](_0x765761,_0x3517cd);}[_0x1b2246(0x16d)](_0xe6f17a,_0x3f7d86){const _0x50b697=_0x1b2246;if(null===_0x3f7d86)return 0x0;if(_0xe6f17a[_0x50b697(0x142)]instanceof _0x3284de)return _0x3f7d86[_0x50b697(0x148)];{const _0x4546f3=new _0x3284de(this[_0x50b697(0x14e)][_0x50b697(0x133)])[_0x50b697(0x148)];return _0x3f7d86[_0x50b697(0x148)]-_0x4546f3;}}[_0x1b2246(0x166)](_0x1b6cf,_0x283425,_0x23ef30=this[_0x1b2246(0x17d)][_0x1b2246(0x176)][_0x1b2246(0x14b)](_0x1b2246(0x165))){const _0x3ecff4=_0x1b2246;_0x23ef30&&(_0x283425=Math[_0x3ecff4(0x12b)](_0x283425,this[_0x3ecff4(0x152)](_0x1b6cf))),_0x1b6cf[_0x3ecff4(0x148)]=_0x283425;}[_0x1b2246(0x152)](_0x43f70d){const _0x16430a=_0x1b2246;let _0x12cf97=this[_0x16430a(0x134)](_0x43f70d),_0x4b6049=0x0;for(;_0x12cf97;)_0x12cf97[_0x16430a(0x161)](),_0x4b6049+=this[_0x16430a(0x172)]+_0x12cf97[_0x16430a(0x16f)],_0x12cf97=this[_0x16430a(0x134)](_0x12cf97);return _0x4b6049;}}function _0x411d(_0x3dcf7c,_0x7d7f4c){const _0x4276ab=_0x4276();return _0x411d=function(_0x411d7c,_0x160fcd){_0x411d7c=_0x411d7c-0x126;let _0xc38e97=_0x4276ab[_0x411d7c];return _0xc38e97;},_0x411d(_0x3dcf7c,_0x7d7f4c);}function G(_0x3ff1bb,_0x306e59){const _0x3ef8ce=_0x1b2246;return Math[_0x3ef8ce(0x12b)](_0x3ff1bb-_0x306e59,0x0);}function g(_0x463dce){const _0x445906=_0x1b2246;return null!==_0x463dce&&_0x445906(0x15e)==typeof _0x463dce&&0x1===_0x463dce[_0x445906(0x183)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4c74(_0x2fc535,_0x161aaa){const _0x1f34ab=_0x1f34();return _0x4c74=function(_0x4c74a0,_0x2b23b0){_0x4c74a0=_0x4c74a0-0x1f0;let _0xb9b9e=_0x1f34ab[_0x4c74a0];return _0xb9b9e;},_0x4c74(_0x2fc535,_0x161aaa);}const _0x1ee8c1=_0x4c74;function _0x1f34(){const _0x5ad06c=['bindTemplate','extendTemplate','ck-annotation-counter__badge--edit-mode','annotationType','bind','icon','counterView','setTemplate','274831HUWFOX','2330080IQNJxZ','set','4779QEFDtP','ck-annotation-counter__badge','ck-annotation-counter__badge--','...','7XBLGpZ','774990zVGsLQ','910bvPPXL','_badge','5388wmbacY','isDirty','54924EQXLFo','number','230krxzTZ','add','children','2183910kSKDyY','toString','span','ck-annotation-counter'];_0x1f34=function(){return _0x5ad06c;};return _0x1f34();}(function(_0x22842a,_0x1d196e){const _0x2c540b=_0x4c74,_0x394320=_0x22842a();while(!![]){try{const _0x429be7=-parseInt(_0x2c540b(0x207))/0x1+-parseInt(_0x2c540b(0x1f6))/0x2+-parseInt(_0x2c540b(0x1f1))/0x3+-parseInt(_0x2c540b(0x1f4))/0x4*(-parseInt(_0x2c540b(0x1f8))/0x5)+parseInt(_0x2c540b(0x1fb))/0x6+parseInt(_0x2c540b(0x1f0))/0x7*(parseInt(_0x2c540b(0x208))/0x8)+-parseInt(_0x2c540b(0x20a))/0x9*(-parseInt(_0x2c540b(0x1f2))/0xa);if(_0x429be7===_0x1d196e)break;else _0x394320['push'](_0x394320['shift']());}catch(_0x189428){_0x394320['push'](_0x394320['shift']());}}}(_0x1f34,0x32069));import{ButtonView as _0x89483,View as _0x3882bf}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3cfc8f}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x89483{[_0x1ee8c1(0x205)];constructor(_0x534005){const _0x5942dc=_0x1ee8c1;super(_0x534005);const _0x4c9beb=this[_0x5942dc(0x1ff)];this[_0x5942dc(0x209)](_0x5942dc(0x1f5),!0x1),this[_0x5942dc(0x209)](_0x5942dc(0x1f7),0x0),this[_0x5942dc(0x203)](_0x5942dc(0x1f3))['to'](this,_0x5942dc(0x1f5),this,_0x5942dc(0x1f7),(_0xd91f36,_0x1cf74e)=>_0xd91f36?_0x5942dc(0x20d):_0x1cf74e[_0x5942dc(0x1fc)]()),this[_0x5942dc(0x209)](_0x5942dc(0x202),''),this[_0x5942dc(0x204)]=_0x3cfc8f,this[_0x5942dc(0x200)]({'attributes':{'class':[_0x5942dc(0x1fe)]}}),this[_0x5942dc(0x205)]=new _0x3882bf(),this[_0x5942dc(0x205)][_0x5942dc(0x206)]({'tag':_0x5942dc(0x1fd),'attributes':{'class':[_0x5942dc(0x20b),_0x4c9beb['to'](_0x5942dc(0x202),_0x5844ba=>_0x5942dc(0x20c)+_0x5844ba),_0x4c9beb['if'](_0x5942dc(0x1f5),_0x5942dc(0x201))]},'children':[{'text':_0x4c9beb['to'](_0x5942dc(0x1f3))}]}),this[_0x5942dc(0x1fa)][_0x5942dc(0x1f9)](this[_0x5942dc(0x205)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5407e3=_0x1b7e;function _0x1b7e(_0x3882a5,_0x2ed764){const _0x49ce99=_0x49ce();return _0x1b7e=function(_0x1b7e40,_0xed99e7){_0x1b7e40=_0x1b7e40-0xd6;let _0x159fd8=_0x49ce99[_0x1b7e40];return _0x159fd8;},_0x1b7e(_0x3882a5,_0x2ed764);}(function(_0x105bf7,_0x192ecb){const _0x414afc=_0x1b7e,_0x6fb01a=_0x105bf7();while(!![]){try{const _0x136ab2=parseInt(_0x414afc(0xe0))/0x1+parseInt(_0x414afc(0xe6))/0x2+parseInt(_0x414afc(0xe5))/0x3*(-parseInt(_0x414afc(0xda))/0x4)+parseInt(_0x414afc(0xec))/0x5+parseInt(_0x414afc(0xea))/0x6*(-parseInt(_0x414afc(0xf0))/0x7)+parseInt(_0x414afc(0xe9))/0x8+parseInt(_0x414afc(0xff))/0x9;if(_0x136ab2===_0x192ecb)break;else _0x6fb01a['push'](_0x6fb01a['shift']());}catch(_0xe74c50){_0x6fb01a['push'](_0x6fb01a['shift']());}}}(_0x49ce,0x4f53e));function _0x49ce(){const _0x4bb075=['ck-annotation-wrapper--active','focus','clientHeight','length','141bTIckD','168730FURgJZ','isActive','bindTemplate','1071968JGSOXa','312402FXEWQj','add','362505NJpdsF','div','delegate','set','84gAUXrj','attach','ck-annotation-wrapper','setTemplate','first','keystrokes','type','arrowup','element','clear','_updateHeight','_mutationObserver','focusTracker','fire','listenTo','6600348MOlabS','destroy','arrowdown','Esc','presentation','content','detach','isDirty','height','26772ZkjVyt','createCollection','targetRect','ck-rounded-corners','mainView','render','240067sEdAgg'];_0x49ce=function(){return _0x4bb075;};return _0x49ce();}import{View as _0x7feaae}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2ed0bc,KeystrokeHandler as _0x5de7eb,uid as _0x15395e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3b3897}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x7feaae{[_0x5407e3(0xfc)];['id'];[_0x5407e3(0xf5)];[_0x5407e3(0xd6)];[_0x5407e3(0xde)];[_0x5407e3(0xfb)];constructor(_0x15eb5f,_0xf4d48b){const _0x504244=_0x5407e3;super(_0x15eb5f),this['id']=_0x15395e(),this[_0x504244(0xfc)]=new _0x2ed0bc(),this[_0x504244(0xf5)]=new _0x5de7eb(),this[_0x504244(0xf5)][_0x504244(0xef)](_0x504244(0x102),(_0x187ce5,_0x32222b)=>this[_0x504244(0xfd)](_0x504244(0x102),_0x32222b)),this[_0x504244(0xef)](_0x504244(0xdc),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x504244(0xef)](_0x504244(0xd9),0x0),this[_0x504244(0xef)](_0x504244(0xe7),!0x1),this[_0x504244(0xef)](_0x504244(0xd8),!0x1),this[_0x504244(0xef)](_0x504244(0xe4),0x0),this[_0x504244(0xef)](_0x504244(0xf6),''),this[_0x504244(0xfb)]=_0x3b3897(()=>this[_0x504244(0xfa)]()),this[_0x504244(0xd6)]=this[_0x504244(0xdb)](),this[_0x504244(0xd6)][_0x504244(0xee)](_0x504244(0xf7),_0x504244(0x101))['to'](this),this[_0x504244(0xd6)][_0x504244(0xeb)](_0xf4d48b),this[_0x504244(0xde)]=_0xf4d48b;const _0x4e664a=this[_0x504244(0xe8)];this[_0x504244(0xf3)]({'tag':_0x504244(0xed),'attributes':{'class':['ck',_0x504244(0xf2),_0x504244(0xdd),_0x4e664a['if'](_0x504244(0xe7),_0x504244(0xe1))],'role':_0x504244(0x103)},'children':this[_0x504244(0xd6)]});}[_0x5407e3(0xdf)](){const _0xf94efd=_0x5407e3;super[_0xf94efd(0xdf)](),this[_0xf94efd(0xfc)][_0xf94efd(0xeb)](this[_0xf94efd(0xf8)]),this[_0xf94efd(0xf5)][_0xf94efd(0xfe)](this[_0xf94efd(0xf8)]),this[_0xf94efd(0xfb)][_0xf94efd(0xf1)](this[_0xf94efd(0xf8)]);}[_0x5407e3(0x100)](){const _0x3d86a6=_0x5407e3;this[_0x3d86a6(0xd6)][_0x3d86a6(0xf9)](),this[_0x3d86a6(0xf5)][_0x3d86a6(0x100)](),this[_0x3d86a6(0xfc)][_0x3d86a6(0x100)](),this[_0x3d86a6(0xfb)][_0x3d86a6(0xd7)](),super[_0x3d86a6(0x100)]();}[_0x5407e3(0xe2)](){const _0xacdf18=_0x5407e3;this[_0xacdf18(0xd6)][_0xacdf18(0xf4)]&&this[_0xacdf18(0xd6)][_0xacdf18(0xf4)][_0xacdf18(0xe2)]();}[_0x5407e3(0xfa)](){const _0x1f82c5=_0x5407e3,_0x216664=this[_0x1f82c5(0xf8)][_0x1f82c5(0xe3)];_0x216664&&(this[_0x1f82c5(0xd9)]=_0x216664);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5ed1a2=_0x3da1;(function(_0x40c3e0,_0x499be2){const _0xb5bc26=_0x3da1,_0x2cd2f8=_0x40c3e0();while(!![]){try{const _0x4672b0=-parseInt(_0xb5bc26(0xd3))/0x1+parseInt(_0xb5bc26(0xbe))/0x2+parseInt(_0xb5bc26(0xc4))/0x3*(-parseInt(_0xb5bc26(0xd9))/0x4)+parseInt(_0xb5bc26(0xdf))/0x5*(parseInt(_0xb5bc26(0xd1))/0x6)+-parseInt(_0xb5bc26(0xde))/0x7*(parseInt(_0xb5bc26(0xca))/0x8)+-parseInt(_0xb5bc26(0xcb))/0x9+-parseInt(_0xb5bc26(0xbf))/0xa*(-parseInt(_0xb5bc26(0xcc))/0xb);if(_0x4672b0===_0x499be2)break;else _0x2cd2f8['push'](_0x2cd2f8['shift']());}catch(_0x20608a){_0x2cd2f8['push'](_0x2cd2f8['shift']());}}}(_0x3326,0xeb5ac));import{View as _0x346d12}from'ckeditor5/src/ui.js';function _0x3326(){const _0xace48a=['createCollection','bind','attach','8uXABjI','3818475aDgPCJ','13277462QEAxRs','content','_targetTop','arrowup','height','29346gIxfPt','arrowdown','1024621Cdphem','presentation','clear','isAnimationDisabled','render','first','572UVDMwP','ck-sidebar-item','clientHeight','setTemplate','top','3308942mZCxOR','650uevzLn','ck-sidebar-item--no-animation','_mutationObserver','destroy','bottom','div','element','1245258NqnWVg','20VyLzfg','detach','focus','bindTemplate','set','16509waxfbf','delegate','updateHeight'];_0x3326=function(){return _0xace48a;};return _0x3326();}function _0x3da1(_0x57bdfd,_0x4bc05a){const _0x3326f7=_0x3326();return _0x3da1=function(_0x3da1ee,_0x27c3c8){_0x3da1ee=_0x3da1ee-0xbc;let _0x49db6a=_0x3326f7[_0x3da1ee];return _0x49db6a;},_0x3da1(_0x57bdfd,_0x4bc05a);}import{toUnit as _0x49646f}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x4c5177}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x49646f('px');export class AnnotationsSidebarItemView extends _0x346d12{[_0x5ed1a2(0xcd)];[_0x5ed1a2(0xce)];[_0x5ed1a2(0xe1)];constructor(_0x2e95c0){const _0x2d5b5a=_0x5ed1a2;super(_0x2e95c0),this[_0x2d5b5a(0xc3)](_0x2d5b5a(0xdd),0x0),this[_0x2d5b5a(0xc3)](_0x2d5b5a(0xd0),0x0),this[_0x2d5b5a(0xc8)](_0x2d5b5a(0xe3))['to'](this,_0x2d5b5a(0xdd),this,_0x2d5b5a(0xd0),(_0x58c350,_0x2b1084)=>_0x58c350+_0x2b1084),this[_0x2d5b5a(0xc3)](_0x2d5b5a(0xd6),!0x1),this[_0x2d5b5a(0xe1)]=_0x4c5177(()=>this[_0x2d5b5a(0xc6)]()),this[_0x2d5b5a(0xce)]=null,this[_0x2d5b5a(0xcd)]=this[_0x2d5b5a(0xc7)](),this[_0x2d5b5a(0xcd)][_0x2d5b5a(0xc5)](_0x2d5b5a(0xcf),_0x2d5b5a(0xd2))['to'](this);const _0x50a7c5=this[_0x2d5b5a(0xc2)];this[_0x2d5b5a(0xdc)]({'tag':_0x2d5b5a(0xbc),'attributes':{'class':[_0x2d5b5a(0xda),_0x50a7c5['to'](_0x2d5b5a(0xd6),_0x189e3c=>_0x189e3c?_0x2d5b5a(0xe0):'')],'style':{'top':_0x50a7c5['to'](_0x2d5b5a(0xdd),_0x310669=>Ot(_0x310669))},'role':_0x2d5b5a(0xd4)},'children':this[_0x2d5b5a(0xcd)]});}[_0x5ed1a2(0xd7)](){const _0x27d9e3=_0x5ed1a2;super[_0x27d9e3(0xd7)](),this[_0x27d9e3(0xe1)][_0x27d9e3(0xc9)](this[_0x27d9e3(0xbd)]);}[_0x5ed1a2(0xc1)](){const _0x4bc553=_0x5ed1a2;this[_0x4bc553(0xcd)][_0x4bc553(0xd8)]&&this[_0x4bc553(0xcd)][_0x4bc553(0xd8)][_0x4bc553(0xc1)]();}[_0x5ed1a2(0xc6)](){const _0x50bfaa=_0x5ed1a2,_0x18455e=this[_0x50bfaa(0xbd)][_0x50bfaa(0xdb)];_0x18455e&&(this[_0x50bfaa(0xd0)]=_0x18455e);}[_0x5ed1a2(0xe2)](){const _0x2da9b6=_0x5ed1a2;this[_0x2da9b6(0xcd)][_0x2da9b6(0xd5)](),this[_0x2da9b6(0xe1)][_0x2da9b6(0xc0)](),super[_0x2da9b6(0xe2)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x16b1a=_0x223b;(function(_0xa9e26b,_0x1d1807){const _0x1796dd=_0x223b,_0x144186=_0xa9e26b();while(!![]){try{const _0x401551=parseInt(_0x1796dd(0x9c))/0x1+-parseInt(_0x1796dd(0x93))/0x2+-parseInt(_0x1796dd(0x9a))/0x3+-parseInt(_0x1796dd(0x7b))/0x4+-parseInt(_0x1796dd(0x86))/0x5+-parseInt(_0x1796dd(0x88))/0x6+parseInt(_0x1796dd(0x7d))/0x7*(parseInt(_0x1796dd(0x90))/0x8);if(_0x401551===_0x1d1807)break;else _0x144186['push'](_0x144186['shift']());}catch(_0x2726e8){_0x144186['push'](_0x144186['shift']());}}}(_0xb139,0xa58a1));import{View as _0x89b2e6,FocusCycler as _0x1c2266}from'ckeditor5/src/ui.js';function _0x223b(_0x34749c,_0x530a13){const _0xb139f7=_0xb139();return _0x223b=function(_0x223bee,_0x376dd8){_0x223bee=_0x223bee-0x78;let _0x460866=_0xb139f7[_0x223bee];return _0x460866;},_0x223b(_0x34749c,_0x530a13);}import{FocusTracker as _0xc88e3e,toUnit as _0x486f9d}from'ckeditor5/src/utils.js';import{getTranslation as _0x565a40}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x486f9d('px');export class AnnotationsSidebarView extends _0x89b2e6{[_0x16b1a(0xa2)];[_0x16b1a(0x9e)];[_0x16b1a(0x95)];[_0x16b1a(0x81)];constructor(_0xa63c38){const _0x211b5a=_0x16b1a;super(_0xa63c38);const _0x17eeb6=this[_0x211b5a(0x9f)];this[_0x211b5a(0x7f)](_0x211b5a(0xa7),0x0),this[_0x211b5a(0x7f)](_0x211b5a(0x8e),''),this[_0x211b5a(0xa2)]=this[_0x211b5a(0x89)](),this[_0x211b5a(0x9e)]=this[_0x211b5a(0x89)](),this[_0x211b5a(0xa2)][_0x211b5a(0x8d)](_0x211b5a(0x7e),_0x211b5a(0x96))['to'](this),this[_0x211b5a(0x95)]=new _0xc88e3e(),this[_0x211b5a(0x81)]=new _0x1c2266({'focusables':this[_0x211b5a(0x9e)],'focusTracker':this[_0x211b5a(0x95)]}),this[_0x211b5a(0x8b)]({'tag':_0x211b5a(0x98),'attributes':{'class':['ck',_0x211b5a(0x87),_0x211b5a(0x8c),_0x17eeb6['to'](_0x211b5a(0x8e))],'style':{'minHeight':_0x17eeb6['to'](_0x211b5a(0xa7),_0x27a9e0=>_0x211b5a(0x79)==typeof _0x27a9e0?Ot(_0x27a9e0+0xa):null)},'dir':_0xa63c38[_0x211b5a(0x84)],'role':_0x211b5a(0xa1),'aria-label':_0x565a40(_0xa63c38,_0x211b5a(0x94)),'tabindex':0x0},'children':[{'tag':_0x211b5a(0x98),'attributes':{'role':_0x211b5a(0xa2),'aria-label':_0x565a40(_0xa63c38,_0x211b5a(0x9b))},'children':this[_0x211b5a(0xa2)]}]});}[_0x16b1a(0x82)](){const _0x111df8=_0x16b1a;super[_0x111df8(0x82)](),this[_0x111df8(0x80)]();}[_0x16b1a(0xa8)](){const _0x5aa83e=_0x16b1a;this[_0x5aa83e(0x81)][_0x5aa83e(0x78)]();}[_0x16b1a(0x80)](){const _0x2c22e5=_0x16b1a;this[_0x2c22e5(0xa2)][_0x2c22e5(0x8d)](_0x2c22e5(0x99))['to'](this),this['on'](_0x2c22e5(0x99),_0x3629eb=>{const _0xe9f196=_0x2c22e5;this[_0xe9f196(0xa3)](_0x3629eb[_0xe9f196(0x9d)]);}),this[_0x2c22e5(0xa2)][_0x2c22e5(0x8a)](_0x99e76b=>{const _0x3d229b=_0x2c22e5;this[_0x3d229b(0x95)][_0x3d229b(0x7a)](_0x99e76b[_0x3d229b(0xa5)]),this[_0x3d229b(0xa3)](_0x99e76b);}),this[_0x2c22e5(0xa2)]['on'](_0x2c22e5(0x97),(_0xf24f63,_0x4ca11e)=>{const _0x5500b9=_0x2c22e5;for(const _0x432135 of _0x4ca11e[_0x5500b9(0x8f)])this[_0x5500b9(0x95)][_0x5500b9(0x7c)](_0x432135[_0x5500b9(0xa5)]),this[_0x5500b9(0x9e)][_0x5500b9(0x7c)](_0x432135);for(const _0x595bd6 of _0x4ca11e[_0x5500b9(0xa6)])this[_0x5500b9(0x95)][_0x5500b9(0x7a)](_0x595bd6[_0x5500b9(0xa5)]),this[_0x5500b9(0xa3)](_0x595bd6);}),this['on'](_0x2c22e5(0x7e),()=>{const _0x32d064=_0x2c22e5;this[_0x32d064(0x81)][_0x32d064(0xa4)]();}),this['on'](_0x2c22e5(0x96),()=>{const _0x26c765=_0x2c22e5;this[_0x26c765(0x81)][_0x26c765(0x85)]();}),this[_0x2c22e5(0x83)](this[_0x2c22e5(0xa5)],_0x2c22e5(0xa8),()=>{const _0x4f8f95=_0x2c22e5;this[_0x4f8f95(0xa8)]();});}[_0x16b1a(0xa3)](_0x335832){const _0x33d810=_0x16b1a,_0x33c704=this[_0x33d810(0x9e)][_0x33d810(0x91)](_0x335832);let _0x35a01b,_0x88be06;for(const _0x488432 of this[_0x33d810(0x9e)])if(_0x335832[_0x33d810(0xa0)]<_0x488432[_0x33d810(0xa0)]){_0x35a01b=_0x488432;break;}if(_0x88be06=_0x35a01b?this[_0x33d810(0x9e)][_0x33d810(0x91)](_0x35a01b):this[_0x33d810(0x9e)][_0x33d810(0x92)],-0x1!==_0x33c704){if(_0x33c704===_0x88be06-0x1)return;this[_0x33d810(0x9e)][_0x33d810(0x7c)](_0x335832),_0x88be06=_0x35a01b?this[_0x33d810(0x9e)][_0x33d810(0x91)](_0x35a01b):this[_0x33d810(0x9e)][_0x33d810(0x92)];}this[_0x33d810(0x9e)][_0x33d810(0x7a)](_0x335832,_0x88be06);}}function _0xb139(){const _0x382f94=['focusables','bindTemplate','top','application','list','_updateItemPositionInFocusables','focusPrevious','element','added','minHeight','focus','focusFirst','number','add','3168456SLpxnn','remove','35acEoeU','arrowup','set','_setupKeyboardNavigation','focusCycler','render','listenTo','uiLanguageDirection','focusNext','4035090MzfgUb','ck-sidebar','6109752PohEla','createCollection','forEach','setTemplate','ck-reset','delegate','class','removed','7123496DMqIrx','getIndex','length','1706856ajHTVw','Annotations\x20sidebar','focusTracker','arrowdown','change','div','change:top','963339OinHHm','Annotations\x20list','17829CaJrwT','source'];_0xb139=function(){return _0x382f94;};return _0xb139();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31c75c=_0x10a3;(function(_0x45c2db,_0x456bfd){const _0x3b3d1f=_0x10a3,_0x4ad137=_0x45c2db();while(!![]){try{const _0xcac755=-parseInt(_0x3b3d1f(0x21a))/0x1+parseInt(_0x3b3d1f(0x200))/0x2+parseInt(_0x3b3d1f(0x1f1))/0x3+-parseInt(_0x3b3d1f(0x21b))/0x4+parseInt(_0x3b3d1f(0x1eb))/0x5*(-parseInt(_0x3b3d1f(0x21c))/0x6)+parseInt(_0x3b3d1f(0x1fc))/0x7+-parseInt(_0x3b3d1f(0x1db))/0x8*(-parseInt(_0x3b3d1f(0x20c))/0x9);if(_0xcac755===_0x456bfd)break;else _0x4ad137['push'](_0x4ad137['shift']());}catch(_0x5cf63c){_0x4ad137['push'](_0x4ad137['shift']());}}}(_0x1eac,0x42c0d));import{ContextPlugin as _0x4d5696,Context as _0x1c0fc4}from'ckeditor5/src/core.js';function _0x1eac(){const _0x29ee30=['setActiveAnnotation','switchTo','_refreshPositioningDebounced','EditorAnnotations','listenTo','stop','_activeAnnotation','add','widesidebar-attach-already-attached','465462ixAdUR','1362340INaELl','513966QDchrT','ck-sidebar--wide','removeEventListener','get','remove','_integrateWithEditorAnnotations','56BdVLul','addEventListener','Annotations','change:container','refreshPositioning','pluginName','isPremiumPlugin','_destroyEditorAnnotationsIntegration','container','_editorAnnotations','set:container','detach','getOrderedSelectedAnnotations','destroy','hasDomSelection','activeAnnotation','5MbwcCX','isOfficialPlugin','_attachToContainer','uiUpdate','cancel','focus','772398RaBbwW','widesidebar-detach-not-attached','_detachFromContainer','isAttached','ready','off','set','refreshVisibility','updateTargetRect','addAnnotation','WideSidebar','3626084eTzuSX','attach','high','editors','641108rfakmE','resize','annotations','requires','refresh','plugins','context','blur','has','_annotations','rearrange','wideSidebar','88839xeYXAz','stopListening','register','from','init'];_0x1eac=function(){return _0x29ee30;};return _0x1eac();}import{AnnotationsUIs as _0x2e073d}from'./annotationsuis.js';import{Sidebar as _0x3edd57}from'./sidebar.js';import{CKEditorError as _0x574943,Collection as _0x4368d5}from'ckeditor5/src/utils.js';function _0x10a3(_0x4bb1b5,_0x4556b8){const _0x1eac39=_0x1eac();return _0x10a3=function(_0x10a3bd,_0x3d7b63){_0x10a3bd=_0x10a3bd-0x1d7;let _0x18884b=_0x1eac39[_0x10a3bd];return _0x18884b;},_0x10a3(_0x4bb1b5,_0x4556b8);}import{debounce as _0x3b0efa}from'es-toolkit/compat';export class WideSidebar extends _0x4d5696{[_0x31c75c(0x1f4)];[_0x31c75c(0x202)];[_0x31c75c(0x1e4)];[_0x31c75c(0x213)];static get[_0x31c75c(0x203)](){return[_0x3edd57,_0x2e073d];}static get[_0x31c75c(0x1e0)](){const _0x27e278=_0x31c75c;return _0x27e278(0x1fb);}static get[_0x31c75c(0x1ec)](){return!0x0;}static get[_0x31c75c(0x1e1)](){return!0x0;}constructor(_0x2cbba5){const _0x3fd943=_0x31c75c;super(_0x2cbba5),this[_0x3fd943(0x1f4)]=!0x1,this[_0x3fd943(0x1f7)](_0x3fd943(0x1ea),null),this[_0x3fd943(0x202)]=null,this[_0x3fd943(0x1e4)]=new _0x4368d5(),this[_0x3fd943(0x213)]=_0x3b0efa(()=>{const _0xfad8ae=_0x3fd943;_0x2cbba5[_0xfad8ae(0x205)][_0xfad8ae(0x1d8)](_0xfad8ae(0x1dd))[_0xfad8ae(0x1f8)](),this[_0xfad8ae(0x202)][_0xfad8ae(0x1df)]();},0xfa,{'leading':!0x1});}[_0x31c75c(0x210)](){const _0x36b005=_0x31c75c,_0x1a9c0e=this[_0x36b005(0x206)][_0x36b005(0x205)][_0x36b005(0x1d8)](_0x2e073d),_0x14f1b9=this[_0x36b005(0x206)][_0x36b005(0x205)][_0x36b005(0x1d8)](_0x3edd57);_0x1a9c0e[_0x36b005(0x20e)](_0x36b005(0x20b),this),_0x14f1b9[_0x36b005(0x1e3)]&&_0x1a9c0e[_0x36b005(0x212)](_0x36b005(0x20b));}[_0x31c75c(0x211)](_0x4e4f94){const _0x223a28=_0x31c75c;if(_0x4e4f94===this[_0x223a28(0x1ea)])return;const _0x27b12e=this[_0x223a28(0x206)][_0x223a28(0x205)][_0x223a28(0x1d8)](_0x3edd57);_0x27b12e[_0x223a28(0x217)]=_0x4e4f94;const _0x501926=this[_0x223a28(0x1ea)];_0x27b12e[_0x223a28(0x204)]({'blurredAnnotation':_0x501926,'activatedAnnotation':_0x4e4f94}),this[_0x223a28(0x1ea)]=_0x4e4f94;}[_0x31c75c(0x1fd)](_0x46f063){const _0x44a626=_0x31c75c;this[_0x44a626(0x202)]=_0x46f063;const _0x1ea8c0=this[_0x44a626(0x206)][_0x44a626(0x205)][_0x44a626(0x1d8)](_0x3edd57);if(_0x1ea8c0[_0x44a626(0x209)]=_0x46f063,this[_0x44a626(0x1f4)])throw new _0x574943(_0x44a626(0x219),this);this[_0x44a626(0x1f4)]=!0x0,this[_0x44a626(0x215)](_0x1ea8c0,_0x44a626(0x1e5),()=>{const _0x4de22b=_0x44a626;this[_0x4de22b(0x1e6)](),this[_0x4de22b(0x215)](_0x1ea8c0,_0x4de22b(0x1de),_0x34f762=>{const _0x346725=_0x4de22b;_0x34f762[_0x346725(0x1f6)](),this[_0x346725(0x1fd)](_0x46f063);});}),_0x1ea8c0[_0x44a626(0x1ed)]({'viewClass':_0x44a626(0x21d)});const _0x52cea6=_0x3b8ca1=>{const _0x147dac=_0x44a626;_0x3b8ca1[_0x147dac(0x1f9)](),_0x1ea8c0[_0x147dac(0x1fa)](_0x3b8ca1);};for(const _0x4b42b5 of _0x46f063)_0x52cea6(_0x4b42b5);this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x218),(_0x50a7aa,_0x1f2ed7)=>{_0x52cea6(_0x1f2ed7);}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x1d9),(_0x56bbc7,_0x2273e5,_0x55b672)=>{const _0x2e4b70=_0x44a626;_0x1ea8c0[_0x2e4b70(0x20a)]({'removedAnnotation':_0x2273e5,'previousAnnotation':_0x46f063[_0x2e4b70(0x1d8)](_0x55b672-0x1),'nextAnnotation':_0x46f063[_0x2e4b70(0x1d8)](_0x55b672+0x1)}),_0x2273e5===this[_0x2e4b70(0x1ea)]&&this[_0x2e4b70(0x211)](null);},{'priority':_0x44a626(0x1fe)}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x1f0),(_0x3fd12d,_0x37a82c)=>{const _0x25fabd=_0x44a626;this[_0x25fabd(0x211)](_0x37a82c);}),this[_0x44a626(0x215)](_0x46f063,_0x44a626(0x207),()=>{const _0x86c847=_0x44a626;this[_0x86c847(0x211)](null);});const _0x288bc2=this[_0x44a626(0x206)]instanceof _0x1c0fc4?this[_0x44a626(0x206)][_0x44a626(0x1ff)]:new _0x4368d5([this[_0x44a626(0x206)]]);for(const _0x15b192 of _0x288bc2)this[_0x44a626(0x1da)](_0x15b192);this[_0x44a626(0x215)](_0x288bc2,_0x44a626(0x218),(_0x56b0de,_0x451eef)=>{const _0x453c95=_0x44a626;this[_0x453c95(0x215)](_0x451eef,_0x453c95(0x1f5),()=>{const _0x584f7a=_0x453c95;this[_0x584f7a(0x1da)](_0x451eef);});}),this[_0x44a626(0x215)](_0x288bc2,_0x44a626(0x1d9),(_0x46121d,_0x2964e6)=>{const _0x4d80d1=_0x44a626;_0x2964e6[_0x4d80d1(0x205)][_0x4d80d1(0x208)](_0x4d80d1(0x214))&&this[_0x4d80d1(0x1e2)](_0x2964e6[_0x4d80d1(0x205)][_0x4d80d1(0x1d8)](_0x4d80d1(0x214)));}),window[_0x44a626(0x1dc)](_0x44a626(0x201),this[_0x44a626(0x213)]),this[_0x44a626(0x206)][_0x44a626(0x205)][_0x44a626(0x1d8)](_0x44a626(0x1dd))[_0x44a626(0x1f8)](),this[_0x44a626(0x202)][_0x44a626(0x1df)]();}[_0x31c75c(0x1e6)](){const _0x37a9bc=_0x31c75c;if(!this[_0x37a9bc(0x1f4)])throw new _0x574943(_0x37a9bc(0x1f2),this);this[_0x37a9bc(0x211)](null);const _0x45b7fa=this[_0x37a9bc(0x206)][_0x37a9bc(0x205)][_0x37a9bc(0x1d8)](_0x3edd57);_0x45b7fa[_0x37a9bc(0x1f3)](this[_0x37a9bc(0x202)]),this[_0x37a9bc(0x20d)](_0x45b7fa),this[_0x37a9bc(0x20d)](this[_0x37a9bc(0x202)]),this[_0x37a9bc(0x206)]instanceof _0x1c0fc4&&this[_0x37a9bc(0x20d)](this[_0x37a9bc(0x206)][_0x37a9bc(0x1ff)]);for(const _0xd1be53 of Array[_0x37a9bc(0x20f)](this[_0x37a9bc(0x1e4)]))this[_0x37a9bc(0x1e2)](_0xd1be53);window[_0x37a9bc(0x1d7)](_0x37a9bc(0x201),this[_0x37a9bc(0x213)]),this[_0x37a9bc(0x213)][_0x37a9bc(0x1ef)](),this[_0x37a9bc(0x1ea)]=null,this[_0x37a9bc(0x1f4)]=!0x1,this[_0x37a9bc(0x202)]=null;}[_0x31c75c(0x1e8)](){const _0x5c4b22=_0x31c75c;this[_0x5c4b22(0x1f4)]&&this[_0x5c4b22(0x1e6)]();}[_0x31c75c(0x1da)](_0xeb048e){const _0x21b88d=_0x31c75c;if(!_0xeb048e[_0x21b88d(0x205)][_0x21b88d(0x208)](_0x21b88d(0x214)))return;const _0x1dc718=_0xeb048e[_0x21b88d(0x205)][_0x21b88d(0x1d8)](_0x21b88d(0x214)),_0x35c571=()=>{const _0x226a00=_0x21b88d,_0x4fa5f3=_0x1dc718[_0x226a00(0x1e7)]({'annotations':this[_0x226a00(0x202)],'activeAnnotation':this[_0x226a00(0x1ea)]});this[_0x226a00(0x211)](_0x4fa5f3[0x0]||null);};this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x204),_0x35c571),this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x207),(_0x26ecb6,{isAnnotationTracked:_0x513ca7})=>{const _0x35c64c=_0x21b88d;this[_0x35c64c(0x1ea)]&&_0x513ca7(this[_0x35c64c(0x1ea)])&&this[_0x35c64c(0x211)](null);}),this[_0x21b88d(0x215)](_0x1dc718,_0x21b88d(0x1ee),()=>{const _0x2281d2=_0x21b88d;this[_0x2281d2(0x213)]();}),this[_0x21b88d(0x215)](this[_0x21b88d(0x202)],_0x21b88d(0x207),_0x570fbd=>{const _0x3c6ebf=_0x21b88d;_0x1dc718[_0x3c6ebf(0x1e9)]()&&(_0x35c571(),_0x570fbd[_0x3c6ebf(0x216)]());},{'priority':_0x21b88d(0x1fe)}),this[_0x21b88d(0x1e4)][_0x21b88d(0x218)](_0x1dc718);}[_0x31c75c(0x1e2)](_0x3b3bcf){const _0x3c5c7f=_0x31c75c;this[_0x3c5c7f(0x20d)](_0x3b3bcf),this[_0x3c5c7f(0x1e4)][_0x3c5c7f(0x1d9)](_0x3b3bcf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a5a28=_0xdda2;(function(_0x4b9e82,_0x38c19f){const _0x8992aa=_0xdda2,_0x1f7005=_0x4b9e82();while(!![]){try{const _0x567749=parseInt(_0x8992aa(0x1a5))/0x1*(parseInt(_0x8992aa(0x1a6))/0x2)+-parseInt(_0x8992aa(0x191))/0x3*(-parseInt(_0x8992aa(0x194))/0x4)+parseInt(_0x8992aa(0x1bf))/0x5*(-parseInt(_0x8992aa(0x1a1))/0x6)+parseInt(_0x8992aa(0x1bc))/0x7+-parseInt(_0x8992aa(0x19d))/0x8+parseInt(_0x8992aa(0x1a8))/0x9*(-parseInt(_0x8992aa(0x1ad))/0xa)+parseInt(_0x8992aa(0x19c))/0xb*(parseInt(_0x8992aa(0x19a))/0xc);if(_0x567749===_0x38c19f)break;else _0x1f7005['push'](_0x1f7005['shift']());}catch(_0x11b405){_0x1f7005['push'](_0x1f7005['shift']());}}}(_0xa189,0xc89e1));import{Command as _0x23fa1d}from'ckeditor5/src/core.js';import{uid as _0xa810b2,CKEditorError as _0x30b0ab}from'ckeditor5/src/utils.js';function _0xdda2(_0x178cff,_0x13d126){const _0xa1895=_0xa189();return _0xdda2=function(_0xdda2b9,_0x6013f0){_0xdda2b9=_0xdda2b9-0x190;let _0x46665c=_0xa1895[_0xdda2b9];return _0x46665c;},_0xdda2(_0x178cff,_0x13d126);}export class AddCommentThreadCommand extends _0x23fa1d{constructor(_0x977613){const _0x5408e0=_0xdda2;super(_0x977613),this[_0x5408e0(0x19b)](_0x5408e0(0x1aa),!0x1);}[_0x2a5a28(0x195)](){const _0x351d8b=_0x2a5a28,_0x20950e=this[_0x351d8b(0x1af)][_0x351d8b(0x1c3)][_0x351d8b(0x1ae)][_0x351d8b(0x1c1)];this[_0x351d8b(0x1a3)]=!0x0,this[_0x351d8b(0x1aa)]=!0x1;for(const _0x252e56 of _0x20950e[_0x351d8b(0x1b8)]())if(this[_0x351d8b(0x1c4)](_0x252e56))return void(this[_0x351d8b(0x1aa)]=!0x0);}[_0x2a5a28(0x19f)]({threadId:_0x570056=_0xa810b2(),ranges:_0x265992,comment:_0x236017}={}){const _0x4a97aa=_0x2a5a28,_0xc608e9=this[_0x4a97aa(0x1af)][_0x4a97aa(0x1c3)],_0x2be510=_0x265992??Array[_0x4a97aa(0x1b7)](_0xc608e9[_0x4a97aa(0x1ae)][_0x4a97aa(0x1c1)][_0x4a97aa(0x1b8)]()),_0x20d145=[];for(const _0x38d222 of _0x2be510)this[_0x4a97aa(0x1c4)](_0x38d222)&&_0x20d145[_0x4a97aa(0x1bb)](this[_0x4a97aa(0x1b4)](_0x38d222));if(!_0x20d145[_0x4a97aa(0x198)])throw new _0x30b0ab(_0x4a97aa(0x1b5),null);_0x236017&&this[_0x4a97aa(0x1a0)](_0x570056,_0x236017),this[_0x4a97aa(0x1c5)](_0x570056,_0x20d145,!!_0x236017);}[_0x2a5a28(0x1c5)](_0x45e593,_0x95b90c,_0x5aefa4){const _0x3079de=_0x2a5a28;this[_0x3079de(0x1af)][_0x3079de(0x1c3)][_0x3079de(0x199)](_0x2f6a2c=>{const _0x45dd3b=_0x3079de;for(const _0x41b753 of _0x95b90c){const _0x16a3a5=_0xa810b2()[_0x45dd3b(0x1b9)](0x1,0x5),_0xcb02b6=_0x45dd3b(0x197)+_0x45e593+':'+_0x16a3a5;_0x2f6a2c[_0x45dd3b(0x193)](_0xcb02b6,{'range':_0x41b753,'usingOperation':_0x5aefa4,'affectsData':_0x5aefa4});}});}[_0x2a5a28(0x1a0)](_0x16dc8a,_0x26ced8){const _0x278606=_0x2a5a28,_0x5bb56b=this[_0x278606(0x1af)][_0x278606(0x196)][_0x278606(0x1a4)](_0x278606(0x1be)),_0xbc357a=this[_0x278606(0x1af)][_0x278606(0x192)][_0x278606(0x1a4)](_0x278606(0x190)),_0x25288c=this[_0x278606(0x1af)][_0x278606(0x196)][_0x278606(0x1a4)](_0x278606(0x1b1))['me'];if(!_0x25288c)throw new _0x30b0ab(_0x278606(0x1bd),null);_0x5bb56b[_0x278606(0x1ab)]({'threadId':_0x16dc8a,'channelId':_0xbc357a,'comments':[{'authorId':_0x25288c['id'],'content':_0x26ced8,'createdAt':new Date(),'attributes':{}}]});}[_0x2a5a28(0x1c4)](_0x3eb54a){const _0x5c3572=_0x2a5a28;for(const _0x21510a of _0x3eb54a[_0x5c3572(0x1b0)]())if(this[_0x5c3572(0x1a9)](_0x21510a))return!0x0;return!0x1;}[_0x2a5a28(0x1a9)](_0x3a022e){const _0x432c08=_0x2a5a28;return _0x3a022e['is'](_0x432c08(0x1b6))||this[_0x432c08(0x1af)][_0x432c08(0x1c3)][_0x432c08(0x1c6)][_0x432c08(0x1a2)](_0x3a022e)&&!_0x3a022e['is'](_0x432c08(0x1ac),_0x432c08(0x1c0));}[_0x2a5a28(0x1b4)](_0xa944f2){const _0x58e7b4=_0x2a5a28,_0x4ba793=_0x3dc956=>!this[_0x58e7b4(0x1a9)](_0x3dc956[_0x58e7b4(0x1c2)]),_0x1fffd4=_0xa944f2[_0x58e7b4(0x1ba)][_0x58e7b4(0x1b3)](_0x4ba793),_0x2df884=_0xa944f2[_0x58e7b4(0x1b2)][_0x58e7b4(0x1b3)](_0x4ba793,{'direction':_0x58e7b4(0x1a7)});return this[_0x58e7b4(0x1af)][_0x58e7b4(0x1c3)][_0x58e7b4(0x19e)](_0x1fffd4,_0x2df884);}}function _0xa189(){const _0x53bcd1=['getRanges','substr','start','push','6394080aJoIkw','addcommentthreadcommand-user-not-found','CommentsRepository','11315GDIOGK','tableCell','selection','item','model','_hasContent','_createMarkersFromRanges','schema','collaboration.channelId','56859kEpnsl','config','addMarker','32RUOGMf','refresh','plugins','comment:','length','change','72INHZhJ','set','2846217DDNLha','10907080uXznIX','createRange','execute','_createCommentThread','270XXnPwX','isObject','isEnabled','get','8NIVuTd','80942ltZxJX','backward','45NooWWQ','_itemIsContent','hasContent','addCommentThread','element','1308730JPsbrx','document','editor','getItems','Users','end','getLastMatchingPosition','_trimToContent','addcommentthreadcommand-incorrect-ranges','$textProxy','from'];_0xa189=function(){return _0x53bcd1;};return _0xa189();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x42a82d=_0x4dd6;(function(_0x2a5374,_0x3123d2){const _0x990133=_0x4dd6,_0x431be2=_0x2a5374();while(!![]){try{const _0x2f6f89=parseInt(_0x990133(0x1aa))/0x1+-parseInt(_0x990133(0x1ae))/0x2+-parseInt(_0x990133(0x1b2))/0x3*(-parseInt(_0x990133(0x1ba))/0x4)+-parseInt(_0x990133(0x1bb))/0x5*(parseInt(_0x990133(0x1b5))/0x6)+-parseInt(_0x990133(0x1c2))/0x7+-parseInt(_0x990133(0x1c9))/0x8+parseInt(_0x990133(0x1c1))/0x9;if(_0x2f6f89===_0x3123d2)break;else _0x431be2['push'](_0x431be2['shift']());}catch(_0x16765e){_0x431be2['push'](_0x431be2['shift']());}}}(_0xfd1b,0x6b2d1));function _0xfd1b(){const _0x3158b6=['requires','activate','isVisible','5675144LrrHfL','get','has','archivedAt','_calculatePosition','collection','pluginName','202993MwLzgk','remove','isOfficialPlugin','change:archivedAt','1624230pMYfft','length','addCommentThread','listenTo','26673fNCzpp','plugins','removeCommentThread','161394TGneRH','isPremiumPlugin','CommentsArchive','stopListening','getCommentThread','116IZoZDp','105ysRDVN','context','archivedThreads','findIndex','isActive','add','18987732flsOxd','316400oSXrRS','highest','focus','init'];_0xfd1b=function(){return _0x3158b6;};return _0xfd1b();}import{ContextPlugin as _0x491b1e}from'ckeditor5/src/core.js';import{Collection as _0x104daa}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x21fa87}from'./commentsrepository.js';import{Annotations as _0x38e3e1}from'../annotations/annotations.js';function _0x4dd6(_0x3ca474,_0x2c0dcf){const _0xfd1bf5=_0xfd1b();return _0x4dd6=function(_0x4dd631,_0x2d6fc1){_0x4dd631=_0x4dd631-0x1a9;let _0x423090=_0xfd1bf5[_0x4dd631];return _0x423090;},_0x4dd6(_0x3ca474,_0x2c0dcf);}export class CommentsArchive extends _0x491b1e{static get[_0x42a82d(0x1a9)](){const _0x24ac33=_0x42a82d;return _0x24ac33(0x1b7);}static get[_0x42a82d(0x1ac)](){return!0x0;}static get[_0x42a82d(0x1b6)](){return!0x0;}static get[_0x42a82d(0x1c6)](){return[_0x21fa87,_0x38e3e1];}constructor(_0x1fae56){const _0x1a586a=_0x42a82d;super(_0x1fae56),this[_0x1a586a(0x1bd)]=new _0x104daa();}[_0x42a82d(0x1c5)](){const _0xaac6b1=_0x42a82d,_0x1ddefd=this[_0xaac6b1(0x1bc)],_0x15448c=_0x1ddefd[_0xaac6b1(0x1b3)][_0xaac6b1(0x1ca)](_0x21fa87),_0xb24e4f=_0x1ddefd[_0xaac6b1(0x1b3)][_0xaac6b1(0x1ca)](_0x38e3e1);this[_0xaac6b1(0x1b1)](_0x15448c,_0xaac6b1(0x1b0),(_0x20752b,{threadId:_0x3e2c09})=>{const _0x1951c1=_0xaac6b1,_0x35f0a1=_0x15448c[_0x1951c1(0x1b9)](_0x3e2c09);_0x35f0a1[_0x1951c1(0x1cc)]&&this[_0x1951c1(0x1bd)][_0x1951c1(0x1c0)](_0x35f0a1,this[_0x1951c1(0x1cd)](_0x35f0a1[_0x1951c1(0x1cc)])),this[_0x1951c1(0x1b1)](_0x35f0a1,_0x1951c1(0x1ad),(_0x21aafa,_0x27ee09,_0x10fcc5)=>{const _0x41a0c6=_0x1951c1;_0x10fcc5?this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1cb)](_0x35f0a1)||this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1c0)](_0x35f0a1,this[_0x41a0c6(0x1cd)](_0x35f0a1[_0x41a0c6(0x1cc)])):this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1cb)](_0x35f0a1)&&this[_0x41a0c6(0x1bd)][_0x41a0c6(0x1ab)](_0x35f0a1);});}),this[_0xaac6b1(0x1b1)](_0x15448c,_0xaac6b1(0x1b4),(_0x4ddbdc,{threadId:_0x1bcf36})=>{const _0x3f045a=_0xaac6b1,_0x3a44b4=_0x15448c[_0x3f045a(0x1b9)](_0x1bcf36);this[_0x3f045a(0x1b8)](_0x3a44b4),this[_0x3f045a(0x1bd)][_0x3f045a(0x1cb)](_0x3a44b4)&&this[_0x3f045a(0x1bd)][_0x3f045a(0x1ab)](_0x3a44b4);},{'priority':_0xaac6b1(0x1c3)}),this[_0xaac6b1(0x1b1)](_0xb24e4f[_0xaac6b1(0x1ce)],_0xaac6b1(0x1c4),(_0x2490af,_0x1d3c08)=>{const _0x2d7c46=_0xaac6b1;_0x1d3c08[_0x2d7c46(0x1c8)]||(_0x1d3c08[_0x2d7c46(0x1bf)]=!0x0,_0xb24e4f[_0x2d7c46(0x1c7)](_0x1d3c08));});}[_0x42a82d(0x1cd)](_0x1bfc22){const _0x32a21e=_0x42a82d,_0x1539a9=[...this[_0x32a21e(0x1bd)]][_0x32a21e(0x1be)](_0x4ebe51=>_0x4ebe51[_0x32a21e(0x1cc)]<_0x1bfc22);return _0x1539a9>-0x1?_0x1539a9:this[_0x32a21e(0x1bd)][_0x32a21e(0x1af)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c508d=_0x2b81;function _0x4c56(){const _0x593923=['collaboration.channelId','hide','filter','locale','_threadToController','remove','commentsArchive','findIndex','execute','isEnabled','escape','CommentsRepository','includes','push','innerView','commentsArchiveView','17434550zJiOzF','listenTo','length','_addAnnotationToArchive','init','config','isVisible','collection','focusableElements','_hideDialogOnAnnotationEscape','editor','show','stop','isOn','menuitemcheckbox','indexOf','CommentsArchiveUI','splice','archivedAt','bind','annotationViews','786TbqLLb','EDITOR_TOP_SIDE','plugins','componentFactory','get','pluginName','add','355ioxVGR','archivedThreads','_visibleAnnotations','26719MLRDoX','find','requires','_toggleDialog','return','getByInnerView','850821PXYoNz','9eVTrMB','channelId','set:isVisible','stopListening','forEach','Annotations','isOfficialPlugin','_calculatePosition','tooltip','7745304ORAbvh','3872evDdHD','546114Dijsys','_createCommentsArchiveButton','menuBar:commentsArchive','isOpen','Dialog','set','COMMENTS_ARCHIVE','_pendingThreads','has','source','isPremiumPlugin','view','_handleNewThread','2988783NhixlP'];_0x4c56=function(){return _0x593923;};return _0x4c56();}(function(_0x40b966,_0x5c9749){const _0x4dd3df=_0x2b81,_0x3e1f95=_0x40b966();while(!![]){try{const _0x3dc36b=parseInt(_0x4dd3df(0x1f4))/0x1+-parseInt(_0x4dd3df(0x200))/0x2*(parseInt(_0x4dd3df(0x1f5))/0x3)+-parseInt(_0x4dd3df(0x1ff))/0x4*(parseInt(_0x4dd3df(0x1eb))/0x5)+-parseInt(_0x4dd3df(0x233))/0x6*(parseInt(_0x4dd3df(0x1ee))/0x7)+-parseInt(_0x4dd3df(0x1fe))/0x8+parseInt(_0x4dd3df(0x20d))/0x9+parseInt(_0x4dd3df(0x21e))/0xa;if(_0x3dc36b===_0x5c9749)break;else _0x3e1f95['push'](_0x3e1f95['shift']());}catch(_0x368976){_0x3e1f95['push'](_0x3e1f95['shift']());}}}(_0x4c56,0x8b3a2));import'../../theme/commentsarchive.css';import{Plugin as _0x5de079}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x3c24a1}from'ckeditor5/src/icons.js';function _0x2b81(_0x391594,_0x1f4dff){const _0x4c5617=_0x4c56();return _0x2b81=function(_0x2b8145,_0x377299){_0x2b8145=_0x2b8145-0x1e8;let _0x214596=_0x4c5617[_0x2b8145];return _0x214596;},_0x2b81(_0x391594,_0x1f4dff);}import{ViewCollection as _0x29b045,MenuBarMenuListItemButtonView as _0x530bea,ButtonView as _0x1a2dc4,Dialog as _0x3b4a56,DialogViewPosition as _0x54bf48}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a5c55}from'../utils/common-translations.js';import{CommentsArchiveView as _0x586ff6}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x12c6b7}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x5de079{[_0x2c508d(0x21d)];[_0x2c508d(0x232)];[_0x2c508d(0x207)];static get[_0x2c508d(0x1e9)](){const _0xed00bc=_0x2c508d;return _0xed00bc(0x22e);}static get[_0x2c508d(0x1fb)](){return!0x0;}static get[_0x2c508d(0x20a)](){return!0x0;}static get[_0x2c508d(0x1f0)](){return[_0x12c6b7,_0x3b4a56];}constructor(_0x5de349){const _0x3c9307=_0x2c508d;super(_0x5de349),this[_0x3c9307(0x232)]=new _0x29b045(),this[_0x3c9307(0x207)]=[];}[_0x2c508d(0x222)](){const _0x238e95=_0x2c508d,_0x10a62c=this[_0x238e95(0x228)],_0x539c80=this[_0x238e95(0x227)][_0x238e95(0x231)](this);_0x10a62c['ui'][_0x238e95(0x236)][_0x238e95(0x1ea)](_0x238e95(0x214),()=>this[_0x238e95(0x201)](_0x1a2dc4,!0x0)),_0x10a62c['ui'][_0x238e95(0x236)][_0x238e95(0x1ea)](_0x238e95(0x202),()=>{const _0x1a3967=_0x238e95,_0x12f56a=this[_0x1a3967(0x201)](_0x530bea);return _0x12f56a[_0x1a3967(0x205)]({'role':_0x1a3967(0x22c)}),_0x12f56a;});const _0x966c4a=_0x10a62c[_0x238e95(0x235)][_0x238e95(0x1e8)](_0x12c6b7),_0x33cd38=_0x10a62c[_0x238e95(0x235)][_0x238e95(0x1e8)](_0x238e95(0x1fa)),_0x1500e9=_0x10a62c[_0x238e95(0x235)][_0x238e95(0x1e8)](_0x238e95(0x219));_0x966c4a[_0x238e95(0x1ec)][_0x238e95(0x1f9)](_0x45614d=>{const _0x578eed=_0x238e95;this[_0x578eed(0x20c)](_0x45614d);}),this[_0x238e95(0x21f)](_0x966c4a[_0x238e95(0x1ec)],_0x238e95(0x1ea),(_0x5c02c3,_0x2c3762)=>{const _0x4b606a=_0x238e95;this[_0x4b606a(0x20c)](_0x2c3762);}),this[_0x238e95(0x21f)](_0x33cd38[_0x238e95(0x225)],_0x238e95(0x1ea),(_0x215390,_0x549d15)=>{const _0x1d5e98=_0x238e95,_0x25bb73=this[_0x1d5e98(0x207)][_0x1d5e98(0x1ef)](_0x2bbda8=>{const _0x4aa12c=_0x1d5e98,_0x3ca2e5=_0x1500e9[_0x4aa12c(0x212)][_0x4aa12c(0x1e8)](_0x2bbda8);return _0x3ca2e5&&_0x549d15[_0x4aa12c(0x21c)]===_0x3ca2e5[_0x4aa12c(0x20b)];});if(_0x25bb73){const _0x5438dc=this[_0x1d5e98(0x1fc)](_0x25bb73[_0x1d5e98(0x230)]);this[_0x1d5e98(0x221)](_0x549d15,_0x5438dc),this[_0x1d5e98(0x207)][_0x1d5e98(0x22f)](this[_0x1d5e98(0x207)][_0x1d5e98(0x22d)](_0x25bb73),0x1);}}),this[_0x238e95(0x21f)](_0x966c4a[_0x238e95(0x1ec)],_0x238e95(0x213),(_0x5974c4,_0x23ac8b)=>{const _0x2ea6aa=_0x238e95,_0x41c7cc=_0x10a62c[_0x2ea6aa(0x223)][_0x2ea6aa(0x1e8)](_0x2ea6aa(0x20e));if(!_0x41c7cc||_0x23ac8b[_0x2ea6aa(0x1f6)]===_0x41c7cc){if(this[_0x2ea6aa(0x207)][_0x2ea6aa(0x21a)](_0x23ac8b))this[_0x2ea6aa(0x207)][_0x2ea6aa(0x22f)](this[_0x2ea6aa(0x207)][_0x2ea6aa(0x22d)](_0x23ac8b),0x1);else{const _0x1d0ac9=_0x1500e9[_0x2ea6aa(0x212)][_0x2ea6aa(0x1e8)](_0x23ac8b),_0x2cd46f=_0x33cd38[_0x2ea6aa(0x1f3)](_0x1d0ac9[_0x2ea6aa(0x20b)]);this[_0x2ea6aa(0x232)][_0x2ea6aa(0x213)](_0x2cd46f[_0x2ea6aa(0x20b)]),this[_0x2ea6aa(0x1f8)](_0x2cd46f),this[_0x2ea6aa(0x1f8)](_0x2cd46f[_0x2ea6aa(0x226)]);}}}),this[_0x238e95(0x21f)](_0x33cd38[_0x238e95(0x225)],_0x238e95(0x1ea),(_0xbc0429,_0x75283d)=>{const _0x16dc97=_0x238e95;this[_0x16dc97(0x21f)](_0x75283d,_0x16dc97(0x218),_0x539c80);}),this[_0x238e95(0x21f)](_0x33cd38[_0x238e95(0x225)],_0x238e95(0x213),(_0x20cbe0,_0x297d13)=>{const _0x293857=_0x238e95;this[_0x293857(0x1f8)](_0x297d13,_0x293857(0x218),_0x539c80);});}[_0x2c508d(0x221)](_0x4c6331,_0x1cbf2d){const _0x35e36f=_0x2c508d;this[_0x35e36f(0x21f)](_0x4c6331,_0x35e36f(0x1f7),_0x55c0cf=>{const _0x31b0e6=_0x35e36f;_0x55c0cf[_0x31b0e6(0x1f2)]=!0x1,_0x55c0cf[_0x31b0e6(0x22a)]();}),this[_0x35e36f(0x232)][_0x35e36f(0x1ea)](_0x4c6331[_0x35e36f(0x20b)],_0x1cbf2d);}[_0x2c508d(0x20c)](_0xf4b0ae){const _0x46fcdf=_0x2c508d,_0x21320f=this[_0x46fcdf(0x228)][_0x46fcdf(0x235)][_0x46fcdf(0x1e8)](_0x46fcdf(0x219)),_0x1a8daf=this[_0x46fcdf(0x228)][_0x46fcdf(0x235)][_0x46fcdf(0x1e8)](_0x46fcdf(0x1fa)),_0x485b28=this[_0x46fcdf(0x228)][_0x46fcdf(0x223)][_0x46fcdf(0x1e8)](_0x46fcdf(0x20e));if(!_0x485b28||_0xf4b0ae[_0x46fcdf(0x1f6)]===_0x485b28){const _0x49617a=_0x21320f[_0x46fcdf(0x212)][_0x46fcdf(0x1e8)](_0xf4b0ae);if(!_0x49617a)return void this[_0x46fcdf(0x207)][_0x46fcdf(0x21b)](_0xf4b0ae);const _0x7c76e4=this[_0x46fcdf(0x1fc)](_0xf4b0ae[_0x46fcdf(0x230)]),_0x134491=_0x1a8daf[_0x46fcdf(0x1f3)](_0x49617a[_0x46fcdf(0x20b)]);_0x134491[_0x46fcdf(0x224)]&&_0x1a8daf[_0x46fcdf(0x1ed)][_0x46fcdf(0x213)](_0x134491),this[_0x46fcdf(0x221)](_0x134491,_0x7c76e4);}}[_0x2c508d(0x1fc)](_0x17d873){const _0x40cc74=_0x2c508d,_0x13dce6=this[_0x40cc74(0x228)][_0x40cc74(0x223)][_0x40cc74(0x1e8)](_0x40cc74(0x20e)),_0x57d8f4=[...this[_0x40cc74(0x228)][_0x40cc74(0x235)][_0x40cc74(0x1e8)](_0x12c6b7)[_0x40cc74(0x1ec)]][_0x40cc74(0x210)](_0x59e441=>_0x59e441[_0x40cc74(0x1f6)]===_0x13dce6)[_0x40cc74(0x215)](_0x1a7738=>_0x1a7738[_0x40cc74(0x230)]<_0x17d873);return _0x57d8f4<0x0||_0x57d8f4>this[_0x40cc74(0x232)][_0x40cc74(0x220)]?this[_0x40cc74(0x232)][_0x40cc74(0x220)]:_0x57d8f4-0x1;}[_0x2c508d(0x1f1)](){const _0x5b33da=_0x2c508d,_0x53213c=this[_0x5b33da(0x228)],_0x145e5e=_0x53213c[_0x5b33da(0x235)][_0x5b33da(0x1e8)](_0x5b33da(0x204));this[_0x5b33da(0x21d)]||(this[_0x5b33da(0x21d)]=new _0x586ff6(_0x53213c[_0x5b33da(0x211)],this[_0x5b33da(0x232)])),_0x5b33da(0x214)===_0x145e5e['id']?_0x145e5e[_0x5b33da(0x20f)]():_0x145e5e[_0x5b33da(0x229)]({'id':_0x5b33da(0x214),'title':_0x4a5c55(_0x53213c[_0x5b33da(0x211)],_0x5b33da(0x206)),'icon':_0x3c24a1,'hasCloseButton':!0x0,'content':this[_0x5b33da(0x21d)],'position':_0x54bf48[_0x5b33da(0x234)]});}[_0x2c508d(0x201)](_0x40f459,_0x411f96=!0x1){const _0x5ec268=_0x2c508d,_0x2b7a21=this[_0x5ec268(0x228)][_0x5ec268(0x211)],_0x489374=this[_0x5ec268(0x228)][_0x5ec268(0x235)][_0x5ec268(0x1e8)](_0x5ec268(0x204)),_0x2e8a30=new _0x40f459(_0x2b7a21);return _0x2e8a30[_0x5ec268(0x231)](_0x5ec268(0x217))['to'](this,_0x5ec268(0x217)),_0x2e8a30[_0x5ec268(0x231)](_0x5ec268(0x22b))['to'](_0x489374,'id',_0x337342=>_0x5ec268(0x214)===_0x337342),_0x2e8a30[_0x5ec268(0x205)]({'label':_0x4a5c55(_0x2b7a21,_0x5ec268(0x206)),'icon':_0x3c24a1,'isToggleable':!0x0}),_0x411f96&&(_0x2e8a30[_0x5ec268(0x1fd)]=!0x0),this[_0x5ec268(0x21f)](_0x2e8a30,_0x5ec268(0x216),()=>this[_0x5ec268(0x1f1)]()),_0x2e8a30;}[_0x2c508d(0x227)]=_0x202005=>{const _0x1e8148=_0x2c508d,_0x14d1a1=_0x202005[_0x1e8148(0x209)];if(!this[_0x1e8148(0x232)][_0x1e8148(0x208)](_0x14d1a1[_0x1e8148(0x20b)]))return;const _0x25afeb=this[_0x1e8148(0x228)][_0x1e8148(0x235)][_0x1e8148(0x1e8)](_0x1e8148(0x204));_0x25afeb[_0x1e8148(0x203)]&&_0x1e8148(0x214)===_0x25afeb['id']&&(_0x25afeb[_0x1e8148(0x20f)](),_0x202005[_0x1e8148(0x22a)]());};}
|