@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.d.ts +5 -2
- 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 +4 -2
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x25bc15=_0x3c1e;(function(_0x21220c,_0x1d020b){const _0x25dd20=_0x3c1e,_0x29fed7=_0x21220c();while(!![]){try{const _0x9fd646=parseInt(_0x25dd20(0x1cd))/0x1+parseInt(_0x25dd20(0x1f0))/0x2*(-parseInt(_0x25dd20(0x1f2))/0x3)+-parseInt(_0x25dd20(0x177))/0x4+parseInt(_0x25dd20(0x175))/0x5+parseInt(_0x25dd20(0x1a9))/0x6+parseInt(_0x25dd20(0x1cb))/0x7*(-parseInt(_0x25dd20(0x199))/0x8)+-parseInt(_0x25dd20(0x1f3))/0x9*(-parseInt(_0x25dd20(0x1bb))/0xa);if(_0x9fd646===_0x1d020b)break;else _0x29fed7['push'](_0x29fed7['shift']());}catch(_0x1d6f74){_0x29fed7['push'](_0x29fed7['shift']());}}}(_0x1334,0x9ca3a));import{View as _0x4f991f,BalloonPanelView as _0x1a6a06,ButtonView as _0x1ba99c,clickOutsideHandler as _0x238ec0}from'ckeditor5/src/ui.js';import{Collection as _0x4c6f97}from'ckeditor5/src/utils.js';function _0x3c1e(_0x1797e7,_0x56a702){const _0x133486=_0x1334();return _0x3c1e=function(_0x3c1efd,_0x4815ba){_0x3c1efd=_0x3c1efd-0x163;let _0x1c4fb8=_0x133486[_0x3c1efd];return _0x1c4fb8;},_0x3c1e(_0x1797e7,_0x56a702);}function _0x1334(){const _0x1b56e=['position','style','disconnect','push','div','pointerEvents','_updateBalloonContent','offsetWidth','documentElement','from','_handleShowMoreButtonClick','_makeAncestorsVisible','_updateShowMoreButtonVisibility','undefined','forEach','show','_repinBalloonPanel','isIntersecting','_distributeChips','width','hideBalloonPanel','body','_setupVisibilityObserver','_restoreAncestorVisibility','overflowChips','block\x20!important','50px','top','8lHmVlF','createElement','_targetContainer','observe','add','block','visible\x20!important','destroy','height','overflowContainer','_renderChipsAndCountRows','showMoreButtonView','_locale','isConnected','isOn','_updateOverflowUI','129192hRIYjH','button','_pendingCalculation','300px','visibility','cssClasses','pin','calculationContainer','ck-calculation-container','+\x201','none','_createMockButton','auto','_checkAndHandleOverflow','length','render','_bodyCollection','_findTargetContainer','940Peyplj','bottom','controlsButton','reorganizeChips','toLowerCase','_showMoreButtonView','_testButtonFit','appendChild','clientWidth','hidden','opacity','clear','left','remove','content','_intersectionObserver','3092537xTNvXm','hide','714315gIQSMb','pop','children','element','abs','_applyCalculationStyles','cloneNode','zIndex','_calculateOverflowInContainer','_calculateContainerWidth','isVisible','tagName','_createShowMoreButton','getComputedStyle','_createCalculationContainer','includes','_createShowMoreButtonView','label','showBalloonPanel','maxVisibleRows','showMoreBalloon','parentElement','_showMoreBalloonPanelView','border-box','execute','boxSizing','.ck-ai-chat','extendTemplate','getBoundingClientRect','querySelector','textContent','disableAnimationOnEnter','setTemplate','-9999px','_applyOverflowResults','148SYSBcR','set','22170tGGbLI','89730ueCFAR','right','setContainerElement','absolute','0px','classList','innerHTML','innerHeight','rowDetectionTolerance','_containerElement','visible','_isContainerVisible','_createContainerElements','slice','_config','clientHeight','showMoreLabelPrefix','_ancestorsToRestore','filter','showMoreButton','some','_overflowChips','3011350EDiGhR','className','2580208dWuzbJ','innerWidth','_parentView','display','_visibleChips','_createShowMoreBalloonPanelView'];_0x1334=function(){return _0x1b56e;};return _0x1334();}const bn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},fn=_0x25bc15(0x1ac);export class AIChatChipsOverflowManager{[_0x25bc15(0x1a5)];[_0x25bc15(0x16d)];[_0x25bc15(0x17b)];[_0x25bc15(0x174)];[_0x25bc15(0x1c0)]=null;[_0x25bc15(0x1e3)]=null;[_0x25bc15(0x168)]=null;[_0x25bc15(0x1b9)];[_0x25bc15(0x179)]=null;[_0x25bc15(0x1ca)]=null;[_0x25bc15(0x1ab)]=!0x1;constructor(_0x2a42d7,_0x492b44,_0x5898a9,_0x395ed5,_0x4f6230){const _0x1c3d81=_0x25bc15;this[_0x1c3d81(0x1a5)]=_0x2a42d7,this[_0x1c3d81(0x17b)]=_0x492b44,this[_0x1c3d81(0x16d)]={...bn,..._0x5898a9,'cssClasses':{'controlsButton':'','calculationContainer':_0x1c3d81(0x1b1),..._0x5898a9[_0x1c3d81(0x1ae)]}},this[_0x1c3d81(0x174)]=new _0x4c6f97(),this[_0x1c3d81(0x1b9)]=_0x395ed5,this[_0x1c3d81(0x179)]=_0x4f6230||null;}[_0x25bc15(0x1f5)](_0x2d9903){const _0x2be0a2=_0x25bc15;this[_0x2be0a2(0x1ca)]&&(this[_0x2be0a2(0x1ca)][_0x2be0a2(0x17f)](),this[_0x2be0a2(0x1ca)]=null),this[_0x2be0a2(0x168)]=_0x2d9903,this[_0x2be0a2(0x193)]();}get[_0x25bc15(0x1a4)](){const _0x5b10d5=_0x25bc15;return this[_0x5b10d5(0x1c0)];}get[_0x25bc15(0x195)](){const _0x64f496=_0x25bc15;return this[_0x64f496(0x174)];}[_0x25bc15(0x1be)](){requestAnimationFrame(()=>{const _0x2b6bf1=_0x3c1e;this[_0x2b6bf1(0x1b6)]();});}[_0x25bc15(0x1df)](){const _0x8caaaa=_0x25bc15;this[_0x8caaaa(0x1c0)]&&this[_0x8caaaa(0x1e3)]&&(this[_0x8caaaa(0x183)](),this[_0x8caaaa(0x1c0)][_0x8caaaa(0x1a7)]=!0x0,this[_0x8caaaa(0x1e3)][_0x8caaaa(0x18c)](),this[_0x8caaaa(0x1e3)][_0x8caaaa(0x1af)]({'target':this[_0x8caaaa(0x1c0)][_0x8caaaa(0x1d0)],'limiter':document[_0x8caaaa(0x1ea)](_0x8caaaa(0x1e7))}));}[_0x25bc15(0x191)](){const _0xb5f1bf=_0x25bc15;this[_0xb5f1bf(0x1c0)]&&this[_0xb5f1bf(0x1e3)]&&(this[_0xb5f1bf(0x1c0)][_0xb5f1bf(0x1a7)]=!0x1,this[_0xb5f1bf(0x1e3)][_0xb5f1bf(0x1cc)]());}[_0x25bc15(0x1c6)](){const _0x181930=_0x25bc15;this[_0x181930(0x174)][_0x181930(0x1c6)](),this[_0x181930(0x191)](),this[_0x181930(0x189)](),this[_0x181930(0x1c0)]&&(this[_0x181930(0x1c0)][_0x181930(0x1de)]=''),this[_0x181930(0x1e3)]&&this[_0x181930(0x1e3)][_0x181930(0x1c9)][_0x181930(0x1c6)]();}[_0x25bc15(0x1a0)](){const _0x17ba4b=_0x25bc15;this[_0x17ba4b(0x1ca)]&&(this[_0x17ba4b(0x1ca)][_0x17ba4b(0x17f)](),this[_0x17ba4b(0x1ca)]=null),this[_0x17ba4b(0x1c0)]&&(this[_0x17ba4b(0x1c0)][_0x17ba4b(0x1a0)](),this[_0x17ba4b(0x1c0)]=null),this[_0x17ba4b(0x1e3)]&&(this[_0x17ba4b(0x1e3)][_0x17ba4b(0x1a0)](),this[_0x17ba4b(0x1e3)]=null);}[_0x25bc15(0x1b6)](){const _0x2945fa=_0x25bc15;if(!this[_0x2945fa(0x168)])return;if(!this[_0x2945fa(0x16a)]())return void(this[_0x2945fa(0x1ab)]=!0x0);this[_0x2945fa(0x1ab)]=!0x1;const _0x344b35=[...this[_0x2945fa(0x17b)],...this[_0x2945fa(0x174)]],_0x235092=this[_0x2945fa(0x1db)](),_0x16b24a=this[_0x2945fa(0x1d5)](_0x235092,_0x344b35),_0x31cd80=_0x235092[_0x2945fa(0x170)];_0x31cd80&&this[_0x2945fa(0x194)](_0x31cd80),_0x235092[_0x2945fa(0x1c8)](),this[_0x2945fa(0x1ef)](_0x344b35,_0x16b24a);}[_0x25bc15(0x1d9)](){const _0x4fd4ec=_0x25bc15;this[_0x4fd4ec(0x1c0)]=this[_0x4fd4ec(0x1dd)](),this[_0x4fd4ec(0x1e3)]=this[_0x4fd4ec(0x17c)](),this[_0x4fd4ec(0x1c0)][_0x4fd4ec(0x1b8)](),this[_0x4fd4ec(0x168)][_0x4fd4ec(0x1c2)](this[_0x4fd4ec(0x1c0)][_0x4fd4ec(0x1d0)]),this[_0x4fd4ec(0x1c0)]['on'](_0x4fd4ec(0x1e5),()=>{const _0x143be0=_0x4fd4ec;this[_0x143be0(0x187)]();}),_0x238ec0({'emitter':this[_0x4fd4ec(0x1e3)],'contextElements':[this[_0x4fd4ec(0x1e3)][_0x4fd4ec(0x1d0)],this[_0x4fd4ec(0x1c0)][_0x4fd4ec(0x1d0)]],'callback':()=>this[_0x4fd4ec(0x191)](),'activator':()=>this[_0x4fd4ec(0x1c0)][_0x4fd4ec(0x1a7)]});}[_0x25bc15(0x1dd)](){const _0x78eba5=_0x25bc15,_0x188f85=new _0x1ba99c(this[_0x78eba5(0x1a5)]);_0x188f85[_0x78eba5(0x1f1)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3916c3=[this[_0x78eba5(0x16d)][_0x78eba5(0x1ae)][_0x78eba5(0x172)]];return this[_0x78eba5(0x16d)][_0x78eba5(0x1ae)][_0x78eba5(0x1bd)]&&_0x3916c3[_0x78eba5(0x180)](this[_0x78eba5(0x16d)][_0x78eba5(0x1ae)][_0x78eba5(0x1bd)]),_0x188f85[_0x78eba5(0x1e8)]({'attributes':{'class':_0x3916c3}}),_0x188f85;}[_0x25bc15(0x17c)](){const _0x504ff3=_0x25bc15,_0x85321e=new _0x1a6a06(this[_0x504ff3(0x1a5)]);return _0x85321e[_0x504ff3(0x1e8)]({'attributes':{'class':this[_0x504ff3(0x16d)][_0x504ff3(0x1ae)][_0x504ff3(0x1e1)]}}),this[_0x504ff3(0x1b9)][_0x504ff3(0x19d)](_0x85321e),_0x85321e;}[_0x25bc15(0x183)](){const _0x4d646b=_0x25bc15;if(this[_0x4d646b(0x1e3)]&&(this[_0x4d646b(0x1e3)][_0x4d646b(0x1c9)][_0x4d646b(0x1c6)](),this[_0x4d646b(0x174)][_0x4d646b(0x1b7)]>0x0)){this[_0x4d646b(0x174)][_0x4d646b(0x18b)](_0x3d7138=>{const _0x2662e8=_0x4d646b;_0x3d7138[_0x2662e8(0x1ec)]();});const _0xc7a98f=new _0x4f991f(this[_0x4d646b(0x1a5)]);_0xc7a98f[_0x4d646b(0x1ed)]({'tag':_0x4d646b(0x181),'attributes':{'class':this[_0x4d646b(0x16d)][_0x4d646b(0x1ae)][_0x4d646b(0x1a2)]},'children':this[_0x4d646b(0x174)]}),this[_0x4d646b(0x1e3)][_0x4d646b(0x1c9)][_0x4d646b(0x19d)](_0xc7a98f);}}[_0x25bc15(0x187)](){const _0x3d058a=_0x25bc15;this[_0x3d058a(0x1c0)][_0x3d058a(0x1a7)]?this[_0x3d058a(0x191)]():this[_0x3d058a(0x1df)]();}[_0x25bc15(0x189)](){const _0x50ecd2=_0x25bc15,_0x3f9a17=this[_0x50ecd2(0x174)][_0x50ecd2(0x1b7)]>0x0;this[_0x50ecd2(0x1c0)]?.[_0x50ecd2(0x1d0)]&&(this[_0x50ecd2(0x1c0)][_0x50ecd2(0x1d0)][_0x50ecd2(0x17e)][_0x50ecd2(0x17a)]=_0x3f9a17?'':_0x50ecd2(0x1b3));}[_0x25bc15(0x18d)](){const _0x18228c=_0x25bc15;this[_0x18228c(0x1c0)]?.[_0x18228c(0x1a7)]&&this[_0x18228c(0x1e3)]?.[_0x18228c(0x1d7)]&&this[_0x18228c(0x1c0)][_0x18228c(0x1d0)]&&this[_0x18228c(0x1e3)][_0x18228c(0x1af)]({'target':this[_0x18228c(0x1c0)][_0x18228c(0x1d0)],'limiter':document[_0x18228c(0x1ea)](_0x18228c(0x1e7))});}[_0x25bc15(0x1ba)](_0x20b8db){const _0x4789f7=_0x25bc15,_0x1b9835=this[_0x4789f7(0x168)]?.[_0x4789f7(0x1d8)][_0x4789f7(0x1bf)]()||_0x4789f7(0x181),_0x29172c=this[_0x4789f7(0x168)]?.[_0x4789f7(0x164)];if(_0x29172c){const _0x2b85af=_0x29172c[0x0]||'',_0x431bb7=_0x20b8db[_0x4789f7(0x1ea)]('.'+_0x2b85af),_0x57c39a=_0x20b8db[_0x4789f7(0x1ea)](_0x1b9835);return _0x431bb7||_0x57c39a||_0x20b8db;}return _0x20b8db[_0x4789f7(0x1ea)](_0x1b9835)||_0x20b8db;}[_0x25bc15(0x1d6)](){const _0x3b5be4=_0x25bc15,_0x3ba8ec=this[_0x3b5be4(0x179)]?.[_0x3b5be4(0x1d0)]||this[_0x3b5be4(0x168)];if(!_0x3ba8ec)return fn;const _0x3ac59c=window[_0x3b5be4(0x1da)](_0x3ba8ec)[_0x3b5be4(0x190)];if(_0x3b5be4(0x1b5)===_0x3ac59c||_0x3b5be4(0x163)===_0x3ac59c||!_0x3ac59c){const _0x6d823b=_0x3ba8ec[_0x3b5be4(0x1e2)];if(_0x6d823b){const _0x2eda32=window[_0x3b5be4(0x1da)](_0x6d823b);return _0x3b5be4(0x1b5)!==_0x2eda32[_0x3b5be4(0x190)]?_0x2eda32[_0x3b5be4(0x190)]:fn;}return fn;}return _0x3ac59c;}[_0x25bc15(0x1d2)](_0x2e8f08,_0x19de32){const _0xc10a79=_0x25bc15;this[_0xc10a79(0x16d)][_0xc10a79(0x1ae)][_0xc10a79(0x1b0)]&&_0x2e8f08[_0xc10a79(0x164)][_0xc10a79(0x19d)](this[_0xc10a79(0x16d)][_0xc10a79(0x1ae)][_0xc10a79(0x1b0)]),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x190)]=_0x19de32,_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x17d)]=_0xc10a79(0x1f6),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x198)]=_0xc10a79(0x1ee),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x1c7)]=_0xc10a79(0x1ee),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x1c5)]='0',_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x182)]=_0xc10a79(0x1b3),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x1d4)]='-1',_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x1ad)]=_0xc10a79(0x19f),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x17a)]=_0xc10a79(0x196),_0x2e8f08[_0xc10a79(0x17e)][_0xc10a79(0x1e6)]=_0xc10a79(0x1e4);}[_0x25bc15(0x194)](_0x4cac80){const _0x2fbd83=_0x25bc15;_0x4cac80[_0x2fbd83(0x18b)](({element:_0x2a9dab,originalDisplay:_0x1d6e1a,originalVisibility:_0x5aa1cd})=>{const _0x3e0c95=_0x2fbd83;_0x2a9dab[_0x3e0c95(0x17e)][_0x3e0c95(0x17a)]=_0x1d6e1a,_0x2a9dab[_0x3e0c95(0x17e)][_0x3e0c95(0x1ad)]=_0x5aa1cd;});}[_0x25bc15(0x188)](_0x284d34){const _0x37582c=_0x25bc15,_0x828f5=[];let _0x47fdf3=_0x284d34;for(;_0x47fdf3&&_0x47fdf3!==document[_0x37582c(0x192)];){const _0x3ab7ab=window[_0x37582c(0x1da)](_0x47fdf3);_0x37582c(0x1b3)!==_0x3ab7ab[_0x37582c(0x17a)]&&_0x37582c(0x1c4)!==_0x3ab7ab[_0x37582c(0x1ad)]||(_0x828f5[_0x37582c(0x180)]({'element':_0x47fdf3,'originalDisplay':_0x47fdf3[_0x37582c(0x17e)][_0x37582c(0x17a)],'originalVisibility':_0x47fdf3[_0x37582c(0x17e)][_0x37582c(0x1ad)]}),_0x47fdf3[_0x37582c(0x17e)][_0x37582c(0x17a)]=_0x37582c(0x19e),_0x47fdf3[_0x37582c(0x17e)][_0x37582c(0x1ad)]=_0x37582c(0x169)),_0x47fdf3=_0x47fdf3[_0x37582c(0x1e2)];}return _0x828f5;}[_0x25bc15(0x16b)](){const _0x4c9743=_0x25bc15;let _0x2015ca,_0xc008ef;return this[_0x4c9743(0x179)]?.[_0x4c9743(0x1d0)]?(_0x2015ca=this[_0x4c9743(0x179)][_0x4c9743(0x1d0)][_0x4c9743(0x1d3)](!0x0),_0xc008ef=this[_0x4c9743(0x1ba)](_0x2015ca)):(_0x2015ca=document[_0x4c9743(0x19a)](_0x4c9743(0x181)),_0xc008ef=_0x2015ca),{'calculationContainer':_0x2015ca,'targetContainer':_0xc008ef};}[_0x25bc15(0x1db)](){const _0xf73bb1=_0x25bc15,{calculationContainer:_0x4ab8fc,targetContainer:_0x523b04}=this[_0xf73bb1(0x16b)](),_0x2930b7=this[_0xf73bb1(0x1d6)]();this[_0xf73bb1(0x1d2)](_0x4ab8fc,_0x2930b7);const _0x54ef29=this[_0xf73bb1(0x179)]?.[_0xf73bb1(0x1d0)]||this[_0xf73bb1(0x168)],_0x583e99=_0x54ef29?.[_0xf73bb1(0x1e2)];_0x583e99?_0x583e99[_0xf73bb1(0x1c2)](_0x4ab8fc):document[_0xf73bb1(0x192)][_0xf73bb1(0x1c2)](_0x4ab8fc),_0x4ab8fc[_0xf73bb1(0x19b)]=_0x523b04;const _0xe34114=this[_0xf73bb1(0x188)](_0x583e99||null);return _0x4ab8fc[_0xf73bb1(0x184)],_0x4ab8fc[_0xf73bb1(0x170)]=_0xe34114,_0x4ab8fc;}[_0x25bc15(0x1d5)](_0x5d7763,_0xbc5f11){const _0xf931f3=_0x25bc15,_0x4e511c=_0x5d7763[_0xf931f3(0x19b)]||_0x5d7763,_0x2fcc5f=[],{rowCount:_0x6c0808}=this[_0xf931f3(0x1a3)](_0x4e511c,_0xbc5f11);if(_0x6c0808<=this[_0xf931f3(0x16d)][_0xf931f3(0x1e0)])return _0x2fcc5f;const _0x4aa31f=_0xbc5f11[_0xf931f3(0x16c)]();for(;_0x4aa31f[_0xf931f3(0x1b7)]>0x0;){if(this[_0xf931f3(0x1c1)](_0x5d7763,_0x4e511c,_0x4aa31f)){const _0x35b69e=_0xbc5f11[_0xf931f3(0x171)](_0x3f1283=>!_0x4aa31f[_0xf931f3(0x1dc)](_0x3f1283));_0x2fcc5f[_0xf931f3(0x180)](..._0x35b69e);break;}if(!_0x4aa31f[_0xf931f3(0x1ce)]())break;}return _0x2fcc5f;}[_0x25bc15(0x1a3)](_0x55c0aa,_0x1ad484){const _0x16775b=_0x25bc15;_0x55c0aa[_0x16775b(0x165)]='',_0x1ad484[_0x16775b(0x18b)](_0x312f19=>{const _0x3aa84e=_0x16775b;if(_0x312f19[_0x3aa84e(0x1d0)]){const _0x52fa7b=_0x312f19[_0x3aa84e(0x1d0)][_0x3aa84e(0x1d3)](!0x0);_0x55c0aa[_0x3aa84e(0x1c2)](_0x52fa7b);}}),_0x55c0aa[_0x16775b(0x184)];const _0x5aa700=_0x55c0aa[_0x16775b(0x1cf)],_0x8093ff=[];return Array[_0x16775b(0x186)](_0x5aa700)[_0x16775b(0x18b)](_0x41dac4=>{const _0x5b38bc=_0x16775b,_0x273768=_0x41dac4[_0x5b38bc(0x1e9)]()[_0x5b38bc(0x198)];_0x8093ff[_0x5b38bc(0x173)](_0x5520b5=>Math[_0x5b38bc(0x1d1)](_0x5520b5-_0x273768)<this[_0x5b38bc(0x16d)][_0x5b38bc(0x167)])||_0x8093ff[_0x5b38bc(0x180)](_0x273768);}),{'rowCount':_0x8093ff[_0x16775b(0x1b7)]};}[_0x25bc15(0x1b4)](){const _0xd3c242=_0x25bc15,_0x10ae22=document[_0xd3c242(0x19a)](_0xd3c242(0x1aa));return _0x10ae22[_0xd3c242(0x176)]=this[_0xd3c242(0x16d)][_0xd3c242(0x1ae)][_0xd3c242(0x172)],this[_0xd3c242(0x16d)][_0xd3c242(0x1ae)][_0xd3c242(0x1bd)]&&_0x10ae22[_0xd3c242(0x164)][_0xd3c242(0x19d)](this[_0xd3c242(0x16d)][_0xd3c242(0x1ae)][_0xd3c242(0x1bd)]),_0x10ae22[_0xd3c242(0x1eb)]=_0xd3c242(0x1b2),_0x10ae22;}[_0x25bc15(0x1c1)](_0x3d4e74,_0x5c52c6,_0x457f30){const _0x66100a=_0x25bc15;this[_0x66100a(0x1a3)](_0x5c52c6,_0x457f30);const _0x448ee9=this[_0x66100a(0x1b4)]();_0x3d4e74[_0x66100a(0x1c2)](_0x448ee9),_0x3d4e74[_0x66100a(0x184)];const _0x2b908f=[..._0x5c52c6[_0x66100a(0x1cf)],_0x448ee9],_0x416207=[];_0x2b908f[_0x66100a(0x18b)](_0x497881=>{const _0x574ecc=_0x66100a,_0x369050=_0x497881[_0x574ecc(0x1e9)]()[_0x574ecc(0x198)];_0x416207[_0x574ecc(0x173)](_0x147d5b=>Math[_0x574ecc(0x1d1)](_0x147d5b-_0x369050)<this[_0x574ecc(0x16d)][_0x574ecc(0x167)])||_0x416207[_0x574ecc(0x180)](_0x369050);});const _0x5e5948=_0x416207[_0x66100a(0x1b7)];return _0x448ee9[_0x66100a(0x1c8)](),_0x5e5948<=this[_0x66100a(0x16d)][_0x66100a(0x1e0)];}[_0x25bc15(0x18f)](_0x5990df,_0xbb8ee2){const _0x31cdab=_0x25bc15;this[_0x31cdab(0x17b)][_0x31cdab(0x1c6)](),this[_0x31cdab(0x174)][_0x31cdab(0x1c6)](),_0x5990df[_0x31cdab(0x18b)](_0x43f3f6=>{const _0x2beb9e=_0x31cdab;_0xbb8ee2[_0x2beb9e(0x1dc)](_0x43f3f6)?this[_0x2beb9e(0x174)][_0x2beb9e(0x19d)](_0x43f3f6):this[_0x2beb9e(0x17b)][_0x2beb9e(0x19d)](_0x43f3f6);});}[_0x25bc15(0x1a8)](_0x30f09a){const _0x387cf2=_0x25bc15;if(_0x30f09a>0x0&&!this[_0x387cf2(0x1c0)]&&this[_0x387cf2(0x1d9)](),_0x30f09a>0x0&&this[_0x387cf2(0x1c0)]){const _0x4d6880=''+this[_0x387cf2(0x16d)][_0x387cf2(0x16f)]+(_0x30f09a<0x63?_0x30f09a:'99');this[_0x387cf2(0x1c0)][_0x387cf2(0x1de)]=_0x4d6880;}this[_0x387cf2(0x183)](),this[_0x387cf2(0x189)](),this[_0x387cf2(0x18d)]();}[_0x25bc15(0x1ef)](_0x5e3bd2,_0x800414){const _0xeaec69=_0x25bc15;this[_0xeaec69(0x18f)](_0x5e3bd2,_0x800414),this[_0xeaec69(0x1a8)](_0x800414[_0xeaec69(0x1b7)]);}[_0x25bc15(0x193)](){const _0x50c7c2=_0x25bc15;this[_0x50c7c2(0x168)]&&_0x50c7c2(0x18a)!=typeof IntersectionObserver&&(this[_0x50c7c2(0x1ca)]=new IntersectionObserver(_0x5e907d=>{const _0x575e4c=_0x50c7c2;_0x5e907d[0x0][_0x575e4c(0x18e)]&&this[_0x575e4c(0x1ab)]&&requestAnimationFrame(()=>{const _0x26dc6d=_0x575e4c;this[_0x26dc6d(0x1b6)]();});},{'threshold':0.01,'rootMargin':_0x50c7c2(0x197)}),this[_0x50c7c2(0x1ca)][_0x50c7c2(0x19c)](this[_0x50c7c2(0x168)]));}[_0x25bc15(0x16a)](){const _0x1b111c=_0x25bc15;if(!this[_0x1b111c(0x168)])return!0x1;if(!this[_0x1b111c(0x168)][_0x1b111c(0x1a6)])return!0x1;const _0x81914a=this[_0x1b111c(0x168)][_0x1b111c(0x1e9)]();if(0x0===_0x81914a[_0x1b111c(0x190)]||0x0===_0x81914a[_0x1b111c(0x1a1)])return!0x1;const _0x261bfa=window[_0x1b111c(0x166)]||document[_0x1b111c(0x185)][_0x1b111c(0x16e)],_0x23bd31=window[_0x1b111c(0x178)]||document[_0x1b111c(0x185)][_0x1b111c(0x1c3)],_0x53c76e=0xc8;return _0x81914a[_0x1b111c(0x1bc)]>=-0xc8&&_0x81914a[_0x1b111c(0x198)]<=_0x261bfa+_0x53c76e&&_0x81914a[_0x1b111c(0x1f4)]>=-0xc8&&_0x81914a[_0x1b111c(0x1c7)]<=_0x23bd31+_0x53c76e;}}
|
|
23
|
+
const _0x446c6a=_0x1289;(function(_0x46cab2,_0x43c5f8){const _0x353632=_0x1289,_0x1682ff=_0x46cab2();while(!![]){try{const _0x545a74=parseInt(_0x353632(0xfa))/0x1+parseInt(_0x353632(0x117))/0x2+parseInt(_0x353632(0x142))/0x3+parseInt(_0x353632(0x123))/0x4*(parseInt(_0x353632(0x128))/0x5)+parseInt(_0x353632(0x119))/0x6*(-parseInt(_0x353632(0x141))/0x7)+-parseInt(_0x353632(0x15a))/0x8*(parseInt(_0x353632(0x132))/0x9)+-parseInt(_0x353632(0x14a))/0xa;if(_0x545a74===_0x43c5f8)break;else _0x1682ff['push'](_0x1682ff['shift']());}catch(_0x447539){_0x1682ff['push'](_0x1682ff['shift']());}}}(_0x151d,0x5d031));import{View as _0x5527c0,BalloonPanelView as _0x4fadfd,ButtonView as _0x29ce90,clickOutsideHandler as _0x506766}from'ckeditor5/src/ui.js';import{Collection as _0x180001}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x446c6a(0x106);function _0x1289(_0x3350cb,_0x215a98){const _0x151df1=_0x151d();return _0x1289=function(_0x1289e4,_0x1b8d85){_0x1289e4=_0x1289e4-0xe2;let _0x32d53d=_0x151df1[_0x1289e4];return _0x32d53d;},_0x1289(_0x3350cb,_0x215a98);}function _0x151d(){const _0x5a0e55=['innerHeight','className','_applyOverflowResults','isConnected','boxSizing','includes','height','block\x20!important','getComputedStyle','pin','185208rWTcpq','_createContainerElements','_repinBalloonPanel','bottom','children','_calculateOverflowInContainer','_findTargetContainer','_setupVisibilityObserver','_pendingCalculation','right','add','pointerEvents','300px','button','overflowChips','_checkAndHandleOverflow','_parentView','isVisible','overflowContainer','0px','_showMoreButtonView','reorganizeChips','_renderChipsAndCountRows','content','maxVisibleRows','slice','zIndex','body','hideBalloonPanel','208032CZSies','controlsButton','65400KsEfUi','hide','_overflowChips','destroy','undefined','none','createElement','push','_bodyCollection','auto','1988248gyCBFb','isOn','_targetContainer','setContainerElement','_createShowMoreBalloonPanelView','5CPGrUp','from','textContent','clear','element','hidden','visible\x20!important','_updateBalloonContent','documentElement','display','9Smqkro','clientWidth','position','calculationContainer','+\x201','width','visibility','visible','abs','toLowerCase','filter','execute','_restoreAncestorVisibility','querySelector','left','28CYQYjO','1804422LjePam','_handleShowMoreButtonClick','_distributeChips','show','_testButtonFit','showBalloonPanel','render','_updateOverflowUI','6124100yDgDjb','_calculateContainerWidth','showMoreButton','clientHeight','setTemplate','parentElement','top','disconnect','.ck-ai-chat','disableAnimationOnEnter','set','isIntersecting','innerWidth','absolute','_ancestorsToRestore','tagName','2806184PvpMTb','showMoreBalloon','_updateShowMoreButtonVisibility','extendTemplate','_createShowMoreButtonView','cloneNode','getBoundingClientRect','some','50px','_isContainerVisible','forEach','rowDetectionTolerance','style','block','-9999px','_createCalculationContainer','_showMoreBalloonPanelView','showMoreLabelPrefix','div','_visibleChips','appendChild','_createShowMoreButton','cssClasses','_intersectionObserver','_makeAncestorsVisible','_config','pop','opacity','_containerElement','remove','border-box','_createMockButton','offsetWidth','observe','ck-calculation-container','label','_applyCalculationStyles','classList','innerHTML','showMoreButtonView','length','_locale'];_0x151d=function(){return _0x5a0e55;};return _0x151d();}export class AIChatChipsOverflowManager{[_0x446c6a(0xef)];[_0x446c6a(0x173)];[_0x446c6a(0x16d)];[_0x446c6a(0x11b)];[_0x446c6a(0x10e)]=null;[_0x446c6a(0x16a)]=null;[_0x446c6a(0xe2)]=null;[_0x446c6a(0x121)];[_0x446c6a(0x10a)]=null;[_0x446c6a(0x171)]=null;[_0x446c6a(0x102)]=!0x1;constructor(_0x4274c4,_0x79997b,_0x5f45dd,_0x2f6a25,_0x5e006c){const _0x5ee836=_0x446c6a;this[_0x5ee836(0xef)]=_0x4274c4,this[_0x5ee836(0x16d)]=_0x79997b,this[_0x5ee836(0x173)]={...hn,..._0x5f45dd,'cssClasses':{'controlsButton':'','calculationContainer':_0x5ee836(0xe8),..._0x5f45dd[_0x5ee836(0x170)]}},this[_0x5ee836(0x11b)]=new _0x180001(),this[_0x5ee836(0x121)]=_0x2f6a25,this[_0x5ee836(0x10a)]=_0x5e006c||null;}[_0x446c6a(0x126)](_0x46e402){const _0x41a400=_0x446c6a;this[_0x41a400(0x171)]&&(this[_0x41a400(0x171)][_0x41a400(0x151)](),this[_0x41a400(0x171)]=null),this[_0x41a400(0xe2)]=_0x46e402,this[_0x41a400(0x101)]();}get[_0x446c6a(0xed)](){const _0x5944ae=_0x446c6a;return this[_0x5944ae(0x10e)];}get[_0x446c6a(0x108)](){const _0x3daa3a=_0x446c6a;return this[_0x3daa3a(0x11b)];}[_0x446c6a(0x10f)](){requestAnimationFrame(()=>{const _0x59e86b=_0x1289;this[_0x59e86b(0x109)]();});}[_0x446c6a(0x147)](){const _0x5c7715=_0x446c6a;this[_0x5c7715(0x10e)]&&this[_0x5c7715(0x16a)]&&(this[_0x5c7715(0x12f)](),this[_0x5c7715(0x10e)][_0x5c7715(0x124)]=!0x0,this[_0x5c7715(0x16a)][_0x5c7715(0x145)](),this[_0x5c7715(0x16a)][_0x5c7715(0xf9)]({'target':this[_0x5c7715(0x10e)][_0x5c7715(0x12c)],'limiter':document[_0x5c7715(0x13f)](_0x5c7715(0x152))}));}[_0x446c6a(0x116)](){const _0x58f5ad=_0x446c6a;this[_0x58f5ad(0x10e)]&&this[_0x58f5ad(0x16a)]&&(this[_0x58f5ad(0x10e)][_0x58f5ad(0x124)]=!0x1,this[_0x58f5ad(0x16a)][_0x58f5ad(0x11a)]());}[_0x446c6a(0x12b)](){const _0x2bc6d5=_0x446c6a;this[_0x2bc6d5(0x11b)][_0x2bc6d5(0x12b)](),this[_0x2bc6d5(0x116)](),this[_0x2bc6d5(0x15c)](),this[_0x2bc6d5(0x10e)]&&(this[_0x2bc6d5(0x10e)][_0x2bc6d5(0xe9)]=''),this[_0x2bc6d5(0x16a)]&&this[_0x2bc6d5(0x16a)][_0x2bc6d5(0x111)][_0x2bc6d5(0x12b)]();}[_0x446c6a(0x11c)](){const _0x4dcbbd=_0x446c6a;this[_0x4dcbbd(0x171)]&&(this[_0x4dcbbd(0x171)][_0x4dcbbd(0x151)](),this[_0x4dcbbd(0x171)]=null),this[_0x4dcbbd(0x10e)]&&(this[_0x4dcbbd(0x10e)][_0x4dcbbd(0x11c)](),this[_0x4dcbbd(0x10e)]=null),this[_0x4dcbbd(0x16a)]&&(this[_0x4dcbbd(0x16a)][_0x4dcbbd(0x11c)](),this[_0x4dcbbd(0x16a)]=null);}[_0x446c6a(0x109)](){const _0x58d96d=_0x446c6a;if(!this[_0x58d96d(0xe2)])return;if(!this[_0x58d96d(0x163)]())return void(this[_0x58d96d(0x102)]=!0x0);this[_0x58d96d(0x102)]=!0x1;const _0x440282=[...this[_0x58d96d(0x16d)],...this[_0x58d96d(0x11b)]],_0x28236e=this[_0x58d96d(0x169)](),_0x87067e=this[_0x58d96d(0xff)](_0x28236e,_0x440282),_0x367208=_0x28236e[_0x58d96d(0x158)];_0x367208&&this[_0x58d96d(0x13e)](_0x367208),_0x28236e[_0x58d96d(0xe3)](),this[_0x58d96d(0xf2)](_0x440282,_0x87067e);}[_0x446c6a(0x16f)](){const _0xf64cfb=_0x446c6a;this[_0xf64cfb(0x10e)]=this[_0xf64cfb(0x15e)](),this[_0xf64cfb(0x16a)]=this[_0xf64cfb(0x127)](),this[_0xf64cfb(0x10e)][_0xf64cfb(0x148)](),this[_0xf64cfb(0xe2)][_0xf64cfb(0x16e)](this[_0xf64cfb(0x10e)][_0xf64cfb(0x12c)]),this[_0xf64cfb(0x10e)]['on'](_0xf64cfb(0x13d),()=>{const _0x3e7e32=_0xf64cfb;this[_0x3e7e32(0x143)]();}),_0x506766({'emitter':this[_0xf64cfb(0x16a)],'contextElements':[this[_0xf64cfb(0x16a)][_0xf64cfb(0x12c)],this[_0xf64cfb(0x10e)][_0xf64cfb(0x12c)]],'callback':()=>this[_0xf64cfb(0x116)](),'activator':()=>this[_0xf64cfb(0x10e)][_0xf64cfb(0x124)]});}[_0x446c6a(0x15e)](){const _0x202324=_0x446c6a,_0x1f1459=new _0x29ce90(this[_0x202324(0xef)]);_0x1f1459[_0x202324(0x154)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x515b35=[this[_0x202324(0x173)][_0x202324(0x170)][_0x202324(0x14c)]];return this[_0x202324(0x173)][_0x202324(0x170)][_0x202324(0x118)]&&_0x515b35[_0x202324(0x120)](this[_0x202324(0x173)][_0x202324(0x170)][_0x202324(0x118)]),_0x1f1459[_0x202324(0x15d)]({'attributes':{'class':_0x515b35}}),_0x1f1459;}[_0x446c6a(0x127)](){const _0x4b8831=_0x446c6a,_0x32a834=new _0x4fadfd(this[_0x4b8831(0xef)]);return _0x32a834[_0x4b8831(0x15d)]({'attributes':{'class':this[_0x4b8831(0x173)][_0x4b8831(0x170)][_0x4b8831(0x15b)]}}),this[_0x4b8831(0x121)][_0x4b8831(0x104)](_0x32a834),_0x32a834;}[_0x446c6a(0x12f)](){const _0x4daeb3=_0x446c6a;if(this[_0x4daeb3(0x16a)]&&(this[_0x4daeb3(0x16a)][_0x4daeb3(0x111)][_0x4daeb3(0x12b)](),this[_0x4daeb3(0x11b)][_0x4daeb3(0xee)]>0x0)){this[_0x4daeb3(0x11b)][_0x4daeb3(0x164)](_0x180351=>{const _0x30b8c6=_0x4daeb3;_0x180351[_0x30b8c6(0x153)]();});const _0x21ef3d=new _0x5527c0(this[_0x4daeb3(0xef)]);_0x21ef3d[_0x4daeb3(0x14e)]({'tag':_0x4daeb3(0x16c),'attributes':{'class':this[_0x4daeb3(0x173)][_0x4daeb3(0x170)][_0x4daeb3(0x10c)]},'children':this[_0x4daeb3(0x11b)]}),this[_0x4daeb3(0x16a)][_0x4daeb3(0x111)][_0x4daeb3(0x104)](_0x21ef3d);}}[_0x446c6a(0x143)](){const _0x14cae1=_0x446c6a;this[_0x14cae1(0x10e)][_0x14cae1(0x124)]?this[_0x14cae1(0x116)]():this[_0x14cae1(0x147)]();}[_0x446c6a(0x15c)](){const _0xaeb570=_0x446c6a,_0x56f53c=this[_0xaeb570(0x11b)][_0xaeb570(0xee)]>0x0;this[_0xaeb570(0x10e)]?.[_0xaeb570(0x12c)]&&(this[_0xaeb570(0x10e)][_0xaeb570(0x12c)][_0xaeb570(0x166)][_0xaeb570(0x131)]=_0x56f53c?'':_0xaeb570(0x11e));}[_0x446c6a(0xfc)](){const _0x520294=_0x446c6a;this[_0x520294(0x10e)]?.[_0x520294(0x124)]&&this[_0x520294(0x16a)]?.[_0x520294(0x10b)]&&this[_0x520294(0x10e)][_0x520294(0x12c)]&&this[_0x520294(0x16a)][_0x520294(0xf9)]({'target':this[_0x520294(0x10e)][_0x520294(0x12c)],'limiter':document[_0x520294(0x13f)](_0x520294(0x152))});}[_0x446c6a(0x100)](_0x2b49f2){const _0x5ef623=_0x446c6a,_0x332551=this[_0x5ef623(0xe2)]?.[_0x5ef623(0x159)][_0x5ef623(0x13b)]()||_0x5ef623(0x16c),_0x36386d=this[_0x5ef623(0xe2)]?.[_0x5ef623(0xeb)];if(_0x36386d){const _0x52cc51=_0x36386d[0x0]||'',_0x4ecade=_0x2b49f2[_0x5ef623(0x13f)]('.'+_0x52cc51),_0x2c1538=_0x2b49f2[_0x5ef623(0x13f)](_0x332551);return _0x4ecade||_0x2c1538||_0x2b49f2;}return _0x2b49f2[_0x5ef623(0x13f)](_0x332551)||_0x2b49f2;}[_0x446c6a(0x14b)](){const _0x326873=_0x446c6a,_0x5cea4e=this[_0x326873(0x10a)]?.[_0x326873(0x12c)]||this[_0x326873(0xe2)];if(!_0x5cea4e)return an;const _0x41a6ca=window[_0x326873(0xf8)](_0x5cea4e)[_0x326873(0x137)];if(_0x326873(0x122)===_0x41a6ca||_0x326873(0x10d)===_0x41a6ca||!_0x41a6ca){const _0x30f9b9=_0x5cea4e[_0x326873(0x14f)];if(_0x30f9b9){const _0x1ce1f7=window[_0x326873(0xf8)](_0x30f9b9);return _0x326873(0x122)!==_0x1ce1f7[_0x326873(0x137)]?_0x1ce1f7[_0x326873(0x137)]:an;}return an;}return _0x41a6ca;}[_0x446c6a(0xea)](_0x312ef2,_0xa44555){const _0x52de12=_0x446c6a;this[_0x52de12(0x173)][_0x52de12(0x170)][_0x52de12(0x135)]&&_0x312ef2[_0x52de12(0xeb)][_0x52de12(0x104)](this[_0x52de12(0x173)][_0x52de12(0x170)][_0x52de12(0x135)]),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x137)]=_0xa44555,_0x312ef2[_0x52de12(0x166)][_0x52de12(0x134)]=_0x52de12(0x157),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x150)]=_0x52de12(0x168),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x140)]=_0x52de12(0x168),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x175)]='0',_0x312ef2[_0x52de12(0x166)][_0x52de12(0x105)]=_0x52de12(0x11e),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x114)]='-1',_0x312ef2[_0x52de12(0x166)][_0x52de12(0x138)]=_0x52de12(0x12e),_0x312ef2[_0x52de12(0x166)][_0x52de12(0x131)]=_0x52de12(0xf7),_0x312ef2[_0x52de12(0x166)][_0x52de12(0xf4)]=_0x52de12(0xe4);}[_0x446c6a(0x13e)](_0x3be8f1){const _0x2b1e35=_0x446c6a;_0x3be8f1[_0x2b1e35(0x164)](({element:_0x42b5d2,originalDisplay:_0x52043f,originalVisibility:_0x4be0bd})=>{const _0x4ba379=_0x2b1e35;_0x42b5d2[_0x4ba379(0x166)][_0x4ba379(0x131)]=_0x52043f,_0x42b5d2[_0x4ba379(0x166)][_0x4ba379(0x138)]=_0x4be0bd;});}[_0x446c6a(0x172)](_0x2ac862){const _0x47fbd4=_0x446c6a,_0x359d3a=[];let _0x53a87b=_0x2ac862;for(;_0x53a87b&&_0x53a87b!==document[_0x47fbd4(0x115)];){const _0x146d81=window[_0x47fbd4(0xf8)](_0x53a87b);_0x47fbd4(0x11e)!==_0x146d81[_0x47fbd4(0x131)]&&_0x47fbd4(0x12d)!==_0x146d81[_0x47fbd4(0x138)]||(_0x359d3a[_0x47fbd4(0x120)]({'element':_0x53a87b,'originalDisplay':_0x53a87b[_0x47fbd4(0x166)][_0x47fbd4(0x131)],'originalVisibility':_0x53a87b[_0x47fbd4(0x166)][_0x47fbd4(0x138)]}),_0x53a87b[_0x47fbd4(0x166)][_0x47fbd4(0x131)]=_0x47fbd4(0x167),_0x53a87b[_0x47fbd4(0x166)][_0x47fbd4(0x138)]=_0x47fbd4(0x139)),_0x53a87b=_0x53a87b[_0x47fbd4(0x14f)];}return _0x359d3a;}[_0x446c6a(0xfb)](){const _0x116aef=_0x446c6a;let _0x5d0c0f,_0x435b06;return this[_0x116aef(0x10a)]?.[_0x116aef(0x12c)]?(_0x5d0c0f=this[_0x116aef(0x10a)][_0x116aef(0x12c)][_0x116aef(0x15f)](!0x0),_0x435b06=this[_0x116aef(0x100)](_0x5d0c0f)):(_0x5d0c0f=document[_0x116aef(0x11f)](_0x116aef(0x16c)),_0x435b06=_0x5d0c0f),{'calculationContainer':_0x5d0c0f,'targetContainer':_0x435b06};}[_0x446c6a(0x169)](){const _0x1480e4=_0x446c6a,{calculationContainer:_0x3f2b57,targetContainer:_0x1de805}=this[_0x1480e4(0xfb)](),_0x16bcd6=this[_0x1480e4(0x14b)]();this[_0x1480e4(0xea)](_0x3f2b57,_0x16bcd6);const _0x2d274e=this[_0x1480e4(0x10a)]?.[_0x1480e4(0x12c)]||this[_0x1480e4(0xe2)],_0x4efa6f=_0x2d274e?.[_0x1480e4(0x14f)];_0x4efa6f?_0x4efa6f[_0x1480e4(0x16e)](_0x3f2b57):document[_0x1480e4(0x115)][_0x1480e4(0x16e)](_0x3f2b57),_0x3f2b57[_0x1480e4(0x125)]=_0x1de805;const _0x2d03a8=this[_0x1480e4(0x172)](_0x4efa6f||null);return _0x3f2b57[_0x1480e4(0xe6)],_0x3f2b57[_0x1480e4(0x158)]=_0x2d03a8,_0x3f2b57;}[_0x446c6a(0xff)](_0x295b3f,_0x1e58c5){const _0xc7a7bc=_0x446c6a,_0x5ecdb8=_0x295b3f[_0xc7a7bc(0x125)]||_0x295b3f,_0x110eee=[],{rowCount:_0x483404}=this[_0xc7a7bc(0x110)](_0x5ecdb8,_0x1e58c5);if(_0x483404<=this[_0xc7a7bc(0x173)][_0xc7a7bc(0x112)])return _0x110eee;const _0x159a5f=_0x1e58c5[_0xc7a7bc(0x113)]();for(;_0x159a5f[_0xc7a7bc(0xee)]>0x0;){if(this[_0xc7a7bc(0x146)](_0x295b3f,_0x5ecdb8,_0x159a5f)){const _0x277c62=_0x1e58c5[_0xc7a7bc(0x13c)](_0x24a689=>!_0x159a5f[_0xc7a7bc(0xf5)](_0x24a689));_0x110eee[_0xc7a7bc(0x120)](..._0x277c62);break;}if(!_0x159a5f[_0xc7a7bc(0x174)]())break;}return _0x110eee;}[_0x446c6a(0x110)](_0x4a06b4,_0x414851){const _0x193981=_0x446c6a;_0x4a06b4[_0x193981(0xec)]='',_0x414851[_0x193981(0x164)](_0x2ecab9=>{const _0x556e53=_0x193981;if(_0x2ecab9[_0x556e53(0x12c)]){const _0x1bc6ac=_0x2ecab9[_0x556e53(0x12c)][_0x556e53(0x15f)](!0x0);_0x4a06b4[_0x556e53(0x16e)](_0x1bc6ac);}}),_0x4a06b4[_0x193981(0xe6)];const _0x5d53b6=_0x4a06b4[_0x193981(0xfe)],_0x378cd4=[];return Array[_0x193981(0x129)](_0x5d53b6)[_0x193981(0x164)](_0x30908b=>{const _0x45f9a6=_0x193981,_0x4b918e=_0x30908b[_0x45f9a6(0x160)]()[_0x45f9a6(0x150)];_0x378cd4[_0x45f9a6(0x161)](_0x27c9d4=>Math[_0x45f9a6(0x13a)](_0x27c9d4-_0x4b918e)<this[_0x45f9a6(0x173)][_0x45f9a6(0x165)])||_0x378cd4[_0x45f9a6(0x120)](_0x4b918e);}),{'rowCount':_0x378cd4[_0x193981(0xee)]};}[_0x446c6a(0xe5)](){const _0x668ac2=_0x446c6a,_0x21aa34=document[_0x668ac2(0x11f)](_0x668ac2(0x107));return _0x21aa34[_0x668ac2(0xf1)]=this[_0x668ac2(0x173)][_0x668ac2(0x170)][_0x668ac2(0x14c)],this[_0x668ac2(0x173)][_0x668ac2(0x170)][_0x668ac2(0x118)]&&_0x21aa34[_0x668ac2(0xeb)][_0x668ac2(0x104)](this[_0x668ac2(0x173)][_0x668ac2(0x170)][_0x668ac2(0x118)]),_0x21aa34[_0x668ac2(0x12a)]=_0x668ac2(0x136),_0x21aa34;}[_0x446c6a(0x146)](_0x3551b9,_0x441e70,_0x5ec64c){const _0x259d81=_0x446c6a;this[_0x259d81(0x110)](_0x441e70,_0x5ec64c);const _0x2af57c=this[_0x259d81(0xe5)]();_0x3551b9[_0x259d81(0x16e)](_0x2af57c),_0x3551b9[_0x259d81(0xe6)];const _0x39335a=[..._0x441e70[_0x259d81(0xfe)],_0x2af57c],_0x2a862f=[];_0x39335a[_0x259d81(0x164)](_0x1ab8b9=>{const _0x27129a=_0x259d81,_0x3af929=_0x1ab8b9[_0x27129a(0x160)]()[_0x27129a(0x150)];_0x2a862f[_0x27129a(0x161)](_0x333f75=>Math[_0x27129a(0x13a)](_0x333f75-_0x3af929)<this[_0x27129a(0x173)][_0x27129a(0x165)])||_0x2a862f[_0x27129a(0x120)](_0x3af929);});const _0xf28a48=_0x2a862f[_0x259d81(0xee)];return _0x2af57c[_0x259d81(0xe3)](),_0xf28a48<=this[_0x259d81(0x173)][_0x259d81(0x112)];}[_0x446c6a(0x144)](_0x28c1db,_0x1df9c3){const _0x229f3b=_0x446c6a;this[_0x229f3b(0x16d)][_0x229f3b(0x12b)](),this[_0x229f3b(0x11b)][_0x229f3b(0x12b)](),_0x28c1db[_0x229f3b(0x164)](_0x4815fe=>{const _0x515923=_0x229f3b;_0x1df9c3[_0x515923(0xf5)](_0x4815fe)?this[_0x515923(0x11b)][_0x515923(0x104)](_0x4815fe):this[_0x515923(0x16d)][_0x515923(0x104)](_0x4815fe);});}[_0x446c6a(0x149)](_0x14805f){const _0x3340ed=_0x446c6a;if(_0x14805f>0x0&&!this[_0x3340ed(0x10e)]&&this[_0x3340ed(0x16f)](),_0x14805f>0x0&&this[_0x3340ed(0x10e)]){const _0x30b95d=''+this[_0x3340ed(0x173)][_0x3340ed(0x16b)]+(_0x14805f<0x63?_0x14805f:'99');this[_0x3340ed(0x10e)][_0x3340ed(0xe9)]=_0x30b95d;}this[_0x3340ed(0x12f)](),this[_0x3340ed(0x15c)](),this[_0x3340ed(0xfc)]();}[_0x446c6a(0xf2)](_0x13ca9f,_0x51599d){const _0x3547fb=_0x446c6a;this[_0x3547fb(0x144)](_0x13ca9f,_0x51599d),this[_0x3547fb(0x149)](_0x51599d[_0x3547fb(0xee)]);}[_0x446c6a(0x101)](){const _0x4fb734=_0x446c6a;this[_0x4fb734(0xe2)]&&_0x4fb734(0x11d)!=typeof IntersectionObserver&&(this[_0x4fb734(0x171)]=new IntersectionObserver(_0x1d6f10=>{const _0x402d40=_0x4fb734;_0x1d6f10[0x0][_0x402d40(0x155)]&&this[_0x402d40(0x102)]&&requestAnimationFrame(()=>{const _0x12a35c=_0x402d40;this[_0x12a35c(0x109)]();});},{'threshold':0.01,'rootMargin':_0x4fb734(0x162)}),this[_0x4fb734(0x171)][_0x4fb734(0xe7)](this[_0x4fb734(0xe2)]));}[_0x446c6a(0x163)](){const _0x272586=_0x446c6a;if(!this[_0x272586(0xe2)])return!0x1;if(!this[_0x272586(0xe2)][_0x272586(0xf3)])return!0x1;const _0xf96cbe=this[_0x272586(0xe2)][_0x272586(0x160)]();if(0x0===_0xf96cbe[_0x272586(0x137)]||0x0===_0xf96cbe[_0x272586(0xf6)])return!0x1;const _0x3fe284=window[_0x272586(0xf0)]||document[_0x272586(0x130)][_0x272586(0x14d)],_0x5005e0=window[_0x272586(0x156)]||document[_0x272586(0x130)][_0x272586(0x133)],_0x3e3385=0xc8;return _0xf96cbe[_0x272586(0xfd)]>=-0xc8&&_0xf96cbe[_0x272586(0x150)]<=_0x3fe284+_0x3e3385&&_0xf96cbe[_0x272586(0x103)]>=-0xc8&&_0xf96cbe[_0x272586(0x140)]<=_0x5005e0+_0x3e3385;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x48b8(){const _0x44994f=['tooltip','1413699GNJFOL','ck-ai-chat-context-chip_document','add','252921pKVOEC','ck-hidden','slice','isLoading','isVisible','_isAnimationOnEnterEnabled','9198808KXJqBu','lastIndexOf','webkitAnimationEnd','5dvAyEK','disableAnimationOnEnter','8sSvKLd','ck-ai-chat-context-chip_wide','addEventListener','document','div','small','render','itemType','_handleAnimationEndOnce','ck-ai-chat-context-chip','17314857QGTGaF','ck-ai-chat-context-chip__label','bindTemplate','length','element','setTemplate','classList','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','label','ck-ai-chat-context-chip__type-icon','2565940QQMzEe','type','uiId','removeEventListener','_createLoaderIcon','_setupRemoveButtonEvent','ck-ai-chat-context-chip_new-chip','removeContextItemChip','execute','2954076bSPtuc','set','selection','_createTemplateAttributes','_createTemplateChildren','3515127AyVHRQ','animationend','extendTemplate','_createRemoveButton','ck-ai-chat-context-controls__chip-tooltip','remove','bind','span','_setupTemplate','_createLabelElement','locale','_createIconView','readonly','_initializeProperties','content','fire'];_0x48b8=function(){return _0x44994f;};return _0x48b8();}const _0x246ae8=_0xc8e8;(function(_0xff3df4,_0x24730e){const _0x3d85fd=_0xc8e8,_0x2945ba=_0xff3df4();while(!![]){try{const _0x3536b2=-parseInt(_0x3d85fd(0x155))/0x1*(-parseInt(_0x3d85fd(0x160))/0x2)+-parseInt(_0x3d85fd(0x152))/0x3+parseInt(_0x3d85fd(0x133))/0x4+parseInt(_0x3d85fd(0x15e))/0x5*(-parseInt(_0x3d85fd(0x13c))/0x6)+-parseInt(_0x3d85fd(0x141))/0x7+-parseInt(_0x3d85fd(0x15b))/0x8+parseInt(_0x3d85fd(0x16a))/0x9;if(_0x3536b2===_0x24730e)break;else _0x2945ba['push'](_0x2945ba['shift']());}catch(_0x416288){_0x2945ba['push'](_0x2945ba['shift']());}}}(_0x48b8,0xeabab));import{ButtonView as _0x5d15f8,IconView as _0x48bde0}from'ckeditor5/src/ui.js';import{IconClose as _0x10fba5,IconDocument as _0x3391f8,IconFileUpload as _0x4ddcfb,IconLink as _0x4aa3c2,IconSelection as _0x234623}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x310f14}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0xc5708}from'../../../aicore/ui/aispinner.js';function _0xc8e8(_0x5a441f,_0x323771){const _0x48b898=_0x48b8();return _0xc8e8=function(_0xc8e878,_0xac5f3d){_0xc8e878=_0xc8e878-0x133;let _0x264cb8=_0x48b898[_0xc8e878];return _0x264cb8;},_0xc8e8(_0x5a441f,_0x323771);}const xn={'file':_0x4ddcfb,'document':_0x3391f8,'web-resource':_0x4aa3c2,'text':_0x4ddcfb,'selection':_0x234623,'mcp-tool-context':_0x3391f8},bn=_0x246ae8(0x169),wn=_0x246ae8(0x161),Tn=_0x246ae8(0x153),En=_0x246ae8(0x16b),fn=_0x246ae8(0x173),An=_0x246ae8(0x145),Cn='n';export class AIChatContextItemButtonView extends _0x5d15f8{constructor(_0xf3b1df,_0x1a5005,_0x2cd7fe,_0x504f46,_0x436363=!0x1){const _0xbb8668=_0x246ae8;super(_0xf3b1df),this[_0xbb8668(0x15a)]=_0x504f46,this[_0xbb8668(0x14e)](_0x1a5005,_0x2cd7fe,_0x436363),this[_0xbb8668(0x149)]();}[_0x246ae8(0x166)](){const _0x3b15d1=_0x246ae8;super[_0x3b15d1(0x166)](),this[_0x3b15d1(0x15a)]&&this[_0x3b15d1(0x16e)]&&(this[_0x3b15d1(0x16e)][_0x3b15d1(0x170)][_0x3b15d1(0x154)](_0x3b15d1(0x139)),this[_0x3b15d1(0x168)](this[_0x3b15d1(0x16e)],()=>{const _0x2fda4c=_0x3b15d1;this[_0x2fda4c(0x16e)]&&this[_0x2fda4c(0x16e)][_0x2fda4c(0x170)][_0x2fda4c(0x146)](_0x2fda4c(0x139));}));}[_0x246ae8(0x15f)](){const _0x103b3a=_0x246ae8;this[_0x103b3a(0x15a)]=!0x1,this[_0x103b3a(0x16e)]&&this[_0x103b3a(0x16e)][_0x103b3a(0x170)][_0x103b3a(0x146)](_0x103b3a(0x139));}[_0x246ae8(0x14e)](_0x5c9f1b,_0x4c3063,_0x59adba){const _0x5acf60=_0x246ae8;this[_0x5acf60(0x13d)](_0x5acf60(0x172),_0x5c9f1b[_0x5acf60(0x172)]),this[_0x5acf60(0x13d)](_0x5acf60(0x151),!0x0),this[_0x5acf60(0x13d)](_0x5acf60(0x167),_0x5c9f1b[_0x5acf60(0x134)]),this[_0x5acf60(0x13d)]('id',_0x5c9f1b[_0x5acf60(0x135)]),this[_0x5acf60(0x13d)](_0x5acf60(0x14d),_0x4c3063),this[_0x5acf60(0x13d)](_0x5acf60(0x158),_0x59adba);}[_0x246ae8(0x149)](){const _0x4fc880=_0x246ae8,_0x658425=this[_0x4fc880(0x14c)](),_0x538941=this[_0x4fc880(0x144)](),_0x566c46=this[_0x4fc880(0x16c)];this[_0x4fc880(0x16f)]({'tag':_0x4fc880(0x164),'attributes':this[_0x4fc880(0x13f)](_0x566c46),'children':this[_0x4fc880(0x140)](_0x658425,_0x538941,_0x566c46)});}[_0x246ae8(0x13f)](_0x4001ad){const _0x3fe6f0=_0x246ae8;return{'class':[bn,_0x4001ad['if'](_0x3fe6f0(0x167),Tn,_0x4d34d1=>_0x3fe6f0(0x163)==_0x4d34d1),_0x4001ad['if'](_0x3fe6f0(0x167),wn,_0xa9548e=>_0x3fe6f0(0x13e)==_0xa9548e)],'data-cke-tooltip-text':_0x4001ad['to'](_0x3fe6f0(0x172),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x246ae8(0x140)](_0x334c41,_0x1df9ff,_0x23ca25){const _0x581102=_0x246ae8,_0x39f564=this[_0x581102(0x14a)](_0x23ca25),_0x44205e=this[_0x581102(0x137)]();return this[_0x581102(0x14d)]?[_0x334c41,_0x39f564]:[_0x334c41,_0x44205e,_0x39f564,_0x1df9ff];}[_0x246ae8(0x14a)](_0x203675){const _0x20b5fc=_0x246ae8;return{'tag':_0x20b5fc(0x148),'attributes':{'class':En},'children':[{'text':_0x203675['to'](_0x20b5fc(0x172))}]};}[_0x246ae8(0x144)](){const _0x4a8348=_0x246ae8,_0x1e7ed6=new _0x5d15f8(this[_0x4a8348(0x14b)]);return _0x1e7ed6[_0x4a8348(0x13d)]({'label':_0x310f14(this[_0x4a8348(0x14b)],_0x4a8348(0x171)),'icon':_0x10fba5}),this[_0x4a8348(0x138)](_0x1e7ed6),_0x1e7ed6;}[_0x246ae8(0x138)](_0x247900){const _0xfa9fef=_0x246ae8;_0x247900['on'](_0xfa9fef(0x13b),()=>{const _0x16d65a=_0xfa9fef;this[_0x16d65a(0x150)](_0x16d65a(0x13a),this['id']);});}[_0x246ae8(0x14c)](){const _0x28202a=_0x246ae8,_0x42b671=this[_0x28202a(0x16c)],_0x1db265=new _0x48bde0();return _0x1db265[_0x28202a(0x14f)]=xn[this[_0x28202a(0x167)]],_0x1db265[_0x28202a(0x143)]({'attributes':{'class':[fn,_0x42b671['if'](_0x28202a(0x158),_0x28202a(0x156),_0x324ec1=>_0x324ec1)]}}),_0x1db265;}[_0x246ae8(0x168)](_0x5c6deb,_0x4a75fe){const _0x4f9315=_0x246ae8;if(!_0x5c6deb)return;const _0x421ebd=()=>{const _0x31b3c0=_0xc8e8;_0x4a75fe(),_0x5c6deb[_0x31b3c0(0x136)](_0x31b3c0(0x142),_0x421ebd),_0x5c6deb[_0x31b3c0(0x136)](_0x31b3c0(0x15d),_0x421ebd);};_0x5c6deb[_0x4f9315(0x162)](_0x4f9315(0x142),_0x421ebd),_0x5c6deb[_0x4f9315(0x162)](_0x4f9315(0x15d),_0x421ebd);}[_0x246ae8(0x137)](){const _0x1537bb=_0x246ae8,_0x7bdd0f=new _0xc5708(_0x1537bb(0x165));return _0x7bdd0f[_0x1537bb(0x147)](_0x1537bb(0x159))['to'](this,_0x1537bb(0x158),_0x224c31=>_0x224c31),_0x7bdd0f;}}function In(_0xd5b2cf){const _0x2a4194=_0x246ae8;if(!_0xd5b2cf)return _0xd5b2cf;if(_0xd5b2cf[_0x2a4194(0x16d)]<=0x78)return _0xd5b2cf;const _0x227ab0=_0xd5b2cf[_0x2a4194(0x157)](0x0,0x78),_0x3f812a=_0x227ab0[_0x2a4194(0x15c)]('\x20');return(_0x3f812a>0x0?_0x227ab0[_0x2a4194(0x157)](0x0,_0x3f812a):_0x227ab0)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x137ff1=_0x3d3c;(function(_0x45f841,_0x4c94fa){const _0x544b39=_0x3d3c,_0x1fc82c=_0x45f841();while(!![]){try{const _0x5842bd=parseInt(_0x544b39(0x12f))/0x1+-parseInt(_0x544b39(0x16a))/0x2+-parseInt(_0x544b39(0x14a))/0x3*(-parseInt(_0x544b39(0x14d))/0x4)+-parseInt(_0x544b39(0x142))/0x5*(parseInt(_0x544b39(0x138))/0x6)+parseInt(_0x544b39(0x168))/0x7+parseInt(_0x544b39(0x132))/0x8+parseInt(_0x544b39(0x124))/0x9*(-parseInt(_0x544b39(0x12a))/0xa);if(_0x5842bd===_0x4c94fa)break;else _0x1fc82c['push'](_0x1fc82c['shift']());}catch(_0x545869){_0x1fc82c['push'](_0x1fc82c['shift']());}}}(_0x4495,0x34fd2));import{FocusTracker as _0x123e03,KeystrokeHandler as _0x264255}from'ckeditor5/src/utils.js';function _0x4495(){const _0x1bdd9e=['_createUrlInputField','910dgLwMt','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','\x20ck-hidden','focusTracker','destroy','230443bqVDGe','tab','ck-button-icon\x20ck-button-back','1515664mDWyme','submit','setTemplate','_focusables','fieldView','_isValidUrl','5388DkXsmM','AI_CHAT_CONTEXT_URL_PLACEHOLDER','_setupKeystrokes','ck-labeled-field-view_empty','trim','cancel','fire','element','change:withBackButton','_setupTemplate','1135IktxZr','refreshBalloon','errorText','esc','createCollection','_setupEventHandlers','listenTo','children','3vuYQxJ','_handleSubmit','confirmButton','1674208mAqJNt','getValue','isEnabled','render','withBackButton','locale','clearError','AI_CHAT_CONTEXT_URL_ADD_URL','set','div','stop','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','focus','submitUrl','form','AI_CHAT_CONTEXT_URL_INVALID_ERROR','forEach','ck-ai-chat-context-controls__url-form','setError','execute','length','urlInputField','add','focusCycler','input','shift+tab','ck-ai-chat-context-controls__url-input-section','578130XgChgy','_createConfirmButton','746784FdUBOh','_updateConfirmButtonState','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','AI_CHAT_CONTEXT_URL_LABEL','clear','keystrokes','12537UQIVYv','_createBackButton','value','ck-button-icon','backButton'];_0x4495=function(){return _0x1bdd9e;};return _0x4495();}import{ButtonView as _0x51d4d5,FocusCycler as _0x13774b,LabeledFieldView as _0x59f4ff,View as _0x3d72e2,FormHeaderView as _0x5a7446,createLabeledInputText as _0x352c94,submitHandler as _0x57887e}from'ckeditor5/src/ui.js';import{IconCheck as _0x38d41b,IconPreviousArrow as _0x58f7fe}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x110877}from'../../../aicore/utils/common-translations.js';const oh=_0x137ff1(0x15e),ch=_0x137ff1(0x167);function _0x3d3c(_0x3e7643,_0x4e1ebb){const _0x44955f=_0x4495();return _0x3d3c=function(_0x3d3c67,_0x50ca81){_0x3d3c67=_0x3d3c67-0x121;let _0x31cac6=_0x44955f[_0x3d3c67];return _0x31cac6;},_0x3d3c(_0x3e7643,_0x4e1ebb);}export class AIChatContextPanelUrlInputView extends _0x3d72e2{[_0x137ff1(0x12d)];[_0x137ff1(0x123)];[_0x137ff1(0x135)];[_0x137ff1(0x164)];[_0x137ff1(0x162)];[_0x137ff1(0x128)];[_0x137ff1(0x14c)];constructor(_0x44b369){const _0x5d30c4=_0x137ff1;super(_0x44b369),this[_0x5d30c4(0x12d)]=new _0x123e03(),this[_0x5d30c4(0x123)]=new _0x264255(),this[_0x5d30c4(0x128)]=this[_0x5d30c4(0x125)](),this[_0x5d30c4(0x162)]=this[_0x5d30c4(0x129)](),this[_0x5d30c4(0x14c)]=this[_0x5d30c4(0x169)](),this[_0x5d30c4(0x135)]=this[_0x5d30c4(0x146)]([this[_0x5d30c4(0x128)],this[_0x5d30c4(0x162)],this[_0x5d30c4(0x14c)]]),this[_0x5d30c4(0x164)]=new _0x13774b({'focusables':this[_0x5d30c4(0x135)],'focusTracker':this[_0x5d30c4(0x12d)],'keystrokeHandler':this[_0x5d30c4(0x123)],'actions':{'focusPrevious':_0x5d30c4(0x166),'focusNext':_0x5d30c4(0x130)}}),this[_0x5d30c4(0x155)](_0x5d30c4(0x151),!0x0),this[_0x5d30c4(0x141)](),this[_0x5d30c4(0x147)](),this[_0x5d30c4(0x13a)]();}[_0x137ff1(0x150)](){const _0x192df5=_0x137ff1;super[_0x192df5(0x150)](),this[_0x192df5(0x135)][_0x192df5(0x15d)](_0x257888=>{const _0x240fbd=_0x192df5;this[_0x240fbd(0x12d)][_0x240fbd(0x163)](_0x257888[_0x240fbd(0x13f)]),this[_0x240fbd(0x123)][_0x240fbd(0x148)](_0x257888[_0x240fbd(0x13f)]);}),_0x57887e({'view':this}),this[_0x192df5(0x159)]();}[_0x137ff1(0x12e)](){const _0x18355a=_0x137ff1;super[_0x18355a(0x12e)](),this[_0x18355a(0x12d)][_0x18355a(0x12e)](),this[_0x18355a(0x123)][_0x18355a(0x12e)]();}[_0x137ff1(0x159)](){const _0x44de84=_0x137ff1;this[_0x44de84(0x162)][_0x44de84(0x159)]();}[_0x137ff1(0x14e)](){const _0x1193cd=_0x137ff1;return this[_0x1193cd(0x162)][_0x1193cd(0x136)][_0x1193cd(0x13f)]?.[_0x1193cd(0x126)]?.[_0x1193cd(0x13c)]()||'';}[_0x137ff1(0x122)](){const _0x5cc96e=_0x137ff1;this[_0x5cc96e(0x162)][_0x5cc96e(0x136)][_0x5cc96e(0x13f)][_0x5cc96e(0x126)]='',this[_0x5cc96e(0x162)][_0x5cc96e(0x144)]=null,this[_0x5cc96e(0x14c)][_0x5cc96e(0x14f)]=!0x1;}[_0x137ff1(0x15f)](_0x1cacca){const _0x39d0ad=_0x137ff1;this[_0x39d0ad(0x162)][_0x39d0ad(0x144)]=_0x1cacca,this[_0x39d0ad(0x16b)](),this[_0x39d0ad(0x13e)](_0x39d0ad(0x143));}[_0x137ff1(0x153)](){const _0x1d8a52=_0x137ff1;this[_0x1d8a52(0x162)][_0x1d8a52(0x144)]=null,this[_0x1d8a52(0x16b)]();}[_0x137ff1(0x125)](){const _0x5b94a0=_0x137ff1,_0x4cf597=new _0x51d4d5(this[_0x5b94a0(0x152)]);return _0x4cf597[_0x5b94a0(0x155)]({'icon':_0x58f7fe,'tooltip':_0x110877(this[_0x5b94a0(0x152)],_0x5b94a0(0x12b)),'tooltipPosition':'n','class':[_0x5b94a0(0x131)]}),this['on'](_0x5b94a0(0x140),(_0x306d26,_0x1a0545,_0x1a2ef4)=>{const _0x287811=_0x5b94a0;_0x4cf597[_0x287811(0x155)]({'class':[_0x287811(0x131)+(_0x1a2ef4?'':_0x287811(0x12c))]});}),_0x4cf597;}[_0x137ff1(0x129)](){const _0x47f28d=_0x137ff1,_0x5bae1e=new _0x59f4ff(this[_0x47f28d(0x152)],_0x352c94);return _0x5bae1e[_0x47f28d(0x155)]({'label':_0x110877(this[_0x47f28d(0x152)],_0x47f28d(0x121)),'class':_0x47f28d(0x13b)}),_0x5bae1e[_0x47f28d(0x136)][_0x47f28d(0x155)]({'placeholder':_0x110877(this[_0x47f28d(0x152)],_0x47f28d(0x139))}),_0x5bae1e;}[_0x137ff1(0x169)](){const _0x1c5c59=_0x137ff1,_0x344d37=new _0x51d4d5(this[_0x1c5c59(0x152)]);return _0x344d37[_0x1c5c59(0x155)]({'icon':_0x38d41b,'tooltip':_0x110877(this[_0x1c5c59(0x152)],_0x1c5c59(0x154)),'tooltipPosition':'n','class':_0x1c5c59(0x127),'type':_0x1c5c59(0x133),'isEnabled':!0x1}),_0x344d37;}[_0x137ff1(0x141)](){const _0x3dc9a3=_0x137ff1,_0x1e0543=new _0x5a7446(this[_0x3dc9a3(0x152)],{'label':_0x110877(this[_0x3dc9a3(0x152)],_0x3dc9a3(0x154)),'class':_0x3dc9a3(0x16c)});_0x1e0543[_0x3dc9a3(0x149)][_0x3dc9a3(0x163)](this[_0x3dc9a3(0x128)],0x0),this[_0x3dc9a3(0x134)]({'tag':_0x3dc9a3(0x15b),'attributes':{'class':oh,'tabindex':'-1'},'children':[_0x1e0543,{'tag':_0x3dc9a3(0x156),'attributes':{'class':ch},'children':[this[_0x3dc9a3(0x162)],this[_0x3dc9a3(0x14c)]]}]});}[_0x137ff1(0x147)](){const _0x4e0c5b=_0x137ff1;this[_0x4e0c5b(0x128)]['on'](_0x4e0c5b(0x160),()=>{const _0x21ea13=_0x4e0c5b;this[_0x21ea13(0x122)](),this[_0x21ea13(0x13e)](_0x21ea13(0x13d));}),this[_0x4e0c5b(0x162)][_0x4e0c5b(0x136)]['on'](_0x4e0c5b(0x165),()=>{const _0x227fd5=_0x4e0c5b;this[_0x227fd5(0x153)](),this[_0x227fd5(0x16b)](),this[_0x227fd5(0x13e)](_0x227fd5(0x143));}),this['on'](_0x4e0c5b(0x133),_0x4ae85b=>{const _0x2aec4e=_0x4e0c5b;_0x4ae85b[_0x2aec4e(0x157)](),this[_0x2aec4e(0x14b)]();});}[_0x137ff1(0x13a)](){const _0x42b387=_0x137ff1;this[_0x42b387(0x123)][_0x42b387(0x155)](_0x42b387(0x145),(_0x2df2c8,_0x293e24)=>{const _0x20437d=_0x42b387;this[_0x20437d(0x122)](),this[_0x20437d(0x13e)](_0x20437d(0x13d)),_0x293e24();});}[_0x137ff1(0x14b)](){const _0x5969dd=_0x137ff1,_0x24851b=this[_0x5969dd(0x14e)]()[_0x5969dd(0x13c)]();_0x24851b?this[_0x5969dd(0x137)](_0x24851b)?(this[_0x5969dd(0x153)](),this[_0x5969dd(0x13e)](_0x5969dd(0x15a),_0x24851b)):this[_0x5969dd(0x15f)](_0x110877(this[_0x5969dd(0x152)],_0x5969dd(0x15c))):this[_0x5969dd(0x15f)](_0x110877(this[_0x5969dd(0x152)],_0x5969dd(0x158)));}[_0x137ff1(0x16b)](){const _0x308aeb=_0x137ff1,_0x51ae5a=this[_0x308aeb(0x14e)]()[_0x308aeb(0x13c)](),_0x2e910d=!!this[_0x308aeb(0x162)][_0x308aeb(0x144)];this[_0x308aeb(0x14c)][_0x308aeb(0x14f)]=_0x51ae5a[_0x308aeb(0x161)]>0x0&&!_0x2e910d;}[_0x137ff1(0x137)](_0x48fc3c){try{return!!new URL(_0x48fc3c);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x57bd19=_0x4aba;(function(_0xcad94e,_0x5f03a8){const _0x43e337=_0x4aba,_0x22409=_0xcad94e();while(!![]){try{const _0xe78b3a=-parseInt(_0x43e337(0xfa))/0x1*(-parseInt(_0x43e337(0x14f))/0x2)+parseInt(_0x43e337(0x136))/0x3*(-parseInt(_0x43e337(0x158))/0x4)+parseInt(_0x43e337(0x16e))/0x5+parseInt(_0x43e337(0x11a))/0x6*(-parseInt(_0x43e337(0x17a))/0x7)+-parseInt(_0x43e337(0x156))/0x8*(-parseInt(_0x43e337(0xf2))/0x9)+-parseInt(_0x43e337(0x149))/0xa+-parseInt(_0x43e337(0x179))/0xb;if(_0xe78b3a===_0x5f03a8)break;else _0x22409['push'](_0x22409['shift']());}catch(_0x35c662){_0x22409['push'](_0x22409['shift']());}}}(_0x286b,0x93ad2));function _0x286b(){const _0x2dca8a=['ck-ai-chat-context-controls__pending-contexts','element','_addContextToCollection','div','body','setContextItemLoading','extendTemplate','overflowChips','render','3612785zxiktG','_setAddContextButtonEnabled','ck-ai-chat-context-controls','ck-ai-chat-context-controls__balloon-button','searchInputVisibleFrom','_removeContextFromCollection','current','hide','_resourcesBalloonView','_createAddContextBalloonPanelView','clearCurrentContextItems','6249991cyJTvX','3115waOQyl','clear','isAnyResourceBalloonVisible','ck-ai-chat-context-chips-wrapper-balloon','_toggleAddContextBalloon','ck-ai-chat-context-controls__add-context-button','length','cancel','_createArrowView','_hasExactlyOneSource','_createUrlBalloonPanelView','_createBaseBalloonPanel','focus','addResourceToContext','_urlBalloonPanelView','populateSourceResourceBalloon','9sSmLCY','removeContextItem','hideAddContextBalloonPanel','updateResourceState','ck-ai-chat-context-controls__url-balloon-panel','_addContextBalloonPanelView','defaultPositions','customItem','26sHYjzI','isHidden','removeContextItemChip','source','withBackButton','type','get','show','_setBalloonPanelContent','_bindEventHandlers','fire','closeSourceResourceBalloon','execute','_addContextBalloonConfig','children','sources','isVisible','AI_CHAT_CONTEXT_FILE_LABEL','bodyCollection','enabled','_createAddContextButtonView','_getLimiterElement','arrowView','bind','southArrowNorthWest','reorganizeChips','setConversationContext','_setupAllBalloonClickOutsideHandlers','isEnabled','_overflowManager','refreshBalloon','_createBalloonButton','2322VhPdNv','destroy','icon','northArrowSouthEast','AI_CHAT_CONTEXT_URL_LABEL','setContainerElement','_setupUrlBalloonClickOutsideHandler','add','createCollection','southArrowNorth','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','addContextItem','balloonView','customItems','addUrlToContext','document','_urlInputView','menuitem','_setupAddContextBalloonClickOutsideHandler','_conversationContextsChips','remove','_handleUrlSubmit','executeCustomItemCallback','done','showUrlBalloonPanel','set','ck-reset_all-excluded','conversation','1693572NqCUqY','isReadOnly','southArrowNorthEast','ck-ai-chat-controls-button','ck-ai-chat-context-controls__add-context-balloon-panel','setTemplate','addDocumentToContext','northArrowSouthWest','_setupTemplate','submitUrl','__arrow','find','urls','label','showSourceResourcesBalloon','_addUrlContent','locale','_currentContextsChips','ck-ai-chat-context-controls__show-more-balloon-panel','1187360aTlxPJ','addContextButtonView','ck-ai-chat-context-controls__balloon-button-source','addFileToContext','ck-ai-chat','_showSourceResourcesBalloon','36602aREiuM','_handleAddContextButtonClick','files','tooltip','closest','loadSourceResources','northArrowSouth','6641240HMNTSU','hideUrlBalloonPanel','4eYesOq','isOn','AI_CHAT_CONTEXT_ADD_CONTEXT','isLoading','pin','clearConversationContextItems','ck-ai-chat-controls_context_show-more-button','content','showAddContextBalloonPanel','_createResourcesBalloonView','_createContextButton','setAddContextOptions','buttonView'];_0x286b=function(){return _0x2dca8a;};return _0x286b();}import{BalloonPanelView as _0x336b4f,ButtonView as _0x323b65,clickOutsideHandler as _0x27742b,FileDialogButtonView as _0x2af1cc,IconView as _0x3f38c1,View as _0x79402e}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x19ded0,IconDocument as _0x194dc3,IconDocumentOutline as _0x143024,IconDropdownArrow as _0x2e13c4,IconLink as _0x4acf7f,IconPaperClip as _0x5a44ef}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x1fb0ea}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x176b9b}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x156c8b}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x4f98a1}from'../../../aicore/utils/common-translations.js';function _0x4aba(_0x50ea6f,_0x1a985e){const _0x286bbf=_0x286b();return _0x4aba=function(_0x4aba80,_0x324d94){_0x4aba80=_0x4aba80-0xe9;let _0x35f909=_0x286bbf[_0x4aba80];return _0x35f909;},_0x4aba(_0x50ea6f,_0x1a985e);}import{AIChatResourcesBalloonView as _0x338a98}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x57bd19(0x13c),_0x57bd19(0x14c),_0x57bd19(0x128),_0x57bd19(0xef),_0x57bd19(0xf3),_0x57bd19(0x154),_0x57bd19(0x130)];const Vo=_0x57bd19(0x170),Io=_0x57bd19(0x165),Po=_0x57bd19(0x13a),Ro=_0x57bd19(0x17f),Oo=_0x57bd19(0xf6),Uo=_0x57bd19(0x171),Lo=_0x57bd19(0x14b),No=_0x57bd19(0x139),Mo=_0x57bd19(0x17d),Ho=_0x57bd19(0x15e),jo=_0x57bd19(0x148),Fo=_0x57bd19(0x14d),Xo=[_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x13d)],_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x155)],_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x11d)],_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x112)],_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x123)],_0x336b4f[_0x57bd19(0xf8)][_0x57bd19(0x138)]];export class AIChatContextPanelView extends _0x79402e{[_0x57bd19(0x14a)];[_0x57bd19(0x147)]=this[_0x57bd19(0x122)]();[_0x57bd19(0x12d)]=this[_0x57bd19(0x122)]();[_0x57bd19(0x117)];[_0x57bd19(0xf7)];[_0x57bd19(0xf0)];[_0x57bd19(0x12a)];[_0x57bd19(0x176)];[_0x57bd19(0x107)];[_0x57bd19(0xeb)]=!0x1;[_0x57bd19(0x10c)];constructor(_0x245ad9,_0x4d65b1){const _0x5b760a=_0x57bd19;super(_0x245ad9),this[_0x5b760a(0x10c)]=_0x4d65b1[_0x5b760a(0x10c)],this[_0x5b760a(0x147)]=this[_0x5b760a(0x122)](),this[_0x5b760a(0x12d)]=this[_0x5b760a(0x122)](),this[_0x5b760a(0x14a)]=this[_0x5b760a(0x10e)](_0x245ad9),this[_0x5b760a(0xf7)]=this[_0x5b760a(0x177)](_0x245ad9),this[_0x5b760a(0xf0)]=this[_0x5b760a(0xec)](_0x245ad9),this[_0x5b760a(0x176)]=this[_0x5b760a(0x161)](_0x245ad9,_0x4d65b1);const _0x96d035={'cssClasses':{'showMoreButton':Ho,'showMoreBalloon':jo,'overflowContainer':Mo,'controlsButton':No}};this[_0x5b760a(0x117)]=new _0x156c8b(_0x245ad9,this[_0x5b760a(0x147)],_0x96d035,this[_0x5b760a(0x10c)],this),this[_0x5b760a(0x107)]={'buttonView':this[_0x5b760a(0x14a)],'balloonView':this[_0x5b760a(0xf7)],'hideMethod':this[_0x5b760a(0xf4)][_0x5b760a(0x111)](this),'showMethod':this[_0x5b760a(0x160)][_0x5b760a(0x111)](this)},this[_0x5b760a(0x13e)](),this[_0x5b760a(0x103)]();}[_0x57bd19(0x16d)](){const _0x588983=_0x57bd19;super[_0x588983(0x16d)](),this[_0x588983(0x115)](),this[_0x588983(0x117)][_0x588983(0x11f)](this[_0x588983(0x166)]),this[_0x588983(0x117)][_0x588983(0x113)]();}[_0x57bd19(0x11b)](){const _0x119d5f=_0x57bd19;super[_0x119d5f(0x11b)](),this[_0x119d5f(0x117)][_0x119d5f(0x11b)](),this[_0x119d5f(0x176)][_0x119d5f(0x11b)]();}[_0x57bd19(0x125)](_0x143679,_0x2f37f6){const _0x57f7db=_0x57bd19,_0x1b7ec6=this[_0x57f7db(0x162)](_0x143679,_0x57f7db(0x174),!0x0,_0x2f37f6);this[_0x57f7db(0x167)](_0x1b7ec6,this[_0x57f7db(0x147)]),this[_0x57f7db(0x117)][_0x57f7db(0x113)]();}[_0x57bd19(0xf3)](_0x8571ca){const _0x5d6f2f=_0x57bd19;this[_0x5d6f2f(0x173)](_0x8571ca,this[_0x5d6f2f(0x147)]),this[_0x5d6f2f(0x173)](_0x8571ca,this[_0x5d6f2f(0x117)][_0x5d6f2f(0x16c)]),this[_0x5d6f2f(0x117)][_0x5d6f2f(0x113)]();}[_0x57bd19(0x16a)](_0x2aae51,_0x548a4d){const _0x4aa0be=_0x57bd19;let _0x317436=this[_0x4aa0be(0x147)][_0x4aa0be(0x141)](_0xc411=>_0xc411['id']===_0x2aae51);_0x317436||(_0x317436=this[_0x4aa0be(0x117)][_0x4aa0be(0x16c)][_0x4aa0be(0x141)](_0x151556=>_0x151556['id']===_0x2aae51)),_0x317436&&(_0x317436[_0x4aa0be(0x15b)]=_0x548a4d);}[_0x57bd19(0x114)](_0x4317f8){const _0x3191ae=_0x57bd19;this[_0x3191ae(0x12d)][_0x3191ae(0x17b)]();for(const _0x5b2ac0 of _0x4317f8){const _0x5aa91d=this[_0x3191ae(0x162)](_0x5b2ac0,_0x3191ae(0x135),!0x1,!0x1);this[_0x3191ae(0x167)](_0x5aa91d,this[_0x3191ae(0x12d)]);}}[_0x57bd19(0x178)](){const _0x46f0e0=_0x57bd19;this[_0x46f0e0(0x147)][_0x46f0e0(0x17b)](),this[_0x46f0e0(0x117)][_0x46f0e0(0x17b)]();}[_0x57bd19(0x15d)](){const _0x2f207d=_0x57bd19;this[_0x2f207d(0x12d)][_0x2f207d(0x17b)]();}[_0x57bd19(0xf5)](_0xfb99a4,_0x159fa4,_0x554dde){const _0x4c3970=_0x57bd19;this[_0x4c3970(0x176)][_0x4c3970(0xf5)](_0xfb99a4,_0x159fa4,_0x554dde);}[_0x57bd19(0xf4)](){const _0x501fc9=_0x57bd19;this[_0x501fc9(0x17e)](!0x1);}[_0x57bd19(0x160)](){const _0x4d4d9d=_0x57bd19;this[_0x4d4d9d(0x17e)](!0x0);}[_0x57bd19(0x157)](){const _0x264860=_0x57bd19;this[_0x264860(0xf0)][_0x264860(0x175)](),this[_0x264860(0x14a)][_0x264860(0x159)]=!0x1,this[_0x264860(0x12a)]&&this[_0x264860(0x12a)][_0x264860(0x17b)]();}[_0x57bd19(0x132)](){const _0x1640db=_0x57bd19;this[_0x1640db(0xf0)][_0x1640db(0x101)](),this[_0x1640db(0x14a)][_0x1640db(0x159)]=!0x0;}[_0x57bd19(0x14e)]({source:_0x10db6c,withBackButton:_0x17cee4}){const _0x4ada7f=_0x57bd19;this[_0x4ada7f(0x176)][_0x4ada7f(0x144)]({'source':_0x10db6c,'withBackButton':_0x17cee4}),this[_0x4ada7f(0x14a)][_0x4ada7f(0x159)]=!0x0;}[_0x57bd19(0xf1)](_0x4ec5db,_0x59ca69,_0x35c466,_0x4d06c0){const _0x33662b=_0x57bd19;this[_0x33662b(0x176)][_0x33662b(0xf1)](_0x4ec5db,_0x35c466,_0x4d06c0);}[_0x57bd19(0x105)](_0x98c795){const _0x2dc779=_0x57bd19;this[_0x2dc779(0x176)][_0x2dc779(0x105)](_0x98c795),this[_0x2dc779(0x14a)][_0x2dc779(0x159)]=!0x1;}[_0x57bd19(0x163)](_0x30aba1){const _0x46c618=_0x57bd19;this[_0x46c618(0x102)](this[_0x46c618(0xf7)],this[_0x46c618(0x146)],_0x30aba1),this[_0x46c618(0x16f)](_0x30aba1);}[_0x57bd19(0x16f)](_0xbeac3){const _0x2a5c55=_0x57bd19,_0x537cf8=!_0xbeac3[_0x2a5c55(0x129)][_0x2a5c55(0xfb)]&&_0xbeac3[_0x2a5c55(0x129)][_0x2a5c55(0x10d)],_0x327669=_0xbeac3[_0x2a5c55(0x142)][_0x2a5c55(0x10d)],_0x393faf=_0xbeac3[_0x2a5c55(0x151)][_0x2a5c55(0x10d)],_0x19d5e4=_0xbeac3[_0x2a5c55(0x109)][_0x2a5c55(0x180)]>0x0,_0x1f6444=_0xbeac3[_0x2a5c55(0x127)]&&_0xbeac3[_0x2a5c55(0x127)][_0x2a5c55(0x180)]>0x0;this[_0x2a5c55(0x14a)][_0x2a5c55(0x116)]=_0x537cf8||_0x327669||_0x393faf||_0x19d5e4||_0x1f6444;}[_0x57bd19(0x13e)](){const _0xb77ae6=_0x57bd19;this[_0xb77ae6(0x13b)]({'tag':_0xb77ae6(0x168),'attributes':{'class':[Vo,_0xb77ae6(0x134)]},'children':[{'tag':_0xb77ae6(0x168),'attributes':{'class':Io},'children':this[_0xb77ae6(0x147)]}]});}[_0x57bd19(0x103)](){const _0x4bab3c=_0x57bd19;this[_0x4bab3c(0x14a)]['on'](_0x4bab3c(0x106),()=>{const _0x1a1e8c=_0x4bab3c;this[_0x1a1e8c(0x150)]();});}[_0x57bd19(0x10e)](_0x481054){const _0x397cbc=_0x57bd19,_0x18bc92=new _0x323b65(_0x481054);return _0x18bc92[_0x397cbc(0x133)]({'label':_0x4f98a1(_0x481054,_0x397cbc(0x15a)),'class':No+'\x20'+Ro,'icon':_0x5a44ef,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x18bc92;}[_0x57bd19(0x177)](_0x3ab2e1){const _0x3e2fc5=_0x57bd19;return this[_0x3e2fc5(0xed)](_0x3ab2e1,Po);}[_0x57bd19(0xec)](_0x38f706){const _0x61ea84=_0x57bd19,_0x4efe3a=this[_0x61ea84(0xed)](_0x38f706,Oo);return this[_0x61ea84(0x145)](_0x4efe3a,_0x38f706),_0x4efe3a;}[_0x57bd19(0x161)](_0xdfd509,_0x17cacc){const _0x8e77a4=_0x57bd19,_0x306ad5={'searchInputVisibleFrom':_0x17cacc[_0x8e77a4(0x172)],'onBackToContext':()=>{const _0x42d141=_0x8e77a4;this[_0x42d141(0x160)](),this[_0x42d141(0xf7)][_0x42d141(0x15c)]({'target':this[_0x42d141(0x14a)][_0x42d141(0x166)],'limiter':this[_0x42d141(0x10f)](),'positions':Xo});},'onResourceSelected':(_0x10f89d,_0x105233)=>{const _0x33c3b7=_0x8e77a4;this[_0x33c3b7(0x104)](_0x33c3b7(0xef),{'source':_0x10f89d,'resource':_0x105233});},'onLoadSourceResources':_0x4d5b10=>{const _0x23834a=_0x8e77a4;this[_0x23834a(0x104)](_0x23834a(0x154),_0x4d5b10);},'onBalloonClosed':()=>{const _0x31a682=_0x8e77a4;this[_0x31a682(0x14a)][_0x31a682(0x159)]=!0x1;},'getLimiterElement':()=>this[_0x8e77a4(0x10f)](),'getTargetElement':()=>this[_0x8e77a4(0x14a)][_0x8e77a4(0x166)]};return new _0x338a98(_0xdfd509,_0x17cacc[_0x8e77a4(0x10c)],_0x306ad5);}[_0x57bd19(0x10f)](){const _0x39fe0c=_0x57bd19;return this[_0x39fe0c(0x166)]?.[_0x39fe0c(0x153)]('.'+Fo)||document[_0x39fe0c(0x169)];}[_0x57bd19(0xed)](_0x3e9e35,_0x4be742){const _0x2703f5=_0x57bd19,_0x4e7fb6=new _0x336b4f(_0x3e9e35);return _0x4e7fb6[_0x2703f5(0x16b)]({'attributes':{'class':_0x4be742}}),this[_0x2703f5(0x10c)][_0x2703f5(0x121)](_0x4e7fb6),_0x4e7fb6;}[_0x57bd19(0x102)](_0x1531f8,_0x2cb36a,_0x18733f){const _0x41bed6=_0x57bd19;if(_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x17b)](),!_0x18733f[_0x41bed6(0x129)][_0x41bed6(0xfb)]&&_0x18733f[_0x41bed6(0x129)][_0x41bed6(0x10d)]){const _0x4fcee8=this[_0x41bed6(0x119)](_0x2cb36a,{'label':_0x4f98a1(_0x2cb36a,_0x41bed6(0x124)),'icon':_0x194dc3});_0x4fcee8['on'](_0x41bed6(0x106),()=>{const _0x517c84=_0x41bed6;this[_0x517c84(0x104)](_0x517c84(0x13c)),this[_0x517c84(0xf4)]();}),_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x121)](_0x4fcee8);}if(_0x18733f[_0x41bed6(0x142)][_0x41bed6(0x10d)]){const _0x3c34eb=this[_0x41bed6(0x119)](_0x2cb36a,{'label':_0x4f98a1(_0x2cb36a,_0x41bed6(0x11e)),'icon':_0x4acf7f});_0x3c34eb['on'](_0x41bed6(0x106),()=>{const _0x4b11a9=_0x41bed6;this[_0x4b11a9(0xf4)](),this[_0x4b11a9(0x132)](),this[_0x4b11a9(0xf0)][_0x4b11a9(0x15c)]({'target':this[_0x4b11a9(0x14a)][_0x4b11a9(0x166)],'limiter':this[_0x4b11a9(0x10f)](),'positions':Xo}),this[_0x4b11a9(0x12a)][_0x4b11a9(0xee)]();}),_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x121)](_0x3c34eb);}if(_0x18733f[_0x41bed6(0x151)][_0x41bed6(0x10d)]){const _0x55182a=new _0x2af1cc(_0x2cb36a);_0x55182a[_0x41bed6(0x133)]({'label':_0x4f98a1(_0x2cb36a,_0x41bed6(0x10b)),'icon':_0x19ded0,'withText':!0x0,'tooltip':!0x0,'class':Uo,'allowMultipleFiles':!0x0}),_0x55182a['on'](_0x41bed6(0x106),()=>{const _0xa6450=_0x41bed6;this[_0xa6450(0xf4)]();}),_0x55182a['on'](_0x41bed6(0x131),(_0x5f0ec7,_0x310c16)=>{const _0x2f674e=_0x41bed6;this[_0x2f674e(0x104)](_0x2f674e(0x14c),_0x310c16);}),_0x55182a[_0x41bed6(0x152)]=!0x0,_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x121)](_0x55182a);}for(const _0x3962c1 of _0x18733f[_0x41bed6(0x109)]){const _0x1144e9=this[_0x41bed6(0x119)](_0x2cb36a,{'label':_0x3962c1[_0x41bed6(0x143)],'icon':_0x3962c1[_0x41bed6(0x11c)]||_0x143024,'type':_0x41bed6(0xfd)});_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x121)](_0x1144e9),_0x1144e9['on'](_0x41bed6(0x106),()=>{const _0x341187=_0x41bed6;this[_0x341187(0xf4)](),this[_0x341187(0x14e)]({'source':_0x3962c1,'withBackButton':!this[_0x341187(0xeb)]});});}for(const _0x4e0297 of _0x18733f[_0x41bed6(0x127)]||[]){const _0x378bb6=this[_0x41bed6(0x119)](_0x2cb36a,{'label':_0x4e0297[_0x41bed6(0x143)],'icon':_0x4e0297[_0x41bed6(0x11c)]||_0x143024,'type':_0x41bed6(0xf9)});_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x121)](_0x378bb6),_0x378bb6['on'](_0x41bed6(0x106),()=>{const _0x50a4c1=_0x41bed6;this[_0x50a4c1(0xf4)](),this[_0x50a4c1(0x104)](_0x50a4c1(0x130),_0x4e0297);});}this[_0x41bed6(0xeb)]=0x1===_0x1531f8[_0x41bed6(0x15f)][_0x41bed6(0x180)],this[_0x41bed6(0x12a)][_0x41bed6(0xfe)]=!this[_0x41bed6(0xeb)];}[_0x57bd19(0x145)](_0x4387d6,_0x3c1a96){const _0x27c8b6=_0x57bd19;this[_0x27c8b6(0x12a)]=new _0x176b9b(_0x3c1a96),this[_0x27c8b6(0x12a)]['on'](_0x27c8b6(0x13f),(_0x5c0b0a,_0x447c18)=>{const _0x3530be=_0x27c8b6;this[_0x3530be(0x12f)](_0x447c18);}),this[_0x27c8b6(0x12a)]['on'](_0x27c8b6(0xe9),()=>{const _0x58ba8e=_0x27c8b6;this[_0x58ba8e(0x157)](),this[_0x58ba8e(0xeb)]||(this[_0x58ba8e(0x160)](),this[_0x58ba8e(0xf7)][_0x58ba8e(0x15c)]({'target':this[_0x58ba8e(0x14a)][_0x58ba8e(0x166)],'limiter':this[_0x58ba8e(0x10f)](),'positions':Xo}));}),this[_0x27c8b6(0x12a)]['on'](_0x27c8b6(0x118),()=>{const _0x23be9d=_0x27c8b6;this[_0x23be9d(0xf0)][_0x23be9d(0x10a)]&&this[_0x23be9d(0xf0)][_0x23be9d(0x15c)]({'target':this[_0x23be9d(0x14a)][_0x23be9d(0x166)],'limiter':this[_0x23be9d(0x10f)](),'positions':Xo});}),_0x4387d6[_0x27c8b6(0x15f)][_0x27c8b6(0x121)](this[_0x27c8b6(0x12a)]);}[_0x57bd19(0x119)](_0x3828a1,_0x300682){const _0x44591c=_0x57bd19,_0x344185=_0x44591c(0xfd)===_0x300682[_0x44591c(0xff)]?new SourcesBalloonButtonView(_0x3828a1):new _0x323b65(_0x3828a1);return _0x344185[_0x44591c(0x133)]({'label':_0x300682[_0x44591c(0x143)],'icon':_0x300682[_0x44591c(0x11c)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Uo}),_0x344185;}[_0x57bd19(0x115)](){const _0x47664b=_0x57bd19;this[_0x47664b(0x12c)](),this[_0x47664b(0x120)]();}[_0x57bd19(0x120)](){const _0x125abb=_0x57bd19;_0x27742b({'emitter':this[_0x125abb(0xf0)],'contextElements':[this[_0x125abb(0xf0)][_0x125abb(0x166)]],'callback':()=>{const _0x20aae4=_0x125abb;this[_0x20aae4(0x157)]();},'activator':()=>this[_0x125abb(0xf0)][_0x125abb(0x10a)]});}[_0x57bd19(0x17e)](_0x35f0c4){const _0x37c725=_0x57bd19,_0x46742f=this[_0x37c725(0x107)];_0x46742f[_0x37c725(0x164)][_0x37c725(0x159)]=_0x35f0c4,_0x35f0c4?_0x46742f[_0x37c725(0x126)][_0x37c725(0x101)]():_0x46742f[_0x37c725(0x126)][_0x37c725(0x175)]();}[_0x57bd19(0x12c)](){const _0x3d6d1f=_0x57bd19,{balloonView:_0x2682c9,buttonView:_0x59d9e5,hideMethod:_0x4fae0d}=this[_0x3d6d1f(0x107)];_0x27742b({'emitter':_0x2682c9,'contextElements':[_0x2682c9[_0x3d6d1f(0x166)],_0x59d9e5[_0x3d6d1f(0x166)]],'callback':()=>{_0x4fae0d();},'activator':()=>_0x59d9e5[_0x3d6d1f(0x159)]&&!this[_0x3d6d1f(0xf0)][_0x3d6d1f(0x10a)]&&!this[_0x3d6d1f(0x176)][_0x3d6d1f(0x17c)]()});}[_0x57bd19(0x162)](_0x44adc5,_0x500762,_0x52a3e2=!0x1,_0x4769a9=!0x1){const _0x546461=_0x57bd19,_0x9c9185=_0x546461(0x135)===_0x500762||!0x0===_0x44adc5[_0x546461(0x137)],_0x374cc8=new _0x1fb0ea(this[_0x546461(0x146)],_0x44adc5,_0x9c9185,_0x52a3e2,_0x4769a9);return _0x9c9185||_0x374cc8['on'](_0x546461(0xfc),()=>{const _0x1536f1=_0x546461;this[_0x1536f1(0x104)](_0x1536f1(0xf3),_0x374cc8['id']);}),_0x374cc8;}[_0x57bd19(0x167)](_0x307301,_0x159b39){const _0x40ea47=_0x57bd19;_0x159b39[_0x40ea47(0x121)](_0x307301,0x0);}[_0x57bd19(0x173)](_0x5123d5,_0x20343a){const _0x58fe33=_0x57bd19,_0x1ca2f6=_0x20343a[_0x58fe33(0x141)](_0x48ef44=>_0x48ef44['id']===_0x5123d5);_0x1ca2f6&&_0x20343a[_0x58fe33(0x12e)](_0x1ca2f6);}[_0x57bd19(0x150)](){const _0x3b7ce4=_0x57bd19;this[_0x3b7ce4(0x14a)][_0x3b7ce4(0x159)]?this[_0x3b7ce4(0xf4)]():(this[_0x3b7ce4(0x160)](),this[_0x3b7ce4(0xf7)][_0x3b7ce4(0x15c)]({'target':this[_0x3b7ce4(0x14a)][_0x3b7ce4(0x166)],'limiter':this[_0x3b7ce4(0x10f)](),'positions':Xo}),this[_0x3b7ce4(0xeb)]&&this[_0x3b7ce4(0xf7)][_0x3b7ce4(0x15f)][_0x3b7ce4(0x100)](0x0)?.[_0x3b7ce4(0x104)](_0x3b7ce4(0x106)));}[_0x57bd19(0x12f)](_0x2d12fa){const _0x5052d0=_0x57bd19;this[_0x5052d0(0x12a)][_0x5052d0(0x17b)](),this[_0x5052d0(0x157)](),this[_0x5052d0(0x104)](_0x5052d0(0x128),_0x2d12fa);}}export class SourcesBalloonButtonView extends _0x323b65{[_0x57bd19(0x110)];constructor(_0x59139e){const _0x932e12=_0x57bd19;super(_0x59139e),this[_0x932e12(0x133)]({'withText':!0x0,'role':_0x932e12(0x12b)}),this[_0x932e12(0x110)]=this[_0x932e12(0xea)](),this[_0x932e12(0x16b)]({'attributes':{'class':[Lo]}});}[_0x57bd19(0x16d)](){const _0x552ffc=_0x57bd19;super[_0x552ffc(0x16d)](),this[_0x552ffc(0x108)][_0x552ffc(0x121)](this[_0x552ffc(0x110)]);}[_0x57bd19(0xea)](){const _0x2a35e3=_0x57bd19,_0x4658b4=new _0x3f38c1();return _0x4658b4[_0x2a35e3(0x15f)]=_0x2e13c4,_0x4658b4[_0x2a35e3(0x16b)]({'attributes':{'class':Lo+_0x2a35e3(0x140)}}),_0x4658b4;}}
|
|
23
|
+
const _0x5b4f25=_0x3dfa;(function(_0x3b6ad0,_0x445af0){const _0x3675f5=_0x3dfa,_0x428eda=_0x3b6ad0();while(!![]){try{const _0xe2ce4d=parseInt(_0x3675f5(0x20a))/0x1+-parseInt(_0x3675f5(0x234))/0x2+-parseInt(_0x3675f5(0x1aa))/0x3*(-parseInt(_0x3675f5(0x1a6))/0x4)+-parseInt(_0x3675f5(0x1d7))/0x5+-parseInt(_0x3675f5(0x1af))/0x6*(-parseInt(_0x3675f5(0x214))/0x7)+-parseInt(_0x3675f5(0x1e1))/0x8*(-parseInt(_0x3675f5(0x1e4))/0x9)+parseInt(_0x3675f5(0x210))/0xa*(parseInt(_0x3675f5(0x1cb))/0xb);if(_0xe2ce4d===_0x445af0)break;else _0x428eda['push'](_0x428eda['shift']());}catch(_0x3a3988){_0x428eda['push'](_0x428eda['shift']());}}}(_0x468b,0x85609));function _0x3dfa(_0x14259e,_0x43b242){const _0x468b7e=_0x468b();return _0x3dfa=function(_0x3dfa34,_0x217776){_0x3dfa34=_0x3dfa34-0x1a4;let _0x389715=_0x468b7e[_0x3dfa34];return _0x389715;},_0x3dfa(_0x14259e,_0x43b242);}import{BalloonPanelView as _0x46c417,ButtonView as _0x24bcd4,clickOutsideHandler as _0x119ef5,FileDialogButtonView as _0x2ae85c,IconView as _0x41efa0,View as _0x885a4c}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x77def6,IconDocument as _0x1fda8f,IconDocumentOutline as _0x3ea621,IconDropdownArrow as _0x288f94,IconLink as _0x5ab1de,IconPaperClip as _0x19c750}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x3b7bda}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x1432e0}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x15c100}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x5ccf7c}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x61e016}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x5b4f25(0x1cf),_0x5b4f25(0x1b3),_0x5b4f25(0x1e8),_0x5b4f25(0x1cc),_0x5b4f25(0x23a),_0x5b4f25(0x1bd),_0x5b4f25(0x1fe)];const Uo=_0x5b4f25(0x238),Lo=_0x5b4f25(0x1ff),No=_0x5b4f25(0x1dd),Mo=_0x5b4f25(0x1f6),Ho=_0x5b4f25(0x1a8),jo=_0x5b4f25(0x1d8),Fo=_0x5b4f25(0x1db),Xo=_0x5b4f25(0x1e9),yo=_0x5b4f25(0x22f),Do=_0x5b4f25(0x1ea),$o=_0x5b4f25(0x1d9),Wo=_0x5b4f25(0x220),qo=[_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x1b2)],_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x202)],_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x1d6)],_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x236)],_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x1f0)],_0x46c417[_0x5b4f25(0x1c3)][_0x5b4f25(0x22a)]];export class AIChatContextPanelView extends _0x885a4c{[_0x5b4f25(0x213)];[_0x5b4f25(0x223)]=this[_0x5b4f25(0x217)]();[_0x5b4f25(0x1fb)]=this[_0x5b4f25(0x217)]();[_0x5b4f25(0x22b)];[_0x5b4f25(0x1b4)];[_0x5b4f25(0x1ad)];[_0x5b4f25(0x208)];[_0x5b4f25(0x1ba)];[_0x5b4f25(0x1a7)];[_0x5b4f25(0x1a4)]=!0x1;[_0x5b4f25(0x1d2)];constructor(_0x203dab,_0x4ad9db){const _0x2bd3b1=_0x5b4f25;super(_0x203dab),this[_0x2bd3b1(0x1d2)]=_0x4ad9db[_0x2bd3b1(0x1d2)],this[_0x2bd3b1(0x223)]=this[_0x2bd3b1(0x217)](),this[_0x2bd3b1(0x1fb)]=this[_0x2bd3b1(0x217)](),this[_0x2bd3b1(0x213)]=this[_0x2bd3b1(0x1e5)](_0x203dab),this[_0x2bd3b1(0x1b4)]=this[_0x2bd3b1(0x1c6)](_0x203dab),this[_0x2bd3b1(0x1ad)]=this[_0x2bd3b1(0x1b0)](_0x203dab),this[_0x2bd3b1(0x1ba)]=this[_0x2bd3b1(0x1eb)](_0x203dab,_0x4ad9db);const _0xde91e9={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':yo,'controlsButton':Xo}};this[_0x2bd3b1(0x22b)]=new _0x15c100(_0x203dab,this[_0x2bd3b1(0x223)],_0xde91e9,this[_0x2bd3b1(0x1d2)],this),this[_0x2bd3b1(0x1a7)]={'buttonView':this[_0x2bd3b1(0x213)],'balloonView':this[_0x2bd3b1(0x1b4)],'hideMethod':this[_0x2bd3b1(0x1e6)][_0x2bd3b1(0x1ec)](this),'showMethod':this[_0x2bd3b1(0x215)][_0x2bd3b1(0x1ec)](this)},this[_0x2bd3b1(0x209)](),this[_0x2bd3b1(0x1bc)]();}[_0x5b4f25(0x230)](){const _0x2f5d3a=_0x5b4f25;super[_0x2f5d3a(0x230)](),this[_0x2f5d3a(0x21e)](),this[_0x2f5d3a(0x22b)][_0x2f5d3a(0x1c9)](this[_0x2f5d3a(0x211)]),this[_0x2f5d3a(0x22b)][_0x2f5d3a(0x1dc)]();}[_0x5b4f25(0x23b)](){const _0x52eba8=_0x5b4f25;super[_0x52eba8(0x23b)](),this[_0x52eba8(0x22b)][_0x52eba8(0x23b)](),this[_0x52eba8(0x1ba)][_0x52eba8(0x23b)]();}[_0x5b4f25(0x21a)](_0x1abd12,_0x4eeac9){const _0x4c25c0=_0x5b4f25,_0x5a1501=this[_0x4c25c0(0x1e2)](_0x1abd12,_0x4c25c0(0x1b7),!0x0,_0x4eeac9);this[_0x4c25c0(0x1cd)](_0x5a1501,this[_0x4c25c0(0x223)]),this[_0x4c25c0(0x22b)][_0x4c25c0(0x1dc)]();}[_0x5b4f25(0x23a)](_0x82ff55){const _0x5c5c01=_0x5b4f25;this[_0x5c5c01(0x20f)](_0x82ff55,this[_0x5c5c01(0x223)]),this[_0x5c5c01(0x20f)](_0x82ff55,this[_0x5c5c01(0x22b)][_0x5c5c01(0x224)]),this[_0x5c5c01(0x22b)][_0x5c5c01(0x1dc)]();}[_0x5b4f25(0x1f5)](_0x54db78,_0x129082){const _0x491ae8=_0x5b4f25;let _0x4b941b=this[_0x491ae8(0x223)][_0x491ae8(0x1f1)](_0x226552=>_0x226552['id']===_0x54db78);_0x4b941b||(_0x4b941b=this[_0x491ae8(0x22b)][_0x491ae8(0x224)][_0x491ae8(0x1f1)](_0x76a689=>_0x76a689['id']===_0x54db78)),_0x4b941b&&(_0x4b941b[_0x491ae8(0x22e)]=_0x129082);}[_0x5b4f25(0x1e7)](_0x3ff8c2){const _0x27365e=_0x5b4f25;this[_0x27365e(0x1fb)][_0x27365e(0x1d5)]();for(const _0x54efed of _0x3ff8c2){const _0x559a51=this[_0x27365e(0x1e2)](_0x54efed,_0x27365e(0x206),!0x1,!0x1);this[_0x27365e(0x1cd)](_0x559a51,this[_0x27365e(0x1fb)]);}}[_0x5b4f25(0x20b)](){const _0x5964c4=_0x5b4f25;this[_0x5964c4(0x223)][_0x5964c4(0x1d5)](),this[_0x5964c4(0x22b)][_0x5964c4(0x1d5)]();}[_0x5b4f25(0x1fd)](){const _0x22057a=_0x5b4f25;this[_0x22057a(0x1fb)][_0x22057a(0x1d5)]();}[_0x5b4f25(0x1d0)](_0x4eeb1a,_0x1b52be,_0x71034f){const _0x240e0d=_0x5b4f25;this[_0x240e0d(0x1ba)][_0x240e0d(0x1d0)](_0x4eeb1a,_0x1b52be,_0x71034f);}[_0x5b4f25(0x1e6)](){const _0x305ebf=_0x5b4f25;this[_0x305ebf(0x1f3)](!0x1);}[_0x5b4f25(0x215)](){const _0x78a3fa=_0x5b4f25;this[_0x78a3fa(0x1f3)](!0x0);}[_0x5b4f25(0x20e)](){const _0x4dcaf8=_0x5b4f25;this[_0x4dcaf8(0x1ad)][_0x4dcaf8(0x205)](),this[_0x4dcaf8(0x213)][_0x4dcaf8(0x1e0)]=!0x1,this[_0x4dcaf8(0x208)]&&this[_0x4dcaf8(0x208)][_0x4dcaf8(0x1d5)]();}[_0x5b4f25(0x1df)](){const _0x54cc6e=_0x5b4f25;this[_0x54cc6e(0x1ad)][_0x54cc6e(0x1be)](),this[_0x54cc6e(0x213)][_0x54cc6e(0x1e0)]=!0x0;}[_0x5b4f25(0x227)]({source:_0x29e86e,withBackButton:_0xbd068a}){const _0xa113c3=_0x5b4f25;this[_0xa113c3(0x1ba)][_0xa113c3(0x20d)]({'source':_0x29e86e,'withBackButton':_0xbd068a}),this[_0xa113c3(0x213)][_0xa113c3(0x1e0)]=!0x0;}[_0x5b4f25(0x1bb)](_0x6a513e,_0xe5e51e,_0xab957,_0x1d923b){const _0x29399b=_0x5b4f25;this[_0x29399b(0x1ba)][_0x29399b(0x1bb)](_0x6a513e,_0xab957,_0x1d923b);}[_0x5b4f25(0x207)](_0xfa124b){const _0x282e1b=_0x5b4f25;this[_0x282e1b(0x1ba)][_0x282e1b(0x207)](_0xfa124b),this[_0x282e1b(0x213)][_0x282e1b(0x1e0)]=!0x1;}[_0x5b4f25(0x1ce)](_0x3ce046){const _0x36a9d7=_0x5b4f25;this[_0x36a9d7(0x232)](this[_0x36a9d7(0x1b4)],this[_0x36a9d7(0x1b9)],_0x3ce046),this[_0x36a9d7(0x219)](_0x3ce046);}[_0x5b4f25(0x219)](_0x4f82c0){const _0x4a6e93=_0x5b4f25,_0x43e6b7=!_0x4f82c0[_0x4a6e93(0x1de)][_0x4a6e93(0x1f9)]&&_0x4f82c0[_0x4a6e93(0x1de)][_0x4a6e93(0x1a5)],_0x1ea271=_0x4f82c0[_0x4a6e93(0x1f7)][_0x4a6e93(0x1a5)],_0x4d88b6=_0x4f82c0[_0x4a6e93(0x1ef)][_0x4a6e93(0x1a5)],_0x319d82=_0x4f82c0[_0x4a6e93(0x216)][_0x4a6e93(0x1ee)]>0x0,_0x135644=_0x4f82c0[_0x4a6e93(0x233)]&&_0x4f82c0[_0x4a6e93(0x233)][_0x4a6e93(0x1ee)]>0x0;this[_0x4a6e93(0x213)][_0x4a6e93(0x1b8)]=_0x43e6b7||_0x1ea271||_0x4d88b6||_0x319d82||_0x135644;}[_0x5b4f25(0x209)](){const _0x3c390d=_0x5b4f25;this[_0x3c390d(0x203)]({'tag':_0x3c390d(0x229),'attributes':{'class':[Uo,_0x3c390d(0x1a9)]},'children':[{'tag':_0x3c390d(0x229),'attributes':{'class':Lo},'children':this[_0x3c390d(0x223)]}]});}[_0x5b4f25(0x1bc)](){const _0xa9a72c=_0x5b4f25;this[_0xa9a72c(0x213)]['on'](_0xa9a72c(0x1c5),()=>{const _0x33502c=_0xa9a72c;this[_0x33502c(0x226)]();});}[_0x5b4f25(0x1e5)](_0x24160f){const _0x257a3a=_0x5b4f25,_0x31d895=new _0x24bcd4(_0x24160f);return _0x31d895[_0x257a3a(0x1ed)]({'label':_0x5ccf7c(_0x24160f,_0x257a3a(0x231)),'class':Xo+'\x20'+Mo,'icon':_0x19c750,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x31d895;}[_0x5b4f25(0x1c6)](_0x136f62){const _0xb7ab15=_0x5b4f25;return this[_0xb7ab15(0x204)](_0x136f62,No);}[_0x5b4f25(0x1b0)](_0x35a57c){const _0x55c024=_0x5b4f25,_0x10d8c3=this[_0x55c024(0x204)](_0x35a57c,Ho);return this[_0x55c024(0x200)](_0x10d8c3,_0x35a57c),_0x10d8c3;}[_0x5b4f25(0x1eb)](_0x563356,_0x1ba404){const _0x43d6f9=_0x5b4f25,_0x425562={'searchInputVisibleFrom':_0x1ba404[_0x43d6f9(0x21b)],'onBackToContext':()=>{const _0x212d4a=_0x43d6f9;this[_0x212d4a(0x215)](),this[_0x212d4a(0x1b4)][_0x212d4a(0x239)]({'target':this[_0x212d4a(0x213)][_0x212d4a(0x211)],'limiter':this[_0x212d4a(0x1c2)](),'positions':qo});},'onResourceSelected':(_0x12cd07,_0x2f199b)=>{const _0x8c6fc7=_0x43d6f9;this[_0x8c6fc7(0x201)](_0x8c6fc7(0x1cc),{'source':_0x12cd07,'resource':_0x2f199b});},'onLoadSourceResources':_0x1f299c=>{const _0x124c00=_0x43d6f9;this[_0x124c00(0x201)](_0x124c00(0x1bd),_0x1f299c);},'onBalloonClosed':()=>{const _0x66b223=_0x43d6f9;this[_0x66b223(0x213)][_0x66b223(0x1e0)]=!0x1;},'getLimiterElement':()=>this[_0x43d6f9(0x1c2)](),'getTargetElement':()=>this[_0x43d6f9(0x213)][_0x43d6f9(0x211)]};return new _0x61e016(_0x563356,_0x1ba404[_0x43d6f9(0x1d2)],_0x425562);}[_0x5b4f25(0x1c2)](){const _0x48d2ee=_0x5b4f25;return this[_0x48d2ee(0x211)]?.[_0x48d2ee(0x1d3)]('.'+Wo)||document[_0x48d2ee(0x1f8)];}[_0x5b4f25(0x204)](_0x42c093,_0x1e864f){const _0x16dc18=_0x5b4f25,_0x4d6269=new _0x46c417(_0x42c093);return _0x4d6269[_0x16dc18(0x1b1)]({'attributes':{'class':_0x1e864f}}),this[_0x16dc18(0x1d2)][_0x16dc18(0x218)](_0x4d6269),_0x4d6269;}[_0x5b4f25(0x232)](_0x33269b,_0x160f8b,_0x5222ed){const _0x2a20de=_0x5b4f25;if(_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x1d5)](),!_0x5222ed[_0x2a20de(0x1de)][_0x2a20de(0x1f9)]&&_0x5222ed[_0x2a20de(0x1de)][_0x2a20de(0x1a5)]){const _0x22177f=this[_0x2a20de(0x1b6)](_0x160f8b,{'label':_0x5ccf7c(_0x160f8b,_0x2a20de(0x22d)),'icon':_0x1fda8f});_0x22177f['on'](_0x2a20de(0x1c5),()=>{const _0x91dca7=_0x2a20de;this[_0x91dca7(0x201)](_0x91dca7(0x1cf)),this[_0x91dca7(0x1e6)]();}),_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x218)](_0x22177f);}if(_0x5222ed[_0x2a20de(0x1f7)][_0x2a20de(0x1a5)]){const _0x4c462c=this[_0x2a20de(0x1b6)](_0x160f8b,{'label':_0x5ccf7c(_0x160f8b,_0x2a20de(0x222)),'icon':_0x5ab1de});_0x4c462c['on'](_0x2a20de(0x1c5),()=>{const _0x56787d=_0x2a20de;this[_0x56787d(0x1e6)](),this[_0x56787d(0x1df)](),this[_0x56787d(0x1ad)][_0x56787d(0x239)]({'target':this[_0x56787d(0x213)][_0x56787d(0x211)],'limiter':this[_0x56787d(0x1c2)](),'positions':qo}),this[_0x56787d(0x208)][_0x56787d(0x21c)]();}),_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x218)](_0x4c462c);}if(_0x5222ed[_0x2a20de(0x1ef)][_0x2a20de(0x1a5)]){const _0x216879=new _0x2ae85c(_0x160f8b);_0x216879[_0x2a20de(0x1ed)]({'label':_0x5ccf7c(_0x160f8b,_0x2a20de(0x228)),'icon':_0x77def6,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x216879['on'](_0x2a20de(0x1c5),()=>{const _0x120d42=_0x2a20de;this[_0x120d42(0x1e6)]();}),_0x216879['on'](_0x2a20de(0x225),(_0x28c717,_0x146a7d)=>{const _0x48da16=_0x2a20de;this[_0x48da16(0x201)](_0x48da16(0x1b3),_0x146a7d);}),_0x216879[_0x2a20de(0x1c1)]=!0x0,_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x218)](_0x216879);}for(const _0x59273c of _0x5222ed[_0x2a20de(0x216)]){const _0x49de6b=this[_0x2a20de(0x1b6)](_0x160f8b,{'label':_0x59273c[_0x2a20de(0x1c4)],'icon':_0x59273c[_0x2a20de(0x1c8)]||_0x3ea621,'type':_0x2a20de(0x212)});_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x218)](_0x49de6b),_0x49de6b['on'](_0x2a20de(0x1c5),()=>{const _0x215834=_0x2a20de;this[_0x215834(0x1e6)](),this[_0x215834(0x227)]({'source':_0x59273c,'withBackButton':!this[_0x215834(0x1a4)]});});}for(const _0xc4990f of _0x5222ed[_0x2a20de(0x233)]||[]){const _0x49da85=this[_0x2a20de(0x1b6)](_0x160f8b,{'label':_0xc4990f[_0x2a20de(0x1c4)],'icon':_0xc4990f[_0x2a20de(0x1c8)]||_0x3ea621,'type':_0x2a20de(0x1e3)});_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x218)](_0x49da85),_0x49da85['on'](_0x2a20de(0x1c5),()=>{const _0x3d751d=_0x2a20de;this[_0x3d751d(0x1e6)](),this[_0x3d751d(0x201)](_0x3d751d(0x1fe),_0xc4990f);});}this[_0x2a20de(0x1a4)]=0x1===_0x33269b[_0x2a20de(0x21d)][_0x2a20de(0x1ee)],this[_0x2a20de(0x208)][_0x2a20de(0x1ac)]=!this[_0x2a20de(0x1a4)];}[_0x5b4f25(0x200)](_0x3a4327,_0xcef65a){const _0x3a0609=_0x5b4f25;this[_0x3a0609(0x208)]=new _0x1432e0(_0xcef65a),this[_0x3a0609(0x208)]['on'](_0x3a0609(0x1b5),(_0x1840c1,_0x4170c1)=>{const _0x20a60f=_0x3a0609;this[_0x20a60f(0x1d4)](_0x4170c1);}),this[_0x3a0609(0x208)]['on'](_0x3a0609(0x235),()=>{const _0x5e9be2=_0x3a0609;this[_0x5e9be2(0x20e)](),this[_0x5e9be2(0x1a4)]||(this[_0x5e9be2(0x215)](),this[_0x5e9be2(0x1b4)][_0x5e9be2(0x239)]({'target':this[_0x5e9be2(0x213)][_0x5e9be2(0x211)],'limiter':this[_0x5e9be2(0x1c2)](),'positions':qo}));}),this[_0x3a0609(0x208)]['on'](_0x3a0609(0x1ca),()=>{const _0x25d991=_0x3a0609;this[_0x25d991(0x1ad)][_0x25d991(0x1ae)]&&this[_0x25d991(0x1ad)][_0x25d991(0x239)]({'target':this[_0x25d991(0x213)][_0x25d991(0x211)],'limiter':this[_0x25d991(0x1c2)](),'positions':qo});}),_0x3a4327[_0x3a0609(0x21d)][_0x3a0609(0x218)](this[_0x3a0609(0x208)]);}[_0x5b4f25(0x1b6)](_0x1624cb,_0x524c15){const _0x17b1af=_0x5b4f25,_0xb0a252=_0x17b1af(0x212)===_0x524c15[_0x17b1af(0x237)]?new SourcesBalloonButtonView(_0x1624cb):new _0x24bcd4(_0x1624cb);return _0xb0a252[_0x17b1af(0x1ed)]({'label':_0x524c15[_0x17b1af(0x1c4)],'icon':_0x524c15[_0x17b1af(0x1c8)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0xb0a252;}[_0x5b4f25(0x21e)](){const _0x45860d=_0x5b4f25;this[_0x45860d(0x1c7)](),this[_0x45860d(0x20c)]();}[_0x5b4f25(0x20c)](){const _0x11bf35=_0x5b4f25;_0x119ef5({'emitter':this[_0x11bf35(0x1ad)],'contextElements':[this[_0x11bf35(0x1ad)][_0x11bf35(0x211)]],'callback':()=>{const _0x53e648=_0x11bf35;this[_0x53e648(0x20e)]();},'activator':()=>this[_0x11bf35(0x1ad)][_0x11bf35(0x1ae)]});}[_0x5b4f25(0x1f3)](_0x232f55){const _0x68ed14=_0x5b4f25,_0x38fdc5=this[_0x68ed14(0x1a7)];_0x38fdc5[_0x68ed14(0x1ab)][_0x68ed14(0x1e0)]=_0x232f55,_0x232f55?_0x38fdc5[_0x68ed14(0x1da)][_0x68ed14(0x1be)]():_0x38fdc5[_0x68ed14(0x1da)][_0x68ed14(0x205)]();}[_0x5b4f25(0x1c7)](){const _0x2118e7=_0x5b4f25,{balloonView:_0x1b871e,buttonView:_0x22e585,hideMethod:_0x5a3c7f}=this[_0x2118e7(0x1a7)];_0x119ef5({'emitter':_0x1b871e,'contextElements':[_0x1b871e[_0x2118e7(0x211)],_0x22e585[_0x2118e7(0x211)]],'callback':()=>{_0x5a3c7f();},'activator':()=>_0x22e585[_0x2118e7(0x1e0)]&&!this[_0x2118e7(0x1ad)][_0x2118e7(0x1ae)]&&!this[_0x2118e7(0x1ba)][_0x2118e7(0x1d1)]()});}[_0x5b4f25(0x1e2)](_0x46cd73,_0x5666ee,_0x26c380=!0x1,_0x4a9789=!0x1){const _0x22b22f=_0x5b4f25,_0x3631a3=_0x22b22f(0x206)===_0x5666ee||!0x0===_0x46cd73[_0x22b22f(0x1bf)],_0x3df6bb=new _0x3b7bda(this[_0x22b22f(0x1b9)],_0x46cd73,_0x3631a3,_0x26c380,_0x4a9789);return _0x3631a3||_0x3df6bb['on'](_0x22b22f(0x1c0),()=>{const _0x2af1ff=_0x22b22f;this[_0x2af1ff(0x201)](_0x2af1ff(0x23a),_0x3df6bb['id']);}),_0x3df6bb;}[_0x5b4f25(0x1cd)](_0x2bbed6,_0x2ec74b){const _0xf76f2f=_0x5b4f25;_0x2ec74b[_0xf76f2f(0x218)](_0x2bbed6,0x0);}[_0x5b4f25(0x20f)](_0x212136,_0x28f141){const _0x353a4d=_0x5b4f25,_0x4616e3=_0x28f141[_0x353a4d(0x1f1)](_0x50f3d1=>_0x50f3d1['id']===_0x212136);_0x4616e3&&_0x28f141[_0x353a4d(0x1fa)](_0x4616e3);}[_0x5b4f25(0x226)](){const _0x5c3285=_0x5b4f25;this[_0x5c3285(0x213)][_0x5c3285(0x1e0)]?this[_0x5c3285(0x1e6)]():(this[_0x5c3285(0x215)](),this[_0x5c3285(0x1b4)][_0x5c3285(0x239)]({'target':this[_0x5c3285(0x213)][_0x5c3285(0x211)],'limiter':this[_0x5c3285(0x1c2)](),'positions':qo}),this[_0x5c3285(0x1a4)]&&this[_0x5c3285(0x1b4)][_0x5c3285(0x21d)][_0x5c3285(0x1f2)](0x0)?.[_0x5c3285(0x201)](_0x5c3285(0x1c5)));}[_0x5b4f25(0x1d4)](_0xe660a1){const _0x94b937=_0x5b4f25;this[_0x94b937(0x208)][_0x94b937(0x1d5)](),this[_0x94b937(0x20e)](),this[_0x94b937(0x201)](_0x94b937(0x1e8),_0xe660a1);}}function _0x468b(){const _0x417a30=['extendTemplate','northArrowSouthWest','addFileToContext','_addContextBalloonPanelView','submitUrl','_createBalloonButton','current','isEnabled','locale','_resourcesBalloonView','populateSourceResourceBalloon','_bindEventHandlers','loadSourceResources','show','isReadOnly','removeContextItemChip','tooltip','_getLimiterElement','defaultPositions','label','execute','_createAddContextBalloonPanelView','_setupAddContextBalloonClickOutsideHandler','icon','setContainerElement','refreshBalloon','905179CJZjMe','addResourceToContext','_addContextToCollection','setAddContextOptions','addDocumentToContext','updateResourceState','isAnyResourceBalloonVisible','bodyCollection','closest','_handleUrlSubmit','clear','northArrowSouthEast','1961290HTKLhT','ck-ai-chat-context-controls__balloon-button','ck-ai-chat-context-controls__show-more-balloon-panel','balloonView','ck-ai-chat-context-controls__balloon-button-source','reorganizeChips','ck-ai-chat-context-controls__add-context-balloon-panel','document','showUrlBalloonPanel','isOn','2123032JNjfnt','_createContextButton','customItem','9vTaOsq','_createAddContextButtonView','hideAddContextBalloonPanel','setConversationContext','addUrlToContext','ck-ai-chat-controls-button','ck-ai-chat-controls_context_show-more-button','_createResourcesBalloonView','bind','set','length','files','southArrowNorth','find','get','_toggleAddContextBalloon','menuitem','setContextItemLoading','ck-ai-chat-context-controls__add-context-button','urls','body','isHidden','remove','_conversationContextsChips','arrowView','clearConversationContextItems','executeCustomItemCallback','ck-ai-chat-context-controls__pending-contexts','_addUrlContent','fire','northArrowSouth','setTemplate','_createBaseBalloonPanel','hide','conversation','closeSourceResourceBalloon','_urlInputView','_setupTemplate','373716IFKCTP','clearCurrentContextItems','_setupUrlBalloonClickOutsideHandler','showSourceResourcesBalloon','hideUrlBalloonPanel','_removeContextFromCollection','50JIDfqC','element','source','addContextButtonView','7uuEUol','showAddContextBalloonPanel','sources','createCollection','add','_setAddContextButtonEnabled','addContextItem','searchInputVisibleFrom','focus','content','_setupAllBalloonClickOutsideHandlers','__arrow','ck-ai-chat','children','AI_CHAT_CONTEXT_URL_LABEL','_currentContextsChips','overflowChips','done','_handleAddContextButtonClick','_showSourceResourcesBalloon','AI_CHAT_CONTEXT_FILE_LABEL','div','southArrowNorthEast','_overflowManager','_createArrowView','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','isLoading','ck-ai-chat-context-chips-wrapper-balloon','render','AI_CHAT_CONTEXT_ADD_CONTEXT','_setBalloonPanelContent','customItems','1256142UlkBTi','cancel','southArrowNorthWest','type','ck-ai-chat-context-controls','pin','removeContextItem','destroy','_hasExactlyOneSource','enabled','60692sCIkOL','_addContextBalloonConfig','ck-ai-chat-context-controls__url-balloon-panel','ck-reset_all-excluded','69NPyTSM','buttonView','withBackButton','_urlBalloonPanelView','isVisible','1002738ORVDBR','_createUrlBalloonPanelView'];_0x468b=function(){return _0x417a30;};return _0x468b();}export class SourcesBalloonButtonView extends _0x24bcd4{[_0x5b4f25(0x1fc)];constructor(_0x20cacd){const _0x7f6406=_0x5b4f25;super(_0x20cacd),this[_0x7f6406(0x1ed)]({'withText':!0x0,'role':_0x7f6406(0x1f4)}),this[_0x7f6406(0x1fc)]=this[_0x7f6406(0x22c)](),this[_0x7f6406(0x1b1)]({'attributes':{'class':[Fo]}});}[_0x5b4f25(0x230)](){const _0x469016=_0x5b4f25;super[_0x469016(0x230)](),this[_0x469016(0x221)][_0x469016(0x218)](this[_0x469016(0x1fc)]);}[_0x5b4f25(0x22c)](){const _0x4f59c4=_0x5b4f25,_0x330b26=new _0x41efa0();return _0x330b26[_0x4f59c4(0x21d)]=_0x288f94,_0x330b26[_0x4f59c4(0x1b1)]({'attributes':{'class':Fo+_0x4f59c4(0x21f)}}),_0x330b26;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x434554=_0x57fe;(function(_0x3aa133,_0x2e0e1e){const _0x20558c=_0x57fe,_0x4de7a1=_0x3aa133();while(!![]){try{const _0x409c8d=parseInt(_0x20558c(0x1c1))/0x1*(-parseInt(_0x20558c(0x1c2))/0x2)+parseInt(_0x20558c(0x1ca))/0x3*(-parseInt(_0x20558c(0x1c0))/0x4)+parseInt(_0x20558c(0x1d2))/0x5+-parseInt(_0x20558c(0x1bd))/0x6*(-parseInt(_0x20558c(0x1d1))/0x7)+-parseInt(_0x20558c(0x1ce))/0x8*(parseInt(_0x20558c(0x1bc))/0x9)+parseInt(_0x20558c(0x1ba))/0xa+parseInt(_0x20558c(0x1d3))/0xb;if(_0x409c8d===_0x2e0e1e)break;else _0x4de7a1['push'](_0x4de7a1['shift']());}catch(_0x5123f9){_0x4de7a1['push'](_0x4de7a1['shift']());}}}(_0x3b55,0xf1728));import{ButtonView as _0x54cf40,View as _0x263b92}from'ckeditor5/src/ui.js';function _0x3b55(){const _0x27b7fe=['ck-ai-chat-controls-loader-wrapper','ck-ai-chat-controls-loader-icon','ck-ai-button-secondary\x20ck-ai-button-stop-generating','416VkKkYQ','execute','set','3724SVFvII','9637045opxKYS','4724962bfDbcS','_createLoaderView','setTemplate','locale','AI_CHAT_IS_WRITING','11633160WVJhMk','_loaderView','13176ITEEyN','2112DQrISy','ck-reset_all','fire','938500gAKYcn','5Xalsuz','681574KZahrm','ck-ai-chat-controls-loader-icon-dot','AI_CHAT_STOP_GENERATING','_createCancelButtonView','ck-ai-chat-controls-loader','abortPromptStream','_cancelButtonView','div','12BNmsov'];_0x3b55=function(){return _0x27b7fe;};return _0x3b55();}function _0x57fe(_0x4eccbf,_0x4551fe){const _0x3b5514=_0x3b55();return _0x57fe=function(_0x57fe7c,_0x29fccc){_0x57fe7c=_0x57fe7c-0x1b9;let _0x5b4944=_0x3b5514[_0x57fe7c];return _0x5b4944;},_0x57fe(_0x4eccbf,_0x4551fe);}import{IconStop as _0x29d805}from'ckeditor5/src/icons.js';import{getTranslation as _0x971f6d}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x263b92{[_0x434554(0x1c8)];[_0x434554(0x1bb)];constructor(_0x348dc5){const _0x40309a=_0x434554;super(_0x348dc5),this[_0x40309a(0x1c8)]=this[_0x40309a(0x1c5)](),this[_0x40309a(0x1bb)]=this[_0x40309a(0x1d4)](),this[_0x40309a(0x1d5)]({'tag':_0x40309a(0x1c9),'attributes':{'class':['ck',_0x40309a(0x1cb),_0x40309a(0x1be)]},'children':[this[_0x40309a(0x1bb)],this[_0x40309a(0x1c8)]]});}[_0x434554(0x1c5)](){const _0x4c3fda=_0x434554,_0x583e4b=new _0x54cf40(this[_0x4c3fda(0x1d6)]);return _0x583e4b[_0x4c3fda(0x1d0)]({'label':_0x971f6d(this[_0x4c3fda(0x1d6)],_0x4c3fda(0x1c4)),'withText':!0x0,'class':_0x4c3fda(0x1cd),'icon':_0x29d805}),_0x583e4b['on'](_0x4c3fda(0x1cf),()=>{const _0x18d17b=_0x4c3fda;this[_0x18d17b(0x1bf)](_0x18d17b(0x1c7));}),_0x583e4b;}[_0x434554(0x1d4)](){const _0x590261=_0x434554,_0x27c082=new _0x263b92(this[_0x590261(0x1d6)]);return _0x27c082[_0x590261(0x1d5)]({'tag':_0x590261(0x1c9),'attributes':{'class':[_0x590261(0x1c6)]},'children':[{'tag':_0x590261(0x1c9),'attributes':{'class':[_0x590261(0x1cc)]},'children':[{'tag':_0x590261(0x1c9),'attributes':{'class':[_0x590261(0x1c3)]}},{'tag':_0x590261(0x1c9),'attributes':{'class':[_0x590261(0x1c3)]}},{'tag':_0x590261(0x1c9),'attributes':{'class':[_0x590261(0x1c3)]}}]},{'text':_0x971f6d(this[_0x590261(0x1d6)],_0x590261(0x1b9))}]}),_0x27c082;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27aa08=_0x5508;function _0x1a36(){const _0x2b7e76=['ck-ai-chat-controls__model-selection','4552465BrTFmk','setTemplate','length','menuitemradio','ck-ai-chat-controls__model-selection__item-description','enabled','enableModelSelector','locale','Commands\x20are\x20not\x20implemented\x20yet.','webSearch','button','setModelList','ck-ai-chat-controls__model-selection__item-capabilities','log','ck-ai-chat-controls-button--commands','ck-ai-chat-controls__model-selection__item-name','reasoning','source','AI_CHAT_DISABLE_WEB_SEARCH','name','extendTemplate','text','AI_CHAT_CAPABILITIES_YES','hidden','reasoningActive','ck-hidden','AI_CHAT_SEARCH_WEB','addMany','set','12777858kpScGV','label','_reasoningButton','_createReasoningButton','1038602lyynRm','createCollection','AI_CHAT_DISABLE_REASONING','isOn','AI_CHAT_ENABLE_WEB_SEARCH','add','capabilities','buttonView','AI_CHAT_ENABLE_REASONING','modelSelectorEnabled','_modelSelectionDropdownItems','span','toggleReasoning','ck-ai-chat__prompt-capabilities','ck-button__label','style','_modelNameView','_createModelNameView','_webSearchButton','setModel','webSearchActive','7812304cYKZsP','AI_CHAT_REASONING','_getCapabilityParts','1938772OdIuEI','selector','AI_CHAT_CAPABILITIES_NO','AI_CHAT_COMMANDS','6938617Lolkgp','listenTo','activeModelName','2147079xZdVUv','toggleWebSearch','ck-ai-chat-controls-button','bindTemplate','modelDisplayMode','div','description','_createModelSelectionDropdown','tooltip','_commandsButton','selectModel','setReasoning','_createCommandsButton','clear','_modelSelectionDropdown','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','bind','ck-ai-chat-controls__model-name','disableModelSelector','execute','_createWebSearchButton','isEnabled','isVisible','fire','6vugrhV','model','setWebSearch','content','activeModelId','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','4qteYCK'];_0x1a36=function(){return _0x2b7e76;};return _0x1a36();}(function(_0x20feec,_0x595c5a){const _0x360ef6=_0x5508,_0x3068e3=_0x20feec();while(!![]){try{const _0x40e9c6=parseInt(_0x360ef6(0x135))/0x1+parseInt(_0x360ef6(0x14d))/0x2+-parseInt(_0x360ef6(0x154))/0x3*(parseInt(_0x360ef6(0x112))/0x4)+-parseInt(_0x360ef6(0x114))/0x5*(-parseInt(_0x360ef6(0x10c))/0x6)+-parseInt(_0x360ef6(0x151))/0x7+parseInt(_0x360ef6(0x14a))/0x8+-parseInt(_0x360ef6(0x131))/0x9;if(_0x40e9c6===_0x595c5a)break;else _0x3068e3['push'](_0x3068e3['shift']());}catch(_0x4d2532){_0x3068e3['push'](_0x3068e3['shift']());}}}(_0x1a36,0xbb94d));import{Collection as _0x1c8a99}from'ckeditor5/src/utils.js';function _0x5508(_0x234ff7,_0x391858){const _0x1a36f9=_0x1a36();return _0x5508=function(_0x55087c,_0xe58f71){_0x55087c=_0x55087c-0xf9;let _0x38c480=_0x1a36f9[_0x55087c];return _0x38c480;},_0x5508(_0x234ff7,_0x391858);}import{IconAI as _0x7b1cf1,IconBulb as _0x5651e7,IconWeb as _0x31151e}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x23988d,ButtonLabelView as _0x1292b2,ButtonView as _0x4c08ca,createDropdown as _0x11a140,IconView as _0x475496,UIModel as _0x3543e3,View as _0x23fa03}from'ckeditor5/src/ui.js';import{getTranslation as _0x66316c}from'../../../aicore/utils/common-translations.js';const Go=_0x27aa08(0x142),No=_0x27aa08(0x156),Yo=_0x27aa08(0x122),qo=_0x27aa08(0x113),zo=_0x27aa08(0x123),Jo=_0x27aa08(0x118),Ko=_0x27aa08(0x120),Qo='n';export class AIChatPromptCapabilitiesView extends _0x23fa03{[_0x27aa08(0x147)];[_0x27aa08(0x133)];[_0x27aa08(0xfd)];[_0x27aa08(0x102)];[_0x27aa08(0x13f)];[_0x27aa08(0x145)];constructor(_0x4eb60b){const _0x32f0a2=_0x27aa08;super(_0x4eb60b),this[_0x32f0a2(0x130)](_0x32f0a2(0x149),!0x1),this[_0x32f0a2(0x130)](_0x32f0a2(0x12c),!0x1),this[_0x32f0a2(0x130)](_0x32f0a2(0x158),_0x32f0a2(0x14e)),this[_0x32f0a2(0x130)](_0x32f0a2(0x13e),!0x0),this[_0x32f0a2(0x130)](_0x32f0a2(0x110),null),this[_0x32f0a2(0x130)](_0x32f0a2(0x153),null),this[_0x32f0a2(0x102)]=this[_0x32f0a2(0xfb)](),this[_0x32f0a2(0x145)]=this[_0x32f0a2(0x146)](),this[_0x32f0a2(0x147)]=this[_0x32f0a2(0x108)](),this[_0x32f0a2(0x133)]=this[_0x32f0a2(0x134)](),this[_0x32f0a2(0xfd)]=this[_0x32f0a2(0x100)](),this[_0x32f0a2(0x102)][_0x32f0a2(0x13c)][_0x32f0a2(0x104)](_0x32f0a2(0x10a))['to'](this,_0x32f0a2(0x158),_0x4f962a=>_0x32f0a2(0x14e)===_0x4f962a),this[_0x32f0a2(0x102)][_0x32f0a2(0x13c)][_0x32f0a2(0x104)](_0x32f0a2(0xfc))['to'](this,_0x32f0a2(0x13e),_0x18fb7d=>_0x18fb7d?this[_0x32f0a2(0x102)][_0x32f0a2(0x13c)][_0x32f0a2(0x132)]:_0x66316c(this[_0x32f0a2(0x11b)],_0x32f0a2(0x111))),this[_0x32f0a2(0x102)][_0x32f0a2(0x104)](_0x32f0a2(0x109))['to'](this,_0x32f0a2(0x13e),_0x47eca9=>_0x47eca9),this[_0x32f0a2(0x147)][_0x32f0a2(0x104)](_0x32f0a2(0x138))['to'](this,_0x32f0a2(0x149),_0x45b49a=>_0x45b49a),this[_0x32f0a2(0x147)][_0x32f0a2(0x104)](_0x32f0a2(0xfc))['to'](this,_0x32f0a2(0x149),_0x3970cb=>_0x66316c(this[_0x32f0a2(0x11b)],_0x3970cb?_0x32f0a2(0x126):_0x32f0a2(0x139))),this[_0x32f0a2(0x133)][_0x32f0a2(0x104)](_0x32f0a2(0x138))['to'](this,_0x32f0a2(0x12c),_0x2058d1=>_0x2058d1),this[_0x32f0a2(0x133)][_0x32f0a2(0x104)](_0x32f0a2(0xfc))['to'](this,_0x32f0a2(0x12c),_0x4abf9f=>_0x66316c(this[_0x32f0a2(0x11b)],_0x4abf9f?_0x32f0a2(0x137):_0x32f0a2(0x13d))),this[_0x32f0a2(0x115)]({'tag':_0x32f0a2(0xf9),'attributes':{'class':[Go]},'children':[this[_0x32f0a2(0x102)],this[_0x32f0a2(0x145)],this[_0x32f0a2(0x147)],this[_0x32f0a2(0x133)],this[_0x32f0a2(0xfd)]]}),this[_0x32f0a2(0x13f)]=new _0x1c8a99(),_0x23988d(this[_0x32f0a2(0x102)],this[_0x32f0a2(0x13f)]);}[_0x27aa08(0x11f)](_0x3a5400,_0x3baac9){const _0x45b247=_0x27aa08;if(_0x3baac9)this[_0x45b247(0x130)](_0x45b247(0x158),_0x45b247(0x12b));else{const _0x402995=0x1===_0x3a5400[_0x45b247(0x116)];this[_0x45b247(0x130)](_0x45b247(0x158),_0x402995?_0x45b247(0x127):_0x45b247(0x14e));}if(this[_0x45b247(0x13f)][_0x45b247(0x101)](),_0x3a5400?.[_0x45b247(0x116)])for(const _0xe3f615 of _0x3a5400){const _0x30a653=new _0x3543e3({'label':_0xe3f615[_0x45b247(0x127)],'withText':!0x0,'role':_0x45b247(0x117),'id':_0xe3f615['id'],'model':_0xe3f615});_0x30a653[_0x45b247(0x104)](_0x45b247(0x138))['to'](this,_0x45b247(0x110),_0xd9070e=>_0xd9070e===_0xe3f615['id']),this[_0x45b247(0x13f)][_0x45b247(0x13a)]({'type':_0x45b247(0x11e),'model':_0x30a653,'labelView':new ho(this[_0x45b247(0x11b)],_0xe3f615)});}}[_0x27aa08(0x10e)](_0x15d4f3){const _0x4739ef=_0x27aa08;this[_0x4739ef(0x130)](_0x4739ef(0x149),_0x15d4f3);}[_0x27aa08(0xff)](_0x3e1ebe){const _0x29b3a8=_0x27aa08;this[_0x29b3a8(0x130)](_0x29b3a8(0x12c),_0x3e1ebe);}[_0x27aa08(0x148)](_0x18867c){const _0x2848c0=_0x27aa08;if(!_0x18867c)return;this[_0x2848c0(0x110)]=_0x18867c['id'],this[_0x2848c0(0x153)]=_0x18867c[_0x2848c0(0x127)]||_0x18867c['id'],this[_0x2848c0(0x102)][_0x2848c0(0x13c)][_0x2848c0(0x130)](_0x2848c0(0x132),_0x18867c[_0x2848c0(0x127)]),this[_0x2848c0(0x102)][_0x2848c0(0x13c)][_0x2848c0(0x130)](_0x2848c0(0xfc),_0x18867c[_0x2848c0(0x127)]);const _0x254fc2=_0x18867c[_0x2848c0(0x13b)][_0x2848c0(0x11d)]?.[_0x2848c0(0x119)]??!0x1;this[_0x2848c0(0x130)](_0x2848c0(0x149),!0x1),this[_0x2848c0(0x147)][_0x2848c0(0x130)](_0x2848c0(0x138),!0x1),this[_0x2848c0(0x147)][_0x2848c0(0x130)](_0x2848c0(0x109),_0x254fc2),this[_0x2848c0(0x147)][_0x2848c0(0x130)](_0x2848c0(0x10a),_0x254fc2);const _0x578a36=_0x18867c[_0x2848c0(0x13b)][_0x2848c0(0x124)]?.[_0x2848c0(0x119)]??!0x1;this[_0x2848c0(0x130)](_0x2848c0(0x12c),!0x1),this[_0x2848c0(0x133)][_0x2848c0(0x130)](_0x2848c0(0x138),!0x1),this[_0x2848c0(0x133)][_0x2848c0(0x130)](_0x2848c0(0x109),_0x578a36),this[_0x2848c0(0x133)][_0x2848c0(0x130)](_0x2848c0(0x10a),_0x578a36);}[_0x27aa08(0x11a)](){const _0xd6292e=_0x27aa08;this[_0xd6292e(0x130)](_0xd6292e(0x13e),!0x0);}[_0x27aa08(0x106)](_0x38a393){const _0x4f9215=_0x27aa08;this[_0x4f9215(0x130)](_0x4f9215(0x13e),!0x1),_0x38a393&&this[_0x4f9215(0x130)](_0x4f9215(0x158),_0x4f9215(0x12b));}[_0x27aa08(0x108)](){const _0x5669a1=_0x27aa08,_0x3254b2=new _0x4c08ca();return _0x3254b2[_0x5669a1(0x130)]({'label':_0x66316c(this[_0x5669a1(0x11b)],_0x5669a1(0x12e)),'icon':_0x31151e,'class':No,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x3254b2['on'](_0x5669a1(0x107),()=>{const _0x6d51de=_0x5669a1;this[_0x6d51de(0x10b)](_0x6d51de(0x155));}),_0x3254b2;}[_0x27aa08(0x134)](){const _0x207b40=_0x27aa08,_0x9b2ced=new _0x4c08ca();return _0x9b2ced[_0x207b40(0x130)]({'label':_0x66316c(this[_0x207b40(0x11b)],_0x207b40(0x14b)),'icon':_0x5651e7,'class':No,'isToggleable':!0x0,'tooltipPosition':Qo}),_0x9b2ced['on'](_0x207b40(0x107),()=>{const _0x1253b0=_0x207b40;this[_0x1253b0(0x10b)](_0x1253b0(0x141));}),_0x9b2ced;}[_0x27aa08(0x100)](){const _0x264f2d=_0x27aa08,_0x4c4060=new _0x4c08ca();return _0x4c4060[_0x264f2d(0x130)]({'label':_0x66316c(this[_0x264f2d(0x11b)],_0x264f2d(0x150)),'icon':_0x7b1cf1,'withText':!0x0,'class':No,'isToggleable':!0x0,'tooltip':_0x66316c(this[_0x264f2d(0x11b)],_0x264f2d(0x150)),'tooltipPosition':Qo}),_0x4c4060[_0x264f2d(0x128)]({'attributes':{'class':[Yo]}}),_0x4c4060['on'](_0x264f2d(0x107),()=>{const _0x437a23=_0x264f2d;console[_0x437a23(0x121)](_0x437a23(0x11c)),alert(_0x437a23(0x11c));}),_0x4c4060;}[_0x27aa08(0xfb)](){const _0x54e84d=_0x27aa08,_0x23e5f0=_0x11a140(this[_0x54e84d(0x11b)]);return _0x23e5f0[_0x54e84d(0x130)]({'panelPosition':'ne','class':[qo]}),_0x23e5f0[_0x54e84d(0x13c)][_0x54e84d(0x130)]({'label':_0x66316c(this[_0x54e84d(0x11b)],_0x54e84d(0x103)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Qo}),this[_0x54e84d(0x152)](_0x23e5f0,_0x54e84d(0x107),_0x29948d=>{const _0x2efa45=_0x54e84d;this[_0x2efa45(0x10b)](_0x2efa45(0xfe),_0x29948d[_0x2efa45(0x125)][_0x2efa45(0x10d)]);}),_0x23e5f0;}[_0x27aa08(0x146)](){const _0x431b40=_0x27aa08,_0xdfe53=new Zs(this[_0x431b40(0x11b)]);return _0xdfe53[_0x431b40(0x104)](_0x431b40(0x129))['to'](this,_0x431b40(0x153),_0x15479f=>_0x15479f??''),_0xdfe53[_0x431b40(0x104)](_0x431b40(0x10a))['to'](this,_0x431b40(0x158),_0x1ad499=>_0x431b40(0x127)===_0x1ad499),_0xdfe53;}}class ho extends _0x1292b2{constructor(_0x14f407,_0x5e3ab0){const _0x25e8cb=_0x27aa08;super();const _0x4052dc=this[_0x25e8cb(0x157)],_0x71b67b=this[_0x25e8cb(0x136)]();this[_0x25e8cb(0x115)]({'tag':_0x25e8cb(0xf9),'attributes':{'class':['ck',_0x25e8cb(0x143)],'style':_0x4052dc['to'](_0x25e8cb(0x144)),'id':_0x4052dc['to']('id')},'children':[{'tag':_0x25e8cb(0xf9),'attributes':{'class':[zo]},'children':[{'text':_0x4052dc['to'](_0x25e8cb(0x129))}]},{'tag':_0x25e8cb(0xf9),'attributes':{'class':[Jo]},'children':[{'tag':_0x25e8cb(0x140),'children':[{'text':_0x5e3ab0[_0x25e8cb(0xfa)]}]}]},{'tag':_0x25e8cb(0xf9),'attributes':{'class':[Ko]},'children':_0x71b67b}]}),_0x71b67b[_0x25e8cb(0x12f)](this[_0x25e8cb(0x14c)](_0x14f407,_0x31151e,_0x25e8cb(0x12e),_0x5e3ab0[_0x25e8cb(0x13b)][_0x25e8cb(0x11d)]?.[_0x25e8cb(0x119)]??!0x1)),_0x71b67b[_0x25e8cb(0x12f)](this[_0x25e8cb(0x14c)](_0x14f407,_0x5651e7,_0x25e8cb(0x14b),_0x5e3ab0[_0x25e8cb(0x13b)][_0x25e8cb(0x124)]?.[_0x25e8cb(0x119)]??!0x1));}[_0x27aa08(0x14c)](_0x20ebc3,_0x354614,_0x4a3ba0,_0x3045ae){const _0x13e57e=_0x27aa08,_0x2d52bc=new _0x475496();_0x2d52bc[_0x13e57e(0x10f)]=_0x354614;const _0x16ab1d=new _0x23fa03(_0x20ebc3);_0x16ab1d[_0x13e57e(0x115)]({'tag':_0x13e57e(0x140),'children':[{'text':_0x66316c(_0x20ebc3,_0x4a3ba0)+':\x20'}]});const _0x4b0073=new _0x23fa03(_0x20ebc3);return _0x4b0073[_0x13e57e(0x115)]({'tag':_0x13e57e(0x140),'children':[{'text':_0x66316c(_0x20ebc3,_0x3045ae?_0x13e57e(0x12a):_0x13e57e(0x14f))}]}),[_0x2d52bc,_0x16ab1d,_0x4b0073];}}class Zs extends _0x23fa03{constructor(_0x3ab169){const _0x1dc141=_0x27aa08;super(_0x3ab169),this[_0x1dc141(0x130)](_0x1dc141(0x129),void 0x0),this[_0x1dc141(0x130)](_0x1dc141(0x10a),!0x0);const _0x7971a7=this[_0x1dc141(0x157)];this[_0x1dc141(0x115)]({'tag':_0x1dc141(0x140),'attributes':{'class':['ck',_0x1dc141(0x105),_0x7971a7['if'](_0x1dc141(0x10a),_0x1dc141(0x12d),_0x28cff3=>!_0x28cff3)]},'children':[{'text':_0x7971a7['to'](_0x1dc141(0x129))}]});}}
|
|
23
|
+
function _0x360a(_0x2e1a4d,_0x2f3c73){const _0x47374d=_0x4737();return _0x360a=function(_0x360ae4,_0x20de39){_0x360ae4=_0x360ae4-0x1b9;let _0x23ca2b=_0x47374d[_0x360ae4];return _0x23ca2b;},_0x360a(_0x2e1a4d,_0x2f3c73);}const _0x4191ad=_0x360a;(function(_0x784cd8,_0x452815){const _0x5be2a6=_0x360a,_0x5d72dc=_0x784cd8();while(!![]){try{const _0x174c99=parseInt(_0x5be2a6(0x1d6))/0x1+-parseInt(_0x5be2a6(0x1d9))/0x2+-parseInt(_0x5be2a6(0x1c0))/0x3+parseInt(_0x5be2a6(0x20d))/0x4+parseInt(_0x5be2a6(0x1f6))/0x5*(-parseInt(_0x5be2a6(0x1f4))/0x6)+parseInt(_0x5be2a6(0x212))/0x7+parseInt(_0x5be2a6(0x201))/0x8;if(_0x174c99===_0x452815)break;else _0x5d72dc['push'](_0x5d72dc['shift']());}catch(_0x447f4c){_0x5d72dc['push'](_0x5d72dc['shift']());}}}(_0x4737,0x5e901));import{Collection as _0x5c9ee6}from'ckeditor5/src/utils.js';import{IconAI as _0x3fbc6c,IconBulb as _0x2f6b5,IconWeb as _0x2cd46a}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x1e094f,ButtonLabelView as _0x310d77,ButtonView as _0x9146c4,createDropdown as _0x302b0b,IconView as _0x133b18,UIModel as _0x2fbe13,View as _0x3cc023}from'ckeditor5/src/ui.js';function _0x4737(){const _0x115c2c=['_createCommandsButton','28254lcSGOE','content','enableModelSelector','selector','source','text','label','AI_CHAT_ENABLE_REASONING','button','addMany','Commands\x20are\x20not\x20implemented\x20yet.','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_CAPABILITIES_NO','_commandsButton','log','listenTo','webSearch','buttonView','reasoningActive','div','ck-ai-chat-controls__model-name','isVisible','289055FuyYEW','span','setModel','1549300ToJbTh','length','_reasoningButton','add','locale','_modelSelectionDropdown','set','fire','bind','enabled','_modelNameView','execute','_createModelSelectionDropdown','modelDisplayMode','AI_CHAT_DISABLE_REASONING','activeModelName','setWebSearch','AI_CHAT_DISABLE_WEB_SEARCH','createCollection','AI_CHAT_SEARCH_WEB','_createWebSearchButton','disableModelSelector','_getCapabilityParts','toggleReasoning','capabilities','selectModel','activeModelId','98466LxWphr','AI_CHAT_REASONING','175AqqPYP','clear','ck-ai-chat-controls__model-selection__item-name','hidden','tooltip','_webSearchButton','menuitemradio','ck-button__label','name','isEnabled','ck-ai-chat-controls-button','2928752WnitqU','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_COMMANDS','setReasoning','description','ck-ai-chat-controls-button--commands','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','style','webSearchActive','setTemplate','ck-hidden','isOn','1468140nAcslu','AI_CHAT_CAPABILITIES_YES','reasoning','ck-ai-chat__prompt-capabilities','toggleWebSearch','5065186eCGufd','_modelSelectionDropdownItems','setModelList','extendTemplate','AI_CHAT_ENABLE_WEB_SEARCH','_createModelNameView','bindTemplate','ck-ai-chat-controls__model-selection','_createReasoningButton','modelSelectorEnabled','ck-ai-chat-controls__model-selection__item-capabilities','model'];_0x4737=function(){return _0x115c2c;};return _0x4737();}import{getTranslation as _0x5a79a0}from'../../../aicore/utils/common-translations.js';const Jo=_0x4191ad(0x210),Xo=_0x4191ad(0x200),Ko=_0x4191ad(0x206),Qo=_0x4191ad(0x1ba),Zo=_0x4191ad(0x1f8),tl=_0x4191ad(0x1cb),el=_0x4191ad(0x1bd),il='n';export class AIChatPromptCapabilitiesView extends _0x3cc023{[_0x4191ad(0x1fb)];[_0x4191ad(0x1db)];[_0x4191ad(0x1cd)];[_0x4191ad(0x1de)];[_0x4191ad(0x213)];[_0x4191ad(0x1e3)];constructor(_0x4d37f4){const _0x126b3e=_0x4191ad;super(_0x4d37f4),this[_0x126b3e(0x1df)](_0x126b3e(0x209),!0x1),this[_0x126b3e(0x1df)](_0x126b3e(0x1d2),!0x1),this[_0x126b3e(0x1df)](_0x126b3e(0x1e6),_0x126b3e(0x1c3)),this[_0x126b3e(0x1df)](_0x126b3e(0x1bc),!0x0),this[_0x126b3e(0x1df)](_0x126b3e(0x1f3),null),this[_0x126b3e(0x1df)](_0x126b3e(0x1e8),null),this[_0x126b3e(0x1de)]=this[_0x126b3e(0x1e5)](),this[_0x126b3e(0x1e3)]=this[_0x126b3e(0x217)](),this[_0x126b3e(0x1fb)]=this[_0x126b3e(0x1ed)](),this[_0x126b3e(0x1db)]=this[_0x126b3e(0x1bb)](),this[_0x126b3e(0x1cd)]=this[_0x126b3e(0x1bf)](),this[_0x126b3e(0x1de)][_0x126b3e(0x1d1)][_0x126b3e(0x1e1)](_0x126b3e(0x1d5))['to'](this,_0x126b3e(0x1e6),_0x57343e=>_0x126b3e(0x1c3)===_0x57343e),this[_0x126b3e(0x1de)][_0x126b3e(0x1d1)][_0x126b3e(0x1e1)](_0x126b3e(0x1fa))['to'](this,_0x126b3e(0x1bc),_0x5e5677=>_0x5e5677?this[_0x126b3e(0x1de)][_0x126b3e(0x1d1)][_0x126b3e(0x1c6)]:_0x5a79a0(this[_0x126b3e(0x1dd)],_0x126b3e(0x207))),this[_0x126b3e(0x1de)][_0x126b3e(0x1e1)](_0x126b3e(0x1ff))['to'](this,_0x126b3e(0x1bc),_0x556396=>_0x556396),this[_0x126b3e(0x1fb)][_0x126b3e(0x1e1)](_0x126b3e(0x20c))['to'](this,_0x126b3e(0x209),_0x545136=>_0x545136),this[_0x126b3e(0x1fb)][_0x126b3e(0x1e1)](_0x126b3e(0x1fa))['to'](this,_0x126b3e(0x209),_0x33546c=>_0x5a79a0(this[_0x126b3e(0x1dd)],_0x33546c?_0x126b3e(0x1ea):_0x126b3e(0x216))),this[_0x126b3e(0x1db)][_0x126b3e(0x1e1)](_0x126b3e(0x20c))['to'](this,_0x126b3e(0x1d2),_0x3ed205=>_0x3ed205),this[_0x126b3e(0x1db)][_0x126b3e(0x1e1)](_0x126b3e(0x1fa))['to'](this,_0x126b3e(0x1d2),_0x14d238=>_0x5a79a0(this[_0x126b3e(0x1dd)],_0x14d238?_0x126b3e(0x1e7):_0x126b3e(0x1c7))),this[_0x126b3e(0x20a)]({'tag':_0x126b3e(0x1d3),'attributes':{'class':[Jo]},'children':[this[_0x126b3e(0x1de)],this[_0x126b3e(0x1e3)],this[_0x126b3e(0x1fb)],this[_0x126b3e(0x1db)],this[_0x126b3e(0x1cd)]]}),this[_0x126b3e(0x213)]=new _0x5c9ee6(),_0x1e094f(this[_0x126b3e(0x1de)],this[_0x126b3e(0x213)]);}[_0x4191ad(0x214)](_0x5175b6,_0x4ffef3){const _0x48a10f=_0x4191ad;if(_0x4ffef3)this[_0x48a10f(0x1df)](_0x48a10f(0x1e6),_0x48a10f(0x1f9));else{const _0x1eaa36=0x1===_0x5175b6[_0x48a10f(0x1da)];this[_0x48a10f(0x1df)](_0x48a10f(0x1e6),_0x1eaa36?_0x48a10f(0x1fe):_0x48a10f(0x1c3));}if(this[_0x48a10f(0x213)][_0x48a10f(0x1f7)](),_0x5175b6?.[_0x48a10f(0x1da)])for(const _0x2fe462 of _0x5175b6){const _0x12b121=new _0x2fbe13({'label':_0x2fe462[_0x48a10f(0x1fe)],'withText':!0x0,'role':_0x48a10f(0x1fc),'id':_0x2fe462['id'],'model':_0x2fe462});_0x12b121[_0x48a10f(0x1e1)](_0x48a10f(0x20c))['to'](this,_0x48a10f(0x1f3),_0x28caf9=>_0x28caf9===_0x2fe462['id']),this[_0x48a10f(0x213)][_0x48a10f(0x1dc)]({'type':_0x48a10f(0x1c8),'model':_0x12b121,'labelView':new _o(this[_0x48a10f(0x1dd)],_0x2fe462)});}}[_0x4191ad(0x1e9)](_0x173e83){const _0x3f0b02=_0x4191ad;this[_0x3f0b02(0x1df)](_0x3f0b02(0x209),_0x173e83);}[_0x4191ad(0x204)](_0x5b90e9){const _0x48ea83=_0x4191ad;this[_0x48ea83(0x1df)](_0x48ea83(0x1d2),_0x5b90e9);}[_0x4191ad(0x1d8)](_0x121d36){const _0x521edd=_0x4191ad;if(!_0x121d36)return;this[_0x521edd(0x1f3)]=_0x121d36['id'],this[_0x521edd(0x1e8)]=_0x121d36[_0x521edd(0x1fe)]||_0x121d36['id'],this[_0x521edd(0x1de)][_0x521edd(0x1d1)][_0x521edd(0x1df)](_0x521edd(0x1c6),_0x121d36[_0x521edd(0x1fe)]),this[_0x521edd(0x1de)][_0x521edd(0x1d1)][_0x521edd(0x1df)](_0x521edd(0x1fa),_0x121d36[_0x521edd(0x1fe)]);const _0x25fe77=_0x121d36[_0x521edd(0x1f1)][_0x521edd(0x1d0)]?.[_0x521edd(0x1e2)]??!0x1;this[_0x521edd(0x1df)](_0x521edd(0x209),!0x1),this[_0x521edd(0x1fb)][_0x521edd(0x1df)](_0x521edd(0x20c),!0x1),this[_0x521edd(0x1fb)][_0x521edd(0x1df)](_0x521edd(0x1ff),_0x25fe77),this[_0x521edd(0x1fb)][_0x521edd(0x1df)](_0x521edd(0x1d5),_0x25fe77);const _0x4ad228=_0x121d36[_0x521edd(0x1f1)][_0x521edd(0x20f)]?.[_0x521edd(0x1e2)]??!0x1;this[_0x521edd(0x1df)](_0x521edd(0x1d2),!0x1),this[_0x521edd(0x1db)][_0x521edd(0x1df)](_0x521edd(0x20c),!0x1),this[_0x521edd(0x1db)][_0x521edd(0x1df)](_0x521edd(0x1ff),_0x4ad228),this[_0x521edd(0x1db)][_0x521edd(0x1df)](_0x521edd(0x1d5),_0x4ad228);}[_0x4191ad(0x1c2)](){const _0x2c7cd5=_0x4191ad;this[_0x2c7cd5(0x1df)](_0x2c7cd5(0x1bc),!0x0);}[_0x4191ad(0x1ee)](_0x5df866){const _0x5ac17b=_0x4191ad;this[_0x5ac17b(0x1df)](_0x5ac17b(0x1bc),!0x1),_0x5df866&&this[_0x5ac17b(0x1df)](_0x5ac17b(0x1e6),_0x5ac17b(0x1f9));}[_0x4191ad(0x1ed)](){const _0x57a0f6=_0x4191ad,_0x41f5fb=new _0x9146c4();return _0x41f5fb[_0x57a0f6(0x1df)]({'label':_0x5a79a0(this[_0x57a0f6(0x1dd)],_0x57a0f6(0x1ec)),'icon':_0x2cd46a,'class':Xo,'isToggleable':!0x0,'tooltipPosition':il}),_0x41f5fb['on'](_0x57a0f6(0x1e4),()=>{const _0x429d89=_0x57a0f6;this[_0x429d89(0x1e0)](_0x429d89(0x211));}),_0x41f5fb;}[_0x4191ad(0x1bb)](){const _0xd7c927=_0x4191ad,_0xb623bb=new _0x9146c4();return _0xb623bb[_0xd7c927(0x1df)]({'label':_0x5a79a0(this[_0xd7c927(0x1dd)],_0xd7c927(0x1f5)),'icon':_0x2f6b5,'class':Xo,'isToggleable':!0x0,'tooltipPosition':il}),_0xb623bb['on'](_0xd7c927(0x1e4),()=>{const _0x4e88c0=_0xd7c927;this[_0x4e88c0(0x1e0)](_0x4e88c0(0x1f0));}),_0xb623bb;}[_0x4191ad(0x1bf)](){const _0x1ad392=_0x4191ad,_0x116cbe=new _0x9146c4();return _0x116cbe[_0x1ad392(0x1df)]({'label':_0x5a79a0(this[_0x1ad392(0x1dd)],_0x1ad392(0x203)),'icon':_0x3fbc6c,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x5a79a0(this[_0x1ad392(0x1dd)],_0x1ad392(0x203)),'tooltipPosition':il}),_0x116cbe[_0x1ad392(0x215)]({'attributes':{'class':[Ko]}}),_0x116cbe['on'](_0x1ad392(0x1e4),()=>{const _0x48c444=_0x1ad392;console[_0x48c444(0x1ce)](_0x48c444(0x1ca)),alert(_0x48c444(0x1ca));}),_0x116cbe;}[_0x4191ad(0x1e5)](){const _0x38d3c5=_0x4191ad,_0x19ca3d=_0x302b0b(this[_0x38d3c5(0x1dd)]);return _0x19ca3d[_0x38d3c5(0x1df)]({'panelPosition':'ne','class':[Qo]}),_0x19ca3d[_0x38d3c5(0x1d1)][_0x38d3c5(0x1df)]({'label':_0x5a79a0(this[_0x38d3c5(0x1dd)],_0x38d3c5(0x202)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':il}),this[_0x38d3c5(0x1cf)](_0x19ca3d,_0x38d3c5(0x1e4),_0x47db6a=>{const _0x3acf1e=_0x38d3c5;this[_0x3acf1e(0x1e0)](_0x3acf1e(0x1f2),_0x47db6a[_0x3acf1e(0x1c4)][_0x3acf1e(0x1be)]);}),_0x19ca3d;}[_0x4191ad(0x217)](){const _0x52a291=_0x4191ad,_0x257d4b=new po(this[_0x52a291(0x1dd)]);return _0x257d4b[_0x52a291(0x1e1)](_0x52a291(0x1c5))['to'](this,_0x52a291(0x1e8),_0x848e27=>_0x848e27??''),_0x257d4b[_0x52a291(0x1e1)](_0x52a291(0x1d5))['to'](this,_0x52a291(0x1e6),_0x3926ee=>_0x52a291(0x1fe)===_0x3926ee),_0x257d4b;}}class _o extends _0x310d77{constructor(_0x287478,_0x273f80){const _0x46ef69=_0x4191ad;super();const _0x7a1e72=this[_0x46ef69(0x1b9)],_0x228739=this[_0x46ef69(0x1eb)]();this[_0x46ef69(0x20a)]({'tag':_0x46ef69(0x1d3),'attributes':{'class':['ck',_0x46ef69(0x1fd)],'style':_0x7a1e72['to'](_0x46ef69(0x208)),'id':_0x7a1e72['to']('id')},'children':[{'tag':_0x46ef69(0x1d3),'attributes':{'class':[Zo]},'children':[{'text':_0x7a1e72['to'](_0x46ef69(0x1c5))}]},{'tag':_0x46ef69(0x1d3),'attributes':{'class':[tl]},'children':[{'tag':_0x46ef69(0x1d7),'children':[{'text':_0x273f80[_0x46ef69(0x205)]}]}]},{'tag':_0x46ef69(0x1d3),'attributes':{'class':[el]},'children':_0x228739}]}),_0x228739[_0x46ef69(0x1c9)](this[_0x46ef69(0x1ef)](_0x287478,_0x2cd46a,_0x46ef69(0x1ec),_0x273f80[_0x46ef69(0x1f1)][_0x46ef69(0x1d0)]?.[_0x46ef69(0x1e2)]??!0x1)),_0x228739[_0x46ef69(0x1c9)](this[_0x46ef69(0x1ef)](_0x287478,_0x2f6b5,_0x46ef69(0x1f5),_0x273f80[_0x46ef69(0x1f1)][_0x46ef69(0x20f)]?.[_0x46ef69(0x1e2)]??!0x1));}[_0x4191ad(0x1ef)](_0x45959b,_0x346e41,_0x532ed4,_0x318c3f){const _0x56af17=_0x4191ad,_0x577947=new _0x133b18();_0x577947[_0x56af17(0x1c1)]=_0x346e41;const _0x2b8dc0=new _0x3cc023(_0x45959b);_0x2b8dc0[_0x56af17(0x20a)]({'tag':_0x56af17(0x1d7),'children':[{'text':_0x5a79a0(_0x45959b,_0x532ed4)+':\x20'}]});const _0x243b8a=new _0x3cc023(_0x45959b);return _0x243b8a[_0x56af17(0x20a)]({'tag':_0x56af17(0x1d7),'children':[{'text':_0x5a79a0(_0x45959b,_0x318c3f?_0x56af17(0x20e):_0x56af17(0x1cc))}]}),[_0x577947,_0x2b8dc0,_0x243b8a];}}class po extends _0x3cc023{constructor(_0x46f193){const _0xf8a173=_0x4191ad;super(_0x46f193),this[_0xf8a173(0x1df)](_0xf8a173(0x1c5),void 0x0),this[_0xf8a173(0x1df)](_0xf8a173(0x1d5),!0x0);const _0xf77413=this[_0xf8a173(0x1b9)];this[_0xf8a173(0x20a)]({'tag':_0xf8a173(0x1d7),'attributes':{'class':['ck',_0xf8a173(0x1d4),_0xf77413['if'](_0xf8a173(0x1d5),_0xf8a173(0x20b),_0x4ee821=>!_0x4ee821)]},'children':[{'text':_0xf77413['to'](_0xf8a173(0x1c5))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x28e35d=_0xb6d0;(function(_0x8aea93,_0x2e8818){const _0x130805=_0xb6d0,_0x258a28=_0x8aea93();while(!![]){try{const _0x2f509e=parseInt(_0x130805(0xcc))/0x1*(parseInt(_0x130805(0xc3))/0x2)+parseInt(_0x130805(0xc6))/0x3*(-parseInt(_0x130805(0xcb))/0x4)+-parseInt(_0x130805(0xce))/0x5+-parseInt(_0x130805(0xac))/0x6+parseInt(_0x130805(0x94))/0x7*(parseInt(_0x130805(0xb7))/0x8)+parseInt(_0x130805(0xbe))/0x9+-parseInt(_0x130805(0xba))/0xa*(-parseInt(_0x130805(0xc7))/0xb);if(_0x2f509e===_0x2e8818)break;else _0x258a28['push'](_0x258a28['shift']());}catch(_0x2ecae7){_0x258a28['push'](_0x258a28['shift']());}}}(_0x1f71,0x69cd9));function _0x1f71(){const _0x3e88e4=['submitButtonView','locale','fieldWrapperChildren','isUploadInProgress','minRows','set','queryView','_setUpAddContextButtonPositioning','hasError','AI_CHAT_PROMPT_EMPTY_ERROR','fieldView','bind','calc(','style','rtl','ck-ai-chat__prompt-input','sendUserMessage','_addContextButtonView','_queryViewResizeObserver','MIN_ROWS','MAX_ROWS','execute','AI_CHAT_LABEL_SUBMIT','3024732UChUhj','update','extendTemplate','value','right','width','uiLanguageDirection','trim','setIsUploadInProgress','fire','reset','964112zPmNlf','isEnabled','maxRows','18350SZLcXD','requestAnimationFrame','px\x20-\x20var(--ck-spacing-tiny))','setPlaceholderText','7174278FPwuVT','left','destroy','enter','_createSubmitButton','6666OcSkcf','target','window','27543cRCrsK','1045LSOrUi','submit','errorText','excludeScrollbarsAndBorders','60rkqJJG','88fqECIL','element','2152965MFXoMJ','focusableChildren','add','placeholder','render','keystrokes','ck-ai-chat__prompt-submit-button','isEmpty','14rHTyAY'];_0x1f71=function(){return _0x3e88e4;};return _0x1f71();}import{IconSubmit as _0x3483b4}from'ckeditor5/src/icons.js';import{ButtonView as _0x58599e,AutocompleteView as _0xfef505,createLabeledTextarea as _0x40a17a}from'ckeditor5/src/ui.js';import{global as _0x19bc7b,isVisible as _0x3510d8,Rect as _0x159a1a,ResizeObserver as _0x20a669}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b6e05}from'../../../aicore/utils/common-translations.js';function _0xb6d0(_0x507fd6,_0xe5b209){const _0x1f711d=_0x1f71();return _0xb6d0=function(_0xb6d09c,_0x38e2fa){_0xb6d09c=_0xb6d09c-0x90;let _0x497b42=_0x1f711d[_0xb6d09c];return _0x497b42;},_0xb6d0(_0x507fd6,_0xe5b209);}import{AIChatPromptSuggestionsListView as _0x481c11}from'./aichatpromptsuggestionslistview.js';import{escape as _0x602b95}from'es-toolkit/compat';export class AIChatPromptInputView extends _0xfef505{[_0x28e35d(0x95)];static [_0x28e35d(0xa8)]=0x1;static [_0x28e35d(0xa9)]=0xc;[_0x28e35d(0xa6)];[_0x28e35d(0xa7)];constructor(_0xdf5905,_0x241698){const _0x26d655=_0x28e35d;super(_0xdf5905,{'queryView':{'label':'','creator':_0x40a17a,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x481c11(_0xdf5905),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x26d655(0x9a)](_0x26d655(0x93),!0x0),this[_0x26d655(0x9a)](_0x26d655(0x98),!0x1),this[_0x26d655(0xa6)]=_0x241698,this[_0x26d655(0xa7)]=null,this[_0x26d655(0x9b)][_0x26d655(0x9f)][_0x26d655(0x99)]=AIChatPromptInputView[_0x26d655(0xa8)],this[_0x26d655(0x9b)][_0x26d655(0x9f)][_0x26d655(0xb9)]=AIChatPromptInputView[_0x26d655(0xa9)],this[_0x26d655(0x9b)][_0x26d655(0x97)][_0x26d655(0xd0)](this[_0x26d655(0xa6)]),this[_0x26d655(0x9c)](),this[_0x26d655(0xae)]({'attributes':{'class':['ck',_0x26d655(0xa4)]}}),this[_0x26d655(0x95)]=this[_0x26d655(0xc2)](),this[_0x26d655(0x95)][_0x26d655(0xa0)](_0x26d655(0xb8))['to'](this,_0x26d655(0x93),this,_0x26d655(0x98),(_0x1bb6fe,_0x3c3f90)=>!_0x1bb6fe&&!_0x3c3f90),this[_0x26d655(0xcf)][_0x26d655(0xd0)](this[_0x26d655(0x95)]);}[_0x28e35d(0x90)](){const _0x2c26d2=_0x28e35d;super[_0x2c26d2(0x90)](),this[_0x2c26d2(0x9b)][_0x2c26d2(0x97)][_0x2c26d2(0xd0)](this[_0x2c26d2(0x95)]),this[_0x2c26d2(0x91)][_0x2c26d2(0x9a)](_0x2c26d2(0xc1),(_0x2aa69d,_0x24986a)=>{const _0x759f01=_0x2c26d2;this[_0x759f01(0x98)]||this[_0x759f01(0x93)]||_0x2aa69d[_0x759f01(0xc4)]==this[_0x759f01(0x9b)][_0x759f01(0x9f)][_0x759f01(0xcd)]&&(this[_0x759f01(0xc8)](),_0x24986a());}),this[_0x2c26d2(0x9b)][_0x2c26d2(0x9f)]['on'](_0x2c26d2(0xad),()=>{const _0x1d85ef=_0x2c26d2;this[_0x1d85ef(0x93)]=''===this[_0x1d85ef(0x9b)][_0x1d85ef(0x9f)][_0x1d85ef(0xcd)][_0x1d85ef(0xaf)]?.[_0x1d85ef(0xb3)]();});}[_0x28e35d(0xc0)](){const _0x4a435a=_0x28e35d;super[_0x4a435a(0xc0)](),this[_0x4a435a(0xa7)]&&this[_0x4a435a(0xa7)][_0x4a435a(0xc0)]();}[_0x28e35d(0xc8)](){const _0x41c7e3=_0x28e35d,_0x3ee7fa=this[_0x41c7e3(0x9b)][_0x41c7e3(0x9f)][_0x41c7e3(0xcd)][_0x41c7e3(0xaf)]?.[_0x41c7e3(0xb3)]();if(!_0x3ee7fa)return this[_0x41c7e3(0x9b)][_0x41c7e3(0xc9)]=_0x4b6e05(this[_0x41c7e3(0x96)],_0x41c7e3(0x9e)),void(this[_0x41c7e3(0x9b)][_0x41c7e3(0x9f)][_0x41c7e3(0x9d)]=!0x0);this[_0x41c7e3(0x9b)][_0x41c7e3(0x9f)][_0x41c7e3(0x9d)]=!0x1;const _0xb6aa18=_0x602b95(_0x3ee7fa);this[_0x41c7e3(0xb5)](_0x41c7e3(0xa5),_0xb6aa18),this[_0x41c7e3(0x9b)][_0x41c7e3(0x9f)][_0x41c7e3(0xb6)]();}[_0x28e35d(0xbd)](_0x11ece8){const _0x115763=_0x28e35d;this[_0x115763(0x9b)][_0x115763(0x9f)][_0x115763(0x9a)](_0x115763(0xd1),_0x11ece8);}[_0x28e35d(0xc2)](){const _0x1b2555=_0x28e35d,_0x164078=new _0x58599e(this[_0x1b2555(0x96)]);return _0x164078[_0x1b2555(0x9a)]({'icon':_0x3483b4,'label':_0x4b6e05(this[_0x1b2555(0x96)],_0x1b2555(0xab)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1b2555(0x92),'isEnabled':!0x1}),_0x164078['on'](_0x1b2555(0xaa),()=>{const _0x2a445e=_0x1b2555;this[_0x2a445e(0xc8)]();}),_0x164078;}[_0x28e35d(0xb4)](_0xe25986){const _0x107fd6=_0x28e35d;this[_0x107fd6(0x98)]=_0xe25986;}[_0x28e35d(0x9c)](){const _0xd24fd7=_0x28e35d,_0x3eb00f=this[_0xd24fd7(0x96)],_0x5eec3c=()=>{const _0xcd3d7f=_0xd24fd7;_0x19bc7b[_0xcd3d7f(0xc5)][_0xcd3d7f(0xbb)](()=>{const _0x1db74a=_0xcd3d7f;if(_0x3510d8(this[_0x1db74a(0xcd)])){const _0x1b7df3=new _0x159a1a(this[_0x1db74a(0x9b)][_0x1db74a(0x9f)][_0x1db74a(0xcd)]),_0x17dc13=new _0x159a1a(this[_0x1db74a(0xa6)][_0x1db74a(0xcd)]),_0x2e7877=_0x1b7df3[_0x1db74a(0xb1)],_0x5b5cb4=_0x1db74a(0xa3)===_0x3eb00f[_0x1db74a(0xb2)]?_0x1db74a(0xb0):_0x1db74a(0xbf);_0x1b7df3[_0x1db74a(0xca)]();const _0x3abd4f=_0x2e7877-_0x1b7df3[_0x1db74a(0xb1)]+0x1;this[_0x1db74a(0xa6)][_0x1db74a(0xcd)][_0x1db74a(0xa2)][_0x5b5cb4]=_0x1db74a(0xa1)+(_0x2e7877-_0x17dc13[_0x1db74a(0xb1)]-_0x3abd4f)+_0x1db74a(0xbc);}});};this[_0xd24fd7(0x9b)][_0xd24fd7(0x9f)]['on'](_0xd24fd7(0xad),_0x5eec3c),this['on'](_0xd24fd7(0x90),()=>{const _0x8abf81=_0xd24fd7;_0x5eec3c(),this[_0x8abf81(0xa7)]=new _0x20a669(this[_0x8abf81(0x9b)][_0x8abf81(0x9f)][_0x8abf81(0xcd)],()=>{_0x5eec3c();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2462(){const _0x543536=['42MCoPxs','10qANDZH','8945936WXPSAD','length','6840358syKwXm','481692HHddRZ','items','1262886jftaae','5091816Kzoozk','289368OjSLAv','filter','237826hCkTTu'];_0x2462=function(){return _0x543536;};return _0x2462();}const _0x46ed58=_0x54c0;(function(_0x5a5ff0,_0x3ec8f6){const _0x15c00f=_0x54c0,_0x5f0993=_0x5a5ff0();while(!![]){try{const _0xac9d0c=parseInt(_0x15c00f(0xb7))/0x1+-parseInt(_0x15c00f(0xaf))/0x2*(parseInt(_0x15c00f(0xb0))/0x3)+parseInt(_0x15c00f(0xb8))/0x4+parseInt(_0x15c00f(0xb1))/0x5*(parseInt(_0x15c00f(0xb5))/0x6)+parseInt(_0x15c00f(0xb4))/0x7+-parseInt(_0x15c00f(0xb2))/0x8+-parseInt(_0x15c00f(0xb9))/0x9;if(_0xac9d0c===_0x3ec8f6)break;else _0x5f0993['push'](_0x5f0993['shift']());}catch(_0x46eae6){_0x5f0993['push'](_0x5f0993['shift']());}}}(_0x2462,0xd1936));function _0x54c0(_0x3b1249,_0x27dea0){const _0x24623d=_0x2462();return _0x54c0=function(_0x54c074,_0xa0617e){_0x54c074=_0x54c074-0xaf;let _0x541ff1=_0x24623d[_0x54c074];return _0x541ff1;},_0x54c0(_0x3b1249,_0x27dea0);}import{ListView as _0x553690}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x553690{[_0x46ed58(0xba)](){const _0x29a788=_0x46ed58;let _0x1fca7f=0x0;for(const _0x3412c6 of this[_0x29a788(0xb6)])_0x1fca7f+=_0x3412c6[_0x29a788(0xb6)][_0x29a788(0xb3)];return{'resultsCount':_0x1fca7f,'totalItemsCount':_0x1fca7f};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1c5a0e=_0x337c;function _0x337c(_0x47c7fc,_0x3020c0){const _0x107053=_0x1070();return _0x337c=function(_0x337cf6,_0x509df1){_0x337cf6=_0x337cf6-0x1c7;let _0x4d0e4a=_0x107053[_0x337cf6];return _0x4d0e4a;},_0x337c(_0x47c7fc,_0x3020c0);}(function(_0x380cca,_0x54895d){const _0x34e3e8=_0x337c,_0x46ee49=_0x380cca();while(!![]){try{const _0x242088=-parseInt(_0x34e3e8(0x1da))/0x1+parseInt(_0x34e3e8(0x1d2))/0x2+-parseInt(_0x34e3e8(0x1d8))/0x3+-parseInt(_0x34e3e8(0x1dd))/0x4+-parseInt(_0x34e3e8(0x1d5))/0x5*(parseInt(_0x34e3e8(0x1e5))/0x6)+parseInt(_0x34e3e8(0x1c8))/0x7+parseInt(_0x34e3e8(0x1cd))/0x8;if(_0x242088===_0x54895d)break;else _0x46ee49['push'](_0x46ee49['shift']());}catch(_0x3bda1b){_0x46ee49['push'](_0x46ee49['shift']());}}}(_0x1070,0x3de34));import{ListView as _0x12d59b}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x5dd593}from'./aichatresourcelistitemview.js';const uc=_0x1c5a0e(0x1d9);export class AIChatContextResourcesListView extends _0x12d59b{[_0x1c5a0e(0x1d1)];constructor(_0xcc0eee,_0x333eed){const _0x1d42c6=_0x1c5a0e;super(_0xcc0eee),this[_0x1d42c6(0x1d1)]=_0x333eed,this[_0x1d42c6(0x1cf)]({'attributes':{'class':[uc]}});}[_0x1c5a0e(0x1de)](_0x3b47d0,_0x2371bb){const _0x27fa98=_0x1c5a0e;this[_0x27fa98(0x1ca)][_0x27fa98(0x1d7)]();let _0x56f3ab=_0x3b47d0;if(this[_0x27fa98(0x1d1)][_0x27fa98(0x1e0)]&&_0x2371bb&&''!==_0x2371bb[_0x27fa98(0x1c9)]()){const _0x4beea0=new RegExp(_0x2371bb[_0x27fa98(0x1df)](/[.*+?^${}()|[\]\\]/g,_0x27fa98(0x1e3)),'gi');_0x56f3ab=_0x3b47d0[_0x27fa98(0x1d0)](_0x3c84bb=>_0x4beea0[_0x27fa98(0x1d3)](_0x3c84bb[_0x27fa98(0x1cb)]));}for(const _0x139544 of _0x56f3ab){const _0x5e2177=new _0x5dd593(this[_0x27fa98(0x1e4)],_0x139544);_0x5e2177['on'](_0x27fa98(0x1e2),()=>{const _0x4ea0eb=_0x27fa98;this[_0x4ea0eb(0x1cc)](this[_0x4ea0eb(0x1d1)],_0x139544);}),this[_0x27fa98(0x1ca)][_0x27fa98(0x1d4)](_0x5e2177);}this[_0x27fa98(0x1d1)][_0x27fa98(0x1e0)]&&this[_0x27fa98(0x1ce)](_0x2371bb);}[_0x1c5a0e(0x1ce)](_0x1bea9f){const _0x47e6fc=_0x1c5a0e;this[_0x47e6fc(0x1d1)][_0x47e6fc(0x1e0)]&&this[_0x47e6fc(0x1ca)][_0x47e6fc(0x1e1)](_0xbbc218=>{const _0x450aba=_0x47e6fc;_0xbbc218[_0x450aba(0x1ce)](_0x1bea9f);});}[_0x1c5a0e(0x1db)](_0x15d078,_0x45cb9d){const _0x200d43=_0x1c5a0e;for(const _0x4adc57 of this[_0x200d43(0x1ca)]){const _0x1e1ee1=_0x4adc57;_0x1e1ee1[_0x200d43(0x1dc)]['id']===_0x15d078&&_0x1e1ee1[_0x200d43(0x1db)](_0x45cb9d);}}[_0x1c5a0e(0x1cc)](_0x1b3f46,_0x5b6a19){const _0x145cf4=_0x1c5a0e;this[_0x145cf4(0x1c7)](_0x145cf4(0x1d6),{'source':_0x1b3f46,'resource':_0x5b6a19});}}function _0x1070(){const _0x3f7bbc=['label','_handleResourceSelection','8261448sKwtle','highlightText','extendTemplate','filter','_source','539104TtNUnQ','test','add','230RBXHAr','addResourceToContext','clear','1278630cZjiLo','ck-ai-chat-resources__list','12076SQDQMs','updateResourceState','resource','1646264FCNswQ','setResources','replace','useDefaultFiltering','forEach','execute','\x5c$&','locale','51990jqbMSm','fire','1397907fBpQYv','trim','items'];_0x1070=function(){return _0x3f7bbc;};return _0x1070();}
|