@ckeditor/ckeditor5-comments 41.3.1 → 41.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index-content.css +4 -0
- package/dist/index-editor.css +596 -0
- package/dist/index.css +926 -0
- package/dist/index.js +23 -0
- package/dist/translations/af.d.ts +8 -0
- package/dist/translations/af.js +23 -0
- package/dist/translations/ar.d.ts +8 -0
- package/dist/translations/ar.js +23 -0
- package/dist/translations/bg.d.ts +8 -0
- package/dist/translations/bg.js +23 -0
- package/dist/translations/bn.d.ts +8 -0
- package/dist/translations/bn.js +23 -0
- package/dist/translations/bs.d.ts +8 -0
- package/dist/translations/bs.js +23 -0
- package/dist/translations/ca.d.ts +8 -0
- package/dist/translations/ca.js +23 -0
- package/dist/translations/cs.d.ts +8 -0
- package/dist/translations/cs.js +23 -0
- package/dist/translations/da.d.ts +8 -0
- package/dist/translations/da.js +23 -0
- package/dist/translations/de-ch.d.ts +8 -0
- package/dist/translations/de-ch.js +23 -0
- package/dist/translations/de.d.ts +8 -0
- package/dist/translations/de.js +23 -0
- package/dist/translations/el.d.ts +8 -0
- package/dist/translations/el.js +23 -0
- package/dist/translations/en-au.d.ts +8 -0
- package/dist/translations/en-au.js +23 -0
- package/dist/translations/en.d.ts +8 -0
- package/dist/translations/en.js +23 -0
- package/dist/translations/es-co.d.ts +8 -0
- package/dist/translations/es-co.js +23 -0
- package/dist/translations/es.d.ts +8 -0
- package/dist/translations/es.js +23 -0
- package/dist/translations/et.d.ts +8 -0
- package/dist/translations/et.js +23 -0
- package/dist/translations/fa.d.ts +8 -0
- package/dist/translations/fa.js +23 -0
- package/dist/translations/fi.d.ts +8 -0
- package/dist/translations/fi.js +23 -0
- package/dist/translations/fr.d.ts +8 -0
- package/dist/translations/fr.js +23 -0
- package/dist/translations/gl.d.ts +8 -0
- package/dist/translations/gl.js +23 -0
- package/dist/translations/he.d.ts +8 -0
- package/dist/translations/he.js +23 -0
- package/dist/translations/hi.d.ts +8 -0
- package/dist/translations/hi.js +23 -0
- package/dist/translations/hr.d.ts +8 -0
- package/dist/translations/hr.js +23 -0
- package/dist/translations/hu.d.ts +8 -0
- package/dist/translations/hu.js +23 -0
- package/dist/translations/id.d.ts +8 -0
- package/dist/translations/id.js +23 -0
- package/dist/translations/it.d.ts +8 -0
- package/dist/translations/it.js +23 -0
- package/dist/translations/ja.d.ts +8 -0
- package/dist/translations/ja.js +23 -0
- package/dist/translations/jv.d.ts +8 -0
- package/dist/translations/jv.js +23 -0
- package/dist/translations/ko.d.ts +8 -0
- package/dist/translations/ko.js +23 -0
- package/dist/translations/lt.d.ts +8 -0
- package/dist/translations/lt.js +23 -0
- package/dist/translations/lv.d.ts +8 -0
- package/dist/translations/lv.js +23 -0
- package/dist/translations/ms.d.ts +8 -0
- package/dist/translations/ms.js +23 -0
- package/dist/translations/nl.d.ts +8 -0
- package/dist/translations/nl.js +23 -0
- package/dist/translations/no.d.ts +8 -0
- package/dist/translations/no.js +23 -0
- package/dist/translations/pl.d.ts +8 -0
- package/dist/translations/pl.js +23 -0
- package/dist/translations/pt-br.d.ts +8 -0
- package/dist/translations/pt-br.js +23 -0
- package/dist/translations/pt.d.ts +8 -0
- package/dist/translations/pt.js +23 -0
- package/dist/translations/ro.d.ts +8 -0
- package/dist/translations/ro.js +23 -0
- package/dist/translations/ru.d.ts +8 -0
- package/dist/translations/ru.js +23 -0
- package/dist/translations/sk.d.ts +8 -0
- package/dist/translations/sk.js +23 -0
- package/dist/translations/sq.d.ts +8 -0
- package/dist/translations/sq.js +23 -0
- package/dist/translations/sr-latn.d.ts +8 -0
- package/dist/translations/sr-latn.js +23 -0
- package/dist/translations/sr.d.ts +8 -0
- package/dist/translations/sr.js +23 -0
- package/dist/translations/sv.d.ts +8 -0
- package/dist/translations/sv.js +23 -0
- package/dist/translations/th.d.ts +8 -0
- package/dist/translations/th.js +23 -0
- package/dist/translations/tk.d.ts +8 -0
- package/dist/translations/tk.js +23 -0
- package/dist/translations/tr.d.ts +8 -0
- package/dist/translations/tr.js +23 -0
- package/dist/translations/tt.d.ts +8 -0
- package/dist/translations/tt.js +23 -0
- package/dist/translations/ug.d.ts +8 -0
- package/dist/translations/ug.js +23 -0
- package/dist/translations/uk.d.ts +8 -0
- package/dist/translations/uk.js +23 -0
- package/dist/translations/ur.d.ts +8 -0
- package/dist/translations/ur.js +23 -0
- package/dist/translations/vi.d.ts +8 -0
- package/dist/translations/vi.js +23 -0
- package/dist/translations/zh-cn.d.ts +8 -0
- package/dist/translations/zh-cn.js +23 -0
- package/dist/translations/zh.d.ts +8 -0
- package/dist/translations/zh.js +23 -0
- package/dist/types/annotations/annotation.d.ts +94 -0
- package/dist/types/annotations/annotationcollection.d.ts +102 -0
- package/dist/types/annotations/annotations.d.ts +158 -0
- package/dist/types/annotations/annotationsuis.d.ts +236 -0
- package/dist/types/annotations/editorannotations.d.ts +71 -0
- package/dist/types/annotations/inlineannotations.d.ts +94 -0
- package/dist/types/annotations/narrowsidebar.d.ts +89 -0
- package/dist/types/annotations/sidebar.d.ts +104 -0
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +33 -0
- package/dist/types/annotations/view/annotationview.d.ts +94 -0
- package/dist/types/annotations/view/sidebaritemview.d.ts +59 -0
- package/dist/types/annotations/view/sidebarview.d.ts +36 -0
- package/dist/types/annotations/widesidebar.d.ts +81 -0
- package/dist/types/augmentation.d.ts +56 -0
- package/dist/types/comments/addcommentthreadcommand.d.ts +39 -0
- package/dist/types/comments/commentsarchive.d.ts +35 -0
- package/dist/types/comments/commentsarchiveui.d.ts +42 -0
- package/dist/types/comments/commentsediting.d.ts +84 -0
- package/dist/types/comments/commentsrepository.d.ts +1134 -0
- package/dist/types/comments/commentsui.d.ts +37 -0
- package/dist/types/comments/integrations/clipboard.d.ts +30 -0
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +21 -0
- package/dist/types/comments/integrations/importword.d.ts +25 -0
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +40 -0
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +35 -0
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +40 -0
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +68 -0
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +123 -0
- package/dist/types/comments/ui/view/basecommentview.d.ts +116 -0
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +17 -0
- package/dist/types/comments/ui/view/commentcontentview.d.ts +18 -0
- package/dist/types/comments/ui/view/commentinputview.d.ts +90 -0
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +42 -0
- package/dist/types/comments/ui/view/commentslistview.d.ts +104 -0
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +54 -0
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +45 -0
- package/dist/types/comments/ui/view/commentthreadview.d.ts +122 -0
- package/dist/types/comments/ui/view/commentview.d.ts +247 -0
- package/dist/types/comments.d.ts +39 -0
- package/dist/types/commentsonly.d.ts +37 -0
- package/dist/types/config.d.ts +202 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/utils/common-translations.d.ts +13 -0
- package/dist/types/utils/createmutationobserver.d.ts +18 -0
- package/package.json +4 -3
- package/src/annotations/annotation.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +1 -1
- 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/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +1 -1
- package/src/comments/ui/view/commentview.js +1 -1
- 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 _0x25f2f6=_0x2dab;(function(_0x2b34d5,_0x70100a){const _0x54b040=_0x2dab,_0x4d9a5d=_0x2b34d5();while(!![]){try{const _0x11cf98=-parseInt(_0x54b040(0x170))/0x1*(parseInt(_0x54b040(0x104))/0x2)+-parseInt(_0x54b040(0x171))/0x3+parseInt(_0x54b040(0x144))/0x4+parseInt(_0x54b040(0xea))/0x5*(-parseInt(_0x54b040(0x110))/0x6)+-parseInt(_0x54b040(0x138))/0x7*(-parseInt(_0x54b040(0x123))/0x8)+-parseInt(_0x54b040(0x152))/0x9+parseInt(_0x54b040(0x130))/0xa;if(_0x11cf98===_0x70100a)break;else _0x4d9a5d['push'](_0x4d9a5d['shift']());}catch(_0x122303){_0x4d9a5d['push'](_0x4d9a5d['shift']());}}}(_0x5282,0xf2b0f));import{Plugin as _0x19cabd}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x9bce9f}from'ckeditor5/src/utils.js';import _0x2d9dfc from'./commentsrepository.js';import _0x4bb485 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x19c3fa,getAllMarkersDomElementsSorted as _0x5f47ba}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1ec1e5 from'../annotations/editorannotations.js';import _0x586d38 from'./integrations/commentsrestrictededitingmode.js';import _0xc4df0d from'./integrations/importword.js';import _0x2290cc from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x2dab(_0xfef000,_0x5aad82){const _0x5282ac=_0x5282();return _0x2dab=function(_0x2dabb0,_0x548e81){_0x2dabb0=_0x2dabb0-0xe1;let _0x35a8a9=_0x5282ac[_0x2dabb0];return _0x35a8a9;},_0x2dab(_0xfef000,_0x5aad82);}import _0x55bfe3 from'../annotations/annotations.js';import{getTranslation as _0x1f4a61}from'../utils/common-translations.js';export default class r extends _0x19cabd{static get[_0x25f2f6(0x108)](){return[_0x2d9dfc,_0x1ec1e5,_0x586d38,_0xc4df0d,_0x2290cc];}static get[_0x25f2f6(0x131)](){const _0xd493b1=_0x25f2f6;return _0xd493b1(0x159);}constructor(_0x1ba386){const _0x5b38e0=_0x25f2f6;super(_0x1ba386),this[_0x5b38e0(0xfd)](_0x5b38e0(0x11e),!0x0),_0x1ba386[_0x5b38e0(0x100)][_0x5b38e0(0x107)](_0x5b38e0(0xf9),()=>this[_0x5b38e0(0x11e)]=!0x1),this[_0x5b38e0(0xfd)](_0x5b38e0(0x176),null),this['on'](_0x5b38e0(0x133),(_0x328a9c,_0x10cc57,_0x41720e,_0x9fc1b6)=>{const _0x18084c=_0x5b38e0,_0x4ae2db=_0x41720e?st(_0x41720e)['id']:null;if(_0x1ba386[_0x18084c(0x15b)][_0x18084c(0x129)](()=>{const _0x5e1666=_0x18084c;if(_0x4ae2db){const _0x23e03a=this[_0x5e1666(0x103)](_0x4ae2db);for(const _0x3c8eb1 of _0x23e03a)_0x1ba386[_0x5e1666(0xfe)][_0x5e1666(0x12b)](_0x3c8eb1);}if(_0x9fc1b6){const {id:_0x3e18d4}=st(_0x9fc1b6),_0x2c4f57=this[_0x5e1666(0x103)](_0x3e18d4);for(const _0x4b6f70 of _0x2c4f57)_0x1ba386[_0x5e1666(0xfe)][_0x5e1666(0x12b)](_0x4b6f70);}}),_0x4ae2db){const _0x4c1395=_0x1ba386[_0x18084c(0x146)][_0x18084c(0x160)](_0x2d9dfc)[_0x18084c(0xe4)](_0x4ae2db);_0x4c1395&&_0x4c1395[_0x18084c(0x111)]&&this[_0x18084c(0x126)](_0x4ae2db);}}),this[_0x5b38e0(0xe2)]();}[_0x25f2f6(0xf6)](){const _0x34fbc8=_0x25f2f6,_0x4101a0=this[_0x34fbc8(0xe9)],_0x3b0037=_0x4101a0[_0x34fbc8(0x146)][_0x34fbc8(0x160)](_0x2d9dfc),_0x53818a=_0x4101a0[_0x34fbc8(0x15d)][_0x34fbc8(0x160)](_0x34fbc8(0x114));_0x4101a0[_0x34fbc8(0x163)][_0x34fbc8(0xf3)](_0x34fbc8(0x16b),new _0x4bb485(_0x4101a0)),this[_0x34fbc8(0xe5)](_0x4101a0,_0x34fbc8(0x11f),(_0x58bac9,_0x2f7acf,_0x2898f8)=>{const _0x3209e4=_0x34fbc8;_0x3b0037[_0x3209e4(0x10c)](_0x2898f8,_0x4101a0[_0x3209e4(0x15d)][_0x3209e4(0x160)](_0x3209e4(0x114)));}),this[_0x34fbc8(0xe5)](_0x3b0037,nt(_0x34fbc8(0x16b),_0x53818a),(_0x219153,{threadId:_0x1426e7})=>{const _0x23ed3b=_0x34fbc8,_0xdd0962=this[_0x23ed3b(0xe9)][_0x23ed3b(0x146)][_0x23ed3b(0x160)](_0x2d9dfc)[_0x23ed3b(0xe4)](_0x1426e7);_0xdd0962&&_0xdd0962[_0x23ed3b(0x118)]&&this[_0x23ed3b(0x12f)](_0x1426e7);}),this[_0x34fbc8(0xe5)](_0x3b0037,nt(_0x34fbc8(0x145),_0x53818a),(_0x49eb07,{threadId:_0x21dd9d})=>{const _0x1a61cf=_0x34fbc8;_0x4101a0[_0x1a61cf(0x15b)][_0x1a61cf(0x11b)]({'isUndoable':!0x1},_0x56c89d=>{const _0x5ea280=_0x1a61cf,_0x4a9b09=this[_0x5ea280(0x103)](_0x21dd9d);for(const _0x3276bc of _0x4a9b09)_0x56c89d[_0x5ea280(0xfa)](_0x3276bc);});}),this[_0x34fbc8(0xe5)](_0x3b0037,nt(_0x34fbc8(0x14e),_0x53818a),(_0x1d2234,{threadId:_0x25b7e7})=>{const _0x4c6ac8=_0x34fbc8;(this[_0x4c6ac8(0xf7)](_0x25b7e7),this[_0x4c6ac8(0xe9)][_0x4c6ac8(0xfe)][_0x4c6ac8(0x150)][_0x4c6ac8(0x147)])&&(this[_0x4c6ac8(0xe9)][_0x4c6ac8(0x146)][_0x4c6ac8(0x160)](_0x2d9dfc)[_0x4c6ac8(0xe4)](_0x25b7e7)[_0x4c6ac8(0x118)]||this[_0x4c6ac8(0xe9)][_0x4c6ac8(0xfe)][_0x4c6ac8(0x150)][_0x4c6ac8(0xef)]());},{'priority':_0x34fbc8(0x16c)}),this[_0x34fbc8(0xe5)](_0x3b0037,nt(_0x34fbc8(0x15f),_0x53818a),(_0x308c95,{threadId:_0x13a377})=>{const _0x4eb521=_0x34fbc8;this[_0x4eb521(0xf7)](_0x13a377);},{'priority':_0x34fbc8(0x16c)}),this[_0x34fbc8(0xe5)](_0x3b0037,nt(_0x34fbc8(0x15a),_0x53818a),(_0x1bb229,{threadId:_0x55c82e,isFromAdapter:_0x40df20})=>{const _0x394529=_0x34fbc8,_0x18c6a3=this[_0x394529(0x103)](_0x55c82e);if(_0x40df20||0x0==_0x18c6a3[_0x394529(0x10f)]||!_0x3b0037[_0x394529(0x153)](_0x55c82e))return;0x1===_0x3b0037[_0x394529(0xe4)](_0x55c82e)[_0x394529(0x10f)]&&_0x4101a0[_0x394529(0x15b)][_0x394529(0x11b)]({'isUndoable':!0x1},_0x4a3df4=>{const _0x56bf6e=_0x394529;for(const _0x296be0 of _0x18c6a3)_0x4a3df4[_0x56bf6e(0xf2)](_0x296be0,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x34fbc8(0x16c)}),this[_0x34fbc8(0x13a)](),this[_0x34fbc8(0x135)]();}[_0x25f2f6(0x13b)](){const _0x33ef0e=_0x25f2f6,_0x4bb5b8=this[_0x33ef0e(0xe9)][_0x33ef0e(0x146)][_0x33ef0e(0x160)](_0x2d9dfc),_0x284f2b=this[_0x33ef0e(0xe9)][_0x33ef0e(0x15d)][_0x33ef0e(0x160)](_0x33ef0e(0x114));for(const _0x27bff6 of _0x4bb5b8[_0x33ef0e(0xec)]({'channelId':_0x284f2b}))_0x4bb5b8[_0x33ef0e(0x168)](_0x27bff6['id']),_0x4bb5b8[_0x33ef0e(0x140)][_0x33ef0e(0x115)](_0x27bff6['id']);super[_0x33ef0e(0x13b)]();}[_0x25f2f6(0x165)](_0x1711c7){const _0x2a5fc3=_0x25f2f6;return this[_0x2a5fc3(0x103)](_0x1711c7)[_0x2a5fc3(0x10f)]>0x0;}[_0x25f2f6(0x103)](_0x157cbf){const _0x4a15f0=_0x25f2f6,_0x2068dd=[];for(const _0x2bba81 of this[_0x4a15f0(0xe9)][_0x4a15f0(0x15b)][_0x4a15f0(0x112)])_0x2bba81[_0x4a15f0(0x10b)][_0x4a15f0(0xe6)](_0x4a15f0(0x102)+_0x157cbf)&&_0x2068dd[_0x4a15f0(0x151)](_0x2bba81);return _0x2068dd;}[_0x25f2f6(0x126)](_0x908a63){const _0x2f3915=_0x25f2f6,_0x3229d3=this[_0x2f3915(0x169)](_0x908a63);_0x3229d3&&setTimeout(()=>{const _0x34cc79=_0x2f3915;this[_0x34cc79(0x176)]&&st(this[_0x34cc79(0x176)])['id']===_0x908a63&&_0x9bce9f({'target':_0x3229d3[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x25f2f6(0xf7)](_0x3e8c45){const _0x31faf4=_0x25f2f6;this[_0x31faf4(0xe9)][_0x31faf4(0x15b)][_0x31faf4(0x129)](()=>{const _0x18ec71=_0x31faf4;for(const _0x36239f of this[_0x18ec71(0x103)](_0x3e8c45))this[_0x18ec71(0xe9)][_0x18ec71(0xfe)][_0x18ec71(0x12b)](_0x36239f);});}[_0x25f2f6(0x12f)](_0x15339f){const _0x278801=_0x25f2f6,_0x119ab3=this[_0x278801(0xe9)][_0x278801(0x146)][_0x278801(0x160)](_0x2d9dfc),_0x689d04=this[_0x278801(0xe9)][_0x278801(0x146)][_0x278801(0x160)](_0x1ec1e5),_0x11b663=_0x119ab3[_0x278801(0xe4)](_0x15339f);if(!_0x11b663[_0x278801(0xe1)]){const _0x25e14a=_0x11b663[_0x278801(0x137)](()=>this[_0x278801(0x169)](_0x11b663['id']));_0x689d04[_0x278801(0x134)](_0x25e14a),_0x11b663[_0x278801(0x177)]=!0x1;}}[_0x25f2f6(0x13a)](){const _0x13e099=_0x25f2f6,_0x409911=this[_0x13e099(0xe9)];_0x409911[_0x13e099(0x14d)][_0x13e099(0xeb)](_0x13e099(0x12a))[_0x13e099(0x119)]({'model':_0x13e099(0x12d),'view':(_0x4c46da,_0x31bef8)=>{const _0x22009e=_0x13e099,{id:_0x41414d}=st(_0x4c46da[_0x22009e(0x16f)]),_0x56cd89=_0x409911[_0x22009e(0x146)][_0x22009e(0x160)](_0x2d9dfc)[_0x22009e(0xe4)](_0x41414d),_0x59ca2b=this[_0x22009e(0x176)]&&st(this[_0x22009e(0x176)])['id']===_0x41414d;if(_0x56cd89&&_0x56cd89[_0x22009e(0x111)]&&!_0x59ca2b&&_0x4c46da[_0x22009e(0x166)])return _0x31bef8[_0x22009e(0x175)][_0x22009e(0x16a)](_0x4c46da[_0x22009e(0x166)],_0x22009e(0x15e)+_0x4c46da[_0x22009e(0x16f)]),_0x31bef8[_0x22009e(0x175)][_0x22009e(0x16a)](_0x4c46da[_0x22009e(0x166)],_0x22009e(0x149)+_0x4c46da[_0x22009e(0x16f)]),null;const _0x36ba9e=[_0x22009e(0x121)];return _0x59ca2b&&_0x36ba9e[_0x22009e(0x151)](_0x22009e(0x109)),{'classes':_0x36ba9e,'attributes':{'data-comment':_0x41414d}};}}),_0x409911[_0x13e099(0x14d)][_0x13e099(0xeb)](_0x13e099(0x14a))[_0x13e099(0xfb)]({'model':_0x13e099(0x12d),'view':(_0x2f8360,{options:_0x2dd641})=>{const _0x479d47=_0x13e099,_0x31746e=_0x409911[_0x479d47(0x146)][_0x479d47(0x160)](_0x2d9dfc),_0x244c6d=_0x409911[_0x479d47(0x15b)][_0x479d47(0x112)][_0x479d47(0x160)](_0x2f8360),{id:_0x368b1a,part:_0x4d2603}=st(_0x2f8360);if(_0x244c6d&&!_0x244c6d[_0x479d47(0x12e)])return null;if(_0x2dd641[_0x479d47(0xed)]){const _0x27e112=_0x31746e[_0x479d47(0xe4)](_0x368b1a);if(_0x27e112&&_0x27e112[_0x479d47(0x111)])return null;}return{'group':_0x479d47(0x12d),'name':_0x4d2603?_0x368b1a+':'+_0x4d2603:_0x368b1a};}}),_0x409911[_0x13e099(0x14d)][_0x13e099(0xeb)](_0x13e099(0x172))[_0x13e099(0xe7)]({'view':{'name':_0x13e099(0x12d),'attributes':{'id':/^\w/}},'model':(_0xa62ebc,{writer:_0xdc76fd})=>_0xdc76fd[_0x13e099(0xf1)](_0x13e099(0x158),{'data-name':_0x13e099(0x102)+_0xa62ebc[_0x13e099(0x156)]('id')})}),_0x409911[_0x13e099(0x14d)][_0x13e099(0xeb)](_0x13e099(0x172))[_0x13e099(0x173)]({'view':_0x13e099(0x12d)});}[_0x25f2f6(0x135)](){const _0x42bbb1=_0x25f2f6,_0x43baee=this[_0x42bbb1(0xe9)],_0x24bb09=_0x43baee[_0x42bbb1(0x146)][_0x42bbb1(0x160)](_0x2d9dfc),_0x3ed674=new Set(),_0x208b5f=new Set();_0x43baee[_0x42bbb1(0x15b)][_0x42bbb1(0x155)][_0x42bbb1(0x16e)](_0x53441a=>{const _0x50f56f=_0x42bbb1;let _0x99ef9e=!0x1;for(const {name:_0x3939ae,data:_0x5058d9}of _0x43baee[_0x50f56f(0x15b)][_0x50f56f(0x155)][_0x50f56f(0x164)][_0x50f56f(0x11d)]()){const {group:_0x5a911d,id:_0x362dda}=st(_0x3939ae);let _0x2dc4c4=_0x5058d9[_0x50f56f(0x139)];if(_0x50f56f(0x12d)!==_0x5a911d||!_0x2dc4c4)continue;const _0x345f44=_0x50f56f(0x14c)===_0x2dc4c4[_0x50f56f(0x143)][_0x50f56f(0x120)];_0x345f44||(_0x2dc4c4=it(_0x2dc4c4,_0x43baee[_0x50f56f(0x15b)]),!_0x2dc4c4||_0x2dc4c4[_0x50f56f(0x136)]||!_0x5058d9[_0x50f56f(0x139)]||_0x2dc4c4[_0x50f56f(0x122)](_0x5058d9[_0x50f56f(0x139)]))?_0x43baee[_0x50f56f(0x15b)][_0x50f56f(0xe8)](_0x2dc4c4)&&!_0x345f44?this[_0x50f56f(0x11e)]?_0x3ed674[_0x50f56f(0xf3)](_0x3939ae):this[_0x50f56f(0xe3)](_0x3939ae,_0x362dda):(_0x208b5f[_0x50f56f(0xf3)](_0x3939ae),_0x3ed674[_0x50f56f(0x115)](_0x3939ae),_0x53441a[_0x50f56f(0xfa)](_0x3939ae),_0x99ef9e=!0x0):(_0x53441a[_0x50f56f(0xf2)](_0x3939ae,{'range':_0x2dc4c4}),_0x99ef9e=!0x0);}return _0x99ef9e;}),this['on'](_0x42bbb1(0x14f),(_0x35482b,_0x5e6c2b,_0x30a0b9)=>{const _0x42bd88=_0x42bbb1;if(!_0x30a0b9&&_0x3ed674[_0x42bd88(0xee)])for(const _0x4fe9e9 of _0x3ed674){const {id:_0x545117}=st(_0x4fe9e9);_0x3ed674[_0x42bd88(0x115)](_0x4fe9e9),_0x43baee[_0x42bd88(0x15b)][_0x42bd88(0x112)][_0x42bd88(0x160)](_0x4fe9e9)&&this[_0x42bd88(0xe3)](_0x4fe9e9,_0x545117);}}),this[_0x42bbb1(0xe5)](_0x43baee[_0x42bbb1(0x15b)][_0x42bbb1(0x155)],_0x42bbb1(0x129),(_0x2101ef,_0x2d62f7)=>{const _0x4f527f=_0x42bbb1;for(const {name:_0x1163e9,data:{newRange:_0x54d70d}}of _0x43baee[_0x4f527f(0x15b)][_0x4f527f(0x155)][_0x4f527f(0x164)][_0x4f527f(0x11d)]()){const {group:_0x44b1ee,id:_0x394ce8}=st(_0x1163e9);if(_0x4f527f(0x12d)!==_0x44b1ee)continue;const _0x3b0a37=_0x24bb09[_0x4f527f(0xe4)](_0x394ce8),_0x28a22f=this[_0x4f527f(0x165)](_0x394ce8);_0x3b0a37&&(_0x3b0a37[_0x4f527f(0x177)]||_0x43baee[_0x4f527f(0xfe)][_0x4f527f(0x150)][_0x4f527f(0x107)](_0x4f527f(0x10a),()=>{const _0x511837=_0x4f527f,_0x4984f5=_0x43baee[_0x511837(0x146)][_0x511837(0x160)](_0x55bfe3),_0xc60691=_0x24bb09[_0x511837(0x161)][_0x511837(0x160)](_0x3b0a37)[_0x511837(0x150)];_0x4984f5[_0x511837(0x113)](_0xc60691)[_0x511837(0x142)]();},{'priority':_0x4f527f(0x16c)}),_0x3b0a37[_0x4f527f(0x177)]=_0x28a22f||!!_0x54d70d),_0x54d70d||(_0x208b5f[_0x4f527f(0xf3)](_0x1163e9),_0x3ed674[_0x4f527f(0x115)](_0x1163e9));}if(_0x2d62f7[_0x4f527f(0x10e)])for(const _0xab5de5 of _0x208b5f){const {id:_0x4fab56}=st(_0xab5de5),_0x411df9=_0x24bb09[_0x4f527f(0xe4)](_0x4fab56),_0xc17d3a=this[_0x4f527f(0x165)](_0x4fab56);_0x3ed674[_0x4f527f(0x115)](_0xab5de5),!_0x411df9||_0xc17d3a||_0x411df9[_0x4f527f(0x118)]||_0x411df9[_0x4f527f(0x162)](new Date());}_0x208b5f[_0x4f527f(0x10d)]();});}[_0x25f2f6(0x169)](_0x15538a){const _0x15afec=_0x25f2f6,_0x512b63=this[_0x15afec(0xe9)],_0x274d9b=this[_0x15afec(0x103)](_0x15538a);return _0x5f47ba(_0x512b63[_0x15afec(0xfe)],_0x274d9b);}[_0x25f2f6(0x101)](_0x470ab8){const _0x55cab5=_0x25f2f6,_0x405ced=this[_0x55cab5(0x103)](_0x470ab8);let _0x25170d='',_0xaeea78=!0x1;for(const _0x2d712d of _0x405ced){const _0xb06f1b=_0x2d712d[_0x55cab5(0x11a)]();for(const _0x157db4 of Array[_0x55cab5(0xf5)](_0xb06f1b[_0x55cab5(0x116)]()))_0x157db4['is'](_0x55cab5(0xfc))?(_0x25170d&&_0xaeea78&&(_0x25170d+='\x20',_0xaeea78=!0x1),_0x25170d+=_0x157db4[_0x55cab5(0x100)]):_0xaeea78=!0x0;_0xaeea78=!0x0;}return _0x25170d[_0x55cab5(0x124)](0x0,0x96);}[_0x25f2f6(0x148)](_0xa8a678,_0x5f1c6a){const _0x23e05d=_0x25f2f6,_0xb9256a=this[_0x23e05d(0xe9)],_0x5970c3=_0xb9256a[_0x23e05d(0x146)][_0x23e05d(0x160)](_0x2d9dfc);let _0x530b46=_0x5970c3[_0x23e05d(0xe4)](_0x5f1c6a);const _0x44b78a=_0xb9256a[_0x23e05d(0x15d)][_0x23e05d(0x160)](_0x23e05d(0x114)),_0x2fce32=_0xb9256a[_0x23e05d(0x146)][_0x23e05d(0x160)](_0x1ec1e5);if(_0x530b46&&(_0x530b46[_0x23e05d(0x118)]&&_0x530b46[_0x23e05d(0x162)](null),_0x530b46[_0x23e05d(0xe1)]))return _0x530b46;return!this[_0x23e05d(0x103)](_0x5f1c6a)[0x0][_0x23e05d(0x167)]?_0xb9256a[_0x23e05d(0xfe)][_0x23e05d(0x150)][_0x23e05d(0x107)](_0x23e05d(0x10a),()=>{const _0x5f0b1e=_0x23e05d;if(_0x5970c3[_0x5f0b1e(0xe4)](_0x5f1c6a))return;const _0x5b4975=_0xb9256a[_0x5f0b1e(0x146)][_0x5f0b1e(0x160)](_0x55bfe3);_0x530b46=_0x5970c3[_0x5f0b1e(0xf4)]({'channelId':_0x44b78a,'threadId':_0x5f1c6a,'target':()=>this[_0x5f0b1e(0x169)](_0x5f1c6a),'context':{'type':_0x5f0b1e(0x174),'value':this[_0x5f0b1e(0x101)](_0x5f1c6a)}});const _0x2f2c44=_0x5970c3[_0x5f0b1e(0x161)][_0x5f0b1e(0x160)](_0x530b46)[_0x5f0b1e(0x150)],_0x1515d8=_0x5b4975[_0x5f0b1e(0x113)](_0x2f2c44);_0x1515d8&&_0x2fce32[_0x5f0b1e(0x134)](_0x1515d8);},{'priority':_0x23e05d(0x16c)}):_0x5970c3[_0x23e05d(0x15c)]({'channelId':_0x44b78a,'threadId':_0x5f1c6a})[_0x23e05d(0x13c)](_0x49a59a=>{const _0x16af3a=_0x23e05d;if(_0x16af3a(0x157)!==_0xb9256a[_0x16af3a(0xf0)]){if(_0x530b46=_0x49a59a,_0x530b46&&!_0x530b46[_0x16af3a(0xe1)]){const _0x5bdffd=_0x530b46[_0x16af3a(0x137)](()=>this[_0x16af3a(0x169)](_0x5f1c6a));_0x2fce32[_0x16af3a(0x134)](_0x5bdffd),_0x530b46[_0x16af3a(0x111)]&&this[_0x16af3a(0xf7)](_0x5f1c6a);}else{if(!_0x530b46){const _0x423ac3=this[_0x16af3a(0x103)](_0x5f1c6a);_0xb9256a[_0x16af3a(0x15b)][_0x16af3a(0x129)](_0x24e40a=>{const _0x700164=_0x16af3a;for(const _0x2edeab of _0x423ac3)_0x24e40a[_0x700164(0xfa)](_0x2edeab);});}}}}),_0x530b46;}[_0x25f2f6(0xe3)](_0x10cf68,_0x3c5306){const _0x59fa5a=_0x25f2f6,_0x403a66=this[_0x59fa5a(0x148)](_0x10cf68,_0x3c5306);_0x403a66&&!_0x403a66[_0x59fa5a(0x12c)]&&_0x403a66[_0x59fa5a(0x117)]({'type':_0x59fa5a(0x174),'value':this[_0x59fa5a(0x101)](_0x3c5306)});}[_0x25f2f6(0xe2)](){const _0x4e22b6=_0x25f2f6,_0x715749=this[_0x4e22b6(0xe9)];_0x19c3fa(_0x715749[_0x4e22b6(0x15b)],({left:_0x3f353f,entered:_0x2468ec})=>{const _0x2ea115=_0x4e22b6,_0xa60d19=[];for(const _0x328708 of _0x3f353f)if(at(_0x328708)){_0xa60d19[_0x2ea115(0x151)](_0x1f4a61(_0x715749[_0x2ea115(0x13d)],_0x2ea115(0x128)));break;}for(const _0x426dba of _0x2468ec)if(at(_0x426dba)){_0xa60d19[_0x2ea115(0x151)](_0x1f4a61(_0x715749[_0x2ea115(0x13d)],_0x2ea115(0x106)));break;}_0xa60d19[_0x2ea115(0x10f)]&&_0x715749['ui'][_0x2ea115(0x16d)][_0x2ea115(0x13f)](_0x2ea115(0x154),_0xa60d19[_0x2ea115(0x11c)]('\x20'));});}}function nt(_0xa79f34,_0x1e86f3){return _0x1e86f3?_0xa79f34+':'+_0x1e86f3:_0xa79f34;}function _0x5282(){const _0x46a081=['isCollapsed','attachTo','14XgCENd','newRange','_initializeMarkerConverters','destroy','then','locale','split','announce','_threads','schema','refreshVisibility','root','3379768bVidal','removeCommentThread','plugins','hasDomSelection','_attachMarkerToThread','removeMarker:','dataDowncast','getWalker','$graveyard','conversion','resolveCommentThread','change:isThreadsLoadingPaused','view','push','16185114OatEtg','hasCommentThread','comments','document','getAttribute','destroyed','$marker','CommentsEditing','addComment','model','fetchCommentThread','config','addMarker:','reopenCommentThread','get','_threadToController','setUnlinkedAt','commands','differ','hasMarkerForId','item','managedUsingOperations','_detachCommentThread','_getTargetForId','consume','addCommentThread','low','ariaLiveAnnouncer','registerPostFixer','markerName','60iguKoZ','4942287YEnQHO','upcast','dataToMarker','text','consumable','activeMarker','_hasTargetInContent','isAttached','_initAriaMarkerChangeAnnouncements','_handleThreadMarker','getCommentThread','listenTo','startsWith','elementToElement','hasContent','editor','3913430eSsCWl','for','getCommentThreads','ignoreResolvedComments','size','focus','state','createElement','updateMarker','add','openNewCommentThread','from','init','_reconvertMarkers','group','ready','removeMarker','markerToData','$textProxy','set','editing','end','data','_getTextContext','comment:','getAllMarkersForId','59234gBsdmg','isObject','ENTER_COMMENT_ANNOUNCEMENT','once','requires','ck-comment-marker--active','render','name','switchReadOnly','clear','isLocal','length','6BiElnD','isResolved','markers','getByInnerView','collaboration.channelId','delete','getItems','setContext','unlinkedAt','markerToHighlight','getRange','enqueueChange','join','getChangedMarkers','isThreadsLoadingPaused','change:isReadOnly','rootName','ck-comment-marker','isEqual','2179168zAVPTA','substring','start','scrollToThreadMarker','createPositionBefore','LEAVE_COMMENT_ANNOUNCEMENT','change','editingDowncast','reconvertMarker','context','comment','affectsData','_attachArchivedThread','56098100vlzelk','pluginName','createRange','change:activeMarker','registerAnnotation','_handleMarkerAddAndRemove'];_0x5282=function(){return _0x46a081;};return _0x5282();}function st(_0x1306ea){const _0x99a69a=_0x25f2f6,_0x33c118=_0x1306ea[_0x99a69a(0x13e)](':');return{'group':_0x33c118[0x0],'id':_0x33c118[0x1],'part':_0x33c118[0x2]};}function it(_0x56a5e9,_0x112004){const _0x1d6d18=_0x25f2f6,_0x5f3638=_0x112004[_0x1d6d18(0x141)],_0x481761=_0x112004[_0x1d6d18(0x132)](_0x56a5e9[_0x1d6d18(0x125)]);for(const _0x1ef6bf of _0x56a5e9[_0x1d6d18(0x14b)]()){const {type:_0x1907d2,item:_0x1c9f5e,nextPosition:_0x206631}=_0x1ef6bf;if(_0x1d6d18(0x174)===_0x1907d2||_0x5f3638[_0x1d6d18(0x105)](_0x1c9f5e)){const _0xa2e0cf=_0x112004[_0x1d6d18(0x127)](_0x1c9f5e);_0x481761[_0x1d6d18(0x136)]&&(_0x481761[_0x1d6d18(0x125)]=_0xa2e0cf),_0x481761[_0x1d6d18(0xff)]=_0x206631;}}return _0x481761;}function at(_0x2ed8bc){const _0x21d9da=_0x25f2f6;return _0x21d9da(0x12d)===st(_0x2ed8bc[_0x21d9da(0x10b)])[_0x21d9da(0xf8)];}
|
|
23
|
+
const _0x2f1c4b=_0x480c;(function(_0x4d1739,_0x31e685){const _0x3482f7=_0x480c,_0x2ca585=_0x4d1739();while(!![]){try{const _0x66aa3c=-parseInt(_0x3482f7(0x260))/0x1+parseInt(_0x3482f7(0x203))/0x2*(-parseInt(_0x3482f7(0x23e))/0x3)+parseInt(_0x3482f7(0x280))/0x4*(parseInt(_0x3482f7(0x208))/0x5)+parseInt(_0x3482f7(0x24c))/0x6*(parseInt(_0x3482f7(0x22e))/0x7)+parseInt(_0x3482f7(0x21b))/0x8+-parseInt(_0x3482f7(0x20d))/0x9*(-parseInt(_0x3482f7(0x25c))/0xa)+-parseInt(_0x3482f7(0x250))/0xb;if(_0x66aa3c===_0x31e685)break;else _0x2ca585['push'](_0x2ca585['shift']());}catch(_0x329efb){_0x2ca585['push'](_0x2ca585['shift']());}}}(_0x1a02,0xef94e));import{Plugin as _0x3a5369}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1f0e0c}from'ckeditor5/src/utils.js';import _0xbf6719 from'./commentsrepository.js';import _0x4c7bfe from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4e2a2a,getAllMarkersDomElementsSorted as _0x3ba595}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x262939 from'../annotations/editorannotations.js';function _0x480c(_0xce467d,_0x55e8da){const _0x1a023c=_0x1a02();return _0x480c=function(_0x480ce1,_0xf0e7db){_0x480ce1=_0x480ce1-0x1ec;let _0x4bafa4=_0x1a023c[_0x480ce1];return _0x4bafa4;},_0x480c(_0xce467d,_0x55e8da);}import _0x52acb2 from'./integrations/commentsrestrictededitingmode.js';import _0xde0951 from'./integrations/importword.js';import _0x44cd37 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x37b19e from'../annotations/annotations.js';function _0x1a02(){const _0x4d7287=['end','change:isReadOnly','createPositionBefore','editingDowncast','getCommentThread','resolveCommentThread','7naRuie','start','_threads','dataToMarker','listenTo','fetchCommentThread','isEqual','updateMarker','openNewCommentThread','_initializeMarkerConverters','getItems','LEAVE_COMMENT_ANNOUNCEMENT','locale','collaboration.channelId','getAllMarkersForId','_getTextContext','12IvrSsr','ariaLiveAnnouncer','scrollToThreadMarker','announce','editor','markerName','delete','ignoreResolvedComments','getChangedMarkers','commands','createRange','switchReadOnly','text','createElement','5994924omJnKd','group','managedUsingOperations','push','12664663OGqrZK','isObject','startsWith','hasDomSelection','conversion','get','_handleThreadMarker','consumable','ck-comment-marker--active','config','set','clear','811180uAGxkL','getByInnerView','removeMarker','_threadToController','314566WZNwHG','item','getRange','change','_attachArchivedThread','data','isResolved','root','unlinkedAt','document','_getTargetForId','pluginName','substring','$textProxy','for','destroyed','getAttribute','rootName','$marker','getWalker','isLocal','comment','consume','split','elementToElement','hasCommentThread','isThreadsLoadingPaused','change:isThreadsLoadingPaused','addComment','comment:','context','isAttached','66916CjBbJn','_initAriaMarkerChangeAnnouncements','removeCommentThread','size','ready','init','setUnlinkedAt','upcast','markers','reopenCommentThread','setContext','affectsData','getCommentThreads','$graveyard','registerAnnotation','schema','attachTo','once','removeMarker:','hasMarkerForId','enqueueChange','render','_attachMarkerToThread','focus','state','968884mjOHra','activeMarker','requires','then','_handleMarkerAddAndRemove','405ifSccU','differ','dataDowncast','refreshVisibility','reconvertMarker','18TmbDyB','addCommentThread','_detachCommentThread','hasContent','ck-comment-marker','registerPostFixer','_hasTargetInContent','editing','addMarker:','destroy','_reconvertMarkers','length','view','low','14948432hrfasx','newRange','isCollapsed','name','add','model','plugins','markerToData','from','markerToHighlight','change:activeMarker','CommentsEditing','ENTER_COMMENT_ANNOUNCEMENT'];_0x1a02=function(){return _0x4d7287;};return _0x1a02();}import{getTranslation as _0x40b1c0}from'../utils/common-translations.js';export default class r extends _0x3a5369{static get[_0x2f1c4b(0x205)](){return[_0xbf6719,_0x262939,_0x52acb2,_0xde0951,_0x44cd37];}static get[_0x2f1c4b(0x26b)](){const _0x602eda=_0x2f1c4b;return _0x602eda(0x226);}constructor(_0x4baf90){const _0x27f00b=_0x2f1c4b;super(_0x4baf90),this[_0x27f00b(0x25a)](_0x27f00b(0x27a),!0x0),_0x4baf90[_0x27f00b(0x265)][_0x27f00b(0x1fb)](_0x27f00b(0x1ee),()=>this[_0x27f00b(0x27a)]=!0x1),this[_0x27f00b(0x25a)](_0x27f00b(0x204),null),this['on'](_0x27f00b(0x225),(_0x5122f2,_0x311ece,_0x381fba,_0x255053)=>{const _0x54e745=_0x27f00b,_0x4ff4c5=_0x381fba?it(_0x381fba)['id']:null;if(_0x4baf90[_0x54e745(0x220)][_0x54e745(0x263)](()=>{const _0x4e75dd=_0x54e745;if(_0x4ff4c5){const _0x24ffa1=this[_0x4e75dd(0x23c)](_0x4ff4c5);for(const _0xf1a3f3 of _0x24ffa1)_0x4baf90[_0x4e75dd(0x214)][_0x4e75dd(0x20c)](_0xf1a3f3);}if(_0x255053){const {id:_0x176f9e}=it(_0x255053),_0x587413=this[_0x4e75dd(0x23c)](_0x176f9e);for(const _0x45e61d of _0x587413)_0x4baf90[_0x4e75dd(0x214)][_0x4e75dd(0x20c)](_0x45e61d);}}),_0x4ff4c5){const _0x4728c6=_0x4baf90[_0x54e745(0x221)][_0x54e745(0x255)](_0xbf6719)[_0x54e745(0x22c)](_0x4ff4c5);_0x4728c6&&_0x4728c6[_0x54e745(0x266)]&&this[_0x54e745(0x240)](_0x4ff4c5);}}),this[_0x27f00b(0x281)]();}[_0x2f1c4b(0x1ef)](){const _0xbec269=_0x2f1c4b,_0x1baf21=this[_0xbec269(0x242)],_0x1c6ddf=_0x1baf21[_0xbec269(0x221)][_0xbec269(0x255)](_0xbf6719),_0x1ad045=_0x1baf21[_0xbec269(0x259)][_0xbec269(0x255)](_0xbec269(0x23b));_0x1baf21[_0xbec269(0x247)][_0xbec269(0x21f)](_0xbec269(0x20e),new _0x4c7bfe(_0x1baf21)),this[_0xbec269(0x232)](_0x1baf21,_0xbec269(0x229),(_0x5b5a76,_0x4a9d2b,_0x289540)=>{const _0xa02ef4=_0xbec269;_0x1c6ddf[_0xa02ef4(0x249)](_0x289540,_0x1baf21[_0xa02ef4(0x259)][_0xa02ef4(0x255)](_0xa02ef4(0x23b)));}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x20e),_0x1ad045),(_0x28781e,{threadId:_0x452d4f})=>{const _0x265672=_0xbec269,_0x3aabd2=this[_0x265672(0x242)][_0x265672(0x221)][_0x265672(0x255)](_0xbf6719)[_0x265672(0x22c)](_0x452d4f);_0x3aabd2&&_0x3aabd2[_0x265672(0x268)]&&this[_0x265672(0x264)](_0x452d4f);}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x1ec),_0x1ad045),(_0x165810,{threadId:_0x12d588})=>{const _0xf1d551=_0xbec269;_0x1baf21[_0xf1d551(0x220)][_0xf1d551(0x1fe)]({'isUndoable':!0x1},_0x25c222=>{const _0x2ec953=_0xf1d551,_0x45bb66=this[_0x2ec953(0x23c)](_0x12d588);for(const _0x407ae9 of _0x45bb66)_0x25c222[_0x2ec953(0x25e)](_0x407ae9);});}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x22d),_0x1ad045),(_0x1cc78b,{threadId:_0x5f215d})=>{const _0x34d87e=_0xbec269;(this[_0x34d87e(0x217)](_0x5f215d),this[_0x34d87e(0x242)][_0x34d87e(0x214)][_0x34d87e(0x219)][_0x34d87e(0x253)])&&(this[_0x34d87e(0x242)][_0x34d87e(0x221)][_0x34d87e(0x255)](_0xbf6719)[_0x34d87e(0x22c)](_0x5f215d)[_0x34d87e(0x268)]||this[_0x34d87e(0x242)][_0x34d87e(0x214)][_0x34d87e(0x219)][_0x34d87e(0x201)]());},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x1f3),_0x1ad045),(_0x395188,{threadId:_0x4674b0})=>{const _0x3208aa=_0xbec269;this[_0x3208aa(0x217)](_0x4674b0);},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x27c),_0x1ad045),(_0x22f2a0,{threadId:_0x1e9576,isFromAdapter:_0x5b7c81})=>{const _0x361723=_0xbec269,_0x1afb49=this[_0x361723(0x23c)](_0x1e9576);if(_0x5b7c81||0x0==_0x1afb49[_0x361723(0x218)]||!_0x1c6ddf[_0x361723(0x279)](_0x1e9576))return;0x1===_0x1c6ddf[_0x361723(0x22c)](_0x1e9576)[_0x361723(0x218)]&&_0x1baf21[_0x361723(0x220)][_0x361723(0x1fe)]({'isUndoable':!0x1},_0x566ba0=>{const _0x40411e=_0x361723;for(const _0x111d7f of _0x1afb49)_0x566ba0[_0x40411e(0x235)](_0x111d7f,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x237)](),this[_0xbec269(0x207)]();}[_0x2f1c4b(0x216)](){const _0x3d5ecd=_0x2f1c4b,_0x143f9d=this[_0x3d5ecd(0x242)][_0x3d5ecd(0x221)][_0x3d5ecd(0x255)](_0xbf6719),_0x55ab4a=this[_0x3d5ecd(0x242)][_0x3d5ecd(0x259)][_0x3d5ecd(0x255)](_0x3d5ecd(0x23b));for(const _0x5167f4 of _0x143f9d[_0x3d5ecd(0x1f6)]({'channelId':_0x55ab4a}))_0x143f9d[_0x3d5ecd(0x20f)](_0x5167f4['id']),_0x143f9d[_0x3d5ecd(0x230)][_0x3d5ecd(0x244)](_0x5167f4['id']);super[_0x3d5ecd(0x216)]();}[_0x2f1c4b(0x1fd)](_0x33d117){const _0x57f5ec=_0x2f1c4b;return this[_0x57f5ec(0x23c)](_0x33d117)[_0x57f5ec(0x218)]>0x0;}[_0x2f1c4b(0x23c)](_0x746828){const _0x490ea8=_0x2f1c4b,_0x424f81=[];for(const _0x20b17e of this[_0x490ea8(0x242)][_0x490ea8(0x220)][_0x490ea8(0x1f2)])_0x20b17e[_0x490ea8(0x21e)][_0x490ea8(0x252)](_0x490ea8(0x27d)+_0x746828)&&_0x424f81[_0x490ea8(0x24f)](_0x20b17e);return _0x424f81;}[_0x2f1c4b(0x240)](_0x542d96){const _0x38e919=_0x2f1c4b,_0x265ad6=this[_0x38e919(0x26a)](_0x542d96);_0x265ad6&&setTimeout(()=>{const _0x3fcbff=_0x38e919;this[_0x3fcbff(0x204)]&&it(this[_0x3fcbff(0x204)])['id']===_0x542d96&&_0x1f0e0c({'target':_0x265ad6[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2f1c4b(0x217)](_0x1eaf06){const _0x13aaf7=_0x2f1c4b;this[_0x13aaf7(0x242)][_0x13aaf7(0x220)][_0x13aaf7(0x263)](()=>{const _0x5c418b=_0x13aaf7;for(const _0x410287 of this[_0x5c418b(0x23c)](_0x1eaf06))this[_0x5c418b(0x242)][_0x5c418b(0x214)][_0x5c418b(0x20c)](_0x410287);});}[_0x2f1c4b(0x264)](_0x5b0f2c){const _0x5b353e=_0x2f1c4b,_0xa006d4=this[_0x5b353e(0x242)][_0x5b353e(0x221)][_0x5b353e(0x255)](_0xbf6719),_0x3e4da7=this[_0x5b353e(0x242)][_0x5b353e(0x221)][_0x5b353e(0x255)](_0x262939),_0x526db0=_0xa006d4[_0x5b353e(0x22c)](_0x5b0f2c);if(!_0x526db0[_0x5b353e(0x27f)]){const _0xa763f3=_0x526db0[_0x5b353e(0x1fa)](()=>this[_0x5b353e(0x26a)](_0x526db0['id']));_0x3e4da7[_0x5b353e(0x1f8)](_0xa763f3),_0x526db0[_0x5b353e(0x213)]=!0x1;}}[_0x2f1c4b(0x237)](){const _0x77b359=_0x2f1c4b,_0x1d1307=this[_0x77b359(0x242)];_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x22b))[_0x77b359(0x224)]({'model':_0x77b359(0x275),'view':(_0x413ac2,_0x1d80ca)=>{const _0x4e9d4e=_0x77b359,{id:_0x148633}=it(_0x413ac2[_0x4e9d4e(0x243)]),_0xe1cf8b=_0x1d1307[_0x4e9d4e(0x221)][_0x4e9d4e(0x255)](_0xbf6719)[_0x4e9d4e(0x22c)](_0x148633),_0x10c2f4=this[_0x4e9d4e(0x204)]&&it(this[_0x4e9d4e(0x204)])['id']===_0x148633;if(_0xe1cf8b&&_0xe1cf8b[_0x4e9d4e(0x266)]&&!_0x10c2f4&&_0x413ac2[_0x4e9d4e(0x261)])return _0x1d80ca[_0x4e9d4e(0x257)][_0x4e9d4e(0x276)](_0x413ac2[_0x4e9d4e(0x261)],_0x4e9d4e(0x215)+_0x413ac2[_0x4e9d4e(0x243)]),_0x1d80ca[_0x4e9d4e(0x257)][_0x4e9d4e(0x276)](_0x413ac2[_0x4e9d4e(0x261)],_0x4e9d4e(0x1fc)+_0x413ac2[_0x4e9d4e(0x243)]),null;const _0xc9d863=[_0x4e9d4e(0x211)];return _0x10c2f4&&_0xc9d863[_0x4e9d4e(0x24f)](_0x4e9d4e(0x258)),{'classes':_0xc9d863,'attributes':{'data-comment':_0x148633}};}}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x20a))[_0x77b359(0x222)]({'model':_0x77b359(0x275),'view':(_0x32af53,{options:_0x325bf9})=>{const _0x145437=_0x77b359,_0x3bc773=_0x1d1307[_0x145437(0x221)][_0x145437(0x255)](_0xbf6719),_0x5700bf=_0x1d1307[_0x145437(0x220)][_0x145437(0x1f2)][_0x145437(0x255)](_0x32af53),{id:_0x3ae4be,part:_0x30396b}=it(_0x32af53);if(_0x5700bf&&!_0x5700bf[_0x145437(0x1f5)])return null;if(_0x325bf9[_0x145437(0x245)]){const _0x3b49b3=_0x3bc773[_0x145437(0x22c)](_0x3ae4be);if(_0x3b49b3&&_0x3b49b3[_0x145437(0x266)])return null;}return{'group':_0x145437(0x275),'name':_0x30396b?_0x3ae4be+':'+_0x30396b:_0x3ae4be};}}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x1f1))[_0x77b359(0x278)]({'view':{'name':_0x77b359(0x275),'attributes':{'id':/^\w/}},'model':(_0x4789ad,{writer:_0xf2ecb6})=>_0xf2ecb6[_0x77b359(0x24b)](_0x77b359(0x272),{'data-name':_0x77b359(0x27d)+_0x4789ad[_0x77b359(0x270)]('id')})}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x1f1))[_0x77b359(0x231)]({'view':_0x77b359(0x275)});}[_0x2f1c4b(0x207)](){const _0x18af0e=_0x2f1c4b,_0x3e3ccb=this[_0x18af0e(0x242)],_0x19f213=_0x3e3ccb[_0x18af0e(0x221)][_0x18af0e(0x255)](_0xbf6719),_0x4ce4ba=new Set(),_0x59e594=new Set();_0x3e3ccb[_0x18af0e(0x220)][_0x18af0e(0x269)][_0x18af0e(0x212)](_0x1eb6f9=>{const _0x4e223a=_0x18af0e;let _0x4b5bf3=!0x1;for(const {name:_0x1dc910,data:_0x95d40b}of _0x3e3ccb[_0x4e223a(0x220)][_0x4e223a(0x269)][_0x4e223a(0x209)][_0x4e223a(0x246)]()){const {group:_0x1a8a4c,id:_0x3ce28e}=it(_0x1dc910);let _0x1e6615=_0x95d40b[_0x4e223a(0x21c)];if(_0x4e223a(0x275)!==_0x1a8a4c||!_0x1e6615)continue;const _0x1cef27=_0x4e223a(0x1f7)===_0x1e6615[_0x4e223a(0x267)][_0x4e223a(0x271)];_0x1cef27||(_0x1e6615=st(_0x1e6615,_0x3e3ccb[_0x4e223a(0x220)]),!_0x1e6615||_0x1e6615[_0x4e223a(0x21d)]||!_0x95d40b[_0x4e223a(0x21c)]||_0x1e6615[_0x4e223a(0x234)](_0x95d40b[_0x4e223a(0x21c)]))?_0x3e3ccb[_0x4e223a(0x220)][_0x4e223a(0x210)](_0x1e6615)&&!_0x1cef27?this[_0x4e223a(0x27a)]?_0x4ce4ba[_0x4e223a(0x21f)](_0x1dc910):this[_0x4e223a(0x256)](_0x1dc910,_0x3ce28e):(_0x59e594[_0x4e223a(0x21f)](_0x1dc910),_0x4ce4ba[_0x4e223a(0x244)](_0x1dc910),_0x1eb6f9[_0x4e223a(0x25e)](_0x1dc910),_0x4b5bf3=!0x0):(_0x1eb6f9[_0x4e223a(0x235)](_0x1dc910,{'range':_0x1e6615}),_0x4b5bf3=!0x0);}return _0x4b5bf3;}),this['on'](_0x18af0e(0x27b),(_0x267dd7,_0x5ca1f5,_0x76ed69)=>{const _0x160fac=_0x18af0e;if(!_0x76ed69&&_0x4ce4ba[_0x160fac(0x1ed)])for(const _0x19cf70 of _0x4ce4ba){const {id:_0x93366}=it(_0x19cf70);_0x4ce4ba[_0x160fac(0x244)](_0x19cf70),_0x3e3ccb[_0x160fac(0x220)][_0x160fac(0x1f2)][_0x160fac(0x255)](_0x19cf70)&&this[_0x160fac(0x256)](_0x19cf70,_0x93366);}}),this[_0x18af0e(0x232)](_0x3e3ccb[_0x18af0e(0x220)][_0x18af0e(0x269)],_0x18af0e(0x263),(_0x591245,_0xf2756a)=>{const _0x50d0ff=_0x18af0e;for(const {name:_0x339640,data:{newRange:_0x370bd4}}of _0x3e3ccb[_0x50d0ff(0x220)][_0x50d0ff(0x269)][_0x50d0ff(0x209)][_0x50d0ff(0x246)]()){const {group:_0x4c68f6,id:_0x2b5bda}=it(_0x339640);if(_0x50d0ff(0x275)!==_0x4c68f6)continue;const _0x1079be=_0x19f213[_0x50d0ff(0x22c)](_0x2b5bda),_0x8fe2bc=this[_0x50d0ff(0x1fd)](_0x2b5bda);_0x1079be&&(_0x1079be[_0x50d0ff(0x213)]||_0x3e3ccb[_0x50d0ff(0x214)][_0x50d0ff(0x219)][_0x50d0ff(0x1fb)](_0x50d0ff(0x1ff),()=>{const _0x3102b4=_0x50d0ff,_0x537021=_0x3e3ccb[_0x3102b4(0x221)][_0x3102b4(0x255)](_0x37b19e),_0x42a773=_0x19f213[_0x3102b4(0x25f)][_0x3102b4(0x255)](_0x1079be)[_0x3102b4(0x219)];_0x537021[_0x3102b4(0x25d)](_0x42a773)[_0x3102b4(0x20b)]();},{'priority':_0x50d0ff(0x21a)}),_0x1079be[_0x50d0ff(0x213)]=_0x8fe2bc||!!_0x370bd4),_0x370bd4||(_0x59e594[_0x50d0ff(0x21f)](_0x339640),_0x4ce4ba[_0x50d0ff(0x244)](_0x339640));}if(_0xf2756a[_0x50d0ff(0x274)])for(const _0x363812 of _0x59e594){const {id:_0x1c3abd}=it(_0x363812),_0x3499ff=_0x19f213[_0x50d0ff(0x22c)](_0x1c3abd),_0x2bea61=this[_0x50d0ff(0x1fd)](_0x1c3abd);_0x4ce4ba[_0x50d0ff(0x244)](_0x363812),!_0x3499ff||_0x2bea61||_0x3499ff[_0x50d0ff(0x268)]||_0x3499ff[_0x50d0ff(0x1f0)](new Date());}_0x59e594[_0x50d0ff(0x25b)]();});}[_0x2f1c4b(0x26a)](_0x232a54){const _0x564bcc=_0x2f1c4b,_0x4a55b0=this[_0x564bcc(0x242)],_0x412330=this[_0x564bcc(0x23c)](_0x232a54);return _0x3ba595(_0x4a55b0[_0x564bcc(0x214)],_0x412330);}[_0x2f1c4b(0x23d)](_0x35d718){const _0x39515b=_0x2f1c4b,_0xc8c9e=this[_0x39515b(0x23c)](_0x35d718);let _0x223de0='',_0x51ce52=!0x1;for(const _0x5a8d33 of _0xc8c9e){const _0x365b66=_0x5a8d33[_0x39515b(0x262)]();for(const _0x1149f3 of Array[_0x39515b(0x223)](_0x365b66[_0x39515b(0x238)]()))_0x1149f3['is'](_0x39515b(0x26d))?(_0x223de0&&_0x51ce52&&(_0x223de0+='\x20',_0x51ce52=!0x1),_0x223de0+=_0x1149f3[_0x39515b(0x265)]):_0x51ce52=!0x0;_0x51ce52=!0x0;}return _0x223de0[_0x39515b(0x26c)](0x0,0x96);}[_0x2f1c4b(0x200)](_0x2281ef,_0x13fc5f){const _0x31a004=_0x2f1c4b,_0x47df76=this[_0x31a004(0x242)],_0x1ee112=_0x47df76[_0x31a004(0x221)][_0x31a004(0x255)](_0xbf6719);let _0x3e478f=_0x1ee112[_0x31a004(0x22c)](_0x13fc5f);const _0x58d4fb=_0x47df76[_0x31a004(0x259)][_0x31a004(0x255)](_0x31a004(0x23b)),_0x18f5f8=_0x47df76[_0x31a004(0x221)][_0x31a004(0x255)](_0x262939);if(_0x3e478f&&(_0x3e478f[_0x31a004(0x268)]&&_0x3e478f[_0x31a004(0x1f0)](null),_0x3e478f[_0x31a004(0x27f)]))return _0x3e478f;return!this[_0x31a004(0x23c)](_0x13fc5f)[0x0][_0x31a004(0x24e)]?_0x47df76[_0x31a004(0x214)][_0x31a004(0x219)][_0x31a004(0x1fb)](_0x31a004(0x1ff),()=>{const _0x5c95ef=_0x31a004;if(_0x1ee112[_0x5c95ef(0x22c)](_0x13fc5f))return;const _0x571f1f=_0x47df76[_0x5c95ef(0x221)][_0x5c95ef(0x255)](_0x37b19e);_0x3e478f=_0x1ee112[_0x5c95ef(0x236)]({'channelId':_0x58d4fb,'threadId':_0x13fc5f,'target':()=>this[_0x5c95ef(0x26a)](_0x13fc5f),'context':{'type':_0x5c95ef(0x24a),'value':this[_0x5c95ef(0x23d)](_0x13fc5f)}});const _0x352db3=_0x1ee112[_0x5c95ef(0x25f)][_0x5c95ef(0x255)](_0x3e478f)[_0x5c95ef(0x219)],_0x1296d2=_0x571f1f[_0x5c95ef(0x25d)](_0x352db3);_0x1296d2&&_0x18f5f8[_0x5c95ef(0x1f8)](_0x1296d2);},{'priority':_0x31a004(0x21a)}):_0x1ee112[_0x31a004(0x233)]({'channelId':_0x58d4fb,'threadId':_0x13fc5f})[_0x31a004(0x206)](_0x1f6e62=>{const _0x47a448=_0x31a004;if(_0x47a448(0x26f)!==_0x47df76[_0x47a448(0x202)]){if(_0x3e478f=_0x1f6e62,_0x3e478f&&!_0x3e478f[_0x47a448(0x27f)]){const _0x14afda=_0x3e478f[_0x47a448(0x1fa)](()=>this[_0x47a448(0x26a)](_0x13fc5f));_0x18f5f8[_0x47a448(0x1f8)](_0x14afda),_0x3e478f[_0x47a448(0x266)]&&this[_0x47a448(0x217)](_0x13fc5f);}else{if(!_0x3e478f){const _0x4cedf7=this[_0x47a448(0x23c)](_0x13fc5f);_0x47df76[_0x47a448(0x220)][_0x47a448(0x263)](_0x545a76=>{const _0x550ac0=_0x47a448;for(const _0xb665ae of _0x4cedf7)_0x545a76[_0x550ac0(0x25e)](_0xb665ae);});}}}}),_0x3e478f;}[_0x2f1c4b(0x256)](_0x370634,_0x454afe){const _0x5c90c2=_0x2f1c4b,_0x5f4c4b=this[_0x5c90c2(0x200)](_0x370634,_0x454afe);_0x5f4c4b&&!_0x5f4c4b[_0x5c90c2(0x27e)]&&_0x5f4c4b[_0x5c90c2(0x1f4)]({'type':_0x5c90c2(0x24a),'value':this[_0x5c90c2(0x23d)](_0x454afe)});}[_0x2f1c4b(0x281)](){const _0x291f50=_0x2f1c4b,_0x291964=this[_0x291f50(0x242)];_0x4e2a2a(_0x291964[_0x291f50(0x220)],({left:_0x13b610,entered:_0x1a30c5})=>{const _0x3913cd=_0x291f50;for(const _0x52211b of _0x13b610)if(at(_0x52211b)){_0x291964['ui'][_0x3913cd(0x23f)][_0x3913cd(0x241)](_0x40b1c0(_0x291964[_0x3913cd(0x23a)],_0x3913cd(0x239)));break;}for(const _0x5f0d08 of _0x1a30c5)if(at(_0x5f0d08)){_0x291964['ui'][_0x3913cd(0x23f)][_0x3913cd(0x241)](_0x40b1c0(_0x291964[_0x3913cd(0x23a)],_0x3913cd(0x227)));break;}});}}function nt(_0x1e38d8,_0x42ca15){return _0x42ca15?_0x1e38d8+':'+_0x42ca15:_0x1e38d8;}function it(_0x5aa5b3){const _0x32d068=_0x2f1c4b,_0x3931a6=_0x5aa5b3[_0x32d068(0x277)](':');return{'group':_0x3931a6[0x0],'id':_0x3931a6[0x1],'part':_0x3931a6[0x2]};}function st(_0x3ab9fa,_0x6c252e){const _0x538b5c=_0x2f1c4b,_0x26b61d=_0x6c252e[_0x538b5c(0x1f9)],_0xf5d2fc=_0x6c252e[_0x538b5c(0x248)](_0x3ab9fa[_0x538b5c(0x22f)]);for(const _0x5d5b74 of _0x3ab9fa[_0x538b5c(0x273)]()){const {type:_0x4aaf5c,item:_0x246c18,nextPosition:_0x98e9e4}=_0x5d5b74;if(_0x538b5c(0x24a)===_0x4aaf5c||_0x26b61d[_0x538b5c(0x251)](_0x246c18)){const _0x2320e0=_0x6c252e[_0x538b5c(0x22a)](_0x246c18);_0xf5d2fc[_0x538b5c(0x21d)]&&(_0xf5d2fc[_0x538b5c(0x22f)]=_0x2320e0),_0xf5d2fc[_0x538b5c(0x228)]=_0x98e9e4;}}return _0xf5d2fc;}function at(_0x3779f6){const _0x537228=_0x2f1c4b;return _0x537228(0x275)===it(_0x3779f6[_0x537228(0x21e)])[_0x537228(0x24d)];}
|