PageSourceSearch

https://typeheist.co/_nuxt/DeS5Xgxm.js

js typeheist.co collected 2026-10-04 01:51:07 UTC 7,787 bytes, 1 lines download raw bytes

1import{_ as P}from"./Dh2RHB1H.js";import{d as T,_ as M,u as H}from"./pAIW8bm9.js";import{_ as B,o as s,c as n,a as e,t as l,d as g,l as c,b as r,w as u,g as D,F as h,r as y,e as I,u as N,f as O,m as S,q as V}from"./Cvj6YUp_.js";import{_ as U}from"./B3dibFBG.js";import{_ as q}from"./Dst0_v3m.js";import{_ as E}from"./DUKyiMGP.js";import{_ as Z}from"./Dz4WzXW-.js";import{_ as z}from"./Bxkk0hmo.js";import{g as F}from"./FsIr5leV.js";import{u as R}from"./B97GM_Sy.js";import{u as Y,a as j}from"./DY-qDXGg.js";const W={name:"AssetBuyPanel",components:{},props:{itemData:{type:Object,default:null}}},G={class:"buy-panel flex"},J={class:"price-content"},K={key:0,class:"pricing free"},Q={class:"price"},X={class:"normal-price"},ee={class:"from"},te={key:1},se={key:0,class:"pricing"},oe={class:"price"},ne={class:"normal-price"},ae={key:1,class:"pricing on-sale"},ie={class:"price"},le={class:"normal-price line-through"},re={class:"discount bold"},ce={key:0},ue={class:"buttons flex column"},de=["href"],_e={key:1},pe={class:"buttons flex column"},me=["href"];function fe(t,o,i,p,m,f){return s(),n("div",G,[e("div",J,[i.itemData.price===0?(s(),n("div",K,[e("div",Q,[e("span",X,"$"+l(i.itemData.price),1)]),e("span",ee," Aw yiss. This "+l(i.itemData.title)+" is free.",1)])):(s(),n("div",te,[o[4]||(o[4]=e("span",{class:"from"}," Starting from:",-1)),i.itemData.discountAmount?c("",!0):(s(),n("div",se,[e("div",oe,[e("span",ne,"$"+l(i.itemData.price),1),o[0]||(o[0]=e("span",{class:"bold"}," USD",-1))]),o[1]||(o[1]=e("div",{class:"license-options"},[g(" (excl. taxes)"),e("br"),g(" Click through to checkout to see all license options. ")],-1))])),i.itemData.discountAmount?(s(),n("div",ae,[e("div",ie,[e("span",le,"$"+l(i.itemData.price),1),o[2]||(o[2]=e("span",{class:"bold"},"USD",-1))]),o[3]||(o[3]=e("div",{class:"license-options"},[g(" (excl. taxes)"),e("br"),g(" Click through to checkout to see all license options. ")],-1)),e("span",re,l(i.itemData.discountTitle),1)])):c("",!0)]))]),i.itemData.price===0?(s(),n("div",ce,[e("div",ue,[e("a",{href:i.itemData.linkDirect,rel:"noreferrer",class:"lemonsqueezy-button btn primary buy-direct"},"Download for free →",8,de)])])):(s(),n("div",_e,[e("div",pe,[e("a",{href:i.itemData.linkBuyDirect,rel:"noreferrer",class:"lemonsqueezy-button btn primary buy-direct"},"Buy product →",8,me)])]))])}const he=Object.assign(B(W,[["render",fe]]),{__name:"AssetBuyPanel"}),ye=T({name:"Asset",async setup(){let t,o;const i=N(),p=Array.isArray(i.params.slug)?i.params.slug[0]:i.params.slug,m=R(),{data:f}=([t,o]=O(()=>H(`asset-page-${p??"unknown"}`,async()=>{try{if(!p)throw S({statusCode:404,statusMessage:"Page not found"});const L=await m.getBySlug("asset",p),A=m.query("font",{where:{tags:{$contains:"bestseller"}},limit:4}),C=m.query("review",{sortBy:["publishDate","desc"]}),[a,x]=await Promise.all([A,C]);return{asset:L,bestsellers:a,reviews:x}}catch{throw S({statusCode:404,statusMessage:"Page not found"})}})),t=await t,o(),t),d=f.value?.asset??{},v=f.value?.bestsellers??[],w=f.value?.reviews??[],k=d.metaTitle??"Digital Asset",b=d.metaDescription??"",_=d.images?.[0]?.image??"",$="https://typeheist.co"+F();return Y({title:`${k} | Digital Assets by TYPEHEIST`,link:[..._?[{rel:"preload",fetchpriority:"high",as:"image",href:_,type:"image/webp"}]:[],{rel:"canonical",href:$}]}),j({description:b,ogUrl:$,ogType:"website",ogTitle:k,ogDescription:b,ogImage:_}),{asset:d,bestsellers:v,reviews:w}},data(){return{flickityOptions:{wrapAround:!0,freeScroll:!0,initialIndex:0,autoPlay:!0,cellAlign:"left",imagesLoaded:!0,prevNextButtons:!0,arrowShape:"M8.04179e-06 43.8202L35.9033 7.99999L45.5696 16.0109L17.6065 43.8202L100 43.8202L100 56.2943L17.4914 56.2943L45.4545 83.9891L35.9033 92L6.95127e-06 56.2943L8.04179e-06 43.8202Z"},flickityOptionsMulti:{wrapAround:!0,freeScroll:!0,initialIndex:0,autoPlay:3e3,pauseAutoPlayOnHover:!0,contain:!0,cellAlign:"left",imagesLoaded:!0,adaptiveHeight:!1,pageDots:!1,prevNextButtons:!0,arrowShape:"M8.04179e-06 43.8202L35.9033 7.99999L45.5696 16.0109L17.6065 43.8202L100 43.8202L100 56.2943L17.4914 56.2943L45.4545 83.9891L35.9033 92L6.95127e-06 56.2943L8.04179e-06 43.8202Z"}}},methods:{next(){this.$refs.flickity.next()},previous(){this.$refs.flickity.previous()}}},"$fYU_nc9Y29"),ge={class:"product-detail asset-detail"},ve={class:"gallery hero"},we={class:"image"},ke={class:"main"},be={key:0,class:"tag"},$e={class:"col content"},De={key:0},Le={class:"banner"},Ae={class:"rich-text"},Ce={key:1,class:"info-table flex"},Se={class:"array align-right"},Be={class:"array"},xe={key:2,class:"more-about"},Pe={class:"description-intro"},Te={key:3},Me={class:"sub"},He={class:"reviews col-narrow col-med"},Ie={class:"col gallery multi"},Ne={class:"bestselling-fonts col-narrow col-med"},Oe={class:"section-head"},Ve={class:"font-list card flex internal-loved-font-cards"};function Ue(t,o,i,p,m,f){const d=P,v=V("flickity"),w=M,k=he,b=U,_=q,$=E,L=Z,A=I,C=z;return s(),n("div",ge,[e("div",null,[e("section",ve,[r(w,null,{default:u(()=>[r(v,{ref:"flickity",options:t.flickityOptions},{default:u(()=>[(s(!0),n(h,null,y(t.asset.images,a=>(s(),n("div",{key:a.id,class:"carousel-cell"},[e("div",we,[r(d,{url:a.image,description:a.description,size:"full-width"},null,8,["url","description"])])]))),128))]),_:1},8,["options"])]),_:1})]),e("section",ke,[t.asset.featureTag?(s(),n("span",be,l(t.asset.featureTag),1)):c("",!0),e("h1",null,l(t.asset.title),
11),e("div",$e,[r(k,{"item-data":t.asset,"item-type":"asset"},null,8,["item-data"]),t.asset.onSale?(s(),n("div",De,[e("div",Le,[e("p",null,[e("strong",null,l(t.asset.discountDescription),1)])])])):c("",!0),e("div",Ae,[r(b,{value:t.asset.intro},null,8,["value"])])]),t.asset.whatsIncluded?(s(),n("div",Ce,[o[0]||(o[0]=e("h3",null,"Asset specs",-1)),t.asset.whatsIncluded?(s(),D(_,{key:0,title:"In this pack","show-more":"See what's inside"},{default:u(()=>[e("span",Se,[(s(!0),n(h,null,y(t.asset.whatsIncluded,a=>(s(),n("div",{key:a},l(a),1))),128))])]),_:1})):c("",!0),t.asset.changelog?(s(),D(_,{key:1,title:"Changelog","show-more":"See updates"},{default:u(()=>[e("span",Be,[(s(!0),n(h,null,y(t.asset.changelog,a=>(s(),n("span",{key:a},l(a),1))),128))])]),_:1})):c("",!0)])):c("",!0),t.asset.descriptionLong?(s(),n("div",xe,[e("h3",null,"More about "+l(t.asset.title),1),e("p",Pe,l(t.asset.descriptionLong),1),o[1]||(o[1]=e("br",null,null,-1)),r($,{"item-data":t.asset,"item-type":"asset"},null,8,["item-data"])])):c("",!0),t.asset.descriptionLong?(s(),n("hr",Te)):c("",!0)]),e("section",Me,[e("div",He,[o[2]||(o[2]=e("div",{class:"col description"},[e("svg",{width:"32",height:"26",viewBox:"0 0 32 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M13.1959 25.3374H0V15.5446C0 5.61047 4.94845 1.42026 13.6672 0.337402L14.5155 4.62177C9.09573 5.56339 6.97496 7.82328 6.97496 13.7555H13.1959V25.3374ZM30.6804 25.3374H17.4845V15.5446C17.4845 5.61047 22.433 1.42026 31.1517 0.337402L32 4.62177C26.6274 5.56339 24.4595 7.82328 24.4595 13.7555H30.6804V25.3374Z",fill:"black"})]),e("h2",null,"What people are saying"),e("p",null,"Here are some lovely things that lovely people have said about Typeheist's handwritten fonts.")],-1)),e("div",Ie,[r(w,null,{default:u(()=>[r(v,{ref:"flickity",options:t.flickityOptionsMulti},{default:u(()=>[(s(!0),n(h,null,y(t.reviews,a=>(s(),D(L,{key:a.id,"review-data":a},null,8,["review-data"]))),128))]),_:1},8,["options"])]),_:1})])]),e("section",Ne,[e("div",Oe,[o[4]||(o[4]=e("h2",null,"Most loved fonts",-1)),r(A,{to:"/fonts/",title:"Shop all fonts",class:"btn secondary"},{default:u(()=>[...o[3]||(o[3]=[g("Shop all fonts →",-1)])]),_:1})]),e("div",Ve,[(s(!0),n(h,null,y(t.bestsellers,a=>
1(s(),D(C,{key:a.id,"font-data":a},null,8,["font-data"]))),128))])])])])])}const Ke=B(ye,[["render",Ue]]);export{Ke 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.