1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`de024cd44e3a1ffa48ae1115a6e00671c6f2ea0d`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`6c0cb014-37fa-4fb4-8d12-c8b83b6d30de`,e._sentryDebugIdIdentifier=`sentry-dbid-6c0cb014-37fa-4fb4-8d12-c8b83b6d30de`)}catch{}})();import{a as e}from"./rolldown-runtime-Br-GpikO.js";import{G as t,Mt as n,Ot as r,Tn as i,U as a,X as o,a as s,vn as c,z as l}from"./vendor-mui-x-ysEqyQ9r.js";import{I as u,R as d,r as f}from"./chunk-OE4NN4TA-NDIcBhwb.js";import{Ci as p,Ii as m,Li as h,Mi as g,Ni as _,Nr as v,Oi as y,Pi as b,Pr as x,Tt as S,Un as C,fn as w,hi as T,ot as E,t as D}from"./vendor-mui-CiYx5cT1.js";import{t as O}from"./seoConstants-D637vPKQ.js";import{t as k}from"./JsonLd-GaXj5phN.js";import{n as A}from"./meta-helpers-Zef4lhGT.js";import{n as j}from"./jsonld-helpers-DQs-J_pi.js";import{t as M}from"./withErrorBoundary-D7D54_-d.js";import{t as N}from"./posts-B8WNg068.js";import{t as P}from"./Footer-DixLZQ3H.js";import{t as F}from"./ScrollToTop-DxPebCBJ.js";import{n as I}from"./authors-C5apNwyQ.js";import{t as L}from"./resourcesLoader-U08lwCZ2.js";var R=e(i(),1),z=c(),B=r(m)(({theme:e})=>({background:`linear-gradient(to right, ${e.palette.primary.dark}, ${e.palette.primary.light})`,padding:e.spacing(8,0),marginBottom:e.spacing(6),color:e.palette.common.white,[e.breakpoints.down(`md`)]:{padding:e.spacing(6,0)}})),V=r(h)(({theme:e})=>({width:e.spacing(20),height:e.spacing(20),margin:`0 auto`,border:`4px solid ${e.palette.common.white}`,boxShadow:`0 4px 20px rgba(0, 0, 0, 0.1)`,[e.breakpoints.down(`md`)]:{width:e.spacing(15),height:e.spacing(15),marginBottom:e.spacing(3)}})),H=r(a)(({theme:e})=>({position:`relative`,marginBottom:e.spacing(4),paddingBottom:e.spacing(1),fontWeight:600,"&:after":{content:`""`,position:`absolute`,left:0,bottom:0,width:`50px`,height:`3px`,background:e.palette.primary.main}})),U=r(l)(({theme:e})=>({margin:e.spacing(.5),backgroundColor:`#e3f2fd`,color:`#0d47a1`,fontWeight:600,padding:e.spacing(.5,1.2),fontSize:`0.9rem`,borderRadius:`12px`,boxShadow:`0 1px 3px rgba(0, 0, 0, 0.08)`,"&:hover":{backgroundColor:`#bbdefb`,transform:`translateY(-1px)`},transition:`all 0.2s ease`}));r(m)(({theme:e})=>({padding:e.spacing(3),marginBottom:e.spacing(4),backgroundColor:`#fafafa`,borderRadius:e.spacing(1),border:`1px dashed #e0e0e0`}));var W=r(t)(({theme:e})=>({margin:e.spacing(0,1),color:e.palette.common.white,backgroundColor:`rgba(255, 255, 255, 0.1)`,"&:hover":{backgroundColor:`rgba(255, 255, 255, 0.2)`}})),G=M(()=>{let{authorId:e}=u(),t=I(e),r=n();s(r.breakpoints.down(`md`));let i=N.filter(e=>e.authorId&&e.authorId===t?.id),c=L.filter(e=>e.authorId&&e.authorId===t?.id),[l,d]=(0,R.useState)(1),[h,O]=(0,R.useState)(1),k=i.slice((l-1)*6,l*6),A=c.slice((h-1)*6,h*6),j=Math.ceil(i.length/6),M=Math.ceil(c.length/6);if(!t)return(0,z.jsx)(y,{sx:{py:8},children:(0,z.jsx)(a,{variant:`h4`,component:`h1`,align:`center`,children:`Author not found`})});let G=(e,t)=>{if(!t)return null;let n;switch(e){case`linkedin`:n=(0,z.jsx)(x,{});break;case`twitter`:n=(0,z.jsx)(v,{});break;case`github`:n=(0,z.jsx)(S,{});break;default:return null}return(0,z.jsx)(W,{component:`a`,href:t,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`${e} profile`,children:n})};return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(F,{}),(0,z.jsx)(B,{children:(0,z.jsx)(y,{maxWidth:`lg`,children:(0,z.jsxs)(p,{container:!0,spacing:4,alignItems:`center`,children:[(0,z.jsxs)(p,{align:`center`,size:{xs:12,md:4},children:[(0,z.jsx)(V,{src:t.image,alt:t.name}),(0,z.jsx)(m,{mt:2,textAlign:`center`,children:Object.entries(t.socialLinks||{}).map(([e,t])=>G(e,t))})]}),(0,z.jsx)(p,{size:{xs:12,md:8},children:(0,z.jsxs)(m,{textAlign:{xs:`center`,md:`left`},children:[(0,z.jsx)(a,{variant:`h3`,component:`h1`,gutterBottom:!0,fontWeight:`bold`,children:t.name}),(0,z.jsx)(a,{variant:`h5`,component:`h2`,gutterBottom:!0,sx:{opacity:.9},children:t.title}),(0,z.jsx)(a,{variant:`body1`,sx:{mt:2,fontSize:`1.1rem`,lineHeight:1.6},children:t.bio})]})})]})})}),(0,z.jsx)(y,{maxWidth:`lg`,sx:{mb:8},children:(0,z.jsxs)(p,{container:!0,spacing:6,children:[(0,z.jsx)(p,{size:12,children:(0,z.jsxs)(o,{elevation:0,sx:{p:4,mb:4,borderRadius:2,border:`1px solid #e0e0e0`},children:[(0,z.jsxs)(m,{display:`flex`,alignItems:`center`,mb:2,children:[(0,z.jsx)(D,{color:`primary`,sx:{mr:2}}),(0,z.jsx)(H,{variant:`h5`,component:`h3`,children:`Areas of Expertise`})]}),(0,z.jsx)(m,{display:`flex`,flexWrap:`wrap`,mt:3,gap:1.5,children:t.expertise.map((e,t)=>(0,z.jsx)(U,{label:e},t))})]})}),i.length>0&&(0,z.jsx)(p,{size:12,children:(0,z.jsxs)(o,{elevation:0,sx:{p:4,borderRadius:2,border:`1px solid #e0e0e0`},children:[(0,z.jsxs)(m,{display:`flex`,alignItems:`center`,mb:3,children:[(0,z.jsx)(E,{color:`primary`,sx:{mr:2}}),(0,z.jsx)(H,{variant:`h5`,component:`h3`,sx:{mb:0},children:`Blogs`})]}),(0,z.jsx)(p,{container:!0,spacing:2.5,mt:1,children:k.map((e,t)=>(0,z.jsx)(p,{size:{xs:12,sm:6,md:4},children:(0,z.jsx)(b,{elevation:0,sx:{height:`100%`,border:`1px solid #eeeeee`,transition:`all 0.3s ease`,borderRadius:`8px`,overflow:`hidden`,"&:hover":{transform:`translateY(-3px)`,boxShadow:`0 6px 12px rgba(0, 0, 0, 0.08)`,borderColor:r.palette.primary.light}},children:(0,z.jsx)(_,{component:f,to:`/blog/${e.slug}
1`,sx:{height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`flex-start`},children:(0,z.jsxs)(g,{sx:{p:2.5,width:`100%`},children:[(0,z.jsx)(a,{variant:`subtitle1`,gutterBottom:!0,fontWeight:600,color:`primary.dark`,children:e.title}),(0,z.jsxs)(a,{variant:`body2`,color:`text.secondary`,sx:{mt:1,display:`flex`,alignItems:`center`},children:[(0,z.jsx)(C,{fontSize:`small`,sx:{mr:.75,fontSize:`0.9rem`,opacity:.7}}),e.formattedPublishedDate||e.date]})]})})})},t))}),j>1&&(0,z.jsx)(m,{display:`flex`,justifyContent:`center`,mt:4,children:(0,z.jsx)(T,{count:j,page:l,onChange:(e,t)=>d(t),color:`primary`})})]})}),c.length>0&&(0,z.jsx)(p,{size:12,children:(0,z.jsxs)(o,{elevation:0,sx:{p:4,borderRadius:2,border:`1px solid #e0e0e0`},children:[(0,z.jsxs)(m,{display:`flex`,alignItems:`center`,mb:3,children:[(0,z.jsx)(w,{color:`primary`,sx:{mr:2}}),(0,z.jsx)(H,{variant:`h5`,component:`h3`,sx:{mb:0},children:`Articles`})]}),(0,z.jsx)(p,{container:!0,spacing:2.5,mt:1,children:A.map((e,t)=>(0,z.jsx)(p,{size:{xs:12,sm:6,md:4},children:(0,z.jsx)(b,{elevation:0,sx:{height:`100%`,border:`1px solid #eeeeee`,transition:`all 0.3s ease`,borderRadius:`8px`,overflow:`hidden`,"&:hover":{transform:`translateY(-3px)`,boxShadow:`0 6px 12px rgba(0, 0, 0, 0.08)`,borderColor:r.palette.primary.light}},children:(0,z.jsx)(_,{component:f,to:`/resources/${e.categorySlug}/${e.slug}`,sx:{height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`flex-start`},children:(0,z.jsxs)(g,{sx:{p:2.5,width:`100%`},children:[(0,z.jsx)(a,{variant:`subtitle1`,gutterBottom:!0,fontWeight:600,color:`primary.dark`,children:e.title}),(0,z.jsxs)(a,{variant:`body2`,color:`text.secondary`,sx:{mt:1,display:`flex`,alignItems:`center`},children:[(0,z.jsx)(C,{fontSize:`small`,sx:{mr:.75,fontSize:`0.9rem`,opacity:.7}}),e.formattedPublishedDate||e.publishedDate]})]})})})},t))}),M>1&&(0,z.jsx)(m,{display:`flex`,justifyContent:`center`,mt:4,children:(0,z.jsx)(T,{count:M,page:h,onChange:(e,t)=>
1O(t),color:`primary`})})]})}),i.length===0&&c.length===0&&(0,z.jsx)(p,{size:12,children:(0,z.jsx)(o,{elevation:0,sx:{p:4,borderRadius:2,border:`1px solid #e0e0e0`},children:(0,z.jsx)(a,{variant:`body2`,color:`text.secondary`,sx:{py:2},children:`No content found by this author yet.`})})})]})}),(0,z.jsx)(m,{sx:{mx:{xs:2,sm:4,md:10,lg:20}},children:(0,z.jsx)(P,{})})]})});function K({params:e}){let t=I(e.authorId);if(!t)return[{title:`Author Not Found | AirROI`}];let n=t.image?`${O}${t.image}`:void 0;return A({title:`${t.name} â ${t.title||`Author`} | AirROI`,description:t.bio||`Articles and insights by ${t.name}`,url:`/author/${t.id}`,keywords:`${t.name}, airroi author, airbnb analytics expert, short-term rental analyst`,ogImage:n})}var q=d(function({params:e}){let t=I(e.authorId);if(!t)return(0,z.jsx)(G,{});let n={"@context":`https://schema.org`,"@type":`ProfilePage`,name:`${t.name} â ${t.title||`Author`}`,url:`${O}/author/${t.id}`,mainEntity:{"@type":`Person`,name:t.name,jobTitle:t.title,description:t.bio,image:t.image?`${O}${t.image}`:void 0,url:`${O}/author/${t.id}`}},r=t.socialLinks?Object.values(t.socialLinks).filter(Boolean):void 0,i={"@context":`https://schema.org`,"@type":`Person`,name:t.name,jobTitle:t.title,description:t.bio,image:t.image?`${O}${t.image}`:void 0,url:`${O}/author/${t.id}`};r?.length&&(i.sameAs=r);let a=j([{name:`Home`,url:`/`},{name:`Authors`,url:`/author`},{name:t.name,url:`/author/${t.id}`}]);return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(k,{data:n}),(0,z.jsx)(k,{data:i}),(0,z.jsx)(k,{data:a}),(0,z.jsx)(G,{})]})});export{q as default,K as meta};
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.