PageSourceSearch

https://www.brustkrebs.de/static/index-B-IWit-8.js

js brustkrebs.de collected 2026-10-04 06:10:28 UTC 15,175 bytes, 1 lines download raw bytes

1import{t as C,C as y,_ as M,J as k,q as n,u as o,v as e,F as V,x as E,A as l,I as B,H as a,ak as d,B as m,Y as u,N as _,aO as I}from"./main-BauOrmgD.js";import{B as U}from"./BaseComponent.vue_vue_type_script_lang-DSzHjAFJ.js";import"./BaseComponent.utils-ADJOHzt3.js";var c=(t=>(t.METRIC="metric",t.FAHRENHEIT="fahrenheit",t))(c||{}),f=(t=>(t.BASIC="basic",t.COMPLEX="complex",t))(f||{}),F=Object.getOwnPropertyDescriptor,A=(t,i,v,r)=>{for(var g=r>1?void 0:r?F(i,v):i,p=t.length-1,h;p>=0;p--)(h=t[p])&&(g=h(g)||g);return g};const b={underweight:{title:"Der BMI liegt im Bereich des Untergewichts",description:"Ein niedriger BMI (BMI < 18,5) kann darauf hinweisen, dass das Gewicht unterhalb des aus medizinischer Sicht als unauffällig geltenden Grenzwerts liegt. Dabei spielen viele Faktoren eine Rolle – etwa Ernährung, Stoffwechsel oder auch individuelle Lebensumstände – und es muss nicht unbedingt ein Grund zur Sorge sein.³·⁵"},normal:{title:"Der BMI liegt im Bereich des Normalgewichts",description:"Ein BMI-Bereich von 18,5 bis 24,9 weist auf ein Gewicht hin, der aus medizinischer Sicht als unauffällig gilt.³·⁵"},overweight:{title:"Der BMI liegt im Bereich des Übergewichts",description:"Ein BMI zwischen 25 und 29,9 wird als Übergewicht eingeordnet. Das bedeutet, dass das Körpergewicht über dem, aus medizinischer Sicht, als unauffällig geltenden Bereich liegt – das muss jedoch nicht automatisch ein gesundheitliches Risiko darstellen. Denn verschiedene Faktoren wie Muskelmasse, Körperzusammensetzung oder auch individuelle Lebensumstände können den BMI beeinflussen.³·⁵"},obese:{title:"Der BMI liegt im Bereich der Adipositas",description:"Ein BMI ab 30 weist auf starkes Übergewicht (Adipositas) hin. Adipositas gilt als eigenständiges Krankheitsbild und kann sowohl das körperliche Wohlbefinden als auch die Gesundheit erheblich beeinflussen.³·⁵"}},D="Diese Berechnung dient ausschließlich als Ersatzmarker für den Körperfettanteil und stellt keine medizinische Diagnose oder Beratung dar. Bei medizinischen Fragen oder um zu verstehen, was Ihr BMI-Wert bedeuten könnte, wenden Sie sich bitte an einen Arzt.";let w=class extends U{constructor(){super(...arguments),this.currentUnit=c.METRIC,this.weight=0,this.height=0,this.heightFeet=0,this.heightInches=0,this.age=0,this.gender="",this.currentBmi=0,this.currentBodyFat=0,this.attemptedCalculation=!1}async contentDidLoad(){await super.contentDidLoad(),this.currentUnit=this.settingsProps.default_units}selectUnit(i){this.currentUnit=i,i===c.METRIC&&(this.height=Math.round(this.heightFeet*30.48+this.heightInches*2.54),this.weight=Math.round(this.weight*.453592)),i===c.FAHRENHEIT&&(this.heightFeet=Math.floor(this.height/30.48),this.heightInches=Math.round(this.height%30.48/2.54),this.weight=Math.round(this.weight*2.20462))}clear(){this.weight=0,this.height=0,this.heightFeet=0,this.heightInches=0,this.currentBmi=0}calculate(){if(this.isComplexVariant){if(this.attemptedCalculation=!0,!this.complexFormValid)return;this.currentBmi=this.weight/Math.pow(this.height/100,2),this.currentBmi=Math.floor(this.currentBmi*10)/10;const i=this.gender==="male"?1:0;this.currentBodyFat=Math.round((1.2*this.currentBmi+.23*this.age-10.8*i-5.4)*100)/100;return}this.currentUnit===c.METRIC&&(this.currentBmi=this.weight/Math.pow(this.height/100,2)),this.currentUnit===c.FAHRENHEIT&&(this.currentBmi=this.weight/Math.pow(this.heightFeet*12+this.heightInches,2)*703),this.currentBmi=Math.floor(this.currentBmi*10)/10}clearComplex(){this.weight=0,this.height=0,this.age=0,this.gender="",this.currentBmi=0,this.currentBodyFat=0,this.attemptedCalculation=!1}get units(){return Object.values(c)}get currentVariant(){return this.settingsProps.calculator_variant||f.BASIC}get isComplexVariant(){return this.currentVariant===f.COMPLEX}get genderValid(){return this.gender!==""}get ageValid(){return this.age>=1&&this.age<=120}get weightValid(){return this.weight>=1&&this.weight<=500}get heightValid(){return this.height>=50&&this.height<=250}get complexFormValid(){return this.genderValid&&this.ageValid&&this.weightValid&&this.heightValid}get activeBmiCategory(){return this.currentBmi<18.5?this.settingsProps.underweight??b.underweight:this.currentBmi<25?this.settingsProps.normal??b.normal:this.currentBmi<30?this.settingsProps.overweight??b.overweight:this.settingsProps.obese??b.obese}get bmiCategoryTitle(){return this.activeBmiCategory.title}get bmiCategoryDescription(){return this.activeBmiCategory.description}get disclaimer(){return this.settingsProps?.disclaimer?.length>0?this.settingsProps.disclaimer:D}get bmiCategory(){const i=this.currentBmi;return[{matches:r=>r<18.5,label:"Untergewicht"},{matches:r=>r>=18.5&&r<25,label:"Normalgewicht"},{matches:r=>r>=25&&r<30,label:"Übergewicht"},{matches:r=>r>=30&&r<=34.9,label:"Adipositas Grad I"},{matches:r=>r>=35&&r<=39.9,label:"Adipositas Grad II"},{matches:r=>r>=40,label:"Adipositas Grad III"}].find(r=>
1r.matches(i))?.label??"Unbekannt"}get status(){return this.currentBmi===0?"not-answered":"answered"}get classes(){return[this.layoutComponent.class,`bmi-calculator--${this.status}`,`bmi-calculator--${this.currentUnit}`]}get complexClasses(){return[this.layoutComponent.class,`bmi-calculator--${this.status}`]}};w=A([y],w);const G=C(w),S={key:0},T=["id","data-component","data-id"],z={class:"bmi-calculator__form"},P={class:"bmi-calculator__units-selector"},R=["onClick"],H={class:"bmi-calculator__content-wrapper"},L={key:0,class:"bmi-calculator__content bmi-calculator__content--metric"},N={class:"bmi-calculator__form-group bmi-calculator__form-group--height form-group"},$={class:"input-group"},K={class:"bmi-calculator__form-group bmi-calculator__form-group--weight form-group"},O={class:"input-group"},W={key:1,class:"bmi-calculator__content bmi-calculator__content--fahrenheit"},j={class:"bmi-calculator__form-group bmi-calculator__form-group--height form-group"},J={class:"input-group"},X={class:"input-group"},q={class:"bmi-calculator__form-group bmi-calculator__form-group--weight form-group"},Y={class:"input-group"},Q={class:"bmi-calculator__controls"},Z={class:"bmi-calculator__result"},x={class:"bmi-calculator__explanation-wrapper"},ee={class:"bmi-calculator__explanation"},te={class:"bmi-calculator__explanation-text"},ie={class:"value"},se={class:"bmi-calculator__explanation-controls"},re={class:"bmi-calculator__table"},le={class:"table"},ae=["id","data-component","data-id"],ne={class:"bmi-calculator__form"},oe={class:"bmi-calculator__radio-group"},ue={class:"bmi-calculator__radio"},de={class:"bmi-calculator__radio"},he={key:0,class:"bmi-calculator__error"},ce={class:"bmi-calculator__row"},me={key:0,class:"bmi-calculator__error"},ge={key:0,class:"bmi-calculator__error"},pe={key:0,class:"bmi-calculator__error"},be={class:"bmi-calculator__controls"},ve={key:0,class:"bmi-calculator__result"},fe={class:"bmi-calculator__badge"},we={class:"bmi-calculator__result-title"},Be={class:"bmi-calculator__result-description"},_e={class:"bmi-calculator__result-disclaimer"};function Ie(t,i,v,r,g,p){const h=k("html-fragment");return t.contentLoaded?t.isComplexVariant?(n(),o("div",{key:2,id:t.settingsProps.id,ref:"bmiCalculator",class:l(["bmi-calculator bmi-calculator--complex",t.complexClasses]),style:_(t.settingsProps.style),"data-component":t.componentType,"data-id":t.internalId},[e("div",ne,[e("div",{class:l(["bmi-calculator__form-group bmi-calculator__form-group--gender form-group",{"bmi-calculator__form-group--error":t.attemptedCalculation&&!t.genderValid}])},[i[37]||(i[37]=e("label",{class:"bmi-calculator__label"},"GESCHLECHT",-1)),e("div",oe,[e("label",ue,[a(e("input",{"onUpdate:modelValue":i[8]||(i[8]=s=>t.gender=s),type:"radio",value:"female"},null,512),[[I,t.gender]]),i[34]||(i[34]=u(" Weiblich ",-1))]),e("label",de,[a(e("input",{"onUpdate:modelValue":i[9]||(i[9]=s=>t.gender=s),type:"radio",value:"male"},null,512),[[I,t.gender]]),i[35]||(i[35]=u(" Männlich ",-1))])]),t.attemptedCalculation&&!t.genderValid?(n(),o("p",he,[...i[36]||(i[36]=[e("span",{class:"bmi-calculator__error-icon"},"⚠",-1),u(" Bitte wählen Sie ein Geschlecht. ",-1)])])):m("",!0)],2),e("div",ce,[e("div",{class:l(["bmi-calculator__form-group form-group",{"bmi-calculator__form-group--error":t.attemptedCalculation&&!t.ageValid}])},[e("label",{class:l(["bmi-calculator__label",{"bmi-calculator__label--active":t.age>0}]),for:"age"},"ALTER (JAHRE)",2),a(e("input",{id:"age","onUpdate:modelValue":i[10]||(i[10]=s=>t.age=s),class:l(["bmi-calculator__input",{"bmi-calculator__input--error":t.attemptedCalculation&&!t.ageValid}]),type:"number",min:"1"},null,2),[[d,t.age]]),t.attemptedCalculation&&!t.ageValid?(n(),o("p",me,[...i[38]||(i[38]=[e("span",{class:"bmi-calculator__error-icon"},"⚠",-1),u(" Bitte geben Sie ein gültiges Alter zwischen 1 und 120 Jahren an. ",-1)])])):m("",!0)],2),e("div",{class:l(["bmi-calculator__form-group form-group",{"bmi-calculator__form-group--error":t.attemptedCalculation&&!t.weightValid}])},[e("label",{class:l(["bmi-calculator__label",{"bmi-calculator__label--active":t.weight>0}]),for:"weight-complex"},"GEWICHT (kg)",2),a(e("input",{id:"weight-complex","onUpdate:modelValue":i[11]||(i[11]=s=>t.weight=s),class:l(["bmi-calculator__input",{"bmi-calculator__input--error":t.attemptedCalculation&&!t.weightValid}]),type:"number"},null,2),[[d,t.weight]]),t.attemptedCalculation&&!t.weightValid?(n(),o("p",ge,[...i[39]||(i[39]=[e("span",{class:"bmi-calculator__error-icon"},"⚠",-1),u(" Bitte geben Sie ein gültiges Gewicht ein. ",-1)])])):m("",!0)],2),e("div",{class:l(["bmi-calculator__form-group form-group",{"bmi-calculator__form-group--error":t.attemptedCalculation&&!t.heightValid}])},[e("label",{class:l(["bmi-calculator__label",{"bmi-calculator__label--active":t.height>0}]),for:"height-complex"},"GRÖßE (cm)",2),a(e("input",{id:"height-complex","onUpdate:modelValue":i[12]||(i[12]=s=>t.height=s),class:l(["bmi-calculator__input",{"bmi-calculator__input--error":t.attemptedCalculation&&!t.heightValid}]),type:"number"},null,2),[[d,t.height]]),t.attemptedCalculation&&!t.heightValid?(n(),o("p",pe,[...i[40]||(i[40]=[e("span",{class:"bmi-calculator__error-icon"},"⚠",-1),u(" Bitte geben Sie eine gültige Größe ein. ",-1)])])):m("",!0)],2),e("div",be,[e("button",{type:"button",class:l(["btn btn-result",{"btn-result--active":t.complexFormValid}]),onClick:i[13]||(i[13]=(...s)=>t.calculate&&t.calculate(...s))}," Berechnen ",2)])])]),t.currentBmi>0?(n(),o("div",ve,[e("div",fe,[i[41]||(i[41]=u(" Ihr BMI liegt bei ",-1)),a(e("strong",null,null,512),[[h,t.currentBmi]])]),a(e("p",we,null,512),[[h,t.bmiCategoryTitle]]),a(e("p",Be,null,512),[[h,t.bmiCategoryDescription]]),a(e("p",_e,null,512),[[h,t.disclaimer]])])):m("",!0)],14,ae)):(n(),o("div",{key:1,id:t.settingsProps.id,ref:"bmiCalculator",class:l(["bmi-calculator",t.classes]),style:_(t.
1settingsProps.style),"data-component":t.componentType,"data-id":t.internalId},[e("div",z,[e("div",P,[(n(!0),o(V,null,E(t.units,s=>(n(),o("div",{key:s,class:l(["bmi-calculator__unit",{"bmi-calculator__unit--active":s===t.currentUnit}]),onClick:Ce=>t.selectUnit(s)},B(s),11,R))),128))]),e("div",H,[t.currentUnit==="metric"?(n(),o("div",L,[e("div",N,[i[16]||(i[16]=e("label",{for:"height"},"Höhe",-1)),e("div",$,[a(e("input",{id:"height","onUpdate:modelValue":i[0]||(i[0]=s=>t.height=s),type:"number"},null,512),[[d,t.height]]),i[15]||(i[15]=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"cm")],-1))])]),e("div",K,[i[18]||(i[18]=e("label",{for:"weight"},"Gewicht",-1)),e("div",O,[a(e("input",{id:"weight","onUpdate:modelValue":i[1]||(i[1]=s=>t.weight=s),type:"number"},null,512),[[d,t.weight]]),i[17]||(i[17]=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"kg")],-1))])])])):t.currentUnit==="fahrenheit"?(n(),o("div",W,[e("div",j,[i[21]||(i[21]=e("label",{for:"height-feet"},"Höhe",-1)),e("div",J,[a(e("input",{id:"height-feet","onUpdate:modelValue":i[2]||(i[2]=s=>t.heightFeet=s),type:"number"},null,512),[[d,t.heightFeet]]),i[19]||(i[19]=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"ft")],-1))]),e("div",X,[a(e("input",{id:"height-inches","onUpdate:modelValue":i[3]||(i[3]=s=>t.heightInches=s),type:"number"},null,512),[[d,t.heightInches]]),i[20]||(i[20]=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"in")],-1))])]),e("div",q,[i[23]||(i[23]=e("label",{for:"weight"},"Gewicht",-1)),e("div",Y,[a(e("input",{id:"weight","onUpdate:modelValue":i[4]||(i[4]=s=>
1t.weight=s),type:"number"},null,512),[[d,t.weight]]),i[22]||(i[22]=e("div",{class:"input-group-append"},[e("span",{class:"input-group-text"},"lbs")],-1))])])])):m("",!0),e("div",Q,[e("button",{type:"button",class:"btn btn-primary",onClick:i[5]||(i[5]=(...s)=>t.calculate&&t.calculate(...s))}," Berechnen "),e("button",{type:"button",class:"btn btn-secondary",onClick:i[6]||(i[6]=(...s)=>t.clear&&t.clear(...s))}," Klare ")])])]),e("div",Z,[i[33]||(i[33]=e("div",{class:"bmi-calculator__title"},"Ergebnis",-1)),e("div",x,[e("div",ee,[e("p",te,[i[24]||(i[24]=u(" Ihr BMI beträgt ",-1)),e("span",ie,B(t.currentBmi),1),i[25]||(i[25]=u(" , was darauf hindeutet, dass Ihr Gewicht in der Kategorie Übergewicht für Erwachsene Ihrer Größe liegt. Der BMI ist ein Screening-Maß und soll keine Krankheit oder Krankheit diagnostizieren. Weitere Informationen finden Sie unter Über den Erwachsenen-BMI. ",-1))]),e("div",se,[e("button",{type:"button",class:"btn btn-primary",onClick:i[7]||(i[7]=(...s)=>t.clear&&t.clear(...s))}," Über den Erwachsenen-BMI ")])]),e("div",re,[e("table",le,[i[32]||(i[32]=e("thead",null,[e("tr",null,[e("th",null,"BMI"),e("th",null,"Deutung")])],-1)),e("tbody",null,[e("tr",{class:l({active:t.currentBmi<18.5})},[...i[26]||(i[26]=[e("td",null,[u("Unter "),e("span",{class:"value"},"18,5")],-1),e("td",null,"Untergewicht",-1)])],2),e("tr",{class:l({active:t.currentBmi>=18.5&&t.currentBmi<=24.9})},[...i[27]||(i[27]=[e("td",null,[e("span",{class:"value"},"18,5"),e("span",{class:"separator"},"-"),e("span",{class:"value"},"24,9")],-1),e("td",null,"Normalgewicht",-1)])],2),e("tr",{class:l({active:t.currentBmi>=25&&t.currentBmi<=29.9})},[...i[28]||(i[28]=[e("td",null,[e("span",{class:"value"},"25"),e("span",{class:"separator"},"-"),e("span",{class:"value"},"29,9")],-1),e("td",null,"Übergewicht",-1)])],2),e("tr",{class:l({active:t.currentBmi>=30&&t.currentBmi<=34.9})},[...i[29]||(i[29]=[e("td",null,[e("span",{class:"value"},"30"),e("span",{class:"separator"},"-"),e("span",{class:"value"},"34,9")],-1),e("td",null,"Adipositas Grad I",-1)])],2),e("tr",{class:l({active:t.currentBmi>=35&&t.currentBmi<=39.9})},[...i[30]||(i[30]=[e("td",null,[e("span",{class:"value"},"35"),e("span",{class:"separator"},"-"),e("span",{class:"value"},"39,9")],-1),e("td",null,"Adipositas Grad II",-1)])],2),e("tr",{class:l({active:t.currentBmi>=40})},[...i[31]||(i[31]=[e("td",null,[u("Über "),e("span",{class:"value"},"40")],-1),e("td",null,"Adipositas Grad III",-1)])],2)])])])])])],14,T)):(n(),o("div",S,[...i[14]||(i[14]=[e("div",{class:"skeleton__bmi-calculator"},null,-1)])]))}const Ee=M(G,[["render",Ie]]);export{Ee as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.