@ckeditor/ckeditor5-comments 46.1.1 → 47.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-editor.css +2 -46
- package/dist/index.css +2 -48
- 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.d.ts +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.d.ts +0 -2
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.d.ts +1 -5
- 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
- package/theme/comment.css +0 -12
- package/theme/commentthread.css +2 -38
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c621=_0x4d4f;function _0x1425(){const _0xaf4c52=['add','element','setContainer','target','length','_alignForTopChange','_getTargetTop','_detachFromContainer','sidebar.container','listenTo','2lSOGdH','container','6785272lNZisM','_getItemBefore','sidebar.preventScrollOutOfView','822114gbedNl','clear','_setItemTop','updateHeight','object','1009290MGfDyL','init','bottom','targetRect','Sidebar','change:targetRect','change:bottom','bind','getSidebarItemView','top','sidebar-setcontainer-invalid-element','nodeType','_annotations','pluginName','_alignAfterItem','_annotationToSidebarItemView','_alignToTargetRect','isOfficialPlugin','_getMaxAvailableTop','_recalculateBuffer','isPremiumPlugin','331570nZpRcg','delete','config','minHeight','_updateLastItem','getIndex','render','_destroySidebarItemView','class','set','content','remove','_recalculate','get','sidebar-attachtocontainer-missing-container','_lastItem','rearrange','_alignForBottomChange','change:_lastItem','1684332fRmglB','stopListening','push','_spaceBetweenItems','refresh','isAnimationDisabled','locale','_targetTop','_createSidebarView','_sidebarItemViewToAnnotation','max','371884fHUpIw','_activeAnnotation','isActive','_getItemAfter','unbind','_alignBeforeItem','addAnnotation','height','destroy','appendChild','context','1561952yqdGAo','define','last','_attachToContainer','view','change:top','list'];_0x1425=function(){return _0xaf4c52;};return _0x1425();}(function(_0xaff2c1,_0x55abcd){const _0x5dd26=_0x4d4f,_0x41b8a6=_0xaff2c1();while(!![]){try{const _0x2b2ce8=-parseInt(_0x5dd26(0xb0))/0x1*(parseInt(_0x5dd26(0x94))/0x2)+-parseInt(_0x5dd26(0xba))/0x3+parseInt(_0x5dd26(0x89))/0x4+parseInt(_0x5dd26(0x76))/0x5+-parseInt(_0x5dd26(0xb5))/0x6+-parseInt(_0x5dd26(0x9f))/0x7+parseInt(_0x5dd26(0xb2))/0x8;if(_0x2b2ce8===_0x55abcd)break;else _0x41b8a6['push'](_0x41b8a6['shift']());}catch(_0x57bceb){_0x41b8a6['push'](_0x41b8a6['shift']());}}}(_0x1425,0x4134f));import{ContextPlugin as _0x52e659}from'ckeditor5/src/core.js';import{Rect as _0x440383,CKEditorError as _0x49c393}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x32595e}from'./view/sidebarview.js';function _0x4d4f(_0xa39a0b,_0x7a4926){const _0x1425b8=_0x1425();return _0x4d4f=function(_0x4d4fa8,_0x127718){_0x4d4fa8=_0x4d4fa8-0x71;let _0x10b9b4=_0x1425b8[_0x4d4fa8];return _0x10b9b4;},_0x4d4f(_0xa39a0b,_0x7a4926);}import{AnnotationsSidebarItemView as _0x1b5a98}from'./view/sidebaritemview.js';export class Sidebar extends _0x52e659{[_0x32c621(0xa3)];[_0x32c621(0x95)];[_0x32c621(0xc6)];[_0x32c621(0x8c)];[_0x32c621(0x92)];[_0x32c621(0xc9)];[_0x32c621(0x74)];static get[_0x32c621(0xc7)](){const _0x8b43c1=_0x32c621;return _0x8b43c1(0xbe);}static get[_0x32c621(0x72)](){return!0x0;}static get[_0x32c621(0x75)](){return!0x0;}constructor(_0x30f79a){const _0x455972=_0x32c621;super(_0x30f79a),this[_0x455972(0x7f)](_0x455972(0x85),void 0x0),this[_0x455972(0xa3)]=this[_0x455972(0x91)](),this[_0x455972(0x7f)](_0x455972(0xb1),null),this[_0x455972(0x8c)]=0x19,this[_0x455972(0x92)]=new Map(),this[_0x455972(0xc9)]=new Map(),this[_0x455972(0x9e)][_0x455972(0x78)][_0x455972(0xa0)](_0x455972(0xb4),!0x1),this[_0x455972(0xc6)]=null,this[_0x455972(0x95)]=null,this[_0x455972(0x74)]=[];}[_0x32c621(0xbb)](){const _0x262ee3=_0x32c621,_0x337f0b=this[_0x262ee3(0x9e)][_0x262ee3(0x78)][_0x262ee3(0x83)](_0x262ee3(0xae));_0x337f0b&&this[_0x262ee3(0xa8)](_0x337f0b);}[_0x32c621(0xa8)](_0x438a3c){const _0x21f1b1=_0x32c621;if(!g(_0x438a3c))throw new _0x49c393(_0x21f1b1(0xc4));this[_0x21f1b1(0xb1)]=_0x438a3c;}[_0x32c621(0xa2)]({viewClass:_0x5139bb='',spaceBetweenItems:_0x4fcee6=0x19}={}){const _0xb2c66c=_0x32c621;if(!g(this[_0xb2c66c(0xb1)]))throw new _0x49c393(_0xb2c66c(0x84),this);this[_0xb2c66c(0xb1)][_0xb2c66c(0x9d)](this[_0xb2c66c(0xa3)][_0xb2c66c(0xa7)]),this[_0xb2c66c(0xa3)][_0xb2c66c(0x7e)]=_0x5139bb,this[_0xb2c66c(0x8c)]=_0x4fcee6;}[_0x32c621(0x86)]({removedAnnotation:_0x2d60a4,previousAnnotation:_0x4d7c89,nextAnnotation:_0x57b0f7}){const _0x381585=_0x32c621,_0x1d89ec=this[_0x381585(0xc2)](_0x2d60a4);this[_0x381585(0xa3)][_0x381585(0xa5)][_0x381585(0x81)](_0x1d89ec),this[_0x381585(0x7d)](_0x2d60a4),_0x4d7c89&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x4d7c89)),_0x57b0f7&&this[_0x381585(0x71)](this[_0x381585(0xc2)](_0x57b0f7)),this[_0x381585(0x7a)]();}[_0x32c621(0x8d)]({blurredAnnotation:_0x3b7ed9,activatedAnnotation:_0x5a1ddd,disableAnimationOnActivatedAnnotation:_0x71a426}){const _0x34188d=_0x32c621;if(this[_0x34188d(0x95)]=_0x5a1ddd,_0x3b7ed9){_0x3b7ed9[_0x34188d(0x96)]=!0x1;const _0x16c68a=this[_0x34188d(0xc2)](_0x3b7ed9);_0x16c68a&&_0x71a426&&(_0x16c68a[_0x34188d(0x8e)]=!0x1);}if(_0x5a1ddd){const _0x24e18e=this[_0x34188d(0xc2)](_0x5a1ddd);_0x24e18e&&(_0x5a1ddd[_0x34188d(0x96)]=!0x0,_0x71a426&&(_0x24e18e[_0x34188d(0x8e)]=!0x0,_0x24e18e[_0x34188d(0xc3)]+=0x1),this[_0x34188d(0x71)](_0x24e18e));}}[_0x32c621(0xad)](_0x1a5222){const _0x1f6390=_0x32c621;if(this[_0x1f6390(0xa3)][_0x1f6390(0xa7)][_0x1f6390(0x81)](),_0x1a5222){for(const _0x516703 of _0x1a5222)this[_0x1f6390(0x7d)](_0x516703);}this[_0x1f6390(0xa3)][_0x1f6390(0xa5)][_0x1f6390(0xb6)](),this[_0x1f6390(0xa3)][_0x1f6390(0x7e)]='',this[_0x1f6390(0x85)]=null;}[_0x32c621(0x9a)](_0x10434f,_0x1058f3){const _0x2d4689=_0x32c621;_0x1058f3||(_0x1058f3=_0x10434f[_0x2d4689(0xa3)]);const _0x10f117=new _0x1b5a98(this[_0x2d4689(0x9e)][_0x2d4689(0x8f)]);this[_0x2d4689(0x92)][_0x2d4689(0x7f)](_0x10f117,_0x10434f),this[_0x2d4689(0xc9)][_0x2d4689(0x7f)](_0x10434f,_0x10f117),_0x10f117[_0x2d4689(0x80)][_0x2d4689(0xa6)](_0x1058f3),this[_0x2d4689(0xaf)](_0x10434f[_0x2d4689(0xa3)],_0x2d4689(0xbf),(_0x296b4c,_0x2ec1a4,_0x352043)=>{const _0x36a4d8=_0x2d4689,_0x2cad46=this[_0x36a4d8(0xac)](_0x10434f,_0x352043);_0x10f117[_0x36a4d8(0x90)]!=_0x2cad46&&(_0x10f117[_0x36a4d8(0x90)]=_0x2cad46,this[_0x36a4d8(0xb7)](_0x10f117,_0x2cad46));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xa4),()=>{const _0x373b8b=_0x2d4689;this[_0x373b8b(0x82)](_0x10f117,_0x373b8b(0xc3));}),this[_0x2d4689(0xaf)](_0x10f117,_0x2d4689(0xc0),()=>{const _0x56305c=_0x2d4689;this[_0x56305c(0x82)](_0x10f117,_0x56305c(0xbc));}),this[_0x2d4689(0x71)](_0x10f117);const _0x1cc3f8=this[_0x2d4689(0xb3)](_0x10f117);if(_0x1cc3f8)this[_0x2d4689(0xc8)](_0x1cc3f8,_0x10f117)||this[_0x2d4689(0x71)](_0x10f117);else this[_0x2d4689(0x71)](_0x10f117);return this[_0x2d4689(0x7a)](),this[_0x2d4689(0xa3)][_0x2d4689(0xa5)][_0x2d4689(0xa6)](_0x10f117),_0x10f117;}[_0x32c621(0xab)](_0x231881){const _0x1fa1c6=_0x32c621;if(!_0x231881[_0x1fa1c6(0x80)][_0x1fa1c6(0xaa)])return;const _0x5098a2=this[_0x1fa1c6(0xb3)](_0x231881);if(!_0x5098a2)return;const _0x3ec2b4=this[_0x1fa1c6(0x92)][_0x1fa1c6(0x83)](_0x5098a2),_0x410628=this[_0x1fa1c6(0x95)];_0x410628&&_0x410628===_0x3ec2b4?this[_0x1fa1c6(0xc8)](_0x5098a2,_0x231881):this[_0x1fa1c6(0x99)](_0x231881,_0x5098a2);}[_0x32c621(0x87)](_0x37ade2){const _0x169003=_0x32c621;if(!_0x37ade2[_0x169003(0x80)][_0x169003(0xaa)])return;const _0x549416=this[_0x169003(0x97)](_0x37ade2);if(!_0x549416)return;const _0x16face=this[_0x169003(0x92)][_0x169003(0x83)](_0x549416),_0x3d73ff=this[_0x169003(0x9e)][_0x169003(0x78)][_0x169003(0x83)](_0x169003(0xb4)),_0x3c2609=this[_0x169003(0x95)];_0x3c2609&&_0x3c2609===_0x16face&&_0x3d73ff?(this[_0x169003(0x99)](_0x549416,_0x37ade2),this[_0x169003(0xc8)](_0x37ade2,_0x549416)):_0x3c2609&&_0x3c2609===_0x16face?this[_0x169003(0x99)](_0x549416,_0x37ade2):this[_0x169003(0xc8)](_0x37ade2,_0x549416);}[_0x32c621(0x82)](_0x10f1ef,_0x4c0b4f){const _0x469abe=_0x32c621;0x0===this[_0x469abe(0x74)][_0x469abe(0xaa)]&&setTimeout(()=>{const _0x2e0ef9=_0x469abe;for(const {sidebarItemView:_0x4588ab,changedProp:_0x55e3f3}of this[_0x2e0ef9(0x74)])_0x2e0ef9(0xc3)===_0x55e3f3?this[_0x2e0ef9(0xab)](_0x4588ab):this[_0x2e0ef9(0x87)](_0x4588ab);this[_0x2e0ef9(0x74)]=[];},0xa),this[_0x469abe(0x74)][_0x469abe(0x8b)]({'sidebarItemView':_0x10f1ef,'changedProp':_0x4c0b4f});}[_0x32c621(0xc2)](_0x5a2264){const _0x166046=_0x32c621;return this[_0x166046(0xc9)][_0x166046(0x83)](_0x5a2264);}[_0x32c621(0x9c)](){const _0x56d33d=_0x32c621;this[_0x56d33d(0x8a)](),this[_0x56d33d(0xa3)][_0x56d33d(0x9c)]();}[_0x32c621(0x7d)](_0x456009){const _0x51f81d=_0x32c621,_0x1f10ba=this[_0x51f81d(0xc2)](_0x456009);this[_0x51f81d(0x8a)](_0x1f10ba),this[_0x51f81d(0x8a)](_0x456009[_0x51f81d(0xa3)]),_0x1f10ba[_0x51f81d(0x9c)](),this[_0x51f81d(0xc9)][_0x51f81d(0x77)](_0x456009),this[_0x51f81d(0x92)][_0x51f81d(0x77)](_0x1f10ba);}[_0x32c621(0x91)](){const _0x34ea40=_0x32c621,_0x10cd7a=new _0x32595e(this[_0x34ea40(0x9e)][_0x34ea40(0x8f)]);return _0x10cd7a[_0x34ea40(0x7c)](),this['on'](_0x34ea40(0x88),(_0x15fbd1,_0x47e975,_0x20b9e5,_0x5d94c4)=>{const _0x2fef28=_0x34ea40;_0x5d94c4&&_0x10cd7a[_0x2fef28(0x98)](_0x2fef28(0x79)),_0x20b9e5?_0x10cd7a[_0x2fef28(0xc1)](_0x2fef28(0x79))['to'](_0x20b9e5,_0x2fef28(0xbc)):_0x10cd7a[_0x2fef28(0x79)]=null;}),_0x10cd7a;}[_0x32c621(0x7a)](){const _0x103409=_0x32c621;this[_0x103409(0x85)]=this[_0x103409(0xc6)]?.[_0x103409(0xa1)]?this[_0x103409(0xc2)](this[_0x103409(0xc6)][_0x103409(0xa1)]):null;}[_0x32c621(0xb3)](_0x4babfc){const _0x10de12=_0x32c621,_0xe898c2=this[_0x10de12(0x92)][_0x10de12(0x83)](_0x4babfc),_0x10602b=_0xe898c2&&this[_0x10de12(0xc6)]?.[_0x10de12(0x83)](this[_0x10de12(0xc6)][_0x10de12(0x7b)](_0xe898c2)-0x1);return _0x10602b&&this[_0x10de12(0xc2)](_0x10602b)||null;}[_0x32c621(0x97)](_0x3bf1fa){const _0xbdfd9e=_0x32c621,_0x2b9496=this[_0xbdfd9e(0x92)][_0xbdfd9e(0x83)](_0x3bf1fa),_0x2f432f=_0x2b9496&&this[_0xbdfd9e(0xc6)]?.[_0xbdfd9e(0x83)](this[_0xbdfd9e(0xc6)][_0xbdfd9e(0x7b)](_0x2b9496)+0x1);return _0x2f432f&&this[_0xbdfd9e(0xc2)](_0x2f432f)||null;}[_0x32c621(0x99)](_0x2c6526,_0x3495f7){const _0x220c94=_0x32c621;_0x2c6526[_0x220c94(0xb8)]();const _0x376399=G(_0x3495f7[_0x220c94(0xbc)]+this[_0x220c94(0x8c)],_0x2c6526[_0x220c94(0xc3)]);return!!_0x376399&&(this[_0x220c94(0xb7)](_0x3495f7,_0x3495f7[_0x220c94(0xc3)]-_0x376399),!0x0);}[_0x32c621(0xc8)](_0x37d607,_0xb175ca){const _0xc2d44d=_0x32c621;_0x37d607[_0xc2d44d(0xb8)]();const _0x32f8c5=G(_0x37d607[_0xc2d44d(0xbc)]+this[_0xc2d44d(0x8c)],_0xb175ca[_0xc2d44d(0xc3)]);return!!_0x32f8c5&&(this[_0xc2d44d(0xb7)](_0xb175ca,_0xb175ca[_0xc2d44d(0xc3)]+_0x32f8c5,!0x1),!0x0);}[_0x32c621(0x71)](_0x224e45){const _0x19d090=_0x32c621,_0xe86df6=this[_0x19d090(0x92)][_0x19d090(0x83)](_0x224e45);if(!_0xe86df6||!_0xe86df6[_0x19d090(0xa9)]||!_0xe86df6[_0x19d090(0xbd)])return;const _0x2397da=this[_0x19d090(0xac)](_0xe86df6,_0xe86df6[_0x19d090(0xbd)]);this[_0x19d090(0xb7)](_0x224e45,_0x2397da);}[_0x32c621(0xac)](_0x3019bb,_0x4613f7){const _0xf2c181=_0x32c621;if(null===_0x4613f7)return 0x0;if(_0x3019bb[_0xf2c181(0xa9)]instanceof _0x440383)return _0x4613f7[_0xf2c181(0xc3)];{const _0x2d1888=new _0x440383(this[_0xf2c181(0xa3)][_0xf2c181(0xa7)])[_0xf2c181(0xc3)];return _0x4613f7[_0xf2c181(0xc3)]-_0x2d1888;}}[_0x32c621(0xb7)](_0x5bb614,_0x24998d,_0x4a8c45=this[_0x32c621(0x9e)][_0x32c621(0x78)][_0x32c621(0x83)](_0x32c621(0xb4))){const _0x3b7562=_0x32c621;_0x4a8c45&&(_0x24998d=Math[_0x3b7562(0x93)](_0x24998d,this[_0x3b7562(0x73)](_0x5bb614))),_0x5bb614[_0x3b7562(0xc3)]=_0x24998d;}[_0x32c621(0x73)](_0x374368){const _0x4e3d41=_0x32c621;let _0x16de02=this[_0x4e3d41(0xb3)](_0x374368),_0xc5b24b=0x0;for(;_0x16de02;)_0x16de02[_0x4e3d41(0xb8)](),_0xc5b24b+=this[_0x4e3d41(0x8c)]+_0x16de02[_0x4e3d41(0x9b)],_0x16de02=this[_0x4e3d41(0xb3)](_0x16de02);return _0xc5b24b;}}function G(_0x1fe996,_0x1642e1){const _0x5b7624=_0x32c621;return Math[_0x5b7624(0x93)](_0x1fe996-_0x1642e1,0x0);}function g(_0x16bfb6){const _0x4770aa=_0x32c621;return null!==_0x16bfb6&&_0x4770aa(0xb9)==typeof _0x16bfb6&&0x1===_0x16bfb6[_0x4770aa(0xc5)];}
|
|
23
|
+
const _0x688a56=_0x7468;(function(_0x20dbab,_0x47af4a){const _0x30e779=_0x7468,_0x1f97cd=_0x20dbab();while(!![]){try{const _0x196a66=-parseInt(_0x30e779(0xa4))/0x1*(-parseInt(_0x30e779(0xcd))/0x2)+-parseInt(_0x30e779(0x99))/0x3+parseInt(_0x30e779(0x8a))/0x4*(-parseInt(_0x30e779(0x97))/0x5)+parseInt(_0x30e779(0xab))/0x6*(-parseInt(_0x30e779(0xb5))/0x7)+parseInt(_0x30e779(0x8c))/0x8+-parseInt(_0x30e779(0xad))/0x9*(parseInt(_0x30e779(0xb7))/0xa)+-parseInt(_0x30e779(0xa0))/0xb*(-parseInt(_0x30e779(0x90))/0xc);if(_0x196a66===_0x47af4a)break;else _0x1f97cd['push'](_0x1f97cd['shift']());}catch(_0x2ae6fc){_0x1f97cd['push'](_0x1f97cd['shift']());}}}(_0x54ae,0x80770));import{ContextPlugin as _0x43fd27}from'ckeditor5/src/core.js';import{Rect as _0x4b6995,CKEditorError as _0xf726a3}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x1b2e4f}from'./view/sidebarview.js';function _0x7468(_0x565128,_0x12de10){const _0x54ae20=_0x54ae();return _0x7468=function(_0x746851,_0x4081c0){_0x746851=_0x746851-0x7b;let _0x44725e=_0x54ae20[_0x746851];return _0x44725e;},_0x7468(_0x565128,_0x12de10);}import{AnnotationsSidebarItemView as _0x50f9f2}from'./view/sidebaritemview.js';export class Sidebar extends _0x43fd27{[_0x688a56(0x83)];[_0x688a56(0x92)];[_0x688a56(0xd7)];[_0x688a56(0xb8)];[_0x688a56(0xd5)];[_0x688a56(0xbd)];[_0x688a56(0xc8)];static get[_0x688a56(0xc7)](){const _0x8602ea=_0x688a56;return _0x8602ea(0xa8);}static get[_0x688a56(0xb9)](){return!0x0;}static get[_0x688a56(0xc5)](){return!0x0;}constructor(_0x4220d6){const _0x13eae1=_0x688a56;super(_0x4220d6),this[_0x13eae1(0xac)](_0x13eae1(0xa7),void 0x0),this[_0x13eae1(0x83)]=this[_0x13eae1(0x8b)](),this[_0x13eae1(0xac)](_0x13eae1(0x7f),null),this[_0x13eae1(0xb8)]=0x19,this[_0x13eae1(0xd5)]=new Map(),this[_0x13eae1(0xbd)]=new Map(),this[_0x13eae1(0xa3)][_0x13eae1(0xbf)][_0x13eae1(0x98)](_0x13eae1(0xca),!0x1),this[_0x13eae1(0xd7)]=null,this[_0x13eae1(0x92)]=null,this[_0x13eae1(0xc8)]=[];}[_0x688a56(0xd3)](){const _0x286fbc=_0x688a56,_0x47dd41=this[_0x286fbc(0xa3)][_0x286fbc(0xbf)][_0x286fbc(0x82)](_0x286fbc(0x95));_0x47dd41&&this[_0x286fbc(0xb2)](_0x47dd41);}[_0x688a56(0xb2)](_0x3af3c6){const _0x3f22d9=_0x688a56;if(!g(_0x3af3c6))throw new _0xf726a3(_0x3f22d9(0xbe));this[_0x3f22d9(0x7f)]=_0x3af3c6;}[_0x688a56(0x8f)]({viewClass:_0x60a753='',spaceBetweenItems:_0x8bf8ea=0x19}={}){const _0x50dd39=_0x688a56;if(!g(this[_0x50dd39(0x7f)]))throw new _0xf726a3(_0x50dd39(0xa5),this);this[_0x50dd39(0x7f)][_0x50dd39(0xcc)](this[_0x50dd39(0x83)][_0x50dd39(0xaf)]),this[_0x50dd39(0x83)][_0x50dd39(0xaa)]=_0x60a753,this[_0x50dd39(0xb8)]=_0x8bf8ea;}[_0x688a56(0xd4)]({removedAnnotation:_0x574144,previousAnnotation:_0x3f0f60,nextAnnotation:_0x3fb07b}){const _0x1109f2=_0x688a56,_0x39f741=this[_0x1109f2(0xcf)](_0x574144);this[_0x1109f2(0x83)][_0x1109f2(0xd0)][_0x1109f2(0x7c)](_0x39f741),this[_0x1109f2(0x89)](_0x574144),_0x3f0f60&&this[_0x1109f2(0xb1)](this[_0x1109f2(0xcf)](_0x3f0f60)),_0x3fb07b&&this[_0x1109f2(0xb1)](this[_0x1109f2(0xcf)](_0x3fb07b)),this[_0x1109f2(0xb6)]();}[_0x688a56(0xa9)]({blurredAnnotation:_0x9b408,activatedAnnotation:_0x3357e9,disableAnimationOnActivatedAnnotation:_0x43b9a7}){const _0x6f920c=_0x688a56;if(this[_0x6f920c(0x92)]=_0x3357e9,_0x9b408){_0x9b408[_0x6f920c(0x93)]=!0x1;const _0x2b9bd9=this[_0x6f920c(0xcf)](_0x9b408);_0x2b9bd9&&_0x43b9a7&&(_0x2b9bd9[_0x6f920c(0xd2)]=!0x1);}if(_0x3357e9){const _0x558a83=this[_0x6f920c(0xcf)](_0x3357e9);_0x558a83&&(_0x3357e9[_0x6f920c(0x93)]=!0x0,_0x43b9a7&&(_0x558a83[_0x6f920c(0xd2)]=!0x0,_0x558a83[_0x6f920c(0xc3)]+=0x1),this[_0x6f920c(0xb1)](_0x558a83));}}[_0x688a56(0x9d)](_0x15283d){const _0x447246=_0x688a56;if(this[_0x447246(0x83)][_0x447246(0xaf)][_0x447246(0x7c)](),_0x15283d){for(const _0x21a67a of _0x15283d)this[_0x447246(0x89)](_0x21a67a);}this[_0x447246(0x83)][_0x447246(0xd0)][_0x447246(0xba)](),this[_0x447246(0x83)][_0x447246(0xaa)]='',this[_0x447246(0xa7)]=null;}[_0x688a56(0x86)](_0xdd6761,_0xa15ca0){const _0x1e742b=_0x688a56;_0xa15ca0||(_0xa15ca0=_0xdd6761[_0x1e742b(0x83)]);const _0x4b3397=new _0x50f9f2(this[_0x1e742b(0xa3)][_0x1e742b(0x91)]);this[_0x1e742b(0xd5)][_0x1e742b(0xac)](_0x4b3397,_0xdd6761),this[_0x1e742b(0xbd)][_0x1e742b(0xac)](_0xdd6761,_0x4b3397),_0x4b3397[_0x1e742b(0xcb)][_0x1e742b(0xc4)](_0xa15ca0),this[_0x1e742b(0x88)](_0xdd6761[_0x1e742b(0x83)],_0x1e742b(0xd6),(_0xfcbd67,_0x4462a5,_0x20220d)=>{const _0x9093b7=_0x1e742b,_0x524cd9=this[_0x9093b7(0x84)](_0xdd6761,_0x20220d);_0x4b3397[_0x9093b7(0xc1)]!=_0x524cd9&&(_0x4b3397[_0x9093b7(0xc1)]=_0x524cd9,this[_0x9093b7(0x8d)](_0x4b3397,_0x524cd9));}),this[_0x1e742b(0x88)](_0x4b3397,_0x1e742b(0xbb),()=>{const _0x333097=_0x1e742b;this[_0x333097(0x8e)](_0x4b3397,_0x333097(0xc3));}),this[_0x1e742b(0x88)](_0x4b3397,_0x1e742b(0x85),()=>{const _0x37e991=_0x1e742b;this[_0x37e991(0x8e)](_0x4b3397,_0x37e991(0x87));}),this[_0x1e742b(0xb1)](_0x4b3397);const _0x34de17=this[_0x1e742b(0x94)](_0x4b3397);if(_0x34de17)this[_0x1e742b(0x9e)](_0x34de17,_0x4b3397)||this[_0x1e742b(0xb1)](_0x4b3397);else this[_0x1e742b(0xb1)](_0x4b3397);return this[_0x1e742b(0xb6)](),this[_0x1e742b(0x83)][_0x1e742b(0xd0)][_0x1e742b(0xc4)](_0x4b3397),_0x4b3397;}[_0x688a56(0x81)](_0x3ef50f){const _0x3e39c7=_0x688a56;if(!_0x3ef50f[_0x3e39c7(0xcb)][_0x3e39c7(0xc6)])return;const _0x164356=this[_0x3e39c7(0x94)](_0x3ef50f);if(!_0x164356)return;const _0x2b7f4e=this[_0x3e39c7(0xd5)][_0x3e39c7(0x82)](_0x164356),_0x39c076=this[_0x3e39c7(0x92)];_0x39c076&&_0x39c076===_0x2b7f4e?this[_0x3e39c7(0x9e)](_0x164356,_0x3ef50f):this[_0x3e39c7(0xb3)](_0x3ef50f,_0x164356);}[_0x688a56(0xc9)](_0x894073){const _0x23c43d=_0x688a56;if(!_0x894073[_0x23c43d(0xcb)][_0x23c43d(0xc6)])return;const _0x541c23=this[_0x23c43d(0x80)](_0x894073);if(!_0x541c23)return;const _0x1d1ebe=this[_0x23c43d(0xd5)][_0x23c43d(0x82)](_0x541c23),_0x134b93=this[_0x23c43d(0xa3)][_0x23c43d(0xbf)][_0x23c43d(0x82)](_0x23c43d(0xca)),_0x21ba26=this[_0x23c43d(0x92)];_0x21ba26&&_0x21ba26===_0x1d1ebe&&_0x134b93?(this[_0x23c43d(0xb3)](_0x541c23,_0x894073),this[_0x23c43d(0x9e)](_0x894073,_0x541c23)):_0x21ba26&&_0x21ba26===_0x1d1ebe?this[_0x23c43d(0xb3)](_0x541c23,_0x894073):this[_0x23c43d(0x9e)](_0x894073,_0x541c23);}[_0x688a56(0x8e)](_0x365159,_0x3307a9){const _0xf95750=_0x688a56;0x0===this[_0xf95750(0xc8)][_0xf95750(0xc6)]&&setTimeout(()=>{const _0x30c0e6=_0xf95750;for(const {sidebarItemView:_0x2232aa,changedProp:_0x161908}of this[_0x30c0e6(0xc8)])_0x30c0e6(0xc3)===_0x161908?this[_0x30c0e6(0x81)](_0x2232aa):this[_0x30c0e6(0xc9)](_0x2232aa);this[_0x30c0e6(0xc8)]=[];},0xa),this[_0xf95750(0xc8)][_0xf95750(0xa1)]({'sidebarItemView':_0x365159,'changedProp':_0x3307a9});}[_0x688a56(0xcf)](_0x497fb0){const _0x5483d7=_0x688a56;return this[_0x5483d7(0xbd)][_0x5483d7(0x82)](_0x497fb0);}[_0x688a56(0xbc)](){const _0x20c0e3=_0x688a56;this[_0x20c0e3(0x96)](),this[_0x20c0e3(0x83)][_0x20c0e3(0xbc)]();}[_0x688a56(0x89)](_0x4a7990){const _0x23e0cc=_0x688a56,_0x5a40d3=this[_0x23e0cc(0xcf)](_0x4a7990);this[_0x23e0cc(0x96)](_0x5a40d3),this[_0x23e0cc(0x96)](_0x4a7990[_0x23e0cc(0x83)]),_0x5a40d3[_0x23e0cc(0xbc)](),this[_0x23e0cc(0xbd)][_0x23e0cc(0x9a)](_0x4a7990),this[_0x23e0cc(0xd5)][_0x23e0cc(0x9a)](_0x5a40d3);}[_0x688a56(0x8b)](){const _0x142405=_0x688a56,_0x54a3e2=new _0x1b2e4f(this[_0x142405(0xa3)][_0x142405(0x91)]);return _0x54a3e2[_0x142405(0xce)](),this['on'](_0x142405(0x9c),(_0x2544db,_0x12c743,_0x4772dd,_0xdafd02)=>{const _0x4f2c0b=_0x142405;_0xdafd02&&_0x54a3e2[_0x4f2c0b(0xc2)](_0x4f2c0b(0xae)),_0x4772dd?_0x54a3e2[_0x4f2c0b(0x7b)](_0x4f2c0b(0xae))['to'](_0x4772dd,_0x4f2c0b(0x87)):_0x54a3e2[_0x4f2c0b(0xae)]=null;}),_0x54a3e2;}[_0x688a56(0xb6)](){const _0x3fdc60=_0x688a56;this[_0x3fdc60(0xa7)]=this[_0x3fdc60(0xd7)]?.[_0x3fdc60(0x9b)]?this[_0x3fdc60(0xcf)](this[_0x3fdc60(0xd7)][_0x3fdc60(0x9b)]):null;}[_0x688a56(0x94)](_0xc3845a){const _0x40310b=_0x688a56,_0x602c3=this[_0x40310b(0xd5)][_0x40310b(0x82)](_0xc3845a),_0x438f44=_0x602c3&&this[_0x40310b(0xd7)]?.[_0x40310b(0x82)](this[_0x40310b(0xd7)][_0x40310b(0xa6)](_0x602c3)-0x1);return _0x438f44&&this[_0x40310b(0xcf)](_0x438f44)||null;}[_0x688a56(0x80)](_0xe742a6){const _0x4f3743=_0x688a56,_0x2d104f=this[_0x4f3743(0xd5)][_0x4f3743(0x82)](_0xe742a6),_0x1410df=_0x2d104f&&this[_0x4f3743(0xd7)]?.[_0x4f3743(0x82)](this[_0x4f3743(0xd7)][_0x4f3743(0xa6)](_0x2d104f)+0x1);return _0x1410df&&this[_0x4f3743(0xcf)](_0x1410df)||null;}[_0x688a56(0xb3)](_0x40a1cb,_0x7a6c85){const _0x4b2262=_0x688a56;_0x40a1cb[_0x4b2262(0x7e)]();const _0x54d740=G(_0x7a6c85[_0x4b2262(0x87)]+this[_0x4b2262(0xb8)],_0x40a1cb[_0x4b2262(0xc3)]);return!!_0x54d740&&(this[_0x4b2262(0x8d)](_0x7a6c85,_0x7a6c85[_0x4b2262(0xc3)]-_0x54d740),!0x0);}[_0x688a56(0x9e)](_0x5f35ef,_0x2804a7){const _0x192474=_0x688a56;_0x5f35ef[_0x192474(0x7e)]();const _0x5cf991=G(_0x5f35ef[_0x192474(0x87)]+this[_0x192474(0xb8)],_0x2804a7[_0x192474(0xc3)]);return!!_0x5cf991&&(this[_0x192474(0x8d)](_0x2804a7,_0x2804a7[_0x192474(0xc3)]+_0x5cf991,!0x1),!0x0);}[_0x688a56(0xb1)](_0x21b7ef){const _0x281f2b=_0x688a56,_0x23796a=this[_0x281f2b(0xd5)][_0x281f2b(0x82)](_0x21b7ef);if(!_0x23796a||!_0x23796a[_0x281f2b(0x9f)]||!_0x23796a[_0x281f2b(0xd1)])return;const _0x5ae7c7=this[_0x281f2b(0x84)](_0x23796a,_0x23796a[_0x281f2b(0xd1)]);this[_0x281f2b(0x8d)](_0x21b7ef,_0x5ae7c7);}[_0x688a56(0x84)](_0x45d03e,_0x13e853){const _0x5a6b66=_0x688a56;if(null===_0x13e853)return 0x0;if(_0x45d03e[_0x5a6b66(0x9f)]instanceof _0x4b6995)return _0x13e853[_0x5a6b66(0xc3)];{const _0x4d831f=new _0x4b6995(this[_0x5a6b66(0x83)][_0x5a6b66(0xaf)])[_0x5a6b66(0xc3)];return _0x13e853[_0x5a6b66(0xc3)]-_0x4d831f;}}[_0x688a56(0x8d)](_0xe9f0fb,_0x18bf81,_0x429556=this[_0x688a56(0xa3)][_0x688a56(0xbf)][_0x688a56(0x82)](_0x688a56(0xca))){const _0x2bf38=_0x688a56;_0x429556&&(_0x18bf81=Math[_0x2bf38(0xb4)](_0x18bf81,this[_0x2bf38(0x7d)](_0xe9f0fb))),_0xe9f0fb[_0x2bf38(0xc3)]=_0x18bf81;}[_0x688a56(0x7d)](_0x3cd111){const _0x540777=_0x688a56;let _0x5bc9fc=this[_0x540777(0x94)](_0x3cd111),_0x5bed23=0x0;for(;_0x5bc9fc;)_0x5bc9fc[_0x540777(0x7e)](),_0x5bed23+=this[_0x540777(0xb8)]+_0x5bc9fc[_0x540777(0xa2)],_0x5bc9fc=this[_0x540777(0x94)](_0x5bc9fc);return _0x5bed23;}}function G(_0x490f9a,_0x3d8f25){const _0x5a8165=_0x688a56;return Math[_0x5a8165(0xb4)](_0x490f9a-_0x3d8f25,0x0);}function _0x54ae(){const _0x3e2df8=['_spaceBetweenItems','isOfficialPlugin','clear','change:top','destroy','_annotationToSidebarItemView','sidebar-setcontainer-invalid-element','config','nodeType','_targetTop','unbind','top','add','isPremiumPlugin','length','pluginName','_recalculateBuffer','_alignForBottomChange','sidebar.preventScrollOutOfView','content','appendChild','42ShbMTP','render','getSidebarItemView','list','targetRect','isAnimationDisabled','init','rearrange','_sidebarItemViewToAnnotation','change:targetRect','_annotations','bind','remove','_getMaxAvailableTop','updateHeight','container','_getItemAfter','_alignForTopChange','get','view','_getTargetTop','change:bottom','addAnnotation','bottom','listenTo','_destroySidebarItemView','20GcCBPe','_createSidebarView','7088064mhuMte','_setItemTop','_recalculate','_attachToContainer','51540GrklhR','locale','_activeAnnotation','isActive','_getItemBefore','sidebar.container','stopListening','127795qVPeOM','define','2176788UFjpxs','delete','last','change:_lastItem','_detachFromContainer','_alignAfterItem','target','4301vPcDcn','push','height','context','442EcBWcm','sidebar-attachtocontainer-missing-container','getIndex','_lastItem','Sidebar','refresh','class','643410ewWCoQ','set','9mYvdMX','minHeight','element','object','_alignToTargetRect','setContainer','_alignBeforeItem','max','63pySoog','_updateLastItem','2299370PQWjQR'];_0x54ae=function(){return _0x3e2df8;};return _0x54ae();}function g(_0x16a41c){const _0x7a6d34=_0x688a56;return null!==_0x16a41c&&_0x7a6d34(0xb0)==typeof _0x16a41c&&0x1===_0x16a41c[_0x7a6d34(0xc0)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1ef461=_0x2702;function _0x266e(){const _0x5e5d91=['toString','ck-annotation-counter__badge','2490224lnYzob','216KFfPnE','3aTcXMb','bindTemplate','175700ashusd','1598966FsAkfr','5122590eitnzK','ck-annotation-counter__badge--','ck-annotation-counter__badge--edit-mode','ck-annotation-counter','set','add','_badge','number','bind','children','extendTemplate','1PQnHMQ','isDirty','annotationType','counterView','3184132RjQSnX','51544LwWwDF','icon','setTemplate','6681520DeSCeE','1477FRKrCz','span','...','720abKprU'];_0x266e=function(){return _0x5e5d91;};return _0x266e();}(function(_0x4131c7,_0x51f816){const _0x5a8e81=_0x2702,_0x551171=_0x4131c7();while(!![]){try{const _0x120921=-parseInt(_0x5a8e81(0x198))/0x1*(-parseInt(_0x5a8e81(0x1ac))/0x2)+parseInt(_0x5a8e81(0x1a9))/0x3*(parseInt(_0x5a8e81(0x19c))/0x4)+-parseInt(_0x5a8e81(0x1a0))/0x5+-parseInt(_0x5a8e81(0x1ad))/0x6+-parseInt(_0x5a8e81(0x1a1))/0x7*(parseInt(_0x5a8e81(0x19d))/0x8)+-parseInt(_0x5a8e81(0x1a4))/0x9*(parseInt(_0x5a8e81(0x1ab))/0xa)+-parseInt(_0x5a8e81(0x1a7))/0xb*(-parseInt(_0x5a8e81(0x1a8))/0xc);if(_0x120921===_0x51f816)break;else _0x551171['push'](_0x551171['shift']());}catch(_0x429ad8){_0x551171['push'](_0x551171['shift']());}}}(_0x266e,0xaea16));import{ButtonView as _0x2455e2,View as _0xb0eb03}from'ckeditor5/src/ui.js';function _0x2702(_0x97e1bd,_0x1b8db7){const _0x266ee7=_0x266e();return _0x2702=function(_0x27025a,_0x1b602b){_0x27025a=_0x27025a-0x191;let _0x4da392=_0x266ee7[_0x27025a];return _0x4da392;},_0x2702(_0x97e1bd,_0x1b8db7);}import{IconAddComment as _0x36bf36}from'ckeditor5/src/icons.js';export class AnnotationCounterButtonView extends _0x2455e2{[_0x1ef461(0x19b)];constructor(_0x1e3c25){const _0x26fd26=_0x1ef461;super(_0x1e3c25);const _0x2e83fa=this[_0x26fd26(0x1aa)];this[_0x26fd26(0x191)](_0x26fd26(0x199),!0x1),this[_0x26fd26(0x191)](_0x26fd26(0x194),0x0),this[_0x26fd26(0x195)](_0x26fd26(0x193))['to'](this,_0x26fd26(0x199),this,_0x26fd26(0x194),(_0x2db360,_0x31dc47)=>_0x2db360?_0x26fd26(0x1a3):_0x31dc47[_0x26fd26(0x1a5)]()),this[_0x26fd26(0x191)](_0x26fd26(0x19a),''),this[_0x26fd26(0x19e)]=_0x36bf36,this[_0x26fd26(0x197)]({'attributes':{'class':[_0x26fd26(0x1b0)]}}),this[_0x26fd26(0x19b)]=new _0xb0eb03(),this[_0x26fd26(0x19b)][_0x26fd26(0x19f)]({'tag':_0x26fd26(0x1a2),'attributes':{'class':[_0x26fd26(0x1a6),_0x2e83fa['to'](_0x26fd26(0x19a),_0x565d9f=>_0x26fd26(0x1ae)+_0x565d9f),_0x2e83fa['if'](_0x26fd26(0x199),_0x26fd26(0x1af))]},'children':[{'text':_0x2e83fa['to'](_0x26fd26(0x193))}]}),this[_0x26fd26(0x196)][_0x26fd26(0x192)](this[_0x26fd26(0x19b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2069e7=_0x2bec;function _0x2b12(){const _0x5f4cf4=['isActive','content','listenTo','type','19092414xisWLW','fire','clear','490nIFMzT','21EzBbbf','6Oupone','_mutationObserver','add','attach','presentation','set','ck-rounded-corners','132uMdMKD','delegate','isDirty','first','div','length','render','Esc','67644Aefepf','clientHeight','_updateHeight','setTemplate','arrowdown','10216lafEWX','bindTemplate','element','arrowup','createCollection','77260uFwfrY','focus','ck-annotation-wrapper--active','ck-annotation-wrapper','detach','122925UgmIko','keystrokes','focusTracker','11068578IwGeZY','7611450smvlKB','destroy','targetRect','mainView','height'];_0x2b12=function(){return _0x5f4cf4;};return _0x2b12();}(function(_0x1ea8e0,_0x1ef70f){const _0x2ac52d=_0x2bec,_0x576dd0=_0x1ea8e0();while(!![]){try{const _0x2f5a74=-parseInt(_0x2ac52d(0x164))/0x1*(-parseInt(_0x2ac52d(0x155))/0x2)+parseInt(_0x2ac52d(0x154))/0x3*(parseInt(_0x2ac52d(0x16e))/0x4)+parseInt(_0x2ac52d(0x143))/0x5*(parseInt(_0x2ac52d(0x15c))/0x6)+-parseInt(_0x2ac52d(0x153))/0x7*(-parseInt(_0x2ac52d(0x169))/0x8)+-parseInt(_0x2ac52d(0x146))/0x9+-parseInt(_0x2ac52d(0x147))/0xa+parseInt(_0x2ac52d(0x150))/0xb;if(_0x2f5a74===_0x1ef70f)break;else _0x576dd0['push'](_0x576dd0['shift']());}catch(_0x30fdf7){_0x576dd0['push'](_0x576dd0['shift']());}}}(_0x2b12,0xae17c));import{View as _0x163e07}from'ckeditor5/src/ui.js';function _0x2bec(_0x2df0fc,_0x55fc3d){const _0x2b12ac=_0x2b12();return _0x2bec=function(_0x2bec3b,_0x3a4490){_0x2bec3b=_0x2bec3b-0x142;let _0x2317ef=_0x2b12ac[_0x2bec3b];return _0x2317ef;},_0x2bec(_0x2df0fc,_0x55fc3d);}import{FocusTracker as _0x1e661b,KeystrokeHandler as _0x1b3048,uid as _0x4f86f2}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x7d3f83}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export class AnnotationView extends _0x163e07{[_0x2069e7(0x145)];['id'];[_0x2069e7(0x144)];[_0x2069e7(0x14d)];[_0x2069e7(0x14a)];[_0x2069e7(0x156)];constructor(_0x9567a0,_0x5b963c){const _0x1997d0=_0x2069e7;super(_0x9567a0),this['id']=_0x4f86f2(),this[_0x1997d0(0x145)]=new _0x1e661b(),this[_0x1997d0(0x144)]=new _0x1b3048(),this[_0x1997d0(0x144)][_0x1997d0(0x15a)](_0x1997d0(0x163),(_0x3aafed,_0x19f7b5)=>this[_0x1997d0(0x151)](_0x1997d0(0x163),_0x19f7b5)),this[_0x1997d0(0x15a)](_0x1997d0(0x149),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x1997d0(0x15a)](_0x1997d0(0x14b),0x0),this[_0x1997d0(0x15a)](_0x1997d0(0x14c),!0x1),this[_0x1997d0(0x15a)](_0x1997d0(0x15e),!0x1),this[_0x1997d0(0x15a)](_0x1997d0(0x161),0x0),this[_0x1997d0(0x15a)](_0x1997d0(0x14f),''),this[_0x1997d0(0x156)]=_0x7d3f83(()=>this[_0x1997d0(0x166)]()),this[_0x1997d0(0x14d)]=this[_0x1997d0(0x16d)](),this[_0x1997d0(0x14d)][_0x1997d0(0x15d)](_0x1997d0(0x16c),_0x1997d0(0x168))['to'](this),this[_0x1997d0(0x14d)][_0x1997d0(0x157)](_0x5b963c),this[_0x1997d0(0x14a)]=_0x5b963c;const _0x4345c2=this[_0x1997d0(0x16a)];this[_0x1997d0(0x167)]({'tag':_0x1997d0(0x160),'attributes':{'class':['ck',_0x1997d0(0x171),_0x1997d0(0x15b),_0x4345c2['if'](_0x1997d0(0x14c),_0x1997d0(0x170))],'role':_0x1997d0(0x159)},'children':this[_0x1997d0(0x14d)]});}[_0x2069e7(0x162)](){const _0xb5734d=_0x2069e7;super[_0xb5734d(0x162)](),this[_0xb5734d(0x145)][_0xb5734d(0x157)](this[_0xb5734d(0x16b)]),this[_0xb5734d(0x144)][_0xb5734d(0x14e)](this[_0xb5734d(0x16b)]),this[_0xb5734d(0x156)][_0xb5734d(0x158)](this[_0xb5734d(0x16b)]);}[_0x2069e7(0x148)](){const _0x30aa2e=_0x2069e7;this[_0x30aa2e(0x14d)][_0x30aa2e(0x152)](),this[_0x30aa2e(0x144)][_0x30aa2e(0x148)](),this[_0x30aa2e(0x145)][_0x30aa2e(0x148)](),this[_0x30aa2e(0x156)][_0x30aa2e(0x142)](),super[_0x30aa2e(0x148)]();}[_0x2069e7(0x16f)](){const _0x56da84=_0x2069e7;this[_0x56da84(0x14d)][_0x56da84(0x15f)]&&this[_0x56da84(0x14d)][_0x56da84(0x15f)][_0x56da84(0x16f)]();}[_0x2069e7(0x166)](){const _0x3aa90e=_0x2069e7,_0x14dead=this[_0x3aa90e(0x16b)][_0x3aa90e(0x165)];_0x14dead&&(this[_0x3aa90e(0x14b)]=_0x14dead);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x2308d2=_0x22a5;function _0x22a5(_0x5d4e52,_0x5ea1a7){const _0x373a61=_0x373a();return _0x22a5=function(_0x22a56b,_0x7486a7){_0x22a56b=_0x22a56b-0x14c;let _0xa49102=_0x373a61[_0x22a56b];return _0xa49102;},_0x22a5(_0x5d4e52,_0x5ea1a7);}(function(_0x489942,_0x35c77f){const _0x574d99=_0x22a5,_0x328438=_0x489942();while(!![]){try{const _0x9a6a6=-parseInt(_0x574d99(0x151))/0x1*(parseInt(_0x574d99(0x16f))/0x2)+-parseInt(_0x574d99(0x14f))/0x3+parseInt(_0x574d99(0x154))/0x4+-parseInt(_0x574d99(0x158))/0x5*(-parseInt(_0x574d99(0x172))/0x6)+-parseInt(_0x574d99(0x15d))/0x7*(parseInt(_0x574d99(0x170))/0x8)+-parseInt(_0x574d99(0x14e))/0x9*(-parseInt(_0x574d99(0x15f))/0xa)+parseInt(_0x574d99(0x16c))/0xb;if(_0x9a6a6===_0x35c77f)break;else _0x328438['push'](_0x328438['shift']());}catch(_0x424b8d){_0x328438['push'](_0x328438['shift']());}}}(_0x373a,0x6c493));import{View as _0x158f6b}from'ckeditor5/src/ui.js';import{toUnit as _0x16139a}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x1367f4}from'../../utils/createmutationobserver.js';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x16139a('px');export class AnnotationsSidebarItemView extends _0x158f6b{[_0x2308d2(0x15c)];[_0x2308d2(0x167)];[_0x2308d2(0x162)];constructor(_0x3616f1){const _0x2754f2=_0x2308d2;super(_0x3616f1),this[_0x2754f2(0x16d)](_0x2754f2(0x160),0x0),this[_0x2754f2(0x16d)](_0x2754f2(0x14d),0x0),this[_0x2754f2(0x15e)](_0x2754f2(0x15a))['to'](this,_0x2754f2(0x160),this,_0x2754f2(0x14d),(_0x120a42,_0x38446b)=>_0x120a42+_0x38446b),this[_0x2754f2(0x16d)](_0x2754f2(0x166),!0x1),this[_0x2754f2(0x162)]=_0x1367f4(()=>this[_0x2754f2(0x171)]()),this[_0x2754f2(0x167)]=null,this[_0x2754f2(0x15c)]=this[_0x2754f2(0x165)](),this[_0x2754f2(0x15c)][_0x2754f2(0x155)](_0x2754f2(0x153),_0x2754f2(0x16b))['to'](this);const _0x91b2a5=this[_0x2754f2(0x168)];this[_0x2754f2(0x173)]({'tag':_0x2754f2(0x169),'attributes':{'class':[_0x2754f2(0x16e),_0x91b2a5['to'](_0x2754f2(0x166),_0x34cc18=>_0x34cc18?_0x2754f2(0x159):'')],'style':{'top':_0x91b2a5['to'](_0x2754f2(0x160),_0x5e0a80=>Ht(_0x5e0a80))},'role':_0x2754f2(0x164)},'children':this[_0x2754f2(0x15c)]});}[_0x2308d2(0x16a)](){const _0x1dcfc6=_0x2308d2;super[_0x1dcfc6(0x16a)](),this[_0x1dcfc6(0x162)][_0x1dcfc6(0x156)](this[_0x1dcfc6(0x161)]);}[_0x2308d2(0x150)](){const _0x33649b=_0x2308d2;this[_0x33649b(0x15c)][_0x33649b(0x14c)]&&this[_0x33649b(0x15c)][_0x33649b(0x14c)][_0x33649b(0x150)]();}[_0x2308d2(0x171)](){const _0x42af58=_0x2308d2,_0xb45463=this[_0x42af58(0x161)][_0x42af58(0x157)];_0xb45463&&(this[_0x42af58(0x14d)]=_0xb45463);}[_0x2308d2(0x15b)](){const _0x32e003=_0x2308d2;this[_0x32e003(0x15c)][_0x32e003(0x152)](),this[_0x32e003(0x162)][_0x32e003(0x163)](),super[_0x32e003(0x15b)]();}}function _0x373a(){const _0x473148=['createCollection','isAnimationDisabled','_targetTop','bindTemplate','div','render','arrowdown','1884124GxLKQD','set','ck-sidebar-item','855286UMOIBb','16jlyuob','updateHeight','18ZvYLoL','setTemplate','first','height','6957LrsjlN','102234WngpFZ','focus','1LGYtGK','clear','arrowup','898236HridBD','delegate','attach','clientHeight','324520KMtebd','ck-sidebar-item--no-animation','bottom','destroy','content','713923Ugwpiw','bind','6710cJTuRR','top','element','_mutationObserver','detach','presentation'];_0x373a=function(){return _0x473148;};return _0x373a();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x53fa44=_0x5e23;(function(_0xc193d0,_0x22cfc7){const _0x400f23=_0x5e23,_0x5200a0=_0xc193d0();while(!![]){try{const _0x44576f=-parseInt(_0x400f23(0x13a))/0x1+parseInt(_0x400f23(0x142))/0x2*(parseInt(_0x400f23(0x15f))/0x3)+-parseInt(_0x400f23(0x165))/0x4+-parseInt(_0x400f23(0x151))/0x5+parseInt(_0x400f23(0x15c))/0x6+-parseInt(_0x400f23(0x13e))/0x7+parseInt(_0x400f23(0x161))/0x8*(parseInt(_0x400f23(0x140))/0x9);if(_0x44576f===_0x22cfc7)break;else _0x5200a0['push'](_0x5200a0['shift']());}catch(_0x5eee82){_0x5200a0['push'](_0x5200a0['shift']());}}}(_0x4ec8,0x35969));function _0x5e23(_0xc94ff6,_0x42ab28){const _0x4ec8e0=_0x4ec8();return _0x5e23=function(_0x5e23ad,_0x76101e){_0x5e23ad=_0x5e23ad-0x137;let _0x2aced7=_0x4ec8e0[_0x5e23ad];return _0x2aced7;},_0x5e23(_0xc94ff6,_0x42ab28);}import{View as _0x451de1,FocusCycler as _0x585d53}from'ckeditor5/src/ui.js';function _0x4ec8(){const _0xe50cb8=['remove','added','createCollection','delegate','application','uiLanguageDirection','133164InziMb','focusNext','change:top','3nlYzlX','length','8yYPrHZ','element','change','focusPrevious','1710892QHRkNB','Annotations\x20list','source','list','removed','focusables','listenTo','69333CctnaF','focusCycler','focusTracker','class','2315453LBrtzp','bindTemplate','10892241LUthGD','minHeight','267334GtBupv','set','ck-sidebar','getIndex','_updateItemPositionInFocusables','setTemplate','ck-reset','div','arrowdown','number','arrowup','Annotations\x20sidebar','_setupKeyboardNavigation','top','forEach','1593890CdOOii','focusFirst','add','focus','render'];_0x4ec8=function(){return _0xe50cb8;};return _0x4ec8();}import{FocusTracker as _0x3863ed,toUnit as _0x3ac6bf}from'ckeditor5/src/utils.js';import{getTranslation as _0x142b11}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const Ht=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3ac6bf('px');export class AnnotationsSidebarView extends _0x451de1{[_0x53fa44(0x168)];[_0x53fa44(0x138)];[_0x53fa44(0x13c)];[_0x53fa44(0x13b)];constructor(_0x4bffc2){const _0x1442ce=_0x53fa44;super(_0x4bffc2);const _0x4becbd=this[_0x1442ce(0x13f)];this[_0x1442ce(0x143)](_0x1442ce(0x141),0x0),this[_0x1442ce(0x143)](_0x1442ce(0x13d),''),this[_0x1442ce(0x168)]=this[_0x1442ce(0x158)](),this[_0x1442ce(0x138)]=this[_0x1442ce(0x158)](),this[_0x1442ce(0x168)][_0x1442ce(0x159)](_0x1442ce(0x14c),_0x1442ce(0x14a))['to'](this),this[_0x1442ce(0x13c)]=new _0x3863ed(),this[_0x1442ce(0x13b)]=new _0x585d53({'focusables':this[_0x1442ce(0x138)],'focusTracker':this[_0x1442ce(0x13c)]}),this[_0x1442ce(0x147)]({'tag':_0x1442ce(0x149),'attributes':{'class':['ck',_0x1442ce(0x144),_0x1442ce(0x148),_0x4becbd['to'](_0x1442ce(0x13d))],'style':{'minHeight':_0x4becbd['to'](_0x1442ce(0x141),_0x29776a=>_0x1442ce(0x14b)==typeof _0x29776a?Ht(_0x29776a+0xa):null)},'dir':_0x4bffc2[_0x1442ce(0x15b)],'role':_0x1442ce(0x15a),'aria-label':_0x142b11(_0x4bffc2,_0x1442ce(0x14d)),'tabindex':0x0},'children':[{'tag':_0x1442ce(0x149),'attributes':{'role':_0x1442ce(0x168),'aria-label':_0x142b11(_0x4bffc2,_0x1442ce(0x166))},'children':this[_0x1442ce(0x168)]}]});}[_0x53fa44(0x155)](){const _0x1d8caf=_0x53fa44;super[_0x1d8caf(0x155)](),this[_0x1d8caf(0x14e)]();}[_0x53fa44(0x154)](){const _0x5002d0=_0x53fa44;this[_0x5002d0(0x13b)][_0x5002d0(0x152)]();}[_0x53fa44(0x14e)](){const _0x3faf63=_0x53fa44;this[_0x3faf63(0x168)][_0x3faf63(0x159)](_0x3faf63(0x15e))['to'](this),this['on'](_0x3faf63(0x15e),_0x3e0f34=>{const _0x4b844a=_0x3faf63;this[_0x4b844a(0x146)](_0x3e0f34[_0x4b844a(0x167)]);}),this[_0x3faf63(0x168)][_0x3faf63(0x150)](_0x48a6de=>{const _0x1860c7=_0x3faf63;this[_0x1860c7(0x13c)][_0x1860c7(0x153)](_0x48a6de[_0x1860c7(0x162)]),this[_0x1860c7(0x146)](_0x48a6de);}),this[_0x3faf63(0x168)]['on'](_0x3faf63(0x163),(_0x4e7f23,_0x4363b6)=>{const _0xad1638=_0x3faf63;for(const _0x3b059d of _0x4363b6[_0xad1638(0x137)])this[_0xad1638(0x13c)][_0xad1638(0x156)](_0x3b059d[_0xad1638(0x162)]),this[_0xad1638(0x138)][_0xad1638(0x156)](_0x3b059d);for(const _0x44157d of _0x4363b6[_0xad1638(0x157)])this[_0xad1638(0x13c)][_0xad1638(0x153)](_0x44157d[_0xad1638(0x162)]),this[_0xad1638(0x146)](_0x44157d);}),this['on'](_0x3faf63(0x14c),()=>{const _0x1727bf=_0x3faf63;this[_0x1727bf(0x13b)][_0x1727bf(0x164)]();}),this['on'](_0x3faf63(0x14a),()=>{const _0x83cb0c=_0x3faf63;this[_0x83cb0c(0x13b)][_0x83cb0c(0x15d)]();}),this[_0x3faf63(0x139)](this[_0x3faf63(0x162)],_0x3faf63(0x154),()=>{const _0x3820eb=_0x3faf63;this[_0x3820eb(0x154)]();});}[_0x53fa44(0x146)](_0x7e5edc){const _0x29a9ea=_0x53fa44,_0x4bd498=this[_0x29a9ea(0x138)][_0x29a9ea(0x145)](_0x7e5edc);let _0x6269a,_0x227a91;for(const _0x283907 of this[_0x29a9ea(0x138)])if(_0x7e5edc[_0x29a9ea(0x14f)]<_0x283907[_0x29a9ea(0x14f)]){_0x6269a=_0x283907;break;}if(_0x227a91=_0x6269a?this[_0x29a9ea(0x138)][_0x29a9ea(0x145)](_0x6269a):this[_0x29a9ea(0x138)][_0x29a9ea(0x160)],-0x1!==_0x4bd498){if(_0x4bd498===_0x227a91-0x1)return;this[_0x29a9ea(0x138)][_0x29a9ea(0x156)](_0x7e5edc),_0x227a91=_0x6269a?this[_0x29a9ea(0x138)][_0x29a9ea(0x145)](_0x6269a):this[_0x29a9ea(0x138)][_0x29a9ea(0x160)];}this[_0x29a9ea(0x138)][_0x29a9ea(0x153)](_0x7e5edc,_0x227a91);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32f413=_0x2f20;function _0x1413(){const _0x3ac79e=['pluginName','detach','updateTargetRect','refreshVisibility','7RJMnpS','getOrderedSelectedAnnotations','stop','ck-sidebar--wide','56dyKheR','off','uiUpdate','high','remove','add','blur','refresh','_editorAnnotations','isAttached','8279020RnqEvF','addEventListener','765480FDqcGl','change:container','WideSidebar','1840995ILiEZn','plugins','hasDomSelection','isOfficialPlugin','_activeAnnotation','_destroyEditorAnnotationsIntegration','EditorAnnotations','get','6xXNBJZ','ready','switchTo','widesidebar-detach-not-attached','focus','register','1939480NyYzFK','setActiveAnnotation','init','container','_integrateWithEditorAnnotations','requires','has','activeAnnotation','destroy','refreshPositioning','editors','set:container','annotations','listenTo','_attachToContainer','cancel','set','196353ppMnXM','isPremiumPlugin','3681624xGSfwI','_annotations','removeEventListener','context','_detachFromContainer','from','wideSidebar','addAnnotation','widesidebar-attach-already-attached','Annotations','_refreshPositioningDebounced','attach','resize','39522MyJyxr','rearrange','stopListening'];_0x1413=function(){return _0x3ac79e;};return _0x1413();}function _0x2f20(_0xd77ab4,_0x12898a){const _0x1413f7=_0x1413();return _0x2f20=function(_0x2f20ce,_0x42ea64){_0x2f20ce=_0x2f20ce-0x1a6;let _0x3d9ba0=_0x1413f7[_0x2f20ce];return _0x3d9ba0;},_0x2f20(_0xd77ab4,_0x12898a);}(function(_0x38a74b,_0x599c83){const _0x395360=_0x2f20,_0x3bb865=_0x38a74b();while(!![]){try{const _0x2da6af=-parseInt(_0x395360(0x1cc))/0x1+-parseInt(_0x395360(0x1d7))/0x2*(-parseInt(_0x395360(0x1b5))/0x3)+-parseInt(_0x395360(0x1dd))/0x4+parseInt(_0x395360(0x1cf))/0x5+-parseInt(_0x395360(0x1a8))/0x6*(-parseInt(_0x395360(0x1bc))/0x7)+parseInt(_0x395360(0x1c0))/0x8*(-parseInt(_0x395360(0x1a6))/0x9)+parseInt(_0x395360(0x1ca))/0xa;if(_0x2da6af===_0x599c83)break;else _0x3bb865['push'](_0x3bb865['shift']());}catch(_0x1add99){_0x3bb865['push'](_0x3bb865['shift']());}}}(_0x1413,0x6cece));import{ContextPlugin as _0x3f9f1a,Context as _0x406e9e}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x46e563}from'./annotationsuis.js';import{Sidebar as _0x5b945f}from'./sidebar.js';import{CKEditorError as _0x577733,Collection as _0x31050b}from'ckeditor5/src/utils.js';import{debounce as _0x2c705e}from'es-toolkit/compat';export class WideSidebar extends _0x3f9f1a{[_0x32f413(0x1c9)];[_0x32f413(0x1e9)];[_0x32f413(0x1c8)];[_0x32f413(0x1b2)];static get[_0x32f413(0x1e2)](){return[_0x5b945f,_0x46e563];}static get[_0x32f413(0x1b8)](){const _0x5a85a5=_0x32f413;return _0x5a85a5(0x1ce);}static get[_0x32f413(0x1d2)](){return!0x0;}static get[_0x32f413(0x1a7)](){return!0x0;}constructor(_0x31f102){const _0x4da73f=_0x32f413;super(_0x31f102),this[_0x4da73f(0x1c9)]=!0x1,this[_0x4da73f(0x1ed)](_0x4da73f(0x1e4),null),this[_0x4da73f(0x1e9)]=null,this[_0x4da73f(0x1c8)]=new _0x31050b(),this[_0x4da73f(0x1b2)]=_0x2c705e(()=>{const _0x549f9c=_0x4da73f;_0x31f102[_0x549f9c(0x1d0)][_0x549f9c(0x1d6)](_0x549f9c(0x1b1))[_0x549f9c(0x1bb)](),this[_0x549f9c(0x1e9)][_0x549f9c(0x1e6)]();},0xfa,{'leading':!0x1});}[_0x32f413(0x1df)](){const _0x14f001=_0x32f413,_0x2b92f8=this[_0x14f001(0x1ab)][_0x14f001(0x1d0)][_0x14f001(0x1d6)](_0x46e563),_0xb4b18=this[_0x14f001(0x1ab)][_0x14f001(0x1d0)][_0x14f001(0x1d6)](_0x5b945f);_0x2b92f8[_0x14f001(0x1dc)](_0x14f001(0x1ae),this),_0xb4b18[_0x14f001(0x1e0)]&&_0x2b92f8[_0x14f001(0x1d9)](_0x14f001(0x1ae));}[_0x32f413(0x1de)](_0xdd4e1d){const _0x5f51e8=_0x32f413;if(_0xdd4e1d===this[_0x5f51e8(0x1e4)])return;const _0x35ddea=this[_0x5f51e8(0x1ab)][_0x5f51e8(0x1d0)][_0x5f51e8(0x1d6)](_0x5b945f);_0x35ddea[_0x5f51e8(0x1d3)]=_0xdd4e1d;const _0x4200af=this[_0x5f51e8(0x1e4)];_0x35ddea[_0x5f51e8(0x1c7)]({'blurredAnnotation':_0x4200af,'activatedAnnotation':_0xdd4e1d}),this[_0x5f51e8(0x1e4)]=_0xdd4e1d;}[_0x32f413(0x1b3)](_0x3ec3b9){const _0x222317=_0x32f413;this[_0x222317(0x1e9)]=_0x3ec3b9;const _0x133f9d=this[_0x222317(0x1ab)][_0x222317(0x1d0)][_0x222317(0x1d6)](_0x5b945f);if(_0x133f9d[_0x222317(0x1a9)]=_0x3ec3b9,this[_0x222317(0x1c9)])throw new _0x577733(_0x222317(0x1b0),this);this[_0x222317(0x1c9)]=!0x0,this[_0x222317(0x1ea)](_0x133f9d,_0x222317(0x1e8),()=>{const _0x4e95e5=_0x222317;this[_0x4e95e5(0x1b9)](),this[_0x4e95e5(0x1ea)](_0x133f9d,_0x4e95e5(0x1cd),_0x5792cb=>{const _0x50e4b9=_0x4e95e5;_0x5792cb[_0x50e4b9(0x1c1)](),this[_0x50e4b9(0x1b3)](_0x3ec3b9);});}),_0x133f9d[_0x222317(0x1eb)]({'viewClass':_0x222317(0x1bf)});const _0x5c696a=_0x3a552b=>{const _0x3c818d=_0x222317;_0x3a552b[_0x3c818d(0x1ba)](),_0x133f9d[_0x3c818d(0x1af)](_0x3a552b);};for(const _0x29bc68 of _0x3ec3b9)_0x5c696a(_0x29bc68);this[_0x222317(0x1ea)](_0x3ec3b9,_0x222317(0x1c5),(_0x245eaf,_0x2ead39)=>{_0x5c696a(_0x2ead39);}),this[_0x222317(0x1ea)](_0x3ec3b9,_0x222317(0x1c4),(_0x214547,_0x10333b,_0x44d107)=>{const _0x39c99d=_0x222317;_0x133f9d[_0x39c99d(0x1b6)]({'removedAnnotation':_0x10333b,'previousAnnotation':_0x3ec3b9[_0x39c99d(0x1d6)](_0x44d107-0x1),'nextAnnotation':_0x3ec3b9[_0x39c99d(0x1d6)](_0x44d107+0x1)}),_0x10333b===this[_0x39c99d(0x1e4)]&&this[_0x39c99d(0x1de)](null);},{'priority':_0x222317(0x1c3)}),this[_0x222317(0x1ea)](_0x3ec3b9,_0x222317(0x1db),(_0x5957a7,_0x2392ab)=>{const _0x480a0b=_0x222317;this[_0x480a0b(0x1de)](_0x2392ab);}),this[_0x222317(0x1ea)](_0x3ec3b9,_0x222317(0x1c6),()=>{const _0x3bc298=_0x222317;this[_0x3bc298(0x1de)](null);});const _0x3274fc=this[_0x222317(0x1ab)]instanceof _0x406e9e?this[_0x222317(0x1ab)][_0x222317(0x1e7)]:new _0x31050b([this[_0x222317(0x1ab)]]);for(const _0x493bc2 of _0x3274fc)this[_0x222317(0x1e1)](_0x493bc2);this[_0x222317(0x1ea)](_0x3274fc,_0x222317(0x1c5),(_0x13831a,_0x597c8e)=>{const _0x37a891=_0x222317;this[_0x37a891(0x1ea)](_0x597c8e,_0x37a891(0x1d8),()=>{const _0x504f83=_0x37a891;this[_0x504f83(0x1e1)](_0x597c8e);});}),this[_0x222317(0x1ea)](_0x3274fc,_0x222317(0x1c4),(_0x152969,_0x75f810)=>{const _0x43ebfa=_0x222317;_0x75f810[_0x43ebfa(0x1d0)][_0x43ebfa(0x1e3)](_0x43ebfa(0x1d5))&&this[_0x43ebfa(0x1d4)](_0x75f810[_0x43ebfa(0x1d0)][_0x43ebfa(0x1d6)](_0x43ebfa(0x1d5)));}),window[_0x222317(0x1cb)](_0x222317(0x1b4),this[_0x222317(0x1b2)]),this[_0x222317(0x1ab)][_0x222317(0x1d0)][_0x222317(0x1d6)](_0x222317(0x1b1))[_0x222317(0x1bb)](),this[_0x222317(0x1e9)][_0x222317(0x1e6)]();}[_0x32f413(0x1b9)](){const _0x374c45=_0x32f413;if(!this[_0x374c45(0x1c9)])throw new _0x577733(_0x374c45(0x1da),this);this[_0x374c45(0x1de)](null);const _0x3e1f00=this[_0x374c45(0x1ab)][_0x374c45(0x1d0)][_0x374c45(0x1d6)](_0x5b945f);_0x3e1f00[_0x374c45(0x1ac)](this[_0x374c45(0x1e9)]),this[_0x374c45(0x1b7)](_0x3e1f00),this[_0x374c45(0x1b7)](this[_0x374c45(0x1e9)]),this[_0x374c45(0x1ab)]instanceof _0x406e9e&&this[_0x374c45(0x1b7)](this[_0x374c45(0x1ab)][_0x374c45(0x1e7)]);for(const _0x2b91b3 of Array[_0x374c45(0x1ad)](this[_0x374c45(0x1c8)]))this[_0x374c45(0x1d4)](_0x2b91b3);window[_0x374c45(0x1aa)](_0x374c45(0x1b4),this[_0x374c45(0x1b2)]),this[_0x374c45(0x1b2)][_0x374c45(0x1ec)](),this[_0x374c45(0x1e4)]=null,this[_0x374c45(0x1c9)]=!0x1,this[_0x374c45(0x1e9)]=null;}[_0x32f413(0x1e5)](){const _0x147af0=_0x32f413;this[_0x147af0(0x1c9)]&&this[_0x147af0(0x1b9)]();}[_0x32f413(0x1e1)](_0x258812){const _0x59c9f5=_0x32f413;if(!_0x258812[_0x59c9f5(0x1d0)][_0x59c9f5(0x1e3)](_0x59c9f5(0x1d5)))return;const _0x9b14ed=_0x258812[_0x59c9f5(0x1d0)][_0x59c9f5(0x1d6)](_0x59c9f5(0x1d5)),_0x1345ab=()=>{const _0x5f4d16=_0x59c9f5,_0x183952=_0x9b14ed[_0x5f4d16(0x1bd)]({'annotations':this[_0x5f4d16(0x1e9)],'activeAnnotation':this[_0x5f4d16(0x1e4)]});this[_0x5f4d16(0x1de)](_0x183952[0x0]||null);};this[_0x59c9f5(0x1ea)](_0x9b14ed,_0x59c9f5(0x1c7),_0x1345ab),this[_0x59c9f5(0x1ea)](_0x9b14ed,_0x59c9f5(0x1c6),(_0x33c666,{isAnnotationTracked:_0x2f7861})=>{const _0x457ba7=_0x59c9f5;this[_0x457ba7(0x1e4)]&&_0x2f7861(this[_0x457ba7(0x1e4)])&&this[_0x457ba7(0x1de)](null);}),this[_0x59c9f5(0x1ea)](_0x9b14ed,_0x59c9f5(0x1c2),()=>{const _0x16692a=_0x59c9f5;this[_0x16692a(0x1b2)]();}),this[_0x59c9f5(0x1ea)](this[_0x59c9f5(0x1e9)],_0x59c9f5(0x1c6),_0x34b8f0=>{const _0xea481b=_0x59c9f5;_0x9b14ed[_0xea481b(0x1d1)]()&&(_0x1345ab(),_0x34b8f0[_0xea481b(0x1be)]());},{'priority':_0x59c9f5(0x1c3)}),this[_0x59c9f5(0x1c8)][_0x59c9f5(0x1c5)](_0x9b14ed);}[_0x32f413(0x1d4)](_0xa201ca){const _0x219129=_0x32f413;this[_0x219129(0x1b7)](_0xa201ca),this[_0x219129(0x1c8)][_0x219129(0x1c4)](_0xa201ca);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x21fa8c=_0x13a1;function _0xa7f0(){const _0x4dd674=['getLastMatchingPosition','758232ZHZjSi','CommentsRepository','_hasContent','77KPRLjX','getRanges','$textProxy','addMarker','element','get','model','plugins','8521656jXtlcZ','config','collaboration.channelId','addCommentThread','hasContent','Users','isEnabled','4zpcYzV','change','5201270ocXfys','item','2428OEdhAR','backward','push','refresh','comment:','document','createRange','getItems','_itemIsContent','5367pJoFvV','_createCommentThread','end','100SmaZMe','start','_trimToContent','isObject','from','521646TiZLqC','8GZQAiX','set','tableCell','addcommentthreadcommand-user-not-found','735152uVjgHp','selection','substr','addcommentthreadcommand-incorrect-ranges','editor','execute','577808tQwGaN','schema','length','_createMarkersFromRanges'];_0xa7f0=function(){return _0x4dd674;};return _0xa7f0();}(function(_0x42cf93,_0xf78a95){const _0x1e9cb5=_0x13a1,_0x33e3a1=_0x42cf93();while(!![]){try{const _0x3aadea=parseInt(_0x1e9cb5(0x203))/0x1*(parseInt(_0x1e9cb5(0x1e3))/0x2)+parseInt(_0x1e9cb5(0x1f0))/0x3*(-parseInt(_0x1e9cb5(0x1e7))/0x4)+parseInt(_0x1e9cb5(0x1e5))/0x5+parseInt(_0x1e9cb5(0x1f8))/0x6*(parseInt(_0x1e9cb5(0x20b))/0x7)+parseInt(_0x1e9cb5(0x1f9))/0x8*(-parseInt(_0x1e9cb5(0x208))/0x9)+parseInt(_0x1e9cb5(0x1f3))/0xa*(-parseInt(_0x1e9cb5(0x1fd))/0xb)+-parseInt(_0x1e9cb5(0x1dc))/0xc;if(_0x3aadea===_0xf78a95)break;else _0x33e3a1['push'](_0x33e3a1['shift']());}catch(_0x63869){_0x33e3a1['push'](_0x33e3a1['shift']());}}}(_0xa7f0,0x935c8));function _0x13a1(_0x5bc3d6,_0x1ede17){const _0xa7f06b=_0xa7f0();return _0x13a1=function(_0x13a141,_0x8db074){_0x13a141=_0x13a141-0x1dc;let _0x5e1f74=_0xa7f06b[_0x13a141];return _0x5e1f74;},_0x13a1(_0x5bc3d6,_0x1ede17);}import{Command as _0x16a264}from'ckeditor5/src/core.js';import{uid as _0x466334,CKEditorError as _0x460366}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x16a264{constructor(_0x5b08ba){const _0x50ef74=_0x13a1;super(_0x5b08ba),this[_0x50ef74(0x1fa)](_0x50ef74(0x1e0),!0x1);}[_0x21fa8c(0x1ea)](){const _0x111999=_0x21fa8c,_0x901d0a=this[_0x111999(0x201)][_0x111999(0x211)][_0x111999(0x1ec)][_0x111999(0x1fe)];this[_0x111999(0x1e2)]=!0x0,this[_0x111999(0x1e0)]=!0x1;for(const _0x1a88a9 of _0x901d0a[_0x111999(0x20c)]())if(this[_0x111999(0x20a)](_0x1a88a9))return void(this[_0x111999(0x1e0)]=!0x0);}[_0x21fa8c(0x202)]({threadId:_0x11a4d7=_0x466334(),ranges:_0x1e0c41,comment:_0x2bf690}={}){const _0x55f419=_0x21fa8c,_0x5b3f70=this[_0x55f419(0x201)][_0x55f419(0x211)],_0x536f5d=_0x1e0c41??Array[_0x55f419(0x1f7)](_0x5b3f70[_0x55f419(0x1ec)][_0x55f419(0x1fe)][_0x55f419(0x20c)]()),_0x53d0aa=[];for(const _0x794b24 of _0x536f5d)this[_0x55f419(0x20a)](_0x794b24)&&_0x53d0aa[_0x55f419(0x1e9)](this[_0x55f419(0x1f5)](_0x794b24));if(!_0x53d0aa[_0x55f419(0x205)])throw new _0x460366(_0x55f419(0x200),null);_0x2bf690&&this[_0x55f419(0x1f1)](_0x11a4d7,_0x2bf690),this[_0x55f419(0x206)](_0x11a4d7,_0x53d0aa,!!_0x2bf690);}[_0x21fa8c(0x206)](_0x3cfd19,_0x34fd6d,_0x45a3c6){const _0x2b72e1=_0x21fa8c;this[_0x2b72e1(0x201)][_0x2b72e1(0x211)][_0x2b72e1(0x1e4)](_0x15647e=>{const _0xe004e3=_0x2b72e1;for(const _0x39e3ba of _0x34fd6d){const _0x287de1=_0x466334()[_0xe004e3(0x1ff)](0x1,0x5),_0x2f73c7=_0xe004e3(0x1eb)+_0x3cfd19+':'+_0x287de1;_0x15647e[_0xe004e3(0x20e)](_0x2f73c7,{'range':_0x39e3ba,'usingOperation':_0x45a3c6,'affectsData':_0x45a3c6});}});}[_0x21fa8c(0x1f1)](_0x27d527,_0x346431){const _0x52660b=_0x21fa8c,_0x14e5b6=this[_0x52660b(0x201)][_0x52660b(0x212)][_0x52660b(0x210)](_0x52660b(0x209)),_0x4b5a1c=this[_0x52660b(0x201)][_0x52660b(0x1dd)][_0x52660b(0x210)](_0x52660b(0x1de)),_0x226f53=this[_0x52660b(0x201)][_0x52660b(0x212)][_0x52660b(0x210)](_0x52660b(0x1e1))['me'];if(!_0x226f53)throw new _0x460366(_0x52660b(0x1fc),null);_0x14e5b6[_0x52660b(0x1df)]({'threadId':_0x27d527,'channelId':_0x4b5a1c,'comments':[{'authorId':_0x226f53['id'],'content':_0x346431,'createdAt':new Date(),'attributes':{}}]});}[_0x21fa8c(0x20a)](_0x365948){const _0x1390ba=_0x21fa8c;for(const _0x5b4460 of _0x365948[_0x1390ba(0x1ee)]())if(this[_0x1390ba(0x1ef)](_0x5b4460))return!0x0;return!0x1;}[_0x21fa8c(0x1ef)](_0x34bf88){const _0x494a41=_0x21fa8c;return _0x34bf88['is'](_0x494a41(0x20d))||this[_0x494a41(0x201)][_0x494a41(0x211)][_0x494a41(0x204)][_0x494a41(0x1f6)](_0x34bf88)&&!_0x34bf88['is'](_0x494a41(0x20f),_0x494a41(0x1fb));}[_0x21fa8c(0x1f5)](_0x3511d0){const _0x507f4d=_0x21fa8c,_0x5f5232=_0x4dd9c8=>!this[_0x507f4d(0x1ef)](_0x4dd9c8[_0x507f4d(0x1e6)]),_0x19415b=_0x3511d0[_0x507f4d(0x1f4)][_0x507f4d(0x207)](_0x5f5232),_0x421db9=_0x3511d0[_0x507f4d(0x1f2)][_0x507f4d(0x207)](_0x5f5232,{'direction':_0x507f4d(0x1e8)});return this[_0x507f4d(0x201)][_0x507f4d(0x211)][_0x507f4d(0x1ed)](_0x19415b,_0x421db9);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x21e4f4=_0x1f6c;(function(_0x4e9758,_0x42c047){const _0x16c1db=_0x1f6c,_0x2f3390=_0x4e9758();while(!![]){try{const _0x18b2f0=-parseInt(_0x16c1db(0x1cd))/0x1*(-parseInt(_0x16c1db(0x1da))/0x2)+parseInt(_0x16c1db(0x1ce))/0x3*(parseInt(_0x16c1db(0x1c9))/0x4)+parseInt(_0x16c1db(0x1c0))/0x5*(-parseInt(_0x16c1db(0x1cb))/0x6)+parseInt(_0x16c1db(0x1bd))/0x7+parseInt(_0x16c1db(0x1c5))/0x8*(-parseInt(_0x16c1db(0x1be))/0x9)+parseInt(_0x16c1db(0x1d7))/0xa*(-parseInt(_0x16c1db(0x1c8))/0xb)+parseInt(_0x16c1db(0x1d5))/0xc;if(_0x18b2f0===_0x42c047)break;else _0x2f3390['push'](_0x2f3390['shift']());}catch(_0x58b461){_0x2f3390['push'](_0x2f3390['shift']());}}}(_0x2711,0xd4732));function _0x1f6c(_0xb1afa1,_0x587283){const _0x27116e=_0x2711();return _0x1f6c=function(_0x1f6cdd,_0x51f7a3){_0x1f6cdd=_0x1f6cdd-0x1b4;let _0x407260=_0x27116e[_0x1f6cdd];return _0x407260;},_0x1f6c(_0xb1afa1,_0x587283);}import{ContextPlugin as _0x38ab2c}from'ckeditor5/src/core.js';import{Collection as _0x54e61e}from'ckeditor5/src/utils.js';function _0x2711(){const _0x21d65e=['isActive','requires','change:archivedAt','10608689HlIowE','675747yIkhDM','has','5GiKgeH','remove','_calculatePosition','getCommentThread','collection','112ostQrd','pluginName','get','11QKxiRx','220qvjtLt','isVisible','9933636fbETOb','archivedThreads','3FjRXYI','49701JtBaxh','stopListening','findIndex','plugins','activate','length','init','4231596uorjUc','addCommentThread','5984930WuBhwT','isPremiumPlugin','isOfficialPlugin','930740PKhEvq','focus','context','archivedAt','listenTo','removeCommentThread','add','highest','CommentsArchive'];_0x2711=function(){return _0x21d65e;};return _0x2711();}import{CommentsRepository as _0x18c4ef}from'./commentsrepository.js';import{Annotations as _0x489486}from'../annotations/annotations.js';export class CommentsArchive extends _0x38ab2c{static get[_0x21e4f4(0x1c6)](){const _0x18a5e2=_0x21e4f4;return _0x18a5e2(0x1b9);}static get[_0x21e4f4(0x1d9)](){return!0x0;}static get[_0x21e4f4(0x1d8)](){return!0x0;}static get[_0x21e4f4(0x1bb)](){return[_0x18c4ef,_0x489486];}constructor(_0x136aee){const _0x409147=_0x21e4f4;super(_0x136aee),this[_0x409147(0x1cc)]=new _0x54e61e();}[_0x21e4f4(0x1d4)](){const _0x4015dd=_0x21e4f4,_0x426c64=this[_0x4015dd(0x1dc)],_0x46e7ea=_0x426c64[_0x4015dd(0x1d1)][_0x4015dd(0x1c7)](_0x18c4ef),_0x448741=_0x426c64[_0x4015dd(0x1d1)][_0x4015dd(0x1c7)](_0x489486);this[_0x4015dd(0x1b5)](_0x46e7ea,_0x4015dd(0x1d6),(_0x294cd7,{threadId:_0x481930})=>{const _0x1bd28b=_0x4015dd,_0x419a39=_0x46e7ea[_0x1bd28b(0x1c3)](_0x481930);_0x419a39[_0x1bd28b(0x1b4)]&&this[_0x1bd28b(0x1cc)][_0x1bd28b(0x1b7)](_0x419a39,this[_0x1bd28b(0x1c2)](_0x419a39[_0x1bd28b(0x1b4)])),this[_0x1bd28b(0x1b5)](_0x419a39,_0x1bd28b(0x1bc),(_0x3c2300,_0x20f524,_0x335876)=>{const _0x1fed0d=_0x1bd28b;_0x335876?this[_0x1fed0d(0x1cc)][_0x1fed0d(0x1bf)](_0x419a39)||this[_0x1fed0d(0x1cc)][_0x1fed0d(0x1b7)](_0x419a39,this[_0x1fed0d(0x1c2)](_0x419a39[_0x1fed0d(0x1b4)])):this[_0x1fed0d(0x1cc)][_0x1fed0d(0x1bf)](_0x419a39)&&this[_0x1fed0d(0x1cc)][_0x1fed0d(0x1c1)](_0x419a39);});}),this[_0x4015dd(0x1b5)](_0x46e7ea,_0x4015dd(0x1b6),(_0x5a394a,{threadId:_0x58e025})=>{const _0xcb95ae=_0x4015dd,_0x1c6687=_0x46e7ea[_0xcb95ae(0x1c3)](_0x58e025);this[_0xcb95ae(0x1cf)](_0x1c6687),this[_0xcb95ae(0x1cc)][_0xcb95ae(0x1bf)](_0x1c6687)&&this[_0xcb95ae(0x1cc)][_0xcb95ae(0x1c1)](_0x1c6687);},{'priority':_0x4015dd(0x1b8)}),this[_0x4015dd(0x1b5)](_0x448741[_0x4015dd(0x1c4)],_0x4015dd(0x1db),(_0x19833e,_0x4aec28)=>{const _0x561c57=_0x4015dd;_0x4aec28[_0x561c57(0x1ca)]||(_0x4aec28[_0x561c57(0x1ba)]=!0x0,_0x448741[_0x561c57(0x1d2)](_0x4aec28));});}[_0x21e4f4(0x1c2)](_0xcd8a2e){const _0x2fee2b=_0x21e4f4,_0x589b60=[...this[_0x2fee2b(0x1cc)]][_0x2fee2b(0x1d0)](_0x17ae9c=>_0x17ae9c[_0x2fee2b(0x1b4)]<_0xcd8a2e);return _0x589b60>-0x1?_0x589b60:this[_0x2fee2b(0x1cc)][_0x2fee2b(0x1d3)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x514c20=_0x12a8;function _0x12a8(_0x1b8808,_0x4fc3d2){const _0x48b6f9=_0x48b6();return _0x12a8=function(_0x12a8a8,_0x1589cf){_0x12a8a8=_0x12a8a8-0x1c4;let _0x568753=_0x48b6f9[_0x12a8a8];return _0x568753;},_0x12a8(_0x1b8808,_0x4fc3d2);}(function(_0x2c4f05,_0xd705be){const _0x47eb9f=_0x12a8,_0x4513ab=_0x2c4f05();while(!![]){try{const _0x1f9631=-parseInt(_0x47eb9f(0x204))/0x1+parseInt(_0x47eb9f(0x1ca))/0x2+-parseInt(_0x47eb9f(0x210))/0x3+-parseInt(_0x47eb9f(0x1ee))/0x4+parseInt(_0x47eb9f(0x1c6))/0x5+-parseInt(_0x47eb9f(0x1c8))/0x6*(parseInt(_0x47eb9f(0x1ec))/0x7)+parseInt(_0x47eb9f(0x1d4))/0x8;if(_0x1f9631===_0xd705be)break;else _0x4513ab['push'](_0x4513ab['shift']());}catch(_0x33fa74){_0x4513ab['push'](_0x4513ab['shift']());}}}(_0x48b6,0x6f4fe));import'../../theme/commentsarchive.css';import{Plugin as _0x33e403}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0xaa94d5}from'ckeditor5/src/icons.js';import{ViewCollection as _0x3bb62a,MenuBarMenuListItemButtonView as _0x5b9ee,ButtonView as _0xb1dc02,Dialog as _0x1ae125,DialogViewPosition as _0x187459}from'ckeditor5/src/ui.js';import{getTranslation as _0x8bae62}from'../utils/common-translations.js';import{CommentsArchiveView as _0x24fec0}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x3eabaa}from'./commentsarchive.js';function _0x48b6(){const _0x3f2d4d=['2628102bWKLbk','isOfficialPlugin','_toggleDialog','3658525rlxSeL','plugins','1448430fMgLgE','tooltip','1608162FhahJS','Annotations','includes','_pendingThreads','innerView','isVisible','_hideDialogOnAnnotationEscape','collaboration.channelId','view','set:isVisible','8065968GiNAKk','hide','menuitemcheckbox','add','set','_threadToController','find','escape','getByInnerView','Dialog','forEach','locale','isEnabled','isOpen','remove','channelId','filter','_createCommentsArchiveButton','pluginName','init','isOn','has','source','COMMENTS_ARCHIVE','7IFngeB','stop','1298824vmpPgo','commentsArchive','EDITOR_TOP_SIDE','bind','commentsArchiveView','isPremiumPlugin','_addAnnotationToArchive','CommentsRepository','archivedThreads','focusableElements','config','componentFactory','requires','menuBar:commentsArchive','findIndex','show','splice','annotationViews','_handleNewThread','indexOf','archivedAt','_visibleAnnotations','645953PvxXTk','listenTo','CommentsArchiveUI','collection','length','push','get','_calculatePosition','stopListening','editor','execute','return'];_0x48b6=function(){return _0x3f2d4d;};return _0x48b6();}export class CommentsArchiveUI extends _0x33e403{[_0x514c20(0x1f2)];[_0x514c20(0x1ff)];[_0x514c20(0x1cd)];static get[_0x514c20(0x1e6)](){const _0x181d33=_0x514c20;return _0x181d33(0x206);}static get[_0x514c20(0x1c4)](){return!0x0;}static get[_0x514c20(0x1f3)](){return!0x0;}static get[_0x514c20(0x1fa)](){return[_0x3eabaa,_0x1ae125];}constructor(_0x53ca28){const _0x1e1d9e=_0x514c20;super(_0x53ca28),this[_0x1e1d9e(0x1ff)]=new _0x3bb62a(),this[_0x1e1d9e(0x1cd)]=[];}[_0x514c20(0x1e7)](){const _0x5c0892=_0x514c20,_0x49f292=this[_0x5c0892(0x20d)],_0x2846eb=this[_0x5c0892(0x1d0)][_0x5c0892(0x1f1)](this);_0x49f292['ui'][_0x5c0892(0x1f9)][_0x5c0892(0x1d7)](_0x5c0892(0x1ef),()=>this[_0x5c0892(0x1e5)](_0xb1dc02,!0x0)),_0x49f292['ui'][_0x5c0892(0x1f9)][_0x5c0892(0x1d7)](_0x5c0892(0x1fb),()=>{const _0x3dbe45=_0x5c0892,_0x2bc14b=this[_0x3dbe45(0x1e5)](_0x5b9ee);return _0x2bc14b[_0x3dbe45(0x1d8)]({'role':_0x3dbe45(0x1d6)}),_0x2bc14b;});const _0x35fba8=_0x49f292[_0x5c0892(0x1c7)][_0x5c0892(0x20a)](_0x3eabaa),_0x39ee96=_0x49f292[_0x5c0892(0x1c7)][_0x5c0892(0x20a)](_0x5c0892(0x1cb)),_0x18f8f9=_0x49f292[_0x5c0892(0x1c7)][_0x5c0892(0x20a)](_0x5c0892(0x1f5));_0x35fba8[_0x5c0892(0x1f6)][_0x5c0892(0x1de)](_0x1d1c4d=>{const _0x1063e5=_0x5c0892;this[_0x1063e5(0x200)](_0x1d1c4d);}),this[_0x5c0892(0x205)](_0x35fba8[_0x5c0892(0x1f6)],_0x5c0892(0x1d7),(_0x4ad726,_0x510359)=>{const _0x57786f=_0x5c0892;this[_0x57786f(0x200)](_0x510359);}),this[_0x5c0892(0x205)](_0x39ee96[_0x5c0892(0x207)],_0x5c0892(0x1d7),(_0x3e4d6e,_0x1d5f0d)=>{const _0x579666=_0x5c0892,_0x114d33=this[_0x579666(0x1cd)][_0x579666(0x1da)](_0x378d17=>{const _0x32e98f=_0x579666,_0x3bdbbc=_0x18f8f9[_0x32e98f(0x1d9)][_0x32e98f(0x20a)](_0x378d17);return _0x3bdbbc&&_0x1d5f0d[_0x32e98f(0x1ce)]===_0x3bdbbc[_0x32e98f(0x1d2)];});if(_0x114d33){const _0x29c6c3=this[_0x579666(0x20b)](_0x114d33[_0x579666(0x202)]);this[_0x579666(0x1f4)](_0x1d5f0d,_0x29c6c3),this[_0x579666(0x1cd)][_0x579666(0x1fe)](this[_0x579666(0x1cd)][_0x579666(0x201)](_0x114d33),0x1);}}),this[_0x5c0892(0x205)](_0x35fba8[_0x5c0892(0x1f6)],_0x5c0892(0x1e2),(_0x322889,_0x2b5889)=>{const _0x2e923f=_0x5c0892,_0x2526e1=_0x49f292[_0x2e923f(0x1f8)][_0x2e923f(0x20a)](_0x2e923f(0x1d1));if(!_0x2526e1||_0x2b5889[_0x2e923f(0x1e3)]===_0x2526e1){if(this[_0x2e923f(0x1cd)][_0x2e923f(0x1cc)](_0x2b5889))this[_0x2e923f(0x1cd)][_0x2e923f(0x1fe)](this[_0x2e923f(0x1cd)][_0x2e923f(0x201)](_0x2b5889),0x1);else{const _0x386b99=_0x18f8f9[_0x2e923f(0x1d9)][_0x2e923f(0x20a)](_0x2b5889),_0x4489c4=_0x39ee96[_0x2e923f(0x1dc)](_0x386b99[_0x2e923f(0x1d2)]);this[_0x2e923f(0x1ff)][_0x2e923f(0x1e2)](_0x4489c4[_0x2e923f(0x1d2)]),this[_0x2e923f(0x20c)](_0x4489c4),this[_0x2e923f(0x20c)](_0x4489c4[_0x2e923f(0x1f7)]);}}}),this[_0x5c0892(0x205)](_0x39ee96[_0x5c0892(0x207)],_0x5c0892(0x1d7),(_0x43f7f6,_0xadaa3b)=>{const _0x436064=_0x5c0892;this[_0x436064(0x205)](_0xadaa3b,_0x436064(0x1db),_0x2846eb);}),this[_0x5c0892(0x205)](_0x39ee96[_0x5c0892(0x207)],_0x5c0892(0x1e2),(_0x5c5a0f,_0x458a52)=>{const _0x1ed259=_0x5c0892;this[_0x1ed259(0x20c)](_0x458a52,_0x1ed259(0x1db),_0x2846eb);});}[_0x514c20(0x1f4)](_0x3be29d,_0x1525b6){const _0x59f83a=_0x514c20;this[_0x59f83a(0x205)](_0x3be29d,_0x59f83a(0x1d3),_0x4b38b1=>{const _0xf7975f=_0x59f83a;_0x4b38b1[_0xf7975f(0x20f)]=!0x1,_0x4b38b1[_0xf7975f(0x1ed)]();}),this[_0x59f83a(0x1ff)][_0x59f83a(0x1d7)](_0x3be29d[_0x59f83a(0x1d2)],_0x1525b6);}[_0x514c20(0x200)](_0x4f345b){const _0xf62669=_0x514c20,_0x33f289=this[_0xf62669(0x20d)][_0xf62669(0x1c7)][_0xf62669(0x20a)](_0xf62669(0x1f5)),_0x6dc682=this[_0xf62669(0x20d)][_0xf62669(0x1c7)][_0xf62669(0x20a)](_0xf62669(0x1cb)),_0xdb3197=this[_0xf62669(0x20d)][_0xf62669(0x1f8)][_0xf62669(0x20a)](_0xf62669(0x1d1));if(!_0xdb3197||_0x4f345b[_0xf62669(0x1e3)]===_0xdb3197){const _0x5bd13b=_0x33f289[_0xf62669(0x1d9)][_0xf62669(0x20a)](_0x4f345b);if(!_0x5bd13b)return void this[_0xf62669(0x1cd)][_0xf62669(0x209)](_0x4f345b);const _0x73771b=this[_0xf62669(0x20b)](_0x4f345b[_0xf62669(0x202)]),_0x1e3046=_0x6dc682[_0xf62669(0x1dc)](_0x5bd13b[_0xf62669(0x1d2)]);_0x1e3046[_0xf62669(0x1cf)]&&_0x6dc682[_0xf62669(0x203)][_0xf62669(0x1e2)](_0x1e3046),this[_0xf62669(0x1f4)](_0x1e3046,_0x73771b);}}[_0x514c20(0x20b)](_0xab4ef4){const _0xb76f4c=_0x514c20,_0x1151a3=this[_0xb76f4c(0x20d)][_0xb76f4c(0x1f8)][_0xb76f4c(0x20a)](_0xb76f4c(0x1d1)),_0x65cf72=[...this[_0xb76f4c(0x20d)][_0xb76f4c(0x1c7)][_0xb76f4c(0x20a)](_0x3eabaa)[_0xb76f4c(0x1f6)]][_0xb76f4c(0x1e4)](_0x44c7a=>_0x44c7a[_0xb76f4c(0x1e3)]===_0x1151a3)[_0xb76f4c(0x1fc)](_0xaf2aec=>_0xaf2aec[_0xb76f4c(0x202)]<_0xab4ef4);return _0x65cf72<0x0||_0x65cf72>this[_0xb76f4c(0x1ff)][_0xb76f4c(0x208)]?this[_0xb76f4c(0x1ff)][_0xb76f4c(0x208)]:_0x65cf72-0x1;}[_0x514c20(0x1c5)](){const _0x1274e3=_0x514c20,_0x7923ec=this[_0x1274e3(0x20d)],_0x16bd3f=_0x7923ec[_0x1274e3(0x1c7)][_0x1274e3(0x20a)](_0x1274e3(0x1dd));this[_0x1274e3(0x1f2)]||(this[_0x1274e3(0x1f2)]=new _0x24fec0(_0x7923ec[_0x1274e3(0x1df)],this[_0x1274e3(0x1ff)])),_0x1274e3(0x1ef)===_0x16bd3f['id']?_0x16bd3f[_0x1274e3(0x1d5)]():_0x16bd3f[_0x1274e3(0x1fd)]({'id':_0x1274e3(0x1ef),'title':_0x8bae62(_0x7923ec[_0x1274e3(0x1df)],_0x1274e3(0x1eb)),'icon':_0xaa94d5,'hasCloseButton':!0x0,'content':this[_0x1274e3(0x1f2)],'position':_0x187459[_0x1274e3(0x1f0)]});}[_0x514c20(0x1e5)](_0x365f1c,_0x340bba=!0x1){const _0x25ff8c=_0x514c20,_0x411416=this[_0x25ff8c(0x20d)][_0x25ff8c(0x1df)],_0x574abf=this[_0x25ff8c(0x20d)][_0x25ff8c(0x1c7)][_0x25ff8c(0x20a)](_0x25ff8c(0x1dd)),_0x416428=new _0x365f1c(_0x411416);return _0x416428[_0x25ff8c(0x1f1)](_0x25ff8c(0x1e0))['to'](this,_0x25ff8c(0x1e0)),_0x416428[_0x25ff8c(0x1f1)](_0x25ff8c(0x1e8))['to'](_0x574abf,'id',_0x3cc585=>_0x25ff8c(0x1ef)===_0x3cc585),_0x416428[_0x25ff8c(0x1d8)]({'label':_0x8bae62(_0x411416,_0x25ff8c(0x1eb)),'icon':_0xaa94d5,'isToggleable':!0x0}),_0x340bba&&(_0x416428[_0x25ff8c(0x1c9)]=!0x0),this[_0x25ff8c(0x205)](_0x416428,_0x25ff8c(0x20e),()=>this[_0x25ff8c(0x1c5)]()),_0x416428;}[_0x514c20(0x1d0)]=_0x197c59=>{const _0x402eda=_0x514c20,_0x345238=_0x197c59[_0x402eda(0x1ea)];if(!this[_0x402eda(0x1ff)][_0x402eda(0x1e9)](_0x345238[_0x402eda(0x1d2)]))return;const _0x3218e4=this[_0x402eda(0x20d)][_0x402eda(0x1c7)][_0x402eda(0x20a)](_0x402eda(0x1dd));_0x3218e4[_0x402eda(0x1e1)]&&_0x402eda(0x1ef)===_0x3218e4['id']&&(_0x3218e4[_0x402eda(0x1d5)](),_0x197c59[_0x402eda(0x1ed)]());};}
|