PageSourceSearch

https://www.ellos.no/one/zSGJCjxr.js

js ellos.no collected 2026-09-26 10:17:16 UTC 1,586 bytes, 2 lines download raw bytes

1import{Ct as e,E as t,On as n,Qn as r,Yt as i,_ as a,b as o,g as s,k as c,mt as l,nr as u,o as d,qt as f,v as p,wt as m,y as h}from"./Ib1jYPSS.js";import{v as g}from"./DcRNSiJ4.js";import{t as _}from"./B-uTwpoa.js";import{t as v}from"./Ibe1DQOV2.js";import{n as y,t as b}from"./BY8bskWf.js";import{t as x}from"./Dl73xX10.js";var S={key:1,class:`tooltip`},C={class:`shoppable-bubble`},w={key:2},T=Object.assign(c({__name:`ShoppableBadge`,props:{link:{},label:{},tooltip:{type:Boolean},count:{type:Boolean,default:!1},icon:{type:Boolean,default:!0},pulse:{type:Boolean,default:!1},overlay:{}},setup(c){let T=b(),E=g(),D=c,O=s(()=>{let e=[];return D.pulse&&e.push(`pulse`),e}),k=s(()=>D.count&&D.icon),A=s(()=>{if(D.overlay)return D.overlay.articles?.length}),j=()=>{D.link||T.show(D.overlay)},M=s(()=>{if(A.value)return{data:{name:`ShoppableContent`,imageName:``,path:E.fullPath,id:D.overlay.name||``},path:E.path,noObserver:!0}});return(s,g)=>{let b=y,T=_,E=e(`track-promotion`);return i((l(),p(m(c.link?n(v):`button`),{class:r([`shoppable-badge`,n(O)]),to:c.link,type:c.link?void 0:`button`,onClick:j},{default:f(()=>[c.label?(l(),o(d,{key:0},[t(u(c.label),1)],64)):h(``,!0),c.tooltip?(l(),o(`span`,S,u(s.$t(`shoppableContent.tooltipLabel`)),1)):h(``,!0),a(`span`,C,[n(k)?(l(),p(b,{key:0,icon:n(x),bubble:n(A),size:`m`},null,8,[`icon`,`bubble`])):c.icon?(l(),p(T,{key:1,size:`m`,icon:n(x)},null,8,[`icon`])):c.count?(l(),o(`span`,w,u(c.count),1)):h(``,!0)])]),_:1},8,[`class`,`to`,`type`])),[[E,n(M)]])}}}),{__name:`ShoppableBadge`});export{T as t};
2//# sourceMappingURL=zSGJCjxr.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.