PageSourceSearch

https://getjuicy.app/_nuxt/37CIABbR.js

js getjuicy.app collected 2026-10-04 12:36:38 UTC 22,939 bytes, 35 lines download raw bytes

1import{l as R,f as $,s as A,o as l,c as d,i as t,t as c,w as v,h as D,y as m,g as r,j as _,F as j,z as P,A as J,b as S,B as H,d as q,_ as nt,m as V,a6 as W,v as Y,n as G,I as rt,H as at,V as it}from"./DzF1rGMu.js";import{b as O,c as K,_ as Q,n as lt,f as dt,a as ct,d as pt,e as mt,h as ut}from"./DSnT9iA9.js";import{_ as gt}from"./D5cJCZrN.js";import ft from"./DfE9niFE.js";import X from"./C0Ia8fBQ.js";import{D as Z}from"./C9VslxpC.js";import{u as tt}from"./C9Dd6pH_.js";import"./Bo53brUI.js";import"./DM-DcReg.js";import"./D4T8yyWH.js";import"./DNEjQg80.js";import"./BcJFnByq.js";import"./AQvKg9iT.js";import"./ByQlfZTQ.js";const et=""+new URL("juicy-cta-blog.uMSffgW9.webp",import.meta.url).href,ht={class:"w-full md:w-[1000px] pt-8 pb-20 mx-auto relative"},bt={class:"relative flex flex-col items-center justify-center w-full"},xt={class:"w-11/12 sm:w-full border border-green-500/30 bg-gradient-to-br from-green-900/20 to-green-950/30 rounded-3xl p-3"},_t={class:"relative z-10 flex flex-col items-center justify-center scale-105"},wt={class:"px-4 py-1 text-xs border rounded-full text-green-300 bg-green-500/10 border-green-500/30"},yt={class:"w-10/12 mt-4 font-apple-rounded text-xl font-medium tracking-normal text-center text-white sm:text-5xl !leading-[1.2]"},vt={class:"mt-2 text-sm text-white/50"},kt={key:0,class:"mt-1 text-xs text-white/40"},Ft={class:"relative h-full mt-12 blog-grid"},$t={class:"col-start-1 col-end-3 px-6 sm:px-0 sm:col-start-1 sm:col-end-1"},Tt={key:0,class:"mt-12"},Bt={key:1,class:"mt-12"},At={class:"space-y-4"},Dt={class:"text-base font-apple-rounded font-semibold text-white"},jt=["innerHTML"],Pt={class:"sm:block hidden col-span-1 relative"},Ct={class:"sticky top-20 space-y-8"},It={key:0,class:"w-full pr-2 backdrop-blur-[1px]"},Ut={class:"mt-3 list-decimal list-inside"},St=["href"],Lt={class:"mb-3"},Mt={class:"w-11/12 border rounded-lg border-green-500/30 bg-gradient-to-br from-green-900/20 to-green-950/30 p-3 backdrop-blur-[1px]"},Rt={class:"flex mt-4 rounded-md shadow-sm"},zt=["href"],Nt={key:1,class:"w-11/12"},Ot={class:"mt-8"},Et={class:"flex items-center justify-start mt-4"},Jt=["href"],Ht=["href"],qt=["href"],Vt={key:0,class:"max-w-lg px-5 pb-20 mx-auto mt-5 sm:-mt-4 lg:max-w-5xl sm:px-0"},Wt={class:"pb-3 mt-10 border-b border-white/10 sm:flex sm:items-center sm:justify-between"},Yt={class:"flex mt-3 sm:mt-0 sm:ml-4"},Gt={class:"grid gap-8 mt-4 mb-10 lg:grid-cols-3"},M="https://getjuicy.app",Kt=R({__name:"MarkdownPost",props:{post:{},related:{}},setup(C){var n,f;const s=C,u=`${M}/blog/${s.post.slug}`,I=$(()=>O(s.post)),h={dom:"Dominik, maker of Juicy"}[s.post.author||""]||"Dominik, maker of Juicy",i=`By ${h}`,k=$(()=>s.post.dateUpdated&&s.post.dateUpdated!==s.post.datePublished?`Updated ${p(s.post.dateUpdated)}`:"");function p(o){return o?new Date(o).toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric"}):""}const g=$(()=>{var o;return(((o=s.post.toc)==null?void 0:o.links)||[]).filter(e=>!e.depth||e.depth===2)}),B=$(()=>(s.related||[]).map(o=>({id:o.slug,slug:o.slug,title:o.title,categories:[O(o)],readingTime:o.readingTime,preview:o.description,datePublished:o.datePublished,image:o.image}))),T=s.post.image?`${M}${s.post.image}`:`${M}/img/landing/Juicy_Meta.png`;A({link:[{rel:"canonical",href:u}],meta:(n=s.post.keywords)!=null&&n.length?[{name:"keywords",content:s.post.keywords.join(", ")}]:[]}),A({title:s.post.title,titleTemplate:"%s",meta:[{name:"description",content:s.post.description},{property:"og:title",content:s.post.title},{property:"og:description",content:s.post.description},{property:"og:type",content:"article"},{property:"og:image",content:T},{property:"og:url",content:u},{name:"twitter:title",content:s.post.title},{name:"twitter:description",content:s.post.description},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:image",content:T},{property:"article:published_time",content:s.post.datePublished},{property:"article:modified_time",content:s.post.dateUpdated||s.post.datePublished},{name:"author",content:h}]});const a=[];return(f=s.post.faq)!=null&&f.length&&a.push({type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:s.post.faq.map(o=>
1({"@type":"Question",name:o.q,acceptedAnswer:{"@type":"Answer",text:o.a.replace(/<[^>]+>/g,"")}}))})}),s.post.video&&a.push({type:"application/ld+json",innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"VideoObject",name:s.post.title,description:s.post.description,thumbnailUrl:`https://i.ytimg.com/vi/${s.post.video}/hqdefault.jpg`,embedUrl:`https://www.youtube-nocookie.com/embed/${s.post.video}`,uploadDate:s.post.datePublished})}),a.length&&A({script:a}),(o,e)=>{var z,N;const y=H,b=q,U=K,F=gt,L=ft,ot=X,st=Q;return l(),d("div",null,[t("article",ht,[t("div",bt,[e[1]||(e[1]=t("div",{class:"absolute inset-x-0 overflow-hidden -top-40 -z-10 transform-gpu blur-3xl sm:-top-80","aria-hidden":"true"},[t("div",{class:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#76b545] via-[#a8d15f] to-[#5dc988] opacity-20 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]",style:{"clip-path":`polygon(
2                74.1% 44.1%,
3                100% 61.6%,
4                97.5% 26.9%,
5                85.5% 0.1%,
6                80.7% 2%,
7                72.5% 32.5%,
8                60.2% 62.4%,
9                52.4% 68.1%,
10                47.5% 58.3%,
11                45.2% 34.5%,
12                27.5% 76.7%,
13                0.1% 64.9%,
14                17.9% 100%,
15                27.6% 76.8%,
16                76.1% 97.7%,
17                74.1% 44.1%
18              )`}})],-1)),t("div",xt,[c(U,{image:o.post.image,alt:o.post.title,class:"h-[250px] sm:h-[400px] shadow-lg"},{default:v(()=>[c(b,{to:"/blog",class:"absolute flex items-center justify-center px-2 py-1 text-xs text-white transition transform border rounded-full opacity-40 hover:opacity-100 hover:rotate-[-4deg] top-3 left-3 border-white/40 z-10"},{default:v(()=>[c(y,{name:"heroicons:chevron-left",color:"white",size:"14"}),e[0]||(e[0]=D(" Articles "))]),_:1}),t("div",_t,[t("div",wt,m(r(I)),1),t("h1",yt,m(o.post.title),1),t("span",vt,m(p(o.post.datePublished))+" • "+m(o.post.readingTime)+" read ",1),i||r(k)?(l(),d("span",kt,m([i,r(k)].filter(Boolean).join(" • ")),1)):_("",!0)])]),_:1},8,["image","alt"])])]),t("div",Ft,[t("div",$t,[c(F,{body:o.post.body},null,8,["body"]),o.post.video?(l(),d("section",Tt,[e[2]||(e[2]=t("h2",{class:"text-2xl font-apple-rounded font-medium text-white mb-2"}," Prefer to watch? The 60-second version ",-1)),c(L,{id:o.post.video,title:o.post.title},null,8,["id","title"])])):_("",!0),(z=o.post.faq)!=null&&z.length?(l(),d("section",Bt,[e[3]||(e[3]=t("h2",{class:"text-2xl font-apple-rounded font-medium text-white mb-5"}," Frequently asked questions ",-1)),t("div",At,[(l(!0),d(j,null,P(o.post.faq,x=>(l(),d("div",{key:x.q,class:"rounded-2xl border border-green-500/20 bg-green-500/5 p-5"},[t("h3",Dt,m(x.q),1),t("p",{class:"mt-2 text-[15px] leading-relaxed text-white/70",innerHTML:x.a},null,8,jt)]))),128))])])):_("",!0)]),t("aside",Pt,[t("div",Ct,[r(g).length?(l(),d("div",It,[e[4]||(e[4]=t("span",{class:"text-sm tracking-wider font-medium text-white/80 uppercase font-apple"}," Covered Topics ",-1)),t("ul",Ut,[(l(!0),d(j,null,P(r(g),x=>(l(),d("a",{key:x.id,href:`#${x.id}`,class:"text-sm text-white/60 transition hover:font-medium hover:text-green-400"},[t("li",Lt,m(x.text),1)],8,St))),128))])])):_("",!0),t("div",Mt,[e[6]||(e[6]=J('<p class="text-xs text-green-300 font-semibold mb-0.5" data-v-36f0a863> Battery App for Mac </p><span class="font-apple text-[1.05rem] font-bold text-white" data-v-36f0a863>Keep Your Mac&#39;s Battery <span class="text-white" data-v-36f0a863>Juicy</span></span><img src="'+et+'" width="1200" height="628" alt="Get Juicy Mac Battery App Today" class="rounded-lg mb-3 mt-2 w-full object-cover aspect-video shadow-md border border-green-400/20" loading="lazy" data-v-36f0a863><ul class="mt-2.5 list-none list-inside text-sm text-white/70" data-v-36f0a863><li class="mb-2" data-v-36f0a863><span class="text-green-400" data-v-36f0a863>●</span><span class="ml-2" data-v-36f0a863>Beautiful battery alerts at any percentage (3%, 5%, 20%, 80%)</span></li><li class="mb-2" data-v-36f0a863><span class="text-green-400" data-v-36f0a863>●</span><span class="ml-2" data-v-36f0a863>Battery health tracking &amp; temperature monitoring</span></li><li class="mb-2" data-v-36f0a863><span class="text-green-400" data-v-36f0a863>●</span><span class="ml-2" data-v-36f0a863>Customizable menu bar icon for your battery</span></li><li data-v-36f0a863><span class="text-green-400" data-v-36f0a863>●</span><span class="ml-2" data-v-36f0a863>Featured by Apple, 4.9★ rating</span></li></ul>',4)),t("span",Rt,[t("a",{href:r(Z),target:"_blank",class:"flex items-center brand-btn-animation font-apple justify-center w-full px-3 py-1 text-base font-thin leading-6 text-white whitespace-no-wrap transition duration-150 ease-in-out rounded-md opacity-100 cursor-pointer bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400"},e[5]||(e[5]=[t("strong",{class:"mr-1 font-semibold"},"Download Juicy →",-1)]),8,zt)])]),o.post.tool?(l(),d("div",Nt,[c(b,{to:o.post.tool,class:"block rounded-lg border border-white/10 bg-white/5 p-3 text-sm text-white/70 transition hover:border-green-500/30 hover:text-white"},{default:v(()=>
18e[7]||(e[7]=[t("span",{class:"block text-xs uppercase tracking-wider text-white/40 mb-1"},"Free tool",-1),D(" Try the interactive version of this guide → ")])),_:1},8,["to"])])):_("",!0),t("div",Ot,[e[11]||(e[11]=t("span",{class:"text-sm tracking-wider font-apple font-medium text-white/80 uppercase"}," Share This Article ",-1)),t("div",Et,[t("a",{href:`https://twitter.com/intent/tweet?url=${encodeURIComponent(u)}&text=${encodeURIComponent(o.post.title)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 mr-4 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},e[8]||(e[8]=[t("img",{width:"18",src:"https://img.icons8.com/?size=100&id=A4DsujzAX4rw&format=png&color=FFFFFF",alt:"Share this article on Twitter"},null,-1)]),8,Jt),t("a",{href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(u)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 mr-4 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},e[9]||(e[9]=[t("img",{width:"20",src:"https://img.icons8.com/ios-glyphs/60/FFFFFF/facebook-new.png",alt:"Share this article on Facebook"},null,-1)]),8,Ht),t("a",{href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(u)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},e[10]||(e[10]=[t("img",{width:"16",src:"https://img.icons8.com/ios-filled/50/FFFFFF/linkedin-2--v1.png",alt:"Share this article on LinkedIn"},null,-1)]),8,qt)])])])])])]),c(ot,{class:"-mt-10 sm:mt-0 sm:max-w-5xl mx-auto px-2 w-[95%]"}),(N=o.related)!=null&&N.length?(l(),d("div",Vt,[t("div",Wt,[e[13]||(e[13]=t("h3",{class:"text-2xl leading-6 text-white font-apple font-semibold"}," Related Articles For You ",-1)),t("div",Yt,[c(b,{to:"/blog",class:"inline-flex items-center bg-green-500/10 border border-green-500/30 px-2 py-1 rounded-lg ml-3 text-sm font-medium text-green-400 hover:text-green-300"},{default:v(()=>e[12]||(e[12]=[D(" View All Posts → ")])),_:1})])]),t("div",Gt,[(l(!0),d(j,null,P(r(B),x=>(l(),S(st,{key:x.slug,post:x},null,8,["post"]))),128))])])):_("",!0)])}}}),Qt=Object.assign(nt(Kt,[["__scopeId","data-v-36f0a863"]]),{__name:"BlogMarkdownPost"}),Xt={key:0,class:"w-full md:w-[1000px] pt-8 pb-20 mx-auto relative"},Zt={class:"relative flex flex-col items-center justify-center w-full"},te={class:"w-11/12 sm:w-full border border-green-500/30 bg-gradient-to-br from-green-900/20 to-green-950/30 rounded-3xl p-3"},ee={class:"relative z-10 flex flex-col items-center justify-center scale-105"},oe={class:"px-4 py-1 text-xs border rounded-full text-green-300 bg-green-500/10 border-green-500/30"},se={class:"w-10/12 mt-4 font-apple-rounded text-xl font-medium tracking-normal text-center text-white sm:text-5xl !leading-[1.2]"},ne={class:"mt-2 text-sm text-white/50"},re={class:"relative h-full mt-12 blog-grid"},ae={class:"col-start-1 col-end-3 px-6 prose sm:prose-lg prose-h1:font-apple-rounded prose-h2:font-apple-rounded prose-h3:font-apple-rounded sm:px-0 sm:col-start-1 sm:col-end-1 blogPost"},ie={ref:"stickyAside",class:"sm:block hidden col-span-1 relative"},le={class:"sticky top-20 space-y-8"},de={class:"w-full pr-2 backdrop-blur-[1px]"},ce={key:0,class:"mt-3 list-decimal list-inside"},pe=["href"],me={class:"mb-3"},ue={class:"w-11/12 border rounded-lg border-green-500/30 bg-gradient-to-br from-green-900/20 to-green-950/30 p-3 backdrop-blur-[1px] flex flex-col items-center"},ge={class:"flex mt-4 rounded-md shadow-sm"},fe=["href"],he={class:"mt-8"},be={class:"flex items-center justify-start mt-4"},xe=["href"],_e=["href"],we=["href"],ye={class:"max-w-lg px-5 pb-20 mx-auto mt-5 sm:-mt-4 lg:max-w-5xl sm:px-0"},ve={key:0,class:"contents"},ke={class:"pb-3 mt-10 border-b border-white/10 sm:flex sm:items-center sm:justify-between"},Fe={class:"flex mt-3 sm:mt-0 sm:ml-4"},$e={class:"grid gap-8 mt-4 mb-10 lg:grid-cols-3"},Te="2dd3367b70e58097a6fccdaffed06914",Be="a61a30bd-677b-4bab-b5c8-1863fec1f096",E="https://notion-api.sevendegrees.workers.dev/v1",Ae=R({__name:"NotionPost",props:{slug:{}},async setup(C){let s,u;const I=C,w=V(null),h=I.slug,{data:i,error:k}=([s,u]=W(async()=>tt(`blog-page-data-${h}`,async()=>{const a=await ct(Te+`?spaceId=${Be}`,E);if(!a||!Array.isArray(a))throw new Error("Failed to fetch blog posts");const n=a.find(e=>e.published&&e.slug===h);if(!n)throw new Error("Post not found");const f=await pt(n.id,E);if(!f||f.error)throw new Error("Post content not found");const o=a.filter(e=>{var y,b;return e.published&&e.slug!==h&&((y=e.categories)==null?void 0:y[0])===((b=n.categories)==null?void 0:b[0])}).sort((e,y)=>{const b=new Date(e.date);return new Date(y.date).getTime()-b.getTime()});return{blockMap:f,page:n,suggestedPages:o}})),s=await s,u(),s);k.value;const p=$(()=>{var a;return(a=i.value)==null?void 0:a.page.title}),g=$(()=>{var a;return(a=i.value)==null?void 0:a.page.preview});$(()=>{var a;return`https://og.tailgraph.com/og?fontFamily=DM%20Serif%20Display&title=${encodeURIComponent(((a=i.value)==null?void 0:a.page.title)||"")}&titleTailwind=text-white%20font-bold%20text-6xl&textFontFamily=Inter&text=${encodeURIComponent("Juicy – Mac Battery Health & Alerts")}&textTailwind=text-green-300%20text-xl%20mt-4%20mx-auto%20w-8/12&bgTailwind=bg-gradient-to-br%20from-green-900%20to-black&logoTailwind=mx-auto%20w-32%20mb-4`});const B=Y();A(()=>({link:[{rel:"canonical",href:"https://getjuicy.app"+B.path}]})),A({title:p,titleTemplate:"%s",meta:[{name:"description",content:g},{property:"og:title",content:p},{property:"og:description",content:g},{property:"og:type",content:"article"},{name:"twitter:title",content:p},{name:"twitter:description",content:g},{name:"twitter:card",content:"summary_large_image"},{property:"article:published_time",content:()=>{var a;return(a=i.value)==null?void 0:a.page.datePublished}},{property:"article:modified_time",content:()=>{var a,n;return((a=i.value)==null?void 0:a.page.updatedDate)||((n=i.value)==null?void 0:n.page.datePublished)}},{name:"author",content:"Dominik from Juicy"}]}),G(()=>{w.value=T()});function T(){const a=document.getElementsByClassName("notion-h2");let n=[];
18for(const f of a){const o=f.innerText.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,""),e=o.replace(/\s+/g,"-").toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g,"");f.id=e,n.push({title:o,id:e})}return n}return(a,n)=>{const f=H,o=q,e=K,y=rt,b=X,U=Q;return l(),d("div",null,[r(i)?(l(),d("article",Xt,[t("div",Zt,[n[1]||(n[1]=t("div",{class:"absolute inset-x-0 overflow-hidden -top-40 -z-10 transform-gpu blur-3xl sm:-top-80","aria-hidden":"true"},[t("div",{class:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#76b545] via-[#a8d15f] to-[#5dc988] opacity-20 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]",style:{"clip-path":`polygon(
19                74.1% 44.1%,
20                100% 61.6%,
21                97.5% 26.9%,
22                85.5% 0.1%,
23                80.7% 2%,
24                72.5% 32.5%,
25                60.2% 62.4%,
26                52.4% 68.1%,
27                47.5% 58.3%,
28                45.2% 34.5%,
29                27.5% 76.7%,
30                0.1% 64.9%,
31                17.9% 100%,
32                27.6% 76.8%,
33                76.1% 97.7%,
34                74.1% 44.1%
35              )`}})],-1)),t("div",te,[c(e,{class:"h-[250px] sm:h-[400px] shadow-lg"},{default:v(()=>[c(o,{to:"/blog",class:"absolute z-10 flex items-center justify-center px-2 py-1 text-xs text-white transition transform border rounded-full opacity-40 hover:opacity-100 hover:rotate-[-4deg] top-3 left-3 border-white/40"},{default:v(()=>[c(f,{name:"heroicons:chevron-left",color:"white",size:"14"}),n[0]||(n[0]=D(" Articles "))]),_:1}
35),t("div",ee,[t("div",oe,m(r(lt)(r(i).page.categories[0])),1),t("h1",se,m(r(i).page.title),1),t("span",ne,m(new Date(r(i).page.datePublished).toLocaleString("en-US",{weekday:"long",year:"numeric",month:"short",day:"numeric"}))+" • "+m(r(i).page.readingTime)+" read ",1)])]),_:1})])]),t("div",re,[t("div",ae,[c(r(dt),{class:"!-mt-8 sm:!-mt-6",blockMap:r(i).blockMap},null,8,["blockMap"])]),t("aside",ie,[t("div",le,[t("div",de,[n[2]||(n[2]=t("span",{class:"text-sm tracking-wider font-medium text-white/80 uppercase font-apple"},"Covered Topics",-1)),c(y,null,{default:v(()=>[w.value?(l(),d("ul",ce,[(l(!0),d(j,null,P(w.value,(F,L)=>(l(),d("a",{href:`#${F.id}`,key:L,class:"text-sm text-white/60 transition hover:font-medium scrollactive-item hover:text-green-400"},[t("li",me,m(F.title),1)],8,pe))),128))])):_("",!0)]),_:1})]),t("div",ue,[n[4]||(n[4]=J('<img src="'+et+'" width="1200" height="628" alt="Get Juicy Mac Battery App Today" class="rounded-lg mb-3 mt-2 w-full object-cover aspect-video shadow-md border border-green-400/20" loading="lazy"><p class="text-xs text-green-300 font-semibold mb-0.5"> Battery App for Mac </p><span class="font-apple text-[1.05rem] font-bold text-white">Keep Your Mac&#39;s Battery <span class="text-white">Juicy</span></span><ul class="mt-2.5 list-none list-inside text-sm text-white/70"><li class="mb-2"><span class="text-green-400">●</span><span class="ml-2">Beautiful battery alerts at any percentage (3%, 5%, 20%, 80%)</span></li><li class="mb-2"><span class="text-green-400">●</span><span class="ml-2">Battery health tracking &amp; temperature monitoring</span></li><li class="mb-2"><span class="text-green-400">●</span><span class="ml-2">Customizable menu bar icon for your battery</span></li><li><span class="text-green-400">●</span><span class="ml-2">Featured by Apple, 4.9★ rating</span></li></ul>',4)),t("span",ge,[t("a",{href:r(Z),target:"_blank",class:"flex items-center brand-btn-animation font-apple justify-center w-full px-3 py-1 text-base font-thin leading-6 text-white whitespace-no-wrap transition duration-150 ease-in-out rounded-md opacity-100 cursor-pointer bg-gradient-to-r from-green-600 to-green-500 hover:from-green-500 hover:to-green-400"},n[3]||(n[3]=[t("strong",{class:"mr-1 font-semibold"},"Download Juicy →",-1)]),8,fe)])]),t("div",he,[n[8]||(n[8]=t("span",{class:"text-sm tracking-wider font-apple font-medium text-white/80 uppercase"},"Share This Article",-1)),t("div",be,[t("a",{href:`https://twitter.com/intent/tweet?url=${encodeURIComponent("https://getjuicy.app/blog/"+r(i).page.slug)}&text=${encodeURIComponent(r(i).page.preview)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 mr-4 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},n[5]||(n[5]=[t("img",{width:"18",src:"https://img.icons8.com/?size=100&id=A4DsujzAX4rw&format=png&color=FFFFFF",alt:"Share this article on Twitter"},null,-1)]),8,xe),t("a",{href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent("https://getjuicy.app/blog/"+r(i).page.slug)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 mr-4 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},n[6]||(n[6]=[t("img",{width:"20",src:"https://img.icons8.com/ios-glyphs/60/FFFFFF/facebook-new.png",alt:"Share this article on Facebook"},null,-1)]),8,_e),t("a",{href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent("getjuicy.app/blog/"+r(i).page.slug)}`,target:"_blank",class:"flex items-center justify-center w-10 h-10 transform border border-green-500/30 rounded-full cursor-pointer hover:bg-green-500/10 hover:scale-105"},n[7]||(n[7]=[t("img",{width:"16",src:"https://img.icons8.com/ios-filled/50/FFFFFF/linkedin-2--v1.png",alt:"Share this article on LinkedIn"},null,-1)]),8,we)])])])],512)])])):_("",!0),c(b,{class:"-mt-10 sm:mt-0 sm:max-w-5xl mx-auto px-2 w-[95%]"}),t("div",ye,[r(i)&&r(i).suggestedPages&&r(i).suggestedPages.length>0?(l(),d("div",ve,[t("div",ke,[n[10]||(n[10]=t("h3",{class:"text-2xl leading-6 text-white font-apple font-semibold"}," Related Articles For You ",-1)),t("div",Fe,[c(o,{to:"/blog",class:"inline-flex items-center bg-green-500/10 border border-green-500/30 px-2 py-1 rounded-lg ml-3 text-sm font-medium text-green-400 hover:text-green-300"},{default:v(()=>n[9]||(n[9]=[D(" View All Posts → ")])),_:1})])]),t("div",$e,[(l(!0),d(j,null,P(r(i).suggestedPages,F=>(l(),S(U,{key:F.title,post:F},null,8,["post"]))),128))])])):_("",!0)])])}}}),De=Object.assign(Ae,{__name:"BlogNotionPost"}),je={class:"wrapper relative"},qe=R({__name:"[slug]",async setup(C){let s,u;const w=Y().params.slug,{data:h}=([s,u]=W(async()=>tt(`blog-md-${w}`,async()=>{const p=await mt(w,"en");if(!p)return null;const g=await ut(p,3);return{post:p,related:g}})),s=await s,u(),s),i=V(0);function k(){const p=window.pageYOffset||document.documentElement.scrollTop,g=document.documentElement.scrollHeight-document.documentElement.clientHeight;i.value=p/g*100}return G(()=>{window.addEventListener("scroll",k)}),at(()=>{window.removeEventListener("scroll",k)}),(p,g)=>{const B=Qt,T=De;return l(),d("div",je,[t("div",{class:"fixed top-0 left-0 h-1 z-10 bg-gradient-to-r from-green-600 to-green-400",style:it({width:i.value+"%"})},null,4),r(h)?(l(),S(B,{key:0,post:r(h).post,related:r(h).related},null,8,["post","related"])):(l(),S(T,{key:1,slug:r(w)},null,8,["slug"]))])}}});
35export{qe 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.