@ckeditor/ckeditor5-track-changes 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/track-changes.js +2 -2
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/tt.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +1 -0
- package/lang/translations/ar.po +4 -0
- package/lang/translations/az.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/ko.po +4 -0
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sq.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tk.po +4 -0
- package/lang/translations/tr.po +5 -1
- package/lang/translations/tt.po +4 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/ur.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +3 -4
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/{dist/types/integrations/listproperties.d.ts → src/integrations/multilevellist.d.ts} +11 -11
- package/src/integrations/multilevellist.js +23 -0
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.d.ts +2 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
- package/dist/content-index.css +0 -332
- package/dist/editor-index.css +0 -312
- package/dist/index.css +0 -951
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -23
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.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/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.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.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/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/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/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/augmentation.d.ts +0 -44
- package/dist/types/commands/acceptsuggestioncommand.d.ts +0 -28
- package/dist/types/commands/discardsuggestioncommand.d.ts +0 -28
- package/dist/types/commands/executeonallsuggestionscommand.d.ts +0 -28
- package/dist/types/commands/executeonselectedsuggestionscommand.d.ts +0 -28
- package/dist/types/commands/trackchangescommand.d.ts +0 -30
- package/dist/types/index.d.ts +0 -20
- package/dist/types/integrations/aiassistant.d.ts +0 -21
- package/dist/types/integrations/alignment.d.ts +0 -21
- package/dist/types/integrations/basicstyles.d.ts +0 -21
- package/dist/types/integrations/blockquote.d.ts +0 -21
- package/dist/types/integrations/casechange.d.ts +0 -21
- package/dist/types/integrations/ckbox.d.ts +0 -21
- package/dist/types/integrations/codeblock.d.ts +0 -21
- package/dist/types/integrations/comments.d.ts +0 -18
- package/dist/types/integrations/deletecommand.d.ts +0 -21
- package/dist/types/integrations/entercommand.d.ts +0 -20
- package/dist/types/integrations/findandreplace.d.ts +0 -25
- package/dist/types/integrations/font.d.ts +0 -21
- package/dist/types/integrations/formatpainter.d.ts +0 -21
- package/dist/types/integrations/heading.d.ts +0 -21
- package/dist/types/integrations/highlight.d.ts +0 -21
- package/dist/types/integrations/horizontalline.d.ts +0 -21
- package/dist/types/integrations/htmlembed.d.ts +0 -21
- package/dist/types/integrations/image.d.ts +0 -21
- package/dist/types/integrations/imagereplace.d.ts +0 -21
- package/dist/types/integrations/imagestyle.d.ts +0 -21
- package/dist/types/integrations/importword.d.ts +0 -22
- package/dist/types/integrations/indent.d.ts +0 -21
- package/dist/types/integrations/inputcommand.d.ts +0 -20
- package/dist/types/integrations/legacylist.d.ts +0 -21
- package/dist/types/integrations/legacylistproperties.d.ts +0 -33
- package/dist/types/integrations/link.d.ts +0 -21
- package/dist/types/integrations/list.d.ts +0 -21
- package/dist/types/integrations/mediaembed.d.ts +0 -21
- package/dist/types/integrations/mention.d.ts +0 -21
- package/dist/types/integrations/pagebreak.d.ts +0 -21
- package/dist/types/integrations/paragraph.d.ts +0 -21
- package/dist/types/integrations/removeformat.d.ts +0 -21
- package/dist/types/integrations/restrictededitingmode.d.ts +0 -21
- package/dist/types/integrations/shiftentercommand.d.ts +0 -20
- package/dist/types/integrations/standardeditingmode.d.ts +0 -21
- package/dist/types/integrations/style.d.ts +0 -21
- package/dist/types/integrations/table.d.ts +0 -46
- package/dist/types/integrations/tablecaption.d.ts +0 -26
- package/dist/types/integrations/tableclipboard.d.ts +0 -23
- package/dist/types/integrations/tablecolumnresize.d.ts +0 -30
- package/dist/types/integrations/tableheadings.d.ts +0 -26
- package/dist/types/integrations/tablemergesplit.d.ts +0 -26
- package/dist/types/integrations/tableofcontents.d.ts +0 -21
- package/dist/types/integrations/tableproperties.d.ts +0 -31
- package/dist/types/integrations/template.d.ts +0 -21
- package/dist/types/integrations/title.d.ts +0 -21
- package/dist/types/integrations/undo.d.ts +0 -21
- package/dist/types/integrations/utils.d.ts +0 -25
- package/dist/types/suggestion.d.ts +0 -295
- package/dist/types/suggestiondescriptionfactory.d.ts +0 -187
- package/dist/types/trackchanges.d.ts +0 -184
- package/dist/types/trackchangesconfig.d.ts +0 -82
- package/dist/types/trackchangesdata.d.ts +0 -45
- package/dist/types/trackchangesediting.d.ts +0 -529
- package/dist/types/trackchangesui.d.ts +0 -42
- package/dist/types/ui/suggestioncontroller.d.ts +0 -41
- package/dist/types/ui/view/basesuggestionthreadview.d.ts +0 -174
- package/dist/types/ui/view/suggestionthreadview.d.ts +0 -186
- package/dist/types/utils/common-translations.d.ts +0 -13
- package/dist/types/utils/utils.d.ts +0 -34
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19147c=_0x1f38;function _0x1f38(_0x34882f,_0xb60af3){const _0x5f49e4=_0x5f49();return _0x1f38=function(_0x1f38ed,_0x17555d){_0x1f38ed=_0x1f38ed-0x1a5;let _0x4745aa=_0x5f49e4[_0x1f38ed];return _0x4745aa;},_0x1f38(_0x34882f,_0xb60af3);}(function(_0x13e3f0,_0x4b377d){const _0x1e5f02=_0x1f38,_0x2bba6a=_0x13e3f0();while(!![]){try{const _0x48a6cc=-parseInt(_0x1e5f02(0x1b3))/0x1*(parseInt(_0x1e5f02(0x1b1))/0x2)+parseInt(_0x1e5f02(0x1bf))/0x3+-parseInt(_0x1e5f02(0x1ba))/0x4*(-parseInt(_0x1e5f02(0x1c0))/0x5)+-parseInt(_0x1e5f02(0x1c6))/0x6+-parseInt(_0x1e5f02(0x1bd))/0x7+parseInt(_0x1e5f02(0x1ad))/0x8+parseInt(_0x1e5f02(0x1b7))/0x9*(parseInt(_0x1e5f02(0x1cb))/0xa);if(_0x48a6cc===_0x4b377d)break;else _0x2bba6a['push'](_0x2bba6a['shift']());}catch(_0x39592e){_0x2bba6a['push'](_0x2bba6a['shift']());}}}(_0x5f49,0x7741f));function _0x5f49(){const _0x32db16=['canEditAt','commentThreadController','58eKqmpX','_setPendingAction','25405lEqKrD','getRanges','get','PendingActions','18214182kLRsOk','_pendingAction','isEnabled','300836wQbgEn','discardSuggestion','locale','3937444cKwUOy','_acceptCommand','174282sVIPhe','5PDQKEg','acceptSuggestion','destroy','commands','plugins','_discardCommand','5077602VzttXj','change:isDirty','PENDING_ACTION_SUGGESTION','canDiscard','model','10pHOLpz','stopListening','bind','_removePendingAction','add','remove','_editor','isDirty','unbind','listenTo','canAccept','view','3815056KFCSRx','execute'];_0x5f49=function(){return _0x32db16;};return _0x5f49();}import{ObservableMixin as _0x31280a}from'ckeditor5/src/utils.js';import{getTranslation as _0x39660a}from'../utils/common-translations.js';export default class oe extends _0x31280a(){constructor(_0x18f998,_0x4eb4e1,_0x4b901a,_0x23f26f){const _0x4e0d4a=_0x1f38;super(),this[_0x4e0d4a(0x1ca)]=_0x4eb4e1,this[_0x4e0d4a(0x1ac)]=_0x4b901a,this[_0x4e0d4a(0x1b0)]=_0x23f26f,this[_0x4e0d4a(0x1a7)]=_0x18f998,this[_0x4e0d4a(0x1be)]=_0x18f998[_0x4e0d4a(0x1c3)][_0x4e0d4a(0x1b5)](_0x4e0d4a(0x1c1)),this[_0x4e0d4a(0x1c5)]=_0x18f998[_0x4e0d4a(0x1c3)][_0x4e0d4a(0x1b5)](_0x4e0d4a(0x1bb)),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1b9))['to'](this[_0x4e0d4a(0x1be)],this[_0x4e0d4a(0x1c5)],(_0x3dbc22,_0x3d605c)=>_0x3dbc22||_0x3d605c),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1ab))['to'](this[_0x4e0d4a(0x1be)],_0x4e0d4a(0x1b9),_0x3489ec=>_0x3489ec&&this[_0x4e0d4a(0x1a7)][_0x4e0d4a(0x1ca)][_0x4e0d4a(0x1af)](_0x4eb4e1[_0x4e0d4a(0x1b4)]())),this[_0x4e0d4a(0x1ac)][_0x4e0d4a(0x1cd)](_0x4e0d4a(0x1c9))['to'](this[_0x4e0d4a(0x1c5)],_0x4e0d4a(0x1b9),_0x4e121b=>_0x4e121b&&this[_0x4e0d4a(0x1a7)][_0x4e0d4a(0x1ca)][_0x4e0d4a(0x1af)](_0x4eb4e1[_0x4e0d4a(0x1b4)]())),this[_0x4e0d4a(0x1b8)]=null,_0x4b901a[_0x4e0d4a(0x1a8)]&&this[_0x4e0d4a(0x1b2)](),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1c1),()=>this[_0x4e0d4a(0x1c1)]()),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1bb),()=>this[_0x4e0d4a(0x1bb)]()),this[_0x4e0d4a(0x1aa)](_0x4b901a,_0x4e0d4a(0x1c7),()=>{const _0x947d7f=_0x4e0d4a;_0x4b901a[_0x947d7f(0x1a8)]?this[_0x947d7f(0x1b2)]():this[_0x947d7f(0x1ce)]();});}[_0x19147c(0x1c1)](){const _0x3cab96=_0x19147c;this[_0x3cab96(0x1be)][_0x3cab96(0x1ae)](this[_0x3cab96(0x1ca)]['id']);}[_0x19147c(0x1bb)](){const _0x23638d=_0x19147c;this[_0x23638d(0x1c5)][_0x23638d(0x1ae)](this[_0x23638d(0x1ca)]['id']);}[_0x19147c(0x1c2)](){const _0x105d01=_0x19147c;this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1b9)),this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1ab)),this[_0x105d01(0x1ac)][_0x105d01(0x1a9)](_0x105d01(0x1c9)),this[_0x105d01(0x1cc)](),this[_0x105d01(0x1b0)][_0x105d01(0x1c2)](),this[_0x105d01(0x1b8)]&&this[_0x105d01(0x1ce)]();}[_0x19147c(0x1b2)](){const _0x3ba749=_0x19147c,_0x3b11aa=_0x39660a(this[_0x3ba749(0x1a7)][_0x3ba749(0x1bc)],_0x3ba749(0x1c8));this[_0x3ba749(0x1b8)]=this[_0x3ba749(0x1a7)][_0x3ba749(0x1c4)][_0x3ba749(0x1b5)](_0x3ba749(0x1b6))[_0x3ba749(0x1a5)](_0x3b11aa);}[_0x19147c(0x1ce)](){const _0x57f439=_0x19147c;null!==this[_0x57f439(0x1b8)]&&this[_0x57f439(0x1a7)][_0x57f439(0x1c4)][_0x57f439(0x1b5)](_0x57f439(0x1b6))[_0x57f439(0x1a6)](this[_0x57f439(0x1b8)]),this[_0x57f439(0x1b8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc855(_0x5f4008,_0x1a2930){const _0xb85686=_0xb856();return _0xc855=function(_0xc85560,_0x4bde60){_0xc85560=_0xc85560-0x1b5;let _0x29cea9=_0xb85686[_0xc85560];return _0x29cea9;},_0xc855(_0x5f4008,_0x1a2930);}const _0x46b4a6=_0xc855;(function(_0x3d6cab,_0x1ed939){const _0x519c39=_0xc855,_0x3f4d5a=_0x3d6cab();while(!![]){try{const _0x1d4f95=-parseInt(_0x519c39(0x1d9))/0x1*(parseInt(_0x519c39(0x1db))/0x2)+-parseInt(_0x519c39(0x1d8))/0x3+parseInt(_0x519c39(0x1c9))/0x4*(-parseInt(_0x519c39(0x1d7))/0x5)+parseInt(_0x519c39(0x1c7))/0x6+parseInt(_0x519c39(0x1e7))/0x7*(-parseInt(_0x519c39(0x1bb))/0x8)+-parseInt(_0x519c39(0x1e1))/0x9+parseInt(_0x519c39(0x1e3))/0xa*(parseInt(_0x519c39(0x1cd))/0xb);if(_0x1d4f95===_0x1ed939)break;else _0x3f4d5a['push'](_0x3f4d5a['shift']());}catch(_0x2fb835){_0x3f4d5a['push'](_0x3f4d5a['shift']());}}}(_0xb856,0x7aef0));import{View as _0x399b86}from'ckeditor5/src/ui.js';function _0xb856(){const _0x53fb9a=['bind','fire','4024773aMUhnG','assign','1819190dnVDom','length','destroy','_createCommentViews','977963gWUbAi','commentThreadInputView','editor','addComment','hasDirtyComment','element','commentThread','updateComment','8mhWgmO','showInput','locale','setData','set','commentsListView','isDirty','isEnabled','authoredAt','CommentView','canDiscard','isReadOnly','4416132frjGKR','removeComment','2384888ZMVZmf','value','submit','editorConfig','121CqmVzq','disabledSubmit','delegate','commentInputView','_localUser','focus','_createCommentThreadInputView','disableComments','cancel','_config','5IBFVRx','2657046wwowLK','5xIwzZt','descriptionParts','65914IHHDEW','_model','isActive','canAccept'];_0xb856=function(){return _0x53fb9a;};return _0xb856();}export default class es extends _0x399b86{constructor(_0xb636c4,_0x2e0e2f,_0x10004b,_0x36ca74){const _0x20198f=_0xc855;super(_0xb636c4),this[_0x20198f(0x1c0)]=null,this[_0x20198f(0x1e8)]=null,this[_0x20198f(0x1bf)](_0x20198f(0x1dd),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c3),_0x2e0e2f[_0x20198f(0x1c3)]),this[_0x20198f(0x1df)](_0x20198f(0x1c3))['to'](_0x2e0e2f),this[_0x20198f(0x1bf)](_0x20198f(0x1da),[]),this[_0x20198f(0x1bf)](_0x20198f(0x1c1),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c2),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1de),!0x1),this[_0x20198f(0x1bf)](_0x20198f(0x1c5),!0x1),this[_0x20198f(0x1dc)]=_0x2e0e2f,this[_0x20198f(0x1d1)]=_0x10004b,this[_0x20198f(0x1d6)]=_0x36ca74,_0x36ca74[_0x20198f(0x1d4)]?this[_0x20198f(0x1bf)](_0x20198f(0x1e4),0x1):this[_0x20198f(0x1e6)]();}[_0x46b4a6(0x1d2)](){const _0x259c37=_0x46b4a6;this[_0x259c37(0x1b8)][_0x259c37(0x1d2)]();}[_0x46b4a6(0x1e5)](){const _0x4a6538=_0x46b4a6;this[_0x4a6538(0x1c0)]&&this[_0x4a6538(0x1c0)][_0x4a6538(0x1e5)](),this[_0x4a6538(0x1e8)]&&this[_0x4a6538(0x1e8)][_0x4a6538(0x1e5)](),super[_0x4a6538(0x1e5)]();}[_0x46b4a6(0x1e6)](){const _0x29d89a=_0x46b4a6,{CommentsListView:_0x3ed5d9}=this[_0x29d89a(0x1d6)];this[_0x29d89a(0x1c0)]=new _0x3ed5d9(this[_0x29d89a(0x1bd)],this[_0x29d89a(0x1dc)][_0x29d89a(0x1b9)],Object[_0x29d89a(0x1e2)]({'CommentView':this[_0x29d89a(0x1d6)][_0x29d89a(0x1c4)]},this[_0x29d89a(0x1d6)])),this[_0x29d89a(0x1c0)][_0x29d89a(0x1cf)](_0x29d89a(0x1c8))['to'](this),this[_0x29d89a(0x1c0)][_0x29d89a(0x1cf)](_0x29d89a(0x1ba))['to'](this),this[_0x29d89a(0x1c0)][_0x29d89a(0x1df)](_0x29d89a(0x1dd))['to'](this),this[_0x29d89a(0x1bf)](_0x29d89a(0x1e4),this[_0x29d89a(0x1c0)][_0x29d89a(0x1e4)]+0x1),this[_0x29d89a(0x1df)](_0x29d89a(0x1e4))['to'](this[_0x29d89a(0x1c0)],_0x29d89a(0x1e4),_0x3c2ca5=>_0x3c2ca5+0x1),this[_0x29d89a(0x1e8)]=this[_0x29d89a(0x1d3)](),this['on'](_0x29d89a(0x1c8),()=>this[_0x29d89a(0x1d2)]()),this[_0x29d89a(0x1df)](_0x29d89a(0x1c1))['to'](this[_0x29d89a(0x1c0)],_0x29d89a(0x1b7),this[_0x29d89a(0x1e8)][_0x29d89a(0x1d0)],_0x29d89a(0x1ca),(_0x3f68ec,_0x280fa8)=>_0x3f68ec||!!_0x280fa8);}[_0x46b4a6(0x1d3)](){const _0x312e6e=_0x46b4a6,{CommentThreadInputView:_0x3b2f9d}=this[_0x312e6e(0x1d6)],_0x3a7742=new _0x3b2f9d(this[_0x312e6e(0x1bd)],this[_0x312e6e(0x1d1)],this[_0x312e6e(0x1d6)][_0x312e6e(0x1cc)]),_0x389b6b=_0x3a7742[_0x312e6e(0x1d0)];return _0x3a7742[_0x312e6e(0x1df)](_0x312e6e(0x1bc))['to'](this,_0x312e6e(0x1dd),this[_0x312e6e(0x1dc)][_0x312e6e(0x1b9)],_0x312e6e(0x1c6),_0x389b6b,_0x312e6e(0x1ca),(_0x2d2f87,_0xf95128,_0x2db26a)=>!!_0x2db26a||_0x2d2f87&&!_0xf95128),_0x389b6b['on'](_0x312e6e(0x1cb),(_0x48e5d7,_0x43f24f)=>{const _0x36ab8e=_0x312e6e;this[_0x36ab8e(0x1e0)](_0x36ab8e(0x1b6),_0x43f24f),_0x389b6b[_0x36ab8e(0x1b5)][_0x36ab8e(0x1be)]('');}),_0x389b6b['on'](_0x312e6e(0x1d5),()=>this[_0x312e6e(0x1d2)]()),_0x389b6b[_0x312e6e(0x1df)](_0x312e6e(0x1ce))['to'](this[_0x312e6e(0x1dc)][_0x312e6e(0x1b9)],_0x312e6e(0x1c6)),_0x3a7742;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x554463=_0x3f2c;(function(_0x4d9e41,_0x5381bc){const _0x27caf2=_0x3f2c,_0x548ca4=_0x4d9e41();while(!![]){try{const _0x2fa6f7=parseInt(_0x27caf2(0x202))/0x1*(-parseInt(_0x27caf2(0x1b9))/0x2)+parseInt(_0x27caf2(0x1af))/0x3+parseInt(_0x27caf2(0x214))/0x4+-parseInt(_0x27caf2(0x209))/0x5*(-parseInt(_0x27caf2(0x1d3))/0x6)+parseInt(_0x27caf2(0x1ca))/0x7+-parseInt(_0x27caf2(0x1e9))/0x8+parseInt(_0x27caf2(0x1f6))/0x9;if(_0x2fa6f7===_0x5381bc)break;else _0x548ca4['push'](_0x548ca4['shift']());}catch(_0x5cd24b){_0x548ca4['push'](_0x548ca4['shift']());}}}(_0x35fd,0x42597));import{getTranslation as _0x8d36b}from'../../utils/common-translations.js';function _0x3f2c(_0x225c34,_0xd34e65){const _0x35fdea=_0x35fd();return _0x3f2c=function(_0x3f2c15,_0x5b73f4){_0x3f2c15=_0x3f2c15-0x1ae;let _0x4d39b5=_0x35fdea[_0x3f2c15];return _0x4d39b5;},_0x3f2c(_0x225c34,_0xd34e65);}import{default as _0x1a5423}from'./basesuggestionthreadview.js';function _0x35fd(){const _0x1e2901=['div','ck-suggestion__actions','title','join','ck-annotation__user','bindTemplate','acceptSuggestion','author','</p>','26882VkPfwT','execute','commentThread','createElement','ck-annotation__info','EXTERNAL_AVATAR','ck-suggestion--discard','<span\x20class=\x22ck-suggestion-type\x22>','creator','\x22\x20title=\x22','content','_descriptionElement','_createButton','ck-annotation__info-name','render','canDiscard','\x22></span>','698768tvBNNE','Accept\x20suggestion','innerText','getUserViewNotificationText','push','@external','ck-suggestion','time','userView','6fhUJSg','color','discardSuggestion','source','description','setTemplate','formatDateTime','ck-suggestion-wrapper','<p>','map','.ck-annotation__content-wrapper','importWord','ck-suggestion-wrapper--active','EXTERNAL_IMPORT_WORD_SUGGESTION','split','check','delegate','ck-suggestion__main','discardButton','descriptionParts','ck-comment__info-time','isExternal','4267904ccgUbw','locale','value','ck-suggestion__info-name','EXTERNAL_IMPORT_WORD_AVATAR','extendTemplate','commentThreadInputView','ck-annotation__main','editorReady','ck-comment__external','ck-annotation','innerHTML','editorDestroyed','4058928Jbtmgy','name','_model','_config','ck-annotation__info-time','authoredAt','cancel','fire','getTemplate','ck-annotation__actions','attributes','EXTERNAL_SUGGESTION','19nSqIdT','span','acceptButton','change:description','Discard\x20suggestion','querySelector','ck-suggestion--accept','307435wmXVIu','type','ck-annotation__content-wrapper','children','ck-suggestion__user','set','isActive','isEnabled','ck-suggestion__info','</span>','element','1731136XXjrLj','disableComments','ck-suggestion--disabled-comments','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','commentsListView','ck-suggestion-','canAccept','getExternalSuggestionNote','bind','46641VaBlgr'];_0x35fd=function(){return _0x1e2901;};return _0x35fd();}import{ButtonView as _0xdf2c88}from'ckeditor5/src/ui.js';import{icons as _0x1a8540}from'ckeditor5/src/core.js';import{trimHtml as _0x7a14b9,UserView as _0x563b5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x1a5423{constructor(_0x3c1f18,_0x3ca318,_0x4b5e47,_0x4adef1){const _0x52f7b0=_0x3f2c;super(_0x3c1f18,_0x3ca318,_0x4b5e47,_0x4adef1),this[_0x52f7b0(0x20e)](_0x52f7b0(0x20a),''),this[_0x52f7b0(0x1ae)](_0x52f7b0(0x20a))['to'](this,_0x52f7b0(0x1e6),_0x5edfb8=>_0x5edfb8&&_0x5edfb8[0x0]?_0x5edfb8[0x0][_0x52f7b0(0x20a)]:''),this[_0x52f7b0(0x1ae)](_0x52f7b0(0x1d7))['to'](this,_0x52f7b0(0x1e6),this,_0x52f7b0(0x20f),(_0x32ecec,_0x3451ae)=>{const _0x4082d8=_0x52f7b0;let _0x5cf2b5='';for(const _0x2fa934 of _0x32ecec)_0x5cf2b5+=_0x4082d8(0x1db)+ds(_0x2fa934[_0x4082d8(0x1c3)],_0x2fa934[_0x4082d8(0x1d4)])+_0x4082d8(0x1b8);return _0x3451ae?_0x5cf2b5:_0x7a14b9(_0x5cf2b5,{'limit':0x8c});}),this[_0x52f7b0(0x1c4)]=null,this[_0x52f7b0(0x204)]=this[_0x52f7b0(0x1c5)](_0x8d36b(_0x3c1f18,_0x52f7b0(0x1cb)),_0x1a8540[_0x52f7b0(0x1e2)],_0x52f7b0(0x208),_0x52f7b0(0x1b6),'sw'),this[_0x52f7b0(0x204)][_0x52f7b0(0x1ae)](_0x52f7b0(0x210))['to'](this,_0x52f7b0(0x21a)),this[_0x52f7b0(0x1e5)]=this[_0x52f7b0(0x1c5)](_0x8d36b(_0x3c1f18,_0x52f7b0(0x206)),_0x1a8540[_0x52f7b0(0x1fc)],_0x52f7b0(0x1bf),_0x52f7b0(0x1d5),'sw'),this[_0x52f7b0(0x1e5)][_0x52f7b0(0x1ae)](_0x52f7b0(0x210))['to'](this,_0x52f7b0(0x1c8)),this[_0x52f7b0(0x1d2)]=new _0x563b5(_0x3c1f18,this[_0x52f7b0(0x1f8)][_0x52f7b0(0x1b7)],this[_0x52f7b0(0x1cd)]()),this[_0x52f7b0(0x1d2)][_0x52f7b0(0x1ee)]({'attributes':{'class':[_0x52f7b0(0x20d),_0x52f7b0(0x1b4)]}}),this[_0x52f7b0(0x1d8)](this[_0x52f7b0(0x1fe)]());}[_0x554463(0x1fe)](){const _0x108cc0=_0x554463,_0x473bbb=this[_0x108cc0(0x1b5)],_0x16cc99=[{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x211),_0x108cc0(0x1bd)]},'children':[{'tag':_0x108cc0(0x203),'children':[{'text':this[_0x108cc0(0x1d2)][_0x108cc0(0x1f7)]}],'attributes':{'class':[_0x108cc0(0x1ec),_0x108cc0(0x1c6)]}},{'tag':_0x108cc0(0x1d1),'attributes':{'datetime':_0x473bbb['to'](_0x108cc0(0x1fb)),'class':[_0x108cc0(0x1e7),_0x108cc0(0x1fa)]},'children':[{'text':_0x473bbb['to'](_0x108cc0(0x1fb),_0x53e024=>this[_0x108cc0(0x1f9)][_0x108cc0(0x1d9)](_0x53e024))}]}]},{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1b1),_0x108cc0(0x1ff)]},'children':[this[_0x108cc0(0x204)],this[_0x108cc0(0x1e5)]]},{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x20b)]}}];this[_0x108cc0(0x1f8)][_0x108cc0(0x1e8)]&&_0x16cc99[_0x108cc0(0x1ce)]({'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1f2)]},'children':[{'text':this[_0x108cc0(0x21b)]()}]});const _0x1b026e={'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1da),_0x473bbb['if'](_0x108cc0(0x20f),_0x108cc0(0x1df)),_0x473bbb['to'](_0x108cc0(0x20a),_0x1f9e94=>_0x108cc0(0x219)+_0x1f9e94),this[_0x108cc0(0x1f9)][_0x108cc0(0x215)]&&_0x108cc0(0x216)],'data-suggestion-id':this[_0x108cc0(0x1f8)]['id'],'data-thread-id':this[_0x108cc0(0x1f8)][_0x108cc0(0x1bb)]['id'],'data-author-id':this[_0x108cc0(0x1f8)][_0x108cc0(0x1b7)]['id'],'tabindex':-0x1},'children':[{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1d0),_0x108cc0(0x1f3)]},'children':[this[_0x108cc0(0x1d2)],{'tag':_0x108cc0(0x1b0),'attributes':{'class':[_0x108cc0(0x1e4),_0x108cc0(0x1f0)]},'children':_0x16cc99}]}]};return this[_0x108cc0(0x218)]&&this[_0x108cc0(0x1ef)]&&(_0x1b026e[_0x108cc0(0x20c)][_0x108cc0(0x1ce)](this[_0x108cc0(0x218)],this[_0x108cc0(0x1ef)]),this[_0x108cc0(0x218)][_0x108cc0(0x1e3)](_0x108cc0(0x1f1))['to'](this),this[_0x108cc0(0x218)][_0x108cc0(0x1e3)](_0x108cc0(0x1f5))['to'](this),this[_0x108cc0(0x1ef)][_0x108cc0(0x1e3)](_0x108cc0(0x1f1))['to'](this),this[_0x108cc0(0x1ef)][_0x108cc0(0x1e3)](_0x108cc0(0x1f5))['to'](this)),_0x1b026e;}[_0x554463(0x1c7)](){const _0xf67a63=_0x554463;super[_0xf67a63(0x1c7)](),this[_0xf67a63(0x1c4)]=this[_0xf67a63(0x213)][_0xf67a63(0x207)](_0xf67a63(0x1dd)),this[_0xf67a63(0x1c4)][_0xf67a63(0x1f4)]=this[_0xf67a63(0x1d7)],this['on'](_0xf67a63(0x205),(_0x313f69,_0x125b67,_0x51b001)=>{const _0x5630bd=_0xf67a63;this[_0x5630bd(0x1c4)][_0x5630bd(0x1f4)]=_0x51b001;});}[_0x554463(0x1c5)](_0x5076ba,_0x75ee3a,_0x3164a5,_0x99d68b,_0x35c8bf){const _0x29e2ef=_0x554463,_0x432cd3=new _0xdf2c88(this[_0x29e2ef(0x1ea)]);return _0x432cd3[_0x29e2ef(0x20e)]({'label':_0x5076ba,'icon':_0x75ee3a,'tooltip':!0x0,'tooltipPosition':_0x35c8bf}),_0x432cd3[_0x29e2ef(0x1ee)]({'attributes':{'class':_0x3164a5}}),_0x432cd3['on'](_0x29e2ef(0x1ba),()=>{const _0x564cc0=_0x29e2ef;this[_0x564cc0(0x1fd)](_0x99d68b,this[_0x564cc0(0x1f8)]['id']);}),_0x432cd3;}[_0x554463(0x21b)](){const _0x1f8ca9=_0x554463;return _0x1f8ca9(0x1de)===this[_0x1f8ca9(0x1f8)][_0x1f8ca9(0x200)][_0x1f8ca9(0x1cf)][_0x1f8ca9(0x1d6)]?_0x8d36b(this[_0x1f8ca9(0x1ea)],_0x1f8ca9(0x1e0)):_0x8d36b(this[_0x1f8ca9(0x1ea)],_0x1f8ca9(0x201));}[_0x554463(0x1cd)](){const _0x1204ce=_0x554463;return this[_0x1204ce(0x1f8)][_0x1204ce(0x1e8)]?_0x1204ce(0x1de)===this[_0x1204ce(0x1f8)][_0x1204ce(0x200)][_0x1204ce(0x1cf)][_0x1204ce(0x1d6)]?_0x8d36b(this[_0x1204ce(0x1ea)],_0x1204ce(0x1ed),this[_0x1204ce(0x1f8)][_0x1204ce(0x1c1)][_0x1204ce(0x1f7)]):_0x8d36b(this[_0x1204ce(0x1ea)],_0x1204ce(0x1be),this[_0x1204ce(0x1f8)][_0x1204ce(0x1c1)][_0x1204ce(0x1f7)]):null;}}function ds(_0x537447,_0x4f8feb){const _0x3aab25=_0x554463;let _0xea700b='';return _0xea700b+=_0x537447[_0x3aab25(0x1e1)]('*')[_0x3aab25(0x1dc)]((_0x268cfa,_0x3435b0)=>_0x3435b0%0x2!=0x0?_0x3aab25(0x1c0)+us(_0x268cfa)+_0x3aab25(0x212):us(_0x268cfa))[_0x3aab25(0x1b3)](''),_0x4f8feb&&(_0xea700b+=_0x3aab25(0x217)+_0x4f8feb[_0x3aab25(0x1eb)]+_0x3aab25(0x1c2)+_0x4f8feb[_0x3aab25(0x1b2)]+_0x3aab25(0x1c9)),_0xea700b;}function us(_0x3af782){const _0x414503=_0x554463,_0x260a51=document[_0x414503(0x1bc)](_0x414503(0x203));return _0x260a51[_0x414503(0x1cc)]=_0x3af782,_0x260a51[_0x414503(0x1f4)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x102dc8,_0x52d8ae,_0x11aeb2){const t=_0x102dc8['t'];switch(_0x52d8ae){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x11aeb2);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x11aeb2);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x11aeb2);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x11aeb2);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x11aeb2);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x11aeb2);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x11aeb2);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x11aeb2);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x11aeb2);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x11aeb2);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x11aeb2);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x11aeb2);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x11aeb2);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x11aeb2);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x11aeb2);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x11aeb2);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x11aeb2);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x11aeb2);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x11aeb2);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x11aeb2);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x11aeb2);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x11aeb2);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x11aeb2);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x11aeb2);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x11aeb2);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x11aeb2);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x11aeb2);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x11aeb2);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x11aeb2);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x11aeb2);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x11aeb2);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x11aeb2);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x11aeb2);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x11aeb2);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x11aeb2);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x11aeb2);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x11aeb2);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x11aeb2);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x11aeb2);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x11aeb2);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x11aeb2);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x11aeb2);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x11aeb2);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x11aeb2);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x11aeb2);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'},_0x11aeb2);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x52d8ae;}}
|
|
23
|
+
export function getTranslation(_0x5aa70c,_0x1cfcd6,_0x53f7aa){const t=_0x5aa70c['t'];switch(_0x1cfcd6){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x53f7aa);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x53f7aa);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x53f7aa);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x53f7aa);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x53f7aa);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x53f7aa);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x53f7aa);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x53f7aa);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x53f7aa);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x53f7aa);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x53f7aa);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x53f7aa);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x53f7aa);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x53f7aa);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x53f7aa);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x53f7aa);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x53f7aa);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x53f7aa);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x53f7aa);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x53f7aa);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x53f7aa);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x53f7aa);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x53f7aa);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x53f7aa);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x53f7aa);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x53f7aa);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x53f7aa);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x53f7aa);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x53f7aa);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x53f7aa);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x53f7aa);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x53f7aa);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x53f7aa);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x53f7aa);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x53f7aa);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x53f7aa);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x53f7aa);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x53f7aa);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x53f7aa);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x53f7aa);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x53f7aa);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x53f7aa);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x53f7aa);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x53f7aa);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x53f7aa);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'},_0x53f7aa);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x1cfcd6;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3b16(){const _0x306b51=['createRange','createPositionBefore','4811980bVzijC','value','6ZeVhBo','splice','sort','next','push','374633UMKUgm','content','add','map','isIntersecting','replace','type','isArray','join','isTouching','start','end','43062aRPyTx','from','3572272zzZADI','isCollapsed','478194HsnaCS','deletion','change','isObject','schema','1184560WbCgQN','\x20[color\x20','isInContent','color','isMultiRange','9MrcYGh','length','60HooYyX','createPositionAt','56IfrKOY','165080rrMukV','getRanges','createPositionAfter','execute'];_0x3b16=function(){return _0x306b51;};return _0x3b16();}(function(_0x4f9054,_0x32b76a){const _0x5e05c2=_0x14c4,_0x4baa7d=_0x4f9054();while(!![]){try{const _0x359e73=parseInt(_0x5e05c2(0xd9))/0x1+-parseInt(_0x5e05c2(0xde))/0x2+-parseInt(_0x5e05c2(0xf0))/0x3*(-parseInt(_0x5e05c2(0xe8))/0x4)+parseInt(_0x5e05c2(0xe5))/0x5*(-parseInt(_0x5e05c2(0xd5))/0x6)+parseInt(_0x5e05c2(0xf5))/0x7*(-parseInt(_0x5e05c2(0xe7))/0x8)+parseInt(_0x5e05c2(0xe3))/0x9*(parseInt(_0x5e05c2(0xee))/0xa)+parseInt(_0x5e05c2(0xd7))/0xb;if(_0x359e73===_0x32b76a)break;else _0x4baa7d['push'](_0x4baa7d['shift']());}catch(_0x135e7c){_0x4baa7d['push'](_0x4baa7d['shift']());}}}(_0x3b16,0x4c92f));function _0x14c4(_0x250532,_0x4a694f){const _0x3b16c2=_0x3b16();return _0x14c4=function(_0x14c4e8,_0x4010ad){_0x14c4e8=_0x14c4e8-0xd5;let _0x1e1d40=_0x3b16c2[_0x14c4e8];return _0x1e1d40;},_0x14c4(_0x250532,_0x4a694f);}export function normalizeDescription(_0x3c5c57){const _0x12e43d=_0x14c4;return Array[_0x12e43d(0xfc)](_0x3c5c57)||(_0x3c5c57=[_0x3c5c57]),_0x3c5c57[_0x12e43d(0xf8)](_0x1400b7=>{const _0x581ccb=_0x12e43d,_0x486cae=_0x1400b7[_0x581ccb(0xf6)][_0x581ccb(0xfa)](/\*/g,''),_0x4183ea=_0x1400b7[_0x581ccb(0xe1)]?_0x581ccb(0xdf)+_0x1400b7[_0x581ccb(0xe1)][_0x581ccb(0xef)]+']':'';return'['+_0x1400b7[_0x581ccb(0xfb)]+']\x20'+_0x486cae+_0x4183ea;})[_0x12e43d(0xfd)](';\x20');}export function sortSuggestions(_0x5b6a0a){const _0x2631fd=_0x14c4;return _0x5b6a0a[_0x2631fd(0xf2)]((_0x313068,_0x12db6d)=>_0x2631fd(0xda)==_0x313068[_0x2631fd(0xfb)]&&_0x2631fd(0xda)!=_0x12db6d[_0x2631fd(0xfb)]?-0x1:_0x2631fd(0xda)!=_0x313068[_0x2631fd(0xfb)]&&_0x2631fd(0xda)==_0x12db6d[_0x2631fd(0xfb)]?0x1:0x0);}export function getSelectedSuggestions(_0xb72522,_0x300418){const _0x3f4ed1=_0x14c4,_0x35c96d=Array[_0x3f4ed1(0xd6)](_0xb72522[_0x3f4ed1(0xe9)]()),_0x2a0633=new Set();for(const _0x5b731c of _0x300418)if(_0x5b731c[_0x3f4ed1(0xe0)]){for(const _0x203e5b of _0x35c96d)for(const _0xfcf001 of _0x5b731c[_0x3f4ed1(0xe9)]())(_0x203e5b[_0x3f4ed1(0xf9)](_0xfcf001)||_0xb72522[_0x3f4ed1(0xd8)]&&!_0x5b731c[_0x3f4ed1(0xe2)]&&_0x5b731c[_0x3f4ed1(0xf3)]&&_0xfcf001[_0x3f4ed1(0x100)][_0x3f4ed1(0xfe)](_0x203e5b[_0x3f4ed1(0xff)]))&&_0x2a0633[_0x3f4ed1(0xf7)](_0x5b731c);}return _0x2a0633;}export function getRangesOfBlockGroups(_0x2cf73b,_0x2b6064){const _0x1592c4=_0x14c4;let _0x19177c,_0x42b62c=0x0;const _0x559afa=[],_0x4befdf=_0x2b6064[_0x1592c4(0xdd)];for(;_0x42b62c<_0x2cf73b[_0x1592c4(0xe4)];){const _0x27c5cd=_0x2cf73b[_0x42b62c],_0x15b145=_0x2cf73b[_0x42b62c+0x1];_0x19177c||(_0x19177c=_0x2b6064[_0x1592c4(0xed)](_0x27c5cd)),co(_0x2b6064,_0x27c5cd,_0x15b145)||(_0x559afa[_0x1592c4(0xf4)](_0x2b6064[_0x1592c4(0xec)](_0x19177c,_0x4befdf[_0x1592c4(0xdc)](_0x27c5cd)?_0x2b6064[_0x1592c4(0xea)](_0x27c5cd):_0x2b6064[_0x1592c4(0xe6)](_0x27c5cd,_0x1592c4(0x100)))),_0x19177c=null),_0x42b62c++;}return _0x559afa;}function co(_0x56240d,_0x5d398d,_0x10b217){const _0x3f2013=_0x14c4;if(!_0x10b217)return!0x1;const _0x1b7eff=_0x56240d[_0x3f2013(0xea)](_0x5d398d),_0x52aacc=_0x56240d[_0x3f2013(0xed)](_0x10b217);return _0x1b7eff[_0x3f2013(0xfe)](_0x52aacc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x412f26,_0x152762,_0x4ad986){const _0x2093af=_0x14c4;for(;_0x4ad986[_0x2093af(0xe4)];){const _0x97d3a2=_0x4ad986[_0x2093af(0xf1)](0x0,0x64);_0x412f26[_0x2093af(0xdb)](()=>{const _0xf3a269=_0x2093af;for(const _0x22436d of _0x97d3a2)_0x22436d[_0xf3a269(0xe0)]&&_0x152762[_0xf3a269(0xeb)](_0x22436d['id']);});}}
|