PageSourceSearch

https://www.rosebikes.de/_nuxt/useSeo-E1zvS3Kb.js

js rosebikes.de collected 2026-10-02 06:16:23 UTC 7,111 bytes, 1 lines download raw bytes

1import{i as C}from"./rolldown-runtime-kjsH4l9N.js";import{o as x}from"./nuxt-CkSXpG-a.js";import{h as A}from"./useApi-BPuI6ZR9-BUF9jjaR.js";import{n as N}from"./vue-i18n-C5Raox96.js";import{Z as u}from"#entry";import{t as U}from"./useMedia-BDp3rTNT.js";import{t as E}from"./centsToDecimalPrice-BFQykgLd.js";import{t as H}from"./dayjs-B8T3iudy.js";import{t as L}from"./getCleandMagnoliaPath-CGnzj0dE.js";import{t as V}from"./solveMagnoliaAsset-Cqz-nsAi.js";var j=C(H(),1);function X(){const{t:y}=N(),{public:p}=x(),{normalizeImageSrc:T}=U(),w=`${p.BASE_URL}/evon/rose-bikes-logo-1200x630.jpg`,_="rose-bikes-logo-1200x630.jpg",k="Rose Bikes",M="ROSE Bikes";function O(r,a,s,i){const o=`${r} | ${M}`,n=s||w,l=i||_,{path:g}=A(),e=`${p.BASE_URL}${g}`,h=S(o,e,a,n,l);u({title:o,meta:h,link:[{rel:"canonical",href:e}]})}function P({product:r,variant:a,baseUrl:s,path:i},o){const n=y("evon.meta.product.title",{brand:r.brand.title,product:r.name}),l=`${r.brand.title} ${r.name} | ${k}`,g=y("evon.meta.product.description",{brand:r.brand.title,product:r.name}),e=`${s}${i}`,h=S(n,e,g,a?.images?.[0]||r.variants.find(m=>m?.images?.length)?.images?.[0]||w,r.name,l);h.forEach(m=>{const f=m.property;(f==="og:description"||f==="twitter:description")&&(m.content=r.descriptionLong?r.descriptionLong.substring(0,200):g)}),u({title:n,meta:h,link:o?[{rel:"canonical",href:e},...o.map(m=>({rel:"alternate",hreflang:m.locale,href:m.url}))]:[{rel:"canonical",href:e}]})}function I({product:r,variant:a,baseUrl:s,fullPath:i,shippingCosts:o,breadcrumb:n,reviews:l}){let g,e,h;a?.availability&&(g=a.availability.trafficLightColor,e=a.availability.deliveryTime,e&&e.value&&(h=e.unit==="weeks"?e.value/2*6:Math.ceil(e.value/2)));const f=a?.images?.[0]||r.variants.find(t=>t?.images?.length)?.images?.[0]||w,$=l&&l.map(t=>({"@type":"Review",author:{"@type":"Person",name:t.author||"Anonym"},datePublished:(0,j.default)(t.date).format("YYYY-MM-DD"),reviewBody:t.text,name:r.name,reviewRating:{"@type":"Rating",worstRating:"1",bestRating:"5",ratingValue:t.stars}})),d=n&&n.map((t,b)=>({"@type":"ListItem",position:b+1,name:t.name,item:`${s}${t.url}`})),c=n&&(n.length>3?n[2]:n[1]);u({script:[{"data-test":"product-schema-data",key:"seoProduct",type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org/","@graph":[{"@type":"Product",brand:r.brand.title,logo:r.brand.image||"",name:r.name,category:c&&c.name,image:T(f,{width:800,height:800,bg:"#ffffff",absolute:!0}),itemCondition:"https://schema.org/NewCondition",color:a?.superAttributes&&a.superAttributes.find(t=>t?.type==="color")?.value||"",size:a?.superAttributes&&a.superAttributes.find(t=>t?.type==="size")?.value||"",sku:a?.variantSku,gtin13:a?.gtin||"",mpn:a?.mpn||"",description:r.descriptionLong,offers:{"@type":"Offer",availability:g==="green"?"InStock":g==="red"?"SoldOut":g==="yellow"?"PreOrder":"",url:i,price:a&&E(a.price.value),priceCurrency:a?.price.currency,sku:a?.variantSku,shippingDetails:o?.deliveryCosts&&{"@context":"https://schema.org","@type":"OfferShippingDetails",deliveryTime:a?.availability?.deliveryTime&&{"@type":"ShippingDeliveryTime",businessDays:{"@type":"OpeningHoursSpecification",dayOfWeek:["https://schema.org/Monday","https://schema.org/Tuesday","https://schema.org/Wednesday","https://schema.org/Thursday","https://schema.org/Friday","https://schema.org/Saturday"]},handlingTime:{"@type":"QuantitativeValue",minValue:1,maxValue:h,unitCode:"d"},transitTime:{"@type":"QuantitativeValue",minValue:1,maxValue:h,unitCode:"d"}},shippingRate:{"@type":"MonetaryAmount",value:E(o.deliveryCosts.value),currency:o.deliveryCosts.currency}}},aggregateRating:r.rating.stars!==0&&r.rating.count!==0?{"@type":"AggregateRating",ratingValue:r.rating.stars,ratingCount:r.rating.count}:null,review:l?.length?[$]:null},{"@type":"BreadcrumbList",itemListElement:d}]})}]})}async function D(r,a,s,i="index",o="follow",n="",l,g,e){const h=V(l),{MGNL_STORE:m,MGNL_SITE_PATH:f,BASE_URL:$}=p,d=L(n,m,f),c=`${$}${e?.[m]||d}`,t=e?.["en-store"]||d,b=a||r,v=S(b,c,s,h?T(h?.focal?.point?.urls?.cinema,{width:1200,height:675,encode:!0,magnolia:!0}):w,h?h?.metadata?.caption:_);v.push({name:"robots",content:`${i}, ${o}`}),g&&v.forEach(R=>{R.property==="og:title"&&(R.content=g)}),u({title:b,meta:v,link:e?[{rel:"canonical",href:c},{rel:"alternate",hreflang:"x-default",href:`https://www.rosebikes.com${t}`},{rel:"alternate",hreflang:"da-DK",href:`https://www.rosebikes.dk${e?.["dk-store"]||t}`},{rel:"alternate",hreflang:"en",href:`https://www.rosebikes.com${t}`},{rel:"alternate",hreflang:"en-US",href:`https://www.rosebikes.com${t}`},{rel:"alternate",hreflang:"es-ES",href:`https://www.rosebikes.es${e?.["es-store"]||t}`},{rel:"alternate",hreflang:"fi-FI",href:`https://www.rosebikes.fi${e?.["fi-store"]||t}`},{rel:"alternate",hreflang:"fr-FR",href:`https://www.rosebikes.fr${e?.["fr-store"]||t}`},{rel:"alternate",hreflang:"hu-HU",href:`https://www.rosebikes.hu${e?.["hu-store"]||t}`},{rel:"alternate",hreflang:"it-IT",href:`https://www.rosebikes.it${e?.["it-store"]||t}`},{rel:"alternate",hreflang:"nl-NL",href:`https://www.rosebikes.nl${e?.["nl-store"]||t}`},{rel:"alternate",hreflang:"pl-PL",href:`https://www.rosebikes.pl${e?.["pl-store"]||t}`},{rel:"alternate",hreflang:"ro-RO",href:`https://www.rosebikes.ro${e?.["ro-store"]||t}`},{rel:"alternate",hreflang:"sv-SE",href:`https://www.rosebikes.se${e?.["se-store"]||t}`},{rel:"alternate",hreflang:"de-CH",href:`https://www.rosebikes.ch${e?.["ch-store"]||e?.["de-store"]||t}`},{rel:"alternate",hreflang:"de-DE",href:`https://www.rosebikes.de${e?.["de-store"]||t}`},{rel:"alternate",hreflang:"de-AT",href:`https://www.rosebikes.at${e?.["at-store"]||e?.["de-store"]||t}`},{rel:"alternate",hreflang:"fr-BE",href:`https://www.rosebikes.be${e?.["be-store"]||e?.["fr-store"]||t}`},{rel:"alternate",hreflang:"en-GB",href:`https://www.rosebikes.co.uk${e?.["uk-store"]||t}`}]:[{rel:"canonical",href:c}]})}function B(){const{fullPath:r}=A(),{MGNL_STORE:a,MGNL_SITE_PATH:s}=p,i=L(r,a,s);u({script:[{"data-test":"search-schema-data",key:"seoSearch",type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"WebSite",name:k,url:`${p.BASE_URL}${i}`,potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:`${p.BASE_URL}/search?q={search_term_string}`},"query-input":"required name=search_term_string"}})}]})}function S(r=y("meta.title.fallback"),a,s=y("meta.description.fallback"),i,o="A ROSE Bikes Image",n=k){const l=[{property:"og:site:name",content:n},{property:"og:type",content:"website"},{property:"og:title",content:r},{property:"og:url",content:a},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:url",content:a},{name:"twitter:title",content:r}];return i&&l.push({property:"og:image",content:i},{property:"og:image:alt",content:o},{name:"twitter:image",content:i},{name:"twitter:image:alt",content:o}),s&&l.push({name:"description",content:s},{name:"og:description",content:s},{name:"twitter:description",content:s}),l}return{setSeo:O,setSeoProduct:P,setSchemaOrgProduct:I,setSeoMagnolia:D,setSeoSearch:B}}export{X as t};

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.