@ckeditor/ckeditor5-comments 47.2.0-alpha.5 → 47.2.0-alpha.7
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 +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 +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 _0x567710=_0x2b43;(function(_0x4a8b45,_0x5d2cca){const _0xf8c9e=_0x2b43,_0x22bdde=_0x4a8b45();while(!![]){try{const _0x4401de=-parseInt(_0xf8c9e(0xc0))/0x1*(-parseInt(_0xf8c9e(0xde))/0x2)+-parseInt(_0xf8c9e(0xe4))/0x3*(-parseInt(_0xf8c9e(0xbc))/0x4)+-parseInt(_0xf8c9e(0xda))/0x5*(-parseInt(_0xf8c9e(0x104))/0x6)+parseInt(_0xf8c9e(0xc8))/0x7*(-parseInt(_0xf8c9e(0x105))/0x8)+parseInt(_0xf8c9e(0xdd))/0x9+-parseInt(_0xf8c9e(0xb2))/0xa*(parseInt(_0xf8c9e(0xc1))/0xb)+parseInt(_0xf8c9e(0xc7))/0xc*(-parseInt(_0xf8c9e(0x101))/0xd);if(_0x4401de===_0x5d2cca)break;else _0x22bdde['push'](_0x22bdde['shift']());}catch(_0x1bde10){_0x22bdde['push'](_0x22bdde['shift']());}}}(_0x3cd1,0x6045b));import{ContextPlugin as _0x3abdee}from'ckeditor5/src/core.js';import{Rect as _0x11db08,CKEditorError as _0xf33466}from'ckeditor5/src/utils.js';function _0x3cd1(){const _0x52f6da=['get','_attachToContainer','_detachFromContainer','_activeAnnotation','max','minHeight','4bLhvkh','init','targetRect','sidebar-setcontainer-invalid-element','12991YamaYX','382701fcVwOz','change:bottom','_annotationToSidebarItemView','push','change:top','_sidebarItemViewToAnnotation','864CPfHcN','189oqYvoi','target','_createSidebarView','_getItemBefore','_recalculateBuffer','change:targetRect','_getMaxAvailableTop','unbind','locale','_alignForBottomChange','content','stopListening','_getTargetTop','listenTo','_targetTop','sidebar.preventScrollOutOfView','isAnimationDisabled','Sidebar','3135TsuTfN','_alignAfterItem','_updateLastItem','166914roShZC','20XhuAnN','class','last','appendChild','length','bind','1009893RrdXBy','context','_spaceBetweenItems','addAnnotation','_alignForTopChange','updateHeight','remove','_setItemTop','height','isOfficialPlugin','_recalculate','setContainer','isActive','set','change:_lastItem','render','destroy','config','_lastItem','add','_getItemAfter','sidebar-attachtocontainer-missing-container','pluginName','object','_destroySidebarItemView','refresh','_alignBeforeItem','sidebar.container','top','5408iIAnkW','delete','nodeType','2256zTOFJM','77560ODrsbZ','container','_annotations','isPremiumPlugin','define','element','getSidebarItemView','view','list','clear','rearrange','10UMOLzC','getIndex','bottom','_alignToTargetRect'];_0x3cd1=function(){return _0x52f6da;};return _0x3cd1();}import{AnnotationsSidebarView as _0x46a8d3}from'./view/sidebarview.js';function _0x2b43(_0x9c2939,_0x33747d){const _0x3cd145=_0x3cd1();return _0x2b43=function(_0x2b43bc,_0x4a7f69){_0x2b43bc=_0x2b43bc-0xaf;let _0xe8a897=_0x3cd145[_0x2b43bc];return _0xe8a897;},_0x2b43(_0x9c2939,_0x33747d);}import{AnnotationsSidebarItemView as _0x572bcc}from'./view/sidebaritemview.js';export class Sidebar extends _0x3abdee{[_0x567710(0x10c)];[_0x567710(0xb9)];[_0x567710(0x107)];[_0x567710(0xe6)];[_0x567710(0xc6)];[_0x567710(0xc3)];[_0x567710(0xcc)];static get[_0x567710(0xfa)](){const _0x2d7909=_0x567710;return _0x2d7909(0xd9);}static get[_0x567710(0xed)](){return!0x0;}static get[_0x567710(0x108)](){return!0x0;}constructor(_0x3f8eb9){const _0x38eb7b=_0x567710;super(_0x3f8eb9),this[_0x38eb7b(0xf1)](_0x38eb7b(0xf6),void 0x0),this[_0x38eb7b(0x10c)]=this[_0x38eb7b(0xca)](),this[_0x38eb7b(0xf1)](_0x38eb7b(0x106),null),this[_0x38eb7b(0xe6)]=0x19,this[_0x38eb7b(0xc6)]=new Map(),this[_0x38eb7b(0xc3)]=new Map(),this[_0x38eb7b(0xe5)][_0x38eb7b(0xf5)][_0x38eb7b(0x109)](_0x38eb7b(0xd7),!0x1),this[_0x38eb7b(0x107)]=null,this[_0x38eb7b(0xb9)]=null,this[_0x38eb7b(0xcc)]=[];}[_0x567710(0xbd)](){const _0x1f2af3=_0x567710,_0x1d37d9=this[_0x1f2af3(0xe5)][_0x1f2af3(0xf5)][_0x1f2af3(0xb6)](_0x1f2af3(0xff));_0x1d37d9&&this[_0x1f2af3(0xef)](_0x1d37d9);}[_0x567710(0xef)](_0x353a4c){const _0x5e32ac=_0x567710;if(!g(_0x353a4c))throw new _0xf33466(_0x5e32ac(0xbf));this[_0x5e32ac(0x106)]=_0x353a4c;}[_0x567710(0xb7)]({viewClass:_0x3c98b5='',spaceBetweenItems:_0xd832f3=0x19}={}){const _0x43cc03=_0x567710;if(!g(this[_0x43cc03(0x106)]))throw new _0xf33466(_0x43cc03(0xf9),this);this[_0x43cc03(0x106)][_0x43cc03(0xe1)](this[_0x43cc03(0x10c)][_0x43cc03(0x10a)]),this[_0x43cc03(0x10c)][_0x43cc03(0xdf)]=_0x3c98b5,this[_0x43cc03(0xe6)]=_0xd832f3;}[_0x567710(0xb1)]({removedAnnotation:_0x4c5027,previousAnnotation:_0x510af8,nextAnnotation:_0x139e07}){const _0x283240=_0x567710,_0x2a2ccb=this[_0x283240(0x10b)](_0x4c5027);this[_0x283240(0x10c)][_0x283240(0xaf)][_0x283240(0xea)](_0x2a2ccb),this[_0x283240(0xfc)](_0x4c5027),_0x510af8&&this[_0x283240(0xb5)](this[_0x283240(0x10b)](_0x510af8)),_0x139e07&&this[_0x283240(0xb5)](this[_0x283240(0x10b)](_0x139e07)),this[_0x283240(0xdc)]();}[_0x567710(0xfd)]({blurredAnnotation:_0x19f7ca,activatedAnnotation:_0x25cd2,disableAnimationOnActivatedAnnotation:_0x50c7c6}){const _0x5379a6=_0x567710;if(this[_0x5379a6(0xb9)]=_0x25cd2,_0x19f7ca){_0x19f7ca[_0x5379a6(0xf0)]=!0x1;const _0x12995c=this[_0x5379a6(0x10b)](_0x19f7ca);_0x12995c&&_0x50c7c6&&(_0x12995c[_0x5379a6(0xd8)]=!0x1);}if(_0x25cd2){const _0x261173=this[_0x5379a6(0x10b)](_0x25cd2);_0x261173&&(_0x25cd2[_0x5379a6(0xf0)]=!0x0,_0x50c7c6&&(_0x261173[_0x5379a6(0xd8)]=!0x0,_0x261173[_0x5379a6(0x100)]+=0x1),this[_0x5379a6(0xb5)](_0x261173));}}[_0x567710(0xb8)](_0x2db9d1){const _0x4b15e9=_0x567710;if(this[_0x4b15e9(0x10c)][_0x4b15e9(0x10a)][_0x4b15e9(0xea)](),_0x2db9d1){for(const _0x46c994 of _0x2db9d1)this[_0x4b15e9(0xfc)](_0x46c994);}this[_0x4b15e9(0x10c)][_0x4b15e9(0xaf)][_0x4b15e9(0xb0)](),this[_0x4b15e9(0x10c)][_0x4b15e9(0xdf)]='',this[_0x4b15e9(0xf6)]=null;}[_0x567710(0xe7)](_0x4bf537,_0x2fb212){const _0x42080c=_0x567710;_0x2fb212||(_0x2fb212=_0x4bf537[_0x42080c(0x10c)]);const _0x2f88ba=new _0x572bcc(this[_0x42080c(0xe5)][_0x42080c(0xd0)]);this[_0x42080c(0xc6)][_0x42080c(0xf1)](_0x2f88ba,_0x4bf537),this[_0x42080c(0xc3)][_0x42080c(0xf1)](_0x4bf537,_0x2f88ba),_0x2f88ba[_0x42080c(0xd2)][_0x42080c(0xf7)](_0x2fb212),this[_0x42080c(0xd5)](_0x4bf537[_0x42080c(0x10c)],_0x42080c(0xcd),(_0x3db007,_0x290d57,_0x385951)=>{const _0x38e188=_0x42080c,_0x1bd3d0=this[_0x38e188(0xd4)](_0x4bf537,_0x385951);_0x2f88ba[_0x38e188(0xd6)]!=_0x1bd3d0&&(_0x2f88ba[_0x38e188(0xd6)]=_0x1bd3d0,this[_0x38e188(0xeb)](_0x2f88ba,_0x1bd3d0));}),this[_0x42080c(0xd5)](_0x2f88ba,_0x42080c(0xc5),()=>{const _0x2d3b0b=_0x42080c;this[_0x2d3b0b(0xee)](_0x2f88ba,_0x2d3b0b(0x100));}),this[_0x42080c(0xd5)](_0x2f88ba,_0x42080c(0xc2),()=>{const _0x2ce7c1=_0x42080c;this[_0x2ce7c1(0xee)](_0x2f88ba,_0x2ce7c1(0xb4));}),this[_0x42080c(0xb5)](_0x2f88ba);const _0x457233=this[_0x42080c(0xcb)](_0x2f88ba);if(_0x457233)this[_0x42080c(0xdb)](_0x457233,_0x2f88ba)||this[_0x42080c(0xb5)](_0x2f88ba);else this[_0x42080c(0xb5)](_0x2f88ba);return this[_0x42080c(0xdc)](),this[_0x42080c(0x10c)][_0x42080c(0xaf)][_0x42080c(0xf7)](_0x2f88ba),_0x2f88ba;}[_0x567710(0xe8)](_0x10d74a){const _0x3cb188=_0x567710;if(!_0x10d74a[_0x3cb188(0xd2)][_0x3cb188(0xe2)])return;const _0x263845=this[_0x3cb188(0xcb)](_0x10d74a);if(!_0x263845)return;const _0x13066c=this[_0x3cb188(0xc6)][_0x3cb188(0xb6)](_0x263845),_0xde2880=this[_0x3cb188(0xb9)];_0xde2880&&_0xde2880===_0x13066c?this[_0x3cb188(0xdb)](_0x263845,_0x10d74a):this[_0x3cb188(0xfe)](_0x10d74a,_0x263845);}[_0x567710(0xd1)](_0x1f55ca){const _0x474473=_0x567710;if(!_0x1f55ca[_0x474473(0xd2)][_0x474473(0xe2)])return;const _0x3f4007=this[_0x474473(0xf8)](_0x1f55ca);if(!_0x3f4007)return;const _0x4f0c33=this[_0x474473(0xc6)][_0x474473(0xb6)](_0x3f4007),_0x23bb76=this[_0x474473(0xe5)][_0x474473(0xf5)][_0x474473(0xb6)](_0x474473(0xd7)),_0xbc52de=this[_0x474473(0xb9)];_0xbc52de&&_0xbc52de===_0x4f0c33&&_0x23bb76?(this[_0x474473(0xfe)](_0x3f4007,_0x1f55ca),this[_0x474473(0xdb)](_0x1f55ca,_0x3f4007)):_0xbc52de&&_0xbc52de===_0x4f0c33?this[_0x474473(0xfe)](_0x3f4007,_0x1f55ca):this[_0x474473(0xdb)](_0x1f55ca,_0x3f4007);}[_0x567710(0xee)](_0x1776d3,_0x32ab1f){const _0x341410=_0x567710;0x0===this[_0x341410(0xcc)][_0x341410(0xe2)]&&setTimeout(()=>{const _0x198303=_0x341410;for(const {sidebarItemView:_0x340215,changedProp:_0x1cfd19}of this[_0x198303(0xcc)])_0x198303(0x100)===_0x1cfd19?this[_0x198303(0xe8)](_0x340215):this[_0x198303(0xd1)](_0x340215);this[_0x198303(0xcc)]=[];},0xa),this[_0x341410(0xcc)][_0x341410(0xc4)]({'sidebarItemView':_0x1776d3,'changedProp':_0x32ab1f});}[_0x567710(0x10b)](_0x252539){const _0x333dbc=_0x567710;return this[_0x333dbc(0xc3)][_0x333dbc(0xb6)](_0x252539);}[_0x567710(0xf4)](){const _0x3b6246=_0x567710;this[_0x3b6246(0xd3)](),this[_0x3b6246(0x10c)][_0x3b6246(0xf4)]();}[_0x567710(0xfc)](_0x34325b){const _0x33a0a7=_0x567710,_0x3d58d3=this[_0x33a0a7(0x10b)](_0x34325b);this[_0x33a0a7(0xd3)](_0x3d58d3),this[_0x33a0a7(0xd3)](_0x34325b[_0x33a0a7(0x10c)]),_0x3d58d3[_0x33a0a7(0xf4)](),this[_0x33a0a7(0xc3)][_0x33a0a7(0x102)](_0x34325b),this[_0x33a0a7(0xc6)][_0x33a0a7(0x102)](_0x3d58d3);}[_0x567710(0xca)](){const _0x1e6a0f=_0x567710,_0x1f173a=new _0x46a8d3(this[_0x1e6a0f(0xe5)][_0x1e6a0f(0xd0)]);return _0x1f173a[_0x1e6a0f(0xf3)](),this['on'](_0x1e6a0f(0xf2),(_0x25a3c5,_0xd86f54,_0x22fda9,_0x7679f8)=>{const _0x5afe32=_0x1e6a0f;_0x7679f8&&_0x1f173a[_0x5afe32(0xcf)](_0x5afe32(0xbb)),_0x22fda9?_0x1f173a[_0x5afe32(0xe3)](_0x5afe32(0xbb))['to'](_0x22fda9,_0x5afe32(0xb4)):_0x1f173a[_0x5afe32(0xbb)]=null;}),_0x1f173a;}[_0x567710(0xdc)](){const _0x33b99e=_0x567710;this[_0x33b99e(0xf6)]=this[_0x33b99e(0x107)]?.[_0x33b99e(0xe0)]?this[_0x33b99e(0x10b)](this[_0x33b99e(0x107)][_0x33b99e(0xe0)]):null;}[_0x567710(0xcb)](_0x49fb9){const _0x3fee83=_0x567710,_0x4a1f08=this[_0x3fee83(0xc6)][_0x3fee83(0xb6)](_0x49fb9),_0xdc4239=_0x4a1f08&&this[_0x3fee83(0x107)]?.[_0x3fee83(0xb6)](this[_0x3fee83(0x107)][_0x3fee83(0xb3)](_0x4a1f08)-0x1);return _0xdc4239&&this[_0x3fee83(0x10b)](_0xdc4239)||null;}[_0x567710(0xf8)](_0x2692d5){const _0x296d8a=_0x567710,_0x14c597=this[_0x296d8a(0xc6)][_0x296d8a(0xb6)](_0x2692d5),_0x574dd9=_0x14c597&&this[_0x296d8a(0x107)]?.[_0x296d8a(0xb6)](this[_0x296d8a(0x107)][_0x296d8a(0xb3)](_0x14c597)+0x1);return _0x574dd9&&this[_0x296d8a(0x10b)](_0x574dd9)||null;}[_0x567710(0xfe)](_0xa219ec,_0x55531c){const _0x1b8579=_0x567710;_0xa219ec[_0x1b8579(0xe9)]();const _0x43bcfa=G(_0x55531c[_0x1b8579(0xb4)]+this[_0x1b8579(0xe6)],_0xa219ec[_0x1b8579(0x100)]);return!!_0x43bcfa&&(this[_0x1b8579(0xeb)](_0x55531c,_0x55531c[_0x1b8579(0x100)]-_0x43bcfa),!0x0);}[_0x567710(0xdb)](_0x14a026,_0x96a11e){const _0x3918a6=_0x567710;_0x14a026[_0x3918a6(0xe9)]();const _0x30318c=G(_0x14a026[_0x3918a6(0xb4)]+this[_0x3918a6(0xe6)],_0x96a11e[_0x3918a6(0x100)]);return!!_0x30318c&&(this[_0x3918a6(0xeb)](_0x96a11e,_0x96a11e[_0x3918a6(0x100)]+_0x30318c,!0x1),!0x0);}[_0x567710(0xb5)](_0x187a78){const _0x34de47=_0x567710,_0x3774a3=this[_0x34de47(0xc6)][_0x34de47(0xb6)](_0x187a78);if(!_0x3774a3||!_0x3774a3[_0x34de47(0xc9)]||!_0x3774a3[_0x34de47(0xbe)])return;const _0x4a027e=this[_0x34de47(0xd4)](_0x3774a3,_0x3774a3[_0x34de47(0xbe)]);this[_0x34de47(0xeb)](_0x187a78,_0x4a027e);}[_0x567710(0xd4)](_0x61812f,_0x398ab4){const _0x2a0cc9=_0x567710;if(null===_0x398ab4)return 0x0;if(_0x61812f[_0x2a0cc9(0xc9)]instanceof _0x11db08)return _0x398ab4[_0x2a0cc9(0x100)];{const _0x4145d6=new _0x11db08(this[_0x2a0cc9(0x10c)][_0x2a0cc9(0x10a)])[_0x2a0cc9(0x100)];return _0x398ab4[_0x2a0cc9(0x100)]-_0x4145d6;}}[_0x567710(0xeb)](_0x317c4f,_0x81a8a3,_0x3c35fb=this[_0x567710(0xe5)][_0x567710(0xf5)][_0x567710(0xb6)](_0x567710(0xd7))){const _0xc5dcf2=_0x567710;_0x3c35fb&&(_0x81a8a3=Math[_0xc5dcf2(0xba)](_0x81a8a3,this[_0xc5dcf2(0xce)](_0x317c4f))),_0x317c4f[_0xc5dcf2(0x100)]=_0x81a8a3;}[_0x567710(0xce)](_0x188bde){const _0x58c983=_0x567710;let _0x17788b=this[_0x58c983(0xcb)](_0x188bde),_0x564837=0x0;for(;_0x17788b;)_0x17788b[_0x58c983(0xe9)](),_0x564837+=this[_0x58c983(0xe6)]+_0x17788b[_0x58c983(0xec)],_0x17788b=this[_0x58c983(0xcb)](_0x17788b);return _0x564837;}}function G(_0xae0c24,_0x2c9add){const _0x31e144=_0x567710;return Math[_0x31e144(0xba)](_0xae0c24-_0x2c9add,0x0);}function g(_0x46fca3){const _0x273414=_0x567710;return null!==_0x46fca3&&_0x273414(0xfb)==typeof _0x46fca3&&0x1===_0x46fca3[_0x273414(0x103)];}
|
|
23
|
+
const _0xf78925=_0xc20f;(function(_0x26b307,_0x2155d0){const _0x2b2712=_0xc20f,_0x50e187=_0x26b307();while(!![]){try{const _0x14fe11=parseInt(_0x2b2712(0x203))/0x1*(-parseInt(_0x2b2712(0x204))/0x2)+-parseInt(_0x2b2712(0x1e2))/0x3*(parseInt(_0x2b2712(0x22d))/0x4)+parseInt(_0x2b2712(0x22a))/0x5+parseInt(_0x2b2712(0x219))/0x6+-parseInt(_0x2b2712(0x1ff))/0x7*(-parseInt(_0x2b2712(0x21d))/0x8)+-parseInt(_0x2b2712(0x202))/0x9+-parseInt(_0x2b2712(0x20f))/0xa*(-parseInt(_0x2b2712(0x1f0))/0xb);if(_0x14fe11===_0x2155d0)break;else _0x50e187['push'](_0x50e187['shift']());}catch(_0x1abef7){_0x50e187['push'](_0x50e187['shift']());}}}(_0x6194,0xd449b));import{ContextPlugin as _0x393f43}from'ckeditor5/src/core.js';function _0x6194(){const _0xca3319=['_recalculate','class','content','_updateLastItem','change:targetRect','remove','add','15701rlrtci','change:_lastItem','target','6611256brWHoU','1yYkMed','668194QnwvFI','_attachToContainer','Sidebar','getIndex','isOfficialPlugin','_annotationToSidebarItemView','locale','addAnnotation','sidebar.container','top','height','835330UMYRzE','_activeAnnotation','set','minHeight','_lastItem','bind','nodeType','pluginName','object','_detachFromContainer','8161710kNqdVz','_alignForBottomChange','length','updateHeight','488fQTvwJ','unbind','sidebar-setcontainer-invalid-element','_spaceBetweenItems','_getTargetTop','isActive','sidebar.preventScrollOutOfView','isPremiumPlugin','init','change:bottom','refresh','context','define','4725660XaDRjZ','_alignToTargetRect','get','180788mVzxHS','appendChild','render','max','isAnimationDisabled','view','_targetTop','_alignAfterItem','last','listenTo','sidebar-attachtocontainer-missing-container','_getItemAfter','_alignBeforeItem','_setItemTop','delete','_recalculateBuffer','setContainer','39RfmHpT','push','stopListening','list','bottom','clear','getSidebarItemView','_createSidebarView','container','_getItemBefore','_destroySidebarItemView','_getMaxAvailableTop','_alignForTopChange','element','11AZlcIq','rearrange','_sidebarItemViewToAnnotation','destroy','change:top','targetRect','_annotations','config'];_0x6194=function(){return _0xca3319;};return _0x6194();}import{Rect as _0x13e7cd,CKEditorError as _0x64e0bb}from'ckeditor5/src/utils.js';function _0xc20f(_0x39f752,_0x4328b4){const _0x619407=_0x6194();return _0xc20f=function(_0xc20fdf,_0x50bae3){_0xc20fdf=_0xc20fdf-0x1d3;let _0xf85be6=_0x619407[_0xc20fdf];return _0xf85be6;},_0xc20f(_0x39f752,_0x4328b4);}import{AnnotationsSidebarView as _0x12c0c2}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x39fec0}from'./view/sidebaritemview.js';export class Sidebar extends _0x393f43{[_0xf78925(0x1d6)];[_0xf78925(0x210)];[_0xf78925(0x1f6)];[_0xf78925(0x220)];[_0xf78925(0x1f2)];[_0xf78925(0x209)];[_0xf78925(0x1e0)];static get[_0xf78925(0x216)](){const _0x42d1af=_0xf78925;return _0x42d1af(0x206);}static get[_0xf78925(0x208)](){return!0x0;}static get[_0xf78925(0x224)](){return!0x0;}constructor(_0x23d670){const _0x1636c3=_0xf78925;super(_0x23d670),this[_0x1636c3(0x211)](_0x1636c3(0x213),void 0x0),this[_0x1636c3(0x1d6)]=this[_0x1636c3(0x1e9)](),this[_0x1636c3(0x211)](_0x1636c3(0x1ea),null),this[_0x1636c3(0x220)]=0x19,this[_0x1636c3(0x1f2)]=new Map(),this[_0x1636c3(0x209)]=new Map(),this[_0x1636c3(0x228)][_0x1636c3(0x1f7)][_0x1636c3(0x229)](_0x1636c3(0x223),!0x1),this[_0x1636c3(0x1f6)]=null,this[_0x1636c3(0x210)]=null,this[_0x1636c3(0x1e0)]=[];}[_0xf78925(0x225)](){const _0x5e18e5=_0xf78925,_0x4cd5b4=this[_0x5e18e5(0x228)][_0x5e18e5(0x1f7)][_0x5e18e5(0x22c)](_0x5e18e5(0x20c));_0x4cd5b4&&this[_0x5e18e5(0x1e1)](_0x4cd5b4);}[_0xf78925(0x1e1)](_0x1935cb){const _0x13fa84=_0xf78925;if(!g(_0x1935cb))throw new _0x64e0bb(_0x13fa84(0x21f));this[_0x13fa84(0x1ea)]=_0x1935cb;}[_0xf78925(0x205)]({viewClass:_0x18a747='',spaceBetweenItems:_0x2c4224=0x19}={}){const _0x3a33bf=_0xf78925;if(!g(this[_0x3a33bf(0x1ea)]))throw new _0x64e0bb(_0x3a33bf(0x1db),this);this[_0x3a33bf(0x1ea)][_0x3a33bf(0x22e)](this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1ef)]),this[_0x3a33bf(0x1d6)][_0x3a33bf(0x1f9)]=_0x18a747,this[_0x3a33bf(0x220)]=_0x2c4224;}[_0xf78925(0x1f1)]({removedAnnotation:_0xce2a04,previousAnnotation:_0xa74c7f,nextAnnotation:_0x503af2}){const _0x41ffb2=_0xf78925,_0x4d7bd0=this[_0x41ffb2(0x1e8)](_0xce2a04);this[_0x41ffb2(0x1d6)][_0x41ffb2(0x1e5)][_0x41ffb2(0x1fd)](_0x4d7bd0),this[_0x41ffb2(0x1ec)](_0xce2a04),_0xa74c7f&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0xa74c7f)),_0x503af2&&this[_0x41ffb2(0x22b)](this[_0x41ffb2(0x1e8)](_0x503af2)),this[_0x41ffb2(0x1fb)]();}[_0xf78925(0x227)]({blurredAnnotation:_0x1806da,activatedAnnotation:_0x116100,disableAnimationOnActivatedAnnotation:_0x20e5ca}){const _0x239f96=_0xf78925;if(this[_0x239f96(0x210)]=_0x116100,_0x1806da){_0x1806da[_0x239f96(0x222)]=!0x1;const _0x59cafd=this[_0x239f96(0x1e8)](_0x1806da);_0x59cafd&&_0x20e5ca&&(_0x59cafd[_0x239f96(0x1d5)]=!0x1);}if(_0x116100){const _0x3a65cb=this[_0x239f96(0x1e8)](_0x116100);_0x3a65cb&&(_0x116100[_0x239f96(0x222)]=!0x0,_0x20e5ca&&(_0x3a65cb[_0x239f96(0x1d5)]=!0x0,_0x3a65cb[_0x239f96(0x20d)]+=0x1),this[_0x239f96(0x22b)](_0x3a65cb));}}[_0xf78925(0x218)](_0x2bae91){const _0x33d629=_0xf78925;if(this[_0x33d629(0x1d6)][_0x33d629(0x1ef)][_0x33d629(0x1fd)](),_0x2bae91){for(const _0x5a1be7 of _0x2bae91)this[_0x33d629(0x1ec)](_0x5a1be7);}this[_0x33d629(0x1d6)][_0x33d629(0x1e5)][_0x33d629(0x1e7)](),this[_0x33d629(0x1d6)][_0x33d629(0x1f9)]='',this[_0x33d629(0x213)]=null;}[_0xf78925(0x20b)](_0x5345a,_0x4eae6a){const _0x5c6d0c=_0xf78925;_0x4eae6a||(_0x4eae6a=_0x5345a[_0x5c6d0c(0x1d6)]);const _0x8d054c=new _0x39fec0(this[_0x5c6d0c(0x228)][_0x5c6d0c(0x20a)]);this[_0x5c6d0c(0x1f2)][_0x5c6d0c(0x211)](_0x8d054c,_0x5345a),this[_0x5c6d0c(0x209)][_0x5c6d0c(0x211)](_0x5345a,_0x8d054c),_0x8d054c[_0x5c6d0c(0x1fa)][_0x5c6d0c(0x1fe)](_0x4eae6a),this[_0x5c6d0c(0x1da)](_0x5345a[_0x5c6d0c(0x1d6)],_0x5c6d0c(0x1fc),(_0x11bcb7,_0x30214e,_0x49adf7)=>{const _0x2e07c1=_0x5c6d0c,_0x5d3f7d=this[_0x2e07c1(0x221)](_0x5345a,_0x49adf7);_0x8d054c[_0x2e07c1(0x1d7)]!=_0x5d3f7d&&(_0x8d054c[_0x2e07c1(0x1d7)]=_0x5d3f7d,this[_0x2e07c1(0x1de)](_0x8d054c,_0x5d3f7d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x1f4),()=>{const _0x158466=_0x5c6d0c;this[_0x158466(0x1f8)](_0x8d054c,_0x158466(0x20d));}),this[_0x5c6d0c(0x1da)](_0x8d054c,_0x5c6d0c(0x226),()=>{const _0x26ab73=_0x5c6d0c;this[_0x26ab73(0x1f8)](_0x8d054c,_0x26ab73(0x1e6));}),this[_0x5c6d0c(0x22b)](_0x8d054c);const _0x350c20=this[_0x5c6d0c(0x1eb)](_0x8d054c);if(_0x350c20)this[_0x5c6d0c(0x1d8)](_0x350c20,_0x8d054c)||this[_0x5c6d0c(0x22b)](_0x8d054c);else this[_0x5c6d0c(0x22b)](_0x8d054c);return this[_0x5c6d0c(0x1fb)](),this[_0x5c6d0c(0x1d6)][_0x5c6d0c(0x1e5)][_0x5c6d0c(0x1fe)](_0x8d054c),_0x8d054c;}[_0xf78925(0x1ee)](_0x4781a4){const _0xaf8a55=_0xf78925;if(!_0x4781a4[_0xaf8a55(0x1fa)][_0xaf8a55(0x21b)])return;const _0x192922=this[_0xaf8a55(0x1eb)](_0x4781a4);if(!_0x192922)return;const _0xb072c7=this[_0xaf8a55(0x1f2)][_0xaf8a55(0x22c)](_0x192922),_0x2050fe=this[_0xaf8a55(0x210)];_0x2050fe&&_0x2050fe===_0xb072c7?this[_0xaf8a55(0x1d8)](_0x192922,_0x4781a4):this[_0xaf8a55(0x1dd)](_0x4781a4,_0x192922);}[_0xf78925(0x21a)](_0x590918){const _0x67bc03=_0xf78925;if(!_0x590918[_0x67bc03(0x1fa)][_0x67bc03(0x21b)])return;const _0xc7c1f7=this[_0x67bc03(0x1dc)](_0x590918);if(!_0xc7c1f7)return;const _0x5d3d94=this[_0x67bc03(0x1f2)][_0x67bc03(0x22c)](_0xc7c1f7),_0x1d36af=this[_0x67bc03(0x228)][_0x67bc03(0x1f7)][_0x67bc03(0x22c)](_0x67bc03(0x223)),_0x3abbd8=this[_0x67bc03(0x210)];_0x3abbd8&&_0x3abbd8===_0x5d3d94&&_0x1d36af?(this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918),this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7)):_0x3abbd8&&_0x3abbd8===_0x5d3d94?this[_0x67bc03(0x1dd)](_0xc7c1f7,_0x590918):this[_0x67bc03(0x1d8)](_0x590918,_0xc7c1f7);}[_0xf78925(0x1f8)](_0x461921,_0x3098f2){const _0x2e6055=_0xf78925;0x0===this[_0x2e6055(0x1e0)][_0x2e6055(0x21b)]&&setTimeout(()=>{const _0x2a5bd5=_0x2e6055;for(const {sidebarItemView:_0x3f37ee,changedProp:_0x29a09f}of this[_0x2a5bd5(0x1e0)])_0x2a5bd5(0x20d)===_0x29a09f?this[_0x2a5bd5(0x1ee)](_0x3f37ee):this[_0x2a5bd5(0x21a)](_0x3f37ee);this[_0x2a5bd5(0x1e0)]=[];},0xa),this[_0x2e6055(0x1e0)][_0x2e6055(0x1e3)]({'sidebarItemView':_0x461921,'changedProp':_0x3098f2});}[_0xf78925(0x1e8)](_0x4ba482){const _0x45ade7=_0xf78925;return this[_0x45ade7(0x209)][_0x45ade7(0x22c)](_0x4ba482);}[_0xf78925(0x1f3)](){const _0x290794=_0xf78925;this[_0x290794(0x1e4)](),this[_0x290794(0x1d6)][_0x290794(0x1f3)]();}[_0xf78925(0x1ec)](_0x128d7a){const _0x2c77f7=_0xf78925,_0x544d45=this[_0x2c77f7(0x1e8)](_0x128d7a);this[_0x2c77f7(0x1e4)](_0x544d45),this[_0x2c77f7(0x1e4)](_0x128d7a[_0x2c77f7(0x1d6)]),_0x544d45[_0x2c77f7(0x1f3)](),this[_0x2c77f7(0x209)][_0x2c77f7(0x1df)](_0x128d7a),this[_0x2c77f7(0x1f2)][_0x2c77f7(0x1df)](_0x544d45);}[_0xf78925(0x1e9)](){const _0x2226df=_0xf78925,_0x5cc49f=new _0x12c0c2(this[_0x2226df(0x228)][_0x2226df(0x20a)]);return _0x5cc49f[_0x2226df(0x1d3)](),this['on'](_0x2226df(0x200),(_0x3986e0,_0x3f4f20,_0x4c798e,_0x1b38f6)=>{const _0x37d040=_0x2226df;_0x1b38f6&&_0x5cc49f[_0x37d040(0x21e)](_0x37d040(0x212)),_0x4c798e?_0x5cc49f[_0x37d040(0x214)](_0x37d040(0x212))['to'](_0x4c798e,_0x37d040(0x1e6)):_0x5cc49f[_0x37d040(0x212)]=null;}),_0x5cc49f;}[_0xf78925(0x1fb)](){const _0xddf48=_0xf78925;this[_0xddf48(0x213)]=this[_0xddf48(0x1f6)]?.[_0xddf48(0x1d9)]?this[_0xddf48(0x1e8)](this[_0xddf48(0x1f6)][_0xddf48(0x1d9)]):null;}[_0xf78925(0x1eb)](_0x289960){const _0x4da26d=_0xf78925,_0x20ec43=this[_0x4da26d(0x1f2)][_0x4da26d(0x22c)](_0x289960),_0x42eb02=_0x20ec43&&this[_0x4da26d(0x1f6)]?.[_0x4da26d(0x22c)](this[_0x4da26d(0x1f6)][_0x4da26d(0x207)](_0x20ec43)-0x1);return _0x42eb02&&this[_0x4da26d(0x1e8)](_0x42eb02)||null;}[_0xf78925(0x1dc)](_0x436594){const _0x44b38f=_0xf78925,_0x6b15ac=this[_0x44b38f(0x1f2)][_0x44b38f(0x22c)](_0x436594),_0x2d587e=_0x6b15ac&&this[_0x44b38f(0x1f6)]?.[_0x44b38f(0x22c)](this[_0x44b38f(0x1f6)][_0x44b38f(0x207)](_0x6b15ac)+0x1);return _0x2d587e&&this[_0x44b38f(0x1e8)](_0x2d587e)||null;}[_0xf78925(0x1dd)](_0x32816c,_0x2293e9){const _0x52e6ef=_0xf78925;_0x32816c[_0x52e6ef(0x21c)]();const _0x1d7e60=G(_0x2293e9[_0x52e6ef(0x1e6)]+this[_0x52e6ef(0x220)],_0x32816c[_0x52e6ef(0x20d)]);return!!_0x1d7e60&&(this[_0x52e6ef(0x1de)](_0x2293e9,_0x2293e9[_0x52e6ef(0x20d)]-_0x1d7e60),!0x0);}[_0xf78925(0x1d8)](_0x28ba62,_0x4f83a6){const _0x425743=_0xf78925;_0x28ba62[_0x425743(0x21c)]();const _0x1db225=G(_0x28ba62[_0x425743(0x1e6)]+this[_0x425743(0x220)],_0x4f83a6[_0x425743(0x20d)]);return!!_0x1db225&&(this[_0x425743(0x1de)](_0x4f83a6,_0x4f83a6[_0x425743(0x20d)]+_0x1db225,!0x1),!0x0);}[_0xf78925(0x22b)](_0x4da01f){const _0xc389b3=_0xf78925,_0x3310d3=this[_0xc389b3(0x1f2)][_0xc389b3(0x22c)](_0x4da01f);if(!_0x3310d3||!_0x3310d3[_0xc389b3(0x201)]||!_0x3310d3[_0xc389b3(0x1f5)])return;const _0xd8df4d=this[_0xc389b3(0x221)](_0x3310d3,_0x3310d3[_0xc389b3(0x1f5)]);this[_0xc389b3(0x1de)](_0x4da01f,_0xd8df4d);}[_0xf78925(0x221)](_0x3c91e9,_0x1af16f){const _0x31c73f=_0xf78925;if(null===_0x1af16f)return 0x0;if(_0x3c91e9[_0x31c73f(0x201)]instanceof _0x13e7cd)return _0x1af16f[_0x31c73f(0x20d)];{const _0x5f14b6=new _0x13e7cd(this[_0x31c73f(0x1d6)][_0x31c73f(0x1ef)])[_0x31c73f(0x20d)];return _0x1af16f[_0x31c73f(0x20d)]-_0x5f14b6;}}[_0xf78925(0x1de)](_0x54b2be,_0x21d33b,_0x394baf=this[_0xf78925(0x228)][_0xf78925(0x1f7)][_0xf78925(0x22c)](_0xf78925(0x223))){const _0x5f5bee=_0xf78925;_0x394baf&&(_0x21d33b=Math[_0x5f5bee(0x1d4)](_0x21d33b,this[_0x5f5bee(0x1ed)](_0x54b2be))),_0x54b2be[_0x5f5bee(0x20d)]=_0x21d33b;}[_0xf78925(0x1ed)](_0x3880fa){const _0x2eabd9=_0xf78925;let _0xcf29cd=this[_0x2eabd9(0x1eb)](_0x3880fa),_0x13c4a2=0x0;for(;_0xcf29cd;)_0xcf29cd[_0x2eabd9(0x21c)](),_0x13c4a2+=this[_0x2eabd9(0x220)]+_0xcf29cd[_0x2eabd9(0x20e)],_0xcf29cd=this[_0x2eabd9(0x1eb)](_0xcf29cd);return _0x13c4a2;}}function G(_0x49bd2d,_0x3978eb){const _0x438db7=_0xf78925;return Math[_0x438db7(0x1d4)](_0x49bd2d-_0x3978eb,0x0);}function g(_0x2d9fec){const _0x4489a3=_0xf78925;return null!==_0x2d9fec&&_0x4489a3(0x217)==typeof _0x2d9fec&&0x1===_0x2d9fec[_0x4489a3(0x215)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c4632=_0x5340;(function(_0xdff8e9,_0x2a9259){const _0xf7d0ff=_0x5340,_0x4a53fa=_0xdff8e9();while(!![]){try{const _0xb21d03=-parseInt(_0xf7d0ff(0x178))/0x1*(parseInt(_0xf7d0ff(0x169))/0x2)+parseInt(_0xf7d0ff(0x167))/0x3*(parseInt(_0xf7d0ff(0x176))/0x4)+parseInt(_0xf7d0ff(0x180))/0x5+-parseInt(_0xf7d0ff(0x177))/0x6+-parseInt(_0xf7d0ff(0x173))/0x7*(parseInt(_0xf7d0ff(0x17f))/0x8)+-parseInt(_0xf7d0ff(0x16c))/0x9+-parseInt(_0xf7d0ff(0x182))/0xa*(-parseInt(_0xf7d0ff(0x17d))/0xb);if(_0xb21d03===_0x2a9259)break;else _0x4a53fa['push'](_0x4a53fa['shift']());}catch(_0x9ac38f){_0x4a53fa['push'](_0x4a53fa['shift']());}}}(_0x4eb0,0x3e6a2));function _0x5340(_0x279cd4,_0x47046d){const _0x4eb0be=_0x4eb0();return _0x5340=function(_0x534094,_0x32e12c){_0x534094=_0x534094-0x166;let _0x297f26=_0x4eb0be[_0x534094];return _0x297f26;},_0x5340(_0x279cd4,_0x47046d);}import{ButtonView as _0x30230d,View as _0x52e4dd}from'ckeditor5/src/ui.js';import{IconAddComment as _0x19e4a3}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x30230d{[_0x1c4632(0x183)];constructor(_0x9dd73b){const _0x4e19fb=_0x1c4632;super(_0x9dd73b);const _0x4fc2b6=this[_0x4e19fb(0x17b)];this[_0x4e19fb(0x181)](_0x4e19fb(0x172),!0x1),this[_0x4e19fb(0x181)](_0x4e19fb(0x17c),0x0),this[_0x4e19fb(0x170)](_0x4e19fb(0x16f))['to'](this,_0x4e19fb(0x172),this,_0x4e19fb(0x17c),(_0x34394f,_0x5fe78b)=>_0x34394f?_0x4e19fb(0x17a):_0x5fe78b[_0x4e19fb(0x17e)]()),this[_0x4e19fb(0x181)](_0x4e19fb(0x166),''),this[_0x4e19fb(0x175)]=_0x19e4a3,this[_0x4e19fb(0x16d)]({'attributes':{'class':[_0x4e19fb(0x171)]}}),this[_0x4e19fb(0x183)]=new _0x52e4dd(),this[_0x4e19fb(0x183)][_0x4e19fb(0x16b)]({'tag':_0x4e19fb(0x168),'attributes':{'class':[_0x4e19fb(0x16a),_0x4fc2b6['to'](_0x4e19fb(0x166),_0x33833f=>_0x4e19fb(0x174)+_0x33833f),_0x4fc2b6['if'](_0x4e19fb(0x172),_0x4e19fb(0x184))]},'children':[{'text':_0x4fc2b6['to'](_0x4e19fb(0x16f))}]}),this[_0x4e19fb(0x16e)][_0x4e19fb(0x179)](this[_0x4e19fb(0x183)]);}}function _0x4eb0(){const _0x14b02a=['707fGRJWd','ck-annotation-counter__badge--','icon','4ejzVcg','1629348nERJPS','4069XgKdbZ','add','...','bindTemplate','number','162228OQtjhM','toString','34712SuWjFp','254605kzyjhK','set','730HeTCOp','counterView','ck-annotation-counter__badge--edit-mode','annotationType','773928dMXrTK','span','90VWEKmJ','ck-annotation-counter__badge','setTemplate','2132541ZirVJU','extendTemplate','children','_badge','bind','ck-annotation-counter','isDirty'];_0x4eb0=function(){return _0x14b02a;};return _0x4eb0();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18e2eb=_0x2e85;(function(_0x1f71e6,_0x5dd13e){const _0xac71ad=_0x2e85,_0x479614=_0x1f71e6();while(!![]){try{const _0x33b5f9=-parseInt(_0xac71ad(0x94))/0x1*(parseInt(_0xac71ad(0x7b))/0x2)+parseInt(_0xac71ad(0x75))/0x3*(parseInt(_0xac71ad(0x76))/0x4)+-parseInt(_0xac71ad(0x81))/0x5*(-parseInt(_0xac71ad(0x87))/0x6)+-parseInt(_0xac71ad(0x7c))/0x7+-parseInt(_0xac71ad(0x9a))/0x8+parseInt(_0xac71ad(0x9c))/0x9+-parseInt(_0xac71ad(0x77))/0xa;if(_0x33b5f9===_0x5dd13e)break;else _0x479614['push'](_0x479614['shift']());}catch(_0x2cbfed){_0x479614['push'](_0x479614['shift']());}}}(_0x5029,0x36e99));import{View as _0x120bbe}from'ckeditor5/src/ui.js';function _0x5029(){const _0x4b7377=['3214368slXsXU','presentation','4033116dKETdc','focusTracker','set','delegate','ck-annotation-wrapper--active','render','createCollection','mainView','44754aJpCij','76PtrqTi','961520HTpgWG','targetRect','attach','fire','22402NLPghI','1071924zLVOji','listenTo','type','_mutationObserver','keystrokes','5wHwAFP','arrowup','arrowdown','Esc','destroy','isDirty','2143524ihIgbm','height','_updateHeight','clientHeight','first','length','ck-annotation-wrapper','focus','bindTemplate','element','add','div','clear','19mFOTwN','content','ck-rounded-corners','setTemplate','isActive','detach'];_0x5029=function(){return _0x4b7377;};return _0x5029();}function _0x2e85(_0x27c0df,_0x55c023){const _0x50296b=_0x5029();return _0x2e85=function(_0x2e8585,_0x2a8a58){_0x2e8585=_0x2e8585-0x74;let _0x342a67=_0x50296b[_0x2e8585];return _0x342a67;},_0x2e85(_0x27c0df,_0x55c023);}import{FocusTracker as _0x1d70f1,KeystrokeHandler as _0x4297fc,uid as _0x4a41ee}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x304db4}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x120bbe{[_0x18e2eb(0x9d)];['id'];[_0x18e2eb(0x80)];[_0x18e2eb(0x95)];[_0x18e2eb(0x74)];[_0x18e2eb(0x7f)];constructor(_0x4e4127,_0x9fd244){const _0x716bd5=_0x18e2eb;super(_0x4e4127),this['id']=_0x4a41ee(),this[_0x716bd5(0x9d)]=new _0x1d70f1(),this[_0x716bd5(0x80)]=new _0x4297fc(),this[_0x716bd5(0x80)][_0x716bd5(0x9e)](_0x716bd5(0x84),(_0x12c670,_0x4ead1b)=>this[_0x716bd5(0x7a)](_0x716bd5(0x84),_0x4ead1b)),this[_0x716bd5(0x9e)](_0x716bd5(0x78),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x716bd5(0x9e)](_0x716bd5(0x88),0x0),this[_0x716bd5(0x9e)](_0x716bd5(0x98),!0x1),this[_0x716bd5(0x9e)](_0x716bd5(0x86),!0x1),this[_0x716bd5(0x9e)](_0x716bd5(0x8c),0x0),this[_0x716bd5(0x9e)](_0x716bd5(0x7e),''),this[_0x716bd5(0x7f)]=_0x304db4(()=>this[_0x716bd5(0x89)]()),this[_0x716bd5(0x95)]=this[_0x716bd5(0xa2)](),this[_0x716bd5(0x95)][_0x716bd5(0x9f)](_0x716bd5(0x82),_0x716bd5(0x83))['to'](this),this[_0x716bd5(0x95)][_0x716bd5(0x91)](_0x9fd244),this[_0x716bd5(0x74)]=_0x9fd244;const _0xd5032b=this[_0x716bd5(0x8f)];this[_0x716bd5(0x97)]({'tag':_0x716bd5(0x92),'attributes':{'class':['ck',_0x716bd5(0x8d),_0x716bd5(0x96),_0xd5032b['if'](_0x716bd5(0x98),_0x716bd5(0xa0))],'role':_0x716bd5(0x9b)},'children':this[_0x716bd5(0x95)]});}[_0x18e2eb(0xa1)](){const _0x5bf649=_0x18e2eb;super[_0x5bf649(0xa1)](),this[_0x5bf649(0x9d)][_0x5bf649(0x91)](this[_0x5bf649(0x90)]),this[_0x5bf649(0x80)][_0x5bf649(0x7d)](this[_0x5bf649(0x90)]),this[_0x5bf649(0x7f)][_0x5bf649(0x79)](this[_0x5bf649(0x90)]);}[_0x18e2eb(0x85)](){const _0x1caa53=_0x18e2eb;this[_0x1caa53(0x95)][_0x1caa53(0x93)](),this[_0x1caa53(0x80)][_0x1caa53(0x85)](),this[_0x1caa53(0x9d)][_0x1caa53(0x85)](),this[_0x1caa53(0x7f)][_0x1caa53(0x99)](),super[_0x1caa53(0x85)]();}[_0x18e2eb(0x8e)](){const _0x2b94a4=_0x18e2eb;this[_0x2b94a4(0x95)][_0x2b94a4(0x8b)]&&this[_0x2b94a4(0x95)][_0x2b94a4(0x8b)][_0x2b94a4(0x8e)]();}[_0x18e2eb(0x89)](){const _0x4ab8e7=_0x18e2eb,_0x22c90a=this[_0x4ab8e7(0x90)][_0x4ab8e7(0x8a)];_0x22c90a&&(this[_0x4ab8e7(0x88)]=_0x22c90a);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xdf27d8=_0x2bff;(function(_0x36b6de,_0x57f207){const _0x1a2f50=_0x2bff,_0x361271=_0x36b6de();while(!![]){try{const _0x514317=-parseInt(_0x1a2f50(0x19b))/0x1*(parseInt(_0x1a2f50(0x1be))/0x2)+-parseInt(_0x1a2f50(0x1b9))/0x3*(-parseInt(_0x1a2f50(0x1bf))/0x4)+-parseInt(_0x1a2f50(0x1b8))/0x5*(parseInt(_0x1a2f50(0x1a6))/0x6)+parseInt(_0x1a2f50(0x1ba))/0x7+parseInt(_0x1a2f50(0x1ad))/0x8+-parseInt(_0x1a2f50(0x1a4))/0x9+parseInt(_0x1a2f50(0x1b1))/0xa;if(_0x514317===_0x57f207)break;else _0x361271['push'](_0x361271['shift']());}catch(_0x37692a){_0x361271['push'](_0x361271['shift']());}}}(_0x3e9b,0x85a09));import{View as _0x419220}from'ckeditor5/src/ui.js';function _0x3e9b(){const _0xa23653=['15JarQaG','3915394ftrJBi','presentation','isAnimationDisabled','content','15094pLCOxx','832124ycLryG','div','set','127iShrdX','createCollection','clientHeight','ck-sidebar-item','arrowdown','bind','_mutationObserver','attach','clear','8133228zKrdWb','setTemplate','228sdapNS','bindTemplate','top','render','focus','element','first','7511808XXhIqR','arrowup','updateHeight','bottom','1862730uGckju','ck-sidebar-item--no-animation','_targetTop','delegate','destroy','height','detach','41480EIeuxm'];_0x3e9b=function(){return _0xa23653;};return _0x3e9b();}import{toUnit as _0x5cbe70}from'ckeditor5/src/utils.js';function _0x2bff(_0x2e5266,_0x20a189){const _0x3e9b6c=_0x3e9b();return _0x2bff=function(_0x2bff4b,_0xb78f6){_0x2bff4b=_0x2bff4b-0x19a;let _0x26f54e=_0x3e9b6c[_0x2bff4b];return _0x26f54e;},_0x2bff(_0x2e5266,_0x20a189);}import{createMutationObserver as _0x1c8cbf}from'../../utils/createmutationobserver.js';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x5cbe70('px');export class AnnotationsSidebarItemView extends _0x419220{[_0xdf27d8(0x1bd)];[_0xdf27d8(0x1b3)];[_0xdf27d8(0x1a1)];constructor(_0x174db4){const _0x7cdb5c=_0xdf27d8;super(_0x174db4),this[_0x7cdb5c(0x19a)](_0x7cdb5c(0x1a8),0x0),this[_0x7cdb5c(0x19a)](_0x7cdb5c(0x1b6),0x0),this[_0x7cdb5c(0x1a0)](_0x7cdb5c(0x1b0))['to'](this,_0x7cdb5c(0x1a8),this,_0x7cdb5c(0x1b6),(_0x24bf5b,_0x4833de)=>_0x24bf5b+_0x4833de),this[_0x7cdb5c(0x19a)](_0x7cdb5c(0x1bc),!0x1),this[_0x7cdb5c(0x1a1)]=_0x1c8cbf(()=>this[_0x7cdb5c(0x1af)]()),this[_0x7cdb5c(0x1b3)]=null,this[_0x7cdb5c(0x1bd)]=this[_0x7cdb5c(0x19c)](),this[_0x7cdb5c(0x1bd)][_0x7cdb5c(0x1b4)](_0x7cdb5c(0x1ae),_0x7cdb5c(0x19f))['to'](this);const _0x27b383=this[_0x7cdb5c(0x1a7)];this[_0x7cdb5c(0x1a5)]({'tag':_0x7cdb5c(0x1c0),'attributes':{'class':[_0x7cdb5c(0x19e),_0x27b383['to'](_0x7cdb5c(0x1bc),_0x5e3df1=>_0x5e3df1?_0x7cdb5c(0x1b2):'')],'style':{'top':_0x27b383['to'](_0x7cdb5c(0x1a8),_0xd59e10=>Ht(_0xd59e10))},'role':_0x7cdb5c(0x1bb)},'children':this[_0x7cdb5c(0x1bd)]});}[_0xdf27d8(0x1a9)](){const _0x259351=_0xdf27d8;super[_0x259351(0x1a9)](),this[_0x259351(0x1a1)][_0x259351(0x1a2)](this[_0x259351(0x1ab)]);}[_0xdf27d8(0x1aa)](){const _0x1180d6=_0xdf27d8;this[_0x1180d6(0x1bd)][_0x1180d6(0x1ac)]&&this[_0x1180d6(0x1bd)][_0x1180d6(0x1ac)][_0x1180d6(0x1aa)]();}[_0xdf27d8(0x1af)](){const _0x5dd873=_0xdf27d8,_0x54578e=this[_0x5dd873(0x1ab)][_0x5dd873(0x19d)];_0x54578e&&(this[_0x5dd873(0x1b6)]=_0x54578e);}[_0xdf27d8(0x1b5)](){const _0x45a34b=_0xdf27d8;this[_0x45a34b(0x1bd)][_0x45a34b(0x1a3)](),this[_0x45a34b(0x1a1)][_0x45a34b(0x1b7)](),super[_0x45a34b(0x1b5)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1197c2=_0x3f1d;(function(_0x14dd53,_0x5f77a2){const _0xb67781=_0x3f1d,_0xa20d7=_0x14dd53();while(!![]){try{const _0x4a268b=-parseInt(_0xb67781(0xa7))/0x1+-parseInt(_0xb67781(0x9c))/0x2+parseInt(_0xb67781(0x8f))/0x3+parseInt(_0xb67781(0x8d))/0x4*(parseInt(_0xb67781(0x9b))/0x5)+-parseInt(_0xb67781(0xa3))/0x6+parseInt(_0xb67781(0x9e))/0x7+parseInt(_0xb67781(0xa5))/0x8;if(_0x4a268b===_0x5f77a2)break;else _0xa20d7['push'](_0xa20d7['shift']());}catch(_0x280498){_0xa20d7['push'](_0xa20d7['shift']());}}}(_0x26f3,0x1fcfe));import{View as _0x5506de,FocusCycler as _0x4354ee}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5487d9,toUnit as _0x82ad9d}from'ckeditor5/src/utils.js';function _0x3f1d(_0x5da629,_0x3c52fe){const _0x26f3ef=_0x26f3();return _0x3f1d=function(_0x3f1d96,_0x99924e){_0x3f1d96=_0x3f1d96-0x8b;let _0x20ef53=_0x26f3ef[_0x3f1d96];return _0x20ef53;},_0x3f1d(_0x5da629,_0x3c52fe);}function _0x26f3(){const _0xea7b8f=['728214MXvStO','_setupKeyboardNavigation','137200nCuLgJ','add','13521SfcxSI','focusables','focus','class','setTemplate','minHeight','ck-reset','element','listenTo','number','getIndex','length','added','delegate','remove','change','focusFirst','focusTracker','application','_updateItemPositionInFocusables','createCollection','forEach','Annotations\x20sidebar','4gfpZUY','list','284472yvVHec','source','change:top','set','arrowdown','focusCycler','uiLanguageDirection','removed','top','ck-sidebar','bindTemplate','focusPrevious','317880IxUpMU','171738jNMVjF','arrowup','1228577evYaQJ','Annotations\x20list','render','div','focusNext'];_0x26f3=function(){return _0xea7b8f;};return _0x26f3();}import{getTranslation as _0x2bc29b}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x82ad9d('px');export class AnnotationsSidebarView extends _0x5506de{[_0x1197c2(0x8e)];[_0x1197c2(0xa8)];[_0x1197c2(0xb8)];[_0x1197c2(0x94)];constructor(_0x409ee8){const _0x22985d=_0x1197c2;super(_0x409ee8);const _0x5cab62=this[_0x22985d(0x99)];this[_0x22985d(0x92)](_0x22985d(0xac),0x0),this[_0x22985d(0x92)](_0x22985d(0xaa),''),this[_0x22985d(0x8e)]=this[_0x22985d(0xbb)](),this[_0x22985d(0xa8)]=this[_0x22985d(0xbb)](),this[_0x22985d(0x8e)][_0x22985d(0xb4)](_0x22985d(0x9d),_0x22985d(0x93))['to'](this),this[_0x22985d(0xb8)]=new _0x5487d9(),this[_0x22985d(0x94)]=new _0x4354ee({'focusables':this[_0x22985d(0xa8)],'focusTracker':this[_0x22985d(0xb8)]}),this[_0x22985d(0xab)]({'tag':_0x22985d(0xa1),'attributes':{'class':['ck',_0x22985d(0x98),_0x22985d(0xad),_0x5cab62['to'](_0x22985d(0xaa))],'style':{'minHeight':_0x5cab62['to'](_0x22985d(0xac),_0x13d1a9=>_0x22985d(0xb0)==typeof _0x13d1a9?Ht(_0x13d1a9+0xa):null)},'dir':_0x409ee8[_0x22985d(0x95)],'role':_0x22985d(0xb9),'aria-label':_0x2bc29b(_0x409ee8,_0x22985d(0x8c)),'tabindex':0x0},'children':[{'tag':_0x22985d(0xa1),'attributes':{'role':_0x22985d(0x8e),'aria-label':_0x2bc29b(_0x409ee8,_0x22985d(0x9f))},'children':this[_0x22985d(0x8e)]}]});}[_0x1197c2(0xa0)](){const _0x4210b1=_0x1197c2;super[_0x4210b1(0xa0)](),this[_0x4210b1(0xa4)]();}[_0x1197c2(0xa9)](){const _0x47076b=_0x1197c2;this[_0x47076b(0x94)][_0x47076b(0xb7)]();}[_0x1197c2(0xa4)](){const _0x2c47ae=_0x1197c2;this[_0x2c47ae(0x8e)][_0x2c47ae(0xb4)](_0x2c47ae(0x91))['to'](this),this['on'](_0x2c47ae(0x91),_0x479b5f=>{const _0x549461=_0x2c47ae;this[_0x549461(0xba)](_0x479b5f[_0x549461(0x90)]);}),this[_0x2c47ae(0x8e)][_0x2c47ae(0x8b)](_0x394716=>{const _0x35c484=_0x2c47ae;this[_0x35c484(0xb8)][_0x35c484(0xa6)](_0x394716[_0x35c484(0xae)]),this[_0x35c484(0xba)](_0x394716);}),this[_0x2c47ae(0x8e)]['on'](_0x2c47ae(0xb6),(_0x29970b,_0x57263f)=>{const _0x5b59d3=_0x2c47ae;for(const _0x5e33ee of _0x57263f[_0x5b59d3(0x96)])this[_0x5b59d3(0xb8)][_0x5b59d3(0xb5)](_0x5e33ee[_0x5b59d3(0xae)]),this[_0x5b59d3(0xa8)][_0x5b59d3(0xb5)](_0x5e33ee);for(const _0x5b14c4 of _0x57263f[_0x5b59d3(0xb3)])this[_0x5b59d3(0xb8)][_0x5b59d3(0xa6)](_0x5b14c4[_0x5b59d3(0xae)]),this[_0x5b59d3(0xba)](_0x5b14c4);}),this['on'](_0x2c47ae(0x9d),()=>{const _0x4f35c3=_0x2c47ae;this[_0x4f35c3(0x94)][_0x4f35c3(0x9a)]();}),this['on'](_0x2c47ae(0x93),()=>{const _0x51967c=_0x2c47ae;this[_0x51967c(0x94)][_0x51967c(0xa2)]();}),this[_0x2c47ae(0xaf)](this[_0x2c47ae(0xae)],_0x2c47ae(0xa9),()=>{const _0x537210=_0x2c47ae;this[_0x537210(0xa9)]();});}[_0x1197c2(0xba)](_0x2f91f2){const _0x4968a6=_0x1197c2,_0x497081=this[_0x4968a6(0xa8)][_0x4968a6(0xb1)](_0x2f91f2);let _0x3a0264,_0x152a42;for(const _0x7fb1a0 of this[_0x4968a6(0xa8)])if(_0x2f91f2[_0x4968a6(0x97)]<_0x7fb1a0[_0x4968a6(0x97)]){_0x3a0264=_0x7fb1a0;break;}if(_0x152a42=_0x3a0264?this[_0x4968a6(0xa8)][_0x4968a6(0xb1)](_0x3a0264):this[_0x4968a6(0xa8)][_0x4968a6(0xb2)],-0x1!==_0x497081){if(_0x497081===_0x152a42-0x1)return;this[_0x4968a6(0xa8)][_0x4968a6(0xb5)](_0x2f91f2),_0x152a42=_0x3a0264?this[_0x4968a6(0xa8)][_0x4968a6(0xb1)](_0x3a0264):this[_0x4968a6(0xa8)][_0x4968a6(0xb2)];}this[_0x4968a6(0xa8)][_0x4968a6(0xa6)](_0x2f91f2,_0x152a42);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x35de(){const _0x369b35=['_destroyEditorAnnotationsIntegration','Annotations','from','3803350KubVzE','rearrange','stopListening','refresh','removeEventListener','_activeAnnotation','1836798plOsrA','WideSidebar','context','1669246VULfJL','widesidebar-detach-not-attached','has','_detachFromContainer','change:container','get','24250FVWlgq','resize','EditorAnnotations','ck-sidebar--wide','6946576QasDnz','isAttached','isPremiumPlugin','requires','set','off','activeAnnotation','switchTo','widesidebar-attach-already-attached','add','addEventListener','high','remove','261XcuaOX','hasDomSelection','refreshPositioning','setActiveAnnotation','pluginName','init','blur','attach','detach','_editorAnnotations','uiUpdate','_refreshPositioningDebounced','58040VOFIXO','isOfficialPlugin','getOrderedSelectedAnnotations','ready','434979ntTZvW','register','listenTo','container','plugins','set:container','addAnnotation','focus','652pGlHmK','_integrateWithEditorAnnotations','stop','updateTargetRect','1idvIwt','editors','_attachToContainer','annotations','_annotations','cancel','destroy','wideSidebar','refreshVisibility'];_0x35de=function(){return _0x369b35;};return _0x35de();}const _0x1f971e=_0x36ff;function _0x36ff(_0x25b52e,_0x392a86){const _0x35de92=_0x35de();return _0x36ff=function(_0x36ff0a,_0x1bd315){_0x36ff0a=_0x36ff0a-0x103;let _0xb51a0a=_0x35de92[_0x36ff0a];return _0xb51a0a;},_0x36ff(_0x25b52e,_0x392a86);}(function(_0x2586f3,_0x9187c8){const _0x5f1985=_0x36ff,_0x1025ce=_0x2586f3();while(!![]){try{const _0x4eab1c=-parseInt(_0x5f1985(0x11f))/0x1*(parseInt(_0x5f1985(0x134))/0x2)+-parseInt(_0x5f1985(0x113))/0x3+-parseInt(_0x5f1985(0x11b))/0x4*(-parseInt(_0x5f1985(0x13a))/0x5)+parseInt(_0x5f1985(0x131))/0x6+parseInt(_0x5f1985(0x13e))/0x7+-parseInt(_0x5f1985(0x10f))/0x8*(parseInt(_0x5f1985(0x103))/0x9)+-parseInt(_0x5f1985(0x12b))/0xa;if(_0x4eab1c===_0x9187c8)break;else _0x1025ce['push'](_0x1025ce['shift']());}catch(_0x2ed361){_0x1025ce['push'](_0x1025ce['shift']());}}}(_0x35de,0x7ea31));import{ContextPlugin as _0x49c765,Context as _0x28cebb}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x424554}from'./annotationsuis.js';import{Sidebar as _0x57d5ac}from'./sidebar.js';import{CKEditorError as _0xa2a59e,Collection as _0x412db3}from'ckeditor5/src/utils.js';import{debounce as _0x33b306}from'es-toolkit/compat';export class WideSidebar extends _0x49c765{[_0x1f971e(0x13f)];[_0x1f971e(0x122)];[_0x1f971e(0x10c)];[_0x1f971e(0x10e)];static get[_0x1f971e(0x141)](){return[_0x57d5ac,_0x424554];}static get[_0x1f971e(0x107)](){const _0x37831a=_0x1f971e;return _0x37831a(0x132);}static get[_0x1f971e(0x110)](){return!0x0;}static get[_0x1f971e(0x140)](){return!0x0;}constructor(_0x4c4c9c){const _0x19133f=_0x1f971e;super(_0x4c4c9c),this[_0x19133f(0x13f)]=!0x1,this[_0x19133f(0x142)](_0x19133f(0x144),null),this[_0x19133f(0x122)]=null,this[_0x19133f(0x10c)]=new _0x412db3(),this[_0x19133f(0x10e)]=_0x33b306(()=>{const _0x316c45=_0x19133f;_0x4c4c9c[_0x316c45(0x117)][_0x316c45(0x139)](_0x316c45(0x129))[_0x316c45(0x127)](),this[_0x316c45(0x122)][_0x316c45(0x105)]();},0xfa,{'leading':!0x1});}[_0x1f971e(0x108)](){const _0x204b8c=_0x1f971e,_0x437eda=this[_0x204b8c(0x133)][_0x204b8c(0x117)][_0x204b8c(0x139)](_0x424554),_0x519d5e=this[_0x204b8c(0x133)][_0x204b8c(0x117)][_0x204b8c(0x139)](_0x57d5ac);_0x437eda[_0x204b8c(0x114)](_0x204b8c(0x126),this),_0x519d5e[_0x204b8c(0x116)]&&_0x437eda[_0x204b8c(0x145)](_0x204b8c(0x126));}[_0x1f971e(0x106)](_0x23fba5){const _0x32f5da=_0x1f971e;if(_0x23fba5===this[_0x32f5da(0x144)])return;const _0x56986b=this[_0x32f5da(0x133)][_0x32f5da(0x117)][_0x32f5da(0x139)](_0x57d5ac);_0x56986b[_0x32f5da(0x130)]=_0x23fba5;const _0x578c76=this[_0x32f5da(0x144)];_0x56986b[_0x32f5da(0x12e)]({'blurredAnnotation':_0x578c76,'activatedAnnotation':_0x23fba5}),this[_0x32f5da(0x144)]=_0x23fba5;}[_0x1f971e(0x10a)](_0x2b4fd2){const _0x48046d=_0x1f971e;this[_0x48046d(0x122)]=_0x2b4fd2;const _0x279b1f=this[_0x48046d(0x133)][_0x48046d(0x117)][_0x48046d(0x139)](_0x57d5ac);if(_0x279b1f[_0x48046d(0x123)]=_0x2b4fd2,this[_0x48046d(0x13f)])throw new _0xa2a59e(_0x48046d(0x146),this);this[_0x48046d(0x13f)]=!0x0,this[_0x48046d(0x115)](_0x279b1f,_0x48046d(0x118),()=>{const _0x442727=_0x48046d;this[_0x442727(0x10b)](),this[_0x442727(0x115)](_0x279b1f,_0x442727(0x138),_0x22fdde=>{const _0x453a77=_0x442727;_0x22fdde[_0x453a77(0x143)](),this[_0x453a77(0x10a)](_0x2b4fd2);});}),_0x279b1f[_0x48046d(0x121)]({'viewClass':_0x48046d(0x13d)});const _0x44f86f=_0x12edde=>{const _0x212ed9=_0x48046d;_0x12edde[_0x212ed9(0x11e)](),_0x279b1f[_0x212ed9(0x119)](_0x12edde);};for(const _0x22de32 of _0x2b4fd2)_0x44f86f(_0x22de32);this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x147),(_0x2563da,_0x39d99b)=>{_0x44f86f(_0x39d99b);}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x14a),(_0x2ad7b4,_0x10babe,_0x5ebaaf)=>{const _0x28dab9=_0x48046d;_0x279b1f[_0x28dab9(0x12c)]({'removedAnnotation':_0x10babe,'previousAnnotation':_0x2b4fd2[_0x28dab9(0x139)](_0x5ebaaf-0x1),'nextAnnotation':_0x2b4fd2[_0x28dab9(0x139)](_0x5ebaaf+0x1)}),_0x10babe===this[_0x28dab9(0x144)]&&this[_0x28dab9(0x106)](null);},{'priority':_0x48046d(0x149)}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x11a),(_0x385311,_0x35d4a5)=>{const _0x5453a0=_0x48046d;this[_0x5453a0(0x106)](_0x35d4a5);}),this[_0x48046d(0x115)](_0x2b4fd2,_0x48046d(0x109),()=>{const _0x31af6c=_0x48046d;this[_0x31af6c(0x106)](null);});const _0x197653=this[_0x48046d(0x133)]instanceof _0x28cebb?this[_0x48046d(0x133)][_0x48046d(0x120)]:new _0x412db3([this[_0x48046d(0x133)]]);for(const _0xaf449e of _0x197653)this[_0x48046d(0x11c)](_0xaf449e);this[_0x48046d(0x115)](_0x197653,_0x48046d(0x147),(_0x543255,_0x112309)=>{const _0x11ad62=_0x48046d;this[_0x11ad62(0x115)](_0x112309,_0x11ad62(0x112),()=>{const _0x50d487=_0x11ad62;this[_0x50d487(0x11c)](_0x112309);});}),this[_0x48046d(0x115)](_0x197653,_0x48046d(0x14a),(_0xcbbe44,_0x220e9b)=>{const _0x507483=_0x48046d;_0x220e9b[_0x507483(0x117)][_0x507483(0x136)](_0x507483(0x13c))&&this[_0x507483(0x128)](_0x220e9b[_0x507483(0x117)][_0x507483(0x139)](_0x507483(0x13c)));}),window[_0x48046d(0x148)](_0x48046d(0x13b),this[_0x48046d(0x10e)]),this[_0x48046d(0x133)][_0x48046d(0x117)][_0x48046d(0x139)](_0x48046d(0x129))[_0x48046d(0x127)](),this[_0x48046d(0x122)][_0x48046d(0x105)]();}[_0x1f971e(0x10b)](){const _0x3d7b57=_0x1f971e;if(!this[_0x3d7b57(0x13f)])throw new _0xa2a59e(_0x3d7b57(0x135),this);this[_0x3d7b57(0x106)](null);const _0x1fe488=this[_0x3d7b57(0x133)][_0x3d7b57(0x117)][_0x3d7b57(0x139)](_0x57d5ac);_0x1fe488[_0x3d7b57(0x137)](this[_0x3d7b57(0x122)]),this[_0x3d7b57(0x12d)](_0x1fe488),this[_0x3d7b57(0x12d)](this[_0x3d7b57(0x122)]),this[_0x3d7b57(0x133)]instanceof _0x28cebb&&this[_0x3d7b57(0x12d)](this[_0x3d7b57(0x133)][_0x3d7b57(0x120)]);for(const _0x41d5fd of Array[_0x3d7b57(0x12a)](this[_0x3d7b57(0x10c)]))this[_0x3d7b57(0x128)](_0x41d5fd);window[_0x3d7b57(0x12f)](_0x3d7b57(0x13b),this[_0x3d7b57(0x10e)]),this[_0x3d7b57(0x10e)][_0x3d7b57(0x124)](),this[_0x3d7b57(0x144)]=null,this[_0x3d7b57(0x13f)]=!0x1,this[_0x3d7b57(0x122)]=null;}[_0x1f971e(0x125)](){const _0x33eb5f=_0x1f971e;this[_0x33eb5f(0x13f)]&&this[_0x33eb5f(0x10b)]();}[_0x1f971e(0x11c)](_0xae3985){const _0x21b369=_0x1f971e;if(!_0xae3985[_0x21b369(0x117)][_0x21b369(0x136)](_0x21b369(0x13c)))return;const _0x5d3da3=_0xae3985[_0x21b369(0x117)][_0x21b369(0x139)](_0x21b369(0x13c)),_0x31f052=()=>{const _0x23b221=_0x21b369,_0x259451=_0x5d3da3[_0x23b221(0x111)]({'annotations':this[_0x23b221(0x122)],'activeAnnotation':this[_0x23b221(0x144)]});this[_0x23b221(0x106)](_0x259451[0x0]||null);};this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x12e),_0x31f052),this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x109),(_0x57f843,{isAnnotationTracked:_0x477f24})=>{const _0x587f9d=_0x21b369;this[_0x587f9d(0x144)]&&_0x477f24(this[_0x587f9d(0x144)])&&this[_0x587f9d(0x106)](null);}),this[_0x21b369(0x115)](_0x5d3da3,_0x21b369(0x10d),()=>{const _0xeadfdd=_0x21b369;this[_0xeadfdd(0x10e)]();}),this[_0x21b369(0x115)](this[_0x21b369(0x122)],_0x21b369(0x109),_0x58b4b0=>{const _0x30007e=_0x21b369;_0x5d3da3[_0x30007e(0x104)]()&&(_0x31f052(),_0x58b4b0[_0x30007e(0x11d)]());},{'priority':_0x21b369(0x149)}),this[_0x21b369(0x10c)][_0x21b369(0x147)](_0x5d3da3);}[_0x1f971e(0x128)](_0x28e294){const _0x53fe16=_0x1f971e;this[_0x53fe16(0x12d)](_0x28e294),this[_0x53fe16(0x10c)][_0x53fe16(0x14a)](_0x28e294);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3af2(_0x421d3d,_0x17b961){const _0x2e8f0a=_0x2e8f();return _0x3af2=function(_0x3af20e,_0x4d2f02){_0x3af20e=_0x3af20e-0xc5;let _0x3988e3=_0x2e8f0a[_0x3af20e];return _0x3988e3;},_0x3af2(_0x421d3d,_0x17b961);}function _0x2e8f(){const _0x1cd45c=['createRange','addcommentthreadcommand-user-not-found','comment:','41355zZuvhH','addcommentthreadcommand-incorrect-ranges','64278Vkcfur','collaboration.channelId','4034680VfBLpm','item','CommentsRepository','1LsNkdV','change','backward','42DiOJjY','6230ZblEIv','716768vOBVLI','_trimToContent','substr','start','from','addCommentThread','640989wVzbKf','getRanges','selection','set','hasContent','model','tableCell','isEnabled','_createMarkersFromRanges','getLastMatchingPosition','_hasContent','_itemIsContent','addMarker','plugins','config','document','42021ctHCer','7301952lYQByd','length','$textProxy','getItems','_createCommentThread','get','schema','push','element','isObject','execute','editor','Users','refresh','end'];_0x2e8f=function(){return _0x1cd45c;};return _0x2e8f();}const _0x1cc592=_0x3af2;(function(_0x57ba6f,_0x495ed4){const _0x30c472=_0x3af2,_0xc435cd=_0x57ba6f();while(!![]){try{const _0x1bf72f=parseInt(_0x30c472(0xe1))/0x1*(-parseInt(_0x30c472(0xdc))/0x2)+-parseInt(_0x30c472(0xec))/0x3+-parseInt(_0x30c472(0xde))/0x4+parseInt(_0x30c472(0xda))/0x5*(parseInt(_0x30c472(0xe4))/0x6)+-parseInt(_0x30c472(0xc8))/0x7+-parseInt(_0x30c472(0xe6))/0x8+parseInt(_0x30c472(0xc7))/0x9*(parseInt(_0x30c472(0xe5))/0xa);if(_0x1bf72f===_0x495ed4)break;else _0xc435cd['push'](_0xc435cd['shift']());}catch(_0x45633b){_0xc435cd['push'](_0xc435cd['shift']());}}}(_0x2e8f,0x8d798));import{Command as _0x113e20}from'ckeditor5/src/core.js';import{uid as _0x5f457f,CKEditorError as _0xc4e757}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x113e20{constructor(_0x38d1d1){const _0x5ac09a=_0x3af2;super(_0x38d1d1),this[_0x5ac09a(0xef)](_0x5ac09a(0xf0),!0x1);}[_0x1cc592(0xd5)](){const _0x5900f8=_0x1cc592,_0x4b370f=this[_0x5900f8(0xd3)][_0x5900f8(0xf1)][_0x5900f8(0xc6)][_0x5900f8(0xee)];this[_0x5900f8(0xf3)]=!0x0,this[_0x5900f8(0xf0)]=!0x1;for(const _0x42571d of _0x4b370f[_0x5900f8(0xed)]())if(this[_0x5900f8(0xf6)](_0x42571d))return void(this[_0x5900f8(0xf0)]=!0x0);}[_0x1cc592(0xd2)]({threadId:_0x294537=_0x5f457f(),ranges:_0x4e0f64,comment:_0x4fe353}={}){const _0x7b3d6c=_0x1cc592,_0xd1d6d5=this[_0x7b3d6c(0xd3)][_0x7b3d6c(0xf1)],_0x3ba137=_0x4e0f64??Array[_0x7b3d6c(0xea)](_0xd1d6d5[_0x7b3d6c(0xc6)][_0x7b3d6c(0xee)][_0x7b3d6c(0xed)]()),_0x54ac34=[];for(const _0x30b1cc of _0x3ba137)this[_0x7b3d6c(0xf6)](_0x30b1cc)&&_0x54ac34[_0x7b3d6c(0xcf)](this[_0x7b3d6c(0xe7)](_0x30b1cc));if(!_0x54ac34[_0x7b3d6c(0xc9)])throw new _0xc4e757(_0x7b3d6c(0xdb),null);_0x4fe353&&this[_0x7b3d6c(0xcc)](_0x294537,_0x4fe353),this[_0x7b3d6c(0xf4)](_0x294537,_0x54ac34,!!_0x4fe353);}[_0x1cc592(0xf4)](_0x510d26,_0x29af19,_0x40f8c4){const _0x226982=_0x1cc592;this[_0x226982(0xd3)][_0x226982(0xf1)][_0x226982(0xe2)](_0x10f4e1=>{const _0x52af24=_0x226982;for(const _0x3adeb2 of _0x29af19){const _0x45c2fa=_0x5f457f()[_0x52af24(0xe8)](0x1,0x5),_0x4b7347=_0x52af24(0xd9)+_0x510d26+':'+_0x45c2fa;_0x10f4e1[_0x52af24(0xf8)](_0x4b7347,{'range':_0x3adeb2,'usingOperation':_0x40f8c4,'affectsData':_0x40f8c4});}});}[_0x1cc592(0xcc)](_0x2c24f1,_0x57ca50){const _0x519760=_0x1cc592,_0x299d9c=this[_0x519760(0xd3)][_0x519760(0xf9)][_0x519760(0xcd)](_0x519760(0xe0)),_0x59282f=this[_0x519760(0xd3)][_0x519760(0xc5)][_0x519760(0xcd)](_0x519760(0xdd)),_0x126d08=this[_0x519760(0xd3)][_0x519760(0xf9)][_0x519760(0xcd)](_0x519760(0xd4))['me'];if(!_0x126d08)throw new _0xc4e757(_0x519760(0xd8),null);_0x299d9c[_0x519760(0xeb)]({'threadId':_0x2c24f1,'channelId':_0x59282f,'comments':[{'authorId':_0x126d08['id'],'content':_0x57ca50,'createdAt':new Date(),'attributes':{}}]});}[_0x1cc592(0xf6)](_0x4304e0){const _0x543fa3=_0x1cc592;for(const _0x5e72df of _0x4304e0[_0x543fa3(0xcb)]())if(this[_0x543fa3(0xf7)](_0x5e72df))return!0x0;return!0x1;}[_0x1cc592(0xf7)](_0x221c5a){const _0x291e6c=_0x1cc592;return _0x221c5a['is'](_0x291e6c(0xca))||this[_0x291e6c(0xd3)][_0x291e6c(0xf1)][_0x291e6c(0xce)][_0x291e6c(0xd1)](_0x221c5a)&&!_0x221c5a['is'](_0x291e6c(0xd0),_0x291e6c(0xf2));}[_0x1cc592(0xe7)](_0x141ed5){const _0x12235a=_0x1cc592,_0x2cb3ec=_0x418a4d=>!this[_0x12235a(0xf7)](_0x418a4d[_0x12235a(0xdf)]),_0x134d65=_0x141ed5[_0x12235a(0xe9)][_0x12235a(0xf5)](_0x2cb3ec),_0x183a40=_0x141ed5[_0x12235a(0xd6)][_0x12235a(0xf5)](_0x2cb3ec,{'direction':_0x12235a(0xe3)});return this[_0x12235a(0xd3)][_0x12235a(0xf1)][_0x12235a(0xd7)](_0x134d65,_0x183a40);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3644(_0x54236c,_0x25d100){const _0x95a8eb=_0x95a8();return _0x3644=function(_0x364498,_0x10dd7a){_0x364498=_0x364498-0x1df;let _0x157db4=_0x95a8eb[_0x364498];return _0x157db4;},_0x3644(_0x54236c,_0x25d100);}function _0x95a8(){const _0x563b04=['length','stopListening','activate','1418559VSYlEq','476501XTLBUs','isVisible','findIndex','isPremiumPlugin','requires','913060IpvXFi','add','isOfficialPlugin','264FcHhzc','change:archivedAt','166149RUEXRW','227015opbbvq','102cppWAQ','540108iGLEMN','archivedThreads','addCommentThread','archivedAt','has','isActive','listenTo','getCommentThread','init','removeCommentThread','remove','collection','1481802LUvUNc','CommentsArchive','pluginName','focus','plugins','highest','_calculatePosition','get','context'];_0x95a8=function(){return _0x563b04;};return _0x95a8();}const _0x4f0304=_0x3644;(function(_0x39add4,_0x472969){const _0xd974d5=_0x3644,_0x8284a5=_0x39add4();while(!![]){try{const _0x98a657=parseInt(_0xd974d5(0x1e5))/0x1+parseInt(_0xd974d5(0x1ea))/0x2+-parseInt(_0xd974d5(0x1e4))/0x3+parseInt(_0xd974d5(0x1f2))/0x4+-parseInt(_0xd974d5(0x1f0))/0x5*(-parseInt(_0xd974d5(0x1f1))/0x6)+-parseInt(_0xd974d5(0x1fe))/0x7+-parseInt(_0xd974d5(0x1ed))/0x8*(parseInt(_0xd974d5(0x1ef))/0x9);if(_0x98a657===_0x472969)break;else _0x8284a5['push'](_0x8284a5['shift']());}catch(_0x499f9a){_0x8284a5['push'](_0x8284a5['shift']());}}}(_0x95a8,0x8556d));import{ContextPlugin as _0x5163de}from'ckeditor5/src/core.js';import{Collection as _0x522012}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x542226}from'./commentsrepository.js';import{Annotations as _0x37a7a5}from'../annotations/annotations.js';export class CommentsArchive extends _0x5163de{static get[_0x4f0304(0x200)](){const _0x187bd8=_0x4f0304;return _0x187bd8(0x1ff);}static get[_0x4f0304(0x1ec)](){return!0x0;}static get[_0x4f0304(0x1e8)](){return!0x0;}static get[_0x4f0304(0x1e9)](){return[_0x542226,_0x37a7a5];}constructor(_0x14015d){const _0x4305cb=_0x4f0304;super(_0x14015d),this[_0x4305cb(0x1f3)]=new _0x522012();}[_0x4f0304(0x1fa)](){const _0x4fb612=_0x4f0304,_0x4a8c1c=this[_0x4fb612(0x1e0)],_0x25cade=_0x4a8c1c[_0x4fb612(0x202)][_0x4fb612(0x1df)](_0x542226),_0x467f49=_0x4a8c1c[_0x4fb612(0x202)][_0x4fb612(0x1df)](_0x37a7a5);this[_0x4fb612(0x1f8)](_0x25cade,_0x4fb612(0x1f4),(_0x3ffa1f,{threadId:_0x5128b7})=>{const _0xb765b7=_0x4fb612,_0x1862f8=_0x25cade[_0xb765b7(0x1f9)](_0x5128b7);_0x1862f8[_0xb765b7(0x1f5)]&&this[_0xb765b7(0x1f3)][_0xb765b7(0x1eb)](_0x1862f8,this[_0xb765b7(0x204)](_0x1862f8[_0xb765b7(0x1f5)])),this[_0xb765b7(0x1f8)](_0x1862f8,_0xb765b7(0x1ee),(_0x44c8b4,_0x378134,_0x4d6b2d)=>{const _0x11e17d=_0xb765b7;_0x4d6b2d?this[_0x11e17d(0x1f3)][_0x11e17d(0x1f6)](_0x1862f8)||this[_0x11e17d(0x1f3)][_0x11e17d(0x1eb)](_0x1862f8,this[_0x11e17d(0x204)](_0x1862f8[_0x11e17d(0x1f5)])):this[_0x11e17d(0x1f3)][_0x11e17d(0x1f6)](_0x1862f8)&&this[_0x11e17d(0x1f3)][_0x11e17d(0x1fc)](_0x1862f8);});}),this[_0x4fb612(0x1f8)](_0x25cade,_0x4fb612(0x1fb),(_0x59f831,{threadId:_0x28ca90})=>{const _0x1de25d=_0x4fb612,_0xf0e341=_0x25cade[_0x1de25d(0x1f9)](_0x28ca90);this[_0x1de25d(0x1e2)](_0xf0e341),this[_0x1de25d(0x1f3)][_0x1de25d(0x1f6)](_0xf0e341)&&this[_0x1de25d(0x1f3)][_0x1de25d(0x1fc)](_0xf0e341);},{'priority':_0x4fb612(0x203)}),this[_0x4fb612(0x1f8)](_0x467f49[_0x4fb612(0x1fd)],_0x4fb612(0x201),(_0x282d6d,_0x31934b)=>{const _0x2c17bf=_0x4fb612;_0x31934b[_0x2c17bf(0x1e6)]||(_0x31934b[_0x2c17bf(0x1f7)]=!0x0,_0x467f49[_0x2c17bf(0x1e3)](_0x31934b));});}[_0x4f0304(0x204)](_0x493da8){const _0x58b497=_0x4f0304,_0x42b72c=[...this[_0x58b497(0x1f3)]][_0x58b497(0x1e7)](_0x470baf=>_0x470baf[_0x58b497(0x1f5)]<_0x493da8);return _0x42b72c>-0x1?_0x42b72c:this[_0x58b497(0x1f3)][_0x58b497(0x1e1)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbd9f=_0x4a2b;function _0x249c(){const _0xe28082=['menuitemcheckbox','Annotations','CommentsArchiveUI','channelId','hide','find','_createCommentsArchiveButton','1510tJetKq','set','source','_threadToController','stop','push','archivedThreads','isEnabled','collection','config','plugins','isOfficialPlugin','945tPnEnv','_toggleDialog','Dialog','remove','view','_visibleAnnotations','add','69444nUKHaP','get','getByInnerView','4xdaJoF','indexOf','findIndex','execute','locale','escape','8441130YAFyVT','EDITOR_TOP_SIDE','includes','302741UatwqI','10014XQIDAM','_handleNewThread','init','editor','676168NpExTu','filter','tooltip','COMMENTS_ARCHIVE','_pendingThreads','forEach','isOpen','17960CiAchi','focusableElements','_addAnnotationToArchive','isPremiumPlugin','stopListening','innerView','commentsArchiveView','commentsArchive','_calculatePosition','annotationViews','collaboration.channelId','bind','archivedAt','pluginName','isVisible','componentFactory','set:isVisible','show','_hideDialogOnAnnotationEscape','menuBar:commentsArchive','387609LgIdaJ','requires','CommentsRepository','has','listenTo','return','length','isOn','splice'];_0x249c=function(){return _0xe28082;};return _0x249c();}(function(_0x467047,_0x434e0d){const _0x290f6f=_0x4a2b,_0xef7913=_0x467047();while(!![]){try{const _0x58874b=-parseInt(_0x290f6f(0x13b))/0x1+-parseInt(_0x290f6f(0x140))/0x2+parseInt(_0x290f6f(0x15b))/0x3*(-parseInt(_0x290f6f(0x132))/0x4)+-parseInt(_0x290f6f(0x16b))/0x5*(-parseInt(_0x290f6f(0x13c))/0x6)+parseInt(_0x290f6f(0x128))/0x7*(-parseInt(_0x290f6f(0x147))/0x8)+parseInt(_0x290f6f(0x12f))/0x9+parseInt(_0x290f6f(0x138))/0xa;if(_0x58874b===_0x434e0d)break;else _0xef7913['push'](_0xef7913['shift']());}catch(_0x2fab88){_0xef7913['push'](_0xef7913['shift']());}}}(_0x249c,0x4508c));import'../../theme/commentsarchive.css';import{Plugin as _0x489e1a}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x51b2f3}from'ckeditor5/src/icons.js';import{ViewCollection as _0x4bb262,MenuBarMenuListItemButtonView as _0x33be4c,ButtonView as _0x129594,Dialog as _0x37c106,DialogViewPosition as _0x4fd53f}from'ckeditor5/src/ui.js';function _0x4a2b(_0x327732,_0x5224e5){const _0x249c29=_0x249c();return _0x4a2b=function(_0x4a2b58,_0x371e5d){_0x4a2b58=_0x4a2b58-0x127;let _0xa24e1b=_0x249c29[_0x4a2b58];return _0xa24e1b;},_0x4a2b(_0x327732,_0x5224e5);}import{getTranslation as _0x54c985}from'../utils/common-translations.js';import{CommentsArchiveView as _0x284d06}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0xe6c5eb}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x489e1a{[_0xbd9f(0x14d)];[_0xbd9f(0x150)];[_0xbd9f(0x144)];static get[_0xbd9f(0x154)](){const _0x3e8263=_0xbd9f;return _0x3e8263(0x166);}static get[_0xbd9f(0x127)](){return!0x0;}static get[_0xbd9f(0x14a)](){return!0x0;}static get[_0xbd9f(0x15c)](){return[_0xe6c5eb,_0x37c106];}constructor(_0x522e72){const _0x16f495=_0xbd9f;super(_0x522e72),this[_0x16f495(0x150)]=new _0x4bb262(),this[_0x16f495(0x144)]=[];}[_0xbd9f(0x13e)](){const _0x5066d5=_0xbd9f,_0x3fe5bd=this[_0x5066d5(0x13f)],_0x5344f3=this[_0x5066d5(0x159)][_0x5066d5(0x152)](this);_0x3fe5bd['ui'][_0x5066d5(0x156)][_0x5066d5(0x12e)](_0x5066d5(0x14e),()=>this[_0x5066d5(0x16a)](_0x129594,!0x0)),_0x3fe5bd['ui'][_0x5066d5(0x156)][_0x5066d5(0x12e)](_0x5066d5(0x15a),()=>{const _0x1c4864=_0x5066d5,_0x273732=this[_0x1c4864(0x16a)](_0x33be4c);return _0x273732[_0x1c4864(0x16c)]({'role':_0x1c4864(0x164)}),_0x273732;});const _0x5bd79a=_0x3fe5bd[_0x5066d5(0x175)][_0x5066d5(0x130)](_0xe6c5eb),_0x30f41a=_0x3fe5bd[_0x5066d5(0x175)][_0x5066d5(0x130)](_0x5066d5(0x165)),_0x293eaf=_0x3fe5bd[_0x5066d5(0x175)][_0x5066d5(0x130)](_0x5066d5(0x15d));_0x5bd79a[_0x5066d5(0x171)][_0x5066d5(0x145)](_0x4a01d3=>{const _0x155ad1=_0x5066d5;this[_0x155ad1(0x13d)](_0x4a01d3);}),this[_0x5066d5(0x15f)](_0x5bd79a[_0x5066d5(0x171)],_0x5066d5(0x12e),(_0x4c0a14,_0x2de48f)=>{const _0x2bdbe2=_0x5066d5;this[_0x2bdbe2(0x13d)](_0x2de48f);}),this[_0x5066d5(0x15f)](_0x30f41a[_0x5066d5(0x173)],_0x5066d5(0x12e),(_0x34b667,_0x5f4bb0)=>{const _0x109eef=_0x5066d5,_0x1fbd41=this[_0x109eef(0x144)][_0x109eef(0x169)](_0xa44ca9=>{const _0x315a89=_0x109eef,_0x1d54a3=_0x293eaf[_0x315a89(0x16e)][_0x315a89(0x130)](_0xa44ca9);return _0x1d54a3&&_0x5f4bb0[_0x315a89(0x14c)]===_0x1d54a3[_0x315a89(0x12c)];});if(_0x1fbd41){const _0x4ceb53=this[_0x109eef(0x14f)](_0x1fbd41[_0x109eef(0x153)]);this[_0x109eef(0x149)](_0x5f4bb0,_0x4ceb53),this[_0x109eef(0x144)][_0x109eef(0x163)](this[_0x109eef(0x144)][_0x109eef(0x133)](_0x1fbd41),0x1);}}),this[_0x5066d5(0x15f)](_0x5bd79a[_0x5066d5(0x171)],_0x5066d5(0x12b),(_0x2796b0,_0x13c618)=>{const _0x1ecb55=_0x5066d5,_0x508253=_0x3fe5bd[_0x1ecb55(0x174)][_0x1ecb55(0x130)](_0x1ecb55(0x151));if(!_0x508253||_0x13c618[_0x1ecb55(0x167)]===_0x508253){if(this[_0x1ecb55(0x144)][_0x1ecb55(0x13a)](_0x13c618))this[_0x1ecb55(0x144)][_0x1ecb55(0x163)](this[_0x1ecb55(0x144)][_0x1ecb55(0x133)](_0x13c618),0x1);else{const _0x102db4=_0x293eaf[_0x1ecb55(0x16e)][_0x1ecb55(0x130)](_0x13c618),_0x5386fb=_0x30f41a[_0x1ecb55(0x131)](_0x102db4[_0x1ecb55(0x12c)]);this[_0x1ecb55(0x150)][_0x1ecb55(0x12b)](_0x5386fb[_0x1ecb55(0x12c)]),this[_0x1ecb55(0x14b)](_0x5386fb),this[_0x1ecb55(0x14b)](_0x5386fb[_0x1ecb55(0x148)]);}}}),this[_0x5066d5(0x15f)](_0x30f41a[_0x5066d5(0x173)],_0x5066d5(0x12e),(_0x228064,_0x3fadbc)=>{const _0x1d120f=_0x5066d5;this[_0x1d120f(0x15f)](_0x3fadbc,_0x1d120f(0x137),_0x5344f3);}),this[_0x5066d5(0x15f)](_0x30f41a[_0x5066d5(0x173)],_0x5066d5(0x12b),(_0x2e3552,_0x40ed7)=>{const _0x2a4876=_0x5066d5;this[_0x2a4876(0x14b)](_0x40ed7,_0x2a4876(0x137),_0x5344f3);});}[_0xbd9f(0x149)](_0x1259c5,_0x5998ab){const _0x24ab39=_0xbd9f;this[_0x24ab39(0x15f)](_0x1259c5,_0x24ab39(0x157),_0x52960c=>{const _0x1c821d=_0x24ab39;_0x52960c[_0x1c821d(0x160)]=!0x1,_0x52960c[_0x1c821d(0x16f)]();}),this[_0x24ab39(0x150)][_0x24ab39(0x12e)](_0x1259c5[_0x24ab39(0x12c)],_0x5998ab);}[_0xbd9f(0x13d)](_0x1793d5){const _0x267dca=_0xbd9f,_0x33a1fd=this[_0x267dca(0x13f)][_0x267dca(0x175)][_0x267dca(0x130)](_0x267dca(0x15d)),_0x4828dd=this[_0x267dca(0x13f)][_0x267dca(0x175)][_0x267dca(0x130)](_0x267dca(0x165)),_0x2458b3=this[_0x267dca(0x13f)][_0x267dca(0x174)][_0x267dca(0x130)](_0x267dca(0x151));if(!_0x2458b3||_0x1793d5[_0x267dca(0x167)]===_0x2458b3){const _0x48c793=_0x33a1fd[_0x267dca(0x16e)][_0x267dca(0x130)](_0x1793d5);if(!_0x48c793)return void this[_0x267dca(0x144)][_0x267dca(0x170)](_0x1793d5);const _0x98a70b=this[_0x267dca(0x14f)](_0x1793d5[_0x267dca(0x153)]),_0x5919c1=_0x4828dd[_0x267dca(0x131)](_0x48c793[_0x267dca(0x12c)]);_0x5919c1[_0x267dca(0x155)]&&_0x4828dd[_0x267dca(0x12d)][_0x267dca(0x12b)](_0x5919c1),this[_0x267dca(0x149)](_0x5919c1,_0x98a70b);}}[_0xbd9f(0x14f)](_0x2bda59){const _0x6d440=_0xbd9f,_0x447eff=this[_0x6d440(0x13f)][_0x6d440(0x174)][_0x6d440(0x130)](_0x6d440(0x151)),_0xa37c7e=[...this[_0x6d440(0x13f)][_0x6d440(0x175)][_0x6d440(0x130)](_0xe6c5eb)[_0x6d440(0x171)]][_0x6d440(0x141)](_0x4c1c7a=>_0x4c1c7a[_0x6d440(0x167)]===_0x447eff)[_0x6d440(0x134)](_0x2f4868=>_0x2f4868[_0x6d440(0x153)]<_0x2bda59);return _0xa37c7e<0x0||_0xa37c7e>this[_0x6d440(0x150)][_0x6d440(0x161)]?this[_0x6d440(0x150)][_0x6d440(0x161)]:_0xa37c7e-0x1;}[_0xbd9f(0x129)](){const _0x4ecabf=_0xbd9f,_0x2326f9=this[_0x4ecabf(0x13f)],_0x4a9009=_0x2326f9[_0x4ecabf(0x175)][_0x4ecabf(0x130)](_0x4ecabf(0x12a));this[_0x4ecabf(0x14d)]||(this[_0x4ecabf(0x14d)]=new _0x284d06(_0x2326f9[_0x4ecabf(0x136)],this[_0x4ecabf(0x150)])),_0x4ecabf(0x14e)===_0x4a9009['id']?_0x4a9009[_0x4ecabf(0x168)]():_0x4a9009[_0x4ecabf(0x158)]({'id':_0x4ecabf(0x14e),'title':_0x54c985(_0x2326f9[_0x4ecabf(0x136)],_0x4ecabf(0x143)),'icon':_0x51b2f3,'hasCloseButton':!0x0,'content':this[_0x4ecabf(0x14d)],'position':_0x4fd53f[_0x4ecabf(0x139)]});}[_0xbd9f(0x16a)](_0x70879d,_0x26fd53=!0x1){const _0xfb7cc0=_0xbd9f,_0x5b9581=this[_0xfb7cc0(0x13f)][_0xfb7cc0(0x136)],_0x498e22=this[_0xfb7cc0(0x13f)][_0xfb7cc0(0x175)][_0xfb7cc0(0x130)](_0xfb7cc0(0x12a)),_0x5257df=new _0x70879d(_0x5b9581);return _0x5257df[_0xfb7cc0(0x152)](_0xfb7cc0(0x172))['to'](this,_0xfb7cc0(0x172)),_0x5257df[_0xfb7cc0(0x152)](_0xfb7cc0(0x162))['to'](_0x498e22,'id',_0x29e29d=>_0xfb7cc0(0x14e)===_0x29e29d),_0x5257df[_0xfb7cc0(0x16c)]({'label':_0x54c985(_0x5b9581,_0xfb7cc0(0x143)),'icon':_0x51b2f3,'isToggleable':!0x0}),_0x26fd53&&(_0x5257df[_0xfb7cc0(0x142)]=!0x0),this[_0xfb7cc0(0x15f)](_0x5257df,_0xfb7cc0(0x135),()=>this[_0xfb7cc0(0x129)]()),_0x5257df;}[_0xbd9f(0x159)]=_0xce16de=>{const _0x5c3541=_0xbd9f,_0x5c6355=_0xce16de[_0x5c3541(0x16d)];if(!this[_0x5c3541(0x150)][_0x5c3541(0x15e)](_0x5c6355[_0x5c3541(0x12c)]))return;const _0x1177c8=this[_0x5c3541(0x13f)][_0x5c3541(0x175)][_0x5c3541(0x130)](_0x5c3541(0x12a));_0x1177c8[_0x5c3541(0x146)]&&_0x5c3541(0x14e)===_0x1177c8['id']&&(_0x1177c8[_0x5c3541(0x168)](),_0xce16de[_0x5c3541(0x16f)]());};}
|