PageSourceSearch

https://arenytt.se/_next/static/chunks/777b4c3df6d28bc5.js?dpl=dpl_5Rgo99uqFgH9Fywje48q9uf9fs1g

js arenytt.se collected 2026-10-08 19:48:13 UTC 37,910 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,778917,e=>{"use strict";let t=(0,e.i(475254).default)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",()=>t],778917)},408385,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(618566),a=e.i(529464);let s=null;function l(e){try{window._paq=window._paq||[],window._paq.push(e)}catch{}}function i(e,t,r,n,s,i){try{(0,a.buildPageViewCommands)({url:e,title:t,referrer:r,pageType:n,category:s,paywall:i}).forEach(l)}catch{}}function o(e){return Array.from(document.querySelectorAll("article.sesamy-article")).find(t=>!e||t.getAttribute("publisher-content-id")===e)??null}function c(e){try{let t=new URL(e,window.location.origin);return t.search="",t.hash="",t.href.replace(/\/$/,"")}catch{return null}}function d({pageType:e,categorySlug:t,pageTitle:d,hasPaywall:u,sesamyEnabled:m,articleId:p}){let h=(0,n.usePathname)(),f=(0,n.useSearchParams)(),x=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let r=f?f.toString():"",n=`${window.location.origin}${h}${r?`?${r}`:""}`;x.current&&x.current.abort();let b=new AbortController;x.current=b;let y=!1;return(async()=>{try{var r,h,f;if(await (r=b.signal,new Promise((e,t)=>{if(r.aborted)return void t(new DOMException("Aborted","AbortError"));if(window.__matomoReady)return void e();let n=()=>{s(),e()},a=()=>{s(),t(new DOMException("Aborted","AbortError"))};function s(){window.removeEventListener("matomo:ready",n),r.removeEventListener("abort",a)}window.addEventListener("matomo:ready",n,{once:!0}),r.addEventListener("abort",a,{once:!0})})),b.signal.aborted||!(0,a.shouldTrackUrl)(n))return;y=!0;let x=s??document.referrer??"",g=(0,a.mapPageTypeToDimension)(e),v=t??"",w="article"===e&&!0===u&&!0===m,k=d||("u">typeof document?document.title:"")||"";if(w){let e=await (h=p??"",f=b.signal,(0,a.waitForEntitlementResolution)({startAccessCheck(e){let t=!0,r=!1,n=o(h),a=()=>{if(!t||r||!n)return;let s=window.sesamy?.content;"function"==typeof s?.hasAccess&&(r=!0,window.removeEventListener("sesamyJsReady",a),Promise.resolve(s.hasAccess(n)).then(r=>{t&&e(null!==r&&!1!==r)}).catch(()=>{}))};return"function"==typeof window.sesamy?.content?.hasAccess?a():window.addEventListener("sesamyJsReady",a),()=>{t=!1,window.removeEventListener("sesamyJsReady",a)}},subscribeUnlocked(e){let t=o(h),r=r=>{(function(e,t,r,n){let a=e.target;if(a instanceof Element&&(r&&a.getAttribute("publisher-content-id")===r||t?.contains(a)))return!0;let s=e.detail;if(!s||"object"!=typeof s)return!1;let l=s.itemId??s.item_id??s.publisherContentId??s.publisher_content_id;if(l&&String(l)===r)return!0;let i=s.itemSrc??s.item_src;return!!(i&&c(i)===c(n))})(r,t,h,n)&&e()};return document.addEventListener("sesamyUnlocked",r,!0),()=>document.removeEventListener("sesamyUnlocked",r,!0)},subscribeFallback(e){let t=()=>{let t=o(h),r=t?.querySelector("sesamy-content-container")??Array.from(document.querySelectorAll("sesamy-content-container")).find(e=>!h||e.getAttribute("publisher-content-id")===h)??null,n=(0,a.classifySesamyDomState)({hasUnlockedContent:t?.querySelector(".sesamy-unlocked-content")!==null,unlockedAttribute:!!(r&&("true"===r.getAttribute("unlocked")||r.hasAttribute("unlocked"))),lockedAttribute:!!(r&&("true"===r.getAttribute("locked")||r.hasAttribute("locked"))),access:r?.getAttribute("access")??null});n&&e(n)};t();let r=new MutationObserver(t);return r.observe(document.body,{attributes:!0,attributeFilter:["class","unlocked","locked","access"],childList:!0,subtree:!0}),()=>r.disconnect()}},f,3e3));if(b.signal.aborted){(0,a.cancelUrl)(n),y=!1;return}i(n,k,x,g,v,e.status),(0,a.markUrlComplete)(n),y=!1,s=n,e.timedOut&&l((0,a.buildEntitlementTimeoutCommand)(p??""))}else i(n,k,x,g,v,"ingen"),(0,a.markUrlComplete)(n),y=!1,s=n}catch{y&&((0,a.cancelUrl)(n),y=!1)}})(),()=>{b.abort(),y&&((0,a.cancelUrl)(n),y=!1),x.current===b&&(x.current=null)}},[h,f]),null}function u(e){return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(d,{...e})})}e.s(["MatomoPageView",()=>u])},463059,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",()=>t],463059)},531278,e=>{"use strict";let t=(0,e.i(475254).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},519455,991918,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(820783),a=Symbol.for("react.lazy"),s=r[" use ".trim().toString()];function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===a&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function i(e){var a;let i,o=(a=e,(i=r.forwardRef((e,t)=>
1{let{children:a,...i}=e;if(l(a)&&"function"==typeof s&&(a=s(a._payload)),r.isValidElement(a)){var o;let e,s,l=(o=a,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let r={...t};for(let n in t){let a=e[n],s=t[n];/^on[A-Z]/.test(n)?a&&s?r[n]=(...e)=>{let t=s(...e);return a(...e),t}:a&&(r[n]=a):"style"===n?r[n]={...a,...s}:"className"===n&&(r[n]=[a,s].filter(Boolean).join(" "))}return{...e,...r}}(i,a.props);return a.type!==r.Fragment&&(c.ref=t?(0,n.composeRefs)(t,l):l),r.cloneElement(a,c)}return r.Children.count(a)>1?r.Children.only(null):null})).displayName=`${a}.SlotClone`,i),c=r.forwardRef((e,n)=>{let{children:a,...i}=e;l(a)&&"function"==typeof s&&(a=s(a._payload));let c=r.Children.toArray(a),u=c.find(d);if(u){let e=u.props.children,a=c.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(o,{...i,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,a):null})}return(0,t.jsx)(o,{...i,ref:n,children:a})});return c.displayName=`${e}.Slot`,c}var o=i("Slot"),c=Symbol("radix.slottable");function d(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}e.s(["Slot",()=>o,"createSlot",()=>i],991918);var u=e.i(207670);let m=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,p=u.clsx,h=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return p(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:s}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let l=m(t)||m(n);return a[e][l]}),i=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return p(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...i}[t]):({...s,...i})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,h],225913);var f=e.i(975157);let x=h("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),b=r.forwardRef(({className:e,variant:r,size:n,asChild:a=!1,...s},l)=>(0,t.jsx)(a?o:"button",{className:(0,f.cn)(x({variant:r,size:n,className:e})),ref:l,...s}));b.displayName="Button",e.s(["Button",()=>b,"buttonVariants",()=>x],519455)},643531,e=>{"use strict";let t=(0,e.i(475254).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],643531)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.i(174080);var n=e.i(991918),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let s=(0,n.createSlot)(`Primitive.${a}`),l=r.forwardRef((e,r)=>{let{asChild:n,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?s:a,{...l,ref:r})});return l.displayName=`Primitive.${a}`,{...e,[a]:l}},{}),s=r.forwardRef((e,r)=>(0,t.jsx)(a.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var l=e.i(225913),i=e.i(975157);let o=(0,l.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(s,{ref:n,className:(0,i.cn)(o(),e),...r}));c.displayName=s.displayName,e.s(["Label",()=>c],110204)},624687,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(975157);let a=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("textarea",{className:(0,n.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...r}));a.displayName="Textarea",e.s(["Textarea",()=>a])},283086,e=>{"use strict";let t=(0,e.i(475254).default)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);e.s(["Sparkles",()=>t],283086)},595468,e=>{"use strict";let t=(0,e.i(475254).default)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["CheckCircle2",()=>t],595468)},952571,e=>{"use strict";let t=(0,e.i(475254).default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",()=>t],952571)},158524,e=>{"use strict";let t=(0,e.i(475254).default)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);e.s(["Link2",()=>t],158524)},551348,e=>{"use strict";let t=(0,e.i(475254).default)("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",()=>t],551348)},383157,e=>{"use strict";let t=(0,e.i(475254).default)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);e.s(["Facebook",()=>t],383157)},400417,365582,790597,209912,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);e.s(["ThumbsUp",()=>r],400417);let n=(0,t.default)("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);e.s(["ThumbsDown",()=>n],365582);let a=(0,t.default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);e.s(["Heart",()=>a],790597);let s=(0,t.default)("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);e.s(["Rocket",()=>s],209912)},616562,e=>{"use strict";var t=e.i(843476),r=e.i(952571),n=e.i(283086),a=e.i(337822);function s({attribution:e,infoText:s,isAiGenerated:l}){return(0,t.jsxs)("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground mt-2 mb-4",children:[(0,t.jsx)("span",{className:"italic",children:e}),l&&(0,t.jsxs)(a.Popover,{children:[(0,t.jsx)(a.PopoverTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"inline-flex items-center justify-center w-5 h-5 rounded-full bg-purple-100 dark:bg-purple-900/40 text-purple-600 dark:text-purple-400 hover:bg-purple-200 dark:hover:bg-purple-800/50 transition-colors","aria-label":"AI-genererad bild",children:(0,t.jsx)(n.Sparkles,{className:"h-3 w-3"})})}),(0,t.jsx)(a.PopoverContent,{side:"top",className:"max-w-xs text-sm p-3",children:(0,t.jsx)("p",{children:"Denna bild kan vara AI-genererad eller redigerad med hjälp av AI för att passa artikeln bättre. Använd gärna felanmäl längre ner om du tycker att något är fel."})})]}),(0,t.jsxs)(a.Popover,{children:[(0,t.jsx)(a.PopoverTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button",className:"inline-flex items-center justify-center text-muted-foreground hover:text-foreground transition-colors","aria-label":"Mer information om bilden",children:(0,t.jsx)(r.Info,{className:"h-4 w-4"})})}),(0,t.jsx)(a.PopoverContent,{side:"top",className:"max-w-xs text-sm p-3",children:(0,t.jsx)("p",{children:s})})]})]})}e.s(["ImageAttributionClient",()=>s])},58360,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(519455),a=e.i(776639),s=e.i(624687),l=e.i(793479),i=e.i(110204),o=e.i(63209),c=e.i(595468),d=e.i(531278);let u=(0,e.i(475254).default)("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);function m({articleUrl:e,articleTitle:m,siteId:p,primaryColor:h="#1e40af",variant:f="standard"}){let[x,b]=(0,r.useState)(!1),[y,g]=(0,r.useState)(""),[v,w]=(0,r.useState)(""),[k,j]=(0,r.useState)(""),[N,C]=(0,r.useState)(!1),[A,S]=(0,r.useState)("idle"),[L,E]=(0,r.useState)(""),T=async t=>{if(t.preventDefault(),y.length<10){E("Beskrivningen måste vara minst 10 tecken"),S("error");return}C(!0),S("idle"),E("");try{let t=await fetch("/api/error-reports",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({articleUrl:e,articleTitle:m,description:y,reporterEmail:v||null,siteId:p,honeypot:k})}),r=await t.json();if(!t.ok)throw Error(r.error||"Något gick fel");S("success"),g(""),w(""),setTimeout(()=>{b(!1),S("idle")},2e3)}catch(e){S("error"),E(e instanceof Error?e.message:"Kunde inte skicka rapporten")}finally{C(!1)}};return(0,t.jsxs)(a.Dialog,{open:x,onOpenChange:b,children:[(0,t.jsx)(a.DialogTrigger,{asChild:!0,children:"compact"===f?(0,t.jsxs)(n.Button,{variant:"secondary",size:"sm",className:"h-8 gap-2 rounded-md shadow-sm bg-muted hover:bg-muted/80 text-muted-foreground",children:[(0,t.jsx)("span",{children:"Felanmäl"}),(0,t.jsx)(u,{className:"h-4 w-4"})]}):(0,t.jsxs)("button",{className:"flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(u,{className:"h-3 w-3"}),(0,t.jsx)("span",{children:"Anmäl fel"})]})}),(0,t.jsxs)(a.DialogContent,{className:"sm:max-w-md",children:[(0,t.jsxs)(a.DialogHeader,{children:[(0,t.jsx)(a.DialogTitle,{className:"text-lg",children:"Anmäl ett fel"}),(0,t.jsx)(a.DialogDescription,{className:"text-sm",children:"Beskriv vad som verkar felaktigt i artikeln så undersöker vi det."})]}),"success"===A?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[(0,t.jsx)(c.CheckCircle2,{className:"h-12 w-12 text-green-500 mb-3"}),(0,t.jsx)("p",{className:"font-medium text-foreground",children:"Tack för din rapport!"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Vi undersöker detta så snart vi kan."})]}):(0,t.jsxs)("form",{onSubmit:T,className:"space-y-4",children:[(0,t.jsx)("input",{type:"text",name:"website",value:k,onChange:e=>j(e.target.value),style:{display:"none"},tabIndex:-1,autoComplete:"off"}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)(i.Label,{htmlFor:"description",className:"text-sm font-medium",children:["Vad är felet? ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsx)(s.Textarea,{id:"description",value:y,onChange:e=>g(e.target.value),placeholder:"Beskriv vad som är fel, t.ex. felaktig information, stavfel, fel bild...",className:"min-h-[100px] resize-none",required:!0,maxLength:2e3}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground text-right",children:[y.length,"/2000"]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)(i.Label,{htmlFor:"email",className:"text-sm font-medium",children:["Din e-post ",(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"(valfritt)"})]}
1),(0,t.jsx)(l.Input,{id:"email",type:"email",value:v,onChange:e=>w(e.target.value),placeholder:"om du vill ha återkoppling",className:"h-9"})]}),"error"===A&&L&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm text-destructive bg-destructive/10 p-3 rounded-md",children:[(0,t.jsx)(o.AlertCircle,{className:"h-4 w-4 flex-shrink-0"}),(0,t.jsx)("span",{children:L})]}),(0,t.jsxs)(a.DialogFooter,{className:"gap-2 sm:gap-0",children:[(0,t.jsx)(n.Button,{type:"button",variant:"outline",onClick:()=>b(!1),disabled:N,children:"Avbryt"}),(0,t.jsx)(n.Button,{type:"submit",disabled:N||y.length<10,style:{backgroundColor:h},className:"text-white",children:N?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.Loader2,{className:"h-4 w-4 mr-2 animate-spin"}),"Skickar..."]}):"Skicka rapport"})]})]})]})]})}e.s(["ReportErrorModal",()=>m],58360)},461088,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(383157),a=e.i(551348),s=e.i(158524),l=e.i(643531);let i=(0,e.i(475254).default)("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]);var o=e.i(776639),c=e.i(519455),d=e.i(793479);function u({className:e}
1){return(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:e,fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}function m({url:e,title:m,variant:p="standard",primaryColor:h="#1e40af"}){let[f,x]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),g=encodeURIComponent(e),v=encodeURIComponent(m),w={facebook:`https://www.facebook.com/sharer/sharer.php?u=${g}`,twitter:`https://twitter.com/intent/tweet?url=${g}&text=${v}`,linkedin:`https://www.linkedin.com/sharing/share-offsite/?url=${g}`,email:`mailto:?subject=${v}&body=${g}`},k=async()=>{try{await navigator.clipboard.writeText(e),x(!0),setTimeout(()=>x(!1),2e3)}catch(e){console.error("Failed to copy link:",e)}},j=e=>{window.open(e,"_blank","width=600,height=400,menubar=no,toolbar=no"),y(!1)};return"compact"===p?(0,t.jsxs)(o.Dialog,{open:b,onOpenChange:y,children:[(0,t.jsx)(o.DialogTrigger,{asChild:!0,children:(0,t.jsxs)(c.Button,{variant:"default",size:"sm",className:"h-8 gap-2 rounded-md shadow-sm",style:{backgroundColor:h},children:[(0,t.jsx)("span",{children:"Dela"}),(0,t.jsx)(i,{className:"h-4 w-4"})]})}),(0,t.jsxs)(o.DialogContent,{className:"sm:max-w-md p-0 overflow-hidden",children:[(0,t.jsx)(o.DialogHeader,{className:"px-6 pt-6 pb-4",children:(0,t.jsx)(o.DialogTitle,{className:"text-xl font-serif pb-3 border-b-2",style:{borderColor:h},children:"Dela artikel"})}),(0,t.jsxs)("div",{className:"grid grid-cols-4 gap-6 px-6 py-6",children:[(0,t.jsxs)("button",{onClick:()=>j(w.facebook),className:"flex flex-col items-center gap-3 group",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-[#1877F2] text-white flex items-center justify-center group-hover:scale-110 group-hover:shadow-lg transition-all duration-200",children:(0,t.jsx)(n.Facebook,{className:"w-7 h-7"})}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground group-hover:text-foreground transition-colors",children:"Facebook"})]}),(0,t.jsxs)("button",{onClick:()=>j(w.twitter),className:"flex flex-col items-center gap-3 group",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-black text-white flex items-center justify-center group-hover:scale-110 group-hover:shadow-lg transition-all duration-200",children:(0,t.jsx)(u,{className:"w-7 h-7"})}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground group-hover:text-foreground transition-colors",children:"X"})]}),(0,t.jsxs)("button",{onClick:()=>j(w.linkedin),className:"flex flex-col items-center gap-3 group",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-[#0A66C2] text-white flex items-center justify-center group-hover:scale-110 group-hover:shadow-lg transition-all duration-200",children:(0,t.jsx)(a.Linkedin,{className:"w-7 h-7"})}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground group-hover:text-foreground transition-colors",children:"LinkedIn"})]}),(0,t.jsxs)("button",{onClick:()=>j(w.email),className:"flex flex-col items-center gap-3 group",children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-full bg-gray-500 text-white flex items-center justify-center group-hover:scale-110 group-hover:shadow-lg transition-all duration-200",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",className:"w-7 h-7",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})})}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground group-hover:text-foreground transition-colors",children:"Mejl"})]})]}),(0,t.jsxs)("div",{className:"bg-muted/50 px-6 py-5 space-y-3",children:[(0,t.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:"Länk till artikel"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(d.Input,{readOnly:!0,value:e,className:"bg-background border border-border text-sm truncate"}),(0,t.jsxs)(c.Button,{onClick:k,variant:f?"outline":"default",className:`min-w-[100px] transition-all ${f?"text-green-600 border-green-600 bg-green-50":""}`,style:f?{}:{backgroundColor:h},children:[f?(0,t.jsx)(l.Check,{className:"w-4 h-4 mr-2"}):(0,t.jsx)(s.Link2,{className:"w-4 h-4 mr-2"}),f?"Kopierad!":"Kopiera"]})]})]})]})]}):(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground font-medium",children:"Dela:"}),(0,t.jsx)("button",{onClick:()=>j(w.facebook),className:"w-9 h-9 rounded-full bg-[#1877F2] text-white flex items-center justify-center hover:opacity-90 hover:scale-105 transition-all","aria-label":"Dela på Facebook",children:(0,t.jsx)(n.Facebook,{className:"w-4 h-4"})}),(0,t.jsx)("button",{onClick:()=>j(w.twitter),className:"w-9 h-9 rounded-full bg-black text-white flex items-center justify-center hover:opacity-90 hover:scale-105 transition-all","aria-label":"Dela på X",children:(0,t.jsx)(u,{className:"w-4 h-4"})}),(0,t.jsx)("button",{onClick:()=>j(w.linkedin),className:"w-9 h-9 rounded-full bg-[#0A66C2] text-white flex items-center justify-center hover:opacity-90 hover:scale-105 transition-all","aria-label":"Dela på LinkedIn",children:(0,t.jsx)(a.Linkedin,{className:"w-4 h-4"})}),(0,t.jsx)("button",{onClick:k,className:`w-9 h-9 rounded-full flex items-center justify-center transition-all hover:scale-105 ${f?"bg-green-500 text-white":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:f?(0,t.jsx)(l.Check,{className:"w-4 h-4"}):(0,t.jsx)(s.Link2,{className:"w-4 h-4"})})]})}e.s(["ShareButtons",()=>m],461088)},900952,e=>{"use strict";var t=e.i(843476);function r({sources:e,primaryColor:r}){if(!e||0===e.length)return null;let n=r?`
2    .source-link {
3      color: hsl(var(--foreground));
4      transition: color 0.2s;
5    }
6    .source-link:hover {
7      color: ${r};
8    }
9  `:"";return(0,t.jsxs)("div",{className:"mt-10 rounded border border-border bg-card px-5 py-5 shadow-sm",children:[n&&(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:n}}),(0,t.jsx)("h3",{className:"text-xs font-semibold uppercase tracking-[0.15em] mb-4 pb-2 border-b border-border",style:r?{color:r}:{color:"hsl(var(--muted-foreground))"},children:"Relevanta källor"}),(0,t.jsx)("div",{className:"space-y-4",children:e.map((e,r)=>(0,t.jsx)("div",{children:e.url&&e.title?(0,t.jsxs)("div",{className:"space-y-0.5",children:[(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer nofollow",className:"source-link text-base font-medium hover:underline underline-offset-2 block",children:e.title}),(0,t.jsx)("span",{className:"text-sm text-muted-foreground block",children:e.name})]}):(0,t.jsx)("span",{className:"text-base font-medium text-foreground",children:e.name})},r))})]})}e.s(["SourcesSection",()=>r])},644464,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="prose prose-lg max-w-none dark:prose-invert prose-headings:font-serif prose-a:text-blue-600 dar
9k:prose-a:text-blue-400",a="<p>Denna artikel kräver prenumeration.</p>";function s({previewHtml:e,price:r,currency:s,sesamyPassUrl:l,primaryColor:i,placeholderRef:o}){let c=function(e,t){if(null==e||""===e)return null;let r=(t||"SEK").toUpperCase();return`${e} ${"SEK"===r?"kr":r}`}(r,s);return(0,t.jsxs)("div",{ref:o,"data-paywall-placeholder":"",children:[(0,t.jsx)("div",{className:`${n} paywall-preview-fade`,dangerouslySetInnerHTML:{__html:e||a}}),(0,t.jsxs)("aside",{className:"mt-6 rounded border border-border bg-card px-5 py-5 shadow-sm","aria-label":"Prenumeration krävs",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Den här artikeln kräver prenumeration"}),(0,t.jsxs)("p",{className:"text-base text-muted-foreground mb-4",children:["Resten av artikeln är låst för prenumeranter",c?` eller kan k\xf6pas separat f\xf6r ${c}`:"","."]}),l&&(0,t.jsx)("a",{href:l,className:"inline-flex items-center rounded px-4 py-2 text-sm font-semibold text-white",style:{backgroundColor:i||"var(--site-primary-color, #1e40af)"},children:"Prenumerera"})]})]})}function l({articleId:e,articleUrl:l,sesamyVendorId:i,sesamyPaywallId:o,price:c,currency:d,excerpt:u,fullContent:m,sanitizedContent:p,previewHtml:h,hasPaywall:f,sesamyEnabled:x,primaryColor:b,sesamyPassUrl:y}){let g=(0,r.useRef)(null),v=(0,r.useRef)(null),[w,k]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{k(!0)},[]),(0,r.useEffect)(()=>{if(!f||!x||!i||!o||!g.current)return;let t=g.current;v.current&&(v.current.hidden=!0);let r=`https://api.sesamy.com/paywall/paywalls/${i}/${o}.json`,s=document.createElement("sesamy-paywall");s.setAttribute("settings-url",r),s.setAttribute("item-src",l),c&&s.setAttribute("price",c),d&&s.setAttribute("currency",d),y&&s.setAttribute("pass",y),b&&(s.style.setProperty("--s-primary-color",b),s.style.setProperty("--sesamy-paywall-primary-color",b));let u=document.createElement("sesamy-content-container");u.setAttribute("publisher-content-id",e),u.setAttribute("item-src",l),u.setAttribute("access-level","entitlement"),u.setAttribute("lock-mode","embed"),y&&u.setAttribute("pass",y);let m=document.createElement("div");m.setAttribute("slot","preview"),m.className=`${n} paywall-preview-fade`,m.innerHTML=h||a;let w=document.createElement("div");w.setAttribute("slot","content"),w.className=n,w.innerHTML=p,u.appendChild(m),u.appendChild(w);let k=document.createElement("div");k.className="mt-6",b&&(k.style.setProperty("--s-primary-color",b),k.style.setProperty("--sesamy-paywall-primary-color",b)),k.appendChild(s),t.innerHTML="",t.appendChild(u),t.appendChild(k);let j=n.split(" "),N=e=>{e.classList.contains("sesamy-unlocked-content")||e.classList.add("sesamy-unlocked-content"),e.classList.contains("prose")||j.forEach(t=>e.classList.add(t))},C=null,A=new MutationObserver(()=>{C||(C=setTimeout(()=>{C=null,(()=>{if(t.querySelector("sesamy-content-container"))return;let e=t.querySelector('div[position="relative"]');if(e)return N(e);let r=t.children;for(let e=0;e<r.length;e++){let t=r[e];t instanceof HTMLElement&&"DIV"===t.tagName&&!t.classList.contains("mt-6")&&!t.querySelector("sesamy-paywall")&&t.querySelector("p, h2, h3, h4")&&N(t)}})()},100))});return A.observe(t,{childList:!0,subtree:!0}),()=>{C&&clearTimeout(C),A.disconnect(),t.innerHTML=""}},[f,x,i,o,e,l,c,d,u,p,h,b,y]),f&&x&&i&&o)?(0,t.jsxs)("div",{className:"paywalled-content",children:[!w&&(0,t.jsx)(s,{previewHtml:h,price:c,currency:d,sesamyPassUrl:y,primaryColor:b,placeholderRef:v}),(0,t.jsx)("div",{ref:g})]}):(0,t.jsx)("div",{className:"prose prose-lg max-w-none dark:prose-invert prose-headings:font-serif prose-a:text-blue-600 dark:prose-a:text-blue-400",dangerouslySetInnerHTML:{__html:p}})}e.s(["SesamyPaywall",()=>l],644464)},701483,e=>{"use strict";var t=e.i(271645);function r({articleTitle:e,articlePrice:r="19",articleCurrency:n="SEK"}){let a=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{if(a.current)return;let t=new MutationObserver(()=>{document.querySelector('sesamy-paywall, sesamy-content-container[lock-mode="embed"]')&&!a.current&&(a.current=!0,"function"==typeof window.fbq&&window.fbq("track","Vie
9wContent",{content_name:e,content_type:"article",content_category:"Paywall",value:parseFloat(r||"19"),currency:n||"SEK"}),t.disconnect())});return t.observe(document.body,{childList:!0,subtree:!0}),document.querySelector('sesamy-paywall, sesamy-content-container[lock-mode="embed"]')&&!a.current&&(a.current=!0,"function"==typeof window.fbq&&window.fbq("track","ViewContent",{content_name:e,content_type:"article",content_category:"Paywall",value:parseFloat(r||"19"),currency:n||"SEK"})),()=>t.disconnect()},[e,r,n]),null}e.s(["PaywallViewContent",()=>r])},987240,e=>{"use strict";var t=e.i(271645);let r=["betala","pay now","pay"];function n({articleTitle:e,articleSlug:n,price:a=19,currency:s="SEK"}){let l=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{l.current=!1},[n]),(0,t.useEffect)(()=>{function t(t){let i,o,c;if(l.current)return;let d=t.composedPath();if(!d.some(e=>e instanceof Element&&"SESAMY-PAYWALL"===e.tagName))return;let u=function(e){for(let t of e)if(t instanceof Element&&function(e){let t=e.tagName;if("BUTTON"===t||"A"===t)return!0;let r=e.getAttribute("role");return!!("button"===r||"link"===r||e.hasAttribute("data-action")||e.hasAttribute("data-cta"))||"pointer"===window.getComputedStyle(e).cursor&&("DIV"===t||"SPAN"===t)}(t))return t;return null}(d);u&&(i=(u.textContent||"").toLowerCase().trim(),o=(u.getAttribute("aria-label")||"").toLowerCase(),c=(u.getAttribute("title")||"").toLowerCase(),r.some(e=>i.includes(e)||o.includes(e)||c.includes(e))&&(l.current=!0,"function"==typeof window.fbq&&window.fbq("track","InitiateCheckout",{content_name:e,content_ids:[n],content_type:"article",value:a,currency:s})))}return document.addEventListener("click",t,!0),()=>{document.removeEventListener("click",t,!0)}},[e,n,a,s]),null}e.s(["SesamyInitiateCheckout",()=>n])},669481,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(400417),a=e.i(365582),s=e.i(790597),l=e.i(209912),i=e.i(975157);let o=[{type:"thumbs_up",icon:n.ThumbsUp,label:"Gilla"},{type:"thumbs_down",icon:a.ThumbsDown,label:"Ogilla"},{type:"heart",icon:s.Heart,label:"Älskar"},{type:"applause",icon:l.Rocket,label:"Intressant"}];function c({articleId:e,primaryColor:n="#1e40af",className:a}){let[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)(!0),[u,m]=(0,r.useState)(!1);(0,r.useEffect)(()=>{!async function(){try{let t=await fetch(`/api/articles/${e}/reactions`);if(t.ok){let e=await t.json();l({enabled:e.enabled,reactions:e.reactions,userReaction:e.user_reaction})}}catch(e){console.error("Failed to fetch reactions:",e)}finally{d(!1)}}()},[e]);let p=async t=>{if(!u&&s?.enabled){m(!0);try{let r=await fetch(`/api/articles/${e}/reactions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({reactionType:t})});if(r.ok){let e=await r.json();l(t=>t?{...t,reactions:e.reactions,userReaction:e.user_reaction}:null)}}catch(e){console.error("Failed to add reaction:",e)}finally{m(!1)}}};return c?(0,t.jsx)("div",{className:(0,i.cn)("flex items-center justify-center gap-4",a),children:o.map(e=>(0,t.jsx)("div",{className:"h-6 w-12 rounded bg-muted animate-pulse"},e.type))}):s?.enabled?(0,t.jsx)("div",{className:(0,i.cn)("flex flex-wrap items-center justify-center gap-4",a),children:o.map(e=>{let r=s.reactions[e.type]||0,a=s.userReaction===e.type,l=e.icon;return(0,t.jsxs)("button",{onClick:()=>p(e.type),disabled:u,title:e.label,className:(0,i.cn)("inline-flex items-center gap-1.5 transition-all hover:opacity-80 active:scale-95",u&&"opacity-50 cursor-not-allowed"),style:{color:n},children:[(0,t.jsx)(l,{size:20,strokeWidth:a?2.5:1.5,fill:a?n:"none"}),r>0&&(0,t.jsx)("span",{className:"text-sm font-medium",children:r})]},e.type)})}):null}e.s(["ArticleReactions",()=>c])},591558,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),a=e.i(952571),s=e.i(337822);function l({name:e,shortInfo:l,slug:i}){let[o,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),u=(0,r.useRef)(!1),m=(0,r.useId)(),p=()=>{d.current&&(clearTimeout(d.current),d.current=null)},h=()=>{p(),d.current=setTimeout(()=>c(!1),180)};return(0,r.useEffect)(()=>p,[]),(0,t.jsxs)(s.Popover,{open:o,onOpenChange:c,children:[(0,t.jsx)(s.PopoverTrigger,{asChild:!0,children:(0,t.jsx)("button",{type:"button","aria-label":`Visa information om ${e}`,className:"-my-3 inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",onPointerEnter:e=>{"mouse"===e.pointerType&&(p(),c(!0))},onPointerDown:()=>{u.current=!0},onPointerUp:()=>{u.current=!1},onPointerCancel:()=>{u.current=!1},onPointerLeave:e=>{"mouse"===e.pointerType&&h()},onFocus:()=>{u.current||(p(),c(!0))},children:(0,t.jsx)(a.Info,{className:"h-4 w-4","aria-hidden":"true"})})}),(0,t.jsxs)(s.PopoverContent,{align:"start",sideOffset:8,"aria-labelledby":m,className:"w-[min(20rem,calc(100vw-2rem))]",onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),onPointerEnter:e=>{"mouse"===e.pointerType&&p()},onPointerLeave:e=>{"mouse"===e.pointerType&&h()},onFocusCapture:p,children:[(0,t.jsxs)("h2",{id:m,className:"font-semibold text-foreground",children:["Om ",e]}),(0,t.jsx)("p",{className:"mt-2 whitespace-pre-wrap text-sm leading-relaxed text-muted-foreground",children:l}),(0,t.jsx)(n.default,{href:`/skribent/${i}`,className:"mt-3 inline-flex min-h-11 items-center font-medium text-foreground underline underline-offset-4 hover:no-underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:"Läs mer om skribenten"})]})]})}e.s(["AuthorInfoPopover",()=>l])},324114,e=>{"use strict";var t=e.i(271645),r=e.i(20501);function n(){let e=(0,t.useRef)(new Set);return(0,t.useEffect)(()=>{let t=()=>{document.querySelectorAll(".inline-adsense-placeholder").forEach(t=>{let r=t.getAttribute("data-slot-id")||"";if(e.current.has(r)||"true"===t.getAttribute("data-activated"))return;let n=t.getAttribute("data-ad-client"),a=t.getAttribute("data-ad-slot"),s=t.getAttribute("data-ad-width"),l=t.getAttribute("data-ad-height"),i=t.getAttribute("data-use-responsive");
9if(!n)return;let o=document.createElement("ins");o.className="adsbygoogle",o.style.display="block","false"!==i?(o.style.width="100%",o.style.minHeight=l?`${l}px`:"auto",o.setAttribute("data-ad-format","auto"),o.setAttribute("data-full-width-responsive","true")):(o.style.width=s?`${s}px`:"100%",o.style.height=l?`${l}px`:"auto"),o.setAttribute("data-ad-client",n),a&&o.setAttribute("data-ad-slot",a),t.appendChild(o),t.setAttribute("data-activated","true"),r&&e.current.add(r);try{(window.adsbygoogle=window.adsbygoogle||[]).push({})}catch(e){console.error("Failed to push adsbygoogle:",e)}}),document.querySelectorAll(".inline-html-ad-placeholder").forEach(t=>{let n=t.getAttribute("data-slot-id")||"";if(e.current.has(n)||"true"===t.getAttribute("data-activated"))return;let a=t.getAttribute("data-html-content");if(a)try{let s=decodeURIComponent(a),l=document.createElement("div");l.innerHTML=s,(0,r.hasAdMobileWidthClass)(t.classList)&&l.classList.add(r.AD_MOBILE_FILL_CLASS),t.appendChild(l),t.setAttribute("data-activated","true"),n&&e.current.add(n),l.querySelectorAll("script").forEach(e=>{let t=document.createElement("script");e.src?t.src=e.src:t.textContent=e.textContent,e.parentNode?.replaceChild(t,e)})}catch(e){console.error("Failed to activate HTML ad:",e)}})},n=setTimeout(t,500),a=new MutationObserver(e=>{for(let r of e)if(r.addedNodes.length>0){setTimeout(t,100);break}});return a.observe(document.body,{childList:!0,subtree:!0}),()=>{clearTimeout(n),a.disconnect()}},[]),null}e.s(["InlineAdActivator",()=>n])},581126,e=>{e.v(t=>Promise.all(["static/chunks/3be757cf2d084da8.js"].map(t=>e.l(t))).then(()=>t(510353)))}]);

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.