@ckeditor/ckeditor5-comments 47.0.0-alpha.4 → 47.0.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 _0x1e5242=_0x43ea;function _0x2348(){const _0x26fc5f=['isActive','config','nodeType','_destroySidebarItemView','_alignForBottomChange','bind','setContainer','get','_alignBeforeItem','destroy','clear','delete','change:_lastItem','push','_updateLastItem','1dJMQZN','minHeight','_detachFromContainer','_alignAfterItem','sidebar-setcontainer-invalid-element','unbind','602lrVJuG','list','_annotations','class','_attachToContainer','view','_getTargetTop','refresh','_spaceBetweenItems','isAnimationDisabled','targetRect','content','8YUKNwj','object','1144326yyJIWR','_recalculate','stopListening','render','addAnnotation','change:top','bottom','listenTo','change:targetRect','_recalculateBuffer','_activeAnnotation','59240IQPfSC','_createSidebarView','578700dEtOIJ','pluginName','sidebar.container','sidebar.preventScrollOutOfView','set','sidebar-attachtocontainer-missing-container','rearrange','776915WaFzVv','locale','init','10452lBHIvn','appendChild','target','2629lqGcJR','_sidebarItemViewToAnnotation','top','change:bottom','1083351YsgOoi','30YavdCc','element','length','container','_alignToTargetRect','_lastItem','_setItemTop','_annotationToSidebarItemView','_targetTop','max','_getItemBefore','updateHeight','isOfficialPlugin','getIndex','add','last','_getMaxAvailableTop','remove','define','height','context','Sidebar','getSidebarItemView','_alignForTopChange','_getItemAfter','1066374AZdGIS','isPremiumPlugin'];_0x2348=function(){return _0x26fc5f;};return _0x2348();}(function(_0x3df856,_0x158298){const _0x2e9c77=_0x43ea,_0x463b34=_0x3df856();while(!![]){try{const _0x43cf89=-parseInt(_0x2e9c77(0xd0))/0x1*(-parseInt(_0x2e9c77(0x87))/0x2)+-parseInt(_0x2e9c77(0xa5))/0x3+parseInt(_0x2e9c77(0x85))/0x4*(parseInt(_0x2e9c77(0x9b))/0x5)+-parseInt(_0x2e9c77(0x94))/0x6+-parseInt(_0x2e9c77(0xd6))/0x7*(parseInt(_0x2e9c77(0x92))/0x8)+-parseInt(_0x2e9c77(0xbf))/0x9*(-parseInt(_0x2e9c77(0xa6))/0xa)+-parseInt(_0x2e9c77(0xa1))/0xb*(-parseInt(_0x2e9c77(0x9e))/0xc);if(_0x43cf89===_0x158298)break;else _0x463b34['push'](_0x463b34['shift']());}catch(_0x50dfe0){_0x463b34['push'](_0x463b34['shift']());}}}(_0x2348,0x55f9f));import{ContextPlugin as _0x108796}from'ckeditor5/src/core.js';import{Rect as _0x3cf8aa,CKEditorError as _0x2ce338}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x2f762c}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x35ce74}from'./view/sidebaritemview.js';export class Sidebar extends _0x108796{[_0x1e5242(0xdb)];[_0x1e5242(0x91)];[_0x1e5242(0xd8)];[_0x1e5242(0x81)];[_0x1e5242(0xa2)];[_0x1e5242(0xad)];[_0x1e5242(0x90)];static get[_0x1e5242(0x95)](){const _0x1659b5=_0x1e5242;return _0x1659b5(0xbb);}static get[_0x1e5242(0xb2)](){return!0x0;}static get[_0x1e5242(0xc0)](){return!0x0;}constructor(_0x5c498c){const _0x22df61=_0x1e5242;super(_0x5c498c),this[_0x22df61(0x98)](_0x22df61(0xab),void 0x0),this[_0x22df61(0xdb)]=this[_0x22df61(0x93)](),this[_0x22df61(0x98)](_0x22df61(0xa9),null),this[_0x22df61(0x81)]=0x19,this[_0x22df61(0xa2)]=new Map(),this[_0x22df61(0xad)]=new Map(),this[_0x22df61(0xba)][_0x22df61(0xc2)][_0x22df61(0xb8)](_0x22df61(0x97),!0x1),this[_0x22df61(0xd8)]=null,this[_0x22df61(0x91)]=null,this[_0x22df61(0x90)]=[];}[_0x1e5242(0x9d)](){const _0x545db2=_0x1e5242,_0xd5efe2=this[_0x545db2(0xba)][_0x545db2(0xc2)][_0x545db2(0xc8)](_0x545db2(0x96));_0xd5efe2&&this[_0x545db2(0xc7)](_0xd5efe2);}[_0x1e5242(0xc7)](_0xf422f6){const _0x251f10=_0x1e5242;if(!g(_0xf422f6))throw new _0x2ce338(_0x251f10(0xd4));this[_0x251f10(0xa9)]=_0xf422f6;}[_0x1e5242(0xda)]({viewClass:_0x26c9c4='',spaceBetweenItems:_0x2d4f85=0x19}={}){const _0x2dea31=_0x1e5242;if(!g(this[_0x2dea31(0xa9)]))throw new _0x2ce338(_0x2dea31(0x99),this);this[_0x2dea31(0xa9)][_0x2dea31(0x9f)](this[_0x2dea31(0xdb)][_0x2dea31(0xa7)]),this[_0x2dea31(0xdb)][_0x2dea31(0xd9)]=_0x26c9c4,this[_0x2dea31(0x81)]=_0x2d4f85;}[_0x1e5242(0x9a)]({removedAnnotation:_0x519ad2,previousAnnotation:_0x177cbc,nextAnnotation:_0x207879}){const _0x59b61a=_0x1e5242,_0xc18e63=this[_0x59b61a(0xbc)](_0x519ad2);this[_0x59b61a(0xdb)][_0x59b61a(0xd7)][_0x59b61a(0xb7)](_0xc18e63),this[_0x59b61a(0xc4)](_0x519ad2),_0x177cbc&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x177cbc)),_0x207879&&this[_0x59b61a(0xaa)](this[_0x59b61a(0xbc)](_0x207879)),this[_0x59b61a(0xcf)]();}[_0x1e5242(0x80)]({blurredAnnotation:_0x499732,activatedAnnotation:_0xeb4aab,disableAnimationOnActivatedAnnotation:_0x34442f}){const _0x1c2e83=_0x1e5242;if(this[_0x1c2e83(0x91)]=_0xeb4aab,_0x499732){_0x499732[_0x1c2e83(0xc1)]=!0x1;const _0x4601e0=this[_0x1c2e83(0xbc)](_0x499732);_0x4601e0&&_0x34442f&&(_0x4601e0[_0x1c2e83(0x82)]=!0x1);}if(_0xeb4aab){const _0x1fbb30=this[_0x1c2e83(0xbc)](_0xeb4aab);_0x1fbb30&&(_0xeb4aab[_0x1c2e83(0xc1)]=!0x0,_0x34442f&&(_0x1fbb30[_0x1c2e83(0x82)]=!0x0,_0x1fbb30[_0x1c2e83(0xa3)]+=0x1),this[_0x1c2e83(0xaa)](_0x1fbb30));}}[_0x1e5242(0xd2)](_0x350993){const _0x5d0b61=_0x1e5242;if(this[_0x5d0b61(0xdb)][_0x5d0b61(0xa7)][_0x5d0b61(0xb7)](),_0x350993){for(const _0x81fca7 of _0x350993)this[_0x5d0b61(0xc4)](_0x81fca7);}this[_0x5d0b61(0xdb)][_0x5d0b61(0xd7)][_0x5d0b61(0xcb)](),this[_0x5d0b61(0xdb)][_0x5d0b61(0xd9)]='',this[_0x5d0b61(0xab)]=null;}[_0x1e5242(0x8b)](_0x2b0133,_0x360eb2){const _0x5dc302=_0x1e5242;_0x360eb2||(_0x360eb2=_0x2b0133[_0x5dc302(0xdb)]);const _0x479628=new _0x35ce74(this[_0x5dc302(0xba)][_0x5dc302(0x9c)]);this[_0x5dc302(0xa2)][_0x5dc302(0x98)](_0x479628,_0x2b0133),this[_0x5dc302(0xad)][_0x5dc302(0x98)](_0x2b0133,_0x479628),_0x479628[_0x5dc302(0x84)][_0x5dc302(0xb4)](_0x360eb2),this[_0x5dc302(0x8e)](_0x2b0133[_0x5dc302(0xdb)],_0x5dc302(0x8f),(_0x3da6cf,_0x2e69ee,_0xa693c7)=>{const _0x302d62=_0x5dc302,_0x1648e7=this[_0x302d62(0xdc)](_0x2b0133,_0xa693c7);_0x479628[_0x302d62(0xae)]!=_0x1648e7&&(_0x479628[_0x302d62(0xae)]=_0x1648e7,this[_0x302d62(0xac)](_0x479628,_0x1648e7));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0x8c),()=>{const _0x53c3b5=_0x5dc302;this[_0x53c3b5(0x88)](_0x479628,_0x53c3b5(0xa3));}),this[_0x5dc302(0x8e)](_0x479628,_0x5dc302(0xa4),()=>{const _0x455528=_0x5dc302;this[_0x455528(0x88)](_0x479628,_0x455528(0x8d));}),this[_0x5dc302(0xaa)](_0x479628);const _0x3b69ae=this[_0x5dc302(0xb0)](_0x479628);if(_0x3b69ae)this[_0x5dc302(0xd3)](_0x3b69ae,_0x479628)||this[_0x5dc302(0xaa)](_0x479628);else this[_0x5dc302(0xaa)](_0x479628);return this[_0x5dc302(0xcf)](),this[_0x5dc302(0xdb)][_0x5dc302(0xd7)][_0x5dc302(0xb4)](_0x479628),_0x479628;}[_0x1e5242(0xbd)](_0x23dc4e){const _0x1acc6e=_0x1e5242;if(!_0x23dc4e[_0x1acc6e(0x84)][_0x1acc6e(0xa8)])return;const _0x59d31b=this[_0x1acc6e(0xb0)](_0x23dc4e);if(!_0x59d31b)return;const _0x36ca29=this[_0x1acc6e(0xa2)][_0x1acc6e(0xc8)](_0x59d31b),_0x95638b=this[_0x1acc6e(0x91)];_0x95638b&&_0x95638b===_0x36ca29?this[_0x1acc6e(0xd3)](_0x59d31b,_0x23dc4e):this[_0x1acc6e(0xc9)](_0x23dc4e,_0x59d31b);}[_0x1e5242(0xc5)](_0x3d7521){const _0x35d572=_0x1e5242;if(!_0x3d7521[_0x35d572(0x84)][_0x35d572(0xa8)])return;const _0x3e1fd0=this[_0x35d572(0xbe)](_0x3d7521);if(!_0x3e1fd0)return;const _0x8e0eb6=this[_0x35d572(0xa2)][_0x35d572(0xc8)](_0x3e1fd0),_0x38b19f=this[_0x35d572(0xba)][_0x35d572(0xc2)][_0x35d572(0xc8)](_0x35d572(0x97)),_0x2da497=this[_0x35d572(0x91)];_0x2da497&&_0x2da497===_0x8e0eb6&&_0x38b19f?(this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521),this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0)):_0x2da497&&_0x2da497===_0x8e0eb6?this[_0x35d572(0xc9)](_0x3e1fd0,_0x3d7521):this[_0x35d572(0xd3)](_0x3d7521,_0x3e1fd0);}[_0x1e5242(0x88)](_0x440321,_0x205ba7){const _0x4b37be=_0x1e5242;0x0===this[_0x4b37be(0x90)][_0x4b37be(0xa8)]&&setTimeout(()=>{const _0x30aaa8=_0x4b37be;for(const {sidebarItemView:_0x3eac08,changedProp:_0x4b74e3}of this[_0x30aaa8(0x90)])_0x30aaa8(0xa3)===_0x4b74e3?this[_0x30aaa8(0xbd)](_0x3eac08):this[_0x30aaa8(0xc5)](_0x3eac08);this[_0x30aaa8(0x90)]=[];},0xa),this[_0x4b37be(0x90)][_0x4b37be(0xce)]({'sidebarItemView':_0x440321,'changedProp':_0x205ba7});}[_0x1e5242(0xbc)](_0x215a9a){const _0xe5b3bc=_0x1e5242;return this[_0xe5b3bc(0xad)][_0xe5b3bc(0xc8)](_0x215a9a);}[_0x1e5242(0xca)](){const _0x5f55bb=_0x1e5242;this[_0x5f55bb(0x89)](),this[_0x5f55bb(0xdb)][_0x5f55bb(0xca)]();}[_0x1e5242(0xc4)](_0x5c9fd0){const _0x4a05a7=_0x1e5242,_0x221e7b=this[_0x4a05a7(0xbc)](_0x5c9fd0);this[_0x4a05a7(0x89)](_0x221e7b),this[_0x4a05a7(0x89)](_0x5c9fd0[_0x4a05a7(0xdb)]),_0x221e7b[_0x4a05a7(0xca)](),this[_0x4a05a7(0xad)][_0x4a05a7(0xcc)](_0x5c9fd0),this[_0x4a05a7(0xa2)][_0x4a05a7(0xcc)](_0x221e7b);}[_0x1e5242(0x93)](){const _0x2163aa=_0x1e5242,_0x5190e9=new _0x2f762c(this[_0x2163aa(0xba)][_0x2163aa(0x9c)]);return _0x5190e9[_0x2163aa(0x8a)](),this['on'](_0x2163aa(0xcd),(_0x5cfb76,_0x4a1cdf,_0x4c821e,_0x4387cd)=>{const _0x4f7ca0=_0x2163aa;_0x4387cd&&_0x5190e9[_0x4f7ca0(0xd5)](_0x4f7ca0(0xd1)),_0x4c821e?_0x5190e9[_0x4f7ca0(0xc6)](_0x4f7ca0(0xd1))['to'](_0x4c821e,_0x4f7ca0(0x8d)):_0x5190e9[_0x4f7ca0(0xd1)]=null;}),_0x5190e9;}[_0x1e5242(0xcf)](){const _0xb7764b=_0x1e5242;this[_0xb7764b(0xab)]=this[_0xb7764b(0xd8)]?.[_0xb7764b(0xb5)]?this[_0xb7764b(0xbc)](this[_0xb7764b(0xd8)][_0xb7764b(0xb5)]):null;}[_0x1e5242(0xb0)](_0x6b86a){const _0x1cd98f=_0x1e5242,_0x394f40=this[_0x1cd98f(0xa2)][_0x1cd98f(0xc8)](_0x6b86a),_0x508389=_0x394f40&&this[_0x1cd98f(0xd8)]?.[_0x1cd98f(0xc8)](this[_0x1cd98f(0xd8)][_0x1cd98f(0xb3)](_0x394f40)-0x1);return _0x508389&&this[_0x1cd98f(0xbc)](_0x508389)||null;}[_0x1e5242(0xbe)](_0x5a8865){const _0x280910=_0x1e5242,_0x5b938d=this[_0x280910(0xa2)][_0x280910(0xc8)](_0x5a8865),_0x137178=_0x5b938d&&this[_0x280910(0xd8)]?.[_0x280910(0xc8)](this[_0x280910(0xd8)][_0x280910(0xb3)](_0x5b938d)+0x1);return _0x137178&&this[_0x280910(0xbc)](_0x137178)||null;}[_0x1e5242(0xc9)](_0x10dd75,_0x5e38b4){const _0x4a143f=_0x1e5242;_0x10dd75[_0x4a143f(0xb1)]();const _0x2c10b0=G(_0x5e38b4[_0x4a143f(0x8d)]+this[_0x4a143f(0x81)],_0x10dd75[_0x4a143f(0xa3)]);return!!_0x2c10b0&&(this[_0x4a143f(0xac)](_0x5e38b4,_0x5e38b4[_0x4a143f(0xa3)]-_0x2c10b0),!0x0);}[_0x1e5242(0xd3)](_0x596be5,_0x597641){const _0x22bc46=_0x1e5242;_0x596be5[_0x22bc46(0xb1)]();const _0x2b4899=G(_0x596be5[_0x22bc46(0x8d)]+this[_0x22bc46(0x81)],_0x597641[_0x22bc46(0xa3)]);return!!_0x2b4899&&(this[_0x22bc46(0xac)](_0x597641,_0x597641[_0x22bc46(0xa3)]+_0x2b4899,!0x1),!0x0);}[_0x1e5242(0xaa)](_0x56b102){const _0x6397b8=_0x1e5242,_0x5e375f=this[_0x6397b8(0xa2)][_0x6397b8(0xc8)](_0x56b102);if(!_0x5e375f||!_0x5e375f[_0x6397b8(0xa0)]||!_0x5e375f[_0x6397b8(0x83)])return;const _0x1bd1b4=this[_0x6397b8(0xdc)](_0x5e375f,_0x5e375f[_0x6397b8(0x83)]);this[_0x6397b8(0xac)](_0x56b102,_0x1bd1b4);}[_0x1e5242(0xdc)](_0x449e0d,_0x1c3812){const _0x1d5c9a=_0x1e5242;if(null===_0x1c3812)return 0x0;if(_0x449e0d[_0x1d5c9a(0xa0)]instanceof _0x3cf8aa)return _0x1c3812[_0x1d5c9a(0xa3)];{const _0x592baf=new _0x3cf8aa(this[_0x1d5c9a(0xdb)][_0x1d5c9a(0xa7)])[_0x1d5c9a(0xa3)];return _0x1c3812[_0x1d5c9a(0xa3)]-_0x592baf;}}[_0x1e5242(0xac)](_0x4d7dbc,_0x423429,_0x56836d=this[_0x1e5242(0xba)][_0x1e5242(0xc2)][_0x1e5242(0xc8)](_0x1e5242(0x97))){const _0x469f68=_0x1e5242;_0x56836d&&(_0x423429=Math[_0x469f68(0xaf)](_0x423429,this[_0x469f68(0xb6)](_0x4d7dbc))),_0x4d7dbc[_0x469f68(0xa3)]=_0x423429;}[_0x1e5242(0xb6)](_0x2fffa3){const _0x1e6633=_0x1e5242;let _0x389775=this[_0x1e6633(0xb0)](_0x2fffa3),_0x1581d0=0x0;for(;_0x389775;)_0x389775[_0x1e6633(0xb1)](),_0x1581d0+=this[_0x1e6633(0x81)]+_0x389775[_0x1e6633(0xb9)],_0x389775=this[_0x1e6633(0xb0)](_0x389775);return _0x1581d0;}}function _0x43ea(_0x41eb1f,_0x59c067){const _0x234890=_0x2348();return _0x43ea=function(_0x43ea47,_0x4575fa){_0x43ea47=_0x43ea47-0x80;let _0x447c76=_0x234890[_0x43ea47];return _0x447c76;},_0x43ea(_0x41eb1f,_0x59c067);}function G(_0x1e05bc,_0x2298ff){const _0x2740b0=_0x1e5242;return Math[_0x2740b0(0xaf)](_0x1e05bc-_0x2298ff,0x0);}function g(_0x3ea9ad){const _0xf7e36c=_0x1e5242;return null!==_0x3ea9ad&&_0xf7e36c(0x86)==typeof _0x3ea9ad&&0x1===_0x3ea9ad[_0xf7e36c(0xc3)];}
|
|
23
|
+
function _0x3d5f(_0x357dac,_0x4f245a){const _0x3a20b7=_0x3a20();return _0x3d5f=function(_0x3d5f4b,_0x217d51){_0x3d5f4b=_0x3d5f4b-0xa6;let _0x49da40=_0x3a20b7[_0x3d5f4b];return _0x49da40;},_0x3d5f(_0x357dac,_0x4f245a);}const _0x45d37f=_0x3d5f;(function(_0x2d5b00,_0x1ec6d8){const _0x8384b8=_0x3d5f,_0xccc2a=_0x2d5b00();while(!![]){try{const _0x1d1346=parseInt(_0x8384b8(0xb6))/0x1*(parseInt(_0x8384b8(0xba))/0x2)+parseInt(_0x8384b8(0xf2))/0x3*(-parseInt(_0x8384b8(0xea))/0x4)+parseInt(_0x8384b8(0xd8))/0x5+parseInt(_0x8384b8(0xf1))/0x6*(-parseInt(_0x8384b8(0xf3))/0x7)+parseInt(_0x8384b8(0xde))/0x8+parseInt(_0x8384b8(0xc8))/0x9+-parseInt(_0x8384b8(0xcf))/0xa;if(_0x1d1346===_0x1ec6d8)break;else _0xccc2a['push'](_0xccc2a['shift']());}catch(_0x3ac4b3){_0xccc2a['push'](_0xccc2a['shift']());}}}(_0x3a20,0xa23eb));import{ContextPlugin as _0x1814ae}from'ckeditor5/src/core.js';function _0x3a20(){const _0x154530=['2753495ijbNtj','_alignForBottomChange','listenTo','isPremiumPlugin','_attachToContainer','_recalculateBuffer','5245744FXkAXI','_annotations','sidebar-attachtocontainer-missing-container','_alignAfterItem','view','pluginName','isAnimationDisabled','_lastItem','_getMaxAvailableTop','_createSidebarView','minHeight','refresh','61436tRqmUu','target','top','render','change:bottom','appendChild','config','571446SgCber','90GSfnsd','63skjNbi','getIndex','_alignBeforeItem','_getItemAfter','change:top','_targetTop','destroy','_getItemBefore','get','_alignToTargetRect','isOfficialPlugin','sidebar.preventScrollOutOfView','add','max','_activeAnnotation','isActive','setContainer','rearrange','bottom','push','_annotationToSidebarItemView','last','list','updateHeight','element','unbind','_recalculate','content','addAnnotation','_getTargetTop','605Jhndhc','targetRect','change:targetRect','delete','2414IoVyav','object','getSidebarItemView','init','height','sidebar-setcontainer-invalid-element','_updateLastItem','context','_setItemTop','remove','_alignForTopChange','_destroySidebarItemView','Sidebar','sidebar.container','10118277RUOrms','bind','change:_lastItem','define','_spaceBetweenItems','length','stopListening','10784110aTywnV','nodeType','clear','locale','container','_detachFromContainer','class','_sidebarItemViewToAnnotation','set'];_0x3a20=function(){return _0x154530;};return _0x3a20();}import{Rect as _0x3d4486,CKEditorError as _0x38f0ed}from'ckeditor5/src/utils.js';import{AnnotationsSidebarView as _0x38ec08}from'./view/sidebarview.js';import{AnnotationsSidebarItemView as _0x654b41}from'./view/sidebaritemview.js';export class Sidebar extends _0x1814ae{[_0x45d37f(0xe2)];[_0x45d37f(0xa6)];[_0x45d37f(0xdf)];[_0x45d37f(0xcc)];[_0x45d37f(0xd6)];[_0x45d37f(0xac)];[_0x45d37f(0xdd)];static get[_0x45d37f(0xe3)](){const _0xc345e3=_0x45d37f;return _0xc345e3(0xc6);}static get[_0x45d37f(0xfd)](){return!0x0;}static get[_0x45d37f(0xdb)](){return!0x0;}constructor(_0x3f5e72){const _0x14a2a3=_0x45d37f;super(_0x3f5e72),this[_0x14a2a3(0xd7)](_0x14a2a3(0xe5),void 0x0),this[_0x14a2a3(0xe2)]=this[_0x14a2a3(0xe7)](),this[_0x14a2a3(0xd7)](_0x14a2a3(0xd3),null),this[_0x14a2a3(0xcc)]=0x19,this[_0x14a2a3(0xd6)]=new Map(),this[_0x14a2a3(0xac)]=new Map(),this[_0x14a2a3(0xc1)][_0x14a2a3(0xf0)][_0x14a2a3(0xcb)](_0x14a2a3(0xfe),!0x1),this[_0x14a2a3(0xdf)]=null,this[_0x14a2a3(0xa6)]=null,this[_0x14a2a3(0xdd)]=[];}[_0x45d37f(0xbd)](){const _0x363bdd=_0x45d37f,_0x1dc2d5=this[_0x363bdd(0xc1)][_0x363bdd(0xf0)][_0x363bdd(0xfb)](_0x363bdd(0xc7));_0x1dc2d5&&this[_0x363bdd(0xa8)](_0x1dc2d5);}[_0x45d37f(0xa8)](_0x3f67b6){const _0x496a5c=_0x45d37f;if(!g(_0x3f67b6))throw new _0x38f0ed(_0x496a5c(0xbf));this[_0x496a5c(0xd3)]=_0x3f67b6;}[_0x45d37f(0xdc)]({viewClass:_0x48ed0a='',spaceBetweenItems:_0x507f3a=0x19}={}){const _0x5ce1e3=_0x45d37f;if(!g(this[_0x5ce1e3(0xd3)]))throw new _0x38f0ed(_0x5ce1e3(0xe0),this);this[_0x5ce1e3(0xd3)][_0x5ce1e3(0xef)](this[_0x5ce1e3(0xe2)][_0x5ce1e3(0xb0)]),this[_0x5ce1e3(0xe2)][_0x5ce1e3(0xd5)]=_0x48ed0a,this[_0x5ce1e3(0xcc)]=_0x507f3a;}[_0x45d37f(0xa9)]({removedAnnotation:_0x17e037,previousAnnotation:_0x3fcc0a,nextAnnotation:_0x100f14}){const _0x493e69=_0x45d37f,_0x272694=this[_0x493e69(0xbc)](_0x17e037);this[_0x493e69(0xe2)][_0x493e69(0xae)][_0x493e69(0xc3)](_0x272694),this[_0x493e69(0xc5)](_0x17e037),_0x3fcc0a&&this[_0x493e69(0xfc)](this[_0x493e69(0xbc)](_0x3fcc0a)),_0x100f14&&this[_0x493e69(0xfc)](this[_0x493e69(0xbc)](_0x100f14)),this[_0x493e69(0xc0)]();}[_0x45d37f(0xe9)]({blurredAnnotation:_0x47529f,activatedAnnotation:_0x3ab24a,disableAnimationOnActivatedAnnotation:_0x14c914}){const _0x297b0c=_0x45d37f;if(this[_0x297b0c(0xa6)]=_0x3ab24a,_0x47529f){_0x47529f[_0x297b0c(0xa7)]=!0x1;const _0x53cbc1=this[_0x297b0c(0xbc)](_0x47529f);_0x53cbc1&&_0x14c914&&(_0x53cbc1[_0x297b0c(0xe4)]=!0x1);}if(_0x3ab24a){const _0x308b94=this[_0x297b0c(0xbc)](_0x3ab24a);_0x308b94&&(_0x3ab24a[_0x297b0c(0xa7)]=!0x0,_0x14c914&&(_0x308b94[_0x297b0c(0xe4)]=!0x0,_0x308b94[_0x297b0c(0xec)]+=0x1),this[_0x297b0c(0xfc)](_0x308b94));}}[_0x45d37f(0xd4)](_0x31a437){const _0x3eed14=_0x45d37f;if(this[_0x3eed14(0xe2)][_0x3eed14(0xb0)][_0x3eed14(0xc3)](),_0x31a437){for(const _0x817e22 of _0x31a437)this[_0x3eed14(0xc5)](_0x817e22);}this[_0x3eed14(0xe2)][_0x3eed14(0xae)][_0x3eed14(0xd1)](),this[_0x3eed14(0xe2)][_0x3eed14(0xd5)]='',this[_0x3eed14(0xe5)]=null;}[_0x45d37f(0xb4)](_0x280ff8,_0x37fe94){const _0x4ffc18=_0x45d37f;_0x37fe94||(_0x37fe94=_0x280ff8[_0x4ffc18(0xe2)]);const _0x520de8=new _0x654b41(this[_0x4ffc18(0xc1)][_0x4ffc18(0xd2)]);this[_0x4ffc18(0xd6)][_0x4ffc18(0xd7)](_0x520de8,_0x280ff8),this[_0x4ffc18(0xac)][_0x4ffc18(0xd7)](_0x280ff8,_0x520de8),_0x520de8[_0x4ffc18(0xb3)][_0x4ffc18(0xff)](_0x37fe94),this[_0x4ffc18(0xda)](_0x280ff8[_0x4ffc18(0xe2)],_0x4ffc18(0xb8),(_0x456061,_0x2b1a37,_0x5312e3)=>{const _0x5ce376=_0x4ffc18,_0xf59567=this[_0x5ce376(0xb5)](_0x280ff8,_0x5312e3);_0x520de8[_0x5ce376(0xf8)]!=_0xf59567&&(_0x520de8[_0x5ce376(0xf8)]=_0xf59567,this[_0x5ce376(0xc2)](_0x520de8,_0xf59567));}),this[_0x4ffc18(0xda)](_0x520de8,_0x4ffc18(0xf7),()=>{const _0xb2fd3=_0x4ffc18;this[_0xb2fd3(0xb2)](_0x520de8,_0xb2fd3(0xec));}),this[_0x4ffc18(0xda)](_0x520de8,_0x4ffc18(0xee),()=>{const _0x45fdf7=_0x4ffc18;this[_0x45fdf7(0xb2)](_0x520de8,_0x45fdf7(0xaa));}),this[_0x4ffc18(0xfc)](_0x520de8);const _0x421ce0=this[_0x4ffc18(0xfa)](_0x520de8);if(_0x421ce0)this[_0x4ffc18(0xe1)](_0x421ce0,_0x520de8)||this[_0x4ffc18(0xfc)](_0x520de8);else this[_0x4ffc18(0xfc)](_0x520de8);return this[_0x4ffc18(0xc0)](),this[_0x4ffc18(0xe2)][_0x4ffc18(0xae)][_0x4ffc18(0xff)](_0x520de8),_0x520de8;}[_0x45d37f(0xc4)](_0x234c37){const _0x4469d7=_0x45d37f;if(!_0x234c37[_0x4469d7(0xb3)][_0x4469d7(0xcd)])return;const _0x539a77=this[_0x4469d7(0xfa)](_0x234c37);if(!_0x539a77)return;const _0x3da166=this[_0x4469d7(0xd6)][_0x4469d7(0xfb)](_0x539a77),_0x1306b7=this[_0x4469d7(0xa6)];_0x1306b7&&_0x1306b7===_0x3da166?this[_0x4469d7(0xe1)](_0x539a77,_0x234c37):this[_0x4469d7(0xf5)](_0x234c37,_0x539a77);}[_0x45d37f(0xd9)](_0x30cc8b){const _0x28a422=_0x45d37f;if(!_0x30cc8b[_0x28a422(0xb3)][_0x28a422(0xcd)])return;const _0x335e1c=this[_0x28a422(0xf6)](_0x30cc8b);if(!_0x335e1c)return;const _0x4e6627=this[_0x28a422(0xd6)][_0x28a422(0xfb)](_0x335e1c),_0x6229ee=this[_0x28a422(0xc1)][_0x28a422(0xf0)][_0x28a422(0xfb)](_0x28a422(0xfe)),_0x375fdf=this[_0x28a422(0xa6)];_0x375fdf&&_0x375fdf===_0x4e6627&&_0x6229ee?(this[_0x28a422(0xf5)](_0x335e1c,_0x30cc8b),this[_0x28a422(0xe1)](_0x30cc8b,_0x335e1c)):_0x375fdf&&_0x375fdf===_0x4e6627?this[_0x28a422(0xf5)](_0x335e1c,_0x30cc8b):this[_0x28a422(0xe1)](_0x30cc8b,_0x335e1c);}[_0x45d37f(0xb2)](_0x4bee5b,_0x1af95){const _0x567af4=_0x45d37f;0x0===this[_0x567af4(0xdd)][_0x567af4(0xcd)]&&setTimeout(()=>{const _0x2ab843=_0x567af4;for(const {sidebarItemView:_0x2d824d,changedProp:_0x53deeb}of this[_0x2ab843(0xdd)])_0x2ab843(0xec)===_0x53deeb?this[_0x2ab843(0xc4)](_0x2d824d):this[_0x2ab843(0xd9)](_0x2d824d);this[_0x2ab843(0xdd)]=[];},0xa),this[_0x567af4(0xdd)][_0x567af4(0xab)]({'sidebarItemView':_0x4bee5b,'changedProp':_0x1af95});}[_0x45d37f(0xbc)](_0x4b5c6c){const _0x47b6be=_0x45d37f;return this[_0x47b6be(0xac)][_0x47b6be(0xfb)](_0x4b5c6c);}[_0x45d37f(0xf9)](){const _0x1982d9=_0x45d37f;this[_0x1982d9(0xce)](),this[_0x1982d9(0xe2)][_0x1982d9(0xf9)]();}[_0x45d37f(0xc5)](_0x381dfd){const _0x226105=_0x45d37f,_0x3fbaca=this[_0x226105(0xbc)](_0x381dfd);this[_0x226105(0xce)](_0x3fbaca),this[_0x226105(0xce)](_0x381dfd[_0x226105(0xe2)]),_0x3fbaca[_0x226105(0xf9)](),this[_0x226105(0xac)][_0x226105(0xb9)](_0x381dfd),this[_0x226105(0xd6)][_0x226105(0xb9)](_0x3fbaca);}[_0x45d37f(0xe7)](){const _0x43f67e=_0x45d37f,_0x1ac1a9=new _0x38ec08(this[_0x43f67e(0xc1)][_0x43f67e(0xd2)]);return _0x1ac1a9[_0x43f67e(0xed)](),this['on'](_0x43f67e(0xca),(_0x1c7f97,_0x2eeff7,_0x449802,_0x54a817)=>{const _0x1fe604=_0x43f67e;_0x54a817&&_0x1ac1a9[_0x1fe604(0xb1)](_0x1fe604(0xe8)),_0x449802?_0x1ac1a9[_0x1fe604(0xc9)](_0x1fe604(0xe8))['to'](_0x449802,_0x1fe604(0xaa)):_0x1ac1a9[_0x1fe604(0xe8)]=null;}),_0x1ac1a9;}[_0x45d37f(0xc0)](){const _0x37e33f=_0x45d37f;this[_0x37e33f(0xe5)]=this[_0x37e33f(0xdf)]?.[_0x37e33f(0xad)]?this[_0x37e33f(0xbc)](this[_0x37e33f(0xdf)][_0x37e33f(0xad)]):null;}[_0x45d37f(0xfa)](_0x506338){const _0x2ef3e9=_0x45d37f,_0x46478f=this[_0x2ef3e9(0xd6)][_0x2ef3e9(0xfb)](_0x506338),_0x21e124=_0x46478f&&this[_0x2ef3e9(0xdf)]?.[_0x2ef3e9(0xfb)](this[_0x2ef3e9(0xdf)][_0x2ef3e9(0xf4)](_0x46478f)-0x1);return _0x21e124&&this[_0x2ef3e9(0xbc)](_0x21e124)||null;}[_0x45d37f(0xf6)](_0x37387f){const _0x3ede1e=_0x45d37f,_0x46c6b9=this[_0x3ede1e(0xd6)][_0x3ede1e(0xfb)](_0x37387f),_0x5afe74=_0x46c6b9&&this[_0x3ede1e(0xdf)]?.[_0x3ede1e(0xfb)](this[_0x3ede1e(0xdf)][_0x3ede1e(0xf4)](_0x46c6b9)+0x1);return _0x5afe74&&this[_0x3ede1e(0xbc)](_0x5afe74)||null;}[_0x45d37f(0xf5)](_0x4efab9,_0x23d75f){const _0x7c1ee1=_0x45d37f;_0x4efab9[_0x7c1ee1(0xaf)]();const _0x54a9cf=G(_0x23d75f[_0x7c1ee1(0xaa)]+this[_0x7c1ee1(0xcc)],_0x4efab9[_0x7c1ee1(0xec)]);return!!_0x54a9cf&&(this[_0x7c1ee1(0xc2)](_0x23d75f,_0x23d75f[_0x7c1ee1(0xec)]-_0x54a9cf),!0x0);}[_0x45d37f(0xe1)](_0x5b2b6b,_0xe54af1){const _0x114a95=_0x45d37f;_0x5b2b6b[_0x114a95(0xaf)]();const _0x35e611=G(_0x5b2b6b[_0x114a95(0xaa)]+this[_0x114a95(0xcc)],_0xe54af1[_0x114a95(0xec)]);return!!_0x35e611&&(this[_0x114a95(0xc2)](_0xe54af1,_0xe54af1[_0x114a95(0xec)]+_0x35e611,!0x1),!0x0);}[_0x45d37f(0xfc)](_0x2956a1){const _0xb22ae5=_0x45d37f,_0x780d4b=this[_0xb22ae5(0xd6)][_0xb22ae5(0xfb)](_0x2956a1);if(!_0x780d4b||!_0x780d4b[_0xb22ae5(0xeb)]||!_0x780d4b[_0xb22ae5(0xb7)])return;const _0x4e4cac=this[_0xb22ae5(0xb5)](_0x780d4b,_0x780d4b[_0xb22ae5(0xb7)]);this[_0xb22ae5(0xc2)](_0x2956a1,_0x4e4cac);}[_0x45d37f(0xb5)](_0x5e4a48,_0x143918){const _0x1bdbae=_0x45d37f;if(null===_0x143918)return 0x0;if(_0x5e4a48[_0x1bdbae(0xeb)]instanceof _0x3d4486)return _0x143918[_0x1bdbae(0xec)];{const _0x4c0c93=new _0x3d4486(this[_0x1bdbae(0xe2)][_0x1bdbae(0xb0)])[_0x1bdbae(0xec)];return _0x143918[_0x1bdbae(0xec)]-_0x4c0c93;}}[_0x45d37f(0xc2)](_0x126d2b,_0x25a151,_0x3a2aaa=this[_0x45d37f(0xc1)][_0x45d37f(0xf0)][_0x45d37f(0xfb)](_0x45d37f(0xfe))){const _0x180a97=_0x45d37f;_0x3a2aaa&&(_0x25a151=Math[_0x180a97(0x100)](_0x25a151,this[_0x180a97(0xe6)](_0x126d2b))),_0x126d2b[_0x180a97(0xec)]=_0x25a151;}[_0x45d37f(0xe6)](_0x4b72bd){const _0x5812cf=_0x45d37f;let _0x2383f9=this[_0x5812cf(0xfa)](_0x4b72bd),_0x11160e=0x0;for(;_0x2383f9;)_0x2383f9[_0x5812cf(0xaf)](),_0x11160e+=this[_0x5812cf(0xcc)]+_0x2383f9[_0x5812cf(0xbe)],_0x2383f9=this[_0x5812cf(0xfa)](_0x2383f9);return _0x11160e;}}function G(_0x25d897,_0x3b488e){const _0x491693=_0x45d37f;return Math[_0x491693(0x100)](_0x25d897-_0x3b488e,0x0);}function g(_0xff9a3c){const _0x3f1309=_0x45d37f;return null!==_0xff9a3c&&_0x3f1309(0xbb)==typeof _0xff9a3c&&0x1===_0xff9a3c[_0x3f1309(0xd0)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x74f16b=_0x55bc;(function(_0x5264b6,_0x5a3460){const _0xa005fc=_0x55bc,_0x15c732=_0x5264b6();while(!![]){try{const _0x11a5ea=-parseInt(_0xa005fc(0x1f3))/0x1+parseInt(_0xa005fc(0x201))/0x2+-parseInt(_0xa005fc(0x1ef))/0x3+-parseInt(_0xa005fc(0x1ea))/0x4*(-parseInt(_0xa005fc(0x1fd))/0x5)+parseInt(_0xa005fc(0x1f9))/0x6*(-parseInt(_0xa005fc(0x1f8))/0x7)+parseInt(_0xa005fc(0x1e9))/0x8*(parseInt(_0xa005fc(0x1fc))/0x9)+parseInt(_0xa005fc(0x1fe))/0xa;if(_0x11a5ea===_0x5a3460)break;else _0x15c732['push'](_0x15c732['shift']());}catch(_0x5a1c67){_0x15c732['push'](_0x15c732['shift']());}}}(_0x1ebb,0x9b72c));import{ButtonView as _0x56b8ff,View as _0x5ae9a4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x337efa}from'ckeditor5/src/icons.js';function _0x55bc(_0x31274e,_0x2f836a){const _0x1ebb5c=_0x1ebb();return _0x55bc=function(_0x55bcf9,_0x5124df){_0x55bcf9=_0x55bcf9-0x1e8;let _0x43aef0=_0x1ebb5c[_0x55bcf9];return _0x43aef0;},_0x55bc(_0x31274e,_0x2f836a);}export class AnnotationCounterButtonView extends _0x56b8ff{[_0x74f16b(0x200)];constructor(_0x2345d6){const _0x578e47=_0x74f16b;super(_0x2345d6);const _0x750a24=this[_0x578e47(0x203)];this[_0x578e47(0x1ec)](_0x578e47(0x1f7),!0x1),this[_0x578e47(0x1ec)](_0x578e47(0x1f2),0x0),this[_0x578e47(0x1ed)](_0x578e47(0x1f0))['to'](this,_0x578e47(0x1f7),this,_0x578e47(0x1f2),(_0x5abfec,_0x2ffe96)=>_0x5abfec?_0x578e47(0x1f6):_0x2ffe96[_0x578e47(0x205)]()),this[_0x578e47(0x1ec)](_0x578e47(0x1ff),''),this[_0x578e47(0x1fa)]=_0x337efa,this[_0x578e47(0x204)]({'attributes':{'class':[_0x578e47(0x1f1)]}}),this[_0x578e47(0x200)]=new _0x5ae9a4(),this[_0x578e47(0x200)][_0x578e47(0x1e8)]({'tag':_0x578e47(0x1fb),'attributes':{'class':[_0x578e47(0x1eb),_0x750a24['to'](_0x578e47(0x1ff),_0x568962=>_0x578e47(0x1f4)+_0x568962),_0x750a24['if'](_0x578e47(0x1f7),_0x578e47(0x202))]},'children':[{'text':_0x750a24['to'](_0x578e47(0x1f0))}]}),this[_0x578e47(0x1f5)][_0x578e47(0x1ee)](this[_0x578e47(0x200)]);}}function _0x1ebb(){const _0xe28632=['bind','add','2569782ykutlH','_badge','ck-annotation-counter','number','704504esMMgb','ck-annotation-counter__badge--','children','...','isDirty','7fzQNHh','3704418kCxDGl','icon','span','1242WGaqag','3258085fpxmnm','10825420OMGGfr','annotationType','counterView','1195564keZNUE','ck-annotation-counter__badge--edit-mode','bindTemplate','extendTemplate','toString','setTemplate','28016OKvmeG','4ygwKCU','ck-annotation-counter__badge','set'];_0x1ebb=function(){return _0xe28632;};return _0x1ebb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3706e1=_0x2a4d;(function(_0x3c395d,_0x32742c){const _0x55e614=_0x2a4d,_0x9aac90=_0x3c395d();while(!![]){try{const _0x937f85=parseInt(_0x55e614(0xe3))/0x1*(-parseInt(_0x55e614(0xe0))/0x2)+-parseInt(_0x55e614(0xc2))/0x3*(-parseInt(_0x55e614(0xcb))/0x4)+parseInt(_0x55e614(0xec))/0x5*(parseInt(_0x55e614(0xe7))/0x6)+parseInt(_0x55e614(0xeb))/0x7*(-parseInt(_0x55e614(0xd3))/0x8)+parseInt(_0x55e614(0xc7))/0x9+parseInt(_0x55e614(0xe6))/0xa+-parseInt(_0x55e614(0xdd))/0xb;if(_0x937f85===_0x32742c)break;else _0x9aac90['push'](_0x9aac90['shift']());}catch(_0x2e9f7d){_0x9aac90['push'](_0x9aac90['shift']());}}}(_0x500e,0x92e4b));import{View as _0x34046c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4ff4b1,KeystrokeHandler as _0x2dec0c,uid as _0xf7d79c}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x52ba71}from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';function _0x500e(){const _0x3c41b2=['5810XaErrb','155UQbJyn','mainView','element','content','listenTo','_mutationObserver','3566820gUihAA','attach','ck-rounded-corners','presentation','ck-annotation-wrapper','6747498oUFnGq','first','delegate','_updateHeight','4npekym','isActive','add','keystrokes','ck-annotation-wrapper--active','render','destroy','isDirty','1000ccxKoU','length','set','createCollection','div','clear','focus','setTemplate','clientHeight','targetRect','21847947MXDUhZ','detach','type','4766MWVHCY','height','fire','197eYjGnR','focusTracker','Esc','9024400SoFODu','61926OogsqM','bindTemplate','arrowdown','arrowup'];_0x500e=function(){return _0x3c41b2;};return _0x500e();}function _0x2a4d(_0x4045f3,_0xdadb9b){const _0x500e21=_0x500e();return _0x2a4d=function(_0x2a4d47,_0x4ffee3){_0x2a4d47=_0x2a4d47-0xbf;let _0x1269d1=_0x500e21[_0x2a4d47];return _0x1269d1;},_0x2a4d(_0x4045f3,_0xdadb9b);}export class AnnotationView extends _0x34046c{[_0x3706e1(0xe4)];['id'];[_0x3706e1(0xce)];[_0x3706e1(0xbf)];[_0x3706e1(0xed)];[_0x3706e1(0xc1)];constructor(_0x5c272d,_0x7b810a){const _0x245a88=_0x3706e1;super(_0x5c272d),this['id']=_0xf7d79c(),this[_0x245a88(0xe4)]=new _0x4ff4b1(),this[_0x245a88(0xce)]=new _0x2dec0c(),this[_0x245a88(0xce)][_0x245a88(0xd5)](_0x245a88(0xe5),(_0x1c86d1,_0x300140)=>this[_0x245a88(0xe2)](_0x245a88(0xe5),_0x300140)),this[_0x245a88(0xd5)](_0x245a88(0xdc),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0x245a88(0xd5)](_0x245a88(0xe1),0x0),this[_0x245a88(0xd5)](_0x245a88(0xcc),!0x1),this[_0x245a88(0xd5)](_0x245a88(0xd2),!0x1),this[_0x245a88(0xd5)](_0x245a88(0xd4),0x0),this[_0x245a88(0xd5)](_0x245a88(0xdf),''),this[_0x245a88(0xc1)]=_0x52ba71(()=>this[_0x245a88(0xca)]()),this[_0x245a88(0xbf)]=this[_0x245a88(0xd6)](),this[_0x245a88(0xbf)][_0x245a88(0xc9)](_0x245a88(0xea),_0x245a88(0xe9))['to'](this),this[_0x245a88(0xbf)][_0x245a88(0xcd)](_0x7b810a),this[_0x245a88(0xed)]=_0x7b810a;const _0x91c632=this[_0x245a88(0xe8)];this[_0x245a88(0xda)]({'tag':_0x245a88(0xd7),'attributes':{'class':['ck',_0x245a88(0xc6),_0x245a88(0xc4),_0x91c632['if'](_0x245a88(0xcc),_0x245a88(0xcf))],'role':_0x245a88(0xc5)},'children':this[_0x245a88(0xbf)]});}[_0x3706e1(0xd0)](){const _0x13fccf=_0x3706e1;super[_0x13fccf(0xd0)](),this[_0x13fccf(0xe4)][_0x13fccf(0xcd)](this[_0x13fccf(0xee)]),this[_0x13fccf(0xce)][_0x13fccf(0xc0)](this[_0x13fccf(0xee)]),this[_0x13fccf(0xc1)][_0x13fccf(0xc3)](this[_0x13fccf(0xee)]);}[_0x3706e1(0xd1)](){const _0x5b2be5=_0x3706e1;this[_0x5b2be5(0xbf)][_0x5b2be5(0xd8)](),this[_0x5b2be5(0xce)][_0x5b2be5(0xd1)](),this[_0x5b2be5(0xe4)][_0x5b2be5(0xd1)](),this[_0x5b2be5(0xc1)][_0x5b2be5(0xde)](),super[_0x5b2be5(0xd1)]();}[_0x3706e1(0xd9)](){const _0x1b1a44=_0x3706e1;this[_0x1b1a44(0xbf)][_0x1b1a44(0xc8)]&&this[_0x1b1a44(0xbf)][_0x1b1a44(0xc8)][_0x1b1a44(0xd9)]();}[_0x3706e1(0xca)](){const _0x1c41c3=_0x3706e1,_0x1a3a10=this[_0x1c41c3(0xee)][_0x1c41c3(0xdb)];_0x1a3a10&&(this[_0x1c41c3(0xe1)]=_0x1a3a10);}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0xdf4299=_0x3449;(function(_0x11a70d,_0x1aca5d){const _0x58528b=_0x3449,_0x4ae25e=_0x11a70d();while(!![]){try{const _0x340ee2=-parseInt(_0x58528b(0x186))/0x1+-parseInt(_0x58528b(0x173))/0x2+-parseInt(_0x58528b(0x189))/0x3+parseInt(_0x58528b(0x18e))/0x4*(-parseInt(_0x58528b(0x175))/0x5)+-parseInt(_0x58528b(0x180))/0x6*(-parseInt(_0x58528b(0x181))/0x7)+parseInt(_0x58528b(0x183))/0x8*(-parseInt(_0x58528b(0x178))/0x9)+parseInt(_0x58528b(0x18f))/0xa;if(_0x340ee2===_0x1aca5d)break;else _0x4ae25e['push'](_0x4ae25e['shift']());}catch(_0x49deb7){_0x4ae25e['push'](_0x4ae25e['shift']());}}}(_0x2f53,0xab672));import{View as _0x4d7ef5}from'ckeditor5/src/ui.js';function _0x3449(_0x5da6dd,_0x13c47b){const _0x2f53ee=_0x2f53();return _0x3449=function(_0x3449c0,_0x3fa045){_0x3449c0=_0x3449c0-0x16c;let _0xe04757=_0x2f53ee[_0x3449c0];return _0xe04757;},_0x3449(_0x5da6dd,_0x13c47b);}import{toUnit as _0x445b4d}from'ckeditor5/src/utils.js';import{createMutationObserver as _0x121896}from'../../utils/createmutationobserver.js';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x445b4d('px');export class AnnotationsSidebarItemView extends _0x4d7ef5{[_0xdf4299(0x17a)];[_0xdf4299(0x18a)];[_0xdf4299(0x170)];constructor(_0x505d9c){const _0x57a5db=_0xdf4299;super(_0x505d9c),this[_0x57a5db(0x188)](_0x57a5db(0x17b),0x0),this[_0x57a5db(0x188)](_0x57a5db(0x185),0x0),this[_0x57a5db(0x18c)](_0x57a5db(0x17d))['to'](this,_0x57a5db(0x17b),this,_0x57a5db(0x185),(_0x45d30a,_0x107130)=>_0x45d30a+_0x107130),this[_0x57a5db(0x188)](_0x57a5db(0x184),!0x1),this[_0x57a5db(0x170)]=_0x121896(()=>this[_0x57a5db(0x187)]()),this[_0x57a5db(0x18a)]=null,this[_0x57a5db(0x17a)]=this[_0x57a5db(0x18b)](),this[_0x57a5db(0x17a)][_0x57a5db(0x174)](_0x57a5db(0x17f),_0x57a5db(0x191))['to'](this);const _0xc75d48=this[_0x57a5db(0x17e)];this[_0x57a5db(0x176)]({'tag':_0x57a5db(0x16e),'attributes':{'class':[_0x57a5db(0x190),_0xc75d48['to'](_0x57a5db(0x184),_0x3486cd=>_0x3486cd?_0x57a5db(0x179):'')],'style':{'top':_0xc75d48['to'](_0x57a5db(0x17b),_0x4c27c5=>Ot(_0x4c27c5))},'role':_0x57a5db(0x18d)},'children':this[_0x57a5db(0x17a)]});}[_0xdf4299(0x17c)](){const _0x356417=_0xdf4299;super[_0x356417(0x17c)](),this[_0x356417(0x170)][_0x356417(0x16f)](this[_0x356417(0x16d)]);}[_0xdf4299(0x171)](){const _0x6d2985=_0xdf4299;this[_0x6d2985(0x17a)][_0x6d2985(0x192)]&&this[_0x6d2985(0x17a)][_0x6d2985(0x192)][_0x6d2985(0x171)]();}[_0xdf4299(0x187)](){const _0x13de07=_0xdf4299,_0x10c2d2=this[_0x13de07(0x16d)][_0x13de07(0x172)];_0x10c2d2&&(this[_0x13de07(0x185)]=_0x10c2d2);}[_0xdf4299(0x16c)](){const _0x15a7b6=_0xdf4299;this[_0x15a7b6(0x17a)][_0x15a7b6(0x182)](),this[_0x15a7b6(0x170)][_0x15a7b6(0x177)](),super[_0x15a7b6(0x16c)]();}}function _0x2f53(){const _0x33bdae=['790oyovuC','setTemplate','detach','98730zmcRqV','ck-sidebar-item--no-animation','content','top','render','bottom','bindTemplate','arrowup','6UAlHNz','9005731TwwFmU','clear','712EVmBSw','isAnimationDisabled','height','113740UVAcrW','updateHeight','set','210588vnggAF','_targetTop','createCollection','bind','presentation','24028TODtWy','15961500ojFLwj','ck-sidebar-item','arrowdown','first','destroy','element','div','attach','_mutationObserver','focus','clientHeight','142490PAoRLW','delegate'];_0x2f53=function(){return _0x33bdae;};return _0x2f53();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x68d694=_0x1f1c;(function(_0x377640,_0x14a2c6){const _0x586e70=_0x1f1c,_0x17da03=_0x377640();while(!![]){try{const _0x396968=-parseInt(_0x586e70(0x19e))/0x1*(parseInt(_0x586e70(0x189))/0x2)+parseInt(_0x586e70(0x178))/0x3*(parseInt(_0x586e70(0x18e))/0x4)+-parseInt(_0x586e70(0x18c))/0x5+parseInt(_0x586e70(0x1a0))/0x6+-parseInt(_0x586e70(0x173))/0x7+parseInt(_0x586e70(0x197))/0x8*(-parseInt(_0x586e70(0x196))/0x9)+parseInt(_0x586e70(0x17c))/0xa*(parseInt(_0x586e70(0x187))/0xb);if(_0x396968===_0x14a2c6)break;else _0x17da03['push'](_0x17da03['shift']());}catch(_0x3abfae){_0x17da03['push'](_0x17da03['shift']());}}}(_0x592e,0xa27b7));import{View as _0x5c9af3,FocusCycler as _0x5e8f37}from'ckeditor5/src/ui.js';function _0x592e(){const _0x4265a9=['div','focus','focusPrevious','ck-reset','change:top','179286xWIbOx','uiLanguageDirection','1413648eGBlkQ','added','delegate','focusables','change','ck-sidebar','createCollection','5147758XUgEQI','focusCycler','focusNext','remove','top','3573RmQGyR','application','arrowdown','source','170PbYbon','focusFirst','removed','Annotations\x20list','list','minHeight','length','arrowup','Annotations\x20sidebar','_updateItemPositionInFocusables','forEach','1186361cwbOiZ','add','12fFyeLw','getIndex','setTemplate','2292255DDiFiL','focusTracker','3972agUTWy','element','number','set','class','listenTo','render','bindTemplate','1424925vhRocd','16ZWKsWH','_setupKeyboardNavigation'];_0x592e=function(){return _0x4265a9;};return _0x592e();}import{FocusTracker as _0x1711d1,toUnit as _0xb33d43}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a1ab4}from'../../utils/common-translations.js';function _0x1f1c(_0xe08406,_0x133b7b){const _0x592e15=_0x592e();return _0x1f1c=function(_0x1f1ccb,_0x582562){_0x1f1ccb=_0x1f1ccb-0x16d;let _0x1f0ee0=_0x592e15[_0x1f1ccb];return _0x1f0ee0;},_0x1f1c(_0xe08406,_0x133b7b);}import'../../../theme/sidebar.css';const Ot=/* #__PURE__ -- @preserve */
|
|
24
|
+
_0xb33d43('px');export class AnnotationsSidebarView extends _0x5c9af3{[_0x68d694(0x180)];[_0x68d694(0x16f)];[_0x68d694(0x18d)];[_0x68d694(0x174)];constructor(_0x588869){const _0x1958de=_0x68d694;super(_0x588869);const _0x4f4c87=this[_0x1958de(0x195)];this[_0x1958de(0x191)](_0x1958de(0x181),0x0),this[_0x1958de(0x191)](_0x1958de(0x192),''),this[_0x1958de(0x180)]=this[_0x1958de(0x172)](),this[_0x1958de(0x16f)]=this[_0x1958de(0x172)](),this[_0x1958de(0x180)][_0x1958de(0x16e)](_0x1958de(0x183),_0x1958de(0x17a))['to'](this),this[_0x1958de(0x18d)]=new _0x1711d1(),this[_0x1958de(0x174)]=new _0x5e8f37({'focusables':this[_0x1958de(0x16f)],'focusTracker':this[_0x1958de(0x18d)]}),this[_0x1958de(0x18b)]({'tag':_0x1958de(0x199),'attributes':{'class':['ck',_0x1958de(0x171),_0x1958de(0x19c),_0x4f4c87['to'](_0x1958de(0x192))],'style':{'minHeight':_0x4f4c87['to'](_0x1958de(0x181),_0x21c1fa=>_0x1958de(0x190)==typeof _0x21c1fa?Ot(_0x21c1fa+0xa):null)},'dir':_0x588869[_0x1958de(0x19f)],'role':_0x1958de(0x179),'aria-label':_0x3a1ab4(_0x588869,_0x1958de(0x184)),'tabindex':0x0},'children':[{'tag':_0x1958de(0x199),'attributes':{'role':_0x1958de(0x180),'aria-label':_0x3a1ab4(_0x588869,_0x1958de(0x17f))},'children':this[_0x1958de(0x180)]}]});}[_0x68d694(0x194)](){const _0x4a201f=_0x68d694;super[_0x4a201f(0x194)](),this[_0x4a201f(0x198)]();}[_0x68d694(0x19a)](){const _0x29b25d=_0x68d694;this[_0x29b25d(0x174)][_0x29b25d(0x17d)]();}[_0x68d694(0x198)](){const _0x35ddf7=_0x68d694;this[_0x35ddf7(0x180)][_0x35ddf7(0x16e)](_0x35ddf7(0x19d))['to'](this),this['on'](_0x35ddf7(0x19d),_0x3dc3ce=>{const _0xb67aec=_0x35ddf7;this[_0xb67aec(0x185)](_0x3dc3ce[_0xb67aec(0x17b)]);}),this[_0x35ddf7(0x180)][_0x35ddf7(0x186)](_0x4ec142=>{const _0x4f938d=_0x35ddf7;this[_0x4f938d(0x18d)][_0x4f938d(0x188)](_0x4ec142[_0x4f938d(0x18f)]),this[_0x4f938d(0x185)](_0x4ec142);}),this[_0x35ddf7(0x180)]['on'](_0x35ddf7(0x170),(_0x54064f,_0x4aa73e)=>{const _0x69c022=_0x35ddf7;for(const _0x24d065 of _0x4aa73e[_0x69c022(0x17e)])this[_0x69c022(0x18d)][_0x69c022(0x176)](_0x24d065[_0x69c022(0x18f)]),this[_0x69c022(0x16f)][_0x69c022(0x176)](_0x24d065);for(const _0x2f8e24 of _0x4aa73e[_0x69c022(0x16d)])this[_0x69c022(0x18d)][_0x69c022(0x188)](_0x2f8e24[_0x69c022(0x18f)]),this[_0x69c022(0x185)](_0x2f8e24);}),this['on'](_0x35ddf7(0x183),()=>{const _0x4f3b79=_0x35ddf7;this[_0x4f3b79(0x174)][_0x4f3b79(0x19b)]();}),this['on'](_0x35ddf7(0x17a),()=>{const _0x3412fe=_0x35ddf7;this[_0x3412fe(0x174)][_0x3412fe(0x175)]();}),this[_0x35ddf7(0x193)](this[_0x35ddf7(0x18f)],_0x35ddf7(0x19a),()=>{const _0x267272=_0x35ddf7;this[_0x267272(0x19a)]();});}[_0x68d694(0x185)](_0x206bfa){const _0x2c55b8=_0x68d694,_0x36aae0=this[_0x2c55b8(0x16f)][_0x2c55b8(0x18a)](_0x206bfa);let _0x1397f2,_0x50b2c5;for(const _0x37d863 of this[_0x2c55b8(0x16f)])if(_0x206bfa[_0x2c55b8(0x177)]<_0x37d863[_0x2c55b8(0x177)]){_0x1397f2=_0x37d863;break;}if(_0x50b2c5=_0x1397f2?this[_0x2c55b8(0x16f)][_0x2c55b8(0x18a)](_0x1397f2):this[_0x2c55b8(0x16f)][_0x2c55b8(0x182)],-0x1!==_0x36aae0){if(_0x36aae0===_0x50b2c5-0x1)return;this[_0x2c55b8(0x16f)][_0x2c55b8(0x176)](_0x206bfa),_0x50b2c5=_0x1397f2?this[_0x2c55b8(0x16f)][_0x2c55b8(0x18a)](_0x1397f2):this[_0x2c55b8(0x16f)][_0x2c55b8(0x182)];}this[_0x2c55b8(0x16f)][_0x2c55b8(0x188)](_0x206bfa,_0x50b2c5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e8510=_0x2141;(function(_0x365182,_0x5cdc0f){const _0x5d3820=_0x2141,_0x410f50=_0x365182();while(!![]){try{const _0x410dc0=-parseInt(_0x5d3820(0x14a))/0x1*(-parseInt(_0x5d3820(0x16a))/0x2)+parseInt(_0x5d3820(0x15b))/0x3+parseInt(_0x5d3820(0x145))/0x4+-parseInt(_0x5d3820(0x155))/0x5+-parseInt(_0x5d3820(0x162))/0x6+-parseInt(_0x5d3820(0x13c))/0x7*(-parseInt(_0x5d3820(0x13e))/0x8)+parseInt(_0x5d3820(0x157))/0x9*(-parseInt(_0x5d3820(0x16f))/0xa);if(_0x410dc0===_0x5cdc0f)break;else _0x410f50['push'](_0x410f50['shift']());}catch(_0x46fb43){_0x410f50['push'](_0x410f50['shift']());}}}(_0x1aa2,0xe9fb9));import{ContextPlugin as _0x2d9f4b,Context as _0x80c4cb}from'ckeditor5/src/core.js';import{AnnotationsUIs as _0x43a1f6}from'./annotationsuis.js';function _0x1aa2(){const _0x168648=['rearrange','add','EditorAnnotations','switchTo','5010480iRcfAb','high','72KsBbvr','get','_editorAnnotations','editors','4176069YyrNVz','isOfficialPlugin','from','stop','init','_detachFromContainer','context','8459220mkxQUC','Annotations','ready','addEventListener','activeAnnotation','change:container','remove','widesidebar-detach-not-attached','8coUyuB','container','uiUpdate','attach','_refreshPositioningDebounced','436090fCoriP','set','_annotations','set:container','widesidebar-attach-already-attached','isAttached','removeEventListener','_attachToContainer','requires','_integrateWithEditorAnnotations','cancel','destroy','plugins','stopListening','WideSidebar','annotations','updateTargetRect','resize','_destroyEditorAnnotationsIntegration','wideSidebar','refresh','4382npvcVW','_activeAnnotation','12280QwRZGH','refreshPositioning','focus','setActiveAnnotation','refreshVisibility','addAnnotation','pluginName','1924680BGVJYO','ck-sidebar--wide','hasDomSelection','detach','blur','221282hvULVY','listenTo','isPremiumPlugin','getOrderedSelectedAnnotations','off','has','register'];_0x1aa2=function(){return _0x168648;};return _0x1aa2();}import{Sidebar as _0x437258}from'./sidebar.js';import{CKEditorError as _0x4efd87,Collection as _0x1b6456}from'ckeditor5/src/utils.js';function _0x2141(_0x1f7d9d,_0x332371){const _0x1aa268=_0x1aa2();return _0x2141=function(_0x214112,_0x4202ca){_0x214112=_0x214112-0x13b;let _0x2fd74b=_0x1aa268[_0x214112];return _0x2fd74b;},_0x2141(_0x1f7d9d,_0x332371);}import{debounce as _0x110519}from'es-toolkit/compat';export class WideSidebar extends _0x2d9f4b{[_0x1e8510(0x174)];[_0x1e8510(0x17e)];[_0x1e8510(0x159)];[_0x1e8510(0x16e)];static get[_0x1e8510(0x177)](){return[_0x437258,_0x43a1f6];}static get[_0x1e8510(0x144)](){const _0x85dbb7=_0x1e8510;return _0x85dbb7(0x17d);}static get[_0x1e8510(0x15c)](){return!0x0;}static get[_0x1e8510(0x14c)](){return!0x0;}constructor(_0x1f0b7e){const _0xeec58c=_0x1e8510;super(_0x1f0b7e),this[_0xeec58c(0x174)]=!0x1,this[_0xeec58c(0x170)](_0xeec58c(0x166),null),this[_0xeec58c(0x17e)]=null,this[_0xeec58c(0x159)]=new _0x1b6456(),this[_0xeec58c(0x16e)]=_0x110519(()=>{const _0x46867=_0xeec58c;_0x1f0b7e[_0x46867(0x17b)][_0x46867(0x158)](_0x46867(0x163))[_0x46867(0x142)](),this[_0x46867(0x17e)][_0x46867(0x13f)]();},0xfa,{'leading':!0x1});}[_0x1e8510(0x15f)](){const _0x4a9e5=_0x1e8510,_0x5e99f9=this[_0x4a9e5(0x161)][_0x4a9e5(0x17b)][_0x4a9e5(0x158)](_0x43a1f6),_0x431bb7=this[_0x4a9e5(0x161)][_0x4a9e5(0x17b)][_0x4a9e5(0x158)](_0x437258);_0x5e99f9[_0x4a9e5(0x150)](_0x4a9e5(0x182),this),_0x431bb7[_0x4a9e5(0x16b)]&&_0x5e99f9[_0x4a9e5(0x154)](_0x4a9e5(0x182));}[_0x1e8510(0x141)](_0x3931be){const _0x542549=_0x1e8510;if(_0x3931be===this[_0x542549(0x166)])return;const _0x105e95=this[_0x542549(0x161)][_0x542549(0x17b)][_0x542549(0x158)](_0x437258);_0x105e95[_0x542549(0x13d)]=_0x3931be;const _0x4dd0b9=this[_0x542549(0x166)];_0x105e95[_0x542549(0x13b)]({'blurredAnnotation':_0x4dd0b9,'activatedAnnotation':_0x3931be}),this[_0x542549(0x166)]=_0x3931be;}[_0x1e8510(0x16d)](_0x3d1ab3){const _0x38c526=_0x1e8510;this[_0x38c526(0x17e)]=_0x3d1ab3;const _0x151a80=this[_0x38c526(0x161)][_0x38c526(0x17b)][_0x38c526(0x158)](_0x437258);if(_0x151a80[_0x38c526(0x171)]=_0x3d1ab3,this[_0x38c526(0x174)])throw new _0x4efd87(_0x38c526(0x173),this);this[_0x38c526(0x174)]=!0x0,this[_0x38c526(0x14b)](_0x151a80,_0x38c526(0x172),()=>{const _0x344c7d=_0x38c526;this[_0x344c7d(0x148)](),this[_0x344c7d(0x14b)](_0x151a80,_0x344c7d(0x167),_0x12f36a=>{const _0xd74bcc=_0x344c7d;_0x12f36a[_0xd74bcc(0x14e)](),this[_0xd74bcc(0x16d)](_0x3d1ab3);});}),_0x151a80[_0x38c526(0x176)]({'viewClass':_0x38c526(0x146)});const _0x37d885=_0x37b18a=>{const _0x2802c1=_0x38c526;_0x37b18a[_0x2802c1(0x17f)](),_0x151a80[_0x2802c1(0x143)](_0x37b18a);};for(const _0x2b6a2a of _0x3d1ab3)_0x37d885(_0x2b6a2a);this[_0x38c526(0x14b)](_0x3d1ab3,_0x38c526(0x152),(_0x5a707f,_0x38b374)=>{_0x37d885(_0x38b374);}),this[_0x38c526(0x14b)](_0x3d1ab3,_0x38c526(0x168),(_0x891402,_0x3f9477,_0x2749ce)=>{const _0x5cd8e3=_0x38c526;_0x151a80[_0x5cd8e3(0x151)]({'removedAnnotation':_0x3f9477,'previousAnnotation':_0x3d1ab3[_0x5cd8e3(0x158)](_0x2749ce-0x1),'nextAnnotation':_0x3d1ab3[_0x5cd8e3(0x158)](_0x2749ce+0x1)}),_0x3f9477===this[_0x5cd8e3(0x166)]&&this[_0x5cd8e3(0x141)](null);},{'priority':_0x38c526(0x156)}),this[_0x38c526(0x14b)](_0x3d1ab3,_0x38c526(0x140),(_0x4429c4,_0x1118f4)=>{const _0x1a9b8c=_0x38c526;this[_0x1a9b8c(0x141)](_0x1118f4);}),this[_0x38c526(0x14b)](_0x3d1ab3,_0x38c526(0x149),()=>{const _0x2b5cb9=_0x38c526;this[_0x2b5cb9(0x141)](null);});const _0x36d4ab=this[_0x38c526(0x161)]instanceof _0x80c4cb?this[_0x38c526(0x161)][_0x38c526(0x15a)]:new _0x1b6456([this[_0x38c526(0x161)]]);for(const _0x2f2fbd of _0x36d4ab)this[_0x38c526(0x178)](_0x2f2fbd);this[_0x38c526(0x14b)](_0x36d4ab,_0x38c526(0x152),(_0x5e0f51,_0x5a4bce)=>{const _0x39ea90=_0x38c526;this[_0x39ea90(0x14b)](_0x5a4bce,_0x39ea90(0x164),()=>{const _0x3f6e12=_0x39ea90;this[_0x3f6e12(0x178)](_0x5a4bce);});}),this[_0x38c526(0x14b)](_0x36d4ab,_0x38c526(0x168),(_0x54fa65,_0x2cf8a3)=>{const _0xf09f18=_0x38c526;_0x2cf8a3[_0xf09f18(0x17b)][_0xf09f18(0x14f)](_0xf09f18(0x153))&&this[_0xf09f18(0x181)](_0x2cf8a3[_0xf09f18(0x17b)][_0xf09f18(0x158)](_0xf09f18(0x153)));}),window[_0x38c526(0x165)](_0x38c526(0x180),this[_0x38c526(0x16e)]),this[_0x38c526(0x161)][_0x38c526(0x17b)][_0x38c526(0x158)](_0x38c526(0x163))[_0x38c526(0x142)](),this[_0x38c526(0x17e)][_0x38c526(0x13f)]();}[_0x1e8510(0x148)](){const _0x53a7bc=_0x1e8510;if(!this[_0x53a7bc(0x174)])throw new _0x4efd87(_0x53a7bc(0x169),this);this[_0x53a7bc(0x141)](null);const _0xc4934f=this[_0x53a7bc(0x161)][_0x53a7bc(0x17b)][_0x53a7bc(0x158)](_0x437258);_0xc4934f[_0x53a7bc(0x160)](this[_0x53a7bc(0x17e)]),this[_0x53a7bc(0x17c)](_0xc4934f),this[_0x53a7bc(0x17c)](this[_0x53a7bc(0x17e)]),this[_0x53a7bc(0x161)]instanceof _0x80c4cb&&this[_0x53a7bc(0x17c)](this[_0x53a7bc(0x161)][_0x53a7bc(0x15a)]);for(const _0x4b9414 of Array[_0x53a7bc(0x15d)](this[_0x53a7bc(0x159)]))this[_0x53a7bc(0x181)](_0x4b9414);window[_0x53a7bc(0x175)](_0x53a7bc(0x180),this[_0x53a7bc(0x16e)]),this[_0x53a7bc(0x16e)][_0x53a7bc(0x179)](),this[_0x53a7bc(0x166)]=null,this[_0x53a7bc(0x174)]=!0x1,this[_0x53a7bc(0x17e)]=null;}[_0x1e8510(0x17a)](){const _0x512d9a=_0x1e8510;this[_0x512d9a(0x174)]&&this[_0x512d9a(0x148)]();}[_0x1e8510(0x178)](_0xf61a32){const _0x2c29e6=_0x1e8510;if(!_0xf61a32[_0x2c29e6(0x17b)][_0x2c29e6(0x14f)](_0x2c29e6(0x153)))return;const _0x26dbf2=_0xf61a32[_0x2c29e6(0x17b)][_0x2c29e6(0x158)](_0x2c29e6(0x153)),_0x447d42=()=>{const _0xeea97a=_0x2c29e6,_0x17287a=_0x26dbf2[_0xeea97a(0x14d)]({'annotations':this[_0xeea97a(0x17e)],'activeAnnotation':this[_0xeea97a(0x166)]});this[_0xeea97a(0x141)](_0x17287a[0x0]||null);};this[_0x2c29e6(0x14b)](_0x26dbf2,_0x2c29e6(0x13b),_0x447d42),this[_0x2c29e6(0x14b)](_0x26dbf2,_0x2c29e6(0x149),(_0x9ec7dd,{isAnnotationTracked:_0x5ca833})=>{const _0x445397=_0x2c29e6;this[_0x445397(0x166)]&&_0x5ca833(this[_0x445397(0x166)])&&this[_0x445397(0x141)](null);}),this[_0x2c29e6(0x14b)](_0x26dbf2,_0x2c29e6(0x16c),()=>{const _0x319a6c=_0x2c29e6;this[_0x319a6c(0x16e)]();}),this[_0x2c29e6(0x14b)](this[_0x2c29e6(0x17e)],_0x2c29e6(0x149),_0x3a5979=>{const _0xc3877=_0x2c29e6;_0x26dbf2[_0xc3877(0x147)]()&&(_0x447d42(),_0x3a5979[_0xc3877(0x15e)]());},{'priority':_0x2c29e6(0x156)}),this[_0x2c29e6(0x159)][_0x2c29e6(0x152)](_0x26dbf2);}[_0x1e8510(0x181)](_0x133676){const _0x3164e3=_0x1e8510;this[_0x3164e3(0x17c)](_0x133676),this[_0x3164e3(0x159)][_0x3164e3(0x168)](_0x133676);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1282d1=_0x229b;function _0x229b(_0x11d7ff,_0x111d0d){const _0x15772e=_0x1577();return _0x229b=function(_0x229b10,_0x340b9e){_0x229b10=_0x229b10-0xd5;let _0x218ac3=_0x15772e[_0x229b10];return _0x218ac3;},_0x229b(_0x11d7ff,_0x111d0d);}(function(_0x3502c9,_0xb9747f){const _0x27fc3f=_0x229b,_0x1da3a4=_0x3502c9();while(!![]){try{const _0x119480=parseInt(_0x27fc3f(0xe8))/0x1+parseInt(_0x27fc3f(0x105))/0x2*(-parseInt(_0x27fc3f(0xd5))/0x3)+-parseInt(_0x27fc3f(0xeb))/0x4*(-parseInt(_0x27fc3f(0xfc))/0x5)+parseInt(_0x27fc3f(0xdf))/0x6*(-parseInt(_0x27fc3f(0xff))/0x7)+parseInt(_0x27fc3f(0xd8))/0x8*(-parseInt(_0x27fc3f(0x103))/0x9)+-parseInt(_0x27fc3f(0xee))/0xa+parseInt(_0x27fc3f(0xe2))/0xb;if(_0x119480===_0xb9747f)break;else _0x1da3a4['push'](_0x1da3a4['shift']());}catch(_0x3dfac0){_0x1da3a4['push'](_0x1da3a4['shift']());}}}(_0x1577,0x32316));import{Command as _0x5856b0}from'ckeditor5/src/core.js';function _0x1577(){const _0x5cfeb8=['7888mdqNpY','plugins','backward','1225850iekNPD','execute','selection','addcommentthreadcommand-incorrect-ranges','comment:','from','end','getItems','change','CommentsRepository','_hasContent','schema','addMarker','hasContent','385UndkmM','document','addCommentThread','35483slmmSH','_createMarkersFromRanges','tableCell','get','117gjBlvP','length','1004KTaqxG','set','getRanges','_itemIsContent','config','$textProxy','1719qSZsmV','_trimToContent','model','142344nEbOOv','collaboration.channelId','_createCommentThread','isObject','push','isEnabled','element','12pTcUkF','substr','start','4888499fouSnK','createRange','editor','addcommentthreadcommand-user-not-found','getLastMatchingPosition','Users','261015sLrCob','refresh','item'];_0x1577=function(){return _0x5cfeb8;};return _0x1577();}import{uid as _0x5de91f,CKEditorError as _0x514310}from'ckeditor5/src/utils.js';export class AddCommentThreadCommand extends _0x5856b0{constructor(_0x3b83d1){const _0x4fdeb8=_0x229b;super(_0x3b83d1),this[_0x4fdeb8(0x106)](_0x4fdeb8(0xfb),!0x1);}[_0x1282d1(0xe9)](){const _0x3ff3f2=_0x1282d1,_0xbaa6b8=this[_0x3ff3f2(0xe4)][_0x3ff3f2(0xd7)][_0x3ff3f2(0xfd)][_0x3ff3f2(0xf0)];this[_0x3ff3f2(0xdd)]=!0x0,this[_0x3ff3f2(0xfb)]=!0x1;for(const _0x4b6118 of _0xbaa6b8[_0x3ff3f2(0x107)]())if(this[_0x3ff3f2(0xf8)](_0x4b6118))return void(this[_0x3ff3f2(0xfb)]=!0x0);}[_0x1282d1(0xef)]({threadId:_0xb29657=_0x5de91f(),ranges:_0x1cc690,comment:_0x4e3762}={}){const _0x2b9eff=_0x1282d1,_0x367e69=this[_0x2b9eff(0xe4)][_0x2b9eff(0xd7)],_0x4ecf74=_0x1cc690??Array[_0x2b9eff(0xf3)](_0x367e69[_0x2b9eff(0xfd)][_0x2b9eff(0xf0)][_0x2b9eff(0x107)]()),_0x13ae34=[];for(const _0x3da7d1 of _0x4ecf74)this[_0x2b9eff(0xf8)](_0x3da7d1)&&_0x13ae34[_0x2b9eff(0xdc)](this[_0x2b9eff(0xd6)](_0x3da7d1));if(!_0x13ae34[_0x2b9eff(0x104)])throw new _0x514310(_0x2b9eff(0xf1),null);_0x4e3762&&this[_0x2b9eff(0xda)](_0xb29657,_0x4e3762),this[_0x2b9eff(0x100)](_0xb29657,_0x13ae34,!!_0x4e3762);}[_0x1282d1(0x100)](_0x549eb8,_0x45b6a5,_0x2475f6){const _0x2f7fa7=_0x1282d1;this[_0x2f7fa7(0xe4)][_0x2f7fa7(0xd7)][_0x2f7fa7(0xf6)](_0x32abaa=>{const _0x105b89=_0x2f7fa7;for(const _0x17764c of _0x45b6a5){const _0x331dd0=_0x5de91f()[_0x105b89(0xe0)](0x1,0x5),_0x481654=_0x105b89(0xf2)+_0x549eb8+':'+_0x331dd0;_0x32abaa[_0x105b89(0xfa)](_0x481654,{'range':_0x17764c,'usingOperation':_0x2475f6,'affectsData':_0x2475f6});}});}[_0x1282d1(0xda)](_0x1af1fb,_0x20bf8e){const _0x325f02=_0x1282d1,_0x26b61e=this[_0x325f02(0xe4)][_0x325f02(0xec)][_0x325f02(0x102)](_0x325f02(0xf7)),_0x4ceaf5=this[_0x325f02(0xe4)][_0x325f02(0x109)][_0x325f02(0x102)](_0x325f02(0xd9)),_0x560035=this[_0x325f02(0xe4)][_0x325f02(0xec)][_0x325f02(0x102)](_0x325f02(0xe7))['me'];if(!_0x560035)throw new _0x514310(_0x325f02(0xe5),null);_0x26b61e[_0x325f02(0xfe)]({'threadId':_0x1af1fb,'channelId':_0x4ceaf5,'comments':[{'authorId':_0x560035['id'],'content':_0x20bf8e,'createdAt':new Date(),'attributes':{}}]});}[_0x1282d1(0xf8)](_0x317e7b){const _0x31a12e=_0x1282d1;for(const _0x18ab04 of _0x317e7b[_0x31a12e(0xf5)]())if(this[_0x31a12e(0x108)](_0x18ab04))return!0x0;return!0x1;}[_0x1282d1(0x108)](_0x49077a){const _0x1ad200=_0x1282d1;return _0x49077a['is'](_0x1ad200(0x10a))||this[_0x1ad200(0xe4)][_0x1ad200(0xd7)][_0x1ad200(0xf9)][_0x1ad200(0xdb)](_0x49077a)&&!_0x49077a['is'](_0x1ad200(0xde),_0x1ad200(0x101));}[_0x1282d1(0xd6)](_0xa3ad44){const _0x35d2e9=_0x1282d1,_0x24b8d8=_0x318805=>!this[_0x35d2e9(0x108)](_0x318805[_0x35d2e9(0xea)]),_0x4b9539=_0xa3ad44[_0x35d2e9(0xe1)][_0x35d2e9(0xe6)](_0x24b8d8),_0x477600=_0xa3ad44[_0x35d2e9(0xf4)][_0x35d2e9(0xe6)](_0x24b8d8,{'direction':_0x35d2e9(0xed)});return this[_0x35d2e9(0xe4)][_0x35d2e9(0xd7)][_0x35d2e9(0xe3)](_0x4b9539,_0x477600);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x6d0ab3=_0x3f39;function _0x1b98(){const _0x60f935=['remove','focus','isPremiumPlugin','_calculatePosition','isActive','403251sZtLBk','plugins','get','13686714dHcBJx','has','archivedThreads','5hMjPsH','activate','11253704NlcwXo','addCommentThread','add','length','isVisible','getCommentThread','change:archivedAt','isOfficialPlugin','removeCommentThread','pluginName','stopListening','collection','listenTo','highest','findIndex','archivedAt','8nsVLak','18jiMlPF','context','241926rQCNAi','65029580hNRiaP','458560nQXYbL','init','CommentsArchive','3222940rHvXCv','requires'];_0x1b98=function(){return _0x60f935;};return _0x1b98();}(function(_0x31719e,_0x2a8b97){const _0x49b8be=_0x3f39,_0x142615=_0x31719e();while(!![]){try{const _0x294fc8=-parseInt(_0x49b8be(0x180))/0x1+-parseInt(_0x49b8be(0x17c))/0x2*(parseInt(_0x49b8be(0x18a))/0x3)+-parseInt(_0x49b8be(0x183))/0x4+-parseInt(_0x49b8be(0x190))/0x5*(-parseInt(_0x49b8be(0x17e))/0x6)+-parseInt(_0x49b8be(0x192))/0x7+parseInt(_0x49b8be(0x17b))/0x8*(-parseInt(_0x49b8be(0x18d))/0x9)+parseInt(_0x49b8be(0x17f))/0xa;if(_0x294fc8===_0x2a8b97)break;else _0x142615['push'](_0x142615['shift']());}catch(_0x256e03){_0x142615['push'](_0x142615['shift']());}}}(_0x1b98,0xe5b0d));function _0x3f39(_0x5c543d,_0xc22900){const _0x1b9868=_0x1b98();return _0x3f39=function(_0x3f392f,_0x572329){_0x3f392f=_0x3f392f-0x17b;let _0x40f9c5=_0x1b9868[_0x3f392f];return _0x40f9c5;},_0x3f39(_0x5c543d,_0xc22900);}import{ContextPlugin as _0x8f70d2}from'ckeditor5/src/core.js';import{Collection as _0xc642b}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x49feb8}from'./commentsrepository.js';import{Annotations as _0x354a96}from'../annotations/annotations.js';export class CommentsArchive extends _0x8f70d2{static get[_0x6d0ab3(0x19b)](){const _0x432bfd=_0x6d0ab3;return _0x432bfd(0x182);}static get[_0x6d0ab3(0x199)](){return!0x0;}static get[_0x6d0ab3(0x187)](){return!0x0;}static get[_0x6d0ab3(0x184)](){return[_0x49feb8,_0x354a96];}constructor(_0x4243eb){const _0x316bf9=_0x6d0ab3;super(_0x4243eb),this[_0x316bf9(0x18f)]=new _0xc642b();}[_0x6d0ab3(0x181)](){const _0x3844f4=_0x6d0ab3,_0x2adfb1=this[_0x3844f4(0x17d)],_0xd53dad=_0x2adfb1[_0x3844f4(0x18b)][_0x3844f4(0x18c)](_0x49feb8),_0x43e0d9=_0x2adfb1[_0x3844f4(0x18b)][_0x3844f4(0x18c)](_0x354a96);this[_0x3844f4(0x19e)](_0xd53dad,_0x3844f4(0x193),(_0xd3d685,{threadId:_0x46befe})=>{const _0xe72041=_0x3844f4,_0x7eeca2=_0xd53dad[_0xe72041(0x197)](_0x46befe);_0x7eeca2[_0xe72041(0x1a1)]&&this[_0xe72041(0x18f)][_0xe72041(0x194)](_0x7eeca2,this[_0xe72041(0x188)](_0x7eeca2[_0xe72041(0x1a1)])),this[_0xe72041(0x19e)](_0x7eeca2,_0xe72041(0x198),(_0x10ea0d,_0x304404,_0x35af5a)=>{const _0x2a7606=_0xe72041;_0x35af5a?this[_0x2a7606(0x18f)][_0x2a7606(0x18e)](_0x7eeca2)||this[_0x2a7606(0x18f)][_0x2a7606(0x194)](_0x7eeca2,this[_0x2a7606(0x188)](_0x7eeca2[_0x2a7606(0x1a1)])):this[_0x2a7606(0x18f)][_0x2a7606(0x18e)](_0x7eeca2)&&this[_0x2a7606(0x18f)][_0x2a7606(0x185)](_0x7eeca2);});}),this[_0x3844f4(0x19e)](_0xd53dad,_0x3844f4(0x19a),(_0x76f124,{threadId:_0x483093})=>{const _0x4216e8=_0x3844f4,_0x2031f1=_0xd53dad[_0x4216e8(0x197)](_0x483093);this[_0x4216e8(0x19c)](_0x2031f1),this[_0x4216e8(0x18f)][_0x4216e8(0x18e)](_0x2031f1)&&this[_0x4216e8(0x18f)][_0x4216e8(0x185)](_0x2031f1);},{'priority':_0x3844f4(0x19f)}),this[_0x3844f4(0x19e)](_0x43e0d9[_0x3844f4(0x19d)],_0x3844f4(0x186),(_0xb87eb8,_0x31941e)=>{const _0x5730ff=_0x3844f4;_0x31941e[_0x5730ff(0x196)]||(_0x31941e[_0x5730ff(0x189)]=!0x0,_0x43e0d9[_0x5730ff(0x191)](_0x31941e));});}[_0x6d0ab3(0x188)](_0x30b321){const _0x403417=_0x6d0ab3,_0x5e025a=[...this[_0x403417(0x18f)]][_0x403417(0x1a0)](_0x4c7ebd=>_0x4c7ebd[_0x403417(0x1a1)]<_0x30b321);return _0x5e025a>-0x1?_0x5e025a:this[_0x403417(0x18f)][_0x403417(0x195)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x52c2cf=_0x4167;(function(_0x17c60e,_0x1dfaba){const _0x192cdf=_0x4167,_0xa3b257=_0x17c60e();while(!![]){try{const _0x1c8e49=parseInt(_0x192cdf(0x15c))/0x1*(parseInt(_0x192cdf(0x172))/0x2)+-parseInt(_0x192cdf(0x170))/0x3+-parseInt(_0x192cdf(0x13f))/0x4+parseInt(_0x192cdf(0x145))/0x5+parseInt(_0x192cdf(0x167))/0x6*(-parseInt(_0x192cdf(0x156))/0x7)+parseInt(_0x192cdf(0x159))/0x8+parseInt(_0x192cdf(0x133))/0x9*(parseInt(_0x192cdf(0x13e))/0xa);if(_0x1c8e49===_0x1dfaba)break;else _0xa3b257['push'](_0xa3b257['shift']());}catch(_0x28a0fa){_0xa3b257['push'](_0xa3b257['shift']());}}}(_0x3652,0x5fc32));function _0x4167(_0x49e487,_0x1f15ed){const _0x36523f=_0x3652();return _0x4167=function(_0x4167f8,_0x5c9dda){_0x4167f8=_0x4167f8-0x12c;let _0x300795=_0x36523f[_0x4167f8];return _0x300795;},_0x4167(_0x49e487,_0x1f15ed);}import'../../theme/commentsarchive.css';import{Plugin as _0x110cf6}from'ckeditor5/src/core.js';import{IconCommentsArchive as _0x441b55}from'ckeditor5/src/icons.js';function _0x3652(){const _0x3349ea=['hide','_addAnnotationToArchive','editor','isEnabled','Annotations','requires','execute','310qDqDqh','647808rEsikI','bind','EDITOR_TOP_SIDE','isOfficialPlugin','archivedThreads','set','1332180bYiDJX','forEach','return','isVisible','menuitemcheckbox','escape','view','stop','push','collection','splice','add','CommentsArchiveUI','focusableElements','_toggleDialog','set:isVisible','_hideDialogOnAnnotationEscape','1018311dXfHxj','commentsArchive','show','6017632WLQRaj','menuBar:commentsArchive','init','6997HmdKrs','_visibleAnnotations','get','config','collaboration.channelId','source','getByInnerView','_createCommentsArchiveButton','remove','_handleNewThread','_threadToController','12fmbAwS','_calculatePosition','indexOf','isOpen','isPremiumPlugin','findIndex','filter','stopListening','annotationViews','2195316ElLEMM','locale','98ZWwVPu','isOn','Dialog','_pendingThreads','COMMENTS_ARCHIVE','innerView','has','plugins','channelId','archivedAt','find','length','tooltip','includes','pluginName','commentsArchiveView','62541VEbEOe','CommentsRepository','listenTo','componentFactory'];_0x3652=function(){return _0x3349ea;};return _0x3652();}import{ViewCollection as _0x1aa42b,MenuBarMenuListItemButtonView as _0x5039fd,ButtonView as _0x80a5d5,Dialog as _0x51a811,DialogViewPosition as _0x5f36ee}from'ckeditor5/src/ui.js';import{getTranslation as _0x5766c3}from'../utils/common-translations.js';import{CommentsArchiveView as _0x3ac859}from'./ui/view/commentsarchiveview.js';import{CommentsArchive as _0x1800b6}from'./commentsarchive.js';export class CommentsArchiveUI extends _0x110cf6{[_0x52c2cf(0x132)];[_0x52c2cf(0x16f)];[_0x52c2cf(0x175)];static get[_0x52c2cf(0x131)](){const _0x14e691=_0x52c2cf;return _0x14e691(0x151);}static get[_0x52c2cf(0x142)](){return!0x0;}static get[_0x52c2cf(0x16b)](){return!0x0;}static get[_0x52c2cf(0x13c)](){return[_0x1800b6,_0x51a811];}constructor(_0xbc3732){const _0x2eb935=_0x52c2cf;super(_0xbc3732),this[_0x2eb935(0x16f)]=new _0x1aa42b(),this[_0x2eb935(0x175)]=[];}[_0x52c2cf(0x15b)](){const _0x383c5f=_0x52c2cf,_0x479a1e=this[_0x383c5f(0x139)],_0x378f46=this[_0x383c5f(0x155)][_0x383c5f(0x140)](this);_0x479a1e['ui'][_0x383c5f(0x136)][_0x383c5f(0x150)](_0x383c5f(0x157),()=>this[_0x383c5f(0x163)](_0x80a5d5,!0x0)),_0x479a1e['ui'][_0x383c5f(0x136)][_0x383c5f(0x150)](_0x383c5f(0x15a),()=>{const _0x17d612=_0x383c5f,_0x224290=this[_0x17d612(0x163)](_0x5039fd);return _0x224290[_0x17d612(0x144)]({'role':_0x17d612(0x149)}),_0x224290;});const _0x1536d1=_0x479a1e[_0x383c5f(0x179)][_0x383c5f(0x15e)](_0x1800b6),_0x10b986=_0x479a1e[_0x383c5f(0x179)][_0x383c5f(0x15e)](_0x383c5f(0x13b)),_0x59db6c=_0x479a1e[_0x383c5f(0x179)][_0x383c5f(0x15e)](_0x383c5f(0x134));_0x1536d1[_0x383c5f(0x143)][_0x383c5f(0x146)](_0x4be2d3=>{const _0xfab5fe=_0x383c5f;this[_0xfab5fe(0x165)](_0x4be2d3);}),this[_0x383c5f(0x135)](_0x1536d1[_0x383c5f(0x143)],_0x383c5f(0x150),(_0x55513a,_0x2ea299)=>{const _0x4df026=_0x383c5f;this[_0x4df026(0x165)](_0x2ea299);}),this[_0x383c5f(0x135)](_0x10b986[_0x383c5f(0x14e)],_0x383c5f(0x150),(_0xef41ff,_0x100f59)=>{const _0x127781=_0x383c5f,_0x140f64=this[_0x127781(0x175)][_0x127781(0x12d)](_0x41392b=>{const _0x31b1c5=_0x127781,_0x4b89c9=_0x59db6c[_0x31b1c5(0x166)][_0x31b1c5(0x15e)](_0x41392b);return _0x4b89c9&&_0x100f59[_0x31b1c5(0x177)]===_0x4b89c9[_0x31b1c5(0x14b)];});if(_0x140f64){const _0x51589e=this[_0x127781(0x168)](_0x140f64[_0x127781(0x12c)]);this[_0x127781(0x138)](_0x100f59,_0x51589e),this[_0x127781(0x175)][_0x127781(0x14f)](this[_0x127781(0x175)][_0x127781(0x169)](_0x140f64),0x1);}}),this[_0x383c5f(0x135)](_0x1536d1[_0x383c5f(0x143)],_0x383c5f(0x164),(_0x4e59cc,_0x394b6d)=>{const _0x12aae1=_0x383c5f,_0x488fc3=_0x479a1e[_0x12aae1(0x15f)][_0x12aae1(0x15e)](_0x12aae1(0x160));if(!_0x488fc3||_0x394b6d[_0x12aae1(0x17a)]===_0x488fc3){if(this[_0x12aae1(0x175)][_0x12aae1(0x130)](_0x394b6d))this[_0x12aae1(0x175)][_0x12aae1(0x14f)](this[_0x12aae1(0x175)][_0x12aae1(0x169)](_0x394b6d),0x1);else{const _0x4c2b53=_0x59db6c[_0x12aae1(0x166)][_0x12aae1(0x15e)](_0x394b6d),_0x4a90e0=_0x10b986[_0x12aae1(0x162)](_0x4c2b53[_0x12aae1(0x14b)]);this[_0x12aae1(0x16f)][_0x12aae1(0x164)](_0x4a90e0[_0x12aae1(0x14b)]),this[_0x12aae1(0x16e)](_0x4a90e0),this[_0x12aae1(0x16e)](_0x4a90e0[_0x12aae1(0x152)]);}}}),this[_0x383c5f(0x135)](_0x10b986[_0x383c5f(0x14e)],_0x383c5f(0x150),(_0x2eef61,_0xd736d8)=>{const _0x242e4e=_0x383c5f;this[_0x242e4e(0x135)](_0xd736d8,_0x242e4e(0x14a),_0x378f46);}),this[_0x383c5f(0x135)](_0x10b986[_0x383c5f(0x14e)],_0x383c5f(0x164),(_0x3cb8c0,_0x2feeba)=>{const _0x268bb9=_0x383c5f;this[_0x268bb9(0x16e)](_0x2feeba,_0x268bb9(0x14a),_0x378f46);});}[_0x52c2cf(0x138)](_0x4f0ec7,_0x3f7d1a){const _0x212e82=_0x52c2cf;this[_0x212e82(0x135)](_0x4f0ec7,_0x212e82(0x154),_0x376347=>{const _0x388926=_0x212e82;_0x376347[_0x388926(0x147)]=!0x1,_0x376347[_0x388926(0x14c)]();}),this[_0x212e82(0x16f)][_0x212e82(0x150)](_0x4f0ec7[_0x212e82(0x14b)],_0x3f7d1a);}[_0x52c2cf(0x165)](_0x364995){const _0x25560e=_0x52c2cf,_0x4d7f5a=this[_0x25560e(0x139)][_0x25560e(0x179)][_0x25560e(0x15e)](_0x25560e(0x134)),_0x1d6d7e=this[_0x25560e(0x139)][_0x25560e(0x179)][_0x25560e(0x15e)](_0x25560e(0x13b)),_0x2418c0=this[_0x25560e(0x139)][_0x25560e(0x15f)][_0x25560e(0x15e)](_0x25560e(0x160));if(!_0x2418c0||_0x364995[_0x25560e(0x17a)]===_0x2418c0){const _0xc01762=_0x4d7f5a[_0x25560e(0x166)][_0x25560e(0x15e)](_0x364995);if(!_0xc01762)return void this[_0x25560e(0x175)][_0x25560e(0x14d)](_0x364995);const _0x4dcbc6=this[_0x25560e(0x168)](_0x364995[_0x25560e(0x12c)]),_0x47edeb=_0x1d6d7e[_0x25560e(0x162)](_0xc01762[_0x25560e(0x14b)]);_0x47edeb[_0x25560e(0x148)]&&_0x1d6d7e[_0x25560e(0x15d)][_0x25560e(0x164)](_0x47edeb),this[_0x25560e(0x138)](_0x47edeb,_0x4dcbc6);}}[_0x52c2cf(0x168)](_0x49d558){const _0x293f30=_0x52c2cf,_0x1238a5=this[_0x293f30(0x139)][_0x293f30(0x15f)][_0x293f30(0x15e)](_0x293f30(0x160)),_0x4dc9ac=[...this[_0x293f30(0x139)][_0x293f30(0x179)][_0x293f30(0x15e)](_0x1800b6)[_0x293f30(0x143)]][_0x293f30(0x16d)](_0x2771c4=>_0x2771c4[_0x293f30(0x17a)]===_0x1238a5)[_0x293f30(0x16c)](_0x453b20=>_0x453b20[_0x293f30(0x12c)]<_0x49d558);return _0x4dc9ac<0x0||_0x4dc9ac>this[_0x293f30(0x16f)][_0x293f30(0x12e)]?this[_0x293f30(0x16f)][_0x293f30(0x12e)]:_0x4dc9ac-0x1;}[_0x52c2cf(0x153)](){const _0x350bc9=_0x52c2cf,_0x3711dd=this[_0x350bc9(0x139)],_0x27ea1b=_0x3711dd[_0x350bc9(0x179)][_0x350bc9(0x15e)](_0x350bc9(0x174));this[_0x350bc9(0x132)]||(this[_0x350bc9(0x132)]=new _0x3ac859(_0x3711dd[_0x350bc9(0x171)],this[_0x350bc9(0x16f)])),_0x350bc9(0x157)===_0x27ea1b['id']?_0x27ea1b[_0x350bc9(0x137)]():_0x27ea1b[_0x350bc9(0x158)]({'id':_0x350bc9(0x157),'title':_0x5766c3(_0x3711dd[_0x350bc9(0x171)],_0x350bc9(0x176)),'icon':_0x441b55,'hasCloseButton':!0x0,'content':this[_0x350bc9(0x132)],'position':_0x5f36ee[_0x350bc9(0x141)]});}[_0x52c2cf(0x163)](_0x525b54,_0x56359c=!0x1){const _0xb79e=_0x52c2cf,_0x389267=this[_0xb79e(0x139)][_0xb79e(0x171)],_0x371748=this[_0xb79e(0x139)][_0xb79e(0x179)][_0xb79e(0x15e)](_0xb79e(0x174)),_0x4805e0=new _0x525b54(_0x389267);return _0x4805e0[_0xb79e(0x140)](_0xb79e(0x13a))['to'](this,_0xb79e(0x13a)),_0x4805e0[_0xb79e(0x140)](_0xb79e(0x173))['to'](_0x371748,'id',_0x1b323f=>_0xb79e(0x157)===_0x1b323f),_0x4805e0[_0xb79e(0x144)]({'label':_0x5766c3(_0x389267,_0xb79e(0x176)),'icon':_0x441b55,'isToggleable':!0x0}),_0x56359c&&(_0x4805e0[_0xb79e(0x12f)]=!0x0),this[_0xb79e(0x135)](_0x4805e0,_0xb79e(0x13d),()=>this[_0xb79e(0x153)]()),_0x4805e0;}[_0x52c2cf(0x155)]=_0x1519b8=>{const _0x4f9b40=_0x52c2cf,_0x4ea753=_0x1519b8[_0x4f9b40(0x161)];if(!this[_0x4f9b40(0x16f)][_0x4f9b40(0x178)](_0x4ea753[_0x4f9b40(0x14b)]))return;const _0x3db497=this[_0x4f9b40(0x139)][_0x4f9b40(0x179)][_0x4f9b40(0x15e)](_0x4f9b40(0x174));_0x3db497[_0x4f9b40(0x16a)]&&_0x4f9b40(0x157)===_0x3db497['id']&&(_0x3db497[_0x4f9b40(0x137)](),_0x1519b8[_0x4f9b40(0x14c)]());};}
|