@ckeditor/ckeditor5-track-changes 47.0.0-alpha.6 → 47.0.0-alpha.7
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/ai.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/aiquickactions.d.ts +17 -0
- package/src/integrations/aiquickactions.js +23 -0
- 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.d.ts +2 -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
|
+
function _0x29f6(_0x3833a4,_0x5a1ef5){const _0x2feece=_0x2fee();return _0x29f6=function(_0x29f682,_0x33e535){_0x29f682=_0x29f682-0x18b;let _0xa935f3=_0x2feece[_0x29f682];return _0xa935f3;},_0x29f6(_0x3833a4,_0x5a1ef5);}function _0x2fee(){const _0x4ec8e0=['add','config','5784632UkrYof','trackChanges.preview.renderFunction','3435nNwyjz','commands','TrackChangesPreview','appendChild','requires','isPremiumPlugin','464975uQLIJo','define','8uRYgpS','11pllkbU','editor','20582GIAgBo','434rPOjgX','pluginName','16582690NuomVt','96pkShvW','previewFinalContent','3707541OWjwqR','isOfficialPlugin','1415035KjpDrP'];_0x2fee=function(){return _0x4ec8e0;};return _0x2fee();}const _0x4e2272=_0x29f6;(function(_0x544c3e,_0x204ffc){const _0x392e2a=_0x29f6,_0x5bbb18=_0x544c3e();while(!![]){try{const _0x39151c=parseInt(_0x392e2a(0x19b))/0x1+parseInt(_0x392e2a(0x19c))/0x2*(parseInt(_0x392e2a(0x190))/0x3)+-parseInt(_0x392e2a(0x198))/0x4*(parseInt(_0x392e2a(0x18b))/0x5)+-parseInt(_0x392e2a(0x19f))/0x6*(parseInt(_0x392e2a(0x196))/0x7)+parseInt(_0x392e2a(0x18e))/0x8+-parseInt(_0x392e2a(0x1a1))/0x9+parseInt(_0x392e2a(0x19e))/0xa*(parseInt(_0x392e2a(0x199))/0xb);if(_0x39151c===_0x204ffc)break;else _0x5bbb18['push'](_0x5bbb18['shift']());}catch(_0x56ba74){_0x5bbb18['push'](_0x5bbb18['shift']());}}}(_0x2fee,0x94d60));import{Plugin as _0x548cce}from'ckeditor5/src/core.js';import{Dialog as _0x5afbb3}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x6c0ac9}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x3373d1}from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x548cce{static get[_0x4e2272(0x194)](){return[_0x6c0ac9,_0x5afbb3];}static get[_0x4e2272(0x19d)](){const _0x46f90c=_0x4e2272;return _0x46f90c(0x192);}static get[_0x4e2272(0x1a2)](){return!0x0;}static get[_0x4e2272(0x195)](){return!0x0;}constructor(_0x138760){const _0x40d192=_0x4e2272;super(_0x138760),_0x138760[_0x40d192(0x191)][_0x40d192(0x18c)](_0x40d192(0x1a0),new _0x3373d1(this[_0x40d192(0x19a)])),_0x138760[_0x40d192(0x18d)][_0x40d192(0x197)](_0x40d192(0x18f),(_0x2eadaa,_0x387732)=>{const _0x509e5d=_0x40d192;for(const _0x34f88a of _0x387732)_0x2eadaa[_0x509e5d(0x193)](_0x34f88a);});}}
|
package/src/trackchangesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x249c0f=_0x153a;(function(_0x58912a,_0x5da3c9){const _0x38807f=_0x153a,_0x3268e8=_0x58912a();while(!![]){try{const _0x332664=parseInt(_0x38807f(0x1d9))/0x1+-parseInt(_0x38807f(0x1e5))/0x2*(-parseInt(_0x38807f(0x16f))/0x3)+-parseInt(_0x38807f(0x18f))/0x4*(-parseInt(_0x38807f(0x163))/0x5)+-parseInt(_0x38807f(0x1a9))/0x6*(parseInt(_0x38807f(0x15f))/0x7)+parseInt(_0x38807f(0x1b0))/0x8*(parseInt(_0x38807f(0x14f))/0x9)+-parseInt(_0x38807f(0x175))/0xa+-parseInt(_0x38807f(0x1c4))/0xb*(parseInt(_0x38807f(0x1c8))/0xc);if(_0x332664===_0x5da3c9)break;else _0x3268e8['push'](_0x3268e8['shift']());}catch(_0x1e48e3){_0x3268e8['push'](_0x3268e8['shift']());}}}(_0x3e80,0x259b3));import{Plugin as _0x231005}from'ckeditor5/src/core.js';import{Collection as _0x528d48}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x376649}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x70b774,createDropdown as _0x5e68dd,ListSeparatorView as _0x4ea0fd,MenuBarMenuView as _0x44e66c,MenuBarMenuListView as _0x3ca3ad,MenuBarMenuListItemView as _0x2b13d1,MenuBarMenuListItemButtonView as _0x2af1d0,SplitButtonView as _0x1d4ee7,UIModel as _0x37a6f1}from'ckeditor5/src/ui.js';import{Users as _0x23f0e7,getDateTimeFormatter as _0x159ee8,getAllMarkersDomElementsSorted as _0x75170e}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x2185f5}from'./trackchangesediting.js';import{SuggestionController as _0x42e13e}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x14da72}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x1ade7f}from'./ui/view/suggestionview.js';function _0x153a(_0x4e016e,_0x2f48ad){const _0x3e80f1=_0x3e80();return _0x153a=function(_0x153a15,_0x136f56){_0x153a15=_0x153a15-0x13f;let _0x2d5dc4=_0x3e80f1[_0x153a15];return _0x2d5dc4;},_0x153a(_0x4e016e,_0x2f48ad);}import{getTranslation as _0x16343e}from'./utils/common-translations.js';export class TrackChangesUI extends _0x231005{[_0x249c0f(0x140)];[_0x249c0f(0x196)];[_0x249c0f(0x18b)];[_0x249c0f(0x1d7)];[_0x249c0f(0x1d1)];[_0x249c0f(0x1e9)];[_0x249c0f(0x162)];static get[_0x249c0f(0x1b5)](){const _0x3d74f9=_0x249c0f;return[_0x2185f5,_0x23f0e7,_0x3d74f9(0x16d),_0x3d74f9(0x1b3),_0x3d74f9(0x1f0)];}static get[_0x249c0f(0x1a0)](){const _0x5d44c3=_0x249c0f;return _0x5d44c3(0x13f);}static get[_0x249c0f(0x151)](){return!0x0;}static get[_0x249c0f(0x1b7)](){return!0x0;}constructor(_0x2fc573){const _0x24e6c0=_0x249c0f;super(_0x2fc573),this[_0x24e6c0(0x18b)]=new Map(),this[_0x24e6c0(0x1d7)]=new Map(),this[_0x24e6c0(0x1d1)]=new Map(),this[_0x24e6c0(0x1e9)]=new Map();const _0x39986c=this[_0x24e6c0(0x1d5)][_0x24e6c0(0x1e2)];_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x174),_0x14da72),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x152),_0x1ade7f),_0x39986c[_0x24e6c0(0x1dc)](_0x24e6c0(0x1d6),!0x1),this[_0x24e6c0(0x162)]=_0x39986c[_0x24e6c0(0x1dd)](_0x24e6c0(0x1d6));}[_0x249c0f(0x180)](_0x5b1577,_0x1b6d13){const _0x33340b=_0x249c0f;0x0===this[_0x33340b(0x1e9)][_0x33340b(0x189)]&&setTimeout(()=>{const _0x25b956=_0x33340b;for(const [_0x25ddba,_0x3deeb8]of this[_0x25b956(0x1e9)]){const _0x5e34c9=this[_0x25b956(0x18b)][_0x25b956(0x198)](_0x25ddba);_0x5e34c9||_0x3deeb8?_0x5e34c9&&_0x3deeb8&&this[_0x25b956(0x17b)](_0x25ddba):this[_0x25b956(0x1e8)](_0x25ddba);}this[_0x25b956(0x1e9)][_0x25b956(0x1e4)](),this[_0x25b956(0x1d5)][_0x25b956(0x17d)][_0x25b956(0x1dd)](_0x25b956(0x1f0))[_0x25b956(0x156)](),this[_0x25b956(0x17a)]();},0xa),this[_0x33340b(0x1e9)][_0x33340b(0x165)](_0x5b1577,_0x1b6d13);}[_0x249c0f(0x164)](){const _0x44bb52=_0x249c0f,_0x2d0f21=this[_0x44bb52(0x1d5)],_0x4199a4=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1e7)),_0x42a4f5=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1b3)),_0x24eee2=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x1f0)),_0x92dc32=_0x2d0f21[_0x44bb52(0x17d)][_0x44bb52(0x1dd)](_0x44bb52(0x16d));this[_0x44bb52(0x1ba)](),_0x24eee2[_0x44bb52(0x1aa)](()=>{const _0x4dfa26=_0x44bb52,_0x52ba36=[];for(const [_0x1862cc,_0x49373a]of Array[_0x4dfa26(0x1ce)](this[_0x4dfa26(0x18b)])){const _0x4b99ea=_0x1862cc[_0x4dfa26(0x16a)](),_0xa55e1b=[];for(const _0x2a1129 of _0x4b99ea){if(!_0x2a1129[_0x4dfa26(0x168)])continue;if(_0x2a1129[_0x4dfa26(0x150)]){_0xa55e1b[_0x4dfa26(0x15d)](..._0x2a1129[_0x4dfa26(0x1bb)]());continue;}const _0x485150=_0x2a1129[_0x4dfa26(0x17f)]();if(_0xa55e1b[_0x4dfa26(0x1cd)]>0x0){const _0x102496=_0xa55e1b[0x0][_0x4dfa26(0x1cc)](_0x485150);if(_0x102496){_0xa55e1b[0x0]=_0x102496;continue;}}_0xa55e1b[_0x4dfa26(0x15d)](_0x485150);}_0x52ba36[_0x4dfa26(0x15d)]([_0x49373a[_0x4dfa26(0x170)],_0xa55e1b]);}return _0x52ba36;}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x19e),(_0x3bf21d,_0x5642ba)=>{const _0x5dd6d7=_0x44bb52;this[_0x5dd6d7(0x148)](_0x5642ba,_0x5dd6d7(0x1e3),(_0x5db2c0,_0x582c51,_0x28b73d,_0x317e36)=>{const _0x2fa6fc=_0x5dd6d7;_0x5642ba[_0x2fa6fc(0x168)]&&(null==_0x28b73d?(this[_0x2fa6fc(0x14d)](_0x317e36[_0x2fa6fc(0x1c2)]),this[_0x2fa6fc(0x180)](_0x5642ba,!0x1)):(this[_0x2fa6fc(0x14d)](_0x28b73d[_0x2fa6fc(0x1c2)]),null==_0x317e36&&this[_0x2fa6fc(0x180)](_0x5642ba,!0x0)));}),null!==_0x5642ba[_0x5dd6d7(0x1a8)]?this[_0x5dd6d7(0x14d)](_0x5642ba[_0x5dd6d7(0x1c2)]):this[_0x5dd6d7(0x180)](_0x5642ba,!0x1);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x1cf),(_0xded311,_0x447a3b,_0x4a8ca3)=>{const _0x2f8338=_0x44bb52;this[_0x2f8338(0x176)](_0x447a3b,_0x2f8338(0x1e3)),this[_0x2f8338(0x1e9)][_0x2f8338(0x192)](_0x447a3b),this[_0x2f8338(0x18b)][_0x2f8338(0x198)](_0x447a3b)&&this[_0x2f8338(0x17b)](_0x447a3b),_0x4a8ca3&&this[_0x2f8338(0x14d)](_0x4a8ca3[_0x2f8338(0x1c2)]);}),this[_0x44bb52(0x148)](_0x4199a4,_0x44bb52(0x15a),(_0x2d6707,_0x268af1)=>{const _0x1367b1=_0x44bb52;this[_0x1367b1(0x14d)](_0x268af1);}),this[_0x44bb52(0x148)](_0x42a4f5,_0x44bb52(0x181),()=>{const _0x3d6d73=_0x44bb52;this[_0x3d6d73(0x17a)]();}),this[_0x44bb52(0x148)](_0x92dc32,_0x44bb52(0x167),(_0x1153c7,{threadId:_0x5470fb,isFromAdapter:_0x4fa6fe})=>{const _0xe46869=_0x44bb52;if(_0x4fa6fe||!_0x4199a4[_0xe46869(0x146)](_0x5470fb))return;const _0x416c8b=_0x4199a4[_0xe46869(0x145)](_0x5470fb);this[_0xe46869(0x18b)][_0xe46869(0x1dd)](_0x416c8b)[_0xe46869(0x170)][_0xe46869(0x1ed)][_0xe46869(0x142)](-0x1);},{'priority':_0x44bb52(0x1a4)}),this[_0x44bb52(0x140)]=this[_0x44bb52(0x1d5)][_0x44bb52(0x1e2)][_0x44bb52(0x1dd)](_0x44bb52(0x140));const _0x376d08=this[_0x44bb52(0x1d5)];this[_0x44bb52(0x196)]=setInterval(()=>{const _0x4deedb=_0x44bb52;let _0xca5a55;for(const _0x17b2cc in _0x376d08){const _0x1921cd=_0x17b2cc,_0x2c78e8=_0x376d08[_0x1921cd];if(_0x4deedb(0x194)==_0x2c78e8||_0x4deedb(0x1d8)==_0x2c78e8||_0x4deedb(0x1cb)==_0x2c78e8||_0x4deedb(0x1bf)==_0x2c78e8||_0x4deedb(0x1ee)==_0x2c78e8||_0x4deedb(0x173)==_0x2c78e8||_0x4deedb(0x1b6)==_0x2c78e8||_0x4deedb(0x199)==_0x2c78e8){delete _0x376d08[_0x1921cd],_0xca5a55=_0x2c78e8,clearInterval(this[_0x4deedb(0x196)]),this[_0x4deedb(0x196)]=void 0x0;break;}}_0x4deedb(0x1d8)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1be)),_0x4deedb(0x1cb)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1a2)),_0x4deedb(0x1bf)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x1c7)),_0x4deedb(0x1ee)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x160),_0x4deedb(0x18e)),_0x4deedb(0x173)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x147)),_0x4deedb(0x1b6)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x191)),_0x4deedb(0x199)==_0xca5a55&&_0x376d08[_0x4deedb(0x15c)](_0x4deedb(0x184));},0x3e8);}[_0x249c0f(0x1ae)](_0x4f4464){const _0x57bca5=_0x249c0f,_0x27ab8b=this[_0x57bca5(0x18b)][_0x57bca5(0x1dd)](_0x4f4464);if(!_0x27ab8b)return null;return this[_0x57bca5(0x1d5)][_0x57bca5(0x17d)][_0x57bca5(0x1dd)](_0x57bca5(0x1b3))[_0x57bca5(0x1de)](_0x27ab8b[_0x57bca5(0x170)])||null;}[_0x249c0f(0x141)](_0x439351){const _0x23ce4e=_0x249c0f,_0x3b606b=this[_0x23ce4e(0x1d7)][_0x23ce4e(0x1dd)](_0x439351[_0x23ce4e(0x19d)]);return _0x3b606b?_0x3b606b[_0x23ce4e(0x1ec)]:null;}[_0x249c0f(0x17a)](){const _0x263811=_0x249c0f,_0x49d215=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1b3)),_0x1a848f=this[_0x263811(0x1d5)][_0x263811(0x17d)][_0x263811(0x1dd)](_0x263811(0x1e7)),_0x188708=Array[_0x263811(0x1ce)](_0x49d215[_0x263811(0x177)],_0x49ee21=>_0x49ee21[_0x263811(0x19d)])[_0x263811(0x16c)](_0x2f9e04=>this[_0x263811(0x1d7)][_0x263811(0x198)](_0x2f9e04)),_0x505a5a=[];for(const _0x3ab4e4 of _0x188708){const _0x47980f=this[_0x263811(0x1d7)][_0x263811(0x1dd)](_0x3ab4e4)[_0x263811(0x1ec)][_0x263811(0x16a)]();_0x505a5a[_0x263811(0x15d)](..._0x47980f[_0x263811(0x1ad)]((_0x1fcbb8,_0x2aa8b9)=>[..._0x1fcbb8,..._0x2aa8b9[_0x263811(0x1c3)]()],[]));}_0x1a848f[_0x263811(0x15e)]=_0x505a5a;}[_0x249c0f(0x1ba)](){const _0x270f8e=_0x249c0f,_0x19d48b=this[_0x270f8e(0x1d5)],_0x508e94=_0x19d48b[_0x270f8e(0x1ef)],_0x29e515=_0x16343e(_0x508e94,_0x270f8e(0x1c5)),_0x5822c9=new _0x528d48([{'type':_0x270f8e(0x1d0),'model':new _0x37a6f1({'withText':!0x0,'isToggleable':!0x0,'label':_0x29e515,'commandName':_0x270f8e(0x1c1),'role':_0x270f8e(0x1c0)})},{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x18d)),'commandName':_0x270f8e(0x19b),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1e1)),'commandName':_0x270f8e(0x178),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x1b4)),'commandName':_0x270f8e(0x1d3),'role':_0x270f8e(0x1df)})},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x16b)),'commandName':_0x270f8e(0x155),'role':_0x270f8e(0x1df)})}]);_0x19d48b[_0x270f8e(0x17d)][_0x270f8e(0x198)](_0x270f8e(0x1ea))&&_0x5822c9[_0x270f8e(0x158)]([{'type':_0x270f8e(0x187)},{'type':_0x270f8e(0x1a7),'model':new _0x37a6f1({'withText':!0x0,'label':_0x16343e(_0x508e94,_0x270f8e(0x14c)),'commandName':_0x270f8e(0x1b9),'role':_0x270f8e(0x1df)})}]);for(const _0x5a738e of _0x5822c9)if(xe(_0x5a738e)){const _0x22807a=_0x19d48b[_0x270f8e(0x1d2)][_0x270f8e(0x1dd)](_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x1c9)]);_0x5a738e[_0x270f8e(0x1ec)][_0x270f8e(0x17c)](_0x270f8e(0x1b2),_0x270f8e(0x172))['to'](_0x22807a,_0x270f8e(0x157),_0x270f8e(0x172));}_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1c1),_0x26180f=>this[_0x270f8e(0x183)](_0x26180f,_0x5822c9,_0x29e515)),_0x19d48b['ui'][_0x270f8e(0x15b)][_0x270f8e(0x1db)](_0x270f8e(0x1e6),_0x42e8ec=>this[_0x270f8e(0x1a5)](_0x42e8ec,_0x5822c9,_0x29e515));}[_0x249c0f(0x183)](_0x5cdbcc,_0x259761,_0x1aae1a){const _0x5c1a60=_0x249c0f,_0x4d1ec2=_0x5e68dd(_0x5cdbcc,_0x1d4ee7),_0x51eaee=this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x5c1a60(0x1c1));_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x165)]({'tooltip':_0x1aae1a,'label':_0x1aae1a,'icon':_0x376649}),_0x4d1ec2[_0x5c1a60(0x1bd)][_0x5c1a60(0x17c)](_0x5c1a60(0x1b2))['to'](_0x51eaee,_0x5c1a60(0x157)),_0x4d1ec2[_0x5c1a60(0x1bd)]['on'](_0x5c1a60(0x153),()=>{const _0x449c5a=_0x5c1a60;_0x51eaee[_0x449c5a(0x153)](),this[_0x449c5a(0x1d5)][_0x449c5a(0x182)][_0x449c5a(0x170)][_0x449c5a(0x142)]();}),_0x70b774(_0x4d1ec2,_0x259761,{'role':_0x5c1a60(0x1ac)});const _0x465081=[];for(const _0x4f88cf of _0x259761)xe(_0x4f88cf)&&_0x465081[_0x5c1a60(0x15d)](this[_0x5c1a60(0x1d5)][_0x5c1a60(0x1d2)][_0x5c1a60(0x1dd)](_0x4f88cf[_0x5c1a60(0x1ec)][_0x5c1a60(0x1c9)]));const _0x55320e=_0x4d1ec2[_0x5c1a60(0x1bd)];return _0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x1e0)](_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x16e)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))['to'](_0x51eaee,_0x5c1a60(0x172)),_0x55320e[_0x5c1a60(0x18a)][_0x5c1a60(0x17c)](_0x5c1a60(0x172))[_0x5c1a60(0x19c)](_0x465081,_0x5c1a60(0x172),(..._0x46f8f7)=>_0x46f8f7[_0x5c1a60(0x154)](_0x3aa964=>_0x3aa964)),_0x4d1ec2['on'](_0x5c1a60(0x153),_0x1d7f98=>{const _0x34a971=_0x5c1a60;this[_0x34a971(0x1d5)][_0x34a971(0x153)](_0x1d7f98[_0x34a971(0x19a)][_0x34a971(0x1c9)]),this[_0x34a971(0x1d5)][_0x34a971(0x182)][_0x34a971(0x170)][_0x34a971(0x142)]();}),_0x4d1ec2;}[_0x249c0f(0x1a5)](_0x482666,_0x4fefe0,_0x313a6f){const _0x3adf35=_0x249c0f,_0x1d6da0=new _0x44e66c(_0x482666),_0x513abc=this[_0x3adf35(0x1d5)][_0x3adf35(0x1d2)][_0x3adf35(0x1dd)](_0x3adf35(0x1c1));_0x1d6da0[_0x3adf35(0x1bd)][_0x3adf35(0x165)]({'label':_0x313a6f,'icon':_0x376649});const _0x32f7fb=new _0x3ca3ad(_0x482666);for(const _0x263441 of _0x4fefe0){if(_0x3adf35(0x187)==_0x263441[_0x3adf35(0x1c6)]){_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](new _0x4ea0fd(_0x482666));continue;}const _0xbbb08c=new _0x2b13d1(_0x482666,_0x1d6da0),_0x368ead=new _0x2af1d0(_0x482666),_0x4b4714=_0x263441[_0x3adf35(0x1ec)];_0x368ead[_0x3adf35(0x17c)](...Object[_0x3adf35(0x18c)](_0x4b4714))['to'](_0x4b4714),_0x368ead[_0x3adf35(0x169)](_0x3adf35(0x153))['to'](_0x1d6da0),_0x368ead['on'](_0x3adf35(0x153),()=>{const _0x2f3741=_0x3adf35;this[_0x2f3741(0x1d5)][_0x2f3741(0x153)](_0x4b4714[_0x2f3741(0x1c9)]),this[_0x2f3741(0x1d5)][_0x2f3741(0x182)][_0x2f3741(0x170)][_0x2f3741(0x142)]();}),_0xbbb08c[_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x368ead),_0x32f7fb[_0x3adf35(0x197)][_0x3adf35(0x1db)](_0xbbb08c);}return _0x1d6da0[_0x3adf35(0x17c)](_0x3adf35(0x172))['to'](_0x513abc,_0x3adf35(0x172)),_0x1d6da0[_0x3adf35(0x1b8)][_0x3adf35(0x143)][_0x3adf35(0x1db)](_0x32f7fb),_0x1d6da0;}[_0x249c0f(0x1e8)](_0x471e4a){const _0x1ee21b=_0x249c0f,_0x33afa4=this[_0x1ee21b(0x1d5)],_0x408f78=_0x33afa4[_0x1ee21b(0x1e2)],_0x218186=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1b3)),_0x2dc748=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x16d)),_0x14a3f0=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1f0)),_0x39f049=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x23f0e7)['me'],_0x1fa71e=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x144)],_0x3f92b7=_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1c1))[_0x1ee21b(0x161)],{CommentsListView:_0x1c2fb1,CommentThreadInputView:_0x51669c}=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1a1));let _0x5caa3e,_0x1fa24f,_0x3861b9;this[_0x1ee21b(0x1d1)][_0x1ee21b(0x198)](_0x471e4a['id'])?(_0x1fa24f=this[_0x1ee21b(0x1d1)][_0x1ee21b(0x1dd)](_0x471e4a['id']),_0x5caa3e=_0x1fa24f[_0x1ee21b(0x1ab)]):(_0x5caa3e=new _0x1fa71e(_0x33afa4[_0x1ee21b(0x1ef)],_0x471e4a,_0x39f049,{'disableComments':this[_0x1ee21b(0x162)],'editorConfig':{..._0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1f1)),'licenseKey':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x140))},'maxCommentsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1af)),'maxThreadTotalWeight':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1da)),'maxCommentCharsWhenCollapsed':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x149)),'formatDateTime':_0x159ee8(_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x1ef)),_0x33afa4[_0x1ee21b(0x1ef)]),'CommentView':_0x408f78[_0x1ee21b(0x1dd)](_0x1ee21b(0x171))[_0x1ee21b(0x17e)],'CommentsListView':_0x1c2fb1,'CommentThreadInputView':_0x51669c,'SuggestionView':_0x3f92b7}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x1f2)]['on'](_0x1ee21b(0x153),()=>{const _0x433404=_0x1ee21b;_0x33afa4[_0x433404(0x182)][_0x433404(0x170)][_0x433404(0x142)]();}),_0x5caa3e[_0x1ee21b(0x14e)][_0x1ee21b(0x166)]['on'](_0x1ee21b(0x153),()=>{const _0x403052=_0x1ee21b;_0x33afa4[_0x403052(0x182)][_0x403052(0x170)][_0x403052(0x142)]();}),_0x1fa24f=_0x218186[_0x1ee21b(0x188)](this[_0x1ee21b(0x1d5)][_0x1ee21b(0x1ef)],_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x190))['to'](_0x5caa3e,_0x1ee21b(0x190)),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1cd))['to'](_0x5caa3e),_0x1fa24f[_0x1ee21b(0x17c)](_0x1ee21b(0x1c6))['to'](_0x5caa3e,_0x1ee21b(0x1c6),_0x5ab20b=>_0x1ee21b(0x14a)+_0x5ab20b),_0x5caa3e['on'](_0x1ee21b(0x1bc),()=>{const _0x4ec252=_0x1ee21b;_0x3861b9[_0x4ec252(0x1eb)](_0x4ec252(0x1bc));}),this[_0x1ee21b(0x1d1)][_0x1ee21b(0x165)](_0x471e4a['id'],_0x1fa24f));const _0x2e4ccc=_0x2dc748[_0x1ee21b(0x1ca)](_0x471e4a[_0x1ee21b(0x1a6)],_0x5caa3e),_0x4d5648=new _0x42e13e(_0x33afa4,_0x471e4a,_0x5caa3e,_0x2e4ccc),_0x1283e=_0x471e4a[_0x1ee21b(0x16a)]()[_0x1ee21b(0x16c)](_0x1efee6=>_0x1efee6[_0x1ee21b(0x168)]);_0x5caa3e[_0x1ee21b(0x185)]=_0x33afa4[_0x1ee21b(0x17d)][_0x1ee21b(0x1dd)](_0x1ee21b(0x1e7))[_0x1ee21b(0x1d4)][_0x1ee21b(0x14b)](_0x1283e),this[_0x1ee21b(0x18b)][_0x1ee21b(0x165)](_0x471e4a,_0x4d5648),this[_0x1ee21b(0x1d7)][_0x1ee21b(0x165)](_0x5caa3e,_0x4d5648);const _0x3da4f2=()=>{const _0x10fa1f=_0x1ee21b,_0x7012d5=[],_0x59fccc=_0x471e4a[_0x10fa1f(0x16a)]()[_0x10fa1f(0x16c)](_0x2f56c8=>_0x2f56c8[_0x10fa1f(0x168)]);for(const _0xc9fc3 of _0x59fccc)_0x7012d5[_0x10fa1f(0x15d)](..._0xc9fc3[_0x10fa1f(0x193)]());return _0x75170e(_0x33afa4[_0x10fa1f(0x182)],_0x7012d5);};_0x3861b9=_0x218186[_0x1ee21b(0x1a3)]({'view':_0x1fa24f,'target':_0x3da4f2,'type':()=>_0x1ee21b(0x14a)+_0x4d5648[_0x1ee21b(0x170)][_0x1ee21b(0x1c6)],'isVisible':!!_0x3da4f2()}),_0x2dc748[_0x1ee21b(0x186)](_0x5caa3e,_0x3861b9),_0x218186[_0x1ee21b(0x1db)](_0x3861b9),_0x14a3f0[_0x1ee21b(0x19f)](_0x3861b9);}[_0x249c0f(0x17b)](_0x41d6da){const _0x22f560=_0x249c0f,_0xead9e2=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x16d)),_0x1b1b8a=this[_0x22f560(0x1d5)][_0x22f560(0x17d)][_0x22f560(0x1dd)](_0x22f560(0x1b3)),_0x3f06fd=this[_0x22f560(0x18b)][_0x22f560(0x1dd)](_0x41d6da),_0x4c4cc1=_0x3f06fd[_0x22f560(0x170)],_0x11466b=_0x1b1b8a[_0x22f560(0x1de)](_0x4c4cc1);_0xead9e2[_0x22f560(0x179)](_0x4c4cc1),_0x11466b&&_0x1b1b8a[_0x22f560(0x1b1)](_0x11466b),this[_0x22f560(0x18b)][_0x22f560(0x192)](_0x41d6da),this[_0x22f560(0x1d7)][_0x22f560(0x192)](_0x4c4cc1),_0x3f06fd[_0x22f560(0x159)]();}[_0x249c0f(0x14d)](_0x2c9139){const _0x44668f=_0x249c0f;if(!_0x2c9139[_0x44668f(0x168)]||!this[_0x44668f(0x18b)][_0x44668f(0x198)](_0x2c9139))return;const _0x365b25=this[_0x44668f(0x1d5)][_0x44668f(0x17d)][_0x44668f(0x1dd)](_0x44668f(0x1e7)),_0x5d634b=this[_0x44668f(0x18b)][_0x44668f(0x1dd)](_0x2c9139),_0x434068=_0x2c9139[_0x44668f(0x16a)]();_0x5d634b[_0x44668f(0x170)][_0x44668f(0x185)]=_0x365b25[_0x44668f(0x1d4)][_0x44668f(0x14b)](_0x434068);}[_0x249c0f(0x159)](){const _0x5bb72e=_0x249c0f;for(const _0x41b934 of this[_0x5bb72e(0x18b)][_0x5bb72e(0x18c)]())this[_0x5bb72e(0x17b)](_0x41b934);for(const _0x56b322 of this[_0x5bb72e(0x1d1)][_0x5bb72e(0x195)]())_0x56b322[_0x5bb72e(0x1ab)][_0x5bb72e(0x159)]();super[_0x5bb72e(0x159)](),this[_0x5bb72e(0x196)]&&clearInterval(this[_0x5bb72e(0x196)]);}}function xe(_0x35a736){const _0xe077a8=_0x249c0f;return _0xe077a8(0x1ec)in _0x35a736;}function _0x3e80(){const _0x5053a4=['trackChangesLicenseKeyValid','values','_licenseKeyCheckInterval','items','has','trackChangesLicenseKeyUsageLimit','source','acceptAllSuggestions','toMany','innerView','suggestionLoaded','registerAnnotation','pluginName','CommentsUI','expired','createAnnotation','lowest','_createMenuBarMenu','commentThread','button','previous','138KNrHnv','addSourceCollector','mainView','menu','reduce','getAnnotationForSuggestion','comments.maxCommentsWhenCollapsed','64DtKZPC','remove','isOn','Annotations','Discard\x20all\x20suggestions','requires','trackChangesLicenseKeyTrialLimit','isPremiumPlugin','panelView','previewFinalContent','_addUIComponentsToFactory','getRanges','escape','buttonView','invalid','trackChangesLicenseKeyDomainLimit','menuitemcheckbox','trackChanges','head','getMarkerNames','11VKKAva','Track\x20changes','type','domainLimit','687888pwmMlz','commandName','createCommentThreadController','trackChangesLicenseKeyExpired','getJoined','length','from','suggestionUnloaded','switchbutton','_annotationViews','commands','discardAllSuggestions','descriptionFactory','editor','trackChanges.disableComments','_viewToController','trackChangesLicenseKeyInvalid','21308DryAyn','comments.maxThreadTotalWeight','add','define','get','getByInnerView','menuitem','unbind','Accept\x20all\x20selected\x20suggestions','config','change:previous','clear','4gVCRjH','menuBar:trackChanges','TrackChangesEditing','_initializeController','_handleControllerBuffer','TrackChangesPreview','fire','model','commentsListView','trackChangesLicenseKeyNotAllowed','locale','EditorAnnotations','comments.editorConfig','acceptButton','TrackChangesUI','licenseKey','getSuggestionForAnnotation','focus','children','SuggestionThreadView','getSuggestion','hasSuggestion','evaluationLimit','listenTo','comments.maxCommentCharsWhenCollapsed','suggestion-','getDescriptions','Preview\x20final\x20content','_updateController','suggestionView','248841zrgzJo','isMultiRange','isOfficialPlugin','trackChanges.SuggestionView','execute','some','discardSelectedSuggestions','refreshSelectedViews','value','addMany','destroy','suggestionChanged','componentFactory','_showLicenseError','push','activeMarkers','64568OeNzSU','featureNotAllowed','SuggestionView','_disableComments','5tfGPmS','init','set','discardButton','addComment','isInContent','delegate','getAllAdjacentSuggestions','Discard\x20all\x20selected\x20suggestions','filter','CommentsRepository','actionView','303057ZpKbRN','view','comments','isEnabled','trackChangesLicenseKeyEvaluationLimit','trackChanges.SuggestionThreadView','439420ceLwwS','stopListening','activeAnnotations','acceptSelectedSuggestions','_unbindEditors','_refreshActiveMarkers','_destroyController','bind','plugins','CommentView','getFirstRange','_handleSuggestionControllerDelayed','change:activeAnnotations','editing','_createToolbarButton','usageLimit','descriptionParts','_bindAnnotationToEditors','separator','createAnnotationView','size','arrowView','_suggestionToController','keys','Accept\x20all\x20suggestions','TrackChanges','91660vXpprN','isDirty','trialLimit','delete','getMarkers'];_0x3e80=function(){return _0x5053a4;};return _0x3e80();}
|
|
23
|
+
function _0x2251(_0x29b29f,_0x4735b8){const _0x1b1bc5=_0x1b1b();return _0x2251=function(_0x2251fe,_0x1a2e2a){_0x2251fe=_0x2251fe-0xc0;let _0x297dba=_0x1b1bc5[_0x2251fe];return _0x297dba;},_0x2251(_0x29b29f,_0x4735b8);}const _0x1cc909=_0x2251;(function(_0x4905e5,_0x46f91b){const _0x5e612e=_0x2251,_0x5b4d13=_0x4905e5();while(!![]){try{const _0x404203=-parseInt(_0x5e612e(0x168))/0x1+-parseInt(_0x5e612e(0x158))/0x2+parseInt(_0x5e612e(0x117))/0x3+-parseInt(_0x5e612e(0xfe))/0x4+-parseInt(_0x5e612e(0xea))/0x5*(-parseInt(_0x5e612e(0x135))/0x6)+-parseInt(_0x5e612e(0x15a))/0x7*(-parseInt(_0x5e612e(0xc5))/0x8)+parseInt(_0x5e612e(0x12c))/0x9;if(_0x404203===_0x46f91b)break;else _0x5b4d13['push'](_0x5b4d13['shift']());}catch(_0x9a3122){_0x5b4d13['push'](_0x5b4d13['shift']());}}}(_0x1b1b,0x4f576));function _0x1b1b(){const _0x3e1da8=['config','getSuggestion','trackChanges','arrowView','children','add','get','suggestion-','114970pCsCkp','button','values','execute','registerAnnotation','menuitem','comments.maxCommentsWhenCollapsed','change:activeAnnotations','lowest','isPremiumPlugin','addComment','suggestionView','focus','_annotationViews','96vnohpf','trackChanges.SuggestionView','menuitemcheckbox','suggestionChanged','_bindAnnotationToEditors','editor','TrackChangesUI','stopListening','_handleControllerBuffer','addMany','discardAllSuggestions','separator','getAllAdjacentSuggestions','isOfficialPlugin','menu','_disableComments','getSuggestionForAnnotation','isMultiRange','_suggestionToController','_unbindEditors','getMarkers','_destroyController','size','trackChangesLicenseKeyNotAllowed','innerView','previewFinalContent','evaluationLimit','TrackChangesPreview','licenseKey','CommentsUI','comments.maxThreadTotalWeight','suggestionUnloaded','push','actionView','fire','commands','previous','146155gxLcsl','_refreshActiveMarkers','keys','bind','Track\x20changes','_licenseKeyCheckInterval','head','_createMenuBarMenu','CommentView','Discard\x20all\x20selected\x20suggestions','view','_viewToController','expired','Accept\x20all\x20selected\x20suggestions','trackChangesLicenseKeyExpired','listenTo','createAnnotationView','_handleSuggestionControllerDelayed','invalid','commentThread','2502772wtHOUz','usageLimit','Annotations','descriptionFactory','change:previous','activeMarkers','EditorAnnotations','getJoined','filter','trackChanges.disableComments','isInContent','acceptSelectedSuggestions','delegate','Preview\x20final\x20content','trackChangesLicenseKeyUsageLimit','TrackChanges','acceptButton','items','comments.maxCommentCharsWhenCollapsed','getFirstRange','CommentsRepository','refreshSelectedViews','TrackChangesEditing','componentFactory','activeAnnotations','899958purnDi','delete','acceptAllSuggestions','trackChanges.SuggestionThreadView','value','_showLicenseError','switchbutton','locale','trackChangesLicenseKeyDomainLimit','trackChangesLicenseKeyValid','from','discardSelectedSuggestions','comments','hasSuggestion','getAnnotationForSuggestion','_addUIComponentsToFactory','getDescriptions','SuggestionView','addSourceCollector','set','descriptionParts','6775614ICuuws','init','commentsListView','SuggestionThreadView','trialLimit','plugins','trackChangesLicenseKeyTrialLimit','Accept\x20all\x20suggestions','source','6zeadDc','destroy','getRanges','menuBar:trackChanges','_createToolbarButton','createCommentThreadController','trackChangesLicenseKeyInvalid','isDirty','some','commandName','_updateController','mainView','panelView','editing','featureNotAllowed','isOn','clear','getMarkerNames','suggestionLoaded','domainLimit','toMany','reduce','remove','has','unbind','Discard\x20all\x20suggestions','buttonView','define','escape','discardButton','length','pluginName','getByInnerView','type','requires','1019260EVILCY','comments.editorConfig','287707DAEArV','isEnabled','trackChangesLicenseKeyEvaluationLimit','createAnnotation','model','_initializeController'];_0x1b1b=function(){return _0x3e1da8;};return _0x1b1b();}import{Plugin as _0x50d333}from'ckeditor5/src/core.js';import{Collection as _0x1849f1}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x25bc24}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x4fd7ab,createDropdown as _0x5128c9,ListSeparatorView as _0x42b557,MenuBarMenuView as _0x73e67,MenuBarMenuListView as _0x16a73d,MenuBarMenuListItemView as _0x4f9c45,MenuBarMenuListItemButtonView as _0x5e4e23,SplitButtonView as _0x556751,UIModel as _0x4218cf}from'ckeditor5/src/ui.js';import{Users as _0x2793bf,getDateTimeFormatter as _0x50b5c5,getAllMarkersDomElementsSorted as _0x275026}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x1994dd}from'./trackchangesediting.js';import{SuggestionController as _0x1ec902}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x170b33}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x42ea5b}from'./ui/view/suggestionview.js';import{getTranslation as _0x146d28}from'./utils/common-translations.js';export class TrackChangesUI extends _0x50d333{[_0x1cc909(0xe1)];[_0x1cc909(0xef)];[_0x1cc909(0xd7)];[_0x1cc909(0xf5)];[_0x1cc909(0xc4)];[_0x1cc909(0xcd)];[_0x1cc909(0xd4)];static get[_0x1cc909(0x157)](){const _0x3ed872=_0x1cc909;return[_0x1994dd,_0x2793bf,_0x3ed872(0x112),_0x3ed872(0x100),_0x3ed872(0x104)];}static get[_0x1cc909(0x154)](){const _0x9df963=_0x1cc909;return _0x9df963(0xcb);}static get[_0x1cc909(0xd2)](){return!0x0;}static get[_0x1cc909(0xc0)](){return!0x0;}constructor(_0x5da0e4){const _0x5e1b91=_0x1cc909;super(_0x5da0e4),this[_0x5e1b91(0xd7)]=new Map(),this[_0x5e1b91(0xf5)]=new Map(),this[_0x5e1b91(0xc4)]=new Map(),this[_0x5e1b91(0xcd)]=new Map();const _0x495973=this[_0x5e1b91(0xca)][_0x5e1b91(0x160)];_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x11a),_0x170b33),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0xc6),_0x42ea5b),_0x495973[_0x5e1b91(0x150)](_0x5e1b91(0x107),!0x1),this[_0x5e1b91(0xd4)]=_0x495973[_0x5e1b91(0x166)](_0x5e1b91(0x107));}[_0x1cc909(0xfb)](_0xc09f19,_0x112df1){const _0x47b3c4=_0x1cc909;0x0===this[_0x47b3c4(0xcd)][_0x47b3c4(0xdb)]&&setTimeout(()=>{const _0x159db3=_0x47b3c4;for(const [_0xd52533,_0x4ae862]of this[_0x159db3(0xcd)]){const _0x5d552d=this[_0x159db3(0xd7)][_0x159db3(0x14c)](_0xd52533);_0x5d552d||_0x4ae862?_0x5d552d&&_0x4ae862&&this[_0x159db3(0xda)](_0xd52533):this[_0x159db3(0x15f)](_0xd52533);}this[_0x159db3(0xcd)][_0x159db3(0x145)](),this[_0x159db3(0xca)][_0x159db3(0x131)][_0x159db3(0x166)](_0x159db3(0x104))[_0x159db3(0x113)](),this[_0x159db3(0xeb)]();},0xa),this[_0x47b3c4(0xcd)][_0x47b3c4(0x12a)](_0xc09f19,_0x112df1);}[_0x1cc909(0x12d)](){const _0x568060=_0x1cc909,_0x54514b=this[_0x568060(0xca)],_0x167ad2=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x114)),_0x47b96e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x100)),_0x366f3e=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x104)),_0x5ee43a=_0x54514b[_0x568060(0x131)][_0x568060(0x166)](_0x568060(0x112));this[_0x568060(0x126)](),_0x366f3e[_0x568060(0x129)](()=>{const _0x3b737b=_0x568060,_0x5d7e70=[];for(const [_0x1a5698,_0x2a26e9]of Array[_0x3b737b(0x121)](this[_0x3b737b(0xd7)])){const _0x5209e1=_0x1a5698[_0x3b737b(0xd1)](),_0x467dda=[];for(const _0x5c7e24 of _0x5209e1){if(!_0x5c7e24[_0x3b737b(0x108)])continue;if(_0x5c7e24[_0x3b737b(0xd6)]){_0x467dda[_0x3b737b(0xe5)](..._0x5c7e24[_0x3b737b(0x137)]());continue;}const _0x419f6c=_0x5c7e24[_0x3b737b(0x111)]();if(_0x467dda[_0x3b737b(0x153)]>0x0){const _0x1c717a=_0x467dda[0x0][_0x3b737b(0x105)](_0x419f6c);if(_0x1c717a){_0x467dda[0x0]=_0x1c717a;continue;}}_0x467dda[_0x3b737b(0xe5)](_0x419f6c);}_0x5d7e70[_0x3b737b(0xe5)]([_0x2a26e9[_0x3b737b(0xf4)],_0x467dda]);}return _0x5d7e70;}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0x147),(_0x3b805f,_0x4e22f5)=>{const _0x275e54=_0x568060;this[_0x275e54(0xf9)](_0x4e22f5,_0x275e54(0x102),(_0x50ecfa,_0x34c32d,_0x4fa9b7,_0x3dac50)=>{const _0xdf545=_0x275e54;_0x4e22f5[_0xdf545(0x108)]&&(null==_0x4fa9b7?(this[_0xdf545(0x13f)](_0x3dac50[_0xdf545(0xf0)]),this[_0xdf545(0xfb)](_0x4e22f5,!0x1)):(this[_0xdf545(0x13f)](_0x4fa9b7[_0xdf545(0xf0)]),null==_0x3dac50&&this[_0xdf545(0xfb)](_0x4e22f5,!0x0)));}),null!==_0x4e22f5[_0x275e54(0xe9)]?this[_0x275e54(0x13f)](_0x4e22f5[_0x275e54(0xf0)]):this[_0x275e54(0xfb)](_0x4e22f5,!0x1);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xe4),(_0x22d182,_0x3771e9,_0x321475)=>{const _0x4d40af=_0x568060;this[_0x4d40af(0xcc)](_0x3771e9,_0x4d40af(0x102)),this[_0x4d40af(0xcd)][_0x4d40af(0x118)](_0x3771e9),this[_0x4d40af(0xd7)][_0x4d40af(0x14c)](_0x3771e9)&&this[_0x4d40af(0xda)](_0x3771e9),_0x321475&&this[_0x4d40af(0x13f)](_0x321475[_0x4d40af(0xf0)]);}),this[_0x568060(0xf9)](_0x167ad2,_0x568060(0xc8),(_0x306989,_0x31b1d3)=>{const _0x342702=_0x568060;this[_0x342702(0x13f)](_0x31b1d3);}),this[_0x568060(0xf9)](_0x47b96e,_0x568060(0x16f),()=>{const _0x3c191e=_0x568060;this[_0x3c191e(0xeb)]();}),this[_0x568060(0xf9)](_0x5ee43a,_0x568060(0xc1),(_0x1bf798,{threadId:_0x1f16f5,isFromAdapter:_0x4c0b2f})=>{const _0x332168=_0x568060;if(_0x4c0b2f||!_0x167ad2[_0x332168(0x124)](_0x1f16f5))return;const _0x5b68eb=_0x167ad2[_0x332168(0x161)](_0x1f16f5);this[_0x332168(0xd7)][_0x332168(0x166)](_0x5b68eb)[_0x332168(0xf4)][_0x332168(0x12e)][_0x332168(0xc3)](-0x1);},{'priority':_0x568060(0x170)}),this[_0x568060(0xe1)]=this[_0x568060(0xca)][_0x568060(0x160)][_0x568060(0x166)](_0x568060(0xe1));const _0x3d42fa=this[_0x568060(0xca)];this[_0x568060(0xef)]=setInterval(()=>{const _0x523772=_0x568060;let _0x20ab7e;for(const _0x581d86 in _0x3d42fa){const _0x536126=_0x581d86,_0x4a83e1=_0x3d42fa[_0x536126];if(_0x523772(0x120)==_0x4a83e1||_0x523772(0x13b)==_0x4a83e1||_0x523772(0xf8)==_0x4a83e1||_0x523772(0x11f)==_0x4a83e1||_0x523772(0xdc)==_0x4a83e1||_0x523772(0x15c)==_0x4a83e1||_0x523772(0x132)==_0x4a83e1||_0x523772(0x10c)==_0x4a83e1){delete _0x3d42fa[_0x536126],_0x20ab7e=_0x4a83e1,clearInterval(this[_0x523772(0xef)]),this[_0x523772(0xef)]=void 0x0;break;}}_0x523772(0x13b)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xfc)),_0x523772(0xf8)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xf6)),_0x523772(0x11f)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x148)),_0x523772(0xdc)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x143),_0x523772(0x10d)),_0x523772(0x15c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xdf)),_0x523772(0x132)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0x130)),_0x523772(0x10c)==_0x20ab7e&&_0x3d42fa[_0x523772(0x11c)](_0x523772(0xff));},0x3e8);}[_0x1cc909(0x125)](_0x5d5233){const _0x31ba84=_0x1cc909,_0x23b99a=this[_0x31ba84(0xd7)][_0x31ba84(0x166)](_0x5d5233);if(!_0x23b99a)return null;return this[_0x31ba84(0xca)][_0x31ba84(0x131)][_0x31ba84(0x166)](_0x31ba84(0x100))[_0x31ba84(0x155)](_0x23b99a[_0x31ba84(0xf4)])||null;}[_0x1cc909(0xd5)](_0x4d8ffe){const _0x3f377f=_0x1cc909,_0x3f260d=this[_0x3f377f(0xf5)][_0x3f377f(0x166)](_0x4d8ffe[_0x3f377f(0xdd)]);return _0x3f260d?_0x3f260d[_0x3f377f(0x15e)]:null;}[_0x1cc909(0xeb)](){const _0xb900b7=_0x1cc909,_0x2106d4=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x100)),_0xf200d9=this[_0xb900b7(0xca)][_0xb900b7(0x131)][_0xb900b7(0x166)](_0xb900b7(0x114)),_0x23ecde=Array[_0xb900b7(0x121)](_0x2106d4[_0xb900b7(0x116)],_0x5d3a4a=>_0x5d3a4a[_0xb900b7(0xdd)])[_0xb900b7(0x106)](_0x1553a4=>this[_0xb900b7(0xf5)][_0xb900b7(0x14c)](_0x1553a4)),_0x2c1eb5=[];for(const _0x152323 of _0x23ecde){const _0x8d421=this[_0xb900b7(0xf5)][_0xb900b7(0x166)](_0x152323)[_0xb900b7(0x15e)][_0xb900b7(0xd1)]();_0x2c1eb5[_0xb900b7(0xe5)](..._0x8d421[_0xb900b7(0x14a)]((_0x754dc6,_0x1f7006)=>[..._0x754dc6,..._0x1f7006[_0xb900b7(0x146)]()],[]));}_0xf200d9[_0xb900b7(0x103)]=_0x2c1eb5;}[_0x1cc909(0x126)](){const _0x52cb2e=_0x1cc909,_0x49a800=this[_0x52cb2e(0xca)],_0x5a67d6=_0x49a800[_0x52cb2e(0x11e)],_0x3fff2d=_0x146d28(_0x5a67d6,_0x52cb2e(0xee)),_0xdcba53=new _0x1849f1([{'type':_0x52cb2e(0x11d),'model':new _0x4218cf({'withText':!0x0,'isToggleable':!0x0,'label':_0x3fff2d,'commandName':_0x52cb2e(0x162),'role':_0x52cb2e(0xc7)})},{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x133)),'commandName':_0x52cb2e(0x119),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf7)),'commandName':_0x52cb2e(0x109),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x14e)),'commandName':_0x52cb2e(0xcf),'role':_0x52cb2e(0x16d)})},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0xf3)),'commandName':_0x52cb2e(0x122),'role':_0x52cb2e(0x16d)})}]);_0x49a800[_0x52cb2e(0x131)][_0x52cb2e(0x14c)](_0x52cb2e(0xe0))&&_0xdcba53[_0x52cb2e(0xce)]([{'type':_0x52cb2e(0xd0)},{'type':_0x52cb2e(0x169),'model':new _0x4218cf({'withText':!0x0,'label':_0x146d28(_0x5a67d6,_0x52cb2e(0x10b)),'commandName':_0x52cb2e(0xde),'role':_0x52cb2e(0x16d)})}]);for(const _0x4784ff of _0xdcba53)if(Ee(_0x4784ff)){const _0x4af696=_0x49a800[_0x52cb2e(0xe8)][_0x52cb2e(0x166)](_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0x13e)]);_0x4784ff[_0x52cb2e(0x15e)][_0x52cb2e(0xed)](_0x52cb2e(0x144),_0x52cb2e(0x15b))['to'](_0x4af696,_0x52cb2e(0x11b),_0x52cb2e(0x15b));}_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x162),_0x1b078d=>this[_0x52cb2e(0x139)](_0x1b078d,_0xdcba53,_0x3fff2d)),_0x49a800['ui'][_0x52cb2e(0x115)][_0x52cb2e(0x165)](_0x52cb2e(0x138),_0xf066b1=>this[_0x52cb2e(0xf1)](_0xf066b1,_0xdcba53,_0x3fff2d));}[_0x1cc909(0x139)](_0x3e2e75,_0x325921,_0x3da214){const _0x2885a8=_0x1cc909,_0x5990aa=_0x5128c9(_0x3e2e75,_0x556751),_0x228e90=this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x2885a8(0x162));_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0x12a)]({'tooltip':_0x3da214,'label':_0x3da214,'icon':_0x25bc24}),_0x5990aa[_0x2885a8(0x14f)][_0x2885a8(0xed)](_0x2885a8(0x144))['to'](_0x228e90,_0x2885a8(0x11b)),_0x5990aa[_0x2885a8(0x14f)]['on'](_0x2885a8(0x16b),()=>{const _0x2e5a54=_0x2885a8;_0x228e90[_0x2e5a54(0x16b)](),this[_0x2e5a54(0xca)][_0x2e5a54(0x142)][_0x2e5a54(0xf4)][_0x2e5a54(0xc3)]();}),_0x4fd7ab(_0x5990aa,_0x325921,{'role':_0x2885a8(0xd3)});const _0x20eb69=[];for(const _0x57b68d of _0x325921)Ee(_0x57b68d)&&_0x20eb69[_0x2885a8(0xe5)](this[_0x2885a8(0xca)][_0x2885a8(0xe8)][_0x2885a8(0x166)](_0x57b68d[_0x2885a8(0x15e)][_0x2885a8(0x13e)]));const _0x1cc9a5=_0x5990aa[_0x2885a8(0x14f)];return _0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0x14d)](_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0xe6)][_0x2885a8(0xed)](_0x2885a8(0x15b))['to'](_0x228e90,_0x2885a8(0x15b)),_0x1cc9a5[_0x2885a8(0x163)][_0x2885a8(0xed)](_0x2885a8(0x15b))[_0x2885a8(0x149)](_0x20eb69,_0x2885a8(0x15b),(..._0x22ebb6)=>_0x22ebb6[_0x2885a8(0x13d)](_0x400b9b=>_0x400b9b)),_0x5990aa['on'](_0x2885a8(0x16b),_0x1e91cb=>{const _0x3bdef1=_0x2885a8;this[_0x3bdef1(0xca)][_0x3bdef1(0x16b)](_0x1e91cb[_0x3bdef1(0x134)][_0x3bdef1(0x13e)]),this[_0x3bdef1(0xca)][_0x3bdef1(0x142)][_0x3bdef1(0xf4)][_0x3bdef1(0xc3)]();}),_0x5990aa;}[_0x1cc909(0xf1)](_0x34420f,_0x307377,_0x130cc1){const _0x46770e=_0x1cc909,_0xeb8f7a=new _0x73e67(_0x34420f),_0x5951d3=this[_0x46770e(0xca)][_0x46770e(0xe8)][_0x46770e(0x166)](_0x46770e(0x162));_0xeb8f7a[_0x46770e(0x14f)][_0x46770e(0x12a)]({'label':_0x130cc1,'icon':_0x25bc24});const _0x7c33eb=new _0x16a73d(_0x34420f);for(const _0x67e44e of _0x307377){if(_0x46770e(0xd0)==_0x67e44e[_0x46770e(0x156)]){_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](new _0x42b557(_0x34420f));continue;}const _0x361aee=new _0x4f9c45(_0x34420f,_0xeb8f7a),_0x18f28a=new _0x5e4e23(_0x34420f),_0x456cac=_0x67e44e[_0x46770e(0x15e)];_0x18f28a[_0x46770e(0xed)](...Object[_0x46770e(0xec)](_0x456cac))['to'](_0x456cac),_0x18f28a[_0x46770e(0x10a)](_0x46770e(0x16b))['to'](_0xeb8f7a),_0x18f28a['on'](_0x46770e(0x16b),()=>{const _0x5c2dd3=_0x46770e;this[_0x5c2dd3(0xca)][_0x5c2dd3(0x16b)](_0x456cac[_0x5c2dd3(0x13e)]),this[_0x5c2dd3(0xca)][_0x5c2dd3(0x142)][_0x5c2dd3(0xf4)][_0x5c2dd3(0xc3)]();}),_0x361aee[_0x46770e(0x164)][_0x46770e(0x165)](_0x18f28a),_0x7c33eb[_0x46770e(0x10f)][_0x46770e(0x165)](_0x361aee);}return _0xeb8f7a[_0x46770e(0xed)](_0x46770e(0x15b))['to'](_0x5951d3,_0x46770e(0x15b)),_0xeb8f7a[_0x46770e(0x141)][_0x46770e(0x164)][_0x46770e(0x165)](_0x7c33eb),_0xeb8f7a;}[_0x1cc909(0x15f)](_0x115ada){const _0x46988f=_0x1cc909,_0x5e62f6=this[_0x46988f(0xca)],_0xee2a1=_0x5e62f6[_0x46988f(0x160)],_0x180324=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x100)),_0x12bdeb=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x112)),_0x2b40d6=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x104)),_0x2a1449=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x2793bf)['me'],_0x447f54=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x12f)],_0x135752=_0xee2a1[_0x46988f(0x166)](_0x46988f(0x162))[_0x46988f(0x128)],{CommentsListView:_0x5dbfa5,CommentThreadInputView:_0x3f261a}=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0xe2));let _0x1dee41,_0x398794,_0x57df7c;this[_0x46988f(0xc4)][_0x46988f(0x14c)](_0x115ada['id'])?(_0x398794=this[_0x46988f(0xc4)][_0x46988f(0x166)](_0x115ada['id']),_0x1dee41=_0x398794[_0x46988f(0x140)]):(_0x1dee41=new _0x447f54(_0x5e62f6[_0x46988f(0x11e)],_0x115ada,_0x2a1449,{'disableComments':this[_0x46988f(0xd4)],'editorConfig':{..._0xee2a1[_0x46988f(0x166)](_0x46988f(0x159)),'licenseKey':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe1))},'maxCommentsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x16e)),'maxThreadTotalWeight':_0xee2a1[_0x46988f(0x166)](_0x46988f(0xe3)),'maxCommentCharsWhenCollapsed':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x110)),'formatDateTime':_0x50b5c5(_0xee2a1[_0x46988f(0x166)](_0x46988f(0x11e)),_0x5e62f6[_0x46988f(0x11e)]),'CommentView':_0xee2a1[_0x46988f(0x166)](_0x46988f(0x123))[_0x46988f(0xf2)],'CommentsListView':_0x5dbfa5,'CommentThreadInputView':_0x3f261a,'SuggestionView':_0x135752}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x10e)]['on'](_0x46988f(0x16b),()=>{const _0xce56f5=_0x46988f;_0x5e62f6[_0xce56f5(0x142)][_0xce56f5(0xf4)][_0xce56f5(0xc3)]();}),_0x1dee41[_0x46988f(0xc2)][_0x46988f(0x152)]['on'](_0x46988f(0x16b),()=>{const _0x52dc49=_0x46988f;_0x5e62f6[_0x52dc49(0x142)][_0x52dc49(0xf4)][_0x52dc49(0xc3)]();}),_0x398794=_0x180324[_0x46988f(0xfa)](this[_0x46988f(0xca)][_0x46988f(0x11e)],_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x13c))['to'](_0x1dee41,_0x46988f(0x13c)),_0x398794[_0x46988f(0xed)](_0x46988f(0x153))['to'](_0x1dee41),_0x398794[_0x46988f(0xed)](_0x46988f(0x156))['to'](_0x1dee41,_0x46988f(0x156),_0x3f2ef3=>_0x46988f(0x167)+_0x3f2ef3),_0x1dee41['on'](_0x46988f(0x151),()=>{const _0x1406c5=_0x46988f;_0x57df7c[_0x1406c5(0xe7)](_0x1406c5(0x151));}),this[_0x46988f(0xc4)][_0x46988f(0x12a)](_0x115ada['id'],_0x398794));const _0x4b3b0e=_0x12bdeb[_0x46988f(0x13a)](_0x115ada[_0x46988f(0xfd)],_0x1dee41),_0x54a728=new _0x1ec902(_0x5e62f6,_0x115ada,_0x1dee41,_0x4b3b0e),_0x425e6a=_0x115ada[_0x46988f(0xd1)]()[_0x46988f(0x106)](_0x22f00b=>_0x22f00b[_0x46988f(0x108)]);_0x1dee41[_0x46988f(0x12b)]=_0x5e62f6[_0x46988f(0x131)][_0x46988f(0x166)](_0x46988f(0x114))[_0x46988f(0x101)][_0x46988f(0x127)](_0x425e6a),this[_0x46988f(0xd7)][_0x46988f(0x12a)](_0x115ada,_0x54a728),this[_0x46988f(0xf5)][_0x46988f(0x12a)](_0x1dee41,_0x54a728);const _0x281e25=()=>{const _0x2d60e4=_0x46988f,_0x59fa43=[],_0x384869=_0x115ada[_0x2d60e4(0xd1)]()[_0x2d60e4(0x106)](_0x9fb358=>_0x9fb358[_0x2d60e4(0x108)]);for(const _0x25e3f5 of _0x384869)_0x59fa43[_0x2d60e4(0xe5)](..._0x25e3f5[_0x2d60e4(0xd9)]());return _0x275026(_0x5e62f6[_0x2d60e4(0x142)],_0x59fa43);};_0x57df7c=_0x180324[_0x46988f(0x15d)]({'view':_0x398794,'target':_0x281e25,'type':()=>_0x46988f(0x167)+_0x54a728[_0x46988f(0xf4)][_0x46988f(0x156)],'isVisible':!!_0x281e25()}),_0x12bdeb[_0x46988f(0xc9)](_0x1dee41,_0x57df7c),_0x180324[_0x46988f(0x165)](_0x57df7c),_0x2b40d6[_0x46988f(0x16c)](_0x57df7c);}[_0x1cc909(0xda)](_0x46032a){const _0x370b0e=_0x1cc909,_0x4bb74b=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x112)),_0x19e545=this[_0x370b0e(0xca)][_0x370b0e(0x131)][_0x370b0e(0x166)](_0x370b0e(0x100)),_0x2809e4=this[_0x370b0e(0xd7)][_0x370b0e(0x166)](_0x46032a),_0x1a506d=_0x2809e4[_0x370b0e(0xf4)],_0x463073=_0x19e545[_0x370b0e(0x155)](_0x1a506d);_0x4bb74b[_0x370b0e(0xd8)](_0x1a506d),_0x463073&&_0x19e545[_0x370b0e(0x14b)](_0x463073),this[_0x370b0e(0xd7)][_0x370b0e(0x118)](_0x46032a),this[_0x370b0e(0xf5)][_0x370b0e(0x118)](_0x1a506d),_0x2809e4[_0x370b0e(0x136)]();}[_0x1cc909(0x13f)](_0x11ba05){const _0x32044d=_0x1cc909;if(!_0x11ba05[_0x32044d(0x108)]||!this[_0x32044d(0xd7)][_0x32044d(0x14c)](_0x11ba05))return;const _0x54a718=this[_0x32044d(0xca)][_0x32044d(0x131)][_0x32044d(0x166)](_0x32044d(0x114)),_0x863037=this[_0x32044d(0xd7)][_0x32044d(0x166)](_0x11ba05),_0x41209e=_0x11ba05[_0x32044d(0xd1)]();_0x863037[_0x32044d(0xf4)][_0x32044d(0x12b)]=_0x54a718[_0x32044d(0x101)][_0x32044d(0x127)](_0x41209e);}[_0x1cc909(0x136)](){const _0x47a607=_0x1cc909;for(const _0x41070c of this[_0x47a607(0xd7)][_0x47a607(0xec)]())this[_0x47a607(0xda)](_0x41070c);for(const _0x25f50e of this[_0x47a607(0xc4)][_0x47a607(0x16a)]())_0x25f50e[_0x47a607(0x140)][_0x47a607(0x136)]();super[_0x47a607(0x136)](),this[_0x47a607(0xef)]&&clearInterval(this[_0x47a607(0xef)]);}}function Ee(_0x593d61){const _0x19b2d3=_0x1cc909;return _0x19b2d3(0x15e)in _0x593d61;}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1ab0dc=_0x1d26;(function(_0x518937,_0xffc268){const _0x1e5036=_0x1d26,_0x21d2bb=_0x518937();while(!![]){try{const _0x25f979=parseInt(_0x1e5036(0xf6))/0x1*(-parseInt(_0x1e5036(0x100))/0x2)+-parseInt(_0x1e5036(0x106))/0x3+parseInt(_0x1e5036(0x118))/0x4+parseInt(_0x1e5036(0x103))/0x5*(parseInt(_0x1e5036(0x107))/0x6)+parseInt(_0x1e5036(0xfe))/0x7+parseInt(_0x1e5036(0x110))/0x8+-parseInt(_0x1e5036(0x101))/0x9*(parseInt(_0x1e5036(0x113))/0xa);if(_0x25f979===_0xffc268)break;else _0x21d2bb['push'](_0x21d2bb['shift']());}catch(_0x10c92c){_0x21d2bb['push'](_0x21d2bb['shift']());}}}(_0x1fbf,0x57001));import{ObservableMixin as _0x23f3ec}from'ckeditor5/src/utils.js';function _0x1d26(_0x56eaf2,_0xc8911c){const _0x1fbfbb=_0x1fbf();return _0x1d26=function(_0x1d26eb,_0x136e52){_0x1d26eb=_0x1d26eb-0xf5;let _0x34a384=_0x1fbfbb[_0x1d26eb];return _0x34a384;},_0x1d26(_0x56eaf2,_0xc8911c);}function _0x1fbf(){const _0x43c718=['3573608ZSpVOG','remove','PendingActions','9275690AKNQlP','PENDING_ACTION_SUGGESTION','destroy','getRanges','commands','2480108CQdRoR','_setPendingAction','_discardCommand','isDirty','discardSuggestion','canAccept','locale','plugins','16712ocdZJo','_editor','_pendingAction','bind','canDiscard','_acceptCommand','commentThreadController','isEnabled','4069835XBpCRM','listenTo','20WCvkBS','9mQGjwl','add','1475870xxoQjN','stopListening','change:isDirty','1476795TfYtVJ','6dgSpdg','canEditAt','view','unbind','execute','acceptSuggestion','get','_removePendingAction','model'];_0x1fbf=function(){return _0x43c718;};return _0x1fbf();}import{getTranslation as _0x417214}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x23f3ec(){[_0x1ab0dc(0x10f)];[_0x1ab0dc(0x109)];[_0x1ab0dc(0xfc)];[_0x1ab0dc(0xf7)];[_0x1ab0dc(0xfb)];[_0x1ab0dc(0x11a)];[_0x1ab0dc(0xf8)];constructor(_0x47bf35,_0x2918af,_0x2fede8,_0x4c9b20){const _0x4e6d6e=_0x1ab0dc;super(),this[_0x4e6d6e(0x10f)]=_0x2918af,this[_0x4e6d6e(0x109)]=_0x2fede8,this[_0x4e6d6e(0xfc)]=_0x4c9b20,this[_0x4e6d6e(0xf7)]=_0x47bf35,this[_0x4e6d6e(0xfb)]=_0x47bf35[_0x4e6d6e(0x117)][_0x4e6d6e(0x10d)](_0x4e6d6e(0x10c)),this[_0x4e6d6e(0x11a)]=_0x47bf35[_0x4e6d6e(0x117)][_0x4e6d6e(0x10d)](_0x4e6d6e(0x11c)),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0xfd))['to'](this[_0x4e6d6e(0xfb)],this[_0x4e6d6e(0x11a)],(_0x68d5da,_0x1fdb4c)=>_0x68d5da||_0x1fdb4c),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0x11d))['to'](this[_0x4e6d6e(0xfb)],_0x4e6d6e(0xfd),_0x13361e=>_0x13361e&&this[_0x4e6d6e(0xf7)][_0x4e6d6e(0x10f)][_0x4e6d6e(0x108)](_0x2918af[_0x4e6d6e(0x116)]())),this[_0x4e6d6e(0x109)][_0x4e6d6e(0xf9)](_0x4e6d6e(0xfa))['to'](this[_0x4e6d6e(0x11a)],_0x4e6d6e(0xfd),_0x562e6c=>_0x562e6c&&this[_0x4e6d6e(0xf7)][_0x4e6d6e(0x10f)][_0x4e6d6e(0x108)](_0x2918af[_0x4e6d6e(0x116)]())),this[_0x4e6d6e(0xf8)]=null,_0x2fede8[_0x4e6d6e(0x11b)]&&this[_0x4e6d6e(0x119)](),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x10c),()=>this[_0x4e6d6e(0x10c)]()),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x11c),()=>this[_0x4e6d6e(0x11c)]()),this[_0x4e6d6e(0xff)](_0x2fede8,_0x4e6d6e(0x105),()=>{const _0x3fbdf8=_0x4e6d6e;_0x2fede8[_0x3fbdf8(0x11b)]?this[_0x3fbdf8(0x119)]():this[_0x3fbdf8(0x10e)]();});}[_0x1ab0dc(0x10c)](){const _0x52a9c9=_0x1ab0dc;this[_0x52a9c9(0xfb)][_0x52a9c9(0x10b)](this[_0x52a9c9(0x10f)]['id']);}[_0x1ab0dc(0x11c)](){const _0x5824af=_0x1ab0dc;this[_0x5824af(0x11a)][_0x5824af(0x10b)](this[_0x5824af(0x10f)]['id']);}[_0x1ab0dc(0x115)](){const _0x482b6b=_0x1ab0dc;this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0xfd)),this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0x11d)),this[_0x482b6b(0x109)][_0x482b6b(0x10a)](_0x482b6b(0xfa)),this[_0x482b6b(0x104)](),this[_0x482b6b(0xfc)][_0x482b6b(0x115)](),this[_0x482b6b(0xf8)]&&this[_0x482b6b(0x10e)]();}[_0x1ab0dc(0x119)](){const _0x50f16a=_0x1ab0dc,_0x19a0ec=_0x417214(this[_0x50f16a(0xf7)][_0x50f16a(0x11e)],_0x50f16a(0x114));this[_0x50f16a(0xf8)]=this[_0x50f16a(0xf7)][_0x50f16a(0xf5)][_0x50f16a(0x10d)](_0x50f16a(0x112))[_0x50f16a(0x102)](_0x19a0ec);}[_0x1ab0dc(0x10e)](){const _0x34a558=_0x1ab0dc;null!==this[_0x34a558(0xf8)]&&this[_0x34a558(0xf7)][_0x34a558(0xf5)][_0x34a558(0x10d)](_0x34a558(0x112))[_0x34a558(0x111)](this[_0x34a558(0xf8)]),this[_0x34a558(0xf8)]=null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4239ae=_0x22db;(function(_0x5ab44b,_0x3baaf7){const _0x4d4cc1=_0x22db,_0xf6045c=_0x5ab44b();while(!![]){try{const _0x5f17c9=parseInt(_0x4d4cc1(0xe9))/0x1+parseInt(_0x4d4cc1(0xcf))/0x2+parseInt(_0x4d4cc1(0x105))/0x3+-parseInt(_0x4d4cc1(0xd3))/0x4+-parseInt(_0x4d4cc1(0x104))/0x5+-parseInt(_0x4d4cc1(0xc9))/0x6*(-parseInt(_0x4d4cc1(0xfe))/0x7)+-parseInt(_0x4d4cc1(0xf4))/0x8;if(_0x5f17c9===_0x3baaf7)break;else _0xf6045c['push'](_0xf6045c['shift']());}catch(_0x539f85){_0xf6045c['push'](_0xf6045c['shift']());}}}(_0x1794,0xadcae));function _0x22db(_0x236cf7,_0x5785be){const _0x17946d=_0x1794();return _0x22db=function(_0x22db59,_0xbbc5d0){_0x22db59=_0x22db59-0xbf;let _0x21b7a1=_0x17946d[_0x22db59];return _0x21b7a1;},_0x22db(_0x236cf7,_0x5785be);}import{FocusCycler as _0x416f14,View as _0x20ea94,ViewCollection as _0x40c500}from'ckeditor5/src/ui.js';import{FocusTracker as _0xbc10d2,KeystrokeHandler as _0x57a975}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x7a287d,setupThreadKeyboardNavigation as _0x239c23}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x3c709e}from'../../utils/common-translations.js';function _0x1794(){const _0x440840=['cancel','_model','SUGGESTION_THREAD_ARIA_LABEL','focusables','focusCycler','11641mTNLio','body','commentsListView','commentThread','isActive','destroy','4789675WbWTNg','4231434hUMDiE','assign','name','editorConfig','focusTracker','ariaDescriptionView','editor','setData','ariaLabel','authoredAt','isDirty','3900TNnWnB','target','author','CommentView','canDiscard','addComment','887350ojhXOi','disableComments','descriptionParts','updateComment','1331560VvtoRM','text/html','removeComment','_config','delegate','tab','focus','length','value','hasDirtyComment','locale','fire','canAccept','isEnabled','parseFromString','join','commentThreadInputView','set','keystrokes','bind','shift+tab','_localUser','866741fxnZXV','_createCommentViews','_createCommentThreadInputView','formatDateTime','textContent','submit','disabledSubmit','content','map','render','element','14393320TUKdEN','SUGGESTION_THREAD_DESCRIPTION','showInput','isReadOnly','commentInputView'];_0x1794=function(){return _0x440840;};return _0x1794();}import{renderDescription as _0x5561aa}from'../../utils/utils.js';export class BaseSuggestionThreadView extends _0x20ea94{[_0x4239ae(0x100)];[_0x4239ae(0xe3)];[_0x4239ae(0xc3)];[_0x4239ae(0xfc)];[_0x4239ae(0xc2)];[_0x4239ae(0xe5)];[_0x4239ae(0xfd)];[_0x4239ae(0xfa)];[_0x4239ae(0xe8)];[_0x4239ae(0xd6)];constructor(_0x33271f,_0xa7c0ad,_0x4f75f8,_0x3b8935){const _0x23b754=_0x4239ae;super(_0x33271f),this[_0x23b754(0x100)]=null,this[_0x23b754(0xe3)]=null,this[_0x23b754(0xc3)]=new _0x7a287d(_0x33271f,_0x3c709e(_0x33271f,_0x23b754(0xf5))),this[_0x23b754(0xe4)](_0x23b754(0x102),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xc7),_0xa7c0ad[_0x23b754(0xc7)]),this[_0x23b754(0xe6)](_0x23b754(0xc7))['to'](_0xa7c0ad),this[_0x23b754(0xe4)](_0x23b754(0xd1),[]),this[_0x23b754(0xe4)](_0x23b754(0xc8),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xe0),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xdf),!0x1),this[_0x23b754(0xe4)](_0x23b754(0xcd),!0x1),this[_0x23b754(0xe6)](_0x23b754(0xc6))['to'](this,_0x23b754(0xda),_0xa7c0ad,_0x23b754(0xc7),this,_0x23b754(0xd1),(_0x9bd5d5,_0x5237cb,_0x52b769)=>{const _0x5723f6=_0x23b754,_0x31422f=_0x52b769[_0x5723f6(0xf1)](_0xb799ac=>_0x5561aa(_0xb799ac[_0x5723f6(0xf0)]))[_0x5723f6(0xe2)]('.\x20')+'.';return _0x3c709e(this[_0x5723f6(0xdd)],_0x5723f6(0xfb),[_0x9bd5d5-0x1,_0xa7c0ad[_0x5723f6(0xcb)][_0x5723f6(0xc0)],_0x5237cb?_0x3b8935[_0x5723f6(0xec)](_0x5237cb):'',new DOMParser()[_0x5723f6(0xe1)](_0x31422f,_0x5723f6(0xd4))[_0x5723f6(0xff)][_0x5723f6(0xed)]]);}),this[_0x23b754(0xfc)]=new _0x40c500(),this[_0x23b754(0xc2)]=new _0xbc10d2(),this[_0x23b754(0xe5)]=new _0x57a975(),this[_0x23b754(0xfd)]=new _0x416f14({'focusables':this[_0x23b754(0xfc)],'focusTracker':this[_0x23b754(0xc2)],'keystrokeHandler':this[_0x23b754(0xe5)],'keystrokeHandlerOptions':{'filter':_0x427c93=>_0x427c93[_0x23b754(0xca)]!==this[_0x23b754(0xf3)]},'actions':{'focusPrevious':_0x23b754(0xe7),'focusNext':_0x23b754(0xd8)}}),this[_0x23b754(0xfa)]=_0xa7c0ad,this[_0x23b754(0xe8)]=_0x4f75f8,this[_0x23b754(0xd6)]=_0x3b8935,_0x3b8935[_0x23b754(0xd0)]?this[_0x23b754(0xe4)](_0x23b754(0xda),0x1):this[_0x23b754(0xea)]();}[_0x4239ae(0xf2)](){const _0x4cf753=_0x4239ae;super[_0x4cf753(0xf2)](),_0x239c23(this,this[_0x4cf753(0xfc)]);}[_0x4239ae(0xd9)](){const _0x12a035=_0x4239ae;this[_0x12a035(0xf3)][_0x12a035(0xd9)]();}[_0x4239ae(0x103)](){const _0x179bdd=_0x4239ae;this[_0x179bdd(0x100)]&&this[_0x179bdd(0x100)][_0x179bdd(0x103)](),this[_0x179bdd(0xe3)]&&this[_0x179bdd(0xe3)][_0x179bdd(0x103)](),super[_0x179bdd(0x103)]();}[_0x4239ae(0xea)](){const _0x228a32=_0x4239ae,{CommentsListView:_0xfe586}=this[_0x228a32(0xd6)];this[_0x228a32(0x100)]=new _0xfe586(this[_0x228a32(0xdd)],this[_0x228a32(0xfa)][_0x228a32(0x101)],Object[_0x228a32(0xbf)]({'CommentView':this[_0x228a32(0xd6)][_0x228a32(0xcc)]},this[_0x228a32(0xd6)])),this[_0x228a32(0x100)][_0x228a32(0xd7)](_0x228a32(0xd5))['to'](this),this[_0x228a32(0x100)][_0x228a32(0xd7)](_0x228a32(0xd2))['to'](this),this[_0x228a32(0x100)][_0x228a32(0xe6)](_0x228a32(0x102))['to'](this),this[_0x228a32(0xe4)](_0x228a32(0xda),this[_0x228a32(0x100)][_0x228a32(0xda)]+0x1),this[_0x228a32(0xe6)](_0x228a32(0xda))['to'](this[_0x228a32(0x100)],_0x228a32(0xda),_0x1981d5=>_0x1981d5+0x1),this[_0x228a32(0xe3)]=this[_0x228a32(0xeb)](),this['on'](_0x228a32(0xd5),()=>this[_0x228a32(0xd9)]()),this[_0x228a32(0xe6)](_0x228a32(0xc8))['to'](this[_0x228a32(0x100)],_0x228a32(0xdc),this[_0x228a32(0xe3)][_0x228a32(0xf8)],_0x228a32(0xdb),(_0x46235a,_0x4b8de9)=>_0x46235a||!!_0x4b8de9);}[_0x4239ae(0xeb)](){const _0x12108f=_0x4239ae,{CommentThreadInputView:_0x5471e0}=this[_0x12108f(0xd6)],_0x14cb3b=new _0x5471e0(this[_0x12108f(0xdd)],this[_0x12108f(0xe8)],this[_0x12108f(0xd6)][_0x12108f(0xc1)]),_0x2da7e8=_0x14cb3b[_0x12108f(0xf8)];return _0x14cb3b[_0x12108f(0xe6)](_0x12108f(0xf6))['to'](this,_0x12108f(0x102),this[_0x12108f(0xfa)][_0x12108f(0x101)],_0x12108f(0xf7),_0x2da7e8,_0x12108f(0xdb),(_0x39bac5,_0x31a3a2,_0x1f7b09)=>!!_0x1f7b09||_0x39bac5&&!_0x31a3a2),_0x2da7e8['on'](_0x12108f(0xee),(_0x9c2d8b,_0x46ef40)=>{const _0x4d998e=_0x12108f;this[_0x4d998e(0xde)](_0x4d998e(0xce),_0x46ef40),_0x2da7e8[_0x4d998e(0xc4)][_0x4d998e(0xc5)]('');}),_0x2da7e8['on'](_0x12108f(0xf9),()=>this[_0x12108f(0xd9)]()),_0x2da7e8[_0x12108f(0xe6)](_0x12108f(0xef))['to'](this[_0x12108f(0xfa)][_0x12108f(0x101)],_0x12108f(0xf7)),_0x14cb3b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41de14=_0x1975;(function(_0x39c19d,_0x4e395e){const _0x2ed117=_0x1975,_0x10cfa6=_0x39c19d();while(!![]){try{const _0x379dbc=-parseInt(_0x2ed117(0x20f))/0x1*(-parseInt(_0x2ed117(0x1f8))/0x2)+parseInt(_0x2ed117(0x1f1))/0x3*(parseInt(_0x2ed117(0x203))/0x4)+-parseInt(_0x2ed117(0x21d))/0x5*(-parseInt(_0x2ed117(0x208))/0x6)+parseInt(_0x2ed117(0x221))/0x7+-parseInt(_0x2ed117(0x20d))/0x8*(-parseInt(_0x2ed117(0x216))/0x9)+-parseInt(_0x2ed117(0x20e))/0xa+parseInt(_0x2ed117(0x215))/0xb*(-parseInt(_0x2ed117(0x1f4))/0xc);if(_0x379dbc===_0x4e395e)break;else _0x10cfa6['push'](_0x10cfa6['shift']());}catch(_0x5e542b){_0x10cfa6['push'](_0x10cfa6['shift']());}}}(_0x5a17,0xae59a));import{BaseSuggestionThreadView as _0x3aa39c}from'./basesuggestionthreadview.js';function _0x1975(_0x544db4,_0x48cccb){const _0x5a178e=_0x5a17();return _0x1975=function(_0x1975e7,_0x194f25){_0x1975e7=_0x1975e7-0x1f0;let _0x567c73=_0x5a178e[_0x1975e7];return _0x567c73;},_0x1975(_0x544db4,_0x48cccb);}import{trimHtml as _0x18ff4f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5a17(){const _0xcbbd51=['push','6DLInOg','commentThread','color','editorDestroyed','ariaDescriptionView','1592WZSNJG','10803310rcKBbO','2FAXEvP','disableComments','author','commentsListView','focusables','type','1947JmFcKK','42039qPYvAQ','setTemplate','ck-suggestion-wrapper','description','formatDateTime','add','_config','6807805VigXxA','isActive','_model','set','9833467RutobZ','ck-suggestion--disabled-comments','getTemplate','</p>','ck-suggestion-','div','descriptionParts','canAccept','ck-rounded-corners','discardButton','bind','42753DQFFNC','<p>','isEnabled','145956lodHZo','content','commentThreadInputView','bindTemplate','151692PlFugD','_descriptionElement','acceptButton','canDiscard','listitem','delegate','ariaLabel','discardSuggestion','suggestionView','acceptSuggestion','editorReady','28iPCPJh','SuggestionView','ck-suggestion-wrapper--active','render'];_0x5a17=function(){return _0xcbbd51;};return _0x5a17();}import{renderDescription as _0x1a2d69}from'../../utils/utils.js';export class SuggestionThreadView extends _0x3aa39c{[_0x41de14(0x200)];[_0x41de14(0x1f9)];constructor(_0x3ce3ef,_0x961de7,_0x47efab,_0x32c0b5){const _0x1f9726=_0x41de14;super(_0x3ce3ef,_0x961de7,_0x47efab,_0x32c0b5),this[_0x1f9726(0x220)](_0x1f9726(0x214),''),this[_0x1f9726(0x1f0)](_0x1f9726(0x214))['to'](this,_0x1f9726(0x227),_0x1381b9=>_0x1381b9&&_0x1381b9[0x0]?_0x1381b9[0x0][_0x1f9726(0x214)]:''),this[_0x1f9726(0x1f0)](_0x1f9726(0x219))['to'](this,_0x1f9726(0x227),this,_0x1f9726(0x21e),(_0x2f5ae6,_0x49a1a1)=>{const _0x1d3f2e=_0x1f9726;let _0x45f20b='';for(const _0x534a8e of _0x2f5ae6)_0x45f20b+=_0x1d3f2e(0x1f2)+_0x1a2d69(_0x534a8e[_0x1d3f2e(0x1f5)],_0x534a8e[_0x1d3f2e(0x20a)])+_0x1d3f2e(0x224);return _0x49a1a1?_0x45f20b:_0x18ff4f(_0x45f20b,{'limit':0x8c});}),this[_0x1f9726(0x1f9)]=null,this[_0x1f9726(0x200)]=new _0x32c0b5[(_0x1f9726(0x204))](_0x3ce3ef,_0x961de7,{'formatDateTime':_0x32c0b5[_0x1f9726(0x21a)]}),this[_0x1f9726(0x200)][_0x1f9726(0x1f0)](_0x1f9726(0x219))['to'](this),this[_0x1f9726(0x200)][_0x1f9726(0x1fd)](_0x1f9726(0x201),_0x1f9726(0x1ff))['to'](this),this[_0x1f9726(0x200)][_0x1f9726(0x1fa)][_0x1f9726(0x1f0)](_0x1f9726(0x1f3))['to'](this,_0x1f9726(0x228)),this[_0x1f9726(0x200)][_0x1f9726(0x22a)][_0x1f9726(0x1f0)](_0x1f9726(0x1f3))['to'](this,_0x1f9726(0x1fb)),this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x200)]),this[_0x1f9726(0x212)]&&this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x212)]),this[_0x1f9726(0x1f6)]&&this[_0x1f9726(0x213)][_0x1f9726(0x21b)](this[_0x1f9726(0x1f6)]),this[_0x1f9726(0x217)](this[_0x1f9726(0x223)]());}[_0x41de14(0x223)](){const _0x15b59a=_0x41de14,_0x5a7495=this[_0x15b59a(0x1f7)],_0x35c03e=[this[_0x15b59a(0x200)]];return this[_0x15b59a(0x212)]&&_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x212)]),this[_0x15b59a(0x1f6)]&&_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x1f6)]),_0x35c03e[_0x15b59a(0x207)](this[_0x15b59a(0x20c)]),{'tag':_0x15b59a(0x226),'attributes':{'class':['ck',_0x15b59a(0x229),_0x15b59a(0x218),_0x5a7495['if'](_0x15b59a(0x21e),_0x15b59a(0x205)),_0x5a7495['to'](_0x15b59a(0x214),_0xadfc3a=>_0x15b59a(0x225)+_0xadfc3a),this[_0x15b59a(0x21c)][_0x15b59a(0x210)]&&_0x15b59a(0x222)],'data-suggestion-id':this[_0x15b59a(0x21f)]['id'],'data-thread-id':this[_0x15b59a(0x21f)][_0x15b59a(0x209)]['id'],'data-author-id':this[_0x15b59a(0x21f)][_0x15b59a(0x211)]['id'],'tabindex':0x0,'role':_0x15b59a(0x1fc),'aria-label':_0x5a7495['to'](_0x15b59a(0x1fe)),'aria-describedby':this[_0x15b59a(0x20c)]['id']},'children':_0x35c03e};}[_0x41de14(0x206)](){const _0x3d8a19=_0x41de14;super[_0x3d8a19(0x206)](),this[_0x3d8a19(0x212)]&&(this[_0x3d8a19(0x212)][_0x3d8a19(0x1fd)](_0x3d8a19(0x202))['to'](this),this[_0x3d8a19(0x212)][_0x3d8a19(0x1fd)](_0x3d8a19(0x20b))['to'](this)),this[_0x3d8a19(0x1f6)]&&(this[_0x3d8a19(0x1f6)][_0x3d8a19(0x1fd)](_0x3d8a19(0x202))['to'](this),this[_0x3d8a19(0x1f6)][_0x3d8a19(0x1fd)](_0x3d8a19(0x20b))['to'](this));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x468227=_0x58bd;(function(_0x3a7ac8,_0x47dc0b){const _0x594c34=_0x58bd,_0x221f0d=_0x3a7ac8();while(!![]){try{const _0x1799f6=-parseInt(_0x594c34(0xb8))/0x1*(-parseInt(_0x594c34(0xc4))/0x2)+parseInt(_0x594c34(0x107))/0x3+-parseInt(_0x594c34(0xbb))/0x4*(parseInt(_0x594c34(0xfa))/0x5)+parseInt(_0x594c34(0xec))/0x6+parseInt(_0x594c34(0xf2))/0x7*(-parseInt(_0x594c34(0xc6))/0x8)+-parseInt(_0x594c34(0xe9))/0x9+parseInt(_0x594c34(0xcc))/0xa;if(_0x1799f6===_0x47dc0b)break;else _0x221f0d['push'](_0x221f0d['shift']());}catch(_0x4a9735){_0x221f0d['push'](_0x221f0d['shift']());}}}(_0x4730,0x9eec1));import{FocusTracker as _0x88282c,KeystrokeHandler as _0x5cfd7c}from'ckeditor5/src/utils.js';import{View as _0x2df446,ViewCollection as _0x350a50,FocusCycler as _0x48bf1f}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x5b8014,UserView as _0xfcd549}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x414913,IconCheck as _0x3b7162}from'ckeditor5/src/icons.js';function _0x58bd(_0x4bd6c0,_0xc5b32){const _0x473052=_0x4730();return _0x58bd=function(_0x58bd1f,_0x4e4233){_0x58bd1f=_0x58bd1f-0xb1;let _0x55041b=_0x473052[_0x58bd1f];return _0x55041b;},_0x58bd(_0x4bd6c0,_0xc5b32);}function _0x4730(){const _0x12abe0=['attributes','Discard\x20suggestion','element','ck-suggestion__info-name','bindTemplate','innerHTML','EXTERNAL_IMPORT_WORD_SUGGESTION','23505QOjfmx','.ck-annotation__content-wrapper','bind','ck-annotation__info-name','ck-annotation__user','locale','isExternal','setTemplate','discardButton','span','description','ck-annotation__info-time','focusFirst','338301OUIGNg','Accept\x20suggestion','target','_setupKeyboardNavigation','focusables','EXTERNAL_AVATAR','EXTERNAL_IMPORT_WORD_AVATAR','esc','ck-comment__external','author','1712mfUHEY','discardSuggestion','querySelector','324UvKriK','focusTracker','_createButton','ck-suggestion','time','div','getUserViewNotificationText','ck-annotation__content-wrapper','focusCycler','258GHoKfK','authoredAt','1544aIERcV','shift+tab','render','execute','ck-comment__info-time','acceptSuggestion','12982090yJATve','enter','userView','push','listenTo','name','ck-annotation','getExternalSuggestionNote','source','ck-suggestion__actions','presentation','focus','ck-annotation__actions','ck-annotation__main','extendTemplate','EXTERNAL_SUGGESTION','creator','ck-suggestion--discard','@external','ck-suggestion__user','set','tab','_config','formatDateTime','_model','acceptButton','change:description','add','ck-suggestion__main','7626267WVBnIS','getTemplate','keystrokes','4404066zbjrvX','ck-annotation__info','ck-suggestion--accept','importWord','ck-suggestion__info','fire','17654wWBnLf'];_0x4730=function(){return _0x12abe0;};return _0x4730();}import{getTranslation as _0x4937de}from'../../utils/common-translations.js';export class SuggestionView extends _0x2df446{[_0x468227(0xce)];[_0x468227(0xe5)];[_0x468227(0x102)];[_0x468227(0xb2)];[_0x468227(0xbc)];[_0x468227(0xeb)];[_0x468227(0xc3)];[_0x468227(0xe4)];[_0x468227(0xe2)];constructor(_0x21db98,_0x12d1c0,_0x1e5a07){const _0x434bf8=_0x468227;super(_0x21db98),this[_0x434bf8(0xe4)]=_0x12d1c0,this[_0x434bf8(0xe2)]=_0x1e5a07,this[_0x434bf8(0xe0)](_0x434bf8(0x104),''),this[_0x434bf8(0xfc)](_0x434bf8(0xc5))['to'](_0x12d1c0),this[_0x434bf8(0xe5)]=this[_0x434bf8(0xbd)](_0x4937de(_0x21db98,_0x434bf8(0x108)),_0x3b7162,_0x434bf8(0xee),_0x434bf8(0xcb),'sw'),this[_0x434bf8(0x102)]=this[_0x434bf8(0xbd)](_0x4937de(_0x21db98,_0x434bf8(0xf4)),_0x414913,_0x434bf8(0xdd),_0x434bf8(0xb9),'sw'),this[_0x434bf8(0xce)]=new _0xfcd549(_0x21db98,_0x12d1c0[_0x434bf8(0xb7)],this[_0x434bf8(0xc1)]()),this[_0x434bf8(0xce)][_0x434bf8(0xda)]({'attributes':{'class':[_0x434bf8(0xdf),_0x434bf8(0xfe)],'aria-hidden':!0x0}}),this[_0x434bf8(0xb2)]=new _0x350a50([this[_0x434bf8(0xe5)],this[_0x434bf8(0x102)]]),this[_0x434bf8(0xbc)]=new _0x88282c(),this[_0x434bf8(0xeb)]=new _0x5cfd7c(),this[_0x434bf8(0xc3)]=new _0x48bf1f({'focusables':this[_0x434bf8(0xb2)],'focusTracker':this[_0x434bf8(0xbc)],'keystrokeHandler':this[_0x434bf8(0xeb)],'actions':{'focusPrevious':_0x434bf8(0xc7),'focusNext':_0x434bf8(0xe1)},'keystrokeHandlerOptions':{'filter':_0x116861=>_0x116861[_0x434bf8(0x109)]!==this[_0x434bf8(0xf5)]}}),this[_0x434bf8(0x101)](this[_0x434bf8(0xea)]());}[_0x468227(0xc8)](){const _0x58b83a=_0x468227;super[_0x58b83a(0xc8)]();const _0x143b1c=this[_0x58b83a(0xf5)][_0x58b83a(0xba)](_0x58b83a(0xfb));_0x143b1c[_0x58b83a(0xf8)]=this[_0x58b83a(0x104)],this['on'](_0x58b83a(0xe6),(_0x139a36,_0x46640f,_0x136adb)=>{const _0x3bd9ab=_0x58b83a;_0x143b1c[_0x3bd9ab(0xf8)]=_0x136adb;}),this[_0x58b83a(0xb1)]();}[_0x468227(0xea)](){const _0x536482=_0x468227,_0x6c1f67=this[_0x536482(0xf7)],_0x5b53f8=[{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xf0),_0x536482(0xed)]},'children':[{'tag':_0x536482(0x103),'children':[{'text':this[_0x536482(0xce)][_0x536482(0xd1)]}],'attributes':{'class':[_0x536482(0xf6),_0x536482(0xfd)],'data-cke-tooltip-text':this[_0x536482(0xce)][_0x536482(0xd1)]}},{'tag':_0x536482(0xbf),'attributes':{'datetime':_0x6c1f67['to'](_0x536482(0xc5)),'class':[_0x536482(0xca),_0x536482(0x105)]},'children':[{'text':_0x6c1f67['to'](_0x536482(0xc5),_0x57743=>this[_0x536482(0xe2)][_0x536482(0xe3)](_0x57743))}]}]},{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xd5),_0x536482(0xd8)]},'children':[this[_0x536482(0xe5)],this[_0x536482(0x102)]]},{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xc2)]}}];return this[_0x536482(0xe4)][_0x536482(0x100)]&&_0x5b53f8[_0x536482(0xcf)]({'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xb6)]},'children':[{'text':this[_0x536482(0xd3)]()}]}),{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xbe),_0x536482(0xd2)],'tabindex':-0x1},'children':[this[_0x536482(0xce)],{'tag':_0x536482(0xc0),'attributes':{'class':[_0x536482(0xe8),_0x536482(0xd9)],'role':_0x536482(0xd6)},'children':_0x5b53f8}]};}[_0x468227(0xd7)](){const _0x3d9bfa=_0x468227;this[_0x3d9bfa(0xf5)][_0x3d9bfa(0xd7)]();}[_0x468227(0xc1)](){const _0x3c4598=_0x468227;return this[_0x3c4598(0xe4)][_0x3c4598(0x100)]?_0x3c4598(0xef)===this[_0x3c4598(0xe4)][_0x3c4598(0xf3)][_0x3c4598(0xde)][_0x3c4598(0xd4)]?_0x4937de(this[_0x3c4598(0xff)],_0x3c4598(0xb4),this[_0x3c4598(0xe4)][_0x3c4598(0xdc)][_0x3c4598(0xd1)]):_0x4937de(this[_0x3c4598(0xff)],_0x3c4598(0xb3),this[_0x3c4598(0xe4)][_0x3c4598(0xdc)][_0x3c4598(0xd1)]):null;}[_0x468227(0xd3)](){const _0x250af4=_0x468227;return _0x250af4(0xef)===this[_0x250af4(0xe4)][_0x250af4(0xf3)][_0x250af4(0xde)][_0x250af4(0xd4)]?_0x4937de(this[_0x250af4(0xff)],_0x250af4(0xf9)):_0x4937de(this[_0x250af4(0xff)],_0x250af4(0xdb));}[_0x468227(0xbd)](_0x32e53c,_0x4bad2c,_0xae4db4,_0x2f39bd,_0x549d28){const _0x3b6bf7=_0x468227,_0x27236d=new _0x5b8014(this[_0x3b6bf7(0xff)]);return _0x27236d[_0x3b6bf7(0xe0)]({'label':_0x32e53c,'icon':_0x4bad2c,'tooltip':!0x0,'tooltipPosition':_0x549d28}),_0x27236d[_0x3b6bf7(0xda)]({'attributes':{'class':_0xae4db4}}),_0x27236d['on'](_0x3b6bf7(0xc9),()=>{const _0x44bd43=_0x3b6bf7;this[_0x44bd43(0xf1)](_0x2f39bd,this[_0x44bd43(0xe4)]['id']);}),_0x27236d;}[_0x468227(0xb1)](){const _0x3120f7=_0x468227,_0x3c1f9a=this[_0x3120f7(0xf5)];this[_0x3120f7(0xeb)][_0x3120f7(0xd0)](_0x3c1f9a);for(const _0x40cc51 of this[_0x3120f7(0xb2)])this[_0x3120f7(0xbc)][_0x3120f7(0xe7)](_0x40cc51[_0x3120f7(0xf5)]),this[_0x3120f7(0xeb)][_0x3120f7(0xd0)](_0x40cc51[_0x3120f7(0xf5)]);this[_0x3120f7(0xeb)][_0x3120f7(0xe0)](_0x3120f7(0xcd),(_0x26029a,_0xca4db5)=>{const _0x230ccb=_0x3120f7;_0x3c1f9a===_0x26029a[_0x230ccb(0x109)]&&(this[_0x230ccb(0xc3)][_0x230ccb(0x106)](),_0xca4db5());}),this[_0x3120f7(0xeb)][_0x3120f7(0xe0)](_0x3120f7(0xb5),(_0x4fe82e,_0x4e5ada)=>{const _0x2ea49d=_0x3120f7;_0x3c1f9a!==_0x4fe82e[_0x2ea49d(0x109)]&&(this[_0x2ea49d(0xd7)](),_0x4e5ada());});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca38a=_0x42ad;(function(_0x4db642,_0x447a14){const _0x556ea8=_0x42ad,_0x5cd827=_0x4db642();while(!![]){try{const _0x2153da=-parseInt(_0x556ea8(0x202))/0x1*(parseInt(_0x556ea8(0x1fa))/0x2)+-parseInt(_0x556ea8(0x1f6))/0x3*(parseInt(_0x556ea8(0x209))/0x4)+-parseInt(_0x556ea8(0x204))/0x5+parseInt(_0x556ea8(0x1ec))/0x6+parseInt(_0x556ea8(0x1fd))/0x7+parseInt(_0x556ea8(0x201))/0x8*(-parseInt(_0x556ea8(0x1ee))/0x9)+parseInt(_0x556ea8(0x206))/0xa;if(_0x2153da===_0x447a14)break;else _0x5cd827['push'](_0x5cd827['shift']());}catch(_0x9abbd8){_0x5cd827['push'](_0x5cd827['shift']());}}}(_0x1f43,0x3533d));function _0x42ad(_0x3735ee,_0x49f69f){const _0x1f4307=_0x1f43();return _0x42ad=function(_0x42ad40,_0x5651af){_0x42ad40=_0x42ad40-0x1ec;let _0x2995a2=_0x1f4307[_0x42ad40];return _0x2995a2;},_0x42ad(_0x3735ee,_0x49f69f);}function _0x1f43(){const _0x447bf6=['ck-reset','1296BBPASO','options','dialogRects','1318499Nnyyrs','setPreviewData','div','className','502344MigZiH','56dQbiuB','ck-track-changes-preview','1388010rPXajw','style','6000520ZJgygH','data-ck-root-name','setTemplate','20ZoBDIE','createElement','width','push','focus','1920360PMFOsq','previewDataReady','36ymYWwx','element','\x20ck-track-changes-preview__root-container','height','render','fire','innerHTML','content','195294LiSNmf','setAttribute','classes'];_0x1f43=function(){return _0x447bf6;};return _0x1f43();}import{View as _0x483b5c}from'ckeditor5/src/ui.js';export class TrackChangesPreviewView extends _0x483b5c{[_0x3ca38a(0x1fb)];constructor(_0x53bf85,_0x163e08){const _0xc4b81=_0x3ca38a;super(_0x53bf85),this[_0xc4b81(0x1fb)]=_0x163e08,this[_0xc4b81(0x208)]({'tag':_0xc4b81(0x1ff),'attributes':{'class':['ck',_0xc4b81(0x1f9),_0xc4b81(0x203)],'tabindex':-0x1}});}[_0x3ca38a(0x1f2)](){const _0x387f2e=_0x3ca38a;super[_0x387f2e(0x1f2)](),this[_0x387f2e(0x1ef)][_0x387f2e(0x205)][_0x387f2e(0x20b)]=this[_0x387f2e(0x1fb)][_0x387f2e(0x1fc)][_0x387f2e(0x20b)]+'px',this[_0x387f2e(0x1ef)][_0x387f2e(0x205)][_0x387f2e(0x1f1)]=this[_0x387f2e(0x1fb)][_0x387f2e(0x1fc)][_0x387f2e(0x1f1)]+'px';}[_0x3ca38a(0x1fe)](_0x4943be,_0x31e7de){const _0x55b3c6=_0x3ca38a;if(!this[_0x55b3c6(0x1ef)])return;const _0x5a824f=[];for(const [_0x39ddaf,_0xde41aa]of _0x4943be){const _0x49b247=document[_0x55b3c6(0x20a)](_0x55b3c6(0x1ff));_0x49b247[_0x55b3c6(0x1f7)](_0x55b3c6(0x207),_0x39ddaf),_0x49b247[_0x55b3c6(0x200)]=_0xde41aa[_0x55b3c6(0x1f8)]+_0x55b3c6(0x1f0),_0x49b247[_0x55b3c6(0x1f4)]=_0xde41aa[_0x55b3c6(0x1f5)],_0x5a824f[_0x55b3c6(0x20c)](_0x49b247);}_0x31e7de(this[_0x55b3c6(0x1ef)],_0x5a824f),this[_0x55b3c6(0x1ef)][_0x55b3c6(0x205)][_0x55b3c6(0x1f1)]='',this[_0x55b3c6(0x1f3)](_0x55b3c6(0x1ed));}[_0x3ca38a(0x20d)](){const _0x401055=_0x3ca38a;this[_0x401055(0x1ef)][_0x401055(0x20d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x350779,_0x112199,_0x4a1256){const _0x18ccb3=_0x350779['t'],t=_0x350779['t'];switch(_0x112199){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',_0x4a1256);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4a1256);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4a1256);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4a1256);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4a1256);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',_0x4a1256);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4a1256);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',_0x4a1256);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4a1256);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4a1256);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4a1256);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4a1256);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4a1256);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x4a1256);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4a1256);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4a1256);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4a1256);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4a1256);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4a1256);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4a1256);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4a1256);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4a1256);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4a1256);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4a1256);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x4a1256);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'},_0x4a1256);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x4a1256);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x4a1256);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4a1256);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4a1256);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4a1256);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4a1256);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4a1256);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4a1256);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4a1256);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4a1256);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4a1256);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'},_0x4a1256);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x4a1256);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 _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x4a1256);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x18ccb3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x4a1256);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);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'},_0x4a1256);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x112199;}}
|
|
23
|
+
export function getTranslation(_0x1b1041,_0x20139f,_0x225400){const _0xd24c8c=_0x1b1041['t'],t=_0x1b1041['t'];switch(_0x20139f){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',_0x225400);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x225400);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x225400);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x225400);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x225400);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',_0x225400);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x225400);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',_0x225400);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x225400);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x225400);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x225400);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x225400);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x225400);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x225400);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x225400);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x225400);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x225400);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x225400);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x225400);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x225400);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x225400);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x225400);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x225400);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x225400);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x225400);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'},_0x225400);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x225400);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x225400);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x225400);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x225400);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x225400);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x225400);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x225400);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'},_0x225400);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x225400);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x225400);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x225400);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x225400);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'},_0x225400);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x225400);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'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x225400);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'},_0x225400);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x225400);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x225400);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'},_0x225400);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x225400);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 _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x225400);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xd24c8c({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x225400);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x225400);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'},_0x225400);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'},_0x225400);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'},_0x225400);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x20139f;}}
|
package/src/utils/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x442c4b,_0x4800a3){const _0x463de9=_0x255d,_0x14ba57=_0x442c4b();while(!![]){try{const _0x582159=parseInt(_0x463de9(0x1d3))/0x1*(parseInt(_0x463de9(0x1c5))/0x2)+-parseInt(_0x463de9(0x1e0))/0x3*(-parseInt(_0x463de9(0x1ca))/0x4)+parseInt(_0x463de9(0x1cd))/0x5*(-parseInt(_0x463de9(0x1cf))/0x6)+parseInt(_0x463de9(0x1f2))/0x7*(-parseInt(_0x463de9(0x1e7))/0x8)+-parseInt(_0x463de9(0x1fa))/0x9+parseInt(_0x463de9(0x1cc))/0xa*(-parseInt(_0x463de9(0x1d9))/0xb)+parseInt(_0x463de9(0x1df))/0xc*(parseInt(_0x463de9(0x1e2))/0xd);if(_0x582159===_0x4800a3)break;else _0x14ba57['push'](_0x14ba57['shift']());}catch(_0x3b13f0){_0x14ba57['push'](_0x14ba57['shift']());}}}(_0xe4ff,0x25000));export function normalizeDescription(_0x543bd4){const _0x48efb5=_0x255d;return Array[_0x48efb5(0x1c9)](_0x543bd4)||(_0x543bd4=[_0x543bd4]),_0x543bd4[_0x48efb5(0x1e3)](_0x152458=>{const _0x3a2597=_0x48efb5,_0x58dc01=_0x152458[_0x3a2597(0x1d1)][_0x3a2597(0x1d6)](/\*/g,''),_0x4bd248=_0x152458[_0x3a2597(0x1e8)]?_0x3a2597(0x1d7)+_0x152458[_0x3a2597(0x1e8)][_0x3a2597(0x1f0)]+']':'';return'['+_0x152458[_0x3a2597(0x1d8)]+']\x20'+_0x58dc01+_0x4bd248;})[_0x48efb5(0x1f1)](';\x20');}export function renderDescription(_0x461a15,_0x3f2edf){const _0x279e2b=_0x255d;let _0x5c5746='';return _0x5c5746+=_0x461a15[_0x279e2b(0x1eb)]('*')[_0x279e2b(0x1e3)]((_0x5d16b3,_0x1ea2b2)=>_0x1ea2b2%0x2!=0x0?_0x279e2b(0x1e4)+tn(_0x5d16b3)+_0x279e2b(0x1c6):tn(_0x5d16b3))[_0x279e2b(0x1f1)](''),_0x3f2edf&&(_0x5c5746+=_0x279e2b(0x1cb)+_0x3f2edf[_0x279e2b(0x1f0)]+_0x279e2b(0x1f8)+_0x3f2edf[_0x279e2b(0x1f9)]+_0x279e2b(0x1db)),_0x5c5746;}function tn(_0x2d086e){const _0x18d2ac=_0x255d,_0x591d0d=document[_0x18d2ac(0x1c8)](_0x18d2ac(0x1ce));return _0x591d0d[_0x18d2ac(0x1e5)]=_0x2d086e,_0x591d0d[_0x18d2ac(0x1dd)];}function _0x255d(_0x17d1f2,_0x1ce9a7){const _0xe4ff54=_0xe4ff();return _0x255d=function(_0x255d4e,_0x23991e){_0x255d4e=_0x255d4e-0x1c2;let _0x186c36=_0xe4ff54[_0x255d4e];return _0x186c36;},_0x255d(_0x17d1f2,_0x1ce9a7);}function _0xe4ff(){const _0x3ec359=['createPositionAt','end','isInContent','value','join','40026yfRmbq','length','deletion','add','push','from','\x22\x20title=\x22','title','2678823zxZfGU','schema','next','splice','getRanges','862BUscmU','</span>','change','createElement','isArray','92436TJzRQo','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','1812940rzvLNZ','715280LPyaFO','span','12cclTOJ','createRange','content','sort','17LyMatQ','isTouching','isCollapsed','replace','\x20[color\x20','type','11AQXmBc','start','\x22></span>','createPositionAfter','innerHTML','execute','9662028sRvIZs','15YxEsUz','isObject','13IvTYxC','map','<span\x20class=\x22ck-suggestion-type\x22>','innerText','createPositionBefore','16LtBDJN','color','isMultiRange','attribute','split','isIntersecting'];_0xe4ff=function(){return _0x3ec359;};return _0xe4ff();}export function sortSuggestions(_0x5e1133){const _0x117c85=_0x255d;return _0x5e1133[_0x117c85(0x1d2)]((_0x5bb144,_0x2b31dd)=>_0x117c85(0x1ea)===_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1ea)!==_0x2b31dd[_0x117c85(0x1d8)]?-0x1:_0x117c85(0x1ea)!==_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1ea)===_0x2b31dd[_0x117c85(0x1d8)]?0x1:_0x117c85(0x1f4)==_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1f4)!=_0x2b31dd[_0x117c85(0x1d8)]?-0x1:_0x117c85(0x1f4)!=_0x5bb144[_0x117c85(0x1d8)]&&_0x117c85(0x1f4)==_0x2b31dd[_0x117c85(0x1d8)]?0x1:0x0);}export function getSelectedSuggestions(_0x4bc4f4,_0x416bc8){const _0x3acde5=_0x255d,_0x2c75a0=Array[_0x3acde5(0x1f7)](_0x4bc4f4[_0x3acde5(0x1c4)]()),_0x178c21=new Set();for(const _0x503e79 of _0x416bc8)if(_0x503e79[_0x3acde5(0x1ef)]){for(const _0x5296fc of _0x2c75a0)for(const _0x3b2bbb of _0x503e79[_0x3acde5(0x1c4)]())(_0x5296fc[_0x3acde5(0x1ec)](_0x3b2bbb)||_0x4bc4f4[_0x3acde5(0x1d5)]&&!_0x503e79[_0x3acde5(0x1e9)]&&_0x503e79[_0x3acde5(0x1c2)]&&_0x3b2bbb[_0x3acde5(0x1ee)][_0x3acde5(0x1d4)](_0x5296fc[_0x3acde5(0x1da)]))&&_0x178c21[_0x3acde5(0x1f5)](_0x503e79);}return _0x178c21;}export function getRangesOfBlockGroups(_0x10f44b,_0x311508){const _0x183fa2=_0x255d;let _0x427fc7,_0x15551c=0x0;const _0x342d26=[],_0x46efed=_0x311508[_0x183fa2(0x1fb)];for(;_0x15551c<_0x10f44b[_0x183fa2(0x1f3)];){const _0x109c85=_0x10f44b[_0x15551c],_0x24ac2e=_0x10f44b[_0x15551c+0x1];_0x427fc7||(_0x427fc7=_0x311508[_0x183fa2(0x1e6)](_0x109c85)),nn(_0x311508,_0x109c85,_0x24ac2e)||(_0x342d26[_0x183fa2(0x1f6)](_0x311508[_0x183fa2(0x1d0)](_0x427fc7,_0x46efed[_0x183fa2(0x1e1)](_0x109c85)?_0x311508[_0x183fa2(0x1dc)](_0x109c85):_0x311508[_0x183fa2(0x1ed)](_0x109c85,_0x183fa2(0x1ee)))),_0x427fc7=null),_0x15551c++;}return _0x342d26;}function nn(_0x368455,_0xeedb6a,_0xe39a34){const _0xcb1d05=_0x255d;if(!_0xe39a34)return!0x1;const _0x4e67ee=_0x368455[_0xcb1d05(0x1dc)](_0xeedb6a),_0x3f848a=_0x368455[_0xcb1d05(0x1e6)](_0xe39a34);return _0x4e67ee[_0xcb1d05(0x1d4)](_0x3f848a);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x1f99f7,_0x326dc2,_0x595d8c){const _0x3910ac=_0x255d;for(;_0x595d8c[_0x3910ac(0x1f3)];){const _0x253425=_0x595d8c[_0x3910ac(0x1c3)](0x0,0x64);_0x1f99f7[_0x3910ac(0x1c7)](()=>{const _0x246939=_0x3910ac;for(const _0x3bef5e of _0x253425)_0x3bef5e[_0x246939(0x1ef)]&&_0x326dc2[_0x246939(0x1de)](_0x3bef5e['id']);});}}
|