PageSourceSearch

https://www.meevo.de/_nuxt/fsS5fsdq.js

js meevo.de collected 2026-10-06 16:21:25 UTC 7,389 bytes, 75 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b21acb032fa1ebb282365e5cc52d2dffa468ef00`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5c3149cf-b646-425e-878c-88571872f893`,e._sentryDebugIdIdentifier=`sentry-dbid-5c3149cf-b646-425e-878c-88571872f893`)}catch{}})();import{o as e}from"./BSqAp89a.js";import{Tn as t}from"./CgbyAZ0-.js";import{t as n}from"./B7ttsVCC.js";import{t as r}from"./BrwsbEQU.js";import{n as i}from"./BZVMGZvg.js";import{n as a}from"./Dqq0TnRI.js";var o=`
2  query crossSellProduct(
3    $search: String
4    $filter: ProductAttributeFilterInput
5    $pageSize: Int = 10
6    $currentPage: Int = 1
7    $sort: ProductAttributeSortInput
8  ) {
9    products(search: $search, filter: $filter, sort: $sort, pageSize: $pageSize, currentPage: $currentPage) {
10      items {
11        crosssell_products {
12          uid
13          __typename
14          sku
15          name
16          stock_status
17          rating_summary
18          thumbnail {
19            url
20            position
21            disabled
22            label
23          }
24          url_key
25          url_rewrites {
26            url
27          }
28          price_range {
29            maximum_price {
30              final_price {
31                currency
32                value
33              }
34              regular_price {
35                currency
36                value
37              }
38            }
39            minimum_price {
40              final_price {
41                currency
42                value
43              }
44              regular_price {
45                currency
46                value
47              }
48            }
49          }
50          categories {
51            uid
52            name
53            url_suffix
54            url_path
55            breadcrumbs {
56              category_name
57              category_url_path
58            }
59          }
60          review_count
61          reviews {
62            items {
63              average_rating
64              ratings_breakdown {
65                name
66                value
67              }
68            }
69          }
70        }
71        uid
72      }
73    }
74  }
75`,s=()=>{let{$magento:a}=e(),{client:s}=i(),c=n(`useProduct`,()=>({loading:!1,defaultTaxRate:19})),l=async e=>{c.value.loading=!0;let{data:t,errors:n}=await a.products(e);return c.value.loading=!1,{data:r(t,`products`),error:n}},u=async e=>{c.value.loading=!0;let{data:t,errors:n}=await a.productDetails(e);return c.value.loading=!1,{data:r(t,`products`),error:n}},d=async(e,t=1,n=8)=>{c.value.loading=!0;let{data:i,errors:o}=await a.relatedProducts({pageSize:n,currentPage:t,filter:{sku:{eq:e}}});return c.value.loading=!1,{data:r(i,`products.items[0].related_products`),error:o}},f=async(e,t=1,n=8)=>{c.value.loading=!0;let{data:i,errors:s}=await a.customQuery({query:o,queryVariables:{pageSize:n,currentPage:t,filter:{sku:{eq:e}}}});return c.value.loading=!1,{data:r(i,`products.items[0].crosssell_products`),error:s}},p=async e=>{c.value.loading=!0;let{data:t,errors:n}=await a.productDetails({filter:{sku:{eq:e}}});return c.value.loading=!1,{data:r(t,`products.items.[0]`),error:n}},m=async e=>{c.value.loading=!0;try{return{data:await s.getByUID(`shop-product`,e),error:null}}catch{try{return{data:await s.getByUID(`shop-product`,`default-product-content`),error:null}}catch(e){return{data:null,error:e}}}finally{c.value.loading=!1}},h=(e,t,n=`de-DE`)=>{let r=e?.minimum_price?.[t]?.currency||`EUR`,i=e?.minimum_price?.[t]?.value?.valueOf(),a=e?.maximum_price?.[t]?.value?.valueOf();if(i===void 0||a===void 0)return;let o=new Intl.NumberFormat(n,{style:`currency`,currency:r});return i===a?o.format(i):`${o.format(i)} - ${o.format(a)}`},g=(e,t=`de-DE`)=>{let n=h(e,`regular_price`,t),r=h(e,`final_price`,t)||n,i=e?.minimum_price?.regular_price?.value,a=e?.minimum_price?.final_price?.value,o=e?.maximum_price?.regular_price?.value,s=e?.maximum_price?.final_price?.value;return{regularDisplayPrice:n,finalDisplayPrice:r,hasSpecialPrice:typeof i==`number`&&typeof a==`number`&&a<i||typeof o==`number`&&typeof s==`
75number`&&s<o}},_=(e,t=`de-DE`)=>{let n=e.currency||`EUR`,r=e.value?.valueOf();return r||r===0?new Intl.NumberFormat(t,{style:`currency`,currency:n}).format(r):void 0},v=(e,t=!1)=>{if(!e)return`/`;let n=`/${r(e,`url_rewrites.[0].url`)||r(e,`url_key`)}`;return t?`https://www.meevo.de${n}`:n},y=e=>e?e.replace(/cache\/(.*?)\//gm,``):``,b=e=>(e?.selected_options).map(t=>{let n=e?.product?.configurable_options?.find(e=>e?.label===t.label);if(n)return n.values?.find(e=>e?.label===t.value)?.uid}).filter(e=>!!e),x=e=>(e?.entered_options||[]).map(t=>{let n=r(t,`value`),i=r(e.product,`options`,[]).find(e=>e.title===t?.label);if(i)return{uid:i.uid,value:n}}),S=(e,t)=>{let n=r(e,`custom_attributesV2.items`,[]).find(e=>e.code===t);if(!n)return null;let i=``;return n.__typename===`AttributeSelectedOptions`?i=n.selected_options.map(e=>e.label).join(`, `):n.__typename===`AttributeValue`&&(i=n.value),i===``?null:{code:n.code,value:i}};return{getProductList:l,getRelatedProductList:d,getCrossSellProductList:f,getProductDetails:p,getProductDetailsList:u,getDisplayPrices:g,getProductPath:v,getCustomAttribute:S,getDisplayMoney:_,getProductJsonLd:e=>{if(e)return{name:r(e,`name`),description:r(e,`meta_description`),image:r(e,`image.url`,r(e,`thumbnail.url`,r(e,`media_gallery[1]`,``))).replace(RegExp(`/cache/[^/]*/`),`/`)||``,sku:r(e,`sku`),gtin:r(e,`ean`),brand:{name:S(e,`manufacturer`)?.value},review:r(e,`reviews.items.length`,0)>0?r(e,`reviews.items`,[]).map(e=>({"@type":`Review`,reviewRating:{"@type":`Rating`,bestRating:100,ratingValue:r(e,`average_rating`,0)},author:{"@type":`Person`,name:r(e,`nickname`,`Unknown`)}})):void 0,aggregateRating:r(e,`review_count`,0)>0?{"@type":`AggregateRating`,bestRating:100,ratingValue:r(e,`rating_summary`,0),reviewCount:r(e,`review_count`,0)}:void 0,offers:{valueAddedTaxIncluded:`True`,priceValidUntil:new Date(new Date().getFullYear()+10,12).toISOString().split(`T`)[0],price:r(e,`price_range.minimum_price.regular_price.value`),priceCurrency:r(e,`price_range.minimum_price.regular_price.currency`)||`EUR`,url:v(e,!0),availability:`https://schema.org/InStock`,itemCondition:`https://schema.org/NewCondition`,hasMerchantReturnPolicy:{"@type":`MerchantReturnPolicy`,applicableCountry:`DE`,returnPolicyCountry:`DE`,returnPolicyCategory:`https://schema.org/MerchantReturnFiniteReturnWindow`,merchantReturnDays:30,refundType:`https://schema.org/FullRefund`,returnMethod:`https://schema.org/ReturnByMail`,returnFees:`https://schema.org/FreeReturn`},shippingDetails:{"@type":`OfferShippingDetails`,shippingRate:{"@type":`MonetaryAmount`,value:0,currency:`EUR`},shippingDestination:{"@type":`DefinedRegion`,addressCountry:`DE`},deliveryTime:{"@type":`ShippingDeliveryTime`,handlingTime:{"@type":`QuantitativeValue`,minValue:0,maxValue:1,unitCode:`DAY`},transitTime:{"@type":`QuantitativeValue`,minValue:2,maxValue:5,unitCode:`DAY`}}}}}},getProductOgImage:e=>({title:r(e,`name`,``),productName:r(e,`name`,``),price:g(r(e,`price_range`)).finalDisplayPrice||``,description:r(e,`short_description.html`,``),image:y(r(e,`thumbnail.url`,``))}),loadPrismicContent:m,getImageUrl:y,getOrderItemEnteredOptions:x,getOrderItemSelectedOptions:b,...t(c.value)}},c=e=>e&&a(e,{ALLOWED_TAGS:[],RETURN_DOM:!0}).textContent||``;export{s as n,c 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.