@ckeditor/ckeditor5-comments 45.1.0 → 45.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- 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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3b3522=_0x5e3c;(function(_0x17de8a,_0x202271){const _0x3ac883=_0x5e3c,_0x509195=_0x17de8a();while(!![]){try{const _0x15dc0a=-parseInt(_0x3ac883(0x181))/0x1+parseInt(_0x3ac883(0x18a))/0x2*(-parseInt(_0x3ac883(0x1a1))/0x3)+parseInt(_0x3ac883(0x1b3))/0x4+parseInt(_0x3ac883(0x1c1))/0x5+parseInt(_0x3ac883(0x1ca))/0x6*(parseInt(_0x3ac883(0x1c6))/0x7)+-parseInt(_0x3ac883(0x199))/0x8*(parseInt(_0x3ac883(0x1a8))/0x9)+parseInt(_0x3ac883(0x1ac))/0xa;if(_0x15dc0a===_0x202271)break;else _0x509195['push'](_0x509195['shift']());}catch(_0x1aa3da){_0x509195['push'](_0x509195['shift']());}}}(_0x2ebb,0xe0459));import{ContextPlugin as _0x311cc4}from'ckeditor5/src/core.js';import{Rect as _0x5ba87a,CKEditorError as _0x42e946}from'ckeditor5/src/utils.js';function _0x5e3c(_0x5bed56,_0x38ac08){const _0x2ebb82=_0x2ebb();return _0x5e3c=function(_0x5e3cf8,_0x174bba){_0x5e3cf8=_0x5e3cf8-0x171;let _0xaa8ef1=_0x2ebb82[_0x5e3cf8];return _0xaa8ef1;},_0x5e3c(_0x5bed56,_0x38ac08);}import _0x3c48e5 from'./view/sidebarview.js';function _0x2ebb(){const _0x4ab442=['836772oZpzKd','isOfficialPlugin','_sidebarItemViewToAnnotation','getIndex','change:targetRect','_alignForBottomChange','sidebar-setcontainer-invalid-element','define','_lastItem','Sidebar','destroy','last','unbind','change:_lastItem','280570JBpMpU','get','sidebar-attachtocontainer-missing-container','remove','element','2082563SozHKj','setContainer','_activeAnnotation','_recalculateBuffer','36OEbGfw','listenTo','_destroySidebarItemView','container','class','content','bind','isActive','addAnnotation','sidebar.preventScrollOutOfView','locale','bottom','pluginName','_alignForTopChange','_attachToContainer','_setItemTop','_updateLastItem','clear','528229iIXFRJ','targetRect','target','max','isPremiumPlugin','change:bottom','init','_recalculate','_alignBeforeItem','790858FqrolP','render','appendChild','sidebar.container','length','_getItemAfter','updateHeight','_alignToTargetRect','_annotationToSidebarItemView','_annotations','_alignAfterItem','isAnimationDisabled','rearrange','config','delete','8YxJedO','_spaceBetweenItems','_getTargetTop','_getMaxAvailableTop','object','stopListening','height','refresh','9UoyHaN','_getItemBefore','nodeType','top','_createSidebarView','minHeight','set','14455152ehRUiZ','view','add','push','21889000elnAYX','context','_detachFromContainer','_targetTop','getSidebarItemView','change:top','list'];_0x2ebb=function(){return _0x4ab442;};return _0x2ebb();}import _0x3acd16 from'./view/sidebaritemview.js';export default class z extends _0x311cc4{[_0x3b3522(0x1a9)];[_0x3b3522(0x1c8)];[_0x3b3522(0x193)];[_0x3b3522(0x19a)];[_0x3b3522(0x1b5)];[_0x3b3522(0x192)];[_0x3b3522(0x1c9)];static get[_0x3b3522(0x17b)](){const _0x19c20e=_0x3b3522;return _0x19c20e(0x1bc);}static get[_0x3b3522(0x1b4)](){return!0x0;}static get[_0x3b3522(0x185)](){return!0x0;}constructor(_0x3ff7b8){const _0x4f372a=_0x3b3522;super(_0x3ff7b8),this[_0x4f372a(0x1a7)](_0x4f372a(0x1bb),void 0x0),this[_0x4f372a(0x1a9)]=this[_0x4f372a(0x1a5)](),this[_0x4f372a(0x1a7)](_0x4f372a(0x172),null),this[_0x4f372a(0x19a)]=0x19,this[_0x4f372a(0x1b5)]=new Map(),this[_0x4f372a(0x192)]=new Map(),this[_0x4f372a(0x1ad)][_0x4f372a(0x197)][_0x4f372a(0x1ba)](_0x4f372a(0x178),!0x1),this[_0x4f372a(0x193)]=null,this[_0x4f372a(0x1c8)]=null,this[_0x4f372a(0x1c9)]=[];}[_0x3b3522(0x187)](){const _0xcaf60d=_0x3b3522,_0x1b093c=this[_0xcaf60d(0x1ad)][_0xcaf60d(0x197)][_0xcaf60d(0x1c2)](_0xcaf60d(0x18d));_0x1b093c&&this[_0xcaf60d(0x1c7)](_0x1b093c);}[_0x3b3522(0x1c7)](_0x55b3e0){const _0x46b41d=_0x3b3522;if(!y(_0x55b3e0))throw new _0x42e946(_0x46b41d(0x1b9));this[_0x46b41d(0x172)]=_0x55b3e0;}[_0x3b3522(0x17d)]({viewClass:_0x46e3b2='',spaceBetweenItems:_0x184189=0x19}={}){const _0x34d9b6=_0x3b3522;if(!y(this[_0x34d9b6(0x172)]))throw new _0x42e946(_0x34d9b6(0x1c3),this);this[_0x34d9b6(0x172)][_0x34d9b6(0x18c)](this[_0x34d9b6(0x1a9)][_0x34d9b6(0x1c5)]),this[_0x34d9b6(0x1a9)][_0x34d9b6(0x173)]=_0x46e3b2,this[_0x34d9b6(0x19a)]=_0x184189;}[_0x3b3522(0x196)]({removedAnnotation:_0x4e622c,previousAnnotation:_0x16dd41,nextAnnotation:_0x230a73}){const _0x4009bb=_0x3b3522,_0x2d89cc=this[_0x4009bb(0x1b0)](_0x4e622c);this[_0x4009bb(0x1a9)][_0x4009bb(0x1b2)][_0x4009bb(0x1c4)](_0x2d89cc),this[_0x4009bb(0x171)](_0x4e622c),_0x16dd41&&this[_0x4009bb(0x191)](this[_0x4009bb(0x1b0)](_0x16dd41)),_0x230a73&&this[_0x4009bb(0x191)](this[_0x4009bb(0x1b0)](_0x230a73)),this[_0x4009bb(0x17f)]();}[_0x3b3522(0x1a0)]({blurredAnnotation:_0x23a1ed,activatedAnnotation:_0x5d7b69,disableAnimationOnActivatedAnnotation:_0x152516}){const _0x1815dc=_0x3b3522;if(this[_0x1815dc(0x1c8)]=_0x5d7b69,_0x23a1ed){_0x23a1ed[_0x1815dc(0x176)]=!0x1;const _0x6f9080=this[_0x1815dc(0x1b0)](_0x23a1ed);_0x6f9080&&_0x152516&&(_0x6f9080[_0x1815dc(0x195)]=!0x1);}if(_0x5d7b69){const _0x47e45e=this[_0x1815dc(0x1b0)](_0x5d7b69);_0x47e45e&&(_0x5d7b69[_0x1815dc(0x176)]=!0x0,_0x152516&&(_0x47e45e[_0x1815dc(0x195)]=!0x0,_0x47e45e[_0x1815dc(0x1a4)]+=0x1),this[_0x1815dc(0x191)](_0x47e45e));}}[_0x3b3522(0x1ae)](_0x5754de){const _0x1649f1=_0x3b3522;if(this[_0x1649f1(0x1a9)][_0x1649f1(0x1c5)][_0x1649f1(0x1c4)](),_0x5754de){for(const _0x2f8b5e of _0x5754de)this[_0x1649f1(0x171)](_0x2f8b5e);}this[_0x1649f1(0x1a9)][_0x1649f1(0x1b2)][_0x1649f1(0x180)](),this[_0x1649f1(0x1a9)][_0x1649f1(0x173)]='',this[_0x1649f1(0x1bb)]=null;}[_0x3b3522(0x177)](_0x594f30,_0x2d23bb){const _0x346b6f=_0x3b3522;_0x2d23bb||(_0x2d23bb=_0x594f30[_0x346b6f(0x1a9)]);const _0x4132b8=new _0x3acd16(this[_0x346b6f(0x1ad)][_0x346b6f(0x179)]);this[_0x346b6f(0x1b5)][_0x346b6f(0x1a7)](_0x4132b8,_0x594f30),this[_0x346b6f(0x192)][_0x346b6f(0x1a7)](_0x594f30,_0x4132b8),_0x4132b8[_0x346b6f(0x174)][_0x346b6f(0x1aa)](_0x2d23bb),this[_0x346b6f(0x1cb)](_0x594f30[_0x346b6f(0x1a9)],_0x346b6f(0x1b7),(_0x20dba5,_0x420beb,_0x4faf69)=>{const _0x348b2b=_0x346b6f,_0x34b555=this[_0x348b2b(0x19b)](_0x594f30,_0x4faf69);_0x4132b8[_0x348b2b(0x1af)]!=_0x34b555&&(_0x4132b8[_0x348b2b(0x1af)]=_0x34b555,this[_0x348b2b(0x17e)](_0x4132b8,_0x34b555));}),this[_0x346b6f(0x1cb)](_0x4132b8,_0x346b6f(0x1b1),()=>{const _0x10f83c=_0x346b6f;this[_0x10f83c(0x188)](_0x4132b8,_0x10f83c(0x1a4));}),this[_0x346b6f(0x1cb)](_0x4132b8,_0x346b6f(0x186),()=>{const _0x1961a6=_0x346b6f;this[_0x1961a6(0x188)](_0x4132b8,_0x1961a6(0x17a));}),this[_0x346b6f(0x191)](_0x4132b8);const _0x28c691=this[_0x346b6f(0x1a2)](_0x4132b8);if(_0x28c691)this[_0x346b6f(0x194)](_0x28c691,_0x4132b8)||this[_0x346b6f(0x191)](_0x4132b8);else this[_0x346b6f(0x191)](_0x4132b8);return this[_0x346b6f(0x17f)](),this[_0x346b6f(0x1a9)][_0x346b6f(0x1b2)][_0x346b6f(0x1aa)](_0x4132b8),_0x4132b8;}[_0x3b3522(0x17c)](_0x56b461){const _0x457a32=_0x3b3522;if(!_0x56b461[_0x457a32(0x174)][_0x457a32(0x18e)])return;const _0x45883c=this[_0x457a32(0x1a2)](_0x56b461);if(!_0x45883c)return;const _0x2eb4b1=this[_0x457a32(0x1b5)][_0x457a32(0x1c2)](_0x45883c),_0x880b85=this[_0x457a32(0x1c8)];_0x880b85&&_0x880b85===_0x2eb4b1?this[_0x457a32(0x194)](_0x45883c,_0x56b461):this[_0x457a32(0x189)](_0x56b461,_0x45883c);}[_0x3b3522(0x1b8)](_0x5ecf8a){const _0x22d0f0=_0x3b3522;if(!_0x5ecf8a[_0x22d0f0(0x174)][_0x22d0f0(0x18e)])return;const _0x57a9e8=this[_0x22d0f0(0x18f)](_0x5ecf8a);if(!_0x57a9e8)return;const _0x1c9619=this[_0x22d0f0(0x1b5)][_0x22d0f0(0x1c2)](_0x57a9e8),_0x2429bb=this[_0x22d0f0(0x1ad)][_0x22d0f0(0x197)][_0x22d0f0(0x1c2)](_0x22d0f0(0x178)),_0x296851=this[_0x22d0f0(0x1c8)];_0x296851&&_0x296851===_0x1c9619&&_0x2429bb?(this[_0x22d0f0(0x189)](_0x57a9e8,_0x5ecf8a),this[_0x22d0f0(0x194)](_0x5ecf8a,_0x57a9e8)):_0x296851&&_0x296851===_0x1c9619?this[_0x22d0f0(0x189)](_0x57a9e8,_0x5ecf8a):this[_0x22d0f0(0x194)](_0x5ecf8a,_0x57a9e8);}[_0x3b3522(0x188)](_0xb772c8,_0x3dc30f){const _0x12c1e8=_0x3b3522;0x0===this[_0x12c1e8(0x1c9)][_0x12c1e8(0x18e)]&&setTimeout(()=>{const _0x5023e9=_0x12c1e8;for(const {sidebarItemView:_0x5cea5c,changedProp:_0x5afad2}of this[_0x5023e9(0x1c9)])_0x5023e9(0x1a4)===_0x5afad2?this[_0x5023e9(0x17c)](_0x5cea5c):this[_0x5023e9(0x1b8)](_0x5cea5c);this[_0x5023e9(0x1c9)]=[];},0xa),this[_0x12c1e8(0x1c9)][_0x12c1e8(0x1ab)]({'sidebarItemView':_0xb772c8,'changedProp':_0x3dc30f});}[_0x3b3522(0x1b0)](_0x259be5){const _0xa4ea=_0x3b3522;return this[_0xa4ea(0x192)][_0xa4ea(0x1c2)](_0x259be5);}[_0x3b3522(0x1bd)](){const _0x3e7b74=_0x3b3522;this[_0x3e7b74(0x19e)](),this[_0x3e7b74(0x1a9)][_0x3e7b74(0x1bd)]();}[_0x3b3522(0x171)](_0x1f91c9){const _0x31a6b7=_0x3b3522,_0x1fe74f=this[_0x31a6b7(0x1b0)](_0x1f91c9);this[_0x31a6b7(0x19e)](_0x1fe74f),this[_0x31a6b7(0x19e)](_0x1f91c9[_0x31a6b7(0x1a9)]),_0x1fe74f[_0x31a6b7(0x1bd)](),this[_0x31a6b7(0x192)][_0x31a6b7(0x198)](_0x1f91c9),this[_0x31a6b7(0x1b5)][_0x31a6b7(0x198)](_0x1fe74f);}[_0x3b3522(0x1a5)](){const _0x2ce0f7=_0x3b3522,_0x3348f8=new _0x3c48e5(this[_0x2ce0f7(0x1ad)][_0x2ce0f7(0x179)]);return _0x3348f8[_0x2ce0f7(0x18b)](),this['on'](_0x2ce0f7(0x1c0),(_0xabc4c2,_0x4ca139,_0xe564e0,_0x268500)=>{const _0x3897ac=_0x2ce0f7;_0x268500&&_0x3348f8[_0x3897ac(0x1bf)](_0x3897ac(0x1a6)),_0xe564e0?_0x3348f8[_0x3897ac(0x175)](_0x3897ac(0x1a6))['to'](_0xe564e0,_0x3897ac(0x17a)):_0x3348f8[_0x3897ac(0x1a6)]=null;}),_0x3348f8;}[_0x3b3522(0x17f)](){const _0x42071e=_0x3b3522;this[_0x42071e(0x1bb)]=this[_0x42071e(0x193)]?.[_0x42071e(0x1be)]?this[_0x42071e(0x1b0)](this[_0x42071e(0x193)][_0x42071e(0x1be)]):null;}[_0x3b3522(0x1a2)](_0x44556e){const _0x3b1ebb=_0x3b3522,_0x33bc16=this[_0x3b1ebb(0x1b5)][_0x3b1ebb(0x1c2)](_0x44556e),_0x16062c=_0x33bc16&&this[_0x3b1ebb(0x193)]?.[_0x3b1ebb(0x1c2)](this[_0x3b1ebb(0x193)][_0x3b1ebb(0x1b6)](_0x33bc16)-0x1);return _0x16062c&&this[_0x3b1ebb(0x1b0)](_0x16062c)||null;}[_0x3b3522(0x18f)](_0x4e097b){const _0x1b37f5=_0x3b3522,_0x3321db=this[_0x1b37f5(0x1b5)][_0x1b37f5(0x1c2)](_0x4e097b),_0x2ae59d=_0x3321db&&this[_0x1b37f5(0x193)]?.[_0x1b37f5(0x1c2)](this[_0x1b37f5(0x193)][_0x1b37f5(0x1b6)](_0x3321db)+0x1);return _0x2ae59d&&this[_0x1b37f5(0x1b0)](_0x2ae59d)||null;}[_0x3b3522(0x189)](_0x57cb7f,_0x128388){const _0xcc5d84=_0x3b3522;_0x57cb7f[_0xcc5d84(0x190)]();const _0x22abbc=R(_0x128388[_0xcc5d84(0x17a)]+this[_0xcc5d84(0x19a)],_0x57cb7f[_0xcc5d84(0x1a4)]);return!!_0x22abbc&&(this[_0xcc5d84(0x17e)](_0x128388,_0x128388[_0xcc5d84(0x1a4)]-_0x22abbc),!0x0);}[_0x3b3522(0x194)](_0x478255,_0x400842){const _0x1882d6=_0x3b3522;_0x478255[_0x1882d6(0x190)]();const _0x5f2356=R(_0x478255[_0x1882d6(0x17a)]+this[_0x1882d6(0x19a)],_0x400842[_0x1882d6(0x1a4)]);return!!_0x5f2356&&(this[_0x1882d6(0x17e)](_0x400842,_0x400842[_0x1882d6(0x1a4)]+_0x5f2356,!0x1),!0x0);}[_0x3b3522(0x191)](_0x136142){const _0x71583=_0x3b3522,_0x17eb19=this[_0x71583(0x1b5)][_0x71583(0x1c2)](_0x136142);if(!_0x17eb19||!_0x17eb19[_0x71583(0x183)]||!_0x17eb19[_0x71583(0x182)])return;const _0x43bb3f=this[_0x71583(0x19b)](_0x17eb19,_0x17eb19[_0x71583(0x182)]);this[_0x71583(0x17e)](_0x136142,_0x43bb3f);}[_0x3b3522(0x19b)](_0x3b0cd9,_0x4e9e97){const _0x5d261f=_0x3b3522;if(null===_0x4e9e97)return 0x0;if(_0x3b0cd9[_0x5d261f(0x183)]instanceof _0x5ba87a)return _0x4e9e97[_0x5d261f(0x1a4)];{const _0x4ef4cc=new _0x5ba87a(this[_0x5d261f(0x1a9)][_0x5d261f(0x1c5)])[_0x5d261f(0x1a4)];return _0x4e9e97[_0x5d261f(0x1a4)]-_0x4ef4cc;}}[_0x3b3522(0x17e)](_0x39ce2c,_0x5ba2b6,_0x573005=this[_0x3b3522(0x1ad)][_0x3b3522(0x197)][_0x3b3522(0x1c2)](_0x3b3522(0x178))){const _0x404335=_0x3b3522;_0x573005&&(_0x5ba2b6=Math[_0x404335(0x184)](_0x5ba2b6,this[_0x404335(0x19c)](_0x39ce2c))),_0x39ce2c[_0x404335(0x1a4)]=_0x5ba2b6;}[_0x3b3522(0x19c)](_0x59e540){const _0x300536=_0x3b3522;let _0x1be7bb=this[_0x300536(0x1a2)](_0x59e540),_0x394ad4=0x0;for(;_0x1be7bb;)_0x1be7bb[_0x300536(0x190)](),_0x394ad4+=this[_0x300536(0x19a)]+_0x1be7bb[_0x300536(0x19f)],_0x1be7bb=this[_0x300536(0x1a2)](_0x1be7bb);return _0x394ad4;}}function R(_0x5e16d7,_0x3ae462){const _0x19cbc0=_0x3b3522;return Math[_0x19cbc0(0x184)](_0x5e16d7-_0x3ae462,0x0);}function y(_0x75b8cd){const _0x3fe80e=_0x3b3522;return null!==_0x75b8cd&&_0x3fe80e(0x19d)==typeof _0x75b8cd&&0x1===_0x75b8cd[_0x3fe80e(0x1a3)];}
|
|
23
|
+
const _0x1ed3cb=_0x4b9f;(function(_0x4425b1,_0x2e166a){const _0x2ea0c2=_0x4b9f,_0x4bd874=_0x4425b1();while(!![]){try{const _0x4ec6c0=parseInt(_0x2ea0c2(0x152))/0x1+-parseInt(_0x2ea0c2(0x171))/0x2+parseInt(_0x2ea0c2(0x12a))/0x3+-parseInt(_0x2ea0c2(0x137))/0x4*(-parseInt(_0x2ea0c2(0x147))/0x5)+parseInt(_0x2ea0c2(0x13e))/0x6+parseInt(_0x2ea0c2(0x11a))/0x7*(parseInt(_0x2ea0c2(0x123))/0x8)+-parseInt(_0x2ea0c2(0x169))/0x9;if(_0x4ec6c0===_0x2e166a)break;else _0x4bd874['push'](_0x4bd874['shift']());}catch(_0x35b9d9){_0x4bd874['push'](_0x4bd874['shift']());}}}(_0x1ff5,0x955c6));import{ContextPlugin as _0x36044e}from'ckeditor5/src/core.js';import{Rect as _0x41b0b8,CKEditorError as _0x3bdef9}from'ckeditor5/src/utils.js';import _0x2d6340 from'./view/sidebarview.js';function _0x4b9f(_0x3a3b1f,_0x3f8903){const _0x1ff53e=_0x1ff5();return _0x4b9f=function(_0x4b9fb4,_0x205f68){_0x4b9fb4=_0x4b9fb4-0x118;let _0xec7f5d=_0x1ff53e[_0x4b9fb4];return _0xec7f5d;},_0x4b9f(_0x3a3b1f,_0x3f8903);}function _0x1ff5(){const _0x4f2562=['isActive','change:targetRect','sidebar.container','object','_activeAnnotation','container','_lastItem','_createSidebarView','sidebar.preventScrollOutOfView','change:_lastItem','bottom','getSidebarItemView','_getTargetTop','config','_alignToTargetRect','define','minHeight','getIndex','_recalculateBuffer','length','20547567KdYRVi','sidebar-attachtocontainer-missing-container','nodeType','isPremiumPlugin','push','appendChild','locale','height','958546kbhYiJ','refresh','_annotationToSidebarItemView','271978pZsoRf','targetRect','addAnnotation','bind','isAnimationDisabled','clear','init','unbind','top','40DHEumk','_annotations','_detachFromContainer','_setItemTop','view','max','updateHeight','3475869ZGOYpv','add','Sidebar','_recalculate','sidebar-setcontainer-invalid-element','isOfficialPlugin','_alignAfterItem','element','render','stopListening','list','delete','_getItemBefore','124940RZkZcJ','listenTo','_alignForTopChange','set','content','pluginName','destroy','5402334naOJHM','_updateLastItem','remove','last','context','change:bottom','_alignBeforeItem','_getItemAfter','setContainer','15IbTPfq','_alignForBottomChange','class','target','_attachToContainer','_spaceBetweenItems','rearrange','_sidebarItemViewToAnnotation','_getMaxAvailableTop','get','_destroySidebarItemView','1027131AUHCUY','_targetTop','change:top'];_0x1ff5=function(){return _0x4f2562;};return _0x1ff5();}import _0x54cafa from'./view/sidebaritemview.js';export default class z extends _0x36044e{[_0x1ed3cb(0x127)];[_0x1ed3cb(0x159)];[_0x1ed3cb(0x124)];[_0x1ed3cb(0x14c)];[_0x1ed3cb(0x14e)];[_0x1ed3cb(0x119)];[_0x1ed3cb(0x167)];static get[_0x1ed3cb(0x13c)](){const _0x5502fe=_0x1ed3cb;return _0x5502fe(0x12c);}static get[_0x1ed3cb(0x12f)](){return!0x0;}static get[_0x1ed3cb(0x16c)](){return!0x0;}constructor(_0x5f9d11){const _0x20a0aa=_0x1ed3cb;super(_0x5f9d11),this[_0x20a0aa(0x13a)](_0x20a0aa(0x15b),void 0x0),this[_0x20a0aa(0x127)]=this[_0x20a0aa(0x15c)](),this[_0x20a0aa(0x13a)](_0x20a0aa(0x15a),null),this[_0x20a0aa(0x14c)]=0x19,this[_0x20a0aa(0x14e)]=new Map(),this[_0x20a0aa(0x119)]=new Map(),this[_0x20a0aa(0x142)][_0x20a0aa(0x162)][_0x20a0aa(0x164)](_0x20a0aa(0x15d),!0x1),this[_0x20a0aa(0x124)]=null,this[_0x20a0aa(0x159)]=null,this[_0x20a0aa(0x167)]=[];}[_0x1ed3cb(0x120)](){const _0x4a09fc=_0x1ed3cb,_0x635c89=this[_0x4a09fc(0x142)][_0x4a09fc(0x162)][_0x4a09fc(0x150)](_0x4a09fc(0x157));_0x635c89&&this[_0x4a09fc(0x146)](_0x635c89);}[_0x1ed3cb(0x146)](_0x57bdf5){const _0xec60bc=_0x1ed3cb;if(!y(_0x57bdf5))throw new _0x3bdef9(_0xec60bc(0x12e));this[_0xec60bc(0x15a)]=_0x57bdf5;}[_0x1ed3cb(0x14b)]({viewClass:_0x452a61='',spaceBetweenItems:_0x1d596e=0x19}={}){const _0x510f14=_0x1ed3cb;if(!y(this[_0x510f14(0x15a)]))throw new _0x3bdef9(_0x510f14(0x16a),this);this[_0x510f14(0x15a)][_0x510f14(0x16e)](this[_0x510f14(0x127)][_0x510f14(0x131)]),this[_0x510f14(0x127)][_0x510f14(0x149)]=_0x452a61,this[_0x510f14(0x14c)]=_0x1d596e;}[_0x1ed3cb(0x14d)]({removedAnnotation:_0x171b2a,previousAnnotation:_0x36756f,nextAnnotation:_0x559467}){const _0x543c57=_0x1ed3cb,_0x4d2817=this[_0x543c57(0x160)](_0x171b2a);this[_0x543c57(0x127)][_0x543c57(0x134)][_0x543c57(0x140)](_0x4d2817),this[_0x543c57(0x151)](_0x171b2a),_0x36756f&&this[_0x543c57(0x163)](this[_0x543c57(0x160)](_0x36756f)),_0x559467&&this[_0x543c57(0x163)](this[_0x543c57(0x160)](_0x559467)),this[_0x543c57(0x13f)]();}[_0x1ed3cb(0x118)]({blurredAnnotation:_0x2cf92f,activatedAnnotation:_0x278c64,disableAnimationOnActivatedAnnotation:_0xa80914}){const _0x1c320e=_0x1ed3cb;if(this[_0x1c320e(0x159)]=_0x278c64,_0x2cf92f){_0x2cf92f[_0x1c320e(0x155)]=!0x1;const _0xad8ca7=this[_0x1c320e(0x160)](_0x2cf92f);_0xad8ca7&&_0xa80914&&(_0xad8ca7[_0x1c320e(0x11e)]=!0x1);}if(_0x278c64){const _0x598258=this[_0x1c320e(0x160)](_0x278c64);_0x598258&&(_0x278c64[_0x1c320e(0x155)]=!0x0,_0xa80914&&(_0x598258[_0x1c320e(0x11e)]=!0x0,_0x598258[_0x1c320e(0x122)]+=0x1),this[_0x1c320e(0x163)](_0x598258));}}[_0x1ed3cb(0x125)](_0x4dd7e1){const _0x15c479=_0x1ed3cb;if(this[_0x15c479(0x127)][_0x15c479(0x131)][_0x15c479(0x140)](),_0x4dd7e1){for(const _0x11cc12 of _0x4dd7e1)this[_0x15c479(0x151)](_0x11cc12);}this[_0x15c479(0x127)][_0x15c479(0x134)][_0x15c479(0x11f)](),this[_0x15c479(0x127)][_0x15c479(0x149)]='',this[_0x15c479(0x15b)]=null;}[_0x1ed3cb(0x11c)](_0xf8db48,_0x15e7a2){const _0x4771fd=_0x1ed3cb;_0x15e7a2||(_0x15e7a2=_0xf8db48[_0x4771fd(0x127)]);const _0x911f89=new _0x54cafa(this[_0x4771fd(0x142)][_0x4771fd(0x16f)]);this[_0x4771fd(0x14e)][_0x4771fd(0x13a)](_0x911f89,_0xf8db48),this[_0x4771fd(0x119)][_0x4771fd(0x13a)](_0xf8db48,_0x911f89),_0x911f89[_0x4771fd(0x13b)][_0x4771fd(0x12b)](_0x15e7a2),this[_0x4771fd(0x138)](_0xf8db48[_0x4771fd(0x127)],_0x4771fd(0x156),(_0x215e04,_0x522d30,_0x520312)=>{const _0x385d78=_0x4771fd,_0x5ee2ef=this[_0x385d78(0x161)](_0xf8db48,_0x520312);_0x911f89[_0x385d78(0x153)]!=_0x5ee2ef&&(_0x911f89[_0x385d78(0x153)]=_0x5ee2ef,this[_0x385d78(0x126)](_0x911f89,_0x5ee2ef));}),this[_0x4771fd(0x138)](_0x911f89,_0x4771fd(0x154),()=>{const _0x465ec3=_0x4771fd;this[_0x465ec3(0x12d)](_0x911f89,_0x465ec3(0x122));}),this[_0x4771fd(0x138)](_0x911f89,_0x4771fd(0x143),()=>{const _0x51e78d=_0x4771fd;this[_0x51e78d(0x12d)](_0x911f89,_0x51e78d(0x15f));}),this[_0x4771fd(0x163)](_0x911f89);const _0x2bc66b=this[_0x4771fd(0x136)](_0x911f89);if(_0x2bc66b)this[_0x4771fd(0x130)](_0x2bc66b,_0x911f89)||this[_0x4771fd(0x163)](_0x911f89);else this[_0x4771fd(0x163)](_0x911f89);return this[_0x4771fd(0x13f)](),this[_0x4771fd(0x127)][_0x4771fd(0x134)][_0x4771fd(0x12b)](_0x911f89),_0x911f89;}[_0x1ed3cb(0x139)](_0x2fbf70){const _0x2a9344=_0x1ed3cb;if(!_0x2fbf70[_0x2a9344(0x13b)][_0x2a9344(0x168)])return;const _0x176b43=this[_0x2a9344(0x136)](_0x2fbf70);if(!_0x176b43)return;const _0x234ff5=this[_0x2a9344(0x14e)][_0x2a9344(0x150)](_0x176b43),_0x2884d2=this[_0x2a9344(0x159)];_0x2884d2&&_0x2884d2===_0x234ff5?this[_0x2a9344(0x130)](_0x176b43,_0x2fbf70):this[_0x2a9344(0x144)](_0x2fbf70,_0x176b43);}[_0x1ed3cb(0x148)](_0x3c0f4e){const _0xe48808=_0x1ed3cb;if(!_0x3c0f4e[_0xe48808(0x13b)][_0xe48808(0x168)])return;const _0x1c0da0=this[_0xe48808(0x145)](_0x3c0f4e);if(!_0x1c0da0)return;const _0x4461ec=this[_0xe48808(0x14e)][_0xe48808(0x150)](_0x1c0da0),_0x5e23a7=this[_0xe48808(0x142)][_0xe48808(0x162)][_0xe48808(0x150)](_0xe48808(0x15d)),_0x310cac=this[_0xe48808(0x159)];_0x310cac&&_0x310cac===_0x4461ec&&_0x5e23a7?(this[_0xe48808(0x144)](_0x1c0da0,_0x3c0f4e),this[_0xe48808(0x130)](_0x3c0f4e,_0x1c0da0)):_0x310cac&&_0x310cac===_0x4461ec?this[_0xe48808(0x144)](_0x1c0da0,_0x3c0f4e):this[_0xe48808(0x130)](_0x3c0f4e,_0x1c0da0);}[_0x1ed3cb(0x12d)](_0x30de3f,_0x2c45b6){const _0x394d27=_0x1ed3cb;0x0===this[_0x394d27(0x167)][_0x394d27(0x168)]&&setTimeout(()=>{const _0x10b2e7=_0x394d27;for(const {sidebarItemView:_0x34b427,changedProp:_0x2456f1}of this[_0x10b2e7(0x167)])_0x10b2e7(0x122)===_0x2456f1?this[_0x10b2e7(0x139)](_0x34b427):this[_0x10b2e7(0x148)](_0x34b427);this[_0x10b2e7(0x167)]=[];},0xa),this[_0x394d27(0x167)][_0x394d27(0x16d)]({'sidebarItemView':_0x30de3f,'changedProp':_0x2c45b6});}[_0x1ed3cb(0x160)](_0xb04a61){const _0x1407ad=_0x1ed3cb;return this[_0x1407ad(0x119)][_0x1407ad(0x150)](_0xb04a61);}[_0x1ed3cb(0x13d)](){const _0x725218=_0x1ed3cb;this[_0x725218(0x133)](),this[_0x725218(0x127)][_0x725218(0x13d)]();}[_0x1ed3cb(0x151)](_0x10af54){const _0x202af5=_0x1ed3cb,_0x5f9ded=this[_0x202af5(0x160)](_0x10af54);this[_0x202af5(0x133)](_0x5f9ded),this[_0x202af5(0x133)](_0x10af54[_0x202af5(0x127)]),_0x5f9ded[_0x202af5(0x13d)](),this[_0x202af5(0x119)][_0x202af5(0x135)](_0x10af54),this[_0x202af5(0x14e)][_0x202af5(0x135)](_0x5f9ded);}[_0x1ed3cb(0x15c)](){const _0x522d20=_0x1ed3cb,_0x767f12=new _0x2d6340(this[_0x522d20(0x142)][_0x522d20(0x16f)]);return _0x767f12[_0x522d20(0x132)](),this['on'](_0x522d20(0x15e),(_0x85ae3e,_0x687e64,_0x2902ea,_0x563390)=>{const _0x1fd3b9=_0x522d20;_0x563390&&_0x767f12[_0x1fd3b9(0x121)](_0x1fd3b9(0x165)),_0x2902ea?_0x767f12[_0x1fd3b9(0x11d)](_0x1fd3b9(0x165))['to'](_0x2902ea,_0x1fd3b9(0x15f)):_0x767f12[_0x1fd3b9(0x165)]=null;}),_0x767f12;}[_0x1ed3cb(0x13f)](){const _0x3d86e0=_0x1ed3cb;this[_0x3d86e0(0x15b)]=this[_0x3d86e0(0x124)]?.[_0x3d86e0(0x141)]?this[_0x3d86e0(0x160)](this[_0x3d86e0(0x124)][_0x3d86e0(0x141)]):null;}[_0x1ed3cb(0x136)](_0x281972){const _0x337592=_0x1ed3cb,_0x5aa4d4=this[_0x337592(0x14e)][_0x337592(0x150)](_0x281972),_0x4d17d4=_0x5aa4d4&&this[_0x337592(0x124)]?.[_0x337592(0x150)](this[_0x337592(0x124)][_0x337592(0x166)](_0x5aa4d4)-0x1);return _0x4d17d4&&this[_0x337592(0x160)](_0x4d17d4)||null;}[_0x1ed3cb(0x145)](_0x23e6f3){const _0x551574=_0x1ed3cb,_0x93afa6=this[_0x551574(0x14e)][_0x551574(0x150)](_0x23e6f3),_0x38b158=_0x93afa6&&this[_0x551574(0x124)]?.[_0x551574(0x150)](this[_0x551574(0x124)][_0x551574(0x166)](_0x93afa6)+0x1);return _0x38b158&&this[_0x551574(0x160)](_0x38b158)||null;}[_0x1ed3cb(0x144)](_0x39d7ca,_0x3b2422){const _0x28db55=_0x1ed3cb;_0x39d7ca[_0x28db55(0x129)]();const _0x4a2247=R(_0x3b2422[_0x28db55(0x15f)]+this[_0x28db55(0x14c)],_0x39d7ca[_0x28db55(0x122)]);return!!_0x4a2247&&(this[_0x28db55(0x126)](_0x3b2422,_0x3b2422[_0x28db55(0x122)]-_0x4a2247),!0x0);}[_0x1ed3cb(0x130)](_0x58b6bc,_0x1e854c){const _0x1203a9=_0x1ed3cb;_0x58b6bc[_0x1203a9(0x129)]();const _0x57912b=R(_0x58b6bc[_0x1203a9(0x15f)]+this[_0x1203a9(0x14c)],_0x1e854c[_0x1203a9(0x122)]);return!!_0x57912b&&(this[_0x1203a9(0x126)](_0x1e854c,_0x1e854c[_0x1203a9(0x122)]+_0x57912b,!0x1),!0x0);}[_0x1ed3cb(0x163)](_0x52f22c){const _0xe8015=_0x1ed3cb,_0x5cec71=this[_0xe8015(0x14e)][_0xe8015(0x150)](_0x52f22c);if(!_0x5cec71||!_0x5cec71[_0xe8015(0x14a)]||!_0x5cec71[_0xe8015(0x11b)])return;const _0x93aa62=this[_0xe8015(0x161)](_0x5cec71,_0x5cec71[_0xe8015(0x11b)]);this[_0xe8015(0x126)](_0x52f22c,_0x93aa62);}[_0x1ed3cb(0x161)](_0x52966b,_0x357492){const _0x553eb5=_0x1ed3cb;if(null===_0x357492)return 0x0;if(_0x52966b[_0x553eb5(0x14a)]instanceof _0x41b0b8)return _0x357492[_0x553eb5(0x122)];{const _0x4dc3d9=new _0x41b0b8(this[_0x553eb5(0x127)][_0x553eb5(0x131)])[_0x553eb5(0x122)];return _0x357492[_0x553eb5(0x122)]-_0x4dc3d9;}}[_0x1ed3cb(0x126)](_0x573e58,_0x411f9b,_0x42f686=this[_0x1ed3cb(0x142)][_0x1ed3cb(0x162)][_0x1ed3cb(0x150)](_0x1ed3cb(0x15d))){const _0x599c5e=_0x1ed3cb;_0x42f686&&(_0x411f9b=Math[_0x599c5e(0x128)](_0x411f9b,this[_0x599c5e(0x14f)](_0x573e58))),_0x573e58[_0x599c5e(0x122)]=_0x411f9b;}[_0x1ed3cb(0x14f)](_0x1a4cd5){const _0x218bcc=_0x1ed3cb;let _0x458d0e=this[_0x218bcc(0x136)](_0x1a4cd5),_0x2446f8=0x0;for(;_0x458d0e;)_0x458d0e[_0x218bcc(0x129)](),_0x2446f8+=this[_0x218bcc(0x14c)]+_0x458d0e[_0x218bcc(0x170)],_0x458d0e=this[_0x218bcc(0x136)](_0x458d0e);return _0x2446f8;}}function R(_0x412261,_0x14c7e6){const _0x4b1e96=_0x1ed3cb;return Math[_0x4b1e96(0x128)](_0x412261-_0x14c7e6,0x0);}function y(_0x24c45f){const _0xbed513=_0x1ed3cb;return null!==_0x24c45f&&_0xbed513(0x158)==typeof _0x24c45f&&0x1===_0x24c45f[_0xbed513(0x16b)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b6dc6=_0x1fa9;function _0x237a(){const _0x3b4a4e=['counterView','add','set','children','_badge','icon','ck-annotation-counter','13517055FMSPYU','bind','556OgEUCy','number','2228727qAWPYo','54695bZfNBn','extendTemplate','1364541PRYjXG','bindTemplate','setTemplate','ck-annotation-counter__badge','ck-annotation-counter__badge--','annotationType','53210360kEvBZv','...','6998958uaDujM','15056hptoFM','isDirty','ck-annotation-counter__badge--edit-mode','toString','784HeoxVb','2DiIhEb','span'];_0x237a=function(){return _0x3b4a4e;};return _0x237a();}function _0x1fa9(_0x1795d8,_0x5dfeba){const _0x237a40=_0x237a();return _0x1fa9=function(_0x1fa95f,_0x299c65){_0x1fa95f=_0x1fa95f-0xee;let _0x1d92f7=_0x237a40[_0x1fa95f];return _0x1d92f7;},_0x1fa9(_0x1795d8,_0x5dfeba);}(function(_0x2ec364,_0x41d006){const _0x3034de=_0x1fa9,_0x1fc69b=_0x2ec364();while(!![]){try{const _0x1113f6=parseInt(_0x3034de(0xf4))/0x1+parseInt(_0x3034de(0x102))/0x2*(parseInt(_0x3034de(0xf1))/0x3)+parseInt(_0x3034de(0xef))/0x4*(parseInt(_0x3034de(0xf2))/0x5)+parseInt(_0x3034de(0xfc))/0x6+parseInt(_0x3034de(0x101))/0x7*(-parseInt(_0x3034de(0xfd))/0x8)+parseInt(_0x3034de(0x10b))/0x9+-parseInt(_0x3034de(0xfa))/0xa;if(_0x1113f6===_0x41d006)break;else _0x1fc69b['push'](_0x1fc69b['shift']());}catch(_0x2e5497){_0x1fc69b['push'](_0x1fc69b['shift']());}}}(_0x237a,0xbaa7b));import{ButtonView as _0x2692fb,View as _0x52272f}from'ckeditor5/src/ui.js';import{IconAddComment as _0x495664}from'ckeditor5/src/icons.js';export default class C extends _0x2692fb{[_0x4b6dc6(0x104)];constructor(_0x1596f1){const _0x59cf6c=_0x4b6dc6;super(_0x1596f1);const _0x571aea=this[_0x59cf6c(0xf5)];this[_0x59cf6c(0x106)](_0x59cf6c(0xfe),!0x1),this[_0x59cf6c(0x106)](_0x59cf6c(0xf0),0x0),this[_0x59cf6c(0xee)](_0x59cf6c(0x108))['to'](this,_0x59cf6c(0xfe),this,_0x59cf6c(0xf0),(_0x320e2c,_0x2b198e)=>_0x320e2c?_0x59cf6c(0xfb):_0x2b198e[_0x59cf6c(0x100)]()),this[_0x59cf6c(0x106)](_0x59cf6c(0xf9),''),this[_0x59cf6c(0x109)]=_0x495664,this[_0x59cf6c(0xf3)]({'attributes':{'class':[_0x59cf6c(0x10a)]}}),this[_0x59cf6c(0x104)]=new _0x52272f(),this[_0x59cf6c(0x104)][_0x59cf6c(0xf6)]({'tag':_0x59cf6c(0x103),'attributes':{'class':[_0x59cf6c(0xf7),_0x571aea['to'](_0x59cf6c(0xf9),_0x55d13e=>_0x59cf6c(0xf8)+_0x55d13e),_0x571aea['if'](_0x59cf6c(0xfe),_0x59cf6c(0xff))]},'children':[{'text':_0x571aea['to'](_0x59cf6c(0x108))}]}),this[_0x59cf6c(0x107)][_0x59cf6c(0x105)](this[_0x59cf6c(0x104)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x17bf4f=_0x5737;(function(_0x29ae78,_0x10ca46){const _0x54ce3d=_0x5737,_0x21e27d=_0x29ae78();while(!![]){try{const _0x201aee=parseInt(_0x54ce3d(0x168))/0x1*(parseInt(_0x54ce3d(0x188))/0x2)+parseInt(_0x54ce3d(0x184))/0x3*(-parseInt(_0x54ce3d(0x159))/0x4)+parseInt(_0x54ce3d(0x187))/0x5*(-parseInt(_0x54ce3d(0x176))/0x6)+parseInt(_0x54ce3d(0x17e))/0x7*(-parseInt(_0x54ce3d(0x186))/0x8)+-parseInt(_0x54ce3d(0x17f))/0x9*(parseInt(_0x54ce3d(0x15f))/0xa)+parseInt(_0x54ce3d(0x179))/0xb+parseInt(_0x54ce3d(0x164))/0xc*(parseInt(_0x54ce3d(0x181))/0xd);if(_0x201aee===_0x10ca46)break;else _0x21e27d['push'](_0x21e27d['shift']());}catch(_0x15c192){_0x21e27d['push'](_0x21e27d['shift']());}}}(_0x3d05,0xf16ec));import{View as _0x10a7eb}from'ckeditor5/src/ui.js';import{FocusTracker as _0x24c0ed,KeystrokeHandler as _0x58cead,uid as _0x691739}from'ckeditor5/src/utils.js';function _0x5737(_0x51defc,_0xa8d8d2){const _0x3d05aa=_0x3d05();return _0x5737=function(_0x573749,_0x417dce){_0x573749=_0x573749-0x159;let _0x4a56e7=_0x3d05aa[_0x573749];return _0x4a56e7;},_0x5737(_0x51defc,_0xa8d8d2);}import _0x541b11 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x3d05(){const _0x95958a=['arrowdown','_mutationObserver','keystrokes','detach','isDirty','destroy','fire','listenTo','height','301410tOkEOk','isActive','render','1911998lCBikD','attach','mainView','ck-rounded-corners','presentation','707rjstbz','72mXRXyh','length','13PZattH','arrowup','ck-annotation-wrapper--active','543531XHUUwx','content','70696oYTmgJ','55QOpYXG','1636442hXuzsB','createCollection','setTemplate','40MqUMBy','ck-annotation-wrapper','element','add','delegate','clear','606660HybSNO','bindTemplate','Esc','set','div','44869068fRTrZo','_updateHeight','type','focus','1pzdkkk','first','focusTracker','clientHeight','targetRect'];_0x3d05=function(){return _0x95958a;};return _0x3d05();}export default class S extends _0x10a7eb{[_0x17bf4f(0x16a)];['id'];[_0x17bf4f(0x16f)];[_0x17bf4f(0x185)];[_0x17bf4f(0x17b)];[_0x17bf4f(0x16e)];constructor(_0x57aa03,_0x277965){const _0x1dfeeb=_0x17bf4f;super(_0x57aa03),this['id']=_0x691739(),this[_0x1dfeeb(0x16a)]=new _0x24c0ed(),this[_0x1dfeeb(0x16f)]=new _0x58cead(),this[_0x1dfeeb(0x16f)][_0x1dfeeb(0x162)](_0x1dfeeb(0x161),(_0x1c1e9b,_0x461431)=>this[_0x1dfeeb(0x173)](_0x1dfeeb(0x161),_0x461431)),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x16c),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x175),0x0),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x177),!0x1),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x171),!0x1),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x180),0x0),this[_0x1dfeeb(0x162)](_0x1dfeeb(0x166),''),this[_0x1dfeeb(0x16e)]=_0x541b11(()=>this[_0x1dfeeb(0x165)]()),this[_0x1dfeeb(0x185)]=this[_0x1dfeeb(0x189)](),this[_0x1dfeeb(0x185)][_0x1dfeeb(0x15d)](_0x1dfeeb(0x182),_0x1dfeeb(0x16d))['to'](this),this[_0x1dfeeb(0x185)][_0x1dfeeb(0x15c)](_0x277965),this[_0x1dfeeb(0x17b)]=_0x277965;const _0x57180e=this[_0x1dfeeb(0x160)];this[_0x1dfeeb(0x18a)]({'tag':_0x1dfeeb(0x163),'attributes':{'class':['ck',_0x1dfeeb(0x15a),_0x1dfeeb(0x17c),_0x57180e['if'](_0x1dfeeb(0x177),_0x1dfeeb(0x183))],'role':_0x1dfeeb(0x17d)},'children':this[_0x1dfeeb(0x185)]});}[_0x17bf4f(0x178)](){const _0x334498=_0x17bf4f;super[_0x334498(0x178)](),this[_0x334498(0x16a)][_0x334498(0x15c)](this[_0x334498(0x15b)]),this[_0x334498(0x16f)][_0x334498(0x174)](this[_0x334498(0x15b)]),this[_0x334498(0x16e)][_0x334498(0x17a)](this[_0x334498(0x15b)]);}[_0x17bf4f(0x172)](){const _0x16875c=_0x17bf4f;this[_0x16875c(0x185)][_0x16875c(0x15e)](),this[_0x16875c(0x16f)][_0x16875c(0x172)](),this[_0x16875c(0x16a)][_0x16875c(0x172)](),this[_0x16875c(0x16e)][_0x16875c(0x170)](),super[_0x16875c(0x172)]();}[_0x17bf4f(0x167)](){const _0x1d5f5b=_0x17bf4f;this[_0x1d5f5b(0x185)][_0x1d5f5b(0x169)]&&this[_0x1d5f5b(0x185)][_0x1d5f5b(0x169)][_0x1d5f5b(0x167)]();}[_0x17bf4f(0x165)](){const _0x446c72=_0x17bf4f,_0x11a4d4=this[_0x446c72(0x15b)][_0x446c72(0x16b)];_0x11a4d4&&(this[_0x446c72(0x175)]=_0x11a4d4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x233bca=_0x394b;(function(_0x3d1b56,_0x4a7152){const _0x432b4e=_0x394b,_0x42cbba=_0x3d1b56();while(!![]){try{const _0x543ef8=-parseInt(_0x432b4e(0x1cf))/0x1*(parseInt(_0x432b4e(0x1d2))/0x2)+parseInt(_0x432b4e(0x1c4))/0x3*(parseInt(_0x432b4e(0x1b0))/0x4)+-parseInt(_0x432b4e(0x1cc))/0x5+parseInt(_0x432b4e(0x1cb))/0x6+-parseInt(_0x432b4e(0x1bb))/0x7+-parseInt(_0x432b4e(0x1c9))/0x8+parseInt(_0x432b4e(0x1d3))/0x9*(parseInt(_0x432b4e(0x1c2))/0xa);if(_0x543ef8===_0x4a7152)break;else _0x42cbba['push'](_0x42cbba['shift']());}catch(_0x3fcd03){_0x42cbba['push'](_0x42cbba['shift']());}}}(_0x5aca,0xa1231));import{View as _0x4d7767}from'ckeditor5/src/ui.js';function _0x394b(_0x284d06,_0x4438dc){const _0x5acada=_0x5aca();return _0x394b=function(_0x394bfb,_0x59839c){_0x394bfb=_0x394bfb-0x1b0;let _0x3cfea5=_0x5acada[_0x394bfb];return _0x3cfea5;},_0x394b(_0x284d06,_0x4438dc);}import{toUnit as _0x432290}from'ckeditor5/src/utils.js';function _0x5aca(){const _0x25d09d=['538XZDlbm','4183236wHshtC','detach','clear','createCollection','79892AAtOWK','arrowdown','delegate','content','top','_targetTop','clientHeight','ck-sidebar-item--no-animation','first','_mutationObserver','bind','3710476rHsteX','render','bottom','ck-sidebar-item','attach','div','height','20LFKXOh','set','156OyoJKS','focus','bindTemplate','destroy','isAnimationDisabled','3397184MdLeiN','updateHeight','4930152WEqUYc','4224155eqaIhs','presentation','element','1228iuNdFZ','setTemplate','arrowup'];_0x5aca=function(){return _0x25d09d;};return _0x5aca();}import _0x173634 from'../../utils/createmutationobserver.js';const Ht=_0x432290('px');export default class H extends _0x4d7767{[_0x233bca(0x1b3)];[_0x233bca(0x1b5)];[_0x233bca(0x1b9)];constructor(_0x157867){const _0x5805a5=_0x233bca;super(_0x157867),this[_0x5805a5(0x1c3)](_0x5805a5(0x1b4),0x0),this[_0x5805a5(0x1c3)](_0x5805a5(0x1c1),0x0),this[_0x5805a5(0x1ba)](_0x5805a5(0x1bd))['to'](this,_0x5805a5(0x1b4),this,_0x5805a5(0x1c1),(_0x5d90c7,_0x33c757)=>_0x5d90c7+_0x33c757),this[_0x5805a5(0x1c3)](_0x5805a5(0x1c8),!0x1),this[_0x5805a5(0x1b9)]=_0x173634(()=>this[_0x5805a5(0x1ca)]()),this[_0x5805a5(0x1b5)]=null,this[_0x5805a5(0x1b3)]=this[_0x5805a5(0x1d6)](),this[_0x5805a5(0x1b3)][_0x5805a5(0x1b2)](_0x5805a5(0x1d1),_0x5805a5(0x1b1))['to'](this);const _0x16e78e=this[_0x5805a5(0x1c6)];this[_0x5805a5(0x1d0)]({'tag':_0x5805a5(0x1c0),'attributes':{'class':[_0x5805a5(0x1be),_0x16e78e['to'](_0x5805a5(0x1c8),_0x3508fc=>_0x3508fc?_0x5805a5(0x1b7):'')],'style':{'top':_0x16e78e['to'](_0x5805a5(0x1b4),_0x3a0269=>Ht(_0x3a0269))},'role':_0x5805a5(0x1cd)},'children':this[_0x5805a5(0x1b3)]});}[_0x233bca(0x1bc)](){const _0x4a3f89=_0x233bca;super[_0x4a3f89(0x1bc)](),this[_0x4a3f89(0x1b9)][_0x4a3f89(0x1bf)](this[_0x4a3f89(0x1ce)]);}[_0x233bca(0x1c5)](){const _0x3b82f4=_0x233bca;this[_0x3b82f4(0x1b3)][_0x3b82f4(0x1b8)]&&this[_0x3b82f4(0x1b3)][_0x3b82f4(0x1b8)][_0x3b82f4(0x1c5)]();}[_0x233bca(0x1ca)](){const _0x323137=_0x233bca,_0x7f244e=this[_0x323137(0x1ce)][_0x323137(0x1b6)];_0x7f244e&&(this[_0x323137(0x1c1)]=_0x7f244e);}[_0x233bca(0x1c7)](){const _0x29d107=_0x233bca;this[_0x29d107(0x1b3)][_0x29d107(0x1d5)](),this[_0x29d107(0x1b9)][_0x29d107(0x1d4)](),super[_0x29d107(0x1c7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa76ea5=_0x2302;function _0x5444(){const _0x585a61=['application','962640rdWcqE','bindTemplate','top','arrowdown','Annotations\x20list','_setupKeyboardNavigation','render','90xwDEIk','focusTracker','listenTo','remove','delegate','focusCycler','5559763FjSLWF','change','setTemplate','arrowup','10xwyurb','42436572PdIAaq','added','class','source','minHeight','uiLanguageDirection','createCollection','69544ORUAAj','3120242rBlypT','ck-sidebar','change:top','focusNext','focus','element','getIndex','1XOaPAK','forEach','set','list','focusPrevious','div','removed','focusFirst','422184tGJYPl','113116PNxbmS','Annotations\x20sidebar','length','13eSHFgM','number','focusables','ck-reset','add','707JKrcyq','_updateItemPositionInFocusables','138UZQmFS'];_0x5444=function(){return _0x585a61;};return _0x5444();}(function(_0x15a5f4,_0xb28ee5){const _0x11d582=_0x2302,_0x5125e5=_0x15a5f4();while(!![]){try{const _0x2c3400=-parseInt(_0x11d582(0x100))/0x1*(-parseInt(_0x11d582(0xf9))/0x2)+parseInt(_0x11d582(0xdd))/0x3*(parseInt(_0x11d582(0xd3))/0x4)+parseInt(_0x11d582(0xe6))/0x5*(parseInt(_0x11d582(0xd2))/0x6)+-parseInt(_0x11d582(0xdb))/0x7*(-parseInt(_0x11d582(0xf8))/0x8)+-parseInt(_0x11d582(0xdf))/0x9+-parseInt(_0x11d582(0xf0))/0xa*(parseInt(_0x11d582(0xec))/0xb)+-parseInt(_0x11d582(0xf1))/0xc*(parseInt(_0x11d582(0xd6))/0xd);if(_0x2c3400===_0xb28ee5)break;else _0x5125e5['push'](_0x5125e5['shift']());}catch(_0x46182b){_0x5125e5['push'](_0x5125e5['shift']());}}}(_0x5444,0xd1296));import{View as _0x539fbc,FocusCycler as _0x17ce06}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3747e1,toUnit as _0x2be279}from'ckeditor5/src/utils.js';function _0x2302(_0x37b40a,_0x3a2dba){const _0x5444f7=_0x5444();return _0x2302=function(_0x2302a8,_0x3a6f98){_0x2302a8=_0x2302a8-0xcd;let _0x548d40=_0x5444f7[_0x2302a8];return _0x548d40;},_0x2302(_0x37b40a,_0x3a2dba);}import{getTranslation as _0x730779}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=_0x2be279('px');export default class F extends _0x539fbc{[_0xa76ea5(0xcd)];[_0xa76ea5(0xd8)];[_0xa76ea5(0xe7)];[_0xa76ea5(0xeb)];constructor(_0x3fe66f){const _0x579d79=_0xa76ea5;super(_0x3fe66f);const _0x3b2876=this[_0x579d79(0xe0)];this[_0x579d79(0x102)](_0x579d79(0xf5),0x0),this[_0x579d79(0x102)](_0x579d79(0xf3),''),this[_0x579d79(0xcd)]=this[_0x579d79(0xf7)](),this[_0x579d79(0xd8)]=this[_0x579d79(0xf7)](),this[_0x579d79(0xcd)][_0x579d79(0xea)](_0x579d79(0xef),_0x579d79(0xe2))['to'](this),this[_0x579d79(0xe7)]=new _0x3747e1(),this[_0x579d79(0xeb)]=new _0x17ce06({'focusables':this[_0x579d79(0xd8)],'focusTracker':this[_0x579d79(0xe7)]}),this[_0x579d79(0xee)]({'tag':_0x579d79(0xcf),'attributes':{'class':['ck',_0x579d79(0xfa),_0x579d79(0xd9),_0x3b2876['to'](_0x579d79(0xf3))],'style':{'minHeight':_0x3b2876['to'](_0x579d79(0xf5),_0x2a7435=>_0x579d79(0xd7)==typeof _0x2a7435?Ht(_0x2a7435+0xa):null)},'dir':_0x3fe66f[_0x579d79(0xf6)],'role':_0x579d79(0xde),'aria-label':_0x730779(_0x3fe66f,_0x579d79(0xd4)),'tabindex':0x0},'children':[{'tag':_0x579d79(0xcf),'attributes':{'role':_0x579d79(0xcd),'aria-label':_0x730779(_0x3fe66f,_0x579d79(0xe3))},'children':this[_0x579d79(0xcd)]}]});}[_0xa76ea5(0xe5)](){const _0x40218a=_0xa76ea5;super[_0x40218a(0xe5)](),this[_0x40218a(0xe4)]();}[_0xa76ea5(0xfd)](){const _0x581fb4=_0xa76ea5;this[_0x581fb4(0xeb)][_0x581fb4(0xd1)]();}[_0xa76ea5(0xe4)](){const _0x22d73f=_0xa76ea5;this[_0x22d73f(0xcd)][_0x22d73f(0xea)](_0x22d73f(0xfb))['to'](this),this['on'](_0x22d73f(0xfb),_0x33c011=>{const _0x27c9d0=_0x22d73f;this[_0x27c9d0(0xdc)](_0x33c011[_0x27c9d0(0xf4)]);}),this[_0x22d73f(0xcd)][_0x22d73f(0x101)](_0x358004=>{const _0x4ed2ce=_0x22d73f;this[_0x4ed2ce(0xe7)][_0x4ed2ce(0xda)](_0x358004[_0x4ed2ce(0xfe)]),this[_0x4ed2ce(0xdc)](_0x358004);}),this[_0x22d73f(0xcd)]['on'](_0x22d73f(0xed),(_0x23857e,_0x453288)=>{const _0x5d8e1e=_0x22d73f;for(const _0x353d92 of _0x453288[_0x5d8e1e(0xd0)])this[_0x5d8e1e(0xe7)][_0x5d8e1e(0xe9)](_0x353d92[_0x5d8e1e(0xfe)]),this[_0x5d8e1e(0xd8)][_0x5d8e1e(0xe9)](_0x353d92);for(const _0x26ccb9 of _0x453288[_0x5d8e1e(0xf2)])this[_0x5d8e1e(0xe7)][_0x5d8e1e(0xda)](_0x26ccb9[_0x5d8e1e(0xfe)]),this[_0x5d8e1e(0xdc)](_0x26ccb9);}),this['on'](_0x22d73f(0xef),()=>{const _0xbe6d38=_0x22d73f;this[_0xbe6d38(0xeb)][_0xbe6d38(0xce)]();}),this['on'](_0x22d73f(0xe2),()=>{const _0x388e6d=_0x22d73f;this[_0x388e6d(0xeb)][_0x388e6d(0xfc)]();}),this[_0x22d73f(0xe8)](this[_0x22d73f(0xfe)],_0x22d73f(0xfd),()=>{const _0x44928d=_0x22d73f;this[_0x44928d(0xfd)]();});}[_0xa76ea5(0xdc)](_0x5be7cd){const _0x4bf5b6=_0xa76ea5,_0x3276a0=this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xff)](_0x5be7cd);let _0x4920c7,_0xeed2f2;for(const _0xa17518 of this[_0x4bf5b6(0xd8)])if(_0x5be7cd[_0x4bf5b6(0xe1)]<_0xa17518[_0x4bf5b6(0xe1)]){_0x4920c7=_0xa17518;break;}if(_0xeed2f2=_0x4920c7?this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xff)](_0x4920c7):this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xd5)],-0x1!==_0x3276a0){if(_0x3276a0===_0xeed2f2-0x1)return;this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xe9)](_0x5be7cd),_0xeed2f2=_0x4920c7?this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xff)](_0x4920c7):this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xd5)];}this[_0x4bf5b6(0xd8)][_0x4bf5b6(0xda)](_0x5be7cd,_0xeed2f2);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e288b=_0x58cb;(function(_0x2297b1,_0x1ad694){const _0x4e194e=_0x58cb,_0x387725=_0x2297b1();while(!![]){try{const _0x43b676=parseInt(_0x4e194e(0x89))/0x1+-parseInt(_0x4e194e(0xb2))/0x2*(parseInt(_0x4e194e(0xa9))/0x3)+-parseInt(_0x4e194e(0xc4))/0x4*(-parseInt(_0x4e194e(0xb5))/0x5)+-parseInt(_0x4e194e(0xa3))/0x6*(-parseInt(_0x4e194e(0x94))/0x7)+parseInt(_0x4e194e(0x8b))/0x8+parseInt(_0x4e194e(0xb9))/0x9+-parseInt(_0x4e194e(0x8d))/0xa;if(_0x43b676===_0x1ad694)break;else _0x387725['push'](_0x387725['shift']());}catch(_0x26cd7f){_0x387725['push'](_0x387725['shift']());}}}(_0x2f5a,0x9125a));import{ContextPlugin as _0x1f9423,Context as _0x5278fa}from'ckeditor5/src/core.js';import _0x3e7ebf from'./annotationsuis.js';import _0x55fd95 from'./sidebar.js';import{CKEditorError as _0x351d14,Collection as _0x4e3e7e}from'ckeditor5/src/utils.js';import{debounce as _0x4bb611}from'es-toolkit/compat';export default class e extends _0x1f9423{[_0x5e288b(0xbf)];[_0x5e288b(0xb3)];[_0x5e288b(0xcb)];[_0x5e288b(0xa8)];static get[_0x5e288b(0xb8)](){return[_0x55fd95,_0x3e7ebf];}static get[_0x5e288b(0x91)](){const _0x1d566d=_0x5e288b;return _0x1d566d(0xaa);}static get[_0x5e288b(0x9c)](){return!0x0;}static get[_0x5e288b(0xad)](){return!0x0;}constructor(_0x12e0f3){const _0xd64a28=_0x5e288b;super(_0x12e0f3),this[_0xd64a28(0xbf)]=!0x1,this[_0xd64a28(0x9d)](_0xd64a28(0xb0),null),this[_0xd64a28(0xb3)]=null,this[_0xd64a28(0xcb)]=new _0x4e3e7e(),this[_0xd64a28(0xa8)]=_0x4bb611(()=>{const _0x1bd21d=_0xd64a28;this[_0x1bd21d(0xb3)][_0x1bd21d(0x88)]();},0xfa,{'leading':!0x1});}[_0x5e288b(0xbc)](){const _0x1f169d=_0x5e288b,_0x46215c=this[_0x1f169d(0x95)][_0x1f169d(0x8e)][_0x1f169d(0xba)](_0x3e7ebf),_0x45b63d=this[_0x1f169d(0x95)][_0x1f169d(0x8e)][_0x1f169d(0xba)](_0x55fd95);_0x46215c[_0x1f169d(0xa1)](_0x1f169d(0xa6),this),_0x45b63d[_0x1f169d(0xc5)]&&_0x46215c[_0x1f169d(0xc7)](_0x1f169d(0xa6));}[_0x5e288b(0xbd)](_0x337707){const _0x458511=_0x5e288b;if(_0x337707===this[_0x458511(0xb0)])return;const _0x2391a3=this[_0x458511(0x95)][_0x458511(0x8e)][_0x458511(0xba)](_0x55fd95);_0x2391a3[_0x458511(0x96)]=_0x337707;const _0x2220de=this[_0x458511(0xb0)];_0x2391a3[_0x458511(0xc2)]({'blurredAnnotation':_0x2220de,'activatedAnnotation':_0x337707}),this[_0x458511(0xb0)]=_0x337707;}[_0x5e288b(0x99)](_0x1fdd3f){const _0x7fd25c=_0x5e288b;this[_0x7fd25c(0xb3)]=_0x1fdd3f;const _0x52602b=this[_0x7fd25c(0x95)][_0x7fd25c(0x8e)][_0x7fd25c(0xba)](_0x55fd95);if(_0x52602b[_0x7fd25c(0x97)]=_0x1fdd3f,this[_0x7fd25c(0xbf)])throw new _0x351d14(_0x7fd25c(0xab),this);this[_0x7fd25c(0xbf)]=!0x0,this[_0x7fd25c(0x93)](_0x52602b,_0x7fd25c(0xcc),()=>{const _0x55c5d9=_0x7fd25c;this[_0x55c5d9(0xbb)](),this[_0x55c5d9(0x93)](_0x52602b,_0x55c5d9(0xae),_0x15a13f=>{const _0x274220=_0x55c5d9;_0x15a13f[_0x274220(0xca)](),this[_0x274220(0x99)](_0x1fdd3f);});}),_0x52602b[_0x7fd25c(0xc8)]({'viewClass':_0x7fd25c(0x9f)});const _0x12fc81=_0x2994a8=>{const _0x5ede43=_0x7fd25c;_0x2994a8[_0x5ede43(0x9b)](),_0x52602b[_0x5ede43(0xb6)](_0x2994a8);};for(const _0x4f7018 of _0x1fdd3f)_0x12fc81(_0x4f7018);this[_0x7fd25c(0x93)](_0x1fdd3f,_0x7fd25c(0x98),(_0x13c579,_0x4f3827)=>{_0x12fc81(_0x4f3827);}),this[_0x7fd25c(0x93)](_0x1fdd3f,_0x7fd25c(0xa4),(_0x2fea9f,_0x1557d2,_0x48ebb4)=>{const _0x221a3c=_0x7fd25c;_0x52602b[_0x221a3c(0xc0)]({'removedAnnotation':_0x1557d2,'previousAnnotation':_0x1fdd3f[_0x221a3c(0xba)](_0x48ebb4-0x1),'nextAnnotation':_0x1fdd3f[_0x221a3c(0xba)](_0x48ebb4+0x1)}),_0x1557d2===this[_0x221a3c(0xb0)]&&this[_0x221a3c(0xbd)](null);},{'priority':_0x7fd25c(0x8c)}),this[_0x7fd25c(0x93)](_0x1fdd3f,_0x7fd25c(0xa0),(_0x240780,_0x199568)=>{const _0x3e1716=_0x7fd25c;this[_0x3e1716(0xbd)](_0x199568);}),this[_0x7fd25c(0x93)](_0x1fdd3f,_0x7fd25c(0xb7),()=>{const _0x5e5b3c=_0x7fd25c;this[_0x5e5b3c(0xbd)](null);});const _0x2a432a=this[_0x7fd25c(0x95)]instanceof _0x5278fa?this[_0x7fd25c(0x95)][_0x7fd25c(0xac)]:new _0x4e3e7e([this[_0x7fd25c(0x95)]]);for(const _0x50abd7 of _0x2a432a)this[_0x7fd25c(0xc3)](_0x50abd7);this[_0x7fd25c(0x93)](_0x2a432a,_0x7fd25c(0x98),(_0x321653,_0x419209)=>{const _0x4fa64b=_0x7fd25c;this[_0x4fa64b(0x93)](_0x419209,_0x4fa64b(0xa7),()=>{const _0x3fd6d9=_0x4fa64b;this[_0x3fd6d9(0xc3)](_0x419209);});}),this[_0x7fd25c(0x93)](_0x2a432a,_0x7fd25c(0xa4),(_0x238ccc,_0x46825a)=>{const _0x1b6f01=_0x7fd25c;_0x46825a[_0x1b6f01(0x8e)][_0x1b6f01(0xc6)](_0x1b6f01(0xc9))&&this[_0x1b6f01(0x8f)](_0x46825a[_0x1b6f01(0x8e)][_0x1b6f01(0xba)](_0x1b6f01(0xc9)));}),window[_0x7fd25c(0xc1)](_0x7fd25c(0x9e),this[_0x7fd25c(0xa8)]),this[_0x7fd25c(0xb3)][_0x7fd25c(0x88)]();}[_0x5e288b(0xbb)](){const _0x59e3d7=_0x5e288b;if(!this[_0x59e3d7(0xbf)])throw new _0x351d14(_0x59e3d7(0xb1),this);this[_0x59e3d7(0xbd)](null);const _0x4f0b2d=this[_0x59e3d7(0x95)][_0x59e3d7(0x8e)][_0x59e3d7(0xba)](_0x55fd95);_0x4f0b2d[_0x59e3d7(0xb4)](this[_0x59e3d7(0xb3)]),this[_0x59e3d7(0x9a)](_0x4f0b2d),this[_0x59e3d7(0x9a)](this[_0x59e3d7(0xb3)]),this[_0x59e3d7(0x95)]instanceof _0x5278fa&&this[_0x59e3d7(0x9a)](this[_0x59e3d7(0x95)][_0x59e3d7(0xac)]);for(const _0x238455 of Array[_0x59e3d7(0xa2)](this[_0x59e3d7(0xcb)]))this[_0x59e3d7(0x8f)](_0x238455);window[_0x59e3d7(0xcd)](_0x59e3d7(0x9e),this[_0x59e3d7(0xa8)]),this[_0x59e3d7(0xa8)][_0x59e3d7(0x8a)](),this[_0x59e3d7(0xb0)]=null,this[_0x59e3d7(0xbf)]=!0x1,this[_0x59e3d7(0xb3)]=null;}[_0x5e288b(0xa5)](){const _0x34b62c=_0x5e288b;this[_0x34b62c(0xbf)]&&this[_0x34b62c(0xbb)]();}[_0x5e288b(0xc3)](_0x435903){const _0x16b6ff=_0x5e288b;if(!_0x435903[_0x16b6ff(0x8e)][_0x16b6ff(0xc6)](_0x16b6ff(0xc9)))return;const _0x46c526=_0x435903[_0x16b6ff(0x8e)][_0x16b6ff(0xba)](_0x16b6ff(0xc9)),_0xbb1ba0=()=>{const _0x54c00e=_0x16b6ff,_0x162597=_0x46c526[_0x54c00e(0x92)]({'annotations':this[_0x54c00e(0xb3)],'activeAnnotation':this[_0x54c00e(0xb0)]});this[_0x54c00e(0xbd)](_0x162597[0x0]||null);};this[_0x16b6ff(0x93)](_0x46c526,_0x16b6ff(0xc2),_0xbb1ba0),this[_0x16b6ff(0x93)](_0x46c526,_0x16b6ff(0xb7),(_0x484687,{isAnnotationTracked:_0x5af1b5})=>{const _0x4bd43c=_0x16b6ff;this[_0x4bd43c(0xb0)]&&_0x5af1b5(this[_0x4bd43c(0xb0)])&&this[_0x4bd43c(0xbd)](null);}),this[_0x16b6ff(0x93)](_0x46c526,_0x16b6ff(0x90),()=>{const _0x277498=_0x16b6ff;this[_0x277498(0xa8)]();}),this[_0x16b6ff(0x93)](this[_0x16b6ff(0xb3)],_0x16b6ff(0xb7),_0x50672f=>{const _0x534745=_0x16b6ff;_0x46c526[_0x534745(0xaf)]()&&(_0xbb1ba0(),_0x50672f[_0x534745(0xbe)]());},{'priority':_0x16b6ff(0x8c)}),this[_0x16b6ff(0xcb)][_0x16b6ff(0x98)](_0x46c526);}[_0x5e288b(0x8f)](_0x39d81e){const _0x3f70e1=_0x5e288b;this[_0x3f70e1(0x9a)](_0x39d81e),this[_0x3f70e1(0xcb)][_0x3f70e1(0xa4)](_0x39d81e);}}function _0x58cb(_0x16bff9,_0x56fa82){const _0x2f5af7=_0x2f5a();return _0x58cb=function(_0x58cb3e,_0x5b85eb){_0x58cb3e=_0x58cb3e-0x88;let _0x435c77=_0x2f5af7[_0x58cb3e];return _0x435c77;},_0x58cb(_0x16bff9,_0x56fa82);}function _0x2f5a(){const _0x71da56=['getOrderedSelectedAnnotations','listenTo','14aWVOaV','context','_activeAnnotation','_annotations','add','attach','stopListening','updateTargetRect','isOfficialPlugin','set','resize','ck-sidebar--wide','focus','register','from','263580stZLjm','remove','destroy','wideSidebar','ready','_refreshPositioningDebounced','120462ZenDEh','WideSidebar','widesidebar-attach-already-attached','editors','isPremiumPlugin','change:container','hasDomSelection','activeAnnotation','widesidebar-detach-not-attached','2HeYtVF','annotations','_detachFromContainer','95qWxPMt','addAnnotation','blur','requires','8971704bISFdE','get','detach','init','setActiveAnnotation','stop','isAttached','rearrange','addEventListener','refresh','_integrateWithEditorAnnotations','60556ihldmQ','container','has','switchTo','_attachToContainer','EditorAnnotations','off','_editorAnnotations','set:container','removeEventListener','refreshPositioning','233465CwZbMc','cancel','4878608jyryqx','high','15809720pdCldG','plugins','_destroyEditorAnnotationsIntegration','uiUpdate','pluginName'];_0x2f5a=function(){return _0x71da56;};return _0x2f5a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a2eed=_0x457a;(function(_0x454b56,_0xb9b791){const _0x26191b=_0x457a,_0x5143f8=_0x454b56();while(!![]){try{const _0x3bc86b=parseInt(_0x26191b(0x12b))/0x1*(parseInt(_0x26191b(0x123))/0x2)+-parseInt(_0x26191b(0x12d))/0x3+-parseInt(_0x26191b(0x121))/0x4*(parseInt(_0x26191b(0x111))/0x5)+-parseInt(_0x26191b(0x10e))/0x6*(parseInt(_0x26191b(0x11c))/0x7)+parseInt(_0x26191b(0x126))/0x8*(parseInt(_0x26191b(0x11d))/0x9)+-parseInt(_0x26191b(0x113))/0xa+-parseInt(_0x26191b(0x119))/0xb*(-parseInt(_0x26191b(0x11a))/0xc);if(_0x3bc86b===_0xb9b791)break;else _0x5143f8['push'](_0x5143f8['shift']());}catch(_0x4aaf01){_0x5143f8['push'](_0x5143f8['shift']());}}}(_0x5699,0x3502e));function _0x5699(){const _0x3c7d4e=['createRange','execute','getLastMatchingPosition','backward','14176olSQxl','end','556212ICreml','getRanges','selection','schema','push','change','document','_itemIsContent','comment:','1182uHFCKG','$textProxy','isObject','15KtJyND','item','4118310HjvByy','_hasContent','substr','element','start','isEnabled','4896947yAAFpK','24aHKZuX','addMarker','5719pAPhTT','1495107fGJpAP','refresh','tableCell','getItems','335028yIfDPL','_trimToContent','24YQaOag','model','editor','8WaHsos'];_0x5699=function(){return _0x3c7d4e;};return _0x5699();}function _0x457a(_0x3286d7,_0x4a8d3f){const _0x5699bb=_0x5699();return _0x457a=function(_0x457a5c,_0x32a6f8){_0x457a5c=_0x457a5c-0x106;let _0x494eb1=_0x5699bb[_0x457a5c];return _0x494eb1;},_0x457a(_0x3286d7,_0x4a8d3f);}import{Command as _0x12b5fb}from'ckeditor5/src/core.js';import{uid as _0x5a3e97}from'ckeditor5/src/utils.js';export default class J extends _0x12b5fb{[_0x1a2eed(0x11e)](){const _0x14604f=_0x1a2eed,_0x5ea53b=this[_0x14604f(0x125)][_0x14604f(0x124)][_0x14604f(0x10b)][_0x14604f(0x107)];for(const _0x56ee49 of _0x5ea53b[_0x14604f(0x106)]())if(this[_0x14604f(0x114)](_0x56ee49))return void(this[_0x14604f(0x118)]=!0x0);this[_0x14604f(0x118)]=!0x1;}[_0x1a2eed(0x128)]({threadId:_0x1f2f87=_0x5a3e97()}={}){const _0x19054e=_0x1a2eed,_0x109ca1=this[_0x19054e(0x125)][_0x19054e(0x124)],_0x4e9bfb=[];for(const _0x10b205 of _0x109ca1[_0x19054e(0x10b)][_0x19054e(0x107)][_0x19054e(0x106)]())this[_0x19054e(0x114)](_0x10b205)&&_0x4e9bfb[_0x19054e(0x109)](this[_0x19054e(0x122)](_0x10b205));_0x109ca1[_0x19054e(0x10a)](_0xf48dfb=>{const _0x2ed026=_0x19054e;for(const _0xb2ee29 of _0x4e9bfb){const _0x81c132=_0x5a3e97()[_0x2ed026(0x115)](0x1,0x5),_0x3225f8=_0x2ed026(0x10d)+_0x1f2f87+':'+_0x81c132;_0xf48dfb[_0x2ed026(0x11b)](_0x3225f8,{'range':_0xb2ee29,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x1a2eed(0x114)](_0x408df4){const _0x2785e7=_0x1a2eed;for(const _0x27ffb2 of _0x408df4[_0x2785e7(0x120)]())if(this[_0x2785e7(0x10c)](_0x27ffb2))return!0x0;return!0x1;}[_0x1a2eed(0x10c)](_0x4d63d7){const _0x18215e=_0x1a2eed;return _0x4d63d7['is'](_0x18215e(0x10f))||this[_0x18215e(0x125)][_0x18215e(0x124)][_0x18215e(0x108)][_0x18215e(0x110)](_0x4d63d7)&&!_0x4d63d7['is'](_0x18215e(0x116),_0x18215e(0x11f));}[_0x1a2eed(0x122)](_0x13e5b6){const _0x13d125=_0x1a2eed,_0x2c2e46=_0x214971=>!this[_0x13d125(0x10c)](_0x214971[_0x13d125(0x112)]),_0x5d7345=_0x13e5b6[_0x13d125(0x117)][_0x13d125(0x129)](_0x2c2e46),_0x2c3c23=_0x13e5b6[_0x13d125(0x12c)][_0x13d125(0x129)](_0x2c2e46,{'direction':_0x13d125(0x12a)});return this[_0x13d125(0x125)][_0x13d125(0x124)][_0x13d125(0x127)](_0x5d7345,_0x2c3c23);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c880a=_0x5834;(function(_0x47bd9a,_0x2dbd01){const _0x3b4138=_0x5834,_0x4a378e=_0x47bd9a();while(!![]){try{const _0xee635a=-parseInt(_0x3b4138(0x126))/0x1*(-parseInt(_0x3b4138(0x114))/0x2)+parseInt(_0x3b4138(0x10c))/0x3*(parseInt(_0x3b4138(0x113))/0x4)+-parseInt(_0x3b4138(0x117))/0x5+parseInt(_0x3b4138(0x121))/0x6*(-parseInt(_0x3b4138(0x131))/0x7)+-parseInt(_0x3b4138(0x132))/0x8*(parseInt(_0x3b4138(0x115))/0x9)+-parseInt(_0x3b4138(0x11b))/0xa*(-parseInt(_0x3b4138(0x110))/0xb)+-parseInt(_0x3b4138(0x11a))/0xc;if(_0xee635a===_0x2dbd01)break;else _0x4a378e['push'](_0x4a378e['shift']());}catch(_0x4aad26){_0x4a378e['push'](_0x4a378e['shift']());}}}(_0x4b1d,0x2abe3));function _0x5834(_0x34702f,_0x190c39){const _0x4b1d49=_0x4b1d();return _0x5834=function(_0x58342b,_0xa49ea4){_0x58342b=_0x58342b-0x10a;let _0x383526=_0x4b1d49[_0x58342b];return _0x383526;},_0x5834(_0x34702f,_0x190c39);}import{ContextPlugin as _0xc061e7}from'ckeditor5/src/core.js';import{Collection as _0x485925}from'ckeditor5/src/utils.js';import _0x1314d6 from'./commentsrepository.js';import _0x86e54c from'../annotations/annotations.js';export default class f extends _0xc061e7{static get[_0x1c880a(0x130)](){const _0x1ebf1b=_0x1c880a;return _0x1ebf1b(0x123);}static get[_0x1c880a(0x112)](){return!0x0;}static get[_0x1c880a(0x12c)](){return!0x0;}static get[_0x1c880a(0x12a)](){return[_0x1314d6,_0x86e54c];}constructor(_0x141214){const _0x291fe4=_0x1c880a;super(_0x141214),this[_0x291fe4(0x11d)]=new _0x485925();}[_0x1c880a(0x128)](){const _0x3e77bf=_0x1c880a,_0x4b1a2c=this[_0x3e77bf(0x125)],_0x3e4d17=_0x4b1a2c[_0x3e77bf(0x120)][_0x3e77bf(0x116)](_0x1314d6),_0x11d08d=_0x4b1a2c[_0x3e77bf(0x120)][_0x3e77bf(0x116)](_0x86e54c);this[_0x3e77bf(0x11e)](_0x3e4d17,_0x3e77bf(0x10d),(_0x14af78,{threadId:_0x375308})=>{const _0x9460c4=_0x3e77bf,_0x5b9622=_0x3e4d17[_0x9460c4(0x127)](_0x375308);_0x5b9622[_0x9460c4(0x11f)]&&this[_0x9460c4(0x11d)][_0x9460c4(0x124)](_0x5b9622,this[_0x9460c4(0x10e)](_0x5b9622[_0x9460c4(0x11f)])),this[_0x9460c4(0x11e)](_0x5b9622,_0x9460c4(0x12f),(_0x1327cf,_0x22b5fe,_0x2d1dd9)=>{const _0x2dee4c=_0x9460c4;_0x2d1dd9?this[_0x2dee4c(0x11d)][_0x2dee4c(0x12b)](_0x5b9622)||this[_0x2dee4c(0x11d)][_0x2dee4c(0x124)](_0x5b9622,this[_0x2dee4c(0x10e)](_0x5b9622[_0x2dee4c(0x11f)])):this[_0x2dee4c(0x11d)][_0x2dee4c(0x12b)](_0x5b9622)&&this[_0x2dee4c(0x11d)][_0x2dee4c(0x11c)](_0x5b9622);});}),this[_0x3e77bf(0x11e)](_0x3e4d17,_0x3e77bf(0x10f),(_0x783a97,{threadId:_0xdddd8f})=>{const _0x463fef=_0x3e77bf,_0x444ba9=_0x3e4d17[_0x463fef(0x127)](_0xdddd8f);this[_0x463fef(0x129)](_0x444ba9),this[_0x463fef(0x11d)][_0x463fef(0x12b)](_0x444ba9)&&this[_0x463fef(0x11d)][_0x463fef(0x11c)](_0x444ba9);},{'priority':_0x3e77bf(0x10b)}),this[_0x3e77bf(0x11e)](_0x11d08d[_0x3e77bf(0x118)],_0x3e77bf(0x122),(_0x43d017,_0x46fce4)=>{const _0x51fb82=_0x3e77bf;_0x46fce4[_0x51fb82(0x12e)]||(_0x46fce4[_0x51fb82(0x10a)]=!0x0,_0x11d08d[_0x51fb82(0x111)](_0x46fce4));});}[_0x1c880a(0x10e)](_0x407624){const _0x53d3c5=_0x1c880a,_0x413558=[...this[_0x53d3c5(0x11d)]][_0x53d3c5(0x12d)](_0x3c51e1=>_0x3c51e1[_0x53d3c5(0x11f)]<_0x407624);return _0x413558>-0x1?_0x413558:this[_0x53d3c5(0x11d)][_0x53d3c5(0x119)];}}function _0x4b1d(){const _0x5351cc=['9jiaJBI','get','828905tJuGUF','collection','length','1173264QNqMDr','1592890TtrxEH','remove','archivedThreads','listenTo','archivedAt','plugins','6pKSodU','focus','CommentsArchive','add','context','1lbMnsD','getCommentThread','init','stopListening','requires','has','isPremiumPlugin','findIndex','isVisible','change:archivedAt','pluginName','675402YhWzuG','1770856tAwUKs','isActive','highest','59133FRnmNd','addCommentThread','_calculatePosition','removeCommentThread','11FNHFMh','activate','isOfficialPlugin','52vTThdE','681878qsVOrq'];_0x4b1d=function(){return _0x5351cc;};return _0x4b1d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f041f=_0x4816;(function(_0xba689f,_0x10c49a){const _0x1e7e2a=_0x4816,_0x1366f5=_0xba689f();while(!![]){try{const _0x390d29=-parseInt(_0x1e7e2a(0x191))/0x1+parseInt(_0x1e7e2a(0x185))/0x2*(-parseInt(_0x1e7e2a(0x192))/0x3)+parseInt(_0x1e7e2a(0x17d))/0x4+parseInt(_0x1e7e2a(0x18d))/0x5+parseInt(_0x1e7e2a(0x196))/0x6*(parseInt(_0x1e7e2a(0x1a1))/0x7)+parseInt(_0x1e7e2a(0x1c0))/0x8*(parseInt(_0x1e7e2a(0x1bf))/0x9)+-parseInt(_0x1e7e2a(0x18a))/0xa*(parseInt(_0x1e7e2a(0x19f))/0xb);if(_0x390d29===_0x10c49a)break;else _0x1366f5['push'](_0x1366f5['shift']());}catch(_0x2d4a0c){_0x1366f5['push'](_0x1366f5['shift']());}}}(_0x2711,0xe9a8d));import'../../theme/commentsarchive.css';import{Plugin as _0x3ab6cd}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x41bc60}from'ckeditor5/src/icons.js';import{ViewCollection as _0x564b51,MenuBarMenuListItemButtonView as _0x32c25c,ButtonView as _0x42eda3,Dialog as _0x36b3e3,DialogViewPosition as _0x272b09}from'ckeditor5/src/ui.js';function _0x4816(_0x56d02a,_0x574f0f){const _0x2711b9=_0x2711();return _0x4816=function(_0x4816a1,_0x502c81){_0x4816a1=_0x4816a1-0x177;let _0x4c604e=_0x2711b9[_0x4816a1];return _0x4c604e;},_0x4816(_0x56d02a,_0x574f0f);}import{getTranslation as _0x14eccf}from'../utils/common-translations.js';function _0x2711(){const _0x4fbed4=['locale','find','568809lYnJQb','216saJkHR','_hideDialogOnAnnotationEscape','focusableElements','isEnabled','collection','innerView','isOpen','_pendingThreads','Dialog','isOfficialPlugin','5413976RvDoZB','commentsArchive','_threadToController','CommentsArchiveUI','push','annotationViews','init','_toggleDialog','2qAjBDC','source','stop','menuBar:commentsArchive','remove','153210eLJpOS','_calculatePosition','commentsArchiveView','7811885meDUXk','execute','isOn','indexOf','1415912iRkfWQ','1264269KhAgYv','bind','collaboration.channelId','hide','35436QUspom','Annotations','getByInnerView','config','includes','COMMENTS_ARCHIVE','set','escape','menuitemcheckbox','1694IpfBDE','pluginName','630KWJyiJ','archivedAt','isVisible','archivedThreads','tooltip','findIndex','_handleNewThread','requires','view','CommentsRepository','_createCommentsArchiveButton','editor','forEach','channelId','show','stopListening','listenTo','isPremiumPlugin','splice','plugins','length','componentFactory','_visibleAnnotations','EDITOR_TOP_SIDE','has','filter','add','get'];_0x2711=function(){return _0x4fbed4;};return _0x2711();}import _0x458bfd from'./ui/view/commentsarchiveview.js';import _0x9ee9e2 from'./commentsarchive.js';export default class a extends _0x3ab6cd{[_0x2f041f(0x18c)];[_0x2f041f(0x182)];[_0x2f041f(0x17a)];static get[_0x2f041f(0x1a0)](){const _0x1efc41=_0x2f041f;return _0x1efc41(0x180);}static get[_0x2f041f(0x17c)](){return!0x0;}static get[_0x2f041f(0x1b2)](){return!0x0;}static get[_0x2f041f(0x1a8)](){return[_0x9ee9e2,_0x36b3e3];}constructor(_0x3d30fe){const _0x34662a=_0x2f041f;super(_0x3d30fe),this[_0x34662a(0x182)]=new _0x564b51(),this[_0x34662a(0x17a)]=[];}[_0x2f041f(0x183)](){const _0x4a3ea9=_0x2f041f,_0x30e7c4=this[_0x4a3ea9(0x1ac)],_0xfd60f4=this[_0x4a3ea9(0x1c1)][_0x4a3ea9(0x193)](this);_0x30e7c4['ui'][_0x4a3ea9(0x1b6)][_0x4a3ea9(0x1bb)](_0x4a3ea9(0x17e),()=>this[_0x4a3ea9(0x1ab)](_0x42eda3,!0x0)),_0x30e7c4['ui'][_0x4a3ea9(0x1b6)][_0x4a3ea9(0x1bb)](_0x4a3ea9(0x188),()=>{const _0x59ad7a=_0x4a3ea9,_0xbee857=this[_0x59ad7a(0x1ab)](_0x32c25c);return _0xbee857[_0x59ad7a(0x19c)]({'role':_0x59ad7a(0x19e)}),_0xbee857;});const _0x1316b7=_0x30e7c4[_0x4a3ea9(0x1b4)][_0x4a3ea9(0x1bc)](_0x9ee9e2),_0x39aa62=_0x30e7c4[_0x4a3ea9(0x1b4)][_0x4a3ea9(0x1bc)](_0x4a3ea9(0x197)),_0x184c8f=_0x30e7c4[_0x4a3ea9(0x1b4)][_0x4a3ea9(0x1bc)](_0x4a3ea9(0x1aa));_0x1316b7[_0x4a3ea9(0x1a4)][_0x4a3ea9(0x1ad)](_0x4dc648=>{const _0xfd33ab=_0x4a3ea9;this[_0xfd33ab(0x1a7)](_0x4dc648);}),this[_0x4a3ea9(0x1b1)](_0x1316b7[_0x4a3ea9(0x1a4)],_0x4a3ea9(0x1bb),(_0x12c307,_0x5bcb46)=>{const _0x33024a=_0x4a3ea9;this[_0x33024a(0x1a7)](_0x5bcb46);}),this[_0x4a3ea9(0x1b1)](_0x39aa62[_0x4a3ea9(0x177)],_0x4a3ea9(0x1bb),(_0x32d43b,_0x4cad29)=>{const _0x15413e=_0x4a3ea9,_0x1b26c1=this[_0x15413e(0x17a)][_0x15413e(0x1be)](_0x4cdc4c=>{const _0x4a30eb=_0x15413e,_0x4555e5=_0x184c8f[_0x4a30eb(0x17f)][_0x4a30eb(0x1bc)](_0x4cdc4c);return _0x4555e5&&_0x4cad29[_0x4a30eb(0x178)]===_0x4555e5[_0x4a30eb(0x1a9)];});if(_0x1b26c1){const _0x409623=this[_0x15413e(0x18b)](_0x1b26c1[_0x15413e(0x1a2)]);this[_0x15413e(0x182)][_0x15413e(0x1bb)](_0x4cad29[_0x15413e(0x1a9)],_0x409623),this[_0x15413e(0x17a)][_0x15413e(0x1b3)](this[_0x15413e(0x17a)][_0x15413e(0x190)](_0x1b26c1),0x1);}}),this[_0x4a3ea9(0x1b1)](_0x1316b7[_0x4a3ea9(0x1a4)],_0x4a3ea9(0x189),(_0x5ae4ff,_0x48bc53)=>{const _0x2762cc=_0x4a3ea9,_0x18e6d2=_0x30e7c4[_0x2762cc(0x199)][_0x2762cc(0x1bc)](_0x2762cc(0x194));if(!_0x18e6d2||_0x48bc53[_0x2762cc(0x1ae)]===_0x18e6d2){if(this[_0x2762cc(0x17a)][_0x2762cc(0x19a)](_0x48bc53))this[_0x2762cc(0x17a)][_0x2762cc(0x1b3)](this[_0x2762cc(0x17a)][_0x2762cc(0x190)](_0x48bc53),0x1);else{const _0x53ef84=_0x184c8f[_0x2762cc(0x17f)][_0x2762cc(0x1bc)](_0x48bc53),_0x6ab2bb=_0x39aa62[_0x2762cc(0x198)](_0x53ef84[_0x2762cc(0x1a9)]);this[_0x2762cc(0x182)][_0x2762cc(0x189)](_0x6ab2bb[_0x2762cc(0x1a9)]),this[_0x2762cc(0x1b0)](_0x6ab2bb[_0x2762cc(0x1c2)]);}}}),this[_0x4a3ea9(0x1b1)](_0x39aa62[_0x4a3ea9(0x177)],_0x4a3ea9(0x1bb),(_0x8652ea,_0x2d07d6)=>{const _0x29b7b8=_0x4a3ea9;this[_0x29b7b8(0x1b1)](_0x2d07d6,_0x29b7b8(0x19d),_0xfd60f4);}),this[_0x4a3ea9(0x1b1)](_0x39aa62[_0x4a3ea9(0x177)],_0x4a3ea9(0x189),(_0x577b1c,_0x2a96c0)=>{const _0x8d9152=_0x4a3ea9;this[_0x8d9152(0x1b0)](_0x2a96c0,_0x8d9152(0x19d),_0xfd60f4);});}[_0x2f041f(0x1a7)](_0x28f7bc){const _0x2d15b1=_0x2f041f,_0xb4ecf9=this[_0x2d15b1(0x1ac)][_0x2d15b1(0x1b4)][_0x2d15b1(0x1bc)](_0x2d15b1(0x1aa)),_0x284b74=this[_0x2d15b1(0x1ac)][_0x2d15b1(0x1b4)][_0x2d15b1(0x1bc)](_0x2d15b1(0x197)),_0x23bdb0=this[_0x2d15b1(0x1ac)][_0x2d15b1(0x199)][_0x2d15b1(0x1bc)](_0x2d15b1(0x194));if(!_0x23bdb0||_0x28f7bc[_0x2d15b1(0x1ae)]===_0x23bdb0){const _0x4f67bb=_0xb4ecf9[_0x2d15b1(0x17f)][_0x2d15b1(0x1bc)](_0x28f7bc);if(!_0x4f67bb)return void this[_0x2d15b1(0x17a)][_0x2d15b1(0x181)](_0x28f7bc);const _0x3d6c2f=this[_0x2d15b1(0x18b)](_0x28f7bc[_0x2d15b1(0x1a2)]),_0x2aa984=_0x284b74[_0x2d15b1(0x198)](_0x4f67bb[_0x2d15b1(0x1a9)]);_0x2aa984[_0x2d15b1(0x1a3)]&&_0x284b74[_0x2d15b1(0x1b7)][_0x2d15b1(0x189)](_0x2aa984),this[_0x2d15b1(0x182)][_0x2d15b1(0x1bb)](_0x2aa984[_0x2d15b1(0x1a9)],_0x3d6c2f);}}[_0x2f041f(0x18b)](_0x200133){const _0x4ef36d=_0x2f041f,_0x252cf3=this[_0x4ef36d(0x1ac)][_0x4ef36d(0x199)][_0x4ef36d(0x1bc)](_0x4ef36d(0x194)),_0x14f6a3=[...this[_0x4ef36d(0x1ac)][_0x4ef36d(0x1b4)][_0x4ef36d(0x1bc)](_0x9ee9e2)[_0x4ef36d(0x1a4)]][_0x4ef36d(0x1ba)](_0xcbb3aa=>_0xcbb3aa[_0x4ef36d(0x1ae)]===_0x252cf3)[_0x4ef36d(0x1a6)](_0x357c6e=>_0x357c6e[_0x4ef36d(0x1a2)]<_0x200133);return _0x14f6a3<0x0||_0x14f6a3>this[_0x4ef36d(0x182)][_0x4ef36d(0x1b5)]?this[_0x4ef36d(0x182)][_0x4ef36d(0x1b5)]:_0x14f6a3-0x1;}[_0x2f041f(0x184)](){const _0x5bd8a6=_0x2f041f,_0x31a464=this[_0x5bd8a6(0x1ac)],_0x489891=_0x31a464[_0x5bd8a6(0x1b4)][_0x5bd8a6(0x1bc)](_0x5bd8a6(0x17b));this[_0x5bd8a6(0x18c)]||(this[_0x5bd8a6(0x18c)]=new _0x458bfd(_0x31a464[_0x5bd8a6(0x1bd)],this[_0x5bd8a6(0x182)])),_0x5bd8a6(0x17e)===_0x489891['id']?_0x489891[_0x5bd8a6(0x195)]():_0x489891[_0x5bd8a6(0x1af)]({'id':_0x5bd8a6(0x17e),'title':_0x14eccf(_0x31a464[_0x5bd8a6(0x1bd)],_0x5bd8a6(0x19b)),'icon':_0x41bc60,'hasCloseButton':!0x0,'content':this[_0x5bd8a6(0x18c)],'position':_0x272b09[_0x5bd8a6(0x1b8)]});}[_0x2f041f(0x1ab)](_0x1c157e,_0x1c5489=!0x1){const _0x35904e=_0x2f041f,_0x489f40=this[_0x35904e(0x1ac)][_0x35904e(0x1bd)],_0x4a083f=this[_0x35904e(0x1ac)][_0x35904e(0x1b4)][_0x35904e(0x1bc)](_0x35904e(0x17b)),_0x4b0920=new _0x1c157e(_0x489f40);return _0x4b0920[_0x35904e(0x193)](_0x35904e(0x1c3))['to'](this,_0x35904e(0x1c3)),_0x4b0920[_0x35904e(0x193)](_0x35904e(0x18f))['to'](_0x4a083f,'id',_0x169f5d=>_0x35904e(0x17e)===_0x169f5d),_0x4b0920[_0x35904e(0x19c)]({'label':_0x14eccf(_0x489f40,_0x35904e(0x19b)),'icon':_0x41bc60,'isToggleable':!0x0}),_0x1c5489&&(_0x4b0920[_0x35904e(0x1a5)]=!0x0),this[_0x35904e(0x1b1)](_0x4b0920,_0x35904e(0x18e),()=>this[_0x35904e(0x184)]()),_0x4b0920;}[_0x2f041f(0x1c1)]=_0x6840c0=>{const _0x569beb=_0x2f041f,_0x23a8dd=_0x6840c0[_0x569beb(0x186)];if(!this[_0x569beb(0x182)][_0x569beb(0x1b9)](_0x23a8dd[_0x569beb(0x1a9)]))return;const _0x12ab27=this[_0x569beb(0x1ac)][_0x569beb(0x1b4)][_0x569beb(0x1bc)](_0x569beb(0x17b));_0x12ab27[_0x569beb(0x179)]&&_0x569beb(0x17e)===_0x12ab27['id']&&(_0x12ab27[_0x569beb(0x195)](),_0x6840c0[_0x569beb(0x187)]());};}
|