PageSourceSearch

https://thecutlist.com/assets/kit-award-certificate-WwymFkW8.js

js thecutlist.com collected 2026-10-09 23:03:01 UTC 3,805 bytes, 1 lines download raw bytes

1import{a3 as u,j as e}from"./index-CJSs1J5s.js";import{A as h}from"./AdvertiserLayout-CfEG_ir2.js";import{e as b,c as v,d as w}from"./use-advertiser-ODe5coiu.js";import{K as k}from"./KitPicker-BRyfCGvQ.js";import{f as S,u as j,r as P,p as N,d as L}from"./picker-BJeabH7E.js";import{b as A}from"./SelfServeStickers-DxoMUUus.js";import{C as z}from"./CertificateBody-BSpNkW63.js";import"./list-CWkxz23V.js";import"./credit-card-DCPYTZP3.js";import"./log-out-C34Q5Lur.js";import"./category-href-QJqXbK3y.js";function B(t){return t.split("-").map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join(" ")}function U({brandId:t}){const o=b(t),n=v(t),s=w(t),p=o.data?.listings??[],l=S(p),[r,m]=j(l),c=r?P(n.data?.badges??[],r):null,f=u(),a=N(f),i=a?(n.data?.badges??[]).find(g=>g.categoryId===a.categoryId&&g.year===a.year)??null:null,y=a?n.isLoading||s.isLoading:o.isLoading||n.isLoading||s.isLoading,d=i?{title:A(i),owner:s.data?.name??"",year:i.year,webPngFileName:i.webPngFileName,categoryName:i.categoryName}:!a&&r?{title:r.citySlug?`${r.categoryName} in ${B(r.citySlug)}`:r.categoryName,owner:s.data?.name??"",year:c?.year??r.badgeYear,webPngFileName:c?.webPngFileName??null,categoryName:r.categoryName}:null,x=i?`/builders/${t}/kit/award-certificate-print?award=${a.categoryId}-${a.year}`:r?`/builders/${t}/kit/award-certificate-print?pick=${L(r)}`:`/builders/${t}/kit/award-certificate-print`;return e.jsx(h,{children:e.jsxs("article",{className:"br-kit-article",style:{maxWidth:720,margin:"0 auto",padding:"32px 0 96px",fontFamily:"var(--br-font-serif)",color:"var(--br-text-primary)"},children:[e.jsx("div",{style:{fontSize:11,letterSpacing:"1.8px",textTransform:"uppercase",color:"var(--br-text-muted-light)",marginBottom:14},children:"YOUR KIT"}),e.jsx("h1",{style:{margin:"0 0 24px",fontSize:30,fontWeight:400,letterSpacing:"-0.3px"},children:"Award certificate"}),a?null:e.jsx(k,{rows:l,selected:r,onSelect:m}),y?e.jsx("p",{children:"Loading…"}):a&&!i?e.jsx("p",{style:{padding:16,background:"#faf7f2",border:"1px dashed var(--br-border-light, #e6e1d8)",borderRadius:8,fontSize:15,lineHeight:1.6,color:"var(--br-text-secondary, #4a4a4a)"},children:"That award wasn't found for this brand. Head back to Badges & Stickers and use the Award certificate link on one of your cards."}):d?e.jsxs("section",{children:[e.jsx("h2",{style:{margin:"0 0 10px",fontSize:22,fontWeight:400,letterSpacing:"-0.2px"},children:`Cut List Pick for ${d.categoryName}`}),e.jsx("p",{style:{margin:"0 0 16px",fontSize:15,lineHeight:1.6,color:"var(--br-text-secondary, #4a4a4a)"},children:"Sized for an 8.5 × 11 frame, like a diploma. Preview below, then open the print view for your browser's print dialog."}),e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginBottom:18},children:[e.jsx("div",{style:{width:"100%",maxWidth:460,border:"1px solid var(--br-border-light, #e6e1d8)",borderRadius:6,overflow:"hidden",boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:e.jsx(z,{cert:d})}),e.jsx("p",{style:{margin:"10px 0 0",fontSize:12,color:"var(--br-text-muted-light)",fontFamily:"var(--br-font-sans)",letterSpacing:"0.3px"},children:"8.5 × 11 inches"})]}),e.jsx("a",{href:x,target:"_blank",rel:"noopener",style:{display:"inline-block",padding:"10px 18px",background:"var(--br-text-primary)",color:"#fff",textDecoration:"none",borderRadius:6,fontSize:14,fontFamily:"var(--br-font-sans)"},children:"Open print view"})]}):e.jsx("p",{style:{padding:16,background:"#faf7f2",border:"1px dashed var(--br-border-light, #e6e1d8)",borderRadius:8,fontSize:15,lineHeight:1.6,color:"var(--br-text-secondary, #4a4a4a)"},children:"No active editorial picks yet. When The Cut List picks one of your listings in a category, you'll see asset links here."})]})})}export{U as KitAwardCertificatePage};

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.