@ckeditor/ckeditor5-comments 41.3.0-alpha.4 → 41.3.1
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/package.json +3 -4
- 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.d.ts +2 -2
- 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
- package/theme/commentsarchive.css +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -902
- package/dist/index.css +0 -1874
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -23
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -23
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -23
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -23
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -23
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -23
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -23
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -23
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -23
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -23
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -23
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -23
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -23
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -23
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -23
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -23
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -23
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -23
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -23
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -23
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -23
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -23
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -23
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -23
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -23
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -23
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -23
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -23
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -23
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -23
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -23
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -23
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -23
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -23
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -23
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -23
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -23
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -23
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -23
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -23
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -23
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -23
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -23
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -23
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -23
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -23
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -23
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -23
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -23
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -23
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -23
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -23
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -23
- package/dist/types/annotations/annotation.d.ts +0 -94
- package/dist/types/annotations/annotationcollection.d.ts +0 -102
- package/dist/types/annotations/annotations.d.ts +0 -158
- package/dist/types/annotations/annotationsuis.d.ts +0 -236
- package/dist/types/annotations/editorannotations.d.ts +0 -71
- package/dist/types/annotations/inlineannotations.d.ts +0 -94
- package/dist/types/annotations/narrowsidebar.d.ts +0 -89
- package/dist/types/annotations/sidebar.d.ts +0 -104
- package/dist/types/annotations/view/annotationcounterbuttonview.d.ts +0 -33
- package/dist/types/annotations/view/annotationview.d.ts +0 -94
- package/dist/types/annotations/view/sidebaritemview.d.ts +0 -59
- package/dist/types/annotations/view/sidebarview.d.ts +0 -36
- package/dist/types/annotations/widesidebar.d.ts +0 -81
- package/dist/types/augmentation.d.ts +0 -56
- package/dist/types/comments/addcommentthreadcommand.d.ts +0 -39
- package/dist/types/comments/commentsarchive.d.ts +0 -35
- package/dist/types/comments/commentsarchiveui.d.ts +0 -42
- package/dist/types/comments/commentsediting.d.ts +0 -84
- package/dist/types/comments/commentsrepository.d.ts +0 -1134
- package/dist/types/comments/commentsui.d.ts +0 -37
- package/dist/types/comments/integrations/clipboard.d.ts +0 -30
- package/dist/types/comments/integrations/commentsrestrictededitingmode.d.ts +0 -21
- package/dist/types/comments/integrations/importword.d.ts +0 -25
- package/dist/types/comments/ui/commenteditor/commenteditor.d.ts +0 -40
- package/dist/types/comments/ui/commenteditor/commenteditorui.d.ts +0 -35
- package/dist/types/comments/ui/commenteditor/commenteditoruiview.d.ts +0 -40
- package/dist/types/comments/ui/commentthreadcontroller.d.ts +0 -68
- package/dist/types/comments/ui/view/basecommentthreadview.d.ts +0 -123
- package/dist/types/comments/ui/view/basecommentview.d.ts +0 -116
- package/dist/types/comments/ui/view/collapsedcommentsview.d.ts +0 -17
- package/dist/types/comments/ui/view/commentcontentview.d.ts +0 -18
- package/dist/types/comments/ui/view/commentinputview.d.ts +0 -90
- package/dist/types/comments/ui/view/commentsarchiveview.d.ts +0 -42
- package/dist/types/comments/ui/view/commentslistview.d.ts +0 -104
- package/dist/types/comments/ui/view/commentthreadheaderview.d.ts +0 -54
- package/dist/types/comments/ui/view/commentthreadinputview.d.ts +0 -45
- package/dist/types/comments/ui/view/commentthreadview.d.ts +0 -122
- package/dist/types/comments/ui/view/commentview.d.ts +0 -247
- package/dist/types/comments.d.ts +0 -39
- package/dist/types/commentsonly.d.ts +0 -37
- package/dist/types/config.d.ts +0 -202
- package/dist/types/index.d.ts +0 -28
- package/dist/types/utils/common-translations.d.ts +0 -13
- package/dist/types/utils/createmutationobserver.d.ts +0 -18
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2deb28=_0x5846;(function(_0x47b2ef,_0x23f616){const _0x358c2f=_0x5846,_0x594ed1=_0x47b2ef();while(!![]){try{const _0xb601b0=parseInt(_0x358c2f(0x70))/0x1+-parseInt(_0x358c2f(0x96))/0x2*(-parseInt(_0x358c2f(0x99))/0x3)+-parseInt(_0x358c2f(0x9f))/0x4+-parseInt(_0x358c2f(0x9e))/0x5*(parseInt(_0x358c2f(0x7f))/0x6)+-parseInt(_0x358c2f(0x6f))/0x7+parseInt(_0x358c2f(0x92))/0x8+parseInt(_0x358c2f(0x79))/0x9;if(_0xb601b0===_0x23f616)break;else _0x594ed1['push'](_0x594ed1['shift']());}catch(_0x11fb7a){_0x594ed1['push'](_0x594ed1['shift']());}}}(_0x5885,0x1f313));function _0x5885(){const _0x42b958=['reopenButtonView','...','hasContext','locale','label','bind','1065113zryMJF','118380CqzPOf','ck-context-wrapper','_attachContextActions','div','tooltip','lastIndexOf','context','contextValue','querySelector','2154483Ermujp','overlay','element','listenTo','_model','fire','108198jgtVMX','mouseenter','isVisible','Reopen','_trimContextValue','isResolvable','classList','isReadOnly','ck-thread__header','add','offsetWidth','Comment\x20was\x20made\x20on\x20an\x20element','ck-context--quotes','render','.ck-context','span','remove','ck-annotation__actions','.ck-context__value','643872fImpnN','reopenCommentThread','ck-context__value','scrollWidth','341414qMHcKR','value','_createReopenButton','3EiCKOz','icon','bindTemplate','length','isResolved','30AYGsNo','883352NBAxEG','isEnabled','setTemplate','substring','mouseleave','ck-context','execute'];_0x5885=function(){return _0x42b958;};return _0x5885();}import{View as _0x428fc9,ButtonView as _0x52c92f}from'ckeditor5/src/ui.js';import{getTranslation as _0x59b23c}from'../../../utils/common-translations.js';import _0x385415 from'../../../../theme/icons/undo.svg';export const MAX_CONTENT_LENGTH=0x96;function _0x5846(_0x70ba6e,_0x33bbec){const _0x588585=_0x5885();return _0x5846=function(_0x5846f4,_0xfc17f8){_0x5846f4=_0x5846f4-0x67;let _0xeaa584=_0x588585[_0x5846f4];return _0xeaa584;},_0x5846(_0x70ba6e,_0x33bbec);}export default class ti extends _0x428fc9{constructor(_0x36c5e9,_0x594ee0){const _0x4e7a5a=_0x5846;super(_0x36c5e9);const _0x8b9132=this[_0x4e7a5a(0x9b)];this[_0x4e7a5a(0x7d)]=_0x594ee0,this[_0x4e7a5a(0x69)]=this[_0x4e7a5a(0x98)](),this[_0x4e7a5a(0x6e)](_0x4e7a5a(0x6b))['to'](this[_0x4e7a5a(0x7d)],_0x4e7a5a(0x76),_0x1e2a80=>!!_0x1e2a80),this[_0x4e7a5a(0x6e)](_0x4e7a5a(0x77))['to'](this[_0x4e7a5a(0x7d)],_0x4e7a5a(0x76),_0x9c49d0=>_0x9c49d0&&_0x9c49d0[_0x4e7a5a(0x97)]?this[_0x4e7a5a(0x83)](_0x9c49d0[_0x4e7a5a(0x97)]):_0x59b23c(this[_0x4e7a5a(0x6c)],_0x4e7a5a(0x8a))),this[_0x4e7a5a(0xa1)]({'tag':_0x4e7a5a(0x73),'attributes':{'class':[_0x4e7a5a(0x87)]},'children':[{'tag':_0x4e7a5a(0x73),'attributes':{'class':[_0x4e7a5a(0x71)]},'children':[{'tag':_0x4e7a5a(0x73),'attributes':{'class':[_0x4e7a5a(0x67),_0x8b9132['if'](_0x4e7a5a(0x6b),_0x4e7a5a(0x8b))]},'children':[{'tag':_0x4e7a5a(0x8e),'attributes':{'class':[_0x4e7a5a(0x94)]},'children':[{'text':_0x8b9132['to'](_0x4e7a5a(0x77))}]}]}]},{'tag':_0x4e7a5a(0x73),'attributes':{'class':[_0x4e7a5a(0x90)]},'children':[this[_0x4e7a5a(0x69)]]}]});}[_0x2deb28(0x8c)](){const _0x2bc9c9=_0x2deb28;super[_0x2bc9c9(0x8c)](),this[_0x2bc9c9(0x72)]();}[_0x2deb28(0x98)](){const _0x5e2cd5=_0x2deb28,_0x1fa9a8=new _0x52c92f(this[_0x5e2cd5(0x6c)]);return _0x1fa9a8[_0x5e2cd5(0x6d)]=_0x59b23c(this[_0x5e2cd5(0x6c)],_0x5e2cd5(0x82)),_0x1fa9a8[_0x5e2cd5(0x74)]=_0x59b23c(this[_0x5e2cd5(0x6c)],_0x5e2cd5(0x82)),_0x1fa9a8[_0x5e2cd5(0x9a)]=_0x385415,_0x1fa9a8[_0x5e2cd5(0x6e)](_0x5e2cd5(0xa0))['to'](this[_0x5e2cd5(0x7d)],_0x5e2cd5(0x86),_0x571d03=>!_0x571d03),_0x1fa9a8[_0x5e2cd5(0x6e)](_0x5e2cd5(0x81))['to'](this[_0x5e2cd5(0x7d)],_0x5e2cd5(0x84),this[_0x5e2cd5(0x7d)],_0x5e2cd5(0x9d),(_0x2c0ab2,_0x1e6dd5)=>_0x2c0ab2&&_0x1e6dd5),_0x1fa9a8['on'](_0x5e2cd5(0x68),()=>{const _0x58ecea=_0x5e2cd5;this[_0x58ecea(0x7e)](_0x58ecea(0x93),this[_0x58ecea(0x7d)]['id']);}),_0x1fa9a8;}[_0x2deb28(0x83)](_0x52b01e){const _0x38b041=_0x2deb28;if(_0x52b01e[_0x38b041(0x9c)]<0x96)return _0x52b01e;const _0x5bf8ed=_0x52b01e[_0x38b041(0x75)]('\x20',0x93);return _0x52b01e[_0x38b041(0xa2)](0x0,_0x5bf8ed>-0x1?_0x5bf8ed:0x93)+_0x38b041(0x6a);}[_0x2deb28(0x72)](){const _0x5bad2b=_0x2deb28,_0x2604e1=this[_0x5bad2b(0x7b)][_0x5bad2b(0x78)](_0x5bad2b(0x8d)),_0x271398=_0x2604e1[_0x5bad2b(0x78)](_0x5bad2b(0x91));this[_0x5bad2b(0x7c)](_0x2604e1,_0x5bad2b(0x80),()=>{const _0x35ae59=_0x5bad2b;_0x271398[_0x35ae59(0x89)]<_0x271398[_0x35ae59(0x95)]&&_0x2604e1[_0x35ae59(0x85)][_0x35ae59(0x88)](_0x35ae59(0x7a));}),this[_0x5bad2b(0x7c)](_0x2604e1,_0x5bad2b(0xa3),()=>{const _0x2a2906=_0x5bad2b;_0x2604e1[_0x2a2906(0x85)][_0x2a2906(0x8f)](_0x2a2906(0x7a));});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2558b7=_0x4168;(function(_0x1b7855,_0x3ae9a4){var _0x1374b1=_0x4168,_0x7ced5=_0x1b7855();while(!![]){try{var _0x2bebee=-parseInt(_0x1374b1(0x87))/0x1+-parseInt(_0x1374b1(0x81))/0x2+-parseInt(_0x1374b1(0x98))/0x3+-parseInt(_0x1374b1(0x91))/0x4+-parseInt(_0x1374b1(0x9b))/0x5*(parseInt(_0x1374b1(0x97))/0x6)+parseInt(_0x1374b1(0x7c))/0x7+parseInt(_0x1374b1(0x7b))/0x8;if(_0x2bebee===_0x3ae9a4)break;else _0x7ced5['push'](_0x7ced5['shift']());}catch(_0x45ccb2){_0x7ced5['push'](_0x7ced5['shift']());}}}(_0x3fe9,0xd0b7f));import{View as _0x2861bc}from'ckeditor5/src/ui.js';import _0x368236 from'./commentinputview.js';import{UserView as _0x455cca}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4168(_0x28467c,_0x5a4dfc){var _0x3fe9f0=_0x3fe9();return _0x4168=function(_0x416884,_0x39140f){_0x416884=_0x416884-0x7b;var _0x198668=_0x3fe9f0[_0x416884];return _0x198668;},_0x4168(_0x28467c,_0x5a4dfc);}function _0x3fe9(){var _0x64a2e2=['then','change:showInput','ck-comment__input-container--active','setTemplate','ck-thread__input','ck-thread__user','ck-comment__input-container','4771388hyjsdg','showInput','value','set','div','editorReady','280506eZIwTU','2759238jcigOT','isFocused','showButtons','160abWlcp','45704008ORCRTv','848001ZjMnnJ','bind','userView','editorDestroyed','editor','1778788qVernW','destroy','bindTemplate','delegate','createEditor','commentInputView','481214xsvgAG','extendTemplate','focusTracker'];_0x3fe9=function(){return _0x64a2e2;};return _0x3fe9();}export default class Tt extends _0x2861bc{constructor(_0x19b300,_0x8f1a23,_0x5cd193){var _0xf91c2f=_0x4168;super(_0x19b300),this[_0xf91c2f(0x86)]=new _0x368236(_0x19b300,_0x5cd193),this[_0xf91c2f(0x86)][_0xf91c2f(0x7d)](_0xf91c2f(0x9a))['to'](this[_0xf91c2f(0x86)][_0xf91c2f(0x89)],_0xf91c2f(0x99),this[_0xf91c2f(0x86)],_0xf91c2f(0x93),(_0x455560,_0x7d9c5f)=>_0x455560||!!_0x7d9c5f),this[_0xf91c2f(0x94)](_0xf91c2f(0x92),!0x1),this['on'](_0xf91c2f(0x8b),()=>{var _0x54ebda=_0xf91c2f;this[_0x54ebda(0x92)]&&!this[_0x54ebda(0x86)][_0x54ebda(0x80)]&&this[_0x54ebda(0x86)][_0x54ebda(0x85)]();}),this[_0xf91c2f(0x86)][_0xf91c2f(0x84)](_0xf91c2f(0x96))['to'](this),this[_0xf91c2f(0x86)][_0xf91c2f(0x84)](_0xf91c2f(0x7f))['to'](this),this[_0xf91c2f(0x7e)]=new _0x455cca(_0x19b300,_0x8f1a23),this[_0xf91c2f(0x7e)][_0xf91c2f(0x88)]({'attributes':{'class':_0xf91c2f(0x8f)}}),this[_0xf91c2f(0x86)][_0xf91c2f(0x88)]({'attributes':{'class':_0xf91c2f(0x8e)}}),this[_0xf91c2f(0x8d)]({'tag':_0xf91c2f(0x95),'attributes':{'class':[_0xf91c2f(0x90),this[_0xf91c2f(0x83)]['if'](_0xf91c2f(0x92),_0xf91c2f(0x8c))]},'children':[this[_0xf91c2f(0x7e)],this[_0xf91c2f(0x86)]]});}[_0x2558b7(0x82)](){var _0xb2c09b=_0x2558b7;return this[_0xb2c09b(0x86)][_0xb2c09b(0x82)]()[_0xb2c09b(0x8a)](()=>super[_0xb2c09b(0x82)]());}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2002(_0x1b0e0d,_0x3e5499){const _0x448098=_0x4480();return _0x2002=function(_0x2002d5,_0x2d8b81){_0x2002d5=_0x2002d5-0x1aa;let _0x3e5df3=_0x448098[_0x2002d5];return _0x3e5df3;},_0x2002(_0x1b0e0d,_0x3e5499);}function _0x4480(){const _0x497ae5=['tooltip','ck-reset_all-excluded','1219718eVNoyt','commentThreadHeaderView','removeCommentThread','ck-thread__container','9hWfSwZ','isVisible','check','Delete\x20comment\x20thread?','isUnlinked','getTemplate','label','createCollection','stop','remove','change:isReadOnly','commentThreadInputView','archivedAt','then','bindTemplate','get','unbind','set','5lhvdFE','isConfirm','_createResolveButton','1679018HbAvnv','setTemplate','cancelConfirm','935984SstKFJ','bind','has','change:archivedAt','14860512DyNFwB','ck-thread--','showConfirm','.ck-thread__container','resolveCommentThread','3976374MTazPB','Write\x20a\x20comment...','ck-thread--remove-confirmation','addMany','_bindFirstCommentView','_boundFirstCommentView','_cancelAllConfirms','icon','containerElement','div','removeButton','7405746SDUpiq','Resolve','placeholder','isResolvable','ck-comment--resolve','_model','add','resolveButton','isActive','length','locale','extendTemplate','ck-thread--unlinked','isEnabled','querySelector','execute','isSystemComment','change:isActive','commentViews','render','isResolved','ck-thread--active','actionIndicator','element','isReadOnly','high','actionBar','commentThreadChildren','ck-thread','fire','commentsListView','listenTo','866456yVTTzG'];_0x4480=function(){return _0x497ae5;};return _0x4480();}const _0xad7a4b=_0x2002;(function(_0x2d6381,_0x207218){const _0x44dcec=_0x2002,_0x3e105c=_0x2d6381();while(!![]){try{const _0x28d6d6=-parseInt(_0x44dcec(0x1af))/0x1+parseInt(_0x44dcec(0x1c8))/0x2+parseInt(_0x44dcec(0x1d4))/0x3+parseInt(_0x44dcec(0x1ac))/0x4+parseInt(_0x44dcec(0x1c5))/0x5*(parseInt(_0x44dcec(0x1df))/0x6)+parseInt(_0x44dcec(0x1cb))/0x7+-parseInt(_0x44dcec(0x1cf))/0x8*(parseInt(_0x44dcec(0x1b3))/0x9);if(_0x28d6d6===_0x207218)break;else _0x3e105c['push'](_0x3e105c['shift']());}catch(_0x4fd037){_0x3e105c['push'](_0x3e105c['shift']());}}}(_0x4480,0xa422e));import{ConfirmMixin as _0xe687c1}from'ckeditor5-collaboration/src/collaboration-core.js';import{ButtonView as _0x3ce430}from'ckeditor5/src/ui.js';import{icons as _0x1542ef}from'ckeditor5/src/core.js';import _0x545676 from'./basecommentthreadview.js';import{getTranslation as _0x1d0118}from'../../../utils/common-translations.js';export default class yt extends _0xe687c1(_0x545676){constructor(_0x3c266f,_0x3e4b0b,_0x25600a,_0x1d2f29){const _0xab800b=_0x2002;super(_0x3c266f,_0x3e4b0b,_0x25600a,_0x1d2f29),this[_0xab800b(0x1fa)]=this[_0xab800b(0x1ba)](),this[_0xab800b(0x1fa)][_0xab800b(0x1d7)]([this[_0xab800b(0x1aa)],this[_0xab800b(0x1be)]]),this[_0xab800b(0x1e4)][_0xab800b(0x1bf)]&&this[_0xab800b(0x1fa)][_0xab800b(0x1e5)](this[_0xab800b(0x1b0)],0x0),this[_0xab800b(0x1e4)]['on'](_0xab800b(0x1ce),(_0x235f27,_0x261566,_0x1b89bd)=>{const _0x139efb=_0xab800b;_0x1b89bd?this[_0x139efb(0x1fa)][_0x139efb(0x1cd)](this[_0x139efb(0x1b0)])||this[_0x139efb(0x1fa)][_0x139efb(0x1e5)](this[_0x139efb(0x1b0)],0x0):this[_0x139efb(0x1fa)][_0x139efb(0x1bc)](this[_0x139efb(0x1b0)]);}),this[_0xab800b(0x1c4)](_0xab800b(0x1f5),null),this[_0xab800b(0x1dc)]=null,this[_0xab800b(0x1d9)]=null,this[_0xab800b(0x1e9)]=_0x3c266f,this[_0xab800b(0x1e6)]=this[_0xab800b(0x1c7)](),this[_0xab800b(0x1c9)](this[_0xab800b(0x1b8)]()),this['on'](_0xab800b(0x1f0),(_0x1797e7,_0x2b8ca8,_0x2b1cd8)=>{const _0x3f3122=_0xab800b;_0x2b1cd8||this[_0x3f3122(0x1da)]();}),this[_0xab800b(0x1ab)](this[_0xab800b(0x1e4)],_0xab800b(0x1bd),(_0x3de902,_0x31028e,_0x5b4bd7)=>{const _0x546a0d=_0xab800b;_0x5b4bd7&&this[_0x546a0d(0x1da)]();}),this[_0xab800b(0x1e8)]>0x0&&this[_0xab800b(0x1d8)](),this[_0xab800b(0x1ab)](this[_0xab800b(0x1aa)][_0xab800b(0x1f1)],_0xab800b(0x1e5),()=>{const _0x5ad2be=_0xab800b;this[_0x5ad2be(0x1d8)]();});}[_0xad7a4b(0x1b8)](){const _0x46b499=_0xad7a4b,_0x139902=this[_0x46b499(0x1c1)];return{'tag':_0x46b499(0x1dd),'attributes':{'class':[_0x46b499(0x1fb),_0x46b499(0x1ae),_0x139902['if'](_0x46b499(0x1e7),_0x46b499(0x1f4)),_0x139902['if'](_0x46b499(0x1b7),_0x46b499(0x1eb)),_0x139902['if'](_0x46b499(0x1c6),_0x46b499(0x1d6)),_0x139902['to'](_0x46b499(0x1f5),_0xbce1e3=>_0xbce1e3?_0x46b499(0x1d0)+_0xbce1e3:'')],'data-thread-id':this[_0x46b499(0x1e4)]['id'],'tabindex':-0x1},'children':[{'tag':_0x46b499(0x1dd),'attributes':{'class':_0x46b499(0x1b2)},'children':this[_0x46b499(0x1fa)]}]};}[_0xad7a4b(0x1f2)](){const _0x330176=_0xad7a4b;super[_0x330176(0x1f2)](),this[_0x330176(0x1dc)]=this[_0x330176(0x1f6)][_0x330176(0x1ed)](_0x330176(0x1d2));}[_0xad7a4b(0x1da)](){const _0x3cf4bc=_0xad7a4b;this[_0x3cf4bc(0x1ca)]();for(const _0x111763 of this[_0x3cf4bc(0x1aa)][_0x3cf4bc(0x1f1)])_0x111763[_0x3cf4bc(0x1ca)]();}[_0xad7a4b(0x1d8)](){const _0x3b251a=_0xad7a4b,{locale:_0xaa6908}=this,_0x249169=this[_0x3b251a(0x1aa)][_0x3b251a(0x1f1)][_0x3b251a(0x1c2)](0x0);_0x249169===this[_0x3b251a(0x1d9)]||_0x249169[_0x3b251a(0x1ef)]||(this[_0x3b251a(0x1d9)]=_0x249169,this[_0x3b251a(0x1c3)](_0x3b251a(0x1f5)),this[_0x3b251a(0x1cc)](_0x3b251a(0x1f5))['to'](_0x249169,_0x3b251a(0x1f5),_0x185020=>_0x3b251a(0x1bc)===_0x185020?_0x3b251a(0x1bc):null),_0x249169[_0x3b251a(0x1e1)]=_0x1d0118(_0xaa6908,_0x3b251a(0x1d5)),_0x249169[_0x3b251a(0x1de)]['on'](_0x3b251a(0x1ee),_0x135ba2=>{const _0x7b42b1=_0x3b251a;_0x135ba2[_0x7b42b1(0x1bb)](),this[_0x7b42b1(0x1d1)](_0x1d0118(_0xaa6908,_0x7b42b1(0x1b6)),this[_0x7b42b1(0x1dc)])[_0x7b42b1(0x1c0)](()=>{const _0x44eaf5=_0x7b42b1;this[_0x44eaf5(0x1fc)](_0x44eaf5(0x1b1));});},{'priority':_0x3b251a(0x1f8)}),_0x249169[_0x3b251a(0x1f9)][_0x3b251a(0x1e5)](this[_0x3b251a(0x1e6)],0x0));}[_0xad7a4b(0x1c7)](){const _0x3027e2=_0xad7a4b,_0x801f90=new _0x3ce430(this[_0x3027e2(0x1e9)]);return _0x801f90[_0x3027e2(0x1b9)]=_0x1d0118(this[_0x3027e2(0x1e9)],_0x3027e2(0x1e0)),_0x801f90[_0x3027e2(0x1ad)]=_0x1d0118(this[_0x3027e2(0x1e9)],_0x3027e2(0x1e0)),_0x801f90[_0x3027e2(0x1db)]=_0x1542ef[_0x3027e2(0x1b5)],_0x801f90[_0x3027e2(0x1ea)]({'attributes':{'class':_0x3027e2(0x1e3)}}),_0x801f90[_0x3027e2(0x1cc)](_0x3027e2(0x1ec))['to'](this[_0x3027e2(0x1e4)],_0x3027e2(0x1f7),_0x226bdc=>!_0x226bdc),_0x801f90[_0x3027e2(0x1cc)](_0x3027e2(0x1b4))['to'](this[_0x3027e2(0x1e4)],_0x3027e2(0x1e2),this[_0x3027e2(0x1e4)],_0x3027e2(0x1f3),(_0x5b9672,_0x198110)=>_0x5b9672&&!_0x198110),_0x801f90['on'](_0x3027e2(0x1ee),()=>{const _0x554b95=_0x3027e2;this[_0x554b95(0x1fc)](_0x554b95(0x1d3),this[_0x554b95(0x1e4)]['id']);}),_0x801f90;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdd37e8=_0x58c6;(function(_0x144c3f,_0x2e9f34){const _0x199ad5=_0x58c6,_0x4a057c=_0x144c3f();while(!![]){try{const _0x4edcc6=-parseInt(_0x199ad5(0x198))/0x1+-parseInt(_0x199ad5(0x1c6))/0x2*(-parseInt(_0x199ad5(0x1d9))/0x3)+-parseInt(_0x199ad5(0x1f7))/0x4*(-parseInt(_0x199ad5(0x1e4))/0x5)+parseInt(_0x199ad5(0x1a0))/0x6*(-parseInt(_0x199ad5(0x1f0))/0x7)+-parseInt(_0x199ad5(0x1fa))/0x8*(parseInt(_0x199ad5(0x1ed))/0x9)+parseInt(_0x199ad5(0x1c4))/0xa+parseInt(_0x199ad5(0x193))/0xb;if(_0x4edcc6===_0x2e9f34)break;else _0x4a057c['push'](_0x4a057c['shift']());}catch(_0x19b47f){_0x4a057c['push'](_0x4a057c['shift']());}}}(_0x7cd9,0x70037));import{ButtonView as _0x55a568,createDropdown as _0x150593,ListView as _0x672c6b,ListItemView as _0x571331}from'ckeditor5/src/ui.js';function _0x58c6(_0x224a59,_0x2a5cb0){const _0x7cd966=_0x7cd9();return _0x58c6=function(_0x58c6b5,_0x5eb54e){_0x58c6b5=_0x58c6b5-0x18f;let _0x265ac1=_0x7cd966[_0x58c6b5];return _0x265ac1;},_0x58c6(_0x224a59,_0x2a5cb0);}import{icons as _0x39f209}from'ckeditor5/src/core.js';import{UserView as _0xfe0399,ConfirmMixin as _0x50023c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x38de30 from'./basecommentview.js';import _0x5c27e3 from'../../../../theme/icons/remove-comment.svg';function _0x7cd9(){const _0x5ec155=['_config','change:isVisible','ck-annotation','5039056EHiNtb','label','some','locale','div','563068moPAdj','Remove','focus','items','mouseenter','add','ck-comment__main','ck-comment--info','18bOlGqW','pencil','visibleView','EXTERNAL_AVATAR','ck-annotation__content-wrapper','bindTemplate','cancelConfirm','actionIndicator','dropdown','@external','actionBar','ck-comment__info-time','_createEditButton','isVisible','ck-annotation__user','userView','ck-comment','set','Show\x20more\x20items','bind','push','element','ck-comment__actions','ck-annotation__info-time','render','execute','ck-annotation__actions--hidden','_attachActions','isEditable','ck-annotation__info','change:isEnabled','change:isRemovable','length','panelPosition','importWord','listenTo','3402760tdwdTK','ck-annotation__main','2txXhxF','ck-comment--','resolvedAt','Delete\x20comment?','isEnabled','formatDateTime','Edit','placeholder','EXTERNAL_IMPORT_WORD_COMMENT','ck-comment__actions--hidden','isSystemComment','ck-comment__info-name','getTemplate','removeComment','Reply...','ck-annotation__actions','authoredAt','buttonView','threeVerticalDots','1822551pwYcVg','EXTERNAL_COMMENT','ck-comment__external','isConfirm','withText','extendTemplate','children','ck-comment--remove','_model','ck-annotation__info-name','source','10rTJaHt','isExternal','getExternalCommentNote','ck-comment--edit','name','time','mouseleave','ck-comment__wrapper','isRemovable','873CImosf','_createRemoveButton','attributes','1088409eFwOfG','getUserViewNotificationText','fire','then','setTemplate','ck-comment__user','removeButton','1415612hZwtgY','creator','_createCommentInputView','51576zaPmqP','showConfirm','panelView','ck-comment__info','edit','span','isEditMode','createCollection','addMany','EXTERNAL_IMPORT_WORD_AVATAR','blur','editButton','isReadOnly','_createDropdown','remove','switchToEditMode','icon','author','ck-comment--remove-confirmation'];_0x7cd9=function(){return _0x5ec155;};return _0x7cd9();}import{getTranslation as _0x3fd4e1}from'../../../utils/common-translations.js';export default class wt extends _0x50023c(_0x38de30){constructor(_0x59f62d,_0x3e6abc,_0x2388ca){const _0xbc92f8=_0x58c6;super(_0x59f62d,_0x3e6abc,_0x2388ca),this[_0xbc92f8(0x1b1)](_0xbc92f8(0x1a7),null),this[_0xbc92f8(0x1b1)](_0xbc92f8(0x1cd),_0x3fd4e1(_0x59f62d,_0xbc92f8(0x1d4))),this[_0xbc92f8(0x1b3)](_0xbc92f8(0x1d6))['to'](_0x3e6abc),this[_0xbc92f8(0x1b3)](_0xbc92f8(0x1c8))['to'](_0x3e6abc),this[_0xbc92f8(0x1aa)]=this[_0xbc92f8(0x201)](),this[_0xbc92f8(0x1d0)]||(this[_0xbc92f8(0x205)]=this[_0xbc92f8(0x1ac)](),this[_0xbc92f8(0x1f6)]=this[_0xbc92f8(0x1ee)](),this[_0xbc92f8(0x19b)]=this[_0xbc92f8(0x201)](),this[_0xbc92f8(0x19b)][_0xbc92f8(0x202)]([this[_0xbc92f8(0x205)],this[_0xbc92f8(0x1f6)]]),this[_0xbc92f8(0x1a8)]=this[_0xbc92f8(0x207)](),this[_0xbc92f8(0x1aa)][_0xbc92f8(0x19d)](this[_0xbc92f8(0x1a8)])),this[_0xbc92f8(0x1af)]=new _0xfe0399(_0x59f62d,_0x3e6abc[_0xbc92f8(0x20b)],this[_0xbc92f8(0x1f1)]()),this[_0xbc92f8(0x1af)][_0xbc92f8(0x1de)]({'attributes':{'class':[_0xbc92f8(0x1f5),_0xbc92f8(0x1ae)]}}),this[_0xbc92f8(0x1c3)](_0x3e6abc,_0xbc92f8(0x1bf),()=>this[_0xbc92f8(0x1a6)]()),this[_0xbc92f8(0x1f4)](this[_0xbc92f8(0x1d2)]());}[_0xdd37e8(0x1d2)](){const _0x4dbd3d=_0xdd37e8,_0x32e609=this[_0x4dbd3d(0x1a5)],_0x189dc3=[{'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x1fd),_0x4dbd3d(0x1bd)]},'children':[{'tag':_0x4dbd3d(0x1ff),'children':[{'text':this[_0x4dbd3d(0x1af)][_0x4dbd3d(0x1e8)]}],'attributes':{'class':[_0x4dbd3d(0x1d1),_0x4dbd3d(0x1e2)]}},{'tag':_0x4dbd3d(0x1e9),'attributes':{'datetime':_0x32e609['to'](_0x4dbd3d(0x1d6)),'class':[_0x4dbd3d(0x1ab),_0x4dbd3d(0x1b7)]},'children':[{'text':_0x32e609['to'](_0x4dbd3d(0x1d6),_0x5cb560=>this[_0x4dbd3d(0x190)][_0x4dbd3d(0x1cb)](_0x5cb560))}]}]},{'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x1b6),_0x4dbd3d(0x1d5),_0x32e609['if'](_0x4dbd3d(0x200),_0x4dbd3d(0x1cf)),_0x32e609['if'](_0x4dbd3d(0x200),_0x4dbd3d(0x1ba))]},'children':this[_0x4dbd3d(0x1aa)]},{'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x1a4)]},'children':this[_0x4dbd3d(0x1a2)]}];return this[_0x4dbd3d(0x1e1)][_0x4dbd3d(0x1e5)]&&_0x189dc3[_0x4dbd3d(0x1b4)]({'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x1db)]},'children':[{'text':this[_0x4dbd3d(0x1e6)]()}]}),{'tag':'li','attributes':{'class':[_0x4dbd3d(0x1eb),_0x32e609['if'](_0x4dbd3d(0x1dc),_0x4dbd3d(0x18f))],'tabindex':-0x1},'children':[{'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x1b0),_0x4dbd3d(0x192),_0x32e609['if'](_0x4dbd3d(0x200),_0x4dbd3d(0x1e7)),_0x32e609['if'](_0x4dbd3d(0x1d0),_0x4dbd3d(0x19f)),_0x32e609['to'](_0x4dbd3d(0x1a7),_0xc3068b=>_0xc3068b?_0x4dbd3d(0x1c7)+_0xc3068b:'')],'data-author-id':this[_0x4dbd3d(0x1e1)][_0x4dbd3d(0x20b)]['id'],'data-comment-id':this[_0x4dbd3d(0x1e1)]['id']},'children':[this[_0x4dbd3d(0x1af)],{'tag':_0x4dbd3d(0x197),'attributes':{'class':[_0x4dbd3d(0x19e),_0x4dbd3d(0x1c5)]},'children':_0x189dc3}]}]};}[_0xdd37e8(0x1ac)](){const _0x30295b=_0xdd37e8,_0x2ca904=new _0x55a568(this[_0x30295b(0x196)]);return _0x2ca904[_0x30295b(0x194)]=_0x3fd4e1(this[_0x30295b(0x196)],_0x30295b(0x1cc)),_0x2ca904[_0x30295b(0x20a)]=_0x39f209[_0x30295b(0x1a1)],_0x2ca904[_0x30295b(0x1dd)]=!0x0,_0x2ca904[_0x30295b(0x1de)]({'attributes':{'class':_0x30295b(0x1e7)}}),_0x2ca904[_0x30295b(0x1b3)](_0x30295b(0x1ca))['to'](this[_0x30295b(0x1e1)],_0x30295b(0x206),_0x15be1a=>!_0x15be1a),_0x2ca904[_0x30295b(0x1b3)](_0x30295b(0x1ad))['to'](this[_0x30295b(0x1e1)],_0x30295b(0x1bc)),_0x2ca904['on'](_0x30295b(0x1b9),()=>this[_0x30295b(0x209)]()),_0x2ca904;}[_0xdd37e8(0x1ee)](){const _0x283955=_0xdd37e8,_0x35663f=new _0x55a568(this[_0x283955(0x196)]);return _0x35663f[_0x283955(0x194)]=_0x3fd4e1(this[_0x283955(0x196)],_0x283955(0x199)),_0x35663f[_0x283955(0x20a)]=_0x5c27e3,_0x35663f[_0x283955(0x1dd)]=!0x0,_0x35663f[_0x283955(0x1de)]({'attributes':{'class':_0x283955(0x1e0)}}),_0x35663f[_0x283955(0x1b3)](_0x283955(0x1ca))['to'](this[_0x283955(0x1e1)],_0x283955(0x206),_0x3dfcc9=>!_0x3dfcc9),_0x35663f[_0x283955(0x1b3)](_0x283955(0x1ad))['to'](this[_0x283955(0x1e1)],_0x283955(0x1ec)),_0x35663f['on'](_0x283955(0x1b9),()=>{const _0x53032f=_0x283955;this[_0x53032f(0x1fb)](_0x3fd4e1(this[_0x53032f(0x196)],_0x53032f(0x1c9)),this[_0x53032f(0x1b5)])[_0x53032f(0x1f3)](()=>{const _0x2e690e=_0x53032f;this[_0x2e690e(0x1f2)](_0x2e690e(0x1d3),this[_0x2e690e(0x1e1)]['id']);});}),_0x35663f;}[_0xdd37e8(0x207)](){const _0x26b539=_0xdd37e8,_0x919582=_0x150593(this[_0x26b539(0x196)]),_0x44fc26=_0x919582[_0x26b539(0x1fc)][_0x26b539(0x1df)],_0x23945f=new _0x672c6b(this[_0x26b539(0x196)]),_0x54cba2=(_0x3d0171,_0x22d1f7=-0x1)=>{const _0x4ac24f=_0x26b539,_0x31fec0=new _0x571331(this[_0x4ac24f(0x196)]);_0x31fec0[_0x4ac24f(0x1df)][_0x4ac24f(0x19d)](_0x3d0171);const _0x2293d2=_0x22d1f7>-0x1?_0x22d1f7:_0x23945f[_0x4ac24f(0x19b)][_0x4ac24f(0x1c0)];_0x23945f[_0x4ac24f(0x19b)][_0x4ac24f(0x19d)](_0x31fec0,_0x2293d2),_0x919582[_0x4ac24f(0x1c3)](_0x3d0171,_0x4ac24f(0x1be),()=>{const _0x4420e5=_0x4ac24f;_0x919582[_0x4420e5(0x1ca)]=[...this[_0x4420e5(0x19b)]][_0x4420e5(0x195)](_0x1b6b92=>_0x1b6b92[_0x4420e5(0x1ca)]);}),_0x919582[_0x4ac24f(0x1c3)](_0x3d0171,_0x4ac24f(0x191),()=>{const _0x21fc92=_0x4ac24f;_0x919582[_0x21fc92(0x1d7)][_0x21fc92(0x1ad)]=[...this[_0x21fc92(0x19b)]][_0x21fc92(0x195)](_0x325bd4=>_0x325bd4[_0x21fc92(0x1ad)]);});};_0x919582[_0x26b539(0x1c1)]='sw',_0x919582[_0x26b539(0x1d7)][_0x26b539(0x1b1)]({'label':_0x3fd4e1(this[_0x26b539(0x196)],_0x26b539(0x1b2)),'icon':_0x39f209[_0x26b539(0x1d8)]}),_0x919582[_0x26b539(0x1ca)]=[...this[_0x26b539(0x19b)]][_0x26b539(0x195)](_0x56531b=>_0x56531b[_0x26b539(0x1ca)]),_0x919582[_0x26b539(0x1d7)][_0x26b539(0x1ad)]=[...this[_0x26b539(0x19b)]][_0x26b539(0x195)](_0x18df59=>_0x18df59[_0x26b539(0x1ad)]);for(const _0x131025 of this[_0x26b539(0x19b)])_0x54cba2(_0x131025);return _0x44fc26[_0x26b539(0x19d)](_0x23945f),_0x919582[_0x26b539(0x1c3)](this[_0x26b539(0x19b)],_0x26b539(0x19d),(_0x511000,_0x5a8455,_0x2496a8)=>{_0x54cba2(_0x5a8455,_0x2496a8);}),_0x919582[_0x26b539(0x1c3)](this[_0x26b539(0x19b)],_0x26b539(0x208),(_0x108563,_0x152fa6,_0x452420)=>{const _0x4977fd=_0x26b539;_0x23945f[_0x4977fd(0x19b)][_0x4977fd(0x208)](_0x452420);}),_0x919582;}[_0xdd37e8(0x1bb)](_0xd95b13,_0x5dbd93){const _0x9d99b4=_0xdd37e8,_0x339391=_0xd95b13&&_0xd95b13[_0x9d99b4(0x1b5)];_0x339391&&(this[_0x9d99b4(0x1c3)](_0x339391,_0x9d99b4(0x19c),()=>this[_0x9d99b4(0x1a7)]=_0x5dbd93),this[_0x9d99b4(0x1c3)](_0x339391,_0x9d99b4(0x19a),()=>this[_0x9d99b4(0x1a7)]=_0x5dbd93),this[_0x9d99b4(0x1c3)](_0x339391,_0x9d99b4(0x1ea),()=>this[_0x9d99b4(0x1a7)]=null),this[_0x9d99b4(0x1c3)](_0x339391,_0x9d99b4(0x204),()=>this[_0x9d99b4(0x1a7)]=null));}[_0xdd37e8(0x1f9)](){const _0x235c5c=_0xdd37e8,_0x3c1025=super[_0x235c5c(0x1f9)]();return _0x3c1025[_0x235c5c(0x1b3)](_0x235c5c(0x1cd))['to'](this),_0x3c1025;}[_0xdd37e8(0x1e6)](){const _0x1e1109=_0xdd37e8;return _0x1e1109(0x1c2)===this[_0x1e1109(0x1e1)][_0x1e1109(0x1ef)][_0x1e1109(0x1a9)][_0x1e1109(0x1e3)]?_0x3fd4e1(this[_0x1e1109(0x196)],_0x1e1109(0x1ce)):_0x3fd4e1(this[_0x1e1109(0x196)],_0x1e1109(0x1da));}[_0xdd37e8(0x1f1)](){const _0x4fca59=_0xdd37e8;return this[_0x4fca59(0x1e1)][_0x4fca59(0x1e5)]?_0x4fca59(0x1c2)===this[_0x4fca59(0x1e1)][_0x4fca59(0x1ef)][_0x4fca59(0x1a9)][_0x4fca59(0x1e3)]?_0x3fd4e1(this[_0x4fca59(0x196)],_0x4fca59(0x203),this[_0x4fca59(0x1e1)][_0x4fca59(0x1f8)][_0x4fca59(0x1e8)]):_0x3fd4e1(this[_0x4fca59(0x196)],_0x4fca59(0x1a3),this[_0x4fca59(0x1e1)][_0x4fca59(0x1f8)][_0x4fca59(0x1e8)]):null;}[_0xdd37e8(0x1b8)](){const _0x24bebb=_0xdd37e8;super[_0x24bebb(0x1b8)](),this[_0x24bebb(0x1bb)](this[_0x24bebb(0x205)],_0x24bebb(0x1fe)),this[_0x24bebb(0x1bb)](this[_0x24bebb(0x1f6)],_0x24bebb(0x208));}}
|
|
23
|
+
const _0x3a4e78=_0xf0ff;(function(_0x45e9be,_0x2ba990){const _0x5cc36e=_0xf0ff,_0x30ee36=_0x45e9be();while(!![]){try{const _0x3a9afa=-parseInt(_0x5cc36e(0x1be))/0x1*(parseInt(_0x5cc36e(0x22f))/0x2)+parseInt(_0x5cc36e(0x220))/0x3+-parseInt(_0x5cc36e(0x1f9))/0x4+-parseInt(_0x5cc36e(0x20f))/0x5+-parseInt(_0x5cc36e(0x1cb))/0x6*(-parseInt(_0x5cc36e(0x222))/0x7)+parseInt(_0x5cc36e(0x1f0))/0x8+parseInt(_0x5cc36e(0x1e3))/0x9;if(_0x3a9afa===_0x2ba990)break;else _0x30ee36['push'](_0x30ee36['shift']());}catch(_0x311945){_0x30ee36['push'](_0x30ee36['shift']());}}}(_0x200b,0x9dcab));import{ButtonView as _0x878745,createDropdown as _0x14c441,ListView as _0x50a105,ListItemView as _0x43f2a2}from'ckeditor5/src/ui.js';import{icons as _0xb7e537}from'ckeditor5/src/core.js';import{UserView as _0x1527fc,ConfirmMixin as _0x180385}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xc8da27 from'./basecommentview.js';import _0x2949d6 from'../../../../theme/icons/remove-comment.svg';function _0xf0ff(_0x1c9ff1,_0x34638a){const _0x200bb3=_0x200b();return _0xf0ff=function(_0xf0ffa,_0x1c31a3){_0xf0ffa=_0xf0ffa-0x1bb;let _0x3e56d4=_0x200bb3[_0xf0ffa];return _0x3e56d4;},_0xf0ff(_0x1c9ff1,_0x34638a);}function _0x200b(){const _0x9bef71=['listenTo','render','importWord','Remove','locale','removeButton','4874836TUlDVE','change:isEnabled','setTemplate','then','panelPosition','Edit','pencil','edit','extendTemplate','editButton','mouseleave','showConfirm','span','element','author','authoredAt','EXTERNAL_IMPORT_WORD_AVATAR','isReadOnly','icon','getTemplate','resolvedAt','ck-annotation__info-name','5586700lZrWJk','ck-comment__main','ck-annotation__info','cancelConfirm','ck-comment--remove-confirmation','_model','switchToEditMode','ck-comment__actions--hidden','ck-comment--info','length','withText','isEnabled','visibleView','placeholder','add','userView','dropdown','2051793pauvso','attributes','21TlyFBZ','source','ck-comment__info-name','ck-comment__actions','isEditable','actionIndicator','isRemovable','mouseenter','items','fire','actionBar','panelView','_createEditButton','2afksnD','execute','change:isVisible','ck-comment--remove','addMany','focus','removeComment','change:isRemovable','@external','EXTERNAL_COMMENT','1184759Jyupdm','bindTemplate','blur','getUserViewNotificationText','ck-comment__wrapper','ck-annotation__main','ck-comment__external','Delete\x20comment?','ck-comment__info-time','ck-annotation__actions--hidden','label','ck-comment__info','children','789546PIfnZJ','EXTERNAL_AVATAR','bind','Show\x20more\x20items','set','push','ck-comment--edit','name','isEditMode','div','ck-comment--','_createCommentInputView','ck-annotation__content-wrapper','ck-annotation','creator','ck-comment__user','_config','ck-annotation__actions','threeVerticalDots','ck-annotation__info-time','isSystemComment','buttonView','EXTERNAL_IMPORT_WORD_COMMENT','_createDropdown','21344886igzDjs','Reply...','ck-annotation__user','_createRemoveButton','remove','getExternalCommentNote','isExternal','_attachActions','createCollection','time','ck-comment','some','formatDateTime','5734120SSjkzr','isConfirm','isVisible'];_0x200b=function(){return _0x9bef71;};return _0x200b();}import{getTranslation as _0x82f6de}from'../../../utils/common-translations.js';export default class At extends _0x180385(_0xc8da27){constructor(_0x366389,_0x166dd9,_0x5782ed){const _0x3a42ae=_0xf0ff;super(_0x366389,_0x166dd9,_0x5782ed),this[_0x3a42ae(0x1cf)](_0x3a42ae(0x227),null),this[_0x3a42ae(0x1cf)](_0x3a42ae(0x21c),_0x82f6de(_0x366389,_0x3a42ae(0x1e4))),this[_0x3a42ae(0x1cd)](_0x3a42ae(0x208))['to'](_0x166dd9),this[_0x3a42ae(0x1cd)](_0x3a42ae(0x20d))['to'](_0x166dd9),this[_0x3a42ae(0x22c)]=this[_0x3a42ae(0x1eb)](),this[_0x3a42ae(0x1df)]||(this[_0x3a42ae(0x202)]=this[_0x3a42ae(0x22e)](),this[_0x3a42ae(0x1f8)]=this[_0x3a42ae(0x1e6)](),this[_0x3a42ae(0x22a)]=this[_0x3a42ae(0x1eb)](),this[_0x3a42ae(0x22a)][_0x3a42ae(0x233)]([this[_0x3a42ae(0x202)],this[_0x3a42ae(0x1f8)]]),this[_0x3a42ae(0x21f)]=this[_0x3a42ae(0x1e2)](),this[_0x3a42ae(0x22c)][_0x3a42ae(0x21d)](this[_0x3a42ae(0x21f)])),this[_0x3a42ae(0x21e)]=new _0x1527fc(_0x366389,_0x166dd9[_0x3a42ae(0x207)],this[_0x3a42ae(0x1c1)]()),this[_0x3a42ae(0x21e)][_0x3a42ae(0x201)]({'attributes':{'class':[_0x3a42ae(0x1da),_0x3a42ae(0x1e5)]}}),this[_0x3a42ae(0x1f3)](_0x166dd9,_0x3a42ae(0x1bb),()=>this[_0x3a42ae(0x212)]()),this[_0x3a42ae(0x1fb)](this[_0x3a42ae(0x20c)]());}[_0x3a4e78(0x20c)](){const _0x2574c8=_0x3a4e78,_0x4788a9=this[_0x2574c8(0x1bf)],_0x58b583=[{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1c9),_0x2574c8(0x211)]},'children':[{'tag':_0x2574c8(0x205),'children':[{'text':this[_0x2574c8(0x21e)][_0x2574c8(0x1d2)]}],'attributes':{'class':[_0x2574c8(0x224),_0x2574c8(0x20e)]}},{'tag':_0x2574c8(0x1ec),'attributes':{'datetime':_0x4788a9['to'](_0x2574c8(0x208)),'class':[_0x2574c8(0x1c6),_0x2574c8(0x1de)]},'children':[{'text':_0x4788a9['to'](_0x2574c8(0x208),_0x17009e=>this[_0x2574c8(0x1db)][_0x2574c8(0x1ef)](_0x17009e))}]}]},{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x225),_0x2574c8(0x1dc),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x216)),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x1c7))]},'children':this[_0x2574c8(0x22c)]},{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1d7)]},'children':this[_0x2574c8(0x21b)]}];return this[_0x2574c8(0x214)][_0x2574c8(0x1e9)]&&_0x58b583[_0x2574c8(0x1d0)]({'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1c4)]},'children':[{'text':this[_0x2574c8(0x1e8)]()}]}),{'tag':'li','attributes':{'class':[_0x2574c8(0x1c2),_0x4788a9['if'](_0x2574c8(0x1f1),_0x2574c8(0x213))],'tabindex':-0x1},'children':[{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x1ed),_0x2574c8(0x1d8),_0x4788a9['if'](_0x2574c8(0x1d3),_0x2574c8(0x1d1)),_0x4788a9['if'](_0x2574c8(0x1df),_0x2574c8(0x217)),_0x4788a9['to'](_0x2574c8(0x227),_0xf4ce0e=>_0xf4ce0e?_0x2574c8(0x1d5)+_0xf4ce0e:'')],'data-author-id':this[_0x2574c8(0x214)][_0x2574c8(0x207)]['id'],'data-comment-id':this[_0x2574c8(0x214)]['id']},'children':[this[_0x2574c8(0x21e)],{'tag':_0x2574c8(0x1d4),'attributes':{'class':[_0x2574c8(0x210),_0x2574c8(0x1c3)]},'children':_0x58b583}]}]};}[_0x3a4e78(0x22e)](){const _0x408a85=_0x3a4e78,_0x41d1be=new _0x878745(this[_0x408a85(0x1f7)]);return _0x41d1be[_0x408a85(0x1c8)]=_0x82f6de(this[_0x408a85(0x1f7)],_0x408a85(0x1fe)),_0x41d1be[_0x408a85(0x20b)]=_0xb7e537[_0x408a85(0x1ff)],_0x41d1be[_0x408a85(0x219)]=!0x0,_0x41d1be[_0x408a85(0x201)]({'attributes':{'class':_0x408a85(0x1d1)}}),_0x41d1be[_0x408a85(0x1cd)](_0x408a85(0x21a))['to'](this[_0x408a85(0x214)],_0x408a85(0x20a),_0x34eee9=>!_0x34eee9),_0x41d1be[_0x408a85(0x1cd)](_0x408a85(0x1f2))['to'](this[_0x408a85(0x214)],_0x408a85(0x226)),_0x41d1be['on'](_0x408a85(0x230),()=>this[_0x408a85(0x215)]()),_0x41d1be;}[_0x3a4e78(0x1e6)](){const _0x37454b=_0x3a4e78,_0x2e17f2=new _0x878745(this[_0x37454b(0x1f7)]);return _0x2e17f2[_0x37454b(0x1c8)]=_0x82f6de(this[_0x37454b(0x1f7)],_0x37454b(0x1f6)),_0x2e17f2[_0x37454b(0x20b)]=_0x2949d6,_0x2e17f2[_0x37454b(0x219)]=!0x0,_0x2e17f2[_0x37454b(0x201)]({'attributes':{'class':_0x37454b(0x232)}}),_0x2e17f2[_0x37454b(0x1cd)](_0x37454b(0x21a))['to'](this[_0x37454b(0x214)],_0x37454b(0x20a),_0x5cf9bc=>!_0x5cf9bc),_0x2e17f2[_0x37454b(0x1cd)](_0x37454b(0x1f2))['to'](this[_0x37454b(0x214)],_0x37454b(0x228)),_0x2e17f2['on'](_0x37454b(0x230),()=>{const _0x26a2ea=_0x37454b;this[_0x26a2ea(0x204)](_0x82f6de(this[_0x26a2ea(0x1f7)],_0x26a2ea(0x1c5)),this[_0x26a2ea(0x206)])[_0x26a2ea(0x1fc)](()=>{const _0x59e80e=_0x26a2ea;this[_0x59e80e(0x22b)](_0x59e80e(0x235),this[_0x59e80e(0x214)]['id']);});}),_0x2e17f2;}[_0x3a4e78(0x1e2)](){const _0x3632ad=_0x3a4e78,_0x2f52e4=_0x14c441(this[_0x3632ad(0x1f7)]),_0x3f7598=_0x2f52e4[_0x3632ad(0x22d)][_0x3632ad(0x1ca)],_0x280db3=new _0x50a105(this[_0x3632ad(0x1f7)]),_0x50dc59=(_0x271286,_0x2dd8ff=-0x1)=>{const _0x23f566=_0x3632ad,_0x238346=new _0x43f2a2(this[_0x23f566(0x1f7)]);_0x238346[_0x23f566(0x1ca)][_0x23f566(0x21d)](_0x271286);const _0x46eb67=_0x2dd8ff>-0x1?_0x2dd8ff:_0x280db3[_0x23f566(0x22a)][_0x23f566(0x218)];_0x280db3[_0x23f566(0x22a)][_0x23f566(0x21d)](_0x238346,_0x46eb67),_0x2f52e4[_0x23f566(0x1f3)](_0x271286,_0x23f566(0x1fa),()=>{const _0x36067b=_0x23f566;_0x2f52e4[_0x36067b(0x21a)]=[...this[_0x36067b(0x22a)]][_0x36067b(0x1ee)](_0x50b172=>_0x50b172[_0x36067b(0x21a)]);}),_0x2f52e4[_0x23f566(0x1f3)](_0x271286,_0x23f566(0x231),()=>{const _0x59af00=_0x23f566;_0x2f52e4[_0x59af00(0x1e0)][_0x59af00(0x1f2)]=[...this[_0x59af00(0x22a)]][_0x59af00(0x1ee)](_0x6a9c8c=>_0x6a9c8c[_0x59af00(0x1f2)]);});};_0x2f52e4[_0x3632ad(0x1fd)]='sw',_0x2f52e4[_0x3632ad(0x1e0)][_0x3632ad(0x1cf)]({'label':_0x82f6de(this[_0x3632ad(0x1f7)],_0x3632ad(0x1ce)),'icon':_0xb7e537[_0x3632ad(0x1dd)]}),_0x2f52e4[_0x3632ad(0x21a)]=[...this[_0x3632ad(0x22a)]][_0x3632ad(0x1ee)](_0x58c436=>_0x58c436[_0x3632ad(0x21a)]),_0x2f52e4[_0x3632ad(0x1e0)][_0x3632ad(0x1f2)]=[...this[_0x3632ad(0x22a)]][_0x3632ad(0x1ee)](_0xc0f50f=>_0xc0f50f[_0x3632ad(0x1f2)]);for(const _0x4365dc of this[_0x3632ad(0x22a)])_0x50dc59(_0x4365dc);return _0x3f7598[_0x3632ad(0x21d)](_0x280db3),_0x2f52e4[_0x3632ad(0x1f3)](this[_0x3632ad(0x22a)],_0x3632ad(0x21d),(_0x2f5735,_0x4660e8,_0x5754fc)=>{_0x50dc59(_0x4660e8,_0x5754fc);}),_0x2f52e4[_0x3632ad(0x1f3)](this[_0x3632ad(0x22a)],_0x3632ad(0x1e7),(_0x2ddf57,_0x88e180,_0x476b51)=>{const _0x1f014e=_0x3632ad;_0x280db3[_0x1f014e(0x22a)][_0x1f014e(0x1e7)](_0x476b51);}),_0x2f52e4;}[_0x3a4e78(0x1ea)](_0x1f3f93,_0x58df46){const _0x1d3f19=_0x3a4e78,_0x576ff7=_0x1f3f93&&_0x1f3f93[_0x1d3f19(0x206)];_0x576ff7&&(this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x229),()=>this[_0x1d3f19(0x227)]=_0x58df46),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x234),()=>this[_0x1d3f19(0x227)]=_0x58df46),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x203),()=>this[_0x1d3f19(0x227)]=null),this[_0x1d3f19(0x1f3)](_0x576ff7,_0x1d3f19(0x1c0),()=>this[_0x1d3f19(0x227)]=null));}[_0x3a4e78(0x1d6)](){const _0x5c5602=_0x3a4e78,_0x8556ce=super[_0x5c5602(0x1d6)]();return _0x8556ce[_0x5c5602(0x1cd)](_0x5c5602(0x21c))['to'](this),_0x8556ce;}[_0x3a4e78(0x1e8)](){const _0x54c4fa=_0x3a4e78;return _0x54c4fa(0x1f5)===this[_0x54c4fa(0x214)][_0x54c4fa(0x221)][_0x54c4fa(0x1bc)][_0x54c4fa(0x223)]?_0x82f6de(this[_0x54c4fa(0x1f7)],_0x54c4fa(0x1e1)):_0x82f6de(this[_0x54c4fa(0x1f7)],_0x54c4fa(0x1bd));}[_0x3a4e78(0x1c1)](){const _0x2e675e=_0x3a4e78;return this[_0x2e675e(0x214)][_0x2e675e(0x1e9)]?_0x2e675e(0x1f5)===this[_0x2e675e(0x214)][_0x2e675e(0x221)][_0x2e675e(0x1bc)][_0x2e675e(0x223)]?_0x82f6de(this[_0x2e675e(0x1f7)],_0x2e675e(0x209),this[_0x2e675e(0x214)][_0x2e675e(0x1d9)][_0x2e675e(0x1d2)]):_0x82f6de(this[_0x2e675e(0x1f7)],_0x2e675e(0x1cc),this[_0x2e675e(0x214)][_0x2e675e(0x1d9)][_0x2e675e(0x1d2)]):null;}[_0x3a4e78(0x1f4)](){const _0x1153f2=_0x3a4e78;super[_0x1153f2(0x1f4)](),this[_0x1153f2(0x1ea)](this[_0x1153f2(0x202)],_0x1153f2(0x200)),this[_0x1153f2(0x1ea)](this[_0x1153f2(0x1f8)],_0x1153f2(0x1e7));}}
|
package/src/comments.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x179351=_0x56cb;(function(_0x55e55f,_0x13c928){var _0x1159fe=_0x56cb,_0x35bf84=_0x55e55f();while(!![]){try{var _0x37cd25=parseInt(_0x1159fe(0xe6))/0x1+parseInt(_0x1159fe(0xec))/0x2+parseInt(_0x1159fe(0xe5))/0x3*(-parseInt(_0x1159fe(0xea))/0x4)+parseInt(_0x1159fe(0xe3))/0x5*(parseInt(_0x1159fe(0xe9))/0x6)+-parseInt(_0x1159fe(0xe8))/0x7*(parseInt(_0x1159fe(0xdf))/0x8)+-parseInt(_0x1159fe(0xe0))/0x9+-parseInt(_0x1159fe(0xe2))/0xa*(-parseInt(_0x1159fe(0xe7))/0xb);if(_0x37cd25===_0x13c928)break;else _0x35bf84['push'](_0x35bf84['shift']());}catch(_0x13bdde){_0x35bf84['push'](_0x35bf84['shift']());}}}(_0x1c76,0x493de));import{Plugin as _0x45e728}from'ckeditor5/src/core.js';import _0x4e9d73 from'./comments/commentsrepository.js';import _0x49a3ca from'./comments/commentsediting.js';function _0x1c76(){var _0x21ad1c=['425689YspxgO','249282wqlRQL','35fRLQlz','24330TSAaZI','69592HANQsL','pluginName','651390SYOtnB','867856glscQm','350181JYrBYg','requires','180aNYJda','215pEiKhq','Comments','78LRWhFT'];_0x1c76=function(){return _0x21ad1c;};return _0x1c76();}import _0x141f4e from'./comments/commentsui.js';import _0x2fef67 from'./commentsonly.js';import _0x24f518 from'./annotations/widesidebar.js';import _0x569f1c from'./annotations/narrowsidebar.js';function _0x56cb(_0x14e7bc,_0x224918){var _0x1c7614=_0x1c76();return _0x56cb=function(_0x56cb67,_0x38ca0d){_0x56cb67=_0x56cb67-0xdf;var _0x17b786=_0x1c7614[_0x56cb67];return _0x17b786;},_0x56cb(_0x14e7bc,_0x224918);}import _0xd9a69 from'./annotations/inlineannotations.js';import _0x3ef11e from'./comments/commentsarchiveui.js';import _0x1e3dc8 from'./comments/commentsarchive.js';export default class f extends _0x45e728{static get[_0x179351(0xe1)](){return[_0x4e9d73,_0x49a3ca,_0x141f4e,_0x1e3dc8,_0x3ef11e,_0x2fef67,_0x24f518,_0x569f1c,_0xd9a69];}static get[_0x179351(0xeb)](){var _0x4303fb=_0x179351;return _0x4303fb(0xe4);}}
|
package/src/commentsonly.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b69e3=_0x3b01;(function(_0x2faa42,_0x4fa951){const _0x228f55=_0x3b01,_0x15429e=_0x2faa42();while(!![]){try{const _0x5ead97=parseInt(_0x228f55(0x166))/0x1*(parseInt(_0x228f55(0x15d))/0x2)+parseInt(_0x228f55(0x17c))/0x3*(-parseInt(_0x228f55(0x159))/0x4)+-parseInt(_0x228f55(0x17e))/0x5+parseInt(_0x228f55(0x16e))/0x6*(parseInt(_0x228f55(0x167))/0x7)+-parseInt(_0x228f55(0x15f))/0x8+-parseInt(_0x228f55(0x158))/0x9+parseInt(_0x228f55(0x156))/0xa;if(_0x5ead97===_0x4fa951)break;else _0x15429e['push'](_0x15429e['shift']());}catch(_0x58219e){_0x15429e['push'](_0x15429e['shift']());}}}(_0x32b0,0xbeee8));import{Plugin as _0x4f639b}from'ckeditor5/src/core.js';function _0x3b01(_0x2994d0,_0x41b0f1){const _0x32b0ac=_0x32b0();return _0x3b01=function(_0x3b010b,_0x1e7923){_0x3b010b=_0x3b010b-0x155;let _0x2a5cbe=_0x32b0ac[_0x3b010b];return _0x2a5cbe;},_0x3b01(_0x2994d0,_0x41b0f1);}import _0x4756ae from'./comments/commentsediting.js';export default class e extends _0x4f639b{static get[_0x5b69e3(0x169)](){const _0x34c59a=_0x5b69e3;return _0x34c59a(0x17a);}static get[_0x5b69e3(0x155)](){return[_0x4756ae];}constructor(_0x25c06d){const _0x5e8b81=_0x5b69e3;super(_0x25c06d),this[_0x5e8b81(0x15c)](_0x5e8b81(0x157),!0x1),this['on'](_0x5e8b81(0x163),(_0x19d285,_0x23aa5b,_0x3c2f20)=>{const _0x1a2981=_0x5e8b81;_0x3c2f20?this[_0x1a2981(0x161)]():this[_0x1a2981(0x17d)]();});}[_0x5b69e3(0x15b)](){const _0x568d45=_0x5b69e3;!this[_0x568d45(0x157)]&&this[_0x568d45(0x174)][_0x568d45(0x16a)][_0x568d45(0x15a)](_0x568d45(0x162))&&(this[_0x568d45(0x157)]=!0x0);}[_0x5b69e3(0x161)](){const _0x5b842a=_0x5b69e3;for(const [_0x9ad726,_0x3f1ea0]of this[_0x5b842a(0x174)][_0x5b842a(0x176)])_0x3f1ea0[_0x5b842a(0x16c)]&&_0x5b842a(0x175)!==_0x9ad726&&_0x3f1ea0[_0x5b842a(0x16f)](_0x5b842a(0x16d));this[_0x5b842a(0x174)][_0x5b842a(0x172)][_0x5b842a(0x178)](_0x5b842a(0x15e))&&this[_0x5b842a(0x174)][_0x5b842a(0x172)][_0x5b842a(0x15a)](_0x5b842a(0x15e))[_0x5b842a(0x16f)](_0x5b842a(0x16d));const _0x167c7b=this[_0x5b842a(0x174)][_0x5b842a(0x160)][_0x5b842a(0x170)][_0x5b842a(0x168)];this[_0x5b842a(0x177)](_0x167c7b,_0x5b842a(0x17b),_0x5a67f6=>_0x5a67f6[_0x5b842a(0x16b)](),{'priority':_0x5b842a(0x179)}),this[_0x5b842a(0x177)](_0x167c7b,_0x5b842a(0x173),_0x86d5f9=>_0x86d5f9[_0x5b842a(0x16b)](),{'priority':_0x5b842a(0x179)}),this[_0x5b842a(0x177)](_0x167c7b,_0x5b842a(0x164),_0x2e48aa=>_0x2e48aa[_0x5b842a(0x16b)](),{'priority':_0x5b842a(0x179)});}[_0x5b69e3(0x17d)](){const _0x3be3ad=_0x5b69e3;for(const [_0x9e68a2,_0x10647d]of this[_0x3be3ad(0x174)][_0x3be3ad(0x176)])_0x10647d[_0x3be3ad(0x16c)]&&_0x3be3ad(0x175)!==_0x9e68a2&&_0x10647d[_0x3be3ad(0x171)](_0x3be3ad(0x16d));this[_0x3be3ad(0x165)](this[_0x3be3ad(0x174)][_0x3be3ad(0x160)][_0x3be3ad(0x170)][_0x3be3ad(0x168)]);}}function _0x32b0(){const _0x45e2e7=['pluginName','config','stop','affectsData','commentsOnlyMode','1734AfNauL','forceDisabled','view','clearForceDisabled','plugins','clipboardInput','editor','addCommentThread','commands','listenTo','has','highest','CommentsOnly','cut','3DQOWQM','_disableCommentsOnlyMode','844755jhnLUW','requires','32857680aPhhya','isEnabled','7444575CoiXeW','5756312TrVVyx','get','afterInit','set','2373258DyeflQ','DragDrop','10431824JFrEWy','editing','_enableCommentsOnlyMode','commentsOnly','change:isEnabled','delete','stopListening','1ZuVJvW','1183qtkBar','document'];_0x32b0=function(){return _0x45e2e7;};return _0x32b0();}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3e277e,_0x5043a4){var _0x1e1c20=_0x5c8d,_0x563cf8=_0x3e277e();while(!![]){try{var _0x2d7061=parseInt(_0x1e1c20(0x131))/0x1+parseInt(_0x1e1c20(0x132))/0x2+parseInt(_0x1e1c20(0x136))/0x3+-parseInt(_0x1e1c20(0x130))/0x4*(parseInt(_0x1e1c20(0x133))/0x5)+parseInt(_0x1e1c20(0x12e))/0x6*(parseInt(_0x1e1c20(0x135))/0x7)+parseInt(_0x1e1c20(0x12f))/0x8+-parseInt(_0x1e1c20(0x134))/0x9;if(_0x2d7061===_0x5043a4)break;else _0x563cf8['push'](_0x563cf8['shift']());}catch(_0x163855){_0x563cf8['push'](_0x563cf8['shift']());}}}(_0x3585,0xc9da7));export{default as Comments}from'./comments.js';export{default as CommentsOnly}from'./commentsonly.js';export{default as CommentsUI}from'./comments/commentsui.js';export{default as CommentsRepository,CommentThread,Comment}from'./comments/commentsrepository.js';export{default as CommentThreadController}from'./comments/ui/commentthreadcontroller.js';export{default as Annotations}from'./annotations/annotations.js';export{default as AnnotationsUIs}from'./annotations/annotationsuis.js';function _0x5c8d(_0x5a7488,_0x57e7a6){var _0x358518=_0x3585();return _0x5c8d=function(_0x5c8d70,_0x528645){_0x5c8d70=_0x5c8d70-0x12e;var _0x30231c=_0x358518[_0x5c8d70];return _0x30231c;},_0x5c8d(_0x5a7488,_0x57e7a6);}export{default as EditorAnnotations}from'./annotations/editorannotations.js';export{default as InlineAnnotations}from'./annotations/inlineannotations.js';export{default as WideSidebar}from'./annotations/widesidebar.js';function _0x3585(){var _0x4431bc=['1362EqxykD','1720160SXMdcu','64gRKPJI','682747iFomcS','492382pECbag','273470IEPiLr','15934284XLQTTp','23065hEgXCk','4741344qSBeGh'];_0x3585=function(){return _0x4431bc;};return _0x3585();}export{default as NarrowSidebar}from'./annotations/narrowsidebar.js';export{default as AnnotationView}from'./annotations/view/annotationview.js';export{default as BaseCommentView}from'./comments/ui/view/basecommentview.js';export{default as BaseCommentThreadView}from'./comments/ui/view/basecommentthreadview.js';export{default as CommentsListView}from'./comments/ui/view/commentslistview.js';export{default as CommentView}from'./comments/ui/view/commentview.js';export{default as CommentThreadInputView}from'./comments/ui/view/commentthreadinputview.js';import'./augmentation.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(
|
|
23
|
+
export function getTranslation(_0x7f40a5,_0x5c72cd,_0x2d1146){const t=_0x7f40a5['t'];switch(_0x5c72cd){case'PENDING_ACTION_COMMENT_THREAD':return t({'string':'Unsaved\x20change\x20in\x20comment\x20thread.','id':'PENDING_ACTION_COMMENT_THREAD'});case'Comment':return t('Comment');case'Reply...':return t('Reply...');case'Reply\x20to\x20reopen\x20discussion...':return t('Reply\x20to\x20reopen\x20discussion...');case'Write\x20a\x20comment...':return t('Write\x20a\x20comment...');case'Comment\x20was\x20made\x20on\x20an\x20element':return t('Comment\x20was\x20made\x20on\x20an\x20element');case'Comment\x20editor':return t('Comment\x20editor');case'Delete\x20comment\x20thread?':return t('Delete\x20comment\x20thread?');case'Delete\x20comment?':return t('Delete\x20comment?');case'Marked\x20as\x20resolved':return t('Marked\x20as\x20resolved');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Cancel':return t('Cancel');case'Edit':return t('Edit');case'Resolve':return t('Resolve');case'Reopen':return t('Reopen');case'Remove':return t('Remove');case'Reply':return t('Reply');case'Save':return t('Save');case'LEAVE_COMMENT_ANNOUNCEMENT':return t({'string':'Leaving\x20a\x20comment.','id':'LEAVE_COMMENT_ANNOUNCEMENT'});case'ENTER_COMMENT_ANNOUNCEMENT':return t({'string':'Entering\x20a\x20comment.','id':'ENTER_COMMENT_ANNOUNCEMENT'});case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2d1146);case'TOO_LONG_COMMENT_ALERT':return t({'string':'Comment\x20content\x20is\x20too\x20long.\x20Your\x20comment\x20has\x20%0\x20characters\x20but\x20the\x20limit\x20is\x20%1\x20characters.','id':'TOO_LONG_COMMENT_ALERT'},_0x2d1146);case'EXTERNAL_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20external\x20source.','id':'EXTERNAL_COMMENT'});case'EXTERNAL_IMPORT_WORD_COMMENT':return t({'string':'This\x20comment\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_COMMENT'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2d1146);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2d1146);case'COMMENTS_ARCHIVE':return t({'string':'Comments\x20archive','id':'COMMENTS_ARCHIVE'});case'EMPTY_COMMENTS_ARCHIVE':return t({'string':'There\x20are\x20no\x20archived\x20comment\x20threads.','id':'EMPTY_COMMENTS_ARCHIVE'});default:return'';}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x543c(_0x1724ad,_0x1f2c2a){const _0x3712d7=_0x3712();return _0x543c=function(_0x543c53,_0x498bc6){_0x543c53=_0x543c53-0x15d;let _0x3a9ce9=_0x3712d7[_0x543c53];return _0x3a9ce9;},_0x543c(_0x1724ad,_0x1f2c2a);}(function(_0x5166be,_0x10b75a){const _0x45b63b=_0x543c,_0x3d0b38=_0x5166be();while(!![]){try{const _0x1e4582=parseInt(_0x45b63b(0x162))/0x1*(-parseInt(_0x45b63b(0x166))/0x2)+-parseInt(_0x45b63b(0x161))/0x3*(parseInt(_0x45b63b(0x160))/0x4)+-parseInt(_0x45b63b(0x15f))/0x5+-parseInt(_0x45b63b(0x171))/0x6+parseInt(_0x45b63b(0x165))/0x7*(parseInt(_0x45b63b(0x16d))/0x8)+parseInt(_0x45b63b(0x15e))/0x9*(-parseInt(_0x45b63b(0x16e))/0xa)+-parseInt(_0x45b63b(0x16f))/0xb*(-parseInt(_0x45b63b(0x169))/0xc);if(_0x1e4582===_0x10b75a)break;else _0x3d0b38['push'](_0x3d0b38['shift']());}catch(_0x2f464b){_0x3d0b38['push'](_0x3d0b38['shift']());}}}(_0x3712,0xdbab6));import{throttle as _0x44584c}from'lodash-es';export default function Dt(_0x4b143b){const _0xeeb1f4=_0x44584c(_0x4b143b,0x1e),_0x1d9968=new MutationObserver(_0x50645b=>{const _0x386a98=_0x543c;for(const _0x333495 of _0x50645b)(_0x386a98(0x16b)==_0x333495[_0x386a98(0x163)]&&_0x386a98(0x15d)==_0x333495[_0x386a98(0x164)]||_0x386a98(0x16a)==_0x333495[_0x386a98(0x163)]||_0x386a98(0x16c)==_0x333495[_0x386a98(0x163)])&&_0xeeb1f4();});return{'attach'(_0x3ddde8){const _0x3192c4=_0x543c;_0x1d9968[_0x3192c4(0x168)](_0x3ddde8,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){const _0x35ac22=_0x543c;_0x1d9968[_0x35ac22(0x170)](),_0xeeb1f4[_0x35ac22(0x167)]();}};}function _0x3712(){const _0x36567d=['observe','12UiGwSv','childList','attributes','characterData','1182248TOqWBA','22690AmHLGR','43954174kOcPuS','disconnect','7078704pdqkoJ','class','1629OXFwzy','1102325nsfMBl','11628NOanzR','606ujdzZU','229obDewJ','type','attributeName','7ggyiaB','7386ePJrUt','cancel'];_0x3712=function(){return _0x36567d;};return _0x3712();}
|