@ckeditor/ckeditor5-comments 47.3.0-alpha.1 → 47.3.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x321284=_0x54e0;(function(_0x17ffb4,_0x58c9b0){const _0x201034=_0x54e0,_0x33743c=_0x17ffb4();while(!![]){try{const _0x306cbd=-parseInt(_0x201034(0xbd))/0x1+-parseInt(_0x201034(0x8e))/0x2*(-parseInt(_0x201034(0xa1))/0x3)+parseInt(_0x201034(0x96))/0x4*(-parseInt(_0x201034(0x85))/0x5)+parseInt(_0x201034(0x89))/0x6+parseInt(_0x201034(0xca))/0x7*(-parseInt(_0x201034(0x8a))/0x8)+parseInt(_0x201034(0xbf))/0x9+-parseInt(_0x201034(0x82))/0xa*(parseInt(_0x201034(0xa6))/0xb);if(_0x306cbd===_0x58c9b0)break;else _0x33743c['push'](_0x33743c['shift']());}catch(_0x44293c){_0x33743c['push'](_0x33743c['shift']());}}}(_0x1aee,0xaf1e2));import{ContextPlugin as _0x2e9529}from'ckeditor5/src/core.js';import{Rect as _0xaf16a9,CKEditorError as _0x37e455}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x5f018a}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x1d848b}from'./view/sidebaritemview.js';function _0x1aee(){const _0xa3025=['get','change:targetRect','destroy','601139NynVJk','top','_alignForTopChange','_setItemTop','push','appendChild','bind','_destroySidebarItemView','isActive','context','getIndex','stopListening','isPremiumPlugin','_getTargetTop','pluginName','element','_alignToTargetRect','define','rearrange','targetRect','container','change:bottom','isOfficialPlugin','860011UTICBh','nodeType','1020762AFZdtC','render','_attachToContainer','view','content','_getItemBefore','isAnimationDisabled','_createSidebarView','_spaceBetweenItems','setContainer','_alignAfterItem','21uRkujH','change:_lastItem','list','config','object','refresh','_targetTop','_alignBeforeItem','_recalculate','Sidebar','getSidebarItemView','_detachFromContainer','addAnnotation','unbind','minHeight','_alignForBottomChange','sidebar-attachtocontainer-missing-container','height','class','last','10JceZeW','_annotationToSidebarItemView','sidebar.preventScrollOutOfView','1465pKMJzC','change:top','listenTo','add','6064374XXhmGB','183696YpDYpJ','max','_annotations','_sidebarItemViewToAnnotation','2485340adOYqe','length','_lastItem','_recalculateBuffer','delete','sidebar.container','_updateLastItem','sidebar-setcontainer-invalid-element','9092TmPEuL','locale','remove','set','target','updateHeight','_activeAnnotation','clear','bottom','_getMaxAvailableTop','init','3sTjcWu','_getItemAfter'];_0x1aee=function(){return _0xa3025;};return _0x1aee();}export class Sidebar extends _0x2e9529{[_0x321284(0xc2)];[_0x321284(0x9c)];[_0x321284(0x8c)];[_0x321284(0xc7)];[_0x321284(0x8d)];[_0x321284(0x83)];[_0x321284(0x91)];static get[_0x321284(0xb4)](){const _0x2eea4e=_0x321284;return _0x2eea4e(0xd3);}static get[_0x321284(0xbc)](){return!0x0;}static get[_0x321284(0xb2)](){return!0x0;}constructor(_0x3d2bc2){const _0x56f430=_0x321284;super(_0x3d2bc2),this[_0x56f430(0x99)](_0x56f430(0x90),void 0x0),this[_0x56f430(0xc2)]=this[_0x56f430(0xc6)](),this[_0x56f430(0x99)](_0x56f430(0xba),null),this[_0x56f430(0xc7)]=0x19,this[_0x56f430(0x8d)]=new Map(),this[_0x56f430(0x83)]=new Map(),this[_0x56f430(0xaf)][_0x56f430(0xcd)][_0x56f430(0xb7)](_0x56f430(0x84),!0x1),this[_0x56f430(0x8c)]=null,this[_0x56f430(0x9c)]=null,this[_0x56f430(0x91)]=[];}[_0x321284(0xa0)](){const _0x2dba29=_0x321284,_0x36a7cd=this[_0x2dba29(0xaf)][_0x2dba29(0xcd)][_0x2dba29(0xa3)](_0x2dba29(0x93));_0x36a7cd&&this[_0x2dba29(0xc8)](_0x36a7cd);}[_0x321284(0xc8)](_0x22a607){const _0x5ddf11=_0x321284;if(!g(_0x22a607))throw new _0x37e455(_0x5ddf11(0x95));this[_0x5ddf11(0xba)]=_0x22a607;}[_0x321284(0xc1)]({viewClass:_0x2227d2='',spaceBetweenItems:_0x4677e0=0x19}={}){const _0x5a8a36=_0x321284;if(!g(this[_0x5a8a36(0xba)]))throw new _0x37e455(_0x5a8a36(0x7e),this);this[_0x5a8a36(0xba)][_0x5a8a36(0xab)](this[_0x5a8a36(0xc2)][_0x5a8a36(0xb5)]),this[_0x5a8a36(0xc2)][_0x5a8a36(0x80)]=_0x2227d2,this[_0x5a8a36(0xc7)]=_0x4677e0;}[_0x321284(0xb8)]({removedAnnotation:_0x3e1369,previousAnnotation:_0x10e36f,nextAnnotation:_0x286c2d}){const _0x2168a5=_0x321284,_0x4948f0=this[_0x2168a5(0xd4)](_0x3e1369);this[_0x2168a5(0xc2)][_0x2168a5(0xcc)][_0x2168a5(0x98)](_0x4948f0),this[_0x2168a5(0xad)](_0x3e1369),_0x10e36f&&this[_0x2168a5(0xb6)](this[_0x2168a5(0xd4)](_0x10e36f)),_0x286c2d&&this[_0x2168a5(0xb6)](this[_0x2168a5(0xd4)](_0x286c2d)),this[_0x2168a5(0x94)]();}[_0x321284(0xcf)]({blurredAnnotation:_0x7d0616,activatedAnnotation:_0x13a54b,disableAnimationOnActivatedAnnotation:_0x5bc153}){const _0x479466=_0x321284;if(this[_0x479466(0x9c)]=_0x13a54b,_0x7d0616){_0x7d0616[_0x479466(0xae)]=!0x1;const _0x4f6b45=this[_0x479466(0xd4)](_0x7d0616);_0x4f6b45&&_0x5bc153&&(_0x4f6b45[_0x479466(0xc5)]=!0x1);}if(_0x13a54b){const _0x19ea08=this[_0x479466(0xd4)](_0x13a54b);_0x19ea08&&(_0x13a54b[_0x479466(0xae)]=!0x0,_0x5bc153&&(_0x19ea08[_0x479466(0xc5)]=!0x0,_0x19ea08[_0x479466(0xa7)]+=0x1),this[_0x479466(0xb6)](_0x19ea08));}}[_0x321284(0xd5)](_0x1ca8fa){const _0x51f52b=_0x321284;if(this[_0x51f52b(0xc2)][_0x51f52b(0xb5)][_0x51f52b(0x98)](),_0x1ca8fa){for(const _0x435236 of _0x1ca8fa)this[_0x51f52b(0xad)](_0x435236);}this[_0x51f52b(0xc2)][_0x51f52b(0xcc)][_0x51f52b(0x9d)](),this[_0x51f52b(0xc2)][_0x51f52b(0x80)]='',this[_0x51f52b(0x90)]=null;}[_0x321284(0xd6)](_0x221b8f,_0x4999f6){const _0x5f0e39=_0x321284;_0x4999f6||(_0x4999f6=_0x221b8f[_0x5f0e39(0xc2)]);const _0x51d767=new _0x1d848b(this[_0x5f0e39(0xaf)][_0x5f0e39(0x97)]);this[_0x5f0e39(0x8d)][_0x5f0e39(0x99)](_0x51d767,_0x221b8f),this[_0x5f0e39(0x83)][_0x5f0e39(0x99)](_0x221b8f,_0x51d767),_0x51d767[_0x5f0e39(0xc3)][_0x5f0e39(0x88)](_0x4999f6),this[_0x5f0e39(0x87)](_0x221b8f[_0x5f0e39(0xc2)],_0x5f0e39(0xa4),(_0x19dc7e,_0x1db1af,_0x156cd8)=>{const _0x467626=_0x5f0e39,_0xd376e4=this[_0x467626(0xb3)](_0x221b8f,_0x156cd8);_0x51d767[_0x467626(0xd0)]!=_0xd376e4&&(_0x51d767[_0x467626(0xd0)]=_0xd376e4,this[_0x467626(0xa9)](_0x51d767,_0xd376e4));}),this[_0x5f0e39(0x87)](_0x51d767,_0x5f0e39(0x86),()=>{const _0x5099d1=_0x5f0e39;this[_0x5099d1(0xd2)](_0x51d767,_0x5099d1(0xa7));}),this[_0x5f0e39(0x87)](_0x51d767,_0x5f0e39(0xbb),()=>{const _0x2cd9cb=_0x5f0e39;this[_0x2cd9cb(0xd2)](_0x51d767,_0x2cd9cb(0x9e));}),this[_0x5f0e39(0xb6)](_0x51d767);const _0x467405=this[_0x5f0e39(0xc4)](_0x51d767);if(_0x467405)this[_0x5f0e39(0xc9)](_0x467405,_0x51d767)||this[_0x5f0e39(0xb6)](_0x51d767);else this[_0x5f0e39(0xb6)](_0x51d767);return this[_0x5f0e39(0x94)](),this[_0x5f0e39(0xc2)][_0x5f0e39(0xcc)][_0x5f0e39(0x88)](_0x51d767),_0x51d767;}[_0x321284(0xa8)](_0x14fd11){const _0x2f07e6=_0x321284;if(!_0x14fd11[_0x2f07e6(0xc3)][_0x2f07e6(0x8f)])return;const _0x2d9d3a=this[_0x2f07e6(0xc4)](_0x14fd11);if(!_0x2d9d3a)return;const _0x3491a0=this[_0x2f07e6(0x8d)][_0x2f07e6(0xa3)](_0x2d9d3a),_0x1e87b1=this[_0x2f07e6(0x9c)];_0x1e87b1&&_0x1e87b1===_0x3491a0?this[_0x2f07e6(0xc9)](_0x2d9d3a,_0x14fd11):this[_0x2f07e6(0xd1)](_0x14fd11,_0x2d9d3a);}[_0x321284(0xd9)](_0x52abb8){const _0x3a6dfd=_0x321284;if(!_0x52abb8[_0x3a6dfd(0xc3)][_0x3a6dfd(0x8f)])return;const _0xe27686=this[_0x3a6dfd(0xa2)](_0x52abb8);if(!_0xe27686)return;const _0x442993=this[_0x3a6dfd(0x8d)][_0x3a6dfd(0xa3)](_0xe27686),_0x595696=this[_0x3a6dfd(0xaf)][_0x3a6dfd(0xcd)][_0x3a6dfd(0xa3)](_0x3a6dfd(0x84)),_0x2da05b=this[_0x3a6dfd(0x9c)];_0x2da05b&&_0x2da05b===_0x442993&&_0x595696?(this[_0x3a6dfd(0xd1)](_0xe27686,_0x52abb8),this[_0x3a6dfd(0xc9)](_0x52abb8,_0xe27686)):_0x2da05b&&_0x2da05b===_0x442993?this[_0x3a6dfd(0xd1)](_0xe27686,_0x52abb8):this[_0x3a6dfd(0xc9)](_0x52abb8,_0xe27686);}[_0x321284(0xd2)](_0x299245,_0x5a616e){const _0x24ddf6=_0x321284;0x0===this[_0x24ddf6(0x91)][_0x24ddf6(0x8f)]&&setTimeout(()=>{const _0x306acd=_0x24ddf6;for(const {sidebarItemView:_0x1c08f7,changedProp:_0x2223ab}of this[_0x306acd(0x91)])_0x306acd(0xa7)===_0x2223ab?this[_0x306acd(0xa8)](_0x1c08f7):this[_0x306acd(0xd9)](_0x1c08f7);this[_0x306acd(0x91)]=[];},0xa),this[_0x24ddf6(0x91)][_0x24ddf6(0xaa)]({'sidebarItemView':_0x299245,'changedProp':_0x5a616e});}[_0x321284(0xd4)](_0x5dc4aa){const _0x487b3a=_0x321284;return this[_0x487b3a(0x83)][_0x487b3a(0xa3)](_0x5dc4aa);}[_0x321284(0xa5)](){const _0xaaa957=_0x321284;this[_0xaaa957(0xb1)](),this[_0xaaa957(0xc2)][_0xaaa957(0xa5)]();}[_0x321284(0xad)](_0x13f56d){const _0x38071e=_0x321284,_0x4e757a=this[_0x38071e(0xd4)](_0x13f56d);this[_0x38071e(0xb1)](_0x4e757a),this[_0x38071e(0xb1)](_0x13f56d[_0x38071e(0xc2)]),_0x4e757a[_0x38071e(0xa5)](),this[_0x38071e(0x83)][_0x38071e(0x92)](_0x13f56d),this[_0x38071e(0x8d)][_0x38071e(0x92)](_0x4e757a);}[_0x321284(0xc6)](){const _0x224221=_0x321284,_0x9ab91f=new _0x5f018a(this[_0x224221(0xaf)][_0x224221(0x97)]);return _0x9ab91f[_0x224221(0xc0)](),this['on'](_0x224221(0xcb),(_0x56a738,_0x2f0d8d,_0x1afe0a,_0x260ebc)=>{const _0x403e3c=_0x224221;_0x260ebc&&_0x9ab91f[_0x403e3c(0xd7)](_0x403e3c(0xd8)),_0x1afe0a?_0x9ab91f[_0x403e3c(0xac)](_0x403e3c(0xd8))['to'](_0x1afe0a,_0x403e3c(0x9e)):_0x9ab91f[_0x403e3c(0xd8)]=null;}),_0x9ab91f;}[_0x321284(0x94)](){const _0x1d1442=_0x321284;this[_0x1d1442(0x90)]=this[_0x1d1442(0x8c)]?.[_0x1d1442(0x81)]?this[_0x1d1442(0xd4)](this[_0x1d1442(0x8c)][_0x1d1442(0x81)]):null;}[_0x321284(0xc4)](_0x33ec49){const _0x51bce5=_0x321284,_0x226ee2=this[_0x51bce5(0x8d)][_0x51bce5(0xa3)](_0x33ec49),_0x466243=_0x226ee2&&this[_0x51bce5(0x8c)]?.[_0x51bce5(0xa3)](this[_0x51bce5(0x8c)][_0x51bce5(0xb0)](_0x226ee2)-0x1);return _0x466243&&this[_0x51bce5(0xd4)](_0x466243)||null;}[_0x321284(0xa2)](_0x3aa674){const _0x53ce0a=_0x321284,_0x535caa=this[_0x53ce0a(0x8d)][_0x53ce0a(0xa3)](_0x3aa674),_0xf793d1=_0x535caa&&this[_0x53ce0a(0x8c)]?.[_0x53ce0a(0xa3)](this[_0x53ce0a(0x8c)][_0x53ce0a(0xb0)](_0x535caa)+0x1);return _0xf793d1&&this[_0x53ce0a(0xd4)](_0xf793d1)||null;}[_0x321284(0xd1)](_0xaae156,_0x53a54c){const _0x21cba3=_0x321284;_0xaae156[_0x21cba3(0x9b)]();const _0x11fa3e=G(_0x53a54c[_0x21cba3(0x9e)]+this[_0x21cba3(0xc7)],_0xaae156[_0x21cba3(0xa7)]);return!!_0x11fa3e&&(this[_0x21cba3(0xa9)](_0x53a54c,_0x53a54c[_0x21cba3(0xa7)]-_0x11fa3e),!0x0);}[_0x321284(0xc9)](_0x160436,_0x5eac7a){const _0x58ff33=_0x321284;_0x160436[_0x58ff33(0x9b)]();const _0x368111=G(_0x160436[_0x58ff33(0x9e)]+this[_0x58ff33(0xc7)],_0x5eac7a[_0x58ff33(0xa7)]);return!!_0x368111&&(this[_0x58ff33(0xa9)](_0x5eac7a,_0x5eac7a[_0x58ff33(0xa7)]+_0x368111,!0x1),!0x0);}[_0x321284(0xb6)](_0x3a124d){const _0x4aa8bb=_0x321284,_0x23718f=this[_0x4aa8bb(0x8d)][_0x4aa8bb(0xa3)](_0x3a124d);if(!_0x23718f||!_0x23718f[_0x4aa8bb(0x9a)]||!_0x23718f[_0x4aa8bb(0xb9)])return;const _0x377c84=this[_0x4aa8bb(0xb3)](_0x23718f,_0x23718f[_0x4aa8bb(0xb9)]);this[_0x4aa8bb(0xa9)](_0x3a124d,_0x377c84);}[_0x321284(0xb3)](_0x3a63a8,_0x16113b){const _0x443326=_0x321284;if(null===_0x16113b)return 0x0;if(_0x3a63a8[_0x443326(0x9a)]instanceof _0xaf16a9)return _0x16113b[_0x443326(0xa7)];{const _0x3fdeb9=new _0xaf16a9(this[_0x443326(0xc2)][_0x443326(0xb5)])[_0x443326(0xa7)];return _0x16113b[_0x443326(0xa7)]-_0x3fdeb9;}}[_0x321284(0xa9)](_0x2361d7,_0x24610f,_0x4f4f03=this[_0x321284(0xaf)][_0x321284(0xcd)][_0x321284(0xa3)](_0x321284(0x84))){const _0x326b20=_0x321284;_0x4f4f03&&(_0x24610f=Math[_0x326b20(0x8b)](_0x24610f,this[_0x326b20(0x9f)](_0x2361d7))),_0x2361d7[_0x326b20(0xa7)]=_0x24610f;}[_0x321284(0x9f)](_0x4de479){const _0x44be23=_0x321284;let _0x39fc06=this[_0x44be23(0xc4)](_0x4de479),_0x1e53a0=0x0;for(;_0x39fc06;)_0x39fc06[_0x44be23(0x9b)](),_0x1e53a0+=this[_0x44be23(0xc7)]+_0x39fc06[_0x44be23(0x7f)],_0x39fc06=this[_0x44be23(0xc4)](_0x39fc06);return _0x1e53a0;}}function G(_0x1ba7ff,_0x43499e){const _0x1fd22d=_0x321284;return Math[_0x1fd22d(0x8b)](_0x1ba7ff-_0x43499e,0x0);}function _0x54e0(_0x5a52e1,_0xfe1b5c){const _0x1aee8d=_0x1aee();return _0x54e0=function(_0x54e021,_0x43ea8d){_0x54e021=_0x54e021-0x7e;let _0x592b11=_0x1aee8d[_0x54e021];return _0x592b11;},_0x54e0(_0x5a52e1,_0xfe1b5c);}function g(_0xcaa874){const _0x33117a=_0x321284;return null!==_0xcaa874&&_0x33117a(0xce)==typeof _0xcaa874&&0x1===_0xcaa874[_0x33117a(0xbe)];}
|
|
23
|
+
const _0xe45b55=_0x48da;(function(_0x1b7c70,_0x4c2b90){const _0x2fe0bb=_0x48da,_0x569dd8=_0x1b7c70();while(!![]){try{const _0x57138d=parseInt(_0x2fe0bb(0xf7))/0x1+-parseInt(_0x2fe0bb(0x12c))/0x2+parseInt(_0x2fe0bb(0x119))/0x3+parseInt(_0x2fe0bb(0x121))/0x4*(parseInt(_0x2fe0bb(0xfc))/0x5)+-parseInt(_0x2fe0bb(0xfb))/0x6+parseInt(_0x2fe0bb(0x139))/0x7+parseInt(_0x2fe0bb(0x110))/0x8*(parseInt(_0x2fe0bb(0x11d))/0x9);if(_0x57138d===_0x4c2b90)break;else _0x569dd8['push'](_0x569dd8['shift']());}catch(_0x232e83){_0x569dd8['push'](_0x569dd8['shift']());}}}(_0x185d,0x49b65));import{ContextPlugin as _0x5048f7}from'ckeditor5/src/core.js';function _0x185d(){const _0x4ca98c=['render','refresh','add','isPremiumPlugin','content','get','_annotations','define','minHeight','appendChild','_getMaxAvailableTop','_getItemBefore','last','max','sidebar-attachtocontainer-missing-container','element','setContainer','24612VVLRhb','change:targetRect','context','bottom','1613556WDyfrW','40NwxCmY','_annotationToSidebarItemView','_createSidebarView','_recalculateBuffer','_activeAnnotation','_recalculate','sidebar.container','pluginName','list','container','_updateLastItem','_alignForTopChange','targetRect','remove','listenTo','getSidebarItemView','unbind','length','sidebar-setcontainer-invalid-element','config','860512KmXSpt','change:top','_alignForBottomChange','_spaceBetweenItems','delete','_sidebarItemViewToAnnotation','locale','init','_alignBeforeItem','500451bRcpwj','_lastItem','rearrange','top','9ZMKeOv','stopListening','target','_setItemTop','176356FvvVLD','isAnimationDisabled','view','object','_getTargetTop','change:_lastItem','getIndex','_attachToContainer','isOfficialPlugin','_alignAfterItem','Sidebar','181460cnGRYk','_detachFromContainer','class','_alignToTargetRect','nodeType','destroy','_destroySidebarItemView','sidebar.preventScrollOutOfView','clear','_getItemAfter','updateHeight','bind','addAnnotation','69132Vzmotc','isActive','set','_targetTop','push','height','change:bottom'];_0x185d=function(){return _0x4ca98c;};return _0x185d();}import{Rect as _0x34213a,CKEditorError as _0x12743a}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x4fec9e}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x5991b5}from'./view/sidebaritemview.js';export class Sidebar extends _0x5048f7{[_0xe45b55(0x123)];[_0xe45b55(0x100)];[_0xe45b55(0xec)];[_0xe45b55(0x113)];[_0xe45b55(0x115)];[_0xe45b55(0xfd)];[_0xe45b55(0xff)];static get[_0xe45b55(0x103)](){const _0xfcd6c8=_0xe45b55;return _0xfcd6c8(0x12b);}static get[_0xe45b55(0x129)](){return!0x0;}static get[_0xe45b55(0xe9)](){return!0x0;}constructor(_0x3f28ea){const _0x57205a=_0xe45b55;super(_0x3f28ea),this[_0x57205a(0x13b)](_0x57205a(0x11a),void 0x0),this[_0x57205a(0x123)]=this[_0x57205a(0xfe)](),this[_0x57205a(0x13b)](_0x57205a(0x105),null),this[_0x57205a(0x113)]=0x19,this[_0x57205a(0x115)]=new Map(),this[_0x57205a(0xfd)]=new Map(),this[_0x57205a(0xf9)][_0x57205a(0x10f)][_0x57205a(0xed)](_0x57205a(0x133),!0x1),this[_0x57205a(0xec)]=null,this[_0x57205a(0x100)]=null,this[_0x57205a(0xff)]=[];}[_0xe45b55(0x117)](){const _0x200cb8=_0xe45b55,_0xa6802e=this[_0x200cb8(0xf9)][_0x200cb8(0x10f)][_0x200cb8(0xeb)](_0x200cb8(0x102));_0xa6802e&&this[_0x200cb8(0xf6)](_0xa6802e);}[_0xe45b55(0xf6)](_0x10cd78){const _0x412d73=_0xe45b55;if(!g(_0x10cd78))throw new _0x12743a(_0x412d73(0x10e));this[_0x412d73(0x105)]=_0x10cd78;}[_0xe45b55(0x128)]({viewClass:_0x20e961='',spaceBetweenItems:_0x5657ef=0x19}={}){const _0x3cde80=_0xe45b55;if(!g(this[_0x3cde80(0x105)]))throw new _0x12743a(_0x3cde80(0xf4),this);this[_0x3cde80(0x105)][_0x3cde80(0xef)](this[_0x3cde80(0x123)][_0x3cde80(0xf5)]),this[_0x3cde80(0x123)][_0x3cde80(0x12e)]=_0x20e961,this[_0x3cde80(0x113)]=_0x5657ef;}[_0xe45b55(0x11b)]({removedAnnotation:_0x42820d,previousAnnotation:_0x413bce,nextAnnotation:_0x11fde5}){const _0x4612a8=_0xe45b55,_0x1b1c5d=this[_0x4612a8(0x10b)](_0x42820d);this[_0x4612a8(0x123)][_0x4612a8(0x104)][_0x4612a8(0x109)](_0x1b1c5d),this[_0x4612a8(0x132)](_0x42820d),_0x413bce&&this[_0x4612a8(0x12f)](this[_0x4612a8(0x10b)](_0x413bce)),_0x11fde5&&this[_0x4612a8(0x12f)](this[_0x4612a8(0x10b)](_0x11fde5)),this[_0x4612a8(0x106)]();}[_0xe45b55(0x141)]({blurredAnnotation:_0x5ca401,activatedAnnotation:_0x4141f9,disableAnimationOnActivatedAnnotation:_0x40e032}){const _0x486856=_0xe45b55;if(this[_0x486856(0x100)]=_0x4141f9,_0x5ca401){_0x5ca401[_0x486856(0x13a)]=!0x1;const _0x310b4b=this[_0x486856(0x10b)](_0x5ca401);_0x310b4b&&_0x40e032&&(_0x310b4b[_0x486856(0x122)]=!0x1);}if(_0x4141f9){const _0x561083=this[_0x486856(0x10b)](_0x4141f9);_0x561083&&(_0x4141f9[_0x486856(0x13a)]=!0x0,_0x40e032&&(_0x561083[_0x486856(0x122)]=!0x0,_0x561083[_0x486856(0x11c)]+=0x1),this[_0x486856(0x12f)](_0x561083));}}[_0xe45b55(0x12d)](_0x499f57){const _0x47ddf8=_0xe45b55;if(this[_0x47ddf8(0x123)][_0x47ddf8(0xf5)][_0x47ddf8(0x109)](),_0x499f57){for(const _0x5d1377 of _0x499f57)this[_0x47ddf8(0x132)](_0x5d1377);}this[_0x47ddf8(0x123)][_0x47ddf8(0x104)][_0x47ddf8(0x134)](),this[_0x47ddf8(0x123)][_0x47ddf8(0x12e)]='',this[_0x47ddf8(0x11a)]=null;}[_0xe45b55(0x138)](_0x398365,_0x23bdf2){const _0x126bf1=_0xe45b55;_0x23bdf2||(_0x23bdf2=_0x398365[_0x126bf1(0x123)]);const _0x3de9f9=new _0x5991b5(this[_0x126bf1(0xf9)][_0x126bf1(0x116)]);this[_0x126bf1(0x115)][_0x126bf1(0x13b)](_0x3de9f9,_0x398365),this[_0x126bf1(0xfd)][_0x126bf1(0x13b)](_0x398365,_0x3de9f9),_0x3de9f9[_0x126bf1(0xea)][_0x126bf1(0xe8)](_0x23bdf2),this[_0x126bf1(0x10a)](_0x398365[_0x126bf1(0x123)],_0x126bf1(0xf8),(_0x5e8fe2,_0x354827,_0x546b89)=>{const _0x2670f5=_0x126bf1,_0x5271ab=this[_0x2670f5(0x125)](_0x398365,_0x546b89);_0x3de9f9[_0x2670f5(0x13c)]!=_0x5271ab&&(_0x3de9f9[_0x2670f5(0x13c)]=_0x5271ab,this[_0x2670f5(0x120)](_0x3de9f9,_0x5271ab));}),this[_0x126bf1(0x10a)](_0x3de9f9,_0x126bf1(0x111),()=>{const _0x370842=_0x126bf1;this[_0x370842(0x101)](_0x3de9f9,_0x370842(0x11c));}),this[_0x126bf1(0x10a)](_0x3de9f9,_0x126bf1(0x13f),()=>{const _0x586e64=_0x126bf1;this[_0x586e64(0x101)](_0x3de9f9,_0x586e64(0xfa));}),this[_0x126bf1(0x12f)](_0x3de9f9);const _0x41237e=this[_0x126bf1(0xf1)](_0x3de9f9);if(_0x41237e)this[_0x126bf1(0x12a)](_0x41237e,_0x3de9f9)||this[_0x126bf1(0x12f)](_0x3de9f9);else this[_0x126bf1(0x12f)](_0x3de9f9);return this[_0x126bf1(0x106)](),this[_0x126bf1(0x123)][_0x126bf1(0x104)][_0x126bf1(0xe8)](_0x3de9f9),_0x3de9f9;}[_0xe45b55(0x107)](_0x43f970){const _0x2889db=_0xe45b55;if(!_0x43f970[_0x2889db(0xea)][_0x2889db(0x10d)])return;const _0x3c2f05=this[_0x2889db(0xf1)](_0x43f970);if(!_0x3c2f05)return;const _0x2f0b33=this[_0x2889db(0x115)][_0x2889db(0xeb)](_0x3c2f05),_0x4f7196=this[_0x2889db(0x100)];_0x4f7196&&_0x4f7196===_0x2f0b33?this[_0x2889db(0x12a)](_0x3c2f05,_0x43f970):this[_0x2889db(0x118)](_0x43f970,_0x3c2f05);}[_0xe45b55(0x112)](_0x211943){const _0xac0f11=_0xe45b55;if(!_0x211943[_0xac0f11(0xea)][_0xac0f11(0x10d)])return;const _0x4ce5ef=this[_0xac0f11(0x135)](_0x211943);if(!_0x4ce5ef)return;const _0x5a7531=this[_0xac0f11(0x115)][_0xac0f11(0xeb)](_0x4ce5ef),_0x52784d=this[_0xac0f11(0xf9)][_0xac0f11(0x10f)][_0xac0f11(0xeb)](_0xac0f11(0x133)),_0x59d7d9=this[_0xac0f11(0x100)];_0x59d7d9&&_0x59d7d9===_0x5a7531&&_0x52784d?(this[_0xac0f11(0x118)](_0x4ce5ef,_0x211943),this[_0xac0f11(0x12a)](_0x211943,_0x4ce5ef)):_0x59d7d9&&_0x59d7d9===_0x5a7531?this[_0xac0f11(0x118)](_0x4ce5ef,_0x211943):this[_0xac0f11(0x12a)](_0x211943,_0x4ce5ef);}[_0xe45b55(0x101)](_0x3cf3b3,_0x12ab7b){const _0x58cd68=_0xe45b55;0x0===this[_0x58cd68(0xff)][_0x58cd68(0x10d)]&&setTimeout(()=>{const _0x26d512=_0x58cd68;for(const {sidebarItemView:_0x51fa6e,changedProp:_0x5db36c}of this[_0x26d512(0xff)])_0x26d512(0x11c)===_0x5db36c?this[_0x26d512(0x107)](_0x51fa6e):this[_0x26d512(0x112)](_0x51fa6e);this[_0x26d512(0xff)]=[];},0xa),this[_0x58cd68(0xff)][_0x58cd68(0x13d)]({'sidebarItemView':_0x3cf3b3,'changedProp':_0x12ab7b});}[_0xe45b55(0x10b)](_0x3895b2){const _0x2a07bb=_0xe45b55;return this[_0x2a07bb(0xfd)][_0x2a07bb(0xeb)](_0x3895b2);}[_0xe45b55(0x131)](){const _0x4f66d4=_0xe45b55;this[_0x4f66d4(0x11e)](),this[_0x4f66d4(0x123)][_0x4f66d4(0x131)]();}[_0xe45b55(0x132)](_0x16fc68){const _0x354d04=_0xe45b55,_0x11ac0a=this[_0x354d04(0x10b)](_0x16fc68);this[_0x354d04(0x11e)](_0x11ac0a),this[_0x354d04(0x11e)](_0x16fc68[_0x354d04(0x123)]),_0x11ac0a[_0x354d04(0x131)](),this[_0x354d04(0xfd)][_0x354d04(0x114)](_0x16fc68),this[_0x354d04(0x115)][_0x354d04(0x114)](_0x11ac0a);}[_0xe45b55(0xfe)](){const _0x2cc532=_0xe45b55,_0x50d49b=new _0x4fec9e(this[_0x2cc532(0xf9)][_0x2cc532(0x116)]);return _0x50d49b[_0x2cc532(0x140)](),this['on'](_0x2cc532(0x126),(_0x3de70f,_0x5bb463,_0x23c91f,_0x4c8f25)=>{const _0x152240=_0x2cc532;_0x4c8f25&&_0x50d49b[_0x152240(0x10c)](_0x152240(0xee)),_0x23c91f?_0x50d49b[_0x152240(0x137)](_0x152240(0xee))['to'](_0x23c91f,_0x152240(0xfa)):_0x50d49b[_0x152240(0xee)]=null;}),_0x50d49b;}[_0xe45b55(0x106)](){const _0x4ea6e8=_0xe45b55;this[_0x4ea6e8(0x11a)]=this[_0x4ea6e8(0xec)]?.[_0x4ea6e8(0xf2)]?this[_0x4ea6e8(0x10b)](this[_0x4ea6e8(0xec)][_0x4ea6e8(0xf2)]):null;}[_0xe45b55(0xf1)](_0x20a3e5){const _0x530a60=_0xe45b55,_0x2ceace=this[_0x530a60(0x115)][_0x530a60(0xeb)](_0x20a3e5),_0x16dd74=_0x2ceace&&this[_0x530a60(0xec)]?.[_0x530a60(0xeb)](this[_0x530a60(0xec)][_0x530a60(0x127)](_0x2ceace)-0x1);return _0x16dd74&&this[_0x530a60(0x10b)](_0x16dd74)||null;}[_0xe45b55(0x135)](_0x183e39){const _0x372062=_0xe45b55,_0x5130ad=this[_0x372062(0x115)][_0x372062(0xeb)](_0x183e39),_0x1d293a=_0x5130ad&&this[_0x372062(0xec)]?.[_0x372062(0xeb)](this[_0x372062(0xec)][_0x372062(0x127)](_0x5130ad)+0x1);return _0x1d293a&&this[_0x372062(0x10b)](_0x1d293a)||null;}[_0xe45b55(0x118)](_0x3e9ecf,_0x10c8f1){const _0x51ecbd=_0xe45b55;_0x3e9ecf[_0x51ecbd(0x136)]();const _0x5744b7=G(_0x10c8f1[_0x51ecbd(0xfa)]+this[_0x51ecbd(0x113)],_0x3e9ecf[_0x51ecbd(0x11c)]);return!!_0x5744b7&&(this[_0x51ecbd(0x120)](_0x10c8f1,_0x10c8f1[_0x51ecbd(0x11c)]-_0x5744b7),!0x0);}[_0xe45b55(0x12a)](_0x268f57,_0x41e1ff){const _0xfeaa4e=_0xe45b55;_0x268f57[_0xfeaa4e(0x136)]();const _0x4ede1e=G(_0x268f57[_0xfeaa4e(0xfa)]+this[_0xfeaa4e(0x113)],_0x41e1ff[_0xfeaa4e(0x11c)]);return!!_0x4ede1e&&(this[_0xfeaa4e(0x120)](_0x41e1ff,_0x41e1ff[_0xfeaa4e(0x11c)]+_0x4ede1e,!0x1),!0x0);}[_0xe45b55(0x12f)](_0x44645f){const _0x4d938c=_0xe45b55,_0x5cc2fc=this[_0x4d938c(0x115)][_0x4d938c(0xeb)](_0x44645f);if(!_0x5cc2fc||!_0x5cc2fc[_0x4d938c(0x11f)]||!_0x5cc2fc[_0x4d938c(0x108)])return;const _0x52123c=this[_0x4d938c(0x125)](_0x5cc2fc,_0x5cc2fc[_0x4d938c(0x108)]);this[_0x4d938c(0x120)](_0x44645f,_0x52123c);}[_0xe45b55(0x125)](_0x35e0f8,_0x119d9d){const _0x3da27b=_0xe45b55;if(null===_0x119d9d)return 0x0;if(_0x35e0f8[_0x3da27b(0x11f)]instanceof _0x34213a)return _0x119d9d[_0x3da27b(0x11c)];{const _0x1ff88a=new _0x34213a(this[_0x3da27b(0x123)][_0x3da27b(0xf5)])[_0x3da27b(0x11c)];return _0x119d9d[_0x3da27b(0x11c)]-_0x1ff88a;}}[_0xe45b55(0x120)](_0xdda33c,_0xd397b9,_0x549851=this[_0xe45b55(0xf9)][_0xe45b55(0x10f)][_0xe45b55(0xeb)](_0xe45b55(0x133))){const _0x317dbe=_0xe45b55;_0x549851&&(_0xd397b9=Math[_0x317dbe(0xf3)](_0xd397b9,this[_0x317dbe(0xf0)](_0xdda33c))),_0xdda33c[_0x317dbe(0x11c)]=_0xd397b9;}[_0xe45b55(0xf0)](_0x473f94){const _0x3236ff=_0xe45b55;let _0x58b046=this[_0x3236ff(0xf1)](_0x473f94),_0x2642dd=0x0;for(;_0x58b046;)_0x58b046[_0x3236ff(0x136)](),_0x2642dd+=this[_0x3236ff(0x113)]+_0x58b046[_0x3236ff(0x13e)],_0x58b046=this[_0x3236ff(0xf1)](_0x58b046);return _0x2642dd;}}function G(_0x5e4396,_0x307e62){const _0x152e90=_0xe45b55;return Math[_0x152e90(0xf3)](_0x5e4396-_0x307e62,0x0);}function _0x48da(_0x8c9ff6,_0x5cfe7d){const _0x185da1=_0x185d();return _0x48da=function(_0x48daea,_0x185ac8){_0x48daea=_0x48daea-0xe8;let _0x26c2f5=_0x185da1[_0x48daea];return _0x26c2f5;},_0x48da(_0x8c9ff6,_0x5cfe7d);}function g(_0x39500a){const _0x55897d=_0xe45b55;return null!==_0x39500a&&_0x55897d(0x124)==typeof _0x39500a&&0x1===_0x39500a[_0x55897d(0x130)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2de2(){const _0x246639=['42312XQneWj','_badge','ck-annotation-counter__badge--','annotationType','789903chZTyD','478408MCTNQi','ck-annotation-counter','counterView','480WDcsAe','2834055cTtzTG','number','4oLwEPp','37ajjUTV','ck-annotation-counter__badge--edit-mode','bindTemplate','isDirty','span','extendTemplate','72zPHjnf','add','40859IUWxqd','120iKZsLu','140BmoIZd','toString','setTemplate','450714XAlOXw','ck-annotation-counter__badge','bind','icon','children','...','1634802GMdLma','set'];_0x2de2=function(){return _0x246639;};return _0x2de2();}const _0x3eab90=_0x3bd2;(function(_0x4a2b40,_0x14d253){const _0x447d64=_0x3bd2,_0xd36f3a=_0x4a2b40();while(!![]){try{const _0x2d5c2b=-parseInt(_0x447d64(0xd2))/0x1*(-parseInt(_0x447d64(0xc6))/0x2)+-parseInt(_0x447d64(0xca))/0x3*(parseInt(_0x447d64(0xd1))/0x4)+-parseInt(_0x447d64(0xcf))/0x5+-parseInt(_0x447d64(0xce))/0x6*(parseInt(_0x447d64(0xda))/0x7)+-parseInt(_0x447d64(0xcb))/0x8*(-parseInt(_0x447d64(0xd8))/0x9)+parseInt(_0x447d64(0xdc))/0xa*(-parseInt(_0x447d64(0xdf))/0xb)+parseInt(_0x447d64(0xdb))/0xc*(parseInt(_0x447d64(0xe5))/0xd);if(_0x2d5c2b===_0x14d253)break;else _0xd36f3a['push'](_0xd36f3a['shift']());}catch(_0x2b0e3e){_0xd36f3a['push'](_0xd36f3a['shift']());}}}(_0x2de2,0x9e34c));import{ButtonView as _0x2a5c62,View as _0x459c47}from'ckeditor5/src/ui.js';function _0x3bd2(_0x304afd,_0x3be93f){const _0x2de290=_0x2de2();return _0x3bd2=function(_0x3bd204,_0x10292e){_0x3bd204=_0x3bd204-0xc6;let _0x405490=_0x2de290[_0x3bd204];return _0x405490;},_0x3bd2(_0x304afd,_0x3be93f);}import{IconAddComment as _0x915311}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2a5c62{[_0x3eab90(0xcd)];constructor(_0x1c9f3c){const _0x2c5cfb=_0x3eab90;super(_0x1c9f3c);const _0x5e0de1=this[_0x2c5cfb(0xd4)];this[_0x2c5cfb(0xe6)](_0x2c5cfb(0xd5),!0x1),this[_0x2c5cfb(0xe6)](_0x2c5cfb(0xd0),0x0),this[_0x2c5cfb(0xe1)](_0x2c5cfb(0xc7))['to'](this,_0x2c5cfb(0xd5),this,_0x2c5cfb(0xd0),(_0x38bda5,_0x2c1384)=>_0x38bda5?_0x2c5cfb(0xe4):_0x2c1384[_0x2c5cfb(0xdd)]()),this[_0x2c5cfb(0xe6)](_0x2c5cfb(0xc9),''),this[_0x2c5cfb(0xe2)]=_0x915311,this[_0x2c5cfb(0xd7)]({'attributes':{'class':[_0x2c5cfb(0xcc)]}}),this[_0x2c5cfb(0xcd)]=new _0x459c47(),this[_0x2c5cfb(0xcd)][_0x2c5cfb(0xde)]({'tag':_0x2c5cfb(0xd6),'attributes':{'class':[_0x2c5cfb(0xe0),_0x5e0de1['to'](_0x2c5cfb(0xc9),_0x5e14ff=>_0x2c5cfb(0xc8)+_0x5e14ff),_0x5e0de1['if'](_0x2c5cfb(0xd5),_0x2c5cfb(0xd3))]},'children':[{'text':_0x5e0de1['to'](_0x2c5cfb(0xc7))}]}),this[_0x2c5cfb(0xe3)][_0x2c5cfb(0xd9)](this[_0x2c5cfb(0xcd)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1c53(){const _0x3a5855=['first','115UWQtwF','410mnvfYc','1327833QjsMxl','ck-annotation-wrapper--active','detach','listenTo','content','clear','bindTemplate','_updateHeight','5368768hSytoV','clientHeight','height','div','isDirty','arrowup','fire','focus','add','11770979sWQZhm','createCollection','mainView','element','focusTracker','14hNzPWU','3234189gSwTsc','109194xMsHqo','8DCZGGt','setTemplate','set','length','delegate','189GrsdLz','ck-annotation-wrapper','Esc','destroy','ck-rounded-corners','presentation','arrowdown','type','_mutationObserver','isActive','attach','targetRect','render','keystrokes','127622FpKhzH'];_0x1c53=function(){return _0x3a5855;};return _0x1c53();}const _0x4ce642=_0x557a;(function(_0x56eee4,_0x34ca3d){const _0x2d04d2=_0x557a,_0x19914a=_0x56eee4();while(!![]){try{const _0x3f3fe9=parseInt(_0x2d04d2(0x1d9))/0x1*(parseInt(_0x2d04d2(0x1ef))/0x2)+parseInt(_0x2d04d2(0x1f3))/0x3*(parseInt(_0x2d04d2(0x1dc))/0x4)+parseInt(_0x2d04d2(0x1f1))/0x5*(-parseInt(_0x2d04d2(0x1db))/0x6)+-parseInt(_0x2d04d2(0x1da))/0x7+parseInt(_0x2d04d2(0x1cb))/0x8+-parseInt(_0x2d04d2(0x1e1))/0x9*(parseInt(_0x2d04d2(0x1f2))/0xa)+-parseInt(_0x2d04d2(0x1d4))/0xb;if(_0x3f3fe9===_0x34ca3d)break;else _0x19914a['push'](_0x19914a['shift']());}catch(_0x43364b){_0x19914a['push'](_0x19914a['shift']());}}}(_0x1c53,0x799c6));function _0x557a(_0xcab9fb,_0x19f0dd){const _0x1c53d4=_0x1c53();return _0x557a=function(_0x557a4d,_0xce0eb1){_0x557a4d=_0x557a4d-0x1c4;let _0x2e26ac=_0x1c53d4[_0x557a4d];return _0x2e26ac;},_0x557a(_0xcab9fb,_0x19f0dd);}import{View as _0xfeb3ad}from'ckeditor5/src/ui.js';import{FocusTracker as _0x224a34,KeystrokeHandler as _0x18e0f3,uid as _0x2172ed}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x71552b}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0xfeb3ad{[_0x4ce642(0x1d8)];['id'];[_0x4ce642(0x1ee)];[_0x4ce642(0x1c7)];[_0x4ce642(0x1d6)];[_0x4ce642(0x1e9)];constructor(_0x41298d,_0x136249){const _0x25f3f0=_0x4ce642;super(_0x41298d),this['id']=_0x2172ed(),this[_0x25f3f0(0x1d8)]=new _0x224a34(),this[_0x25f3f0(0x1ee)]=new _0x18e0f3(),this[_0x25f3f0(0x1ee)][_0x25f3f0(0x1de)](_0x25f3f0(0x1e3),(_0x24fc28,_0x40282c)=>this[_0x25f3f0(0x1d1)](_0x25f3f0(0x1e3),_0x40282c)),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1ec),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1cd),0x0),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1ea),!0x1),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1cf),!0x1),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1df),0x0),this[_0x25f3f0(0x1de)](_0x25f3f0(0x1e8),''),this[_0x25f3f0(0x1e9)]=_0x71552b(()=>this[_0x25f3f0(0x1ca)]()),this[_0x25f3f0(0x1c7)]=this[_0x25f3f0(0x1d5)](),this[_0x25f3f0(0x1c7)][_0x25f3f0(0x1e0)](_0x25f3f0(0x1d0),_0x25f3f0(0x1e7))['to'](this),this[_0x25f3f0(0x1c7)][_0x25f3f0(0x1d3)](_0x136249),this[_0x25f3f0(0x1d6)]=_0x136249;const _0x1d679d=this[_0x25f3f0(0x1c9)];this[_0x25f3f0(0x1dd)]({'tag':_0x25f3f0(0x1ce),'attributes':{'class':['ck',_0x25f3f0(0x1e2),_0x25f3f0(0x1e5),_0x1d679d['if'](_0x25f3f0(0x1ea),_0x25f3f0(0x1c4))],'role':_0x25f3f0(0x1e6)},'children':this[_0x25f3f0(0x1c7)]});}[_0x4ce642(0x1ed)](){const _0x203acf=_0x4ce642;super[_0x203acf(0x1ed)](),this[_0x203acf(0x1d8)][_0x203acf(0x1d3)](this[_0x203acf(0x1d7)]),this[_0x203acf(0x1ee)][_0x203acf(0x1c6)](this[_0x203acf(0x1d7)]),this[_0x203acf(0x1e9)][_0x203acf(0x1eb)](this[_0x203acf(0x1d7)]);}[_0x4ce642(0x1e4)](){const _0x33a0cc=_0x4ce642;this[_0x33a0cc(0x1c7)][_0x33a0cc(0x1c8)](),this[_0x33a0cc(0x1ee)][_0x33a0cc(0x1e4)](),this[_0x33a0cc(0x1d8)][_0x33a0cc(0x1e4)](),this[_0x33a0cc(0x1e9)][_0x33a0cc(0x1c5)](),super[_0x33a0cc(0x1e4)]();}[_0x4ce642(0x1d2)](){const _0x2cbeb7=_0x4ce642;this[_0x2cbeb7(0x1c7)][_0x2cbeb7(0x1f0)]&&this[_0x2cbeb7(0x1c7)][_0x2cbeb7(0x1f0)][_0x2cbeb7(0x1d2)]();}[_0x4ce642(0x1ca)](){const _0x2411ef=_0x4ce642,_0x136965=this[_0x2411ef(0x1d7)][_0x2411ef(0x1cc)];_0x136965&&(this[_0x2411ef(0x1cd)]=_0x136965);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1702a4=_0x358b;function _0x3e29(){const _0x2f480e=['16MGXoft','focus','arrowdown','presentation','125pSrQRz','ck-sidebar-item','div','ck-sidebar-item--no-animation','render','8365mvkRuW','162680ACFdnF','element','attach','139723kkCEPZ','updateHeight','451hmOPFF','clear','clientHeight','height','_mutationObserver','arrowup','destroy','1243710INbCLZ','set','bindTemplate','delegate','bind','isAnimationDisabled','1162710bdAtNa','setTemplate','8227296osrARd','209932zCxMCl','64Nukzlu','detach','first','top','bottom','5958BBUsaU','createCollection','content','_targetTop'];_0x3e29=function(){return _0x2f480e;};return _0x3e29();}(function(_0x352348,_0x131aa4){const _0x38563e=_0x358b,_0xcb4943=_0x352348();while(!![]){try{const _0x126ad9=parseInt(_0x38563e(0x13d))/0x1*(-parseInt(_0x38563e(0x130))/0x2)+-parseInt(_0x38563e(0x123))/0x3+-parseInt(_0x38563e(0x126))/0x4*(-parseInt(_0x38563e(0x134))/0x5)+parseInt(_0x38563e(0x12c))/0x6*(parseInt(_0x38563e(0x139))/0x7)+parseInt(_0x38563e(0x127))/0x8*(parseInt(_0x38563e(0x146))/0x9)+-parseInt(_0x38563e(0x13a))/0xa*(parseInt(_0x38563e(0x13f))/0xb)+-parseInt(_0x38563e(0x125))/0xc;if(_0x126ad9===_0x131aa4)break;else _0xcb4943['push'](_0xcb4943['shift']());}catch(_0x545794){_0xcb4943['push'](_0xcb4943['shift']());}}}(_0x3e29,0xb6328));import{View as _0x594693}from'ckeditor5/src/ui.js';import{toUnit as _0x43e67d}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x545223}from'../../utils/createmutationobserver.js';function _0x358b(_0x4eb723,_0x35ac22){const _0x3e2933=_0x3e29();return _0x358b=function(_0x358bed,_0x5b6282){_0x358bed=_0x358bed-0x11e;let _0x2775fb=_0x3e2933[_0x358bed];return _0x2775fb;},_0x358b(_0x4eb723,_0x35ac22);}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x43e67d('px');export class AnnotationsSidebarItemView extends _0x594693{[_0x1702a4(0x12e)];[_0x1702a4(0x12f)];[_0x1702a4(0x143)];constructor(_0x43ab5a){const _0x5af1e7=_0x1702a4;super(_0x43ab5a),this[_0x5af1e7(0x11e)](_0x5af1e7(0x12a),0x0),this[_0x5af1e7(0x11e)](_0x5af1e7(0x142),0x0),this[_0x5af1e7(0x121)](_0x5af1e7(0x12b))['to'](this,_0x5af1e7(0x12a),this,_0x5af1e7(0x142),(_0x523501,_0x17e63e)=>_0x523501+_0x17e63e),this[_0x5af1e7(0x11e)](_0x5af1e7(0x122),!0x1),this[_0x5af1e7(0x143)]=_0x545223(()=>this[_0x5af1e7(0x13e)]()),this[_0x5af1e7(0x12f)]=null,this[_0x5af1e7(0x12e)]=this[_0x5af1e7(0x12d)](),this[_0x5af1e7(0x12e)][_0x5af1e7(0x120)](_0x5af1e7(0x144),_0x5af1e7(0x132))['to'](this);const _0x1decb4=this[_0x5af1e7(0x11f)];this[_0x5af1e7(0x124)]({'tag':_0x5af1e7(0x136),'attributes':{'class':[_0x5af1e7(0x135),_0x1decb4['to'](_0x5af1e7(0x122),_0xd4223c=>_0xd4223c?_0x5af1e7(0x137):'')],'style':{'top':_0x1decb4['to'](_0x5af1e7(0x12a),_0x14bb8e=>Ot(_0x14bb8e))},'role':_0x5af1e7(0x133)},'children':this[_0x5af1e7(0x12e)]});}[_0x1702a4(0x138)](){const _0x39c61e=_0x1702a4;super[_0x39c61e(0x138)](),this[_0x39c61e(0x143)][_0x39c61e(0x13c)](this[_0x39c61e(0x13b)]);}[_0x1702a4(0x131)](){const _0x88e9a2=_0x1702a4;this[_0x88e9a2(0x12e)][_0x88e9a2(0x129)]&&this[_0x88e9a2(0x12e)][_0x88e9a2(0x129)][_0x88e9a2(0x131)]();}[_0x1702a4(0x13e)](){const _0x6eb0f=_0x1702a4,_0xf6107e=this[_0x6eb0f(0x13b)][_0x6eb0f(0x141)];_0xf6107e&&(this[_0x6eb0f(0x142)]=_0xf6107e);}[_0x1702a4(0x145)](){const _0x5f2a61=_0x1702a4;this[_0x5f2a61(0x12e)][_0x5f2a61(0x140)](),this[_0x5f2a61(0x143)][_0x5f2a61(0x128)](),super[_0x5f2a61(0x145)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0xeec0bf=_0x1c68;(function(_0x1b260c,_0x33211e){const _0xc548d1=_0x1c68,_0x1ad901=_0x1b260c();while(!![]){try{const _0xba6f75=parseInt(_0xc548d1(0xd4))/0x1+-parseInt(_0xc548d1(0xed))/0x2*(-parseInt(_0xc548d1(0xdd))/0x3)+parseInt(_0xc548d1(0xc1))/0x4*(parseInt(_0xc548d1(0xe7))/0x5)+parseInt(_0xc548d1(0xe3))/0x6+parseInt(_0xc548d1(0xcb))/0x7+-parseInt(_0xc548d1(0xc8))/0x8+-parseInt(_0xc548d1(0xe2))/0x9;if(_0xba6f75===_0x33211e)break;else _0x1ad901['push'](_0x1ad901['shift']());}catch(_0x6205){_0x1ad901['push'](_0x1ad901['shift']());}}}(_0x4c73,0xb1076));function _0x4c73(){const _0x489c96=['283616NwIcro','focusables','focus','6696564CxqsCT','delegate','change','div','setTemplate','Annotations\x20list','element','uiLanguageDirection','getIndex','193151WwHjaP','focusFirst','focusTracker','remove','removed','render','set','focusPrevious','added','6YcyYFZ','source','list','number','_updateItemPositionInFocusables','30828825dlLVZA','8380920bybukl','minHeight','forEach','ck-reset','665290oxGyiz','class','arrowdown','focusNext','focusCycler','Annotations\x20sidebar','574900yhusEa','length','arrowup','listenTo','change:top','createCollection','32fwgRZX','bindTemplate','add','top','application','ck-sidebar','_setupKeyboardNavigation'];_0x4c73=function(){return _0x489c96;};return _0x4c73();}import{View as _0x148a6e,FocusCycler as _0x3fd1bd}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2c7787,toUnit as _0x25657f}from'ckeditor5/src/utils.js';function _0x1c68(_0x283d0e,_0x47e1b6){const _0x4c7332=_0x4c73();return _0x1c68=function(_0x1c682d,_0x19ac97){_0x1c682d=_0x1c682d-0xc1;let _0x234ead=_0x4c7332[_0x1c682d];return _0x234ead;},_0x1c68(_0x283d0e,_0x47e1b6);}import{getTranslation as _0xc827c4}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x25657f('px');export class AnnotationsSidebarView extends _0x148a6e{[_0xeec0bf(0xdf)];[_0xeec0bf(0xc9)];[_0xeec0bf(0xd6)];[_0xeec0bf(0xeb)];constructor(_0x46d699){const _0x53f5f2=_0xeec0bf;super(_0x46d699);const _0x1f1635=this[_0x53f5f2(0xc2)];this[_0x53f5f2(0xda)](_0x53f5f2(0xe4),0x0),this[_0x53f5f2(0xda)](_0x53f5f2(0xe8),''),this[_0x53f5f2(0xdf)]=this[_0x53f5f2(0xf2)](),this[_0x53f5f2(0xc9)]=this[_0x53f5f2(0xf2)](),this[_0x53f5f2(0xdf)][_0x53f5f2(0xcc)](_0x53f5f2(0xef),_0x53f5f2(0xe9))['to'](this),this[_0x53f5f2(0xd6)]=new _0x2c7787(),this[_0x53f5f2(0xeb)]=new _0x3fd1bd({'focusables':this[_0x53f5f2(0xc9)],'focusTracker':this[_0x53f5f2(0xd6)]}),this[_0x53f5f2(0xcf)]({'tag':_0x53f5f2(0xce),'attributes':{'class':['ck',_0x53f5f2(0xc6),_0x53f5f2(0xe6),_0x1f1635['to'](_0x53f5f2(0xe8))],'style':{'minHeight':_0x1f1635['to'](_0x53f5f2(0xe4),_0x3b9d23=>_0x53f5f2(0xe0)==typeof _0x3b9d23?Ot(_0x3b9d23+0xa):null)},'dir':_0x46d699[_0x53f5f2(0xd2)],'role':_0x53f5f2(0xc5),'aria-label':_0xc827c4(_0x46d699,_0x53f5f2(0xec)),'tabindex':0x0},'children':[{'tag':_0x53f5f2(0xce),'attributes':{'role':_0x53f5f2(0xdf),'aria-label':_0xc827c4(_0x46d699,_0x53f5f2(0xd0))},'children':this[_0x53f5f2(0xdf)]}]});}[_0xeec0bf(0xd9)](){const _0x28019e=_0xeec0bf;super[_0x28019e(0xd9)](),this[_0x28019e(0xc7)]();}[_0xeec0bf(0xca)](){const _0x3e265b=_0xeec0bf;this[_0x3e265b(0xeb)][_0x3e265b(0xd5)]();}[_0xeec0bf(0xc7)](){const _0x9a682f=_0xeec0bf;this[_0x9a682f(0xdf)][_0x9a682f(0xcc)](_0x9a682f(0xf1))['to'](this),this['on'](_0x9a682f(0xf1),_0x3537fc=>{const _0x1b75d2=_0x9a682f;this[_0x1b75d2(0xe1)](_0x3537fc[_0x1b75d2(0xde)]);}),this[_0x9a682f(0xdf)][_0x9a682f(0xe5)](_0x2ef077=>{const _0x16368a=_0x9a682f;this[_0x16368a(0xd6)][_0x16368a(0xc3)](_0x2ef077[_0x16368a(0xd1)]),this[_0x16368a(0xe1)](_0x2ef077);}),this[_0x9a682f(0xdf)]['on'](_0x9a682f(0xcd),(_0x384577,_0x340323)=>{const _0x1a5133=_0x9a682f;for(const _0x4a8768 of _0x340323[_0x1a5133(0xd8)])this[_0x1a5133(0xd6)][_0x1a5133(0xd7)](_0x4a8768[_0x1a5133(0xd1)]),this[_0x1a5133(0xc9)][_0x1a5133(0xd7)](_0x4a8768);for(const _0x19a45f of _0x340323[_0x1a5133(0xdc)])this[_0x1a5133(0xd6)][_0x1a5133(0xc3)](_0x19a45f[_0x1a5133(0xd1)]),this[_0x1a5133(0xe1)](_0x19a45f);}),this['on'](_0x9a682f(0xef),()=>{const _0x599452=_0x9a682f;this[_0x599452(0xeb)][_0x599452(0xdb)]();}),this['on'](_0x9a682f(0xe9),()=>{const _0xbb3c4a=_0x9a682f;this[_0xbb3c4a(0xeb)][_0xbb3c4a(0xea)]();}),this[_0x9a682f(0xf0)](this[_0x9a682f(0xd1)],_0x9a682f(0xca),()=>{const _0x1f5214=_0x9a682f;this[_0x1f5214(0xca)]();});}[_0xeec0bf(0xe1)](_0x16985b){const _0x8cb5e9=_0xeec0bf,_0x1bf106=this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xd3)](_0x16985b);let _0x2d53cf,_0x5c4f8f;for(const _0x335368 of this[_0x8cb5e9(0xc9)])if(_0x16985b[_0x8cb5e9(0xc4)]<_0x335368[_0x8cb5e9(0xc4)]){_0x2d53cf=_0x335368;break;}if(_0x5c4f8f=_0x2d53cf?this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xd3)](_0x2d53cf):this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xee)],-0x1!==_0x1bf106){if(_0x1bf106===_0x5c4f8f-0x1)return;this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xd7)](_0x16985b),_0x5c4f8f=_0x2d53cf?this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xd3)](_0x2d53cf):this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xee)];}this[_0x8cb5e9(0xc9)][_0x8cb5e9(0xc3)](_0x16985b,_0x5c4f8f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x18d41e=_0x31a0;(function(_0x310db2,_0x5ec5ab){const _0xf7e910=_0x31a0,_0x304677=_0x310db2();while(!![]){try{const _0x373086=parseInt(_0xf7e910(0x20c))/0x1*(parseInt(_0xf7e910(0x20a))/0x2)+-parseInt(_0xf7e910(0x1ef))/0x3+parseInt(_0xf7e910(0x20d))/0x4*(-parseInt(_0xf7e910(0x1ed))/0x5)+-parseInt(_0xf7e910(0x1f3))/0x6+-parseInt(_0xf7e910(0x213))/0x7+parseInt(_0xf7e910(0x228))/0x8*(-parseInt(_0xf7e910(0x225))/0x9)+parseInt(_0xf7e910(0x229))/0xa;if(_0x373086===_0x5ec5ab)break;else _0x304677['push'](_0x304677['shift']());}catch(_0x416e81){_0x304677['push'](_0x304677['shift']());}}}(_0x380c,0x58587));import{ContextPlugin as _0x28b546,Context as _0xd9d313}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x3bbc9e}from'./annotationsuis.js';import{Sidebar as _0x209225}from'./sidebar.js';import{CKEditorError as _0x58b220,Collection as _0x1c3fef}from'ckeditor5/src/utils.js';function _0x31a0(_0x1a9962,_0x1ec57e){const _0x380c4b=_0x380c();return _0x31a0=function(_0x31a08b,_0x356248){_0x31a08b=_0x31a08b-0x1e4;let _0x52ebee=_0x380c4b[_0x31a08b];return _0x52ebee;},_0x31a0(_0x1a9962,_0x1ec57e);}import{debounce as _0x1545f0}from'es-toolkit/compat';function _0x380c(){const _0x17e7bb=['off','setActiveAnnotation','editors','isOfficialPlugin','pluginName','rearrange','cancel','_editorAnnotations','9LKnScx','_refreshPositioningDebounced','annotations','5203592cLqFtd','24446630XJhgIP','refresh','blur','_integrateWithEditorAnnotations','ck-sidebar--wide','WideSidebar','removeEventListener','uiUpdate','destroy','updateTargetRect','addAnnotation','EditorAnnotations','1703005PSJXFD','listenTo','671373VoaGSy','add','plugins','stop','486342jJRvhA','has','attach','set','context','isPremiumPlugin','detach','refreshVisibility','stopListening','container','resize','high','ready','init','_detachFromContainer','_attachToContainer','getOrderedSelectedAnnotations','widesidebar-attach-already-attached','change:container','widesidebar-detach-not-attached','register','from','Annotations','2662fcDCzT','set:container','141xuErRc','8nxOOMO','refreshPositioning','_activeAnnotation','switchTo','wideSidebar','isAttached','4437804Wmxsld','get','remove','hasDomSelection','_annotations','focus','_destroyEditorAnnotationsIntegration','activeAnnotation','requires','addEventListener'];_0x380c=function(){return _0x17e7bb;};return _0x380c();}export class WideSidebar extends _0x28b546{[_0x18d41e(0x212)];[_0x18d41e(0x227)];[_0x18d41e(0x224)];[_0x18d41e(0x226)];static get[_0x18d41e(0x21b)](){return[_0x209225,_0x3bbc9e];}static get[_0x18d41e(0x221)](){const _0x3a703c=_0x18d41e;return _0x3a703c(0x1e6);}static get[_0x18d41e(0x220)](){return!0x0;}static get[_0x18d41e(0x1f8)](){return!0x0;}constructor(_0x24f6e1){const _0x201539=_0x18d41e;super(_0x24f6e1),this[_0x201539(0x212)]=!0x1,this[_0x201539(0x1f6)](_0x201539(0x21a),null),this[_0x201539(0x227)]=null,this[_0x201539(0x224)]=new _0x1c3fef(),this[_0x201539(0x226)]=_0x1545f0(()=>{const _0xdc5f6b=_0x201539;_0x24f6e1[_0xdc5f6b(0x1f1)][_0xdc5f6b(0x214)](_0xdc5f6b(0x209))[_0xdc5f6b(0x1fa)](),this[_0xdc5f6b(0x227)][_0xdc5f6b(0x20e)]();},0xfa,{'leading':!0x1});}[_0x18d41e(0x200)](){const _0x4b09e9=_0x18d41e,_0x5a685b=this[_0x4b09e9(0x1f7)][_0x4b09e9(0x1f1)][_0x4b09e9(0x214)](_0x3bbc9e),_0x44fb89=this[_0x4b09e9(0x1f7)][_0x4b09e9(0x1f1)][_0x4b09e9(0x214)](_0x209225);_0x5a685b[_0x4b09e9(0x207)](_0x4b09e9(0x211),this),_0x44fb89[_0x4b09e9(0x1fc)]&&_0x5a685b[_0x4b09e9(0x210)](_0x4b09e9(0x211));}[_0x18d41e(0x21e)](_0x93f1a5){const _0x271dd1=_0x18d41e;if(_0x93f1a5===this[_0x271dd1(0x21a)])return;const _0x53d6cc=this[_0x271dd1(0x1f7)][_0x271dd1(0x1f1)][_0x271dd1(0x214)](_0x209225);_0x53d6cc[_0x271dd1(0x20f)]=_0x93f1a5;const _0x4dfe0a=this[_0x271dd1(0x21a)];_0x53d6cc[_0x271dd1(0x22a)]({'blurredAnnotation':_0x4dfe0a,'activatedAnnotation':_0x93f1a5}),this[_0x271dd1(0x21a)]=_0x93f1a5;}[_0x18d41e(0x1f5)](_0x260a89){const _0x252452=_0x18d41e;this[_0x252452(0x227)]=_0x260a89;const _0x7761ff=this[_0x252452(0x1f7)][_0x252452(0x1f1)][_0x252452(0x214)](_0x209225);if(_0x7761ff[_0x252452(0x217)]=_0x260a89,this[_0x252452(0x212)])throw new _0x58b220(_0x252452(0x204),this);this[_0x252452(0x212)]=!0x0,this[_0x252452(0x1ee)](_0x7761ff,_0x252452(0x20b),()=>{const _0x306611=_0x252452;this[_0x306611(0x1f9)](),this[_0x306611(0x1ee)](_0x7761ff,_0x306611(0x205),_0x450065=>{const _0x216f2f=_0x306611;_0x450065[_0x216f2f(0x21d)](),this[_0x216f2f(0x1f5)](_0x260a89);});}),_0x7761ff[_0x252452(0x202)]({'viewClass':_0x252452(0x1e5)});const _0x44b3d7=_0x3f3787=>{const _0x5cb425=_0x252452;_0x3f3787[_0x5cb425(0x1ea)](),_0x7761ff[_0x5cb425(0x1eb)](_0x3f3787);};for(const _0x2d0b89 of _0x260a89)_0x44b3d7(_0x2d0b89);this[_0x252452(0x1ee)](_0x260a89,_0x252452(0x1f0),(_0x55affe,_0x5d5b01)=>{_0x44b3d7(_0x5d5b01);}),this[_0x252452(0x1ee)](_0x260a89,_0x252452(0x215),(_0x59a2dd,_0x171d7e,_0x36d06f)=>{const _0x89acc4=_0x252452;_0x7761ff[_0x89acc4(0x222)]({'removedAnnotation':_0x171d7e,'previousAnnotation':_0x260a89[_0x89acc4(0x214)](_0x36d06f-0x1),'nextAnnotation':_0x260a89[_0x89acc4(0x214)](_0x36d06f+0x1)}),_0x171d7e===this[_0x89acc4(0x21a)]&&this[_0x89acc4(0x21e)](null);},{'priority':_0x252452(0x1fe)}),this[_0x252452(0x1ee)](_0x260a89,_0x252452(0x218),(_0x26849b,_0x4a7422)=>{const _0x116755=_0x252452;this[_0x116755(0x21e)](_0x4a7422);}),this[_0x252452(0x1ee)](_0x260a89,_0x252452(0x22b),()=>{const _0x21cd0c=_0x252452;this[_0x21cd0c(0x21e)](null);});const _0x511b38=this[_0x252452(0x1f7)]instanceof _0xd9d313?this[_0x252452(0x1f7)][_0x252452(0x21f)]:new _0x1c3fef([this[_0x252452(0x1f7)]]);for(const _0x241cda of _0x511b38)this[_0x252452(0x1e4)](_0x241cda);this[_0x252452(0x1ee)](_0x511b38,_0x252452(0x1f0),(_0x26a3bd,_0x22135f)=>{const _0x29d455=_0x252452;this[_0x29d455(0x1ee)](_0x22135f,_0x29d455(0x1ff),()=>{const _0x2509fb=_0x29d455;this[_0x2509fb(0x1e4)](_0x22135f);});}),this[_0x252452(0x1ee)](_0x511b38,_0x252452(0x215),(_0x231506,_0x1749ef)=>{const _0x21c1e5=_0x252452;_0x1749ef[_0x21c1e5(0x1f1)][_0x21c1e5(0x1f4)](_0x21c1e5(0x1ec))&&this[_0x21c1e5(0x219)](_0x1749ef[_0x21c1e5(0x1f1)][_0x21c1e5(0x214)](_0x21c1e5(0x1ec)));}),window[_0x252452(0x21c)](_0x252452(0x1fd),this[_0x252452(0x226)]),this[_0x252452(0x1f7)][_0x252452(0x1f1)][_0x252452(0x214)](_0x252452(0x209))[_0x252452(0x1fa)](),this[_0x252452(0x227)][_0x252452(0x20e)]();}[_0x18d41e(0x1f9)](){const _0x1fd948=_0x18d41e;if(!this[_0x1fd948(0x212)])throw new _0x58b220(_0x1fd948(0x206),this);this[_0x1fd948(0x21e)](null);const _0x13e969=this[_0x1fd948(0x1f7)][_0x1fd948(0x1f1)][_0x1fd948(0x214)](_0x209225);_0x13e969[_0x1fd948(0x201)](this[_0x1fd948(0x227)]),this[_0x1fd948(0x1fb)](_0x13e969),this[_0x1fd948(0x1fb)](this[_0x1fd948(0x227)]),this[_0x1fd948(0x1f7)]instanceof _0xd9d313&&this[_0x1fd948(0x1fb)](this[_0x1fd948(0x1f7)][_0x1fd948(0x21f)]);for(const _0x1ce391 of Array[_0x1fd948(0x208)](this[_0x1fd948(0x224)]))this[_0x1fd948(0x219)](_0x1ce391);window[_0x1fd948(0x1e7)](_0x1fd948(0x1fd),this[_0x1fd948(0x226)]),this[_0x1fd948(0x226)][_0x1fd948(0x223)](),this[_0x1fd948(0x21a)]=null,this[_0x1fd948(0x212)]=!0x1,this[_0x1fd948(0x227)]=null;}[_0x18d41e(0x1e9)](){const _0x1f7b6d=_0x18d41e;this[_0x1f7b6d(0x212)]&&this[_0x1f7b6d(0x1f9)]();}[_0x18d41e(0x1e4)](_0x17bf54){const _0x4d307c=_0x18d41e;if(!_0x17bf54[_0x4d307c(0x1f1)][_0x4d307c(0x1f4)](_0x4d307c(0x1ec)))return;const _0x1bdbf6=_0x17bf54[_0x4d307c(0x1f1)][_0x4d307c(0x214)](_0x4d307c(0x1ec)),_0x5878ad=()=>{const _0x12dcab=_0x4d307c,_0x451318=_0x1bdbf6[_0x12dcab(0x203)]({'annotations':this[_0x12dcab(0x227)],'activeAnnotation':this[_0x12dcab(0x21a)]});this[_0x12dcab(0x21e)](_0x451318[0x0]||null);};this[_0x4d307c(0x1ee)](_0x1bdbf6,_0x4d307c(0x22a),_0x5878ad),this[_0x4d307c(0x1ee)](_0x1bdbf6,_0x4d307c(0x22b),(_0x16a741,{isAnnotationTracked:_0x3d5ed4})=>{const _0x13b98d=_0x4d307c;this[_0x13b98d(0x21a)]&&_0x3d5ed4(this[_0x13b98d(0x21a)])&&this[_0x13b98d(0x21e)](null);}),this[_0x4d307c(0x1ee)](_0x1bdbf6,_0x4d307c(0x1e8),()=>{const _0x58caee=_0x4d307c;this[_0x58caee(0x226)]();}),this[_0x4d307c(0x1ee)](this[_0x4d307c(0x227)],_0x4d307c(0x22b),_0x38b8ca=>{const _0xce0c12=_0x4d307c;_0x1bdbf6[_0xce0c12(0x216)]()&&(_0x5878ad(),_0x38b8ca[_0xce0c12(0x1f2)]());},{'priority':_0x4d307c(0x1fe)}),this[_0x4d307c(0x224)][_0x4d307c(0x1f0)](_0x1bdbf6);}[_0x18d41e(0x219)](_0x8b6171){const _0x345465=_0x18d41e;this[_0x345465(0x1fb)](_0x8b6171),this[_0x345465(0x224)][_0x345465(0x215)](_0x8b6171);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5f1f19=_0x3120;(function(_0x5af42c,_0x4a8bb6){const _0x248de7=_0x3120,_0x1fb67f=_0x5af42c();while(!![]){try{const _0x1ebc93=parseInt(_0x248de7(0x17a))/0x1*(-parseInt(_0x248de7(0x199))/0x2)+-parseInt(_0x248de7(0x177))/0x3+parseInt(_0x248de7(0x185))/0x4*(parseInt(_0x248de7(0x178))/0x5)+-parseInt(_0x248de7(0x172))/0x6*(-parseInt(_0x248de7(0x195))/0x7)+parseInt(_0x248de7(0x170))/0x8+parseInt(_0x248de7(0x16e))/0x9*(-parseInt(_0x248de7(0x17b))/0xa)+-parseInt(_0x248de7(0x171))/0xb*(-parseInt(_0x248de7(0x16d))/0xc);if(_0x1ebc93===_0x4a8bb6)break;else _0x1fb67f['push'](_0x1fb67f['shift']());}catch(_0x26a7db){_0x1fb67f['push'](_0x1fb67f['shift']());}}}(_0xd16e,0x888cd));import{Command as _0x4efaa3}from'ckeditor5/src/core.js';function _0x3120(_0x2cbba1,_0x12ea4d){const _0xd16e25=_0xd16e();return _0x3120=function(_0x312086,_0x5a54b4){_0x312086=_0x312086-0x16b;let _0x2b9952=_0xd16e25[_0x312086];return _0x2b9952;},_0x3120(_0x2cbba1,_0x12ea4d);}import{uid as _0x5da8c2,CKEditorError as _0x517bf4}from'ckeditor5/src/utils.js';function _0xd16e(){const _0x378113=['204897gMeZOg','6ikDRAq','addCommentThread','_trimToContent','collaboration.channelId','editor','2626413LdcPPT','371945veJaSj','element','81223jQkSNH','793270aSQFVO','change','_createCommentThread','end','model','schema','getRanges','_itemIsContent','getLastMatchingPosition','plugins','28YdPiIR','isEnabled','createRange','addMarker','document','config','push','substr','execute','isObject','backward','$textProxy','start','length','selection','addcommentthreadcommand-user-not-found','6762098BmZUPT','_createMarkersFromRanges','addcommentthreadcommand-incorrect-ranges','refresh','2naTEnr','hasContent','from','set','Users','getItems','item','get','_hasContent','tableCell','comment:','372ZceIRJ','99FnbvrI','CommentsRepository','2595408qMbPoE'];_0xd16e=function(){return _0x378113;};return _0xd16e();}export class AddCommentThreadCommand extends _0x4efaa3{constructor(_0x2b51f0){const _0x243b23=_0x3120;super(_0x2b51f0),this[_0x243b23(0x19c)](_0x243b23(0x19a),!0x1);}[_0x5f1f19(0x198)](){const _0x2bb19a=_0x5f1f19,_0x3cb3f8=this[_0x2bb19a(0x176)][_0x2bb19a(0x17f)][_0x2bb19a(0x189)][_0x2bb19a(0x193)];this[_0x2bb19a(0x186)]=!0x0,this[_0x2bb19a(0x19a)]=!0x1;for(const _0x59e433 of _0x3cb3f8[_0x2bb19a(0x181)]())if(this[_0x2bb19a(0x1a1)](_0x59e433))return void(this[_0x2bb19a(0x19a)]=!0x0);}[_0x5f1f19(0x18d)]({threadId:_0x477520=_0x5da8c2(),ranges:_0x144013,comment:_0x1d6e78}={}){const _0x1cd29a=_0x5f1f19,_0x15c294=this[_0x1cd29a(0x176)][_0x1cd29a(0x17f)],_0x42064e=_0x144013??Array[_0x1cd29a(0x19b)](_0x15c294[_0x1cd29a(0x189)][_0x1cd29a(0x193)][_0x1cd29a(0x181)]()),_0x3b14e8=[];for(const _0x49bd48 of _0x42064e)this[_0x1cd29a(0x1a1)](_0x49bd48)&&_0x3b14e8[_0x1cd29a(0x18b)](this[_0x1cd29a(0x174)](_0x49bd48));if(!_0x3b14e8[_0x1cd29a(0x192)])throw new _0x517bf4(_0x1cd29a(0x197),null);_0x1d6e78&&this[_0x1cd29a(0x17d)](_0x477520,_0x1d6e78),this[_0x1cd29a(0x196)](_0x477520,_0x3b14e8,!!_0x1d6e78);}[_0x5f1f19(0x196)](_0x56249a,_0x3ddb4f,_0x11584f){const _0x233ccc=_0x5f1f19;this[_0x233ccc(0x176)][_0x233ccc(0x17f)][_0x233ccc(0x17c)](_0x4da67a=>{const _0x50348b=_0x233ccc;for(const _0x1c3cc7 of _0x3ddb4f){const _0x374ef4=_0x5da8c2()[_0x50348b(0x18c)](0x1,0x5),_0x532917=_0x50348b(0x16c)+_0x56249a+':'+_0x374ef4;_0x4da67a[_0x50348b(0x188)](_0x532917,{'range':_0x1c3cc7,'usingOperation':_0x11584f,'affectsData':_0x11584f});}});}[_0x5f1f19(0x17d)](_0x333a63,_0x5ae787){const _0x53234d=_0x5f1f19,_0x5509ad=this[_0x53234d(0x176)][_0x53234d(0x184)][_0x53234d(0x1a0)](_0x53234d(0x16f)),_0x1574cb=this[_0x53234d(0x176)][_0x53234d(0x18a)][_0x53234d(0x1a0)](_0x53234d(0x175)),_0x6eb734=this[_0x53234d(0x176)][_0x53234d(0x184)][_0x53234d(0x1a0)](_0x53234d(0x19d))['me'];if(!_0x6eb734)throw new _0x517bf4(_0x53234d(0x194),null);_0x5509ad[_0x53234d(0x173)]({'threadId':_0x333a63,'channelId':_0x1574cb,'comments':[{'authorId':_0x6eb734['id'],'content':_0x5ae787,'createdAt':new Date(),'attributes':{}}]});}[_0x5f1f19(0x1a1)](_0x2f20ce){const _0xa4a202=_0x5f1f19;for(const _0x5957af of _0x2f20ce[_0xa4a202(0x19e)]())if(this[_0xa4a202(0x182)](_0x5957af))return!0x0;return!0x1;}[_0x5f1f19(0x182)](_0x5c21f8){const _0x52c212=_0x5f1f19;return _0x5c21f8['is'](_0x52c212(0x190))||this[_0x52c212(0x176)][_0x52c212(0x17f)][_0x52c212(0x180)][_0x52c212(0x18e)](_0x5c21f8)&&!_0x5c21f8['is'](_0x52c212(0x179),_0x52c212(0x16b));}[_0x5f1f19(0x174)](_0x5be173){const _0x2ecaa6=_0x5f1f19,_0x124a82=_0xc37df=>!this[_0x2ecaa6(0x182)](_0xc37df[_0x2ecaa6(0x19f)]),_0x538cc1=_0x5be173[_0x2ecaa6(0x191)][_0x2ecaa6(0x183)](_0x124a82),_0x1d7797=_0x5be173[_0x2ecaa6(0x17e)][_0x2ecaa6(0x183)](_0x124a82,{'direction':_0x2ecaa6(0x18f)});return this[_0x2ecaa6(0x176)][_0x2ecaa6(0x17f)][_0x2ecaa6(0x187)](_0x538cc1,_0x1d7797);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1d77d6=_0x28ae;(function(_0x427f39,_0xdcfcef){const _0x5f3a60=_0x28ae,_0x516ebf=_0x427f39();while(!![]){try{const _0x3f5b29=parseInt(_0x5f3a60(0x206))/0x1*(-parseInt(_0x5f3a60(0x212))/0x2)+parseInt(_0x5f3a60(0x20d))/0x3*(-parseInt(_0x5f3a60(0x1f7))/0x4)+parseInt(_0x5f3a60(0x20e))/0x5+parseInt(_0x5f3a60(0x205))/0x6*(-parseInt(_0x5f3a60(0x1fc))/0x7)+-parseInt(_0x5f3a60(0x1ff))/0x8*(-parseInt(_0x5f3a60(0x202))/0x9)+-parseInt(_0x5f3a60(0x214))/0xa*(parseInt(_0x5f3a60(0x201))/0xb)+parseInt(_0x5f3a60(0x215))/0xc;if(_0x3f5b29===_0xdcfcef)break;else _0x516ebf['push'](_0x516ebf['shift']());}catch(_0x465a22){_0x516ebf['push'](_0x516ebf['shift']());}}}(_0x4e42,0xbf47e));import{ContextPlugin as _0x32e4f4}from'ckeditor5/src/core.js';function _0x28ae(_0x22f482,_0x4e6582){const _0x4e423c=_0x4e42();return _0x28ae=function(_0x28aeb1,_0x4957b5){_0x28aeb1=_0x28aeb1-0x1ed;let _0x2f9e8a=_0x4e423c[_0x28aeb1];return _0x2f9e8a;},_0x28ae(_0x22f482,_0x4e6582);}import{Collection as _0x32672e}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x126792}from'./commentsrepository.js';function _0x4e42(){const _0x55485a=['change:archivedAt','14972TYqgeu','has','focus','highest','init','21KRMFed','listenTo','collection','328sMeOyL','CommentsArchive','2516327XFetdT','157284kGDUxL','isActive','requires','2006298GnXXsT','82DCkVyd','add','archivedThreads','stopListening','pluginName','length','findIndex','147zCIbWs','5695215CtJzVa','_calculatePosition','isPremiumPlugin','context','3280HXnclO','addCommentThread','10SLxAWs','5732640ajbvVg','removeCommentThread','isOfficialPlugin','isVisible','remove','plugins','getCommentThread','activate','get','archivedAt'];_0x4e42=function(){return _0x55485a;};return _0x4e42();}import{Annotations as _0x75e483}from'../annotations/annotations.js';export class CommentsArchive extends _0x32e4f4{static get[_0x1d77d6(0x20a)](){const _0x439f82=_0x1d77d6;return _0x439f82(0x200);}static get[_0x1d77d6(0x1ee)](){return!0x0;}static get[_0x1d77d6(0x210)](){return!0x0;}static get[_0x1d77d6(0x204)](){return[_0x126792,_0x75e483];}constructor(_0x2507ff){const _0xe9c2da=_0x1d77d6;super(_0x2507ff),this[_0xe9c2da(0x208)]=new _0x32672e();}[_0x1d77d6(0x1fb)](){const _0x59f4bb=_0x1d77d6,_0x500d32=this[_0x59f4bb(0x211)],_0x33b548=_0x500d32[_0x59f4bb(0x1f1)][_0x59f4bb(0x1f4)](_0x126792),_0x421635=_0x500d32[_0x59f4bb(0x1f1)][_0x59f4bb(0x1f4)](_0x75e483);this[_0x59f4bb(0x1fd)](_0x33b548,_0x59f4bb(0x213),(_0x3a4738,{threadId:_0xd839ba})=>{const _0x226157=_0x59f4bb,_0x39a4c3=_0x33b548[_0x226157(0x1f2)](_0xd839ba);_0x39a4c3[_0x226157(0x1f5)]&&this[_0x226157(0x208)][_0x226157(0x207)](_0x39a4c3,this[_0x226157(0x20f)](_0x39a4c3[_0x226157(0x1f5)])),this[_0x226157(0x1fd)](_0x39a4c3,_0x226157(0x1f6),(_0x1fc313,_0x3d94e9,_0x7c9c8d)=>{const _0x3d9771=_0x226157;_0x7c9c8d?this[_0x3d9771(0x208)][_0x3d9771(0x1f8)](_0x39a4c3)||this[_0x3d9771(0x208)][_0x3d9771(0x207)](_0x39a4c3,this[_0x3d9771(0x20f)](_0x39a4c3[_0x3d9771(0x1f5)])):this[_0x3d9771(0x208)][_0x3d9771(0x1f8)](_0x39a4c3)&&this[_0x3d9771(0x208)][_0x3d9771(0x1f0)](_0x39a4c3);});}),this[_0x59f4bb(0x1fd)](_0x33b548,_0x59f4bb(0x1ed),(_0x213f96,{threadId:_0x328148})=>{const _0x3e6ebc=_0x59f4bb,_0x333ae1=_0x33b548[_0x3e6ebc(0x1f2)](_0x328148);this[_0x3e6ebc(0x209)](_0x333ae1),this[_0x3e6ebc(0x208)][_0x3e6ebc(0x1f8)](_0x333ae1)&&this[_0x3e6ebc(0x208)][_0x3e6ebc(0x1f0)](_0x333ae1);},{'priority':_0x59f4bb(0x1fa)}),this[_0x59f4bb(0x1fd)](_0x421635[_0x59f4bb(0x1fe)],_0x59f4bb(0x1f9),(_0x317829,_0x22f62b)=>{const _0x1b65b1=_0x59f4bb;_0x22f62b[_0x1b65b1(0x1ef)]||(_0x22f62b[_0x1b65b1(0x203)]=!0x0,_0x421635[_0x1b65b1(0x1f3)](_0x22f62b));});}[_0x1d77d6(0x20f)](_0x368f90){const _0x171959=_0x1d77d6,_0x304df8=[...this[_0x171959(0x208)]][_0x171959(0x20c)](_0xfa2c72=>_0xfa2c72[_0x171959(0x1f5)]<_0x368f90);return _0x304df8>-0x1?_0x304df8:this[_0x171959(0x208)][_0x171959(0x20b)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f151b=_0x1def;(function(_0x19db31,_0x442ef3){const _0x45d840=_0x1def,_0x1b17db=_0x19db31();while(!![]){try{const _0x3e6ea4=-parseInt(_0x45d840(0x9f))/0x1*(parseInt(_0x45d840(0xea))/0x2)+parseInt(_0x45d840(0xb5))/0x3*(parseInt(_0x45d840(0xe0))/0x4)+parseInt(_0x45d840(0xe1))/0x5+parseInt(_0x45d840(0xab))/0x6*(parseInt(_0x45d840(0xe2))/0x7)+parseInt(_0x45d840(0xc5))/0x8+parseInt(_0x45d840(0xaa))/0x9*(parseInt(_0x45d840(0xca))/0xa)+-parseInt(_0x45d840(0xad))/0xb;if(_0x3e6ea4===_0x442ef3)break;else _0x1b17db['push'](_0x1b17db['shift']());}catch(_0x3917b4){_0x1b17db['push'](_0x1b17db['shift']());}}}(_0x476e,0xa965d));import'../../theme/commentsarchive.css';import{Plugin as _0x4fc585}from'ckeditor5/src/core.js';function _0x1def(_0x6f660d,_0x10dfb7){const _0x476e5f=_0x476e();return _0x1def=function(_0x1def44,_0x81610f){_0x1def44=_0x1def44-0x9b;let _0x2edaa0=_0x476e5f[_0x1def44];return _0x2edaa0;},_0x1def(_0x6f660d,_0x10dfb7);}import{IconCommentsArchive as _0x2e6679}from'ckeditor5/src/icons.js';import{ViewCollection as _0x566db6,MenuBarMenuListItemButtonView as _0x556c8b,ButtonView as _0xbab2d0,Dialog as _0x46fed1,DialogViewPosition as _0x55a93e}from'ckeditor5/src/ui.js';function _0x476e(){const _0x2fa990=['isOfficialPlugin','isEnabled','collection','editor','escape','hide','innerView','menuBar:commentsArchive','plugins','_createCommentsArchiveButton','splice','findIndex','config','add','_pendingThreads','1723588PqXwUU','897590xlikJb','4622261EAjFxJ','getByInnerView','get','bind','commentsArchiveView','Dialog','execute','filter','44zSDkaW','set:isVisible','return','stopListening','set','10567iFOuDr','isOpen','find','isVisible','forEach','COMMENTS_ARCHIVE','annotationViews','view','length','isPremiumPlugin','isOn','1708983zYnlRh','6moFFbJ','CommentsRepository','18328002MyFSQa','source','EDITOR_TOP_SIDE','_threadToController','_calculatePosition','indexOf','Annotations','archivedThreads','6CZHHGq','focusableElements','tooltip','_toggleDialog','has','pluginName','stop','listenTo','channelId','CommentsArchiveUI','_handleNewThread','locale','show','_addAnnotationToArchive','requires','remove','4088800kbnZFa','init','_hideDialogOnAnnotationEscape','_visibleAnnotations','commentsArchive','20CgJrPG','push','collaboration.channelId','includes','componentFactory','menuitemcheckbox','archivedAt'];_0x476e=function(){return _0x2fa990;};return _0x476e();}import{getTranslation as _0x2cc8c9}from'../utils/common-translations.js';import{CommentsArchiveView as _0x14d125}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x4318dd}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x4fc585{[_0x4f151b(0xe6)];[_0x4f151b(0xa5)];[_0x4f151b(0xdf)];static get[_0x4f151b(0xba)](){const _0x5daab4=_0x4f151b;return _0x5daab4(0xbe);}static get[_0x4f151b(0xd1)](){return!0x0;}static get[_0x4f151b(0xa8)](){return!0x0;}static get[_0x4f151b(0xc3)](){return[_0x4318dd,_0x46fed1];}constructor(_0x1ccc8a){const _0x5e3157=_0x4f151b;super(_0x1ccc8a),this[_0x5e3157(0xa5)]=new _0x566db6(),this[_0x5e3157(0xdf)]=[];}[_0x4f151b(0xc6)](){const _0x4ef1d2=_0x4f151b,_0x14ab26=this[_0x4ef1d2(0xd4)],_0x3e71e3=this[_0x4ef1d2(0xc7)][_0x4ef1d2(0xe5)](this);_0x14ab26['ui'][_0x4ef1d2(0xce)][_0x4ef1d2(0xde)](_0x4ef1d2(0xc9),()=>this[_0x4ef1d2(0xda)](_0xbab2d0,!0x0)),_0x14ab26['ui'][_0x4ef1d2(0xce)][_0x4ef1d2(0xde)](_0x4ef1d2(0xd8),()=>{const _0x163678=_0x4ef1d2,_0x1e8f97=this[_0x163678(0xda)](_0x556c8b);return _0x1e8f97[_0x163678(0x9e)]({'role':_0x163678(0xcf)}),_0x1e8f97;});const _0x55478b=_0x14ab26[_0x4ef1d2(0xd9)][_0x4ef1d2(0xe4)](_0x4318dd),_0x1fbc7c=_0x14ab26[_0x4ef1d2(0xd9)][_0x4ef1d2(0xe4)](_0x4ef1d2(0xb3)),_0x293b7b=_0x14ab26[_0x4ef1d2(0xd9)][_0x4ef1d2(0xe4)](_0x4ef1d2(0xac));_0x55478b[_0x4ef1d2(0xb4)][_0x4ef1d2(0xa3)](_0x257f04=>{const _0x1a7571=_0x4ef1d2;this[_0x1a7571(0xbf)](_0x257f04);}),this[_0x4ef1d2(0xbc)](_0x55478b[_0x4ef1d2(0xb4)],_0x4ef1d2(0xde),(_0x17b1bd,_0x12a205)=>{const _0x4d9454=_0x4ef1d2;this[_0x4d9454(0xbf)](_0x12a205);}),this[_0x4ef1d2(0xbc)](_0x1fbc7c[_0x4ef1d2(0xd3)],_0x4ef1d2(0xde),(_0x48fefb,_0x3bdff0)=>{const _0x4bf872=_0x4ef1d2,_0x257a04=this[_0x4bf872(0xdf)][_0x4bf872(0xa1)](_0x4d8564=>{const _0x18180b=_0x4bf872,_0x4381e5=_0x293b7b[_0x18180b(0xb0)][_0x18180b(0xe4)](_0x4d8564);return _0x4381e5&&_0x3bdff0[_0x18180b(0xd7)]===_0x4381e5[_0x18180b(0xa6)];});if(_0x257a04){const _0x523381=this[_0x4bf872(0xb1)](_0x257a04[_0x4bf872(0xd0)]);this[_0x4bf872(0xc2)](_0x3bdff0,_0x523381),this[_0x4bf872(0xdf)][_0x4bf872(0xdb)](this[_0x4bf872(0xdf)][_0x4bf872(0xb2)](_0x257a04),0x1);}}),this[_0x4ef1d2(0xbc)](_0x55478b[_0x4ef1d2(0xb4)],_0x4ef1d2(0xc4),(_0xda7ebb,_0x10ba25)=>{const _0x23d09a=_0x4ef1d2,_0x10c6e5=_0x14ab26[_0x23d09a(0xdd)][_0x23d09a(0xe4)](_0x23d09a(0xcc));if(!_0x10c6e5||_0x10ba25[_0x23d09a(0xbd)]===_0x10c6e5){if(this[_0x23d09a(0xdf)][_0x23d09a(0xcd)](_0x10ba25))this[_0x23d09a(0xdf)][_0x23d09a(0xdb)](this[_0x23d09a(0xdf)][_0x23d09a(0xb2)](_0x10ba25),0x1);else{const _0x333094=_0x293b7b[_0x23d09a(0xb0)][_0x23d09a(0xe4)](_0x10ba25),_0x2dd525=_0x1fbc7c[_0x23d09a(0xe3)](_0x333094[_0x23d09a(0xa6)]);this[_0x23d09a(0xa5)][_0x23d09a(0xc4)](_0x2dd525[_0x23d09a(0xa6)]),this[_0x23d09a(0x9d)](_0x2dd525),this[_0x23d09a(0x9d)](_0x2dd525[_0x23d09a(0xb6)]);}}}),this[_0x4ef1d2(0xbc)](_0x1fbc7c[_0x4ef1d2(0xd3)],_0x4ef1d2(0xde),(_0x221276,_0x1ba962)=>{const _0x22cc0c=_0x4ef1d2;this[_0x22cc0c(0xbc)](_0x1ba962,_0x22cc0c(0xd5),_0x3e71e3);}),this[_0x4ef1d2(0xbc)](_0x1fbc7c[_0x4ef1d2(0xd3)],_0x4ef1d2(0xc4),(_0x27f42a,_0x19456f)=>{const _0x4b529c=_0x4ef1d2;this[_0x4b529c(0x9d)](_0x19456f,_0x4b529c(0xd5),_0x3e71e3);});}[_0x4f151b(0xc2)](_0x2710ce,_0x2cf141){const _0x3f149e=_0x4f151b;this[_0x3f149e(0xbc)](_0x2710ce,_0x3f149e(0x9b),_0xc257f2=>{const _0x500acd=_0x3f149e;_0xc257f2[_0x500acd(0x9c)]=!0x1,_0xc257f2[_0x500acd(0xbb)]();}),this[_0x3f149e(0xa5)][_0x3f149e(0xde)](_0x2710ce[_0x3f149e(0xa6)],_0x2cf141);}[_0x4f151b(0xbf)](_0x2939a0){const _0x36a46e=_0x4f151b,_0x4c53cb=this[_0x36a46e(0xd4)][_0x36a46e(0xd9)][_0x36a46e(0xe4)](_0x36a46e(0xac)),_0x49eda1=this[_0x36a46e(0xd4)][_0x36a46e(0xd9)][_0x36a46e(0xe4)](_0x36a46e(0xb3)),_0x420f1b=this[_0x36a46e(0xd4)][_0x36a46e(0xdd)][_0x36a46e(0xe4)](_0x36a46e(0xcc));if(!_0x420f1b||_0x2939a0[_0x36a46e(0xbd)]===_0x420f1b){const _0x29c79a=_0x4c53cb[_0x36a46e(0xb0)][_0x36a46e(0xe4)](_0x2939a0);if(!_0x29c79a)return void this[_0x36a46e(0xdf)][_0x36a46e(0xcb)](_0x2939a0);const _0x5598f6=this[_0x36a46e(0xb1)](_0x2939a0[_0x36a46e(0xd0)]),_0x55224a=_0x49eda1[_0x36a46e(0xe3)](_0x29c79a[_0x36a46e(0xa6)]);_0x55224a[_0x36a46e(0xa2)]&&_0x49eda1[_0x36a46e(0xc8)][_0x36a46e(0xc4)](_0x55224a),this[_0x36a46e(0xc2)](_0x55224a,_0x5598f6);}}[_0x4f151b(0xb1)](_0x3c7c9e){const _0xf49c45=_0x4f151b,_0x24081f=this[_0xf49c45(0xd4)][_0xf49c45(0xdd)][_0xf49c45(0xe4)](_0xf49c45(0xcc)),_0x2ee6b8=[...this[_0xf49c45(0xd4)][_0xf49c45(0xd9)][_0xf49c45(0xe4)](_0x4318dd)[_0xf49c45(0xb4)]][_0xf49c45(0xe9)](_0x194503=>_0x194503[_0xf49c45(0xbd)]===_0x24081f)[_0xf49c45(0xdc)](_0x498ac7=>_0x498ac7[_0xf49c45(0xd0)]<_0x3c7c9e);return _0x2ee6b8<0x0||_0x2ee6b8>this[_0xf49c45(0xa5)][_0xf49c45(0xa7)]?this[_0xf49c45(0xa5)][_0xf49c45(0xa7)]:_0x2ee6b8-0x1;}[_0x4f151b(0xb8)](){const _0x463acf=_0x4f151b,_0x581178=this[_0x463acf(0xd4)],_0x22c298=_0x581178[_0x463acf(0xd9)][_0x463acf(0xe4)](_0x463acf(0xe7));this[_0x463acf(0xe6)]||(this[_0x463acf(0xe6)]=new _0x14d125(_0x581178[_0x463acf(0xc0)],this[_0x463acf(0xa5)])),_0x463acf(0xc9)===_0x22c298['id']?_0x22c298[_0x463acf(0xd6)]():_0x22c298[_0x463acf(0xc1)]({'id':_0x463acf(0xc9),'title':_0x2cc8c9(_0x581178[_0x463acf(0xc0)],_0x463acf(0xa4)),'icon':_0x2e6679,'hasCloseButton':!0x0,'content':this[_0x463acf(0xe6)],'position':_0x55a93e[_0x463acf(0xaf)]});}[_0x4f151b(0xda)](_0x3abc87,_0x46fb55=!0x1){const _0x1cefc8=_0x4f151b,_0x21aed6=this[_0x1cefc8(0xd4)][_0x1cefc8(0xc0)],_0x59bc48=this[_0x1cefc8(0xd4)][_0x1cefc8(0xd9)][_0x1cefc8(0xe4)](_0x1cefc8(0xe7)),_0x5145d2=new _0x3abc87(_0x21aed6);return _0x5145d2[_0x1cefc8(0xe5)](_0x1cefc8(0xd2))['to'](this,_0x1cefc8(0xd2)),_0x5145d2[_0x1cefc8(0xe5)](_0x1cefc8(0xa9))['to'](_0x59bc48,'id',_0x9e76a6=>_0x1cefc8(0xc9)===_0x9e76a6),_0x5145d2[_0x1cefc8(0x9e)]({'label':_0x2cc8c9(_0x21aed6,_0x1cefc8(0xa4)),'icon':_0x2e6679,'isToggleable':!0x0}),_0x46fb55&&(_0x5145d2[_0x1cefc8(0xb7)]=!0x0),this[_0x1cefc8(0xbc)](_0x5145d2,_0x1cefc8(0xe8),()=>this[_0x1cefc8(0xb8)]()),_0x5145d2;}[_0x4f151b(0xc7)]=_0x3f3398=>{const _0x5673bd=_0x4f151b,_0x5dfd6f=_0x3f3398[_0x5673bd(0xae)];if(!this[_0x5673bd(0xa5)][_0x5673bd(0xb9)](_0x5dfd6f[_0x5673bd(0xa6)]))return;const _0x6b904a=this[_0x5673bd(0xd4)][_0x5673bd(0xd9)][_0x5673bd(0xe4)](_0x5673bd(0xe7));_0x6b904a[_0x5673bd(0xa0)]&&_0x5673bd(0xc9)===_0x6b904a['id']&&(_0x6b904a[_0x5673bd(0xd6)](),_0x3f3398[_0x5673bd(0xbb)]());};}
|