@ckeditor/ckeditor5-comments 47.2.0-alpha.5 → 47.2.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x47d8f1=_0x170a;function _0x170a(_0x84f26c,_0x27bf3f){const _0x2ec465=_0x2ec4();return _0x170a=function(_0x170a65,_0x347373){_0x170a65=_0x170a65-0x1d6;let _0x5b1041=_0x2ec465[_0x170a65];return _0x5b1041;},_0x170a(_0x84f26c,_0x27bf3f);}(function(_0x8cbea2,_0xe6cf3c){const _0x218a71=_0x170a,_0xf6cca0=_0x8cbea2();while(!![]){try{const _0x57cee1=-parseInt(_0x218a71(0x231))/0x1*(parseInt(_0x218a71(0x201))/0x2)+parseInt(_0x218a71(0x20e))/0x3*(parseInt(_0x218a71(0x214))/0x4)+parseInt(_0x218a71(0x211))/0x5*(parseInt(_0x218a71(0x22f))/0x6)+-parseInt(_0x218a71(0x1e3))/0x7+-parseInt(_0x218a71(0x215))/0x8+-parseInt(_0x218a71(0x20d))/0x9*(parseInt(_0x218a71(0x221))/0xa)+-parseInt(_0x218a71(0x1db))/0xb*(-parseInt(_0x218a71(0x205))/0xc);if(_0x57cee1===_0xe6cf3c)break;else _0xf6cca0['push'](_0xf6cca0['shift']());}catch(_0x46f8f0){_0xf6cca0['push'](_0xf6cca0['shift']());}}}(_0x2ec4,0xc5b29));import{ContextPlugin as _0x320356}from'ckeditor5/src/core.js';function _0x2ec4(){const _0x1220e0=['appendChild','length','_setItemTop','9162524xLoHDm','_sidebarItemViewToAnnotation','_destroySidebarItemView','render','unbind','addAnnotation','_updateLastItem','targetRect','height','element','isOfficialPlugin','rearrange','_detachFromContainer','sidebar.preventScrollOutOfView','change:targetRect','_alignToTargetRect','_getItemAfter','nodeType','content','change:top','_getItemBefore','_alignBeforeItem','isActive','_activeAnnotation','_lastItem','get','_annotations','_recalculate','class','refresh','674xYDBie','_createSidebarView','define','updateHeight','12EEpARo','target','getSidebarItemView','container','object','locale','max','Sidebar','198DFcNIO','3peFvpx','_targetTop','last','3070NrvoEm','add','getIndex','4272044TDrPYo','1630336DvJUcO','setContainer','push','sidebar-attachtocontainer-missing-container','view','_spaceBetweenItems','_alignForTopChange','_alignForBottomChange','_getMaxAvailableTop','delete','stopListening','sidebar-setcontainer-invalid-element','241880qLCChX','sidebar.container','_annotationToSidebarItemView','isPremiumPlugin','change:_lastItem','top','minHeight','_getTargetTop','remove','clear','change:bottom','list','pluginName','config','11574IITBHT','init','653ADQjBl','listenTo','bind','bottom','isAnimationDisabled','context','_recalculateBuffer','9045003KJLkAW','destroy','_alignAfterItem','set','_attachToContainer'];_0x2ec4=function(){return _0x1220e0;};return _0x2ec4();}import{Rect as _0x1caef8,CKEditorError as _0x4b1495}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x44b670}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x57dfee}from'./view/sidebaritemview.js';export class Sidebar extends _0x320356{[_0x47d8f1(0x219)];[_0x47d8f1(0x1fa)];[_0x47d8f1(0x1fd)];[_0x47d8f1(0x21a)];[_0x47d8f1(0x1e4)];[_0x47d8f1(0x223)];[_0x47d8f1(0x1da)];static get[_0x47d8f1(0x22d)](){const _0xeb9298=_0x47d8f1;return _0xeb9298(0x20c);}static get[_0x47d8f1(0x1ed)](){return!0x0;}static get[_0x47d8f1(0x224)](){return!0x0;}constructor(_0x1c0017){const _0x348003=_0x47d8f1;super(_0x1c0017),this[_0x348003(0x1de)](_0x348003(0x1fb),void 0x0),this[_0x348003(0x219)]=this[_0x348003(0x202)](),this[_0x348003(0x1de)](_0x348003(0x208),null),this[_0x348003(0x21a)]=0x19,this[_0x348003(0x1e4)]=new Map(),this[_0x348003(0x223)]=new Map(),this[_0x348003(0x1d9)][_0x348003(0x22e)][_0x348003(0x203)](_0x348003(0x1f0),!0x1),this[_0x348003(0x1fd)]=null,this[_0x348003(0x1fa)]=null,this[_0x348003(0x1da)]=[];}[_0x47d8f1(0x230)](){const _0x228b16=_0x47d8f1,_0x5b2a13=this[_0x228b16(0x1d9)][_0x228b16(0x22e)][_0x228b16(0x1fc)](_0x228b16(0x222));_0x5b2a13&&this[_0x228b16(0x216)](_0x5b2a13);}[_0x47d8f1(0x216)](_0x4c2bb7){const _0x5e4bd5=_0x47d8f1;if(!g(_0x4c2bb7))throw new _0x4b1495(_0x5e4bd5(0x220));this[_0x5e4bd5(0x208)]=_0x4c2bb7;}[_0x47d8f1(0x1df)]({viewClass:_0x24cf7f='',spaceBetweenItems:_0x3a005f=0x19}={}){const _0xcacacd=_0x47d8f1;if(!g(this[_0xcacacd(0x208)]))throw new _0x4b1495(_0xcacacd(0x218),this);this[_0xcacacd(0x208)][_0xcacacd(0x1e0)](this[_0xcacacd(0x219)][_0xcacacd(0x1ec)]),this[_0xcacacd(0x219)][_0xcacacd(0x1ff)]=_0x24cf7f,this[_0xcacacd(0x21a)]=_0x3a005f;}[_0x47d8f1(0x1ee)]({removedAnnotation:_0x31bec2,previousAnnotation:_0xde835d,nextAnnotation:_0x47d209}){const _0x5101af=_0x47d8f1,_0x2daa2f=this[_0x5101af(0x207)](_0x31bec2);this[_0x5101af(0x219)][_0x5101af(0x22c)][_0x5101af(0x229)](_0x2daa2f),this[_0x5101af(0x1e5)](_0x31bec2),_0xde835d&&this[_0x5101af(0x1f2)](this[_0x5101af(0x207)](_0xde835d)),_0x47d209&&this[_0x5101af(0x1f2)](this[_0x5101af(0x207)](_0x47d209)),this[_0x5101af(0x1e9)]();}[_0x47d8f1(0x200)]({blurredAnnotation:_0x52240e,activatedAnnotation:_0x3207b9,disableAnimationOnActivatedAnnotation:_0x1c8f3f}){const _0x2490e2=_0x47d8f1;if(this[_0x2490e2(0x1fa)]=_0x3207b9,_0x52240e){_0x52240e[_0x2490e2(0x1f9)]=!0x1;const _0xd14a6=this[_0x2490e2(0x207)](_0x52240e);_0xd14a6&&_0x1c8f3f&&(_0xd14a6[_0x2490e2(0x1d8)]=!0x1);}if(_0x3207b9){const _0x9530e7=this[_0x2490e2(0x207)](_0x3207b9);_0x9530e7&&(_0x3207b9[_0x2490e2(0x1f9)]=!0x0,_0x1c8f3f&&(_0x9530e7[_0x2490e2(0x1d8)]=!0x0,_0x9530e7[_0x2490e2(0x226)]+=0x1),this[_0x2490e2(0x1f2)](_0x9530e7));}}[_0x47d8f1(0x1ef)](_0x52af9a){const _0x119db6=_0x47d8f1;if(this[_0x119db6(0x219)][_0x119db6(0x1ec)][_0x119db6(0x229)](),_0x52af9a){for(const _0x549e04 of _0x52af9a)this[_0x119db6(0x1e5)](_0x549e04);}this[_0x119db6(0x219)][_0x119db6(0x22c)][_0x119db6(0x22a)](),this[_0x119db6(0x219)][_0x119db6(0x1ff)]='',this[_0x119db6(0x1fb)]=null;}[_0x47d8f1(0x1e8)](_0x1a4a2c,_0x46aafb){const _0x377745=_0x47d8f1;_0x46aafb||(_0x46aafb=_0x1a4a2c[_0x377745(0x219)]);const _0x12bc5d=new _0x57dfee(this[_0x377745(0x1d9)][_0x377745(0x20a)]);this[_0x377745(0x1e4)][_0x377745(0x1de)](_0x12bc5d,_0x1a4a2c),this[_0x377745(0x223)][_0x377745(0x1de)](_0x1a4a2c,_0x12bc5d),_0x12bc5d[_0x377745(0x1f5)][_0x377745(0x212)](_0x46aafb),this[_0x377745(0x232)](_0x1a4a2c[_0x377745(0x219)],_0x377745(0x1f1),(_0x1cb5c5,_0x10b5ad,_0x10725f)=>{const _0x555b94=_0x377745,_0x390971=this[_0x555b94(0x228)](_0x1a4a2c,_0x10725f);_0x12bc5d[_0x555b94(0x20f)]!=_0x390971&&(_0x12bc5d[_0x555b94(0x20f)]=_0x390971,this[_0x555b94(0x1e2)](_0x12bc5d,_0x390971));}),this[_0x377745(0x232)](_0x12bc5d,_0x377745(0x1f6),()=>{const _0x19e3cb=_0x377745;this[_0x19e3cb(0x1fe)](_0x12bc5d,_0x19e3cb(0x226));}),this[_0x377745(0x232)](_0x12bc5d,_0x377745(0x22b),()=>{const _0x578f90=_0x377745;this[_0x578f90(0x1fe)](_0x12bc5d,_0x578f90(0x1d7));}),this[_0x377745(0x1f2)](_0x12bc5d);const _0x34efe1=this[_0x377745(0x1f7)](_0x12bc5d);if(_0x34efe1)this[_0x377745(0x1dd)](_0x34efe1,_0x12bc5d)||this[_0x377745(0x1f2)](_0x12bc5d);else this[_0x377745(0x1f2)](_0x12bc5d);return this[_0x377745(0x1e9)](),this[_0x377745(0x219)][_0x377745(0x22c)][_0x377745(0x212)](_0x12bc5d),_0x12bc5d;}[_0x47d8f1(0x21b)](_0x1a9afb){const _0x1e8ca2=_0x47d8f1;if(!_0x1a9afb[_0x1e8ca2(0x1f5)][_0x1e8ca2(0x1e1)])return;const _0x5249f1=this[_0x1e8ca2(0x1f7)](_0x1a9afb);if(!_0x5249f1)return;const _0x409594=this[_0x1e8ca2(0x1e4)][_0x1e8ca2(0x1fc)](_0x5249f1),_0x1f8654=this[_0x1e8ca2(0x1fa)];_0x1f8654&&_0x1f8654===_0x409594?this[_0x1e8ca2(0x1dd)](_0x5249f1,_0x1a9afb):this[_0x1e8ca2(0x1f8)](_0x1a9afb,_0x5249f1);}[_0x47d8f1(0x21c)](_0x5aa622){const _0x2320df=_0x47d8f1;if(!_0x5aa622[_0x2320df(0x1f5)][_0x2320df(0x1e1)])return;const _0x10f355=this[_0x2320df(0x1f3)](_0x5aa622);if(!_0x10f355)return;const _0x39949b=this[_0x2320df(0x1e4)][_0x2320df(0x1fc)](_0x10f355),_0xd14a85=this[_0x2320df(0x1d9)][_0x2320df(0x22e)][_0x2320df(0x1fc)](_0x2320df(0x1f0)),_0x2abcf9=this[_0x2320df(0x1fa)];_0x2abcf9&&_0x2abcf9===_0x39949b&&_0xd14a85?(this[_0x2320df(0x1f8)](_0x10f355,_0x5aa622),this[_0x2320df(0x1dd)](_0x5aa622,_0x10f355)):_0x2abcf9&&_0x2abcf9===_0x39949b?this[_0x2320df(0x1f8)](_0x10f355,_0x5aa622):this[_0x2320df(0x1dd)](_0x5aa622,_0x10f355);}[_0x47d8f1(0x1fe)](_0x454eea,_0x3dfef1){const _0x3daa17=_0x47d8f1;0x0===this[_0x3daa17(0x1da)][_0x3daa17(0x1e1)]&&setTimeout(()=>{const _0x519beb=_0x3daa17;for(const {sidebarItemView:_0x26f81d,changedProp:_0x37eda5}of this[_0x519beb(0x1da)])_0x519beb(0x226)===_0x37eda5?this[_0x519beb(0x21b)](_0x26f81d):this[_0x519beb(0x21c)](_0x26f81d);this[_0x519beb(0x1da)]=[];},0xa),this[_0x3daa17(0x1da)][_0x3daa17(0x217)]({'sidebarItemView':_0x454eea,'changedProp':_0x3dfef1});}[_0x47d8f1(0x207)](_0x45683d){const _0x4eabb9=_0x47d8f1;return this[_0x4eabb9(0x223)][_0x4eabb9(0x1fc)](_0x45683d);}[_0x47d8f1(0x1dc)](){const _0x53b74b=_0x47d8f1;this[_0x53b74b(0x21f)](),this[_0x53b74b(0x219)][_0x53b74b(0x1dc)]();}[_0x47d8f1(0x1e5)](_0x997f7){const _0x52ec42=_0x47d8f1,_0x5f5a8e=this[_0x52ec42(0x207)](_0x997f7);this[_0x52ec42(0x21f)](_0x5f5a8e),this[_0x52ec42(0x21f)](_0x997f7[_0x52ec42(0x219)]),_0x5f5a8e[_0x52ec42(0x1dc)](),this[_0x52ec42(0x223)][_0x52ec42(0x21e)](_0x997f7),this[_0x52ec42(0x1e4)][_0x52ec42(0x21e)](_0x5f5a8e);}[_0x47d8f1(0x202)](){const _0x5bce6a=_0x47d8f1,_0x41ffbc=new _0x44b670(this[_0x5bce6a(0x1d9)][_0x5bce6a(0x20a)]);return _0x41ffbc[_0x5bce6a(0x1e6)](),this['on'](_0x5bce6a(0x225),(_0x176a6c,_0x17e173,_0x3e6ab0,_0x1630fd)=>{const _0xe91397=_0x5bce6a;_0x1630fd&&_0x41ffbc[_0xe91397(0x1e7)](_0xe91397(0x227)),_0x3e6ab0?_0x41ffbc[_0xe91397(0x1d6)](_0xe91397(0x227))['to'](_0x3e6ab0,_0xe91397(0x1d7)):_0x41ffbc[_0xe91397(0x227)]=null;}),_0x41ffbc;}[_0x47d8f1(0x1e9)](){const _0x467c9f=_0x47d8f1;this[_0x467c9f(0x1fb)]=this[_0x467c9f(0x1fd)]?.[_0x467c9f(0x210)]?this[_0x467c9f(0x207)](this[_0x467c9f(0x1fd)][_0x467c9f(0x210)]):null;}[_0x47d8f1(0x1f7)](_0x1e0ef8){const _0x4f1b6c=_0x47d8f1,_0x584bc=this[_0x4f1b6c(0x1e4)][_0x4f1b6c(0x1fc)](_0x1e0ef8),_0x40fafe=_0x584bc&&this[_0x4f1b6c(0x1fd)]?.[_0x4f1b6c(0x1fc)](this[_0x4f1b6c(0x1fd)][_0x4f1b6c(0x213)](_0x584bc)-0x1);return _0x40fafe&&this[_0x4f1b6c(0x207)](_0x40fafe)||null;}[_0x47d8f1(0x1f3)](_0x20e2e2){const _0xbb900a=_0x47d8f1,_0x5ad791=this[_0xbb900a(0x1e4)][_0xbb900a(0x1fc)](_0x20e2e2),_0x19ac0d=_0x5ad791&&this[_0xbb900a(0x1fd)]?.[_0xbb900a(0x1fc)](this[_0xbb900a(0x1fd)][_0xbb900a(0x213)](_0x5ad791)+0x1);return _0x19ac0d&&this[_0xbb900a(0x207)](_0x19ac0d)||null;}[_0x47d8f1(0x1f8)](_0x26f5e3,_0x5ea2d2){const _0x352611=_0x47d8f1;_0x26f5e3[_0x352611(0x204)]();const _0xa281fb=G(_0x5ea2d2[_0x352611(0x1d7)]+this[_0x352611(0x21a)],_0x26f5e3[_0x352611(0x226)]);return!!_0xa281fb&&(this[_0x352611(0x1e2)](_0x5ea2d2,_0x5ea2d2[_0x352611(0x226)]-_0xa281fb),!0x0);}[_0x47d8f1(0x1dd)](_0x2ec4b2,_0x1ed476){const _0x4d40f4=_0x47d8f1;_0x2ec4b2[_0x4d40f4(0x204)]();const _0x4022a2=G(_0x2ec4b2[_0x4d40f4(0x1d7)]+this[_0x4d40f4(0x21a)],_0x1ed476[_0x4d40f4(0x226)]);return!!_0x4022a2&&(this[_0x4d40f4(0x1e2)](_0x1ed476,_0x1ed476[_0x4d40f4(0x226)]+_0x4022a2,!0x1),!0x0);}[_0x47d8f1(0x1f2)](_0x2b517d){const _0x13f336=_0x47d8f1,_0x335b20=this[_0x13f336(0x1e4)][_0x13f336(0x1fc)](_0x2b517d);if(!_0x335b20||!_0x335b20[_0x13f336(0x206)]||!_0x335b20[_0x13f336(0x1ea)])return;const _0x1349c9=this[_0x13f336(0x228)](_0x335b20,_0x335b20[_0x13f336(0x1ea)]);this[_0x13f336(0x1e2)](_0x2b517d,_0x1349c9);}[_0x47d8f1(0x228)](_0x4e5891,_0x1528bd){const _0x488e01=_0x47d8f1;if(null===_0x1528bd)return 0x0;if(_0x4e5891[_0x488e01(0x206)]instanceof _0x1caef8)return _0x1528bd[_0x488e01(0x226)];{const _0x1f08ee=new _0x1caef8(this[_0x488e01(0x219)][_0x488e01(0x1ec)])[_0x488e01(0x226)];return _0x1528bd[_0x488e01(0x226)]-_0x1f08ee;}}[_0x47d8f1(0x1e2)](_0x3a32c3,_0x6a3ee5,_0x122a62=this[_0x47d8f1(0x1d9)][_0x47d8f1(0x22e)][_0x47d8f1(0x1fc)](_0x47d8f1(0x1f0))){const _0x9a17a6=_0x47d8f1;_0x122a62&&(_0x6a3ee5=Math[_0x9a17a6(0x20b)](_0x6a3ee5,this[_0x9a17a6(0x21d)](_0x3a32c3))),_0x3a32c3[_0x9a17a6(0x226)]=_0x6a3ee5;}[_0x47d8f1(0x21d)](_0x6a56d8){const _0x43783b=_0x47d8f1;let _0x3531a0=this[_0x43783b(0x1f7)](_0x6a56d8),_0xb8c651=0x0;for(;_0x3531a0;)_0x3531a0[_0x43783b(0x204)](),_0xb8c651+=this[_0x43783b(0x21a)]+_0x3531a0[_0x43783b(0x1eb)],_0x3531a0=this[_0x43783b(0x1f7)](_0x3531a0);return _0xb8c651;}}function G(_0x2e2d06,_0x4370e8){const _0x820080=_0x47d8f1;return Math[_0x820080(0x20b)](_0x2e2d06-_0x4370e8,0x0);}function g(_0x3d2805){const _0x2adb58=_0x47d8f1;return null!==_0x3d2805&&_0x2adb58(0x209)==typeof _0x3d2805&&0x1===_0x3d2805[_0x2adb58(0x1f4)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c7dbc=_0x1842;(function(_0x5c894b,_0x2332b7){const _0x3e71c5=_0x1842,_0x7d46e2=_0x5c894b();while(!![]){try{const _0x4b4b56=-parseInt(_0x3e71c5(0x1a3))/0x1+-parseInt(_0x3e71c5(0x1a6))/0x2+-parseInt(_0x3e71c5(0x1bd))/0x3*(parseInt(_0x3e71c5(0x1aa))/0x4)+parseInt(_0x3e71c5(0x1ad))/0x5*(parseInt(_0x3e71c5(0x1b4))/0x6)+parseInt(_0x3e71c5(0x1b9))/0x7+-parseInt(_0x3e71c5(0x1be))/0x8*(parseInt(_0x3e71c5(0x1b7))/0x9)+parseInt(_0x3e71c5(0x1b5))/0xa*(parseInt(_0x3e71c5(0x1bc))/0xb);if(_0x4b4b56===_0x2332b7)break;else _0x7d46e2['push'](_0x7d46e2['shift']());}catch(_0x30f013){_0x7d46e2['push'](_0x7d46e2['shift']());}}}(_0x4cf5,0xdd166));import{ButtonView as _0x3e6619,View as _0xb8077b}from'ckeditor5/src/ui.js';function _0x1842(_0x4dd6e3,_0x14598c){const _0x4cf566=_0x4cf5();return _0x1842=function(_0x1842f8,_0xa850fe){_0x1842f8=_0x1842f8-0x1a3;let _0x368384=_0x4cf566[_0x1842f8];return _0x368384;},_0x1842(_0x4dd6e3,_0x14598c);}import{IconAddComment as _0x39704}from'ckeditor5/src/icons.js';function _0x4cf5(){const _0x7dc5b7=['1542xkHuDl','1390WrAgnM','bind','3780Dnmjwy','add','1603735eVdlsz','extendTemplate','span','153274idPvvf','206337NErBgU','10952lGcZGA','toString','setTemplate','counterView','666822YWeBXb','ck-annotation-counter__badge--','set','224352OdpHLQ','ck-annotation-counter__badge--edit-mode','...','bindTemplate','56tEazuu','isDirty','icon','20555PZFxTD','_badge','annotationType','children','number','ck-annotation-counter__badge','ck-annotation-counter'];_0x4cf5=function(){return _0x7dc5b7;};return _0x4cf5();}export class AnnotationCounterButtonView extends _0x3e6619{[_0x1c7dbc(0x1c1)];constructor(_0x5d9995){const _0x377141=_0x1c7dbc;super(_0x5d9995);const _0x43fa4f=this[_0x377141(0x1a9)];this[_0x377141(0x1a5)](_0x377141(0x1ab),!0x1),this[_0x377141(0x1a5)](_0x377141(0x1b1),0x0),this[_0x377141(0x1b6)](_0x377141(0x1ae))['to'](this,_0x377141(0x1ab),this,_0x377141(0x1b1),(_0x255008,_0x2e91b7)=>_0x255008?_0x377141(0x1a8):_0x2e91b7[_0x377141(0x1bf)]()),this[_0x377141(0x1a5)](_0x377141(0x1af),''),this[_0x377141(0x1ac)]=_0x39704,this[_0x377141(0x1ba)]({'attributes':{'class':[_0x377141(0x1b3)]}}),this[_0x377141(0x1c1)]=new _0xb8077b(),this[_0x377141(0x1c1)][_0x377141(0x1c0)]({'tag':_0x377141(0x1bb),'attributes':{'class':[_0x377141(0x1b2),_0x43fa4f['to'](_0x377141(0x1af),_0x19f34a=>_0x377141(0x1a4)+_0x19f34a),_0x43fa4f['if'](_0x377141(0x1ab),_0x377141(0x1a7))]},'children':[{'text':_0x43fa4f['to'](_0x377141(0x1ae))}]}),this[_0x377141(0x1b0)][_0x377141(0x1b8)](this[_0x377141(0x1c1)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x130cef=_0x587f;function _0x587f(_0x28d9b6,_0xf1237a){const _0x590175=_0x5901();return _0x587f=function(_0x587f1d,_0x5328e9){_0x587f1d=_0x587f1d-0x152;let _0x140463=_0x590175[_0x587f1d];return _0x140463;},_0x587f(_0x28d9b6,_0xf1237a);}(function(_0x483ca6,_0x1a4def){const _0x354adb=_0x587f,_0x1bc13d=_0x483ca6();while(!![]){try{const _0x16c600=-parseInt(_0x354adb(0x16b))/0x1+parseInt(_0x354adb(0x16c))/0x2+parseInt(_0x354adb(0x15f))/0x3*(-parseInt(_0x354adb(0x160))/0x4)+-parseInt(_0x354adb(0x15a))/0x5*(-parseInt(_0x354adb(0x179))/0x6)+parseInt(_0x354adb(0x169))/0x7+parseInt(_0x354adb(0x155))/0x8*(-parseInt(_0x354adb(0x153))/0x9)+parseInt(_0x354adb(0x178))/0xa*(-parseInt(_0x354adb(0x174))/0xb);if(_0x16c600===_0x1a4def)break;else _0x1bc13d['push'](_0x1bc13d['shift']());}catch(_0xde8ce2){_0x1bc13d['push'](_0x1bc13d['shift']());}}}(_0x5901,0xc4b0d));import{View as _0x2936aa}from'ckeditor5/src/ui.js';import{FocusTracker as _0x57da57,KeystrokeHandler as _0x23e0fa,uid as _0x2eebb6}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1c69fc}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x2936aa{[_0x130cef(0x17a)];['id'];[_0x130cef(0x15c)];[_0x130cef(0x164)];[_0x130cef(0x15e)];[_0x130cef(0x17f)];constructor(_0x5d9b1d,_0x104ec8){const _0xc19117=_0x130cef;super(_0x5d9b1d),this['id']=_0x2eebb6(),this[_0xc19117(0x17a)]=new _0x57da57(),this[_0xc19117(0x15c)]=new _0x23e0fa(),this[_0xc19117(0x15c)][_0xc19117(0x17d)](_0xc19117(0x17c),(_0xa6970e,_0x8c445)=>this[_0xc19117(0x166)](_0xc19117(0x17c),_0x8c445)),this[_0xc19117(0x17d)](_0xc19117(0x162),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xc19117(0x17d)](_0xc19117(0x167),0x0),this[_0xc19117(0x17d)](_0xc19117(0x16a),!0x1),this[_0xc19117(0x17d)](_0xc19117(0x17b),!0x1),this[_0xc19117(0x17d)](_0xc19117(0x17e),0x0),this[_0xc19117(0x17d)](_0xc19117(0x172),''),this[_0xc19117(0x17f)]=_0x1c69fc(()=>this[_0xc19117(0x163)]()),this[_0xc19117(0x164)]=this[_0xc19117(0x161)](),this[_0xc19117(0x164)][_0xc19117(0x175)](_0xc19117(0x157),_0xc19117(0x181))['to'](this),this[_0xc19117(0x164)][_0xc19117(0x176)](_0x104ec8),this[_0xc19117(0x15e)]=_0x104ec8;const _0x594de8=this[_0xc19117(0x15b)];this[_0xc19117(0x154)]({'tag':_0xc19117(0x177),'attributes':{'class':['ck',_0xc19117(0x159),_0xc19117(0x170),_0x594de8['if'](_0xc19117(0x16a),_0xc19117(0x171))],'role':_0xc19117(0x180)},'children':this[_0xc19117(0x164)]});}[_0x130cef(0x152)](){const _0x1fd945=_0x130cef;super[_0x1fd945(0x152)](),this[_0x1fd945(0x17a)][_0x1fd945(0x176)](this[_0x1fd945(0x168)]),this[_0x1fd945(0x15c)][_0x1fd945(0x16e)](this[_0x1fd945(0x168)]),this[_0x1fd945(0x17f)][_0x1fd945(0x173)](this[_0x1fd945(0x168)]);}[_0x130cef(0x16d)](){const _0xa24b63=_0x130cef;this[_0xa24b63(0x164)][_0xa24b63(0x156)](),this[_0xa24b63(0x15c)][_0xa24b63(0x16d)](),this[_0xa24b63(0x17a)][_0xa24b63(0x16d)](),this[_0xa24b63(0x17f)][_0xa24b63(0x165)](),super[_0xa24b63(0x16d)]();}[_0x130cef(0x16f)](){const _0xb9bbbb=_0x130cef;this[_0xb9bbbb(0x164)][_0xb9bbbb(0x158)]&&this[_0xb9bbbb(0x164)][_0xb9bbbb(0x158)][_0xb9bbbb(0x16f)]();}[_0x130cef(0x163)](){const _0x40b55=_0x130cef,_0x583019=this[_0x40b55(0x168)][_0x40b55(0x15d)];_0x583019&&(this[_0x40b55(0x167)]=_0x583019);}}function _0x5901(){const _0x464a5d=['Esc','set','length','_mutationObserver','presentation','arrowdown','render','6183549PdioNB','setTemplate','8CwGwkN','clear','arrowup','first','ck-annotation-wrapper','83835VHtfbR','bindTemplate','keystrokes','clientHeight','mainView','1328289nIljOu','4IBVsYI','createCollection','targetRect','_updateHeight','content','detach','fire','height','element','10477978cHXvBM','isActive','1589345RDloSq','1841024YlUZtj','destroy','listenTo','focus','ck-rounded-corners','ck-annotation-wrapper--active','type','attach','352InZhaK','delegate','add','div','31180EXQMYs','432mGOTFt','focusTracker','isDirty'];_0x5901=function(){return _0x464a5d;};return _0x5901();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x56c171=_0x1858;function _0x1858(_0xff5a18,_0x33f84c){const _0x4eb728=_0x4eb7();return _0x1858=function(_0x18584b,_0x17fcca){_0x18584b=_0x18584b-0x8f;let _0x46f58f=_0x4eb728[_0x18584b];return _0x46f58f;},_0x1858(_0xff5a18,_0x33f84c);}(function(_0x508763,_0x3be887){const _0x3bfdb6=_0x1858,_0x35377c=_0x508763();while(!![]){try{const _0xfe3a0=-parseInt(_0x3bfdb6(0xb4))/0x1*(parseInt(_0x3bfdb6(0xb5))/0x2)+-parseInt(_0x3bfdb6(0xa7))/0x3+-parseInt(_0x3bfdb6(0x9e))/0x4*(parseInt(_0x3bfdb6(0xa9))/0x5)+parseInt(_0x3bfdb6(0x9a))/0x6*(-parseInt(_0x3bfdb6(0x9d))/0x7)+-parseInt(_0x3bfdb6(0xa5))/0x8*(-parseInt(_0x3bfdb6(0xa0))/0x9)+-parseInt(_0x3bfdb6(0xab))/0xa*(parseInt(_0x3bfdb6(0xb3))/0xb)+parseInt(_0x3bfdb6(0x97))/0xc;if(_0xfe3a0===_0x3be887)break;else _0x35377c['push'](_0x35377c['shift']());}catch(_0x162312){_0x35377c['push'](_0x35377c['shift']());}}}(_0x4eb7,0xd5c6a));import{View as _0x33a1c2}from'ckeditor5/src/ui.js';import{toUnit as _0x1d1c16}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x55667a}from'../../utils/createmutationobserver.js';function _0x4eb7(){const _0x4cca7d=['_mutationObserver','76975764fqaHMF','height','updateHeight','1158xRfMAB','first','bindTemplate','45346GggaPu','307436xxdrZk','focus','3987CQgZqf','detach','content','arrowdown','presentation','5672ufkDMD','isAnimationDisabled','1526052QpDRpR','element','65aVyiyD','bottom','14928410VMtISP','delegate','set','top','destroy','div','ck-sidebar-item','ck-sidebar-item--no-animation','11gMCufk','89009myCsTf','36ZBbzoZ','_targetTop','render','arrowup','createCollection','clear','bind','attach','setTemplate','clientHeight'];_0x4eb7=function(){return _0x4cca7d;};return _0x4eb7();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x1d1c16('px');export class AnnotationsSidebarItemView extends _0x33a1c2{[_0x56c171(0xa2)];[_0x56c171(0xb6)];[_0x56c171(0x96)];constructor(_0x7a0d2d){const _0x21894f=_0x56c171;super(_0x7a0d2d),this[_0x21894f(0xad)](_0x21894f(0xae),0x0),this[_0x21894f(0xad)](_0x21894f(0x98),0x0),this[_0x21894f(0x92)](_0x21894f(0xaa))['to'](this,_0x21894f(0xae),this,_0x21894f(0x98),(_0x411892,_0x3684f5)=>_0x411892+_0x3684f5),this[_0x21894f(0xad)](_0x21894f(0xa6),!0x1),this[_0x21894f(0x96)]=_0x55667a(()=>this[_0x21894f(0x99)]()),this[_0x21894f(0xb6)]=null,this[_0x21894f(0xa2)]=this[_0x21894f(0x90)](),this[_0x21894f(0xa2)][_0x21894f(0xac)](_0x21894f(0x8f),_0x21894f(0xa3))['to'](this);const _0x35fa5b=this[_0x21894f(0x9c)];this[_0x21894f(0x94)]({'tag':_0x21894f(0xb0),'attributes':{'class':[_0x21894f(0xb1),_0x35fa5b['to'](_0x21894f(0xa6),_0x5c57bf=>_0x5c57bf?_0x21894f(0xb2):'')],'style':{'top':_0x35fa5b['to'](_0x21894f(0xae),_0x3623e3=>Ot(_0x3623e3))},'role':_0x21894f(0xa4)},'children':this[_0x21894f(0xa2)]});}[_0x56c171(0xb7)](){const _0x470de9=_0x56c171;super[_0x470de9(0xb7)](),this[_0x470de9(0x96)][_0x470de9(0x93)](this[_0x470de9(0xa8)]);}[_0x56c171(0x9f)](){const _0x445946=_0x56c171;this[_0x445946(0xa2)][_0x445946(0x9b)]&&this[_0x445946(0xa2)][_0x445946(0x9b)][_0x445946(0x9f)]();}[_0x56c171(0x99)](){const _0xe72cac=_0x56c171,_0x4f7251=this[_0xe72cac(0xa8)][_0xe72cac(0x95)];_0x4f7251&&(this[_0xe72cac(0x98)]=_0x4f7251);}[_0x56c171(0xaf)](){const _0x467832=_0x56c171;this[_0x467832(0xa2)][_0x467832(0x91)](),this[_0x467832(0x96)][_0x467832(0xa1)](),super[_0x467832(0xaf)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x41530d=_0x4898;function _0x4898(_0x1ae385,_0x5d286f){const _0x1b8010=_0x1b80();return _0x4898=function(_0x48981f,_0x8af742){_0x48981f=_0x48981f-0x188;let _0x1d27cf=_0x1b8010[_0x48981f];return _0x1d27cf;},_0x4898(_0x1ae385,_0x5d286f);}(function(_0x24cd21,_0x5dffc4){const _0xb9fdda=_0x4898,_0x443bd6=_0x24cd21();while(!![]){try{const _0x59421e=parseInt(_0xb9fdda(0x194))/0x1*(-parseInt(_0xb9fdda(0x19f))/0x2)+-parseInt(_0xb9fdda(0x198))/0x3*(-parseInt(_0xb9fdda(0x1a5))/0x4)+parseInt(_0xb9fdda(0x188))/0x5*(-parseInt(_0xb9fdda(0x1b4))/0x6)+-parseInt(_0xb9fdda(0x199))/0x7*(-parseInt(_0xb9fdda(0x1b3))/0x8)+parseInt(_0xb9fdda(0x18a))/0x9*(-parseInt(_0xb9fdda(0x1ba))/0xa)+-parseInt(_0xb9fdda(0x193))/0xb+parseInt(_0xb9fdda(0x1ac))/0xc*(parseInt(_0xb9fdda(0x1b8))/0xd);if(_0x59421e===_0x5dffc4)break;else _0x443bd6['push'](_0x443bd6['shift']());}catch(_0x47676c){_0x443bd6['push'](_0x443bd6['shift']());}}}(_0x1b80,0x571cd));import{View as _0x54746b,FocusCycler as _0x2ad749}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1d3f00,toUnit as _0x4fa8c0}from'ckeditor5/src/utils.js';import{getTranslation as _0x14213e}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';function _0x1b80(){const _0x11d92b=['added','2739050NomcPa','focusCycler','top','application','80NVMWtq','focusNext','9eEScuQ','focus','_updateItemPositionInFocusables','number','setTemplate','Annotations\x20list','change:top','uiLanguageDirection','getIndex','7646595gvGDjc','485CahFFy','listenTo','minHeight','arrowdown','3VgutZz','7uVEivS','removed','ck-reset','list','Annotations\x20sidebar','createCollection','750AMcVBc','ck-sidebar','forEach','div','element','class','2230292zQbDIA','length','delegate','add','focusTracker','_setupKeyboardNavigation','set','12TrBBgD','render','change','source','focusPrevious','focusables','remove','714072dJKdxl','87636iagyoy','bindTemplate','arrowup','focusFirst','14229826qShUOO'];_0x1b80=function(){return _0x11d92b;};return _0x1b80();}const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4fa8c0('px');export class AnnotationsSidebarView extends _0x54746b{[_0x41530d(0x19c)];[_0x41530d(0x1b1)];[_0x41530d(0x1a9)];[_0x41530d(0x1bb)];constructor(_0xf69d6e){const _0x431e8d=_0x41530d;super(_0xf69d6e);const _0x5546d6=this[_0x431e8d(0x1b5)];this[_0x431e8d(0x1ab)](_0x431e8d(0x196),0x0),this[_0x431e8d(0x1ab)](_0x431e8d(0x1a4),''),this[_0x431e8d(0x19c)]=this[_0x431e8d(0x19e)](),this[_0x431e8d(0x1b1)]=this[_0x431e8d(0x19e)](),this[_0x431e8d(0x19c)][_0x431e8d(0x1a7)](_0x431e8d(0x1b6),_0x431e8d(0x197))['to'](this),this[_0x431e8d(0x1a9)]=new _0x1d3f00(),this[_0x431e8d(0x1bb)]=new _0x2ad749({'focusables':this[_0x431e8d(0x1b1)],'focusTracker':this[_0x431e8d(0x1a9)]}),this[_0x431e8d(0x18e)]({'tag':_0x431e8d(0x1a2),'attributes':{'class':['ck',_0x431e8d(0x1a0),_0x431e8d(0x19b),_0x5546d6['to'](_0x431e8d(0x1a4))],'style':{'minHeight':_0x5546d6['to'](_0x431e8d(0x196),_0x561895=>_0x431e8d(0x18d)==typeof _0x561895?Ot(_0x561895+0xa):null)},'dir':_0xf69d6e[_0x431e8d(0x191)],'role':_0x431e8d(0x1bd),'aria-label':_0x14213e(_0xf69d6e,_0x431e8d(0x19d)),'tabindex':0x0},'children':[{'tag':_0x431e8d(0x1a2),'attributes':{'role':_0x431e8d(0x19c),'aria-label':_0x14213e(_0xf69d6e,_0x431e8d(0x18f))},'children':this[_0x431e8d(0x19c)]}]});}[_0x41530d(0x1ad)](){const _0x2f75bd=_0x41530d;super[_0x2f75bd(0x1ad)](),this[_0x2f75bd(0x1aa)]();}[_0x41530d(0x18b)](){const _0x542844=_0x41530d;this[_0x542844(0x1bb)][_0x542844(0x1b7)]();}[_0x41530d(0x1aa)](){const _0x50d263=_0x41530d;this[_0x50d263(0x19c)][_0x50d263(0x1a7)](_0x50d263(0x190))['to'](this),this['on'](_0x50d263(0x190),_0x4f4e4e=>{const _0x347cd5=_0x50d263;this[_0x347cd5(0x18c)](_0x4f4e4e[_0x347cd5(0x1af)]);}),this[_0x50d263(0x19c)][_0x50d263(0x1a1)](_0x5ca4c9=>{const _0x3ba767=_0x50d263;this[_0x3ba767(0x1a9)][_0x3ba767(0x1a8)](_0x5ca4c9[_0x3ba767(0x1a3)]),this[_0x3ba767(0x18c)](_0x5ca4c9);}),this[_0x50d263(0x19c)]['on'](_0x50d263(0x1ae),(_0x19054a,_0x4327c8)=>{const _0xe77531=_0x50d263;for(const _0x5ddcdf of _0x4327c8[_0xe77531(0x19a)])this[_0xe77531(0x1a9)][_0xe77531(0x1b2)](_0x5ddcdf[_0xe77531(0x1a3)]),this[_0xe77531(0x1b1)][_0xe77531(0x1b2)](_0x5ddcdf);for(const _0x9c1a7f of _0x4327c8[_0xe77531(0x1b9)])this[_0xe77531(0x1a9)][_0xe77531(0x1a8)](_0x9c1a7f[_0xe77531(0x1a3)]),this[_0xe77531(0x18c)](_0x9c1a7f);}),this['on'](_0x50d263(0x1b6),()=>{const _0x49b3ad=_0x50d263;this[_0x49b3ad(0x1bb)][_0x49b3ad(0x1b0)]();}),this['on'](_0x50d263(0x197),()=>{const _0x4b76f2=_0x50d263;this[_0x4b76f2(0x1bb)][_0x4b76f2(0x189)]();}),this[_0x50d263(0x195)](this[_0x50d263(0x1a3)],_0x50d263(0x18b),()=>{const _0x41f0ba=_0x50d263;this[_0x41f0ba(0x18b)]();});}[_0x41530d(0x18c)](_0x358cdb){const _0x59dd85=_0x41530d,_0x36b416=this[_0x59dd85(0x1b1)][_0x59dd85(0x192)](_0x358cdb);let _0x547176,_0x44ade5;for(const _0x12e14a of this[_0x59dd85(0x1b1)])if(_0x358cdb[_0x59dd85(0x1bc)]<_0x12e14a[_0x59dd85(0x1bc)]){_0x547176=_0x12e14a;break;}if(_0x44ade5=_0x547176?this[_0x59dd85(0x1b1)][_0x59dd85(0x192)](_0x547176):this[_0x59dd85(0x1b1)][_0x59dd85(0x1a6)],-0x1!==_0x36b416){if(_0x36b416===_0x44ade5-0x1)return;this[_0x59dd85(0x1b1)][_0x59dd85(0x1b2)](_0x358cdb),_0x44ade5=_0x547176?this[_0x59dd85(0x1b1)][_0x59dd85(0x192)](_0x547176):this[_0x59dd85(0x1b1)][_0x59dd85(0x1a6)];}this[_0x59dd85(0x1b1)][_0x59dd85(0x1a8)](_0x358cdb,_0x44ade5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x503d(_0xc74a0,_0x24e6be){const _0x3e91af=_0x3e91();return _0x503d=function(_0x503d6d,_0x5ecb5b){_0x503d6d=_0x503d6d-0x193;let _0x52884d=_0x3e91af[_0x503d6d];return _0x52884d;},_0x503d(_0xc74a0,_0x24e6be);}const _0x9b46c4=_0x503d;(function(_0x50b443,_0xbfe9ae){const _0x4a72ba=_0x503d,_0x302ce7=_0x50b443();while(!![]){try{const _0x2edf26=-parseInt(_0x4a72ba(0x1c3))/0x1+-parseInt(_0x4a72ba(0x1bb))/0x2*(parseInt(_0x4a72ba(0x1d6))/0x3)+-parseInt(_0x4a72ba(0x1ac))/0x4+-parseInt(_0x4a72ba(0x1b0))/0x5*(parseInt(_0x4a72ba(0x1bd))/0x6)+parseInt(_0x4a72ba(0x19c))/0x7+-parseInt(_0x4a72ba(0x1c6))/0x8+parseInt(_0x4a72ba(0x1d3))/0x9;if(_0x2edf26===_0xbfe9ae)break;else _0x302ce7['push'](_0x302ce7['shift']());}catch(_0xb5f5de){_0x302ce7['push'](_0x302ce7['shift']());}}}(_0x3e91,0xe4ae1));import{ContextPlugin as _0x555d48,Context as _0x2581a1}from'ckeditor5/src/core.js';function _0x3e91(){const _0x11be87=['WideSidebar','addAnnotation','refresh','editors','hasDomSelection','ck-sidebar--wide','3605000zYQSIl','uiUpdate','annotations','refreshPositioning','3265qHCCWf','addEventListener','plugins','updateTargetRect','widesidebar-attach-already-attached','refreshVisibility','stop','init','blur','_integrateWithEditorAnnotations','isOfficialPlugin','2LJNLld','_refreshPositioningDebounced','16554wicjXg','_destroyEditorAnnotationsIntegration','set:container','resize','getOrderedSelectedAnnotations','switchTo','1822473UmsTcq','_detachFromContainer','stopListening','4654616NvkAFx','change:container','listenTo','setActiveAnnotation','focus','wideSidebar','_annotations','activeAnnotation','Annotations','isAttached','set','remove','ready','61678296RUEzAg','requires','attach','2439774IEovUz','from','pluginName','high','detach','destroy','_editorAnnotations','cancel','container','rearrange','has','widesidebar-detach-not-attached','register','27748OKpFxv','_activeAnnotation','off','removeEventListener','isPremiumPlugin','EditorAnnotations','context','get','_attachToContainer','add'];_0x3e91=function(){return _0x11be87;};return _0x3e91();}import{AnnotationsUIs as _0x8844ba}from'./annotationsuis.js';import{Sidebar as _0x552e2b}from'./sidebar.js';import{CKEditorError as _0x4e1c55,Collection as _0x2e4012}from'ckeditor5/src/utils.js';import{debounce as _0xb90485}from'es-toolkit/compat';export class WideSidebar extends _0x555d48{[_0x9b46c4(0x1cf)];[_0x9b46c4(0x1ae)];[_0x9b46c4(0x195)];[_0x9b46c4(0x1bc)];static get[_0x9b46c4(0x1d4)](){return[_0x552e2b,_0x8844ba];}static get[_0x9b46c4(0x1d8)](){const _0x5a2014=_0x9b46c4;return _0x5a2014(0x1a6);}static get[_0x9b46c4(0x1ba)](){return!0x0;}static get[_0x9b46c4(0x1a0)](){return!0x0;}constructor(_0x15ad27){const _0x197756=_0x9b46c4;super(_0x15ad27),this[_0x197756(0x1cf)]=!0x1,this[_0x197756(0x1d0)](_0x197756(0x1cd),null),this[_0x197756(0x1ae)]=null,this[_0x197756(0x195)]=new _0x2e4012(),this[_0x197756(0x1bc)]=_0xb90485(()=>{const _0x3f2e60=_0x197756;_0x15ad27[_0x3f2e60(0x1b2)][_0x3f2e60(0x1a3)](_0x3f2e60(0x1ce))[_0x3f2e60(0x1b5)](),this[_0x3f2e60(0x1ae)][_0x3f2e60(0x1af)]();},0xfa,{'leading':!0x1});}[_0x9b46c4(0x1b7)](){const _0x196bf5=_0x9b46c4,_0x2638fa=this[_0x196bf5(0x1a2)][_0x196bf5(0x1b2)][_0x196bf5(0x1a3)](_0x8844ba),_0x541587=this[_0x196bf5(0x1a2)][_0x196bf5(0x1b2)][_0x196bf5(0x1a3)](_0x552e2b);_0x2638fa[_0x196bf5(0x19b)](_0x196bf5(0x1cb),this),_0x541587[_0x196bf5(0x197)]&&_0x2638fa[_0x196bf5(0x1c2)](_0x196bf5(0x1cb));}[_0x9b46c4(0x1c9)](_0x2f4483){const _0x490ed8=_0x9b46c4;if(_0x2f4483===this[_0x490ed8(0x1cd)])return;const _0x34d2dd=this[_0x490ed8(0x1a2)][_0x490ed8(0x1b2)][_0x490ed8(0x1a3)](_0x552e2b);_0x34d2dd[_0x490ed8(0x19d)]=_0x2f4483;const _0x35c68b=this[_0x490ed8(0x1cd)];_0x34d2dd[_0x490ed8(0x1a8)]({'blurredAnnotation':_0x35c68b,'activatedAnnotation':_0x2f4483}),this[_0x490ed8(0x1cd)]=_0x2f4483;}[_0x9b46c4(0x1d5)](_0x5f45c5){const _0x4f737f=_0x9b46c4;this[_0x4f737f(0x1ae)]=_0x5f45c5;const _0xc12db2=this[_0x4f737f(0x1a2)][_0x4f737f(0x1b2)][_0x4f737f(0x1a3)](_0x552e2b);if(_0xc12db2[_0x4f737f(0x1cc)]=_0x5f45c5,this[_0x4f737f(0x1cf)])throw new _0x4e1c55(_0x4f737f(0x1b4),this);this[_0x4f737f(0x1cf)]=!0x0,this[_0x4f737f(0x1c8)](_0xc12db2,_0x4f737f(0x1bf),()=>{const _0x1ea374=_0x4f737f;this[_0x1ea374(0x193)](),this[_0x1ea374(0x1c8)](_0xc12db2,_0x1ea374(0x1c7),_0x407857=>{const _0x700f8f=_0x1ea374;_0x407857[_0x700f8f(0x19e)](),this[_0x700f8f(0x1d5)](_0x5f45c5);});}),_0xc12db2[_0x4f737f(0x1a4)]({'viewClass':_0x4f737f(0x1ab)});const _0x5b8e77=_0x47c90f=>{const _0x241ee7=_0x4f737f;_0x47c90f[_0x241ee7(0x1b3)](),_0xc12db2[_0x241ee7(0x1a7)](_0x47c90f);};for(const _0x2adc2b of _0x5f45c5)_0x5b8e77(_0x2adc2b);this[_0x4f737f(0x1c8)](_0x5f45c5,_0x4f737f(0x1a5),(_0x3ade6a,_0x4b0ee1)=>{_0x5b8e77(_0x4b0ee1);}),this[_0x4f737f(0x1c8)](_0x5f45c5,_0x4f737f(0x1d1),(_0x52d4ea,_0x5c7718,_0x16fa85)=>{const _0x22630c=_0x4f737f;_0xc12db2[_0x22630c(0x198)]({'removedAnnotation':_0x5c7718,'previousAnnotation':_0x5f45c5[_0x22630c(0x1a3)](_0x16fa85-0x1),'nextAnnotation':_0x5f45c5[_0x22630c(0x1a3)](_0x16fa85+0x1)}),_0x5c7718===this[_0x22630c(0x1cd)]&&this[_0x22630c(0x1c9)](null);},{'priority':_0x4f737f(0x1d9)}),this[_0x4f737f(0x1c8)](_0x5f45c5,_0x4f737f(0x1ca),(_0x148765,_0x370c63)=>{const _0xc06cb8=_0x4f737f;this[_0xc06cb8(0x1c9)](_0x370c63);}),this[_0x4f737f(0x1c8)](_0x5f45c5,_0x4f737f(0x1b8),()=>{const _0x5ccd2b=_0x4f737f;this[_0x5ccd2b(0x1c9)](null);});const _0x628c09=this[_0x4f737f(0x1a2)]instanceof _0x2581a1?this[_0x4f737f(0x1a2)][_0x4f737f(0x1a9)]:new _0x2e4012([this[_0x4f737f(0x1a2)]]);for(const _0x33178b of _0x628c09)this[_0x4f737f(0x1b9)](_0x33178b);this[_0x4f737f(0x1c8)](_0x628c09,_0x4f737f(0x1a5),(_0x58eae7,_0x44655a)=>{const _0x48cd7d=_0x4f737f;this[_0x48cd7d(0x1c8)](_0x44655a,_0x48cd7d(0x1d2),()=>{const _0x4f99b1=_0x48cd7d;this[_0x4f99b1(0x1b9)](_0x44655a);});}),this[_0x4f737f(0x1c8)](_0x628c09,_0x4f737f(0x1d1),(_0x45ba18,_0x1054be)=>{const _0x593e98=_0x4f737f;_0x1054be[_0x593e98(0x1b2)][_0x593e98(0x199)](_0x593e98(0x1a1))&&this[_0x593e98(0x1be)](_0x1054be[_0x593e98(0x1b2)][_0x593e98(0x1a3)](_0x593e98(0x1a1)));}),window[_0x4f737f(0x1b1)](_0x4f737f(0x1c0),this[_0x4f737f(0x1bc)]),this[_0x4f737f(0x1a2)][_0x4f737f(0x1b2)][_0x4f737f(0x1a3)](_0x4f737f(0x1ce))[_0x4f737f(0x1b5)](),this[_0x4f737f(0x1ae)][_0x4f737f(0x1af)]();}[_0x9b46c4(0x193)](){const _0x356f64=_0x9b46c4;if(!this[_0x356f64(0x1cf)])throw new _0x4e1c55(_0x356f64(0x19a),this);this[_0x356f64(0x1c9)](null);const _0x2a29d7=this[_0x356f64(0x1a2)][_0x356f64(0x1b2)][_0x356f64(0x1a3)](_0x552e2b);_0x2a29d7[_0x356f64(0x1c4)](this[_0x356f64(0x1ae)]),this[_0x356f64(0x1c5)](_0x2a29d7),this[_0x356f64(0x1c5)](this[_0x356f64(0x1ae)]),this[_0x356f64(0x1a2)]instanceof _0x2581a1&&this[_0x356f64(0x1c5)](this[_0x356f64(0x1a2)][_0x356f64(0x1a9)]);for(const _0x254eec of Array[_0x356f64(0x1d7)](this[_0x356f64(0x195)]))this[_0x356f64(0x1be)](_0x254eec);window[_0x356f64(0x19f)](_0x356f64(0x1c0),this[_0x356f64(0x1bc)]),this[_0x356f64(0x1bc)][_0x356f64(0x196)](),this[_0x356f64(0x1cd)]=null,this[_0x356f64(0x1cf)]=!0x1,this[_0x356f64(0x1ae)]=null;}[_0x9b46c4(0x194)](){const _0x270f88=_0x9b46c4;this[_0x270f88(0x1cf)]&&this[_0x270f88(0x193)]();}[_0x9b46c4(0x1b9)](_0x47e046){const _0x21704f=_0x9b46c4;if(!_0x47e046[_0x21704f(0x1b2)][_0x21704f(0x199)](_0x21704f(0x1a1)))return;const _0x19da68=_0x47e046[_0x21704f(0x1b2)][_0x21704f(0x1a3)](_0x21704f(0x1a1)),_0x2300d5=()=>{const _0x1e3b78=_0x21704f,_0x25afec=_0x19da68[_0x1e3b78(0x1c1)]({'annotations':this[_0x1e3b78(0x1ae)],'activeAnnotation':this[_0x1e3b78(0x1cd)]});this[_0x1e3b78(0x1c9)](_0x25afec[0x0]||null);};this[_0x21704f(0x1c8)](_0x19da68,_0x21704f(0x1a8),_0x2300d5),this[_0x21704f(0x1c8)](_0x19da68,_0x21704f(0x1b8),(_0x2f9dd2,{isAnnotationTracked:_0x4fde15})=>{const _0x269e10=_0x21704f;this[_0x269e10(0x1cd)]&&_0x4fde15(this[_0x269e10(0x1cd)])&&this[_0x269e10(0x1c9)](null);}),this[_0x21704f(0x1c8)](_0x19da68,_0x21704f(0x1ad),()=>{const _0x11fbc1=_0x21704f;this[_0x11fbc1(0x1bc)]();}),this[_0x21704f(0x1c8)](this[_0x21704f(0x1ae)],_0x21704f(0x1b8),_0x22a9b4=>{const _0x39a9d9=_0x21704f;_0x19da68[_0x39a9d9(0x1aa)]()&&(_0x2300d5(),_0x22a9b4[_0x39a9d9(0x1b6)]());},{'priority':_0x21704f(0x1d9)}),this[_0x21704f(0x195)][_0x21704f(0x1a5)](_0x19da68);}[_0x9b46c4(0x1be)](_0x3f1cb8){const _0x154f3f=_0x9b46c4;this[_0x154f3f(0x1c5)](_0x3f1cb8),this[_0x154f3f(0x195)][_0x154f3f(0x1d1)](_0x3f1cb8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xa857f7=_0x2dae;(function(_0x8d19a4,_0x38dbef){const _0x4dbf03=_0x2dae,_0x59f50a=_0x8d19a4();while(!![]){try{const _0x44eff2=parseInt(_0x4dbf03(0x1c0))/0x1+parseInt(_0x4dbf03(0x1d5))/0x2*(parseInt(_0x4dbf03(0x1dc))/0x3)+-parseInt(_0x4dbf03(0x1ba))/0x4*(-parseInt(_0x4dbf03(0x1af))/0x5)+-parseInt(_0x4dbf03(0x1bf))/0x6*(parseInt(_0x4dbf03(0x1cb))/0x7)+parseInt(_0x4dbf03(0x1ce))/0x8*(parseInt(_0x4dbf03(0x1da))/0x9)+parseInt(_0x4dbf03(0x1d0))/0xa*(parseInt(_0x4dbf03(0x1bb))/0xb)+parseInt(_0x4dbf03(0x1e1))/0xc*(-parseInt(_0x4dbf03(0x1d2))/0xd);if(_0x44eff2===_0x38dbef)break;else _0x59f50a['push'](_0x59f50a['shift']());}catch(_0x2db180){_0x59f50a['push'](_0x59f50a['shift']());}}}(_0x4b99,0x9d186));function _0x4b99(){const _0xfee377=['132cIIzuF','substr','plugins','addCommentThread','getLastMatchingPosition','_createMarkersFromRanges','5MUnBYy','refresh','isEnabled','addcommentthreadcommand-user-not-found','end','getItems','_hasContent','getRanges','get','backward','model','2334148ZpxHsN','88xQnHUO','from','hasContent','schema','15570TigIVX','766266yeOJNk','isObject','selection','Users','push','length','item','document','start','_createCommentThread','_itemIsContent','700glXSvS','change','config','72VQkeLe','editor','272640BvTacN','tableCell','2486237hJmZtc','execute','addcommentthreadcommand-incorrect-ranges','10CQxIwZ','set','CommentsRepository','comment:','addMarker','689706jVaEui','element','449448zTxqNu','collaboration.channelId','$textProxy','createRange','_trimToContent'];_0x4b99=function(){return _0xfee377;};return _0x4b99();}import{Command as _0x33452d}from'ckeditor5/src/core.js';function _0x2dae(_0x3495eb,_0x4fcbd8){const _0x4b9995=_0x4b99();return _0x2dae=function(_0x2dae45,_0x5ea848){_0x2dae45=_0x2dae45-0x1ab;let _0x5d9b2d=_0x4b9995[_0x2dae45];return _0x5d9b2d;},_0x2dae(_0x3495eb,_0x4fcbd8);}import{uid as _0x3bf8bd,CKEditorError as _0x161904}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x33452d{constructor(_0x548438){const _0x148446=_0x2dae;super(_0x548438),this[_0x148446(0x1d6)](_0x148446(0x1bd),!0x1);}[_0xa857f7(0x1b0)](){const _0xdc5051=_0xa857f7,_0x5805dd=this[_0xdc5051(0x1cf)][_0xdc5051(0x1b9)][_0xdc5051(0x1c7)][_0xdc5051(0x1c2)];this[_0xdc5051(0x1b1)]=!0x0,this[_0xdc5051(0x1bd)]=!0x1;for(const _0x2571e4 of _0x5805dd[_0xdc5051(0x1b6)]())if(this[_0xdc5051(0x1b5)](_0x2571e4))return void(this[_0xdc5051(0x1bd)]=!0x0);}[_0xa857f7(0x1d3)]({threadId:_0xbe5f85=_0x3bf8bd(),ranges:_0x4ccb1a,comment:_0x85b2de}={}){const _0x4a95ce=_0xa857f7,_0x327136=this[_0x4a95ce(0x1cf)][_0x4a95ce(0x1b9)],_0x1b45e4=_0x4ccb1a??Array[_0x4a95ce(0x1bc)](_0x327136[_0x4a95ce(0x1c7)][_0x4a95ce(0x1c2)][_0x4a95ce(0x1b6)]()),_0x123d3e=[];for(const _0x55f8bd of _0x1b45e4)this[_0x4a95ce(0x1b5)](_0x55f8bd)&&_0x123d3e[_0x4a95ce(0x1c4)](this[_0x4a95ce(0x1e0)](_0x55f8bd));if(!_0x123d3e[_0x4a95ce(0x1c5)])throw new _0x161904(_0x4a95ce(0x1d4),null);_0x85b2de&&this[_0x4a95ce(0x1c9)](_0xbe5f85,_0x85b2de),this[_0x4a95ce(0x1ae)](_0xbe5f85,_0x123d3e,!!_0x85b2de);}[_0xa857f7(0x1ae)](_0x24e7f6,_0x5bddce,_0x54c319){const _0x4a51c0=_0xa857f7;this[_0x4a51c0(0x1cf)][_0x4a51c0(0x1b9)][_0x4a51c0(0x1cc)](_0x305eec=>{const _0x4cc29b=_0x4a51c0;for(const _0x592848 of _0x5bddce){const _0x4412f7=_0x3bf8bd()[_0x4cc29b(0x1e2)](0x1,0x5),_0x2b1201=_0x4cc29b(0x1d8)+_0x24e7f6+':'+_0x4412f7;_0x305eec[_0x4cc29b(0x1d9)](_0x2b1201,{'range':_0x592848,'usingOperation':_0x54c319,'affectsData':_0x54c319});}});}[_0xa857f7(0x1c9)](_0x4085c8,_0x44caf9){const _0x39ee9c=_0xa857f7,_0x52177a=this[_0x39ee9c(0x1cf)][_0x39ee9c(0x1ab)][_0x39ee9c(0x1b7)](_0x39ee9c(0x1d7)),_0x516993=this[_0x39ee9c(0x1cf)][_0x39ee9c(0x1cd)][_0x39ee9c(0x1b7)](_0x39ee9c(0x1dd)),_0x44a657=this[_0x39ee9c(0x1cf)][_0x39ee9c(0x1ab)][_0x39ee9c(0x1b7)](_0x39ee9c(0x1c3))['me'];if(!_0x44a657)throw new _0x161904(_0x39ee9c(0x1b2),null);_0x52177a[_0x39ee9c(0x1ac)]({'threadId':_0x4085c8,'channelId':_0x516993,'comments':[{'authorId':_0x44a657['id'],'content':_0x44caf9,'createdAt':new Date(),'attributes':{}}]});}[_0xa857f7(0x1b5)](_0x144bd7){const _0x1917c4=_0xa857f7;for(const _0xc7b9fb of _0x144bd7[_0x1917c4(0x1b4)]())if(this[_0x1917c4(0x1ca)](_0xc7b9fb))return!0x0;return!0x1;}[_0xa857f7(0x1ca)](_0x1d7efb){const _0x3a1037=_0xa857f7;return _0x1d7efb['is'](_0x3a1037(0x1de))||this[_0x3a1037(0x1cf)][_0x3a1037(0x1b9)][_0x3a1037(0x1be)][_0x3a1037(0x1c1)](_0x1d7efb)&&!_0x1d7efb['is'](_0x3a1037(0x1db),_0x3a1037(0x1d1));}[_0xa857f7(0x1e0)](_0x2319b4){const _0x22eb9f=_0xa857f7,_0xa4bc5d=_0x13e8d0=>!this[_0x22eb9f(0x1ca)](_0x13e8d0[_0x22eb9f(0x1c6)]),_0x4eaf4f=_0x2319b4[_0x22eb9f(0x1c8)][_0x22eb9f(0x1ad)](_0xa4bc5d),_0x5f5485=_0x2319b4[_0x22eb9f(0x1b3)][_0x22eb9f(0x1ad)](_0xa4bc5d,{'direction':_0x22eb9f(0x1b8)});return this[_0x22eb9f(0x1cf)][_0x22eb9f(0x1b9)][_0x22eb9f(0x1df)](_0x4eaf4f,_0x5f5485);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x51dddf=_0x10dc;function _0x10dc(_0x21b808,_0x2483f3){const _0x24f7e9=_0x24f7();return _0x10dc=function(_0x10dc0f,_0x1b3017){_0x10dc0f=_0x10dc0f-0x1b2;let _0x54d391=_0x24f7e9[_0x10dc0f];return _0x54d391;},_0x10dc(_0x21b808,_0x2483f3);}(function(_0x466013,_0x48c608){const _0xbe6196=_0x10dc,_0x1d3664=_0x466013();while(!![]){try{const _0x5c8119=-parseInt(_0xbe6196(0x1b9))/0x1+parseInt(_0xbe6196(0x1db))/0x2*(-parseInt(_0xbe6196(0x1cb))/0x3)+-parseInt(_0xbe6196(0x1cc))/0x4*(parseInt(_0xbe6196(0x1b7))/0x5)+-parseInt(_0xbe6196(0x1c6))/0x6*(-parseInt(_0xbe6196(0x1cf))/0x7)+parseInt(_0xbe6196(0x1be))/0x8*(-parseInt(_0xbe6196(0x1b5))/0x9)+parseInt(_0xbe6196(0x1d9))/0xa*(parseInt(_0xbe6196(0x1c8))/0xb)+-parseInt(_0xbe6196(0x1c3))/0xc*(-parseInt(_0xbe6196(0x1bb))/0xd);if(_0x5c8119===_0x48c608)break;else _0x1d3664['push'](_0x1d3664['shift']());}catch(_0x588809){_0x1d3664['push'](_0x1d3664['shift']());}}}(_0x24f7,0x1efaa));import{ContextPlugin as _0x2bbd74}from'ckeditor5/src/core.js';import{Collection as _0x33994e}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2c129a}from'./commentsrepository.js';function _0x24f7(){const _0x12a1a=['has','pluginName','context','add','84tvQYuA','remove','findIndex','116754ADMcSW','change:archivedAt','11vXfYDB','_calculatePosition','length','6sBFAMI','42632GPPlcB','archivedThreads','plugins','84aRHiZB','isOfficialPlugin','get','isVisible','CommentsArchive','isActive','removeCommentThread','isPremiumPlugin','focus','addCommentThread','311050QcPhAx','highest','86426NADtLN','archivedAt','collection','listenTo','54waOBxm','stopListening','70HwxMuz','activate','74150XPDlIJ','requires','447213axWHpf','init','getCommentThread','91656SvNfen'];_0x24f7=function(){return _0x12a1a;};return _0x24f7();}import{Annotations as _0x56419a}from'../annotations/annotations.js';export class CommentsArchive extends _0x2bbd74{static get[_0x51dddf(0x1c0)](){const _0x10dc11=_0x51dddf;return _0x10dc11(0x1d3);}static get[_0x51dddf(0x1d0)](){return!0x0;}static get[_0x51dddf(0x1d6)](){return!0x0;}static get[_0x51dddf(0x1ba)](){return[_0x2c129a,_0x56419a];}constructor(_0x216883){const _0x165390=_0x51dddf;super(_0x216883),this[_0x165390(0x1cd)]=new _0x33994e();}[_0x51dddf(0x1bc)](){const _0x9b2f31=_0x51dddf,_0x14094d=this[_0x9b2f31(0x1c1)],_0x530ced=_0x14094d[_0x9b2f31(0x1ce)][_0x9b2f31(0x1d1)](_0x2c129a),_0x5446e3=_0x14094d[_0x9b2f31(0x1ce)][_0x9b2f31(0x1d1)](_0x56419a);this[_0x9b2f31(0x1b4)](_0x530ced,_0x9b2f31(0x1d8),(_0x1473fe,{threadId:_0x1793c7})=>{const _0x27a588=_0x9b2f31,_0x2589b6=_0x530ced[_0x27a588(0x1bd)](_0x1793c7);_0x2589b6[_0x27a588(0x1b2)]&&this[_0x27a588(0x1cd)][_0x27a588(0x1c2)](_0x2589b6,this[_0x27a588(0x1c9)](_0x2589b6[_0x27a588(0x1b2)])),this[_0x27a588(0x1b4)](_0x2589b6,_0x27a588(0x1c7),(_0x163e21,_0x3640fa,_0x2d0e12)=>{const _0x2404af=_0x27a588;_0x2d0e12?this[_0x2404af(0x1cd)][_0x2404af(0x1bf)](_0x2589b6)||this[_0x2404af(0x1cd)][_0x2404af(0x1c2)](_0x2589b6,this[_0x2404af(0x1c9)](_0x2589b6[_0x2404af(0x1b2)])):this[_0x2404af(0x1cd)][_0x2404af(0x1bf)](_0x2589b6)&&this[_0x2404af(0x1cd)][_0x2404af(0x1c4)](_0x2589b6);});}),this[_0x9b2f31(0x1b4)](_0x530ced,_0x9b2f31(0x1d5),(_0x415db8,{threadId:_0x2be1f5})=>{const _0x393979=_0x9b2f31,_0x49e304=_0x530ced[_0x393979(0x1bd)](_0x2be1f5);this[_0x393979(0x1b6)](_0x49e304),this[_0x393979(0x1cd)][_0x393979(0x1bf)](_0x49e304)&&this[_0x393979(0x1cd)][_0x393979(0x1c4)](_0x49e304);},{'priority':_0x9b2f31(0x1da)}),this[_0x9b2f31(0x1b4)](_0x5446e3[_0x9b2f31(0x1b3)],_0x9b2f31(0x1d7),(_0x39c7c1,_0x32719f)=>{const _0x5109c7=_0x9b2f31;_0x32719f[_0x5109c7(0x1d2)]||(_0x32719f[_0x5109c7(0x1d4)]=!0x0,_0x5446e3[_0x5109c7(0x1b8)](_0x32719f));});}[_0x51dddf(0x1c9)](_0x3e9040){const _0x5c96ca=_0x51dddf,_0x4bfa3b=[...this[_0x5c96ca(0x1cd)]][_0x5c96ca(0x1c5)](_0x3c7d3b=>_0x3c7d3b[_0x5c96ca(0x1b2)]<_0x3e9040);return _0x4bfa3b>-0x1?_0x4bfa3b:this[_0x5c96ca(0x1cd)][_0x5c96ca(0x1ca)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x564b56=_0x406d;(function(_0x3be58a,_0x125a6a){const _0x2df775=_0x406d,_0x4bc627=_0x3be58a();while(!![]){try{const _0x51cf23=-parseInt(_0x2df775(0x102))/0x1+parseInt(_0x2df775(0x121))/0x2*(parseInt(_0x2df775(0x130))/0x3)+-parseInt(_0x2df775(0xf3))/0x4*(-parseInt(_0x2df775(0xf0))/0x5)+-parseInt(_0x2df775(0x134))/0x6*(parseInt(_0x2df775(0xe8))/0x7)+parseInt(_0x2df775(0x11f))/0x8*(-parseInt(_0x2df775(0xe9))/0x9)+parseInt(_0x2df775(0x111))/0xa+-parseInt(_0x2df775(0xfe))/0xb*(-parseInt(_0x2df775(0x115))/0xc);if(_0x51cf23===_0x125a6a)break;else _0x4bc627['push'](_0x4bc627['shift']());}catch(_0x461186){_0x4bc627['push'](_0x4bc627['shift']());}}}(_0x916d,0x9f0c0));import'../../theme/commentsarchive.css';import{Plugin as _0x3747fa}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x39cd81}from'ckeditor5/src/icons.js';import{ViewCollection as _0x2b7638,MenuBarMenuListItemButtonView as _0x58162f,ButtonView as _0xf3d6ac,Dialog as _0x3b77ae,DialogViewPosition as _0x3404ef}from'ckeditor5/src/ui.js';function _0x916d(){const _0x4167a3=['view','requires','menuBar:commentsArchive','_visibleAnnotations','256KZlmUx','escape','71230oEITGE','stopListening','archivedThreads','_toggleDialog','listenTo','add','config','locale','_handleNewThread','collection','splice','isVisible','pluginName','hide','editor','3IATLba','set','innerView','includes','5208738XCqfhf','Dialog','get','_pendingThreads','show','7rxDEQb','112257kmvgpI','bind','EDITOR_TOP_SIDE','return','isEnabled','_threadToController','set:isVisible','80GkjlgF','_hideDialogOnAnnotationEscape','stop','136924BebJeW','filter','_addAnnotationToArchive','componentFactory','isOn','push','forEach','isPremiumPlugin','has','focusableElements','length','21203402ntaVmO','menuitemcheckbox','tooltip','isOpen','828525VewGfQ','Annotations','channelId','init','CommentsArchiveUI','archivedAt','annotationViews','source','find','commentsArchiveView','indexOf','collaboration.channelId','CommentsRepository','commentsArchive','getByInnerView','2363470FkgpOM','isOfficialPlugin','COMMENTS_ARCHIVE','findIndex','12orCPJq','remove','execute','_createCommentsArchiveButton','plugins','_calculatePosition'];_0x916d=function(){return _0x4167a3;};return _0x916d();}import{getTranslation as _0x37fa24}from'../utils/common-translations.js';import{CommentsArchiveView as _0x394e11}from'./ui/view/commentsarchiveview.js';function _0x406d(_0x5684e5,_0x3db663){const _0x916d14=_0x916d();return _0x406d=function(_0x406ddb,_0x1d4af0){_0x406ddb=_0x406ddb-0xe4;let _0x1683bd=_0x916d14[_0x406ddb];return _0x1683bd;},_0x406d(_0x5684e5,_0x3db663);}import{CommentsArchive as _0x323bb3}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x3747fa{[_0x564b56(0x10b)];[_0x564b56(0x108)];[_0x564b56(0xe6)];static get[_0x564b56(0x12d)](){const _0xb25045=_0x564b56;return _0xb25045(0x106);}static get[_0x564b56(0x112)](){return!0x0;}static get[_0x564b56(0xfa)](){return!0x0;}static get[_0x564b56(0x11c)](){return[_0x323bb3,_0x3b77ae];}constructor(_0x437486){const _0x5ee14d=_0x564b56;super(_0x437486),this[_0x5ee14d(0x108)]=new _0x2b7638(),this[_0x5ee14d(0xe6)]=[];}[_0x564b56(0x105)](){const _0x324337=_0x564b56,_0x5cbd9d=this[_0x324337(0x12f)],_0x4ccd53=this[_0x324337(0xf1)][_0x324337(0xea)](this);_0x5cbd9d['ui'][_0x324337(0xf6)][_0x324337(0x126)](_0x324337(0x10f),()=>this[_0x324337(0x118)](_0xf3d6ac,!0x0)),_0x5cbd9d['ui'][_0x324337(0xf6)][_0x324337(0x126)](_0x324337(0x11d),()=>{const _0xe0530d=_0x324337,_0x1d29f6=this[_0xe0530d(0x118)](_0x58162f);return _0x1d29f6[_0xe0530d(0x131)]({'role':_0xe0530d(0xff)}),_0x1d29f6;});const _0xd35ead=_0x5cbd9d[_0x324337(0x119)][_0x324337(0xe5)](_0x323bb3),_0x5d400a=_0x5cbd9d[_0x324337(0x119)][_0x324337(0xe5)](_0x324337(0x103)),_0x1f42cb=_0x5cbd9d[_0x324337(0x119)][_0x324337(0xe5)](_0x324337(0x10e));_0xd35ead[_0x324337(0x123)][_0x324337(0xf9)](_0x466aa5=>{const _0x554ebd=_0x324337;this[_0x554ebd(0x129)](_0x466aa5);}),this[_0x324337(0x125)](_0xd35ead[_0x324337(0x123)],_0x324337(0x126),(_0x462c93,_0x4169c6)=>{const _0xcd699a=_0x324337;this[_0xcd699a(0x129)](_0x4169c6);}),this[_0x324337(0x125)](_0x5d400a[_0x324337(0x12a)],_0x324337(0x126),(_0x17fae9,_0x5c6bb6)=>{const _0x1b1b6b=_0x324337,_0x357589=this[_0x1b1b6b(0xe6)][_0x1b1b6b(0x10a)](_0x45ead4=>{const _0x3c7077=_0x1b1b6b,_0x2eb944=_0x1f42cb[_0x3c7077(0xee)][_0x3c7077(0xe5)](_0x45ead4);return _0x2eb944&&_0x5c6bb6[_0x3c7077(0x132)]===_0x2eb944[_0x3c7077(0x11b)];});if(_0x357589){const _0x3705d9=this[_0x1b1b6b(0x11a)](_0x357589[_0x1b1b6b(0x107)]);this[_0x1b1b6b(0xf5)](_0x5c6bb6,_0x3705d9),this[_0x1b1b6b(0xe6)][_0x1b1b6b(0x12b)](this[_0x1b1b6b(0xe6)][_0x1b1b6b(0x10c)](_0x357589),0x1);}}),this[_0x324337(0x125)](_0xd35ead[_0x324337(0x123)],_0x324337(0x116),(_0x26fcba,_0x4b29ef)=>{const _0x475326=_0x324337,_0x41dfe2=_0x5cbd9d[_0x475326(0x127)][_0x475326(0xe5)](_0x475326(0x10d));if(!_0x41dfe2||_0x4b29ef[_0x475326(0x104)]===_0x41dfe2){if(this[_0x475326(0xe6)][_0x475326(0x133)](_0x4b29ef))this[_0x475326(0xe6)][_0x475326(0x12b)](this[_0x475326(0xe6)][_0x475326(0x10c)](_0x4b29ef),0x1);else{const _0x2bd9a5=_0x1f42cb[_0x475326(0xee)][_0x475326(0xe5)](_0x4b29ef),_0x5ec0f9=_0x5d400a[_0x475326(0x110)](_0x2bd9a5[_0x475326(0x11b)]);this[_0x475326(0x108)][_0x475326(0x116)](_0x5ec0f9[_0x475326(0x11b)]),this[_0x475326(0x122)](_0x5ec0f9),this[_0x475326(0x122)](_0x5ec0f9[_0x475326(0xfc)]);}}}),this[_0x324337(0x125)](_0x5d400a[_0x324337(0x12a)],_0x324337(0x126),(_0x171952,_0x24e5e6)=>{const _0x12eb7f=_0x324337;this[_0x12eb7f(0x125)](_0x24e5e6,_0x12eb7f(0x120),_0x4ccd53);}),this[_0x324337(0x125)](_0x5d400a[_0x324337(0x12a)],_0x324337(0x116),(_0x209876,_0x22ef97)=>{const _0x52cac8=_0x324337;this[_0x52cac8(0x122)](_0x22ef97,_0x52cac8(0x120),_0x4ccd53);});}[_0x564b56(0xf5)](_0x399552,_0x4abf23){const _0x409725=_0x564b56;this[_0x409725(0x125)](_0x399552,_0x409725(0xef),_0x27a6df=>{const _0xf9d33b=_0x409725;_0x27a6df[_0xf9d33b(0xec)]=!0x1,_0x27a6df[_0xf9d33b(0xf2)]();}),this[_0x409725(0x108)][_0x409725(0x126)](_0x399552[_0x409725(0x11b)],_0x4abf23);}[_0x564b56(0x129)](_0x31c013){const _0x11b864=_0x564b56,_0x3fd66f=this[_0x11b864(0x12f)][_0x11b864(0x119)][_0x11b864(0xe5)](_0x11b864(0x10e)),_0x5d07e7=this[_0x11b864(0x12f)][_0x11b864(0x119)][_0x11b864(0xe5)](_0x11b864(0x103)),_0x439df6=this[_0x11b864(0x12f)][_0x11b864(0x127)][_0x11b864(0xe5)](_0x11b864(0x10d));if(!_0x439df6||_0x31c013[_0x11b864(0x104)]===_0x439df6){const _0x2df94d=_0x3fd66f[_0x11b864(0xee)][_0x11b864(0xe5)](_0x31c013);if(!_0x2df94d)return void this[_0x11b864(0xe6)][_0x11b864(0xf8)](_0x31c013);const _0x356e52=this[_0x11b864(0x11a)](_0x31c013[_0x11b864(0x107)]),_0xad954a=_0x5d07e7[_0x11b864(0x110)](_0x2df94d[_0x11b864(0x11b)]);_0xad954a[_0x11b864(0x12c)]&&_0x5d07e7[_0x11b864(0x11e)][_0x11b864(0x116)](_0xad954a),this[_0x11b864(0xf5)](_0xad954a,_0x356e52);}}[_0x564b56(0x11a)](_0x4d86e4){const _0x9af13c=_0x564b56,_0x4513d5=this[_0x9af13c(0x12f)][_0x9af13c(0x127)][_0x9af13c(0xe5)](_0x9af13c(0x10d)),_0x354134=[...this[_0x9af13c(0x12f)][_0x9af13c(0x119)][_0x9af13c(0xe5)](_0x323bb3)[_0x9af13c(0x123)]][_0x9af13c(0xf4)](_0x29abec=>_0x29abec[_0x9af13c(0x104)]===_0x4513d5)[_0x9af13c(0x114)](_0xc78f73=>_0xc78f73[_0x9af13c(0x107)]<_0x4d86e4);return _0x354134<0x0||_0x354134>this[_0x9af13c(0x108)][_0x9af13c(0xfd)]?this[_0x9af13c(0x108)][_0x9af13c(0xfd)]:_0x354134-0x1;}[_0x564b56(0x124)](){const _0xd848b7=_0x564b56,_0x3c2a11=this[_0xd848b7(0x12f)],_0x1a4a15=_0x3c2a11[_0xd848b7(0x119)][_0xd848b7(0xe5)](_0xd848b7(0xe4));this[_0xd848b7(0x10b)]||(this[_0xd848b7(0x10b)]=new _0x394e11(_0x3c2a11[_0xd848b7(0x128)],this[_0xd848b7(0x108)])),_0xd848b7(0x10f)===_0x1a4a15['id']?_0x1a4a15[_0xd848b7(0x12e)]():_0x1a4a15[_0xd848b7(0xe7)]({'id':_0xd848b7(0x10f),'title':_0x37fa24(_0x3c2a11[_0xd848b7(0x128)],_0xd848b7(0x113)),'icon':_0x39cd81,'hasCloseButton':!0x0,'content':this[_0xd848b7(0x10b)],'position':_0x3404ef[_0xd848b7(0xeb)]});}[_0x564b56(0x118)](_0xa1a0a2,_0x5266bb=!0x1){const _0x94164b=_0x564b56,_0x1c1dd8=this[_0x94164b(0x12f)][_0x94164b(0x128)],_0x48fa47=this[_0x94164b(0x12f)][_0x94164b(0x119)][_0x94164b(0xe5)](_0x94164b(0xe4)),_0x3be4d0=new _0xa1a0a2(_0x1c1dd8);return _0x3be4d0[_0x94164b(0xea)](_0x94164b(0xed))['to'](this,_0x94164b(0xed)),_0x3be4d0[_0x94164b(0xea)](_0x94164b(0xf7))['to'](_0x48fa47,'id',_0x47c779=>_0x94164b(0x10f)===_0x47c779),_0x3be4d0[_0x94164b(0x131)]({'label':_0x37fa24(_0x1c1dd8,_0x94164b(0x113)),'icon':_0x39cd81,'isToggleable':!0x0}),_0x5266bb&&(_0x3be4d0[_0x94164b(0x100)]=!0x0),this[_0x94164b(0x125)](_0x3be4d0,_0x94164b(0x117),()=>this[_0x94164b(0x124)]()),_0x3be4d0;}[_0x564b56(0xf1)]=_0x52963b=>{const _0x5df208=_0x564b56,_0x54f01b=_0x52963b[_0x5df208(0x109)];if(!this[_0x5df208(0x108)][_0x5df208(0xfb)](_0x54f01b[_0x5df208(0x11b)]))return;const _0x5be144=this[_0x5df208(0x12f)][_0x5df208(0x119)][_0x5df208(0xe5)](_0x5df208(0xe4));_0x5be144[_0x5df208(0x101)]&&_0x5df208(0x10f)===_0x5be144['id']&&(_0x5be144[_0x5df208(0x12e)](),_0x52963b[_0x5df208(0xf2)]());};}
|