PageSourceSearch

https://www.jumbo.com/_nuxt/Cwmv_HKk.js

js jumbo.com collected 2026-09-24 08:52:54 UTC 1,921 bytes, 9 lines download raw bytes

1import{S as p,d as g,cX as m,c,o as k,g as n,q as y,s as v,h as o,G as d,aP as s,I as b,bf as f}from"./CelG4gE-.js";const h=["alt","src"],B={key:1,class:"upper"},T={key:3,class:"lower"},C=g({name:"JumTag",__name:"Tag",props:{type:{default:"neutral"},big:{type:[Boolean,String],default:!1},large:{type:Boolean},horizontal:{type:Boolean},icon:{default:()=>({src:"",alt:""})},context:{default:"on-default"}},setup(e){const t=e,r=m(),l=c(()=>!!(r!=null&&r.stack)),i=c(()=>{var a;return!!((a=t.icon)!=null&&a.src)&&!l.value}),u={default:"neutral",dark:"neutral","dark-outline":"neutral-subtle",characteristic:"neutral-subtle",black:"strong","black-outline":"strong-outline",primary:"accent",prominent:"prominent","prominent-outline":"prominent-outline",positive:"positive"};return k(()=>{t.big&&console.warn('[JumTag] Warning: The "big" prop is deprecated. Please use the "large" prop instead.');const a=["default","primary","dark","dark-outline","black","characteristic","black-outline"];t.type&&a.includes(t.type)&&console.warn(`[JumTag] Warning: The type "${t.type}" is deprecated. Please use "${u[t.type]}" instead.
2Mapping guide:
3- "default" → "neutral"
4- "dark" → "neutral"
5- "dark-outline" → "neutral-subtle"
6- "characteristic" → "neutral-subtle"
7- "black" → "strong"
8- "black-outline" → "strong-outline"
9- "primary" → "accent"`)}),(a,$)=>(n(),y(f(l.value?"div":"span"),{class:b(["jum-tag",{large:e.large||e.big,horizontal:e.horizontal,"has-stack":l.value,"has-icon":i.value,[u[e.type]||e.type]:!0,[e.context]:!0}]),"data-testid":"jum-tag"},{default:v(()=>[i.value?(n(),o("img",{key:0,alt:e.icon.alt,src:e.icon.src,class:"tag-icon"},null,8,h)):d("",!0),l.value?(n(),o("div",B,[s(a.$slots,"default",{},void 0,!0)])):s(a.$slots,"default",{key:2},void 0,!0),l.value?(n(),o("div",T,[s(a.$slots,"stack",{},void 0,!0)])):d("",!0)]),_:3},8,["class"]))}}),w=p(C,[["__scopeId","data-v-de497f89"]]);export{w as J};

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.