PageSourceSearch

https://doktor.se/_next/static/chunks/2318.4d05fba5fbe44ae8.js

js doktor.se collected 2026-10-02 10:05:23 UTC 12,812 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[39,2318],{10608:(e,l,t)=>{function a(e){let{src:l,width:t=0,height:a=0,smart:s=!1,quality:r}=e;return!l.includes("a.storyblok.com")||l.includes(".svg")?"".concat(l,"?w=").concat(t):"".concat(l,"/m/").concat(t,"x").concat(a).concat(s?"/smart":"").concat(r?"/filters:quality(".concat(r,")"):"")}t.r(l),t.d(l,{default:()=>a})},10898:(e,l,t)=>{t.d(l,{A:()=>n,w:()=>r});var a=t(95155),s=t(43042);let r=e=>{let{content:l}=e;return(0,a.jsx)(s.f,{size:"xsmall",className:"whitespace-pre-wrap",children:l})},n=r},12739:(e,l,t)=>{t.r(l),t.d(l,{default:()=>k});var a=t(95155),s=t(91628),r=t(84912),n=t(40039),i=t(13371),c=t(47886),d=t(24987),o=t(43042),m=t(65655),x=t(39510),h=t(45497),u=t(83791),f=t(67909),p=t(15239),j=t(52619),v=t.n(j),g=t(20063),w=t(12115),N=t(985);let C=(0,f.default)(()=>t.e(7554).then(t.bind(t,17554)),{loadableGenerated:{webpack:()=>[17554]},ssr:!1}),b=(0,f.default)(()=>t.e(8433).then(t.bind(t,88433)),{loadableGenerated:{webpack:()=>[88433]},ssr:!1}),k=()=>{var e;let l=x.F.getState().story,t=null==l?void 0:l.content,{push:f}=(0,g.useRouter)(),[j,k]=(0,w.useState)(!0),[_,y]=(0,w.useState)(),z=s.J.getState().config,H=s.J.getState().strings,R=null==z?void 0:z.genereic_app_link,A=null==t?void 0:t.cta_image,L=[{url:null==z?void 0:z.app_store_link,icon:(0,a.jsx)(C,{}),label:null==H?void 0:H.footer.appstore,trackingEvent:()=>(0,i.$0)()},{url:null==z?void 0:z.google_play_link,icon:(0,a.jsx)(b,{}),label:null==H?void 0:H.footer.googleplay,trackingEvent:()=>(0,i.$0)()}];return((0,w.useEffect)(()=>{var e;return(0,c._d)()?(k(!1),(0,i.$1)(),localStorage.getItem("sessionData"))?void y(JSON.parse(null!=(e=localStorage.getItem("sessionData"))?e:"")):void f("/lista-dig"):void f("/lista-dig")},[]),j)?(0,a.jsx)("div",{className:"mt-24 flex flex-col items-center justify-center",children:(0,a.jsx)(N.IjP,{size:100,className:"animate-spin"})}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(h.A,{children:(0,a.jsxs)("div",{className:"mx-auto mt-4 flex w-full max-w-[600px] flex-col items-center justify-center",children:[(0,a.jsxs)("div",{className:"mt-14 flex w-full max-w-[600px] flex-col items-center text-center",children:[(0,a.jsx)("div",{className:"relative z-10 flex h-16 w-16 items-center justify-center rounded-full bg-primary-50 text-white",children:(0,a.jsx)(r.A,{fill:"white",width:24,height:24})}),(0,a.jsx)(m.J,{size:"medium",children:null==t?void 0:t.successful_label}),(0,a.jsx)("h3",{className:"mb-0 mt-12",children:"".concat(null==t?void 0:t.successful_text," ").concat(null!=(e=null==_?void 0:_.selectedClinic.name)?e:"Doktor.se")})]}),(0,a.jsx)("div",{className:"items-left mt-12 flex w-full max-w-[600px] flex-col gap-4 text-left",children:(0,a.jsx)(u.A,{content:null==t?void 0:t.before_cta,bodySmall:!0})}),(0,a.jsxs)("div",{className:"rounded-4 relative mt-2 flex h-[31rem] w-full max-w-full flex-col",children:[(0,a.jsxs)("article",{className:"absolute inset-0 z-10 w-full overflow-hidden rounded-2xl",children:[(0,a.jsxs)("div",{className:"flex h-2/4 w-full flex-col items-center text-center",children:[(0,a.jsx)("h3",{className:"mt-8",children:null==t?void 0:t.cta_title}),(0,a.jsx)(o.f,{size:"small",className:"mt-8 w-4/5",children:null==t?void 0:t.cta_details}),(0,a.jsx)("div",{className:"mt-8 h-12 w-40 cursor-pointer",children:(0,a.jsx)(d.$,{variant:"primary",asChild:!0,children:(0,a.jsx)(v(),{href:R||"",onClick:()=>(0,i.$0)(),children:(null==t?void 0:t.cta_button_text)||"Ladda ned"})})})]}),A&&(0,a.jsxs)("div",{className:"flex h-2/4 overflow-hidden",children:[(0,a.jsx)("div",{className:"mt-32",children:(0,a.jsx)(p.default,{src:A.filename,width:190,height:350,alt:(null==A?void 0:A.alt)||"Doktor.se App screen"})}),(0,a.jsx)("div",{className:"mt-8",children:(0,a.jsx)(p.default,{src:null==A?void 0:A.filename,width:250,height:500,alt:(null==A?void 0:A.alt)||"Doktor.se App screen"})}),(0,a.jsx)("div",{className:"mt-32",children:(0,a.jsx)(p.default,{src:null==A?void 0:A.filename,width:190,height:350,alt:(null==A?void 0:A.alt)||"Doktor.se App screen"})})]})]}),(0,a.jsx)("figure",{className:"relative z-0 w-full overflow-hidden rounded-2xl bg-background py-0",children:(0,a.jsx)(n.default,{className:"text-neutral-10"})})]}),(0,a.jsx)("div",{className:"items-left mt-8 flex w-full max-w-[600px] flex-col gap-4 text-left",children:(0,a.jsx)(u.A,{content:null==t?void 0:t.after_cta,bodySmall:!0})}),(0,a.jsx)("div",{className:"mt-8 w-full",children:L&&(0,a.jsx)("div",{className:"flex w-full items-start",children:L.map((e,l)=>(0,a.jsx)(v(),{href:e.url||"",target:"_blank",className:"mb-6 mr-6",onClick:e.trackingEvent,"aria-label":"".concat(e.label," - ").concat(null==H?void 0:H.links.open_in_new_tab),rel:"noopener norefferer",children:e.icon},l))})})]})})})}},40039:(e,l,t)=>{t.r(l),t.d(l,{default:()=>s});var a=t(95155);let s=e=>(0,a.jsx)("svg",{viewBox:"0 0 600 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.899 27.9856C106.899 32.0946 106.387 36.0685 105.658 39.9612C93.8132 102.07 54.311 152.198 0 178.793V242.428C27.2977 164.453 100.89 111.436 189.52 111.436C214.093 111.436 234 131.414 234 156.041C234 180.668 214.093 200.645 189.547 200.645C178.434 200.645 168.292 196.563 160.496 189.805L111.836 149.445C105.82 145.038 97.2697 149.715 97.8631 158.068L106.441 278.013C106.603 279.662 106.
1684 281.338 106.684 283.041C106.684 315.048 80.7887 341 48.8786 341C28.3007 341 10.2425 330.226 0 314V500H462.192C462.153 499.247 462.134 498.489 462.134 497.726C462.134 494.658 462.497 491.691 463.062 488.785C475.744 422.474 530.782 374.453 600 369.947V0H99.7392C104.302 8.29658 106.899 17.8358 106.899 27.9856ZM600 500H548.626C548.665 499.247 548.685 498.489 548.685 497.726C548.685 496.455 548.624 495.203 548.503 493.972L542.081 404.417C541.637 398.181 548.038 394.689 552.542 397.979L588.972 428.113C592.175 430.883 595.908 433.051 600 434.443V500ZM0 155.573C0.135844 154.759 0.177582 153.894 0.109923 152.986L0 151.444V155.573ZM548.846 307.294C548.846 310.362 548.463 313.329 547.917 316.235C534.589 385.929 474.492 435.419 400.28 435.419C381.903 435.419 367 420.504 367 402.116C367 383.729 381.903 368.834 400.28 368.834C408.599 368.834 416.213 371.881 422.028 376.927L458.458 407.061C462.941 410.331 469.363 406.839 468.898 400.623C468.898 400.623 462.315 308.565 462.315 307.294C462.315 283.376 481.681 264 505.591 264C529.48 264 548.846 283.376 548.846 307.294Z",fill:"currentColor"})})},43042:(e,l,t)=>{t.d(l,{f:()=>d});var a=t(95155),s=t(32467),r=t(92885),n=t(58067),i=t(12115);let c=(0,r.F)("body leading-[1.45] font-normal last:mb-0 ",{variants:{size:{xsmall:"text-xs md:text-xs xl:text-sm font-text tracking-text",small:"text-[0.9375rem] xl:text-base font-text tracking-text",medium:"text-[1.125rem] xl:text-[1.25rem] tracking-text",large:"text-[1.375rem] xl:text-[1.5625rem] tracking-text"}},defaultVariants:{size:"small"}}),d=i.forwardRef((e,l)=>{let{className:t,size:r,asChild:i=!1,as:d="p",...o}=e,m=i?s.DX:d;return(0,a.jsx)(m,{className:(0,n.cn)(c({size:r,className:t})),ref:l,...o})});d.displayName="Paragraph"},47824:(e,l,t)=>{t.d(l,{A:()=>n,U:()=>r});var a=t(95155),s=t(43042);let r=e=>{let{content:l}=e;return(0,a.jsx)(s.f,{size:"small",className:"whitespace-pre-wrap",children:l})},n=r},47886:(e,l,t)=>{t.d(l,{$n:()=>s,_d:()=>a});let a=()=>{try{let e=localStorage.getItem("listing_access_token");if(!e)return!1;let l=s(e);if(r(l.exp))return!1;return!0}catch(e){return!1}},s=e=>{let l=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(decodeURIComponent(window.atob(l).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join("")))},r=e=>1e3*e<Date.now()},65655:(e,l,t)=>{t.d(l,{J:()=>d});var a=t(95155),s=t(32467),r=t(92885),n=t(58067),i=t(12115);let c=(0,r.F)("font-medium leading-[1.2]",{variants:{size:{xsmall:"font-text text-xs xl:text-sm tracking-text",small:"font-text text-[0.9375rem] xl:text-base tracking-text",medium:"text-lg xl:text-xl tracking-text",large:"text-[1.375rem] xl:text-[1.5625rem] tracking-text"}},defaultVariants:{size:"small"}}),d=i.forwardRef((e,l)=>{let{className:t,size:r,asChild:i=!1,...d}=e,o=i?s.DX:"label";return(0,a.jsx)(o,{className:(0,n.cn)(c({size:r,className:t})),ref:l,...d})});d.displayName="Label"},72791:(e,l,t)=>{t.d(l,{H1:()=>n,H2:()=>i,H3:()=>c,H4:()=>d,Q:()=>o});var a=t(95155),s=t(58067),r=t(12115);let n=(0,r.forwardRef)((e,l)=>{let{children:t,className:r,...n}=e;return(0,a.jsx)("h1",{className:(0,s.cn)("h1",r),ref:l,...n,children:t})}),i=(0,r.forwardRef)((e,l)=>{let{children:t,className:r,...n}=e;return(0,a.jsx)("h2",{className:(0,s.cn)("h2",r),ref:l,...n,children:t})}),c=(0,r.forwardRef)((e,l)=>{let{children:t,className:r,...n}=e;return(0,a.jsx)("h3",{className:(0,s.cn)("h3",r),ref:l,...n,children:t})}),d=(0,r.forwardRef)((e,l)=>{let{children:t,className:r,...n}=e;return(0,a.jsx)("h4",{className:(0,s.cn)("h4",r),ref:l,...n,children:t})}),o=(0,r.forwardRef)((e,l)=>{let{children:t,className:r,...n}=e;return(0,a.jsx)("h1",{className:(0,s.cn)("display-header",r),ref:l,...n,children:t})});n.displayName="H1",i.displayName="H2",c.displayName="H3",d.displayName="H4",o.displayName="DisplayHeader"},83791:(e,l,t)=>{t.d(l,{A:()=>f});var a=t(95155),s=t(34261),r=t(15239),n=t(52619),i=t.n(n);t(12115);var c=t(58067);let d=e=>{let{children:l,className:t}=e;return(0,a.jsx)("ol",{className:(0,c.cn)("mb-6 ml-8 mr-0 mt-4 list-decimal marker:font-medium",t),children:l})},o=e=>{let{children:l,className:t}=e;
1return(0,a.jsx)("ul",{className:(0,c.cn)("mb-6 ml-8 mr-0 mt-4 list-disc",t),children:l})};var m=t(47824),x=t(43042),h=t(72791),u=t(10898);let f=e=>{let{content:l,preamble:t,bodySmall:n,hero:f,coloredHeadings:p,neutralParagraphs:j,className:v,as:g="article"}=e;return(0,a.jsx)(g,{className:(0,c.cn)(v),children:(0,s.XX)(l,{markResolvers:{link:(e,l)=>{let{href:t,target:s,linktype:r}=l;if("email"===r)return(0,a.jsx)(i(),{href:"mailto:".concat(t),className:"inline-link",children:e});if(null===t)return(0,a.jsx)(i(),{href:"#",target:s||void 0,className:"inline-link",children:e});if(t.match(/^(https?:)?\/\//)||t.match(/^(http?:)?\/\//)){let l=t.toLowerCase().startsWith("http://doktor.se")?"https://doktor.se":t;return(0,a.jsx)(i(),{href:l,target:s||void 0,className:"inline-link",children:e})}return(0,a.jsx)(i(),{href:t,target:s||void 0,className:"inline-link",children:e})},bold:e=>(0,a.jsx)("strong",{children:e}),italic:e=>(0,a.jsx)("i",{className:"font-giga font-normal italic",children:e}),strike:e=>n?(0,a.jsx)(x.f,{size:"xsmall",className:"text-neutral-50",asChild:!0,children:(0,a.jsx)("span",{children:e})}):(0,a.jsx)("s",{children:e}),underline:e=>(0,a.jsx)("u",{children:e})},nodeResolvers:{heading:(e,l)=>{let{level:t}=l;return 1===t?f?(0,a.jsx)(h.Q,{className:(0,c.cn)("max-lg:[&>br]:hidden",p&&"text-primary-50"),children:e}):(0,a.jsx)(h.H1,{className:(0,c.cn)(p&&"text-primary-50"),children:e}):2===t?(0,a.jsx)(h.H2,{className:(0,c.cn)(p&&"text-primary-50"),children:e}):3===t?(0,a.jsx)(h.H3,{className:(0,c.cn)(p&&"text-primary-50"),children:e}):(0,a.jsx)(h.H4,{className:(0,c.cn)(p&&"text-primary-50"),children:e})},blockquote:e=>(0,a.jsx)("blockquote",{className:"mb-5 [&>p]:font-giga [&>p]:text-[2.5rem] [&>p]:italic [&>p]:leading-[2.75rem] [&>p]:before:content-['“'] [&>p]:after:content-['”']",children:e}),paragraph:e=>t?(0,a.jsx)(x.f,{size:"large",className:(0,c.cn)(j&&"text-neutral-50"),children:e}):n?(0,a.jsx)(x.f,{size:"small",className:(0,c.cn)(j&&"text-neutral-50"),children:e}):(0,a.jsx)(x.f,{size:"medium",className:(0,c.cn)(j&&"text-neutral-50"),children:e}),bullet_list:e=>(0,a.jsx)(o,{children:e}),ordered_list:e=>(0,a.jsx)(d,{children:e}),image:(e,l)=>{let{src:t,alt:s,title:n}=l;return(0,a.jsx)(r.default,{src:t||"",alt:s,title:n||void 0,width:1024,height:800,className:"block"})}},blokResolvers:{body_xsmall:e=>(0,a.jsx)(u.A,{...e}),body_small:e=>(0,a.jsx)(m.A,{size:"small",...e})}})})}},84912:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(95155);let s=e=>(0,a.jsx)("svg",{width:"16",height:"12",viewBox:"0 0 16 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,a.jsx)("path",{d:"M5.48527 8.775L13.9603 0.3C14.1603 0.1 14.3978 0 14.6728 0C14.9478 0 15.1853 0.1 15.3853 0.3C15.5853 0.5 15.6853 0.7375 15.6853 1.0125C15.6853 1.2875 15.5853 1.525 15.3853 1.725L6.18527 10.925C5.98527 11.125 5.75193 11.225 5.48527 11.225C5.2186 11.225 4.98527 11.125 4.78527 10.925L0.485266 6.625C0.285266 6.425 0.189432 6.1875 0.197766 5.9125C0.206099 5.6375 0.310266 5.4 0.510266 5.2C0.710266 5 0.947766 4.9 1.22277 4.9C1.49777 4.9 1.73527 5 1.93527 5.2L5.48527 8.775Z",fill:"white"})})},91628:(e,l,t)=>{t.d(l,{J:()=>a});let a=(0,t(25959).v)(()=>({config:null,strings:null,en:!1,enabledRegions:[]}))}}]);
2//# sourceMappingURL=2318.4d05fba5fbe44ae8.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.