1import{_ as R}from"./C17z1vNV.js";import{_ as S,A as V}from"./HEUgflCS.js";import{_ as A}from"./BmAKRj74.js";import{b as H,_ as Y}from"./RjgMixz7.js";import{_ as M}from"./TbEwlrWZ.js";import{be as s,bt as y,bj as i,bg as e,bi as a,bk as m,bh as o,bu as x,bf as l,bl as q,bd as U,br as d,bx as K,by as v,bB as P,bC as T,bz as h,bs as z}from"./fVvY2HVl.js";import{_ as Q,a as X}from"./Jtfk98KF.js";import{_ as J}from"./Bx40Aqjg.js";import{_ as W}from"./B7GQvB19.js";import{g as Z}from"./CCSr80kL.js";import{B as ee}from"./BiiIfv6m.js";import{G as te}from"./CW-q00DG.js";import{u as oe}from"./CJSVKQqf.js";import{u as se}from"./B-A0EbVl.js";import{u as ne}from"./DoRXopo5.js";import"./DaSEcwHR.js";import"./CTB-hnmz.js";import"./Di5gEuZi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"7b68865ddb6ca899aadaf6e8a6f4b3c6e383cfc3"};var g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="d559ed00-d9a2-4711-95ee-1f5170710df9",t._sentryDebugIdIdentifier="sentry-dbid-d559ed00-d9a2-4711-95ee-1f5170710df9")}catch{}})();const ae={name:"MktBlogItemLarge",props:{...H()}},le={class:"mb-6"},ie={class:"flex items-baseline space-x-3 mb-3"},de=["textContent"],re={class:"flex flex-col font-medium space-y-1 xl:space-y-2"},ce=["textContent"],ue=["textContent"];function _e(t,g,$,w,c,B){const f=R,p=S,u=A;return s(),y(u,{to:t.$localePath(`/${t.uri}`)},{default:i(()=>[e("div",le,[a(f,{asset:t.headerImage[0],border:"",crop:"",rounded:""},null,8,["asset"])]),e("div",ie,[t.postType.length?(s(),y(p,{key:0,class:"bg-green-300/50"},{default:i(()=>[m(o(t.postType[0].title),1)]),_:1})):x("",!0),e("span",{class:"font-medium text-sm leading-none uppercase text-navy-100/30",textContent:o(t.readingTime)},null,8,de)]),e("div",re,[e("h3",{class:"text-4xl leading-tight",textContent:o(t.title)},null,8,ce),e("span",{class:"text-base text-navy-100/60",textContent:o(t.author.fullName)},null,8,ue)])]),_:1},8,["to"])}const me=Object.assign(M(ae,[["render",_e]]),{__name:"MktBlogItemLarge"}),pe={name:"MktBlogItemCompact",props:{...H()}},ge={class:"flex flex-col flex-grow"},fe={class:"flex items-baseline space-x-3 mb-3"},be=["textContent"],he=["textContent"],ye=["textContent"],ve={class:"image flex-none"},xe={class:"w-full"};function $e(t,g,$,w,c,B){const f=S,p=R,u=A;return s(),y(u,{to:t.$localePath(`/${t.uri}`),class:"flex space-x-3 xl:space-x-5"},{default:i(()=>[e("div",ge,[e("div",fe,[t.postType.length?(s(),y(f,{key:0,class:"bg-green-300/50"},{default:i(()=>[m(o(t.postType[0].title),1)]),_:1})):x("",!0),e("span",{class:"font-medium text-sm leading-none uppercase text-navy-100/30",textContent:o(t.readingTime)},null,8,be)]),e("h3",{class:"mb-2 font-medium",textContent:o(t.title)},null,8,he),e("span",{class:"font-medium text-base leading-none text-navy-100/60",textContent:o(t.author.fullName)},null,8,ye)]),e("div",ve,[e("div",xe,[a(p,{asset:t.headerImage[0],border:"",crop:"",rounded:""},null,8,["asset"])])])]),_:1},8,["to"])}const ke=Object.assign(M(pe,[["render",$e],["__scopeId","data-v-2dca235e"]]),{__name:"MktBlogItemCompact"}),Ie={name:"MktBlogItemFeatured",props:{...H()}},Pe={class:"grid-container"},Te={class:"grid-item w-full lg:w-7/12"},we={class:"grid-item w-full lg:w-5/12"},Be={class:"flex items-baseline space-x-3 mb-3"},Ce=["textContent"],Ae={class:"flex flex-col font-medium space-y-1 lg:space-y-2"},Me=["textContent"],Ge=["textContent"],Ne=["textContent"];function Ee(t,g,$,w,c,B){const f=R,p=A,u=S;return s(),l("div",Pe,[e("div",Te,[a(p,{to:t.$localePath(`/${t.uri}`),class:"block mb-6"},{default:i(()=>[a(f,{asset:t.headerImage[0],border:"",crop:"",rounded:""},null,8,["asset"])]),_:1},8,["to"])]),e("div",we,[e("div",Be,[t.postType.length?(s(),y(u,{key:0,class:"bg-green-300/50"},{default:i(()=>[m(o(t.postType[0].title),1)]),_:1})):x("",!0),e("span",{class:"font-medium text-sm leading-none uppercase text-navy-100/30",textContent:o(t.readingTime)},null,8,Ce)]),e("div",Ae,[e("h3",{class:"text-4xl leading-tight",textContent:o(t.title)},null,8,Me),e("span",{class:"text-base text-navy-100/60",textContent:o(t.author.fullName)},null,8,Ge),e("p",{class:"summary text-black/80",textContent:o(t.summary)},null,8,Ne),a(p,{to:t.$localePath(`/${t.uri}`),class:"font-medium uppercase underline opacity-50 hover:opacity-100 transition-opacity duration-75"},{default:i(()=>[m(o(t.$t("components.blogItemFeatured.buttons.continueReading")),1)]),_:1},8,["to"])])])])}const Le=Object.assign(M(Ie,[["render",Ee],["__scopeId","data-v-7f0d9e3e"]]),{__name:"MktBlogItemFeatured"}),De=Z` 2 query getBlogIndex($country: [QueryArgument]) { 3 blogPosts: entries( 4 section: "blog" 5 orderBy: "dateCreated DESC" 6 limit: 9 7 isHidden: false 8 country: $country 9 ) { 10 ...BlogPost 11 } 12 blogTopics: categories(group: "blogTopics") { 13 ... on blogTopics_Category { 14 id 15 title 16 } 17 } 18 page: entry(section: "blogIndex", country: $country) { 19 ... on blogIndex_blogIndex_Entry { 20 featuredAuthors: blog_featuredAuthors { 21 ...Author 22 } 23 featuredGuides: blog_featuredGuides { 24 ...Guide 25 } 26 featuredPost: blog_featuredPost { 27 ...BlogPost 28 } 29 trendingPosts: blog_trendingPosts { 30 ...BlogPost 31 } 32 } 33 } 34 } 35 ${V} 36 ${ee} 37 ${te} 38`,Fe={key:0,class:"adi:blog"},Oe={class:"content-padding"},Re={class:"grid-container"},Se={class:"grid-item flex flex-col lg:flex-row w-full"},He={class:"w-full mb-16 xl:mb-0"},je={class:"header-sidebar flex-none lg:pl-12 lg:border-l border-navy-100/10 lg:ml-12"},ze={key:0,class:"content-padding"},Ve={class:"grid-container"},Ye={class:"grid-item w-full"},qe={key:0,class:"px-6 md:px-12 py-12 -mx-6 md:-mx-12 bg-orange-100"},Ue={class:"mb-10"},Ke={class:"heading-6 font-medium mb-2"},Qe={class:"mb-5 text-black/50"},Xe={key:1,class:"relative"},Je={class:"grid-container relative z-10 py-10"},We={class:"grid-item w-full"},Ze={class:"flex justify-between items-baseline"},et={class:"heading-6 font-medium mb-2"}
38,tt={class:"mb-5 text-black/50"},ot={key:1,class:"content-padding"},st={class:"grid-container"},nt={class:"grid-item w-full"},at={class:"pt-12 border-t border-navy-100/10"},lt={class:"mb-8 heading-6 font-medium"},it={class:"content-padding"},dt={class:"grid-container"},rt={class:"grid-item w-full mb-10"},ct={class:"mb-8 heading-6 font-medium"},ut={class:"flex flex-wrap"},_t={class:"grid-item w-full text-center"},mt={class:"content-padding"},pt={class:"grid-container"},gt={class:"grid-item w-full"},ft={class:"pt-12 border-t border-navy-100/10 mb-8 xl:mb-16 heading-6 xl:body-1 font-medium"},bt={key:1},ht=q({name:"PageBlogIndex",__name:"index",setup(t){const{hasMobileLayout:g}=ne(),{generateHeadMeta:$}=se();U(()=>$());const{data:w}=oe({query:De,isLocalizable:!0}),c=h(()=>{const n=w.value;if(!n)return null;const k=n.entry||n;if(!k.blogPosts)return null;const{blogPosts:N,blogTopics:E,page:{featuredAuthors:b,featuredGuides:L,featuredPost:D,trendingPosts:F}}=k,C=F?.filter(I=>!I.isHidden)||[],O=D?.filter(I=>!I.isHidden)||[];return{blogPosts:N,blogTopics:E,featuredAuthors:b,featuredGuides:L,featuredPost:O[0],trendingPosts:C}}),B=h(()=>c.value?.blogPosts||[]),f=h(()=>c.value?.blogTopics||[]),p=h(()=>c.value?.featuredAuthors||[]),u=h(()=>c.value?.featuredGuides||[]),j=h(()=>c.value?.featuredPost),G=h(()=>c.value?.trendingPosts||[]);return(n,k)=>{const N=me,E=ke,b=A,L=Q,D=X,F=Le,C=Y,O=J,I=W;return d(c)?(s(),l("div",Fe,[e("section",Oe,[e("div",Re,[e("div",Se,[e("div",He,[d(G).length?(s(),y(N,K(v({key:0},d(G)[0])),null,16)):x("",!0)]),e("div",je,[(s(!0),l(P,null,T(d(G).slice(1),(r,_)=>(s(),l("div",{key:_,class:z(Number(_)>0?"pt-6 border-t border-navy-100/10 mt-6":"")},[a(E,v({ref_for:!0},r),null,16)],2))),128))])])])]),d(u).length?(s(),l("section",ze,[e("div",Ve,[e("div",Ye,[d(g)?(s(),l("div",qe,[e("div",Ue,[e("h2",Ke,o(n.$t("pages.blogIndex.titles.featuredGuides")),1),e("p",Qe,o(n.$t("pages.blogIndex.text.learnEverythingYouNeedToKnowAboutDeathInTheEyesOfT")),1),a(b,{to:n.$localePath("/blog/guides"),class:"font-medium uppercase underline opacity-50 hover:opacity-100 transition-opacity duration-75"},{default:i(()=>[m(o(n.$t("pages.blogIndex.links.viewAllGuides")),1)]),_:1},8,["to"])]),a(L,{items:d(u)},null,8,["items"])])):(s(),l("div",Xe,[k[0]||(k[0]=e("div",{class:"absolute inset-0 rounded-xl -mx-12 bg-orange-100"},null,-1)),e("div",Je,[e("div",We,[e("div",Ze,[e("div",null,[e("h2",et,o(n.$t("pages.blogIndex.titles.featuredGuides")),1),e("p",tt,o(n.$t("pages.blogIndex.text.learnEverythingYouNeedToKnowAboutDeathInTheEyesOfT")),1)]),a(b,{to:n.$localePath("/blog/guides"),class:"font-medium uppercase underline opacity-50 hover:opacity-100 transition-opacity duration-75"},{default:i(()=>[m(o(n.$t("pages.blogIndex.links.viewAllGuides")),1)]),_:1},8,["to"])])]),(s(!0),l(P,null,T(d(u),(r,_)=>(s(),l("div",{key:_,class:"grid-item md:w-6/12 lg:w-4/12"},[a(D,v({ref_for:!0},r),null,16)]))),128))])]))])])])):x("",!0),d(j)?(s(),l("section",ot,[e("div",st,[e("div",nt,[e("div",at,[e("h2",lt,o(n.$t("pages.blogIndex.titles.featuredArticle")),1),a(F,v({class:"mb-8"},d(j)),null,16)])])])])):x("",!0),e("section",it,[e("div",dt,[e("div",rt,[e("h2",ct,o(n.$t("pages.blogIndex.titles.latestArticles")),1),e("div",ut,[a(b,{to:n.$localePath("/blog/posts")},{default:i(()=>[a(C,{active:"",class:"mr-2 mb-2"},{default:i(()=>[m(o(n.$t("common.titles.all")),1)]),_:1})]),_:1},8,["to"]),(s(!0),l(P,null,T(d(f),({id:r,title:_})=>(s(),y(b,{key:r,to:n.$localePath(`/blog/posts?topic=${r}`),class:"inline-flex mr-2 mb-2"},{default:i(()=>[a(C,null,{default:i(()=>[m(o(_),1)]),_:2},1024)]),_:2},1032,["to"]))),128))])]),(s(!0),l(P,null,T(d(B),(r,_)=>(s(),l("div",{key:_,class:z(["grid-item w-full md:w-6/12 lg:w-4/12 mb-8",{"hidden lg:block":Number(_)>=8}])},[a(O,v({ref_for:!0},r),null,16)],2))),128)),e("div",_t,[a(b,{to:n.$localePath("/blog/posts"),class:"font-medium uppercase underline opacity-50 hover:opacity-100 transition-opacity duration-75"},{default:i(()=>[m(o(n.$t("pages.blogIndex.links.seeMoreArticles")),1)]),_:1},8,["to"])])])]),e("section",mt,[e("div",pt,[e("div",gt,[e("h2",ft,o(n.$t("pages.blogIndex.titles.writtenByTheSafewillTeam")),1)]),(s(!0),l(P,null,T(d(p),r=>(s(),l("div",{key:r.id,class:"grid-item w-full md:w-6/12 mb-16"},[a(I,v({details:""},{ref_for:!0},r),null,16)]))),128))])])])):(s(),l("div",bt,"Loading..."))}}}),Ft=M(ht,[["__scopeId","data-v-8c6f74a7"]]);export{Ft 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.