PageSourceSearch

https://www.article.com/assets/ImageProductTag.bde324eb.js

js article.com collected 2026-09-24 08:51:02 UTC 2,811 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c64fd779-7a34-41ef-a17d-4dc0ec7023bc",e._sentryDebugIdIdentifier="sentry-dbid-c64fd779-7a34-41ef-a17d-4dc0ec7023bc")}catch(T){}import{c7 as e,cY as a,cn as o,c1 as r,b$ as t,hC as s,c9 as c,ca as i,cs as l,cf as n,ce as d,cx as u,cG as b,cb as p,cc as f,d1 as g,dd as y,cQ as h}from"./index.061e774e.js";const m={name:"ImageProductTag",components:{ResponsiveImage:a},props:{product:{type:Object,required:!0},coordinates:{type:Object,required:!0},bubbleLocation:{type:String,default:"right"},isTagVisible:{type:Boolean,default:!1},isAnchorVisible:{type:Boolean,default:!1},showImage:{type:Boolean,default:!0}},setup(e){const{product:a,coordinates:c,bubbleLocation:i,isTagVisible:l,isAnchorVisible:n,showImage:d}=o(e),u=r((()=>{switch(i.value){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left";default:return""}})),b=t(),p=r((()=>b.resolve({name:"product",params:{id:a.value.hashKey,slug:a.value.slug}}).href));return{product:a,coordinates:c,bubbleLocation:i,arrowDirection:u,isAnchorVisible:n,isTagVisible:l,productUrl:p,showImage:d,faCircleDot:s}}},w={key:0},v=["href"],I={class:"productDetail"},k={key:0,"aria-label":"on sale, original price",class:"originalPrice"},C=["aria-label"];var D=e(m,[["render",function(e,a,o,r,t,s){const m=c("ResponsiveImage"),D=c("font-awesome-icon");return i(),l("div",{ref:"productTag",class:b(["tag","bubble-"+r.bubbleLocation]),style:h({left:100*r.coordinates.x+"%",top:100*r.coordinates.y+"%"})},[n(y,{name:"scale"},{default:d((()=>[r.isTagVisible?(i(),l("div",w,[u("a",{class:b(["tag-body",r.arrowDirection]),href:r.productUrl,onClick:a[0]||(a[0]=a=>e.$emit("tagBodyClicked"))},[r.showImage?(i(),p(m,{key:0,url:r.product.imageUrl,widths:[80],breakpoints:[80],skeleton:!0},null,8,["url"])):f("",!0),u("div",I,[u("p",null,g(r.product.title),1),r.product.onSale||r.product.onClearance?(i(),l("span",k,g(r.product.originalPrice),1)):f("",!0),u("span",{class:"newPrice","aria-label":r.product.onSale||r.product.onClearance?"sale price":"price"},g(r.product.price),9,C)]),a[2]||(a[2]=u("i",{class:"af af-chevron-right"},null,-1))],10,v)])):f("",!0)])),_:1}),n(y,{name:"scale"},{default:d((()=>[r.isAnchorVisible?(i(),l("div",{key:0,class:b(["tag-anchor",r.bubbleLocation]),onClick:a[1]||(a[1]=a=>e.$emit("tagAnchorClicked"))},[n(D,{icon:r.faCircleDot,size:"2xl",style:{"--fa-primary-color":"#ffffff","--fa-secondary-color":"#454545"}},null,8,["icon"])],2)):f("",!0)])),_:1})],6)}],["__scopeId","data-v-60a1ba3f"]]);export{D as default};
2//# sourceMappingURL=ImageProductTag.bde324eb.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.