@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.7
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/LICENSE.md +4 -0
- package/build/ai.js +1 -1
- package/dist/index-editor.css +54 -18
- package/dist/index.css +64 -19
- package/dist/index.js +4 -4
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/lang/contexts.json +5 -0
- package/package.json +15 -15
- package/src/aiactions/aiactions.d.ts +0 -2
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
- 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.d.ts +3 -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.d.ts +7 -2
- 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.d.ts +4 -0
- 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.d.ts +1 -0
- 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.d.ts +8 -2
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichat/utils/scrollmanager.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aiconfig.d.ts +17 -0
- package/src/aicore/aiconnector.d.ts +13 -0
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.d.ts +41 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aireply.d.ts +2 -2
- 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.d.ts +16 -0
- 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.d.ts +4 -0
- 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.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/theme/aiballoon/aiballoon.css +17 -4
- package/theme/aichat/aichathistory.css +26 -9
- package/theme/aichat/aiminitoolbar.css +8 -0
- package/theme/aichat/aisuggestioncontainer.css +6 -0
- package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
- package/theme/aitabs/aitabsview.css +6 -1
- package/theme/common/aibutton.css +0 -4
- package/theme/common/aiheader.css +1 -0
- package/src/aiquickactions/utils/common-translations.d.ts +0 -9
- package/src/aiquickactions/utils/common-translations.js +0 -23
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
_0x5d1755(){[_0x3febde(0x1cf)];[_0x3febde(0x1f9)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x3febde(0x1e6)]=new Set();constructor(_0x589873){const _0x27e1aa=_0x3febde;super(),this[_0x27e1aa(0x1cf)]=_0x589873||_0x15d1e1;}[_0x3febde(0x1ff)](_0x36c38e,_0x44ee52,_0x38408b){const _0x3202be=_0x3febde,_0x5c0eee=_0x137d8b(_0x36c38e);if(0x0===_0x44ee52[_0x3202be(0x1ca)][_0x3202be(0x1df)]){const _0xd06278=[];return _0x3b2eec(_0x3202be(0x1d6),_0x3202be(0x1f2),_0x5c0eee)[_0x3202be(0x1c3)](_0x412ccd=>{const _0x2ac5c5=_0x3202be,_0x2b7788=this[_0x2ac5c5(0x1cf)]();_0x1ae963(_0x412ccd,_0x2ac5c5(0x1d6),_0x2b7788),_0xd06278[_0x2ac5c5(0x1c1)](_0x2b7788);}),this[_0x3202be(0x1f8)](_0x5c0eee),{'parsedContent':_0x5c0eee,'newNodeIds':_0xd06278,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x38408b&&_0x38408b[_0x3202be(0x1c4)]&&this[_0x3202be(0x1fb)](_0x5c0eee),this[_0x3202be(0x1f9)][_0x3202be(0x1d9)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1d4)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1ce)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]=null,this[_0x3202be(0x1e6)]=new Set(_0x3b2eec(_0x3202be(0x1d6),null,_0x44ee52)[_0x3202be(0x1e5)](_0x48f991=>_0x4e3db5(_0x48f991,_0x3202be(0x1d6)))[_0x3202be(0x1fd)](_0x623c15=>!!_0x623c15));let _0x1417fb=-0x1,_0x27cb98=!0x1;const _0x5d361b=_0x5c0eee[_0x3202be(0x1ca)],_0x12c9d6=Array[_0x3202be(0x1f3)](_0x5d361b)[_0x3202be(0x1fd)](_0x44ec29=>!(0x3===_0x44ec29[_0x3202be(0x200)]&&''===_0x43b44b(_0x44ec29)[_0x3202be(0x1f7)]())),_0x1ebc51=_0x12c9d6[_0x3202be(0x1df)];for(let _0x4a99ab=0x0;_0x4a99ab<_0x1ebc51;_0x4a99ab++){const _0x44b52e=_0x12c9d6[_0x4a99ab],_0x3a95cf=_0x12c9d6[_0x4a99ab+0x1];if(this[_0x3202be(0x202)](_0x44b52e)){if(-0x1===_0x1417fb&&(_0x1417fb=_0x4a99ab),this[_0x3202be(0x1ea)](_0x44b52e),!this[_0x3202be(0x202)](_0x3a95cf)){const [_0x411d28,_0x46ad4f]=this[_0x3202be(0x1e2)](_0x44b52e,_0x27cb98,_0x44ee52);if(_0x411d28){const _0x23f370=Array[_0x3202be(0x1f3)](_0x12c9d6)[_0x3202be(0x1bf)](_0x1417fb,_0x4a99ab+0x1);this[_0x3202be(0x203)](_0x411d28,_0x23f370,_0x46ad4f),_0x1417fb=-0x1;}}}else{if(this[_0x3202be(0x1ed)](_0x44b52e))_0x27cb98=!0x0;else{if(this[_0x3202be(0x1f5)](_0x44b52e)){const _0x4dd8d5=_0x4e3db5(_0x44b52e,_0x3202be(0x1d6));if(_0x4dd8d5&&this[_0x3202be(0x1e6)][_0x3202be(0x1e4)](_0x4dd8d5)){const _0x44c779=_0x48c6d9(_0x3202be(0x1d6),_0x4dd8d5,_0x44ee52);this[_0x3202be(0x1d3)](_0x44c779,_0x44b52e);}if(this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x204)](_0x4dd8d5)){const _0x437042=this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x1db)](_0x4dd8d5);this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x1e1)](_0x437042,0x1);}}else{if(this[_0x3202be(0x1e9)](_0x44b52e)){const _0x4c4442=_0x4e3db5(_0x44b52e,_0x3202be(0x1d6));this[_0x3202be(0x1f9)][_0x3202be(0x1d4)][_0x3202be(0x204)](_0x4c4442)||this[_0x3202be(0x1fa)](_0x44b52e);}}}}}for(const _0x2a5752 of this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]){const _0x5b4df0=_0x48c6d9(_0x3202be(0x1d6),_0x2a5752,_0x44ee52);if(_0x5b4df0){if(_0x38408b&&_0x38408b[_0x3202be(0x1c7)]){this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]=_0x2a5752;const _0x59c6e9=_0x38408b[_0x3202be(0x1c7)][_0x3202be(0x1f4)](!0x0);_0x1ae963(_0x59c6e9,_0x3202be(0x1d6),_0x2a5752),_0x1ae963(_0x59c6e9,_0x3202be(0x1f6),_0x3202be(0x1d1)),_0x19a95c(_0x5b4df0,_0x59c6e9);}else _0x25b599(_0x5b4df0);}}if(_0x3b2eec(_0x3202be(0x1c8),null,_0x44ee52)[_0x3202be(0x1c3)](_0x55d743=>{const _0xf5d36b=_0x3202be,_0xc9c1c6=_0x4e3db5(_0x55d743,_0xf5d36b(0x1c8)),_0x2d2735=_0x48c6d9(_0xf5d36b(0x1d6),_0xc9c1c6,_0x44ee52);_0x2d2735&&_0x2bbe62(_0x2d2735,_0x55d743);}),_0x3b2eec(_0x3202be(0x1d6),_0x3202be(0x1f2),_0x44ee52)[_0x3202be(0x1c3)](_0x29264f=>{const _0x3afaed=_0x3202be,_0x196c43=this[_0x3afaed(0x201)](_0x29264f);_0x1ae963(_0x29264f,_0x3afaed(0x1d6),_0x196c43),this[_0x3afaed(0x1f9)][_0x3afaed(0x1d9)][_0x3afaed(0x1c1)](_0x196c43);}),this[_0x3202be(0x1f8)](_0x44ee52),_0x38408b&&_0x38408b[_0x3202be(0x1c4)]&&this[_0x3202be(0x1be)](_0x44ee52,_0x38408b[_0x3202be(0x1cb)]||0x0),_0x38408b&&_0x38408b[_0x3202be(0x1e0)]&&this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]){let _0x23969f=_0x48c6d9(_0x3202be(0x1d6),this[_0x3202be(0x1f9)][_0x3202be(0x1f1)],_0x44ee52);for(;_0x23969f;)_0x416884(_0x23969f),_0x23969f=_0x23969f[_0x3202be(0x1ec)];}return{'parsedContent':_0x44ee52,'newNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1d9)],'modifiedNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1d4)],'removedNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]};}[_0x3febde(0x203)](_0x365dba,_0x4d004f,_0x2cd130){const _0x120203=_0x3febde;for(const _0x3fbce1 of _0x4d004f){const _0x1b5506=this[_0x120203(0x201)](_0x3fbce1);_0x1ae963(_0x3fbce1,_0x120203(0x1d6),_0x1b5506),this[_0x120203(0x1f9)][_0x120203(0x1d9)][_0x120203(0x1c1)](_0x1b5506),this[_0x120203(0x1f9)][_0x120203(0x1f1)]=_0x1b5506;}const _0x25e1d5=_0x120203(0x1c9)===_0x2cd130||_0x120203(0x1d2)===_0x2cd130?_0x4d004f[_0x120203(0x1de)]():_0x4d004f;for(const _0x437186 of _0x25e1d5)_0x44581f(_0x365dba,_0x437186,_0x2cd130);}[_0x3febde(0x1d3)](_0x1a8910,_0x2eefce){const _0x978614=_0x3febde;if(!_0x1a8910)return;if(_0x4b2257(_0x1a8910,_0x2eefce))return;const _0x528eef=this[_0x978614(0x201)](_0x1a8910);_0x1ae963(_0x2eefce,_0x978614(0x1d6),_0x528eef),this[_0x978614(0x1f9)][_0x978614(0x1d4)][_0x978614(0x1c1)](_0x528eef),this[_0x978614(0x1f9)][_0x978614(0x1f1)]=_0x528eef,_0x19a95c(_0x1a8910,_0x2eefce[_0x978614(0x1f4)](!0x0));}[_0x3febde(0x1e2)](_0x52e55e,_0x50c572,_0x5cb31e){const _0x281d0d=_0x3febde,_0x457011=this[_0x281d0d(0x1fc)](_0x52e55e,!0x1);if(_0x457011){const _0x2b2784=this[_0x281d0d(0x1c2)](_0x457011),_0x457b05=_0x48c6d9(_0x281d0d(0x1d6),_0x2b2784,_0x5cb31e);if(_0x457b05)return[_0x457b05,_0x281d0d(0x1d2)];this[_0x281d0d(0x1f9)][_0x281d0d(0x1ce)][_0x281d0d(0x1c1)](_0x2b2784);}const _0x492d7c=this[_0x281d0d(0x1d7)](_0x52e55e,!0x1);if(_0x492d7c){const _0x3d7c48=this[_0x281d0d(0x1c2)](_0x492d7c),_0x49cb21=_0x48c6d9(_0x281d0d(0x1d6),_0x3d7c48,_0x5cb31e);if(_0x49cb21)return[_0x49cb21,_0x281d0d(0x1cc)];this[_0x281d0d(0x1f9)][_0x281d0d(0x1ce)][_0x281d0d(0x1c1)](_0x3d7c48);}return _0x50c572?_0x52e55e[_0x281d0d(0x1c0)]?this[_0x281d0d(0x1d5)](_0x52e55e,_0x5cb31e):[_0x5cb31e[_0x281d0d(0x1ca)][_0x5cb31e[_0x281d0d(0x1ca)][_0x281d0d(0x1df)]-0x1],_0x281d0d(0x1d2)]:[_0x5cb31e[_0x281d0d(0x1ca)][0x0],_0x281d0d(0x1cc)];}[_0x3febde(0x1d5)](_0x21429a,_0x388a36){const _0x3ee238=_0x3febde,_0x5aae30=[],_0x2f7a3f=this[_0x3ee238(0x1fc)](_0x21429a,!0x0);if(_0x2f7a3f){const _0x6eabb2=this[_0x3ee238(0x1c2)](_0x2f7a3f),_0x47435d=_0x48c6d9(_0x3ee238(0x1d6),_0x6eabb2,_0x388a36);_0x47435d&&_0x5aae30[_0x3ee238(0x1c1)]([_0x47435d,_0x3ee238(0x1d2)]);}const _0x41ddd7=this[_0x3ee238(0x1d7)](_0x21429a,!0x0);if(_0x41ddd7){const _0x2084c5=this[_0x3ee238(0x1c2)](_0x41ddd7),_0x313cc2=_0x48c6d9(_0x3ee238(0x1d6),_0x2084c5,_0x388a36);_0x313cc2&&_0x5aae30[_0x3ee238(0x1c1)]([_0x313cc2,_0x3ee238(0x1cc)]);}if(_0x5aae30[_0x3ee238(0x1df)]>0x1)return _0x18160d(_0x5aae30[0x0][0x0])<=_0x18160d(_0x5aae30[0x1][0x0])?_0x5aae30[0x0]:_0x5aae30[0x1];return 0x1===_0x5aae30[_0x3ee238(0x1df)]?_0x5aae30[0x0]:[_0x388a36[_0x3ee238(0x1eb)],_0x3ee238(0x1d2)];}[_0x3febde(0x1d7)](_0xc65e81,_0x4ce1d0){const _0x17a7fc=_0x3febde;let _0x1c7c16=_0xc65e81[_0x17a7fc(0x1c0)],_0x4c7948=null,_0x1fdab4=!0x1;for(;_0x1c7c16;){if(_0x51155c(_0x1c7c16)){if(this[_0x17a7fc(0x1e9)](_0x1c7c16)&&(_0x4c7948=_0x1c7c16),this[_0x17a7fc(0x1ed)](_0x1c7c16)&&_0x4ce1d0&&!_0x1fdab4){_0x1fdab4=!0x0,_0x1c7c16=_0x1c7c16[_0x17a7fc(0x1c0)];continue;}break;}const _0x50fe9e=_0x4e3db5(_0x1c7c16,_0x17a7fc(0x1d6));if(_0x50fe9e&&_0x17a7fc(0x1f2)!==_0x50fe9e&&this[_0x17a7fc(0x1e6)][_0x17a7fc(0x1e4)](_0x50fe9e)){_0x4c7948=_0x1c7c16;break;}_0x1c7c16=_0x1c7c16[_0x17a7fc(0x1c0)];}return _0x4c7948;}[_0x3febde(0x1fc)](_0x14e0da,_0x562f6c){const _0x336011=_0x3febde;let _0x229b0a=_0x14e0da[_0x336011(0x1dc)],_0x32b96a=null,_0xbe0a13=!0x1;for(;_0x229b0a;){if(_0x51155c(_0x229b0a)){if(this[_0x336011(0x1e9)](_0x229b0a)&&(_0x32b96a=_0x229b0a),this[_0x336011(0x1ed)](_0x229b0a)&&_0x562f6c&&!_0xbe0a13){_0xbe0a13=!0x0,_0x229b0a=_0x229b0a[_0x336011(0x1dc)];continue;}break;}const _0x54091c=_0x4e3db5(_0x229b0a,_0x336011(0x1d6));if(_0x54091c&&_0x336011(0x1f2)!==_0x54091c&&this[_0x336011(0x1e6)][_0x336011(0x1e4)](_0x54091c)){_0x32b96a=_0x229b0a;break;}_0x229b0a=_0x229b0a[_0x336011(0x1dc)];}return _0x32b96a;}[_0x3febde(0x1ea)](_0x3329bf){const _0x49b0a3=_0x3febde;_0x101422(_0x3329bf)&&_0x3b2eec(_0x49b0a3(0x1d6),null,_0x3329bf)[_0x49b0a3(0x1c3)](_0x1cb815=>{const _0x201001=_0x49b0a3;if(this[_0x201001(0x1f5)](_0x1cb815)&&!this[_0x201001(0x1e7)](_0x1cb815)){const _0x204a94=_0x4e3db5(_0x1cb815,_0x201001(0x1d6));_0x1ae963(_0x1cb815,_0x201001(0x1c8),_0x204a94),_0x1ae963(_0x1cb815,_0x201001(0x1d6),null);}});}[_0x3febde(0x1c2)](_0x187dd3){const _0x3be7b6=_0x3febde;if(!_0x187dd3)return null;if(_0x101422(_0x187dd3))return _0x4e3db5(_0x187dd3,_0x3be7b6(0x1d6));if(_0x51155c(_0x187dd3)){const _0x2cb24b=_0x43b44b(_0x187dd3)[_0x3be7b6(0x1cd)](/removed[\s*-]data-id="([^"]+)"/);if(_0x2cb24b&&_0x2cb24b[0x1])return _0x2cb24b[0x1];}return null;}[_0x3febde(0x1fa)](_0x33a1b6){const _0x1d6091=_0x3febde;if(_0x51155c(_0x33a1b6)){const _0x4e6170=_0x43b44b(_0x33a1b6)[_0x1d6091(0x1cd)](/removed[\s*-]data-id="([^"]+)"/);_0x4e6170&&_0x4e6170[0x1]&&this[_0x1d6091(0x1f9)][_0x1d6091(0x1e3)][_0x1d6091(0x1c1)](_0x4e6170[0x1]);}}[_0x3febde(0x201)](_0x3abab6){const _0x148926=_0x3febde;return this[_0x148926(0x1f5)](_0x3abab6)?_0x4e3db5(_0x3abab6,_0x148926(0x1d6)):this[_0x148926(0x1cf)]();}[_0x3febde(0x1f8)](_0x2c805c){const _0x515568=_0x3febde;_0x294bf8(_0x2c805c)[_0x515568(0x1fd)](_0x5b898f=>this[_0x515568(0x1e9)](_0x5b898f)||this[_0x515568(0x1ed)](_0x5b898f))[_0x515568(0x1c3)](_0xfeb336=>{_0x25b599(_0xfeb336);});}[_0x3febde(0x1fb)](_0x20dc4a){const _0x559988=_0x3febde,_0x30f543=_0x20dc4a[_0x559988(0x1ca)],_0x410754=_0x30f543[_0x30f543[_0x559988(0x1df)]-0x1];_0x410754&&_0x101422(_0x410754)&&_0x1ae963(_0x410754,_0x559988(0x1fe),_0x559988(0x1d1));}[_0x3febde(0x1be)](_0x2eba3f,_0x413f92){const _0x4b28bc=_0x3febde,_0xcec155=_0x48c6d9(_0x4b28bc(0x1fe),_0x4b28bc(0x1d1),_0x2eba3f);if(!_0xcec155)return;const _0x1fc209=_0x2ff4fc(_0xcec155)[_0x4b28bc(0x1bf)](0x0,-0x1),_0x1f4838=_0x1fc209[_0x4b28bc(0x1df)];let _0x19ac7e=_0xcec155;if(_0x1f4838>_0x413f92){let _0x12393a=_0x1f4838,_0x5de675=null;for(;_0x12393a>_0x413f92&&_0x12393a>=0x0;)_0x12393a--,_0x5de675=_0x1fc209[_0x12393a];_0x5de675&&(_0x19ac7e=_0x5de675,_0x1ae963(_0xcec155,_0x4b28bc(0x1fe),null),_0x1ae963(_0x5de675,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1)));}else{if(_0x1f4838<_0x413f92){let _0x10aa2c=_0x1f4838,_0x470a69=_0xcec155;for(;_0x10aa2c<_0x413f92;){const _0x258919=_0x470a69[_0x4b28bc(0x1ca)][_0x4b28bc(0x1fd)](_0x39ada5=>_0x101422(_0x39ada5));if(0x0===_0x258919[_0x4b28bc(0x1df)])break;_0x10aa2c++,_0x470a69=_0x258919[_0x258919[_0x4b28bc(0x1df)]-0x1];}_0x470a69&&(_0x19ac7e=_0x470a69,_0x1ae963(_0xcec155,_0x4b28bc(0x1fe),null),_0x1ae963(_0x470a69,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1)));}}let _0x135e1c=_0x19ac7e;for(;_0x135e1c;){for(;_0x135e1c[_0x4b28bc(0x1c0)];)_0x135e1c=_0x135e1c[_0x4b28bc(0x1c0)],_0x101422(_0x135e1c)&&_0x1ae963(_0x135e1c,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1));_0x135e1c=_0x135e1c[_0x4b28bc(0x1ec)];}}[_0x3febde(0x202)](_0x3b036f){const _0x4bd638=_0x3febde;return Boolean(_0x4bd638(0x1f2)===_0x4e3db5(_0x3b036f,_0x4bd638(0x1d6)));}[_0x3febde(0x1f5)](_0x45dd06){const _0x597fc7=_0x3febde;return Boolean((_0x4e3db5(_0x45dd06,_0x597fc7(0x1d6))||'')[_0x597fc7(0x1df)]>0x0&&_0x597fc7(0x1f2)!==_0x4e3db5(_0x45dd06,_0x597fc7(0x1d6)));}[_0x3febde(0x1e9)](_0xb346af){const _0x316643=_0x3febde;return!!_0xb346af&&Boolean(_0x51155c(_0xb346af)&&_0x43b44b(_0xb346af)[_0x316643(0x1cd)](/removed[\s*-]data-id="[^"]+"/));}[_0x3febde(0x1e7)](_0x46a7e4){const _0x2d84f6=_0x3febde;let _0xf655da=_0x46a7e4[_0x2d84f6(0x1ec)];for(;_0xf655da;){if(_0x4e3db5(_0xf655da,_0x2d84f6(0x1c8)))return!0x0;_0xf655da=_0xf655da[_0x2d84f6(0x1ec)];}return!0x1;}[_0x3febde(0x1ed)](_0x352128){const _0x4b9416=_0x3febde;return Boolean(_0x51155c(_0x352128)&&_0x43b44b(_0x352128)[_0x4b9416(0x1cd)](/\s*existing[\s*-](content|document)\s*/g));}}
|
|
23
|
+
const _0x2a17e0=_0x240a;(function(_0x2cdc2c,_0x25b7c9){const _0x2fe4de=_0x240a,_0xd54ff8=_0x2cdc2c();while(!![]){try{const _0x5cc84e=parseInt(_0x2fe4de(0x17b))/0x1*(parseInt(_0x2fe4de(0x187))/0x2)+-parseInt(_0x2fe4de(0x196))/0x3*(-parseInt(_0x2fe4de(0x19c))/0x4)+-parseInt(_0x2fe4de(0x1ac))/0x5*(parseInt(_0x2fe4de(0x17f))/0x6)+-parseInt(_0x2fe4de(0x194))/0x7*(parseInt(_0x2fe4de(0x1bb))/0x8)+parseInt(_0x2fe4de(0x1be))/0x9+-parseInt(_0x2fe4de(0x1b3))/0xa*(parseInt(_0x2fe4de(0x179))/0xb)+parseInt(_0x2fe4de(0x1a3))/0xc;if(_0x5cc84e===_0x25b7c9)break;else _0xd54ff8['push'](_0xd54ff8['shift']());}catch(_0x565fae){_0xd54ff8['push'](_0xd54ff8['shift']());}}}(_0x3602,0x8cbf1));function _0x3602(){const _0x3a95e4=['_generateUid','_touchedNodesState','invalidIds','_storeDeletedElementIds','5502520pyKDYt','removedIds','markUnstableElementsDepth','newIds','previousSibling','match','lastChild','19420YByhTU','beforebegin','data-wrapped-id','_isExistingContentComment','merge','_findPrevElementWithDataId','map','_markUnstableElements','8549344DHVexC','has','_existingDataIds','3408345cucTYP','_insertNodes','_markLastTagElementUnstable','nextSibling','1991gLxvfu','slice','952807YxCVvP','nodeType','_getNodeDataId','_isNewNode','6WxyDAA','reverse','modifiedIds','childNodes','markUnstableElements','_findReferenceNode','includes','_markWrappedElements','2QEVQPd','cloneNode','splice','cutAfterLastChange','_findNextElementWithDataId','new-element','true','_isExistingNode','trim','forEach','_findFallbackReferenceNode','_replaceNode','lastTouchedId','7mcuQzy','replaceRemovedWith','69VDwxMb','_hasWrappedParent','_getUid','afterend','parentNode','data-removed','12136yYJlYJ','filter','data-unstable','_isDelNode','indexOf','afterbegin','length','20350524WutKRF','data-id','push','_removeSpecialComments','from'];_0x3602=function(){return _0x3a95e4;};return _0x3602();}import{ObservableMixin as _0x518bf3,uid as _0x214f44}from'ckeditor5/src/utils.js';function _0x240a(_0x32fc20,_0x1803f6){const _0x36022d=_0x3602();return _0x240a=function(_0x240a69,_0x54909d){_0x240a69=_0x240a69-0x178;let _0x3a0951=_0x36022d[_0x240a69];return _0x3a0951;},_0x240a(_0x32fc20,_0x1803f6);}import{findAllByAttribute as _0x28f73f,findByAttribute as _0x115259,getAttribute as _0x385c72,isComment as _0x295072,isTag as _0x4fda30,insertElement as _0x3c374e,moveElement as _0x270037,removeElement as _0x27dac7,replaceElement as _0x329523,serialize as _0x13e2ae,setAttribute as _0x38d089,clone as _0x103b62,findAllComments as _0x258c14,getParents as _0x3b63f5,getNodeNestingLevel as _0x1eea67,areNodesSame as _0x3ef93a,removeElementsAfter as _0x256f25}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x518bf3(){[_0x2a17e0(0x1a8)];[_0x2a17e0(0x1a9)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2a17e0(0x1bd)]=new Set();constructor(_0xb2aa59){const _0x5a5ded=_0x2a17e0;super(),this[_0x5a5ded(0x1a8)]=_0xb2aa59||_0x214f44;}[_0x2a17e0(0x1b7)](_0x200d8a,_0x13995a,_0x589529){const _0x538631=_0x2a17e0,_0x5b9aee=_0x103b62(_0x200d8a);if(0x0===_0x13995a[_0x538631(0x182)][_0x538631(0x1a2)]){const _0x3af279=[];return _0x28f73f(_0x538631(0x1a4),_0x538631(0x18c),_0x5b9aee)[_0x538631(0x190)](_0x2c63ad=>{const _0x1ace27=_0x538631,_0x509cfc=this[_0x1ace27(0x1a8)]();_0x38d089(_0x2c63ad,_0x1ace27(0x1a4),_0x509cfc),_0x3af279[_0x1ace27(0x1a5)](_0x509cfc);}),this[_0x538631(0x1a6)](_0x5b9aee),{'parsedContent':_0x5b9aee,'newNodeIds':_0x3af279,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x589529&&_0x589529[_0x538631(0x183)]&&this[_0x538631(0x1c0)](_0x5b9aee),this[_0x538631(0x1a9)][_0x538631(0x1af)]=[],this[_0x538631(0x1a9)][_0x538631(0x181)]=[],this[_0x538631(0x1a9)][_0x538631(0x1ad)]=[],this[_0x538631(0x1a9)][_0x538631(0x1aa)]=[],this[_0x538631(0x1a9)][_0x538631(0x193)]=null,this[_0x538631(0x1bd)]=new Set(_0x28f73f(_0x538631(0x1a4),null,_0x13995a)[_0x538631(0x1b9)](_0x3cf117=>_0x385c72(_0x3cf117,_0x538631(0x1a4)))[_0x538631(0x19d)](_0x558677=>!!_0x558677));let _0x598bca=-0x1,_0x648cd6=!0x1;const _0x5501af=_0x5b9aee[_0x538631(0x182)],_0xec6453=Array[_0x538631(0x1a7)](_0x5501af)[_0x538631(0x19d)](_0x4775d5=>!(0x3===_0x4775d5[_0x538631(0x17c)]&&''===_0x13e2ae(_0x4775d5)[_0x538631(0x18f)]())),_0x5ebf01=_0xec6453[_0x538631(0x1a2)];for(let _0x307fbb=0x0;_0x307fbb<_0x5ebf01;_0x307fbb++){const _0x2f50e4=_0xec6453[_0x307fbb],_0x5e3968=_0xec6453[_0x307fbb+0x1];if(this[_0x538631(0x17e)](_0x2f50e4)){if(-0x1===_0x598bca&&(_0x598bca=_0x307fbb),this[_0x538631(0x186)](_0x2f50e4),!this[_0x538631(0x17e)](_0x5e3968)){const [_0x38e19f,_0x3e2a1e]=this[_0x538631(0x184)](_0x2f50e4,_0x648cd6,_0x13995a);if(_0x38e19f){const _0x546de7=Array[_0x538631(0x1a7)](_0xec6453)[_0x538631(0x17a)](_0x598bca,_0x307fbb+0x1);this[_0x538631(0x1bf)](_0x38e19f,_0x546de7,_0x3e2a1e),_0x598bca=-0x1;}}}else{if(this[_0x538631(0x1b6)](_0x2f50e4))_0x648cd6=!0x0;else{if(this[_0x538631(0x18e)](_0x2f50e4)){const _0xe788c1=_0x385c72(_0x2f50e4,_0x538631(0x1a4));if(_0xe788c1&&this[_0x538631(0x1bd)][_0x538631(0x1bc)](_0xe788c1)){const _0x534f4a=_0x115259(_0x538631(0x1a4),_0xe788c1,_0x13995a);this[_0x538631(0x192)](_0x534f4a,_0x2f50e4);}if(this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x185)](_0xe788c1)){const _0x721efc=this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x1a0)](_0xe788c1);this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x189)](_0x721efc,0x1);}}else{if(this[_0x538631(0x19f)](_0x2f50e4)){const _0x33254a=_0x385c72(_0x2f50e4,_0x538631(0x1a4));this[_0x538631(0x1a9)][_0x538631(0x181)][_0x538631(0x185)](_0x33254a)||this[_0x538631(0x1ab)](_0x2f50e4);}}}}}for(const _0x280276 of this[_0x538631(0x1a9)][_0x538631(0x1ad)]){const _0x10faa0=_0x115259(_0x538631(0x1a4),_0x280276,_0x13995a);if(_0x10faa0){if(_0x589529&&_0x589529[_0x538631(0x195)]){this[_0x538631(0x1a9)][_0x538631(0x193)]=_0x280276;const _0x4f2708=_0x589529[_0x538631(0x195)][_0x538631(0x188)](!0x0);_0x38d089(_0x4f2708,_0x538631(0x1a4),_0x280276),_0x38d089(_0x4f2708,_0x538631(0x19b),_0x538631(0x18d)),_0x329523(_0x10faa0,_0x4f2708);}else _0x27dac7(_0x10faa0);}}if(_0x28f73f(_0x538631(0x1b5),null,_0x13995a)[_0x538631(0x190)](_0x501766=>{const _0x57141b=_0x538631,_0x6843ff=_0x385c72(_0x501766,_0x57141b(0x1b5)),_0x4e9d2f=_0x115259(_0x57141b(0x1a4),_0x6843ff,_0x13995a);_0x4e9d2f&&_0x270037(_0x4e9d2f,_0x501766);}),_0x28f73f(_0x538631(0x1a4),_0x538631(0x18c),_0x13995a)[_0x538631(0x190)](_0x197dad=>{const _0x1d1a48=_0x538631,_0x2f4366=this[_0x1d1a48(0x198)](_0x197dad);_0x38d089(_0x197dad,_0x1d1a48(0x1a4),_0x2f4366),this[_0x1d1a48(0x1a9)][_0x1d1a48(0x1af)][_0x1d1a48(0x1a5)](_0x2f4366);}),this[_0x538631(0x1a6)](_0x13995a),_0x589529&&_0x589529[_0x538631(0x183)]&&this[_0x538631(0x1ba)](_0x13995a,_0x589529[_0x538631(0x1ae)]||0x0),_0x589529&&_0x589529[_0x538631(0x18a)]&&this[_0x538631(0x1a9)][_0x538631(0x193)]){let _0x1de819=_0x115259(_0x538631(0x1a4),this[_0x538631(0x1a9)][_0x538631(0x193)],_0x13995a);for(;_0x1de819;)_0x256f25(_0x1de819),_0x1de819=_0x1de819[_0x538631(0x19a)];}return{'parsedContent':_0x13995a,'newNodeIds':this[_0x538631(0x1a9)][_0x538631(0x1af)],'modifiedNodeIds':this[_0x538631(0x1a9)][_0x538631(0x181)],'removedNodeIds':this[_0x538631(0x1a9)][_0x538631(0x1ad)]};}[_0x2a17e0(0x1bf)](_0x23191d,_0x227251,_0x1555b5){const _0xb4bee4=_0x2a17e0;for(const _0x4d8577 of _0x227251){const _0x187702=this[_0xb4bee4(0x198)](_0x4d8577);_0x38d089(_0x4d8577,_0xb4bee4(0x1a4),_0x187702),this[_0xb4bee4(0x1a9)][_0xb4bee4(0x1af)][_0xb4bee4(0x1a5)](_0x187702),this[_0xb4bee4(0x1a9)][_0xb4bee4(0x193)]=_0x187702;}const _0x4deeba=_0xb4bee4(0x1a1)===_0x1555b5||_0xb4bee4(0x199)===_0x1555b5?_0x227251[_0xb4bee4(0x180)]():_0x227251;for(const _0x376652 of _0x4deeba)_0x3c374e(_0x23191d,_0x376652,_0x1555b5);}[_0x2a17e0(0x192)](_0x5db8ca,_0x175354){const _0x33cc27=_0x2a17e0;if(!_0x5db8ca)return;if(_0x3ef93a(_0x5db8ca,_0x175354))return;const _0x2426b2=this[_0x33cc27(0x198)](_0x5db8ca);_0x38d089(_0x175354,_0x33cc27(0x1a4),_0x2426b2),this[_0x33cc27(0x1a9)][_0x33cc27(0x181)][_0x33cc27(0x1a5)](_0x2426b2),this[_0x33cc27(0x1a9)][_0x33cc27(0x193)]=_0x2426b2,_0x329523(_0x5db8ca,_0x175354[_0x33cc27(0x188)](!0x0));}[_0x2a17e0(0x184)](_0x4271a5,_0x4f4cef,_0xc9e842){const _0x52a4ca=_0x2a17e0,_0x436603=this[_0x52a4ca(0x1b8)](_0x4271a5,!0x1);if(_0x436603){const _0x395fbf=this[_0x52a4ca(0x17d)](_0x436603),_0x56361f=_0x115259(_0x52a4ca(0x1a4),_0x395fbf,_0xc9e842);if(_0x56361f)return[_0x56361f,_0x52a4ca(0x199)];this[_0x52a4ca(0x1a9)][_0x52a4ca(0x1aa)][_0x52a4ca(0x1a5)](_0x395fbf);}const _0x48332a=this[_0x52a4ca(0x18b)](_0x4271a5,!0x1);if(_0x48332a){const _0x3a958e=this[_0x52a4ca(0x17d)](_0x48332a),_0x6c672c=_0x115259(_0x52a4ca(0x1a4),_0x3a958e,_0xc9e842);if(_0x6c672c)return[_0x6c672c,_0x52a4ca(0x1b4)];this[_0x52a4ca(0x1a9)][_0x52a4ca(0x1aa)][_0x52a4ca(0x1a5)](_0x3a958e);}return _0x4f4cef?_0x4271a5[_0x52a4ca(0x178)]?this[_0x52a4ca(0x191)](_0x4271a5,_0xc9e842):[_0xc9e842[_0x52a4ca(0x182)][_0xc9e842[_0x52a4ca(0x182)][_0x52a4ca(0x1a2)]-0x1],_0x52a4ca(0x199)]:[_0xc9e842[_0x52a4ca(0x182)][0x0],_0x52a4ca(0x1b4)];}[_0x2a17e0(0x191)](_0x58a6e7,_0x44db15){const _0x506d81=_0x2a17e0,_0x25a3c3=[],_0x51f5c0=this[_0x506d81(0x1b8)](_0x58a6e7,!0x0);if(_0x51f5c0){const _0xd6419f=this[_0x506d81(0x17d)](_0x51f5c0),_0x105272=_0x115259(_0x506d81(0x1a4),_0xd6419f,_0x44db15);_0x105272&&_0x25a3c3[_0x506d81(0x1a5)]([_0x105272,_0x506d81(0x199)]);}const _0x4b6676=this[_0x506d81(0x18b)](_0x58a6e7,!0x0);if(_0x4b6676){const _0x4a5a87=this[_0x506d81(0x17d)](_0x4b6676),_0x5121a2=_0x115259(_0x506d81(0x1a4),_0x4a5a87,_0x44db15);_0x5121a2&&_0x25a3c3[_0x506d81(0x1a5)]([_0x5121a2,_0x506d81(0x1b4)]);}if(_0x25a3c3[_0x506d81(0x1a2)]>0x1)return _0x1eea67(_0x25a3c3[0x0][0x0])<=_0x1eea67(_0x25a3c3[0x1][0x0])?_0x25a3c3[0x0]:_0x25a3c3[0x1];return 0x1===_0x25a3c3[_0x506d81(0x1a2)]?_0x25a3c3[0x0]:[_0x44db15[_0x506d81(0x1b2)],_0x506d81(0x199)];}[_0x2a17e0(0x18b)](_0x5dbf0c,_0x481f71){const _0x3a012b=_0x2a17e0;let _0x4e5ceb=_0x5dbf0c[_0x3a012b(0x178)],_0xae0b9b=null,_0x3e6caf=!0x1;for(;_0x4e5ceb;){if(_0x295072(_0x4e5ceb)){if(this[_0x3a012b(0x19f)](_0x4e5ceb)&&(_0xae0b9b=_0x4e5ceb),this[_0x3a012b(0x1b6)](_0x4e5ceb)&&_0x481f71&&!_0x3e6caf){_0x3e6caf=!0x0,_0x4e5ceb=_0x4e5ceb[_0x3a012b(0x178)];continue;}break;}const _0x50d8a2=_0x385c72(_0x4e5ceb,_0x3a012b(0x1a4));if(_0x50d8a2&&_0x3a012b(0x18c)!==_0x50d8a2&&this[_0x3a012b(0x1bd)][_0x3a012b(0x1bc)](_0x50d8a2)){_0xae0b9b=_0x4e5ceb;break;}_0x4e5ceb=_0x4e5ceb[_0x3a012b(0x178)];}return _0xae0b9b;}[_0x2a17e0(0x1b8)](_0xebea51,_0x10dba8){const _0x520102=_0x2a17e0;let _0x269747=_0xebea51[_0x520102(0x1b0)],_0x2ef95d=null,_0x1bcf6b=!0x1;for(;_0x269747;){if(_0x295072(_0x269747)){if(this[_0x520102(0x19f)](_0x269747)&&(_0x2ef95d=_0x269747),this[_0x520102(0x1b6)](_0x269747)&&_0x10dba8&&!_0x1bcf6b){_0x1bcf6b=!0x0,_0x269747=_0x269747[_0x520102(0x1b0)];continue;}break;}const _0x465982=_0x385c72(_0x269747,_0x520102(0x1a4));if(_0x465982&&_0x520102(0x18c)!==_0x465982&&this[_0x520102(0x1bd)][_0x520102(0x1bc)](_0x465982)){_0x2ef95d=_0x269747;break;}_0x269747=_0x269747[_0x520102(0x1b0)];}return _0x2ef95d;}[_0x2a17e0(0x186)](_0x11ab4a){const _0x5df342=_0x2a17e0;_0x4fda30(_0x11ab4a)&&_0x28f73f(_0x5df342(0x1a4),null,_0x11ab4a)[_0x5df342(0x190)](_0x4d989f=>{const _0x18042f=_0x5df342;if(this[_0x18042f(0x18e)](_0x4d989f)&&!this[_0x18042f(0x197)](_0x4d989f)){const _0x47b0ad=_0x385c72(_0x4d989f,_0x18042f(0x1a4));_0x38d089(_0x4d989f,_0x18042f(0x1b5),_0x47b0ad),_0x38d089(_0x4d989f,_0x18042f(0x1a4),null);}});}[_0x2a17e0(0x17d)](_0x16c366){const _0x572e82=_0x2a17e0;if(!_0x16c366)return null;if(_0x4fda30(_0x16c366))return _0x385c72(_0x16c366,_0x572e82(0x1a4));if(_0x295072(_0x16c366)){const _0x1cbc93=_0x13e2ae(_0x16c366)[_0x572e82(0x1b1)](/removed[\s*-]data-id="([^"]+)"/);if(_0x1cbc93&&_0x1cbc93[0x1])return _0x1cbc93[0x1];}return null;}[_0x2a17e0(0x1ab)](_0x15add7){const _0x22dd8f=_0x2a17e0;if(_0x295072(_0x15add7)){const _0x16568c=_0x13e2ae(_0x15add7)[_0x22dd8f(0x1b1)](/removed[\s*-]data-id="([^"]+)"/);_0x16568c&&_0x16568c[0x1]&&this[_0x22dd8f(0x1a9)][_0x22dd8f(0x1ad)][_0x22dd8f(0x1a5)](_0x16568c[0x1]);}}[_0x2a17e0(0x198)](_0x576900){const _0x513ed0=_0x2a17e0;return this[_0x513ed0(0x18e)](_0x576900)?_0x385c72(_0x576900,_0x513ed0(0x1a4)):this[_0x513ed0(0x1a8)]();}[_0x2a17e0(0x1a6)](_0x466c05){const _0x3e1806=_0x2a17e0;_0x258c14(_0x466c05)[_0x3e1806(0x19d)](_0x169503=>this[_0x3e1806(0x19f)](_0x169503)||this[_0x3e1806(0x1b6)](_0x169503))[_0x3e1806(0x190)](_0xf7e188=>{_0x27dac7(_0xf7e188);});}[_0x2a17e0(0x1c0)](_0x6bec86){const _0x19d84d=_0x2a17e0,_0x103ce5=_0x6bec86[_0x19d84d(0x182)],_0x11aa99=_0x103ce5[_0x103ce5[_0x19d84d(0x1a2)]-0x1];_0x11aa99&&_0x4fda30(_0x11aa99)&&_0x38d089(_0x11aa99,_0x19d84d(0x19e),_0x19d84d(0x18d));}[_0x2a17e0(0x1ba)](_0x1541cd,_0x517bc8){const _0x290b99=_0x2a17e0,_0x7d8c06=_0x115259(_0x290b99(0x19e),_0x290b99(0x18d),_0x1541cd);if(!_0x7d8c06)return;const _0x1be77c=_0x3b63f5(_0x7d8c06)[_0x290b99(0x17a)](0x0,-0x1),_0x43a795=_0x1be77c[_0x290b99(0x1a2)];let _0x220964=_0x7d8c06;if(_0x43a795>_0x517bc8){let _0x2119a0=_0x43a795,_0x4eafa7=null;for(;_0x2119a0>_0x517bc8&&_0x2119a0>=0x0;)_0x2119a0--,_0x4eafa7=_0x1be77c[_0x2119a0];_0x4eafa7&&(_0x220964=_0x4eafa7,_0x38d089(_0x7d8c06,_0x290b99(0x19e),null),_0x38d089(_0x4eafa7,_0x290b99(0x19e),_0x290b99(0x18d)));}else{if(_0x43a795<_0x517bc8){let _0x24db8e=_0x43a795,_0x545f6f=_0x7d8c06;for(;_0x24db8e<_0x517bc8;){const _0x8227c9=_0x545f6f[_0x290b99(0x182)][_0x290b99(0x19d)](_0x26c610=>_0x4fda30(_0x26c610));if(0x0===_0x8227c9[_0x290b99(0x1a2)])break;_0x24db8e++,_0x545f6f=_0x8227c9[_0x8227c9[_0x290b99(0x1a2)]-0x1];}_0x545f6f&&(_0x220964=_0x545f6f,_0x38d089(_0x7d8c06,_0x290b99(0x19e),null),_0x38d089(_0x545f6f,_0x290b99(0x19e),_0x290b99(0x18d)));}}let _0x5654f7=_0x220964;for(;_0x5654f7;){for(;_0x5654f7[_0x290b99(0x178)];)_0x5654f7=_0x5654f7[_0x290b99(0x178)],_0x4fda30(_0x5654f7)&&_0x38d089(_0x5654f7,_0x290b99(0x19e),_0x290b99(0x18d));_0x5654f7=_0x5654f7[_0x290b99(0x19a)];}}[_0x2a17e0(0x17e)](_0x1d59b4){const _0x582e5c=_0x2a17e0;return Boolean(_0x582e5c(0x18c)===_0x385c72(_0x1d59b4,_0x582e5c(0x1a4)));}[_0x2a17e0(0x18e)](_0x118445){const _0x139d1e=_0x2a17e0;return Boolean((_0x385c72(_0x118445,_0x139d1e(0x1a4))||'')[_0x139d1e(0x1a2)]>0x0&&_0x139d1e(0x18c)!==_0x385c72(_0x118445,_0x139d1e(0x1a4)));}[_0x2a17e0(0x19f)](_0x2e4621){const _0x259e2d=_0x2a17e0;return!!_0x2e4621&&Boolean(_0x295072(_0x2e4621)&&_0x13e2ae(_0x2e4621)[_0x259e2d(0x1b1)](/removed[\s*-]data-id="[^"]+"/));}[_0x2a17e0(0x197)](_0x1faaee){const _0x2385af=_0x2a17e0;let _0x10dc9d=_0x1faaee[_0x2385af(0x19a)];for(;_0x10dc9d;){if(_0x385c72(_0x10dc9d,_0x2385af(0x1b5)))return!0x0;_0x10dc9d=_0x10dc9d[_0x2385af(0x19a)];}return!0x1;}[_0x2a17e0(0x1b6)](_0x90bbcf){const _0x31ad66=_0x2a17e0;return Boolean(_0x295072(_0x90bbcf)&&_0x13e2ae(_0x90bbcf)[_0x31ad66(0x1b1)](/\s*existing[\s*-](content|document)\s*/g));}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
const _0x338f80=_0x58d7;(function(_0x3f5295,_0x2d2f8a){const _0x18ec50=_0x58d7,_0x4fd339=_0x3f5295();while(!![]){try{const _0x1b8203=-parseInt(_0x18ec50(0xd1))/0x1*(-parseInt(_0x18ec50(0xd8))/0x2)+-parseInt(_0x18ec50(0xd3))/0x3+parseInt(_0x18ec50(0xdd))/0x4+-parseInt(_0x18ec50(0xdb))/0x5*(-parseInt(_0x18ec50(0xe0))/0x6)+parseInt(_0x18ec50(0xd0))/0x7*(parseInt(_0x18ec50(0xd4))/0x8)+-parseInt(_0x18ec50(0xd2))/0x9+-parseInt(_0x18ec50(0xd6))/0xa*(parseInt(_0x18ec50(0xd9))/0xb);if(_0x1b8203===_0x2d2f8a)break;else _0x4fd339['push'](_0x4fd339['shift']());}catch(_0x2d86be){_0x4fd339['push'](_0x4fd339['shift']());}}}(_0x3c8c,0xde0d9));import{ObservableMixin as _0x329772}from'ckeditor5/src/utils.js';function _0x3c8c(){const _0x2cec2a=['11PSnian','<dummy>','25sPMuYh','parse','4643980rPdBvz','</dummy>','_parseHTML','1273692rjDTWV','replace','children','parseAndNormalizeHTML','238hvbjkU','292993qOYRjr','7544196OLJqmp','2748924ELJMGS','297456asyGyQ','convertMarkdownToHTML','17014910KxBUhR','_m2html','6owYyZK'];_0x3c8c=function(){return _0x2cec2a;};return _0x3c8c();}import{MarkdownGfmMdToHtml as _0x2cd376}from'@ckeditor/ckeditor5-markdown-gfm';function _0x58d7(_0x31fad6,_0x1cac5e){const _0x3c8c1d=_0x3c8c();return _0x58d7=function(_0x58d7da,_0x5c0b35){_0x58d7da=_0x58d7da-0xd0;let _0x4dbc53=_0x3c8c1d[_0x58d7da];return _0x4dbc53;},_0x58d7(_0x31fad6,_0x1cac5e);}import{parse as _0x33dd4e}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x329772(){[_0x338f80(0xd7)];constructor(){const _0x3ec0d1=_0x338f80;super(),this[_0x3ec0d1(0xd7)]=new _0x2cd376();}[_0x338f80(0xd5)](_0x2f3214){const _0x434034=_0x338f80,_0x2d205d=this[_0x434034(0xd7)][_0x434034(0xdc)](_0x2f3214);return this[_0x434034(0xe3)](_0x2d205d);}[_0x338f80(0xe3)](_0xe25333){const _0x795905=_0x338f80;return this[_0x795905(0xdf)](_0xe25333);}[_0x338f80(0xdf)](_0x17aef7){const _0x2e7afb=_0x338f80,_0xd47c2e=_0x17aef7[_0x2e7afb(0xe1)](/^\t+/gm,'\x20')[_0x2e7afb(0xe1)](/\n*/g,'')[_0x2e7afb(0xe1)](/\s+/g,'\x20')[_0x2e7afb(0xe1)](/<[^>]*?$/g,''),_0x1f909a=_0x33dd4e(_0x2e7afb(0xda)+_0xd47c2e+_0x2e7afb(0xde));return _0x1f909a[_0x2e7afb(0xe2)]=_0x1f909a[_0x2e7afb(0xe2)][0x0][_0x2e7afb(0xe2)],_0x1f909a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x30440e,_0x5bfb4f){var _0x4b08e7=_0x4e42,_0xc6420b=_0x30440e();while(!![]){try{var _0x334531=-parseInt(_0x4b08e7(0x1d8))/0x1*(-parseInt(_0x4b08e7(0x1da))/0x2)+-parseInt(_0x4b08e7(0x1d3))/0x3*(parseInt(_0x4b08e7(0x1d7))/0x4)+parseInt(_0x4b08e7(0x1db))/0x5*(-parseInt(_0x4b08e7(0x1d5))/0x6)+parseInt(_0x4b08e7(0x1d1))/0x7*(-parseInt(_0x4b08e7(0x1de))/0x8)+-parseInt(_0x4b08e7(0x1d2))/0x9+parseInt(_0x4b08e7(0x1cf))/0xa*(-parseInt(_0x4b08e7(0x1d6))/0xb)+parseInt(_0x4b08e7(0x1d4))/0xc;if(_0x334531===_0x5bfb4f)break;else _0xc6420b['push'](_0xc6420b['shift']());}catch(_0x193196){_0xc6420b['push'](_0xc6420b['shift']());}}}(_0x3ef9,0xec7ca));function _0x4e42(_0x44db80,_0xdf9dfc){var _0x3ef9b5=_0x3ef9();return _0x4e42=function(_0x4e42a5,_0x419c7b){_0x4e42a5=_0x4e42a5-0x1ce;var _0x8b0e7f=_0x3ef9b5[_0x4e42a5];return _0x8b0e7f;},_0x4e42(_0x44db80,_0xdf9dfc);}function _0x3ef9(){var _0x2c00ce=['15217368TVaHjB','ck-ai-disclaimer','20GFIHex','setTemplate','7RjCPmT','12048687xZtXBL','963636afWoFl','82767732muVXgd','6HLFpiM','8852151hPgJsO','20DCcLgv','154272GvdzTB','AI_DISCLAIMER_TEXT','12fJwSTD','1989185ISmYhy','div','ck-ai-disclaimer__content'];_0x3ef9=function(){return _0x2c00ce;};return _0x3ef9();}import{View as _0x6f7fcf}from'ckeditor5/src/ui.js';import{getTranslation as _0x57eceb}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x6f7fcf{constructor(_0x11f581){var _0x3fa31c=_0x4e42;super(_0x11f581),this[_0x3fa31c(0x1d0)]({'tag':_0x3fa31c(0x1dc),'attributes':{'class':['ck',_0x3fa31c(0x1ce)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3fa31c(0x1dd)]},'children':[{'text':_0x57eceb(_0x11f581,_0x3fa31c(0x1d9))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x220905=_0x5a60;(function(_0x46967a,_0x592f8e){const _0x19f1eb=_0x5a60,_0x4f788a=_0x46967a();while(!![]){try{const _0x11e74d=parseInt(_0x19f1eb(0x88))/0x1*(parseInt(_0x19f1eb(0xa8))/0x2)+parseInt(_0x19f1eb(0x87))/0x3+parseInt(_0x19f1eb(0xad))/0x4+parseInt(_0x19f1eb(0x8f))/0x5+-parseInt(_0x19f1eb(0x9a))/0x6*(parseInt(_0x19f1eb(0x98))/0x7)+-parseInt(_0x19f1eb(0x89))/0x8+parseInt(_0x19f1eb(0x86))/0x9*(parseInt(_0x19f1eb(0x92))/0xa);if(_0x11e74d===_0x592f8e)break;else _0x4f788a['push'](_0x4f788a['shift']());}catch(_0x135a93){_0x4f788a['push'](_0x4f788a['shift']());}}}(_0x26c5,0xce63a));function _0x26c5(){const _0x3298d3=['height','24px','128px',';\x20height:\x20','77042IfnDhy','140px','834OJWylx','left','ck-ai-skeleton__item','class','ck-ai-skeleton','44px','72px','250px','center','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','40px','align','150px','map','2185198wTOgtN','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','tag','div','_createSkeletonItems','5012800YxiPdV','width','9mCVfgr','417477beGhgh','1vCJXsv','12443080TzWLCR','fill','100%','right','width:\x20','setTemplate','5450230fgRZTa','attributes','88px','3555850PICTLV','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;'];_0x26c5=function(){return _0x3298d3;};return _0x26c5();}import{View as _0x53b711}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x53b711{constructor(_0x3ed856,_0x24d724){const _0x5dfad0=_0x5a60;super(_0x3ed856),this[_0x5dfad0(0x8e)]({'tag':_0x5dfad0(0xab),'attributes':{'class':['ck',_0x5dfad0(0x9e)]},'children':this[_0x5dfad0(0xac)](_0x24d724)});}[_0x220905(0xac)](_0x47bf61){const _0x3999ac=_0x220905,_0x465820=['ck',_0x3999ac(0x9c)];return _0x47bf61[_0x3999ac(0xa7)](_0xee0e78=>{const _0x42c18f=_0x3999ac;let _0xce6b2e='';switch(_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0xa5)]){case _0x42c18f(0x8c):_0xce6b2e=_0x42c18f(0x93);break;case _0x42c18f(0xa2):_0xce6b2e=_0x42c18f(0xa9);break;case _0x42c18f(0x9b):_0xce6b2e=_0x42c18f(0xa3);}return{'tag':_0xee0e78[_0x42c18f(0xaa)],'attributes':{'class':[..._0x465820,_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x9d)]?_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x9d)]:''],'style':_0x42c18f(0x8d)+_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0xae)]+_0x42c18f(0x97)+_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x94)]+';'+_0xce6b2e}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0xa0),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa1),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x91),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa6),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x99),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa1),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x91),'align':_0x220905(0x8c)}}],'aiHistory':$i(0x5,_0x220905(0x8b),_0x220905(0x9f),_0x220905(0x8c)),'aiChatResources':$i(0x8,_0x220905(0x8b),_0x220905(0x95),_0x220905(0x8c)),'aiReviewChecks':[{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x96),'height':_0x220905(0x95),'align':_0x220905(0x9b)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x95),'align':_0x220905(0x9b)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x96),'height':_0x220905(0x95),'align':_0x220905(0x9b)}}]};function _0x5a60(_0xe2fe7b,_0x26068c){const _0x26c503=_0x26c5();return _0x5a60=function(_0x5a60ee,_0x1a95ed){_0x5a60ee=_0x5a60ee-0x86;let _0x145801=_0x26c503[_0x5a60ee];return _0x145801;},_0x5a60(_0xe2fe7b,_0x26068c);}function $i(_0x3b5abc,_0x4f557b,_0x319f57,_0xa539f){const _0x9eec7=_0x220905;return new Array(_0x3b5abc)[_0x9eec7(0x8a)](null)[_0x9eec7(0xa7)](()=>({'tag':_0x9eec7(0xab),'attributes':{'width':_0x4f557b,'height':_0x319f57,'align':_0xa539f}}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x19f251,_0x460ef9){const _0x39a106=_0x2b96,_0x4cc14f=_0x19f251();while(!![]){try{const _0x472323=parseInt(_0x39a106(0x15c))/0x1*(parseInt(_0x39a106(0x154))/0x2)+parseInt(_0x39a106(0x157))/0x3+-parseInt(_0x39a106(0x151))/0x4*(parseInt(_0x39a106(0x158))/0x5)+parseInt(_0x39a106(0x150))/0x6*(-parseInt(_0x39a106(0x153))/0x7)+parseInt(_0x39a106(0x156))/0x8+-parseInt(_0x39a106(0x15a))/0x9+parseInt(_0x39a106(0x15b))/0xa*(parseInt(_0x39a106(0x15e))/0xb);if(_0x472323===_0x460ef9)break;else _0x4cc14f['push'](_0x4cc14f['shift']());}catch(_0x4db861){_0x4cc14f['push'](_0x4cc14f['shift']());}}}(_0x2613,0x70fa6));import{SpinnerView as _0x42e559}from'ckeditor5/src/ui.js';function _0x2613(){const _0x52e482=['171930DzvoiW','40734ujgMFD','2260820YGxoEi','extendTemplate','567GEnIRa','3306IMQXtm','ck-ai-spinner_','976392BonljY','237012BWghUu','5wTGpvX','span','172080tHBLDC','340VxEUTU','523SiLyoO','ck-ai-spinner'];_0x2613=function(){return _0x52e482;};return _0x2613();}function _0x2b96(_0x2ecbba,_0x323713){const _0x2613db=_0x2613();return _0x2b96=function(_0x2b9685,_0x4a4db3){_0x2b9685=_0x2b9685-0x150;let _0xa2b3e8=_0x2613db[_0x2b9685];return _0xa2b3e8;},_0x2b96(_0x2ecbba,_0x323713);}export class AISpinnerView extends _0x42e559{constructor(_0x2079b3=void 0x0){const _0x3e5d19=_0x2b96;super();const _0x252ad8=_0x2079b3?_0x3e5d19(0x155)+_0x2079b3:'';this[_0x3e5d19(0x152)]({'tag':_0x3e5d19(0x159),'attributes':{'class':[_0x3e5d19(0x15d),_0x252ad8]}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x518d09=_0x12ee;function _0x40da(){const _0x1571b2=['328vjYTdh','isOn','3174241mNEDnT','AI_SUGGESTION_BUTTON_SHOW_CHANGES','AI_MINI_TOOLBAR_LIKE','isEnabled','showCopy','isLoading','32474DjmAKY','set','_setupRatingButtons','9oHDlOX','ck-ai-mini-toolbar-copy-button__check-mark','dislikeButton','bind','1qMYjXL','11763NlkGti','558884NMBHXY','children','extendTemplate','showLike','911202dEYLAb','addMany','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','ck-ai-mini-toolbar-copy-button','_setupCopyButton','showChanges','fire','ck-ai-mini-toolbar','add','likeButton','ck-ai-mini-toolbar\x20ck-hidden','_setupShowChangesButton','class','20efpJCX','10Ksonrl','length','showChangesButton','1159042rcZyUs','execute','customView','1832941quSNCe','locale','showDislike','dislike','copyButton','items','toggleShowChanges','_config','full','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_COPY','4380baXiwC'];_0x40da=function(){return _0x1571b2;};return _0x40da();}(function(_0x5ce623,_0x4a8d0e){const _0xe04e85=_0x12ee,_0x32928c=_0x5ce623();while(!![]){try{const _0xd0c4c8=-parseInt(_0xe04e85(0x99))/0x1*(-parseInt(_0xe04e85(0xb1))/0x2)+-parseInt(_0xe04e85(0x95))/0x3*(-parseInt(_0xe04e85(0x9b))/0x4)+parseInt(_0xe04e85(0xad))/0x5*(parseInt(_0xe04e85(0x9f))/0x6)+-parseInt(_0xe04e85(0x8c))/0x7+-parseInt(_0xe04e85(0x8a))/0x8*(parseInt(_0xe04e85(0x9a))/0x9)+-parseInt(_0xe04e85(0xae))/0xa*(-parseInt(_0xe04e85(0xb4))/0xb)+-parseInt(_0xe04e85(0x89))/0xc*(parseInt(_0xe04e85(0x92))/0xd);if(_0xd0c4c8===_0x4a8d0e)break;else _0x32928c['push'](_0x32928c['shift']());}catch(_0x783533){_0x32928c['push'](_0x32928c['shift']());}}}(_0x40da,0x566ab));function _0x12ee(_0x5c895e,_0x45e6a3){const _0x40da73=_0x40da();return _0x12ee=function(_0x12ee76,_0x1607f){_0x12ee76=_0x12ee76-0x84;let _0x4048c2=_0x40da73[_0x12ee76];return _0x4048c2;},_0x12ee(_0x5c895e,_0x45e6a3);}import{ButtonView as _0x169bdb,IconView as _0x34443c,ToolbarView as _0x39ba3c}from'ckeditor5/src/ui.js';import{IconCheck as _0x1446d4,IconCopy as _0x306383,IconShowChangesOff as _0x2cc585,IconShowChangesOn as _0x5ed5dd,IconThumbDown as _0x46c12b,IconThumbUp as _0x86fd04}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21ed1a}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x39ba3c{[_0x518d09(0xb8)];[_0x518d09(0xa9)];[_0x518d09(0x97)];[_0x518d09(0xb0)];[_0x518d09(0x85)];constructor(_0x282805,_0x290163={},_0x43e8ab){const _0x4dc996=_0x518d09;super(_0x282805),this[_0x4dc996(0x93)](_0x4dc996(0x91),!0x1),this[_0x4dc996(0x85)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x290163};const _0x28df50=!(this[_0x4dc996(0x85)][_0x4dc996(0x90)]||this[_0x4dc996(0x85)][_0x4dc996(0xa5)]||this[_0x4dc996(0x85)][_0x4dc996(0x9e)]||this[_0x4dc996(0x85)][_0x4dc996(0xb6)]||this[_0x4dc996(0x85)][_0x4dc996(0xb3)]?.[_0x4dc996(0xaf)]);this[_0x4dc996(0xac)]=_0x28df50?_0x4dc996(0xaa):_0x4dc996(0xa7),this[_0x4dc996(0x85)][_0x4dc996(0x90)]&&(this[_0x4dc996(0xa4)](),this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xb8)])),this[_0x4dc996(0x85)][_0x4dc996(0xa5)]&&(this[_0x4dc996(0xab)](_0x43e8ab),this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xb0)])),this[_0x4dc996(0x94)](),this[_0x4dc996(0x85)][_0x4dc996(0x9e)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xa9)]),this[_0x4dc996(0x85)][_0x4dc996(0xb6)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0x97)]),this[_0x4dc996(0x85)][_0x4dc996(0xb3)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa0)](this[_0x4dc996(0x85)][_0x4dc996(0xb3)]);}[_0x518d09(0x94)](){const _0x4096da=_0x518d09;this[_0x4096da(0xa9)]=new _0x169bdb(this[_0x4096da(0xb5)]),this[_0x4096da(0xa9)][_0x4096da(0x93)]({'icon':_0x86fd04,'label':_0x21ed1a(this[_0x4096da(0xb5)],_0x4096da(0x8e)),'tooltip':!0x0}),this[_0x4096da(0xa9)][_0x4096da(0x98)](_0x4096da(0x8f))['to'](this,_0x4096da(0x91),_0x216568=>!_0x216568),this[_0x4096da(0xa9)]['on'](_0x4096da(0xb2),()=>{const _0x477376=_0x4096da;this[_0x477376(0xa6)](_0x477376(0xa2));}),this[_0x4096da(0x97)]=new _0x169bdb(this[_0x4096da(0xb5)]),this[_0x4096da(0x97)][_0x4096da(0x93)]({'icon':_0x46c12b,'label':_0x21ed1a(this[_0x4096da(0xb5)],_0x4096da(0x87)),'tooltip':!0x0}),this[_0x4096da(0x97)][_0x4096da(0x98)](_0x4096da(0x8f))['to'](this,_0x4096da(0x91),_0x30715d=>!_0x30715d),this[_0x4096da(0x97)]['on'](_0x4096da(0xb2),()=>{const _0x3eeaa7=_0x4096da;this[_0x3eeaa7(0xa6)](_0x3eeaa7(0xb7));});}[_0x518d09(0xa4)](){const _0x55f77c=_0x518d09;this[_0x55f77c(0xb8)]=new _0x169bdb(this[_0x55f77c(0xb5)]),this[_0x55f77c(0xb8)][_0x55f77c(0x93)]({'icon':_0x306383,'label':_0x21ed1a(this[_0x55f77c(0xb5)],_0x55f77c(0x88)),'class':_0x55f77c(0xa3),'tooltip':!0x0}),this[_0x55f77c(0xb8)][_0x55f77c(0x98)](_0x55f77c(0x8f))['to'](this,_0x55f77c(0x91),_0x2493f8=>!_0x2493f8);const _0x1369be=new _0x34443c();_0x1369be[_0x55f77c(0x93)]({'content':_0x1446d4}),_0x1369be[_0x55f77c(0x9d)]({'attributes':{'class':[_0x55f77c(0x96)]}}),this[_0x55f77c(0xb8)]['on'](_0x55f77c(0xb2),()=>{const _0x32e276=_0x55f77c;this[_0x32e276(0xb8)][_0x32e276(0xac)]=_0x32e276(0xa1),setTimeout(()=>{const _0x3d8e8a=_0x32e276;this[_0x3d8e8a(0xb8)][_0x3d8e8a(0xac)]=_0x3d8e8a(0xa3);},0x7d0);}),this[_0x55f77c(0xb8)][_0x55f77c(0x9c)][_0x55f77c(0xa8)](_0x1369be);}[_0x518d09(0xab)](_0x2b4059){const _0x12a01c=_0x518d09;this[_0x12a01c(0xb0)]=new _0x169bdb(this[_0x12a01c(0xb5)]),this[_0x12a01c(0xb0)][_0x12a01c(0x93)]({'icon':_0x2cc585,'label':_0x21ed1a(this[_0x12a01c(0xb5)],_0x12a01c(0x8d)),'withText':_0x12a01c(0x86)==this[_0x12a01c(0x85)][_0x12a01c(0xa5)],'tooltip':_0x12a01c(0x86)!=this[_0x12a01c(0x85)][_0x12a01c(0xa5)],'isOn':_0x2b4059}),this[_0x12a01c(0xb0)][_0x12a01c(0x98)](_0x12a01c(0x8f))['to'](this,_0x12a01c(0x91),_0x106d19=>!_0x106d19),this[_0x12a01c(0xb0)]['on'](_0x12a01c(0xb2),()=>{const _0x4fd3c8=_0x12a01c,_0xfde37c=!this[_0x4fd3c8(0xb0)][_0x4fd3c8(0x8b)];this[_0x4fd3c8(0xb0)][_0x4fd3c8(0x93)]({'isOn':_0xfde37c,'icon':_0xfde37c?_0x5ed5dd:_0x2cc585}),this[_0x4fd3c8(0xa6)](_0x4fd3c8(0x84),_0xfde37c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x59db(_0x278588,_0x3a8f3d){const _0x1d7bda=_0x1d7b();return _0x59db=function(_0x59db97,_0x17604e){_0x59db97=_0x59db97-0xa3;let _0x3fe9eb=_0x1d7bda[_0x59db97];return _0x3fe9eb;},_0x59db(_0x278588,_0x3a8f3d);}const _0x4d8cd4=_0x59db;(function(_0xdcd482,_0x52f838){const _0x17161b=_0x59db,_0x36cb29=_0xdcd482();while(!![]){try{const _0x4694f5=parseInt(_0x17161b(0xd3))/0x1*(parseInt(_0x17161b(0xa7))/0x2)+parseInt(_0x17161b(0xb9))/0x3*(parseInt(_0x17161b(0xac))/0x4)+parseInt(_0x17161b(0xcb))/0x5+parseInt(_0x17161b(0xb1))/0x6*(parseInt(_0x17161b(0xd4))/0x7)+-parseInt(_0x17161b(0xb5))/0x8*(-parseInt(_0x17161b(0xb0))/0x9)+parseInt(_0x17161b(0xcf))/0xa*(-parseInt(_0x17161b(0xd8))/0xb)+-parseInt(_0x17161b(0xb4))/0xc*(parseInt(_0x17161b(0xa6))/0xd);if(_0x4694f5===_0x52f838)break;else _0x36cb29['push'](_0x36cb29['shift']());}catch(_0x57e16e){_0x36cb29['push'](_0x36cb29['shift']());}}}(_0x1d7b,0x81933));import{View as _0x182497}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x165bc6}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5de37b}from'../../utils/eventnames.js';import{PromiseQueue as _0xae270b}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x266d0f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x332466}from'../../utils/common-translations.js';function _0x1d7b(){const _0x15a5df=['get','updateContentParts','setContent','25129GjKgNm','593884tAAwCJ','warning','some','hasNonEmptyParts','updateContent','1560844eruZBr','ck-ai-suggestion__body__content-parts','state','div','1296315ZNeJFY','282StZiUO','getPartView','_children','10416hWegiY','40lQJXSz','isVisible','partDefinition','addEventListener','6OJPNxL','add','length','hasChanges','index','find','queueEmptyPromise','ck-ai-suggestion__body','delegate','createCollection','_showUnchangedParts','_updateContentPartsPromiseQueue','pending','_emptyPartsWarningView','setTemplate','enqueue','toggleHeader','AI_SUGGESTION_NO_PARTS_WARNING','4792835YtVnWk','markAsDone','locale','from','621620ZxOIas','set','first','AI_SUGGESTION_EMPTY_PART_WARNING','2nJCaEr','3843HWHlqd','hasPendingParts','empty-parts-warning','partsCount','154UzMAUc','_areActionsDisabled','updatePartState','abort'];_0x1d7b=function(){return _0x15a5df;};return _0x1d7b();}export class AISuggestionBodyView extends _0x182497{[_0x4d8cd4(0xb3)];[_0x4d8cd4(0xd9)];[_0x4d8cd4(0xc3)];[_0x4d8cd4(0xc4)];[_0x4d8cd4(0xc6)];constructor(_0x352d57,{areActionsDisabled:_0x18b470,showUnchangedParts:_0x417f3e}){const _0x21a582=_0x4d8cd4;super(_0x352d57),this[_0x21a582(0xd9)]=_0x18b470,this[_0x21a582(0xc3)]=_0x417f3e,this[_0x21a582(0xd0)](_0x21a582(0xd5),!0x1),this[_0x21a582(0xb3)]=this[_0x21a582(0xc2)](),this[_0x21a582(0xc4)]=new _0xae270b(),this[_0x21a582(0xc6)]=new _0x266d0f({'id':_0x21a582(0xd6),'initialContent':_0x332466(_0x352d57,_0x21a582(0xd2)),'level':_0x21a582(0xa8)}),this[_0x21a582(0xc6)][_0x21a582(0xb6)]=!0x1,this[_0x21a582(0xc7)]({'tag':_0x21a582(0xaf),'attributes':{'class':['ck',_0x21a582(0xc0)]},'children':[{'tag':_0x21a582(0xaf),'attributes':{'class':['ck',_0x21a582(0xad)]},'children':this[_0x21a582(0xb3)]},this[_0x21a582(0xc6)]]});}get[_0x4d8cd4(0xd7)](){const _0x23a8d0=_0x4d8cd4;return this[_0x23a8d0(0xb3)][_0x23a8d0(0xbb)];}async[_0x4d8cd4(0xa4)]({parts:_0x2c30dd,renderingStrategy:_0x3ab609,abortSignal:_0x2369df}){const _0x25108e=_0x4d8cd4;for(const _0x5abac6 of _0x2c30dd)this[_0x25108e(0xc4)][_0x25108e(0xc8)](async _0x41baf5=>{const _0x21a983=_0x25108e;let _0x514b2d=this[_0x21a983(0xb3)][_0x21a983(0xbe)](_0x114104=>_0x114104[_0x21a983(0xb7)][_0x21a983(0xbd)]==_0x5abac6[_0x21a983(0xbd)]);_0x514b2d||(_0x514b2d=new _0x165bc6(this[_0x21a983(0xcd)],{'part':_0x5abac6,'areActionsDisabled':this[_0x21a983(0xd9)]}),_0x514b2d[_0x21a983(0xc1)](..._0x5de37b)['to'](this),this[_0x21a983(0xb3)][_0x21a983(0xba)](_0x514b2d),this[_0x21a983(0xd5)]=!0x0),0x2===this[_0x21a983(0xb3)][_0x21a983(0xbb)]&&this[_0x21a983(0xb3)][_0x21a983(0xd1)][_0x21a983(0xc9)](!0x0),_0x514b2d[_0x21a983(0xc9)](this[_0x21a983(0xb3)][_0x21a983(0xbb)]>0x1),await _0x514b2d[_0x21a983(0xab)]({'part':_0x5abac6,'renderingStrategy':_0x3ab609,'showUnchangedParts':this[_0x21a983(0xc3)],'abortSignal':_0x41baf5});});return _0x2369df?.[_0x25108e(0xb8)](_0x25108e(0xdb),()=>{const _0x29baaf=_0x25108e;this[_0x29baaf(0xc4)][_0x29baaf(0xdb)]();}),this[_0x25108e(0xc4)][_0x25108e(0xbf)];}[_0x4d8cd4(0xda)](_0x50962b,_0x2c4f60){const _0xa8a4ba=_0x4d8cd4;this[_0xa8a4ba(0xb3)][_0xa8a4ba(0xa3)](_0x50962b)[_0xa8a4ba(0xae)]=_0x2c4f60,this[_0xa8a4ba(0xd5)]=_0xa8a4ba(0xc5)==_0x2c4f60||Array[_0xa8a4ba(0xce)](this[_0xa8a4ba(0xb3)])[_0xa8a4ba(0xa9)](_0x4bef9a=>_0xa8a4ba(0xc5)==_0x4bef9a[_0xa8a4ba(0xae)]);}[_0x4d8cd4(0xb2)](_0x338b7b){const _0x7f3542=_0x4d8cd4;return this[_0x7f3542(0xb3)][_0x7f3542(0xa3)](_0x338b7b);}[_0x4d8cd4(0xcc)](){const _0x7503f5=_0x4d8cd4;if(!this[_0x7503f5(0xc3)]){const _0x541f5a=!this[_0x7503f5(0xb3)][_0x7503f5(0xbe)](_0x53f4a6=>_0x53f4a6[_0x7503f5(0xb7)][_0x7503f5(0xbc)]),_0x387924=!!this[_0x7503f5(0xb3)][_0x7503f5(0xbe)](_0x3bba84=>!_0x3bba84[_0x7503f5(0xb7)][_0x7503f5(0xbc)]);this[_0x7503f5(0xc6)][_0x7503f5(0xb6)]=_0x387924,_0x541f5a?this[_0x7503f5(0xc6)][_0x7503f5(0xa5)](_0x332466(this[_0x7503f5(0xcd)],_0x7503f5(0xca))):this[_0x7503f5(0xc6)][_0x7503f5(0xa5)](_0x332466(this[_0x7503f5(0xcd)],_0x7503f5(0xd2)));}}get[_0x4d8cd4(0xaa)](){const _0x1e09ed=_0x4d8cd4;return!!this[_0x1e09ed(0xb3)][_0x1e09ed(0xbe)](_0x50e200=>_0x50e200[_0x1e09ed(0xb7)][_0x1e09ed(0xbc)]);}}
|
|
@@ -44,6 +44,14 @@ export declare class AISuggestionContainerView extends View<HTMLDivElement> {
|
|
|
44
44
|
* Hides the loader if it exists.
|
|
45
45
|
*/
|
|
46
46
|
hideLoader(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Shows an error message in the suggestion container.
|
|
49
|
+
*/
|
|
50
|
+
showError(message: string): void;
|
|
51
|
+
/**
|
|
52
|
+
* Hides the error message.
|
|
53
|
+
*/
|
|
54
|
+
hideError(): void;
|
|
47
55
|
/**
|
|
48
56
|
* Marks the suggestion container as done.
|
|
49
57
|
*/
|
|
@@ -56,6 +64,14 @@ export declare class AISuggestionContainerView extends View<HTMLDivElement> {
|
|
|
56
64
|
* Clears the loading state, enabling all interactive elements.
|
|
57
65
|
*/
|
|
58
66
|
clearLoading(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Disables specific buttons (show changes) for error state.
|
|
69
|
+
*/
|
|
70
|
+
setErrorState(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Re-enables specific buttons (show changes) after clearing error state.
|
|
73
|
+
*/
|
|
74
|
+
clearErrorState(): void;
|
|
59
75
|
}
|
|
60
76
|
export type AISuggestionContainerToggleSuggestionDisplayModeEvent = {
|
|
61
77
|
name: 'toggleSuggestionDisplayMode';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x12e091=_0x5ec5;(function(_0x313481,_0x23c9d6){const _0x141d20=_0x5ec5,_0x2f22a3=_0x313481();while(!![]){try{const _0x30c60a=parseInt(_0x141d20(0xd6))/0x1+-parseInt(_0x141d20(0xc7))/0x2*(parseInt(_0x141d20(0x96))/0x3)+-parseInt(_0x141d20(0xb5))/0x4*(parseInt(_0x141d20(0xaf))/0x5)+-parseInt(_0x141d20(0xb9))/0x6*(parseInt(_0x141d20(0xb7))/0x7)+parseInt(_0x141d20(0xca))/0x8+-parseInt(_0x141d20(0xcc))/0x9*(parseInt(_0x141d20(0xbe))/0xa)+-parseInt(_0x141d20(0xc3))/0xb*(-parseInt(_0x141d20(0xcd))/0xc);if(_0x30c60a===_0x23c9d6)break;else _0x2f22a3['push'](_0x2f22a3['shift']());}catch(_0x3ae3af){_0x2f22a3['push'](_0x2f22a3['shift']());}}}(_0x1e0c,0xcf4ba));import{IconWeb as _0x2769a4}from'@ckeditor/ckeditor5-icons';import{View as _0x1faaef,ButtonView as _0x3d7785,IconView as _0x340cbe}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4caa3f}from'./aiminitoolbarview.js';function _0x1e0c(){const _0x5b9abc=['sourcesView','children','fire','title','url','add','miniToolbarView','delegate','1579082dxSOVe','bodyView','ck-ai-web-sources__header','hasNonEmptyParts','icon','extendTemplate','173514HMxBFR','ck-ai-web-sources','markAsDone','ck-ai-web-source__image','ck-ai-suggestion__loader','isVisible','span','div','createCollection','AI_CHAT_SOURCES_HEADER','toggleSuggestionDisplayMode','hideLoader','bindTemplate','map','addMany','ck-hidden','isLoading','setLoading','updateContentParts','AI_CHAT_IS_WRITING','content','isShowChangesToggleVisible','img','clearLoading','setTemplate','39865MIGzqI','set','favicon','ck-ai-suggestion__container','updateSources','updateContent','232CtmNOg','_blank','246953GOGcZi','ck-rounded-corners','132lkxiSr','isOn','small','ck-ai-suggestion__loader-text','toggleShowChanges','2541170YkcJYy','_createLoaderView','open','bind','showLoader','14974795gzsrkf','isLoaderVisible','ck\x20ck-ai-web-source','headerView','20ibvPAw','loaderView','areChangesVisible','5936600RFJunF','locale','36CruHnB','12IYeroa'];_0x1e0c=function(){return _0x5b9abc;};return _0x1e0c();}import{AISuggestionHeaderView as _0xd0aa34}from'./aisuggestionheaderview.js';function _0x5ec5(_0x501c77,_0x23b441){const _0x1e0c47=_0x1e0c();return _0x5ec5=function(_0x5ec5aa,_0x2047c2){_0x5ec5aa=_0x5ec5aa-0x92;let _0x5477b0=_0x1e0c47[_0x5ec5aa];return _0x5477b0;},_0x5ec5(_0x501c77,_0x23b441);}import{AISuggestionBodyView as _0x4935ed}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xfbb5f6}from'../../utils/eventnames.js';import{AISpinnerView as _0x364e39}from'../aispinner.js';import{getTranslation as _0x1a9844}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x1faaef{[_0x12e091(0xd7)];[_0x12e091(0xcf)];[_0x12e091(0xc6)];[_0x12e091(0xd4)];[_0x12e091(0xc8)];[_0x12e091(0xce)];constructor(_0x19206d,{showDiff:_0x51cae5,areActionsDisabled:_0x123860,miniToolbarConfig:_0x53b3c4,hideHeader:_0x2f527a,showLoader:_0x54b76d,showUnchangedParts:_0x14eb55}){const _0x150f7d=_0x12e091;super(_0x19206d),this[_0x150f7d(0xb0)](_0x150f7d(0xc9),!0x1),this[_0x150f7d(0xb0)](_0x150f7d(0xc4),!!_0x54b76d),this[_0x150f7d(0xb0)](_0x150f7d(0xa6),!0x1),this[_0x150f7d(0xcf)]=this[_0x150f7d(0x9e)](),_0x2f527a||(this[_0x150f7d(0xc6)]=new _0xd0aa34(_0x19206d,{'showDiff':_0x51cae5}),this[_0x150f7d(0xc6)]['on'](_0x150f7d(0xbd),(_0x4fade1,_0x5acf27)=>{const _0xdc42a1=_0x150f7d;this[_0xdc42a1(0xc9)]=_0x5acf27[_0xdc42a1(0xba)],this[_0xdc42a1(0xd0)](_0xdc42a1(0xa0),{'showDiff':_0x5acf27[_0xdc42a1(0xba)]});}),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xc6)])),this[_0x150f7d(0xd7)]=new _0x4935ed(_0x19206d,{'areActionsDisabled':_0x123860,'showUnchangedParts':!!_0x14eb55}),this[_0x150f7d(0xd7)][_0x150f7d(0xd5)](..._0xfbb5f6)['to'](this),this[_0x150f7d(0xd7)][_0x150f7d(0x95)]({'attributes':{'class':[this[_0x150f7d(0xa2)]['if'](_0x150f7d(0xc4),_0x150f7d(0xa5))]}}),this[_0x150f7d(0xd4)]=new _0x4caa3f(_0x19206d,_0x53b3c4,_0x51cae5),this[_0x150f7d(0xd4)][_0x150f7d(0xd5)](..._0xfbb5f6)['to'](this),this[_0x150f7d(0xd4)]['on'](_0x150f7d(0xbd),(_0x252c06,_0x6898a6)=>{const _0x378931=_0x150f7d;this[_0x378931(0xc9)]=_0x6898a6,this[_0x378931(0xd0)](_0x378931(0xa0),{'showDiff':_0x6898a6});}),this[_0x150f7d(0xd4)][_0x150f7d(0xc1)](_0x150f7d(0xa6))['to'](this),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xd7)]),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xd4)]),this[_0x150f7d(0xce)]=new AIWebSourcesView(this[_0x150f7d(0xcb)]),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xce)]),_0x54b76d&&(this[_0x150f7d(0xc8)]=this[_0x150f7d(0xbf)](),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xc8)])),this[_0x150f7d(0xae)]({'tag':_0x150f7d(0x9d),'attributes':{'class':['ck',_0x150f7d(0xb2),_0x150f7d(0xb8)]},'children':this[_0x150f7d(0xcf)]});}async[_0x12e091(0xb4)](_0x2d505c){const _0x1b7e3b=_0x12e091;await this[_0x1b7e3b(0xd7)][_0x1b7e3b(0xa8)](_0x2d505c);}[_0x12e091(0xb3)](_0x5ac10b){const _0x26ff11=_0x12e091;this[_0x26ff11(0xce)][_0x26ff11(0xcf)][_0x26ff11(0xa4)](_0x5ac10b[_0x26ff11(0xa3)](_0x2c04dd=>new AIWebSourceView(this[_0x26ff11(0xcb)],_0x2c04dd))),this[_0x26ff11(0xce)][_0x26ff11(0x9b)]=!0x0;}[_0x12e091(0xc2)](){const _0x1c3b75=_0x12e091;this[_0x1c3b75(0xc8)]&&(this[_0x1c3b75(0xc4)]=!0x0);}[_0x12e091(0xa1)](){const _0x103fa0=_0x12e091;this[_0x103fa0(0xc8)]&&(this[_0x103fa0(0xc4)]=!0x1);}[_0x12e091(0x98)](){const _0x7f10f=_0x12e091;this[_0x7f10f(0xd7)][_0x7f10f(0x98)](),this[_0x7f10f(0xc6)]&&(this[_0x7f10f(0xc6)][_0x7f10f(0xab)]=this[_0x7f10f(0xd7)][_0x7f10f(0x93)]);}[_0x12e091(0xa7)](){const _0x29bf12=_0x12e091;this[_0x29bf12(0xa6)]=!0x0;}[_0x12e091(0xad)](){const _0x2a89ab=_0x12e091;this[_0x2a89ab(0xa6)]=!0x1;}[_0x12e091(0xbf)](){const _0x2e9205=_0x12e091,_0x466f0b=new _0x1faaef(this[_0x2e9205(0xcb)]),_0x2c835e=new _0x364e39(_0x2e9205(0xbb));_0x2c835e[_0x2e9205(0x9b)]=!0x0;const _0x215b16=new _0x1faaef(this[_0x2e9205(0xcb)]);return _0x215b16[_0x2e9205(0xae)]({'tag':_0x2e9205(0x9c),'attributes':{'class':['ck',_0x2e9205(0xbc)]},'children':[_0x1a9844(this[_0x2e9205(0xcb)],_0x2e9205(0xa9))]}),_0x466f0b[_0x2e9205(0xae)]({'tag':_0x2e9205(0x9d),'attributes':{'class':['ck',_0x2e9205(0x9a),this[_0x2e9205(0xa2)]['if'](_0x2e9205(0xc4),_0x2e9205(0xa5),_0x542f63=>!_0x542f63)]},'children':[_0x2c835e,_0x215b16]}),_0x466f0b;}}export class AIWebSourcesView extends _0x1faaef{[_0x12e091(0xcf)];constructor(_0x1e445c){const _0x2c077f=_0x12e091;super(_0x1e445c),this[_0x2c077f(0xcf)]=this[_0x2c077f(0x9e)](),this[_0x2c077f(0xb0)](_0x2c077f(0x9b),!0x1),this[_0x2c077f(0xae)]({'tag':_0x2c077f(0x9d),'attributes':{'class':['ck',_0x2c077f(0x97),this[_0x2c077f(0xa2)]['if'](_0x2c077f(0x9b),_0x2c077f(0xa5),_0x1c3eba=>!_0x1c3eba)]},'children':this[_0x2c077f(0xcf)]});const _0x4ea645=new _0x1faaef(this[_0x2c077f(0xcb)]),_0x11a2e0=new _0x340cbe();_0x11a2e0[_0x2c077f(0xaa)]=_0x2769a4,_0x4ea645[_0x2c077f(0xae)]({'tag':_0x2c077f(0x9d),'attributes':{'class':['ck',_0x2c077f(0x92)]},'children':[_0x11a2e0,{'tag':_0x2c077f(0x9c),'children':[{'text':_0x1a9844(this[_0x2c077f(0xcb)],_0x2c077f(0x9f))}]}]}),this[_0x2c077f(0xcf)][_0x2c077f(0xd3)](_0x4ea645);}}export class AIWebSourceView extends _0x3d7785{constructor(_0x587f14,_0x161909){const _0x33c5cc=_0x12e091;super(_0x587f14),this[_0x33c5cc(0xb0)]({'label':_0x161909[_0x33c5cc(0xd1)],'tooltip':_0x161909[_0x33c5cc(0xd1)],'class':[_0x33c5cc(0xc5)],'withText':!0x0});const _0x2ee161=this[_0x33c5cc(0xa2)];if(this[_0x33c5cc(0x95)]({'on':{'click':_0x2ee161['to'](()=>{const _0x589c86=_0x33c5cc;window[_0x589c86(0xc0)](_0x161909[_0x589c86(0xd2)],_0x589c86(0xb6));})}}),_0x161909[_0x33c5cc(0xb1)]){const _0x56b653=new _0x1faaef(_0x587f14);_0x56b653[_0x33c5cc(0xae)]({'tag':_0x33c5cc(0xac),'attributes':{'src':_0x161909[_0x33c5cc(0xb1)]||_0x2769a4,'alt':_0x161909[_0x33c5cc(0xd1)],'class':[_0x33c5cc(0x99)]}}),this[_0x33c5cc(0xcf)][_0x33c5cc(0xd3)](_0x56b653);}else this[_0x33c5cc(0xb0)](_0x33c5cc(0x94),_0x2769a4);}}
|
|
23
|
+
const _0x2b8ff8=_0x514a;(function(_0x12fe1b,_0x57b215){const _0x5e469d=_0x514a,_0x1150fd=_0x12fe1b();while(!![]){try{const _0x5d8727=parseInt(_0x5e469d(0x167))/0x1*(-parseInt(_0x5e469d(0x1b0))/0x2)+-parseInt(_0x5e469d(0x161))/0x3+parseInt(_0x5e469d(0x160))/0x4*(-parseInt(_0x5e469d(0x16c))/0x5)+parseInt(_0x5e469d(0x17e))/0x6*(parseInt(_0x5e469d(0x186))/0x7)+parseInt(_0x5e469d(0x1a9))/0x8+parseInt(_0x5e469d(0x1a0))/0x9*(-parseInt(_0x5e469d(0x17a))/0xa)+-parseInt(_0x5e469d(0x16f))/0xb*(-parseInt(_0x5e469d(0x18a))/0xc);if(_0x5d8727===_0x57b215)break;else _0x1150fd['push'](_0x1150fd['shift']());}catch(_0x449008){_0x1150fd['push'](_0x1150fd['shift']());}}}(_0x28de,0x5dbb6));import{IconWeb as _0x8980dd}from'@ckeditor/ckeditor5-icons';import{View as _0x261d22,ButtonView as _0x220614,IconView as _0x5126fb}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x12c50e}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xb56132}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xdcd74a}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5eac34}from'../../utils/eventnames.js';import{AISpinnerView as _0x5c76d2}from'../aispinner.js';import{getTranslation as _0x3d9dd5}from'../../utils/common-translations.js';function _0x514a(_0x53b8b0,_0x2acd36){const _0x28de04=_0x28de();return _0x514a=function(_0x514acb,_0x52f0c6){_0x514acb=_0x514acb-0x15d;let _0x58f19d=_0x28de04[_0x514acb];return _0x58f19d;},_0x514a(_0x53b8b0,_0x2acd36);}function _0x28de(){const _0x47f19b=['4LfrAnR','setErrorState','updateContentParts','updateContent','bind','584645xnGeoJ','content','ck-ai-web-source__image','11095293rMGuUH','.ck-ai-suggestion__error-text','ck-ai-web-sources__header','createCollection','extendTemplate','setLoading','updateSources','open','isLoading','ck-rounded-corners','isEnabled','40dyfpiM','set','isErrorVisible','add','36ysQCjC','loaderView','remove','isShowChangesToggleVisible','ck-ai-suggestion__container','showError','ck-ai-suggestion__loader-text','addMany','165221XGYPAV','isOn','children','hideError','12ZQhDPI','map','areChangesVisible','fire','AI_CHAT_GENERIC_ERROR','title','errorView','_blank','hasNonEmptyParts','div','removeNavigationItem','img','_createErrorView','clearErrorState','toggleShowChanges','AI_CHAT_IS_WRITING','ck-ai-suggestion__loader','hideLoader','favicon','delegate','miniToolbarView','ck-ai-suggestion__error-text','1292427WKNatY','bodyView','ck-ai-web-sources','ck-hidden','span','showLoader','bindTemplate','headerView','textContent','4350440OFexTD','markAsDone','querySelector','showChangesToggleView','small','ck\x20ck-ai-web-source','ck-ai-suggestion__error','77728PRrzua','url','icon','toggleSuggestionDisplayMode','isLoaderVisible','addNavigationItem','setTemplate','isVisible','_createLoaderView','clearLoading','12rKtDPN','688515npGvga','items','AI_CHAT_SOURCES_HEADER','sourcesView','element','locale'];_0x28de=function(){return _0x47f19b;};return _0x28de();}export class AISuggestionContainerView extends _0x261d22{[_0x2b8ff8(0x1a1)];[_0x2b8ff8(0x19e)];[_0x2b8ff8(0x188)];[_0x2b8ff8(0x1a7)];[_0x2b8ff8(0x17f)];[_0x2b8ff8(0x190)];[_0x2b8ff8(0x164)];constructor(_0x104bb8,{showDiff:_0x48d611,areActionsDisabled:_0x3d621d,miniToolbarConfig:_0x391914,hideHeader:_0x1b512c,showLoader:_0x1b2ab7,showUnchangedParts:_0xe38a5}){const _0x421829=_0x2b8ff8;super(_0x104bb8),this[_0x421829(0x17b)](_0x421829(0x18c),!0x1),this[_0x421829(0x17b)](_0x421829(0x1b4),!!_0x1b2ab7),this[_0x421829(0x17b)](_0x421829(0x17c),!0x1),this[_0x421829(0x17b)](_0x421829(0x177),!0x1),this[_0x421829(0x188)]=this[_0x421829(0x172)](),_0x1b512c||(this[_0x421829(0x1a7)]=new _0xb56132(_0x104bb8,{'showDiff':_0x48d611}),this[_0x421829(0x1a7)]['on'](_0x421829(0x198),(_0x570920,_0x2093a6)=>{const _0x103740=_0x421829;this[_0x103740(0x18c)]=_0x2093a6[_0x103740(0x187)],this[_0x103740(0x18d)](_0x103740(0x1b3),{'showDiff':_0x2093a6[_0x103740(0x187)]});}),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x1a7)])),this[_0x421829(0x1a1)]=new _0xdcd74a(_0x104bb8,{'areActionsDisabled':_0x3d621d,'showUnchangedParts':!!_0xe38a5}),this[_0x421829(0x1a1)][_0x421829(0x19d)](..._0x5eac34)['to'](this),this[_0x421829(0x1a1)][_0x421829(0x173)]({'attributes':{'class':[this[_0x421829(0x1a6)]['if'](_0x421829(0x1b4),_0x421829(0x1a3)),this[_0x421829(0x1a6)]['if'](_0x421829(0x17c),_0x421829(0x1a3))]}}),this[_0x421829(0x19e)]=new _0x12c50e(_0x104bb8,_0x391914,_0x48d611),this[_0x421829(0x19e)][_0x421829(0x19d)](..._0x5eac34)['to'](this),this[_0x421829(0x19e)]['on'](_0x421829(0x198),(_0x38069d,_0x4b2e09)=>{const _0x4dbc5a=_0x421829;this[_0x4dbc5a(0x18c)]=_0x4b2e09,this[_0x4dbc5a(0x18d)](_0x4dbc5a(0x1b3),{'showDiff':_0x4b2e09});}),this[_0x421829(0x19e)][_0x421829(0x16b)](_0x421829(0x177))['to'](this),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x1a1)]),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x19e)]),this[_0x421829(0x164)]=new AIWebSourcesView(this[_0x421829(0x166)]),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x164)]),_0x1b2ab7&&(this[_0x421829(0x17f)]=this[_0x421829(0x15e)](),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x17f)])),this[_0x421829(0x190)]=this[_0x421829(0x196)](),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x190)]),this[_0x421829(0x1b6)]({'tag':_0x421829(0x193),'attributes':{'class':['ck',_0x421829(0x182),_0x421829(0x178)]},'children':this[_0x421829(0x188)]});}async[_0x2b8ff8(0x16a)](_0x48ee44){const _0x29e132=_0x2b8ff8;await this[_0x29e132(0x1a1)][_0x29e132(0x169)](_0x48ee44);}[_0x2b8ff8(0x175)](_0x95bbe9){const _0x3f3136=_0x2b8ff8;this[_0x3f3136(0x164)][_0x3f3136(0x188)][_0x3f3136(0x185)](_0x95bbe9[_0x3f3136(0x18b)](_0x4013ea=>new AIWebSourceView(this[_0x3f3136(0x166)],_0x4013ea))),this[_0x3f3136(0x164)][_0x3f3136(0x15d)]=!0x0;}[_0x2b8ff8(0x1a5)](){const _0x3c62f2=_0x2b8ff8;this[_0x3c62f2(0x17f)]&&(this[_0x3c62f2(0x1b4)]=!0x0);}[_0x2b8ff8(0x19b)](){const _0x1a908e=_0x2b8ff8;this[_0x1a908e(0x17f)]&&(this[_0x1a908e(0x1b4)]=!0x1);}[_0x2b8ff8(0x183)](_0x875914){const _0x1d3081=_0x2b8ff8;if(this[_0x1d3081(0x190)]){const _0x172986=this[_0x1d3081(0x190)][_0x1d3081(0x165)]?.[_0x1d3081(0x1ab)](_0x1d3081(0x170));_0x172986&&(_0x172986[_0x1d3081(0x1a8)]=_0x875914),this[_0x1d3081(0x17c)]=!0x0;}}[_0x2b8ff8(0x189)](){const _0x230c03=_0x2b8ff8;this[_0x230c03(0x190)]&&(this[_0x230c03(0x17c)]=!0x1);}[_0x2b8ff8(0x1aa)](){const _0x4a15c5=_0x2b8ff8;this[_0x4a15c5(0x1a1)][_0x4a15c5(0x1aa)](),this[_0x4a15c5(0x1a7)]&&(this[_0x4a15c5(0x1a7)][_0x4a15c5(0x181)]=this[_0x4a15c5(0x1a1)][_0x4a15c5(0x192)]);}[_0x2b8ff8(0x174)](){const _0x4cb1d0=_0x2b8ff8;this[_0x4cb1d0(0x177)]=!0x0;}[_0x2b8ff8(0x15f)](){const _0x56d001=_0x2b8ff8;this[_0x56d001(0x177)]=!0x1;}[_0x2b8ff8(0x168)](){const _0x39ad0d=_0x2b8ff8;this[_0x39ad0d(0x19e)]&&(this[_0x39ad0d(0x19e)][_0x39ad0d(0x177)]=!0x0),this[_0x39ad0d(0x1a7)]?.[_0x39ad0d(0x1ac)]&&(this[_0x39ad0d(0x1a7)][_0x39ad0d(0x1ac)][_0x39ad0d(0x179)]=!0x1);}[_0x2b8ff8(0x197)](){const _0x419e4f=_0x2b8ff8;this[_0x419e4f(0x19e)]&&(this[_0x419e4f(0x19e)][_0x419e4f(0x177)]=!0x1),this[_0x419e4f(0x1a7)]?.[_0x419e4f(0x1ac)]&&(this[_0x419e4f(0x1a7)][_0x419e4f(0x1ac)][_0x419e4f(0x179)]=!0x0);}[_0x2b8ff8(0x1b5)](_0x46951f){const _0x52f96b=_0x2b8ff8;this[_0x52f96b(0x19e)][_0x52f96b(0x162)][_0x52f96b(0x17d)](_0x46951f);}[_0x2b8ff8(0x194)](_0xfbe459){const _0x44c7cc=_0x2b8ff8;this[_0x44c7cc(0x19e)][_0x44c7cc(0x162)][_0x44c7cc(0x180)](_0xfbe459);}[_0x2b8ff8(0x15e)](){const _0x81782c=_0x2b8ff8,_0x3ec075=new _0x261d22(this[_0x81782c(0x166)]),_0xc3914a=new _0x5c76d2(_0x81782c(0x1ad));_0xc3914a[_0x81782c(0x15d)]=!0x0;const _0x2d9d4f=new _0x261d22(this[_0x81782c(0x166)]);return _0x2d9d4f[_0x81782c(0x1b6)]({'tag':_0x81782c(0x1a4),'attributes':{'class':['ck',_0x81782c(0x184)]},'children':[_0x3d9dd5(this[_0x81782c(0x166)],_0x81782c(0x199))]}),_0x3ec075[_0x81782c(0x1b6)]({'tag':_0x81782c(0x193),'attributes':{'class':['ck',_0x81782c(0x19a),this[_0x81782c(0x1a6)]['if'](_0x81782c(0x1b4),_0x81782c(0x1a3),_0x44fe17=>!_0x44fe17)]},'children':[_0xc3914a,_0x2d9d4f]}),_0x3ec075;}[_0x2b8ff8(0x196)](){const _0x25b859=_0x2b8ff8,_0x48bb26=new _0x261d22(this[_0x25b859(0x166)]),_0x15946c=new _0x261d22(this[_0x25b859(0x166)]);return _0x15946c[_0x25b859(0x1b6)]({'tag':_0x25b859(0x1a4),'attributes':{'class':['ck',_0x25b859(0x19f)]},'children':[_0x3d9dd5(this[_0x25b859(0x166)],_0x25b859(0x18e))]}),_0x48bb26[_0x25b859(0x1b6)]({'tag':_0x25b859(0x193),'attributes':{'class':['ck',_0x25b859(0x1af),this[_0x25b859(0x1a6)]['if'](_0x25b859(0x17c),_0x25b859(0x1a3),_0x5244df=>!_0x5244df)]},'children':[_0x15946c]}),_0x48bb26;}}export class AIWebSourcesView extends _0x261d22{[_0x2b8ff8(0x188)];constructor(_0x3dae2c){const _0x13b19d=_0x2b8ff8;super(_0x3dae2c),this[_0x13b19d(0x188)]=this[_0x13b19d(0x172)](),this[_0x13b19d(0x17b)](_0x13b19d(0x15d),!0x1),this[_0x13b19d(0x1b6)]({'tag':_0x13b19d(0x193),'attributes':{'class':['ck',_0x13b19d(0x1a2),this[_0x13b19d(0x1a6)]['if'](_0x13b19d(0x15d),_0x13b19d(0x1a3),_0xa460d2=>!_0xa460d2)]},'children':this[_0x13b19d(0x188)]});const _0x49324a=new _0x261d22(this[_0x13b19d(0x166)]),_0x516446=new _0x5126fb();_0x516446[_0x13b19d(0x16d)]=_0x8980dd,_0x49324a[_0x13b19d(0x1b6)]({'tag':_0x13b19d(0x193),'attributes':{'class':['ck',_0x13b19d(0x171)]},'children':[_0x516446,{'tag':_0x13b19d(0x1a4),'children':[{'text':_0x3d9dd5(this[_0x13b19d(0x166)],_0x13b19d(0x163))}]}]}),this[_0x13b19d(0x188)][_0x13b19d(0x17d)](_0x49324a);}}export class AIWebSourceView extends _0x220614{constructor(_0x5add6c,_0x3fda2a){const _0x467f6b=_0x2b8ff8;super(_0x5add6c),this[_0x467f6b(0x17b)]({'label':_0x3fda2a[_0x467f6b(0x18f)],'tooltip':_0x3fda2a[_0x467f6b(0x18f)],'class':[_0x467f6b(0x1ae)],'withText':!0x0});const _0x151c1f=this[_0x467f6b(0x1a6)];if(this[_0x467f6b(0x173)]({'on':{'click':_0x151c1f['to'](()=>{const _0x2a6a96=_0x467f6b;window[_0x2a6a96(0x176)](_0x3fda2a[_0x2a6a96(0x1b1)],_0x2a6a96(0x191));})}}),_0x3fda2a[_0x467f6b(0x19c)]){const _0x3fb138=new _0x261d22(_0x5add6c);_0x3fb138[_0x467f6b(0x1b6)]({'tag':_0x467f6b(0x195),'attributes':{'src':_0x3fda2a[_0x467f6b(0x19c)]||_0x8980dd,'alt':_0x3fda2a[_0x467f6b(0x18f)],'class':[_0x467f6b(0x16e)]}}),this[_0x467f6b(0x188)][_0x467f6b(0x17d)](_0x3fb138);}else this[_0x467f6b(0x17b)](_0x467f6b(0x1b2),_0x8980dd);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x30783f=_0x4f43;(function(_0x2e96ec,_0x234d18){const _0xc8ff75=_0x4f43,_0x260ece=_0x2e96ec();while(!![]){try{const _0x2e23cb=-parseInt(_0xc8ff75(0x1d3))/0x1+parseInt(_0xc8ff75(0x1f5))/0x2*(-parseInt(_0xc8ff75(0x1d9))/0x3)+parseInt(_0xc8ff75(0x1c5))/0x4+parseInt(_0xc8ff75(0x1e8))/0x5+parseInt(_0xc8ff75(0x1bb))/0x6*(-parseInt(_0xc8ff75(0x1e0))/0x7)+parseInt(_0xc8ff75(0x1c7))/0x8*(-parseInt(_0xc8ff75(0x1ec))/0x9)+parseInt(_0xc8ff75(0x1dd))/0xa;if(_0x2e23cb===_0x234d18)break;else _0x260ece['push'](_0x260ece['shift']());}catch(_0x2b988c){_0x260ece['push'](_0x260ece['shift']());}}}(_0x5f1b,0x1a2da));import{View as _0x21bba7,IconView as _0x2e5872,ToolbarView as _0x4d8cea,ButtonView as _0x3d180a}from'ckeditor5/src/ui.js';function _0x4f43(_0x256e9d,_0x3af243){const _0x5f1b90=_0x5f1b();return _0x4f43=function(_0x4f43cb,_0x37e88f){_0x4f43cb=_0x4f43cb-0x1b0;let _0x1c8388=_0x5f1b90[_0x4f43cb];return _0x1c8388;},_0x4f43(_0x256e9d,_0x3af243);}import{IconAddComment as _0x28f0d5,IconDocumentWithLoupe as _0x500ac5,IconDocumentWithCheckmark as _0x26292d,IconDocumentWithCross as _0x5f3bef,IconRemove as _0x316796,IconThreeStars as _0x5155f3}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x1b2437}from'../../utils/htmlstreamer.js';function _0x5f1b(){const _0x5c48b7=['children','rejectSuggestion','isEnabled','setTemplate','items','_iconStateRejected','11913JTcpzD','AI_SUGGESTION_CONTENT_PART_TITLE','headerView','has','remove','ck-ai-suggestion__body__content-part__icon-rejected','185286ubXDpu','ck-ai-suggestion__body__content-part__content','element','change:state','2582060aAVXil','bind','ck-content','470519sUBvPb','fire','AI_SUGGESTION_CONTENT_PART_REJECTED','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','animation:\x20ck-html-streamer-fade-in\x20.5s','contentView','insertSuggestion','updateContent','891310QHrfDt','AI_SUGGESTION_CONTENT_PART_DELETE','isVisible','toString','1927845PtvBvt','pending','state','set','rejected','mouseLeaveSuggestion','content','delegate','ck-ai-suggestion__body__content-part_active','4nTnGpp','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','extendTemplate','mouseOverSuggestion','innerHTML','execute','ck-ai-suggestion__body__content-part_','_toolbarView','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','div','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part__icon-accepted','ck-ai-suggestion__body__content-part','showChangeInText','hasChanges','htmlStreamer','_iconStateAccepted','6ZKhlty','stream','bindTemplate','ck-reset_all-excluded','ck-hidden','span','accepted','toggleHeader','streaming','add','350468hOgLAS','ck-ai-suggestion__body__content-part__title__label','8DkDTLg','index','addMany','ck-ai-suggestion__body__content-part__title','createCollection','partDefinition'];_0x5f1b=function(){return _0x5c48b7;};return _0x5f1b();}import{getTranslation as _0x1ff261}from'../../utils/common-translations.js';import{serialize as _0x313b2f}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4e9647}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x21bba7{[_0x30783f(0x1b9)];[_0x30783f(0x1cd)];[_0x30783f(0x1d5)];[_0x30783f(0x1e5)];constructor(_0x13f21d,{part:_0x4d1143,areActionsDisabled:_0x476d05}){const _0x203803=_0x30783f;super(_0x13f21d),this[_0x203803(0x1ef)](_0x203803(0x1cc),_0x4d1143),this[_0x203803(0x1ef)](_0x203803(0x1ee),_0x203803(0x1ed)),this[_0x203803(0x1ef)](_0x203803(0x1ea),!0x1),this[_0x203803(0x1de)](_0x203803(0x1cf))['to'](this,_0x203803(0x1ee),_0x5c46d9=>_0x203803(0x1ed)==_0x5c46d9&&!_0x476d05),this[_0x203803(0x1cd)]=this[_0x203803(0x1cb)](),this[_0x203803(0x1b9)]=new _0x1b2437({'textNodeStyle':_0x203803(0x1e4),'delay':0x14}),this[_0x203803(0x1d5)]=new Hn(_0x13f21d,_0x4d1143),this[_0x203803(0x1d5)][_0x203803(0x1de)](_0x203803(0x1cc))['to'](this),this[_0x203803(0x1d5)][_0x203803(0x1de)](_0x203803(0x1cf))['to'](this),this[_0x203803(0x1d5)][_0x203803(0x1de)](_0x203803(0x1ee))['to'](this),this[_0x203803(0x1d5)][_0x203803(0x1f3)](..._0x4e9647)['to'](this);const _0x4474d9=this[_0x203803(0x1bd)];this[_0x203803(0x1e5)]=new _0x21bba7(),this[_0x203803(0x1e5)][_0x203803(0x1d0)]({'tag':_0x203803(0x1b3),'attributes':{'class':['ck',_0x203803(0x1df),_0x203803(0x1be),_0x203803(0x1da)]}}),this[_0x203803(0x1cd)][_0x203803(0x1c9)]([this[_0x203803(0x1e5)]]),this[_0x203803(0x1d0)]({'tag':_0x203803(0x1b3),'attributes':{'class':['ck',_0x203803(0x1b6),_0x4474d9['to'](_0x203803(0x1ee),_0x2543e0=>_0x203803(0x1b0)+_0x2543e0),_0x4474d9['to'](_0x203803(0x1cf),_0x3ab461=>_0x3ab461?_0x203803(0x1f4):void 0x0),_0x4474d9['if'](_0x203803(0x1ea),_0x203803(0x1bf),_0x17bfd6=>!_0x17bfd6)]},'children':this[_0x203803(0x1cd)],'on':{'mouseenter':_0x4474d9['to'](()=>{const _0x8886cc=_0x203803;this[_0x8886cc(0x1cf)]&&this[_0x8886cc(0x1e1)](_0x8886cc(0x1f8),{'index':_0x4d1143[_0x8886cc(0x1c8)]});}),'mouseleave':_0x4474d9['to'](()=>{const _0x2ad798=_0x203803;this[_0x2ad798(0x1cf)]&&this[_0x2ad798(0x1e1)](_0x2ad798(0x1f1),{'index':_0x4d1143[_0x2ad798(0x1c8)]});})}});}async[_0x30783f(0x1e7)]({part:_0x3d93f6,renderingStrategy:_0x22cf47,showUnchangedParts:_0x8a2c8b=!0x1,abortSignal:_0x513af0}){const _0x5ba557=_0x30783f;this[_0x5ba557(0x1cc)]=_0x3d93f6,this[_0x5ba557(0x1ea)]=this[_0x5ba557(0x1cc)][_0x5ba557(0x1b8)]||_0x8a2c8b,this[_0x5ba557(0x1ea)]&&(_0x5ba557(0x1c3)===_0x22cf47?await this[_0x5ba557(0x1b9)][_0x5ba557(0x1bc)]({'document':this[_0x5ba557(0x1cc)][_0x5ba557(0x1f2)],'targetElement':this[_0x5ba557(0x1e5)][_0x5ba557(0x1db)],'abortSignal':_0x513af0}):this[_0x5ba557(0x1e5)][_0x5ba557(0x1db)][_0x5ba557(0x1f9)]=_0x313b2f(this[_0x5ba557(0x1cc)][_0x5ba557(0x1f2)]));}[_0x30783f(0x1c2)](_0x316230){const _0x1f3e01=_0x30783f;_0x316230?this[_0x1f3e01(0x1cd)][_0x1f3e01(0x1d6)](this[_0x1f3e01(0x1d5)])||this[_0x1f3e01(0x1cd)][_0x1f3e01(0x1c4)](this[_0x1f3e01(0x1d5)],0x0):this[_0x1f3e01(0x1cd)][_0x1f3e01(0x1d6)](this[_0x1f3e01(0x1d5)])&&this[_0x1f3e01(0x1cd)][_0x1f3e01(0x1d7)](this[_0x1f3e01(0x1d5)]);}}class Hn extends _0x21bba7{[_0x30783f(0x1cd)];[_0x30783f(0x1b1)];[_0x30783f(0x1ba)];[_0x30783f(0x1d2)];constructor(_0x353134,_0x48f3db){const _0x5d70bb=_0x30783f;super(_0x353134),this[_0x5d70bb(0x1ef)](_0x5d70bb(0x1cc),_0x48f3db),this[_0x5d70bb(0x1ef)](_0x5d70bb(0x1cf),!0x0),this[_0x5d70bb(0x1ef)](_0x5d70bb(0x1ee),_0x5d70bb(0x1ed));const _0x25a503=new _0x2e5872();_0x25a503[_0x5d70bb(0x1f2)]=_0x5155f3,_0x25a503[_0x5d70bb(0x1f7)]({'attributes':{'class':[_0x5d70bb(0x1b4)]}});const _0x3ab575=new _0x3d180a(_0x353134);_0x3ab575[_0x5d70bb(0x1ef)]({'label':_0x1ff261(_0x353134,_0x5d70bb(0x1e3)),'tooltip':!0x0,'withText':!0x1,'icon':_0x500ac5}),_0x3ab575[_0x5d70bb(0x1de)](_0x5d70bb(0x1cf))['to'](this),_0x3ab575['on'](_0x5d70bb(0x1fa),()=>{const _0x1bfd43=_0x5d70bb;this[_0x1bfd43(0x1e1)](_0x1bfd43(0x1b7),{'index':_0x48f3db[_0x1bfd43(0x1c8)]});});const _0x354505=new _0x3d180a(_0x353134);_0x354505[_0x5d70bb(0x1ef)]({'label':_0x1ff261(_0x353134,_0x5d70bb(0x1b2)),'tooltip':!0x0,'withText':!0x1,'icon':_0x28f0d5}),_0x354505[_0x5d70bb(0x1de)](_0x5d70bb(0x1cf))['to'](this),_0x354505['on'](_0x5d70bb(0x1fa),()=>{const _0x129e7a=_0x5d70bb;this[_0x129e7a(0x1e1)](_0x129e7a(0x1e6),{'index':_0x48f3db[_0x129e7a(0x1c8)]});});const _0x42f3d3=new _0x3d180a(_0x353134);_0x42f3d3[_0x5d70bb(0x1ef)]({'label':_0x1ff261(_0x353134,_0x5d70bb(0x1e9)),'tooltip':!0x0,'withText':!0x1,'icon':_0x316796}),_0x42f3d3['on'](_0x5d70bb(0x1fa),()=>{const _0xab1b18=_0x5d70bb;this[_0xab1b18(0x1e1)](_0xab1b18(0x1ce),{'index':_0x48f3db[_0xab1b18(0x1c8)]});}),_0x42f3d3[_0x5d70bb(0x1de)](_0x5d70bb(0x1cf))['to'](this),this[_0x5d70bb(0x1b1)]=new _0x4d8cea(_0x353134),this[_0x5d70bb(0x1b1)][_0x5d70bb(0x1d1)][_0x5d70bb(0x1c9)]([_0x3ab575,_0x354505,_0x42f3d3]),this[_0x5d70bb(0x1ba)]=new _0x2e5872(),this[_0x5d70bb(0x1ba)][_0x5d70bb(0x1f2)]=_0x26292d,this[_0x5d70bb(0x1ba)][_0x5d70bb(0x1f7)]({'attributes':{'class':[_0x5d70bb(0x1b5)],'data-cke-tooltip-text':_0x1ff261(_0x353134,_0x5d70bb(0x1f6)),'data-cke-tooltip-position':'n'}}),this[_0x5d70bb(0x1d2)]=new _0x2e5872(),this[_0x5d70bb(0x1d2)][_0x5d70bb(0x1f2)]=_0x5f3bef,this[_0x5d70bb(0x1d2)][_0x5d70bb(0x1f7)]({'attributes':{'class':[_0x5d70bb(0x1d8)],'data-cke-tooltip-text':_0x1ff261(_0x353134,_0x5d70bb(0x1e2)),'data-cke-tooltip-position':'n'}});const _0x305da8=new _0x21bba7(_0x353134);_0x305da8[_0x5d70bb(0x1d0)]({'tag':_0x5d70bb(0x1c0),'attributes':{'class':['ck',_0x5d70bb(0x1c6)]},'children':[_0x1ff261(_0x353134,_0x5d70bb(0x1d4),(_0x48f3db[_0x5d70bb(0x1c8)]+0x1)[_0x5d70bb(0x1eb)]())]}),this[_0x5d70bb(0x1cd)]=this[_0x5d70bb(0x1cb)](),this[_0x5d70bb(0x1cd)][_0x5d70bb(0x1c9)]([_0x25a503,_0x305da8,this[_0x5d70bb(0x1b1)]]),this[_0x5d70bb(0x1d0)]({'tag':_0x5d70bb(0x1b3),'attributes':{'class':['ck',_0x5d70bb(0x1be),_0x5d70bb(0x1ca)]},'children':this[_0x5d70bb(0x1cd)]}),this['on'](_0x5d70bb(0x1dc),(_0x3f78f3,_0x2eb8b3,_0x45a909,_0x5034b8)=>{const _0x569fc9=_0x5d70bb;switch(_0x5034b8){case _0x569fc9(0x1ed):this[_0x569fc9(0x1cd)][_0x569fc9(0x1d7)](this[_0x569fc9(0x1b1)]);break;case _0x569fc9(0x1c1):this[_0x569fc9(0x1cd)][_0x569fc9(0x1d7)](this[_0x569fc9(0x1ba)]);break;case _0x569fc9(0x1f0):this[_0x569fc9(0x1cd)][_0x569fc9(0x1d7)](this[_0x569fc9(0x1d2)]);}switch(_0x45a909){case _0x569fc9(0x1ed):this[_0x569fc9(0x1cd)][_0x569fc9(0x1c4)](this[_0x569fc9(0x1b1)]);break;case _0x569fc9(0x1c1):this[_0x569fc9(0x1cd)][_0x569fc9(0x1c4)](this[_0x569fc9(0x1ba)]);break;case _0x569fc9(0x1f0):this[_0x569fc9(0x1cd)][_0x569fc9(0x1c4)](this[_0x569fc9(0x1d2)]);}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2d69(_0x2a891d,_0x4e1665){const _0x2d1ead=_0x2d1e();return _0x2d69=function(_0x2d698e,_0xc30bfe){_0x2d698e=_0x2d698e-0x1af;let _0x2e1ded=_0x2d1ead[_0x2d698e];return _0x2e1ded;},_0x2d69(_0x2a891d,_0x4e1665);}const _0x17108d=_0x2d69;function _0x2d1e(){const _0x538e40=['bind','showDiff','16843059hjKyFK','toggleShowChanges','7VWsdmC','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-ai-suggestion__header__show-changes-toggle','set','showHeader','1607835lXchgU','ck-hidden','render','remove','span','content','isOn','5314qmAwau','setTemplate','7043672RrdlNY','iconView','isVisible','execute','icon','756073EXKiTg','ck-ai-suggestion__header','div','filter','AI_SUGGESTION_HEADER_TITLE','987UaoRkg','add','children','isShowChangesToggleVisible','7511682LQRZSS','5905084zoPeFO','showChangesToggleView','fire'];_0x2d1e=function(){return _0x538e40;};return _0x2d1e();}(function(_0x3b3a36,_0x189614){const _0x455c4a=_0x2d69,_0x4e917c=_0x3b3a36();while(!![]){try{const _0x5591ef=parseInt(_0x455c4a(0x1b0))/0x1+-parseInt(_0x455c4a(0x1cd))/0x2*(parseInt(_0x455c4a(0x1b5))/0x3)+parseInt(_0x455c4a(0x1ba))/0x4+-parseInt(_0x455c4a(0x1c6))/0x5+-parseInt(_0x455c4a(0x1b9))/0x6+parseInt(_0x455c4a(0x1c1))/0x7*(-parseInt(_0x455c4a(0x1cf))/0x8)+parseInt(_0x455c4a(0x1bf))/0x9;if(_0x5591ef===_0x189614)break;else _0x4e917c['push'](_0x4e917c['shift']());}catch(_0x5c243b){_0x4e917c['push'](_0x4e917c['shift']());}}}(_0x2d1e,0xbd5f5));import{getTranslation as _0x483054}from'../../utils/common-translations.js';import{ButtonView as _0x2d39b3,IconView as _0x3beb47,View as _0x436bfc}from'ckeditor5/src/ui.js';import{IconDocument as _0x23eda0,IconShowChangesOff as _0xac08c0,IconShowChangesOn as _0x56c331}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x436bfc{[_0x17108d(0x1bb)];constructor(_0x1738c2,_0x303ecc){const _0x447d82=_0x17108d;super(_0x1738c2),this[_0x447d82(0x1c4)](_0x447d82(0x1b8),!0x0),this[_0x447d82(0x1bb)]=new ShowChangesToggleView(_0x1738c2),this[_0x447d82(0x1bb)][_0x447d82(0x1c4)]({'class':_0x447d82(0x1c3),'label':_0x483054(_0x1738c2,_0x447d82(0x1c2)),'withText':!0x0}),this[_0x447d82(0x1bb)][_0x447d82(0x1cc)]=_0x303ecc[_0x447d82(0x1be)],this[_0x447d82(0x1bb)][_0x447d82(0x1bd)](_0x447d82(0x1d1))['to'](this,_0x447d82(0x1b8)),this[_0x447d82(0x1bb)][_0x447d82(0x1bd)](_0x447d82(0x1af))['to'](this[_0x447d82(0x1bb)],_0x447d82(0x1cc),_0x3a1b88=>_0x3a1b88?_0x56c331:_0xac08c0),this[_0x447d82(0x1bb)]['on'](_0x447d82(0x1d2),()=>{const _0xa72e19=_0x447d82;this[_0xa72e19(0x1bb)][_0xa72e19(0x1cc)]=!this[_0xa72e19(0x1bb)][_0xa72e19(0x1cc)],this[_0xa72e19(0x1bc)](_0xa72e19(0x1c0),{'isOn':this[_0xa72e19(0x1bb)][_0xa72e19(0x1cc)]});});const _0xa35df4=new _0x3beb47();_0xa35df4[_0x447d82(0x1cb)]=_0x23eda0,this[_0x447d82(0x1ce)]({'tag':_0x447d82(0x1b2),'attributes':{'class':['ck',_0x447d82(0x1b1),!0x1===_0x303ecc[_0x447d82(0x1c5)]?_0x447d82(0x1c7):null][_0x447d82(0x1b3)](Boolean)},'children':[_0xa35df4,{'tag':_0x447d82(0x1ca),'children':[_0x483054(_0x1738c2,_0x447d82(0x1b4))]},this[_0x447d82(0x1bb)]]});}}export class ShowChangesToggleView extends _0x2d39b3{[_0x17108d(0x1c8)](){const _0x4c3083=_0x17108d;super[_0x4c3083(0x1c8)](),this[_0x4c3083(0x1b7)][_0x4c3083(0x1c9)](this[_0x4c3083(0x1d0)]),this[_0x4c3083(0x1b7)][_0x4c3083(0x1b6)](this[_0x4c3083(0x1d0)]);}}
|