import{__assign as e}from"tslib";import{jsxs as i,jsx as t}from"react/jsx-runtime";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import{useTeachMeConfigStore as n,dttWelcomeMessageParts as r,dtt as o}from"../../../features/LearningManagement/store/useLMSConfigStore.js";import l from"react-markdown";import{renderToStaticMarkup as s}from"react-dom/server";var d=function(d){var p=d.pluginPayload||{},c=p.editingRule,g=p.editingTier,u=p.editingVariants,T=p.focusedVariantIndex,m=p.setFocusedVariantIndex,h=p.triggerAddVariant,f=p.triggerFixGaps,b=p.copiedRule,L=p.copiedSourceTier,A=p.copiedTargetTier,v=p.initialDraftMessage,S=p.app_integration_id,y=p.modeId;n(function(e){return e.teachMeConfig});var M=r(),x=M.greeting,I=M.subtitle,w=M.actions,C=s(i("p",{children:[t("span",{children:x}),t(l,{children:I}),t("span",e({className:"clickable-button-group"},{children:w.map(function(i){var a=i.label,n=i.value;return t("button",e({className:"clickable-button","data-value":n},{children:a}),a)})}))]})),N={showScope:!1,showConfiguration:!1,welcomeMessage:o("welcomeMessage","Hi! 👋 I'm your Instant Learning Concierge."),formTitle:o("formTitle","Rule setup"),setupLabel:o("setupLabel","Configure your IL"),ruleTitle:o("ruleTitle","Main Rule Name"),scopeLabel:o("scopeLabel","Define Scope"),tierLabel:o("tierLabel","Select Tiers"),ruleDescriptionTitle:o("ruleDescriptionTitle","Learning Explanation"),whenToApplyTitle:o("whenToApplyTitle","Trigger Events (When to Apply)"),addWhenToApplyBtnLabel:o("addWhenToApplyBtnLabel","Add WTA"),whenNotToApplyTitle:o("whenNotToApplyTitle","Exclusion Events (When NOT to Apply)"),addWhenNotToApplyBtnLabel:o("addWhenNotToApplyBtnLabel","Add WNTA"),configTitle:o("configTitle","Advanced Settings"),saveBtnConfig:{label:o("saveBtnLabel","Save Rule"),loadingLabel:o("saveBtnLoadingLabel","Saving Rule...")},chatTitle:o("chatTitle","Teach Me OTJ - {scope} - Add Learning"),chatTitleEdit:o("chatTitleEdit","Teach Me OTJ - {scope} - Edit Learning"),chatTextareaPlaceholder:o("chatTextareaPlaceholder","Tell me more about this learning..")};return t(a,{isOpen:d.isOpen,onClose:d.onClose,initialScope:d.initialScope,ruleSet:d.ruleSet,editingRule:c,editingTier:g,editingVariants:u,focusedVariantIndex:T,setFocusedVariantIndex:m,triggerAddVariant:h,triggerFixGaps:f,copiedRule:b,copiedSourceTier:L,copiedTargetTier:A,initialDraftMessage:v,initialChatMessage:C,applicationIntegrationId:S,modeId:y,uiStateLabels:N})};export{d as default};
//# sourceMappingURL=DefaultTeachMeRenderer.js.map
