import{_ as y}from"./HK78SWUp.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,F as $,E as x,q as p,B as c,C as v,G as w}from"./CibDhUcP.js";import B from"./CTMooejj.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"}),P=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 T(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 H=Object.assign(i(P,[["render",T],["__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=H;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}}),R={key:0,class:"uppercase text-xs leading-4 text-slate-400 font-medium mb-2"},V={key:1,class:"mb-4"},D={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",R,b(e.$t("stepFrom",{max:t.realMaxSteps,cur:t.realCurrentStep+1})),1)):p("",!0),e.$slots.label?(o(),r("div",V,[c(e.$slots,"label")])):p("",!0),e.$slots.headline?(o(),r("h2",D,[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"}),F={},U={class:"lg:w-[576px] 2xl:w-[744px] 3xl:w-[936px] flex-auto flex flex-col"},q={class:"flex-auto h-full flex flex-col w-full sm:w-[480px] justify-between"};function z(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",U,[m("div",q,[c(e.$slots,"default")])])],2)}const Q=Object.assign(i(F,[["render",z],["__file","MainBodyWrapper.vue"]]),{__name:"MainBodyWrapper"});export{Q as _,J as a,K as b};
