PageSourceSearch

https://www.penny.it/_nuxt/Dk-t2WB9.js

js penny.it collected 2026-10-01 12:23:18 UTC 1,944 bytes, 1 lines download raw bytes

1import{d as l}from"./DhOXpa1O.js";import{u as v}from"./DirUPB5L.js";import{as as y,cF as k,bL as w,bO as C,bR as r,ak as s,ah as _,ct as t,bB as d,cn as B,bz as m,aj as M,c3 as b,ae as T}from"./C9Z41gEb.js";import"./BH82RGaG.js";const z=["src"],W=["innerHTML"],I=y({__name:"top-bar-banner",props:{config:{},hide:{type:Boolean},maxWidth:{}},emits:["height"],setup(o,{emit:g}){const e=o,h=g,n=k(),u=b(!1),p=e.maxWidth?`${e.maxWidth}px`:"var(--ws-layout-max-width)",x=e.config.borderColor?`1px solid ${e.config.borderColor}`:void 0,i=v().get("topbarbannerinfo"),f=T(()=>n.xs.value&&e.config.textMobile?l(e.config.textMobile.replace(/<h\d>|<\/h\d>/g,"")):(n.sm.value||n.md.value)&&e.config.textTablet?l(e.config.textTablet.replace(/<h\d>|<\/h\d>/g,"")):n.lgAndUp.value&&e.config.textDesktop?l(e.config.textDesktop.replace(/<h\d>|<\/h\d>/g,"")):"");let c;const a=b(null);return w(()=>{u.value=!0,a.value&&(c=new ResizeObserver(()=>{h("height",a.value?.clientHeight)}),c.observe(a.value))}),C(()=>{c?.disconnect()}),(D,R)=>(r(),s("div",{ref_key:"rootRef",ref:a,style:d({backgroundColor:o.config.backgroundColor||"white",borderBottom:t(x)}),class:m(["ws-top-bar-banner d-flex align-center",{"ws-top-bar-banner--hidden":o.hide}])},[_("div",{style:d({color:o.config.textColor,maxWidth:t(p)}),class:m(["ws-top-bar-banner__content container d-flex align-center py-1",{"justify-center":o.config.alignment==="center"},{"justify-end":o.config.alignment==="right"}]),"data-test":"top-bar-banner",role:"status","aria-atomic":"true"},[t(i).custom?(r(),s("img",{key:0,class:"ws-top-bar-banner__icon mr-2",alt:"",src:t(i).custom},null,8,z)):(r(),s("span",{key:1,class:"ws-top-bar-banner__icon ws-icon notranslate mr-2","aria-hidden":"true",style:d({color:o.config.textColor})},B(t(i).mdi),5)),t(u)&&t(f)?(r(),s("div",{key:2,class:m(["ws-top-bar-banner__text",{"line-clamp-3":t(n).xs.value}]),innerHTML:t(f)},null,10,W)):M("",!0)],6)],6))}});export{I as default};

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.