PageSourceSearch

https://bettear.com/_nuxt/BAiYLs8e.js

js bettear.com collected 2026-09-24 12:48:51 UTC 3,936 bytes, 57 lines download raw bytes

1import{d as f,c,e as i,a as _,b as r,t as m,F as h,r as b,g as k,_ as B,o as n,G as $,f as g,j as A,B as I,w as y,k as S,p as s,i as O,u as C,l as T}from"./DbY-YuDe.js";import D from"./DaIz0Zsp.js";import{u as N}from"./C6E1Xjxv.js";import"./BG6KAKnn.js";import"./CuT0uSUQ.js";import"./BCSdNkoc.js";import"./Q4AGJlzX.js";const j={class:"hero flex direction-column"},F={class:"hero__main"},H={class:"hero__title"},P={class:"hero__content flex direction-column"},Q={class:"hero__venues flex items-center"},V=f({__name:"Hero",props:{data:{},encodeDataAttribute:{type:Function}},setup(t){return(a,o)=>{const l=k,d=$,e=B;return n(),c("section",j,[i("div",F,[i("h1",H,m(t.data.title),1),i("div",P,[t.data.description?(n(),_(l,{key:0,value:t.data.description,classes:"hero__description sanity-content-block--offering"},null,8,["value"])):r("",!0),i("div",Q,[(n(!0),c(h,null,b(t.data.venues,u=>(n(),_(d,{key:u._id,label:u.name||"",modifier:"tag--offering"},null,8,["label"]))),128))])])]),t.data.image?(n(),_(e,{key:0,src:t.data.image.asset?._ref,quality:"90",format:"webp",fetchpriority:"high",sizes:"100vw xs:100vw s:100vw m:100vw ml:100vw xl:100vw xxl:1350px",alt:t.data.title||"",class:"hero__image","data-sanity":t.encodeDataAttribute(["image"])},null,8,["src","alt","data-sanity"])):r("",!0)])}}}),E=Object.assign(g(V,[["__scopeId","data-v-3013970c"]]),{__name:"OfferingHero"}),L={class:"benefits"},M={class:"benefits__title"},q={class:"benefits__list"},z=f({__name:"Benefits",props:{benefits:{}},setup(t){return(a,o)=>(n(),c("section",L,[i("h2",M,m(t.benefits?.title||"Benefits"),1),i("ul",q,[(n(!0),c(h,null,b(t.benefits?.items,l=>(n(),c("li",{key:l,class:"benefits__item"},m(l),1))),128))])]))}}),G=Object.assign(g(z,[["__scopeId","data-v-b1076fdb"]]),{__name:"OfferingBenefits"}),R=A(`
2  *[_type == "offering" && slug.current == $slug][0] {
3    _id,
4    _type,
5    _createdAt,
6    _updatedAt,
7    _rev,
8    title,
9    slug,
10    description,
11    venues[]->,
12    image, 
13    previewImage,
14    "benefits": {
15      "title": *[_type == "offeringPageSettings"][0].benefitsTitle,
16      "items": benefits[]
17    },
18    "products": {
19      "title": *[_type == "offeringPageSettings"][0].productsTitle,
20      "items": products[]-> {
21        _id,
22        _type,
23        _createdAt,
24        _updatedAt,
25        _rev,
26        title,
27        tags[]->,
28        slug,
29        thumbnailImage,
30        showcaseImage,
31        image,
32        inventoryType[]-> {
33          _id,
34          _type,
35          name,
36          icon
37        },
38      }
39    },
40    "resources": {
41      "title": *[_type == "offeringPageSettings"][0].resourcesTitle,
42      "items": resources[]-> {
43        _id,
44        _type,
45        title,
46        slug,
47        featuredImage,
48        resourceType ->,
49        tags[]->
50      }
51    },
52    meta {
53      title,
54      description
55    }
56  }
57`),J={key:0,class:"offering"},K={class:"wrapper flex direction-column"},U=f({__name:"[slug]",async setup(t){let a,o;const d=I().params.slug,{data:e,encodeDataAttribute:u}=([a,o]=y(()=>C(R,{slug:d})),a=await a,o(),a);if(!e.value)throw S({statusCode:404,statusMessage:"Offering not found"});const{data:v}=([a,o]=y(()=>T()),a=await a,o(),a);return N(e.value?.meta,v),(W,X)=>{const x=E,w=G,p=D;return s(e)?(n(),c("section",J,[i("div",K,[O(x,{data:s(e),"encode-data-attribute":s(u)},null,8,["data","encode-data-attribute"]),s(e).benefits?.items&&s(e).benefits.items.length>0?(n(),_(w,{key:0,benefits:s(e).benefits},null,8,["benefits"])):r("",!0),s(e).products?.items&&s(e).products.items.length>0?(n(),_(p,{key:1,"cards-list":s(e).products,modifier:"card-list--inventory card-list--complementary"},null,8,["cards-list"])):r("",!0),s(e).resources?.items&&s(e).resources.items.length>0?(n(),_(p,{key:2,"cards-list":s(e).resources,modifier:"card-list--resources card-list--complementary"},null,8,["cards-list"])):r("",!0)])])):r("",!0)}}}),ie=g(U,[["__scopeId","data-v-f8b1ef46"]]);export{ie as default};

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.