@ckeditor/ckeditor5-ai 47.0.0-alpha.8 → 47.0.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.d.ts +197 -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.d.ts +30 -0
- 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.d.ts +1 -0
- 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.d.ts +49 -0
- 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/aireviewmodeformamanager.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.d.ts +14 -0
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xc4624c=_0xbd99;(function(_0x2672a1,_0x673831){const _0x1bfca8=_0xbd99,_0x2c011a=_0x2672a1();while(!![]){try{const _0xb72c69=-parseInt(_0x1bfca8(0x167))/0x1+parseInt(_0x1bfca8(0x170))/0x2*(parseInt(_0x1bfca8(0x132))/0x3)+parseInt(_0x1bfca8(0x15b))/0x4*(parseInt(_0x1bfca8(0x139))/0x5)+parseInt(_0x1bfca8(0x13a))/0x6+-parseInt(_0x1bfca8(0x166))/0x7+parseInt(_0x1bfca8(0x16a))/0x8*(-parseInt(_0x1bfca8(0x149))/0x9)+-parseInt(_0x1bfca8(0x17f))/0xa;if(_0xb72c69===_0x673831)break;else _0x2c011a['push'](_0x2c011a['shift']());}catch(_0x35862b){_0x2c011a['push'](_0x2c011a['shift']());}}}(_0x5d78,0x3bc8e));function _0x5d78(){const _0x49ccce=['find','372968PLuaMk','clear','ai-request-aborted','accepted','activateChange','set','restart','_sourceCheck','reviewCheckResultActivated','get','isChangeActive','_results','_documentData','abortController','reviewName','1901760QhCJol','finished','Not\x20implemented.','_changes','abort','dataId','isActivated','markChangeAsAccepted','ready','start','forceReadyState','_activeRequest','6OLDHer','markAllChangesAsAccepted','review-metadata','getTotalChangesCount','loading','_createApiRequest','getActiveChanges','297690HKxDNG','1728366DqLXMr','textDelta','_checkIfFinished','_aiConnector','message','unmodified','processedResultsCount','rejected','event','reviewCheckResultAccepted','reviewCheckRunUpdated','error-general','length','active','reviewCheckResultAdded','245763ysxuxm','version','reviewCheckResultDeactivated','filter','error-chunk','push','reviewCheckResultRejected','getStream','change:status','change:isActivated','_addReviewCheckResult','includes','error','title','_reviewParams','markChangeAsRejected','size','getContent','20TbjimZ','forEach','data','operation','getAcceptedChangesCount','_reviewArgs','elements','initialized','deactivateChange','callId','fire','1868384utmyir','92911fTCuZq','status','_currentError','48AlCqbc','addResultChanges','aborted','reviewCheckResultReady','documentData'];_0x5d78=function(){return _0x49ccce;};return _0x5d78();}import{ObservableMixin as _0x5f35ad,uid as _0x438536}from'ckeditor5/src/utils.js';function _0xbd99(_0x4f6f7c,_0x477d1f){const _0x5d78ac=_0x5d78();return _0xbd99=function(_0xbd99e3,_0x15ff3c){_0xbd99e3=_0xbd99e3-0x12d;let _0x1f2cc9=_0x5d78ac[_0xbd99e3];return _0x1f2cc9;},_0xbd99(_0x4f6f7c,_0x477d1f);}import{AIReviewCheckResult as _0x50462a}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x3a80a7}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x5f35ad(){['id']=_0x438536();[_0xc4624c(0x17b)]=new Map();[_0xc4624c(0x182)]=[];[_0xc4624c(0x17c)];[_0xc4624c(0x177)];[_0xc4624c(0x13d)];[_0xc4624c(0x157)];[_0xc4624c(0x160)];[_0xc4624c(0x131)]=null;[_0xc4624c(0x169)];[_0xc4624c(0x164)];constructor(_0x119769,_0x2befa7,_0x43cdcc,_0x245f15,_0xa6f84c){const _0x460066=_0xc4624c;super(),this[_0x460066(0x17c)]=_0x119769,this[_0x460066(0x177)]=_0x2befa7,this[_0x460066(0x13d)]=_0x43cdcc,this[_0x460066(0x157)]=_0x245f15,this[_0x460066(0x160)]=_0xa6f84c,this['on'](_0x460066(0x151),(_0x5b99c1,_0x259eb7,_0x47f97f)=>{const _0x146cf5=_0x460066;this[_0x146cf5(0x165)](_0x146cf5(0x144),{'status':_0x47f97f,'run':this,'error':this[_0x146cf5(0x169)]});}),this[_0x460066(0x175)](_0x460066(0x168),_0x460066(0x162));}get[_0xc4624c(0x16e)](){const _0x26b569=_0xc4624c;return this[_0x26b569(0x17c)];}get[_0xc4624c(0x140)](){const _0x447efa=_0xc4624c;return this[_0x447efa(0x17b)][_0x447efa(0x159)];}get[_0xc4624c(0x156)](){const _0x2cdafa=_0xc4624c;return this[_0x2cdafa(0x177)][_0x2cdafa(0x156)];}async[_0xc4624c(0x12f)](){const _0x261ead=_0xc4624c;this[_0x261ead(0x168)]=_0x261ead(0x136),this[_0x261ead(0x169)]=void 0x0;try{this[_0x261ead(0x131)]=this[_0x261ead(0x137)]();const _0x331ff4=await this[_0x261ead(0x131)][_0x261ead(0x150)]();this[_0x261ead(0x168)]=_0x261ead(0x15d);for await(const _0x547cf1 of _0x331ff4)_0x261ead(0x13f)!==_0x547cf1[_0x261ead(0x15d)][_0x261ead(0x15e)]&&(_0x261ead(0x155)!==_0x547cf1[_0x261ead(0x15d)][_0x261ead(0x15e)]?_0x261ead(0x134)!==_0x547cf1[_0x261ead(0x142)]?this[_0x261ead(0x153)](_0x547cf1[_0x261ead(0x15d)][_0x261ead(0x184)],_0x547cf1[_0x261ead(0x15d)][_0x261ead(0x13b)]):this[_0x261ead(0x164)]=_0x547cf1[_0x261ead(0x15d)][_0x261ead(0x164)]:this[_0x261ead(0x168)]=_0x261ead(0x14d));_0x261ead(0x14d)!==this[_0x261ead(0x168)]&&(0x0===this[_0x261ead(0x17b)][_0x261ead(0x159)]?this[_0x261ead(0x168)]=_0x261ead(0x13f):this[_0x261ead(0x168)]=_0x261ead(0x12e));}catch(_0x1b3dc7){this[_0x261ead(0x169)]=_0x1b3dc7,_0x1b3dc7 instanceof Error&&_0x1b3dc7[_0x261ead(0x13e)][_0x261ead(0x154)](_0x261ead(0x172))?this[_0x261ead(0x168)]=_0x261ead(0x16c):this[_0x261ead(0x168)]=_0x261ead(0x145);}finally{this[_0x261ead(0x131)]=null;}}async[_0xc4624c(0x176)](){const _0x38cf80=_0xc4624c;this[_0x38cf80(0x17b)][_0x38cf80(0x171)](),this[_0x38cf80(0x182)][_0x38cf80(0x146)]=0x0,this[_0x38cf80(0x169)]=void 0x0,await this[_0x38cf80(0x12f)]();}[_0xc4624c(0x16b)](_0x171f32,_0x1e7430){const _0x373642=_0xc4624c,_0x22ebda=this[_0x373642(0x17b)][_0x373642(0x179)](_0x171f32);if(!_0x22ebda)return;const _0x3e56bd=[];_0x1e7430[_0x373642(0x15c)]((_0x39f600,_0x25b3a1)=>{const _0x3780ca=_0x373642,_0x6932f5=new _0x3a80a7(_0x22ebda['id']+'-'+_0x25b3a1,_0x39f600,_0x22ebda);_0x6932f5['on'](_0x3780ca(0x151),()=>{const _0x1ca0e3=_0x3780ca;_0x1ca0e3(0x173)===_0x6932f5[_0x1ca0e3(0x168)]?this[_0x1ca0e3(0x165)](_0x1ca0e3(0x143),{'change':_0x6932f5}):_0x1ca0e3(0x141)===_0x6932f5[_0x1ca0e3(0x168)]&&this[_0x1ca0e3(0x165)](_0x1ca0e3(0x14f),{'change':_0x6932f5});}),_0x6932f5['on'](_0x3780ca(0x152),()=>{const _0x19f4d2=_0x3780ca;_0x6932f5[_0x19f4d2(0x185)]?this[_0x19f4d2(0x165)](_0x19f4d2(0x178),{'change':_0x6932f5}):this[_0x19f4d2(0x165)](_0x19f4d2(0x14b),{'change':_0x6932f5});}),this[_0x3780ca(0x182)][_0x3780ca(0x14e)](_0x6932f5),_0x3e56bd[_0x3780ca(0x14e)](_0x6932f5);}),this[_0x373642(0x165)](_0x373642(0x16d),{'changes':_0x3e56bd,'result':_0x22ebda,'source':this});}[_0xc4624c(0x183)](){const _0x3a30ed=_0xc4624c;this[_0x3a30ed(0x131)]&&(this[_0x3a30ed(0x131)][_0x3a30ed(0x17d)][_0x3a30ed(0x183)](),this[_0x3a30ed(0x131)]=null,this[_0x3a30ed(0x168)]=_0x3a30ed(0x16c));}[_0xc4624c(0x17a)](_0x4a4b6a){const _0x33fe60=_0xc4624c,_0x5e427f=this[_0x33fe60(0x182)][_0x33fe60(0x16f)](_0x4cfa9d=>_0x4cfa9d['id']===_0x4a4b6a);return!(!_0x5e427f||_0x33fe60(0x147)!==_0x5e427f[_0x33fe60(0x168)]);}[_0xc4624c(0x138)](){const _0x51a49e=_0xc4624c;return this[_0x51a49e(0x182)][_0x51a49e(0x14c)](_0x1b58c8=>_0x51a49e(0x147)===_0x1b58c8[_0x51a49e(0x168)]);}[_0xc4624c(0x133)](){const _0x54d289=_0xc4624c;for(const _0x573dd1 of this[_0x54d289(0x182)])_0x54d289(0x147)===_0x573dd1[_0x54d289(0x168)]&&(_0x573dd1[_0x54d289(0x168)]=_0x54d289(0x173));this[_0x54d289(0x13c)]();}[_0xc4624c(0x12d)](_0x2fbf9b){const _0x4d3b63=_0xc4624c,_0x1ceb98=this[_0x4d3b63(0x182)][_0x4d3b63(0x16f)](_0x179a5c=>_0x179a5c['id']===_0x2fbf9b);_0x1ceb98&&_0x4d3b63(0x147)===_0x1ceb98[_0x4d3b63(0x168)]&&(_0x1ceb98[_0x4d3b63(0x168)]=_0x4d3b63(0x173)),this[_0x4d3b63(0x13c)]();}[_0xc4624c(0x158)](_0x57a553){const _0xe87a67=_0xc4624c,_0x518756=this[_0xe87a67(0x182)][_0xe87a67(0x16f)](_0x1ab349=>_0x1ab349['id']===_0x57a553);_0x518756&&_0xe87a67(0x147)===_0x518756[_0xe87a67(0x168)]&&(_0x518756[_0xe87a67(0x168)]=_0xe87a67(0x141)),this[_0xe87a67(0x13c)]();}[_0xc4624c(0x174)](_0x2a2b1a){const _0x1b2ada=_0xc4624c;this[_0x1b2ada(0x182)][_0x1b2ada(0x14c)](_0xd0e526=>_0xd0e526[_0x1b2ada(0x185)]&&_0xd0e526['id']!==_0x2a2b1a)[_0x1b2ada(0x15c)](_0x10b163=>{const _0x3a9b8f=_0x1b2ada;_0x10b163[_0x3a9b8f(0x185)]=!0x1;});const _0x5bf07c=this[_0x1b2ada(0x182)][_0x1b2ada(0x16f)](_0x204134=>_0x204134['id']===_0x2a2b1a);_0x5bf07c&&(_0x5bf07c[_0x1b2ada(0x185)]=!0x0);}[_0xc4624c(0x163)](){const _0xec98ae=_0xc4624c;this[_0xec98ae(0x182)][_0xec98ae(0x14c)](_0x18b11f=>_0x18b11f[_0xec98ae(0x185)])[_0xec98ae(0x15c)](_0x5a400f=>{const _0x51585d=_0xec98ae;_0x5a400f[_0x51585d(0x185)]=!0x1;});}[_0xc4624c(0x130)](){const _0x1836fb=_0xc4624c;this[_0x1836fb(0x168)]=_0x1836fb(0x12e);}[_0xc4624c(0x153)](_0x5cb4cf,_0x18d013){const _0x41730b=_0xc4624c,_0x3a4e5b=this[_0x41730b(0x17c)][_0x41730b(0x161)][_0x41730b(0x179)](_0x5cb4cf);if(!_0x3a4e5b)return;const _0x2bafed=_0x3a4e5b[_0x41730b(0x15a)]();if(_0x2bafed===_0x18d013)return;const _0x593996=new _0x50462a({'id':_0x5cb4cf,'contentInitial':_0x2bafed,'contentNew':_0x18d013,'documentVersion':this[_0x41730b(0x17c)][_0x41730b(0x14a)]});this[_0x41730b(0x17b)][_0x41730b(0x175)](_0x593996['id'],_0x593996),this[_0x41730b(0x165)](_0x41730b(0x148),{'result':_0x593996,'source':this});}[_0xc4624c(0x13c)](){const _0xea389a=_0xc4624c;if(_0xea389a(0x12e)!==this[_0xea389a(0x168)])return;0x0===this[_0xea389a(0x182)][_0xea389a(0x14c)](_0x1e840e=>_0xea389a(0x147)===_0x1e840e[_0xea389a(0x168)])[_0xea389a(0x146)]&&(this[_0xea389a(0x168)]=_0xea389a(0x180));}[_0xc4624c(0x137)](){const _0x37847e=_0xc4624c;throw new Error(_0x37847e(0x181));}[_0xc4624c(0x15f)](){const _0x39060f=_0xc4624c;return this[_0x39060f(0x182)][_0x39060f(0x14c)](_0x5605df=>_0x39060f(0x173)===_0x5605df[_0x39060f(0x168)])[_0x39060f(0x146)];}[_0xc4624c(0x135)](){const _0x467fe8=_0xc4624c;return this[_0x467fe8(0x182)][_0x467fe8(0x146)];}get[_0xc4624c(0x17e)](){const _0x1bdfff=_0xc4624c;return this[_0x1bdfff(0x177)]['id'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x450933=_0x4384;function _0x59b3(){var _0x16c789=['content','8bJrUaE','_prompt','callCustomReview','48DurHGy','809253gEEPoS','title','11VvYshS','_aiConnector','16700kWGQQS','494966hgtARk','_documentData','_model','329861vLCxbe','1505050oJigME','_createApiRequest','148055FFahQA','3gKKDgd','142527MgdwJB'];_0x59b3=function(){return _0x16c789;};return _0x59b3();}function _0x4384(_0x5b7f32,_0x5f5cbc){var _0x59b36b=_0x59b3();return _0x4384=function(_0x438433,_0x9b3d75){_0x438433=_0x438433-0x134;var _0x2e07ff=_0x59b36b[_0x438433];return _0x2e07ff;},_0x4384(_0x5b7f32,_0x5f5cbc);}(function(_0x4e870c,_0x4f2383){var _0x450157=_0x4384,_0x289d90=_0x4e870c();while(!![]){try{var _0x14cb8b=parseInt(_0x450157(0x13a))/0x1+-parseInt(_0x450157(0x145))/0x2*(-parseInt(_0x450157(0x139))/0x3)+-parseInt(_0x450157(0x144))/0x4+-parseInt(_0x450157(0x138))/0x5*(parseInt(_0x450157(0x13f))/0x6)+parseInt(_0x450157(0x135))/0x7*(-parseInt(_0x450157(0x13c))/0x8)+-parseInt(_0x450157(0x140))/0x9+parseInt(_0x450157(0x136))/0xa*(parseInt(_0x450157(0x142))/0xb);if(_0x14cb8b===_0x4f2383)break;else _0x289d90['push'](_0x289d90['shift']());}catch(_0x3da2b3){_0x289d90['push'](_0x289d90['shift']());}}}(_0x59b3,0x27a6c));import{AIReviewCheckRun as _0x1ffb5d}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1ffb5d{[_0x450933(0x13d)];[_0x450933(0x134)];constructor(_0x221292,_0x3ffd50,_0x25b329,_0x4335c1,_0x1cc156){var _0x51a375=_0x450933;super(_0x25b329,_0x4335c1,_0x1cc156),this[_0x51a375(0x13d)]=_0x221292,this[_0x51a375(0x134)]=_0x3ffd50;}get[_0x450933(0x141)](){var _0x3d4c1b=_0x450933;return this[_0x3d4c1b(0x13d)];}[_0x450933(0x137)](){var _0x1dea8d=_0x450933;return this[_0x1dea8d(0x143)][_0x1dea8d(0x13e)]({'content':this[_0x1dea8d(0x146)][_0x1dea8d(0x13b)],'prompt':this[_0x1dea8d(0x13d)],'model':this[_0x1dea8d(0x134)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x38c6(){const _0x7e4d50=['54PlKViZ','908504ECnZYT','2sYmMWR','_connector','10ATIxNK','getModels','286170jUZDal','getAll','2657112ZWMlUZ','8233146YOzxCc','items','3856622OcmuyN','length','_modelList','4042976fsCJxB','1597780vHYBKJ','list'];_0x38c6=function(){return _0x7e4d50;};return _0x38c6();}const _0x6367ff=_0x197c;function _0x197c(_0x4665e3,_0x332442){const _0x38c683=_0x38c6();return _0x197c=function(_0x197c41,_0x22e39c){_0x197c41=_0x197c41-0x138;let _0x36e614=_0x38c683[_0x197c41];return _0x36e614;},_0x197c(_0x4665e3,_0x332442);}(function(_0x44c10d,_0x22d18e){const _0x1572d=_0x197c,_0x15a877=_0x44c10d();while(!![]){try{const _0x5713ff=-parseInt(_0x1572d(0x142))/0x1+-parseInt(_0x1572d(0x143))/0x2*(-parseInt(_0x1572d(0x138))/0x3)+parseInt(_0x1572d(0x13f))/0x4+-parseInt(_0x1572d(0x147))/0x5*(-parseInt(_0x1572d(0x141))/0x6)+-parseInt(_0x1572d(0x13b))/0x7+-parseInt(_0x1572d(0x13e))/0x8+-parseInt(_0x1572d(0x139))/0x9*(-parseInt(_0x1572d(0x145))/0xa);if(_0x5713ff===_0x22d18e)break;else _0x15a877['push'](_0x15a877['shift']());}catch(_0x59e495){_0x15a877['push'](_0x15a877['shift']());}}}(_0x38c6,0xb7293));import{EmitterMixin as _0x2419b6}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x2419b6(){[_0x6367ff(0x13d)]=[];[_0x6367ff(0x144)];constructor({connector:_0xac8570}){const _0x329084=_0x6367ff;super(),this[_0x329084(0x144)]=_0xac8570;}async[_0x6367ff(0x148)](){const _0x2106e9=_0x6367ff;if(!this[_0x2106e9(0x13d)][_0x2106e9(0x13c)])try{const _0xa66f54=this[_0x2106e9(0x144)][_0x2106e9(0x146)](),_0x438fbf=await _0xa66f54[_0x2106e9(0x140)]();this[_0x2106e9(0x13d)]=_0x438fbf[_0x2106e9(0x13a)];}catch{}return this[_0x2106e9(0x13d)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x212118=_0x25cf;(function(_0x21cb25,_0x458fb7){const _0xd5b8cb=_0x25cf,_0x589934=_0x21cb25();while(!![]){try{const _0x6da6a2=parseInt(_0xd5b8cb(0x119))/0x1+-parseInt(_0xd5b8cb(0x12c))/0x2*(parseInt(_0xd5b8cb(0x117))/0x3)+-parseInt(_0xd5b8cb(0x113))/0x4*(parseInt(_0xd5b8cb(0x118))/0x5)+-parseInt(_0xd5b8cb(0x11f))/0x6*(-parseInt(_0xd5b8cb(0x126))/0x7)+-parseInt(_0xd5b8cb(0x12d))/0x8*(-parseInt(_0xd5b8cb(0x11b))/0x9)+parseInt(_0xd5b8cb(0x130))/0xa*(parseInt(_0xd5b8cb(0x131))/0xb)+parseInt(_0xd5b8cb(0x123))/0xc*(-parseInt(_0xd5b8cb(0x11d))/0xd);if(_0x6da6a2===_0x458fb7)break;else _0x589934['push'](_0x589934['shift']());}catch(_0x4a77f0){_0x589934['push'](_0x589934['shift']());}}}(_0x1dec,0xae152));function _0x1dec(){const _0x2726e4=['86696KQGvEM','_reviewArgs','title','45230ULWFuF','3443yDWrJu','95416RKdzKJ','label','data','length','30021vdCQkf','15fFRZkn','716728YJyHfE','_aiConnector','477nOspyB','_createApiRequest','15215252vcdWwt','_sourceCheck','7662WVzsQr','_documentData','content','_composeReviewName','24zsafoj','_reviewParams','push','2569KGsHxR','options','join','callSystemReview','find','useArgs','10orrwYp'];_0x1dec=function(){return _0x2726e4;};return _0x1dec();}function _0x25cf(_0x1eca96,_0x473e24){const _0x1decc6=_0x1dec();return _0x25cf=function(_0x25cfb6,_0x3214b5){_0x25cfb6=_0x25cfb6-0x113;let _0xdb8bff=_0x1decc6[_0x25cfb6];return _0xdb8bff;},_0x25cf(_0x1eca96,_0x473e24);}import{AIReviewCheckRun as _0x550404}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x550404{get[_0x212118(0x12f)](){const _0xf18ddf=_0x212118;if(!this[_0xf18ddf(0x124)]||0x0===this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]||this[_0xf18ddf(0x11e)][_0xf18ddf(0x12b)])return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)];const _0x5dab84=[];if(this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]>0x0&&this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)])for(let _0x29bd6d=0x0;_0x29bd6d<this[_0xf18ddf(0x124)][_0xf18ddf(0x116)];_0x29bd6d++){if(!this[_0xf18ddf(0x124)][_0x29bd6d]||!this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d])continue;const _0xb3cf77=this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d],_0x4cdf1d=_0xb3cf77[_0xf18ddf(0x115)]?.[_0xf18ddf(0x12a)](_0xc5e787=>_0xc5e787['id']===this[_0xf18ddf(0x124)][_0x29bd6d]);_0x4cdf1d&&_0x5dab84[_0xf18ddf(0x125)](_0x4cdf1d[_0xf18ddf(0x114)]);}return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)]+':\x20'+_0x5dab84[_0xf18ddf(0x128)](',\x20');}[_0x212118(0x11c)](){const _0x3e629e=_0x212118;return this[_0x3e629e(0x11a)][_0x3e629e(0x129)]({'reviewName':this[_0x3e629e(0x122)](),'content':this[_0x3e629e(0x120)][_0x3e629e(0x121)],'args':this[_0x3e629e(0x12e)]});}[_0x212118(0x122)](){const _0x4f957b=_0x212118;return!this[_0x4f957b(0x124)]||0x0===this[_0x4f957b(0x124)][_0x4f957b(0x116)]||this[_0x4f957b(0x11e)][_0x4f957b(0x12b)]?this[_0x4f957b(0x11e)]['id']:[this[_0x4f957b(0x11e)]['id'],...this[_0x4f957b(0x124)]][_0x4f957b(0x128)]('-');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3e7c(){var _0x3c857c=['bindTemplate','MAX_ROWS','isEmpty','extendTemplate','render','735777cGJQBr','value','minRows','trim','8auYSYC','set','update','stopPropagation','ck-review-mode__prompt-input','198248HLfSwL','maxRows','placeholder','975282ilduVF','ai-review-mode-prompt-input','MIN_ROWS','1383088aRMWNP','5756035zkIKul','14436023jgcKiI','setPlaceholderText','4924260FzIHJD','element'];_0x3e7c=function(){return _0x3c857c;};return _0x3e7c();}var _0xb8c482=_0x1e68;(function(_0x45ad4b,_0x1bdd9e){var _0x30b8dd=_0x1e68,_0x2ac573=_0x45ad4b();while(!![]){try{var _0x1377d4=parseInt(_0x30b8dd(0x119))/0x1+parseInt(_0x30b8dd(0x105))/0x2+parseInt(_0x30b8dd(0x110))/0x3+-parseInt(_0x30b8dd(0x109))/0x4+-parseInt(_0x30b8dd(0x106))/0x5+-parseInt(_0x30b8dd(0x11c))/0x6+parseInt(_0x30b8dd(0x107))/0x7*(parseInt(_0x30b8dd(0x114))/0x8);if(_0x1377d4===_0x1bdd9e)break;else _0x2ac573['push'](_0x2ac573['shift']());}catch(_0x4bf7f9){_0x2ac573['push'](_0x2ac573['shift']());}}}(_0x3e7c,0x9f4e9));import{TextareaView as _0x60196b}from'ckeditor5/src/ui.js';function _0x1e68(_0x5b7715,_0x502afc){var _0x3e7cad=_0x3e7c();return _0x1e68=function(_0x1e68db,_0x5ab07a){_0x1e68db=_0x1e68db-0x105;var _0x165a82=_0x3e7cad[_0x1e68db];return _0x165a82;},_0x1e68(_0x5b7715,_0x502afc);}export class AIReviewModePromptInputView extends _0x60196b{static [_0xb8c482(0x11e)]=0x1;static [_0xb8c482(0x10c)]=0xc;constructor(_0xb2aa00){var _0x4a8fa3=_0xb8c482;super(_0xb2aa00),this[_0x4a8fa3(0x115)](_0x4a8fa3(0x10d),!0x0),this[_0x4a8fa3(0x112)]=AIReviewModePromptInputView[_0x4a8fa3(0x11e)],this[_0x4a8fa3(0x11a)]=AIReviewModePromptInputView[_0x4a8fa3(0x10c)],this[_0x4a8fa3(0x10e)]({'attributes':{'id':_0x4a8fa3(0x11d),'class':['ck',_0x4a8fa3(0x118)]}}),this[_0x4a8fa3(0x10e)]({'on':{'click':this[_0x4a8fa3(0x10b)]['to'](_0x33ae57=>{var _0x52b4c3=_0x4a8fa3;_0x33ae57[_0x52b4c3(0x117)]();})}});}[_0xb8c482(0x10f)](){var _0x4a0fda=_0xb8c482;super[_0x4a0fda(0x10f)](),this['on'](_0x4a0fda(0x116),()=>{var _0x440b12=_0x4a0fda;this[_0x440b12(0x10d)]=''===this[_0x440b12(0x10a)][_0x440b12(0x111)]?.[_0x440b12(0x113)]();});}[_0xb8c482(0x108)](_0x2f0d37){var _0x5559d7=_0xb8c482;this[_0x5559d7(0x115)](_0x5559d7(0x11b),_0x2f0d37);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x459571=_0x32d9;function _0x32d9(_0xc389fa,_0x3475ae){const _0x20374f=_0x2037();return _0x32d9=function(_0x32d93a,_0x2fbb93){_0x32d93a=_0x32d93a-0x17f;let _0x177218=_0x20374f[_0x32d93a];return _0x177218;},_0x32d9(_0xc389fa,_0x3475ae);}(function(_0xbc07c8,_0x3d15fe){const _0x2182d6=_0x32d9,_0x309df9=_0xbc07c8();while(!![]){try{const _0x1831dc=-parseInt(_0x2182d6(0x189))/0x1*(-parseInt(_0x2182d6(0x199))/0x2)+-parseInt(_0x2182d6(0x1a6))/0x3*(-parseInt(_0x2182d6(0x198))/0x4)+parseInt(_0x2182d6(0x194))/0x5*(-parseInt(_0x2182d6(0x186))/0x6)+parseInt(_0x2182d6(0x19b))/0x7*(-parseInt(_0x2182d6(0x197))/0x8)+parseInt(_0x2182d6(0x19c))/0x9+-parseInt(_0x2182d6(0x191))/0xa*(parseInt(_0x2182d6(0x180))/0xb)+parseInt(_0x2182d6(0x181))/0xc;if(_0x1831dc===_0x3d15fe)break;else _0x309df9['push'](_0x309df9['shift']());}catch(_0x52873b){_0x309df9['push'](_0x309df9['shift']());}}}(_0x2037,0xe7d9f));import{BalloonPanelView as _0x51540b,View as _0x172d72,clickOutsideHandler as _0x1066a3}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x30c1f9}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';function _0x2037(){const _0x819704=['isVisible','hideBalloon','dismissChange','fire','29630ySizcz','setTemplate','show','5498830SWiLLS','_createContentView','changeId','121184YiDHmh','8bTkBxb','164fAfrMd','showBalloon','91JDPEzh','9375975NtwJqR','locale','updateContent','delegate','unpin','ck-ai-review-mode__suggestion-text','contentDiffed','content','resultResponseView','pin','1994439mMJSxZ','deactivateChange','resultItemView','acceptChange','extendTemplate','3355WIFyJl','308916cLVsDf','ck-content','innerHTML','ck-reset','add','6dMoaCl','set','hide','9182GQLKlm','ck-ai-review-mode-balloon-panel-suggestion','element','div'];_0x2037=function(){return _0x819704;};return _0x2037();}import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x51540b{[_0x459571(0x1a8)];constructor(_0x920d79,_0x3f0762){const _0x1faf0e=_0x459571;super(_0x920d79),this[_0x1faf0e(0x187)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x1faf0e(0x17f)]({'tag':_0x1faf0e(0x18c),'attributes':{'class':[_0x1faf0e(0x184)],'tabindex':'-1'}}),this[_0x1faf0e(0x1a3)][_0x1faf0e(0x185)](this[_0x1faf0e(0x195)]()),_0x3f0762[_0x1faf0e(0x185)](this),_0x1066a3({'emitter':this,'activator':()=>this[_0x1faf0e(0x18d)],'contextElements':[this[_0x1faf0e(0x18b)]],'callback':()=>{const _0xa534a4=_0x1faf0e;this[_0xa534a4(0x18e)](),this[_0xa534a4(0x1a7)]();}});}[_0x459571(0x19e)](_0x57bafe){const _0x569d34=_0x459571;this[_0x569d34(0x1a8)][_0x569d34(0x196)]=_0x57bafe['id'],this[_0x569d34(0x1a8)][_0x569d34(0x1a4)][_0x569d34(0x18b)][_0x569d34(0x183)]=_0x57bafe[_0x569d34(0x1a2)];}[_0x459571(0x19a)](_0x54d16e,_0x23e012){const _0x3fd9fb=_0x459571;this[_0x3fd9fb(0x19e)](_0x54d16e),this[_0x3fd9fb(0x193)](),this[_0x3fd9fb(0x1a5)]({'target':_0x23e012});}[_0x459571(0x18e)](){const _0x5e6832=_0x459571;this[_0x5e6832(0x188)](),this[_0x5e6832(0x1a0)]();}[_0x459571(0x1a7)](){const _0x59d46e=_0x459571;this[_0x59d46e(0x190)](_0x59d46e(0x1a7));}[_0x459571(0x195)](){const _0x20261f=_0x459571,_0x465473=new _0x172d72();return this[_0x20261f(0x1a8)]=new _0x30c1f9(this[_0x20261f(0x19d)],''),this[_0x20261f(0x1a8)][_0x20261f(0x1a4)][_0x20261f(0x17f)]({'attributes':{'class':[_0x20261f(0x182)]}}),this[_0x20261f(0x1a8)][_0x20261f(0x19f)](_0x20261f(0x1a9),_0x20261f(0x18f))['to'](this),_0x465473[_0x20261f(0x192)]({'tag':_0x20261f(0x18c),'attributes':{'class':[_0x20261f(0x184),_0x20261f(0x18a)]},'children':[{'tag':'p','attributes':{'class':[_0x20261f(0x1a1)]},'children':[this[_0x20261f(0x1a8)]]}]}),_0x465473;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b8bcd=_0x5064;(function(_0x3ce0c7,_0x497ca9){const _0x2e5d7a=_0x5064,_0x1bdfa0=_0x3ce0c7();while(!![]){try{const _0x4d6419=-parseInt(_0x2e5d7a(0x103))/0x1+parseInt(_0x2e5d7a(0x107))/0x2+parseInt(_0x2e5d7a(0xf6))/0x3*(parseInt(_0x2e5d7a(0x105))/0x4)+-parseInt(_0x2e5d7a(0xfb))/0x5*(parseInt(_0x2e5d7a(0x116))/0x6)+-parseInt(_0x2e5d7a(0x10d))/0x7*(parseInt(_0x2e5d7a(0x101))/0x8)+-parseInt(_0x2e5d7a(0xf0))/0x9*(parseInt(_0x2e5d7a(0x113))/0xa)+parseInt(_0x2e5d7a(0xed))/0xb*(parseInt(_0x2e5d7a(0x114))/0xc);if(_0x4d6419===_0x497ca9)break;else _0x1bdfa0['push'](_0x1bdfa0['shift']());}catch(_0x38281f){_0x1bdfa0['push'](_0x1bdfa0['shift']());}}}(_0x4d33,0xd9de3));import{View as _0x3dfeac,ButtonView as _0x173ada}from'ckeditor5/src/ui.js';import{IconInfo as _0x29c6af}from'ckeditor5/src/icons.js';import{getTranslation as _0x1bd6ab}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x3dfeac{[_0x1b8bcd(0xf8)];[_0x1b8bcd(0x108)];[_0x1b8bcd(0x117)];[_0x1b8bcd(0x110)];constructor(_0x25f0a1,_0x1eda06){const _0xdc7e0c=_0x1b8bcd;super(_0x25f0a1),this['id']=_0x1eda06,this[_0xdc7e0c(0xf1)](_0xdc7e0c(0x11d),_0x1eda06),this[_0xdc7e0c(0xf8)]=this[_0xdc7e0c(0x11c)](),this[_0xdc7e0c(0x108)]=this[_0xdc7e0c(0x10c)](),this[_0xdc7e0c(0x117)]=this[_0xdc7e0c(0xf2)](),this[_0xdc7e0c(0x110)]=this[_0xdc7e0c(0x109)](),this[_0xdc7e0c(0xf1)](_0xdc7e0c(0x10e),!0x1),this[_0xdc7e0c(0xf1)](_0xdc7e0c(0xfc),!0x1),this[_0xdc7e0c(0xef)]({'tag':_0xdc7e0c(0x102),'attributes':{'class':[_0xdc7e0c(0xff),this[_0xdc7e0c(0xec)]['if'](_0xdc7e0c(0xfc),_0xdc7e0c(0x10a))]},'on':{'click':this[_0xdc7e0c(0xec)]['to'](_0xdc7e0c(0xfd))},'children':[this[_0xdc7e0c(0xf8)],{'tag':_0xdc7e0c(0x102),'attributes':{'class':[_0xdc7e0c(0x118)]},'children':[{'tag':_0xdc7e0c(0x102),'attributes':{'class':[_0xdc7e0c(0xfe)]},'children':[this[_0xdc7e0c(0x108)],this[_0xdc7e0c(0x117)]]},this[_0xdc7e0c(0x110)]]}]}),this['on'](_0xdc7e0c(0xfd),()=>{const _0xed0e86=_0xdc7e0c;this[_0xed0e86(0x10f)](_0xed0e86(0x11b),{'id':_0x1eda06,'source':this});});}[_0x1b8bcd(0x123)](){const _0x13ee84=_0x1b8bcd;this[_0x13ee84(0xfc)]=!0x0;}[_0x1b8bcd(0x111)](){const _0x3a3cb5=_0x1b8bcd;this[_0x3a3cb5(0xfc)]=!0x1;}[_0x1b8bcd(0x11c)](){const _0x17ff82=_0x1b8bcd,_0x10bd67=new _0x3dfeac(this[_0x17ff82(0x112)]);return _0x10bd67[_0x17ff82(0xef)]({'tag':_0x17ff82(0x102),'attributes':{'class':['ck',_0x17ff82(0x121),_0x17ff82(0xf3),_0x17ff82(0x11a)]}}),_0x10bd67;}[_0x1b8bcd(0x10c)](){const _0x35bdb6=_0x1b8bcd,_0x36acb2=new _0x173ada(this[_0x35bdb6(0x112)]);return _0x36acb2[_0x35bdb6(0xf1)]({'label':_0x1bd6ab(this[_0x35bdb6(0x112)],_0x35bdb6(0x119)),'withText':!0x0,'class':_0x35bdb6(0xf7)}),_0x36acb2[_0x35bdb6(0x100)]({'on':{'click':this[_0x35bdb6(0xec)]['to'](_0x541cbf=>{const _0x51914a=_0x35bdb6;this[_0x51914a(0x10f)](_0x51914a(0xf5),{'id':this[_0x51914a(0x11d)]}),_0x541cbf[_0x51914a(0xee)]();})}}),_0x36acb2;}[_0x1b8bcd(0xf2)](){const _0x48aba1=_0x1b8bcd,_0x3e2648=new _0x173ada(this[_0x48aba1(0x112)]);return _0x3e2648[_0x48aba1(0xf1)]({'label':_0x1bd6ab(this[_0x48aba1(0x112)],_0x48aba1(0x122)),'withText':!0x0,'class':_0x48aba1(0xfa)}),_0x3e2648[_0x48aba1(0x100)]({'on':{'click':this[_0x48aba1(0xec)]['to'](_0x3775bc=>{const _0x321db8=_0x48aba1;this[_0x321db8(0x10f)](_0x321db8(0x10b),{'id':this[_0x321db8(0x11d)]}),_0x3775bc[_0x321db8(0xee)]();})}}),_0x3e2648;}[_0x1b8bcd(0x109)](){const _0x512ae4=_0x1b8bcd,_0x4a307e=new _0x173ada(this[_0x512ae4(0x112)]);return _0x4a307e[_0x512ae4(0xf1)]({'label':_0x1bd6ab(this[_0x512ae4(0x112)],_0x512ae4(0x11e)),'icon':_0x29c6af,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x512ae4(0xf9),'class':_0x512ae4(0x106)}),_0x4a307e[_0x512ae4(0x104)](_0x512ae4(0x11f))['to'](this,_0x512ae4(0x10e),_0x53fe7c=>_0x53fe7c),_0x4a307e['on'](_0x512ae4(0x120),()=>{const _0x6f5703=_0x512ae4;console[_0x6f5703(0xf4)](_0x6f5703(0x115)),this[_0x6f5703(0x10e)]=!this[_0x6f5703(0x10e)];}),_0x4a307e;}}function _0x5064(_0x3e5615,_0x5d88a4){const _0x4d33ea=_0x4d33();return _0x5064=function(_0x506481,_0x4bfda2){_0x506481=_0x506481-0xec;let _0x52f299=_0x4d33ea[_0x506481];return _0x52f299;},_0x5064(_0x3e5615,_0x5d88a4);}function _0x4d33(){const _0x4eae25=['_createInfoButtonView','ck-ai-review-mode__check-run-result_active','dismissChange','_createAcceptButtonView','35xUhhSZ','isInfoToggleOn','fire','infoButtonView','setItemAsInactive','locale','90ijoQlG','24249468SuleXm','Toggle\x20info\x20view','10039662ecSKll','dismissButtonView','ck-ai-review-mode__check-run-result-footer','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai-review-mode__check-run-result-response','activateChange','_createResultResponseView','changeId','AI_REVIEW_MODE_LEARN_MORE','isOn','execute','ck-content','AI_REVIEW_MODE_DISMISS_CHANGE','setItemAsActive','bindTemplate','22MjwIWe','stopPropagation','setTemplate','1476747pvfzmg','set','_createDismissButtonView','ck-content-direct-excluded','log','acceptChange','1365SGSIUJ','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','resultResponseView','menuitemcheckbox','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','5tcphsn','isActive','click','ck-ai-review-mode__check-run-result-action-buttons','ck-ai-review-mode__check-run-result','extendTemplate','1573592PEXXwb','div','545093XANdSI','bind','9356PXaVgW','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','930352tYaubA','acceptButtonView'];_0x4d33=function(){return _0x4eae25;};return _0x4d33();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Collection as
|
|
23
|
+
import{Collection as _0x560e37}from'ckeditor5/src/utils.js';import{View as _0xecdd71,ButtonView as _0x50723c,FormRowView as _0x54dffd,createDropdown as _0x1ffed3,addListToDropdown as _0x39b7ae,UIModel as _0x350920,ButtonLabelView as _0x15c6b9}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x498e8b}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0xecdd71{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3156de,_0x48fa6c){super(_0x3156de),this['_check']=_0x48fa6c,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x48fa6c['models']&&_0x48fa6c['models']['length']>0x0?_0x48fa6c['models'][0x0]['id']:'',this['_defaultLabel']=_0x48fa6c['models']&&_0x48fa6c['models']['length']>0x0?_0x48fa6c['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x498e8b(_0x3156de),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x560e37(),this['_setModelList'](),_0x39b7ae(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x282b19=new _0xecdd71(_0x3156de);_0x282b19['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x54dffd(this['locale'],{'children':[this['promptInputView']]}),new _0x54dffd(this['locale'],{'children':[_0x282b19]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x5dd208=new _0x50723c(this['locale']),t=this['locale']['t'];return _0x5dd208['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5dd208['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x446cbe=>{_0x446cbe['stopPropagation']();})}}),_0x5dd208['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x5dd208;}['_createCancelButtonView'](){const _0x3e4a40=new _0x50723c(this['locale']),t=this['locale']['t'];return _0x3e4a40['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x3e4a40['on']('execute',()=>{this['resetToDefault']();}),_0x3e4a40;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x37362=this['_check']['models'];if(this['resetToDefault'](),_0x37362?.['length'])for(const _0x1b5714 of _0x37362){const _0x194c59=new _0x350920({'label':_0x1b5714['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1b5714['id'],'model':_0x1b5714});_0x194c59['bind']('isOn')['to'](this,'modelId',_0x434306=>_0x434306===_0x1b5714['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x194c59,'labelView':new js(this['locale'],_0x1b5714)});}}['_createModelSelectionDropdown'](){const _0x3e585f=_0x1ffed3(this['locale']);return _0x3e585f['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x3e585f['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x15f02f=>{_0x15f02f['stopPropagation']();})}}),_0x3e585f['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x3e585f,'execute',_0x3c62a8=>{this['modelId']=_0x3c62a8['source']['model']['id'],_0x3e585f['buttonView']['label']=_0x3c62a8['source']['label'];}),_0x3e585f;}}class js extends _0x15c6b9{constructor(_0x3aef55,_0xe927df){super();const _0x3804e1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3804e1['to']('style'),'id':_0x3804e1['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3804e1['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0xe927df['description']}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5869(){const _0x22f268=['7FShqcC','741846SmjItV','resetToDefault','145695eiwUmA','isVisible','hasChecks','140JnZPpQ','setChecks','div','970884kvnwgq','bindTemplate','ck-ai-review-mode__check-list','delegate','runReviewCheck','_checkViews','4229736IwBBJZ','6504ZWxkpa','entries','add','576369AuPOmx','1293843YqPceQ','ck-hidden','setTemplate','clear','length','locale','185XGISYv','resetAllParameterizedChecks'];_0x5869=function(){return _0x22f268;};return _0x5869();}const _0x4deaa2=_0x348a;(function(_0xa3ffa7,_0x487c2d){const _0x4c5c3f=_0x348a,_0x5d72bf=_0xa3ffa7();while(!![]){try{const _0x3daafb=parseInt(_0x4c5c3f(0x199))/0x1+-parseInt(_0x4c5c3f(0x197))/0x2+parseInt(_0x4c5c3f(0x18e))/0x3+-parseInt(_0x4c5c3f(0x183))/0x4+-parseInt(_0x4c5c3f(0x194))/0x5*(parseInt(_0x4c5c3f(0x18a))/0x6)+parseInt(_0x4c5c3f(0x196))/0x7*(-parseInt(_0x4c5c3f(0x189))/0x8)+parseInt(_0x4c5c3f(0x18d))/0x9*(parseInt(_0x4c5c3f(0x19c))/0xa);if(_0x3daafb===_0x487c2d)break;else _0x5d72bf['push'](_0x5d72bf['shift']());}catch(_0x58416e){_0x5d72bf['push'](_0x5d72bf['shift']());}}}(_0x5869,0x47109));import{ListItemView as _0x30d26c,ViewCollection as _0x3b58a7}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x17158b}from'./aireviewmodereviewcommandlistitemview.js';function _0x348a(_0x49ad53,_0x4d0af4){const _0x586930=_0x5869();return _0x348a=function(_0x348a86,_0x331e7c){_0x348a86=_0x348a86-0x182;let _0x453066=_0x586930[_0x348a86];return _0x453066;},_0x348a(_0x49ad53,_0x4d0af4);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x30d26c{[_0x4deaa2(0x188)];constructor(_0x44ca7d){const _0x4c6330=_0x4deaa2;super(_0x44ca7d),this[_0x4c6330(0x188)]=new _0x3b58a7();const _0x5ccc0a=this[_0x4c6330(0x184)];this[_0x4c6330(0x190)]({'tag':_0x4c6330(0x182),'attributes':{'class':[_0x4c6330(0x185),_0x5ccc0a['if'](_0x4c6330(0x19a),_0x4c6330(0x18f),_0x425043=>!_0x425043)]},'children':this[_0x4c6330(0x188)]});}[_0x4deaa2(0x19d)](_0x2df879){const _0xe23bcd=_0x4deaa2;this[_0xe23bcd(0x188)][_0xe23bcd(0x191)]();for(const [_0x324bfc,_0x5833bb]of _0x2df879[_0xe23bcd(0x18b)]()){const _0x2f3685=new _0x17158b(this[_0xe23bcd(0x193)],_0x5833bb,_0x324bfc);_0x2f3685[_0xe23bcd(0x186)](_0xe23bcd(0x187))['to'](this),this[_0xe23bcd(0x188)][_0xe23bcd(0x18c)](_0x2f3685);}}[_0x4deaa2(0x19b)](){const _0x12b471=_0x4deaa2;return this[_0x12b471(0x188)][_0x12b471(0x192)]>0x0;}[_0x4deaa2(0x195)](){const _0x229023=_0x4deaa2;for(const _0x4ace02 of this[_0x229023(0x188)])_0x4ace02 instanceof _0x17158b&&_0x4ace02[_0x229023(0x198)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x53ba0c,View as _0x2eb4aa,ViewCollection as _0x4a4627,ButtonView as _0x3299a3}from'ckeditor5/src/ui.js';import{IconStop as _0x45a3d8,IconEye as _0x47aece,IconEyeCrossedOut as _0x563527}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0xda0c25}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x23a77c,SKELETON_DEFINITIONS as _0x3e95af}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x156724}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x140ac9}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x29ce2e}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x53ba0c{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x12b6aa){super(_0x12b6aa),this['_resultViews']=new _0x4a4627(),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 _0x156724(_0x12b6aa),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0xfb115c=this['_createCombinedSkeletonLoader'](),_0x4a2e74=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x4a2e74['if']('isVisible','ck-hidden',_0x3e37a2=>!_0x3e37a2)]},'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',_0x3e7665=>_0x3e7665)]},'children':this['_resultViews']},_0xfb115c]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x15cb6b){const _0x28ece1=new _0xda0c25(this['locale'],_0x15cb6b['id']);_0x28ece1['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x28ece1),_0x28ece1['resultResponseView']['element']['innerHTML']=_0x15cb6b['contentDiffed'];}['hideResult'](_0x17321a){const _0x3e2312=this['_resultViews']['find'](_0x39c009=>_0x39c009['id']===_0x17321a);_0x3e2312&&(_0x3e2312['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x3e2312['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x3e2312),_0x3e2312['destroy']();},{'once':!0x0}));}['setTitle'](_0x3a18a8){this['headerTitle']=_0x3a18a8;}['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 _0x23a77c(this['locale'],_0x3e95af['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2a08b0=new _0x2eb4aa(this['locale']),_0x449d17=[];for(let _0x55d420=0x0;_0x55d420<0x10;_0x55d420++){const _0x49661c=this['_createSkeletonLoader']();_0x49661c['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x449d17['push'](_0x49661c);}return _0x2a08b0['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x46eb28=>!_0x46eb28)]},'children':_0x449d17}),_0x2a08b0;}['_createErrorView'](){const _0x2d1cdf=new _0x2eb4aa(this['locale']),_0x8e1e=new _0x3299a3(this['locale']),t=this['locale']['t'];return _0x2d1cdf['delegate']('retryReview')['to'](this),_0x8e1e['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x8e1e['on']('execute',()=>{this['fire']('retryReview');}),_0x2d1cdf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5c7aa8=>!_0x5c7aa8),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x3ce521=>'chunk'===_0x3ce521)]},'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',_0x3c10e8=>'chunk'===_0x3c10e8)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3e9445=>'general'!==_0x3e9445)]},'children':[{'text':_0x140ac9(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1a8942=>'chunk'!==_0x1a8942)]},'children':[{'text':_0x140ac9(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x8e1e]}),_0x2d1cdf;}['_createCancelButtonView'](){const _0x56024a=new _0x3299a3(this['locale']);return _0x56024a['set']({'label':_0x140ac9(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x45a3d8}),_0x56024a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x461400=>_0x461400)]}}),_0x56024a['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x56024a;}['_createToggleDiffButtonView'](){const _0x2e3b9a=new _0x3299a3(this['locale']);_0x2e3b9a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x2e3b9a['bind']('isEnabled')['to'](this,'isError',_0x24c033=>!_0x24c033),_0x2e3b9a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x33dae2=>!_0x33dae2)]}});const _0x458f11=_0x140ac9(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x34de7a=_0x140ac9(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x2e3b9a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x53098c=>_0x53098c),_0x2e3b9a['bind']('icon')['to'](this,'isToggleDiffOn',_0x15a571=>_0x15a571?_0x47aece:_0x563527),_0x2e3b9a['bind']('label')['to'](this,'isToggleDiffOn',_0x21388f=>_0x21388f?_0x458f11:_0x34de7a),_0x2e3b9a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x2e3b9a;}['_createAcceptAllButtonView'](){const _0x35cc83=new _0x3299a3(this['locale']);return _0x35cc83['set']({'label':_0x140ac9(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x35cc83['bind']('isEnabled')['to'](this,'isError',_0x24dc9b=>!_0x24dc9b),_0x35cc83['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3c6508=>!_0x3c6508)]}}),_0x35cc83['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x35cc83;}['_createExitReviewButtonView'](){const _0x26ca39=new _0x3299a3(this['locale']);return _0x26ca39['set']({'label':_0x140ac9(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x26ca39['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x390fc1=>!_0x390fc1)]}}),_0x26ca39['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x26ca39;}['_createResultHeaderView'](){const _0x4a1a4f=new _0x2eb4aa(this['locale']),_0x37bf0a=new _0x29ce2e();return _0x37bf0a['bind']('isVisible')['to'](this,'isResultReady',_0xfd7b99=>!_0xfd7b99),_0x4a1a4f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x37bf0a,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x4a1a4f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ListItemView as
|
|
23
|
+
import{ListItemView as _0x207cdb,IconView as _0x3d8c79,View as _0x4e3946,ViewCollection as _0x39310c,ButtonView as _0x12c13c,clickOutsideHandler as _0x4b1ca9}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x1837d2}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x5e5f93}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x1fa446}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x207cdb{['_formItemsCollection']=new _0x39310c();['_customCheckView']=null;constructor(_0x4ecaa2,_0x46a9a8,_0x3801d4){super(_0x4ecaa2),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x46a9a8['isParameterized']);const _0x44483e=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',_0x42f94e=>_0x42f94e),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x350b50=>_0x350b50)],'style':{'--ck-ai-check-list-item-index':_0x3801d4}},'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':_0x46a9a8['title']}]},_0x44483e]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x46a9a8['description']}]}]}]},..._0x46a9a8['isParameterized']?[this['_createParameterizedView'](_0x46a9a8)]:[],...'custom'===_0x46a9a8['id']?[this['_createCustomView'](_0x46a9a8)]:[]]}),this['on']('click',()=>{_0x46a9a8['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x46a9a8['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4b1ca9({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x573eaf=>{_0x573eaf['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x420317=new _0x3d8c79();return _0x420317['content']=_0x1837d2,_0x420317['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x420317;}['_createParameterizedView'](_0x5d7f6f){const _0x1ffc57=new _0x4e3946(),_0x37ae9d=this['_createFormView'](_0x5d7f6f);return _0x1ffc57['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x416dbd=>!_0x416dbd)]},'children':[_0x37ae9d]}),_0x1ffc57;}['_createFormView'](_0x23749c){const _0x295c86=new _0x4e3946(),_0x551359=Array['isArray'](_0x23749c['options'])?_0x23749c['options']:[],_0x2f86cd=new _0x12c13c(this['locale']),t=this['locale']['t'];_0x2f86cd['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2f86cd['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c95d3=>{_0x4c95d3['stopPropagation']();})}}),_0x2f86cd['on']('execute',()=>{const _0x5b035e=[],_0x3aec41={};this['_formItemsCollection']['forEach'](_0x4b3804=>{_0x5b035e['push'](_0x4b3804['value']),_0x23749c['useArgs']&&_0x23749c['options']&&(_0x3aec41[_0x4b3804['argsKey']]=_0x4b3804['value']);}),this['fire']('runReviewCheck',{'id':_0x23749c['id'],'params':_0x5b035e['length']?_0x5b035e:void 0x0,'args':Object['keys'](_0x3aec41)['length']?_0x3aec41:void 0x0});});const _0x413f41=_0x551359['length'];return _0x551359['forEach']((_0x309f15,_0x295cc5)=>{const _0x25cd66=_0x295cc5===_0x413f41-0x1;this['_formItemsCollection']['add'](new _0x5e5f93(this['locale'],_0x309f15,_0x25cd66?_0x2f86cd:null));}),_0x295c86['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x295c86;}['_createCustomView'](_0x260c02){return this['_customCheckView']=new _0x1fa446(this['locale'],_0x260c02),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',_0x9cd6c1=>!_0x9cd6c1)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x3321(_0x5662f9,_0x20604e){const _0x5d2832=_0x5d28();return _0x3321=function(_0x33211e,_0x1f073d){_0x33211e=_0x33211e-0x9d;let _0x133ade=_0x5d2832[_0x33211e];return _0x133ade;},_0x3321(_0x5662f9,_0x20604e);}const _0x1b317e=_0x3321;(function(_0x318eb5,_0x2c44d4){const _0x284584=_0x3321,_0x1d54bf=_0x318eb5();while(!![]){try{const _0x55feaa=-parseInt(_0x284584(0xb0))/0x1*(parseInt(_0x284584(0xc3))/0x2)+-parseInt(_0x284584(0xb8))/0x3*(-parseInt(_0x284584(0xbb))/0x4)+parseInt(_0x284584(0xa2))/0x5*(parseInt(_0x284584(0xb2))/0x6)+parseInt(_0x284584(0xb3))/0x7*(parseInt(_0x284584(0xaa))/0x8)+-parseInt(_0x284584(0xa3))/0x9*(parseInt(_0x284584(0xba))/0xa)+-parseInt(_0x284584(0xaf))/0xb*(parseInt(_0x284584(0xc5))/0xc)+parseInt(_0x284584(0xc7))/0xd*(parseInt(_0x284584(0xad))/0xe);if(_0x55feaa===_0x2c44d4)break;else _0x1d54bf['push'](_0x1d54bf['shift']());}catch(_0x91e692){_0x1d54bf['push'](_0x1d54bf['shift']());}}}(_0x5d28,0x42433));import{ListItemView as _0x459dd7,View as _0x43a19e,ButtonView as _0x3b6bef}from'ckeditor5/src/ui.js';import{getTranslation as _0x35ce75}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x5d28(){const _0x42e82f=['execute','locale','112axpcio','viewType','22KFtEas','4941Vwdgyg','setTemplate','62796OyFeeP','14jWUDzk','ck-ai-button-primary','ck-ai-review-mode__review-completed-content-text','fire','div','3819tZOBKL','_finishReviewButtonView','908070KqhQXP','1052YIpTSo','_createResultHeaderView','ck-ai-review-mode__review-completed-header-title','AI_REVIEW_MODE_COMPLETED_TEXT','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','_createFinishReviewButtonView','span','bindTemplate','2dplNUF','set','807720LtISCI','completed','103103kMhIys','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','finishReview','ck-ai-review-mode__review-completed-header-buttons','50bYBzuw','27YRHpse','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-review-mode__review-completed-header','ck-ai-review-mode__review-completed-content','resultsHeader','isVisible','ck-hidden','721944QAEwwN'];_0x5d28=function(){return _0x42e82f;};return _0x5d28();}export class AIReviewModeReviewCompletedView extends _0x459dd7{[_0x1b317e(0xa7)];[_0x1b317e(0xb9)];constructor(_0x28d3e9){const _0x42af07=_0x1b317e;super(_0x28d3e9),this[_0x42af07(0xb9)]=this[_0x42af07(0xc0)](),this[_0x42af07(0xa7)]=this[_0x42af07(0xbc)](),this[_0x42af07(0xc4)](_0x42af07(0xae),_0x42af07(0xc6));const _0x1eeb55=this[_0x42af07(0xc2)];this[_0x42af07(0xb1)]({'tag':_0x42af07(0xb7),'attributes':{'class':[_0x42af07(0x9e),_0x1eeb55['if'](_0x42af07(0xa8),_0x42af07(0xa9),_0x60cb6=>!_0x60cb6)]},'children':[this[_0x42af07(0xa7)],{'tag':_0x42af07(0xb7),'attributes':{'class':[_0x42af07(0xa6)]},'children':[{'tag':_0x42af07(0xc1),'attributes':{'class':[_0x42af07(0x9d)]},'children':[{'text':_0x1eeb55['to'](_0x42af07(0xae),_0x3aad5b=>_0x42af07(0xc6)===_0x3aad5b?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x42af07(0xb5)]},'children':[{'text':_0x1eeb55['to'](_0x42af07(0xae),_0x962266=>_0x35ce75(_0x28d3e9,_0x42af07(0xc6)===_0x962266?_0x42af07(0xbe):_0x42af07(0xbf)))}]}]}]});}[_0x1b317e(0xc0)](){const _0x5b23e3=_0x1b317e,_0x2118b3=new _0x3b6bef(this[_0x5b23e3(0xac)]);return _0x2118b3[_0x5b23e3(0xc4)]({'label':_0x35ce75(this[_0x5b23e3(0xac)],_0x5b23e3(0x9f)),'withText':!0x0,'class':_0x5b23e3(0xb4)}),_0x2118b3['on'](_0x5b23e3(0xab),()=>{const _0x8f62e2=_0x5b23e3;this[_0x8f62e2(0xb6)](_0x8f62e2(0xa0));}),_0x2118b3;}[_0x1b317e(0xbc)](){const _0x242305=_0x1b317e,_0xb0b566=new _0x43a19e(this[_0x242305(0xac)]);return _0xb0b566[_0x242305(0xb1)]({'tag':_0x242305(0xb7),'attributes':{'class':[_0x242305(0xa5)]},'children':[{'tag':_0x242305(0xc1),'attributes':{'class':[_0x242305(0xbd)]},'children':[{'text':_0x35ce75(this[_0x242305(0xac)],_0x242305(0xa4))}]},{'tag':_0x242305(0xb7),'attributes':{'class':[_0x242305(0xa1)]},'children':[this[_0x242305(0xb9)]]}]}),_0xb0b566;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1e33f3=_0x61fe;(function(_0x96594c,_0x2cf24e){var _0x1c0c72=_0x61fe,_0x1c6083=_0x96594c();while(!![]){try{var _0x10a6c6=-parseInt(_0x1c0c72(0x1ce))/0x1+-parseInt(_0x1c0c72(0x1cf))/0x2*(-parseInt(_0x1c0c72(0x1a9))/0x3)+parseInt(_0x1c0c72(0x1c0))/0x4*(-parseInt(_0x1c0c72(0x1be))/0x5)+-parseInt(_0x1c0c72(0x1a8))/0x6+parseInt(_0x1c0c72(0x1ae))/0x7+-parseInt(_0x1c0c72(0x1b1))/0x8+-parseInt(_0x1c0c72(0x1cc))/0x9*(parseInt(_0x1c0c72(0x1b0))/0xa);if(_0x10a6c6===_0x2cf24e)break;else _0x1c6083['push'](_0x1c6083['shift']());}catch(_0x51e158){_0x1c6083['push'](_0x1c6083['shift']());}}}(_0x115b,0xb2f90));import{View as _0x285700,FormHeaderView as _0xcdb920}from'ckeditor5/src/ui.js';function _0x61fe(_0x10327a,_0x5cd699){var _0x115b5f=_0x115b();return _0x61fe=function(_0x61fe4d,_0x31b7f8){_0x61fe4d=_0x61fe4d-0x1a2;var _0x410e9d=_0x115b5f[_0x61fe4d];return _0x410e9d;},_0x61fe(_0x10327a,_0x5cd699);}import{IconAIReview as _0x3349be}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x122e3b}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x231ba6}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x120616}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x3327c9}from'./aireviewmodereviewcompletedview.js';function _0x115b(){var _0x504f1c=['ck-ai-review-mode','415845yjfkWk','reviewCheckResultsView','4bLhBNQ','resetErrorState','resetAllParameterizedChecks','AI_REVIEW_MODE','isResultReady','ltr','div','hideActionsWhenResultIsReady','showChunkErrorMessage','addResult','showGeneralErrorMessage','isLoading','40527IJcBbz','showNoChangesView','108346TtbEym','5498wtlPgO','reviewCheckListView','delegate','showReviewCompletedView','ck-ai-header\x20ck-ai-header_review-mode','finishReview','addCheckRunResult','328512uSwWfq','1059TceVtS','reviewCompletedView','showActionsWhenResultIsReady','showGeneralErrorView','showReviewCheckListView','782075qYpwBw','viewType','90bOzIsy','498048eXTkrm','clearResults','set','reviewModeHeader','showReviewCheckResultsView','showChunkErrorView','ck-reset_all','ck-rounded-corners','setTemplate','unmodified','completed','isVisible'];_0x115b=function(){return _0x504f1c;};return _0x115b();}import{getTranslation as _0x41d44b}from'../../aicore/utils/common-translations.js';export class AIReviewModeView extends _0x285700{[_0x1e33f3(0x1b4)];[_0x1e33f3(0x1a2)];[_0x1e33f3(0x1bf)];[_0x1e33f3(0x1aa)];constructor(_0x2c2e70){var _0x4f3954=_0x1e33f3;super(_0x2c2e70),this[_0x4f3954(0x1b4)]=new _0xcdb920(_0x2c2e70,{'label':_0x41d44b(_0x2c2e70,_0x4f3954(0x1c3)),'icon':_0x3349be,'class':_0x4f3954(0x1a5)}),this[_0x4f3954(0x1a2)]=new _0x122e3b(_0x2c2e70),this[_0x4f3954(0x1a2)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1bf)]=new _0x120616(_0x2c2e70),this[_0x4f3954(0x1bf)][_0x4f3954(0x1a3)](..._0x231ba6)['to'](this),this[_0x4f3954(0x1aa)]=new _0x3327c9(_0x2c2e70),this[_0x4f3954(0x1aa)][_0x4f3954(0x1a3)](_0x4f3954(0x1a6))['to'](this),this[_0x4f3954(0x1a2)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1cb),!0x1),this[_0x4f3954(0x1bf)][_0x4f3954(0x1b3)](_0x4f3954(0x1c4),!0x1),this[_0x4f3954(0x1aa)][_0x4f3954(0x1b3)](_0x4f3954(0x1bc),!0x1),this[_0x4f3954(0x1b9)]({'tag':_0x4f3954(0x1c6),'attributes':{'class':['ck',_0x4f3954(0x1b7),_0x4f3954(0x1bd),_0x4f3954(0x1b8)],'dir':_0x4f3954(0x1c5)},'children':[this[_0x4f3954(0x1b4)],this[_0x4f3954(0x1a2)],this[_0x4f3954(0x1bf)],this[_0x4f3954(0x1aa)]]});}[_0x1e33f3(0x1ad)](){var _0x1d62aa=_0x1e33f3;this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1c2)](),this[_0x1d62aa(0x1a2)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x0),this[_0x1d62aa(0x1bf)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1),this[_0x1d62aa(0x1aa)][_0x1d62aa(0x1b3)](_0x1d62aa(0x1bc),!0x1);}[_0x1e33f3(0x1b5)](){var _0x753e32=_0x1e33f3;this[_0x753e32(0x1c7)](),this[_0x753e32(0x1bf)][_0x753e32(0x1c1)](),this[_0x753e32(0x1a2)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x1),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1bc),!0x0),this[_0x753e32(0x1bf)][_0x753e32(0x1b2)](),this[_0x753e32(0x1bf)][_0x753e32(0x1b3)](_0x753e32(0x1cb),!0x0);}[_0x1e33f3(0x1a7)](_0x4607cd){var _0x3dd8f9=_0x1e33f3;this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1c9)](_0x4607cd),this[_0x3dd8f9(0x1bf)][_0x3dd8f9(0x1b3)](_0x3dd8f9(0x1cb),!0x1);}[_0x1e33f3(0x1a4)](){var _0x1e78c1=_0x1e33f3;this[_0x1e78c1(0x1a2)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1bf)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x1),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1af),_0x1e78c1(0x1bb)),this[_0x1e78c1(0x1aa)][_0x1e78c1(0x1b3)](_0x1e78c1(0x1bc),!0x0);}[_0x1e33f3(0x1ab)](){var _0x39d413=_0x1e33f3;this[_0x39d413(0x1bf)][_0x39d413(0x1c4)]=!0x0;}[_0x1e33f3(0x1cd)](){var _0x1e2ea8=_0x1e33f3;this[_0x1e2ea8(0x1a2)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1bf)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x1),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1af),_0x1e2ea8(0x1ba)),this[_0x1e2ea8(0x1aa)][_0x1e2ea8(0x1b3)](_0x1e2ea8(0x1bc),!0x0);}[_0x1e33f3(0x1c7)](){var _0x207242=_0x1e33f3;this[_0x207242(0x1bf)][_0x207242(0x1c4)]=!0x1;}[_0x1e33f3(0x1ac)](){var _0x4ec5d7=_0x1e33f3;this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1b3)](_0x4ec5d7(0x1cb),!0x1),this[_0x4ec5d7(0x1ab)](),this[_0x4ec5d7(0x1bf)][_0x4ec5d7(0x1ca)]();}[_0x1e33f3(0x1b6)](){var _0x3fc409=_0x1e33f3;this[_0x3fc409(0x1bf)][_0x3fc409(0x1b3)](_0x3fc409(0x1cb),!0x1),this[_0x3fc409(0x1ab)](),this[_0x3fc409(0x1bf)][_0x3fc409(0x1c8)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1335b5=_0x3828;(function(_0x286ddc,_0x34f370){const _0x257354=_0x3828,_0x48c2b9=_0x286ddc();while(!![]){try{const _0x47a0e6=-parseInt(_0x257354(0x10a))/0x1*(parseInt(_0x257354(0x11f))/0x2)+-parseInt(_0x257354(0x120))/0x3*(parseInt(_0x257354(0x11b))/0x4)+parseInt(_0x257354(0x10f))/0x5*(parseInt(_0x257354(0x111))/0x6)+parseInt(_0x257354(0x113))/0x7*(-parseInt(_0x257354(0x11d))/0x8)+-parseInt(_0x257354(0x126))/0x9*(parseInt(_0x257354(0x125))/0xa)+-parseInt(_0x257354(0x10d))/0xb+-parseInt(_0x257354(0x119))/0xc*(-parseInt(_0x257354(0x10b))/0xd);if(_0x47a0e6===_0x34f370)break;else _0x48c2b9['push'](_0x48c2b9['shift']());}catch(_0x1e08b7){_0x48c2b9['push'](_0x48c2b9['shift']());}}}(_0x9fa5,0xb9577));function _0x3828(_0x5179f5,_0x4e7118){const _0x9fa526=_0x9fa5();return _0x3828=function(_0x382849,_0x56e019){_0x382849=_0x382849-0x10a;let _0x421fe1=_0x9fa526[_0x382849];return _0x421fe1;},_0x3828(_0x5179f5,_0x4e7118);}import{FormRowView as _0x52473c,ListItemView as _0x2efabc}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2bd8fa}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x2efabc{[_0x1335b5(0x10c)]=null;constructor(_0x55c90b,_0x5dfb97,_0x4bf613){const _0x291048=_0x1335b5;super(_0x55c90b),this[_0x291048(0x10e)]=_0x5dfb97?.[_0x291048(0x10e)];if(_0x291048(0x112)===_0x5dfb97[_0x291048(0x11e)])this[_0x291048(0x10c)]=new _0x2bd8fa(this[_0x291048(0x127)],_0x5dfb97);this[_0x291048(0x117)](_0x291048(0x11a),''),this[_0x291048(0x116)](_0x291048(0x11a))['to'](this[_0x291048(0x10c)],_0x291048(0x115));const _0x5157dc=new _0x52473c(this[_0x291048(0x127)],{'children':[this[_0x291048(0x10c)]],'class':[_0x4bf613?_0x291048(0x118):'']});_0x4bf613&&_0x5157dc[_0x291048(0x124)][_0x291048(0x110)](_0x4bf613),this[_0x291048(0x122)]({'tag':_0x291048(0x121),'attributes':{'class':['ck',_0x291048(0x123),_0x291048(0x114)]},'children':[_0x5157dc]});}[_0x1335b5(0x11c)](){const _0x56b07d=_0x1335b5;this[_0x56b07d(0x10c)][_0x56b07d(0x11c)]();}}function _0x9fa5(){const _0x35767d=['167974zfTmDY','671082CYOCdU','div','setTemplate','ck-ai-review-mode__form-item','children','6772210VnkIon','18HnuveK','locale','3fLhGKI','33475IbVMsl','_formItem','14945997JUzhle','argsKey','3904085oaVkzW','add','6vifJvc','dropdown','232729POgSaa','ck-reset_all','formValue','bind','set','ck-form__row_with-submit','24972RHgybP','value','20myvoRp','resetToDefault','312rHLtHK','formType'];_0x9fa5=function(){return _0x35767d;};return _0x9fa5();}
|