@ckeditor/ckeditor5-track-changes 41.3.0-alpha.3 → 41.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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 _0x3cff0f=_0x19b4;(function(_0x5eccc8,_0x3cd5c1){const _0x4e0342=_0x19b4,_0xdf0895=_0x5eccc8();while(!![]){try{const _0x310942=parseInt(_0x4e0342(0x151))/0x1+-parseInt(_0x4e0342(0x150))/0x2*(parseInt(_0x4e0342(0x12f))/0x3)+parseInt(_0x4e0342(0x140))/0x4*(parseInt(_0x4e0342(0x13b))/0x5)+parseInt(_0x4e0342(0x147))/0x6*(-parseInt(_0x4e0342(0x12b))/0x7)+-parseInt(_0x4e0342(0x135))/0x8+parseInt(_0x4e0342(0x145))/0x9+-parseInt(_0x4e0342(0x13f))/0xa*(parseInt(_0x4e0342(0x148))/0xb);if(_0x310942===_0x3cd5c1)break;else _0xdf0895['push'](_0xdf0895['shift']());}catch(_0x1c68d0){_0xdf0895['push'](_0xdf0895['shift']());}}}(_0x5a99,0x5c2d4));function _0x19b4(_0x22fae6,_0x1395e3){const _0x5a9937=_0x5a99();return _0x19b4=function(_0x19b44a,_0x246903){_0x19b44a=_0x19b44a-0x127;let _0x4b15ec=_0x5a9937[_0x19b44a];return _0x4b15ec;},_0x19b4(_0x22fae6,_0x1395e3);}import{ObservableMixin as _0x6920f8}from'ckeditor5/src/utils.js';function _0x5a99(){const _0x56b179=['model','commands','canDiscard','get','28HhAxtu','628103bqQnbY','bind','PendingActions','view','isEnabled','7duFCGr','getRanges','change:isDirty','stopListening','81231wSepSA','_editor','discardSuggestion','_pendingAction','canAccept','destroy','665896kZukLP','add','_setPendingAction','remove','execute','locale','5ihfrio','acceptSuggestion','_acceptCommand','_removePendingAction','70fLhsvS','1299724ZafuYv','commentThreadController','plugins','isDirty','PENDING_ACTION_SUGGESTION','2913129dFCTLu','_discardCommand','1370010VmomlI','327657pvAwjx','listenTo','canEditAt','unbind'];_0x5a99=function(){return _0x56b179;};return _0x5a99();}import{getTranslation as _0x4838da}from'../utils/common-translations.js';export default class oe extends _0x6920f8(){constructor(_0x115e99,_0x2bc3b1,_0x5cea34,_0x22c18a){const _0x22504a=_0x19b4;super(),this[_0x22504a(0x14c)]=_0x2bc3b1,this[_0x22504a(0x129)]=_0x5cea34,this[_0x22504a(0x141)]=_0x22c18a,this[_0x22504a(0x130)]=_0x115e99,this[_0x22504a(0x13d)]=_0x115e99[_0x22504a(0x14d)][_0x22504a(0x14f)](_0x22504a(0x13c)),this[_0x22504a(0x146)]=_0x115e99[_0x22504a(0x14d)][_0x22504a(0x14f)](_0x22504a(0x131)),this[_0x22504a(0x129)][_0x22504a(0x127)](_0x22504a(0x12a))['to'](this[_0x22504a(0x13d)],this[_0x22504a(0x146)],(_0x5dd92d,_0x3a1d4f)=>_0x5dd92d||_0x3a1d4f),this[_0x22504a(0x129)][_0x22504a(0x127)](_0x22504a(0x133))['to'](this[_0x22504a(0x13d)],_0x22504a(0x12a),_0x51a7cf=>_0x51a7cf&&this[_0x22504a(0x130)][_0x22504a(0x14c)][_0x22504a(0x14a)](_0x2bc3b1[_0x22504a(0x12c)]())),this[_0x22504a(0x129)][_0x22504a(0x127)](_0x22504a(0x14e))['to'](this[_0x22504a(0x146)],_0x22504a(0x12a),_0x213316=>_0x213316&&this[_0x22504a(0x130)][_0x22504a(0x14c)][_0x22504a(0x14a)](_0x2bc3b1[_0x22504a(0x12c)]())),this[_0x22504a(0x132)]=null,_0x5cea34[_0x22504a(0x143)]&&this[_0x22504a(0x137)](),this[_0x22504a(0x149)](_0x5cea34,_0x22504a(0x13c),()=>this[_0x22504a(0x13c)]()),this[_0x22504a(0x149)](_0x5cea34,_0x22504a(0x131),()=>this[_0x22504a(0x131)]()),this[_0x22504a(0x149)](_0x5cea34,_0x22504a(0x12d),()=>{const _0x516817=_0x22504a;_0x5cea34[_0x516817(0x143)]?this[_0x516817(0x137)]():this[_0x516817(0x13e)]();});}[_0x3cff0f(0x13c)](){const _0xdf654b=_0x3cff0f;this[_0xdf654b(0x13d)][_0xdf654b(0x139)](this[_0xdf654b(0x14c)]['id']);}[_0x3cff0f(0x131)](){const _0x19c89e=_0x3cff0f;this[_0x19c89e(0x146)][_0x19c89e(0x139)](this[_0x19c89e(0x14c)]['id']);}[_0x3cff0f(0x134)](){const _0x5e871c=_0x3cff0f;this[_0x5e871c(0x129)][_0x5e871c(0x14b)](_0x5e871c(0x12a)),this[_0x5e871c(0x129)][_0x5e871c(0x14b)](_0x5e871c(0x133)),this[_0x5e871c(0x129)][_0x5e871c(0x14b)](_0x5e871c(0x14e)),this[_0x5e871c(0x12e)](),this[_0x5e871c(0x141)][_0x5e871c(0x134)](),this[_0x5e871c(0x132)]&&this[_0x5e871c(0x13e)]();}[_0x3cff0f(0x137)](){const _0x330158=_0x3cff0f,_0x552c18=_0x4838da(this[_0x330158(0x130)][_0x330158(0x13a)],_0x330158(0x144));this[_0x330158(0x132)]=this[_0x330158(0x130)][_0x330158(0x142)][_0x330158(0x14f)](_0x330158(0x128))[_0x330158(0x136)](_0x552c18);}[_0x3cff0f(0x13e)](){const _0x185e60=_0x3cff0f;null!==this[_0x185e60(0x132)]&&this[_0x185e60(0x130)][_0x185e60(0x142)][_0x185e60(0x14f)](_0x185e60(0x128))[_0x185e60(0x138)](this[_0x185e60(0x132)]),this[_0x185e60(0x132)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x48f9b4=_0x2f38;function _0x2f38(_0x2a89e3,_0x33810f){const _0x468e3c=_0x468e();return _0x2f38=function(_0x2f384d,_0x3563cb){_0x2f384d=_0x2f384d-0x93;let _0x7065e8=_0x468e3c[_0x2f384d];return _0x7065e8;},_0x2f38(_0x2a89e3,_0x33810f);}(function(_0x30f574,_0xf3ff10){const _0x5db0c=_0x2f38,_0x9b61a0=_0x30f574();while(!![]){try{const _0x226d35=parseInt(_0x5db0c(0xa8))/0x1+-parseInt(_0x5db0c(0xab))/0x2+-parseInt(_0x5db0c(0xba))/0x3+-parseInt(_0x5db0c(0xa1))/0x4*(parseInt(_0x5db0c(0xbf))/0x5)+parseInt(_0x5db0c(0x9a))/0x6*(parseInt(_0x5db0c(0x99))/0x7)+parseInt(_0x5db0c(0x9c))/0x8*(parseInt(_0x5db0c(0xbb))/0x9)+parseInt(_0x5db0c(0xc2))/0xa*(parseInt(_0x5db0c(0xa9))/0xb);if(_0x226d35===_0xf3ff10)break;else _0x9b61a0['push'](_0x9b61a0['shift']());}catch(_0x3ee586){_0x9b61a0['push'](_0x9b61a0['shift']());}}}(_0x468e,0x85ee8));function _0x468e(){const _0x49bf8e=['set','showInput','destroy','canDiscard','updateComment','commentThreadInputView','_model','length','commentThread','bind','setData','value','_createCommentThreadInputView','3063720VqyXFv','162wJdyjw','assign','commentsListView','_localUser','4655fwDYkK','addComment','isReadOnly','380zdzQkf','disableComments','_config','isActive','locale','authoredAt','removeComment','disabledSubmit','_createCommentViews','CommentView','cancel','14NiMYow','558606jMMrBy','focus','177440qERHZK','isEnabled','delegate','commentInputView','element','1756kLhaTs','descriptionParts','editorConfig','submit','isDirty','canAccept','fire','1040245rDyMzG','205634UCFxLM','hasDirtyComment','715052KvQvKW','editor'];_0x468e=function(){return _0x49bf8e;};return _0x468e();}import{View as _0x43a574}from'ckeditor5/src/ui.js';export default class es extends _0x43a574{constructor(_0x195ee4,_0x24c237,_0x2f1bac,_0x1adcd6){const _0x1b17d3=_0x2f38;super(_0x195ee4),this[_0x1b17d3(0xbd)]=null,this[_0x1b17d3(0xb2)]=null,this[_0x1b17d3(0xad)](_0x1b17d3(0xc5),!0x1),this[_0x1b17d3(0xad)](_0x1b17d3(0x93),_0x24c237[_0x1b17d3(0x93)]),this[_0x1b17d3(0xb6)](_0x1b17d3(0x93))['to'](_0x24c237),this[_0x1b17d3(0xad)](_0x1b17d3(0xa2),[]),this[_0x1b17d3(0xad)](_0x1b17d3(0xa5),!0x1),this[_0x1b17d3(0xad)](_0x1b17d3(0x9d),!0x1),this[_0x1b17d3(0xad)](_0x1b17d3(0xa6),!0x1),this[_0x1b17d3(0xad)](_0x1b17d3(0xb0),!0x1),this[_0x1b17d3(0xb3)]=_0x24c237,this[_0x1b17d3(0xbe)]=_0x2f1bac,this[_0x1b17d3(0xc4)]=_0x1adcd6,_0x1adcd6[_0x1b17d3(0xc3)]?this[_0x1b17d3(0xad)](_0x1b17d3(0xb4),0x1):this[_0x1b17d3(0x96)]();}[_0x48f9b4(0x9b)](){const _0x416205=_0x48f9b4;this[_0x416205(0xa0)][_0x416205(0x9b)]();}[_0x48f9b4(0xaf)](){const _0xac778f=_0x48f9b4;this[_0xac778f(0xbd)]&&this[_0xac778f(0xbd)][_0xac778f(0xaf)](),this[_0xac778f(0xb2)]&&this[_0xac778f(0xb2)][_0xac778f(0xaf)](),super[_0xac778f(0xaf)]();}[_0x48f9b4(0x96)](){const _0x58f241=_0x48f9b4,{CommentsListView:_0x435282}=this[_0x58f241(0xc4)];this[_0x58f241(0xbd)]=new _0x435282(this[_0x58f241(0xc6)],this[_0x58f241(0xb3)][_0x58f241(0xb5)],Object[_0x58f241(0xbc)]({'CommentView':this[_0x58f241(0xc4)][_0x58f241(0x97)]},this[_0x58f241(0xc4)])),this[_0x58f241(0xbd)][_0x58f241(0x9e)](_0x58f241(0x94))['to'](this),this[_0x58f241(0xbd)][_0x58f241(0x9e)](_0x58f241(0xb1))['to'](this),this[_0x58f241(0xbd)][_0x58f241(0xb6)](_0x58f241(0xc5))['to'](this),this[_0x58f241(0xad)](_0x58f241(0xb4),this[_0x58f241(0xbd)][_0x58f241(0xb4)]+0x1),this[_0x58f241(0xb6)](_0x58f241(0xb4))['to'](this[_0x58f241(0xbd)],_0x58f241(0xb4),_0x27e14e=>_0x27e14e+0x1),this[_0x58f241(0xb2)]=this[_0x58f241(0xb9)](),this['on'](_0x58f241(0x94),()=>this[_0x58f241(0x9b)]()),this[_0x58f241(0xb6)](_0x58f241(0xa5))['to'](this[_0x58f241(0xbd)],_0x58f241(0xaa),this[_0x58f241(0xb2)][_0x58f241(0x9f)],_0x58f241(0xb8),(_0x88475a,_0x1d32a2)=>_0x88475a||!!_0x1d32a2);}[_0x48f9b4(0xb9)](){const _0x4b6ed3=_0x48f9b4,{CommentThreadInputView:_0x181301}=this[_0x4b6ed3(0xc4)],_0x8c00eb=new _0x181301(this[_0x4b6ed3(0xc6)],this[_0x4b6ed3(0xbe)],this[_0x4b6ed3(0xc4)][_0x4b6ed3(0xa3)]),_0x3946ab=_0x8c00eb[_0x4b6ed3(0x9f)];return _0x8c00eb[_0x4b6ed3(0xb6)](_0x4b6ed3(0xae))['to'](this,_0x4b6ed3(0xc5),this[_0x4b6ed3(0xb3)][_0x4b6ed3(0xb5)],_0x4b6ed3(0xc1),_0x3946ab,_0x4b6ed3(0xb8),(_0x1423c2,_0x3f4c6c,_0x27b449)=>!!_0x27b449||_0x1423c2&&!_0x3f4c6c),_0x3946ab['on'](_0x4b6ed3(0xa4),(_0x1cfefe,_0xc84e7c)=>{const _0x2790bc=_0x4b6ed3;this[_0x2790bc(0xa7)](_0x2790bc(0xc0),_0xc84e7c),_0x3946ab[_0x2790bc(0xac)][_0x2790bc(0xb7)]('');}),_0x3946ab['on'](_0x4b6ed3(0x98),()=>this[_0x4b6ed3(0x9b)]()),_0x3946ab[_0x4b6ed3(0xb6)](_0x4b6ed3(0x95))['to'](this[_0x4b6ed3(0xb3)][_0x4b6ed3(0xb5)],_0x4b6ed3(0xc1)),_0x8c00eb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf1f9f9=_0x6572;(function(_0x115a38,_0xcb147d){const _0x332f92=_0x6572,_0x305d0d=_0x115a38();while(!![]){try{const _0x496191=-parseInt(_0x332f92(0x1d9))/0x1*(-parseInt(_0x332f92(0x1ee))/0x2)+parseInt(_0x332f92(0x1ec))/0x3+parseInt(_0x332f92(0x1e8))/0x4*(parseInt(_0x332f92(0x201))/0x5)+-parseInt(_0x332f92(0x1c5))/0x6+-parseInt(_0x332f92(0x1c0))/0x7*(parseInt(_0x332f92(0x1ae))/0x8)+parseInt(_0x332f92(0x1b1))/0x9*(parseInt(_0x332f92(0x1a9))/0xa)+-parseInt(_0x332f92(0x19f))/0xb*(parseInt(_0x332f92(0x1e6))/0xc);if(_0x496191===_0xcb147d)break;else _0x305d0d['push'](_0x305d0d['shift']());}catch(_0x39be8d){_0x305d0d['push'](_0x305d0d['shift']());}}}(_0x3faf,0x1bd2e));import{getTranslation as _0x367546}from'../../utils/common-translations.js';import{default as _0x277394}from'./basesuggestionthreadview.js';import{ButtonView as _0x581d4d}from'ckeditor5/src/ui.js';function _0x6572(_0x53ad07,_0x3482a7){const _0x3faf47=_0x3faf();return _0x6572=function(_0x65720e,_0x4a5c39){_0x65720e=_0x65720e-0x19e;let _0x597a7a=_0x3faf47[_0x65720e];return _0x597a7a;},_0x6572(_0x53ad07,_0x3482a7);}import{icons as _0x145d86}from'ckeditor5/src/core.js';import{trimHtml as _0x117c0f,UserView as _0x43cf70}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x277394{constructor(_0x14d859,_0x3a78ac,_0x1000fa,_0x4e35c0){const _0xdb2df3=_0x6572;super(_0x14d859,_0x3a78ac,_0x1000fa,_0x4e35c0),this[_0xdb2df3(0x1b6)](_0xdb2df3(0x1ed),''),this[_0xdb2df3(0x1e7)](_0xdb2df3(0x1ed))['to'](this,_0xdb2df3(0x1a5),_0x1bc64c=>_0x1bc64c&&_0x1bc64c[0x0]?_0x1bc64c[0x0][_0xdb2df3(0x1ed)]:''),this[_0xdb2df3(0x1e7)](_0xdb2df3(0x1e0))['to'](this,_0xdb2df3(0x1a5),this,_0xdb2df3(0x1f1),(_0x598027,_0x371ab1)=>{const _0x5d662e=_0xdb2df3;let _0x4ddb75='';for(const _0x544fc8 of _0x598027)_0x4ddb75+=_0x5d662e(0x1a6)+ds(_0x544fc8[_0x5d662e(0x1f6)],_0x544fc8[_0x5d662e(0x1af)])+_0x5d662e(0x1de);return _0x371ab1?_0x4ddb75:_0x117c0f(_0x4ddb75,{'limit':0x8c});}),this[_0xdb2df3(0x1d1)]=null,this[_0xdb2df3(0x1f4)]=this[_0xdb2df3(0x1cd)](_0x367546(_0x14d859,_0xdb2df3(0x1a2)),_0x145d86[_0xdb2df3(0x208)],_0xdb2df3(0x1db),_0xdb2df3(0x204),'sw'),this[_0xdb2df3(0x1f4)][_0xdb2df3(0x1e7)](_0xdb2df3(0x1eb))['to'](this,_0xdb2df3(0x1fb)),this[_0xdb2df3(0x1a8)]=this[_0xdb2df3(0x1cd)](_0x367546(_0x14d859,_0xdb2df3(0x1fc)),_0x145d86[_0xdb2df3(0x1c4)],_0xdb2df3(0x1e3),_0xdb2df3(0x1ce),'sw'),this[_0xdb2df3(0x1a8)][_0xdb2df3(0x1e7)](_0xdb2df3(0x1eb))['to'](this,_0xdb2df3(0x1ff)),this[_0xdb2df3(0x20b)]=new _0x43cf70(_0x14d859,this[_0xdb2df3(0x1dc)][_0xdb2df3(0x1b5)],this[_0xdb2df3(0x1ab)]()),this[_0xdb2df3(0x20b)][_0xdb2df3(0x1c8)]({'attributes':{'class':[_0xdb2df3(0x1fa),_0xdb2df3(0x1c2)]}}),this[_0xdb2df3(0x200)](this[_0xdb2df3(0x1b8)]());}[_0xf1f9f9(0x1b8)](){const _0x13af95=_0xf1f9f9,_0x32f41d=this[_0x13af95(0x1c3)],_0x1f3f1d=[{'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x1f7),_0x13af95(0x1e4)]},'children':[{'tag':_0x13af95(0x1d3),'children':[{'text':this[_0x13af95(0x20b)][_0x13af95(0x1bd)]}],'attributes':{'class':[_0x13af95(0x1dd),_0x13af95(0x20a)]}},{'tag':_0x13af95(0x1f3),'attributes':{'datetime':_0x32f41d['to'](_0x13af95(0x1a7)),'class':[_0x13af95(0x1e1),_0x13af95(0x20c)]},'children':[{'text':_0x32f41d['to'](_0x13af95(0x1a7),_0x1894e3=>this[_0x13af95(0x1e9)][_0x13af95(0x206)](_0x1894e3))}]}]},{'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x209),_0x13af95(0x1f8)]},'children':[this[_0x13af95(0x1f4)],this[_0x13af95(0x1a8)]]},{'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x205)]}}];this[_0x13af95(0x1dc)][_0x13af95(0x1da)]&&_0x1f3f1d[_0x13af95(0x1ef)]({'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x207)]},'children':[{'text':this[_0x13af95(0x1bb)]()}]});const _0x12f876={'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x202),_0x32f41d['if'](_0x13af95(0x1f1),_0x13af95(0x1ac)),_0x32f41d['to'](_0x13af95(0x1ed),_0x3ce5f1=>_0x13af95(0x1bf)+_0x3ce5f1),this[_0x13af95(0x1e9)][_0x13af95(0x1d0)]&&_0x13af95(0x1fe)],'data-suggestion-id':this[_0x13af95(0x1dc)]['id'],'data-thread-id':this[_0x13af95(0x1dc)][_0x13af95(0x1c7)]['id'],'data-author-id':this[_0x13af95(0x1dc)][_0x13af95(0x1b5)]['id'],'tabindex':-0x1},'children':[{'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x1aa),_0x13af95(0x1d5)]},'children':[this[_0x13af95(0x20b)],{'tag':_0x13af95(0x1cb),'attributes':{'class':[_0x13af95(0x1b7),_0x13af95(0x1f5)]},'children':_0x1f3f1d}]}]};return this[_0x13af95(0x203)]&&this[_0x13af95(0x1a1)]&&(_0x12f876[_0x13af95(0x1ea)][_0x13af95(0x1ef)](this[_0x13af95(0x203)],this[_0x13af95(0x1a1)]),this[_0x13af95(0x203)][_0x13af95(0x1f2)](_0x13af95(0x1ad))['to'](this),this[_0x13af95(0x203)][_0x13af95(0x1f2)](_0x13af95(0x1b2))['to'](this),this[_0x13af95(0x1a1)][_0x13af95(0x1f2)](_0x13af95(0x1ad))['to'](this),this[_0x13af95(0x1a1)][_0x13af95(0x1f2)](_0x13af95(0x1b2))['to'](this)),_0x12f876;}[_0xf1f9f9(0x20d)](){const _0xd81e2e=_0xf1f9f9;super[_0xd81e2e(0x20d)](),this[_0xd81e2e(0x1d1)]=this[_0xd81e2e(0x19e)][_0xd81e2e(0x20e)](_0xd81e2e(0x1cc)),this[_0xd81e2e(0x1d1)][_0xd81e2e(0x1a3)]=this[_0xd81e2e(0x1e0)],this['on'](_0xd81e2e(0x1f9),(_0x1727c2,_0x353d97,_0x9a572a)=>{const _0x4643e3=_0xd81e2e;this[_0x4643e3(0x1d1)][_0x4643e3(0x1a3)]=_0x9a572a;});}[_0xf1f9f9(0x1cd)](_0x2f41fc,_0x34a652,_0xb8d9e6,_0x30dfbc,_0x5392e1){const _0x5dc90d=_0xf1f9f9,_0x3085cf=new _0x581d4d(this[_0x5dc90d(0x1be)]);return _0x3085cf[_0x5dc90d(0x1b6)]({'label':_0x2f41fc,'icon':_0x34a652,'tooltip':!0x0,'tooltipPosition':_0x5392e1}),_0x3085cf[_0x5dc90d(0x1c8)]({'attributes':{'class':_0xb8d9e6}}),_0x3085cf['on'](_0x5dc90d(0x1b0),()=>{const _0x4105eb=_0x5dc90d;this[_0x4105eb(0x1b4)](_0x30dfbc,this[_0x4105eb(0x1dc)]['id']);}),_0x3085cf;}[_0xf1f9f9(0x1bb)](){const _0x138082=_0xf1f9f9;return _0x138082(0x1d6)===this[_0x138082(0x1dc)][_0x138082(0x1c6)][_0x138082(0x1a0)][_0x138082(0x1ca)]?_0x367546(this[_0x138082(0x1be)],_0x138082(0x1d8)):_0x367546(this[_0x138082(0x1be)],_0x138082(0x1e5));}[_0xf1f9f9(0x1ab)](){const _0x319d92=_0xf1f9f9;return this[_0x319d92(0x1dc)][_0x319d92(0x1da)]?_0x319d92(0x1d6)===this[_0x319d92(0x1dc)][_0x319d92(0x1c6)][_0x319d92(0x1a0)][_0x319d92(0x1ca)]?_0x367546(this[_0x319d92(0x1be)],_0x319d92(0x1e2),this[_0x319d92(0x1dc)][_0x319d92(0x1ba)][_0x319d92(0x1bd)]):_0x367546(this[_0x319d92(0x1be)],_0x319d92(0x1fd),this[_0x319d92(0x1dc)][_0x319d92(0x1ba)][_0x319d92(0x1bd)]):null;}}function _0x3faf(){const _0x55104e=['</span>','creator','getExternalSuggestionNote','map','name','locale','ck-suggestion-','4683aOlWNj','split','ck-annotation__user','bindTemplate','cancel','56058NSpUpi','attributes','commentThread','extendTemplate','value','source','div','.ck-annotation__content-wrapper','_createButton','discardSuggestion','\x22\x20title=\x22','disableComments','_descriptionElement','<span\x20class=\x22ck-suggestion-type\x22>','span','\x22></span>','ck-annotation','importWord','title','EXTERNAL_IMPORT_WORD_SUGGESTION','5toVwlH','isExternal','ck-suggestion--accept','_model','ck-suggestion__info-name','</p>','innerText','description','ck-comment__info-time','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion--discard','ck-annotation__info','EXTERNAL_SUGGESTION','88872VtxTwZ','bind','268356XUJvxy','_config','children','isEnabled','616893GImHup','type','28382MkgoPX','push','join','isActive','delegate','time','acceptButton','ck-annotation__main','content','ck-suggestion__info','ck-annotation__actions','change:description','ck-suggestion__user','canAccept','Discard\x20suggestion','EXTERNAL_AVATAR','ck-suggestion--disabled-comments','canDiscard','setTemplate','15rLUnQI','ck-suggestion-wrapper','commentsListView','acceptSuggestion','ck-annotation__content-wrapper','formatDateTime','ck-comment__external','check','ck-suggestion__actions','ck-annotation__info-name','userView','ck-annotation__info-time','render','querySelector','element','594NSeeLd','@external','commentThreadInputView','Accept\x20suggestion','innerHTML','createElement','descriptionParts','<p>','authoredAt','discardButton','2110SWFXuN','ck-suggestion','getUserViewNotificationText','ck-suggestion-wrapper--active','editorReady','1544OVvBLj','color','execute','7443fwdHrH','editorDestroyed','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','fire','author','set','ck-suggestion__main','getTemplate'];_0x3faf=function(){return _0x55104e;};return _0x3faf();}function ds(_0x54b186,_0xda3c90){const _0x14fc7c=_0xf1f9f9;let _0x14cf76='';return _0x14cf76+=_0x54b186[_0x14fc7c(0x1c1)]('*')[_0x14fc7c(0x1bc)]((_0x250995,_0x253d29)=>_0x253d29%0x2!=0x0?_0x14fc7c(0x1d2)+us(_0x250995)+_0x14fc7c(0x1b9):us(_0x250995))[_0x14fc7c(0x1f0)](''),_0xda3c90&&(_0x14cf76+=_0x14fc7c(0x1b3)+_0xda3c90[_0x14fc7c(0x1c9)]+_0x14fc7c(0x1cf)+_0xda3c90[_0x14fc7c(0x1d7)]+_0x14fc7c(0x1d4)),_0x14cf76;}function us(_0x312cfc){const _0x377803=_0xf1f9f9,_0x25188f=document[_0x377803(0x1a4)](_0x377803(0x1d3));return _0x25188f[_0x377803(0x1df)]=_0x312cfc,_0x25188f[_0x377803(0x1a3)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x48253c,_0x14158b,_0x54c25f){const t=_0x48253c['t'];switch(_0x14158b){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',_0x54c25f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x54c25f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x54c25f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x54c25f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x54c25f);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',_0x54c25f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x54c25f);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',_0x54c25f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x54c25f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x54c25f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x54c25f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x54c25f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x54c25f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x54c25f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x54c25f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x54c25f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x54c25f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x54c25f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x54c25f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x54c25f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x54c25f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x54c25f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x54c25f);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'},_0x54c25f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x54c25f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x54c25f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x54c25f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x54c25f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x54c25f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x54c25f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x54c25f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x54c25f);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'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x54c25f);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'},_0x54c25f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x54c25f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x54c25f);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'},_0x54c25f);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'},_0x54c25f);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 _0x14158b;}}
|
|
23
|
+
export function getTranslation(_0x52e03b,_0x2b2b9a,_0x32fb67){const t=_0x52e03b['t'];switch(_0x2b2b9a){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',_0x32fb67);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x32fb67);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x32fb67);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x32fb67);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x32fb67);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',_0x32fb67);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x32fb67);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',_0x32fb67);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x32fb67);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x32fb67);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x32fb67);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x32fb67);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x32fb67);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x32fb67);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x32fb67);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x32fb67);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x32fb67);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x32fb67);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x32fb67);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x32fb67);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x32fb67);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x32fb67);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x32fb67);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'},_0x32fb67);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x32fb67);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x32fb67);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x32fb67);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x32fb67);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x32fb67);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x32fb67);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x32fb67);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x32fb67);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'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x32fb67);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'},_0x32fb67);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x32fb67);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x32fb67);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'},_0x32fb67);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'},_0x32fb67);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 _0x2b2b9a;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x49f2b1,_0x10d93a){const _0x148d87=_0x10f0,_0x22ea08=_0x49f2b1();while(!![]){try{const _0x250835=-parseInt(_0x148d87(0x13f))/0x1*(-parseInt(_0x148d87(0x12d))/0x2)+parseInt(_0x148d87(0x13e))/0x3*(parseInt(_0x148d87(0x127))/0x4)+-parseInt(_0x148d87(0x11d))/0x5+-parseInt(_0x148d87(0x128))/0x6+-parseInt(_0x148d87(0x138))/0x7*(parseInt(_0x148d87(0x129))/0x8)+-parseInt(_0x148d87(0x137))/0x9+parseInt(_0x148d87(0x12f))/0xa*(parseInt(_0x148d87(0x130))/0xb);if(_0x250835===_0x10d93a)break;else _0x22ea08['push'](_0x22ea08['shift']());}catch(_0x31f90b){_0x22ea08['push'](_0x22ea08['shift']());}}}(_0x4ea0,0x7295d));export function normalizeDescription(_0x6b1675){const _0x13eff4=_0x10f0;return Array[_0x13eff4(0x11c)](_0x6b1675)||(_0x6b1675=[_0x6b1675]),_0x6b1675[_0x13eff4(0x122)](_0x3d71ff=>{const _0x3b126a=_0x13eff4,_0x43760d=_0x3d71ff[_0x3b126a(0x123)][_0x3b126a(0x11b)](/\*/g,''),_0x94b02b=_0x3d71ff[_0x3b126a(0x11f)]?_0x3b126a(0x120)+_0x3d71ff[_0x3b126a(0x11f)][_0x3b126a(0x13a)]+']':'';return'['+_0x3d71ff[_0x3b126a(0x116)]+']\x20'+_0x43760d+_0x94b02b;})[_0x13eff4(0x132)](';\x20');}export function sortSuggestions(_0x546309){const _0x8ab808=_0x10f0;return _0x546309[_0x8ab808(0x121)]((_0x3769de,_0x206a6b)=>_0x8ab808(0x125)==_0x3769de[_0x8ab808(0x116)]&&_0x8ab808(0x125)!=_0x206a6b[_0x8ab808(0x116)]?-0x1:_0x8ab808(0x125)!=_0x3769de[_0x8ab808(0x116)]&&_0x8ab808(0x125)==_0x206a6b[_0x8ab808(0x116)]?0x1:0x0);}export function getSelectedSuggestions(_0x3feab9,_0x2033b8){const _0x10f588=_0x10f0,_0x4b80ab=Array[_0x10f588(0x135)](_0x3feab9[_0x10f588(0x12a)]()),_0x4551b4=new Set();for(const _0x24f0fc of _0x2033b8)if(_0x24f0fc[_0x10f588(0x12b)]){for(const _0x596ea1 of _0x4b80ab)for(const _0x586bf4 of _0x24f0fc[_0x10f588(0x12a)]())(_0x596ea1[_0x10f588(0x139)](_0x586bf4)||_0x3feab9[_0x10f588(0x140)]&&!_0x24f0fc[_0x10f588(0x117)]&&_0x24f0fc[_0x10f588(0x136)]&&_0x586bf4[_0x10f588(0x11a)][_0x10f588(0x13d)](_0x596ea1[_0x10f588(0x12c)]))&&_0x4551b4[_0x10f588(0x13c)](_0x24f0fc);}return _0x4551b4;}export function getRangesOfBlockGroups(_0x37f23c,_0x430e66){const _0x3688ef=_0x10f0;let _0x110088,_0x360199=0x0;const _0x3df7d9=[],_0x4f89aa=_0x430e66[_0x3688ef(0x119)];for(;_0x360199<_0x37f23c[_0x3688ef(0x133)];){const _0x1a2723=_0x37f23c[_0x360199],_0x49774c=_0x37f23c[_0x360199+0x1];_0x110088||(_0x110088=_0x430e66[_0x3688ef(0x118)](_0x1a2723)),co(_0x430e66,_0x1a2723,_0x49774c)||(_0x3df7d9[_0x3688ef(0x134)](_0x430e66[_0x3688ef(0x115)](_0x110088,_0x4f89aa[_0x3688ef(0x124)](_0x1a2723)?_0x430e66[_0x3688ef(0x12e)](_0x1a2723):_0x430e66[_0x3688ef(0x11e)](_0x1a2723,_0x3688ef(0x11a)))),_0x110088=null),_0x360199++;}return _0x3df7d9;}function _0x4ea0(){const _0x2fe72a=['getRanges','isInContent','start','2uGAlZX','createPositionAfter','14133370IoRvxn','11rfuujf','splice','join','length','push','from','next','6026265kLVsKd','553FLfwbA','isIntersecting','value','execute','add','isTouching','6hCDaAp','906041TwufXT','isCollapsed','createRange','type','isMultiRange','createPositionBefore','schema','end','replace','isArray','2493960rPhyNF','createPositionAt','color','\x20[color\x20','sort','map','content','isObject','deletion','change','446108DulClg','3463554civppe','33160XtMcSJ'];_0x4ea0=function(){return _0x2fe72a;};return _0x4ea0();}function co(_0x42fc46,_0xdaeb88,_0x1efd28){const _0x26622d=_0x10f0;if(!_0x1efd28)return!0x1;const _0x39ef3b=_0x42fc46[_0x26622d(0x12e)](_0xdaeb88),_0x487887=_0x42fc46[_0x26622d(0x118)](_0x1efd28);return _0x39ef3b[_0x26622d(0x13d)](_0x487887);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;function _0x10f0(_0x482ef3,_0x1e2c0c){const _0x4ea066=_0x4ea0();return _0x10f0=function(_0x10f0c1,_0x5b29c7){_0x10f0c1=_0x10f0c1-0x115;let _0x1e6f00=_0x4ea066[_0x10f0c1];return _0x1e6f00;},_0x10f0(_0x482ef3,_0x1e2c0c);}export function executeCommandForSuggestions(_0x51882f,_0x5d2e6,_0x2c46da){const _0x1b0e99=_0x10f0;for(;_0x2c46da[_0x1b0e99(0x133)];){const _0x1ba184=_0x2c46da[_0x1b0e99(0x131)](0x0,0x64);_0x51882f[_0x1b0e99(0x126)](()=>{const _0x213302=_0x1b0e99;for(const _0x24cd55 of _0x1ba184)_0x24cd55[_0x213302(0x12b)]&&_0x5d2e6[_0x213302(0x13b)](_0x24cd55['id']);});}}
|