1import{u as O,r as u,j as e,L as j}from"./react-vendor-Bj_LWKpD.js";import{t as D,S as y,F as k,M as R,c as z,g as H,h as V}from"./shared-ui-core-M-8QZkxr.js";import{g as $}from"./vendor-marked-DVrle7eI.js";import{c as Y,b as J,a as K}from"./seoSchemaBuilders-Bv1zWJkp.js";import{B as X}from"./BlogBreadcrumb-cNRfebbr.js";import{u as Z,R as ee}from"./useBlogAnalytics-IwKcX4nc.js";import"./shared-ui-CcKdszy9.js";import"./vendor-radix-CA1wS3K3.js";import"./vendor-icons-DF-xUuqq.js";import"./page-home-Drmq8EWb.js";function te(s){try{const t=((s.includes("://")?new URL(s).pathname:s).split("/").pop()||"").replace(/\.[^.]+$/,"").replace(/^\d{10,}-[a-z0-9]{4,8}-/,"").replace(/[-_]+/g," ").replace(/\b[a-f0-9]{8,}\b/g,"").replace(/\b\d{2,}\b/g,"").replace(/__\d*__?/g," ").replace(/\s+/g," ").trim();if(!t||t.length<3)return"";const p=t.charAt(0).toUpperCase()+t.slice(1);return/^(img|image|screenshot|photo|picture|pic|untitled|file|chatgpt image.*)$/i.test(p.trim())?"":p}catch{return""}}function se(s,l){let r=0;return s.replace(/<img\b([^>]*)>/gi,(d,t)=>{const p=t.match(/\balt\s*=\s*["']([^"']*)["']/i);if(p&&p[1].trim().length>0)return d;r++;const m=t.match(/\bsrc\s*=\s*["']([^"']*)["']/i);let x=m?te(m[1]):"";return x||(l?x=r===1?l:`${l} â image ${r}`:x=`Blog post illustration ${r}`),p?`<img ${t.replace(/\balt\s*=\s*["'][^"']*["']/i,`alt="${x}"`)}>`:`<img ${t} alt="${x}">`})}function ae(s){return s.replace(/<a\b([^>]*)>/gi,(l,r)=>{const d=r.match(/\bhref\s*=\s*["']([^"']*)["']/i);if(!d)return l;const t=d[1];if(t.startsWith("/")||t.startsWith("#")||t.startsWith("https://camli.com")||t.startsWith("http://camli.com")||t.startsWith("https://www.camli.com")||t.startsWith("http://www.camli.com")||t.startsWith("tel:")||t.startsWith("mailto:"))return l;const p=r.match(/\brel\s*=\s*["']([^"']*)["']/i),m=["nofollow","noopener","noreferrer"];if(p){const x=p[1].split(/\s+/).filter(Boolean),c=Array.from(new Set([...x,...m]));return`<a ${r.replace(/\brel\s*=\s*["'][^"']*["']/i,`rel="${c.join(" ")}"`)}>`}else return`<a ${r} rel="nofollow noopener noreferrer">`})}function A(s,l){let r=se(s,l);return r=ae(r),r}const B={id:24450001,slug:"how-does-a-pnr-work-on-return-flights",metaTitle:"How Does a PNR Work on Return Flights? Separate Tickets Explained",metaDescription:"Learn how PNRs, record locators, ticket numbers, and flight segments relate on return trips, codeshares, agency bookings, and separate-ticket itineraries.",mobileTopBarMessage:"Review complete itinerary details",cta:{title:"Compare complete itinerary details",body:"Search available flight options with Camli, then review the operating carrier, ticket and fare rules, baggage, connection time, transit requirements, and final price before booking."},authorDescription:"The Camli Travel Team publishes practical flight-booking guides using current airline, reservation-system, and U.S. DOT sources.",footerDescription:"Compare available flight options and review the itinerary, operating carrier, ticket rules, baggage, and final price before booking."};function le(s,l){return s?Number(s.id)===B.id&&(l??s.slug)===B.slug&&s.slug===B.slug&&s.metaDescription===B.metaDescription:!1}function T(s){return!s||s==="Camli Travel Team"?null:V.find(l=>l.fullName===s||s.includes(l.fullName))||null}function S(s){if(!s)return"";const l=new Date(s);return isNaN(l.getTime())?"":l.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function oe(s,l){if(!s)return 0;const d=(l?s.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim():s).trim().split(/\s+/).length;return Math.max(1,Math.ceil(d/200))}function w(s){return s.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").trim()}function _(s,l){const r=(l.get(s)||0)+1;return l.set(s,r),r===1?s:`${s}-${r}`}function re(s,l){if(!s)return[];const r=[],d=new Map;if(l){const p=/<h([2-3])[^>]*>(.*?)<\/h[2-3]>/gi;let m;for(;(m=p.exec(s))!==null;){const x=parseInt(m[1]),c=m[2].replace(/<[^>]+>/g,"").trim();if(c.toLowerCase()==="faqs"||c.toLowerCase()==="frequently asked questions")continue;const n=_(w(c),d);r.push({text:c,id:n,level:x})}return r}const t=s.split(` 2`);for(const p of t){const m=p.match(/^(#{2,3})\s+(.+)$/);if(m){const x=m[1].length,c=m[2].replace(/\*\*/g,"").replace(/\*/g,"").trim();if(c.toLowerCase()==="faqs"||c.toLowerCase()==="frequently asked questions")continue;r.push({text:c,id:w(c),level:x})}}return r}function ce(s,l,r=!1){if(!s)return[];const d=[];if(l){const c=s.match(/<h[2-3][^>]*>
2[^<]*(?:FAQ|Frequently Asked Questions)[^<]*<\/h[2-3]>([\s\S]*)/i);if(!c)return[];const n=r?c[1].split(/<h2[^>]*>/i)[0]:c[1],i=/<h3[^>]*>(.*?)<\/h3>([\s\S]*?)(?=<h3[^>]*>|$)/gi;let f;for(;(f=i.exec(n))!==null;){const P=f[1].replace(/<[^>]+>/g,"").trim(),h=f[2].replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim();P&&h&&d.push({question:P,answer:h})}if(d.length===0){const P=/<(?:strong|b)>(.*?)<\/(?:strong|b)>([\s\S]*?)(?=<(?:strong|b)>|$)/gi;let h;for(;(h=P.exec(n))!==null;){const b=h[1].replace(/<[^>]+>/g,"").trim(),v=h[2].replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim();b&&v&&d.push({question:b,answer:v})}}return d}const t=s.match(/##\s*(?:FAQs?|Frequently Asked Questions)\s*\n([\s\S]*?)(?=\n##\s|$)/i);if(!t)return[];const p=t[1],m=/\*\*(?:Q\d+[:.]?\s*)?(.+?)\*\*\s*\n([\s\S]*?)(?=\n\*\*(?:Q\d+)?|$)/g;let x;for(;(x=m.exec(p))!==null;){const c=x[1].trim(),n=x[2].trim();c&&n&&d.push({question:c,answer:n})}if(d.length===0){const c=/###\s+(.+?)\s*\n([\s\S]*?)(?=\n###\s|$)/g;for(;(x=c.exec(p))!==null;){const n=x[1].trim(),i=x[2].trim();n&&i&&d.push({question:n,answer:i})}}return d}function ne(s){return s.replace(/^#\s+.+\n?/,"")}function ie(s){return s.replace(/##\s*(?:FAQs?|Frequently Asked Questions)\s*\n[\s\S]*?(?=\n##\s[^#]|$)/i,"")}function L(s){const l=/<h2[^>]*>[^<]*(?:FAQ|Frequently Asked Questions)[^<]*<\/h2>/i.exec(s);if(!l||l.index===void 0)return{beforeFaq:s,afterFaq:""};const r=s.slice(l.index+l[0].length),d=r.search(/<h2[^>]*>/i);return{beforeFaq:s.slice(0,l.index),afterFaq:d>=0?r.slice(d):""}}function de(){const s=new $.Renderer;s.heading=function({text:l,depth:r}){const d=w(l.replace(/<[^>]+>/g,""));return`<h${r} id="${d}">${l}</h${r}>`},$.setOptions({renderer:s})}function ve({slug:s}){const[,l]=O(),[r,d]=u.useState("");Z(s),u.useMemo(()=>de(),[]);const{data:t,isLoading:p,error:m}=D.crm.blog.getBySlug.useQuery({slug:s},{enabled:!!s,retry:1,staleTime:300*1e3}),{data:x}=D.crm.blog.listPublished.useQuery(),c=u.useMemo(()=>t&&(t.author||t.authorName)||"Camli Travel Team",[t]),n=u.useMemo(()=>t?.contentFormat==="html"&&!!t?.contentHtml,[t?.contentFormat,t?.contentHtml]),i=u.useMemo(()=>le(t,s),[t,s]),f=u.useMemo(()=>n?t?.contentHtml||"":t?.content||"",[n,t?.contentHtml,t?.content]),P=u.useMemo(()=>!i||!n?f:f.replace(/<h2[^>]*>[^<]*(?:FAQ|Frequently Asked Questions)[^<]*<\/h2>[\s\S]*?(?=<h2[^>]*>|$)/i,""),[f,n,i]),h=u.useMemo(()=>re(P,n),[P,n]),b=u.useMemo(()=>ce(f,n,i),[f,n,i]),v=u.useMemo(()=>{if(!t)return;const g=s==="google-flights-guide"?["https://media.camli.com/legacy/4aaf26b6730c3532e5ab4d97-google-flights-date-calendar_0549d55e.png","https://media.camli.com/legacy/90617f0ea0b9f7d7c2ab7624-google-flights-price-graph_15bfbfe3.png","https://media.camli.com/legacy/d41e05f6bc3396c8863a524d-google-flights-explore-mode_1b424be5.png"]:void 0,o=[Y({title:i?t.title:t.metaTitle||t.title,description:t.metaDescription||t.excerpt||"",url:`https://camli.com/blog/${s}`,imageUrl:t.coverImageUrl||null,authorName:c,datePublished:t.publishedAt?new Date(t.publishedAt).toISOString():new Date().toISOString(),dateModified:t.updatedAt?new Date(t.updatedAt).toISOString():new Date().toISOString(),articleSection:t.category||"Travel",schemaType:"BlogPosting",...g?{images:g}:{}}),J([{name:"Home",url:"https://camli.com/"},{name:"Blog",url:"https://camli.com/blog"},...t.category?[{name:t.category,url:`https://camli.com/blog?category=${encodeURIComponent(t.category)}`}]:[],{name:t.title,url:`https://camli.com/blog/${s}`}])];return b.length>0&&o.push(K(b)),o},[t,s,c,b,i]),q=u.useMemo(()=>{if(n){let o=t?.contentHtml||"";o=o.replace(/<h1(\s|>)/gi,"<h2$1").replace(/<\/h1>/gi,"</h2>"),o=i?L(o).beforeFaq:o.replace(/<h[2-3][^>]*>[^<]*(?:FAQ|Frequently Asked Questions)[^<]*<\/h[2-3]>[\s\S]*/i,"");const Q=new Map;return o=o.replace(/<h([2-3])([^>]*)>(.*?)<\/h([2-3])>/gi,(E,M,U,I,ge)=>{const N=I.replace(/<[^>]+>/g,"").trim();if(N.toLowerCase()==="faqs"||N.toLowerCase()==="frequently asked questions")return E;const W=_(w(N),Q),G=U.replace(/\s*id="[^"]*"/gi,"");return`<h${M}${G} id="${W}">${I}</h${M}>`}),A(o,t?.title)}if(!t?.content)return"";let a=ne(t.content);a=ie(a);const g=$.parse(a,{async:!1});return A(g,t?.title)},[n,t?.contentHtml,t?.content,t?.title,i]),F=u.useMemo(()=>
2{if(!i||!n)return"";const a=(t?.contentHtml||"").replace(/<h1(\s|>)/gi,"<h2$1").replace(/<\/h1>/gi,"</h2>");return A(L(a).afterFaq,t?.title)},[n,i,t?.contentHtml,t?.title]),C=u.useMemo(()=>oe(f,n),[f,n]);return u.useEffect(()=>{if(!h.length)return;const a=new IntersectionObserver(g=>{for(const o of g)o.isIntersecting&&d(o.target.id)},{rootMargin:"-80px 0px -70% 0px",threshold:0});return h.forEach(g=>{const o=document.getElementById(g.id);o&&a.observe(o)}),()=>a.disconnect()},[h,q]),p?e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:364",className:"min-h-screen bg-[#f8f6f1] flex flex-col",children:[e.jsx(y,{"data-loc":"client/src/pages/BlogPost.tsx:365"}),e.jsxs("article",{"data-loc":"client/src/pages/BlogPost.tsx:366",className:"flex-1",children:[e.jsx("section",{"data-loc":"client/src/pages/BlogPost.tsx:368",className:"bg-[#1a1f16] py-16 md:py-20",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:369",className:"max-w-3xl mx-auto px-4 animate-pulse",children:[e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:371",className:"mb-6 flex gap-2",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:372",className:"h-3 w-10 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:373",className:"h-3 w-3 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:374",className:"h-3 w-10 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:375",className:"h-3 w-3 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:376",className:"h-3 w-24 bg-[#2a2f26] rounded"})]}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:379",className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:380",className:"h-5 w-20 bg-[#8cb96a]/20 rounded-full"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:381",className:"h-3 w-16 bg-[#2a2f26] rounded"})]}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:384",className:"space-y-3 mb-6",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:385",className:"h-8 md:h-10 bg-[#2a2f26] rounded w-5/6"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:386",className:"h-8 md:h-10 bg-[#2a2f26] rounded w-3/5"})]}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:389",className:"flex items-center gap-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:390",className:"h-3 w-28 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:391",className:"h-3 w-3 bg-[#2a2f26] rounded"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:392",className:"h-3 w-32 bg-[#2a2f26] rounded"})]})]})}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:398",className:"max-w-4xl mx-auto px-4 -mt-8 mb-0 relative z-10",children:e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:399",className:"w-full rounded-2xl bg-[#e8e4dd] animate-pulse aspect-[16/9]"})}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:403",className:"max-w-6xl mx-auto px-4 py-12 md:py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:404",className:"max-w-3xl animate-pulse space-y-5",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:405",className:"h-5 bg-[#e8e4dd] rounded w-full"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:406",className:"h-5 bg-[#e8e4dd] rounded w-11/12"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:407",className:"h-5 bg-[#e8e4dd] rounded w-4/5"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:408",className:"h-5 bg-[#e8e4dd] rounded w-full"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:409",className:"h-5 bg-[#e8e4dd] rounded w-3/4"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:410",className:"h-8 bg-[#e8e4dd] rounded w-2/5 mt-8"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:411",className:"h-5 bg-[#e8e4dd] rounded w-full"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:412",className:"h-5 bg-[#e8e4dd] rounded w-5/6"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:413",className:"h-5 bg-[#e8e4dd] rounded w-full"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:414",className:"h-5 bg-[#e8e4dd] rounded w-2/3"})]})})]}),e.jsx(k,{"data-loc":"client/src/pages/BlogPost.tsx:418"})]}):m||!t?e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:425",className:"min-h-screen bg-[#f8f6f1] flex flex-col",children:[e.jsx(y,{"data-loc":"client/src/pages/BlogPost.tsx:426"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:427",className:"flex-1 flex items-center justify-center py-20",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:428",className:"text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:429",className:"text-5xl mb-4",children:"ð"}),e.jsx("h2",{"data-loc":"client/src/pages/BlogPost.tsx:430",className:"text-2xl font-bold text-[#1a1f16] mb-2",children:"Article Not Found"}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:431",className:"text-[#6b7280] mb-6",children:"The article you're looking for doesn't exist or has been removed."}),e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:434",href:"/blog",className:"inline-block px-6 py-3 bg-[#8cb96a] text-white font-bold rounded-xl hover:bg-[#6a9a4c] transition-colors no-u
2nderline",children:"â Back to Blog"})]})}),e.jsx(k,{"data-loc":"client/src/pages/BlogPost.tsx:439"}),e.jsx(R,{"data-loc":"client/src/pages/BlogPost.tsx:440"})]}):e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:446",className:"min-h-screen bg-[#f8f6f1] flex flex-col",children:[t&&e.jsx(z,{"data-loc":"client/src/pages/BlogPost.tsx:448",title:i?B.metaTitle:`${t.metaTitle||t.title} | Camli Blog`,description:t.metaDescription||t.excerpt||"Read this article on the Camli Travel Blog.",canonical:`/blog/${s}`,ogTitle:t.metaTitle||t.title,ogDescription:t.metaDescription||t.excerpt||"",ogType:"article",ogImage:t.coverImageUrl||void 0,imageAlt:t.title,articlePublishedTime:t.publishedAt?new Date(t.publishedAt).toISOString():void 0,articleModifiedTime:t.updatedAt?new Date(t.updatedAt).toISOString():void 0,articleAuthor:c,articleSection:t.category||"Travel",schema:v}),e.jsx(y,{"data-loc":"client/src/pages/BlogPost.tsx:466",mobileTopBarMessage:i?B.mobileTopBarMessage:void 0}),e.jsxs("article",{"data-loc":"client/src/pages/BlogPost.tsx:473",className:"flex-1",children:[e.jsx("section",{"data-loc":"client/src/pages/BlogPost.tsx:475",className:"bg-[#1a1f16] text-white py-16 md:py-20",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:476",className:"max-w-3xl mx-auto px-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:478",className:"mb-6",children:e.jsx(X,{"data-loc":"client/src/pages/BlogPost.tsx:479",variant:"light",items:[{label:"Home",href:"/"},{label:"Blog",href:"/blog"},...t.category?[{label:t.category,href:`/blog?category=${encodeURIComponent(t.category)}`}]:[],{label:t.title}]})}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:490",className:"flex items-center gap-3 mb-4",children:[t.category&&e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:492",className:"text-[0.65rem] font-bold tracking-wider uppercase px-3 py-1 rounded-full bg-[#8cb96a]/20 text-[#8cb96a]",children:t.category}),C>0&&e.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:497",className:"text-[0.7rem] text-[#a3a89d]",children:[C," min read"]})]}),e.jsx("h1",{"data-loc":"client/src/pages/BlogPost.tsx:501",className:"text-2xl md:text-4xl font-bold tracking-tight leading-tight mb-6 font-[Cabinet_Grotesk]",children:t.title}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:505",className:"flex items-center gap-4 text-[0.75rem] text-[#a3a89d] flex-wrap",children:[e.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:506",children:["By ",(()=>{const a=T(c);return a?e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:509",href:`/team/${a.id}`,className:"font-bold text-white hover:text-[#8cb96a] transition-colors no-underline",children:c}):e.jsx("strong",{"data-loc":"client/src/pages/BlogPost.tsx:511",className:"text-white",children:c})})()]}),(()=>{const a=T(c);return a?e.jsxs(e.Fragment,{children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:517",children:"·"}),e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:517",href:`/team/${a.id}`,className:"text-[#8cb96a] hover:text-white transition-colors no-underline",children:"About the author"})]}):null})(),t.publishedAt&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:522",children:"·"}),e.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:523",className:"flex items-center gap-1.5",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:524",children:"Published:"}),e.jsx("time",{"data-loc":"client/src/pages/BlogPost.tsx:525",dateTime:new Date(t.publishedAt).toISOString(),children:S(t.publishedAt)})]})]}),i&&t.updatedAt&&e.jsxs(e.Fragment,{children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:533",children:"·"}),e.jsxs("span",{"data-loc":"client/src/pages/BlogPost.tsx:534",className:"flex items-center gap-1.5",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:535",children:"Last updated:"}),e.jsx("time",{"data-loc":"client/src/pages/BlogPost.tsx:536",dateTime:new Date(t.updatedAt).toISOString(),children:S(t.updatedAt)})]})]})]})]})}),t.coverImageUrl&&e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:549",className:"max-w-4xl mx-auto px-4 -mt-8 mb-0 relative z-10",children:e.jsx("img",{"data-loc":"client/src/pages/BlogPost.tsx:550",src:t.coverImageUrl,alt:`Cover image for ${t.title}`,width:1200,height:675,className:"w-full h-auto rounded-2xl shadow-lg object-cover aspect-[16/9]",loading:"eager"})}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:562",className:"max-w-6xl mx-auto px-4 py-12 md:py-16",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:563",className:"flex gap-8",children:[h.length>2&&e.jsx("aside",{"data-loc":"client/src/pages/BlogPost.tsx:566",className:"hidden lg:block w-64 flex-shrink-0",children:e.jsx("nav",{"data-loc":"client/src/pages/BlogPost.tsx:56
27",className:"sticky top-24",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:568",className:"bg-white rounded-xl border border-[#e8e4dd] p-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:569",className:"text-xs font-bold text-[#1a1f16] mb-3 uppercase tracking-wider","aria-label":"Table of contents",children:"In This Article"}),e.jsx("ol",{"data-loc":"client/src/pages/BlogPost.tsx:570",className:"space-y-1.5",children:h.filter(a=>a.level===2).map((a,g)=>e.jsx("li",{"data-loc":"client/src/pages/BlogPost.tsx:572",children:e.jsxs("a",{"data-loc":"client/src/pages/BlogPost.tsx:573",href:`#${a.id}`,className:`text-xs block py-1 transition-colors ${r===a.id?"text-[#6a9a4c] font-semibold":"text-[#6b7280] hover:text-[#6a9a4c]"}`,children:[g+1,". ",a.text]})},g))})]})})}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:592",className:"flex-1 min-w-0 max-w-3xl",children:[h.length>2&&e.jsxs("nav",{"data-loc":"client/src/pages/BlogPost.tsx:595",className:"lg:hidden bg-white rounded-xl border border-[#e8e4dd] p-5 mb-10",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:596",className:"text-sm font-bold text-[#1a1f16] mb-3 uppercase tracking-wider","aria-label":"Table of contents",children:"In This Article"}),e.jsx("ol",{"data-loc":"client/src/pages/BlogPost.tsx:597",className:"space-y-1.5",children:h.filter(a=>a.level===2).map((a,g)=>e.jsx("li",{"data-loc":"client/src/pages/BlogPost.tsx:599",children:e.jsxs("a",{"data-loc":"client/src/pages/BlogPost.tsx:600",href:`#${a.id}`,className:"text-sm text-[#6a9a4c] hover:text-[#4a7a3c] hover:underline transition-colors",children:[g+1,". ",a.text]})},g))})]}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:614",className:`prose prose-lg max-w-none 3 prose-headings:text-[#1a1f16] prose-headings:font-bold prose-headings:font-[Cabinet_Grotesk] 4 prose-h2:text-xl prose-h2:md:text-2xl prose-h2:mt-10 prose-h2:mb-4 5 prose-h3:text-lg prose-h3:md:text-xl prose-h3:mt-8 prose-h3:mb-3 6 prose-p:text-[#374151] prose-p:leading-relaxed 7 prose-a:text-[#8cb96a] prose-a:no-underline hover:prose-a:underline 8 prose-strong:text-[#1a1f16] 9 prose-blockquote:border-l-[#8cb96a] prose-blockquote:text-[#6b7280] prose-blockquote:bg-[#f0fae8]/30 prose-blockquote:py-2 prose-blockquote:px-4 prose-blockquote:rounded-r-lg 10 prose-img:rounded-xl prose-img:border prose-img:border-[#e8e4dd] prose-img:max-w-full prose-img:h-auto prose-img:w-auto 11 prose-li:text-[#374151] 12 prose-hr:border-[#e8e4dd] 13 prose-table:border-collapse prose-table:w-full 14 prose-th:bg-[#1a1f16] prose-th:text-white prose-th:px-4 prose-th:py-2 prose-th:text-sm prose-th:font-semibold 15 prose-td:border prose-td:border-[#e8e4dd] prose-td:px-4 prose-td:py-2 prose-td:text-sm 16 `,dangerouslySetInnerHTML:{__html:q}}),i&&b.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/BlogPost.tsx:633",className:"mb-12",children:[e.jsx("h2",{"data-loc":"client/src/pages/BlogPost.tsx:634",className:"text-2xl font-bold text-[#1a1f16] mb-6 font-[Cabinet_Grotesk]",children:"Frequently Asked Questions"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:637",className:"space-y-3",children:b.map((a,g)=>e.jsxs("details",{"data-loc":"client/src/pages/BlogPost.tsx:639",className:"bg-white rounded-xl border border-[#e8e4dd] overflow-hidden group",children:[e.jsxs("summary",{"data-loc":"client/src/pages/BlogPost.tsx:640",className:"px-5 py-4 font-semibold text-[#1a1f16] cursor-pointer hover:bg-[#f8f7f4] transition-colors flex items-center justify-between text-sm",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:641",children:a.question}),e.jsx("svg",{"data-loc":"client/src/pages/BlogPost.tsx:642",className:"w-4 h-4 text-[#6b7280] transition-transform group-open:rotate-180 flex-shrink-0 ml-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:e.jsx("path",{"data-loc":"client/src/pages/BlogPost.tsx:643",strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:646",className:"px-5 pb-4 text-[#4b5563] leading-relaxed border-t border-[#e8e4dd] pt-3 text-sm",children:a.answer})]},g))})]}),i&&F&&e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:656",className:`prose prose-lg max-w-none 17 prose-headings:text-[#1a1f16] prose-headings:font-bold prose-headings:font-[Cabinet_Grotesk] 18 prose-h2:text-xl prose-h2:md:text-2xl prose-h2:mt-10 prose-h2:mb-4 19 prose-p:text-[#374151] prose-p:leading-relaxed 20 prose-a:text-[#8cb96a] prose-a:no-underline hover:prose-a:underline 21 prose-strong:text-[#1a1f16] 22 prose-table:border-collapse prose-table:w-full 23 prose-th:bg-[#1a1f16] prose-th:text-white prose-th:px-4 prose-th:py-2 prose-th:text-sm prose-th:font-semibold 24 prose-td:border prose-td:border-[#e8e4dd] prose-td:px-4 prose-td:py-2 prose-td:text-sm 25 `,dangerouslySetInnerHTML:{__html:F}}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:669",className:"bg-[#1a1f16] rounded-2xl p-6 md:p-8 text-center my-12",children:[e.jsx("h2",{"data-loc":"client/src/pages/BlogPost.tsx:670",className:"text-xl md:text-2xl font-bold text-white mb-3 font-[Cabinet_Grotesk]",children:i?B.cta.title:"Find Your Cheapest Flight Today"}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:675",className:"text-[#a3a89d] text-sm mb-5 max-w-md mx-auto",children:i?B.cta.body:"Camli's consolidator network surfaces fares below published prices on 200+ airlines."}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:680",className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[e.jsx("button",{"data-loc":"client/src/pages/BlogPost.tsx:681",onClick:()=>l("/"),className:"bg-[#8cb96a] hover:bg-[#6a9a4c] text-white font-bold px-6 py-3 rounded-xl transition-colors text-sm",children:"Search Flights"}),e.jsxs("a",{"data-loc":"client/src/pages/BlogPost.tsx:687",href:`tel:${H.contact.phone}`,className:"border border-[#3a3f36] hover:border-[#8cb96a] text-white font-bold px-6 py-3 rounded-xl transition-colors text-sm no-underline",children:["Call ",H.contact.phoneDis
25play]})]})]}),!i&&e.jsx(ee,{"data-loc":"client/src/pages/BlogPost.tsx:698",title:t.title||"",slug:s,content:t.content||"",category:t.category||""}),!i&&b.length>0&&e.jsxs("section",{"data-loc":"client/src/pages/BlogPost.tsx:708",className:"mb-12",children:[e.jsx("h2",{"data-loc":"client/src/pages/BlogPost.tsx:709",className:"text-2xl font-bold text-[#1a1f16] mb-6 font-[Cabinet_Grotesk]",children:"Frequently Asked Questions"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:712",className:"space-y-3",children:b.map((a,g)=>e.jsxs("details",{"data-loc":"client/src/pages/BlogPost.tsx:714",className:"bg-white rounded-xl border border-[#e8e4dd] overflow-hidden group",children:[e.jsxs("summary",{"data-loc":"client/src/pages/BlogPost.tsx:715",className:"px-5 py-4 font-semibold text-[#1a1f16] cursor-pointer hover:bg-[#f8f7f4] transition-colors flex items-center justify-between text-sm",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:716",children:a.question}),e.jsx("svg",{"data-loc":"client/src/pages/BlogPost.tsx:717",className:"w-4 h-4 text-[#6b7280] transition-transform group-open:rotate-180 flex-shrink-0 ml-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:e.jsx("path",{"data-loc":"client/src/pages/BlogPost.tsx:718",strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:721",className:"px-5 pb-4 text-[#4b5563] leading-relaxed border-t border-[#e8e4dd] pt-3 text-sm",children:a.answer})]},g))})]}),(()=>{const a=T(c);return a?e.jsx("section",{"data-loc":"client/src/pages/BlogPost.tsx:758",className:"mb-12 bg-[#f8f7f4] rounded-2xl border border-[#e8e4dd] p-6",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:759",className:"flex items-start gap-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:760",className:"w-14 h-14 rounded-full bg-gradient-to-br from-[#8cb96a]/30 to-[#6a9a4c]/30 flex items-center justify-center text-[#3d5a2e] text-lg font-bold flex-shrink-0",children:a.fullName.split(" ").map(g=>g[0]).join("")}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:763",className:"min-w-0",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:764",className:"flex items-center gap-2 mb-1",children:e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:765",href:`/team/${a.id}`,className:"text-base font-bold text-[#1a1f16] hover:text-[#6a9a4c] transition-colors no-underline",children:a.fullName})}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:769",className:"text-xs font-semibold text-[#6a9a4c] mb-2",children:a.role}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:770",className:"text-sm text-[#4b5563] leading-relaxed mb-3",children:a.shortBio}),e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:771",href:`/team/${a.id}`,className:"text-xs font-semibold text-[#6a9a4c] hover:underline no-underline",children:"View Full Profile â"})]})]})}):e.jsx("section",{"data-loc":"client/src/pages/BlogPost.tsx:736",className:"mb-12 bg-[#f8f7f4] rounded-2xl border border-[#e8e4dd] p-6",children:e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:737",className:"flex items-start gap-4",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:738",className:"w-14 h-14 rounded-full bg-gradient-to-br from-[#8cb96a]/30 to-[#6a9a4c]/30 flex items-center justify-center text-[#3d5a2e] text-lg font-bold flex-shrink-0",children:"C"}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:741",className:"min-w-0",children:[e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:742",className:"flex items-center gap-2 mb-1",children:e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:743",className:"text-base font-bold text-[#1a1f16]",children:"Camli Travel Team"})}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:745",className:"text-xs font-semibold text-[#6a9a4c] mb-2",children:"Travel Experts"}),e.jsx("p",{"data-loc":"client/src/pages/BlogPost.tsx:746",className:"text-sm text-[#4b5563] leading-relaxed",children:i?B.authorDescription:"The Camli Travel Team is part of Planet Aero, LLC, an IATA-accredited travel agency specializing in consolidator fares. We help travelers save significantly on airfare through our wholesale airline network."})]})]})})})(),(()=>{const a=(x||[]).filter(o=>o.slug!==s&&o.status==="published"&&o.category===t.category).slice(0,5),g=a.length>=3?a:(x||[]).filter(o=>o.slug!==s&&o.status==="published").slice(0,5);return g.length===0?null:e.jsxs("section",{"data-loc":"client/src/pages/BlogPost.tsx:790",className:"mt-12 pt-8 border-t border-[#e8e4dd]",children:[e.jsx("h2",{"data-loc":"client/src/pages/BlogPost.tsx:791",className:"text-lg font-bold text-[#1a1f16] mb-5 font-[Cabinet_Grotesk]",children:"Related Articles"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:792",className:"flex gap-4 overflow-x-auto pb-4 scrollbar-hide -mx-4 px-4",children:g.map(o=>e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:794",href:`/blog/${o.slug}`,className:"no-underline group flex-shrink-0 w-[260px] md:w-[280px]",children:e.jsxs("article",{"data-loc":"client/src/pages/BlogPost.tsx:799",className:"bg-white rounded-xl border border-[#e8e4dd] overflow-hidden hover:shadow-md hover:border-[#8cb96a] transition-all h-full flex flex-col",children:[o.coverImageUrl?e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:801",className:"h-36 overflow-hidden",children:e.jsx("img",{"data-loc":"client/src/pages/BlogPost.tsx:802",src:o.coverImageUrl,alt:o.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"})}):e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:810",className:"h-36 bg-gradient-to-br from-[#8cb96a]/15 to-[#4a6741]/15"}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:812",className:"p-4 flex flex-col flex-1",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:813",className:"text-[9px] font-bold uppercase tracking-wider text-[#6a9a4c] mb-1",children:o.category}),e.jsx("h3",{"data-loc":"client/src/pages/BlogPost.tsx:814",className:"text-sm font-semibold text-[#1a1f16] line-clamp-2 group-hover:text-[#4a6741] transition-colors mb-2",children:o.title}),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:815",className:"mt-auto flex items-center justify-between text-[10px] text-[#9ca3af]",children:[e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:816",children:o.authorName||o.author}),e.jsx("span",{"data-loc":"client/src/pages/BlogPost.tsx:817",children:o.publishedAt?S(o.publishedAt):""})]})]})]})},o.slug))})]})})(),e.jsxs("div",{"data-loc":"client/src/pages/BlogPost.tsx:829",className:"mt-10 pt-8 border-t border-[#e8e4dd] flex items-center justify-between",children:[e.jsx(j,{"data-loc":"client/src/pages/BlogPost.tsx:830",href:"/blog",className:"inline-flex items-center gap-2 text-sm font-bold text-[#8
25cb96a] hover:text-[#4a6741] transition-colors no-underline",children:"â Back to All Articles"}),e.jsx("div",{"data-loc":"client/src/pages/BlogPost.tsx:833",className:"text-xs text-[#6b7280]",children:"Share this article with fellow travelers"})]})]})]})})]}),e.jsx(k,{"data-loc":"client/src/pages/BlogPost.tsx:842",brandDescription:i?B.footerDescription:void 0}),e.jsx(R,{"data-loc":"client/src/pages/BlogPost.tsx:847"})]})}export{ve 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.