@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 47.7.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 +16 -16
- 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.d.ts +21 -14
- 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.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
|
-
function _0x3a9c(){const _0x17d6f6=['width','_locale','slice','-9999px','rowDetectionTolerance','auto','textContent','top','push','_visibleChips','block','controlsButton','cloneNode','calculationContainer','body','_isContainerVisible','300px','style','destroy','.ck-ai-chat','hideBalloonPanel','overflowContainer','isConnected','_calculateOverflowInContainer','149960HFrZCT','9ofjmsw','_bodyCollection','75736NREEju','_applyOverflowResults','setContainerElement','some','_createCalculationContainer','button','boxSizing','tagName','disconnect','_containerElement','isOn','div','2dBFmts','_createContainerElements','execute','clientHeight','absolute','querySelector','_overflowChips','_targetContainer','includes','bottom','label','_handleShowMoreButtonClick','right','_createShowMoreBalloonPanelView','left','_testButtonFit','length','_pendingCalculation','_repinBalloonPanel','_applyCalculationStyles','_createShowMoreButton','clientWidth','_showMoreBalloonPanelView','content','showMoreLabelPrefix','_calculateContainerWidth','display','_makeAncestorsVisible','cssClasses','classList','add','pop','from','showMoreBalloon','isVisible','zIndex','innerHTML','_createShowMoreButtonView','parentElement','visible\x20!important','_distributeChips','_intersectionObserver','className','overflowChips','innerHeight','visibility','observe','isIntersecting','abs','undefined','_updateBalloonContent','5tnMAJk','pin','offsetWidth','_restoreAncestorVisibility','show','showMoreButton','setTemplate','_findTargetContainer','documentElement','_setupVisibilityObserver','toLowerCase','getBoundingClientRect','0px','_config','forEach','551886ijfTcL','maxVisibleRows','ck-calculation-container','getComputedStyle','extendTemplate','showMoreButtonView','visible','remove','element','588pAbCfP','showBalloonPanel','set','pointerEvents','50px','845476rdfipa','reorganizeChips','opacity','disableAnimationOnEnter','hidden','clear','_createMockButton','+\x201','_renderChipsAndCountRows','2128370LMYJMV','height','none','innerWidth','_checkAndHandleOverflow','filter','_ancestorsToRestore','_updateOverflowUI','position','_parentView','createElement','_showMoreButtonView','render','10808AFiIcZ','516835gkstgw','hide','children','block\x20!important','appendChild','_updateShowMoreButtonVisibility','border-box'];_0x3a9c=function(){return _0x17d6f6;};return _0x3a9c();}const _0x531bb6=_0x195c;(function(_0x166105,_0x25f42f){const _0x4cbdc0=_0x195c,_0x1686fe=_0x166105();while(!![]){try{const _0x3bfec3=parseInt(_0x4cbdc0(0xcd))/0x1*(parseInt(_0x4cbdc0(0xd9))/0x2)+-parseInt(_0x4cbdc0(0x11b))/0x3+parseInt(_0x4cbdc0(0x129))/0x4*(parseInt(_0x4cbdc0(0x10c))/0x5)+parseInt(_0x4cbdc0(0x124))/0x6*(parseInt(_0x4cbdc0(0xaa))/0x7)+parseInt(_0x4cbdc0(0xca))/0x8+parseInt(_0x4cbdc0(0xcb))/0x9*(-parseInt(_0x4cbdc0(0x132))/0xa)+parseInt(_0x4cbdc0(0xab))/0xb;if(_0x3bfec3===_0x25f42f)break;else _0x1686fe['push'](_0x1686fe['shift']());}catch(_0x4dc5cb){_0x1686fe['push'](_0x1686fe['shift']());}}}(_0x3a9c,0x1a354));import{View as _0x8f56ef,BalloonPanelView as _0x1174e9,ButtonView as _0x214066,clickOutsideHandler as _0x97520}from'ckeditor5/src/ui.js';import{Collection as _0x3712b6}from'ckeditor5/src/utils.js';function _0x195c(_0x55884d,_0x3e6f4a){const _0x3a9c09=_0x3a9c();return _0x195c=function(_0x195c2f,_0x1921e2){_0x195c2f=_0x195c2f-0xa1;let _0x1d4056=_0x3a9c09[_0x195c2f];return _0x1d4056;},_0x195c(_0x55884d,_0x3e6f4a);}const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x531bb6(0xc2);export class AIChatChipsOverflowManager{[_0x531bb6(0xb3)];[_0x531bb6(0x119)];[_0x531bb6(0xbb)];[_0x531bb6(0xdf)];[_0x531bb6(0xa8)]=null;[_0x531bb6(0xef)]=null;[_0x531bb6(0xd6)]=null;[_0x531bb6(0xcc)];[_0x531bb6(0xa6)]=null;[_0x531bb6(0x102)]=null;[_0x531bb6(0xea)]=!0x1;constructor(_0x52bb25,_0x222e76,_0x2246c1,_0x4e05e2,_0x3d6be0){const _0x1ea004=_0x531bb6;this[_0x1ea004(0xb3)]=_0x52bb25,this[_0x1ea004(0xbb)]=_0x222e76,this[_0x1ea004(0x119)]={...hn,..._0x2246c1,'cssClasses':{'controlsButton':'','calculationContainer':_0x1ea004(0x11d),..._0x2246c1[_0x1ea004(0xf5)]}},this[_0x1ea004(0xdf)]=new _0x3712b6(),this[_0x1ea004(0xcc)]=_0x4e05e2,this[_0x1ea004(0xa6)]=_0x3d6be0||null;}[_0x531bb6(0xcf)](_0x9c45ba){const _0xe9ece5=_0x531bb6;this[_0xe9ece5(0x102)]&&(this[_0xe9ece5(0x102)][_0xe9ece5(0xd5)](),this[_0xe9ece5(0x102)]=null),this[_0xe9ece5(0xd6)]=_0x9c45ba,this[_0xe9ece5(0x115)]();}get[_0x531bb6(0x120)](){const _0x1b39a0=_0x531bb6;return this[_0x1b39a0(0xa8)];}get[_0x531bb6(0x104)](){const _0x1c2a28=_0x531bb6;return this[_0x1c2a28(0xdf)];}[_0x531bb6(0x12a)](){requestAnimationFrame(()=>{const _0x401ddb=_0x195c;this[_0x401ddb(0xa1)]();});}[_0x531bb6(0x125)](){const _0x1c5eaa=_0x531bb6;this[_0x1c5eaa(0xa8)]&&this[_0x1c5eaa(0xef)]&&(this[_0x1c5eaa(0x10b)](),this[_0x1c5eaa(0xa8)][_0x1c5eaa(0xd7)]=!0x0,this[_0x1c5eaa(0xef)][_0x1c5eaa(0x110)](),this[_0x1c5eaa(0xef)][_0x1c5eaa(0x10d)]({'target':this[_0x1c5eaa(0xa8)][_0x1c5eaa(0x123)],'limiter':document[_0x1c5eaa(0xde)](_0x1c5eaa(0xc5))}));}[_0x531bb6(0xc6)](){const _0x5d0809=_0x531bb6;this[_0x5d0809(0xa8)]&&this[_0x5d0809(0xef)]&&(this[_0x5d0809(0xa8)][_0x5d0809(0xd7)]=!0x1,this[_0x5d0809(0xef)][_0x5d0809(0xac)]());}[_0x531bb6(0x12e)](){const _0x48b0f2=_0x531bb6;this[_0x48b0f2(0xdf)][_0x48b0f2(0x12e)](),this[_0x48b0f2(0xc6)](),this[_0x48b0f2(0xb0)](),this[_0x48b0f2(0xa8)]&&(this[_0x48b0f2(0xa8)][_0x48b0f2(0xe3)]=''),this[_0x48b0f2(0xef)]&&this[_0x48b0f2(0xef)][_0x48b0f2(0xf0)][_0x48b0f2(0x12e)]();}[_0x531bb6(0xc4)](){const _0x416183=_0x531bb6;this[_0x416183(0x102)]&&(this[_0x416183(0x102)][_0x416183(0xd5)](),this[_0x416183(0x102)]=null),this[_0x416183(0xa8)]&&(this[_0x416183(0xa8)][_0x416183(0xc4)](),this[_0x416183(0xa8)]=null),this[_0x416183(0xef)]&&(this[_0x416183(0xef)][_0x416183(0xc4)](),this[_0x416183(0xef)]=null);}[_0x531bb6(0xa1)](){const _0x114bde=_0x531bb6;if(!this[_0x114bde(0xd6)])return;if(!this[_0x114bde(0xc1)]())return void(this[_0x114bde(0xea)]=!0x0);this[_0x114bde(0xea)]=!0x1;const _0x4bca29=[...this[_0x114bde(0xbb)],...this[_0x114bde(0xdf)]],_0x295d0c=this[_0x114bde(0xd1)](),_0x3556c1=this[_0x114bde(0xc9)](_0x295d0c,_0x4bca29),_0x4971df=_0x295d0c[_0x114bde(0xa3)];_0x4971df&&this[_0x114bde(0x10f)](_0x4971df),_0x295d0c[_0x114bde(0x122)](),this[_0x114bde(0xce)](_0x4bca29,_0x3556c1);}[_0x531bb6(0xed)](){const _0x2dfd0b=_0x531bb6;this[_0x2dfd0b(0xa8)]=this[_0x2dfd0b(0xfe)](),this[_0x2dfd0b(0xef)]=this[_0x2dfd0b(0xe6)](),this[_0x2dfd0b(0xa8)][_0x2dfd0b(0xa9)](),this[_0x2dfd0b(0xd6)][_0x2dfd0b(0xaf)](this[_0x2dfd0b(0xa8)][_0x2dfd0b(0x123)]),this[_0x2dfd0b(0xa8)]['on'](_0x2dfd0b(0xdb),()=>{const _0x26250a=_0x2dfd0b;this[_0x26250a(0xe4)]();}),_0x97520({'emitter':this[_0x2dfd0b(0xef)],'contextElements':[this[_0x2dfd0b(0xef)][_0x2dfd0b(0x123)],this[_0x2dfd0b(0xa8)][_0x2dfd0b(0x123)]],'callback':()=>this[_0x2dfd0b(0xc6)](),'activator':()=>this[_0x2dfd0b(0xa8)][_0x2dfd0b(0xd7)]});}[_0x531bb6(0xfe)](){const _0x39183d=_0x531bb6,_0x374848=new _0x214066(this[_0x39183d(0xb3)]);_0x374848[_0x39183d(0x126)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x2afda1=[this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0x111)]];return this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0xbd)]&&_0x2afda1[_0x39183d(0xba)](this[_0x39183d(0x119)][_0x39183d(0xf5)][_0x39183d(0xbd)]),_0x374848[_0x39183d(0x11f)]({'attributes':{'class':_0x2afda1}}),_0x374848;}[_0x531bb6(0xe6)](){const _0x3642f2=_0x531bb6,_0x4a7410=new _0x1174e9(this[_0x3642f2(0xb3)]);return _0x4a7410[_0x3642f2(0x11f)]({'attributes':{'class':this[_0x3642f2(0x119)][_0x3642f2(0xf5)][_0x3642f2(0xfa)]}}),this[_0x3642f2(0xcc)][_0x3642f2(0xf7)](_0x4a7410),_0x4a7410;}[_0x531bb6(0x10b)](){const _0x1cdd17=_0x531bb6;if(this[_0x1cdd17(0xef)]&&(this[_0x1cdd17(0xef)][_0x1cdd17(0xf0)][_0x1cdd17(0x12e)](),this[_0x1cdd17(0xdf)][_0x1cdd17(0xe9)]>0x0)){this[_0x1cdd17(0xdf)][_0x1cdd17(0x11a)](_0x12c476=>{const _0x7fb488=_0x1cdd17;_0x12c476[_0x7fb488(0x12c)]();});const _0x3db1d8=new _0x8f56ef(this[_0x1cdd17(0xb3)]);_0x3db1d8[_0x1cdd17(0x112)]({'tag':_0x1cdd17(0xd8),'attributes':{'class':this[_0x1cdd17(0x119)][_0x1cdd17(0xf5)][_0x1cdd17(0xc7)]},'children':this[_0x1cdd17(0xdf)]}),this[_0x1cdd17(0xef)][_0x1cdd17(0xf0)][_0x1cdd17(0xf7)](_0x3db1d8);}}[_0x531bb6(0xe4)](){const _0x2ef7b8=_0x531bb6;this[_0x2ef7b8(0xa8)][_0x2ef7b8(0xd7)]?this[_0x2ef7b8(0xc6)]():this[_0x2ef7b8(0x125)]();}[_0x531bb6(0xb0)](){const _0x2e2f0e=_0x531bb6,_0x269f9d=this[_0x2e2f0e(0xdf)][_0x2e2f0e(0xe9)]>0x0;this[_0x2e2f0e(0xa8)]?.[_0x2e2f0e(0x123)]&&(this[_0x2e2f0e(0xa8)][_0x2e2f0e(0x123)][_0x2e2f0e(0xc3)][_0x2e2f0e(0xf3)]=_0x269f9d?'':_0x2e2f0e(0x134));}[_0x531bb6(0xeb)](){const _0x187ec7=_0x531bb6;this[_0x187ec7(0xa8)]?.[_0x187ec7(0xd7)]&&this[_0x187ec7(0xef)]?.[_0x187ec7(0xfb)]&&this[_0x187ec7(0xa8)][_0x187ec7(0x123)]&&this[_0x187ec7(0xef)][_0x187ec7(0x10d)]({'target':this[_0x187ec7(0xa8)][_0x187ec7(0x123)],'limiter':document[_0x187ec7(0xde)](_0x187ec7(0xc5))});}[_0x531bb6(0x113)](_0x4b99f5){const _0x215e6f=_0x531bb6,_0x5dab0c=this[_0x215e6f(0xd6)]?.[_0x215e6f(0xd4)][_0x215e6f(0x116)]()||_0x215e6f(0xd8),_0x692b90=this[_0x215e6f(0xd6)]?.[_0x215e6f(0xf6)];if(_0x692b90){const _0x1c936d=_0x692b90[0x0]||'',_0x3dcbbf=_0x4b99f5[_0x215e6f(0xde)]('.'+_0x1c936d),_0xdb5773=_0x4b99f5[_0x215e6f(0xde)](_0x5dab0c);return _0x3dcbbf||_0xdb5773||_0x4b99f5;}return _0x4b99f5[_0x215e6f(0xde)](_0x5dab0c)||_0x4b99f5;}[_0x531bb6(0xf2)](){const _0x90623c=_0x531bb6,_0x2063ab=this[_0x90623c(0xa6)]?.[_0x90623c(0x123)]||this[_0x90623c(0xd6)];if(!_0x2063ab)return an;const _0x319ddf=window[_0x90623c(0x11e)](_0x2063ab)[_0x90623c(0xb2)];if(_0x90623c(0xb7)===_0x319ddf||_0x90623c(0x118)===_0x319ddf||!_0x319ddf){const _0x1c0080=_0x2063ab[_0x90623c(0xff)];if(_0x1c0080){const _0x37f760=window[_0x90623c(0x11e)](_0x1c0080);return _0x90623c(0xb7)!==_0x37f760[_0x90623c(0xb2)]?_0x37f760[_0x90623c(0xb2)]:an;}return an;}return _0x319ddf;}[_0x531bb6(0xec)](_0x20b20a,_0x2b3698){const _0x554271=_0x531bb6;this[_0x554271(0x119)][_0x554271(0xf5)][_0x554271(0xbf)]&&_0x20b20a[_0x554271(0xf6)][_0x554271(0xf7)](this[_0x554271(0x119)][_0x554271(0xf5)][_0x554271(0xbf)]),_0x20b20a[_0x554271(0xc3)][_0x554271(0xb2)]=_0x2b3698,_0x20b20a[_0x554271(0xc3)][_0x554271(0xa5)]=_0x554271(0xdd),_0x20b20a[_0x554271(0xc3)][_0x554271(0xb9)]=_0x554271(0xb5),_0x20b20a[_0x554271(0xc3)][_0x554271(0xe7)]=_0x554271(0xb5),_0x20b20a[_0x554271(0xc3)][_0x554271(0x12b)]='0',_0x20b20a[_0x554271(0xc3)][_0x554271(0x127)]=_0x554271(0x134),_0x20b20a[_0x554271(0xc3)][_0x554271(0xfc)]='-1',_0x20b20a[_0x554271(0xc3)][_0x554271(0x106)]=_0x554271(0x100),_0x20b20a[_0x554271(0xc3)][_0x554271(0xf3)]=_0x554271(0xae),_0x20b20a[_0x554271(0xc3)][_0x554271(0xd3)]=_0x554271(0xb1);}[_0x531bb6(0x10f)](_0x37b82e){const _0x29bac8=_0x531bb6;_0x37b82e[_0x29bac8(0x11a)](({element:_0x58d3eb,originalDisplay:_0x264baa,originalVisibility:_0x3691e8})=>{const _0x4df514=_0x29bac8;_0x58d3eb[_0x4df514(0xc3)][_0x4df514(0xf3)]=_0x264baa,_0x58d3eb[_0x4df514(0xc3)][_0x4df514(0x106)]=_0x3691e8;});}[_0x531bb6(0xf4)](_0x2082e7){const _0x10877a=_0x531bb6,_0x5b773e=[];let _0xf6456e=_0x2082e7;for(;_0xf6456e&&_0xf6456e!==document[_0x10877a(0xc0)];){const _0x15aa46=window[_0x10877a(0x11e)](_0xf6456e);_0x10877a(0x134)!==_0x15aa46[_0x10877a(0xf3)]&&_0x10877a(0x12d)!==_0x15aa46[_0x10877a(0x106)]||(_0x5b773e[_0x10877a(0xba)]({'element':_0xf6456e,'originalDisplay':_0xf6456e[_0x10877a(0xc3)][_0x10877a(0xf3)],'originalVisibility':_0xf6456e[_0x10877a(0xc3)][_0x10877a(0x106)]}),_0xf6456e[_0x10877a(0xc3)][_0x10877a(0xf3)]=_0x10877a(0xbc),_0xf6456e[_0x10877a(0xc3)][_0x10877a(0x106)]=_0x10877a(0x121)),_0xf6456e=_0xf6456e[_0x10877a(0xff)];}return _0x5b773e;}[_0x531bb6(0xda)](){const _0x3692c3=_0x531bb6;let _0x14e97f,_0x380628;return this[_0x3692c3(0xa6)]?.[_0x3692c3(0x123)]?(_0x14e97f=this[_0x3692c3(0xa6)][_0x3692c3(0x123)][_0x3692c3(0xbe)](!0x0),_0x380628=this[_0x3692c3(0x113)](_0x14e97f)):(_0x14e97f=document[_0x3692c3(0xa7)](_0x3692c3(0xd8)),_0x380628=_0x14e97f),{'calculationContainer':_0x14e97f,'targetContainer':_0x380628};}[_0x531bb6(0xd1)](){const _0x49451e=_0x531bb6,{calculationContainer:_0x377b77,targetContainer:_0x323210}=this[_0x49451e(0xda)](),_0x27da70=this[_0x49451e(0xf2)]();this[_0x49451e(0xec)](_0x377b77,_0x27da70);const _0x2c5d7f=this[_0x49451e(0xa6)]?.[_0x49451e(0x123)]||this[_0x49451e(0xd6)],_0x133f50=_0x2c5d7f?.[_0x49451e(0xff)];_0x133f50?_0x133f50[_0x49451e(0xaf)](_0x377b77):document[_0x49451e(0xc0)][_0x49451e(0xaf)](_0x377b77),_0x377b77[_0x49451e(0xe0)]=_0x323210;const _0x506198=this[_0x49451e(0xf4)](_0x133f50||null);return _0x377b77[_0x49451e(0x10e)],_0x377b77[_0x49451e(0xa3)]=_0x506198,_0x377b77;}[_0x531bb6(0xc9)](_0xd4a86,_0x314beb){const _0x4d6a54=_0x531bb6,_0x21d4e8=_0xd4a86[_0x4d6a54(0xe0)]||_0xd4a86,_0x25df3b=[],{rowCount:_0x341965}=this[_0x4d6a54(0x131)](_0x21d4e8,_0x314beb);if(_0x341965<=this[_0x4d6a54(0x119)][_0x4d6a54(0x11c)])return _0x25df3b;const _0x12c5db=_0x314beb[_0x4d6a54(0xb4)]();for(;_0x12c5db[_0x4d6a54(0xe9)]>0x0;){if(this[_0x4d6a54(0xe8)](_0xd4a86,_0x21d4e8,_0x12c5db)){const _0x76d4f2=_0x314beb[_0x4d6a54(0xa2)](_0x20a3f9=>!_0x12c5db[_0x4d6a54(0xe1)](_0x20a3f9));_0x25df3b[_0x4d6a54(0xba)](..._0x76d4f2);break;}if(!_0x12c5db[_0x4d6a54(0xf8)]())break;}return _0x25df3b;}[_0x531bb6(0x131)](_0x3d67bb,_0x3c619d){const _0x3c7770=_0x531bb6;_0x3d67bb[_0x3c7770(0xfd)]='',_0x3c619d[_0x3c7770(0x11a)](_0x2d3cd8=>{const _0x3704bd=_0x3c7770;if(_0x2d3cd8[_0x3704bd(0x123)]){const _0x1b4d2a=_0x2d3cd8[_0x3704bd(0x123)][_0x3704bd(0xbe)](!0x0);_0x3d67bb[_0x3704bd(0xaf)](_0x1b4d2a);}}),_0x3d67bb[_0x3c7770(0x10e)];const _0x39c31d=_0x3d67bb[_0x3c7770(0xad)],_0x59b768=[];return Array[_0x3c7770(0xf9)](_0x39c31d)[_0x3c7770(0x11a)](_0x52a0cc=>{const _0xf32a9f=_0x3c7770,_0x5be0de=_0x52a0cc[_0xf32a9f(0x117)]()[_0xf32a9f(0xb9)];_0x59b768[_0xf32a9f(0xd0)](_0x6943e3=>Math[_0xf32a9f(0x109)](_0x6943e3-_0x5be0de)<this[_0xf32a9f(0x119)][_0xf32a9f(0xb6)])||_0x59b768[_0xf32a9f(0xba)](_0x5be0de);}),{'rowCount':_0x59b768[_0x3c7770(0xe9)]};}[_0x531bb6(0x12f)](){const _0x33cce5=_0x531bb6,_0x162be5=document[_0x33cce5(0xa7)](_0x33cce5(0xd2));return _0x162be5[_0x33cce5(0x103)]=this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0x111)],this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0xbd)]&&_0x162be5[_0x33cce5(0xf6)][_0x33cce5(0xf7)](this[_0x33cce5(0x119)][_0x33cce5(0xf5)][_0x33cce5(0xbd)]),_0x162be5[_0x33cce5(0xb8)]=_0x33cce5(0x130),_0x162be5;}[_0x531bb6(0xe8)](_0x2ce70b,_0x10fe93,_0x5566f2){const _0x339281=_0x531bb6;this[_0x339281(0x131)](_0x10fe93,_0x5566f2);const _0x26b75a=this[_0x339281(0x12f)]();_0x2ce70b[_0x339281(0xaf)](_0x26b75a),_0x2ce70b[_0x339281(0x10e)];const _0x675067=[..._0x10fe93[_0x339281(0xad)],_0x26b75a],_0x548345=[];_0x675067[_0x339281(0x11a)](_0x4cf0f2=>{const _0xa73fe9=_0x339281,_0x1ecd8d=_0x4cf0f2[_0xa73fe9(0x117)]()[_0xa73fe9(0xb9)];_0x548345[_0xa73fe9(0xd0)](_0x4bbcb7=>Math[_0xa73fe9(0x109)](_0x4bbcb7-_0x1ecd8d)<this[_0xa73fe9(0x119)][_0xa73fe9(0xb6)])||_0x548345[_0xa73fe9(0xba)](_0x1ecd8d);});const _0x155021=_0x548345[_0x339281(0xe9)];return _0x26b75a[_0x339281(0x122)](),_0x155021<=this[_0x339281(0x119)][_0x339281(0x11c)];}[_0x531bb6(0x101)](_0x420893,_0x2cd3f9){const _0x5e7f37=_0x531bb6;this[_0x5e7f37(0xbb)][_0x5e7f37(0x12e)](),this[_0x5e7f37(0xdf)][_0x5e7f37(0x12e)](),_0x420893[_0x5e7f37(0x11a)](_0x3c4d8a=>{const _0xe37f39=_0x5e7f37;_0x2cd3f9[_0xe37f39(0xe1)](_0x3c4d8a)?this[_0xe37f39(0xdf)][_0xe37f39(0xf7)](_0x3c4d8a):this[_0xe37f39(0xbb)][_0xe37f39(0xf7)](_0x3c4d8a);});}[_0x531bb6(0xa4)](_0x238db7){const _0x3f5dd5=_0x531bb6;if(_0x238db7>0x0&&!this[_0x3f5dd5(0xa8)]&&this[_0x3f5dd5(0xed)](),_0x238db7>0x0&&this[_0x3f5dd5(0xa8)]){const _0x1ae066=''+this[_0x3f5dd5(0x119)][_0x3f5dd5(0xf1)]+(_0x238db7<0x63?_0x238db7:'99');this[_0x3f5dd5(0xa8)][_0x3f5dd5(0xe3)]=_0x1ae066;}this[_0x3f5dd5(0x10b)](),this[_0x3f5dd5(0xb0)](),this[_0x3f5dd5(0xeb)]();}[_0x531bb6(0xce)](_0x1b101e,_0x2f29d4){const _0x286d6c=_0x531bb6;this[_0x286d6c(0x101)](_0x1b101e,_0x2f29d4),this[_0x286d6c(0xa4)](_0x2f29d4[_0x286d6c(0xe9)]);}[_0x531bb6(0x115)](){const _0x2c086a=_0x531bb6;this[_0x2c086a(0xd6)]&&_0x2c086a(0x10a)!=typeof IntersectionObserver&&(this[_0x2c086a(0x102)]=new IntersectionObserver(_0xac4d17=>{const _0x5cec98=_0x2c086a;_0xac4d17[0x0][_0x5cec98(0x108)]&&this[_0x5cec98(0xea)]&&requestAnimationFrame(()=>{const _0x40f315=_0x5cec98;this[_0x40f315(0xa1)]();});},{'threshold':0.01,'rootMargin':_0x2c086a(0x128)}),this[_0x2c086a(0x102)][_0x2c086a(0x107)](this[_0x2c086a(0xd6)]));}[_0x531bb6(0xc1)](){const _0x2e2c97=_0x531bb6;if(!this[_0x2e2c97(0xd6)])return!0x1;if(!this[_0x2e2c97(0xd6)][_0x2e2c97(0xc8)])return!0x1;const _0x1f2985=this[_0x2e2c97(0xd6)][_0x2e2c97(0x117)]();if(0x0===_0x1f2985[_0x2e2c97(0xb2)]||0x0===_0x1f2985[_0x2e2c97(0x133)])return!0x1;const _0x91d48a=window[_0x2e2c97(0x105)]||document[_0x2e2c97(0x114)][_0x2e2c97(0xdc)],_0x281be5=window[_0x2e2c97(0x135)]||document[_0x2e2c97(0x114)][_0x2e2c97(0xee)],_0x29519e=0xc8;return _0x1f2985[_0x2e2c97(0xe2)]>=-0xc8&&_0x1f2985[_0x2e2c97(0xb9)]<=_0x91d48a+_0x29519e&&_0x1f2985[_0x2e2c97(0xe5)]>=-0xc8&&_0x1f2985[_0x2e2c97(0xe7)]<=_0x281be5+_0x29519e;}}
|
|
23
|
+
const _0x479915=_0x1461;function _0x2437(){const _0x13b9cf=['1012536HkgIyX','_makeAncestorsVisible','children','width','parentElement','undefined','disconnect','_updateShowMoreButtonVisibility','showMoreButtonView','maxVisibleRows','cloneNode','overflowChips','body','_overflowChips','bottom','pin','tagName','0px','1028816qXNnlj','showBalloonPanel','includes','770558MbRgvk','label','render','toLowerCase','extendTemplate','_ancestorsToRestore','button','reorganizeChips','remove','block','querySelector','_targetContainer','documentElement','37662WOmaAZ','visibility','element','getComputedStyle','observe','add','220OohdzP','position','_containerElement','_isContainerVisible','content','isVisible','disableAnimationOnEnter','_showMoreButtonView','_testButtonFit','boxSizing','_config','-9999px','classList','isConnected','setContainerElement','calculationContainer','isOn','hide','cssClasses','_createContainerElements','slice','visible','textContent','hideBalloonPanel','length','_showMoreBalloonPanelView','1463862WwSlFk','300px','destroy','_createShowMoreButtonView','_distributeChips','filter','none','_findTargetContainer','_updateBalloonContent','_repinBalloonPanel','clear','pop','setTemplate','controlsButton','_calculateOverflowInContainer','_locale','_updateOverflowUI','_setupVisibilityObserver','innerHeight','execute','absolute','getBoundingClientRect','style','_parentView','appendChild','_intersectionObserver','top','showMoreBalloon','_pendingCalculation','_visibleChips','_createCalculationContainer','forEach','1SKQGBL','innerWidth','className','ck-calculation-container','_applyOverflowResults','innerHTML','offsetWidth','clientHeight','showMoreLabelPrefix','pointerEvents','border-box','push','+\x201','show','_bodyCollection','opacity','2086200cMiHMK','div','hidden','isIntersecting','abs','zIndex','visible\x20!important','left','auto','_restoreAncestorVisibility','right','8887140TkisJz','set','some','_createShowMoreBalloonPanelView','.ck-ai-chat','_checkAndHandleOverflow','showMoreButton','_applyCalculationStyles','createElement','_renderChipsAndCountRows','_createShowMoreButton','height','rowDetectionTolerance','_calculateContainerWidth','from','overflowContainer','_handleShowMoreButtonClick','display','_createMockButton','50px','clientWidth','block\x20!important'];_0x2437=function(){return _0x13b9cf;};return _0x2437();}(function(_0x20b368,_0x461fa1){const _0x24c7eb=_0x1461,_0x37f1c7=_0x20b368();while(!![]){try{const _0x2ab2a7=parseInt(_0x24c7eb(0x1d9))/0x1*(-parseInt(_0x24c7eb(0x21f))/0x2)+-parseInt(_0x24c7eb(0x1b9))/0x3+-parseInt(_0x24c7eb(0x21c))/0x4+-parseInt(_0x24c7eb(0x19f))/0x5*(-parseInt(_0x24c7eb(0x199))/0x6)+-parseInt(_0x24c7eb(0x20a))/0x7+parseInt(_0x24c7eb(0x1e9))/0x8+parseInt(_0x24c7eb(0x1f4))/0x9;if(_0x2ab2a7===_0x461fa1)break;else _0x37f1c7['push'](_0x37f1c7['shift']());}catch(_0x1d310b){_0x37f1c7['push'](_0x37f1c7['shift']());}}}(_0x2437,0x3cdfa));import{View as _0x2eae61,BalloonPanelView as _0x4c8d6f,ButtonView as _0x2a7642,clickOutsideHandler as _0x248f9d}from'ckeditor5/src/ui.js';import{Collection as _0x1ad78d}from'ckeditor5/src/utils.js';const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0x479915(0x1ba);function _0x1461(_0x43d5e0,_0x4762f8){const _0x2437ed=_0x2437();return _0x1461=function(_0x146135,_0x3be803){_0x146135=_0x146135-0x197;let _0x30000a=_0x2437ed[_0x146135];return _0x30000a;},_0x1461(_0x43d5e0,_0x4762f8);}export class AIChatChipsOverflowManager{[_0x479915(0x1c8)];[_0x479915(0x1a9)];[_0x479915(0x1d6)];[_0x479915(0x217)];[_0x479915(0x1a6)]=null;[_0x479915(0x1b8)]=null;[_0x479915(0x1a1)]=null;[_0x479915(0x1e7)];[_0x479915(0x1d0)]=null;[_0x479915(0x1d2)]=null;[_0x479915(0x1d5)]=!0x1;constructor(_0x2a4db9,_0x6da56a,_0x498d80,_0x1255c6,_0x4a9379){const _0x44cb51=_0x479915;this[_0x44cb51(0x1c8)]=_0x2a4db9,this[_0x44cb51(0x1d6)]=_0x6da56a,this[_0x44cb51(0x1a9)]={...hn,..._0x498d80,'cssClasses':{'controlsButton':'','calculationContainer':_0x44cb51(0x1dc),..._0x498d80[_0x44cb51(0x1b1)]}},this[_0x44cb51(0x217)]=new _0x1ad78d(),this[_0x44cb51(0x1e7)]=_0x1255c6,this[_0x44cb51(0x1d0)]=_0x4a9379||null;}[_0x479915(0x1ad)](_0x2b1583){const _0x4da5b9=_0x479915;this[_0x4da5b9(0x1d2)]&&(this[_0x4da5b9(0x1d2)][_0x4da5b9(0x210)](),this[_0x4da5b9(0x1d2)]=null),this[_0x4da5b9(0x1a1)]=_0x2b1583,this[_0x4da5b9(0x1ca)]();}get[_0x479915(0x212)](){const _0x501cfd=_0x479915;return this[_0x501cfd(0x1a6)];}get[_0x479915(0x215)](){const _0x2b5bd5=_0x479915;return this[_0x2b5bd5(0x217)];}[_0x479915(0x226)](){requestAnimationFrame(()=>{const _0x5a82b3=_0x1461;this[_0x5a82b3(0x1f9)]();});}[_0x479915(0x21d)](){const _0x459cba=_0x479915;this[_0x459cba(0x1a6)]&&this[_0x459cba(0x1b8)]&&(this[_0x459cba(0x1c1)](),this[_0x459cba(0x1a6)][_0x459cba(0x1af)]=!0x0,this[_0x459cba(0x1b8)][_0x459cba(0x1e6)](),this[_0x459cba(0x1b8)][_0x459cba(0x219)]({'target':this[_0x459cba(0x1a6)][_0x459cba(0x19b)],'limiter':document[_0x459cba(0x229)](_0x459cba(0x1f8))}));}[_0x479915(0x1b6)](){const _0x2e314b=_0x479915;this[_0x2e314b(0x1a6)]&&this[_0x2e314b(0x1b8)]&&(this[_0x2e314b(0x1a6)][_0x2e314b(0x1af)]=!0x1,this[_0x2e314b(0x1b8)][_0x2e314b(0x1b0)]());}[_0x479915(0x1c3)](){const _0x1b2da4=_0x479915;this[_0x1b2da4(0x217)][_0x1b2da4(0x1c3)](),this[_0x1b2da4(0x1b6)](),this[_0x1b2da4(0x211)](),this[_0x1b2da4(0x1a6)]&&(this[_0x1b2da4(0x1a6)][_0x1b2da4(0x220)]=''),this[_0x1b2da4(0x1b8)]&&this[_0x1b2da4(0x1b8)][_0x1b2da4(0x1a3)][_0x1b2da4(0x1c3)]();}[_0x479915(0x1bb)](){const _0x3f0867=_0x479915;this[_0x3f0867(0x1d2)]&&(this[_0x3f0867(0x1d2)][_0x3f0867(0x210)](),this[_0x3f0867(0x1d2)]=null),this[_0x3f0867(0x1a6)]&&(this[_0x3f0867(0x1a6)][_0x3f0867(0x1bb)](),this[_0x3f0867(0x1a6)]=null),this[_0x3f0867(0x1b8)]&&(this[_0x3f0867(0x1b8)][_0x3f0867(0x1bb)](),this[_0x3f0867(0x1b8)]=null);}[_0x479915(0x1f9)](){const _0x1ff3aa=_0x479915;if(!this[_0x1ff3aa(0x1a1)])return;if(!this[_0x1ff3aa(0x1a2)]())return void(this[_0x1ff3aa(0x1d5)]=!0x0);this[_0x1ff3aa(0x1d5)]=!0x1;const _0x595514=[...this[_0x1ff3aa(0x1d6)],...this[_0x1ff3aa(0x217)]],_0x401ac9=this[_0x1ff3aa(0x1d7)](),_0x25b46c=this[_0x1ff3aa(0x1c7)](_0x401ac9,_0x595514),_0x3a85d3=_0x401ac9[_0x1ff3aa(0x224)];_0x3a85d3&&this[_0x1ff3aa(0x1f2)](_0x3a85d3),_0x401ac9[_0x1ff3aa(0x227)](),this[_0x1ff3aa(0x1dd)](_0x595514,_0x25b46c);}[_0x479915(0x1fe)](){const _0xaa66a2=_0x479915;this[_0xaa66a2(0x1a6)]=this[_0xaa66a2(0x1bc)](),this[_0xaa66a2(0x1b8)]=this[_0xaa66a2(0x1f7)](),this[_0xaa66a2(0x1a6)][_0xaa66a2(0x221)](),this[_0xaa66a2(0x1a1)][_0xaa66a2(0x1d1)](this[_0xaa66a2(0x1a6)][_0xaa66a2(0x19b)]),this[_0xaa66a2(0x1a6)]['on'](_0xaa66a2(0x1cc),()=>{const _0x93eb8e=_0xaa66a2;this[_0x93eb8e(0x204)]();}),_0x248f9d({'emitter':this[_0xaa66a2(0x1b8)],'contextElements':[this[_0xaa66a2(0x1b8)][_0xaa66a2(0x19b)],this[_0xaa66a2(0x1a6)][_0xaa66a2(0x19b)]],'callback':()=>this[_0xaa66a2(0x1b6)](),'activator':()=>this[_0xaa66a2(0x1a6)][_0xaa66a2(0x1af)]});}[_0x479915(0x1bc)](){const _0x51eafc=_0x479915,_0x30c1bd=new _0x2a7642(this[_0x51eafc(0x1c8)]);_0x30c1bd[_0x51eafc(0x1f5)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x195679=[this[_0x51eafc(0x1a9)][_0x51eafc(0x1b1)][_0x51eafc(0x1fa)]];return this[_0x51eafc(0x1a9)][_0x51eafc(0x1b1)][_0x51eafc(0x1c6)]&&_0x195679[_0x51eafc(0x1e4)](this[_0x51eafc(0x1a9)][_0x51eafc(0x1b1)][_0x51eafc(0x1c6)]),_0x30c1bd[_0x51eafc(0x223)]({'attributes':{'class':_0x195679}}),_0x30c1bd;}[_0x479915(0x1f7)](){const _0x1ba49c=_0x479915,_0x296712=new _0x4c8d6f(this[_0x1ba49c(0x1c8)]);return _0x296712[_0x1ba49c(0x223)]({'attributes':{'class':this[_0x1ba49c(0x1a9)][_0x1ba49c(0x1b1)][_0x1ba49c(0x1d4)]}}),this[_0x1ba49c(0x1e7)][_0x1ba49c(0x19e)](_0x296712),_0x296712;}[_0x479915(0x1c1)](){const _0x460679=_0x479915;if(this[_0x460679(0x1b8)]&&(this[_0x460679(0x1b8)][_0x460679(0x1a3)][_0x460679(0x1c3)](),this[_0x460679(0x217)][_0x460679(0x1b7)]>0x0)){this[_0x460679(0x217)][_0x460679(0x1d8)](_0x46b1bc=>{const _0x283144=_0x460679;_0x46b1bc[_0x283144(0x1a5)]();});const _0xb4b68e=new _0x2eae61(this[_0x460679(0x1c8)]);_0xb4b68e[_0x460679(0x1c5)]({'tag':_0x460679(0x1ea),'attributes':{'class':this[_0x460679(0x1a9)][_0x460679(0x1b1)][_0x460679(0x203)]},'children':this[_0x460679(0x217)]}),this[_0x460679(0x1b8)][_0x460679(0x1a3)][_0x460679(0x19e)](_0xb4b68e);}}[_0x479915(0x204)](){const _0x4ab126=_0x479915;this[_0x4ab126(0x1a6)][_0x4ab126(0x1af)]?this[_0x4ab126(0x1b6)]():this[_0x4ab126(0x21d)]();}[_0x479915(0x211)](){const _0x4a236c=_0x479915,_0x1493f9=this[_0x4a236c(0x217)][_0x4a236c(0x1b7)]>0x0;this[_0x4a236c(0x1a6)]?.[_0x4a236c(0x19b)]&&(this[_0x4a236c(0x1a6)][_0x4a236c(0x19b)][_0x4a236c(0x1cf)][_0x4a236c(0x205)]=_0x1493f9?'':_0x4a236c(0x1bf));}[_0x479915(0x1c2)](){const _0x513550=_0x479915;this[_0x513550(0x1a6)]?.[_0x513550(0x1af)]&&this[_0x513550(0x1b8)]?.[_0x513550(0x1a4)]&&this[_0x513550(0x1a6)][_0x513550(0x19b)]&&this[_0x513550(0x1b8)][_0x513550(0x219)]({'target':this[_0x513550(0x1a6)][_0x513550(0x19b)],'limiter':document[_0x513550(0x229)](_0x513550(0x1f8))});}[_0x479915(0x1c0)](_0x3cb244){const _0x2adbbb=_0x479915,_0x5e0063=this[_0x2adbbb(0x1a1)]?.[_0x2adbbb(0x21a)][_0x2adbbb(0x222)]()||_0x2adbbb(0x1ea),_0x78a359=this[_0x2adbbb(0x1a1)]?.[_0x2adbbb(0x1ab)];if(_0x78a359){const _0x559880=_0x78a359[0x0]||'',_0x51c887=_0x3cb244[_0x2adbbb(0x229)]('.'+_0x559880),_0x1ccb76=_0x3cb244[_0x2adbbb(0x229)](_0x5e0063);return _0x51c887||_0x1ccb76||_0x3cb244;}return _0x3cb244[_0x2adbbb(0x229)](_0x5e0063)||_0x3cb244;}[_0x479915(0x201)](){const _0x52d700=_0x479915,_0x59f3e6=this[_0x52d700(0x1d0)]?.[_0x52d700(0x19b)]||this[_0x52d700(0x1a1)];if(!_0x59f3e6)return an;const _0x3ee884=window[_0x52d700(0x19c)](_0x59f3e6)[_0x52d700(0x20d)];if(_0x52d700(0x1f1)===_0x3ee884||_0x52d700(0x21b)===_0x3ee884||!_0x3ee884){const _0x42e0b9=_0x59f3e6[_0x52d700(0x20e)];if(_0x42e0b9){const _0x15d5a6=window[_0x52d700(0x19c)](_0x42e0b9);return _0x52d700(0x1f1)!==_0x15d5a6[_0x52d700(0x20d)]?_0x15d5a6[_0x52d700(0x20d)]:an;}return an;}return _0x3ee884;}[_0x479915(0x1fb)](_0x296562,_0x158457){const _0xc74d94=_0x479915;this[_0xc74d94(0x1a9)][_0xc74d94(0x1b1)][_0xc74d94(0x1ae)]&&_0x296562[_0xc74d94(0x1ab)][_0xc74d94(0x19e)](this[_0xc74d94(0x1a9)][_0xc74d94(0x1b1)][_0xc74d94(0x1ae)]),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x20d)]=_0x158457,_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1a0)]=_0xc74d94(0x1cd),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1d3)]=_0xc74d94(0x1aa),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1f0)]=_0xc74d94(0x1aa),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1e8)]='0',_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1e2)]=_0xc74d94(0x1bf),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1ee)]='-1',_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x19a)]=_0xc74d94(0x1ef),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x205)]=_0xc74d94(0x209),_0x296562[_0xc74d94(0x1cf)][_0xc74d94(0x1a8)]=_0xc74d94(0x1e3);}[_0x479915(0x1f2)](_0xed7269){const _0x51b8e3=_0x479915;_0xed7269[_0x51b8e3(0x1d8)](({element:_0x136165,originalDisplay:_0x3a0cfe,originalVisibility:_0x2c611b})=>{const _0x523dec=_0x51b8e3;_0x136165[_0x523dec(0x1cf)][_0x523dec(0x205)]=_0x3a0cfe,_0x136165[_0x523dec(0x1cf)][_0x523dec(0x19a)]=_0x2c611b;});}[_0x479915(0x20b)](_0x5a526f){const _0x3bf9b6=_0x479915,_0x11940a=[];let _0xa18984=_0x5a526f;for(;_0xa18984&&_0xa18984!==document[_0x3bf9b6(0x216)];){const _0x2cf5b9=window[_0x3bf9b6(0x19c)](_0xa18984);_0x3bf9b6(0x1bf)!==_0x2cf5b9[_0x3bf9b6(0x205)]&&_0x3bf9b6(0x1eb)!==_0x2cf5b9[_0x3bf9b6(0x19a)]||(_0x11940a[_0x3bf9b6(0x1e4)]({'element':_0xa18984,'originalDisplay':_0xa18984[_0x3bf9b6(0x1cf)][_0x3bf9b6(0x205)],'originalVisibility':_0xa18984[_0x3bf9b6(0x1cf)][_0x3bf9b6(0x19a)]}),_0xa18984[_0x3bf9b6(0x1cf)][_0x3bf9b6(0x205)]=_0x3bf9b6(0x228),_0xa18984[_0x3bf9b6(0x1cf)][_0x3bf9b6(0x19a)]=_0x3bf9b6(0x1b4)),_0xa18984=_0xa18984[_0x3bf9b6(0x20e)];}return _0x11940a;}[_0x479915(0x1b2)](){const _0x4015d2=_0x479915;let _0x50a8ea,_0x467d01;return this[_0x4015d2(0x1d0)]?.[_0x4015d2(0x19b)]?(_0x50a8ea=this[_0x4015d2(0x1d0)][_0x4015d2(0x19b)][_0x4015d2(0x214)](!0x0),_0x467d01=this[_0x4015d2(0x1c0)](_0x50a8ea)):(_0x50a8ea=document[_0x4015d2(0x1fc)](_0x4015d2(0x1ea)),_0x467d01=_0x50a8ea),{'calculationContainer':_0x50a8ea,'targetContainer':_0x467d01};}[_0x479915(0x1d7)](){const _0x5c9b16=_0x479915,{calculationContainer:_0x29921c,targetContainer:_0x296306}=this[_0x5c9b16(0x1b2)](),_0x344f2a=this[_0x5c9b16(0x201)]();this[_0x5c9b16(0x1fb)](_0x29921c,_0x344f2a);const _0x14cc07=this[_0x5c9b16(0x1d0)]?.[_0x5c9b16(0x19b)]||this[_0x5c9b16(0x1a1)],_0x35cd30=_0x14cc07?.[_0x5c9b16(0x20e)];_0x35cd30?_0x35cd30[_0x5c9b16(0x1d1)](_0x29921c):document[_0x5c9b16(0x216)][_0x5c9b16(0x1d1)](_0x29921c),_0x29921c[_0x5c9b16(0x197)]=_0x296306;const _0x122e62=this[_0x5c9b16(0x20b)](_0x35cd30||null);return _0x29921c[_0x5c9b16(0x1df)],_0x29921c[_0x5c9b16(0x224)]=_0x122e62,_0x29921c;}[_0x479915(0x1c7)](_0x4b8db9,_0x5c0bea){const _0x1426d2=_0x479915,_0x27c8fa=_0x4b8db9[_0x1426d2(0x197)]||_0x4b8db9,_0x2f61e6=[],{rowCount:_0x72fab6}=this[_0x1426d2(0x1fd)](_0x27c8fa,_0x5c0bea);if(_0x72fab6<=this[_0x1426d2(0x1a9)][_0x1426d2(0x213)])return _0x2f61e6;const _0x11eb19=_0x5c0bea[_0x1426d2(0x1b3)]();for(;_0x11eb19[_0x1426d2(0x1b7)]>0x0;){if(this[_0x1426d2(0x1a7)](_0x4b8db9,_0x27c8fa,_0x11eb19)){const _0x4d5d2f=_0x5c0bea[_0x1426d2(0x1be)](_0x972992=>!_0x11eb19[_0x1426d2(0x21e)](_0x972992));_0x2f61e6[_0x1426d2(0x1e4)](..._0x4d5d2f);break;}if(!_0x11eb19[_0x1426d2(0x1c4)]())break;}return _0x2f61e6;}[_0x479915(0x1fd)](_0x35c501,_0x38fb8b){const _0x59e28c=_0x479915;_0x35c501[_0x59e28c(0x1de)]='',_0x38fb8b[_0x59e28c(0x1d8)](_0x335423=>{const _0x1bb782=_0x59e28c;if(_0x335423[_0x1bb782(0x19b)]){const _0x53853a=_0x335423[_0x1bb782(0x19b)][_0x1bb782(0x214)](!0x0);_0x35c501[_0x1bb782(0x1d1)](_0x53853a);}}),_0x35c501[_0x59e28c(0x1df)];const _0x595f3d=_0x35c501[_0x59e28c(0x20c)],_0x1aaba3=[];return Array[_0x59e28c(0x202)](_0x595f3d)[_0x59e28c(0x1d8)](_0x41ca52=>{const _0x43444f=_0x59e28c,_0x4e3dca=_0x41ca52[_0x43444f(0x1ce)]()[_0x43444f(0x1d3)];_0x1aaba3[_0x43444f(0x1f6)](_0x3daf33=>Math[_0x43444f(0x1ed)](_0x3daf33-_0x4e3dca)<this[_0x43444f(0x1a9)][_0x43444f(0x200)])||_0x1aaba3[_0x43444f(0x1e4)](_0x4e3dca);}),{'rowCount':_0x1aaba3[_0x59e28c(0x1b7)]};}[_0x479915(0x206)](){const _0x373b70=_0x479915,_0x294041=document[_0x373b70(0x1fc)](_0x373b70(0x225));return _0x294041[_0x373b70(0x1db)]=this[_0x373b70(0x1a9)][_0x373b70(0x1b1)][_0x373b70(0x1fa)],this[_0x373b70(0x1a9)][_0x373b70(0x1b1)][_0x373b70(0x1c6)]&&_0x294041[_0x373b70(0x1ab)][_0x373b70(0x19e)](this[_0x373b70(0x1a9)][_0x373b70(0x1b1)][_0x373b70(0x1c6)]),_0x294041[_0x373b70(0x1b5)]=_0x373b70(0x1e5),_0x294041;}[_0x479915(0x1a7)](_0x5264f4,_0x35fe31,_0x1eb7b1){const _0x38349e=_0x479915;this[_0x38349e(0x1fd)](_0x35fe31,_0x1eb7b1);const _0x29eb56=this[_0x38349e(0x206)]();_0x5264f4[_0x38349e(0x1d1)](_0x29eb56),_0x5264f4[_0x38349e(0x1df)];const _0x3aacba=[..._0x35fe31[_0x38349e(0x20c)],_0x29eb56],_0x115f93=[];_0x3aacba[_0x38349e(0x1d8)](_0x39e79a=>{const _0x33fc37=_0x38349e,_0x37624b=_0x39e79a[_0x33fc37(0x1ce)]()[_0x33fc37(0x1d3)];_0x115f93[_0x33fc37(0x1f6)](_0x41f6ee=>Math[_0x33fc37(0x1ed)](_0x41f6ee-_0x37624b)<this[_0x33fc37(0x1a9)][_0x33fc37(0x200)])||_0x115f93[_0x33fc37(0x1e4)](_0x37624b);});const _0x18f777=_0x115f93[_0x38349e(0x1b7)];return _0x29eb56[_0x38349e(0x227)](),_0x18f777<=this[_0x38349e(0x1a9)][_0x38349e(0x213)];}[_0x479915(0x1bd)](_0x370b98,_0x39c50f){const _0x486c32=_0x479915;this[_0x486c32(0x1d6)][_0x486c32(0x1c3)](),this[_0x486c32(0x217)][_0x486c32(0x1c3)](),_0x370b98[_0x486c32(0x1d8)](_0x33b378=>{const _0x27cee5=_0x486c32;_0x39c50f[_0x27cee5(0x21e)](_0x33b378)?this[_0x27cee5(0x217)][_0x27cee5(0x19e)](_0x33b378):this[_0x27cee5(0x1d6)][_0x27cee5(0x19e)](_0x33b378);});}[_0x479915(0x1c9)](_0x47465a){const _0x1fcddf=_0x479915;if(_0x47465a>0x0&&!this[_0x1fcddf(0x1a6)]&&this[_0x1fcddf(0x1fe)](),_0x47465a>0x0&&this[_0x1fcddf(0x1a6)]){const _0x4f08cc=''+this[_0x1fcddf(0x1a9)][_0x1fcddf(0x1e1)]+(_0x47465a<0x63?_0x47465a:'99');this[_0x1fcddf(0x1a6)][_0x1fcddf(0x220)]=_0x4f08cc;}this[_0x1fcddf(0x1c1)](),this[_0x1fcddf(0x211)](),this[_0x1fcddf(0x1c2)]();}[_0x479915(0x1dd)](_0x1222c2,_0x38705f){const _0x3d5e12=_0x479915;this[_0x3d5e12(0x1bd)](_0x1222c2,_0x38705f),this[_0x3d5e12(0x1c9)](_0x38705f[_0x3d5e12(0x1b7)]);}[_0x479915(0x1ca)](){const _0x19c9c0=_0x479915;this[_0x19c9c0(0x1a1)]&&_0x19c9c0(0x20f)!=typeof IntersectionObserver&&(this[_0x19c9c0(0x1d2)]=new IntersectionObserver(_0x218d36=>{const _0x2f0729=_0x19c9c0;_0x218d36[0x0][_0x2f0729(0x1ec)]&&this[_0x2f0729(0x1d5)]&&requestAnimationFrame(()=>{const _0x35c047=_0x2f0729;this[_0x35c047(0x1f9)]();});},{'threshold':0.01,'rootMargin':_0x19c9c0(0x207)}),this[_0x19c9c0(0x1d2)][_0x19c9c0(0x19d)](this[_0x19c9c0(0x1a1)]));}[_0x479915(0x1a2)](){const _0xd11c64=_0x479915;if(!this[_0xd11c64(0x1a1)])return!0x1;if(!this[_0xd11c64(0x1a1)][_0xd11c64(0x1ac)])return!0x1;const _0x46d3bd=this[_0xd11c64(0x1a1)][_0xd11c64(0x1ce)]();if(0x0===_0x46d3bd[_0xd11c64(0x20d)]||0x0===_0x46d3bd[_0xd11c64(0x1ff)])return!0x1;const _0x1cd545=window[_0xd11c64(0x1cb)]||document[_0xd11c64(0x198)][_0xd11c64(0x1e0)],_0x22a6b5=window[_0xd11c64(0x1da)]||document[_0xd11c64(0x198)][_0xd11c64(0x208)],_0x3f0c65=0xc8;return _0x46d3bd[_0xd11c64(0x218)]>=-0xc8&&_0x46d3bd[_0xd11c64(0x1d3)]<=_0x1cd545+_0x3f0c65&&_0x46d3bd[_0xd11c64(0x1f3)]>=-0xc8&&_0x46d3bd[_0xd11c64(0x1f0)]<=_0x22a6b5+_0x3f0c65;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5d96(_0x58396d,_0x1596ce){const _0x243ffa=_0x243f();return _0x5d96=function(_0x5d9611,_0x3ffa4c){_0x5d9611=_0x5d9611-0x16d;let _0xf4218d=_0x243ffa[_0x5d9611];return _0xf4218d;},_0x5d96(_0x58396d,_0x1596ce);}const _0x6f117b=_0x5d96;(function(_0x482550,_0xb7abc3){const _0x37c3e0=_0x5d96,_0x42119f=_0x482550();while(!![]){try{const _0x5d6113=-parseInt(_0x37c3e0(0x175))/0x1*(-parseInt(_0x37c3e0(0x1ae))/0x2)+-parseInt(_0x37c3e0(0x16e))/0x3*(parseInt(_0x37c3e0(0x191))/0x4)+parseInt(_0x37c3e0(0x179))/0x5+-parseInt(_0x37c3e0(0x1a7))/0x6+parseInt(_0x37c3e0(0x18e))/0x7+-parseInt(_0x37c3e0(0x170))/0x8*(-parseInt(_0x37c3e0(0x184))/0x9)+parseInt(_0x37c3e0(0x19c))/0xa*(-parseInt(_0x37c3e0(0x17c))/0xb);if(_0x5d6113===_0xb7abc3)break;else _0x42119f['push'](_0x42119f['shift']());}catch(_0x279d30){_0x42119f['push'](_0x42119f['shift']());}}}(_0x243f,0xa9b7e));import{ButtonView as _0x39e6ea,IconView as _0x2cce5a}from'ckeditor5/src/ui.js';import{IconClose as _0x2f7f3e,IconDocument as _0x10fa75,IconFileUpload as _0x3f8ace,IconLink as _0x2fa3d7,IconSelection as _0x203476}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4a2b23}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x477657}from'../../../aicore/ui/aispinner.js';const xn={'file':_0x3f8ace,'document':_0x10fa75,'web-resource':_0x2fa3d7,'text':_0x3f8ace,'selection':_0x203476,'mcp-tool-context':_0x10fa75},bn=_0x6f117b(0x172),wn=_0x6f117b(0x18d),Tn=_0x6f117b(0x1a8),En=_0x6f117b(0x17e),fn=_0x6f117b(0x19b),An=_0x6f117b(0x1a6),Cn='n';export class AIChatContextItemButtonView extends _0x39e6ea{constructor(_0x2e61be,_0x1320eb,_0x27e2ae,_0x3db2cc,_0x19d7f3=!0x1){const _0x316f1e=_0x6f117b;super(_0x2e61be),this[_0x316f1e(0x174)]=_0x3db2cc,this[_0x316f1e(0x18a)](_0x1320eb,_0x27e2ae,_0x19d7f3),this[_0x316f1e(0x190)]();}[_0x6f117b(0x182)](){const _0x2df12f=_0x6f117b;super[_0x2df12f(0x182)](),this[_0x2df12f(0x174)]&&this[_0x2df12f(0x177)]&&(this[_0x2df12f(0x177)][_0x2df12f(0x188)][_0x2df12f(0x17a)](_0x2df12f(0x1ac)),this[_0x2df12f(0x1a1)](this[_0x2df12f(0x177)],()=>{const _0x505f34=_0x2df12f;this[_0x505f34(0x177)]&&this[_0x505f34(0x177)][_0x505f34(0x188)][_0x505f34(0x17d)](_0x505f34(0x1ac));}));}[_0x6f117b(0x192)](){const _0x2c2cef=_0x6f117b;this[_0x2c2cef(0x174)]=!0x1,this[_0x2c2cef(0x177)]&&this[_0x2c2cef(0x177)][_0x2c2cef(0x188)][_0x2c2cef(0x17d)](_0x2c2cef(0x1ac));}[_0x6f117b(0x18a)](_0x4886a5,_0x43fdb3,_0xbcd952){const _0x290734=_0x6f117b;this[_0x290734(0x180)](_0x290734(0x185),_0x4886a5[_0x290734(0x185)]),this[_0x290734(0x180)](_0x290734(0x17b),!0x0),this[_0x290734(0x180)](_0x290734(0x19d),_0x4886a5[_0x290734(0x197)]),this[_0x290734(0x180)]('id',_0x4886a5[_0x290734(0x199)]),this[_0x290734(0x180)](_0x290734(0x181),_0x43fdb3),this[_0x290734(0x180)](_0x290734(0x1aa),_0xbcd952);}[_0x6f117b(0x190)](){const _0x192626=_0x6f117b,_0x483f95=this[_0x192626(0x194)](),_0x2bf09e=this[_0x192626(0x195)](),_0x81e85=this[_0x192626(0x1a0)];this[_0x192626(0x1ab)]({'tag':_0x192626(0x19a),'attributes':this[_0x192626(0x18f)](_0x81e85),'children':this[_0x192626(0x183)](_0x483f95,_0x2bf09e,_0x81e85)});}[_0x6f117b(0x18f)](_0x515c55){const _0x6e1d2d=_0x6f117b;return{'class':[bn,_0x515c55['if'](_0x6e1d2d(0x19d),Tn,_0x45b330=>_0x6e1d2d(0x189)==_0x45b330),_0x515c55['if'](_0x6e1d2d(0x19d),wn,_0x4d393b=>_0x6e1d2d(0x16f)==_0x4d393b)],'data-cke-tooltip-text':_0x515c55['to'](_0x6e1d2d(0x185),In),'data-cke-tooltip-position':Cn,'data-cke-tooltip-class':An};}[_0x6f117b(0x183)](_0x12df5c,_0x9cd960,_0x2febd7){const _0x38f0f2=_0x6f117b,_0x4f616d=this[_0x38f0f2(0x1a3)](_0x2febd7),_0x2218fd=this[_0x38f0f2(0x186)]();return this[_0x38f0f2(0x181)]?[_0x12df5c,_0x4f616d]:[_0x12df5c,_0x2218fd,_0x4f616d,_0x9cd960];}[_0x6f117b(0x1a3)](_0x5ca310){const _0x9fa4f4=_0x6f117b;return{'tag':_0x9fa4f4(0x1a2),'attributes':{'class':En},'children':[{'text':_0x5ca310['to'](_0x9fa4f4(0x185))}]};}[_0x6f117b(0x195)](){const _0x2bd2e6=_0x6f117b,_0xa09d31=new _0x39e6ea(this[_0x2bd2e6(0x196)]);return _0xa09d31[_0x2bd2e6(0x180)]({'label':_0x4a2b23(this[_0x2bd2e6(0x196)],_0x2bd2e6(0x19f)),'icon':_0x2f7f3e}),this[_0x2bd2e6(0x1ad)](_0xa09d31),_0xa09d31;}[_0x6f117b(0x1ad)](_0x3b58e5){const _0x45f15d=_0x6f117b;_0x3b58e5['on'](_0x45f15d(0x187),()=>{const _0x4d563d=_0x45f15d;this[_0x4d563d(0x198)](_0x4d563d(0x19e),this['id']);});}[_0x6f117b(0x194)](){const _0x410529=_0x6f117b,_0x52839d=this[_0x410529(0x1a0)],_0x3faacc=new _0x2cce5a();return _0x3faacc[_0x410529(0x171)]=xn[this[_0x410529(0x19d)]],_0x3faacc[_0x410529(0x18b)]({'attributes':{'class':[fn,_0x52839d['if'](_0x410529(0x1aa),_0x410529(0x193),_0x19792f=>_0x19792f)]}}),_0x3faacc;}[_0x6f117b(0x1a1)](_0x299941,_0x469951){const _0x418fa1=_0x6f117b;if(!_0x299941)return;const _0x2769b9=()=>{const _0x2c5a7a=_0x5d96;_0x469951(),_0x299941[_0x2c5a7a(0x173)](_0x2c5a7a(0x1a5),_0x2769b9),_0x299941[_0x2c5a7a(0x173)](_0x2c5a7a(0x16d),_0x2769b9);};_0x299941[_0x418fa1(0x1a9)](_0x418fa1(0x1a5),_0x2769b9),_0x299941[_0x418fa1(0x1a9)](_0x418fa1(0x16d),_0x2769b9);}[_0x6f117b(0x186)](){const _0x1bb77e=_0x6f117b,_0x4a7354=new _0x477657(_0x1bb77e(0x1af));return _0x4a7354[_0x1bb77e(0x178)](_0x1bb77e(0x17f))['to'](this,_0x1bb77e(0x1aa),_0x29c9bc=>_0x29c9bc),_0x4a7354;}}function In(_0x48204c){const _0x57da9d=_0x6f117b;if(!_0x48204c)return _0x48204c;if(_0x48204c[_0x57da9d(0x1a4)]<=0x78)return _0x48204c;const _0x53055f=_0x48204c[_0x57da9d(0x176)](0x0,0x78),_0x4b08c1=_0x53055f[_0x57da9d(0x18c)]('\x20');return(_0x4b08c1>0x0?_0x53055f[_0x57da9d(0x176)](0x0,_0x4b08c1):_0x53055f)+'…';}function _0x243f(){const _0x42d61c=['removeEventListener','_isAnimationOnEnterEnabled','31628qKjNBM','slice','element','bind','3795715Uhtnmi','add','tooltip','63283pjwPRS','remove','ck-ai-chat-context-chip__label','isVisible','set','readonly','render','_createTemplateChildren','1935HzVJNu','label','_createLoaderIcon','execute','classList','document','_initializeProperties','extendTemplate','lastIndexOf','ck-ai-chat-context-chip_wide','3543120gdRsCT','_createTemplateAttributes','_setupTemplate','100WtqrYG','disableAnimationOnEnter','ck-hidden','_createIconView','_createRemoveButton','locale','type','fire','uiId','div','ck-ai-chat-context-chip__type-icon','110pQdVAb','itemType','removeContextItemChip','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','bindTemplate','_handleAnimationEndOnce','span','_createLabelElement','length','animationend','ck-ai-chat-context-controls__chip-tooltip','7814862aVjQUf','ck-ai-chat-context-chip_document','addEventListener','isLoading','setTemplate','ck-ai-chat-context-chip_new-chip','_setupRemoveButtonEvent','12YFlRyi','small','webkitAnimationEnd','62799RyDxTd','selection','42016DDtjPl','content','ck-ai-chat-context-chip'];_0x243f=function(){return _0x42d61c;};return _0x243f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a6483=_0x3724;function _0x1236(){const _0x353f94=['_updateConfirmButtonState','setTemplate','ck-ai-chat-context-controls__url-input-section','div','backButton','errorText','keystrokes','set','ck-button-icon\x20ck-button-back','locale','_isValidUrl','setError','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','fire','AI_CHAT_CONTEXT_URL_INVALID_ERROR','input','3622644UEeClM','30nTWcjC','_setupKeystrokes','fieldView','33VlUajs','6672sPWDMm','element','confirmButton','_handleSubmit','trim','value','\x20ck-hidden','ck-labeled-field-view_empty','ck-ai-chat-context-controls__url-form','urlInputField','add','585012JDYsrU','getValue','7bnIjpq','focusCycler','AI_CHAT_CONTEXT_URL_PLACEHOLDER','refreshBalloon','_createBackButton','1073224gLlGIr','AI_CHAT_CONTEXT_URL_LABEL','forEach','168230CHvund','stop','_setupTemplate','clearError','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','submitUrl','shift+tab','createCollection','change:withBackButton','_focusables','listenTo','7uuaidG','destroy','_createConfirmButton','form','1252FeHdpm','_createUrlInputField','cancel','3891114WHtHSw','isEnabled','clear','focusTracker','ck-button-icon','execute','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','withBackButton','AI_CHAT_CONTEXT_URL_ADD_URL','tab','length','focus','render','children','_setupEventHandlers','esc','8974490MZQQkg','submit'];_0x1236=function(){return _0x353f94;};return _0x1236();}(function(_0x286ddf,_0x1d70f1){const _0x58d216=_0x3724,_0x3e160c=_0x286ddf();while(!![]){try{const _0x3b8004=-parseInt(_0x58d216(0x18e))/0x1*(parseInt(_0x58d216(0x196))/0x2)+-parseInt(_0x58d216(0x181))/0x3*(parseInt(_0x58d216(0x1a5))/0x4)+-parseInt(_0x58d216(0x17d))/0x5*(parseInt(_0x58d216(0x18c))/0x6)+-parseInt(_0x58d216(0x1a1))/0x7*(-parseInt(_0x58d216(0x193))/0x8)+parseInt(_0x58d216(0x1a8))/0x9+parseInt(_0x58d216(0x16a))/0xa+-parseInt(_0x58d216(0x180))/0xb*(-parseInt(_0x58d216(0x17c))/0xc);if(_0x3b8004===_0x1d70f1)break;else _0x3e160c['push'](_0x3e160c['shift']());}catch(_0x5604c3){_0x3e160c['push'](_0x3e160c['shift']());}}}(_0x1236,0x79fe0));import{FocusTracker as _0x26170d,KeystrokeHandler as _0x103d3e}from'ckeditor5/src/utils.js';import{ButtonView as _0xf60fe9,FocusCycler as _0x269f42,LabeledFieldView as _0x1f91d0,View as _0x149901,FormHeaderView as _0x26ad26,createLabeledInputText as _0x3e1ff2,submitHandler as _0x5c9b78}from'ckeditor5/src/ui.js';function _0x3724(_0x593fad,_0x377028){const _0x123675=_0x1236();return _0x3724=function(_0x3724a0,_0x51d6d9){_0x3724a0=_0x3724a0-0x16a;let _0x2fe3ee=_0x123675[_0x3724a0];return _0x2fe3ee;},_0x3724(_0x593fad,_0x377028);}import{IconCheck as _0x3028e1,IconPreviousArrow as _0x2f491e}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x55b03e}from'../../../aicore/utils/common-translations.js';const oh=_0x5a6483(0x189),ch=_0x5a6483(0x16e);export class AIChatContextPanelUrlInputView extends _0x149901{[_0x5a6483(0x1ab)];[_0x5a6483(0x172)];[_0x5a6483(0x19f)];[_0x5a6483(0x18f)];[_0x5a6483(0x18a)];[_0x5a6483(0x170)];[_0x5a6483(0x183)];constructor(_0x457c4b){const _0x6959f1=_0x5a6483;super(_0x457c4b),this[_0x6959f1(0x1ab)]=new _0x26170d(),this[_0x6959f1(0x172)]=new _0x103d3e(),this[_0x6959f1(0x170)]=this[_0x6959f1(0x192)](),this[_0x6959f1(0x18a)]=this[_0x6959f1(0x1a6)](),this[_0x6959f1(0x183)]=this[_0x6959f1(0x1a3)](),this[_0x6959f1(0x19f)]=this[_0x6959f1(0x19d)]([this[_0x6959f1(0x170)],this[_0x6959f1(0x18a)],this[_0x6959f1(0x183)]]),this[_0x6959f1(0x18f)]=new _0x269f42({'focusables':this[_0x6959f1(0x19f)],'focusTracker':this[_0x6959f1(0x1ab)],'keystrokeHandler':this[_0x6959f1(0x172)],'actions':{'focusPrevious':_0x6959f1(0x19c),'focusNext':_0x6959f1(0x1b1)}}),this[_0x6959f1(0x173)](_0x6959f1(0x1af),!0x0),this[_0x6959f1(0x198)](),this[_0x6959f1(0x1b6)](),this[_0x6959f1(0x17e)]();}[_0x5a6483(0x1b4)](){const _0x50fa9a=_0x5a6483;super[_0x50fa9a(0x1b4)](),this[_0x50fa9a(0x19f)][_0x50fa9a(0x195)](_0x59bf21=>{const _0x5b9873=_0x50fa9a;this[_0x5b9873(0x1ab)][_0x5b9873(0x18b)](_0x59bf21[_0x5b9873(0x182)]),this[_0x5b9873(0x172)][_0x5b9873(0x1a0)](_0x59bf21[_0x5b9873(0x182)]);}),_0x5c9b78({'view':this}),this[_0x50fa9a(0x1b3)]();}[_0x5a6483(0x1a2)](){const _0x2751d4=_0x5a6483;super[_0x2751d4(0x1a2)](),this[_0x2751d4(0x1ab)][_0x2751d4(0x1a2)](),this[_0x2751d4(0x172)][_0x2751d4(0x1a2)]();}[_0x5a6483(0x1b3)](){const _0x5816a4=_0x5a6483;this[_0x5816a4(0x18a)][_0x5816a4(0x1b3)]();}[_0x5a6483(0x18d)](){const _0x3a10a6=_0x5a6483;return this[_0x3a10a6(0x18a)][_0x3a10a6(0x17f)][_0x3a10a6(0x182)]?.[_0x3a10a6(0x186)]?.[_0x3a10a6(0x185)]()||'';}[_0x5a6483(0x1aa)](){const _0x498a6f=_0x5a6483;this[_0x498a6f(0x18a)][_0x498a6f(0x17f)][_0x498a6f(0x182)][_0x498a6f(0x186)]='',this[_0x498a6f(0x18a)][_0x498a6f(0x171)]=null,this[_0x498a6f(0x183)][_0x498a6f(0x1a9)]=!0x1;}[_0x5a6483(0x177)](_0x15c349){const _0x53f1a9=_0x5a6483;this[_0x53f1a9(0x18a)][_0x53f1a9(0x171)]=_0x15c349,this[_0x53f1a9(0x16c)](),this[_0x53f1a9(0x179)](_0x53f1a9(0x191));}[_0x5a6483(0x199)](){const _0x1223f9=_0x5a6483;this[_0x1223f9(0x18a)][_0x1223f9(0x171)]=null,this[_0x1223f9(0x16c)]();}[_0x5a6483(0x192)](){const _0x97ff9b=_0x5a6483,_0x45ce0a=new _0xf60fe9(this[_0x97ff9b(0x175)]);return _0x45ce0a[_0x97ff9b(0x173)]({'icon':_0x2f491e,'tooltip':_0x55b03e(this[_0x97ff9b(0x175)],_0x97ff9b(0x178)),'tooltipPosition':'n','class':[_0x97ff9b(0x174)]}),this['on'](_0x97ff9b(0x19e),(_0x3b716e,_0x322d6e,_0x560e33)=>{const _0x1f50e0=_0x97ff9b;_0x45ce0a[_0x1f50e0(0x173)]({'class':[_0x1f50e0(0x174)+(_0x560e33?'':_0x1f50e0(0x187))]});}),_0x45ce0a;}[_0x5a6483(0x1a6)](){const _0x4c24f1=_0x5a6483,_0x4512ba=new _0x1f91d0(this[_0x4c24f1(0x175)],_0x3e1ff2);return _0x4512ba[_0x4c24f1(0x173)]({'label':_0x55b03e(this[_0x4c24f1(0x175)],_0x4c24f1(0x194)),'class':_0x4c24f1(0x188)}),_0x4512ba[_0x4c24f1(0x17f)][_0x4c24f1(0x173)]({'placeholder':_0x55b03e(this[_0x4c24f1(0x175)],_0x4c24f1(0x190))}),_0x4512ba;}[_0x5a6483(0x1a3)](){const _0xc9247f=_0x5a6483,_0x928154=new _0xf60fe9(this[_0xc9247f(0x175)]);return _0x928154[_0xc9247f(0x173)]({'icon':_0x3028e1,'tooltip':_0x55b03e(this[_0xc9247f(0x175)],_0xc9247f(0x1b0)),'tooltipPosition':'n','class':_0xc9247f(0x1ac),'type':_0xc9247f(0x16b),'isEnabled':!0x1}),_0x928154;}[_0x5a6483(0x198)](){const _0x22cf4e=_0x5a6483,_0x3ef0c3=new _0x26ad26(this[_0x22cf4e(0x175)],{'label':_0x55b03e(this[_0x22cf4e(0x175)],_0x22cf4e(0x1b0)),'class':_0x22cf4e(0x1ae)});_0x3ef0c3[_0x22cf4e(0x1b5)][_0x22cf4e(0x18b)](this[_0x22cf4e(0x170)],0x0),this[_0x22cf4e(0x16d)]({'tag':_0x22cf4e(0x1a4),'attributes':{'class':oh,'tabindex':'-1'},'children':[_0x3ef0c3,{'tag':_0x22cf4e(0x16f),'attributes':{'class':ch},'children':[this[_0x22cf4e(0x18a)],this[_0x22cf4e(0x183)]]}]});}[_0x5a6483(0x1b6)](){const _0x528d37=_0x5a6483;this[_0x528d37(0x170)]['on'](_0x528d37(0x1ad),()=>{const _0x207d40=_0x528d37;this[_0x207d40(0x1aa)](),this[_0x207d40(0x179)](_0x207d40(0x1a7));}),this[_0x528d37(0x18a)][_0x528d37(0x17f)]['on'](_0x528d37(0x17b),()=>{const _0x54f659=_0x528d37;this[_0x54f659(0x199)](),this[_0x54f659(0x16c)](),this[_0x54f659(0x179)](_0x54f659(0x191));}),this['on'](_0x528d37(0x16b),_0x35dec7=>{const _0x48a79a=_0x528d37;_0x35dec7[_0x48a79a(0x197)](),this[_0x48a79a(0x184)]();});}[_0x5a6483(0x17e)](){const _0x5609fa=_0x5a6483;this[_0x5609fa(0x172)][_0x5609fa(0x173)](_0x5609fa(0x1b7),(_0x2f4d8c,_0x32d42c)=>{const _0x254c4f=_0x5609fa;this[_0x254c4f(0x1aa)](),this[_0x254c4f(0x179)](_0x254c4f(0x1a7)),_0x32d42c();});}[_0x5a6483(0x184)](){const _0x161136=_0x5a6483,_0x14647a=this[_0x161136(0x18d)]()[_0x161136(0x185)]();_0x14647a?this[_0x161136(0x176)](_0x14647a)?(this[_0x161136(0x199)](),this[_0x161136(0x179)](_0x161136(0x19b),_0x14647a)):this[_0x161136(0x177)](_0x55b03e(this[_0x161136(0x175)],_0x161136(0x17a))):this[_0x161136(0x177)](_0x55b03e(this[_0x161136(0x175)],_0x161136(0x19a)));}[_0x5a6483(0x16c)](){const _0x192320=_0x5a6483,_0x3a0572=this[_0x192320(0x18d)]()[_0x192320(0x185)](),_0x2c5fcd=!!this[_0x192320(0x18a)][_0x192320(0x171)];this[_0x192320(0x183)][_0x192320(0x1a9)]=_0x3a0572[_0x192320(0x1b2)]>0x0&&!_0x2c5fcd;}[_0x5a6483(0x176)](_0x6a832a){try{return!!new URL(_0x6a832a);}catch{return!0x1;}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19ef1d=_0x3280;(function(_0x53b39b,_0x6cc168){const _0x1aae0c=_0x3280,_0x43072c=_0x53b39b();while(!![]){try{const _0xf83088=-parseInt(_0x1aae0c(0xe9))/0x1*(-parseInt(_0x1aae0c(0x131))/0x2)+parseInt(_0x1aae0c(0x15c))/0x3+parseInt(_0x1aae0c(0x102))/0x4+parseInt(_0x1aae0c(0x150))/0x5*(-parseInt(_0x1aae0c(0x13f))/0x6)+parseInt(_0x1aae0c(0xe3))/0x7*(parseInt(_0x1aae0c(0xd9))/0x8)+-parseInt(_0x1aae0c(0x120))/0x9+-parseInt(_0x1aae0c(0x163))/0xa;if(_0xf83088===_0x6cc168)break;else _0x43072c['push'](_0x43072c['shift']());}catch(_0x35260a){_0x43072c['push'](_0x43072c['shift']());}}}(_0x4c81,0xd927d));function _0x4c81(){const _0x237af3=['_setAddContextButtonEnabled','current','6626916cGGGJJ','_setupUrlBalloonClickOutsideHandler','isOn','show','_conversationContextsChips','length','buttonView','add','customItems','ck-ai-chat-context-controls','updateResourceState','files','_createUrlBalloonPanelView','createCollection','source','setContextItemLoading','_createBalloonButton','defaultPositions','_createBaseBalloonPanel','ck-reset_all-excluded','clearConversationContextItems','AI_CHAT_CONTEXT_FILE_LABEL','northArrowSouthEast','setConversationContext','setTemplate','balloonView','_setBalloonPanelContent','destroy','_handleUrlSubmit','icon','2896533eMhmEH','_addUrlContent','_setupTemplate','element','_createAddContextButtonView','addResourceToContext','northArrowSouth','render','find','hideUrlBalloonPanel','done','_showSourceResourcesBalloon','_addContextToCollection','ck-ai-chat-controls-button','isLoading','hideAddContextBalloonPanel','bind','194812kjLcZI','__arrow','hide','type','bodyCollection','content','addContextItem','arrowView','AI_CHAT_CONTEXT_ADD_CONTEXT','menuitem','southArrowNorthEast','removeContextItem','execute','_createArrowView','9510900EHGmgm','removeContextItemChip','AI_CHAT_CONTEXT_URL_LABEL','refreshBalloon','_addContextBalloonConfig','isEnabled','_bindEventHandlers','withBackButton','isHidden','div','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','_toggleAddContextBalloon','_createResourcesBalloonView','fire','showSourceResourcesBalloon','enabled','ck-ai-chat-context-controls__add-context-button','5cbgdTe','children','overflowChips','ck-ai-chat-context-controls__pending-contexts','remove','ck-ai-chat-context-chips-wrapper-balloon','get','_urlBalloonPanelView','_setupAddContextBalloonClickOutsideHandler','ck-ai-chat-context-controls__url-balloon-panel','pin','document','2880459pIwjAp','_createAddContextBalloonPanelView','_handleAddContextButtonClick','reorganizeChips','addFileToContext','_overflowManager','label','20096880GEOCkx','showUrlBalloonPanel','ck-ai-chat-context-controls__balloon-button-source','clearCurrentContextItems','urls','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls_context_show-more-button','focus','set','_resourcesBalloonView','executeCustomItemCallback','_urlInputView','sources','368UpdkWl','conversation','_setupAllBalloonClickOutsideHandlers','_getLimiterElement','body','populateSourceResourceBalloon','ck-ai-chat','isAnyResourceBalloonVisible','isReadOnly','southArrowNorth','229390mOnasa','closeSourceResourceBalloon','loadSourceResources','extendTemplate','customItem','tooltip','7TUxkLo','isVisible','ck-ai-chat-context-controls__add-context-balloon-panel','clear','_createContextButton','addContextButtonView','closest','northArrowSouthWest','setContainerElement','_currentContextsChips','locale','submitUrl','searchInputVisibleFrom','cancel','_removeContextFromCollection','setAddContextOptions','addUrlToContext','_addContextBalloonPanelView','_hasExactlyOneSource','southArrowNorthWest','showAddContextBalloonPanel','addDocumentToContext','ck-ai-chat-context-controls__balloon-button'];_0x4c81=function(){return _0x237af3;};return _0x4c81();}import{BalloonPanelView as _0x3b300b,ButtonView as _0x19ecd2,clickOutsideHandler as _0x409a2b,FileDialogButtonView as _0x4ddd35,IconView as _0x15153d,View as _0x5258ec}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x3869a4,IconDocument as _0x356087,IconDocumentOutline as _0x38080e,IconDropdownArrow as _0x1d218c,IconLink as _0x327c00,IconPaperClip as _0x34185b}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x4b7da2}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x5d171a}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x23e316}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x3b5454}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x5af95a}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x19ef1d(0xfe),_0x19ef1d(0x160),_0x19ef1d(0xf9),_0x19ef1d(0x125),_0x19ef1d(0x13c),_0x19ef1d(0xe5),_0x19ef1d(0xd6)];const Ro=_0x19ef1d(0x10b),Oo=_0x19ef1d(0x153),Uo=_0x19ef1d(0xeb),Lo=_0x19ef1d(0x14f),No=_0x19ef1d(0x159),Mo=_0x19ef1d(0xff),Ho=_0x19ef1d(0x165),jo=_0x19ef1d(0x12d),Fo=_0x19ef1d(0x155),Xo=_0x19ef1d(0x169),yo=_0x19ef1d(0x168),Do=_0x19ef1d(0xdf),$o=[_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0xf0)],_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0x126)],_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0x118)],_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0xfc)],_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0xe2)],_0x3b300b[_0x19ef1d(0x113)][_0x19ef1d(0x13b)]];function _0x3280(_0x18ddb8,_0x5f3a64){const _0x4c8158=_0x4c81();return _0x3280=function(_0x328083,_0x425c8d){_0x328083=_0x328083-0xd5;let _0x4772c9=_0x4c8158[_0x328083];return _0x4772c9;},_0x3280(_0x18ddb8,_0x5f3a64);}export class AIChatContextPanelView extends _0x5258ec{[_0x19ef1d(0xee)];[_0x19ef1d(0xf2)]=this[_0x19ef1d(0x10f)]();[_0x19ef1d(0x106)]=this[_0x19ef1d(0x10f)]();[_0x19ef1d(0x161)];[_0x19ef1d(0xfa)];[_0x19ef1d(0x157)];[_0x19ef1d(0xd7)];[_0x19ef1d(0xd5)];[_0x19ef1d(0x143)];[_0x19ef1d(0xfb)]=!0x1;[_0x19ef1d(0x135)];constructor(_0x26481a,_0x45aa93){const _0xbade88=_0x19ef1d;super(_0x26481a),this[_0xbade88(0x135)]=_0x45aa93[_0xbade88(0x135)],this[_0xbade88(0xf2)]=this[_0xbade88(0x10f)](),this[_0xbade88(0x106)]=this[_0xbade88(0x10f)](),this[_0xbade88(0xee)]=this[_0xbade88(0x124)](_0x26481a),this[_0xbade88(0xfa)]=this[_0xbade88(0x15d)](_0x26481a),this[_0xbade88(0x157)]=this[_0xbade88(0x10e)](_0x26481a),this[_0xbade88(0xd5)]=this[_0xbade88(0x14b)](_0x26481a,_0x45aa93);const _0x5cc637={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':Fo,'controlsButton':jo}};this[_0xbade88(0x161)]=new _0x23e316(_0x26481a,this[_0xbade88(0xf2)],_0x5cc637,this[_0xbade88(0x135)],this),this[_0xbade88(0x143)]={'buttonView':this[_0xbade88(0xee)],'balloonView':this[_0xbade88(0xfa)],'hideMethod':this[_0xbade88(0x12f)][_0xbade88(0x130)](this),'showMethod':this[_0xbade88(0xfd)][_0xbade88(0x130)](this)},this[_0xbade88(0x122)](),this[_0xbade88(0x145)]();}[_0x19ef1d(0x127)](){const _0x18e2a9=_0x19ef1d;super[_0x18e2a9(0x127)](),this[_0x18e2a9(0xdb)](),this[_0x18e2a9(0x161)][_0x18e2a9(0xf1)](this[_0x18e2a9(0x123)]),this[_0x18e2a9(0x161)][_0x18e2a9(0x15f)]();}[_0x19ef1d(0x11d)](){const _0x1f51d1=_0x19ef1d;super[_0x1f51d1(0x11d)](),this[_0x1f51d1(0x161)][_0x1f51d1(0x11d)](),this[_0x1f51d1(0xd5)][_0x1f51d1(0x11d)]();}[_0x19ef1d(0x137)](_0x387469,_0xdab064){const _0x386398=_0x19ef1d,_0x40c56a=this[_0x386398(0xed)](_0x387469,_0x386398(0x101),!0x0,_0xdab064);this[_0x386398(0x12c)](_0x40c56a,this[_0x386398(0xf2)]),this[_0x386398(0x161)][_0x386398(0x15f)]();}[_0x19ef1d(0x13c)](_0x1936b8){const _0x40b520=_0x19ef1d;this[_0x40b520(0xf7)](_0x1936b8,this[_0x40b520(0xf2)]),this[_0x40b520(0xf7)](_0x1936b8,this[_0x40b520(0x161)][_0x40b520(0x152)]),this[_0x40b520(0x161)][_0x40b520(0x15f)]();}[_0x19ef1d(0x111)](_0x2492ec,_0x27fb2a){const _0x575b08=_0x19ef1d;let _0x322101=this[_0x575b08(0xf2)][_0x575b08(0x128)](_0x5e202c=>_0x5e202c['id']===_0x2492ec);_0x322101||(_0x322101=this[_0x575b08(0x161)][_0x575b08(0x152)][_0x575b08(0x128)](_0x2c8020=>_0x2c8020['id']===_0x2492ec)),_0x322101&&(_0x322101[_0x575b08(0x12e)]=_0x27fb2a);}[_0x19ef1d(0x119)](_0x54cf9f){const _0x28edf1=_0x19ef1d;this[_0x28edf1(0x106)][_0x28edf1(0xec)]();for(const _0x4f8922 of _0x54cf9f){const _0xe12405=this[_0x28edf1(0xed)](_0x4f8922,_0x28edf1(0xda),!0x1,!0x1);this[_0x28edf1(0x12c)](_0xe12405,this[_0x28edf1(0x106)]);}}[_0x19ef1d(0x166)](){const _0x212563=_0x19ef1d;this[_0x212563(0xf2)][_0x212563(0xec)](),this[_0x212563(0x161)][_0x212563(0xec)]();}[_0x19ef1d(0x116)](){const _0x760430=_0x19ef1d;this[_0x760430(0x106)][_0x760430(0xec)]();}[_0x19ef1d(0x10c)](_0x4474db,_0xbbdf19,_0x11c434){const _0x150440=_0x19ef1d;this[_0x150440(0xd5)][_0x150440(0x10c)](_0x4474db,_0xbbdf19,_0x11c434);}[_0x19ef1d(0x12f)](){const _0x55c230=_0x19ef1d;this[_0x55c230(0x14a)](!0x1);}[_0x19ef1d(0xfd)](){const _0x12788a=_0x19ef1d;this[_0x12788a(0x14a)](!0x0);}[_0x19ef1d(0x129)](){const _0x4ec314=_0x19ef1d;this[_0x4ec314(0x157)][_0x4ec314(0x133)](),this[_0x4ec314(0xee)][_0x4ec314(0x104)]=!0x1,this[_0x4ec314(0xd7)]&&this[_0x4ec314(0xd7)][_0x4ec314(0xec)]();}[_0x19ef1d(0x164)](){const _0x502b58=_0x19ef1d;this[_0x502b58(0x157)][_0x502b58(0x105)](),this[_0x502b58(0xee)][_0x502b58(0x104)]=!0x0;}[_0x19ef1d(0x12b)]({source:_0x20cbbf,withBackButton:_0x219c6b}){const _0x3d4ca6=_0x19ef1d;this[_0x3d4ca6(0xd5)][_0x3d4ca6(0x14d)]({'source':_0x20cbbf,'withBackButton':_0x219c6b}),this[_0x3d4ca6(0xee)][_0x3d4ca6(0x104)]=!0x0;}[_0x19ef1d(0xde)](_0x5ccf6e,_0x4da134,_0x194061,_0xdd7249){const _0x106967=_0x19ef1d;this[_0x106967(0xd5)][_0x106967(0xde)](_0x5ccf6e,_0x194061,_0xdd7249);}[_0x19ef1d(0xe4)](_0x3eccba){const _0x2212f7=_0x19ef1d;this[_0x2212f7(0xd5)][_0x2212f7(0xe4)](_0x3eccba),this[_0x2212f7(0xee)][_0x2212f7(0x104)]=!0x1;}[_0x19ef1d(0xf8)](_0x51310a){const _0x227fc8=_0x19ef1d;this[_0x227fc8(0x11c)](this[_0x227fc8(0xfa)],this[_0x227fc8(0xf3)],_0x51310a),this[_0x227fc8(0x100)](_0x51310a);}[_0x19ef1d(0x100)](_0x4824a5){const _0x5e706f=_0x19ef1d,_0x221bc3=!_0x4824a5[_0x5e706f(0x15b)][_0x5e706f(0x147)]&&_0x4824a5[_0x5e706f(0x15b)][_0x5e706f(0x14e)],_0x186b63=_0x4824a5[_0x5e706f(0x167)][_0x5e706f(0x14e)],_0x42961b=_0x4824a5[_0x5e706f(0x10d)][_0x5e706f(0x14e)],_0x109e24=_0x4824a5[_0x5e706f(0xd8)][_0x5e706f(0x107)]>0x0,_0x141e4a=_0x4824a5[_0x5e706f(0x10a)]&&_0x4824a5[_0x5e706f(0x10a)][_0x5e706f(0x107)]>0x0;this[_0x5e706f(0xee)][_0x5e706f(0x144)]=_0x221bc3||_0x186b63||_0x42961b||_0x109e24||_0x141e4a;}[_0x19ef1d(0x122)](){const _0xe40910=_0x19ef1d;this[_0xe40910(0x11a)]({'tag':_0xe40910(0x148),'attributes':{'class':[Ro,_0xe40910(0x115)]},'children':[{'tag':_0xe40910(0x148),'attributes':{'class':Oo},'children':this[_0xe40910(0xf2)]}]});}[_0x19ef1d(0x145)](){const _0x2f36e0=_0x19ef1d;this[_0x2f36e0(0xee)]['on'](_0x2f36e0(0x13d),()=>{const _0x27bdce=_0x2f36e0;this[_0x27bdce(0x15e)]();});}[_0x19ef1d(0x124)](_0x2d4fa1){const _0x29d489=_0x19ef1d,_0x4db254=new _0x19ecd2(_0x2d4fa1);return _0x4db254[_0x29d489(0x16b)]({'label':_0x3b5454(_0x2d4fa1,_0x29d489(0x139)),'class':jo+'\x20'+Lo,'icon':_0x34185b,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x4db254;}[_0x19ef1d(0x15d)](_0x40f692){const _0x3fd22d=_0x19ef1d;return this[_0x3fd22d(0x114)](_0x40f692,Uo);}[_0x19ef1d(0x10e)](_0x4bdcae){const _0x2a283a=_0x19ef1d,_0x5bcd22=this[_0x2a283a(0x114)](_0x4bdcae,No);return this[_0x2a283a(0x121)](_0x5bcd22,_0x4bdcae),_0x5bcd22;}[_0x19ef1d(0x14b)](_0x38a23b,_0x24d310){const _0x5863cd=_0x19ef1d,_0x513eba={'searchInputVisibleFrom':_0x24d310[_0x5863cd(0xf5)],'onBackToContext':()=>{const _0x4dce30=_0x5863cd;this[_0x4dce30(0xfd)](),this[_0x4dce30(0xfa)][_0x4dce30(0x15a)]({'target':this[_0x4dce30(0xee)][_0x4dce30(0x123)],'limiter':this[_0x4dce30(0xdc)](),'positions':$o});},'onResourceSelected':(_0x3f30af,_0x196b18)=>{const _0x4d4a51=_0x5863cd;this[_0x4d4a51(0x14c)](_0x4d4a51(0x125),{'source':_0x3f30af,'resource':_0x196b18});},'onLoadSourceResources':_0x1dbd61=>{const _0x67d04c=_0x5863cd;this[_0x67d04c(0x14c)](_0x67d04c(0xe5),_0x1dbd61);},'onBalloonClosed':()=>{const _0x154ab6=_0x5863cd;this[_0x154ab6(0xee)][_0x154ab6(0x104)]=!0x1;},'getLimiterElement':()=>this[_0x5863cd(0xdc)](),'getTargetElement':()=>this[_0x5863cd(0xee)][_0x5863cd(0x123)]};return new _0x5af95a(_0x38a23b,_0x24d310[_0x5863cd(0x135)],_0x513eba);}[_0x19ef1d(0xdc)](){const _0x356f50=_0x19ef1d;return this[_0x356f50(0x123)]?.[_0x356f50(0xef)]('.'+Do)||document[_0x356f50(0xdd)];}[_0x19ef1d(0x114)](_0xf35f7d,_0x18919b){const _0x4f3760=_0x19ef1d,_0x32af4b=new _0x3b300b(_0xf35f7d);return _0x32af4b[_0x4f3760(0xe6)]({'attributes':{'class':_0x18919b}}),this[_0x4f3760(0x135)][_0x4f3760(0x109)](_0x32af4b),_0x32af4b;}[_0x19ef1d(0x11c)](_0x119204,_0x489f21,_0x19b766){const _0x284a30=_0x19ef1d;if(_0x119204[_0x284a30(0x136)][_0x284a30(0xec)](),!_0x19b766[_0x284a30(0x15b)][_0x284a30(0x147)]&&_0x19b766[_0x284a30(0x15b)][_0x284a30(0x14e)]){const _0x4bbed3=this[_0x284a30(0x112)](_0x489f21,{'label':_0x3b5454(_0x489f21,_0x284a30(0x149)),'icon':_0x356087});_0x4bbed3['on'](_0x284a30(0x13d),()=>{const _0x4d9575=_0x284a30;this[_0x4d9575(0x14c)](_0x4d9575(0xfe)),this[_0x4d9575(0x12f)]();}),_0x119204[_0x284a30(0x136)][_0x284a30(0x109)](_0x4bbed3);}if(_0x19b766[_0x284a30(0x167)][_0x284a30(0x14e)]){const _0x3081ba=this[_0x284a30(0x112)](_0x489f21,{'label':_0x3b5454(_0x489f21,_0x284a30(0x141)),'icon':_0x327c00});_0x3081ba['on'](_0x284a30(0x13d),()=>{const _0x35614a=_0x284a30;this[_0x35614a(0x12f)](),this[_0x35614a(0x164)](),this[_0x35614a(0x157)][_0x35614a(0x15a)]({'target':this[_0x35614a(0xee)][_0x35614a(0x123)],'limiter':this[_0x35614a(0xdc)](),'positions':$o}),this[_0x35614a(0xd7)][_0x35614a(0x16a)]();}),_0x119204[_0x284a30(0x136)][_0x284a30(0x109)](_0x3081ba);}if(_0x19b766[_0x284a30(0x10d)][_0x284a30(0x14e)]){const _0x3ea3ce=new _0x4ddd35(_0x489f21);_0x3ea3ce[_0x284a30(0x16b)]({'label':_0x3b5454(_0x489f21,_0x284a30(0x117)),'icon':_0x3869a4,'withText':!0x0,'tooltip':!0x0,'class':Mo,'allowMultipleFiles':!0x0}),_0x3ea3ce['on'](_0x284a30(0x13d),()=>{const _0x8ed303=_0x284a30;this[_0x8ed303(0x12f)]();}),_0x3ea3ce['on'](_0x284a30(0x12a),(_0x123a4e,_0x29e846)=>{const _0x475af5=_0x284a30;this[_0x475af5(0x14c)](_0x475af5(0x160),_0x29e846);}),_0x3ea3ce[_0x284a30(0xe8)]=!0x0,_0x119204[_0x284a30(0x136)][_0x284a30(0x109)](_0x3ea3ce);}for(const _0x16f8ca of _0x19b766[_0x284a30(0xd8)]){const _0x4b9756=this[_0x284a30(0x112)](_0x489f21,{'label':_0x16f8ca[_0x284a30(0x162)],'icon':_0x16f8ca[_0x284a30(0x11f)]||_0x38080e,'type':_0x284a30(0x110)});_0x119204[_0x284a30(0x136)][_0x284a30(0x109)](_0x4b9756),_0x4b9756['on'](_0x284a30(0x13d),()=>{const _0x1a4c34=_0x284a30;this[_0x1a4c34(0x12f)](),this[_0x1a4c34(0x12b)]({'source':_0x16f8ca,'withBackButton':!this[_0x1a4c34(0xfb)]});});}for(const _0x475821 of _0x19b766[_0x284a30(0x10a)]||[]){const _0x2fe64c=this[_0x284a30(0x112)](_0x489f21,{'label':_0x475821[_0x284a30(0x162)],'icon':_0x475821[_0x284a30(0x11f)]||_0x38080e,'type':_0x284a30(0xe7)});_0x119204[_0x284a30(0x136)][_0x284a30(0x109)](_0x2fe64c),_0x2fe64c['on'](_0x284a30(0x13d),()=>{const _0x55e50c=_0x284a30;this[_0x55e50c(0x12f)](),this[_0x55e50c(0x14c)](_0x55e50c(0xd6),_0x475821);});}this[_0x284a30(0xfb)]=0x1===_0x119204[_0x284a30(0x136)][_0x284a30(0x107)],this[_0x284a30(0xd7)][_0x284a30(0x146)]=!this[_0x284a30(0xfb)];}[_0x19ef1d(0x121)](_0x3921c7,_0x165365){const _0x514a67=_0x19ef1d;this[_0x514a67(0xd7)]=new _0x5d171a(_0x165365),this[_0x514a67(0xd7)]['on'](_0x514a67(0xf4),(_0x18ff15,_0x112b29)=>{const _0x2459ef=_0x514a67;this[_0x2459ef(0x11e)](_0x112b29);}),this[_0x514a67(0xd7)]['on'](_0x514a67(0xf6),()=>{const _0x5d089e=_0x514a67;this[_0x5d089e(0x129)](),this[_0x5d089e(0xfb)]||(this[_0x5d089e(0xfd)](),this[_0x5d089e(0xfa)][_0x5d089e(0x15a)]({'target':this[_0x5d089e(0xee)][_0x5d089e(0x123)],'limiter':this[_0x5d089e(0xdc)](),'positions':$o}));}),this[_0x514a67(0xd7)]['on'](_0x514a67(0x142),()=>{const _0x3bceff=_0x514a67;this[_0x3bceff(0x157)][_0x3bceff(0xea)]&&this[_0x3bceff(0x157)][_0x3bceff(0x15a)]({'target':this[_0x3bceff(0xee)][_0x3bceff(0x123)],'limiter':this[_0x3bceff(0xdc)](),'positions':$o});}),_0x3921c7[_0x514a67(0x136)][_0x514a67(0x109)](this[_0x514a67(0xd7)]);}[_0x19ef1d(0x112)](_0x3b4676,_0x5a1c33){const _0x4a930d=_0x19ef1d,_0x2c7773=_0x4a930d(0x110)===_0x5a1c33[_0x4a930d(0x134)]?new SourcesBalloonButtonView(_0x3b4676):new _0x19ecd2(_0x3b4676);return _0x2c7773[_0x4a930d(0x16b)]({'label':_0x5a1c33[_0x4a930d(0x162)],'icon':_0x5a1c33[_0x4a930d(0x11f)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Mo}),_0x2c7773;}[_0x19ef1d(0xdb)](){const _0x48c9e1=_0x19ef1d;this[_0x48c9e1(0x158)](),this[_0x48c9e1(0x103)]();}[_0x19ef1d(0x103)](){const _0x28bf96=_0x19ef1d;_0x409a2b({'emitter':this[_0x28bf96(0x157)],'contextElements':[this[_0x28bf96(0x157)][_0x28bf96(0x123)]],'callback':()=>{const _0x186d15=_0x28bf96;this[_0x186d15(0x129)]();},'activator':()=>this[_0x28bf96(0x157)][_0x28bf96(0xea)]});}[_0x19ef1d(0x14a)](_0x1077a1){const _0x354310=_0x19ef1d,_0x3b182f=this[_0x354310(0x143)];_0x3b182f[_0x354310(0x108)][_0x354310(0x104)]=_0x1077a1,_0x1077a1?_0x3b182f[_0x354310(0x11b)][_0x354310(0x105)]():_0x3b182f[_0x354310(0x11b)][_0x354310(0x133)]();}[_0x19ef1d(0x158)](){const _0x38321a=_0x19ef1d,{balloonView:_0x3b6783,buttonView:_0x35ae4d,hideMethod:_0x1a6480}=this[_0x38321a(0x143)];_0x409a2b({'emitter':_0x3b6783,'contextElements':[_0x3b6783[_0x38321a(0x123)],_0x35ae4d[_0x38321a(0x123)]],'callback':()=>{_0x1a6480();},'activator':()=>_0x35ae4d[_0x38321a(0x104)]&&!this[_0x38321a(0x157)][_0x38321a(0xea)]&&!this[_0x38321a(0xd5)][_0x38321a(0xe0)]()});}[_0x19ef1d(0xed)](_0x32c2a7,_0x12e531,_0x1e5866=!0x1,_0x575aed=!0x1){const _0x27218c=_0x19ef1d,_0x2565cd=_0x27218c(0xda)===_0x12e531||!0x0===_0x32c2a7[_0x27218c(0xe1)],_0x27a3b5=new _0x4b7da2(this[_0x27218c(0xf3)],_0x32c2a7,_0x2565cd,_0x1e5866,_0x575aed);return _0x2565cd||_0x27a3b5['on'](_0x27218c(0x140),()=>{const _0xd1beda=_0x27218c;this[_0xd1beda(0x14c)](_0xd1beda(0x13c),_0x27a3b5['id']);}),_0x27a3b5;}[_0x19ef1d(0x12c)](_0x31646e,_0x1bb0ad){const _0x1646f7=_0x19ef1d;_0x1bb0ad[_0x1646f7(0x109)](_0x31646e,0x0);}[_0x19ef1d(0xf7)](_0xcb8276,_0x5e7d8c){const _0x43003e=_0x19ef1d,_0x541a55=_0x5e7d8c[_0x43003e(0x128)](_0x456853=>_0x456853['id']===_0xcb8276);_0x541a55&&_0x5e7d8c[_0x43003e(0x154)](_0x541a55);}[_0x19ef1d(0x15e)](){const _0x5d6bc8=_0x19ef1d;this[_0x5d6bc8(0xee)][_0x5d6bc8(0x104)]?this[_0x5d6bc8(0x12f)]():(this[_0x5d6bc8(0xfd)](),this[_0x5d6bc8(0xfa)][_0x5d6bc8(0x15a)]({'target':this[_0x5d6bc8(0xee)][_0x5d6bc8(0x123)],'limiter':this[_0x5d6bc8(0xdc)](),'positions':$o}),this[_0x5d6bc8(0xfb)]&&this[_0x5d6bc8(0xfa)][_0x5d6bc8(0x136)][_0x5d6bc8(0x156)](0x0)?.[_0x5d6bc8(0x14c)](_0x5d6bc8(0x13d)));}[_0x19ef1d(0x11e)](_0x215d32){const _0x47aa03=_0x19ef1d;this[_0x47aa03(0xd7)][_0x47aa03(0xec)](),this[_0x47aa03(0x129)](),this[_0x47aa03(0x14c)](_0x47aa03(0xf9),_0x215d32);}}export class SourcesBalloonButtonView extends _0x19ecd2{[_0x19ef1d(0x138)];constructor(_0x5381a6){const _0x49c5aa=_0x19ef1d;super(_0x5381a6),this[_0x49c5aa(0x16b)]({'withText':!0x0,'role':_0x49c5aa(0x13a)}),this[_0x49c5aa(0x138)]=this[_0x49c5aa(0x13e)](),this[_0x49c5aa(0xe6)]({'attributes':{'class':[Ho]}});}[_0x19ef1d(0x127)](){const _0x18655d=_0x19ef1d;super[_0x18655d(0x127)](),this[_0x18655d(0x151)][_0x18655d(0x109)](this[_0x18655d(0x138)]);}[_0x19ef1d(0x13e)](){const _0xf7c437=_0x19ef1d,_0x5b9e7f=new _0x15153d();return _0x5b9e7f[_0xf7c437(0x136)]=_0x1d218c,_0x5b9e7f[_0xf7c437(0xe6)]({'attributes':{'class':Ho+_0xf7c437(0x132)}}),_0x5b9e7f;}}
|
|
23
|
+
const _0x3f867c=_0x6e7c;(function(_0x110210,_0x49e7b3){const _0x3b53f8=_0x6e7c,_0x32d5b2=_0x110210();while(!![]){try{const _0x2b7c89=-parseInt(_0x3b53f8(0x178))/0x1+-parseInt(_0x3b53f8(0x187))/0x2+-parseInt(_0x3b53f8(0x13a))/0x3*(-parseInt(_0x3b53f8(0x149))/0x4)+parseInt(_0x3b53f8(0x189))/0x5*(-parseInt(_0x3b53f8(0x15d))/0x6)+parseInt(_0x3b53f8(0x121))/0x7*(parseInt(_0x3b53f8(0x10e))/0x8)+-parseInt(_0x3b53f8(0x10d))/0x9+parseInt(_0x3b53f8(0x12c))/0xa;if(_0x2b7c89===_0x49e7b3)break;else _0x32d5b2['push'](_0x32d5b2['shift']());}catch(_0xbcbe4f){_0x32d5b2['push'](_0x32d5b2['shift']());}}}(_0x5aa8,0xa925b));function _0x5aa8(){const _0x5150e5=['searchInputVisibleFrom','697836JkpUYR','closest','length','_addUrlContent','_createArrowView','overflowChips','show','element','ck-ai-chat-context-chips-wrapper-balloon','_setupTemplate','arrowView','addContextItem','execute','urls','_currentContextsChips','hideUrlBalloonPanel','addFileToContext','showAddContextBalloonPanel','_addContextBalloonPanelView','isReadOnly','1473006byqImF','removeContextItem','locale','ck-ai-chat-context-controls__balloon-button-source','executeCustomItemCallback','addUrlToContext','label','ck-ai-chat-context-controls__pending-contexts','ck-reset_all-excluded','_createAddContextButtonView','addResourceToContext','ck-ai-chat-context-controls__url-balloon-panel','document','AI_CHAT_CONTEXT_URL_LABEL','sources','updateResourceState','balloonView','isEnabled','_addContextBalloonConfig','_createContextButton','clearCurrentContextItems','done','refreshBalloon','set','_removeContextFromCollection','setContextItemLoading','ck-ai-chat','478552aJDKkA','defaultPositions','_bindEventHandlers','current','ck-ai-chat-context-controls__add-context-button','createCollection','addDocumentToContext','_hasExactlyOneSource','_setupAddContextBalloonClickOutsideHandler','_createAddContextBalloonPanelView','clear','reorganizeChips','_resourcesBalloonView','populateSourceResourceBalloon','northArrowSouthEast','1310168KSHIDf','_urlBalloonPanelView','5PUtwJd','isLoading','_handleAddContextButtonClick','content','isHidden','closeSourceResourceBalloon','add','cancel','_showSourceResourcesBalloon','enabled','menuitem','__arrow','buttonView','icon','_addContextToCollection','ck-ai-chat-context-controls__balloon-button','find','_getLimiterElement','_handleUrlSubmit','render','_overflowManager','northArrowSouth','children','_urlInputView','bind','get','southArrowNorthEast','5315481NAUzsp','26584uEDqvC','destroy','isAnyResourceBalloonVisible','ck-ai-chat-controls-button','setConversationContext','_setupUrlBalloonClickOutsideHandler','isVisible','fire','southArrowNorth','_toggleAddContextBalloon','_createResourcesBalloonView','_conversationContextsChips','hide','customItems','_setupAllBalloonClickOutsideHandlers','_setBalloonPanelContent','clearConversationContextItems','remove','ck-ai-chat-context-controls__add-context-balloon-panel','1939YyUZrj','source','isOn','AI_CHAT_CONTEXT_ADD_CONTEXT','body','conversation','southArrowNorthWest','loadSourceResources','extendTemplate','focus','showUrlBalloonPanel','15676430mQOmFl','northArrowSouthWest','ck-ai-chat-context-controls__show-more-balloon-panel','tooltip','files','div','customItem','addContextButtonView','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','type','withBackButton','showSourceResourcesBalloon','_createBaseBalloonPanel','setTemplate','3ikuSKd','removeContextItemChip','setAddContextOptions','submitUrl','_setAddContextButtonEnabled','setContainerElement','bodyCollection','hideAddContextBalloonPanel','_createBalloonButton','AI_CHAT_CONTEXT_FILE_LABEL','ck-ai-chat-context-controls','ck-ai-chat-controls_context_show-more-button','pin','_createUrlBalloonPanelView'];_0x5aa8=function(){return _0x5150e5;};return _0x5aa8();}import{BalloonPanelView as _0x82bce3,ButtonView as _0x3a60ba,clickOutsideHandler as _0x19e289,FileDialogButtonView as _0x22be8d,IconView as _0x5e5ad1,View as _0x32bf15}from'ckeditor5/src/ui.js';import{IconBrowseFiles as _0x190117,IconDocument as _0x5d1f56,IconDocumentOutline as _0x5402cd,IconDropdownArrow as _0x2d8b63,IconLink as _0x39f0b6,IconPaperClip as _0x35dbf5}from'@ckeditor/ckeditor5-icons';import{AIChatContextItemButtonView as _0x521dee}from'./aichatcontextitembuttonview.js';import{AIChatContextPanelUrlInputView as _0x16c38d}from'./aichatcontextpanelurlinputview.js';import{AIChatChipsOverflowManager as _0x3f1ac2}from'./aichatchipsoverflowmanager.js';import{getTranslation as _0x3f377c}from'../../../aicore/utils/common-translations.js';import{AIChatResourcesBalloonView as _0x254e1e}from'./resources/aichatresourcesballoonview.js';export const CONTEXT_PANEL_VIEW_EVENT_NAMES=[_0x3f867c(0x17e),_0x3f867c(0x159),_0x3f867c(0x162),_0x3f867c(0x167),_0x3f867c(0x15e),_0x3f867c(0x128),_0x3f867c(0x161)];const Ro=_0x3f867c(0x144),Oo=_0x3f867c(0x164),Uo=_0x3f867c(0x120),Lo=_0x3f867c(0x17c),No=_0x3f867c(0x168),Mo=_0x3f867c(0x101),Ho=_0x3f867c(0x160),jo=_0x3f867c(0x111),Fo=_0x3f867c(0x151),Xo=_0x3f867c(0x145),yo=_0x3f867c(0x12e),Do=_0x3f867c(0x177),$o=[_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x12d)],_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x107)],_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x186)],_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x127)],_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x116)],_0x82bce3[_0x3f867c(0x179)][_0x3f867c(0x10c)]];export class AIChatContextPanelView extends _0x32bf15{[_0x3f867c(0x133)];[_0x3f867c(0x157)]=this[_0x3f867c(0x17d)]();[_0x3f867c(0x119)]=this[_0x3f867c(0x17d)]();[_0x3f867c(0x106)];[_0x3f867c(0x15b)];[_0x3f867c(0x188)];[_0x3f867c(0x109)];[_0x3f867c(0x184)];[_0x3f867c(0x16f)];[_0x3f867c(0x17f)]=!0x1;[_0x3f867c(0x140)];constructor(_0x19779a,_0x460f82){const _0xa195a=_0x3f867c;super(_0x19779a),this[_0xa195a(0x140)]=_0x460f82[_0xa195a(0x140)],this[_0xa195a(0x157)]=this[_0xa195a(0x17d)](),this[_0xa195a(0x119)]=this[_0xa195a(0x17d)](),this[_0xa195a(0x133)]=this[_0xa195a(0x166)](_0x19779a),this[_0xa195a(0x15b)]=this[_0xa195a(0x181)](_0x19779a),this[_0xa195a(0x188)]=this[_0xa195a(0x147)](_0x19779a),this[_0xa195a(0x184)]=this[_0xa195a(0x118)](_0x19779a,_0x460f82);const _0x16891d={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':Fo,'controlsButton':jo}};this[_0xa195a(0x106)]=new _0x3f1ac2(_0x19779a,this[_0xa195a(0x157)],_0x16891d,this[_0xa195a(0x140)],this),this[_0xa195a(0x16f)]={'buttonView':this[_0xa195a(0x133)],'balloonView':this[_0xa195a(0x15b)],'hideMethod':this[_0xa195a(0x141)][_0xa195a(0x10a)](this),'showMethod':this[_0xa195a(0x15a)][_0xa195a(0x10a)](this)},this[_0xa195a(0x152)](),this[_0xa195a(0x17a)]();}[_0x3f867c(0x105)](){const _0x5180d6=_0x3f867c;super[_0x5180d6(0x105)](),this[_0x5180d6(0x11c)](),this[_0x5180d6(0x106)][_0x5180d6(0x13f)](this[_0x5180d6(0x150)]),this[_0x5180d6(0x106)][_0x5180d6(0x183)]();}[_0x3f867c(0x10f)](){const _0x496020=_0x3f867c;super[_0x496020(0x10f)](),this[_0x496020(0x106)][_0x496020(0x10f)](),this[_0x496020(0x184)][_0x496020(0x10f)]();}[_0x3f867c(0x154)](_0x5b6e44,_0x3d1133){const _0x1a3573=_0x3f867c,_0x1a3568=this[_0x1a3573(0x170)](_0x5b6e44,_0x1a3573(0x17b),!0x0,_0x3d1133);this[_0x1a3573(0x100)](_0x1a3568,this[_0x1a3573(0x157)]),this[_0x1a3573(0x106)][_0x1a3573(0x183)]();}[_0x3f867c(0x15e)](_0x4c5db4){const _0x19f068=_0x3f867c;this[_0x19f068(0x175)](_0x4c5db4,this[_0x19f068(0x157)]),this[_0x19f068(0x175)](_0x4c5db4,this[_0x19f068(0x106)][_0x19f068(0x14e)]),this[_0x19f068(0x106)][_0x19f068(0x183)]();}[_0x3f867c(0x176)](_0x3740f4,_0xd464b2){const _0x3506ec=_0x3f867c;let _0x555fea=this[_0x3506ec(0x157)][_0x3506ec(0x102)](_0x1a0b1a=>_0x1a0b1a['id']===_0x3740f4);_0x555fea||(_0x555fea=this[_0x3506ec(0x106)][_0x3506ec(0x14e)][_0x3506ec(0x102)](_0x47ca21=>_0x47ca21['id']===_0x3740f4)),_0x555fea&&(_0x555fea[_0x3506ec(0x18a)]=_0xd464b2);}[_0x3f867c(0x112)](_0x288af0){const _0xa0bcb0=_0x3f867c;this[_0xa0bcb0(0x119)][_0xa0bcb0(0x182)]();for(const _0x3a322d of _0x288af0){const _0x6f40f6=this[_0xa0bcb0(0x170)](_0x3a322d,_0xa0bcb0(0x126),!0x1,!0x1);this[_0xa0bcb0(0x100)](_0x6f40f6,this[_0xa0bcb0(0x119)]);}}[_0x3f867c(0x171)](){const _0x5a4f26=_0x3f867c;this[_0x5a4f26(0x157)][_0x5a4f26(0x182)](),this[_0x5a4f26(0x106)][_0x5a4f26(0x182)]();}[_0x3f867c(0x11e)](){const _0x2d9bf1=_0x3f867c;this[_0x2d9bf1(0x119)][_0x2d9bf1(0x182)]();}[_0x3f867c(0x16c)](_0x1d80cf,_0x4b04f1,_0x2e543f){const _0x255ac3=_0x3f867c;this[_0x255ac3(0x184)][_0x255ac3(0x16c)](_0x1d80cf,_0x4b04f1,_0x2e543f);}[_0x3f867c(0x141)](){const _0x41c22f=_0x3f867c;this[_0x41c22f(0x117)](!0x1);}[_0x3f867c(0x15a)](){const _0x504efb=_0x3f867c;this[_0x504efb(0x117)](!0x0);}[_0x3f867c(0x158)](){const _0x1b9958=_0x3f867c;this[_0x1b9958(0x188)][_0x1b9958(0x11a)](),this[_0x1b9958(0x133)][_0x1b9958(0x123)]=!0x1,this[_0x1b9958(0x109)]&&this[_0x1b9958(0x109)][_0x1b9958(0x182)]();}[_0x3f867c(0x12b)](){const _0x211d12=_0x3f867c;this[_0x211d12(0x188)][_0x211d12(0x14f)](),this[_0x211d12(0x133)][_0x211d12(0x123)]=!0x0;}[_0x3f867c(0x191)]({source:_0x184396,withBackButton:_0x1e12f2}){const _0x511f32=_0x3f867c;this[_0x511f32(0x184)][_0x511f32(0x137)]({'source':_0x184396,'withBackButton':_0x1e12f2}),this[_0x511f32(0x133)][_0x511f32(0x123)]=!0x0;}[_0x3f867c(0x185)](_0x3f4043,_0xbebe5c,_0x5d7fdb,_0x458ca8){const _0x37fcd6=_0x3f867c;this[_0x37fcd6(0x184)][_0x37fcd6(0x185)](_0x3f4043,_0x5d7fdb,_0x458ca8);}[_0x3f867c(0x18e)](_0x4cc1d7){const _0x4fbc0f=_0x3f867c;this[_0x4fbc0f(0x184)][_0x4fbc0f(0x18e)](_0x4cc1d7),this[_0x4fbc0f(0x133)][_0x4fbc0f(0x123)]=!0x1;}[_0x3f867c(0x13c)](_0x25c254){const _0x4c6b25=_0x3f867c;this[_0x4c6b25(0x11d)](this[_0x4c6b25(0x15b)],this[_0x4c6b25(0x15f)],_0x25c254),this[_0x4c6b25(0x13e)](_0x25c254);}[_0x3f867c(0x13e)](_0x120339){const _0x94f5e9=_0x3f867c,_0x2210f5=!_0x120339[_0x94f5e9(0x169)][_0x94f5e9(0x18d)]&&_0x120339[_0x94f5e9(0x169)][_0x94f5e9(0x192)],_0x7de0de=_0x120339[_0x94f5e9(0x156)][_0x94f5e9(0x192)],_0x162cc0=_0x120339[_0x94f5e9(0x130)][_0x94f5e9(0x192)],_0x38d54c=_0x120339[_0x94f5e9(0x16b)][_0x94f5e9(0x14b)]>0x0,_0x702fb2=_0x120339[_0x94f5e9(0x11b)]&&_0x120339[_0x94f5e9(0x11b)][_0x94f5e9(0x14b)]>0x0;this[_0x94f5e9(0x133)][_0x94f5e9(0x16e)]=_0x2210f5||_0x7de0de||_0x162cc0||_0x38d54c||_0x702fb2;}[_0x3f867c(0x152)](){const _0x3debd2=_0x3f867c;this[_0x3debd2(0x139)]({'tag':_0x3debd2(0x131),'attributes':{'class':[Ro,_0x3debd2(0x165)]},'children':[{'tag':_0x3debd2(0x131),'attributes':{'class':Oo},'children':this[_0x3debd2(0x157)]}]});}[_0x3f867c(0x17a)](){const _0x1f9a98=_0x3f867c;this[_0x1f9a98(0x133)]['on'](_0x1f9a98(0x155),()=>{const _0x1e7b67=_0x1f9a98;this[_0x1e7b67(0x18b)]();});}[_0x3f867c(0x166)](_0x17445f){const _0x1e22ec=_0x3f867c,_0x216ce4=new _0x3a60ba(_0x17445f);return _0x216ce4[_0x1e22ec(0x174)]({'label':_0x3f377c(_0x17445f,_0x1e22ec(0x124)),'class':jo+'\x20'+Lo,'icon':_0x35dbf5,'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x216ce4;}[_0x3f867c(0x181)](_0xf017ee){const _0xbd1b77=_0x3f867c;return this[_0xbd1b77(0x138)](_0xf017ee,Uo);}[_0x3f867c(0x147)](_0x279fc2){const _0x5726bc=_0x3f867c,_0x3b1dfd=this[_0x5726bc(0x138)](_0x279fc2,No);return this[_0x5726bc(0x14c)](_0x3b1dfd,_0x279fc2),_0x3b1dfd;}[_0x3f867c(0x118)](_0x452c97,_0x5058b4){const _0x25f35d=_0x3f867c,_0x11df69={'searchInputVisibleFrom':_0x5058b4[_0x25f35d(0x148)],'onBackToContext':()=>{const _0x398be3=_0x25f35d;this[_0x398be3(0x15a)](),this[_0x398be3(0x15b)][_0x398be3(0x146)]({'target':this[_0x398be3(0x133)][_0x398be3(0x150)],'limiter':this[_0x398be3(0x103)](),'positions':$o});},'onResourceSelected':(_0x506413,_0x481e9b)=>{const _0x5726ef=_0x25f35d;this[_0x5726ef(0x115)](_0x5726ef(0x167),{'source':_0x506413,'resource':_0x481e9b});},'onLoadSourceResources':_0x59f39e=>{const _0x2be9e7=_0x25f35d;this[_0x2be9e7(0x115)](_0x2be9e7(0x128),_0x59f39e);},'onBalloonClosed':()=>{const _0x4e7943=_0x25f35d;this[_0x4e7943(0x133)][_0x4e7943(0x123)]=!0x1;},'getLimiterElement':()=>this[_0x25f35d(0x103)](),'getTargetElement':()=>this[_0x25f35d(0x133)][_0x25f35d(0x150)]};return new _0x254e1e(_0x452c97,_0x5058b4[_0x25f35d(0x140)],_0x11df69);}[_0x3f867c(0x103)](){const _0x5f3082=_0x3f867c;return this[_0x5f3082(0x150)]?.[_0x5f3082(0x14a)]('.'+Do)||document[_0x5f3082(0x125)];}[_0x3f867c(0x138)](_0x10dd7e,_0x54c210){const _0xb226cf=_0x3f867c,_0x530aec=new _0x82bce3(_0x10dd7e);return _0x530aec[_0xb226cf(0x129)]({'attributes':{'class':_0x54c210}}),this[_0xb226cf(0x140)][_0xb226cf(0x18f)](_0x530aec),_0x530aec;}[_0x3f867c(0x11d)](_0x3a1204,_0x4908d5,_0x5ffd17){const _0xcef6f9=_0x3f867c;if(_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x182)](),!_0x5ffd17[_0xcef6f9(0x169)][_0xcef6f9(0x18d)]&&_0x5ffd17[_0xcef6f9(0x169)][_0xcef6f9(0x192)]){const _0x2ba8ba=this[_0xcef6f9(0x142)](_0x4908d5,{'label':_0x3f377c(_0x4908d5,_0xcef6f9(0x134)),'icon':_0x5d1f56});_0x2ba8ba['on'](_0xcef6f9(0x155),()=>{const _0x202a2a=_0xcef6f9;this[_0x202a2a(0x115)](_0x202a2a(0x17e)),this[_0x202a2a(0x141)]();}),_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x18f)](_0x2ba8ba);}if(_0x5ffd17[_0xcef6f9(0x156)][_0xcef6f9(0x192)]){const _0x46c90b=this[_0xcef6f9(0x142)](_0x4908d5,{'label':_0x3f377c(_0x4908d5,_0xcef6f9(0x16a)),'icon':_0x39f0b6});_0x46c90b['on'](_0xcef6f9(0x155),()=>{const _0x5d6d10=_0xcef6f9;this[_0x5d6d10(0x141)](),this[_0x5d6d10(0x12b)](),this[_0x5d6d10(0x188)][_0x5d6d10(0x146)]({'target':this[_0x5d6d10(0x133)][_0x5d6d10(0x150)],'limiter':this[_0x5d6d10(0x103)](),'positions':$o}),this[_0x5d6d10(0x109)][_0x5d6d10(0x12a)]();}),_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x18f)](_0x46c90b);}if(_0x5ffd17[_0xcef6f9(0x130)][_0xcef6f9(0x192)]){const _0x53cde6=new _0x22be8d(_0x4908d5);_0x53cde6[_0xcef6f9(0x174)]({'label':_0x3f377c(_0x4908d5,_0xcef6f9(0x143)),'icon':_0x190117,'withText':!0x0,'tooltip':!0x0,'class':Mo,'allowMultipleFiles':!0x0}),_0x53cde6['on'](_0xcef6f9(0x155),()=>{const _0x4aef1e=_0xcef6f9;this[_0x4aef1e(0x141)]();}),_0x53cde6['on'](_0xcef6f9(0x172),(_0x4d96d9,_0xb2f974)=>{const _0x2a3212=_0xcef6f9;this[_0x2a3212(0x115)](_0x2a3212(0x159),_0xb2f974);}),_0x53cde6[_0xcef6f9(0x12f)]=!0x0,_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x18f)](_0x53cde6);}for(const _0x14f19b of _0x5ffd17[_0xcef6f9(0x16b)]){const _0xba4d26=this[_0xcef6f9(0x142)](_0x4908d5,{'label':_0x14f19b[_0xcef6f9(0x163)],'icon':_0x14f19b[_0xcef6f9(0xff)]||_0x5402cd,'type':_0xcef6f9(0x122)});_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x18f)](_0xba4d26),_0xba4d26['on'](_0xcef6f9(0x155),()=>{const _0xb9bb6a=_0xcef6f9;this[_0xb9bb6a(0x141)](),this[_0xb9bb6a(0x191)]({'source':_0x14f19b,'withBackButton':!this[_0xb9bb6a(0x17f)]});});}for(const _0x554271 of _0x5ffd17[_0xcef6f9(0x11b)]||[]){const _0x59a396=this[_0xcef6f9(0x142)](_0x4908d5,{'label':_0x554271[_0xcef6f9(0x163)],'icon':_0x554271[_0xcef6f9(0xff)]||_0x5402cd,'type':_0xcef6f9(0x132)});_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x18f)](_0x59a396),_0x59a396['on'](_0xcef6f9(0x155),()=>{const _0x13deae=_0xcef6f9;this[_0x13deae(0x141)](),this[_0x13deae(0x115)](_0x13deae(0x161),_0x554271);});}this[_0xcef6f9(0x17f)]=0x1===_0x3a1204[_0xcef6f9(0x18c)][_0xcef6f9(0x14b)],this[_0xcef6f9(0x109)][_0xcef6f9(0x136)]=!this[_0xcef6f9(0x17f)];}[_0x3f867c(0x14c)](_0xed2c69,_0x30081c){const _0x49b7f3=_0x3f867c;this[_0x49b7f3(0x109)]=new _0x16c38d(_0x30081c),this[_0x49b7f3(0x109)]['on'](_0x49b7f3(0x13d),(_0x2e9265,_0xe0beac)=>{const _0x25b73c=_0x49b7f3;this[_0x25b73c(0x104)](_0xe0beac);}),this[_0x49b7f3(0x109)]['on'](_0x49b7f3(0x190),()=>{const _0x4a0edd=_0x49b7f3;this[_0x4a0edd(0x158)](),this[_0x4a0edd(0x17f)]||(this[_0x4a0edd(0x15a)](),this[_0x4a0edd(0x15b)][_0x4a0edd(0x146)]({'target':this[_0x4a0edd(0x133)][_0x4a0edd(0x150)],'limiter':this[_0x4a0edd(0x103)](),'positions':$o}));}),this[_0x49b7f3(0x109)]['on'](_0x49b7f3(0x173),()=>{const _0x55630c=_0x49b7f3;this[_0x55630c(0x188)][_0x55630c(0x114)]&&this[_0x55630c(0x188)][_0x55630c(0x146)]({'target':this[_0x55630c(0x133)][_0x55630c(0x150)],'limiter':this[_0x55630c(0x103)](),'positions':$o});}),_0xed2c69[_0x49b7f3(0x18c)][_0x49b7f3(0x18f)](this[_0x49b7f3(0x109)]);}[_0x3f867c(0x142)](_0x120885,_0x39a8d3){const _0x25ebe8=_0x3f867c,_0x26b61f=_0x25ebe8(0x122)===_0x39a8d3[_0x25ebe8(0x135)]?new SourcesBalloonButtonView(_0x120885):new _0x3a60ba(_0x120885);return _0x26b61f[_0x25ebe8(0x174)]({'label':_0x39a8d3[_0x25ebe8(0x163)],'icon':_0x39a8d3[_0x25ebe8(0xff)],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':Mo}),_0x26b61f;}[_0x3f867c(0x11c)](){const _0x3d08b3=_0x3f867c;this[_0x3d08b3(0x180)](),this[_0x3d08b3(0x113)]();}[_0x3f867c(0x113)](){const _0x21aa30=_0x3f867c;_0x19e289({'emitter':this[_0x21aa30(0x188)],'contextElements':[this[_0x21aa30(0x188)][_0x21aa30(0x150)]],'callback':()=>{const _0x5557ec=_0x21aa30;this[_0x5557ec(0x158)]();},'activator':()=>this[_0x21aa30(0x188)][_0x21aa30(0x114)]});}[_0x3f867c(0x117)](_0x1322f0){const _0x46c9b4=_0x3f867c,_0x4dd467=this[_0x46c9b4(0x16f)];_0x4dd467[_0x46c9b4(0xfe)][_0x46c9b4(0x123)]=_0x1322f0,_0x1322f0?_0x4dd467[_0x46c9b4(0x16d)][_0x46c9b4(0x14f)]():_0x4dd467[_0x46c9b4(0x16d)][_0x46c9b4(0x11a)]();}[_0x3f867c(0x180)](){const _0x544170=_0x3f867c,{balloonView:_0x41779f,buttonView:_0x14b109,hideMethod:_0x4cca5d}=this[_0x544170(0x16f)];_0x19e289({'emitter':_0x41779f,'contextElements':[_0x41779f[_0x544170(0x150)],_0x14b109[_0x544170(0x150)]],'callback':()=>{_0x4cca5d();},'activator':()=>_0x14b109[_0x544170(0x123)]&&!this[_0x544170(0x188)][_0x544170(0x114)]&&!this[_0x544170(0x184)][_0x544170(0x110)]()});}[_0x3f867c(0x170)](_0x2d5bae,_0x4131a2,_0x141287=!0x1,_0x5deccc=!0x1){const _0x1e9784=_0x3f867c,_0x26285d=_0x1e9784(0x126)===_0x4131a2||!0x0===_0x2d5bae[_0x1e9784(0x15c)],_0x5c27f8=new _0x521dee(this[_0x1e9784(0x15f)],_0x2d5bae,_0x26285d,_0x141287,_0x5deccc);return _0x26285d||_0x5c27f8['on'](_0x1e9784(0x13b),()=>{const _0x636c78=_0x1e9784;this[_0x636c78(0x115)](_0x636c78(0x15e),_0x5c27f8['id']);}),_0x5c27f8;}[_0x3f867c(0x100)](_0x5e4145,_0x21ea4e){const _0x167ea7=_0x3f867c;_0x21ea4e[_0x167ea7(0x18f)](_0x5e4145,0x0);}[_0x3f867c(0x175)](_0x45ed1e,_0x1001e7){const _0x28e454=_0x3f867c,_0x38966c=_0x1001e7[_0x28e454(0x102)](_0x2bcae4=>_0x2bcae4['id']===_0x45ed1e);_0x38966c&&_0x1001e7[_0x28e454(0x11f)](_0x38966c);}[_0x3f867c(0x18b)](){const _0x40502f=_0x3f867c;this[_0x40502f(0x133)][_0x40502f(0x123)]?this[_0x40502f(0x141)]():(this[_0x40502f(0x15a)](),this[_0x40502f(0x15b)][_0x40502f(0x146)]({'target':this[_0x40502f(0x133)][_0x40502f(0x150)],'limiter':this[_0x40502f(0x103)](),'positions':$o}),this[_0x40502f(0x17f)]&&this[_0x40502f(0x15b)][_0x40502f(0x18c)][_0x40502f(0x10b)](0x0)?.[_0x40502f(0x115)](_0x40502f(0x155)));}[_0x3f867c(0x104)](_0x231748){const _0x508ccc=_0x3f867c;this[_0x508ccc(0x109)][_0x508ccc(0x182)](),this[_0x508ccc(0x158)](),this[_0x508ccc(0x115)](_0x508ccc(0x162),_0x231748);}}function _0x6e7c(_0x1bf95e,_0x35f76c){const _0x5aa8cb=_0x5aa8();return _0x6e7c=function(_0x6e7c59,_0x19f6de){_0x6e7c59=_0x6e7c59-0xfc;let _0x5831b0=_0x5aa8cb[_0x6e7c59];return _0x5831b0;},_0x6e7c(_0x1bf95e,_0x35f76c);}export class SourcesBalloonButtonView extends _0x3a60ba{[_0x3f867c(0x153)];constructor(_0x15fc7a){const _0x3467ba=_0x3f867c;super(_0x15fc7a),this[_0x3467ba(0x174)]({'withText':!0x0,'role':_0x3467ba(0xfc)}),this[_0x3467ba(0x153)]=this[_0x3467ba(0x14d)](),this[_0x3467ba(0x129)]({'attributes':{'class':[Ho]}});}[_0x3f867c(0x105)](){const _0x3783b9=_0x3f867c;super[_0x3783b9(0x105)](),this[_0x3783b9(0x108)][_0x3783b9(0x18f)](this[_0x3783b9(0x153)]);}[_0x3f867c(0x14d)](){const _0x5288c3=_0x3f867c,_0x455389=new _0x5e5ad1();return _0x455389[_0x5288c3(0x18c)]=_0x2d8b63,_0x455389[_0x5288c3(0x129)]({'attributes':{'class':Ho+_0x5288c3(0xfd)}}),_0x455389;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x72516f=_0x2b5c;function _0x2b5c(_0x3dd61d,_0x34d994){const _0x267a2c=_0x267a();return _0x2b5c=function(_0x2b5c47,_0xc91212){_0x2b5c47=_0x2b5c47-0x1c1;let _0x2926ed=_0x267a2c[_0x2b5c47];return _0x2926ed;},_0x2b5c(_0x3dd61d,_0x34d994);}(function(_0x393712,_0x47e378){const _0x44ad0e=_0x2b5c,_0x3642f6=_0x393712();while(!![]){try{const _0x3164dc=-parseInt(_0x44ad0e(0x1c4))/0x1+parseInt(_0x44ad0e(0x1d0))/0x2+parseInt(_0x44ad0e(0x1d9))/0x3+parseInt(_0x44ad0e(0x1c7))/0x4+parseInt(_0x44ad0e(0x1d1))/0x5*(parseInt(_0x44ad0e(0x1dd))/0x6)+-parseInt(_0x44ad0e(0x1d5))/0x7*(parseInt(_0x44ad0e(0x1d8))/0x8)+parseInt(_0x44ad0e(0x1cf))/0x9*(-parseInt(_0x44ad0e(0x1d4))/0xa);if(_0x3164dc===_0x47e378)break;else _0x3642f6['push'](_0x3642f6['shift']());}catch(_0x1a31f7){_0x3642f6['push'](_0x3642f6['shift']());}}}(_0x267a,0xda77b));import{ButtonView as _0x43f340,View as _0x244706}from'ckeditor5/src/ui.js';import{IconStop as _0x227bc9}from'ckeditor5/src/icons.js';function _0x267a(){const _0x210861=['ck-ai-chat-controls-loader','522710QRELwL','ck-ai-button-secondary\x20ck-ai-button-stop-generating','_createCancelButtonView','799188bnagAC','_loaderView','_createLoaderView','ck-reset_all','setTemplate','ck-ai-chat-controls-loader-icon-dot','execute','ck-ai-chat-controls-loader-wrapper','32391OCzKpj','808578RsVchH','275BaXSyI','set','locale','410qBTiae','42vSPzof','fire','_cancelButtonView','1487904wmZRRb','4482357pLgRRk','AI_CHAT_IS_WRITING','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader-icon','63582qpWyqw','abortPromptStream','div'];_0x267a=function(){return _0x210861;};return _0x267a();}import{getTranslation as _0x1b8e5a}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x244706{[_0x72516f(0x1d7)];[_0x72516f(0x1c8)];constructor(_0x3c8012){const _0x45b1a9=_0x72516f;super(_0x3c8012),this[_0x45b1a9(0x1d7)]=this[_0x45b1a9(0x1c6)](),this[_0x45b1a9(0x1c8)]=this[_0x45b1a9(0x1c9)](),this[_0x45b1a9(0x1cb)]({'tag':_0x45b1a9(0x1c2),'attributes':{'class':['ck',_0x45b1a9(0x1ce),_0x45b1a9(0x1ca)]},'children':[this[_0x45b1a9(0x1c8)],this[_0x45b1a9(0x1d7)]]});}[_0x72516f(0x1c6)](){const _0x4288b6=_0x72516f,_0x1f88c5=new _0x43f340(this[_0x4288b6(0x1d3)]);return _0x1f88c5[_0x4288b6(0x1d2)]({'label':_0x1b8e5a(this[_0x4288b6(0x1d3)],_0x4288b6(0x1db)),'withText':!0x0,'class':_0x4288b6(0x1c5),'icon':_0x227bc9}),_0x1f88c5['on'](_0x4288b6(0x1cd),()=>{const _0x5f0106=_0x4288b6;this[_0x5f0106(0x1d6)](_0x5f0106(0x1c1));}),_0x1f88c5;}[_0x72516f(0x1c9)](){const _0x3b8227=_0x72516f,_0x2ee181=new _0x244706(this[_0x3b8227(0x1d3)]);return _0x2ee181[_0x3b8227(0x1cb)]({'tag':_0x3b8227(0x1c2),'attributes':{'class':[_0x3b8227(0x1c3)]},'children':[{'tag':_0x3b8227(0x1c2),'attributes':{'class':[_0x3b8227(0x1dc)]},'children':[{'tag':_0x3b8227(0x1c2),'attributes':{'class':[_0x3b8227(0x1cc)]}},{'tag':_0x3b8227(0x1c2),'attributes':{'class':[_0x3b8227(0x1cc)]}},{'tag':_0x3b8227(0x1c2),'attributes':{'class':[_0x3b8227(0x1cc)]}}]},{'text':_0x1b8e5a(this[_0x3b8227(0x1d3)],_0x3b8227(0x1da))}]}),_0x2ee181;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x14a65e=_0x14af;function _0x570a(){const _0x24d90c=['AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','model','ck-ai-chat-controls__model-name','source','menuitemradio','setModel','enabled','capabilities','isVisible','_getCapabilityParts','buttonView','_createCommandsButton','_createReasoningButton','Commands\x20are\x20not\x20implemented\x20yet.','_modelNameView','name','_createModelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','selectModel','40lQiHPJ','set','webSearch','setTemplate','webSearchActive','614824BuzFFX','bindTemplate','ck-ai-chat-controls__model-selection','1688100nTCugP','reasoningActive','selector','ck-ai-button-tertiary','createCollection','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','_reasoningButton','AI_CHAT_CAPABILITIES_YES','span','52232eUmoFM','modelSelectorEnabled','_createWebSearchButton','hidden','ck-button__label','activeModelId','_modelSelectionDropdownItems','add','3XDvfgq','fire','ck-hidden','1273278eVPktQ','AI_CHAT_CAPABILITIES_NO','locale','length','reasoning','_modelSelectionDropdown','AI_CHAT_ENABLE_WEB_SEARCH','238XhWTFJ','addMany','listenTo','ck-ai-chat__prompt-capabilities','toggleWebSearch','log','144qisNRh','modelDisplayMode','453385VtTgDN','text','style','_createModelNameView','disableModelSelector','button','AI_CHAT_SEARCH_WEB','tooltip','toggleReasoning','div','AI_CHAT_DISABLE_REASONING','clear','isOn','AI_CHAT_ENABLE_REASONING','ck-ai-chat-controls-button','label','enableModelSelector','activeModelName','ck-ai-chat-controls__model-selection__item-name','setModelList','bind','30020100aFoHRQ','execute','description','_webSearchButton','isEnabled','ck-ai-chat-controls-button--commands','extendTemplate','ck-ai-chat-controls__model-selection__item-capabilities','setReasoning','AI_CHAT_REASONING','82320tfkmvy','content','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_COMMANDS','_commandsButton','setWebSearch'];_0x570a=function(){return _0x24d90c;};return _0x570a();}(function(_0x18cbe2,_0x4588be){const _0x1506a0=_0x14af,_0x217fc1=_0x18cbe2();while(!![]){try{const _0x3fef73=parseInt(_0x1506a0(0x1f5))/0x1*(-parseInt(_0x1506a0(0x1e1))/0x2)+-parseInt(_0x1506a0(0x1e4))/0x3+parseInt(_0x1506a0(0x1dc))/0x4*(-parseInt(_0x1506a0(0x207))/0x5)+parseInt(_0x1506a0(0x1f8))/0x6+parseInt(_0x1506a0(0x1ff))/0x7*(parseInt(_0x1506a0(0x1ed))/0x8)+-parseInt(_0x1506a0(0x205))/0x9*(-parseInt(_0x1506a0(0x226))/0xa)+parseInt(_0x1506a0(0x21c))/0xb;if(_0x3fef73===_0x4588be)break;else _0x217fc1['push'](_0x217fc1['shift']());}catch(_0x32ef30){_0x217fc1['push'](_0x217fc1['shift']());}}}(_0x570a,0xdc889));import{Collection as _0x2084ba}from'ckeditor5/src/utils.js';import{IconAI as _0x1564ad,IconBulb as _0x4a4509,IconWeb as _0x48a73d}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x5baf88,ButtonLabelView as _0x5996a3,ButtonView as _0x4efb13,createDropdown as _0x4ad28c,IconView as _0x4af447,UIModel as _0x5d200a,View as _0x4f488f}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ae15e}from'../../../aicore/utils/common-translations.js';const qo=_0x14a65e(0x202),jo=_0x14a65e(0x215),zo=_0x14a65e(0x221),Jo=_0x14a65e(0x1e7),Ko=_0x14a65e(0x1e3),Qo=_0x14a65e(0x219),Zo=_0x14a65e(0x228),tl=_0x14a65e(0x223),el='n';export class AIChatPromptCapabilitiesView extends _0x4f488f{[_0x14a65e(0x21f)];[_0x14a65e(0x1ea)];[_0x14a65e(0x22a)];[_0x14a65e(0x1fd)];[_0x14a65e(0x1f3)];[_0x14a65e(0x1d7)];constructor(_0x344626){const _0x4b99b7=_0x14a65e;super(_0x344626),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x1e0),!0x1),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x1e5),!0x1),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x206),_0x4b99b7(0x1e6)),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x1ee),!0x0),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x1f2),null),this[_0x4b99b7(0x1dd)](_0x4b99b7(0x218),null),this[_0x4b99b7(0x1fd)]=this[_0x4b99b7(0x1d9)](),this[_0x4b99b7(0x1d7)]=this[_0x4b99b7(0x20a)](),this[_0x4b99b7(0x21f)]=this[_0x4b99b7(0x1ef)](),this[_0x4b99b7(0x1ea)]=this[_0x4b99b7(0x1d5)](),this[_0x4b99b7(0x22a)]=this[_0x4b99b7(0x1d4)](),this[_0x4b99b7(0x1fd)][_0x4b99b7(0x1d3)][_0x4b99b7(0x21b)](_0x4b99b7(0x1d1))['to'](this,_0x4b99b7(0x206),_0x358829=>_0x4b99b7(0x1e6)===_0x358829),this[_0x4b99b7(0x1fd)][_0x4b99b7(0x1d3)][_0x4b99b7(0x21b)](_0x4b99b7(0x20e))['to'](this,_0x4b99b7(0x1ee),_0xde3178=>_0xde3178?this[_0x4b99b7(0x1fd)][_0x4b99b7(0x1d3)][_0x4b99b7(0x216)]:_0x3ae15e(this[_0x4b99b7(0x1fa)],_0x4b99b7(0x22c))),this[_0x4b99b7(0x1fd)][_0x4b99b7(0x21b)](_0x4b99b7(0x220))['to'](this,_0x4b99b7(0x1ee),_0x2d2a9d=>_0x2d2a9d),this[_0x4b99b7(0x21f)][_0x4b99b7(0x21b)](_0x4b99b7(0x213))['to'](this,_0x4b99b7(0x1e0),_0x16d4ef=>_0x16d4ef),this[_0x4b99b7(0x21f)][_0x4b99b7(0x21b)](_0x4b99b7(0x20e))['to'](this,_0x4b99b7(0x1e0),_0x1f6b28=>_0x3ae15e(this[_0x4b99b7(0x1fa)],_0x1f6b28?_0x4b99b7(0x1da):_0x4b99b7(0x1fe))),this[_0x4b99b7(0x1ea)][_0x4b99b7(0x21b)](_0x4b99b7(0x213))['to'](this,_0x4b99b7(0x1e5),_0x4dbdc8=>_0x4dbdc8),this[_0x4b99b7(0x1ea)][_0x4b99b7(0x21b)](_0x4b99b7(0x20e))['to'](this,_0x4b99b7(0x1e5),_0x1cd257=>_0x3ae15e(this[_0x4b99b7(0x1fa)],_0x1cd257?_0x4b99b7(0x211):_0x4b99b7(0x214))),this[_0x4b99b7(0x1df)]({'tag':_0x4b99b7(0x210),'attributes':{'class':[qo]},'children':[this[_0x4b99b7(0x1fd)],this[_0x4b99b7(0x1d7)],this[_0x4b99b7(0x21f)],this[_0x4b99b7(0x1ea)],this[_0x4b99b7(0x22a)]]}),this[_0x4b99b7(0x1f3)]=new _0x2084ba(),_0x5baf88(this[_0x4b99b7(0x1fd)],this[_0x4b99b7(0x1f3)]);}[_0x14a65e(0x21a)](_0x543f16,_0x1dc678){const _0x97b784=_0x14a65e;if(_0x1dc678)this[_0x97b784(0x1dd)](_0x97b784(0x206),_0x97b784(0x1f0));else{const _0x267461=0x1===_0x543f16[_0x97b784(0x1fb)];this[_0x97b784(0x1dd)](_0x97b784(0x206),_0x267461?_0x97b784(0x1d8):_0x97b784(0x1e6));}if(this[_0x97b784(0x1f3)][_0x97b784(0x212)](),_0x543f16?.[_0x97b784(0x1fb)])for(const _0x44987e of _0x543f16){const _0x32dd0b=new _0x5d200a({'label':_0x44987e[_0x97b784(0x1d8)],'withText':!0x0,'role':_0x97b784(0x230),'id':_0x44987e['id'],'model':_0x44987e});_0x32dd0b[_0x97b784(0x21b)](_0x97b784(0x213))['to'](this,_0x97b784(0x1f2),_0x1359f4=>_0x1359f4===_0x44987e['id']),this[_0x97b784(0x1f3)][_0x97b784(0x1f4)]({'type':_0x97b784(0x20c),'model':_0x32dd0b,'labelView':new ModelButtonLabelView(this[_0x97b784(0x1fa)],_0x44987e)});}}[_0x14a65e(0x22b)](_0xbbdd20){const _0x99dd5f=_0x14a65e;this[_0x99dd5f(0x1dd)](_0x99dd5f(0x1e0),_0xbbdd20);}[_0x14a65e(0x224)](_0x3de710){const _0x46e5d4=_0x14a65e;this[_0x46e5d4(0x1dd)](_0x46e5d4(0x1e5),_0x3de710);}[_0x14a65e(0x231)](_0x235199){const _0x2794cd=_0x14a65e;if(!_0x235199)return;this[_0x2794cd(0x1f2)]=_0x235199['id'],this[_0x2794cd(0x218)]=_0x235199[_0x2794cd(0x1d8)]||_0x235199['id'],this[_0x2794cd(0x1fd)][_0x2794cd(0x1d3)][_0x2794cd(0x1dd)](_0x2794cd(0x216),_0x235199[_0x2794cd(0x1d8)]),this[_0x2794cd(0x1fd)][_0x2794cd(0x1d3)][_0x2794cd(0x1dd)](_0x2794cd(0x20e),_0x235199[_0x2794cd(0x1d8)]);const _0x1484a6=_0x235199[_0x2794cd(0x1d0)][_0x2794cd(0x1de)]?.[_0x2794cd(0x232)]??!0x1;this[_0x2794cd(0x1dd)](_0x2794cd(0x1e0),!0x1),this[_0x2794cd(0x21f)][_0x2794cd(0x1dd)](_0x2794cd(0x213),!0x1),this[_0x2794cd(0x21f)][_0x2794cd(0x1dd)](_0x2794cd(0x220),_0x1484a6),this[_0x2794cd(0x21f)][_0x2794cd(0x1dd)](_0x2794cd(0x1d1),_0x1484a6);const _0x4f612c=_0x235199[_0x2794cd(0x1d0)][_0x2794cd(0x1fc)]?.[_0x2794cd(0x232)]??!0x1;this[_0x2794cd(0x1dd)](_0x2794cd(0x1e5),!0x1),this[_0x2794cd(0x1ea)][_0x2794cd(0x1dd)](_0x2794cd(0x213),!0x1),this[_0x2794cd(0x1ea)][_0x2794cd(0x1dd)](_0x2794cd(0x220),_0x4f612c),this[_0x2794cd(0x1ea)][_0x2794cd(0x1dd)](_0x2794cd(0x1d1),_0x4f612c);}[_0x14a65e(0x217)](){const _0x971d12=_0x14a65e;this[_0x971d12(0x1dd)](_0x971d12(0x1ee),!0x0);}[_0x14a65e(0x20b)](_0xeef22b){const _0x541b71=_0x14a65e;this[_0x541b71(0x1dd)](_0x541b71(0x1ee),!0x1),_0xeef22b&&this[_0x541b71(0x1dd)](_0x541b71(0x206),_0x541b71(0x1f0));}[_0x14a65e(0x1ef)](){const _0x189491=_0x14a65e,_0x2f9c7a=new _0x4efb13();return _0x2f9c7a[_0x189491(0x1dd)]({'label':_0x3ae15e(this[_0x189491(0x1fa)],_0x189491(0x20d)),'icon':_0x48a73d,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x2f9c7a['on'](_0x189491(0x21d),()=>{const _0x288d55=_0x189491;this[_0x288d55(0x1f6)](_0x288d55(0x203));}),_0x2f9c7a;}[_0x14a65e(0x1d5)](){const _0x2aafb2=_0x14a65e,_0x320eef=new _0x4efb13();return _0x320eef[_0x2aafb2(0x1dd)]({'label':_0x3ae15e(this[_0x2aafb2(0x1fa)],_0x2aafb2(0x225)),'icon':_0x4a4509,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x320eef['on'](_0x2aafb2(0x21d),()=>{const _0x253fad=_0x2aafb2;this[_0x253fad(0x1f6)](_0x253fad(0x20f));}),_0x320eef;}[_0x14a65e(0x1d4)](){const _0xbb3c37=_0x14a65e,_0xd33c1e=new _0x4efb13();return _0xd33c1e[_0xbb3c37(0x1dd)]({'label':_0x3ae15e(this[_0xbb3c37(0x1fa)],_0xbb3c37(0x229)),'icon':_0x1564ad,'withText':!0x0,'class':jo,'isToggleable':!0x0,'tooltip':_0x3ae15e(this[_0xbb3c37(0x1fa)],_0xbb3c37(0x229)),'tooltipPosition':el}),_0xd33c1e[_0xbb3c37(0x222)]({'attributes':{'class':[zo]}}),_0xd33c1e['on'](_0xbb3c37(0x21d),()=>{const _0x33d6c7=_0xbb3c37;console[_0x33d6c7(0x204)](_0x33d6c7(0x1d6)),alert(_0x33d6c7(0x1d6));}),_0xd33c1e;}[_0x14a65e(0x1d9)](){const _0x482cd1=_0x14a65e,_0x4798a6=_0x4ad28c(this[_0x482cd1(0x1fa)]);return _0x4798a6[_0x482cd1(0x1dd)]({'panelPosition':'ne','class':[Ko]}),_0x4798a6[_0x482cd1(0x1d3)][_0x482cd1(0x1dd)]({'label':_0x3ae15e(this[_0x482cd1(0x1fa)],_0x482cd1(0x1e9)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':el,'class':Jo}),this[_0x482cd1(0x201)](_0x4798a6,_0x482cd1(0x21d),_0x507070=>{const _0x1b1027=_0x482cd1;this[_0x1b1027(0x1f6)](_0x1b1027(0x1db),_0x507070[_0x1b1027(0x22f)][_0x1b1027(0x22d)]);}),_0x4798a6;}[_0x14a65e(0x20a)](){const _0x48d793=_0x14a65e,_0x513c5a=new ModelNameView(this[_0x48d793(0x1fa)]);return _0x513c5a[_0x48d793(0x21b)](_0x48d793(0x208))['to'](this,_0x48d793(0x218),_0x2b1b46=>_0x2b1b46??''),_0x513c5a[_0x48d793(0x21b)](_0x48d793(0x1d1))['to'](this,_0x48d793(0x206),_0x28185a=>_0x48d793(0x1d8)===_0x28185a),_0x513c5a;}}function _0x14af(_0x53103b,_0x34d86f){const _0x570aca=_0x570a();return _0x14af=function(_0x14af6e,_0x35cfc9){_0x14af6e=_0x14af6e-0x1d0;let _0x5f368d=_0x570aca[_0x14af6e];return _0x5f368d;},_0x14af(_0x53103b,_0x34d86f);}class ModelButtonLabelView extends _0x5996a3{constructor(_0x489018,_0xfdec32){const _0x4f08e4=_0x14a65e;super();const _0x23ae55=this[_0x4f08e4(0x1e2)],_0x5f21cd=this[_0x4f08e4(0x1e8)]();this[_0x4f08e4(0x1df)]({'tag':_0x4f08e4(0x210),'attributes':{'class':['ck',_0x4f08e4(0x1f1)],'style':_0x23ae55['to'](_0x4f08e4(0x209)),'id':_0x23ae55['to']('id')},'children':[{'tag':_0x4f08e4(0x210),'attributes':{'class':[Qo]},'children':[{'text':_0x23ae55['to'](_0x4f08e4(0x208))}]},{'tag':_0x4f08e4(0x210),'attributes':{'class':[Zo]},'children':[{'tag':_0x4f08e4(0x1ec),'children':[{'text':_0xfdec32[_0x4f08e4(0x21e)]}]}]},{'tag':_0x4f08e4(0x210),'attributes':{'class':[tl]},'children':_0x5f21cd}]}),_0x5f21cd[_0x4f08e4(0x200)](this[_0x4f08e4(0x1d2)](_0x489018,_0x48a73d,_0x4f08e4(0x20d),_0xfdec32[_0x4f08e4(0x1d0)][_0x4f08e4(0x1de)]?.[_0x4f08e4(0x232)]??!0x1)),_0x5f21cd[_0x4f08e4(0x200)](this[_0x4f08e4(0x1d2)](_0x489018,_0x4a4509,_0x4f08e4(0x225),_0xfdec32[_0x4f08e4(0x1d0)][_0x4f08e4(0x1fc)]?.[_0x4f08e4(0x232)]??!0x1));}[_0x14a65e(0x1d2)](_0x269cef,_0x5268ee,_0x3c1ef2,_0x3e4e46){const _0x1f696e=_0x14a65e,_0x278fb2=new _0x4af447();_0x278fb2[_0x1f696e(0x227)]=_0x5268ee;const _0x1ba78c=new _0x4f488f(_0x269cef);_0x1ba78c[_0x1f696e(0x1df)]({'tag':_0x1f696e(0x1ec),'children':[{'text':_0x3ae15e(_0x269cef,_0x3c1ef2)+':\x20'}]});const _0x15a152=new _0x4f488f(_0x269cef);return _0x15a152[_0x1f696e(0x1df)]({'tag':_0x1f696e(0x1ec),'children':[{'text':_0x3ae15e(_0x269cef,_0x3e4e46?_0x1f696e(0x1eb):_0x1f696e(0x1f9))}]}),[_0x278fb2,_0x1ba78c,_0x15a152];}}class ModelNameView extends _0x4f488f{constructor(_0x4c6de8){const _0x1ddc33=_0x14a65e;super(_0x4c6de8),this[_0x1ddc33(0x1dd)](_0x1ddc33(0x208),void 0x0),this[_0x1ddc33(0x1dd)](_0x1ddc33(0x1d1),!0x0);const _0x423e29=this[_0x1ddc33(0x1e2)];this[_0x1ddc33(0x1df)]({'tag':_0x1ddc33(0x1ec),'attributes':{'class':['ck',_0x1ddc33(0x22e),_0x423e29['if'](_0x1ddc33(0x1d1),_0x1ddc33(0x1f7),_0x44f547=>!_0x44f547)]},'children':[{'text':_0x423e29['to'](_0x1ddc33(0x208))}]});}}
|
|
23
|
+
const _0x427645=_0x2e95;(function(_0x5bd3e9,_0x8bc86d){const _0xb95983=_0x2e95,_0x120e48=_0x5bd3e9();while(!![]){try{const _0x271cdb=-parseInt(_0xb95983(0x111))/0x1*(-parseInt(_0xb95983(0x101))/0x2)+-parseInt(_0xb95983(0x114))/0x3+-parseInt(_0xb95983(0xe8))/0x4*(parseInt(_0xb95983(0xf9))/0x5)+-parseInt(_0xb95983(0x108))/0x6*(parseInt(_0xb95983(0xb7))/0x7)+-parseInt(_0xb95983(0xfa))/0x8+-parseInt(_0xb95983(0xc1))/0x9*(parseInt(_0xb95983(0x113))/0xa)+parseInt(_0xb95983(0xc2))/0xb*(parseInt(_0xb95983(0xc7))/0xc);if(_0x271cdb===_0x8bc86d)break;else _0x120e48['push'](_0x120e48['shift']());}catch(_0x5e01a8){_0x120e48['push'](_0x120e48['shift']());}}}(_0x5ef2,0x6f6e8));import{Collection as _0x4a28f9}from'ckeditor5/src/utils.js';import{IconAI as _0xaa003e,IconBulb as _0x54189e,IconWeb as _0x4d660a}from'@ckeditor/ckeditor5-icons';function _0x2e95(_0x469b74,_0x3520fc){const _0x5ef24b=_0x5ef2();return _0x2e95=function(_0x2e95ed,_0x427e54){_0x2e95ed=_0x2e95ed-0xb4;let _0x43a129=_0x5ef24b[_0x2e95ed];return _0x43a129;},_0x2e95(_0x469b74,_0x3520fc);}function _0x5ef2(){const _0x52846c=['isVisible','AI_CHAT_COMMANDS','span','execute','_getCapabilityParts','enabled','5nQjSdl','setWebSearch','3502270toNBbQ','427395BfbYqj','addMany','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','webSearchActive','setReasoning','AI_CHAT_CAPABILITIES_YES','bind','1512028nJjSCV','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','buttonView','listenTo','content','_createWebSearchButton','toggleReasoning','isOn','description','ck-ai-chat-controls__model-selection__item-description','9KufHOJ','6391jtfvYg','AI_CHAT_SEARCH_WEB','isEnabled','clear','_modelNameView','37236BSkvjK','reasoningActive','_createCommandsButton','_commandsButton','div','ck-ai-chat-controls__model-selection__item-name','AI_CHAT_CAPABILITIES_NO','add','_createModelNameView','enableModelSelector','toggleWebSearch','_createReasoningButton','name','text','button','menuitemradio','model','modelSelectorEnabled','ck-ai-chat-controls__model-selection__item-capabilities','length','selector','source','_reasoningButton','setModel','set','extendTemplate','ck-ai-button-tertiary','ck-ai-chat-controls__model-name','locale','reasoning','AI_CHAT_ENABLE_WEB_SEARCH','createCollection','capabilities','1003388QTYquB','log','webSearch','AI_CHAT_ENABLE_REASONING','ck-ai-chat__prompt-capabilities','_modelSelectionDropdown','activeModelId','_modelSelectionDropdownItems','label','style','ck-hidden','setTemplate','selectModel','ck-button__label','AI_CHAT_DISABLE_REASONING','ck-ai-chat-controls-button','hidden','10CKnXEw','2167792BpVGPY','ck-ai-chat-controls__model-selection','setModelList','_createModelSelectionDropdown','AI_CHAT_DISABLE_WEB_SEARCH','tooltip','modelDisplayMode','53978qMNMlI','AI_CHAT_REASONING','_webSearchButton','ck-ai-chat-controls-button--commands','activeModelName','fire','bindTemplate','6Slfbzn','Commands\x20are\x20not\x20implemented\x20yet.','disableModelSelector'];_0x5ef2=function(){return _0x52846c;};return _0x5ef2();}import{addListToDropdown as _0x5cdd72,ButtonLabelView as _0x26e6a6,ButtonView as _0x4ec2be,createDropdown as _0x546b23,IconView as _0x428619,UIModel as _0x437b08,View as _0x3fe407}from'ckeditor5/src/ui.js';import{getTranslation as _0x346fbb}from'../../../aicore/utils/common-translations.js';const qo=_0x427645(0xec),jo=_0x427645(0xf7),zo=_0x427645(0x104),Jo=_0x427645(0xe1),Ko=_0x427645(0xfb),Qo=_0x427645(0xcc),Zo=_0x427645(0xc0),tl=_0x427645(0xd9),el='n';export class AIChatPromptCapabilitiesView extends _0x3fe407{[_0x427645(0x103)];[_0x427645(0xdd)];[_0x427645(0xca)];[_0x427645(0xed)];[_0x427645(0xef)];[_0x427645(0xc6)];constructor(_0x5c9441){const _0x5df12d=_0x427645;super(_0x5c9441),this[_0x5df12d(0xdf)](_0x5df12d(0x117),!0x1),this[_0x5df12d(0xdf)](_0x5df12d(0xc8),!0x1),this[_0x5df12d(0xdf)](_0x5df12d(0x100),_0x5df12d(0xdb)),this[_0x5df12d(0xdf)](_0x5df12d(0xd8),!0x0),this[_0x5df12d(0xdf)](_0x5df12d(0xee),null),this[_0x5df12d(0xdf)](_0x5df12d(0x105),null),this[_0x5df12d(0xed)]=this[_0x5df12d(0xfd)](),this[_0x5df12d(0xc6)]=this[_0x5df12d(0xcf)](),this[_0x5df12d(0x103)]=this[_0x5df12d(0xbc)](),this[_0x5df12d(0xdd)]=this[_0x5df12d(0xd2)](),this[_0x5df12d(0xca)]=this[_0x5df12d(0xc9)](),this[_0x5df12d(0xed)][_0x5df12d(0xb9)][_0x5df12d(0xb6)](_0x5df12d(0x10b))['to'](this,_0x5df12d(0x100),_0x16deb9=>_0x5df12d(0xdb)===_0x16deb9),this[_0x5df12d(0xed)][_0x5df12d(0xb9)][_0x5df12d(0xb6)](_0x5df12d(0xff))['to'](this,_0x5df12d(0xd8),_0x901e8d=>_0x901e8d?this[_0x5df12d(0xed)][_0x5df12d(0xb9)][_0x5df12d(0xf0)]:_0x346fbb(this[_0x5df12d(0xe3)],_0x5df12d(0xb8))),this[_0x5df12d(0xed)][_0x5df12d(0xb6)](_0x5df12d(0xc4))['to'](this,_0x5df12d(0xd8),_0x32b2b8=>_0x32b2b8),this[_0x5df12d(0x103)][_0x5df12d(0xb6)](_0x5df12d(0xbe))['to'](this,_0x5df12d(0x117),_0x16e2c0=>_0x16e2c0),this[_0x5df12d(0x103)][_0x5df12d(0xb6)](_0x5df12d(0xff))['to'](this,_0x5df12d(0x117),_0x348dc3=>_0x346fbb(this[_0x5df12d(0xe3)],_0x348dc3?_0x5df12d(0xfe):_0x5df12d(0xe5))),this[_0x5df12d(0xdd)][_0x5df12d(0xb6)](_0x5df12d(0xbe))['to'](this,_0x5df12d(0xc8),_0x5d8bf3=>_0x5d8bf3),this[_0x5df12d(0xdd)][_0x5df12d(0xb6)](_0x5df12d(0xff))['to'](this,_0x5df12d(0xc8),_0x2e1ce0=>_0x346fbb(this[_0x5df12d(0xe3)],_0x2e1ce0?_0x5df12d(0xf6):_0x5df12d(0xeb))),this[_0x5df12d(0xf3)]({'tag':_0x5df12d(0xcb),'attributes':{'class':[qo]},'children':[this[_0x5df12d(0xed)],this[_0x5df12d(0xc6)],this[_0x5df12d(0x103)],this[_0x5df12d(0xdd)],this[_0x5df12d(0xca)]]}),this[_0x5df12d(0xef)]=new _0x4a28f9(),_0x5cdd72(this[_0x5df12d(0xed)],this[_0x5df12d(0xef)]);}[_0x427645(0xfc)](_0x154828,_0x2b4eda){const _0x333e60=_0x427645;if(_0x2b4eda)this[_0x333e60(0xdf)](_0x333e60(0x100),_0x333e60(0xf8));else{const _0x1d8af5=0x1===_0x154828[_0x333e60(0xda)];this[_0x333e60(0xdf)](_0x333e60(0x100),_0x1d8af5?_0x333e60(0xd3):_0x333e60(0xdb));}if(this[_0x333e60(0xef)][_0x333e60(0xc5)](),_0x154828?.[_0x333e60(0xda)])for(const _0x33d64a of _0x154828){const _0x3f62dd=new _0x437b08({'label':_0x33d64a[_0x333e60(0xd3)],'withText':!0x0,'role':_0x333e60(0xd6),'id':_0x33d64a['id'],'model':_0x33d64a});_0x3f62dd[_0x333e60(0xb6)](_0x333e60(0xbe))['to'](this,_0x333e60(0xee),_0x3754cf=>_0x3754cf===_0x33d64a['id']),this[_0x333e60(0xef)][_0x333e60(0xce)]({'type':_0x333e60(0xd5),'model':_0x3f62dd,'labelView':new ModelButtonLabelView(this[_0x333e60(0xe3)],_0x33d64a)});}}[_0x427645(0x112)](_0x594674){const _0x21275a=_0x427645;this[_0x21275a(0xdf)](_0x21275a(0x117),_0x594674);}[_0x427645(0xb4)](_0x3fef4d){const _0xd00bfa=_0x427645;this[_0xd00bfa(0xdf)](_0xd00bfa(0xc8),_0x3fef4d);}[_0x427645(0xde)](_0x128004){const _0x2c790b=_0x427645;if(!_0x128004)return;this[_0x2c790b(0xee)]=_0x128004['id'],this[_0x2c790b(0x105)]=_0x128004[_0x2c790b(0xd3)]||_0x128004['id'],this[_0x2c790b(0xed)][_0x2c790b(0xb9)][_0x2c790b(0xdf)](_0x2c790b(0xf0),_0x128004[_0x2c790b(0xd3)]),this[_0x2c790b(0xed)][_0x2c790b(0xb9)][_0x2c790b(0xdf)](_0x2c790b(0xff),_0x128004[_0x2c790b(0xd3)]);const _0x246f02=_0x128004[_0x2c790b(0xe7)][_0x2c790b(0xea)]?.[_0x2c790b(0x110)]??!0x1;this[_0x2c790b(0xdf)](_0x2c790b(0x117),!0x1),this[_0x2c790b(0x103)][_0x2c790b(0xdf)](_0x2c790b(0xbe),!0x1),this[_0x2c790b(0x103)][_0x2c790b(0xdf)](_0x2c790b(0xc4),_0x246f02),this[_0x2c790b(0x103)][_0x2c790b(0xdf)](_0x2c790b(0x10b),_0x246f02);const _0x43185c=_0x128004[_0x2c790b(0xe7)][_0x2c790b(0xe4)]?.[_0x2c790b(0x110)]??!0x1;this[_0x2c790b(0xdf)](_0x2c790b(0xc8),!0x1),this[_0x2c790b(0xdd)][_0x2c790b(0xdf)](_0x2c790b(0xbe),!0x1),this[_0x2c790b(0xdd)][_0x2c790b(0xdf)](_0x2c790b(0xc4),_0x43185c),this[_0x2c790b(0xdd)][_0x2c790b(0xdf)](_0x2c790b(0x10b),_0x43185c);}[_0x427645(0xd0)](){const _0xaeb7c6=_0x427645;this[_0xaeb7c6(0xdf)](_0xaeb7c6(0xd8),!0x0);}[_0x427645(0x10a)](_0x482946){const _0x4c4a8e=_0x427645;this[_0x4c4a8e(0xdf)](_0x4c4a8e(0xd8),!0x1),_0x482946&&this[_0x4c4a8e(0xdf)](_0x4c4a8e(0x100),_0x4c4a8e(0xf8));}[_0x427645(0xbc)](){const _0x5795fb=_0x427645,_0x185481=new _0x4ec2be();return _0x185481[_0x5795fb(0xdf)]({'label':_0x346fbb(this[_0x5795fb(0xe3)],_0x5795fb(0xc3)),'icon':_0x4d660a,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x185481['on'](_0x5795fb(0x10e),()=>{const _0x344b72=_0x5795fb;this[_0x344b72(0x106)](_0x344b72(0xd1));}),_0x185481;}[_0x427645(0xd2)](){const _0x5e2977=_0x427645,_0x2404e8=new _0x4ec2be();return _0x2404e8[_0x5e2977(0xdf)]({'label':_0x346fbb(this[_0x5e2977(0xe3)],_0x5e2977(0x102)),'icon':_0x54189e,'class':jo,'isToggleable':!0x0,'tooltipPosition':el}),_0x2404e8['on'](_0x5e2977(0x10e),()=>{const _0x5c5ebc=_0x5e2977;this[_0x5c5ebc(0x106)](_0x5c5ebc(0xbd));}),_0x2404e8;}[_0x427645(0xc9)](){const _0x27b81a=_0x427645,_0x5d6db4=new _0x4ec2be();return _0x5d6db4[_0x27b81a(0xdf)]({'label':_0x346fbb(this[_0x27b81a(0xe3)],_0x27b81a(0x10c)),'icon':_0xaa003e,'withText':!0x0,'class':jo,'isToggleable':!0x0,'tooltip':_0x346fbb(this[_0x27b81a(0xe3)],_0x27b81a(0x10c)),'tooltipPosition':el}),_0x5d6db4[_0x27b81a(0xe0)]({'attributes':{'class':[zo]}}),_0x5d6db4['on'](_0x27b81a(0x10e),()=>{const _0x26ca64=_0x27b81a;console[_0x26ca64(0xe9)](_0x26ca64(0x109)),alert(_0x26ca64(0x109));}),_0x5d6db4;}[_0x427645(0xfd)](){const _0x2f20e7=_0x427645,_0x519ebe=_0x546b23(this[_0x2f20e7(0xe3)]);return _0x519ebe[_0x2f20e7(0xdf)]({'panelPosition':'ne','class':[Ko]}),_0x519ebe[_0x2f20e7(0xb9)][_0x2f20e7(0xdf)]({'label':_0x346fbb(this[_0x2f20e7(0xe3)],_0x2f20e7(0x116)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':el,'class':Jo}),this[_0x2f20e7(0xba)](_0x519ebe,_0x2f20e7(0x10e),_0x1fa764=>{const _0x2ed387=_0x2f20e7;this[_0x2ed387(0x106)](_0x2ed387(0xf4),_0x1fa764[_0x2ed387(0xdc)][_0x2ed387(0xd7)]);}),_0x519ebe;}[_0x427645(0xcf)](){const _0x9ffa35=_0x427645,_0x5f3d4d=new ModelNameView(this[_0x9ffa35(0xe3)]);return _0x5f3d4d[_0x9ffa35(0xb6)](_0x9ffa35(0xd4))['to'](this,_0x9ffa35(0x105),_0x212b7c=>_0x212b7c??''),_0x5f3d4d[_0x9ffa35(0xb6)](_0x9ffa35(0x10b))['to'](this,_0x9ffa35(0x100),_0x5d22a7=>_0x9ffa35(0xd3)===_0x5d22a7),_0x5f3d4d;}}class ModelButtonLabelView extends _0x26e6a6{constructor(_0x583fff,_0x46f66a){const _0x5bead5=_0x427645;super();const _0x1f5175=this[_0x5bead5(0x107)],_0x15245b=this[_0x5bead5(0xe6)]();this[_0x5bead5(0xf3)]({'tag':_0x5bead5(0xcb),'attributes':{'class':['ck',_0x5bead5(0xf5)],'style':_0x1f5175['to'](_0x5bead5(0xf1)),'id':_0x1f5175['to']('id')},'children':[{'tag':_0x5bead5(0xcb),'attributes':{'class':[Qo]},'children':[{'text':_0x1f5175['to'](_0x5bead5(0xd4))}]},{'tag':_0x5bead5(0xcb),'attributes':{'class':[Zo]},'children':[{'tag':_0x5bead5(0x10d),'children':[{'text':_0x46f66a[_0x5bead5(0xbf)]}]}]},{'tag':_0x5bead5(0xcb),'attributes':{'class':[tl]},'children':_0x15245b}]}),_0x15245b[_0x5bead5(0x115)](this[_0x5bead5(0x10f)](_0x583fff,_0x4d660a,_0x5bead5(0xc3),_0x46f66a[_0x5bead5(0xe7)][_0x5bead5(0xea)]?.[_0x5bead5(0x110)]??!0x1)),_0x15245b[_0x5bead5(0x115)](this[_0x5bead5(0x10f)](_0x583fff,_0x54189e,_0x5bead5(0x102),_0x46f66a[_0x5bead5(0xe7)][_0x5bead5(0xe4)]?.[_0x5bead5(0x110)]??!0x1));}[_0x427645(0x10f)](_0x86759d,_0x57b6ed,_0x132fb8,_0xac793b){const _0x1c69e3=_0x427645,_0x5d847d=new _0x428619();_0x5d847d[_0x1c69e3(0xbb)]=_0x57b6ed;const _0x11db73=new _0x3fe407(_0x86759d);_0x11db73[_0x1c69e3(0xf3)]({'tag':_0x1c69e3(0x10d),'children':[{'text':_0x346fbb(_0x86759d,_0x132fb8)+':\x20'}]});const _0x1d4e34=new _0x3fe407(_0x86759d);return _0x1d4e34[_0x1c69e3(0xf3)]({'tag':_0x1c69e3(0x10d),'children':[{'text':_0x346fbb(_0x86759d,_0xac793b?_0x1c69e3(0xb5):_0x1c69e3(0xcd))}]}),[_0x5d847d,_0x11db73,_0x1d4e34];}}class ModelNameView extends _0x3fe407{constructor(_0x227171){const _0x4863b6=_0x427645;super(_0x227171),this[_0x4863b6(0xdf)](_0x4863b6(0xd4),void 0x0),this[_0x4863b6(0xdf)](_0x4863b6(0x10b),!0x0);const _0x379c72=this[_0x4863b6(0x107)];this[_0x4863b6(0xf3)]({'tag':_0x4863b6(0x10d),'attributes':{'class':['ck',_0x4863b6(0xe2),_0x379c72['if'](_0x4863b6(0x10b),_0x4863b6(0xf2),_0x126b6b=>!_0x126b6b)]},'children':[{'text':_0x379c72['to'](_0x4863b6(0xd4))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e16ec=_0x1e9e;(function(_0x5100f2,_0x8b5cdb){const _0x5b38a8=_0x1e9e,_0x2b25fc=_0x5100f2();while(!![]){try{const _0x13be1b=-parseInt(_0x5b38a8(0x118))/0x1+-parseInt(_0x5b38a8(0x12d))/0x2*(parseInt(_0x5b38a8(0x13c))/0x3)+-parseInt(_0x5b38a8(0x13b))/0x4*(parseInt(_0x5b38a8(0x117))/0x5)+parseInt(_0x5b38a8(0x145))/0x6*(parseInt(_0x5b38a8(0x146))/0x7)+parseInt(_0x5b38a8(0x122))/0x8+parseInt(_0x5b38a8(0x128))/0x9*(-parseInt(_0x5b38a8(0x149))/0xa)+-parseInt(_0x5b38a8(0x148))/0xb*(parseInt(_0x5b38a8(0x11e))/0xc);if(_0x13be1b===_0x8b5cdb)break;else _0x2b25fc['push'](_0x2b25fc['shift']());}catch(_0x156f2d){_0x2b25fc['push'](_0x2b25fc['shift']());}}}(_0x4645,0xae732));import{IconSubmit as _0x53de79}from'ckeditor5/src/icons.js';import{ButtonView as _0x493575,AutocompleteView as _0x5d2ece,createLabeledTextarea as _0x13fc31}from'ckeditor5/src/ui.js';import{global as _0x5139e7,isVisible as _0x4af7ef,Rect as _0x1993f2,ResizeObserver as _0x257192}from'ckeditor5/src/utils.js';function _0x4645(){const _0xa58eee=['hasError','uiLanguageDirection','_queryViewResizeObserver','isEmpty','focusableChildren','submit','target','contains','locale','placeholder','13052WFdoQS','3ZOILPq','_createSubmitButton','calc(','MAX_ROWS','AI_CHAT_PROMPT_EMPTY_ERROR','style','AI_CHAT_LABEL_SUBMIT','trim','excludeScrollbarsAndBorders','6JWPQln','7475412diLlXj','destroy','22rVjXuU','410BLrzXE','ck-ai-chat__prompt-input','setIsUploadInProgress','bind','submitButtonView','set','width','left','isEnabled','queryView','maxRows','enter','focus','ck-ai-chat__prompt-input_highlighted','_addContextButtonView','fire','sendUserMessage','add','reset','remove','px\x20-\x20var(--ck-spacing-tiny))','classList','155WUpcbW','352949MuTFNI','_setUpAddContextButtonPositioning','fieldView','setPlaceholderText','execute','window','612012jMgMai','value','ck-ai-chat__prompt-submit-button','MIN_ROWS','8924736MgAaOU','update','isUploadInProgress','minRows','errorText','right','91305LuIzCL','rtl','extendTemplate','keystrokes','render','993826bIrVLu','requestAnimationFrame','fieldWrapperChildren','element'];_0x4645=function(){return _0xa58eee;};return _0x4645();}import{getTranslation as _0x5ed497}from'../../../aicore/utils/common-translations.js';function _0x1e9e(_0x523b0e,_0x494784){const _0x4645ed=_0x4645();return _0x1e9e=function(_0x1e9eff,_0x1ae6cc){_0x1e9eff=_0x1e9eff-0x10e;let _0x475875=_0x4645ed[_0x1e9eff];return _0x475875;},_0x1e9e(_0x523b0e,_0x494784);}import{AIChatPromptSuggestionsListView as _0xb67a60}from'./aichatpromptsuggestionslistview.js';import{escape as _0x1f3330}from'es-toolkit/compat';const ah=_0x5e16ec(0x10e);export class AIChatPromptInputView extends _0x5d2ece{[_0x5e16ec(0x14d)];static [_0x5e16ec(0x121)]=0x1;static [_0x5e16ec(0x13f)]=0xc;[_0x5e16ec(0x10f)];[_0x5e16ec(0x133)];constructor(_0x142cfe,_0x40c030){const _0x199ee1=_0x5e16ec;super(_0x142cfe,{'queryView':{'label':'','creator':_0x13fc31,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xb67a60(_0x142cfe),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x199ee1(0x14e)](_0x199ee1(0x134),!0x0),this[_0x199ee1(0x14e)](_0x199ee1(0x124),!0x1),this[_0x199ee1(0x10f)]=_0x40c030,this[_0x199ee1(0x133)]=null,this[_0x199ee1(0x152)][_0x199ee1(0x11a)][_0x199ee1(0x125)]=AIChatPromptInputView[_0x199ee1(0x121)],this[_0x199ee1(0x152)][_0x199ee1(0x11a)][_0x199ee1(0x153)]=AIChatPromptInputView[_0x199ee1(0x13f)],this[_0x199ee1(0x152)][_0x199ee1(0x12f)][_0x199ee1(0x112)](this[_0x199ee1(0x10f)]),this[_0x199ee1(0x119)](),this[_0x199ee1(0x12a)]({'attributes':{'class':['ck',_0x199ee1(0x14a)]}}),this[_0x199ee1(0x14d)]=this[_0x199ee1(0x13d)](),this[_0x199ee1(0x14d)][_0x199ee1(0x14c)](_0x199ee1(0x151))['to'](this,_0x199ee1(0x134),this,_0x199ee1(0x124),(_0xb056b3,_0x2608d6)=>!_0xb056b3&&!_0x2608d6),this[_0x199ee1(0x135)][_0x199ee1(0x112)](this[_0x199ee1(0x14d)]);}[_0x5e16ec(0x12c)](){const _0xac8a70=_0x5e16ec;super[_0xac8a70(0x12c)](),this[_0xac8a70(0x152)][_0xac8a70(0x12f)][_0xac8a70(0x112)](this[_0xac8a70(0x14d)]),this[_0xac8a70(0x12b)][_0xac8a70(0x14e)](_0xac8a70(0x154),(_0xa2b27d,_0x251fcc)=>{const _0x25b4ba=_0xac8a70;this[_0x25b4ba(0x124)]||this[_0x25b4ba(0x134)]||_0xa2b27d[_0x25b4ba(0x137)]==this[_0x25b4ba(0x152)][_0x25b4ba(0x11a)][_0x25b4ba(0x130)]&&(this[_0x25b4ba(0x136)](),_0x251fcc());}),this[_0xac8a70(0x152)][_0xac8a70(0x11a)]['on'](_0xac8a70(0x123),()=>{const _0x171e37=_0xac8a70;this[_0x171e37(0x134)]=''===this[_0x171e37(0x152)][_0x171e37(0x11a)][_0x171e37(0x130)][_0x171e37(0x11f)]?.[_0x171e37(0x143)]();});}[_0x5e16ec(0x147)](){const _0x3dfa5e=_0x5e16ec;super[_0x3dfa5e(0x147)](),this[_0x3dfa5e(0x133)]&&this[_0x3dfa5e(0x133)][_0x3dfa5e(0x147)]();}[_0x5e16ec(0x136)](){const _0x2622dc=_0x5e16ec,_0x4098e3=this[_0x2622dc(0x152)][_0x2622dc(0x11a)][_0x2622dc(0x130)][_0x2622dc(0x11f)]?.[_0x2622dc(0x143)]();if(!_0x4098e3)return this[_0x2622dc(0x152)][_0x2622dc(0x126)]=_0x5ed497(this[_0x2622dc(0x139)],_0x2622dc(0x140)),void(this[_0x2622dc(0x152)][_0x2622dc(0x11a)][_0x2622dc(0x131)]=!0x0);this[_0x2622dc(0x152)][_0x2622dc(0x11a)][_0x2622dc(0x131)]=!0x1;const _0x3bf478=_0x1f3330(_0x4098e3);this[_0x2622dc(0x110)](_0x2622dc(0x111),_0x3bf478),this[_0x2622dc(0x152)][_0x2622dc(0x11a)][_0x2622dc(0x113)]();}[_0x5e16ec(0x11b)](_0x3a6a0f){const _0x4560ee=_0x5e16ec;this[_0x4560ee(0x152)][_0x4560ee(0x11a)][_0x4560ee(0x14e)](_0x4560ee(0x13a),_0x3a6a0f);}[_0x5e16ec(0x155)](_0x162e4c=!0x1){const _0x5a76f1=_0x5e16ec;super[_0x5a76f1(0x155)](),_0x162e4c&&(this[_0x5a76f1(0x130)][_0x5a76f1(0x116)][_0x5a76f1(0x138)](ah)||(this[_0x5a76f1(0x130)][_0x5a76f1(0x116)][_0x5a76f1(0x112)](ah),setTimeout(()=>{const _0x42865c=_0x5a76f1;this[_0x42865c(0x130)][_0x42865c(0x116)][_0x42865c(0x114)](ah);},0x320)));}[_0x5e16ec(0x13d)](){const _0xe33693=_0x5e16ec,_0x1c9468=new _0x493575(this[_0xe33693(0x139)]);return _0x1c9468[_0xe33693(0x14e)]({'icon':_0x53de79,'label':_0x5ed497(this[_0xe33693(0x139)],_0xe33693(0x142)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xe33693(0x120),'isEnabled':!0x1}),_0x1c9468['on'](_0xe33693(0x11c),()=>{const _0x72a54=_0xe33693;this[_0x72a54(0x136)]();}),_0x1c9468;}[_0x5e16ec(0x14b)](_0x2cd199){const _0x48eced=_0x5e16ec;this[_0x48eced(0x124)]=_0x2cd199;}[_0x5e16ec(0x119)](){const _0x3e780d=_0x5e16ec,_0x34e632=this[_0x3e780d(0x139)],_0x53e7a6=()=>{const _0x5da8de=_0x3e780d;_0x5139e7[_0x5da8de(0x11d)][_0x5da8de(0x12e)](()=>{const _0x542922=_0x5da8de;if(_0x4af7ef(this[_0x542922(0x130)])){const _0x53b3cb=new _0x1993f2(this[_0x542922(0x152)][_0x542922(0x11a)][_0x542922(0x130)]),_0x284f7b=new _0x1993f2(this[_0x542922(0x10f)][_0x542922(0x130)]),_0x4a3c32=_0x53b3cb[_0x542922(0x14f)],_0x1cd63b=_0x542922(0x129)===_0x34e632[_0x542922(0x132)]?_0x542922(0x127):_0x542922(0x150);_0x53b3cb[_0x542922(0x144)]();const _0x14fbf5=_0x4a3c32-_0x53b3cb[_0x542922(0x14f)]+0x1;this[_0x542922(0x10f)][_0x542922(0x130)][_0x542922(0x141)][_0x1cd63b]=_0x542922(0x13e)+(_0x4a3c32-_0x284f7b[_0x542922(0x14f)]-_0x14fbf5)+_0x542922(0x115);}});};this[_0x3e780d(0x152)][_0x3e780d(0x11a)]['on'](_0x3e780d(0x123),_0x53e7a6),this['on'](_0x3e780d(0x12c),()=>{const _0x69297=_0x3e780d;_0x53e7a6(),this[_0x69297(0x133)]=new _0x257192(this[_0x69297(0x152)][_0x69297(0x11a)][_0x69297(0x130)],()=>{_0x53e7a6();});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x442f(_0x1d625c,_0x42c38b){const _0x2cc639=_0x2cc6();return _0x442f=function(_0x442f33,_0x57a03f){_0x442f33=_0x442f33-0x1be;let _0x2f881a=_0x2cc639[_0x442f33];return _0x2f881a;},_0x442f(_0x1d625c,_0x42c38b);}const _0xf7314a=_0x442f;function _0x2cc6(){const _0x29ee46=['5osjMEA','2793584pvNlpY','filter','1034711GAYJBJ','6837021KxYRGr','487984bUYwJV','119147GtdUiM','length','807018dYZARx','items','1064492tNuVEJ','138wjRHdr'];_0x2cc6=function(){return _0x29ee46;};return _0x2cc6();}(function(_0x25651f,_0x197d75){const _0x187318=_0x442f,_0x34e04d=_0x25651f();while(!![]){try{const _0x1a3483=parseInt(_0x187318(0x1c1))/0x1+-parseInt(_0x187318(0x1c3))/0x2+-parseInt(_0x187318(0x1c6))/0x3+-parseInt(_0x187318(0x1c8))/0x4*(-parseInt(_0x187318(0x1be))/0x5)+parseInt(_0x187318(0x1c9))/0x6*(-parseInt(_0x187318(0x1c4))/0x7)+-parseInt(_0x187318(0x1bf))/0x8+parseInt(_0x187318(0x1c2))/0x9;if(_0x1a3483===_0x197d75)break;else _0x34e04d['push'](_0x34e04d['shift']());}catch(_0x293334){_0x34e04d['push'](_0x34e04d['shift']());}}}(_0x2cc6,0xc4fa8));import{ListView as _0x50b384}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x50b384{[_0xf7314a(0x1c0)](){const _0x121d1f=_0xf7314a;let _0x2bce83=0x0;for(const _0x3b1d01 of this[_0x121d1f(0x1c7)])_0x2bce83+=_0x3b1d01[_0x121d1f(0x1c7)][_0x121d1f(0x1c5)];return{'resultsCount':_0x2bce83,'totalItemsCount':_0x2bce83};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x420e(){const _0x2f5bf5=['6448855dJVRxR','clear','13581pwDOpt','fire','execute','addResourceToContext','add','13690540SgMbvk','6vHsZrU','ck-ai-chat-resources__list','setResources','items','updateResourceState','2884868MYCcyA','3182298XCSaYE','test','resource','label','214023eJWsqe','1672WfWGoi','extendTemplate','5uKWdaE','\x5c$&','filter','trim','locale','replace','forEach','443045psemuU','_source','highlightText','_handleResourceSelection','useDefaultFiltering'];_0x420e=function(){return _0x2f5bf5;};return _0x420e();}const _0x487395=_0x8c35;(function(_0x24eb56,_0x2789c9){const _0x549d28=_0x8c35,_0x2dd509=_0x24eb56();while(!![]){try{const _0x25a3dd=-parseInt(_0x549d28(0x1b9))/0x1+-parseInt(_0x549d28(0x1c6))/0x2*(parseInt(_0x549d28(0x1af))/0x3)+parseInt(_0x549d28(0x1aa))/0x4+parseInt(_0x549d28(0x1b2))/0x5*(parseInt(_0x549d28(0x1ab))/0x6)+parseInt(_0x549d28(0x1be))/0x7+-parseInt(_0x549d28(0x1b0))/0x8*(-parseInt(_0x549d28(0x1c0))/0x9)+-parseInt(_0x549d28(0x1c5))/0xa;if(_0x25a3dd===_0x2789c9)break;else _0x2dd509['push'](_0x2dd509['shift']());}catch(_0x1bb1be){_0x2dd509['push'](_0x2dd509['shift']());}}}(_0x420e,0x70d2c));import{ListView as _0x37db68}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x16b2bb}from'./aichatresourcelistitemview.js';const uc=_0x487395(0x1c7);function _0x8c35(_0xcd37a3,_0x2f1a44){const _0x420eb2=_0x420e();return _0x8c35=function(_0x8c359e,_0x230f7e){_0x8c359e=_0x8c359e-0x1aa;let _0x4e5897=_0x420eb2[_0x8c359e];return _0x4e5897;},_0x8c35(_0xcd37a3,_0x2f1a44);}export class AIChatContextResourcesListView extends _0x37db68{[_0x487395(0x1ba)];constructor(_0x4f0d3c,_0x167052){const _0x4284b0=_0x487395;super(_0x4f0d3c),this[_0x4284b0(0x1ba)]=_0x167052,this[_0x4284b0(0x1b1)]({'attributes':{'class':[uc]}});}[_0x487395(0x1c8)](_0x275f79,_0x305566){const _0x5d453c=_0x487395;this[_0x5d453c(0x1c9)][_0x5d453c(0x1bf)]();let _0xdfaef6=_0x275f79;if(this[_0x5d453c(0x1ba)][_0x5d453c(0x1bd)]&&_0x305566&&''!==_0x305566[_0x5d453c(0x1b5)]()){const _0x548f42=new RegExp(_0x305566[_0x5d453c(0x1b7)](/[.*+?^${}()|[\]\\]/g,_0x5d453c(0x1b3)),'gi');_0xdfaef6=_0x275f79[_0x5d453c(0x1b4)](_0x3a0074=>_0x548f42[_0x5d453c(0x1ac)](_0x3a0074[_0x5d453c(0x1ae)]));}for(const _0x516349 of _0xdfaef6){const _0x326559=new _0x16b2bb(this[_0x5d453c(0x1b6)],_0x516349);_0x326559['on'](_0x5d453c(0x1c2),()=>{const _0x422a9f=_0x5d453c;this[_0x422a9f(0x1bc)](this[_0x422a9f(0x1ba)],_0x516349);}),this[_0x5d453c(0x1c9)][_0x5d453c(0x1c4)](_0x326559);}this[_0x5d453c(0x1ba)][_0x5d453c(0x1bd)]&&this[_0x5d453c(0x1bb)](_0x305566);}[_0x487395(0x1bb)](_0x16fe49){const _0x22c4c0=_0x487395;this[_0x22c4c0(0x1ba)][_0x22c4c0(0x1bd)]&&this[_0x22c4c0(0x1c9)][_0x22c4c0(0x1b8)](_0x418103=>{const _0x2c02a2=_0x22c4c0;_0x418103[_0x2c02a2(0x1bb)](_0x16fe49);});}[_0x487395(0x1ca)](_0x3f035d,_0x19cf8a){const _0x2d77a7=_0x487395;for(const _0x3e88b8 of this[_0x2d77a7(0x1c9)]){const _0x658d5f=_0x3e88b8;_0x658d5f[_0x2d77a7(0x1ad)]['id']===_0x3f035d&&_0x658d5f[_0x2d77a7(0x1ca)](_0x19cf8a);}}[_0x487395(0x1bc)](_0x27966d,_0x1f70cc){const _0x1c8e63=_0x487395;this[_0x1c8e63(0x1c1)](_0x1c8e63(0x1c3),{'source':_0x27966d,'resource':_0x1f70cc});}}
|