@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240709.0 → 0.0.0-nightly-20240711.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 +1 -1
- package/dist/index.js +3 -3
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +3 -3
- 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/src/integrations/multilevellist.js +1 -1
- 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 +2 -2
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +2 -2
- 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
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x5035cb=_0x5853;(function(_0x597cb8,_0x33e191){const _0x3765e2=_0x5853,_0x5d19e4=_0x597cb8();while(!![]){try{const _0x49eb16=parseInt(_0x3765e2(0x1aa))/0x1+parseInt(_0x3765e2(0x1bf))/0x2+-parseInt(_0x3765e2(0x1c0))/0x3*(-parseInt(_0x3765e2(0x1ae))/0x4)+-parseInt(_0x3765e2(0x1a1))/0x5+parseInt(_0x3765e2(0x1a3))/0x6+-parseInt(_0x3765e2(0x1b4))/0x7*(parseInt(_0x3765e2(0x1a6))/0x8)+-parseInt(_0x3765e2(0x1c9))/0x9*(parseInt(_0x3765e2(0x1c8))/0xa);if(_0x49eb16===_0x33e191)break;else _0x5d19e4['push'](_0x5d19e4['shift']());}catch(_0x5736ef){_0x5d19e4['push'](_0x5d19e4['shift']());}}}(_0x331c,0x760a7));function _0x331c(){const _0x133323=['locale','model','unbind','change:isDirty','133318Mdtlmy','9717TszkuK','get','isEnabled','add','_pendingAction','commentThreadController','destroy','_setPendingAction','10SiXonJ','449487KbfZRw','PendingActions','1483385xgcBfi','canDiscard','4643784NMMAxV','PENDING_ACTION_SUGGESTION','commands','887032vrDQHE','_editor','getRanges','canAccept','93893ogwyXQ','listenTo','stopListening','view','8PWbXPO','execute','acceptSuggestion','discardSuggestion','remove','plugins','7CzWgUh','_removePendingAction','isDirty','bind','canEditAt','_acceptCommand','_discardCommand'];_0x331c=function(){return _0x133323;};return _0x331c();}import{ObservableMixin as _0x2e90d7}from'ckeditor5/src/utils.js';function _0x5853(_0x2b7a59,_0x20849a){const _0x331c31=_0x331c();return _0x5853=function(_0x5853fb,_0x17ff52){_0x5853fb=_0x5853fb-0x1a1;let _0x288c05=_0x331c31[_0x5853fb];return _0x288c05;},_0x5853(_0x2b7a59,_0x20849a);}import{getTranslation as _0x244d1c}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x2e90d7(){constructor(_0x1a95ad,_0x3841ef,_0x4a4579,_0x5b3d79){const _0x42ac65=_0x5853;super(),this[_0x42ac65(0x1bc)]=_0x3841ef,this[_0x42ac65(0x1ad)]=_0x4a4579,this[_0x42ac65(0x1c5)]=_0x5b3d79,this[_0x42ac65(0x1a7)]=_0x1a95ad,this[_0x42ac65(0x1b9)]=_0x1a95ad[_0x42ac65(0x1a5)][_0x42ac65(0x1c1)](_0x42ac65(0x1b0)),this[_0x42ac65(0x1ba)]=_0x1a95ad[_0x42ac65(0x1a5)][_0x42ac65(0x1c1)](_0x42ac65(0x1b1)),this[_0x42ac65(0x1ad)][_0x42ac65(0x1b7)](_0x42ac65(0x1c2))['to'](this[_0x42ac65(0x1b9)],this[_0x42ac65(0x1ba)],(_0xb0461a,_0x5232da)=>_0xb0461a||_0x5232da),this[_0x42ac65(0x1ad)][_0x42ac65(0x1b7)](_0x42ac65(0x1a9))['to'](this[_0x42ac65(0x1b9)],_0x42ac65(0x1c2),_0x1ac815=>_0x1ac815&&this[_0x42ac65(0x1a7)][_0x42ac65(0x1bc)][_0x42ac65(0x1b8)](_0x3841ef[_0x42ac65(0x1a8)]())),this[_0x42ac65(0x1ad)][_0x42ac65(0x1b7)](_0x42ac65(0x1a2))['to'](this[_0x42ac65(0x1ba)],_0x42ac65(0x1c2),_0x18ca0c=>_0x18ca0c&&this[_0x42ac65(0x1a7)][_0x42ac65(0x1bc)][_0x42ac65(0x1b8)](_0x3841ef[_0x42ac65(0x1a8)]())),this[_0x42ac65(0x1c4)]=null,_0x4a4579[_0x42ac65(0x1b6)]&&this[_0x42ac65(0x1c7)](),this[_0x42ac65(0x1ab)](_0x4a4579,_0x42ac65(0x1b0),()=>this[_0x42ac65(0x1b0)]()),this[_0x42ac65(0x1ab)](_0x4a4579,_0x42ac65(0x1b1),()=>this[_0x42ac65(0x1b1)]()),this[_0x42ac65(0x1ab)](_0x4a4579,_0x42ac65(0x1be),()=>{const _0x270fc3=_0x42ac65;_0x4a4579[_0x270fc3(0x1b6)]?this[_0x270fc3(0x1c7)]():this[_0x270fc3(0x1b5)]();});}[_0x5035cb(0x1b0)](){const _0x53e670=_0x5035cb;this[_0x53e670(0x1b9)][_0x53e670(0x1af)](this[_0x53e670(0x1bc)]['id']);}[_0x5035cb(0x1b1)](){const _0x4b2e1c=_0x5035cb;this[_0x4b2e1c(0x1ba)][_0x4b2e1c(0x1af)](this[_0x4b2e1c(0x1bc)]['id']);}[_0x5035cb(0x1c6)](){const _0x3e9a78=_0x5035cb;this[_0x3e9a78(0x1ad)][_0x3e9a78(0x1bd)](_0x3e9a78(0x1c2)),this[_0x3e9a78(0x1ad)][_0x3e9a78(0x1bd)](_0x3e9a78(0x1a9)),this[_0x3e9a78(0x1ad)][_0x3e9a78(0x1bd)](_0x3e9a78(0x1a2)),this[_0x3e9a78(0x1ac)](),this[_0x3e9a78(0x1c5)][_0x3e9a78(0x1c6)](),this[_0x3e9a78(0x1c4)]&&this[_0x3e9a78(0x1b5)]();}[_0x5035cb(0x1c7)](){const _0x53e35a=_0x5035cb,_0x11e372=_0x244d1c(this[_0x53e35a(0x1a7)][_0x53e35a(0x1bb)],_0x53e35a(0x1a4));this[_0x53e35a(0x1c4)]=this[_0x53e35a(0x1a7)][_0x53e35a(0x1b3)][_0x53e35a(0x1c1)](_0x53e35a(0x1ca))[_0x53e35a(0x1c3)](_0x11e372);}[_0x5035cb(0x1b5)](){const _0x35ae45=_0x5035cb;null!==this[_0x35ae45(0x1c4)]&&this[_0x35ae45(0x1a7)][_0x35ae45(0x1b3)][_0x35ae45(0x1c1)](_0x35ae45(0x1ca))[_0x35ae45(0x1b2)](this[_0x35ae45(0x1c4)]),this[_0x35ae45(0x1c4)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5f1f08=_0x3b1c;(function(_0x1a52ec,_0x10e191){const _0x3c378c=_0x3b1c,_0x1face0=_0x1a52ec();while(!![]){try{const _0x1237b2=-parseInt(_0x3c378c(0x1c0))/0x1+parseInt(_0x3c378c(0x1ea))/0x2+-parseInt(_0x3c378c(0x1e3))/0x3+parseInt(_0x3c378c(0x1f1))/0x4*(-parseInt(_0x3c378c(0x1de))/0x5)+parseInt(_0x3c378c(0x1e1))/0x6*(-parseInt(_0x3c378c(0x1d2))/0x7)+-parseInt(_0x3c378c(0x1e0))/0x8*(-parseInt(_0x3c378c(0x1e5))/0x9)+-parseInt(_0x3c378c(0x1e6))/0xa*(-parseInt(_0x3c378c(0x1ce))/0xb);if(_0x1237b2===_0x10e191)break;else _0x1face0['push'](_0x1face0['shift']());}catch(_0x57da66){_0x1face0['push'](_0x1face0['shift']());}}}(_0x1923,0x78113));import{View as _0x3de0eb}from'ckeditor5/src/ui.js';export default class es extends _0x3de0eb{constructor(_0x131652,_0x38000c,_0x4183d5,_0x32ac78){const _0x25b5bb=_0x3b1c;super(_0x131652),this[_0x25b5bb(0x1dd)]=null,this[_0x25b5bb(0x1d4)]=null,this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1e9),!0x1),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1c8),_0x38000c[_0x25b5bb(0x1c8)]),this[_0x25b5bb(0x1e8)](_0x25b5bb(0x1c8))['to'](_0x38000c),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1ed),[]),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1f3),!0x1),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1db),!0x1),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1df),!0x1),this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1c3),!0x1),this[_0x25b5bb(0x1d3)]=_0x38000c,this[_0x25b5bb(0x1eb)]=_0x4183d5,this[_0x25b5bb(0x1d7)]=_0x32ac78,_0x32ac78[_0x25b5bb(0x1cc)]?this[_0x25b5bb(0x1f0)](_0x25b5bb(0x1cb),0x1):this[_0x25b5bb(0x1c2)]();}[_0x5f1f08(0x1c9)](){const _0x52a24e=_0x5f1f08;this[_0x52a24e(0x1e7)][_0x52a24e(0x1c9)]();}[_0x5f1f08(0x1ec)](){const _0x4f03e8=_0x5f1f08;this[_0x4f03e8(0x1dd)]&&this[_0x4f03e8(0x1dd)][_0x4f03e8(0x1ec)](),this[_0x4f03e8(0x1d4)]&&this[_0x4f03e8(0x1d4)][_0x4f03e8(0x1ec)](),super[_0x4f03e8(0x1ec)]();}[_0x5f1f08(0x1c2)](){const _0x4dcb2a=_0x5f1f08,{CommentsListView:_0x47840e}=this[_0x4dcb2a(0x1d7)];this[_0x4dcb2a(0x1dd)]=new _0x47840e(this[_0x4dcb2a(0x1d0)],this[_0x4dcb2a(0x1d3)][_0x4dcb2a(0x1ca)],Object[_0x4dcb2a(0x1e2)]({'CommentView':this[_0x4dcb2a(0x1d7)][_0x4dcb2a(0x1c4)]},this[_0x4dcb2a(0x1d7)])),this[_0x4dcb2a(0x1dd)][_0x4dcb2a(0x1c1)](_0x4dcb2a(0x1d9))['to'](this),this[_0x4dcb2a(0x1dd)][_0x4dcb2a(0x1c1)](_0x4dcb2a(0x1c7))['to'](this),this[_0x4dcb2a(0x1dd)][_0x4dcb2a(0x1e8)](_0x4dcb2a(0x1e9))['to'](this),this[_0x4dcb2a(0x1f0)](_0x4dcb2a(0x1cb),this[_0x4dcb2a(0x1dd)][_0x4dcb2a(0x1cb)]+0x1),this[_0x4dcb2a(0x1e8)](_0x4dcb2a(0x1cb))['to'](this[_0x4dcb2a(0x1dd)],_0x4dcb2a(0x1cb),_0x1e446b=>_0x1e446b+0x1),this[_0x4dcb2a(0x1d4)]=this[_0x4dcb2a(0x1f2)](),this['on'](_0x4dcb2a(0x1d9),()=>this[_0x4dcb2a(0x1c9)]()),this[_0x4dcb2a(0x1e8)](_0x4dcb2a(0x1f3))['to'](this[_0x4dcb2a(0x1dd)],_0x4dcb2a(0x1e4),this[_0x4dcb2a(0x1d4)][_0x4dcb2a(0x1d5)],_0x4dcb2a(0x1ee),(_0x45796f,_0x3e2273)=>_0x45796f||!!_0x3e2273);}[_0x5f1f08(0x1f2)](){const _0x3d5b8a=_0x5f1f08,{CommentThreadInputView:_0x3c0b42}=this[_0x3d5b8a(0x1d7)],_0x2c425f=new _0x3c0b42(this[_0x3d5b8a(0x1d0)],this[_0x3d5b8a(0x1eb)],this[_0x3d5b8a(0x1d7)][_0x3d5b8a(0x1da)]),_0x2bc4c0=_0x2c425f[_0x3d5b8a(0x1d5)];return _0x2c425f[_0x3d5b8a(0x1e8)](_0x3d5b8a(0x1d1))['to'](this,_0x3d5b8a(0x1e9),this[_0x3d5b8a(0x1d3)][_0x3d5b8a(0x1ca)],_0x3d5b8a(0x1ef),_0x2bc4c0,_0x3d5b8a(0x1ee),(_0x5b1723,_0x2f09d3,_0x5d6586)=>!!_0x5d6586||_0x5b1723&&!_0x2f09d3),_0x2bc4c0['on'](_0x3d5b8a(0x1c5),(_0x8ce56c,_0x39c37d)=>{const _0x5ba340=_0x3d5b8a;this[_0x5ba340(0x1dc)](_0x5ba340(0x1cd),_0x39c37d),_0x2bc4c0[_0x5ba340(0x1d8)][_0x5ba340(0x1c6)]('');}),_0x2bc4c0['on'](_0x3d5b8a(0x1d6),()=>this[_0x3d5b8a(0x1c9)]()),_0x2bc4c0[_0x3d5b8a(0x1e8)](_0x3d5b8a(0x1cf))['to'](this[_0x3d5b8a(0x1d3)][_0x3d5b8a(0x1ca)],_0x3d5b8a(0x1ef)),_0x2c425f;}}function _0x3b1c(_0x287541,_0x288d9d){const _0x192366=_0x1923();return _0x3b1c=function(_0x3b1cdd,_0x548d85){_0x3b1cdd=_0x3b1cdd-0x1c0;let _0x3d1844=_0x192366[_0x3b1cdd];return _0x3d1844;},_0x3b1c(_0x287541,_0x288d9d);}function _0x1923(){const _0x47cd8a=['688432fnLWJu','_createCommentThreadInputView','isDirty','447491dpKMMT','delegate','_createCommentViews','canDiscard','CommentView','submit','setData','updateComment','authoredAt','focus','commentThread','length','disableComments','addComment','14828dSmIvh','disabledSubmit','locale','showInput','21bqZPhv','_model','commentThreadInputView','commentInputView','cancel','_config','editor','removeComment','editorConfig','isEnabled','fire','commentsListView','15ggTRQx','canAccept','200AFLaNz','67248yEDCtU','assign','947679ZmdcSx','hasDirtyComment','78228kffktw','8890oORdMA','element','bind','isActive','778910rvhXAs','_localUser','destroy','descriptionParts','value','isReadOnly','set'];_0x1923=function(){return _0x47cd8a;};return _0x1923();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x332d(){const _0x187265=['editorReady','acceptButton','</p>','content','locale','discardButton','ck-suggestion__info','@external','descriptionParts','element','.ck-annotation__content-wrapper','discardSuggestion','2663640JLTHTO','acceptSuggestion','isActive','execute','author','split','createElement','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__info','getTemplate','map','join','ck-annotation__main','ck-comment__external','type','set','span','commentThreadInputView','232242LNLAhi','push','_createButton','formatDateTime','source','\x22\x20title=\x22','ck-annotation__user','EXTERNAL_SUGGESTION','canAccept','title','delegate','commentsListView','commentThread','ck-annotation__actions','ck-annotation__info-name','querySelector','ck-suggestion__actions','EXTERNAL_IMPORT_WORD_AVATAR','children','ck-suggestion__user','2978412RsSTGp','ck-suggestion--disabled-comments','_model','ck-annotation__content-wrapper','ck-suggestion__info-name','cancel','ck-suggestion--accept','259rGMvSl','div','getUserViewNotificationText','ck-suggestion-wrapper--active','editorDestroyed','authoredAt','ck-annotation','8667872STzTmW','\x22></span>','_descriptionElement','ck-suggestion-','importWord','ck-suggestion__main','138915HLyrkX','Discard\x20suggestion','innerText','_config','71NjwkKO','8758vegUtO','description','ck-suggestion','userView','</span>','value','fire','setTemplate','ck-suggestion-wrapper','disableComments','getExternalSuggestionNote','color','bind','name','ck-comment__info-time','innerHTML','extendTemplate','canDiscard','render','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','change:description','check','6ISLZrO','<p>','bindTemplate','ck-annotation__info-time','isEnabled','7494535Ctdmwt','<span\x20class=\x22ck-suggestion-type\x22>','EXTERNAL_AVATAR','Accept\x20suggestion','attributes','creator','time','isExternal','ck-suggestion--discard'];_0x332d=function(){return _0x187265;};return _0x332d();}function _0x4409(_0x1234a6,_0x2dfb49){const _0x332d9e=_0x332d();return _0x4409=function(_0x440963,_0x298c67){_0x440963=_0x440963-0x85;let _0x434d73=_0x332d9e[_0x440963];return _0x434d73;},_0x4409(_0x1234a6,_0x2dfb49);}const _0x3e5950=_0x4409;(function(_0x2d485d,_0x1b2dea){const _0x492bb6=_0x4409,_0x5d4cb2=_0x2d485d();while(!![]){try{const _0x1619d8=parseInt(_0x492bb6(0xa8))/0x1*(parseInt(_0x492bb6(0xa9))/0x2)+-parseInt(_0x492bb6(0xbf))/0x3*(parseInt(_0x492bb6(0x90))/0x4)+parseInt(_0x492bb6(0xc4))/0x5+parseInt(_0x492bb6(0xeb))/0x6*(parseInt(_0x492bb6(0x97))/0x7)+-parseInt(_0x492bb6(0x9e))/0x8+-parseInt(_0x492bb6(0xa4))/0x9+parseInt(_0x492bb6(0xd9))/0xa;if(_0x1619d8===_0x1b2dea)break;else _0x5d4cb2['push'](_0x5d4cb2['shift']());}catch(_0x3a2856){_0x5d4cb2['push'](_0x5d4cb2['shift']());}}}(_0x332d,0xe0a96));import{getTranslation as _0x2ab86d}from'../../utils/common-translations.js';import{default as _0x45c7db}from'./basesuggestionthreadview.js';import{ButtonView as _0xc34797}from'ckeditor5/src/ui.js';import{icons as _0x12c104}from'ckeditor5/src/core.js';import{trimHtml as _0x55d105,UserView as _0x2efbb9}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x45c7db{constructor(_0x52bef6,_0x2b6448,_0x43313d,_0x450c7c){const _0x54ba30=_0x4409;super(_0x52bef6,_0x2b6448,_0x43313d,_0x450c7c),this[_0x54ba30(0xe8)](_0x54ba30(0xe7),''),this[_0x54ba30(0xb5)](_0x54ba30(0xe7))['to'](this,_0x54ba30(0xd5),_0x2cd60e=>_0x2cd60e&&_0x2cd60e[0x0]?_0x2cd60e[0x0][_0x54ba30(0xe7)]:''),this[_0x54ba30(0xb5)](_0x54ba30(0xaa))['to'](this,_0x54ba30(0xd5),this,_0x54ba30(0xdb),(_0x11b953,_0x182ef9)=>{const _0x930c5f=_0x54ba30;let _0x39499a='';for(const _0x4cf06f of _0x11b953)_0x39499a+=_0x930c5f(0xc0)+ds(_0x4cf06f[_0x930c5f(0xd0)],_0x4cf06f[_0x930c5f(0xb4)])+_0x930c5f(0xcf);return _0x182ef9?_0x39499a:_0x55d105(_0x39499a,{'limit':0x8c});}),this[_0x54ba30(0xa0)]=null,this[_0x54ba30(0xce)]=this[_0x54ba30(0xed)](_0x2ab86d(_0x52bef6,_0x54ba30(0xc7)),_0x12c104[_0x54ba30(0xbe)],_0x54ba30(0x96),_0x54ba30(0xda),'sw'),this[_0x54ba30(0xce)][_0x54ba30(0xb5)](_0x54ba30(0xc3))['to'](this,_0x54ba30(0xf3)),this[_0x54ba30(0xd2)]=this[_0x54ba30(0xed)](_0x2ab86d(_0x52bef6,_0x54ba30(0xa5)),_0x12c104[_0x54ba30(0x95)],_0x54ba30(0xcc),_0x54ba30(0xd8),'sw'),this[_0x54ba30(0xd2)][_0x54ba30(0xb5)](_0x54ba30(0xc3))['to'](this,_0x54ba30(0xba)),this[_0x54ba30(0xac)]=new _0x2efbb9(_0x52bef6,this[_0x54ba30(0x92)][_0x54ba30(0xdd)],this[_0x54ba30(0x99)]()),this[_0x54ba30(0xac)][_0x54ba30(0xb9)]({'attributes':{'class':[_0x54ba30(0x8f),_0x54ba30(0xf1)]}}),this[_0x54ba30(0xb0)](this[_0x54ba30(0xe2)]());}[_0x3e5950(0xe2)](){const _0x577416=_0x3e5950,_0x1ab266=this[_0x577416(0xc1)],_0x269b3a=[{'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0xd3),_0x577416(0xe1)]},'children':[{'tag':_0x577416(0xe9),'children':[{'text':this[_0x577416(0xac)][_0x577416(0xb6)]}],'attributes':{'class':[_0x577416(0x94),_0x577416(0x8a)]}},{'tag':_0x577416(0xca),'attributes':{'datetime':_0x1ab266['to'](_0x577416(0x9c)),'class':[_0x577416(0xb7),_0x577416(0xc2)]},'children':[{'text':_0x1ab266['to'](_0x577416(0x9c),_0x1d4774=>this[_0x577416(0xa7)][_0x577416(0xee)](_0x1d4774))}]}]},{'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0x8c),_0x577416(0x89)]},'children':[this[_0x577416(0xce)],this[_0x577416(0xd2)]]},{'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0x93)]}}];this[_0x577416(0x92)][_0x577416(0xcb)]&&_0x269b3a[_0x577416(0xec)]({'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0xe6)]},'children':[{'text':this[_0x577416(0xb3)]()}]});const _0x1577bb={'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0xb1),_0x1ab266['if'](_0x577416(0xdb),_0x577416(0x9a)),_0x1ab266['to'](_0x577416(0xe7),_0x2872d4=>_0x577416(0xa1)+_0x2872d4),this[_0x577416(0xa7)][_0x577416(0xb2)]&&_0x577416(0x91)],'data-suggestion-id':this[_0x577416(0x92)]['id'],'data-thread-id':this[_0x577416(0x92)][_0x577416(0x88)]['id'],'data-author-id':this[_0x577416(0x92)][_0x577416(0xdd)]['id'],'tabindex':-0x1},'children':[{'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0xab),_0x577416(0x9d)]},'children':[this[_0x577416(0xac)],{'tag':_0x577416(0x98),'attributes':{'class':[_0x577416(0xa3),_0x577416(0xe5)]},'children':_0x269b3a}]}]};return this[_0x577416(0x87)]&&this[_0x577416(0xea)]&&(_0x1577bb[_0x577416(0x8e)][_0x577416(0xec)](this[_0x577416(0x87)],this[_0x577416(0xea)]),this[_0x577416(0x87)][_0x577416(0x86)](_0x577416(0xcd))['to'](this),this[_0x577416(0x87)][_0x577416(0x86)](_0x577416(0x9b))['to'](this),this[_0x577416(0xea)][_0x577416(0x86)](_0x577416(0xcd))['to'](this),this[_0x577416(0xea)][_0x577416(0x86)](_0x577416(0x9b))['to'](this)),_0x1577bb;}[_0x3e5950(0xbb)](){const _0x554af4=_0x3e5950;super[_0x554af4(0xbb)](),this[_0x554af4(0xa0)]=this[_0x554af4(0xd6)][_0x554af4(0x8b)](_0x554af4(0xd7)),this[_0x554af4(0xa0)][_0x554af4(0xb8)]=this[_0x554af4(0xaa)],this['on'](_0x554af4(0xbd),(_0x3b8927,_0x214d88,_0x842a5c)=>{const _0x33c81f=_0x554af4;this[_0x33c81f(0xa0)][_0x33c81f(0xb8)]=_0x842a5c;});}[_0x3e5950(0xed)](_0x3e2a62,_0x173f9a,_0x3fb744,_0x495bab,_0x3be412){const _0x5297c4=_0x3e5950,_0x87f196=new _0xc34797(this[_0x5297c4(0xd1)]);return _0x87f196[_0x5297c4(0xe8)]({'label':_0x3e2a62,'icon':_0x173f9a,'tooltip':!0x0,'tooltipPosition':_0x3be412}),_0x87f196[_0x5297c4(0xb9)]({'attributes':{'class':_0x3fb744}}),_0x87f196['on'](_0x5297c4(0xdc),()=>{const _0x2b0570=_0x5297c4;this[_0x2b0570(0xaf)](_0x495bab,this[_0x2b0570(0x92)]['id']);}),_0x87f196;}[_0x3e5950(0xb3)](){const _0x142956=_0x3e5950;return _0x142956(0xa2)===this[_0x142956(0x92)][_0x142956(0xc8)][_0x142956(0xd4)][_0x142956(0xef)]?_0x2ab86d(this[_0x142956(0xd1)],_0x142956(0xe0)):_0x2ab86d(this[_0x142956(0xd1)],_0x142956(0xf2));}[_0x3e5950(0x99)](){const _0x428e1a=_0x3e5950;return this[_0x428e1a(0x92)][_0x428e1a(0xcb)]?_0x428e1a(0xa2)===this[_0x428e1a(0x92)][_0x428e1a(0xc8)][_0x428e1a(0xd4)][_0x428e1a(0xef)]?_0x2ab86d(this[_0x428e1a(0xd1)],_0x428e1a(0x8d),this[_0x428e1a(0x92)][_0x428e1a(0xc9)][_0x428e1a(0xb6)]):_0x2ab86d(this[_0x428e1a(0xd1)],_0x428e1a(0xc6),this[_0x428e1a(0x92)][_0x428e1a(0xc9)][_0x428e1a(0xb6)]):null;}}function ds(_0x677497,_0x1a9d8e){const _0x27ace4=_0x3e5950;let _0x127d7a='';return _0x127d7a+=_0x677497[_0x27ace4(0xde)]('*')[_0x27ace4(0xe3)]((_0x4ed724,_0x3b2ace)=>_0x3b2ace%0x2!=0x0?_0x27ace4(0xc5)+us(_0x4ed724)+_0x27ace4(0xad):us(_0x4ed724))[_0x27ace4(0xe4)](''),_0x1a9d8e&&(_0x127d7a+=_0x27ace4(0xbc)+_0x1a9d8e[_0x27ace4(0xae)]+_0x27ace4(0xf0)+_0x1a9d8e[_0x27ace4(0x85)]+_0x27ace4(0x9f)),_0x127d7a;}function us(_0x58c877){const _0x21f720=_0x3e5950,_0x22f3ba=document[_0x21f720(0xdf)](_0x21f720(0xe9));return _0x22f3ba[_0x21f720(0xa6)]=_0x58c877,_0x22f3ba[_0x21f720(0xb8)];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x181bbb,_0x19d01a,_0x1eb70d){const t=_0x181bbb['t'];switch(_0x19d01a){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',_0x1eb70d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1eb70d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1eb70d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1eb70d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1eb70d);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',_0x1eb70d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1eb70d);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',_0x1eb70d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1eb70d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1eb70d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1eb70d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1eb70d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1eb70d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1eb70d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1eb70d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1eb70d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1eb70d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1eb70d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1eb70d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1eb70d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1eb70d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1eb70d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1eb70d);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'},_0x1eb70d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1eb70d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1eb70d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1eb70d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1eb70d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1eb70d);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'},_0x1eb70d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1eb70d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1eb70d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1eb70d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1eb70d);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x1eb70d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1eb70d);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'},_0x1eb70d);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'},_0x1eb70d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1eb70d);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'},_0x1eb70d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1eb70d);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'},_0x1eb70d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1eb70d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1eb70d);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'},_0x1eb70d);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'},_0x1eb70d);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 _0x19d01a;}}
|
|
23
|
+
export function getTranslation(_0xc4dd73,_0x5dd8a9,_0x772eb3){const t=_0xc4dd73['t'];switch(_0x5dd8a9){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',_0x772eb3);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x772eb3);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x772eb3);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x772eb3);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x772eb3);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',_0x772eb3);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x772eb3);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',_0x772eb3);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x772eb3);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x772eb3);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x772eb3);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x772eb3);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x772eb3);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x772eb3);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x772eb3);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x772eb3);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x772eb3);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x772eb3);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x772eb3);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x772eb3);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x772eb3);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x772eb3);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x772eb3);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'},_0x772eb3);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x772eb3);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x772eb3);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x772eb3);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x772eb3);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x772eb3);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'},_0x772eb3);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x772eb3);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x772eb3);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x772eb3);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x772eb3);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});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'},_0x772eb3);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x772eb3);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'},_0x772eb3);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'},_0x772eb3);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x772eb3);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'},_0x772eb3);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x772eb3);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'},_0x772eb3);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x772eb3);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x772eb3);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'},_0x772eb3);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'},_0x772eb3);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 _0x5dd8a9;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44fc5f,_0x2a703d){const _0x1568c9=_0x2d8c,_0x49807f=_0x44fc5f();while(!![]){try{const _0x439b9c=parseInt(_0x1568c9(0x154))/0x1+-parseInt(_0x1568c9(0x143))/0x2+parseInt(_0x1568c9(0x148))/0x3*(-parseInt(_0x1568c9(0x15f))/0x4)+parseInt(_0x1568c9(0x153))/0x5*(parseInt(_0x1568c9(0x16a))/0x6)+-parseInt(_0x1568c9(0x158))/0x7*(parseInt(_0x1568c9(0x146))/0x8)+parseInt(_0x1568c9(0x152))/0x9*(-parseInt(_0x1568c9(0x15e))/0xa)+parseInt(_0x1568c9(0x16b))/0xb;if(_0x439b9c===_0x2a703d)break;else _0x49807f['push'](_0x49807f['shift']());}catch(_0x10b483){_0x49807f['push'](_0x49807f['shift']());}}}(_0x1dc3,0x35a35));export function normalizeDescription(_0x171512){const _0x49f7b3=_0x2d8c;return Array[_0x49f7b3(0x159)](_0x171512)||(_0x171512=[_0x171512]),_0x171512[_0x49f7b3(0x147)](_0x2bc99c=>{const _0x4a5569=_0x49f7b3,_0x2f6e78=_0x2bc99c[_0x4a5569(0x169)][_0x4a5569(0x150)](/\*/g,''),_0x4eea4b=_0x2bc99c[_0x4a5569(0x140)]?_0x4a5569(0x165)+_0x2bc99c[_0x4a5569(0x140)][_0x4a5569(0x164)]+']':'';return'['+_0x2bc99c[_0x4a5569(0x14d)]+']\x20'+_0x2f6e78+_0x4eea4b;})[_0x49f7b3(0x145)](';\x20');}export function sortSuggestions(_0x51c121){const _0x3574b0=_0x2d8c;return _0x51c121[_0x3574b0(0x151)]((_0x31fff1,_0x47db78)=>_0x3574b0(0x163)==_0x31fff1[_0x3574b0(0x14d)]&&_0x3574b0(0x163)!=_0x47db78[_0x3574b0(0x14d)]?-0x1:_0x3574b0(0x163)!=_0x31fff1[_0x3574b0(0x14d)]&&_0x3574b0(0x163)==_0x47db78[_0x3574b0(0x14d)]?0x1:0x0);}export function getSelectedSuggestions(_0x1c73ea,_0x445ad5){const _0x5e7c53=_0x2d8c,_0x45b576=Array[_0x5e7c53(0x141)](_0x1c73ea[_0x5e7c53(0x15a)]()),_0x43ddde=new Set();for(const _0x31f4ee of _0x445ad5)if(_0x31f4ee[_0x5e7c53(0x168)]){for(const _0x185f63 of _0x45b576)for(const _0x425605 of _0x31f4ee[_0x5e7c53(0x15a)]())(_0x185f63[_0x5e7c53(0x14a)](_0x425605)||_0x1c73ea[_0x5e7c53(0x166)]&&!_0x31f4ee[_0x5e7c53(0x15d)]&&_0x31f4ee[_0x5e7c53(0x14e)]&&_0x425605[_0x5e7c53(0x14b)][_0x5e7c53(0x156)](_0x185f63[_0x5e7c53(0x157)]))&&_0x43ddde[_0x5e7c53(0x149)](_0x31f4ee);}return _0x43ddde;}export function getRangesOfBlockGroups(_0x2bfbea,_0x16436c){const _0x2195ed=_0x2d8c;let _0x4d6f62,_0x1393d3=0x0;const _0x1a4d3d=[],_0x43bbfa=_0x16436c[_0x2195ed(0x144)];for(;_0x1393d3<_0x2bfbea[_0x2195ed(0x15c)];){const _0x3bb0c9=_0x2bfbea[_0x1393d3],_0x158809=_0x2bfbea[_0x1393d3+0x1];_0x4d6f62||(_0x4d6f62=_0x16436c[_0x2195ed(0x167)](_0x3bb0c9)),co(_0x16436c,_0x3bb0c9,_0x158809)||(_0x1a4d3d[_0x2195ed(0x142)](_0x16436c[_0x2195ed(0x15b)](_0x4d6f62,_0x43bbfa[_0x2195ed(0x161)](_0x3bb0c9)?_0x16436c[_0x2195ed(0x14c)](_0x3bb0c9):_0x16436c[_0x2195ed(0x160)](_0x3bb0c9,_0x2195ed(0x14b)))),_0x4d6f62=null),_0x1393d3++;}return _0x1a4d3d;}function _0x2d8c(_0x2a1966,_0x163b45){const _0x1dc326=_0x1dc3();return _0x2d8c=function(_0x2d8c9f,_0x4db02a){_0x2d8c9f=_0x2d8c9f-0x140;let _0x3f16d1=_0x1dc326[_0x2d8c9f];return _0x3f16d1;},_0x2d8c(_0x2a1966,_0x163b45);}function co(_0x40c37f,_0x2a41fa,_0x3766fd){const _0x5bf37a=_0x2d8c;if(!_0x3766fd)return!0x1;const _0x5872f7=_0x40c37f[_0x5bf37a(0x14c)](_0x2a41fa),_0x4f7828=_0x40c37f[_0x5bf37a(0x167)](_0x3766fd);return _0x5872f7[_0x5bf37a(0x156)](_0x4f7828);}function _0x1dc3(){const _0xf627a3=['next','splice','replace','sort','1233GxsFKw','15QAbkhu','232506RDvFAa','change','isTouching','start','35126xmVlLh','isArray','getRanges','createRange','length','isMultiRange','17650DdCziX','596kbQGtm','createPositionAt','isObject','execute','deletion','value','\x20[color\x20','isCollapsed','createPositionBefore','isInContent','content','811314eAUFgZ','6478175NFdLbo','color','from','push','468938DeMPYp','schema','join','608AdHNWv','map','3015ojPRNn','add','isIntersecting','end','createPositionAfter','type'];_0x1dc3=function(){return _0xf627a3;};return _0x1dc3();}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4d44f4,_0x2b0046,_0x309a0e){const _0x48f8dc=_0x2d8c;for(;_0x309a0e[_0x48f8dc(0x15c)];){const _0x5a98ac=_0x309a0e[_0x48f8dc(0x14f)](0x0,0x64);_0x4d44f4[_0x48f8dc(0x155)](()=>{const _0x4db0d0=_0x48f8dc;for(const _0x1d13ba of _0x5a98ac)_0x1d13ba[_0x4db0d0(0x168)]&&_0x2b0046[_0x4db0d0(0x162)](_0x1d13ba['id']);});}}
|