PageSourceSearch

https://www.goldner-fashion.com/_nuxt/BctwfbnG.js

js goldner-fashion.com collected 2026-09-30 15:54:09 UTC 4,080 bytes, 1 lines download raw bytes

1import{b as A}from"./5V46N1zn.js";import{u as N,_ as D}from"./BRQAb0u9.js";import{i as F}from"./B-no4NmY.js";import{c7 as V,af as M,au as _,u as R}from"./BEitN51j.js";import{u as T}from"./Dua0kzTF.js";import{u as j}from"./C3QsFaVl.js";import{x as E,ah as G,ak as t,p as n,m as o,n as i,o as b,t as u,aG as c,u as k,F as m,ar as g,a9 as I,aU as f,aB as y,aq as q,k as H}from"./CXIEtJGx.js";const O=[260,259,258,257,256,255,254,253,252,251,250,249,248,247,153],z={class:"flex w-max flex-col hover-native-only:group-hover:hidden"},U={class:"flex w-max flex-col-reverse"},Y={key:0},J={key:1},K={key:1,class:"flex w-max flex-col items-start"},Q={class:"flex w-max flex-col items-start"},W={class:"hover-native-only:group-hover:hidden"},X={class:"bg-black px-[4px] text-2xs font-normal text-white"},Z={class:"pl-[5px] text-xs font-bold uppercase md:text-lg"},ee={class:"pl-[5px] text-xs font-bold uppercase md:text-lg"},ae=E({__name:"ProductCardBadges",props:{product:{}},setup(r){const{blackFridayLabels:$,config:w}=V(),{isActiveSalePeriod:B}=T(),v=q(!1);G(()=>{requestAnimationFrame(()=>{v.value=!0})});const{activeBadges:p}=N(()=>r.product,()=>v.value?w.value?.dynamicBadges||[]:[]),S=H(()=>p.value.some(e=>e.replaceSale)),C=e=>(e?.categories||[]).flat().some(a=>O.includes(a.categoryId))||!1,x=(e,a)=>{const s=e.variants&&j(e.variants);return s?M(s,a):[]},P=e=>_(e.attributes,"premiumsegment")?.value==="ja",L=e=>_(e.attributes,"einfuehrungsgrund")?.value==="monthly_must_haves";return(e,a)=>{const s=A,h=D;return t(),n("div",null,[o("div",z,[o("div",null,[C(r.product)?(t(),i(s,{key:0,"badge-label":e.$t("badge_labels.last_chance.last"),"secondary-badge-label":e.$t("badge_labels.last_chance.chance"),class:"bg-black text-white"},null,8,["badge-label","secondary-badge-label"])):b("",!0)]),a[3]||(a[3]=u()),o("div",U,[("isProductSustainable"in e?e.isProductSustainable:c(F))(r.product)?(t(),n("div",Y,[k(s,{"badge-label":e.$t("badge_labels.sustainable")},null,8,["badge-label"])])):b("",!0),a[1]||(a[1]=u()),r.product.isNew?(t(),n("div",J,[k(s,{"badge-label":e.$t("badge_labels.new"),class:"bg-white text-black"},null,8,["badge-label"])])):b("",!0),a[2]||(a[2]=u()),c(B)?(t(),n(m,{key:2},[o("div",null,[(t(!0),n(m,null,g(x(r.product,"campaign"),(l,d)=>(t(),i(s,{key:`campaign-${d}`,class:"w-max bg-[#ff6e17] uppercase","badge-label":`-${l.amount.relative*100}% `+e.$t("badge_labels.extra")},null,8,["badge-label"]))),128))]),a[0]||(a[0]=u()),o("div",null,[S.value?(t(),n("div",K,[(t(!0),n(m,null,g(c(p).filter(l=>l.replaceSale),(l,d)=>(t(),i(h,{key:`dynamic-${l.label}-${d}`,badge:l},null,8,["badge"]))),128))])):(t(!0),n(m,{key:0},g(x(r.product,"sale"),(l,d)=>(t(),i(s,{key:`sale-${d}`,"badge-label":`-${Math.round(l.amount.relative*100)}%`,class:I([c($)?"bg-black w-[75px] h-[38px] text-[20px] uppercase flex justify-center items-center":"bg-red","text-white"])},null,8,["badge-label","class"]))),128))])],64)):b("",!0)]),a[4]||(a[4]=u()),o("div",Q,[(t(!0),n(m,null,g(c(p).filter(l=>!l.replaceSale),(l,d)=>(t(),i(h,{key:`dynamic-${l.label}-${d}`,badge:l},null,8,["badge"]))),128))])]),a[8]||(a[8]=u()),o("div",W,[P(r.product)?(t(),i(s,{key:0,"badge-label":e.$t("badge_labels.premium"),class:"top-0 mt-0 bg-black align-top text-sm font-medium uppercase text-white md:text-[15px]"},null,8,["badge-label"])):b("",!0),a[7]||(a[7]=u()),L(r.product)?(t(),i(s,{key:1,class:"bg-white !pl-0 align-top text-sm font-medium uppercase md:!py-[3px] md:text-[15px]","badge-label":e.$t("badge_labels.monthly_must.first"),"secondary-badge-label":e.$t("badge_labels.monthly_must.second"),"third-badge-label":e.$t("badge_labels.monthly_must.third")},{badgeLabelSlot:f(()=>[o("span",X,y(e.$t("badge_labels.monthly_must.first")),1)]),badgeSecondaryLabelSlot:f(()=>[o("div",Z,y(e.$t("badge_labels.monthly_must.second")),1)]),badgeThirdLabelSlot:f(()=>[o("div",ee,y(e.$t("badge_labels.monthly_must.third")),1)]),_:1},8,["badge-label","secondary-badge-label","third-badge-label"])):b("",!0)])])}}}),ie=Object.assign(R(ae,[["__scopeId","data-v-acad0f24"]]),{__name:"ProductCardBadges"});export{ie as _};

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.