@ckeditor/ckeditor5-comments 47.2.0-alpha.7 → 47.3.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/LICENSE.md +4 -4
- 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 -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 _0xf78925=_0xc20f;(function(_0x26b307,_0x2155d0){const _0x2b2712=_0xc20f,_0x50e187=_0x26b307();while(!![]){try{const _0x14fe11=parseInt(_0x2b2712(0x203))/0x1*(-parseInt(_0x2b2712(0x204))/0x2)+-parseInt(_0x2b2712(0x1e2))/0x3*(parseInt(_0x2b2712(0x22d))/0x4)+parseInt(_0x2b2712(0x22a))/0x5+parseInt(_0x2b2712(0x219))/0x6+-parseInt(_0x2b2712(0x1ff))/0x7*(-parseInt(_0x2b2712(0x21d))/0x8)+-parseInt(_0x2b2712(0x202))/0x9+-parseInt(_0x2b2712(0x20f))/0xa*(-parseInt(_0x2b2712(0x1f0))/0xb);if(_0x14fe11===_0x2155d0)break;else _0x50e187['push'](_0x50e187['shift']());}catch(_0x1abef7){_0x50e187['push'](_0x50e187['shift']());}}}(_0x6194,0xd449b));import{ContextPlugin as _0x393f43}from'ckeditor5/src/core.js';function _0x6194(){const _0xca3319=['_recalculate','class','content','_updateLastItem','change:targetRect','remove','add','15701rlrtci','change:_lastItem','target','6611256brWHoU','1yYkMed','668194QnwvFI','_attachToContainer','Sidebar','getIndex','isOfficialPlugin','_annotationToSidebarItemView','locale','addAnnotation','sidebar.container','top','height','835330UMYRzE','_activeAnnotation','set','minHeight','_lastItem','bind','nodeType','pluginName','object','_detachFromContainer','8161710kNqdVz','_alignForBottomChange','length','updateHeight','488fQTvwJ','unbind','sidebar-setcontainer-invalid-element','_spaceBetweenItems','_getTargetTop','isActive','sidebar.preventScrollOutOfView','isPremiumPlugin','init','change:bottom','refresh','context','define','4725660XaDRjZ','_alignToTargetRect','get','180788mVzxHS','appendChild','render','max','isAnimationDisabled','view','_targetTop','_alignAfterItem','last','listenTo','sidebar-attachtocontainer-missing-container','_getItemAfter','_alignBeforeItem','_setItemTop','delete','_recalculateBuffer','setContainer','39RfmHpT','push','stopListening','list','bottom','clear','getSidebarItemView','_createSidebarView','container','_getItemBefore','_destroySidebarItemView','_getMaxAvailableTop','_alignForTopChange','element','11AZlcIq','rearrange','_sidebarItemViewToAnnotation','destroy','change:top','targetRect','_annotations','config'];_0x6194=function(){return _0xca3319;};return _0x6194();}import{Rect as _0x13e7cd,CKEditorError as _0x64e0bb}from'ckeditor5/src/utils.js';function _0xc20f(_0x39f752,_0x4328b4){const _0x619407=_0x6194();return _0xc20f=function(_0xc20fdf,_0x50bae3){_0xc20fdf=_0xc20fdf-0x1d3;let _0xf85be6=_0x619407[_0xc20fdf];return _0xf85be6;},_0xc20f(_0x39f752,_0x4328b4);}import{AnnotationsSidebarView as _0x12c0c2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x39fec0}from'./view/sidebaritemview.js';export class Sidebar extends _0x393f43{[_0xf78925(0x1d6)];[_0xf78925(0x210)];[_0xf78925(0x1f6)];[_0xf78925(0x220)];[_0xf78925(0x1f2)];[_0xf78925(0x209)];[_0xf78925(0x1e0)];static get[_0xf78925(0x216)](){const _0x42d1af=_0xf78925;return _0x42d1af(0x206);}static get[_0xf78925(0x208)](){return!0x0;}static get[_0xf78925(0x224)](){return!0x0;}constructor(_0x23d670){const _0x1636c3=_0xf78925;super(_0x23d670),this[_0x1636c3(0x211)](_0x1636c3(0x213),void 0x0),this[_0x1636c3(0x1d6)]=this[_0x1636c3(0x1e9)](),this[_0x1636c3(0x211)](_0x1636c3(0x1ea),null),this[_0x1636c3(0x220)]=0x19,this[_0x1636c3(0x1f2)]=new Map(),this[_0x1636c3(0x209)]=new Map(),this[_0x1636c3(0x228)][_0x1636c3(0x1f7)][_0x1636c3(0x229)](_0x1636c3(0x223),!0x1),this[_0x1636c3(0x1f6)]=null,this[_0x1636c3(0x210)]=null,this[_0x1636c3(0x1e0)]=[];}[_0xf78925(0x225)](){const _0x5e18e5=_0xf78925,_0x4cd5b4=this[_0x5e18e5(0x228)][_0x5e18e5(0x1f7)][_0x5e18e5(0x22c)](_0x5e18e5(0x20c));_0x4cd5b4&&this[_0x5e18e5(0x1e1)](_0x4cd5b4);}[_0xf78925(0x1e1)](_0x1935cb){const _0x13fa84=_0xf78925;if(!g(_0x1935cb))throw new _0x64e0bb(_0x13fa84(0x21f));this[_0x13fa84(0x1ea)]=_0x1935cb;}[_0xf78925(0x205)]({viewClass:_0x18a747='',spaceBetweenItems:_0x2c4224=0x19}={}){const _0x3a33bf=_0xf78925;if(!g(this[_0x3a33bf(0x1ea)]))throw new _0x64e0bb(_0x3a33bf(0x1db),this);this[_0x3a33bf(0x1ea)][_0x3a33bf(0x22e)](this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1ef)]),this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1f9)]=_0x18a747,this[_0x3a33bf(0x220)]=_0x2c4224;}[_0xf78925(0x1f1)]({removedAnnotation:_0xce2a04,previousAnnotation:_0xa74c7f,nextAnnotation:_0x503af2}){const _0x41ffb2=_0xf78925,_0x4d7bd0=this[_0x41ffb2(0x1e8)](_0xce2a04);this[_0x41ffb2(0x1d6)][_0x41ffb2(0x1e5)][_0x41ffb2(0x1fd)](_0x4d7bd0),this[_0x41ffb2(0x1ec)](_0xce2a04),_0xa74c7f&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0xa74c7f)),_0x503af2&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0x503af2)),this[_0x41ffb2(0x1fb)]();}[_0xf78925(0x227)]({blurredAnnotation:_0x1806da,activatedAnnotation:_0x116100,disableAnimationOnActivatedAnnotation:_0x20e5ca}){const _0x239f96=_0xf78925;if(this[_0x239f96(0x210)]=_0x116100,_0x1806da){_0x1806da[_0x239f96(0x222)]=!0x1;const _0x59cafd=this[_0x239f96(0x1e8)](_0x1806da);_0x59cafd&&_0x20e5ca&&(_0x59cafd[_0x239f96(0x1d5)]=!0x1);}if(_0x116100){const _0x3a65cb=this[_0x239f96(0x1e8)](_0x116100);_0x3a65cb&&(_0x116100[_0x239f96(0x222)]=!0x0,_0x20e5ca&&(_0x3a65cb[_0x239f96(0x1d5)]=!0x0,_0x3a65cb[_0x239f96(0x20d)]+=0x1),this[_0x239f96(0x22b)](_0x3a65cb));}}[_0xf78925(0x218)](_0x2bae91){const _0x33d629=_0xf78925;if(this[_0x33d629(0x1d6)][_0x33d629(0x1ef)][_0x33d629(0x1fd)](),_0x2bae91){for(const _0x5a1be7 of _0x2bae91)this[_0x33d629(0x1ec)](_0x5a1be7);}this[_0x33d629(0x1d6)][_0x33d629(0x1e5)][_0x33d629(0x1e7)](),this[_0x33d629(0x1d6)][_0x33d629(0x1f9)]='',this[_0x33d629(0x213)]=null;}[_0xf78925(0x20b)](_0x5345a,_0x4eae6a){const _0x5c6d0c=_0xf78925;_0x4eae6a||(_0x4eae6a=_0x5345a[_0x5c6d0c(0x1d6)]);const _0x8d054c=new _0x39fec0(this[_0x5c6d0c(0x228)][_0x5c6d0c(0x20a)]);this[_0x5c6d0c(0x1f2)][_0x5c6d0c(0x211)](_0x8d054c,_0x5345a),this[_0x5c6d0c(0x209)][_0x5c6d0c(0x211)](_0x5345a,_0x8d054c),_0x8d054c[_0x5c6d0c(0x1fa)][_0x5c6d0c(0x1fe)](_0x4eae6a),this[_0x5c6d0c(0x1da)](_0x5345a[_0x5c6d0c(0x1d6)],_0x5c6d0c(0x1fc),(_0x11bcb7,_0x30214e,_0x49adf7)=>{const _0x2e07c1=_0x5c6d0c,_0x5d3f7d=this[_0x2e07c1(0x221)](_0x5345a,_0x49adf7);_0x8d054c[_0x2e07c1(0x1d7)]!=_0x5d3f7d&&(_0x8d054c[_0x2e07c1(0x1d7)]=_0x5d3f7d,this[_0x2e07c1(0x1de)](_0x8d054c,_0x5d3f7d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x1f4),()=>{const _0x158466=_0x5c6d0c;this[_0x158466(0x1f8)](_0x8d054c,_0x158466(0x20d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x226),()=>{const _0x26ab73=_0x5c6d0c;this[_0x26ab73(0x1f8)](_0x8d054c,_0x26ab73(0x1e6));}),this[_0x5c6d0c(0x22b)](_0x8d054c);const _0x350c20=this[_0x5c6d0c(0x1eb)](_0x8d054c);if(_0x350c20)this[_0x5c6d0c(0x1d8)](_0x350c20,_0x8d054c)||this[_0x5c6d0c(0x22b)](_0x8d054c);else this[_0x5c6d0c(0x22b)](_0x8d054c);return this[_0x5c6d0c(0x1fb)](),this[_0x5c6d0c(0x1d6)][_0x5c6d0c(0x1e5)][_0x5c6d0c(0x1fe)](_0x8d054c),_0x8d054c;}[_0xf78925(0x1ee)](_0x4781a4){const _0xaf8a55=_0xf78925;if(!_0x4781a4[_0xaf8a55(0x1fa)][_0xaf8a55(0x21b)])return;const _0x192922=this[_0xaf8a55(0x1eb)](_0x4781a4);if(!_0x192922)return;const _0xb072c7=this[_0xaf8a55(0x1f2)][_0xaf8a55(0x22c)](_0x192922),_0x2050fe=this[_0xaf8a55(0x210)];_0x2050fe&&_0x2050fe===_0xb072c7?this[_0xaf8a55(0x1d8)](_0x192922,_0x4781a4):this[_0xaf8a55(0x1dd)](_0x4781a4,_0x192922);}[_0xf78925(0x21a)](_0x590918){const _0x67bc03=_0xf78925;if(!_0x590918[_0x67bc03(0x1fa)][_0x67bc03(0x21b)])return;const _0xc7c1f7=this[_0x67bc03(0x1dc)](_0x590918);if(!_0xc7c1f7)return;const _0x5d3d94=this[_0x67bc03(0x1f2)][_0x67bc03(0x22c)](_0xc7c1f7),_0x1d36af=this[_0x67bc03(0x228)][_0x67bc03(0x1f7)][_0x67bc03(0x22c)](_0x67bc03(0x223)),_0x3abbd8=this[_0x67bc03(0x210)];_0x3abbd8&&_0x3abbd8===_0x5d3d94&&_0x1d36af?(this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918),this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7)):_0x3abbd8&&_0x3abbd8===_0x5d3d94?this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918):this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7);}[_0xf78925(0x1f8)](_0x461921,_0x3098f2){const _0x2e6055=_0xf78925;0x0===this[_0x2e6055(0x1e0)][_0x2e6055(0x21b)]&&setTimeout(()=>{const _0x2a5bd5=_0x2e6055;for(const {sidebarItemView:_0x3f37ee,changedProp:_0x29a09f}of this[_0x2a5bd5(0x1e0)])_0x2a5bd5(0x20d)===_0x29a09f?this[_0x2a5bd5(0x1ee)](_0x3f37ee):this[_0x2a5bd5(0x21a)](_0x3f37ee);this[_0x2a5bd5(0x1e0)]=[];},0xa),this[_0x2e6055(0x1e0)][_0x2e6055(0x1e3)]({'sidebarItemView':_0x461921,'changedProp':_0x3098f2});}[_0xf78925(0x1e8)](_0x4ba482){const _0x45ade7=_0xf78925;return this[_0x45ade7(0x209)][_0x45ade7(0x22c)](_0x4ba482);}[_0xf78925(0x1f3)](){const _0x290794=_0xf78925;this[_0x290794(0x1e4)](),this[_0x290794(0x1d6)][_0x290794(0x1f3)]();}[_0xf78925(0x1ec)](_0x128d7a){const _0x2c77f7=_0xf78925,_0x544d45=this[_0x2c77f7(0x1e8)](_0x128d7a);this[_0x2c77f7(0x1e4)](_0x544d45),this[_0x2c77f7(0x1e4)](_0x128d7a[_0x2c77f7(0x1d6)]),_0x544d45[_0x2c77f7(0x1f3)](),this[_0x2c77f7(0x209)][_0x2c77f7(0x1df)](_0x128d7a),this[_0x2c77f7(0x1f2)][_0x2c77f7(0x1df)](_0x544d45);}[_0xf78925(0x1e9)](){const _0x2226df=_0xf78925,_0x5cc49f=new _0x12c0c2(this[_0x2226df(0x228)][_0x2226df(0x20a)]);return _0x5cc49f[_0x2226df(0x1d3)](),this['on'](_0x2226df(0x200),(_0x3986e0,_0x3f4f20,_0x4c798e,_0x1b38f6)=>{const _0x37d040=_0x2226df;_0x1b38f6&&_0x5cc49f[_0x37d040(0x21e)](_0x37d040(0x212)),_0x4c798e?_0x5cc49f[_0x37d040(0x214)](_0x37d040(0x212))['to'](_0x4c798e,_0x37d040(0x1e6)):_0x5cc49f[_0x37d040(0x212)]=null;}),_0x5cc49f;}[_0xf78925(0x1fb)](){const _0xddf48=_0xf78925;this[_0xddf48(0x213)]=this[_0xddf48(0x1f6)]?.[_0xddf48(0x1d9)]?this[_0xddf48(0x1e8)](this[_0xddf48(0x1f6)][_0xddf48(0x1d9)]):null;}[_0xf78925(0x1eb)](_0x289960){const _0x4da26d=_0xf78925,_0x20ec43=this[_0x4da26d(0x1f2)][_0x4da26d(0x22c)](_0x289960),_0x42eb02=_0x20ec43&&this[_0x4da26d(0x1f6)]?.[_0x4da26d(0x22c)](this[_0x4da26d(0x1f6)][_0x4da26d(0x207)](_0x20ec43)-0x1);return _0x42eb02&&this[_0x4da26d(0x1e8)](_0x42eb02)||null;}[_0xf78925(0x1dc)](_0x436594){const _0x44b38f=_0xf78925,_0x6b15ac=this[_0x44b38f(0x1f2)][_0x44b38f(0x22c)](_0x436594),_0x2d587e=_0x6b15ac&&this[_0x44b38f(0x1f6)]?.[_0x44b38f(0x22c)](this[_0x44b38f(0x1f6)][_0x44b38f(0x207)](_0x6b15ac)+0x1);return _0x2d587e&&this[_0x44b38f(0x1e8)](_0x2d587e)||null;}[_0xf78925(0x1dd)](_0x32816c,_0x2293e9){const _0x52e6ef=_0xf78925;_0x32816c[_0x52e6ef(0x21c)]();const _0x1d7e60=G(_0x2293e9[_0x52e6ef(0x1e6)]+this[_0x52e6ef(0x220)],_0x32816c[_0x52e6ef(0x20d)]);return!!_0x1d7e60&&(this[_0x52e6ef(0x1de)](_0x2293e9,_0x2293e9[_0x52e6ef(0x20d)]-_0x1d7e60),!0x0);}[_0xf78925(0x1d8)](_0x28ba62,_0x4f83a6){const _0x425743=_0xf78925;_0x28ba62[_0x425743(0x21c)]();const _0x1db225=G(_0x28ba62[_0x425743(0x1e6)]+this[_0x425743(0x220)],_0x4f83a6[_0x425743(0x20d)]);return!!_0x1db225&&(this[_0x425743(0x1de)](_0x4f83a6,_0x4f83a6[_0x425743(0x20d)]+_0x1db225,!0x1),!0x0);}[_0xf78925(0x22b)](_0x4da01f){const _0xc389b3=_0xf78925,_0x3310d3=this[_0xc389b3(0x1f2)][_0xc389b3(0x22c)](_0x4da01f);if(!_0x3310d3||!_0x3310d3[_0xc389b3(0x201)]||!_0x3310d3[_0xc389b3(0x1f5)])return;const _0xd8df4d=this[_0xc389b3(0x221)](_0x3310d3,_0x3310d3[_0xc389b3(0x1f5)]);this[_0xc389b3(0x1de)](_0x4da01f,_0xd8df4d);}[_0xf78925(0x221)](_0x3c91e9,_0x1af16f){const _0x31c73f=_0xf78925;if(null===_0x1af16f)return 0x0;if(_0x3c91e9[_0x31c73f(0x201)]instanceof _0x13e7cd)return _0x1af16f[_0x31c73f(0x20d)];{const _0x5f14b6=new _0x13e7cd(this[_0x31c73f(0x1d6)][_0x31c73f(0x1ef)])[_0x31c73f(0x20d)];return _0x1af16f[_0x31c73f(0x20d)]-_0x5f14b6;}}[_0xf78925(0x1de)](_0x54b2be,_0x21d33b,_0x394baf=this[_0xf78925(0x228)][_0xf78925(0x1f7)][_0xf78925(0x22c)](_0xf78925(0x223))){const _0x5f5bee=_0xf78925;_0x394baf&&(_0x21d33b=Math[_0x5f5bee(0x1d4)](_0x21d33b,this[_0x5f5bee(0x1ed)](_0x54b2be))),_0x54b2be[_0x5f5bee(0x20d)]=_0x21d33b;}[_0xf78925(0x1ed)](_0x3880fa){const _0x2eabd9=_0xf78925;let _0xcf29cd=this[_0x2eabd9(0x1eb)](_0x3880fa),_0x13c4a2=0x0;for(;_0xcf29cd;)_0xcf29cd[_0x2eabd9(0x21c)](),_0x13c4a2+=this[_0x2eabd9(0x220)]+_0xcf29cd[_0x2eabd9(0x20e)],_0xcf29cd=this[_0x2eabd9(0x1eb)](_0xcf29cd);return _0x13c4a2;}}function G(_0x49bd2d,_0x3978eb){const _0x438db7=_0xf78925;return Math[_0x438db7(0x1d4)](_0x49bd2d-_0x3978eb,0x0);}function g(_0x2d9fec){const _0x4489a3=_0xf78925;return null!==_0x2d9fec&&_0x4489a3(0x217)==typeof _0x2d9fec&&0x1===_0x2d9fec[_0x4489a3(0x215)];}
|
|
23
|
+
const _0x5db8fc=_0x4558;function _0x4558(_0x5d84f1,_0x40cf98){const _0x3df7d5=_0x3df7();return _0x4558=function(_0x45586d,_0x380c27){_0x45586d=_0x45586d-0x1ae;let _0x4c19f9=_0x3df7d5[_0x45586d];return _0x4c19f9;},_0x4558(_0x5d84f1,_0x40cf98);}function _0x3df7(){const _0x22dda8=['isAnimationDisabled','getSidebarItemView','_activeAnnotation','object','sidebar.preventScrollOutOfView','5KQRIYJ','_getItemAfter','config','listenTo','_destroySidebarItemView','_alignForBottomChange','Sidebar','set','_alignAfterItem','last','_getMaxAvailableTop','_alignBeforeItem','setContainer','addAnnotation','isOfficialPlugin','1816608KBdNqZ','_attachToContainer','top','view','container','3335259yadqyJ','pluginName','_targetTop','add','getIndex','minHeight','targetRect','sidebar-setcontainer-invalid-element','change:_lastItem','17502696RcTViI','_alignForTopChange','isActive','change:top','appendChild','locale','rearrange','_detachFromContainer','refresh','target','157919tKHCYV','_spaceBetweenItems','remove','list','destroy','_getItemBefore','_updateLastItem','define','change:targetRect','delete','7734104heNpYb','context','4HqFJzC','sidebar-attachtocontainer-missing-container','_sidebarItemViewToAnnotation','unbind','init','change:bottom','bottom','_getTargetTop','height','nodeType','clear','_annotationToSidebarItemView','_setItemTop','_annotations','max','class','_recalculateBuffer','_alignToTargetRect','push','5283324mYAjmx','bind','_recalculate','updateHeight','length','sidebar.container','stopListening','_createSidebarView','element','render','isPremiumPlugin','2943227TtFiae','_lastItem','content','get'];_0x3df7=function(){return _0x22dda8;};return _0x3df7();}(function(_0x29d505,_0x2e32ed){const _0x57cd73=_0x4558,_0x298a83=_0x29d505();while(!![]){try{const _0x4ed08d=-parseInt(_0x57cd73(0x1ce))/0x1+-parseInt(_0x57cd73(0x1b6))/0x2+parseInt(_0x57cd73(0x1bb))/0x3*(parseInt(_0x57cd73(0x1da))/0x4)+-parseInt(_0x57cd73(0x201))/0x5*(parseInt(_0x57cd73(0x1ed))/0x6)+parseInt(_0x57cd73(0x1f8))/0x7+-parseInt(_0x57cd73(0x1d8))/0x8+parseInt(_0x57cd73(0x1c4))/0x9;if(_0x4ed08d===_0x2e32ed)break;else _0x298a83['push'](_0x298a83['shift']());}catch(_0x56cffc){_0x298a83['push'](_0x298a83['shift']());}}}(_0x3df7,0x898da));import{ContextPlugin as _0x4082cf}from'ckeditor5/src/core.js';import{Rect as _0x5c452d,CKEditorError as _0x32fad1}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x346800}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x166b98}from'./view/sidebaritemview.js';export class Sidebar extends _0x4082cf{[_0x5db8fc(0x1b9)];[_0x5db8fc(0x1fe)];[_0x5db8fc(0x1e7)];[_0x5db8fc(0x1cf)];[_0x5db8fc(0x1dc)];[_0x5db8fc(0x1e5)];[_0x5db8fc(0x1ea)];static get[_0x5db8fc(0x1bc)](){const _0x15da81=_0x5db8fc;return _0x15da81(0x207);}static get[_0x5db8fc(0x1b5)](){return!0x0;}static get[_0x5db8fc(0x1f7)](){return!0x0;}constructor(_0x2f0cc1){const _0x3886ff=_0x5db8fc;super(_0x2f0cc1),this[_0x3886ff(0x1ae)](_0x3886ff(0x1f9),void 0x0),this[_0x3886ff(0x1b9)]=this[_0x3886ff(0x1f4)](),this[_0x3886ff(0x1ae)](_0x3886ff(0x1ba),null),this[_0x3886ff(0x1cf)]=0x19,this[_0x3886ff(0x1dc)]=new Map(),this[_0x3886ff(0x1e5)]=new Map(),this[_0x3886ff(0x1d9)][_0x3886ff(0x203)][_0x3886ff(0x1d5)](_0x3886ff(0x200),!0x1),this[_0x3886ff(0x1e7)]=null,this[_0x3886ff(0x1fe)]=null,this[_0x3886ff(0x1ea)]=[];}[_0x5db8fc(0x1de)](){const _0x17c8d8=_0x5db8fc,_0x4347c2=this[_0x17c8d8(0x1d9)][_0x17c8d8(0x203)][_0x17c8d8(0x1fb)](_0x17c8d8(0x1f2));_0x4347c2&&this[_0x17c8d8(0x1b3)](_0x4347c2);}[_0x5db8fc(0x1b3)](_0x2219dd){const _0x59ef4d=_0x5db8fc;if(!g(_0x2219dd))throw new _0x32fad1(_0x59ef4d(0x1c2));this[_0x59ef4d(0x1ba)]=_0x2219dd;}[_0x5db8fc(0x1b7)]({viewClass:_0x586079='',spaceBetweenItems:_0xd475f=0x19}={}){const _0x468ee4=_0x5db8fc;if(!g(this[_0x468ee4(0x1ba)]))throw new _0x32fad1(_0x468ee4(0x1db),this);this[_0x468ee4(0x1ba)][_0x468ee4(0x1c8)](this[_0x468ee4(0x1b9)][_0x468ee4(0x1f5)]),this[_0x468ee4(0x1b9)][_0x468ee4(0x1e9)]=_0x586079,this[_0x468ee4(0x1cf)]=_0xd475f;}[_0x5db8fc(0x1ca)]({removedAnnotation:_0x3055e1,previousAnnotation:_0x433d1e,nextAnnotation:_0x37dcc7}){const _0x22234f=_0x5db8fc,_0x56806e=this[_0x22234f(0x1fd)](_0x3055e1);this[_0x22234f(0x1b9)][_0x22234f(0x1d1)][_0x22234f(0x1d0)](_0x56806e),this[_0x22234f(0x205)](_0x3055e1),_0x433d1e&&this[_0x22234f(0x1eb)](this[_0x22234f(0x1fd)](_0x433d1e)),_0x37dcc7&&this[_0x22234f(0x1eb)](this[_0x22234f(0x1fd)](_0x37dcc7)),this[_0x22234f(0x1d4)]();}[_0x5db8fc(0x1cc)]({blurredAnnotation:_0x36d53d,activatedAnnotation:_0x37ec7e,disableAnimationOnActivatedAnnotation:_0x2e9012}){const _0x32fab5=_0x5db8fc;if(this[_0x32fab5(0x1fe)]=_0x37ec7e,_0x36d53d){_0x36d53d[_0x32fab5(0x1c6)]=!0x1;const _0x259f1f=this[_0x32fab5(0x1fd)](_0x36d53d);_0x259f1f&&_0x2e9012&&(_0x259f1f[_0x32fab5(0x1fc)]=!0x1);}if(_0x37ec7e){const _0x404993=this[_0x32fab5(0x1fd)](_0x37ec7e);_0x404993&&(_0x37ec7e[_0x32fab5(0x1c6)]=!0x0,_0x2e9012&&(_0x404993[_0x32fab5(0x1fc)]=!0x0,_0x404993[_0x32fab5(0x1b8)]+=0x1),this[_0x32fab5(0x1eb)](_0x404993));}}[_0x5db8fc(0x1cb)](_0x3a1fbc){const _0x48e4cc=_0x5db8fc;if(this[_0x48e4cc(0x1b9)][_0x48e4cc(0x1f5)][_0x48e4cc(0x1d0)](),_0x3a1fbc){for(const _0x1d0ec9 of _0x3a1fbc)this[_0x48e4cc(0x205)](_0x1d0ec9);}this[_0x48e4cc(0x1b9)][_0x48e4cc(0x1d1)][_0x48e4cc(0x1e4)](),this[_0x48e4cc(0x1b9)][_0x48e4cc(0x1e9)]='',this[_0x48e4cc(0x1f9)]=null;}[_0x5db8fc(0x1b4)](_0x5485ef,_0x1a9c77){const _0x29212f=_0x5db8fc;_0x1a9c77||(_0x1a9c77=_0x5485ef[_0x29212f(0x1b9)]);const _0x17b38e=new _0x166b98(this[_0x29212f(0x1d9)][_0x29212f(0x1c9)]);this[_0x29212f(0x1dc)][_0x29212f(0x1ae)](_0x17b38e,_0x5485ef),this[_0x29212f(0x1e5)][_0x29212f(0x1ae)](_0x5485ef,_0x17b38e),_0x17b38e[_0x29212f(0x1fa)][_0x29212f(0x1be)](_0x1a9c77),this[_0x29212f(0x204)](_0x5485ef[_0x29212f(0x1b9)],_0x29212f(0x1d6),(_0x6fa2de,_0x1e0ec6,_0x19f21d)=>{const _0x326c4c=_0x29212f,_0x3274c9=this[_0x326c4c(0x1e1)](_0x5485ef,_0x19f21d);_0x17b38e[_0x326c4c(0x1bd)]!=_0x3274c9&&(_0x17b38e[_0x326c4c(0x1bd)]=_0x3274c9,this[_0x326c4c(0x1e6)](_0x17b38e,_0x3274c9));}),this[_0x29212f(0x204)](_0x17b38e,_0x29212f(0x1c7),()=>{const _0x209d2b=_0x29212f;this[_0x209d2b(0x1ef)](_0x17b38e,_0x209d2b(0x1b8));}),this[_0x29212f(0x204)](_0x17b38e,_0x29212f(0x1df),()=>{const _0x2591ba=_0x29212f;this[_0x2591ba(0x1ef)](_0x17b38e,_0x2591ba(0x1e0));}),this[_0x29212f(0x1eb)](_0x17b38e);const _0x5bd90b=this[_0x29212f(0x1d3)](_0x17b38e);if(_0x5bd90b)this[_0x29212f(0x1af)](_0x5bd90b,_0x17b38e)||this[_0x29212f(0x1eb)](_0x17b38e);else this[_0x29212f(0x1eb)](_0x17b38e);return this[_0x29212f(0x1d4)](),this[_0x29212f(0x1b9)][_0x29212f(0x1d1)][_0x29212f(0x1be)](_0x17b38e),_0x17b38e;}[_0x5db8fc(0x1c5)](_0x533d78){const _0x2bd72a=_0x5db8fc;if(!_0x533d78[_0x2bd72a(0x1fa)][_0x2bd72a(0x1f1)])return;const _0xda9293=this[_0x2bd72a(0x1d3)](_0x533d78);if(!_0xda9293)return;const _0x3c66aa=this[_0x2bd72a(0x1dc)][_0x2bd72a(0x1fb)](_0xda9293),_0x4213d8=this[_0x2bd72a(0x1fe)];_0x4213d8&&_0x4213d8===_0x3c66aa?this[_0x2bd72a(0x1af)](_0xda9293,_0x533d78):this[_0x2bd72a(0x1b2)](_0x533d78,_0xda9293);}[_0x5db8fc(0x206)](_0x5d4ada){const _0x16ea0c=_0x5db8fc;if(!_0x5d4ada[_0x16ea0c(0x1fa)][_0x16ea0c(0x1f1)])return;const _0x3f40dc=this[_0x16ea0c(0x202)](_0x5d4ada);if(!_0x3f40dc)return;const _0x572368=this[_0x16ea0c(0x1dc)][_0x16ea0c(0x1fb)](_0x3f40dc),_0x309a0a=this[_0x16ea0c(0x1d9)][_0x16ea0c(0x203)][_0x16ea0c(0x1fb)](_0x16ea0c(0x200)),_0x4cfc41=this[_0x16ea0c(0x1fe)];_0x4cfc41&&_0x4cfc41===_0x572368&&_0x309a0a?(this[_0x16ea0c(0x1b2)](_0x3f40dc,_0x5d4ada),this[_0x16ea0c(0x1af)](_0x5d4ada,_0x3f40dc)):_0x4cfc41&&_0x4cfc41===_0x572368?this[_0x16ea0c(0x1b2)](_0x3f40dc,_0x5d4ada):this[_0x16ea0c(0x1af)](_0x5d4ada,_0x3f40dc);}[_0x5db8fc(0x1ef)](_0x105b25,_0x12a7d0){const _0x5d05fb=_0x5db8fc;0x0===this[_0x5d05fb(0x1ea)][_0x5d05fb(0x1f1)]&&setTimeout(()=>{const _0x553e5c=_0x5d05fb;for(const {sidebarItemView:_0x275481,changedProp:_0x44e220}of this[_0x553e5c(0x1ea)])_0x553e5c(0x1b8)===_0x44e220?this[_0x553e5c(0x1c5)](_0x275481):this[_0x553e5c(0x206)](_0x275481);this[_0x553e5c(0x1ea)]=[];},0xa),this[_0x5d05fb(0x1ea)][_0x5d05fb(0x1ec)]({'sidebarItemView':_0x105b25,'changedProp':_0x12a7d0});}[_0x5db8fc(0x1fd)](_0x21cbb6){const _0xdb5b79=_0x5db8fc;return this[_0xdb5b79(0x1e5)][_0xdb5b79(0x1fb)](_0x21cbb6);}[_0x5db8fc(0x1d2)](){const _0x4698d4=_0x5db8fc;this[_0x4698d4(0x1f3)](),this[_0x4698d4(0x1b9)][_0x4698d4(0x1d2)]();}[_0x5db8fc(0x205)](_0x43f51f){const _0x356fa1=_0x5db8fc,_0x57848d=this[_0x356fa1(0x1fd)](_0x43f51f);this[_0x356fa1(0x1f3)](_0x57848d),this[_0x356fa1(0x1f3)](_0x43f51f[_0x356fa1(0x1b9)]),_0x57848d[_0x356fa1(0x1d2)](),this[_0x356fa1(0x1e5)][_0x356fa1(0x1d7)](_0x43f51f),this[_0x356fa1(0x1dc)][_0x356fa1(0x1d7)](_0x57848d);}[_0x5db8fc(0x1f4)](){const _0x5683f9=_0x5db8fc,_0x13c447=new _0x346800(this[_0x5683f9(0x1d9)][_0x5683f9(0x1c9)]);return _0x13c447[_0x5683f9(0x1f6)](),this['on'](_0x5683f9(0x1c3),(_0x145f29,_0x370d51,_0x5016f2,_0x4993d3)=>{const _0x2212ff=_0x5683f9;_0x4993d3&&_0x13c447[_0x2212ff(0x1dd)](_0x2212ff(0x1c0)),_0x5016f2?_0x13c447[_0x2212ff(0x1ee)](_0x2212ff(0x1c0))['to'](_0x5016f2,_0x2212ff(0x1e0)):_0x13c447[_0x2212ff(0x1c0)]=null;}),_0x13c447;}[_0x5db8fc(0x1d4)](){const _0x5f3fbe=_0x5db8fc;this[_0x5f3fbe(0x1f9)]=this[_0x5f3fbe(0x1e7)]?.[_0x5f3fbe(0x1b0)]?this[_0x5f3fbe(0x1fd)](this[_0x5f3fbe(0x1e7)][_0x5f3fbe(0x1b0)]):null;}[_0x5db8fc(0x1d3)](_0x597aeb){const _0x2a75c6=_0x5db8fc,_0x2833c3=this[_0x2a75c6(0x1dc)][_0x2a75c6(0x1fb)](_0x597aeb),_0x56ba44=_0x2833c3&&this[_0x2a75c6(0x1e7)]?.[_0x2a75c6(0x1fb)](this[_0x2a75c6(0x1e7)][_0x2a75c6(0x1bf)](_0x2833c3)-0x1);return _0x56ba44&&this[_0x2a75c6(0x1fd)](_0x56ba44)||null;}[_0x5db8fc(0x202)](_0x10b17b){const _0x4e3e88=_0x5db8fc,_0x47a6dc=this[_0x4e3e88(0x1dc)][_0x4e3e88(0x1fb)](_0x10b17b),_0x4591d2=_0x47a6dc&&this[_0x4e3e88(0x1e7)]?.[_0x4e3e88(0x1fb)](this[_0x4e3e88(0x1e7)][_0x4e3e88(0x1bf)](_0x47a6dc)+0x1);return _0x4591d2&&this[_0x4e3e88(0x1fd)](_0x4591d2)||null;}[_0x5db8fc(0x1b2)](_0x11e409,_0x74474b){const _0x662b75=_0x5db8fc;_0x11e409[_0x662b75(0x1f0)]();const _0xc6b4a4=G(_0x74474b[_0x662b75(0x1e0)]+this[_0x662b75(0x1cf)],_0x11e409[_0x662b75(0x1b8)]);return!!_0xc6b4a4&&(this[_0x662b75(0x1e6)](_0x74474b,_0x74474b[_0x662b75(0x1b8)]-_0xc6b4a4),!0x0);}[_0x5db8fc(0x1af)](_0x5b5013,_0x47b63e){const _0x494797=_0x5db8fc;_0x5b5013[_0x494797(0x1f0)]();const _0x2d079f=G(_0x5b5013[_0x494797(0x1e0)]+this[_0x494797(0x1cf)],_0x47b63e[_0x494797(0x1b8)]);return!!_0x2d079f&&(this[_0x494797(0x1e6)](_0x47b63e,_0x47b63e[_0x494797(0x1b8)]+_0x2d079f,!0x1),!0x0);}[_0x5db8fc(0x1eb)](_0x209cbe){const _0x2f4537=_0x5db8fc,_0x586b96=this[_0x2f4537(0x1dc)][_0x2f4537(0x1fb)](_0x209cbe);if(!_0x586b96||!_0x586b96[_0x2f4537(0x1cd)]||!_0x586b96[_0x2f4537(0x1c1)])return;const _0x4f5b97=this[_0x2f4537(0x1e1)](_0x586b96,_0x586b96[_0x2f4537(0x1c1)]);this[_0x2f4537(0x1e6)](_0x209cbe,_0x4f5b97);}[_0x5db8fc(0x1e1)](_0x49a7ae,_0x29465a){const _0x151a22=_0x5db8fc;if(null===_0x29465a)return 0x0;if(_0x49a7ae[_0x151a22(0x1cd)]instanceof _0x5c452d)return _0x29465a[_0x151a22(0x1b8)];{const _0x4fa465=new _0x5c452d(this[_0x151a22(0x1b9)][_0x151a22(0x1f5)])[_0x151a22(0x1b8)];return _0x29465a[_0x151a22(0x1b8)]-_0x4fa465;}}[_0x5db8fc(0x1e6)](_0x47d674,_0x46bfbf,_0x2055f1=this[_0x5db8fc(0x1d9)][_0x5db8fc(0x203)][_0x5db8fc(0x1fb)](_0x5db8fc(0x200))){const _0x4fbd1a=_0x5db8fc;_0x2055f1&&(_0x46bfbf=Math[_0x4fbd1a(0x1e8)](_0x46bfbf,this[_0x4fbd1a(0x1b1)](_0x47d674))),_0x47d674[_0x4fbd1a(0x1b8)]=_0x46bfbf;}[_0x5db8fc(0x1b1)](_0x335098){const _0x141c8c=_0x5db8fc;let _0x4886ff=this[_0x141c8c(0x1d3)](_0x335098),_0x52aa5c=0x0;for(;_0x4886ff;)_0x4886ff[_0x141c8c(0x1f0)](),_0x52aa5c+=this[_0x141c8c(0x1cf)]+_0x4886ff[_0x141c8c(0x1e2)],_0x4886ff=this[_0x141c8c(0x1d3)](_0x4886ff);return _0x52aa5c;}}function G(_0x32262d,_0x3f8317){const _0x2d6f48=_0x5db8fc;return Math[_0x2d6f48(0x1e8)](_0x32262d-_0x3f8317,0x0);}function g(_0x4821b6){const _0x3d26ef=_0x5db8fc;return null!==_0x4821b6&&_0x3d26ef(0x1ff)==typeof _0x4821b6&&0x1===_0x4821b6[_0x3d26ef(0x1e3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xe64e(_0x2c327c,_0x4bd4f0){const _0x58c81f=_0x58c8();return _0xe64e=function(_0xe64ec6,_0x5dd6ad){_0xe64ec6=_0xe64ec6-0x16a;let _0x3ff154=_0x58c81f[_0xe64ec6];return _0x3ff154;},_0xe64e(_0x2c327c,_0x4bd4f0);}const _0x42c7e3=_0xe64e;(function(_0x51a19b,_0x3f1e99){const _0x32d7fc=_0xe64e,_0x2f8215=_0x51a19b();while(!![]){try{const _0x554bcc=parseInt(_0x32d7fc(0x180))/0x1+parseInt(_0x32d7fc(0x186))/0x2+-parseInt(_0x32d7fc(0x17f))/0x3+parseInt(_0x32d7fc(0x16b))/0x4+parseInt(_0x32d7fc(0x17d))/0x5*(-parseInt(_0x32d7fc(0x182))/0x6)+-parseInt(_0x32d7fc(0x173))/0x7+parseInt(_0x32d7fc(0x16e))/0x8*(parseInt(_0x32d7fc(0x16d))/0x9);if(_0x554bcc===_0x3f1e99)break;else _0x2f8215['push'](_0x2f8215['shift']());}catch(_0x1570a2){_0x2f8215['push'](_0x2f8215['shift']());}}}(_0x58c8,0x5afe4));import{ButtonView as _0x2b828b,View as _0x4e8a99}from'ckeditor5/src/ui.js';import{IconAddComment as _0x14715a}from'ckeditor5/src/icons.js';function _0x58c8(){const _0x3f0bcd=['2849496cxtWBk','icon','set','number','264514ZNVAiB','isDirty','1781808XPKZGH','children','11513592VAyzhG','8LVXTAh','ck-annotation-counter__badge--edit-mode','bind','_badge','add','4848389AHHNTH','counterView','span','bindTemplate','setTemplate','ck-annotation-counter__badge--','ck-annotation-counter__badge','toString','...','ck-annotation-counter','5oFxyle','extendTemplate','1803873sPSxeH','284545JOvgWe','annotationType'];_0x58c8=function(){return _0x3f0bcd;};return _0x58c8();}export class AnnotationCounterButtonView extends _0x2b828b{[_0x42c7e3(0x174)];constructor(_0x56972d){const _0x46bb46=_0x42c7e3;super(_0x56972d);const _0x1f6666=this[_0x46bb46(0x176)];this[_0x46bb46(0x184)](_0x46bb46(0x16a),!0x1),this[_0x46bb46(0x184)](_0x46bb46(0x185),0x0),this[_0x46bb46(0x170)](_0x46bb46(0x171))['to'](this,_0x46bb46(0x16a),this,_0x46bb46(0x185),(_0x2bacc9,_0x3615e3)=>_0x2bacc9?_0x46bb46(0x17b):_0x3615e3[_0x46bb46(0x17a)]()),this[_0x46bb46(0x184)](_0x46bb46(0x181),''),this[_0x46bb46(0x183)]=_0x14715a,this[_0x46bb46(0x17e)]({'attributes':{'class':[_0x46bb46(0x17c)]}}),this[_0x46bb46(0x174)]=new _0x4e8a99(),this[_0x46bb46(0x174)][_0x46bb46(0x177)]({'tag':_0x46bb46(0x175),'attributes':{'class':[_0x46bb46(0x179),_0x1f6666['to'](_0x46bb46(0x181),_0x3a4a6e=>_0x46bb46(0x178)+_0x3a4a6e),_0x1f6666['if'](_0x46bb46(0x16a),_0x46bb46(0x16f))]},'children':[{'text':_0x1f6666['to'](_0x46bb46(0x171))}]}),this[_0x46bb46(0x16c)][_0x46bb46(0x172)](this[_0x46bb46(0x174)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4437(){const _0xdbd4ff=['bindTemplate','_updateHeight','presentation','6078258TtUGDk','height','keystrokes','2584956hNNnbC','content','type','detach','destroy','render','445WWrdEz','set','isActive','setTemplate','clear','Esc','isDirty','delegate','add','element','mainView','createCollection','targetRect','454035TVnnZG','ck-rounded-corners','arrowup','1777532bRSALl','first','attach','listenTo','focus','937296TgEHVh','clientHeight','16WgKmTI','length','ck-annotation-wrapper','div','arrowdown','fire','780OYpHwL','focusTracker','_mutationObserver','2640344DMydio','ck-annotation-wrapper--active'];_0x4437=function(){return _0xdbd4ff;};return _0x4437();}const _0x5bb351=_0x5c56;(function(_0x32230c,_0x14474f){const _0x56407a=_0x5c56,_0xc68aa6=_0x32230c();while(!![]){try{const _0x2f3c3e=-parseInt(_0x56407a(0x197))/0x1+parseInt(_0x56407a(0x192))/0x2+parseInt(_0x56407a(0x18f))/0x3+parseInt(_0x56407a(0x19f))/0x4*(-parseInt(_0x56407a(0x182))/0x5)+-parseInt(_0x56407a(0x1aa))/0x6+-parseInt(_0x56407a(0x1a2))/0x7+-parseInt(_0x56407a(0x199))/0x8*(-parseInt(_0x56407a(0x1a7))/0x9);if(_0x2f3c3e===_0x14474f)break;else _0xc68aa6['push'](_0xc68aa6['shift']());}catch(_0x2c1b0f){_0xc68aa6['push'](_0xc68aa6['shift']());}}}(_0x4437,0x995c6));function _0x5c56(_0x4cad85,_0x5f125b){const _0x443796=_0x4437();return _0x5c56=function(_0x5c56cd,_0x1a5b4f){_0x5c56cd=_0x5c56cd-0x17f;let _0x492a6d=_0x443796[_0x5c56cd];return _0x492a6d;},_0x5c56(_0x4cad85,_0x5f125b);}import{View as _0x3baab7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x375f2e,KeystrokeHandler as _0x1f9be3,uid as _0x1cf329}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x412885}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x3baab7{[_0x5bb351(0x1a0)];['id'];[_0x5bb351(0x1a9)];[_0x5bb351(0x1ab)];[_0x5bb351(0x18c)];[_0x5bb351(0x1a1)];constructor(_0x44e839,_0x1cb213){const _0x3c91d2=_0x5bb351;super(_0x44e839),this['id']=_0x1cf329(),this[_0x3c91d2(0x1a0)]=new _0x375f2e(),this[_0x3c91d2(0x1a9)]=new _0x1f9be3(),this[_0x3c91d2(0x1a9)][_0x3c91d2(0x183)](_0x3c91d2(0x187),(_0x11c012,_0x4a1859)=>this[_0x3c91d2(0x19e)](_0x3c91d2(0x187),_0x4a1859)),this[_0x3c91d2(0x183)](_0x3c91d2(0x18e),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x3c91d2(0x183)](_0x3c91d2(0x1a8),0x0),this[_0x3c91d2(0x183)](_0x3c91d2(0x184),!0x1),this[_0x3c91d2(0x183)](_0x3c91d2(0x188),!0x1),this[_0x3c91d2(0x183)](_0x3c91d2(0x19a),0x0),this[_0x3c91d2(0x183)](_0x3c91d2(0x1ac),''),this[_0x3c91d2(0x1a1)]=_0x412885(()=>this[_0x3c91d2(0x1a5)]()),this[_0x3c91d2(0x1ab)]=this[_0x3c91d2(0x18d)](),this[_0x3c91d2(0x1ab)][_0x3c91d2(0x189)](_0x3c91d2(0x191),_0x3c91d2(0x19d))['to'](this),this[_0x3c91d2(0x1ab)][_0x3c91d2(0x18a)](_0x1cb213),this[_0x3c91d2(0x18c)]=_0x1cb213;const _0x238a5=this[_0x3c91d2(0x1a4)];this[_0x3c91d2(0x185)]({'tag':_0x3c91d2(0x19c),'attributes':{'class':['ck',_0x3c91d2(0x19b),_0x3c91d2(0x190),_0x238a5['if'](_0x3c91d2(0x184),_0x3c91d2(0x1a3))],'role':_0x3c91d2(0x1a6)},'children':this[_0x3c91d2(0x1ab)]});}[_0x5bb351(0x181)](){const _0x143dc6=_0x5bb351;super[_0x143dc6(0x181)](),this[_0x143dc6(0x1a0)][_0x143dc6(0x18a)](this[_0x143dc6(0x18b)]),this[_0x143dc6(0x1a9)][_0x143dc6(0x195)](this[_0x143dc6(0x18b)]),this[_0x143dc6(0x1a1)][_0x143dc6(0x194)](this[_0x143dc6(0x18b)]);}[_0x5bb351(0x180)](){const _0x3c00cb=_0x5bb351;this[_0x3c00cb(0x1ab)][_0x3c00cb(0x186)](),this[_0x3c00cb(0x1a9)][_0x3c00cb(0x180)](),this[_0x3c00cb(0x1a0)][_0x3c00cb(0x180)](),this[_0x3c00cb(0x1a1)][_0x3c00cb(0x17f)](),super[_0x3c00cb(0x180)]();}[_0x5bb351(0x196)](){const _0x4b5ac5=_0x5bb351;this[_0x4b5ac5(0x1ab)][_0x4b5ac5(0x193)]&&this[_0x4b5ac5(0x1ab)][_0x4b5ac5(0x193)][_0x4b5ac5(0x196)]();}[_0x5bb351(0x1a5)](){const _0x282e87=_0x5bb351,_0x574e8c=this[_0x282e87(0x18b)][_0x282e87(0x198)];_0x574e8c&&(this[_0x282e87(0x1a8)]=_0x574e8c);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5c4d13=_0x18cd;(function(_0x49d4f7,_0x867986){const _0x3c70c=_0x18cd,_0x12e11b=_0x49d4f7();while(!![]){try{const _0x134e76=-parseInt(_0x3c70c(0x160))/0x1+parseInt(_0x3c70c(0x15e))/0x2+parseInt(_0x3c70c(0x15d))/0x3*(-parseInt(_0x3c70c(0x151))/0x4)+parseInt(_0x3c70c(0x159))/0x5+parseInt(_0x3c70c(0x14e))/0x6*(-parseInt(_0x3c70c(0x165))/0x7)+parseInt(_0x3c70c(0x171))/0x8*(-parseInt(_0x3c70c(0x164))/0x9)+parseInt(_0x3c70c(0x156))/0xa*(parseInt(_0x3c70c(0x163))/0xb);if(_0x134e76===_0x867986)break;else _0x12e11b['push'](_0x12e11b['shift']());}catch(_0x1e3935){_0x12e11b['push'](_0x12e11b['shift']());}}}(_0x47aa,0x4795d));import{View as _0x46275a}from'ckeditor5/src/ui.js';import{toUnit as _0x3ba26e}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x77e82c}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ba26e('px');function _0x18cd(_0x3b3335,_0x30c038){const _0x47aa05=_0x47aa();return _0x18cd=function(_0x18cdf7,_0x34fcc1){_0x18cdf7=_0x18cdf7-0x14b;let _0x56d5be=_0x47aa05[_0x18cdf7];return _0x56d5be;},_0x18cd(_0x3b3335,_0x30c038);}export class AnnotationsSidebarItemView extends _0x46275a{[_0x5c4d13(0x16c)];[_0x5c4d13(0x14d)];[_0x5c4d13(0x16d)];constructor(_0x2194b3){const _0x1ce72a=_0x5c4d13;super(_0x2194b3),this[_0x1ce72a(0x154)](_0x1ce72a(0x161),0x0),this[_0x1ce72a(0x154)](_0x1ce72a(0x16b),0x0),this[_0x1ce72a(0x157)](_0x1ce72a(0x158))['to'](this,_0x1ce72a(0x161),this,_0x1ce72a(0x16b),(_0x5cc0c1,_0x10fe5e)=>_0x5cc0c1+_0x10fe5e),this[_0x1ce72a(0x154)](_0x1ce72a(0x172),!0x1),this[_0x1ce72a(0x16d)]=_0x77e82c(()=>this[_0x1ce72a(0x168)]()),this[_0x1ce72a(0x14d)]=null,this[_0x1ce72a(0x16c)]=this[_0x1ce72a(0x155)](),this[_0x1ce72a(0x16c)][_0x1ce72a(0x152)](_0x1ce72a(0x162),_0x1ce72a(0x153))['to'](this);const _0x50ee15=this[_0x1ce72a(0x15b)];this[_0x1ce72a(0x169)]({'tag':_0x1ce72a(0x14f),'attributes':{'class':[_0x1ce72a(0x166),_0x50ee15['to'](_0x1ce72a(0x172),_0x3398d5=>_0x3398d5?_0x1ce72a(0x167):'')],'style':{'top':_0x50ee15['to'](_0x1ce72a(0x161),_0x5aab80=>Ot(_0x5aab80))},'role':_0x1ce72a(0x15c)},'children':this[_0x1ce72a(0x16c)]});}[_0x5c4d13(0x15f)](){const _0x1613d2=_0x5c4d13;super[_0x1613d2(0x15f)](),this[_0x1613d2(0x16d)][_0x1613d2(0x170)](this[_0x1613d2(0x14c)]);}[_0x5c4d13(0x15a)](){const _0x45bdf1=_0x5c4d13;this[_0x45bdf1(0x16c)][_0x45bdf1(0x16f)]&&this[_0x45bdf1(0x16c)][_0x45bdf1(0x16f)][_0x45bdf1(0x15a)]();}[_0x5c4d13(0x168)](){const _0xea1089=_0x5c4d13,_0x2758d2=this[_0xea1089(0x14c)][_0xea1089(0x16a)];_0x2758d2&&(this[_0xea1089(0x16b)]=_0x2758d2);}[_0x5c4d13(0x150)](){const _0x1a96e5=_0x5c4d13;this[_0x1a96e5(0x16c)][_0x1a96e5(0x16e)](),this[_0x1a96e5(0x16d)][_0x1a96e5(0x14b)](),super[_0x1a96e5(0x150)]();}}function _0x47aa(){const _0x283332=['2243115QfXEGz','focus','bindTemplate','presentation','965766ByieXL','356738wNOaLB','render','513551SvsGjd','top','arrowup','4873HCAlBw','72JlgRek','272167DfAtrQ','ck-sidebar-item','ck-sidebar-item--no-animation','updateHeight','setTemplate','clientHeight','height','content','_mutationObserver','clear','first','attach','62904hlIxXU','isAnimationDisabled','detach','element','_targetTop','90NtTJEs','div','destroy','4eewOfv','delegate','arrowdown','set','createCollection','25910OlAUkD','bind','bottom'];_0x47aa=function(){return _0x283332;};return _0x47aa();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
function _0x205f(_0x4f3aed,_0x2c4e1b){const _0x492bba=_0x492b();return _0x205f=function(_0x205f9d,_0x3880fe){_0x205f9d=_0x205f9d-0x158;let _0x239e1d=_0x492bba[_0x205f9d];return _0x239e1d;},_0x205f(_0x4f3aed,_0x2c4e1b);}const _0x5483fc=_0x205f;function _0x492b(){const _0x1a82bd=['number','focusPrevious','6tzsksI','delegate','top','getIndex','63uFXoTe','setTemplate','listenTo','element','forEach','createCollection','change','17QBXYZx','7833154fqZpmq','focusTracker','3286580WsclZw','arrowdown','ck-sidebar','focusCycler','focus','_updateItemPositionInFocusables','_setupKeyboardNavigation','ck-reset','removed','135742bjMpKE','focusFirst','arrowup','uiLanguageDirection','77247FUBInI','remove','minHeight','set','length','3409005tMdYpI','div','bindTemplate','21927444wxXOdj','add','focusables','application','Annotations\x20sidebar','class','56AYTkzU','source','focusNext','render','added','Annotations\x20list','1116720ccXHlI','list','change:top'];_0x492b=function(){return _0x1a82bd;};return _0x492b();}(function(_0x38b24f,_0x15dbbf){const _0x9ea9b4=_0x205f,_0x195fa8=_0x38b24f();while(!![]){try{const _0x351766=parseInt(_0x9ea9b4(0x173))/0x1*(-parseInt(_0x9ea9b4(0x17f))/0x2)+-parseInt(_0x9ea9b4(0x183))/0x3*(-parseInt(_0x9ea9b4(0x15d))/0x4)+parseInt(_0x9ea9b4(0x188))/0x5*(-parseInt(_0x9ea9b4(0x168))/0x6)+-parseInt(_0x9ea9b4(0x174))/0x7+-parseInt(_0x9ea9b4(0x163))/0x8*(-parseInt(_0x9ea9b4(0x16c))/0x9)+parseInt(_0x9ea9b4(0x176))/0xa+parseInt(_0x9ea9b4(0x18b))/0xb;if(_0x351766===_0x15dbbf)break;else _0x195fa8['push'](_0x195fa8['shift']());}catch(_0x194c4b){_0x195fa8['push'](_0x195fa8['shift']());}}}(_0x492b,0xac218));import{View as _0x563c88,FocusCycler as _0x5949d5}from'ckeditor5/src/ui.js';import{FocusTracker as _0x92aade,toUnit as _0x34c3da}from'ckeditor5/src/utils.js';import{getTranslation as _0x5344a2}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x34c3da('px');export class AnnotationsSidebarView extends _0x563c88{[_0x5483fc(0x164)];[_0x5483fc(0x159)];[_0x5483fc(0x175)];[_0x5483fc(0x179)];constructor(_0x538966){const _0x2d9051=_0x5483fc;super(_0x538966);const _0x490b51=this[_0x2d9051(0x18a)];this[_0x2d9051(0x186)](_0x2d9051(0x185),0x0),this[_0x2d9051(0x186)](_0x2d9051(0x15c),''),this[_0x2d9051(0x164)]=this[_0x2d9051(0x171)](),this[_0x2d9051(0x159)]=this[_0x2d9051(0x171)](),this[_0x2d9051(0x164)][_0x2d9051(0x169)](_0x2d9051(0x181),_0x2d9051(0x177))['to'](this),this[_0x2d9051(0x175)]=new _0x92aade(),this[_0x2d9051(0x179)]=new _0x5949d5({'focusables':this[_0x2d9051(0x159)],'focusTracker':this[_0x2d9051(0x175)]}),this[_0x2d9051(0x16d)]({'tag':_0x2d9051(0x189),'attributes':{'class':['ck',_0x2d9051(0x178),_0x2d9051(0x17d),_0x490b51['to'](_0x2d9051(0x15c))],'style':{'minHeight':_0x490b51['to'](_0x2d9051(0x185),_0x2244a1=>_0x2d9051(0x166)==typeof _0x2244a1?Ot(_0x2244a1+0xa):null)},'dir':_0x538966[_0x2d9051(0x182)],'role':_0x2d9051(0x15a),'aria-label':_0x5344a2(_0x538966,_0x2d9051(0x15b)),'tabindex':0x0},'children':[{'tag':_0x2d9051(0x189),'attributes':{'role':_0x2d9051(0x164),'aria-label':_0x5344a2(_0x538966,_0x2d9051(0x162))},'children':this[_0x2d9051(0x164)]}]});}[_0x5483fc(0x160)](){const _0x510978=_0x5483fc;super[_0x510978(0x160)](),this[_0x510978(0x17c)]();}[_0x5483fc(0x17a)](){const _0x79230b=_0x5483fc;this[_0x79230b(0x179)][_0x79230b(0x180)]();}[_0x5483fc(0x17c)](){const _0x5535d2=_0x5483fc;this[_0x5535d2(0x164)][_0x5535d2(0x169)](_0x5535d2(0x165))['to'](this),this['on'](_0x5535d2(0x165),_0x20e271=>{const _0x449e38=_0x5535d2;this[_0x449e38(0x17b)](_0x20e271[_0x449e38(0x15e)]);}),this[_0x5535d2(0x164)][_0x5535d2(0x170)](_0x60de89=>{const _0x58d9f9=_0x5535d2;this[_0x58d9f9(0x175)][_0x58d9f9(0x158)](_0x60de89[_0x58d9f9(0x16f)]),this[_0x58d9f9(0x17b)](_0x60de89);}),this[_0x5535d2(0x164)]['on'](_0x5535d2(0x172),(_0x4ef121,_0x2def55)=>{const _0x10e111=_0x5535d2;for(const _0x479e49 of _0x2def55[_0x10e111(0x17e)])this[_0x10e111(0x175)][_0x10e111(0x184)](_0x479e49[_0x10e111(0x16f)]),this[_0x10e111(0x159)][_0x10e111(0x184)](_0x479e49);for(const _0x7c1a8d of _0x2def55[_0x10e111(0x161)])this[_0x10e111(0x175)][_0x10e111(0x158)](_0x7c1a8d[_0x10e111(0x16f)]),this[_0x10e111(0x17b)](_0x7c1a8d);}),this['on'](_0x5535d2(0x181),()=>{const _0x41066c=_0x5535d2;this[_0x41066c(0x179)][_0x41066c(0x167)]();}),this['on'](_0x5535d2(0x177),()=>{const _0x3d82de=_0x5535d2;this[_0x3d82de(0x179)][_0x3d82de(0x15f)]();}),this[_0x5535d2(0x16e)](this[_0x5535d2(0x16f)],_0x5535d2(0x17a),()=>{const _0x8a137f=_0x5535d2;this[_0x8a137f(0x17a)]();});}[_0x5483fc(0x17b)](_0x4593e6){const _0x4ad45e=_0x5483fc,_0x5ab481=this[_0x4ad45e(0x159)][_0x4ad45e(0x16b)](_0x4593e6);let _0x47f344,_0x70de25;for(const _0x3951ba of this[_0x4ad45e(0x159)])if(_0x4593e6[_0x4ad45e(0x16a)]<_0x3951ba[_0x4ad45e(0x16a)]){_0x47f344=_0x3951ba;break;}if(_0x70de25=_0x47f344?this[_0x4ad45e(0x159)][_0x4ad45e(0x16b)](_0x47f344):this[_0x4ad45e(0x159)][_0x4ad45e(0x187)],-0x1!==_0x5ab481){if(_0x5ab481===_0x70de25-0x1)return;this[_0x4ad45e(0x159)][_0x4ad45e(0x184)](_0x4593e6),_0x70de25=_0x47f344?this[_0x4ad45e(0x159)][_0x4ad45e(0x16b)](_0x47f344):this[_0x4ad45e(0x159)][_0x4ad45e(0x187)];}this[_0x4ad45e(0x159)][_0x4ad45e(0x158)](_0x4593e6,_0x70de25);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3f94(){const _0x5bf45d=['233682PEdTlV','12966160DatwZs','stop','blur','container','addEventListener','_activeAnnotation','editors','hasDomSelection','rearrange','activeAnnotation','from','removeEventListener','set','high','_attachToContainer','_destroyEditorAnnotationsIntegration','off','ck-sidebar--wide','refresh','3350619BSfzMB','8npffBq','focus','change:container','_integrateWithEditorAnnotations','isPremiumPlugin','add','destroy','resize','remove','listenTo','WideSidebar','addAnnotation','plugins','setActiveAnnotation','init','uiUpdate','stopListening','annotations','_annotations','detach','EditorAnnotations','switchTo','2kdaqpw','_editorAnnotations','wideSidebar','register','2324231omWIJi','_detachFromContainer','set:container','pluginName','has','306926oGJKKj','refreshPositioning','isAttached','_refreshPositioningDebounced','requires','getOrderedSelectedAnnotations','updateTargetRect','widesidebar-detach-not-attached','isOfficialPlugin','get','3298205brCLlC','Annotations','context','cancel','954507efZuZp','refreshVisibility','widesidebar-attach-already-attached','ready','4wMBDyO','attach'];_0x3f94=function(){return _0x5bf45d;};return _0x3f94();}const _0x1df8cb=_0x2016;(function(_0x4939b1,_0x62cc98){const _0x4d046f=_0x2016,_0x3cccb9=_0x4939b1();while(!![]){try{const _0x17e937=parseInt(_0x4d046f(0x1bc))/0x1*(parseInt(_0x4d046f(0x1b3))/0x2)+-parseInt(_0x4d046f(0x1ca))/0x3*(-parseInt(_0x4d046f(0x1ce))/0x4)+parseInt(_0x4d046f(0x1c6))/0x5+parseInt(_0x4d046f(0x1d0))/0x6+parseInt(_0x4d046f(0x1b7))/0x7+parseInt(_0x4d046f(0x1e5))/0x8*(parseInt(_0x4d046f(0x1e4))/0x9)+-parseInt(_0x4d046f(0x1d1))/0xa;if(_0x17e937===_0x62cc98)break;else _0x3cccb9['push'](_0x3cccb9['shift']());}catch(_0x43d187){_0x3cccb9['push'](_0x3cccb9['shift']());}}}(_0x3f94,0xb28ff));function _0x2016(_0x5b784d,_0x1a3094){const _0x3f94a2=_0x3f94();return _0x2016=function(_0x2016a7,_0x245aa7){_0x2016a7=_0x2016a7-0x19f;let _0x1cea14=_0x3f94a2[_0x2016a7];return _0x1cea14;},_0x2016(_0x5b784d,_0x1a3094);}import{ContextPlugin as _0x3e8366,Context as _0x18ad27}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x258881}from'./annotationsuis.js';import{Sidebar as _0x30fab6}from'./sidebar.js';import{CKEditorError as _0x53a40f,Collection as _0xbc8512}from'ckeditor5/src/utils.js';import{debounce as _0xe9cdd6}from'es-toolkit/compat';export class WideSidebar extends _0x3e8366{[_0x1df8cb(0x1be)];[_0x1df8cb(0x1ae)];[_0x1df8cb(0x1b4)];[_0x1df8cb(0x1bf)];static get[_0x1df8cb(0x1c0)](){return[_0x30fab6,_0x258881];}static get[_0x1df8cb(0x1ba)](){const _0x55a5d6=_0x1df8cb;return _0x55a5d6(0x1a7);}static get[_0x1df8cb(0x1c4)](){return!0x0;}static get[_0x1df8cb(0x1a1)](){return!0x0;}constructor(_0x55bd8e){const _0x3d3c50=_0x1df8cb;super(_0x55bd8e),this[_0x3d3c50(0x1be)]=!0x1,this[_0x3d3c50(0x1dd)](_0x3d3c50(0x1da),null),this[_0x3d3c50(0x1ae)]=null,this[_0x3d3c50(0x1b4)]=new _0xbc8512(),this[_0x3d3c50(0x1bf)]=_0xe9cdd6(()=>{const _0x6509da=_0x3d3c50;_0x55bd8e[_0x6509da(0x1a9)][_0x6509da(0x1c5)](_0x6509da(0x1c7))[_0x6509da(0x1cb)](),this[_0x6509da(0x1ae)][_0x6509da(0x1bd)]();},0xfa,{'leading':!0x1});}[_0x1df8cb(0x1ab)](){const _0x129da2=_0x1df8cb,_0x1915c1=this[_0x129da2(0x1c8)][_0x129da2(0x1a9)][_0x129da2(0x1c5)](_0x258881),_0x546ed2=this[_0x129da2(0x1c8)][_0x129da2(0x1a9)][_0x129da2(0x1c5)](_0x30fab6);_0x1915c1[_0x129da2(0x1b6)](_0x129da2(0x1b5),this),_0x546ed2[_0x129da2(0x1d4)]&&_0x1915c1[_0x129da2(0x1b2)](_0x129da2(0x1b5));}[_0x1df8cb(0x1aa)](_0x544a47){const _0x521487=_0x1df8cb;if(_0x544a47===this[_0x521487(0x1da)])return;const _0x42ad8b=this[_0x521487(0x1c8)][_0x521487(0x1a9)][_0x521487(0x1c5)](_0x30fab6);_0x42ad8b[_0x521487(0x1d6)]=_0x544a47;const _0x2f265a=this[_0x521487(0x1da)];_0x42ad8b[_0x521487(0x1e3)]({'blurredAnnotation':_0x2f265a,'activatedAnnotation':_0x544a47}),this[_0x521487(0x1da)]=_0x544a47;}[_0x1df8cb(0x1cf)](_0x417dbd){const _0xb31da6=_0x1df8cb;this[_0xb31da6(0x1ae)]=_0x417dbd;const _0x511007=this[_0xb31da6(0x1c8)][_0xb31da6(0x1a9)][_0xb31da6(0x1c5)](_0x30fab6);if(_0x511007[_0xb31da6(0x1af)]=_0x417dbd,this[_0xb31da6(0x1be)])throw new _0x53a40f(_0xb31da6(0x1cc),this);this[_0xb31da6(0x1be)]=!0x0,this[_0xb31da6(0x1a6)](_0x511007,_0xb31da6(0x1b9),()=>{const _0x41f429=_0xb31da6;this[_0x41f429(0x1b0)](),this[_0x41f429(0x1a6)](_0x511007,_0x41f429(0x19f),_0x30ad3e=>{const _0xab673d=_0x41f429;_0x30ad3e[_0xab673d(0x1e1)](),this[_0xab673d(0x1cf)](_0x417dbd);});}),_0x511007[_0xb31da6(0x1df)]({'viewClass':_0xb31da6(0x1e2)});const _0x5fec1c=_0x111183=>{const _0x38ba7a=_0xb31da6;_0x111183[_0x38ba7a(0x1c2)](),_0x511007[_0x38ba7a(0x1a8)](_0x111183);};for(const _0x3e48f4 of _0x417dbd)_0x5fec1c(_0x3e48f4);this[_0xb31da6(0x1a6)](_0x417dbd,_0xb31da6(0x1a2),(_0x2205b2,_0x4fdbb3)=>{_0x5fec1c(_0x4fdbb3);}),this[_0xb31da6(0x1a6)](_0x417dbd,_0xb31da6(0x1a5),(_0xf4f47f,_0x55ea41,_0x360e26)=>{const _0x541802=_0xb31da6;_0x511007[_0x541802(0x1d9)]({'removedAnnotation':_0x55ea41,'previousAnnotation':_0x417dbd[_0x541802(0x1c5)](_0x360e26-0x1),'nextAnnotation':_0x417dbd[_0x541802(0x1c5)](_0x360e26+0x1)}),_0x55ea41===this[_0x541802(0x1da)]&&this[_0x541802(0x1aa)](null);},{'priority':_0xb31da6(0x1de)}),this[_0xb31da6(0x1a6)](_0x417dbd,_0xb31da6(0x1e6),(_0x309668,_0x7ae2a3)=>{const _0x1170d2=_0xb31da6;this[_0x1170d2(0x1aa)](_0x7ae2a3);}),this[_0xb31da6(0x1a6)](_0x417dbd,_0xb31da6(0x1d3),()=>{const _0x5cbbfc=_0xb31da6;this[_0x5cbbfc(0x1aa)](null);});const _0x1baf3b=this[_0xb31da6(0x1c8)]instanceof _0x18ad27?this[_0xb31da6(0x1c8)][_0xb31da6(0x1d7)]:new _0xbc8512([this[_0xb31da6(0x1c8)]]);for(const _0x246b15 of _0x1baf3b)this[_0xb31da6(0x1a0)](_0x246b15);this[_0xb31da6(0x1a6)](_0x1baf3b,_0xb31da6(0x1a2),(_0x494132,_0x16f953)=>{const _0x2fe913=_0xb31da6;this[_0x2fe913(0x1a6)](_0x16f953,_0x2fe913(0x1cd),()=>{const _0xa200f5=_0x2fe913;this[_0xa200f5(0x1a0)](_0x16f953);});}),this[_0xb31da6(0x1a6)](_0x1baf3b,_0xb31da6(0x1a5),(_0x2c4d91,_0x5c8e18)=>{const _0x1f3f62=_0xb31da6;_0x5c8e18[_0x1f3f62(0x1a9)][_0x1f3f62(0x1bb)](_0x1f3f62(0x1b1))&&this[_0x1f3f62(0x1e0)](_0x5c8e18[_0x1f3f62(0x1a9)][_0x1f3f62(0x1c5)](_0x1f3f62(0x1b1)));}),window[_0xb31da6(0x1d5)](_0xb31da6(0x1a4),this[_0xb31da6(0x1bf)]),this[_0xb31da6(0x1c8)][_0xb31da6(0x1a9)][_0xb31da6(0x1c5)](_0xb31da6(0x1c7))[_0xb31da6(0x1cb)](),this[_0xb31da6(0x1ae)][_0xb31da6(0x1bd)]();}[_0x1df8cb(0x1b0)](){const _0x2271f2=_0x1df8cb;if(!this[_0x2271f2(0x1be)])throw new _0x53a40f(_0x2271f2(0x1c3),this);this[_0x2271f2(0x1aa)](null);const _0x1d1ac=this[_0x2271f2(0x1c8)][_0x2271f2(0x1a9)][_0x2271f2(0x1c5)](_0x30fab6);_0x1d1ac[_0x2271f2(0x1b8)](this[_0x2271f2(0x1ae)]),this[_0x2271f2(0x1ad)](_0x1d1ac),this[_0x2271f2(0x1ad)](this[_0x2271f2(0x1ae)]),this[_0x2271f2(0x1c8)]instanceof _0x18ad27&&this[_0x2271f2(0x1ad)](this[_0x2271f2(0x1c8)][_0x2271f2(0x1d7)]);for(const _0x3e4833 of Array[_0x2271f2(0x1db)](this[_0x2271f2(0x1b4)]))this[_0x2271f2(0x1e0)](_0x3e4833);window[_0x2271f2(0x1dc)](_0x2271f2(0x1a4),this[_0x2271f2(0x1bf)]),this[_0x2271f2(0x1bf)][_0x2271f2(0x1c9)](),this[_0x2271f2(0x1da)]=null,this[_0x2271f2(0x1be)]=!0x1,this[_0x2271f2(0x1ae)]=null;}[_0x1df8cb(0x1a3)](){const _0x255dec=_0x1df8cb;this[_0x255dec(0x1be)]&&this[_0x255dec(0x1b0)]();}[_0x1df8cb(0x1a0)](_0xaf373){const _0x3e581a=_0x1df8cb;if(!_0xaf373[_0x3e581a(0x1a9)][_0x3e581a(0x1bb)](_0x3e581a(0x1b1)))return;const _0x1888e9=_0xaf373[_0x3e581a(0x1a9)][_0x3e581a(0x1c5)](_0x3e581a(0x1b1)),_0x296df5=()=>{const _0x499d71=_0x3e581a,_0x21e618=_0x1888e9[_0x499d71(0x1c1)]({'annotations':this[_0x499d71(0x1ae)],'activeAnnotation':this[_0x499d71(0x1da)]});this[_0x499d71(0x1aa)](_0x21e618[0x0]||null);};this[_0x3e581a(0x1a6)](_0x1888e9,_0x3e581a(0x1e3),_0x296df5),this[_0x3e581a(0x1a6)](_0x1888e9,_0x3e581a(0x1d3),(_0x280f41,{isAnnotationTracked:_0x5102bb})=>{const _0x5277f8=_0x3e581a;this[_0x5277f8(0x1da)]&&_0x5102bb(this[_0x5277f8(0x1da)])&&this[_0x5277f8(0x1aa)](null);}),this[_0x3e581a(0x1a6)](_0x1888e9,_0x3e581a(0x1ac),()=>{const _0x3d8edb=_0x3e581a;this[_0x3d8edb(0x1bf)]();}),this[_0x3e581a(0x1a6)](this[_0x3e581a(0x1ae)],_0x3e581a(0x1d3),_0x469c37=>{const _0x389cb0=_0x3e581a;_0x1888e9[_0x389cb0(0x1d8)]()&&(_0x296df5(),_0x469c37[_0x389cb0(0x1d2)]());},{'priority':_0x3e581a(0x1de)}),this[_0x3e581a(0x1b4)][_0x3e581a(0x1a2)](_0x1888e9);}[_0x1df8cb(0x1e0)](_0xd3f76b){const _0x306e29=_0x1df8cb;this[_0x306e29(0x1ad)](_0xd3f76b),this[_0x306e29(0x1b4)][_0x306e29(0x1a5)](_0xd3f76b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x228be4=_0x32fd;(function(_0x4ee012,_0x3ce940){const _0x390615=_0x32fd,_0x55f0d3=_0x4ee012();while(!![]){try{const _0x167ec1=-parseInt(_0x390615(0x1ba))/0x1*(parseInt(_0x390615(0x1e0))/0x2)+parseInt(_0x390615(0x1e4))/0x3+-parseInt(_0x390615(0x1d4))/0x4*(parseInt(_0x390615(0x1cc))/0x5)+-parseInt(_0x390615(0x1b5))/0x6+-parseInt(_0x390615(0x1b4))/0x7*(-parseInt(_0x390615(0x1dc))/0x8)+-parseInt(_0x390615(0x1b3))/0x9+parseInt(_0x390615(0x1c1))/0xa;if(_0x167ec1===_0x3ce940)break;else _0x55f0d3['push'](_0x55f0d3['shift']());}catch(_0x284abf){_0x55f0d3['push'](_0x55f0d3['shift']());}}}(_0xa271,0x42089));function _0x32fd(_0xf2c192,_0x7e4836){const _0xa271bb=_0xa271();return _0x32fd=function(_0x32fd7c,_0x28df54){_0x32fd7c=_0x32fd7c-0x1b0;let _0x51eebf=_0xa271bb[_0x32fd7c];return _0x51eebf;},_0x32fd(_0xf2c192,_0x7e4836);}import{Command as _0x3b3022}from'ckeditor5/src/core.js';function _0xa271(){const _0xc5f18f=['model','addCommentThread','get','2393838cOvagv','301TsfmSX','733596IWZKoj','from','end','change','isObject','8488CIYTFu','selection','_createCommentThread','$textProxy','editor','refresh','element','4400610prNZcc','createRange','plugins','getRanges','config','Users','document','push','_itemIsContent','addMarker','_createMarkersFromRanges','76785TAifOJ','set','getItems','_hasContent','tableCell','backward','getLastMatchingPosition','execute','68SaTxKc','_trimToContent','isEnabled','schema','item','substr','comment:','addcommentthreadcommand-user-not-found','67432OiIvJB','start','addcommentthreadcommand-incorrect-ranges','hasContent','44LmWEhZ','CommentsRepository','length','collaboration.channelId','912054hxepbW'];_0xa271=function(){return _0xc5f18f;};return _0xa271();}import{uid as _0x111b35,CKEditorError as _0x1cde62}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x3b3022{constructor(_0x2b14a4){const _0x2ef03b=_0x32fd;super(_0x2b14a4),this[_0x2ef03b(0x1cd)](_0x2ef03b(0x1df),!0x1);}[_0x228be4(0x1bf)](){const _0x247721=_0x228be4,_0xdf8054=this[_0x247721(0x1be)][_0x247721(0x1b0)][_0x247721(0x1c7)][_0x247721(0x1bb)];this[_0x247721(0x1d6)]=!0x0,this[_0x247721(0x1df)]=!0x1;for(const _0x17fa57 of _0xdf8054[_0x247721(0x1c4)]())if(this[_0x247721(0x1cf)](_0x17fa57))return void(this[_0x247721(0x1df)]=!0x0);}[_0x228be4(0x1d3)]({threadId:_0x5de998=_0x111b35(),ranges:_0x100322,comment:_0x574bb9}={}){const _0x502152=_0x228be4,_0x31ff97=this[_0x502152(0x1be)][_0x502152(0x1b0)],_0x9ffc29=_0x100322??Array[_0x502152(0x1b6)](_0x31ff97[_0x502152(0x1c7)][_0x502152(0x1bb)][_0x502152(0x1c4)]()),_0xcfb323=[];for(const _0x2f683c of _0x9ffc29)this[_0x502152(0x1cf)](_0x2f683c)&&_0xcfb323[_0x502152(0x1c8)](this[_0x502152(0x1d5)](_0x2f683c));if(!_0xcfb323[_0x502152(0x1e2)])throw new _0x1cde62(_0x502152(0x1de),null);_0x574bb9&&this[_0x502152(0x1bc)](_0x5de998,_0x574bb9),this[_0x502152(0x1cb)](_0x5de998,_0xcfb323,!!_0x574bb9);}[_0x228be4(0x1cb)](_0x360711,_0x1d2278,_0x25a41b){const _0x397b3e=_0x228be4;this[_0x397b3e(0x1be)][_0x397b3e(0x1b0)][_0x397b3e(0x1b8)](_0x5ca189=>{const _0x43aac3=_0x397b3e;for(const _0x785708 of _0x1d2278){const _0x4474ac=_0x111b35()[_0x43aac3(0x1d9)](0x1,0x5),_0x1fc894=_0x43aac3(0x1da)+_0x360711+':'+_0x4474ac;_0x5ca189[_0x43aac3(0x1ca)](_0x1fc894,{'range':_0x785708,'usingOperation':_0x25a41b,'affectsData':_0x25a41b});}});}[_0x228be4(0x1bc)](_0x2b4f07,_0x21c905){const _0x5ba096=_0x228be4,_0xe02a56=this[_0x5ba096(0x1be)][_0x5ba096(0x1c3)][_0x5ba096(0x1b2)](_0x5ba096(0x1e1)),_0x4a9755=this[_0x5ba096(0x1be)][_0x5ba096(0x1c5)][_0x5ba096(0x1b2)](_0x5ba096(0x1e3)),_0x43cddb=this[_0x5ba096(0x1be)][_0x5ba096(0x1c3)][_0x5ba096(0x1b2)](_0x5ba096(0x1c6))['me'];if(!_0x43cddb)throw new _0x1cde62(_0x5ba096(0x1db),null);_0xe02a56[_0x5ba096(0x1b1)]({'threadId':_0x2b4f07,'channelId':_0x4a9755,'comments':[{'authorId':_0x43cddb['id'],'content':_0x21c905,'createdAt':new Date(),'attributes':{}}]});}[_0x228be4(0x1cf)](_0x30f52a){const _0x437962=_0x228be4;for(const _0x860eff of _0x30f52a[_0x437962(0x1ce)]())if(this[_0x437962(0x1c9)](_0x860eff))return!0x0;return!0x1;}[_0x228be4(0x1c9)](_0x1d7548){const _0x12f7d3=_0x228be4;return _0x1d7548['is'](_0x12f7d3(0x1bd))||this[_0x12f7d3(0x1be)][_0x12f7d3(0x1b0)][_0x12f7d3(0x1d7)][_0x12f7d3(0x1b9)](_0x1d7548)&&!_0x1d7548['is'](_0x12f7d3(0x1c0),_0x12f7d3(0x1d0));}[_0x228be4(0x1d5)](_0x2e30f6){const _0x490f0a=_0x228be4,_0x26c17b=_0x2d69a3=>!this[_0x490f0a(0x1c9)](_0x2d69a3[_0x490f0a(0x1d8)]),_0x2330a9=_0x2e30f6[_0x490f0a(0x1dd)][_0x490f0a(0x1d2)](_0x26c17b),_0x10856b=_0x2e30f6[_0x490f0a(0x1b7)][_0x490f0a(0x1d2)](_0x26c17b,{'direction':_0x490f0a(0x1d1)});return this[_0x490f0a(0x1be)][_0x490f0a(0x1b0)][_0x490f0a(0x1c2)](_0x2330a9,_0x10856b);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4da1e5=_0x2e31;function _0x9f00(){const _0x3ad8e1=['requires','getCommentThread','isOfficialPlugin','517657nrcmzt','_calculatePosition','length','addCommentThread','archivedAt','isActive','186752YDkujN','isVisible','init','117480EGDWWi','CommentsArchive','18XLtYiu','plugins','pluginName','findIndex','15BqeYze','listenTo','focus','197278valcSS','context','4290849RhyWtd','collection','has','change:archivedAt','306939MrVfiO','get','highest','add','990008ybaKrE','activate','stopListening','removeCommentThread','isPremiumPlugin','remove','archivedThreads'];_0x9f00=function(){return _0x3ad8e1;};return _0x9f00();}function _0x2e31(_0x4dd473,_0x41e568){const _0x9f0049=_0x9f00();return _0x2e31=function(_0x2e31fc,_0x5cf79c){_0x2e31fc=_0x2e31fc-0x14a;let _0x5f38f2=_0x9f0049[_0x2e31fc];return _0x5f38f2;},_0x2e31(_0x4dd473,_0x41e568);}(function(_0x220c2d,_0x16b911){const _0x29b380=_0x2e31,_0x1668d8=_0x220c2d();while(!![]){try{const _0x237ea5=-parseInt(_0x29b380(0x161))/0x1+parseInt(_0x29b380(0x16a))/0x2+-parseInt(_0x29b380(0x14a))/0x3+-parseInt(_0x29b380(0x15e))/0x4*(parseInt(_0x29b380(0x167))/0x5)+-parseInt(_0x29b380(0x163))/0x6*(parseInt(_0x29b380(0x158))/0x7)+parseInt(_0x29b380(0x14e))/0x8+parseInt(_0x29b380(0x16c))/0x9;if(_0x237ea5===_0x16b911)break;else _0x1668d8['push'](_0x1668d8['shift']());}catch(_0x1bfc40){_0x1668d8['push'](_0x1668d8['shift']());}}}(_0x9f00,0x1cac1));import{ContextPlugin as _0x58dbab}from'ckeditor5/src/core.js';import{Collection as _0x597b04}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x1044aa}from'./commentsrepository.js';import{Annotations as _0x4f55a}from'../annotations/annotations.js';export class CommentsArchive extends _0x58dbab{static get[_0x4da1e5(0x165)](){const _0x184caf=_0x4da1e5;return _0x184caf(0x162);}static get[_0x4da1e5(0x157)](){return!0x0;}static get[_0x4da1e5(0x152)](){return!0x0;}static get[_0x4da1e5(0x155)](){return[_0x1044aa,_0x4f55a];}constructor(_0x20b71f){const _0x14fbcb=_0x4da1e5;super(_0x20b71f),this[_0x14fbcb(0x154)]=new _0x597b04();}[_0x4da1e5(0x160)](){const _0x23b22c=_0x4da1e5,_0x52cb8d=this[_0x23b22c(0x16b)],_0x33acb7=_0x52cb8d[_0x23b22c(0x164)][_0x23b22c(0x14b)](_0x1044aa),_0x1433fb=_0x52cb8d[_0x23b22c(0x164)][_0x23b22c(0x14b)](_0x4f55a);this[_0x23b22c(0x168)](_0x33acb7,_0x23b22c(0x15b),(_0x33fb8c,{threadId:_0x3c1e5f})=>{const _0x2bdd46=_0x23b22c,_0x5f43e5=_0x33acb7[_0x2bdd46(0x156)](_0x3c1e5f);_0x5f43e5[_0x2bdd46(0x15c)]&&this[_0x2bdd46(0x154)][_0x2bdd46(0x14d)](_0x5f43e5,this[_0x2bdd46(0x159)](_0x5f43e5[_0x2bdd46(0x15c)])),this[_0x2bdd46(0x168)](_0x5f43e5,_0x2bdd46(0x16f),(_0x2db095,_0x1afaa9,_0x27a4fb)=>{const _0x321403=_0x2bdd46;_0x27a4fb?this[_0x321403(0x154)][_0x321403(0x16e)](_0x5f43e5)||this[_0x321403(0x154)][_0x321403(0x14d)](_0x5f43e5,this[_0x321403(0x159)](_0x5f43e5[_0x321403(0x15c)])):this[_0x321403(0x154)][_0x321403(0x16e)](_0x5f43e5)&&this[_0x321403(0x154)][_0x321403(0x153)](_0x5f43e5);});}),this[_0x23b22c(0x168)](_0x33acb7,_0x23b22c(0x151),(_0x3a8a71,{threadId:_0x342ca3})=>{const _0x32fabd=_0x23b22c,_0x5a50d6=_0x33acb7[_0x32fabd(0x156)](_0x342ca3);this[_0x32fabd(0x150)](_0x5a50d6),this[_0x32fabd(0x154)][_0x32fabd(0x16e)](_0x5a50d6)&&this[_0x32fabd(0x154)][_0x32fabd(0x153)](_0x5a50d6);},{'priority':_0x23b22c(0x14c)}),this[_0x23b22c(0x168)](_0x1433fb[_0x23b22c(0x16d)],_0x23b22c(0x169),(_0x77b94e,_0x5b870c)=>{const _0x49e19b=_0x23b22c;_0x5b870c[_0x49e19b(0x15f)]||(_0x5b870c[_0x49e19b(0x15d)]=!0x0,_0x1433fb[_0x49e19b(0x14f)](_0x5b870c));});}[_0x4da1e5(0x159)](_0x29991b){const _0x56139a=_0x4da1e5,_0x44ce7a=[...this[_0x56139a(0x154)]][_0x56139a(0x166)](_0x5c2074=>_0x5c2074[_0x56139a(0x15c)]<_0x29991b);return _0x44ce7a>-0x1?_0x44ce7a:this[_0x56139a(0x154)][_0x56139a(0x15a)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5c67(){const _0x75b8d2=['22unIhRg','isOn','16550VCByBu','add','EDITOR_TOP_SIDE','Annotations','find','show','1603511fDTnVl','view','init','commentsArchive','requires','9vyPCao','231000jKhZpW','COMMENTS_ARCHIVE','isEnabled','stop','locale','archivedThreads','editor','has','menuBar:commentsArchive','isOfficialPlugin','escape','_addAnnotationToArchive','312pBzoCF','execute','focusableElements','indexOf','channelId','set','innerView','_visibleAnnotations','_threadToController','set:isVisible','includes','filter','plugins','splice','archivedAt','getByInnerView','return','collection','Dialog','isVisible','push','74796rdYZXE','tooltip','pluginName','isOpen','_calculatePosition','menuitemcheckbox','commentsArchiveView','source','bind','hide','_handleNewThread','remove','collaboration.channelId','componentFactory','812672eMWLuV','stopListening','3SwwoXI','_pendingThreads','length','findIndex','CommentsRepository','forEach','_toggleDialog','isPremiumPlugin','_hideDialogOnAnnotationEscape','annotationViews','309536lbMMGR','config','CommentsArchiveUI','get','806450pgHbKS','_createCommentsArchiveButton','listenTo'];_0x5c67=function(){return _0x75b8d2;};return _0x5c67();}function _0x251a(_0x3396a4,_0x324126){const _0x5c6727=_0x5c67();return _0x251a=function(_0x251aa2,_0x286a37){_0x251aa2=_0x251aa2-0xee;let _0x3a9d26=_0x5c6727[_0x251aa2];return _0x3a9d26;},_0x251a(_0x3396a4,_0x324126);}const _0x1c89b6=_0x251a;(function(_0x47c0ce,_0x2eff97){const _0x6283a2=_0x251a,_0x3a3d74=_0x47c0ce();while(!![]){try{const _0x1f6d2d=parseInt(_0x6283a2(0x105))/0x1*(parseInt(_0x6283a2(0xf5))/0x2)+parseInt(_0x6283a2(0x124))/0x3+parseInt(_0x6283a2(0x103))/0x4+-parseInt(_0x6283a2(0x118))/0x5*(-parseInt(_0x6283a2(0x130))/0x6)+-parseInt(_0x6283a2(0x11e))/0x7+-parseInt(_0x6283a2(0x10f))/0x8*(parseInt(_0x6283a2(0x123))/0x9)+parseInt(_0x6283a2(0x113))/0xa*(-parseInt(_0x6283a2(0x116))/0xb);if(_0x1f6d2d===_0x2eff97)break;else _0x3a3d74['push'](_0x3a3d74['shift']());}catch(_0x50db30){_0x3a3d74['push'](_0x3a3d74['shift']());}}}(_0x5c67,0x21103));import'../../theme/commentsarchive.css';import{Plugin as _0x47b66c}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x3a7c48}from'ckeditor5/src/icons.js';import{ViewCollection as _0x565f8e,MenuBarMenuListItemButtonView as _0x2a1dc3,ButtonView as _0x5bf96a,Dialog as _0x51539b,DialogViewPosition as _0x3b713f}from'ckeditor5/src/ui.js';import{getTranslation as _0x4747c8}from'../utils/common-translations.js';import{CommentsArchiveView as _0x950c8a}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x268c17}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x47b66c{[_0x1c89b6(0xfb)];[_0x1c89b6(0x10e)];[_0x1c89b6(0x106)];static get[_0x1c89b6(0xf7)](){const _0x45a2e9=_0x1c89b6;return _0x45a2e9(0x111);}static get[_0x1c89b6(0x12d)](){return!0x0;}static get[_0x1c89b6(0x10c)](){return!0x0;}static get[_0x1c89b6(0x122)](){return[_0x268c17,_0x51539b];}constructor(_0x6b74db){const _0x95e173=_0x1c89b6;super(_0x6b74db),this[_0x95e173(0x10e)]=new _0x565f8e(),this[_0x95e173(0x106)]=[];}[_0x1c89b6(0x120)](){const _0xed91f9=_0x1c89b6,_0x3b2751=this[_0xed91f9(0x12a)],_0x53fb92=this[_0xed91f9(0x10d)][_0xed91f9(0xfd)](this);_0x3b2751['ui'][_0xed91f9(0x102)][_0xed91f9(0x119)](_0xed91f9(0x121),()=>this[_0xed91f9(0x114)](_0x5bf96a,!0x0)),_0x3b2751['ui'][_0xed91f9(0x102)][_0xed91f9(0x119)](_0xed91f9(0x12c),()=>{const _0x49a3f3=_0xed91f9,_0x3b6617=this[_0x49a3f3(0x114)](_0x2a1dc3);return _0x3b6617[_0x49a3f3(0x135)]({'role':_0x49a3f3(0xfa)}),_0x3b6617;});const _0x5641f1=_0x3b2751[_0xed91f9(0x13c)][_0xed91f9(0x112)](_0x268c17),_0x2fc1d1=_0x3b2751[_0xed91f9(0x13c)][_0xed91f9(0x112)](_0xed91f9(0x11b)),_0x278471=_0x3b2751[_0xed91f9(0x13c)][_0xed91f9(0x112)](_0xed91f9(0x109));_0x5641f1[_0xed91f9(0x129)][_0xed91f9(0x10a)](_0x20ca2a=>{const _0x2b0739=_0xed91f9;this[_0x2b0739(0xff)](_0x20ca2a);}),this[_0xed91f9(0x115)](_0x5641f1[_0xed91f9(0x129)],_0xed91f9(0x119),(_0x27204b,_0x59d8d6)=>{const _0x159d1a=_0xed91f9;this[_0x159d1a(0xff)](_0x59d8d6);}),this[_0xed91f9(0x115)](_0x2fc1d1[_0xed91f9(0xf1)],_0xed91f9(0x119),(_0x5f38c9,_0x429dd6)=>{const _0x22211b=_0xed91f9,_0xa3e654=this[_0x22211b(0x106)][_0x22211b(0x11c)](_0x279275=>{const _0x1b4c22=_0x22211b,_0x3b9133=_0x278471[_0x1b4c22(0x138)][_0x1b4c22(0x112)](_0x279275);return _0x3b9133&&_0x429dd6[_0x1b4c22(0x136)]===_0x3b9133[_0x1b4c22(0x11f)];});if(_0xa3e654){const _0x2be2bd=this[_0x22211b(0xf9)](_0xa3e654[_0x22211b(0xee)]);this[_0x22211b(0x12f)](_0x429dd6,_0x2be2bd),this[_0x22211b(0x106)][_0x22211b(0x13d)](this[_0x22211b(0x106)][_0x22211b(0x133)](_0xa3e654),0x1);}}),this[_0xed91f9(0x115)](_0x5641f1[_0xed91f9(0x129)],_0xed91f9(0x100),(_0x361f0c,_0x1f9d90)=>{const _0x20d451=_0xed91f9,_0x3319b6=_0x3b2751[_0x20d451(0x110)][_0x20d451(0x112)](_0x20d451(0x101));if(!_0x3319b6||_0x1f9d90[_0x20d451(0x134)]===_0x3319b6){if(this[_0x20d451(0x106)][_0x20d451(0x13a)](_0x1f9d90))this[_0x20d451(0x106)][_0x20d451(0x13d)](this[_0x20d451(0x106)][_0x20d451(0x133)](_0x1f9d90),0x1);else{const _0x3b4602=_0x278471[_0x20d451(0x138)][_0x20d451(0x112)](_0x1f9d90),_0x58b970=_0x2fc1d1[_0x20d451(0xef)](_0x3b4602[_0x20d451(0x11f)]);this[_0x20d451(0x10e)][_0x20d451(0x100)](_0x58b970[_0x20d451(0x11f)]),this[_0x20d451(0x104)](_0x58b970),this[_0x20d451(0x104)](_0x58b970[_0x20d451(0x132)]);}}}),this[_0xed91f9(0x115)](_0x2fc1d1[_0xed91f9(0xf1)],_0xed91f9(0x119),(_0x42080c,_0x1c161c)=>{const _0x218cf2=_0xed91f9;this[_0x218cf2(0x115)](_0x1c161c,_0x218cf2(0x12e),_0x53fb92);}),this[_0xed91f9(0x115)](_0x2fc1d1[_0xed91f9(0xf1)],_0xed91f9(0x100),(_0x3aec61,_0x11ed15)=>{const _0x32c9c3=_0xed91f9;this[_0x32c9c3(0x104)](_0x11ed15,_0x32c9c3(0x12e),_0x53fb92);});}[_0x1c89b6(0x12f)](_0x5571b3,_0x3ccdcd){const _0x3cca4f=_0x1c89b6;this[_0x3cca4f(0x115)](_0x5571b3,_0x3cca4f(0x139),_0x47f96f=>{const _0x4e2efb=_0x3cca4f;_0x47f96f[_0x4e2efb(0xf0)]=!0x1,_0x47f96f[_0x4e2efb(0x127)]();}),this[_0x3cca4f(0x10e)][_0x3cca4f(0x119)](_0x5571b3[_0x3cca4f(0x11f)],_0x3ccdcd);}[_0x1c89b6(0xff)](_0x6cbe40){const _0x283394=_0x1c89b6,_0x483a5c=this[_0x283394(0x12a)][_0x283394(0x13c)][_0x283394(0x112)](_0x283394(0x109)),_0x1abc54=this[_0x283394(0x12a)][_0x283394(0x13c)][_0x283394(0x112)](_0x283394(0x11b)),_0x5744ba=this[_0x283394(0x12a)][_0x283394(0x110)][_0x283394(0x112)](_0x283394(0x101));if(!_0x5744ba||_0x6cbe40[_0x283394(0x134)]===_0x5744ba){const _0x416bdc=_0x483a5c[_0x283394(0x138)][_0x283394(0x112)](_0x6cbe40);if(!_0x416bdc)return void this[_0x283394(0x106)][_0x283394(0xf4)](_0x6cbe40);const _0x2cc340=this[_0x283394(0xf9)](_0x6cbe40[_0x283394(0xee)]),_0x421d3e=_0x1abc54[_0x283394(0xef)](_0x416bdc[_0x283394(0x11f)]);_0x421d3e[_0x283394(0xf3)]&&_0x1abc54[_0x283394(0x137)][_0x283394(0x100)](_0x421d3e),this[_0x283394(0x12f)](_0x421d3e,_0x2cc340);}}[_0x1c89b6(0xf9)](_0x4e069e){const _0x590681=_0x1c89b6,_0x43e684=this[_0x590681(0x12a)][_0x590681(0x110)][_0x590681(0x112)](_0x590681(0x101)),_0x31e508=[...this[_0x590681(0x12a)][_0x590681(0x13c)][_0x590681(0x112)](_0x268c17)[_0x590681(0x129)]][_0x590681(0x13b)](_0x1359ca=>_0x1359ca[_0x590681(0x134)]===_0x43e684)[_0x590681(0x108)](_0x2469c2=>_0x2469c2[_0x590681(0xee)]<_0x4e069e);return _0x31e508<0x0||_0x31e508>this[_0x590681(0x10e)][_0x590681(0x107)]?this[_0x590681(0x10e)][_0x590681(0x107)]:_0x31e508-0x1;}[_0x1c89b6(0x10b)](){const _0x21595d=_0x1c89b6,_0x44080f=this[_0x21595d(0x12a)],_0xc3f75e=_0x44080f[_0x21595d(0x13c)][_0x21595d(0x112)](_0x21595d(0xf2));this[_0x21595d(0xfb)]||(this[_0x21595d(0xfb)]=new _0x950c8a(_0x44080f[_0x21595d(0x128)],this[_0x21595d(0x10e)])),_0x21595d(0x121)===_0xc3f75e['id']?_0xc3f75e[_0x21595d(0xfe)]():_0xc3f75e[_0x21595d(0x11d)]({'id':_0x21595d(0x121),'title':_0x4747c8(_0x44080f[_0x21595d(0x128)],_0x21595d(0x125)),'icon':_0x3a7c48,'hasCloseButton':!0x0,'content':this[_0x21595d(0xfb)],'position':_0x3b713f[_0x21595d(0x11a)]});}[_0x1c89b6(0x114)](_0x138b47,_0x429e2d=!0x1){const _0x52b38f=_0x1c89b6,_0x115322=this[_0x52b38f(0x12a)][_0x52b38f(0x128)],_0x2614ec=this[_0x52b38f(0x12a)][_0x52b38f(0x13c)][_0x52b38f(0x112)](_0x52b38f(0xf2)),_0x3026d5=new _0x138b47(_0x115322);return _0x3026d5[_0x52b38f(0xfd)](_0x52b38f(0x126))['to'](this,_0x52b38f(0x126)),_0x3026d5[_0x52b38f(0xfd)](_0x52b38f(0x117))['to'](_0x2614ec,'id',_0x2ef0d5=>_0x52b38f(0x121)===_0x2ef0d5),_0x3026d5[_0x52b38f(0x135)]({'label':_0x4747c8(_0x115322,_0x52b38f(0x125)),'icon':_0x3a7c48,'isToggleable':!0x0}),_0x429e2d&&(_0x3026d5[_0x52b38f(0xf6)]=!0x0),this[_0x52b38f(0x115)](_0x3026d5,_0x52b38f(0x131),()=>this[_0x52b38f(0x10b)]()),_0x3026d5;}[_0x1c89b6(0x10d)]=_0x109a3a=>{const _0x140f1a=_0x1c89b6,_0x327a0e=_0x109a3a[_0x140f1a(0xfc)];if(!this[_0x140f1a(0x10e)][_0x140f1a(0x12b)](_0x327a0e[_0x140f1a(0x11f)]))return;const _0x2c342d=this[_0x140f1a(0x12a)][_0x140f1a(0x13c)][_0x140f1a(0x112)](_0x140f1a(0xf2));_0x2c342d[_0x140f1a(0xf8)]&&_0x140f1a(0x121)===_0x2c342d['id']&&(_0x2c342d[_0x140f1a(0xfe)](),_0x109a3a[_0x140f1a(0x127)]());};}
|