@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.4
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/aichatshortcuts/aichatshortcuts.d.ts +8 -4
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/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/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/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 _0x13d428=_0x2e2b;function _0x2e2b(_0x48ee7e,_0x44e087){const _0x12cdab=_0x12cd();return _0x2e2b=function(_0x2e2b75,_0x161a19){_0x2e2b75=_0x2e2b75-0x173;let _0x436965=_0x12cdab[_0x2e2b75];return _0x436965;},_0x2e2b(_0x48ee7e,_0x44e087);}function _0x12cd(){const _0x3036f9=['some','_locale','3291903jKYKcd','_updateBalloonContent','_parentView','2016102eUVIue','block\x20!important','_calculateOverflowInContainer','createElement','pin','showMoreLabelPrefix','calculationContainer','pointerEvents','_overflowChips','_restoreAncestorVisibility','isOn','toLowerCase','hide','opacity','length','element','maxVisibleRows','_createShowMoreButton','_ancestorsToRestore','rowDetectionTolerance','content','div','_updateShowMoreButtonVisibility','ck-calculation-container','offsetWidth','_testButtonFit','className','_config','execute','5kzcrZO','_showMoreButtonView','visible','top','set','160988WnDfoi','left','_containerElement','show','filter','destroy','children','pop','8qXiuAC','undefined','parentElement','showMoreButtonView','_visibleChips','.ck-ai-chat','setContainerElement','slice','documentElement','body','reorganizeChips','getBoundingClientRect','add','236733VuCJES','bottom','zIndex','abs','setTemplate','push','width','_calculateContainerWidth','block','_handleShowMoreButtonClick','_createMockButton','_createShowMoreButtonView','height','_distributeChips','_createShowMoreBalloonPanelView','position','innerWidth','appendChild','boxSizing','clientWidth','display','observe','tagName','hidden','_targetContainer','style','300px','getComputedStyle','_createContainerElements','visibility','_setupVisibilityObserver','remove','classList','50px','isIntersecting','_findTargetContainer','_makeAncestorsVisible','_updateOverflowUI','overflowChips','showBalloonPanel','_isContainerVisible','cloneNode','controlsButton','_showMoreBalloonPanelView','querySelector','+\x201','auto','_renderChipsAndCountRows','absolute','_createCalculationContainer','overflowContainer','hideBalloonPanel','render','label','none','_applyCalculationStyles','1062570faWBjr','cssClasses','border-box','0px','_pendingCalculation','clear','showMoreBalloon','_applyOverflowResults','clientHeight','disableAnimationOnEnter','showMoreButton','from','includes','textContent','_checkAndHandleOverflow','-9999px','isVisible','2111704yfVyEe','_intersectionObserver','extendTemplate','276862AMGxLO','innerHeight','forEach','disconnect','visible\x20!important','button','_bodyCollection','right','isConnected','innerHTML','_repinBalloonPanel'];_0x12cd=function(){return _0x3036f9;};return _0x12cd();}(function(_0x3bacaf,_0x5f25cb){const _0x128462=_0x2e2b,_0x4220b6=_0x3bacaf();while(!![]){try{const _0x4bcd15=-parseInt(_0x128462(0x17a))/0x1+-parseInt(_0x128462(0x1c6))/0x2+parseInt(_0x128462(0x1b2))/0x3+-parseInt(_0x128462(0x1f8))/0x4*(parseInt(_0x128462(0x1f3))/0x5)+-parseInt(_0x128462(0x1d6))/0x6+parseInt(_0x128462(0x1c3))/0x7+-parseInt(_0x128462(0x200))/0x8*(-parseInt(_0x128462(0x1d3))/0x9);if(_0x4bcd15===_0x5f25cb)break;else _0x4220b6['push'](_0x4220b6['shift']());}catch(_0x23a285){_0x4220b6['push'](_0x4220b6['shift']());}}}(_0x12cd,0x41f79));import{View as _0x201a90,BalloonPanelView as _0x262859,ButtonView as _0x22eef0,clickOutsideHandler as _0x181a1b}from'ckeditor5/src/ui.js';import{Collection as _0x57ecd6}from'ckeditor5/src/utils.js';const wn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_n=_0x13d428(0x194);export class AIChatChipsOverflowManager{[_0x13d428(0x1d2)];[_0x13d428(0x1f1)];[_0x13d428(0x204)];[_0x13d428(0x1de)];[_0x13d428(0x1f4)]=null;[_0x13d428(0x1a5)]=null;[_0x13d428(0x1fa)]=null;[_0x13d428(0x1cc)];[_0x13d428(0x1d5)]=null;[_0x13d428(0x1c4)]=null;[_0x13d428(0x1b6)]=!0x1;constructor(_0x61397e,_0x163a9e,_0x5d05cd,_0x2053db,_0x26238b){const _0x12efee=_0x13d428;this[_0x12efee(0x1d2)]=_0x61397e,this[_0x12efee(0x204)]=_0x163a9e,this[_0x12efee(0x1f1)]={...wn,..._0x5d05cd,'cssClasses':{'controlsButton':'','calculationContainer':_0x12efee(0x1ed),..._0x5d05cd[_0x12efee(0x1b3)]}},this[_0x12efee(0x1de)]=new _0x57ecd6(),this[_0x12efee(0x1cc)]=_0x2053db,this[_0x12efee(0x1d5)]=_0x26238b||null;}[_0x13d428(0x173)](_0x5748a2){const _0x50e085=_0x13d428;this[_0x50e085(0x1c4)]&&(this[_0x50e085(0x1c4)][_0x50e085(0x1c9)](),this[_0x50e085(0x1c4)]=null),this[_0x50e085(0x1fa)]=_0x5748a2,this[_0x50e085(0x198)]();}get[_0x13d428(0x203)](){const _0x7d93d7=_0x13d428;return this[_0x7d93d7(0x1f4)];}get[_0x13d428(0x1a0)](){const _0x4a977f=_0x13d428;return this[_0x4a977f(0x1de)];}[_0x13d428(0x177)](){requestAnimationFrame(()=>{const _0x25eb04=_0x2e2b;this[_0x25eb04(0x1c0)]();});}[_0x13d428(0x1a1)](){const _0x16a22f=_0x13d428;this[_0x16a22f(0x1f4)]&&this[_0x16a22f(0x1a5)]&&(this[_0x16a22f(0x1d4)](),this[_0x16a22f(0x1f4)][_0x16a22f(0x1e0)]=!0x0,this[_0x16a22f(0x1a5)][_0x16a22f(0x1fb)](),this[_0x16a22f(0x1a5)][_0x16a22f(0x1da)]({'target':this[_0x16a22f(0x1f4)][_0x16a22f(0x1e5)],'limiter':document[_0x16a22f(0x1a6)](_0x16a22f(0x205))}));}[_0x13d428(0x1ad)](){const _0x2b7be6=_0x13d428;this[_0x2b7be6(0x1f4)]&&this[_0x2b7be6(0x1a5)]&&(this[_0x2b7be6(0x1f4)][_0x2b7be6(0x1e0)]=!0x1,this[_0x2b7be6(0x1a5)][_0x2b7be6(0x1e2)]());}[_0x13d428(0x1b7)](){const _0x59d67d=_0x13d428;this[_0x59d67d(0x1de)][_0x59d67d(0x1b7)](),this[_0x59d67d(0x1ad)](),this[_0x59d67d(0x1ec)](),this[_0x59d67d(0x1f4)]&&(this[_0x59d67d(0x1f4)][_0x59d67d(0x1af)]=''),this[_0x59d67d(0x1a5)]&&this[_0x59d67d(0x1a5)][_0x59d67d(0x1ea)][_0x59d67d(0x1b7)]();}[_0x13d428(0x1fd)](){const _0x1aa292=_0x13d428;this[_0x1aa292(0x1c4)]&&(this[_0x1aa292(0x1c4)][_0x1aa292(0x1c9)](),this[_0x1aa292(0x1c4)]=null),this[_0x1aa292(0x1f4)]&&(this[_0x1aa292(0x1f4)][_0x1aa292(0x1fd)](),this[_0x1aa292(0x1f4)]=null),this[_0x1aa292(0x1a5)]&&(this[_0x1aa292(0x1a5)][_0x1aa292(0x1fd)](),this[_0x1aa292(0x1a5)]=null);}[_0x13d428(0x1c0)](){const _0x2e8b4c=_0x13d428;if(!this[_0x2e8b4c(0x1fa)])return;if(!this[_0x2e8b4c(0x1a2)]())return void(this[_0x2e8b4c(0x1b6)]=!0x0);this[_0x2e8b4c(0x1b6)]=!0x1;const _0x1f0dd6=[...this[_0x2e8b4c(0x204)],...this[_0x2e8b4c(0x1de)]],_0x341192=this[_0x2e8b4c(0x1ab)](),_0x503784=this[_0x2e8b4c(0x1d8)](_0x341192,_0x1f0dd6),_0x1f1b2f=_0x341192[_0x2e8b4c(0x1e8)];_0x1f1b2f&&this[_0x2e8b4c(0x1df)](_0x1f1b2f),_0x341192[_0x2e8b4c(0x199)](),this[_0x2e8b4c(0x1b9)](_0x1f0dd6,_0x503784);}[_0x13d428(0x1e7)](){const _0x6d9c5b=_0x13d428;this[_0x6d9c5b(0x1f4)]=this[_0x6d9c5b(0x185)](),this[_0x6d9c5b(0x1a5)]=this[_0x6d9c5b(0x188)](),this[_0x6d9c5b(0x1f4)][_0x6d9c5b(0x1ae)](),this[_0x6d9c5b(0x1fa)][_0x6d9c5b(0x18b)](this[_0x6d9c5b(0x1f4)][_0x6d9c5b(0x1e5)]),this[_0x6d9c5b(0x1f4)]['on'](_0x6d9c5b(0x1f2),()=>{const _0xc6dad3=_0x6d9c5b;this[_0xc6dad3(0x183)]();}),_0x181a1b({'emitter':this[_0x6d9c5b(0x1a5)],'contextElements':[this[_0x6d9c5b(0x1a5)][_0x6d9c5b(0x1e5)],this[_0x6d9c5b(0x1f4)][_0x6d9c5b(0x1e5)]],'callback':()=>this[_0x6d9c5b(0x1ad)](),'activator':()=>this[_0x6d9c5b(0x1f4)][_0x6d9c5b(0x1e0)]});}[_0x13d428(0x185)](){const _0x2b2ec1=_0x13d428,_0x320f3a=new _0x22eef0(this[_0x2b2ec1(0x1d2)]);_0x320f3a[_0x2b2ec1(0x1f7)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x41bf46=[this[_0x2b2ec1(0x1f1)][_0x2b2ec1(0x1b3)][_0x2b2ec1(0x1bc)]];return this[_0x2b2ec1(0x1f1)][_0x2b2ec1(0x1b3)][_0x2b2ec1(0x1a4)]&&_0x41bf46[_0x2b2ec1(0x17f)](this[_0x2b2ec1(0x1f1)][_0x2b2ec1(0x1b3)][_0x2b2ec1(0x1a4)]),_0x320f3a[_0x2b2ec1(0x1c5)]({'attributes':{'class':_0x41bf46}}),_0x320f3a;}[_0x13d428(0x188)](){const _0x4bfa32=_0x13d428,_0x3f67e5=new _0x262859(this[_0x4bfa32(0x1d2)]);return _0x3f67e5[_0x4bfa32(0x1c5)]({'attributes':{'class':this[_0x4bfa32(0x1f1)][_0x4bfa32(0x1b3)][_0x4bfa32(0x1b8)]}}),this[_0x4bfa32(0x1cc)][_0x4bfa32(0x179)](_0x3f67e5),_0x3f67e5;}[_0x13d428(0x1d4)](){const _0x4337ce=_0x13d428;if(this[_0x4337ce(0x1a5)]&&(this[_0x4337ce(0x1a5)][_0x4337ce(0x1ea)][_0x4337ce(0x1b7)](),this[_0x4337ce(0x1de)][_0x4337ce(0x1e4)]>0x0)){this[_0x4337ce(0x1de)][_0x4337ce(0x1c8)](_0x302fac=>{const _0x399f3f=_0x4337ce;_0x302fac[_0x399f3f(0x1bb)]();});const _0x4d090e=new _0x201a90(this[_0x4337ce(0x1d2)]);_0x4d090e[_0x4337ce(0x17e)]({'tag':_0x4337ce(0x1eb),'attributes':{'class':this[_0x4337ce(0x1f1)][_0x4337ce(0x1b3)][_0x4337ce(0x1ac)]},'children':this[_0x4337ce(0x1de)]}),this[_0x4337ce(0x1a5)][_0x4337ce(0x1ea)][_0x4337ce(0x179)](_0x4d090e);}}[_0x13d428(0x183)](){const _0x30ee2a=_0x13d428;this[_0x30ee2a(0x1f4)][_0x30ee2a(0x1e0)]?this[_0x30ee2a(0x1ad)]():this[_0x30ee2a(0x1a1)]();}[_0x13d428(0x1ec)](){const _0x4baa19=_0x13d428,_0x4076d9=this[_0x4baa19(0x1de)][_0x4baa19(0x1e4)]>0x0;this[_0x4baa19(0x1f4)]?.[_0x4baa19(0x1e5)]&&(this[_0x4baa19(0x1f4)][_0x4baa19(0x1e5)][_0x4baa19(0x193)][_0x4baa19(0x18e)]=_0x4076d9?'':_0x4baa19(0x1b0));}[_0x13d428(0x1d0)](){const _0x476773=_0x13d428;this[_0x476773(0x1f4)]?.[_0x476773(0x1e0)]&&this[_0x476773(0x1a5)]?.[_0x476773(0x1c2)]&&this[_0x476773(0x1f4)][_0x476773(0x1e5)]&&this[_0x476773(0x1a5)][_0x476773(0x1da)]({'target':this[_0x476773(0x1f4)][_0x476773(0x1e5)],'limiter':document[_0x476773(0x1a6)](_0x476773(0x205))});}[_0x13d428(0x19d)](_0x5a014c){const _0x3d23be=_0x13d428,_0x5d85bb=this[_0x3d23be(0x1fa)]?.[_0x3d23be(0x190)][_0x3d23be(0x1e1)]()||_0x3d23be(0x1eb),_0x31da68=this[_0x3d23be(0x1fa)]?.[_0x3d23be(0x19a)];if(_0x31da68){const _0x1b73f6=_0x31da68[0x0]||'',_0x4ceeef=_0x5a014c[_0x3d23be(0x1a6)]('.'+_0x1b73f6),_0x150b59=_0x5a014c[_0x3d23be(0x1a6)](_0x5d85bb);return _0x4ceeef||_0x150b59||_0x5a014c;}return _0x5a014c[_0x3d23be(0x1a6)](_0x5d85bb)||_0x5a014c;}[_0x13d428(0x181)](){const _0x460beb=_0x13d428,_0xfb2e94=this[_0x460beb(0x1d5)]?.[_0x460beb(0x1e5)]||this[_0x460beb(0x1fa)];if(!_0xfb2e94)return _n;const _0x2364d9=window[_0x460beb(0x195)](_0xfb2e94)[_0x460beb(0x180)];if(_0x460beb(0x1a8)===_0x2364d9||_0x460beb(0x1b5)===_0x2364d9||!_0x2364d9){const _0x3418a2=_0xfb2e94[_0x460beb(0x202)];if(_0x3418a2){const _0x13e6a8=window[_0x460beb(0x195)](_0x3418a2);return _0x460beb(0x1a8)!==_0x13e6a8[_0x460beb(0x180)]?_0x13e6a8[_0x460beb(0x180)]:_n;}return _n;}return _0x2364d9;}[_0x13d428(0x1b1)](_0x34fd30,_0x16e5cb){const _0x240261=_0x13d428;this[_0x240261(0x1f1)][_0x240261(0x1b3)][_0x240261(0x1dc)]&&_0x34fd30[_0x240261(0x19a)][_0x240261(0x179)](this[_0x240261(0x1f1)][_0x240261(0x1b3)][_0x240261(0x1dc)]),_0x34fd30[_0x240261(0x193)][_0x240261(0x180)]=_0x16e5cb,_0x34fd30[_0x240261(0x193)][_0x240261(0x189)]=_0x240261(0x1aa),_0x34fd30[_0x240261(0x193)][_0x240261(0x1f6)]=_0x240261(0x1c1),_0x34fd30[_0x240261(0x193)][_0x240261(0x1f9)]=_0x240261(0x1c1),_0x34fd30[_0x240261(0x193)][_0x240261(0x1e3)]='0',_0x34fd30[_0x240261(0x193)][_0x240261(0x1dd)]=_0x240261(0x1b0),_0x34fd30[_0x240261(0x193)][_0x240261(0x17c)]='-1',_0x34fd30[_0x240261(0x193)][_0x240261(0x197)]=_0x240261(0x1ca),_0x34fd30[_0x240261(0x193)][_0x240261(0x18e)]=_0x240261(0x1d7),_0x34fd30[_0x240261(0x193)][_0x240261(0x18c)]=_0x240261(0x1b4);}[_0x13d428(0x1df)](_0x1b2b61){const _0x3618f4=_0x13d428;_0x1b2b61[_0x3618f4(0x1c8)](({element:_0x11e761,originalDisplay:_0x1e7922,originalVisibility:_0x5167a8})=>{const _0x51a7f7=_0x3618f4;_0x11e761[_0x51a7f7(0x193)][_0x51a7f7(0x18e)]=_0x1e7922,_0x11e761[_0x51a7f7(0x193)][_0x51a7f7(0x197)]=_0x5167a8;});}[_0x13d428(0x19e)](_0x53776e){const _0x2462f2=_0x13d428,_0x2d426f=[];let _0x8cc1cc=_0x53776e;for(;_0x8cc1cc&&_0x8cc1cc!==document[_0x2462f2(0x176)];){const _0xd32ac0=window[_0x2462f2(0x195)](_0x8cc1cc);_0x2462f2(0x1b0)!==_0xd32ac0[_0x2462f2(0x18e)]&&_0x2462f2(0x191)!==_0xd32ac0[_0x2462f2(0x197)]||(_0x2d426f[_0x2462f2(0x17f)]({'element':_0x8cc1cc,'originalDisplay':_0x8cc1cc[_0x2462f2(0x193)][_0x2462f2(0x18e)],'originalVisibility':_0x8cc1cc[_0x2462f2(0x193)][_0x2462f2(0x197)]}),_0x8cc1cc[_0x2462f2(0x193)][_0x2462f2(0x18e)]=_0x2462f2(0x182),_0x8cc1cc[_0x2462f2(0x193)][_0x2462f2(0x197)]=_0x2462f2(0x1f5)),_0x8cc1cc=_0x8cc1cc[_0x2462f2(0x202)];}return _0x2d426f;}[_0x13d428(0x196)](){const _0x1ac413=_0x13d428;let _0x98128b,_0x240a65;return this[_0x1ac413(0x1d5)]?.[_0x1ac413(0x1e5)]?(_0x98128b=this[_0x1ac413(0x1d5)][_0x1ac413(0x1e5)][_0x1ac413(0x1a3)](!0x0),_0x240a65=this[_0x1ac413(0x19d)](_0x98128b)):(_0x98128b=document[_0x1ac413(0x1d9)](_0x1ac413(0x1eb)),_0x240a65=_0x98128b),{'calculationContainer':_0x98128b,'targetContainer':_0x240a65};}[_0x13d428(0x1ab)](){const _0x65ed78=_0x13d428,{calculationContainer:_0x108e87,targetContainer:_0xac7512}=this[_0x65ed78(0x196)](),_0x50dbc4=this[_0x65ed78(0x181)]();this[_0x65ed78(0x1b1)](_0x108e87,_0x50dbc4);const _0x8db2e4=this[_0x65ed78(0x1d5)]?.[_0x65ed78(0x1e5)]||this[_0x65ed78(0x1fa)],_0x5218aa=_0x8db2e4?.[_0x65ed78(0x202)];_0x5218aa?_0x5218aa[_0x65ed78(0x18b)](_0x108e87):document[_0x65ed78(0x176)][_0x65ed78(0x18b)](_0x108e87),_0x108e87[_0x65ed78(0x192)]=_0xac7512;const _0x20f7d4=this[_0x65ed78(0x19e)](_0x5218aa||null);return _0x108e87[_0x65ed78(0x1ee)],_0x108e87[_0x65ed78(0x1e8)]=_0x20f7d4,_0x108e87;}[_0x13d428(0x1d8)](_0x2ba8a5,_0x524d5c){const _0x55e58f=_0x13d428,_0x1ee182=_0x2ba8a5[_0x55e58f(0x192)]||_0x2ba8a5,_0x5133f8=[],{rowCount:_0x118373}=this[_0x55e58f(0x1a9)](_0x1ee182,_0x524d5c);if(_0x118373<=this[_0x55e58f(0x1f1)][_0x55e58f(0x1e6)])return _0x5133f8;const _0x21464e=_0x524d5c[_0x55e58f(0x174)]();for(;_0x21464e[_0x55e58f(0x1e4)]>0x0;){if(this[_0x55e58f(0x1ef)](_0x2ba8a5,_0x1ee182,_0x21464e)){const _0x4b2430=_0x524d5c[_0x55e58f(0x1fc)](_0x3d2b7b=>!_0x21464e[_0x55e58f(0x1be)](_0x3d2b7b));_0x5133f8[_0x55e58f(0x17f)](..._0x4b2430);break;}if(!_0x21464e[_0x55e58f(0x1ff)]())break;}return _0x5133f8;}[_0x13d428(0x1a9)](_0xdf0302,_0x3b595b){const _0x1085d5=_0x13d428;_0xdf0302[_0x1085d5(0x1cf)]='',_0x3b595b[_0x1085d5(0x1c8)](_0x5dbc2e=>{const _0x454e6e=_0x1085d5;if(_0x5dbc2e[_0x454e6e(0x1e5)]){const _0x42c8fb=_0x5dbc2e[_0x454e6e(0x1e5)][_0x454e6e(0x1a3)](!0x0);_0xdf0302[_0x454e6e(0x18b)](_0x42c8fb);}}),_0xdf0302[_0x1085d5(0x1ee)];const _0xb3cd18=_0xdf0302[_0x1085d5(0x1fe)],_0x3c4ff3=[];return Array[_0x1085d5(0x1bd)](_0xb3cd18)[_0x1085d5(0x1c8)](_0x24df6d=>{const _0x2fb5a1=_0x1085d5,_0x2537d4=_0x24df6d[_0x2fb5a1(0x178)]()[_0x2fb5a1(0x1f6)];_0x3c4ff3[_0x2fb5a1(0x1d1)](_0x403032=>Math[_0x2fb5a1(0x17d)](_0x403032-_0x2537d4)<this[_0x2fb5a1(0x1f1)][_0x2fb5a1(0x1e9)])||_0x3c4ff3[_0x2fb5a1(0x17f)](_0x2537d4);}),{'rowCount':_0x3c4ff3[_0x1085d5(0x1e4)]};}[_0x13d428(0x184)](){const _0x3a6799=_0x13d428,_0x1e0e61=document[_0x3a6799(0x1d9)](_0x3a6799(0x1cb));return _0x1e0e61[_0x3a6799(0x1f0)]=this[_0x3a6799(0x1f1)][_0x3a6799(0x1b3)][_0x3a6799(0x1bc)],this[_0x3a6799(0x1f1)][_0x3a6799(0x1b3)][_0x3a6799(0x1a4)]&&_0x1e0e61[_0x3a6799(0x19a)][_0x3a6799(0x179)](this[_0x3a6799(0x1f1)][_0x3a6799(0x1b3)][_0x3a6799(0x1a4)]),_0x1e0e61[_0x3a6799(0x1bf)]=_0x3a6799(0x1a7),_0x1e0e61;}[_0x13d428(0x1ef)](_0x3ff216,_0x323fbf,_0x187aee){const _0xf1d8b5=_0x13d428;this[_0xf1d8b5(0x1a9)](_0x323fbf,_0x187aee);const _0x45f855=this[_0xf1d8b5(0x184)]();_0x3ff216[_0xf1d8b5(0x18b)](_0x45f855),_0x3ff216[_0xf1d8b5(0x1ee)];const _0x45e4cc=[..._0x323fbf[_0xf1d8b5(0x1fe)],_0x45f855],_0x55c439=[];_0x45e4cc[_0xf1d8b5(0x1c8)](_0x33e1a9=>{const _0x3deff2=_0xf1d8b5,_0x3b9790=_0x33e1a9[_0x3deff2(0x178)]()[_0x3deff2(0x1f6)];_0x55c439[_0x3deff2(0x1d1)](_0x32698a=>Math[_0x3deff2(0x17d)](_0x32698a-_0x3b9790)<this[_0x3deff2(0x1f1)][_0x3deff2(0x1e9)])||_0x55c439[_0x3deff2(0x17f)](_0x3b9790);});const _0xc3edab=_0x55c439[_0xf1d8b5(0x1e4)];return _0x45f855[_0xf1d8b5(0x199)](),_0xc3edab<=this[_0xf1d8b5(0x1f1)][_0xf1d8b5(0x1e6)];}[_0x13d428(0x187)](_0x366d2b,_0x374a50){const _0xd1597=_0x13d428;this[_0xd1597(0x204)][_0xd1597(0x1b7)](),this[_0xd1597(0x1de)][_0xd1597(0x1b7)](),_0x366d2b[_0xd1597(0x1c8)](_0x2f1112=>{const _0x2ec46a=_0xd1597;_0x374a50[_0x2ec46a(0x1be)](_0x2f1112)?this[_0x2ec46a(0x1de)][_0x2ec46a(0x179)](_0x2f1112):this[_0x2ec46a(0x204)][_0x2ec46a(0x179)](_0x2f1112);});}[_0x13d428(0x19f)](_0x118717){const _0x498c44=_0x13d428;if(_0x118717>0x0&&!this[_0x498c44(0x1f4)]&&this[_0x498c44(0x1e7)](),_0x118717>0x0&&this[_0x498c44(0x1f4)]){const _0x2b8b8b=''+this[_0x498c44(0x1f1)][_0x498c44(0x1db)]+(_0x118717<0x63?_0x118717:'99');this[_0x498c44(0x1f4)][_0x498c44(0x1af)]=_0x2b8b8b;}this[_0x498c44(0x1d4)](),this[_0x498c44(0x1ec)](),this[_0x498c44(0x1d0)]();}[_0x13d428(0x1b9)](_0x4ecdbd,_0x2f9be4){const _0x5efec5=_0x13d428;this[_0x5efec5(0x187)](_0x4ecdbd,_0x2f9be4),this[_0x5efec5(0x19f)](_0x2f9be4[_0x5efec5(0x1e4)]);}[_0x13d428(0x198)](){const _0x6fb4c4=_0x13d428;this[_0x6fb4c4(0x1fa)]&&_0x6fb4c4(0x201)!=typeof IntersectionObserver&&(this[_0x6fb4c4(0x1c4)]=new IntersectionObserver(_0x18ac07=>{const _0x419877=_0x6fb4c4;_0x18ac07[0x0][_0x419877(0x19c)]&&this[_0x419877(0x1b6)]&&requestAnimationFrame(()=>{const _0x421b17=_0x419877;this[_0x421b17(0x1c0)]();});},{'threshold':0.01,'rootMargin':_0x6fb4c4(0x19b)}),this[_0x6fb4c4(0x1c4)][_0x6fb4c4(0x18f)](this[_0x6fb4c4(0x1fa)]));}[_0x13d428(0x1a2)](){const _0x176146=_0x13d428;if(!this[_0x176146(0x1fa)])return!0x1;if(!this[_0x176146(0x1fa)][_0x176146(0x1ce)])return!0x1;const _0x18eb12=this[_0x176146(0x1fa)][_0x176146(0x178)]();if(0x0===_0x18eb12[_0x176146(0x180)]||0x0===_0x18eb12[_0x176146(0x186)])return!0x1;const _0x2788fb=window[_0x176146(0x1c7)]||document[_0x176146(0x175)][_0x176146(0x1ba)],_0x147c91=window[_0x176146(0x18a)]||document[_0x176146(0x175)][_0x176146(0x18d)],_0x52d116=0xc8;return _0x18eb12[_0x176146(0x17b)]>=-0xc8&&_0x18eb12[_0x176146(0x1f6)]<=_0x2788fb+_0x52d116&&_0x18eb12[_0x176146(0x1cd)]>=-0xc8&&_0x18eb12[_0x176146(0x1f9)]<=_0x147c91+_0x52d116;}}
|
|
23
|
+
function _0x30a1(){const _0x4af1f6=['_updateBalloonContent','setContainerElement','innerWidth','isOn','remove','children','14752HuCQvI','add','abs','getComputedStyle','left','showMoreButton','_applyCalculationStyles','forEach','4652767LNXcEK','+\x201','overflowChips','filter','cssClasses','_distributeChips','_config','cloneNode','_ancestorsToRestore','set','tagName','textContent','push','observe','maxVisibleRows','parentElement','bottom','_locale','clear','absolute','innerHTML','pop','_createShowMoreBalloonPanelView','-9999px','height','showBalloonPanel','boxSizing','_parentView','innerHeight','content','toLowerCase','setTemplate','offsetWidth','appendChild','hide','18837522PveCeV','_testButtonFit','length','execute','disableAnimationOnEnter','_createCalculationContainer','overflowContainer','style','reorganizeChips','getBoundingClientRect','block','destroy','border-box','rowDetectionTolerance','_applyOverflowResults','1194900jHJBMr','_containerElement','show','pin','_createContainerElements','_pendingCalculation','_isContainerVisible','render','undefined','468ZkJdmm','className','_updateOverflowUI','_setupVisibilityObserver','clientWidth','some','querySelector','_makeAncestorsVisible','calculationContainer','visible','_intersectionObserver','disconnect','width','_showMoreButtonView','auto','_handleShowMoreButtonClick','visibility','label','slice','top','visible\x20!important','hidden','display','ck-calculation-container','_restoreAncestorVisibility','_createShowMoreButton','_calculateOverflowInContainer','hideBalloonPanel','_repinBalloonPanel','controlsButton','showMoreBalloon','clientHeight','classList','includes','div','_createShowMoreButtonView','30mMModN','element','showMoreButtonView','909inFkLA','from','_targetContainer','_renderChipsAndCountRows','_visibleChips','_bodyCollection','50px','0px','_createMockButton','isVisible','zIndex','documentElement','isIntersecting','isConnected','block\x20!important','none','body','showMoreLabelPrefix','_calculateContainerWidth','_showMoreBalloonPanelView','310926NaAHrC','_checkAndHandleOverflow','extendTemplate','12ayQbcp','position','300px','_overflowChips','pointerEvents','right','.ck-ai-chat','149095zrXBdH','createElement','opacity','_findTargetContainer','button','_updateShowMoreButtonVisibility','2612rjtktQ'];_0x30a1=function(){return _0x4af1f6;};return _0x30a1();}const _0x50d62e=_0x5acb;function _0x5acb(_0x1f6af1,_0x4b9ee4){const _0x30a1f1=_0x30a1();return _0x5acb=function(_0x5acbb0,_0x115161){_0x5acbb0=_0x5acbb0-0xbc;let _0x13ff91=_0x30a1f1[_0x5acbb0];return _0x13ff91;},_0x5acb(_0x1f6af1,_0x4b9ee4);}(function(_0x750b31,_0x26ab48){const _0x3bdc25=_0x5acb,_0x6e8f24=_0x750b31();while(!![]){try{const _0x10eae1=-parseInt(_0x3bdc25(0xd9))/0x1*(parseInt(_0x3bdc25(0x123))/0x2)+parseInt(_0x3bdc25(0xc9))/0x3*(-parseInt(_0x3bdc25(0xcc))/0x4)+-parseInt(_0x3bdc25(0xd3))/0x5*(-parseInt(_0x3bdc25(0x147))/0x6)+-parseInt(_0x3bdc25(0xe8))/0x7+-parseInt(_0x3bdc25(0xe0))/0x8*(-parseInt(_0x3bdc25(0x14a))/0x9)+-parseInt(_0x3bdc25(0x11a))/0xa+parseInt(_0x3bdc25(0x10b))/0xb;if(_0x10eae1===_0x26ab48)break;else _0x6e8f24['push'](_0x6e8f24['shift']());}catch(_0x34c9c4){_0x6e8f24['push'](_0x6e8f24['shift']());}}}(_0x30a1,0x53620));import{View as _0x56f285,BalloonPanelView as _0x3bae99,ButtonView as _0x3fe003,clickOutsideHandler as _0x1e21bd}from'ckeditor5/src/ui.js';import{Collection as _0x192e00}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x50d62e(0xce);export class AIChatChipsOverflowManager{[_0x50d62e(0xf9)];[_0x50d62e(0xee)];[_0x50d62e(0x14e)];[_0x50d62e(0xcf)];[_0x50d62e(0x130)]=null;[_0x50d62e(0xc8)]=null;[_0x50d62e(0x11b)]=null;[_0x50d62e(0x14f)];[_0x50d62e(0x103)]=null;[_0x50d62e(0x12d)]=null;[_0x50d62e(0x11f)]=!0x1;constructor(_0x3c735a,_0xaf96a1,_0xee318a,_0x1a3cb4,_0x51b4fc){const _0x5b0947=_0x50d62e;this[_0x5b0947(0xf9)]=_0x3c735a,this[_0x5b0947(0x14e)]=_0xaf96a1,this[_0x5b0947(0xee)]={...hn,..._0xee318a,'cssClasses':{'controlsButton':'','calculationContainer':_0x5b0947(0x13a),..._0xee318a[_0x5b0947(0xec)]}},this[_0x5b0947(0xcf)]=new _0x192e00(),this[_0x5b0947(0x14f)]=_0x1a3cb4,this[_0x5b0947(0x103)]=_0x51b4fc||null;}[_0x50d62e(0xdb)](_0x4c7a3f){const _0x113887=_0x50d62e;this[_0x113887(0x12d)]&&(this[_0x113887(0x12d)][_0x113887(0x12e)](),this[_0x113887(0x12d)]=null),this[_0x113887(0x11b)]=_0x4c7a3f,this[_0x113887(0x126)]();}get[_0x50d62e(0x149)](){const _0x223751=_0x50d62e;return this[_0x223751(0x130)];}get[_0x50d62e(0xea)](){const _0x5de4b9=_0x50d62e;return this[_0x5de4b9(0xcf)];}[_0x50d62e(0x113)](){requestAnimationFrame(()=>{const _0x129026=_0x5acb;this[_0x129026(0xca)]();});}[_0x50d62e(0x101)](){const _0x2c02e1=_0x50d62e;this[_0x2c02e1(0x130)]&&this[_0x2c02e1(0xc8)]&&(this[_0x2c02e1(0xda)](),this[_0x2c02e1(0x130)][_0x2c02e1(0xdd)]=!0x0,this[_0x2c02e1(0xc8)][_0x2c02e1(0x11c)](),this[_0x2c02e1(0xc8)][_0x2c02e1(0x11d)]({'target':this[_0x2c02e1(0x130)][_0x2c02e1(0x148)],'limiter':document[_0x2c02e1(0x129)](_0x2c02e1(0xd2))}));}[_0x50d62e(0x13e)](){const _0xfa51b6=_0x50d62e;this[_0xfa51b6(0x130)]&&this[_0xfa51b6(0xc8)]&&(this[_0xfa51b6(0x130)][_0xfa51b6(0xdd)]=!0x1,this[_0xfa51b6(0xc8)][_0xfa51b6(0x10a)]());}[_0x50d62e(0xfa)](){const _0x5d765c=_0x50d62e;this[_0x5d765c(0xcf)][_0x5d765c(0xfa)](),this[_0x5d765c(0x13e)](),this[_0x5d765c(0xd8)](),this[_0x5d765c(0x130)]&&(this[_0x5d765c(0x130)][_0x5d765c(0x134)]=''),this[_0x5d765c(0xc8)]&&this[_0x5d765c(0xc8)][_0x5d765c(0x105)][_0x5d765c(0xfa)]();}[_0x50d62e(0x116)](){const _0x257971=_0x50d62e;this[_0x257971(0x12d)]&&(this[_0x257971(0x12d)][_0x257971(0x12e)](),this[_0x257971(0x12d)]=null),this[_0x257971(0x130)]&&(this[_0x257971(0x130)][_0x257971(0x116)](),this[_0x257971(0x130)]=null),this[_0x257971(0xc8)]&&(this[_0x257971(0xc8)][_0x257971(0x116)](),this[_0x257971(0xc8)]=null);}[_0x50d62e(0xca)](){const _0x4f37e3=_0x50d62e;if(!this[_0x4f37e3(0x11b)])return;if(!this[_0x4f37e3(0x120)]())return void(this[_0x4f37e3(0x11f)]=!0x0);this[_0x4f37e3(0x11f)]=!0x1;const _0x54b3c4=[...this[_0x4f37e3(0x14e)],...this[_0x4f37e3(0xcf)]],_0x5c2bcd=this[_0x4f37e3(0x110)](),_0x45e5fa=this[_0x4f37e3(0x13d)](_0x5c2bcd,_0x54b3c4),_0x37b4dc=_0x5c2bcd[_0x4f37e3(0xf0)];_0x37b4dc&&this[_0x4f37e3(0x13b)](_0x37b4dc),_0x5c2bcd[_0x4f37e3(0xde)](),this[_0x4f37e3(0x119)](_0x54b3c4,_0x45e5fa);}[_0x50d62e(0x13c)](){const _0x380cbc=_0x50d62e;this[_0x380cbc(0x130)]=this[_0x380cbc(0x146)](),this[_0x380cbc(0xc8)]=this[_0x380cbc(0xfe)](),this[_0x380cbc(0x130)][_0x380cbc(0x121)](),this[_0x380cbc(0x11b)][_0x380cbc(0x109)](this[_0x380cbc(0x130)][_0x380cbc(0x148)]),this[_0x380cbc(0x130)]['on'](_0x380cbc(0x10e),()=>{const _0x3f4a44=_0x380cbc;this[_0x3f4a44(0x132)]();}),_0x1e21bd({'emitter':this[_0x380cbc(0xc8)],'contextElements':[this[_0x380cbc(0xc8)][_0x380cbc(0x148)],this[_0x380cbc(0x130)][_0x380cbc(0x148)]],'callback':()=>this[_0x380cbc(0x13e)](),'activator':()=>this[_0x380cbc(0x130)][_0x380cbc(0xdd)]});}[_0x50d62e(0x146)](){const _0x3f2d15=_0x50d62e,_0x353834=new _0x3fe003(this[_0x3f2d15(0xf9)]);_0x353834[_0x3f2d15(0xf1)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x4f6ae6=[this[_0x3f2d15(0xee)][_0x3f2d15(0xec)][_0x3f2d15(0xe5)]];return this[_0x3f2d15(0xee)][_0x3f2d15(0xec)][_0x3f2d15(0x140)]&&_0x4f6ae6[_0x3f2d15(0xf4)](this[_0x3f2d15(0xee)][_0x3f2d15(0xec)][_0x3f2d15(0x140)]),_0x353834[_0x3f2d15(0xcb)]({'attributes':{'class':_0x4f6ae6}}),_0x353834;}[_0x50d62e(0xfe)](){const _0x34f127=_0x50d62e,_0xdbf8b4=new _0x3bae99(this[_0x34f127(0xf9)]);return _0xdbf8b4[_0x34f127(0xcb)]({'attributes':{'class':this[_0x34f127(0xee)][_0x34f127(0xec)][_0x34f127(0x141)]}}),this[_0x34f127(0x14f)][_0x34f127(0xe1)](_0xdbf8b4),_0xdbf8b4;}[_0x50d62e(0xda)](){const _0x548845=_0x50d62e;if(this[_0x548845(0xc8)]&&(this[_0x548845(0xc8)][_0x548845(0x105)][_0x548845(0xfa)](),this[_0x548845(0xcf)][_0x548845(0x10d)]>0x0)){this[_0x548845(0xcf)][_0x548845(0xe7)](_0x5e59e0=>{const _0x3d8bf0=_0x548845;_0x5e59e0[_0x3d8bf0(0x10f)]();});const _0x214f56=new _0x56f285(this[_0x548845(0xf9)]);_0x214f56[_0x548845(0x107)]({'tag':_0x548845(0x145),'attributes':{'class':this[_0x548845(0xee)][_0x548845(0xec)][_0x548845(0x111)]},'children':this[_0x548845(0xcf)]}),this[_0x548845(0xc8)][_0x548845(0x105)][_0x548845(0xe1)](_0x214f56);}}[_0x50d62e(0x132)](){const _0x20f52f=_0x50d62e;this[_0x20f52f(0x130)][_0x20f52f(0xdd)]?this[_0x20f52f(0x13e)]():this[_0x20f52f(0x101)]();}[_0x50d62e(0xd8)](){const _0x292725=_0x50d62e,_0x4336cd=this[_0x292725(0xcf)][_0x292725(0x10d)]>0x0;this[_0x292725(0x130)]?.[_0x292725(0x148)]&&(this[_0x292725(0x130)][_0x292725(0x148)][_0x292725(0x112)][_0x292725(0x139)]=_0x4336cd?'':_0x292725(0xc4));}[_0x50d62e(0x13f)](){const _0x28f50e=_0x50d62e;this[_0x28f50e(0x130)]?.[_0x28f50e(0xdd)]&&this[_0x28f50e(0xc8)]?.[_0x28f50e(0xbe)]&&this[_0x28f50e(0x130)][_0x28f50e(0x148)]&&this[_0x28f50e(0xc8)][_0x28f50e(0x11d)]({'target':this[_0x28f50e(0x130)][_0x28f50e(0x148)],'limiter':document[_0x28f50e(0x129)](_0x28f50e(0xd2))});}[_0x50d62e(0xd6)](_0x1ab442){const _0x5ac9d7=_0x50d62e,_0x38daa8=this[_0x5ac9d7(0x11b)]?.[_0x5ac9d7(0xf2)][_0x5ac9d7(0x106)]()||_0x5ac9d7(0x145),_0x4ecf28=this[_0x5ac9d7(0x11b)]?.[_0x5ac9d7(0x143)];if(_0x4ecf28){const _0x1c1a96=_0x4ecf28[0x0]||'',_0x318911=_0x1ab442[_0x5ac9d7(0x129)]('.'+_0x1c1a96),_0xad7ff0=_0x1ab442[_0x5ac9d7(0x129)](_0x38daa8);return _0x318911||_0xad7ff0||_0x1ab442;}return _0x1ab442[_0x5ac9d7(0x129)](_0x38daa8)||_0x1ab442;}[_0x50d62e(0xc7)](){const _0x36cd96=_0x50d62e,_0x1aeeba=this[_0x36cd96(0x103)]?.[_0x36cd96(0x148)]||this[_0x36cd96(0x11b)];if(!_0x1aeeba)return an;const _0x115330=window[_0x36cd96(0xe3)](_0x1aeeba)[_0x36cd96(0x12f)];if(_0x36cd96(0x131)===_0x115330||_0x36cd96(0xbc)===_0x115330||!_0x115330){const _0x420f45=_0x1aeeba[_0x36cd96(0xf7)];if(_0x420f45){const _0x26d680=window[_0x36cd96(0xe3)](_0x420f45);return _0x36cd96(0x131)!==_0x26d680[_0x36cd96(0x12f)]?_0x26d680[_0x36cd96(0x12f)]:an;}return an;}return _0x115330;}[_0x50d62e(0xe6)](_0x404b06,_0x1afb96){const _0x5aa2b5=_0x50d62e;this[_0x5aa2b5(0xee)][_0x5aa2b5(0xec)][_0x5aa2b5(0x12b)]&&_0x404b06[_0x5aa2b5(0x143)][_0x5aa2b5(0xe1)](this[_0x5aa2b5(0xee)][_0x5aa2b5(0xec)][_0x5aa2b5(0x12b)]),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0x12f)]=_0x1afb96,_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0xcd)]=_0x5aa2b5(0xfb),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0x136)]=_0x5aa2b5(0xff),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0xe4)]=_0x5aa2b5(0xff),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0xd5)]='0',_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0xd0)]=_0x5aa2b5(0xc4),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0xbf)]='-1',_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0x133)]=_0x5aa2b5(0x137),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0x139)]=_0x5aa2b5(0xc3),_0x404b06[_0x5aa2b5(0x112)][_0x5aa2b5(0x102)]=_0x5aa2b5(0x117);}[_0x50d62e(0x13b)](_0x53a9a1){const _0x4f22d2=_0x50d62e;_0x53a9a1[_0x4f22d2(0xe7)](({element:_0x5b4329,originalDisplay:_0x3a33b8,originalVisibility:_0x3eff83})=>{const _0x8f4879=_0x4f22d2;_0x5b4329[_0x8f4879(0x112)][_0x8f4879(0x139)]=_0x3a33b8,_0x5b4329[_0x8f4879(0x112)][_0x8f4879(0x133)]=_0x3eff83;});}[_0x50d62e(0x12a)](_0x4b6bf2){const _0x51c8be=_0x50d62e,_0x174d81=[];let _0xa016c0=_0x4b6bf2;for(;_0xa016c0&&_0xa016c0!==document[_0x51c8be(0xc5)];){const _0x9fb104=window[_0x51c8be(0xe3)](_0xa016c0);_0x51c8be(0xc4)!==_0x9fb104[_0x51c8be(0x139)]&&_0x51c8be(0x138)!==_0x9fb104[_0x51c8be(0x133)]||(_0x174d81[_0x51c8be(0xf4)]({'element':_0xa016c0,'originalDisplay':_0xa016c0[_0x51c8be(0x112)][_0x51c8be(0x139)],'originalVisibility':_0xa016c0[_0x51c8be(0x112)][_0x51c8be(0x133)]}),_0xa016c0[_0x51c8be(0x112)][_0x51c8be(0x139)]=_0x51c8be(0x115),_0xa016c0[_0x51c8be(0x112)][_0x51c8be(0x133)]=_0x51c8be(0x12c)),_0xa016c0=_0xa016c0[_0x51c8be(0xf7)];}return _0x174d81;}[_0x50d62e(0x11e)](){const _0x5ef968=_0x50d62e;let _0x2938f5,_0x1677d5;return this[_0x5ef968(0x103)]?.[_0x5ef968(0x148)]?(_0x2938f5=this[_0x5ef968(0x103)][_0x5ef968(0x148)][_0x5ef968(0xef)](!0x0),_0x1677d5=this[_0x5ef968(0xd6)](_0x2938f5)):(_0x2938f5=document[_0x5ef968(0xd4)](_0x5ef968(0x145)),_0x1677d5=_0x2938f5),{'calculationContainer':_0x2938f5,'targetContainer':_0x1677d5};}[_0x50d62e(0x110)](){const _0x474f34=_0x50d62e,{calculationContainer:_0x2e3acf,targetContainer:_0x24662d}=this[_0x474f34(0x11e)](),_0x4df19e=this[_0x474f34(0xc7)]();this[_0x474f34(0xe6)](_0x2e3acf,_0x4df19e);const _0x2d47c1=this[_0x474f34(0x103)]?.[_0x474f34(0x148)]||this[_0x474f34(0x11b)],_0x197117=_0x2d47c1?.[_0x474f34(0xf7)];_0x197117?_0x197117[_0x474f34(0x109)](_0x2e3acf):document[_0x474f34(0xc5)][_0x474f34(0x109)](_0x2e3acf),_0x2e3acf[_0x474f34(0x14c)]=_0x24662d;const _0x31e539=this[_0x474f34(0x12a)](_0x197117||null);return _0x2e3acf[_0x474f34(0x108)],_0x2e3acf[_0x474f34(0xf0)]=_0x31e539,_0x2e3acf;}[_0x50d62e(0x13d)](_0x15b105,_0x2556fc){const _0x3cc157=_0x50d62e,_0x2e3ece=_0x15b105[_0x3cc157(0x14c)]||_0x15b105,_0x4ebc1a=[],{rowCount:_0x133fd1}=this[_0x3cc157(0x14d)](_0x2e3ece,_0x2556fc);if(_0x133fd1<=this[_0x3cc157(0xee)][_0x3cc157(0xf6)])return _0x4ebc1a;const _0x53d5b3=_0x2556fc[_0x3cc157(0x135)]();for(;_0x53d5b3[_0x3cc157(0x10d)]>0x0;){if(this[_0x3cc157(0x10c)](_0x15b105,_0x2e3ece,_0x53d5b3)){const _0x46d701=_0x2556fc[_0x3cc157(0xeb)](_0x20f31d=>!_0x53d5b3[_0x3cc157(0x144)](_0x20f31d));_0x4ebc1a[_0x3cc157(0xf4)](..._0x46d701);break;}if(!_0x53d5b3[_0x3cc157(0xfd)]())break;}return _0x4ebc1a;}[_0x50d62e(0x14d)](_0x539c98,_0x4dc432){const _0x4fd894=_0x50d62e;_0x539c98[_0x4fd894(0xfc)]='',_0x4dc432[_0x4fd894(0xe7)](_0x52fb48=>{const _0xccdd6=_0x4fd894;if(_0x52fb48[_0xccdd6(0x148)]){const _0x198858=_0x52fb48[_0xccdd6(0x148)][_0xccdd6(0xef)](!0x0);_0x539c98[_0xccdd6(0x109)](_0x198858);}}),_0x539c98[_0x4fd894(0x108)];const _0x40f56f=_0x539c98[_0x4fd894(0xdf)],_0x4ab18e=[];return Array[_0x4fd894(0x14b)](_0x40f56f)[_0x4fd894(0xe7)](_0x1b095d=>{const _0x283e2b=_0x4fd894,_0x43f99b=_0x1b095d[_0x283e2b(0x114)]()[_0x283e2b(0x136)];_0x4ab18e[_0x283e2b(0x128)](_0x4f630a=>Math[_0x283e2b(0xe2)](_0x4f630a-_0x43f99b)<this[_0x283e2b(0xee)][_0x283e2b(0x118)])||_0x4ab18e[_0x283e2b(0xf4)](_0x43f99b);}),{'rowCount':_0x4ab18e[_0x4fd894(0x10d)]};}[_0x50d62e(0xbd)](){const _0x19d09c=_0x50d62e,_0x56e40d=document[_0x19d09c(0xd4)](_0x19d09c(0xd7));return _0x56e40d[_0x19d09c(0x124)]=this[_0x19d09c(0xee)][_0x19d09c(0xec)][_0x19d09c(0xe5)],this[_0x19d09c(0xee)][_0x19d09c(0xec)][_0x19d09c(0x140)]&&_0x56e40d[_0x19d09c(0x143)][_0x19d09c(0xe1)](this[_0x19d09c(0xee)][_0x19d09c(0xec)][_0x19d09c(0x140)]),_0x56e40d[_0x19d09c(0xf3)]=_0x19d09c(0xe9),_0x56e40d;}[_0x50d62e(0x10c)](_0xf000ad,_0x1b20e8,_0x2f02a6){const _0x3adf93=_0x50d62e;this[_0x3adf93(0x14d)](_0x1b20e8,_0x2f02a6);const _0x550410=this[_0x3adf93(0xbd)]();_0xf000ad[_0x3adf93(0x109)](_0x550410),_0xf000ad[_0x3adf93(0x108)];const _0x2027c1=[..._0x1b20e8[_0x3adf93(0xdf)],_0x550410],_0x2f37e5=[];_0x2027c1[_0x3adf93(0xe7)](_0x54041f=>{const _0x300a1f=_0x3adf93,_0x9ce0a1=_0x54041f[_0x300a1f(0x114)]()[_0x300a1f(0x136)];_0x2f37e5[_0x300a1f(0x128)](_0x481964=>Math[_0x300a1f(0xe2)](_0x481964-_0x9ce0a1)<this[_0x300a1f(0xee)][_0x300a1f(0x118)])||_0x2f37e5[_0x300a1f(0xf4)](_0x9ce0a1);});const _0x1c32a6=_0x2f37e5[_0x3adf93(0x10d)];return _0x550410[_0x3adf93(0xde)](),_0x1c32a6<=this[_0x3adf93(0xee)][_0x3adf93(0xf6)];}[_0x50d62e(0xed)](_0x267048,_0x5588af){const _0x3bdcd4=_0x50d62e;this[_0x3bdcd4(0x14e)][_0x3bdcd4(0xfa)](),this[_0x3bdcd4(0xcf)][_0x3bdcd4(0xfa)](),_0x267048[_0x3bdcd4(0xe7)](_0x5c7c93=>{const _0x355224=_0x3bdcd4;_0x5588af[_0x355224(0x144)](_0x5c7c93)?this[_0x355224(0xcf)][_0x355224(0xe1)](_0x5c7c93):this[_0x355224(0x14e)][_0x355224(0xe1)](_0x5c7c93);});}[_0x50d62e(0x125)](_0x3736de){const _0x30140e=_0x50d62e;if(_0x3736de>0x0&&!this[_0x30140e(0x130)]&&this[_0x30140e(0x13c)](),_0x3736de>0x0&&this[_0x30140e(0x130)]){const _0x4ca68e=''+this[_0x30140e(0xee)][_0x30140e(0xc6)]+(_0x3736de<0x63?_0x3736de:'99');this[_0x30140e(0x130)][_0x30140e(0x134)]=_0x4ca68e;}this[_0x30140e(0xda)](),this[_0x30140e(0xd8)](),this[_0x30140e(0x13f)]();}[_0x50d62e(0x119)](_0x277a64,_0x377559){const _0x1eaa22=_0x50d62e;this[_0x1eaa22(0xed)](_0x277a64,_0x377559),this[_0x1eaa22(0x125)](_0x377559[_0x1eaa22(0x10d)]);}[_0x50d62e(0x126)](){const _0x148e0b=_0x50d62e;this[_0x148e0b(0x11b)]&&_0x148e0b(0x122)!=typeof IntersectionObserver&&(this[_0x148e0b(0x12d)]=new IntersectionObserver(_0x237747=>{const _0x1efa1e=_0x148e0b;_0x237747[0x0][_0x1efa1e(0xc1)]&&this[_0x1efa1e(0x11f)]&&requestAnimationFrame(()=>{const _0x3d3f44=_0x1efa1e;this[_0x3d3f44(0xca)]();});},{'threshold':0.01,'rootMargin':_0x148e0b(0x150)}),this[_0x148e0b(0x12d)][_0x148e0b(0xf5)](this[_0x148e0b(0x11b)]));}[_0x50d62e(0x120)](){const _0x52c706=_0x50d62e;if(!this[_0x52c706(0x11b)])return!0x1;if(!this[_0x52c706(0x11b)][_0x52c706(0xc2)])return!0x1;const _0x47ace3=this[_0x52c706(0x11b)][_0x52c706(0x114)]();if(0x0===_0x47ace3[_0x52c706(0x12f)]||0x0===_0x47ace3[_0x52c706(0x100)])return!0x1;const _0x33f76c=window[_0x52c706(0x104)]||document[_0x52c706(0xc0)][_0x52c706(0x142)],_0x1899e0=window[_0x52c706(0xdc)]||document[_0x52c706(0xc0)][_0x52c706(0x127)],_0xace32=0xc8;return _0x47ace3[_0x52c706(0xf8)]>=-0xc8&&_0x47ace3[_0x52c706(0x136)]<=_0x33f76c+_0xace32&&_0x47ace3[_0x52c706(0xd1)]>=-0xc8&&_0x47ace3[_0x52c706(0xe4)]<=_0x1899e0+_0xace32;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c300c=_0x2f3e;function _0x5573(){const _0x4ddfe0=['document','uiId','execute','_createIconView','extendTemplate','_handleAnimationEndOnce','_setupRemoveButtonEvent','536136TzkQyF','slice','_createLabelElement','_createTemplateChildren','_setupTemplate','_createTemplateAttributes','1133560tVdWpO','span','31149Ftzdqb','length','ck-ai-chat-context-chip_new-chip','label','itemType','remove','removeEventListener','ck-ai-chat-context-chip__label','1478449blXOxS','disableAnimationOnEnter','isVisible','46414IThZvb','add','_createLoaderIcon','fire','ck-ai-chat-context-controls__chip-tooltip','1107392FYSzRP','lastIndexOf','selection','readonly','ck-ai-chat-context-chip__type-icon','setTemplate','render','tooltip','10IIacDT','_initializeProperties','bind','removeContextItemChip','animationend','ck-ai-chat-context-chip_wide','_isAnimationOnEnterEnabled','type','ck-ai-chat-context-chip_document','_createRemoveButton','bindTemplate','small','div','482076aSuLhn','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','element','isLoading','content','set','webkitAnimationEnd','ck-hidden','ck-ai-chat-context-chip','6ITAKdC','classList','locale','addEventListener'];_0x5573=function(){return _0x4ddfe0;};return _0x5573();}(function(_0x216193,_0x45f5a0){const _0x3aea34=_0x2f3e,_0x3d6351=_0x216193();while(!![]){try{const _0x4a4bae=parseInt(_0x3aea34(0x13d))/0x1+parseInt(_0x3aea34(0x109))/0x2*(parseInt(_0x3aea34(0x132))/0x3)+-parseInt(_0x3aea34(0x12a))/0x4+-parseInt(_0x3aea34(0x130))/0x5+-parseInt(_0x3aea34(0x11f))/0x6*(-parseInt(_0x3aea34(0x13a))/0x7)+parseInt(_0x3aea34(0x142))/0x8+parseInt(_0x3aea34(0x116))/0x9;if(_0x4a4bae===_0x45f5a0)break;else _0x3d6351['push'](_0x3d6351['shift']());}catch(_0x415cf2){_0x3d6351['push'](_0x3d6351['shift']());}}}(_0x5573,0x225ea));function _0x2f3e(_0x3b8a89,_0x152f79){const _0x5573a6=_0x5573();return _0x2f3e=function(_0x2f3e26,_0x42c47f){_0x2f3e26=_0x2f3e26-0x105;let _0x41873f=_0x5573a6[_0x2f3e26];return _0x41873f;},_0x2f3e(_0x3b8a89,_0x152f79);}import{ButtonView as _0x8e98cf,IconView as _0x3380c9}from'ckeditor5/src/ui.js';import{IconClose as _0x282039,IconDocument as _0x2cb3da,IconFileUpload as _0x4d69b4,IconLink as _0x61cb58,IconSelection as _0x2a46a0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3366de}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0xa279bc}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x4d69b4,'document':_0x2cb3da,'web-resource':_0x61cb58,'text':_0x4d69b4,'selection':_0x2a46a0,'mcp-tool-context':_0x2cb3da},bn=_0x4c300c(0x11e),wn=_0x4c300c(0x10e),Tn=_0x4c300c(0x111),En=_0x4c300c(0x139),fn=_0x4c300c(0x105),An=_0x4c300c(0x141),Cn='n';export class AIChatContextItemButtonView extends _0x8e98cf{constructor(_0x142818,_0xebdc8d,_0x12b1be,_0x2efff2,_0x465b80=!0x1){const _0x5be6ab=_0x4c300c;super(_0x142818),this[_0x5be6ab(0x10f)]=_0x2efff2,this[_0x5be6ab(0x10a)](_0xebdc8d,_0x12b1be,_0x465b80),this[_0x5be6ab(0x12e)]();}[_0x4c300c(0x107)](){const _0x2ba25d=_0x4c300c;super[_0x2ba25d(0x107)](),this[_0x2ba25d(0x10f)]&&this[_0x2ba25d(0x118)]&&(this[_0x2ba25d(0x118)][_0x2ba25d(0x120)][_0x2ba25d(0x13e)](_0x2ba25d(0x134)),this[_0x2ba25d(0x128)](this[_0x2ba25d(0x118)],()=>{const _0x519408=_0x2ba25d;this[_0x519408(0x118)]&&this[_0x519408(0x118)][_0x519408(0x120)][_0x519408(0x137)](_0x519408(0x134));}));}[_0x4c300c(0x13b)](){const _0x3e3468=_0x4c300c;this[_0x3e3468(0x10f)]=!0x1,this[_0x3e3468(0x118)]&&this[_0x3e3468(0x118)][_0x3e3468(0x120)][_0x3e3468(0x137)](_0x3e3468(0x134));}[_0x4c300c(0x10a)](_0x1baa9b,_0x4de47d,_0x534ef7){const _0x572966=_0x4c300c;this[_0x572966(0x11b)](_0x572966(0x135),_0x1baa9b[_0x572966(0x135)]),this[_0x572966(0x11b)](_0x572966(0x108),!0x0),this[_0x572966(0x11b)](_0x572966(0x136),_0x1baa9b[_0x572966(0x110)]),this[_0x572966(0x11b)]('id',_0x1baa9b[_0x572966(0x124)]),this[_0x572966(0x11b)](_0x572966(0x145),_0x4de47d),this[_0x572966(0x11b)](_0x572966(0x119),_0x534ef7);}[_0x4c300c(0x12e)](){const _0x29e2b6=_0x4c300c,_0x409177=this[_0x29e2b6(0x126)](),_0x392153=this[_0x29e2b6(0x112)](),_0x8ce064=this[_0x29e2b6(0x113)];this[_0x29e2b6(0x106)]({'tag':_0x29e2b6(0x115),'attributes':this[_0x29e2b6(0x12f)](_0x8ce064),'children':this[_0x29e2b6(0x12d)](_0x409177,_0x392153,_0x8ce064)});}[_0x4c300c(0x12f)](_0xd793e9){const _0x6e031c=_0x4c300c;return{'class':[bn,_0xd793e9['if'](_0x6e031c(0x136),Tn,_0x5041d5=>_0x6e031c(0x123)==_0x5041d5),_0xd793e9['if'](_0x6e031c(0x136),wn,_0x4275ca=>_0x6e031c(0x144)==_0x4275ca)],'data-cke-tooltip-text':_0xd793e9['to'](_0x6e031c(0x135),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x4c300c(0x12d)](_0x25d4cb,_0x4cbb95,_0x343636){const _0x1b410c=_0x4c300c,_0x2c0440=this[_0x1b410c(0x12c)](_0x343636),_0x5d563a=this[_0x1b410c(0x13f)]();return this[_0x1b410c(0x145)]?[_0x25d4cb,_0x2c0440]:[_0x25d4cb,_0x5d563a,_0x2c0440,_0x4cbb95];}[_0x4c300c(0x12c)](_0x5b74ca){const _0x2c9947=_0x4c300c;return{'tag':_0x2c9947(0x131),'attributes':{'class':En},'children':[{'text':_0x5b74ca['to'](_0x2c9947(0x135))}]};}[_0x4c300c(0x112)](){const _0x21eb6a=_0x4c300c,_0x4af365=new _0x8e98cf(this[_0x21eb6a(0x121)]);return _0x4af365[_0x21eb6a(0x11b)]({'label':_0x3366de(this[_0x21eb6a(0x121)],_0x21eb6a(0x117)),'icon':_0x282039}),this[_0x21eb6a(0x129)](_0x4af365),_0x4af365;}[_0x4c300c(0x129)](_0x5ddbc7){const _0x4b3d5d=_0x4c300c;_0x5ddbc7['on'](_0x4b3d5d(0x125),()=>{const _0xa426cf=_0x4b3d5d;this[_0xa426cf(0x140)](_0xa426cf(0x10c),this['id']);});}[_0x4c300c(0x126)](){const _0x3ce7b5=_0x4c300c,_0x558673=this[_0x3ce7b5(0x113)],_0x3b43f8=new _0x3380c9();return _0x3b43f8[_0x3ce7b5(0x11a)]=xn[this[_0x3ce7b5(0x136)]],_0x3b43f8[_0x3ce7b5(0x127)]({'attributes':{'class':[fn,_0x558673['if'](_0x3ce7b5(0x119),_0x3ce7b5(0x11d),_0x1e147c=>_0x1e147c)]}}),_0x3b43f8;}[_0x4c300c(0x128)](_0x4cbba5,_0x54b6c9){const _0x162217=_0x4c300c;if(!_0x4cbba5)return;const _0x3afe0f=()=>{const _0x31c7a9=_0x2f3e;_0x54b6c9(),_0x4cbba5[_0x31c7a9(0x138)](_0x31c7a9(0x10d),_0x3afe0f),_0x4cbba5[_0x31c7a9(0x138)](_0x31c7a9(0x11c),_0x3afe0f);};_0x4cbba5[_0x162217(0x122)](_0x162217(0x10d),_0x3afe0f),_0x4cbba5[_0x162217(0x122)](_0x162217(0x11c),_0x3afe0f);}[_0x4c300c(0x13f)](){const _0x593da4=_0x4c300c,_0x2eae28=new _0xa279bc(_0x593da4(0x114));return _0x2eae28[_0x593da4(0x10b)](_0x593da4(0x13c))['to'](this,_0x593da4(0x119),_0x286eb3=>_0x286eb3),_0x2eae28;}}function In(_0x184608){const _0x5d7bc5=_0x4c300c;if(!_0x184608)return _0x184608;if(_0x184608[_0x5d7bc5(0x133)]<=0x78)return _0x184608;const _0x4abe3c=_0x184608[_0x5d7bc5(0x12b)](0x0,0x78),_0xc8eb79=_0x4abe3c[_0x5d7bc5(0x143)]('\x20');return(_0xc8eb79>0x0?_0x4abe3c[_0x5d7bc5(0x12b)](0x0,_0xc8eb79):_0x4abe3c)+'…';}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4a09(_0x28a680,_0x34a585){const _0x368620=_0x3686();return _0x4a09=function(_0x4a09b8,_0x148c19){_0x4a09b8=_0x4a09b8-0xa6;let _0x5e409d=_0x368620[_0x4a09b8];return _0x5e409d;},_0x4a09(_0x28a680,_0x34a585);}const _0x9bf0c0=_0x4a09;function _0x3686(){const _0x4effa2=['ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','ck-labeled-field-view_empty','focus','setTemplate','clear','locale','isEnabled','children','add','400OQDOzL','focusTracker','_setupTemplate','destroy','render','form','errorText','AI_CHAT_CONTEXT_URL_PLACEHOLDER','value','AI_CHAT_CONTEXT_URL_ADD_URL','AI_CHAT_CONTEXT_URL_INVALID_ERROR','1554889cZxINK','2081756MqOFrh','40eypoyQ','ck-ai-chat-context-controls__url-form','stop','_createUrlInputField','createCollection','element','_handleSubmit','div','withBackButton','1542138DFpExM','submit','fieldView','_setupEventHandlers','_createConfirmButton','set','clearError','execute','1013247TiVsyt','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','fire','\x20ck-hidden','change:withBackButton','cancel','keystrokes','_createBackButton','setError','319045DcbKKp','forEach','6ruwuiU','ck-button-icon','focusCycler','esc','getValue','tab','_isValidUrl','urlInputField','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','refreshBalloon','_updateConfirmButtonState','input','listenTo','_setupKeystrokes','_focusables','backButton','shift+tab','AI_CHAT_CONTEXT_URL_LABEL','confirmButton','submitUrl','ck-button-icon\x20ck-button-back','2214228kKBPqD','4528845fogOQk','trim','ck-ai-chat-context-controls__url-input-section','length'];_0x3686=function(){return _0x4effa2;};return _0x3686();}(function(_0x507ca2,_0x20bd55){const _0x4da3d5=_0x4a09,_0x2e1ebc=_0x507ca2();while(!![]){try{const _0x3601f2=-parseInt(_0x4da3d5(0xb0))/0x1+parseInt(_0x4da3d5(0xd8))/0x2+-parseInt(_0x4da3d5(0xd9))/0x3+-parseInt(_0x4da3d5(0xa6))/0x4+-parseInt(_0x4da3d5(0xc1))/0x5*(-parseInt(_0x4da3d5(0xc3))/0x6)+-parseInt(_0x4da3d5(0xf1))/0x7*(parseInt(_0x4da3d5(0xa7))/0x8)+parseInt(_0x4da3d5(0xb8))/0x9*(parseInt(_0x4da3d5(0xe6))/0xa);if(_0x3601f2===_0x20bd55)break;else _0x2e1ebc['push'](_0x2e1ebc['shift']());}catch(_0x2b87c6){_0x2e1ebc['push'](_0x2e1ebc['shift']());}}}(_0x3686,0xf20b8));import{FocusTracker as _0x1a10cd,KeystrokeHandler as _0x3798ac}from'ckeditor5/src/utils.js';import{ButtonView as _0x5cb00b,FocusCycler as _0x1a22db,LabeledFieldView as _0x90e86d,View as _0x3683f9,FormHeaderView as _0xf7367b,createLabeledInputText as _0x28ae05,submitHandler as _0x23f6a0}from'ckeditor5/src/ui.js';import{IconCheck as _0x38b0bd,IconPreviousArrow as _0x49e646}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x226369}from'../../../aicore/utils/common-translations.js';const rh=_0x9bf0c0(0xa8),nh=_0x9bf0c0(0xdb);export class AIChatContextPanelUrlInputView extends _0x3683f9{[_0x9bf0c0(0xe7)];[_0x9bf0c0(0xbe)];[_0x9bf0c0(0xd1)];[_0x9bf0c0(0xc5)];[_0x9bf0c0(0xca)];[_0x9bf0c0(0xd2)];[_0x9bf0c0(0xd5)];constructor(_0x41d680){const _0x223fb3=_0x9bf0c0;super(_0x41d680),this[_0x223fb3(0xe7)]=new _0x1a10cd(),this[_0x223fb3(0xbe)]=new _0x3798ac(),this[_0x223fb3(0xd2)]=this[_0x223fb3(0xbf)](),this[_0x223fb3(0xca)]=this[_0x223fb3(0xaa)](),this[_0x223fb3(0xd5)]=this[_0x223fb3(0xb4)](),this[_0x223fb3(0xd1)]=this[_0x223fb3(0xab)]([this[_0x223fb3(0xd2)],this[_0x223fb3(0xca)],this[_0x223fb3(0xd5)]]),this[_0x223fb3(0xc5)]=new _0x1a22db({'focusables':this[_0x223fb3(0xd1)],'focusTracker':this[_0x223fb3(0xe7)],'keystrokeHandler':this[_0x223fb3(0xbe)],'actions':{'focusPrevious':_0x223fb3(0xd3),'focusNext':_0x223fb3(0xc8)}}),this[_0x223fb3(0xb5)](_0x223fb3(0xaf),!0x0),this[_0x223fb3(0xe8)](),this[_0x223fb3(0xb3)](),this[_0x223fb3(0xd0)]();}[_0x9bf0c0(0xea)](){const _0x1cb85e=_0x9bf0c0;super[_0x1cb85e(0xea)](),this[_0x1cb85e(0xd1)][_0x1cb85e(0xc2)](_0x2b2fbb=>{const _0x2c68ab=_0x1cb85e;this[_0x2c68ab(0xe7)][_0x2c68ab(0xe5)](_0x2b2fbb[_0x2c68ab(0xac)]),this[_0x2c68ab(0xbe)][_0x2c68ab(0xcf)](_0x2b2fbb[_0x2c68ab(0xac)]);}),_0x23f6a0({'view':this}),this[_0x1cb85e(0xdf)]();}[_0x9bf0c0(0xe9)](){const _0x42b7d0=_0x9bf0c0;super[_0x42b7d0(0xe9)](),this[_0x42b7d0(0xe7)][_0x42b7d0(0xe9)](),this[_0x42b7d0(0xbe)][_0x42b7d0(0xe9)]();}[_0x9bf0c0(0xdf)](){const _0xf02013=_0x9bf0c0;this[_0xf02013(0xca)][_0xf02013(0xdf)]();}[_0x9bf0c0(0xc7)](){const _0x4a908c=_0x9bf0c0;return this[_0x4a908c(0xca)][_0x4a908c(0xb2)][_0x4a908c(0xac)]?.[_0x4a908c(0xee)]?.[_0x4a908c(0xda)]()||'';}[_0x9bf0c0(0xe1)](){const _0x5481e1=_0x9bf0c0;this[_0x5481e1(0xca)][_0x5481e1(0xb2)][_0x5481e1(0xac)][_0x5481e1(0xee)]='',this[_0x5481e1(0xca)][_0x5481e1(0xec)]=null,this[_0x5481e1(0xd5)][_0x5481e1(0xe3)]=!0x1;}[_0x9bf0c0(0xc0)](_0x3278f2){const _0x6d3535=_0x9bf0c0;this[_0x6d3535(0xca)][_0x6d3535(0xec)]=_0x3278f2,this[_0x6d3535(0xcd)](),this[_0x6d3535(0xba)](_0x6d3535(0xcc));}[_0x9bf0c0(0xb6)](){const _0x281e0f=_0x9bf0c0;this[_0x281e0f(0xca)][_0x281e0f(0xec)]=null,this[_0x281e0f(0xcd)]();}[_0x9bf0c0(0xbf)](){const _0x3ce733=_0x9bf0c0,_0x8c7a1d=new _0x5cb00b(this[_0x3ce733(0xe2)]);return _0x8c7a1d[_0x3ce733(0xb5)]({'icon':_0x49e646,'tooltip':_0x226369(this[_0x3ce733(0xe2)],_0x3ce733(0xcb)),'tooltipPosition':'n','class':[_0x3ce733(0xd7)]}),this['on'](_0x3ce733(0xbc),(_0x21295c,_0x37b813,_0x310493)=>{const _0x2e1571=_0x3ce733;_0x8c7a1d[_0x2e1571(0xb5)]({'class':[_0x2e1571(0xd7)+(_0x310493?'':_0x2e1571(0xbb))]});}),_0x8c7a1d;}[_0x9bf0c0(0xaa)](){const _0x1369ab=_0x9bf0c0,_0xfd6989=new _0x90e86d(this[_0x1369ab(0xe2)],_0x28ae05);return _0xfd6989[_0x1369ab(0xb5)]({'label':_0x226369(this[_0x1369ab(0xe2)],_0x1369ab(0xd4)),'class':_0x1369ab(0xde)}),_0xfd6989[_0x1369ab(0xb2)][_0x1369ab(0xb5)]({'placeholder':_0x226369(this[_0x1369ab(0xe2)],_0x1369ab(0xed))}),_0xfd6989;}[_0x9bf0c0(0xb4)](){const _0x374227=_0x9bf0c0,_0xf73498=new _0x5cb00b(this[_0x374227(0xe2)]);return _0xf73498[_0x374227(0xb5)]({'icon':_0x38b0bd,'tooltip':_0x226369(this[_0x374227(0xe2)],_0x374227(0xef)),'tooltipPosition':'n','class':_0x374227(0xc4),'type':_0x374227(0xb1),'isEnabled':!0x1}),_0xf73498;}[_0x9bf0c0(0xe8)](){const _0x28c38f=_0x9bf0c0,_0xf056f7=new _0xf7367b(this[_0x28c38f(0xe2)],{'label':_0x226369(this[_0x28c38f(0xe2)],_0x28c38f(0xef)),'class':_0x28c38f(0xdd)});_0xf056f7[_0x28c38f(0xe4)][_0x28c38f(0xe5)](this[_0x28c38f(0xd2)],0x0),this[_0x28c38f(0xe0)]({'tag':_0x28c38f(0xeb),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0xf056f7,{'tag':_0x28c38f(0xae),'attributes':{'class':nh},'children':[this[_0x28c38f(0xca)],this[_0x28c38f(0xd5)]]}]});}[_0x9bf0c0(0xb3)](){const _0xc6ba10=_0x9bf0c0;this[_0xc6ba10(0xd2)]['on'](_0xc6ba10(0xb7),()=>{const _0x2dd446=_0xc6ba10;this[_0x2dd446(0xe1)](),this[_0x2dd446(0xba)](_0x2dd446(0xbd));}),this[_0xc6ba10(0xca)][_0xc6ba10(0xb2)]['on'](_0xc6ba10(0xce),()=>{const _0x9e5230=_0xc6ba10;this[_0x9e5230(0xb6)](),this[_0x9e5230(0xcd)](),this[_0x9e5230(0xba)](_0x9e5230(0xcc));}),this['on'](_0xc6ba10(0xb1),_0x1450c2=>{const _0x5598f1=_0xc6ba10;_0x1450c2[_0x5598f1(0xa9)](),this[_0x5598f1(0xad)]();});}[_0x9bf0c0(0xd0)](){const _0x1febb3=_0x9bf0c0;this[_0x1febb3(0xbe)][_0x1febb3(0xb5)](_0x1febb3(0xc6),(_0x52d449,_0xc46f74)=>{const _0x49707f=_0x1febb3;this[_0x49707f(0xe1)](),this[_0x49707f(0xba)](_0x49707f(0xbd)),_0xc46f74();});}[_0x9bf0c0(0xad)](){const _0x58ce7c=_0x9bf0c0,_0x5d9c8c=this[_0x58ce7c(0xc7)]()[_0x58ce7c(0xda)]();_0x5d9c8c?this[_0x58ce7c(0xc9)](_0x5d9c8c)?(this[_0x58ce7c(0xb6)](),this[_0x58ce7c(0xba)](_0x58ce7c(0xd6),_0x5d9c8c)):this[_0x58ce7c(0xc0)](_0x226369(this[_0x58ce7c(0xe2)],_0x58ce7c(0xf0))):this[_0x58ce7c(0xc0)](_0x226369(this[_0x58ce7c(0xe2)],_0x58ce7c(0xb9)));}[_0x9bf0c0(0xcd)](){const _0x39948b=_0x9bf0c0,_0x1aaa1d=this[_0x39948b(0xc7)]()[_0x39948b(0xda)](),_0x260e3e=!!this[_0x39948b(0xca)][_0x39948b(0xec)];this[_0x39948b(0xd5)][_0x39948b(0xe3)]=_0x1aaa1d[_0x39948b(0xdc)]>0x0&&!_0x260e3e;}[_0x9bf0c0(0xc9)](_0x50a4c0){try{return!!new URL(_0x50a4c0);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a53f2=_0x26cd;(function(_0x5b8776,_0x1dde60){const _0x3aad01=_0x26cd,_0x52fb46=_0x5b8776();while(!![]){try{const _0x35d1de=-parseInt(_0x3aad01(0x8d))/0x1+parseInt(_0x3aad01(0xec))/0x2*(-parseInt(_0x3aad01(0x8b))/0x3)+parseInt(_0x3aad01(0xc4))/0x4*(-parseInt(_0x3aad01(0xb6))/0x5)+-parseInt(_0x3aad01(0xa8))/0x6*(-parseInt(_0x3aad01(0xde))/0x7)+-parseInt(_0x3aad01(0xce))/0x8*(parseInt(_0x3aad01(0xee))/0x9)+parseInt(_0x3aad01(0xdf))/0xa*(parseInt(_0x3aad01(0xc7))/0xb)+parseInt(_0x3aad01(0x10b))/0xc;if(_0x35d1de===_0x1dde60)break;else _0x52fb46['push'](_0x52fb46['shift']());}catch(_0x28faf2){_0x52fb46['push'](_0x52fb46['shift']());}}}(_0x42fa,0x374da));import{BalloonPanelView as _0x4974b3,ButtonView as _0x43d939,clickOutsideHandler as _0x4bec7d,FileDialogButtonView as _0x15a650,IconView as _0x45322d,View as _0x4ea4e1}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x225f92,IconDocument as _0x4b3a68,IconDocumentOutline as _0x5a3268,IconDropdownArrow as _0x2b8dfe,IconLink as _0x1de5db,IconPaperClip as _0x2e1d95}from'@ckeditor/ckeditor5-icons';function _0x26cd(_0x5ae217,_0x25bdca){const _0x42faab=_0x42fa();return _0x26cd=function(_0x26cdf3,_0x45ac89){_0x26cdf3=_0x26cdf3-0x7c;let _0x2d26ef=_0x42faab[_0x26cdf3];return _0x2d26ef;},_0x26cd(_0x5ae217,_0x25bdca);}import{AIChatContextItemButtonView as _0x3c174c}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x5f2e57}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x5689dc}from'./aichatchipsoverflowmanager.js';function _0x42fa(){const _0x343750=['executeCustomItemCallback','hideUrlBalloonPanel','add','submitUrl','_setAddContextButtonEnabled','setContainerElement','2368261uomZoo','883010YWjbRt','children','AI_CHAT_CONTEXT_FILE_LABEL','files','isEnabled','setTemplate','addDocumentToContext','closest','menuitem','_createBalloonButton','northArrowSouthEast','ck-ai-chat-context-controls__pending-contexts','_createContextButton','664264JLyMUq','extendTemplate','972LDigeF','setAddContextOptions','ck-ai-chat-context-controls__add-context-button','locale','_handleUrlSubmit','get','removeContextItemChip','sources','_addContextBalloonConfig','isHidden','balloonView','render','ck-ai-chat-controls-button','showSourceResourcesBalloon','ck-ai-chat-context-chips-wrapper-balloon','isOn','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','__arrow','northArrowSouth','content','isLoading','AI_CHAT_CONTEXT_URL_LABEL','overflowChips','_showSourceResourcesBalloon','hideAddContextBalloonPanel','focus','_createResourcesBalloonView','pin','setContextItemLoading','11064648oURMjA','clear','showAddContextBalloonPanel','clearConversationContextItems','tooltip','closeSourceResourceBalloon','searchInputVisibleFrom','set','_conversationContextsChips','ck-ai-chat-context-controls__url-balloon-panel','document','source','element','bind','div','populateSourceResourceBalloon','addUrlToContext','fire','ck-ai-chat-controls_context_show-more-button','updateResourceState','_createArrowView','ck-ai-chat-context-controls__balloon-button','southArrowNorthWest','icon','addContextButtonView','3JaIGGW','_setupTemplate','444125cOUOia','execute','ck-ai-chat-context-controls__show-more-balloon-panel','northArrowSouthWest','_removeContextFromCollection','urls','remove','loadSourceResources','southArrowNorthEast','ck-ai-chat-context-controls__add-context-balloon-panel','_handleAddContextButtonClick','_toggleAddContextBalloon','ck-ai-chat','reorganizeChips','_resourcesBalloonView','addContextItem','removeContextItem','setConversationContext','_createAddContextBalloonPanelView','enabled','_addContextBalloonPanelView','cancel','_bindEventHandlers','destroy','ck-reset_all-excluded','_setBalloonPanelContent','isVisible','6cFoJJh','_addContextToCollection','hide','_urlInputView','withBackButton','body','show','_setupAddContextBalloonClickOutsideHandler','done','AI_CHAT_CONTEXT_ADD_CONTEXT','find','type','_currentContextsChips','clearCurrentContextItems','234805sFkBUp','addResourceToContext','arrowView','current','_setupUrlBalloonClickOutsideHandler','_addUrlContent','_createAddContextButtonView','label','addFileToContext','bodyCollection','isReadOnly','createCollection','ck-ai-chat-context-controls','_setupAllBalloonClickOutsideHandlers','28Igxctv','length','isAnyResourceBalloonVisible','11SGxBiB','_createBaseBalloonPanel','defaultPositions','_getLimiterElement','southArrowNorth','_overflowManager','_urlBalloonPanelView','1272CPIgkr','ck-ai-chat-context-controls__balloon-button-source','_createUrlBalloonPanelView','customItem','conversation','refreshBalloon','showUrlBalloonPanel','buttonView','_hasExactlyOneSource','customItems'];_0x42fa=function(){return _0x343750;};return _0x42fa();}import{getTranslation as _0x4993f7}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x4e951a}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x2a53f2(0xe5),_0x2a53f2(0xbe),_0x2a53f2(0x82),_0x2a53f2(0xb7),_0x2a53f2(0x9d),_0x2a53f2(0x94),_0x2a53f2(0xd8)];const Uo=_0x2a53f2(0xc2),Lo=_0x2a53f2(0xea),No=_0x2a53f2(0x96),Mo=_0x2a53f2(0xf0),Ho=_0x2a53f2(0x114),jo=_0x2a53f2(0x87),Fo=_0x2a53f2(0xcf),Xo=_0x2a53f2(0xfa),Do=_0x2a53f2(0xfc),$o=_0x2a53f2(0x84),Wo=_0x2a53f2(0x8f),qo=_0x2a53f2(0x99),zo=[_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0x90)],_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0x100)],_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0xe9)],_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0x88)],_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0xcb)],_0x4974b3[_0x2a53f2(0xc9)][_0x2a53f2(0x95)]];export class AIChatContextPanelView extends _0x4ea4e1{[_0x2a53f2(0x8a)];[_0x2a53f2(0xb4)]=this[_0x2a53f2(0xc1)]();[_0x2a53f2(0x113)]=this[_0x2a53f2(0xc1)]();[_0x2a53f2(0xcc)];[_0x2a53f2(0xa1)];[_0x2a53f2(0xcd)];[_0x2a53f2(0xab)];[_0x2a53f2(0x9b)];[_0x2a53f2(0xf6)];[_0x2a53f2(0xd6)]=!0x1;[_0x2a53f2(0xbf)];constructor(_0x8b5100,_0x4580af){const _0x524228=_0x2a53f2;super(_0x8b5100),this[_0x524228(0xbf)]=_0x4580af[_0x524228(0xbf)],this[_0x524228(0xb4)]=this[_0x524228(0xc1)](),this[_0x524228(0x113)]=this[_0x524228(0xc1)](),this[_0x524228(0x8a)]=this[_0x524228(0xbc)](_0x8b5100),this[_0x524228(0xa1)]=this[_0x524228(0x9f)](_0x8b5100),this[_0x524228(0xcd)]=this[_0x524228(0xd0)](_0x8b5100),this[_0x524228(0x9b)]=this[_0x524228(0x108)](_0x8b5100,_0x4580af);const _0x5a05df={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x524228(0xcc)]=new _0x5689dc(_0x8b5100,this[_0x524228(0xb4)],_0x5a05df,this[_0x524228(0xbf)],this),this[_0x524228(0xf6)]={'buttonView':this[_0x524228(0x8a)],'balloonView':this[_0x524228(0xa1)],'hideMethod':this[_0x524228(0x106)][_0x524228(0x7f)](this),'showMethod':this[_0x524228(0x10d)][_0x524228(0x7f)](this)},this[_0x524228(0x8c)](),this[_0x524228(0xa3)]();}[_0x2a53f2(0xf9)](){const _0x4a7820=_0x2a53f2;super[_0x4a7820(0xf9)](),this[_0x4a7820(0xc3)](),this[_0x4a7820(0xcc)][_0x4a7820(0xdd)](this[_0x4a7820(0x7e)]),this[_0x4a7820(0xcc)][_0x4a7820(0x9a)]();}[_0x2a53f2(0xa4)](){const _0x510c1e=_0x2a53f2;super[_0x510c1e(0xa4)](),this[_0x510c1e(0xcc)][_0x510c1e(0xa4)](),this[_0x510c1e(0x9b)][_0x510c1e(0xa4)]();}[_0x2a53f2(0x9c)](_0xe86ffa,_0x5c11c3){const _0x59c923=_0x2a53f2,_0xa5d30c=this[_0x59c923(0xeb)](_0xe86ffa,_0x59c923(0xb9),!0x0,_0x5c11c3);this[_0x59c923(0xa9)](_0xa5d30c,this[_0x59c923(0xb4)]),this[_0x59c923(0xcc)][_0x59c923(0x9a)]();}[_0x2a53f2(0x9d)](_0x3036f6){const _0x25ec82=_0x2a53f2;this[_0x25ec82(0x91)](_0x3036f6,this[_0x25ec82(0xb4)]),this[_0x25ec82(0x91)](_0x3036f6,this[_0x25ec82(0xcc)][_0x25ec82(0x104)]),this[_0x25ec82(0xcc)][_0x25ec82(0x9a)]();}[_0x2a53f2(0x10a)](_0x3b55c6,_0x2c6fd9){const _0x27ab24=_0x2a53f2;let _0x3f606c=this[_0x27ab24(0xb4)][_0x27ab24(0xb2)](_0x5ef77a=>_0x5ef77a['id']===_0x3b55c6);_0x3f606c||(_0x3f606c=this[_0x27ab24(0xcc)][_0x27ab24(0x104)][_0x27ab24(0xb2)](_0x572258=>_0x572258['id']===_0x3b55c6)),_0x3f606c&&(_0x3f606c[_0x27ab24(0x102)]=_0x2c6fd9);}[_0x2a53f2(0x9e)](_0x54d55e){const _0x2c37d9=_0x2a53f2;this[_0x2c37d9(0x113)][_0x2c37d9(0x10c)]();for(const _0x223565 of _0x54d55e){const _0x2c1d03=this[_0x2c37d9(0xeb)](_0x223565,_0x2c37d9(0xd2),!0x1,!0x1);this[_0x2c37d9(0xa9)](_0x2c1d03,this[_0x2c37d9(0x113)]);}}[_0x2a53f2(0xb5)](){const _0x5a295c=_0x2a53f2;this[_0x5a295c(0xb4)][_0x5a295c(0x10c)](),this[_0x5a295c(0xcc)][_0x5a295c(0x10c)]();}[_0x2a53f2(0x10e)](){const _0x2c13d9=_0x2a53f2;this[_0x2c13d9(0x113)][_0x2c13d9(0x10c)]();}[_0x2a53f2(0x85)](_0x1c6ced,_0x247f3b,_0x148f5a){const _0x26f400=_0x2a53f2;this[_0x26f400(0x9b)][_0x26f400(0x85)](_0x1c6ced,_0x247f3b,_0x148f5a);}[_0x2a53f2(0x106)](){const _0x143e36=_0x2a53f2;this[_0x143e36(0x98)](!0x1);}[_0x2a53f2(0x10d)](){const _0x44055c=_0x2a53f2;this[_0x44055c(0x98)](!0x0);}[_0x2a53f2(0xd9)](){const _0x448276=_0x2a53f2;this[_0x448276(0xcd)][_0x448276(0xaa)](),this[_0x448276(0x8a)][_0x448276(0xfd)]=!0x1,this[_0x448276(0xab)]&&this[_0x448276(0xab)][_0x448276(0x10c)]();}[_0x2a53f2(0xd4)](){const _0x1fbe06=_0x2a53f2;this[_0x1fbe06(0xcd)][_0x1fbe06(0xae)](),this[_0x1fbe06(0x8a)][_0x1fbe06(0xfd)]=!0x0;}[_0x2a53f2(0x105)]({source:_0x3dfc4f,withBackButton:_0x28c1bf}){const _0x493775=_0x2a53f2;this[_0x493775(0x9b)][_0x493775(0xfb)]({'source':_0x3dfc4f,'withBackButton':_0x28c1bf}),this[_0x493775(0x8a)][_0x493775(0xfd)]=!0x0;}[_0x2a53f2(0x81)](_0xd26906,_0xac03a2,_0x3c71cc,_0x2f38ff){const _0x59f660=_0x2a53f2;this[_0x59f660(0x9b)][_0x59f660(0x81)](_0xd26906,_0x3c71cc,_0x2f38ff);}[_0x2a53f2(0x110)](_0x45545c){const _0x58d2a8=_0x2a53f2;this[_0x58d2a8(0x9b)][_0x58d2a8(0x110)](_0x45545c),this[_0x58d2a8(0x8a)][_0x58d2a8(0xfd)]=!0x1;}[_0x2a53f2(0xef)](_0x5117fa){const _0x69a6e3=_0x2a53f2;this[_0x69a6e3(0xa6)](this[_0x69a6e3(0xa1)],this[_0x69a6e3(0xf1)],_0x5117fa),this[_0x69a6e3(0xdc)](_0x5117fa);}[_0x2a53f2(0xdc)](_0x7b5c1f){const _0x396605=_0x2a53f2,_0x2b9c0c=!_0x7b5c1f[_0x396605(0x7c)][_0x396605(0xf7)]&&_0x7b5c1f[_0x396605(0x7c)][_0x396605(0xa0)],_0x43e97a=_0x7b5c1f[_0x396605(0x92)][_0x396605(0xa0)],_0x57dbd9=_0x7b5c1f[_0x396605(0xe2)][_0x396605(0xa0)],_0x199c77=_0x7b5c1f[_0x396605(0xf5)][_0x396605(0xc5)]>0x0,_0x2dd9ae=_0x7b5c1f[_0x396605(0xd7)]&&_0x7b5c1f[_0x396605(0xd7)][_0x396605(0xc5)]>0x0;this[_0x396605(0x8a)][_0x396605(0xe3)]=_0x2b9c0c||_0x43e97a||_0x57dbd9||_0x199c77||_0x2dd9ae;}[_0x2a53f2(0x8c)](){const _0x28ee35=_0x2a53f2;this[_0x28ee35(0xe4)]({'tag':_0x28ee35(0x80),'attributes':{'class':[Uo,_0x28ee35(0xa5)]},'children':[{'tag':_0x28ee35(0x80),'attributes':{'class':Lo},'children':this[_0x28ee35(0xb4)]}]});}[_0x2a53f2(0xa3)](){const _0x58ea28=_0x2a53f2;this[_0x58ea28(0x8a)]['on'](_0x58ea28(0x8e),()=>{const _0x2970c6=_0x58ea28;this[_0x2970c6(0x97)]();});}[_0x2a53f2(0xbc)](_0x297fd6){const _0xcaf9c=_0x2a53f2,_0x12440b=new _0x43d939(_0x297fd6);return _0x12440b[_0xcaf9c(0x112)]({'label':_0x4993f7(_0x297fd6,_0xcaf9c(0xb1)),'class':Xo+'\x20'+Mo,'icon':_0x2e1d95,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x12440b;}[_0x2a53f2(0x9f)](_0x2dc9d2){const _0x67c58c=_0x2a53f2;return this[_0x67c58c(0xc8)](_0x2dc9d2,No);}[_0x2a53f2(0xd0)](_0x315ba3){const _0x2684f8=_0x2a53f2,_0x35bf48=this[_0x2684f8(0xc8)](_0x315ba3,Ho);return this[_0x2684f8(0xbb)](_0x35bf48,_0x315ba3),_0x35bf48;}[_0x2a53f2(0x108)](_0x4c4d18,_0x37d8f0){const _0x449997=_0x2a53f2,_0x24a9ed={'searchInputVisibleFrom':_0x37d8f0[_0x449997(0x111)],'onBackToContext':()=>{const _0x9c3a9c=_0x449997;this[_0x9c3a9c(0x10d)](),this[_0x9c3a9c(0xa1)][_0x9c3a9c(0x109)]({'target':this[_0x9c3a9c(0x8a)][_0x9c3a9c(0x7e)],'limiter':this[_0x9c3a9c(0xca)](),'positions':zo});},'onResourceSelected':(_0x4c1526,_0x5306da)=>{const _0x22efa1=_0x449997;this[_0x22efa1(0x83)](_0x22efa1(0xb7),{'source':_0x4c1526,'resource':_0x5306da});},'onLoadSourceResources':_0x23fb4c=>{const _0x292f37=_0x449997;this[_0x292f37(0x83)](_0x292f37(0x94),_0x23fb4c);},'onBalloonClosed':()=>{const _0x1f5185=_0x449997;this[_0x1f5185(0x8a)][_0x1f5185(0xfd)]=!0x1;},'getLimiterElement':()=>this[_0x449997(0xca)](),'getTargetElement':()=>this[_0x449997(0x8a)][_0x449997(0x7e)]};return new _0x4e951a(_0x4c4d18,_0x37d8f0[_0x449997(0xbf)],_0x24a9ed);}[_0x2a53f2(0xca)](){const _0x327d85=_0x2a53f2;return this[_0x327d85(0x7e)]?.[_0x327d85(0xe6)]('.'+qo)||document[_0x327d85(0xad)];}[_0x2a53f2(0xc8)](_0x277a94,_0x205c15){const _0x4cbfcd=_0x2a53f2,_0x4ba219=new _0x4974b3(_0x277a94);return _0x4ba219[_0x4cbfcd(0xed)]({'attributes':{'class':_0x205c15}}),this[_0x4cbfcd(0xbf)][_0x4cbfcd(0xda)](_0x4ba219),_0x4ba219;}[_0x2a53f2(0xa6)](_0x1e26e1,_0xe99087,_0x470eb1){const _0x32aa65=_0x2a53f2;if(_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0x10c)](),!_0x470eb1[_0x32aa65(0x7c)][_0x32aa65(0xf7)]&&_0x470eb1[_0x32aa65(0x7c)][_0x32aa65(0xa0)]){const _0x5ab5cb=this[_0x32aa65(0xe8)](_0xe99087,{'label':_0x4993f7(_0xe99087,_0x32aa65(0xfe)),'icon':_0x4b3a68});_0x5ab5cb['on'](_0x32aa65(0x8e),()=>{const _0x39f08a=_0x32aa65;this[_0x39f08a(0x83)](_0x39f08a(0xe5)),this[_0x39f08a(0x106)]();}),_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xda)](_0x5ab5cb);}if(_0x470eb1[_0x32aa65(0x92)][_0x32aa65(0xa0)]){const _0x25c2cd=this[_0x32aa65(0xe8)](_0xe99087,{'label':_0x4993f7(_0xe99087,_0x32aa65(0x103)),'icon':_0x1de5db});_0x25c2cd['on'](_0x32aa65(0x8e),()=>{const _0x4c7b60=_0x32aa65;this[_0x4c7b60(0x106)](),this[_0x4c7b60(0xd4)](),this[_0x4c7b60(0xcd)][_0x4c7b60(0x109)]({'target':this[_0x4c7b60(0x8a)][_0x4c7b60(0x7e)],'limiter':this[_0x4c7b60(0xca)](),'positions':zo}),this[_0x4c7b60(0xab)][_0x4c7b60(0x107)]();}),_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xda)](_0x25c2cd);}if(_0x470eb1[_0x32aa65(0xe2)][_0x32aa65(0xa0)]){const _0xd74f01=new _0x15a650(_0xe99087);_0xd74f01[_0x32aa65(0x112)]({'label':_0x4993f7(_0xe99087,_0x32aa65(0xe1)),'icon':_0x225f92,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0xd74f01['on'](_0x32aa65(0x8e),()=>{const _0x44e60=_0x32aa65;this[_0x44e60(0x106)]();}),_0xd74f01['on'](_0x32aa65(0xb0),(_0x4157ff,_0x5e7dce)=>{const _0x4bc395=_0x32aa65;this[_0x4bc395(0x83)](_0x4bc395(0xbe),_0x5e7dce);}),_0xd74f01[_0x32aa65(0x10f)]=!0x0,_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xda)](_0xd74f01);}for(const _0xc8fc0d of _0x470eb1[_0x32aa65(0xf5)]){const _0x114227=this[_0x32aa65(0xe8)](_0xe99087,{'label':_0xc8fc0d[_0x32aa65(0xbd)],'icon':_0xc8fc0d[_0x32aa65(0x89)]||_0x5a3268,'type':_0x32aa65(0x7d)});_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xda)](_0x114227),_0x114227['on'](_0x32aa65(0x8e),()=>{const _0x36a417=_0x32aa65;this[_0x36a417(0x106)](),this[_0x36a417(0x105)]({'source':_0xc8fc0d,'withBackButton':!this[_0x36a417(0xd6)]});});}for(const _0x81e15 of _0x470eb1[_0x32aa65(0xd7)]||[]){const _0x16638e=this[_0x32aa65(0xe8)](_0xe99087,{'label':_0x81e15[_0x32aa65(0xbd)],'icon':_0x81e15[_0x32aa65(0x89)]||_0x5a3268,'type':_0x32aa65(0xd1)});_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xda)](_0x16638e),_0x16638e['on'](_0x32aa65(0x8e),()=>{const _0x613f43=_0x32aa65;this[_0x613f43(0x106)](),this[_0x613f43(0x83)](_0x613f43(0xd8),_0x81e15);});}this[_0x32aa65(0xd6)]=0x1===_0x1e26e1[_0x32aa65(0x101)][_0x32aa65(0xc5)],this[_0x32aa65(0xab)][_0x32aa65(0xac)]=!this[_0x32aa65(0xd6)];}[_0x2a53f2(0xbb)](_0x68ad29,_0x570137){const _0x37fa59=_0x2a53f2;this[_0x37fa59(0xab)]=new _0x5f2e57(_0x570137),this[_0x37fa59(0xab)]['on'](_0x37fa59(0xdb),(_0x444cac,_0x5e9b08)=>{const _0x572fd8=_0x37fa59;this[_0x572fd8(0xf2)](_0x5e9b08);}),this[_0x37fa59(0xab)]['on'](_0x37fa59(0xa2),()=>{const _0x54b0ab=_0x37fa59;this[_0x54b0ab(0xd9)](),this[_0x54b0ab(0xd6)]||(this[_0x54b0ab(0x10d)](),this[_0x54b0ab(0xa1)][_0x54b0ab(0x109)]({'target':this[_0x54b0ab(0x8a)][_0x54b0ab(0x7e)],'limiter':this[_0x54b0ab(0xca)](),'positions':zo}));}),this[_0x37fa59(0xab)]['on'](_0x37fa59(0xd3),()=>{const _0x3e17cd=_0x37fa59;this[_0x3e17cd(0xcd)][_0x3e17cd(0xa7)]&&this[_0x3e17cd(0xcd)][_0x3e17cd(0x109)]({'target':this[_0x3e17cd(0x8a)][_0x3e17cd(0x7e)],'limiter':this[_0x3e17cd(0xca)](),'positions':zo});}),_0x68ad29[_0x37fa59(0x101)][_0x37fa59(0xda)](this[_0x37fa59(0xab)]);}[_0x2a53f2(0xe8)](_0x23e5fb,_0x2704fa){const _0x2bead8=_0x2a53f2,_0x5380fb=_0x2bead8(0x7d)===_0x2704fa[_0x2bead8(0xb3)]?new SourcesBalloonButtonView(_0x23e5fb):new _0x43d939(_0x23e5fb);return _0x5380fb[_0x2bead8(0x112)]({'label':_0x2704fa[_0x2bead8(0xbd)],'icon':_0x2704fa[_0x2bead8(0x89)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x5380fb;}[_0x2a53f2(0xc3)](){const _0x5b5b60=_0x2a53f2;this[_0x5b5b60(0xaf)](),this[_0x5b5b60(0xba)]();}[_0x2a53f2(0xba)](){const _0x29c5eb=_0x2a53f2;_0x4bec7d({'emitter':this[_0x29c5eb(0xcd)],'contextElements':[this[_0x29c5eb(0xcd)][_0x29c5eb(0x7e)]],'callback':()=>{const _0x39d72b=_0x29c5eb;this[_0x39d72b(0xd9)]();},'activator':()=>this[_0x29c5eb(0xcd)][_0x29c5eb(0xa7)]});}[_0x2a53f2(0x98)](_0x5a7c72){const _0x487f78=_0x2a53f2,_0x56468d=this[_0x487f78(0xf6)];_0x56468d[_0x487f78(0xd5)][_0x487f78(0xfd)]=_0x5a7c72,_0x5a7c72?_0x56468d[_0x487f78(0xf8)][_0x487f78(0xae)]():_0x56468d[_0x487f78(0xf8)][_0x487f78(0xaa)]();}[_0x2a53f2(0xaf)](){const _0x373259=_0x2a53f2,{balloonView:_0x144622,buttonView:_0x5ca439,hideMethod:_0x337579}=this[_0x373259(0xf6)];_0x4bec7d({'emitter':_0x144622,'contextElements':[_0x144622[_0x373259(0x7e)],_0x5ca439[_0x373259(0x7e)]],'callback':()=>{_0x337579();},'activator':()=>_0x5ca439[_0x373259(0xfd)]&&!this[_0x373259(0xcd)][_0x373259(0xa7)]&&!this[_0x373259(0x9b)][_0x373259(0xc6)]()});}[_0x2a53f2(0xeb)](_0x148491,_0x4e7c49,_0x1d48a0=!0x1,_0x403f51=!0x1){const _0x350d56=_0x2a53f2,_0x50173d=_0x350d56(0xd2)===_0x4e7c49||!0x0===_0x148491[_0x350d56(0xc0)],_0x5ca68d=new _0x3c174c(this[_0x350d56(0xf1)],_0x148491,_0x50173d,_0x1d48a0,_0x403f51);return _0x50173d||_0x5ca68d['on'](_0x350d56(0xf4),()=>{const _0x5150a5=_0x350d56;this[_0x5150a5(0x83)](_0x5150a5(0x9d),_0x5ca68d['id']);}),_0x5ca68d;}[_0x2a53f2(0xa9)](_0x382f94,_0x2275f1){const _0x14d8a2=_0x2a53f2;_0x2275f1[_0x14d8a2(0xda)](_0x382f94,0x0);}[_0x2a53f2(0x91)](_0x86548c,_0x3696d5){const _0x4c132d=_0x2a53f2,_0x3790fe=_0x3696d5[_0x4c132d(0xb2)](_0x2ca322=>_0x2ca322['id']===_0x86548c);_0x3790fe&&_0x3696d5[_0x4c132d(0x93)](_0x3790fe);}[_0x2a53f2(0x97)](){const _0x3978db=_0x2a53f2;this[_0x3978db(0x8a)][_0x3978db(0xfd)]?this[_0x3978db(0x106)]():(this[_0x3978db(0x10d)](),this[_0x3978db(0xa1)][_0x3978db(0x109)]({'target':this[_0x3978db(0x8a)][_0x3978db(0x7e)],'limiter':this[_0x3978db(0xca)](),'positions':zo}),this[_0x3978db(0xd6)]&&this[_0x3978db(0xa1)][_0x3978db(0x101)][_0x3978db(0xf3)](0x0)?.[_0x3978db(0x83)](_0x3978db(0x8e)));}[_0x2a53f2(0xf2)](_0x337eb1){const _0x2f7545=_0x2a53f2;this[_0x2f7545(0xab)][_0x2f7545(0x10c)](),this[_0x2f7545(0xd9)](),this[_0x2f7545(0x83)](_0x2f7545(0x82),_0x337eb1);}}export class SourcesBalloonButtonView extends _0x43d939{[_0x2a53f2(0xb8)];constructor(_0x5d3001){const _0x5da2ba=_0x2a53f2;super(_0x5d3001),this[_0x5da2ba(0x112)]({'withText':!0x0,'role':_0x5da2ba(0xe7)}),this[_0x5da2ba(0xb8)]=this[_0x5da2ba(0x86)](),this[_0x5da2ba(0xed)]({'attributes':{'class':[Fo]}});}[_0x2a53f2(0xf9)](){const _0x14dca9=_0x2a53f2;super[_0x14dca9(0xf9)](),this[_0x14dca9(0xe0)][_0x14dca9(0xda)](this[_0x14dca9(0xb8)]);}[_0x2a53f2(0x86)](){const _0x3bcae7=_0x2a53f2,_0x555b84=new _0x45322d();return _0x555b84[_0x3bcae7(0x101)]=_0x2b8dfe,_0x555b84[_0x3bcae7(0xed)]({'attributes':{'class':Fo+_0x3bcae7(0xff)}}),_0x555b84;}}
|
|
23
|
+
const _0x33c4ae=_0x3ee2;(function(_0x46efb3,_0x3192bb){const _0x245edb=_0x3ee2,_0x37ffc5=_0x46efb3();while(!![]){try{const _0x46fff6=parseInt(_0x245edb(0x229))/0x1+parseInt(_0x245edb(0x23d))/0x2+-parseInt(_0x245edb(0x1ee))/0x3*(-parseInt(_0x245edb(0x243))/0x4)+parseInt(_0x245edb(0x277))/0x5+parseInt(_0x245edb(0x265))/0x6*(-parseInt(_0x245edb(0x22a))/0x7)+parseInt(_0x245edb(0x270))/0x8*(-parseInt(_0x245edb(0x26b))/0x9)+-parseInt(_0x245edb(0x205))/0xa;if(_0x46fff6===_0x3192bb)break;else _0x37ffc5['push'](_0x37ffc5['shift']());}catch(_0x143ffa){_0x37ffc5['push'](_0x37ffc5['shift']());}}}(_0x35f7,0xf1975));import{BalloonPanelView as _0x472853,ButtonView as _0x1b7165,clickOutsideHandler as _0x18468f,FileDialogButtonView as _0x3397b4,IconView as _0x1621c3,View as _0x36b427}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x59d9f0,IconDocument as _0x826ffb,IconDocumentOutline as _0x4bbb77,IconDropdownArrow as _0x48437f,IconLink as _0xca5537,IconPaperClip as _0x66be61}from'@ckeditor/ckeditor5-icons';function _0x35f7(){const _0x50a70b=['withBackButton','_resourcesBalloonView','setContainerElement','setConversationContext','refreshBalloon','ck-ai-chat','_createResourcesBalloonView','execute','isEnabled','current','createCollection','northArrowSouthEast','body','destroy','bind','setAddContextOptions','tooltip','_addUrlContent','ck-ai-chat-context-controls','reorganizeChips','_createAddContextBalloonPanelView','document','_setupUrlBalloonClickOutsideHandler','ck-ai-chat-context-controls__balloon-button-source','northArrowSouth','customItems','removeContextItem','_conversationContextsChips','customItem','ck-ai-chat-context-controls__pending-contexts','ck-ai-chat-context-controls__url-balloon-panel','hideUrlBalloonPanel','6wrfXUO','clearConversationContextItems','defaultPositions','closeSourceResourceBalloon','loadSourceResources','ck-ai-chat-context-controls__add-context-button','621NftkgA','showUrlBalloonPanel','ck-ai-chat-controls-button','ck-ai-chat-context-controls__balloon-button','arrowView','188648SjKpJm','ck-ai-chat-context-controls__show-more-balloon-panel','_setupTemplate','_createBalloonButton','remove','_createAddContextButtonView','_handleAddContextButtonClick','4219495MfTjqj','AI_CHAT_CONTEXT_FILE_LABEL','addResourceToContext','_removeContextFromCollection','executeCustomItemCallback','setTemplate','_handleUrlSubmit','done','isLoading','_createContextButton','southArrowNorth','buttonView','southArrowNorthEast','_createBaseBalloonPanel','844926iQgTIC','cancel','ck-reset_all-excluded','isOn','children','isVisible','_overflowManager','pin','clear','addContextButtonView','northArrowSouthWest','set','_currentContextsChips','hideAddContextBalloonPanel','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','ck-ai-chat-context-chips-wrapper-balloon','addContextItem','showAddContextBalloonPanel','_createArrowView','isHidden','type','southArrowNorthWest','showSourceResourcesBalloon','9554740kHndlR','bodyCollection','submitUrl','isAnyResourceBalloonVisible','content','addDocumentToContext','_setupAddContextBalloonClickOutsideHandler','_setupAllBalloonClickOutsideHandlers','icon','length','fire','_getLimiterElement','populateSourceResourceBalloon','find','_addContextBalloonPanelView','isReadOnly','_setAddContextButtonEnabled','__arrow','label','clearCurrentContextItems','AI_CHAT_CONTEXT_URL_LABEL','_bindEventHandlers','closest','removeContextItemChip','_setBalloonPanelContent','updateResourceState','addUrlToContext','enabled','conversation','sources','_showSourceResourcesBalloon','files','extendTemplate','ck-ai-chat-context-controls__add-context-balloon-panel','add','_urlBalloonPanelView','1663929vvQmYs','4495869WPksFI','hide','show','menuitem','balloonView','_addContextBalloonConfig','element','focus','addFileToContext','AI_CHAT_CONTEXT_ADD_CONTEXT','_toggleAddContextBalloon','overflowChips','get','source','_addContextToCollection','_hasExactlyOneSource','searchInputVisibleFrom','div','_createUrlBalloonPanelView','2286550hfTxhU','locale','urls','ck-ai-chat-controls_context_show-more-button','_urlInputView','setContextItemLoading','8BVQGuP','render'];_0x35f7=function(){return _0x50a70b;};return _0x35f7();}import{AIChatContextItemButtonView as _0x232330}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x2b238e}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x3309f2}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x2e4e6d}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x5be006}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x33c4ae(0x20a),_0x33c4ae(0x232),_0x33c4ae(0x21f),_0x33c4ae(0x279),_0x33c4ae(0x25f),_0x33c4ae(0x269),_0x33c4ae(0x27b)];function _0x3ee2(_0x341ad8,_0x3835e5){const _0x35f74=_0x35f7();return _0x3ee2=function(_0x3ee247,_0x12e818){_0x3ee247=_0x3ee247-0x1e5;let _0x3b7fb4=_0x35f74[_0x3ee247];return _0x3b7fb4;},_0x3ee2(_0x341ad8,_0x3835e5);}const Uo=_0x33c4ae(0x257),Lo=_0x33c4ae(0x262),No=_0x33c4ae(0x226),Mo=_0x33c4ae(0x26a),Ho=_0x33c4ae(0x263),jo=_0x33c4ae(0x26e),Fo=_0x33c4ae(0x25c),Xo=_0x33c4ae(0x26d),Do=_0x33c4ae(0x1fd),$o=_0x33c4ae(0x240),Wo=_0x33c4ae(0x271),qo=_0x33c4ae(0x24a),zo=[_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x1f8)],_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x25d)],_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x250)],_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x203)],_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x1ea)],_0x472853[_0x33c4ae(0x267)][_0x33c4ae(0x1ec)]];export class AIChatContextPanelView extends _0x36b427{[_0x33c4ae(0x1f7)];[_0x33c4ae(0x1fa)]=this[_0x33c4ae(0x24f)]();[_0x33c4ae(0x260)]=this[_0x33c4ae(0x24f)]();[_0x33c4ae(0x1f4)];[_0x33c4ae(0x213)];[_0x33c4ae(0x228)];[_0x33c4ae(0x241)];[_0x33c4ae(0x246)];[_0x33c4ae(0x22f)];[_0x33c4ae(0x239)]=!0x1;[_0x33c4ae(0x206)];constructor(_0x235757,_0x7e2118){const _0x24892b=_0x33c4ae;super(_0x235757),this[_0x24892b(0x206)]=_0x7e2118[_0x24892b(0x206)],this[_0x24892b(0x1fa)]=this[_0x24892b(0x24f)](),this[_0x24892b(0x260)]=this[_0x24892b(0x24f)](),this[_0x24892b(0x1f7)]=this[_0x24892b(0x275)](_0x235757),this[_0x24892b(0x213)]=this[_0x24892b(0x259)](_0x235757),this[_0x24892b(0x228)]=this[_0x24892b(0x23c)](_0x235757),this[_0x24892b(0x246)]=this[_0x24892b(0x24b)](_0x235757,_0x7e2118);const _0x547553={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':Do,'controlsButton':Xo}};this[_0x24892b(0x1f4)]=new _0x3309f2(_0x235757,this[_0x24892b(0x1fa)],_0x547553,this[_0x24892b(0x206)],this),this[_0x24892b(0x22f)]={'buttonView':this[_0x24892b(0x1f7)],'balloonView':this[_0x24892b(0x213)],'hideMethod':this[_0x24892b(0x1fb)][_0x24892b(0x253)](this),'showMethod':this[_0x24892b(0x1ff)][_0x24892b(0x253)](this)},this[_0x24892b(0x272)](),this[_0x24892b(0x21a)]();}[_0x33c4ae(0x244)](){const _0x590e8d=_0x33c4ae;super[_0x590e8d(0x244)](),this[_0x590e8d(0x20c)](),this[_0x590e8d(0x1f4)][_0x590e8d(0x247)](this[_0x590e8d(0x230)]),this[_0x590e8d(0x1f4)][_0x590e8d(0x258)]();}[_0x33c4ae(0x252)](){const _0x51d18c=_0x33c4ae;super[_0x51d18c(0x252)](),this[_0x51d18c(0x1f4)][_0x51d18c(0x252)](),this[_0x51d18c(0x246)][_0x51d18c(0x252)]();}[_0x33c4ae(0x1fe)](_0x58a434,_0x142963){const _0x4fa16b=_0x33c4ae,_0x135a0b=this[_0x4fa16b(0x1e9)](_0x58a434,_0x4fa16b(0x24e),!0x0,_0x142963);this[_0x4fa16b(0x238)](_0x135a0b,this[_0x4fa16b(0x1fa)]),this[_0x4fa16b(0x1f4)][_0x4fa16b(0x258)]();}[_0x33c4ae(0x25f)](_0x2c23dc){const _0x4bb51a=_0x33c4ae;this[_0x4bb51a(0x27a)](_0x2c23dc,this[_0x4bb51a(0x1fa)]),this[_0x4bb51a(0x27a)](_0x2c23dc,this[_0x4bb51a(0x1f4)][_0x4bb51a(0x235)]),this[_0x4bb51a(0x1f4)][_0x4bb51a(0x258)]();}[_0x33c4ae(0x242)](_0x9a03b0,_0x5d2b8f){const _0x3629f7=_0x33c4ae;let _0x44b7a1=this[_0x3629f7(0x1fa)][_0x3629f7(0x212)](_0x4c5533=>_0x4c5533['id']===_0x9a03b0);_0x44b7a1||(_0x44b7a1=this[_0x3629f7(0x1f4)][_0x3629f7(0x235)][_0x3629f7(0x212)](_0xa7b085=>_0xa7b085['id']===_0x9a03b0)),_0x44b7a1&&(_0x44b7a1[_0x3629f7(0x1e8)]=_0x5d2b8f);}[_0x33c4ae(0x248)](_0x29d064){const _0x2862a3=_0x33c4ae;this[_0x2862a3(0x260)][_0x2862a3(0x1f6)]();for(const _0x3b9a1c of _0x29d064){const _0x513c0d=this[_0x2862a3(0x1e9)](_0x3b9a1c,_0x2862a3(0x221),!0x1,!0x1);this[_0x2862a3(0x238)](_0x513c0d,this[_0x2862a3(0x260)]);}}[_0x33c4ae(0x218)](){const _0x1afe58=_0x33c4ae;this[_0x1afe58(0x1fa)][_0x1afe58(0x1f6)](),this[_0x1afe58(0x1f4)][_0x1afe58(0x1f6)]();}[_0x33c4ae(0x266)](){const _0x10b954=_0x33c4ae;this[_0x10b954(0x260)][_0x10b954(0x1f6)]();}[_0x33c4ae(0x21e)](_0x3eb6a2,_0x445fec,_0x4c9a13){const _0x5270f3=_0x33c4ae;this[_0x5270f3(0x246)][_0x5270f3(0x21e)](_0x3eb6a2,_0x445fec,_0x4c9a13);}[_0x33c4ae(0x1fb)](){const _0x1d89aa=_0x33c4ae;this[_0x1d89aa(0x234)](!0x1);}[_0x33c4ae(0x1ff)](){const _0x8badc7=_0x33c4ae;this[_0x8badc7(0x234)](!0x0);}[_0x33c4ae(0x264)](){const _0x237624=_0x33c4ae;this[_0x237624(0x228)][_0x237624(0x22b)](),this[_0x237624(0x1f7)][_0x237624(0x1f1)]=!0x1,this[_0x237624(0x241)]&&this[_0x237624(0x241)][_0x237624(0x1f6)]();}[_0x33c4ae(0x26c)](){const _0x289d9a=_0x33c4ae;this[_0x289d9a(0x228)][_0x289d9a(0x22c)](),this[_0x289d9a(0x1f7)][_0x289d9a(0x1f1)]=!0x0;}[_0x33c4ae(0x223)]({source:_0x2d10d4,withBackButton:_0x5a0513}){const _0xd06a52=_0x33c4ae;this[_0xd06a52(0x246)][_0xd06a52(0x204)]({'source':_0x2d10d4,'withBackButton':_0x5a0513}),this[_0xd06a52(0x1f7)][_0xd06a52(0x1f1)]=!0x0;}[_0x33c4ae(0x211)](_0x4b5fd2,_0x4d7fd1,_0x1a2bc9,_0x442e97){const _0x53689c=_0x33c4ae;this[_0x53689c(0x246)][_0x53689c(0x211)](_0x4b5fd2,_0x1a2bc9,_0x442e97);}[_0x33c4ae(0x268)](_0x2de942){const _0x50efad=_0x33c4ae;this[_0x50efad(0x246)][_0x50efad(0x268)](_0x2de942),this[_0x50efad(0x1f7)][_0x50efad(0x1f1)]=!0x1;}[_0x33c4ae(0x254)](_0x1a3bcf){const _0x4680f2=_0x33c4ae;this[_0x4680f2(0x21d)](this[_0x4680f2(0x213)],this[_0x4680f2(0x23e)],_0x1a3bcf),this[_0x4680f2(0x215)](_0x1a3bcf);}[_0x33c4ae(0x215)](_0x3c6dfc){const _0xc05510=_0x33c4ae,_0x5d25e8=!_0x3c6dfc[_0xc05510(0x25a)][_0xc05510(0x201)]&&_0x3c6dfc[_0xc05510(0x25a)][_0xc05510(0x220)],_0x2f39c3=_0x3c6dfc[_0xc05510(0x23f)][_0xc05510(0x220)],_0x2956d7=_0x3c6dfc[_0xc05510(0x224)][_0xc05510(0x220)],_0x3f9079=_0x3c6dfc[_0xc05510(0x222)][_0xc05510(0x20e)]>0x0,_0x3637b0=_0x3c6dfc[_0xc05510(0x25e)]&&_0x3c6dfc[_0xc05510(0x25e)][_0xc05510(0x20e)]>0x0;this[_0xc05510(0x1f7)][_0xc05510(0x24d)]=_0x5d25e8||_0x2f39c3||_0x2956d7||_0x3f9079||_0x3637b0;}[_0x33c4ae(0x272)](){const _0x23f1a5=_0x33c4ae;this[_0x23f1a5(0x1e5)]({'tag':_0x23f1a5(0x23b),'attributes':{'class':[Uo,_0x23f1a5(0x1f0)]},'children':[{'tag':_0x23f1a5(0x23b),'attributes':{'class':Lo},'children':this[_0x23f1a5(0x1fa)]}]});}[_0x33c4ae(0x21a)](){const _0x199d2c=_0x33c4ae;this[_0x199d2c(0x1f7)]['on'](_0x199d2c(0x24c),()=>{const _0x30d457=_0x199d2c;this[_0x30d457(0x276)]();});}[_0x33c4ae(0x275)](_0x4c41dd){const _0x510736=_0x33c4ae,_0x58f8f9=new _0x1b7165(_0x4c41dd);return _0x58f8f9[_0x510736(0x1f9)]({'label':_0x2e4e6d(_0x4c41dd,_0x510736(0x233)),'class':Xo+'\x20'+Mo,'icon':_0x66be61,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x58f8f9;}[_0x33c4ae(0x259)](_0x10cc0b){const _0x557564=_0x33c4ae;return this[_0x557564(0x1ed)](_0x10cc0b,No);}[_0x33c4ae(0x23c)](_0xc7ef02){const _0x25b8ef=_0x33c4ae,_0xfe3a70=this[_0x25b8ef(0x1ed)](_0xc7ef02,Ho);return this[_0x25b8ef(0x256)](_0xfe3a70,_0xc7ef02),_0xfe3a70;}[_0x33c4ae(0x24b)](_0x4ea670,_0x52418c){const _0x3f962c=_0x33c4ae,_0x2440fa={'searchInputVisibleFrom':_0x52418c[_0x3f962c(0x23a)],'onBackToContext':()=>{const _0x40cb31=_0x3f962c;this[_0x40cb31(0x1ff)](),this[_0x40cb31(0x213)][_0x40cb31(0x1f5)]({'target':this[_0x40cb31(0x1f7)][_0x40cb31(0x230)],'limiter':this[_0x40cb31(0x210)](),'positions':zo});},'onResourceSelected':(_0x17e9cd,_0x4eb293)=>{const _0x5b300e=_0x3f962c;this[_0x5b300e(0x20f)](_0x5b300e(0x279),{'source':_0x17e9cd,'resource':_0x4eb293});},'onLoadSourceResources':_0x3d4729=>{const _0x5af736=_0x3f962c;this[_0x5af736(0x20f)](_0x5af736(0x269),_0x3d4729);},'onBalloonClosed':()=>{const _0x2950c5=_0x3f962c;this[_0x2950c5(0x1f7)][_0x2950c5(0x1f1)]=!0x1;},'getLimiterElement':()=>this[_0x3f962c(0x210)](),'getTargetElement':()=>this[_0x3f962c(0x1f7)][_0x3f962c(0x230)]};return new _0x5be006(_0x4ea670,_0x52418c[_0x3f962c(0x206)],_0x2440fa);}[_0x33c4ae(0x210)](){const _0x4b2bfa=_0x33c4ae;return this[_0x4b2bfa(0x230)]?.[_0x4b2bfa(0x21b)]('.'+qo)||document[_0x4b2bfa(0x251)];}[_0x33c4ae(0x1ed)](_0x58a62b,_0x4d302b){const _0x3479f7=_0x33c4ae,_0x5e0f4f=new _0x472853(_0x58a62b);return _0x5e0f4f[_0x3479f7(0x225)]({'attributes':{'class':_0x4d302b}}),this[_0x3479f7(0x206)][_0x3479f7(0x227)](_0x5e0f4f),_0x5e0f4f;}[_0x33c4ae(0x21d)](_0x59acf1,_0x2b8116,_0x43c87a){const _0x5af6ea=_0x33c4ae;if(_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x1f6)](),!_0x43c87a[_0x5af6ea(0x25a)][_0x5af6ea(0x201)]&&_0x43c87a[_0x5af6ea(0x25a)][_0x5af6ea(0x220)]){const _0x41f5cd=this[_0x5af6ea(0x273)](_0x2b8116,{'label':_0x2e4e6d(_0x2b8116,_0x5af6ea(0x1fc)),'icon':_0x826ffb});_0x41f5cd['on'](_0x5af6ea(0x24c),()=>{const _0x4ce3c6=_0x5af6ea;this[_0x4ce3c6(0x20f)](_0x4ce3c6(0x20a)),this[_0x4ce3c6(0x1fb)]();}),_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x227)](_0x41f5cd);}if(_0x43c87a[_0x5af6ea(0x23f)][_0x5af6ea(0x220)]){const _0x3bb89c=this[_0x5af6ea(0x273)](_0x2b8116,{'label':_0x2e4e6d(_0x2b8116,_0x5af6ea(0x219)),'icon':_0xca5537});_0x3bb89c['on'](_0x5af6ea(0x24c),()=>{const _0x1f3955=_0x5af6ea;this[_0x1f3955(0x1fb)](),this[_0x1f3955(0x26c)](),this[_0x1f3955(0x228)][_0x1f3955(0x1f5)]({'target':this[_0x1f3955(0x1f7)][_0x1f3955(0x230)],'limiter':this[_0x1f3955(0x210)](),'positions':zo}),this[_0x1f3955(0x241)][_0x1f3955(0x231)]();}),_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x227)](_0x3bb89c);}if(_0x43c87a[_0x5af6ea(0x224)][_0x5af6ea(0x220)]){const _0x3c0ecb=new _0x3397b4(_0x2b8116);_0x3c0ecb[_0x5af6ea(0x1f9)]({'label':_0x2e4e6d(_0x2b8116,_0x5af6ea(0x278)),'icon':_0x59d9f0,'withText':!0x0,'tooltip':!0x0,'class':jo,'allowMultipleFiles':!0x0}),_0x3c0ecb['on'](_0x5af6ea(0x24c),()=>{const _0xf82d36=_0x5af6ea;this[_0xf82d36(0x1fb)]();}),_0x3c0ecb['on'](_0x5af6ea(0x1e7),(_0x457d6d,_0x16a3df)=>{const _0x9534b2=_0x5af6ea;this[_0x9534b2(0x20f)](_0x9534b2(0x232),_0x16a3df);}),_0x3c0ecb[_0x5af6ea(0x255)]=!0x0,_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x227)](_0x3c0ecb);}for(const _0x31710f of _0x43c87a[_0x5af6ea(0x222)]){const _0x124532=this[_0x5af6ea(0x273)](_0x2b8116,{'label':_0x31710f[_0x5af6ea(0x217)],'icon':_0x31710f[_0x5af6ea(0x20d)]||_0x4bbb77,'type':_0x5af6ea(0x237)});_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x227)](_0x124532),_0x124532['on'](_0x5af6ea(0x24c),()=>{const _0x224bf6=_0x5af6ea;this[_0x224bf6(0x1fb)](),this[_0x224bf6(0x223)]({'source':_0x31710f,'withBackButton':!this[_0x224bf6(0x239)]});});}for(const _0x88eef7 of _0x43c87a[_0x5af6ea(0x25e)]||[]){const _0x48c9aa=this[_0x5af6ea(0x273)](_0x2b8116,{'label':_0x88eef7[_0x5af6ea(0x217)],'icon':_0x88eef7[_0x5af6ea(0x20d)]||_0x4bbb77,'type':_0x5af6ea(0x261)});_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x227)](_0x48c9aa),_0x48c9aa['on'](_0x5af6ea(0x24c),()=>{const _0x240f95=_0x5af6ea;this[_0x240f95(0x1fb)](),this[_0x240f95(0x20f)](_0x240f95(0x27b),_0x88eef7);});}this[_0x5af6ea(0x239)]=0x1===_0x59acf1[_0x5af6ea(0x209)][_0x5af6ea(0x20e)],this[_0x5af6ea(0x241)][_0x5af6ea(0x245)]=!this[_0x5af6ea(0x239)];}[_0x33c4ae(0x256)](_0x5db55d,_0x4b92c8){const _0x47f46e=_0x33c4ae;this[_0x47f46e(0x241)]=new _0x2b238e(_0x4b92c8),this[_0x47f46e(0x241)]['on'](_0x47f46e(0x207),(_0x3913cc,_0xfd1f48)=>{const _0x14a32e=_0x47f46e;this[_0x14a32e(0x1e6)](_0xfd1f48);}),this[_0x47f46e(0x241)]['on'](_0x47f46e(0x1ef),()=>{const _0x559345=_0x47f46e;this[_0x559345(0x264)](),this[_0x559345(0x239)]||(this[_0x559345(0x1ff)](),this[_0x559345(0x213)][_0x559345(0x1f5)]({'target':this[_0x559345(0x1f7)][_0x559345(0x230)],'limiter':this[_0x559345(0x210)](),'positions':zo}));}),this[_0x47f46e(0x241)]['on'](_0x47f46e(0x249),()=>{const _0x2c7769=_0x47f46e;this[_0x2c7769(0x228)][_0x2c7769(0x1f3)]&&this[_0x2c7769(0x228)][_0x2c7769(0x1f5)]({'target':this[_0x2c7769(0x1f7)][_0x2c7769(0x230)],'limiter':this[_0x2c7769(0x210)](),'positions':zo});}),_0x5db55d[_0x47f46e(0x209)][_0x47f46e(0x227)](this[_0x47f46e(0x241)]);}[_0x33c4ae(0x273)](_0x5410c2,_0xbb1dcc){const _0x2b2788=_0x33c4ae,_0x372939=_0x2b2788(0x237)===_0xbb1dcc[_0x2b2788(0x202)]?new SourcesBalloonButtonView(_0x5410c2):new _0x1b7165(_0x5410c2);return _0x372939[_0x2b2788(0x1f9)]({'label':_0xbb1dcc[_0x2b2788(0x217)],'icon':_0xbb1dcc[_0x2b2788(0x20d)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':jo}),_0x372939;}[_0x33c4ae(0x20c)](){const _0x5ad244=_0x33c4ae;this[_0x5ad244(0x20b)](),this[_0x5ad244(0x25b)]();}[_0x33c4ae(0x25b)](){const _0x5b1218=_0x33c4ae;_0x18468f({'emitter':this[_0x5b1218(0x228)],'contextElements':[this[_0x5b1218(0x228)][_0x5b1218(0x230)]],'callback':()=>{const _0x4cbae4=_0x5b1218;this[_0x4cbae4(0x264)]();},'activator':()=>this[_0x5b1218(0x228)][_0x5b1218(0x1f3)]});}[_0x33c4ae(0x234)](_0x164e12){const _0x261158=_0x33c4ae,_0x38ec06=this[_0x261158(0x22f)];_0x38ec06[_0x261158(0x1eb)][_0x261158(0x1f1)]=_0x164e12,_0x164e12?_0x38ec06[_0x261158(0x22e)][_0x261158(0x22c)]():_0x38ec06[_0x261158(0x22e)][_0x261158(0x22b)]();}[_0x33c4ae(0x20b)](){const _0x5030b2=_0x33c4ae,{balloonView:_0x48ee0f,buttonView:_0x4f7aa6,hideMethod:_0x23f651}=this[_0x5030b2(0x22f)];_0x18468f({'emitter':_0x48ee0f,'contextElements':[_0x48ee0f[_0x5030b2(0x230)],_0x4f7aa6[_0x5030b2(0x230)]],'callback':()=>{_0x23f651();},'activator':()=>_0x4f7aa6[_0x5030b2(0x1f1)]&&!this[_0x5030b2(0x228)][_0x5030b2(0x1f3)]&&!this[_0x5030b2(0x246)][_0x5030b2(0x208)]()});}[_0x33c4ae(0x1e9)](_0x51ccd2,_0x24c5b1,_0x5c54b4=!0x1,_0x23b8c0=!0x1){const _0x3509a6=_0x33c4ae,_0x2ef12e=_0x3509a6(0x221)===_0x24c5b1||!0x0===_0x51ccd2[_0x3509a6(0x214)],_0x1873a9=new _0x232330(this[_0x3509a6(0x23e)],_0x51ccd2,_0x2ef12e,_0x5c54b4,_0x23b8c0);return _0x2ef12e||_0x1873a9['on'](_0x3509a6(0x21c),()=>{const _0x16affe=_0x3509a6;this[_0x16affe(0x20f)](_0x16affe(0x25f),_0x1873a9['id']);}),_0x1873a9;}[_0x33c4ae(0x238)](_0x271f99,_0x38a8b2){const _0x5dd372=_0x33c4ae;_0x38a8b2[_0x5dd372(0x227)](_0x271f99,0x0);}[_0x33c4ae(0x27a)](_0x44dc79,_0x422682){const _0x14afc4=_0x33c4ae,_0x16ebb4=_0x422682[_0x14afc4(0x212)](_0xb3d97=>_0xb3d97['id']===_0x44dc79);_0x16ebb4&&_0x422682[_0x14afc4(0x274)](_0x16ebb4);}[_0x33c4ae(0x276)](){const _0x6bacd=_0x33c4ae;this[_0x6bacd(0x1f7)][_0x6bacd(0x1f1)]?this[_0x6bacd(0x1fb)]():(this[_0x6bacd(0x1ff)](),this[_0x6bacd(0x213)][_0x6bacd(0x1f5)]({'target':this[_0x6bacd(0x1f7)][_0x6bacd(0x230)],'limiter':this[_0x6bacd(0x210)](),'positions':zo}),this[_0x6bacd(0x239)]&&this[_0x6bacd(0x213)][_0x6bacd(0x209)][_0x6bacd(0x236)](0x0)?.[_0x6bacd(0x20f)](_0x6bacd(0x24c)));}[_0x33c4ae(0x1e6)](_0x1fe224){const _0x5f16b1=_0x33c4ae;this[_0x5f16b1(0x241)][_0x5f16b1(0x1f6)](),this[_0x5f16b1(0x264)](),this[_0x5f16b1(0x20f)](_0x5f16b1(0x21f),_0x1fe224);}}export class SourcesBalloonButtonView extends _0x1b7165{[_0x33c4ae(0x26f)];constructor(_0x1f8fb0){const _0x44e044=_0x33c4ae;super(_0x1f8fb0),this[_0x44e044(0x1f9)]({'withText':!0x0,'role':_0x44e044(0x22d)}),this[_0x44e044(0x26f)]=this[_0x44e044(0x200)](),this[_0x44e044(0x225)]({'attributes':{'class':[Fo]}});}[_0x33c4ae(0x244)](){const _0x3f615b=_0x33c4ae;super[_0x3f615b(0x244)](),this[_0x3f615b(0x1f2)][_0x3f615b(0x227)](this[_0x3f615b(0x26f)]);}[_0x33c4ae(0x200)](){const _0x2cd7fa=_0x33c4ae,_0x2755f9=new _0x1621c3();return _0x2755f9[_0x2cd7fa(0x209)]=_0x48437f,_0x2755f9[_0x2cd7fa(0x225)]({'attributes':{'class':Fo+_0x2cd7fa(0x216)}}),_0x2755f9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x17a7(){const _0x50d89a=['ck-ai-chat-controls-loader','_createCancelButtonView','fire','254520oRTXfS','ck-ai-chat-controls-loader-wrapper','26613vzrFLS','690wVFYhZ','AI_CHAT_STOP_GENERATING','AI_CHAT_IS_WRITING','set','locale','ck-ai-chat-controls-loader-icon-dot','_cancelButtonView','1806684yjZrZs','2126792LkfriB','5nwufvF','div','ck-ai-chat-controls-loader-icon','setTemplate','81375YcsDgL','_createLoaderView','execute','3tkhqSC','60CsTMbR','95740tpIDIk','abortPromptStream','_loaderView','ck-ai-button-secondary\x20ck-ai-button-stop-generating','83602jarWok','ck-reset_all'];_0x17a7=function(){return _0x50d89a;};return _0x17a7();}const _0x12eef4=_0x2af9;(function(_0x2f011e,_0x4d9660){const _0x57a284=_0x2af9,_0x2280f6=_0x2f011e();while(!![]){try{const _0x3b9e2f=parseInt(_0x57a284(0x12b))/0x1*(parseInt(_0x57a284(0x11a))/0x2)+-parseInt(_0x57a284(0x114))/0x3*(-parseInt(_0x57a284(0x116))/0x4)+parseInt(_0x57a284(0x111))/0x5*(-parseInt(_0x57a284(0x115))/0x6)+parseInt(_0x57a284(0x11f))/0x7+parseInt(_0x57a284(0x12a))/0x8+-parseInt(_0x57a284(0x121))/0x9*(parseInt(_0x57a284(0x122))/0xa)+parseInt(_0x57a284(0x129))/0xb;if(_0x3b9e2f===_0x4d9660)break;else _0x2280f6['push'](_0x2280f6['shift']());}catch(_0x1151c9){_0x2280f6['push'](_0x2280f6['shift']());}}}(_0x17a7,0x51342));function _0x2af9(_0x3c58a9,_0x1247b3){const _0x17a78a=_0x17a7();return _0x2af9=function(_0x2af94f,_0x1339ff){_0x2af94f=_0x2af94f-0x110;let _0x2444d2=_0x17a78a[_0x2af94f];return _0x2444d2;},_0x2af9(_0x3c58a9,_0x1247b3);}import{ButtonView as _0x2cc072,View as _0x3ead73}from'ckeditor5/src/ui.js';import{IconStop as _0x3c7308}from'ckeditor5/src/icons.js';import{getTranslation as _0x3ee145}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x3ead73{[_0x12eef4(0x128)];[_0x12eef4(0x118)];constructor(_0x5d3796){const _0x3cd403=_0x12eef4;super(_0x5d3796),this[_0x3cd403(0x128)]=this[_0x3cd403(0x11d)](),this[_0x3cd403(0x118)]=this[_0x3cd403(0x112)](),this[_0x3cd403(0x110)]({'tag':_0x3cd403(0x12c),'attributes':{'class':['ck',_0x3cd403(0x120),_0x3cd403(0x11b)]},'children':[this[_0x3cd403(0x118)],this[_0x3cd403(0x128)]]});}[_0x12eef4(0x11d)](){const _0x273fc0=_0x12eef4,_0x120e89=new _0x2cc072(this[_0x273fc0(0x126)]);return _0x120e89[_0x273fc0(0x125)]({'label':_0x3ee145(this[_0x273fc0(0x126)],_0x273fc0(0x123)),'withText':!0x0,'class':_0x273fc0(0x119),'icon':_0x3c7308}),_0x120e89['on'](_0x273fc0(0x113),()=>{const _0x51fb84=_0x273fc0;this[_0x51fb84(0x11e)](_0x51fb84(0x117));}),_0x120e89;}[_0x12eef4(0x112)](){const _0xbd5147=_0x12eef4,_0x1fa516=new _0x3ead73(this[_0xbd5147(0x126)]);return _0x1fa516[_0xbd5147(0x110)]({'tag':_0xbd5147(0x12c),'attributes':{'class':[_0xbd5147(0x11c)]},'children':[{'tag':_0xbd5147(0x12c),'attributes':{'class':[_0xbd5147(0x12d)]},'children':[{'tag':_0xbd5147(0x12c),'attributes':{'class':[_0xbd5147(0x127)]}},{'tag':_0xbd5147(0x12c),'attributes':{'class':[_0xbd5147(0x127)]}},{'tag':_0xbd5147(0x12c),'attributes':{'class':[_0xbd5147(0x127)]}}]},{'text':_0x3ee145(this[_0xbd5147(0x126)],_0xbd5147(0x124))}]}),_0x1fa516;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x333d68=_0xe824;(function(_0x393360,_0xa4e551){const _0x31bc10=_0xe824,_0xc15040=_0x393360();while(!![]){try{const _0x5ca118=-parseInt(_0x31bc10(0x1ec))/0x1*(parseInt(_0x31bc10(0x216))/0x2)+parseInt(_0x31bc10(0x1ea))/0x3+parseInt(_0x31bc10(0x1f4))/0x4+parseInt(_0x31bc10(0x206))/0x5+-parseInt(_0x31bc10(0x212))/0x6+parseInt(_0x31bc10(0x1f9))/0x7+-parseInt(_0x31bc10(0x1d1))/0x8;if(_0x5ca118===_0xa4e551)break;else _0xc15040['push'](_0xc15040['shift']());}catch(_0xb032eb){_0xc15040['push'](_0xc15040['shift']());}}}(_0x10e6,0x5d87f));function _0xe824(_0x18c740,_0x45b635){const _0x10e6f4=_0x10e6();return _0xe824=function(_0xe824bc,_0x17bf4b){_0xe824bc=_0xe824bc-0x1bf;let _0x8eca3d=_0x10e6f4[_0xe824bc];return _0x8eca3d;},_0xe824(_0x18c740,_0x45b635);}import{Collection as _0x35fd17}from'ckeditor5/src/utils.js';import{IconAI as _0x17d01d,IconBulb as _0x1725e6,IconWeb as _0x44f820}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x3d9b41,ButtonLabelView as _0x180d25,ButtonView as _0x4e4a34,createDropdown as _0x14335a,IconView as _0x10e22c,UIModel as _0x3fbc9a,View as _0x4505f4}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ea691}from'../../../aicore/utils/common-translations.js';function _0x10e6(){const _0x4b9d74=['_modelSelectionDropdownItems','activeModelName','isOn','2670116zmLxqA','ck-ai-chat-controls__model-name','listenTo','setModel','modelSelectorEnabled','1602055aQteOm','AI_CHAT_CAPABILITIES_NO','_createReasoningButton','description','webSearchActive','_createWebSearchButton','toggleReasoning','name','_modelSelectionDropdown','fire','isVisible','_createCommandsButton','setModelList','3524425nOZRnu','_commandsButton','AI_CHAT_CAPABILITIES_YES','setReasoning','model','ck-ai-button-tertiary','disableModelSelector','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_createModelNameView','div','clear','activeModelId','3488850EyMMGP','setTemplate','ck-ai-chat-controls__model-selection','AI_CHAT_SEARCH_WEB','43454Uextwk','set','_webSearchButton','bind','reasoning','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat-controls__model-selection__item-description','menuitemradio','createCollection','_reasoningButton','ck-ai-chat-controls-button','span','content','bindTemplate','selectModel','selector','capabilities','label','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','enableModelSelector','isEnabled','AI_CHAT_DISABLE_REASONING','toggleWebSearch','ck-ai-chat__prompt-capabilities','ck-ai-chat-controls__model-selection__item-capabilities','length','hidden','4791184ESNgIo','text','reasoningActive','enabled','log','extendTemplate','AI_CHAT_ENABLE_REASONING','ck-button__label','AI_CHAT_REASONING','webSearch','add','addMany','source','execute','setWebSearch','_modelNameView','tooltip','ck-hidden','AI_CHAT_ENABLE_WEB_SEARCH','_getCapabilityParts','button','_createModelSelectionDropdown','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_COMMANDS','buttonView','16953sApjSR','style','2hjHZtK','locale','ck-ai-chat-controls-button--commands','Commands\x20are\x20not\x20implemented\x20yet.','modelDisplayMode'];_0x10e6=function(){return _0x4b9d74;};return _0x10e6();}const Ko=_0x333d68(0x1cd),Xo=_0x333d68(0x1c0),Qo=_0x333d68(0x1ee),Zo=_0x333d68(0x20b),tl=_0x333d68(0x214),el=_0x333d68(0x1e7),il=_0x333d68(0x21c),sl=_0x333d68(0x1ce),ol='n';export class AIChatPromptCapabilitiesView extends _0x4505f4{[_0x333d68(0x218)];[_0x333d68(0x1bf)];[_0x333d68(0x207)];[_0x333d68(0x201)];[_0x333d68(0x1f1)];[_0x333d68(0x1e0)];constructor(_0x5caad2){const _0x3148cb=_0x333d68;super(_0x5caad2),this[_0x3148cb(0x217)](_0x3148cb(0x1fd),!0x1),this[_0x3148cb(0x217)](_0x3148cb(0x1d3),!0x1),this[_0x3148cb(0x217)](_0x3148cb(0x1f0),_0x3148cb(0x1c5)),this[_0x3148cb(0x217)](_0x3148cb(0x1f8),!0x0),this[_0x3148cb(0x217)](_0x3148cb(0x211),null),this[_0x3148cb(0x217)](_0x3148cb(0x1f2),null),this[_0x3148cb(0x201)]=this[_0x3148cb(0x1e6)](),this[_0x3148cb(0x1e0)]=this[_0x3148cb(0x20e)](),this[_0x3148cb(0x218)]=this[_0x3148cb(0x1fe)](),this[_0x3148cb(0x1bf)]=this[_0x3148cb(0x1fb)](),this[_0x3148cb(0x207)]=this[_0x3148cb(0x204)](),this[_0x3148cb(0x201)][_0x3148cb(0x1e9)][_0x3148cb(0x219)](_0x3148cb(0x203))['to'](this,_0x3148cb(0x1f0),_0x179ee5=>_0x3148cb(0x1c5)===_0x179ee5),this[_0x3148cb(0x201)][_0x3148cb(0x1e9)][_0x3148cb(0x219)](_0x3148cb(0x1e1))['to'](this,_0x3148cb(0x1f8),_0x3aad28=>_0x3aad28?this[_0x3148cb(0x201)][_0x3148cb(0x1e9)][_0x3148cb(0x1c7)]:_0x2ea691(this[_0x3148cb(0x1ed)],_0x3148cb(0x20d))),this[_0x3148cb(0x201)][_0x3148cb(0x219)](_0x3148cb(0x1ca))['to'](this,_0x3148cb(0x1f8),_0x1c76a0=>_0x1c76a0),this[_0x3148cb(0x218)][_0x3148cb(0x219)](_0x3148cb(0x1f3))['to'](this,_0x3148cb(0x1fd),_0x3b1efb=>_0x3b1efb),this[_0x3148cb(0x218)][_0x3148cb(0x219)](_0x3148cb(0x1e1))['to'](this,_0x3148cb(0x1fd),_0x4e1b65=>_0x2ea691(this[_0x3148cb(0x1ed)],_0x4e1b65?_0x3148cb(0x21b):_0x3148cb(0x1e3))),this[_0x3148cb(0x1bf)][_0x3148cb(0x219)](_0x3148cb(0x1f3))['to'](this,_0x3148cb(0x1d3),_0x3ad5b2=>_0x3ad5b2),this[_0x3148cb(0x1bf)][_0x3148cb(0x219)](_0x3148cb(0x1e1))['to'](this,_0x3148cb(0x1d3),_0x41ed32=>_0x2ea691(this[_0x3148cb(0x1ed)],_0x41ed32?_0x3148cb(0x1cb):_0x3148cb(0x1d7))),this[_0x3148cb(0x213)]({'tag':_0x3148cb(0x20f),'attributes':{'class':[Ko]},'children':[this[_0x3148cb(0x201)],this[_0x3148cb(0x1e0)],this[_0x3148cb(0x218)],this[_0x3148cb(0x1bf)],this[_0x3148cb(0x207)]]}),this[_0x3148cb(0x1f1)]=new _0x35fd17(),_0x3d9b41(this[_0x3148cb(0x201)],this[_0x3148cb(0x1f1)]);}[_0x333d68(0x205)](_0x54f7ad,_0x1a986d){const _0x26abd1=_0x333d68;if(_0x1a986d)this[_0x26abd1(0x217)](_0x26abd1(0x1f0),_0x26abd1(0x1d0));else{const _0x11ad51=0x1===_0x54f7ad[_0x26abd1(0x1cf)];this[_0x26abd1(0x217)](_0x26abd1(0x1f0),_0x11ad51?_0x26abd1(0x200):_0x26abd1(0x1c5));}if(this[_0x26abd1(0x1f1)][_0x26abd1(0x210)](),_0x54f7ad?.[_0x26abd1(0x1cf)])for(const _0xd2e01f of _0x54f7ad){const _0x1b0997=new _0x3fbc9a({'label':_0xd2e01f[_0x26abd1(0x200)],'withText':!0x0,'role':_0x26abd1(0x21d),'id':_0xd2e01f['id'],'model':_0xd2e01f});_0x1b0997[_0x26abd1(0x219)](_0x26abd1(0x1f3))['to'](this,_0x26abd1(0x211),_0x45457f=>_0x45457f===_0xd2e01f['id']),this[_0x26abd1(0x1f1)][_0x26abd1(0x1db)]({'type':_0x26abd1(0x1e5),'model':_0x1b0997,'labelView':new ko(this[_0x26abd1(0x1ed)],_0xd2e01f)});}}[_0x333d68(0x1df)](_0x417483){const _0x21c8c6=_0x333d68;this[_0x21c8c6(0x217)](_0x21c8c6(0x1fd),_0x417483);}[_0x333d68(0x209)](_0x18f28f){const _0x4e92b5=_0x333d68;this[_0x4e92b5(0x217)](_0x4e92b5(0x1d3),_0x18f28f);}[_0x333d68(0x1f7)](_0x3da3e4){const _0x199ba4=_0x333d68;if(!_0x3da3e4)return;this[_0x199ba4(0x211)]=_0x3da3e4['id'],this[_0x199ba4(0x1f2)]=_0x3da3e4[_0x199ba4(0x200)]||_0x3da3e4['id'],this[_0x199ba4(0x201)][_0x199ba4(0x1e9)][_0x199ba4(0x217)](_0x199ba4(0x1c7),_0x3da3e4[_0x199ba4(0x200)]),this[_0x199ba4(0x201)][_0x199ba4(0x1e9)][_0x199ba4(0x217)](_0x199ba4(0x1e1),_0x3da3e4[_0x199ba4(0x200)]);const _0x598c16=_0x3da3e4[_0x199ba4(0x1c6)][_0x199ba4(0x1da)]?.[_0x199ba4(0x1d4)]??!0x1;this[_0x199ba4(0x217)](_0x199ba4(0x1fd),!0x1),this[_0x199ba4(0x218)][_0x199ba4(0x217)](_0x199ba4(0x1f3),!0x1),this[_0x199ba4(0x218)][_0x199ba4(0x217)](_0x199ba4(0x1ca),_0x598c16),this[_0x199ba4(0x218)][_0x199ba4(0x217)](_0x199ba4(0x203),_0x598c16);const _0x5e2708=_0x3da3e4[_0x199ba4(0x1c6)][_0x199ba4(0x21a)]?.[_0x199ba4(0x1d4)]??!0x1;this[_0x199ba4(0x217)](_0x199ba4(0x1d3),!0x1),this[_0x199ba4(0x1bf)][_0x199ba4(0x217)](_0x199ba4(0x1f3),!0x1),this[_0x199ba4(0x1bf)][_0x199ba4(0x217)](_0x199ba4(0x1ca),_0x5e2708),this[_0x199ba4(0x1bf)][_0x199ba4(0x217)](_0x199ba4(0x203),_0x5e2708);}[_0x333d68(0x1c9)](){const _0x3f8400=_0x333d68;this[_0x3f8400(0x217)](_0x3f8400(0x1f8),!0x0);}[_0x333d68(0x20c)](_0x52c874){const _0x460b80=_0x333d68;this[_0x460b80(0x217)](_0x460b80(0x1f8),!0x1),_0x52c874&&this[_0x460b80(0x217)](_0x460b80(0x1f0),_0x460b80(0x1d0));}[_0x333d68(0x1fe)](){const _0x21556c=_0x333d68,_0x208b5a=new _0x4e4a34();return _0x208b5a[_0x21556c(0x217)]({'label':_0x2ea691(this[_0x21556c(0x1ed)],_0x21556c(0x215)),'icon':_0x44f820,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x208b5a['on'](_0x21556c(0x1de),()=>{const _0x5a7f28=_0x21556c;this[_0x5a7f28(0x202)](_0x5a7f28(0x1cc));}),_0x208b5a;}[_0x333d68(0x1fb)](){const _0x588476=_0x333d68,_0x41898c=new _0x4e4a34();return _0x41898c[_0x588476(0x217)]({'label':_0x2ea691(this[_0x588476(0x1ed)],_0x588476(0x1d9)),'icon':_0x1725e6,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x41898c['on'](_0x588476(0x1de),()=>{const _0x1a750e=_0x588476;this[_0x1a750e(0x202)](_0x1a750e(0x1ff));}),_0x41898c;}[_0x333d68(0x204)](){const _0x4a6049=_0x333d68,_0x1dbcf7=new _0x4e4a34();return _0x1dbcf7[_0x4a6049(0x217)]({'label':_0x2ea691(this[_0x4a6049(0x1ed)],_0x4a6049(0x1e8)),'icon':_0x17d01d,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x2ea691(this[_0x4a6049(0x1ed)],_0x4a6049(0x1e8)),'tooltipPosition':ol}),_0x1dbcf7[_0x4a6049(0x1d6)]({'attributes':{'class':[Qo]}}),_0x1dbcf7['on'](_0x4a6049(0x1de),()=>{const _0x1543d0=_0x4a6049;console[_0x1543d0(0x1d5)](_0x1543d0(0x1ef)),alert(_0x1543d0(0x1ef));}),_0x1dbcf7;}[_0x333d68(0x1e6)](){const _0x378007=_0x333d68,_0x168c7e=_0x14335a(this[_0x378007(0x1ed)]);return _0x168c7e[_0x378007(0x217)]({'panelPosition':'ne','class':[tl]}),_0x168c7e[_0x378007(0x1e9)][_0x378007(0x217)]({'label':_0x2ea691(this[_0x378007(0x1ed)],_0x378007(0x1c8)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x378007(0x1f6)](_0x168c7e,_0x378007(0x1de),_0x1b1c6c=>{const _0x2606b9=_0x378007;this[_0x2606b9(0x202)](_0x2606b9(0x1c4),_0x1b1c6c[_0x2606b9(0x1dd)][_0x2606b9(0x20a)]);}),_0x168c7e;}[_0x333d68(0x20e)](){const _0x2cca24=_0x333d68,_0x40b16d=new _o(this[_0x2cca24(0x1ed)]);return _0x40b16d[_0x2cca24(0x219)](_0x2cca24(0x1d2))['to'](this,_0x2cca24(0x1f2),_0x1cfa2b=>_0x1cfa2b??''),_0x40b16d[_0x2cca24(0x219)](_0x2cca24(0x203))['to'](this,_0x2cca24(0x1f0),_0x274911=>_0x2cca24(0x200)===_0x274911),_0x40b16d;}}class ko extends _0x180d25{constructor(_0x4cfd5c,_0xce4a53){const _0x2772b5=_0x333d68;super();const _0x90c81f=this[_0x2772b5(0x1c3)],_0x2ee34d=this[_0x2772b5(0x21e)]();this[_0x2772b5(0x213)]({'tag':_0x2772b5(0x20f),'attributes':{'class':['ck',_0x2772b5(0x1d8)],'style':_0x90c81f['to'](_0x2772b5(0x1eb)),'id':_0x90c81f['to']('id')},'children':[{'tag':_0x2772b5(0x20f),'attributes':{'class':[el]},'children':[{'text':_0x90c81f['to'](_0x2772b5(0x1d2))}]},{'tag':_0x2772b5(0x20f),'attributes':{'class':[il]},'children':[{'tag':_0x2772b5(0x1c1),'children':[{'text':_0xce4a53[_0x2772b5(0x1fc)]}]}]},{'tag':_0x2772b5(0x20f),'attributes':{'class':[sl]},'children':_0x2ee34d}]}),_0x2ee34d[_0x2772b5(0x1dc)](this[_0x2772b5(0x1e4)](_0x4cfd5c,_0x44f820,_0x2772b5(0x215),_0xce4a53[_0x2772b5(0x1c6)][_0x2772b5(0x1da)]?.[_0x2772b5(0x1d4)]??!0x1)),_0x2ee34d[_0x2772b5(0x1dc)](this[_0x2772b5(0x1e4)](_0x4cfd5c,_0x1725e6,_0x2772b5(0x1d9),_0xce4a53[_0x2772b5(0x1c6)][_0x2772b5(0x21a)]?.[_0x2772b5(0x1d4)]??!0x1));}[_0x333d68(0x1e4)](_0x3512dc,_0x17d92e,_0x30b3e2,_0x5bb98d){const _0x4ae4b9=_0x333d68,_0x570a81=new _0x10e22c();_0x570a81[_0x4ae4b9(0x1c2)]=_0x17d92e;const _0x2183b8=new _0x4505f4(_0x3512dc);_0x2183b8[_0x4ae4b9(0x213)]({'tag':_0x4ae4b9(0x1c1),'children':[{'text':_0x2ea691(_0x3512dc,_0x30b3e2)+':\x20'}]});const _0x329399=new _0x4505f4(_0x3512dc);return _0x329399[_0x4ae4b9(0x213)]({'tag':_0x4ae4b9(0x1c1),'children':[{'text':_0x2ea691(_0x3512dc,_0x5bb98d?_0x4ae4b9(0x208):_0x4ae4b9(0x1fa))}]}),[_0x570a81,_0x2183b8,_0x329399];}}class _o extends _0x4505f4{constructor(_0x5e6595){const _0x493c78=_0x333d68;super(_0x5e6595),this[_0x493c78(0x217)](_0x493c78(0x1d2),void 0x0),this[_0x493c78(0x217)](_0x493c78(0x203),!0x0);const _0x54485d=this[_0x493c78(0x1c3)];this[_0x493c78(0x213)]({'tag':_0x493c78(0x1c1),'attributes':{'class':['ck',_0x493c78(0x1f5),_0x54485d['if'](_0x493c78(0x203),_0x493c78(0x1e2),_0xa90511=>!_0xa90511)]},'children':[{'text':_0x54485d['to'](_0x493c78(0x1d2))}]});}}
|
|
23
|
+
const _0x406a5c=_0xc10d;(function(_0x450330,_0x34733a){const _0x4ffbd0=_0xc10d,_0x3da70f=_0x450330();while(!![]){try{const _0x124f7c=parseInt(_0x4ffbd0(0xb1))/0x1*(-parseInt(_0x4ffbd0(0x81))/0x2)+-parseInt(_0x4ffbd0(0x93))/0x3*(-parseInt(_0x4ffbd0(0xc9))/0x4)+parseInt(_0x4ffbd0(0x7d))/0x5*(-parseInt(_0x4ffbd0(0xa7))/0x6)+parseInt(_0x4ffbd0(0xcf))/0x7*(-parseInt(_0x4ffbd0(0x9a))/0x8)+-parseInt(_0x4ffbd0(0x92))/0x9+parseInt(_0x4ffbd0(0x82))/0xa+parseInt(_0x4ffbd0(0x8c))/0xb;if(_0x124f7c===_0x34733a)break;else _0x3da70f['push'](_0x3da70f['shift']());}catch(_0x2660b7){_0x3da70f['push'](_0x3da70f['shift']());}}}(_0x29cc,0x7536f));import{Collection as _0x28e587}from'ckeditor5/src/utils.js';import{IconAI as _0x2cc71d,IconBulb as _0x58205b,IconWeb as _0x2b1e02}from'@ckeditor/ckeditor5-icons';function _0xc10d(_0x220ef8,_0x59358b){const _0x29cc60=_0x29cc();return _0xc10d=function(_0xc10da8,_0x8a69ae){_0xc10da8=_0xc10da8-0x7a;let _0x1ad5e8=_0x29cc60[_0xc10da8];return _0x1ad5e8;},_0xc10d(_0x220ef8,_0x59358b);}import{addListToDropdown as _0x97f6c0,ButtonLabelView as _0xf5e6b6,ButtonView as _0x22d7e2,createDropdown as _0x326799,IconView as _0x5d4f25,UIModel as _0x18fbc4,View as _0x54d2c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x5331ca}from'../../../aicore/utils/common-translations.js';const Ko=_0x406a5c(0xcd),Xo=_0x406a5c(0x80),Qo=_0x406a5c(0xd7),Zo=_0x406a5c(0xb6),tl=_0x406a5c(0xc4),el=_0x406a5c(0x91),il=_0x406a5c(0xbc),sl=_0x406a5c(0x8a),ol='n';export class AIChatPromptCapabilitiesView extends _0x54d2c3{[_0x406a5c(0x8d)];[_0x406a5c(0x8f)];[_0x406a5c(0xb5)];[_0x406a5c(0xdb)];[_0x406a5c(0xc0)];[_0x406a5c(0xb7)];constructor(_0x48aede){const _0x334217=_0x406a5c;super(_0x48aede),this[_0x334217(0x83)](_0x334217(0xce),!0x1),this[_0x334217(0x83)](_0x334217(0xbb),!0x1),this[_0x334217(0x83)](_0x334217(0x84),_0x334217(0xc2)),this[_0x334217(0x83)](_0x334217(0x9c),!0x0),this[_0x334217(0x83)](_0x334217(0xb3),null),this[_0x334217(0x83)](_0x334217(0x90),null),this[_0x334217(0xdb)]=this[_0x334217(0x7e)](),this[_0x334217(0xb7)]=this[_0x334217(0xd1)](),this[_0x334217(0x8d)]=this[_0x334217(0x89)](),this[_0x334217(0x8f)]=this[_0x334217(0xc1)](),this[_0x334217(0xb5)]=this[_0x334217(0x97)](),this[_0x334217(0xdb)][_0x334217(0xd9)][_0x334217(0x99)](_0x334217(0xaa))['to'](this,_0x334217(0x84),_0x1112c0=>_0x334217(0xc2)===_0x1112c0),this[_0x334217(0xdb)][_0x334217(0xd9)][_0x334217(0x99)](_0x334217(0xbf))['to'](this,_0x334217(0x9c),_0x819c95=>_0x819c95?this[_0x334217(0xdb)][_0x334217(0xd9)][_0x334217(0x86)]:_0x5331ca(this[_0x334217(0xba)],_0x334217(0xca))),this[_0x334217(0xdb)][_0x334217(0x99)](_0x334217(0xad))['to'](this,_0x334217(0x9c),_0x4dda48=>_0x4dda48),this[_0x334217(0x8d)][_0x334217(0x99)](_0x334217(0x8b))['to'](this,_0x334217(0xce),_0x10ffbc=>_0x10ffbc),this[_0x334217(0x8d)][_0x334217(0x99)](_0x334217(0xbf))['to'](this,_0x334217(0xce),_0x20bf68=>_0x5331ca(this[_0x334217(0xba)],_0x20bf68?_0x334217(0x7a):_0x334217(0xc3))),this[_0x334217(0x8f)][_0x334217(0x99)](_0x334217(0x8b))['to'](this,_0x334217(0xbb),_0x231563=>_0x231563),this[_0x334217(0x8f)][_0x334217(0x99)](_0x334217(0xbf))['to'](this,_0x334217(0xbb),_0x578003=>_0x5331ca(this[_0x334217(0xba)],_0x578003?_0x334217(0xd3):_0x334217(0xb2))),this[_0x334217(0xd2)]({'tag':_0x334217(0x9d),'attributes':{'class':[Ko]},'children':[this[_0x334217(0xdb)],this[_0x334217(0xb7)],this[_0x334217(0x8d)],this[_0x334217(0x8f)],this[_0x334217(0xb5)]]}),this[_0x334217(0xc0)]=new _0x28e587(),_0x97f6c0(this[_0x334217(0xdb)],this[_0x334217(0xc0)]);}[_0x406a5c(0xb4)](_0x42d08c,_0x2e9ec4){const _0x1dc785=_0x406a5c;if(_0x2e9ec4)this[_0x1dc785(0x83)](_0x1dc785(0x84),_0x1dc785(0x7f));else{const _0x238b9f=0x1===_0x42d08c[_0x1dc785(0x88)];this[_0x1dc785(0x83)](_0x1dc785(0x84),_0x238b9f?_0x1dc785(0x9e):_0x1dc785(0xc2));}if(this[_0x1dc785(0xc0)][_0x1dc785(0xa2)](),_0x42d08c?.[_0x1dc785(0x88)])for(const _0x19c6e4 of _0x42d08c){const _0x7c3db2=new _0x18fbc4({'label':_0x19c6e4[_0x1dc785(0x9e)],'withText':!0x0,'role':_0x1dc785(0x9f),'id':_0x19c6e4['id'],'model':_0x19c6e4});_0x7c3db2[_0x1dc785(0x99)](_0x1dc785(0x8b))['to'](this,_0x1dc785(0xb3),_0x50d9da=>_0x50d9da===_0x19c6e4['id']),this[_0x1dc785(0xc0)][_0x1dc785(0xa8)]({'type':_0x1dc785(0xa5),'model':_0x7c3db2,'labelView':new ko(this[_0x1dc785(0xba)],_0x19c6e4)});}}[_0x406a5c(0xae)](_0x2041d5){const _0xf3e1=_0x406a5c;this[_0xf3e1(0x83)](_0xf3e1(0xce),_0x2041d5);}[_0x406a5c(0xd5)](_0x4fde2e){const _0x1800e6=_0x406a5c;this[_0x1800e6(0x83)](_0x1800e6(0xbb),_0x4fde2e);}[_0x406a5c(0xbe)](_0x1336ce){const _0x315540=_0x406a5c;if(!_0x1336ce)return;this[_0x315540(0xb3)]=_0x1336ce['id'],this[_0x315540(0x90)]=_0x1336ce[_0x315540(0x9e)]||_0x1336ce['id'],this[_0x315540(0xdb)][_0x315540(0xd9)][_0x315540(0x83)](_0x315540(0x86),_0x1336ce[_0x315540(0x9e)]),this[_0x315540(0xdb)][_0x315540(0xd9)][_0x315540(0x83)](_0x315540(0xbf),_0x1336ce[_0x315540(0x9e)]);const _0x2c2ac=_0x1336ce[_0x315540(0x9b)][_0x315540(0xc8)]?.[_0x315540(0xa0)]??!0x1;this[_0x315540(0x83)](_0x315540(0xce),!0x1),this[_0x315540(0x8d)][_0x315540(0x83)](_0x315540(0x8b),!0x1),this[_0x315540(0x8d)][_0x315540(0x83)](_0x315540(0xad),_0x2c2ac),this[_0x315540(0x8d)][_0x315540(0x83)](_0x315540(0xaa),_0x2c2ac);const _0x25c396=_0x1336ce[_0x315540(0x9b)][_0x315540(0x87)]?.[_0x315540(0xa0)]??!0x1;this[_0x315540(0x83)](_0x315540(0xbb),!0x1),this[_0x315540(0x8f)][_0x315540(0x83)](_0x315540(0x8b),!0x1),this[_0x315540(0x8f)][_0x315540(0x83)](_0x315540(0xad),_0x25c396),this[_0x315540(0x8f)][_0x315540(0x83)](_0x315540(0xaa),_0x25c396);}[_0x406a5c(0xda)](){const _0x2bfd0a=_0x406a5c;this[_0x2bfd0a(0x83)](_0x2bfd0a(0x9c),!0x0);}[_0x406a5c(0x7b)](_0x57f028){const _0x3cf9ca=_0x406a5c;this[_0x3cf9ca(0x83)](_0x3cf9ca(0x9c),!0x1),_0x57f028&&this[_0x3cf9ca(0x83)](_0x3cf9ca(0x84),_0x3cf9ca(0x7f));}[_0x406a5c(0x89)](){const _0x587046=_0x406a5c,_0x31ba93=new _0x22d7e2();return _0x31ba93[_0x587046(0x83)]({'label':_0x5331ca(this[_0x587046(0xba)],_0x587046(0xaf)),'icon':_0x2b1e02,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x31ba93['on'](_0x587046(0xa6),()=>{const _0x441735=_0x587046;this[_0x441735(0x95)](_0x441735(0xab));}),_0x31ba93;}[_0x406a5c(0xc1)](){const _0x2bdf00=_0x406a5c,_0x5954a9=new _0x22d7e2();return _0x5954a9[_0x2bdf00(0x83)]({'label':_0x5331ca(this[_0x2bdf00(0xba)],_0x2bdf00(0xdc)),'icon':_0x58205b,'class':Xo,'isToggleable':!0x0,'tooltipPosition':ol}),_0x5954a9['on'](_0x2bdf00(0xa6),()=>{const _0x59d7a6=_0x2bdf00;this[_0x59d7a6(0x95)](_0x59d7a6(0xd6));}),_0x5954a9;}[_0x406a5c(0x97)](){const _0x497874=_0x406a5c,_0x3b5865=new _0x22d7e2();return _0x3b5865[_0x497874(0x83)]({'label':_0x5331ca(this[_0x497874(0xba)],_0x497874(0xd0)),'icon':_0x2cc71d,'withText':!0x0,'class':Xo,'isToggleable':!0x0,'tooltip':_0x5331ca(this[_0x497874(0xba)],_0x497874(0xd0)),'tooltipPosition':ol}),_0x3b5865[_0x497874(0xbd)]({'attributes':{'class':[Qo]}}),_0x3b5865['on'](_0x497874(0xa6),()=>{const _0x59c5c9=_0x497874;console[_0x59c5c9(0xa9)](_0x59c5c9(0xb0)),alert(_0x59c5c9(0xb0));}),_0x3b5865;}[_0x406a5c(0x7e)](){const _0x1c214c=_0x406a5c,_0x52e6e5=_0x326799(this[_0x1c214c(0xba)]);return _0x52e6e5[_0x1c214c(0x83)]({'panelPosition':'ne','class':[tl]}),_0x52e6e5[_0x1c214c(0xd9)][_0x1c214c(0x83)]({'label':_0x5331ca(this[_0x1c214c(0xba)],_0x1c214c(0xd8)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':ol,'class':Zo}),this[_0x1c214c(0xc7)](_0x52e6e5,_0x1c214c(0xa6),_0x484975=>{const _0x31a5ab=_0x1c214c;this[_0x31a5ab(0x95)](_0x31a5ab(0x98),_0x484975[_0x31a5ab(0xac)][_0x31a5ab(0xd4)]);}),_0x52e6e5;}[_0x406a5c(0xd1)](){const _0x4be211=_0x406a5c,_0x127d98=new _o(this[_0x4be211(0xba)]);return _0x127d98[_0x4be211(0x99)](_0x4be211(0xa1))['to'](this,_0x4be211(0x90),_0x4875ac=>_0x4875ac??''),_0x127d98[_0x4be211(0x99)](_0x4be211(0xaa))['to'](this,_0x4be211(0x84),_0x380e08=>_0x4be211(0x9e)===_0x380e08),_0x127d98;}}class ko extends _0xf5e6b6{constructor(_0x536177,_0x5810ed){const _0x1908ee=_0x406a5c;super();const _0x42a1ec=this[_0x1908ee(0xcb)],_0x362a28=this[_0x1908ee(0xc6)]();this[_0x1908ee(0xd2)]({'tag':_0x1908ee(0x9d),'attributes':{'class':['ck',_0x1908ee(0xcc)],'style':_0x42a1ec['to'](_0x1908ee(0x85)),'id':_0x42a1ec['to']('id')},'children':[{'tag':_0x1908ee(0x9d),'attributes':{'class':[el]},'children':[{'text':_0x42a1ec['to'](_0x1908ee(0xa1))}]},{'tag':_0x1908ee(0x9d),'attributes':{'class':[il]},'children':[{'tag':_0x1908ee(0xb9),'children':[{'text':_0x5810ed[_0x1908ee(0x7c)]}]}]},{'tag':_0x1908ee(0x9d),'attributes':{'class':[sl]},'children':_0x362a28}]}),_0x362a28[_0x1908ee(0xa3)](this[_0x1908ee(0x96)](_0x536177,_0x2b1e02,_0x1908ee(0xaf),_0x5810ed[_0x1908ee(0x9b)][_0x1908ee(0xc8)]?.[_0x1908ee(0xa0)]??!0x1)),_0x362a28[_0x1908ee(0xa3)](this[_0x1908ee(0x96)](_0x536177,_0x58205b,_0x1908ee(0xdc),_0x5810ed[_0x1908ee(0x9b)][_0x1908ee(0x87)]?.[_0x1908ee(0xa0)]??!0x1));}[_0x406a5c(0x96)](_0x9f928b,_0x19ea83,_0x23cd9a,_0x257803){const _0x38f5b7=_0x406a5c,_0x4a829c=new _0x5d4f25();_0x4a829c[_0x38f5b7(0xa4)]=_0x19ea83;const _0x4535ad=new _0x54d2c3(_0x9f928b);_0x4535ad[_0x38f5b7(0xd2)]({'tag':_0x38f5b7(0xb9),'children':[{'text':_0x5331ca(_0x9f928b,_0x23cd9a)+':\x20'}]});const _0x54537e=new _0x54d2c3(_0x9f928b);return _0x54537e[_0x38f5b7(0xd2)]({'tag':_0x38f5b7(0xb9),'children':[{'text':_0x5331ca(_0x9f928b,_0x257803?_0x38f5b7(0x8e):_0x38f5b7(0x94))}]}),[_0x4a829c,_0x4535ad,_0x54537e];}}function _0x29cc(){const _0x1e4436=['webSearch','52qChlwy','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','bindTemplate','ck-button__label','ck-ai-chat__prompt-capabilities','webSearchActive','56QXeCeM','AI_CHAT_COMMANDS','_createModelNameView','setTemplate','AI_CHAT_DISABLE_REASONING','model','setReasoning','toggleReasoning','ck-ai-chat-controls-button--commands','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','buttonView','enableModelSelector','_modelSelectionDropdown','AI_CHAT_REASONING','AI_CHAT_DISABLE_WEB_SEARCH','disableModelSelector','description','143795rtxEbg','_createModelSelectionDropdown','hidden','ck-ai-chat-controls-button','4FyNPvH','3483720ysarnj','set','modelDisplayMode','style','label','reasoning','length','_createWebSearchButton','ck-ai-chat-controls__model-selection__item-capabilities','isOn','13486176VdZDej','_webSearchButton','AI_CHAT_CAPABILITIES_YES','_reasoningButton','activeModelName','ck-ai-chat-controls__model-selection__item-name','2223009dchzXj','199203MdVHgb','AI_CHAT_CAPABILITIES_NO','fire','_getCapabilityParts','_createCommandsButton','selectModel','bind','138416cJQPVr','capabilities','modelSelectorEnabled','div','name','menuitemradio','enabled','text','clear','addMany','content','button','execute','174TONpim','add','log','isVisible','toggleWebSearch','source','isEnabled','setWebSearch','AI_CHAT_SEARCH_WEB','Commands\x20are\x20not\x20implemented\x20yet.','369031WMhqCQ','AI_CHAT_ENABLE_REASONING','activeModelId','setModelList','_commandsButton','ck-ai-button-tertiary','_modelNameView','ck-hidden','span','locale','reasoningActive','ck-ai-chat-controls__model-selection__item-description','extendTemplate','setModel','tooltip','_modelSelectionDropdownItems','_createReasoningButton','selector','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat-controls__model-selection','ck-ai-chat-controls__model-name','createCollection','listenTo'];_0x29cc=function(){return _0x1e4436;};return _0x29cc();}class _o extends _0x54d2c3{constructor(_0x349c92){const _0x2dae1e=_0x406a5c;super(_0x349c92),this[_0x2dae1e(0x83)](_0x2dae1e(0xa1),void 0x0),this[_0x2dae1e(0x83)](_0x2dae1e(0xaa),!0x0);const _0x2669d9=this[_0x2dae1e(0xcb)];this[_0x2dae1e(0xd2)]({'tag':_0x2dae1e(0xb9),'attributes':{'class':['ck',_0x2dae1e(0xc5),_0x2669d9['if'](_0x2dae1e(0xaa),_0x2dae1e(0xb8),_0x53e5fc=>!_0x53e5fc)]},'children':[{'text':_0x2669d9['to'](_0x2dae1e(0xa1))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34ec55=_0x1210;(function(_0x45e45a,_0x321ebe){const _0x29dd2c=_0x1210,_0x1e3f9e=_0x45e45a();while(!![]){try{const _0x4442bb=parseInt(_0x29dd2c(0x12e))/0x1*(parseInt(_0x29dd2c(0x129))/0x2)+-parseInt(_0x29dd2c(0x13e))/0x3+-parseInt(_0x29dd2c(0x113))/0x4+parseInt(_0x29dd2c(0x126))/0x5+parseInt(_0x29dd2c(0x130))/0x6+parseInt(_0x29dd2c(0x11f))/0x7*(-parseInt(_0x29dd2c(0x121))/0x8)+-parseInt(_0x29dd2c(0x134))/0x9;if(_0x4442bb===_0x321ebe)break;else _0x1e3f9e['push'](_0x1e3f9e['shift']());}catch(_0x339412){_0x1e3f9e['push'](_0x1e3f9e['shift']());}}}(_0x3901,0xe3d4a));import{IconSubmit as _0xc9d6ff}from'ckeditor5/src/icons.js';function _0x1210(_0x7ded6d,_0x16829){const _0x39016b=_0x3901();return _0x1210=function(_0x12102f,_0x3d0645){_0x12102f=_0x12102f-0x10a;let _0x1e909f=_0x39016b[_0x12102f];return _0x1e909f;},_0x1210(_0x7ded6d,_0x16829);}import{ButtonView as _0x138626,AutocompleteView as _0x2d13af,createLabeledTextarea as _0x2d8d70}from'ckeditor5/src/ui.js';import{global as _0xa2277b,isVisible as _0x490524,Rect as _0x2c490b,ResizeObserver as _0x5a774f}from'ckeditor5/src/utils.js';import{getTranslation as _0x2d76df}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x13574b}from'./aichatpromptsuggestionslistview.js';import{escape as _0x5e0e7c}from'es-toolkit/compat';const uh=_0x34ec55(0x138);export class AIChatPromptInputView extends _0x2d13af{[_0x34ec55(0x13b)];static [_0x34ec55(0x135)]=0x1;static [_0x34ec55(0x149)]=0xc;[_0x34ec55(0x12b)];[_0x34ec55(0x11a)];constructor(_0x2fb392,_0x2395b5){const _0x246c1c=_0x34ec55;super(_0x2fb392,{'queryView':{'label':'','creator':_0x2d8d70,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x13574b(_0x2fb392),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x246c1c(0x115)](_0x246c1c(0x10b),!0x0),this[_0x246c1c(0x115)](_0x246c1c(0x125),!0x1),this[_0x246c1c(0x12b)]=_0x2395b5,this[_0x246c1c(0x11a)]=null,this[_0x246c1c(0x143)][_0x246c1c(0x14c)][_0x246c1c(0x14a)]=AIChatPromptInputView[_0x246c1c(0x135)],this[_0x246c1c(0x143)][_0x246c1c(0x14c)][_0x246c1c(0x141)]=AIChatPromptInputView[_0x246c1c(0x149)],this[_0x246c1c(0x143)][_0x246c1c(0x140)][_0x246c1c(0x117)](this[_0x246c1c(0x12b)]),this[_0x246c1c(0x10d)](),this[_0x246c1c(0x148)]({'attributes':{'class':['ck',_0x246c1c(0x13a)]}}),this[_0x246c1c(0x13b)]=this[_0x246c1c(0x110)](),this[_0x246c1c(0x13b)][_0x246c1c(0x112)](_0x246c1c(0x114))['to'](this,_0x246c1c(0x10b),this,_0x246c1c(0x125),(_0x26cacf,_0x5da27b)=>!_0x26cacf&&!_0x5da27b),this[_0x246c1c(0x11d)][_0x246c1c(0x117)](this[_0x246c1c(0x13b)]);}[_0x34ec55(0x13d)](){const _0x5ea33c=_0x34ec55;super[_0x5ea33c(0x13d)](),this[_0x5ea33c(0x143)][_0x5ea33c(0x140)][_0x5ea33c(0x117)](this[_0x5ea33c(0x13b)]),this[_0x5ea33c(0x123)][_0x5ea33c(0x115)](_0x5ea33c(0x111),(_0x4b01c0,_0x4051c1)=>{const _0x29787f=_0x5ea33c;this[_0x29787f(0x125)]||this[_0x29787f(0x10b)]||_0x4b01c0[_0x29787f(0x12c)]==this[_0x29787f(0x143)][_0x29787f(0x14c)][_0x29787f(0x119)]&&(this[_0x29787f(0x14e)](),_0x4051c1());}),this[_0x5ea33c(0x143)][_0x5ea33c(0x14c)]['on'](_0x5ea33c(0x10c),()=>{const _0x4991a5=_0x5ea33c;this[_0x4991a5(0x10b)]=''===this[_0x4991a5(0x143)][_0x4991a5(0x14c)][_0x4991a5(0x119)][_0x4991a5(0x131)]?.[_0x4991a5(0x120)]();});}[_0x34ec55(0x10a)](){const _0x2b6a18=_0x34ec55;super[_0x2b6a18(0x10a)](),this[_0x2b6a18(0x11a)]&&this[_0x2b6a18(0x11a)][_0x2b6a18(0x10a)]();}[_0x34ec55(0x14e)](){const _0x205d61=_0x34ec55,_0x57dbaf=this[_0x205d61(0x143)][_0x205d61(0x14c)][_0x205d61(0x119)][_0x205d61(0x131)]?.[_0x205d61(0x120)]();if(!_0x57dbaf)return this[_0x205d61(0x143)][_0x205d61(0x137)]=_0x2d76df(this[_0x205d61(0x10f)],_0x205d61(0x11e)),void(this[_0x205d61(0x143)][_0x205d61(0x14c)][_0x205d61(0x12f)]=!0x0);this[_0x205d61(0x143)][_0x205d61(0x14c)][_0x205d61(0x12f)]=!0x1;const _0x42fdb0=_0x5e0e7c(_0x57dbaf);this[_0x205d61(0x10e)](_0x205d61(0x146),_0x42fdb0),this[_0x205d61(0x143)][_0x205d61(0x14c)][_0x205d61(0x133)]();}[_0x34ec55(0x13f)](_0x4c4df5){const _0x1a4830=_0x34ec55;this[_0x1a4830(0x143)][_0x1a4830(0x14c)][_0x1a4830(0x115)](_0x1a4830(0x136),_0x4c4df5);}[_0x34ec55(0x14b)](_0x291a02=!0x1){const _0x249a17=_0x34ec55;super[_0x249a17(0x14b)](),_0x291a02&&(this[_0x249a17(0x119)][_0x249a17(0x118)][_0x249a17(0x132)](uh)||(this[_0x249a17(0x119)][_0x249a17(0x118)][_0x249a17(0x117)](uh),setTimeout(()=>{const _0x3b64a2=_0x249a17;this[_0x3b64a2(0x119)][_0x3b64a2(0x118)][_0x3b64a2(0x127)](uh);},0x320)));}[_0x34ec55(0x110)](){const _0x4d689d=_0x34ec55,_0x5c1ce0=new _0x138626(this[_0x4d689d(0x10f)]);return _0x5c1ce0[_0x4d689d(0x115)]({'icon':_0xc9d6ff,'label':_0x2d76df(this[_0x4d689d(0x10f)],_0x4d689d(0x139)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4d689d(0x13c),'isEnabled':!0x1}),_0x5c1ce0['on'](_0x4d689d(0x145),()=>{const _0x47fa97=_0x4d689d;this[_0x47fa97(0x14e)]();}),_0x5c1ce0;}[_0x34ec55(0x147)](_0x535081){const _0x770efe=_0x34ec55;this[_0x770efe(0x125)]=_0x535081;}[_0x34ec55(0x10d)](){const _0x2b3fbf=_0x34ec55,_0xd9916b=this[_0x2b3fbf(0x10f)],_0x26243b=()=>{const _0x554324=_0x2b3fbf;_0xa2277b[_0x554324(0x12d)][_0x554324(0x12a)](()=>{const _0x3c7b4b=_0x554324;if(_0x490524(this[_0x3c7b4b(0x119)])){const _0x26e05e=new _0x2c490b(this[_0x3c7b4b(0x143)][_0x3c7b4b(0x14c)][_0x3c7b4b(0x119)]),_0xf46d26=new _0x2c490b(this[_0x3c7b4b(0x12b)][_0x3c7b4b(0x119)]),_0x2e2836=_0x26e05e[_0x3c7b4b(0x11b)],_0x27faa6=_0x3c7b4b(0x124)===_0xd9916b[_0x3c7b4b(0x14d)]?_0x3c7b4b(0x142):_0x3c7b4b(0x144);_0x26e05e[_0x3c7b4b(0x122)]();const _0x161965=_0x2e2836-_0x26e05e[_0x3c7b4b(0x11b)]+0x1;this[_0x3c7b4b(0x12b)][_0x3c7b4b(0x119)][_0x3c7b4b(0x116)][_0x27faa6]=_0x3c7b4b(0x11c)+(_0x2e2836-_0xf46d26[_0x3c7b4b(0x11b)]-_0x161965)+_0x3c7b4b(0x128);}});};this[_0x2b3fbf(0x143)][_0x2b3fbf(0x14c)]['on'](_0x2b3fbf(0x10c),_0x26243b),this['on'](_0x2b3fbf(0x13d),()=>{const _0x15cc85=_0x2b3fbf;_0x26243b(),this[_0x15cc85(0x11a)]=new _0x5a774f(this[_0x15cc85(0x143)][_0x15cc85(0x14c)][_0x15cc85(0x119)],()=>{_0x26243b();});});}}function _0x3901(){const _0x432774=['hasError','6497736mknTiQ','value','contains','reset','7913142SHIohl','MIN_ROWS','placeholder','errorText','ck-ai-chat__prompt-input_highlighted','AI_CHAT_LABEL_SUBMIT','ck-ai-chat__prompt-input','submitButtonView','ck-ai-chat__prompt-submit-button','render','756945RZDVQL','setPlaceholderText','fieldWrapperChildren','maxRows','right','queryView','left','execute','sendUserMessage','setIsUploadInProgress','extendTemplate','MAX_ROWS','minRows','focus','fieldView','uiLanguageDirection','submit','destroy','isEmpty','update','_setUpAddContextButtonPositioning','fire','locale','_createSubmitButton','enter','bind','3855964ilhHPb','isEnabled','set','style','add','classList','element','_queryViewResizeObserver','width','calc(','focusableChildren','AI_CHAT_PROMPT_EMPTY_ERROR','21eoeHWu','trim','842464jaFvsu','excludeScrollbarsAndBorders','keystrokes','rtl','isUploadInProgress','5519945nWsMPo','remove','px\x20-\x20var(--ck-spacing-tiny))','82HAtLKQ','requestAnimationFrame','_addContextButtonView','target','window','28237GDjGuN'];_0x3901=function(){return _0x432774;};return _0x3901();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x258a(_0x1781ce,_0x4f39ef){const _0x1b4f8c=_0x1b4f();return _0x258a=function(_0x258a1c,_0x53de50){_0x258a1c=_0x258a1c-0x154;let _0x1c3831=_0x1b4f8c[_0x258a1c];return _0x1c3831;},_0x258a(_0x1781ce,_0x4f39ef);}const _0x4fa720=_0x258a;function _0x1b4f(){const _0x2be13f=['1548iHyJAa','78DsgQAI','92081UqxUrv','filter','584832ruTHJY','16nBXocQ','652822TibCje','50FWfyus','3qjiCqH','70535eiUGjC','1310818YcVMRk','1177605doSgvI','length','464604ewzHxk','items'];_0x1b4f=function(){return _0x2be13f;};return _0x1b4f();}(function(_0x29a4a7,_0x1212ba){const _0x32a655=_0x258a,_0x145d9f=_0x29a4a7();while(!![]){try{const _0x4553ee=parseInt(_0x32a655(0x15d))/0x1+-parseInt(_0x32a655(0x161))/0x2+parseInt(_0x32a655(0x15f))/0x3*(-parseInt(_0x32a655(0x15b))/0x4)+parseInt(_0x32a655(0x160))/0x5*(parseInt(_0x32a655(0x158))/0x6)+-parseInt(_0x32a655(0x155))/0x7*(-parseInt(_0x32a655(0x15c))/0x8)+parseInt(_0x32a655(0x162))/0x9*(-parseInt(_0x32a655(0x15e))/0xa)+parseInt(_0x32a655(0x159))/0xb*(parseInt(_0x32a655(0x157))/0xc);if(_0x4553ee===_0x1212ba)break;else _0x145d9f['push'](_0x145d9f['shift']());}catch(_0x1b898f){_0x145d9f['push'](_0x145d9f['shift']());}}}(_0x1b4f,0x90c4e));import{ListView as _0x51610c}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x51610c{[_0x4fa720(0x15a)](){const _0x3368b7=_0x4fa720;let _0x56312f=0x0;for(const _0x23dce8 of this[_0x3368b7(0x156)])_0x56312f+=_0x23dce8[_0x3368b7(0x156)][_0x3368b7(0x154)];return{'resultsCount':_0x56312f,'totalItemsCount':_0x56312f};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x53da84=_0x3a54;(function(_0x2aac67,_0x18ac46){const _0x470784=_0x3a54,_0x3a1622=_0x2aac67();while(!![]){try{const _0x349a9a=-parseInt(_0x470784(0x170))/0x1*(parseInt(_0x470784(0x16b))/0x2)+parseInt(_0x470784(0x16e))/0x3*(parseInt(_0x470784(0x17e))/0x4)+parseInt(_0x470784(0x178))/0x5*(-parseInt(_0x470784(0x16c))/0x6)+parseInt(_0x470784(0x17a))/0x7+parseInt(_0x470784(0x17c))/0x8+parseInt(_0x470784(0x176))/0x9+parseInt(_0x470784(0x173))/0xa;if(_0x349a9a===_0x18ac46)break;else _0x3a1622['push'](_0x3a1622['shift']());}catch(_0x4a6fbf){_0x3a1622['push'](_0x3a1622['shift']());}}}(_0x489b,0xa2a34));function _0x489b(){const _0x2c2590=['execute','1017432kiUiBm','highlightText','4985gwwjGB','test','3693305vfeYOm','locale','9680592RTKmEo','_source','668ofqiyH','extendTemplate','setResources','updateResourceState','items','addResourceToContext','filter','replace','\x5c$&','add','resource','ck-ai-chat-resources__list','_handleResourceSelection','trim','4OaWRtf','6918sQpoKd','forEach','3759yBqwjK','useDefaultFiltering','457586UMWsrm','label','clear','6708890fZvdhk','fire'];_0x489b=function(){return _0x2c2590;};return _0x489b();}function _0x3a54(_0x1d1338,_0x457cc1){const _0x489bcb=_0x489b();return _0x3a54=function(_0x3a5462,_0x62283b){_0x3a5462=_0x3a5462-0x16b;let _0x3255f8=_0x489bcb[_0x3a5462];return _0x3255f8;},_0x3a54(_0x1d1338,_0x457cc1);}import{ListView as _0x345c33}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x141421}from'./aichatresourcelistitemview.js';const uc=_0x53da84(0x189);export class AIChatContextResourcesListView extends _0x345c33{[_0x53da84(0x17d)];constructor(_0x4bc0ae,_0x5e1c73){const _0x1d4222=_0x53da84;super(_0x4bc0ae),this[_0x1d4222(0x17d)]=_0x5e1c73,this[_0x1d4222(0x17f)]({'attributes':{'class':[uc]}});}[_0x53da84(0x180)](_0x1b3b77,_0x39cd5d){const _0x1640ec=_0x53da84;this[_0x1640ec(0x182)][_0x1640ec(0x172)]();let _0x5d4ea5=_0x1b3b77;if(this[_0x1640ec(0x17d)][_0x1640ec(0x16f)]&&_0x39cd5d&&''!==_0x39cd5d[_0x1640ec(0x18b)]()){const _0x5264f0=new RegExp(_0x39cd5d[_0x1640ec(0x185)](/[.*+?^${}()|[\]\\]/g,_0x1640ec(0x186)),'gi');_0x5d4ea5=_0x1b3b77[_0x1640ec(0x184)](_0x4b9e3b=>_0x5264f0[_0x1640ec(0x179)](_0x4b9e3b[_0x1640ec(0x171)]));}for(const _0x196684 of _0x5d4ea5){const _0x19c195=new _0x141421(this[_0x1640ec(0x17b)],_0x196684);_0x19c195['on'](_0x1640ec(0x175),()=>{const _0xd98ad=_0x1640ec;this[_0xd98ad(0x18a)](this[_0xd98ad(0x17d)],_0x196684);}),this[_0x1640ec(0x182)][_0x1640ec(0x187)](_0x19c195);}this[_0x1640ec(0x17d)][_0x1640ec(0x16f)]&&this[_0x1640ec(0x177)](_0x39cd5d);}[_0x53da84(0x177)](_0x3567d1){const _0x5ed7a5=_0x53da84;this[_0x5ed7a5(0x17d)][_0x5ed7a5(0x16f)]&&this[_0x5ed7a5(0x182)][_0x5ed7a5(0x16d)](_0x399043=>{const _0x487f6f=_0x5ed7a5;_0x399043[_0x487f6f(0x177)](_0x3567d1);});}[_0x53da84(0x181)](_0x242189,_0x4998f4){const _0x1b3fed=_0x53da84;for(const _0x29fd1a of this[_0x1b3fed(0x182)]){const _0x110dbd=_0x29fd1a;_0x110dbd[_0x1b3fed(0x188)]['id']===_0x242189&&_0x110dbd[_0x1b3fed(0x181)](_0x4998f4);}}[_0x53da84(0x18a)](_0x122000,_0x2770a1){const _0x23227f=_0x53da84;this[_0x23227f(0x174)](_0x23227f(0x183),{'source':_0x122000,'resource':_0x2770a1});}}
|