import{_ as y}from"./CyM-5rC-.js";import{v as g,n as u,_ as i,o,c as r,p as h,a as m,b as f,d as S,t as b,G as $,B as x,q as p,D as c,E as v,H as w}from"./CChoqk00.js";import B from"./DgZ9OEJo.js";const O=g({__name:"BrandLogo",setup(e,{expose:s}){s();const t={store:u()};return Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!0}),t}}),C=["src"];function j(e,s,n,t,_,a){var d;const l=y;return o(),r("div",null,[(d=t.store.cnameConfig)!=null&&d.logoUrl?(o(),r("img",{key:0,src:t.store.cnameConfig.logoUrl,alt:"",class:"w-[160px]"},null,8,C)):(o(),h(l,{key:1}))])}const k=Object.assign(i(O,[["render",j],["__file","BrandLogo.vue"]]),{__name:"BrandLogo"}),H=g({__name:"OptionsTrigger",emits:["open"],setup(e,{expose:s,emit:n}){s();const t=n,_=u(),a={emit:t,store:_};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}});function P(e,s,n,t,_,a){const l=B;return o(),r("div",null,[m("div",{class:"flex bg-slate-100 hover:bg-slate-300 px-3 py-2 rounded-3xl items-center cursor-pointer transition duration-300 text-sm font-medium",onClick:s[0]||(s[0]=d=>t.store.openDrawer=!0)},[f(l,{name:"material-symbols:menu",class:"w-5 h-5 mr-2"}),S(" "+b(e.$t("Options")),1)])])}const T=Object.assign(i(H,[["render",P],["__file","OptionsTrigger.vue"]]),{__name:"OptionsTrigger"}),N={},L={class:"flex items-center justify-between mb-12 w-full"};function M(e,s){const n=k,t=T;return o(),r("header",L,[f(n),f(t,{class:"lg:hidden",onOpen:("baseStore"in e?e.baseStore:$(u))().openDrawer},null,8,["onOpen"])])}const J=Object.assign(i(N,[["render",M],["__file","AppHeader.vue"]]),{__name:"AppHeader"}),A=g({__name:"BodyPageHeader",props:{showCount:{type:Boolean,default:!0},maxSteps:{type:Number,default:0},currentStep:{type:Number,default:0}},setup(e,{expose:s}){s();const n=e,t=u(),_=x(()=>n.currentStep!==0?n.currentStep:t.currentStep),a=x(()=>n.maxSteps!==0?n.maxSteps:t.steps.length),l={props:n,store:t,realCurrentStep:_,realMaxSteps:a};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),D={key:0,class:"uppercase text-xs leading-4 text-slate-400 font-medium mb-2"},R={key:1,class:"mb-4"},V={key:2,class:"text-headline leading-10 font-medium mb-2 text-balance text-slate-900"},E={key:3,class:"bodyPageTextArea"};function W(e,s,n,t,_,a){return o(),r("header",null,[n.showCount?(o(),r("div",D,b(e.$t("stepFrom",{max:t.realMaxSteps,cur:t.realCurrentStep+1})),1)):p("",!0),e.$slots.label?(o(),r("div",R,[c(e.$slots,"label")])):p("",!0),e.$slots.headline?(o(),r("h2",V,[c(e.$slots,"headline")])):p("",!0),e.$slots.text?(o(),r("div",E,[c(e.$slots,"text")])):p("",!0),c(e.$slots,"redeemcards")])}const K=Object.assign(i(A,[["render",W],["__file","BodyPageHeader.vue"]]),{__name:"BodyPageHeader"}),U={},q={class:"lg:w-[576px] 2xl:w-[744px] 3xl:w-[936px] flex-auto flex flex-col"},z={class:"flex-auto h-full flex flex-col w-full sm:w-[480px] justify-between"};function F(e,s){return o(),r("main",{class:v([[("useRuntimeConfig"in e?e.useRuntimeConfig:$(w))().public.WHM_EXTRAS?"outline outline-1 outline-gray-200 rounded-lg":""],"p-4 md:py-8 lg:py-10 xl:py-12 flex flex-col w-full items-center"])},[m("div",q,[m("div",z,[c(e.$slots,"default")])])],2)}const Q=Object.assign(i(U,[["render",F],["__file","MainBodyWrapper.vue"]]),{__name:"MainBodyWrapper"});export{Q as _,J as a,K as b};
