{n&&(a&&a.end(1),l=at(e,Me,{transition:i[2],params:i[3],enabled:i[1]}),l.start())}),n=!0)},o(o){l&&l.invalidate(),o&&(a=st(e,Me,{transition:i[4],params:i[5],enabled:i[1]})),n=!1},d(o){o&&V(e),Ze(r,o),o&&a&&a.end()}}}function Nl(i){let e,t,l=(i[6](i[39])?`${i[0]} ${i[39]+1}`:i[39]+1)+"",a,n,s,r;return{c(){e=S("div"),t=S("span"),a=we(l),s=te(),this.h()},l(o){e=P(o,"DIV",{class:!0});var u=T(e);t=P(u,"SPAN",{class:!0});var c=T(t);a=Ie(c,l),c.forEach(V),s=ie(u),u.forEach(V),this.h()},h(){d(t,"class",n="badge "+i[9](i[39])),d(e,"class",r="stepper-header-step "+i[10]),Ge(e,"flex-1",i[6](i[39]))},m(o,u){R(o,e,u),L(e,t),L(t,a),L(e,s)},p(o,u){u[0]&193&&l!==(l=(o[6](o[39])?`${o[0]} ${o[39]+1}`:o[39]+1)+"")&&Pe(a,l),u[0]&640&&n!==(n="badge "+o[9](o[39]))&&d(t,"class",n),u[0]&1024&&r!==(r="stepper-header-step "+o[10])&&d(e,"class",r),u[0]&1216&&Ge(e,"flex-1",o[6](o[39]))},d(o){o&&V(e)}}}function $o(i){let e,t,l,a,n,s,r=i[7].total&&Bl(i);const o=i[32].default,u=oe(o,i,i[31],null);return{c(){e=S("div"),r&&r.c(),t=te(),l=S("div"),u&&u.c(),this.h()},l(c){e=P(c,"DIV",{class:!0,"data-testid":!0});var f=T(e);r&&r.l(f),t=ie(f),l=P(f,"DIV",{class:!0});var b=T(l);u&&u.l(b),b.forEach(V),f.forEach(V),this.h()},h(){d(l,"class",a="stepper-content "+i[8]),d(e,"class",n="stepper "+i[12]),d(e,"data-testid","stepper")},m(c,f){R(c,e,f),r&&r.m(e,null),L(e,t),L(e,l),u&&u.m(l,null),s=!0},p(c,f){c[7].total?r?(r.p(c,f),f[0]&128&&N(r,1)):(r=Bl(c),r.c(),N(r,1),r.m(e,t)):r&&(fe(),A(r,1,1,()=>{r=null}),ye()),u&&u.p&&(!s||f[1]&1)&&de(u,o,c,c[31],s?ce(o,c[31],f,null):ue(c[31]),null),(!s||f[0]&256&&a!==(a="stepper-content "+c[8]))&&d(l,"class",a),(!s||f[0]&4096&&n!==(n="stepper "+c[12]))&&d(e,"class",n)},i(c){s||(N(r),N(u,c),s=!0)},o(c){A(r),A(u,c),s=!1},d(c){c&&V(e),r&&r.d(),u&&u.d(c)}}}const ed="space-y-4",td="flex items-center border-t mt-[15px]",id="-mt-[15px] transition-all duration-300",ld="";function nd(i,e,t){let l,a,n,s,r,o,u,c;Je(i,ht,J=>t(33,c=J));let{$$slots:f={},$$scope:b}=e;const g=Qe();let{gap:k="gap-4"}=e,{stepTerm:p="Step"}=e,{badge:m="variant-filled-surface"}=e,{active:y="variant-filled"}=e,{border:h="border-surface-400-500-token"}=e,{start:_=0}=e,{justify:w="justify-between"}=e,{buttonBack:v="variant-ghost"}=e,{buttonBackType:C="button"}=e,{buttonBackLabel:I="← Back"}=e,{buttonNext:E="variant-filled"}=e,{buttonNextType:B="button"}=e,{buttonNextLabel:F="Next →"}=e,{buttonComplete:M="variant-filled-primary"}=e,{buttonCompleteType:j="button"}=e,{buttonCompleteLabel:$="Complete"}=e,{regionHeader:re=""}=e,{regionContent:ge=""}=e,{transitions:W=!c}=e,{transitionIn:me=ut}=e,{transitionInParams:G={duration:100}}=e,{transitionOut:K=ut}=e,{transitionOutParams:Q={duration:100}}=e,D=rt({current:_,total:0});Je(i,D,J=>t(7,u=J));async function pe(J,z){await new Promise(le=>setTimeout(le)),!J&&(wt(D,u.current++,u),g("next",{step:z,state:u}),g("step",{step:z,state:u}))}function Ce(J){wt(D,u.current--,u),g("back",{step:J,state:u}),g("step",{step:J,state:u})}function H(J){g("complete",{step:J,state:u})}return x("state",D),x("stepTerm",p),x("gap",k),x("justify",w),x("onNext",pe),x("onBack",Ce),x("onComplete",H),x("buttonBack",v),x("buttonBackType",C),x("buttonBackLabel",I),x("buttonNext",E),x("buttonNextType",B),x("buttonNextLabel",F),x("buttonComplete",M),x("buttonCompleteType",j),x("buttonCompleteLabel",$),x("transitions",W),x("transitionIn",me),x("transitionInParams",G),x("transitionOut",K),x("transitionOutParams",Q),i.$$set=J=>{t(38,e=Y(Y({},e),ae(J))),"gap"in J&&t(14,k=J.gap),"stepTerm"in J&&t(0,p=J.stepTerm),"badge"in J&&t(15,m=J.badge),"active"in J&&t(16,y=J.active),"border"in J&&t(17,h=J.border),"start"in J&&t(18,_=J.start),"justify"in J&&t(19,w=J.justify),"buttonBack"in J&&t(20,v=J.buttonBack),"buttonBackType"in J&&t(21,C=J.buttonBackType),"buttonBackLabel"in J&&t(22,I=J.buttonBackLabel),"buttonNext"in J&&t(23,E=J.buttonNext),"buttonNextType"in J&&t(24,B=J.buttonNextType),"buttonNextLabel"in J&&t(25,F=J.buttonNextLabel),"buttonComplete"in J&&t(26,M=J.buttonComplete),"buttonCompleteType"in J&&t(27,j=J.buttonCompleteType),"buttonCompleteLabel"in J&&t(28,$=J.buttonCompleteLabel),"regionHeader"in J&&t(29,re=J.regionHeader),"regionContent"in J&&t(30,ge=J.regionContent),"transitions"in J&&t(1,W=J.transitions),"transitionIn"in J&&t(2,me=J.transitionIn),"transitionInParams"in J&&t(3,G=J.transitionInParams),"transitionOut"in J&&t(4,K=J.transitionOut),"transitionOutParams"in J&&t(5,Q=J.transitionOutParams),"$$scope"in J&&t(31,b=J.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(6,l=J=>J===u.current),t(12,a=`${ed} ${e.class??""}`),i.$$.dirty[0]&537018368&&t(11,n=`${td} ${h} ${k} ${re}`),i.$$.dirty[0]&98368&&t(9,r=J=>l(J)?y:m),i.$$.dirty[0]&1073741824&&t(8,o=`${ld} ${ge}`)},t(10,s=`${id}`),e=ae(e),[p,W,me,G,K,Q,l,u,o,r,s,n,a,D,k,m,y,h,_,w,v,C,I,E,B,F,M,j,$,re,ge,b,f]}class ad extends ve{constructor(e){super(),_e(this,e,nd,$o,ke,{gap:14,stepTerm:0,badge:15,active:16,border:17,start:18,justify:19,buttonBack:20,buttonBackType:21,buttonBackLabel:22,buttonNext:23,buttonNextType:24,buttonNextLabel:25,buttonComplete:26,buttonCompleteType:27,buttonCompleteLabel:28,regionHeader:29,regionContent:30,transitions:1,transitionIn:2,transitionInParams:3,transitionOut:4,transitionOutParams:5},null,[-1,-1])}}ad.__docgen={version:3,name:"Stepper.svelte",data:[{visibility:"public",description:null,keywords:[],name:"gap",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"gap-4"},{visibility:"public",description:null,keywords:[],name:"stepTerm",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Step"},{visibility:"public",description:null,keywords:[],name:"badge",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled-surface"},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled"},{visibility:"public",description:null,keywords:[],name:"border",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-surface-400-500-token"},{visibility:"public",description:null,keywords:[],name:"start",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"number",type:"number"},defaultValue:0},{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"justify-between"},{visibility:"public",description:null,keywords:[],name:"buttonBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-ghost"},{visibility:"public",description:null,keywords:[],name:"buttonBackType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonBackLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"← Back"},{visibility:"public",description:null,keywords:[],name:"buttonNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled"},{visibility:"public",description:null,keywords:[],name:"buttonNextType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonNextLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Next →"},{visibility:"public",description:null,keywords:[],name:"buttonComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"variant-filled-primary"},{visibility:"public",description:null,keywords:[],name:"buttonCompleteType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"button"},{visibility:"public",description:null,keywords:[],name:"buttonCompleteLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"Complete"},{visibility:"public",description:null,keywords:[],name:"regionHeader",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionContent",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"transitions",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionIn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionInParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}},{visibility:"public",description:null,keywords:[],name:"transitionOut",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOutParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"object",type:"object"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{visibility:"public",description:null,keywords:[],name:"next"},{visibility:"public",description:null,keywords:[],name:"step"},{visibility:"public",description:null,keywords:[],name:"back"},{visibility:"public",description:null,keywords:[],name:"complete"}],slots:[{keywords:[],visibility:"public",description:"Content",name:"default"}],refs:[]};const sd=i=>({}),Sl=i=>({}),rd=i=>({}),Pl=i=>({});function Dl(i){let e,t,l,a,n,s,r,o,u;const c=i[33].header,f=oe(c,i,i[32],Pl),b=f||od(i),g=i[33].default,k=oe(g,i,i[32],null),p=k||dd(i);let m=i[24].total>1&&Ol(i);return{c(){e=S("div"),t=S("header"),b&&b.c(),a=te(),n=S("div"),p&&p.c(),r=te(),m&&m.c(),this.h()},l(y){e=P(y,"DIV",{class:!0,"data-testid":!0});var h=T(e);t=P(h,"HEADER",{class:!0});var _=T(t);b&&b.l(_),_.forEach(V),a=ie(h),n=P(h,"DIV",{class:!0});var w=T(n);p&&p.l(w),w.forEach(V),r=ie(h),m&&m.l(h),h.forEach(V),this.h()},h(){d(t,"class",l="step-header "+i[22]),d(n,"class",s="step-content "+i[21]),d(e,"class",o="step "+i[23]),d(e,"data-testid","step")},m(y,h){R(y,e,h),L(e,t),b&&b.m(t,null),L(e,a),L(e,n),p&&p.m(n,null),L(e,r),m&&m.m(e,null),u=!0},p(y,h){f?f.p&&(!u||h[1]&2)&&de(f,c,y,y[32],u?ce(c,y[32],h,rd):ue(y[32]),Pl):b&&b.p&&(!u||h[0]&4)&&b.p(y,u?h:[-1,-1]),(!u||h[0]&4194304&&l!==(l="step-header "+y[22]))&&d(t,"class",l),k?k.p&&(!u||h[1]&2)&&de(k,g,y,y[32],u?ce(g,y[32],h,null):ue(y[32]),null):p&&p.p&&(!u||h[0]&4)&&p.p(y,u?h:[-1,-1]),(!u||h[0]&2097152&&s!==(s="step-content "+y[21]))&&d(n,"class",s),y[24].total>1?m?(m.p(y,h),h[0]&16777216&&N(m,1)):(m=Ol(y),m.c(),N(m,1),m.m(e,null)):m&&(fe(),A(m,1,1,()=>{m=null}),ye()),(!u||h[0]&8388608&&o!==(o="step "+y[23]))&&d(e,"class",o)},i(y){u||(N(b,y),N(p,y),N(m),u=!0)},o(y){A(b,y),A(p,y),A(m),u=!1},d(y){y&&V(e),b&&b.d(y),p&&p.d(y),m&&m.d()}}}function od(i){let e,t,l=i[25]+1+"",a;return{c(){e=we(i[2]),t=te(),a=we(l)},l(n){e=Ie(n,i[2]),t=ie(n),a=Ie(n,l)},m(n,s){R(n,e,s),R(n,t,s),R(n,a,s)},p(n,s){s[0]&4&&Pe(e,n[2])},d(n){n&&(V(e),V(t),V(a))}}}function dd(i){let e,t,l,a=i[25]+1+"",n,s;return{c(){e=we("("),t=we(i[2]),l=te(),n=we(a),s=we(" Content)")},l(r){e=Ie(r,"("),t=Ie(r,i[2]),l=ie(r),n=Ie(r,a),s=Ie(r," Content)")},m(r,o){R(r,e,o),R(r,t,o),R(r,l,o),R(r,n,o),R(r,s,o)},p(r,o){o[0]&4&&Pe(t,r[2])},d(r){r&&(V(e),V(t),V(l),V(n),V(s))}}}function Ol(i){let e,t,l,a,n,s,r,o;const u=[cd,ud],c=[];function f(p,m){return p[25]===0&&p[26].navigation?0:1}t=f(i),l=c[t]=u[t](i);function b(p,m){return p[25]{c[y]=null}),ye(),l=c[t],l?l.p(i,m):(l=c[t]=u[t](i),l.c()),N(l,1),l.m(e,a)),g===(g=b(i))&&k?k.p(i,m):(k.d(1),k=g(i),k&&(k.c(),k.m(e,null))),(!o||m[0]&1048576&&n!==(n="step-navigation "+i[20]))&&d(e,"class",n)},i(p){o||(N(l),p&&We(()=>{o&&(r&&r.end(1),s=at(e,Me,{transition:i[16],params:i[17],enabled:i[15]}),s.start())}),o=!0)},o(p){A(l),s&&s.invalidate(),p&&(r=st(e,Me,{transition:i[18],params:i[19],enabled:i[15]})),o=!1},d(p){p&&V(e),c[t].d(),k.d(),p&&r&&r.end()}}}function ud(i){let e,t,l,a,n,s;return{c(){e=S("button"),t=new Oe(!1),this.h()},l(r){e=P(r,"BUTTON",{type:!0,class:!0});var o=T(e);t=Ae(o,!1),o.forEach(V),this.h()},h(){t.a=null,d(e,"type",i[7]),d(e,"class",l="btn "+i[6]),e.disabled=a=i[24].current===0},m(r,o){R(r,e,o),t.m(i[8],e),n||(s=U(e,"click",i[34]),n=!0)},p(r,o){o[0]&256&&t.p(r[8]),o[0]&128&&d(e,"type",r[7]),o[0]&64&&l!==(l="btn "+r[6])&&d(e,"class",l),o[0]&16777216&&a!==(a=r[24].current===0)&&(e.disabled=a)},i:se,o:se,d(r){r&&V(e),n=!1,s()}}}function cd(i){let e,t;const l=i[33].navigation,a=oe(l,i,i[32],Sl);return{c(){e=S("div"),a&&a.c(),this.h()},l(n){e=P(n,"DIV",{class:!0});var s=T(e);a&&a.l(s),s.forEach(V),this.h()},h(){d(e,"class","step-navigation-slot")},m(n,s){R(n,e,s),a&&a.m(e,null),t=!0},p(n,s){a&&a.p&&(!t||s[1]&2)&&de(a,l,n,n[32],t?ce(l,n[32],s,sd):ue(n[32]),Sl)},i(n){t||(N(a,n),t=!0)},o(n){A(a,n),t=!1},d(n){n&&V(e),a&&a.d(n)}}}function fd(i){let e,t,l,a,n;return{c(){e=S("button"),t=new Oe(!1),this.h()},l(s){e=P(s,"BUTTON",{type:!0,class:!0});var r=T(e);t=Ae(r,!1),r.forEach(V),this.h()},h(){t.a=null,d(e,"type",i[13]),d(e,"class",l="btn "+i[12]),e.disabled=i[0]},m(s,r){R(s,e,r),t.m(i[14],e),a||(n=U(e,"click",i[36]),a=!0)},p(s,r){r[0]&16384&&t.p(s[14]),r[0]&8192&&d(e,"type",s[13]),r[0]&4096&&l!==(l="btn "+s[12])&&d(e,"class",l),r[0]&1&&(e.disabled=s[0])},d(s){s&&V(e),a=!1,n()}}}function yd(i){let e,t,l,a,n,s,r,o=i[0]&&Al();return{c(){e=S("button"),o&&o.c(),t=te(),l=S("span"),a=new Oe(!1),this.h()},l(u){e=P(u,"BUTTON",{type:!0,class:!0});var c=T(e);o&&o.l(c),t=ie(c),l=P(c,"SPAN",{});var f=T(l);a=Ae(f,!1),f.forEach(V),c.forEach(V),this.h()},h(){a.a=null,d(e,"type",i[10]),d(e,"class",n="btn "+i[9]),e.disabled=i[0]},m(u,c){R(u,e,c),o&&o.m(e,null),L(e,t),L(e,l),a.m(i[11],l),s||(r=U(e,"click",i[35]),s=!0)},p(u,c){u[0]?o||(o=Al(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),c[0]&2048&&a.p(u[11]),c[0]&1024&&d(e,"type",u[10]),c[0]&512&&n!==(n="btn "+u[9])&&d(e,"class",n),c[0]&1&&(e.disabled=u[0])},d(u){u&&V(e),o&&o.d(),s=!1,r()}}}function Al(i){let e,t;return{c(){e=be("svg"),t=be("path"),this.h()},l(l){e=he(l,"svg",{class:!0,xmlns:!0,viewBox:!0});var a=T(e);t=he(a,"path",{d:!0}),T(t).forEach(V),a.forEach(V),this.h()},h(){d(t,"d","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"),d(e,"class","w-3 aspect-square fill-current"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 448 512")},m(l,a){R(l,e,a),L(e,t)},d(l){l&&V(e)}}}function bd(i){let e,t,l=i[25]===i[24].current&&Dl(i);return{c(){l&&l.c(),e=Ve()},l(a){l&&l.l(a),e=Ve()},m(a,n){l&&l.m(a,n),R(a,e,n),t=!0},p(a,n){a[25]===a[24].current?l?(l.p(a,n),n[0]&16777216&&N(l,1)):(l=Dl(a),l.c(),N(l,1),l.m(e.parentNode,e)):l&&(fe(),A(l,1,1,()=>{l=null}),ye())},i(a){t||(N(l),t=!0)},o(a){A(l),t=!1},d(a){a&&V(e),l&&l.d(a)}}}const hd="space-y-4",md="text-2xl font-bold",gd="space-y-4",kd="flex";function pd(i,e,t){let l,a,n,s,r,o=se,u=()=>(o(),o=In(y,z=>t(24,r=z)),y);i.$$.on_destroy.push(()=>o());let{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{locked:g=!1}=e,{regionHeader:k=""}=e,{regionContent:p=""}=e,{regionNavigation:m=""}=e,{state:y=X("state")}=e;u();let{stepTerm:h=X("stepTerm")}=e,{gap:_=X("gap")}=e,{justify:w=X("justify")}=e,{onNext:v=X("onNext")}=e,{onBack:C=X("onBack")}=e,{onComplete:I=X("onComplete")}=e,{buttonBack:E=X("buttonBack")}=e,{buttonBackType:B=X("buttonBackType")}=e,{buttonBackLabel:F=X("buttonBackLabel")}=e,{buttonNext:M=X("buttonNext")}=e,{buttonNextType:j=X("buttonNextType")}=e,{buttonNextLabel:$=X("buttonNextLabel")}=e,{buttonComplete:re=X("buttonComplete")}=e,{buttonCompleteType:ge=X("buttonCompleteType")}=e,{buttonCompleteLabel:W=X("buttonCompleteLabel")}=e,{transitions:me=X("transitions")}=e,{transitionIn:G=X("transitionIn")}=e,{transitionInParams:K=X("transitionInParams")}=e,{transitionOut:Q=X("transitionOut")}=e,{transitionOutParams:D=X("transitionOutParams")}=e;const pe=r.total;wt(y,r.total++,r),Qn(()=>{wt(y,r.total--,r)});const Ce=()=>C(pe),H=()=>v(g,pe),J=()=>I(pe);return i.$$set=z=>{t(37,e=Y(Y({},e),ae(z))),"locked"in z&&t(0,g=z.locked),"regionHeader"in z&&t(27,k=z.regionHeader),"regionContent"in z&&t(28,p=z.regionContent),"regionNavigation"in z&&t(29,m=z.regionNavigation),"state"in z&&u(t(1,y=z.state)),"stepTerm"in z&&t(2,h=z.stepTerm),"gap"in z&&t(30,_=z.gap),"justify"in z&&t(31,w=z.justify),"onNext"in z&&t(3,v=z.onNext),"onBack"in z&&t(4,C=z.onBack),"onComplete"in z&&t(5,I=z.onComplete),"buttonBack"in z&&t(6,E=z.buttonBack),"buttonBackType"in z&&t(7,B=z.buttonBackType),"buttonBackLabel"in z&&t(8,F=z.buttonBackLabel),"buttonNext"in z&&t(9,M=z.buttonNext),"buttonNextType"in z&&t(10,j=z.buttonNextType),"buttonNextLabel"in z&&t(11,$=z.buttonNextLabel),"buttonComplete"in z&&t(12,re=z.buttonComplete),"buttonCompleteType"in z&&t(13,ge=z.buttonCompleteType),"buttonCompleteLabel"in z&&t(14,W=z.buttonCompleteLabel),"transitions"in z&&t(15,me=z.transitions),"transitionIn"in z&&t(16,G=z.transitionIn),"transitionInParams"in z&&t(17,K=z.transitionInParams),"transitionOut"in z&&t(18,Q=z.transitionOut),"transitionOutParams"in z&&t(19,D=z.transitionOutParams),"$$scope"in z&&t(32,f=z.$$scope)},i.$$.update=()=>{t(23,l=`${hd} ${e.class??""}`),i.$$.dirty[0]&134217728&&t(22,a=`${md} ${k}`),i.$$.dirty[0]&268435456&&t(21,n=`${gd} ${p}`),i.$$.dirty[0]&1610612736|i.$$.dirty[1]&1&&t(20,s=`${kd} ${w} ${_} ${m}`)},e=ae(e),[g,y,h,v,C,I,E,B,F,M,j,$,re,ge,W,me,G,K,Q,D,s,n,a,l,r,pe,b,k,p,m,_,w,f,c,Ce,H,J]}class vd extends ve{constructor(e){super(),_e(this,e,pd,bd,ke,{locked:0,regionHeader:27,regionContent:28,regionNavigation:29,state:1,stepTerm:2,gap:30,justify:31,onNext:3,onBack:4,onComplete:5,buttonBack:6,buttonBackType:7,buttonBackLabel:8,buttonNext:9,buttonNextType:10,buttonNextLabel:11,buttonComplete:12,buttonCompleteType:13,buttonCompleteLabel:14,transitions:15,transitionIn:16,transitionInParams:17,transitionOut:18,transitionOutParams:19},null,[-1,-1])}}vd.__docgen={version:3,name:"Step.svelte",data:[{visibility:"public",description:null,keywords:[],name:"locked",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{visibility:"public",description:null,keywords:[],name:"regionHeader",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionContent",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionNavigation",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"state",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"stepTerm",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"gap",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"onComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBack",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBackType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonBackLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNextType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonNextLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonComplete",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonCompleteType",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"buttonCompleteLabel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitions",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionIn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionInParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOut",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"transitionOutParams",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[{keywords:[],visibility:"public",description:"Slot: Header",name:"header"},{keywords:[],visibility:"public",description:"Slot: Default",name:"default"},{keywords:[],visibility:"public",description:"Slot: Navigation",name:"navigation"}],refs:[]};function _d(i){const e=["ArrowRight","ArrowUp","ArrowLeft","ArrowDown","Home","End"],t=l=>{if(e.includes(l.code))switch(l.preventDefault(),l.code){case"ArrowUp":Dt(i,0,-1);break;case"ArrowDown":Dt(i,0,1);break;case"ArrowLeft":Dt(i,-1,0);break;case"ArrowRight":Dt(i,1,0);break;case"Home":Rl(i,"first");break;case"End":Rl(i,"last");break}};return i.addEventListener("keydown",t),{destroy(){i.removeEventListener("keydown",t)}}}function Dt(i,e,t){const l=document.activeElement;if(!l||!l.parentElement||!l.parentElement.ariaRowIndex||!l.ariaColIndex)return;const a=parseInt(l.parentElement.ariaRowIndex),n=parseInt(l.ariaColIndex),s=i.querySelector(`[aria-rowindex="${a+t}"]`);if(s!==null){const r=s.querySelector(`[aria-colindex="${n+e}"]`);r!==null&&r.focus()}}function Vd(i){const e=document.activeElement;if(!e||!e.parentElement||!e.parentElement.ariaRowIndex)return null;const t=parseInt(e.parentElement.ariaRowIndex);return i.querySelector(`[aria-rowindex="${t}"]`)}function Rl(i,e="first"){const t=Vd(i);if(t===null)return;const l=t.children.length,a=e==="first"?1:l,n=t.querySelector(`[aria-colindex="${a}"]`);n!==null&&n.focus()}function Ml(i,e,t){const l=i.slice();return l[19]=e[t],l}function Fl(i,e,t){const l=i.slice();return l[22]=e[t],l[24]=t,l}function jl(i,e,t){const l=i.slice();return l[19]=e[t],l[26]=t,l}function zl(i,e,t){const l=i.slice();return l[27]=e[t],l}function Ul(i){let e,t,l=i[27]+"";return{c(){e=S("th"),t=new Oe(!1),this.h()},l(a){e=P(a,"TH",{class:!0,role:!0});var n=T(e);t=Ae(n,!1),n.forEach(V),this.h()},h(){t.a=null,d(e,"class",i[3]),d(e,"role","columnheader")},m(a,n){R(a,e,n),t.m(l,e)},p(a,n){n&1&&l!==(l=a[27]+"")&&t.p(l),n&8&&d(e,"class",a[3])},d(a){a&&V(e)}}}function Hl(i){let e,t,l=(Number(i[19])===0||i[19]?i[19]:"-")+"",a;return{c(){e=S("td"),t=new Oe(!1),this.h()},l(n){e=P(n,"TD",{class:!0,role:!0,"aria-colindex":!0,tabindex:!0});var s=T(e);t=Ae(s,!1),s.forEach(V),this.h()},h(){t.a=null,d(e,"class",i[5]),d(e,"role","gridcell"),d(e,"aria-colindex",i[26]+1),d(e,"tabindex",a=i[26]===0&&i[1]?0:-1)},m(n,s){R(n,e,s),t.m(l,e)},p(n,s){s&1&&l!==(l=(Number(n[19])===0||n[19]?n[19]:"-")+"")&&t.p(l),s&32&&d(e,"class",n[5]),s&2&&a!==(a=n[26]===0&&n[1]?0:-1)&&d(e,"tabindex",a)},d(n){n&&V(e)}}}function ql(i){let e,t,l,a,n=Le(i[22]),s=[];for(let u=0;u{y(C,v)},w=(v,C)=>{h(C,v)};return i.$$set=v=>{t(18,e=Y(Y({},e),ae(v))),"source"in v&&t(0,s=v.source),"interactive"in v&&t(1,r=v.interactive),"element"in v&&t(12,o=v.element),"text"in v&&t(13,u=v.text),"color"in v&&t(14,c=v.color),"regionHead"in v&&t(2,f=v.regionHead),"regionHeadCell"in v&&t(3,b=v.regionHeadCell),"regionBody"in v&&t(4,g=v.regionBody),"regionCell"in v&&t(5,k=v.regionCell),"regionFoot"in v&&t(6,p=v.regionFoot),"regionFootCell"in v&&t(7,m=v.regionFootCell)},i.$$.update=()=>{t(9,l=`${e.class||""}`),i.$$.dirty&28672&&t(8,a=`${o} ${u} ${c}`)},e=ae(e),[s,r,f,b,g,k,p,m,a,l,y,h,o,u,c,_,w]}class Id extends ve{constructor(e){super(),_e(this,e,wd,Cd,ke,{source:0,interactive:1,element:12,text:13,color:14,regionHead:2,regionHeadCell:3,regionBody:4,regionCell:5,regionFoot:6,regionFootCell:7})}}Id.__docgen={version:3,name:"Table.svelte",data:[{visibility:"public",description:null,keywords:[],name:"source",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"interactive",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"boolean",type:"boolean"},defaultValue:!1},{visibility:"public",description:null,keywords:[],name:"element",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"table"},{visibility:"public",description:null,keywords:[],name:"text",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"color",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionHead",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionHeadCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionBody",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionFoot",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionFootCell",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{visibility:"public",description:null,keywords:[],name:"selected"}],slots:[],refs:[]};const Ed=i=>({}),Kl=i=>({});function Jl(i){let e,t,l;const a=i[17].panel,n=oe(a,i,i[16],Kl);return{c(){e=S("div"),n&&n.c(),this.h()},l(s){e=P(s,"DIV",{class:!0,role:!0,"aria-labelledby":!0,tabindex:!0});var r=T(e);n&&n.l(r),r.forEach(V),this.h()},h(){d(e,"class",t="tab-panel "+i[2]),d(e,"role","tabpanel"),d(e,"aria-labelledby",i[1]),d(e,"tabindex","0")},m(s,r){R(s,e,r),n&&n.m(e,null),l=!0},p(s,r){n&&n.p&&(!l||r&65536)&&de(n,a,s,s[16],l?ce(a,s[16],r,Ed):ue(s[16]),Kl),(!l||r&4&&t!==(t="tab-panel "+s[2]))&&d(e,"class",t),(!l||r&2)&&d(e,"aria-labelledby",s[1])},i(s){l||(N(n,s),l=!0)},o(s){A(n,s),l=!1},d(s){s&&V(e),n&&n.d(s)}}}function Td(i){let e,t,l,a,n,s;const r=i[17].default,o=oe(r,i,i[16],null);let u=i[5].panel&&Jl(i);return{c(){e=S("div"),t=S("div"),o&&o.c(),a=te(),u&&u.c(),this.h()},l(c){e=P(c,"DIV",{class:!0,"data-testid":!0});var f=T(e);t=P(f,"DIV",{class:!0,role:!0,"aria-labelledby":!0});var b=T(t);o&&o.l(b),b.forEach(V),a=ie(f),u&&u.l(f),f.forEach(V),this.h()},h(){d(t,"class",l="tab-list "+i[3]),d(t,"role","tablist"),d(t,"aria-labelledby",i[0]),d(e,"class",n="tab-group "+i[4]),d(e,"data-testid","tab-group")},m(c,f){R(c,e,f),L(e,t),o&&o.m(t,null),L(e,a),u&&u.m(e,null),s=!0},p(c,[f]){o&&o.p&&(!s||f&65536)&&de(o,r,c,c[16],s?ce(r,c[16],f,null):ue(c[16]),null),(!s||f&8&&l!==(l="tab-list "+c[3]))&&d(t,"class",l),(!s||f&1)&&d(t,"aria-labelledby",c[0]),c[5].panel?u?(u.p(c,f),f&32&&N(u,1)):(u=Jl(c),u.c(),N(u,1),u.m(e,null)):u&&(fe(),A(u,1,1,()=>{u=null}),ye()),(!s||f&16&&n!==(n="tab-group "+c[4]))&&d(e,"class",n)},i(c){s||(N(o,c),N(u),s=!0)},o(c){A(o,c),A(u),s=!1},d(c){c&&V(e),o&&o.d(c),u&&u.d()}}}const Ld="space-y-4",Bd="flex overflow-x-auto hide-scrollbar",Nd="";function Sd(i,e,t){let l,a,n,{$$slots:s={},$$scope:r}=e;const o=Ke(s);let{justify:u="justify-start"}=e,{border:c="border-b border-surface-400-500-token"}=e,{active:f="border-b-2 border-surface-900-50-token"}=e,{hover:b="hover:variant-soft"}=e,{flex:g="flex-none"}=e,{padding:k="px-4 py-2"}=e,{rounded:p="rounded-tl-container-token rounded-tr-container-token"}=e,{spacing:m="space-y-1"}=e,{regionList:y=""}=e,{regionPanel:h=""}=e,{labelledby:_=""}=e,{panel:w=""}=e;return x("active",f),x("hover",b),x("flex",g),x("padding",k),x("rounded",p),x("spacing",m),i.$$set=v=>{t(18,e=Y(Y({},e),ae(v))),"justify"in v&&t(6,u=v.justify),"border"in v&&t(7,c=v.border),"active"in v&&t(8,f=v.active),"hover"in v&&t(9,b=v.hover),"flex"in v&&t(10,g=v.flex),"padding"in v&&t(11,k=v.padding),"rounded"in v&&t(12,p=v.rounded),"spacing"in v&&t(13,m=v.spacing),"regionList"in v&&t(14,y=v.regionList),"regionPanel"in v&&t(15,h=v.regionPanel),"labelledby"in v&&t(0,_=v.labelledby),"panel"in v&&t(1,w=v.panel),"$$scope"in v&&t(16,r=v.$$scope)},i.$$.update=()=>{t(4,l=`${Ld} ${e.class??""}`),i.$$.dirty&16576&&t(3,a=`${Bd} ${u} ${c} ${y}`),i.$$.dirty&32768&&t(2,n=`${Nd} ${h}`)},e=ae(e),[_,w,n,a,l,o,u,c,f,b,g,k,p,m,y,h,r,s]}class Pd extends ve{constructor(e){super(),_e(this,e,Sd,Td,ke,{justify:6,border:7,active:8,hover:9,flex:10,padding:11,rounded:12,spacing:13,regionList:14,regionPanel:15,labelledby:0,panel:1})}}Pd.__docgen={version:3,name:"TabGroup.svelte",data:[{visibility:"public",description:null,keywords:[],name:"justify",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"justify-start"},{visibility:"public",description:null,keywords:[],name:"border",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-b border-surface-400-500-token"},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"border-b-2 border-surface-900-50-token"},{visibility:"public",description:null,keywords:[],name:"hover",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"hover:variant-soft"},{visibility:"public",description:null,keywords:[],name:"flex",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"flex-none"},{visibility:"public",description:null,keywords:[],name:"padding",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"px-4 py-2"},{visibility:"public",description:null,keywords:[],name:"rounded",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"rounded-tl-container-token rounded-tr-container-token"},{visibility:"public",description:null,keywords:[],name:"spacing",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:"space-y-1"},{visibility:"public",description:null,keywords:[],name:"regionList",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionPanel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"labelledby",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"panel",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[{keywords:[],visibility:"public",description:"Tab List",name:"default"},{keywords:[],visibility:"public",description:"",name:"panel"}],refs:[]};const Dd=i=>({}),Ql=i=>({});function Yl(i){let e,t;const l=i[22].lead,a=oe(l,i,i[21],Ql);return{c(){e=S("div"),a&&a.c(),this.h()},l(n){e=P(n,"DIV",{class:!0});var s=T(e);a&&a.l(s),s.forEach(V),this.h()},h(){d(e,"class","tab-lead")},m(n,s){R(n,e,s),a&&a.m(e,null),t=!0},p(n,s){a&&a.p&&(!t||s[0]&2097152)&&de(a,l,n,n[21],t?ce(l,n[21],s,Dd):ue(n[21]),Ql)},i(n){t||(N(a,n),t=!0)},o(n){A(a,n),t=!1},d(n){n&&V(e),a&&a.d(n)}}}function Od(i){let e,t,l,a,n,s,r,o,u,c,f,b,g,k,p,m=[{type:"radio"},{name:i[1]},{__value:i[2]},i[11](),{tabindex:"-1"}],y={};for(let v=0;v{h=null}),ye()),w&&w.p&&(!b||C[0]&2097152)&&de(w,_,v,v[21],b?ce(_,v[21],C,null):ue(v[21]),null),(!b||C[0]&256&&u!==(u="tab-interface "+v[8]))&&d(s,"class",u),(!b||C[0]&128&&c!==(c="tab "+v[7]))&&d(t,"class",c),(!b||C[0]&16)&&d(t,"aria-controls",v[4]),(!b||C[0]&32)&&d(t,"aria-selected",v[5]),(!b||C[0]&32&&f!==(f=v[5]?0:-1))&&d(t,"tabindex",f),(!b||C[0]&512)&&d(e,"class",v[9]),(!b||C[0]&8)&&d(e,"title",v[3])},i(v){b||(N(h),N(w,v),b=!0)},o(v){A(h),A(w,v),b=!1},d(v){v&&V(e),i[28](null),h&&h.d(),w&&w.d(v),g.r(),k=!1,Se(p)}}}const Ad="text-center cursor-pointer transition-colors duration-100",Rd="";function Md(i,e,t){let l,a,n,s,r;const o=["group","name","value","title","controls","regionTab","active","hover","flex","padding","rounded","spacing"];let u=Fe(e,o),{$$slots:c={},$$scope:f}=e;const b=Ke(c);let{group:g}=e,{name:k}=e,{value:p}=e,{title:m=""}=e,{controls:y=""}=e,{regionTab:h=""}=e,{active:_=X("active")}=e,{hover:w=X("hover")}=e,{flex:v=X("flex")}=e,{padding:C=X("padding")}=e,{rounded:I=X("rounded")}=e,{spacing:E=X("spacing")}=e,B;function F(Q){if(["Enter","Space"].includes(Q.code))Q.preventDefault(),B.click();else if(Q.code==="ArrowRight"){const D=B.closest(".tab-list");if(!D)return;const pe=Array.from(D.querySelectorAll(".tab")),Ce=B.closest(".tab");if(!Ce)return;const H=pe.indexOf(Ce),J=H+1>=pe.length?0:H+1,z=pe[J],le=z==null?void 0:z.querySelector("input");z&&le&&(le.click(),z.focus())}else if(Q.code==="ArrowLeft"){const D=B.closest(".tab-list");if(!D)return;const pe=Array.from(D.querySelectorAll(".tab")),Ce=B.closest(".tab");if(!Ce)return;const H=pe.indexOf(Ce),J=H-1<0?pe.length-1:H-1,z=pe[J],le=z==null?void 0:z.querySelector("input");z&&le&&(le.click(),z.focus())}}function M(){return delete u.class,u}const j=[[]];function $(Q){ee.call(this,i,Q)}function re(Q){ee.call(this,i,Q)}function ge(Q){ee.call(this,i,Q)}function W(Q){ee.call(this,i,Q)}function me(Q){ee.call(this,i,Q)}function G(Q){Ne[Q?"unshift":"push"](()=>{B=Q,t(6,B)})}function K(){g=this.__value,t(0,g)}return i.$$set=Q=>{t(32,e=Y(Y({},e),ae(Q))),t(31,u=Fe(e,o)),"group"in Q&&t(0,g=Q.group),"name"in Q&&t(1,k=Q.name),"value"in Q&&t(2,p=Q.value),"title"in Q&&t(3,m=Q.title),"controls"in Q&&t(4,y=Q.controls),"regionTab"in Q&&t(13,h=Q.regionTab),"active"in Q&&t(14,_=Q.active),"hover"in Q&&t(15,w=Q.hover),"flex"in Q&&t(16,v=Q.flex),"padding"in Q&&t(17,C=Q.padding),"rounded"in Q&&t(18,I=Q.rounded),"spacing"in Q&&t(19,E=Q.spacing),"$$scope"in Q&&t(21,f=Q.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&5&&t(5,l=p===g),i.$$.dirty[0]&49184&&t(20,a=l?_:w),t(9,n=`${Ad} ${v} ${C} ${I} ${a} ${e.class??""}`),i.$$.dirty[0]&524288&&t(8,s=`${Rd} ${E}`),i.$$.dirty[0]&8192&&t(7,r=`${h}`)},e=ae(e),[g,k,p,m,y,l,B,r,s,n,F,M,b,h,_,w,v,C,I,E,a,f,c,$,re,ge,W,me,G,K,j]}class Fd extends ve{constructor(e){super(),_e(this,e,Md,Od,ke,{group:0,name:1,value:2,title:3,controls:4,regionTab:13,active:14,hover:15,flex:16,padding:17,rounded:18,spacing:19},null,[-1,-1])}}Fd.__docgen={version:3,name:"Tab.svelte",data:[{visibility:"public",description:null,keywords:[],name:"group",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"},bind:[{source:"input",property:"group"}]},{visibility:"public",description:null,keywords:[],name:"name",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"value",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"title",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"controls",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"regionTab",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"string",type:"string"},defaultValue:""},{visibility:"public",description:null,keywords:[],name:"active",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"hover",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"flex",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"padding",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"rounded",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"spacing",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[{keywords:[],visibility:"public",description:"A11y attributes are not allowed on