@ckeditor/ckeditor5-ai 47.7.0-alpha.0 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.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/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/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.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/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/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.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/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/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/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.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/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/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xea4c3d=_0x584a;function _0x584a(_0x1d42a7,_0x35b3aa){const _0x176a7b=_0x176a();return _0x584a=function(_0x584ac6,_0x5f151a){_0x584ac6=_0x584ac6-0x1c3;let _0x2c529f=_0x176a7b[_0x584ac6];return _0x2c529f;},_0x584a(_0x1d42a7,_0x35b3aa);}(function(_0x5da811,_0x3ae3db){const _0x794e40=_0x584a,_0x5be399=_0x5da811();while(!![]){try{const _0x22b92b=parseInt(_0x794e40(0x21e))/0x1*(parseInt(_0x794e40(0x1ef))/0x2)+-parseInt(_0x794e40(0x223))/0x3+-parseInt(_0x794e40(0x211))/0x4+parseInt(_0x794e40(0x21b))/0x5+parseInt(_0x794e40(0x1f2))/0x6+-parseInt(_0x794e40(0x227))/0x7*(parseInt(_0x794e40(0x1e6))/0x8)+parseInt(_0x794e40(0x1fc))/0x9;if(_0x22b92b===_0x3ae3db)break;else _0x5be399['push'](_0x5be399['shift']());}catch(_0x305fce){_0x5be399['push'](_0x5be399['shift']());}}}(_0x176a,0x52c16));import{AIReviewCoreController as _0x20c065}from'../aireviewcore/aireviewcorecontroller.js';function _0x176a(){const _0x260769=['toUpperCase','korean','ck-ai-review-','deactivateChange','activateChange','portuguese','AIReviewCoreEditing','AI_REVIEW_CHECK_TRANSLATE_TITLE','chinese','2041245WJYUlP','locale','setMarkersInElementAsActive','35823DESqZX','spanish','_changeActivationSource','_onChangeMarkerBlurred','ck-ai-translate-mode-content','463485YFbWYu','_onReviewCheckResultActivated','Spanish','define','6587AaKjUa','_onCheckRunFinished','reactivateMarkers','replaceAll','Chinese\x20(Simplified)','_getTranslationWithDefault','_onChangeMarkerClicked','_aiReviewCoreUi','english','getEditor','push','japanese','getDocumentData','params','removeClass','uiInteraction','content','_markChangePositionInEditorContent','German','AITranslateController','_onActivateChange','Russian','markChangePositionInEditorContent','_aiConnector','AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_','click','_getChecksList','editing','setActiveStateInResults','hover','English','AITranslateUI','french','_createReviewCheckRun','_diffContent','addClass','_onDeactivateChange','_onReviewRunLeave','Korean','_translateChecks','diffContent','744UupuZK','label','setAllMarkersAsInactive','_scrollToChange','_aiReviewCoreEditing','ck-ai-translate-','document','resetActiveStateInResults','title','2qGHvFj','changeId','_getChangeContentElement','3047106XFxyfV','_initRequiredPlugins','change','map','Portuguese','getRoot','Japanese','russian','_onReviewCheckRun','origin','153072jAZJCi','pluginName','args','French','ai.translate.languages','panel','_onReviewCheckResultDeactivated','getContentElementForChange','plugins','german','context','startsWith','_onChangeMarkerHovered','config','getClassNames','_currentReviewCheckRun','italian','view','Italian','get','setupChecks','1551828pRwchD'];_0x176a=function(){return _0x260769;};return _0x176a();}import{AITranslateCheckList as _0x4f7c6e}from'./model/aitranslatechecklist.js';import{AITranslateCheckRun as _0x44c661}from'./model/aitranslatecheckrun.js';import{getTranslation as _0x56c1e8}from'../aicore/utils/common-translations.js';export class AITranslateController extends _0x20c065{static get[_0xea4c3d(0x1fd)](){const _0x876bd8=_0xea4c3d;return _0x876bd8(0x1d0);}constructor(_0x2eb837){const _0x561732=_0xea4c3d;super(_0x2eb837),this[_0x561732(0x206)][_0x561732(0x209)][_0x561732(0x226)](_0x561732(0x200),[{'label':_0x561732(0x1db),'id':_0x561732(0x1c5)},{'label':_0x561732(0x225),'id':_0x561732(0x21f)},{'label':_0x561732(0x1ff),'id':_0x561732(0x1dd)},{'label':_0x561732(0x1cf),'id':_0x561732(0x205)},{'label':_0x561732(0x22b),'id':_0x561732(0x21a)},{'label':_0x561732(0x1f8),'id':_0x561732(0x1c8)},{'label':_0x561732(0x1d2),'id':_0x561732(0x1f9)},{'label':_0x561732(0x1f6),'id':_0x561732(0x217)},{'label':_0x561732(0x1e3),'id':_0x561732(0x213)},{'label':_0x561732(0x20e),'id':_0x561732(0x20c)}]);}[_0xea4c3d(0x228)](){const _0x35b6c1=_0xea4c3d;this[_0x35b6c1(0x1e2)](!0x0);}[_0xea4c3d(0x1f3)](){const _0x38d3d4=_0xea4c3d;super[_0x38d3d4(0x1f3)](),this[_0x38d3d4(0x1c4)]=this[_0x38d3d4(0x206)][_0x38d3d4(0x204)][_0x38d3d4(0x20f)](_0x38d3d4(0x1dc)),this[_0x38d3d4(0x1ea)]=this[_0x38d3d4(0x206)][_0x38d3d4(0x204)][_0x38d3d4(0x20f)](_0x38d3d4(0x218));}[_0xea4c3d(0x1de)](_0x4aa3c6,_0x34eb74){const _0x2324be=_0xea4c3d;return new _0x44c661(this[_0x2324be(0x1ea)][_0x2324be(0x1c9)](),_0x34eb74,this[_0x2324be(0x1d4)],_0x56c1e8(this[_0x2324be(0x206)][_0x2324be(0x21c)],_0x2324be(0x219)),_0x4aa3c6[_0x2324be(0x1ca)],_0x4aa3c6[_0x2324be(0x1fe)]);}[_0xea4c3d(0x224)](_0x1f6786){const _0x20cde5=_0xea4c3d;this[_0x20cde5(0x1c4)][_0x20cde5(0x1d9)](_0x1f6786[_0x20cde5(0x1f4)]['id']),this[_0x20cde5(0x1ea)][_0x20cde5(0x21d)](_0x1f6786[_0x20cde5(0x1f4)]['id']);}[_0xea4c3d(0x202)](){const _0x2c7185=_0xea4c3d;this[_0x2c7185(0x1ea)][_0x2c7185(0x1e8)](),this[_0x2c7185(0x1c4)][_0x2c7185(0x1ed)]();}[_0xea4c3d(0x1d1)](_0x380ebc){const _0x5b2051=_0xea4c3d;this[_0x5b2051(0x20b)]&&(_0x5b2051(0x1da)===_0x380ebc[_0x5b2051(0x1cc)]&&(this[_0x5b2051(0x220)]=_0x5b2051(0x201),this[_0x5b2051(0x20b)][_0x5b2051(0x216)](_0x380ebc['id'])),_0x5b2051(0x1d6)===_0x380ebc[_0x5b2051(0x1cc)]&&this[_0x5b2051(0x1e9)](_0x380ebc['id']));}[_0xea4c3d(0x1e1)](_0x30e359){const _0x3214cd=_0xea4c3d;this[_0x3214cd(0x20b)]&&_0x3214cd(0x201)===_0x30e359[_0x3214cd(0x1fb)]&&this[_0x3214cd(0x20b)][_0x3214cd(0x215)]();}[_0xea4c3d(0x1c3)](_0x4cee86,_0x33779b){const _0x4536ed=_0xea4c3d;this[_0x4536ed(0x20b)]&&(this[_0x4536ed(0x220)]=_0x4536ed(0x1cd),this[_0x4536ed(0x20b)][_0x4536ed(0x216)](_0x33779b[_0x4536ed(0x1f0)]),this[_0x4536ed(0x1e9)](_0x33779b[_0x4536ed(0x1f0)]));}[_0xea4c3d(0x208)](_0x2365c0,_0x43ea12){const _0x3bfe31=_0xea4c3d;this[_0x3bfe31(0x20b)]&&(this[_0x3bfe31(0x220)]=_0x3bfe31(0x1cd),this[_0x3bfe31(0x20b)][_0x3bfe31(0x216)](_0x43ea12[_0x3bfe31(0x1f0)]),this[_0x3bfe31(0x1ea)][_0x3bfe31(0x229)](_0x43ea12[_0x3bfe31(0x1f0)]));}[_0xea4c3d(0x221)](){const _0x5160cb=_0xea4c3d;this[_0x5160cb(0x20b)]&&_0x5160cb(0x1cd)===this[_0x5160cb(0x220)]&&(this[_0x5160cb(0x20b)][_0x5160cb(0x215)](),this[_0x5160cb(0x1ea)][_0x5160cb(0x1e8)]());}[_0xea4c3d(0x1f1)](_0x329d4a){const _0x5b4a9c=_0xea4c3d;return this[_0x5b4a9c(0x1ea)][_0x5b4a9c(0x203)](_0x329d4a);}[_0xea4c3d(0x1ce)](_0x23937a,_0x57e434){const _0x2c89f7=_0xea4c3d;this[_0x2c89f7(0x1ea)][_0x2c89f7(0x1d3)](_0x23937a,_0x57e434);}[_0xea4c3d(0x1df)](_0x11cfcb,_0x9cb884){const _0x28c3ea=_0xea4c3d;return this[_0x28c3ea(0x1ea)][_0x28c3ea(0x1e5)](_0x11cfcb,_0x9cb884,!0x0);}[_0xea4c3d(0x1fa)](){const _0x19d1c1=_0xea4c3d,_0x547cd7=this[_0x19d1c1(0x1ea)][_0x19d1c1(0x1c6)]();_0x547cd7&&_0x547cd7[_0x19d1c1(0x1d8)][_0x19d1c1(0x20d)][_0x19d1c1(0x1f4)](_0x1a336c=>{const _0x36a6c2=_0x19d1c1,_0x2774a6=_0x547cd7[_0x36a6c2(0x1d8)][_0x36a6c2(0x20d)][_0x36a6c2(0x1ec)][_0x36a6c2(0x1f7)]();for(const _0xa33ba7 of _0x2774a6[_0x36a6c2(0x20a)]())(_0xa33ba7[_0x36a6c2(0x207)](_0x36a6c2(0x214))||_0x36a6c2(0x1eb)===_0xa33ba7)&&_0x1a336c[_0x36a6c2(0x1cb)](_0xa33ba7,_0x2774a6);_0x1a336c[_0x36a6c2(0x1e0)](_0x36a6c2(0x222),_0x2774a6);});}async[_0xea4c3d(0x1d7)](){const _0x43fc8b=_0xea4c3d,_0x1796d1=[],_0x5f2e06=this[_0x43fc8b(0x206)][_0x43fc8b(0x209)][_0x43fc8b(0x20f)](_0x43fc8b(0x200))||[];for(const _0x483a36 of _0x5f2e06)_0x1796d1[_0x43fc8b(0x1c7)]({'title':_0x483a36[_0x43fc8b(0x1e7)],'id':_0x483a36['id'],'commandId':_0x483a36['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x483a36['id']}});const _0x113fc8=new _0x4f7c6e();return _0x113fc8[_0x43fc8b(0x210)](this[_0x43fc8b(0x1e4)](_0x1796d1)),_0x113fc8;}[_0xea4c3d(0x1e4)](_0x3a133e){const _0x43cff8=_0xea4c3d;return _0x3a133e[_0x43cff8(0x1f5)](_0x4a69c1=>{const _0x46817d=_0x43cff8,_0x45c0cd=_0x46817d(0x1d5)+_0x4a69c1[_0x46817d(0x1ee)][_0x46817d(0x212)]()[_0x46817d(0x22a)]('-','_');return{..._0x4a69c1,'title':this[_0x46817d(0x22c)](_0x45c0cd,_0x4a69c1[_0x46817d(0x1ee)])};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x532247=_0x441e;function _0x3c5f(){const _0x5b696e=['AI_TRANSLATE_EMPTY_RESULTS_TEXT','registerTab','ck-ai-translate-mode','24LluvNu','AI_TRANSLATE_FINISH_HEADER_TITLE','367480qQYsMm','AITranslateUI','view','createMainView','1500504WORYLA','fire','getReviewCheckList','4231829VQOlPm','388460sqYGlF','72KMstXV','_mainView','6PFbBCY','leaveReview','AI_TRANSLATE_FINISH_BUTTON_LABEL','AI_TRANSLATE_GENERAL_ERROR_MESSAGE','AI_REVIEW_CHECK_TRANSLATE_TITLE','locale','AITabs','get','pluginName','context','96782rmQtbh','translate','addTab','7418653QWBTos','plugins','extendTemplate','24fuKHww','2114275hdeSvF','ck-ai-header\x20ck-ai-header_review-translate','2ECNrdf','activateTab'];_0x3c5f=function(){return _0x5b696e;};return _0x3c5f();}(function(_0x11a8b9,_0x108f38){const _0x21f0c2=_0x441e,_0x4e02d0=_0x11a8b9();while(!![]){try{const _0x2ed95f=parseInt(_0x21f0c2(0x1de))/0x1*(parseInt(_0x21f0c2(0x1d5))/0x2)+-parseInt(_0x21f0c2(0x1e3))/0x3*(-parseInt(_0x21f0c2(0x1e5))/0x4)+parseInt(_0x21f0c2(0x1dc))/0x5+parseInt(_0x21f0c2(0x1f0))/0x6*(parseInt(_0x21f0c2(0x1ec))/0x7)+parseInt(_0x21f0c2(0x1e9))/0x8+-parseInt(_0x21f0c2(0x1ee))/0x9*(parseInt(_0x21f0c2(0x1ed))/0xa)+-parseInt(_0x21f0c2(0x1d8))/0xb*(parseInt(_0x21f0c2(0x1db))/0xc);if(_0x2ed95f===_0x108f38)break;else _0x4e02d0['push'](_0x4e02d0['shift']());}catch(_0x438093){_0x4e02d0['push'](_0x4e02d0['shift']());}}}(_0x3c5f,0x5e815));function _0x441e(_0x11275b,_0x305862){const _0x3c5f62=_0x3c5f();return _0x441e=function(_0x441e84,_0x4b870b){_0x441e84=_0x441e84-0x1d4;let _0x32fca3=_0x3c5f62[_0x441e84];return _0x32fca3;},_0x441e(_0x11275b,_0x305862);}import{FormHeaderView as _0x1f0133}from'ckeditor5/src/ui.js';import{IconAITranslate as _0x4c185a}from'ckeditor5/src/icons.js';import{getTranslation as _0x6d5975}from'../aicore/utils/common-translations.js';import{AIReviewCoreUI as _0x5014af}from'../aireviewcore/aireviewcoreui.js';import{AIReviewCoreView as _0x22043a}from'../aireviewcore/ui/aireviewcoreview.js';import{AITranslateCheckResultsView as _0x34e5bc}from'./ui/aitranslatecheckresultsview.js';import{AIReviewCoreReviewCompletedView as _0x8805d1}from'../aireviewcore/ui/aireviewcorereviewcompletedview.js';import{AITranslateCheckListView as _0x8b8697}from'./ui/aitranslatechecklistview.js';import'../../theme/aitranslate/aitranslate.css';export class AITranslateUI extends _0x5014af{static get[_0x532247(0x1f8)](){const _0x14486a=_0x532247;return _0x14486a(0x1e6);}[_0x532247(0x1e8)](){const _0x1125b7=_0x532247,_0x529aa5=this[_0x1125b7(0x1d4)][_0x1125b7(0x1f5)],_0x3e3610=new _0x1f0133(_0x529aa5,{'label':_0x6d5975(_0x529aa5,_0x1125b7(0x1f4)),'icon':_0x4c185a,'class':_0x1125b7(0x1dd)}),_0x27469f=new _0x22043a(_0x529aa5,{'header':_0x3e3610,'list':new _0x8b8697(_0x529aa5),'results':new _0x34e5bc(_0x529aa5,{'generalErrorText':_0x6d5975(_0x529aa5,_0x1125b7(0x1f3))}),'completed':new _0x8805d1(_0x529aa5,{'headerText':_0x6d5975(_0x529aa5,_0x1125b7(0x1e4)),'emptyResultsText':_0x6d5975(_0x529aa5,_0x1125b7(0x1e0)),'buttonText':_0x6d5975(_0x529aa5,_0x1125b7(0x1f2))})});return _0x27469f[_0x1125b7(0x1da)]({'attributes':{'class':_0x1125b7(0x1e2)}}),_0x27469f;}[_0x532247(0x1e1)](){const _0x41e7ea=_0x532247,_0x25b50c=this[_0x41e7ea(0x1d4)][_0x41e7ea(0x1d9)][_0x41e7ea(0x1f7)](_0x41e7ea(0x1f6));_0x25b50c[_0x41e7ea(0x1e7)]['on'](_0x41e7ea(0x1df),(_0x1dc514,_0x4fa27c)=>{const _0x447e8a=_0x41e7ea;_0x447e8a(0x1d6)===_0x4fa27c?this[_0x447e8a(0x1ea)](_0x447e8a(0x1eb)):this[_0x447e8a(0x1ea)](_0x447e8a(0x1f1));}),_0x25b50c[_0x41e7ea(0x1e7)][_0x41e7ea(0x1d7)]({'id':_0x41e7ea(0x1d6),'buttonLabel':_0x6d5975(this[_0x41e7ea(0x1d4)][_0x41e7ea(0x1f5)],_0x41e7ea(0x1f4)),'buttonIcon':_0x4c185a,'order':0x0,'content':this[_0x41e7ea(0x1ef)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3464(_0x59bf09,_0x10123c){var _0x2a94d8=_0x2a94();return _0x3464=function(_0x346493,_0xd563a2){_0x346493=_0x346493-0x84;var _0x4dbcc0=_0x2a94d8[_0x346493];return _0x4dbcc0;},_0x3464(_0x59bf09,_0x10123c);}var _0x371feb=_0x3464;function _0x2a94(){var _0xe740ed=['10931373RubELA','1302676XAFeBS','6130XupHfF','1950246jvjzpG','17633ZEpXme','1310fokrag','2912Cmjduc','27756eKcYiS','_title','subTitle','9bEHRzx','title','_sourceCheck','1633304nFTxRk','25151hxcRlW'];_0x2a94=function(){return _0xe740ed;};return _0x2a94();}(function(_0x3d521a,_0x5ccbbb){var _0x37252e=_0x3464,_0x4d7b4=_0x3d521a();while(!![]){try{var _0x31db3e=-parseInt(_0x37252e(0x88))/0x1+parseInt(_0x37252e(0x8a))/0x2+-parseInt(_0x37252e(0x91))/0x3*(parseInt(_0x37252e(0x85))/0x4)+-parseInt(_0x37252e(0x8c))/0x5*(-parseInt(_0x37252e(0x8e))/0x6)+-parseInt(_0x37252e(0x86))/0x7*(-parseInt(_0x37252e(0x8d))/0x8)+-parseInt(_0x37252e(0x87))/0x9+-parseInt(_0x37252e(0x89))/0xa*(-parseInt(_0x37252e(0x8b))/0xb);if(_0x31db3e===_0x5ccbbb)break;else _0x4d7b4['push'](_0x4d7b4['shift']());}catch(_0x37bd88){_0x4d7b4['push'](_0x4d7b4['shift']());}}}(_0x2a94,0xb388f));import{AIReviewSystemCheckRun as _0x453143}from'../../aireviewcore/model/aireviewsystemcheckrun.js';export class AITranslateCheckRun extends _0x453143{[_0x371feb(0x8f)];constructor(_0x79108e,_0x4895d3,_0x4d155f,_0x5aa5b7,_0x54a0f5,_0x3af226){var _0x4535a0=_0x371feb;super(_0x79108e,_0x4895d3,_0x4d155f,_0x54a0f5,_0x3af226),this[_0x4535a0(0x8f)]=_0x5aa5b7;}get[_0x371feb(0x92)](){var _0x158e7=_0x371feb;return this[_0x158e7(0x8f)];}get[_0x371feb(0x90)](){var _0xe75641=_0x371feb;return this[_0xe75641(0x84)][_0xe75641(0x92)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x147498=_0x21f4;(function(_0xc8e7de,_0x4f2718){const _0x50c3ca=_0x21f4,_0x1fdcdc=_0xc8e7de();while(!![]){try{const _0x28eacb=parseInt(_0x50c3ca(0x195))/0x1+-parseInt(_0x50c3ca(0x18e))/0x2*(-parseInt(_0x50c3ca(0x190))/0x3)+-parseInt(_0x50c3ca(0x196))/0x4+-parseInt(_0x50c3ca(0x191))/0x5*(parseInt(_0x50c3ca(0x19a))/0x6)+parseInt(_0x50c3ca(0x189))/0x7*(-parseInt(_0x50c3ca(0x18f))/0x8)+-parseInt(_0x50c3ca(0x198))/0x9+parseInt(_0x50c3ca(0x18c))/0xa;if(_0x28eacb===_0x4f2718)break;else _0x1fdcdc['push'](_0x1fdcdc['shift']());}catch(_0xfaf686){_0x1fdcdc['push'](_0x1fdcdc['shift']());}}}(_0x3d96,0x81423));function _0x3d96(){const _0x2eeb35=['110529YEVppD','512255jVlrSo','ck-hidden','_checkViews','locale','973287oyjLUn','4143960OnssoZ','AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','3164841LhJOGg','isVisible','60JvWShA','div','ck-ai-translate__check-list-header','AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','ck-ai-translate__check-list-wrapper','_setupTemplate','7BhcUhE','setTemplate','ck-ai_review__check-list','16433470WJLjtV','bindTemplate','26KAPLGQ','1232008TNMifZ'];_0x3d96=function(){return _0x2eeb35;};return _0x3d96();}function _0x21f4(_0x21b040,_0x219781){const _0x3d960b=_0x3d96();return _0x21f4=function(_0x21f46d,_0x158256){_0x21f46d=_0x21f46d-0x185;let _0x57a2e1=_0x3d960b[_0x21f46d];return _0x57a2e1;},_0x21f4(_0x21b040,_0x219781);}import{AIReviewCoreReviewCheckListView as _0x481fc0}from'../../aireviewcore/ui/aireviewcorereviewchecklistview.js';import{getTranslation as _0x227b34}from'../../aicore/utils/common-translations.js';export class AITranslateCheckListView extends _0x481fc0{[_0x147498(0x188)](){const _0x1fe479=_0x147498,_0x285739=this[_0x1fe479(0x18d)];this[_0x1fe479(0x18a)]({'tag':_0x1fe479(0x19b),'attributes':{'class':[_0x1fe479(0x187),_0x285739['if'](_0x1fe479(0x199),_0x1fe479(0x192),_0xeccebb=>!_0xeccebb)]},'children':[{'tag':_0x1fe479(0x19b),'attributes':{'class':[_0x1fe479(0x185)]},'children':[{'tag':'h2','children':[{'text':_0x227b34(this[_0x1fe479(0x194)],_0x1fe479(0x186))}]},{'tag':'p','children':[{'text':_0x227b34(this[_0x1fe479(0x194)],_0x1fe479(0x197))}]}]},{'tag':_0x1fe479(0x19b),'attributes':{'class':[_0x1fe479(0x18b),_0x285739['if'](_0x1fe479(0x199),_0x1fe479(0x192),_0xe4f884=>!_0xe4f884)]},'children':this[_0x1fe479(0x193)]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34da2d=_0x2f4a;(function(_0x300499,_0x22e104){const _0x2a76cd=_0x2f4a,_0x3831e6=_0x300499();while(!![]){try{const _0x240a1e=-parseInt(_0x2a76cd(0xe0))/0x1+-parseInt(_0x2a76cd(0xe3))/0x2+-parseInt(_0x2a76cd(0xdc))/0x3*(parseInt(_0x2a76cd(0xe4))/0x4)+-parseInt(_0x2a76cd(0xd6))/0x5+-parseInt(_0x2a76cd(0xd5))/0x6*(-parseInt(_0x2a76cd(0xd3))/0x7)+-parseInt(_0x2a76cd(0xe2))/0x8+parseInt(_0x2a76cd(0xd7))/0x9;if(_0x240a1e===_0x22e104)break;else _0x3831e6['push'](_0x3831e6['shift']());}catch(_0x24123c){_0x3831e6['push'](_0x3831e6['shift']());}}}(_0x4fc9,0x255f9));function _0x4fc9(){const _0x26da50=['199276wDjMlK','188176RCYQsq','locale','_createAcceptAllButtonView','_createExitReviewButtonView','7YddBRR','set:isResultReady','315222hdvdVB','232570NLedos','7270821OSJewt','AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','AI_TRANSLATE_ACCEPT_ALL','headerTitle','12OreANe','AI_CHAT_HISTORY_CANCEL','label','set','227231UVSCaF','set:isLoading','1166128wtpjHR'];_0x4fc9=function(){return _0x26da50;};return _0x4fc9();}function _0x2f4a(_0xa0cc7e,_0x544c0f){const _0x4fc917=_0x4fc9();return _0x2f4a=function(_0x2f4a5e,_0x12f3b3){_0x2f4a5e=_0x2f4a5e-0xd1;let _0x3e5a26=_0x4fc917[_0x2f4a5e];return _0x3e5a26;},_0x2f4a(_0xa0cc7e,_0x544c0f);}import{AIReviewCoreUICheckResultsView as _0x2a1340}from'../../aireviewcore/ui/aireviewcoreuicheckresultsview.js';import{getTranslation as _0x4ba13f}from'../../aicore/utils/common-translations.js';export class AITranslateCheckResultsView extends _0x2a1340{constructor(_0x4f4b18,_0x2f32ed){const _0x144703=_0x2f4a;super(_0x4f4b18,_0x2f32ed),this['on'](_0x144703(0xe1),(_0x1727af,_0x52f7ce,_0x48a300)=>{const _0x263e9e=_0x144703;_0x48a300&&(this[_0x263e9e(0xdb)]=_0x4ba13f(this[_0x263e9e(0xe5)],_0x263e9e(0xd8)));}),this['on'](_0x144703(0xd4),(_0x7442c3,_0x31fd37,_0x3d9684)=>{const _0x58c934=_0x144703;_0x3d9684&&(this[_0x58c934(0xdb)]=_0x4ba13f(this[_0x58c934(0xe5)],_0x58c934(0xd9)));});}[_0x34da2d(0xd1)](){const _0x2590bd=_0x34da2d,_0x47e444=super[_0x2590bd(0xd1)]();return _0x47e444[_0x2590bd(0xdf)](_0x2590bd(0xde),_0x4ba13f(this[_0x2590bd(0xe5)],_0x2590bd(0xda))),_0x47e444;}[_0x34da2d(0xd2)](){const _0xf60cdb=_0x34da2d,_0x5602a4=super[_0xf60cdb(0xd2)]();return _0x5602a4[_0xf60cdb(0xdf)](_0xf60cdb(0xde),_0x4ba13f(this[_0xf60cdb(0xe5)],_0xf60cdb(0xdd))),_0x5602a4;}}
|