@ckeditor/ckeditor5-comments 47.3.0-alpha.4 → 47.3.0-alpha.6
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 _0x1e1cdb=_0x2496;(function(_0x3445b1,_0x14445a){const _0x358a78=_0x2496,_0x5519cb=_0x3445b1();while(!![]){try{const _0x423759=parseInt(_0x358a78(0x241))/0x1+parseInt(_0x358a78(0x20d))/0x2*(parseInt(_0x358a78(0x21a))/0x3)+-parseInt(_0x358a78(0x244))/0x4*(parseInt(_0x358a78(0x242))/0x5)+parseInt(_0x358a78(0x209))/0x6+parseInt(_0x358a78(0x247))/0x7+parseInt(_0x358a78(0x22c))/0x8+-parseInt(_0x358a78(0x1fa))/0x9;if(_0x423759===_0x14445a)break;else _0x5519cb['push'](_0x5519cb['shift']());}catch(_0x7abb09){_0x5519cb['push'](_0x5519cb['shift']());}}}(_0x3fb7,0x4c63b));import{ContextPlugin as _0x3b0522}from'ckeditor5/src/core.js';import{Rect as _0x37cb9f,CKEditorError as _0x539259}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x4f1fd4}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x132ee6}from'./view/sidebaritemview.js';function _0x3fb7(){const _0x56216e=['updateHeight','_annotations','_alignAfterItem','appendChild','bind','list','get','_destroySidebarItemView','_alignForTopChange','delete','_getTargetTop','setContainer','targetRect','listenTo','_targetTop','1809280oKMypv','element','change:_lastItem','config','add','pluginName','nodeType','sidebar-setcontainer-invalid-element','define','_annotationToSidebarItemView','push','destroy','target','init','stopListening','_attachToContainer','isActive','addAnnotation','_getItemBefore','getSidebarItemView','sidebar.container','41990WBVToJ','21795kNuMIj','_lastItem','492RjkPYl','rearrange','minHeight','3132731LFnOil','change:top','_detachFromContainer','render','change:targetRect','_setItemTop','last','clear','isOfficialPlugin','_recalculateBuffer','_createSidebarView','locale','isPremiumPlugin','5953959LlFsgo','_sidebarItemViewToAnnotation','change:bottom','isAnimationDisabled','remove','max','_alignForBottomChange','container','getIndex','_spaceBetweenItems','refresh','class','unbind','_recalculate','object','2882286GoWOhQ','_alignBeforeItem','length','bottom','48390nAbbKQ','_updateLastItem','Sidebar','content','sidebar.preventScrollOutOfView','_activeAnnotation','top','view','context','height','_getMaxAvailableTop','_getItemAfter','set','39sIWpYT','_alignToTargetRect','sidebar-attachtocontainer-missing-container'];_0x3fb7=function(){return _0x56216e;};return _0x3fb7();}function _0x2496(_0x47283e,_0x400fe5){const _0x3fb70b=_0x3fb7();return _0x2496=function(_0x249668,_0x4b7e40){_0x249668=_0x249668-0x1ef;let _0x3434d0=_0x3fb70b[_0x249668];return _0x3434d0;},_0x2496(_0x47283e,_0x400fe5);}export class Sidebar extends _0x3b0522{[_0x1e1cdb(0x214)];[_0x1e1cdb(0x212)];[_0x1e1cdb(0x21e)];[_0x1e1cdb(0x203)];[_0x1e1cdb(0x1fb)];[_0x1e1cdb(0x235)];[_0x1e1cdb(0x1f6)];static get[_0x1e1cdb(0x231)](){const _0xae79e2=_0x1e1cdb;return _0xae79e2(0x20f);}static get[_0x1e1cdb(0x1f5)](){return!0x0;}static get[_0x1e1cdb(0x1f9)](){return!0x0;}constructor(_0x559de7){const _0x42ce42=_0x1e1cdb;super(_0x559de7),this[_0x42ce42(0x219)](_0x42ce42(0x243),void 0x0),this[_0x42ce42(0x214)]=this[_0x42ce42(0x1f7)](),this[_0x42ce42(0x219)](_0x42ce42(0x201),null),this[_0x42ce42(0x203)]=0x19,this[_0x42ce42(0x1fb)]=new Map(),this[_0x42ce42(0x235)]=new Map(),this[_0x42ce42(0x215)][_0x42ce42(0x22f)][_0x42ce42(0x234)](_0x42ce42(0x211),!0x1),this[_0x42ce42(0x21e)]=null,this[_0x42ce42(0x212)]=null,this[_0x42ce42(0x1f6)]=[];}[_0x1e1cdb(0x239)](){const _0x1e122b=_0x1e1cdb,_0x5eef4b=this[_0x1e122b(0x215)][_0x1e122b(0x22f)][_0x1e122b(0x223)](_0x1e122b(0x240));_0x5eef4b&&this[_0x1e122b(0x228)](_0x5eef4b);}[_0x1e1cdb(0x228)](_0x52cb2b){const _0x2eae49=_0x1e1cdb;if(!g(_0x52cb2b))throw new _0x539259(_0x2eae49(0x233));this[_0x2eae49(0x201)]=_0x52cb2b;}[_0x1e1cdb(0x23b)]({viewClass:_0x53bb54='',spaceBetweenItems:_0x4d1f03=0x19}={}){const _0x37ca63=_0x1e1cdb;if(!g(this[_0x37ca63(0x201)]))throw new _0x539259(_0x37ca63(0x21c),this);this[_0x37ca63(0x201)][_0x37ca63(0x220)](this[_0x37ca63(0x214)][_0x37ca63(0x22d)]),this[_0x37ca63(0x214)][_0x37ca63(0x205)]=_0x53bb54,this[_0x37ca63(0x203)]=_0x4d1f03;}[_0x1e1cdb(0x245)]({removedAnnotation:_0x445a7f,previousAnnotation:_0x1d64e6,nextAnnotation:_0x17628c}){const _0x36edba=_0x1e1cdb,_0x17750c=this[_0x36edba(0x23f)](_0x445a7f);this[_0x36edba(0x214)][_0x36edba(0x222)][_0x36edba(0x1fe)](_0x17750c),this[_0x36edba(0x224)](_0x445a7f),_0x1d64e6&&this[_0x36edba(0x21b)](this[_0x36edba(0x23f)](_0x1d64e6)),_0x17628c&&this[_0x36edba(0x21b)](this[_0x36edba(0x23f)](_0x17628c)),this[_0x36edba(0x20e)]();}[_0x1e1cdb(0x204)]({blurredAnnotation:_0x591b18,activatedAnnotation:_0x5bf663,disableAnimationOnActivatedAnnotation:_0x4f72f9}){const _0x597c7b=_0x1e1cdb;if(this[_0x597c7b(0x212)]=_0x5bf663,_0x591b18){_0x591b18[_0x597c7b(0x23c)]=!0x1;const _0x21f1b2=this[_0x597c7b(0x23f)](_0x591b18);_0x21f1b2&&_0x4f72f9&&(_0x21f1b2[_0x597c7b(0x1fd)]=!0x1);}if(_0x5bf663){const _0x4e8b08=this[_0x597c7b(0x23f)](_0x5bf663);_0x4e8b08&&(_0x5bf663[_0x597c7b(0x23c)]=!0x0,_0x4f72f9&&(_0x4e8b08[_0x597c7b(0x1fd)]=!0x0,_0x4e8b08[_0x597c7b(0x213)]+=0x1),this[_0x597c7b(0x21b)](_0x4e8b08));}}[_0x1e1cdb(0x1ef)](_0x3286b9){const _0x19ab21=_0x1e1cdb;if(this[_0x19ab21(0x214)][_0x19ab21(0x22d)][_0x19ab21(0x1fe)](),_0x3286b9){for(const _0x23f5a9 of _0x3286b9)this[_0x19ab21(0x224)](_0x23f5a9);}this[_0x19ab21(0x214)][_0x19ab21(0x222)][_0x19ab21(0x1f4)](),this[_0x19ab21(0x214)][_0x19ab21(0x205)]='',this[_0x19ab21(0x243)]=null;}[_0x1e1cdb(0x23d)](_0x1ba18f,_0x46c19b){const _0x130b71=_0x1e1cdb;_0x46c19b||(_0x46c19b=_0x1ba18f[_0x130b71(0x214)]);const _0x4b423c=new _0x132ee6(this[_0x130b71(0x215)][_0x130b71(0x1f8)]);this[_0x130b71(0x1fb)][_0x130b71(0x219)](_0x4b423c,_0x1ba18f),this[_0x130b71(0x235)][_0x130b71(0x219)](_0x1ba18f,_0x4b423c),_0x4b423c[_0x130b71(0x210)][_0x130b71(0x230)](_0x46c19b),this[_0x130b71(0x22a)](_0x1ba18f[_0x130b71(0x214)],_0x130b71(0x1f1),(_0x189e6f,_0x11d5c9,_0x33377f)=>{const _0x8cc213=_0x130b71,_0x202514=this[_0x8cc213(0x227)](_0x1ba18f,_0x33377f);_0x4b423c[_0x8cc213(0x22b)]!=_0x202514&&(_0x4b423c[_0x8cc213(0x22b)]=_0x202514,this[_0x8cc213(0x1f2)](_0x4b423c,_0x202514));}),this[_0x130b71(0x22a)](_0x4b423c,_0x130b71(0x248),()=>{const _0x508eb5=_0x130b71;this[_0x508eb5(0x207)](_0x4b423c,_0x508eb5(0x213));}),this[_0x130b71(0x22a)](_0x4b423c,_0x130b71(0x1fc),()=>{const _0x76ac32=_0x130b71;this[_0x76ac32(0x207)](_0x4b423c,_0x76ac32(0x20c));}),this[_0x130b71(0x21b)](_0x4b423c);const _0x2d27bd=this[_0x130b71(0x23e)](_0x4b423c);if(_0x2d27bd)this[_0x130b71(0x21f)](_0x2d27bd,_0x4b423c)||this[_0x130b71(0x21b)](_0x4b423c);else this[_0x130b71(0x21b)](_0x4b423c);return this[_0x130b71(0x20e)](),this[_0x130b71(0x214)][_0x130b71(0x222)][_0x130b71(0x230)](_0x4b423c),_0x4b423c;}[_0x1e1cdb(0x225)](_0x25f347){const _0x5a9bbe=_0x1e1cdb;if(!_0x25f347[_0x5a9bbe(0x210)][_0x5a9bbe(0x20b)])return;const _0x1d4b41=this[_0x5a9bbe(0x23e)](_0x25f347);if(!_0x1d4b41)return;const _0x1cc87c=this[_0x5a9bbe(0x1fb)][_0x5a9bbe(0x223)](_0x1d4b41),_0x5aefe5=this[_0x5a9bbe(0x212)];_0x5aefe5&&_0x5aefe5===_0x1cc87c?this[_0x5a9bbe(0x21f)](_0x1d4b41,_0x25f347):this[_0x5a9bbe(0x20a)](_0x25f347,_0x1d4b41);}[_0x1e1cdb(0x200)](_0x52c79d){const _0x4efc8a=_0x1e1cdb;if(!_0x52c79d[_0x4efc8a(0x210)][_0x4efc8a(0x20b)])return;const _0x572e4f=this[_0x4efc8a(0x218)](_0x52c79d);if(!_0x572e4f)return;const _0x236ffb=this[_0x4efc8a(0x1fb)][_0x4efc8a(0x223)](_0x572e4f),_0x5e84fa=this[_0x4efc8a(0x215)][_0x4efc8a(0x22f)][_0x4efc8a(0x223)](_0x4efc8a(0x211)),_0x4bae53=this[_0x4efc8a(0x212)];_0x4bae53&&_0x4bae53===_0x236ffb&&_0x5e84fa?(this[_0x4efc8a(0x20a)](_0x572e4f,_0x52c79d),this[_0x4efc8a(0x21f)](_0x52c79d,_0x572e4f)):_0x4bae53&&_0x4bae53===_0x236ffb?this[_0x4efc8a(0x20a)](_0x572e4f,_0x52c79d):this[_0x4efc8a(0x21f)](_0x52c79d,_0x572e4f);}[_0x1e1cdb(0x207)](_0x11b403,_0xb3cfc4){const _0x223274=_0x1e1cdb;0x0===this[_0x223274(0x1f6)][_0x223274(0x20b)]&&setTimeout(()=>{const _0x2bbbf4=_0x223274;for(const {sidebarItemView:_0x5ccdce,changedProp:_0x50c92e}of this[_0x2bbbf4(0x1f6)])_0x2bbbf4(0x213)===_0x50c92e?this[_0x2bbbf4(0x225)](_0x5ccdce):this[_0x2bbbf4(0x200)](_0x5ccdce);this[_0x2bbbf4(0x1f6)]=[];},0xa),this[_0x223274(0x1f6)][_0x223274(0x236)]({'sidebarItemView':_0x11b403,'changedProp':_0xb3cfc4});}[_0x1e1cdb(0x23f)](_0x244758){const _0x4c044e=_0x1e1cdb;return this[_0x4c044e(0x235)][_0x4c044e(0x223)](_0x244758);}[_0x1e1cdb(0x237)](){const _0x243937=_0x1e1cdb;this[_0x243937(0x23a)](),this[_0x243937(0x214)][_0x243937(0x237)]();}[_0x1e1cdb(0x224)](_0x35d189){const _0x48e7f9=_0x1e1cdb,_0xa9a74d=this[_0x48e7f9(0x23f)](_0x35d189);this[_0x48e7f9(0x23a)](_0xa9a74d),this[_0x48e7f9(0x23a)](_0x35d189[_0x48e7f9(0x214)]),_0xa9a74d[_0x48e7f9(0x237)](),this[_0x48e7f9(0x235)][_0x48e7f9(0x226)](_0x35d189),this[_0x48e7f9(0x1fb)][_0x48e7f9(0x226)](_0xa9a74d);}[_0x1e1cdb(0x1f7)](){const _0x5a5baa=_0x1e1cdb,_0x42d0c9=new _0x4f1fd4(this[_0x5a5baa(0x215)][_0x5a5baa(0x1f8)]);return _0x42d0c9[_0x5a5baa(0x1f0)](),this['on'](_0x5a5baa(0x22e),(_0x38d0fd,_0x5d5c1f,_0xf41307,_0x2bd00d)=>{const _0xcf36ea=_0x5a5baa;_0x2bd00d&&_0x42d0c9[_0xcf36ea(0x206)](_0xcf36ea(0x246)),_0xf41307?_0x42d0c9[_0xcf36ea(0x221)](_0xcf36ea(0x246))['to'](_0xf41307,_0xcf36ea(0x20c)):_0x42d0c9[_0xcf36ea(0x246)]=null;}),_0x42d0c9;}[_0x1e1cdb(0x20e)](){const _0x22b678=_0x1e1cdb;this[_0x22b678(0x243)]=this[_0x22b678(0x21e)]?.[_0x22b678(0x1f3)]?this[_0x22b678(0x23f)](this[_0x22b678(0x21e)][_0x22b678(0x1f3)]):null;}[_0x1e1cdb(0x23e)](_0x56c31d){const _0x486b94=_0x1e1cdb,_0x4db419=this[_0x486b94(0x1fb)][_0x486b94(0x223)](_0x56c31d),_0x2a393a=_0x4db419&&this[_0x486b94(0x21e)]?.[_0x486b94(0x223)](this[_0x486b94(0x21e)][_0x486b94(0x202)](_0x4db419)-0x1);return _0x2a393a&&this[_0x486b94(0x23f)](_0x2a393a)||null;}[_0x1e1cdb(0x218)](_0x5a0f5e){const _0x1738c=_0x1e1cdb,_0x356a92=this[_0x1738c(0x1fb)][_0x1738c(0x223)](_0x5a0f5e),_0x463f08=_0x356a92&&this[_0x1738c(0x21e)]?.[_0x1738c(0x223)](this[_0x1738c(0x21e)][_0x1738c(0x202)](_0x356a92)+0x1);return _0x463f08&&this[_0x1738c(0x23f)](_0x463f08)||null;}[_0x1e1cdb(0x20a)](_0x473608,_0x274a78){const _0x26b15a=_0x1e1cdb;_0x473608[_0x26b15a(0x21d)]();const _0x229ae5=G(_0x274a78[_0x26b15a(0x20c)]+this[_0x26b15a(0x203)],_0x473608[_0x26b15a(0x213)]);return!!_0x229ae5&&(this[_0x26b15a(0x1f2)](_0x274a78,_0x274a78[_0x26b15a(0x213)]-_0x229ae5),!0x0);}[_0x1e1cdb(0x21f)](_0x5e92aa,_0x496064){const _0x52585f=_0x1e1cdb;_0x5e92aa[_0x52585f(0x21d)]();const _0x22c353=G(_0x5e92aa[_0x52585f(0x20c)]+this[_0x52585f(0x203)],_0x496064[_0x52585f(0x213)]);return!!_0x22c353&&(this[_0x52585f(0x1f2)](_0x496064,_0x496064[_0x52585f(0x213)]+_0x22c353,!0x1),!0x0);}[_0x1e1cdb(0x21b)](_0x5acd5b){const _0x5be420=_0x1e1cdb,_0x55ec48=this[_0x5be420(0x1fb)][_0x5be420(0x223)](_0x5acd5b);if(!_0x55ec48||!_0x55ec48[_0x5be420(0x238)]||!_0x55ec48[_0x5be420(0x229)])return;const _0x44dcca=this[_0x5be420(0x227)](_0x55ec48,_0x55ec48[_0x5be420(0x229)]);this[_0x5be420(0x1f2)](_0x5acd5b,_0x44dcca);}[_0x1e1cdb(0x227)](_0x8250a2,_0x2df6bf){const _0x490300=_0x1e1cdb;if(null===_0x2df6bf)return 0x0;if(_0x8250a2[_0x490300(0x238)]instanceof _0x37cb9f)return _0x2df6bf[_0x490300(0x213)];{const _0x395c50=new _0x37cb9f(this[_0x490300(0x214)][_0x490300(0x22d)])[_0x490300(0x213)];return _0x2df6bf[_0x490300(0x213)]-_0x395c50;}}[_0x1e1cdb(0x1f2)](_0x32c31e,_0x3ecdef,_0x424930=this[_0x1e1cdb(0x215)][_0x1e1cdb(0x22f)][_0x1e1cdb(0x223)](_0x1e1cdb(0x211))){const _0x39befa=_0x1e1cdb;_0x424930&&(_0x3ecdef=Math[_0x39befa(0x1ff)](_0x3ecdef,this[_0x39befa(0x217)](_0x32c31e))),_0x32c31e[_0x39befa(0x213)]=_0x3ecdef;}[_0x1e1cdb(0x217)](_0x466916){const _0x559382=_0x1e1cdb;let _0x10ceaa=this[_0x559382(0x23e)](_0x466916),_0x59f9da=0x0;for(;_0x10ceaa;)_0x10ceaa[_0x559382(0x21d)](),_0x59f9da+=this[_0x559382(0x203)]+_0x10ceaa[_0x559382(0x216)],_0x10ceaa=this[_0x559382(0x23e)](_0x10ceaa);return _0x59f9da;}}function G(_0x3165f7,_0xc190c9){const _0x2d0ca9=_0x1e1cdb;return Math[_0x2d0ca9(0x1ff)](_0x3165f7-_0xc190c9,0x0);}function g(_0x21b4ea){const _0x3527c1=_0x1e1cdb;return null!==_0x21b4ea&&_0x3527c1(0x208)==typeof _0x21b4ea&&0x1===_0x21b4ea[_0x3527c1(0x232)];}
|
|
23
|
+
const _0x5522af=_0x5e88;(function(_0x2a008d,_0x4dd2b8){const _0x3afdda=_0x5e88,_0x5e5796=_0x2a008d();while(!![]){try{const _0x156dc9=-parseInt(_0x3afdda(0xf0))/0x1+-parseInt(_0x3afdda(0x106))/0x2+-parseInt(_0x3afdda(0x108))/0x3+parseInt(_0x3afdda(0xfc))/0x4+parseInt(_0x3afdda(0x111))/0x5*(parseInt(_0x3afdda(0xea))/0x6)+parseInt(_0x3afdda(0xd1))/0x7*(-parseInt(_0x3afdda(0xf3))/0x8)+parseInt(_0x3afdda(0xf6))/0x9;if(_0x156dc9===_0x4dd2b8)break;else _0x5e5796['push'](_0x5e5796['shift']());}catch(_0x43bfa6){_0x5e5796['push'](_0x5e5796['shift']());}}}(_0x1944,0x6a3e3));import{ContextPlugin as _0x1bbd94}from'ckeditor5/src/core.js';import{Rect as _0x86ce65,CKEditorError as _0x3458c0}from'ckeditor5/src/utils.js';function _0x5e88(_0x406fe9,_0x4dad00){const _0x19446d=_0x1944();return _0x5e88=function(_0x5e88e5,_0x1873da){_0x5e88e5=_0x5e88e5-0xbf;let _0x7263f1=_0x19446d[_0x5e88e5];return _0x7263f1;},_0x5e88(_0x406fe9,_0x4dad00);}import{AnnotationsSidebarView as _0x494c19}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x459f43}from'./view/sidebaritemview.js';export class Sidebar extends _0x1bbd94{[_0x5522af(0xca)];[_0x5522af(0xfd)];[_0x5522af(0xf7)];[_0x5522af(0xc7)];[_0x5522af(0xe6)];[_0x5522af(0xd4)];[_0x5522af(0xfb)];static get[_0x5522af(0xd3)](){const _0x4b33=_0x5522af;return _0x4b33(0xd9);}static get[_0x5522af(0xc9)](){return!0x0;}static get[_0x5522af(0xf4)](){return!0x0;}constructor(_0x381f24){const _0x5c84a6=_0x5522af;super(_0x381f24),this[_0x5c84a6(0xc1)](_0x5c84a6(0xcc),void 0x0),this[_0x5c84a6(0xca)]=this[_0x5c84a6(0xc6)](),this[_0x5c84a6(0xc1)](_0x5c84a6(0x10d),null),this[_0x5c84a6(0xc7)]=0x19,this[_0x5c84a6(0xe6)]=new Map(),this[_0x5c84a6(0xd4)]=new Map(),this[_0x5c84a6(0x10a)][_0x5c84a6(0x110)][_0x5c84a6(0xf5)](_0x5c84a6(0xd6),!0x1),this[_0x5c84a6(0xf7)]=null,this[_0x5c84a6(0xfd)]=null,this[_0x5c84a6(0xfb)]=[];}[_0x5522af(0xc8)](){const _0x3b0b08=_0x5522af,_0x322bdf=this[_0x3b0b08(0x10a)][_0x3b0b08(0x110)][_0x3b0b08(0xee)](_0x3b0b08(0xbf));_0x322bdf&&this[_0x3b0b08(0xe5)](_0x322bdf);}[_0x5522af(0xe5)](_0x8d851b){const _0x2defd1=_0x5522af;if(!g(_0x8d851b))throw new _0x3458c0(_0x2defd1(0xd7));this[_0x2defd1(0x10d)]=_0x8d851b;}[_0x5522af(0xe7)]({viewClass:_0x5e64e4='',spaceBetweenItems:_0x331877=0x19}={}){const _0x4e9231=_0x5522af;if(!g(this[_0x4e9231(0x10d)]))throw new _0x3458c0(_0x4e9231(0xe8),this);this[_0x4e9231(0x10d)][_0x4e9231(0xd8)](this[_0x4e9231(0xca)][_0x4e9231(0xd5)]),this[_0x4e9231(0xca)][_0x4e9231(0xcb)]=_0x5e64e4,this[_0x4e9231(0xc7)]=_0x331877;}[_0x5522af(0xe2)]({removedAnnotation:_0x1bfe46,previousAnnotation:_0x5c2413,nextAnnotation:_0x256a37}){const _0xa80f58=_0x5522af,_0x527749=this[_0xa80f58(0xe1)](_0x1bfe46);this[_0xa80f58(0xca)][_0xa80f58(0x114)][_0xa80f58(0xf1)](_0x527749),this[_0xa80f58(0x104)](_0x1bfe46),_0x5c2413&&this[_0xa80f58(0xc4)](this[_0xa80f58(0xe1)](_0x5c2413)),_0x256a37&&this[_0xa80f58(0xc4)](this[_0xa80f58(0xe1)](_0x256a37)),this[_0xa80f58(0xd2)]();}[_0x5522af(0xdd)]({blurredAnnotation:_0x1ae50c,activatedAnnotation:_0x7ae65f,disableAnimationOnActivatedAnnotation:_0x2446a5}){const _0xf7a7e1=_0x5522af;if(this[_0xf7a7e1(0xfd)]=_0x7ae65f,_0x1ae50c){_0x1ae50c[_0xf7a7e1(0x10e)]=!0x1;const _0x37af21=this[_0xf7a7e1(0xe1)](_0x1ae50c);_0x37af21&&_0x2446a5&&(_0x37af21[_0xf7a7e1(0xda)]=!0x1);}if(_0x7ae65f){const _0xcda943=this[_0xf7a7e1(0xe1)](_0x7ae65f);_0xcda943&&(_0x7ae65f[_0xf7a7e1(0x10e)]=!0x0,_0x2446a5&&(_0xcda943[_0xf7a7e1(0xda)]=!0x0,_0xcda943[_0xf7a7e1(0xc3)]+=0x1),this[_0xf7a7e1(0xc4)](_0xcda943));}}[_0x5522af(0xfa)](_0x55aa56){const _0x38f56e=_0x5522af;if(this[_0x38f56e(0xca)][_0x38f56e(0xd5)][_0x38f56e(0xf1)](),_0x55aa56){for(const _0x4101b3 of _0x55aa56)this[_0x38f56e(0x104)](_0x4101b3);}this[_0x38f56e(0xca)][_0x38f56e(0x114)][_0x38f56e(0x112)](),this[_0x38f56e(0xca)][_0x38f56e(0xcb)]='',this[_0x38f56e(0xcc)]=null;}[_0x5522af(0xf2)](_0x5e336a,_0x295319){const _0x48eaf7=_0x5522af;_0x295319||(_0x295319=_0x5e336a[_0x48eaf7(0xca)]);const _0x41070a=new _0x459f43(this[_0x48eaf7(0x10a)][_0x48eaf7(0x109)]);this[_0x48eaf7(0xe6)][_0x48eaf7(0xc1)](_0x41070a,_0x5e336a),this[_0x48eaf7(0xd4)][_0x48eaf7(0xc1)](_0x5e336a,_0x41070a),_0x41070a[_0x48eaf7(0xce)][_0x48eaf7(0xeb)](_0x295319),this[_0x48eaf7(0x116)](_0x5e336a[_0x48eaf7(0xca)],_0x48eaf7(0xc2),(_0x1c4a5e,_0x4ebcf0,_0xb87a23)=>{const _0x16184c=_0x48eaf7,_0x37f05d=this[_0x16184c(0xc5)](_0x5e336a,_0xb87a23);_0x41070a[_0x16184c(0xdc)]!=_0x37f05d&&(_0x41070a[_0x16184c(0xdc)]=_0x37f05d,this[_0x16184c(0xf9)](_0x41070a,_0x37f05d));}),this[_0x48eaf7(0x116)](_0x41070a,_0x48eaf7(0xe4),()=>{const _0x1cc022=_0x48eaf7;this[_0x1cc022(0xfe)](_0x41070a,_0x1cc022(0xc3));}),this[_0x48eaf7(0x116)](_0x41070a,_0x48eaf7(0x117),()=>{const _0x112e6d=_0x48eaf7;this[_0x112e6d(0xfe)](_0x41070a,_0x112e6d(0x115));}),this[_0x48eaf7(0xc4)](_0x41070a);const _0x2cb100=this[_0x48eaf7(0xdb)](_0x41070a);if(_0x2cb100)this[_0x48eaf7(0xed)](_0x2cb100,_0x41070a)||this[_0x48eaf7(0xc4)](_0x41070a);else this[_0x48eaf7(0xc4)](_0x41070a);return this[_0x48eaf7(0xd2)](),this[_0x48eaf7(0xca)][_0x48eaf7(0x114)][_0x48eaf7(0xeb)](_0x41070a),_0x41070a;}[_0x5522af(0x100)](_0x3a4449){const _0x2c583e=_0x5522af;if(!_0x3a4449[_0x2c583e(0xce)][_0x2c583e(0xcd)])return;const _0x3c9e95=this[_0x2c583e(0xdb)](_0x3a4449);if(!_0x3c9e95)return;const _0x41ea34=this[_0x2c583e(0xe6)][_0x2c583e(0xee)](_0x3c9e95),_0x10386b=this[_0x2c583e(0xfd)];_0x10386b&&_0x10386b===_0x41ea34?this[_0x2c583e(0xed)](_0x3c9e95,_0x3a4449):this[_0x2c583e(0x113)](_0x3a4449,_0x3c9e95);}[_0x5522af(0x105)](_0x9de74b){const _0x5e9771=_0x5522af;if(!_0x9de74b[_0x5e9771(0xce)][_0x5e9771(0xcd)])return;const _0x3108ff=this[_0x5e9771(0xef)](_0x9de74b);if(!_0x3108ff)return;const _0x5c58cc=this[_0x5e9771(0xe6)][_0x5e9771(0xee)](_0x3108ff),_0xe1b431=this[_0x5e9771(0x10a)][_0x5e9771(0x110)][_0x5e9771(0xee)](_0x5e9771(0xd6)),_0x59bdc9=this[_0x5e9771(0xfd)];_0x59bdc9&&_0x59bdc9===_0x5c58cc&&_0xe1b431?(this[_0x5e9771(0x113)](_0x3108ff,_0x9de74b),this[_0x5e9771(0xed)](_0x9de74b,_0x3108ff)):_0x59bdc9&&_0x59bdc9===_0x5c58cc?this[_0x5e9771(0x113)](_0x3108ff,_0x9de74b):this[_0x5e9771(0xed)](_0x9de74b,_0x3108ff);}[_0x5522af(0xfe)](_0x51c2c4,_0x20cd22){const _0x3dada8=_0x5522af;0x0===this[_0x3dada8(0xfb)][_0x3dada8(0xcd)]&&setTimeout(()=>{const _0x5f1f4a=_0x3dada8;for(const {sidebarItemView:_0x5f26e1,changedProp:_0x53ba21}of this[_0x5f1f4a(0xfb)])_0x5f1f4a(0xc3)===_0x53ba21?this[_0x5f1f4a(0x100)](_0x5f26e1):this[_0x5f1f4a(0x105)](_0x5f26e1);this[_0x5f1f4a(0xfb)]=[];},0xa),this[_0x3dada8(0xfb)][_0x3dada8(0xec)]({'sidebarItemView':_0x51c2c4,'changedProp':_0x20cd22});}[_0x5522af(0xe1)](_0x4e0835){const _0xf3741f=_0x5522af;return this[_0xf3741f(0xd4)][_0xf3741f(0xee)](_0x4e0835);}[_0x5522af(0x10f)](){const _0x5c0b83=_0x5522af;this[_0x5c0b83(0xe9)](),this[_0x5c0b83(0xca)][_0x5c0b83(0x10f)]();}[_0x5522af(0x104)](_0x1b3346){const _0x1fb805=_0x5522af,_0x41d97a=this[_0x1fb805(0xe1)](_0x1b3346);this[_0x1fb805(0xe9)](_0x41d97a),this[_0x1fb805(0xe9)](_0x1b3346[_0x1fb805(0xca)]),_0x41d97a[_0x1fb805(0x10f)](),this[_0x1fb805(0xd4)][_0x1fb805(0x118)](_0x1b3346),this[_0x1fb805(0xe6)][_0x1fb805(0x118)](_0x41d97a);}[_0x5522af(0xc6)](){const _0x6ca552=_0x5522af,_0x58a8ad=new _0x494c19(this[_0x6ca552(0x10a)][_0x6ca552(0x109)]);return _0x58a8ad[_0x6ca552(0x10c)](),this['on'](_0x6ca552(0xf8),(_0x296fc1,_0x592d0a,_0x8d5106,_0x1dc079)=>{const _0x535a6f=_0x6ca552;_0x1dc079&&_0x58a8ad[_0x535a6f(0x10b)](_0x535a6f(0xc0)),_0x8d5106?_0x58a8ad[_0x535a6f(0x107)](_0x535a6f(0xc0))['to'](_0x8d5106,_0x535a6f(0x115)):_0x58a8ad[_0x535a6f(0xc0)]=null;}),_0x58a8ad;}[_0x5522af(0xd2)](){const _0x1f85dd=_0x5522af;this[_0x1f85dd(0xcc)]=this[_0x1f85dd(0xf7)]?.[_0x1f85dd(0xdf)]?this[_0x1f85dd(0xe1)](this[_0x1f85dd(0xf7)][_0x1f85dd(0xdf)]):null;}[_0x5522af(0xdb)](_0xbc11d2){const _0x2ad861=_0x5522af,_0x3a2a64=this[_0x2ad861(0xe6)][_0x2ad861(0xee)](_0xbc11d2),_0x176572=_0x3a2a64&&this[_0x2ad861(0xf7)]?.[_0x2ad861(0xee)](this[_0x2ad861(0xf7)][_0x2ad861(0x102)](_0x3a2a64)-0x1);return _0x176572&&this[_0x2ad861(0xe1)](_0x176572)||null;}[_0x5522af(0xef)](_0x51afaa){const _0x4d65eb=_0x5522af,_0x305f79=this[_0x4d65eb(0xe6)][_0x4d65eb(0xee)](_0x51afaa),_0x4fb67c=_0x305f79&&this[_0x4d65eb(0xf7)]?.[_0x4d65eb(0xee)](this[_0x4d65eb(0xf7)][_0x4d65eb(0x102)](_0x305f79)+0x1);return _0x4fb67c&&this[_0x4d65eb(0xe1)](_0x4fb67c)||null;}[_0x5522af(0x113)](_0x260cff,_0x4a6d64){const _0x34b70f=_0x5522af;_0x260cff[_0x34b70f(0xd0)]();const _0x1baaa0=G(_0x4a6d64[_0x34b70f(0x115)]+this[_0x34b70f(0xc7)],_0x260cff[_0x34b70f(0xc3)]);return!!_0x1baaa0&&(this[_0x34b70f(0xf9)](_0x4a6d64,_0x4a6d64[_0x34b70f(0xc3)]-_0x1baaa0),!0x0);}[_0x5522af(0xed)](_0x6d151d,_0x4bcfe0){const _0x131f40=_0x5522af;_0x6d151d[_0x131f40(0xd0)]();const _0x2e7e7c=G(_0x6d151d[_0x131f40(0x115)]+this[_0x131f40(0xc7)],_0x4bcfe0[_0x131f40(0xc3)]);return!!_0x2e7e7c&&(this[_0x131f40(0xf9)](_0x4bcfe0,_0x4bcfe0[_0x131f40(0xc3)]+_0x2e7e7c,!0x1),!0x0);}[_0x5522af(0xc4)](_0x2d1208){const _0x1e5dfc=_0x5522af,_0x991354=this[_0x1e5dfc(0xe6)][_0x1e5dfc(0xee)](_0x2d1208);if(!_0x991354||!_0x991354[_0x1e5dfc(0xe3)]||!_0x991354[_0x1e5dfc(0xe0)])return;const _0x18691f=this[_0x1e5dfc(0xc5)](_0x991354,_0x991354[_0x1e5dfc(0xe0)]);this[_0x1e5dfc(0xf9)](_0x2d1208,_0x18691f);}[_0x5522af(0xc5)](_0x4f3e63,_0x3fad8b){const _0x2c3673=_0x5522af;if(null===_0x3fad8b)return 0x0;if(_0x4f3e63[_0x2c3673(0xe3)]instanceof _0x86ce65)return _0x3fad8b[_0x2c3673(0xc3)];{const _0x349b3f=new _0x86ce65(this[_0x2c3673(0xca)][_0x2c3673(0xd5)])[_0x2c3673(0xc3)];return _0x3fad8b[_0x2c3673(0xc3)]-_0x349b3f;}}[_0x5522af(0xf9)](_0x1fe476,_0x33ea54,_0x3dce09=this[_0x5522af(0x10a)][_0x5522af(0x110)][_0x5522af(0xee)](_0x5522af(0xd6))){const _0x547b9f=_0x5522af;_0x3dce09&&(_0x33ea54=Math[_0x547b9f(0x103)](_0x33ea54,this[_0x547b9f(0x101)](_0x1fe476))),_0x1fe476[_0x547b9f(0xc3)]=_0x33ea54;}[_0x5522af(0x101)](_0x534295){const _0x39e58e=_0x5522af;let _0x443921=this[_0x39e58e(0xdb)](_0x534295),_0x350d95=0x0;for(;_0x443921;)_0x443921[_0x39e58e(0xd0)](),_0x350d95+=this[_0x39e58e(0xc7)]+_0x443921[_0x39e58e(0xde)],_0x443921=this[_0x39e58e(0xdb)](_0x443921);return _0x350d95;}}function G(_0x1cb3c0,_0x1b7cdc){const _0x3574ad=_0x5522af;return Math[_0x3574ad(0x103)](_0x1cb3c0-_0x1b7cdc,0x0);}function g(_0x4fa742){const _0x2100a2=_0x5522af;return null!==_0x4fa742&&_0x2100a2(0xff)==typeof _0x4fa742&&0x1===_0x4fa742[_0x2100a2(0xcf)];}function _0x1944(){const _0x268bd1=['_targetTop','refresh','height','last','targetRect','getSidebarItemView','rearrange','target','change:top','setContainer','_sidebarItemViewToAnnotation','_attachToContainer','sidebar-attachtocontainer-missing-container','stopListening','474KChrdp','add','push','_alignAfterItem','get','_getItemAfter','30900RLzyeA','remove','addAnnotation','6039208wqsgRB','isPremiumPlugin','define','7374636bFNSgj','_annotations','change:_lastItem','_setItemTop','_detachFromContainer','_recalculateBuffer','2289300XXxulm','_activeAnnotation','_recalculate','object','_alignForTopChange','_getMaxAvailableTop','getIndex','max','_destroySidebarItemView','_alignForBottomChange','1365408lrYOiA','bind','989868LEjMnf','locale','context','unbind','render','container','isActive','destroy','config','53285hojKjW','clear','_alignBeforeItem','list','bottom','listenTo','change:bottom','delete','sidebar.container','minHeight','set','change:targetRect','top','_alignToTargetRect','_getTargetTop','_createSidebarView','_spaceBetweenItems','init','isOfficialPlugin','view','class','_lastItem','length','content','nodeType','updateHeight','7wuDGLF','_updateLastItem','pluginName','_annotationToSidebarItemView','element','sidebar.preventScrollOutOfView','sidebar-setcontainer-invalid-element','appendChild','Sidebar','isAnimationDisabled','_getItemBefore'];_0x1944=function(){return _0x268bd1;};return _0x1944();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1084c8=_0x24ba;(function(_0x1e2714,_0xc3c7d1){const _0x118c48=_0x24ba,_0x9443bc=_0x1e2714();while(!![]){try{const _0x4ca8ca=-parseInt(_0x118c48(0x166))/0x1*(-parseInt(_0x118c48(0x160))/0x2)+-parseInt(_0x118c48(0x162))/0x3*(parseInt(_0x118c48(0x168))/0x4)+-parseInt(_0x118c48(0x16a))/0x5*(parseInt(_0x118c48(0x17d))/0x6)+-parseInt(_0x118c48(0x16f))/0x7*(parseInt(_0x118c48(0x167))/0x8)+parseInt(_0x118c48(0x179))/0x9+-parseInt(_0x118c48(0x17a))/0xa+parseInt(_0x118c48(0x17b))/0xb;if(_0x4ca8ca===_0xc3c7d1)break;else _0x9443bc['push'](_0x9443bc['shift']());}catch(_0x5b59bd){_0x9443bc['push'](_0x9443bc['shift']());}}}(_0x4ac2,0x525a7));import{ButtonView as _0x331d1b,View as _0x503f2a}from'ckeditor5/src/ui.js';function _0x4ac2(){const _0x22b83b=['ck-annotation-counter__badge--edit-mode','659782tmemBZ','children','21QZiryF','add','ck-annotation-counter__badge--','bindTemplate','1kGjySx','40zSZbAQ','67532JSDWhP','_badge','221785FUvKgs','span','...','bind','counterView','18459gAegMh','icon','ck-annotation-counter__badge','isDirty','number','ck-annotation-counter','annotationType','set','extendTemplate','toString','5009877tbSSBG','5950140EUiZHP','2436632hIznJT','setTemplate','6rRSrtL'];_0x4ac2=function(){return _0x22b83b;};return _0x4ac2();}function _0x24ba(_0xdc9e3a,_0x2c2a7d){const _0x4ac260=_0x4ac2();return _0x24ba=function(_0x24ba2c,_0x45b4be){_0x24ba2c=_0x24ba2c-0x15f;let _0x21dc2e=_0x4ac260[_0x24ba2c];return _0x21dc2e;},_0x24ba(_0xdc9e3a,_0x2c2a7d);}import{IconAddComment as _0x71bcdc}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x331d1b{[_0x1084c8(0x16e)];constructor(_0x1b5789){const _0x3f97ea=_0x1084c8;super(_0x1b5789);const _0x56fea7=this[_0x3f97ea(0x165)];this[_0x3f97ea(0x176)](_0x3f97ea(0x172),!0x1),this[_0x3f97ea(0x176)](_0x3f97ea(0x173),0x0),this[_0x3f97ea(0x16d)](_0x3f97ea(0x169))['to'](this,_0x3f97ea(0x172),this,_0x3f97ea(0x173),(_0x19cb20,_0x3c33b4)=>_0x19cb20?_0x3f97ea(0x16c):_0x3c33b4[_0x3f97ea(0x178)]()),this[_0x3f97ea(0x176)](_0x3f97ea(0x175),''),this[_0x3f97ea(0x170)]=_0x71bcdc,this[_0x3f97ea(0x177)]({'attributes':{'class':[_0x3f97ea(0x174)]}}),this[_0x3f97ea(0x16e)]=new _0x503f2a(),this[_0x3f97ea(0x16e)][_0x3f97ea(0x17c)]({'tag':_0x3f97ea(0x16b),'attributes':{'class':[_0x3f97ea(0x171),_0x56fea7['to'](_0x3f97ea(0x175),_0x1d56bc=>_0x3f97ea(0x164)+_0x1d56bc),_0x56fea7['if'](_0x3f97ea(0x172),_0x3f97ea(0x15f))]},'children':[{'text':_0x56fea7['to'](_0x3f97ea(0x169))}]}),this[_0x3f97ea(0x161)][_0x3f97ea(0x163)](this[_0x3f97ea(0x16e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55dc28=_0x3205;(function(_0xcb6716,_0x3057b8){const _0x48a24b=_0x3205,_0x1a357a=_0xcb6716();while(!![]){try{const _0xf3da6e=parseInt(_0x48a24b(0x159))/0x1*(parseInt(_0x48a24b(0x14c))/0x2)+parseInt(_0x48a24b(0x160))/0x3+parseInt(_0x48a24b(0x164))/0x4*(parseInt(_0x48a24b(0x146))/0x5)+parseInt(_0x48a24b(0x147))/0x6*(-parseInt(_0x48a24b(0x144))/0x7)+parseInt(_0x48a24b(0x143))/0x8+parseInt(_0x48a24b(0x165))/0x9+-parseInt(_0x48a24b(0x167))/0xa*(-parseInt(_0x48a24b(0x149))/0xb);if(_0xf3da6e===_0x3057b8)break;else _0x1a357a['push'](_0x1a357a['shift']());}catch(_0x1b5a60){_0x1a357a['push'](_0x1a357a['shift']());}}}(_0x5229,0x715da));import{View as _0x577c4d}from'ckeditor5/src/ui.js';function _0x5229(){const _0x67fbc4=['clientHeight','374564obKJWh','888363XgRHGy','isActive','258820gXFsCl','ck-annotation-wrapper','bindTemplate','first','setTemplate','destroy','fire','detach','presentation','set','targetRect','div','510560EjyoHy','151270JTcAFf','listenTo','5lfalFQ','222OtoFtq','type','99jguPmh','height','arrowdown','2HOCpnY','clear','mainView','createCollection','length','ck-annotation-wrapper--active','focusTracker','render','arrowup','ck-rounded-corners','add','focus','Esc','35899EZDXla','attach','_updateHeight','keystrokes','isDirty','delegate','element','2216733uLloiw','content','_mutationObserver'];_0x5229=function(){return _0x67fbc4;};return _0x5229();}import{FocusTracker as _0x4c1c6e,KeystrokeHandler as _0x4ba343,uid as _0x39b5fa}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3d7473}from'../../utils/createmutationobserver.js';function _0x3205(_0x1c80b0,_0x1d66b6){const _0x522949=_0x5229();return _0x3205=function(_0x3205b8,_0x289f63){_0x3205b8=_0x3205b8-0x141;let _0x299c13=_0x522949[_0x3205b8];return _0x299c13;},_0x3205(_0x1c80b0,_0x1d66b6);}import'../../../theme/annotation.css';export class AnnotationView extends _0x577c4d{[_0x55dc28(0x152)];['id'];[_0x55dc28(0x15c)];[_0x55dc28(0x161)];[_0x55dc28(0x14e)];[_0x55dc28(0x162)];constructor(_0x27c5a8,_0x55f4d8){const _0x171da3=_0x55dc28;super(_0x27c5a8),this['id']=_0x39b5fa(),this[_0x171da3(0x152)]=new _0x4c1c6e(),this[_0x171da3(0x15c)]=new _0x4ba343(),this[_0x171da3(0x15c)][_0x171da3(0x170)](_0x171da3(0x158),(_0x17a484,_0x2326c1)=>this[_0x171da3(0x16d)](_0x171da3(0x158),_0x2326c1)),this[_0x171da3(0x170)](_0x171da3(0x141),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x171da3(0x170)](_0x171da3(0x14a),0x0),this[_0x171da3(0x170)](_0x171da3(0x166),!0x1),this[_0x171da3(0x170)](_0x171da3(0x15d),!0x1),this[_0x171da3(0x170)](_0x171da3(0x150),0x0),this[_0x171da3(0x170)](_0x171da3(0x148),''),this[_0x171da3(0x162)]=_0x3d7473(()=>this[_0x171da3(0x15b)]()),this[_0x171da3(0x161)]=this[_0x171da3(0x14f)](),this[_0x171da3(0x161)][_0x171da3(0x15e)](_0x171da3(0x154),_0x171da3(0x14b))['to'](this),this[_0x171da3(0x161)][_0x171da3(0x156)](_0x55f4d8),this[_0x171da3(0x14e)]=_0x55f4d8;const _0x16d315=this[_0x171da3(0x169)];this[_0x171da3(0x16b)]({'tag':_0x171da3(0x142),'attributes':{'class':['ck',_0x171da3(0x168),_0x171da3(0x155),_0x16d315['if'](_0x171da3(0x166),_0x171da3(0x151))],'role':_0x171da3(0x16f)},'children':this[_0x171da3(0x161)]});}[_0x55dc28(0x153)](){const _0xa4880=_0x55dc28;super[_0xa4880(0x153)](),this[_0xa4880(0x152)][_0xa4880(0x156)](this[_0xa4880(0x15f)]),this[_0xa4880(0x15c)][_0xa4880(0x145)](this[_0xa4880(0x15f)]),this[_0xa4880(0x162)][_0xa4880(0x15a)](this[_0xa4880(0x15f)]);}[_0x55dc28(0x16c)](){const _0x33254e=_0x55dc28;this[_0x33254e(0x161)][_0x33254e(0x14d)](),this[_0x33254e(0x15c)][_0x33254e(0x16c)](),this[_0x33254e(0x152)][_0x33254e(0x16c)](),this[_0x33254e(0x162)][_0x33254e(0x16e)](),super[_0x33254e(0x16c)]();}[_0x55dc28(0x157)](){const _0x1e2ad1=_0x55dc28;this[_0x1e2ad1(0x161)][_0x1e2ad1(0x16a)]&&this[_0x1e2ad1(0x161)][_0x1e2ad1(0x16a)][_0x1e2ad1(0x157)]();}[_0x55dc28(0x15b)](){const _0x29bd=_0x55dc28,_0x3864b2=this[_0x29bd(0x15f)][_0x29bd(0x163)];_0x3864b2&&(this[_0x29bd(0x14a)]=_0x3864b2);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3f3594=_0x2c72;(function(_0x2d37ef,_0xb34982){const _0x299e06=_0x2c72,_0x372877=_0x2d37ef();while(!![]){try{const _0x30223c=-parseInt(_0x299e06(0x1c9))/0x1*(-parseInt(_0x299e06(0x1ca))/0x2)+parseInt(_0x299e06(0x1cd))/0x3*(parseInt(_0x299e06(0x1d7))/0x4)+parseInt(_0x299e06(0x1b5))/0x5*(-parseInt(_0x299e06(0x1cf))/0x6)+-parseInt(_0x299e06(0x1b1))/0x7*(-parseInt(_0x299e06(0x1c7))/0x8)+-parseInt(_0x299e06(0x1b6))/0x9+-parseInt(_0x299e06(0x1bc))/0xa*(-parseInt(_0x299e06(0x1b2))/0xb)+parseInt(_0x299e06(0x1d8))/0xc*(parseInt(_0x299e06(0x1b4))/0xd);if(_0x30223c===_0xb34982)break;else _0x372877['push'](_0x372877['shift']());}catch(_0x28a3db){_0x372877['push'](_0x372877['shift']());}}}(_0x4062,0xd050e));import{View as _0x4cbcb4}from'ckeditor5/src/ui.js';import{toUnit as _0x37d99c}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x3cbe56}from'../../utils/createmutationobserver.js';function _0x4062(){const _0x225098=['createCollection','bind','208ECtyhh','presentation','383pHuypP','4192tUYHhu','bottom','_mutationObserver','13431sFHkWs','focus','204EQvwUE','ck-sidebar-item--no-animation','height','ck-sidebar-item','arrowdown','clear','updateHeight','_targetTop','1180JyfTmf','84936AzsUZZ','setTemplate','set','32137RncUMc','22mUvyhI','delegate','2119itHZuV','225905PNnfTY','10824957GiNBlO','element','destroy','arrowup','content','isAnimationDisabled','978130eHAeUF','first','attach','detach','bindTemplate','top','render','clientHeight','div'];_0x4062=function(){return _0x225098;};return _0x4062();}function _0x2c72(_0x264458,_0x2f7047){const _0x406228=_0x4062();return _0x2c72=function(_0x2c72bb,_0x52c3aa){_0x2c72bb=_0x2c72bb-0x1b1;let _0x18d4cd=_0x406228[_0x2c72bb];return _0x18d4cd;},_0x2c72(_0x264458,_0x2f7047);}const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x37d99c('px');export class AnnotationsSidebarItemView extends _0x4cbcb4{[_0x3f3594(0x1ba)];[_0x3f3594(0x1d6)];[_0x3f3594(0x1cc)];constructor(_0x45f96b){const _0xddc450=_0x3f3594;super(_0x45f96b),this[_0xddc450(0x1da)](_0xddc450(0x1c1),0x0),this[_0xddc450(0x1da)](_0xddc450(0x1d1),0x0),this[_0xddc450(0x1c6)](_0xddc450(0x1cb))['to'](this,_0xddc450(0x1c1),this,_0xddc450(0x1d1),(_0x207ff8,_0x9c9240)=>_0x207ff8+_0x9c9240),this[_0xddc450(0x1da)](_0xddc450(0x1bb),!0x1),this[_0xddc450(0x1cc)]=_0x3cbe56(()=>this[_0xddc450(0x1d5)]()),this[_0xddc450(0x1d6)]=null,this[_0xddc450(0x1ba)]=this[_0xddc450(0x1c5)](),this[_0xddc450(0x1ba)][_0xddc450(0x1b3)](_0xddc450(0x1b9),_0xddc450(0x1d3))['to'](this);const _0x536520=this[_0xddc450(0x1c0)];this[_0xddc450(0x1d9)]({'tag':_0xddc450(0x1c4),'attributes':{'class':[_0xddc450(0x1d2),_0x536520['to'](_0xddc450(0x1bb),_0x448e8f=>_0x448e8f?_0xddc450(0x1d0):'')],'style':{'top':_0x536520['to'](_0xddc450(0x1c1),_0x469810=>Ht(_0x469810))},'role':_0xddc450(0x1c8)},'children':this[_0xddc450(0x1ba)]});}[_0x3f3594(0x1c2)](){const _0x5a98b0=_0x3f3594;super[_0x5a98b0(0x1c2)](),this[_0x5a98b0(0x1cc)][_0x5a98b0(0x1be)](this[_0x5a98b0(0x1b7)]);}[_0x3f3594(0x1ce)](){const _0x22b0d2=_0x3f3594;this[_0x22b0d2(0x1ba)][_0x22b0d2(0x1bd)]&&this[_0x22b0d2(0x1ba)][_0x22b0d2(0x1bd)][_0x22b0d2(0x1ce)]();}[_0x3f3594(0x1d5)](){const _0x4d1bfc=_0x3f3594,_0x1a1326=this[_0x4d1bfc(0x1b7)][_0x4d1bfc(0x1c3)];_0x1a1326&&(this[_0x4d1bfc(0x1d1)]=_0x1a1326);}[_0x3f3594(0x1b8)](){const _0x3a2cac=_0x3f3594;this[_0x3a2cac(0x1ba)][_0x3a2cac(0x1d4)](),this[_0x3a2cac(0x1cc)][_0x3a2cac(0x1bf)](),super[_0x3a2cac(0x1b8)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1176fb=_0x3bae;(function(_0x1bfe85,_0x3a1f81){const _0xafe95=_0x3bae,_0x33f9cc=_0x1bfe85();while(!![]){try{const _0x1680a2=-parseInt(_0xafe95(0x1d4))/0x1*(-parseInt(_0xafe95(0x1dc))/0x2)+parseInt(_0xafe95(0x1db))/0x3*(parseInt(_0xafe95(0x1ba))/0x4)+parseInt(_0xafe95(0x1d3))/0x5+parseInt(_0xafe95(0x1d1))/0x6+-parseInt(_0xafe95(0x1c4))/0x7+parseInt(_0xafe95(0x1d2))/0x8*(-parseInt(_0xafe95(0x1c3))/0x9)+-parseInt(_0xafe95(0x1e2))/0xa;if(_0x1680a2===_0x3a1f81)break;else _0x33f9cc['push'](_0x33f9cc['shift']());}catch(_0x29f4b5){_0x33f9cc['push'](_0x33f9cc['shift']());}}}(_0x2758,0x1e55b));import{View as _0x5a2e58,FocusCycler as _0xe32c51}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3925f9,toUnit as _0x53aad8}from'ckeditor5/src/utils.js';function _0x3bae(_0x27056c,_0x598057){const _0x275829=_0x2758();return _0x3bae=function(_0x3bae61,_0x520d9a){_0x3bae61=_0x3bae61-0x1b7;let _0xa1d2bb=_0x275829[_0x3bae61];return _0xa1d2bb;},_0x3bae(_0x27056c,_0x598057);}import{getTranslation as _0x192aad}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x2758(){const _0x454780=['arrowdown','minHeight','arrowup','bindTemplate','render','focusPrevious','setTemplate','9XlNWhI','890799nrSEXE','focus','getIndex','focusCycler','removed','div','length','_updateItemPositionInFocusables','listenTo','change:top','element','added','uiLanguageDirection','402714XfJDWP','310856ELCMBn','282530CKgBUG','19328ZWqqlt','source','ck-sidebar','remove','focusTracker','add','application','600906fIxhKo','10zkxNKa','_setupKeyboardNavigation','set','top','ck-reset','Annotations\x20sidebar','1302020jadxTM','change','delegate','list','focusFirst','focusables','forEach','focusNext','createCollection','class','Annotations\x20list','4OJjeKK','number'];_0x2758=function(){return _0x454780;};return _0x2758();}const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x53aad8('px');export class AnnotationsSidebarView extends _0x5a2e58{[_0x1176fb(0x1e5)];[_0x1176fb(0x1e7)];[_0x1176fb(0x1d8)];[_0x1176fb(0x1c7)];constructor(_0x8c87bb){const _0x584155=_0x1176fb;super(_0x8c87bb);const _0xba8e1d=this[_0x584155(0x1bf)];this[_0x584155(0x1de)](_0x584155(0x1bd),0x0),this[_0x584155(0x1de)](_0x584155(0x1b8),''),this[_0x584155(0x1e5)]=this[_0x584155(0x1b7)](),this[_0x584155(0x1e7)]=this[_0x584155(0x1b7)](),this[_0x584155(0x1e5)][_0x584155(0x1e4)](_0x584155(0x1be),_0x584155(0x1bc))['to'](this),this[_0x584155(0x1d8)]=new _0x3925f9(),this[_0x584155(0x1c7)]=new _0xe32c51({'focusables':this[_0x584155(0x1e7)],'focusTracker':this[_0x584155(0x1d8)]}),this[_0x584155(0x1c2)]({'tag':_0x584155(0x1c9),'attributes':{'class':['ck',_0x584155(0x1d6),_0x584155(0x1e0),_0xba8e1d['to'](_0x584155(0x1b8))],'style':{'minHeight':_0xba8e1d['to'](_0x584155(0x1bd),_0x32fa7c=>_0x584155(0x1bb)==typeof _0x32fa7c?Ht(_0x32fa7c+0xa):null)},'dir':_0x8c87bb[_0x584155(0x1d0)],'role':_0x584155(0x1da),'aria-label':_0x192aad(_0x8c87bb,_0x584155(0x1e1)),'tabindex':0x0},'children':[{'tag':_0x584155(0x1c9),'attributes':{'role':_0x584155(0x1e5),'aria-label':_0x192aad(_0x8c87bb,_0x584155(0x1b9))},'children':this[_0x584155(0x1e5)]}]});}[_0x1176fb(0x1c0)](){const _0x27efe6=_0x1176fb;super[_0x27efe6(0x1c0)](),this[_0x27efe6(0x1dd)]();}[_0x1176fb(0x1c5)](){const _0x58339d=_0x1176fb;this[_0x58339d(0x1c7)][_0x58339d(0x1e6)]();}[_0x1176fb(0x1dd)](){const _0x165481=_0x1176fb;this[_0x165481(0x1e5)][_0x165481(0x1e4)](_0x165481(0x1cd))['to'](this),this['on'](_0x165481(0x1cd),_0x282dfe=>{const _0x18fd5f=_0x165481;this[_0x18fd5f(0x1cb)](_0x282dfe[_0x18fd5f(0x1d5)]);}),this[_0x165481(0x1e5)][_0x165481(0x1e8)](_0x4620b5=>{const _0x14cacf=_0x165481;this[_0x14cacf(0x1d8)][_0x14cacf(0x1d9)](_0x4620b5[_0x14cacf(0x1ce)]),this[_0x14cacf(0x1cb)](_0x4620b5);}),this[_0x165481(0x1e5)]['on'](_0x165481(0x1e3),(_0x119729,_0x4be21f)=>{const _0x517bfe=_0x165481;for(const _0x4a1981 of _0x4be21f[_0x517bfe(0x1c8)])this[_0x517bfe(0x1d8)][_0x517bfe(0x1d7)](_0x4a1981[_0x517bfe(0x1ce)]),this[_0x517bfe(0x1e7)][_0x517bfe(0x1d7)](_0x4a1981);for(const _0x43ee6f of _0x4be21f[_0x517bfe(0x1cf)])this[_0x517bfe(0x1d8)][_0x517bfe(0x1d9)](_0x43ee6f[_0x517bfe(0x1ce)]),this[_0x517bfe(0x1cb)](_0x43ee6f);}),this['on'](_0x165481(0x1be),()=>{const _0x2b75c0=_0x165481;this[_0x2b75c0(0x1c7)][_0x2b75c0(0x1c1)]();}),this['on'](_0x165481(0x1bc),()=>{const _0x59073b=_0x165481;this[_0x59073b(0x1c7)][_0x59073b(0x1e9)]();}),this[_0x165481(0x1cc)](this[_0x165481(0x1ce)],_0x165481(0x1c5),()=>{const _0x55c5bf=_0x165481;this[_0x55c5bf(0x1c5)]();});}[_0x1176fb(0x1cb)](_0x491c91){const _0xc0fff2=_0x1176fb,_0x27449a=this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1c6)](_0x491c91);let _0x5d905b,_0x14c7d1;for(const _0x286b1b of this[_0xc0fff2(0x1e7)])if(_0x491c91[_0xc0fff2(0x1df)]<_0x286b1b[_0xc0fff2(0x1df)]){_0x5d905b=_0x286b1b;break;}if(_0x14c7d1=_0x5d905b?this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1c6)](_0x5d905b):this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1ca)],-0x1!==_0x27449a){if(_0x27449a===_0x14c7d1-0x1)return;this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1d7)](_0x491c91),_0x14c7d1=_0x5d905b?this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1c6)](_0x5d905b):this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1ca)];}this[_0xc0fff2(0x1e7)][_0xc0fff2(0x1d9)](_0x491c91,_0x14c7d1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2817f9=_0x39f4;(function(_0x390ec,_0xe26c9e){const _0x5a39c4=_0x39f4,_0x3a3b91=_0x390ec();while(!![]){try{const _0x40fd8c=-parseInt(_0x5a39c4(0xa8))/0x1+parseInt(_0x5a39c4(0xb4))/0x2*(-parseInt(_0x5a39c4(0x9e))/0x3)+-parseInt(_0x5a39c4(0xa2))/0x4+-parseInt(_0x5a39c4(0x83))/0x5*(-parseInt(_0x5a39c4(0x84))/0x6)+-parseInt(_0x5a39c4(0xb7))/0x7*(parseInt(_0x5a39c4(0x99))/0x8)+parseInt(_0x5a39c4(0x9f))/0x9*(-parseInt(_0x5a39c4(0x8a))/0xa)+-parseInt(_0x5a39c4(0xb8))/0xb*(-parseInt(_0x5a39c4(0x97))/0xc);if(_0x40fd8c===_0xe26c9e)break;else _0x3a3b91['push'](_0x3a3b91['shift']());}catch(_0x2dd525){_0x3a3b91['push'](_0x3a3b91['shift']());}}}(_0x4571,0xf22f8));function _0x39f4(_0x3212b1,_0x433552){const _0x4571d0=_0x4571();return _0x39f4=function(_0x39f4d0,_0x29055f){_0x39f4d0=_0x39f4d0-0x74;let _0x4d4923=_0x4571d0[_0x39f4d0];return _0x4d4923;},_0x39f4(_0x3212b1,_0x433552);}function _0x4571(){const _0x4c2ed9=['_destroyEditorAnnotationsIntegration','ready','getOrderedSelectedAnnotations','detach','isAttached','listenTo','high','off','isOfficialPlugin','225bGoWkw','167574JKXkdq','isPremiumPlugin','WideSidebar','widesidebar-detach-not-attached','resize','rearrange','1564670csPzUV','_integrateWithEditorAnnotations','setActiveAnnotation','plugins','_attachToContainer','remove','destroy','_activeAnnotation','updateTargetRect','add','switchTo','annotations','activeAnnotation','60WUAoSd','get','8476360VIuwrU','requires','hasDomSelection','_annotations','focus','1563kxduor','90MgLuKa','removeEventListener','blur','2771572uGuizZ','set','_detachFromContainer','_editorAnnotations','uiUpdate','pluginName','176892iKeEyu','addEventListener','stop','has','from','wideSidebar','attach','EditorAnnotations','context','refreshPositioning','cancel','_refreshPositioningDebounced','3716XobnDk','refreshVisibility','change:container','7lnbNcD','9233851fCwRUM','editors','set:container','ck-sidebar--wide','register','stopListening','container','addAnnotation','widesidebar-attach-already-attached','init','refresh','Annotations'];_0x4571=function(){return _0x4c2ed9;};return _0x4571();}import{ContextPlugin as _0x3a097b,Context as _0x3129ae}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x132d81}from'./annotationsuis.js';import{Sidebar as _0x98513f}from'./sidebar.js';import{CKEditorError as _0x3a6947,Collection as _0x48f074}from'ckeditor5/src/utils.js';import{debounce as _0x4f7578}from'es-toolkit/compat';export class WideSidebar extends _0x3a097b{[_0x2817f9(0x7e)];[_0x2817f9(0x95)];[_0x2817f9(0xa5)];[_0x2817f9(0xb3)];static get[_0x2817f9(0x9a)](){return[_0x98513f,_0x132d81];}static get[_0x2817f9(0xa7)](){const _0x2e5bef=_0x2817f9;return _0x2e5bef(0x86);}static get[_0x2817f9(0x82)](){return!0x0;}static get[_0x2817f9(0x85)](){return!0x0;}constructor(_0x1e0dc1){const _0xca9ceb=_0x2817f9;super(_0x1e0dc1),this[_0xca9ceb(0x7e)]=!0x1,this[_0xca9ceb(0xa3)](_0xca9ceb(0x96),null),this[_0xca9ceb(0x95)]=null,this[_0xca9ceb(0xa5)]=new _0x48f074(),this[_0xca9ceb(0xb3)]=_0x4f7578(()=>{const _0x2eb2f=_0xca9ceb;_0x1e0dc1[_0x2eb2f(0x8d)][_0x2eb2f(0x98)](_0x2eb2f(0x79))[_0x2eb2f(0xb5)](),this[_0x2eb2f(0x95)][_0x2eb2f(0xb1)]();},0xfa,{'leading':!0x1});}[_0x2817f9(0x77)](){const _0xb64eab=_0x2817f9,_0x363380=this[_0xb64eab(0xb0)][_0xb64eab(0x8d)][_0xb64eab(0x98)](_0x132d81),_0x4f390e=this[_0xb64eab(0xb0)][_0xb64eab(0x8d)][_0xb64eab(0x98)](_0x98513f);_0x363380[_0xb64eab(0xbc)](_0xb64eab(0xad),this),_0x4f390e[_0xb64eab(0x74)]&&_0x363380[_0xb64eab(0x94)](_0xb64eab(0xad));}[_0x2817f9(0x8c)](_0x525284){const _0x56c043=_0x2817f9;if(_0x525284===this[_0x56c043(0x96)])return;const _0x4486fc=this[_0x56c043(0xb0)][_0x56c043(0x8d)][_0x56c043(0x98)](_0x98513f);_0x4486fc[_0x56c043(0x91)]=_0x525284;const _0x208c0b=this[_0x56c043(0x96)];_0x4486fc[_0x56c043(0x78)]({'blurredAnnotation':_0x208c0b,'activatedAnnotation':_0x525284}),this[_0x56c043(0x96)]=_0x525284;}[_0x2817f9(0xae)](_0x55c097){const _0x2849aa=_0x2817f9;this[_0x2849aa(0x95)]=_0x55c097;const _0x4cc598=this[_0x2849aa(0xb0)][_0x2849aa(0x8d)][_0x2849aa(0x98)](_0x98513f);if(_0x4cc598[_0x2849aa(0x9c)]=_0x55c097,this[_0x2849aa(0x7e)])throw new _0x3a6947(_0x2849aa(0x76),this);this[_0x2849aa(0x7e)]=!0x0,this[_0x2849aa(0x7f)](_0x4cc598,_0x2849aa(0xba),()=>{const _0x5f396d=_0x2849aa;this[_0x5f396d(0x7d)](),this[_0x5f396d(0x7f)](_0x4cc598,_0x5f396d(0xb6),_0x605a50=>{const _0x3cf0de=_0x5f396d;_0x605a50[_0x3cf0de(0x81)](),this[_0x3cf0de(0xae)](_0x55c097);});}),_0x4cc598[_0x2849aa(0x8e)]({'viewClass':_0x2849aa(0xbb)});const _0x311e26=_0x400eac=>{const _0x32d869=_0x2849aa;_0x400eac[_0x32d869(0x92)](),_0x4cc598[_0x32d869(0x75)](_0x400eac);};for(const _0x4fc01a of _0x55c097)_0x311e26(_0x4fc01a);this[_0x2849aa(0x7f)](_0x55c097,_0x2849aa(0x93),(_0x50fc8b,_0x143c7e)=>{_0x311e26(_0x143c7e);}),this[_0x2849aa(0x7f)](_0x55c097,_0x2849aa(0x8f),(_0x28258d,_0x14dcea,_0x11c4a5)=>{const _0x24ca35=_0x2849aa;_0x4cc598[_0x24ca35(0x89)]({'removedAnnotation':_0x14dcea,'previousAnnotation':_0x55c097[_0x24ca35(0x98)](_0x11c4a5-0x1),'nextAnnotation':_0x55c097[_0x24ca35(0x98)](_0x11c4a5+0x1)}),_0x14dcea===this[_0x24ca35(0x96)]&&this[_0x24ca35(0x8c)](null);},{'priority':_0x2849aa(0x80)}),this[_0x2849aa(0x7f)](_0x55c097,_0x2849aa(0x9d),(_0x426aaa,_0x2613cc)=>{const _0x4728fc=_0x2849aa;this[_0x4728fc(0x8c)](_0x2613cc);}),this[_0x2849aa(0x7f)](_0x55c097,_0x2849aa(0xa1),()=>{const _0xcd6bc3=_0x2849aa;this[_0xcd6bc3(0x8c)](null);});const _0x143651=this[_0x2849aa(0xb0)]instanceof _0x3129ae?this[_0x2849aa(0xb0)][_0x2849aa(0xb9)]:new _0x48f074([this[_0x2849aa(0xb0)]]);for(const _0x115b83 of _0x143651)this[_0x2849aa(0x8b)](_0x115b83);this[_0x2849aa(0x7f)](_0x143651,_0x2849aa(0x93),(_0x297b1d,_0x28a121)=>{const _0x5867ba=_0x2849aa;this[_0x5867ba(0x7f)](_0x28a121,_0x5867ba(0x7b),()=>{const _0x48beba=_0x5867ba;this[_0x48beba(0x8b)](_0x28a121);});}),this[_0x2849aa(0x7f)](_0x143651,_0x2849aa(0x8f),(_0x7deccb,_0x2db403)=>{const _0x36170e=_0x2849aa;_0x2db403[_0x36170e(0x8d)][_0x36170e(0xab)](_0x36170e(0xaf))&&this[_0x36170e(0x7a)](_0x2db403[_0x36170e(0x8d)][_0x36170e(0x98)](_0x36170e(0xaf)));}),window[_0x2849aa(0xa9)](_0x2849aa(0x88),this[_0x2849aa(0xb3)]),this[_0x2849aa(0xb0)][_0x2849aa(0x8d)][_0x2849aa(0x98)](_0x2849aa(0x79))[_0x2849aa(0xb5)](),this[_0x2849aa(0x95)][_0x2849aa(0xb1)]();}[_0x2817f9(0x7d)](){const _0x5171bd=_0x2817f9;if(!this[_0x5171bd(0x7e)])throw new _0x3a6947(_0x5171bd(0x87),this);this[_0x5171bd(0x8c)](null);const _0x41c439=this[_0x5171bd(0xb0)][_0x5171bd(0x8d)][_0x5171bd(0x98)](_0x98513f);_0x41c439[_0x5171bd(0xa4)](this[_0x5171bd(0x95)]),this[_0x5171bd(0xbd)](_0x41c439),this[_0x5171bd(0xbd)](this[_0x5171bd(0x95)]),this[_0x5171bd(0xb0)]instanceof _0x3129ae&&this[_0x5171bd(0xbd)](this[_0x5171bd(0xb0)][_0x5171bd(0xb9)]);for(const _0x462a25 of Array[_0x5171bd(0xac)](this[_0x5171bd(0xa5)]))this[_0x5171bd(0x7a)](_0x462a25);window[_0x5171bd(0xa0)](_0x5171bd(0x88),this[_0x5171bd(0xb3)]),this[_0x5171bd(0xb3)][_0x5171bd(0xb2)](),this[_0x5171bd(0x96)]=null,this[_0x5171bd(0x7e)]=!0x1,this[_0x5171bd(0x95)]=null;}[_0x2817f9(0x90)](){const _0x2c5cd9=_0x2817f9;this[_0x2c5cd9(0x7e)]&&this[_0x2c5cd9(0x7d)]();}[_0x2817f9(0x8b)](_0xfd804e){const _0x557e7f=_0x2817f9;if(!_0xfd804e[_0x557e7f(0x8d)][_0x557e7f(0xab)](_0x557e7f(0xaf)))return;const _0x4ea5f2=_0xfd804e[_0x557e7f(0x8d)][_0x557e7f(0x98)](_0x557e7f(0xaf)),_0x278452=()=>{const _0x4affeb=_0x557e7f,_0x50e97f=_0x4ea5f2[_0x4affeb(0x7c)]({'annotations':this[_0x4affeb(0x95)],'activeAnnotation':this[_0x4affeb(0x96)]});this[_0x4affeb(0x8c)](_0x50e97f[0x0]||null);};this[_0x557e7f(0x7f)](_0x4ea5f2,_0x557e7f(0x78),_0x278452),this[_0x557e7f(0x7f)](_0x4ea5f2,_0x557e7f(0xa1),(_0x1fb689,{isAnnotationTracked:_0x576c7c})=>{const _0x33f9e8=_0x557e7f;this[_0x33f9e8(0x96)]&&_0x576c7c(this[_0x33f9e8(0x96)])&&this[_0x33f9e8(0x8c)](null);}),this[_0x557e7f(0x7f)](_0x4ea5f2,_0x557e7f(0xa6),()=>{const _0x125ddf=_0x557e7f;this[_0x125ddf(0xb3)]();}),this[_0x557e7f(0x7f)](this[_0x557e7f(0x95)],_0x557e7f(0xa1),_0x181789=>{const _0x23f3ef=_0x557e7f;_0x4ea5f2[_0x23f3ef(0x9b)]()&&(_0x278452(),_0x181789[_0x23f3ef(0xaa)]());},{'priority':_0x557e7f(0x80)}),this[_0x557e7f(0xa5)][_0x557e7f(0x93)](_0x4ea5f2);}[_0x2817f9(0x7a)](_0x4a6e99){const _0x1958d=_0x2817f9;this[_0x1958d(0xbd)](_0x4a6e99),this[_0x1958d(0xa5)][_0x1958d(0x8f)](_0x4a6e99);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3eabe1=_0x1013;(function(_0x587e41,_0x4e7a5b){const _0xc28600=_0x1013,_0x556d2b=_0x587e41();while(!![]){try{const _0x18bf1f=parseInt(_0xc28600(0xc3))/0x1+parseInt(_0xc28600(0xd6))/0x2*(-parseInt(_0xc28600(0xd4))/0x3)+parseInt(_0xc28600(0xd2))/0x4+-parseInt(_0xc28600(0xca))/0x5*(parseInt(_0xc28600(0xa7))/0x6)+-parseInt(_0xc28600(0xb0))/0x7*(-parseInt(_0xc28600(0xd3))/0x8)+parseInt(_0xc28600(0xd5))/0x9+-parseInt(_0xc28600(0xba))/0xa;if(_0x18bf1f===_0x4e7a5b)break;else _0x556d2b['push'](_0x556d2b['shift']());}catch(_0x392837){_0x556d2b['push'](_0x556d2b['shift']());}}}(_0x337e,0x7db2a));import{Command as _0x21c113}from'ckeditor5/src/core.js';function _0x337e(){const _0x39b33d=['end','comment:','substr','5010570ERUQUL','addcommentthreadcommand-incorrect-ranges','set','isEnabled','change','createRange','editor','addCommentThread','Users','717405WCiDlH','item','_trimToContent','hasContent','_hasContent','isObject','document','10IYjdqJ','addcommentthreadcommand-user-not-found','getRanges','collaboration.channelId','getItems','start','config','execute','2705388ABBxUp','5176rGYyqI','36699zPXviI','1634112duHjvV','16lqPKPL','get','addMarker','length','getLastMatchingPosition','_createMarkersFromRanges','1716534fULwsf','CommentsRepository','$textProxy','backward','plugins','schema','from','selection','model','1197OcwbZD','push','element','_createCommentThread','tableCell','refresh','_itemIsContent'];_0x337e=function(){return _0x39b33d;};return _0x337e();}import{uid as _0x42db3d,CKEditorError as _0x1f8a2e}from'ckeditor5/src/utils.js';function _0x1013(_0x2bb3f2,_0x2e2f8e){const _0x337e43=_0x337e();return _0x1013=function(_0x1013f4,_0x5beb4c){_0x1013f4=_0x1013f4-0xa2;let _0x59229f=_0x337e43[_0x1013f4];return _0x59229f;},_0x1013(_0x2bb3f2,_0x2e2f8e);}export class AddCommentThreadCommand extends _0x21c113{constructor(_0x3c6965){const _0x319e30=_0x1013;super(_0x3c6965),this[_0x319e30(0xbc)](_0x319e30(0xc6),!0x1);}[_0x3eabe1(0xb5)](){const _0x5c09c7=_0x3eabe1,_0x1fbd2b=this[_0x5c09c7(0xc0)][_0x5c09c7(0xaf)][_0x5c09c7(0xc9)][_0x5c09c7(0xae)];this[_0x5c09c7(0xbd)]=!0x0,this[_0x5c09c7(0xc6)]=!0x1;for(const _0x50053d of _0x1fbd2b[_0x5c09c7(0xcc)]())if(this[_0x5c09c7(0xc7)](_0x50053d))return void(this[_0x5c09c7(0xc6)]=!0x0);}[_0x3eabe1(0xd1)]({threadId:_0x2d8704=_0x42db3d(),ranges:_0x476593,comment:_0x230fa8}={}){const _0x1578a4=_0x3eabe1,_0x425ac1=this[_0x1578a4(0xc0)][_0x1578a4(0xaf)],_0x156ee8=_0x476593??Array[_0x1578a4(0xad)](_0x425ac1[_0x1578a4(0xc9)][_0x1578a4(0xae)][_0x1578a4(0xcc)]()),_0x2dae2a=[];for(const _0xafd01d of _0x156ee8)this[_0x1578a4(0xc7)](_0xafd01d)&&_0x2dae2a[_0x1578a4(0xb1)](this[_0x1578a4(0xc5)](_0xafd01d));if(!_0x2dae2a[_0x1578a4(0xa4)])throw new _0x1f8a2e(_0x1578a4(0xbb),null);_0x230fa8&&this[_0x1578a4(0xb3)](_0x2d8704,_0x230fa8),this[_0x1578a4(0xa6)](_0x2d8704,_0x2dae2a,!!_0x230fa8);}[_0x3eabe1(0xa6)](_0x484d7d,_0x3faae7,_0x198c75){const _0x427bd2=_0x3eabe1;this[_0x427bd2(0xc0)][_0x427bd2(0xaf)][_0x427bd2(0xbe)](_0x201336=>{const _0x4c4528=_0x427bd2;for(const _0x52d05f of _0x3faae7){const _0x13ca42=_0x42db3d()[_0x4c4528(0xb9)](0x1,0x5),_0x18d5a4=_0x4c4528(0xb8)+_0x484d7d+':'+_0x13ca42;_0x201336[_0x4c4528(0xa3)](_0x18d5a4,{'range':_0x52d05f,'usingOperation':_0x198c75,'affectsData':_0x198c75});}});}[_0x3eabe1(0xb3)](_0x114f82,_0x150647){const _0x35c714=_0x3eabe1,_0x5b656f=this[_0x35c714(0xc0)][_0x35c714(0xab)][_0x35c714(0xa2)](_0x35c714(0xa8)),_0x2596a5=this[_0x35c714(0xc0)][_0x35c714(0xd0)][_0x35c714(0xa2)](_0x35c714(0xcd)),_0x15de70=this[_0x35c714(0xc0)][_0x35c714(0xab)][_0x35c714(0xa2)](_0x35c714(0xc2))['me'];if(!_0x15de70)throw new _0x1f8a2e(_0x35c714(0xcb),null);_0x5b656f[_0x35c714(0xc1)]({'threadId':_0x114f82,'channelId':_0x2596a5,'comments':[{'authorId':_0x15de70['id'],'content':_0x150647,'createdAt':new Date(),'attributes':{}}]});}[_0x3eabe1(0xc7)](_0x5acbf6){const _0xecea70=_0x3eabe1;for(const _0x23c348 of _0x5acbf6[_0xecea70(0xce)]())if(this[_0xecea70(0xb6)](_0x23c348))return!0x0;return!0x1;}[_0x3eabe1(0xb6)](_0x589891){const _0x44e3a3=_0x3eabe1;return _0x589891['is'](_0x44e3a3(0xa9))||this[_0x44e3a3(0xc0)][_0x44e3a3(0xaf)][_0x44e3a3(0xac)][_0x44e3a3(0xc8)](_0x589891)&&!_0x589891['is'](_0x44e3a3(0xb2),_0x44e3a3(0xb4));}[_0x3eabe1(0xc5)](_0x35953d){const _0x53ab40=_0x3eabe1,_0x4351ec=_0x15ec07=>!this[_0x53ab40(0xb6)](_0x15ec07[_0x53ab40(0xc4)]),_0x1c3b1d=_0x35953d[_0x53ab40(0xcf)][_0x53ab40(0xa5)](_0x4351ec),_0x145057=_0x35953d[_0x53ab40(0xb7)][_0x53ab40(0xa5)](_0x4351ec,{'direction':_0x53ab40(0xaa)});return this[_0x53ab40(0xc0)][_0x53ab40(0xaf)][_0x53ab40(0xbf)](_0x1c3b1d,_0x145057);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4e21(_0x1484ff,_0x1d1505){const _0x26e15c=_0x26e1();return _0x4e21=function(_0x4e2178,_0x7b610b){_0x4e2178=_0x4e2178-0x130;let _0x47dcf2=_0x26e15c[_0x4e2178];return _0x47dcf2;},_0x4e21(_0x1484ff,_0x1d1505);}function _0x26e1(){const _0x3b755b=['pluginName','get','CommentsArchive','findIndex','context','isVisible','add','change:archivedAt','requires','stopListening','12141704jByDRe','68607xBeomS','activate','addCommentThread','init','archivedAt','800842EGyAKb','has','removeCommentThread','remove','isOfficialPlugin','length','getCommentThread','458996TYSAgo','focus','isPremiumPlugin','3LARcTy','archivedThreads','1699960ubkSty','isActive','plugins','_calculatePosition','collection','211062WhlaED','highest','listenTo','2328666YoNTTJ'];_0x26e1=function(){return _0x3b755b;};return _0x26e1();}const _0x60320e=_0x4e21;(function(_0x322705,_0x49a671){const _0x1c38d3=_0x4e21,_0x1db4a3=_0x322705();while(!![]){try{const _0x2adf64=-parseInt(_0x1c38d3(0x13a))/0x1+-parseInt(_0x1c38d3(0x14b))/0x2+-parseInt(_0x1c38d3(0x144))/0x3*(parseInt(_0x1c38d3(0x141))/0x4)+-parseInt(_0x1c38d3(0x146))/0x5+parseInt(_0x1c38d3(0x14e))/0x6+parseInt(_0x1c38d3(0x135))/0x7+parseInt(_0x1c38d3(0x134))/0x8;if(_0x2adf64===_0x49a671)break;else _0x1db4a3['push'](_0x1db4a3['shift']());}catch(_0x4cb689){_0x1db4a3['push'](_0x1db4a3['shift']());}}}(_0x26e1,0x8760f));import{ContextPlugin as _0x465826}from'ckeditor5/src/core.js';import{Collection as _0x41a86b}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x13f8a8}from'./commentsrepository.js';import{Annotations as _0x39a221}from'../annotations/annotations.js';export class CommentsArchive extends _0x465826{static get[_0x60320e(0x14f)](){const _0x5b417=_0x60320e;return _0x5b417(0x151);}static get[_0x60320e(0x13e)](){return!0x0;}static get[_0x60320e(0x143)](){return!0x0;}static get[_0x60320e(0x132)](){return[_0x13f8a8,_0x39a221];}constructor(_0x5d461f){const _0x63acd6=_0x60320e;super(_0x5d461f),this[_0x63acd6(0x145)]=new _0x41a86b();}[_0x60320e(0x138)](){const _0x1a6025=_0x60320e,_0x4060cb=this[_0x1a6025(0x153)],_0xb85a3=_0x4060cb[_0x1a6025(0x148)][_0x1a6025(0x150)](_0x13f8a8),_0x4e60ef=_0x4060cb[_0x1a6025(0x148)][_0x1a6025(0x150)](_0x39a221);this[_0x1a6025(0x14d)](_0xb85a3,_0x1a6025(0x137),(_0x35b8e3,{threadId:_0x4ce1ad})=>{const _0x3d5c91=_0x1a6025,_0x8649aa=_0xb85a3[_0x3d5c91(0x140)](_0x4ce1ad);_0x8649aa[_0x3d5c91(0x139)]&&this[_0x3d5c91(0x145)][_0x3d5c91(0x130)](_0x8649aa,this[_0x3d5c91(0x149)](_0x8649aa[_0x3d5c91(0x139)])),this[_0x3d5c91(0x14d)](_0x8649aa,_0x3d5c91(0x131),(_0x2b25cb,_0x3c08d6,_0x3aecb9)=>{const _0x299386=_0x3d5c91;_0x3aecb9?this[_0x299386(0x145)][_0x299386(0x13b)](_0x8649aa)||this[_0x299386(0x145)][_0x299386(0x130)](_0x8649aa,this[_0x299386(0x149)](_0x8649aa[_0x299386(0x139)])):this[_0x299386(0x145)][_0x299386(0x13b)](_0x8649aa)&&this[_0x299386(0x145)][_0x299386(0x13d)](_0x8649aa);});}),this[_0x1a6025(0x14d)](_0xb85a3,_0x1a6025(0x13c),(_0x378fb9,{threadId:_0x2f877d})=>{const _0x40b33c=_0x1a6025,_0x289011=_0xb85a3[_0x40b33c(0x140)](_0x2f877d);this[_0x40b33c(0x133)](_0x289011),this[_0x40b33c(0x145)][_0x40b33c(0x13b)](_0x289011)&&this[_0x40b33c(0x145)][_0x40b33c(0x13d)](_0x289011);},{'priority':_0x1a6025(0x14c)}),this[_0x1a6025(0x14d)](_0x4e60ef[_0x1a6025(0x14a)],_0x1a6025(0x142),(_0x3f2910,_0xaeaaa6)=>{const _0xacd60=_0x1a6025;_0xaeaaa6[_0xacd60(0x154)]||(_0xaeaaa6[_0xacd60(0x147)]=!0x0,_0x4e60ef[_0xacd60(0x136)](_0xaeaaa6));});}[_0x60320e(0x149)](_0x278557){const _0x33e370=_0x60320e,_0x2f8314=[...this[_0x33e370(0x145)]][_0x33e370(0x152)](_0x34b336=>_0x34b336[_0x33e370(0x139)]<_0x278557);return _0x2f8314>-0x1?_0x2f8314:this[_0x33e370(0x145)][_0x33e370(0x13f)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1efafc=_0x3d89;(function(_0x560dd2,_0x28a4bb){const _0x2d7864=_0x3d89,_0x120f7a=_0x560dd2();while(!![]){try{const _0x405ff1=-parseInt(_0x2d7864(0x1cd))/0x1+parseInt(_0x2d7864(0x19f))/0x2+parseInt(_0x2d7864(0x1cc))/0x3+parseInt(_0x2d7864(0x1a6))/0x4+-parseInt(_0x2d7864(0x1be))/0x5*(-parseInt(_0x2d7864(0x1b5))/0x6)+-parseInt(_0x2d7864(0x1d1))/0x7*(parseInt(_0x2d7864(0x1a5))/0x8)+-parseInt(_0x2d7864(0x1b8))/0x9*(parseInt(_0x2d7864(0x18d))/0xa);if(_0x405ff1===_0x28a4bb)break;else _0x120f7a['push'](_0x120f7a['shift']());}catch(_0x220858){_0x120f7a['push'](_0x120f7a['shift']());}}}(_0x3536,0xa1d3e));import'../../theme/commentsarchive.css';import{Plugin as _0x4525f9}from'ckeditor5/src/core.js';function _0x3d89(_0x5a2d0e,_0x23613c){const _0x3536cd=_0x3536();return _0x3d89=function(_0x3d8911,_0x3199f0){_0x3d8911=_0x3d8911-0x184;let _0x415bb4=_0x3536cd[_0x3d8911];return _0x415bb4;},_0x3d89(_0x5a2d0e,_0x23613c);}import{IconCommentsArchive as _0x5efbd9}from'ckeditor5/src/icons.js';import{ViewCollection as _0x13b25e,MenuBarMenuListItemButtonView as _0xcaa2e3,ButtonView as _0x77b754,Dialog as _0x22625e,DialogViewPosition as _0x10b58e}from'ckeditor5/src/ui.js';import{getTranslation as _0x47095d}from'../utils/common-translations.js';function _0x3536(){const _0x1ff013=['_addAnnotationToArchive','execute','926724lcbPAk','has','_calculatePosition','push','find','set:isVisible','16LTqPvG','1934092PBPVcA','config','archivedAt','get','init','locale','stopListening','includes','getByInnerView','filter','set','_pendingThreads','isEnabled','channelId','editor','4110kTYkyX','isPremiumPlugin','remove','22383nUPhzH','focusableElements','listenTo','collaboration.channelId','tooltip','add','1005sJZwwW','hide','menuBar:commentsArchive','archivedThreads','view','Dialog','source','CommentsRepository','forEach','_handleNewThread','innerView','COMMENTS_ARCHIVE','pluginName','annotationViews','3784893qTDgXq','279446LglGln','_visibleAnnotations','bind','isOfficialPlugin','2328445ewKETx','splice','indexOf','_hideDialogOnAnnotationEscape','return','isOpen','menuitemcheckbox','length','commentsArchive','commentsArchiveView','collection','2970Rhceib','Annotations','stop','plugins','_toggleDialog','EDITOR_TOP_SIDE','_createCommentsArchiveButton','isOn','requires','componentFactory','escape','findIndex','CommentsArchiveUI','_threadToController','show','isVisible'];_0x3536=function(){return _0x1ff013;};return _0x3536();}import{CommentsArchiveView as _0x587cb8}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x6437b9}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x4525f9{[_0x1efafc(0x18b)];[_0x1efafc(0x1cb)];[_0x1efafc(0x1b1)];static get[_0x1efafc(0x1ca)](){const _0x83c1b7=_0x1efafc;return _0x83c1b7(0x199);}static get[_0x1efafc(0x1d0)](){return!0x0;}static get[_0x1efafc(0x1b6)](){return!0x0;}static get[_0x1efafc(0x195)](){return[_0x6437b9,_0x22625e];}constructor(_0x27d64e){const _0x2b3389=_0x1efafc;super(_0x27d64e),this[_0x2b3389(0x1cb)]=new _0x13b25e(),this[_0x2b3389(0x1b1)]=[];}[_0x1efafc(0x1aa)](){const _0x3c86d1=_0x1efafc,_0x4f085e=this[_0x3c86d1(0x1b4)],_0x205ff5=this[_0x3c86d1(0x185)][_0x3c86d1(0x1cf)](this);_0x4f085e['ui'][_0x3c86d1(0x196)][_0x3c86d1(0x1bd)](_0x3c86d1(0x18a),()=>this[_0x3c86d1(0x193)](_0x77b754,!0x0)),_0x4f085e['ui'][_0x3c86d1(0x196)][_0x3c86d1(0x1bd)](_0x3c86d1(0x1c0),()=>{const _0x5eb92f=_0x3c86d1,_0x27cc17=this[_0x5eb92f(0x193)](_0xcaa2e3);return _0x27cc17[_0x5eb92f(0x1b0)]({'role':_0x5eb92f(0x188)}),_0x27cc17;});const _0x4359e3=_0x4f085e[_0x3c86d1(0x190)][_0x3c86d1(0x1a9)](_0x6437b9),_0x20377a=_0x4f085e[_0x3c86d1(0x190)][_0x3c86d1(0x1a9)](_0x3c86d1(0x18e)),_0x2ca8b5=_0x4f085e[_0x3c86d1(0x190)][_0x3c86d1(0x1a9)](_0x3c86d1(0x1c5));_0x4359e3[_0x3c86d1(0x1c1)][_0x3c86d1(0x1c6)](_0x35a82b=>{const _0x477c4d=_0x3c86d1;this[_0x477c4d(0x1c7)](_0x35a82b);}),this[_0x3c86d1(0x1ba)](_0x4359e3[_0x3c86d1(0x1c1)],_0x3c86d1(0x1bd),(_0x3fa0bf,_0x59c84b)=>{const _0x53ef57=_0x3c86d1;this[_0x53ef57(0x1c7)](_0x59c84b);}),this[_0x3c86d1(0x1ba)](_0x20377a[_0x3c86d1(0x18c)],_0x3c86d1(0x1bd),(_0x843dc,_0x1c339a)=>{const _0x5dcbdb=_0x3c86d1,_0x518370=this[_0x5dcbdb(0x1b1)][_0x5dcbdb(0x1a3)](_0x4a922a=>{const _0x3768b7=_0x5dcbdb,_0x383cce=_0x2ca8b5[_0x3768b7(0x19a)][_0x3768b7(0x1a9)](_0x4a922a);return _0x383cce&&_0x1c339a[_0x3768b7(0x1c8)]===_0x383cce[_0x3768b7(0x1c2)];});if(_0x518370){const _0x4adcf4=this[_0x5dcbdb(0x1a1)](_0x518370[_0x5dcbdb(0x1a8)]);this[_0x5dcbdb(0x19d)](_0x1c339a,_0x4adcf4),this[_0x5dcbdb(0x1b1)][_0x5dcbdb(0x1d2)](this[_0x5dcbdb(0x1b1)][_0x5dcbdb(0x184)](_0x518370),0x1);}}),this[_0x3c86d1(0x1ba)](_0x4359e3[_0x3c86d1(0x1c1)],_0x3c86d1(0x1b7),(_0x431869,_0xf0246f)=>{const _0x394366=_0x3c86d1,_0x40c5b2=_0x4f085e[_0x394366(0x1a7)][_0x394366(0x1a9)](_0x394366(0x1bb));if(!_0x40c5b2||_0xf0246f[_0x394366(0x1b3)]===_0x40c5b2){if(this[_0x394366(0x1b1)][_0x394366(0x1ad)](_0xf0246f))this[_0x394366(0x1b1)][_0x394366(0x1d2)](this[_0x394366(0x1b1)][_0x394366(0x184)](_0xf0246f),0x1);else{const _0xadfa7=_0x2ca8b5[_0x394366(0x19a)][_0x394366(0x1a9)](_0xf0246f),_0x17641b=_0x20377a[_0x394366(0x1ae)](_0xadfa7[_0x394366(0x1c2)]);this[_0x394366(0x1cb)][_0x394366(0x1b7)](_0x17641b[_0x394366(0x1c2)]),this[_0x394366(0x1ac)](_0x17641b),this[_0x394366(0x1ac)](_0x17641b[_0x394366(0x1b9)]);}}}),this[_0x3c86d1(0x1ba)](_0x20377a[_0x3c86d1(0x18c)],_0x3c86d1(0x1bd),(_0x3e674c,_0x5c7bd1)=>{const _0x4c992e=_0x3c86d1;this[_0x4c992e(0x1ba)](_0x5c7bd1,_0x4c992e(0x197),_0x205ff5);}),this[_0x3c86d1(0x1ba)](_0x20377a[_0x3c86d1(0x18c)],_0x3c86d1(0x1b7),(_0x3ae883,_0x335263)=>{const _0x204f60=_0x3c86d1;this[_0x204f60(0x1ac)](_0x335263,_0x204f60(0x197),_0x205ff5);});}[_0x1efafc(0x19d)](_0x2d251e,_0x48aacd){const _0x5c59b7=_0x1efafc;this[_0x5c59b7(0x1ba)](_0x2d251e,_0x5c59b7(0x1a4),_0x253f75=>{const _0x32e43d=_0x5c59b7;_0x253f75[_0x32e43d(0x186)]=!0x1,_0x253f75[_0x32e43d(0x18f)]();}),this[_0x5c59b7(0x1cb)][_0x5c59b7(0x1bd)](_0x2d251e[_0x5c59b7(0x1c2)],_0x48aacd);}[_0x1efafc(0x1c7)](_0x159394){const _0x3abc84=_0x1efafc,_0x1b981d=this[_0x3abc84(0x1b4)][_0x3abc84(0x190)][_0x3abc84(0x1a9)](_0x3abc84(0x1c5)),_0x582d8c=this[_0x3abc84(0x1b4)][_0x3abc84(0x190)][_0x3abc84(0x1a9)](_0x3abc84(0x18e)),_0x5ef7cd=this[_0x3abc84(0x1b4)][_0x3abc84(0x1a7)][_0x3abc84(0x1a9)](_0x3abc84(0x1bb));if(!_0x5ef7cd||_0x159394[_0x3abc84(0x1b3)]===_0x5ef7cd){const _0x1d6792=_0x1b981d[_0x3abc84(0x19a)][_0x3abc84(0x1a9)](_0x159394);if(!_0x1d6792)return void this[_0x3abc84(0x1b1)][_0x3abc84(0x1a2)](_0x159394);const _0x2ebc89=this[_0x3abc84(0x1a1)](_0x159394[_0x3abc84(0x1a8)]),_0x41003e=_0x582d8c[_0x3abc84(0x1ae)](_0x1d6792[_0x3abc84(0x1c2)]);_0x41003e[_0x3abc84(0x19c)]&&_0x582d8c[_0x3abc84(0x1ce)][_0x3abc84(0x1b7)](_0x41003e),this[_0x3abc84(0x19d)](_0x41003e,_0x2ebc89);}}[_0x1efafc(0x1a1)](_0x49edd2){const _0x5e214d=_0x1efafc,_0x58559b=this[_0x5e214d(0x1b4)][_0x5e214d(0x1a7)][_0x5e214d(0x1a9)](_0x5e214d(0x1bb)),_0x25ebb5=[...this[_0x5e214d(0x1b4)][_0x5e214d(0x190)][_0x5e214d(0x1a9)](_0x6437b9)[_0x5e214d(0x1c1)]][_0x5e214d(0x1af)](_0x5aede8=>_0x5aede8[_0x5e214d(0x1b3)]===_0x58559b)[_0x5e214d(0x198)](_0x5b6af3=>_0x5b6af3[_0x5e214d(0x1a8)]<_0x49edd2);return _0x25ebb5<0x0||_0x25ebb5>this[_0x5e214d(0x1cb)][_0x5e214d(0x189)]?this[_0x5e214d(0x1cb)][_0x5e214d(0x189)]:_0x25ebb5-0x1;}[_0x1efafc(0x191)](){const _0x224a89=_0x1efafc,_0x482a74=this[_0x224a89(0x1b4)],_0x1d86ef=_0x482a74[_0x224a89(0x190)][_0x224a89(0x1a9)](_0x224a89(0x1c3));this[_0x224a89(0x18b)]||(this[_0x224a89(0x18b)]=new _0x587cb8(_0x482a74[_0x224a89(0x1ab)],this[_0x224a89(0x1cb)])),_0x224a89(0x18a)===_0x1d86ef['id']?_0x1d86ef[_0x224a89(0x1bf)]():_0x1d86ef[_0x224a89(0x19b)]({'id':_0x224a89(0x18a),'title':_0x47095d(_0x482a74[_0x224a89(0x1ab)],_0x224a89(0x1c9)),'icon':_0x5efbd9,'hasCloseButton':!0x0,'content':this[_0x224a89(0x18b)],'position':_0x10b58e[_0x224a89(0x192)]});}[_0x1efafc(0x193)](_0x122d10,_0xdce976=!0x1){const _0x9a959c=_0x1efafc,_0x5c36c1=this[_0x9a959c(0x1b4)][_0x9a959c(0x1ab)],_0x5f444d=this[_0x9a959c(0x1b4)][_0x9a959c(0x190)][_0x9a959c(0x1a9)](_0x9a959c(0x1c3)),_0x2d8065=new _0x122d10(_0x5c36c1);return _0x2d8065[_0x9a959c(0x1cf)](_0x9a959c(0x1b2))['to'](this,_0x9a959c(0x1b2)),_0x2d8065[_0x9a959c(0x1cf)](_0x9a959c(0x194))['to'](_0x5f444d,'id',_0xb7cfc2=>_0x9a959c(0x18a)===_0xb7cfc2),_0x2d8065[_0x9a959c(0x1b0)]({'label':_0x47095d(_0x5c36c1,_0x9a959c(0x1c9)),'icon':_0x5efbd9,'isToggleable':!0x0}),_0xdce976&&(_0x2d8065[_0x9a959c(0x1bc)]=!0x0),this[_0x9a959c(0x1ba)](_0x2d8065,_0x9a959c(0x19e),()=>this[_0x9a959c(0x191)]()),_0x2d8065;}[_0x1efafc(0x185)]=_0x587409=>{const _0x2fc316=_0x1efafc,_0x57ed92=_0x587409[_0x2fc316(0x1c4)];if(!this[_0x2fc316(0x1cb)][_0x2fc316(0x1a0)](_0x57ed92[_0x2fc316(0x1c2)]))return;const _0x297727=this[_0x2fc316(0x1b4)][_0x2fc316(0x190)][_0x2fc316(0x1a9)](_0x2fc316(0x1c3));_0x297727[_0x2fc316(0x187)]&&_0x2fc316(0x18a)===_0x297727['id']&&(_0x297727[_0x2fc316(0x1bf)](),_0x587409[_0x2fc316(0x18f)]());};}
|