import{j as e}from"./vendor-radix-DNxwLykc.js";import{r as f}from"./vendor-react-BsBmf7g_.js";import{L as g,c as q}from"./vendor-router-CYowL1Ry.js";import{a as H,b as R,c as z,d as W}from"./useBlogPosts-CY-W8YUX.js";import{c as j,S as U,d as V,u as L,a as Q,M as E,L as D,e as Y,f as G,g as J,h as K,i as X,B as x,j as Z}from"./index-E4maWKVN.js";import{M as ee}from"./MarkdownRenderer-BZrQ9VC_.js";import{B as te}from"./BlogCostCalculator-6zoDI-zm.js";import{e as ae,c as re,g as A,f as T}from"./blog-utils-Dc9wQR4q.js";import{B as se}from"./badge-QCQuxjG4.js";import{U as B}from"./user-DJoWLxvh.js";import"./vendor-data-D4F9-7cQ.js";import"./vendor-supabase-DZNfQC5M.js";import"./vendor-charts-CaDQ2cwY.js";import"./vendor-markdown-BMcpNBDG.js";/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $=j("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ne=j("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const le=j("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const oe=j("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);function ie(l){const t=[],c=/##\s*FAQ[s]?[:\s].*?\n([\s\S]*?)(?=\n##\s|$)/i,n=l.match(c);if(!n)return t;const a=n[1],o=/\*\*(?:Q:\s*)?([^*]+)\*\*\s*\n+(?:A:\s*)?([^\n*#]+(?:\n(?!\*\*|\n##)[^\n*#]+)*)/gi;let r;for(;(r=o.exec(a))!==null;){const i=r[1].trim().replace(/\?$/,"")+"?",s=r[2].trim().replace(/\n+/g," ");i.length>5&&s.length>10&&t.push({question:i,answer:s})}return t}function ce({title:l,description:t,image:c,url:n,slug:a,language:o="en",type:r="website",publishedTime:i,modifiedTime:s,authorName:h,content:d,faqs:p}){const u="https://ssimple.ca",m=n||"/",y=`${u}${m}`,M=`${l} | Simple Service Blog`,v=o==="fr",O=v?"fr-CA":"en-CA",b=a?a.startsWith("fr-")?a.slice(3):a:null,N=b?`fr-${b}`:null,w=b?`${u}/blog/${b}`:null,C=N?`${u}/blog/${N}`:null,k=p||(d?ie(d):[]),S=r==="article"?{"@context":"https://schema.org","@type":"Article",headline:l,description:t,...c&&{image:[c]},datePublished:i,...s&&{dateModified:s},author:{"@type":"Person",name:h||"Abe",jobTitle:"Founder & Cleaning Expert",url:`${u}/about`},publisher:{"@type":"Organization",name:"Simple Service",url:u,logo:{"@type":"ImageObject",url:`${u}/og-image.png`}},mainEntityOfPage:{"@type":"WebPage","@id":y},url:y,inLanguage:O,isPartOf:{"@type":"Blog",name:"Simple Service Blog",url:`${u}/blog`}}:null,_=k.length>0?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:k.map(I=>({"@type":"Question",name:I.question,acceptedAnswer:{"@type":"Answer",text:I.answer}}))}:null;return e.jsxs(U,{title:M,description:t,path:m,ogType:r,ogImage:c||void 0,locale:v?"fr_CA":"en_CA",localeAlternate:v?"en_CA":"fr_CA",noDefaultImage:!c,children:[r==="article"&&i&&e.jsx("meta",{property:"article:published_time",content:i}),r==="article"&&s&&e.jsx("meta",{property:"article:modified_time",content:s}),r==="article"&&h&&e.jsx("meta",{property:"article:author",content:h}),r==="article"&&e.jsx("meta",{property:"article:section",content:"Commercial Cleaning"}),w&&e.jsx("link",{rel:"alternate",hrefLang:"en-ca",href:w}),C&&e.jsx("link",{rel:"alternate",hrefLang:"fr-ca",href:C}),w&&e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:w}),S&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(S)}),_&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify(_)})]})}function de({headings:l}){const[t,c]=f.useState("");f.useEffect(()=>{const a=new IntersectionObserver(o=>{o.forEach(r=>{r.isIntersecting&&c(r.target.id)})},{rootMargin:"-80px 0px -80% 0px",threshold:0});return l.forEach(({id:o})=>{const r=document.getElementById(o);r&&a.observe(r)}),()=>{l.forEach(({id:o})=>{const r=document.getElementById(o);r&&a.unobserve(r)})}},[l]);const n=a=>{const o=document.getElementById(a);if(o){const i=o.getBoundingClientRect().top+window.pageYOffset+-100;window.scrollTo({top:i,behavior:"smooth"})}};return l.length===0?null:e.jsxs("nav",{className:"sticky top-24",children:[e.jsx("h4",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground mb-4",children:"Contents"}),e.jsx("ul",{className:"space-y-2",children:l.map(a=>e.jsx("li",{children:e.jsx("button",{onClick:()=>n(a.id),className:V("text-sm text-left w-full px-3 py-1.5 rounded transition-colors",a.level===3&&"pl-6",t===a.id?"bg-destructive/10 text-destructive":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:a.text})},a.id))})]})}const P={toronto:{name:"Toronto",nameFr:"Toronto",slug:"toronto",region:"gta"},brampton:{name:"Brampton",nameFr:"Brampton",slug:"brampton",region:"gta"},mississauga:{name:"Mississauga",nameFr:"Mississauga",slug:"mississauga",region:"gta"},vaughan:{name:"Vaughan",nameFr:"Vaughan",slug:"vaughan",region:"gta"},"north-york":{name:"North York",nameFr:"North York",slug:"north-york",region:"gta"},scarborough:{name:"Scarborough",nameFr:"Scarborough",slug:"scarborough",region:"gta"},etobicoke:{name:"Etobicoke",nameFr:"Etobicoke",slug:"etobicoke",region:"gta"},"east-york":{name:"East York",nameFr:"East York",slug:"east-york",region:"gta"},york:{name:"York",nameFr:"York",slug:"york",region:"gta"},montreal:{name:"Montreal",nameFr:"Montréal",slug:"montreal",region:"mtl"},laval:{name:"Laval",nameFr:"Laval",slug:"laval",region:"mtl"},longueuil:{name:"Longueuil",nameFr:"Longueuil",slug:"longueuil",region:"mtl"},brossard:{name:"Brossard",nameFr:"Brossard",slug:"brossard",region:"mtl"},terrebonne:{name:"Terrebonne",nameFr:"Terrebonne",slug:"terrebonne",region:"mtl"},vancouver:{name:"Vancouver",nameFr:"Vancouver",slug:"vancouver",region:"van"},burnaby:{name:"Burnaby",nameFr:"Burnaby",slug:"burnaby",region:"van"},richmond:{name:"Richmond",nameFr:"Richmond",slug:"richmond",region:"van"},surrey:{name:"Surrey",nameFr:"Surrey",slug:"surrey",region:"van"},"north-vancouver":{name:"North Vancouver",nameFr:"North Vancouver",slug:"north-vancouver",region:"van"},coquitlam:{name:"Coquitlam",nameFr:"Coquitlam",slug:"coquitlam",region:"van"}},me=[{key:"commercial",en:"Commercial Cleaning",fr:"Nettoyage commercial",path:"commercial-cleaning"},{key:"office",en:"Office Cleaning",fr:"Nettoyage de bureaux",path:"office-cleaning"},{key:"industrial",en:"Industrial Cleaning",fr:"Nettoyage industriel",path:"industrial-cleaning"},{key:"event",en:"Event Cleaning",fr:"Nettoyage d'événements",path:"event-cleaning"},{key:"specialized",en:"Specialized Cleaning",fr:"Nettoyage spécialisé",path:"specialized-cleaning"}],ue={gta:{en:[{label:"WSIB – Workplace Safety & Insurance Board",url:"https://www.wsib.ca/"},{label:"Ontario Ministry of Labour",url:"https://www.ontario.ca/page/ministry-labour-immigration-training-skills-development"},{label:"Health Canada – Cleaning & Disinfection",url:"https://www.canada.ca/en/health-canada/services/drugs-health-products/disinfectants.html"},{label:"ISSA – The Worldwide Cleaning Industry Association",url:"https://www.issa.com/"},{label:"Canadian Centre for Occupational Health & Safety",url:"https://www.ccohs.ca/"}],fr:[{label:"WSIB – Commission de la sécurité professionnelle",url:"https://www.wsib.ca/"},{label:"Ministère du Travail de l'Ontario",url:"https://www.ontario.ca/page/ministry-labour-immigration-training-skills-development"},{label:"Santé Canada – Nettoyage et désinfection",url:"https://www.canada.ca/fr/sante-canada/services/medicaments-produits-sante/desinfectants.html"},{label:"ISSA – Association mondiale de l'industrie du nettoyage",url:"https://www.issa.com/"},{label:"CCHST – Centre canadien d'hygiène et sécurité au travail",url:"https://www.cchst.ca/"}]},mtl:{en:[{label:"CNESST – Workplace Health & Safety (Quebec)",url:"https://www.cnesst.gouv.qc.ca/en"},{label:"Health Canada – Cleaning & Disinfection",url:"https://www.canada.ca/en/health-canada/services/drugs-health-products/disinfectants.html"},{label:"ISSA – The Worldwide Cleaning Industry Association",url:"https://www.issa.com/"},{label:"INSPQ – Quebec Public Health Institute",url:"https://www.inspq.qc.ca/en"},{label:"Canadian Centre for Occupational Health & Safety",url:"https://www.ccohs.ca/"}],fr:[{label:"CNESST – Santé et sécurité au travail (Québec)",url:"https://www.cnesst.gouv.qc.ca/"},{label:"Santé Canada – Nettoyage et désinfection",url:"https://www.canada.ca/fr/sante-canada/services/medicaments-produits-sante/desinfectants.html"},{label:"ISSA – Association mondiale de l'industrie du nettoyage",url:"https://www.issa.com/"},{label:"INSPQ – Institut national de santé publique du Québec",url:"https://www.inspq.qc.ca/"},{label:"CCHST – Centre canadien d'hygiène et sécurité au travail",url:"https://www.cchst.ca/"}]},van:{en:[{label:"WorkSafeBC – Workplace Safety",url:"https://www.worksafebc.com/"},{label:"Health Canada – Cleaning & Disinfection",url:"https://www.canada.ca/en/health-canada/services/drugs-health-products/disinfectants.html"},{label:"ISSA – The Worldwide Cleaning Industry Association",url:"https://www.issa.com/"},{label:"BC Centre for Disease Control",url:"http://www.bccdc.ca/"},{label:"Canadian Centre for Occupational Health & Safety",url:"https://www.ccohs.ca/"}],fr:[{label:"WorkSafeBC – Sécurité au travail",url:"https://www.worksafebc.com/"},{label:"Santé Canada – Nettoyage et désinfection",url:"https://www.canada.ca/fr/sante-canada/services/medicaments-produits-sante/desinfectants.html"},{label:"ISSA – Association mondiale de l'industrie du nettoyage",url:"https://www.issa.com/"},{label:"BCCDC – Centre de contrôle des maladies de la C.-B.",url:"http://www.bccdc.ca/"},{label:"CCHST – Centre canadien d'hygiène et sécurité au travail",url:"https://www.cchst.ca/"}]}},F={en:[{label:"Health Canada – Cleaning & Disinfection",url:"https://www.canada.ca/en/health-canada/services/drugs-health-products/disinfectants.html"},{label:"ISSA – The Worldwide Cleaning Industry Association",url:"https://www.issa.com/"},{label:"Canadian Centre for Occupational Health & Safety",url:"https://www.ccohs.ca/"}],fr:[{label:"Santé Canada – Nettoyage et désinfection",url:"https://www.canada.ca/fr/sante-canada/services/medicaments-produits-sante/desinfectants.html"},{label:"ISSA – Association mondiale de l'industrie du nettoyage",url:"https://www.issa.com/"},{label:"CCHST – Centre canadien d'hygiène et sécurité au travail",url:"https://www.cchst.ca/"}]};function he({postSlug:l,postTitle:t}){const{language:c}=L(),n=c==="fr",a=f.useMemo(()=>{const s=`${l} ${t}`.toLowerCase(),h=Object.keys(P).sort((d,p)=>p.length-d.length);for(const d of h)if(s.includes(d))return P[d];return null},[l,t]),o=f.useMemo(()=>a?me.map(s=>({label:n?s.fr:s.en,path:`/services/${s.path}/${a.slug}`})):[],[a,n]),r=f.useMemo(()=>{if(!a)return n?F.fr:F.en;const s=ue[a.region];return n?s.fr:s.en},[a,n]),i=a?n?a.nameFr:a.name:null;return e.jsxs("section",{className:"border border-border rounded-xl p-6 md:p-8 mb-8 space-y-8",children:[a&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(Q,{className:"w-5 h-5 text-accent-blue shrink-0"}),e.jsx("h3",{className:"text-lg font-bold",children:n?`Nos services de nettoyage à ${i}`:`Our Cleaning Services in ${i}`})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2",children:[o.map(s=>e.jsxs(g,{to:s.path,className:"flex items-center gap-2 px-3 py-2.5 rounded-lg border border-border text-sm hover:border-accent-blue hover:bg-accent-blue/5 transition-colors",children:[e.jsx("span",{className:"text-accent-blue",children:"→"}),s.label]},s.path)),e.jsxs(g,{to:`/locations/${a.slug}`,className:"flex items-center gap-2 px-3 py-2.5 rounded-lg border border-border text-sm hover:border-accent-blue hover:bg-accent-blue/5 transition-colors",children:[e.jsx(E,{className:"w-4 h-4 text-accent-blue shrink-0"}),n?`Tout sur ${i}`:`All About ${i}`]}),e.jsxs(g,{to:`/pricing-guide/${a.slug}`,className:"flex items-center gap-2 px-3 py-2.5 rounded-lg border border-border text-sm hover:border-accent-blue hover:bg-accent-blue/5 transition-colors",children:[e.jsx("span",{className:"text-accent-blue",children:"$"}),n?`Guide des prix à ${i}`:`${i} Pricing Guide`]})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx($,{className:"w-5 h-5 text-accent-blue shrink-0"}),e.jsx("h3",{className:"text-lg font-bold",children:n?"Ressources et références":"Resources & References"})]}),e.jsx("ul",{className:"space-y-2",children:r.map((s,h)=>e.jsx("li",{children:e.jsxs("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground hover:text-accent-blue transition-colors inline-flex items-center gap-1.5",children:[e.jsx($,{className:"w-3.5 h-3.5 shrink-0"}),s.label]})},h))})]})]})}function Ie(){var u;const{slug:l}=q(),{data:t,isLoading:c}=H(l||""),{mutate:n}=R(),{data:a}=z((t==null?void 0:t.id)||"",(t==null?void 0:t.category_id)||null);W((t==null?void 0:t.author_id)||"",(t==null?void 0:t.id)||"");const{language:o,t:r}=L();f.useEffect(()=>{l&&n(l)},[l,n]);const i=()=>window.scrollTo({top:0,behavior:"smooth"});if(c)return e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background",children:e.jsx(D,{className:"h-8 w-8 animate-spin text-muted-foreground"})});if(!t)return e.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-center bg-background",children:[e.jsx("h1",{className:"text-2xl font-bold mb-4",children:r("blog.postNotFound")}),e.jsx(g,{to:"/blog",className:"text-accent-blue hover:underline",children:r("blog.backToBlog")})]});const s=ae(t.content_md),h=re(t.content_md),d=t.excerpt||A(t.content_md),p=window.location.href;return e.jsxs(e.Fragment,{children:[e.jsx(ce,{title:t.meta_title||t.title,description:t.meta_description||d,image:t.featured_image_url,url:`/blog/${t.slug}`,slug:t.slug,language:t.language||"en",type:"article",publishedTime:t.published_at,modifiedTime:t.updated_at,authorName:(u=t.author)==null?void 0:u.name,content:t.content_md}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://ssimple.ca/"},{"@type":"ListItem",position:2,name:"Blog",item:"https://ssimple.ca/blog"},{"@type":"ListItem",position:3,name:t.title,item:`https://ssimple.ca/blog/${t.slug}`}]})}}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"border-b border-border",children:e.jsxs("div",{className:"container-custom flex items-center justify-between h-16",children:[e.jsxs(g,{to:"/",className:"text-xl sm:text-2xl font-light tracking-tight hover:text-silver transition-colors flex items-center gap-2 whitespace-nowrap",children:[e.jsx(Y,{className:"w-5 h-5 fill-foreground text-foreground shrink-0"}),e.jsx("span",{children:"Simple Service"})]}),e.jsx("nav",{"aria-label":"Breadcrumb",children:e.jsxs("ol",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx("li",{children:e.jsx(g,{to:"/blog",className:"hover:text-foreground",children:r("blog.backToBlog")})}),e.jsx("li",{"aria-current":"page",className:"sr-only",children:t.title})]})})]})}),e.jsxs("main",{className:"container-custom py-12",children:[e.jsxs("article",{itemScope:!0,itemType:"https://schema.org/Article",children:[e.jsx("meta",{itemProp:"headline",content:t.title}),e.jsx("meta",{itemProp:"description",content:d}),t.featured_image_url&&e.jsx("meta",{itemProp:"image",content:t.featured_image_url}),t.published_at&&e.jsx("meta",{itemProp:"datePublished",content:t.published_at}),t.updated_at&&e.jsx("meta",{itemProp:"dateModified",content:t.updated_at}),e.jsxs("section",{className:"grid lg:grid-cols-2 gap-8 mb-12",children:[e.jsxs("div",{className:"flex flex-col justify-center",children:[t.category&&e.jsx(se,{className:"w-fit mb-4",children:t.category.name}),e.jsx("h1",{className:"text-3xl lg:text-4xl font-bold mb-4",itemProp:"name",children:t.title}),e.jsx("p",{className:"text-muted-foreground mb-6",children:d}),e.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.author&&e.jsxs("div",{className:"flex items-center gap-2",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:[t.author.image_url?e.jsx("img",{src:t.author.image_url,alt:t.author.name,className:"w-8 h-8 rounded-full object-cover"}):e.jsx(B,{className:"w-5 h-5"}),e.jsx("span",{itemProp:"name",children:t.author.name})]}),t.published_at&&e.jsx("time",{dateTime:t.published_at,children:T(t.published_at)}),e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(G,{className:"w-4 h-4"}),e.jsxs("span",{children:[h," ",r("blog.minRead")]})]})]})]}),t.featured_image_url&&e.jsx("div",{className:"aspect-video rounded-lg overflow-hidden bg-muted",children:e.jsx("img",{src:t.featured_image_url,alt:t.featured_image_alt||t.title,className:"w-full h-full object-cover"})})]}),e.jsxs("section",{className:"grid lg:grid-cols-[250px_1fr] gap-8 mb-16",children:[e.jsx("aside",{className:"hidden lg:block",children:e.jsx(de,{headings:s})}),e.jsx("div",{className:"lg:border-l lg:border-border lg:pl-8",itemProp:"articleBody",children:e.jsx(ee,{content:t.content_md})})]})]}),t.author&&e.jsx("section",{className:"border border-border rounded-xl bg-gradient-to-br from-card to-muted/50 p-6 md:p-8 mb-8",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:e.jsxs("div",{className:"flex flex-col sm:flex-row items-center sm:items-start gap-5",children:[t.author.image_url?e.jsx("img",{src:t.author.image_url,alt:t.author.name,className:"w-20 h-20 rounded-full object-cover ring-2 ring-border shrink-0",itemProp:"image"}):e.jsx("div",{className:"w-20 h-20 rounded-full bg-muted flex items-center justify-center ring-2 ring-border shrink-0",children:e.jsx(B,{className:"w-10 h-10 text-muted-foreground"})}),e.jsxs("div",{className:"text-center sm:text-left flex-1",children:[e.jsx("p",{className:"text-sm text-muted-foreground mb-1",children:o==="fr"?"Écrit par":"Written by"}),e.jsx("h3",{className:"text-lg font-bold",itemProp:"name",children:t.author.name}),t.author.title&&e.jsx("p",{className:"text-sm text-muted-foreground mb-3",itemProp:"jobTitle",children:t.author.title}),t.author.bio&&e.jsx("p",{className:"text-sm text-muted-foreground mb-4 max-w-xl",itemProp:"description",children:t.author.bio}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center sm:justify-start gap-x-5 gap-y-2 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(J,{className:"w-4 h-4 text-accent-blue shrink-0"}),o==="fr"?"10+ ans en nettoyage commercial":"10+ years in commercial cleaning"]}),t.author.email&&e.jsxs("a",{href:`mailto:${t.author.email}`,className:"flex items-center gap-1.5 hover:text-foreground transition-colors",itemProp:"email",children:[e.jsx(K,{className:"w-4 h-4 text-accent-blue shrink-0"}),t.author.email]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(E,{className:"w-4 h-4 text-accent-blue shrink-0"}),o==="fr"?"Montréal, Toronto & Vancouver":"Montreal, Toronto & Vancouver"]})]})]})]})}),e.jsxs("section",{className:"grid md:grid-cols-2 gap-6 mb-8",children:[e.jsx(te,{}),e.jsx(X,{})]}),e.jsx(he,{postSlug:t.slug,postTitle:t.title}),e.jsx("section",{className:"bg-gradient-to-r from-card to-muted border border-border rounded-lg p-8 mb-8",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-xl font-semibold mb-2",children:r("blog.readyToSimplify")}),e.jsx("p",{className:"text-muted-foreground",children:r("blog.readyToSimplifyDesc")})]}),e.jsx(x,{asChild:!0,size:"lg",children:e.jsx(g,{to:"/contact",children:r("blog.bookDemo")})})]})}),e.jsxs("div",{className:"flex items-center gap-2 mb-16",children:[e.jsx("span",{className:"text-sm text-muted-foreground mr-2",children:r("blog.share")}),e.jsx(x,{variant:"outline",size:"sm",asChild:!0,children:e.jsx("a",{href:`https://twitter.com/intent/tweet?url=${encodeURIComponent(p)}&text=${encodeURIComponent(t.title)}`,target:"_blank",rel:"noopener noreferrer",children:e.jsx(oe,{className:"h-4 w-4"})})}),e.jsx(x,{variant:"outline",size:"sm",asChild:!0,children:e.jsx("a",{href:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(p)}`,target:"_blank",rel:"noopener noreferrer",children:e.jsx(ne,{className:"h-4 w-4"})})}),e.jsx(x,{variant:"outline",size:"sm",asChild:!0,children:e.jsx("a",{href:`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(p)}`,target:"_blank",rel:"noopener noreferrer",children:e.jsx(le,{className:"h-4 w-4"})})})]}),a&&a.length>0&&e.jsxs("section",{className:"mb-12",children:[e.jsx("h2",{className:"text-2xl font-bold mb-6",children:r("blog.moreFromSimple")}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map(m=>e.jsxs(g,{to:`/blog/${m.slug}`,className:"group block border border-border rounded-lg overflow-hidden hover:shadow-lg transition-shadow",children:[m.featured_image_url&&e.jsx("div",{className:"aspect-video overflow-hidden",children:e.jsx("img",{src:m.featured_image_url,alt:m.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",loading:"lazy"})}),e.jsxs("div",{className:"p-4",children:[e.jsx("h3",{className:"font-semibold mb-1 group-hover:text-primary transition-colors line-clamp-2 underline-offset-2 group-hover:underline",children:m.title}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:m.excerpt||A(m.content_md,100)}),e.jsx("span",{className:"text-sm font-medium text-primary group-hover:underline",children:r("blog.readMore")})]})]},m.id))}),e.jsx("div",{className:"text-center mt-6",children:e.jsx(x,{variant:"outline",asChild:!0,children:e.jsx(g,{to:"/blog",children:r("blog.browseAll")})})})]})]}),e.jsx("noscript",{children:e.jsxs("div",{style:{padding:"2rem",maxWidth:"800px",margin:"0 auto"},children:[e.jsx("h1",{children:t.title}),t.author&&e.jsxs("p",{children:["By ",t.author.name]}),t.published_at&&e.jsxs("p",{children:["Published: ",T(t.published_at)]}),e.jsx("p",{children:d}),e.jsx("div",{dangerouslySetInnerHTML:{__html:t.content_md.replace(/^### (.*$)/gim,"