PageSourceSearch

https://woom.com/_nuxt/21LJyfTZ.js

js woom.com collected 2026-09-25 20:49:20 UTC 4,431 bytes, 2 lines download raw bytes

1import{aG as x,cm as M,cQ as z,cR as j,ca as H,bN as v,q as e,dc as F,p as V,an as p,cS as q,bX as G,b5 as J,aj as K}from"./DxWSqd2v.js";import{g as Q,d as X,c as Y,a as W}from"./C_bUkiVz.js";import{u as g}from"./Bc6-5c4O.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"92.1-production"};var m=new r.Error().stack;m&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[m]="e6ef1957-8691-4254-86f3-000816525ff3",r._sentryDebugIdIdentifier="sentry-dbid-e6ef1957-8691-4254-86f3-000816525ff3")}catch{}})();const ae=x("woom-store-micro-data",()=>{const r=M(),m=q(),f=z(),b=j(),{socialLinks:P,schemaOrganisation:n,pageTitle:S,pageDescription:A}=H(r),s=m.public.BASE_URL,h=t=>{if(t)return{[e.type]:e.Person,name:t.name,image:t.image}},y=t=>{const a=G(t,"16to9");if(!(!t||!a))return typeof t!="string"&&J(t)?{[e.type]:e.ImageObject,[e.id]:t.data.src,url:a,width:t.data.width,height:t.data.height}:{[e.type]:e.ImageObject,[e.id]:a,url:a}};b.beforeEach(()=>{l.value=void 0,o.value=void 0,i.value=[],c.value=[]});const l=v(),w=v(),I=({type:t,dateModified:a})=>{l.value=t,w.value=a},o=v(),_=t=>{o.value||(o.value=t)},i=v([]),O=t=>{i.value=i.value.concat(t)},R=p(()=>n.value?.contactPoint.find(t=>t.contactType==="customer_service")?.email),E=t=>t.replace(/_/g," ").replace(/\b\w/g,a=>a.toUpperCase()),{award:L,subjectOf:T}=Q(n),C=p(()=>n.value?.address?.map(({streetAddress:t,addressLocality:a,addressRegion:u,postalCode:d,addressCountry:U,areaServed:B})=>({[e.type]:e.PostalAddress,streetAddress:t,addressLocality:a,addressRegion:u||void 0,postalCode:d,addressCountry:U,areaServed:B?.split(",").map(k=>k.trim())}))),D=p(()=>n.value?.contactPoint?.map(({contactType:t,email:a,telephone:u,availableLanguages:d})=>({[e.type]:e.ContactPoint,contactType:E(t),email:a,telephone:u,availableLanguage:d?.map(K)})));g(()=>l.value!=="blog_listing"||!o.value||!i.value.length?null:{[e.context]:e.schemaUrl,[e.type]:e.Blog,name:o.value.name,description:o.value.description,datePublished:o.value.datePublished,blogPost:i.value.map(t=>({[e.type]:e.BlogPosting,headline:t.title,description:t.subtitle,datePublished:t.date||void 0,author:h(t.author),image:y(t.hero),url:`${s}${t.url}`}))}),g(()=>{if(!l.value||!["blog_post","press_post"].includes(l.value)||!o.value)return null;const t=l.value==="blog_post"?e.BlogPosting:e.NewsArticle,a=`${s}${f.fullPath}`;return{[e.context]:e.schemaUrl,[e.type]:t,[e.id]:a,mainEntityOfPage:a,headline:o.value.name,description:o.value.description,datePublished:o.value.datePublished,author:h(o.value.author),image:y(o.value.asset),url:a}}),g(()=>{if(l.value!=="press_listing"||!o.value||!i.value.length)return null;const t=`${s}${f.fullPath}`;return{[e.context]:e.schemaUrl,[e.type]:e.CollectionPage,name:o?.value.name,description:o?.value?.description,url:t,hasPart:i.value.map(a=>
1({[e.type]:e.NewsArticle,headline:a.title,description:a.subtitle,datePublished:a.date||void 0,url:`${s}${a.url}`,author:h(a.author),image:y(a.hero),isPartOf:{[e.type]:e.CollectionPage,url:t}}))}});const $=p(()=>P.value.map(t=>t.url));g(()=>({[e.context]:e.schemaUrl,[e.type]:e.Organization,url:s,sameAs:$.value,logo:`${s}/woom-logo.svg`,name:n.value?.name??void 0,legalName:n.value?.legalName??void 0,description:n.value?.description??void 0,email:R.value,founder:[{[e.type]:e.Person,name:"Marcus Ihlenfeld"},{[e.type]:e.Person,name:"Christian Bezdeka"}],foundingDate:F,foundingLocation:{[e.type]:"Place",name:"Vienna, Austria"},slogan:n.value?.slogan??void 0,award:L,telephone:n.value?.telephone??void 0,address:C.value,contactPoint:D.value,vatID:n.value?.vatID??void 0,subjectOf:T}));const c=v([]),N=t=>{c.value.push(t)};return g(()=>c.value.length?{[e.context]:e.schemaUrl,[e.type]:e.ItemList,name:S.value,description:A.value,numberOfItems:c.value.length,itemListElement:c.value.map((t,a)=>{const u=p(()=>t.value.variant||t.value.product.variants.items[0]),d=Y(u,W);return{[e.type]:e.ListItem,position:a+1,item:{[e.type]:e.Product,name:t.value.product.title,description:t.value.product.description,url:`${s}${t.value.toURL}`,image:t.value.currentImage,sku:u.value?.sku,brand:V,manufacturer:{[e.type]:e.Organization,name:"woom"},offers:d.value,aggregateRating:X(t.value.product.reviews)}}})}:null),{setBaseData:I,setHeader:_,addBlogPostsData:O,addProductToSchemaList:N}});export{ae as u};
2//# sourceMappingURL=21LJyfTZ.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.