PageSourceSearch

https://carpenter.center/_nuxt/index.782d8a60.js

js carpenter.center collected 2026-10-02 14:39:42 UTC 8,781 bytes, 92 lines download raw bytes

1import{_ as P}from"./TextLarge.b87f45eb.js";import{_ as q}from"./GalleryBlock.d24be65f.js";import{o as t,c as n,a as b,t as W,f as _,j as w,q as k,D,h as a,n as j,F as H,r as C,E,i as z,g as I,u as N,k as F,l as O,m as R}from"./entry.39f2d63d.js";import V from"./DefImageContainer.cdf04959.js";import{_ as A}from"./_plugin-vue_export-helper.c27b6911.js";import Q from"./StickyNav.273ff057.js";import{s as G}from"./slugify.c1958e9d.js";import{g as Z}from"./index.591357be.js";import"./Carousel.8df83acf.js";import"./DefImage.15210a2e.js";import"./LightboxButton.b597ace5.js";import"./state.c0adcbb5.js";import"./RightArrow.e5752ee7.js";import"./client-only.685b51d3.js";import"./fetch.73eda8a0.js";import"./swiper.1359e839.js";import"./ImageDescription.17eab4a5.js";import"./index.512841a7.js";import"./_commonjsHelpers.de833af9.js";import"./index.c11b4658.js";import"./ScrollLink.18288214.js";import"./all.89c74157.js";import"./ScrollTrigger.458d8b0f.js";import"./ScrollToPlugin.bfdd12dc.js";const U={class:"donate-cta-module page-module px-5 lg:px-page-adjusted animate animation-1"},J=["href"],K=b("span",{class:"mr-8 lg:mr-20"},"↗",-1),X={__name:"DonateCta",props:{block:{type:Object,required:!0}},setup(e){return(c,s)=>(t(),n("section",U,[e.block.donateCtaLink?(t(),n("a",{key:0,href:e.block.donateCtaLink,target:"_blank",rel:"noreferrer",class:"bg-support text-base lg:text-lg text-yellow py-8 lg:py-16 px-10 lg:px-20 w-full block"},[K,b("span",null,W(e.block.donateCtaText?e.block.donateCtaText:"Donate"),1)],8,J)):_("",!0)]))}},Y=X;const tt={class:"text-image-module page-module px-10 lg:px-page"},et=["innerHTML"],nt={__name:"TextImage",props:{block:{type:Object,required:!0}},setup(e){return(c,s)=>{var d;const o=V;return t(),n("section",tt,[e.block.text?(t(),n("div",{key:0,class:"text text-base lg:text-lg animate animation-1",innerHTML:e.block.text},null,8,et)):_("",!0),((d=e.block.image)==null?void 0:d.length)>0?(t(),w(o,{key:1,image:e.block.image[0],class:"w-full lg:w-3/4 animate animation-1"},null,8,["image"])):_("",!0)])}}},ot=A(nt,[["__scopeId","data-v-4a50afea"]]);const lt={class:"supporters-module page-module px-10 lg:px-page bg-support py-16 overflow-hidden"},at=["innerHTML"],st={key:2,class:"two-column"},rt={__name:"Supporters",props:{block:{type:Object,required:!0}},setup(e){const c=e,s=k(null),o=k([]),d=k(0),y=k(null),M=k(null);let T=!1;const v=k(!1);if(c.block.supporters){const i=c.block.supporters.split("<ul>");s.value=i[0].trim();const x=i[1];o.value=x.split("</li>"),o.value.pop(),o.value=o.value.map(p=>p.replace("<li>",""))}const L=()=>
1{if(T&&M.value){let i=!0,x=0,p=0;const u=M.value.offsetWidth,h=u/18;let B=0;T.forEach((m,l)=>{m.style.paddingLeft=0,m.style.paddingRight=0;const g=m.offsetWidth;let r=Math.round(p*h)+B;const $=m.parentElement,f=r+g;if(f<u)i?m.style.paddingLeft=`${r}px`:m.style.paddingRight=`${r}px`,p++;else{i=!i,p=1;let S=Math.round(p*h);r=u-x+S,i?m.style.paddingLeft=`${r}px`:m.style.paddingRight=`${r}px`,B=r}i?$.style.textAlign="left":$.style.textAlign="right",x=f})}};return D(()=>{T=document.querySelectorAll(".supporters-module li span"),L()}),window.addEventListener("resize",()=>{clearTimeout(y.value),v.value=!0,y.value=setTimeout(()=>{L(),v.value=!1},250)}),(i,x)=>(t(),n("section",lt,[a(s)&&a(s).length>0?(t(),n("div",{key:0,innerHTML:a(s),class:"text-base lg:text-lg text-white mb-9 animate animation-1"},null,8,at)):_("",!0),e.block.textLayout!=="columns"&&a(o).length>0?(t(),n("ul",{key:1,class:j(["waterfall",["transition-opacity duration-300",{"opacity-0":a(v)}]]),ref_key:"supportersContainer",ref:M},[(t(!0),n(H,null,C(a(o),(p,u)=>(t(),n("li",{key:`${u}-${a(d)}`,class:"text-lg lg:text-2xl text-white md:animate md:animation-1",style:E(e.block.textLayout!=="columns"?{paddingLeft:L()}:"")},[b("span",null,W(p),1)],4))),128))],2)):e.block.textLayout==="columns"&&a(o).length>0?(t(),n("ul",st,[(t(!0),n(H,null,C(a(o),(p,u)=>(t(),n("li",{key:`${u}-${a(d)}`,class:"text-base lg:text-lg text-white animate animation-1"},[b("span",null,W(p),1)]))),128))])):_("",!0)]))}},it=A(rt,[["__scopeId","data-v-567a6870"]]);const ut={class:"support-text-with-bg-module px-10 lg:px-page py-16 page-module bg-support"},ct=["innerHTML"],pt={key:1,class:"gift-blocks"},dt=["innerHTML"],mt=["innerHTML"],gt={__name:"SupportTextWithBackground",props:{block:{type:Object,required:!0}},setup(e){k(!1);const c=s=>{if(typeof s!="string"||!s.trim().length)return null;const o=s.trim();return/^#?[0-9a-fA-F]{6}$/.test(o)?{backgroundColor:o.startsWith("#")?o:`#${o}`}:null};return(s,o)=>(t(),n("section",ut,[e.block.text?(t(),n("div",{key:0,innerHTML:e.block.text,class:"intro-text text-base lg:text-lg rich-text animate animation-1"},null,8,ct)):_("",!0),e.block.giftBlocksText||e.block.giftBlocks.length>0?(t(),n("div",pt,[e.block.giftBlocksText?(t(),n("div",{key:0,innerHTML:e.block.giftBlocksText,class:"text-base lg:text-lg rich-text"},null,8,dt)):_("",!0),(t(!0),n(H,null,C(e.block.giftBlocks,(d,y)=>(t(),n("div",{key:y,style:E(c(d.giftBlockColor)),class:"gift-block bg-blue-2 py-12 lg:py-16 px-16 lg:px-32 text-base lg:text-lg rich-text",innerHTML:d.giftBlock},null,12,mt))),128))])):_("",!0)]))}},_t=A(gt,[["__scopeId","data-v-ee8860f6"]]),xt=Z`
2  query SupportQuery {
3    supportEntries(limit: 1) {
4      ... on support_support_Entry {
5        description
6        supportMatrix {
7          ... on supportMatrix_donateCta_BlockType {
8            donateCtaLink
9            donateCtaText
10            includeInPageMenu
11            pageMenuLabel
12            typeHandle
13          }
14          ... on supportMatrix_text_BlockType {
15            text
16            includeInPageMenu
17            pageMenuLabel
18            typeHandle
19          }
20          ... on supportMatrix_gallery_BlockType {
21            blockHeading
22            blockImages {
23              large: url @transform(width: 1800)
24              medium: url @transform(width: 1100)
25              small: url @transform(width: 800)
26              width
27              height
28              alt
29              ... on doSpaces_Asset {
30                caption
31                id
32                disableZoom
33              }
34            }
35            includeInPageMenu
36            pageMenuLabel
37            typeHandle
38          }
39          ... on supportMatrix_textImage_BlockType {
40            text
41            image {
42              large: url @transform(width: 1800)
43              medium: url @transform(width: 1100)
44              small: url @transform(width: 800)
45              width
46              height
47              alt
48              ... on doSpaces_Asset {
49                caption
50                id
51                disableZoom
52              }
53            }
54            includeInPageMenu
55            pageMenuLabel
56            typeHandle
57          }
58          ... on supportMatrix_supporters_BlockType {
59            supporters
60            textLayout
61            includeInPageMenu
62            pageMenuLabel
63            typeHandle
64          }
65          ... on supportMatrix_textWBackground_BlockType {
66            text
67            giftBlocksText
68            giftBlocks {
69              ... on giftBlocks_BlockType {
70                giftBlock
71                giftBlockColor
72              }
73            }
74            contactForm {
75              formPolicyText
76              formSubmitText
77              formText
78            }
79            downloadText
80            download {
81              url
82              title
83            }
84            includeInPageMenu
85            pageMenuLabel
86            typeHandle
87          }
88        }
89      }
90    }
91  }
92`,ft={class:"pt-32 lg:pt-page-top"},kt=b("section",{class:"px-10 lg:px-page page-module animate animation-1"},[b("h1",{class:"text-base lg:text-lg font-primary text-blue"},"Support")],-1),Ot={__name:"index",async setup(e){let c,s;const o=P,d=q,y=Y,M=ot,T=it,v=_t,L=l=>l==="text"?o:l==="gallery"?d:l==="donateCta"?y:l==="textImage"?M:l==="supporters"?T:l==="textWBackground"?v:null,{data:i,pending:x,error:p}=([c,s]=z(()=>F(xt)),c=await c,s(),c),u=I(()=>!x.value&&i.value?i.value.supportEntries[0]:!1),h=I(()=>u.value?u.value.supportMatrix.map(l=>{const g=l.pageMenuLabel||l.blockHeading,r=g?G(g,{lower:!0,strict:!0}):!1;return{title:g,id:r,link:r?`#${r}`:!1,...l}}):!1),B=I(()=>h.value?h.value.filter(l=>l.pageMenuLabel||l.blockHeading).reduce((l,g)=>(g.title&&g.includeInPageMenu&&l.push({...g}),l),[]):!1),{$MetaTags:m}=O();return N(m({title:"Support"})),(l,g)=>{var $;const r=Q;return t(),n("div",ft,[(($=a(B))==null?void 0:$.length)>1?(t(),w(r,{key:0,links:a(B)},null,8,["links"])):_("",!0),kt,a(u).description?(t(),w(a(o),{key:1,text:a(u).description},null,8,["text"])):_("",!0),(t(!0),n(H,null,C(a(h),(f,S)=>(t(),w(R(L(f.typeHandle)),{id:f.id?f.id:null,key:S,block:f},null,8,["id","block"]))),128))])}}};export{Ot 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.