1import{m as b,i as g,k as u,l as j,n as h,M as w,S as v,j as e,o as N,p as f}from"./index-BDkfMUJ2.js";import{a as d,M as p}from"./MarketingPage-BiNvLOzM.js";import{R as c}from"./ResponsiveImage-DtVLVIPo.js";import{B as k}from"./BackToBlogLink-CS61RzHD.js";import{B as x,a as $}from"./BlogCategoryLink-DAhd5qnA.js";const I=a=>a.type==="heading",y=a=>{const t=u();return b.lexer(a,{gfm:!0}).filter(I).map(s=>({token:s,label:g(s.tokens)})).map(({token:s,label:i})=>({token:s,label:i,id:t(i)})).filter(({token:s})=>s.depth===2).map(({id:s,label:i})=>({id:s,label:i}))},n=a=>a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),m="100vw",S=({href:a,title:t,text:s})=>{const i=n(s),l=t===null?"":` title="${n(t)}"`,r=j(a);return r===void 0?`<img src="${n(a)}" alt="${i}"${l} loading="eager" decoding="async">`:`<picture>${[r.avif.length>0?`<source type="image/avif" srcset="${n(h(r.avif))}" sizes="${m}">`:"",r.webp.length>0?`<source type="image/webp" srcset="${n(h(r.webp))}"${r.isAnimated?"":` sizes="${m}"`}>`:""].join("")}<img src="${n(r.fallbackUrl)}" alt="${i}"${l} width="${r.width}" height="${r.height}" loading="eager" decoding="async"></picture>`},P=a=>{const t=new w({gfm:!0}),s=u();return t.use({renderer:{image:S,heading({tokens:i,depth:l}){const r=g(i);return`<h${l} id="${s(r)}">${this.parser.parseInline(i)}</h${l}> 2`}}}),t.parse(a,{async:!1})},o=({href:a,network:t,icon:s})=>e.jsx("a",{href:a,className:"share-social-icon w-inline-block",target:"_blank",rel:"noreferrer","aria-label":`Share on ${t}`,children:e.jsx("img",{src:s,alt:"","aria-hidden":"true"})}),T=({post:a})=>{const t=`${v}/blog/${a.slug}`,s=encodeURIComponent(t),i=encodeURIComponent(a.title);return e.jsxs("div",{className:"blogdetail-bottom",children:[e.jsxs("div",{className:"card-author",children:[a.authorImage!==""&&e.jsx("div",{className:"card-authorimg w64",children:e.jsx(c,{src:a.authorImage,alt:a.author,className:"image-cover"})}),e.jsx("div",{className:"card-authordetail",children:e.jsx(x,{author:a.author,className:"card-authorname"})})]}),e.jsxs("div",{className:"blog-share",children:[e.jsx("div",{children:"Share this"}),e.jsxs("div",{className:"share-social",children:[e.jsx(o,{href:`https://www.facebook.com/sharer/sharer.php?u=${s}`,network:"Facebook",icon:"/images/facebook.svg"}),e.jsx(o,{href:`https://www.linkedin.com/sharing/share-offsite/?url=${s}`,network:"LinkedIn",icon:"/images/linkedin.svg"}),e.jsx(o,{href:`https://twitter.com/intent/tweet?url=${s}&text=${i}`,network:"Twitter",icon:"/images/twitter.svg"})]})]})]})},B=()=>e.jsxs("div",{className:"why-meticulous-row",children:[e.jsx("h2",{className:"subheading-3 mb40",children:"Why Meticulous?"}),e.jsxs("div",{className:"why-meticulous-box",children:[e.jsx(c,{src:"/images/dashboard_1dashboard.webp",alt:"Meticulous test results dashboard",className:"image",sizes:"(max-width: 810px) 100vw, 810px"}),e.jsxs("div",{className:"meticulous-cta",children:[e.jsx("div",{className:"cta-content",children:"Ship with confidence using exhaustive automated testing."}),e.jsxs(d,{href:"https://app.meticulous.ai",className:"primary-btn cta-btn w-inline-block",children:[e.jsx("div",{children:"Try it now"}),e.jsxs("div",{className:"arrow-icon",children:[e.jsx("img",{src:"/images/arrow-btn.svg",width:"14",height:"14",alt:"","aria-hidden":"true",className:"btn-arrow"}),e.jsx("img",{src:"/images/arrow-btn.svg",width:"14",height:"14",alt:"","aria-hidden":"true",className:"btn-arrow-hover"})]})]})]})]}),e.jsxs("p",{className:"blogdetail-p",children:["Meticulous creates and maintains an exhaustive suite of end-to-end UI tests with ",e.jsx("strong",{children:"zero developer effort"}),". ",e.jsx(d,{href:"/",className:"blogdetail-link",children:"Learn more here."})]})]}),L=a=>a===""?"":new Date(`${a}T00:00:00Z`).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}),M=({post:a})=>{const t=a.showTableOfContents?y(a.bodyMarkdown):[];return e.jsxs(p,{currentPath:`/blog/${a.slug}`,children:[e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(N({title:a.title,de
2scription:a.description,canonicalPath:`/blog/${a.slug}`,datePublished:a.date,author:a.author,...a.heroImage===""?{}:{image:a.heroImage}}))}}),e.jsxs("section",{className:"blogdetail-section",children:[e.jsx("div",{className:"w-layout-blockcontainer container-lg pr w-container",children:e.jsxs("div",{className:"blogdetail-topbox",children:[e.jsx(k,{showIcon:!0}),e.jsx("div",{className:"post-date whitetext",children:L(a.date)}),e.jsx("h1",{className:"subheading-1 mb18",children:a.title}),e.jsx("div",{className:"categories-list",children:a.categories.map(s=>e.jsx($,{category:s,className:"categories-item whitetext w-inline-block"},s))}),e.jsxs("div",{className:"card-author blogdetail-author whitetext",children:[a.authorImage!==""&&e.jsx("div",{className:"card-authorimg whiteborder",children:e.jsx(c,{src:a.authorImage,alt:a.author,className:"image-cover"})}),e.jsx(x,{author:a.author,className:"card-authorname whitetext"})]})]})}),e.jsx("div",{className:"blogdetail-main",children:e.jsx("div",{className:"w-layout-blockcontainer container-lg w-container",children:e.jsx("div",{className:"blogdetail-wrap",children:e.jsxs("div",{className:"blogdetail-inner",children:[a.heroImage!==""&&e.jsx("div",{className:"blogdetail-mainimg",children:e.jsx(c,{src:a.heroImage,alt:a.heroImageAlt,className:"image",loading:"eager",fetchPriority:"high",sizes:"100vw"})}),t.length>0&&e.jsxs("nav",{className:"blog-contents-list","aria-label":"Table of contents",children:[e.jsx("div",{className:"subheading-3 black-text",children:"Contents"}),e.jsx("div",{className:"blog-contents-links",children:t.map(s=>e.jsx(d,{href:`#${s.id}`,className:"contents-link",children:s.label},s.id))})]}),e.jsx("div",{className:"blogrich-text w-richtext",dangerouslySetInnerHTML:{__html:P(a.bodyMarkdown)}}),a.showPromo&&e.jsx(B,{}),e.jsx(T,{post:a})]})})})})]})]})},O=()=>{const a=f.useLoaderData();return e.jsx(M,{post:a})};export{O as component};
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.