@ckeditor/ckeditor5-track-changes 46.1.1-alpha.3 → 46.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.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/bs.js +1 -1
- package/dist/translations/bs.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-ch.js +1 -1
- package/dist/translations/de-ch.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.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/ti.js +1 -1
- package/dist/translations/ti.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/ug.js +1 -1
- package/dist/translations/ug.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/uz.js +1 -1
- package/dist/translations/uz.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 +27 -27
- 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/previewfinalcontentcommand.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/bookmark.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/emoji.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/lineheight.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/mergefields.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/replacesourcecommand.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 +2 -2
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablelayout.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/uploadcare.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/trackchangespreview.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/ui/view/suggestionview.js +1 -1
- package/src/ui/view/trackchangespreviewview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ae45c=_0x467e;function _0x467e(_0x31f956,_0x1eac41){const _0x8395b1=_0x8395();return _0x467e=function(_0x467e63,_0x1dca07){_0x467e63=_0x467e63-0x140;let _0x2cc5f1=_0x8395b1[_0x467e63];return _0x2cc5f1;},_0x467e(_0x31f956,_0x1eac41);}(function(_0x32ae5d,_0x53edff){const _0x419b25=_0x467e,_0x16422e=_0x32ae5d();while(!![]){try{const _0x300586=parseInt(_0x419b25(0x146))/0x1+-parseInt(_0x419b25(0x151))/0x2*(parseInt(_0x419b25(0x147))/0x3)+parseInt(_0x419b25(0x153))/0x4*(-parseInt(_0x419b25(0x145))/0x5)+parseInt(_0x419b25(0x14d))/0x6*(parseInt(_0x419b25(0x157))/0x7)+parseInt(_0x419b25(0x152))/0x8*(parseInt(_0x419b25(0x149))/0x9)+-parseInt(_0x419b25(0x142))/0xa+-parseInt(_0x419b25(0x155))/0xb*(-parseInt(_0x419b25(0x14f))/0xc);if(_0x300586===_0x53edff)break;else _0x16422e['push'](_0x16422e['shift']());}catch(_0x3d1c2c){_0x16422e['push'](_0x16422e['shift']());}}}(_0x8395,0x85118));import{Plugin as _0x3f47c8}from'ckeditor5/src/core.js';import{Dialog as _0x2aac44}from'ckeditor5/src/ui.js';function _0x8395(){const _0x4763f0=['pluginName','8901200geAkJO','isOfficialPlugin','appendChild','2948125viVAji','127389eWBqIy','17337DLpRyz','previewFinalContent','63CkxPTX','config','isPremiumPlugin','TrackChangesPreview','66uDsOEt','requires','3258768WawJLZ','trackChanges.preview.renderFunction','346IXwthM','475448BvECWe','4vZoFor','commands','77ybxeKt','define','369222wftDLf','add','editor'];_0x8395=function(){return _0x4763f0;};return _0x8395();}import{TrackChangesData as _0x4d8416}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x14dfc6}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x3f47c8{static get[_0x3ae45c(0x14e)](){return[_0x4d8416,_0x2aac44];}static get[_0x3ae45c(0x141)](){const _0x27500b=_0x3ae45c;return _0x27500b(0x14c);}static get[_0x3ae45c(0x143)](){return!0x0;}static get[_0x3ae45c(0x14b)](){return!0x0;}constructor(_0x4f5e72){const _0x89c705=_0x3ae45c;super(_0x4f5e72),_0x4f5e72[_0x89c705(0x154)][_0x89c705(0x158)](_0x89c705(0x148),new _0x14dfc6(this[_0x89c705(0x140)])),_0x4f5e72[_0x89c705(0x14a)][_0x89c705(0x156)](_0x89c705(0x150),(_0x5e37ea,_0x14cdc0)=>{const _0x1373f2=_0x89c705;for(const _0xd2c5a8 of _0x14cdc0)_0x5e37ea[_0x1373f2(0x144)](_0xd2c5a8);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24581e=_0x58b5;(function(_0x4695f6,_0x350cb7){const _0x508ee5=_0x58b5,_0x15de8f=_0x4695f6();while(!![]){try{const _0x3bb4b1=-parseInt(_0x508ee5(0x1e4))/0x1+parseInt(_0x508ee5(0x21f))/0x2+-parseInt(_0x508ee5(0x22c))/0x3+parseInt(_0x508ee5(0x226))/0x4+-parseInt(_0x508ee5(0x24e))/0x5+-parseInt(_0x508ee5(0x224))/0x6*(parseInt(_0x508ee5(0x21a))/0x7)+-parseInt(_0x508ee5(0x25f))/0x8*(-parseInt(_0x508ee5(0x216))/0x9);if(_0x3bb4b1===_0x350cb7)break;else _0x15de8f['push'](_0x15de8f['shift']());}catch(_0x359257){_0x15de8f['push'](_0x15de8f['shift']());}}}(_0xe781,0x74529));import{Plugin as _0x41ed9a}from'ckeditor5/src/core.js';import{Collection as _0x510403}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x461a6b}from'ckeditor5/src/icons.js';import{addListToDropdown as _0xd64178,createDropdown as _0x29d534,ListSeparatorView as _0x52562f,MenuBarMenuView as _0x1e274b,MenuBarMenuListView as _0x13f56b,MenuBarMenuListItemView as _0x5e3f89,MenuBarMenuListItemButtonView as _0x49ca74,SplitButtonView as _0x1a047f,UIModel as _0x4ea0d9}from'ckeditor5/src/ui.js';import{Users as _0x2e383c,getDateTimeFormatter as _0x21f14,getAllMarkersDomElementsSorted as _0x71d938}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1b517f}from'./trackchangesediting.js';import{SuggestionController as _0x581e0c}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x17232d}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x5aae6b}from'./ui/view/suggestionview.js';import{getTranslation as _0x29fbd2}from'./utils/common-translations.js';function _0x58b5(_0x3736f0,_0xe48fcf){const _0xe78122=_0xe781();return _0x58b5=function(_0x58b552,_0x17496a){_0x58b552=_0x58b552-0x1de;let _0x523547=_0xe78122[_0x58b552];return _0x523547;},_0x58b5(_0x3736f0,_0xe48fcf);}export class TrackChangesUI extends _0x41ed9a{[_0x24581e(0x210)];[_0x24581e(0x26f)];[_0x24581e(0x23e)];[_0x24581e(0x28d)];[_0x24581e(0x1e5)];[_0x24581e(0x20f)];[_0x24581e(0x236)];static get[_0x24581e(0x27d)](){const _0x363454=_0x24581e;return[_0x1b517f,_0x2e383c,_0x363454(0x22a),_0x363454(0x239),_0x363454(0x27b)];}static get[_0x24581e(0x286)](){const _0x78430d=_0x24581e;return _0x78430d(0x1e6);}static get[_0x24581e(0x272)](){return!0x0;}static get[_0x24581e(0x281)](){return!0x0;}constructor(_0xb1a76b){const _0x2a9f22=_0x24581e;super(_0xb1a76b),this[_0x2a9f22(0x23e)]=new Map(),this[_0x2a9f22(0x28d)]=new Map(),this[_0x2a9f22(0x1e5)]=new Map(),this[_0x2a9f22(0x20f)]=new Map();const _0x21f337=this[_0x2a9f22(0x221)][_0x2a9f22(0x1fc)];_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x269),_0x17232d),_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x217),_0x5aae6b),_0x21f337[_0x2a9f22(0x232)](_0x2a9f22(0x22f),!0x1),this[_0x2a9f22(0x236)]=_0x21f337[_0x2a9f22(0x1f8)](_0x2a9f22(0x22f));}[_0x24581e(0x277)](_0x3aaad0,_0x4a775f){const _0x21becf=_0x24581e;0x0===this[_0x21becf(0x20f)][_0x21becf(0x27a)]&&setTimeout(()=>{const _0x29e0b9=_0x21becf;for(const [_0x1c410f,_0x3ac9ba]of this[_0x29e0b9(0x20f)]){const _0x260941=this[_0x29e0b9(0x23e)][_0x29e0b9(0x223)](_0x1c410f);_0x260941||_0x3ac9ba?_0x260941&&_0x3ac9ba&&this[_0x29e0b9(0x252)](_0x1c410f):this[_0x29e0b9(0x273)](_0x1c410f);}this[_0x29e0b9(0x20f)][_0x29e0b9(0x251)](),this[_0x29e0b9(0x221)][_0x29e0b9(0x20a)][_0x29e0b9(0x1f8)](_0x29e0b9(0x27b))[_0x29e0b9(0x1ec)](),this[_0x29e0b9(0x203)]();},0xa),this[_0x21becf(0x20f)][_0x21becf(0x1ee)](_0x3aaad0,_0x4a775f);}[_0x24581e(0x228)](){const _0x124315=_0x24581e,_0x169e34=this[_0x124315(0x221)],_0x160820=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x23c)),_0x2bbc96=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x239)),_0x1e369b=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x27b)),_0x2bcdb2=_0x169e34[_0x124315(0x20a)][_0x124315(0x1f8)](_0x124315(0x22a));this[_0x124315(0x229)](),_0x1e369b[_0x124315(0x230)](()=>{const _0x3c3794=_0x124315,_0x51d3f5=[];for(const [_0x188a58,_0x51f8dd]of Array[_0x3c3794(0x28c)](this[_0x3c3794(0x23e)])){const _0x31c417=_0x188a58[_0x3c3794(0x24f)](),_0x5616db=[];for(const _0x333339 of _0x31c417){if(!_0x333339[_0x3c3794(0x1fd)])continue;if(_0x333339[_0x3c3794(0x259)]){_0x5616db[_0x3c3794(0x1ea)](..._0x333339[_0x3c3794(0x23f)]());continue;}const _0x3f1b17=_0x333339[_0x3c3794(0x285)]();if(_0x5616db[_0x3c3794(0x264)]>0x0){const _0x2d850b=_0x5616db[0x0][_0x3c3794(0x22e)](_0x3f1b17);if(_0x2d850b){_0x5616db[0x0]=_0x2d850b;continue;}}_0x5616db[_0x3c3794(0x1ea)](_0x3f1b17);}_0x51d3f5[_0x3c3794(0x1ea)]([_0x51f8dd[_0x3c3794(0x240)],_0x5616db]);}return _0x51d3f5;}),this[_0x124315(0x242)](_0x160820,_0x124315(0x1e7),(_0x5700f6,_0x158dde)=>{const _0x129ca8=_0x124315;this[_0x129ca8(0x242)](_0x158dde,_0x129ca8(0x289),(_0xdb90b3,_0x22a58e,_0x45560e,_0xc08b49)=>{const _0x493aba=_0x129ca8;_0x158dde[_0x493aba(0x1fd)]&&(null==_0x45560e?(this[_0x493aba(0x227)](_0xc08b49[_0x493aba(0x1ed)]),this[_0x493aba(0x277)](_0x158dde,!0x1)):(this[_0x493aba(0x227)](_0x45560e[_0x493aba(0x1ed)]),null==_0xc08b49&&this[_0x493aba(0x277)](_0x158dde,!0x0)));}),null!==_0x158dde[_0x129ca8(0x271)]?this[_0x129ca8(0x227)](_0x158dde[_0x129ca8(0x1ed)]):this[_0x129ca8(0x277)](_0x158dde,!0x1);}),this[_0x124315(0x242)](_0x160820,_0x124315(0x20d),(_0x152332,_0x115257,_0x3e1984)=>{const _0x3f68bc=_0x124315;this[_0x3f68bc(0x209)](_0x115257,_0x3f68bc(0x289)),this[_0x3f68bc(0x20f)][_0x3f68bc(0x21e)](_0x115257),this[_0x3f68bc(0x23e)][_0x3f68bc(0x223)](_0x115257)&&this[_0x3f68bc(0x252)](_0x115257),_0x3e1984&&this[_0x3f68bc(0x227)](_0x3e1984[_0x3f68bc(0x1ed)]);}),this[_0x124315(0x242)](_0x160820,_0x124315(0x260),(_0x45b501,_0x3b5b71)=>{const _0x26388c=_0x124315;this[_0x26388c(0x227)](_0x3b5b71);}),this[_0x124315(0x242)](_0x2bbc96,_0x124315(0x249),()=>{const _0x4e785b=_0x124315;this[_0x4e785b(0x203)]();}),this[_0x124315(0x242)](_0x2bcdb2,_0x124315(0x1e2),(_0x201891,{threadId:_0x1d7de5,isFromAdapter:_0x2420fc})=>{const _0xb7858a=_0x124315;if(_0x2420fc||!_0x160820[_0xb7858a(0x27c)](_0x1d7de5))return;const _0x58c856=_0x160820[_0xb7858a(0x237)](_0x1d7de5);this[_0xb7858a(0x23e)][_0xb7858a(0x1f8)](_0x58c856)[_0xb7858a(0x240)][_0xb7858a(0x231)][_0xb7858a(0x205)](-0x1);},{'priority':_0x124315(0x1fb)}),this[_0x124315(0x210)]=this[_0x124315(0x221)][_0x124315(0x1fc)][_0x124315(0x1f8)](_0x124315(0x210));const _0x3f973b=this[_0x124315(0x221)];this[_0x124315(0x26f)]=setInterval(()=>{const _0x2583d3=_0x124315;let _0x1832a9;for(const _0x411c03 in _0x3f973b){const _0x123a07=_0x411c03,_0x2f6a23=_0x3f973b[_0x123a07];if(_0x2583d3(0x1f1)==_0x2f6a23||_0x2583d3(0x21b)==_0x2f6a23||_0x2583d3(0x244)==_0x2f6a23||_0x2583d3(0x1f4)==_0x2f6a23||_0x2583d3(0x1fa)==_0x2f6a23||_0x2583d3(0x287)==_0x2f6a23||_0x2583d3(0x20c)==_0x2f6a23||_0x2583d3(0x234)==_0x2f6a23){delete _0x3f973b[_0x123a07],_0x1832a9=_0x2f6a23,clearInterval(this[_0x2583d3(0x26f)]),this[_0x2583d3(0x26f)]=void 0x0;break;}}_0x2583d3(0x21b)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x28e)),_0x2583d3(0x244)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x256)),_0x2583d3(0x1f4)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x262)),_0x2583d3(0x1fa)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x218),_0x2583d3(0x1de)),_0x2583d3(0x287)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x270)),_0x2583d3(0x20c)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x204)),_0x2583d3(0x234)==_0x1832a9&&_0x3f973b[_0x2583d3(0x1ff)](_0x2583d3(0x26a));},0x3e8);}[_0x24581e(0x21c)](_0x20059c){const _0x3ed25c=_0x24581e,_0x2d2701=this[_0x3ed25c(0x23e)][_0x3ed25c(0x1f8)](_0x20059c);if(!_0x2d2701)return null;return this[_0x3ed25c(0x221)][_0x3ed25c(0x20a)][_0x3ed25c(0x1f8)](_0x3ed25c(0x239))[_0x3ed25c(0x258)](_0x2d2701[_0x3ed25c(0x240)])||null;}[_0x24581e(0x278)](_0xd1db2c){const _0x5978b4=_0x24581e,_0x577740=this[_0x5978b4(0x28d)][_0x5978b4(0x1f8)](_0xd1db2c[_0x5978b4(0x26b)]);return _0x577740?_0x577740[_0x5978b4(0x274)]:null;}[_0x24581e(0x203)](){const _0x4f569e=_0x24581e,_0x20c9e0=this[_0x4f569e(0x221)][_0x4f569e(0x20a)][_0x4f569e(0x1f8)](_0x4f569e(0x239)),_0x4062d7=this[_0x4f569e(0x221)][_0x4f569e(0x20a)][_0x4f569e(0x1f8)](_0x4f569e(0x23c)),_0x820854=Array[_0x4f569e(0x28c)](_0x20c9e0[_0x4f569e(0x219)],_0xd7f224=>_0xd7f224[_0x4f569e(0x26b)])[_0x4f569e(0x1ef)](_0x4f9370=>this[_0x4f569e(0x28d)][_0x4f569e(0x223)](_0x4f9370)),_0x44148a=[];for(const _0x2dc592 of _0x820854){const _0x5cd052=this[_0x4f569e(0x28d)][_0x4f569e(0x1f8)](_0x2dc592)[_0x4f569e(0x274)][_0x4f569e(0x24f)]();_0x44148a[_0x4f569e(0x1ea)](..._0x5cd052[_0x4f569e(0x201)]((_0x1b42b6,_0x102f20)=>[..._0x1b42b6,..._0x102f20[_0x4f569e(0x275)]()],[]));}_0x4062d7[_0x4f569e(0x212)]=_0x44148a;}[_0x24581e(0x229)](){const _0x13a124=_0x24581e,_0x1ce517=this[_0x13a124(0x221)],_0xbd8645=_0x1ce517[_0x13a124(0x280)],_0xc7cec6=_0x29fbd2(_0xbd8645,_0x13a124(0x25c)),_0x121404=new _0x510403([{'type':_0x13a124(0x265),'model':new _0x4ea0d9({'withText':!0x0,'isToggleable':!0x0,'label':_0xc7cec6,'commandName':_0x13a124(0x24b),'role':_0x13a124(0x25d)})},{'type':_0x13a124(0x266)},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x24a)),'commandName':_0x13a124(0x25b),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x1e1)),'commandName':_0x13a124(0x22b),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x1f0)),'commandName':_0x13a124(0x268),'role':_0x13a124(0x246)})},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x208)),'commandName':_0x13a124(0x283),'role':_0x13a124(0x246)})}]);_0x1ce517[_0x13a124(0x20a)][_0x13a124(0x223)](_0x13a124(0x214))&&_0x121404[_0x13a124(0x213)]([{'type':_0x13a124(0x266)},{'type':_0x13a124(0x247),'model':new _0x4ea0d9({'withText':!0x0,'label':_0x29fbd2(_0xbd8645,_0x13a124(0x254)),'commandName':_0x13a124(0x250),'role':_0x13a124(0x246)})}]);for(const _0x1450e1 of _0x121404)if(ke(_0x1450e1)){const _0x47f9e7=_0x1ce517[_0x13a124(0x23b)][_0x13a124(0x1f8)](_0x1450e1[_0x13a124(0x274)][_0x13a124(0x200)]);_0x1450e1[_0x13a124(0x274)][_0x13a124(0x26c)](_0x13a124(0x255),_0x13a124(0x20b))['to'](_0x47f9e7,_0x13a124(0x282),_0x13a124(0x20b));}_0x1ce517['ui'][_0x13a124(0x1f5)][_0x13a124(0x202)](_0x13a124(0x24b),_0x4c9404=>this[_0x13a124(0x253)](_0x4c9404,_0x121404,_0xc7cec6)),_0x1ce517['ui'][_0x13a124(0x1f5)][_0x13a124(0x202)](_0x13a124(0x257),_0x2ccdb6=>this[_0x13a124(0x20e)](_0x2ccdb6,_0x121404,_0xc7cec6));}[_0x24581e(0x253)](_0x408dee,_0x1e7010,_0x4c23ed){const _0x1bd62f=_0x24581e,_0x215984=_0x29d534(_0x408dee,_0x1a047f),_0x1dfb99=this[_0x1bd62f(0x221)][_0x1bd62f(0x23b)][_0x1bd62f(0x1f8)](_0x1bd62f(0x24b));_0x215984[_0x1bd62f(0x222)][_0x1bd62f(0x1ee)]({'tooltip':_0x4c23ed,'label':_0x4c23ed,'icon':_0x461a6b}),_0x215984[_0x1bd62f(0x222)][_0x1bd62f(0x26c)](_0x1bd62f(0x255))['to'](_0x1dfb99,_0x1bd62f(0x282)),_0x215984[_0x1bd62f(0x222)]['on'](_0x1bd62f(0x1df),()=>{const _0x54d167=_0x1bd62f;_0x1dfb99[_0x54d167(0x1df)](),this[_0x54d167(0x221)][_0x54d167(0x248)][_0x54d167(0x240)][_0x54d167(0x205)]();}),_0xd64178(_0x215984,_0x1e7010,{'role':_0x1bd62f(0x288)});const _0x32d289=[];for(const _0x32c5ab of _0x1e7010)ke(_0x32c5ab)&&_0x32d289[_0x1bd62f(0x1ea)](this[_0x1bd62f(0x221)][_0x1bd62f(0x23b)][_0x1bd62f(0x1f8)](_0x32c5ab[_0x1bd62f(0x274)][_0x1bd62f(0x200)]));const _0x232c64=_0x215984[_0x1bd62f(0x222)];return _0x232c64[_0x1bd62f(0x21d)][_0x1bd62f(0x24d)](_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x28b)][_0x1bd62f(0x24d)](_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x21d)][_0x1bd62f(0x26c)](_0x1bd62f(0x20b))['to'](_0x1dfb99,_0x1bd62f(0x20b)),_0x232c64[_0x1bd62f(0x28b)][_0x1bd62f(0x26c)](_0x1bd62f(0x20b))[_0x1bd62f(0x22d)](_0x32d289,_0x1bd62f(0x20b),(..._0x255e77)=>_0x255e77[_0x1bd62f(0x27f)](_0x4c3fda=>_0x4c3fda)),_0x215984['on'](_0x1bd62f(0x1df),_0x4c528c=>{const _0x1cf38f=_0x1bd62f;this[_0x1cf38f(0x221)][_0x1cf38f(0x1df)](_0x4c528c[_0x1cf38f(0x241)][_0x1cf38f(0x200)]),this[_0x1cf38f(0x221)][_0x1cf38f(0x248)][_0x1cf38f(0x240)][_0x1cf38f(0x205)]();}),_0x215984;}[_0x24581e(0x20e)](_0x1837fe,_0x308049,_0x3d1779){const _0x3e4e8f=_0x24581e,_0x1285f4=new _0x1e274b(_0x1837fe),_0x1c61ce=this[_0x3e4e8f(0x221)][_0x3e4e8f(0x23b)][_0x3e4e8f(0x1f8)](_0x3e4e8f(0x24b));_0x1285f4[_0x3e4e8f(0x222)][_0x3e4e8f(0x1ee)]({'label':_0x3d1779,'icon':_0x461a6b});const _0x5026a4=new _0x13f56b(_0x1837fe);for(const _0x1b5831 of _0x308049){if(_0x3e4e8f(0x266)==_0x1b5831[_0x3e4e8f(0x1fe)]){_0x5026a4[_0x3e4e8f(0x261)][_0x3e4e8f(0x202)](new _0x52562f(_0x1837fe));continue;}const _0x2bdec1=new _0x5e3f89(_0x1837fe,_0x1285f4),_0x4ba4dd=new _0x49ca74(_0x1837fe),_0x1a0175=_0x1b5831[_0x3e4e8f(0x274)];_0x4ba4dd[_0x3e4e8f(0x26c)](...Object[_0x3e4e8f(0x207)](_0x1a0175))['to'](_0x1a0175),_0x4ba4dd[_0x3e4e8f(0x276)](_0x3e4e8f(0x1df))['to'](_0x1285f4),_0x4ba4dd['on'](_0x3e4e8f(0x1df),()=>{const _0x5161a5=_0x3e4e8f;this[_0x5161a5(0x221)][_0x5161a5(0x1df)](_0x1a0175[_0x5161a5(0x200)]),this[_0x5161a5(0x221)][_0x5161a5(0x248)][_0x5161a5(0x240)][_0x5161a5(0x205)]();}),_0x2bdec1[_0x3e4e8f(0x1eb)][_0x3e4e8f(0x202)](_0x4ba4dd),_0x5026a4[_0x3e4e8f(0x261)][_0x3e4e8f(0x202)](_0x2bdec1);}return _0x1285f4[_0x3e4e8f(0x26c)](_0x3e4e8f(0x20b))['to'](_0x1c61ce,_0x3e4e8f(0x20b)),_0x1285f4[_0x3e4e8f(0x206)][_0x3e4e8f(0x1eb)][_0x3e4e8f(0x202)](_0x5026a4),_0x1285f4;}[_0x24581e(0x273)](_0x4ca796){const _0x508c93=_0x24581e,_0x5b87d9=this[_0x508c93(0x221)],_0x7139da=_0x5b87d9[_0x508c93(0x1fc)],_0x46e4dd=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x239)),_0x35675e=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x22a)),_0x2790e6=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x27b)),_0x5c1a4b=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x2e383c)['me'],_0x48d62f=_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x24b))[_0x508c93(0x225)],_0x5d4cf0=_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x24b))[_0x508c93(0x243)],{CommentsListView:_0x193263,CommentThreadInputView:_0x30fc27}=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x211));let _0x23b524,_0x2bbef4,_0x323523;this[_0x508c93(0x1e5)][_0x508c93(0x223)](_0x4ca796['id'])?(_0x2bbef4=this[_0x508c93(0x1e5)][_0x508c93(0x1f8)](_0x4ca796['id']),_0x23b524=_0x2bbef4[_0x508c93(0x1e8)]):(_0x23b524=new _0x48d62f(_0x5b87d9[_0x508c93(0x280)],_0x4ca796,_0x5c1a4b,{'disableComments':this[_0x508c93(0x236)],'editorConfig':{..._0x7139da[_0x508c93(0x1f8)](_0x508c93(0x267)),'licenseKey':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x210))},'maxCommentsWhenCollapsed':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x26e)),'maxThreadTotalWeight':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x23d)),'maxCommentCharsWhenCollapsed':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x26d)),'formatDateTime':_0x21f14(_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x280)),_0x5b87d9[_0x508c93(0x280)]),'CommentView':_0x7139da[_0x508c93(0x1f8)](_0x508c93(0x25e))[_0x508c93(0x215)],'CommentsListView':_0x193263,'CommentThreadInputView':_0x30fc27,'SuggestionView':_0x5d4cf0}),_0x23b524[_0x508c93(0x263)][_0x508c93(0x1e9)]['on'](_0x508c93(0x1df),()=>{const _0x289fb1=_0x508c93;_0x5b87d9[_0x289fb1(0x248)][_0x289fb1(0x240)][_0x289fb1(0x205)]();}),_0x23b524[_0x508c93(0x263)][_0x508c93(0x1f9)]['on'](_0x508c93(0x1df),()=>{const _0x1b71ce=_0x508c93;_0x5b87d9[_0x1b71ce(0x248)][_0x1b71ce(0x240)][_0x1b71ce(0x205)]();}),_0x2bbef4=_0x46e4dd[_0x508c93(0x1f6)](this[_0x508c93(0x221)][_0x508c93(0x280)],_0x23b524),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x279))['to'](_0x23b524,_0x508c93(0x279)),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x264))['to'](_0x23b524),_0x2bbef4[_0x508c93(0x26c)](_0x508c93(0x1fe))['to'](_0x23b524,_0x508c93(0x1fe),_0x2714c3=>_0x508c93(0x284)+_0x2714c3),_0x23b524['on'](_0x508c93(0x1e3),()=>{const _0x31483f=_0x508c93;_0x323523[_0x31483f(0x238)](_0x31483f(0x1e3));}),this[_0x508c93(0x1e5)][_0x508c93(0x1ee)](_0x4ca796['id'],_0x2bbef4));const _0x8fa188=_0x35675e[_0x508c93(0x1f7)](_0x4ca796[_0x508c93(0x1f2)],_0x23b524),_0x1dadd4=new _0x581e0c(_0x5b87d9,_0x4ca796,_0x23b524,_0x8fa188),_0x1d8fca=_0x4ca796[_0x508c93(0x24f)]()[_0x508c93(0x1ef)](_0x35af8f=>_0x35af8f[_0x508c93(0x1fd)]);_0x23b524[_0x508c93(0x27e)]=_0x5b87d9[_0x508c93(0x20a)][_0x508c93(0x1f8)](_0x508c93(0x23c))[_0x508c93(0x24c)][_0x508c93(0x233)](_0x1d8fca),this[_0x508c93(0x23e)][_0x508c93(0x1ee)](_0x4ca796,_0x1dadd4),this[_0x508c93(0x28d)][_0x508c93(0x1ee)](_0x23b524,_0x1dadd4);const _0x3f781b=()=>{const _0x22da79=_0x508c93,_0x751347=[],_0xd46149=_0x4ca796[_0x22da79(0x24f)]()[_0x22da79(0x1ef)](_0x250050=>_0x250050[_0x22da79(0x1fd)]);for(const _0x1e585b of _0xd46149)_0x751347[_0x22da79(0x1ea)](..._0x1e585b[_0x22da79(0x245)]());return _0x71d938(_0x5b87d9[_0x22da79(0x248)],_0x751347);};_0x323523=_0x46e4dd[_0x508c93(0x1f3)]({'view':_0x2bbef4,'target':_0x3f781b,'type':()=>_0x508c93(0x284)+_0x1dadd4[_0x508c93(0x240)][_0x508c93(0x1fe)],'isVisible':!!_0x3f781b()}),_0x35675e[_0x508c93(0x23a)](_0x23b524,_0x323523),_0x46e4dd[_0x508c93(0x202)](_0x323523),_0x2790e6[_0x508c93(0x1e0)](_0x323523);}[_0x24581e(0x252)](_0x7ca0ba){const _0x30453c=_0x24581e,_0x29e5eb=this[_0x30453c(0x221)][_0x30453c(0x20a)][_0x30453c(0x1f8)](_0x30453c(0x22a)),_0x6203e9=this[_0x30453c(0x221)][_0x30453c(0x20a)][_0x30453c(0x1f8)](_0x30453c(0x239)),_0x505aba=this[_0x30453c(0x23e)][_0x30453c(0x1f8)](_0x7ca0ba),_0x2489cc=_0x505aba[_0x30453c(0x240)],_0x5a4a0f=_0x6203e9[_0x30453c(0x258)](_0x2489cc);_0x29e5eb[_0x30453c(0x25a)](_0x2489cc),_0x5a4a0f&&_0x6203e9[_0x30453c(0x220)](_0x5a4a0f),this[_0x30453c(0x23e)][_0x30453c(0x21e)](_0x7ca0ba),this[_0x30453c(0x28d)][_0x30453c(0x21e)](_0x2489cc),_0x505aba[_0x30453c(0x28a)]();}[_0x24581e(0x227)](_0x35b758){const _0x41bada=_0x24581e;if(!_0x35b758[_0x41bada(0x1fd)]||!this[_0x41bada(0x23e)][_0x41bada(0x223)](_0x35b758))return;const _0x1b345e=this[_0x41bada(0x221)][_0x41bada(0x20a)][_0x41bada(0x1f8)](_0x41bada(0x23c)),_0x5e5544=this[_0x41bada(0x23e)][_0x41bada(0x1f8)](_0x35b758),_0x1c078a=_0x35b758[_0x41bada(0x24f)]();_0x5e5544[_0x41bada(0x240)][_0x41bada(0x27e)]=_0x1b345e[_0x41bada(0x24c)][_0x41bada(0x233)](_0x1c078a);}[_0x24581e(0x28a)](){const _0x155bc3=_0x24581e;for(const _0x4a9b8b of this[_0x155bc3(0x23e)][_0x155bc3(0x207)]())this[_0x155bc3(0x252)](_0x4a9b8b);for(const _0x4c204a of this[_0x155bc3(0x1e5)][_0x155bc3(0x235)]())_0x4c204a[_0x155bc3(0x1e8)][_0x155bc3(0x28a)]();super[_0x155bc3(0x28a)](),this[_0x155bc3(0x26f)]&&clearInterval(this[_0x155bc3(0x26f)]);}}function _0xe781(){const _0x50a023=['441498FyYSvy','SuggestionThreadView','2509692dvkcBm','_updateController','init','_addUIComponentsToFactory','CommentsRepository','acceptSelectedSuggestions','1475643VjmOri','toMany','getJoined','trackChanges.disableComments','addSourceCollector','commentsListView','define','getDescriptions','trackChangesLicenseKeyUsageLimit','values','_disableComments','getSuggestion','fire','Annotations','_bindAnnotationToEditors','commands','TrackChangesEditing','comments.maxThreadTotalWeight','_suggestionToController','getRanges','view','source','listenTo','SuggestionView','trackChangesLicenseKeyExpired','getMarkers','menuitem','button','editing','change:activeAnnotations','Accept\x20all\x20suggestions','trackChanges','descriptionFactory','unbind','3886455GamYGe','getAllAdjacentSuggestions','previewFinalContent','clear','_destroyController','_createToolbarButton','Preview\x20final\x20content','isOn','expired','menuBar:trackChanges','getByInnerView','isMultiRange','_unbindEditors','acceptAllSuggestions','Track\x20changes','menuitemcheckbox','comments','4808RYVNZo','suggestionChanged','items','domainLimit','suggestionView','length','switchbutton','separator','comments.editorConfig','discardAllSuggestions','trackChanges.SuggestionThreadView','usageLimit','innerView','bind','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','_licenseKeyCheckInterval','evaluationLimit','previous','isOfficialPlugin','_initializeController','model','getMarkerNames','delegate','_handleSuggestionControllerDelayed','getSuggestionForAnnotation','isDirty','size','EditorAnnotations','hasSuggestion','requires','descriptionParts','some','locale','isPremiumPlugin','value','discardSelectedSuggestions','suggestion-','getFirstRange','pluginName','trackChangesLicenseKeyEvaluationLimit','menu','change:previous','destroy','arrowView','from','_viewToController','invalid','TrackChanges','execute','registerAnnotation','Accept\x20all\x20selected\x20suggestions','addComment','escape','544814ilimeH','_annotationViews','TrackChangesUI','suggestionLoaded','mainView','acceptButton','push','children','refreshSelectedViews','head','set','filter','Discard\x20all\x20suggestions','trackChangesLicenseKeyValid','commentThread','createAnnotation','trackChangesLicenseKeyDomainLimit','componentFactory','createAnnotationView','createCommentThreadController','get','discardButton','trackChangesLicenseKeyNotAllowed','lowest','config','isInContent','type','_showLicenseError','commandName','reduce','add','_refreshActiveMarkers','trialLimit','focus','panelView','keys','Discard\x20all\x20selected\x20suggestions','stopListening','plugins','isEnabled','trackChangesLicenseKeyTrialLimit','suggestionUnloaded','_createMenuBarMenu','_handleControllerBuffer','licenseKey','CommentsUI','activeMarkers','addMany','TrackChangesPreview','CommentView','17334UsNEUD','trackChanges.SuggestionView','featureNotAllowed','activeAnnotations','7UxjGBx','trackChangesLicenseKeyInvalid','getAnnotationForSuggestion','actionView','delete','1158154WlvTDo','remove','editor','buttonView','has'];_0xe781=function(){return _0x50a023;};return _0xe781();}function ke(_0x39be22){const _0x6d1724=_0x24581e;return _0x6d1724(0x274)in _0x39be22;}
|
|
23
|
+
const _0x24ce53=_0x5ccb;(function(_0x39246c,_0x191c3e){const _0x3bc603=_0x5ccb,_0x56714e=_0x39246c();while(!![]){try{const _0x6250f3=-parseInt(_0x3bc603(0x1df))/0x1*(parseInt(_0x3bc603(0x1c0))/0x2)+parseInt(_0x3bc603(0x19d))/0x3+parseInt(_0x3bc603(0x19b))/0x4+-parseInt(_0x3bc603(0x17e))/0x5+parseInt(_0x3bc603(0x15d))/0x6+parseInt(_0x3bc603(0x14f))/0x7*(parseInt(_0x3bc603(0x1de))/0x8)+parseInt(_0x3bc603(0x1a0))/0x9*(-parseInt(_0x3bc603(0x15e))/0xa);if(_0x6250f3===_0x191c3e)break;else _0x56714e['push'](_0x56714e['shift']());}catch(_0x173058){_0x56714e['push'](_0x56714e['shift']());}}}(_0x3b09,0xeba98));import{Plugin as _0x34fc9d}from'ckeditor5/src/core.js';import{Collection as _0x5954a0}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x2b6850}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x255cdd,createDropdown as _0x32510d,ListSeparatorView as _0x5cac4b,MenuBarMenuView as _0xa5fa1c,MenuBarMenuListView as _0x213c67,MenuBarMenuListItemView as _0x29e38a,MenuBarMenuListItemButtonView as _0x5c96a5,SplitButtonView as _0x2e025e,UIModel as _0x32331a}from'ckeditor5/src/ui.js';import{Users as _0x54ccb9,getDateTimeFormatter as _0x2cc457,getAllMarkersDomElementsSorted as _0x241270}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4435ff}from'./trackchangesediting.js';import{SuggestionController as _0x3fd484}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x47d03d}from'./ui/view/suggestionthreadview.js';function _0x5ccb(_0x4af209,_0x3444f9){const _0x3b092d=_0x3b09();return _0x5ccb=function(_0x5ccbae,_0x1585ee){_0x5ccbae=_0x5ccbae-0x149;let _0x5ebd72=_0x3b092d[_0x5ccbae];return _0x5ebd72;},_0x5ccb(_0x4af209,_0x3444f9);}import{SuggestionView as _0x3ddea3}from'./ui/view/suggestionview.js';function _0x3b09(){const _0x44e01b=['getMarkerNames','_addUIComponentsToFactory','commandName','menuBar:trackChanges','suggestionView','getAnnotationForSuggestion','invalid','arrowView','panelView','_initializeController','7578656ioavAL','componentFactory','3657306EFzjkg','trackChanges.SuggestionView','actionView','1881eFePaG','isEnabled','push','fire','suggestionUnloaded','define','editor','trackChangesLicenseKeyEvaluationLimit','isPremiumPlugin','menu','add','items','type','_annotationViews','addComment','stopListening','discardButton','trackChangesLicenseKeyDomainLimit','domainLimit','isOfficialPlugin','getFirstRange','trackChangesLicenseKeyValid','pluginName','trialLimit','from','source','CommentsRepository','_createToolbarButton','value','trackChangesLicenseKeyInvalid','menuitem','_unbindEditors','4KkrByb','licenseKey','featureNotAllowed','getDescriptions','_createMenuBarMenu','head','CommentView','change:activeAnnotations','trackChanges','createCommentThreadController','requires','get','comments.maxCommentsWhenCollapsed','comments.maxCommentCharsWhenCollapsed','some','TrackChangesPreview','isDirty','_viewToController','comments.maxThreadTotalWeight','plugins','unbind','keys','isMultiRange','remove','discardAllSuggestions','activeMarkers','locale','delegate','getMarkers','trackChanges.SuggestionThreadView','16OfsVuT','658622kzHKgy','getAllAdjacentSuggestions','commentThread','trackChangesLicenseKeyTrialLimit','comments','suggestion-','children','createAnnotation','expired','Discard\x20all\x20selected\x20suggestions','getSuggestionForAnnotation','getSuggestion','button','_licenseKeyCheckInterval','Track\x20changes','TrackChanges','_handleControllerBuffer','Annotations','refreshSelectedViews','previous','getJoined','toMany','innerView','suggestionChanged','_destroyController','previewFinalContent','menuitemcheckbox','escape','values','destroy','config','Accept\x20all\x20suggestions','_bindAnnotationToEditors','createAnnotationView','5072291BDIYrr','SuggestionView','descriptionParts','trackChangesLicenseKeyExpired','EditorAnnotations','getByInnerView','descriptionFactory','_updateController','mainView','has','suggestionLoaded','change:previous','length','listenTo','6286608rKcbod','71450XTZaXe','delete','trackChanges.disableComments','trackChangesLicenseKeyUsageLimit','Preview\x20final\x20content','commands','TrackChangesUI','_refreshActiveMarkers','registerAnnotation','addSourceCollector','view','activeAnnotations','trackChangesLicenseKeyNotAllowed','clear','acceptAllSuggestions','_handleSuggestionControllerDelayed','focus','hasSuggestion','_disableComments','execute','lowest','buttonView','getRanges','editing','CommentsUI','addMany','filter','switchbutton','separator','Discard\x20all\x20suggestions','TrackChangesEditing','evaluationLimit','9174695rMrHcj','SuggestionThreadView','model','bind','isOn','set','usageLimit','Accept\x20all\x20selected\x20suggestions','acceptButton','init','reduce','discardSelectedSuggestions','_showLicenseError','commentsListView','_suggestionToController','size','acceptSelectedSuggestions','isInContent','comments.editorConfig'];_0x3b09=function(){return _0x44e01b;};return _0x3b09();}import{getTranslation as _0x58ddd9}from'./utils/common-translations.js';export class TrackChangesUI extends _0x34fc9d{[_0x24ce53(0x1c1)];[_0x24ce53(0x1ec)];[_0x24ce53(0x18c)];[_0x24ce53(0x1d1)];[_0x24ce53(0x1ad)];[_0x24ce53(0x1ef)];[_0x24ce53(0x170)];static get[_0x24ce53(0x1ca)](){const _0x3c8127=_0x24ce53;return[_0x4435ff,_0x54ccb9,_0x3c8127(0x1ba),_0x3c8127(0x1f0),_0x3c8127(0x153)];}static get[_0x24ce53(0x1b6)](){const _0x545033=_0x24ce53;return _0x545033(0x164);}static get[_0x24ce53(0x1b3)](){return!0x0;}static get[_0x24ce53(0x1a8)](){return!0x0;}constructor(_0x2f4765){const _0x2c510b=_0x24ce53;super(_0x2f4765),this[_0x2c510b(0x18c)]=new Map(),this[_0x2c510b(0x1d1)]=new Map(),this[_0x2c510b(0x1ad)]=new Map(),this[_0x2c510b(0x1ef)]=new Map();const _0xaaaef5=this[_0x2c510b(0x1a6)][_0x2c510b(0x14b)];_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x1dd),_0x47d03d),_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x19e),_0x3ddea3),_0xaaaef5[_0x2c510b(0x1a5)](_0x2c510b(0x160),!0x1),this[_0x2c510b(0x170)]=_0xaaaef5[_0x2c510b(0x1cb)](_0x2c510b(0x160));}[_0x24ce53(0x16d)](_0x2ebb1e,_0xbe846b){const _0x471ad8=_0x24ce53;0x0===this[_0x471ad8(0x1ef)][_0x471ad8(0x18d)]&&setTimeout(()=>{const _0x85644b=_0x471ad8;for(const [_0x3055d3,_0x24616b]of this[_0x85644b(0x1ef)]){const _0x368c0b=this[_0x85644b(0x18c)][_0x85644b(0x158)](_0x3055d3);_0x368c0b||_0x24616b?_0x368c0b&&_0x24616b&&this[_0x85644b(0x1f7)](_0x3055d3):this[_0x85644b(0x19a)](_0x3055d3);}this[_0x85644b(0x1ef)][_0x85644b(0x16b)](),this[_0x85644b(0x1a6)][_0x85644b(0x1d3)][_0x85644b(0x1cb)](_0x85644b(0x153))[_0x85644b(0x1f1)](),this[_0x85644b(0x165)]();},0xa),this[_0x471ad8(0x1ef)][_0x471ad8(0x183)](_0x2ebb1e,_0xbe846b);}[_0x24ce53(0x187)](){const _0x1426b9=_0x24ce53,_0x3ca1b1=this[_0x1426b9(0x1a6)],_0x420e7b=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x17c)),_0x214459=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x1f0)),_0x5d627d=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x153)),_0x1988ae=_0x3ca1b1[_0x1426b9(0x1d3)][_0x1426b9(0x1cb)](_0x1426b9(0x1ba));this[_0x1426b9(0x192)](),_0x5d627d[_0x1426b9(0x167)](()=>{const _0x153600=_0x1426b9,_0x2e5874=[];for(const [_0x365726,_0x47c288]of Array[_0x153600(0x1b8)](this[_0x153600(0x18c)])){const _0x25417a=_0x365726[_0x153600(0x1e0)](),_0x37435d=[];for(const _0x3a2ff8 of _0x25417a){if(!_0x3a2ff8[_0x153600(0x18f)])continue;if(_0x3a2ff8[_0x153600(0x1d6)]){_0x37435d[_0x153600(0x1a2)](..._0x3a2ff8[_0x153600(0x174)]());continue;}const _0x3bffb3=_0x3a2ff8[_0x153600(0x1b4)]();if(_0x37435d[_0x153600(0x15b)]>0x0){const _0x385698=_0x37435d[0x0][_0x153600(0x1f3)](_0x3bffb3);if(_0x385698){_0x37435d[0x0]=_0x385698;continue;}}_0x37435d[_0x153600(0x1a2)](_0x3bffb3);}_0x2e5874[_0x153600(0x1a2)]([_0x47c288[_0x153600(0x168)],_0x37435d]);}return _0x2e5874;}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x159),(_0x3d8fc5,_0x10ec48)=>{const _0x25b5b6=_0x1426b9;this[_0x25b5b6(0x15c)](_0x10ec48,_0x25b5b6(0x15a),(_0x5b3783,_0x1f2682,_0x330053,_0x591994)=>{const _0x4d2304=_0x25b5b6;_0x10ec48[_0x4d2304(0x18f)]&&(null==_0x330053?(this[_0x4d2304(0x156)](_0x591994[_0x4d2304(0x1c5)]),this[_0x4d2304(0x16d)](_0x10ec48,!0x1)):(this[_0x4d2304(0x156)](_0x330053[_0x4d2304(0x1c5)]),null==_0x591994&&this[_0x4d2304(0x16d)](_0x10ec48,!0x0)));}),null!==_0x10ec48[_0x25b5b6(0x1f2)]?this[_0x25b5b6(0x156)](_0x10ec48[_0x25b5b6(0x1c5)]):this[_0x25b5b6(0x16d)](_0x10ec48,!0x1);}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x1a4),(_0x4b4b2d,_0x4b106b,_0x459964)=>{const _0x589540=_0x1426b9;this[_0x589540(0x1af)](_0x4b106b,_0x589540(0x15a)),this[_0x589540(0x1ef)][_0x589540(0x15f)](_0x4b106b),this[_0x589540(0x18c)][_0x589540(0x158)](_0x4b106b)&&this[_0x589540(0x1f7)](_0x4b106b),_0x459964&&this[_0x589540(0x156)](_0x459964[_0x589540(0x1c5)]);}),this[_0x1426b9(0x15c)](_0x420e7b,_0x1426b9(0x1f6),(_0x3940fd,_0x142648)=>{const _0x5dab27=_0x1426b9;this[_0x5dab27(0x156)](_0x142648);}),this[_0x1426b9(0x15c)](_0x214459,_0x1426b9(0x1c7),()=>{const _0x168c32=_0x1426b9;this[_0x168c32(0x165)]();}),this[_0x1426b9(0x15c)](_0x1988ae,_0x1426b9(0x1ae),(_0x457cc5,{threadId:_0x26a9b8,isFromAdapter:_0x5f0bf5})=>{const _0x47ec4e=_0x1426b9;if(_0x5f0bf5||!_0x420e7b[_0x47ec4e(0x16f)](_0x26a9b8))return;const _0x100a67=_0x420e7b[_0x47ec4e(0x1ea)](_0x26a9b8);this[_0x47ec4e(0x18c)][_0x47ec4e(0x1cb)](_0x100a67)[_0x47ec4e(0x168)][_0x47ec4e(0x18b)][_0x47ec4e(0x16e)](-0x1);},{'priority':_0x1426b9(0x172)}),this[_0x1426b9(0x1c1)]=this[_0x1426b9(0x1a6)][_0x1426b9(0x14b)][_0x1426b9(0x1cb)](_0x1426b9(0x1c1));const _0x4c8f44=this[_0x1426b9(0x1a6)];this[_0x1426b9(0x1ec)]=setInterval(()=>{const _0x161820=_0x1426b9;let _0x48d64e;for(const _0x417a82 in _0x4c8f44){const _0x55076e=_0x417a82,_0x5e333a=_0x4c8f44[_0x55076e];if(_0x161820(0x1b5)==_0x5e333a||_0x161820(0x1bd)==_0x5e333a||_0x161820(0x152)==_0x5e333a||_0x161820(0x1b1)==_0x5e333a||_0x161820(0x16a)==_0x5e333a||_0x161820(0x1a7)==_0x5e333a||_0x161820(0x1e2)==_0x5e333a||_0x161820(0x161)==_0x5e333a){delete _0x4c8f44[_0x55076e],_0x48d64e=_0x5e333a,clearInterval(this[_0x161820(0x1ec)]),this[_0x161820(0x1ec)]=void 0x0;break;}}_0x161820(0x1bd)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x197)),_0x161820(0x152)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1e7)),_0x161820(0x1b1)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1b2)),_0x161820(0x16a)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1c2),_0x161820(0x1ee)),_0x161820(0x1a7)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x17d)),_0x161820(0x1e2)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x1b7)),_0x161820(0x161)==_0x48d64e&&_0x4c8f44[_0x161820(0x18a)](_0x161820(0x184));},0x3e8);}[_0x24ce53(0x196)](_0x111382){const _0x4a0005=_0x24ce53,_0xd18660=this[_0x4a0005(0x18c)][_0x4a0005(0x1cb)](_0x111382);if(!_0xd18660)return null;return this[_0x4a0005(0x1a6)][_0x4a0005(0x1d3)][_0x4a0005(0x1cb)](_0x4a0005(0x1f0))[_0x4a0005(0x154)](_0xd18660[_0x4a0005(0x168)])||null;}[_0x24ce53(0x1e9)](_0x6aa10c){const _0xd17b68=_0x24ce53,_0x24cfd4=this[_0xd17b68(0x1d1)][_0xd17b68(0x1cb)](_0x6aa10c[_0xd17b68(0x1f5)]);return _0x24cfd4?_0x24cfd4[_0xd17b68(0x180)]:null;}[_0x24ce53(0x165)](){const _0x24c8f1=_0x24ce53,_0xf6be1d=this[_0x24c8f1(0x1a6)][_0x24c8f1(0x1d3)][_0x24c8f1(0x1cb)](_0x24c8f1(0x1f0)),_0x16fac8=this[_0x24c8f1(0x1a6)][_0x24c8f1(0x1d3)][_0x24c8f1(0x1cb)](_0x24c8f1(0x17c)),_0x11471f=Array[_0x24c8f1(0x1b8)](_0xf6be1d[_0x24c8f1(0x169)],_0x42fe9d=>_0x42fe9d[_0x24c8f1(0x1f5)])[_0x24c8f1(0x178)](_0x3afcec=>this[_0x24c8f1(0x1d1)][_0x24c8f1(0x158)](_0x3afcec)),_0x3d504c=[];for(const _0x38ba07 of _0x11471f){const _0x48da19=this[_0x24c8f1(0x1d1)][_0x24c8f1(0x1cb)](_0x38ba07)[_0x24c8f1(0x180)][_0x24c8f1(0x1e0)]();_0x3d504c[_0x24c8f1(0x1a2)](..._0x48da19[_0x24c8f1(0x188)]((_0x1659c0,_0x549238)=>[..._0x1659c0,..._0x549238[_0x24c8f1(0x191)]()],[]));}_0x16fac8[_0x24c8f1(0x1d9)]=_0x3d504c;}[_0x24ce53(0x192)](){const _0x563597=_0x24ce53,_0x356c7f=this[_0x563597(0x1a6)],_0x70a24a=_0x356c7f[_0x563597(0x1da)],_0x3e26e3=_0x58ddd9(_0x70a24a,_0x563597(0x1ed)),_0x49a9c4=new _0x5954a0([{'type':_0x563597(0x179),'model':new _0x32331a({'withText':!0x0,'isToggleable':!0x0,'label':_0x3e26e3,'commandName':_0x563597(0x1c8),'role':_0x563597(0x1f9)})},{'type':_0x563597(0x17a)},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x14c)),'commandName':_0x563597(0x16c),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x185)),'commandName':_0x563597(0x18e),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x17b)),'commandName':_0x563597(0x1d8),'role':_0x563597(0x1be)})},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x1e8)),'commandName':_0x563597(0x189),'role':_0x563597(0x1be)})}]);_0x356c7f[_0x563597(0x1d3)][_0x563597(0x158)](_0x563597(0x1cf))&&_0x49a9c4[_0x563597(0x177)]([{'type':_0x563597(0x17a)},{'type':_0x563597(0x1eb),'model':new _0x32331a({'withText':!0x0,'label':_0x58ddd9(_0x70a24a,_0x563597(0x162)),'commandName':_0x563597(0x1f8),'role':_0x563597(0x1be)})}]);for(const _0xe34217 of _0x49a9c4)if(ke(_0xe34217)){const _0x38986e=_0x356c7f[_0x563597(0x163)][_0x563597(0x1cb)](_0xe34217[_0x563597(0x180)][_0x563597(0x193)]);_0xe34217[_0x563597(0x180)][_0x563597(0x181)](_0x563597(0x182),_0x563597(0x1a1))['to'](_0x38986e,_0x563597(0x1bc),_0x563597(0x1a1));}_0x356c7f['ui'][_0x563597(0x19c)][_0x563597(0x1aa)](_0x563597(0x1c8),_0x3c61bb=>this[_0x563597(0x1bb)](_0x3c61bb,_0x49a9c4,_0x3e26e3)),_0x356c7f['ui'][_0x563597(0x19c)][_0x563597(0x1aa)](_0x563597(0x194),_0x170a49=>this[_0x563597(0x1c4)](_0x170a49,_0x49a9c4,_0x3e26e3));}[_0x24ce53(0x1bb)](_0x344874,_0x38a598,_0x2b5d22){const _0x489482=_0x24ce53,_0x280b0d=_0x32510d(_0x344874,_0x2e025e),_0x36255c=this[_0x489482(0x1a6)][_0x489482(0x163)][_0x489482(0x1cb)](_0x489482(0x1c8));_0x280b0d[_0x489482(0x173)][_0x489482(0x183)]({'tooltip':_0x2b5d22,'label':_0x2b5d22,'icon':_0x2b6850}),_0x280b0d[_0x489482(0x173)][_0x489482(0x181)](_0x489482(0x182))['to'](_0x36255c,_0x489482(0x1bc)),_0x280b0d[_0x489482(0x173)]['on'](_0x489482(0x171),()=>{const _0x43f34b=_0x489482;_0x36255c[_0x43f34b(0x171)](),this[_0x43f34b(0x1a6)][_0x43f34b(0x175)][_0x43f34b(0x168)][_0x43f34b(0x16e)]();}),_0x255cdd(_0x280b0d,_0x38a598,{'role':_0x489482(0x1a9)});const _0x2364fb=[];for(const _0x10d92e of _0x38a598)ke(_0x10d92e)&&_0x2364fb[_0x489482(0x1a2)](this[_0x489482(0x1a6)][_0x489482(0x163)][_0x489482(0x1cb)](_0x10d92e[_0x489482(0x180)][_0x489482(0x193)]));const _0x3bc4be=_0x280b0d[_0x489482(0x173)];return _0x3bc4be[_0x489482(0x19f)][_0x489482(0x1d4)](_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x198)][_0x489482(0x1d4)](_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x19f)][_0x489482(0x181)](_0x489482(0x1a1))['to'](_0x36255c,_0x489482(0x1a1)),_0x3bc4be[_0x489482(0x198)][_0x489482(0x181)](_0x489482(0x1a1))[_0x489482(0x1f4)](_0x2364fb,_0x489482(0x1a1),(..._0xe1135e)=>_0xe1135e[_0x489482(0x1ce)](_0x1ebf18=>_0x1ebf18)),_0x280b0d['on'](_0x489482(0x171),_0x2cbb71=>{const _0x2955dc=_0x489482;this[_0x2955dc(0x1a6)][_0x2955dc(0x171)](_0x2cbb71[_0x2955dc(0x1b9)][_0x2955dc(0x193)]),this[_0x2955dc(0x1a6)][_0x2955dc(0x175)][_0x2955dc(0x168)][_0x2955dc(0x16e)]();}),_0x280b0d;}[_0x24ce53(0x1c4)](_0x2eb648,_0x161103,_0x1301d0){const _0x36646d=_0x24ce53,_0x2156e4=new _0xa5fa1c(_0x2eb648),_0x124501=this[_0x36646d(0x1a6)][_0x36646d(0x163)][_0x36646d(0x1cb)](_0x36646d(0x1c8));_0x2156e4[_0x36646d(0x173)][_0x36646d(0x183)]({'label':_0x1301d0,'icon':_0x2b6850});const _0x495ca4=new _0x213c67(_0x2eb648);for(const _0x269b3a of _0x161103){if(_0x36646d(0x17a)==_0x269b3a[_0x36646d(0x1ac)]){_0x495ca4[_0x36646d(0x1ab)][_0x36646d(0x1aa)](new _0x5cac4b(_0x2eb648));continue;}const _0x3bff0f=new _0x29e38a(_0x2eb648,_0x2156e4),_0x3a500c=new _0x5c96a5(_0x2eb648),_0x58d4b3=_0x269b3a[_0x36646d(0x180)];_0x3a500c[_0x36646d(0x181)](...Object[_0x36646d(0x1d5)](_0x58d4b3))['to'](_0x58d4b3),_0x3a500c[_0x36646d(0x1db)](_0x36646d(0x171))['to'](_0x2156e4),_0x3a500c['on'](_0x36646d(0x171),()=>{const _0x2ee0f5=_0x36646d;this[_0x2ee0f5(0x1a6)][_0x2ee0f5(0x171)](_0x58d4b3[_0x2ee0f5(0x193)]),this[_0x2ee0f5(0x1a6)][_0x2ee0f5(0x175)][_0x2ee0f5(0x168)][_0x2ee0f5(0x16e)]();}),_0x3bff0f[_0x36646d(0x1e5)][_0x36646d(0x1aa)](_0x3a500c),_0x495ca4[_0x36646d(0x1ab)][_0x36646d(0x1aa)](_0x3bff0f);}return _0x2156e4[_0x36646d(0x181)](_0x36646d(0x1a1))['to'](_0x124501,_0x36646d(0x1a1)),_0x2156e4[_0x36646d(0x199)][_0x36646d(0x1e5)][_0x36646d(0x1aa)](_0x495ca4),_0x2156e4;}[_0x24ce53(0x19a)](_0x391eda){const _0x370ce4=_0x24ce53,_0xbb31da=this[_0x370ce4(0x1a6)],_0x4b6333=_0xbb31da[_0x370ce4(0x14b)],_0x21c63b=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x1f0)),_0x1528a6=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x1ba)),_0x4511bf=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x153)),_0x45feb7=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x54ccb9)['me'],_0x233ce1=_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c8))[_0x370ce4(0x17f)],_0x11ec26=_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c8))[_0x370ce4(0x150)],{CommentsListView:_0x323084,CommentThreadInputView:_0xaf74a3}=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x176));let _0x98af49,_0x18b068,_0xe68709;this[_0x370ce4(0x1ad)][_0x370ce4(0x158)](_0x391eda['id'])?(_0x18b068=this[_0x370ce4(0x1ad)][_0x370ce4(0x1cb)](_0x391eda['id']),_0x98af49=_0x18b068[_0x370ce4(0x157)]):(_0x98af49=new _0x233ce1(_0xbb31da[_0x370ce4(0x1da)],_0x391eda,_0x45feb7,{'disableComments':this[_0x370ce4(0x170)],'editorConfig':{..._0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x190)),'licenseKey':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1c1))},'maxCommentsWhenCollapsed':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1cc)),'maxThreadTotalWeight':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1d2)),'maxCommentCharsWhenCollapsed':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1cd)),'formatDateTime':_0x2cc457(_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1da)),_0xbb31da[_0x370ce4(0x1da)]),'CommentView':_0x4b6333[_0x370ce4(0x1cb)](_0x370ce4(0x1e3))[_0x370ce4(0x1c6)],'CommentsListView':_0x323084,'CommentThreadInputView':_0xaf74a3,'SuggestionView':_0x11ec26}),_0x98af49[_0x370ce4(0x195)][_0x370ce4(0x186)]['on'](_0x370ce4(0x171),()=>{const _0x54eeb5=_0x370ce4;_0xbb31da[_0x54eeb5(0x175)][_0x54eeb5(0x168)][_0x54eeb5(0x16e)]();}),_0x98af49[_0x370ce4(0x195)][_0x370ce4(0x1b0)]['on'](_0x370ce4(0x171),()=>{const _0x1bb615=_0x370ce4;_0xbb31da[_0x1bb615(0x175)][_0x1bb615(0x168)][_0x1bb615(0x16e)]();}),_0x18b068=_0x21c63b[_0x370ce4(0x14e)](this[_0x370ce4(0x1a6)][_0x370ce4(0x1da)],_0x98af49),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x1d0))['to'](_0x98af49,_0x370ce4(0x1d0)),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x15b))['to'](_0x98af49),_0x18b068[_0x370ce4(0x181)](_0x370ce4(0x1ac))['to'](_0x98af49,_0x370ce4(0x1ac),_0xa9ce33=>_0x370ce4(0x1e4)+_0xa9ce33),_0x98af49['on'](_0x370ce4(0x1fa),()=>{const _0x5ae2c0=_0x370ce4;_0xe68709[_0x5ae2c0(0x1a3)](_0x5ae2c0(0x1fa));}),this[_0x370ce4(0x1ad)][_0x370ce4(0x183)](_0x391eda['id'],_0x18b068));const _0xd59cde=_0x1528a6[_0x370ce4(0x1c9)](_0x391eda[_0x370ce4(0x1e1)],_0x98af49),_0x425f2e=new _0x3fd484(_0xbb31da,_0x391eda,_0x98af49,_0xd59cde),_0x2dde83=_0x391eda[_0x370ce4(0x1e0)]()[_0x370ce4(0x178)](_0x2a6a47=>_0x2a6a47[_0x370ce4(0x18f)]);_0x98af49[_0x370ce4(0x151)]=_0xbb31da[_0x370ce4(0x1d3)][_0x370ce4(0x1cb)](_0x370ce4(0x17c))[_0x370ce4(0x155)][_0x370ce4(0x1c3)](_0x2dde83),this[_0x370ce4(0x18c)][_0x370ce4(0x183)](_0x391eda,_0x425f2e),this[_0x370ce4(0x1d1)][_0x370ce4(0x183)](_0x98af49,_0x425f2e);const _0x4fdb85=()=>{const _0x3abb51=_0x370ce4,_0x2d41bb=[],_0x1ba0f6=_0x391eda[_0x3abb51(0x1e0)]()[_0x3abb51(0x178)](_0x5ca5bc=>_0x5ca5bc[_0x3abb51(0x18f)]);for(const _0x1b0136 of _0x1ba0f6)_0x2d41bb[_0x3abb51(0x1a2)](..._0x1b0136[_0x3abb51(0x1dc)]());return _0x241270(_0xbb31da[_0x3abb51(0x175)],_0x2d41bb);};_0xe68709=_0x21c63b[_0x370ce4(0x1e6)]({'view':_0x18b068,'target':_0x4fdb85,'type':()=>_0x370ce4(0x1e4)+_0x425f2e[_0x370ce4(0x168)][_0x370ce4(0x1ac)],'isVisible':!!_0x4fdb85()}),_0x1528a6[_0x370ce4(0x14d)](_0x98af49,_0xe68709),_0x21c63b[_0x370ce4(0x1aa)](_0xe68709),_0x4511bf[_0x370ce4(0x166)](_0xe68709);}[_0x24ce53(0x1f7)](_0x1772a4){const _0x299884=_0x24ce53,_0x1589f2=this[_0x299884(0x1a6)][_0x299884(0x1d3)][_0x299884(0x1cb)](_0x299884(0x1ba)),_0xb2bf08=this[_0x299884(0x1a6)][_0x299884(0x1d3)][_0x299884(0x1cb)](_0x299884(0x1f0)),_0x3d4358=this[_0x299884(0x18c)][_0x299884(0x1cb)](_0x1772a4),_0x2b610c=_0x3d4358[_0x299884(0x168)],_0x1cfb23=_0xb2bf08[_0x299884(0x154)](_0x2b610c);_0x1589f2[_0x299884(0x1bf)](_0x2b610c),_0x1cfb23&&_0xb2bf08[_0x299884(0x1d7)](_0x1cfb23),this[_0x299884(0x18c)][_0x299884(0x15f)](_0x1772a4),this[_0x299884(0x1d1)][_0x299884(0x15f)](_0x2b610c),_0x3d4358[_0x299884(0x14a)]();}[_0x24ce53(0x156)](_0x225ceb){const _0x40ea80=_0x24ce53;if(!_0x225ceb[_0x40ea80(0x18f)]||!this[_0x40ea80(0x18c)][_0x40ea80(0x158)](_0x225ceb))return;const _0x3b5b1d=this[_0x40ea80(0x1a6)][_0x40ea80(0x1d3)][_0x40ea80(0x1cb)](_0x40ea80(0x17c)),_0x30f553=this[_0x40ea80(0x18c)][_0x40ea80(0x1cb)](_0x225ceb),_0x3bf0d0=_0x225ceb[_0x40ea80(0x1e0)]();_0x30f553[_0x40ea80(0x168)][_0x40ea80(0x151)]=_0x3b5b1d[_0x40ea80(0x155)][_0x40ea80(0x1c3)](_0x3bf0d0);}[_0x24ce53(0x14a)](){const _0x351404=_0x24ce53;for(const _0x242080 of this[_0x351404(0x18c)][_0x351404(0x1d5)]())this[_0x351404(0x1f7)](_0x242080);for(const _0x4ebc10 of this[_0x351404(0x1ad)][_0x351404(0x149)]())_0x4ebc10[_0x351404(0x157)][_0x351404(0x14a)]();super[_0x351404(0x14a)](),this[_0x351404(0x1ec)]&&clearInterval(this[_0x351404(0x1ec)]);}}function ke(_0x1a3b30){const _0x46dfea=_0x24ce53;return _0x46dfea(0x180)in _0x1a3b30;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x3c0beb=_0x448f;(function(_0x7f38ec,_0x63f7d0){const _0x1af4c7=_0x448f,_0x31089=_0x7f38ec();while(!![]){try{const _0x1b2567=parseInt(_0x1af4c7(0x185))/0x1+parseInt(_0x1af4c7(0x197))/0x2*(parseInt(_0x1af4c7(0x19a))/0x3)+parseInt(_0x1af4c7(0x1a7))/0x4*(-parseInt(_0x1af4c7(0x198))/0x5)+-parseInt(_0x1af4c7(0x1aa))/0x6*(-parseInt(_0x1af4c7(0x18b))/0x7)+parseInt(_0x1af4c7(0x18c))/0x8+parseInt(_0x1af4c7(0x188))/0x9+-parseInt(_0x1af4c7(0x186))/0xa;if(_0x1b2567===_0x63f7d0)break;else _0x31089['push'](_0x31089['shift']());}catch(_0x1f1ab5){_0x31089['push'](_0x31089['shift']());}}}(_0x256d,0xb95ae));import{ObservableMixin as _0x139ab8}from'ckeditor5/src/utils.js';function _0x256d(){const _0x3ac118=['_pendingAction','model','add','_setPendingAction','PendingActions','change:isDirty','remove','_removePendingAction','isEnabled','20PwMwyD','unbind','get','6318474rBaNkK','canDiscard','commentThreadController','listenTo','acceptSuggestion','231784pfrSpN','20413000EidZCZ','locale','7851465MrahKb','plugins','discardSuggestion','7WHAmUp','4593304GwPiDI','_discardCommand','execute','isDirty','view','bind','_acceptCommand','stopListening','_editor','commands','destroy','16qoiLWJ','22505oMwLie','canEditAt','34353BdzdVP','getRanges','PENDING_ACTION_SUGGESTION','canAccept'];_0x256d=function(){return _0x3ac118;};return _0x256d();}import{getTranslation as _0x4ac892}from'../utils/common-translations.js';function _0x448f(_0x5329a5,_0x357f88){const _0x256dfe=_0x256d();return _0x448f=function(_0x448f54,_0x3fa82f){_0x448f54=_0x448f54-0x182;let _0xfff273=_0x256dfe[_0x448f54];return _0xfff273;},_0x448f(_0x5329a5,_0x357f88);}export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x139ab8(){[_0x3c0beb(0x19f)];[_0x3c0beb(0x190)];[_0x3c0beb(0x182)];[_0x3c0beb(0x194)];[_0x3c0beb(0x192)];[_0x3c0beb(0x18d)];[_0x3c0beb(0x19e)];constructor(_0x43f1c3,_0x4b309c,_0x23cea7,_0x37d6e7){const _0x236c78=_0x3c0beb;super(),this[_0x236c78(0x19f)]=_0x4b309c,this[_0x236c78(0x190)]=_0x23cea7,this[_0x236c78(0x182)]=_0x37d6e7,this[_0x236c78(0x194)]=_0x43f1c3,this[_0x236c78(0x192)]=_0x43f1c3[_0x236c78(0x195)][_0x236c78(0x1a9)](_0x236c78(0x184)),this[_0x236c78(0x18d)]=_0x43f1c3[_0x236c78(0x195)][_0x236c78(0x1a9)](_0x236c78(0x18a)),this[_0x236c78(0x190)][_0x236c78(0x191)](_0x236c78(0x1a6))['to'](this[_0x236c78(0x192)],this[_0x236c78(0x18d)],(_0x420654,_0x5ea2c7)=>_0x420654||_0x5ea2c7),this[_0x236c78(0x190)][_0x236c78(0x191)](_0x236c78(0x19d))['to'](this[_0x236c78(0x192)],_0x236c78(0x1a6),_0x199462=>_0x199462&&this[_0x236c78(0x194)][_0x236c78(0x19f)][_0x236c78(0x199)](_0x4b309c[_0x236c78(0x19b)]())),this[_0x236c78(0x190)][_0x236c78(0x191)](_0x236c78(0x1ab))['to'](this[_0x236c78(0x18d)],_0x236c78(0x1a6),_0x128194=>_0x128194&&this[_0x236c78(0x194)][_0x236c78(0x19f)][_0x236c78(0x199)](_0x4b309c[_0x236c78(0x19b)]())),this[_0x236c78(0x19e)]=null,_0x23cea7[_0x236c78(0x18f)]&&this[_0x236c78(0x1a1)](),this[_0x236c78(0x183)](_0x23cea7,_0x236c78(0x184),()=>this[_0x236c78(0x184)]()),this[_0x236c78(0x183)](_0x23cea7,_0x236c78(0x18a),()=>this[_0x236c78(0x18a)]()),this[_0x236c78(0x183)](_0x23cea7,_0x236c78(0x1a3),()=>{const _0x547491=_0x236c78;_0x23cea7[_0x547491(0x18f)]?this[_0x547491(0x1a1)]():this[_0x547491(0x1a5)]();});}[_0x3c0beb(0x184)](){const _0x2fc93b=_0x3c0beb;this[_0x2fc93b(0x192)][_0x2fc93b(0x18e)](this[_0x2fc93b(0x19f)]['id']);}[_0x3c0beb(0x18a)](){const _0x4a67bc=_0x3c0beb;this[_0x4a67bc(0x18d)][_0x4a67bc(0x18e)](this[_0x4a67bc(0x19f)]['id']);}[_0x3c0beb(0x196)](){const _0x155997=_0x3c0beb;this[_0x155997(0x190)][_0x155997(0x1a8)](_0x155997(0x1a6)),this[_0x155997(0x190)][_0x155997(0x1a8)](_0x155997(0x19d)),this[_0x155997(0x190)][_0x155997(0x1a8)](_0x155997(0x1ab)),this[_0x155997(0x193)](),this[_0x155997(0x182)][_0x155997(0x196)](),this[_0x155997(0x19e)]&&this[_0x155997(0x1a5)]();}[_0x3c0beb(0x1a1)](){const _0x166985=_0x3c0beb,_0x592c28=_0x4ac892(this[_0x166985(0x194)][_0x166985(0x187)],_0x166985(0x19c));this[_0x166985(0x19e)]=this[_0x166985(0x194)][_0x166985(0x189)][_0x166985(0x1a9)](_0x166985(0x1a2))[_0x166985(0x1a0)](_0x592c28);}[_0x3c0beb(0x1a5)](){const _0x2b6ea2=_0x3c0beb;null!==this[_0x2b6ea2(0x19e)]&&this[_0x2b6ea2(0x194)][_0x2b6ea2(0x189)][_0x2b6ea2(0x1a9)](_0x2b6ea2(0x1a2))[_0x2b6ea2(0x1a4)](this[_0x2b6ea2(0x19e)]),this[_0x2b6ea2(0x19e)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1e73a8=_0xacce;(function(_0x24eb8b,_0x4f2233){const _0x321738=_0xacce,_0x36a6b5=_0x24eb8b();while(!![]){try{const _0x242670=parseInt(_0x321738(0x85))/0x1*(parseInt(_0x321738(0x90))/0x2)+parseInt(_0x321738(0xb0))/0x3+-parseInt(_0x321738(0xa9))/0x4+-parseInt(_0x321738(0x8c))/0x5+parseInt(_0x321738(0x95))/0x6+parseInt(_0x321738(0x7a))/0x7+parseInt(_0x321738(0xb2))/0x8;if(_0x242670===_0x4f2233)break;else _0x36a6b5['push'](_0x36a6b5['shift']());}catch(_0x4ee16e){_0x36a6b5['push'](_0x36a6b5['shift']());}}}(_0x3005,0x2db39));import{FocusCycler as _0x399128,View as _0x54219e,ViewCollection as _0x33473d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3223f4,KeystrokeHandler as _0x47504b}from'ckeditor5/src/utils.js';function _0x3005(){const _0x2ac208=['updateComment','_model','focusCycler','bind','submit','removeComment','651215TANGcG','text/html','value','SUGGESTION_THREAD_DESCRIPTION','358yUNQfD','parseFromString','focusables','addComment','name','618714fDewcJ','CommentView','commentsListView','isActive','assign','editorConfig','ariaLabel','SUGGESTION_THREAD_ARIA_LABEL','setData','map','target','locale','cancel','descriptionParts','join','formatDateTime','hasDirtyComment','isReadOnly','shift+tab','body','220908tpkDgO','destroy','render','textContent','author','canDiscard','_config','335496xUOkOv','disabledSubmit','835056YPDVFc','isEnabled','length','tab','_createCommentViews','focus','canAccept','commentThread','editor','focusTracker','ariaDescriptionView','set','content','authoredAt','_createCommentThreadInputView','175336wqCjfV','commentInputView','delegate','isDirty','showInput','element','disableComments','_localUser','commentThreadInputView','fire','keystrokes','158INhTMF'];_0x3005=function(){return _0x2ac208;};return _0x3005();}function _0xacce(_0x17a745,_0x563ab3){const _0x3005c5=_0x3005();return _0xacce=function(_0xaccef4,_0x11c163){_0xaccef4=_0xaccef4-0x6d;let _0x3ee381=_0x3005c5[_0xaccef4];return _0x3ee381;},_0xacce(_0x17a745,_0x563ab3);}import{AriaDescriptionView as _0x33c57e,setupThreadKeyboardNavigation as _0x347dd8}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xd5eb0c}from'../../utils/common-translations.js';import{renderDescription as _0x1d688e}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x54219e{[_0x1e73a8(0x97)];[_0x1e73a8(0x82)];[_0x1e73a8(0x75)];[_0x1e73a8(0x92)];[_0x1e73a8(0x74)];[_0x1e73a8(0x84)];[_0x1e73a8(0x88)];[_0x1e73a8(0x87)];[_0x1e73a8(0x81)];[_0x1e73a8(0xaf)];constructor(_0x3f1a42,_0x207e8a,_0x2dc28a,_0x7f7704){const _0x42a2fe=_0x1e73a8;super(_0x3f1a42),this[_0x42a2fe(0x97)]=null,this[_0x42a2fe(0x82)]=null,this[_0x42a2fe(0x75)]=new _0x33c57e(_0x3f1a42,_0xd5eb0c(_0x3f1a42,_0x42a2fe(0x8f))),this[_0x42a2fe(0x76)](_0x42a2fe(0x98),!0x1),this[_0x42a2fe(0x76)](_0x42a2fe(0x78),_0x207e8a[_0x42a2fe(0x78)]),this[_0x42a2fe(0x89)](_0x42a2fe(0x78))['to'](_0x207e8a),this[_0x42a2fe(0x76)](_0x42a2fe(0xa2),[]),this[_0x42a2fe(0x76)](_0x42a2fe(0x7d),!0x1),this[_0x42a2fe(0x76)](_0x42a2fe(0xb3),!0x1),this[_0x42a2fe(0x76)](_0x42a2fe(0x71),!0x1),this[_0x42a2fe(0x76)](_0x42a2fe(0xae),!0x1),this[_0x42a2fe(0x89)](_0x42a2fe(0x9b))['to'](this,_0x42a2fe(0x6d),_0x207e8a,_0x42a2fe(0x78),this,_0x42a2fe(0xa2),(_0x48c9ae,_0x16317b,_0x5a23ad)=>{const _0x5de269=_0x42a2fe,_0x466eef=_0x5a23ad[_0x5de269(0x9e)](_0x1c637a=>_0x1d688e(_0x1c637a[_0x5de269(0x77)]))[_0x5de269(0xa3)]('.\x20')+'.';return _0xd5eb0c(this[_0x5de269(0xa0)],_0x5de269(0x9c),[_0x48c9ae-0x1,_0x207e8a[_0x5de269(0xad)][_0x5de269(0x94)],_0x16317b?_0x7f7704[_0x5de269(0xa4)](_0x16317b):'',new DOMParser()[_0x5de269(0x91)](_0x466eef,_0x5de269(0x8d))[_0x5de269(0xa8)][_0x5de269(0xac)]]);}),this[_0x42a2fe(0x92)]=new _0x33473d(),this[_0x42a2fe(0x74)]=new _0x3223f4(),this[_0x42a2fe(0x84)]=new _0x47504b(),this[_0x42a2fe(0x88)]=new _0x399128({'focusables':this[_0x42a2fe(0x92)],'focusTracker':this[_0x42a2fe(0x74)],'keystrokeHandler':this[_0x42a2fe(0x84)],'keystrokeHandlerOptions':{'filter':_0x4cd07b=>_0x4cd07b[_0x42a2fe(0x9f)]!==this[_0x42a2fe(0x7f)]},'actions':{'focusPrevious':_0x42a2fe(0xa7),'focusNext':_0x42a2fe(0x6e)}}),this[_0x42a2fe(0x87)]=_0x207e8a,this[_0x42a2fe(0x81)]=_0x2dc28a,this[_0x42a2fe(0xaf)]=_0x7f7704,_0x7f7704[_0x42a2fe(0x80)]?this[_0x42a2fe(0x76)](_0x42a2fe(0x6d),0x1):this[_0x42a2fe(0x6f)]();}[_0x1e73a8(0xab)](){const _0x323fec=_0x1e73a8;super[_0x323fec(0xab)](),_0x347dd8(this,this[_0x323fec(0x92)]);}[_0x1e73a8(0x70)](){const _0x37e933=_0x1e73a8;this[_0x37e933(0x7f)][_0x37e933(0x70)]();}[_0x1e73a8(0xaa)](){const _0x3e4ec2=_0x1e73a8;this[_0x3e4ec2(0x97)]&&this[_0x3e4ec2(0x97)][_0x3e4ec2(0xaa)](),this[_0x3e4ec2(0x82)]&&this[_0x3e4ec2(0x82)][_0x3e4ec2(0xaa)](),super[_0x3e4ec2(0xaa)]();}[_0x1e73a8(0x6f)](){const _0x1e8d20=_0x1e73a8,{CommentsListView:_0x2196d8}=this[_0x1e8d20(0xaf)];this[_0x1e8d20(0x97)]=new _0x2196d8(this[_0x1e8d20(0xa0)],this[_0x1e8d20(0x87)][_0x1e8d20(0x72)],Object[_0x1e8d20(0x99)]({'CommentView':this[_0x1e8d20(0xaf)][_0x1e8d20(0x96)]},this[_0x1e8d20(0xaf)])),this[_0x1e8d20(0x97)][_0x1e8d20(0x7c)](_0x1e8d20(0x8b))['to'](this),this[_0x1e8d20(0x97)][_0x1e8d20(0x7c)](_0x1e8d20(0x86))['to'](this),this[_0x1e8d20(0x97)][_0x1e8d20(0x89)](_0x1e8d20(0x98))['to'](this),this[_0x1e8d20(0x76)](_0x1e8d20(0x6d),this[_0x1e8d20(0x97)][_0x1e8d20(0x6d)]+0x1),this[_0x1e8d20(0x89)](_0x1e8d20(0x6d))['to'](this[_0x1e8d20(0x97)],_0x1e8d20(0x6d),_0x12205a=>_0x12205a+0x1),this[_0x1e8d20(0x82)]=this[_0x1e8d20(0x79)](),this['on'](_0x1e8d20(0x8b),()=>this[_0x1e8d20(0x70)]()),this[_0x1e8d20(0x89)](_0x1e8d20(0x7d))['to'](this[_0x1e8d20(0x97)],_0x1e8d20(0xa5),this[_0x1e8d20(0x82)][_0x1e8d20(0x7b)],_0x1e8d20(0x8e),(_0x96e840,_0x52c9c1)=>_0x96e840||!!_0x52c9c1);}[_0x1e73a8(0x79)](){const _0x484968=_0x1e73a8,{CommentThreadInputView:_0xc93851}=this[_0x484968(0xaf)],_0x5b9b1c=new _0xc93851(this[_0x484968(0xa0)],this[_0x484968(0x81)],this[_0x484968(0xaf)][_0x484968(0x9a)]),_0x8f2f8f=_0x5b9b1c[_0x484968(0x7b)];return _0x5b9b1c[_0x484968(0x89)](_0x484968(0x7e))['to'](this,_0x484968(0x98),this[_0x484968(0x87)][_0x484968(0x72)],_0x484968(0xa6),_0x8f2f8f,_0x484968(0x8e),(_0x14ee6c,_0x739695,_0x286123)=>!!_0x286123||_0x14ee6c&&!_0x739695),_0x8f2f8f['on'](_0x484968(0x8a),(_0x1f9d9a,_0x30abb2)=>{const _0x4c1287=_0x484968;this[_0x4c1287(0x83)](_0x4c1287(0x93),_0x30abb2),_0x8f2f8f[_0x4c1287(0x73)][_0x4c1287(0x9d)]('');}),_0x8f2f8f['on'](_0x484968(0xa1),()=>this[_0x484968(0x70)]()),_0x8f2f8f[_0x484968(0x89)](_0x484968(0xb1))['to'](this[_0x484968(0x87)][_0x484968(0x72)],_0x484968(0xa6)),_0x5b9b1c;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47b8b4=_0x1fa4;(function(_0x2d314e,_0x4e04b3){const _0x590334=_0x1fa4,_0x2103b9=_0x2d314e();while(!![]){try{const _0x3d5d79=-parseInt(_0x590334(0x155))/0x1+-parseInt(_0x590334(0x173))/0x2+-parseInt(_0x590334(0x166))/0x3*(parseInt(_0x590334(0x180))/0x4)+-parseInt(_0x590334(0x17f))/0x5+parseInt(_0x590334(0x171))/0x6+-parseInt(_0x590334(0x164))/0x7*(parseInt(_0x590334(0x185))/0x8)+parseInt(_0x590334(0x16a))/0x9;if(_0x3d5d79===_0x4e04b3)break;else _0x2103b9['push'](_0x2103b9['shift']());}catch(_0x7a3e0){_0x2103b9['push'](_0x2103b9['shift']());}}}(_0x305d,0xe08b0));function _0x1fa4(_0x355eb3,_0x2ef038){const _0x305dc6=_0x305d();return _0x1fa4=function(_0x1fa4d8,_0xbc3514){_0x1fa4d8=_0x1fa4d8-0x150;let _0x304121=_0x305dc6[_0x1fa4d8];return _0x304121;},_0x1fa4(_0x355eb3,_0x2ef038);}import{BaseSuggestionThreadView as _0x2bee6d}from'./basesuggestionthreadview.js';function _0x305d(){const _0x452f65=['</p>','description','focusables','type','acceptSuggestion','7847260Ozduhw','4tToCUj','isEnabled','ariaDescriptionView','editorDestroyed','bind','5384IzfmOn','commentThreadInputView','ck-suggestion-','ck-suggestion-wrapper--active','discardSuggestion','editorReady','bindTemplate','descriptionParts','1033252UFSafR','_descriptionElement','setTemplate','SuggestionView','isActive','add','_config','ck-suggestion--disabled-comments','delegate','render','listitem','_model','ck-suggestion-wrapper','canDiscard','div','14581qOtckt','author','4861218kKjTui','set','commentsListView','commentThread','51669702FMhvpH','ariaLabel','<p>','canAccept','color','discardButton','ck-rounded-corners','10684410Fhgolc','getTemplate','1954232ALjAph','push','suggestionView','content','formatDateTime','acceptButton','disableComments'];_0x305d=function(){return _0x452f65;};return _0x305d();}import{trimHtml as _0x4f7ad2}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5bcb48}from'../../utils/utils.js';export class SuggestionThreadView extends _0x2bee6d{[_0x47b8b4(0x175)];[_0x47b8b4(0x156)];constructor(_0x14f37e,_0x9b2130,_0x48259f,_0x3e10ec){const _0x596912=_0x47b8b4;super(_0x14f37e,_0x9b2130,_0x48259f,_0x3e10ec),this[_0x596912(0x167)](_0x596912(0x17d),''),this[_0x596912(0x184)](_0x596912(0x17d))['to'](this,_0x596912(0x154),_0x376e80=>_0x376e80&&_0x376e80[0x0]?_0x376e80[0x0][_0x596912(0x17d)]:''),this[_0x596912(0x184)](_0x596912(0x17b))['to'](this,_0x596912(0x154),this,_0x596912(0x159),(_0xb4d8dc,_0x128a40)=>{const _0x55abf4=_0x596912;let _0x26297b='';for(const _0x45caba of _0xb4d8dc)_0x26297b+=_0x55abf4(0x16c)+_0x5bcb48(_0x45caba[_0x55abf4(0x176)],_0x45caba[_0x55abf4(0x16e)])+_0x55abf4(0x17a);return _0x128a40?_0x26297b:_0x4f7ad2(_0x26297b,{'limit':0x8c});}),this[_0x596912(0x156)]=null,this[_0x596912(0x175)]=new _0x3e10ec[(_0x596912(0x158))](_0x14f37e,_0x9b2130,{'formatDateTime':_0x3e10ec[_0x596912(0x177)]}),this[_0x596912(0x175)][_0x596912(0x184)](_0x596912(0x17b))['to'](this),this[_0x596912(0x175)][_0x596912(0x15d)](_0x596912(0x17e),_0x596912(0x151))['to'](this),this[_0x596912(0x175)][_0x596912(0x178)][_0x596912(0x184)](_0x596912(0x181))['to'](this,_0x596912(0x16d)),this[_0x596912(0x175)][_0x596912(0x16f)][_0x596912(0x184)](_0x596912(0x181))['to'](this,_0x596912(0x162)),this[_0x596912(0x17c)][_0x596912(0x15a)](this[_0x596912(0x175)]),this[_0x596912(0x168)]&&this[_0x596912(0x17c)][_0x596912(0x15a)](this[_0x596912(0x168)]),this[_0x596912(0x186)]&&this[_0x596912(0x17c)][_0x596912(0x15a)](this[_0x596912(0x186)]),this[_0x596912(0x157)](this[_0x596912(0x172)]());}[_0x47b8b4(0x172)](){const _0x12a716=_0x47b8b4,_0x532fd5=this[_0x12a716(0x153)],_0xc0226e=[this[_0x12a716(0x175)]];return this[_0x12a716(0x168)]&&_0xc0226e[_0x12a716(0x174)](this[_0x12a716(0x168)]),this[_0x12a716(0x186)]&&_0xc0226e[_0x12a716(0x174)](this[_0x12a716(0x186)]),_0xc0226e[_0x12a716(0x174)](this[_0x12a716(0x182)]),{'tag':_0x12a716(0x163),'attributes':{'class':['ck',_0x12a716(0x170),_0x12a716(0x161),_0x532fd5['if'](_0x12a716(0x159),_0x12a716(0x150)),_0x532fd5['to'](_0x12a716(0x17d),_0xbf5307=>_0x12a716(0x187)+_0xbf5307),this[_0x12a716(0x15b)][_0x12a716(0x179)]&&_0x12a716(0x15c)],'data-suggestion-id':this[_0x12a716(0x160)]['id'],'data-thread-id':this[_0x12a716(0x160)][_0x12a716(0x169)]['id'],'data-author-id':this[_0x12a716(0x160)][_0x12a716(0x165)]['id'],'tabindex':0x0,'role':_0x12a716(0x15f),'aria-label':_0x532fd5['to'](_0x12a716(0x16b)),'aria-describedby':this[_0x12a716(0x182)]['id']},'children':_0xc0226e};}[_0x47b8b4(0x15e)](){const _0xfda413=_0x47b8b4;super[_0xfda413(0x15e)](),this[_0xfda413(0x168)]&&(this[_0xfda413(0x168)][_0xfda413(0x15d)](_0xfda413(0x152))['to'](this),this[_0xfda413(0x168)][_0xfda413(0x15d)](_0xfda413(0x183))['to'](this)),this[_0xfda413(0x186)]&&(this[_0xfda413(0x186)][_0xfda413(0x15d)](_0xfda413(0x152))['to'](this),this[_0xfda413(0x186)][_0xfda413(0x15d)](_0xfda413(0x183))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x252e8b=_0x1dd2;(function(_0x44ea85,_0x529594){const _0x2d2107=_0x1dd2,_0x3435e9=_0x44ea85();while(!![]){try{const _0x128a02=parseInt(_0x2d2107(0x143))/0x1+-parseInt(_0x2d2107(0x155))/0x2*(-parseInt(_0x2d2107(0x14d))/0x3)+parseInt(_0x2d2107(0x13f))/0x4*(-parseInt(_0x2d2107(0x150))/0x5)+-parseInt(_0x2d2107(0x189))/0x6+parseInt(_0x2d2107(0x161))/0x7+-parseInt(_0x2d2107(0x15a))/0x8+parseInt(_0x2d2107(0x17d))/0x9;if(_0x128a02===_0x529594)break;else _0x3435e9['push'](_0x3435e9['shift']());}catch(_0x35410e){_0x3435e9['push'](_0x3435e9['shift']());}}}(_0xa15e,0x1cd4c));import{FocusTracker as _0x1b204b,KeystrokeHandler as _0xd88f81}from'ckeditor5/src/utils.js';import{View as _0x2bb935,ViewCollection as _0x54bf7f,FocusCycler as _0x25467a}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x45d828,UserView as _0x61195c}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x597461,IconCheck as _0x25ad50}from'ckeditor5/src/icons.js';function _0x1dd2(_0x25f6b6,_0x5253e5){const _0xa15e2e=_0xa15e();return _0x1dd2=function(_0x1dd259,_0x5822c4){_0x1dd259=_0x1dd259-0x132;let _0x1dd3cf=_0xa15e2e[_0x1dd259];return _0x1dd3cf;},_0x1dd2(_0x25f6b6,_0x5253e5);}import{getTranslation as _0x46160d}from'../../utils/common-translations.js';export class SuggestionView extends _0x2bb935{[_0x252e8b(0x140)];[_0x252e8b(0x174)];[_0x252e8b(0x17c)];[_0x252e8b(0x170)];[_0x252e8b(0x156)];[_0x252e8b(0x16e)];[_0x252e8b(0x185)];[_0x252e8b(0x153)];[_0x252e8b(0x171)];constructor(_0x522ab1,_0x1ff32d,_0x18e876){const _0x3b3ea4=_0x252e8b;super(_0x522ab1),this[_0x3b3ea4(0x153)]=_0x1ff32d,this[_0x3b3ea4(0x171)]=_0x18e876,this[_0x3b3ea4(0x13c)](_0x3b3ea4(0x16b),''),this[_0x3b3ea4(0x160)](_0x3b3ea4(0x136))['to'](_0x1ff32d),this[_0x3b3ea4(0x174)]=this[_0x3b3ea4(0x17a)](_0x46160d(_0x522ab1,_0x3b3ea4(0x179)),_0x25ad50,_0x3b3ea4(0x162),_0x3b3ea4(0x168),'sw'),this[_0x3b3ea4(0x17c)]=this[_0x3b3ea4(0x17a)](_0x46160d(_0x522ab1,_0x3b3ea4(0x152)),_0x597461,_0x3b3ea4(0x145),_0x3b3ea4(0x144),'sw'),this[_0x3b3ea4(0x140)]=new _0x61195c(_0x522ab1,_0x1ff32d[_0x3b3ea4(0x133)],this[_0x3b3ea4(0x183)]()),this[_0x3b3ea4(0x140)][_0x3b3ea4(0x14c)]({'attributes':{'class':[_0x3b3ea4(0x182),_0x3b3ea4(0x14f)],'aria-hidden':!0x0}}),this[_0x3b3ea4(0x170)]=new _0x54bf7f([this[_0x3b3ea4(0x174)],this[_0x3b3ea4(0x17c)]]),this[_0x3b3ea4(0x156)]=new _0x1b204b(),this[_0x3b3ea4(0x16e)]=new _0xd88f81(),this[_0x3b3ea4(0x185)]=new _0x25467a({'focusables':this[_0x3b3ea4(0x170)],'focusTracker':this[_0x3b3ea4(0x156)],'keystrokeHandler':this[_0x3b3ea4(0x16e)],'actions':{'focusPrevious':_0x3b3ea4(0x135),'focusNext':_0x3b3ea4(0x172)},'keystrokeHandlerOptions':{'filter':_0x1c155e=>_0x1c155e[_0x3b3ea4(0x148)]!==this[_0x3b3ea4(0x13a)]}}),this[_0x3b3ea4(0x138)](this[_0x3b3ea4(0x167)]());}[_0x252e8b(0x13d)](){const _0x175005=_0x252e8b;super[_0x175005(0x13d)]();const _0x4c2ec6=this[_0x175005(0x13a)][_0x175005(0x17f)](_0x175005(0x184));_0x4c2ec6[_0x175005(0x173)]=this[_0x175005(0x16b)],this['on'](_0x175005(0x132),(_0x1a542a,_0x4b48f7,_0x8414e8)=>{const _0x4e10ed=_0x175005;_0x4c2ec6[_0x4e10ed(0x173)]=_0x8414e8;}),this[_0x175005(0x16a)]();}[_0x252e8b(0x167)](){const _0x12d018=_0x252e8b,_0x5df992=this[_0x12d018(0x164)],_0x393bc6=[{'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x157),_0x12d018(0x187)]},'children':[{'tag':_0x12d018(0x146),'children':[{'text':this[_0x12d018(0x140)][_0x12d018(0x147)]}],'attributes':{'class':[_0x12d018(0x16f),_0x12d018(0x151)],'data-cke-tooltip-text':this[_0x12d018(0x140)][_0x12d018(0x147)]}},{'tag':_0x12d018(0x13e),'attributes':{'datetime':_0x5df992['to'](_0x12d018(0x136)),'class':[_0x12d018(0x134),_0x12d018(0x178)]},'children':[{'text':_0x5df992['to'](_0x12d018(0x136),_0x38661e=>this[_0x12d018(0x171)][_0x12d018(0x15e)](_0x38661e))}]}]},{'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x166),_0x12d018(0x186)]},'children':[this[_0x12d018(0x174)],this[_0x12d018(0x17c)]]},{'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x165)]}}];return this[_0x12d018(0x153)][_0x12d018(0x142)]&&_0x393bc6[_0x12d018(0x181)]({'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x180)]},'children':[{'text':this[_0x12d018(0x163)]()}]}),{'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x14a),_0x12d018(0x169)],'tabindex':-0x1},'children':[this[_0x12d018(0x140)],{'tag':_0x12d018(0x15f),'attributes':{'class':[_0x12d018(0x176),_0x12d018(0x137)],'role':_0x12d018(0x139)},'children':_0x393bc6}]};}[_0x252e8b(0x14e)](){const _0x611ac=_0x252e8b;this[_0x611ac(0x13a)][_0x611ac(0x14e)]();}[_0x252e8b(0x183)](){const _0x7e6ea=_0x252e8b;return this[_0x7e6ea(0x153)][_0x7e6ea(0x142)]?_0x7e6ea(0x141)===this[_0x7e6ea(0x153)][_0x7e6ea(0x177)][_0x7e6ea(0x16c)][_0x7e6ea(0x17e)]?_0x46160d(this[_0x7e6ea(0x158)],_0x7e6ea(0x188),this[_0x7e6ea(0x153)][_0x7e6ea(0x154)][_0x7e6ea(0x147)]):_0x46160d(this[_0x7e6ea(0x158)],_0x7e6ea(0x15d),this[_0x7e6ea(0x153)][_0x7e6ea(0x154)][_0x7e6ea(0x147)]):null;}[_0x252e8b(0x163)](){const _0x3b1cc5=_0x252e8b;return _0x3b1cc5(0x141)===this[_0x3b1cc5(0x153)][_0x3b1cc5(0x177)][_0x3b1cc5(0x16c)][_0x3b1cc5(0x17e)]?_0x46160d(this[_0x3b1cc5(0x158)],_0x3b1cc5(0x17b)):_0x46160d(this[_0x3b1cc5(0x158)],_0x3b1cc5(0x16d));}[_0x252e8b(0x17a)](_0x379985,_0x35f984,_0xb0657,_0x7be4cd,_0x5442fe){const _0x3b21d6=_0x252e8b,_0x5b7c2c=new _0x45d828(this[_0x3b21d6(0x158)]);return _0x5b7c2c[_0x3b21d6(0x13c)]({'label':_0x379985,'icon':_0x35f984,'tooltip':!0x0,'tooltipPosition':_0x5442fe}),_0x5b7c2c[_0x3b21d6(0x14c)]({'attributes':{'class':_0xb0657}}),_0x5b7c2c['on'](_0x3b21d6(0x14b),()=>{const _0x15e52f=_0x3b21d6;this[_0x15e52f(0x15b)](_0x7be4cd,this[_0x15e52f(0x153)]['id']);}),_0x5b7c2c;}[_0x252e8b(0x16a)](){const _0x321ff5=_0x252e8b,_0x4172a8=this[_0x321ff5(0x13a)];this[_0x321ff5(0x16e)][_0x321ff5(0x175)](_0x4172a8);for(const _0x13c3e7 of this[_0x321ff5(0x170)])this[_0x321ff5(0x156)][_0x321ff5(0x149)](_0x13c3e7[_0x321ff5(0x13a)]),this[_0x321ff5(0x16e)][_0x321ff5(0x175)](_0x13c3e7[_0x321ff5(0x13a)]);this[_0x321ff5(0x16e)][_0x321ff5(0x13c)](_0x321ff5(0x13b),(_0x452a09,_0x1f58e6)=>{const _0x501a3f=_0x321ff5;_0x4172a8===_0x452a09[_0x501a3f(0x148)]&&(this[_0x501a3f(0x185)][_0x501a3f(0x15c)](),_0x1f58e6());}),this[_0x321ff5(0x16e)][_0x321ff5(0x13c)](_0x321ff5(0x159),(_0x29b3af,_0x56be93)=>{const _0xaea442=_0x321ff5;_0x4172a8!==_0x29b3af[_0xaea442(0x148)]&&(this[_0xaea442(0x14e)](),_0x56be93());});}}function _0xa15e(){const _0x53a65e=['focusFirst','EXTERNAL_AVATAR','formatDateTime','div','bind','305235sOKHyi','ck-suggestion--accept','getExternalSuggestionNote','bindTemplate','ck-annotation__content-wrapper','ck-suggestion__actions','getTemplate','acceptSuggestion','ck-annotation','_setupKeyboardNavigation','description','@external','EXTERNAL_SUGGESTION','keystrokes','ck-suggestion__info-name','focusables','_config','tab','innerHTML','acceptButton','listenTo','ck-suggestion__main','attributes','ck-annotation__info-time','Accept\x20suggestion','_createButton','EXTERNAL_IMPORT_WORD_SUGGESTION','discardButton','257796EqyuuC','source','querySelector','ck-comment__external','push','ck-suggestion__user','getUserViewNotificationText','.ck-annotation__content-wrapper','focusCycler','ck-annotation__actions','ck-annotation__info','EXTERNAL_IMPORT_WORD_AVATAR','310590CLLOMM','change:description','author','ck-comment__info-time','shift+tab','authoredAt','ck-annotation__main','setTemplate','presentation','element','enter','set','render','time','220pZWrwj','userView','importWord','isExternal','210478HSFefm','discardSuggestion','ck-suggestion--discard','span','name','target','add','ck-suggestion','execute','extendTemplate','6cuCoNo','focus','ck-annotation__user','8155IbZCmx','ck-annotation__info-name','Discard\x20suggestion','_model','creator','96260pmgYAF','focusTracker','ck-suggestion__info','locale','esc','955400WtumZT','fire'];_0xa15e=function(){return _0x53a65e;};return _0xa15e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x526641=_0x3691;(function(_0x5d47fb,_0x263ff4){const _0x21a5da=_0x3691,_0x44de27=_0x5d47fb();while(!![]){try{const _0x4324a6=parseInt(_0x21a5da(0xc7))/0x1+-parseInt(_0x21a5da(0xd9))/0x2+-parseInt(_0x21a5da(0xe0))/0x3*(-parseInt(_0x21a5da(0xd0))/0x4)+-parseInt(_0x21a5da(0xc9))/0x5+parseInt(_0x21a5da(0xcc))/0x6*(parseInt(_0x21a5da(0xda))/0x7)+parseInt(_0x21a5da(0xc8))/0x8+-parseInt(_0x21a5da(0xd7))/0x9;if(_0x4324a6===_0x263ff4)break;else _0x44de27['push'](_0x44de27['shift']());}catch(_0x4585d3){_0x44de27['push'](_0x44de27['shift']());}}}(_0x36cd,0xc5fe7));function _0x36cd(){const _0x296835=['className','data-ck-root-name','element','previewDataReady','1133407sAQwyN','8869952fzyLxe','3500595Hzznln','ck-track-changes-preview','classes','18UbFCkb','fire','content','createElement','12784DdmGfo','height','push','ck-reset','setPreviewData','\x20ck-track-changes-preview__root-container','setTemplate','10045728ASIixI','style','2225800VLDTjQ','3368659FXyBTs','innerHTML','options','width','setAttribute','render','51ZbutxQ','dialogRects','div','focus'];_0x36cd=function(){return _0x296835;};return _0x36cd();}function _0x3691(_0x13dce1,_0x4589a1){const _0x36cd7f=_0x36cd();return _0x3691=function(_0x36917a,_0x3ba23b){_0x36917a=_0x36917a-0xc4;let _0x556b67=_0x36cd7f[_0x36917a];return _0x556b67;},_0x3691(_0x13dce1,_0x4589a1);}import{View as _0x1d538a}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x1d538a{[_0x526641(0xdc)];constructor(_0x5da8d4,_0x5a149b){const _0x3eda59=_0x526641;super(_0x5da8d4),this[_0x3eda59(0xdc)]=_0x5a149b,this[_0x3eda59(0xd6)]({'tag':_0x3eda59(0xe2),'attributes':{'class':['ck',_0x3eda59(0xd3),_0x3eda59(0xca)],'tabindex':-0x1}});}[_0x526641(0xdf)](){const _0x170de7=_0x526641;super[_0x170de7(0xdf)](),this[_0x170de7(0xc5)][_0x170de7(0xd8)][_0x170de7(0xdd)]=this[_0x170de7(0xdc)][_0x170de7(0xe1)][_0x170de7(0xdd)]+'px',this[_0x170de7(0xc5)][_0x170de7(0xd8)][_0x170de7(0xd1)]=this[_0x170de7(0xdc)][_0x170de7(0xe1)][_0x170de7(0xd1)]+'px';}[_0x526641(0xd4)](_0x2c0305,_0x213b11){const _0x361489=_0x526641;if(!this[_0x361489(0xc5)])return;const _0x3a8535=[];for(const [_0x1bd6a2,_0x1d74a9]of _0x2c0305){const _0x3a6730=document[_0x361489(0xcf)](_0x361489(0xe2));_0x3a6730[_0x361489(0xde)](_0x361489(0xc4),_0x1bd6a2),_0x3a6730[_0x361489(0xe4)]=_0x1d74a9[_0x361489(0xcb)]+_0x361489(0xd5),_0x3a6730[_0x361489(0xdb)]=_0x1d74a9[_0x361489(0xce)],_0x3a8535[_0x361489(0xd2)](_0x3a6730);}_0x213b11(this[_0x361489(0xc5)],_0x3a8535),this[_0x361489(0xc5)][_0x361489(0xd8)][_0x361489(0xd1)]='',this[_0x361489(0xcd)](_0x361489(0xc6));}[_0x526641(0xe3)](){const _0x3f96fd=_0x526641;this[_0x3f96fd(0xc5)][_0x3f96fd(0xe3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x1850b9,_0x21468b,_0x1bdeb6){const _0xa15e1=_0x1850b9['t'],t=_0x1850b9['t'];switch(_0x21468b){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x1bdeb6);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x1bdeb6);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x1bdeb6);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x1bdeb6);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x1bdeb6);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',_0x1bdeb6);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x1bdeb6);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x1bdeb6);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x1bdeb6);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x1bdeb6);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x1bdeb6);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x1bdeb6);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x1bdeb6);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x1bdeb6);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x1bdeb6);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x1bdeb6);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x1bdeb6);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x1bdeb6);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x1bdeb6);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x1bdeb6);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x1bdeb6);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x1bdeb6);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x1bdeb6);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x1bdeb6);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x1bdeb6);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x1bdeb6);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x1bdeb6);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x1bdeb6);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x1bdeb6);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x1bdeb6);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x1bdeb6);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'},_0x1bdeb6);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x1bdeb6);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x1bdeb6);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'},_0x1bdeb6);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x1bdeb6);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x1bdeb6);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x1bdeb6);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x1bdeb6);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 _0xa15e1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x1bdeb6);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xa15e1({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x1bdeb6);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x1bdeb6);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x1bdeb6);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x1bdeb6);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x1bdeb6);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x21468b;}}
|
|
23
|
+
export function getTranslation(_0x3ad39b,_0x352aa8,_0x20a82e){const _0x46877b=_0x3ad39b['t'],t=_0x3ad39b['t'];switch(_0x352aa8){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'Preview\x20final\x20content':return t('Preview\x20final\x20content');case'Final\x20content\x20preview':return t('Final\x20content\x20preview');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',_0x20a82e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x20a82e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x20a82e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x20a82e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x20a82e);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',_0x20a82e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x20a82e);case'*Replace\x20image*':return t('*Replace\x20image*');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',_0x20a82e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x20a82e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x20a82e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x20a82e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x20a82e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x20a82e);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x20a82e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x20a82e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x20a82e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x20a82e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x20a82e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x20a82e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x20a82e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x20a82e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x20a82e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x20a82e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x20a82e);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x20a82e);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'},_0x20a82e);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x20a82e);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x20a82e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x20a82e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x20a82e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x20a82e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x20a82e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x20a82e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x20a82e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x20a82e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x20a82e);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'},_0x20a82e);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'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});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'},_0x20a82e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x20a82e);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'},_0x20a82e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x20a82e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x20a82e);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x20a82e);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x20a82e);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 _0x46877b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x20a82e);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x46877b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x20a82e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);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.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x20a82e);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x20a82e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x352aa8;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1227ac,_0x53387e){const _0x20c580=_0x17d2,_0x258d73=_0x1227ac();while(!![]){try{const _0x54d215=-parseInt(_0x20c580(0x16c))/0x1+-parseInt(_0x20c580(0x140))/0x2+-parseInt(_0x20c580(0x14a))/0x3+-parseInt(_0x20c580(0x156))/0x4+-parseInt(_0x20c580(0x147))/0x5+-parseInt(_0x20c580(0x13c))/0x6*(-parseInt(_0x20c580(0x14f))/0x7)+parseInt(_0x20c580(0x160))/0x8;if(_0x54d215===_0x53387e)break;else _0x258d73['push'](_0x258d73['shift']());}catch(_0x3450cb){_0x258d73['push'](_0x258d73['shift']());}}}(_0x96d1,0x6633c));export function normalizeDescription(_0x107293){const _0x1bd7f7=_0x17d2;return Array[_0x1bd7f7(0x159)](_0x107293)||(_0x107293=[_0x107293]),_0x107293[_0x1bd7f7(0x152)](_0x3f72f3=>{const _0x499658=_0x1bd7f7,_0x37fad6=_0x3f72f3[_0x499658(0x13b)][_0x499658(0x165)](/\*/g,''),_0x502407=_0x3f72f3[_0x499658(0x15a)]?_0x499658(0x15e)+_0x3f72f3[_0x499658(0x15a)][_0x499658(0x154)]+']':'';return'['+_0x3f72f3[_0x499658(0x16d)]+']\x20'+_0x37fad6+_0x502407;})[_0x1bd7f7(0x14e)](';\x20');}export function renderDescription(_0x512564,_0x29d00a){const _0x5d6c9e=_0x17d2;let _0x52702a='';return _0x52702a+=_0x512564[_0x5d6c9e(0x149)]('*')[_0x5d6c9e(0x152)]((_0x201932,_0x2f350d)=>_0x2f350d%0x2!=0x0?_0x5d6c9e(0x141)+Zt(_0x201932)+_0x5d6c9e(0x144):Zt(_0x201932))[_0x5d6c9e(0x14e)](''),_0x29d00a&&(_0x52702a+=_0x5d6c9e(0x13a)+_0x29d00a[_0x5d6c9e(0x154)]+_0x5d6c9e(0x13e)+_0x29d00a[_0x5d6c9e(0x139)]+_0x5d6c9e(0x14c)),_0x52702a;}function Zt(_0x46e162){const _0x1f3b70=_0x17d2,_0x30e562=document[_0x1f3b70(0x15d)](_0x1f3b70(0x157));return _0x30e562[_0x1f3b70(0x167)]=_0x46e162,_0x30e562[_0x1f3b70(0x150)];}export function sortSuggestions(_0x40e02c){const _0x490a00=_0x17d2;return _0x40e02c[_0x490a00(0x16b)]((_0x47c916,_0x1e7e8e)=>_0x490a00(0x164)===_0x47c916[_0x490a00(0x16d)]&&_0x490a00(0x164)!==_0x1e7e8e[_0x490a00(0x16d)]?-0x1:_0x490a00(0x164)!==_0x47c916[_0x490a00(0x16d)]&&_0x490a00(0x164)===_0x1e7e8e[_0x490a00(0x16d)]?0x1:_0x490a00(0x158)==_0x47c916[_0x490a00(0x16d)]&&_0x490a00(0x158)!=_0x1e7e8e[_0x490a00(0x16d)]?-0x1:_0x490a00(0x158)!=_0x47c916[_0x490a00(0x16d)]&&_0x490a00(0x158)==_0x1e7e8e[_0x490a00(0x16d)]?0x1:0x0);}export function getSelectedSuggestions(_0x3b6b46,_0x25f5b1){const _0x1b4a9e=_0x17d2,_0x30d494=Array[_0x1b4a9e(0x163)](_0x3b6b46[_0x1b4a9e(0x161)]()),_0x4fd434=new Set();for(const _0x3fe09f of _0x25f5b1)if(_0x3fe09f[_0x1b4a9e(0x148)]){for(const _0x214987 of _0x30d494)for(const _0x50ff65 of _0x3fe09f[_0x1b4a9e(0x161)]())(_0x214987[_0x1b4a9e(0x153)](_0x50ff65)||_0x3b6b46[_0x1b4a9e(0x166)]&&!_0x3fe09f[_0x1b4a9e(0x155)]&&_0x3fe09f[_0x1b4a9e(0x16a)]&&_0x50ff65[_0x1b4a9e(0x145)][_0x1b4a9e(0x13f)](_0x214987[_0x1b4a9e(0x143)]))&&_0x4fd434[_0x1b4a9e(0x15c)](_0x3fe09f);}return _0x4fd434;}export function getRangesOfBlockGroups(_0x388dc0,_0x3c0941){const _0x27c9e0=_0x17d2;let _0x2773d2,_0x4068f8=0x0;const _0x4b5fb2=[],_0x53d4b9=_0x3c0941[_0x27c9e0(0x162)];for(;_0x4068f8<_0x388dc0[_0x27c9e0(0x15b)];){const _0x599864=_0x388dc0[_0x4068f8],_0x59b866=_0x388dc0[_0x4068f8+0x1];_0x2773d2||(_0x2773d2=_0x3c0941[_0x27c9e0(0x15f)](_0x599864)),tn(_0x3c0941,_0x599864,_0x59b866)||(_0x4b5fb2[_0x27c9e0(0x151)](_0x3c0941[_0x27c9e0(0x14b)](_0x2773d2,_0x53d4b9[_0x27c9e0(0x146)](_0x599864)?_0x3c0941[_0x27c9e0(0x142)](_0x599864):_0x3c0941[_0x27c9e0(0x13d)](_0x599864,_0x27c9e0(0x145)))),_0x2773d2=null),_0x4068f8++;}return _0x4b5fb2;}function _0x96d1(){const _0x6095dd=['start','</span>','end','isObject','3851575bNThAP','isInContent','split','2395824bNZYmH','createRange','\x22></span>','execute','join','14zvliCl','innerHTML','push','map','isIntersecting','value','isMultiRange','1240056iQQeJK','span','deletion','isArray','color','length','add','createElement','\x20[color\x20','createPositionBefore','27674744yGzlVC','getRanges','schema','from','attribute','replace','isCollapsed','innerText','change','splice','next','sort','822318PCEZqz','type','title','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','content','1199946YKNSyX','createPositionAt','\x22\x20title=\x22','isTouching','1478900qSwnEE','<span\x20class=\x22ck-suggestion-type\x22>','createPositionAfter'];_0x96d1=function(){return _0x6095dd;};return _0x96d1();}function _0x17d2(_0x5f1fe9,_0x256133){const _0x96d1f=_0x96d1();return _0x17d2=function(_0x17d23a,_0x26d449){_0x17d23a=_0x17d23a-0x139;let _0x3197a8=_0x96d1f[_0x17d23a];return _0x3197a8;},_0x17d2(_0x5f1fe9,_0x256133);}function tn(_0x431e3c,_0x25706e,_0x222c38){const _0x1a9c2f=_0x17d2;if(!_0x222c38)return!0x1;const _0x2132b7=_0x431e3c[_0x1a9c2f(0x142)](_0x25706e),_0x2e22d5=_0x431e3c[_0x1a9c2f(0x15f)](_0x222c38);return _0x2132b7[_0x1a9c2f(0x13f)](_0x2e22d5);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x140e7f,_0x329d84,_0x3f4cf8){const _0x5dcf5c=_0x17d2;for(;_0x3f4cf8[_0x5dcf5c(0x15b)];){const _0x5eb007=_0x3f4cf8[_0x5dcf5c(0x169)](0x0,0x64);_0x140e7f[_0x5dcf5c(0x168)](()=>{const _0xe520e=_0x5dcf5c;for(const _0x86ab98 of _0x5eb007)_0x86ab98[_0xe520e(0x148)]&&_0x329d84[_0xe520e(0x14d)](_0x86ab98['id']);});}}
|