@ckeditor/ckeditor5-comments 47.0.0-alpha.0 → 47.0.0-alpha.2
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 _0x688a56=_0x7468;(function(_0x20dbab,_0x47af4a){const _0x30e779=_0x7468,_0x1f97cd=_0x20dbab();while(!![]){try{const _0x196a66=-parseInt(_0x30e779(0xa4))/0x1*(-parseInt(_0x30e779(0xcd))/0x2)+-parseInt(_0x30e779(0x99))/0x3+parseInt(_0x30e779(0x8a))/0x4*(-parseInt(_0x30e779(0x97))/0x5)+parseInt(_0x30e779(0xab))/0x6*(-parseInt(_0x30e779(0xb5))/0x7)+parseInt(_0x30e779(0x8c))/0x8+-parseInt(_0x30e779(0xad))/0x9*(parseInt(_0x30e779(0xb7))/0xa)+-parseInt(_0x30e779(0xa0))/0xb*(-parseInt(_0x30e779(0x90))/0xc);if(_0x196a66===_0x47af4a)break;else _0x1f97cd['push'](_0x1f97cd['shift']());}catch(_0x2ae6fc){_0x1f97cd['push'](_0x1f97cd['shift']());}}}(_0x54ae,0x80770));import{ContextPlugin as _0x43fd27}from'ckeditor5/src/core.js';import{Rect as _0x4b6995,CKEditorError as _0xf726a3}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x1b2e4f}from'./view/sidebarview.js';function _0x7468(_0x565128,_0x12de10){const _0x54ae20=_0x54ae();return _0x7468=function(_0x746851,_0x4081c0){_0x746851=_0x746851-0x7b;let _0x44725e=_0x54ae20[_0x746851];return _0x44725e;},_0x7468(_0x565128,_0x12de10);}import{AnnotationsSidebarItemView as _0x50f9f2}from'./view/sidebaritemview.js';export class Sidebar extends _0x43fd27{[_0x688a56(0x83)];[_0x688a56(0x92)];[_0x688a56(0xd7)];[_0x688a56(0xb8)];[_0x688a56(0xd5)];[_0x688a56(0xbd)];[_0x688a56(0xc8)];static get[_0x688a56(0xc7)](){const _0x8602ea=_0x688a56;return _0x8602ea(0xa8);}static get[_0x688a56(0xb9)](){return!0x0;}static get[_0x688a56(0xc5)](){return!0x0;}constructor(_0x4220d6){const _0x13eae1=_0x688a56;super(_0x4220d6),this[_0x13eae1(0xac)](_0x13eae1(0xa7),void 0x0),this[_0x13eae1(0x83)]=this[_0x13eae1(0x8b)](),this[_0x13eae1(0xac)](_0x13eae1(0x7f),null),this[_0x13eae1(0xb8)]=0x19,this[_0x13eae1(0xd5)]=new Map(),this[_0x13eae1(0xbd)]=new Map(),this[_0x13eae1(0xa3)][_0x13eae1(0xbf)][_0x13eae1(0x98)](_0x13eae1(0xca),!0x1),this[_0x13eae1(0xd7)]=null,this[_0x13eae1(0x92)]=null,this[_0x13eae1(0xc8)]=[];}[_0x688a56(0xd3)](){const _0x286fbc=_0x688a56,_0x47dd41=this[_0x286fbc(0xa3)][_0x286fbc(0xbf)][_0x286fbc(0x82)](_0x286fbc(0x95));_0x47dd41&&this[_0x286fbc(0xb2)](_0x47dd41);}[_0x688a56(0xb2)](_0x3af3c6){const _0x3f22d9=_0x688a56;if(!g(_0x3af3c6))throw new _0xf726a3(_0x3f22d9(0xbe));this[_0x3f22d9(0x7f)]=_0x3af3c6;}[_0x688a56(0x8f)]({viewClass:_0x60a753='',spaceBetweenItems:_0x8bf8ea=0x19}={}){const _0x50dd39=_0x688a56;if(!g(this[_0x50dd39(0x7f)]))throw new _0xf726a3(_0x50dd39(0xa5),this);this[_0x50dd39(0x7f)][_0x50dd39(0xcc)](this[_0x50dd39(0x83)][_0x50dd39(0xaf)]),this[_0x50dd39(0x83)][_0x50dd39(0xaa)]=_0x60a753,this[_0x50dd39(0xb8)]=_0x8bf8ea;}[_0x688a56(0xd4)]({removedAnnotation:_0x574144,previousAnnotation:_0x3f0f60,nextAnnotation:_0x3fb07b}){const _0x1109f2=_0x688a56,_0x39f741=this[_0x1109f2(0xcf)](_0x574144);this[_0x1109f2(0x83)][_0x1109f2(0xd0)][_0x1109f2(0x7c)](_0x39f741),this[_0x1109f2(0x89)](_0x574144),_0x3f0f60&&this[_0x1109f2(0xb1)](this[_0x1109f2(0xcf)](_0x3f0f60)),_0x3fb07b&&this[_0x1109f2(0xb1)](this[_0x1109f2(0xcf)](_0x3fb07b)),this[_0x1109f2(0xb6)]();}[_0x688a56(0xa9)]({blurredAnnotation:_0x9b408,activatedAnnotation:_0x3357e9,disableAnimationOnActivatedAnnotation:_0x43b9a7}){const _0x6f920c=_0x688a56;if(this[_0x6f920c(0x92)]=_0x3357e9,_0x9b408){_0x9b408[_0x6f920c(0x93)]=!0x1;const _0x2b9bd9=this[_0x6f920c(0xcf)](_0x9b408);_0x2b9bd9&&_0x43b9a7&&(_0x2b9bd9[_0x6f920c(0xd2)]=!0x1);}if(_0x3357e9){const _0x558a83=this[_0x6f920c(0xcf)](_0x3357e9);_0x558a83&&(_0x3357e9[_0x6f920c(0x93)]=!0x0,_0x43b9a7&&(_0x558a83[_0x6f920c(0xd2)]=!0x0,_0x558a83[_0x6f920c(0xc3)]+=0x1),this[_0x6f920c(0xb1)](_0x558a83));}}[_0x688a56(0x9d)](_0x15283d){const _0x447246=_0x688a56;if(this[_0x447246(0x83)][_0x447246(0xaf)][_0x447246(0x7c)](),_0x15283d){for(const _0x21a67a of _0x15283d)this[_0x447246(0x89)](_0x21a67a);}this[_0x447246(0x83)][_0x447246(0xd0)][_0x447246(0xba)](),this[_0x447246(0x83)][_0x447246(0xaa)]='',this[_0x447246(0xa7)]=null;}[_0x688a56(0x86)](_0xdd6761,_0xa15ca0){const _0x1e742b=_0x688a56;_0xa15ca0||(_0xa15ca0=_0xdd6761[_0x1e742b(0x83)]);const _0x4b3397=new _0x50f9f2(this[_0x1e742b(0xa3)][_0x1e742b(0x91)]);this[_0x1e742b(0xd5)][_0x1e742b(0xac)](_0x4b3397,_0xdd6761),this[_0x1e742b(0xbd)][_0x1e742b(0xac)](_0xdd6761,_0x4b3397),_0x4b3397[_0x1e742b(0xcb)][_0x1e742b(0xc4)](_0xa15ca0),this[_0x1e742b(0x88)](_0xdd6761[_0x1e742b(0x83)],_0x1e742b(0xd6),(_0xfcbd67,_0x4462a5,_0x20220d)=>{const _0x9093b7=_0x1e742b,_0x524cd9=this[_0x9093b7(0x84)](_0xdd6761,_0x20220d);_0x4b3397[_0x9093b7(0xc1)]!=_0x524cd9&&(_0x4b3397[_0x9093b7(0xc1)]=_0x524cd9,this[_0x9093b7(0x8d)](_0x4b3397,_0x524cd9));}),this[_0x1e742b(0x88)](_0x4b3397,_0x1e742b(0xbb),()=>{const _0x333097=_0x1e742b;this[_0x333097(0x8e)](_0x4b3397,_0x333097(0xc3));}),this[_0x1e742b(0x88)](_0x4b3397,_0x1e742b(0x85),()=>{const _0x37e991=_0x1e742b;this[_0x37e991(0x8e)](_0x4b3397,_0x37e991(0x87));}),this[_0x1e742b(0xb1)](_0x4b3397);const _0x34de17=this[_0x1e742b(0x94)](_0x4b3397);if(_0x34de17)this[_0x1e742b(0x9e)](_0x34de17,_0x4b3397)||this[_0x1e742b(0xb1)](_0x4b3397);else this[_0x1e742b(0xb1)](_0x4b3397);return this[_0x1e742b(0xb6)](),this[_0x1e742b(0x83)][_0x1e742b(0xd0)][_0x1e742b(0xc4)](_0x4b3397),_0x4b3397;}[_0x688a56(0x81)](_0x3ef50f){const _0x3e39c7=_0x688a56;if(!_0x3ef50f[_0x3e39c7(0xcb)][_0x3e39c7(0xc6)])return;const _0x164356=this[_0x3e39c7(0x94)](_0x3ef50f);if(!_0x164356)return;const _0x2b7f4e=this[_0x3e39c7(0xd5)][_0x3e39c7(0x82)](_0x164356),_0x39c076=this[_0x3e39c7(0x92)];_0x39c076&&_0x39c076===_0x2b7f4e?this[_0x3e39c7(0x9e)](_0x164356,_0x3ef50f):this[_0x3e39c7(0xb3)](_0x3ef50f,_0x164356);}[_0x688a56(0xc9)](_0x894073){const _0x23c43d=_0x688a56;if(!_0x894073[_0x23c43d(0xcb)][_0x23c43d(0xc6)])return;const _0x541c23=this[_0x23c43d(0x80)](_0x894073);if(!_0x541c23)return;const _0x1d1ebe=this[_0x23c43d(0xd5)][_0x23c43d(0x82)](_0x541c23),_0x134b93=this[_0x23c43d(0xa3)][_0x23c43d(0xbf)][_0x23c43d(0x82)](_0x23c43d(0xca)),_0x21ba26=this[_0x23c43d(0x92)];_0x21ba26&&_0x21ba26===_0x1d1ebe&&_0x134b93?(this[_0x23c43d(0xb3)](_0x541c23,_0x894073),this[_0x23c43d(0x9e)](_0x894073,_0x541c23)):_0x21ba26&&_0x21ba26===_0x1d1ebe?this[_0x23c43d(0xb3)](_0x541c23,_0x894073):this[_0x23c43d(0x9e)](_0x894073,_0x541c23);}[_0x688a56(0x8e)](_0x365159,_0x3307a9){const _0xf95750=_0x688a56;0x0===this[_0xf95750(0xc8)][_0xf95750(0xc6)]&&setTimeout(()=>{const _0x30c0e6=_0xf95750;for(const {sidebarItemView:_0x2232aa,changedProp:_0x161908}of this[_0x30c0e6(0xc8)])_0x30c0e6(0xc3)===_0x161908?this[_0x30c0e6(0x81)](_0x2232aa):this[_0x30c0e6(0xc9)](_0x2232aa);this[_0x30c0e6(0xc8)]=[];},0xa),this[_0xf95750(0xc8)][_0xf95750(0xa1)]({'sidebarItemView':_0x365159,'changedProp':_0x3307a9});}[_0x688a56(0xcf)](_0x497fb0){const _0x5483d7=_0x688a56;return this[_0x5483d7(0xbd)][_0x5483d7(0x82)](_0x497fb0);}[_0x688a56(0xbc)](){const _0x20c0e3=_0x688a56;this[_0x20c0e3(0x96)](),this[_0x20c0e3(0x83)][_0x20c0e3(0xbc)]();}[_0x688a56(0x89)](_0x4a7990){const _0x23e0cc=_0x688a56,_0x5a40d3=this[_0x23e0cc(0xcf)](_0x4a7990);this[_0x23e0cc(0x96)](_0x5a40d3),this[_0x23e0cc(0x96)](_0x4a7990[_0x23e0cc(0x83)]),_0x5a40d3[_0x23e0cc(0xbc)](),this[_0x23e0cc(0xbd)][_0x23e0cc(0x9a)](_0x4a7990),this[_0x23e0cc(0xd5)][_0x23e0cc(0x9a)](_0x5a40d3);}[_0x688a56(0x8b)](){const _0x142405=_0x688a56,_0x54a3e2=new _0x1b2e4f(this[_0x142405(0xa3)][_0x142405(0x91)]);return _0x54a3e2[_0x142405(0xce)](),this['on'](_0x142405(0x9c),(_0x2544db,_0x12c743,_0x4772dd,_0xdafd02)=>{const _0x4f2c0b=_0x142405;_0xdafd02&&_0x54a3e2[_0x4f2c0b(0xc2)](_0x4f2c0b(0xae)),_0x4772dd?_0x54a3e2[_0x4f2c0b(0x7b)](_0x4f2c0b(0xae))['to'](_0x4772dd,_0x4f2c0b(0x87)):_0x54a3e2[_0x4f2c0b(0xae)]=null;}),_0x54a3e2;}[_0x688a56(0xb6)](){const _0x3fdc60=_0x688a56;this[_0x3fdc60(0xa7)]=this[_0x3fdc60(0xd7)]?.[_0x3fdc60(0x9b)]?this[_0x3fdc60(0xcf)](this[_0x3fdc60(0xd7)][_0x3fdc60(0x9b)]):null;}[_0x688a56(0x94)](_0xc3845a){const _0x40310b=_0x688a56,_0x602c3=this[_0x40310b(0xd5)][_0x40310b(0x82)](_0xc3845a),_0x438f44=_0x602c3&&this[_0x40310b(0xd7)]?.[_0x40310b(0x82)](this[_0x40310b(0xd7)][_0x40310b(0xa6)](_0x602c3)-0x1);return _0x438f44&&this[_0x40310b(0xcf)](_0x438f44)||null;}[_0x688a56(0x80)](_0xe742a6){const _0x4f3743=_0x688a56,_0x2d104f=this[_0x4f3743(0xd5)][_0x4f3743(0x82)](_0xe742a6),_0x1410df=_0x2d104f&&this[_0x4f3743(0xd7)]?.[_0x4f3743(0x82)](this[_0x4f3743(0xd7)][_0x4f3743(0xa6)](_0x2d104f)+0x1);return _0x1410df&&this[_0x4f3743(0xcf)](_0x1410df)||null;}[_0x688a56(0xb3)](_0x40a1cb,_0x7a6c85){const _0x4b2262=_0x688a56;_0x40a1cb[_0x4b2262(0x7e)]();const _0x54d740=G(_0x7a6c85[_0x4b2262(0x87)]+this[_0x4b2262(0xb8)],_0x40a1cb[_0x4b2262(0xc3)]);return!!_0x54d740&&(this[_0x4b2262(0x8d)](_0x7a6c85,_0x7a6c85[_0x4b2262(0xc3)]-_0x54d740),!0x0);}[_0x688a56(0x9e)](_0x5f35ef,_0x2804a7){const _0x192474=_0x688a56;_0x5f35ef[_0x192474(0x7e)]();const _0x5cf991=G(_0x5f35ef[_0x192474(0x87)]+this[_0x192474(0xb8)],_0x2804a7[_0x192474(0xc3)]);return!!_0x5cf991&&(this[_0x192474(0x8d)](_0x2804a7,_0x2804a7[_0x192474(0xc3)]+_0x5cf991,!0x1),!0x0);}[_0x688a56(0xb1)](_0x21b7ef){const _0x281f2b=_0x688a56,_0x23796a=this[_0x281f2b(0xd5)][_0x281f2b(0x82)](_0x21b7ef);if(!_0x23796a||!_0x23796a[_0x281f2b(0x9f)]||!_0x23796a[_0x281f2b(0xd1)])return;const _0x5ae7c7=this[_0x281f2b(0x84)](_0x23796a,_0x23796a[_0x281f2b(0xd1)]);this[_0x281f2b(0x8d)](_0x21b7ef,_0x5ae7c7);}[_0x688a56(0x84)](_0x45d03e,_0x13e853){const _0x5a6b66=_0x688a56;if(null===_0x13e853)return 0x0;if(_0x45d03e[_0x5a6b66(0x9f)]instanceof _0x4b6995)return _0x13e853[_0x5a6b66(0xc3)];{const _0x4d831f=new _0x4b6995(this[_0x5a6b66(0x83)][_0x5a6b66(0xaf)])[_0x5a6b66(0xc3)];return _0x13e853[_0x5a6b66(0xc3)]-_0x4d831f;}}[_0x688a56(0x8d)](_0xe9f0fb,_0x18bf81,_0x429556=this[_0x688a56(0xa3)][_0x688a56(0xbf)][_0x688a56(0x82)](_0x688a56(0xca))){const _0x2bf38=_0x688a56;_0x429556&&(_0x18bf81=Math[_0x2bf38(0xb4)](_0x18bf81,this[_0x2bf38(0x7d)](_0xe9f0fb))),_0xe9f0fb[_0x2bf38(0xc3)]=_0x18bf81;}[_0x688a56(0x7d)](_0x3cd111){const _0x540777=_0x688a56;let _0x5bc9fc=this[_0x540777(0x94)](_0x3cd111),_0x5bed23=0x0;for(;_0x5bc9fc;)_0x5bc9fc[_0x540777(0x7e)](),_0x5bed23+=this[_0x540777(0xb8)]+_0x5bc9fc[_0x540777(0xa2)],_0x5bc9fc=this[_0x540777(0x94)](_0x5bc9fc);return _0x5bed23;}}function G(_0x490f9a,_0x3d8f25){const _0x5a8165=_0x688a56;return Math[_0x5a8165(0xb4)](_0x490f9a-_0x3d8f25,0x0);}function _0x54ae(){const _0x3e2df8=['_spaceBetweenItems','isOfficialPlugin','clear','change:top','destroy','_annotationToSidebarItemView','sidebar-setcontainer-invalid-element','config','nodeType','_targetTop','unbind','top','add','isPremiumPlugin','length','pluginName','_recalculateBuffer','_alignForBottomChange','sidebar.preventScrollOutOfView','content','appendChild','42ShbMTP','render','getSidebarItemView','list','targetRect','isAnimationDisabled','init','rearrange','_sidebarItemViewToAnnotation','change:targetRect','_annotations','bind','remove','_getMaxAvailableTop','updateHeight','container','_getItemAfter','_alignForTopChange','get','view','_getTargetTop','change:bottom','addAnnotation','bottom','listenTo','_destroySidebarItemView','20GcCBPe','_createSidebarView','7088064mhuMte','_setItemTop','_recalculate','_attachToContainer','51540GrklhR','locale','_activeAnnotation','isActive','_getItemBefore','sidebar.container','stopListening','127795qVPeOM','define','2176788UFjpxs','delete','last','change:_lastItem','_detachFromContainer','_alignAfterItem','target','4301vPcDcn','push','height','context','442EcBWcm','sidebar-attachtocontainer-missing-container','getIndex','_lastItem','Sidebar','refresh','class','643410ewWCoQ','set','9mYvdMX','minHeight','element','object','_alignToTargetRect','setContainer','_alignBeforeItem','max','63pySoog','_updateLastItem','2299370PQWjQR'];_0x54ae=function(){return _0x3e2df8;};return _0x54ae();}function g(_0x16a41c){const _0x7a6d34=_0x688a56;return null!==_0x16a41c&&_0x7a6d34(0xb0)==typeof _0x16a41c&&0x1===_0x16a41c[_0x7a6d34(0xc0)];}
|
|
23
|
+
const _0x3c4671=_0x1df8;(function(_0x565f7f,_0x55ec72){const _0x4afaf7=_0x1df8,_0x868005=_0x565f7f();while(!![]){try{const _0x856b05=parseInt(_0x4afaf7(0x13c))/0x1*(-parseInt(_0x4afaf7(0x115))/0x2)+-parseInt(_0x4afaf7(0x11d))/0x3*(-parseInt(_0x4afaf7(0x11a))/0x4)+parseInt(_0x4afaf7(0x125))/0x5+parseInt(_0x4afaf7(0xf6))/0x6*(parseInt(_0x4afaf7(0x13d))/0x7)+-parseInt(_0x4afaf7(0x12f))/0x8+parseInt(_0x4afaf7(0xf1))/0x9*(-parseInt(_0x4afaf7(0x136))/0xa)+-parseInt(_0x4afaf7(0x120))/0xb*(-parseInt(_0x4afaf7(0x108))/0xc);if(_0x856b05===_0x55ec72)break;else _0x868005['push'](_0x868005['shift']());}catch(_0x17d19d){_0x868005['push'](_0x868005['shift']());}}}(_0x5adf,0x583d4));import{ContextPlugin as _0x241812}from'ckeditor5/src/core.js';import{Rect as _0x3e4de6,CKEditorError as _0x4a591d}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2c44ae}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x138316}from'./view/sidebaritemview.js';export class Sidebar extends _0x241812{[_0x3c4671(0xf2)];[_0x3c4671(0x112)];[_0x3c4671(0x12d)];[_0x3c4671(0x124)];[_0x3c4671(0x111)];[_0x3c4671(0x138)];[_0x3c4671(0x122)];static get[_0x3c4671(0x126)](){const _0x27b5b7=_0x3c4671;return _0x27b5b7(0x117);}static get[_0x3c4671(0x116)](){return!0x0;}static get[_0x3c4671(0x143)](){return!0x0;}constructor(_0x1e4d50){const _0x4cec42=_0x3c4671;super(_0x1e4d50),this[_0x4cec42(0xff)](_0x4cec42(0x140),void 0x0),this[_0x4cec42(0xf2)]=this[_0x4cec42(0x131)](),this[_0x4cec42(0xff)](_0x4cec42(0xf7),null),this[_0x4cec42(0x124)]=0x19,this[_0x4cec42(0x111)]=new Map(),this[_0x4cec42(0x138)]=new Map(),this[_0x4cec42(0x123)][_0x4cec42(0x109)][_0x4cec42(0xfb)](_0x4cec42(0x144),!0x1),this[_0x4cec42(0x12d)]=null,this[_0x4cec42(0x112)]=null,this[_0x4cec42(0x122)]=[];}[_0x3c4671(0x10b)](){const _0x28b013=_0x3c4671,_0x2d5655=this[_0x28b013(0x123)][_0x28b013(0x109)][_0x28b013(0x14a)](_0x28b013(0x135));_0x2d5655&&this[_0x28b013(0x10f)](_0x2d5655);}[_0x3c4671(0x10f)](_0x50d006){const _0x448ddf=_0x3c4671;if(!g(_0x50d006))throw new _0x4a591d(_0x448ddf(0x105));this[_0x448ddf(0xf7)]=_0x50d006;}[_0x3c4671(0x110)]({viewClass:_0x23e1cb='',spaceBetweenItems:_0x2908ad=0x19}={}){const _0x6dc8=_0x3c4671;if(!g(this[_0x6dc8(0xf7)]))throw new _0x4a591d(_0x6dc8(0x139),this);this[_0x6dc8(0xf7)][_0x6dc8(0x103)](this[_0x6dc8(0xf2)][_0x6dc8(0x145)]),this[_0x6dc8(0xf2)][_0x6dc8(0xf4)]=_0x23e1cb,this[_0x6dc8(0x124)]=_0x2908ad;}[_0x3c4671(0x14b)]({removedAnnotation:_0x4ef2fc,previousAnnotation:_0x1b82c9,nextAnnotation:_0x1c9daa}){const _0x46faa8=_0x3c4671,_0x4cb3c9=this[_0x46faa8(0x118)](_0x4ef2fc);this[_0x46faa8(0xf2)][_0x46faa8(0x11c)][_0x46faa8(0x12a)](_0x4cb3c9),this[_0x46faa8(0x147)](_0x4ef2fc),_0x1b82c9&&this[_0x46faa8(0x12c)](this[_0x46faa8(0x118)](_0x1b82c9)),_0x1c9daa&&this[_0x46faa8(0x12c)](this[_0x46faa8(0x118)](_0x1c9daa)),this[_0x46faa8(0x106)]();}[_0x3c4671(0x10a)]({blurredAnnotation:_0xc414a2,activatedAnnotation:_0x13f6c8,disableAnimationOnActivatedAnnotation:_0x4c7175}){const _0x3cac75=_0x3c4671;if(this[_0x3cac75(0x112)]=_0x13f6c8,_0xc414a2){_0xc414a2[_0x3cac75(0x13e)]=!0x1;const _0x5bce01=this[_0x3cac75(0x118)](_0xc414a2);_0x5bce01&&_0x4c7175&&(_0x5bce01[_0x3cac75(0x13f)]=!0x1);}if(_0x13f6c8){const _0x3a2b0a=this[_0x3cac75(0x118)](_0x13f6c8);_0x3a2b0a&&(_0x13f6c8[_0x3cac75(0x13e)]=!0x0,_0x4c7175&&(_0x3a2b0a[_0x3cac75(0x13f)]=!0x0,_0x3a2b0a[_0x3cac75(0x10e)]+=0x1),this[_0x3cac75(0x12c)](_0x3a2b0a));}}[_0x3c4671(0x104)](_0xaa0576){const _0x37d102=_0x3c4671;if(this[_0x37d102(0xf2)][_0x37d102(0x145)][_0x37d102(0x12a)](),_0xaa0576){for(const _0x17a3ac of _0xaa0576)this[_0x37d102(0x147)](_0x17a3ac);}this[_0x37d102(0xf2)][_0x37d102(0x11c)][_0x37d102(0x114)](),this[_0x37d102(0xf2)][_0x37d102(0xf4)]='',this[_0x37d102(0x140)]=null;}[_0x3c4671(0xf3)](_0x5bff3e,_0x4da1f0){const _0x5cd352=_0x3c4671;_0x4da1f0||(_0x4da1f0=_0x5bff3e[_0x5cd352(0xf2)]);const _0x47d8f6=new _0x138316(this[_0x5cd352(0x123)][_0x5cd352(0x12e)]);this[_0x5cd352(0x111)][_0x5cd352(0xff)](_0x47d8f6,_0x5bff3e),this[_0x5cd352(0x138)][_0x5cd352(0xff)](_0x5bff3e,_0x47d8f6),_0x47d8f6[_0x5cd352(0x137)][_0x5cd352(0x148)](_0x4da1f0),this[_0x5cd352(0xfd)](_0x5bff3e[_0x5cd352(0xf2)],_0x5cd352(0xfe),(_0x2b6316,_0x261d94,_0x19328e)=>{const _0x2db499=_0x5cd352,_0x27e419=this[_0x2db499(0x121)](_0x5bff3e,_0x19328e);_0x47d8f6[_0x2db499(0x13b)]!=_0x27e419&&(_0x47d8f6[_0x2db499(0x13b)]=_0x27e419,this[_0x2db499(0x134)](_0x47d8f6,_0x27e419));}),this[_0x5cd352(0xfd)](_0x47d8f6,_0x5cd352(0x133),()=>{const _0x19f0fa=_0x5cd352;this[_0x19f0fa(0x149)](_0x47d8f6,_0x19f0fa(0x10e));}),this[_0x5cd352(0xfd)](_0x47d8f6,_0x5cd352(0x11b),()=>{const _0x598024=_0x5cd352;this[_0x598024(0x149)](_0x47d8f6,_0x598024(0x102));}),this[_0x5cd352(0x12c)](_0x47d8f6);const _0x2d16c5=this[_0x5cd352(0x14c)](_0x47d8f6);if(_0x2d16c5)this[_0x5cd352(0x10c)](_0x2d16c5,_0x47d8f6)||this[_0x5cd352(0x12c)](_0x47d8f6);else this[_0x5cd352(0x12c)](_0x47d8f6);return this[_0x5cd352(0x106)](),this[_0x5cd352(0xf2)][_0x5cd352(0x11c)][_0x5cd352(0x148)](_0x47d8f6),_0x47d8f6;}[_0x3c4671(0x101)](_0x3c7c5e){const _0xf6fdbe=_0x3c4671;if(!_0x3c7c5e[_0xf6fdbe(0x137)][_0xf6fdbe(0x142)])return;const _0x39b7f2=this[_0xf6fdbe(0x14c)](_0x3c7c5e);if(!_0x39b7f2)return;const _0xb134e7=this[_0xf6fdbe(0x111)][_0xf6fdbe(0x14a)](_0x39b7f2),_0x7ca060=this[_0xf6fdbe(0x112)];_0x7ca060&&_0x7ca060===_0xb134e7?this[_0xf6fdbe(0x10c)](_0x39b7f2,_0x3c7c5e):this[_0xf6fdbe(0x13a)](_0x3c7c5e,_0x39b7f2);}[_0x3c4671(0x12b)](_0x288811){const _0x682986=_0x3c4671;if(!_0x288811[_0x682986(0x137)][_0x682986(0x142)])return;const _0x9467b8=this[_0x682986(0x113)](_0x288811);if(!_0x9467b8)return;const _0x94fd85=this[_0x682986(0x111)][_0x682986(0x14a)](_0x9467b8),_0xd0156c=this[_0x682986(0x123)][_0x682986(0x109)][_0x682986(0x14a)](_0x682986(0x144)),_0x112805=this[_0x682986(0x112)];_0x112805&&_0x112805===_0x94fd85&&_0xd0156c?(this[_0x682986(0x13a)](_0x9467b8,_0x288811),this[_0x682986(0x10c)](_0x288811,_0x9467b8)):_0x112805&&_0x112805===_0x94fd85?this[_0x682986(0x13a)](_0x9467b8,_0x288811):this[_0x682986(0x10c)](_0x288811,_0x9467b8);}[_0x3c4671(0x149)](_0x15e901,_0x52a499){const _0x35a63e=_0x3c4671;0x0===this[_0x35a63e(0x122)][_0x35a63e(0x142)]&&setTimeout(()=>{const _0x46a4ee=_0x35a63e;for(const {sidebarItemView:_0x19ceef,changedProp:_0x2c1a2f}of this[_0x46a4ee(0x122)])_0x46a4ee(0x10e)===_0x2c1a2f?this[_0x46a4ee(0x101)](_0x19ceef):this[_0x46a4ee(0x12b)](_0x19ceef);this[_0x46a4ee(0x122)]=[];},0xa),this[_0x35a63e(0x122)][_0x35a63e(0x132)]({'sidebarItemView':_0x15e901,'changedProp':_0x52a499});}[_0x3c4671(0x118)](_0x1bd394){const _0x18561a=_0x3c4671;return this[_0x18561a(0x138)][_0x18561a(0x14a)](_0x1bd394);}[_0x3c4671(0x10d)](){const _0x247ecc=_0x3c4671;this[_0x247ecc(0x119)](),this[_0x247ecc(0xf2)][_0x247ecc(0x10d)]();}[_0x3c4671(0x147)](_0x22911c){const _0x77ea86=_0x3c4671,_0x516c40=this[_0x77ea86(0x118)](_0x22911c);this[_0x77ea86(0x119)](_0x516c40),this[_0x77ea86(0x119)](_0x22911c[_0x77ea86(0xf2)]),_0x516c40[_0x77ea86(0x10d)](),this[_0x77ea86(0x138)][_0x77ea86(0x141)](_0x22911c),this[_0x77ea86(0x111)][_0x77ea86(0x141)](_0x516c40);}[_0x3c4671(0x131)](){const _0x28fe54=_0x3c4671,_0x37e861=new _0x2c44ae(this[_0x28fe54(0x123)][_0x28fe54(0x12e)]);return _0x37e861[_0x28fe54(0x128)](),this['on'](_0x28fe54(0x107),(_0x5040e2,_0x46564d,_0x4ea5b9,_0xf1c235)=>{const _0x2c33f3=_0x28fe54;_0xf1c235&&_0x37e861[_0x2c33f3(0xf9)](_0x2c33f3(0x11f)),_0x4ea5b9?_0x37e861[_0x2c33f3(0xfc)](_0x2c33f3(0x11f))['to'](_0x4ea5b9,_0x2c33f3(0x102)):_0x37e861[_0x2c33f3(0x11f)]=null;}),_0x37e861;}[_0x3c4671(0x106)](){const _0x9ddc03=_0x3c4671;this[_0x9ddc03(0x140)]=this[_0x9ddc03(0x12d)]?.[_0x9ddc03(0x100)]?this[_0x9ddc03(0x118)](this[_0x9ddc03(0x12d)][_0x9ddc03(0x100)]):null;}[_0x3c4671(0x14c)](_0x299e3e){const _0x4ab3de=_0x3c4671,_0x745e9a=this[_0x4ab3de(0x111)][_0x4ab3de(0x14a)](_0x299e3e),_0x5a1652=_0x745e9a&&this[_0x4ab3de(0x12d)]?.[_0x4ab3de(0x14a)](this[_0x4ab3de(0x12d)][_0x4ab3de(0x130)](_0x745e9a)-0x1);return _0x5a1652&&this[_0x4ab3de(0x118)](_0x5a1652)||null;}[_0x3c4671(0x113)](_0x204b4e){const _0x2500d5=_0x3c4671,_0x24a199=this[_0x2500d5(0x111)][_0x2500d5(0x14a)](_0x204b4e),_0x3a1474=_0x24a199&&this[_0x2500d5(0x12d)]?.[_0x2500d5(0x14a)](this[_0x2500d5(0x12d)][_0x2500d5(0x130)](_0x24a199)+0x1);return _0x3a1474&&this[_0x2500d5(0x118)](_0x3a1474)||null;}[_0x3c4671(0x13a)](_0x59b658,_0x2d295d){const _0x597054=_0x3c4671;_0x59b658[_0x597054(0x146)]();const _0x4b870b=G(_0x2d295d[_0x597054(0x102)]+this[_0x597054(0x124)],_0x59b658[_0x597054(0x10e)]);return!!_0x4b870b&&(this[_0x597054(0x134)](_0x2d295d,_0x2d295d[_0x597054(0x10e)]-_0x4b870b),!0x0);}[_0x3c4671(0x10c)](_0x7e62e1,_0xac41b7){const _0x4fcd6b=_0x3c4671;_0x7e62e1[_0x4fcd6b(0x146)]();const _0xa92408=G(_0x7e62e1[_0x4fcd6b(0x102)]+this[_0x4fcd6b(0x124)],_0xac41b7[_0x4fcd6b(0x10e)]);return!!_0xa92408&&(this[_0x4fcd6b(0x134)](_0xac41b7,_0xac41b7[_0x4fcd6b(0x10e)]+_0xa92408,!0x1),!0x0);}[_0x3c4671(0x12c)](_0x2d4fb1){const _0x49da8a=_0x3c4671,_0x574074=this[_0x49da8a(0x111)][_0x49da8a(0x14a)](_0x2d4fb1);if(!_0x574074||!_0x574074[_0x49da8a(0x129)]||!_0x574074[_0x49da8a(0x127)])return;const _0x21a42c=this[_0x49da8a(0x121)](_0x574074,_0x574074[_0x49da8a(0x127)]);this[_0x49da8a(0x134)](_0x2d4fb1,_0x21a42c);}[_0x3c4671(0x121)](_0x568e05,_0x3997a8){const _0xa159b8=_0x3c4671;if(null===_0x3997a8)return 0x0;if(_0x568e05[_0xa159b8(0x129)]instanceof _0x3e4de6)return _0x3997a8[_0xa159b8(0x10e)];{const _0x436921=new _0x3e4de6(this[_0xa159b8(0xf2)][_0xa159b8(0x145)])[_0xa159b8(0x10e)];return _0x3997a8[_0xa159b8(0x10e)]-_0x436921;}}[_0x3c4671(0x134)](_0x211939,_0x2d0f64,_0x1cb411=this[_0x3c4671(0x123)][_0x3c4671(0x109)][_0x3c4671(0x14a)](_0x3c4671(0x144))){const _0x2111b=_0x3c4671;_0x1cb411&&(_0x2d0f64=Math[_0x2111b(0xf5)](_0x2d0f64,this[_0x2111b(0xf8)](_0x211939))),_0x211939[_0x2111b(0x10e)]=_0x2d0f64;}[_0x3c4671(0xf8)](_0x85833d){const _0x477142=_0x3c4671;let _0xee6398=this[_0x477142(0x14c)](_0x85833d),_0x2d99cc=0x0;for(;_0xee6398;)_0xee6398[_0x477142(0x146)](),_0x2d99cc+=this[_0x477142(0x124)]+_0xee6398[_0x477142(0xf0)],_0xee6398=this[_0x477142(0x14c)](_0xee6398);return _0x2d99cc;}}function _0x5adf(){const _0x5f5a43=['37455mZuOjz','_getTargetTop','_recalculateBuffer','context','_spaceBetweenItems','2283570cVMcEb','pluginName','targetRect','render','target','remove','_alignForBottomChange','_alignToTargetRect','_annotations','locale','1295464srycOX','getIndex','_createSidebarView','push','change:top','_setItemTop','sidebar.container','10ahYMpO','content','_annotationToSidebarItemView','sidebar-attachtocontainer-missing-container','_alignBeforeItem','_targetTop','613KBMTzg','75705bfVKHC','isActive','isAnimationDisabled','_lastItem','delete','length','isPremiumPlugin','sidebar.preventScrollOutOfView','element','updateHeight','_destroySidebarItemView','add','_recalculate','get','rearrange','_getItemBefore','height','4512132klWjEf','view','addAnnotation','class','max','288MgEYLl','container','_getMaxAvailableTop','unbind','object','define','bind','listenTo','change:targetRect','set','last','_alignForTopChange','bottom','appendChild','_detachFromContainer','sidebar-setcontainer-invalid-element','_updateLastItem','change:_lastItem','12FIIzOz','config','refresh','init','_alignAfterItem','destroy','top','setContainer','_attachToContainer','_sidebarItemViewToAnnotation','_activeAnnotation','_getItemAfter','clear','1422wYWZVi','isOfficialPlugin','Sidebar','getSidebarItemView','stopListening','66388xQnlvy','change:bottom','list','87bCiZWY','nodeType','minHeight'];_0x5adf=function(){return _0x5f5a43;};return _0x5adf();}function _0x1df8(_0x31095e,_0x697fb1){const _0x5adf1b=_0x5adf();return _0x1df8=function(_0x1df88d,_0x1f303f){_0x1df88d=_0x1df88d-0xf0;let _0x2d17e8=_0x5adf1b[_0x1df88d];return _0x2d17e8;},_0x1df8(_0x31095e,_0x697fb1);}function G(_0x20a2ba,_0x20140){const _0x50bde9=_0x3c4671;return Math[_0x50bde9(0xf5)](_0x20a2ba-_0x20140,0x0);}function g(_0x3237f9){const _0x3edc6f=_0x3c4671;return null!==_0x3237f9&&_0x3edc6f(0xfa)==typeof _0x3237f9&&0x1===_0x3237f9[_0x3edc6f(0x11e)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f8845=_0x1160;function _0x5c62(){const _0x165b12=['bindTemplate','...','5REXYJQ','setTemplate','21FSsJNs','ck-annotation-counter__badge--','extendTemplate','872070tizQvI','counterView','ck-annotation-counter__badge','set','annotationType','span','icon','bind','32362SWUxVb','398356qGlACX','695432KcgCLr','285172YIrqGj','ck-annotation-counter','children','add','31720SUwGkM','isDirty','687600VydEUM','number','toString','ck-annotation-counter__badge--edit-mode','_badge','10NbKAFn'];_0x5c62=function(){return _0x165b12;};return _0x5c62();}function _0x1160(_0x14eed8,_0x3009ea){const _0x5c62c3=_0x5c62();return _0x1160=function(_0x11607d,_0x5af109){_0x11607d=_0x11607d-0x12b;let _0x1c28b2=_0x5c62c3[_0x11607d];return _0x1c28b2;},_0x1160(_0x14eed8,_0x3009ea);}(function(_0x6029b3,_0x27df43){const _0x451a11=_0x1160,_0x128263=_0x6029b3();while(!![]){try{const _0x2443c4=-parseInt(_0x451a11(0x140))/0x1+parseInt(_0x451a11(0x139))/0x2*(parseInt(_0x451a11(0x12e))/0x3)+-parseInt(_0x451a11(0x13c))/0x4*(-parseInt(_0x451a11(0x12c))/0x5)+-parseInt(_0x451a11(0x131))/0x6+-parseInt(_0x451a11(0x13a))/0x7+parseInt(_0x451a11(0x13b))/0x8+parseInt(_0x451a11(0x142))/0x9*(parseInt(_0x451a11(0x147))/0xa);if(_0x2443c4===_0x27df43)break;else _0x128263['push'](_0x128263['shift']());}catch(_0x195d1d){_0x128263['push'](_0x128263['shift']());}}}(_0x5c62,0x1bcfc));import{ButtonView as _0x2b7243,View as _0x1aaa4c}from'ckeditor5/src/ui.js';import{IconAddComment as _0x1e078d}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2b7243{[_0x4f8845(0x132)];constructor(_0x1179ba){const _0x5bb08a=_0x4f8845;super(_0x1179ba);const _0x394091=this[_0x5bb08a(0x148)];this[_0x5bb08a(0x134)](_0x5bb08a(0x141),!0x1),this[_0x5bb08a(0x134)](_0x5bb08a(0x143),0x0),this[_0x5bb08a(0x138)](_0x5bb08a(0x146))['to'](this,_0x5bb08a(0x141),this,_0x5bb08a(0x143),(_0x35771d,_0x22efa3)=>_0x35771d?_0x5bb08a(0x12b):_0x22efa3[_0x5bb08a(0x144)]()),this[_0x5bb08a(0x134)](_0x5bb08a(0x135),''),this[_0x5bb08a(0x137)]=_0x1e078d,this[_0x5bb08a(0x130)]({'attributes':{'class':[_0x5bb08a(0x13d)]}}),this[_0x5bb08a(0x132)]=new _0x1aaa4c(),this[_0x5bb08a(0x132)][_0x5bb08a(0x12d)]({'tag':_0x5bb08a(0x136),'attributes':{'class':[_0x5bb08a(0x133),_0x394091['to'](_0x5bb08a(0x135),_0x3317c2=>_0x5bb08a(0x12f)+_0x3317c2),_0x394091['if'](_0x5bb08a(0x141),_0x5bb08a(0x145))]},'children':[{'text':_0x394091['to'](_0x5bb08a(0x146))}]}),this[_0x5bb08a(0x13e)][_0x5bb08a(0x13f)](this[_0x5bb08a(0x132)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4f08(){const _0x10cf15=['presentation','keystrokes','set','6vtPxhX','detach','setTemplate','isDirty','focusTracker','724100owUBgK','listenTo','focus','ck-annotation-wrapper--active','bindTemplate','element','attach','ck-annotation-wrapper','9136134UHgMiD','_mutationObserver','destroy','9hdflBx','_updateHeight','mainView','createCollection','render','clear','content','arrowup','6029304RUBtoC','type','15085328mUvqnD','86286MSTjcL','arrowdown','ck-rounded-corners','Esc','clientHeight','targetRect','816278CdpaSn','7120255QtPmwz','isActive','fire','add','delegate','div','first','length','height'];_0x4f08=function(){return _0x10cf15;};return _0x4f08();}const _0x3a62b5=_0x39e9;function _0x39e9(_0x26b201,_0x463680){const _0x4f088f=_0x4f08();return _0x39e9=function(_0x39e90a,_0x2c72ae){_0x39e90a=_0x39e90a-0x1f2;let _0x3af20a=_0x4f088f[_0x39e90a];return _0x3af20a;},_0x39e9(_0x26b201,_0x463680);}(function(_0xd65514,_0x4629b4){const _0x2c4d81=_0x39e9,_0x25a052=_0xd65514();while(!![]){try{const _0x28b286=-parseInt(_0x2c4d81(0x201))/0x1+parseInt(_0x2c4d81(0x207))/0x2*(-parseInt(_0x2c4d81(0x214))/0x3)+-parseInt(_0x2c4d81(0x219))/0x4+parseInt(_0x2c4d81(0x208))/0x5+parseInt(_0x2c4d81(0x1fe))/0x6+parseInt(_0x2c4d81(0x1f3))/0x7+parseInt(_0x2c4d81(0x200))/0x8*(-parseInt(_0x2c4d81(0x1f6))/0x9);if(_0x28b286===_0x4629b4)break;else _0x25a052['push'](_0x25a052['shift']());}catch(_0x6fdf15){_0x25a052['push'](_0x25a052['shift']());}}}(_0x4f08,0xbabaa));import{View as _0x206178}from'ckeditor5/src/ui.js';import{FocusTracker as _0x8d900b,KeystrokeHandler as _0x2dfe58,uid as _0xc5a5ad}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x8cc33a}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x206178{[_0x3a62b5(0x218)];['id'];[_0x3a62b5(0x212)];[_0x3a62b5(0x1fc)];[_0x3a62b5(0x1f8)];[_0x3a62b5(0x1f4)];constructor(_0x247853,_0x4bbba8){const _0x536311=_0x3a62b5;super(_0x247853),this['id']=_0xc5a5ad(),this[_0x536311(0x218)]=new _0x8d900b(),this[_0x536311(0x212)]=new _0x2dfe58(),this[_0x536311(0x212)][_0x536311(0x213)](_0x536311(0x204),(_0x469314,_0x3d6fdc)=>this[_0x536311(0x20a)](_0x536311(0x204),_0x3d6fdc)),this[_0x536311(0x213)](_0x536311(0x206),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x536311(0x213)](_0x536311(0x210),0x0),this[_0x536311(0x213)](_0x536311(0x209),!0x1),this[_0x536311(0x213)](_0x536311(0x217),!0x1),this[_0x536311(0x213)](_0x536311(0x20f),0x0),this[_0x536311(0x213)](_0x536311(0x1ff),''),this[_0x536311(0x1f4)]=_0x8cc33a(()=>this[_0x536311(0x1f7)]()),this[_0x536311(0x1fc)]=this[_0x536311(0x1f9)](),this[_0x536311(0x1fc)][_0x536311(0x20c)](_0x536311(0x1fd),_0x536311(0x202))['to'](this),this[_0x536311(0x1fc)][_0x536311(0x20b)](_0x4bbba8),this[_0x536311(0x1f8)]=_0x4bbba8;const _0x579b19=this[_0x536311(0x21d)];this[_0x536311(0x216)]({'tag':_0x536311(0x20d),'attributes':{'class':['ck',_0x536311(0x1f2),_0x536311(0x203),_0x579b19['if'](_0x536311(0x209),_0x536311(0x21c))],'role':_0x536311(0x211)},'children':this[_0x536311(0x1fc)]});}[_0x3a62b5(0x1fa)](){const _0x48add4=_0x3a62b5;super[_0x48add4(0x1fa)](),this[_0x48add4(0x218)][_0x48add4(0x20b)](this[_0x48add4(0x21e)]),this[_0x48add4(0x212)][_0x48add4(0x21a)](this[_0x48add4(0x21e)]),this[_0x48add4(0x1f4)][_0x48add4(0x21f)](this[_0x48add4(0x21e)]);}[_0x3a62b5(0x1f5)](){const _0x1bd487=_0x3a62b5;this[_0x1bd487(0x1fc)][_0x1bd487(0x1fb)](),this[_0x1bd487(0x212)][_0x1bd487(0x1f5)](),this[_0x1bd487(0x218)][_0x1bd487(0x1f5)](),this[_0x1bd487(0x1f4)][_0x1bd487(0x215)](),super[_0x1bd487(0x1f5)]();}[_0x3a62b5(0x21b)](){const _0x1289bf=_0x3a62b5;this[_0x1289bf(0x1fc)][_0x1289bf(0x20e)]&&this[_0x1289bf(0x1fc)][_0x1289bf(0x20e)][_0x1289bf(0x21b)]();}[_0x3a62b5(0x1f7)](){const _0x8c47eb=_0x3a62b5,_0x213877=this[_0x8c47eb(0x21e)][_0x8c47eb(0x205)];_0x213877&&(this[_0x8c47eb(0x210)]=_0x213877);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1a1e06=_0x3724;(function(_0x5ce111,_0x1adaf9){const _0x57301e=_0x3724,_0x2163fb=_0x5ce111();while(!![]){try{const _0x46237d=-parseInt(_0x57301e(0x1f2))/0x1+-parseInt(_0x57301e(0x1f3))/0x2+-parseInt(_0x57301e(0x1ec))/0x3+-parseInt(_0x57301e(0x1e5))/0x4*(parseInt(_0x57301e(0x1e1))/0x5)+-parseInt(_0x57301e(0x1e3))/0x6+parseInt(_0x57301e(0x1dd))/0x7+parseInt(_0x57301e(0x1ff))/0x8*(parseInt(_0x57301e(0x1dc))/0x9);if(_0x46237d===_0x1adaf9)break;else _0x2163fb['push'](_0x2163fb['shift']());}catch(_0x40ffa9){_0x2163fb['push'](_0x2163fb['shift']());}}}(_0x242f,0x670ef));import{View as _0x49d3b1}from'ckeditor5/src/ui.js';import{toUnit as _0x2c0deb}from'ckeditor5/src/utils.js';function _0x242f(){const _0x1f085d=['ck-sidebar-item--no-animation','presentation','setTemplate','render','detach','160jAkKYE','content','clear','597897bpcFlk','4989355GlrfPU','delegate','top','ck-sidebar-item','1143965fJBVEd','set','1860900dIQENo','focus','8aSvfOm','bottom','bindTemplate','attach','div','clientHeight','createCollection','111798JsFxLW','destroy','updateHeight','_mutationObserver','_targetTop','arrowup','34199QrVrUs','1560194YBEFIt','height','bind','isAnimationDisabled','element','arrowdown','first'];_0x242f=function(){return _0x1f085d;};return _0x242f();}function _0x3724(_0x7329b2,_0x31bcf5){const _0x242f5c=_0x242f();return _0x3724=function(_0x372498,_0x196fb0){_0x372498=_0x372498-0x1da;let _0x5b03d2=_0x242f5c[_0x372498];return _0x5b03d2;},_0x3724(_0x7329b2,_0x31bcf5);}import{createMutationObserver as _0x9a1263}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2c0deb('px');export class AnnotationsSidebarItemView extends _0x49d3b1{[_0x1a1e06(0x1da)];[_0x1a1e06(0x1f0)];[_0x1a1e06(0x1ef)];constructor(_0xd693ff){const _0x6ea4a7=_0x1a1e06;super(_0xd693ff),this[_0x6ea4a7(0x1e2)](_0x6ea4a7(0x1df),0x0),this[_0x6ea4a7(0x1e2)](_0x6ea4a7(0x1f4),0x0),this[_0x6ea4a7(0x1f5)](_0x6ea4a7(0x1e6))['to'](this,_0x6ea4a7(0x1df),this,_0x6ea4a7(0x1f4),(_0x1efac4,_0x330144)=>_0x1efac4+_0x330144),this[_0x6ea4a7(0x1e2)](_0x6ea4a7(0x1f6),!0x1),this[_0x6ea4a7(0x1ef)]=_0x9a1263(()=>this[_0x6ea4a7(0x1ee)]()),this[_0x6ea4a7(0x1f0)]=null,this[_0x6ea4a7(0x1da)]=this[_0x6ea4a7(0x1eb)](),this[_0x6ea4a7(0x1da)][_0x6ea4a7(0x1de)](_0x6ea4a7(0x1f1),_0x6ea4a7(0x1f8))['to'](this);const _0x21261e=this[_0x6ea4a7(0x1e7)];this[_0x6ea4a7(0x1fc)]({'tag':_0x6ea4a7(0x1e9),'attributes':{'class':[_0x6ea4a7(0x1e0),_0x21261e['to'](_0x6ea4a7(0x1f6),_0x465467=>_0x465467?_0x6ea4a7(0x1fa):'')],'style':{'top':_0x21261e['to'](_0x6ea4a7(0x1df),_0xf34da5=>Ot(_0xf34da5))},'role':_0x6ea4a7(0x1fb)},'children':this[_0x6ea4a7(0x1da)]});}[_0x1a1e06(0x1fd)](){const _0x18971f=_0x1a1e06;super[_0x18971f(0x1fd)](),this[_0x18971f(0x1ef)][_0x18971f(0x1e8)](this[_0x18971f(0x1f7)]);}[_0x1a1e06(0x1e4)](){const _0x57b36a=_0x1a1e06;this[_0x57b36a(0x1da)][_0x57b36a(0x1f9)]&&this[_0x57b36a(0x1da)][_0x57b36a(0x1f9)][_0x57b36a(0x1e4)]();}[_0x1a1e06(0x1ee)](){const _0x196df8=_0x1a1e06,_0x1a6b51=this[_0x196df8(0x1f7)][_0x196df8(0x1ea)];_0x1a6b51&&(this[_0x196df8(0x1f4)]=_0x1a6b51);}[_0x1a1e06(0x1ed)](){const _0x239db2=_0x1a1e06;this[_0x239db2(0x1da)][_0x239db2(0x1db)](),this[_0x239db2(0x1ef)][_0x239db2(0x1fe)](),super[_0x239db2(0x1ed)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
function _0x838f(_0x3f5580,_0x4673ad){const _0x423c51=_0x423c();return _0x838f=function(_0x838f2d,_0x4faf4e){_0x838f2d=_0x838f2d-0x1f0;let _0x444532=_0x423c51[_0x838f2d];return _0x444532;},_0x838f(_0x3f5580,_0x4673ad);}const _0x40a5dc=_0x838f;(function(_0x2648c,_0x448163){const _0x19decc=_0x838f,_0x4bdea1=_0x2648c();while(!![]){try{const _0x7aa006=parseInt(_0x19decc(0x21d))/0x1+-parseInt(_0x19decc(0x20c))/0x2+parseInt(_0x19decc(0x1f4))/0x3*(parseInt(_0x19decc(0x209))/0x4)+parseInt(_0x19decc(0x207))/0x5+parseInt(_0x19decc(0x21a))/0x6*(-parseInt(_0x19decc(0x21c))/0x7)+-parseInt(_0x19decc(0x1f1))/0x8*(parseInt(_0x19decc(0x1fc))/0x9)+parseInt(_0x19decc(0x1f3))/0xa;if(_0x7aa006===_0x448163)break;else _0x4bdea1['push'](_0x4bdea1['shift']());}catch(_0x4727aa){_0x4bdea1['push'](_0x4bdea1['shift']());}}}(_0x423c,0x58886));import{View as _0x3da27e,FocusCycler as _0x2eae61}from'ckeditor5/src/ui.js';import{FocusTracker as _0xb643fe,toUnit as _0x3f74ee}from'ckeditor5/src/utils.js';import{getTranslation as _0x623872}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x423c(){const _0x5c2479=['top','8sPomKz','_updateItemPositionInFocusables','7529300OXwrtu','3ggtkQR','application','createCollection','remove','arrowup','div','focusFirst','render','3539817FntzzW','change:top','change','Annotations\x20list','forEach','length','minHeight','focus','removed','listenTo','focusPrevious','1893760JWeQnw','added','1158692vntXGf','getIndex','focusTracker','539628uKzFXL','delegate','bindTemplate','set','focusables','add','_setupKeyboardNavigation','focusNext','list','class','setTemplate','focusCycler','Annotations\x20sidebar','ck-reset','19416hzBTog','element','1421BdUBFK','261310KoEmmg','ck-sidebar','source','number','arrowdown','uiLanguageDirection'];_0x423c=function(){return _0x5c2479;};return _0x423c();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3f74ee('px');export class AnnotationsSidebarView extends _0x3da27e{[_0x40a5dc(0x214)];[_0x40a5dc(0x210)];[_0x40a5dc(0x20b)];[_0x40a5dc(0x217)];constructor(_0x15cf93){const _0x3e3d96=_0x40a5dc;super(_0x15cf93);const _0x466745=this[_0x3e3d96(0x20e)];this[_0x3e3d96(0x20f)](_0x3e3d96(0x202),0x0),this[_0x3e3d96(0x20f)](_0x3e3d96(0x215),''),this[_0x3e3d96(0x214)]=this[_0x3e3d96(0x1f6)](),this[_0x3e3d96(0x210)]=this[_0x3e3d96(0x1f6)](),this[_0x3e3d96(0x214)][_0x3e3d96(0x20d)](_0x3e3d96(0x1f8),_0x3e3d96(0x221))['to'](this),this[_0x3e3d96(0x20b)]=new _0xb643fe(),this[_0x3e3d96(0x217)]=new _0x2eae61({'focusables':this[_0x3e3d96(0x210)],'focusTracker':this[_0x3e3d96(0x20b)]}),this[_0x3e3d96(0x216)]({'tag':_0x3e3d96(0x1f9),'attributes':{'class':['ck',_0x3e3d96(0x21e),_0x3e3d96(0x219),_0x466745['to'](_0x3e3d96(0x215))],'style':{'minHeight':_0x466745['to'](_0x3e3d96(0x202),_0x5945f6=>_0x3e3d96(0x220)==typeof _0x5945f6?Ot(_0x5945f6+0xa):null)},'dir':_0x15cf93[_0x3e3d96(0x222)],'role':_0x3e3d96(0x1f5),'aria-label':_0x623872(_0x15cf93,_0x3e3d96(0x218)),'tabindex':0x0},'children':[{'tag':_0x3e3d96(0x1f9),'attributes':{'role':_0x3e3d96(0x214),'aria-label':_0x623872(_0x15cf93,_0x3e3d96(0x1ff))},'children':this[_0x3e3d96(0x214)]}]});}[_0x40a5dc(0x1fb)](){const _0x378e64=_0x40a5dc;super[_0x378e64(0x1fb)](),this[_0x378e64(0x212)]();}[_0x40a5dc(0x203)](){const _0x3b7cdf=_0x40a5dc;this[_0x3b7cdf(0x217)][_0x3b7cdf(0x1fa)]();}[_0x40a5dc(0x212)](){const _0x3027fc=_0x40a5dc;this[_0x3027fc(0x214)][_0x3027fc(0x20d)](_0x3027fc(0x1fd))['to'](this),this['on'](_0x3027fc(0x1fd),_0xe46990=>{const _0x1a21a8=_0x3027fc;this[_0x1a21a8(0x1f2)](_0xe46990[_0x1a21a8(0x21f)]);}),this[_0x3027fc(0x214)][_0x3027fc(0x200)](_0xa5d04d=>{const _0x52d565=_0x3027fc;this[_0x52d565(0x20b)][_0x52d565(0x211)](_0xa5d04d[_0x52d565(0x21b)]),this[_0x52d565(0x1f2)](_0xa5d04d);}),this[_0x3027fc(0x214)]['on'](_0x3027fc(0x1fe),(_0x3dbf3c,_0x4973bb)=>{const _0x2db814=_0x3027fc;for(const _0x194f0b of _0x4973bb[_0x2db814(0x204)])this[_0x2db814(0x20b)][_0x2db814(0x1f7)](_0x194f0b[_0x2db814(0x21b)]),this[_0x2db814(0x210)][_0x2db814(0x1f7)](_0x194f0b);for(const _0x3b33ca of _0x4973bb[_0x2db814(0x208)])this[_0x2db814(0x20b)][_0x2db814(0x211)](_0x3b33ca[_0x2db814(0x21b)]),this[_0x2db814(0x1f2)](_0x3b33ca);}),this['on'](_0x3027fc(0x1f8),()=>{const _0x302f63=_0x3027fc;this[_0x302f63(0x217)][_0x302f63(0x206)]();}),this['on'](_0x3027fc(0x221),()=>{const _0x4189a9=_0x3027fc;this[_0x4189a9(0x217)][_0x4189a9(0x213)]();}),this[_0x3027fc(0x205)](this[_0x3027fc(0x21b)],_0x3027fc(0x203),()=>{const _0x3a9656=_0x3027fc;this[_0x3a9656(0x203)]();});}[_0x40a5dc(0x1f2)](_0x2a0872){const _0xe9b83a=_0x40a5dc,_0x401899=this[_0xe9b83a(0x210)][_0xe9b83a(0x20a)](_0x2a0872);let _0x1f70cc,_0x3a526b;for(const _0x9d6110 of this[_0xe9b83a(0x210)])if(_0x2a0872[_0xe9b83a(0x1f0)]<_0x9d6110[_0xe9b83a(0x1f0)]){_0x1f70cc=_0x9d6110;break;}if(_0x3a526b=_0x1f70cc?this[_0xe9b83a(0x210)][_0xe9b83a(0x20a)](_0x1f70cc):this[_0xe9b83a(0x210)][_0xe9b83a(0x201)],-0x1!==_0x401899){if(_0x401899===_0x3a526b-0x1)return;this[_0xe9b83a(0x210)][_0xe9b83a(0x1f7)](_0x2a0872),_0x3a526b=_0x1f70cc?this[_0xe9b83a(0x210)][_0xe9b83a(0x20a)](_0x1f70cc):this[_0xe9b83a(0x210)][_0xe9b83a(0x201)];}this[_0xe9b83a(0x210)][_0xe9b83a(0x211)](_0x2a0872,_0x3a526b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a03c8=_0x20c3;(function(_0x2fb885,_0x5dabe8){const _0x19c13b=_0x20c3,_0xb7d227=_0x2fb885();while(!![]){try{const _0x2a4d79=parseInt(_0x19c13b(0xa6))/0x1+-parseInt(_0x19c13b(0x82))/0x2+-parseInt(_0x19c13b(0x99))/0x3+-parseInt(_0x19c13b(0x84))/0x4+parseInt(_0x19c13b(0xb4))/0x5+parseInt(_0x19c13b(0x94))/0x6*(parseInt(_0x19c13b(0x98))/0x7)+parseInt(_0x19c13b(0xba))/0x8;if(_0x2a4d79===_0x5dabe8)break;else _0xb7d227['push'](_0xb7d227['shift']());}catch(_0x5bdf22){_0xb7d227['push'](_0xb7d227['shift']());}}}(_0x44e0,0x9540c));import{ContextPlugin as _0x15d451,Context as _0x1289bd}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x227969}from'./annotationsuis.js';function _0x20c3(_0x587ee7,_0xbc8690){const _0x44e04b=_0x44e0();return _0x20c3=function(_0x20c31d,_0x3acace){_0x20c31d=_0x20c31d-0x7e;let _0x17dcae=_0x44e04b[_0x20c31d];return _0x17dcae;},_0x20c3(_0x587ee7,_0xbc8690);}function _0x44e0(){const _0x1da41a=['_detachFromContainer','6WHJnzB','_destroyEditorAnnotationsIntegration','ck-sidebar--wide','requires','5803399SOpvcy','307719flWPGg','WideSidebar','activeAnnotation','addAnnotation','_editorAnnotations','init','widesidebar-detach-not-attached','isPremiumPlugin','add','container','refresh','widesidebar-attach-already-attached','context','871840DLsSCr','switchTo','isOfficialPlugin','refreshVisibility','rearrange','ready','_activeAnnotation','pluginName','attach','get','set:container','editors','has','listenTo','4785780CjsCfo','_attachToContainer','_integrateWithEditorAnnotations','isAttached','wideSidebar','uiUpdate','667752fLzYWh','set','addEventListener','focus','stop','plugins','cancel','remove','removeEventListener','getOrderedSelectedAnnotations','blur','from','stopListening','annotations','2197586LXcjJJ','register','3715264DPhbuK','high','refreshPositioning','_refreshPositioningDebounced','setActiveAnnotation','hasDomSelection','updateTargetRect','detach','change:container','EditorAnnotations','off','resize','destroy','Annotations','_annotations'];_0x44e0=function(){return _0x1da41a;};return _0x44e0();}import{Sidebar as _0x555d3c}from'./sidebar.js';import{CKEditorError as _0x57eb14,Collection as _0x38b17b}from'ckeditor5/src/utils.js';import{debounce as _0x55586f}from'es-toolkit/compat';export class WideSidebar extends _0x15d451{[_0x1a03c8(0xb7)];[_0x1a03c8(0x81)];[_0x1a03c8(0x9d)];[_0x1a03c8(0x87)];static get[_0x1a03c8(0x97)](){return[_0x555d3c,_0x227969];}static get[_0x1a03c8(0xad)](){const _0xb66c94=_0x1a03c8;return _0xb66c94(0x9a);}static get[_0x1a03c8(0xa8)](){return!0x0;}static get[_0x1a03c8(0xa0)](){return!0x0;}constructor(_0x4ca911){const _0x1dd505=_0x1a03c8;super(_0x4ca911),this[_0x1dd505(0xb7)]=!0x1,this[_0x1dd505(0xbb)](_0x1dd505(0x9b),null),this[_0x1dd505(0x81)]=null,this[_0x1dd505(0x9d)]=new _0x38b17b(),this[_0x1dd505(0x87)]=_0x55586f(()=>{const _0xe941e=_0x1dd505;_0x4ca911[_0xe941e(0xbf)][_0xe941e(0xaf)](_0xe941e(0x91))[_0xe941e(0xa9)](),this[_0xe941e(0x81)][_0xe941e(0x86)]();},0xfa,{'leading':!0x1});}[_0x1a03c8(0x9e)](){const _0x3769bd=_0x1a03c8,_0x55c97f=this[_0x3769bd(0xa5)][_0x3769bd(0xbf)][_0x3769bd(0xaf)](_0x227969),_0x1649bb=this[_0x3769bd(0xa5)][_0x3769bd(0xbf)][_0x3769bd(0xaf)](_0x555d3c);_0x55c97f[_0x3769bd(0x83)](_0x3769bd(0xb8),this),_0x1649bb[_0x3769bd(0xa2)]&&_0x55c97f[_0x3769bd(0xa7)](_0x3769bd(0xb8));}[_0x1a03c8(0x88)](_0x388c8e){const _0xe80d46=_0x1a03c8;if(_0x388c8e===this[_0xe80d46(0x9b)])return;const _0x4f1ac8=this[_0xe80d46(0xa5)][_0xe80d46(0xbf)][_0xe80d46(0xaf)](_0x555d3c);_0x4f1ac8[_0xe80d46(0xac)]=_0x388c8e;const _0xf1900a=this[_0xe80d46(0x9b)];_0x4f1ac8[_0xe80d46(0xa3)]({'blurredAnnotation':_0xf1900a,'activatedAnnotation':_0x388c8e}),this[_0xe80d46(0x9b)]=_0x388c8e;}[_0x1a03c8(0xae)](_0x311e29){const _0x3c4f52=_0x1a03c8;this[_0x3c4f52(0x81)]=_0x311e29;const _0x301182=this[_0x3c4f52(0xa5)][_0x3c4f52(0xbf)][_0x3c4f52(0xaf)](_0x555d3c);if(_0x301182[_0x3c4f52(0x92)]=_0x311e29,this[_0x3c4f52(0xb7)])throw new _0x57eb14(_0x3c4f52(0xa4),this);this[_0x3c4f52(0xb7)]=!0x0,this[_0x3c4f52(0xb3)](_0x301182,_0x3c4f52(0xb0),()=>{const _0x2c69ae=_0x3c4f52;this[_0x2c69ae(0x8b)](),this[_0x2c69ae(0xb3)](_0x301182,_0x2c69ae(0x8c),_0x529f2d=>{const _0xd59713=_0x2c69ae;_0x529f2d[_0xd59713(0x8e)](),this[_0xd59713(0xae)](_0x311e29);});}),_0x301182[_0x3c4f52(0xb5)]({'viewClass':_0x3c4f52(0x96)});const _0x1138ff=_0x66cb7=>{const _0x311063=_0x3c4f52;_0x66cb7[_0x311063(0x8a)](),_0x301182[_0x311063(0x9c)](_0x66cb7);};for(const _0x2759b8 of _0x311e29)_0x1138ff(_0x2759b8);this[_0x3c4f52(0xb3)](_0x311e29,_0x3c4f52(0xa1),(_0x26a637,_0x2e55bf)=>{_0x1138ff(_0x2e55bf);}),this[_0x3c4f52(0xb3)](_0x311e29,_0x3c4f52(0xc1),(_0x111b16,_0x49d872,_0x1ad89e)=>{const _0x486450=_0x3c4f52;_0x301182[_0x486450(0xaa)]({'removedAnnotation':_0x49d872,'previousAnnotation':_0x311e29[_0x486450(0xaf)](_0x1ad89e-0x1),'nextAnnotation':_0x311e29[_0x486450(0xaf)](_0x1ad89e+0x1)}),_0x49d872===this[_0x486450(0x9b)]&&this[_0x486450(0x88)](null);},{'priority':_0x3c4f52(0x85)}),this[_0x3c4f52(0xb3)](_0x311e29,_0x3c4f52(0xbd),(_0x5e8a4b,_0x565d64)=>{const _0x1544cf=_0x3c4f52;this[_0x1544cf(0x88)](_0x565d64);}),this[_0x3c4f52(0xb3)](_0x311e29,_0x3c4f52(0x7e),()=>{const _0x2ab265=_0x3c4f52;this[_0x2ab265(0x88)](null);});const _0x24c3a7=this[_0x3c4f52(0xa5)]instanceof _0x1289bd?this[_0x3c4f52(0xa5)][_0x3c4f52(0xb1)]:new _0x38b17b([this[_0x3c4f52(0xa5)]]);for(const _0x2e6381 of _0x24c3a7)this[_0x3c4f52(0xb6)](_0x2e6381);this[_0x3c4f52(0xb3)](_0x24c3a7,_0x3c4f52(0xa1),(_0x2b96c2,_0x2907f2)=>{const _0x23e535=_0x3c4f52;this[_0x23e535(0xb3)](_0x2907f2,_0x23e535(0xab),()=>{const _0x72ff74=_0x23e535;this[_0x72ff74(0xb6)](_0x2907f2);});}),this[_0x3c4f52(0xb3)](_0x24c3a7,_0x3c4f52(0xc1),(_0x43c183,_0x7d6a5b)=>{const _0x347aea=_0x3c4f52;_0x7d6a5b[_0x347aea(0xbf)][_0x347aea(0xb2)](_0x347aea(0x8d))&&this[_0x347aea(0x95)](_0x7d6a5b[_0x347aea(0xbf)][_0x347aea(0xaf)](_0x347aea(0x8d)));}),window[_0x3c4f52(0xbc)](_0x3c4f52(0x8f),this[_0x3c4f52(0x87)]),this[_0x3c4f52(0xa5)][_0x3c4f52(0xbf)][_0x3c4f52(0xaf)](_0x3c4f52(0x91))[_0x3c4f52(0xa9)](),this[_0x3c4f52(0x81)][_0x3c4f52(0x86)]();}[_0x1a03c8(0x8b)](){const _0x3b373f=_0x1a03c8;if(!this[_0x3b373f(0xb7)])throw new _0x57eb14(_0x3b373f(0x9f),this);this[_0x3b373f(0x88)](null);const _0x57ee69=this[_0x3b373f(0xa5)][_0x3b373f(0xbf)][_0x3b373f(0xaf)](_0x555d3c);_0x57ee69[_0x3b373f(0x93)](this[_0x3b373f(0x81)]),this[_0x3b373f(0x80)](_0x57ee69),this[_0x3b373f(0x80)](this[_0x3b373f(0x81)]),this[_0x3b373f(0xa5)]instanceof _0x1289bd&&this[_0x3b373f(0x80)](this[_0x3b373f(0xa5)][_0x3b373f(0xb1)]);for(const _0x88ee34 of Array[_0x3b373f(0x7f)](this[_0x3b373f(0x9d)]))this[_0x3b373f(0x95)](_0x88ee34);window[_0x3b373f(0xc2)](_0x3b373f(0x8f),this[_0x3b373f(0x87)]),this[_0x3b373f(0x87)][_0x3b373f(0xc0)](),this[_0x3b373f(0x9b)]=null,this[_0x3b373f(0xb7)]=!0x1,this[_0x3b373f(0x81)]=null;}[_0x1a03c8(0x90)](){const _0x2db6b5=_0x1a03c8;this[_0x2db6b5(0xb7)]&&this[_0x2db6b5(0x8b)]();}[_0x1a03c8(0xb6)](_0x399f8e){const _0x3f101d=_0x1a03c8;if(!_0x399f8e[_0x3f101d(0xbf)][_0x3f101d(0xb2)](_0x3f101d(0x8d)))return;const _0x2519e4=_0x399f8e[_0x3f101d(0xbf)][_0x3f101d(0xaf)](_0x3f101d(0x8d)),_0x5b1777=()=>{const _0x4e78bc=_0x3f101d,_0x219658=_0x2519e4[_0x4e78bc(0xc3)]({'annotations':this[_0x4e78bc(0x81)],'activeAnnotation':this[_0x4e78bc(0x9b)]});this[_0x4e78bc(0x88)](_0x219658[0x0]||null);};this[_0x3f101d(0xb3)](_0x2519e4,_0x3f101d(0xa3),_0x5b1777),this[_0x3f101d(0xb3)](_0x2519e4,_0x3f101d(0x7e),(_0x2758de,{isAnnotationTracked:_0x2c5e72})=>{const _0x35c152=_0x3f101d;this[_0x35c152(0x9b)]&&_0x2c5e72(this[_0x35c152(0x9b)])&&this[_0x35c152(0x88)](null);}),this[_0x3f101d(0xb3)](_0x2519e4,_0x3f101d(0xb9),()=>{const _0x41b18e=_0x3f101d;this[_0x41b18e(0x87)]();}),this[_0x3f101d(0xb3)](this[_0x3f101d(0x81)],_0x3f101d(0x7e),_0x532eae=>{const _0x4cd9e3=_0x3f101d;_0x2519e4[_0x4cd9e3(0x89)]()&&(_0x5b1777(),_0x532eae[_0x4cd9e3(0xbe)]());},{'priority':_0x3f101d(0x85)}),this[_0x3f101d(0x9d)][_0x3f101d(0xa1)](_0x2519e4);}[_0x1a03c8(0x95)](_0x2422ea){const _0x310afe=_0x1a03c8;this[_0x310afe(0x80)](_0x2422ea),this[_0x310afe(0x9d)][_0x310afe(0xc1)](_0x2422ea);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10cfcd=_0x34d7;function _0x34d7(_0x39062d,_0x2e4870){const _0x1a5754=_0x1a57();return _0x34d7=function(_0x34d7fc,_0x5f2fd6){_0x34d7fc=_0x34d7fc-0xf7;let _0x58bd9a=_0x1a5754[_0x34d7fc];return _0x58bd9a;},_0x34d7(_0x39062d,_0x2e4870);}(function(_0x307961,_0x3f3dc8){const _0x482683=_0x34d7,_0x401873=_0x307961();while(!![]){try{const _0x552f99=parseInt(_0x482683(0x112))/0x1*(-parseInt(_0x482683(0x101))/0x2)+-parseInt(_0x482683(0x104))/0x3+parseInt(_0x482683(0x129))/0x4+parseInt(_0x482683(0x110))/0x5+-parseInt(_0x482683(0x102))/0x6*(parseInt(_0x482683(0x128))/0x7)+-parseInt(_0x482683(0xff))/0x8+parseInt(_0x482683(0x10d))/0x9;if(_0x552f99===_0x3f3dc8)break;else _0x401873['push'](_0x401873['shift']());}catch(_0x135d5f){_0x401873['push'](_0x401873['shift']());}}}(_0x1a57,0x2f456));import{Command as _0x4bcd6f}from'ckeditor5/src/core.js';import{uid as _0x317699,CKEditorError as _0x2c1a36}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x4bcd6f{constructor(_0x1f0ee7){const _0xbf1296=_0x34d7;super(_0x1f0ee7),this[_0xbf1296(0x11f)](_0xbf1296(0x115),!0x1);}[_0x10cfcd(0x11b)](){const _0x484605=_0x10cfcd,_0x7ef04=this[_0x484605(0x10f)][_0x484605(0x122)][_0x484605(0x125)][_0x484605(0x113)];this[_0x484605(0x10e)]=!0x0,this[_0x484605(0x115)]=!0x1;for(const _0x5ebd0f of _0x7ef04[_0x484605(0x103)]())if(this[_0x484605(0x124)](_0x5ebd0f))return void(this[_0x484605(0x115)]=!0x0);}[_0x10cfcd(0x121)]({threadId:_0x68dfd5=_0x317699(),ranges:_0x5ed0ed,comment:_0x124d6c}={}){const _0x2d5ad1=_0x10cfcd,_0x401c21=this[_0x2d5ad1(0x10f)][_0x2d5ad1(0x122)],_0x203d9a=_0x5ed0ed??Array[_0x2d5ad1(0xf9)](_0x401c21[_0x2d5ad1(0x125)][_0x2d5ad1(0x113)][_0x2d5ad1(0x103)]()),_0x28d43d=[];for(const _0x414842 of _0x203d9a)this[_0x2d5ad1(0x124)](_0x414842)&&_0x28d43d[_0x2d5ad1(0xf7)](this[_0x2d5ad1(0xfb)](_0x414842));if(!_0x28d43d[_0x2d5ad1(0x111)])throw new _0x2c1a36(_0x2d5ad1(0x12a),null);_0x124d6c&&this[_0x2d5ad1(0x11c)](_0x68dfd5,_0x124d6c),this[_0x2d5ad1(0x109)](_0x68dfd5,_0x28d43d,!!_0x124d6c);}[_0x10cfcd(0x109)](_0x550953,_0x1c16ec,_0x19346b){const _0x799ea=_0x10cfcd;this[_0x799ea(0x10f)][_0x799ea(0x122)][_0x799ea(0xfd)](_0x2c8a32=>{const _0x516eed=_0x799ea;for(const _0x1bfbd9 of _0x1c16ec){const _0x28559c=_0x317699()[_0x516eed(0x11e)](0x1,0x5),_0x15e869=_0x516eed(0x119)+_0x550953+':'+_0x28559c;_0x2c8a32[_0x516eed(0x106)](_0x15e869,{'range':_0x1bfbd9,'usingOperation':_0x19346b,'affectsData':_0x19346b});}});}[_0x10cfcd(0x11c)](_0x2a1b61,_0x58211d){const _0x33cbc5=_0x10cfcd,_0x3fa363=this[_0x33cbc5(0x10f)][_0x33cbc5(0x107)][_0x33cbc5(0x105)](_0x33cbc5(0x108)),_0x2d3768=this[_0x33cbc5(0x10f)][_0x33cbc5(0xfe)][_0x33cbc5(0x105)](_0x33cbc5(0x11a)),_0x51239f=this[_0x33cbc5(0x10f)][_0x33cbc5(0x107)][_0x33cbc5(0x105)](_0x33cbc5(0x100))['me'];if(!_0x51239f)throw new _0x2c1a36(_0x33cbc5(0x114),null);_0x3fa363[_0x33cbc5(0xfc)]({'threadId':_0x2a1b61,'channelId':_0x2d3768,'comments':[{'authorId':_0x51239f['id'],'content':_0x58211d,'createdAt':new Date(),'attributes':{}}]});}[_0x10cfcd(0x124)](_0x32a333){const _0x491169=_0x10cfcd;for(const _0x42c359 of _0x32a333[_0x491169(0x126)]())if(this[_0x491169(0x10b)](_0x42c359))return!0x0;return!0x1;}[_0x10cfcd(0x10b)](_0x4c057f){const _0x7c7fd4=_0x10cfcd;return _0x4c057f['is'](_0x7c7fd4(0x118))||this[_0x7c7fd4(0x10f)][_0x7c7fd4(0x122)][_0x7c7fd4(0x10c)][_0x7c7fd4(0x10a)](_0x4c057f)&&!_0x4c057f['is'](_0x7c7fd4(0xf8),_0x7c7fd4(0xfa));}[_0x10cfcd(0xfb)](_0x42616f){const _0x5b7273=_0x10cfcd,_0x8b2b20=_0x2b75b5=>!this[_0x5b7273(0x10b)](_0x2b75b5[_0x5b7273(0x123)]),_0x1cb735=_0x42616f[_0x5b7273(0x116)][_0x5b7273(0x11d)](_0x8b2b20),_0x3a1285=_0x42616f[_0x5b7273(0x117)][_0x5b7273(0x11d)](_0x8b2b20,{'direction':_0x5b7273(0x120)});return this[_0x5b7273(0x10f)][_0x5b7273(0x122)][_0x5b7273(0x127)](_0x1cb735,_0x3a1285);}}function _0x1a57(){const _0x130672=['addCommentThread','change','config','1946312dUKYSS','Users','6KclgJE','185502RwtEJP','getRanges','1086201aOwmLV','get','addMarker','plugins','CommentsRepository','_createMarkersFromRanges','isObject','_itemIsContent','schema','7286391nfDanf','isEnabled','editor','183280FAWOfC','length','30780AAwXDe','selection','addcommentthreadcommand-user-not-found','hasContent','start','end','$textProxy','comment:','collaboration.channelId','refresh','_createCommentThread','getLastMatchingPosition','substr','set','backward','execute','model','item','_hasContent','document','getItems','createRange','35PoWYwB','798592KhQJFb','addcommentthreadcommand-incorrect-ranges','push','element','from','tableCell','_trimToContent'];_0x1a57=function(){return _0x130672;};return _0x1a57();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e80b7=_0x4989;function _0x3593(){const _0x42e67f=['listenTo','add','138354BxnHWX','get','context','collection','findIndex','isActive','highest','24oHCFrF','CommentsArchive','addCommentThread','_calculatePosition','plugins','isOfficialPlugin','isPremiumPlugin','getCommentThread','archivedThreads','length','stopListening','30lKKSoL','pluginName','3014ikgsWU','115NYNOwl','activate','change:archivedAt','removeCommentThread','archivedAt','has','remove','9840635KYoabq','isVisible','focus','init','14168341lZlaVi','requires','1867626IwEZiO','2453448WxQwTk','401QtkwyC','6224320oKNgmg'];_0x3593=function(){return _0x42e67f;};return _0x3593();}(function(_0x1eb64b,_0x3cedbf){const _0x552da5=_0x4989,_0x41abba=_0x1eb64b();while(!![]){try{const _0x54fd6a=parseInt(_0x552da5(0x181))/0x1*(parseInt(_0x552da5(0x171))/0x2)+-parseInt(_0x552da5(0x180))/0x3+-parseInt(_0x552da5(0x182))/0x4+-parseInt(_0x552da5(0x172))/0x5*(parseInt(_0x552da5(0x185))/0x6)+-parseInt(_0x552da5(0x179))/0x7+parseInt(_0x552da5(0x18c))/0x8*(parseInt(_0x552da5(0x17f))/0x9)+-parseInt(_0x552da5(0x16f))/0xa*(-parseInt(_0x552da5(0x17d))/0xb);if(_0x54fd6a===_0x3cedbf)break;else _0x41abba['push'](_0x41abba['shift']());}catch(_0x3d8dc5){_0x41abba['push'](_0x41abba['shift']());}}}(_0x3593,0xbea54));function _0x4989(_0x5ab674,_0x1fba24){const _0x359371=_0x3593();return _0x4989=function(_0x49890d,_0x4a630a){_0x49890d=_0x49890d-0x16f;let _0x57e5e3=_0x359371[_0x49890d];return _0x57e5e3;},_0x4989(_0x5ab674,_0x1fba24);}import{ContextPlugin as _0x4bdd4d}from'ckeditor5/src/core.js';import{Collection as _0x291c53}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2fe4b0}from'./commentsrepository.js';import{Annotations as _0x1db8dc}from'../annotations/annotations.js';export class CommentsArchive extends _0x4bdd4d{static get[_0x4e80b7(0x170)](){const _0x5c4da3=_0x4e80b7;return _0x5c4da3(0x18d);}static get[_0x4e80b7(0x191)](){return!0x0;}static get[_0x4e80b7(0x192)](){return!0x0;}static get[_0x4e80b7(0x17e)](){return[_0x2fe4b0,_0x1db8dc];}constructor(_0x526c84){const _0x2abb7e=_0x4e80b7;super(_0x526c84),this[_0x2abb7e(0x194)]=new _0x291c53();}[_0x4e80b7(0x17c)](){const _0x161cb0=_0x4e80b7,_0x48d5dd=this[_0x161cb0(0x187)],_0x17ea44=_0x48d5dd[_0x161cb0(0x190)][_0x161cb0(0x186)](_0x2fe4b0),_0x4111a8=_0x48d5dd[_0x161cb0(0x190)][_0x161cb0(0x186)](_0x1db8dc);this[_0x161cb0(0x183)](_0x17ea44,_0x161cb0(0x18e),(_0xcb8a7d,{threadId:_0x20a078})=>{const _0x3ca03b=_0x161cb0,_0x20f67e=_0x17ea44[_0x3ca03b(0x193)](_0x20a078);_0x20f67e[_0x3ca03b(0x176)]&&this[_0x3ca03b(0x194)][_0x3ca03b(0x184)](_0x20f67e,this[_0x3ca03b(0x18f)](_0x20f67e[_0x3ca03b(0x176)])),this[_0x3ca03b(0x183)](_0x20f67e,_0x3ca03b(0x174),(_0x2a3c62,_0x1691b4,_0x594a90)=>{const _0xcdcd42=_0x3ca03b;_0x594a90?this[_0xcdcd42(0x194)][_0xcdcd42(0x177)](_0x20f67e)||this[_0xcdcd42(0x194)][_0xcdcd42(0x184)](_0x20f67e,this[_0xcdcd42(0x18f)](_0x20f67e[_0xcdcd42(0x176)])):this[_0xcdcd42(0x194)][_0xcdcd42(0x177)](_0x20f67e)&&this[_0xcdcd42(0x194)][_0xcdcd42(0x178)](_0x20f67e);});}),this[_0x161cb0(0x183)](_0x17ea44,_0x161cb0(0x175),(_0x5d7389,{threadId:_0x227b94})=>{const _0x520067=_0x161cb0,_0x564319=_0x17ea44[_0x520067(0x193)](_0x227b94);this[_0x520067(0x196)](_0x564319),this[_0x520067(0x194)][_0x520067(0x177)](_0x564319)&&this[_0x520067(0x194)][_0x520067(0x178)](_0x564319);},{'priority':_0x161cb0(0x18b)}),this[_0x161cb0(0x183)](_0x4111a8[_0x161cb0(0x188)],_0x161cb0(0x17b),(_0x2c28cd,_0x8c15e8)=>{const _0x4f7c47=_0x161cb0;_0x8c15e8[_0x4f7c47(0x17a)]||(_0x8c15e8[_0x4f7c47(0x18a)]=!0x0,_0x4111a8[_0x4f7c47(0x173)](_0x8c15e8));});}[_0x4e80b7(0x18f)](_0x1797ed){const _0x45d952=_0x4e80b7,_0x25a7af=[...this[_0x45d952(0x194)]][_0x45d952(0x189)](_0x376982=>_0x376982[_0x45d952(0x176)]<_0x1797ed);return _0x25a7af>-0x1?_0x25a7af:this[_0x45d952(0x194)][_0x45d952(0x195)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x386368=_0x4c9e;(function(_0x853a8c,_0x1ab6b2){const _0x43a529=_0x4c9e,_0x5ee833=_0x853a8c();while(!![]){try{const _0x49a505=parseInt(_0x43a529(0x108))/0x1+parseInt(_0x43a529(0xc5))/0x2+-parseInt(_0x43a529(0xfe))/0x3+-parseInt(_0x43a529(0xcc))/0x4+-parseInt(_0x43a529(0x109))/0x5+parseInt(_0x43a529(0xd3))/0x6+parseInt(_0x43a529(0xfb))/0x7;if(_0x49a505===_0x1ab6b2)break;else _0x5ee833['push'](_0x5ee833['shift']());}catch(_0x235880){_0x5ee833['push'](_0x5ee833['shift']());}}}(_0x1359,0xc7419));import'../../theme/commentsarchive.css';import{Plugin as _0x1c7a29}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x4b3ed4}from'ckeditor5/src/icons.js';import{ViewCollection as _0x7929a2,MenuBarMenuListItemButtonView as _0x474f5c,ButtonView as _0x1a9c0c,Dialog as _0x3b781f,DialogViewPosition as _0xcfcd79}from'ckeditor5/src/ui.js';import{getTranslation as _0x17b38c}from'../utils/common-translations.js';function _0x1359(){const _0x2dde3b=['length','remove','218226tAzcYe','_calculatePosition','locale','_handleNewThread','archivedAt','_threadToController','archivedThreads','isOn','isOfficialPlugin','set','619086OThIJK','6706340GHvVhI','isEnabled','annotationViews','collaboration.channelId','Annotations','escape','find','config','2845864ANbiYD','return','splice','menuitemcheckbox','indexOf','editor','_hideDialogOnAnnotationEscape','581612KzqjPl','COMMENTS_ARCHIVE','tooltip','get','set:isVisible','init','findIndex','912660NQuBzO','_createCommentsArchiveButton','CommentsRepository','_pendingThreads','Dialog','menuBar:commentsArchive','_toggleDialog','getByInnerView','stop','execute','bind','isPremiumPlugin','pluginName','filter','CommentsArchiveUI','_visibleAnnotations','forEach','_addAnnotationToArchive','isVisible','collection','includes','plugins','source','channelId','view','push','commentsArchiveView','componentFactory','add','requires','isOpen','listenTo','EDITOR_TOP_SIDE','focusableElements','innerView','hide','stopListening','commentsArchive','has','show','1270066GJmvMh'];_0x1359=function(){return _0x2dde3b;};return _0x1359();}import{CommentsArchiveView as _0x572da5}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xe8ec2e}from'./commentsarchive.js';function _0x4c9e(_0x3912ae,_0x55bc10){const _0x135939=_0x1359();return _0x4c9e=function(_0x4c9e27,_0x4c3d64){_0x4c9e27=_0x4c9e27-0xc3;let _0x34e7d7=_0x135939[_0x4c9e27];return _0x34e7d7;},_0x4c9e(_0x3912ae,_0x55bc10);}export class CommentsArchiveUI extends _0x1c7a29{[_0x386368(0xed)];[_0x386368(0x10b)];[_0x386368(0xd6)];static get[_0x386368(0xdf)](){const _0x5039f0=_0x386368;return _0x5039f0(0xe1);}static get[_0x386368(0x106)](){return!0x0;}static get[_0x386368(0xde)](){return!0x0;}static get[_0x386368(0xf0)](){return[_0xe8ec2e,_0x3b781f];}constructor(_0x29cb05){const _0x5e7649=_0x386368;super(_0x29cb05),this[_0x5e7649(0x10b)]=new _0x7929a2(),this[_0x5e7649(0xd6)]=[];}[_0x386368(0xd1)](){const _0x1df96e=_0x386368,_0x342985=this[_0x1df96e(0xca)],_0x10322b=this[_0x1df96e(0xcb)][_0x1df96e(0xdd)](this);_0x342985['ui'][_0x1df96e(0xee)][_0x1df96e(0xef)](_0x1df96e(0xf8),()=>this[_0x1df96e(0xd4)](_0x1a9c0c,!0x0)),_0x342985['ui'][_0x1df96e(0xee)][_0x1df96e(0xef)](_0x1df96e(0xd8),()=>{const _0x3fa90c=_0x1df96e,_0x4690af=this[_0x3fa90c(0xd4)](_0x474f5c);return _0x4690af[_0x3fa90c(0x107)]({'role':_0x3fa90c(0xc8)}),_0x4690af;});const _0x261afa=_0x342985[_0x1df96e(0xe8)][_0x1df96e(0xcf)](_0xe8ec2e),_0x1f7138=_0x342985[_0x1df96e(0xe8)][_0x1df96e(0xcf)](_0x1df96e(0x10d)),_0x4e46ca=_0x342985[_0x1df96e(0xe8)][_0x1df96e(0xcf)](_0x1df96e(0xd5));_0x261afa[_0x1df96e(0x104)][_0x1df96e(0xe3)](_0x43a38d=>{const _0x452fe3=_0x1df96e;this[_0x452fe3(0x101)](_0x43a38d);}),this[_0x1df96e(0xf2)](_0x261afa[_0x1df96e(0x104)],_0x1df96e(0xef),(_0x2a8a54,_0xd309ae)=>{const _0x1a4e1c=_0x1df96e;this[_0x1a4e1c(0x101)](_0xd309ae);}),this[_0x1df96e(0xf2)](_0x1f7138[_0x1df96e(0xe6)],_0x1df96e(0xef),(_0x20e350,_0x2ce8bd)=>{const _0x40482e=_0x1df96e,_0x2ef782=this[_0x40482e(0xd6)][_0x40482e(0xc3)](_0x204872=>{const _0x568906=_0x40482e,_0x4be0b8=_0x4e46ca[_0x568906(0x103)][_0x568906(0xcf)](_0x204872);return _0x4be0b8&&_0x2ce8bd[_0x568906(0xf5)]===_0x4be0b8[_0x568906(0xeb)];});if(_0x2ef782){const _0x1a9745=this[_0x40482e(0xff)](_0x2ef782[_0x40482e(0x102)]);this[_0x40482e(0xe4)](_0x2ce8bd,_0x1a9745),this[_0x40482e(0xd6)][_0x40482e(0xc7)](this[_0x40482e(0xd6)][_0x40482e(0xc9)](_0x2ef782),0x1);}}),this[_0x1df96e(0xf2)](_0x261afa[_0x1df96e(0x104)],_0x1df96e(0xfd),(_0x4a9046,_0x15c550)=>{const _0x12d06c=_0x1df96e,_0x27b429=_0x342985[_0x12d06c(0xc4)][_0x12d06c(0xcf)](_0x12d06c(0x10c));if(!_0x27b429||_0x15c550[_0x12d06c(0xea)]===_0x27b429){if(this[_0x12d06c(0xd6)][_0x12d06c(0xe7)](_0x15c550))this[_0x12d06c(0xd6)][_0x12d06c(0xc7)](this[_0x12d06c(0xd6)][_0x12d06c(0xc9)](_0x15c550),0x1);else{const _0x3218b8=_0x4e46ca[_0x12d06c(0x103)][_0x12d06c(0xcf)](_0x15c550),_0x4d9b9d=_0x1f7138[_0x12d06c(0xda)](_0x3218b8[_0x12d06c(0xeb)]);this[_0x12d06c(0x10b)][_0x12d06c(0xfd)](_0x4d9b9d[_0x12d06c(0xeb)]),this[_0x12d06c(0xf7)](_0x4d9b9d),this[_0x12d06c(0xf7)](_0x4d9b9d[_0x12d06c(0xf4)]);}}}),this[_0x1df96e(0xf2)](_0x1f7138[_0x1df96e(0xe6)],_0x1df96e(0xef),(_0x2cea5c,_0x101fd2)=>{const _0x5c44b2=_0x1df96e;this[_0x5c44b2(0xf2)](_0x101fd2,_0x5c44b2(0x10e),_0x10322b);}),this[_0x1df96e(0xf2)](_0x1f7138[_0x1df96e(0xe6)],_0x1df96e(0xfd),(_0x4a5912,_0x969199)=>{const _0x4ace05=_0x1df96e;this[_0x4ace05(0xf7)](_0x969199,_0x4ace05(0x10e),_0x10322b);});}[_0x386368(0xe4)](_0x4dc3e9,_0x4c0839){const _0x98c454=_0x386368;this[_0x98c454(0xf2)](_0x4dc3e9,_0x98c454(0xd0),_0x3f8da4=>{const _0x47ee46=_0x98c454;_0x3f8da4[_0x47ee46(0xc6)]=!0x1,_0x3f8da4[_0x47ee46(0xdb)]();}),this[_0x98c454(0x10b)][_0x98c454(0xef)](_0x4dc3e9[_0x98c454(0xeb)],_0x4c0839);}[_0x386368(0x101)](_0x167e27){const _0x18ead1=_0x386368,_0x159bc1=this[_0x18ead1(0xca)][_0x18ead1(0xe8)][_0x18ead1(0xcf)](_0x18ead1(0xd5)),_0x5d894b=this[_0x18ead1(0xca)][_0x18ead1(0xe8)][_0x18ead1(0xcf)](_0x18ead1(0x10d)),_0x1f3085=this[_0x18ead1(0xca)][_0x18ead1(0xc4)][_0x18ead1(0xcf)](_0x18ead1(0x10c));if(!_0x1f3085||_0x167e27[_0x18ead1(0xea)]===_0x1f3085){const _0x312351=_0x159bc1[_0x18ead1(0x103)][_0x18ead1(0xcf)](_0x167e27);if(!_0x312351)return void this[_0x18ead1(0xd6)][_0x18ead1(0xec)](_0x167e27);const _0x1dcf0a=this[_0x18ead1(0xff)](_0x167e27[_0x18ead1(0x102)]),_0x52edeb=_0x5d894b[_0x18ead1(0xda)](_0x312351[_0x18ead1(0xeb)]);_0x52edeb[_0x18ead1(0xe5)]&&_0x5d894b[_0x18ead1(0xe2)][_0x18ead1(0xfd)](_0x52edeb),this[_0x18ead1(0xe4)](_0x52edeb,_0x1dcf0a);}}[_0x386368(0xff)](_0x1b0478){const _0x4e926a=_0x386368,_0x142828=this[_0x4e926a(0xca)][_0x4e926a(0xc4)][_0x4e926a(0xcf)](_0x4e926a(0x10c)),_0x52e68c=[...this[_0x4e926a(0xca)][_0x4e926a(0xe8)][_0x4e926a(0xcf)](_0xe8ec2e)[_0x4e926a(0x104)]][_0x4e926a(0xe0)](_0x283895=>_0x283895[_0x4e926a(0xea)]===_0x142828)[_0x4e926a(0xd2)](_0x3cfb90=>_0x3cfb90[_0x4e926a(0x102)]<_0x1b0478);return _0x52e68c<0x0||_0x52e68c>this[_0x4e926a(0x10b)][_0x4e926a(0xfc)]?this[_0x4e926a(0x10b)][_0x4e926a(0xfc)]:_0x52e68c-0x1;}[_0x386368(0xd9)](){const _0x663aee=_0x386368,_0x2dd95f=this[_0x663aee(0xca)],_0x33f289=_0x2dd95f[_0x663aee(0xe8)][_0x663aee(0xcf)](_0x663aee(0xd7));this[_0x663aee(0xed)]||(this[_0x663aee(0xed)]=new _0x572da5(_0x2dd95f[_0x663aee(0x100)],this[_0x663aee(0x10b)])),_0x663aee(0xf8)===_0x33f289['id']?_0x33f289[_0x663aee(0xf6)]():_0x33f289[_0x663aee(0xfa)]({'id':_0x663aee(0xf8),'title':_0x17b38c(_0x2dd95f[_0x663aee(0x100)],_0x663aee(0xcd)),'icon':_0x4b3ed4,'hasCloseButton':!0x0,'content':this[_0x663aee(0xed)],'position':_0xcfcd79[_0x663aee(0xf3)]});}[_0x386368(0xd4)](_0x53d641,_0x26192d=!0x1){const _0x4ed04b=_0x386368,_0x3d6f21=this[_0x4ed04b(0xca)][_0x4ed04b(0x100)],_0xd421d=this[_0x4ed04b(0xca)][_0x4ed04b(0xe8)][_0x4ed04b(0xcf)](_0x4ed04b(0xd7)),_0x1c11e3=new _0x53d641(_0x3d6f21);return _0x1c11e3[_0x4ed04b(0xdd)](_0x4ed04b(0x10a))['to'](this,_0x4ed04b(0x10a)),_0x1c11e3[_0x4ed04b(0xdd)](_0x4ed04b(0x105))['to'](_0xd421d,'id',_0x3037b7=>_0x4ed04b(0xf8)===_0x3037b7),_0x1c11e3[_0x4ed04b(0x107)]({'label':_0x17b38c(_0x3d6f21,_0x4ed04b(0xcd)),'icon':_0x4b3ed4,'isToggleable':!0x0}),_0x26192d&&(_0x1c11e3[_0x4ed04b(0xce)]=!0x0),this[_0x4ed04b(0xf2)](_0x1c11e3,_0x4ed04b(0xdc),()=>this[_0x4ed04b(0xd9)]()),_0x1c11e3;}[_0x386368(0xcb)]=_0x29ad95=>{const _0x1a374f=_0x386368,_0x28cd4a=_0x29ad95[_0x1a374f(0xe9)];if(!this[_0x1a374f(0x10b)][_0x1a374f(0xf9)](_0x28cd4a[_0x1a374f(0xeb)]))return;const _0x4c3eeb=this[_0x1a374f(0xca)][_0x1a374f(0xe8)][_0x1a374f(0xcf)](_0x1a374f(0xd7));_0x4c3eeb[_0x1a374f(0xf1)]&&_0x1a374f(0xf8)===_0x4c3eeb['id']&&(_0x4c3eeb[_0x1a374f(0xf6)](),_0x29ad95[_0x1a374f(0xdb)]());};}
|