1import{u as m}from"./1f2d1beb.js";import{A as n}from"./7e2ecaf2.js";import{I as p}from"./293c1aad.js";import{L as l}from"./25941daa.js";import{U as c}from"./12f65b49.js";import{j as o,a as t}from"./index.e5a6bdbf.js";import"./f0c35df4.js";import"./196f1f4c.js";import"./9d17fd3e.js";import"./4c9ca22a.js";import"./ceaed48c.js";import"./a9ff7b59.js";import"./c53794a6.js";import"./9332a5d1.js";import"./a20136da.js";import"./579c2de1.js";import"./2569de00.js";import"./58c1a667.js";import"./b7a66b0a.js";import"./38d18f43.js";import"./cb59ce5b.js";import"./abaeb852.js";import"./8622e3f8.js";import"./86e71c2a.js";import"./42cb15c9.js";import"./e9f5005a.js";import"./aa198028.js";import"./6bad3923.js";const E=()=>{const{setDismissed:s,notification:i}=m(),r=async e=>{try{e&&(await fetch("/api/notification",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({notificationID:e,isDismissed:"yes"})})).ok&&s(!0)}catch(a){return{error:a.toString()}}};return o("div",{className:"flex w-full flex-col items-start gap-6 rounded-lg border border-spring/8 bg-white p-6",children:[o("div",{className:"flex w-full items-center justify-between gap-6",children:[t("h3",{className:"text-24 leading-[0.9] tracking-[-0.96px]",children:i.title}),t(p,{onClick:()=>r(i.title),size:"small",iconName:"Close"})]}),i.image&&t(c,{image:i.image}),t("p",{className:"text-sm leading-[1.6] tracking-[-0.28px]",children:i.text}),i.link&&o(l,{theme:"light",variant:"fill",linkData:i.link,onClick:()=>r(i.title),children:[t("span",{children:i.link.name}),t(n,{className:"h-6 w-6"})]})]})};export{E as default}; 2//# sourceMappingURL=2229c1f9.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.