@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
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.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.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/ui/aichatballoonview.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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.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/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 +2 -2
- 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/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- 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/aimodels.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/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.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/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.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/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.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/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x526e(_0x16d5fd,_0x2f7888){const _0xa2b056=_0xa2b0();return _0x526e=function(_0x526e58,_0x2589e8){_0x526e58=_0x526e58-0x145;let _0x58f500=_0xa2b056[_0x526e58];return _0x58f500;},_0x526e(_0x16d5fd,_0x2f7888);}const _0x2ad7c7=_0x526e;(function(_0x3a1678,_0x4f8b0f){const _0x1a72ce=_0x526e,_0x3d7eb9=_0x3a1678();while(!![]){try{const _0x138e02=parseInt(_0x1a72ce(0x166))/0x1+-parseInt(_0x1a72ce(0x16b))/0x2*(-parseInt(_0x1a72ce(0x15e))/0x3)+-parseInt(_0x1a72ce(0x178))/0x4*(-parseInt(_0x1a72ce(0x146))/0x5)+parseInt(_0x1a72ce(0x159))/0x6*(-parseInt(_0x1a72ce(0x172))/0x7)+-parseInt(_0x1a72ce(0x157))/0x8+parseInt(_0x1a72ce(0x145))/0x9*(-parseInt(_0x1a72ce(0x149))/0xa)+-parseInt(_0x1a72ce(0x14d))/0xb*(-parseInt(_0x1a72ce(0x174))/0xc);if(_0x138e02===_0x4f8b0f)break;else _0x3d7eb9['push'](_0x3d7eb9['shift']());}catch(_0x2ac385){_0x3d7eb9['push'](_0x3d7eb9['shift']());}}}(_0xa2b0,0xa2cac));function _0xa2b0(){const _0x3e97fe=['ai-tabs-unsupported-ui-type','focusTracker','config','ai-tabs-configuration-not-found','overlay','pluginName','destroy','9328744JxgLyb','ai.container','18MUYOKh','switchSide','ai-tabs-sidebar-container-element-not-found','isPremiumPlugin','get','7737DgckUh','container','resize','visibleByDefault','showResizeButton','render','isMaximized','right','479049KgmKNd','isOfficialPlugin','sidebar','includes','remove','974PYRlBp','switchType','type','AITabs','context','bind','resizedTabs','2480954PQeNvC','locale','13164qrTorD','element','side','set','4vVbiQp','99UpwxhR','3097205scXmDU','ai-tabs-unsupported-ui-side','add','1066290UjhLDI','appendChild','view','custom','17193PwMybR','fire','body'];_0xa2b0=function(){return _0x3e97fe;};return _0xa2b0();}import{ContextPlugin as _0x1d5c4e,Editor as _0x18ac06}from'ckeditor5/src/core.js';import{CKEditorError as _0x4747ee}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x5787f5,AI_TABS_VIEW_SIDES as _0x5b4dca,AI_TABS_VIEW_TYPES as _0x1dd450}from'./aitabsmainview.js';export class AITabs extends _0x1d5c4e{[_0x2ad7c7(0x14b)];[_0x2ad7c7(0x15f)]=null;[_0x2ad7c7(0x162)]=!0x0;static get[_0x2ad7c7(0x155)](){const _0x425db4=_0x2ad7c7;return _0x425db4(0x16e);}static get[_0x2ad7c7(0x167)](){return!0x0;}static get[_0x2ad7c7(0x15c)](){return!0x0;}constructor(_0x50eaaf){const _0x1f26ca=_0x2ad7c7;super(_0x50eaaf);const _0x3a234d=this[_0x1f26ca(0x16f)][_0x1f26ca(0x152)][_0x1f26ca(0x15d)](_0x1f26ca(0x158));if(this[_0x1f26ca(0x177)](_0x1f26ca(0x176),_0x1f26ca(0x165)),!_0x3a234d)throw new _0x4747ee(_0x1f26ca(0x153));if(void 0x0!==_0x3a234d[_0x1f26ca(0x162)]&&(this[_0x1f26ca(0x162)]=_0x3a234d[_0x1f26ca(0x162)]),_0x1f26ca(0x168)!==_0x3a234d[_0x1f26ca(0x16d)]&&_0x1f26ca(0x154)!==_0x3a234d[_0x1f26ca(0x16d)]||_0x3a234d[_0x1f26ca(0x176)]&&(this[_0x1f26ca(0x176)]=_0x3a234d[_0x1f26ca(0x176)]),_0x1f26ca(0x168)===_0x3a234d[_0x1f26ca(0x16d)]){if(this[_0x1f26ca(0x15f)]=_0x3a234d[_0x1f26ca(0x175)],this[_0x1f26ca(0x177)](_0x1f26ca(0x16d),_0x1f26ca(0x168)),!this[_0x1f26ca(0x15f)])throw new _0x4747ee(_0x1f26ca(0x15b));}else _0x1f26ca(0x154)===_0x3a234d[_0x1f26ca(0x16d)]?(this[_0x1f26ca(0x15f)]=document[_0x1f26ca(0x14f)],this[_0x1f26ca(0x177)](_0x1f26ca(0x16d),_0x1f26ca(0x154))):(this[_0x1f26ca(0x15f)]=null,this[_0x1f26ca(0x177)](_0x1f26ca(0x16d),_0x1f26ca(0x14c)));this[_0x1f26ca(0x14b)]=new _0x5787f5(this[_0x1f26ca(0x16f)][_0x1f26ca(0x173)],{'side':this[_0x1f26ca(0x176)],'type':this[_0x1f26ca(0x16d)],'visibleByDefault':void 0x0===_0x3a234d[_0x1f26ca(0x161)]||_0x3a234d[_0x1f26ca(0x161)]}),this[_0x1f26ca(0x14b)][_0x1f26ca(0x163)](),this[_0x1f26ca(0x14b)][_0x1f26ca(0x170)](_0x1f26ca(0x176))['to'](this,_0x1f26ca(0x176)),this[_0x1f26ca(0x14b)][_0x1f26ca(0x170)](_0x1f26ca(0x16d))['to'](this,_0x1f26ca(0x16d)),this[_0x1f26ca(0x15f)]&&this[_0x1f26ca(0x15f)][_0x1f26ca(0x14a)](this[_0x1f26ca(0x14b)][_0x1f26ca(0x175)]),this[_0x1f26ca(0x16f)]instanceof _0x18ac06&&this[_0x1f26ca(0x16f)]['ui'][_0x1f26ca(0x151)][_0x1f26ca(0x148)](this[_0x1f26ca(0x14b)][_0x1f26ca(0x175)]);}[_0x2ad7c7(0x16c)](_0x2cd71b){const _0x8d4822=_0x2ad7c7;if(_0x2cd71b&&this[_0x8d4822(0x16d)]!==_0x2cd71b){if(!_0x1dd450[_0x8d4822(0x169)](_0x2cd71b))throw new _0x4747ee(_0x8d4822(0x150));this[_0x8d4822(0x16d)]=_0x2cd71b;}}[_0x2ad7c7(0x15a)](_0xca5b71){const _0xea7c77=_0x2ad7c7;if(_0xca5b71&&this[_0xea7c77(0x176)]!==_0xca5b71){if(!_0x5b4dca[_0xea7c77(0x169)](_0xca5b71))throw new _0x4747ee(_0xea7c77(0x147));this[_0xea7c77(0x176)]=_0xca5b71;}}[_0x2ad7c7(0x160)](){const _0x3dc069=_0x2ad7c7;this[_0x3dc069(0x14b)][_0x3dc069(0x164)]=!this[_0x3dc069(0x14b)][_0x3dc069(0x164)],this[_0x3dc069(0x14e)](_0x3dc069(0x171),this[_0x3dc069(0x14b)][_0x3dc069(0x164)]);}[_0x2ad7c7(0x156)](){const _0x20eeb9=_0x2ad7c7;super[_0x20eeb9(0x156)](),this[_0x20eeb9(0x14b)][_0x20eeb9(0x156)](),this[_0x20eeb9(0x14b)][_0x20eeb9(0x175)]&&this[_0x20eeb9(0x14b)][_0x20eeb9(0x175)][_0x20eeb9(0x16a)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x6740(_0xcdd79f,_0x40c5eb){const _0x26bfe2=_0x26bf();return _0x6740=function(_0x6740b4,_0x478f22){_0x6740b4=_0x6740b4-0xfa;let _0x4dece6=_0x26bfe2[_0x6740b4];return _0x4dece6;},_0x6740(_0xcdd79f,_0x40c5eb);}const _0x4816c8=_0x6740;(function(_0x9e24b6,_0x59979d){const _0x21a574=_0x6740,_0x52b670=_0x9e24b6();while(!![]){try{const _0x806294=parseInt(_0x21a574(0x10e))/0x1+-parseInt(_0x21a574(0x10f))/0x2*(-parseInt(_0x21a574(0x113))/0x3)+-parseInt(_0x21a574(0xfd))/0x4*(-parseInt(_0x21a574(0x106))/0x5)+-parseInt(_0x21a574(0x10d))/0x6+-parseInt(_0x21a574(0x110))/0x7*(-parseInt(_0x21a574(0xfe))/0x8)+-parseInt(_0x21a574(0x114))/0x9*(-parseInt(_0x21a574(0x108))/0xa)+parseInt(_0x21a574(0xfc))/0xb*(-parseInt(_0x21a574(0x10c))/0xc);if(_0x806294===_0x59979d)break;else _0x52b670['push'](_0x52b670['shift']());}catch(_0x114c95){_0x52b670['push'](_0x52b670['shift']());}}}(_0x26bf,0x3ec20));import{AITabsView as _0x128d51}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0x4816c8(0xff),_0x4816c8(0x109),_0x4816c8(0x112)];export const AI_TABS_VIEW_SIDES=[_0x4816c8(0x115),_0x4816c8(0x118)];function _0x26bf(){const _0x4ec500=['ck-ai-tabs','custom','450654dYZvBW','4091823ZMlFJH','left','buttonViews','withText','right','ck-ai-tabs__sidebar','add','188947fdfknU','96580YttRQJ','8xZRwxs','overlay','type','extendTemplate','set','visibleByDefault','side','ck-ai-tabs__overlay','5VZmBim','bindTemplate','10TJNeox','sidebar','ck-hidden','isVisible','612nVBwdt','2555874XfvdIX','210980OGsjSQ','6LTXKbk','2930452KHyRyr'];_0x26bf=function(){return _0x4ec500;};return _0x26bf();}export class AITabsMainView extends _0x128d51{constructor(_0x52295e,_0x3d7346={}){const _0x29ec06=_0x4816c8;super(_0x52295e,_0x3d7346),this[_0x29ec06(0x102)](_0x29ec06(0x100),_0x3d7346[_0x29ec06(0x100)]||_0x29ec06(0x109)),this[_0x29ec06(0x102)](_0x29ec06(0x104),_0x3d7346[_0x29ec06(0x104)]||_0x29ec06(0x118)),this[_0x29ec06(0x102)](_0x29ec06(0x10b),_0x3d7346[_0x29ec06(0x103)]??!0x0);const _0x29679d=this[_0x29ec06(0x107)];this[_0x29ec06(0x101)]({'attributes':{'class':[_0x29ec06(0x111),_0x29679d['if'](_0x29ec06(0x100),_0x29ec06(0x105),_0xb7d04d=>_0x29ec06(0xff)===_0xb7d04d),_0x29679d['if'](_0x29ec06(0x100),_0x29ec06(0xfa),_0x4ba1ee=>_0x29ec06(0x109)===_0x4ba1ee),_0x29679d['if'](_0x29ec06(0x10b),_0x29ec06(0x10a),_0x2c8ffc=>!_0x2c8ffc)]}}),this[_0x29ec06(0x116)]['on'](_0x29ec06(0xfb),(_0x2158d2,_0x25d47d)=>{const _0x25b07e=_0x29ec06;_0x25d47d[_0x25b07e(0x102)](_0x25b07e(0x117),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7d563f=_0x3ffc;(function(_0x357af3,_0x438492){const _0x5cb16b=_0x3ffc,_0x89f0fc=_0x357af3();while(!![]){try{const _0x19f508=-parseInt(_0x5cb16b(0xba))/0x1+-parseInt(_0x5cb16b(0xb4))/0x2*(parseInt(_0x5cb16b(0x83))/0x3)+parseInt(_0x5cb16b(0xbf))/0x4*(-parseInt(_0x5cb16b(0xc5))/0x5)+-parseInt(_0x5cb16b(0x88))/0x6+-parseInt(_0x5cb16b(0xbb))/0x7+parseInt(_0x5cb16b(0x96))/0x8*(-parseInt(_0x5cb16b(0xaa))/0x9)+-parseInt(_0x5cb16b(0x9d))/0xa*(-parseInt(_0x5cb16b(0xa2))/0xb);if(_0x19f508===_0x438492)break;else _0x89f0fc['push'](_0x89f0fc['shift']());}catch(_0x49c472){_0x89f0fc['push'](_0x89f0fc['shift']());}}}(_0x537f,0x82481));import{View as _0x1f53a6}from'ckeditor5/src/ui.js';import{toArray as _0x5da901,CKEditorError as _0xf6241a}from'ckeditor5/src/utils.js';function _0x3ffc(_0x274c4f,_0xc54844){const _0x537fe2=_0x537f();return _0x3ffc=function(_0x3ffc79,_0x2acba0){_0x3ffc79=_0x3ffc79-0x83;let _0x34cf5d=_0x537fe2[_0x3ffc79];return _0x34cf5d;},_0x3ffc(_0x274c4f,_0xc54844);}import{TabButtonView as _0x2c4b47}from'./tabbuttonview.js';import{TabPanelView as _0x32cb67}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x7d563f(0xcb),_0x7d563f(0x84),_0x7d563f(0x98)];function _0x537f(){const _0x449de3=['isOn','isMaximized','getTabIds','order','side','725944okxslZ','execute','getTab','button','_tabs','content','491783vUXmqP','4232060rMFxNX','buttonViews','ck-tabs__buttons-container','_showButton','285412aGzqsL','_hidePanel','_showPanel','ck-tabs__panels-container_','activateTab:','_setupButton','55DlEYbW','icon','activateTab','isVisible','div','get','top','panelViews','buttonLabel','showTab','addTab:','3vEaZFK','left','fire','buttonIcon','length','5470992gpDWpR','getIndex','reduce','ck-tabs__panels-container','keys','hideTab','_getPanel','add','hide','setTemplate','label','activeTab','ck-tabs','_getButton','256TZGfaM','ck-tabs_','right','children','show','locale','addTab','3242870UQxIMe','ck-ai-tabs_maximized','show:','class','createCollection','143PHmIUj','ck-reset','set','find','hide:','ui-tabsview-tab-not-found','bind','ck-tabs__buttons-container_','147951WxIofo','render','panel','_hideButton','bindTemplate'];_0x537f=function(){return _0x449de3;};return _0x537f();}export class AITabsView extends _0x1f53a6{[_0x7d563f(0xbc)]=this[_0x7d563f(0xa1)]();[_0x7d563f(0xcc)]=this[_0x7d563f(0xa1)]();[_0x7d563f(0xb8)]=new Map();constructor(_0x348045,_0x1314ea={}){const _0x34b4a1=_0x7d563f;super(_0x348045),this[_0x34b4a1(0xa4)](_0x34b4a1(0xa0),void 0x0),this[_0x34b4a1(0xa4)](_0x34b4a1(0x93),null),this[_0x34b4a1(0xa4)](_0x34b4a1(0xb3),_0x1314ea[_0x34b4a1(0xb3)]||_0x34b4a1(0xcb)),this[_0x34b4a1(0xa4)](_0x34b4a1(0xb0),!0x1);const _0x3ebabb=this[_0x34b4a1(0xae)];this[_0x34b4a1(0x91)]({'tag':_0x34b4a1(0xc9),'attributes':{'class':['ck',_0x34b4a1(0xa3),_0x34b4a1(0x94),..._0x5da901(_0x1314ea[_0x34b4a1(0xa0)]||[]),_0x3ebabb['to'](_0x34b4a1(0xb3),_0x286c23=>_0x34b4a1(0x97)+_0x286c23),_0x3ebabb['to'](_0x34b4a1(0xa0)),_0x3ebabb['to'](_0x34b4a1(0xb0),_0xca6b8d=>_0xca6b8d?_0x34b4a1(0x9e):'')],'tabindex':'0'},'children':[{'tag':_0x34b4a1(0xc9),'attributes':{'class':['ck',_0x34b4a1(0xbd),_0x3ebabb['to'](_0x34b4a1(0xb3),_0x2f2f00=>_0x34b4a1(0xa9)+_0x2f2f00)]},'children':this[_0x34b4a1(0xbc)]},{'tag':_0x34b4a1(0xc9),'attributes':{'class':['ck',_0x34b4a1(0x8b),_0x3ebabb['to'](_0x34b4a1(0xb3),_0x2eb3f0=>_0x34b4a1(0xc2)+_0x2eb3f0)]},'children':this[_0x34b4a1(0xcc)]},..._0x5da901(_0x1314ea[_0x34b4a1(0x99)]||[])]});}[_0x7d563f(0xb1)](){const _0x3a3031=_0x7d563f;return[...this[_0x3a3031(0xb8)][_0x3a3031(0x8c)]()];}[_0x7d563f(0xb6)](_0x427b2b){const _0x533ae7=_0x7d563f,_0x124925=this[_0x533ae7(0xb8)][_0x533ae7(0xca)](_0x427b2b);return _0x124925||null;}[_0x7d563f(0x9c)](_0x125739){const _0x399ae0=_0x7d563f,_0x429768=this[_0x399ae0(0xc4)]({'id':_0x125739['id'],'label':_0x125739[_0x399ae0(0xcd)],'icon':_0x125739[_0x399ae0(0x86)],'order':_0x125739[_0x399ae0(0xb2)]}),_0x30c8e2=new _0x32cb67(this[_0x399ae0(0x9b)]);return _0x30c8e2[_0x399ae0(0xab)](),_0x125739[_0x399ae0(0xb9)]&&_0x30c8e2[_0x399ae0(0x99)][_0x399ae0(0x8f)](_0x125739[_0x399ae0(0xb9)]),this[_0x399ae0(0xcc)][_0x399ae0(0x8f)](_0x30c8e2),this[_0x399ae0(0xb8)][_0x399ae0(0xa4)](_0x125739['id'],{'button':_0x429768,'panel':_0x30c8e2,'order':void 0x0!==_0x125739[_0x399ae0(0xb2)]?_0x125739[_0x399ae0(0xb2)]:null}),this[_0x399ae0(0x85)](_0x399ae0(0xcf)+_0x125739['id'],{'id':_0x125739['id'],'button':_0x429768,'panel':_0x30c8e2}),null===this[_0x399ae0(0x93)]?this[_0x399ae0(0xc7)](_0x125739['id']):this[_0x399ae0(0xc0)](_0x125739['id']),{'button':_0x429768,'panel':_0x30c8e2};}[_0x7d563f(0xc7)](_0x21b0f7){const _0x3cbb06=_0x7d563f;if(null!==_0x21b0f7&&!this[_0x3cbb06(0xb6)](_0x21b0f7))throw new _0xf6241a(_0x3cbb06(0xa7),{'tabs':this,'tabId':_0x21b0f7});this[_0x3cbb06(0x93)]!==_0x21b0f7&&(this[_0x3cbb06(0x93)]&&this[_0x3cbb06(0xc0)](this[_0x3cbb06(0x93)]),this[_0x3cbb06(0x93)]=_0x21b0f7,_0x21b0f7&&this[_0x3cbb06(0xc1)](_0x21b0f7),this[_0x3cbb06(0x85)](_0x3cbb06(0xc3)+_0x21b0f7,_0x21b0f7));}[_0x7d563f(0xce)](_0x7fb5d1){const _0x1b7a5e=_0x7d563f;if(!this[_0x1b7a5e(0xb6)](_0x7fb5d1))throw new _0xf6241a(_0x1b7a5e(0xa7),{'tabs':this,'tabId':_0x7fb5d1});this[_0x1b7a5e(0xc1)](_0x7fb5d1),this[_0x1b7a5e(0xbe)](_0x7fb5d1),this[_0x1b7a5e(0x85)](_0x1b7a5e(0x9f)+_0x7fb5d1,_0x7fb5d1);}[_0x7d563f(0x8d)](_0x4c7373){const _0x4db49d=_0x7d563f;if(!this[_0x4db49d(0xb6)](_0x4c7373))throw new _0xf6241a(_0x4db49d(0xa7),{'tabs':this,'tabId':_0x4c7373});const _0x423237=this[_0x4db49d(0x93)];this[_0x4db49d(0xc0)](_0x4c7373),this[_0x4db49d(0xad)](_0x4c7373);const _0x35b52b=this[_0x4db49d(0xb1)]();_0x423237===_0x4c7373&&_0x35b52b[_0x4db49d(0x87)]>0x1&&this[_0x4db49d(0xc7)](_0x35b52b[_0x4db49d(0xa5)](_0x248827=>_0x248827!==_0x4c7373)),this[_0x4db49d(0x85)](_0x4db49d(0xa6)+_0x4c7373,_0x4c7373);}[_0x7d563f(0x8e)](_0x2d1475){const _0x57c08b=_0x7d563f,_0x1ea9e6=this[_0x57c08b(0xb8)][_0x57c08b(0xca)](_0x2d1475);return _0x1ea9e6?_0x1ea9e6[_0x57c08b(0xac)]:null;}[_0x7d563f(0xc1)](_0x5ef260){const _0x3e6d0c=_0x7d563f;null!==this[_0x3e6d0c(0x93)]&&this[_0x3e6d0c(0x93)]!==_0x5ef260||this[_0x3e6d0c(0x8e)](_0x5ef260)[_0x3e6d0c(0x9a)]();}[_0x7d563f(0xc0)](_0x2ca079){const _0x290368=_0x7d563f,_0x58a592=this[_0x290368(0x8e)](_0x2ca079);_0x58a592[_0x290368(0xc8)]&&(this[_0x290368(0x93)]===_0x2ca079&&(this[_0x290368(0x93)]=null),_0x58a592[_0x290368(0x90)]());}[_0x7d563f(0x95)](_0x5c469b){const _0x304d6b=_0x7d563f,_0x3eb44b=this[_0x304d6b(0xb8)][_0x304d6b(0xca)](_0x5c469b);return _0x3eb44b?_0x3eb44b[_0x304d6b(0xb7)]:null;}[_0x7d563f(0xbe)](_0x3801c6){const _0x3196c0=_0x7d563f;this[_0x3196c0(0x95)](_0x3801c6)[_0x3196c0(0x9a)]();}[_0x7d563f(0xad)](_0x1c0d16){const _0x46ae1a=_0x7d563f;this[_0x46ae1a(0x95)](_0x1c0d16)[_0x46ae1a(0x90)]();}[_0x7d563f(0xc4)](_0x39ce43){const _0x1aa14a=_0x7d563f,_0x1000c8=new _0x2c4b47(this[_0x1aa14a(0x9b)],{'side':this[_0x1aa14a(0xb3)]}),_0x636b4=this[_0x1aa14a(0xbc)];if(_0x1000c8[_0x1aa14a(0xa4)]({'label':_0x39ce43[_0x1aa14a(0x92)],'icon':_0x39ce43[_0x1aa14a(0xc6)],'tooltip':!0x0,'withText':!0x0}),_0x1000c8[_0x1aa14a(0xa8)](_0x1aa14a(0xaf))['to'](this,_0x1aa14a(0x93),_0x51d0d5=>_0x51d0d5===_0x39ce43['id']),_0x1000c8[_0x1aa14a(0xa8)](_0x1aa14a(0xb3))['to'](this,_0x1aa14a(0xb3)),_0x39ce43[_0x1aa14a(0xb2)]){const _0x5a8d42=[...this[_0x1aa14a(0xb8)]][_0x1aa14a(0x8a)]((_0x24b3b2,_0x227cba)=>{const _0x376e89=_0x1aa14a,_0x2ef006=_0x227cba[0x0],{order:_0x23b507}=_0x227cba[0x1];return!_0x23b507||_0x23b507>_0x39ce43[_0x376e89(0xb2)]?_0x24b3b2:_0x23b507>=_0x24b3b2[_0x376e89(0xb2)]?{'id':_0x2ef006,'order':_0x23b507}:_0x24b3b2;},{'id':'','order':0x0}),_0x1d0985=_0x636b4[_0x1aa14a(0x89)](this[_0x1aa14a(0x95)](_0x5a8d42['id']));_0x636b4[_0x1aa14a(0x8f)](_0x1000c8,_0x1d0985+0x1);}else _0x636b4[_0x1aa14a(0x8f)](_0x1000c8);return _0x1000c8['on'](_0x1aa14a(0xb5),()=>{const _0x527064=_0x1aa14a;this[_0x527064(0xc7)](_0x39ce43['id']);}),_0x1000c8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x26ca(_0x22767e,_0x3bc163){const _0x2fad54=_0x2fad();return _0x26ca=function(_0x26ca91,_0x581e79){_0x26ca91=_0x26ca91-0x92;let _0x56b426=_0x2fad54[_0x26ca91];return _0x56b426;},_0x26ca(_0x22767e,_0x3bc163);}const _0x2b7fbd=_0x26ca;(function(_0x566bc8,_0x5227af){const _0x686026=_0x26ca,_0x5d960b=_0x566bc8();while(!![]){try{const _0x54abf6=parseInt(_0x686026(0xa8))/0x1*(-parseInt(_0x686026(0xa2))/0x2)+parseInt(_0x686026(0xa5))/0x3*(parseInt(_0x686026(0x99))/0x4)+parseInt(_0x686026(0x93))/0x5+-parseInt(_0x686026(0x9c))/0x6+parseInt(_0x686026(0x96))/0x7*(-parseInt(_0x686026(0x97))/0x8)+parseInt(_0x686026(0x9d))/0x9*(parseInt(_0x686026(0x9a))/0xa)+parseInt(_0x686026(0xa4))/0xb*(parseInt(_0x686026(0x95))/0xc);if(_0x54abf6===_0x5227af)break;else _0x5d960b['push'](_0x5d960b['shift']());}catch(_0x3725c8){_0x5d960b['push'](_0x5d960b['shift']());}}}(_0x2fad,0x9dac5));import{ButtonView as _0xb97d09}from'ckeditor5/src/ui.js';function _0x2fad(){const _0xf32c7e=['5488OxkKlZ','ck-tab-button_','477686DpecnJ','4926bxdxVc','extendTemplate','isVisible','97CtLHTz','side','class','2123065ifOAeG','bindTemplate','348vHmFvw','49XBGUZm','1178472SyDHcH','hide','1780ygfzdp','41110RqiVHR','top','5764236qDsaHb','1071UJgaPy','set','isToggleable','show','ck-tab-button'];_0x2fad=function(){return _0xf32c7e;};return _0x2fad();}import{toArray as _0xebb75d}from'ckeditor5/src/utils.js';import'../../../theme/aitabs/tabs/tabbuttonview.css';export class TabButtonView extends _0xb97d09{constructor(_0x43a2c0,_0x4e75f3={}){const _0x3d239f=_0x26ca;super(_0x43a2c0),this[_0x3d239f(0x9f)]=!0x0,this[_0x3d239f(0x9e)](_0x3d239f(0xa9),_0x4e75f3[_0x3d239f(0xa9)]||_0x3d239f(0x9b));const _0xe2abc6=this[_0x3d239f(0x94)];this[_0x3d239f(0xa6)]({'attributes':{'class':[_0x3d239f(0xa1),..._0xebb75d(_0x4e75f3[_0x3d239f(0x92)]||[]),_0xe2abc6['to'](_0x3d239f(0xa9),_0x521aae=>_0x3d239f(0xa3)+_0x521aae),_0xe2abc6['to'](_0x3d239f(0x92))]}});}[_0x2b7fbd(0xa0)](){const _0x4e88ea=_0x2b7fbd;this[_0x4e88ea(0x9e)](_0x4e88ea(0xa7),!0x0);}[_0x2b7fbd(0x98)](){const _0x176d78=_0x2b7fbd;this[_0x176d78(0x9e)](_0x176d78(0xa7),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x432896=_0xe34a;function _0xe34a(_0xfb4fbf,_0x54eec3){const _0x9fe53b=_0x9fe5();return _0xe34a=function(_0xe34aba,_0x12f2ac){_0xe34aba=_0xe34aba-0x181;let _0x5be371=_0x9fe53b[_0xe34aba];return _0x5be371;},_0xe34a(_0xfb4fbf,_0x54eec3);}(function(_0x38b5b0,_0x40c83c){const _0x107db3=_0xe34a,_0x4a4fef=_0x38b5b0();while(!![]){try{const _0x188323=-parseInt(_0x107db3(0x182))/0x1+parseInt(_0x107db3(0x192))/0x2*(parseInt(_0x107db3(0x181))/0x3)+parseInt(_0x107db3(0x189))/0x4+parseInt(_0x107db3(0x191))/0x5+-parseInt(_0x107db3(0x18d))/0x6*(-parseInt(_0x107db3(0x18b))/0x7)+parseInt(_0x107db3(0x18a))/0x8*(parseInt(_0x107db3(0x195))/0x9)+-parseInt(_0x107db3(0x193))/0xa;if(_0x188323===_0x40c83c)break;else _0x4a4fef['push'](_0x4a4fef['shift']());}catch(_0x1754c0){_0x4a4fef['push'](_0x4a4fef['shift']());}}}(_0x9fe5,0x68fba));import{View as _0x30fc7c}from'ckeditor5/src/ui.js';function _0x9fe5(){const _0x2baed0=['class','6vjzlbE','hide','show','isVisible','79275PCSJzY','970mjbMmC','1005230JyzqrX','bindTemplate','72VpsnMW','setTemplate','102qVLjMg','234481kBcUJJ','ck-tab-panel','div','children','set','ck-hidden','createCollection','742216SiUBEw','144744iCfwtw','2816597luBZgX'];_0x9fe5=function(){return _0x2baed0;};return _0x9fe5();}import{toArray as _0x4fd71d}from'ckeditor5/src/utils.js';export class TabPanelView extends _0x30fc7c{[_0x432896(0x185)];constructor(_0x1f9146,_0x336ca6={}){const _0x3a3031=_0x432896;super(_0x1f9146);const _0x5e6350=this[_0x3a3031(0x194)];this[_0x3a3031(0x186)](_0x3a3031(0x190),!0x1),this[_0x3a3031(0x186)](_0x3a3031(0x18c),''),this[_0x3a3031(0x185)]=this[_0x3a3031(0x188)](),this[_0x3a3031(0x196)]({'tag':_0x3a3031(0x184),'attributes':{'class':[_0x3a3031(0x183),..._0x4fd71d(_0x336ca6[_0x3a3031(0x18c)]||[]),_0x5e6350['to'](_0x3a3031(0x18c)),_0x5e6350['if'](_0x3a3031(0x190),_0x3a3031(0x187),_0x153ae0=>!_0x153ae0)]},'children':this[_0x3a3031(0x185)]});}[_0x432896(0x18f)](){const _0x397d10=_0x432896;this[_0x397d10(0x186)](_0x397d10(0x190),!0x0);}[_0x432896(0x18e)](){const _0x4e90a2=_0x432896;this[_0x4e90a2(0x186)](_0x4e90a2(0x190),!0x1);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4cd4be=_0x1f0a;(function(_0x367efd,_0x51bf9a){var _0x71c449=_0x1f0a,_0x37a1c2=_0x367efd();while(!![]){try{var _0x2913da=parseInt(_0x71c449(0x163))/0x1*(-parseInt(_0x71c449(0x168))/0x2)+-parseInt(_0x71c449(0x161))/0x3*(parseInt(_0x71c449(0x15d))/0x4)+-parseInt(_0x71c449(0x15f))/0x5*(-parseInt(_0x71c449(0x166))/0x6)+-parseInt(_0x71c449(0x15b))/0x7+-parseInt(_0x71c449(0x167))/0x8+parseInt(_0x71c449(0x15a))/0x9*(-parseInt(_0x71c449(0x162))/0xa)+parseInt(_0x71c449(0x160))/0xb;if(_0x2913da===_0x51bf9a)break;else _0x37a1c2['push'](_0x37a1c2['shift']());}catch(_0x3e1016){_0x37a1c2['push'](_0x37a1c2['shift']());}}}(_0x2a0b,0xb6ada));import{ContextPlugin as _0x529f9a}from'ckeditor5/src/core.js';import{AITranslateController as _0x35dd25}from'./aitranslatecontroller.js';function _0x1f0a(_0x3bd9ac,_0x21c6dc){var _0x2a0b25=_0x2a0b();return _0x1f0a=function(_0x1f0a1d,_0x4574b1){_0x1f0a1d=_0x1f0a1d-0x15a;var _0x43ab31=_0x2a0b25[_0x1f0a1d];return _0x43ab31;},_0x1f0a(_0x3bd9ac,_0x21c6dc);}function _0x2a0b(){var _0x3976cd=['6869768WNTIlw','168YbghZo','pluginName','2540997JfViDM','5316003HogeIz','requires','544540aslgrv','isPremiumPlugin','7955aNuMfX','52433568PQnGbA','15lUmgYP','40CJjIoU','8031ZjdPZS','AITranslate','isOfficialPlugin','318PhRTEF'];_0x2a0b=function(){return _0x3976cd;};return _0x2a0b();}import{AITranslateUI as _0x28c417}from'./aitranslateui.js';import{AIReviewCoreEditing as _0x35c52b}from'../aireviewcore/aireviewcoreediting.js';export class AITranslate extends _0x529f9a{static get[_0x4cd4be(0x15c)](){return[_0x35dd25,_0x28c417,_0x35c52b];}static get[_0x4cd4be(0x169)](){var _0x1eef63=_0x4cd4be;return _0x1eef63(0x164);}static get[_0x4cd4be(0x165)](){return!0x0;}static get[_0x4cd4be(0x15e)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x108125=_0x5746;function _0x5746(_0x13ef4a,_0x40f575){const _0x2c0ad1=_0x2c0a();return _0x5746=function(_0x574652,_0x35873a){_0x574652=_0x574652-0x149;let _0x2e8861=_0x2c0ad1[_0x574652];return _0x2e8861;},_0x5746(_0x13ef4a,_0x40f575);}(function(_0x204578,_0x62224b){const _0x267363=_0x5746,_0x58d8c9=_0x204578();while(!![]){try{const _0x72e965=parseInt(_0x267363(0x18c))/0x1+parseInt(_0x267363(0x179))/0x2*(parseInt(_0x267363(0x195))/0x3)+parseInt(_0x267363(0x14d))/0x4+-parseInt(_0x267363(0x165))/0x5*(parseInt(_0x267363(0x19f))/0x6)+parseInt(_0x267363(0x153))/0x7*(parseInt(_0x267363(0x178))/0x8)+parseInt(_0x267363(0x1a7))/0x9+-parseInt(_0x267363(0x198))/0xa;if(_0x72e965===_0x62224b)break;else _0x58d8c9['push'](_0x58d8c9['shift']());}catch(_0x191e90){_0x58d8c9['push'](_0x58d8c9['shift']());}}}(_0x2c0a,0x521b4));import{AIReviewCoreController as _0x21f227}from'../aireviewcore/aireviewcorecontroller.js';import{AITranslateCheckList as _0x46cbeb}from'./model/aitranslatechecklist.js';function _0x2c0a(){const _0x5830e6=['params','title','push','replaceAll','removeClass','document','locale','getRoot','chinese','_getTranslationWithDefault','_onCheckRunFinished','origin','deactivateChange','_changeActivationSource','_currentReviewCheckRun','setMarkersInElementAsActive','26715Ghuxpk','spanish','_onChangeMarkerBlurred','reactivateMarkers','_getChecksList','getEditor','English','Russian','pluginName','activateChange','AITranslateUI','setupChecks','map','_aiReviewCoreEditing','_onDeactivateChange','Chinese\x20(Simplified)','_scrollToChange','diffContent','russian','37672GFiEmf','2CWIgFt','_onReviewCheckResultDeactivated','changeId','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','resetActiveStateInResults','_initRequiredPlugins','startsWith','change','portuguese','addClass','panel','_markChangePositionInEditorContent','getDocumentData','define','Portuguese','_diffContent','get','_getChangeContentElement','AITranslateController','140468JHyeTO','_onChangeMarkerClicked','_onActivateChange','_aiReviewCoreUi','Japanese','editing','Spanish','label','uiInteraction','1724262oheZQY','_onReviewRunLeave','content','11397440Oplxfm','_onReviewCheckResultActivated','Italian','korean','Korean','setAllMarkersAsInactive','hover','552oxUwSO','view','German','japanese','AI_REVIEW_CHECK_TRANSLATE_TITLE','setActiveStateInResults','_onChangeMarkerHovered','_createReviewCheckRun','5056470SNGRtG','toUpperCase','plugins','german','_aiConnector','getContentElementForChange','AIReviewCoreEditing','French','click','english','context','_onReviewCheckRun','french','ck-ai-review-','args','_translateChecks','getClassNames','972804UEIgCy','ai.translate.languages','ck-ai-translate-','ck-ai-translate-mode-content','markChangePositionInEditorContent','config','665BHoall','italian'];_0x2c0a=function(){return _0x5830e6;};return _0x2c0a();}import{AITranslateCheckRun as _0x5c20e0}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x57eda4}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x21f227{static get[_0x108125(0x16d)](){const _0xec887d=_0x108125;return _0xec887d(0x18b);}constructor(_0x26ec9f){const _0x5bb078=_0x108125;super(_0x26ec9f),this[_0x5bb078(0x1b1)][_0x5bb078(0x152)][_0x5bb078(0x186)](_0x5bb078(0x14e),[{'label':_0x5bb078(0x16b),'id':_0x5bb078(0x1b0)},{'label':_0x5bb078(0x192),'id':_0x5bb078(0x166)},{'label':_0x5bb078(0x1ae),'id':_0x5bb078(0x1b3)},{'label':_0x5bb078(0x1a1),'id':_0x5bb078(0x1aa)},{'label':_0x5bb078(0x174),'id':_0x5bb078(0x15d)},{'label':_0x5bb078(0x190),'id':_0x5bb078(0x1a2)},{'label':_0x5bb078(0x16c),'id':_0x5bb078(0x177)},{'label':_0x5bb078(0x187),'id':_0x5bb078(0x181)},{'label':_0x5bb078(0x19c),'id':_0x5bb078(0x19b)},{'label':_0x5bb078(0x19a),'id':_0x5bb078(0x154)}]);}[_0x108125(0x15f)](){const _0xdb80ee=_0x108125;this[_0xdb80ee(0x196)](!0x0);}[_0x108125(0x17e)](){const _0x4fb3e6=_0x108125;super[_0x4fb3e6(0x17e)](),this[_0x4fb3e6(0x18f)]=this[_0x4fb3e6(0x1b1)][_0x4fb3e6(0x1a9)][_0x4fb3e6(0x189)](_0x4fb3e6(0x16f)),this[_0x4fb3e6(0x172)]=this[_0x4fb3e6(0x1b1)][_0x4fb3e6(0x1a9)][_0x4fb3e6(0x189)](_0x4fb3e6(0x1ad));}[_0x108125(0x1a6)](_0x2f1984,_0x39da9e){const _0x793e5a=_0x108125;return new _0x5c20e0(this[_0x793e5a(0x172)][_0x793e5a(0x185)](),_0x39da9e,this[_0x793e5a(0x1ab)],_0x57eda4(this[_0x793e5a(0x1b1)][_0x793e5a(0x15b)],_0x793e5a(0x1a3)),_0x2f1984[_0x793e5a(0x155)],_0x2f1984[_0x793e5a(0x14a)]);}[_0x108125(0x199)](_0x14136c){const _0x35cfb5=_0x108125;this[_0x35cfb5(0x18f)][_0x35cfb5(0x1a4)](_0x14136c[_0x35cfb5(0x180)]['id']),this[_0x35cfb5(0x172)][_0x35cfb5(0x164)](_0x14136c[_0x35cfb5(0x180)]['id']);}[_0x108125(0x17a)](){const _0x4f54a0=_0x108125;this[_0x4f54a0(0x172)][_0x4f54a0(0x19d)](),this[_0x4f54a0(0x18f)][_0x4f54a0(0x17d)]();}[_0x108125(0x18e)](_0x5ba969){const _0x4e72d6=_0x108125;this[_0x4e72d6(0x163)]&&(_0x4e72d6(0x19e)===_0x5ba969[_0x4e72d6(0x194)]&&(this[_0x4e72d6(0x162)]=_0x4e72d6(0x183),this[_0x4e72d6(0x163)][_0x4e72d6(0x16e)](_0x5ba969['id'])),_0x4e72d6(0x1af)===_0x5ba969[_0x4e72d6(0x194)]&&this[_0x4e72d6(0x175)](_0x5ba969['id']));}[_0x108125(0x173)](_0x1f0208){const _0x56d222=_0x108125;this[_0x56d222(0x163)]&&_0x56d222(0x183)===_0x1f0208[_0x56d222(0x160)]&&this[_0x56d222(0x163)][_0x56d222(0x161)]();}[_0x108125(0x18d)](_0x3c8095,_0x195c78){const _0xbeb2cf=_0x108125;this[_0xbeb2cf(0x163)]&&(this[_0xbeb2cf(0x162)]=_0xbeb2cf(0x197),this[_0xbeb2cf(0x163)][_0xbeb2cf(0x16e)](_0x195c78[_0xbeb2cf(0x17b)]),this[_0xbeb2cf(0x175)](_0x195c78[_0xbeb2cf(0x17b)]));}[_0x108125(0x1a5)](_0x213d3c,_0x4cf0f3){const _0x4c962d=_0x108125;this[_0x4c962d(0x163)]&&(this[_0x4c962d(0x162)]=_0x4c962d(0x197),this[_0x4c962d(0x163)][_0x4c962d(0x16e)](_0x4cf0f3[_0x4c962d(0x17b)]),this[_0x4c962d(0x172)][_0x4c962d(0x168)](_0x4cf0f3[_0x4c962d(0x17b)]));}[_0x108125(0x167)](){const _0x316e50=_0x108125;this[_0x316e50(0x163)]&&_0x316e50(0x197)===this[_0x316e50(0x162)]&&(this[_0x316e50(0x163)][_0x316e50(0x161)](),this[_0x316e50(0x172)][_0x316e50(0x19d)]());}[_0x108125(0x18a)](_0x103623){const _0x4a588e=_0x108125;return this[_0x4a588e(0x172)][_0x4a588e(0x1ac)](_0x103623);}[_0x108125(0x184)](_0x3092ff,_0x1b1523){const _0x129264=_0x108125;this[_0x129264(0x172)][_0x129264(0x151)](_0x3092ff,_0x1b1523);}[_0x108125(0x188)](_0x429b72,_0x33eebc){const _0x278909=_0x108125;return this[_0x278909(0x172)][_0x278909(0x176)](_0x429b72,_0x33eebc,!0x0);}[_0x108125(0x1b2)](){const _0x212a28=_0x108125,_0xaaf543=this[_0x212a28(0x172)][_0x212a28(0x16a)]();_0xaaf543&&_0xaaf543[_0x212a28(0x191)][_0x212a28(0x1a0)][_0x212a28(0x180)](_0x1d9617=>{const _0x563229=_0x212a28,_0x5083ad=_0xaaf543[_0x563229(0x191)][_0x563229(0x1a0)][_0x563229(0x15a)][_0x563229(0x15c)]();for(const _0x4164d5 of _0x5083ad[_0x563229(0x14c)]())(_0x4164d5[_0x563229(0x17f)](_0x563229(0x149))||_0x563229(0x14f)===_0x4164d5)&&_0x1d9617[_0x563229(0x159)](_0x4164d5,_0x5083ad);_0x1d9617[_0x563229(0x182)](_0x563229(0x150),_0x5083ad);});}async[_0x108125(0x169)](){const _0x46970e=_0x108125,_0x3e2960=[],_0x698fdd=this[_0x46970e(0x1b1)][_0x46970e(0x152)][_0x46970e(0x189)](_0x46970e(0x14e))||[];for(const _0x1aa8cd of _0x698fdd)_0x3e2960[_0x46970e(0x157)]({'title':_0x1aa8cd[_0x46970e(0x193)],'id':_0x1aa8cd['id'],'commandId':_0x1aa8cd['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x1aa8cd['id']}});const _0x386d95=new _0x46cbeb();return _0x386d95[_0x46970e(0x170)](this[_0x46970e(0x14b)](_0x3e2960)),_0x386d95;}[_0x108125(0x14b)](_0x1eb567){const _0x2fd5bd=_0x108125;return _0x1eb567[_0x2fd5bd(0x171)](_0x13c83e=>{const _0x2b0785=_0x2fd5bd,_0x30d3fb=_0x2b0785(0x17c)+_0x13c83e[_0x2b0785(0x156)][_0x2b0785(0x1a8)]()[_0x2b0785(0x158)]('-','_');return{..._0x13c83e,'title':this[_0x2b0785(0x15e)](_0x30d3fb,_0x13c83e[_0x2b0785(0x156)])};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57ddf2=_0x196b;(function(_0x1ecb1b,_0x26245d){const _0x2b687b=_0x196b,_0x38ac55=_0x1ecb1b();while(!![]){try{const _0x337a22=-parseInt(_0x2b687b(0xc1))/0x1*(-parseInt(_0x2b687b(0xc8))/0x2)+parseInt(_0x2b687b(0xae))/0x3*(parseInt(_0x2b687b(0xbd))/0x4)+parseInt(_0x2b687b(0xbe))/0x5+parseInt(_0x2b687b(0xbb))/0x6+-parseInt(_0x2b687b(0xb5))/0x7*(-parseInt(_0x2b687b(0xca))/0x8)+-parseInt(_0x2b687b(0xa9))/0x9*(parseInt(_0x2b687b(0xb2))/0xa)+-parseInt(_0x2b687b(0xaa))/0xb;if(_0x337a22===_0x26245d)break;else _0x38ac55['push'](_0x38ac55['shift']());}catch(_0x19df02){_0x38ac55['push'](_0x38ac55['shift']());}}}(_0x179d,0xe68d2));function _0x196b(_0x21fcbb,_0x1a503d){const _0x179d25=_0x179d();return _0x196b=function(_0x196bcf,_0x5d8c15){_0x196bcf=_0x196bcf-0xa8;let _0x45cfc0=_0x179d25[_0x196bcf];return _0x45cfc0;},_0x196b(_0x21fcbb,_0x1a503d);}import{FormHeaderView as _0x3a7b99}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x1a6075}from'ckeditor5/src/icons.js';import{getTranslation as _0x1a240a}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x5dd37d}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x23c0b5}from'../aireviewcore/ui/aireviewcoreview.js';import{AITranslateCheckResultsView as _0x1f6e56}from'./ui/aitranslatecheckresultsview.js';function _0x179d(){const _0x4c3681=['activateTab','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','7smKnWv','AI_REVIEW_CHECK_TRANSLATE_TITLE','ck-ai-header\x20ck-ai-header_review-translate','context','pluginName','addTab','2627778OmSJbB','getReviewCheckList','4996uWRApY','7383895tUczRW','AI_TRANSLATE_FINISH_HEADER_TITLE','ck-ai-translate-mode','30LIUXQz','_mainView','registerTab','fire','createMainView','AITabs','plugins','124322WmZIJr','translate','256584GREwaU','AI_TRANSLATE_EMPTY_RESULTS_TEXT','AITranslateUI','621PnKpxl','20328594YTiWrV','AI_TRANSLATE_FINISH_BUTTON_LABEL','get','extendTemplate','36FmaWIy','leaveReview','locale','view','149890MrzzCa'];_0x179d=function(){return _0x4c3681;};return _0x179d();}import'../../theme/aitranslate/aitranslate.css';import{AIReviewCoreReviewCompletedView as _0x36f3e0}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x5a55b1}from'./ui/aitranslatechecklistview.js';export class AITranslateUI extends _0x5dd37d{static get[_0x57ddf2(0xb9)](){const _0x1716a1=_0x57ddf2;return _0x1716a1(0xa8);}[_0x57ddf2(0xc5)](){const _0x160bb8=_0x57ddf2,_0x14fcb9=this[_0x160bb8(0xb8)][_0x160bb8(0xb0)],_0x13878b=new _0x3a7b99(_0x14fcb9,{'label':_0x1a240a(_0x14fcb9,_0x160bb8(0xb6)),'icon':_0x1a6075,'class':_0x160bb8(0xb7)}),_0x5e9de4=new _0x23c0b5(_0x14fcb9,{'header':_0x13878b,'list':new _0x5a55b1(_0x14fcb9),'results':new _0x1f6e56(_0x14fcb9,{'generalErrorText':_0x1a240a(_0x14fcb9,_0x160bb8(0xb4))}),'completed':new _0x36f3e0(_0x14fcb9,{'headerText':_0x1a240a(_0x14fcb9,_0x160bb8(0xbf)),'emptyResultsText':_0x1a240a(_0x14fcb9,_0x160bb8(0xcb)),'buttonText':_0x1a240a(_0x14fcb9,_0x160bb8(0xab))})});return _0x5e9de4[_0x160bb8(0xad)]({'attributes':{'class':_0x160bb8(0xc0)}}),_0x5e9de4;}[_0x57ddf2(0xc3)](){const _0x3c7c4=_0x57ddf2,_0x38d702=this[_0x3c7c4(0xb8)][_0x3c7c4(0xc7)][_0x3c7c4(0xac)](_0x3c7c4(0xc6));_0x38d702[_0x3c7c4(0xb1)]['on'](_0x3c7c4(0xb3),(_0x24a7b4,_0x4d9c71)=>{const _0xca5430=_0x3c7c4;_0xca5430(0xc9)===_0x4d9c71?this[_0xca5430(0xc4)](_0xca5430(0xbc)):this[_0xca5430(0xc4)](_0xca5430(0xaf));}),_0x38d702[_0x3c7c4(0xb1)][_0x3c7c4(0xba)]({'id':_0x3c7c4(0xc9),'buttonLabel':_0x1a240a(this[_0x3c7c4(0xb8)][_0x3c7c4(0xb0)],_0x3c7c4(0xb6)),'buttonIcon':_0x1a6075,'order':0x0,'content':this[_0x3c7c4(0xc2)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5b9d(_0x37ca68,_0x3026b2){var _0x5a5d3c=_0x5a5d();return _0x5b9d=function(_0x5b9d8e,_0x569780){_0x5b9d8e=_0x5b9d8e-0xfb;var _0x7ae5de=_0x5a5d3c[_0x5b9d8e];return _0x7ae5de;},_0x5b9d(_0x37ca68,_0x3026b2);}var _0x32eed5=_0x5b9d;(function(_0x5ab95d,_0x31754c){var _0x408cc9=_0x5b9d,_0x37b2a9=_0x5ab95d();while(!![]){try{var _0x2a6f23=-parseInt(_0x408cc9(0x101))/0x1+parseInt(_0x408cc9(0xff))/0x2+parseInt(_0x408cc9(0x104))/0x3+parseInt(_0x408cc9(0x103))/0x4+-parseInt(_0x408cc9(0x100))/0x5*(parseInt(_0x408cc9(0x102))/0x6)+parseInt(_0x408cc9(0xfc))/0x7+-parseInt(_0x408cc9(0xfb))/0x8;if(_0x2a6f23===_0x31754c)break;else _0x37b2a9['push'](_0x37b2a9['shift']());}catch(_0x2a8495){_0x37b2a9['push'](_0x37b2a9['shift']());}}}(_0x5a5d,0xab2c6));import{AIReviewCheck as _0x3b6592}from'../../aireviewcore/model/aireviewcheck.js';export class AITranslateCheck extends _0x3b6592{get[_0x32eed5(0xfe)](){var _0x54dd18=_0x32eed5;return _0x54dd18(0xfd);}}function _0x5a5d(){var _0x5307cd=['1251330yfJLcj','40776tngfyb','4203248wHCmqo','3268674DUXqXR','16238952zEhMXJ','6790175EjazDA','translate','apiId','2328316WUWVob','215uptXHJ'];_0x5a5d=function(){return _0x5307cd;};return _0x5a5d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5abc44=_0x37b6;function _0x1d40(){var _0x2601cc=['183hXyoqm','11580eAjOus','1730328xhCnmY','559922SrAjlK','28820YBzvfQ','5966345CMAjIL','map','_checks','455JLWWXP','31524651kYIYoR','setupChecks','2810736AVKxRD'];_0x1d40=function(){return _0x2601cc;};return _0x1d40();}(function(_0x415bcb,_0x326f21){var _0x23b4f9=_0x37b6,_0x13653a=_0x415bcb();while(!![]){try{var _0x18b520=-parseInt(_0x23b4f9(0xe0))/0x1+-parseInt(_0x23b4f9(0xde))/0x2*(parseInt(_0x23b4f9(0xdd))/0x3)+-parseInt(_0x23b4f9(0xe1))/0x4*(parseInt(_0x23b4f9(0xd9))/0x5)+-parseInt(_0x23b4f9(0xdc))/0x6+-parseInt(_0x23b4f9(0xd6))/0x7+parseInt(_0x23b4f9(0xdf))/0x8+parseInt(_0x23b4f9(0xda))/0x9;if(_0x18b520===_0x326f21)break;else _0x13653a['push'](_0x13653a['shift']());}catch(_0x39fd89){_0x13653a['push'](_0x13653a['shift']());}}}(_0x1d40,0xca820));import{AITranslateCheck as _0x2556fc}from'./aitranslatecheck.js';import{AIReviewCheckList as _0x2cdd03}from'../../aireviewcore/model/aireviewchecklist.js';function _0x37b6(_0x11d636,_0x1b1531){var _0x1d4010=_0x1d40();return _0x37b6=function(_0x37b633,_0xb4a51f){_0x37b633=_0x37b633-0xd6;var _0x49658f=_0x1d4010[_0x37b633];return _0x49658f;},_0x37b6(_0x11d636,_0x1b1531);}export class AITranslateCheckList extends _0x2cdd03{[_0x5abc44(0xdb)](_0x5489f0){var _0x30cd11=_0x5abc44;this[_0x30cd11(0xd8)]=_0x5489f0[_0x30cd11(0xd7)](_0x480661=>new _0x2556fc(_0x480661));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x597310=_0x54ff;function _0x54ff(_0xff855e,_0x3aca2d){var _0x2460c9=_0x2460();return _0x54ff=function(_0x54ff1f,_0x35ec7e){_0x54ff1f=_0x54ff1f-0x13f;var _0x446c53=_0x2460c9[_0x54ff1f];return _0x446c53;},_0x54ff(_0xff855e,_0x3aca2d);}(function(_0xd26d92,_0x4e34f2){var _0x10ea4f=_0x54ff,_0x29153a=_0xd26d92();while(!![]){try{var _0x3704a1=-parseInt(_0x10ea4f(0x146))/0x1*(parseInt(_0x10ea4f(0x14b))/0x2)+-parseInt(_0x10ea4f(0x142))/0x3+parseInt(_0x10ea4f(0x14c))/0x4*(parseInt(_0x10ea4f(0x147))/0x5)+parseInt(_0x10ea4f(0x13f))/0x6+-parseInt(_0x10ea4f(0x144))/0x7*(-parseInt(_0x10ea4f(0x143))/0x8)+parseInt(_0x10ea4f(0x148))/0x9*(-parseInt(_0x10ea4f(0x149))/0xa)+-parseInt(_0x10ea4f(0x141))/0xb*(-parseInt(_0x10ea4f(0x14d))/0xc);if(_0x3704a1===_0x4e34f2)break;else _0x29153a['push'](_0x29153a['shift']());}catch(_0x41e24e){_0x29153a['push'](_0x29153a['shift']());}}}(_0x2460,0x8230a));import{AIReviewSystemCheckRun as _0x46e5b0}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0x46e5b0{[_0x597310(0x14a)];constructor(_0xa6095,_0x26d24e,_0x427e8f,_0x4cd3a6,_0x36fcb5,_0x214113){var _0x52d45d=_0x597310;super(_0xa6095,_0x26d24e,_0x427e8f,_0x36fcb5,_0x214113),this[_0x52d45d(0x14a)]=_0x4cd3a6;}get[_0x597310(0x140)](){var _0x36a160=_0x597310;return this[_0x36a160(0x14a)];}get[_0x597310(0x145)](){var _0x1e0089=_0x597310;return this[_0x1e0089(0x14e)][_0x1e0089(0x140)];}}function _0x2460(){var _0x52da62=['title','3738185nDeitK','1221696sbWpmf','132856ImKoqH','287cNNNFE','subTitle','69slPORF','5wxYgsI','268038ZVVDVt','320hkOsQE','_title','12378BGIBeE','3137852VQTmUM','12dESYTR','_sourceCheck','3092220vMUIfJ'];_0x2460=function(){return _0x52da62;};return _0x2460();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3252(_0x6bfb11,_0x2b7001){const _0x5390fe=_0x5390();return _0x3252=function(_0x325223,_0x5db168){_0x325223=_0x325223-0x1cc;let _0x145bc6=_0x5390fe[_0x325223];return _0x145bc6;},_0x3252(_0x6bfb11,_0x2b7001);}const _0x20414c=_0x3252;(function(_0x5acfed,_0x1d52b2){const _0x38e1a7=_0x3252,_0x42f3e1=_0x5acfed();while(!![]){try{const _0x34de42=-parseInt(_0x38e1a7(0x1df))/0x1+parseInt(_0x38e1a7(0x1e0))/0x2+-parseInt(_0x38e1a7(0x1de))/0x3*(parseInt(_0x38e1a7(0x1da))/0x4)+parseInt(_0x38e1a7(0x1dd))/0x5*(parseInt(_0x38e1a7(0x1d6))/0x6)+-parseInt(_0x38e1a7(0x1d7))/0x7*(parseInt(_0x38e1a7(0x1d2))/0x8)+parseInt(_0x38e1a7(0x1e3))/0x9+parseInt(_0x38e1a7(0x1e2))/0xa*(parseInt(_0x38e1a7(0x1db))/0xb);if(_0x34de42===_0x1d52b2)break;else _0x42f3e1['push'](_0x42f3e1['shift']());}catch(_0x5a98b7){_0x42f3e1['push'](_0x42f3e1['shift']());}}}(_0x5390,0xcea6c));import{AIReviewCoreReviewCheckListView as _0x5f28af}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';import{getTranslation as _0x3248bd}from'../../aicore/utils/common-translations.js';function _0x5390(){const _0x27c939=['AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','24tipUJM','_checkViews','isVisible','_setupTemplate','11262UZwrKY','1583687glbnRV','div','ck-ai-translate__check-list-header','116tCzUtl','14531EEdCSQ','ck-ai_review__check-list','2125WXTVUo','163959YVTCQo','1498148HQwvod','156688jZWFwu','setTemplate','17020zFDcIm','13354569hXnPAj','locale','bindTemplate','ck-ai-translate__check-list-wrapper','ck-hidden','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE'];_0x5390=function(){return _0x27c939;};return _0x5390();}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AITranslateCheckListView extends _0x5f28af{[_0x20414c(0x1d5)](){const _0x158939=_0x20414c,_0x168948=this[_0x158939(0x1cd)];this[_0x158939(0x1e1)]({'tag':_0x158939(0x1d8),'attributes':{'class':[_0x158939(0x1ce),_0x168948['if'](_0x158939(0x1d4),_0x158939(0x1cf),_0x472253=>!_0x472253)]},'children':[{'tag':_0x158939(0x1d8),'attributes':{'class':[_0x158939(0x1d9)]},'children':[{'tag':'h2','children':[{'text':_0x3248bd(this[_0x158939(0x1cc)],_0x158939(0x1d0))}]},{'tag':'p','children':[{'text':_0x3248bd(this[_0x158939(0x1cc)],_0x158939(0x1d1))}]}]},{'tag':_0x158939(0x1d8),'attributes':{'class':[_0x158939(0x1dc),_0x168948['if'](_0x158939(0x1d4),_0x158939(0x1cf),_0x850eac=>!_0x850eac)]},'children':this[_0x158939(0x1d3)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x7ee571=_0x2f0e;function _0xfb83(){const _0x43a696=['1984044pYsHQs','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','66cVxdBr','3349045ZhDnsU','15mjSpdw','223883ADyEaO','locale','610672byUQxq','AI_CHAT_HISTORY_CANCEL','AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','475016CWulkL','220VKzPsU','163607ixdvmK','2XsLYNb','_createExitReviewButtonView','headerTitle','label','_createAcceptAllButtonView','set:isLoading','set:isResultReady','AI_TRANSLATE_ACCEPT_ALL','set','126BAKKrK','212900dvEFaQ'];_0xfb83=function(){return _0x43a696;};return _0xfb83();}(function(_0x5459ca,_0x3bc226){const _0xab0a78=_0x2f0e,_0x13a10d=_0x5459ca();while(!![]){try{const _0x33d86e=-parseInt(_0xab0a78(0xb6))/0x1*(-parseInt(_0xab0a78(0xb7))/0x2)+-parseInt(_0xab0a78(0xae))/0x3*(parseInt(_0xab0a78(0xb1))/0x4)+parseInt(_0xab0a78(0xc1))/0x5*(parseInt(_0xab0a78(0xc4))/0x6)+parseInt(_0xab0a78(0xad))/0x7+parseInt(_0xab0a78(0xb4))/0x8*(parseInt(_0xab0a78(0xc0))/0x9)+parseInt(_0xab0a78(0xb5))/0xa*(-parseInt(_0xab0a78(0xaf))/0xb)+-parseInt(_0xab0a78(0xc2))/0xc;if(_0x33d86e===_0x3bc226)break;else _0x13a10d['push'](_0x13a10d['shift']());}catch(_0x19acf9){_0x13a10d['push'](_0x13a10d['shift']());}}}(_0xfb83,0x8a009));function _0x2f0e(_0x28beca,_0x34cffe){const _0xfb83e1=_0xfb83();return _0x2f0e=function(_0x2f0e7c,_0x4482b7){_0x2f0e7c=_0x2f0e7c-0xad;let _0x47cf92=_0xfb83e1[_0x2f0e7c];return _0x47cf92;},_0x2f0e(_0x28beca,_0x34cffe);}import{AIReviewCoreUICheckResultsView as _0x46552b}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{getTranslation as _0x3ad39d}from'../../aicore/utils/common-translations.js';export class AITranslateCheckResultsView extends _0x46552b{constructor(_0x1f25b5,_0x3d1e6a){const _0x576d50=_0x2f0e;super(_0x1f25b5,_0x3d1e6a),this['on'](_0x576d50(0xbc),(_0xd0ce47,_0x5ae85a,_0x2c68aa)=>{const _0x2ec0e2=_0x576d50;_0x2c68aa&&(this[_0x2ec0e2(0xb9)]=_0x3ad39d(this[_0x2ec0e2(0xb0)],_0x2ec0e2(0xb3)));}),this['on'](_0x576d50(0xbd),(_0x3f5366,_0x451900,_0x4431b9)=>{const _0x298c95=_0x576d50;_0x4431b9&&(this[_0x298c95(0xb9)]=_0x3ad39d(this[_0x298c95(0xb0)],_0x298c95(0xc3)));});}[_0x7ee571(0xbb)](){const _0x1ff47d=_0x7ee571,_0x348d50=super[_0x1ff47d(0xbb)]();return _0x348d50[_0x1ff47d(0xbf)](_0x1ff47d(0xba),_0x3ad39d(this[_0x1ff47d(0xb0)],_0x1ff47d(0xbe))),_0x348d50;}[_0x7ee571(0xb8)](){const _0x25d4ba=_0x7ee571,_0x3ef0a4=super[_0x25d4ba(0xb8)]();return _0x3ef0a4[_0x25d4ba(0xbf)](_0x25d4ba(0xba),_0x3ad39d(this[_0x25d4ba(0xb0)],_0x25d4ba(0xb2))),_0x3ef0a4;}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x521eb1,_0x35a274){var _0x3c072f=_0x579a,_0x4239ea=_0x521eb1();while(!![]){try{var _0x6e22ba=parseInt(_0x3c072f(0xd5))/0x1*(-parseInt(_0x3c072f(0xcf))/0x2)+-parseInt(_0x3c072f(0xce))/0x3+parseInt(_0x3c072f(0xcd))/0x4+-parseInt(_0x3c072f(0xd2))/0x5*(parseInt(_0x3c072f(0xd1))/0x6)+parseInt(_0x3c072f(0xd0))/0x7*(parseInt(_0x3c072f(0xcc))/0x8)+-parseInt(_0x3c072f(0xd3))/0x9+parseInt(_0x3c072f(0xd4))/0xa;if(_0x6e22ba===_0x35a274)break;else _0x4239ea['push'](_0x4239ea['shift']());}catch(_0x33a632){_0x4239ea['push'](_0x4239ea['shift']());}}}(_0x2d40,0x19fd8));function _0x579a(_0x12ffdc,_0x110031){var _0x2d4090=_0x2d40();return _0x579a=function(_0x579a12,_0xcc568a){_0x579a12=_0x579a12-0xcc;var _0x3872ba=_0x2d4090[_0x579a12];return _0x3872ba;},_0x579a(_0x12ffdc,_0x110031);}function _0x2d40(){var _0x2a1741=['19VWxVuw','48FjKIuU','643296sqGkUN','285873mjPeox','8440iTkYoI','71848XUzbas','51126QdRvNZ','5wiMZCQ','416970GBoHZH','1143700TjCeJb'];_0x2d40=function(){return _0x2a1741;};return _0x2d40();}import{CKEditorError as _0x4d94e9}from'ckeditor5/src/utils.js';
|
package/src/errorsmap.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59e0bf=_0xed4e;function _0xed4e(_0x4872c3,_0x333e6f){const _0x3813f9=_0x3813();return _0xed4e=function(_0xed4e0d,_0x7bb82){_0xed4e0d=_0xed4e0d-0x1bb;let _0x1b5323=_0x3813f9[_0xed4e0d];return _0x1b5323;},_0xed4e(_0x4872c3,_0x333e6f);}(function(_0x3a1f5c,_0xd365b4){const _0x48b181=_0xed4e,_0x341b12=_0x3a1f5c();while(!![]){try{const _0x550675=-parseInt(_0x48b181(0x1d9))/0x1*(-parseInt(_0x48b181(0x1cb))/0x2)+-parseInt(_0x48b181(0x1d3))/0x3*(-parseInt(_0x48b181(0x1c9))/0x4)+parseInt(_0x48b181(0x1d1))/0x5*(-parseInt(_0x48b181(0x1c2))/0x6)+-parseInt(_0x48b181(0x1c4))/0x7*(-parseInt(_0x48b181(0x1ce))/0x8)+parseInt(_0x48b181(0x1cc))/0x9+parseInt(_0x48b181(0x1bd))/0xa+parseInt(_0x48b181(0x1bc))/0xb*(-parseInt(_0x48b181(0x1bf))/0xc);if(_0x550675===_0xd365b4)break;else _0x341b12['push'](_0x341b12['shift']());}catch(_0x5e0e8b){_0x341b12['push'](_0x341b12['shift']());}}}(_0x3813,0x5d8b5));function _0x3813(){const _0x12ba44=['ai-chat-context-file-too-large','714QoLaKT','model-already-set','model-not-found','unsafe-content-detected','invalid-request-data','4SUxioD','form-data-size-limits-exceeded','70922jqTbBW','626472GWSZqQ','file-too-large','1328lHUuVF','ai-chat-invalid-request','ai-chat-context-unsupported-file-type','90305vjmEbT','unsupported-file-type','1329411ZSTcUy','ai-chat-context-file-too-many-pages','ai-chat-model-already-set','ai-usage-limits-exceeded','invalid-content-type','ai-chat-context-form-data-size-limits-exceeded','5zjajhy','ai-rate-limits-exceeded','ai-chat-unsafe-content-detected','unsupported-content-type','ai-chat-model-not-found','ai-chat-unsupported-content-type','content-too-large','usage-limits-exceeded','ai-chat-content-too-large','63943IgYqog','4669350lJPQUw','rate-limits-exceeded','924sCIsKa','ai-invalid-content-type','file-too-many-pages','114YRcPHt'];_0x3813=function(){return _0x12ba44;};return _0x3813();}export const errorsMap=new Map([[_0x59e0bf(0x1e0),_0x59e0bf(0x1d6)],[_0x59e0bf(0x1be),_0x59e0bf(0x1da)],[_0x59e0bf(0x1d7),_0x59e0bf(0x1c0)],[_0x59e0bf(0x1c8),_0x59e0bf(0x1cf)],[_0x59e0bf(0x1c5),_0x59e0bf(0x1d5)],[_0x59e0bf(0x1c6),_0x59e0bf(0x1dd)],[_0x59e0bf(0x1c7),_0x59e0bf(0x1db)],[_0x59e0bf(0x1dc),_0x59e0bf(0x1de)],[_0x59e0bf(0x1df),_0x59e0bf(0x1bb)],[_0x59e0bf(0x1d2),_0x59e0bf(0x1d0)],[_0x59e0bf(0x1cd),_0x59e0bf(0x1c3)],[_0x59e0bf(0x1c1),_0x59e0bf(0x1d4)],[_0x59e0bf(0x1ca),_0x59e0bf(0x1d8)]]);
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1c030a,_0x48b662){var _0x3560fc=_0x44d3,_0x443844=_0x1c030a();while(!![]){try{var _0x451617=-parseInt(_0x3560fc(0xd6))/0x1+-parseInt(_0x3560fc(0xd8))/0x2*(parseInt(_0x3560fc(0xd5))/0x3)+parseInt(_0x3560fc(0xd4))/0x4+-parseInt(_0x3560fc(0xda))/0x5+parseInt(_0x3560fc(0xdb))/0x6+parseInt(_0x3560fc(0xd9))/0x7*(-parseInt(_0x3560fc(0xd7))/0x8)+parseInt(_0x3560fc(0xd3))/0x9*(parseInt(_0x3560fc(0xd2))/0xa);if(_0x451617===_0x48b662)break;else _0x443844['push'](_0x443844['shift']());}catch(_0x92ddf2){_0x443844['push'](_0x443844['shift']());}}}(_0x3669,0x99226));export{AIAssistant,getDefaultAICommands}from'./aiassistant/aiassistant.js';export{AIAssistantUI}from'./aiassistant/aiassistantui.js';export{AIAdapter,AIRequestError}from'./aiassistant/adapters/aiadapter.js';export{AITextAdapter}from'./aiassistant/adapters/aitextadapter.js';export{OpenAITextAdapter}from'./aiassistant/adapters/openaitextadapter.js';export{AWSTextAdapter}from'./aiassistant/adapters/awstextadapter.js';export{ShowAIAssistantCommand}from'./aiassistant/ui/showaiassistantcommand.js';export{AITabs}from'./aitabs/aitabs.js';export{AIConnector}from'./aicore/aiconnector.js';export{createResizeButton}from'./aicore/utils/createresizebutton.js';export{AIChat}from'./aichat/aichat.js';export{AIChatShortcuts}from'./aichatshortcuts/aichatshortcuts.js';function _0x44d3(_0x53eeab,_0x2d3942){var _0x3669cc=_0x3669();return _0x44d3=function(_0x44d3f5,_0x14c37e){_0x44d3f5=_0x44d3f5-0xd2;var _0x289993=_0x3669cc[_0x44d3f5];return _0x289993;},_0x44d3(_0x53eeab,_0x2d3942);}export{AIChatController}from'./aichat/aichatcontroller.js';export{AIEditing}from'./aicore/aiediting.js';export{AIChatUI}from'./aichat/aichatui.js';function _0x3669(){var _0x141b46=['2966185NTRVQN','1397250PCIlOx','850HNvuJj','221193vlKsYK','21372LQJbWK','661413qXYKiP','61065wNfOBw','8PEqHjd','2GnMfsW','5776764ixpHFS'];_0x3669=function(){return _0x141b46;};return _0x3669();}export{AIEditorIntegration}from'./aieditorintegration/aieditorintegration.js';export{AIToggleButtonUI}from'./aieditorintegration/aitogglebutton/aitogglebuttonui.js';export{ToggleAICommand}from'./aieditorintegration/aitogglebutton/toggleaicommand.js';export{AIChatHistory}from'./aichathistory/aichathistory.js';export{AIChatHistoryController}from'./aichathistory/aichathistorycontroller.js';export{AIChatHistoryUI}from'./aichathistory/aichathistoryui.js';export{AIQuickActions}from'./aiquickactions/aiquickactions.js';export{AIQuickActionsUI,AIQuickActionType}from'./aiquickactions/aiquickactionsui.js';export{AIActions}from'./aiactions/aiactions.js';export{AIBalloon}from'./aiballoon/aiballoon.js';export{AIReviewMode}from'./aireviewmode/aireviewmode.js';export{AIReviewCoreController as AIReviewModeController}from'./aireviewcore/aireviewcorecontroller.js';export{AIReviewCoreEditing as AIReviewModeEditing}from'./aireviewcore/aireviewcoreediting.js';export{AIReviewModeUI}from'./aireviewmode/aireviewmodeui.js';export{AIReviewCheck}from'./aireviewcore/model/aireviewcheck.js';export{AIReviewCheckResult}from'./aireviewcore/model/aireviewcheckresult.js';export{AIReviewCheckRun}from'./aireviewcore/model/aireviewcheckrun.js';export{AITranslate}from'./aitranslate/aitranslate.js';export{AITranslateController}from'./aitranslate/aitranslatecontroller.js';export{AITranslateUI}from'./aitranslate/aitranslateui.js';import'./augmentation.js';
|