@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.2
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/ai.js +1 -1
- package/dist/index-editor.css +9 -1
- package/dist/index.css +9 -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/lang/contexts.json +35 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +5 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/utils/common-translations.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
- package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
- package/src/aireviewmode/aireviewmode.d.ts +37 -0
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.d.ts +5 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +3 -2
- package/src/index.js +1 -1
- package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
- package/theme/aichat/aichat-controls.css +4 -0
- package/theme/aichat/aichatfeed.css +4 -0
- package/theme/aitabs/tabs/tabbuttonview.css +1 -0
- package/src/aireviewmode/utils/common-translations.d.ts +0 -9
- package/src/aireviewmode/utils/common-translations.js +0 -23
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4132(_0x55ac83,_0x1eb6f6){var _0x3b0733=_0x3b07();return _0x4132=function(_0x413210,_0x22b9e6){_0x413210=_0x413210-0x149;var _0x3e5578=_0x3b0733[_0x413210];return _0x3e5578;},_0x4132(_0x55ac83,_0x1eb6f6);}(function(_0x25d731,_0x47685b){var _0x5c6bb6=_0x4132,_0x29e855=_0x25d731();while(!![]){try{var _0x2ab7fe=-parseInt(_0x5c6bb6(0x152))/0x1+parseInt(_0x5c6bb6(0x154))/0x2+-parseInt(_0x5c6bb6(0x153))/0x3+-parseInt(_0x5c6bb6(0x155))/0x4*(parseInt(_0x5c6bb6(0x14e))/0x5)+-parseInt(_0x5c6bb6(0x14b))/0x6+parseInt(_0x5c6bb6(0x14a))/0x7+-parseInt(_0x5c6bb6(0x150))/0x8*(-parseInt(_0x5c6bb6(0x14d))/0x9);if(_0x2ab7fe===_0x47685b)break;else _0x29e855['push'](_0x29e855['shift']());}catch(_0x58726d){_0x29e855['push'](_0x29e855['shift']());}}}(_0x3b07,0x72645));import{View as _0x11cd94}from'ckeditor5/src/ui.js';import{getTranslation as _0x497a7d}from'../../aicore/utils/common-translations.js';function _0x3b07(){var _0xa38371=['358281AyofqF','3547235FIeNKu','ck-ai-disclaimer','224FjqxUN','ck-ai-disclaimer__content','56675qyQIVV','2007075Ofrlqt','1378630MYMEWC','4oFsrYe','setTemplate','div','4125149dxNQXy','2937468rTwcAN','AI_DISCLAIMER_TEXT'];_0x3b07=function(){return _0xa38371;};return _0x3b07();}export class AIDisclaimerView extends _0x11cd94{constructor(_0x10ca2d){var _0x356a40=_0x4132;super(_0x10ca2d),this[_0x356a40(0x156)]({'tag':_0x356a40(0x149),'attributes':{'class':['ck',_0x356a40(0x14f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x356a40(0x151)]},'children':[{'text':_0x497a7d(_0x10ca2d,_0x356a40(0x14c))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3fca8b=_0x4258;function _0x2d9a(){const _0x1b11ce=['41682kSOIFG','1146iGUsoj',';\x20height:\x20','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','250px','ck-ai-skeleton','1291311lwkjgj','140px','div','150px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','100%','center','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','class','height','map','2979748rRyTmO','6904WnoMaR','right','44px','setTemplate','tag','40px','17814490TRMFcX','width:\x20','fill','88px','left','128px','23890cDnHfD','24px','1098620NlZfoU','width','93LMUFdz','8393xhOMNo','72px','attributes','ck-ai-skeleton__item','_createSkeletonItems','align'];_0x2d9a=function(){return _0x1b11ce;};return _0x2d9a();}(function(_0x163b3c,_0xb6706c){const _0x16c1f3=_0x4258,_0xead815=_0x163b3c();while(!![]){try{const _0x33c190=-parseInt(_0x16c1f3(0x163))/0x1+-parseInt(_0x16c1f3(0x143))/0x2*(-parseInt(_0x16c1f3(0x13c))/0x3)+parseInt(_0x16c1f3(0x154))/0x4+-parseInt(_0x16c1f3(0x161))/0x5*(-parseInt(_0x16c1f3(0x144))/0x6)+parseInt(_0x16c1f3(0x13d))/0x7*(parseInt(_0x16c1f3(0x155))/0x8)+parseInt(_0x16c1f3(0x149))/0x9+-parseInt(_0x16c1f3(0x15b))/0xa;if(_0x33c190===_0xb6706c)break;else _0xead815['push'](_0xead815['shift']());}catch(_0x2ff5b9){_0xead815['push'](_0xead815['shift']());}}}(_0x2d9a,0x92e99));function _0x4258(_0xcb1701,_0x41c250){const _0x2d9a8d=_0x2d9a();return _0x4258=function(_0x42588f,_0x411857){_0x42588f=_0x42588f-0x13b;let _0x3b0b1c=_0x2d9a8d[_0x42588f];return _0x3b0b1c;},_0x4258(_0xcb1701,_0x41c250);}import{View as _0xea6f9}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0xea6f9{constructor(_0x4e47aa,_0x1dd764){const _0xd38f4c=_0x4258;super(_0x4e47aa),this[_0xd38f4c(0x158)]({'tag':_0xd38f4c(0x14b),'attributes':{'class':['ck',_0xd38f4c(0x148)]},'children':this[_0xd38f4c(0x141)](_0x1dd764)});}[_0x3fca8b(0x141)](_0x1001e3){const _0xb4d767=_0x3fca8b,_0xb2cfcf=['ck',_0xb4d767(0x140)];return _0x1001e3[_0xb4d767(0x153)](_0x24596e=>{const _0x241dc0=_0xb4d767;let _0x56268f='';switch(_0x24596e[_0x241dc0(0x13f)][_0x241dc0(0x142)]){case _0x241dc0(0x156):_0x56268f=_0x241dc0(0x14d);break;case _0x241dc0(0x14f):_0x56268f=_0x241dc0(0x146);break;case _0x241dc0(0x15f):_0x56268f=_0x241dc0(0x150);}return{'tag':_0x24596e[_0x241dc0(0x159)],'attributes':{'class':[..._0xb2cfcf,_0x24596e[_0x241dc0(0x13f)][_0x241dc0(0x151)]?_0x24596e[_0x241dc0(0x13f)][_0x241dc0(0x151)]:''],'style':_0x241dc0(0x15c)+_0x24596e[_0x241dc0(0x13f)][_0x241dc0(0x13b)]+_0x241dc0(0x145)+_0x24596e[_0x241dc0(0x13f)][_0x241dc0(0x152)]+';'+_0x56268f}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14e),'height':_0x3fca8b(0x13e),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x147),'height':_0x3fca8b(0x15a),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14e),'height':_0x3fca8b(0x15e),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14c),'height':_0x3fca8b(0x15a),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14e),'height':_0x3fca8b(0x14a),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x147),'height':_0x3fca8b(0x15a),'align':_0x3fca8b(0x156)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14e),'height':_0x3fca8b(0x15e),'align':_0x3fca8b(0x156)}}],'aiHistory':$i(0x5,_0x3fca8b(0x14e),_0x3fca8b(0x157),_0x3fca8b(0x156)),'aiChatResources':$i(0x8,_0x3fca8b(0x14e),_0x3fca8b(0x162),_0x3fca8b(0x156)),'aiReviewChecks':[{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x160),'height':_0x3fca8b(0x162),'align':_0x3fca8b(0x15f)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x14e),'height':_0x3fca8b(0x162),'align':_0x3fca8b(0x15f)}},{'tag':_0x3fca8b(0x14b),'attributes':{'width':_0x3fca8b(0x160),'height':_0x3fca8b(0x162),'align':_0x3fca8b(0x15f)}}]};function $i(_0x143d87,_0x5972ed,_0x40ca34,_0x2af7a6){const _0x4a6528=_0x3fca8b;return new Array(_0x143d87)[_0x4a6528(0x15d)](null)[_0x4a6528(0x153)](()=>({'tag':_0x4a6528(0x14b),'attributes':{'width':_0x5972ed,'height':_0x40ca34,'align':_0x2af7a6}}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2e6c(_0x3a874c,_0xe2b30c){const _0x1f220a=_0x1f22();return _0x2e6c=function(_0x2e6c81,_0x4df1b5){_0x2e6c81=_0x2e6c81-0x135;let _0x1e8415=_0x1f220a[_0x2e6c81];return _0x1e8415;},_0x2e6c(_0x3a874c,_0xe2b30c);}(function(_0x158b68,_0x7af0c9){const _0x468ea7=_0x2e6c,_0x2f5b16=_0x158b68();while(!![]){try{const _0x1cd68c=parseInt(_0x468ea7(0x139))/0x1*(parseInt(_0x468ea7(0x136))/0x2)+parseInt(_0x468ea7(0x13a))/0x3+parseInt(_0x468ea7(0x13f))/0x4*(-parseInt(_0x468ea7(0x13e))/0x5)+parseInt(_0x468ea7(0x141))/0x6+-parseInt(_0x468ea7(0x13d))/0x7+parseInt(_0x468ea7(0x143))/0x8*(-parseInt(_0x468ea7(0x140))/0x9)+parseInt(_0x468ea7(0x135))/0xa*(parseInt(_0x468ea7(0x13c))/0xb);if(_0x1cd68c===_0x7af0c9)break;else _0x2f5b16['push'](_0x2f5b16['shift']());}catch(_0x2d76c3){_0x2f5b16['push'](_0x2f5b16['shift']());}}}(_0x1f22,0x7eb74));import{SpinnerView as _0x4349d4}from'ckeditor5/src/ui.js';function _0x1f22(){const _0x1ba0be=['325YzBzIF','53524BbNJXI','144NSMQph','2309088tSISYq','ck-ai-spinner','375584kGsfvc','16138340wPrLYv','2MmaXCq','extendTemplate','span','281809EuQDzS','1689843TRwLwa','ck-ai-spinner_','11KzTBWR','4926677GbGxVI'];_0x1f22=function(){return _0x1ba0be;};return _0x1f22();}export class AISpinnerView extends _0x4349d4{constructor(_0x3dfa81=void 0x0){const _0x590045=_0x2e6c;super();const _0x4173e6=_0x3dfa81?_0x590045(0x13b)+_0x3dfa81:'';this[_0x590045(0x137)]({'tag':_0x590045(0x138),'attributes':{'class':[_0x590045(0x142),_0x4173e6]}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x207a6f=_0x4aaa;(function(_0x3333d1,_0x3ac38b){const _0x49ab62=_0x4aaa,_0x594b37=_0x3333d1();while(!![]){try{const _0x15b655=-parseInt(_0x49ab62(0x14c))/0x1*(parseInt(_0x49ab62(0x136))/0x2)+-parseInt(_0x49ab62(0x132))/0x3*(-parseInt(_0x49ab62(0x157))/0x4)+-parseInt(_0x49ab62(0x13a))/0x5+-parseInt(_0x49ab62(0x14f))/0x6+-parseInt(_0x49ab62(0x141))/0x7*(-parseInt(_0x49ab62(0x135))/0x8)+parseInt(_0x49ab62(0x146))/0x9+-parseInt(_0x49ab62(0x133))/0xa*(-parseInt(_0x49ab62(0x138))/0xb);if(_0x15b655===_0x3ac38b)break;else _0x594b37['push'](_0x594b37['shift']());}catch(_0x364708){_0x594b37['push'](_0x594b37['shift']());}}}(_0x5206,0xdbef5));import{ButtonView as _0x545e80,IconView as _0x5bd809,ToolbarView as _0x467efb}from'ckeditor5/src/ui.js';function _0x5206(){const _0xd52aa0=['748RtwWut','ck-ai-mini-toolbar\x20ck-hidden','execute','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','dislikeButton','addMany','isOn','showChangesButton','AI_MINI_TOOLBAR_LIKE','length','toggleShowChanges','showDislike','class','showChanges','19914TmMrgM','90NSYJhO','ck-ai-mini-toolbar-copy-button','16uBnuLh','2542322KMyiZa','extendTemplate','1743599DUyYLv','add','3148195LFPocf','locale','fire','AI_SUGGESTION_BUTTON_SHOW_CHANGES','items','_setupShowChangesButton','_setupCopyButton','227423zuWfzO','full','showCopy','copyButton','_config','3476277hlHDPZ','customView','showLike','children','AI_MINI_TOOLBAR_DISLIKE','_setupRatingButtons','1QpujBf','set','isEnabled','1904790qxpRCR','bind','ck-ai-mini-toolbar-copy-button__check-mark','isLoading','ck-ai-mini-toolbar','dislike','like','likeButton'];_0x5206=function(){return _0xd52aa0;};return _0x5206();}import{IconCheck as _0x4cbe54,IconCopy as _0x2adf85,IconShowChangesOff as _0x3651aa,IconShowChangesOn as _0x2b3b0c,IconThumbDown as _0x1325d7,IconThumbUp as _0x1a700e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x9b2c62}from'../../utils/common-translations.js';function _0x4aaa(_0x3dfafb,_0x4fefe9){const _0x5206c7=_0x5206();return _0x4aaa=function(_0x4aaa66,_0x31d20a){_0x4aaa66=_0x4aaa66-0x127;let _0x2ac399=_0x5206c7[_0x4aaa66];return _0x2ac399;},_0x4aaa(_0x3dfafb,_0x4fefe9);}export class AIMiniToolbarView extends _0x467efb{[_0x207a6f(0x144)];[_0x207a6f(0x156)];[_0x207a6f(0x128)];[_0x207a6f(0x12b)];[_0x207a6f(0x145)];constructor(_0x5f4311,_0x2349ff={},_0x2030b5){const _0x489715=_0x207a6f;super(_0x5f4311),this[_0x489715(0x14d)](_0x489715(0x152),!0x1),this[_0x489715(0x145)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x2349ff};const _0x24d6ad=!(this[_0x489715(0x145)][_0x489715(0x143)]||this[_0x489715(0x145)][_0x489715(0x131)]||this[_0x489715(0x145)][_0x489715(0x148)]||this[_0x489715(0x145)][_0x489715(0x12f)]||this[_0x489715(0x145)][_0x489715(0x147)]?.[_0x489715(0x12d)]);this[_0x489715(0x130)]=_0x24d6ad?_0x489715(0x158):_0x489715(0x153),this[_0x489715(0x145)][_0x489715(0x143)]&&(this[_0x489715(0x140)](),this[_0x489715(0x13e)][_0x489715(0x139)](this[_0x489715(0x144)])),this[_0x489715(0x145)][_0x489715(0x131)]&&(this[_0x489715(0x13f)](_0x2030b5),this[_0x489715(0x13e)][_0x489715(0x139)](this[_0x489715(0x12b)])),this[_0x489715(0x14b)](),this[_0x489715(0x145)][_0x489715(0x148)]&&this[_0x489715(0x13e)][_0x489715(0x139)](this[_0x489715(0x156)]),this[_0x489715(0x145)][_0x489715(0x12f)]&&this[_0x489715(0x13e)][_0x489715(0x139)](this[_0x489715(0x128)]),this[_0x489715(0x145)][_0x489715(0x147)]&&this[_0x489715(0x13e)][_0x489715(0x129)](this[_0x489715(0x145)][_0x489715(0x147)]);}[_0x207a6f(0x14b)](){const _0x169884=_0x207a6f;this[_0x169884(0x156)]=new _0x545e80(this[_0x169884(0x13b)]),this[_0x169884(0x156)][_0x169884(0x14d)]({'icon':_0x1a700e,'label':_0x9b2c62(this[_0x169884(0x13b)],_0x169884(0x12c)),'tooltip':!0x0}),this[_0x169884(0x156)][_0x169884(0x150)](_0x169884(0x14e))['to'](this,_0x169884(0x152),_0x32e45c=>!_0x32e45c),this[_0x169884(0x156)]['on'](_0x169884(0x159),()=>{const _0x3cebfd=_0x169884;this[_0x3cebfd(0x13c)](_0x3cebfd(0x155));}),this[_0x169884(0x128)]=new _0x545e80(this[_0x169884(0x13b)]),this[_0x169884(0x128)][_0x169884(0x14d)]({'icon':_0x1325d7,'label':_0x9b2c62(this[_0x169884(0x13b)],_0x169884(0x14a)),'tooltip':!0x0}),this[_0x169884(0x128)][_0x169884(0x150)](_0x169884(0x14e))['to'](this,_0x169884(0x152),_0x4c9fe5=>!_0x4c9fe5),this[_0x169884(0x128)]['on'](_0x169884(0x159),()=>{const _0x3fd286=_0x169884;this[_0x3fd286(0x13c)](_0x3fd286(0x154));});}[_0x207a6f(0x140)](){const _0x1de2b7=_0x207a6f;this[_0x1de2b7(0x144)]=new _0x545e80(this[_0x1de2b7(0x13b)]),this[_0x1de2b7(0x144)][_0x1de2b7(0x14d)]({'icon':_0x2adf85,'label':_0x9b2c62(this[_0x1de2b7(0x13b)],_0x1de2b7(0x15a)),'class':_0x1de2b7(0x134),'tooltip':!0x0}),this[_0x1de2b7(0x144)][_0x1de2b7(0x150)](_0x1de2b7(0x14e))['to'](this,_0x1de2b7(0x152),_0x429d10=>!_0x429d10);const _0x55f70d=new _0x5bd809();_0x55f70d[_0x1de2b7(0x14d)]({'content':_0x4cbe54}),_0x55f70d[_0x1de2b7(0x137)]({'attributes':{'class':[_0x1de2b7(0x151)]}}),this[_0x1de2b7(0x144)]['on'](_0x1de2b7(0x159),()=>{const _0x23e67c=_0x1de2b7;this[_0x23e67c(0x144)][_0x23e67c(0x130)]=_0x23e67c(0x127),setTimeout(()=>{const _0x183e5d=_0x23e67c;this[_0x183e5d(0x144)][_0x183e5d(0x130)]=_0x183e5d(0x134);},0x7d0);}),this[_0x1de2b7(0x144)][_0x1de2b7(0x149)][_0x1de2b7(0x139)](_0x55f70d);}[_0x207a6f(0x13f)](_0x4e8932){const _0x463ac0=_0x207a6f;this[_0x463ac0(0x12b)]=new _0x545e80(this[_0x463ac0(0x13b)]),this[_0x463ac0(0x12b)][_0x463ac0(0x14d)]({'icon':_0x3651aa,'label':_0x9b2c62(this[_0x463ac0(0x13b)],_0x463ac0(0x13d)),'withText':_0x463ac0(0x142)==this[_0x463ac0(0x145)][_0x463ac0(0x131)],'isOn':_0x4e8932}),this[_0x463ac0(0x12b)][_0x463ac0(0x150)](_0x463ac0(0x14e))['to'](this,_0x463ac0(0x152),_0x503d33=>!_0x503d33),this[_0x463ac0(0x12b)]['on'](_0x463ac0(0x159),()=>{const _0x583f38=_0x463ac0,_0x3bce04=!this[_0x583f38(0x12b)][_0x583f38(0x12a)];this[_0x583f38(0x12b)][_0x583f38(0x14d)]({'isOn':_0x3bce04,'icon':_0x3bce04?_0x2b3b0c:_0x3651aa}),this[_0x583f38(0x13c)](_0x583f38(0x12e),_0x3bce04);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x6839(_0x296665,_0x1ee166){const _0x315c34=_0x315c();return _0x6839=function(_0x6839d9,_0x1dc68a){_0x6839d9=_0x6839d9-0xeb;let _0xb2e6df=_0x315c34[_0x6839d9];return _0xb2e6df;},_0x6839(_0x296665,_0x1ee166);}const _0x24d1b4=_0x6839;(function(_0x2577fa,_0x29eff6){const _0x257cab=_0x6839,_0xd51fda=_0x2577fa();while(!![]){try{const _0x5b7c67=-parseInt(_0x257cab(0xfa))/0x1+-parseInt(_0x257cab(0x10e))/0x2*(parseInt(_0x257cab(0xfe))/0x3)+-parseInt(_0x257cab(0xff))/0x4+-parseInt(_0x257cab(0xec))/0x5+-parseInt(_0x257cab(0xf0))/0x6+parseInt(_0x257cab(0x11c))/0x7+parseInt(_0x257cab(0xfc))/0x8;if(_0x5b7c67===_0x29eff6)break;else _0xd51fda['push'](_0xd51fda['shift']());}catch(_0x25e8bf){_0xd51fda['push'](_0xd51fda['shift']());}}}(_0x315c,0xd0c1d));import{View as _0x2bff94}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x3c71dd}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4e6402}from'../../utils/eventnames.js';import{PromiseQueue as _0x281a3c}from'../../../aichat/utils/promisequeue.js';function _0x315c(){const _0x36740a=['408116ZbeyrQ','length','_children','partsCount','ck-ai-suggestion__body','addEventListener','updateContentParts','locale','some','hasNonEmptyParts','content','warning','AI_SUGGESTION_EMPTY_PART_WARNING','abort','_emptyPartsWarningView','531310YiQGfa','AI_SUGGESTION_NO_PARTS_WARNING','ck-reset_all-excluded','_updateContentPartsPromiseQueue','isVisible','hasPendingParts','pending','state','_areActionsDisabled','updatePartState','updateContent','get','ck-ai-suggestion__body__content-parts','setContent','2207604jmEijp','from','ck-content','createCollection','index','2700650NoqeSX','delegate','markAsDone','enqueue','5126010dVLQNY','first','partDefinition','toggleHeader','empty-parts-warning','add','queueEmptyPromise','div','find','set','573692frlxuq','setTemplate','27254784HUHlHE','getPartView','9DTIFQm'];_0x315c=function(){return _0x36740a;};return _0x315c();}import{AIChatFeedErrorItemView as _0x4913ae}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x413e37}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x2bff94{[_0x24d1b4(0x101)];[_0x24d1b4(0x116)];[_0x24d1b4(0x111)];[_0x24d1b4(0x10d)];constructor(_0x42e79f,{areActionsDisabled:_0x6a36ec}){const _0xed0dd8=_0x24d1b4;super(_0x42e79f),this[_0xed0dd8(0x116)]=_0x6a36ec,this[_0xed0dd8(0xf9)](_0xed0dd8(0x113),!0x1),this[_0xed0dd8(0x101)]=this[_0xed0dd8(0x11f)](),this[_0xed0dd8(0x111)]=new _0x281a3c(),this[_0xed0dd8(0x10d)]=new _0x4913ae({'id':_0xed0dd8(0xf4),'initialContent':_0x413e37(_0x42e79f,_0xed0dd8(0x10b)),'level':_0xed0dd8(0x10a)}),this[_0xed0dd8(0x10d)][_0xed0dd8(0x112)]=!0x1,this[_0xed0dd8(0xfb)]({'tag':_0xed0dd8(0xf7),'attributes':{'class':['ck',_0xed0dd8(0x110),_0xed0dd8(0x103),_0xed0dd8(0x11e)]},'children':[{'tag':_0xed0dd8(0xf7),'attributes':{'class':['ck',_0xed0dd8(0x11a)]},'children':this[_0xed0dd8(0x101)]},this[_0xed0dd8(0x10d)]]});}get[_0x24d1b4(0x102)](){const _0x2efeea=_0x24d1b4;return this[_0x2efeea(0x101)][_0x2efeea(0x100)];}async[_0x24d1b4(0x105)]({parts:_0x5c4cf7,renderingStrategy:_0x2ca60e,abortSignal:_0xff5da5}){const _0x8900a=_0x24d1b4;for(const _0x437e6a of _0x5c4cf7)this[_0x8900a(0x111)][_0x8900a(0xef)](async _0x5c0260=>{const _0x1701c4=_0x8900a;let _0x2f918a=this[_0x1701c4(0x101)][_0x1701c4(0xf8)](_0x177859=>_0x177859[_0x1701c4(0xf2)][_0x1701c4(0xeb)]==_0x437e6a[_0x1701c4(0xeb)]);_0x2f918a||(_0x2f918a=new _0x3c71dd(this[_0x1701c4(0x106)],{'part':_0x437e6a,'areActionsDisabled':this[_0x1701c4(0x116)]}),_0x2f918a[_0x1701c4(0xed)](..._0x4e6402)['to'](this),this[_0x1701c4(0x101)][_0x1701c4(0xf5)](_0x2f918a),this[_0x1701c4(0x113)]=!0x0),0x2===this[_0x1701c4(0x101)][_0x1701c4(0x100)]&&this[_0x1701c4(0x101)][_0x1701c4(0xf1)][_0x1701c4(0xf3)](!0x0),_0x2f918a[_0x1701c4(0xf3)](this[_0x1701c4(0x101)][_0x1701c4(0x100)]>0x1),await _0x2f918a[_0x1701c4(0x118)]({'part':_0x437e6a,'renderingStrategy':_0x2ca60e,'abortSignal':_0x5c0260});});return _0xff5da5?.[_0x8900a(0x104)](_0x8900a(0x10c),()=>{const _0x49e2b2=_0x8900a;this[_0x49e2b2(0x111)][_0x49e2b2(0x10c)]();}),this[_0x8900a(0x111)][_0x8900a(0xf6)];}[_0x24d1b4(0x117)](_0x53daa0,_0x71004){const _0x3249c0=_0x24d1b4;this[_0x3249c0(0x101)][_0x3249c0(0x119)](_0x53daa0)[_0x3249c0(0x115)]=_0x71004,this[_0x3249c0(0x113)]=_0x3249c0(0x114)==_0x71004||Array[_0x3249c0(0x11d)](this[_0x3249c0(0x101)])[_0x3249c0(0x107)](_0x2e46cd=>_0x3249c0(0x114)==_0x2e46cd[_0x3249c0(0x115)]);}[_0x24d1b4(0xfd)](_0xed247f){const _0x4ef6ca=_0x24d1b4;return this[_0x4ef6ca(0x101)][_0x4ef6ca(0x119)](_0xed247f);}[_0x24d1b4(0xee)](){const _0x40a843=_0x24d1b4,_0x2c5578=!this[_0x40a843(0x101)][_0x40a843(0xf8)](_0xb77811=>!!_0xb77811[_0x40a843(0xf2)][_0x40a843(0x109)]),_0x3e1e61=!!this[_0x40a843(0x101)][_0x40a843(0xf8)](_0x2000f1=>!_0x2000f1[_0x40a843(0xf2)][_0x40a843(0x109)]);this[_0x40a843(0x10d)][_0x40a843(0x112)]=_0x3e1e61,_0x2c5578?this[_0x40a843(0x10d)][_0x40a843(0x11b)](_0x413e37(this[_0x40a843(0x106)],_0x40a843(0x10f))):this[_0x40a843(0x10d)][_0x40a843(0x11b)](_0x413e37(this[_0x40a843(0x106)],_0x40a843(0x10b)));}get[_0x24d1b4(0x108)](){const _0x3a01a=_0x24d1b4;return!!this[_0x3a01a(0x101)][_0x3a01a(0xf8)](_0x7cada1=>!!_0x7cada1[_0x3a01a(0xf2)][_0x3a01a(0x109)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14a872=_0x3c07;(function(_0x888b9a,_0x580d77){const _0x3402d2=_0x3c07,_0x23cc91=_0x888b9a();while(!![]){try{const _0x365070=-parseInt(_0x3402d2(0xa7))/0x1*(-parseInt(_0x3402d2(0x70))/0x2)+-parseInt(_0x3402d2(0x73))/0x3+parseInt(_0x3402d2(0x6b))/0x4*(parseInt(_0x3402d2(0x9f))/0x5)+parseInt(_0x3402d2(0x85))/0x6+-parseInt(_0x3402d2(0xa5))/0x7*(-parseInt(_0x3402d2(0x81))/0x8)+-parseInt(_0x3402d2(0x96))/0x9*(parseInt(_0x3402d2(0x6d))/0xa)+-parseInt(_0x3402d2(0x6f))/0xb*(parseInt(_0x3402d2(0x98))/0xc);if(_0x365070===_0x580d77)break;else _0x23cc91['push'](_0x23cc91['shift']());}catch(_0x5c3f77){_0x23cc91['push'](_0x23cc91['shift']());}}}(_0x3f2c,0x29ce6));import{IconWeb as _0xd5aa4}from'@ckeditor/ckeditor5-icons';import{View as _0xbee611,ButtonView as _0x2e1878,IconView as _0x15e624}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xdd388e}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4f890f}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xb7e6b6}from'./aisuggestionbodyview.js';function _0x3c07(_0x53a3b7,_0x239c2a){const _0x3f2ca0=_0x3f2c();return _0x3c07=function(_0x3c07f2,_0x55f7ce){_0x3c07f2=_0x3c07f2-0x6b;let _0x2161bb=_0x3f2ca0[_0x3c07f2];return _0x2161bb;},_0x3c07(_0x53a3b7,_0x239c2a);}function _0x3f2c(){const _0x4ed6b1=['ck-ai-suggestion__loader','bodyView','updateContent','ck-ai-web-sources__header','4685RIpsmy','ck-ai-suggestion__loader-text','addMany','_createLoaderView','setTemplate','toggleSuggestionDisplayMode','14dQgXqr','hideLoader','32juybYF','ck-ai-suggestion__container','delegate','1052JmARXs','markAsDone','1248370kgmcyU','locale','66DGgrzD','2534lRsuPQ','children','updateContentParts','223866UDbzfL','clearLoading','areChangesVisible','bind','headerView','hasNonEmptyParts','content','showLoader','ck-rounded-corners','toggleShowChanges','isLoading','map','updateSources','title','415944MJInMA','add','extendTemplate','createCollection','1757586iYPohk','setLoading','bindTemplate','fire','isOn','ck-ai-web-sources','isLoaderVisible','set','AI_CHAT_IS_WRITING','miniToolbarView','isVisible','isShowChangesToggleVisible','ck\x20ck-ai-web-source','loaderView','Sources','sourcesView','ck-hidden','18wOdlAD','span','376716zbOZTn','small','div'];_0x3f2c=function(){return _0x4ed6b1;};return _0x3f2c();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x530996}from'../../utils/eventnames.js';import{AISpinnerView as _0x5a31c6}from'../aispinner.js';import{getTranslation as _0x40ed92}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0xbee611{[_0x14a872(0x9c)];[_0x14a872(0x71)];[_0x14a872(0x77)];[_0x14a872(0x8e)];[_0x14a872(0x92)];[_0x14a872(0x94)];constructor(_0x19e581,{showDiff:_0x154696,areActionsDisabled:_0x9de3ca,miniToolbarConfig:_0x532d9d,hideHeader:_0x2802a5,showLoader:_0x273a9b}){const _0x451c83=_0x14a872;super(_0x19e581),this[_0x451c83(0x8c)](_0x451c83(0x75),!0x1),this[_0x451c83(0x8c)](_0x451c83(0x8b),!!_0x273a9b),this[_0x451c83(0x8c)](_0x451c83(0x7d),!0x1),this[_0x451c83(0x71)]=this[_0x451c83(0x84)](),_0x2802a5||(this[_0x451c83(0x77)]=new _0x4f890f(_0x19e581,{'showDiff':_0x154696}),this[_0x451c83(0x77)]['on'](_0x451c83(0x7c),(_0x3563e,_0x1cb133)=>{const _0x171353=_0x451c83;this[_0x171353(0x75)]=_0x1cb133[_0x171353(0x89)],this[_0x171353(0x88)](_0x171353(0xa4),{'showDiff':_0x1cb133[_0x171353(0x89)]});}),this[_0x451c83(0x71)][_0x451c83(0x82)](this[_0x451c83(0x77)])),this[_0x451c83(0x9c)]=new _0xb7e6b6(_0x19e581,{'areActionsDisabled':_0x9de3ca}),this[_0x451c83(0x9c)][_0x451c83(0xa9)](..._0x530996)['to'](this),this[_0x451c83(0x9c)][_0x451c83(0x83)]({'attributes':{'class':[this[_0x451c83(0x87)]['if'](_0x451c83(0x8b),_0x451c83(0x95))]}}),this[_0x451c83(0x8e)]=new _0xdd388e(_0x19e581,_0x532d9d,_0x154696),this[_0x451c83(0x8e)][_0x451c83(0xa9)](..._0x530996)['to'](this),this[_0x451c83(0x8e)]['on'](_0x451c83(0x7c),(_0x5b5fe1,_0x337043)=>{const _0x11cd94=_0x451c83;this[_0x11cd94(0x75)]=_0x337043,this[_0x11cd94(0x88)](_0x11cd94(0xa4),{'showDiff':_0x337043});}),this[_0x451c83(0x8e)][_0x451c83(0x76)](_0x451c83(0x7d))['to'](this),this[_0x451c83(0x71)][_0x451c83(0x82)](this[_0x451c83(0x9c)]),this[_0x451c83(0x71)][_0x451c83(0x82)](this[_0x451c83(0x8e)]),this[_0x451c83(0x94)]=new AIWebSourcesView(this[_0x451c83(0x6e)]),this[_0x451c83(0x71)][_0x451c83(0x82)](this[_0x451c83(0x94)]),_0x273a9b&&(this[_0x451c83(0x92)]=this[_0x451c83(0xa2)](),this[_0x451c83(0x71)][_0x451c83(0x82)](this[_0x451c83(0x92)])),this[_0x451c83(0xa3)]({'tag':_0x451c83(0x9a),'attributes':{'class':['ck',_0x451c83(0xa8),_0x451c83(0x7b)]},'children':this[_0x451c83(0x71)]});}async[_0x14a872(0x9d)](_0x30f906){const _0x3045c7=_0x14a872;await this[_0x3045c7(0x9c)][_0x3045c7(0x72)](_0x30f906);}[_0x14a872(0x7f)](_0xdf47e3){const _0x5d854a=_0x14a872;this[_0x5d854a(0x94)][_0x5d854a(0x71)][_0x5d854a(0xa1)](_0xdf47e3[_0x5d854a(0x7e)](_0x3c8a65=>new AIWebSourceView(this[_0x5d854a(0x6e)],_0x3c8a65))),this[_0x5d854a(0x94)][_0x5d854a(0x8f)]=!0x0;}[_0x14a872(0x7a)](){const _0x126bf6=_0x14a872;this[_0x126bf6(0x92)]&&(this[_0x126bf6(0x8b)]=!0x0);}[_0x14a872(0xa6)](){const _0x5a6171=_0x14a872;this[_0x5a6171(0x92)]&&(this[_0x5a6171(0x8b)]=!0x1);}[_0x14a872(0x6c)](){const _0x5502a6=_0x14a872;this[_0x5502a6(0x9c)][_0x5502a6(0x6c)](),this[_0x5502a6(0x77)]&&(this[_0x5502a6(0x77)][_0x5502a6(0x90)]=this[_0x5502a6(0x9c)][_0x5502a6(0x78)]);}[_0x14a872(0x86)](){const _0x2c758d=_0x14a872;this[_0x2c758d(0x7d)]=!0x0;}[_0x14a872(0x74)](){const _0x10bb73=_0x14a872;this[_0x10bb73(0x7d)]=!0x1;}[_0x14a872(0xa2)](){const _0x445336=_0x14a872,_0x26a552=new _0xbee611(this[_0x445336(0x6e)]),_0x1ff746=new _0x5a31c6(_0x445336(0x99));_0x1ff746[_0x445336(0x8f)]=!0x0;const _0x25dee6=new _0xbee611(this[_0x445336(0x6e)]);return _0x25dee6[_0x445336(0xa3)]({'tag':_0x445336(0x97),'attributes':{'class':['ck',_0x445336(0xa0)]},'children':[_0x40ed92(this[_0x445336(0x6e)],_0x445336(0x8d))]}),_0x26a552[_0x445336(0xa3)]({'tag':_0x445336(0x9a),'attributes':{'class':['ck',_0x445336(0x9b),this[_0x445336(0x87)]['if'](_0x445336(0x8b),_0x445336(0x95),_0x2a8a08=>!_0x2a8a08)]},'children':[_0x1ff746,_0x25dee6]}),_0x26a552;}}export class AIWebSourcesView extends _0xbee611{[_0x14a872(0x71)];constructor(_0xbcfe27){const _0x109df9=_0x14a872;super(_0xbcfe27),this[_0x109df9(0x71)]=this[_0x109df9(0x84)](),this[_0x109df9(0x8c)](_0x109df9(0x8f),!0x1),this[_0x109df9(0xa3)]({'tag':_0x109df9(0x9a),'attributes':{'class':['ck',_0x109df9(0x8a),this[_0x109df9(0x87)]['if'](_0x109df9(0x8f),_0x109df9(0x95),_0x3b5e46=>!_0x3b5e46)]},'children':this[_0x109df9(0x71)]});const _0x260bb8=new _0xbee611(this[_0x109df9(0x6e)]),_0x272908=new _0x15e624();_0x272908[_0x109df9(0x79)]=_0xd5aa4,_0x260bb8[_0x109df9(0xa3)]({'tag':_0x109df9(0x9a),'attributes':{'class':['ck',_0x109df9(0x9e)]},'children':[_0x272908,{'tag':_0x109df9(0x97),'children':[{'text':_0x109df9(0x93)}]}]}),this[_0x109df9(0x71)][_0x109df9(0x82)](_0x260bb8);}}export class AIWebSourceView extends _0x2e1878{constructor(_0x522a3e,_0x3d59a7){const _0x297e36=_0x14a872;super(_0x522a3e),this[_0x297e36(0x8c)]({'icon':_0xd5aa4,'label':_0x3d59a7[_0x297e36(0x80)],'tooltip':_0x3d59a7[_0x297e36(0x80)],'class':[_0x297e36(0x91)],'withText':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4245c3=_0x13f8;(function(_0xe855bd,_0x552d9e){const _0x2a4bde=_0x13f8,_0x4fb3b4=_0xe855bd();while(!![]){try{const _0x4aed76=parseInt(_0x2a4bde(0x202))/0x1+parseInt(_0x2a4bde(0x201))/0x2+parseInt(_0x2a4bde(0x207))/0x3*(parseInt(_0x2a4bde(0x1e4))/0x4)+-parseInt(_0x2a4bde(0x21b))/0x5*(parseInt(_0x2a4bde(0x206))/0x6)+parseInt(_0x2a4bde(0x20c))/0x7*(-parseInt(_0x2a4bde(0x216))/0x8)+parseInt(_0x2a4bde(0x218))/0x9+-parseInt(_0x2a4bde(0x1ee))/0xa;if(_0x4aed76===_0x552d9e)break;else _0x4fb3b4['push'](_0x4fb3b4['shift']());}catch(_0x5826c9){_0x4fb3b4['push'](_0x4fb3b4['shift']());}}}(_0x5e7e,0xf0368));import{View as _0x1f85f7,IconView as _0x12e4b2,ToolbarView as _0x9af886,ButtonView as _0x318f5a}from'ckeditor5/src/ui.js';import{IconAddComment as _0x443322,IconDocumentWithLoupe as _0x9f9cc1,IconDocumentWithCheckmark as _0x3244af,IconDocumentWithCross as _0x4bb9ab,IconRemove as _0x2c4e93,IconThreeStars as _0x41484b}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x11e250}from'../../utils/htmlstreamer.js';import{getTranslation as _0x535949}from'../../utils/common-translations.js';import{serialize as _0x4dbe39}from'../../utils/htmlparser.js';function _0x5e7e(){const _0x19ddc4=['innerHTML','_toolbarView','ck-ai-suggestion__body__content-part__title','bind','isEnabled','mouseOverSuggestion','ck-ai-suggestion__body__content-part__icon-rejected','ck-ai-suggestion__body__content-part_active','AI_SUGGESTION_CONTENT_PART_DELETE','ck-hidden','3402756MNyjDR','700937FnkehD','div','contentView','change:state','3025494BGOnMB','761631sHszvk','AI_SUGGESTION_CONTENT_PART_REJECTED','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','element','headerView','3167969hxRcEh','streaming','delegate','items','toString','span','execute','rejected','_iconStateRejected','ck-ai-suggestion__body__content-part__icon-accepted','24thJswT','accepted','3886893eDlYkP','content','ck-ai-suggestion__body__content-part__title__label','5IEPgYK','bindTemplate','insertSuggestion','ck-ai-suggestion__body__content-part_','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','children','stream','createCollection','remove','pending','ck-ai-suggestion__body__content-part','_iconStateAccepted','updateContent','AI_SUGGESTION_CONTENT_PART_TITLE','htmlStreamer','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','index','20rTTrVK','state','rejectSuggestion','partDefinition','fire','showChangeInText','add','toggleHeader','animation:\x20ck-html-streamer-fade-in\x20.5s','addMany','12577150DhBWYU','ck-ai-suggestion__body__content-part__content','ck-ai-suggestion__body__content-part__icon-title','extendTemplate','has','set','mouseLeaveSuggestion','setTemplate','isVisible'];_0x5e7e=function(){return _0x19ddc4;};return _0x5e7e();}function _0x13f8(_0x343671,_0x3e722f){const _0x5e7e38=_0x5e7e();return _0x13f8=function(_0x13f801,_0x54d4a5){_0x13f801=_0x13f801-0x1df;let _0x5903b7=_0x5e7e38[_0x13f801];return _0x5903b7;},_0x13f8(_0x343671,_0x3e722f);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3233b4}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x1f85f7{[_0x4245c3(0x1e1)];[_0x4245c3(0x220)];[_0x4245c3(0x20b)];[_0x4245c3(0x204)];constructor(_0x600b9c,{part:_0x5b960a,areActionsDisabled:_0x5ead3a}){const _0x34b6b9=_0x4245c3;super(_0x600b9c),this[_0x34b6b9(0x1f3)](_0x34b6b9(0x1e7),_0x5b960a),this[_0x34b6b9(0x1f3)](_0x34b6b9(0x1e5),_0x34b6b9(0x224)),this[_0x34b6b9(0x1f3)](_0x34b6b9(0x1f6),!0x1),this[_0x34b6b9(0x1fa)](_0x34b6b9(0x1fb))['to'](this,_0x34b6b9(0x1e5),_0x5c4b1d=>_0x34b6b9(0x224)==_0x5c4b1d&&!_0x5ead3a),this[_0x34b6b9(0x220)]=this[_0x34b6b9(0x222)](),this[_0x34b6b9(0x1e1)]=new _0x11e250({'textNodeStyle':_0x34b6b9(0x1ec),'delay':0x14}),this[_0x34b6b9(0x20b)]=new An(_0x600b9c,_0x5b960a),this[_0x34b6b9(0x20b)][_0x34b6b9(0x1fa)](_0x34b6b9(0x1e7))['to'](this),this[_0x34b6b9(0x20b)][_0x34b6b9(0x1fa)](_0x34b6b9(0x1fb))['to'](this),this[_0x34b6b9(0x20b)][_0x34b6b9(0x1fa)](_0x34b6b9(0x1e5))['to'](this),this[_0x34b6b9(0x20b)][_0x34b6b9(0x20e)](..._0x3233b4)['to'](this);const _0x211410=this[_0x34b6b9(0x21c)];this[_0x34b6b9(0x204)]=new _0x1f85f7(),this[_0x34b6b9(0x204)][_0x34b6b9(0x1f5)]({'tag':_0x34b6b9(0x203),'attributes':{'class':['ck',_0x34b6b9(0x1ef)]}}),this[_0x34b6b9(0x220)][_0x34b6b9(0x1ed)]([this[_0x34b6b9(0x204)]]),this[_0x34b6b9(0x1f5)]({'tag':_0x34b6b9(0x203),'attributes':{'class':['ck',_0x34b6b9(0x225),_0x211410['to'](_0x34b6b9(0x1e5),_0x5f5022=>_0x34b6b9(0x21e)+_0x5f5022),_0x211410['to'](_0x34b6b9(0x1fb),_0x2184ed=>_0x2184ed?_0x34b6b9(0x1fe):void 0x0),_0x211410['if'](_0x34b6b9(0x1f6),_0x34b6b9(0x200),_0x31758a=>!_0x31758a)]},'children':this[_0x34b6b9(0x220)],'on':{'mouseenter':_0x211410['to'](()=>{const _0x436568=_0x34b6b9;this[_0x436568(0x1fb)]&&this[_0x436568(0x1e8)](_0x436568(0x1fc),{'index':_0x5b960a[_0x436568(0x1e3)]});}),'mouseleave':_0x211410['to'](()=>{const _0x3dcb05=_0x34b6b9;this[_0x3dcb05(0x1fb)]&&this[_0x3dcb05(0x1e8)](_0x3dcb05(0x1f4),{'index':_0x5b960a[_0x3dcb05(0x1e3)]});})}});}async[_0x4245c3(0x1df)]({part:_0xed54e1,renderingStrategy:_0x3a931d,abortSignal:_0x46e7f3}){const _0x45872a=_0x4245c3;this[_0x45872a(0x1e7)]=_0xed54e1,this[_0x45872a(0x1f6)]=!!this[_0x45872a(0x1e7)][_0x45872a(0x219)],this[_0x45872a(0x1e7)][_0x45872a(0x219)]&&(_0x45872a(0x20d)===_0x3a931d?await this[_0x45872a(0x1e1)][_0x45872a(0x221)]({'document':this[_0x45872a(0x1e7)][_0x45872a(0x219)],'targetElement':this[_0x45872a(0x204)][_0x45872a(0x20a)],'abortSignal':_0x46e7f3}):this[_0x45872a(0x204)][_0x45872a(0x20a)][_0x45872a(0x1f7)]=_0x4dbe39(this[_0x45872a(0x1e7)][_0x45872a(0x219)]));}[_0x4245c3(0x1eb)](_0xe1aa22){const _0x328eb0=_0x4245c3;_0xe1aa22?this[_0x328eb0(0x220)][_0x328eb0(0x1f2)](this[_0x328eb0(0x20b)])||this[_0x328eb0(0x220)][_0x328eb0(0x1ea)](this[_0x328eb0(0x20b)],0x0):this[_0x328eb0(0x220)][_0x328eb0(0x1f2)](this[_0x328eb0(0x20b)])&&this[_0x328eb0(0x220)][_0x328eb0(0x223)](this[_0x328eb0(0x20b)]);}}class An extends _0x1f85f7{[_0x4245c3(0x220)];[_0x4245c3(0x1f8)];[_0x4245c3(0x226)];[_0x4245c3(0x214)];constructor(_0xde780c,_0x5ef9a3){const _0x118e95=_0x4245c3;super(_0xde780c),this[_0x118e95(0x1f3)](_0x118e95(0x1e7),_0x5ef9a3),this[_0x118e95(0x1f3)](_0x118e95(0x1fb),!0x0),this[_0x118e95(0x1f3)](_0x118e95(0x1e5),_0x118e95(0x224));const _0x158d83=new _0x12e4b2();_0x158d83[_0x118e95(0x219)]=_0x41484b,_0x158d83[_0x118e95(0x1f1)]({'attributes':{'class':[_0x118e95(0x1f0)]}});const _0x3c8d31=new _0x318f5a(_0xde780c);_0x3c8d31[_0x118e95(0x1f3)]({'label':_0x535949(_0xde780c,_0x118e95(0x1e2)),'tooltip':!0x0,'withText':!0x1,'icon':_0x9f9cc1}),_0x3c8d31[_0x118e95(0x1fa)](_0x118e95(0x1fb))['to'](this),_0x3c8d31['on'](_0x118e95(0x212),()=>{const _0x1fd427=_0x118e95;this[_0x1fd427(0x1e8)](_0x1fd427(0x1e9),{'index':_0x5ef9a3[_0x1fd427(0x1e3)]});});const _0x3facda=new _0x318f5a(_0xde780c);_0x3facda[_0x118e95(0x1f3)]({'label':_0x535949(_0xde780c,_0x118e95(0x21f)),'tooltip':!0x0,'withText':!0x1,'icon':_0x443322}),_0x3facda[_0x118e95(0x1fa)](_0x118e95(0x1fb))['to'](this),_0x3facda['on'](_0x118e95(0x212),()=>{const _0x262a9d=_0x118e95;this[_0x262a9d(0x1e8)](_0x262a9d(0x21d),{'index':_0x5ef9a3[_0x262a9d(0x1e3)]});});const _0x56dc97=new _0x318f5a(_0xde780c);_0x56dc97[_0x118e95(0x1f3)]({'label':_0x535949(_0xde780c,_0x118e95(0x1ff)),'tooltip':!0x0,'withText':!0x1,'icon':_0x2c4e93}),_0x56dc97['on'](_0x118e95(0x212),()=>{const _0x33b039=_0x118e95;this[_0x33b039(0x1e8)](_0x33b039(0x1e6),{'index':_0x5ef9a3[_0x33b039(0x1e3)]});}),_0x56dc97[_0x118e95(0x1fa)](_0x118e95(0x1fb))['to'](this),this[_0x118e95(0x1f8)]=new _0x9af886(_0xde780c),this[_0x118e95(0x1f8)][_0x118e95(0x20f)][_0x118e95(0x1ed)]([_0x3c8d31,_0x3facda,_0x56dc97]),this[_0x118e95(0x226)]=new _0x12e4b2(),this[_0x118e95(0x226)][_0x118e95(0x219)]=_0x3244af,this[_0x118e95(0x226)][_0x118e95(0x1f1)]({'attributes':{'class':[_0x118e95(0x215)],'data-cke-tooltip-text':_0x535949(_0xde780c,_0x118e95(0x209)),'data-cke-tooltip-position':'n'}}),this[_0x118e95(0x214)]=new _0x12e4b2(),this[_0x118e95(0x214)][_0x118e95(0x219)]=_0x4bb9ab,this[_0x118e95(0x214)][_0x118e95(0x1f1)]({'attributes':{'class':[_0x118e95(0x1fd)],'data-cke-tooltip-text':_0x535949(_0xde780c,_0x118e95(0x208)),'data-cke-tooltip-position':'n'}});const _0x443a83=new _0x1f85f7(_0xde780c);_0x443a83[_0x118e95(0x1f5)]({'tag':_0x118e95(0x211),'attributes':{'class':['ck',_0x118e95(0x21a)]},'children':[_0x535949(_0xde780c,_0x118e95(0x1e0),(_0x5ef9a3[_0x118e95(0x1e3)]+0x1)[_0x118e95(0x210)]())]}),this[_0x118e95(0x220)]=this[_0x118e95(0x222)](),this[_0x118e95(0x220)][_0x118e95(0x1ed)]([_0x158d83,_0x443a83,this[_0x118e95(0x1f8)]]),this[_0x118e95(0x1f5)]({'tag':_0x118e95(0x203),'attributes':{'class':['ck',_0x118e95(0x1f9)]},'children':this[_0x118e95(0x220)]}),this['on'](_0x118e95(0x205),(_0x4fcbaa,_0x22ac6f,_0x49b671,_0x937120)=>{const _0x93ae65=_0x118e95;switch(_0x937120){case _0x93ae65(0x224):this[_0x93ae65(0x220)][_0x93ae65(0x223)](this[_0x93ae65(0x1f8)]);break;case _0x93ae65(0x217):this[_0x93ae65(0x220)][_0x93ae65(0x223)](this[_0x93ae65(0x226)]);break;case _0x93ae65(0x213):this[_0x93ae65(0x220)][_0x93ae65(0x223)](this[_0x93ae65(0x214)]);}switch(_0x49b671){case _0x93ae65(0x224):this[_0x93ae65(0x220)][_0x93ae65(0x1ea)](this[_0x93ae65(0x1f8)]);break;case _0x93ae65(0x217):this[_0x93ae65(0x220)][_0x93ae65(0x1ea)](this[_0x93ae65(0x226)]);break;case _0x93ae65(0x213):this[_0x93ae65(0x220)][_0x93ae65(0x1ea)](this[_0x93ae65(0x214)]);}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x14a0dc=_0x46fe;(function(_0xf1347b,_0x37a9c9){const _0x4bc637=_0x46fe,_0x3e8a07=_0xf1347b();while(!![]){try{const _0x4132e6=parseInt(_0x4bc637(0x174))/0x1*(parseInt(_0x4bc637(0x17f))/0x2)+-parseInt(_0x4bc637(0x18c))/0x3+-parseInt(_0x4bc637(0x178))/0x4+parseInt(_0x4bc637(0x175))/0x5+parseInt(_0x4bc637(0x17b))/0x6*(-parseInt(_0x4bc637(0x16d))/0x7)+parseInt(_0x4bc637(0x173))/0x8*(-parseInt(_0x4bc637(0x177))/0x9)+parseInt(_0x4bc637(0x17a))/0xa*(parseInt(_0x4bc637(0x180))/0xb);if(_0x4132e6===_0x37a9c9)break;else _0x3e8a07['push'](_0x3e8a07['shift']());}catch(_0x58710b){_0x3e8a07['push'](_0x3e8a07['shift']());}}}(_0xfbc8,0x4aa2a));function _0xfbc8(){const _0x113625=['execute','1029819rwcOqh','isOn','span','AI_SUGGESTION_HEADER_TITLE','ck-hidden','isShowChangesToggleVisible','remove','2030MPyJsO','fire','ck-ai-suggestion__header__show-changes-toggle','render','filter','showChangesToggleView','6864OGXKWj','1CsHfwN','1982825nQHMNr','setTemplate','6210HGkBEv','2157372kmNGWZ','div','10KEuxSA','6744sATfvH','icon','showDiff','isVisible','11792ePkMUO','18742251cTTBrz','content','ck-ai-suggestion__header','bind','toggleShowChanges','set','children','add','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showHeader','iconView'];_0xfbc8=function(){return _0x113625;};return _0xfbc8();}import{getTranslation as _0x466db3}from'../../utils/common-translations.js';import{ButtonView as _0x14263d,IconView as _0x2b68e8,View as _0x934cad}from'ckeditor5/src/ui.js';import{IconDocument as _0x89ae45,IconShowChangesOff as _0x2db4f7,IconShowChangesOn as _0xe6b6f7}from'ckeditor5/src/icons.js';function _0x46fe(_0x55448c,_0x2eaefa){const _0xfbc8c7=_0xfbc8();return _0x46fe=function(_0x46fe57,_0x2099e0){_0x46fe57=_0x46fe57-0x16a;let _0x4984f0=_0xfbc8c7[_0x46fe57];return _0x4984f0;},_0x46fe(_0x55448c,_0x2eaefa);}export class AISuggestionHeaderView extends _0x934cad{[_0x14a0dc(0x172)];constructor(_0x3863ac,_0x2a7bef){const _0x3b5570=_0x14a0dc;super(_0x3863ac),this[_0x3b5570(0x185)](_0x3b5570(0x16b),!0x0),this[_0x3b5570(0x172)]=new ShowChangesToggleView(_0x3863ac),this[_0x3b5570(0x172)][_0x3b5570(0x185)]({'class':_0x3b5570(0x16f),'label':_0x466db3(_0x3863ac,_0x3b5570(0x188)),'withText':!0x0}),this[_0x3b5570(0x172)][_0x3b5570(0x18d)]=_0x2a7bef[_0x3b5570(0x17d)],this[_0x3b5570(0x172)][_0x3b5570(0x183)](_0x3b5570(0x17e))['to'](this,_0x3b5570(0x16b)),this[_0x3b5570(0x172)][_0x3b5570(0x183)](_0x3b5570(0x17c))['to'](this[_0x3b5570(0x172)],_0x3b5570(0x18d),_0x5a3264=>_0x5a3264?_0xe6b6f7:_0x2db4f7),this[_0x3b5570(0x172)]['on'](_0x3b5570(0x18b),()=>{const _0x5989a5=_0x3b5570;this[_0x5989a5(0x172)][_0x5989a5(0x18d)]=!this[_0x5989a5(0x172)][_0x5989a5(0x18d)],this[_0x5989a5(0x16e)](_0x5989a5(0x184),{'isOn':this[_0x5989a5(0x172)][_0x5989a5(0x18d)]});});const _0x3d59b4=new _0x2b68e8();_0x3d59b4[_0x3b5570(0x181)]=_0x89ae45,this[_0x3b5570(0x176)]({'tag':_0x3b5570(0x179),'attributes':{'class':['ck',_0x3b5570(0x182),!0x1===_0x2a7bef[_0x3b5570(0x189)]?_0x3b5570(0x16a):null][_0x3b5570(0x171)](Boolean)},'children':[_0x3d59b4,{'tag':_0x3b5570(0x18e),'children':[_0x466db3(_0x3863ac,_0x3b5570(0x18f))]},this[_0x3b5570(0x172)]]});}}export class ShowChangesToggleView extends _0x14263d{[_0x14a0dc(0x170)](){const _0x25c4d2=_0x14a0dc;super[_0x25c4d2(0x170)](),this[_0x25c4d2(0x186)][_0x25c4d2(0x16c)](this[_0x25c4d2(0x18a)]),this[_0x25c4d2(0x186)][_0x25c4d2(0x187)](this[_0x25c4d2(0x18a)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export function getTranslation(_0x135246,_0x58dc54,_0x548f84){const t=_0x135246['t'];switch(_0x58dc54){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Suggested\x20content'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20changes'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Suggestion\x20%0'},_0x548f84);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT':return t({'id':'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','string':'Show\x20in\x20the\x20text'});case'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_DELETE':return t({'id':'AI_SUGGESTION_CONTENT_PART_DELETE','string':'Delete'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'AI\x20Chat'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi,\x20I\x27m\x20your\x20AI\x20assistant.\x20Think\x20of\x20me\x20as\x20your\x20writing\x20buddy,\x20reviewer,\x20or\x20research\x20partner.\x20I\x20can\x20suggest\x20changes\x20to\x20your\x20document,\x20help\x20generate\x20ideas,\x20offer\x20feedback,\x20discuss\x20attached\x20files,\x20and\x20much\x20more!'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'The\x20request\x20was\x20aborted.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x548f84);case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x548f84);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x548f84);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20performing\x20deep\x20research\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20performing\x20deep\x20research\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'Thought\x20for\x20a\x20few\x20minutes'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'Took\x20a\x20moment\x20to\x20think\x20and\x20search\x20the\x20web'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','string':'Show\x20change\x20in\x20text','plural':'Show\x20changes\x20in\x20text'},_0x548f84);case'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION':return t({'id':'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','string':'Insert\x20suggestion','plural':'Insert\x20suggestions'},_0x548f84);case'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','string':'Apply','plural':'Apply\x20all'},_0x548f84);case'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','string':'Apply\x20suggestion','plural':'Apply\x20all\x20suggestions'},_0x548f84);case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x548f84);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20a\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x548f84);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20is\x20currently\x20empty.\x20After\x20you\x20create\x20some\x20conversations,\x20you\x20will\x20be\x20able\x20to\x20revisit\x20them\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Sorry,\x20we\x20couldn\x27t\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x548f84);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Sorry,\x20we\x20couldn\x27t\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x548f84);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Sorry,\x20we\x20couldn\x27t\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x548f84);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_TOOLTIP':return t({'id':'AI_BALLOON_NEXT_TOOLTIP','string':'Next'});case'AI_BALLOON_PREVIOUS_TOOLTIP':return t({'id':'AI_BALLOON_PREVIOUS_TOOLTIP','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'The\x20suggestion\x20can’t\x20be\x20applied\x20to\x20the\x20editor\x20because\x20the\x20system\x20can’t\x20display\x20it\x20correctly..'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20suggestions\x20can’t\x20be\x20applied\x20to\x20the\x20editor\x20because\x20the\x20system\x20can’t\x20display\x20them\x20correctly.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Try\x20again'});case'AI_MODEL_DESCRIPTION_AGENT-1':return t({'id':'AI_MODEL_DESCRIPTION_AGENT-1','string':'Automatically\x20selects\x20the\x20best\x20model\x20for\x20speed,\x20quality,\x20and\x20cost'});case'AI_MODEL_DESCRIPTION_GPT-5':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5','string':'OpenAI\x27s\x20flagship\x20model\x20for\x20advanced\x20reasoning,\x20creativity,\x20and\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GPT-5-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5-MINI','string':'A\x20lightweight\x20version\x20of\x20GPT-5\x20for\x20faster,\x20more\x20cost-efficient\x20responses'});case'AI_MODEL_DESCRIPTION_GPT-4.1':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1','string':'OpenAI\x27s\x20model\x20for\x20reliable\x20reasoning,\x20speed,\x20and\x20versatility'});case'AI_MODEL_DESCRIPTION_GPT-4.1-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1-MINI','string':'A\x20lighter\x20variant\x20of\x20GPT-4.1\x20that\x20balances\x20speed\x20and\x20cost\x20while\x20maintaining\x20solid\x20accuracy'});case'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU','string':'Anthropic\x27s\x20fast,\x20cost-efficient\x20model\x20for\x20simpler\x20tasks'});case'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET','string':'Advanced\x20model\x20with\x20strong\x20reasoning\x20and\x20reliability\x20for\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO','string':'Google\x27s\x20advanced\x20model\x20for\x20versatile\x20problem-solving\x20and\x20research'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH','string':'Lightweight\x20Gemini\x20model\x20for\x20fast,\x20cost-efficient\x20interactions'});default:return _0x58dc54;}}
|
|
23
|
+
export function getTranslation(_0x34ae89,_0xd36d30,_0x5dcc7f){const t=_0x34ae89['t'];switch(_0xd36d30){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Suggested\x20content'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20changes'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Suggestion\x20%0'},_0x5dcc7f);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT':return t({'id':'AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','string':'Show\x20in\x20the\x20text'});case'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_DELETE':return t({'id':'AI_SUGGESTION_CONTENT_PART_DELETE','string':'Delete'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'AI\x20Chat'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi,\x20I\x27m\x20your\x20AI\x20assistant.\x20Think\x20of\x20me\x20as\x20your\x20writing\x20buddy,\x20reviewer,\x20or\x20research\x20partner.\x20I\x20can\x20suggest\x20changes\x20to\x20your\x20document,\x20help\x20generate\x20ideas,\x20offer\x20feedback,\x20discuss\x20attached\x20files,\x20and\x20much\x20more!'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'The\x20request\x20was\x20aborted.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x5dcc7f);case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x5dcc7f);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x5dcc7f);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20performing\x20deep\x20research\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20performing\x20deep\x20research\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'Thought\x20for\x20a\x20few\x20minutes'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'Took\x20a\x20moment\x20to\x20think\x20and\x20search\x20the\x20web'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','string':'Show\x20change\x20in\x20text','plural':'Show\x20changes\x20in\x20text'},_0x5dcc7f);case'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION':return t({'id':'AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','string':'Insert\x20suggestion','plural':'Insert\x20suggestions'},_0x5dcc7f);case'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','string':'Apply','plural':'Apply\x20all'},_0x5dcc7f);case'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','string':'Apply\x20suggestion','plural':'Apply\x20all\x20suggestions'},_0x5dcc7f);case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x5dcc7f);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20a\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x5dcc7f);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20is\x20currently\x20empty.\x20After\x20you\x20create\x20some\x20conversations,\x20you\x20will\x20be\x20able\x20to\x20revisit\x20them\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Sorry,\x20we\x20couldn\x27t\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x5dcc7f);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Sorry,\x20we\x20couldn\x27t\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x5dcc7f);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Sorry,\x20we\x20couldn\x27t\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20in\x20a\x20moment.'},_0x5dcc7f);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_TOOLTIP':return t({'id':'AI_BALLOON_NEXT_TOOLTIP','string':'Next'});case'AI_BALLOON_PREVIOUS_TOOLTIP':return t({'id':'AI_BALLOON_PREVIOUS_TOOLTIP','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'The\x20suggestion\x20can’t\x20be\x20applied\x20to\x20the\x20editor\x20because\x20the\x20system\x20can’t\x20display\x20it\x20correctly..'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20suggestions\x20can’t\x20be\x20applied\x20to\x20the\x20editor\x20because\x20the\x20system\x20can’t\x20display\x20them\x20correctly.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Try\x20again'});case'AI_MODEL_DESCRIPTION_AGENT-1':return t({'id':'AI_MODEL_DESCRIPTION_AGENT-1','string':'Automatically\x20selects\x20the\x20best\x20model\x20for\x20speed,\x20quality,\x20and\x20cost'});case'AI_MODEL_DESCRIPTION_GPT-5':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5','string':'OpenAI\x27s\x20flagship\x20model\x20for\x20advanced\x20reasoning,\x20creativity,\x20and\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GPT-5-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-5-MINI','string':'A\x20lightweight\x20version\x20of\x20GPT-5\x20for\x20faster,\x20more\x20cost-efficient\x20responses'});case'AI_MODEL_DESCRIPTION_GPT-4.1':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1','string':'OpenAI\x27s\x20model\x20for\x20reliable\x20reasoning,\x20speed,\x20and\x20versatility'});case'AI_MODEL_DESCRIPTION_GPT-4.1-MINI':return t({'id':'AI_MODEL_DESCRIPTION_GPT-4.1-MINI','string':'A\x20lighter\x20variant\x20of\x20GPT-4.1\x20that\x20balances\x20speed\x20and\x20cost\x20while\x20maintaining\x20solid\x20accuracy'});case'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-3-5-HAIKU','string':'Anthropic\x27s\x20fast,\x20cost-efficient\x20model\x20for\x20simpler\x20tasks'});case'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET':return t({'id':'AI_MODEL_DESCRIPTION_CLAUDE-4-SONNET','string':'Advanced\x20model\x20with\x20strong\x20reasoning\x20and\x20reliability\x20for\x20complex\x20tasks'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-PRO','string':'Google\x27s\x20advanced\x20model\x20for\x20versatile\x20problem-solving\x20and\x20research'});case'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH':return t({'id':'AI_MODEL_DESCRIPTION_GEMINI-2-5-FLASH','string':'Lightweight\x20Gemini\x20model\x20for\x20fast,\x20cost-efficient\x20interactions'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.\x20You\x20can\x20now\x20return\x20to\x20the\x20command\x20list.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review\x20Mode'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Correctness'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});default:return _0xd36d30;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x27aa3e,_0x3d13e0){const _0x13a4fe=_0x2438,_0x3ff967=_0x27aa3e();while(!![]){try{const _0x135a95=-parseInt(_0x13a4fe(0x1b3))/0x1*(-parseInt(_0x13a4fe(0x1b6))/0x2)+parseInt(_0x13a4fe(0x1b1))/0x3*(parseInt(_0x13a4fe(0x1b5))/0x4)+parseInt(_0x13a4fe(0x1ba))/0x5*(-parseInt(_0x13a4fe(0x1be))/0x6)+parseInt(_0x13a4fe(0x1b0))/0x7*(parseInt(_0x13a4fe(0x1bd))/0x8)+parseInt(_0x13a4fe(0x1b2))/0x9+parseInt(_0x13a4fe(0x1b8))/0xa+-parseInt(_0x13a4fe(0x1c1))/0xb;if(_0x135a95===_0x3d13e0)break;else _0x3ff967['push'](_0x3ff967['shift']());}catch(_0x7f332f){_0x3ff967['push'](_0x3ff967['shift']());}}}(_0xcaae,0x5af07));import{ButtonView as _0x141889}from'ckeditor5/src/ui.js';import{IconMaximize as _0x768f46,IconMinimize as _0x2f1238}from'ckeditor5/src/icons.js';import{getTranslation as _0x543e35}from'../../aicore/utils/common-translations.js';function _0x2438(_0x4820a9,_0xef17b0){const _0xcaae4=_0xcaae();return _0x2438=function(_0x243804,_0x44ac83){_0x243804=_0x243804-0x1b0;let _0x48eebf=_0xcaae4[_0x243804];return _0x48eebf;},_0x2438(_0x4820a9,_0xef17b0);}export function createResizeButton(_0x2f3f7e,_0x1d6b70){const _0x11c5f3=_0x2438,_0x56711f=new _0x141889(_0x2f3f7e),_0xfcff49=_0x543e35(_0x2f3f7e,_0x11c5f3(0x1c4)),_0x48c269=_0x543e35(_0x2f3f7e,_0x11c5f3(0x1bf));return _0x56711f[_0x11c5f3(0x1b9)]({'withText':!0x1,'icon':_0x768f46,'tooltip':!0x0,'class':_0x11c5f3(0x1b7)}),_0x56711f[_0x11c5f3(0x1c0)](_0x11c5f3(0x1c2))['to'](_0x1d6b70,_0x11c5f3(0x1c5),_0x3b078b=>_0x3b078b?_0xfcff49:_0x48c269),_0x56711f[_0x11c5f3(0x1c0)](_0x11c5f3(0x1c3))['to'](_0x1d6b70,_0x11c5f3(0x1c5),_0x85e4fe=>_0x85e4fe?_0x2f1238:_0x768f46),_0x56711f[_0x11c5f3(0x1c0)](_0x11c5f3(0x1bb))['to'](_0x1d6b70,_0x11c5f3(0x1c5)),_0x56711f['on'](_0x11c5f3(0x1b4),()=>{const _0x5cc7a5=_0x11c5f3;_0x1d6b70[_0x5cc7a5(0x1c6)](_0x5cc7a5(0x1bc));}),_0x56711f;}function _0xcaae(){const _0x401980=['1468555VrqjRT','isOn','resizeTabs','8EFlwvm','6UtKmqo','AI_TABS_LABEL_MAXIMIZE','bind','6373510FaeqQJ','label','icon','AI_TABS_LABEL_MINIMIZE','isMaximized','fire','1978627ecvnOP','3717MnFhze','4457862UENCvX','145111DAlxhG','execute','656ydGWKS','2BjMCIk','ck-ai-tabs__resize\x20ck-ai-button-tertiary-text','1193220VyhiJx','set'];_0xcaae=function(){return _0x401980;};return _0xcaae();}
|