1import{T as S,d as b,s as w,u as P,c as s,f as n,N as r,g as t,C as I,t as o,F as T,R as C,j as i,Q as c,o as l,e as N,P as R,O as z}from"./DB7O3tZL.js";import{a as D}from"./Bc7FnO1r.js";const F=S("/icons/location-pin.svg"),j={style:{width:"100%",maxWidth:"1376px"}},B={style:{display:"flex",alignItems:"center",gap:"4px",padding:"11px 24px",flexShrink:"0",height:"100%",fontSize:"16px",fontWeight:"400",whiteSpace:"nowrap",background:"rgba(0, 0, 0, 0.05)",lineHeight:"22px"}},O={style:{overflowX:"auto",flex:"1",height:"100%",display:"flex",alignItems:"center",padding:"11px 8px"}},V={class:"ticker-track",style:{display:"flex",alignItems:"center"}},W=b({__name:"tickerPattern1",props:{configuration:{type:Object,required:!0}},setup(u){const{forecastData:h}=w(P()),p=i(()=>h.value),d=u,e=d.configuration.style,g=d.configuration.settings,m=i(()=>c(e.color)==="light"?"#fff":"#000"),x=i(()=>c(e.color)==="dark"&&e.iconPack==="outline"?{filter:"invert(1)"}:{}),_=i(()=>c(e.color)==="dark"?{filter:"invert(1)"}:{}),y=f=>D(f,e.iconPack).iconPath;return(f,H)=>{const k=z;return l(),s("div",j,[n("div",{style:r({background:t(e).color,color:t(m),fontFamily:t(e).font,display:"flex",alignItems:"center",height:"44px",borderRadius:"4px",boxSizing:"border-box",overflow:"hidden"})},[n("div",B,[n("img",{src:F,alt:"location",width:"12",height:"12",style:r({...t(_)})},null,4),I(" "+o(t(p).cityName),1)]),n("div",O,[n("div",V,[(l(!0),s(T,null,C(t(p).days,(a,v)=>(l(),s("div",{key:`${v}`,style:{display:"flex",alignItems:"center",gap:"9px",padding:"0 32px",fontSize:"16px",fontWeight:"400",lineHeight:"22px",whiteSpace:"nowrap",flexShrink:"0"}},[n("span",null,o(a.dayn)+" "+o(a.month_name),1),N(k,{src:y(+(a.icon??0)),alt:"",width:"24",height:"24",style:r({...t(x),flexShrink:"0"})},null,8,["src","style"]),n("span",null,o(t(R)(a.tem_max??"",t(g).metric))+o(t(g).metric),1)]))),128))])])],4)])}}}),A=Object.assign(W,{__name:"TickerPattern1"});export{A 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.