@ckeditor/ckeditor5-comments 47.6.2 → 47.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1d8b13=_0xeab1;(function(_0x5393bf,_0x56efd5){const _0x73888a=_0xeab1,_0x266270=_0x5393bf();while(!![]){try{const _0x1d56d9=parseInt(_0x73888a(0x1cc))/0x1+parseInt(_0x73888a(0x1b7))/0x2+-parseInt(_0x73888a(0x1cd))/0x3*(parseInt(_0x73888a(0x1db))/0x4)+parseInt(_0x73888a(0x1ae))/0x5+-parseInt(_0x73888a(0x202))/0x6+parseInt(_0x73888a(0x1e6))/0x7*(-parseInt(_0x73888a(0x1da))/0x8)+-parseInt(_0x73888a(0x1f3))/0x9*(-parseInt(_0x73888a(0x1cb))/0xa);if(_0x1d56d9===_0x56efd5)break;else _0x266270['push'](_0x266270['shift']());}catch(_0x10eeb3){_0x266270['push'](_0x266270['shift']());}}}(_0x1994,0x6d458));function _0xeab1(_0x597b6f,_0x2e5e89){const _0x19941c=_0x1994();return _0xeab1=function(_0xeab138,_0x2a7791){_0xeab138=_0xeab138-0x1ae;let _0x1e9fd5=_0x19941c[_0xeab138];return _0x1e9fd5;},_0xeab1(_0x597b6f,_0x2e5e89);}function _0x1994(){const _0x14db70=['615870rNPagJ','add','_getTargetTop','list','_getItemAfter','_annotations','_alignToTargetRect','refresh','set','990678tHPSNI','target','_recalculateBuffer','appendChild','isAnimationDisabled','_lastItem','_spaceBetweenItems','top','delete','change:top','view','bottom','_updateLastItem','last','render','class','_activeAnnotation','_annotationToSidebarItemView','clear','isOfficialPlugin','12848190HFDjvL','351769jYbMAw','258WlpiqH','change:bottom','targetRect','setContainer','_detachFromContainer','_getMaxAvailableTop','_targetTop','destroy','_attachToContainer','isActive','_alignForBottomChange','pluginName','_alignForTopChange','296XdiAdr','28084ddDhdZ','sidebar-attachtocontainer-missing-container','element','bind','getSidebarItemView','stopListening','_getItemBefore','locale','getIndex','unbind','content','124719Pqtsxn','context','_alignAfterItem','minHeight','height','push','_destroySidebarItemView','isPremiumPlugin','config','max','define','change:targetRect','sidebar-setcontainer-invalid-element','9vkaSvW','addAnnotation','get','Sidebar','_createSidebarView','length','sidebar.preventScrollOutOfView','object','remove','nodeType','_setItemTop','container','rearrange','listenTo','updateHeight','3266940PCRCqf','init','sidebar.container','_recalculate','change:_lastItem','_sidebarItemViewToAnnotation','_alignBeforeItem'];_0x1994=function(){return _0x14db70;};return _0x1994();}import{ContextPlugin as _0x40454b}from'ckeditor5/src/core.js';import{Rect as _0x340807,CKEditorError as _0x478a0d}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x32ba6d}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x3c9341}from'./view/sidebaritemview.js';export class Sidebar extends _0x40454b{[_0x1d8b13(0x1c1)];[_0x1d8b13(0x1c7)];[_0x1d8b13(0x1b3)];[_0x1d8b13(0x1bd)];[_0x1d8b13(0x207)];[_0x1d8b13(0x1c8)];[_0x1d8b13(0x1b9)];static get[_0x1d8b13(0x1d8)](){const _0x4b27e6=_0x1d8b13;return _0x4b27e6(0x1f6);}static get[_0x1d8b13(0x1ca)](){return!0x0;}static get[_0x1d8b13(0x1ed)](){return!0x0;}constructor(_0x230bc9){const _0x18254a=_0x1d8b13;super(_0x230bc9),this[_0x18254a(0x1b6)](_0x18254a(0x1bc),void 0x0),this[_0x18254a(0x1c1)]=this[_0x18254a(0x1f7)](),this[_0x18254a(0x1b6)](_0x18254a(0x1fe),null),this[_0x18254a(0x1bd)]=0x19,this[_0x18254a(0x207)]=new Map(),this[_0x18254a(0x1c8)]=new Map(),this[_0x18254a(0x1e7)][_0x18254a(0x1ee)][_0x18254a(0x1f0)](_0x18254a(0x1f9),!0x1),this[_0x18254a(0x1b3)]=null,this[_0x18254a(0x1c7)]=null,this[_0x18254a(0x1b9)]=[];}[_0x1d8b13(0x203)](){const _0x3a4c02=_0x1d8b13,_0x259de0=this[_0x3a4c02(0x1e7)][_0x3a4c02(0x1ee)][_0x3a4c02(0x1f5)](_0x3a4c02(0x204));_0x259de0&&this[_0x3a4c02(0x1d0)](_0x259de0);}[_0x1d8b13(0x1d0)](_0x3fbe89){const _0x2b8a43=_0x1d8b13;if(!g(_0x3fbe89))throw new _0x478a0d(_0x2b8a43(0x1f2));this[_0x2b8a43(0x1fe)]=_0x3fbe89;}[_0x1d8b13(0x1d5)]({viewClass:_0x54677d='',spaceBetweenItems:_0x2c03fa=0x19}={}){const _0x5265a8=_0x1d8b13;if(!g(this[_0x5265a8(0x1fe)]))throw new _0x478a0d(_0x5265a8(0x1dc),this);this[_0x5265a8(0x1fe)][_0x5265a8(0x1ba)](this[_0x5265a8(0x1c1)][_0x5265a8(0x1dd)]),this[_0x5265a8(0x1c1)][_0x5265a8(0x1c6)]=_0x54677d,this[_0x5265a8(0x1bd)]=_0x2c03fa;}[_0x1d8b13(0x1ff)]({removedAnnotation:_0x221879,previousAnnotation:_0xd95b33,nextAnnotation:_0x123820}){const _0x18f03b=_0x1d8b13,_0x280a49=this[_0x18f03b(0x1df)](_0x221879);this[_0x18f03b(0x1c1)][_0x18f03b(0x1b1)][_0x18f03b(0x1fb)](_0x280a49),this[_0x18f03b(0x1ec)](_0x221879),_0xd95b33&&this[_0x18f03b(0x1b4)](this[_0x18f03b(0x1df)](_0xd95b33)),_0x123820&&this[_0x18f03b(0x1b4)](this[_0x18f03b(0x1df)](_0x123820)),this[_0x18f03b(0x1c3)]();}[_0x1d8b13(0x1b5)]({blurredAnnotation:_0x14f19b,activatedAnnotation:_0x38aa4b,disableAnimationOnActivatedAnnotation:_0x4dc4f4}){const _0x49f06b=_0x1d8b13;if(this[_0x49f06b(0x1c7)]=_0x38aa4b,_0x14f19b){_0x14f19b[_0x49f06b(0x1d6)]=!0x1;const _0xe6ab65=this[_0x49f06b(0x1df)](_0x14f19b);_0xe6ab65&&_0x4dc4f4&&(_0xe6ab65[_0x49f06b(0x1bb)]=!0x1);}if(_0x38aa4b){const _0x1f8df1=this[_0x49f06b(0x1df)](_0x38aa4b);_0x1f8df1&&(_0x38aa4b[_0x49f06b(0x1d6)]=!0x0,_0x4dc4f4&&(_0x1f8df1[_0x49f06b(0x1bb)]=!0x0,_0x1f8df1[_0x49f06b(0x1be)]+=0x1),this[_0x49f06b(0x1b4)](_0x1f8df1));}}[_0x1d8b13(0x1d1)](_0x4a7b34){const _0x4f75be=_0x1d8b13;if(this[_0x4f75be(0x1c1)][_0x4f75be(0x1dd)][_0x4f75be(0x1fb)](),_0x4a7b34){for(const _0x68863b of _0x4a7b34)this[_0x4f75be(0x1ec)](_0x68863b);}this[_0x4f75be(0x1c1)][_0x4f75be(0x1b1)][_0x4f75be(0x1c9)](),this[_0x4f75be(0x1c1)][_0x4f75be(0x1c6)]='',this[_0x4f75be(0x1bc)]=null;}[_0x1d8b13(0x1f4)](_0x1f1787,_0x30b2ef){const _0x4875a5=_0x1d8b13;_0x30b2ef||(_0x30b2ef=_0x1f1787[_0x4875a5(0x1c1)]);const _0x2c3a16=new _0x3c9341(this[_0x4875a5(0x1e7)][_0x4875a5(0x1e2)]);this[_0x4875a5(0x207)][_0x4875a5(0x1b6)](_0x2c3a16,_0x1f1787),this[_0x4875a5(0x1c8)][_0x4875a5(0x1b6)](_0x1f1787,_0x2c3a16),_0x2c3a16[_0x4875a5(0x1e5)][_0x4875a5(0x1af)](_0x30b2ef),this[_0x4875a5(0x200)](_0x1f1787[_0x4875a5(0x1c1)],_0x4875a5(0x1f1),(_0x206f17,_0x2c28b1,_0x37c431)=>{const _0x24a23b=_0x4875a5,_0x4c1084=this[_0x24a23b(0x1b0)](_0x1f1787,_0x37c431);_0x2c3a16[_0x24a23b(0x1d3)]!=_0x4c1084&&(_0x2c3a16[_0x24a23b(0x1d3)]=_0x4c1084,this[_0x24a23b(0x1fd)](_0x2c3a16,_0x4c1084));}),this[_0x4875a5(0x200)](_0x2c3a16,_0x4875a5(0x1c0),()=>{const _0xa46ae1=_0x4875a5;this[_0xa46ae1(0x205)](_0x2c3a16,_0xa46ae1(0x1be));}),this[_0x4875a5(0x200)](_0x2c3a16,_0x4875a5(0x1ce),()=>{const _0x4d9c67=_0x4875a5;this[_0x4d9c67(0x205)](_0x2c3a16,_0x4d9c67(0x1c2));}),this[_0x4875a5(0x1b4)](_0x2c3a16);const _0x318366=this[_0x4875a5(0x1e1)](_0x2c3a16);if(_0x318366)this[_0x4875a5(0x1e8)](_0x318366,_0x2c3a16)||this[_0x4875a5(0x1b4)](_0x2c3a16);else this[_0x4875a5(0x1b4)](_0x2c3a16);return this[_0x4875a5(0x1c3)](),this[_0x4875a5(0x1c1)][_0x4875a5(0x1b1)][_0x4875a5(0x1af)](_0x2c3a16),_0x2c3a16;}[_0x1d8b13(0x1d9)](_0x1301a8){const _0x214146=_0x1d8b13;if(!_0x1301a8[_0x214146(0x1e5)][_0x214146(0x1f8)])return;const _0x559d17=this[_0x214146(0x1e1)](_0x1301a8);if(!_0x559d17)return;const _0xb9b006=this[_0x214146(0x207)][_0x214146(0x1f5)](_0x559d17),_0x403ad8=this[_0x214146(0x1c7)];_0x403ad8&&_0x403ad8===_0xb9b006?this[_0x214146(0x1e8)](_0x559d17,_0x1301a8):this[_0x214146(0x208)](_0x1301a8,_0x559d17);}[_0x1d8b13(0x1d7)](_0x5df1c5){const _0x58b3b9=_0x1d8b13;if(!_0x5df1c5[_0x58b3b9(0x1e5)][_0x58b3b9(0x1f8)])return;const _0x1d6572=this[_0x58b3b9(0x1b2)](_0x5df1c5);if(!_0x1d6572)return;const _0xa534af=this[_0x58b3b9(0x207)][_0x58b3b9(0x1f5)](_0x1d6572),_0x1dde28=this[_0x58b3b9(0x1e7)][_0x58b3b9(0x1ee)][_0x58b3b9(0x1f5)](_0x58b3b9(0x1f9)),_0x48fc9e=this[_0x58b3b9(0x1c7)];_0x48fc9e&&_0x48fc9e===_0xa534af&&_0x1dde28?(this[_0x58b3b9(0x208)](_0x1d6572,_0x5df1c5),this[_0x58b3b9(0x1e8)](_0x5df1c5,_0x1d6572)):_0x48fc9e&&_0x48fc9e===_0xa534af?this[_0x58b3b9(0x208)](_0x1d6572,_0x5df1c5):this[_0x58b3b9(0x1e8)](_0x5df1c5,_0x1d6572);}[_0x1d8b13(0x205)](_0xcebab9,_0x12b3f2){const _0x51ca3f=_0x1d8b13;0x0===this[_0x51ca3f(0x1b9)][_0x51ca3f(0x1f8)]&&setTimeout(()=>{const _0x42be4a=_0x51ca3f;for(const {sidebarItemView:_0x3c9964,changedProp:_0x1de1c0}of this[_0x42be4a(0x1b9)])_0x42be4a(0x1be)===_0x1de1c0?this[_0x42be4a(0x1d9)](_0x3c9964):this[_0x42be4a(0x1d7)](_0x3c9964);this[_0x42be4a(0x1b9)]=[];},0xa),this[_0x51ca3f(0x1b9)][_0x51ca3f(0x1eb)]({'sidebarItemView':_0xcebab9,'changedProp':_0x12b3f2});}[_0x1d8b13(0x1df)](_0x2db926){const _0x508f94=_0x1d8b13;return this[_0x508f94(0x1c8)][_0x508f94(0x1f5)](_0x2db926);}[_0x1d8b13(0x1d4)](){const _0x4c4649=_0x1d8b13;this[_0x4c4649(0x1e0)](),this[_0x4c4649(0x1c1)][_0x4c4649(0x1d4)]();}[_0x1d8b13(0x1ec)](_0xb57104){const _0x264bfd=_0x1d8b13,_0x4a1383=this[_0x264bfd(0x1df)](_0xb57104);this[_0x264bfd(0x1e0)](_0x4a1383),this[_0x264bfd(0x1e0)](_0xb57104[_0x264bfd(0x1c1)]),_0x4a1383[_0x264bfd(0x1d4)](),this[_0x264bfd(0x1c8)][_0x264bfd(0x1bf)](_0xb57104),this[_0x264bfd(0x207)][_0x264bfd(0x1bf)](_0x4a1383);}[_0x1d8b13(0x1f7)](){const _0x123c19=_0x1d8b13,_0x417015=new _0x32ba6d(this[_0x123c19(0x1e7)][_0x123c19(0x1e2)]);return _0x417015[_0x123c19(0x1c5)](),this['on'](_0x123c19(0x206),(_0x2062ad,_0x2b24fd,_0x561188,_0x239524)=>{const _0x203595=_0x123c19;_0x239524&&_0x417015[_0x203595(0x1e4)](_0x203595(0x1e9)),_0x561188?_0x417015[_0x203595(0x1de)](_0x203595(0x1e9))['to'](_0x561188,_0x203595(0x1c2)):_0x417015[_0x203595(0x1e9)]=null;}),_0x417015;}[_0x1d8b13(0x1c3)](){const _0x655373=_0x1d8b13;this[_0x655373(0x1bc)]=this[_0x655373(0x1b3)]?.[_0x655373(0x1c4)]?this[_0x655373(0x1df)](this[_0x655373(0x1b3)][_0x655373(0x1c4)]):null;}[_0x1d8b13(0x1e1)](_0x3593ba){const _0x198af5=_0x1d8b13,_0x3cb1bb=this[_0x198af5(0x207)][_0x198af5(0x1f5)](_0x3593ba),_0x5766b7=_0x3cb1bb&&this[_0x198af5(0x1b3)]?.[_0x198af5(0x1f5)](this[_0x198af5(0x1b3)][_0x198af5(0x1e3)](_0x3cb1bb)-0x1);return _0x5766b7&&this[_0x198af5(0x1df)](_0x5766b7)||null;}[_0x1d8b13(0x1b2)](_0x31ab61){const _0xfa3d1e=_0x1d8b13,_0xbef8ec=this[_0xfa3d1e(0x207)][_0xfa3d1e(0x1f5)](_0x31ab61),_0x16deb0=_0xbef8ec&&this[_0xfa3d1e(0x1b3)]?.[_0xfa3d1e(0x1f5)](this[_0xfa3d1e(0x1b3)][_0xfa3d1e(0x1e3)](_0xbef8ec)+0x1);return _0x16deb0&&this[_0xfa3d1e(0x1df)](_0x16deb0)||null;}[_0x1d8b13(0x208)](_0x3e59ea,_0x4f8391){const _0x4ba54a=_0x1d8b13;_0x3e59ea[_0x4ba54a(0x201)]();const _0xdf6f44=G(_0x4f8391[_0x4ba54a(0x1c2)]+this[_0x4ba54a(0x1bd)],_0x3e59ea[_0x4ba54a(0x1be)]);return!!_0xdf6f44&&(this[_0x4ba54a(0x1fd)](_0x4f8391,_0x4f8391[_0x4ba54a(0x1be)]-_0xdf6f44),!0x0);}[_0x1d8b13(0x1e8)](_0x2cdbdb,_0x2da89f){const _0x4940b0=_0x1d8b13;_0x2cdbdb[_0x4940b0(0x201)]();const _0x3b0ee4=G(_0x2cdbdb[_0x4940b0(0x1c2)]+this[_0x4940b0(0x1bd)],_0x2da89f[_0x4940b0(0x1be)]);return!!_0x3b0ee4&&(this[_0x4940b0(0x1fd)](_0x2da89f,_0x2da89f[_0x4940b0(0x1be)]+_0x3b0ee4,!0x1),!0x0);}[_0x1d8b13(0x1b4)](_0x319b1c){const _0x33d535=_0x1d8b13,_0x3999f7=this[_0x33d535(0x207)][_0x33d535(0x1f5)](_0x319b1c);if(!_0x3999f7||!_0x3999f7[_0x33d535(0x1b8)]||!_0x3999f7[_0x33d535(0x1cf)])return;const _0x229a17=this[_0x33d535(0x1b0)](_0x3999f7,_0x3999f7[_0x33d535(0x1cf)]);this[_0x33d535(0x1fd)](_0x319b1c,_0x229a17);}[_0x1d8b13(0x1b0)](_0xaa1ca6,_0xdea255){const _0x5e49b6=_0x1d8b13;if(null===_0xdea255)return 0x0;if(_0xaa1ca6[_0x5e49b6(0x1b8)]instanceof _0x340807)return _0xdea255[_0x5e49b6(0x1be)];{const _0x5d2c96=new _0x340807(this[_0x5e49b6(0x1c1)][_0x5e49b6(0x1dd)])[_0x5e49b6(0x1be)];return _0xdea255[_0x5e49b6(0x1be)]-_0x5d2c96;}}[_0x1d8b13(0x1fd)](_0x19a6db,_0x8ab575,_0x571208=this[_0x1d8b13(0x1e7)][_0x1d8b13(0x1ee)][_0x1d8b13(0x1f5)](_0x1d8b13(0x1f9))){const _0xccaee1=_0x1d8b13;_0x571208&&(_0x8ab575=Math[_0xccaee1(0x1ef)](_0x8ab575,this[_0xccaee1(0x1d2)](_0x19a6db))),_0x19a6db[_0xccaee1(0x1be)]=_0x8ab575;}[_0x1d8b13(0x1d2)](_0x4cd986){const _0x14d3c4=_0x1d8b13;let _0x427e56=this[_0x14d3c4(0x1e1)](_0x4cd986),_0x45318d=0x0;for(;_0x427e56;)_0x427e56[_0x14d3c4(0x201)](),_0x45318d+=this[_0x14d3c4(0x1bd)]+_0x427e56[_0x14d3c4(0x1ea)],_0x427e56=this[_0x14d3c4(0x1e1)](_0x427e56);return _0x45318d;}}function G(_0x462649,_0x57ee96){const _0xbadef0=_0x1d8b13;return Math[_0xbadef0(0x1ef)](_0x462649-_0x57ee96,0x0);}function g(_0x166291){const _0xcd71ea=_0x1d8b13;return null!==_0x166291&&_0xcd71ea(0x1fa)==typeof _0x166291&&0x1===_0x166291[_0xcd71ea(0x1fc)];}
|
|
23
|
+
const _0x46a923=_0x17a0;(function(_0x3c8024,_0x590cc8){const _0x1ab2c6=_0x17a0,_0x27eedc=_0x3c8024();while(!![]){try{const _0x31ba5f=parseInt(_0x1ab2c6(0x113))/0x1+parseInt(_0x1ab2c6(0x10e))/0x2+parseInt(_0x1ab2c6(0xde))/0x3*(-parseInt(_0x1ab2c6(0xe6))/0x4)+parseInt(_0x1ab2c6(0x10f))/0x5+parseInt(_0x1ab2c6(0xd9))/0x6+parseInt(_0x1ab2c6(0xc7))/0x7+-parseInt(_0x1ab2c6(0x120))/0x8*(parseInt(_0x1ab2c6(0x109))/0x9);if(_0x31ba5f===_0x590cc8)break;else _0x27eedc['push'](_0x27eedc['shift']());}catch(_0x510212){_0x27eedc['push'](_0x27eedc['shift']());}}}(_0x2290,0xb88f3));import{ContextPlugin as _0xda0fd5}from'ckeditor5/src/core.js';import{Rect as _0x2084c2,CKEditorError as _0x1f1e40}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x1de860}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0xa246d5}from'./view/sidebaritemview.js';function _0x17a0(_0x2be8f8,_0x537a9c){const _0x2290e5=_0x2290();return _0x17a0=function(_0x17a01b,_0x568356){_0x17a01b=_0x17a01b-0xc7;let _0x3b8965=_0x2290e5[_0x17a01b];return _0x3b8965;},_0x17a0(_0x2be8f8,_0x537a9c);}function _0x2290(){const _0x449799=['remove','render','get','_alignBeforeItem','_alignToTargetRect','_setItemTop','_alignForTopChange','appendChild','destroy','object','locale','_alignAfterItem','_alignForBottomChange','isActive','_createSidebarView','1494wvmfoI','nodeType','sidebar-setcontainer-invalid-element','_recalculate','_recalculateBuffer','1037172PpTcXy','804030KHmmzm','_destroySidebarItemView','element','_getItemBefore','240723awHOxQ','rearrange','isPremiumPlugin','change:bottom','target','top','refresh','delete','setContainer','stopListening','set','_lastItem','_spaceBetweenItems','86256dMrAMH','10154823cPwRQC','class','context','sidebar-attachtocontainer-missing-container','_detachFromContainer','length','minHeight','_updateLastItem','clear','_annotationToSidebarItemView','updateHeight','list','container','bind','height','getSidebarItemView','_activeAnnotation','config','5262234mcCJFx','max','sidebar.preventScrollOutOfView','change:_lastItem','pluginName','6Bddmpg','_getItemAfter','_getTargetTop','last','view','addAnnotation','_getMaxAvailableTop','push','1404152UCGRbn','listenTo','getIndex','isAnimationDisabled','isOfficialPlugin','_annotations','content','init','bottom','_attachToContainer','targetRect','change:targetRect','_targetTop','sidebar.container','Sidebar','define','add','change:top','_sidebarItemViewToAnnotation','unbind'];_0x2290=function(){return _0x449799;};return _0x2290();}export class Sidebar extends _0xda0fd5{[_0x46a923(0xe2)];[_0x46a923(0xd7)];[_0x46a923(0xeb)];[_0x46a923(0x11f)];[_0x46a923(0xf8)];[_0x46a923(0xd0)];[_0x46a923(0x10d)];static get[_0x46a923(0xdd)](){const _0x8eb97c=_0x46a923;return _0x8eb97c(0xf4);}static get[_0x46a923(0xea)](){return!0x0;}static get[_0x46a923(0x115)](){return!0x0;}constructor(_0x3baf1f){const _0x54b99a=_0x46a923;super(_0x3baf1f),this[_0x54b99a(0x11d)](_0x54b99a(0x11e),void 0x0),this[_0x54b99a(0xe2)]=this[_0x54b99a(0x108)](),this[_0x54b99a(0x11d)](_0x54b99a(0xd3),null),this[_0x54b99a(0x11f)]=0x19,this[_0x54b99a(0xf8)]=new Map(),this[_0x54b99a(0xd0)]=new Map(),this[_0x54b99a(0xc9)][_0x54b99a(0xd8)][_0x54b99a(0xf5)](_0x54b99a(0xdb),!0x1),this[_0x54b99a(0xeb)]=null,this[_0x54b99a(0xd7)]=null,this[_0x54b99a(0x10d)]=[];}[_0x46a923(0xed)](){const _0x2e32f4=_0x46a923,_0x131c0f=this[_0x2e32f4(0xc9)][_0x2e32f4(0xd8)][_0x2e32f4(0xfc)](_0x2e32f4(0xf3));_0x131c0f&&this[_0x2e32f4(0x11b)](_0x131c0f);}[_0x46a923(0x11b)](_0x477429){const _0x46454d=_0x46a923;if(!g(_0x477429))throw new _0x1f1e40(_0x46454d(0x10b));this[_0x46454d(0xd3)]=_0x477429;}[_0x46a923(0xef)]({viewClass:_0x83e655='',spaceBetweenItems:_0x43449f=0x19}={}){const _0x28dadd=_0x46a923;if(!g(this[_0x28dadd(0xd3)]))throw new _0x1f1e40(_0x28dadd(0xca),this);this[_0x28dadd(0xd3)][_0x28dadd(0x101)](this[_0x28dadd(0xe2)][_0x28dadd(0x111)]),this[_0x28dadd(0xe2)][_0x28dadd(0xc8)]=_0x83e655,this[_0x28dadd(0x11f)]=_0x43449f;}[_0x46a923(0x114)]({removedAnnotation:_0x49f900,previousAnnotation:_0x4a315e,nextAnnotation:_0x7963a1}){const _0x2f94e4=_0x46a923,_0x50c943=this[_0x2f94e4(0xd6)](_0x49f900);this[_0x2f94e4(0xe2)][_0x2f94e4(0xd2)][_0x2f94e4(0xfa)](_0x50c943),this[_0x2f94e4(0x110)](_0x49f900),_0x4a315e&&this[_0x2f94e4(0xfe)](this[_0x2f94e4(0xd6)](_0x4a315e)),_0x7963a1&&this[_0x2f94e4(0xfe)](this[_0x2f94e4(0xd6)](_0x7963a1)),this[_0x2f94e4(0xce)]();}[_0x46a923(0x119)]({blurredAnnotation:_0x2d8ef8,activatedAnnotation:_0x27343a,disableAnimationOnActivatedAnnotation:_0x50e633}){const _0x4aac96=_0x46a923;if(this[_0x4aac96(0xd7)]=_0x27343a,_0x2d8ef8){_0x2d8ef8[_0x4aac96(0x107)]=!0x1;const _0x312b4f=this[_0x4aac96(0xd6)](_0x2d8ef8);_0x312b4f&&_0x50e633&&(_0x312b4f[_0x4aac96(0xe9)]=!0x1);}if(_0x27343a){const _0x13a45a=this[_0x4aac96(0xd6)](_0x27343a);_0x13a45a&&(_0x27343a[_0x4aac96(0x107)]=!0x0,_0x50e633&&(_0x13a45a[_0x4aac96(0xe9)]=!0x0,_0x13a45a[_0x4aac96(0x118)]+=0x1),this[_0x4aac96(0xfe)](_0x13a45a));}}[_0x46a923(0xcb)](_0x4cc6a1){const _0x3e487c=_0x46a923;if(this[_0x3e487c(0xe2)][_0x3e487c(0x111)][_0x3e487c(0xfa)](),_0x4cc6a1){for(const _0x4fb049 of _0x4cc6a1)this[_0x3e487c(0x110)](_0x4fb049);}this[_0x3e487c(0xe2)][_0x3e487c(0xd2)][_0x3e487c(0xcf)](),this[_0x3e487c(0xe2)][_0x3e487c(0xc8)]='',this[_0x3e487c(0x11e)]=null;}[_0x46a923(0xe3)](_0x550926,_0x24e294){const _0x47ec88=_0x46a923;_0x24e294||(_0x24e294=_0x550926[_0x47ec88(0xe2)]);const _0x431b69=new _0xa246d5(this[_0x47ec88(0xc9)][_0x47ec88(0x104)]);this[_0x47ec88(0xf8)][_0x47ec88(0x11d)](_0x431b69,_0x550926),this[_0x47ec88(0xd0)][_0x47ec88(0x11d)](_0x550926,_0x431b69),_0x431b69[_0x47ec88(0xec)][_0x47ec88(0xf6)](_0x24e294),this[_0x47ec88(0xe7)](_0x550926[_0x47ec88(0xe2)],_0x47ec88(0xf1),(_0x4725d3,_0x1337f2,_0x2c7c38)=>{const _0x5b0858=_0x47ec88,_0x244850=this[_0x5b0858(0xe0)](_0x550926,_0x2c7c38);_0x431b69[_0x5b0858(0xf2)]!=_0x244850&&(_0x431b69[_0x5b0858(0xf2)]=_0x244850,this[_0x5b0858(0xff)](_0x431b69,_0x244850));}),this[_0x47ec88(0xe7)](_0x431b69,_0x47ec88(0xf7),()=>{const _0x2a800c=_0x47ec88;this[_0x2a800c(0x10c)](_0x431b69,_0x2a800c(0x118));}),this[_0x47ec88(0xe7)](_0x431b69,_0x47ec88(0x116),()=>{const _0x255f68=_0x47ec88;this[_0x255f68(0x10c)](_0x431b69,_0x255f68(0xee));}),this[_0x47ec88(0xfe)](_0x431b69);const _0x59038b=this[_0x47ec88(0x112)](_0x431b69);if(_0x59038b)this[_0x47ec88(0x105)](_0x59038b,_0x431b69)||this[_0x47ec88(0xfe)](_0x431b69);else this[_0x47ec88(0xfe)](_0x431b69);return this[_0x47ec88(0xce)](),this[_0x47ec88(0xe2)][_0x47ec88(0xd2)][_0x47ec88(0xf6)](_0x431b69),_0x431b69;}[_0x46a923(0x100)](_0x3a418e){const _0x3c5d61=_0x46a923;if(!_0x3a418e[_0x3c5d61(0xec)][_0x3c5d61(0xcc)])return;const _0x41870c=this[_0x3c5d61(0x112)](_0x3a418e);if(!_0x41870c)return;const _0x5db824=this[_0x3c5d61(0xf8)][_0x3c5d61(0xfc)](_0x41870c),_0x16304e=this[_0x3c5d61(0xd7)];_0x16304e&&_0x16304e===_0x5db824?this[_0x3c5d61(0x105)](_0x41870c,_0x3a418e):this[_0x3c5d61(0xfd)](_0x3a418e,_0x41870c);}[_0x46a923(0x106)](_0x6ea89){const _0x59c861=_0x46a923;if(!_0x6ea89[_0x59c861(0xec)][_0x59c861(0xcc)])return;const _0x554200=this[_0x59c861(0xdf)](_0x6ea89);if(!_0x554200)return;const _0x3fd5d0=this[_0x59c861(0xf8)][_0x59c861(0xfc)](_0x554200),_0x488a7b=this[_0x59c861(0xc9)][_0x59c861(0xd8)][_0x59c861(0xfc)](_0x59c861(0xdb)),_0x4148cd=this[_0x59c861(0xd7)];_0x4148cd&&_0x4148cd===_0x3fd5d0&&_0x488a7b?(this[_0x59c861(0xfd)](_0x554200,_0x6ea89),this[_0x59c861(0x105)](_0x6ea89,_0x554200)):_0x4148cd&&_0x4148cd===_0x3fd5d0?this[_0x59c861(0xfd)](_0x554200,_0x6ea89):this[_0x59c861(0x105)](_0x6ea89,_0x554200);}[_0x46a923(0x10c)](_0x2f7680,_0x29e591){const _0x579f18=_0x46a923;0x0===this[_0x579f18(0x10d)][_0x579f18(0xcc)]&&setTimeout(()=>{const _0x1626cf=_0x579f18;for(const {sidebarItemView:_0x3891a4,changedProp:_0x38e71b}of this[_0x1626cf(0x10d)])_0x1626cf(0x118)===_0x38e71b?this[_0x1626cf(0x100)](_0x3891a4):this[_0x1626cf(0x106)](_0x3891a4);this[_0x1626cf(0x10d)]=[];},0xa),this[_0x579f18(0x10d)][_0x579f18(0xe5)]({'sidebarItemView':_0x2f7680,'changedProp':_0x29e591});}[_0x46a923(0xd6)](_0x39df40){const _0x2e6b96=_0x46a923;return this[_0x2e6b96(0xd0)][_0x2e6b96(0xfc)](_0x39df40);}[_0x46a923(0x102)](){const _0x2fe4b5=_0x46a923;this[_0x2fe4b5(0x11c)](),this[_0x2fe4b5(0xe2)][_0x2fe4b5(0x102)]();}[_0x46a923(0x110)](_0xad7c64){const _0x1e5f8c=_0x46a923,_0x2d0a1d=this[_0x1e5f8c(0xd6)](_0xad7c64);this[_0x1e5f8c(0x11c)](_0x2d0a1d),this[_0x1e5f8c(0x11c)](_0xad7c64[_0x1e5f8c(0xe2)]),_0x2d0a1d[_0x1e5f8c(0x102)](),this[_0x1e5f8c(0xd0)][_0x1e5f8c(0x11a)](_0xad7c64),this[_0x1e5f8c(0xf8)][_0x1e5f8c(0x11a)](_0x2d0a1d);}[_0x46a923(0x108)](){const _0x4bc0cc=_0x46a923,_0x3bd8e4=new _0x1de860(this[_0x4bc0cc(0xc9)][_0x4bc0cc(0x104)]);return _0x3bd8e4[_0x4bc0cc(0xfb)](),this['on'](_0x4bc0cc(0xdc),(_0x221e22,_0x127307,_0x372ac5,_0x5c7cf8)=>{const _0x863588=_0x4bc0cc;_0x5c7cf8&&_0x3bd8e4[_0x863588(0xf9)](_0x863588(0xcd)),_0x372ac5?_0x3bd8e4[_0x863588(0xd4)](_0x863588(0xcd))['to'](_0x372ac5,_0x863588(0xee)):_0x3bd8e4[_0x863588(0xcd)]=null;}),_0x3bd8e4;}[_0x46a923(0xce)](){const _0x19b7e3=_0x46a923;this[_0x19b7e3(0x11e)]=this[_0x19b7e3(0xeb)]?.[_0x19b7e3(0xe1)]?this[_0x19b7e3(0xd6)](this[_0x19b7e3(0xeb)][_0x19b7e3(0xe1)]):null;}[_0x46a923(0x112)](_0x305e69){const _0x15eb08=_0x46a923,_0xd8ace3=this[_0x15eb08(0xf8)][_0x15eb08(0xfc)](_0x305e69),_0x1edf0d=_0xd8ace3&&this[_0x15eb08(0xeb)]?.[_0x15eb08(0xfc)](this[_0x15eb08(0xeb)][_0x15eb08(0xe8)](_0xd8ace3)-0x1);return _0x1edf0d&&this[_0x15eb08(0xd6)](_0x1edf0d)||null;}[_0x46a923(0xdf)](_0x2d83e2){const _0x584ca5=_0x46a923,_0x586215=this[_0x584ca5(0xf8)][_0x584ca5(0xfc)](_0x2d83e2),_0x112723=_0x586215&&this[_0x584ca5(0xeb)]?.[_0x584ca5(0xfc)](this[_0x584ca5(0xeb)][_0x584ca5(0xe8)](_0x586215)+0x1);return _0x112723&&this[_0x584ca5(0xd6)](_0x112723)||null;}[_0x46a923(0xfd)](_0x30072,_0x40d7e2){const _0x515feb=_0x46a923;_0x30072[_0x515feb(0xd1)]();const _0x4e698e=G(_0x40d7e2[_0x515feb(0xee)]+this[_0x515feb(0x11f)],_0x30072[_0x515feb(0x118)]);return!!_0x4e698e&&(this[_0x515feb(0xff)](_0x40d7e2,_0x40d7e2[_0x515feb(0x118)]-_0x4e698e),!0x0);}[_0x46a923(0x105)](_0x258173,_0x36921f){const _0x5d349d=_0x46a923;_0x258173[_0x5d349d(0xd1)]();const _0x3e6d2a=G(_0x258173[_0x5d349d(0xee)]+this[_0x5d349d(0x11f)],_0x36921f[_0x5d349d(0x118)]);return!!_0x3e6d2a&&(this[_0x5d349d(0xff)](_0x36921f,_0x36921f[_0x5d349d(0x118)]+_0x3e6d2a,!0x1),!0x0);}[_0x46a923(0xfe)](_0x23bc13){const _0x230d79=_0x46a923,_0x2b1655=this[_0x230d79(0xf8)][_0x230d79(0xfc)](_0x23bc13);if(!_0x2b1655||!_0x2b1655[_0x230d79(0x117)]||!_0x2b1655[_0x230d79(0xf0)])return;const _0x580954=this[_0x230d79(0xe0)](_0x2b1655,_0x2b1655[_0x230d79(0xf0)]);this[_0x230d79(0xff)](_0x23bc13,_0x580954);}[_0x46a923(0xe0)](_0x537bd1,_0x3ed03e){const _0x438ae0=_0x46a923;if(null===_0x3ed03e)return 0x0;if(_0x537bd1[_0x438ae0(0x117)]instanceof _0x2084c2)return _0x3ed03e[_0x438ae0(0x118)];{const _0x17af10=new _0x2084c2(this[_0x438ae0(0xe2)][_0x438ae0(0x111)])[_0x438ae0(0x118)];return _0x3ed03e[_0x438ae0(0x118)]-_0x17af10;}}[_0x46a923(0xff)](_0x3b1b9d,_0x4b33dc,_0x56be8e=this[_0x46a923(0xc9)][_0x46a923(0xd8)][_0x46a923(0xfc)](_0x46a923(0xdb))){const _0xf8d434=_0x46a923;_0x56be8e&&(_0x4b33dc=Math[_0xf8d434(0xda)](_0x4b33dc,this[_0xf8d434(0xe4)](_0x3b1b9d))),_0x3b1b9d[_0xf8d434(0x118)]=_0x4b33dc;}[_0x46a923(0xe4)](_0x439674){const _0x31fc17=_0x46a923;let _0x2d68ee=this[_0x31fc17(0x112)](_0x439674),_0x593f01=0x0;for(;_0x2d68ee;)_0x2d68ee[_0x31fc17(0xd1)](),_0x593f01+=this[_0x31fc17(0x11f)]+_0x2d68ee[_0x31fc17(0xd5)],_0x2d68ee=this[_0x31fc17(0x112)](_0x2d68ee);return _0x593f01;}}function G(_0x32f6c1,_0x175173){const _0x4419a9=_0x46a923;return Math[_0x4419a9(0xda)](_0x32f6c1-_0x175173,0x0);}function g(_0x176c0b){const _0x16b3b3=_0x46a923;return null!==_0x176c0b&&_0x16b3b3(0x103)==typeof _0x176c0b&&0x1===_0x176c0b[_0x16b3b3(0x10a)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4769(_0x2cacfc,_0x38a167){const _0x133cc6=_0x133c();return _0x4769=function(_0x4769c2,_0x213a4f){_0x4769c2=_0x4769c2-0x1f0;let _0x17f0bd=_0x133cc6[_0x4769c2];return _0x17f0bd;},_0x4769(_0x2cacfc,_0x38a167);}function _0x133c(){const _0x332927=['5ZvGgRs','401bXhPQp','bindTemplate','...','annotationType','ck-annotation-counter__badge','ck-annotation-counter__badge--edit-mode','3312QkbLun','bind','add','number','span','children','1020369uzKjti','1783894JUxJli','490uaRYrm','_badge','ck-annotation-counter','854720KMhcwg','counterView','setTemplate','780456OgDevN','set','ck-annotation-counter__badge--','toString','1207788xolBNP','isDirty','icon','1786mJwKst','extendTemplate'];_0x133c=function(){return _0x332927;};return _0x133c();}const _0x3a17d6=_0x4769;(function(_0x3809c1,_0x3d503a){const _0x450a04=_0x4769,_0x1c6167=_0x3809c1();while(!![]){try{const _0x472f28=-parseInt(_0x450a04(0x20b))/0x1*(parseInt(_0x450a04(0x208))/0x2)+parseInt(_0x450a04(0x1f9))/0x3+parseInt(_0x450a04(0x1fe))/0x4*(parseInt(_0x450a04(0x20a))/0x5)+parseInt(_0x450a04(0x205))/0x6+-parseInt(_0x450a04(0x1fa))/0x7+parseInt(_0x450a04(0x201))/0x8+parseInt(_0x450a04(0x1f3))/0x9*(parseInt(_0x450a04(0x1fb))/0xa);if(_0x472f28===_0x3d503a)break;else _0x1c6167['push'](_0x1c6167['shift']());}catch(_0x5f139c){_0x1c6167['push'](_0x1c6167['shift']());}}}(_0x133c,0x3eedb));import{ButtonView as _0x38485d,View as _0x1994a6}from'ckeditor5/src/ui.js';import{IconAddComment as _0x597721}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x38485d{[_0x3a17d6(0x1ff)];constructor(_0x385bcc){const _0x4e01d2=_0x3a17d6;super(_0x385bcc);const _0x10d66f=this[_0x4e01d2(0x20c)];this[_0x4e01d2(0x202)](_0x4e01d2(0x206),!0x1),this[_0x4e01d2(0x202)](_0x4e01d2(0x1f6),0x0),this[_0x4e01d2(0x1f4)](_0x4e01d2(0x1fc))['to'](this,_0x4e01d2(0x206),this,_0x4e01d2(0x1f6),(_0xb3d6e4,_0x233d6d)=>_0xb3d6e4?_0x4e01d2(0x20d):_0x233d6d[_0x4e01d2(0x204)]()),this[_0x4e01d2(0x202)](_0x4e01d2(0x1f0),''),this[_0x4e01d2(0x207)]=_0x597721,this[_0x4e01d2(0x209)]({'attributes':{'class':[_0x4e01d2(0x1fd)]}}),this[_0x4e01d2(0x1ff)]=new _0x1994a6(),this[_0x4e01d2(0x1ff)][_0x4e01d2(0x200)]({'tag':_0x4e01d2(0x1f7),'attributes':{'class':[_0x4e01d2(0x1f1),_0x10d66f['to'](_0x4e01d2(0x1f0),_0x4ca515=>_0x4e01d2(0x203)+_0x4ca515),_0x10d66f['if'](_0x4e01d2(0x206),_0x4e01d2(0x1f2))]},'children':[{'text':_0x10d66f['to'](_0x4e01d2(0x1fc))}]}),this[_0x4e01d2(0x1f8)][_0x4e01d2(0x1f5)](this[_0x4e01d2(0x1ff)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1489(_0x9e0992,_0x560555){const _0x527264=_0x5272();return _0x1489=function(_0x1489cb,_0x2c3a94){_0x1489cb=_0x1489cb-0xd3;let _0x100303=_0x527264[_0x1489cb];return _0x100303;},_0x1489(_0x9e0992,_0x560555);}const _0x2aae8e=_0x1489;(function(_0x130414,_0x2ef0c5){const _0x1f13a6=_0x1489,_0x29b360=_0x130414();while(!![]){try{const _0x5a185e=parseInt(_0x1f13a6(0xec))/0x1*(parseInt(_0x1f13a6(0xdb))/0x2)+-parseInt(_0x1f13a6(0xf2))/0x3+-parseInt(_0x1f13a6(0xe1))/0x4*(parseInt(_0x1f13a6(0xe2))/0x5)+-parseInt(_0x1f13a6(0xd6))/0x6*(-parseInt(_0x1f13a6(0xf9))/0x7)+-parseInt(_0x1f13a6(0xdc))/0x8*(parseInt(_0x1f13a6(0xfc))/0x9)+parseInt(_0x1f13a6(0xef))/0xa*(parseInt(_0x1f13a6(0xee))/0xb)+-parseInt(_0x1f13a6(0xe8))/0xc*(parseInt(_0x1f13a6(0xe9))/0xd);if(_0x5a185e===_0x2ef0c5)break;else _0x29b360['push'](_0x29b360['shift']());}catch(_0x2bb182){_0x29b360['push'](_0x29b360['shift']());}}}(_0x5272,0x657e1));import{View as _0x3e4481}from'ckeditor5/src/ui.js';import{FocusTracker as _0x12ae73,KeystrokeHandler as _0xce973d,uid as _0x1b6d5c}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x27a03a}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x3e4481{[_0x2aae8e(0xd5)];['id'];[_0x2aae8e(0xed)];[_0x2aae8e(0xd7)];[_0x2aae8e(0xfd)];[_0x2aae8e(0x100)];constructor(_0x329932,_0x225669){const _0x353251=_0x2aae8e;super(_0x329932),this['id']=_0x1b6d5c(),this[_0x353251(0xd5)]=new _0x12ae73(),this[_0x353251(0xed)]=new _0xce973d(),this[_0x353251(0xed)][_0x353251(0xf8)](_0x353251(0xf4),(_0x4c1ab5,_0x2d7fe6)=>this[_0x353251(0xfa)](_0x353251(0xf4),_0x2d7fe6)),this[_0x353251(0xf8)](_0x353251(0xe4),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x353251(0xf8)](_0x353251(0xf5),0x0),this[_0x353251(0xf8)](_0x353251(0xea),!0x1),this[_0x353251(0xf8)](_0x353251(0xf1),!0x1),this[_0x353251(0xf8)](_0x353251(0x101),0x0),this[_0x353251(0xf8)](_0x353251(0xdf),''),this[_0x353251(0x100)]=_0x27a03a(()=>this[_0x353251(0xe3)]()),this[_0x353251(0xd7)]=this[_0x353251(0xf0)](),this[_0x353251(0xd7)][_0x353251(0xf6)](_0x353251(0xd8),_0x353251(0xdd))['to'](this),this[_0x353251(0xd7)][_0x353251(0xd3)](_0x225669),this[_0x353251(0xfd)]=_0x225669;const _0x53ec63=this[_0x353251(0xf7)];this[_0x353251(0xe7)]({'tag':_0x353251(0x102),'attributes':{'class':['ck',_0x353251(0x103),_0x353251(0xf3),_0x53ec63['if'](_0x353251(0xea),_0x353251(0xd4))],'role':_0x353251(0xda)},'children':this[_0x353251(0xd7)]});}[_0x2aae8e(0xe0)](){const _0x50974a=_0x2aae8e;super[_0x50974a(0xe0)](),this[_0x50974a(0xd5)][_0x50974a(0xd3)](this[_0x50974a(0xd9)]),this[_0x50974a(0xed)][_0x50974a(0xfe)](this[_0x50974a(0xd9)]),this[_0x50974a(0x100)][_0x50974a(0xde)](this[_0x50974a(0xd9)]);}[_0x2aae8e(0xfb)](){const _0x176ee1=_0x2aae8e;this[_0x176ee1(0xd7)][_0x176ee1(0xeb)](),this[_0x176ee1(0xed)][_0x176ee1(0xfb)](),this[_0x176ee1(0xd5)][_0x176ee1(0xfb)](),this[_0x176ee1(0x100)][_0x176ee1(0xe6)](),super[_0x176ee1(0xfb)]();}[_0x2aae8e(0xff)](){const _0x358bb4=_0x2aae8e;this[_0x358bb4(0xd7)][_0x358bb4(0x104)]&&this[_0x358bb4(0xd7)][_0x358bb4(0x104)][_0x358bb4(0xff)]();}[_0x2aae8e(0xe3)](){const _0x3aa296=_0x2aae8e,_0x366613=this[_0x3aa296(0xd9)][_0x3aa296(0xe5)];_0x366613&&(this[_0x3aa296(0xf5)]=_0x366613);}}function _0x5272(){const _0xf25adb=['set','14343VDlCSf','fire','destroy','36Onpcgk','mainView','listenTo','focus','_mutationObserver','length','div','ck-annotation-wrapper','first','add','ck-annotation-wrapper--active','focusTracker','1902emHlmp','content','arrowup','element','presentation','8RxxrGv','886616pTGmbM','arrowdown','attach','type','render','12uahNqV','529810KNjwUU','_updateHeight','targetRect','clientHeight','detach','setTemplate','2181420qoIIrQ','13HurOWK','isActive','clear','200971iBmOVM','keystrokes','7275862kEfuSI','10DfZJcF','createCollection','isDirty','2268501wzQqjI','ck-rounded-corners','Esc','height','delegate','bindTemplate'];_0x5272=function(){return _0xf25adb;};return _0x5272();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xf71089=_0x1088;(function(_0x5f4fc8,_0x14628c){const _0x28b0c6=_0x1088,_0x5da6b3=_0x5f4fc8();while(!![]){try{const _0x390c91=-parseInt(_0x28b0c6(0x1d0))/0x1+parseInt(_0x28b0c6(0x1c4))/0x2*(parseInt(_0x28b0c6(0x1df))/0x3)+parseInt(_0x28b0c6(0x1c9))/0x4+-parseInt(_0x28b0c6(0x1bf))/0x5*(-parseInt(_0x28b0c6(0x1e1))/0x6)+-parseInt(_0x28b0c6(0x1d2))/0x7*(-parseInt(_0x28b0c6(0x1d4))/0x8)+-parseInt(_0x28b0c6(0x1c6))/0x9*(-parseInt(_0x28b0c6(0x1c7))/0xa)+-parseInt(_0x28b0c6(0x1d8))/0xb*(parseInt(_0x28b0c6(0x1cd))/0xc);if(_0x390c91===_0x14628c)break;else _0x5da6b3['push'](_0x5da6b3['shift']());}catch(_0x48ffa9){_0x5da6b3['push'](_0x5da6b3['shift']());}}}(_0x4ace,0x2c946));import{View as _0x5c84de}from'ckeditor5/src/ui.js';function _0x4ace(){const _0x17bcbf=['destroy','focus','isAnimationDisabled','detach','ck-sidebar-item--no-animation','3EGuWAO','content','294738IEASJa','first','presentation','clear','render','attach','height','35cPbvqO','bindTemplate','top','bind','bottom','603428kYyiVo','div','36ymQHYu','552010pjViok','set','606216uNeMEp','arrowup','element','arrowdown','5578068FEjNQS','delegate','updateHeight','145509FVsrbl','setTemplate','28YoRwiJ','ck-sidebar-item','479704aNBzlN','clientHeight','_targetTop','_mutationObserver','22MXckUs','createCollection'];_0x4ace=function(){return _0x17bcbf;};return _0x4ace();}import{toUnit as _0x4662d3}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x59f6ef}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4662d3('px');function _0x1088(_0x3793e5,_0x10f7dc){const _0x4ace96=_0x4ace();return _0x1088=function(_0x1088d8,_0x2d61cf){_0x1088d8=_0x1088d8-0x1bf;let _0x314ec5=_0x4ace96[_0x1088d8];return _0x314ec5;},_0x1088(_0x3793e5,_0x10f7dc);}export class AnnotationsSidebarItemView extends _0x5c84de{[_0xf71089(0x1e0)];[_0xf71089(0x1d6)];[_0xf71089(0x1d7)];constructor(_0x44e5ed){const _0x1800fa=_0xf71089;super(_0x44e5ed),this[_0x1800fa(0x1c8)](_0x1800fa(0x1c1),0x0),this[_0x1800fa(0x1c8)](_0x1800fa(0x1e7),0x0),this[_0x1800fa(0x1c2)](_0x1800fa(0x1c3))['to'](this,_0x1800fa(0x1c1),this,_0x1800fa(0x1e7),(_0x2518f2,_0xc16976)=>_0x2518f2+_0xc16976),this[_0x1800fa(0x1c8)](_0x1800fa(0x1dc),!0x1),this[_0x1800fa(0x1d7)]=_0x59f6ef(()=>this[_0x1800fa(0x1cf)]()),this[_0x1800fa(0x1d6)]=null,this[_0x1800fa(0x1e0)]=this[_0x1800fa(0x1d9)](),this[_0x1800fa(0x1e0)][_0x1800fa(0x1ce)](_0x1800fa(0x1ca),_0x1800fa(0x1cc))['to'](this);const _0x5698b3=this[_0x1800fa(0x1c0)];this[_0x1800fa(0x1d1)]({'tag':_0x1800fa(0x1c5),'attributes':{'class':[_0x1800fa(0x1d3),_0x5698b3['to'](_0x1800fa(0x1dc),_0x434122=>_0x434122?_0x1800fa(0x1de):'')],'style':{'top':_0x5698b3['to'](_0x1800fa(0x1c1),_0x245931=>Ot(_0x245931))},'role':_0x1800fa(0x1e3)},'children':this[_0x1800fa(0x1e0)]});}[_0xf71089(0x1e5)](){const _0x3ce1fa=_0xf71089;super[_0x3ce1fa(0x1e5)](),this[_0x3ce1fa(0x1d7)][_0x3ce1fa(0x1e6)](this[_0x3ce1fa(0x1cb)]);}[_0xf71089(0x1db)](){const _0x4575d4=_0xf71089;this[_0x4575d4(0x1e0)][_0x4575d4(0x1e2)]&&this[_0x4575d4(0x1e0)][_0x4575d4(0x1e2)][_0x4575d4(0x1db)]();}[_0xf71089(0x1cf)](){const _0x32b013=_0xf71089,_0x59dbc1=this[_0x32b013(0x1cb)][_0x32b013(0x1d5)];_0x59dbc1&&(this[_0x32b013(0x1e7)]=_0x59dbc1);}[_0xf71089(0x1da)](){const _0x3e131f=_0xf71089;this[_0x3e131f(0x1e0)][_0x3e131f(0x1e4)](),this[_0x3e131f(0x1d7)][_0x3e131f(0x1dd)](),super[_0x3e131f(0x1da)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x2547(){const _0x279d05=['bindTemplate','focus','application','2322gfrsLF','length','focusables','added','remove','130uSROMm','ck-sidebar','74863grdGoJ','uiLanguageDirection','focusTracker','699PfgNzZ','focusCycler','8SwFFdj','arrowdown','focusPrevious','18vbQYHU','setTemplate','11ZtveTo','listenTo','13480VDewJW','getIndex','_updateItemPositionInFocusables','createCollection','1634920KkNSNt','class','add','div','1373253QLGpsO','minHeight','1522068vMwUbj','Annotations\x20list','removed','element','forEach','number','source','change:top','_setupKeyboardNavigation','125620YDWWbu','3218BMbziQ','delegate','render','top','focusFirst','set','list','Annotations\x20sidebar','focusNext','arrowup','ck-reset','change'];_0x2547=function(){return _0x279d05;};return _0x2547();}function _0x2eca(_0x22acdf,_0x50669a){const _0x25475c=_0x2547();return _0x2eca=function(_0x2eca02,_0x4a4662){_0x2eca02=_0x2eca02-0x161;let _0x13bbb4=_0x25475c[_0x2eca02];return _0x13bbb4;},_0x2eca(_0x22acdf,_0x50669a);}const _0x22c7a5=_0x2eca;(function(_0x5e3a37,_0x5c2316){const _0x1ea4ef=_0x2eca,_0x11890f=_0x5e3a37();while(!![]){try{const _0x2f1f89=-parseInt(_0x1ea4ef(0x164))/0x1+parseInt(_0x1ea4ef(0x184))/0x2*(-parseInt(_0x1ea4ef(0x167))/0x3)+parseInt(_0x1ea4ef(0x169))/0x4*(-parseInt(_0x1ea4ef(0x174))/0x5)+parseInt(_0x1ea4ef(0x16c))/0x6*(parseInt(_0x1ea4ef(0x178))/0x7)+-parseInt(_0x1ea4ef(0x170))/0x8*(parseInt(_0x1ea4ef(0x193))/0x9)+parseInt(_0x1ea4ef(0x183))/0xa*(parseInt(_0x1ea4ef(0x16e))/0xb)+-parseInt(_0x1ea4ef(0x17a))/0xc*(-parseInt(_0x1ea4ef(0x162))/0xd);if(_0x2f1f89===_0x5c2316)break;else _0x11890f['push'](_0x11890f['shift']());}catch(_0x458a26){_0x11890f['push'](_0x11890f['shift']());}}}(_0x2547,0x50d17));import{View as _0x17b096,FocusCycler as _0xfd71a7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4be32e,toUnit as _0x74a7aa}from'ckeditor5/src/utils.js';import{getTranslation as _0x5424a5}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x74a7aa('px');export class AnnotationsSidebarView extends _0x17b096{[_0x22c7a5(0x18a)];[_0x22c7a5(0x195)];[_0x22c7a5(0x166)];[_0x22c7a5(0x168)];constructor(_0x2dbb9d){const _0xedbf51=_0x22c7a5;super(_0x2dbb9d);const _0x574eff=this[_0xedbf51(0x190)];this[_0xedbf51(0x189)](_0xedbf51(0x179),0x0),this[_0xedbf51(0x189)](_0xedbf51(0x175),''),this[_0xedbf51(0x18a)]=this[_0xedbf51(0x173)](),this[_0xedbf51(0x195)]=this[_0xedbf51(0x173)](),this[_0xedbf51(0x18a)][_0xedbf51(0x185)](_0xedbf51(0x18d),_0xedbf51(0x16a))['to'](this),this[_0xedbf51(0x166)]=new _0x4be32e(),this[_0xedbf51(0x168)]=new _0xfd71a7({'focusables':this[_0xedbf51(0x195)],'focusTracker':this[_0xedbf51(0x166)]}),this[_0xedbf51(0x16d)]({'tag':_0xedbf51(0x177),'attributes':{'class':['ck',_0xedbf51(0x163),_0xedbf51(0x18e),_0x574eff['to'](_0xedbf51(0x175))],'style':{'minHeight':_0x574eff['to'](_0xedbf51(0x179),_0x144998=>_0xedbf51(0x17f)==typeof _0x144998?Ot(_0x144998+0xa):null)},'dir':_0x2dbb9d[_0xedbf51(0x165)],'role':_0xedbf51(0x192),'aria-label':_0x5424a5(_0x2dbb9d,_0xedbf51(0x18b)),'tabindex':0x0},'children':[{'tag':_0xedbf51(0x177),'attributes':{'role':_0xedbf51(0x18a),'aria-label':_0x5424a5(_0x2dbb9d,_0xedbf51(0x17b))},'children':this[_0xedbf51(0x18a)]}]});}[_0x22c7a5(0x186)](){const _0x4b9e53=_0x22c7a5;super[_0x4b9e53(0x186)](),this[_0x4b9e53(0x182)]();}[_0x22c7a5(0x191)](){const _0x38df4e=_0x22c7a5;this[_0x38df4e(0x168)][_0x38df4e(0x188)]();}[_0x22c7a5(0x182)](){const _0x6fdb9b=_0x22c7a5;this[_0x6fdb9b(0x18a)][_0x6fdb9b(0x185)](_0x6fdb9b(0x181))['to'](this),this['on'](_0x6fdb9b(0x181),_0x32a27b=>{const _0x54f274=_0x6fdb9b;this[_0x54f274(0x172)](_0x32a27b[_0x54f274(0x180)]);}),this[_0x6fdb9b(0x18a)][_0x6fdb9b(0x17e)](_0x31dfa1=>{const _0x1677c7=_0x6fdb9b;this[_0x1677c7(0x166)][_0x1677c7(0x176)](_0x31dfa1[_0x1677c7(0x17d)]),this[_0x1677c7(0x172)](_0x31dfa1);}),this[_0x6fdb9b(0x18a)]['on'](_0x6fdb9b(0x18f),(_0x4aefc6,_0xab0985)=>{const _0x4b4931=_0x6fdb9b;for(const _0x3f9ad8 of _0xab0985[_0x4b4931(0x17c)])this[_0x4b4931(0x166)][_0x4b4931(0x161)](_0x3f9ad8[_0x4b4931(0x17d)]),this[_0x4b4931(0x195)][_0x4b4931(0x161)](_0x3f9ad8);for(const _0x29620c of _0xab0985[_0x4b4931(0x196)])this[_0x4b4931(0x166)][_0x4b4931(0x176)](_0x29620c[_0x4b4931(0x17d)]),this[_0x4b4931(0x172)](_0x29620c);}),this['on'](_0x6fdb9b(0x18d),()=>{const _0x90c2cc=_0x6fdb9b;this[_0x90c2cc(0x168)][_0x90c2cc(0x16b)]();}),this['on'](_0x6fdb9b(0x16a),()=>{const _0x44f0f0=_0x6fdb9b;this[_0x44f0f0(0x168)][_0x44f0f0(0x18c)]();}),this[_0x6fdb9b(0x16f)](this[_0x6fdb9b(0x17d)],_0x6fdb9b(0x191),()=>{const _0x480106=_0x6fdb9b;this[_0x480106(0x191)]();});}[_0x22c7a5(0x172)](_0x5725e3){const _0x31e5e5=_0x22c7a5,_0x4b11b7=this[_0x31e5e5(0x195)][_0x31e5e5(0x171)](_0x5725e3);let _0x55dcae,_0x114746;for(const _0x401c78 of this[_0x31e5e5(0x195)])if(_0x5725e3[_0x31e5e5(0x187)]<_0x401c78[_0x31e5e5(0x187)]){_0x55dcae=_0x401c78;break;}if(_0x114746=_0x55dcae?this[_0x31e5e5(0x195)][_0x31e5e5(0x171)](_0x55dcae):this[_0x31e5e5(0x195)][_0x31e5e5(0x194)],-0x1!==_0x4b11b7){if(_0x4b11b7===_0x114746-0x1)return;this[_0x31e5e5(0x195)][_0x31e5e5(0x161)](_0x5725e3),_0x114746=_0x55dcae?this[_0x31e5e5(0x195)][_0x31e5e5(0x171)](_0x55dcae):this[_0x31e5e5(0x195)][_0x31e5e5(0x194)];}this[_0x31e5e5(0x195)][_0x31e5e5(0x176)](_0x5725e3,_0x114746);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x9adbf0=_0x21da;function _0x5091(){const _0x454561=['923148rAEshZ','focus','_destroyEditorAnnotationsIntegration','_refreshPositioningDebounced','EditorAnnotations','remove','Annotations','_attachToContainer','setActiveAnnotation','init','add','blur','set:container','_editorAnnotations','plugins','has','ready','detach','change:container','removeEventListener','from','refreshPositioning','listenTo','resize','305qjNfZZ','register','getOrderedSelectedAnnotations','isPremiumPlugin','39464ntfHml','cancel','switchTo','WideSidebar','editors','refreshVisibility','addAnnotation','uiUpdate','20hUYfZA','2411688BVziSU','addEventListener','stop','stopListening','activeAnnotation','_integrateWithEditorAnnotations','_activeAnnotation','get','pluginName','152643uanfrF','updateTargetRect','_detachFromContainer','_annotations','context','hasDomSelection','off','set','273dNEqgT','destroy','annotations','rearrange','attach','widesidebar-attach-already-attached','isAttached','1965753tlvEye','refresh','container','ck-sidebar--wide','high','widesidebar-detach-not-attached','wideSidebar','44248vWtfKK','1593129SjFyWD','isOfficialPlugin','requires'];_0x5091=function(){return _0x454561;};return _0x5091();}(function(_0x10d4d9,_0x46b956){const _0x170664=_0x21da,_0x48abd2=_0x10d4d9();while(!![]){try{const _0x392bed=-parseInt(_0x170664(0x1d7))/0x1+parseInt(_0x170664(0x1f1))/0x2+parseInt(_0x170664(0x1ee))/0x3+-parseInt(_0x170664(0x1ed))/0x4*(-parseInt(_0x170664(0x1c1))/0x5)+-parseInt(_0x170664(0x1ce))/0x6+-parseInt(_0x170664(0x1df))/0x7*(parseInt(_0x170664(0x1c5))/0x8)+-parseInt(_0x170664(0x1e6))/0x9*(parseInt(_0x170664(0x1cd))/0xa);if(_0x392bed===_0x46b956)break;else _0x48abd2['push'](_0x48abd2['shift']());}catch(_0x3bfe19){_0x48abd2['push'](_0x48abd2['shift']());}}}(_0x5091,0x76103));function _0x21da(_0x44891c,_0x20beb8){const _0x5091bb=_0x5091();return _0x21da=function(_0x21da4c,_0x1b7881){_0x21da4c=_0x21da4c-0x1b0;let _0x3dd1a3=_0x5091bb[_0x21da4c];return _0x3dd1a3;},_0x21da(_0x44891c,_0x20beb8);}import{ContextPlugin as _0x37ddad,Context as _0x65a525}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x1507f3}from'./annotationsuis.js';import{Sidebar as _0x51496a}from'./sidebar.js';import{CKEditorError as _0x52eb55,Collection as _0x32caa1}from'ckeditor5/src/utils.js';import{debounce as _0x10f39b}from'es-toolkit/compat';export class WideSidebar extends _0x37ddad{[_0x9adbf0(0x1e5)];[_0x9adbf0(0x1e1)];[_0x9adbf0(0x1b6)];[_0x9adbf0(0x1f4)];static get[_0x9adbf0(0x1f0)](){return[_0x51496a,_0x1507f3];}static get[_0x9adbf0(0x1d6)](){const _0x57b3a1=_0x9adbf0;return _0x57b3a1(0x1c8);}static get[_0x9adbf0(0x1ef)](){return!0x0;}static get[_0x9adbf0(0x1c4)](){return!0x0;}constructor(_0x1b573e){const _0x2a5e45=_0x9adbf0;super(_0x1b573e),this[_0x2a5e45(0x1e5)]=!0x1,this[_0x2a5e45(0x1de)](_0x2a5e45(0x1d2),null),this[_0x2a5e45(0x1e1)]=null,this[_0x2a5e45(0x1b6)]=new _0x32caa1(),this[_0x2a5e45(0x1f4)]=_0x10f39b(()=>{const _0x1ba83b=_0x2a5e45;_0x1b573e[_0x1ba83b(0x1b7)][_0x1ba83b(0x1d5)](_0x1ba83b(0x1f7))[_0x1ba83b(0x1ca)](),this[_0x1ba83b(0x1e1)][_0x1ba83b(0x1be)]();},0xfa,{'leading':!0x1});}[_0x9adbf0(0x1b2)](){const _0x599535=_0x9adbf0,_0x19de2f=this[_0x599535(0x1db)][_0x599535(0x1b7)][_0x599535(0x1d5)](_0x1507f3),_0x50bc95=this[_0x599535(0x1db)][_0x599535(0x1b7)][_0x599535(0x1d5)](_0x51496a);_0x19de2f[_0x599535(0x1c2)](_0x599535(0x1ec),this),_0x50bc95[_0x599535(0x1e8)]&&_0x19de2f[_0x599535(0x1c7)](_0x599535(0x1ec));}[_0x9adbf0(0x1b1)](_0x1ff193){const _0x235712=_0x9adbf0;if(_0x1ff193===this[_0x235712(0x1d2)])return;const _0x3a92fc=this[_0x235712(0x1db)][_0x235712(0x1b7)][_0x235712(0x1d5)](_0x51496a);_0x3a92fc[_0x235712(0x1d4)]=_0x1ff193;const _0x445df8=this[_0x235712(0x1d2)];_0x3a92fc[_0x235712(0x1e7)]({'blurredAnnotation':_0x445df8,'activatedAnnotation':_0x1ff193}),this[_0x235712(0x1d2)]=_0x1ff193;}[_0x9adbf0(0x1e3)](_0x27d574){const _0x13c921=_0x9adbf0;this[_0x13c921(0x1e1)]=_0x27d574;const _0x1093ca=this[_0x13c921(0x1db)][_0x13c921(0x1b7)][_0x13c921(0x1d5)](_0x51496a);if(_0x1093ca[_0x13c921(0x1da)]=_0x27d574,this[_0x13c921(0x1e5)])throw new _0x52eb55(_0x13c921(0x1e4),this);this[_0x13c921(0x1e5)]=!0x0,this[_0x13c921(0x1bf)](_0x1093ca,_0x13c921(0x1b5),()=>{const _0x1616b5=_0x13c921;this[_0x1616b5(0x1ba)](),this[_0x1616b5(0x1bf)](_0x1093ca,_0x1616b5(0x1bb),_0x28dc63=>{const _0x4195ec=_0x1616b5;_0x28dc63[_0x4195ec(0x1dd)](),this[_0x4195ec(0x1e3)](_0x27d574);});}),_0x1093ca[_0x13c921(0x1b0)]({'viewClass':_0x13c921(0x1e9)});const _0x132e78=_0x2b7964=>{const _0x221054=_0x13c921;_0x2b7964[_0x221054(0x1d8)](),_0x1093ca[_0x221054(0x1cb)](_0x2b7964);};for(const _0x28a975 of _0x27d574)_0x132e78(_0x28a975);this[_0x13c921(0x1bf)](_0x27d574,_0x13c921(0x1b3),(_0x56f9b4,_0x389e63)=>{_0x132e78(_0x389e63);}),this[_0x13c921(0x1bf)](_0x27d574,_0x13c921(0x1f6),(_0x3f375f,_0xbadacf,_0x4fa4ff)=>{const _0x470590=_0x13c921;_0x1093ca[_0x470590(0x1e2)]({'removedAnnotation':_0xbadacf,'previousAnnotation':_0x27d574[_0x470590(0x1d5)](_0x4fa4ff-0x1),'nextAnnotation':_0x27d574[_0x470590(0x1d5)](_0x4fa4ff+0x1)}),_0xbadacf===this[_0x470590(0x1d2)]&&this[_0x470590(0x1b1)](null);},{'priority':_0x13c921(0x1ea)}),this[_0x13c921(0x1bf)](_0x27d574,_0x13c921(0x1f2),(_0x22ccfe,_0x387bcd)=>{const _0x5d6147=_0x13c921;this[_0x5d6147(0x1b1)](_0x387bcd);}),this[_0x13c921(0x1bf)](_0x27d574,_0x13c921(0x1b4),()=>{const _0x59ad89=_0x13c921;this[_0x59ad89(0x1b1)](null);});const _0x5f8ca5=this[_0x13c921(0x1db)]instanceof _0x65a525?this[_0x13c921(0x1db)][_0x13c921(0x1c9)]:new _0x32caa1([this[_0x13c921(0x1db)]]);for(const _0x163639 of _0x5f8ca5)this[_0x13c921(0x1d3)](_0x163639);this[_0x13c921(0x1bf)](_0x5f8ca5,_0x13c921(0x1b3),(_0x3c8221,_0x3520f9)=>{const _0x485462=_0x13c921;this[_0x485462(0x1bf)](_0x3520f9,_0x485462(0x1b9),()=>{const _0x59201d=_0x485462;this[_0x59201d(0x1d3)](_0x3520f9);});}),this[_0x13c921(0x1bf)](_0x5f8ca5,_0x13c921(0x1f6),(_0xed03d3,_0x51864c)=>{const _0x56c8ec=_0x13c921;_0x51864c[_0x56c8ec(0x1b7)][_0x56c8ec(0x1b8)](_0x56c8ec(0x1f5))&&this[_0x56c8ec(0x1f3)](_0x51864c[_0x56c8ec(0x1b7)][_0x56c8ec(0x1d5)](_0x56c8ec(0x1f5)));}),window[_0x13c921(0x1cf)](_0x13c921(0x1c0),this[_0x13c921(0x1f4)]),this[_0x13c921(0x1db)][_0x13c921(0x1b7)][_0x13c921(0x1d5)](_0x13c921(0x1f7))[_0x13c921(0x1ca)](),this[_0x13c921(0x1e1)][_0x13c921(0x1be)]();}[_0x9adbf0(0x1ba)](){const _0x27794e=_0x9adbf0;if(!this[_0x27794e(0x1e5)])throw new _0x52eb55(_0x27794e(0x1eb),this);this[_0x27794e(0x1b1)](null);const _0x26e52b=this[_0x27794e(0x1db)][_0x27794e(0x1b7)][_0x27794e(0x1d5)](_0x51496a);_0x26e52b[_0x27794e(0x1d9)](this[_0x27794e(0x1e1)]),this[_0x27794e(0x1d1)](_0x26e52b),this[_0x27794e(0x1d1)](this[_0x27794e(0x1e1)]),this[_0x27794e(0x1db)]instanceof _0x65a525&&this[_0x27794e(0x1d1)](this[_0x27794e(0x1db)][_0x27794e(0x1c9)]);for(const _0x8971e3 of Array[_0x27794e(0x1bd)](this[_0x27794e(0x1b6)]))this[_0x27794e(0x1f3)](_0x8971e3);window[_0x27794e(0x1bc)](_0x27794e(0x1c0),this[_0x27794e(0x1f4)]),this[_0x27794e(0x1f4)][_0x27794e(0x1c6)](),this[_0x27794e(0x1d2)]=null,this[_0x27794e(0x1e5)]=!0x1,this[_0x27794e(0x1e1)]=null;}[_0x9adbf0(0x1e0)](){const _0x11e75f=_0x9adbf0;this[_0x11e75f(0x1e5)]&&this[_0x11e75f(0x1ba)]();}[_0x9adbf0(0x1d3)](_0x4db87f){const _0x19dd1c=_0x9adbf0;if(!_0x4db87f[_0x19dd1c(0x1b7)][_0x19dd1c(0x1b8)](_0x19dd1c(0x1f5)))return;const _0x46374c=_0x4db87f[_0x19dd1c(0x1b7)][_0x19dd1c(0x1d5)](_0x19dd1c(0x1f5)),_0x1cbf27=()=>{const _0x5f30e9=_0x19dd1c,_0x9be8f9=_0x46374c[_0x5f30e9(0x1c3)]({'annotations':this[_0x5f30e9(0x1e1)],'activeAnnotation':this[_0x5f30e9(0x1d2)]});this[_0x5f30e9(0x1b1)](_0x9be8f9[0x0]||null);};this[_0x19dd1c(0x1bf)](_0x46374c,_0x19dd1c(0x1e7),_0x1cbf27),this[_0x19dd1c(0x1bf)](_0x46374c,_0x19dd1c(0x1b4),(_0x4fce62,{isAnnotationTracked:_0x4af8d4})=>{const _0x23c517=_0x19dd1c;this[_0x23c517(0x1d2)]&&_0x4af8d4(this[_0x23c517(0x1d2)])&&this[_0x23c517(0x1b1)](null);}),this[_0x19dd1c(0x1bf)](_0x46374c,_0x19dd1c(0x1cc),()=>{const _0x4c16e4=_0x19dd1c;this[_0x4c16e4(0x1f4)]();}),this[_0x19dd1c(0x1bf)](this[_0x19dd1c(0x1e1)],_0x19dd1c(0x1b4),_0x579ee0=>{const _0x17b4b1=_0x19dd1c;_0x46374c[_0x17b4b1(0x1dc)]()&&(_0x1cbf27(),_0x579ee0[_0x17b4b1(0x1d0)]());},{'priority':_0x19dd1c(0x1ea)}),this[_0x19dd1c(0x1b6)][_0x19dd1c(0x1b3)](_0x46374c);}[_0x9adbf0(0x1f3)](_0x52da7e){const _0x57986d=_0x9adbf0;this[_0x57986d(0x1d1)](_0x52da7e),this[_0x57986d(0x1b6)][_0x57986d(0x1f6)](_0x52da7e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1305(_0x20a2bc,_0x11ec0e){const _0x523f30=_0x523f();return _0x1305=function(_0x1305cf,_0x1d2e49){_0x1305cf=_0x1305cf-0x19c;let _0x4d9070=_0x523f30[_0x1305cf];return _0x4d9070;},_0x1305(_0x20a2bc,_0x11ec0e);}const _0x18151e=_0x1305;(function(_0x2f1f6c,_0x4743aa){const _0x520786=_0x1305,_0x2bf515=_0x2f1f6c();while(!![]){try{const _0x5e8bb9=-parseInt(_0x520786(0x1cc))/0x1*(-parseInt(_0x520786(0x1b3))/0x2)+-parseInt(_0x520786(0x1bb))/0x3+-parseInt(_0x520786(0x1bd))/0x4*(-parseInt(_0x520786(0x1ab))/0x5)+-parseInt(_0x520786(0x1ba))/0x6*(parseInt(_0x520786(0x1bc))/0x7)+-parseInt(_0x520786(0x19d))/0x8+-parseInt(_0x520786(0x1b7))/0x9+parseInt(_0x520786(0x1bf))/0xa*(parseInt(_0x520786(0x1ca))/0xb);if(_0x5e8bb9===_0x4743aa)break;else _0x2bf515['push'](_0x2bf515['shift']());}catch(_0x35283b){_0x2bf515['push'](_0x2bf515['shift']());}}}(_0x523f,0x37bd6));import{Command as _0x325bd7}from'ckeditor5/src/core.js';import{uid as _0x58348e,CKEditorError as _0x3c2359}from'ckeditor5/src/utils.js';function _0x523f(){const _0x43b16b=['366601imyoVj','addCommentThread','execute','getItems','addMarker','schema','getLastMatchingPosition','2274584wSIuBa','_trimToContent','set','selection','isEnabled','end','plugins','get','comment:','document','editor','from','CommentsRepository','element','265770EbftUp','change','getRanges','createRange','substr','start','push','$textProxy','2jbCuIr','hasContent','Users','length','2868183XipZAb','collaboration.channelId','_hasContent','13026ZhkOdy','219663sMWYPh','1281iIjxsX','12smCJNY','config','106270LnemdF','_createCommentThread','_createMarkersFromRanges','isObject','model','backward','tableCell','addcommentthreadcommand-incorrect-ranges','_itemIsContent','refresh','item','803PaaKNJ','addcommentthreadcommand-user-not-found'];_0x523f=function(){return _0x43b16b;};return _0x523f();}export class AddCommentThreadCommand extends _0x325bd7{constructor(_0x860e61){const _0x10e09a=_0x1305;super(_0x860e61),this[_0x10e09a(0x19f)](_0x10e09a(0x1b4),!0x1);}[_0x18151e(0x1c8)](){const _0x2b2bee=_0x18151e,_0x3117d2=this[_0x2b2bee(0x1a7)][_0x2b2bee(0x1c3)][_0x2b2bee(0x1a6)][_0x2b2bee(0x1a0)];this[_0x2b2bee(0x1a1)]=!0x0,this[_0x2b2bee(0x1b4)]=!0x1;for(const _0x718bff of _0x3117d2[_0x2b2bee(0x1ad)]())if(this[_0x2b2bee(0x1b9)](_0x718bff))return void(this[_0x2b2bee(0x1b4)]=!0x0);}[_0x18151e(0x1ce)]({threadId:_0x3755cb=_0x58348e(),ranges:_0x38fd08,comment:_0x3d1ad7}={}){const _0x34a78a=_0x18151e,_0x508dc1=this[_0x34a78a(0x1a7)][_0x34a78a(0x1c3)],_0x2a7f54=_0x38fd08??Array[_0x34a78a(0x1a8)](_0x508dc1[_0x34a78a(0x1a6)][_0x34a78a(0x1a0)][_0x34a78a(0x1ad)]()),_0x49856a=[];for(const _0x52bb1b of _0x2a7f54)this[_0x34a78a(0x1b9)](_0x52bb1b)&&_0x49856a[_0x34a78a(0x1b1)](this[_0x34a78a(0x19e)](_0x52bb1b));if(!_0x49856a[_0x34a78a(0x1b6)])throw new _0x3c2359(_0x34a78a(0x1c6),null);_0x3d1ad7&&this[_0x34a78a(0x1c0)](_0x3755cb,_0x3d1ad7),this[_0x34a78a(0x1c1)](_0x3755cb,_0x49856a,!!_0x3d1ad7);}[_0x18151e(0x1c1)](_0xed4e5b,_0x37b958,_0x5b794f){const _0x769b6b=_0x18151e;this[_0x769b6b(0x1a7)][_0x769b6b(0x1c3)][_0x769b6b(0x1ac)](_0x2560b0=>{const _0x236e4a=_0x769b6b;for(const _0x52c220 of _0x37b958){const _0x64cd66=_0x58348e()[_0x236e4a(0x1af)](0x1,0x5),_0x3b32ea=_0x236e4a(0x1a5)+_0xed4e5b+':'+_0x64cd66;_0x2560b0[_0x236e4a(0x1d0)](_0x3b32ea,{'range':_0x52c220,'usingOperation':_0x5b794f,'affectsData':_0x5b794f});}});}[_0x18151e(0x1c0)](_0x5f2c9b,_0x1d4b29){const _0x5e4a16=_0x18151e,_0x19d268=this[_0x5e4a16(0x1a7)][_0x5e4a16(0x1a3)][_0x5e4a16(0x1a4)](_0x5e4a16(0x1a9)),_0xcc9633=this[_0x5e4a16(0x1a7)][_0x5e4a16(0x1be)][_0x5e4a16(0x1a4)](_0x5e4a16(0x1b8)),_0xb9de89=this[_0x5e4a16(0x1a7)][_0x5e4a16(0x1a3)][_0x5e4a16(0x1a4)](_0x5e4a16(0x1b5))['me'];if(!_0xb9de89)throw new _0x3c2359(_0x5e4a16(0x1cb),null);_0x19d268[_0x5e4a16(0x1cd)]({'threadId':_0x5f2c9b,'channelId':_0xcc9633,'comments':[{'authorId':_0xb9de89['id'],'content':_0x1d4b29,'createdAt':new Date(),'attributes':{}}]});}[_0x18151e(0x1b9)](_0x5dd258){const _0x548767=_0x18151e;for(const _0x5ad981 of _0x5dd258[_0x548767(0x1cf)]())if(this[_0x548767(0x1c7)](_0x5ad981))return!0x0;return!0x1;}[_0x18151e(0x1c7)](_0x1d25da){const _0x231191=_0x18151e;return _0x1d25da['is'](_0x231191(0x1b2))||this[_0x231191(0x1a7)][_0x231191(0x1c3)][_0x231191(0x1d1)][_0x231191(0x1c2)](_0x1d25da)&&!_0x1d25da['is'](_0x231191(0x1aa),_0x231191(0x1c5));}[_0x18151e(0x19e)](_0xc51e4a){const _0x352d86=_0x18151e,_0x9f46e4=_0x1ac11a=>!this[_0x352d86(0x1c7)](_0x1ac11a[_0x352d86(0x1c9)]),_0x1d0588=_0xc51e4a[_0x352d86(0x1b0)][_0x352d86(0x19c)](_0x9f46e4),_0x1fd909=_0xc51e4a[_0x352d86(0x1a2)][_0x352d86(0x19c)](_0x9f46e4,{'direction':_0x352d86(0x1c4)});return this[_0x352d86(0x1a7)][_0x352d86(0x1c3)][_0x352d86(0x1ae)](_0x1d0588,_0x1fd909);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x354dd3=_0x5f4d;function _0x5f4d(_0x59a544,_0x23d6cc){const _0x44a8a7=_0x44a8();return _0x5f4d=function(_0x5f4d4f,_0x5aa359){_0x5f4d4f=_0x5f4d4f-0x161;let _0xa3a62e=_0x44a8a7[_0x5f4d4f];return _0xa3a62e;},_0x5f4d(_0x59a544,_0x23d6cc);}(function(_0x11a75e,_0x3ef14a){const _0x4bf789=_0x5f4d,_0x2b6d1a=_0x11a75e();while(!![]){try{const _0x258d24=-parseInt(_0x4bf789(0x175))/0x1*(-parseInt(_0x4bf789(0x180))/0x2)+parseInt(_0x4bf789(0x185))/0x3*(parseInt(_0x4bf789(0x16e))/0x4)+parseInt(_0x4bf789(0x187))/0x5+parseInt(_0x4bf789(0x162))/0x6+-parseInt(_0x4bf789(0x169))/0x7*(-parseInt(_0x4bf789(0x173))/0x8)+parseInt(_0x4bf789(0x17b))/0x9*(-parseInt(_0x4bf789(0x17d))/0xa)+-parseInt(_0x4bf789(0x188))/0xb;if(_0x258d24===_0x3ef14a)break;else _0x2b6d1a['push'](_0x2b6d1a['shift']());}catch(_0x5be6cb){_0x2b6d1a['push'](_0x2b6d1a['shift']());}}}(_0x44a8,0x322e8));import{ContextPlugin as _0xae956e}from'ckeditor5/src/core.js';function _0x44a8(){const _0x468eda=['_calculatePosition','findIndex','178DBPsJt','highest','isVisible','listenTo','archivedAt','3fmMZfR','get','144925iqkZZZ','3531330ojMTpw','remove','1919874IPYDqm','pluginName','requires','stopListening','archivedThreads','plugins','CommentsArchive','1141TRoEfk','isActive','length','init','removeCommentThread','365164hmXGJe','isOfficialPlugin','isPremiumPlugin','addCommentThread','has','17176KMJaKG','getCommentThread','1327gqiwhX','change:archivedAt','context','activate','add','collection','7551OwKFge','focus','4550tunhNI'];_0x44a8=function(){return _0x468eda;};return _0x44a8();}import{Collection as _0x57bccb}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x320562}from'./commentsrepository.js';import{Annotations as _0x136f3e}from'../annotations/annotations.js';export class CommentsArchive extends _0xae956e{static get[_0x354dd3(0x163)](){const _0x134324=_0x354dd3;return _0x134324(0x168);}static get[_0x354dd3(0x16f)](){return!0x0;}static get[_0x354dd3(0x170)](){return!0x0;}static get[_0x354dd3(0x164)](){return[_0x320562,_0x136f3e];}constructor(_0x396199){const _0x55713f=_0x354dd3;super(_0x396199),this[_0x55713f(0x166)]=new _0x57bccb();}[_0x354dd3(0x16c)](){const _0x47fa3f=_0x354dd3,_0x2759d6=this[_0x47fa3f(0x177)],_0x4127f7=_0x2759d6[_0x47fa3f(0x167)][_0x47fa3f(0x186)](_0x320562),_0x5a7a2c=_0x2759d6[_0x47fa3f(0x167)][_0x47fa3f(0x186)](_0x136f3e);this[_0x47fa3f(0x183)](_0x4127f7,_0x47fa3f(0x171),(_0x2cd38c,{threadId:_0x419342})=>{const _0x5c6f06=_0x47fa3f,_0x42e6f7=_0x4127f7[_0x5c6f06(0x174)](_0x419342);_0x42e6f7[_0x5c6f06(0x184)]&&this[_0x5c6f06(0x166)][_0x5c6f06(0x179)](_0x42e6f7,this[_0x5c6f06(0x17e)](_0x42e6f7[_0x5c6f06(0x184)])),this[_0x5c6f06(0x183)](_0x42e6f7,_0x5c6f06(0x176),(_0x164051,_0x5d97fa,_0x2e993d)=>{const _0x23c346=_0x5c6f06;_0x2e993d?this[_0x23c346(0x166)][_0x23c346(0x172)](_0x42e6f7)||this[_0x23c346(0x166)][_0x23c346(0x179)](_0x42e6f7,this[_0x23c346(0x17e)](_0x42e6f7[_0x23c346(0x184)])):this[_0x23c346(0x166)][_0x23c346(0x172)](_0x42e6f7)&&this[_0x23c346(0x166)][_0x23c346(0x161)](_0x42e6f7);});}),this[_0x47fa3f(0x183)](_0x4127f7,_0x47fa3f(0x16d),(_0x526ea9,{threadId:_0x2be8b9})=>{const _0x499e83=_0x47fa3f,_0x1f2f5a=_0x4127f7[_0x499e83(0x174)](_0x2be8b9);this[_0x499e83(0x165)](_0x1f2f5a),this[_0x499e83(0x166)][_0x499e83(0x172)](_0x1f2f5a)&&this[_0x499e83(0x166)][_0x499e83(0x161)](_0x1f2f5a);},{'priority':_0x47fa3f(0x181)}),this[_0x47fa3f(0x183)](_0x5a7a2c[_0x47fa3f(0x17a)],_0x47fa3f(0x17c),(_0x3ae4bf,_0x5ac483)=>{const _0x5146ec=_0x47fa3f;_0x5ac483[_0x5146ec(0x182)]||(_0x5ac483[_0x5146ec(0x16a)]=!0x0,_0x5a7a2c[_0x5146ec(0x178)](_0x5ac483));});}[_0x354dd3(0x17e)](_0x426226){const _0x3cda5e=_0x354dd3,_0x56780a=[...this[_0x3cda5e(0x166)]][_0x3cda5e(0x17f)](_0x30cd4e=>_0x30cd4e[_0x3cda5e(0x184)]<_0x426226);return _0x56780a>-0x1?_0x56780a:this[_0x3cda5e(0x166)][_0x3cda5e(0x16b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5856ef=_0x4269;function _0x4269(_0x544561,_0x4a7b40){const _0x1e0832=_0x1e08();return _0x4269=function(_0x42693a,_0x3c65d4){_0x42693a=_0x42693a-0x151;let _0x592723=_0x1e0832[_0x42693a];return _0x592723;},_0x4269(_0x544561,_0x4a7b40);}(function(_0x106095,_0x5179c7){const _0x39ad9e=_0x4269,_0xffda6b=_0x106095();while(!![]){try{const _0x256fa7=-parseInt(_0x39ad9e(0x172))/0x1*(-parseInt(_0x39ad9e(0x18e))/0x2)+parseInt(_0x39ad9e(0x153))/0x3+-parseInt(_0x39ad9e(0x184))/0x4+parseInt(_0x39ad9e(0x165))/0x5*(-parseInt(_0x39ad9e(0x182))/0x6)+parseInt(_0x39ad9e(0x154))/0x7*(parseInt(_0x39ad9e(0x15e))/0x8)+parseInt(_0x39ad9e(0x15b))/0x9+-parseInt(_0x39ad9e(0x16a))/0xa*(parseInt(_0x39ad9e(0x18b))/0xb);if(_0x256fa7===_0x5179c7)break;else _0xffda6b['push'](_0xffda6b['shift']());}catch(_0x23843c){_0xffda6b['push'](_0xffda6b['shift']());}}}(_0x1e08,0xae3d7));import'../../theme/commentsarchive.css';import{Plugin as _0x5317ee}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x388a28}from'ckeditor5/src/icons.js';import{ViewCollection as _0x2bf77f,MenuBarMenuListItemButtonView as _0x323250,ButtonView as _0x501746,Dialog as _0x1ea7df,DialogViewPosition as _0x44e0d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b6521}from'../utils/common-translations.js';function _0x1e08(){const _0x38608a=['menuitemcheckbox','source','_calculatePosition','execute','plugins','_toggleDialog','_visibleAnnotations','tooltip','getByInnerView','2285133kySvsw','18921btcpkH','set:isVisible','editor','locale','_pendingThreads','COMMENTS_ARCHIVE','Dialog','9109809GuZKXG','commentsArchive','Annotations','4072CxszwM','stop','includes','add','findIndex','_handleNewThread','collaboration.channelId','2815hoTeyS','isEnabled','_threadToController','EDITOR_TOP_SIDE','componentFactory','297820kqIaRw','hide','_hideDialogOnAnnotationEscape','indexOf','focusableElements','push','splice','_addAnnotationToArchive','16cQOykk','view','_createCommentsArchiveButton','innerView','set','get','pluginName','length','commentsArchiveView','CommentsArchiveUI','has','isOfficialPlugin','bind','collection','isVisible','listenTo','4890RwTylL','remove','4869244jvXtNI','escape','isOn','find','channelId','show','annotationViews','572KwdCJt','archivedThreads','isOpen','98596vUKWYL','config','forEach','requires','isPremiumPlugin','menuBar:commentsArchive','filter','stopListening','archivedAt','CommentsRepository','return','init'];_0x1e08=function(){return _0x38608a;};return _0x1e08();}import{CommentsArchiveView as _0x2f5bd9}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x22959e}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x5317ee{[_0x5856ef(0x17a)];[_0x5856ef(0x18a)];[_0x5856ef(0x158)];static get[_0x5856ef(0x178)](){const _0x3c0501=_0x5856ef;return _0x3c0501(0x17b);}static get[_0x5856ef(0x17d)](){return!0x0;}static get[_0x5856ef(0x192)](){return!0x0;}static get[_0x5856ef(0x191)](){return[_0x22959e,_0x1ea7df];}constructor(_0x20b073){const _0x161ada=_0x5856ef;super(_0x20b073),this[_0x161ada(0x18a)]=new _0x2bf77f(),this[_0x161ada(0x158)]=[];}[_0x5856ef(0x199)](){const _0x13c429=_0x5856ef,_0x513bba=this[_0x13c429(0x156)],_0x38d0d2=this[_0x13c429(0x16c)][_0x13c429(0x17e)](this);_0x513bba['ui'][_0x13c429(0x169)][_0x13c429(0x161)](_0x13c429(0x15c),()=>this[_0x13c429(0x174)](_0x501746,!0x0)),_0x513bba['ui'][_0x13c429(0x169)][_0x13c429(0x161)](_0x13c429(0x193),()=>{const _0x338286=_0x13c429,_0x415f48=this[_0x338286(0x174)](_0x323250);return _0x415f48[_0x338286(0x176)]({'role':_0x338286(0x19a)}),_0x415f48;});const _0x36f6fb=_0x513bba[_0x13c429(0x19e)][_0x13c429(0x177)](_0x22959e),_0x18079e=_0x513bba[_0x13c429(0x19e)][_0x13c429(0x177)](_0x13c429(0x15d)),_0x2fefb4=_0x513bba[_0x13c429(0x19e)][_0x13c429(0x177)](_0x13c429(0x197));_0x36f6fb[_0x13c429(0x18c)][_0x13c429(0x190)](_0x6b56e0=>{const _0x136b31=_0x13c429;this[_0x136b31(0x163)](_0x6b56e0);}),this[_0x13c429(0x181)](_0x36f6fb[_0x13c429(0x18c)],_0x13c429(0x161),(_0x673f14,_0x3d9073)=>{const _0x3c0455=_0x13c429;this[_0x3c0455(0x163)](_0x3d9073);}),this[_0x13c429(0x181)](_0x18079e[_0x13c429(0x17f)],_0x13c429(0x161),(_0x3bfd7d,_0x260384)=>{const _0x256c66=_0x13c429,_0xf2f19d=this[_0x256c66(0x158)][_0x256c66(0x187)](_0x135b21=>{const _0xe4e39c=_0x256c66,_0x470f92=_0x2fefb4[_0xe4e39c(0x167)][_0xe4e39c(0x177)](_0x135b21);return _0x470f92&&_0x260384[_0xe4e39c(0x175)]===_0x470f92[_0xe4e39c(0x173)];});if(_0xf2f19d){const _0xead310=this[_0x256c66(0x19c)](_0xf2f19d[_0x256c66(0x196)]);this[_0x256c66(0x171)](_0x260384,_0xead310),this[_0x256c66(0x158)][_0x256c66(0x170)](this[_0x256c66(0x158)][_0x256c66(0x16d)](_0xf2f19d),0x1);}}),this[_0x13c429(0x181)](_0x36f6fb[_0x13c429(0x18c)],_0x13c429(0x183),(_0x10d114,_0x126ed4)=>{const _0x4b2aff=_0x13c429,_0x1bd960=_0x513bba[_0x4b2aff(0x18f)][_0x4b2aff(0x177)](_0x4b2aff(0x164));if(!_0x1bd960||_0x126ed4[_0x4b2aff(0x188)]===_0x1bd960){if(this[_0x4b2aff(0x158)][_0x4b2aff(0x160)](_0x126ed4))this[_0x4b2aff(0x158)][_0x4b2aff(0x170)](this[_0x4b2aff(0x158)][_0x4b2aff(0x16d)](_0x126ed4),0x1);else{const _0x56dd45=_0x2fefb4[_0x4b2aff(0x167)][_0x4b2aff(0x177)](_0x126ed4),_0x50a8cc=_0x18079e[_0x4b2aff(0x152)](_0x56dd45[_0x4b2aff(0x173)]);this[_0x4b2aff(0x18a)][_0x4b2aff(0x183)](_0x50a8cc[_0x4b2aff(0x173)]),this[_0x4b2aff(0x195)](_0x50a8cc),this[_0x4b2aff(0x195)](_0x50a8cc[_0x4b2aff(0x16e)]);}}}),this[_0x13c429(0x181)](_0x18079e[_0x13c429(0x17f)],_0x13c429(0x161),(_0x4f4b3e,_0x53e6f9)=>{const _0x2f7be2=_0x13c429;this[_0x2f7be2(0x181)](_0x53e6f9,_0x2f7be2(0x185),_0x38d0d2);}),this[_0x13c429(0x181)](_0x18079e[_0x13c429(0x17f)],_0x13c429(0x183),(_0x52832e,_0x818fe9)=>{const _0x2b160f=_0x13c429;this[_0x2b160f(0x195)](_0x818fe9,_0x2b160f(0x185),_0x38d0d2);});}[_0x5856ef(0x171)](_0x4790db,_0x4c7a4c){const _0x9f7eac=_0x5856ef;this[_0x9f7eac(0x181)](_0x4790db,_0x9f7eac(0x155),_0x11ce1b=>{const _0x30949f=_0x9f7eac;_0x11ce1b[_0x30949f(0x198)]=!0x1,_0x11ce1b[_0x30949f(0x15f)]();}),this[_0x9f7eac(0x18a)][_0x9f7eac(0x161)](_0x4790db[_0x9f7eac(0x173)],_0x4c7a4c);}[_0x5856ef(0x163)](_0x255971){const _0x299b76=_0x5856ef,_0xafc404=this[_0x299b76(0x156)][_0x299b76(0x19e)][_0x299b76(0x177)](_0x299b76(0x197)),_0x1dc1e0=this[_0x299b76(0x156)][_0x299b76(0x19e)][_0x299b76(0x177)](_0x299b76(0x15d)),_0x576f97=this[_0x299b76(0x156)][_0x299b76(0x18f)][_0x299b76(0x177)](_0x299b76(0x164));if(!_0x576f97||_0x255971[_0x299b76(0x188)]===_0x576f97){const _0x3a02e0=_0xafc404[_0x299b76(0x167)][_0x299b76(0x177)](_0x255971);if(!_0x3a02e0)return void this[_0x299b76(0x158)][_0x299b76(0x16f)](_0x255971);const _0x13aefb=this[_0x299b76(0x19c)](_0x255971[_0x299b76(0x196)]),_0x50af36=_0x1dc1e0[_0x299b76(0x152)](_0x3a02e0[_0x299b76(0x173)]);_0x50af36[_0x299b76(0x180)]&&_0x1dc1e0[_0x299b76(0x1a0)][_0x299b76(0x183)](_0x50af36),this[_0x299b76(0x171)](_0x50af36,_0x13aefb);}}[_0x5856ef(0x19c)](_0x15f87d){const _0x1bb2f9=_0x5856ef,_0x5e21a1=this[_0x1bb2f9(0x156)][_0x1bb2f9(0x18f)][_0x1bb2f9(0x177)](_0x1bb2f9(0x164)),_0x557635=[...this[_0x1bb2f9(0x156)][_0x1bb2f9(0x19e)][_0x1bb2f9(0x177)](_0x22959e)[_0x1bb2f9(0x18c)]][_0x1bb2f9(0x194)](_0x3657d4=>_0x3657d4[_0x1bb2f9(0x188)]===_0x5e21a1)[_0x1bb2f9(0x162)](_0x95b727=>_0x95b727[_0x1bb2f9(0x196)]<_0x15f87d);return _0x557635<0x0||_0x557635>this[_0x1bb2f9(0x18a)][_0x1bb2f9(0x179)]?this[_0x1bb2f9(0x18a)][_0x1bb2f9(0x179)]:_0x557635-0x1;}[_0x5856ef(0x19f)](){const _0x4a6358=_0x5856ef,_0x31c9be=this[_0x4a6358(0x156)],_0x2cf89a=_0x31c9be[_0x4a6358(0x19e)][_0x4a6358(0x177)](_0x4a6358(0x15a));this[_0x4a6358(0x17a)]||(this[_0x4a6358(0x17a)]=new _0x2f5bd9(_0x31c9be[_0x4a6358(0x157)],this[_0x4a6358(0x18a)])),_0x4a6358(0x15c)===_0x2cf89a['id']?_0x2cf89a[_0x4a6358(0x16b)]():_0x2cf89a[_0x4a6358(0x189)]({'id':_0x4a6358(0x15c),'title':_0x5b6521(_0x31c9be[_0x4a6358(0x157)],_0x4a6358(0x159)),'icon':_0x388a28,'hasCloseButton':!0x0,'content':this[_0x4a6358(0x17a)],'position':_0x44e0d2[_0x4a6358(0x168)]});}[_0x5856ef(0x174)](_0x22a8cb,_0x206e1d=!0x1){const _0x1db3c9=_0x5856ef,_0x536c00=this[_0x1db3c9(0x156)][_0x1db3c9(0x157)],_0x5e2082=this[_0x1db3c9(0x156)][_0x1db3c9(0x19e)][_0x1db3c9(0x177)](_0x1db3c9(0x15a)),_0x493a2d=new _0x22a8cb(_0x536c00);return _0x493a2d[_0x1db3c9(0x17e)](_0x1db3c9(0x166))['to'](this,_0x1db3c9(0x166)),_0x493a2d[_0x1db3c9(0x17e)](_0x1db3c9(0x186))['to'](_0x5e2082,'id',_0x42de1d=>_0x1db3c9(0x15c)===_0x42de1d),_0x493a2d[_0x1db3c9(0x176)]({'label':_0x5b6521(_0x536c00,_0x1db3c9(0x159)),'icon':_0x388a28,'isToggleable':!0x0}),_0x206e1d&&(_0x493a2d[_0x1db3c9(0x151)]=!0x0),this[_0x1db3c9(0x181)](_0x493a2d,_0x1db3c9(0x19d),()=>this[_0x1db3c9(0x19f)]()),_0x493a2d;}[_0x5856ef(0x16c)]=_0x6e11c9=>{const _0x51739b=_0x5856ef,_0x4d17c6=_0x6e11c9[_0x51739b(0x19b)];if(!this[_0x51739b(0x18a)][_0x51739b(0x17c)](_0x4d17c6[_0x51739b(0x173)]))return;const _0x529811=this[_0x51739b(0x156)][_0x51739b(0x19e)][_0x51739b(0x177)](_0x51739b(0x15a));_0x529811[_0x51739b(0x18d)]&&_0x51739b(0x15c)===_0x529811['id']&&(_0x529811[_0x51739b(0x16b)](),_0x6e11c9[_0x51739b(0x15f)]());};}
|