@ckeditor/ckeditor5-comments 43.3.0-alpha.0 → 43.3.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +9 -9
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 +15 -15
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +1 -1
- package/src/annotations/view/sidebarview.js +1 -1
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20f215=_0x331c;(function(_0x3cdde1,_0x19bc4c){const _0x31b6ba=_0x331c,_0xfca315=_0x3cdde1();while(!![]){try{const _0x1c92c5=-parseInt(_0x31b6ba(0xed))/0x1+parseInt(_0x31b6ba(0xdb))/0x2*(parseInt(_0x31b6ba(0xa0))/0x3)+-parseInt(_0x31b6ba(0xe5))/0x4+-parseInt(_0x31b6ba(0xad))/0x5*(parseInt(_0x31b6ba(0xce))/0x6)+parseInt(_0x31b6ba(0xab))/0x7+-parseInt(_0x31b6ba(0xaa))/0x8*(-parseInt(_0x31b6ba(0xdc))/0x9)+-parseInt(_0x31b6ba(0xa1))/0xa*(-parseInt(_0x31b6ba(0x9e))/0xb);if(_0x1c92c5===_0x19bc4c)break;else _0xfca315['push'](_0xfca315['shift']());}catch(_0x122b61){_0xfca315['push'](_0xfca315['shift']());}}}(_0x5175,0x6c6a8));import{ContextPlugin as _0x440606}from'ckeditor5/src/core.js';import{Rect as _0xe8cad4,CKEditorError as _0x248053}from'ckeditor5/src/utils.js';import _0x3f6924 from'./view/sidebarview.js';function _0x5175(){const _0xb45662=['height','container','_getMaxAvailableTop','rearrange','33QEnMPi','listenTo','51LHGBGe','282790mtrPkq','sidebar-attachtocontainer-missing-container','_recalculate','_recalculateBuffer','appendChild','updateHeight','isActive','_annotationToSidebarItemView','config','1220744OiDrPo','1273594MjbZEn','render','103335pnXKAa','change:bottom','unbind','change:top','class','change:_lastItem','top','isOfficialPlugin','target','minHeight','list','last','push','_attachToContainer','_annotations','context','_detachFromContainer','sidebar.preventScrollOutOfView','bind','_alignForBottomChange','addAnnotation','_getItemAfter','_spaceBetweenItems','change:targetRect','get','_targetTop','stopListening','_updateLastItem','length','destroy','set','_createSidebarView','locale','6OmPXnP','delete','refresh','_destroySidebarItemView','_setItemTop','clear','add','setContainer','nodeType','isPremiumPlugin','view','_alignAfterItem','Sidebar','87494GqCvrr','9PDsrbG','getSidebarItemView','targetRect','sidebar-setcontainer-invalid-element','element','bottom','_getTargetTop','isAnimationDisabled','define','1527740VxxoTO','object','pluginName','max','sidebar.container','_alignToTargetRect','_alignBeforeItem','remove','316397zWIZDS','_getItemBefore','_lastItem','getIndex','content','_sidebarItemViewToAnnotation','_activeAnnotation','_alignForTopChange','init'];_0x5175=function(){return _0xb45662;};return _0x5175();}import _0x3e2cb7 from'./view/sidebaritemview.js';function _0x331c(_0x599c76,_0x19be36){const _0x5175c7=_0x5175();return _0x331c=function(_0x331c83,_0x241d59){_0x331c83=_0x331c83-0x93;let _0x368a27=_0x5175c7[_0x331c83];return _0x368a27;},_0x331c(_0x599c76,_0x19be36);}export default class z extends _0x440606{static get[_0x20f215(0xe7)](){const _0x59e0ee=_0x20f215;return _0x59e0ee(0xda);}static get[_0x20f215(0xb4)](){return!0x0;}static get[_0x20f215(0xd7)](){return!0x0;}constructor(_0x26f49a){const _0x254784=_0x20f215;super(_0x26f49a),this[_0x254784(0xcb)](_0x254784(0x93),void 0x0),this[_0x254784(0xd8)]=this[_0x254784(0xcc)](),this[_0x254784(0xcb)](_0x254784(0x9b),null),this[_0x254784(0xc3)]=0x19,this[_0x254784(0x96)]=new Map(),this[_0x254784(0xa8)]=new Map(),this[_0x254784(0xbc)][_0x254784(0xa9)][_0x254784(0xe4)](_0x254784(0xbe),!0x1),this[_0x254784(0xbb)]=null,this[_0x254784(0x97)]=null,this[_0x254784(0xa4)]=[];}[_0x20f215(0x99)](){const _0x33ed45=_0x20f215,_0x43823a=this[_0x33ed45(0xbc)][_0x33ed45(0xa9)][_0x33ed45(0xc5)](_0x33ed45(0xe9));_0x43823a&&this[_0x33ed45(0xd5)](_0x43823a);}[_0x20f215(0xd5)](_0x41b741){const _0x21a40b=_0x20f215;if(!y(_0x41b741))throw new _0x248053(_0x21a40b(0xdf));this[_0x21a40b(0x9b)]=_0x41b741;}[_0x20f215(0xba)]({viewClass:_0x2c3071='',spaceBetweenItems:_0xf0586b=0x19}={}){const _0x1a6036=_0x20f215;if(!y(this[_0x1a6036(0x9b)]))throw new _0x248053(_0x1a6036(0xa2),this);this[_0x1a6036(0x9b)][_0x1a6036(0xa5)](this[_0x1a6036(0xd8)][_0x1a6036(0xe0)]),this[_0x1a6036(0xd8)][_0x1a6036(0xb1)]=_0x2c3071,this[_0x1a6036(0xc3)]=_0xf0586b;}[_0x20f215(0x9d)]({removedAnnotation:_0x3b2efe,previousAnnotation:_0x54654b,nextAnnotation:_0x349e59}){const _0x50f490=_0x20f215,_0x14a580=this[_0x50f490(0xdd)](_0x3b2efe);this[_0x50f490(0xd8)][_0x50f490(0xb7)][_0x50f490(0xec)](_0x14a580),this[_0x50f490(0xd1)](_0x3b2efe),_0x54654b&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x54654b)),_0x349e59&&this[_0x50f490(0xea)](this[_0x50f490(0xdd)](_0x349e59)),this[_0x50f490(0xc8)]();}[_0x20f215(0xd0)]({blurredAnnotation:_0x561df9,activatedAnnotation:_0x816bac,disableAnimationOnActivatedAnnotation:_0x450888}){const _0x2fb6a1=_0x20f215;if(this[_0x2fb6a1(0x97)]=_0x816bac,_0x561df9){_0x561df9[_0x2fb6a1(0xa7)]=!0x1;const _0x14b802=this[_0x2fb6a1(0xdd)](_0x561df9);_0x14b802&&_0x450888&&(_0x14b802[_0x2fb6a1(0xe3)]=!0x1);}if(_0x816bac){const _0x59d2c0=this[_0x2fb6a1(0xdd)](_0x816bac);_0x59d2c0&&(_0x816bac[_0x2fb6a1(0xa7)]=!0x0,_0x450888&&(_0x59d2c0[_0x2fb6a1(0xe3)]=!0x0,_0x59d2c0[_0x2fb6a1(0xb3)]+=0x1),this[_0x2fb6a1(0xea)](_0x59d2c0));}}[_0x20f215(0xbd)](_0x4ee8d1){const _0x32c9f0=_0x20f215;if(this[_0x32c9f0(0xd8)][_0x32c9f0(0xe0)][_0x32c9f0(0xec)](),_0x4ee8d1){for(const _0x1d2e35 of _0x4ee8d1)this[_0x32c9f0(0xd1)](_0x1d2e35);}this[_0x32c9f0(0xd8)][_0x32c9f0(0xb7)][_0x32c9f0(0xd3)](),this[_0x32c9f0(0xd8)][_0x32c9f0(0xb1)]='',this[_0x32c9f0(0x93)]=null;}[_0x20f215(0xc1)](_0x2503e8,_0x2e48d5){const _0x5d4833=_0x20f215;_0x2e48d5||(_0x2e48d5=_0x2503e8[_0x5d4833(0xd8)]);const _0x24080b=new _0x3e2cb7(this[_0x5d4833(0xbc)][_0x5d4833(0xcd)]);this[_0x5d4833(0x96)][_0x5d4833(0xcb)](_0x24080b,_0x2503e8),this[_0x5d4833(0xa8)][_0x5d4833(0xcb)](_0x2503e8,_0x24080b),_0x24080b[_0x5d4833(0x95)][_0x5d4833(0xd4)](_0x2e48d5),this[_0x5d4833(0x9f)](_0x2503e8[_0x5d4833(0xd8)],_0x5d4833(0xc4),(_0x3a7611,_0x2d13ef,_0x3fe490)=>{const _0x263636=_0x5d4833,_0x47a6c3=this[_0x263636(0xe2)](_0x2503e8,_0x3fe490);_0x24080b[_0x263636(0xc6)]!=_0x47a6c3&&(_0x24080b[_0x263636(0xc6)]=_0x47a6c3,this[_0x263636(0xd2)](_0x24080b,_0x47a6c3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xb0),()=>{const _0x39e270=_0x5d4833;this[_0x39e270(0xa3)](_0x24080b,_0x39e270(0xb3));}),this[_0x5d4833(0x9f)](_0x24080b,_0x5d4833(0xae),()=>{const _0x47a7ae=_0x5d4833;this[_0x47a7ae(0xa3)](_0x24080b,_0x47a7ae(0xe1));}),this[_0x5d4833(0xea)](_0x24080b);const _0x1c8e5b=this[_0x5d4833(0xee)](_0x24080b);if(_0x1c8e5b)this[_0x5d4833(0xd9)](_0x1c8e5b,_0x24080b)||this[_0x5d4833(0xea)](_0x24080b);else this[_0x5d4833(0xea)](_0x24080b);return this[_0x5d4833(0xc8)](),this[_0x5d4833(0xd8)][_0x5d4833(0xb7)][_0x5d4833(0xd4)](_0x24080b),_0x24080b;}[_0x20f215(0x98)](_0x4c3935){const _0x5688af=_0x20f215;if(!_0x4c3935[_0x5688af(0x95)][_0x5688af(0xc9)])return;const _0x6a504c=this[_0x5688af(0xee)](_0x4c3935);if(!_0x6a504c)return;const _0x3ba0fb=this[_0x5688af(0x96)][_0x5688af(0xc5)](_0x6a504c),_0x186c9c=this[_0x5688af(0x97)];_0x186c9c&&_0x186c9c===_0x3ba0fb?this[_0x5688af(0xd9)](_0x6a504c,_0x4c3935):this[_0x5688af(0xeb)](_0x4c3935,_0x6a504c);}[_0x20f215(0xc0)](_0x350fe9){const _0x1beb9f=_0x20f215;if(!_0x350fe9[_0x1beb9f(0x95)][_0x1beb9f(0xc9)])return;const _0x30e8c5=this[_0x1beb9f(0xc2)](_0x350fe9);if(!_0x30e8c5)return;const _0x544b43=this[_0x1beb9f(0x96)][_0x1beb9f(0xc5)](_0x30e8c5),_0x5e6cbe=this[_0x1beb9f(0xbc)][_0x1beb9f(0xa9)][_0x1beb9f(0xc5)](_0x1beb9f(0xbe)),_0x4a9297=this[_0x1beb9f(0x97)];_0x4a9297&&_0x4a9297===_0x544b43&&_0x5e6cbe?(this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9),this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5)):_0x4a9297&&_0x4a9297===_0x544b43?this[_0x1beb9f(0xeb)](_0x30e8c5,_0x350fe9):this[_0x1beb9f(0xd9)](_0x350fe9,_0x30e8c5);}[_0x20f215(0xa3)](_0x29bb9a,_0x2f5002){const _0x32771c=_0x20f215;0x0===this[_0x32771c(0xa4)][_0x32771c(0xc9)]&&setTimeout(()=>{const _0x19fe3d=_0x32771c;for(const {sidebarItemView:_0x278b25,changedProp:_0x496397}of this[_0x19fe3d(0xa4)])_0x19fe3d(0xb3)===_0x496397?this[_0x19fe3d(0x98)](_0x278b25):this[_0x19fe3d(0xc0)](_0x278b25);this[_0x19fe3d(0xa4)]=[];},0xa),this[_0x32771c(0xa4)][_0x32771c(0xb9)]({'sidebarItemView':_0x29bb9a,'changedProp':_0x2f5002});}[_0x20f215(0xdd)](_0x3140dc){const _0x2f885c=_0x20f215;return this[_0x2f885c(0xa8)][_0x2f885c(0xc5)](_0x3140dc);}[_0x20f215(0xca)](){const _0xf44a68=_0x20f215;this[_0xf44a68(0xc7)](),this[_0xf44a68(0xd8)][_0xf44a68(0xca)]();}[_0x20f215(0xd1)](_0xfe51d4){const _0xd243df=_0x20f215,_0x442789=this[_0xd243df(0xdd)](_0xfe51d4);this[_0xd243df(0xc7)](_0x442789),this[_0xd243df(0xc7)](_0xfe51d4[_0xd243df(0xd8)]),_0x442789[_0xd243df(0xca)](),this[_0xd243df(0xa8)][_0xd243df(0xcf)](_0xfe51d4),this[_0xd243df(0x96)][_0xd243df(0xcf)](_0x442789);}[_0x20f215(0xcc)](){const _0x229033=_0x20f215,_0x3a23de=new _0x3f6924(this[_0x229033(0xbc)][_0x229033(0xcd)]);return _0x3a23de[_0x229033(0xac)](),this['on'](_0x229033(0xb2),(_0x3d8a9f,_0x30631c,_0x1929ae,_0x54609f)=>{const _0x19899c=_0x229033;_0x54609f&&_0x3a23de[_0x19899c(0xaf)](_0x19899c(0xb6)),_0x1929ae?_0x3a23de[_0x19899c(0xbf)](_0x19899c(0xb6))['to'](_0x1929ae,_0x19899c(0xe1)):_0x3a23de[_0x19899c(0xb6)]=null;}),_0x3a23de;}[_0x20f215(0xc8)](){const _0x5322d6=_0x20f215;var _0xfc1edb;this[_0x5322d6(0x93)]=(null===(_0xfc1edb=this[_0x5322d6(0xbb)])||void 0x0===_0xfc1edb?void 0x0:_0xfc1edb[_0x5322d6(0xb8)])?this[_0x5322d6(0xdd)](this[_0x5322d6(0xbb)][_0x5322d6(0xb8)]):null;}[_0x20f215(0xee)](_0x1e3e08){const _0x22ec63=_0x20f215;var _0x3398a3;const _0x4db0e5=this[_0x22ec63(0x96)][_0x22ec63(0xc5)](_0x1e3e08),_0x44bb88=_0x4db0e5&&(null===(_0x3398a3=this[_0x22ec63(0xbb)])||void 0x0===_0x3398a3?void 0x0:_0x3398a3[_0x22ec63(0xc5)](this[_0x22ec63(0xbb)][_0x22ec63(0x94)](_0x4db0e5)-0x1));return _0x44bb88&&this[_0x22ec63(0xdd)](_0x44bb88)||null;}[_0x20f215(0xc2)](_0x5b89f4){const _0xe4e8b7=_0x20f215;var _0x3f3a57;const _0x43d0af=this[_0xe4e8b7(0x96)][_0xe4e8b7(0xc5)](_0x5b89f4),_0x5d03ef=_0x43d0af&&(null===(_0x3f3a57=this[_0xe4e8b7(0xbb)])||void 0x0===_0x3f3a57?void 0x0:_0x3f3a57[_0xe4e8b7(0xc5)](this[_0xe4e8b7(0xbb)][_0xe4e8b7(0x94)](_0x43d0af)+0x1));return _0x5d03ef&&this[_0xe4e8b7(0xdd)](_0x5d03ef)||null;}[_0x20f215(0xeb)](_0x2797da,_0x23cf49){const _0x1bb2db=_0x20f215;_0x2797da[_0x1bb2db(0xa6)]();const _0x1f5c35=R(_0x23cf49[_0x1bb2db(0xe1)]+this[_0x1bb2db(0xc3)],_0x2797da[_0x1bb2db(0xb3)]);return!!_0x1f5c35&&(this[_0x1bb2db(0xd2)](_0x23cf49,_0x23cf49[_0x1bb2db(0xb3)]-_0x1f5c35),!0x0);}[_0x20f215(0xd9)](_0x55d85e,_0x38c22c){const _0x107ce9=_0x20f215;_0x55d85e[_0x107ce9(0xa6)]();const _0x1c5731=R(_0x55d85e[_0x107ce9(0xe1)]+this[_0x107ce9(0xc3)],_0x38c22c[_0x107ce9(0xb3)]);return!!_0x1c5731&&(this[_0x107ce9(0xd2)](_0x38c22c,_0x38c22c[_0x107ce9(0xb3)]+_0x1c5731,!0x1),!0x0);}[_0x20f215(0xea)](_0x591ba8){const _0x36f61a=_0x20f215,_0x7fb73f=this[_0x36f61a(0x96)][_0x36f61a(0xc5)](_0x591ba8);if(!_0x7fb73f||!_0x7fb73f[_0x36f61a(0xb5)]||!_0x7fb73f[_0x36f61a(0xde)])return;const _0x35e7db=this[_0x36f61a(0xe2)](_0x7fb73f,_0x7fb73f[_0x36f61a(0xde)]);this[_0x36f61a(0xd2)](_0x591ba8,_0x35e7db);}[_0x20f215(0xe2)](_0x5e620e,_0x3dd730){const _0x277be3=_0x20f215;if(null===_0x3dd730)return 0x0;if(_0x5e620e[_0x277be3(0xb5)]instanceof _0xe8cad4)return _0x3dd730[_0x277be3(0xb3)];{const _0x4aae97=new _0xe8cad4(this[_0x277be3(0xd8)][_0x277be3(0xe0)])[_0x277be3(0xb3)];return _0x3dd730[_0x277be3(0xb3)]-_0x4aae97;}}[_0x20f215(0xd2)](_0x3b80ac,_0x11f81b,_0x2aa183=this[_0x20f215(0xbc)][_0x20f215(0xa9)][_0x20f215(0xc5)](_0x20f215(0xbe))){const _0x4181f8=_0x20f215;_0x2aa183&&(_0x11f81b=Math[_0x4181f8(0xe8)](_0x11f81b,this[_0x4181f8(0x9c)](_0x3b80ac))),_0x3b80ac[_0x4181f8(0xb3)]=_0x11f81b;}[_0x20f215(0x9c)](_0x569651){const _0x3edb4d=_0x20f215;let _0x23c610=this[_0x3edb4d(0xee)](_0x569651),_0x42a0f2=0x0;for(;_0x23c610;)_0x23c610[_0x3edb4d(0xa6)](),_0x42a0f2+=this[_0x3edb4d(0xc3)]+_0x23c610[_0x3edb4d(0x9a)],_0x23c610=this[_0x3edb4d(0xee)](_0x23c610);return _0x42a0f2;}}function R(_0x899c38,_0x5282e6){const _0x3ce672=_0x20f215;return Math[_0x3ce672(0xe8)](_0x899c38-_0x5282e6,0x0);}function y(_0x44d370){const _0x517581=_0x20f215;return null!==_0x44d370&&_0x517581(0xe6)==typeof _0x44d370&&0x1===_0x44d370[_0x517581(0xd6)];}
|
|
23
|
+
function _0x4c2c(){const _0x30dfd8=['rearrange','_setItemTop','container','change:bottom','config','pluginName','isActive','_alignAfterItem','destroy','35727tDhydW','view','listenTo','change:_lastItem','change:targetRect','_alignToTargetRect','render','init','stopListening','push','_lastItem','_targetTop','change:top','_getItemBefore','isAnimationDisabled','_destroySidebarItemView','9lPsgRN','sidebar-attachtocontainer-missing-container','_updateLastItem','minHeight','_sidebarItemViewToAnnotation','last','294oYPSSC','_createSidebarView','getIndex','2813780zqPzim','nodeType','element','max','_getItemAfter','_alignForTopChange','50lAaMkU','updateHeight','_recalculateBuffer','add','8202CHCklo','content','target','895156kkbmLl','get','refresh','Sidebar','_annotations','_spaceBetweenItems','_recalculate','_detachFromContainer','_alignBeforeItem','setContainer','list','top','bottom','5XDlhtl','145618TUodqh','_attachToContainer','3549502mZbkJi','_activeAnnotation','_getTargetTop','_alignForBottomChange','appendChild','sidebar.container','class','unbind','context','_annotationToSidebarItemView','locale','sidebar.preventScrollOutOfView','remove','targetRect','bind','sidebar-setcontainer-invalid-element','isOfficialPlugin','clear','object','2106096ZGCuyQ','define','addAnnotation','set','delete','_getMaxAvailableTop','getSidebarItemView','height','length','isPremiumPlugin'];_0x4c2c=function(){return _0x30dfd8;};return _0x4c2c();}const _0x3af0b5=_0x34e1;(function(_0x1647aa,_0x5d68f6){const _0xc5844d=_0x34e1,_0x1b2a62=_0x1647aa();while(!![]){try{const _0x2e03c3=-parseInt(_0xc5844d(0x115))/0x1+-parseInt(_0xc5844d(0x100))/0x2*(-parseInt(_0xc5844d(0xe1))/0x3)+-parseInt(_0xc5844d(0x107))/0x4*(parseInt(_0xc5844d(0x114))/0x5)+parseInt(_0xc5844d(0x104))/0x6*(parseInt(_0xc5844d(0xf7))/0x7)+parseInt(_0xc5844d(0x12a))/0x8+-parseInt(_0xc5844d(0xf1))/0x9*(-parseInt(_0xc5844d(0xfa))/0xa)+-parseInt(_0xc5844d(0x117))/0xb;if(_0x2e03c3===_0x5d68f6)break;else _0x1b2a62['push'](_0x1b2a62['shift']());}catch(_0x2cb826){_0x1b2a62['push'](_0x1b2a62['shift']());}}}(_0x4c2c,0x32b4a));import{ContextPlugin as _0x43829d}from'ckeditor5/src/core.js';function _0x34e1(_0x2cfdfa,_0x512794){const _0x4c2cb4=_0x4c2c();return _0x34e1=function(_0x34e1ae,_0x2f97cc){_0x34e1ae=_0x34e1ae-0xd3;let _0x5988fb=_0x4c2cb4[_0x34e1ae];return _0x5988fb;},_0x34e1(_0x2cfdfa,_0x512794);}import{Rect as _0x42d5d8,CKEditorError as _0x139f33}from'ckeditor5/src/utils.js';import _0x195cc6 from'./view/sidebarview.js';import _0x4bc72f from'./view/sidebaritemview.js';export default class z extends _0x43829d{static get[_0x3af0b5(0xdd)](){const _0x6812fc=_0x3af0b5;return _0x6812fc(0x10a);}static get[_0x3af0b5(0x127)](){return!0x0;}static get[_0x3af0b5(0xd7)](){return!0x0;}constructor(_0xf115a){const _0x36033a=_0x3af0b5;super(_0xf115a),this[_0x36033a(0x12d)](_0x36033a(0xeb),void 0x0),this[_0x36033a(0xe2)]=this[_0x36033a(0xf8)](),this[_0x36033a(0x12d)](_0x36033a(0xda),null),this[_0x36033a(0x10c)]=0x19,this[_0x36033a(0xf5)]=new Map(),this[_0x36033a(0x120)]=new Map(),this[_0x36033a(0x11f)][_0x36033a(0xdc)][_0x36033a(0x12b)](_0x36033a(0x122),!0x1),this[_0x36033a(0x10b)]=null,this[_0x36033a(0x118)]=null,this[_0x36033a(0x102)]=[];}[_0x3af0b5(0xe8)](){const _0x131a94=_0x3af0b5,_0x2ace47=this[_0x131a94(0x11f)][_0x131a94(0xdc)][_0x131a94(0x108)](_0x131a94(0x11c));_0x2ace47&&this[_0x131a94(0x110)](_0x2ace47);}[_0x3af0b5(0x110)](_0x2a444e){const _0x583ae9=_0x3af0b5;if(!y(_0x2a444e))throw new _0x139f33(_0x583ae9(0x126));this[_0x583ae9(0xda)]=_0x2a444e;}[_0x3af0b5(0x116)]({viewClass:_0x2088f1='',spaceBetweenItems:_0x33bc4e=0x19}={}){const _0x50a1a2=_0x3af0b5;if(!y(this[_0x50a1a2(0xda)]))throw new _0x139f33(_0x50a1a2(0xf2),this);this[_0x50a1a2(0xda)][_0x50a1a2(0x11b)](this[_0x50a1a2(0xe2)][_0x50a1a2(0xfc)]),this[_0x50a1a2(0xe2)][_0x50a1a2(0x11d)]=_0x2088f1,this[_0x50a1a2(0x10c)]=_0x33bc4e;}[_0x3af0b5(0xd8)]({removedAnnotation:_0x207a45,previousAnnotation:_0x3d0ded,nextAnnotation:_0x22724a}){const _0x72c090=_0x3af0b5,_0x4d99b5=this[_0x72c090(0xd4)](_0x207a45);this[_0x72c090(0xe2)][_0x72c090(0x111)][_0x72c090(0x123)](_0x4d99b5),this[_0x72c090(0xf0)](_0x207a45),_0x3d0ded&&this[_0x72c090(0xe6)](this[_0x72c090(0xd4)](_0x3d0ded)),_0x22724a&&this[_0x72c090(0xe6)](this[_0x72c090(0xd4)](_0x22724a)),this[_0x72c090(0xf3)]();}[_0x3af0b5(0x109)]({blurredAnnotation:_0x19f448,activatedAnnotation:_0x2f05d6,disableAnimationOnActivatedAnnotation:_0x352111}){const _0x65a72a=_0x3af0b5;if(this[_0x65a72a(0x118)]=_0x2f05d6,_0x19f448){_0x19f448[_0x65a72a(0xde)]=!0x1;const _0x9c7b30=this[_0x65a72a(0xd4)](_0x19f448);_0x9c7b30&&_0x352111&&(_0x9c7b30[_0x65a72a(0xef)]=!0x1);}if(_0x2f05d6){const _0xabb291=this[_0x65a72a(0xd4)](_0x2f05d6);_0xabb291&&(_0x2f05d6[_0x65a72a(0xde)]=!0x0,_0x352111&&(_0xabb291[_0x65a72a(0xef)]=!0x0,_0xabb291[_0x65a72a(0x112)]+=0x1),this[_0x65a72a(0xe6)](_0xabb291));}}[_0x3af0b5(0x10e)](_0x5040d3){const _0x5da0c2=_0x3af0b5;if(this[_0x5da0c2(0xe2)][_0x5da0c2(0xfc)][_0x5da0c2(0x123)](),_0x5040d3){for(const _0x1122f6 of _0x5040d3)this[_0x5da0c2(0xf0)](_0x1122f6);}this[_0x5da0c2(0xe2)][_0x5da0c2(0x111)][_0x5da0c2(0x128)](),this[_0x5da0c2(0xe2)][_0x5da0c2(0x11d)]='',this[_0x5da0c2(0xeb)]=null;}[_0x3af0b5(0x12c)](_0x3e2cc9,_0x26d1df){const _0x1e60d3=_0x3af0b5;_0x26d1df||(_0x26d1df=_0x3e2cc9[_0x1e60d3(0xe2)]);const _0x1855e5=new _0x4bc72f(this[_0x1e60d3(0x11f)][_0x1e60d3(0x121)]);this[_0x1e60d3(0xf5)][_0x1e60d3(0x12d)](_0x1855e5,_0x3e2cc9),this[_0x1e60d3(0x120)][_0x1e60d3(0x12d)](_0x3e2cc9,_0x1855e5),_0x1855e5[_0x1e60d3(0x105)][_0x1e60d3(0x103)](_0x26d1df),this[_0x1e60d3(0xe3)](_0x3e2cc9[_0x1e60d3(0xe2)],_0x1e60d3(0xe5),(_0x19a9ee,_0x424679,_0x5029fc)=>{const _0x3f75a0=_0x1e60d3,_0x799d5c=this[_0x3f75a0(0x119)](_0x3e2cc9,_0x5029fc);_0x1855e5[_0x3f75a0(0xec)]!=_0x799d5c&&(_0x1855e5[_0x3f75a0(0xec)]=_0x799d5c,this[_0x3f75a0(0xd9)](_0x1855e5,_0x799d5c));}),this[_0x1e60d3(0xe3)](_0x1855e5,_0x1e60d3(0xed),()=>{const _0x307c43=_0x1e60d3;this[_0x307c43(0x10d)](_0x1855e5,_0x307c43(0x112));}),this[_0x1e60d3(0xe3)](_0x1855e5,_0x1e60d3(0xdb),()=>{const _0x3d1696=_0x1e60d3;this[_0x3d1696(0x10d)](_0x1855e5,_0x3d1696(0x113));}),this[_0x1e60d3(0xe6)](_0x1855e5);const _0x57ccc1=this[_0x1e60d3(0xee)](_0x1855e5);if(_0x57ccc1)this[_0x1e60d3(0xdf)](_0x57ccc1,_0x1855e5)||this[_0x1e60d3(0xe6)](_0x1855e5);else this[_0x1e60d3(0xe6)](_0x1855e5);return this[_0x1e60d3(0xf3)](),this[_0x1e60d3(0xe2)][_0x1e60d3(0x111)][_0x1e60d3(0x103)](_0x1855e5),_0x1855e5;}[_0x3af0b5(0xff)](_0x502527){const _0x3fb6b1=_0x3af0b5;if(!_0x502527[_0x3fb6b1(0x105)][_0x3fb6b1(0xd6)])return;const _0x54160a=this[_0x3fb6b1(0xee)](_0x502527);if(!_0x54160a)return;const _0x50ab7f=this[_0x3fb6b1(0xf5)][_0x3fb6b1(0x108)](_0x54160a),_0x12ed51=this[_0x3fb6b1(0x118)];_0x12ed51&&_0x12ed51===_0x50ab7f?this[_0x3fb6b1(0xdf)](_0x54160a,_0x502527):this[_0x3fb6b1(0x10f)](_0x502527,_0x54160a);}[_0x3af0b5(0x11a)](_0x3e0b8c){const _0x104531=_0x3af0b5;if(!_0x3e0b8c[_0x104531(0x105)][_0x104531(0xd6)])return;const _0x1cd9a1=this[_0x104531(0xfe)](_0x3e0b8c);if(!_0x1cd9a1)return;const _0x439271=this[_0x104531(0xf5)][_0x104531(0x108)](_0x1cd9a1),_0x509536=this[_0x104531(0x11f)][_0x104531(0xdc)][_0x104531(0x108)](_0x104531(0x122)),_0x3ff821=this[_0x104531(0x118)];_0x3ff821&&_0x3ff821===_0x439271&&_0x509536?(this[_0x104531(0x10f)](_0x1cd9a1,_0x3e0b8c),this[_0x104531(0xdf)](_0x3e0b8c,_0x1cd9a1)):_0x3ff821&&_0x3ff821===_0x439271?this[_0x104531(0x10f)](_0x1cd9a1,_0x3e0b8c):this[_0x104531(0xdf)](_0x3e0b8c,_0x1cd9a1);}[_0x3af0b5(0x10d)](_0x1681bf,_0x70f72d){const _0x565523=_0x3af0b5;0x0===this[_0x565523(0x102)][_0x565523(0xd6)]&&setTimeout(()=>{const _0x143c27=_0x565523;for(const {sidebarItemView:_0x18b318,changedProp:_0x1a3456}of this[_0x143c27(0x102)])_0x143c27(0x112)===_0x1a3456?this[_0x143c27(0xff)](_0x18b318):this[_0x143c27(0x11a)](_0x18b318);this[_0x143c27(0x102)]=[];},0xa),this[_0x565523(0x102)][_0x565523(0xea)]({'sidebarItemView':_0x1681bf,'changedProp':_0x70f72d});}[_0x3af0b5(0xd4)](_0x3fe4f1){const _0x40fe8d=_0x3af0b5;return this[_0x40fe8d(0x120)][_0x40fe8d(0x108)](_0x3fe4f1);}[_0x3af0b5(0xe0)](){const _0x1ecdd2=_0x3af0b5;this[_0x1ecdd2(0xe9)](),this[_0x1ecdd2(0xe2)][_0x1ecdd2(0xe0)]();}[_0x3af0b5(0xf0)](_0x3873c0){const _0x5a18d5=_0x3af0b5,_0x1b2d92=this[_0x5a18d5(0xd4)](_0x3873c0);this[_0x5a18d5(0xe9)](_0x1b2d92),this[_0x5a18d5(0xe9)](_0x3873c0[_0x5a18d5(0xe2)]),_0x1b2d92[_0x5a18d5(0xe0)](),this[_0x5a18d5(0x120)][_0x5a18d5(0x12e)](_0x3873c0),this[_0x5a18d5(0xf5)][_0x5a18d5(0x12e)](_0x1b2d92);}[_0x3af0b5(0xf8)](){const _0x5151d9=_0x3af0b5,_0x550599=new _0x195cc6(this[_0x5151d9(0x11f)][_0x5151d9(0x121)]);return _0x550599[_0x5151d9(0xe7)](),this['on'](_0x5151d9(0xe4),(_0x147401,_0x44a2bd,_0x201088,_0x5d295e)=>{const _0x1d56e3=_0x5151d9;_0x5d295e&&_0x550599[_0x1d56e3(0x11e)](_0x1d56e3(0xf4)),_0x201088?_0x550599[_0x1d56e3(0x125)](_0x1d56e3(0xf4))['to'](_0x201088,_0x1d56e3(0x113)):_0x550599[_0x1d56e3(0xf4)]=null;}),_0x550599;}[_0x3af0b5(0xf3)](){const _0x2d58cb=_0x3af0b5;var _0x439686;this[_0x2d58cb(0xeb)]=(null===(_0x439686=this[_0x2d58cb(0x10b)])||void 0x0===_0x439686?void 0x0:_0x439686[_0x2d58cb(0xf6)])?this[_0x2d58cb(0xd4)](this[_0x2d58cb(0x10b)][_0x2d58cb(0xf6)]):null;}[_0x3af0b5(0xee)](_0x1ed09c){const _0x1b315c=_0x3af0b5;var _0x9dffca;const _0x1ce059=this[_0x1b315c(0xf5)][_0x1b315c(0x108)](_0x1ed09c),_0x356a8e=_0x1ce059&&(null===(_0x9dffca=this[_0x1b315c(0x10b)])||void 0x0===_0x9dffca?void 0x0:_0x9dffca[_0x1b315c(0x108)](this[_0x1b315c(0x10b)][_0x1b315c(0xf9)](_0x1ce059)-0x1));return _0x356a8e&&this[_0x1b315c(0xd4)](_0x356a8e)||null;}[_0x3af0b5(0xfe)](_0x9688e4){const _0x5e8f88=_0x3af0b5;var _0x4856ba;const _0x223cd7=this[_0x5e8f88(0xf5)][_0x5e8f88(0x108)](_0x9688e4),_0x544ebd=_0x223cd7&&(null===(_0x4856ba=this[_0x5e8f88(0x10b)])||void 0x0===_0x4856ba?void 0x0:_0x4856ba[_0x5e8f88(0x108)](this[_0x5e8f88(0x10b)][_0x5e8f88(0xf9)](_0x223cd7)+0x1));return _0x544ebd&&this[_0x5e8f88(0xd4)](_0x544ebd)||null;}[_0x3af0b5(0x10f)](_0x8f0518,_0x311f14){const _0x8c4c2b=_0x3af0b5;_0x8f0518[_0x8c4c2b(0x101)]();const _0x1bc79d=R(_0x311f14[_0x8c4c2b(0x113)]+this[_0x8c4c2b(0x10c)],_0x8f0518[_0x8c4c2b(0x112)]);return!!_0x1bc79d&&(this[_0x8c4c2b(0xd9)](_0x311f14,_0x311f14[_0x8c4c2b(0x112)]-_0x1bc79d),!0x0);}[_0x3af0b5(0xdf)](_0x130be1,_0x45fd77){const _0x14e731=_0x3af0b5;_0x130be1[_0x14e731(0x101)]();const _0x5d1229=R(_0x130be1[_0x14e731(0x113)]+this[_0x14e731(0x10c)],_0x45fd77[_0x14e731(0x112)]);return!!_0x5d1229&&(this[_0x14e731(0xd9)](_0x45fd77,_0x45fd77[_0x14e731(0x112)]+_0x5d1229,!0x1),!0x0);}[_0x3af0b5(0xe6)](_0x47816a){const _0x4739c6=_0x3af0b5,_0x447f31=this[_0x4739c6(0xf5)][_0x4739c6(0x108)](_0x47816a);if(!_0x447f31||!_0x447f31[_0x4739c6(0x106)]||!_0x447f31[_0x4739c6(0x124)])return;const _0xfc5b65=this[_0x4739c6(0x119)](_0x447f31,_0x447f31[_0x4739c6(0x124)]);this[_0x4739c6(0xd9)](_0x47816a,_0xfc5b65);}[_0x3af0b5(0x119)](_0x33b58e,_0x17c9e7){const _0x27c780=_0x3af0b5;if(null===_0x17c9e7)return 0x0;if(_0x33b58e[_0x27c780(0x106)]instanceof _0x42d5d8)return _0x17c9e7[_0x27c780(0x112)];{const _0x3e3bf8=new _0x42d5d8(this[_0x27c780(0xe2)][_0x27c780(0xfc)])[_0x27c780(0x112)];return _0x17c9e7[_0x27c780(0x112)]-_0x3e3bf8;}}[_0x3af0b5(0xd9)](_0x22c1a4,_0x595f94,_0x3ffcc2=this[_0x3af0b5(0x11f)][_0x3af0b5(0xdc)][_0x3af0b5(0x108)](_0x3af0b5(0x122))){const _0x4dec33=_0x3af0b5;_0x3ffcc2&&(_0x595f94=Math[_0x4dec33(0xfd)](_0x595f94,this[_0x4dec33(0xd3)](_0x22c1a4))),_0x22c1a4[_0x4dec33(0x112)]=_0x595f94;}[_0x3af0b5(0xd3)](_0x360947){const _0x3df2dd=_0x3af0b5;let _0x20d01d=this[_0x3df2dd(0xee)](_0x360947),_0x477fc6=0x0;for(;_0x20d01d;)_0x20d01d[_0x3df2dd(0x101)](),_0x477fc6+=this[_0x3df2dd(0x10c)]+_0x20d01d[_0x3df2dd(0xd5)],_0x20d01d=this[_0x3df2dd(0xee)](_0x20d01d);return _0x477fc6;}}function R(_0x1b7888,_0xe2ac69){const _0xbaf68b=_0x3af0b5;return Math[_0xbaf68b(0xfd)](_0x1b7888-_0xe2ac69,0x0);}function y(_0x5a8dbe){const _0x3eb576=_0x3af0b5;return null!==_0x5a8dbe&&_0x3eb576(0x129)==typeof _0x5a8dbe&&0x1===_0x5a8dbe[_0x3eb576(0xfb)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4aa6(_0x47db84,_0x58182){const _0x30a83f=_0x30a8();return _0x4aa6=function(_0x4aa60d,_0x5a0aca){_0x4aa60d=_0x4aa60d-0x160;let _0x329e4c=_0x30a83f[_0x4aa60d];return _0x329e4c;},_0x4aa6(_0x47db84,_0x58182);}(function(_0x91c167,_0x301c82){const _0x48553b=_0x4aa6,_0x39eb9e=_0x91c167();while(!![]){try{const _0x456bd2=parseInt(_0x48553b(0x16d))/0x1*(parseInt(_0x48553b(0x173))/0x2)+parseInt(_0x48553b(0x178))/0x3*(-parseInt(_0x48553b(0x167))/0x4)+parseInt(_0x48553b(0x160))/0x5+-parseInt(_0x48553b(0x165))/0x6*(parseInt(_0x48553b(0x16b))/0x7)+parseInt(_0x48553b(0x174))/0x8*(parseInt(_0x48553b(0x16c))/0x9)+parseInt(_0x48553b(0x166))/0xa+-parseInt(_0x48553b(0x175))/0xb;if(_0x456bd2===_0x301c82)break;else _0x39eb9e['push'](_0x39eb9e['shift']());}catch(_0x25a43e){_0x39eb9e['push'](_0x39eb9e['shift']());}}}(_0x30a8,0xa07d3));import{ButtonView as _0x529901,View as _0x57be15}from'ckeditor5/src/ui.js';import _0x5939e4 from'../../../theme/icons/add-comment.svg';function _0x30a8(){const _0x5b0c44=['ck-annotation-counter__badge--edit-mode','extendTemplate','146GMQcOo','8xksADk','21299267PfdHgv','ck-annotation-counter','ck-annotation-counter__badge','822eODuRw','counterView','span','...','number','isDirty','ck-annotation-counter__badge--','2509460IWhDMv','_badge','bind','bindTemplate','icon','64122JeHwFo','5959980mSWVPU','2276ldgami','set','setTemplate','children','217hciSwf','10930518ubJyjX','10527vsSvRW','add','annotationType','toString'];_0x30a8=function(){return _0x5b0c44;};return _0x30a8();}export default class D extends _0x529901{constructor(_0x412440){const _0x2980a4=_0x4aa6;super(_0x412440);const _0xe95267=this[_0x2980a4(0x163)];this[_0x2980a4(0x168)](_0x2980a4(0x17d),!0x1),this[_0x2980a4(0x168)](_0x2980a4(0x17c),0x0),this[_0x2980a4(0x162)](_0x2980a4(0x161))['to'](this,_0x2980a4(0x17d),this,_0x2980a4(0x17c),(_0x36de91,_0x21b20f)=>_0x36de91?_0x2980a4(0x17b):_0x21b20f[_0x2980a4(0x170)]()),this[_0x2980a4(0x168)](_0x2980a4(0x16f),''),this[_0x2980a4(0x164)]=_0x5939e4,this[_0x2980a4(0x172)]({'attributes':{'class':[_0x2980a4(0x176)]}}),this[_0x2980a4(0x179)]=new _0x57be15(),this[_0x2980a4(0x179)][_0x2980a4(0x169)]({'tag':_0x2980a4(0x17a),'attributes':{'class':[_0x2980a4(0x177),_0xe95267['to'](_0x2980a4(0x16f),_0x2e3f90=>_0x2980a4(0x17e)+_0x2e3f90),_0xe95267['if'](_0x2980a4(0x17d),_0x2980a4(0x171))]},'children':[{'text':_0xe95267['to'](_0x2980a4(0x161))}]}),this[_0x2980a4(0x16a)][_0x2980a4(0x16e)](this[_0x2980a4(0x179)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x344d70=_0x5e81;function _0x240a(){const _0x1a4f22=['height','add','content','setTemplate','9441165wAmeLD','ck-annotation-wrapper--active','presentation','1236092yigTeP','listenTo','focus','mainView','11aJVAOH','Esc','isActive','bindTemplate','arrowup','ck-annotation-wrapper','1434573ZlvIzf','focusTracker','attach','detach','targetRect','div','clear','delegate','_mutationObserver','render','arrowdown','5635330cenCts','ck-rounded-corners','keystrokes','isDirty','length','first','createCollection','_updateHeight','element','fire','1847592PBjJDS','361866fjnErO','8zdkQVn','set','6bagmnm','clientHeight','type','destroy','8UDpCJo','1809936bLaxNN'];_0x240a=function(){return _0x1a4f22;};return _0x240a();}(function(_0x573a3c,_0x518dc5){const _0x281e76=_0x5e81,_0x469dd2=_0x573a3c();while(!![]){try{const _0xcca272=parseInt(_0x281e76(0xc6))/0x1+-parseInt(_0x281e76(0xd6))/0x2+parseInt(_0x281e76(0xce))/0x3*(-parseInt(_0x281e76(0xc7))/0x4)+parseInt(_0x281e76(0xd3))/0x5*(parseInt(_0x281e76(0xc9))/0x6)+parseInt(_0x281e76(0xe0))/0x7*(-parseInt(_0x281e76(0xcd))/0x8)+parseInt(_0x281e76(0xc5))/0x9+parseInt(_0x281e76(0xeb))/0xa*(parseInt(_0x281e76(0xda))/0xb);if(_0xcca272===_0x518dc5)break;else _0x469dd2['push'](_0x469dd2['shift']());}catch(_0x294c64){_0x469dd2['push'](_0x469dd2['shift']());}}}(_0x240a,0xf187f));import{View as _0x5ddc55}from'ckeditor5/src/ui.js';import{FocusTracker as _0x32c7c4,KeystrokeHandler as _0x1c061c,uid as _0x77ca4e}from'ckeditor5/src/utils.js';function _0x5e81(_0x3e7ced,_0x72914b){const _0x240a35=_0x240a();return _0x5e81=function(_0x5e81e2,_0x2a0ce9){_0x5e81e2=_0x5e81e2-0xc3;let _0x2a785d=_0x240a35[_0x5e81e2];return _0x2a785d;},_0x5e81(_0x3e7ced,_0x72914b);}import _0x138a92 from'../../utils/createmutationobserver.js';import'../../../theme/annotation.css';export default class T extends _0x5ddc55{constructor(_0x410f47,_0x66cc52){const _0xc8a1b5=_0x5e81;super(_0x410f47),this['id']=_0x77ca4e(),this[_0xc8a1b5(0xe1)]=new _0x32c7c4(),this[_0xc8a1b5(0xed)]=new _0x1c061c(),this[_0xc8a1b5(0xed)][_0xc8a1b5(0xc8)](_0xc8a1b5(0xdb),(_0x4f1c23,_0x26259e)=>this[_0xc8a1b5(0xc4)](_0xc8a1b5(0xdb),_0x26259e)),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xe4),{'top':0x0,'right':0x0,'bottom':0x0,'left':0x0}),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xcf),0x0),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xdc),!0x1),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xee),!0x1),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xef),0x0),this[_0xc8a1b5(0xc8)](_0xc8a1b5(0xcb),''),this[_0xc8a1b5(0xe8)]=_0x138a92(()=>this[_0xc8a1b5(0xf2)]()),this[_0xc8a1b5(0xd1)]=this[_0xc8a1b5(0xf1)](),this[_0xc8a1b5(0xd1)][_0xc8a1b5(0xe7)](_0xc8a1b5(0xde),_0xc8a1b5(0xea))['to'](this),this[_0xc8a1b5(0xd1)][_0xc8a1b5(0xd0)](_0x66cc52),this[_0xc8a1b5(0xd9)]=_0x66cc52;const _0xba2b4c=this[_0xc8a1b5(0xdd)];this[_0xc8a1b5(0xd2)]({'tag':_0xc8a1b5(0xe5),'attributes':{'class':['ck',_0xc8a1b5(0xdf),_0xc8a1b5(0xec),_0xba2b4c['if'](_0xc8a1b5(0xdc),_0xc8a1b5(0xd4))],'role':_0xc8a1b5(0xd5)},'children':this[_0xc8a1b5(0xd1)]});}[_0x344d70(0xe9)](){const _0x443a9e=_0x344d70;super[_0x443a9e(0xe9)](),this[_0x443a9e(0xe1)][_0x443a9e(0xd0)](this[_0x443a9e(0xc3)]),this[_0x443a9e(0xed)][_0x443a9e(0xd7)](this[_0x443a9e(0xc3)]),this[_0x443a9e(0xe8)][_0x443a9e(0xe2)](this[_0x443a9e(0xc3)]);}[_0x344d70(0xcc)](){const _0x589332=_0x344d70;this[_0x589332(0xd1)][_0x589332(0xe6)](),this[_0x589332(0xed)][_0x589332(0xcc)](),this[_0x589332(0xe1)][_0x589332(0xcc)](),this[_0x589332(0xe8)][_0x589332(0xe3)](),super[_0x589332(0xcc)]();}[_0x344d70(0xd8)](){const _0x2a7ec2=_0x344d70;this[_0x2a7ec2(0xd1)][_0x2a7ec2(0xf0)]&&this[_0x2a7ec2(0xd1)][_0x2a7ec2(0xf0)][_0x2a7ec2(0xd8)]();}[_0x344d70(0xf2)](){const _0x57b67c=_0x344d70,_0x27ef83=this[_0x57b67c(0xc3)][_0x57b67c(0xca)];_0x27ef83&&(this[_0x57b67c(0xcf)]=_0x27ef83);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x515e94=_0x5d8e;function _0x53b3(){const _0x27df22=['destroy','div','183bqaWng','top','ck-sidebar-item--no-animation','3037512nrYjRt','delegate','3866841GuInCV','content','createCollection','arrowup','bottom','_targetTop','5307315LNAZAC','isAnimationDisabled','detach','attach','30owDTrf','first','arrowdown','511584vkxRcA','height','bindTemplate','bind','1470321rUluRX','5936232cRjvdm','updateHeight','presentation','element','105SbWWey','set','focus','setTemplate','90268MdeRNu','clientHeight','clear','_mutationObserver','render','ck-sidebar-item'];_0x53b3=function(){return _0x27df22;};return _0x53b3();}(function(_0x5f33e6,_0x43f59e){const _0x1559ee=_0x5d8e,_0x3b64ef=_0x5f33e6();while(!![]){try{const _0xf6df96=-parseInt(_0x1559ee(0x175))/0x1+parseInt(_0x1559ee(0x162))/0x2+parseInt(_0x1559ee(0x15f))/0x3*(-parseInt(_0x1559ee(0x157))/0x4)+-parseInt(_0x1559ee(0x16a))/0x5+parseInt(_0x1559ee(0x176))/0x6+-parseInt(_0x1559ee(0x17a))/0x7*(-parseInt(_0x1559ee(0x171))/0x8)+-parseInt(_0x1559ee(0x164))/0x9*(-parseInt(_0x1559ee(0x16e))/0xa);if(_0xf6df96===_0x43f59e)break;else _0x3b64ef['push'](_0x3b64ef['shift']());}catch(_0x17c134){_0x3b64ef['push'](_0x3b64ef['shift']());}}}(_0x53b3,0xcf034));import{View as _0x3e3657}from'ckeditor5/src/ui.js';import{toUnit as _0x596887}from'ckeditor5/src/utils.js';function _0x5d8e(_0x3e68ba,_0x3dd438){const _0x53b35d=_0x53b3();return _0x5d8e=function(_0x5d8e12,_0x1e0fbb){_0x5d8e12=_0x5d8e12-0x156;let _0x57ac62=_0x53b35d[_0x5d8e12];return _0x57ac62;},_0x5d8e(_0x3e68ba,_0x3dd438);}import _0x522e3b from'../../utils/createmutationobserver.js';const qt=_0x596887('px');export default class H extends _0x3e3657{constructor(_0x1029b4){const _0x4858d6=_0x5d8e;super(_0x1029b4),this[_0x4858d6(0x17b)](_0x4858d6(0x160),0x0),this[_0x4858d6(0x17b)](_0x4858d6(0x172),0x0),this[_0x4858d6(0x174)](_0x4858d6(0x168))['to'](this,_0x4858d6(0x160),this,_0x4858d6(0x172),(_0x3dd482,_0x1764f5)=>_0x3dd482+_0x1764f5),this[_0x4858d6(0x17b)](_0x4858d6(0x16b),!0x1),this[_0x4858d6(0x15a)]=_0x522e3b(()=>this[_0x4858d6(0x177)]()),this[_0x4858d6(0x169)]=null,this[_0x4858d6(0x165)]=this[_0x4858d6(0x166)](),this[_0x4858d6(0x165)][_0x4858d6(0x163)](_0x4858d6(0x167),_0x4858d6(0x170))['to'](this);const _0x292a84=this[_0x4858d6(0x173)];this[_0x4858d6(0x156)]({'tag':_0x4858d6(0x15e),'attributes':{'class':[_0x4858d6(0x15c),_0x292a84['to'](_0x4858d6(0x16b),_0x513251=>_0x513251?_0x4858d6(0x161):'')],'style':{'top':_0x292a84['to'](_0x4858d6(0x160),_0x459670=>qt(_0x459670))},'role':_0x4858d6(0x178)},'children':this[_0x4858d6(0x165)]});}[_0x515e94(0x15b)](){const _0x39a839=_0x515e94;super[_0x39a839(0x15b)](),this[_0x39a839(0x15a)][_0x39a839(0x16d)](this[_0x39a839(0x179)]);}[_0x515e94(0x17c)](){const _0x15007a=_0x515e94;this[_0x15007a(0x165)][_0x15007a(0x16f)]&&this[_0x15007a(0x165)][_0x15007a(0x16f)][_0x15007a(0x17c)]();}[_0x515e94(0x177)](){const _0x5618d2=_0x515e94,_0x3a39f7=this[_0x5618d2(0x179)][_0x5618d2(0x158)];_0x3a39f7&&(this[_0x5618d2(0x172)]=_0x3a39f7);}[_0x515e94(0x15d)](){const _0x4b7836=_0x515e94;this[_0x4b7836(0x165)][_0x4b7836(0x159)](),this[_0x4b7836(0x15a)][_0x4b7836(0x16c)](),super[_0x4b7836(0x15d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x9a6aa4=_0x34ee;(function(_0x116b99,_0x54a5e2){const _0x1a227e=_0x34ee,_0x5e0f49=_0x116b99();while(!![]){try{const _0xfe3362=parseInt(_0x1a227e(0x96))/0x1+parseInt(_0x1a227e(0xb9))/0x2*(parseInt(_0x1a227e(0xa3))/0x3)+-parseInt(_0x1a227e(0xc3))/0x4*(-parseInt(_0x1a227e(0xb0))/0x5)+-parseInt(_0x1a227e(0x94))/0x6+-parseInt(_0x1a227e(0xa6))/0x7+parseInt(_0x1a227e(0x9e))/0x8+-parseInt(_0x1a227e(0xac))/0x9;if(_0xfe3362===_0x54a5e2)break;else _0x5e0f49['push'](_0x5e0f49['shift']());}catch(_0x4759f6){_0x5e0f49['push'](_0x5e0f49['shift']());}}}(_0x4e74,0xb0247));import{View as _0x3e6ce4,FocusCycler as _0xb85016}from'ckeditor5/src/ui.js';function _0x4e74(){const _0x526763=['change:top','length','getIndex','_updateItemPositionInFocusables','list','2894668GHxCkN','_setupKeyboardNavigation','focusFirst','3408996aySmYC','render','172736TdyrcT','ck-sidebar','class','focus','uiLanguageDirection','minHeight','source','ck-reset','11138840LpRDEt','div','remove','focusNext','focusPrevious','1536PNUoxi','top','arrowup','5096420PWWAAo','application','createCollection','Annotations\x20sidebar','focusCycler','delegate','6250293UZQLUD','setTemplate','focusTracker','element','5nCtGrx','number','change','add','bindTemplate','forEach','Annotations\x20list','arrowdown','focusables','1654UFPKEl','set','listenTo','removed','added'];_0x4e74=function(){return _0x526763;};return _0x4e74();}import{FocusTracker as _0x5daf2d,toUnit as _0x124188}from'ckeditor5/src/utils.js';function _0x34ee(_0x440cfa,_0x3ee12b){const _0x4e74cd=_0x4e74();return _0x34ee=function(_0x34ee58,_0x2a6cb6){_0x34ee58=_0x34ee58-0x93;let _0x50cc84=_0x4e74cd[_0x34ee58];return _0x50cc84;},_0x34ee(_0x440cfa,_0x3ee12b);}import{getTranslation as _0x460a5e}from'../../utils/common-translations.js';import'../../../theme/sidebar.css';const qt=_0x124188('px');export default class V extends _0x3e6ce4{constructor(_0x8e467){const _0x5ed751=_0x34ee;super(_0x8e467);const _0x53e0f3=this[_0x5ed751(0xb4)];this[_0x5ed751(0xba)](_0x5ed751(0x9b),0x0),this[_0x5ed751(0xba)](_0x5ed751(0x98),''),this[_0x5ed751(0xc2)]=this[_0x5ed751(0xa8)](),this[_0x5ed751(0xb8)]=this[_0x5ed751(0xa8)](),this[_0x5ed751(0xc2)][_0x5ed751(0xab)](_0x5ed751(0xa5),_0x5ed751(0xb7))['to'](this),this[_0x5ed751(0xae)]=new _0x5daf2d(),this[_0x5ed751(0xaa)]=new _0xb85016({'focusables':this[_0x5ed751(0xb8)],'focusTracker':this[_0x5ed751(0xae)]}),this[_0x5ed751(0xad)]({'tag':_0x5ed751(0x9f),'attributes':{'class':['ck',_0x5ed751(0x97),_0x5ed751(0x9d),_0x53e0f3['to'](_0x5ed751(0x98))],'style':{'minHeight':_0x53e0f3['to'](_0x5ed751(0x9b),_0x335394=>_0x5ed751(0xb1)==typeof _0x335394?qt(_0x335394+0xa):null)},'dir':_0x8e467[_0x5ed751(0x9a)],'role':_0x5ed751(0xa7),'aria-label':_0x460a5e(_0x8e467,_0x5ed751(0xa9)),'tabindex':0x0},'children':[{'tag':_0x5ed751(0x9f),'attributes':{'role':_0x5ed751(0xc2),'aria-label':_0x460a5e(_0x8e467,_0x5ed751(0xb6))},'children':this[_0x5ed751(0xc2)]}]});}[_0x9a6aa4(0x95)](){const _0x1dbc72=_0x9a6aa4;super[_0x1dbc72(0x95)](),this[_0x1dbc72(0xc4)]();}[_0x9a6aa4(0x99)](){const _0x3561c1=_0x9a6aa4;this[_0x3561c1(0xaa)][_0x3561c1(0x93)]();}[_0x9a6aa4(0xc4)](){const _0x465a04=_0x9a6aa4;this[_0x465a04(0xc2)][_0x465a04(0xab)](_0x465a04(0xbe))['to'](this),this['on'](_0x465a04(0xbe),_0x1b7ee5=>{const _0x10a347=_0x465a04;this[_0x10a347(0xc1)](_0x1b7ee5[_0x10a347(0x9c)]);}),this[_0x465a04(0xc2)][_0x465a04(0xb5)](_0x1ac136=>{const _0x13dade=_0x465a04;this[_0x13dade(0xae)][_0x13dade(0xb3)](_0x1ac136[_0x13dade(0xaf)]),this[_0x13dade(0xc1)](_0x1ac136);}),this[_0x465a04(0xc2)]['on'](_0x465a04(0xb2),(_0x5aee71,_0x35292e)=>{const _0x36937f=_0x465a04;for(const _0x52ff53 of _0x35292e[_0x36937f(0xbc)])this[_0x36937f(0xae)][_0x36937f(0xa0)](_0x52ff53[_0x36937f(0xaf)]),this[_0x36937f(0xb8)][_0x36937f(0xa0)](_0x52ff53);for(const _0x53dfa1 of _0x35292e[_0x36937f(0xbd)])this[_0x36937f(0xae)][_0x36937f(0xb3)](_0x53dfa1[_0x36937f(0xaf)]),this[_0x36937f(0xc1)](_0x53dfa1);}),this['on'](_0x465a04(0xa5),()=>{const _0x36f72f=_0x465a04;this[_0x36f72f(0xaa)][_0x36f72f(0xa2)]();}),this['on'](_0x465a04(0xb7),()=>{const _0x550714=_0x465a04;this[_0x550714(0xaa)][_0x550714(0xa1)]();}),this[_0x465a04(0xbb)](this[_0x465a04(0xaf)],_0x465a04(0x99),()=>{const _0x1b3572=_0x465a04;this[_0x1b3572(0x99)]();});}[_0x9a6aa4(0xc1)](_0x4bc240){const _0x5e714e=_0x9a6aa4,_0x1808ca=this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x4bc240);let _0x478c5e,_0x5ea790;for(const _0x262abf of this[_0x5e714e(0xb8)])if(_0x4bc240[_0x5e714e(0xa4)]<_0x262abf[_0x5e714e(0xa4)]){_0x478c5e=_0x262abf;break;}if(_0x5ea790=_0x478c5e?this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x478c5e):this[_0x5e714e(0xb8)][_0x5e714e(0xbf)],-0x1!==_0x1808ca){if(_0x1808ca===_0x5ea790-0x1)return;this[_0x5e714e(0xb8)][_0x5e714e(0xa0)](_0x4bc240),_0x5ea790=_0x478c5e?this[_0x5e714e(0xb8)][_0x5e714e(0xc0)](_0x478c5e):this[_0x5e714e(0xb8)][_0x5e714e(0xbf)];}this[_0x5e714e(0xb8)][_0x5e714e(0xb3)](_0x4bc240,_0x5ea790);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1a26(_0x7e7903,_0x173548){const _0xcdbea5=_0xcdbe();return _0x1a26=function(_0x1a26eb,_0x5262af){_0x1a26eb=_0x1a26eb-0xd4;let _0x34f738=_0xcdbea5[_0x1a26eb];return _0x34f738;},_0x1a26(_0x7e7903,_0x173548);}const _0x4e44d8=_0x1a26;function _0xcdbe(){const _0x5adc0e=['isOfficialPlugin','2034036xVTIpj','_detachFromContainer','stop','_attachToContainer','plugins','requires','setActiveAnnotation','blur','context','3961548ZixHMa','10NidzTe','high','ck-sidebar--wide','focus','removeEventListener','uiUpdate','change:container','attach','isAttached','switchTo','listenTo','isPremiumPlugin','from','18065GyOqUd','updateTargetRect','cancel','refresh','detach','widesidebar-detach-not-attached','container','widesidebar-attach-already-attached','1303092Abppwy','resize','init','remove','5038320bEVSwb','activeAnnotation','pluginName','refreshPositioning','set','EditorAnnotations','getOrderedSelectedAnnotations','2LCPtkX','_activeAnnotation','_integrateWithEditorAnnotations','_editorAnnotations','13315887AhAsxA','_destroyEditorAnnotationsIntegration','editors','set:container','wideSidebar','hasDomSelection','register','has','get','_refreshPositioningDebounced','stopListening','WideSidebar','off','add','3307157DTyBxt','annotations','2154yCIzig','rearrange','_annotations','destroy','ready','addAnnotation','addEventListener'];_0xcdbe=function(){return _0x5adc0e;};return _0xcdbe();}(function(_0x848fcd,_0x34b15f){const _0x4b5513=_0x1a26,_0x8b4db4=_0x848fcd();while(!![]){try{const _0x22be9a=-parseInt(_0x4b5513(0xda))/0x1*(parseInt(_0x4b5513(0xe5))/0x2)+parseInt(_0x4b5513(0x10a))/0x3+-parseInt(_0x4b5513(0x101))/0x4+parseInt(_0x4b5513(0x118))/0x5*(-parseInt(_0x4b5513(0xf9))/0x6)+parseInt(_0x4b5513(0xf7))/0x7+parseInt(_0x4b5513(0xde))/0x8+parseInt(_0x4b5513(0xe9))/0x9*(parseInt(_0x4b5513(0x10b))/0xa);if(_0x22be9a===_0x34b15f)break;else _0x8b4db4['push'](_0x8b4db4['shift']());}catch(_0x1bc768){_0x8b4db4['push'](_0x8b4db4['shift']());}}}(_0xcdbe,0xc1c20));import{ContextPlugin as _0x4c71ab,Context as _0x5099ca}from'ckeditor5/src/core.js';import _0x5bed50 from'./annotationsuis.js';import _0x1b64c3 from'./sidebar.js';import{CKEditorError as _0x34d25d,Collection as _0x356637}from'ckeditor5/src/utils.js';import{debounce as _0x5a6996}from'lodash-es';export default class e extends _0x4c71ab{static get[_0x4e44d8(0x106)](){return[_0x1b64c3,_0x5bed50];}static get[_0x4e44d8(0xe0)](){const _0x5eefd2=_0x4e44d8;return _0x5eefd2(0xf4);}static get[_0x4e44d8(0x100)](){return!0x0;}static get[_0x4e44d8(0x116)](){return!0x0;}constructor(_0x7e4eb6){const _0x451b17=_0x4e44d8;super(_0x7e4eb6),this[_0x451b17(0x113)]=!0x1,this[_0x451b17(0xe2)](_0x451b17(0xdf),null),this[_0x451b17(0xf8)]=null,this[_0x451b17(0xe8)]=new _0x356637(),this[_0x451b17(0xf2)]=_0x5a6996(()=>{const _0x250e71=_0x451b17;this[_0x250e71(0xf8)][_0x250e71(0xe1)]();},0xfa,{'leading':!0x1});}[_0x4e44d8(0xdc)](){const _0x404b42=_0x4e44d8,_0x368f1f=this[_0x404b42(0x109)][_0x404b42(0x105)][_0x404b42(0xf1)](_0x5bed50),_0x189117=this[_0x404b42(0x109)][_0x404b42(0x105)][_0x404b42(0xf1)](_0x1b64c3);_0x368f1f[_0x404b42(0xef)](_0x404b42(0xed),this),_0x189117[_0x404b42(0xd8)]&&_0x368f1f[_0x404b42(0x114)](_0x404b42(0xed));}[_0x4e44d8(0x107)](_0x2a4ba0){const _0x36b0b3=_0x4e44d8;if(_0x2a4ba0===this[_0x36b0b3(0xdf)])return;const _0x190337=this[_0x36b0b3(0x109)][_0x36b0b3(0x105)][_0x36b0b3(0xf1)](_0x1b64c3);_0x190337[_0x36b0b3(0xe6)]=_0x2a4ba0;const _0x361541=this[_0x36b0b3(0xdf)];this[_0x36b0b3(0xdf)]=_0x2a4ba0,_0x190337[_0x36b0b3(0xd5)]({'blurredAnnotation':_0x361541,'activatedAnnotation':this[_0x36b0b3(0xdf)]});}[_0x4e44d8(0x112)](_0x1889d5){const _0x2a6c32=_0x4e44d8;this[_0x2a6c32(0xf8)]=_0x1889d5;const _0x5d0854=this[_0x2a6c32(0x109)][_0x2a6c32(0x105)][_0x2a6c32(0xf1)](_0x1b64c3);if(_0x5d0854[_0x2a6c32(0xfb)]=_0x1889d5,this[_0x2a6c32(0x113)])throw new _0x34d25d(_0x2a6c32(0xd9),this);this[_0x2a6c32(0x113)]=!0x0,this[_0x2a6c32(0x115)](_0x5d0854,_0x2a6c32(0xec),()=>{const _0x53f7ff=_0x2a6c32;this[_0x53f7ff(0xd6)](),this[_0x53f7ff(0x115)](_0x5d0854,_0x53f7ff(0x111),_0x5b1661=>{const _0x49ac1a=_0x53f7ff;_0x5b1661[_0x49ac1a(0xf5)](),this[_0x49ac1a(0x112)](_0x1889d5);});}),_0x5d0854[_0x2a6c32(0x104)]({'viewClass':_0x2a6c32(0x10d)});const _0x5b5e39=_0x40126b=>{const _0x4d95f0=_0x2a6c32;_0x40126b[_0x4d95f0(0x119)](),_0x5d0854[_0x4d95f0(0xfe)](_0x40126b);};for(const _0x560d3f of _0x1889d5)_0x5b5e39(_0x560d3f);this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0xf6),(_0x3f15ac,_0x465b75)=>{_0x5b5e39(_0x465b75);}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0xdd),(_0x4438dd,_0x2320d5,_0x520017)=>{const _0x87f82f=_0x2a6c32;_0x5d0854[_0x87f82f(0xfa)]({'removedAnnotation':_0x2320d5,'previousAnnotation':_0x1889d5[_0x87f82f(0xf1)](_0x520017-0x1),'nextAnnotation':_0x1889d5[_0x87f82f(0xf1)](_0x520017+0x1)}),_0x2320d5===this[_0x87f82f(0xdf)]&&this[_0x87f82f(0x107)](null);},{'priority':_0x2a6c32(0x10c)}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0x10e),(_0x5d2d48,_0x4006fa)=>{const _0x40551e=_0x2a6c32;this[_0x40551e(0x107)](_0x4006fa);}),this[_0x2a6c32(0x115)](_0x1889d5,_0x2a6c32(0x108),()=>{const _0x5400b2=_0x2a6c32;this[_0x5400b2(0x107)](null);});const _0x25d117=this[_0x2a6c32(0x109)]instanceof _0x5099ca?this[_0x2a6c32(0x109)][_0x2a6c32(0xeb)]:new _0x356637([this[_0x2a6c32(0x109)]]);for(const _0x5dfcd5 of _0x25d117)this[_0x2a6c32(0xe7)](_0x5dfcd5);this[_0x2a6c32(0x115)](_0x25d117,_0x2a6c32(0xf6),(_0x4eeec4,_0x33751b)=>{const _0x4227ac=_0x2a6c32;this[_0x4227ac(0x115)](_0x33751b,_0x4227ac(0xfd),()=>{const _0x19e827=_0x4227ac;this[_0x19e827(0xe7)](_0x33751b);});}),this[_0x2a6c32(0x115)](_0x25d117,_0x2a6c32(0xdd),(_0x503f55,_0xaa0809)=>{const _0x35e89c=_0x2a6c32;_0xaa0809[_0x35e89c(0x105)][_0x35e89c(0xf0)](_0x35e89c(0xe3))&&this[_0x35e89c(0xea)](_0xaa0809[_0x35e89c(0x105)][_0x35e89c(0xf1)](_0x35e89c(0xe3)));}),window[_0x2a6c32(0xff)](_0x2a6c32(0xdb),this[_0x2a6c32(0xf2)]),this[_0x2a6c32(0xf8)][_0x2a6c32(0xe1)]();}[_0x4e44d8(0xd6)](){const _0x3cda3c=_0x4e44d8;if(!this[_0x3cda3c(0x113)])throw new _0x34d25d(_0x3cda3c(0xd7),this);this[_0x3cda3c(0x107)](null);const _0x3b695e=this[_0x3cda3c(0x109)][_0x3cda3c(0x105)][_0x3cda3c(0xf1)](_0x1b64c3);_0x3b695e[_0x3cda3c(0x102)](this[_0x3cda3c(0xf8)]),this[_0x3cda3c(0xf3)](_0x3b695e),this[_0x3cda3c(0xf3)](this[_0x3cda3c(0xf8)]),this[_0x3cda3c(0x109)]instanceof _0x5099ca&&this[_0x3cda3c(0xf3)](this[_0x3cda3c(0x109)][_0x3cda3c(0xeb)]);for(const _0x401a12 of Array[_0x3cda3c(0x117)](this[_0x3cda3c(0xe8)]))this[_0x3cda3c(0xea)](_0x401a12);window[_0x3cda3c(0x10f)](_0x3cda3c(0xdb),this[_0x3cda3c(0xf2)]),this[_0x3cda3c(0xf2)][_0x3cda3c(0xd4)](),this[_0x3cda3c(0xdf)]=null,this[_0x3cda3c(0x113)]=!0x1,this[_0x3cda3c(0xf8)]=null;}[_0x4e44d8(0xfc)](){const _0x4f5de8=_0x4e44d8;this[_0x4f5de8(0x113)]&&this[_0x4f5de8(0xd6)]();}[_0x4e44d8(0xe7)](_0x114482){const _0xe28229=_0x4e44d8;if(!_0x114482[_0xe28229(0x105)][_0xe28229(0xf0)](_0xe28229(0xe3)))return;const _0xec6f6d=_0x114482[_0xe28229(0x105)][_0xe28229(0xf1)](_0xe28229(0xe3)),_0x2abc96=()=>{const _0x2676bc=_0xe28229,_0xcac2ee=_0xec6f6d[_0x2676bc(0xe4)]({'annotations':this[_0x2676bc(0xf8)],'activeAnnotation':this[_0x2676bc(0xdf)]});this[_0x2676bc(0x107)](_0xcac2ee[0x0]||null);};this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0xd5),_0x2abc96),this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0x108),(_0x342019,{isAnnotationTracked:_0xcdd2d})=>{const _0x105e6b=_0xe28229;this[_0x105e6b(0xdf)]&&_0xcdd2d(this[_0x105e6b(0xdf)])&&this[_0x105e6b(0x107)](null);}),this[_0xe28229(0x115)](_0xec6f6d,_0xe28229(0x110),()=>{const _0xdcd06e=_0xe28229;this[_0xdcd06e(0xf2)]();}),this[_0xe28229(0x115)](this[_0xe28229(0xf8)],_0xe28229(0x108),_0x57c94b=>{const _0x27175c=_0xe28229;_0xec6f6d[_0x27175c(0xee)]()&&(_0x2abc96(),_0x57c94b[_0x27175c(0x103)]());},{'priority':_0xe28229(0x10c)}),this[_0xe28229(0xe8)][_0xe28229(0xf6)](_0xec6f6d);}[_0x4e44d8(0xea)](_0x3e9411){const _0x170cfb=_0x4e44d8;this[_0x170cfb(0xf3)](_0x3e9411),this[_0x170cfb(0xe8)][_0x170cfb(0xdd)](_0x3e9411);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b69ca=_0x1525;(function(_0x2561a5,_0x3c3ae3){const _0x3297bb=_0x1525,_0x150b45=_0x2561a5();while(!![]){try{const _0x2fbbe5=-parseInt(_0x3297bb(0xfb))/0x1*(parseInt(_0x3297bb(0x103))/0x2)+parseInt(_0x3297bb(0x105))/0x3+parseInt(_0x3297bb(0xfc))/0x4*(-parseInt(_0x3297bb(0x101))/0x5)+parseInt(_0x3297bb(0xfe))/0x6+parseInt(_0x3297bb(0xec))/0x7+parseInt(_0x3297bb(0xe9))/0x8+parseInt(_0x3297bb(0xf9))/0x9*(-parseInt(_0x3297bb(0xf2))/0xa);if(_0x2fbbe5===_0x3c3ae3)break;else _0x150b45['push'](_0x150b45['shift']());}catch(_0x1f4e16){_0x150b45['push'](_0x150b45['shift']());}}}(_0x39a6,0x62c85));import{Command as _0x2307c8}from'ckeditor5/src/core.js';function _0x1525(_0x521186,_0x47cfa2){const _0x39a6a0=_0x39a6();return _0x1525=function(_0x15251c,_0x4559da){_0x15251c=_0x15251c-0xe0;let _0x4d6473=_0x39a6a0[_0x15251c];return _0x4d6473;},_0x1525(_0x521186,_0x47cfa2);}import{uid as _0x4917bb}from'ckeditor5/src/utils.js';function _0x39a6(){const _0x49769a=['end','_trimToContent','1472512TFCwQn','comment:','document','660569KawkwL','item','element','isEnabled','isObject','_hasContent','1480EvhgJI','schema','model','getRanges','substr','$textProxy','tableCell','9495DxRLwQ','push','540194gyFtSc','720wNvUav','refresh','4514460bDJzHO','editor','start','6995rpTxaD','_itemIsContent','2DIUjLu','createRange','965778mXRoho','getItems','backward','change','getLastMatchingPosition','addMarker','execute','selection'];_0x39a6=function(){return _0x49769a;};return _0x39a6();}export default class J extends _0x2307c8{[_0x5b69ca(0xfd)](){const _0x10ea96=_0x5b69ca,_0x57859c=this[_0x10ea96(0xff)][_0x10ea96(0xf4)][_0x10ea96(0xeb)][_0x10ea96(0xe6)];for(const _0x2f49c4 of _0x57859c[_0x10ea96(0xf5)]())if(this[_0x10ea96(0xf1)](_0x2f49c4))return void(this[_0x10ea96(0xef)]=!0x0);this[_0x10ea96(0xef)]=!0x1;}[_0x5b69ca(0xe5)]({threadId:_0x4fc551=_0x4917bb()}={}){const _0x40d774=_0x5b69ca,_0x126415=this[_0x40d774(0xff)][_0x40d774(0xf4)],_0x28227b=[];for(const _0x38503e of _0x126415[_0x40d774(0xeb)][_0x40d774(0xe6)][_0x40d774(0xf5)]())this[_0x40d774(0xf1)](_0x38503e)&&_0x28227b[_0x40d774(0xfa)](this[_0x40d774(0xe8)](_0x38503e));_0x126415[_0x40d774(0xe2)](_0x403c0c=>{const _0x131841=_0x40d774;for(const _0x2c0731 of _0x28227b){const _0x37983f=_0x4917bb()[_0x131841(0xf6)](0x1,0x5),_0x5194ea=_0x131841(0xea)+_0x4fc551+':'+_0x37983f;_0x403c0c[_0x131841(0xe4)](_0x5194ea,{'range':_0x2c0731,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x5b69ca(0xf1)](_0x15ae86){const _0x58ef09=_0x5b69ca;for(const _0x4a24d1 of _0x15ae86[_0x58ef09(0xe0)]())if(this[_0x58ef09(0x102)](_0x4a24d1))return!0x0;return!0x1;}[_0x5b69ca(0x102)](_0x24805c){const _0x1e28ba=_0x5b69ca;return _0x24805c['is'](_0x1e28ba(0xf7))||this[_0x1e28ba(0xff)][_0x1e28ba(0xf4)][_0x1e28ba(0xf3)][_0x1e28ba(0xf0)](_0x24805c)&&!_0x24805c['is'](_0x1e28ba(0xee),_0x1e28ba(0xf8));}[_0x5b69ca(0xe8)](_0x2fa2bb){const _0x151502=_0x5b69ca,_0x50c33f=_0x32221d=>!this[_0x151502(0x102)](_0x32221d[_0x151502(0xed)]),_0x35b94b=_0x2fa2bb[_0x151502(0x100)][_0x151502(0xe3)](_0x50c33f),_0x790448=_0x2fa2bb[_0x151502(0xe7)][_0x151502(0xe3)](_0x50c33f,{'direction':_0x151502(0xe1)});return this[_0x151502(0xff)][_0x151502(0xf4)][_0x151502(0x104)](_0x35b94b,_0x790448);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x126435=_0x5839;(function(_0x1458af,_0x5f53d5){const _0x2781fd=_0x5839,_0x685fbf=_0x1458af();while(!![]){try{const _0x2ad62b=parseInt(_0x2781fd(0xb7))/0x1*(-parseInt(_0x2781fd(0xaf))/0x2)+-parseInt(_0x2781fd(0xc7))/0x3+-parseInt(_0x2781fd(0xbe))/0x4+parseInt(_0x2781fd(0xcc))/0x5+parseInt(_0x2781fd(0xac))/0x6+parseInt(_0x2781fd(0xb3))/0x7+parseInt(_0x2781fd(0xa9))/0x8;if(_0x2ad62b===_0x5f53d5)break;else _0x685fbf['push'](_0x685fbf['shift']());}catch(_0x44e26a){_0x685fbf['push'](_0x685fbf['shift']());}}}(_0x2372,0x329f9));import{ContextPlugin as _0x632c67}from'ckeditor5/src/core.js';import{Collection as _0x17bcbc}from'ckeditor5/src/utils.js';function _0x2372(){const _0x2bb27d=['678940LEkcyS','add','2876200RmXANE','has','listenTo','646698hBlvNq','get','collection','16HOfItc','init','pluginName','focus','1748019JfXbbe','isPremiumPlugin','getCommentThread','isVisible','5527lbXTLc','removeCommentThread','length','change:archivedAt','requires','CommentsArchive','isActive','1018372AYQLlv','plugins','_calculatePosition','archivedAt','highest','stopListening','activate','remove','archivedThreads','1039953KvpjWr','isOfficialPlugin','addCommentThread','context','findIndex'];_0x2372=function(){return _0x2bb27d;};return _0x2372();}import _0x2423af from'./commentsrepository.js';function _0x5839(_0x1916d8,_0x536ab2){const _0x2372cf=_0x2372();return _0x5839=function(_0x58392b,_0x102d26){_0x58392b=_0x58392b-0xa8;let _0x576672=_0x2372cf[_0x58392b];return _0x576672;},_0x5839(_0x1916d8,_0x536ab2);}import _0x2ac678 from'../annotations/annotations.js';export default class f extends _0x632c67{static get[_0x126435(0xb1)](){const _0x2b48f8=_0x126435;return _0x2b48f8(0xbc);}static get[_0x126435(0xc8)](){return!0x0;}static get[_0x126435(0xb4)](){return!0x0;}static get[_0x126435(0xbb)](){return[_0x2423af,_0x2ac678];}constructor(_0x2cf981){const _0x77c39=_0x126435;super(_0x2cf981),this[_0x77c39(0xc6)]=new _0x17bcbc();}[_0x126435(0xb0)](){const _0x233bcc=_0x126435,_0xff5a32=this[_0x233bcc(0xca)],_0x3f7851=_0xff5a32[_0x233bcc(0xbf)][_0x233bcc(0xad)](_0x2423af),_0x454781=_0xff5a32[_0x233bcc(0xbf)][_0x233bcc(0xad)](_0x2ac678);this[_0x233bcc(0xab)](_0x3f7851,_0x233bcc(0xc9),(_0x57b114,{threadId:_0x34ed1c})=>{const _0x3a5a31=_0x233bcc,_0x5abb9f=_0x3f7851[_0x3a5a31(0xb5)](_0x34ed1c);_0x5abb9f[_0x3a5a31(0xc1)]&&this[_0x3a5a31(0xc6)][_0x3a5a31(0xa8)](_0x5abb9f,this[_0x3a5a31(0xc0)](_0x5abb9f[_0x3a5a31(0xc1)])),this[_0x3a5a31(0xab)](_0x5abb9f,_0x3a5a31(0xba),(_0xe196a9,_0x14b125,_0x56603d)=>{const _0x566515=_0x3a5a31;_0x56603d?this[_0x566515(0xc6)][_0x566515(0xaa)](_0x5abb9f)||this[_0x566515(0xc6)][_0x566515(0xa8)](_0x5abb9f,this[_0x566515(0xc0)](_0x5abb9f[_0x566515(0xc1)])):this[_0x566515(0xc6)][_0x566515(0xaa)](_0x5abb9f)&&this[_0x566515(0xc6)][_0x566515(0xc5)](_0x5abb9f);});}),this[_0x233bcc(0xab)](_0x3f7851,_0x233bcc(0xb8),(_0x3c463b,{threadId:_0x5731b5})=>{const _0x13519f=_0x233bcc,_0x3e00d7=_0x3f7851[_0x13519f(0xb5)](_0x5731b5);this[_0x13519f(0xc3)](_0x3e00d7),this[_0x13519f(0xc6)][_0x13519f(0xaa)](_0x3e00d7)&&this[_0x13519f(0xc6)][_0x13519f(0xc5)](_0x3e00d7);},{'priority':_0x233bcc(0xc2)}),this[_0x233bcc(0xab)](_0x454781[_0x233bcc(0xae)],_0x233bcc(0xb2),(_0x132ba0,_0x23f4ae)=>{const _0x37db5=_0x233bcc;_0x23f4ae[_0x37db5(0xb6)]||(_0x23f4ae[_0x37db5(0xbd)]=!0x0,_0x454781[_0x37db5(0xc4)](_0x23f4ae));});}[_0x126435(0xc0)](_0x5b0231){const _0x236e9b=_0x126435,_0x2a4e9b=[...this[_0x236e9b(0xc6)]][_0x236e9b(0xcb)](_0x5fd4d8=>_0x5fd4d8[_0x236e9b(0xc1)]<_0x5b0231);return _0x2a4e9b>-0x1?_0x2a4e9b:this[_0x236e9b(0xc6)][_0x236e9b(0xb9)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x7397(_0x502fde,_0x1bcfd9){const _0x49d33c=_0x49d3();return _0x7397=function(_0x7397e6,_0x518561){_0x7397e6=_0x7397e6-0xeb;let _0x1070e0=_0x49d33c[_0x7397e6];return _0x1070e0;},_0x7397(_0x502fde,_0x1bcfd9);}const _0x4076b7=_0x7397;function _0x49d3(){const _0x167bfa=['isVisible','annotationViews','CommentsArchiveUI','config','filter','stopListening','CommentsRepository','EDITOR_TOP_SIDE','has','length','isEnabled','get','_visibleAnnotations','view','init','_threadToController','findIndex','execute','9vdDast','tooltip','requires','_hideDialogOnAnnotationEscape','stop','source','Dialog','commentsArchiveView','focusableElements','channelId','4687422YlpBGf','947673UYPXiy','_calculatePosition','add','commentsArchive','archivedAt','7903500fdLPxF','108Qlyxui','isPremiumPlugin','isOfficialPlugin','listenTo','set','isOpen','push','_createCommentsArchiveButton','escape','getByInnerView','archivedThreads','collaboration.channelId','bind','7000530vQOzse','collection','hide','isOn','menuBar:commentsArchive','6433528MFgzye','Annotations','menuitemcheckbox','3866951ipCNuW','splice','innerView','show','_pendingThreads','20yNhEQR','editor','267566ASeobY','indexOf','7SmIDTI','COMMENTS_ARCHIVE','remove','_toggleDialog','plugins','pluginName','2oHAoFY','find','locale','componentFactory'];_0x49d3=function(){return _0x167bfa;};return _0x49d3();}(function(_0x3fe9a7,_0x5efab6){const _0x37787d=_0x7397,_0x5ed71c=_0x3fe9a7();while(!![]){try{const _0x34252c=-parseInt(_0x37787d(0xfd))/0x1*(-parseInt(_0x37787d(0x105))/0x2)+parseInt(_0x37787d(0x126))/0x3*(parseInt(_0x37787d(0xfb))/0x4)+parseInt(_0x37787d(0x12b))/0x5+-parseInt(_0x37787d(0x125))/0x6*(-parseInt(_0x37787d(0xff))/0x7)+parseInt(_0x37787d(0xf3))/0x8*(-parseInt(_0x37787d(0x11b))/0x9)+parseInt(_0x37787d(0xee))/0xa+-parseInt(_0x37787d(0xf6))/0xb*(parseInt(_0x37787d(0x12c))/0xc);if(_0x34252c===_0x5efab6)break;else _0x5ed71c['push'](_0x5ed71c['shift']());}catch(_0x39069f){_0x5ed71c['push'](_0x5ed71c['shift']());}}}(_0x49d3,0xe5b97));import'../../theme/commentsarchive.css';import{Plugin as _0x42d550}from'ckeditor5/src/core.js';import{ViewCollection as _0x28712,MenuBarMenuListItemButtonView as _0x473bc9,ButtonView as _0x2d5c41,Dialog as _0x5626cd,DialogViewPosition as _0x61cf0e}from'ckeditor5/src/ui.js';import _0x43acf7 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x4f5830}from'../utils/common-translations.js';import _0x560793 from'./ui/view/commentsarchiveview.js';import _0xf5af9a from'./commentsarchive.js';export default class a extends _0x42d550{static get[_0x4076b7(0x104)](){const _0x34b742=_0x4076b7;return _0x34b742(0x10b);}static get[_0x4076b7(0x12e)](){return!0x0;}static get[_0x4076b7(0x12d)](){return!0x0;}static get[_0x4076b7(0x11d)](){return[_0xf5af9a,_0x5626cd];}constructor(_0x3a2c18){const _0x451e3d=_0x4076b7;super(_0x3a2c18),this[_0x451e3d(0x11e)]=_0xd11991=>{const _0x2ef87e=_0x451e3d,_0x1dc3c7=_0xd11991[_0x2ef87e(0x120)];if(!this[_0x2ef87e(0x10a)][_0x2ef87e(0x111)](_0x1dc3c7[_0x2ef87e(0x116)]))return;const _0x3deb7d=this[_0x2ef87e(0xfc)][_0x2ef87e(0x103)][_0x2ef87e(0x114)](_0x2ef87e(0x121));_0x3deb7d[_0x2ef87e(0x131)]&&_0x2ef87e(0x129)===_0x3deb7d['id']&&(_0x3deb7d[_0x2ef87e(0xf0)](),_0xd11991[_0x2ef87e(0x11f)]());},this[_0x451e3d(0x10a)]=new _0x28712(),this[_0x451e3d(0xfa)]=[];}[_0x4076b7(0x117)](){const _0x149da1=_0x4076b7,_0x4dc26e=this[_0x149da1(0xfc)],_0x5e5c6f=this[_0x149da1(0x11e)][_0x149da1(0xed)](this);_0x4dc26e['ui'][_0x149da1(0x108)][_0x149da1(0x128)](_0x149da1(0x129),()=>this[_0x149da1(0x133)](_0x2d5c41,!0x0)),_0x4dc26e['ui'][_0x149da1(0x108)][_0x149da1(0x128)](_0x149da1(0xf2),()=>{const _0x27fef4=_0x149da1,_0x297c11=this[_0x27fef4(0x133)](_0x473bc9);return _0x297c11[_0x27fef4(0x130)]({'role':_0x27fef4(0xf5)}),_0x297c11;});const _0x3c537f=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0xf5af9a),_0x300a22=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0x149da1(0xf4)),_0x3ded6e=_0x4dc26e[_0x149da1(0x103)][_0x149da1(0x114)](_0x149da1(0x10f));this[_0x149da1(0x12f)](_0x3c537f[_0x149da1(0xeb)],_0x149da1(0x128),(_0x437fa0,_0x2de8d2)=>{const _0x2e7cc0=_0x149da1,_0x24c90f=_0x4dc26e[_0x2e7cc0(0x10c)][_0x2e7cc0(0x114)](_0x2e7cc0(0xec));if(!_0x24c90f||_0x2de8d2[_0x2e7cc0(0x124)]===_0x24c90f){const _0x3ed676=_0x3ded6e[_0x2e7cc0(0x118)][_0x2e7cc0(0x114)](_0x2de8d2);if(!_0x3ed676)return void this[_0x2e7cc0(0xfa)][_0x2e7cc0(0x132)](_0x2de8d2);const _0x3f407f=this[_0x2e7cc0(0x127)](_0x2de8d2[_0x2e7cc0(0x12a)]),_0x22ba67=_0x300a22[_0x2e7cc0(0x135)](_0x3ed676[_0x2e7cc0(0x116)]);_0x22ba67[_0x2e7cc0(0x109)]&&_0x300a22[_0x2e7cc0(0x115)][_0x2e7cc0(0x101)](_0x22ba67),this[_0x2e7cc0(0x10a)][_0x2e7cc0(0x128)](_0x22ba67[_0x2e7cc0(0x116)],_0x3f407f);}}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x128),(_0x289d51,_0x815fcf)=>{const _0x114459=_0x149da1,_0xb0a4a3=this[_0x114459(0xfa)][_0x114459(0x106)](_0x43d52c=>{const _0x4c39e6=_0x114459,_0x2b61e4=_0x3ded6e[_0x4c39e6(0x118)][_0x4c39e6(0x114)](_0x43d52c);return _0x2b61e4&&_0x815fcf[_0x4c39e6(0xf8)]===_0x2b61e4[_0x4c39e6(0x116)];});if(_0xb0a4a3){const _0x4f1a74=this[_0x114459(0x127)](_0xb0a4a3[_0x114459(0x12a)]);this[_0x114459(0x10a)][_0x114459(0x128)](_0x815fcf[_0x114459(0x116)],_0x4f1a74),this[_0x114459(0xfa)][_0x114459(0xf7)](this[_0x114459(0xfa)][_0x114459(0xfe)](_0xb0a4a3),0x1);}}),this[_0x149da1(0x12f)](_0x3c537f[_0x149da1(0xeb)],_0x149da1(0x101),(_0xe31739,_0x21cde1)=>{const _0x3aa778=_0x149da1,_0xc2ac5b=_0x4dc26e[_0x3aa778(0x10c)][_0x3aa778(0x114)](_0x3aa778(0xec));if(!_0xc2ac5b||_0x21cde1[_0x3aa778(0x124)]===_0xc2ac5b){const _0x5cd644=_0x3ded6e[_0x3aa778(0x118)][_0x3aa778(0x114)](_0x21cde1),_0x52d8c0=_0x300a22[_0x3aa778(0x135)](_0x5cd644[_0x3aa778(0x116)]);this[_0x3aa778(0x10a)][_0x3aa778(0x101)](_0x52d8c0[_0x3aa778(0x116)]),this[_0x3aa778(0x10e)](_0x52d8c0[_0x3aa778(0x123)]);}}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x128),(_0x462f40,_0x42a4da)=>{const _0x2b20dd=_0x149da1;this[_0x2b20dd(0x12f)](_0x42a4da,_0x2b20dd(0x134),_0x5e5c6f);}),this[_0x149da1(0x12f)](_0x300a22[_0x149da1(0xef)],_0x149da1(0x101),(_0x70e0b6,_0x5ea3f1)=>{const _0x506e24=_0x149da1;this[_0x506e24(0x10e)](_0x5ea3f1,_0x506e24(0x134),_0x5e5c6f);});}[_0x4076b7(0x127)](_0x4b4d75){const _0x28bb1=_0x4076b7,_0x1a5286=this[_0x28bb1(0xfc)][_0x28bb1(0x10c)][_0x28bb1(0x114)](_0x28bb1(0xec)),_0x2d5b12=[...this[_0x28bb1(0xfc)][_0x28bb1(0x103)][_0x28bb1(0x114)](_0xf5af9a)[_0x28bb1(0xeb)]][_0x28bb1(0x10d)](_0xb222e1=>_0xb222e1[_0x28bb1(0x124)]===_0x1a5286)[_0x28bb1(0x119)](_0x138444=>_0x138444[_0x28bb1(0x12a)]<_0x4b4d75);return _0x2d5b12<0x0||_0x2d5b12>this[_0x28bb1(0x10a)][_0x28bb1(0x112)]?this[_0x28bb1(0x10a)][_0x28bb1(0x112)]:_0x2d5b12-0x1;}[_0x4076b7(0x102)](){const _0x82f88=_0x4076b7,_0x3b67f4=this[_0x82f88(0xfc)],_0x5750ab=_0x3b67f4[_0x82f88(0x103)][_0x82f88(0x114)](_0x82f88(0x121));this[_0x82f88(0x122)]||(this[_0x82f88(0x122)]=new _0x560793(_0x3b67f4[_0x82f88(0x107)],this[_0x82f88(0x10a)])),_0x82f88(0x129)===_0x5750ab['id']?_0x5750ab[_0x82f88(0xf0)]():_0x5750ab[_0x82f88(0xf9)]({'id':_0x82f88(0x129),'title':_0x4f5830(_0x3b67f4[_0x82f88(0x107)],_0x82f88(0x100)),'icon':_0x43acf7,'hasCloseButton':!0x0,'content':this[_0x82f88(0x122)],'position':_0x61cf0e[_0x82f88(0x110)]});}[_0x4076b7(0x133)](_0x3b79ab,_0x49ba67=!0x1){const _0x287ddc=_0x4076b7,_0x502654=this[_0x287ddc(0xfc)][_0x287ddc(0x107)],_0x1ee654=this[_0x287ddc(0xfc)][_0x287ddc(0x103)][_0x287ddc(0x114)](_0x287ddc(0x121)),_0x30ab1d=new _0x3b79ab(_0x502654);return _0x30ab1d[_0x287ddc(0xed)](_0x287ddc(0x113))['to'](this,_0x287ddc(0x113)),_0x30ab1d[_0x287ddc(0xed)](_0x287ddc(0xf1))['to'](_0x1ee654,'id',_0x5754d4=>_0x287ddc(0x129)===_0x5754d4),_0x30ab1d[_0x287ddc(0x130)]({'label':_0x4f5830(_0x502654,_0x287ddc(0x100)),'icon':_0x43acf7,'isToggleable':!0x0}),_0x49ba67&&(_0x30ab1d[_0x287ddc(0x11c)]=!0x0),this[_0x287ddc(0x12f)](_0x30ab1d,_0x287ddc(0x11a),()=>this[_0x287ddc(0x102)]()),_0x30ab1d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4adbcc=_0x2aca;(function(_0x374cfa,_0x2942d8){const _0x371326=_0x2aca,_0x5bd4c6=_0x374cfa();while(!![]){try{const _0x4d2e06=-parseInt(_0x371326(0x90))/0x1+-parseInt(_0x371326(0x9c))/0x2*(parseInt(_0x371326(0x8f))/0x3)+parseInt(_0x371326(0xec))/0x4*(parseInt(_0x371326(0x98))/0x5)+-parseInt(_0x371326(0x9d))/0x6+parseInt(_0x371326(0xf1))/0x7*(-parseInt(_0x371326(0xa7))/0x8)+parseInt(_0x371326(0xab))/0x9*(parseInt(_0x371326(0xf4))/0xa)+parseInt(_0x371326(0x9b))/0xb*(parseInt(_0x371326(0x9e))/0xc);if(_0x4d2e06===_0x2942d8)break;else _0x5bd4c6['push'](_0x5bd4c6['shift']());}catch(_0x179c2f){_0x5bd4c6['push'](_0x5bd4c6['shift']());}}}(_0x2967,0x70e90));import{Plugin as _0x35de17}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x18ccec,scrollViewportToShowTarget as _0x1b1d95}from'ckeditor5/src/utils.js';import _0x2bddc4 from'./commentsrepository.js';import _0xf88863 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2b92cf,getAllMarkersDomElementsSorted as _0x116eca,FOCUS_ANNOTATION_KEYSTROKE as _0x16a9b5,Users as _0x45e335}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x5a0192 from'../annotations/editorannotations.js';import _0x79ec65 from'./integrations/commentsrestrictededitingmode.js';import _0x501b05 from'./integrations/importword.js';import _0x3347b4 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x2967(){const _0x1b40b4=['editingDowncast','change','3082130fsWunx','editor','isThreadsLoadingPaused','ENTER_COMMENT_ANNOUNCEMENT','then','once','plugins','collaboration.channelId','consume','$textProxy','getCommentThreads','getAttribute','getItems','model','getWalker','markerToHighlight','hasContent','_attachArchivedThread','activeMarker','attachTo','push','focus','setContext','render','item','createPositionBefore','CommentsEditing','_handleMarkerAddAndRemove','view','getCommentThread','_initializeMarkerConverters','init','upcast','removeCommentThread','config','for','isResolved','switchReadOnly','requires','set','get','commands','_attachMarkerToThread','affectsData','isObject','_initAriaMarkerChangeAnnouncements','markerName','schema','from','openNewCommentThread','dataToMarker','isEqual','isCollapsed','getRange','getChangedMarkers','820707EIhrqw','719565QJHwTH','destroy','listenTo','isAttached','conversion','isOfficialPlugin','_reconvertMarkers','add','81790uurbud','differ','removeMarker','5181KMvWpP','4yICvIV','741012YrqgrH','37044vpEfaV','delete','first','split','$graveyard','addMarker:','pluginName','_getTextContext','addComment','920008dVdqyA','unlinkedAt','resolveCommentThread','ignoreResolvedComments','27hfhnmV','refreshVisibility','locale','consumable','reopenCommentThread','clear','ready','ck-comment-marker--active','updateMarker','comments','text','end','LEAVE_COMMENT_ANNOUNCEMENT','state','comment:','addCommentThread','markers','getAllMarkersForId','change:isThreadsLoadingPaused','announce','root','elementToElement','_hasTargetInContent','substring','context','newRange','hasCommentThread','document','getByInnerView','managedUsingOperations','comment','_threads','data','rootName','hasMarkerForId','setUnlinkedAt','_detachCommentThread','editing','length','ariaLiveAnnouncer','_threadToController','enqueueChange','start','fetchCommentThread','hasDomSelection','ck-comment-marker','_getTargetForId','$marker','size','startsWith','change:activeMarker','isPremiumPlugin','createRange','change:isReadOnly','registerPostFixer','low','author','createElement','registerAnnotation','name','dataDowncast','markerToData','isLocal','removeMarker:','scrollToThreadMarker','12lNrhbz','reconvertMarker','_handleThreadMarker','destroyed','group','35IfRrVl'];_0x2967=function(){return _0x1b40b4;};return _0x2967();}import _0x427115 from'../annotations/annotations.js';import{getTranslation as _0x577128}from'../utils/common-translations.js';export default class r extends _0x35de17{static get[_0x4adbcc(0x11a)](){return[_0x2bddc4,_0x5a0192,_0x45e335,_0x79ec65,_0x501b05,_0x3347b4];}static get[_0x4adbcc(0xa4)](){const _0x3e3b7e=_0x4adbcc;return _0x3e3b7e(0x10e);}static get[_0x4adbcc(0x95)](){return!0x0;}static get[_0x4adbcc(0xde)](){return!0x0;}constructor(_0x19c35d){const _0x1afa7e=_0x4adbcc;super(_0x19c35d),this[_0x1afa7e(0x11b)](_0x1afa7e(0xf6),!0x0),_0x19c35d[_0x1afa7e(0xcb)][_0x1afa7e(0xf9)](_0x1afa7e(0xb1),()=>this[_0x1afa7e(0xf6)]=!0x1),this[_0x1afa7e(0x11b)](_0x1afa7e(0x106),null),this['on'](_0x1afa7e(0xdd),(_0x2ecefb,_0x2b4df8,_0x24a729,_0x321281)=>{const _0x6adc13=_0x1afa7e,_0x16de1c=_0x24a729?splitMarkerName(_0x24a729)['id']:null;if(_0x19c35d[_0x6adc13(0x101)][_0x6adc13(0xf3)](()=>{const _0xaada66=_0x6adc13;if(_0x16de1c){const _0x48f17a=this[_0xaada66(0xbc)](_0x16de1c);for(const _0x5a0ffe of _0x48f17a)_0x19c35d[_0xaada66(0xd0)][_0xaada66(0xed)](_0x5a0ffe);}if(_0x321281){const {id:_0xf5b89e}=splitMarkerName(_0x321281),_0x3ca466=this[_0xaada66(0xbc)](_0xf5b89e);for(const _0x20a650 of _0x3ca466)_0x19c35d[_0xaada66(0xd0)][_0xaada66(0xed)](_0x20a650);}}),_0x16de1c){const _0xed2805=_0x19c35d[_0x6adc13(0xfa)][_0x6adc13(0x11c)](_0x2bddc4)[_0x6adc13(0x111)](_0x16de1c);_0xed2805&&_0xed2805[_0x6adc13(0x118)]&&this[_0x6adc13(0xeb)](_0x16de1c);}}),this[_0x1afa7e(0x121)]();}[_0x4adbcc(0x113)](){const _0x3486ff=_0x4adbcc,_0x14517a=this[_0x3486ff(0xf5)],_0x395f5f=_0x14517a[_0x3486ff(0xfa)][_0x3486ff(0x11c)](_0x2bddc4),_0x57a1df=_0x14517a[_0x3486ff(0x116)][_0x3486ff(0x11c)](_0x3486ff(0xfb));_0x14517a[_0x3486ff(0x11d)][_0x3486ff(0x97)](_0x3486ff(0xba),new _0xf88863(_0x14517a)),this[_0x3486ff(0x92)](_0x14517a,_0x3486ff(0xe0),(_0x32f53e,_0x45d417,_0x5ca8ac)=>{const _0x5484cd=_0x3486ff;_0x395f5f[_0x5484cd(0x119)](_0x5ca8ac,_0x14517a[_0x5484cd(0x116)][_0x5484cd(0x11c)](_0x5484cd(0xfb)));}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xba),_0x57a1df),(_0x3ab238,{threadId:_0x133732})=>{const _0x51e543=_0x3486ff,_0x3d2903=this[_0x51e543(0xf5)][_0x51e543(0xfa)][_0x51e543(0x11c)](_0x2bddc4)[_0x51e543(0x111)](_0x133732);_0x3d2903&&_0x3d2903[_0x51e543(0xa8)]&&this[_0x51e543(0x105)](_0x133732);}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0x115),_0x57a1df),(_0x3de14d,{threadId:_0x17df66})=>{const _0x31c580=_0x3486ff;_0x14517a[_0x31c580(0x101)][_0x31c580(0xd4)]({'isUndoable':!0x1},_0x115748=>{const _0x18424d=_0x31c580,_0xc4bff=this[_0x18424d(0xbc)](_0x17df66);for(const _0x3ef9a6 of _0xc4bff)_0x115748[_0x18424d(0x9a)](_0x3ef9a6);});}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xa9),_0x57a1df),(_0x518e11,{threadId:_0x2f7110})=>{const _0x2894e2=_0x3486ff;(this[_0x2894e2(0x96)](_0x2f7110),this[_0x2894e2(0xf5)][_0x2894e2(0xd0)][_0x2894e2(0x110)][_0x2894e2(0xd7)])&&(this[_0x2894e2(0xf5)][_0x2894e2(0xfa)][_0x2894e2(0x11c)](_0x2bddc4)[_0x2894e2(0x111)](_0x2f7110)[_0x2894e2(0xa8)]||this[_0x2894e2(0xf5)][_0x2894e2(0xd0)][_0x2894e2(0x110)][_0x2894e2(0x109)]());},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xaf),_0x57a1df),(_0x432c95,{threadId:_0xa23247})=>{const _0x5a4bae=_0x3486ff;this[_0x5a4bae(0x96)](_0xa23247);},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x92)](_0x395f5f,mt(_0x3486ff(0xa6),_0x57a1df),(_0x2cad9d,{threadId:_0x1d15b4,isFromAdapter:_0x4e1008})=>{const _0xc1e3a7=_0x3486ff,_0x23f120=this[_0xc1e3a7(0xbc)](_0x1d15b4);if(_0x4e1008||0x0==_0x23f120[_0xc1e3a7(0xd1)]||!_0x395f5f[_0xc1e3a7(0xc5)](_0x1d15b4))return;0x1===_0x395f5f[_0xc1e3a7(0x111)](_0x1d15b4)[_0xc1e3a7(0xd1)]&&_0x14517a[_0xc1e3a7(0x101)][_0xc1e3a7(0xd4)]({'isUndoable':!0x1},_0x40524c=>{const _0x3b08e8=_0xc1e3a7;for(const _0x2034a5 of _0x23f120)_0x40524c[_0x3b08e8(0xb3)](_0x2034a5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3486ff(0xe2)}),this[_0x3486ff(0x112)](),this[_0x3486ff(0x10f)]();}[_0x4adbcc(0x91)](){const _0x34e71f=_0x4adbcc,_0x432a1a=this[_0x34e71f(0xf5)][_0x34e71f(0xfa)][_0x34e71f(0x11c)](_0x2bddc4),_0x28f3b1=this[_0x34e71f(0xf5)][_0x34e71f(0x116)][_0x34e71f(0x11c)](_0x34e71f(0xfb));for(const _0x4f40f9 of _0x432a1a[_0x34e71f(0xfe)]({'channelId':_0x28f3b1}))_0x432a1a[_0x34e71f(0xcf)](_0x4f40f9['id']),_0x432a1a[_0x34e71f(0xca)][_0x34e71f(0x9f)](_0x4f40f9['id']);super[_0x34e71f(0x91)]();}[_0x4adbcc(0xcd)](_0x4efc53){const _0x4cad96=_0x4adbcc;return this[_0x4cad96(0xbc)](_0x4efc53)[_0x4cad96(0xd1)]>0x0;}[_0x4adbcc(0xbc)](_0x304695){const _0x4279c9=_0x4adbcc,_0x187236=[];for(const _0x15d76a of this[_0x4279c9(0xf5)][_0x4279c9(0x101)][_0x4279c9(0xbb)])_0x15d76a[_0x4279c9(0xe6)][_0x4279c9(0xdc)](_0x4279c9(0xb9)+_0x304695)&&_0x187236[_0x4279c9(0x108)](_0x15d76a);return _0x187236;}[_0x4adbcc(0xeb)](_0x4d801f){const _0x2369c5=_0x4adbcc,_0x251b69=this[_0x2369c5(0xd9)](_0x4d801f);_0x251b69&&setTimeout(()=>{const _0x368c7=_0x2369c5;this[_0x368c7(0x106)]&&splitMarkerName(this[_0x368c7(0x106)])['id']===_0x4d801f&&_0x1b1d95({'target':_0x251b69[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x4adbcc(0x96)](_0x1a245d){const _0xd05abe=_0x4adbcc;this[_0xd05abe(0xf5)][_0xd05abe(0x101)][_0xd05abe(0xf3)](()=>{const _0x265220=_0xd05abe;for(const _0x225097 of this[_0x265220(0xbc)](_0x1a245d))this[_0x265220(0xf5)][_0x265220(0xd0)][_0x265220(0xed)](_0x225097);});}[_0x4adbcc(0x105)](_0x3cf123){const _0x28a69a=_0x4adbcc,_0x542baa=this[_0x28a69a(0xf5)][_0x28a69a(0xfa)][_0x28a69a(0x11c)](_0x2bddc4),_0x59a300=this[_0x28a69a(0xf5)][_0x28a69a(0xfa)][_0x28a69a(0x11c)](_0x5a0192),_0x3faddb=_0x542baa[_0x28a69a(0x111)](_0x3cf123);if(!_0x3faddb[_0x28a69a(0x93)]){const _0x145eea=_0x3faddb[_0x28a69a(0x107)](()=>this[_0x28a69a(0xd9)](_0x3faddb['id']));_0x59a300[_0x28a69a(0xe5)](_0x145eea),_0x3faddb[_0x28a69a(0xc1)]=!0x1;}}[_0x4adbcc(0x112)](){const _0x3c7ef1=_0x4adbcc,_0xe96b4=this[_0x3c7ef1(0xf5)],_0x326ea0=_0xe96b4[_0x3c7ef1(0xfa)][_0x3c7ef1(0x11c)](_0x45e335);_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0xf2))[_0x3c7ef1(0x103)]({'model':_0x3c7ef1(0xc9),'view':(_0xdd51b5,_0x2077fc)=>{const _0x3e1a64=_0x3c7ef1,{id:_0x313804}=splitMarkerName(_0xdd51b5[_0x3e1a64(0x122)]),_0x54d8e3=_0xe96b4[_0x3e1a64(0xfa)][_0x3e1a64(0x11c)](_0x2bddc4)[_0x3e1a64(0x111)](_0x313804),_0x295f6f=this[_0x3e1a64(0x106)]&&splitMarkerName(this[_0x3e1a64(0x106)])['id']===_0x313804;let _0x5a57da;if(_0x54d8e3&&_0x54d8e3[_0x3e1a64(0x118)]&&!_0x295f6f&&_0xdd51b5[_0x3e1a64(0x10c)])return _0x2077fc[_0x3e1a64(0xae)][_0x3e1a64(0xfc)](_0xdd51b5[_0x3e1a64(0x10c)],_0x3e1a64(0xa3)+_0xdd51b5[_0x3e1a64(0x122)]),_0x2077fc[_0x3e1a64(0xae)][_0x3e1a64(0xfc)](_0xdd51b5[_0x3e1a64(0x10c)],_0x3e1a64(0xea)+_0xdd51b5[_0x3e1a64(0x122)]),null;const _0x670829=[_0x3e1a64(0xd8)];return _0x295f6f&&_0x670829[_0x3e1a64(0x108)](_0x3e1a64(0xb2)),_0x5a57da=_0x54d8e3&&_0x54d8e3[_0x3e1a64(0xd1)]?_0x54d8e3[_0x3e1a64(0xb4)][_0x3e1a64(0xa0)][_0x3e1a64(0xe3)]['id']:_0x326ea0['me']['id'],{'classes':_0x670829,'attributes':{'data-comment':_0x313804,'data-author-id':_0x5a57da}};}}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0xe7))[_0x3c7ef1(0xe8)]({'model':_0x3c7ef1(0xc9),'view':(_0x185187,{options:_0x3b2ae8})=>{const _0x3d5afd=_0x3c7ef1,_0x3abb8c=_0xe96b4[_0x3d5afd(0xfa)][_0x3d5afd(0x11c)](_0x2bddc4),_0x302b0e=_0xe96b4[_0x3d5afd(0x101)][_0x3d5afd(0xbb)][_0x3d5afd(0x11c)](_0x185187),{id:_0x475967,part:_0x1f04c7}=splitMarkerName(_0x185187);if(_0x302b0e&&!_0x302b0e[_0x3d5afd(0x11f)])return null;if(_0x3b2ae8[_0x3d5afd(0xaa)]){const _0x4f120d=_0x3abb8c[_0x3d5afd(0x111)](_0x475967);if(_0x4f120d&&_0x4f120d[_0x3d5afd(0x118)])return null;}return{'group':_0x3d5afd(0xc9),'name':_0x1f04c7?_0x475967+':'+_0x1f04c7:_0x475967};}}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0x114))[_0x3c7ef1(0xc0)]({'view':{'name':_0x3c7ef1(0xc9),'attributes':{'id':/^\w/}},'model':(_0x1059bb,{writer:_0x486563})=>_0x486563[_0x3c7ef1(0xe4)](_0x3c7ef1(0xda),{'data-name':_0x3c7ef1(0xb9)+_0x1059bb[_0x3c7ef1(0xff)]('id')})}),_0xe96b4[_0x3c7ef1(0x94)][_0x3c7ef1(0x117)](_0x3c7ef1(0x114))[_0x3c7ef1(0x126)]({'view':_0x3c7ef1(0xc9)});}[_0x4adbcc(0x10f)](){const _0x2e2549=_0x4adbcc,_0x1f7443=this[_0x2e2549(0xf5)],_0x47f20d=_0x1f7443[_0x2e2549(0xfa)][_0x2e2549(0x11c)](_0x2bddc4),_0x164612=new Set(),_0x165fb0=new Set();_0x1f7443[_0x2e2549(0x101)][_0x2e2549(0xc6)][_0x2e2549(0xe1)](_0x32859c=>{const _0x430ee2=_0x2e2549;let _0x59bcdd=!0x1;for(const {name:_0x485018,data:_0x493c1d}of _0x1f7443[_0x430ee2(0x101)][_0x430ee2(0xc6)][_0x430ee2(0x99)][_0x430ee2(0x12a)]()){const {group:_0x507258,id:_0x46e807}=splitMarkerName(_0x485018);let _0x55b8a5=_0x493c1d[_0x430ee2(0xc4)];if(_0x430ee2(0xc9)!==_0x507258||!_0x55b8a5)continue;const _0x1fcf0c=_0x430ee2(0xa2)===_0x55b8a5[_0x430ee2(0xbf)][_0x430ee2(0xcc)];_0x1fcf0c||(_0x55b8a5=dt(_0x55b8a5,_0x1f7443[_0x430ee2(0x101)]),!_0x55b8a5||_0x55b8a5[_0x430ee2(0x128)]||!_0x493c1d[_0x430ee2(0xc4)]||_0x55b8a5[_0x430ee2(0x127)](_0x493c1d[_0x430ee2(0xc4)]))?_0x1f7443[_0x430ee2(0x101)][_0x430ee2(0x104)](_0x55b8a5)&&!_0x1fcf0c?this[_0x430ee2(0xf6)]?_0x164612[_0x430ee2(0x97)](_0x485018):this[_0x430ee2(0xee)](_0x485018,_0x46e807):(_0x165fb0[_0x430ee2(0x97)](_0x485018),_0x164612[_0x430ee2(0x9f)](_0x485018),_0x32859c[_0x430ee2(0x9a)](_0x485018),_0x59bcdd=!0x0):(_0x32859c[_0x430ee2(0xb3)](_0x485018,{'range':_0x55b8a5}),_0x59bcdd=!0x0);}return _0x59bcdd;}),this['on'](_0x2e2549(0xbd),(_0x535515,_0x56c963,_0x54e1da)=>{const _0x1f1c69=_0x2e2549;if(!_0x54e1da&&_0x164612[_0x1f1c69(0xdb)])for(const _0x570730 of _0x164612){const {id:_0x3f339}=splitMarkerName(_0x570730);_0x164612[_0x1f1c69(0x9f)](_0x570730),_0x1f7443[_0x1f1c69(0x101)][_0x1f1c69(0xbb)][_0x1f1c69(0x11c)](_0x570730)&&this[_0x1f1c69(0xee)](_0x570730,_0x3f339);}}),this[_0x2e2549(0x92)](_0x1f7443[_0x2e2549(0x101)][_0x2e2549(0xc6)],_0x2e2549(0xf3),(_0x3c5c67,_0xb5edeb)=>{const _0x5a4a2d=_0x2e2549;for(const {name:_0xf48c1d,data:{newRange:_0x10ccab}}of _0x1f7443[_0x5a4a2d(0x101)][_0x5a4a2d(0xc6)][_0x5a4a2d(0x99)][_0x5a4a2d(0x12a)]()){const {group:_0x3803b9,id:_0x329c51}=splitMarkerName(_0xf48c1d);if(_0x5a4a2d(0xc9)!==_0x3803b9)continue;const _0x2144dd=_0x47f20d[_0x5a4a2d(0x111)](_0x329c51),_0x4de75e=this[_0x5a4a2d(0xcd)](_0x329c51);_0x2144dd&&(!_0x2144dd[_0x5a4a2d(0xc1)]&&_0x10ccab&&_0x1f7443[_0x5a4a2d(0xd0)][_0x5a4a2d(0x110)][_0x5a4a2d(0xf9)](_0x5a4a2d(0x10b),()=>{const _0x52b722=_0x5a4a2d,_0x1ab908=_0x1f7443[_0x52b722(0xfa)][_0x52b722(0x11c)](_0x427115),_0x4509a8=_0x47f20d[_0x52b722(0xd3)][_0x52b722(0x11c)](_0x2144dd)[_0x52b722(0x110)];_0x1ab908[_0x52b722(0xc7)](_0x4509a8)[_0x52b722(0xac)]();},{'priority':_0x5a4a2d(0xe2)}),_0x2144dd[_0x5a4a2d(0xc1)]=_0x4de75e||!!_0x10ccab),_0x10ccab||(_0x165fb0[_0x5a4a2d(0x97)](_0xf48c1d),_0x164612[_0x5a4a2d(0x9f)](_0xf48c1d));}if(_0xb5edeb[_0x5a4a2d(0xe9)])for(const _0x46c235 of _0x165fb0){const {id:_0x4a828b}=splitMarkerName(_0x46c235),_0x3f3dac=_0x47f20d[_0x5a4a2d(0x111)](_0x4a828b),_0x245e63=this[_0x5a4a2d(0xcd)](_0x4a828b);_0x164612[_0x5a4a2d(0x9f)](_0x46c235),!_0x3f3dac||_0x245e63||_0x3f3dac[_0x5a4a2d(0xa8)]||_0x3f3dac[_0x5a4a2d(0xce)](new Date());}_0x165fb0[_0x5a4a2d(0xb0)]();});}[_0x4adbcc(0xd9)](_0x27047d){const _0x2e591f=_0x4adbcc,_0x1a88ec=this[_0x2e591f(0xf5)],_0x365544=this[_0x2e591f(0xbc)](_0x27047d);return _0x116eca(_0x1a88ec[_0x2e591f(0xd0)],_0x365544);}[_0x4adbcc(0xa5)](_0x5968d6){const _0x24b5de=_0x4adbcc,_0x7fcf0b=this[_0x24b5de(0xbc)](_0x5968d6);let _0x390721='',_0x27a095=!0x1;for(const _0x33092e of _0x7fcf0b){const _0x53a262=_0x33092e[_0x24b5de(0x129)]();for(const _0x4fd974 of Array[_0x24b5de(0x124)](_0x53a262[_0x24b5de(0x100)]()))_0x4fd974['is'](_0x24b5de(0xfd))?(_0x390721&&_0x27a095&&(_0x390721+='\x20',_0x27a095=!0x1),_0x390721+=_0x4fd974[_0x24b5de(0xcb)]):_0x27a095=!0x0;_0x27a095=!0x0;}return _0x390721[_0x24b5de(0xc2)](0x0,0x96);}[_0x4adbcc(0x11e)](_0x12b334,_0x5240ce){const _0x3ed7e9=_0x4adbcc,_0x15cf6b=this[_0x3ed7e9(0xf5)],_0x57cb9a=_0x15cf6b[_0x3ed7e9(0xfa)][_0x3ed7e9(0x11c)](_0x2bddc4);let _0x389238=_0x57cb9a[_0x3ed7e9(0x111)](_0x5240ce);const _0x18e11a=_0x15cf6b[_0x3ed7e9(0x116)][_0x3ed7e9(0x11c)](_0x3ed7e9(0xfb)),_0x5f4b04=_0x15cf6b[_0x3ed7e9(0xfa)][_0x3ed7e9(0x11c)](_0x5a0192);if(_0x389238&&(_0x389238[_0x3ed7e9(0xa8)]&&_0x389238[_0x3ed7e9(0xce)](null),_0x389238[_0x3ed7e9(0x93)]))return _0x389238;return!this[_0x3ed7e9(0xbc)](_0x5240ce)[0x0][_0x3ed7e9(0xc8)]?_0x15cf6b[_0x3ed7e9(0xd0)][_0x3ed7e9(0x110)][_0x3ed7e9(0xf9)](_0x3ed7e9(0x10b),()=>{const _0x2f57cb=_0x3ed7e9;if(_0x57cb9a[_0x2f57cb(0x111)](_0x5240ce))return;const _0x4bd4e7=_0x15cf6b[_0x2f57cb(0xfa)][_0x2f57cb(0x11c)](_0x427115);_0x389238=_0x57cb9a[_0x2f57cb(0x125)]({'channelId':_0x18e11a,'threadId':_0x5240ce,'target':()=>this[_0x2f57cb(0xd9)](_0x5240ce),'context':{'type':_0x2f57cb(0xb5),'value':this[_0x2f57cb(0xa5)](_0x5240ce)}});const _0x101554=_0x57cb9a[_0x2f57cb(0xd3)][_0x2f57cb(0x11c)](_0x389238)[_0x2f57cb(0x110)],_0x231104=_0x4bd4e7[_0x2f57cb(0xc7)](_0x101554);_0x231104&&_0x5f4b04[_0x2f57cb(0xe5)](_0x231104);},{'priority':_0x3ed7e9(0xe2)}):_0x57cb9a[_0x3ed7e9(0xd6)]({'channelId':_0x18e11a,'threadId':_0x5240ce})[_0x3ed7e9(0xf8)](_0x497baf=>{const _0x28a132=_0x3ed7e9;if(_0x28a132(0xef)!==_0x15cf6b[_0x28a132(0xb8)]){if(_0x389238=_0x497baf,_0x389238&&!_0x389238[_0x28a132(0x93)]){const _0x399699=_0x389238[_0x28a132(0x107)](()=>this[_0x28a132(0xd9)](_0x5240ce));_0x5f4b04[_0x28a132(0xe5)](_0x399699),_0x389238[_0x28a132(0x118)]&&this[_0x28a132(0x96)](_0x5240ce);}else{if(!_0x389238){const _0x55ba89=this[_0x28a132(0xbc)](_0x5240ce);_0x15cf6b[_0x28a132(0x101)][_0x28a132(0xf3)](_0x12926a=>{const _0x19fc62=_0x28a132;for(const _0x44843b of _0x55ba89)_0x12926a[_0x19fc62(0x9a)](_0x44843b);});}}}}),_0x389238;}[_0x4adbcc(0xee)](_0x245b47,_0x20bc02){const _0x4d1d58=_0x4adbcc,_0x29df02=this[_0x4d1d58(0x11e)](_0x245b47,_0x20bc02);_0x29df02&&!_0x29df02[_0x4d1d58(0xc3)]&&_0x29df02[_0x4d1d58(0x10a)]({'type':_0x4d1d58(0xb5),'value':this[_0x4d1d58(0xa5)](_0x20bc02)});}[_0x4adbcc(0x121)](){const _0x387f9b=_0x4adbcc,_0x1f2561=this[_0x387f9b(0xf5)];_0x2b92cf(_0x1f2561[_0x387f9b(0x101)],({left:_0x3c8084,entered:_0xbdab9e})=>{const _0x3d78b6=_0x387f9b;for(const _0x30c2f5 of _0x3c8084)if(ht(_0x30c2f5)){_0x1f2561['ui'][_0x3d78b6(0xd2)][_0x3d78b6(0xbe)](_0x577128(_0x1f2561[_0x3d78b6(0xad)],_0x3d78b6(0xb7)));break;}for(const _0x5b6f50 of _0xbdab9e)if(ht(_0x5b6f50)){_0x1f2561['ui'][_0x3d78b6(0xd2)][_0x3d78b6(0xbe)](_0x577128(_0x1f2561[_0x3d78b6(0xad)],_0x3d78b6(0xf7),_0x18ccec(_0x16a9b5)));break;}});}}function _0x2aca(_0x20a414,_0x59d936){const _0x296719=_0x2967();return _0x2aca=function(_0x2aca0e,_0x471116){_0x2aca0e=_0x2aca0e-0x8f;let _0x31f6e5=_0x296719[_0x2aca0e];return _0x31f6e5;},_0x2aca(_0x20a414,_0x59d936);}function mt(_0x23df79,_0x3939e7){return _0x3939e7?_0x23df79+':'+_0x3939e7:_0x23df79;}export function splitMarkerName(_0x173634){const _0x25d6ef=_0x4adbcc,_0x10a475=_0x173634[_0x25d6ef(0xa1)](':');return{'group':_0x10a475[0x0],'id':_0x10a475[0x1],'part':_0x10a475[0x2]};}function dt(_0x420226,_0x1e0ce9){const _0x591022=_0x4adbcc,_0x101f64=_0x1e0ce9[_0x591022(0x123)],_0x3ef532=_0x1e0ce9[_0x591022(0xdf)](_0x420226[_0x591022(0xd5)]);for(const _0x435c0b of _0x420226[_0x591022(0x102)]()){const {type:_0x4a3417,item:_0x206e14,nextPosition:_0x3fd839}=_0x435c0b;if(_0x591022(0xb5)===_0x4a3417||_0x101f64[_0x591022(0x120)](_0x206e14)){const _0x2361a8=_0x1e0ce9[_0x591022(0x10d)](_0x206e14);_0x3ef532[_0x591022(0x128)]&&(_0x3ef532[_0x591022(0xd5)]=_0x2361a8),_0x3ef532[_0x591022(0xb6)]=_0x3fd839;}}return _0x3ef532;}function ht(_0x5d7428){const _0x27aade=_0x4adbcc;return _0x27aade(0xc9)===splitMarkerName(_0x5d7428[_0x27aade(0xe6)])[_0x27aade(0xf0)];}
|
|
23
|
+
const _0xfba7c9=_0x1c1f;(function(_0x3139d6,_0x17eb62){const _0x35072c=_0x1c1f,_0x58e551=_0x3139d6();while(!![]){try{const _0x21f15b=parseInt(_0x35072c(0x14e))/0x1*(parseInt(_0x35072c(0x13a))/0x2)+-parseInt(_0x35072c(0xf6))/0x3*(parseInt(_0x35072c(0xfe))/0x4)+parseInt(_0x35072c(0x142))/0x5+-parseInt(_0x35072c(0x15f))/0x6+-parseInt(_0x35072c(0xe3))/0x7*(-parseInt(_0x35072c(0x11b))/0x8)+parseInt(_0x35072c(0x161))/0x9*(-parseInt(_0x35072c(0x14a))/0xa)+parseInt(_0x35072c(0xef))/0xb*(parseInt(_0x35072c(0x129))/0xc);if(_0x21f15b===_0x17eb62)break;else _0x58e551['push'](_0x58e551['shift']());}catch(_0x8d936e){_0x58e551['push'](_0x58e551['shift']());}}}(_0x5942,0x1bafc));import{Plugin as _0x46f0e3}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x5deeec,scrollViewportToShowTarget as _0x2be984}from'ckeditor5/src/utils.js';import _0x115781 from'./commentsrepository.js';function _0x5942(){const _0x387a92=['affectsData','destroy','416QObsRV','name','root','model','refreshVisibility','_initializeMarkerConverters','getAttribute','state','plugins','ENTER_COMMENT_ANNOUNCEMENT','getWalker','_threadToController','start','split','_threads','isPremiumPlugin','editingDowncast','hasMarkerForId','createRange','context','group','upcast','markers','_reconvertMarkers','getChangedMarkers','listenTo','ariaLiveAnnouncer','destroyed','dataToMarker','184xflKxl','CommentsEditing','document','_initAriaMarkerChangeAnnouncements','elementToElement','consume','isEqual','_attachArchivedThread','requires','data','_detachCommentThread','openNewCommentThread','rootName','commands','794532PltYZG','isLocal','createPositionBefore','editing','change','_attachMarkerToThread','removeCommentThread','markerName','hasCommentThread','isOfficialPlugin','isResolved','size','end','_handleThreadMarker','isThreadsLoadingPaused','addMarker:','fetchCommentThread','24ZAWONe','$graveyard','differ','for','conversion','comments','text','removeMarker:','393840DyUaKc','change:activeMarker','getRange','setContext','removeMarker','setUnlinkedAt','scrollToThreadMarker','getByInnerView','1670270MaMbQo','updateMarker','config','then','6082TayfAv','add','_hasTargetInContent','locale','ck-comment-marker--active','focus','comment','createElement','change:isThreadsLoadingPaused','reconvertMarker','activeMarker','init','ck-comment-marker','dataDowncast','collaboration.channelId','isObject','substring','174216LZeQWy','view','9brkIfv','author','set','getAllMarkersForId','$marker','resolveCommentThread','getCommentThreads','editor','addComment','unlinkedAt','clear','attachTo','change:isReadOnly','hasContent','startsWith','_getTargetForId','hasDomSelection','length','LEAVE_COMMENT_ANNOUNCEMENT','consumable','low','getItems','render','reopenCommentThread','announce','push','isCollapsed','registerPostFixer','_getTextContext','markerToHighlight','5516MhTNkE','first','ignoreResolvedComments','addCommentThread','schema','ready','isAttached','once','$textProxy','delete','get','newRange','55JUxxmC','registerAnnotation','enqueueChange','markerToData','from','managedUsingOperations','pluginName','5523NtBvEY','_handleMarkerAddAndRemove','comment:','getCommentThread','item','switchReadOnly'];_0x5942=function(){return _0x387a92;};return _0x5942();}import _0x45af1b from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x1a620e,getAllMarkersDomElementsSorted as _0x5b7aa9,FOCUS_ANNOTATION_KEYSTROKE as _0x9d17ab,Users as _0x57ac3a}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1ad9e9 from'../annotations/editorannotations.js';function _0x1c1f(_0x54391a,_0x263882){const _0x5942c8=_0x5942();return _0x1c1f=function(_0x1c1fa4,_0x43393d){_0x1c1fa4=_0x1c1fa4-0xe3;let _0x5c980a=_0x5942c8[_0x1c1fa4];return _0x5c980a;},_0x1c1f(_0x54391a,_0x263882);}import _0x3c1582 from'./integrations/commentsrestrictededitingmode.js';import _0x5ed01b from'./integrations/importword.js';import _0xaaf4d2 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x371b42 from'../annotations/annotations.js';import{getTranslation as _0x58d480}from'../utils/common-translations.js';export default class r extends _0x46f0e3{static get[_0xfba7c9(0x123)](){return[_0x115781,_0x1ad9e9,_0x57ac3a,_0x3c1582,_0x5ed01b,_0xaaf4d2];}static get[_0xfba7c9(0xf5)](){const _0x5c2ea1=_0xfba7c9;return _0x5c2ea1(0x11c);}static get[_0xfba7c9(0x132)](){return!0x0;}static get[_0xfba7c9(0x10d)](){return!0x0;}constructor(_0x1a771b){const _0x102405=_0xfba7c9;super(_0x1a771b),this[_0x102405(0x163)](_0x102405(0x137),!0x0),_0x1a771b[_0x102405(0x124)][_0x102405(0xea)](_0x102405(0xe8),()=>this[_0x102405(0x137)]=!0x1),this[_0x102405(0x163)](_0x102405(0x158),null),this['on'](_0x102405(0x143),(_0xa2ad83,_0x2ad310,_0x3d810f,_0x275eec)=>{const _0x560db2=_0x102405,_0x4989ed=_0x3d810f?splitMarkerName(_0x3d810f)['id']:null;if(_0x1a771b[_0x560db2(0x101)][_0x560db2(0x12d)](()=>{const _0x176732=_0x560db2;if(_0x4989ed){const _0x4ad3e7=this[_0x176732(0x164)](_0x4989ed);for(const _0xb08636 of _0x4ad3e7)_0x1a771b[_0x176732(0x12c)][_0x176732(0x157)](_0xb08636);}if(_0x275eec){const {id:_0x384d6b}=splitMarkerName(_0x275eec),_0x4266fb=this[_0x176732(0x164)](_0x384d6b);for(const _0x437d9a of _0x4266fb)_0x1a771b[_0x176732(0x12c)][_0x176732(0x157)](_0x437d9a);}}),_0x4989ed){const _0x173b2f=_0x1a771b[_0x560db2(0x106)][_0x560db2(0xed)](_0x115781)[_0x560db2(0xf9)](_0x4989ed);_0x173b2f&&_0x173b2f[_0x560db2(0x133)]&&this[_0x560db2(0x148)](_0x4989ed);}}),this[_0x102405(0x11e)]();}[_0xfba7c9(0x159)](){const _0x530819=_0xfba7c9,_0x66387c=this[_0x530819(0x168)],_0x4d639b=_0x66387c[_0x530819(0x106)][_0x530819(0xed)](_0x115781),_0x35115c=_0x66387c[_0x530819(0x14c)][_0x530819(0xed)](_0x530819(0x15c));_0x66387c[_0x530819(0x128)][_0x530819(0x14f)](_0x530819(0xe6),new _0x45af1b(_0x66387c)),this[_0x530819(0x117)](_0x66387c,_0x530819(0x16d),(_0x44ef58,_0x5e03c6,_0x42b945)=>{const _0xbb69d4=_0x530819;_0x4d639b[_0xbb69d4(0xfb)](_0x42b945,_0x66387c[_0xbb69d4(0x14c)][_0xbb69d4(0xed)](_0xbb69d4(0x15c)));}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0xe6),_0x35115c),(_0x220d2b,{threadId:_0xa6532})=>{const _0x5d07f0=_0x530819,_0x4057e5=this[_0x5d07f0(0x168)][_0x5d07f0(0x106)][_0x5d07f0(0xed)](_0x115781)[_0x5d07f0(0xf9)](_0xa6532);_0x4057e5&&_0x4057e5[_0x5d07f0(0x16a)]&&this[_0x5d07f0(0x122)](_0xa6532);}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x12f),_0x35115c),(_0x5317d1,{threadId:_0x17da61})=>{const _0x3b866a=_0x530819;_0x66387c[_0x3b866a(0x101)][_0x3b866a(0xf1)]({'isUndoable':!0x1},_0x45f0b1=>{const _0x3011f1=_0x3b866a,_0x2eba5b=this[_0x3011f1(0x164)](_0x17da61);for(const _0x37b055 of _0x2eba5b)_0x45f0b1[_0x3011f1(0x146)](_0x37b055);});}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x166),_0x35115c),(_0x2cb24f,{threadId:_0x11f5c6})=>{const _0x1d2609=_0x530819;(this[_0x1d2609(0x115)](_0x11f5c6),this[_0x1d2609(0x168)][_0x1d2609(0x12c)][_0x1d2609(0x160)][_0x1d2609(0x171)])&&(this[_0x1d2609(0x168)][_0x1d2609(0x106)][_0x1d2609(0xed)](_0x115781)[_0x1d2609(0xf9)](_0x11f5c6)[_0x1d2609(0x16a)]||this[_0x1d2609(0x168)][_0x1d2609(0x12c)][_0x1d2609(0x160)][_0x1d2609(0x153)]());},{'priority':_0x530819(0x175)}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x178),_0x35115c),(_0xa5fdfb,{threadId:_0x445e75})=>{const _0x2d13f4=_0x530819;this[_0x2d13f4(0x115)](_0x445e75);},{'priority':_0x530819(0x175)}),this[_0x530819(0x117)](_0x4d639b,mt(_0x530819(0x169),_0x35115c),(_0x4367ab,{threadId:_0x168abe,isFromAdapter:_0x33d6b3})=>{const _0x57c9b5=_0x530819,_0x54e9d4=this[_0x57c9b5(0x164)](_0x168abe);if(_0x33d6b3||0x0==_0x54e9d4[_0x57c9b5(0x172)]||!_0x4d639b[_0x57c9b5(0x131)](_0x168abe))return;0x1===_0x4d639b[_0x57c9b5(0xf9)](_0x168abe)[_0x57c9b5(0x172)]&&_0x66387c[_0x57c9b5(0x101)][_0x57c9b5(0xf1)]({'isUndoable':!0x1},_0x1b8a63=>{const _0x57036b=_0x57c9b5;for(const _0x3d3dea of _0x54e9d4)_0x1b8a63[_0x57036b(0x14b)](_0x3d3dea,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x530819(0x175)}),this[_0x530819(0x103)](),this[_0x530819(0xf7)]();}[_0xfba7c9(0xfd)](){const _0xe7c2cd=_0xfba7c9,_0xa25820=this[_0xe7c2cd(0x168)][_0xe7c2cd(0x106)][_0xe7c2cd(0xed)](_0x115781),_0x181507=this[_0xe7c2cd(0x168)][_0xe7c2cd(0x14c)][_0xe7c2cd(0xed)](_0xe7c2cd(0x15c));for(const _0x4fc545 of _0xa25820[_0xe7c2cd(0x167)]({'channelId':_0x181507}))_0xa25820[_0xe7c2cd(0x125)](_0x4fc545['id']),_0xa25820[_0xe7c2cd(0x10c)][_0xe7c2cd(0xec)](_0x4fc545['id']);super[_0xe7c2cd(0xfd)]();}[_0xfba7c9(0x10f)](_0x1908a7){const _0x4cd41b=_0xfba7c9;return this[_0x4cd41b(0x164)](_0x1908a7)[_0x4cd41b(0x172)]>0x0;}[_0xfba7c9(0x164)](_0x20ef57){const _0x2d62bd=_0xfba7c9,_0x135b03=[];for(const _0x3f5950 of this[_0x2d62bd(0x168)][_0x2d62bd(0x101)][_0x2d62bd(0x114)])_0x3f5950[_0x2d62bd(0xff)][_0x2d62bd(0x16f)](_0x2d62bd(0xf8)+_0x20ef57)&&_0x135b03[_0x2d62bd(0x17a)](_0x3f5950);return _0x135b03;}[_0xfba7c9(0x148)](_0x1ce6f5){const _0x4af925=_0xfba7c9,_0x5837b7=this[_0x4af925(0x170)](_0x1ce6f5);_0x5837b7&&setTimeout(()=>{const _0x3ccdcd=_0x4af925;this[_0x3ccdcd(0x158)]&&splitMarkerName(this[_0x3ccdcd(0x158)])['id']===_0x1ce6f5&&_0x2be984({'target':_0x5837b7[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xfba7c9(0x115)](_0x284233){const _0x26a87b=_0xfba7c9;this[_0x26a87b(0x168)][_0x26a87b(0x101)][_0x26a87b(0x12d)](()=>{const _0x42b986=_0x26a87b;for(const _0x4e6f6f of this[_0x42b986(0x164)](_0x284233))this[_0x42b986(0x168)][_0x42b986(0x12c)][_0x42b986(0x157)](_0x4e6f6f);});}[_0xfba7c9(0x122)](_0x34f3bf){const _0x2473f6=_0xfba7c9,_0x383051=this[_0x2473f6(0x168)][_0x2473f6(0x106)][_0x2473f6(0xed)](_0x115781),_0x5f50ec=this[_0x2473f6(0x168)][_0x2473f6(0x106)][_0x2473f6(0xed)](_0x1ad9e9),_0x48156e=_0x383051[_0x2473f6(0xf9)](_0x34f3bf);if(!_0x48156e[_0x2473f6(0xe9)]){const _0xab989c=_0x48156e[_0x2473f6(0x16c)](()=>this[_0x2473f6(0x170)](_0x48156e['id']));_0x5f50ec[_0x2473f6(0xf0)](_0xab989c),_0x48156e[_0x2473f6(0x150)]=!0x1;}}[_0xfba7c9(0x103)](){const _0x14bd8b=_0xfba7c9,_0x48fc97=this[_0x14bd8b(0x168)],_0x58a11e=_0x48fc97[_0x14bd8b(0x106)][_0x14bd8b(0xed)](_0x57ac3a);_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x10e))[_0x14bd8b(0x17e)]({'model':_0x14bd8b(0x154),'view':(_0x2ce924,_0x7681)=>{const _0x136b5c=_0x14bd8b,{id:_0x565ae8}=splitMarkerName(_0x2ce924[_0x136b5c(0x130)]),_0x517214=_0x48fc97[_0x136b5c(0x106)][_0x136b5c(0xed)](_0x115781)[_0x136b5c(0xf9)](_0x565ae8),_0x32cf65=this[_0x136b5c(0x158)]&&splitMarkerName(this[_0x136b5c(0x158)])['id']===_0x565ae8;let _0x434141;if(_0x517214&&_0x517214[_0x136b5c(0x133)]&&!_0x32cf65&&_0x2ce924[_0x136b5c(0xfa)])return _0x7681[_0x136b5c(0x174)][_0x136b5c(0x120)](_0x2ce924[_0x136b5c(0xfa)],_0x136b5c(0x138)+_0x2ce924[_0x136b5c(0x130)]),_0x7681[_0x136b5c(0x174)][_0x136b5c(0x120)](_0x2ce924[_0x136b5c(0xfa)],_0x136b5c(0x141)+_0x2ce924[_0x136b5c(0x130)]),null;const _0x41f9cd=[_0x136b5c(0x15a)];return _0x32cf65&&_0x41f9cd[_0x136b5c(0x17a)](_0x136b5c(0x152)),_0x434141=_0x517214&&_0x517214[_0x136b5c(0x172)]?_0x517214[_0x136b5c(0x13f)][_0x136b5c(0xe4)][_0x136b5c(0x162)]['id']:_0x58a11e['me']['id'],{'classes':_0x41f9cd,'attributes':{'data-comment':_0x565ae8,'data-author-id':_0x434141}};}}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x15b))[_0x14bd8b(0xf2)]({'model':_0x14bd8b(0x154),'view':(_0x22b648,{options:_0x4bd85b})=>{const _0x20c807=_0x14bd8b,_0x4336e9=_0x48fc97[_0x20c807(0x106)][_0x20c807(0xed)](_0x115781),_0x48896b=_0x48fc97[_0x20c807(0x101)][_0x20c807(0x114)][_0x20c807(0xed)](_0x22b648),{id:_0x29bfea,part:_0x1332f8}=splitMarkerName(_0x22b648);if(_0x48896b&&!_0x48896b[_0x20c807(0xfc)])return null;if(_0x4bd85b[_0x20c807(0xe5)]){const _0x217481=_0x4336e9[_0x20c807(0xf9)](_0x29bfea);if(_0x217481&&_0x217481[_0x20c807(0x133)])return null;}return{'group':_0x20c807(0x154),'name':_0x1332f8?_0x29bfea+':'+_0x1332f8:_0x29bfea};}}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x113))[_0x14bd8b(0x11f)]({'view':{'name':_0x14bd8b(0x154),'attributes':{'id':/^\w/}},'model':(_0xdeb7b7,{writer:_0x269c38})=>_0x269c38[_0x14bd8b(0x155)](_0x14bd8b(0x165),{'data-name':_0x14bd8b(0xf8)+_0xdeb7b7[_0x14bd8b(0x104)]('id')})}),_0x48fc97[_0x14bd8b(0x13e)][_0x14bd8b(0x13d)](_0x14bd8b(0x113))[_0x14bd8b(0x11a)]({'view':_0x14bd8b(0x154)});}[_0xfba7c9(0xf7)](){const _0x12c06e=_0xfba7c9,_0x598924=this[_0x12c06e(0x168)],_0x39bdcc=_0x598924[_0x12c06e(0x106)][_0x12c06e(0xed)](_0x115781),_0x2705ec=new Set(),_0xf1dbf9=new Set();_0x598924[_0x12c06e(0x101)][_0x12c06e(0x11d)][_0x12c06e(0x17c)](_0x29d915=>{const _0x3ad55b=_0x12c06e;let _0x51363c=!0x1;for(const {name:_0x2bc507,data:_0x1e8de7}of _0x598924[_0x3ad55b(0x101)][_0x3ad55b(0x11d)][_0x3ad55b(0x13c)][_0x3ad55b(0x116)]()){const {group:_0x48d479,id:_0x11f299}=splitMarkerName(_0x2bc507);let _0x1641b8=_0x1e8de7[_0x3ad55b(0xee)];if(_0x3ad55b(0x154)!==_0x48d479||!_0x1641b8)continue;const _0x3ef68b=_0x3ad55b(0x13b)===_0x1641b8[_0x3ad55b(0x100)][_0x3ad55b(0x127)];_0x3ef68b||(_0x1641b8=dt(_0x1641b8,_0x598924[_0x3ad55b(0x101)]),!_0x1641b8||_0x1641b8[_0x3ad55b(0x17b)]||!_0x1e8de7[_0x3ad55b(0xee)]||_0x1641b8[_0x3ad55b(0x121)](_0x1e8de7[_0x3ad55b(0xee)]))?_0x598924[_0x3ad55b(0x101)][_0x3ad55b(0x16e)](_0x1641b8)&&!_0x3ef68b?this[_0x3ad55b(0x137)]?_0x2705ec[_0x3ad55b(0x14f)](_0x2bc507):this[_0x3ad55b(0x136)](_0x2bc507,_0x11f299):(_0xf1dbf9[_0x3ad55b(0x14f)](_0x2bc507),_0x2705ec[_0x3ad55b(0xec)](_0x2bc507),_0x29d915[_0x3ad55b(0x146)](_0x2bc507),_0x51363c=!0x0):(_0x29d915[_0x3ad55b(0x14b)](_0x2bc507,{'range':_0x1641b8}),_0x51363c=!0x0);}return _0x51363c;}),this['on'](_0x12c06e(0x156),(_0x2f3cbb,_0x413a41,_0x477903)=>{const _0x595b6e=_0x12c06e;if(!_0x477903&&_0x2705ec[_0x595b6e(0x134)])for(const _0x32f40b of _0x2705ec){const {id:_0xa490c3}=splitMarkerName(_0x32f40b);_0x2705ec[_0x595b6e(0xec)](_0x32f40b),_0x598924[_0x595b6e(0x101)][_0x595b6e(0x114)][_0x595b6e(0xed)](_0x32f40b)&&this[_0x595b6e(0x136)](_0x32f40b,_0xa490c3);}}),this[_0x12c06e(0x117)](_0x598924[_0x12c06e(0x101)][_0x12c06e(0x11d)],_0x12c06e(0x12d),(_0x36aaaa,_0x22ad6a)=>{const _0x458b8f=_0x12c06e;for(const {name:_0x832e5d,data:{newRange:_0x4425ec}}of _0x598924[_0x458b8f(0x101)][_0x458b8f(0x11d)][_0x458b8f(0x13c)][_0x458b8f(0x116)]()){const {group:_0x37bb01,id:_0x366557}=splitMarkerName(_0x832e5d);if(_0x458b8f(0x154)!==_0x37bb01)continue;const _0x583699=_0x39bdcc[_0x458b8f(0xf9)](_0x366557),_0x556939=this[_0x458b8f(0x10f)](_0x366557);_0x583699&&(!_0x583699[_0x458b8f(0x150)]&&_0x4425ec&&_0x598924[_0x458b8f(0x12c)][_0x458b8f(0x160)][_0x458b8f(0xea)](_0x458b8f(0x177),()=>{const _0x13e895=_0x458b8f,_0x7d5147=_0x598924[_0x13e895(0x106)][_0x13e895(0xed)](_0x371b42),_0x1e5dae=_0x39bdcc[_0x13e895(0x109)][_0x13e895(0xed)](_0x583699)[_0x13e895(0x160)];_0x7d5147[_0x13e895(0x149)](_0x1e5dae)[_0x13e895(0x102)]();},{'priority':_0x458b8f(0x175)}),_0x583699[_0x458b8f(0x150)]=_0x556939||!!_0x4425ec),_0x4425ec||(_0xf1dbf9[_0x458b8f(0x14f)](_0x832e5d),_0x2705ec[_0x458b8f(0xec)](_0x832e5d));}if(_0x22ad6a[_0x458b8f(0x12a)])for(const _0x207fb9 of _0xf1dbf9){const {id:_0x5b101b}=splitMarkerName(_0x207fb9),_0x4ff34c=_0x39bdcc[_0x458b8f(0xf9)](_0x5b101b),_0x236862=this[_0x458b8f(0x10f)](_0x5b101b);_0x2705ec[_0x458b8f(0xec)](_0x207fb9),!_0x4ff34c||_0x236862||_0x4ff34c[_0x458b8f(0x16a)]||_0x4ff34c[_0x458b8f(0x147)](new Date());}_0xf1dbf9[_0x458b8f(0x16b)]();});}[_0xfba7c9(0x170)](_0x26073a){const _0x17ad12=_0xfba7c9,_0x2b0cfe=this[_0x17ad12(0x168)],_0x151741=this[_0x17ad12(0x164)](_0x26073a);return _0x5b7aa9(_0x2b0cfe[_0x17ad12(0x12c)],_0x151741);}[_0xfba7c9(0x17d)](_0x2b509a){const _0x45ad80=_0xfba7c9,_0x122e85=this[_0x45ad80(0x164)](_0x2b509a);let _0xaecf11='',_0x3e3c24=!0x1;for(const _0x575efe of _0x122e85){const _0x1349bd=_0x575efe[_0x45ad80(0x144)]();for(const _0x3ee857 of Array[_0x45ad80(0xf3)](_0x1349bd[_0x45ad80(0x176)]()))_0x3ee857['is'](_0x45ad80(0xeb))?(_0xaecf11&&_0x3e3c24&&(_0xaecf11+='\x20',_0x3e3c24=!0x1),_0xaecf11+=_0x3ee857[_0x45ad80(0x124)]):_0x3e3c24=!0x0;_0x3e3c24=!0x0;}return _0xaecf11[_0x45ad80(0x15e)](0x0,0x96);}[_0xfba7c9(0x12e)](_0x538d1e,_0xe6c862){const _0x2d3ea6=_0xfba7c9,_0x187b0b=this[_0x2d3ea6(0x168)],_0x5416a9=_0x187b0b[_0x2d3ea6(0x106)][_0x2d3ea6(0xed)](_0x115781);let _0x33a91b=_0x5416a9[_0x2d3ea6(0xf9)](_0xe6c862);const _0x2fd44a=_0x187b0b[_0x2d3ea6(0x14c)][_0x2d3ea6(0xed)](_0x2d3ea6(0x15c)),_0x1fabcc=_0x187b0b[_0x2d3ea6(0x106)][_0x2d3ea6(0xed)](_0x1ad9e9);if(_0x33a91b&&(_0x33a91b[_0x2d3ea6(0x16a)]&&_0x33a91b[_0x2d3ea6(0x147)](null),_0x33a91b[_0x2d3ea6(0xe9)]))return _0x33a91b;return!this[_0x2d3ea6(0x164)](_0xe6c862)[0x0][_0x2d3ea6(0xf4)]?_0x187b0b[_0x2d3ea6(0x12c)][_0x2d3ea6(0x160)][_0x2d3ea6(0xea)](_0x2d3ea6(0x177),()=>{const _0x5eb397=_0x2d3ea6;if(_0x5416a9[_0x5eb397(0xf9)](_0xe6c862))return;const _0x4228c1=_0x187b0b[_0x5eb397(0x106)][_0x5eb397(0xed)](_0x371b42);_0x33a91b=_0x5416a9[_0x5eb397(0x126)]({'channelId':_0x2fd44a,'threadId':_0xe6c862,'target':()=>this[_0x5eb397(0x170)](_0xe6c862),'context':{'type':_0x5eb397(0x140),'value':this[_0x5eb397(0x17d)](_0xe6c862)}});const _0x3ee6e4=_0x5416a9[_0x5eb397(0x109)][_0x5eb397(0xed)](_0x33a91b)[_0x5eb397(0x160)],_0x424cd7=_0x4228c1[_0x5eb397(0x149)](_0x3ee6e4);_0x424cd7&&_0x1fabcc[_0x5eb397(0xf0)](_0x424cd7);},{'priority':_0x2d3ea6(0x175)}):_0x5416a9[_0x2d3ea6(0x139)]({'channelId':_0x2fd44a,'threadId':_0xe6c862})[_0x2d3ea6(0x14d)](_0x5b461e=>{const _0x34f393=_0x2d3ea6;if(_0x34f393(0x119)!==_0x187b0b[_0x34f393(0x105)]){if(_0x33a91b=_0x5b461e,_0x33a91b&&!_0x33a91b[_0x34f393(0xe9)]){const _0x1a4e0f=_0x33a91b[_0x34f393(0x16c)](()=>this[_0x34f393(0x170)](_0xe6c862));_0x1fabcc[_0x34f393(0xf0)](_0x1a4e0f),_0x33a91b[_0x34f393(0x133)]&&this[_0x34f393(0x115)](_0xe6c862);}else{if(!_0x33a91b){const _0x7041b3=this[_0x34f393(0x164)](_0xe6c862);_0x187b0b[_0x34f393(0x101)][_0x34f393(0x12d)](_0x11e0a9=>{const _0x354faa=_0x34f393;for(const _0xd27995 of _0x7041b3)_0x11e0a9[_0x354faa(0x146)](_0xd27995);});}}}}),_0x33a91b;}[_0xfba7c9(0x136)](_0x3b5ee8,_0x50dfa6){const _0x3c16f9=_0xfba7c9,_0x49bea0=this[_0x3c16f9(0x12e)](_0x3b5ee8,_0x50dfa6);_0x49bea0&&!_0x49bea0[_0x3c16f9(0x111)]&&_0x49bea0[_0x3c16f9(0x145)]({'type':_0x3c16f9(0x140),'value':this[_0x3c16f9(0x17d)](_0x50dfa6)});}[_0xfba7c9(0x11e)](){const _0x1aac3f=_0xfba7c9,_0x2a6fcf=this[_0x1aac3f(0x168)];_0x1a620e(_0x2a6fcf[_0x1aac3f(0x101)],({left:_0x19c4e7,entered:_0x56f22e})=>{const _0xf54857=_0x1aac3f;for(const _0x40d94e of _0x19c4e7)if(ht(_0x40d94e)){_0x2a6fcf['ui'][_0xf54857(0x118)][_0xf54857(0x179)](_0x58d480(_0x2a6fcf[_0xf54857(0x151)],_0xf54857(0x173)));break;}for(const _0x46dc93 of _0x56f22e)if(ht(_0x46dc93)){_0x2a6fcf['ui'][_0xf54857(0x118)][_0xf54857(0x179)](_0x58d480(_0x2a6fcf[_0xf54857(0x151)],_0xf54857(0x107),_0x5deeec(_0x9d17ab)));break;}});}}function mt(_0x289779,_0x35bcee){return _0x35bcee?_0x289779+':'+_0x35bcee:_0x289779;}export function splitMarkerName(_0xa92e62){const _0x4351c5=_0xfba7c9,_0x2a6ac3=_0xa92e62[_0x4351c5(0x10b)](':');return{'group':_0x2a6ac3[0x0],'id':_0x2a6ac3[0x1],'part':_0x2a6ac3[0x2]};}function dt(_0x5c2881,_0xb93413){const _0x3c6f1d=_0xfba7c9,_0x38d2b9=_0xb93413[_0x3c6f1d(0xe7)],_0x4ba0b1=_0xb93413[_0x3c6f1d(0x110)](_0x5c2881[_0x3c6f1d(0x10a)]);for(const _0x5b7fdc of _0x5c2881[_0x3c6f1d(0x108)]()){const {type:_0x45ebe7,item:_0x3eb8f1,nextPosition:_0xf62cda}=_0x5b7fdc;if(_0x3c6f1d(0x140)===_0x45ebe7||_0x38d2b9[_0x3c6f1d(0x15d)](_0x3eb8f1)){const _0x4602b0=_0xb93413[_0x3c6f1d(0x12b)](_0x3eb8f1);_0x4ba0b1[_0x3c6f1d(0x17b)]&&(_0x4ba0b1[_0x3c6f1d(0x10a)]=_0x4602b0),_0x4ba0b1[_0x3c6f1d(0x135)]=_0xf62cda;}}return _0x4ba0b1;}function ht(_0x2b6667){const _0x391ce7=_0xfba7c9;return _0x391ce7(0x154)===splitMarkerName(_0x2b6667[_0x391ce7(0xff)])[_0x391ce7(0x112)];}
|