PageSourceSearch

https://www.bricoflor.it/dist/vsf-rich-snippets.9e2aea929c105092ed5a.js

js bricoflor.it collected 2026-10-08 03:22:10 UTC 9,233 bytes, 2 lines download raw bytes

1(self.webpackChunkvue_storefront=self.webpackChunkvue_storefront||[]).push([[507],{44157:(e,t,r)=>{"use strict";r.d(t,{BB:()=>g,C:()=>d,K8:()=>u,Pz:()=>p,ox:()=>y,us:()=>f,w:()=>c,zX:()=>C});var i=r(91944),n=r(95475),s=r(94123),a=r(51181);const o={"@context":"https://schema.org"},l=s.api.url;function c(e,t,r){return JSON.stringify(Object.assign(Object.assign({},o),{"@type":"WebSite",url:l,name:t,alternateName:t,potentialAction:{"@type":"SearchAction",target:e,"query-input":"required name=search_term_string"}}))}function u(e,t,r,i,n){return JSON.stringify(Object.assign(Object.assign({},o),{"@type":"NewsArticle",image:[e],headline:t,datePublished:r,dateModified:i,author:[{"@type":"Person",name:n}]}))}function d(e,t,r,i,n){return JSON.stringify(Object.assign(Object.assign({},o),{"@type":"Organization",url:l,name:e,logo:r,email:i,contactPoint:[{"@type":"ContactPoint",telephone:t.phone,contactType:"sales"},{"@type":"ContactPoint",telephone:t.phone,contactType:"technical support"},{"@type":"ContactPoint",telephone:t.phone,contactType:"customer service"}],address:{addressCountry:t.country,postalCode:t.postalCode,addressLocality:t.city,streetAddress:t.street},sameAs:n}))}function p(e,t,r){return JSON.stringify(Object.assign(Object.assign({},o),{"@type":"LocalBusiness",image:[r],"@id":l,name:e,address:{"@type":"PostalAddress",streetAddress:t.street,addressLocality:t.city,addressRegion:t.region,postalCode:t.postalCode,addressCountry:t.country},url:l+"/contacts",telephone:t.phone}))}function g(e){let t=1;const r=e.map((e=>({"@type":"ListItem",position:t++,item:{"@id":l+e.route_link,name:e.name}})));return JSON.stringify(Object.assign(Object.assign({},o),{"@type":"BreadcrumbList",itemListElement:r}))}const m=e=>{var t,r,i,n;const s=(null===(t=e.stock)||void 0===t?void 0:t.min_sale_qty)>1?null===(r=e.stock)||void 0===r?void 0:r.min_sale_qty:0!==(null===(i=e.stock)||void 0===i?void 0:i.qty_increments)?null===(n=e.stock)||void 0===n?void 0:n.qty_increments:1;return(0,a.Z)((e.final_price_incl_tax||e.regular_price)*s,2).toFixed(2)},h=e=>{const t={path:e.url_path},r=(0,i.qo)(t,(0,i.Lx)().storeCode);return l+r};function y(e,t){const r=h(e),a=m(e),l=Object.assign(Object.assign({},o),{"@type":"Product",name:e.name,sku:e.sku,productID:e.id,description:e.meta_description,category:e.category?e.category.map((({name:e})=>e||null)).filter((e=>null!==e)):null,image:(0,n.pk)((0,n.uX)(e),s.products.thumbnails.width,s.products.thumbnails.height),itemCondition:"NewCondition"});return l.offers=[{"@type":"Offer",category:e.category?e.category.map((({name:e})=>e||null)).filter((e=>null!==e)):null,url:r,price:a,itemCondition:"NewCondition",priceCurrency:(0,i.Lx)().i18n.currencyCode,availability:e.stock&&e.stock.is_in_stock?"InStock":"OutOfStock",sku:e.sku}],t&&(l.brand={"@type":"Brand",name:t}),JSON.stringify(l)}function C(e){if(!e||0===e.length)return;const t=[];e.forEach(((e,r)=>t.push({position:r+1,item:{name:null==e?void 0:e.name,image:[`${s.images.baseUrl}1200/1200/resize/catalog/product${null==e?void 0:e.image}`],offers:{price:m(e),priceCurrency:(0,i.Lx)().i18n.currencyCode.toUpperCase(),priceSpecification:[{price:m(e),priceCurrency:(0,i.Lx)().i18n.currencyCode.toUpperCase(),"@type":"PriceSpecification"}]},url:l+`${null==e?void 0:e.url_path}`,"@type":"Product"},"@type":"ListItem"})));const r=Object.assign(Object.assign({},o),{itemListElement:t,"@type":"ItemList"});return JSON.stringify(r)}function f(e){const t=[];if(e)return e.questions.forEach((e=>t.push({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))),JSON.stringify(Object.assign(Object.assign({},o),{"@type":"FAQPage",mainEntity:t}))}},39428:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var i=r(20629),n=r(91944),s=r(44157),a=r(95475),o=r(77338),l=r(57693),c=r(94123),u=(r(8575),r(81346));const d={name:"RichSnippets",watch:{getCurrentCategory(e){return 1580===e.id?this.localCat=null:this.localCat=e||null}},computed:{...(0,i.Se)({coreData:"core-data/getData",getBreadcrumbsRoutes:"breadcrumbs/getBreadcrumbsRoutes",getCurrentCategory:"category-next/getCurrentCategory",getCurrentProduct:"product/getCurrentProduct",getAttributeListByCode:"attribute/getAttributeListByCode",getCategoryProducts:"category-next/getCategoryProducts"}),baseUrl:()=>c.api.url,searchUrl(){return this.baseUrl+(0,n.O8)("/search-results?searchTerm={search_term_string}")},organisationName(){return this.coreData("general/store_information/name")?this.coreData("general/store_information/name").value:"BRICOFLOR"},organisationEmail(){return this.coreData("trans_email/ident_general/email")?this.coreData("trans_email/ident_general/email").value:"[email protected]"},organisationAddress(){return{country:(0,n.Lx)().i18n.fullCountryName,region:this.coreData("general/store_information/region_id").value,postalCode:this.coreData("general/store_information/postcode").value,city:this.coreData("general/store_information/city").value,street:this.coreData("general/store_information/street_line1").value,phone:this.coreData("general/store_information/phone").value}},organisationLinks:()=>[c.socialLinks?.facebook,c.socialLinks?.pinterest,c.socialLinks?.youtube],logoUrl(){const e=this.coreData("design/header/logo_src");return e?(0,a.pk)(`/logo/${e.value}`,this.logoWidth,this.logoHeight,""):this.baseUrl+"/assets/logo.svg"},logoWidth(){return this.coreData("design/header/logo_width").value},logoHeight(){return this.coreData("design/header/logo_height").value},isBreadcrumbsSnippetNeeded(){return this.getBreadcrumbsRoutes&&this.getBreadcrumbsRoutes.length},isFaqSnippetNeeded(){return this.localCat&&this.localCat?.faq_json&&(0,l.tp)(this.localCat?.faq_json)},isLocalBusinessSnippetNeeded:()=>!!c.richSnippet?.localBusiness,isProductPage(){return!!this.getCurrentProduct&&!this.isCategoryPage},isCategoryPage(){return!!this.localCat?.id},metaData(){try{const e=this.$store.state["core-data"].data,t="vsbridge_indexer_settings/js_settings/klaro_config";if(e&&e[t])return JSON.parse(e[t].value)}catch(e){u.Y.error("Failed to parse Meta Data","meta-tags")()}return null},getWebsiteJsonLd(){let e=this.metaData[(0,n.Lx)().storeCode];const t=e?.metaTitle?e.metaTitle:"BRICOFLOR";return(0,s.w)(this.searchUrl,t,(0,n.Lx)().storeCode)},getOrganisationJsonLd(){return(0,s.C)(this.organisationName,this.organisationAddress,this.logoUrl,this.organisationEmail,this.organisationLinks)},getBreadcrumbsJsonLd(){return this.isBreadcrumbsSnippetNeeded?(0,s.BB)(this.getBreadcrumbsRoutes):null},getProductManufacturer(){if(!this.isProductPage)return null;const e="all_manufacturers",t=this.getAttributeListByCode[e];if(!t)return null;const r=t.options.find((t=>(0,o.Z)(t.value)===(0,o.Z)(this.getCurrentProduct[e])));return r?r.label:null},getProductJsonLd(){return this.isProductPage?(0,s.ox)(this.getCurrentProduct,this.getProductManufacturer):null},getCategoryProductsLd(){if(!this.getCategoryProducts)return;const e=this.getCategoryProducts?.slice(0,10);return this.isCategoryPage?(0,s.zX)(e):null},getFaqJsonLd(){return!!this.localCat?.faq_json&&(0,s.us)(JSON.parse(this.localCat?.faq_json))},getLocalBusinessJsonLd(){return(0,s.Pz)(this.organisationName,this.organisationAddress,this.logoUrl)}},data:()=>({localCat:null,localProd:null,companyName:{de:{metaTitle:"BRICOFLOR | Bodenbeläge & Tapeten online kaufen"},at:{metaTitle:"BRICOFLOR | Bodenbeläge & Tapeten online kaufen"},fr:{metaTitle:"BRICOFLOR | Revêtements de sol et Papier peint en ligne"},be:{metaTitle:"BRICOFLOR | Revêtements de sol & Papiers peints en ligne"},couk:{metaTitle:"BRICOFLOR | Flooring & Wallpaper Online – Free Samples"},it:{metaTitle:"BRICOFLOR | Pavimenti e Carta da Parati Online"},es:{metaTitle:"BRICONEO | Compra suelos y papel pintado online"},pt:{metaTitle:"BRICONEO | Alcatifas, pavimentos, papéis de parede e mais!"},pl:{metaTitle:"BRICOFLOR | Tu znajdziesz pokrycia dla swoich podłóg i ścian!"},nl:{metaTitle:"BRICOFLOR | PVC vloeren, behang & meer online!"},se:{metaTitle:"BRICOFLOR | Er onlinebutik för väggar och golv!"}
1,fi:{metaTitle:"BRICOFLOR | Lattianpäällysteiden ja tapettejen verkkokauppa!"},cz:{metaTitle:"BRICOFLOR CZ | Váš online expert na stěny a podlahy"}}})},p=(0,r(51900).Z)(d,(function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"richSnippetsBlock"}},[t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getWebsiteJsonLd)}}),t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getOrganisationJsonLd)}}),e.isLocalBusinessSnippetNeeded?t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getLocalBusinessJsonLd)}}):e._e(),e.isBreadcrumbsSnippetNeeded?t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getBreadcrumbsJsonLd)}}):e._e(),e.isProductPage?t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getProductJsonLd)}}):e._e(),e.isCategoryPage?t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getCategoryProductsLd)}}):e._e(),e.isFaqSnippetNeeded?t("script",{attrs:{type:"application/ld+json"},domProps:{innerHTML:e._s(e.getFaqJsonLd)}}):e._e()])}),[],!1,null,null,null,!0).exports},24654:()=>{}}]);
2//# sourceMappingURL=vsf-rich-snippets.9e2aea929c105092ed5a.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.