PageSourceSearch

https://lifesum.com/src_js_components_Spinner_Spinner_js-src_js_pa…ishPartnerModal_tsx-src_-6eb453-d74ae7cb.js

js lifesum.com collected 2026-10-01 10:31:02 UTC 32,515 bytes, 420 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([["src_js_components_Spinner_Spinner_js-src_js_pages_Glp1_components_DanishPartnerModal_tsx-src_-6eb453"],{"./src/assets/media/novo-nordisk-logo.svg?svgr-webpack":(e,t,i)=>{i.d(t,{Z:()=>o});var a,n,s=i("../../node_modules/preact/compat/dist/compat.module.js");function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},r.apply(this,arguments)}const o=e=>s.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:86,height:60,fill:"none",viewBox:"0 0 86 60"},e),s.createElement("mask",{id:"a",width:86,height:60,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},a||(a=s.createElement("path",{fill:"#fff",d:"M85.384 0H0v59.464h85.384V0Z"}))),n||(n=s.createElement("g",{fill:"#fff",mask:"url(#a)"},s.createElement("path",{d:"M41.412 58.893V53.37c0-.941-.01-2.634-3.29-2.634-1.244 0-2.091.244-2.541.381-.558.18-.73.381-.73.656v7.13c0 .275.076.307.311.307h.794c.225 0 .343-.032.343-.317v-6.56c0-.37.621-.73 1.758-.73 1.908 0 1.908 1.196 1.908 1.947v5.343c0 .285.096.317.364.317h.9c.183-.032.194-.18.194-.317M50.042 55.105c0-1.925-.622-3.152-1.565-3.776-.59-.402-1.372-.593-2.123-.593-.75 0-1.533.19-2.112.593-.943.624-1.565 1.851-1.565 3.776 0 1.926.622 3.132 1.565 3.756.59.402 1.373.592 2.112.592.74 0 1.533-.19 2.123-.592.943-.624 1.565-1.851 1.565-3.756Zm-1.501 0c0 1.503-.31 2.476-.761 2.899-.44.413-.847.529-1.426.529s-.975-.106-1.415-.529c-.46-.423-.772-1.396-.772-2.899 0-1.502.311-2.496.772-2.92.44-.412.847-.528 1.415-.528.568 0 .976.116 1.426.529.45.423.761 1.396.761 2.92ZM55.852 51.572c0-.582-.997-.836-2.123-.836-.88 0-1.437.148-1.855.254-.557.148-.75.381-.75.656v7.3c0 .253.096.275.322.275h.825c.193 0 .3-.011.3-.275V52.26c0-.434.343-.72.826-.72 1.04 0 1.2.751 1.758.751.375 0 .686-.253.686-.719M63.023 58.332v-10.05c0-.286-.086-.328-.322-.328h-.804c-.279 0-.311.095-.311.36v2.898a3.557 3.557 0 0 0-1.78-.433c-2.53 0-3.826 2.348-3.826 4.316 0 2.92 1.64 4.358 4.127 4.358 1.222 0 2.916-.592 2.916-1.121Zm-1.437-.465c0 .412-.686.634-1.436.634
1-1.576 0-2.702-1.29-2.702-3.523 0-1.936 1.072-3.237 2.573-3.237.847 0 1.254.254 1.565.519v5.606ZM66.56 48.62c-.02-.476-.407-.803-.857-.803-.525 0-.9.349-.9.846 0 .444.332.836.879.836.546 0 .9-.434.879-.879Zm-.16 10.304v-7.701c0-.254-.064-.307-.322-.307h-.847c-.278 0-.278.095-.278.307v7.701c0 .223 0 .286.246.286h.88c.246 0 .321-.01.321-.286ZM80.86 59.04c0-.073-.042-.126-.117-.21l-3.098-4.01-.022-.021c1.083-.783 2.22-2.032 2.905-3.375.075-.159.086-.222.086-.318 0-.148-.086-.18-.29-.18h-.76c-.29 0-.418-.01-.504.244-.45 1.375-1.662 2.846-2.884 3.554a.13.13 0 0 0-.064.096c0 .032.01.063.032.084l2.905 4.084c.16.243.225.243.482.243h1.105s.214-.01.214-.18m-4.963-.074V48.145c0-.223-.108-.223-.311-.223h-.858c-.182 0-.279.032-.279.254v10.79c0 .223.054.255.28.255h.857c.225 0 .31 0 .31-.244ZM73.294 56.978c0-2.687-4.01-2.275-4.01-4.052 0-.613.494-1.238 1.405-1.238s1.19.614 1.683.614c.247 0 .59-.148.59-.56 0-.604-1.062-.963-2.187-.963-1.49 0-2.787.782-2.787 2.274 0 1.375.997 1.968 2.186 2.465.944.391 1.823.74 1.823 1.619 0 .655-.536 1.407-1.672 1.407-1.137 0-1.47-.836-2.026-.836-.28 0-.622.106-.622.529 0 .656 1.308 1.216 2.626 1.216 1.469 0 3.002-.772 3.002-2.486M6.561 58.893V53.37c0-.941-.021-2.634-3.29-2.634-1.244 0-2.091.244-2.542.381-.557.18-.729.381-.729.656v7.13c0 .275.076.307.311.307h.794c.225 0 .343-.032.343-.317v-6.56c0-.37.621-.73 1.758-.73 1.908 0 1.908 1.196 1.908 1.947v5.343c0 .285.096.317.364.317h.9c.183-.032.194-.18.194-.317M15.19 55.105c0-1.925-.621-3.152-1.564-3.776-.59-.402-1.372-.593-2.123-.593-.75 0-1.533.19-2.122.593-.944.624-1.566 1.851-1.566 3.776 0 1.926.622 3.132 1.566 3.756.59.402 1.372.592 2.122.592.75 0 1.533-.19 2.123-.592.943-.624 1.565-1.851 1.565-3.756Zm-1.5 0c0 1.503-.31 2.476-.772 2.899-.44.413-.847.529-1.415.529-.568 0-.975-.106-1.415-.529-.45-.423-.761-1.396-.761-2.899 0-1.502.31-2.496.761-2.92.44-.412.847-.528 1.415-.528.568 0 .976.116 1.415.529.461.423.772 1.396.772 2.92ZM30.08 55.105c0-1.925-.621-3.152-1.565-3.776-.59-.402-1.372-.593-2.122-.593-.75 0-1.533.19-2.123.593-.943.624-1.565 1.851-1.565 3.776 0 1.926.622 3.132 1.565 3.756.59.402 1.372.592 2.123.592.75 0 1.533-.19 2.122-.592.944-.624 1.565-1.851 1.565-3.756Zm-1.5 0c0 1.503-.311 2.476-.772 2.899-.44.413-.847.529-1.415.529-.568 0-.976-.106-1.415-.529-.45-.423-.761-1.396-.761-2.899 0-1.502.31-2.496.76-2.92.44-.412.848-.528 1.416-.528s.975.116 1.415.529c.46.423.772 1.396.772 2.92ZM22.576 51.085c0-.158-.128-.158-.214-.158h-.815c-.117.01-.15.063-.193.222l-2.122 6.093-2.198-6.061c-.075-.223-.107-.254-.353-.254h-.997c-.065 0-.225 0-.225.19 0 .064.032.148.064.222l2.948 7.617c.086.19.118.243.246.254h.643c.194 0 .226-.01.311-.243l2.852-7.628c.064-.19.064-.222.064-.254M82.105 45.51h.515c.279 0 .718 0 .718.413s-.46.413-.675.413h-.547v-.826h-.01Zm-.45 2.38h.45v-1.174h.268c.365 0 .504.138.837.74l.246.435h.557l-.343-.54c-.353-.55-.493-.635-.654-.698.58-.042.804-.476.804-.783a.705.705 0 0 0-.267-.55c-.236-.201-.6-.201-.933-.201h-.976v2.761l.011.01Zm1.115-3.956c-1.436 0-2.616 1.132-2.616 2.57 0 1.44 1.169 2.571 2.616 2.571s2.616-1.153 2.616-2.57c0-1.418-1.18-2.57-2.616-2.57Zm-.01.423c1.21 0 2.186.952 2.186 2.137s-.975 2.137-2.187 2.137c-1.211 0-2.176-.963-2.176-2.137s.976-2.137 2.176-2.137ZM21.108 18.64c.675.941 2.015-.624 1.897-.91-.117-.285-2.562-.021-1.897.91ZM26.426 12.589c3.537 0 6.41-2.825 6.41-6.295 0-3.47-2.873-6.294-6.41-6.294-3.538 0-6.41 2.814-6.41 6.294 0 3.48 2.872 6.295 6.41 6.295Zm.171-11.119c2.348 0 4.256 1.873 4.256 4.18 0 2.305-1.908 4.167-4.256 4.167-2.348 0-4.256-1.862-4.256-4.168S24.25 1.47 26.597 1.47Z"}),s.createElement("path",{d:"M58.628 23.718c-.868-3.988-4.373-4.105-6.25-3.967-1.929.148-5.584.708-9.337.708-5.08 0-10.773-1.407-15.147-3.395-.76-.35-.375-.487-.032-.677 1.64-.878 3.066-1.682 3.934-3.068.665-1.058.408-1.397-.321-.804-1.983 1.608-4.803 2.507-7.954 1.407-3.163-1.1-4.385-4.084-4.664-4.845-.278-.751-.675-.804-.675.296 0 2.782 1.254 4.464 1.672 4.94.418.476.611.952.386 1.227-.61.73-1.297 1.513-1.318 1.83-.032.328 0 .508-.129.9-.14.391-.643.941-1.426 1.904-.44.55-.171 1.132.204 1.534.45.487.74 1.047 1.286 1.29.547.254 1.062.064 1.694.18.633.117 1.415.476 2.037 1.566.9 1.576 1.876 4.041 3.623 6.093.783.91.772 2.56.783 3.11.053 4.782-2.509 9.31-4.138 12.177-.386.677-.31 1.248.214 1.248h3.173c.43 0 .665-.444.697-.888.268-3.915 2.53-11.098 4.235-12.325 2.8
162 1.746 5.703 5.512 4.309 12.07-.075.35-.407 1.143.44 1.143h2.755c.353 0 .921-.137.89-.761-.14-2.571-2.327-7.977-2.906-11.172-.364-2.02 1.276-5.607 7.44-2.856 2.38-2.084 5.488-.815 4.16 3.205-1.309 3.978-2.456 5.755-6.947 10.442-.515.54-.547 1.142.268 1.142h2.883c.622 0 .869-.169 1.062-.656.192-.486 2.24-6.876 6.281-9.86.311-.232.58-1.258 1.212-3.564 1.962 2.507 2.208 7.098-1.126 13.001-.354.614-.129 1.1.268 1.1h2.616c.493 0 .632-.254.815-.973.235-.878.321-1.312.632-2.158.193-.529.279-.614 2.348-.592.664 0 .632-.339.632-.889 0-7.987.054-16.239-.557-19.063m-7.376-2.645c.676 1.217.719 1.936.526 2.539-.193.614-1.062.952-1.244.889-.021-1.302-.386-2.296-1.008-3.195a48.94 48.94 0 0 1 1.737-.233m-5.381.635c.386 1.439.343 3.332-.215 3.882-.868.868-4.824.698-5.96.53-.29-.043-.632-.096-.772-.879-.171-.93-.214-2.634-.268-3.755 2.39.306 4.813.38 7.215.232m-14.043 2.73c.321-1.047.654-2.814.825-4.253.761.233 1.533.434 2.316.614-.526 3.28-1.576 4.2-2.123 4.422-.429.169-1.34.264-1.018-.783Zm-7.065 1.724c-.675-.867-1.554-2.973-2.305-3.554-1.457-1.132-2.712-.244-3.29-.92-.612-.72-.858-.773-.29-1.46 0 0 .643-.836.911-1.196s.215-1.037.322-1.333c.107-.296.772-1.164 1.426-1.714.718-.613 1.318-.349 3.58.995 2.755 1.629 3.602 1.28 2.659 2.75-.6.931-2.541 3.396-3.013 6.432Zm30.327-1.005c-.15 2.454-.708 5.924-1.565 6.295-.858.37-2.198-1.884-9.187-2-4.964-.084-8.77.56-9.477 5.004-.053.328-.246.264-.386.116-1.36-1.449-2.605-2.094-4.61-3.247-2.004-1.143-3.354-2.72-3.601-4.253-.247-1.534.31-3.597 3.152-7.374.396-.518.46-.476 2.047.117-.118 2.518-.75 3.935-1.018 5.236-.268 1.323 1.222 1.608 2.54 1.302 1.319-.307 2.563-1.661 3.12-5.3.515.105.922.18 1.447.253.075 3.777.3 4.634.461 4.983.31.698 1.019.92 1.597.973 3.023.233 5.95.138 7-.867 1.051-1.005.687-3.449.397-4.782.472-.042.88-.084 1.35-.148.987 1.143 1.116 2.36 1.116 3.153 0 .867.975 1.311 2.347.391 1.372-.92 1.222-2.55.483-4.03 3.098-.276 2.937 1.734 2.787 4.178Zm2.305 12.039c-.043.36-.397.645-.483-.095-.107-.952-.61-3.121-.772-4.041-.15-.857.311-3.47.483-5.639.01-.19.236-.18.364-.042.944.973.611 8.336.418 9.806"}))))},
1"./src/js/analytics/tracking/trackGlp1CtaClick.ts":(e,t,i)=>{i.d(t,{y:()=>n});var a=i("./src/js/analytics/adapters/gaAdapter.ts");function n({source:e,articleSlug:t}){a.ga.track("glp1_cta_click",{hitType:"event",eventCategory:"GLP-1",eventLabel:e,...t&&{articleSlug:t}})}},
1"./src/js/components/Spinner/Spinner.js":(e,t,i)=>{i.d(t,{Z:()=>o});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/prop-types/index.js"),s=i.n(n);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e},r.apply(this,arguments)}function o({color:e="white",...t}){return a.default.createElement("svg",r({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},t),a.default.createElement("circle",{cx:"50",cy:"50",r:"45",fill:"none",className:`c-spinner stroke-current text-${e}`}))}o.propTypes={color:s().string}},
1"./src/js/imageSources.ts":(e,t,i)=>{i.d(t,{uF:()=>p,mv:()=>m});const a=i.p+"media/lifesum-smoothie-95c1fe0a.png",n=i.p+"media/gettyImage-d9e13712.png",s=i.p+"media/drinkingWater-1fad68db.png",r=i.p+"media/tableSet-218675db.png",o=i.p+"media/homehero-6e8e5caa.png",l=i.p+"media/Frame-1adfb920.png",c=i.p+"media/mmtFeature-f3a87626.png",d=i.p+"media/mmtApp-4cee7d88.png",p="https://www.datocms-assets.com/23496/1671463001-256.png",m={testimonialMarianneSquare:{src:"https://www.datocms-assets.com/23496/1687859612-testimonial-marianne.png?auto=format&crop=focalpoint&fit=crop&fp-x=0.51&fp-y=0.21",width:2e3,height:2e3,bgColor:"#c49879"},testimonialBjarneSquare:{src:"https://www.datocms-assets.com/23496/1688478588-testominal-bjarne.jpeg?auto=format&crop=focalpoint&fit=crop&fp-x=0.49&fp-y=0.34",width:2e3,height:2e3,bgColor:"#328baa"},testimonialHeleneSquare:{src:"https://www.datocms-assets.com/23496/1703247620-testominal-helene-edited.png",width:2e3,height:2e3,bgColor:"#35a870"},featuresMultimodalTracking:{src:c,width:3e3,height:3564,bgColor:"#aa522f"},featuresMMTApp:{src:d,width:3e3,height:1682,bgColor:"#00e307"},featuresLifescoreLifestyle:{src:s,width:3e3,height:3564,bgColor:"#aa522f"},featuresLifescoreApp:{src:"https://www.datocms-assets.com/23496/1692187964-life-score-card.png?auto=format&fit=crop",width:3e3,height:3670,bgColor:"#00e307"},featuresMacrosLifestyle:{src:n,width:3e3,height:1925,bgColor:"#b26e51"},featuresMacrosApp:{src:"https://www.datocms-assets.com/23496/1687859661-macros-image-2.png?auto=format&fit=crop",width:3e3,height:1682,bgColor:"#03e42a"},featuresMealPlansLifestyle:{src:r,width:3e3,height:3909,bgColor:"#d45f23"},featuresMealPlansApp:{src:"https://www.datocms-assets.com/23496/1687859646-mealplans-image-2.png?auto=format&fit=crop",width:3e3,height:1209,bgColor:"#e2982b"},featuresMealPlansApp1:{src:"https://www.datocms-assets.com/23496/1687944567-keto-burn.png?auto=format&fit=crop",width:3e3,height:3833,bgColor:"#f5af2c"},featuresMealPlansApp2:{src:"https://www.datocms-assets.com/23496/1687944556-hormonal.png?auto=format&fit=crop",width:3e3,height:3831,bgColor:"#e0912b"},featuresMealPlansApp3:{src:"https://www.datocms-assets.com/23496/1687943965-16-8-morning-fasting.png?auto=format&fit=crop",width:3e3,height:3829,bgColor:"#e39925"},featuresTrackingLifestyle:{src:"https://www.datocms-assets.com/23496/1687859627-tracker-image.png?auto=format&fit=crop",width:3e3,height:2707,bgColor:"#c66e3a"},featuresTrackingLifestylePortrait:{src:"https://www.datocms-assets.com/23496/1687944576-tracker-image-vertical.png?auto=format&fit=crop",width:3e3,height:3576,bgColor:"#af4c33"},featuresTrackingApp:{src:"https://www.datocms-assets.com/23496/1687859631-tracker-card.png?auto=format&fit=crop",width:3e3,height:1027,bgColor:"#1653c3"},phoneScreen:{src:a,width:3e3,height:4515,bgColor:"#b16e3b"},testimonialMarianne:{src:"https://www.datocms-assets.com/23496/1687859612-testimonial-marianne.png?auto=format&fit=crop",width:3e3,height:4013,bgColor:"#c49879"},testimonialBjarne:{src:"https://www.datocms-assets.com/23496/1688478588-testominal-bjarne.jpeg?auto=format&fit=crop",width:3e3,height:4027,bgColor:"#328baa"},testimonialHelene:{src:"https://www.datocms-assets.com/23496/1770885967-frame-1707481017.png",width:3e3,height:4020,bgColor:"#35a870"},featuresBarcodeScannerLifestyle:{src:"https://www.datocms-assets.com/23496/1687977472-barcode-scanner-3.png?auto=format&fit=crop",width:3e3,height:1976,bgColor:"#cc7322"},featuresBarcodeScannerApp:{src:l,width:3e3,height:3899,bgColor:"#de5b20"},heroImage:{src:o,width:3e3,height:1563,bgColor:"#b48d4e"},heroImageMobile:{src:"https://www.datocms-assets.com/23496/1687975461-hero-image-mobile.png?auto=format&fit=crop",width:3e3,height:5138,bgColor:"#48759b"},missionMobile:{src:"https://www.datocms-assets.com/23496/1688065848-mixed-fruit-veggie-1.png?auto=format&fit=crop",width:2966,height:2e3}}},
1"./src/js/pages/Glp1/components/DanishPartnerModal.tsx":(e,t,i)=>{i.d(t,{Z:()=>b});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),s=i("./src/js/pages/Glp1/components/Glp1Button.tsx");const r=n.ZP.div`
2  position: fixed;
3  top: 0;
4  left: 0;
5  right: 0;
6  bottom: 0;
7  background-color: rgba(0, 0, 0, 0.5);
8  z-index: 1000;
9  display: ${({$isOpen:e})=>e?"flex":"none"};
10  align-items: center;
11  justify-content: center;
12  padding: 22px;
13`,o=n.ZP.div`
14  background-color: white;
15  width: 88%;
16  max-width: 600px;
17  padding: 22px;
18  border-radius: 8px;
19  position: relative;
20  z-index: 1001;
21  min-height: ${({$hasExpanded:e})=>e?"320px":"auto"};
22  display: flex;
23  flex-direction: column;
24  transition: min-height 0.3s ease;
25
26  @media (min-width: 768px) {
27    min-height: ${({$hasExpanded:e})=>e?"280px":"auto"};
28  }
29`,l=n.ZP.div`
30  min-height: 60px;
31  max-height: ${({$isExpanded:e})=>e?"1000px":"60px"};
32  padding: 12px;
33  border-radius: 8px;
34  border: ${({$isSelected:e})=>e?"none":"1px solid rgba(0, 0, 0, 0.30)"};
35  background-color: ${({$isSelected:e})=>e?"#DFFBFF":"transparent"};
36  margin-bottom: 12px;
37  cursor: pointer;
38  transition:
39    max-height 0.3s ease,
40    background-color 0.3s ease,
41    border 0.3s ease;
42  overflow: hidden;
43  display: flex;
44  flex-direction: column;
45`,c=n.ZP.div`
46  display: flex;
47  align-items: center;
48  justify-content: space-between;
49  min-height: 36px;
50`,d=n.ZP.div`
51  display: flex;
52  align-items: center;
53  flex: 1;
54`,p=n.ZP.button`
55  width: 32px;
56  height: 32px;
57  border-radius: 50%;
58  border: 1px solid #0000004d;
59  display: flex;
60  align-items: center;
61  justify-content: center;
62  cursor: pointer;
63  flex-shrink: 0;
64  padding: 0;
65`,m=()=>a.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M8 3V13M3 8H13",stroke:"black",strokeWidth:"2",strokeLinecap:"round"})),g=()=>a.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M3 8H13",stroke:"black",strokeWidth:"2",strokeLinecap:"round"})),h=n.ZP.div`
66  margin-top: 16px;
67`,f=n.ZP.ul`
68  list-style: none;
69  padding-left: 16px;
70  margin-botton: 20px;
71`,u=n.ZP.li`
72  font-size: 17px;
73  font-style: normal;
74  font-weight: 450;
75  line-height: 21px;
76  letter-spacing: -0.17px;
77  padding-left: 20px;
78  position: relative;
79
80  &::before {
81    content: '•';
82    position: absolute;
83    left: 0;
84    color: #000;
85  }
86`,w=n.ZP.div`
87  display: flex;
88  justify-content: center;
89  margin-top: 20px;
90`,x=(n.ZP.div`
91  display: flex;
92  align-items: center;
93  gap: 8px;
94`,n.ZP.span`
95  font-weight: bold;
96  font-size: 24px;
97  color: #d32f2f;
98  text-transform: uppercase;
99  letter-spacing: 0.5px;
100`,n.ZP.div`
101  display: flex;
102  align-items: center;
103`,n.ZP.span`
104  font-weight: 600;
105  font-size: 28px;
106  color: #000;
107  letter-spacing: -0.5px;
108
109  &::first-letter {
110    font-size: 32px;
111  }
112`,n.ZP.img`
113  max-height: 40px;
114  max-width: 120px;
115  object-fit: contain;
116`),v=n.ZP.span`
117  font-weight: 600;
118  font-size: 24px;
119  color: #000;
120`,b=({isOpen:e,onClose:t,options:i,modals:n})=>{const[b,$]=(0,a.useState)(null),k=e=>{$(b===e?null:e)};if(!e)return null;const y=n?(e=>e.filter((e=>null!=e&&"ModalBlockRecord"===e.__typename)).map(((e,t)=>{var i,n,s;const r=`modal-${t}`,o=null===(i=e.icon)||void 0===i?void 0:i.url;return{id:r,logo:o?a.default.createElement(x,{src:o,alt:""}):a.default.createElement(v,null,"Partner ",t+1),title:o||`Partner ${t+1}`,bulletPoints:(e=>{if(!e)return[];const t=e.match(/^[-*]\s+(.+)$/gm);if(t&&t.length>0)return t.map((e=>e.replace(/^[-*]\s+/,"").trim()));const i=e.match(/<li[^>]*>(.*?)<\/li>/gi);if(i&&i.length>0)return i.map((e=>e.replace(/<[^>]*>/g,"").trim()));const a=e.split("\n").map((e=>e.trim())).filter((e=>e.length>0));return a.length>0?a:[e]})(e.body||null),ctaLabel:(null===(n=e.button)||void 0===n?void 0:n.buttonText)||"Learn More",ctaUrl:(null===(s=e.button)||void 0===s?void 0:s.url)||"#"}})))(n):i||[];if(0===y.length)return null;const S=null!==b;return a.default.createElement(r,{$isOpen:e,onClick:e=>{e.target===e.currentTarget&&(t(),$(null))}},a.default.createElement(o,{$hasExpanded:S,onClick:e=>e.stopPropagation()},y.map((e=>{const t=b===e.id;return a.default.createElement(l,{key:e.id,$isExpanded:t,$isSelected:t,onClick:()=>k(e.id)},a.default.createElement(c,null,a.default.createElement(d,null,e.logo),a.default.createElement(p,{onClick:t=>{t.stopPropagation(),k(e.id)}},t?a.default.createElement(g,null):a.default.createElement(m,null))),t&&a.default.createElement(h,null,a.default.createElement(f,null,e.bulletPoints.map(((e,t)=>a.default.createElement(u,{key:t},e)))),a.default.createElement(w,null,a.default.createElement(s.Z,{href:e.ctaUrl,isSimple:!0,onClick:()=>{}},e.ctaLabel))))}))))}},
120"./src/js/pages/Glp1/components/FloatingCta.tsx":(e,t,i)=>{i.d(t,{Z:()=>g});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),s=i("./src/js/hooks/useLocale.ts"),r=i("./src/assets/media/novo-nordisk-logo.svg?svgr-webpack"),o=i("./src/js/analytics/tracking/trackGlp1CtaClick.ts");const l=n.ZP.div`
121  position: fixed;
122  pointer-events: auto;
123  bottom: var(--spacing-lg);
124  right: var(--spacing-lg);
125  z-index: 1000;
126  opacity: ${e=>e.$show?1:0};
127  visibility: ${e=>e.$show?"visible":"hidden"};
128  transform: ${e=>e.$show?"translateY(0)":"translateY(20px)"};
129  transition:
130    opacity var(--transition-base),
131    visibility var(--transition-base),
132    transform var(--transition-base);
133  pointer-events: ${e=>e.$show?"auto":"none"};
134
135  @media (max-width: 767px) {
136    bottom: var(--spacing-md);
137    right: var(--spacing-md);
138  }
139`,c=n.ZP.a`
140  display: flex;
141  align-items: center;
142  gap: var(--spacing-md);
143  background: ${({$isSwedish:e})=>e?"#002060":"var(--color-nn-dark-forest)"};
144  border-radius: var(--border-radius-md);
145  padding: ${({$isSwedish:e})=>"10px 16px"};
146  text-decoration: none;
147  box-shadow: var(--shadow-lg);
148  transition:
149    transform var(--transition-base),
150    box-shadow var(--transition-base);
151  max-width: 300px;
152
153  &:hover,
154  &:focus {
155    transform: translateY(-2px);
156    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
157  }
158
159  @media (max-width: 767px) {
160    padding: ${({$isSwedish:e})=>e?"var(--spacing-sm) 16px":"var(--spacing-sm) var(--spacing-md)"};
161    gap: var(--spacing-sm);
162    max-width: 320px;
163  }
164`,d=n.ZP.div`
165  flex-shrink: 0;
166  display: flex;
167  align-items: center;
168  justify-content: center;
169
170  svg {
171    width: 40px;
172    height: 28px;
173    filter: brightness(0) invert(1); /* Makes logo white */
174  }
175
176  @media (max-width: 767px) {
177    svg {
178      width: 32px;
179      height: 22px;
180    }
181  }
182`,p=n.ZP.div`
183  display: ${({$isSwedish:e})=>e?"flex":"block"};
184  flex-direction: ${({$isSwedish:e})=>e?"column":"row"};
185  align-items: ${({$isSwedish:e})=>e?"flex-start":"center"};
186  flex: 1;
187  color: ${({$isSwedish:e})=>e?"#FFF":"var(--color-nn-accent)"};
188  font-weight: 700;
189  font-size: 14px;
190  line-height: 1.2;
191  text-transform: ${({$isSwedish:e})=>e?"none":"uppercase"};
192  letter-spacing: 0.02em;
193`,m=n.ZP.span`
194  ${({$isFirstLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 27px;\n  "}
195  ${({$isFirstLine:e,$isSwedish:t})=>e&&!t&&"\n    font-size: 14px;\n    padding-right: 12px;\n  "}
196  ${({$isSecondLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 16px;\n    font-weight: 450;\n    line-height: 21px;\n    margin-bottom: 17px;\n  "}
197  ${({$isSecondLine:e,$isSwedish:t})=>e&&!t&&"\n    font-size: 8px;\n    display: block;\n    margin-top: 2px;\n  "}
198  ${({$isLastLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 10px;\n    font-weight: 600;\n    line-height: 28px;\n    letter-spacing: 1.12px;\n    text-transform: uppercase;\n    border-top: 1px solid #fff;\n  "}
199`,g=({show:e,url:t="https://www.snakkomvekt.no?utm_source=LSNN",buttonLabel:i="Find a healthcare professional near you",onClick:n})=>{const{language:g}=(0,s.Z)(),h="sv"===g;return a.default.createElement(l,{$show:e},a.default.createElement(c,{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":i,$isSwedish:h,onClick:n||(()=>(0,o.y)({source:"floating"}))},(()=>{if(h&&"string"==typeof i){const e=i.split("_").map((e=>e.trim()));if(e.length>=3)return a.default.createElement(p,{$isSwedish:h},a.default.createElement(m,{$isFirstLine:!0,$isSwedish:h},e[0]),a.default.createElement(m,{$isSecondLine:!0,$isSwedish:h},e[1]),a.default.createElement(m,{$isLastLine:!0,$isSwedish:h},e.slice(2).join("_")));if(e.length>=2)return a.default.createElement(p,{$isSwedish:h},a.default.createElement(m,{$isFirstLine:!0,$isSwedish:h},e[0]),a.default.createElement(m,{$isSecondLine:!0,$isSwedish:h},e.slice(1).join("_")))}return a.default.createElement(p,{$isSwedish:!1},i)})(),!h&&a.default.createElement(d,null,a.default.createElement(r.Z,null))))}},
199"./src/js/pages/Glp1/components/Glp1Button.tsx":(e,t,i)=>{i.d(t,{Z:()=>p});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),s=i("./src/js/hooks/useLocale.ts"),r=i("./src/assets/media/novo-nordisk-logo.svg?svgr-webpack");const o=n.ZP.a`
200  background: ${({$isSwedish:e})=>e?"#002060":"var(--color-primary)"};
201  color: ${({$isSwedish:e})=>e?"#FFF":"var(--color-nn-accent)"};
202  border: none;
203  border-radius: var(--border-radius-md);
204  padding: ${({$isNorwegian:e,$isSwedish:t})=>e?"var(--spacing-sm) var(--spacing-lg)":t?"var(--spacing-sm) 16px":"var(--spacing-sm) var(--spacing-md)"};
205  font-weight: 600;
206  font-size: var(--font-size-sm);
207  text-decoration: none;
208  text-transform: ${({$isSwedish:e})=>e?"none":"uppercase"};
209  display: flex;
210  align-items: center;
211  max-width: 300px;
212  text-align: left;
213  line-height: 1.3;
214  transition:
215    background var(--transition-base),
216    color var(--transition-base);
217  &:hover,
218  &:focus {
219    background: ${({$isSwedish:e})=>e?"#002060":"var(--color-nn-accent)"};
220    color: ${({$isSwedish:e})=>e?"#FFF":"var(--color-nn-dark-forest)"};
221  }
222  @media (min-width: 768px) {
223    font-size: var(--font-size-xs);
224  }
225`,l=n.ZP.div`
226  display: ${({$isSwedish:e})=>e?"flex":"block"};
227  flex-direction: ${({$isSwedish:e})=>e?"column":"row"};
228  align-items: ${({$isSwedish:e})=>e?"flex-start":"center"};
229  flex: 1;
230`,c=n.ZP.span`
231  ${({$isFirstLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 16px;\n    font-weight: 700;\n    line-height: 27px;\n  "}
232  ${({$isFirstLine:e,$isSwedish:t})=>e&&!t&&"\n    font-size: 14px;\n    padding-right: 24px;\n  "}
233  ${({$isSecondLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 16px;\n    font-weight: 450;\n    line-height: 21px;\n    margin-bottom: 17px;\n  "}
234  ${({$isSecondLine:e,$isSwedish:t})=>e&&!t&&"\n    font-size: 8px;\n    display: block;\n    margin-top: 2px;\n  "}
235  ${({$isLastLine:e,$isSwedish:t})=>e&&t&&"\n    font-size: 10px;\n    font-weight: 600;\n    line-height: 28px;\n    letter-spacing: 1.12px;\n    text-transform: uppercase;\n    border-top: 1px solid #fff;\n  "}
236`,d=n.ZP.div`
237  svg {
238    width: 34px;
239    height: 24px;
240  }
241  margin-left: var(--spacing-lg);
242  @media (min-width: 768px) {
243    margin-left: var(--spacing-xs);
244  }
245`,p=({href:e,children:t,onClick:i,isSimple:n})=>{const{language:p}=(0,s.Z)(),m="no"===p,g="sv"===p;return a.default.createElement(o,{href:e,target:"_blank",rel:"noopener noreferrer",$isNorwegian:m,$isSwedish:g,onClick:i},(()=>{if(g&&"string"==typeof t){const e=t.split("_").map((e=>e.trim()));if(e.length>=3)return a.default.createElement(l,{$isSwedish:g},a.default.createElement(c,{$isFirstLine:!0,$isSwedish:g},e[0]),a.default.createElement(c,{$isSecondLine:!0,$isSwedish:g},e[1]),a.default.createElement(c,{$isLastLine:!0,$isSwedish:g},e.slice(2).join("_")));if(e.length>=2)return a.default.createElement(l,{$isSwedish:g},a.default.createElement(c,{$isFirstLine:!0,$isSwedish:g},e[0]),a.default.createElement(c,{$isSecondLine:!0,$isSwedish:g},e.slice(1).join("_")))}return a.default.createElement(l,{$isSwedish:!1},t)})(),!n&&!g&&a.default.createElement(d,null,a.default.createElement(r.Z,null)))}},
245"./src/js/pages/Glp1/components/Glp1Hero.tsx":(e,t,i)=>{i.d(t,{Z:()=>x});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),s=i("./src/js/imageSources.ts"),r=i("./src/js/pages/Glp1/components/Glp1Button.tsx"),o=i("./src/js/analytics/tracking/trackGlp1CtaClick.ts");const l=n.ZP.header`
246  position: relative;
247  width: 100vw;
248  min-height: 90vh;
249  background-size: cover;
250  background-position: ${e=>e.$focalPoint&&"number"==typeof e.$focalPoint.x&&"number"==typeof e.$focalPoint.y?`${100*e.$focalPoint.x}% ${100*e.$focalPoint.y}%`:"center 20%"};
251  background-image: url(${e=>e.$backgroundImage});
252  display: flex;
253  flex-direction: column;
254  justify-content: flex-end;
255  color: #fff;
256  margin-bottom: 0;
257
258  @media (min-width: 768px) {
259    max-height: 600px;
260    background-position: ${e=>e.$focalPoint&&"number"==typeof e.$focalPoint.x&&"number"==typeof e.$focalPoint.y?`${100*e.$focalPoint.x}% ${100*e.$focalPoint.y}%`:"center 20%"};
261  }
262`,c=n.ZP.div`
263  width: 100%;
264  height: 50%;
265  background: linear-gradient(
266    180deg,
267    rgba(0, 0, 0, 0) 0%,
268    rgba(0, 0, 0, 0.7) 100%
269  );
270  position: absolute;
271  bottom: 0;
272  left: 0;
273  @media (min-width: 768px) {
274    height: 40%;
275    background: linear-gradient(
276      180deg,
277      rgba(0, 0, 0, 0) 0%,
278      rgba(0, 0, 0, 0.7) 100%
279    );
280  }
281`,d=n.ZP.div`
282  position: relative;
283  z-index: 0;
284  max-width: var(--content-width-lg);
285  margin: 0 auto;
286  padding: var(--spacing-2xl) 0;
287  height: 100%;
288  justify-content: flex-end;
289  width: ${e=>e.$isArticlePage?"90%":"360px"};
290  display: flex;
291  flex-direction: column;
292  @media (min-width: 768px) {
293    width: 100%;
294    padding: var(--spacing-2xl) var(--spacing-xl);
295    align-items: 'left';
296  }
297`,p=n.ZP.div`
298  color: #fff;
299  font-size: 14px;
300  font-weight: 600;
301  margin: 0 auto;
302  line-height: var(--line-height-body);
303  margin-bottom: var(--spacing-xs);
304  text-align: center;
305  text-transform: uppercase;
306  letter-spacing: 0.5px;
307  opacity: 0.9;
308  @media (min-width: 768px) {
309    margin: 0 0 var(--spacing-xs) 0;
310    text-align: ${e=>e.$align};
311  }
312`,m=n.iv`
313  max-width: 100%;
314  font-size: 36px;
315  margin-bottom: 0;
316  font-weight: 700;
317`,g=n.ZP.h1`
318  color: #fff;
319  font-size: var(--font-size-6xl);
320  font-weight: 400;
321  margin: 0 auto;
322  line-height: var(--line-height-heading);
323  margin-bottom: var(--spacing-md);
324  text-align: center;
325  text-wrap: balance;
326  max-width: 560px;
327
328  ${e=>e.$isArticlePage&&m}
329
330  @media (min-width: 768px) {
331    margin: ${e=>e.$isArticlePage?0:"0 0 var(--spacing-md) 0"};
332    font-size: ${e=>e.$isArticlePage?"64px":"var(--font-size-7xl)"};
333    text-align: ${e=>e.$align};
334  }
335`,h=n.ZP.span`
336  font-weight: 700;
337`,f=n.ZP.h2`
338  color: #fff;
339  font-size: var(--font-size-lg);
340  font-weight: 400;
341  line-height: var(--line-height-heading);
342  text-align: center;
343  text-wrap: balance;
344  text-wrap: wrap;
345  letter-spacing: -0.28px;
346  max-width: 280px;
347  margin: 0 auto var(--spacing-lg);
348
349  @media (min-width: 768px) {
350    margin: 0;
351    max-width: 470px;
352    font-size: var(--font-size-2xl);
353    text-align: ${e=>e.$align};
354    margin-bottom: var(--spacing-3xl);
355    margin-bottom: ${e=>e.$isArticlePage?0:"var(--spacing-sm)"};
356  }
357`,u=n.ZP.div`
358  margin-top: var(--spacing-sm);
359  align-self: center;
360`,w=a.default.forwardRef((({pretitle:e,title:t,backgroundImage:i,focalPoint:n,description:m,backLink:w,align:x="center",showCta:v=!1,buttonLabel:b,url:$,variant:k="standard",isArticlePage:y=!1,onButtonClick:S},P)=>{const E=null==t?void 0:t.split(/(,)/),Z=null!=E&&E[0]&&null!=E&&E[1]?E[0]+E[1]:null==E?void 0:E[0],j=null==E?void 0:E[2];return a.default.createElement(l,{ref:P,$backgroundImage:i||s.mv.heroImage.src,$variant:k,$focalPoint:n||void 0},a.default.createElement(c,null),a.default.createElement(d,{$align:x,$variant:k,$isArticlePage:y},w,e&&a.default.createElement(p,{$align:x},e),a.default.createElement(g,{$align:x,$isArticlePage:y},Z,a.default.createElement("br",null),a.default.createElement(h,null,j)),a.default.createElement(f,{$align:x},m),v&&b&&$&&a.default.createElement(u,{$align:x,$variant:k},a.default.createElement(r.Z,{href:$,onClick:S||(()=>{(0,o.y)({source:"hero"})})},b))))}));w.displayName="Glp1Hero";const x=w},
360"./src/js/pages/Glp1/components/PostInList.tsx":(e,t,i)=>{i.d(t,{Z:()=>u});var a=i("../../node_modules/preact/compat/dist/compat.module.js"),n=i("../../node_modules/styled-components/dist/styled-components.browser.esm.js"),s=i("../../node_modules/react-router-dom/dist/index.js"),r=i("./src/js/hooks/useLocale.ts"),o=i("./src/js/analytics/tracking/trackGlp1CtaClick.ts");const l=(0,n.ZP)(s.rU)`
361  text-decoration: none;
362  color: inherit;
363`,c=n.ZP.article`
364  border-radius: var(--border-radius-md);
365  overflow: hidden;
366  transition:
367    transform var(--transition-base),
368    box-shadow var(--transition-base);
369  cursor: pointer;
370
371  @media (max-width: 768px) {
372    width: 100%;
373    max-width: 100%;
374  }
375`,d=n.ZP.div`
376  position: relative;
377  overflow: hidden;
378  aspect-ratio: 3/2;
379  width: 353px;
380  height: 353px;
381
382  @media (max-width: 768px) {
383    width: 100%;
384    max-width: 100%;
385  }
386`,p=n.ZP.picture`
387  display: block;
388  width: 100%;
389  height: 100%;
390`,m=n.ZP.img`
391  margin: 0;
392  width: 100%;
393  height: 100%;
394  object-fit: cover;
395  transition: transform var(--transition-slow);
396`,g=n.ZP.div`
397  position: absolute;
398  top: 0;
399  left: 0;
400  right: 0;
401  bottom: 0;
402  background: linear-gradient(
403    180deg,
404    rgba(0, 0, 0, 0) 0%,
405    rgba(0, 0, 0, 0.7) 100%
406  );
407`,h=n.ZP.div`
408  position: absolute;
409  bottom: var(--spacing-md);
410  left: var(--spacing-md);
411  right: 25%;
412`,f=n.ZP.h3`
413  margin: 0;
414  font-size: var(--font-size-lg);
415  font-weight: 600;
416  line-height: var(--line-height-heading);
417  color: #fff;
418  text-wrap: balance;
419`,u=({article:e})=>{const{language:t}=(0,r.Z)();return a.default.createElement(l,{to:`/${t}/health/${e.slug}`,onClick:()=>(0,o.y)({source:"article",articleSlug:e.slug})},a.default.createElement(c,null,a.default.createElement(d,null,e.featuredImage&&a.default.createElement(p,null,e.featuredImage.responsiveImage.webpSrcSet&&a.default.createElement("source",{srcSet:e.featuredImage.responsiveImage.webpSrcSet,sizes:"(min-width: 768px) 353px, 100vw",type:"image/webp"}),a.default.createElement(m,{src:e.featuredImage.responsiveImage.src,srcSet:e.featuredImage.responsiveImage.srcSet,sizes:"(min-width: 768px) 353px, 100vw",alt:e.featuredImage.responsiveImage.alt||e.title,loading:"lazy"})),a.default.createElement(g,null),a.default.createElement(h,null,a.default.createElement(f,null,e.title," →")))))}},
419"./src/js/pages/Glp1/glp1.css":()=>{}
419}]);
420//# sourceMappingURL=src_js_components_Spinner_Spinner_js-src_js_pages_Glp1_components_DanishPartnerModal_tsx-src_-6eb453-d74ae7cb.js.map

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.