1import{j as a}from"./react-vendor-CxFuidrH.js";import{P as g}from"./Paper-ze2yZD0z.js";import{B as c}from"./Badge-BJuNVy2k.js";import{c as t,I as l,L as p}from"./Icon-BcUG61Mv.js";import{d as u}from"./components-C8EMDo2i.js";import{b}from"./urls-D7kLBPRk.js";const f={en:{label:"Journal",title:"Personalized song ideas and gift guides",home:"Home",by:"By",languages:"Read in another language",description:"Ideas for thoughtful gifts, stories worth keeping, and songs that feel personal.",read:"Read the story",back:"All stories",empty:"New stories are on their way.",loading:"Loading storyâ¦",missing:"Story not found",missingDescription:"This story is not available in this language. Explore the other stories in our journal.",updated:"Updated",more:"Keep reading",breadcrumbs:"Breadcrumb",all:"All",categories:"Categories",readingTime:e=>`${e} min read`,ctaTitle:"Turn your story into a song",ctaText:"A few sentences about the person and the occasion are enough. We write the lyrics and music and send the finished song to your email.",ctaButton:"Create your song"},bg:{label:"Ðлог",title:"Ðдеи за пеÑни по поÑÑÑка и лиÑни подаÑÑÑи",home:"ÐаÑало",by:"ÐÑ",languages:"ÐÑоÑеÑеÑе на дÑÑг език",description:"Ðдеи за лиÑни подаÑÑÑи, Ñпомени, коиÑо Ñи ÑÑÑÑва да запазиÑе, и пеÑни Ñ Ð²Ð°Ñа иÑÑоÑиÑ.",read:"ÐÑоÑеÑеÑе иÑÑоÑиÑÑа",back:"ÐÑиÑки иÑÑоÑии",empty:"СкоÑо Ñе има нови иÑÑоÑии.",loading:"ÐаÑеждане на иÑÑоÑиÑÑаâ¦",missing:"ÐÑÑоÑиÑÑа не е намеÑена",missingDescription:"Тази иÑÑоÑÐ¸Ñ Ð½Ðµ е налиÑна на Ñози език. РазгледайÑе дÑÑгиÑе иÑÑоÑии в блога.",updated:"Ðбновено",more:"ÐÑоÑеÑеÑе оÑе",breadcrumbs:"ÐавигаÑионна пÑÑека",all:"ÐÑиÑки",categories:"ÐаÑегоÑии",readingTime:e=>`${e} мин ÑеÑене`,ctaTitle:"ÐÑевÑÑнеÑе иÑÑоÑиÑÑа Ñи в пеÑен",ctaText:"ÐÑколко изÑеÑÐµÐ½Ð¸Ñ Ð·Ð° Ñовека и повода Ñа доÑÑаÑÑÑни. Ðие пиÑем ÑекÑÑа и мÑзикаÑа и изпÑаÑаме гоÑоваÑа пеÑен на ваÑÐ¸Ñ Ð¸Ð¼ÐµÐ¹Ð».",ctaButton:"СÑздайÑе ÑвоÑÑа пеÑен"},el:{label:"ÎÏÏοÏίεÏ",title:"ÎδÎÎµÏ Î³Î¹Î± ÏÏοÏÏÏικά ÏÏαγοÏδια και ξεÏÏÏιÏÏά δÏÏα",home:"ÎÏÏική",by:"ÎÏÏ",languages:"ÎιαβάÏÏε Ïε άλλη γλÏÏÏα",description:"ÎδÎÎµÏ Î³Î¹Î± ÏÏοÏÏÏικά δÏÏα, αναμνήÏÎµÎ¹Ï ÏοÏ
αξίζει να κÏαÏήÏεÏε και ÏÏαγοÏδια με Ïη δική ÏÎ±Ï Î¹ÏÏοÏία.",read:"ÎιαβάÏÏε Ïην ιÏÏοÏία",back:"ÎÎ»ÎµÏ Î¿Î¹ ιÏÏοÏίεÏ",empty:"ÎÎÎµÏ Î¹ÏÏοÏÎ¯ÎµÏ ÎÏÏονÏαι ÏÏνÏομα.",loading:"ΦÏÏÏÏÏη ιÏÏοÏίαÏâ¦",missing:"ΠιÏÏοÏία δεν βÏÎθηκε",missingDescription:"ÎÏ
Ïή η ιÏÏοÏία δεν είναι διαθÎÏιμη Ïε αÏ
Ïή Ïη γλÏÏÏα. ÎνακαλÏÏÏε ÏÎ¹Ï Ï
ÏÏλοιÏÎµÏ Î¹ÏÏοÏÎ¯ÎµÏ Î¼Î±Ï.",updated:"ÎνημεÏÏθηκε",more:"ÎιαβάÏÏε εÏίÏηÏ",breadcrumbs:"ÎιαδÏομή ÏλοήγηÏηÏ",all:"Îλα",categories:"ÎαÏηγοÏίεÏ",readingTime:e=>`${e} ${e===1?"λεÏÏÏ":"λεÏÏά"} ανάγνÏÏηÏ`,ctaTitle:"ÎάνÏε Ïην ιÏÏοÏία ÏÎ±Ï ÏÏαγοÏδι",ctaText:"ÎÏκοÏν Î»Î¯Î³ÎµÏ ÏÏοÏάÏÎµÎ¹Ï Î³Î¹Î± Ïον άνθÏÏÏο και Ïην ÏεÏίÏÏαÏη. ÎÎ¼ÎµÎ¯Ï Î³ÏάÏοÏ
με ÏοÏ
Ï ÏÏίÏοÏ
Ï ÎºÎ±Î¹ Ïη μοÏ
Ïική και ÏÏÎλνοÏ
με Ïο ÎÏοιμο ÏÏαγοÏδι ÏÏο email ÏαÏ.",ctaButton:"ΦÏιάξÏε Ïο ÏÏαγοÏδι ÏαÏ"}};function x(e){return f[e]??f.en}const m=["violet","coral","gold","blue"],h={violet:{ground:"bg-[#4B2E83] after:bg-[radial-gradient(ellipse_at_center,transparent_35%,#4B2E83e6_100%)]",pattern:"before:bg-[url('/pattern9.svg')]",ring:"border-[#ffffff26]",sleeve:"bg-[radial-gradient(ellipse_at_0%_100%,#f2c2d2,transparent_55%),linear-gradient(140deg,#d9c8f3,#a997d2)] text-[#342443]",shade:"[text-shadow:0.04em_0.06em_0_#e8dbfb99]",label:"bg-[#a18ac3]",labelCore:"bg-[#d0bdef]"},coral:{ground:"bg-[#F88378] after:bg-[radial-gradient(ellipse_at_center,transparent_35%,#F88378e6_100%)]",pattern:"before:bg-[url('/pattern3.svg')] before:invert",ring:"border-[#5a243133]",sleeve:"bg-[radial-gradient(ellipse_at_0%_100%,#ffe2b0,transparent_55%),linear-gradient(140deg,#fff1ea,#f5bfb2)] text-[#5a2431]",shade:"[text-shadow:0.04em_0.06em_0_#ffffffa6]",label:"bg-[#e9978c]",labelCore:"bg-[#ffd6cc]"},gold:{ground:"bg-[#FFD000] after:bg-[radial-gradient(ellipse_at_center,transparent_35%,#F5C4
100e6_100%)]",pattern:"before:bg-[url('/pattern1.svg')]",ring:"border-[#4a2a3b33]",sleeve:"bg-[radial-gradient(ellipse_at_100%_0%,#fbe3ec,transparent_55%),linear-gradient(140deg,#f5d9e3,#e2a9bd)] text-[#4a2a3b]",shade:"[text-shadow:0.04em_0.06em_0_#ffffffa6]",label:"bg-[#d98fa8]",labelCore:"bg-[#f5d9e3]"},blue:{ground:"bg-[#2b26c7] after:bg-[radial-gradient(ellipse_at_center,transparent_35%,#2b26c7e6_100%)]",pattern:"before:bg-[url('/pattern8.svg')]",ring:"border-[#ffffff26]",sleeve:"bg-[radial-gradient(ellipse_at_0%_100%,#c8f0ff,transparent_55%),linear-gradient(140deg,#e4e6ff,#a3aaf2)] text-[#1f1b5e]",shade:"[text-shadow:0.04em_0.06em_0_#ffffffa6]",label:"bg-[#8f97ea]",labelCore:"bg-[#d4d8ff]"}};function _(e){let r=0;for(const i of e)r=r*31+i.charCodeAt(0)>>>0;return m[r%m.length]}function v({post:e,align:r="center",className:i}){const s=h[e.cover?.color??_(e.translationKey)],o=e.cover?.icon??"music";return a.jsx("div",{"aria-hidden":"true",className:t("relative isolate overflow-hidden select-none","before:absolute before:inset-0 before:-z-2 before:bg-size-[220px] before:bg-repeat","after:absolute after:inset-0 after:-z-1",s.ground,s.pattern,i),children:a.jsxs("div",{className:"@container-size absolute inset-0",children:[a.jsx("div",{className:t("absolute top-1/2 left-1/2 -z-1 h-[58cqh] w-[min(150cqh,96cqw)] transform-[translate(-50%,-50%)_rotate(-14deg)] rounded-full border @max-[8rem]:hidden",s.ring)}),a.jsx("div",{className:t("absolute inset-0 flex items-center justify-center",r==="end"&&"@min-[8rem]:justify-end @min-[8rem]:pe-[9cqw]"),children:a.jsxs("div",{className:"relative flex items-center [--s:min(60cqh,44cqw)] @max-[8rem]:[--s:64cqmin]",children:[a.jsxs("div",{className:t("relative z-1 grid size-(--s) transform-[rotate(-7deg)] place-items-center rounded-xs border border-[#ffffff66] shadow-[0_2.5cqh_6cqh_#00000059]",s.sleeve),children:[a.jsx(l,{className:"fa-solid fa-star absolute top-[9%] left-[9%] text-[calc(var(--s)*0.08)] opacity-80 @max-[8rem]:hidden"}),a.jsx("span",{className:"absolute right-[9%] bottom-[10%] flex h-[calc(var(--s)*0.1)] items-end gap-[calc(var(--s)*0.022)] opacity-70 @max-[8rem]:hidden",children:[45,80,60,100,70,40].map((d,n)=>a.jsx("span",{className:"w-[calc(var(--s)*0.022)] rounded-full bg-current",style:{height:`${d}%`}},n))}),a.jsx(l,{className:t(`fa-solid fa-${o} text-[calc(var(--s)*0.4)]`,s.shade)})]}),a.jsx("div",{className:"relative ms-[calc(-0.5*var(--s))] grid size-[calc(var(--s)*0.92)] place-items-center rounded-full border border-[#ffffff21] bg-[conic-gradient(from_35deg,#ffffff00,#ffffff17,#ffffff00_25%,#ffffff00_50%,#ffffff1a,#ffffff00_75%),repeating-radial-gradient(circle,#18171d_0_2px,#29262f_3px,#18171d_4px)] shadow-[0_2cqh_5cqh_#00000059] [transition:transform_280ms_var(--ease-out)] @max-[8rem]:hidden motion-safe:pointer-fine:group-hover/post:transform-[translateX(12%)_rotate(40deg)]",children:a.jsx("div",{className:t("grid size-[36%] place-items-center rounded-full",s.label),children:a.jsx("div",{className:t("grid size-[72%] place-items-center rounded-full",s.labelCore),children:a.jsx("div",{className:"size-[16%] rounded-full bg-[#18171d]"})})})})]})})]})})}function j(e,r){return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}).format(new Date(`${e}T00:00:00Z`))}function y({post:e,className:r}){const i=x(e.locale);return a.jsxs("p",{className:t("m-0 flex flex-wrap items-center gap-x-4 gap-y-1 text-sm leading-normal text-dark-200",r),children:[a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(l,{"aria-hidden":"true",className:"fa-regular fa-calendar text-[13px] text-accent"}),a.jsx("time",{dateTime:e.date,children:j(e.date,e.locale)})]}),a.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[a.jsx(l,{"aria-hidden":"true",className:"fa-regular fa-clock text-[13px] text-accent"}),i.readingTime(e.readingMinutes)]})]})}function N(){const e=u("root"),r=e?.locale??"en",i=e?.domainConfig?.defaultLocale??"en";return s=>b(s,r,i)}function q({post:e,layout:r="card",headingLevel:i=2,className:s}){const o=N(),d=i===2?"h2":"h3",n=r==="feature";return a.jsxs(g,{component:"article",className:t("group/post relative isolate grid overflow-hidden wrap-break-word","[transition:background-color_180ms_ease,border-color_180ms_ease,transform_160ms_var(--ease-out)]","pointer-fine:hover:bg-[color-mix(in_srgb,#ffffff_4%,var(--color-surface))] pointer-fine:hover:[--paper-border-color:color-mix(in_srgb,var(--color-focus)_70%,transparent)]","has-[a:focus-visible]:outline-2 has-[a:focus-visible]:outline-offset-3 has-[a:focus-visible]:outline-focus","motion-safe:has-[a:active]:transform-[scale(0.97)]",n?"md:grid-cols-[minmax(0,1.15fr)_minmax(0,1fr)]":"grid-cols-[4.5rem_minmax(0,1fr)] gap-x-4 gap-y-2.5 p-4 sm:grid-cols-1 sm:grid-rows-[auto_1fr] sm:gap-0 sm:p-0",s),children:[a.jsx(v,{post:e,align:n?"center":"end",className:n?"aspect-16/10 md:aspect-auto md:min-
1h-100":"row-span-2 aspect-square self-start rounded sm:row-span-1 sm:aspect-5/2 sm:rounded-none"}),!n&&a.jsx(c,{variant:"chip",color:"black",className:"absolute top-3 left-3 bg-[#000000a6] max-sm:hidden",children:e.category}),a.jsxs("div",{className:n?"flex flex-col justify-center gap-3 p-5 max-xs:p-4 md:gap-4 md:p-10":"contents sm:flex sm:flex-col sm:gap-2.5 sm:p-5",children:[a.jsx(c,{variant:"chip",className:t("self-start",!n&&"self-end sm:hidden"),children:e.category}),a.jsx(d,{className:t("m-0 font-extrabold text-balance",n?"text-[clamp(26px,3vw,36px)] leading-[1.15] tracking-[-0.03em]":"self-start text-[17px] leading-[1.3] tracking-[-0.02em] sm:text-[19px]"),children:a.jsx(p,{to:o(`/blog/${e.slug}`),className:"text-inherit no-underline outline-none after:absolute after:inset-0 after:z-1",children:e.title})}),a.jsx("p",{className:t("m-0 text-pretty text-dark-100",n?"text-lg leading-relaxed":"col-span-2 text-[15px] leading-normal sm:leading-[1.55]"),children:e.description}),a.jsx(y,{post:e,className:n?"pt-2":"col-span-2 sm:mt-auto sm:pt-1"})]})]})}export{v as B,q as P,y as a,j as f,x as g,N as u};
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.