PageSourceSearch

https://tastebudtravelguide.com/assets/Announcements-f43c59ae.js

js tastebudtravelguide.com collected 2026-10-07 23:56:49 UTC 1,237 bytes, 1 lines download raw bytes

1var c=Object.defineProperty;var i=(s,n,e)=>n in s?c(s,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[n]=e;var l=(s,n,e)=>(i(s,typeof n!="symbol"?n+"":n,e),e);import{c as a,G as p,R as d,j as t}from"./index-eccfdb73.js";const m="/assets/Close_Icon-974a9b09.svg";class h extends d.Component{constructor(){super(...arguments);l(this,"handleClose",()=>{this.props.closeAnnouncements()})}renderLink(e){if(e.linkText)return t.jsx("a",{href:e.linkUrl,target:"_blank",rel:"noopener noreferrer",children:e.linkText})}renderActiveAnnouncements(e){if(!e)return;let o=[];return e.forEach(r=>{o.push(t.jsxs("div",{className:`Announcements ${r.type.toLowerCase()}`,children:[t.jsx("div",{className:"Announcement",children:t.jsxs("p",{className:"intro",children:[r.message," ",this.renderLink(r)]})}),t.jsx("span",{onClick:this.handleClose,children:t.jsx("img",{src:m,alt:"Dismiss announcements"})})]},r.sys.id))}),o}render(){let{items:e,app:o}=this.props,{showAnnouncements:r}=o;return r?t.jsx(t.Fragment,{children:this.renderActiveAnnouncements(e)}):null}}const u=s=>({app:s.app}),x=a(u,{closeAnnouncements:p})(h),f=Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"}));export{f as A,m as C};

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.