@ckeditor/ckeditor5-ai 47.1.0-alpha.1 → 47.1.0
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 +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/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/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9599ce=_0x4564;(function(_0x5cb99d,_0x275bfe){const _0x2d277b=_0x4564,_0x4de57c=_0x5cb99d();while(!![]){try{const _0x4b536f=parseInt(_0x2d277b(0x1c6))/0x1*(-parseInt(_0x2d277b(0x1a6))/0x2)+-parseInt(_0x2d277b(0x1ae))/0x3*(parseInt(_0x2d277b(0x1c4))/0x4)+parseInt(_0x2d277b(0x1be))/0x5+-parseInt(_0x2d277b(0x1b1))/0x6*(-parseInt(_0x2d277b(0x1b8))/0x7)+parseInt(_0x2d277b(0x197))/0x8+parseInt(_0x2d277b(0x1a4))/0x9+parseInt(_0x2d277b(0x1c2))/0xa*(-parseInt(_0x2d277b(0x1a5))/0xb);if(_0x4b536f===_0x275bfe)break;else _0x4de57c['push'](_0x4de57c['shift']());}catch(_0x5dc2ca){_0x4de57c['push'](_0x4de57c['shift']());}}}(_0x179f,0x43fab));function _0x4564(_0x5028b3,_0x4838a5){const _0x179fc=_0x179f();return _0x4564=function(_0x456450,_0x55a7d6){_0x456450=_0x456450-0x196;let _0x4d5fcb=_0x179fc[_0x456450];return _0x4d5fcb;},_0x4564(_0x5028b3,_0x4838a5);}import{View as _0x1a828e,ButtonView as _0x1cbcef}from'ckeditor5/src/ui.js';import{IconInfo as _0x3ac8de}from'ckeditor5/src/icons.js';import{getTranslation as _0x966871}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x1a828e{[_0x9599ce(0x19d)];[_0x9599ce(0x19b)];[_0x9599ce(0x1ac)];[_0x9599ce(0x1af)];constructor(_0x1efd93,_0x478b6e){const _0x281652=_0x9599ce;super(_0x1efd93),this['id']=_0x478b6e,this[_0x281652(0x19a)](_0x281652(0x199),_0x478b6e),this[_0x281652(0x19d)]=this[_0x281652(0x1cb)](),this[_0x281652(0x19b)]=this[_0x281652(0x1b7)](),this[_0x281652(0x1ac)]=this[_0x281652(0x1c3)](),this[_0x281652(0x1af)]=this[_0x281652(0x1b5)](),this[_0x281652(0x19a)](_0x281652(0x1c5),!0x1),this[_0x281652(0x19a)](_0x281652(0x1c8),!0x1),this[_0x281652(0x19a)](_0x281652(0x1ca),!0x0),this[_0x281652(0x19f)]({'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1c9),this[_0x281652(0x1cc)]['if'](_0x281652(0x1c8),_0x281652(0x1a7))]},'on':{'click':this[_0x281652(0x1cc)]['to'](_0x281652(0x1ad))},'children':[this[_0x281652(0x19d)],{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x196)]},'children':[{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1b9)]},'children':[this[_0x281652(0x19b)],this[_0x281652(0x1ac)]]},this[_0x281652(0x1af)]]}]}),this['on'](_0x281652(0x1ad),()=>{const _0x3e5e6e=_0x281652;this[_0x3e5e6e(0x1c0)](_0x3e5e6e(0x1aa),{'id':_0x478b6e,'source':this});});}[_0x9599ce(0x1b4)](){const _0x5f447a=_0x9599ce;this[_0x5f447a(0x1c8)]=!0x0;}[_0x9599ce(0x1b6)](){const _0x51590a=_0x9599ce;this[_0x51590a(0x1c8)]=!0x1;}[_0x9599ce(0x1cb)](){const _0x3ded7f=_0x9599ce,_0x2e1ebb=new _0x1a828e(this[_0x3ded7f(0x1c7)]);return _0x2e1ebb[_0x3ded7f(0x19f)]({'tag':_0x3ded7f(0x1b2),'attributes':{'class':['ck',_0x3ded7f(0x1ba),_0x3ded7f(0x1a1),_0x3ded7f(0x198),this[_0x3ded7f(0x1cc)]['if'](_0x3ded7f(0x1ca),_0x3ded7f(0x1a2),_0x313529=>!_0x313529)]}}),_0x2e1ebb;}[_0x9599ce(0x1b7)](){const _0x17134f=_0x9599ce,_0x13d389=new _0x1cbcef(this[_0x17134f(0x1c7)]);return _0x13d389[_0x17134f(0x19a)]({'label':_0x966871(this[_0x17134f(0x1c7)],_0x17134f(0x19e)),'withText':!0x0,'class':_0x17134f(0x1bd)}),_0x13d389[_0x17134f(0x1a3)]({'on':{'click':this[_0x17134f(0x1cc)]['to'](_0x25d0a6=>{const _0x50ec19=_0x17134f;this[_0x50ec19(0x1c0)](_0x50ec19(0x1c1),{'id':this[_0x50ec19(0x199)]}),_0x25d0a6[_0x50ec19(0x1a0)]();})}}),_0x13d389;}[_0x9599ce(0x1c3)](){const _0x3d3234=_0x9599ce,_0x4ea1b9=new _0x1cbcef(this[_0x3d3234(0x1c7)]);return _0x4ea1b9[_0x3d3234(0x19a)]({'label':_0x966871(this[_0x3d3234(0x1c7)],_0x3d3234(0x1b0)),'withText':!0x0,'class':_0x3d3234(0x19c)}),_0x4ea1b9[_0x3d3234(0x1a3)]({'on':{'click':this[_0x3d3234(0x1cc)]['to'](_0x153a33=>{const _0xfa5318=_0x3d3234;this[_0xfa5318(0x1c0)](_0xfa5318(0x1ab),{'id':this[_0xfa5318(0x199)]}),_0x153a33[_0xfa5318(0x1a0)]();})}}),_0x4ea1b9;}[_0x9599ce(0x1b5)](){const _0x4c893b=_0x9599ce,_0x24a18d=new _0x1cbcef(this[_0x4c893b(0x1c7)]);return _0x24a18d[_0x4c893b(0x19a)]({'label':_0x966871(this[_0x4c893b(0x1c7)],_0x4c893b(0x1bb)),'icon':_0x3ac8de,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x4c893b(0x1a8),'class':_0x4c893b(0x1a9)}),_0x24a18d[_0x4c893b(0x1bc)](_0x4c893b(0x1bf))['to'](this,_0x4c893b(0x1c5),_0x44c0d5=>_0x44c0d5),_0x24a18d['on'](_0x4c893b(0x1b3),()=>{const _0x249bfd=_0x4c893b;this[_0x249bfd(0x1c5)]=!this[_0x249bfd(0x1c5)];}),_0x24a18d;}}function _0x179f(){const _0x5e2df7=['ck-content','AI_REVIEW_MODE_LEARN_MORE','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','342805FslbaI','isOn','fire','acceptChange','1320260ZZMVNp','_createDismissButtonView','76GJNDuY','isInfoToggleOn','197bZwQWT','locale','isActive','ck-ai-review-mode__check-run-result','showDiff','_createResultResponseView','bindTemplate','ck-ai-review-mode__check-run-result-footer','2329088XRoHps','ck-ai-review-mode__check-run-result-response','changeId','set','acceptButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','resultResponseView','AI_REVIEW_MODE_ACCEPT_CHANGE','setTemplate','stopPropagation','ck-content-direct-excluded','ck-hidden','extendTemplate','3146562LifaEU','22xzDyyJ','2298DyormM','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','activateChange','dismissChange','dismissButtonView','click','20901DDOCoC','infoButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','9516RngJLl','div','execute','setItemAsActive','_createInfoButtonView','setItemAsInactive','_createAcceptButtonView','847epyqYK','ck-ai-review-mode__check-run-result-action-buttons'];_0x179f=function(){return _0x5e2df7;};return _0x179f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x4cb982,KeystrokeHandler as _0x17e8f6,FocusTracker as _0x4a0647}from'ckeditor5/src/utils.js';import{View as _0xf8c373,ViewCollection as _0x35f1e7,ButtonView as _0x39d2df,FormRowView as _0x59ea51,createDropdown as _0x5b023c,addListToDropdown as _0x208925,UIModel as _0x268acc,ButtonLabelView as _0x3600ae,LabeledFieldView as _0x4af9c6,FocusCycler as _0x32df2f}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x54f84f}from'./aireviemodepromptinputview.js';import{getTranslation as _0x8afad}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0xf8c373{['focusTracker']=new _0x4a0647();['keystrokes']=new _0x17e8f6();['focusCycler'];['_focusables']=new _0x35f1e7();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x243a6d,_0x168af6){super(_0x243a6d),this['_check']=_0x168af6,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['id']:'',this['_defaultLabel']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4af9c6(this['locale'],()=>new _0x54f84f(_0x243a6d)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4cb982(),this['_setModelList'](),_0x208925(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x59ea51(this['locale'],{'children':[this['promptInputView']]}),new _0x59ea51(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x591a69,_0x538bbc)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x538bbc()):_0x538bbc();}),this['focusCycler']=new _0x32df2f({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x155c3e=>{this['_focusables']['add'](_0x155c3e),this['focusTracker']['add'](_0x155c3e['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x188cf6 of this['_getFormValidators']()){const _0x4d0f86=_0x188cf6();if(_0x4d0f86)return this['promptInputView']['errorText']=_0x4d0f86,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x8afad(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3d1a84=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x3d1a84['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3d1a84['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3d1a84;}['_createCancelButtonView'](){const _0x506e22=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x506e22['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x506e22['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x17f28f=>{_0x17f28f['stopPropagation']();})}}),_0x506e22['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x506e22;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x55a8b4=this['_check']['models'];if(this['resetToDefault'](),_0x55a8b4?.['length'])for(const _0x4b151b of _0x55a8b4){const _0x25b67b=new _0x268acc({'label':_0x4b151b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4b151b['id'],'model':_0x4b151b});_0x25b67b['bind']('isOn')['to'](this,'modelId',_0x226850=>_0x226850===_0x4b151b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x25b67b,'labelView':new Hs(this['locale'],_0x4b151b)});}}['_createModelSelectionDropdown'](){const _0x35ce50=_0x5b023c(this['locale']);return _0x35ce50['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x35ce50['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x35ce50,'execute',_0x5cd230=>{this['modelId']=_0x5cd230['source']['model']['id'],_0x35ce50['buttonView']['label']=_0x5cd230['source']['label'];}),_0x35ce50;}['_createActionsFooterView'](){const _0x5282f1=new _0xf8c373(this['locale']);return _0x5282f1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x5282f1;}}class Hs extends _0x3600ae{constructor(_0x3ce27b,_0x5a0dbb){super();const _0x22b3e0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x22b3e0['to']('style'),'id':_0x22b3e0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x22b3e0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5a0dbb['description']||'']}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x112f2d=_0x5b40;function _0x54d7(){const _0x553107=['setTemplate','82OsdbET','ck-ai-review-mode__check-list','2759910qZafFt','clear','resetAllParameterizedChecks','isVisible','entries','1167792AAtIuG','2936530uKhOIZ','setChecks','add','9cZzClN','49YFLPhs','9BlpbPE','5MSJDzl','bindTemplate','1166187uRUlSk','_checkViews','runReviewCheck','20747WpecaW','3065376SUZBuG','317692hXUmdF','delegate','ck-hidden','resetToDefault','locale','hasChecks','div','length'];_0x54d7=function(){return _0x553107;};return _0x54d7();}(function(_0xe578a0,_0x14332e){const _0x3a2176=_0x5b40,_0x3f6fbf=_0xe578a0();while(!![]){try{const _0x47d026=-parseInt(_0x3a2176(0xe1))/0x1*(-parseInt(_0x3a2176(0xce))/0x2)+-parseInt(_0x3a2176(0xd9))/0x3*(parseInt(_0x3a2176(0xc5))/0x4)+-parseInt(_0x3a2176(0xdc))/0x5*(parseInt(_0x3a2176(0xd0))/0x6)+parseInt(_0x3a2176(0xda))/0x7*(parseInt(_0x3a2176(0xd5))/0x8)+-parseInt(_0x3a2176(0xdb))/0x9*(parseInt(_0x3a2176(0xd6))/0xa)+-parseInt(_0x3a2176(0xde))/0xb+-parseInt(_0x3a2176(0xc4))/0xc;if(_0x47d026===_0x14332e)break;else _0x3f6fbf['push'](_0x3f6fbf['shift']());}catch(_0x171738){_0x3f6fbf['push'](_0x3f6fbf['shift']());}}}(_0x54d7,0x7eba1));function _0x5b40(_0x42aeff,_0x4ba178){const _0x54d7c5=_0x54d7();return _0x5b40=function(_0x5b4021,_0x3b5a61){_0x5b4021=_0x5b4021-0xc4;let _0x5d0cd1=_0x54d7c5[_0x5b4021];return _0x5d0cd1;},_0x5b40(_0x42aeff,_0x4ba178);}import{ListItemView as _0x5ef376,ViewCollection as _0xdf1441}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2cea73}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x5ef376{[_0x112f2d(0xdf)];constructor(_0xc3197){const _0x256b7f=_0x112f2d;super(_0xc3197),this[_0x256b7f(0xdf)]=new _0xdf1441();const _0x37adc6=this[_0x256b7f(0xdd)];this[_0x256b7f(0xcd)]({'tag':_0x256b7f(0xcb),'attributes':{'class':[_0x256b7f(0xcf),_0x37adc6['if'](_0x256b7f(0xd3),_0x256b7f(0xc7),_0x2dcdfe=>!_0x2dcdfe)]},'children':this[_0x256b7f(0xdf)]});}[_0x112f2d(0xd7)](_0xc5d5d7){const _0x2ab71f=_0x112f2d;this[_0x2ab71f(0xdf)][_0x2ab71f(0xd1)]();for(const [_0x29535b,_0x1cf977]of _0xc5d5d7[_0x2ab71f(0xd4)]()){const _0x5243b8=new _0x2cea73(this[_0x2ab71f(0xc9)],_0x1cf977,_0x29535b);_0x5243b8[_0x2ab71f(0xc6)](_0x2ab71f(0xe0))['to'](this),this[_0x2ab71f(0xdf)][_0x2ab71f(0xd8)](_0x5243b8);}}[_0x112f2d(0xca)](){const _0x2ac28c=_0x112f2d;return this[_0x2ac28c(0xdf)][_0x2ac28c(0xcc)]>0x0;}[_0x112f2d(0xd2)](){const _0x5f40a6=_0x112f2d;for(const _0x1d76d9 of this[_0x5f40a6(0xdf)])_0x1d76d9 instanceof _0x2cea73&&_0x1d76d9[_0x5f40a6(0xc8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x268da3,View as _0x5c0d57,ViewCollection as _0x1dbc32,ButtonView as _0x128384}from'ckeditor5/src/ui.js';import{IconStop as _0x1fc932,IconEye as _0x3a1b1b,IconEyeCrossedOut as _0x3364ef}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x595bd1}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x134278,SKELETON_DEFINITIONS as _0x5099f4}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x98c88f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x26c4ec}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x459653}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x268da3{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x1d8ab0){super(_0x1d8ab0),this['_resultViews']=new _0x1dbc32(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x98c88f(_0x1d8ab0),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x4a79a4=this['_createCombinedSkeletonLoader'](),_0x2ced09=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x2ced09['if']('isVisible','ck-hidden',_0x26d541=>!_0x26d541)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5939cf=>_0x5939cf)]},'children':this['_resultViews']},_0x4a79a4]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x32f39f){const _0x460a75=new _0x595bd1(this['locale'],_0x32f39f['id']);_0x460a75['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x460a75),_0x460a75['resultResponseView']['element']['innerHTML']=_0x32f39f['contentDiffed'];}['hideResult'](_0x42dbed){const _0x291a22=this['_resultViews']['find'](_0x487b8e=>_0x487b8e['id']===_0x42dbed);_0x291a22&&(_0x291a22['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x291a22['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x291a22),_0x291a22['destroy']();},{'once':!0x0}));}['setTitle'](_0x51bcc1,_0xea624c){this['headerTitle']=_0x51bcc1,this['headerSubtitle']=_0xea624c||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x134278(this['locale'],_0x5099f4['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x295718=new _0x5c0d57(this['locale']),_0xa9c87a=[];for(let _0x370fa0=0x0;_0x370fa0<0x10;_0x370fa0++){const _0x4e4cf5=this['_createSkeletonLoader']();_0x4e4cf5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0xa9c87a['push'](_0x4e4cf5);}return _0x295718['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x311d83=>!_0x311d83)]},'children':_0xa9c87a}),_0x295718;}['_createErrorView'](){const _0x5481cd=new _0x5c0d57(this['locale']),_0x4241bb=new _0x128384(this['locale']),t=this['locale']['t'];return _0x5481cd['delegate']('retryReview')['to'](this),_0x4241bb['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x4241bb['on']('execute',()=>{this['fire']('retryReview');}),_0x5481cd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5b93e4=>!_0x5b93e4),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x496b00=>'chunk'===_0x496b00)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x15b5f0=>'chunk'===_0x15b5f0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x29815a=>'general'!==_0x29815a)]},'children':[{'text':_0x26c4ec(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x339d9b=>'chunk'!==_0x339d9b)]},'children':[{'text':_0x26c4ec(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4241bb]}),_0x5481cd;}['_createCancelButtonView'](){const _0x36d40c=new _0x128384(this['locale']);return _0x36d40c['set']({'label':_0x26c4ec(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x1fc932}),_0x36d40c['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5b0690=>_0x5b0690)]}}),_0x36d40c['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x36d40c;}['_createToggleDiffButtonView'](){const _0x157732=new _0x128384(this['locale']);_0x157732['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x157732['bind']('isEnabled')['to'](this,'isError',_0x1877b7=>!_0x1877b7),_0x157732['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3ae012=>!_0x3ae012)]}});const _0x206dec=_0x26c4ec(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4f35d0=_0x26c4ec(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x157732['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1c9cfc=>_0x1c9cfc),_0x157732['bind']('icon')['to'](this,'isToggleDiffOn',_0x387d31=>_0x387d31?_0x3a1b1b:_0x3364ef),_0x157732['bind']('label')['to'](this,'isToggleDiffOn',_0x1a0f88=>_0x1a0f88?_0x206dec:_0x4f35d0),_0x157732['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x157732;}['_createAcceptAllButtonView'](){const _0x1c97e6=new _0x128384(this['locale']);return _0x1c97e6['set']({'label':_0x26c4ec(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1c97e6['bind']('isEnabled')['to'](this,'isError',_0x4359d3=>!_0x4359d3),_0x1c97e6['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4f08e5=>!_0x4f08e5)]}}),_0x1c97e6['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1c97e6;}['_createExitReviewButtonView'](){const _0x3c0bc5=new _0x128384(this['locale']);return _0x3c0bc5['set']({'label':_0x26c4ec(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x3c0bc5['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x18847a=>!_0x18847a)]}}),_0x3c0bc5['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x3c0bc5;}['_createResultHeaderView'](){const _0x549fff=new _0x5c0d57(this['locale']),_0x309a66=this['_createTitleView']();return _0x549fff['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[_0x309a66,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x549fff;}['_createTitleView'](){const _0x3fb9d8=new _0x5c0d57(this['locale']),_0x1d7fdb=new _0x459653();return _0x1d7fdb['bind']('isVisible')['to'](this,'isResultReady',_0x48b6e8=>!_0x48b6e8),_0x3fb9d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0x1d7fdb,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0x3fb9d8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x4d5d30,IconView as _0x3d0365,View as _0x28e73e,ViewCollection as _0x471add,ButtonView as _0x43ac9c,clickOutsideHandler as _0x1cc99e}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x124c6f}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x24e3df}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x4b562b}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x4d5d30{['_formItemsCollection']=new _0x471add();['_customCheckView']=null;constructor(_0x1957fa,_0x34d4aa,_0x5bd8bc){super(_0x1957fa),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x34d4aa['isParameterized']);const _0x230a3f=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x5daabd=>_0x5daabd),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x56a957=>_0x56a957)],'style':{'--ck-ai-check-list-item-index':_0x5bd8bc}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x34d4aa['title']}]},_0x230a3f]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x34d4aa['description']}]}]}]},..._0x34d4aa['isParameterized']?[this['_createParameterizedView'](_0x34d4aa)]:[],...'custom'===_0x34d4aa['id']?[this['_createCustomView'](_0x34d4aa)]:[]]}),this['on']('click',()=>{_0x34d4aa['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x34d4aa['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x1cc99e({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x26ed4b=>{_0x26ed4b['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x5a921f=new _0x3d0365();return _0x5a921f['content']=_0x124c6f,_0x5a921f['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x5a921f;}['_createParameterizedView'](_0x4f6b0a){const _0x1368e9=new _0x28e73e(),_0x1a1970=this['_createFormView'](_0x4f6b0a);return _0x1368e9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x477f0c=>!_0x477f0c)]},'children':[_0x1a1970]}),_0x1368e9;}['_createFormView'](_0x40422a){const _0x3a883b=new _0x28e73e(),_0xbe53ed=Array['isArray'](_0x40422a['options'])?_0x40422a['options']:[],_0x620e2d=new _0x43ac9c(this['locale']),t=this['locale']['t'];_0x620e2d['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x620e2d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0xc0e66b=>{_0xc0e66b['stopPropagation']();})}}),_0x620e2d['on']('execute',()=>{const _0x5aff92=[],_0x4502da={};this['_formItemsCollection']['forEach'](_0x46fae5=>{_0x5aff92['push'](_0x46fae5['value']),_0x40422a['useArgs']&&_0x40422a['options']&&(_0x4502da[_0x46fae5['argsKey']]=_0x46fae5['value']);}),this['fire']('runReviewCheck',{'id':_0x40422a['id'],'params':_0x5aff92['length']?_0x5aff92:void 0x0,'args':Object['keys'](_0x4502da)['length']?_0x4502da:void 0x0});});const _0x136eda=_0xbe53ed['length'];return _0xbe53ed['forEach']((_0x4ee311,_0x1eb8df)=>{const _0x2ec24a=_0x1eb8df===_0x136eda-0x1;this['_formItemsCollection']['add'](new _0x24e3df(this['locale'],_0x4ee311,_0x2ec24a?_0x620e2d:null));}),_0x3a883b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3a883b;}['_createCustomView'](_0x47a7c1){return this['_customCheckView']=new _0x4b562b(this['locale'],_0x47a7c1),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x33206b=>!_0x33206b)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x25fe65,_0x1e21a2,_0x1e8681)=>{_0x1e8681||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x100dbd=_0xf94f;(function(_0x511d2e,_0x5d09af){const _0x3fa797=_0xf94f,_0x1c12bd=_0x511d2e();while(!![]){try{const _0x4f5dba=-parseInt(_0x3fa797(0xf8))/0x1+-parseInt(_0x3fa797(0xdb))/0x2+parseInt(_0x3fa797(0xdd))/0x3+-parseInt(_0x3fa797(0xeb))/0x4+-parseInt(_0x3fa797(0xd7))/0x5+-parseInt(_0x3fa797(0xea))/0x6*(parseInt(_0x3fa797(0xe1))/0x7)+parseInt(_0x3fa797(0xe7))/0x8;if(_0x4f5dba===_0x5d09af)break;else _0x1c12bd['push'](_0x1c12bd['shift']());}catch(_0x3d14c9){_0x1c12bd['push'](_0x1c12bd['shift']());}}}(_0x1eec,0xd061a));function _0x1eec(){const _0x4485f0=['finishReview','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-content-text','_createResultHeaderView','div','ck-hidden','AI_REVIEW_MODE_COMPLETED_TEXT','1337238shWIYc','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-button-primary','resultsHeader','6045105kApamP','bindTemplate','completed','ck-ai-review-mode__review-completed-content-icon','842012TrSFMX','isVisible','690579enVAmA','span','setTemplate','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','7046620gEKZis','set','fire','locale','_finishReviewButtonView','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','41116448XiHuSZ','ck-ai-review-mode__review-completed-header','ck-ai-review-mode__review-completed-content','6tXatZq','2169176oSMkRe','viewType','_createFinishReviewButtonView','execute','ck-ai-review-mode__review-completed-header-title'];_0x1eec=function(){return _0x4485f0;};return _0x1eec();}import{ListItemView as _0x18f149,View as _0x4e537b,ButtonView as _0x2575c7}from'ckeditor5/src/ui.js';import{getTranslation as _0x3779f5}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0xf94f(_0x591439,_0xd21831){const _0x1eecd0=_0x1eec();return _0xf94f=function(_0xf94f17,_0x55f94a){_0xf94f17=_0xf94f17-0xd4;let _0x325c59=_0x1eecd0[_0xf94f17];return _0x325c59;},_0xf94f(_0x591439,_0xd21831);}export class AIReviewModeReviewCompletedView extends _0x18f149{[_0x100dbd(0xd6)];[_0x100dbd(0xe5)];constructor(_0x550986){const _0x3d93fd=_0x100dbd;super(_0x550986),this[_0x3d93fd(0xe5)]=this[_0x3d93fd(0xed)](),this[_0x3d93fd(0xd6)]=this[_0x3d93fd(0xf4)](),this[_0x3d93fd(0xe2)](_0x3d93fd(0xec),_0x3d93fd(0xd9));const _0x5abf21=this[_0x3d93fd(0xd8)];this[_0x3d93fd(0xdf)]({'tag':_0x3d93fd(0xf5),'attributes':{'class':[_0x3d93fd(0xf1),_0x5abf21['if'](_0x3d93fd(0xdc),_0x3d93fd(0xf6),_0xf8ca3b=>!_0xf8ca3b)]},'children':[this[_0x3d93fd(0xd6)],{'tag':_0x3d93fd(0xf5),'attributes':{'class':[_0x3d93fd(0xe9)]},'children':[{'tag':_0x3d93fd(0xde),'attributes':{'class':[_0x3d93fd(0xda)]},'children':[{'text':_0x5abf21['to'](_0x3d93fd(0xec),_0x1cad73=>_0x3d93fd(0xd9)===_0x1cad73?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x3d93fd(0xf3)]},'children':[{'text':_0x5abf21['to'](_0x3d93fd(0xec),_0x38b5cc=>_0x3779f5(_0x550986,_0x3d93fd(0xd9)===_0x38b5cc?_0x3d93fd(0xf7):_0x3d93fd(0xe0)))}]}]}]});}[_0x100dbd(0xed)](){const _0x44bec5=_0x100dbd,_0xdf40e4=new _0x2575c7(this[_0x44bec5(0xe4)]);return _0xdf40e4[_0x44bec5(0xe2)]({'label':_0x3779f5(this[_0x44bec5(0xe4)],_0x44bec5(0xe6)),'withText':!0x0,'class':_0x44bec5(0xd5)}),_0xdf40e4['on'](_0x44bec5(0xee),()=>{const _0x19f1c6=_0x44bec5;this[_0x19f1c6(0xe3)](_0x19f1c6(0xf0));}),_0xdf40e4;}[_0x100dbd(0xf4)](){const _0x55516e=_0x100dbd,_0xb48338=new _0x4e537b(this[_0x55516e(0xe4)]);return _0xb48338[_0x55516e(0xdf)]({'tag':_0x55516e(0xf5),'attributes':{'class':[_0x55516e(0xe8)]},'children':[{'tag':_0x55516e(0xde),'attributes':{'class':[_0x55516e(0xef)]},'children':[{'text':_0x3779f5(this[_0x55516e(0xe4)],_0x55516e(0xd4))}]},{'tag':_0x55516e(0xf5),'attributes':{'class':[_0x55516e(0xf2)]},'children':[this[_0x55516e(0xe5)]]}]}),_0xb48338;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3ff9(){var _0x20c738=['5jIZGIX','ck-ai-review-mode','hideActionsWhenResultIsReady','div','showChunkErrorView','ck-ai-header\x20ck-ai-header_review-mode','122382fDCuse','isLoading','3088508eVYzte','delegate','9mKOgPh','isVisible','completed','set','reviewCompletedView','53727784EMKjuw','addCheckRunResult','showReviewCompletedView','9OmEFlN','16780980KMHRlC','reviewCheckListView','setTemplate','clearResults','showChunkErrorMessage','reviewModeHeader','showReviewCheckListView','resetErrorState','4956240ZCaWMc','showGeneralErrorView','showReviewCheckResultsView','AI_REVIEW_MODE','6xiGdBg','addResult','resetAllParameterizedChecks','showActionsWhenResultIsReady','8527992XivJxZ','showNoChangesView','ck-reset_all','ck-rounded-corners','isResultReady','1932161EuFzlY','ltr','finishReview','showGeneralErrorMessage','reviewCheckResultsView','viewType','unmodified'];_0x3ff9=function(){return _0x20c738;};return _0x3ff9();}var _0x4248a0=_0x4a72;(function(_0x1e9808,_0x3157c5){var _0x34e6f6=_0x4a72,_0x194839=_0x1e9808();while(!![]){try{var _0x4852b4=-parseInt(_0x34e6f6(0x163))/0x1*(parseInt(_0x34e6f6(0x186))/0x2)+-parseInt(_0x34e6f6(0x16c))/0x3+parseInt(_0x34e6f6(0x188))/0x4*(parseInt(_0x34e6f6(0x180))/0x5)+parseInt(_0x34e6f6(0x170))/0x6*(parseInt(_0x34e6f6(0x179))/0x7)+-parseInt(_0x34e6f6(0x174))/0x8*(parseInt(_0x34e6f6(0x18a))/0x9)+-parseInt(_0x34e6f6(0x164))/0xa+parseInt(_0x34e6f6(0x18f))/0xb;if(_0x4852b4===_0x3157c5)break;else _0x194839['push'](_0x194839['shift']());}catch(_0x4aa088){_0x194839['push'](_0x194839['shift']());}}}(_0x3ff9,0xf09fe));import{View as _0x24c955,FormHeaderView as _0x4d6cf0}from'ckeditor5/src/ui.js';import{IconAIReview as _0x50153d}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x1ea5e3}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x4f82cf}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x260977}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0xf70deb}from'./aireviewmodereviewcompletedview.js';import{getTranslation as _0x4375cf}from'../../aicore/utils/common-translations.js';function _0x4a72(_0x1141a9,_0x5da08d){var _0x3ff99a=_0x3ff9();return _0x4a72=function(_0x4a720c,_0x56e148){_0x4a720c=_0x4a720c-0x161;var _0x3da50d=_0x3ff99a[_0x4a720c];return _0x3da50d;},_0x4a72(_0x1141a9,_0x5da08d);}export class AIReviewModeView extends _0x24c955{[_0x4248a0(0x169)];[_0x4248a0(0x165)];[_0x4248a0(0x17d)];[_0x4248a0(0x18e)];constructor(_0x1dc624){var _0x47fdf2=_0x4248a0;super(_0x1dc624),this[_0x47fdf2(0x169)]=new _0x4d6cf0(_0x1dc624,{'label':_0x4375cf(_0x1dc624,_0x47fdf2(0x16f)),'icon':_0x50153d,'class':_0x47fdf2(0x185)}),this[_0x47fdf2(0x165)]=new _0x1ea5e3(_0x1dc624),this[_0x47fdf2(0x165)][_0x47fdf2(0x189)](..._0x4f82cf)['to'](this),this[_0x47fdf2(0x17d)]=new _0x260977(_0x1dc624),this[_0x47fdf2(0x17d)][_0x47fdf2(0x189)](..._0x4f82cf)['to'](this),this[_0x47fdf2(0x18e)]=new _0xf70deb(_0x1dc624),this[_0x47fdf2(0x18e)][_0x47fdf2(0x189)](_0x47fdf2(0x17b))['to'](this),this[_0x47fdf2(0x165)][_0x47fdf2(0x18d)](_0x47fdf2(0x18b),!0x1),this[_0x47fdf2(0x17d)][_0x47fdf2(0x18d)](_0x47fdf2(0x18b),!0x1),this[_0x47fdf2(0x17d)][_0x47fdf2(0x18d)](_0x47fdf2(0x187),!0x1),this[_0x47fdf2(0x17d)][_0x47fdf2(0x18d)](_0x47fdf2(0x178),!0x1),this[_0x47fdf2(0x18e)][_0x47fdf2(0x18d)](_0x47fdf2(0x18b),!0x1),this[_0x47fdf2(0x166)]({'tag':_0x47fdf2(0x183),'attributes':{'class':['ck',_0x47fdf2(0x176),_0x47fdf2(0x181),_0x47fdf2(0x177)],'dir':_0x47fdf2(0x17a)},'children':[this[_0x47fdf2(0x169)],this[_0x47fdf2(0x165)],this[_0x47fdf2(0x17d)],this[_0x47fdf2(0x18e)]]});}[_0x4248a0(0x16a)](){var _0x1ef24f=_0x4248a0;this[_0x1ef24f(0x165)][_0x1ef24f(0x172)](),this[_0x1ef24f(0x165)][_0x1ef24f(0x18d)](_0x1ef24f(0x18b),!0x0),this[_0x1ef24f(0x17d)][_0x1ef24f(0x18d)](_0x1ef24f(0x18b),!0x1),this[_0x1ef24f(0x18e)][_0x1ef24f(0x18d)](_0x1ef24f(0x18b),!0x1);}[_0x4248a0(0x16e)](){var _0x4881fc=_0x4248a0;this[_0x4881fc(0x182)](),this[_0x4881fc(0x17d)][_0x4881fc(0x16b)](),this[_0x4881fc(0x165)][_0x4881fc(0x18d)](_0x4881fc(0x18b),!0x1),this[_0x4881fc(0x17d)][_0x4881fc(0x18d)](_0x4881fc(0x18b),!0x0),this[_0x4881fc(0x17d)][_0x4881fc(0x167)](),this[_0x4881fc(0x17d)][_0x4881fc(0x18d)](_0x4881fc(0x187),!0x0);}[_0x4248a0(0x161)](_0x54283e){var _0x100b51=_0x4248a0;this[_0x100b51(0x17d)][_0x100b51(0x171)](_0x54283e),this[_0x100b51(0x17d)][_0x100b51(0x18d)](_0x100b51(0x187),!0x1);}[_0x4248a0(0x162)](){var _0x2c4fe2=_0x4248a0;this[_0x2c4fe2(0x165)][_0x2c4fe2(0x18d)](_0x2c4fe2(0x18b),!0x1),this[_0x2c4fe2(0x17d)][_0x2c4fe2(0x18d)](_0x2c4fe2(0x18b),!0x1),this[_0x2c4fe2(0x18e)][_0x2c4fe2(0x18d)](_0x2c4fe2(0x17e),_0x2c4fe2(0x18c)),this[_0x2c4fe2(0x18e)][_0x2c4fe2(0x18d)](_0x2c4fe2(0x18b),!0x0);}[_0x4248a0(0x173)](){var _0x4d9f5c=_0x4248a0;this[_0x4d9f5c(0x17d)][_0x4d9f5c(0x178)]=!0x0;}[_0x4248a0(0x175)](){var _0x2da3fb=_0x4248a0;this[_0x2da3fb(0x165)][_0x2da3fb(0x18d)](_0x2da3fb(0x18b),!0x1),this[_0x2da3fb(0x17d)][_0x2da3fb(0x18d)](_0x2da3fb(0x18b),!0x1),this[_0x2da3fb(0x18e)][_0x2da3fb(0x18d)](_0x2da3fb(0x17e),_0x2da3fb(0x17f)),this[_0x2da3fb(0x18e)][_0x2da3fb(0x18d)](_0x2da3fb(0x18b),!0x0);}[_0x4248a0(0x182)](){var _0x48af91=_0x4248a0;this[_0x48af91(0x17d)][_0x48af91(0x178)]=!0x1;}[_0x4248a0(0x16d)](){var _0x5ea16f=_0x4248a0;this[_0x5ea16f(0x17d)][_0x5ea16f(0x18d)](_0x5ea16f(0x187),!0x1),this[_0x5ea16f(0x173)](),this[_0x5ea16f(0x17d)][_0x5ea16f(0x17c)]();}[_0x4248a0(0x184)](){var _0x426e6f=_0x4248a0;this[_0x426e6f(0x17d)][_0x426e6f(0x18d)](_0x426e6f(0x187),!0x1),this[_0x426e6f(0x173)](),this[_0x426e6f(0x17d)][_0x426e6f(0x168)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3ef8(){const _0x2a25d9=['140707SiDJvM','listenTo','length','button','label','ck-ai-review-mode__check-list-item-parameterized-form-element','model','stopPropagation','formValue','locale','buttonView','bind','set','data','3678DbldVo','isOn','110NDexbL','setTemplate','_dropdownView','ck-reset_all','default','_defaultValue','execute','3392880cLLiUS','find','_defaultLabel','64JiqVPN','3278120VpkMHO','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','_prepareListOptions','bindTemplate','resetToDefault','source','extendTemplate','4522185LhoSDh','add','div','48462mNJyvX','menu','2ONjgCY','131967fcJAHX','5467wucEWx','menuitemradio'];_0x3ef8=function(){return _0x2a25d9;};return _0x3ef8();}const _0x5c80b4=_0x1c7d;function _0x1c7d(_0x23abd9,_0x356805){const _0x3ef860=_0x3ef8();return _0x1c7d=function(_0x1c7dc3,_0x398c32){_0x1c7dc3=_0x1c7dc3-0x1bb;let _0xe5370a=_0x3ef860[_0x1c7dc3];return _0xe5370a;},_0x1c7d(_0x23abd9,_0x356805);}(function(_0x5226e9,_0x19735b){const _0x5c1d0f=_0x1c7d,_0x613a80=_0x5226e9();while(!![]){try{const _0x3d20fd=-parseInt(_0x5c1d0f(0x1cb))/0x1*(parseInt(_0x5c1d0f(0x1c7))/0x2)+-parseInt(_0x5c1d0f(0x1c5))/0x3*(-parseInt(_0x5c1d0f(0x1e5))/0x4)+parseInt(_0x5c1d0f(0x1e2))/0x5+-parseInt(_0x5c1d0f(0x1d9))/0x6*(parseInt(_0x5c1d0f(0x1c9))/0x7)+parseInt(_0x5c1d0f(0x1bb))/0x8+-parseInt(_0x5c1d0f(0x1c2))/0x9+-parseInt(_0x5c1d0f(0x1db))/0xa*(-parseInt(_0x5c1d0f(0x1c8))/0xb);if(_0x3d20fd===_0x19735b)break;else _0x613a80['push'](_0x613a80['shift']());}catch(_0x271dbe){_0x613a80['push'](_0x613a80['shift']());}}}(_0x3ef8,0x571ef));import{Collection as _0xafdee3}from'ckeditor5/src/utils.js';import{View as _0x3d3f9c,createDropdown as _0x210816,addListToDropdown as _0x58d3b4,UIModel as _0xf84680}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x3d3f9c{[_0x5c80b4(0x1dd)];[_0x5c80b4(0x1e0)];[_0x5c80b4(0x1e4)];constructor(_0x53138c,_0x468ab4){const _0x3c52d0=_0x5c80b4;super(_0x53138c),this[_0x3c52d0(0x1e0)]=_0x468ab4[_0x3c52d0(0x1df)]||(_0x468ab4[_0x3c52d0(0x1d8)][_0x3c52d0(0x1cd)]>0x0?_0x468ab4[_0x3c52d0(0x1d8)][0x0]['id']:''),this[_0x3c52d0(0x1e4)]=_0x468ab4[_0x3c52d0(0x1d8)][_0x3c52d0(0x1e3)](_0x6267e3=>_0x6267e3['id']===this[_0x3c52d0(0x1e0)])?.[_0x3c52d0(0x1cf)]||'',this[_0x3c52d0(0x1d7)](_0x3c52d0(0x1d3),''),this[_0x3c52d0(0x1dd)]=_0x210816(this[_0x3c52d0(0x1d4)]);const _0x3a8f47=this[_0x3c52d0(0x1bd)](_0x468ab4[_0x3c52d0(0x1d8)]);_0x58d3b4(this[_0x3c52d0(0x1dd)],_0x3a8f47,{'role':_0x3c52d0(0x1c6),'ariaLabel':_0x468ab4[_0x3c52d0(0x1cf)]}),this[_0x3c52d0(0x1dd)][_0x3c52d0(0x1d5)][_0x3c52d0(0x1d7)]({'label':this[_0x3c52d0(0x1e4)],'withText':!0x0}),this[_0x3c52d0(0x1dd)][_0x3c52d0(0x1c1)]({'on':{'click':this[_0x3c52d0(0x1be)]['to'](_0x144178=>{const _0x378b8d=_0x3c52d0;_0x144178[_0x378b8d(0x1d2)]();})}}),this[_0x3c52d0(0x1cc)](this[_0x3c52d0(0x1dd)],_0x3c52d0(0x1e1),_0x574b8d=>{const _0x1a12c0=_0x3c52d0;this[_0x1a12c0(0x1d3)]=_0x574b8d[_0x1a12c0(0x1c0)][_0x1a12c0(0x1d1)]['id'],this[_0x1a12c0(0x1dd)][_0x1a12c0(0x1d5)][_0x1a12c0(0x1cf)]=_0x574b8d[_0x1a12c0(0x1c0)][_0x1a12c0(0x1d1)][_0x1a12c0(0x1cf)];}),this[_0x3c52d0(0x1dc)]({'tag':_0x3c52d0(0x1c4),'attributes':{'class':['ck',_0x3c52d0(0x1de),_0x3c52d0(0x1d0),_0x3c52d0(0x1bc)]},'children':[this[_0x3c52d0(0x1dd)]]});}[_0x5c80b4(0x1bf)](){const _0x50bc77=_0x5c80b4;this[_0x50bc77(0x1d3)]=this[_0x50bc77(0x1e0)],this[_0x50bc77(0x1dd)][_0x50bc77(0x1d5)][_0x50bc77(0x1cf)]=this[_0x50bc77(0x1e4)];}[_0x5c80b4(0x1bd)](_0x594a0b=[]){const _0x51c957=_0x5c80b4,_0x101c7e=new _0xafdee3();this[_0x51c957(0x1bf)]();for(const _0x5f99e3 of _0x594a0b){const _0x2240c3=new _0xf84680({'label':_0x5f99e3[_0x51c957(0x1cf)],'withText':!0x0,'role':_0x51c957(0x1ca),'id':_0x5f99e3['id'],'model':_0x5f99e3});_0x2240c3[_0x51c957(0x1d6)](_0x51c957(0x1da))['to'](this,_0x51c957(0x1d3),_0xca56fc=>_0xca56fc===_0x2240c3['id']);const _0x6482f3={'type':_0x51c957(0x1ce),'model':_0x2240c3};_0x101c7e[_0x51c957(0x1c3)](_0x6482f3);}return _0x101c7e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3b0b(){const _0x167e28=['61130efGOOI','3dVBiFL','585rRWOjn','set','438BxzCph','20742050WIGyXm','9232SEJLkU','resetToDefault','setTemplate','formType','ck-ai-review-mode__form-item','4408852xYQPiN','children','2157884NtIRUe','bind','add','_formItem','11kwmTFo','ck-form__row_with-submit','locale','348792GJRhYU','ck-reset_all','dropdown','formValue','666905vhDilR','value','argsKey','div'];_0x3b0b=function(){return _0x167e28;};return _0x3b0b();}const _0x105279=_0x1b79;(function(_0x1fd8f5,_0x42da7b){const _0x48fa95=_0x1b79,_0x19fae7=_0x1fd8f5();while(!![]){try{const _0x2d5428=parseInt(_0x48fa95(0xb4))/0x1+-parseInt(_0x48fa95(0xb0))/0x2+parseInt(_0x48fa95(0xb9))/0x3*(parseInt(_0x48fa95(0xa9))/0x4)+parseInt(_0x48fa95(0xb8))/0x5*(parseInt(_0x48fa95(0xbc))/0x6)+parseInt(_0x48fa95(0xa7))/0x7+parseInt(_0x48fa95(0xbe))/0x8*(parseInt(_0x48fa95(0xba))/0x9)+-parseInt(_0x48fa95(0xbd))/0xa*(parseInt(_0x48fa95(0xad))/0xb);if(_0x2d5428===_0x42da7b)break;else _0x19fae7['push'](_0x19fae7['shift']());}catch(_0x40390b){_0x19fae7['push'](_0x19fae7['shift']());}}}(_0x3b0b,0x8786f));import{FormRowView as _0x1cdad1,ListItemView as _0x35284d}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x4beb1a}from'./aireviewmodeformdropdown.js';function _0x1b79(_0x47be2f,_0x49044f){const _0x3b0b36=_0x3b0b();return _0x1b79=function(_0x1b79f3,_0x35280e){_0x1b79f3=_0x1b79f3-0xa7;let _0x418608=_0x3b0b36[_0x1b79f3];return _0x418608;},_0x1b79(_0x47be2f,_0x49044f);}export class AIReviewModeFormManagerView extends _0x35284d{[_0x105279(0xac)]=null;constructor(_0x469d46,_0x1d3139,_0xa5532d){const _0x5689b9=_0x105279;super(_0x469d46),this[_0x5689b9(0xb6)]=_0x1d3139?.[_0x5689b9(0xb6)];if(_0x5689b9(0xb2)===_0x1d3139[_0x5689b9(0xc1)])this[_0x5689b9(0xac)]=new _0x4beb1a(this[_0x5689b9(0xaf)],_0x1d3139);this[_0x5689b9(0xbb)](_0x5689b9(0xb5),''),this[_0x5689b9(0xaa)](_0x5689b9(0xb5))['to'](this[_0x5689b9(0xac)],_0x5689b9(0xb3));const _0x1e3e97=new _0x1cdad1(this[_0x5689b9(0xaf)],{'children':[this[_0x5689b9(0xac)]],'class':[_0xa5532d?_0x5689b9(0xae):'']});_0xa5532d&&_0x1e3e97[_0x5689b9(0xa8)][_0x5689b9(0xab)](_0xa5532d),this[_0x5689b9(0xc0)]({'tag':_0x5689b9(0xb7),'attributes':{'class':['ck',_0x5689b9(0xc2),_0x5689b9(0xb1)]},'children':[_0x1e3e97]});}[_0x105279(0xbf)](){const _0xc33dd=_0x105279;this[_0xc33dd(0xac)][_0xc33dd(0xbf)]();}}
|
package/src/aitabs/aitabs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2b59ed=_0x33b5;(function(_0x551eba,_0x378c23){const _0xf50544=_0x33b5,_0x2c5c4a=_0x551eba();while(!![]){try{const _0x4abc35=parseInt(_0xf50544(0x182))/0x1*(parseInt(_0xf50544(0x18b))/0x2)+parseInt(_0xf50544(0x173))/0x3*(-parseInt(_0xf50544(0x16c))/0x4)+-parseInt(_0xf50544(0x172))/0x5*(-parseInt(_0xf50544(0x168))/0x6)+-parseInt(_0xf50544(0x174))/0x7+parseInt(_0xf50544(0x181))/0x8+parseInt(_0xf50544(0x177))/0x9*(-parseInt(_0xf50544(0x189))/0xa)+parseInt(_0xf50544(0x166))/0xb;if(_0x4abc35===_0x378c23)break;else _0x2c5c4a['push'](_0x2c5c4a['shift']());}catch(_0x54fa59){_0x2c5c4a['push'](_0x2c5c4a['shift']());}}}(_0x4ef9,0x1c507));import{ContextPlugin as _0x110250,Editor as _0x12ecfa}from'ckeditor5/src/core.js';function _0x4ef9(){const _0x529d99=['custom','element','locale','ai-tabs-sidebar-container-element-not-found','switchSide','resizedTabs','resize','container','410179eEqRQp','switchType','36evsxEw','destroy','add','includes','796zmOnrI','isOfficialPlugin','isMaximized','right','ai-tabs-configuration-not-found','get','125765mFNxUV','3078JGDubK','923818ZpzqJe','focusTracker','ai-tabs-unsupported-ui-type','70182GJlmIe','render','pluginName','type','sidebar','set','bind','appendChild','ai.container','remove','1667168ebjuKr','626FjUBIL','isPremiumPlugin','body','AITabs','visibleByDefault','view','config','160wVtFoX','side','576StfhOy','overlay','ai-tabs-unsupported-ui-side','showResizeButton','fire','context'];_0x4ef9=function(){return _0x529d99;};return _0x4ef9();}function _0x33b5(_0x573754,_0x6de215){const _0x4ef9e8=_0x4ef9();return _0x33b5=function(_0x33b5d2,_0x3b75d8){_0x33b5d2=_0x33b5d2-0x164;let _0x4d6ced=_0x4ef9e8[_0x33b5d2];return _0x4d6ced;},_0x33b5(_0x573754,_0x6de215);}import{CKEditorError as _0x248d18}from'ckeditor5/src/utils.js';import{AITabsMainView as _0x4aacaa,AI_TABS_VIEW_SIDES as _0x37ded2,AI_TABS_VIEW_TYPES as _0x34b2b9}from'./aitabsmainview.js';export class AITabs extends _0x110250{[_0x2b59ed(0x187)];[_0x2b59ed(0x165)]=null;[_0x2b59ed(0x18e)]=!0x0;static get[_0x2b59ed(0x179)](){const _0x2331fa=_0x2b59ed;return _0x2331fa(0x185);}static get[_0x2b59ed(0x16d)](){return!0x0;}static get[_0x2b59ed(0x183)](){return!0x0;}constructor(_0x5bc5ee){const _0x393cf1=_0x2b59ed;super(_0x5bc5ee);const _0x4b26a2=this[_0x393cf1(0x190)][_0x393cf1(0x188)][_0x393cf1(0x171)](_0x393cf1(0x17f));if(this[_0x393cf1(0x17c)](_0x393cf1(0x18a),_0x393cf1(0x16f)),!_0x4b26a2)throw new _0x248d18(_0x393cf1(0x170));if(void 0x0!==_0x4b26a2[_0x393cf1(0x18e)]&&(this[_0x393cf1(0x18e)]=_0x4b26a2[_0x393cf1(0x18e)]),_0x393cf1(0x17b)!==_0x4b26a2[_0x393cf1(0x17a)]&&_0x393cf1(0x18c)!==_0x4b26a2[_0x393cf1(0x17a)]||_0x4b26a2[_0x393cf1(0x18a)]&&(this[_0x393cf1(0x18a)]=_0x4b26a2[_0x393cf1(0x18a)]),_0x393cf1(0x17b)===_0x4b26a2[_0x393cf1(0x17a)]){if(this[_0x393cf1(0x165)]=_0x4b26a2[_0x393cf1(0x192)],this[_0x393cf1(0x17c)](_0x393cf1(0x17a),_0x393cf1(0x17b)),!this[_0x393cf1(0x165)])throw new _0x248d18(_0x393cf1(0x194));}else _0x393cf1(0x18c)===_0x4b26a2[_0x393cf1(0x17a)]?(this[_0x393cf1(0x165)]=document[_0x393cf1(0x184)],this[_0x393cf1(0x17c)](_0x393cf1(0x17a),_0x393cf1(0x18c))):(this[_0x393cf1(0x165)]=null,this[_0x393cf1(0x17c)](_0x393cf1(0x17a),_0x393cf1(0x191)));this[_0x393cf1(0x187)]=new _0x4aacaa(this[_0x393cf1(0x190)][_0x393cf1(0x193)],{'side':this[_0x393cf1(0x18a)],'type':this[_0x393cf1(0x17a)],'visibleByDefault':void 0x0===_0x4b26a2[_0x393cf1(0x186)]||_0x4b26a2[_0x393cf1(0x186)]}),this[_0x393cf1(0x187)][_0x393cf1(0x178)](),this[_0x393cf1(0x187)][_0x393cf1(0x17d)](_0x393cf1(0x18a))['to'](this,_0x393cf1(0x18a)),this[_0x393cf1(0x187)][_0x393cf1(0x17d)](_0x393cf1(0x17a))['to'](this,_0x393cf1(0x17a)),this[_0x393cf1(0x165)]&&this[_0x393cf1(0x165)][_0x393cf1(0x17e)](this[_0x393cf1(0x187)][_0x393cf1(0x192)]),this[_0x393cf1(0x190)]instanceof _0x12ecfa&&this[_0x393cf1(0x190)]['ui'][_0x393cf1(0x175)][_0x393cf1(0x16a)](this[_0x393cf1(0x187)][_0x393cf1(0x192)]);}[_0x2b59ed(0x167)](_0x5e9c0c){const _0x315efa=_0x2b59ed;if(_0x5e9c0c&&this[_0x315efa(0x17a)]!==_0x5e9c0c){if(!_0x34b2b9[_0x315efa(0x16b)](_0x5e9c0c))throw new _0x248d18(_0x315efa(0x176));this[_0x315efa(0x17a)]=_0x5e9c0c;}}[_0x2b59ed(0x195)](_0x179a99){const _0x3223e0=_0x2b59ed;if(_0x179a99&&this[_0x3223e0(0x18a)]!==_0x179a99){if(!_0x37ded2[_0x3223e0(0x16b)](_0x179a99))throw new _0x248d18(_0x3223e0(0x18d));this[_0x3223e0(0x18a)]=_0x179a99;}}[_0x2b59ed(0x164)](){const _0x91d661=_0x2b59ed;this[_0x91d661(0x187)][_0x91d661(0x16e)]=!this[_0x91d661(0x187)][_0x91d661(0x16e)],this[_0x91d661(0x18f)](_0x91d661(0x196),this[_0x91d661(0x187)][_0x91d661(0x16e)]);}[_0x2b59ed(0x169)](){const _0x3ec0d8=_0x2b59ed;super[_0x3ec0d8(0x169)](),this[_0x3ec0d8(0x187)][_0x3ec0d8(0x169)](),this[_0x3ec0d8(0x187)][_0x3ec0d8(0x192)]&&this[_0x3ec0d8(0x187)][_0x3ec0d8(0x192)][_0x3ec0d8(0x180)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xbfa5(_0x241a2c,_0x3e4785){const _0x401e4c=_0x401e();return _0xbfa5=function(_0xbfa54a,_0x4fe78f){_0xbfa54a=_0xbfa54a-0xb5;let _0x5bdab0=_0x401e4c[_0xbfa54a];return _0x5bdab0;},_0xbfa5(_0x241a2c,_0x3e4785);}const _0xb30330=_0xbfa5;(function(_0x2c0211,_0x5edb9f){const _0x41fdca=_0xbfa5,_0x113aa8=_0x2c0211();while(!![]){try{const _0x5971fa=parseInt(_0x41fdca(0xbc))/0x1+-parseInt(_0x41fdca(0xc8))/0x2*(-parseInt(_0x41fdca(0xb6))/0x3)+parseInt(_0x41fdca(0xc7))/0x4*(-parseInt(_0x41fdca(0xc4))/0x5)+parseInt(_0x41fdca(0xcd))/0x6*(-parseInt(_0x41fdca(0xcb))/0x7)+parseInt(_0x41fdca(0xd2))/0x8*(-parseInt(_0x41fdca(0xc6))/0x9)+parseInt(_0x41fdca(0xc5))/0xa*(-parseInt(_0x41fdca(0xc9))/0xb)+parseInt(_0x41fdca(0xb5))/0xc;if(_0x5971fa===_0x5edb9f)break;else _0x113aa8['push'](_0x113aa8['shift']());}catch(_0x1f1875){_0x113aa8['push'](_0x113aa8['shift']());}}}(_0x401e,0x73d49));import{AITabsView as _0x1397bd}from'./tabs/aitabsview.js';import'../../theme/aitabs/aitabsview.css';export const AI_TABS_VIEW_TYPES=[_0xb30330(0xbb),_0xb30330(0xce),_0xb30330(0xc3)];export const AI_TABS_VIEW_SIDES=[_0xb30330(0xc1),_0xb30330(0xd0)];function _0x401e(){const _0x3b5d83=['150135fDUcbH','visibleByDefault','ck-ai-tabs__overlay','withText','buttonViews','left','side','custom','90abVSeO','1470KkGNEV','1818FdlfmT','29588WfXdtx','891496EPDuHV','51678SRizLQ','add','4926733gPDqHO','set','6IpjOyI','sidebar','ck-ai-tabs__sidebar','right','ck-hidden','13456oKoGOr','isVisible','20950716pzSFtH','3HBjFkh','bindTemplate','extendTemplate','ck-ai-tabs','type','overlay'];_0x401e=function(){return _0x3b5d83;};return _0x401e();}export class AITabsMainView extends _0x1397bd{constructor(_0x16ad55,_0x4d05f4={}){const _0x2e3c49=_0xb30330;super(_0x16ad55,_0x4d05f4),this[_0x2e3c49(0xcc)](_0x2e3c49(0xba),_0x4d05f4[_0x2e3c49(0xba)]||_0x2e3c49(0xce)),this[_0x2e3c49(0xcc)](_0x2e3c49(0xc2),_0x4d05f4[_0x2e3c49(0xc2)]||_0x2e3c49(0xd0)),this[_0x2e3c49(0xcc)](_0x2e3c49(0xd3),_0x4d05f4[_0x2e3c49(0xbd)]??!0x0);const _0xf5b12c=this[_0x2e3c49(0xb7)];this[_0x2e3c49(0xb8)]({'attributes':{'class':[_0x2e3c49(0xb9),_0xf5b12c['if'](_0x2e3c49(0xba),_0x2e3c49(0xbe),_0x361b4e=>_0x2e3c49(0xbb)===_0x361b4e),_0xf5b12c['if'](_0x2e3c49(0xba),_0x2e3c49(0xcf),_0x31e495=>_0x2e3c49(0xce)===_0x31e495),_0xf5b12c['if'](_0x2e3c49(0xd3),_0x2e3c49(0xd1),_0x287f3f=>!_0x287f3f)]}}),this[_0x2e3c49(0xc0)]['on'](_0x2e3c49(0xca),(_0x363523,_0x3e1cca)=>{const _0x3dd95e=_0x2e3c49;_0x3e1cca[_0x3dd95e(0xcc)](_0x3dd95e(0xbf),!0x1);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24df74=_0x2fea;(function(_0x3f1bb3,_0x2f229d){const _0x394707=_0x2fea,_0x4d9c66=_0x3f1bb3();while(!![]){try{const _0x5e7904=-parseInt(_0x394707(0x187))/0x1+parseInt(_0x394707(0x1a4))/0x2+parseInt(_0x394707(0x1b5))/0x3*(-parseInt(_0x394707(0x19f))/0x4)+-parseInt(_0x394707(0x188))/0x5*(parseInt(_0x394707(0x17d))/0x6)+parseInt(_0x394707(0x1bd))/0x7+parseInt(_0x394707(0x197))/0x8*(parseInt(_0x394707(0x1bc))/0x9)+-parseInt(_0x394707(0x1b4))/0xa*(-parseInt(_0x394707(0x182))/0xb);if(_0x5e7904===_0x2f229d)break;else _0x4d9c66['push'](_0x4d9c66['shift']());}catch(_0x1c440c){_0x4d9c66['push'](_0x4d9c66['shift']());}}}(_0x2881,0xc6ff8));import{View as _0x50b8ad}from'ckeditor5/src/ui.js';import{toArray as _0x3a40ec,CKEditorError as _0x5207b3}from'ckeditor5/src/utils.js';function _0x2fea(_0x2b012f,_0x5d4290){const _0x2881c5=_0x2881();return _0x2fea=function(_0x2fea8f,_0x507859){_0x2fea8f=_0x2fea8f-0x17d;let _0xfd07b7=_0x2881c5[_0x2fea8f];return _0xfd07b7;},_0x2fea(_0x2b012f,_0x5d4290);}import{TabButtonView as _0x34c5bc}from'./tabbuttonview.js';import{TabPanelView as _0x4e0bd5}from'./tabpanelview.js';import'../../../theme/aitabs/tabs/tabsview.css';export const AI_TABS_POSITIONS=[_0x24df74(0x196),_0x24df74(0x1a3),_0x24df74(0x1ae)];export class AITabsView extends _0x50b8ad{[_0x24df74(0x1b8)]=this[_0x24df74(0x1c8)]();[_0x24df74(0x1ab)]=this[_0x24df74(0x1c8)]();[_0x24df74(0x1c3)]=new Map();constructor(_0xf0f385,_0x4946eb={}){const _0x57498f=_0x24df74;super(_0xf0f385),this[_0x57498f(0x19b)](_0x57498f(0x1c4),void 0x0),this[_0x57498f(0x19b)](_0x57498f(0x1c6),null),this[_0x57498f(0x19b)](_0x57498f(0x1ba),_0x4946eb[_0x57498f(0x1ba)]||_0x57498f(0x196)),this[_0x57498f(0x19b)](_0x57498f(0x1ac),!0x1);const _0x54a00d=this[_0x57498f(0x198)];this[_0x57498f(0x18d)]({'tag':_0x57498f(0x1aa),'attributes':{'class':['ck',_0x57498f(0x1b3),_0x57498f(0x18b),..._0x3a40ec(_0x4946eb[_0x57498f(0x1c4)]||[]),_0x54a00d['to'](_0x57498f(0x1ba),_0x14e041=>_0x57498f(0x1c1)+_0x14e041),_0x54a00d['to'](_0x57498f(0x1c4)),_0x54a00d['to'](_0x57498f(0x1ac),_0x30802d=>_0x30802d?_0x57498f(0x1b7):'')],'tabindex':'0'},'children':[{'tag':_0x57498f(0x1aa),'attributes':{'class':['ck',_0x57498f(0x1bf),_0x54a00d['to'](_0x57498f(0x1ba),_0x280828=>_0x57498f(0x19c)+_0x280828)]},'children':this[_0x57498f(0x1b8)]},{'tag':_0x57498f(0x1aa),'attributes':{'class':['ck',_0x57498f(0x1c7),_0x54a00d['to'](_0x57498f(0x1ba),_0xeded34=>_0x57498f(0x18e)+_0xeded34)]},'children':this[_0x57498f(0x1ab)]},..._0x3a40ec(_0x4946eb[_0x57498f(0x19e)]||[])]});}[_0x24df74(0x1b6)](){const _0x39dcfe=_0x24df74;return[...this[_0x39dcfe(0x1c3)][_0x39dcfe(0x1b1)]()];}[_0x24df74(0x19a)](_0x2c55cc){const _0xd7bf1b=_0x24df74,_0x1dcc8e=this[_0xd7bf1b(0x1c3)][_0xd7bf1b(0x1c2)](_0x2c55cc);return _0x1dcc8e||null;}[_0x24df74(0x192)](_0x3bc37d){const _0x154998=_0x24df74,_0x4b4129=this[_0x154998(0x1b2)]({'id':_0x3bc37d['id'],'label':_0x3bc37d[_0x154998(0x195)],'icon':_0x3bc37d[_0x154998(0x1be)],'order':_0x3bc37d[_0x154998(0x185)]}),_0x4bb5d4=new _0x4e0bd5(this[_0x154998(0x180)]);return _0x4bb5d4[_0x154998(0x199)](),_0x3bc37d[_0x154998(0x191)]&&_0x4bb5d4[_0x154998(0x19e)][_0x154998(0x1a6)](_0x3bc37d[_0x154998(0x191)]),this[_0x154998(0x1ab)][_0x154998(0x1a6)](_0x4bb5d4),this[_0x154998(0x1c3)][_0x154998(0x19b)](_0x3bc37d['id'],{'button':_0x4b4129,'panel':_0x4bb5d4,'order':void 0x0!==_0x3bc37d[_0x154998(0x185)]?_0x3bc37d[_0x154998(0x185)]:null}),this[_0x154998(0x1a8)](_0x154998(0x190)+_0x3bc37d['id'],{'id':_0x3bc37d['id'],'button':_0x4b4129,'panel':_0x4bb5d4}),null===this[_0x154998(0x1c6)]?this[_0x154998(0x186)](_0x3bc37d['id']):this[_0x154998(0x1a7)](_0x3bc37d['id']),{'button':_0x4b4129,'panel':_0x4bb5d4};}[_0x24df74(0x186)](_0x2cd574){const _0x3ed1c5=_0x24df74;if(null!==_0x2cd574&&!this[_0x3ed1c5(0x19a)](_0x2cd574))throw new _0x5207b3(_0x3ed1c5(0x1a0),{'tabs':this,'tabId':_0x2cd574});this[_0x3ed1c5(0x1c6)]!==_0x2cd574&&(this[_0x3ed1c5(0x1c6)]&&this[_0x3ed1c5(0x1a7)](this[_0x3ed1c5(0x1c6)]),this[_0x3ed1c5(0x1c6)]=_0x2cd574,_0x2cd574&&this[_0x3ed1c5(0x18f)](_0x2cd574),this[_0x3ed1c5(0x1a8)](_0x3ed1c5(0x1b0)+_0x2cd574,_0x2cd574));}[_0x24df74(0x1b9)](_0x212513){const _0x45ef0f=_0x24df74;if(!this[_0x45ef0f(0x19a)](_0x212513))throw new _0x5207b3(_0x45ef0f(0x1a0),{'tabs':this,'tabId':_0x212513});this[_0x45ef0f(0x18f)](_0x212513),this[_0x45ef0f(0x1c5)](_0x212513),this[_0x45ef0f(0x1a8)](_0x45ef0f(0x1a2)+_0x212513,_0x212513);}[_0x24df74(0x17f)](_0x33aa40){const _0xcbbbe0=_0x24df74;if(!this[_0xcbbbe0(0x19a)](_0x33aa40))throw new _0x5207b3(_0xcbbbe0(0x1a0),{'tabs':this,'tabId':_0x33aa40});const _0x1135d2=this[_0xcbbbe0(0x1c6)];this[_0xcbbbe0(0x1a7)](_0x33aa40),this[_0xcbbbe0(0x1a5)](_0x33aa40);const _0x15589b=this[_0xcbbbe0(0x1b6)]();_0x1135d2===_0x33aa40&&_0x15589b[_0xcbbbe0(0x1a9)]>0x1&&this[_0xcbbbe0(0x186)](_0x15589b[_0xcbbbe0(0x1c9)](_0x22a141=>_0x22a141!==_0x33aa40)),this[_0xcbbbe0(0x1a8)](_0xcbbbe0(0x18c)+_0x33aa40,_0x33aa40);}[_0x24df74(0x19d)](_0x493c99){const _0x4549c6=_0x24df74,_0x3c9e49=this[_0x4549c6(0x1c3)][_0x4549c6(0x1c2)](_0x493c99);return _0x3c9e49?_0x3c9e49[_0x4549c6(0x193)]:null;}[_0x24df74(0x18f)](_0x5caf45){const _0xb4baed=_0x24df74;null!==this[_0xb4baed(0x1c6)]&&this[_0xb4baed(0x1c6)]!==_0x5caf45||this[_0xb4baed(0x19d)](_0x5caf45)[_0xb4baed(0x183)]();}[_0x24df74(0x1a7)](_0x153641){const _0x588d68=_0x24df74,_0x4967f4=this[_0x588d68(0x19d)](_0x153641);_0x4967f4[_0x588d68(0x18a)]&&(this[_0x588d68(0x1c6)]===_0x153641&&(this[_0x588d68(0x1c6)]=null),_0x4967f4[_0x588d68(0x189)]());}[_0x24df74(0x184)](_0x29ee5e){const _0x217f76=_0x24df74,_0x1777aa=this[_0x217f76(0x1c3)][_0x217f76(0x1c2)](_0x29ee5e);return _0x1777aa?_0x1777aa[_0x217f76(0x1af)]:null;}[_0x24df74(0x1c5)](_0x3a577d){const _0x13902f=_0x24df74;this[_0x13902f(0x184)](_0x3a577d)[_0x13902f(0x183)]();}[_0x24df74(0x1a5)](_0x1e0ece){const _0xe9bfcb=_0x24df74;this[_0xe9bfcb(0x184)](_0x1e0ece)[_0xe9bfcb(0x189)]();}[_0x24df74(0x1b2)](_0x17b828){const _0xcb8e73=_0x24df74,_0x2838ca=new _0x34c5bc(this[_0xcb8e73(0x180)],{'side':this[_0xcb8e73(0x1ba)]}),_0x17a122=this[_0xcb8e73(0x1b8)];if(_0x2838ca[_0xcb8e73(0x19b)]({'label':_0x17b828[_0xcb8e73(0x194)],'icon':_0x17b828[_0xcb8e73(0x1ad)],'tooltip':!0x0,'withText':!0x0}),_0x2838ca[_0xcb8e73(0x1bb)](_0xcb8e73(0x1c0))['to'](this,_0xcb8e73(0x1c6),_0x379998=>_0x379998===_0x17b828['id']),_0x2838ca[_0xcb8e73(0x1bb)](_0xcb8e73(0x1ba))['to'](this,_0xcb8e73(0x1ba)),_0x17b828[_0xcb8e73(0x185)]){const _0x48f7c0=[...this[_0xcb8e73(0x1c3)]][_0xcb8e73(0x17e)]((_0x285a25,_0x5300ae)=>{const _0x28ac40=_0xcb8e73,_0x5e7224=_0x5300ae[0x0],{order:_0x54c519}=_0x5300ae[0x1];return!_0x54c519||_0x54c519>_0x17b828[_0x28ac40(0x185)]?_0x285a25:_0x54c519>=_0x285a25[_0x28ac40(0x185)]?{'id':_0x5e7224,'order':_0x54c519}:_0x285a25;},{'id':'','order':0x0}),_0x19fb60=_0x17a122[_0xcb8e73(0x181)](this[_0xcb8e73(0x184)](_0x48f7c0['id']));_0x17a122[_0xcb8e73(0x1a6)](_0x2838ca,_0x19fb60+0x1);}else _0x17a122[_0xcb8e73(0x1a6)](_0x2838ca);return _0x2838ca['on'](_0xcb8e73(0x1a1),()=>{const _0x13d36e=_0xcb8e73;this[_0x13d36e(0x186)](_0x17b828['id']);}),_0x2838ca;}}function _0x2881(){const _0x5e771c=['9AtglDg','8005256gEhKRK','buttonIcon','ck-tabs__buttons-container','isOn','ck-tabs_','get','_tabs','class','_showButton','activeTab','ck-tabs__panels-container','createCollection','find','14826Aflbsg','reduce','hideTab','locale','getIndex','110462LsFFJT','show','_getButton','order','activateTab','641880GtXCzN','1815CNJOeY','hide','isVisible','ck-tabs','hide:','setTemplate','ck-tabs__panels-container_','_showPanel','addTab:','content','addTab','panel','label','buttonLabel','top','211392ECvZwq','bindTemplate','render','getTab','set','ck-tabs__buttons-container_','_getPanel','children','96KJcWol','ui-tabsview-tab-not-found','execute','show:','left','1715174LMOEdb','_hideButton','add','_hidePanel','fire','length','div','panelViews','isMaximized','icon','right','button','activateTab:','keys','_setupButton','ck-reset','1490OxeyNC','146241zbJqNW','getTabIds','ck-ai-tabs_maximized','buttonViews','showTab','side','bind'];_0x2881=function(){return _0x5e771c;};return _0x2881();}
|