1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-CsOWHFF0.js","assets/preload-helper-D7HrI6pR.js","assets/jsx-runtime-C4zQcjKb.js","assets/marked.esm-qzHDuxX2.js"])))=>i.map(i=>d[i]); 2import{_ as ie}from"./preload-helper-D7HrI6pR.js";import{r as _,j as t,R as P}from"./jsx-runtime-C4zQcjKb.js";import{S as ne,s as re}from"./meta-DFBWUiWY.js";import{H as se,C as oe,F as ae}from"./header-CGJRLis8.js";import{E as le,C as T,a as N,S as ce,g as de}from"./blocks-Bpo8LHGe.js";import{c as g,B as R}from"./button-CwqUc_7q.js";import{H as me}from"./help-page-header-CalWtAWi.js";import{B as ue}from"./landing-elements-DzTjH-Hq.js";import{u as pe,L as O}from"./components-BUZmakEY.js";import"./theme-toggle-aIib6Wml.js";import"./ref-CybPQ3ea.js";import"./context-25W0uchC.js";import"./breadcrumb-BJMItgin.js";import"./index-Bvc6BeP9.js";function he({headings:e,className:s=""}){const[o,u]=_.useState("");_.useEffect(()=>{const r=new IntersectionObserver(a=>{const n=a.filter(c=>c.isIntersecting).sort((c,d)=>c.boundingClientRect.top-d.boundingClientRect.top);n.length>0&&u(n[0].target.id)},{rootMargin:"-100px 0% -66% 0%",threshold:.1});return e.forEach(a=>{const n=document.getElementById(a.id);n&&r.observe(n)}),()=>r.disconnect()},[e]);const l=r=>{const a=document.getElementById(r);if(a){const c=a.offsetTop-80;window.scrollTo({top:c,behavior:"smooth"}),u(r)}};return e.length===0?null:t.jsxs("div",{className:g(T,"p-6",s),children:[t.jsx("p",{className:g(le,"mb-4"),children:"On this page"}),t.jsx("nav",{className:"space-y-0.5",children:e.map(r=>{const a=o===r.id,n=`${(r.level-1)*16}px`;return t.jsx("button",{onClick:()=>l(r.id),className:g("block w-full rounded-lg px-3 py-1.5 text-left text-sm leading-5 transition-colors",a?"bg-greybg font-semibold text-ink":"text-grey hover:bg-greybg hover:text-ink"),style:{paddingLeft:n},children:r.text},r.id)})})]})}const ge=({name:e,title:s,description:o,avatarUrl:u,className:l=""})=>t.jsx("div",{className:`${T} p-6 ${l}`,children:t.jsxs("div",{className:"flex items-start space-x-4",children:[t.jsx("div",{className:"flex-shrink-0",children:u?t.jsx("img",{src:u,alt:`${e} avatar`,className:"w-16 h-16 rounded-full object-cover border border-bordergrey"}):t.jsx("div",{className:"w-16 h-16 rounded-full bg-primary flex items-center justify-center",children:t.jsx("span",{className:"text-white font-semibold text-xl",children:e.split(" ").map(r=>r[0]).join("").toUpperCase()})})}),t.jsxs("div",{className:"flex-1 min-w-0",children:[t.jsx("h3",{className:`${N} mb-1`,children:e}),t.jsx("p",{className:"text-sm font-medium text-primary mb-2",children:s}),t.jsx("p",{className:"text-sm text-grey leading-relaxed",children:o})]})]})}),fe=({className:e})=>t.jsx(ge,{name:"Laurent Schaffner",title:"Founder & Engineer at Linkbreakers",description:"Passionate about building tools that help businesses track and optimize their digital marketing efforts. Laurent founded Linkbreakers to make QR code analytics accessible and actionable for companies of all sizes.",className:e}),m="https://linkbreakers.com",$=`${m}#organization`,xe=`${m}#website`;function be(e){if(!e)return"";const s=[/^what'?s\s+(an?\s+)?/i,/^what\s+is\s+(an?\s+)?/i,/^how\s+to\s+/i,/^how\s+do\s+i\s+/i,/^how\s+do\s+/i,/^why\s+/i,/^can\s+i\s+/i];let o=e.trim();for(const u of s)o=o.replace(u,"");return o=o.replace(/\?+$/,"").trim(),o?o.charAt(0).toUpperCase()+o.slice(1):e.trim()}function ye(e,s=320){if(e)return e.length<=s?e:`${e.slice(0,s).trim()}â¦`}function ve(e){if(!e)return;const s=e.split(/\s+/).filter(Boolean);return s.length>0?s.length:void 0}function v(e){if(!e)return;const s=typeof e=="string"?new Date(e):e;if(!Number.isNaN(s.getTime()))return s.toISOString()}function je(e,s){if(e){const o=e.match(/<img[^>]+src=["']([^"']+)["']/i);if(o!=null&&o[1])return o[1]}if(s){const o=s.match(/!\[[^\]]*]\(([^)]+)\)/);if(o!=null&&o[1])return o[1]}}const we=({data:e})=>{var l;if(!(e!=null&&e.article))return[{title:"Article not found"},{name:"description",content:"The requested help article could not be found."}];const{article:s}=e,o=((l=s.author)==null?void 0:l.trim())||"Laurent Schaffner";return[{tagName:"link",rel:"canonical",href:`https://linkbreakers.com/help/article/${s.slug}`},{title:`${s.title} - Comprehensive Guide`},{name:"description",content:s.description||`Get detailed step-by-step instructions and expert guidance on ${s.title}. Learn best practices, troubleshoot common issues, and maximize your Linkbreakers QR code tracking experience with our comprehensive documentation.`},{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"},{property:"article:published_time",content:v(s.publishedAt)||""},{property:"article:modified_time",content:v(s.updatedAt)||v(s.publishedAt)||""},{property:"article:author",content:o},{property:"article:section",content:s.category||"Help"}]},Ne=({htmlContent:e})=>(P.useEffect(()=>{const s=l=>{var a,n;const r=l.target;if(r.tagName==="A"&&((a=r.getAttribute("href"))!=null&&a.startsWith("#"))){l.preventDefault();const c=(n=r.getAttribute("href"))==null?void 0:n.substring(1);if(c){const d=document.getElementById(c);if(d){const p=d.offsetTop-100;window.scrollTo({top:p,behavior:"smooth"}),history.replaceState(null,"",`#${c}`)}}}};
2return document.addEventListener("click",s),(()=>{var d,f;if(typeof window>"u")return;const l=(d=window.matchMedia)==null?void 0:d.call(window,"(max-width: 768px)"),r=(f=window.matchMedia)==null?void 0:f.call(window,"(pointer: coarse)"),a=typeof navigator<"u"&&/Mobi|Android/i.test(navigator.userAgent),n=!!(l!=null&&l.matches||r!=null&&r.matches||a);document.querySelectorAll(".help-content video").forEach(p=>{p.setAttribute("playsinline",""),p.setAttribute("webkit-playsinline","true"),n&&p.hasAttribute("autoplay")&&(p.removeAttribute("autoplay"),p.muted=!1)})})(),(async()=>{const l=document.querySelectorAll(".mermaid-diagram");if(l.length!==0)try{const r=await ie(()=>import("./mermaid.core-CsOWHFF0.js").then(a=>a.bp),__vite__mapDeps([0,1,2,3]));r.default.initialize({startOnLoad:!1,theme:"default",themeVariables:{primaryColor:"#e1f5fe",primaryTextColor:"#000",primaryBorderColor:"#ccc",lineColor:"#333",sectionBkgColor:"#fff",altSectionBkgColor:"#f9f9f9",gridColor:"#e0e0e0",background:"#fff",secondaryColor:"#e8f5e8",tertiaryColor:"#fff3e0"},flowchart:{curve:"basis"}});for(const a of l)try{const n=a.getAttribute("data-mermaid-code")||"",d=a.getAttribute("data-mermaid-encoded")==="true"?atob(n):n,f=a.id||`mermaid-${Math.random().toString(36).substr(2,9)}`;if(d.trim()){const{svg:p}=await r.default.render(f+"_svg",d);a.innerHTML=p,a.style.minHeight="auto"}}catch(n){console.error("Error rendering mermaid diagram:",n),a.innerHTML=`<div class="text-danger text-sm">Failed to render diagram</div><pre class="mt-2 text-xs text-grey bg-greybg p-2 rounded-lg">${a.textContent}</pre>`}}catch(r){console.error("Error loading mermaid:",r)}})(),window.location.hash&&setTimeout(()=>{const l=window.location.hash.substring(1),r=document.getElementById(l);if(r){const n=r.offsetTop-100;window.scrollTo({top:n,behavior:"smooth"})}},100),()=>{document.removeEventListener("click",s)}},[e]),t.jsx("div",{className:"max-w-none help-content",dangerouslySetInnerHTML:{__html:e}}));function Oe(){var M,H;const{article:e,relatedArticles:s,categories:o,headings:u,plainText:l,structuredContent:r,faqEntries:a}=pe(),n=o.find(i=>i.slug===e.category),c=i=>{if(!i)return!1;const x=new Date(i),b=new Date("1990-01-01");return!Number.isNaN(x.getTime())&&x.getTime()>b.getTime()},d=i=>new Date(i).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),f=c(e.updatedAt)?d(e.updatedAt):c(e.publishedAt)?d(e.publishedAt):null,p=((M=e.author)==null?void 0:M.trim())||"Laurent Schaffner",h=`${m}/help/article/${e.slug}`,k=ye(l),L=ve(l),j=L?Math.max(1,Math.round(L/200)):void 0,q=j?`PT${j}M`:void 0,U=ne,I=je(e.htmlContent,e.content)||U,S=v(e.publishedAt),z=v(e.updatedAt)??S,C=be(e.title),F=Array.from(new Set([C,e.title,n==null?void 0:n.name,...r.headings.filter(i=>i.level===2).map(i=>i.text)].filter(Boolean))),W=`${h}#article`,w=`${h}#concept`,V=`${h}#faq`,y=n?`${m}/help/category/${n.slug}#concept`:void 0,A=n?`${m}/help/category/${n.slug}#knowledge-set`:void 0,G={"@type":"DefinedTerm","@id":w,name:C,alternateName:C.toLowerCase()!==e.title.toLowerCase()?e.title:void 0,description:e.description||k,disambiguatingDescription:k,termCode:e.slug,url:h,isDefinedBy:{"@id":$},mainEntityOfPage:h,inDefinedTermSet:A?{"@id":A}:void 0,...y&&{broader:{"@id":y}}},Q=n?{"@type":"Thing","@id":y,name:n.name,description:n.description,url:`${m}/help/category/${n.slug}`,mainEntityOfPage:`${m}/help/category/${n.slug}`}:null,J=n?{"@type":"DefinedTermSet","@id":A,name:`${n.name} knowledge set`,description:n.description,inLanguage:"en-US",url:`${m}/help/category/${n.slug}`,creator:{"@id":$},hasDefinedTerm:[{"@id":w}]}:null,X=r.headings.length>0?{"@type":"Article",headline:((H=r.headings.find(i=>i.level===1))==null?void 0:H.text)||e.title,articleSection:r.headings.filter(i=>i.level===2).map(i=>({"@type":"WebPageElement",name:i.text,identifier:i.id,url:`${h}#${i.id}`}))}:null,B=s.slice(0,5).map(i=>({"@type":"TechArticle","@id":`${m}/help/article/${i.slug}#article`,name:i.title,url:`${m}/help/article/${i.slug}`,description:i.description||void 0}
2)),Y=[{"@type":"TechArticle","@id":W,headline:e.title,description:e.description||k,articleSection:n==null?void 0:n.name,learningResourceType:"Documentation",mainEntityOfPage:h,mainEntity:{"@id":w},inLanguage:"en-US",url:h,datePublished:S,dateModified:z,isAccessibleForFree:!0,identifier:e.slug,isPartOf:{"@id":xe},wordCount:L,timeRequired:q,keywords:F,about:[{"@id":w},...y?[{"@id":y}]:[]],image:{"@type":"ImageObject",url:I},thumbnailUrl:I,author:{"@type":"Person",name:p},publisher:{"@id":$},articleBody:X||void 0,...r.codeBlocks.length>0&&{teaches:r.codeBlocks.map(i=>i.displayLanguage).filter((i,x,b)=>b.indexOf(i)===x).slice(0,5),programmingLanguage:r.codeBlocks.map(i=>({"@type":"ComputerLanguage",name:i.displayLanguage,identifier:i.language})).filter((i,x,b)=>b.findIndex(E=>E.identifier===i.identifier)===x).slice(0,10)},...B.length>0&&{mentions:B}},G,J,Q].filter(i=>!!i),D=a.filter((i,x,b)=>{const E=i.question.trim().toLowerCase();return b.findIndex(te=>te.question.trim().toLowerCase()===E)===x}),Z=D.length>0?{"@type":"FAQPage","@id":V,url:h,mainEntity:D.map(i=>({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:i.answer}}))}:null,K={"@type":"BreadcrumbList","@id":`${h}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:m},{"@type":"ListItem",position:2,name:"Help Center",item:`${m}/help`},...n?[{"@type":"ListItem",position:3,name:n.name,item:`${m}/help/category/${n.slug}`},{"@type":"ListItem",position:4,name:e.title,item:h}]:[{"@type":"ListItem",position:3,name:e.title,item:h}]]},ee={"@context":"https://schema.org","@graph":[...Y,K,Z].filter(i=>!!i)};return t.jsxs(P.Fragment,{children:[t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ee)}}),t.jsx(se,{}),t.jsx(me,{crumbs:[{label:"Help Center",to:"/help"},...n?[{label:n.name,to:`/help/category/${n.slug}`}]:[],{label:e.title}],title:e.title,lead:e.description,children:t.jsxs("div",{className:"flex flex-wrap items-center gap-x-4 gap-y-2 text-sm text-subgrey",children:[n&&t.jsx(ue,{variant:"neutral",children:n.name}),(e.readingTime||j)&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("svg",{className:"h-4 w-4 text-subgrey",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),t.jsxs("span",{children:[e.readingTime||j," min read"]})]}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsxs("svg",{className:"h-4 w-4 text-subgrey",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:[t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"}),t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 21v-2a4 4 0 00-4-4H9a4 4 0 00-4 4v2"})]}),t.jsxs("span",{children:["By ",p]})]}),f&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("svg",{className:"h-4 w-4 text-subgrey",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 7V3m8 4V3m-9 8h10m-11 6h12a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})}),t.jsxs("span",{children:["Updated ",f]})]})]})}),t.jsx("main",{className:"bg-surface py-10 lg:py-14",children:t.jsx(oe,{children:t.jsxs("div",{className:"flex flex-col gap-8 lg:flex-row lg:gap-12",children:[t.jsxs("div",{className:"min-w-0 max-w-none flex-1",children:[t.jsx(Ne,{htmlContent:e.htmlContent||""}),t.jsxs("div",{className:"mt-12 border-t border-bordergrey pt-8",children:[t.jsx("h2",{className:g(N,"mb-4 text-xl"),children:"About the Author"}),t.jsx(fe,{})]}),s.length>0&&t.jsxs("div",{className:"mt-12 border-t border-bordergrey pt-8",children:[t.jsx("h2",{className:g(ce,"mb-6"),children:"Related Articles"}),t.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:s.map(i=>t.jsxs(O,{to:`/help/article/${i.slug}`,className:g(de,"block p-5"),children:[t.jsx("h3",{className:g(N,"mb-2 text-base"),children:i.title}),i.description&&t.jsx("p",{className:"text-sm leading-relaxed text-grey line-clamp-2",children:i.description})]},i.slug))})]}),t.jsx("div",{className:"mt-12 border-t border-bordergrey pt-8",children:t.jsx(R,{asChild:!0,variant:"outline",children:t.jsxs(O,{to:"/help",children:[t.jsx("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 19l-7-7m0 0l7-7m-7 7h18"})}),"Back to Help Center"]})})})]}),u.filter(i=>i.level===2).length>0&&t.jsx("div",{className:"hidden w-[22rem] flex-shrink-0 lg:block",children:t.jsxs("div",{className:"sticky top-24 space-y-4",children:[t.jsx(he,{headings:u.filter(i=>i.level===2)}
2),t.jsxs("div",{className:g(T,"p-6"),children:[t.jsx("h3",{className:g(N,"mb-2 text-base"),children:"Need more help?"}),t.jsx("p",{className:"mb-4 text-sm leading-relaxed text-grey",children:"Can't find what you're looking for? Get in touch with our support team."}),t.jsx(R,{asChild:!0,children:t.jsx("a",{href:"mailto:[email protected]",children:"Contact Support"})})]})]})})]})})}),t.jsx(ae,{})]})}const Pe=re(we);export{Oe as default,Pe 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.