1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9351],{85942:function(e,t,a){Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.t.bind(a,72972,23))},99911:function(e,t,a){Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.bind(a,42756)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},53204:function(e,t,a){Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.bind(a,88903)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},34376:function(e,t,a){Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},94533:function(e,t,a){Promise.resolve().then(a.bind(a,9451)),Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.bind(a,44384)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},56511:function(e,t,a){Promise.resolve().then(a.bind(a,9451)),Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.bind(a,68262)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},26150:function(e,t,a){Promise.resolve().then(a.bind(a,9451)),Promise.resolve().then(a.bind(a,70609)),Promise.resolve().then(a.bind(a,95013)),Promise.resolve().then(a.bind(a,68262)),Promise.resolve().then(a.bind(a,81523)),Promise.resolve().then(a.bind(a,70049))},63521:function(){},54660:function(e,t,a){"use strict";a.d(t,{default:function(){return i}});var r=a(57437),s=a(27648),n=a(33145);function i(e){var t,{author:a,className:i=""}=e;return a?(0,r.jsxs)("section",{className:"bg-base-100 border border-base-300 rounded-2xl p-6 lg:p-8 mt-12 ".concat(i),itemScope:!0,itemType:"https://schema.org/Person",children:[(0,r.jsx)("div",{className:"mb-6",children:(0,r.jsxs)("h3",{className:"text-xl font-bold text-base-content mb-2 flex items-center gap-2",children:[(0,r.jsx)("svg",{className:"w-5 h-5 text-primary",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),"About the Author"]})}),(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)(n.default,{src:a.avatar||"/placeholder-profile.jpg",alt:"".concat(a.name," profile picture"),width:120,height:120,className:"rounded-2xl object-cover object-center mx-auto lg:mx-0 shadow-lg",itemProp:"image"})}),(0,r.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,r.jsxs)("div",{className:"text-center lg:text-left",children:[(0,r.jsx)("h4",{className:"text-2xl font-bold text-base-content mb-1",itemProp:"name",children:a.name}),a.credentials&&(0,r.jsxs)("p",{className:"text-primary font-medium",itemProp:"jobTitle",children:[a.credentials.title,a.credentials.company&&(0,r.jsxs)("span",{className:"text-base-content/70",children:[" @ ",a.credentials.company]})]})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("p",{className:"text-base-content/90 leading-relaxed",itemProp:"description",children:a.bio}),a.extendedBio&&(0,r.jsx)("p",{className:"text-base-content/80 leading-relaxed",children:a.extendedBio})]}),a.achievements&&a.achievements.length>0&&(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h5",{className:"font-semibold text-base-content/90 text-sm uppercase tracking-wide",children:"Key Achievements"}),(0,r.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2",children:a.achievements.slice(0,4).map((e,t)=>(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm text-base-content/80",children:[(0,r.jsx)("svg",{className:"w-4 h-4 text-green-500 flex-shrink-0",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})}),(0,r.jsx)("span",{children:e})]},t))})]}),a.expertise&&a.expertise.length>0&&(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h5",{className:"font-semibold text-base-content/90 text-sm uppercase tracking-wide",children:"Areas of Expertise"}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:a.expertise.slice(0,5).map((e,t)=>(0,r.jsx)("span",{className:"px-3 py-1 bg-primary/10 text-primary text-xs font-medium rounded-full border border-primary/20",itemProp:"knowsAbout",children:e},t))})]}),a.socials&&(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)("h5",{className:"font-semibold text-base-content/90 text-sm uppercase tracking-wide",children:"Connect"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-3",children:[a.socials.twitter&&(0,r.jsxs)(s.default,{href:a.socials.twitter,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-base-content/70 hover:text-primary transition-colors",itemProp:"sameAs",children:[(0,r.jsx)("svg",{className:"w-4 h-4",fill:"
1currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})}),"Twitter"]}),a.socials.x&&(0,r.jsxs)(s.default,{href:a.socials.x,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-base-content/70 hover:text-primary transition-colors",itemProp:"sameAs",children:[(0,r.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),"X"]}),a.socials.linkedin&&(0,r.jsxs)(s.default,{href:a.socials.linkedin,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-base-content/70 hover:text-primary transition-colors",itemProp:"sameAs",children:[(0,r.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),"LinkedIn"]}),a.socials.github&&(0,r.jsxs)(s.default,{href:a.socials.github,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-base-content/70 hover:text-primary transition-colors",itemProp:"sameAs",children:[(0,r.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})}),"GitHub"]}),a.website&&(0,r.jsxs)(s.default,{href:a.website,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm text-base-content/70 hover:text-primary transition-colors",itemProp:"url",children:[(0,r.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})}),"Website"]})]})]})]})]}),(0,r.jsxs)("div",{className:"hidden",children:[(0,r.jsx)("span",{itemProp:"url",children:a.website||"https://loadfast.store/authors/".concat(a.id)}),(null===(t=a.credentials)||void 0===t?void 0:t.company)&&(0,r.jsx)("div",{itemProp:"worksFor",itemScope:!0,itemType:"https://schema.org/Organization",children:(0,r.jsx)("span",{itemProp:"name",children:a.credentials.company})})]})]}):null}},58939:function(e,t,a){"use strict";a.d(t,{default:function(){return n}});var r=a(57437),s=a(27648);function n(e){var{items:t,className:a=""}=e;if(!t||0===t.length)return null;var n={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.href?"https://loadfast.store".concat(e.href):void 0}))};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n,null,2)}}),(0,r.jsx)("nav",{className:"flex items-center text-sm text-base-content/70 mb-6 ".concat(a),"aria-label":"Breadcrumb",children:(0,r.jsx)("ol",{className:"flex items-center space-x-2",children:t.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-center",children:[t>0&&(0,r.jsx)("svg",{className:"w-4 h-4 mx-2 text-base-content/40",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),e.href?(0,r.jsx)(s.default,{href:e.href,className:"hover:text-primary transition-colors duration-200",title:e.name,children:e.name}):(0,r.jsx)("span",{className:"text-base-content font-medium","aria-current":"page",children:e.name})]},t))})})]})}},90296:function(e,t,a){"use strict";var r=a(2403),s=a(57437),n=a(2265),i=a(78621),o=a(80605);t.default=()=>{var e,{data:t,status:a}
1=(0,o.useSession)(),[l,c]=(0,n.useState)(!1),d=()=>{(0,o.signOut)({callbackUrl:"/"})},u=(e=(0,r._)(function*(){c(!0);try{window.location.href="/settings"}catch(e){}c(!1)}),function(){return e.apply(this,arguments)});return"unauthenticated"===a?null:(0,s.jsx)(i.J,{className:"relative z-10",children:e=>{var a,r,n,o,c,m,p,h,{open:f}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.J.Button,{className:"btn btn-primary hover:btn-primary-focus shadow-lg transform hover:scale-105 transition-all duration-200",children:[(null==t?void 0:null===(a=t.user)||void 0===a?void 0:a.image)?(0,s.jsx)("img",{src:null==t?void 0:null===(r=t.user)||void 0===r?void 0:r.image,alt:(null==t?void 0:null===(n=t.user)||void 0===n?void 0:n.name)||"Account",className:"w-6 h-6 rounded-full shrink-0",referrerPolicy:"no-referrer",width:24,height:24}):(0,s.jsx)("span",{className:"w-6 h-6 bg-base-300 flex justify-center items-center rounded-full shrink-0",children:(null==t?void 0:null===(c=t.user)||void 0===c?void 0:null===(o=c.name)||void 0===o?void 0:o.charAt(0))||(null==t?void 0:null===(p=t.user)||void 0===p?void 0:null===(m=p.email)||void 0===m?void 0:m.charAt(0))}),(null==t?void 0:null===(h=t.user)||void 0===h?void 0:h.name)||"Account",l?(0,s.jsx)("span",{className:"loading loading-spinner loading-xs"}):(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5 duration-200 opacity-50 ".concat(f?"transform rotate-180 ":""),children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"})})]}),(0,s.jsx)(i.u,{enter:"transition duration-100 ease-out",enterFrom:"transform scale-95 opacity-0",enterTo:"transform scale-100 opacity-100",leave:"transition duration-75 ease-out",leaveFrom:"transform scale-100 opacity-100",leaveTo:"transform scale-95 opacity-0",children:(0,s.jsx)(i.J.Panel,{className:"absolute left-0 z-10 mt-3 w-screen max-w-[16rem] transform",children:(0,s.jsx)("div",{className:"overflow-hidden rounded-xl shadow-xl p-1 app-theme-card",style:{border:"1px solid var(--lf-border)"},children:(0,s.jsxs)("div",{className:"space-y-0.5 text-sm",children:[(0,s.jsxs)("button",{className:"flex items-center gap-2 duration-200 py-1.5 px-4 w-full rounded-lg font-medium app-theme-text",style:{backgroundColor:"transparent"},onClick:u,onMouseEnter:e=>{e.currentTarget.style.backgroundColor="color-mix(in srgb, var(--lf-surface-elevated) 84%, var(--lf-text) 8%)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 001 5.5V6h18v-.5A1.5 1.5 0 0017.5 4h-15zM19 8.5H1v6A1.5 1.5 0 002.5 16h15a1.5 1.5 0 001.5-1.5v-6zM3 13.25a.75.75 0 01.75-.75h1.5a.75.75 0 010 1.5h-1.5a.75.75 0 01-.75-.75zm4.75-.75a.75.75 0 000 1.5h3.5a.75.75 0 000-1.5h-3.5z",clipRule:"evenodd"})}),"License Key"]}),(0,s.jsxs)("button",{className:"flex items-center gap-2 duration-200 py-1.5 px-4 w-full rounded-lg font-medium app-theme-text",style:{backgroundColor:"transparent"},onClick:d,onMouseEnter:e=>{e.currentTarget.style.backgroundColor="color-mix(in srgb, var(--lf-accent) 18%, var(--lf-surface-elevated))",e.currentTarget.style.color="var(--lf-accent)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent",e.currentTarget.style.color="var(--lf-text)"},children:[(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5",children:[(0,s.jsx)("path",{fillRule:"evenodd",d:"M3 4.25A2.25 2.25 0 015.25 2h5.5A2.25 2.25 0 0113 4.25v2a.75.75 0 01-1.5 0v-2a.75.75 0 00-.75-.75h-5.5a.75.75 0 00-.75.75v11.5c0 .414.336.75.75.75h5.5a.75.75 0 00.75-.75v-2a.75.75 0 011.5 0v2A2.25 2.25 0 0110.75 18h-5.5A2.25 2.25 0 013 15.75V4.25z",clipRule:"evenodd"}),(0,s.jsx)("path",{fillRule:"evenodd",d:"M6 10a.75.75 0 01.75-.75h9.546l-1.048-.943a.75.75 0 111.004-1.114l2.5 2.25a.75.75 0 010 1.114l-2.5 2.25a.75.75 0 11-1.004-1.114l1.048-.943H6.75A.75.75 0 016 10z",clipRule:"evenodd"})]}),"Logout"]})]})})})})]})}})}},96997:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var r=a(2403),s=a(57437),n=a(2265),i=a(69064),o=a(80605),l=a(39957);function c(e){var t,{text:a="Start with LoadFast",className:c="inline-flex items-center justify-center rounded-md bg-clay px-4 py-2 text-sm font-semibold text-sand hover:bg-clay/90 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-clay disabled:opacity-50 disabled:cursor-not-allowed w-full transition-colors",icon:d=null,productId:u
1=null,planKey:m=null,workspaceId:p=null}=e,[h,f]=(0,n.useState)(!1),{data:x}=(0,o.useSession)(),g=(t=(0,r._)(function*(){try{if(f(!0),!(null==x?void 0:null===(e=x.user)||void 0===e?void 0:e.id)){localStorage.setItem("checkoutAfterLogin","true"),m&&localStorage.setItem("checkoutPlanKey",m),u&&localStorage.setItem("checkoutProductId",u);var e,t=new URLSearchParams({checkout:"1"});m&&t.set("planKey",m),u&&t.set("productId",u),yield(0,l.GI)(null,{callbackUrl:"/checkout-redirect?".concat(t.toString())},{reason:"checkout_gate"});return}var a=yield fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({redirectUrl:window.location.origin,userId:x.user.id,planKey:m||void 0,productId:u,workspaceId:p||void 0})});if(!a.ok)throw Error("Failed to create checkout session");var r=yield a.json();if(!(null==r?void 0:r.url))throw Error("No checkout URL returned");window.location.href=r.url}catch(e){i.ZP.error("Failed to start checkout. Please try again."),f(!1)}}),function(){return t.apply(this,arguments)});return(0,s.jsx)("button",{onClick:g,disabled:h,className:c,children:h?"Loading...":(0,s.jsxs)(s.Fragment,{children:[a,d&&(0,s.jsx)(d,{className:"ml-2 h-5 w-5"})]})})}},39079:function(e,t,a){"use strict";var r=a(57437),s=a(3146),n=a(87011);t.default=()=>(0,r.jsxs)("button",{className:"btn btn-sm",onClick:()=>{var e,t;(null===(e=n.Z.crisp)||void 0===e?void 0:e.id)?(s.Crisp.chat.show(),s.Crisp.chat.open()):(null===(t=n.Z.resend)||void 0===t?void 0:t.supportEmail)&&window.open("mailto:".concat(n.Z.resend.supportEmail,"?subject=Need help with ").concat(n.Z.appName),"_blank")},"data-tooltip-id":"tooltip","data-tooltip-content":"Talk to support",title:"Chat with support",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"w-5 h-5",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 2c-2.236 0-4.43.18-6.57.524C1.993 2.755 1 4.014 1 5.426v5.148c0 1.413.993 2.67 2.43 2.902.848.137 1.705.248 2.57.331v3.443a.75.75 0 001.28.53l3.58-3.579a.78.78 0 01.527-.224 41.202 41.202 0 005.183-.5c1.437-.232 2.43-1.49 2.43-2.903V5.426c0-1.413-.993-2.67-2.43-2.902A41.289 41.289 0 0010 2zm0 7a1 1 0 100-2 1 1 0 000 2zM8 8a1 1 0 11-2 0 1 1 0 012 0zm5 1a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})}),"Support"]})},70609:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return f}});var r=a(85583),s=a(1780),n=a(57437),i=a(27648),o=a(33145),l=a(87011),c=a(15586),d=a(2265),u=a(81801),m=a(90173),p=a(37739),h=[{key:"product",title:"Product",links:[{href:"/pricing",label:"Pricing"},{href:"/templates",label:"Templates Hub"},{href:"/text-expander-for",label:"Industries Hub"},{href:"/alternative-to",label:"Alternatives"},{href:"/sitemap",label:"Sitemap"}]},{key:"free-tools",title:"Free Tools",links:[{href:"/free-tools",label:"All Free Tools"},{href:"/roi",label:"ROI Calculator"},{href:"/snippets",label:"Snippet Library (500+)"},{href:"/mdr",label:"MDR Terminal"},{href:"/free-tools/snippet-trigger-generator",label:"Snippet Trigger Generator"},{href:"/free-tools/outreach-hook-lab",label:"Outreach Hook Lab"},{href:"/free-tools/text-expander-shortcut-ideas",label:"Shortcut Ideas"},{href:"/templates",label:"Templates Hub"}]},{key:"resources",title:"Resources",links:[{href:"/blog",label:"Blog"},{href:"/blog/best-text-expander-chrome-2025",label:"Best Text Expander 2025"},{href:"/blog/loadfast-vs-textexpander-comparison",label:"LoadFast vs TextExpander"},{href:"/contact",label:"Contact"},{href:"/feedback",label:"Feedback"}]},{key:"templates",title:"Templates",links:[{href:"/templates/for/email-response-automation-for-lawyers",label:"Email Templates for Lawyers"},{href:"/templates/for/client-onboarding-scripts-for-doctors",label:"Onboarding for Doctors"},{href:"/templates/for/sales-pitch-templates-for-realtors",label:"Sales for Real Estate"},{href:"/templates/for/proposal-writing-for-consultants",label:"Proposals for Consultants"},{href:"/templates/for",label:"View All Combinations"}]},{key:"comparisons",title:"Comparisons",links:[{href:"/alternative-to/textexpander",label:"vs TextExpander"},{href:"/alternative-to/phraseexpress",label:"vs PhraseExpress"}
1,{href:"/alternative-to/espanso",label:"vs Espanso"},{href:"/alternative-to/atext",label:"vs aText"},{href:"/alternative-to/typinator",label:"vs Typinator"}]},{key:"industries",title:"Industries",links:[{href:"/text-expander-for/lawyers",label:"Lawyers"},{href:"/text-expander-for/doctors",label:"Doctors"},{href:"/text-expander-for/realtors",label:"Real Estate"},{href:"/text-expander-for/accountants",label:"Accountants"},{href:"/text-expander-for/consultants",label:"Consultants"},{href:"/text-expander-for/nurses",label:"Nurses"}]},{key:"locations",title:"Locations",links:[{href:"/text-expander-for/lawyers/new-york",label:"Lawyers in New York"},{href:"/text-expander-for/doctors/los-angeles",label:"Doctors in Los Angeles"},{href:"/text-expander-for/realtors/chicago",label:"Real Estate in Chicago"},{href:"/text-expander-for/accountants/houston",label:"Accountants in Houston"}]}],f=()=>{var[e,t]=(0,d.useState)({product:!0,"free-tools":!0}),a=e=>{t(t=>(0,s._)((0,r._)({},t),{[e]:!t[e]}))},f=e=>{var{href:t,children:a,external:o=!1}=e;return(0,n.jsx)(i.default,(0,s._)((0,r._)({href:t,className:"theme-muted hover:theme-text transition-colors duration-200 text-sm leading-6 block"},o&&{target:"_blank",rel:"noopener noreferrer"}),{children:a}))},x=e=>{var{href:t,ariaLabel:a,children:r}=e;return(0,n.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer","aria-label":a,className:"inline-flex h-9 w-9 items-center justify-center rounded-full border theme-muted transition",style:{borderColor:"var(--lf-border)"},children:r})};return(0,n.jsx)("footer",{className:"relative overflow-hidden border-t",style:{backgroundColor:"var(--lf-bg)",borderColor:"var(--lf-border)"},children:(0,n.jsx)("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-14",children:(0,n.jsx)("div",{className:"rounded-3xl border p-6 sm:p-8",style:{borderColor:"var(--lf-border)",backgroundColor:"var(--lf-bg)"},children:(0,n.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[1.2fr_3fr]",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)(i.default,{href:"/",className:"inline-flex items-center gap-2",children:[(0,n.jsx)(o.default,{src:c.default,alt:"".concat(l.Z.appName," logo"),className:"w-6 h-6",width:24,height:24}),(0,n.jsx)("span",{className:"font-sans text-xl font-semibold theme-text",children:"LoadFast"})]}),(0,n.jsx)("p",{className:"mt-4 max-w-sm text-sm leading-7 theme-muted",children:"Save 1+ hour daily by turning short triggers into polished responses, outreach messages, and workflow updates."}),(0,n.jsxs)("div",{className:"mt-6 flex items-center gap-3",children:[(0,n.jsx)(x,{href:"https://x.com/vidursaini",ariaLabel:"Follow LoadFast on X",children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})}),(0,n.jsx)(x,{href:"https://www.instagram.com/loadfast1/",ariaLabel:"Follow LoadFast on Instagram",children:(0,n.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})})]}),(0,n.jsxs)("p",{className:"mt-8 text-xs theme-muted opacity-80",children:["\xa9 ",new Date().getFullYear()," LoadFast. All rights reserved."]}),(0,n.jsxs)("div",{className:"mt-2 space-y-1",children:[(0,n.jsx)(f,{href:"/privacy-policy",children:"Privacy Policy"}),(0,n.jsx)(f,{href:"/tos",children:"Terms of Service"})]}),(0,n.jsxs)("div",{className:"mt-5 flex flex-col items-start gap-2",children:[(0,n.jsxs)("a",{href:"https://chromewebstore.google.com/detail/loadfast-lightning-fast-t/iibpnffadbhhidgohbpollachjbllnle",target:"_blank",rel:"noopener noreferrer",className:"hero-cta inline-flex items-center justify-center gap-2 rounded-xl px-4 py-2 text-xs font-semibold transition-colors",children:[(0,n.jsx)(p.d,{className:"h-3.5 w-3.5"}),"Download Chrome Extension"]}),(0,n.jsxs)("a",{href:"https://media.loadfast.store/downloads/LoadFast.dmg",className:"hero-cta inline-flex items-center justify-center gap-2 rounded-xl px-4 py-2 text-xs font-semibold transition-colors",children:[(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:"h-3.5 w-3.5 fill-current","aria-hidden":"true",children:(0,n.jsx)("path",{d:"M16.37 12.2c.03 3.21 2.81 4.28 2.84 4.29-.02.08-.44 1.51-1.44 2.99-.87 1.28-1.77 2.55-3.19 2.58-1.39.03-1.84-.82-3.44-.82-1.59 0-2.09.79-3.41.85-1.37.05-2.42-1.37-3.29-2.64-1.77-2.55-3.12-7.2-1.3-10.36.9-1.57 2.51-2.56 4.25-2.58 1.33-.03 2.59.89 3.44.89.85 0 2.44-1.1 4.11-.94.7.03 2.67.28 3.94 2.14-.1.06-2.35 1.37-2.32 4.1zM14.16 3.4c.73-.88 1.23-2.11 1.1-3.4-1.05.04-2.31.7-3.06 1.57-.67.77-1.26 2-1.1 3.17 1.17.09 2.34-.59 3.06-1.34z"})}),"Download Mac App"]})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"hidden md:grid md:grid-cols-3 xl:grid-cols-4 gap-4",children:h.map(e=>(0,n.jsxs)("section",{className:"rounded-xl border p-4",style:{borderColor:"var(--lf-border)",backgroundColor:"color-mix(in srgb, var(--lf-surface) 70%, var(--lf-surface-elevated) 30%)"},children:[(0,n.jsx)("h3",{className:"text-xs font-bold uppercase tracking-widest theme-text",children:e.title}),(0,n.jsx)("div",{className:"mt-3 space-y-1.5",children:e.links.map(e=>(0,n.jsx)(f,{href:e.href,children:e.label},e.href))}),"resources"===e.key&&l.Z.resend.supportEmail&&(0,n.jsx)("a",{href:"mailto:".concat(l.Z.resend.supportEmail),className:"mt-2 block text-sm theme-muted hover:theme-text transition-colors duration-200",children:"Support"})]},e.key))}),(0,n.jsx)("div",{className:"md:hidden space-y-1",children:h.map(t=>(0,n.jsxs)("div",{className:"border-b",style:{borderColor:"var(--lf-border)"},children:[(0,n.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between py-3",onClick:()=>a(t.key),"aria-expanded":!!e[t.key],children:[(0,n.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest theme-text",children:t.title}),e[t.key]?(0,n.jsx)(m.Z,{className:"h-4 w-4 theme-muted"}):(0,n.jsx)(u.Z,{className:"h-4 w-4 theme-muted"})]}),e[t.key]&&(0,n.jsxs)("div",{className:"pb-3 space-y-1.5",children:[t.links.map(e=>(0,n.jsx)(f,{href:e.href,children:e.label},e.href)),"resources"===t.key&&l.Z.resend.supportEmail&&(0,n.jsx)("a",{href:"mailto:".concat(l.Z.resend.supportEmail),className:"block text-sm theme-muted hover:theme-text transition-colors duration-200",children:"Support"})]})]},t.key))})]})]})})})})}},95013:function(e,t,a){"use strict";a.r(t);var r=a(57437),s=a(2265),n=a(27648),i=a(33145),o=a(15586),l=a(87011),c=a(39957),d=[{name:"Pricing",url:"/#pricing-section"},{name:"FAQ",url:"/#faq-section"}],u=[{name:"Download Chrome Extension",url:"https://chromewebstore.google.com/detail/loadfast-lightning-fast-t/iibpnffadbhhidgohbpollachjbllnle"},{name:"Download Mac App",url:"https://media.loadfast.store/downloads/LoadFast.dmg"}];t.default=()=>
1{var[e,t]=(0,s.useState)(!1),a=()=>{(0,c.GI)(void 0,{callbackUrl:l.Z.auth.callbackUrl},{reason:"header_login"})};return(0,r.jsxs)("header",{className:"theme-header sticky top-0 z-50 border-b backdrop-blur",children:[(0,r.jsxs)("nav",{className:"mx-auto flex w-full max-w-6xl items-center justify-between gap-4 px-6 py-4","aria-label":"Primary",children:[(0,r.jsxs)(n.default,{className:"flex items-center gap-2 shrink-0",href:"/",title:"".concat(l.Z.appName," homepage"),children:[(0,r.jsx)(i.default,{src:o.default,alt:"".concat(l.Z.appName," logo"),className:"w-7 h-7",placeholder:"blur",priority:!0,width:28,height:28,sizes:"28px"}),(0,r.jsx)("span",{className:"font-sans font-semibold text-xl tracking-tight theme-text",children:"LoadFast"})]}),(0,r.jsxs)("div",{className:"hidden md:flex items-center gap-8",children:[d.map(e=>(0,r.jsx)(n.default,{href:e.url,className:"theme-link rounded-lg px-2 py-1 text-sm font-medium transition-colors",children:e.name},e.url)),(0,r.jsxs)("div",{className:"group relative",children:[(0,r.jsxs)("button",{type:"button",className:"theme-link rounded-lg px-2 py-1 text-sm font-medium transition-colors inline-flex items-center gap-1",children:["Products",(0,r.jsx)("span",{"aria-hidden":"true",className:"text-xs",children:"â¾"})]}),(0,r.jsx)("div",{className:"invisible absolute left-1/2 top-full mt-2 w-60 -translate-x-1/2 rounded-xl border p-2 opacity-0 shadow-lg transition-all duration-150 group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100",style:{backgroundColor:"var(--lf-surface-elevated)",borderColor:"var(--lf-border)"},children:u.map(e=>(0,r.jsx)("a",{href:e.url,target:e.url.startsWith("http")?"_blank":void 0,rel:e.url.startsWith("http")?"noopener noreferrer":void 0,className:"theme-link block rounded-lg px-3 py-2 text-sm font-medium transition-colors",children:e.name},e.name))})]})]}),(0,r.jsx)("button",{type:"button",onClick:a,className:"hidden md:inline-flex theme-link rounded-xl border px-4 py-2 text-sm font-medium transition-colors",children:"Log in"}),(0,r.jsx)("button",{type:"button","aria-label":e?"Close menu":"Open menu","aria-expanded":e,onClick:()=>t(e=>!e),className:"md:hidden inline-flex items-center justify-center rounded-xl border px-3 py-2 theme-link transition-colors",children:e?(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-5 w-5",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})}):(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.8,stroke:"currentColor",className:"h-5 w-5",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})})]}),e?(0,r.jsxs)("div",{className:"md:hidden border-t border-[var(--lf-border)] px-6 py-4",style:{backgroundColor:"var(--lf-surface-elevated)"},children:[(0,r.jsx)("div",{className:"flex flex-col gap-2",children:[{name:"Pricing",url:"/#pricing-section"},{name:"FAQ",url:"/#faq-section"},{name:"Reviews",url:"/#reviews-section"}].map(e=>(0,r.jsx)(n.default,{href:e.url,onClick:()=>t(!1),className:"theme-link rounded-lg px-1 py-2 text-lg font-medium",children:e.name},e.url))}),(0,r.jsx)("div",{className:"mt-4 border-t border-[var(--lf-border)] pt-4",children:(0,r.jsx)("button",{type:"button",onClick:()=>{t(!1),a()},className:"inline-flex w-full items-center justify-center rounded-xl border px-4 py-2 text-sm font-medium theme-link transition-colors",children:"Log in"})})]}):null]})}},39715:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return M}});var r=a(57437),s=a(29),n=a.n(s),i=a(2265),o=a(71023),l=a(21886),c=a(78234),d=a(42680),u=a(59559),m=a(3289),p=a(5820);a(14452);var h=a(84557),f=a(17621),x=a(85763),g=a(59022),b=a(73254),v=a(26963),y=a(13752),j=a(89806),w=a(91361),N=a(18149),k=a(44986),_=a(69064),C=a(41401),S=a(96379),A=a(84110),L=a(36750),P=a(67966),T=C.vc.create({name:"cursorMark",priority:1e3,inclusive:!1,addOptions:()=>({HTMLAttributes:{class:"cursor-marker",style:"color: #2563eb; background-color: #dbeafe; padding: 1px 2px;"}}),parseHTML:()=>[{tag:"span.cursor-marker"}],renderHTML(e){var{HTMLAttributes:t}=e;return["span",this.options.HTMLAttributes,0]}}),I="{cursor}",M=e=>{var{content:t,onChange:a}=e,[s,C]=(0,i.useState)(!0),[M,E]=(0,i.useState)(!1),D=(0,i.useRef)(null),[R,z]=(0,i.useState)(!1),[F,B]=(0,i.useState)(""),[O,Z]=(0,i.useState)(""),H=(0,i.useRef)(null),U=(0,i.useCallback)(e=>{if(!e)return e||"";if(!(null===(a=(r=window).matchMedia)||void 0===a?void 0:null===(t=a.call(r,"(prefers-color-scheme: dark)"))||void 0===t?void 0:t.matches))return e;try{var t,a,r,s=new DOMParser().parseFromString(e,"text/html");
1return s.body.querySelectorAll("*").forEach(e=>{e.removeAttribute("color"),e.removeAttribute("bgcolor"),e.style.removeProperty("color"),e.style.removeProperty("background"),e.style.removeProperty("background-color"),e.style.removeProperty("-webkit-text-fill-color"),e.style.removeProperty("text-fill-color"),e.style.removeProperty("opacity"),e.style.removeProperty("filter"),e.style.removeProperty("visibility"),e.style.removeProperty("mix-blend-mode"),e.style.removeProperty("text-shadow");var t=(e.getAttribute("class")||"").split(/\s+/).filter(Boolean).filter(e=>!e.startsWith("ql-color-")&&!e.startsWith("ql-bg-")).filter(e=>!e.startsWith("text-")&&!e.startsWith("bg-")).filter(e=>!e.startsWith("from-")&&!e.startsWith("to-")&&!e.startsWith("via-"));t.length>0?e.setAttribute("class",t.join(" ")):e.removeAttribute("class")}),s.body.innerHTML}catch(t){return e}},[]),q=(0,o.jE)({extensions:[l.Z.configure({heading:{levels:[1,2,3]}}),c.Z,T,S.ZP.configure({resizable:!0}),A.Z,L.Z,P.Z,d.ZP.configure({openOnClick:!1,linkOnPaste:!0,HTMLAttributes:{rel:"noopener noreferrer",class:"text-blue-500 underline"}})],content:U(t||""),onUpdate:e=>{var{editor:t}=e;a(t.getHTML())},onReady:()=>{C(!0)},editorProps:{attributes:{class:"prose prose-sm focus:outline-none max-w-none"},handlePaste:(e,t,a)=>!1},enableInputRules:!0,enablePasteRules:!0});(0,i.useEffect)(()=>{if(q){var e=U(t||"");q.getHTML()!==e&&q.commands.setContent(e,!1)}},[t,q,U]),(0,i.useEffect)(()=>{function e(e){D.current&&!D.current.contains(e.target)&&E(!1),H.current&&!H.current.contains(e.target)&&z(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[D,H]),(0,i.useEffect)(()=>{if(q&&R){var{from:e,to:t}=q.state.selection;Z(q.state.doc.textBetween(e,t," "));var a=q.getAttributes("link");a.href?B(a.href):B("")}},[R,q]),(0,i.useEffect)(()=>{var e=setTimeout(()=>{C(!0)},500);return()=>clearTimeout(e)},[]);var W=(0,i.useCallback)(()=>{if(!q){a&&"string"==typeof t?(a(t?"".concat(t).concat(I):"<p>".concat(I,"</p>")),_.ZP.success("Cursor marker inserted at end (editor loading)")):_.ZP.error("Editor not available");return}try{q.commands.focus();var{from:e}=q.state.selection;q.chain().insertContent(I).run(),q.chain().setTextSelection({from:e,to:e+8}).run(),q.chain().setMark("cursorMark").run(),q.chain().setTextSelection(e+8).unsetMark("cursorMark").run(),_.ZP.success("Cursor marker inserted")}catch(e){try{q.chain().insertContent(I).run(),_.ZP.success("Cursor marker inserted (fallback method)")}catch(e){_.ZP.error("Failed to insert cursor marker")}}},[q,t,a]),G=(0,i.useCallback)(()=>{if(q){if(!F){q.chain().focus().extendMarkRange("link").unsetLink().run(),z(!1);return}var e=F;/^https?:\/\//i.test(e)||(e="https://"+e);var{from:t,to:a}=q.state.selection;t===a&&O?q.chain().focus().insertContent(O).setTextSelection({from:t,to:t+O.length}).setLink({href:e}).run():q.chain().focus().extendMarkRange("link").setLink({href:e}).run(),z(!1),B(""),Z("")}},[q,F,O]),V=(0,i.useCallback)(()=>{q&&(q.chain().focus().extendMarkRange("link").unsetLink().run(),z(!1),B(""),Z(""))},[q]);return q?(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 rich-text-editor-container dashboard-rich-editor",children:[(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 border rounded-lg overflow-hidden flex flex-col",children:[(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 dashboard-editor-toolbar border-b p-1 flex flex-wrap gap-1 items-center sticky top-0 z-10",children:[(0,r.jsxs)("div",{ref:D,className:"jsx-efad2953799c0c52 relative",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>E(!M),title:"Text format",className:"jsx-efad2953799c0c52 p-2 rounded dashboard-editor-btn flex items-center gap-1",children:[(0,r.jsx)(y.Z,{className:"w-4 h-4"}),(0,r.jsx)(m.Z,{className:"w-2 h-2"})]}),M&&(0,r.jsx)("div",{className:"jsx-efad2953799c0c52 absolute top-full left-0 mt-1 z-10 rounded-lg shadow-md border min-w-[200px] dashboard-editor-menu",children:(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 flex flex-col gap-1 px-2 py-2",children:[(0,r.jsx)("div",{className:"jsx-efad2953799c0c52 text-[.65rem] font-semibold mb-1 uppercase px-1.5 theme-muted",children:"Hierarchy"}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().setParagraph().run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("paragraph")?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(y.Z,{className:"w-4 h-4 mr-1"}),"Paragraph"]}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().toggleHeading({level:1}).run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("heading",{level:1})?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(h.Z,{className:"w-4 h-4 mr-1"}),"Heading 1"]}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().toggleHeading({level:2}).run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("heading",{level:2})?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(f.Z,{className:"w-4 h-4 mr-1"}),"Heading 2"]}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().toggleHeading({level:3}).run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("heading",{level:3})?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(x.Z,{className:"w-4 h-4 mr-1"}),"Heading 3"]}),(0,r.jsx)("div",{className:"jsx-efad2953799c0c52 text-[.65rem] font-semibold mb-1 mt-2 uppercase px-1.5 theme-muted",children:"Lists"}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().toggleBulletList().run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("bulletList")?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(b.Z,{className:"w-4 h-4 mr-1"}),"Bullet list"]}),(0,r.jsxs)("button",{type:"button",onClick:()=>{q.chain().focus().toggleOrderedList().run(),E(!1)},className:"jsx-efad2953799c0c52 "+"flex items-center gap-2 p-1.5 text-sm font-medium text-left w-full rounded dashboard-editor-btn ".concat(q.isActive("orderedList")?"dashboard-editor-btn-active":"theme-muted"),children:[(0,r.jsx)(v.Z,{className:"w-4 h-4 mr-1"}),"Numbered list"]})]})})]}),(0,r.jsx)("button",{type:"button",onClick:()=>q.chain().toggleBold().focus().run(),title:"Bold",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("bold")?"dashboard-editor-btn-active":""),children:(0,r.jsx)("span",{className:"jsx-efad2953799c0c52 font-bold",children:"B"})}),(0,r.jsx)("button",{type:"button",onClick:()=>q.chain().toggleItalic().focus().run(),title:"Italic",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("italic")?"dashboard-editor-btn-active":""),children:(0,r.jsx)("span",{className:"jsx-efad2953799c0c52 italic",children:"I"})}),(0,r.jsx)("button",{type:"button",onClick:()=>q.chain().toggleUnderline().focus().run(),title:"Underline",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("underline")?"dashboard-editor-btn-active":""),children:(0,r.jsx)("span",{className:"jsx-efad2953799c0c52 underline",children:"U"})}),(0,r.jsx)("button",{type:"button",onClick:()=>q.chain().toggleBulletList().focus().run(),title:"Bullet List",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("bulletList")?"dashboard-editor-btn-active":""),children:(0,r.jsx)(b.Z,{className:"w-4 h-4"})}),(0,r.jsx)("button",{type:"button",onClick:()=>q.chain().toggleOrderedList().focus().run(),title:"Ordered List",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("orderedList")?"dashboard-editor-btn-active":""),children:(0,r.jsx)(v.Z,{className:"w-4 h-4"})}),(0,r.jsx)("button",{type:"button",onClick:()=>{q&&(q.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),_.ZP.success("Table inserted"))},title:"Insert Table",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("table")?"dashboard-editor-btn-active":""),children:(0,r.jsx)(w.Z,{className:"w-4 h-4"})}),(0,r.jsx)("button",{type:"button",onClick:()=>{q&&q.chain().focus().addRowAfter().run()},title:"Add Row",disabled:!q.can().addRowAfter(),className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.can().addRowAfter()?"":"opacity-50 cursor-not-allowed"),children:(0,r.jsx)(j.Z,{className:"w-4 h-4"})}),(0,r.jsx)("button",{type:"button",onClick:()=>{q&&q.chain().focus().addColumnAfter().run()},title:"Add Column",disabled:!q.can().addColumnAfter(),className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.can().addColumnAfter()?"":"opacity-50 cursor-not-allowed"),children:(0,r.jsx)(p.Z,{className:"w-4 h-4"})}),(0,r.jsx)("button",{type:"button",onClick:W,title:"Insert Cursor Position",className:"jsx-efad2953799c0c52 p-2 rounded dashboard-editor-btn",children:(0,r.jsx)(N.Z,{className:"w-4 h-4"})}),(0,r.jsxs)("div",{ref:H,className:"jsx-efad2953799c0c52 relative",children:[(0,r.jsx)("button",{type:"button",onClick:()=>z(!R),title:"Insert Link",className:"jsx-efad2953799c0c52 "+"p-2 rounded dashboard-editor-btn ".concat(q.isActive("link")?"dashboard-editor-btn-active":""),children:(0,r.jsx)(g.Z,{className:"w-4 h-4"})}),R&&(0,r.jsx)("div",{className:"jsx-efad2953799c0c52 absolute top-full left-0 mt-1 z-20 rounded-lg shadow-md border p-3 w-72 dashboard-editor-menu",children:(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 space-y-3",children:[(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52",children:[(0,r.jsx)("label",{className:"jsx-efad2953799c0c52 block text-xs font-medium mb-1 theme-text",children:"Link URL"}),(0,r.jsx)("input",{type:"text",value:F,onChange:e=>B(e.target.value),placeholder:"https://example.com",className:"jsx-efad2953799c0c52 w-full px-2 py-1 border rounded text-sm dashboard-editor-input"})]}),(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52",children:[(0,r.jsx)("label",{className:"jsx-efad2953799c0c52 block text-xs font-medium mb-1 theme-text",children:"Text to display"}),(0,r.jsx)("input",{type:"text",value:O,onChange:e=>Z(e.target.value),placeholder:"Link text",className:"jsx-efad2953799c0c52 w-full px-2 py-1 border rounded text-sm dashboard-editor-input"}),(0,r.jsx)("p",{className:"jsx-efad2953799c0c52 text-xs theme-muted mt-1",children:"Leave empty to use selected text"})]}),(0,r.jsxs)("div",{className:"jsx-efad2953799c0c52 flex justify-between",children:[(0,r.jsxs)("button",{type:"button",onClick:V,className:"jsx-efad2953799c0c52 px-2 py-1 border rounded text-xs flex items-center gap-1 dashboard-editor-btn",children:[(0,r.jsx)(k.Z,{className:"w-3 h-3"})," Remove"]}),(0,r.jsxs)("button",{type:"button",onClick:G,className:"jsx-efad2953799c0c52 px-2 py-1 bg-blue-500 text-white rounded text-xs flex items-center gap-1 hover:bg-blue-600",children:[(0,r.jsx)(u.Z,{className:"w-3 h-3"})," Apply"]})]})]})})]})]}),(0,r.jsx)(o.kg,{editor:q,className:"p-4 min-h-[200px] max-h-[600px] overflow-y-auto"})]}),(0,r.jsx)("div",{className:"jsx-efad2953799c0c52 mt-2 text-xs theme-muted",children:(0,r.jsxs)("p",{className:"jsx-efad2953799c0c52",children:[(0,r.jsx)("strong",{className:"jsx-efad2953799c0c52",children:"Tip:"})," Click where you want the cursor to appear, then click the ",(0,r.jsx)(N.Z,{className:"h-3 w-3 inline"})," icon in the toolbar. The ","{cursor}"," marker will be inserted at your cursor position."]})}),(0,r.jsx)(n(),{id:"efad2953799c0c52",children:'.dashboard-rich-editor .dashboard-editor-toolbar{background-color:var(--lf-surface);border-color:var(--lf-border);color:var(--lf-text)}.dashboard-rich-editor .dashboard-editor-menu{background-color:var(--lf-surface-elevated);border-color:var(--lf-border);color:var(--lf-text)}.dashboard-rich-editor .dashboard-editor-btn{color:var(--lf-text)}.dashboard-rich-editor .dashboard-editor-btn:hover{background-color:color-mix(in srgb,var(--lf-surface-elevated)84%,var(--lf-text)8%)}.dashboard-rich-editor .dashboard-editor-btn-active{background-color:color-mix(in srgb,var(--lf-surface-elevated)78%,var(--lf-accent)22%);color:var(--lf-text)}.dashboard-rich-editor .dashboard-editor-input{background-color:var(--lf-surface);border-color:var(--lf-border);color:var(--lf-text)}.dashboard-rich-editor .dashboard-editor-input::-webkit-input-placeholder{color:var(--lf-muted)}.dashboard-rich-editor .dashboard-editor-input:-moz-placeholder{color:var(--lf-muted)}.dashboard-rich-editor .dashboard-editor-input::-moz-placeholder{color:var(--lf-muted)}.dashboard-rich-editor .dashboard-editor-input:-ms-input-placeholder{color:var(--lf-muted)}.dashboard-rich-editor .dashboard-editor-input::-ms-input-placeholder{color:var(--lf-muted)}.dashboard-rich-editor .dashboard-editor-input::placeholder{color:var(--lf-muted)}.dashboard-rich-editor .ProseMirror{min-height:150px;outline:none;color:var(--lf-text);background-color:var(--lf-surface-elevated)}.dashboard-rich-editor .ProseMirror :where(*:not(.cursor-marker):not(a)){color:var(--lf-text)!important;-webkit-text-fill-color:var(--lf-text)!important;opacity:1!important;visibility:visible!important;mix-blend-mode:normal!important;text-shadow:none!important}.dashboard-rich-editor .ProseMirror p{margin-bottom:.3rem;margin-top:.3rem}.dashboard-rich-editor .ProseMirror ul,.dashboard-rich-editor .ProseMirror ol{padding-left:1.5rem;margin-bottom:.5rem}.dashboard-rich-editor .ProseMirror li{margin-bottom:.15rem}.cursor-marker{color:#2563eb;background-color:#dbeafe;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;padding:1px 2px;display:inline-block;-webkit-box-decoration-break:clone;box-decoration-break:clone}.dashboard-rich-editor .ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;margin:0;overflow:hidden}.dashboard-rich-editor .ProseMirror td,.dashboard-rich-editor .ProseMirror th{min-width:1em;border:2px solid#ced4da;padding:3px 5px;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative}.dashboard-rich-editor .ProseMirror th{font-weight:bold;background-color:var(--lf-surface)}.dashboard-rich-editor .ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:rgba(200,200,255,.4);pointer-events:none}.dashboard-rich-editor .ProseMirror a{color:#60a5fa;text-decoration:underline;cursor:pointer}'})]}):(0,r.jsx)("div",{className:"border rounded-md p-5 min-h-[200px] flex items-center justify-center",style:{borderColor:"var(--lf-border)",color:"var(--lf-muted)",backgroundColor:"var(--lf-surface)"},children:"Loading editor..."})}},1515:function(e,t,a){"use strict";a.d(t,{default:function(){return i}});var r=a(57437),s=a(2265),n=a(4899);function i(e){var{source:t,role:a,category:i,snippetId:o,className:l="",eventName:c="free_tool_to_pricing_click"}=e,d=(0,s.useMemo)(()=>(function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="".concat(e,":").concat(window.location.pathname),a=0,r=0;r<t.length;r+=1)a=(a<<5)-a+t.charCodeAt(r)|0;return Math.abs(a)%2==0?"A":"B"})("".concat(t,":").concat(a||"na")),[t,a]);
1return(0,r.jsx)(n.Z,{href:"/pricing",eventName:c,eventParams:{source:t,role:a||"na",category:i||"na",snippet_id:o||"na",cta_variant:d},className:l||"inline-flex rounded-md hero-cta font-semibold px-4 py-2",children:"A"===d?"See Plans":"Start saving time today (From $2.49/month)"})}},9451:function(e,t,a){"use strict";a.d(t,{default:function(){return n}});var r=a(2265),s=a(58142);function n(e){var{eventName:t,params:a={}}=e,n=(0,r.useMemo)(()=>a,[JSON.stringify(a)]);return(0,r.useEffect)(()=>{(0,s.L)(t,n)},[t,n]),null}},4899:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var r=a(57437),s=a(27648),n=a(58142);function i(e){var{href:t,eventName:a,eventParams:i={},className:o,children:l}=e;return(0,r.jsx)(s.default,{href:t,className:o,onClick:()=>(0,n.L)(a,i),children:l})}},22307:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var r=a(57437),s=a(2265),n=a(44986),i=a(87011),o=a(61042);function l(e){var{open:t,onClose:a,context:l="dashboard"}=e,c=(0,s.useRef)(null);return((0,s.useEffect)(()=>{if(t){var e=e=>{"Escape"===e.key&&(null==a||a())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)}},[t,a]),t)?(0,r.jsx)("div",{className:"fixed inset-0 z-50 bg-black/50 flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-labelledby":"plan-picker-title",onClick:e=>{e.target===e.currentTarget&&(null==a||a())},children:(0,r.jsxs)("div",{ref:c,className:"rounded-xl border w-full max-w-6xl p-6 md:p-8 shadow-xl max-h-[92vh] overflow-y-auto",style:{backgroundColor:"var(--lf-surface-elevated)",borderColor:"var(--lf-border)"},children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4 mb-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{id:"plan-picker-title",className:"text-2xl font-semibold theme-text",children:"tokenManager"===l?"Choose your plan to get your license":"Choose your plan to continue"}),(0,r.jsx)("p",{className:"text-sm theme-muted mt-1",children:"tokenManager"===l?"Pick Pro, Business, Lifetime, or contact Sales to unlock LoadFast.":"Compare Pro, Business, Lifetime, and Enterprise options."})]}),(0,r.jsx)("button",{type:"button",onClick:()=>null==a?void 0:a(),className:"p-2 rounded-md theme-link transition-colors","aria-label":"Close plan picker",children:(0,r.jsx)(n.Z,{className:"h-5 w-5"})})]}),(0,r.jsx)(o.default,{plans:i.Z.dodoPayments.plans,enterprise:i.Z.dodoPayments.enterprise,comparison:i.Z.dodoPayments.comparison,inModal:!0})]})}):null}},61042:function(e,t,a){"use strict";a.d(t,{default:function(){return d}});var r=a(57437),s=a(59559),n=a(95490),i=a(96997),o=e=>Number(e)%1!=0?Number(e).toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2}):Number(e).toLocaleString();function l(e){var{plan:t,isPrimary:a=!1,customTitle:s=null,customSubtitle:n=null,customBullets:l=[]}=e,c=s||(null==t?void 0:t.name),d=n||(null==t?void 0:t.eyebrow)||"Plan",u=t.ctaText||"Choose ".concat(c),m=/^start\s/i.test(u)||/^choose lifetime$/i.test(u),p=l.length>0?l:Array.isArray(null==t?void 0:t.valueProps)&&t.valueProps.length>0?t.valueProps:(null==t?void 0:t.description)?[t.description]:[];return(0,r.jsx)("div",{className:"rounded-2xl p-[5px] md:min-h-[540px] ".concat(a?"shadow-md":""),style:{backgroundColor:"var(--lf-surface)",borderColor:"var(--lf-border)",borderWidth:"2px",borderStyle:"solid"},children:(0,r.jsxs)("div",{className:"rounded-[14px] border p-6 bg-white flex flex-col h-full",style:{backgroundColor:"var(--lf-surface-elevated)",borderColor:"var(--lf-border)",borderWidth:"1.5px",borderStyle:"solid"},children:[a?(0,r.jsx)("div",{className:"inline-flex text-xs font-medium px-2 py-1 rounded mb-3",style:{backgroundColor:"var(--lf-accent)",color:"#ffffff"},children:"Most Popular"}):(0,r.jsx)("p",{className:"text-xs uppercase tracking-wide mb-3 theme-muted",children:d}),(0,r.jsx)("h3",{className:"text-3xl font-semibold theme-text mb-1",children:c}),(0,r.jsx)("ul",{className:"list-disc pl-5 text-sm theme-muted mb-1 md:min-h-[280px] space-y-1.5",children:p.map(e=>(0,r.jsx)("li",{className:"leading-snug",children:e},"".concat(c,"-").concat(e)))}),(0,r.jsxs)("div",{className:"mt-auto",children:[(0,r.jsxs)("div",{className:"my-3 md:my-5",children:[(0,r.jsxs)("div",{className:"flex items-end gap-2",children:[(0,r.jsxs)("span",{className:"text-5xl font-bold theme-text",children:["$",o(t.price)]}),(0,r.jsx)("span",{className:"text-base theme-muted mb-1",children:t.billingLabel})]}),t.priceAnchor?(0,r.jsxs)("div",{className:"text-sm theme-muted mt-1",children:[(0,r.jsxs)("span",{className:"line-through",children:["$",o(t.priceAnchor)]})," regular"]}):null]}),(0,r.jsx)(i.Z,{planKey:t.key,text:m?"".concat(u," â"):u,className:"".concat("inline-flex items-center justify-center rounded-md px-4 py-2.5 text-sm font-semibold disabled:opacity-50 disabled:cursor-not-allowed w-full transition-colors"," ").concat("hero-cta focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--lf-accent)]")})]})]})})}function c(e){var{enterprise:t,columnMeta:a}=e;
1return(0,r.jsx)("div",{className:"rounded-2xl p-[5px] md:min-h-[540px]",style:{backgroundColor:"var(--lf-surface)",borderColor:"var(--lf-border)",borderWidth:"2px",borderStyle:"solid"},children:(0,r.jsxs)("div",{className:"rounded-[14px] border p-6 bg-white flex flex-col h-full",style:{backgroundColor:"var(--lf-surface-elevated)",borderColor:"var(--lf-border)",borderWidth:"1.5px",borderStyle:"solid"},children:[(0,r.jsx)("p",{className:"text-xs uppercase tracking-wide theme-muted mb-3",children:(null==a?void 0:a.subtitle)||"Enterprise"}),(0,r.jsx)("h3",{className:"text-3xl font-semibold theme-text mb-1",children:(null==t?void 0:t.title)||"Enterprise"}),(0,r.jsx)("ul",{className:"list-disc pl-5 text-sm theme-muted mb-1 md:min-h-[88px] space-y-1.5",children:((null==a?void 0:a.valueProps)||[(null==t?void 0:t.subtitle)||"Custom scope and rollout for larger teams."]).map(e=>(0,r.jsx)("li",{className:"leading-snug",children:e},"enterprise-".concat(e)))}),(0,r.jsxs)("div",{className:"mt-auto",children:[(0,r.jsx)("div",{className:"my-3 md:my-5",children:(0,r.jsx)("div",{className:"text-base theme-muted",children:"Custom pricing"})}),(0,r.jsx)("a",{href:(null==t?void 0:t.href)||"mailto:[email protected]",className:"hero-cta inline-flex items-center justify-center rounded-md px-4 py-2.5 text-sm font-semibold w-full",children:((null==t?void 0:t.ctaText)||"Contact Sales")+" â"})]})]})})}function d(e){var t,{plans:a=[],enterprise:i=null,comparison:o=null,inModal:d=!1}=e,u=new Map(a.map(e=>[e.key,e])),m=Array.isArray(null==o?void 0:o.columns)&&o.columns.length>0?o.columns:[{key:"monthly",title:"Pro",subtitle:"For individuals",valueProps:[]},{key:"business",title:"Business",subtitle:"For teams",valueProps:[]},{key:"lifetime",title:"Lifetime",subtitle:"Own it forever",valueProps:[]},{key:"enterprise",title:"Enterprise",subtitle:"For larger organizations",valueProps:["Everything included in Business","Advanced admin + governance options","Priority support and training pathways","Tailored onboarding and rollout support","Custom reporting and implementation planning","Flexible billing and procurement support","API integration for AI agents like OpenClaw to add snippets"]}],p=m.map(e=>e.key),h=new Map(m.map(e=>[e.key,e]));return(0,r.jsxs)("div",{className:d?"":"mt-10 px-4 sm:px-0",children:[(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-
15 max-w-7xl mx-auto",children:m.map(e=>{if("enterprise"===e.key)return(0,r.jsx)(c,{enterprise:i,columnMeta:e},"enterprise-card");var t=u.get(e.key);return t?(0,r.jsx)(l,{plan:t,isPrimary:"monthly"===e.key,customTitle:e.title,customSubtitle:e.subtitle,customBullets:e.valueProps||[]},"".concat(e.key,"-card")):null})}),(null==o?void 0:null===(t=o.rows)||void 0===t?void 0:t.length)?(0,r.jsx)("div",{className:"mt-6 rounded-xl border overflow-hidden max-w-7xl mx-auto",style:{borderColor:"var(--lf-border)",backgroundColor:"var(--lf-surface-elevated)"},children:(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full min-w-[1080px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b",style:{borderColor:"var(--lf-border)",backgroundColor:"var(--lf-surface)"},children:[(0,r.jsx)("th",{className:"sticky left-0 z-10 px-4 py-3 text-left text-xs uppercase tracking-[0.12em] theme-muted",style:{backgroundColor:"var(--lf-surface)"},children:"Features"}),p.map(e=>{var t;return(0,r.jsx)("th",{className:"px-4 py-3 text-left text-xs uppercase tracking-[0.12em] theme-muted",children:(null===(t=h.get(e))||void 0===t?void 0:t.title)||e},e)})]})}),(0,r.jsx)("tbody",{children:o.rows.map(e=>(0,r.jsxs)("tr",{className:"border-b last:border-b-0",style:{borderColor:"var(--lf-border)"},children:[(0,r.jsx)("td",{className:"sticky left-0 z-10 px-4 py-3 text-sm font-medium theme-text",style:{backgroundColor:"var(--lf-surface-elevated)"},children:e.label}),p.map(t=>{var a,i;return(0,r.jsx)("td",{className:"px-4 py-3 text-sm",children:(i=null===(a=e.values)||void 0===a?void 0:a[t],"boolean"===e.valueType?i?(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 text-emerald-700 font-medium",children:[(0,r.jsx)(s.Z,{className:"h-4 w-4"}),"Included"]}):(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 theme-muted",children:[(0,r.jsx)(n.Z,{className:"h-4 w-4"}),"Not included"]}):"badge"===e.valueType?(0,r.jsx)("span",{className:"inline-flex rounded-full px-2 py-1 text-xs font-semibold",style:{backgroundColor:"var(--lf-surface)",color:"var(--lf-text)"},children:String(i)}):(0,r.jsx)("span",{className:"theme-muted",children:String(i)}))},"".concat(e.key,"-").concat(t))})]},e.key))})]})})}):null]})}},39829:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return i}});var r=a(85583),s=a(57437),n=a(27648);function i(e){var{faqItems:t,contextType:a,contextSlug:i,contextName:o}=e;if(!t||0===t.length)return null;var l=(e,t,a,s)=>{var n,i=e;return Object.entries((n={templates:"/templates","text expander":"/alternative-to",TextExpander:"/alternative-to/textexpander",PhraseExpress:"/alternative-to/phraseexpress",productivity:"/templates",automation:"/templates",LoadFast:"/",documentation:"/templates/for/client-onboarding-scripts","email responses":"/templates/for/email-response-automation","customer service":"/templates/for/customer-service-scripts"},"industry"===t?(0,r._)({},n,{"medical templates":"/templates/for/client-onboarding-scripts-for-".concat(a),"legal templates":"/templates/for/email-response-automation-for-".concat(a),"real estate templates":"/templates/for/sales-pitch-templates-for-".concat(a),"client onboarding":"/templates/for/client-onboarding-scripts-for-".concat(a),"patient care":"doctors"===a||"nurses"===a?"/templates/for/client-onboarding-scripts-for-".concat(a):"/templates","clinical documentation":"doctors"===a||"nurses"===a?"/templates/for/client-onboarding-scripts-for-".concat(a):"/templates","HIPAA compliance":"doctors"===a||"nurses"===a?"/text-expander-for/".concat(a):"/templates","EHR systems":"doctors"===a||"nurses"===a?"/text-expander-for/".concat(a):"/templates",Epic:"doctors"===a||"nurses"===a?"/text-expander-for/".concat(a):"/templates",Cerner:"doctors"===a||"nurses"===a?"/text-expander-for/".concat(a):"/templates"}):"template"===t?(0,r._)({},n,{"email automation":"/templates/for/email-response-automation","sales templates":"/templates/for/sales-pitch-templates","proposal templates":"/templates/for/proposal-writing","onboarding templates":"/templates/for/client-onboarding-scripts","professional templates":"/templates","business templates":"/templates"}):"competitor"===t?(0,r._)({},n,{alternative:"/alternative-to",comparison:"/alternative-to","vs LoadFast":"/",migration:"/alternative-to",switching:"/alternative-to",features:"/templates"}
1):n)).forEach(e=>{var[t,a]=e,r=RegExp("\\b".concat(t,"\\b"),"gi");i=i.replace(r,e=>'<a href="'.concat(a,'" class="text-blue-600 hover:text-blue-700 underline font-medium transition-colors duration-200">').concat(e,"</a>"))}),i};return(0,s.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto",children:[(0,s.jsxs)("div",{className:"text-center mb-20",children:[(0,s.jsx)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8",children:"Frequently Asked Questions"}),(0,s.jsx)("p",{className:"text-lg opacity-80 leading-relaxed max-w-3xl mx-auto",children:o?"Common questions about ".concat(o.toLowerCase()):"Find answers to common questions"})]}),(0,s.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,s.jsx)("div",{className:"space-y-4",children:t.map((e,t)=>(0,s.jsxs)("div",{className:"collapse collapse-plus bg-base-200 hover:bg-base-300 transition-colors duration-200",children:[(0,s.jsx)("input",{type:"radio",name:"faq-".concat(a||"general"),defaultChecked:0===t}),(0,s.jsx)("div",{className:"collapse-title text-lg font-medium text-gray-900",children:e.question}),(0,s.jsx)("div",{className:"collapse-content",children:(0,s.jsx)("div",{className:"opacity-80 leading-relaxed",dangerouslySetInnerHTML:{__html:l(e.answer,a,i,o)}})})]},t))})}),(0,s.jsxs)("div",{className:"mt-16 text-center",children:[(0,s.jsx)("p",{className:"text-lg text-gray-600 mb-6",children:"Need more information? Explore these resources:"}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[(0,s.jsx)(n.default,{href:"/templates",className:"bg-blue-100 text-blue-700 px-4 py-2 rounded-lg hover:bg-blue-200 transition-colors duration-200 text-sm font-medium",children:"Browse Templates"}),(0,s.jsx)(n.default,{href:"/alternative-to",className:"bg-green-100 text-green-700 px-4 py-2 rounded-lg hover:bg-green-200 transition-colors duration-200 text-sm font-medium",children:"Compare Alternatives"}),"industry"===a&&i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.default,{href:"/templates/for/client-onboarding-scripts-for-".concat(i),className:"bg-purple-100 text-purple-700 px-4 py-2 rounded-lg hover:bg-purple-200 transition-colors duration-200 text-sm font-medium",children:[o," Templates"]}),(0,s.jsxs)(n.default,{href:"/text-expander-for/".concat(i,"/new-york"),className:"bg-orange-100 text-orange-700 px-4 py-2 rounded-lg hover:bg-orange-200 transition-colors duration-200 text-sm font-medium",children:[o," in NYC"]})]}),"template"===a&&i&&(0,s.jsxs)(n.default,{href:"/templates/for/".concat(i),className:"bg-purple-100 text-purple-700 px-4 py-2 rounded-lg hover:bg-purple-200 transition-colors duration-200 text-sm font-medium",children:["More ",o]})]})]})]})}},50761:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return i}});var r=a(85583),s=a(57437),n=a(27648);function i(e){var{benefits:t,industryName:a,industrySlug:i}=e;if(!t||0===t.length)return null;var o=(e,t)=>{var a=e.toLowerCase();if(a.includes("billable")||a.includes("hour"))return"â±ï¸";if(a.includes("legal")||a.includes("compliance"))return"âï¸";if(a.includes("client")||a.includes("service"))return"\uD83C\uDFC6";if(a.includes("listing")||a.includes("faster"))return"â¡";if(a.includes("communication")||a.includes("consistent"))return"\uD83D\uDCDE";if(a.includes("lead")||a.includes("nurturing"))return"\uD83C\uDFAF";if(a.includes("resolution")||a.includes("faster"))return"\uD83D\uDE80";if(a.includes("quality")||a.includes("consistent"))return"â";if(a.includes("productivity")||a.includes("agent"))return"\uD83D\uDCC8";if(a.includes("sales")||a.includes("cycle"))return"\uD83D\uDCBC";if(a.includes("conversion")||a.includes("rate"))return"\uD83D\uDCCA";if(a.includes("outreach")||a.includes("scalable"))return"\uD83C\uDFAF";if(a.includes("patient")||a.includes("time"))return"â°";if(a.includes("accuracy")||a.includes("improved"))return"â
";if(a.includes("hipaa")||a.includes("compliance"))return"\uD83D\uDD12";var r=["\uD83D\uDE80","â¡","\uD83C\uDFC6"];return r[t%r.length]},l=(e,t,a)=>{var s=e;return Object.entries((0,r._)({},{"email responses":"/templates/for/email-response-automation","team communication":"/templates/for/email-response-automation","customer service":"/templates/for/customer-service-scripts","sales outreach":"/templates/for/sales-pitch-templates","proposal writing":"/templates/for/proposal-writing","client onboarding":"/templates/for/client-onboarding-scripts","documentation templates":"/templates","productivity tools":"/templates","text templates":"/templates",automation:"/templates",TextExpander:"/alternative-to/textexpander",PhraseExpress:"/alternative-to/phraseexpress","text expander":"/alternative-to",competitors:"/alternative-to"},{doctors:{"medical templates":"/templates/for/client-onboarding-scripts-for-doctors","patient documentation":"/templates/for/client-onboarding-scripts-for-doctors","clinical notes":"/templates/for/email-response-automation-for-d
1octors","patient records":"/templates/for/client-onboarding-scripts-for-doctors",documentation:"/templates/for/client-onboarding-scripts-for-doctors"},nurses:{"nursing templates":"/templates/for/client-onboarding-scripts-for-nurses","documentation tasks":"/templates/for/client-onboarding-scripts-for-nurses","patient care":"/templates/for/client-onboarding-scripts-for-nurses","shift reports":"/templates/for/email-response-automation-for-nurses"},lawyers:{"legal templates":"/templates/for/email-response-automation-for-lawyers","client communications":"/templates/for/email-response-automation-for-lawyers","legal documents":"/templates/for/proposal-writing-for-lawyers","client onboarding":"/templates/for/client-onboarding-scripts-for-lawyers"},realtors:{"real estate templates":"/templates/for/sales-pitch-templates-for-realtors","client communication":"/templates/for/email-response-automation-for-realtors","sales templates":"/templates/for/sales-pitch-templates-for-realtors","listing descriptions":"/templates/for/sales-pitch-templates-for-realtors"},accountants:{"client onboarding":"/templates/for/client-onboarding-scripts-for-accountants","financial templates":"/templates/for/client-onboarding-scripts-for-accountants","tax preparation":"/templates/for/client-onboarding-scripts-for-accountants"}}[a]||{})).forEach(e=>{var[t,a]=e,r=RegExp("\\b".concat(t,"\\b"),"gi");s=s.replace(r,e=>'<a href="'.concat(a,'" class="library-link underline font-medium transition-colors duration-200">').concat(e,"</a>"))}),s};return(0,s.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto library-section",children:[(0,s.jsxs)("div",{className:"text-center mb-20",children:[(0,s.jsxs)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8 library-heading",children:["Why ",a," Choose LoadFast"]}),(0,s.jsxs)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto library-muted",children:["Tailored benefits that address the unique needs of ",a.toLowerCase()," professionals"]})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map((e,t)=>(0,s.jsx)("div",{className:"card shadow-xl border library-card hover:shadow-2xl transition-all duration-300 hover:scale-105",children:(0,s.jsxs)("div",{className:"card-body text-center",children:[(0,s.jsx)("div",{className:"text-4xl mb-4",children:o(e.title,t)}),(0,s.jsx)("h3",{className:"card-title justify-center text-lg mb-4",children:e.title}),(0,s.jsx)("div",{className:"leading-relaxed library-muted",dangerouslySetInnerHTML:{__html:l(e.description,a,i)}})]})},t))}),(0,s.jsxs)("div",{className:"mt-16 text-center",children:[(0,s.jsxs)("p",{className:"text-lg library-muted mb-6",children:["Explore specialized templates and resources for ",a.toLowerCase(),":"]}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center gap-4",children:[(0,s.jsx)(n.default,{href:"/templates/for",className:"library-note px-4 py-2 rounded-lg transition-colors duration-200 text-sm font-medium",children:"Browse All Templates"}),(0,s.jsx)(n.default,{href:"/alternative-to/textexpander",className:"library-note px-4 py-2 rounded-lg transition-colors duration-200 text-sm font-medium",children:"vs TextExpander"}),i&&(0,s.jsxs)(n.default,{href:"/text-expander-for/".concat(i,"/new-york"),className:"library-note px-4 py-2 rounded-lg transition-colors duration-200 text-sm font-medium",children:[a," in NYC"]})]})]})]})}},37965:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return s}});var r=a(57437);function s(e){var{stats:t,industryName:a}=e;if(!t||t.length<=3)return null;var s=t.slice(3);return(0,r.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto library-section",children:[(0,r.jsxs)("div",{className:"text-center mb-20",children:[(0,r.jsxs)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8 library-heading",children:[a," Industry Insights"]}),(0,r.jsxs)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto library-muted",children:["Data that shows why text expansion is essential for ",a.toLowerCase()]})]}),(0,r.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-8",children:s.map((e,t)=>(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"text-4xl lg:text-5xl font-bold library-link mb-4",children:e.number}),(0,r.jsx)("p",{className:"text-lg leading-relaxed library-text",children:e.description}),e.source&&(0,r.jsxs)("p",{className:"text-xs library-muted mt-2",children:["Source: ",e.source]})]},t))})]})}},51570:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return d}});var r=a(2403),s=a(57437),n=a(2265),i=a(35305),o=a(3022),l=a(41691),c=a(39391);function d(e){var t,{templates:a,industryName:d}
1=e,[u,m]=(0,n.useState)(null),{handleCheckout:p,isLoading:h}=(0,i.M)();if(!a||0===a.length)return null;var f=(t=(0,r._)(function*(e,t){try{yield navigator.clipboard.writeText(e),m(t),setTimeout(()=>m(null),2e3)}catch(e){}}),function(e,a){return t.apply(this,arguments)});return(0,s.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto library-section",children:[(0,s.jsxs)("div",{className:"text-center mb-20",children:[(0,s.jsxs)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8 library-heading",children:["Ready-to-Use Templates for ",d]}),(0,s.jsx)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto library-muted",children:"Copy these templates and start saving time immediately"})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 gap-8",children:a.map((e,t)=>(0,s.jsx)("div",{className:"card shadow-xl border library-card",children:(0,s.jsxs)("div",{className:"card-body",children:[(0,s.jsxs)("div",{className:"flex justify-between items-start mb-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"card-title text-lg library-heading",children:e.description}),(0,s.jsxs)("p",{className:"text-sm mt-1 library-muted",children:["Trigger: ",(0,s.jsx)("code",{className:"px-2 py-1 rounded library-code",children:e.trigger})]})]}),(0,s.jsx)("button",{className:"btn btn-sm ".concat(u===t?"btn-success":"app-theme-button-secondary"),onClick:()=>f((0,c.n)(e.content),t),children:u===t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),"Copied!"]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})}),"Copy"]})})]}),(0,s.jsx)("div",{className:"library-note p-4 rounded-lg border-l-4",style:{borderLeftColor:"var(--lf-accent)"},children:(0,s.jsx)("pre",{className:"text-sm whitespace-pre-wrap overflow-x-auto library-text",children:(0,c.n)(e.content)})}),(0,s.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:(0,s.jsx)(o.default,{source:"templates_industry",categorySlug:(null==d?void 0:d.toLowerCase().replace(/\s+/g,"-"))||"templates",templateId:"industry-".concat(t),snippetPayload:{label:e.name||e.description||"Template ".concat(t+1),trigger:e.trigger||"lf_".concat((e.name||e.description||"template").toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,""),"_").concat(t+1),content:(0,c.n)(e.content||""),category:e.category||d||"Templates",vars:(0,l.C)((0,c.n)(e.content||""))}})})]})},t))}),(0,s.jsx)("div",{className:"text-center mt-12",children:(0,s.jsx)("button",{onClick:p,disabled:h,className:"hero-cta px-8 py-3 rounded-md font-semibold text-white disabled:opacity-50",children:h?"Loading...":"Get Access to All Templates"})})]})}},61780:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return s}});var r=a(57437);function s(e){var{testimonials:t,industryName:a}=e;return t&&0!==t.length?(0,r.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto library-section",children:[(0,r.jsxs)("div",{className:"text-center mb-20",children:[(0,r.jsxs)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8 library-heading",children:["What ",a," Say About LoadFast"]}),(0,r.jsxs)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto library-muted",children:["Real stories from ",a.toLowerCase()," professionals who transformed their workflow"]})]}),(0,r.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map((e,t)=>(0,r.jsx)("div",{className:"card border library-card shadow-xl",children:(0,r.jsxs)("div",{className:"card-body",children:[(0,r.jsx)("div",{className:"flex mb-4",children:[...Array(e.rating||5)].map((e,t)=>(0,r.jsx)("svg",{className:"w-5 h-5 text-yellow-400 fill-current",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})},t))}),(0,r.jsxs)("p",{className:"italic mb-6 leading-relaxed library-text",children:['"',e.content,'"']}),(0,r.jsxs)("div",{className:"mt-auto",children:[(0,r.jsx)("div",{className:"font-semibold library-heading",children:e.name}),(0,r.jsxs)("div",{className:"text-sm library-muted",children:[e.role," ",e.company&&"at ".concat(e.company)]})]})]})},t))})]}):null}},74250:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return d}});var r=a(2403),s=a(57437),n=a(2265),i=a(3022),o=a(41691),l=a(39391);function c(e){return String(e||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function d(e){var t,{useCases:a=[],heading:d,subheading:u,industryName:m,industrySlug:p,location:h}
1=e,[f,x]=(0,n.useState)(null);if(!a.length)return null;var g=(t=(0,r._)(function*(e,t){try{yield navigator.clipboard.writeText(e),x(t),setTimeout(()=>x(null),1800)}catch(e){}}),function(e,a){return t.apply(this,arguments)});return(0,s.jsxs)("section",{className:"py-24 px-8 max-w-7xl mx-auto",children:[(0,s.jsxs)("div",{className:"text-center mb-20",children:[(0,s.jsx)("h2",{className:"font-bold text-3xl lg:text-5xl tracking-tight mb-8 library-heading",children:d}),(0,s.jsx)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto library-muted",children:u})]}),(0,s.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-2 gap-8",children:a.map((e,t)=>{var a=(0,l.f)(e.example||""),r=(0,l.n)(a.body||""),n="".concat(c(p||m),"-").concat(c(e.title||"use-case-".concat(t+1))),d=a.trigger||n;return(0,s.jsx)("div",{className:"card border library-card shadow-xl hover:shadow-2xl transition-all duration-300 hover:scale-[1.01]",children:(0,s.jsxs)("div",{className:"card-body",children:[(0,s.jsx)("div",{className:"text-3xl mb-4",children:0===t?"\uD83D\uDCC4":1===t?"\uD83D\uDCE7":2===t?"âï¸":"\uD83D\uDD0D"}),(0,s.jsx)("h3",{className:"card-title text-xl mb-2 library-heading",children:e.title}),(0,s.jsx)("p",{className:"mb-4 leading-relaxed library-text",children:e.description}),r?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"library-note p-4 rounded-lg border-l-4",style:{borderLeftColor:"var(--lf-accent)"},children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wide mb-2 library-muted",children:"Example"}),(0,s.jsx)("pre",{className:"font-mono text-sm whitespace-pre-wrap break-words library-text",children:r})]}),(0,s.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>g(r,t),className:"px-4 py-2 rounded-md text-sm font-semibold ".concat(f===t?"hero-cta text-white":"app-theme-button-secondary"),children:f===t?"Copied!":"Copy"}),(0,s.jsx)(i.default,{source:"text_expander_use_case",categorySlug:p||c(m),snippetId:"".concat(p||c(m),"-").concat(c(e.title),"-").concat((null==h?void 0:h.slug)||"global"),snippetPayload:{label:"".concat(e.title," snippet"),trigger:d,content:r,category:m||"Templates",vars:(0,o.C)(r)}})]})]}):null]})},"".concat(e.title,"-").concat(t))})})]})}},68357:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return n}});var r=a(57437),s=a(2265);function n(e){var t,a,n,{trustElements:i}=e,[o,l]=(0,s.useState)(0);return((0,s.useEffect)(()=>{var e;if((null==i?void 0:null===(e=i.userActivity)||void 0===e?void 0:e.length)>0){var t=setInterval(()=>{l(e=>(e+1)%i.userActivity.length)},3e3);return()=>clearInterval(t)}},[i]),i)?(0,r.jsxs)("section",{className:"py-16 px-8 max-w-7xl mx-auto",children:[(0,r.jsxs)("div",{className:"text-center mb-12",children:[(0,r.jsx)("h2",{className:"font-bold text-2xl lg:text-3xl tracking-tight mb-4 trust-section-heading",children:"Trusted by Professionals Worldwide"}),(0,r.jsx)("p",{className:"text-lg leading-relaxed max-w-3xl mx-auto trust-section-subtext",children:"Join thousands who chose LoadFast for secure, reliable text expansion"})]}),(0,r.jsx)("div",{className:"grid md:grid-cols-3 gap-8 mb-12",children:null===(t=i.guarantees)||void 0===t?void 0:t.map((e,t)=>(0,r.jsx)("div",{className:"card bg-base-100 shadow-lg trust-section-card border trust-section-border",children:(0,r.jsxs)("div",{className:"card-body text-center",children:[(0,r.jsx)("div",{className:"text-3xl mb-2",children:e.icon}),(0,r.jsx)("h3",{className:"font-semibold text-lg mb-2 trust-section-card-title",children:e.title}),(0,r.jsx)("p",{className:"text-sm trust-section-card-copy",children:e.description})]})},t))}),i.socialProofNumbers&&(0,r.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 mb-12",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"text-3xl font-bold text-primary",children:i.socialProofNumbers.users}),(0,r.jsx)("div",{className:"text-sm trust-section-subtext",children:"Active Users"})]}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"text-3xl font-bold text-primary",children:i.socialProofNumbers.companies}),(0,r.jsx)("div",{className:"text-sm trust-section-subtext",children:"Companies Trust Us"})]}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"text-3xl font-bold text-primary",children:i.socialProofNumbers.hoursWasted}),(0,r.jsx)("div",{className:"text-sm trust-section-subtext",children:"Hours Saved"})]}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"text-3xl font-bold text-primary",children:i.socialProofNumbers.satisfaction}),(0,r.jsx)("div",{className:"text-sm trust-section-subtext",children:"Satisfaction Rate"})]})]}),(null===(a=i.securityBadges)||void 0===a?void 0:a.length)>0&&(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-4 mb-8",children:i.securityBadges.map((e,t)=>(0,r.jsxs)("div",{className:"flex items-center gap-2 bg-base-100 px-4 py-2 rounded-lg shadow trust-section-card border trust-section-border",children:[(0,r.jsx)("span",{className:"text-lg",children:e.icon}),(0,r.jsx)("span",{className:"text-sm font-medium trust-section-card-title",children:e.name})]},t))}),(null===(n=i.userActivity)||void 0===n?void 0:n.length)>0&&(0,r.jsx)("div",{className:"text-center",children:(0,r.jsxs)("div",{className:"inline-flex items-center gap-2 bg-success text-success-content px-4 py-2 rounded-full text-sm",children:[(0,r.jsx)("div",{className:"w-2 h-2 bg-current roun
1ded-full animate-pulse"}),(0,r.jsx)("span",{children:i.userActivity[o]})]})})]}):null}},35866:function(e,t,a){"use strict";a.d(t,{Z:function(){return m}});var r=a(57437),s=a(27648),n=a(33145),i=a(99376),o=a(70609),l=a(90296),c=a(15586),d=a(87011),u=[{href:"/settings/license",label:"License Key"},{href:"/settings/migrate",label:"Import / Export"},{href:"/settings/agent",label:"Agent API"},{href:"/settings/setup",label:"Setup Guide"}];function m(e){var{title:t,children:a}=e,m=(0,i.usePathname)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("header",{className:"theme-header sticky top-0 z-50 border-b backdrop-blur",children:(0,r.jsx)("nav",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"flex justify-between items-center h-16",children:[(0,r.jsxs)(s.default,{href:"/",className:"flex items-center gap-2 shrink-0",title:"".concat(d.Z.appName," homepage"),children:[(0,r.jsx)(n.default,{src:c.default,alt:"".concat(d.Z.appName," logo"),className:"w-8",width:32,height:32}),(0,r.jsx)("span",{className:"font-extrabold text-lg theme-text",children:"LoadFast"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(s.default,{href:"/dashboard",className:"theme-link rounded-lg px-2 py-1 font-medium transition-colors duration-150 ease-in-out",children:"Dashboard"}),(0,r.jsx)(s.default,{href:"/blog",className:"theme-link rounded-lg px-2 py-1 font-medium transition-colors duration-150 ease-in-out",children:"Blog"}),(0,r.jsx)(s.default,{href:"/contact",className:"theme-link rounded-lg px-2 py-1 font-medium transition-colors duration-150 ease-in-out",children:"Contact"}),(0,r.jsx)(s.default,{href:"/sharing",className:"theme-link rounded-lg px-2 py-1 font-medium transition-colors duration-150 ease-in-out",children:"Sharing"})]}),(0,r.jsx)(l.default,{})]})})}),(0,r.jsx)("div",{className:"container mx-auto px-4 py-8 app-theme-page",children:(0,r.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,r.jsx)("h1",{className:"text-2xl font-bold mb-6 app-theme-heading",children:t}),(0,r.jsx)("div",{className:"mb-8 grid grid-cols-2 md:grid-cols-4 gap-2 rounded-xl border p-2 app-theme-card",children:u.map(e=>{var t=m===e.href;return(0,r.jsx)(s.default,{href:e.href,className:"rounded-lg px-3 py-2 text-sm font-medium text-center transition-colors ".concat(t?"hero-cta text-white":"app-theme-muted hover:opacity-90"),children:e.label},e.href)})}),(0,r.jsx)("div",{className:"space-y-8",children:a})]})}),(0,r.jsx)(o.default,{})]})}},3022:function(e,t,a){"use strict";a.d(t,{default:function(){return f}});var r=a(2403),s=a(85583),n=a(1780),i=a(57437),o=a(2265),l=a(80605),c=a(69064),d=a(58142),u=a(39957),m=a(39391),p="lf_pending_import_v1",h="lf_pending_import_lock_v1";function f(e){var t,{snippetPayload:a,source:f="unknown",categorySlug:x="unknown",snippetId:g="unknown",templateId:b="unknown",className:v="",onAddClick:y,onResult:j}=e,{data:w,status:N}=(0,l.useSession)(),[k,_]=(0,o.useState)("idle"),C=(0,o.useRef)(!1),S=(0,o.useMemo)(()=>{var e,t;return{label:String((null==a?void 0:a.label)||"").trim(),trigger:String((null==a?void 0:a.trigger)||"").trim(),content:(e=null==a?void 0:a.content,(t=(0,m.n)(e)).trim()?/<\/?[a-z][\s\S]*>/i.test(String(t||""))?t:t.replace(/\r\n/g,"\n").split(/\n{2,}/).map(e=>"<p>".concat(String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>"),"</p>")).join(""):""),category:String((null==a?void 0:a.category)||"").trim(),vars:Array.isArray(null==a?void 0:a.vars)?a.vars:void 0,isFavorite:!1}},[a]),A=(0,o.useMemo)(()=>[S.label,S.trigger,S.content,S.category].join("||"),[S]);function L(){return P.apply(this,arguments)}function P(){return(P=(0,r._)(function*(){var e={payload:S,source:f,categorySlug:x,snippetId:g,templateId:b,signature:A,createdAt:Date.now()};try{localStorage.setItem(p,JSON.stringify(e)),(0,d.L)("snippet_add_pending_saved",{source:f,category:x,snippet_id:g,template_id:b})}catch(e){c.ZP.error("Failed to start import. Please try again.");return}var t=new URL(window.location.href);t.searchParams.set("lfAddPending","1"),yield(0,u.GI)(void 0,{callbackUrl:t.toString()},{reason:"snippet_import"})})).apply(this,arguments)}function T(e,t){return I.apply(this,arguments)}function I(){return(I=(0,r._)(function*(e,t){_("loading"),(0,d.L)("snippet_add_click",t);try{var a=yield fetch("/api/snippets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify((0,n._)((0,s._)({},e),{onDuplicate:"error"}))}),r=yield a.json().catch(()=>({}));if(401===a.status)return(0,d.L)("snippet_add_unauthorized",t),yield L(),_("idle"),"function"==typeof j&&j("reauth"),{status:"reauth"};if(409===a.status&&(null==r?void 0:r.code)==="TRIGGER_EXISTS")return(0,c.ZP)("Trigger already exists, skipped"),(0,d.L)("snippet_add_duplicate",t),_("exists"),setTimeout(()=>_("idle"),1800),"function"==typeof j&&j("duplicate"),{status:"duplicate"};if(402===a.status)return c.ZP.error("Plan required to add snippets"),(0,d.L)("snippet_add_plan_required",t),setTimeout(()=>{window.location.href="/pricing"},150),_("idle"),"function"==typeof j&&j("plan_required"),{status:"plan_required"};if(!a.ok)throw Error((null==r?void 0:r.error)||"Failed to add snippet");
1return c.ZP.success("Added to LoadFast"),(0,d.L)("snippet_add_success",t),_("added"),setTimeout(()=>_("idle"),1800),"function"==typeof j&&j("success"),{status:"success"}}catch(e){return c.ZP.error("Failed to add snippet"),(0,d.L)("snippet_add_failed",t),_("idle"),"function"==typeof j&&j("error"),{status:"error"}}})).apply(this,arguments)}function M(){return(M=(0,r._)(function*(){var e;if("function"==typeof y&&y({source:f,categorySlug:x,snippetId:g,templateId:b}),!((null==S?void 0:S.trigger)&&(null==S?void 0:S.content)&&(null==S?void 0:S.category))){c.ZP.error("Snippet is missing required fields");return}if(!(null==w?void 0:null===(e=w.user)||void 0===e?void 0:e.id)){yield L();return}yield T(S,{source:f,category:x,snippet_id:g,template_id:b,mode:"direct"})})).apply(this,arguments)}return(0,o.useEffect)(()=>{if(!C.current&&"authenticated"===N&&(null==w?void 0:null===(e=w.user)||void 0===e?void 0:e.id)){C.current=!0;var e,t,a=new URLSearchParams(window.location.search);if("1"===a.get("lfAddPending")){try{var r=localStorage.getItem(p);if(!r)return;t=JSON.parse(r)}catch(e){return}if((null==t?void 0:t.payload)&&(null==t?void 0:t.signature)){if(Date.now()-Number(t.createdAt||0)>6e5){localStorage.removeItem(p);return}t.signature===A&&sessionStorage.getItem(h)!==t.signature&&(sessionStorage.setItem(h,t.signature),T(t.payload,{source:t.source||f,category:t.categorySlug||x,snippet_id:t.snippetId||g,template_id:t.templateId||b,mode:"post_login"}).finally(()=>{localStorage.removeItem(p),sessionStorage.removeItem(h),a.delete("lfAddPending");var e="".concat(window.location.pathname).concat(a.toString()?"?".concat(a):"").concat(window.location.hash||"");window.history.replaceState({},"",e)}))}}}},[null==w?void 0:null===(t=w.user)||void 0===t?void 0:t.id,N,f,x,g,b,A]),(0,i.jsx)("button",{type:"button",onClick:function(){return M.apply(this,arguments)},disabled:"loading"===k,className:v||"inline-flex items-center rounded-md hero-cta font-semibold px-4 py-2 transition",children:"loading"===k?"Adding...":"added"===k?"Added":"exists"===k?"Exists":"Add to LoadFast"})}},51281:function(e,t,a){"use strict";a.d(t,{default:function(){return o}});var r=a(2403),s=a(57437),n=a(2265),i=a(58142);function o(e){var{text:t,snippetId:a,categorySlug:o}=e,[l,c]=(0,n.useState)(!1);function d(){return(d=(0,r._)(function*(){try{yield navigator.clipboard.writeText(t),(0,i.L)("snippet_copy",{snippet_id:a||"unknown",category:o||"unknown"}),c(!0),setTimeout(()=>c(!1),1800)}catch(e){c(!1)}})).apply(this,arguments)}return(0,s.jsx)("button",{type:"button",onClick:function(){return d.apply(this,arguments)},className:"inline-flex items-center rounded-md px-4 py-2 text-sm font-semibold transition ".concat(l?"bg-green-600 text-white":"bg-gray-900 text-white hover:bg-gray-700"),children:l?"Copied":"Copy snippet"})}},44384:function(e,t,a){"use strict";a.d(t,{default:function(){return f}});var r=a(2403),s=a(57437),n=a(2265),i=a(80605),o=a(69064),l=a(58142),c=a(39957),d=[{id:"sales-demo",label:"Sales demo",audience:"sales",contextLine:"Sent a demo recap and pricing summary.",subject:"Quick follow-up on your demo",dayOffset:[1,3,7],ctas:["Book a follow-up","Review pricing","Close the loop"],openings:["Wanted to follow up on the demo we walked through earlier this week.","Circling back on the workflow we mapped during the demo.","Checking in on the recap and next-step options I sent over."],valueDrops:["The biggest win is cutting repetitive replies without adding headcount.","Teams usually see less admin drag once the shortcuts are standardized.","This is most useful when reps lose time repeating the same follow-up motions."],closeLines:["If it helps, I can send the exact rollout checklist we use.","Happy to map this to your pipeline if you want a tighter estimate.","If now is not the right time, I can close the loop and check back later."]},{id:"conference",label:"Conference lead",audience:"sales",contextLine:"Met at an event and shared one idea in passing.",subject:"Good meeting you at the event",dayOffset:[1,4,8],ctas:["See the example","Grab 10 minutes","Keep the thread warm"],openings:["Great meeting you at the event. Following up on the idea we touched on.","Wanted to send the concrete version of the workflow we discussed in person.","Following up on our hallway conversation before the next week gets busy."],valueDrops:["I pulled the clearest example so you can see the workflow in one screen.","The main upside is speed: the same follow-up sequence becomes reusable instantly.","This matters most when good conversations die because the recap never gets sent."],closeLines:["I can send a tighter example if that would be more useful.","Open to a
1short follow-up if you want to pressure-test the fit.","If timing is bad, no pressure. I just wanted to make the handoff easy."]},{id:"cold-outreach",label:"Cold outreach",audience:"sales",contextLine:"Sent a first-touch note and got silence.",subject:"Following up on my earlier note",dayOffset:[2,5,9],ctas:["See the use case","Reply with interest","No worries either way"],openings:["Following up on the note I sent earlier this week.","Wanted to surface this once more in case it got buried.","One more follow-up here, since I think the workflow is relevant."],valueDrops:["The key benefit is faster replies without changing your current stack.","This usually helps teams standardize repetitive communication across the pipeline.","I thought this was relevant because your team is likely handling the same follow-up manually."],closeLines:["If useful, I can send the exact sequence template.","If this is not a priority, I can leave it here.","If the timing is off, happy to close the loop for now."]},{id:"quote",label:"Quote sent",audience:"sales",contextLine:"Delivered a quote or proposal and have not heard back.",subject:"Checking in on the quote",dayOffset:[1,3,6],ctas:["Review next steps","Ask a question","Archive for now"],openings:["Checking in on the quote I sent over.","Wanted to follow up in case the proposal is still under review.","Circling back on the quote and any questions that came up."],valueDrops:["I can also break down the rollout steps if that helps decision-making.","Usually the main blocker at this stage is implementation clarity, so I can make that concrete.","If the priority is speed, I can point to the shortest path to launch."],closeLines:["Happy to revise scope if that would make review easier.","If it is still live, I can outline the cleanest next step.","If it is not a fit right now, I can close the loop on my side."]}],u=[{id:"soft",label:"Soft",intro:"Wanted to gently follow up",ask:"Would it be useful",ending:"Happy to send more detail if helpful.",badge:"Warm"},{id:"direct",label:"Direct",intro:"Following up directly",ask:"Can we lock the next step",ending:"If yes, I can move this forward quickly.",badge:"Clear"},{id:"breakup",label:"Breakup",intro:"One last follow-up from me",ask:"Should I close the loop",ending:"No problem if the timing is off.",badge:"Final"}],m=[{id:"calendar",label:"Calendar CTA",line:"Would Tuesday or Wednesday be easiest?"},{id:"reply",label:"Reply CTA",line:"A quick reply is enough and I will take it from there."},{id:"resource",label:"Resource CTA",line:"I can send the exact example if that is more useful."}],p=[{id:"standard",label:"Standard rhythm",offsets:[1,3,7]},{id:"fast",label:"Fast chase",offsets:[1,2,4]},{id:"patient",label:"Patient follow-up",offsets:[2,5,10]}],h=["Nudge","Value Drop","Close Loop"];function f(e){var{defaultScenarioId:t=d[0].id,defaultToneId:a=u[1].id,defaultCtaStyleId:f=m[0].id,defaultTimelineId:x=p[0].id,sourcePage:g="ghost-ladder"}=e,{status:b}=(0,i.useSession)(),v=(0,n.useRef)(!1),[y,j]=(0,n.useState)(t),[w,N]=(0,n.useState)(a),[k,_]=(0,n.use
1State)(f),[C,S]=(0,n.useState)(x),[A,L]=(0,n.useState)(!1),P=(0,n.useMemo)(()=>d.find(e=>e.id===y)||d[0],[y]),T=(0,n.useMemo)(()=>u.find(e=>e.id===w)||u[0],[w]),I=(0,n.useMemo)(()=>m.find(e=>e.id===k)||m[0],[k]),M=(0,n.useMemo)(()=>p.find(e=>e.id===C)||p[0],[C]),E=(0,n.useMemo)(()=>[0,1,2].map(e=>(function(e){var t,a,r,{scenario:s,tone:n,ctaStyle:i,timeline:o,stepIndex:l}=e,c=s.openings[l]||s.openings[0],d=s.valueDrops[l]||s.valueDrops[0],u=s.closeLines[l]||s.closeLines[0],m=s.ctas[l]||s.ctas[0],p=null!==(r=null!==(a=o.offsets[l])&&void 0!==a?a:s.dayOffset[l])&&void 0!==r?r:1;return{title:h[l],dayLabel:"Day ".concat(p),urgency:"soft"===(t=n.id)?["Light touch","Helpful proof","Polite exit"][l]:"direct"===t?["Clear opener","Specific value","Decision ask"][l]:["Final check-in","Last useful nudge","Thread closed"][l],subject:0===l?s.subject:1===l?"".concat(s.subject," - quick example"):"".concat(s.subject," - should I close the loop?"),preview:"".concat(n.intro,". ").concat(c),content:["Hi {{first_name}},","","".concat(n.intro,". ").concat(c),d,"".concat(n.ask," around ").concat(m.toLowerCase(),"?"),i.line,u,n.ending,"","Best,","{{your_name}}"].join("\n")}})({scenario:P,tone:T,ctaStyle:I,timeline:M,stepIndex:e})),[P,T,I,M]);function D(e,t){"scenario"===e&&j(t),"tone"===e&&N(t),"cta"===e&&_(t),"timeline"===e&&S(t),(0,l.L)("ghost_ladder_input_submit",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:3,snippet_count:3,time_saved_min:18,resolution_mode:"".concat(e,":").concat(t),source_page:g})}function R(){return(R=(0,r._)(function*(){try{yield navigator.clipboard.writeText(["".concat(P.label," Ghost Ladder (").concat(T.label,")"),"",...E.map(e=>"".concat(e.dayLabel,": ").concat(e.title," -> ").concat(e.preview)),"","Built with LoadFast Ghost Ladder"].join("\n")),o.ZP.success("Caption copied"),(0,l.L)("ghost_ladder_copy_caption",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:5,snippet_count:E.length,time_saved_min:5,resolution_mode:M.id,source_page:g})}catch(e){o.ZP.error("Could not copy caption")}})).apply(this,arguments)}function z(){return(z=(0,r._)(function*(){var e=E.map((e,t)=>({label:"".concat(P.label," ").concat(e.title),trigger:";ghost-".concat(String(P.id||"ghost").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"").slice(0,20)||"ghost","-").concat(t+1),content:e.content,category:"Free Tool - Follow-up Sequences",vars:["first_name","your_name"]}));if((0,l.L)("ghost_ladder_add_click",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:3,snippet_count:e.length,time_saved_min:18,resolution_mode:M.id,source_page:g}),"authenticated"!==b){yield(0,c.GI)(void 0,{callbackUrl:window.location.href},{reason:"tool_import"});return}L(!0);try{var t=yield fetch("/api/snippets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(402===t.status){(0,l.L)("ghost_ladder_import_failure",{auth_state:"logged_in",line_count:3,snippet_count:e.length,time_saved_min:18,resolution_mode:"plan_required",source_page:g}),o.ZP.error("Plan required to add snippets"),window.location.href="/pricing";return}if(!t.ok)throw Error("Failed to import ladder");var a=yield t.json(),r=Array.isArray(a)?a.length:0;o.ZP.success("Added ".concat(r||e.length," snippets")),(0,l.L)("ghost_ladder_import_success",{auth_state:"logged_in",line_count:3,snippet_count:r||e.length,time_saved_min:18,resolution_mode:M.id,source_page:g})}catch(t){o.ZP.error("Could not add ladder"),(0,l.L)("ghost_ladder_import_failure",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:3,snippet_count:e.length,time_saved_min:18,resolution_mode:M.id,source_page:g})}finally{L(!1)}})).apply(this,arguments)}return(0,n.useEffect)(()=>{v.current||(v.current=!0,(0,l.L)("ghost_ladder_page_view",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:3,snippet_count:3,time_saved_min:18,resolution_mode:M.id,source_page:g}))},[b,M.id,g]),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("section",{className:"grid gap-6 lg:grid-cols-[0.9fr_1.1fr]",children:[(0,s.jsxs)("div",{className:"rounded-3xl border p-6 shadow-sm library-card",children:[(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.28em] library-muted",children:"Direct the recovery"}),(0,s.jsx)("h2",{className:"mt-3 text-3xl font-bold library-heading",children:"Build a follow-up ladder people actually want to send"}),(0,s.jsx)("p",{className:"mt-3 text-sm leading-6 library-muted",children:"Pick the stalled scenario, choose the tone, and the board assembles a Day 1 / Day 3 / Day 7 sequence from fixed template blocks. No AI, no prompt c
1alls, no token bill."}),(0,s.jsxs)("div",{className:"mt-6 space-y-5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-semibold library-heading",children:"Scenario"}),(0,s.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:d.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>D("scenario",e.id),className:"rounded-full border px-3 py-1.5 text-xs font-semibold ".concat(e.id===P.id?"hero-cta text-white border-transparent":"library-card library-heading"),children:e.label},e.id))})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-semibold library-heading",children:"Tone"}),(0,s.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:u.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>D("tone",e.id),className:"rounded-full border px-3 py-1.5 text-xs font-semibold ".concat(e.id===T.id?"hero-cta text-white border-transparent":"library-card library-heading"),children:e.label},e.id))})]}),(0,s.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-semibold library-heading",children:"CTA style"}),(0,s.jsx)("select",{value:I.id,onChange:e=>D("cta",e.target.value),className:"mt-2 w-full rounded-xl border px-3 py-2 text-sm library-card library-heading",children:m.map(e=>(0,s.jsx)("option",{value:e.id,children:e.label},e.id))})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-semibold library-heading",children:"Timing rail"}),(0,s.jsx)("select",{value:M.id,onChange:e=>D("timeline",e.target.value),className:"mt-2 w-full rounded-xl border px-3 py-2 text-sm library-card library-heading",children:p.map(e=>(0,s.jsx)("option",{value:e.id,children:e.label},e.id))})]})]})]}),(0,s.jsxs)("div",{className:"mt-6 rounded-2xl border p-4 library-card",children:[(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.24em] library-muted",children:"Situation"}),(0,s.jsx)("p",{className:"mt-2 text-lg font-semibold library-heading",children:P.contextLine}),(0,s.jsxs)("p",{className:"mt-2 text-sm library-muted",children:["Keyword family: ",(0,s.jsx)("span",{className:"font-semibold library-heading",children:"template for a follow up email"})," and related variants."]})]})]}),(0,s.jsxs)("div",{className:"rounded-[2rem] border p-5 shadow-sm library-card relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute inset-0 opacity-60",style:{background:"radial-gradient(circle at top left, rgba(196,181,253,0.24), transparent 36%), radial-gradient(circle at bottom right, rgba(59,130,246,0.18), transparent 34%)"}}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.28em] text-violet-300",children:"Ghost Ladder"}),(0,s.jsx)("h3",{className:"mt-2 text-3xl font-bold text-white",children:"Inbox Recovery Board"})]}),(0,s.jsxs)("div",{className:"rounded-full border border-violet-300/30 bg-slate-950/40 px-3 py-1 text-xs font-semibold text-violet-100",children:[T.badge," tone"]})]}),(0,s.jsxs)("div",{className:"mt-6 grid gap-4 lg:grid-cols-[160px_1fr]",children:[(0,s.jsxs)("div",{className:"rounded-2xl border border-violet-300/20 bg-slate-950/40 p-4",children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.24em] text-slate-400",children:"Mission"}),(0,s.jsx)("p",{className:"mt-3 text-lg font-semibold text-white",children:P.label}),(0,s.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate-300",children:P.contextLine})]}),(0,s.jsx)("div",{className:"space-y-4",children:E.map((e,t)=>(0,s.jsxs)("article",{className:"grid gap-3 rounded-2xl border border-violet-300/20 bg-slate-950/55 p-4 md:grid-cols-[112px_1fr]",children:[(0,s.jsxs)("div",{className:"rounded-2xl bg-violet-400/10 p-3",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-violet-200",children:e.dayLabel}),(0,s.jsx)("p",{className:"mt-2 text-xl font-bold text-white",children:e.title}),(0,s.jsx)("p",{className:"mt-3 text-xs uppercase tracking-[0.2em] text-slate-400",children:e.urgency})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-slate-300",children:"Subject"}),(0,s.jsx)("p",{className:"mt-1 text-base font-semibold text-white",children:e.subject}),(0,s.jsx)("p",{className:"mt-4 text-sm leading-6 text-slate-200",children:e.preview}),(0,s.jsxs)("details",{className:"mt-4 rounded-xl border border-white/10 bg-white/5 p-3",children:[(0,s.jsx)("summary",{className:"cursor-pointer text-xs font-semibold uppercase tracking-[0.18em] text-slate-300",children:"Show full template"}),(0,s.jsx)("pre",{className:"mt-3 whitespace-pre-wrap text-sm leading-6 text-slate-100",children:e.content})]}),(0,s.jsxs)("div",{className:"mt-4 flex flex-wrap items-center gap-2",children:[(0,s.jsx)("span",{className:"rounded-full bg-white/10 px-2.5 py-1 text-xs font-semibold text-slate-200",children:P.ctas[t]}),(0,s.jsx)("span",{className:"rounded-full bg-violet-400/10 px-2.5 py-1 text-xs font-semibold text-violet-200",children:I.label})]})]})]},e.title))})]})]})]})]}),(0,s.jsx)("section",{className:"rounded-3xl border p-6 shadow-sm library-card",children:(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"text-2xl font-bold library-heading",children:"Share the board or save the ladder"}),(0,s.jsx)("p",{className:"mt-2 text-sm library-muted",children:"Export the visual board for social or add all three steps to LoadFast as a reusable sequence."})]}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,s.jsx)("button",{type:"button",onClick:function(){return R.apply(this,arguments)},className:"inline-flex rounded-md border px-4 py-2 text-sm font-semibold library-card library-heading",children:"Copy caption"}),(0,s.jsx)("button",{type:"button",onClick:function(){try{(function(e){var{scenario:t,tone:a,sequence:r}=e,s=document.createElement("canvas");s.width=1200,s.height=1350;var n=s.getContext("2d");if(!n)throw Error("Canvas unavailable");var i=n.createLinearGradient(0,0,1200,1350);i.addColorStop(0,"#140f2b"),i.addColorStop(.5,"#2b174e"),i.addColorStop(1,"#08131f"),n.fillStyle=i,n.fillRect(0,0,1200,1350),n.fillStyle="#f8fafc",n.font="700 56px Georgia, serif",n.fillText("Ghost Ladder",72,110),n.fillStyle="#c4b5fd",n.font="500 26px system-ui, sans-serif",n.fillText("".concat(t.label," \xb7 ").concat(a.label," tone"),72,156),n.strokeStyle="rgba(196, 181, 253, 0.35)",n.lineWidth=6,n.beginPath(),n.moveTo(180,260),n.lineTo(180,1120),n.stroke(),r.forEach((e,t)=>{var a,r,s,i,o,l=280+285*t;n.fillStyle="#c4b5fd",n.beginPath(),n.arc(180,l,14,0,2*Math.PI),n.fill(),n.fillStyle="#e9d5ff",n.font="700 24px system-ui, sans-serif",n.fillText(e.dayLabel,230,l+8),n.fillStyle="rgba(15, 23, 42, 0.55)",a=l-60,r={tl:22,tr:22,br:22,bl:22},n.beginPath(),n.moveTo(230+r.tl,a),n.lineTo(1090-r.tr,a),n.quadraticCurveTo(1090,a,1090,a+r.tr),n.lineTo(1090,a+180-r.br),n.quadraticCurveTo(1090,a+180,1090-r.br,a+180),n.lineTo(230+r.bl,a+180),n.quadraticCurveTo(230,a+180,230,a+180-r.bl),n.lineTo(230,a+r.tl),n.quadraticCurveTo(230,a,23
10+r.tl,a),n.closePath(),n.fill(),n.fillStyle="#ffffff",n.font="700 30px system-ui, sans-serif",n.fillText(e.title,264,l-18),n.fillStyle="#93c5fd",n.font="600 18px system-ui, sans-serif",n.fillText(e.urgency,264,l+16),n.fillStyle="#e2e8f0",n.font="500 22px system-ui, sans-serif",(s=String(e.preview).split(" "),i=[],o="",s.forEach(e=>{var t=o?"".concat(o," ").concat(e):e;n.measureText(t).width>780&&o?(i.push(o),o=e):o=t}),o&&i.push(o),i).slice(0,3).forEach((e,t)=>{n.fillText(e,264,l+58+28*t)})}),n.fillStyle="#cbd5e1",n.font="500 22px system-ui, sans-serif",n.fillText("loadfast.store/free-tools/ghost-ladder",72,1288);var o=document.createElement("a");o.download="ghost-ladder-board.png",o.href=s.toDataURL("image/png"),o.click()})({scenario:P,tone:T,sequence:E}),(0,l.L)("ghost_ladder_export_png",{auth_state:"authenticated"===b?"logged_in":"logged_out",line_count:3,snippet_count:E.length,time_saved_min:6,resolution_mode:M.id,source_page:g})}catch(e){o.ZP.error("PNG export failed")}},className:"inline-flex rounded-md border px-4 py-2 text-sm font-semibold library-card library-heading",children:"Export PNG"}),(0,s.jsx)("button",{type:"button",onClick:function(){return z.apply(this,arguments)},disabled:A,className:"inline-flex rounded-md hero-cta px-4 py-2 text-sm font-semibold text-white disabled:opacity-70",children:A?"Adding...":"Add to LoadFast"})]})]})})]})}},42756:function(e,t,a){"use strict";a.d(t,{default:function(){return v}});var r=a(2403),s=a(85583),n=a(1780),i=a(57437),o=a(2265),l=a(80605),c=a(69064),d=a(58142),u=a(39957),m=new Set(["the","a","an","and","or","but","to","for","of","in","on","at","is","are","was","were","be","been","it","this","that","with","as","by","from","you","your","our","we","i","me","my","they","them","their","can","could","would","should","will","just","about","please"]);function p(e){return String(e||"").replace(/\r\n/g,"\n").replace(/\t/g," ").replace(/\s+/g," ").trim()}function h(e){return p(e).replace(/[ââ]/g,'"').replace(/[ââ]/g,"'")}function f(e){return Array.from(e).sort().slice(0,8).join("|")}var x={support:["refund","issue","bug","ticket","problem","fix","support","error","cancel","billing"],sales:["demo","pricing","proposal","quote","trial","plan","sales","followup","follow-up","close"],hiring:["candidate","interview","resume","referral","hiring","offer","recruit","screen","role"],ops:["status","handoff","deadline","launch","ops","process","task","update","meeting"]},g=["support","sales","hiring","ops","other"];function b(){var{rawLineCount:e=0,uniqueLineCount:t=0,snippets:a=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=a.filter(e=>e.selected),s=0;for(var n of r)s+=String((null==n?void 0:n.content)||"").length;var i=3*s,o=r.reduce((e,t)=>{var a=t.department||"other";return e[a]=(e[a]||0)+1,e},{});return{analyzedLines:e,uniqueLines:t,createdSnippets:r.length,timeSavedMinPerDay:Math.max(1,Math.round(i/5/42)),departmentBreakdown:o}}function v(e){var{defaultWorkDump:t="",entryContext:a=null,compact:v=!1}=e,{data:y,status:j}=(0,l.useSession)(),[w,N]=(0,o.useState)(""),[k,_]=(0,o.useState)("idle"),[C,S]=(0,o.useState)(null),[A,L]=(0,o.useState)([]),[P,T]=(0,o.useState)(!0),[I,M]=(0,o.useState)("skip"),[E,D]=(0,o.useState)({}),[R,z]=(0,o.useState)(!1),[F,B]=(0,o.useState)([]),[O,Z]=(0,o.useState)(0),H=(0,o.useRef)(!1),U=(0,o.useRef)(!1),q=(0,o.useRef)(!1),W=(0,o.useMemo)(()=>window.location.pathname.replace(/[^\w]/g,"_")||"mdr",[]),G="".concat("lf_mdr_state_v1","_").concat(W),V="".concat("lf_mdr_import_v1","_").concat(W),$=(0,o.useMemo)(()=>({keyword_slug:(null==a?void 0:a.keyword_slug)||"base",primary_keyword:(null==a?void 0:a.primary_keyword)||"mdr terminal",intent:(null==a?void 0:a.intent)||"tool",monthly_volume:Number((null==a?void 0:a.monthly_volume)||0),source_page:(null==a?void 0:a.source_page)||window.location.pathname}),[a]),Q=(0,o.useMemo)(()=>A.filter(e=>e.selected),[A]),J=(0,o.useMemo)(()=>b({rawLineCount:(null==C?void 0:C.rawLineCount)||0,uniqueLineCount:(null==C?void 0:C.uniqueLineCount)||0,snippets:A}),[C,A]);function K(e,t){L(a=>a.map(a=>a.id===e?(0,s._)({},a,t):a))}function X(){return(X=(0,r._)(function*(){if(C){var e=function(e){var t,{metrics:a,sanitize:r,snippets:s}=e,n=document.createElement("canvas");n.width=1200,n.height=630;var i=n.getContext("2d"),o=i.createLinearGradient(0,0,1200,630);o.addColorStop(0,"#070d1f"),o.addColorStop(1,"#06142a"),i.fillStyle=o,i.fillRect(0,0,1200,630);for(var l=0;l<630;l+=4)i.fillStyle=l%8==0?"rgba(82, 220, 191, 0.08)":"rgba(255, 255, 255, 0.02)",i.fillRect(0,l,1200,1);i.strokeStyle="rgba(112, 241, 220, 0.45)",i.strokeRect(38,38,1124,554),i.fillStyle="#9bf2db",i.font="700 40px monospace",i.fillText("MDR TERMINAL REPORT",70,100),i.fillStyle="#c7d3ff",i.font="500 28px monospace",i.fillText("".concat(a.analyzedLines," lines analyzed"),70,160),i.fillText("".concat(a.createdSnippets," snippet automations"),70,205),i.fillText("Estimated ".concat(a.timeSavedMinPerDay," min/day saved"),70,250);var c=Object.entries(a.departmentBreakdown||{}).sort((e,t)=>
1t[1]-e[1]),d=(null===(t=c[0])||void 0===t?void 0:t[1])||1,u=310;for(var[m,p]of c){var h=Math.max(40,Math.round(p/d*440));i.fillStyle="#a8f6e4",i.font="500 22px monospace",i.fillText(m.toUpperCase(),70,u),i.fillStyle="#44bba3",i.fillRect(230,u-16,h,18),i.fillStyle="#dffcf3",i.fillText(String(p),690,u),u+=46}var f=s.filter(e=>e.selected).slice(0,3).map(e=>{var t,a=(null===(t=e.lines)||void 0===t?void 0:t[0])||e.label;return r?String(a).replace(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/gi,"[email]").replace(/\b\d{6,}\b/g,"[id]").replace(/\b(\+?\d[\d\s\-]{7,}\d)\b/g,"[phone]"):a});return i.fillStyle="#89b4ff",i.font="600 20px monospace",i.fillText("SAMPLE REFINED LINES",760,310),i.fillStyle="#d9e7ff",i.font="500 18px monospace",f.forEach((e,t)=>{var a=String(e).slice(0,44);i.fillText("- ".concat(a),760,350+36*t)}),i.fillStyle="#6d8cc4",i.font="500 18px monospace",i.fillText("loadfast.store/mdr",70,560),n.toDataURL("image/png")}({metrics:J,sanitize:P,snippets:A}),t=document.createElement("a");t.href=e,t.download="mdr-report-".concat(new Date().toISOString().slice(0,10),".png"),t.click(),(0,d.L)("mdr_report_export_png",{line_count:J.analyzedLines,snippet_count:J.createdSnippets,time_saved_min:J.timeSavedMinPerDay,sanitize:P?"on":"off",auth_state:"authenticated"===j?"logged_in":"logged_out"})}})).apply(this,arguments)}function Y(){return(Y=(0,r._)(function*(){var e,t=(e=Object.entries(J.departmentBreakdown||{}).sort((e,t)=>t[1]-e[1]).map(e=>{var[t,a]=e;return"".concat(t,":").concat(a)}).join(" | "),["Ran a work dump through MDR Terminal.","".concat(J.analyzedLines," lines analyzed -> ").concat(J.createdSnippets," snippet automations."),"Estimated ".concat(J.timeSavedMinPerDay," min/day saved."),e?"Departments: ".concat(e):"","Built with LoadFast: https://loadfast.store/mdr"].filter(Boolean).join("\n"));try{yield navigator.clipboard.writeText(t),c.ZP.success("Caption copied")}catch(e){c.ZP.error("Could not copy caption")}(0,d.L)("mdr_copy_caption",{line_count:J.analyzedLines,snippet_count:J.createdSnippets,time_saved_min:J.timeSavedMinPerDay,auth_state:"authenticated"===j?"logged_in":"logged_out"})})).apply(this,arguments)}function ee(){return et.apply(this,arguments)}function et(){return(et=(0,r._)(function*(){localStorage.setItem(V,JSON.stringify({rawInput:w,parsed:C,snippets:Q}));var e=new URL(window.location.href);e.searchParams.set("lfMdrPending","1"),yield(0,u.GI)(void 0,{callbackUrl:e.toString()},{reason:"tool_import"})})).apply(this,arguments)}function ea(){return(ea=(0,r._)(function*(){if(!Q.length){c.ZP.error("Select at least one snippet");return}if(!(null==y?void 0:null===(e=y.user)||void 0===e?void 0:e.id)){yield ee();return}z(!0),B([]),(0,d.L)("mdr_add_click",{line_count:J.analyzedLines,snippet_count:Q.length,resolution_mode:I,auth_state:"logged_in"}),(null==a?void 0:a.source)==="mdr-seo"&&(0,d.L)("mdr_seo_add_click",(0,n._)((0,s._)({},$),{line_count:J.analyzedLines,snippet_count:Q.length,resolution_mode:I,auth_state:"logged_in"}));try{var e,t,r=yield fetch("/api/loadfast/import-snippets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:(null==a?void 0:a.source)||"mdr-terminal",snippets:Q.map(e=>({label:e.label,trigger:e.trigger,content:e.content,category:e.department,vars:e.vars})),resolution:I,renames:E})}),i=yield r.json().catch(()=>({}));if(401===r.status){yield ee();return}if(!r.ok){c.ZP.error((null==i?void 0:i.error)||"Import failed"),(0,d.L)("mdr_import_failure",{line_count:J.analyzedLines,snippet_count:Q.length,auth_state:"logged_in"});return}var o=Array.isArray(null==i?void 0:i.results)?i.results:[];B(o);var l=o.filter(e=>"conflict"===e.status);if(l.length>0){var u={};l.forEach(e=>{var t;(null===(t=e.suggested)||void 0===t?void 0:t[0])&&(u[e.trigger]=e.suggested[0])}),D(e=>(0,s._)({},e,u)),(0,c.ZP)("Some triggers conflicted. Resolve and retry."),(0,d.L)("mdr_import_conflict",{line_count:J.analyzedLines,snippet_count:Q.length,conflict_count:l.length,resolution_mode:I,auth_state:"logged_in"})}else c.ZP.success("Imported ".concat(i.importedCount," snippets"));(0,d.L)("mdr_import_success",{line_count:J.analyzedLines,snippet_count:Q.length,imported_count:i.importedCount||0,resolution_mode:I,auth_state:"logged_in"}),(null==a?void 0:a.source)==="mdr-seo"&&(0,d.L)("mdr_seo_import_success",(0,n._)((0,s._)({},$),{line_count:J.analyzedLines,snippet_count:Q.length,imported_count:i.importedCount||0,resolution_mode:I,auth_state:"logged_in"}))}catch(e){c.ZP.error("Import failed"),(0,d.L)("mdr_import_failure",{line_count:J.analyzedLines,snippet_count:Q.length,auth_state:(null==y?void 0:null===(t=y.user)||void 0===t?void 0:t.id)?"logged_in":"logged_out"})}finally{z(!1)}})).apply(this,arguments)}(0,o.useEffect)(()=>
1{if(!H.current){H.current=!0,(0,d.L)("mdr_page_view",{auth_state:"authenticated"===j?"logged_in":"logged_out"}),(null==a?void 0:a.source)==="mdr-seo"&&(0,d.L)("mdr_seo_page_view",(0,n._)((0,s._)({},$),{auth_state:"authenticated"===j?"logged_in":"logged_out"}));try{var e=localStorage.getItem(G);if(e){var t=JSON.parse(e);(null==t?void 0:t.rawInput)&&N(t.rawInput),(null==t?void 0:t.parsed)&&S(t.parsed),Array.isArray(null==t?void 0:t.snippets)&&L(t.snippets),(null==t?void 0:t.phase)&&_(t.phase),U.current=!0}}catch(e){}}},[j,a,$,G]),(0,o.useEffect)(()=>{if(!q.current&&t.trim()){if(U.current){q.current=!0;return}w.trim()||(N(t),q.current=!0,(null==a?void 0:a.source)==="mdr-seo"&&(0,d.L)("mdr_seo_prefill_loaded",(0,n._)((0,s._)({},$),{line_count:t.split("\n").filter(e=>e.trim()).length,auth_state:"authenticated"===j?"logged_in":"logged_out"})))}},[t,w,a,$,j]),(0,o.useEffect)(()=>{try{localStorage.setItem(G,JSON.stringify({rawInput:w,parsed:C,snippets:A,phase:k,sanitizeShare:P,resolution:I,renames:E}))}catch(e){}},[w,C,A,k,P,I,E,G]),(0,o.useEffect)(()=>{if("authenticated"===j){var e=new URLSearchParams(window.location.search);if("1"===e.get("lfMdrPending")){try{var t=localStorage.getItem(V);if(!t)return;var a=JSON.parse(t);Array.isArray(null==a?void 0:a.snippets)&&a.snippets.length>0&&L(a.snippets),(null==a?void 0:a.parsed)&&S(a.parsed),(null==a?void 0:a.rawInput)&&N(a.rawInput),_("ready"),localStorage.removeItem(V)}catch(e){}e.delete("lfMdrPending");var r="".concat(window.location.pathname).concat(e.toString()?"?".concat(e.toString()):"").concat(window.location.hash||"");window.history.replaceState({},"",r)}}},[j,V]);var er=J.departmentBreakdown,es=Math.max(1,...Object.values(er||{other:1})),en=(0,o.useMemo)(()=>C?Math.max(7,Math.min(97,18+9*J.createdSnippets+Math.min(30,Math.round((J.analyzedLines||0)/2)))):7,[C,J.createdSnippets,J.analyzedLines]);return(0,i.jsxs)("div",{className:"mdr-shell rounded-2xl border p-4 sm:p-6 ".concat(v?"mdr-shell-compact":""),children:[(0,i.jsxs)("div",{className:"mdr-upper-crt mb-5 rounded-xl border p-3 sm:p-4",children:[(0,i.jsxs)("div",{className:"mdr-terminal-status mb-2",children:[(0,i.jsx)("div",{className:"mdr-terminal-pill",children:"Cold Harbor"}),(0,i.jsxs)("div",{className:"mdr-terminal-progress",children:[String(en).padStart(2,"0"),"% Complete"]}),(0,i.jsx)("div",{className:"mdr-lemon-logo","aria-label":"Lemon terminal logo",children:(0,i.jsx)("span",{children:"Lemon"})})]}),(0,i.jsx)("div",{className:"mdr-dot-board",children:Array.from({length:216}).map((e,t)=>(0,i.jsx)("span",{className:"mdr-dot"},t))}),(0,i.jsxs)("div",{className:"mdr-terminal-controls mt-2",children:[(0,i.jsx)("span",{children:"00"}),(0,i.jsx)("span",{children:"01"}),(0,i.jsx)("span",{children:"02"}),(0,i.jsx)("span",{children:"03"}),(0,i.jsx)("span",{children:"04"})]}),(0,i.jsxs)("div",{className:"mdr-gate-overlay ".concat("refining"===k?"is-refining":""),children:[(0,i.jsx)("div",{className:"mdr-gate-top"}),(0,i.jsx)("div",{className:"mdr-gate-bottom"})]},O)]}),(0,i.jsxs)("div",{className:"mdr-header mb-5",children:[(0,i.jsx)("p",{className:"mdr-eyebrow",children:"MDR TERMINAL // REFINEMENT DEPARTMENT"}),(0,i.jsx)("h2",{className:"mdr-title",children:"Turn repetitive text chaos into reusable snippet systems"}),(0,i.jsx)("p",{className:"mdr-subtitle",children:"Paste repetitive work lines, refine into departments, and add selected snippets to LoadFast."}),(0,i.jsx)("p",{className:"mdr-subtitle",children:"The work is mysterious and important."})]}),(0,i.jsxs)("div",{className:"grid gap-4 lg:grid-cols-[1.1fr_0.9fr]",children:[(0,i.jsxs)("section",{className:"mdr-panel rounded-xl border p-4",children:[(0,i.jsx)("div",{className:"flex items-center justify-between gap-3",children:(0,i.jsx)("p",{className:"mdr-panel-title",children:"1) Paste Work Dump"})}),(0,i.jsx)("textarea",{value:w,onChange:e=>N(e.target.value),placeholder:"Reply to refund request\nFollow up after demo\nCandidate interview reschedule\nStatus update for launch",className:"mdr-input mt-3 h-44 w-full rounded-lg border p-3 text-sm"}),(0,i.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[(0,i.jsx)("button",{type:"button",onClick:function(){var e,t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=Number.isFinite(t.similarityThreshold)?t.similarityThreshold:.38,r=String(e||"").split(/\n+/).map(e=>
1h(e)).filter(Boolean),s=[],n=new Set;for(var i of r){var o=i.toLowerCase();n.has(o)||(n.add(o),s.push(i))}var l=[];for(var c of s){for(var d=new Set(h(c).toLowerCase().replace(/[^a-z0-9@._\-\s]/g," ").split(/\s+/).filter(e=>e&&!m.has(e))),u=-1,p=0,x=0;x<l.length;x+=1){var g=function(e,t){if(0===e.size&&0===t.size)return 1;var a=0;for(var r of e)t.has(r)&&(a+=1);var s=e.size+t.size-a;return 0===s?0:a/s}(d,l[x].tokenUnion);g>p&&(p=g,u=x)}if(u>=0&&p>=a){var b=l[u];for(var v of(b.lines.push(c),d))b.tokenUnion.add(v);b.signatures.add(f(d))}else l.push({id:"cluster_".concat(l.length+1),lines:[c],tokenUnion:d,signatures:new Set([f(d)])})}return{rawLineCount:r.length,uniqueLineCount:s.length,clusters:l.map((e,t)=>({id:e.id,index:t,lines:e.lines,tokenUnion:Array.from(e.tokenUnion),signatures:Array.from(e.signatures),representative:e.lines[0]||"",size:e.lines.length}))}}(w),r=(e=new Set,((null==t?void 0:t.clusters)||[]).sort((e,t)=>t.size-e.size).map((t,a)=>{var r,s,n,i,o,l,c=function(e){var t=new Map;for(var a of Object.keys(x))t.set(a,0);for(var r of e)for(var[s,n]of Object.entries(x))n.some(e=>r.includes(e))&&t.set(s,(t.get(s)||0)+1);var i="other",o=0;for(var l of g){var c=t.get(l)||0;c>o&&(i=l,o=c)}return i}(t.tokenUnion||[]),d=(r=(t.lines||[]).join(" ").toLowerCase(),s=new Set,/\b(name|customer|client|hi\s+[a-z]|hello\s+[a-z])\b/.test(r)&&s.add("name"),/\b(date|tomorrow|today|monday|tuesday|wednesday|thursday|friday)\b/.test(r)&&s.add("date"),/\b(company|team|organization|org)\b/.test(r)&&s.add("company"),/\b(email|mail|inbox)\b/.test(r)&&s.add("email"),/\b(order|invoice|ticket|id|#\d{3,})\b/.test(r)&&s.add("reference_id"),Array.from(s)),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,a=new Map;for(var r of e)r&&!(r.length<3)&&a.set(r,(a.get(r)||0)+1);return Array.from(a.entries()).sort((e,t)=>t[1]-e[1]).slice(0,t).map(e=>{var[t]=e;return t})}(t.tokenUnion||[]),m=function(e,t){var a,r="/".concat((a=String(e||"").toLowerCase().replace(/[^a-z0-9\s-]/g," ").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"").slice(0,20))?a.split("-").slice(0,3).map(e=>e.slice(0,4)).join("-")||a:"snippet");if(!t.has(r))return t.add(r),r;for(var s=2;s<50;s+=1){var n="".concat(r,"-").concat(s);if(!t.has(n))return t.add(n),n}var i="".concat(r,"-99");return t.add(i),i}("".concat(c,"-").concat(t.representative||t.id),e),h=(n=p(t.representative).replace(/[!?.,;:]+/g,"").split(" ").slice(0,7).join(" "),i=c.charAt(0).toUpperCase()+c.slice(1),"".concat(i,": ").concat(n||"Snippet")),f=(o=(t.lines||[]).slice(0,4).map(e=>"- ".concat(p(e))).join("\n"),l=d.length?"\n\nVariables: ".concat(d.map(e=>"{{".concat(e,"}}")).join(", ")):"","".concat({support:"Hi {{name}},\n\nThanks for reaching out. Here is a quick update:",sales:"Hi {{name}},\n\nGreat connecting with you. Quick follow-up:",hiring:"Hi {{name}},\n\nThanks for your interest. Next steps:",ops:"Team,\n\nOperational update:",other:"Hi {{name}},\n\nQuick note:"}[c]||"Hi {{name}},\n\nQuick note:","\n").concat(o,"\n\nBest,\n{{name}}").concat(l));return{id:"mdr_".concat(a+1),clusterId:t.id,department:c,label:h,trigger:m,content:f,vars:d,lines:t.lines,lineCount:t.size,keywords:u,selected:!0}}));Z(e=>e+1),_("refining"),(0,d.L)("mdr_paste_submit",{line_count:t.rawLineCount,unique_lines:t.uniqueLineCount,auth_state:"authenticated"===j?"logged_in":"logged_out"}),window.setTimeout(()=>{S(t),L(r),_("ready");var e=b({rawLineCount:t.rawLineCount,uniqueLineCount:t.uniqueLineCount,snippets:r});(0,d.L)("mdr_generate_success",{line_count:e.analyzedLines,cluster_count:t.clusters.length,snippet_count:e.createdSnippets,time_saved_min:e.timeSavedMinPerDay,auth_state:"authenticated"===j?"logged_in":"logged_out"}),(null==a?void 0:a.source)==="mdr-seo"&&(0,d.L)("mdr_seo_run_refinement",(0,n._)((0,s._)({},$),{line_count:e.analyzedLines,cluster_count:t.clusters.length,snippet_count:e.createdSnippets,time_saved_min:e.timeSavedMinPerDay,auth_state:"authenticated"===j?"logged_in":"logged_out"}))},850)},className:"mdr-button",disabled:!w.trim()||"refining"===k,children:"refining"===k?"Refining...":"Run Refinement Pass"}),"refining"===k&&(0,i.jsx)("span",{className:"mdr-muted",children:"Parsing cluster
1s, scoring departments, generating snippets..."})]})]}),(0,i.jsxs)("section",{className:"mdr-panel rounded-xl border p-4",children:[(0,i.jsx)("p",{className:"mdr-panel-title",children:"2) Efficiency Report"}),(0,i.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,i.jsxs)("p",{className:"mdr-stat",children:[J.analyzedLines," lines analyzed"]}),(0,i.jsxs)("p",{className:"mdr-stat",children:[J.createdSnippets," snippet automations"]}),(0,i.jsxs)("p",{className:"mdr-stat",children:["Estimated ",J.timeSavedMinPerDay," min/day saved"]})]}),(0,i.jsx)("div",{className:"mt-4 space-y-2",children:Object.entries(er).sort((e,t)=>t[1]-e[1]).map(e=>{var[t,a]=e;return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"flex items-center justify-between text-xs uppercase tracking-wide",children:[(0,i.jsx)("span",{children:t}),(0,i.jsx)("span",{children:a})]}),(0,i.jsx)("div",{className:"mdr-bar-wrap mt-1",children:(0,i.jsx)("div",{className:"mdr-bar",style:{width:"".concat(Math.max(10,a/es*100),"%")}})})]},t)})}),(0,i.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,i.jsxs)("label",{className:"mdr-muted inline-flex items-center gap-2 text-xs",children:[(0,i.jsx)("input",{type:"checkbox",checked:P,onChange:e=>T(e.target.checked)}),"Sanitize sensitive lines for share exports"]}),(0,i.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,i.jsx)("button",{type:"button",className:"mdr-secondary",onClick:function(){return X.apply(this,arguments)},disabled:!C,children:"Export Report Card PNG"}),(0,i.jsx)("button",{type:"button",className:"mdr-secondary",onClick:function(){return Y.apply(this,arguments)},disabled:!C,children:"Copy post caption"})]})]})]})]}),(0,i.jsxs)("section",{className:"mdr-panel mt-4 rounded-xl border p-4",children:[(0,i.jsx)("p",{className:"mdr-panel-title",children:"3) Refined Snippet Cards"}),A.length?(0,i.jsx)("div",{className:"mt-3 grid gap-3",children:A.map(e=>{var t;return(0,i.jsxs)("article",{className:"mdr-card rounded-lg border p-3",children:[(0,i.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,i.jsxs)("label",{className:"inline-flex items-center gap-2 text-xs uppercase tracking-wide",children:[(0,i.jsx)("input",{type:"checkbox",checked:e.selected,onChange:()=>{var t;return t=e.id,void L(e=>e.map(e=>e.id===t?(0,n._)((0,s._)({},e),{selected:!e.selected}):e))}}),"Include"]}),(0,i.jsx)("span",{className:"mdr-chip",children:e.department})]}),(0,i.jsxs)("div",{className:"mt-2 grid gap-2 sm:grid-cols-2",children:[(0,i.jsx)("input",{className:"mdr-input rounded border px-2 py-1 text-sm",value:e.label,onChange:t=>K(e.id,{label:t.target.value}),placeholder:"Snippet label"}),(0,i.jsx)("input",{className:"mdr-input rounded border px-2 py-1 text-sm",value:e.trigger,onChange:t=>K(e.id,{trigger:t.target.value}),placeholder:"/trigger"})]}),(0,i.jsx)("textarea",{className:"mdr-input mt-2 h-28 w-full rounded border p-2 text-sm",value:e.content,onChange:t=>K(e.id,{content:t.target.value})}),(0,i.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:null===(t=e.vars)||void 0===t?void 0:t.map(e=>(0,i.jsx)("span",{className:"mdr-pill",children:"{{".concat(e,"}}")},e))})]},e.id)})}):(0,i.jsx)("p",{className:"mdr-muted mt-2 text-sm",children:"Run refinement to generate snippet suggestions by department."})]}),(0,i.jsxs)("section",{className:"mdr-panel mt-4 rounded-xl border p-4",children:[(0,i.jsx)("p",{className:"mdr-panel-title",children:"4) Add to LoadFast"}),(0,i.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-4",children:[(0,i.jsx)("label",{className:"mdr-muted text-sm",children:"Conflict handling:"}),(0,i.jsxs)("select",{className:"mdr-input rounded border px-2 py-1 text-sm",value:I,onChange:e=>M(e.target.value),children:[(0,i.jsx)("option",{value:"skip",children:"Skip conflicts"}),(0,i.jsx)("option",{value:"overwrite",children:"Overwrite existing"}),(0,i.jsx)("option",{value:"rename",children:"Rename and import"})]}),(0,i.jsx)("button",{type:"button",className:"mdr-button",onClick:function(){return ea.apply(this,arguments)},disabled:R||!Q.length,children:R?"Importing...":"Add ".concat(Q.length," to LoadFast")})]}),F.length>0&&(0,i.jsx)("div",{className:"mt-3 space-y-2 text-sm",children:F.map(e=>{var t;return(0,i.jsxs)("div",{className:"mdr-result rounded border p-2",children:[(0,i.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,i.jsxs)("strong",{children:["Row ",e.index+1]}),(0,i.jsx)("span",{className:"mdr-chip",children:e.status}),e.code&&(0,i.jsx)("span",{className:"mdr-muted",children:e.code})]}),"conflict"===e.status&&(0,i.jsxs)("div",{className:"mt-2 space-y-2",children:[(0,i.jsxs)("p",{className:"mdr-muted text-xs",children:["Conflict on trigger: ",e.trigger]}),"rename"===I&&(0,i.jsx)("input",{className:"mdr-input w-full rounded border px-2 py-1 text-sm",value:E[e.trigger]||(null===(t=e.suggested)||void 0===t?void 0:t[0])||"",onChange:t=>D(a=>(0,n._)((0,s._)({},a),{[e.trigger]:t.target.value})),placeholder:"/new-trigger"})]})]},"".concat(e.index,"-").concat(e.status))})})]})]})}},12379:function(e,t,a){"use strict";a.d(t,{default:function(){return y}});var r=a(2403),s=a(57437),n=a(2265),i=a(80605),o=a(69064),l=a(58142),c=a(39957),d=a(3022),u="B2B SaaS founders hiring first SDR",m="low reply rates from outbound emails",p="personalized, fast first-touch outreach",h=[{value:"low",label:"Low risk"},{value:"balanced",label:"Balanced"},{value:"bold",label:"Bold"}],f=["Quick one: are you currently handling {pain} manually at {icp}?","Saw your recent growth update, curious if {pain} is still a blocker.","If {pain} is on your Q1 list, I can share a short playbook we tested.","Noticed your team is scaling. Is {pain} becoming more expensive weekly?","Would it be useful if I sent a 3-step framework for {pain}?","Most teams in {icp} lose hours on {pain}; worth comparing notes?","I mapped a simple approach to {value} for teams like yours.","Open to a quick benchmark on how peers solve {pain}?","This might be off, but is {pain} affecting pipeline speed right now?","Can I share one low-lift idea for {value} that worked in similar teams?"],x=["Teams in {icp} usually leak revenue through {pain}; seeing the same?","Built a fast system for {value}. Want the exact first step?","If {pain} is slowing your reps, I can send a 2-minute teardown.","I pulled 5 patterns behind {pain} and ranked them by impact.","Could we pressure-test your current approach to {pain} this week?","Your ICP fit looks strong; fixing {pain} could unlock the next jump.","I can show how teams reduce {pain} without adding headcount.","Can I send a concise audit template for {pain}?","Most founders delay this, but {pain} compounds fast. Worth a reset?","You likely do 80% right already. The last 20% on {pain} is where we help."],g=["Your team is probably losing deals to {pain} before demos even start.","Hard truth: {pain} is usually process debt, not effort debt.","If this quarter misses, {pain} is often the silent reason.","Most teams treat {pain} as normal. It is not.","You can keep the same stack and still fix {pain} in days, not months.","I reviewed your outbound style. One change could double first replies.","Ignoring {pain} now usually becomes a hiring tax later.","The fastest route to {value} is removing one recurring friction point.","Most outreach fails in line one. We optimize exactly that.","If this sounds blunt: your best leads may never see message two."];function b(e,t){return e.replaceAll("{icp}",t.icp).replaceAll("{pain}",t.pain).replaceAll("{value}",t.value)}function v(e){var{icp:t,pain:a,value:r,riskLevel:s}=e,n={icp:t,pain:a,value:r},i=f.map(e=>({text:b(e,n),risk:"low"})),o=x.map(e=>({text:b(e,n),risk:"balanced"})),l=g.map(e=>({text:b(e,n),risk:"bold"})),c=[];return"low"===s&&(c=[...i,...o,...l]),"balanced"===s&&(c=[...o,...i,...l]),"bold"===s&&(c=[...l,...o,...i]),c.slice(0,20).map((e,t)=>{var a,r,s;return{id:"hook-".concat(t+1),line:e.text,risk:e.risk,score:(a=e.text,r=e.risk,s=.15*Math.max(0,a.length-120),Math.max(55,Math.min(96,Math.round(("low"===r?71:"balanced"===r?77:83)+(/\?|:/.test(a)?4:0)-s)))),mockCtr:"".concat((2.3+(20-t)*.11).toFixed(1),"%")}})}function y(){var e,{status:t}
1=(0,i.useSession)(),[a,f]=(0,n.useState)(u),[x,g]=(0,n.useState)(m),[b,y]=(0,n.useState)(p),[j,w]=(0,n.useState)("balanced"),[N,k]=(0,n.useState)(()=>v({icp:u,pain:m,value:p,riskLevel:"balanced"})),[_,C]=(0,n.useState)(0),[S,A]=(0,n.useState)(!1),L=(0,n.useMemo)(()=>N.slice(0,5),[N]);function P(){return(P=(0,r._)(function*(){var e,r=(e=L.slice(0,3).map((e,t)=>"".concat(t+1,". ").concat(e.line)).join("\n"),"Top outreach hooks for ".concat(a,":\n").concat(e,"\n\nBuilt with Outreach Hook Lab by LoadFast."));try{yield navigator.clipboard.writeText(r),o.ZP.success("Caption copied"),(0,l.L)("outreach_hook_lab_copy_caption",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:r.split("\n").length,snippet_count:L.length,time_saved_min:5})}catch(e){o.ZP.error("Could not copy caption")}})).apply(this,arguments)}function T(){return(T=(0,r._)(function*(){"authenticated"!==t&&(yield(0,c.GI)(void 0,{callbackUrl:window.location.href},{reason:"tool_import"}))})).apply(this,arguments)}return(0,n.useEffect)(()=>{(0,l.L)("outreach_hook_lab_page_view",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:N.length,snippet_count:L.length,time_saved_min:12})},[]),(0,n.useEffect)(()=>{if(S&&0!==N.length){var e=setInterval(()=>{C(e=>(e+1)%N.length)},80);return()=>clearInterval(e)}},[S,N]),(0,s.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[1.05fr_1.15fr]",children:[(0,s.jsxs)("section",{className:"rounded-2xl border p-6 shadow-sm library-card",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold library-heading",children:"Slot-Machine Hook Builder"}),(0,s.jsx)("p",{className:"mt-2 text-sm library-muted",children:"Generate 20 first-line outreach hooks from one ICP and sort by risk level."}),(0,s.jsxs)("form",{className:"mt-5 space-y-4",onSubmit:function(e){e.preventDefault();var r=v({icp:a,pain:x,value:b,riskLevel:j});(0,l.L)("outreach_hook_lab_input_submit",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:(a+x+b).split(/\s+/).filter(Boolean).length,snippet_count:20,resolution_mode:j,time_saved_min:12}),A(!0),k(r),setTimeout(()=>{A(!1),(0,l.L)("outreach_hook_lab_generate_success",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:r.length,snippet_count:20,resolution_mode:j,time_saved_min:12})},1400)},children:[(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-medium library-muted",children:"Ideal customer profile (ICP)"}),(0,s.jsx)("input",{value:a,onChange:e=>f(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",placeholder:"B2B SaaS founders hiring first SDR"})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-medium library-muted",children:"Main pain point"}),(0,s.jsx)("input",{value:x,onChange:e=>g(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",placeholder:"low reply rates from outbound emails"})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-medium library-muted",children:"Value proposition"}),(0,s.jsx)("input",{value:b,onChange:e=>y(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",placeholder:"personalized, fast first-touch outreach"})]}),(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-medium library-muted",children:"Risk level"}),(0,s.jsx)("select",{value:j,onChange:e=>w(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",children:h.map(e=>(0,s.jsx)("option",{value:e.value,children:e.label},e.value))})]}),(0,s.jsx)("button",{type:"submit",className:"inline-flex rounded-md hero-cta px-4 py-2 text-sm font-semibold text-white",children:"Generate 20 Hooks"})]}),(0,s.jsxs)("div",{className:"mt-6 rounded-xl border p-4 library-note",children:[(0,s.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wide library-muted",children:"Live Reel"}),(0,s.jsx)("p",{className:"mt-2 text-base sm:text-lg font-semibold library-heading ".concat(S?"animate-pulse":""),children:null===(e=N[_])||void 0===e?void 0:e.line})]})]}),(0,s.jsxs)("section",{className:"rounded-2xl border p-6 shadow-sm library-card",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsx)("h2",{className:"text-2xl font-bold library-heading",children:"Top 20 Hooks"}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:function(){return P.apply(this,arguments)},className:"inline-flex rounded-md border px-3 py-1.5 text-xs font-semibold library-card library-heading",children:"Copy Caption"}),(0,s.jsx)("button",{type:"button",onClick:function(){try{(function(e){var{topHo
1oks:t,icp:a}=e,r=document.createElement("canvas");r.width=1080,r.height=1350;var s=r.getContext("2d");if(!s)throw Error("Canvas unavailable");var n=s.createLinearGradient(0,0,1080,1350);n.addColorStop(0,"#0f172a"),n.addColorStop(1,"#1d4ed8"),s.fillStyle=n,s.fillRect(0,0,r.width,r.height),s.fillStyle="#ffffff",s.font="700 52px Inter, system-ui, sans-serif",s.fillText("Top 5 Outreach Hooks",72,120),s.font="400 28px Inter, system-ui, sans-serif",s.fillStyle="#bfdbfe",s.fillText("ICP: ".concat(a),72,170),s.font="600 30px Inter, system-ui, sans-serif",s.fillStyle="#ffffff",t.slice(0,5).forEach((e,t)=>{var a,r,n,i=260+190*t;s.fillStyle="#93c5fd",s.fillText("#".concat(t+1," (").concat(e.mockCtr," mock CTR)"),72,i),s.fillStyle="#ffffff",(a=e.line.split(" "),r=[],n="",a.forEach(e=>{var t=n?"".concat(n," ").concat(e):e;s.measureText(t).width>900&&n?(r.push(n),n=e):n=t}),n&&r.push(n),r).slice(0,3).forEach((e,t)=>{s.fillText(e,72,i+46+38*t)})}),s.fillStyle="#93c5fd",s.font="500 24px Inter, system-ui, sans-serif",s.fillText("Generated by LoadFast Outreach Hook Lab",72,1290);var i=document.createElement("a");i.download="outreach-hook-lab-top-5.png",i.href=r.toDataURL("image/png"),i.click()})({topHooks:L,icp:a}),(0,l.L)("outreach_hook_lab_export_png",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:L.length,snippet_count:L.length,time_saved_min:4})}catch(e){o.ZP.error("PNG export failed")}},className:"inline-flex rounded-md border px-3 py-1.5 text-xs font-semibold library-card library-heading",children:"Export Top 5 PNG"})]})]}),(0,s.jsx)("div",{className:"mt-4 space-y-3 max-h-[760px] overflow-y-auto pr-1",children:N.map((e,r)=>{var n;return(0,s.jsxs)("article",{className:"rounded-xl border p-3 library-card",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,s.jsxs)("p",{className:"text-sm font-semibold library-heading",children:["#",r+1," \xb7 CTR mock ",e.mockCtr]}),(0,s.jsx)("span",{className:"rounded-full px-2 py-0.5 text-xs font-semibold ".concat("low"===(n=e.risk)?"bg-emerald-100 text-emerald-700":"balanced"===n?"bg-amber-100 text-amber-800":"bg-rose-100 text-rose-700"),children:e.risk})]}),(0,s.jsx)("p",{className:"mt-2 text-sm library-text",children:e.line}),(0,s.jsxs)("p",{className:"mt-1 text-xs library-muted",children:["Score ",e.score,"/100"]}),(0,s.jsx)("div",{className:"mt-3",children:(0,s.jsx)(d.default,{source:"outreach_hook_lab",categorySlug:"free-tools",snippetId:"outreach-hook-".concat(r+1),snippetPayload:{label:"Outreach Hook ".concat(r+1),trigger:";oh-".concat(String(a||"hook").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"").slice(0,18)||"hook","-").concat(r+1),content:"".concat(e.line,"\n\n[personalization_note]"),category:"Free Tool - Sales Outreach",vars:["first_name","company","pain_point"]},onAddClick:()=>(0,l.L)("outreach_hook_lab_add_click",{auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:1,snippet_count:1,resolution_mode:"rename",time_saved_min:6,hook_rank:r+1}),onResult:e=>(function(e,a){var r={auth_state:"authenticated"===t?"logged_in":"logged_out",line_count:1,snippet_count:1,resolution_mode:"rename",time_saved_min:6,hook_rank:a+1};if("success"===e){(0,l.L)("outreach_hook_lab_import_success",r);return}if("duplicate"===e){(0,l.L)("outreach_hook_lab_import_conflict",r);return}("error"===e||"plan_required"===e)&&(0,l.L)("outreach_hook_lab_import_failure",r)})(e,r),className:"inline-flex items-center rounded-md hero-cta text-white px-3 py-1.5 text-xs font-semibold"})})]},e.id)})}),(0,s.jsxs)("div",{className:"mt-5 rounded-xl border p-4 library-note",children:[(0,s.jsx)("p",{className:"text-sm font-semibold library-heading",children:"Import mode"}),(0,s.jsx)("p",{className:"mt-1 text-xs library-muted",children:"This tool imports hooks with rename-safe triggers (`;oh-...`) to avoid collisions by default."}),"authenticated"!==t&&(0,s.jsx)("button",{type:"button",onClick:function(){return T.apply(this,arguments)},className:"mt-3 inline-flex rounded-md border px-3 py-1.5 text-xs font-semibold library-card library-heading",children:"Sign in to import snippets"})]})]})]})}},68262:function(e,t,a){"use strict";a.d(t,{default:function(){return l}});
1var r=a(57437),s=a(2265),n=a(4899),i=a(1515),o=a(58142);function l(e){var{mode:t="individual",role:a="general"}=e,[l,u]=(0,s.useState)("team"===t?1.8:1.2),[m,p]=(0,s.useState)(35),[h,f]=(0,s.useState)("team"===t?28:20),[x,g]=(0,s.useState)("team"===t?8:1),[b,v]=(0,s.useState)(22),y=(0,s.useMemo)(()=>{var e=m/100*(l*b*x)*.65,t=e*h;return{hoursSaved:e,monthlyValue:t,annualValue:12*t,monthlyCostOfDelay:t,paybackDays:t>0?Math.max(1,Math.round(100/t*30)):0}},[l,m,h,x,b]);return(0,r.jsxs)("div",{className:"rounded-xl border p-6 shadow-sm library-card",children:[(0,r.jsxs)("h2",{className:"text-xl font-bold library-heading",children:["ROI calculator (",t,")"]}),(0,r.jsxs)("p",{className:"text-sm mt-1 library-muted",children:["Role preset: ",a]}),(0,r.jsxs)("div",{className:"mt-5 grid md:grid-cols-2 gap-4",children:[(0,r.jsx)(c,{label:"Typing hours/day",value:l,step:"0.1",onChange:u}),(0,r.jsx)(c,{label:"Repeated text %",value:m,step:"1",onChange:p}),(0,r.jsx)(c,{label:"Hourly rate ($)",value:h,step:"1",onChange:f}),(0,r.jsx)(c,{label:"Work days/month",value:b,step:"1",onChange:v}),"team"===t&&(0,r.jsx)(c,{label:"Team size",value:x,step:"1",onChange:g})]}),(0,r.jsx)("button",{type:"button",onClick:function(){(0,o.L)("roi_calculate",{mode:t,role:a,team_size:x,hourly_rate:h,repeat_percent:m,estimated_monthly_value:Math.round(y.monthlyValue)})},className:"mt-5 inline-flex rounded-md hero-cta px-4 py-2 text-sm font-semibold text-white",children:"Recalculate"}),(0,r.jsxs)("div",{className:"mt-6 grid sm:grid-cols-2 lg:grid-cols-4 gap-3",children:[(0,r.jsx)(d,{label:"Hours saved / month",value:y.hoursSaved.toFixed(1)}),(0,r.jsx)(d,{label:"Value / month",value:"$".concat(Math.round(y.monthlyValue))}),(0,r.jsx)(d,{label:"Value / year",value:"$".concat(Math.round(y.annualValue))}),(0,r.jsx)(d,{label:"Payback",value:"".concat(y.paybackDays," days")})]}),(0,r.jsxs)("div",{className:"mt-6 flex flex-wrap gap-3",children:[(0,r.jsx)(i.default,{source:"roi_".concat(t),role:a,eventName:"roi_cta_click",className:"inline-flex rounded-md hero-cta text-white font-semibold px-4 py-2"}),(0,r.jsx)(n.Z,{href:"/snippets",eventName:"roi_cta_click",eventParams:{mode:t,role:a,destination:"snippets"},className:"inline-flex rounded-md border font-semibold px-4 py-2 library-card library-heading",children:"Explore free snippets"})]}),(0,r.jsxs)("p",{className:"mt-4 text-xs library-muted",children:["Estimated monthly cost of delay: $",Math.round(y.monthlyCostOfDelay)," if workflows stay manual."]})]})}function c(e){var{label:t,value:a,step:s,onChange:n}=e;return(0,r.jsxs)("label",{className:"block",children:[(0,r.jsx)("span",{className:"text-sm library-muted",children:t}),(0,r.jsx)("input",{type:"number",step:s,value:a,onChange:e=>n(Number(e.target.value||0)),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading"})]})}function d(e){var{label:t,value:a}=e;return(0,r.jsxs)("div",{className:"rounded-lg border p-3 library-note",children:[(0,r.jsx)("p",{className:"text-xs library-muted",children:t}),(0,r.jsx)("p",{className:"text-lg font-bold mt-1 library-heading",children:a})]})}},88903:function(e,t,a){"use strict";a.d(t,{default:function(){return c}});var r=a(2403),s=a(57437),n=a(2265),i={sales:{purpose:"sales follow-up after demo",body:"Hi {first_name},\n\nThanks again for your time today. Quick follow-up on our demo for {company}.\n\nNext step: {next_step}\nTarget date: {date}\n\nBest,"},support:{purpose:"support ticket status update",body:"Hi {first_name},\n\nThanks for your patience. Quick update on your request.\n\nCurrent status: {status_summary}\nNext update by: {date}\n\nRegards,"},recruiting:{purpose:"candidate interview scheduling",body:"Hi {first_name},\n\nGreat to move forward with your interview process at {company}.\n\nProposed slot: {date}\nInterviewer: {interviewer}\n\nPlease confirm and Iâll send details."},founder:{purpose:"investor weekly update",body:"Hi {first_name},\n\nWeekly update for {company}:\n- Wins: {wins}\n- Blockers: {blockers}\n- Ask: {next_step}\n\nThanks,"},internal:{purpose:"internal project handoff",body:"Team,\n\nHandoff for {project_name}:\n- Current status: {status_summary}\n- Pending item: {next_step}\n- Owner: {owner}\n\nPlease review by {date}."}},o=a(3022),l=["first_name","company","date","next_step"];
1function c(){var e,t,[a,c]=(0,n.useState)("sales follow-up after demo"),[u,m]=(0,n.useState)("sales"),[p,h]=(0,n.useState)("slash"),[f,x]=(0,n.useState)("balanced"),[g,b]=(0,n.useState)("professional"),[v,y]=(0,n.useState)(["first_name","company","next_step"]),j=(0,n.useMemo)(()=>(function(e){var t,a,r,s,{purpose:n,category:o="sales",style:l="slash",length:c="balanced",variables:d=["first_name","company"],tone:u="professional"}=e,m=i[o]||i.sales,p=(n||m.purpose).trim(),h=(t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toLowerCase().replace(/[^a-z0-9\s]/g,"").split(/\s+/).filter(Boolean).slice(0,4).map(e=>e.slice(0,3)).join("")}(p)||"snip",a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toLowerCase().replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-").slice(0,28)}(p)||"snippet-template",s=(r={slash:["/".concat(t),"/".concat(t,"1"),"/".concat(a)],semicolon:[";".concat(t),";".concat(t,"_1"),";".concat(a.replace(/-/g,"_"))],dot:[".".concat(t),".".concat(t,".1"),".".concat(a.replace(/-/g,"."))],letters:["".concat(t),"".concat(t,"1"),"".concat(t,"x")]})[l]||r.slash,"short"===c&&(s=s.map(e=>e.slice(0,Math.min(e.length,6)))),"descriptive"===c&&(s=["".concat(s[0],"-").concat(a.split("-").slice(0,2).join("-")),"".concat(s[1],"-").concat(a.split("-").slice(0,2).join("-")),s[2]]),Array.from(new Set(s)).slice(0,4)).map((e,t)=>({value:e,score:Math.max(70,95-8*t),reason:0===t?"Best mix of speed, clarity, and low collision risk":1===t?"Fast to type with a fallback suffix":"More descriptive and easier to remember"})),f=m.body.replace(/^(Hi \{first_name\},|Hey \{first_name\},|Hello \{first_name\},)\n\n/i,""),x=d.length?"\n\nVariables used: ".concat(d.map(e=>"{".concat(e,"}")).join(", ")):"",g="internal"===o?"".concat(f).concat(x):"".concat("friendly"===u?"Hey {first_name},":"direct"===u?"Hi {first_name}, quick note.":"Hi {first_name},","\n\n").concat(f).concat(x),b=[];return p.length<8&&b.push("Purpose is too short; add context to get better trigger suggestions."),!1===/follow-?up|update|reply/i.test(p)&&b.push("Try including action intent words like follow-up, update, or reply for stronger trigger naming."),h[0].value.length<3&&b.push("Primary trigger is very short; collision risk may increase."),{purpose:p,triggers:h,snippetBody:g,warnings:b,category:o,tone:u,style:l,length:c}})({purpose:a,category:u,style:p,length:f,variables:v,tone:g}),[a,u,p,f,v,g]);function w(e){return N.apply(this,arguments)}function N(){return(N=(0,r._)(function*(e){try{yield navigator.clipboard.writeText(e)}catch(e){}})).apply(this,arguments)}return(0,s.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,s.jsxs)("section",{className:"rounded-2xl border p-6 shadow-sm library-card",children:[(0,s.jsx)("h2",{className:"text-xl font-semibold library-heading",children:"Build your snippet setup"}),(0,s.jsx)("label",{className:"mt-4 block text-sm font-medium library-muted",children:"What is this snippet for?"}),(0,s.jsx)("input",{value:a,onChange:e=>c(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",placeholder:"sales follow-up after demo"}),(0,s.jsxs)("div",{className:"mt-4 grid sm:grid-cols-2 gap-4",children:[(0,s.jsx)(d,{label:"Category",value:u,onChange:m,options:[["sales","Sales"],["support","Support"],["recruiting","Recruiting"],["founder","Founder"],["internal","Internal Comms"]]}),(0,s.jsx)(d,{label:"Trigger style",value:p,onChange:h,options:[["slash","Slash (/demo-fu)"],["semicolon","Semicolon (;demo_fu)"],["dot","Dot (.demo.fu)"],["letters","Letters only (demofu)"]]}),(0,s.jsx)(d,{label:"Length",value:f,onChange:x,options:[["short","Short (3-5 chars)"],["balanced","Balanced (6-10 chars)"],["descriptive","Descriptive (10+ chars)"]]}),(0,s.jsx)(d,{label:"Tone",value:g,onChange:b,options:[["professional","Professional"],["friendly","Friendly"],["direct","Direct"]]})]}),(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsx)("p",{className:"text-sm font-medium library-muted",children:"Include variables"}),(0,s.jsx)("div",{className:"mt-2 flex flex-wrap gap-2",children:l.map(e=>{var t=v.includes(e);return(0,s.jsx)("button",{type:"button",onClick:()=>{y(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},className:"rounded-full px-3 py-1 text-xs font-semibold border ".concat(t?"library-heading":"library-card library-muted"),style:t?{backgroundColor:"color-mix(in srgb, var(--lf-accent) 18%, var(--lf-surface-elevated))",borderColor:"color-mix(in srgb, var(--lf-accent) 30%, var(--lf-border))"}:void 0,children:"{".concat(e,"}")},e)})})]})]}),(0,s.jsxs)("section",{className:"rounded-2xl border p-6 shadow-sm library-card",children:[(0,s.jsx)("h2",{className:"text-xl font-semibold library-heading",children:"Recommended output"}),(0,s.jsx)("div",{className:"mt-4 space-y-3",children:j.triggers.map((e,t)=>(0,s.jsxs)("div",{className:"rounded-lg border p-3 library-card",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,s.jsx)("p",{className:"font-mono font-semibold library-heading",children:e.value}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[0===t&&(0,s.jsx)("span",{className:"rounded-full bg-emerald-100 px-2 py-0.5 text-xs font-semibold text-emerald-700",children:"Best"}),(0,s.jsx)("button",{onClick:()=>w(e.value),className:"text-xs font-semibold library-link",children:"Copy"})]})]}),(0,s.jsxs)("p",{className:"mt-1 text-xs library-muted",children:[e.reason," \xb7 Score ",e.score,"/100"]}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)(o.default,{source:"free_tool_trigger_generator",categorySlug:"free-tools",snippetId:"".concat(u,"-").concat(t),snippetPayload:{label:a||"".concat(u," snippet"),trigger:e.value,content:j.snippetBody,category:"Free Tool - ".concat(u),vars:v},className:"inline-flex items-center rounded-md hero-cta text-white px-3 py-1.5 text-xs font-semibold"})})]},e.value))}),(0,s.jsxs)("div",{className:"mt-5 rounded-lg border p-3 library-note",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("p",{className:"text-sm font-semibold library-heading",children:"Snippet body"}),(0,s.jsx)("button",{onClick:()=>w(j.snippetBody),className:"text-xs font-semibold library-link",children:"Copy body"})]}),(0,s.jsx)("pre",{className:"mt-2 whitespace-pre-wrap text-xs library-text",children:j.snippetBody}),(0,s.jsx)("div",{className:"mt-3",children:(0,s.jsx)(o.default,{source:"free_tool_trigger_generator_body",categorySlug:"free-tools",snippetId:"".concat(u,"-best"),snippetPayload:{label:a||"".concat(u," snippet"),trigger:(null===(t=j.triggers)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.value)||"".concat(u),content:j.snippetBody,category:"Free Tool - ".concat(u),vars:v},className:"inline-flex items-center rounded-md hero-cta text-white px-3 py-1.5 text-xs font-semibold"})})]}),j.warnings.length>0&&(0,s.jsxs)("div",{className:"mt-4 rounded-lg border border-amber-300 bg-amber-50 p-3",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-amber-900",children:"Warnings"}),(0,s.jsx)("ul",{className:"mt-1 list-disc pl-5 text-xs text-amber-800 space-y-1",children:j.warnings.map(e=>(0,s.jsx)("li",{children:e},e))})]})]})]})}function d(e){var{label:t,value:a,onChange:r,options:n}=e;return(0,s.jsxs)("label",{className:"block",children:[(0,s.jsx)("span",{className:"text-sm font-medium library-muted",children:t}),(0,s.jsx)("select",{value:a,onChange:e=>r(e.target.value),className:"mt-1 w-full rounded-md border px-3 py-2 text-sm library-card library-heading",children:n.map(e=>{var[t,a]=e;return(0,s.jsx)("option",{value:t,children:a},t)})})]})}},87011:function(e,t,a){"use strict";a(54438);var r=a(40257),s={appName:"LoadFast",appDescription:"LoadFast is the #1 text expander for Chrome and Mac. Save 1+ hour daily with smart snippets and shortcuts. Flexible plans: monthly, business, or lifetime.",domainName:"loadfast.store",googleAnalytics:{measurementId:"G-B3KR6YGKD7"},dodoPayments:{offer:{title:"Plans built for faster replies and bigger teams",subtitle:"",totalValue:2679,guaranteeLine:"30-day money-back guarantee ⢠Instant setup ⢠Works on Chrome + Mac",stackItems:[{tag:"CORE",name:"LoadFast Extension + Mac App",detail
1:"Unlimited snippets, works everywhere",value:497},{tag:"BONUS 1",name:"Real-Time Cloud Sync",detail:"All devices, instant sync",value:197},{tag:"BONUS 2",name:"Professional Template Library",detail:"Growing library for sales, support, healthcare",value:297},{tag:"BONUS 3",name:"One-Click Competitor Import",detail:"Migrate from TextExpander in 30 seconds",value:97},{tag:"BONUS 4",name:"Priority Support Forever",detail:"Direct access, 24-hour response",value:497},{tag:"BONUS 5",name:"Lifetime Updates",detail:"Every new feature, forever",value:997},{tag:"BONUS 6",name:"Quick Start Guide",detail:"Be productive in 5 minutes",value:97}]},plans:[{key:"business",productId:r.env.DODO_PRODUCT_ID_BUSINESS||r.env.DODO_PRODUCT_ID_WEEKLY||null,isFeatured:!1,name:"Business",description:"Seat-based team sharing (1 included + additional paid seats).",valueProps:["Everything included in Pro","Unlimited snippet sharing","Built for teams with workspace + folder controls","Seat-based sharing","Centralized user management and roles","Collaboration features","Teams and default folders","User properties"],price:4.99,billingLabel:"/month",eyebrow:"For teams",highlight:!1,microProof:"3-day trial included",trialDays:3,ctaText:"Start 3-day free trial"},{key:"monthly",productId:r.env.DODO_PRODUCT_ID_MONTHLY||null,isFeatured:!0,name:"Pro",description:"Best for individual professionals. Share with up to 25 paid individual users.",valueProps:["Unlimited snippets","Unlimited characters in a snippet","Share unlimited snippets with up to 25 Users","Forms, rich formatting, tables, and images in snippets","API integration for AI agents like OpenClaw to add snippets"],price:2.49,billingLabel:"/month",eyebrow:"Most Popular",highlight:!0,microProof:"3-day trial included",trialDays:3,ctaText:"Start 3-day free trial"},{key:"lifetime",productId:r.env.DODO_PRODUCT_ID_LIFETIME||r.env.DODO_PRODUCT_ID||null,isFeatured:!1,name:"Lifetime",description:"One-time individual plan. Share with up to 25 paid individual users. No business workspace features.",valueProps:["Everything included in Pro","One-time individual plan","Share with up to 25 paid individual users","No business workspace features","API integration for AI agents like OpenClaw to add snippets"],price:89,billingLabel:"one-time",eyebrow:"Own it forever",highlight:!1,microProof:"No recurring fee",trialDays:0,ctaText:"Choose Lifetime"}],enterprise:{title:"Enterprise",subtitle:"Need SSO, advanced controls, or custom onboarding?",ctaText:"Contact Sales",href:"mailto:[email protected]"},comparison:{columns:[{key:"monthly",title:"Pro",subtitle:"For individuals",valueProps:["Unlimited snippets","Unlimited characters in a snippet","Share unlimited snippets with up to 25 Users","Forms, rich formatting, tables, and images in snippets","API integration for AI agents like OpenClaw to add snippets"]},{key:"business",title:"Business",subtitle:"For teams",valueProps:["Everything included in Pro","Unlimited snippet sharing","Workspace + folder collaboration for teams","Seat-based sharing","Centralized user management and roles","Collaboration features","Teams and default folders","User properties"]},{key:"lifetime",title:"Lifetime",subtitle:"Own it forever",valueProps:["Everything included in Pro","One-time payment for individual premium access","Share with up to 25 paid individual users","No recurring subscription billing","No business workspace features","API integration for AI agents like OpenClaw to add snippets"]},{key:"enterprise",title:"Enterprise",subtitle:"For larger organizations",valueProps:["Everything included in Business","Advanced admin + governance options","Priority support and training pathways","Tailored onboarding and rollout support","Custom reporting and implementation planning","Flexible billing and procurement support","API integration for AI agents like OpenClaw to add snippets"]}],rows:[{key:"includes-monthly-foundation",label:"Includes all Pro features",valueType:"badge",values:{monthly:"Base plan",business:"Included",lifetime:"Included",enterprise:"Included"}},{key:"individual-sharing",label:"Individual sharing (paid recipients only)",valueType:"text",values:{monthly:"Up to 25 recipients",business:"Included",lifetime:"Up to 25 recipients",enterprise:"Included"}},{key:"workspace-sharing",label:"Workspace + folder sharing",valueType:"boolean",values:{monthly:!1,business:!0,lifetime:!1,enterprise:!0}},{key:"folder-acl",label:"Folder permissions (owner/editor/viewer)",valueType:"boolean",values:{monthly:!1,business:!0,lifetime:!1,enterprise:!0}},{key:"seat-billing",label:"Seat-based team access",valueType:"text",values:{monthly:"Not included",business:"1 base + paid add-on seats",lifetime:"Not included",enterprise:"Custom seat model"}}
1,{key:"invites",label:"Email + in-app invites",valueType:"boolean",values:{monthly:!1,business:!0,lifetime:!1,enterprise:!0}},{key:"payment-model",label:"Billing model",valueType:"text",values:{monthly:"Recurring monthly",business:"Recurring monthly (per workspace seats)",lifetime:"One-time payment",enterprise:"Custom contract"}},{key:"platforms",label:"Web + Chrome + Mac sync",valueType:"boolean",values:{monthly:!0,business:!0,lifetime:!0,enterprise:!0}},{key:"support",label:"Support level",valueType:"text",values:{monthly:"Standard support",business:"Priority support",enterprise:"High-touch support"}}]},features:[{name:"Real-time sync across Chrome + Mac app"},{name:"Built-in search bar for instant snippet retrieval"},{name:"Store unlimited snippets"},{name:"Mark important snippets as favorites"},{name:"Secure cloud backup"},{name:"Add & edit snippets directly from extension"},{name:"Organize snippets with categories & filters"},{name:"Priority support"}]},aws:{bucket:"bucket-name",bucketUrl:"https://bucket-name.s3.amazonaws.com/",cdn:"https://cdn-id.cloudfront.net/"},resend:{fromNoReply:"LoadFast <[email protected]>",fromAdmin:"Vidur at LoadFast <[email protected]>",supportEmail:"[email protected]"},colors:{theme:"light",main:"#d97757"},auth:{loginUrl:"/api/auth/signin",callbackUrl:"/dashboard"}};t.Z=s},35305:function(e,t,a){"use strict";a.d(t,{M:function(){return o}});var r=a(2403),s=a(2265),n=a(69064),i=a(80605);
1function o(){var e,[t,a]=(0,s.useState)(!1),{data:o}=(0,i.useSession)();return{handleCheckout:(e=(0,r._)(function*(){var{planKey:e=null,productId:t=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{if(a(!0),!(null==o?void 0:null===(r=o.user)||void 0===r?void 0:r.id)){localStorage.setItem("checkoutAfterLogin","true"),e&&localStorage.setItem("checkoutPlanKey",e),t&&localStorage.setItem("checkoutProductId",t);var r,s=new URLSearchParams({checkout:"1"});e&&s.set("planKey",e),t&&s.set("productId",t),yield(0,i.signIn)(null,{callbackUrl:"/checkout-redirect?".concat(s.toString())});return}var l=yield fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({redirectUrl:window.location.origin,userId:o.user.id,planKey:e||void 0,productId:t||void 0})});if(!l.ok)throw Error("Failed to create checkout session");var c=yield l.json();if(!(null==c?void 0:c.url))throw Error("No checkout URL returned");window.location.href=c.url}catch(e){n.ZP.error("Failed to start checkout. Please try again."),a(!1)}}),function(){return e.apply(this,arguments)}),isLoading:t}}},58142:function(e,t,a){"use strict";a.d(t,{L:function(){return c}});var r=a(85583),s=a(39957),n="__lfPendingGaEvents",i="__lfGaQueueListenerAttached";function o(){return Array.isArray(window[n])||(window[n]=[]),window[n]}function l(){if("function"==typeof window.gtag)for(var e=o();e.length>0;){var t=e.shift();window.gtag("event",t.eventName,t.params||{})}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(0,r._)({},(0,s.It)(),t);
1if("page_path"in a||(a.page_path="".concat(window.location.pathname).concat(window.location.search||"")),"page_location"in a||(a.page_location=window.location.href),"page_title"in a||(a.page_title=document.title||""),"function"==typeof window.gtag){window.gtag("event",e,a);return}var n=o();n.length>=50&&n.shift(),n.push({eventName:e,params:a}),window[i]||(window[i]=!0,window.addEventListener("lf:ga-ready",l))}},41691:function(e,t,a){"use strict";a.d(t,{C:function(){return n}});var r=/\{([a-zA-Z0-9_]+)\}/g,s=/\[([A-Z0-9_]+)\]/g;function n(e){if(!e||"string"!=typeof e)return[];for(var t,a=new Set;null!==(t=r.exec(e));)a.add(t[1]);for(;null!==(t=s.exec(e));)a.add(t[1].toLowerCase());return Array.from(a)}},39391:function(e,t,a){"use strict";function r(e){return String(e||"").replace(/\\r\\n/g,"\n").replace(/\\n/g,"\n").replace(/\\r/g,"\n").replace(/\r\n/g,"\n").replace(/\r/g,"\n")}function s(e){var t=r(e).trim();if(!t)return{trigger:"",body:""};var a=t.match(/Type\s+['"]([^'"]+)['"]\s*(?:â|->)\s*['"]([\s\S]+?)['"]\s*$/i);if(a)return{trigger:a[1].trim(),body:r(a[2]).trim()};var s=t.match(/Type\s+([^\s]+)\s*(?:â|->)\s*([\s\S]+)$/i);return s?{trigger:s[1].trim().replace(/^['"]|['"]$/g,""),body:r(s[2]).trim().replace(/^['"]|['"]$/g,"")}:{trigger:"",body:t}}a.d(t,{f:function(){return s},n:function(){return r}})},39957:function(e,t,a){"use strict";a.d(t,{GI:function(){return N},It:function(){return _},N$:function(){return x},_u:function(){return w},n4:function(){return j},to:function(){return C}});var r=a(2403),s=a(80605),n="lfAcquisitionContext",i="lfSessionQualityProbeSent",o=new Set(["loadfast.store","www.loadfast.store","loadfast.app","www.loadfast.app","localhost","127.0.0.1"]),l=new Set(["accounts.google.com"]),c=[/(^|\.)google\./,/(^|\.)bing\.com$/,/(^|\.)duckduckgo\.com$/,/(^|\.)search\.yahoo\.com$/,/(^|\.)ecosia\.org$/,/(^|\.)brave\.com$/],d=[/(^|\.)reddit\.com$/,/(^|\.)t\.co$/,/(^|\.)twitter\.com$/,/(^|\.)x\.com$/,/(^|\.)linkedin\.com$/,/(^|\.)facebook\.com$/,/(^|\.)instagram\.com$/,/(^|\.)threads\.net$/,/(^|\.)producthunt\.com$/];function u(){return void 0!==window.sessionStorage}function m(e,t){if(!e)return null;try{return new URL(e,t)}catch(e){return null}}function p(){return m(window.location.href)}function h(e){var t,a=m(e,window.location.origin);return(null==a?void 0:null===(t=a.hostname)||void 0===t?void 0:t.toLowerCase())||""}function f(e){return!!e&&o.has(e.toLowerCase())}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.startsWith("/api/auth")||"/checkout-redirect"===e}function g(e){if(!e)return"direct";var t=h(e);return t?l.has(t)?"google_auth":f(t)?"internal":c.some(e=>e.test(t))?"search":d.some(e=>e.test(t))?"social":"referral":"unknown"}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=e||t||"",r=h(a);return!a||!r||f(r)?"":a}function v(e){var t="string"==typeof e?m(e,window.location.origin):e;if(!t)return{};var a={};return["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].forEach(e=>{var r=t.searchParams.get(e);r&&(a[e]=r)}),a}function y(){if(!u())return null;try{var e=window.sessionStorage.getItem(n);if(!e)return null;var t=JSON.parse(e);if(!(null==t?void 0:t.createdAt)||Date.now()-t.createdAt>18e5)return window.sessionStorage.removeItem(n),null;return t}catch(e){return window.sessionStorage.removeItem(n),null}}function j(){return y()}function w(){var e=y();return e&&u()&&window.sessionStorage.removeItem(n),e}function N(e){return k.apply(this,arguments)}function k(){return(k=(0,r._)(function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return!function(){var{reason:e="signin",callbackUrl:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(!u()||y())){var a=p(),r="undefined"!=typeof document&&document.referrer||"",s={reason:e,createdAt:Date.now(),callbackUrl:t||"",sourcePath:a?"".concat(a.pathname).concat(a.search):"",sourceLocation:(null==a?void 0:a.href)||"",originalReferrer:b(r),originalReferrerClass:g(r),utmParams:v(a),hasUtm:Object.keys(v(a)).length>0};window.sessionStorage.setItem(n,JSON.stringify(s))}}({reason:a.reason||"signin",callbackUrl:null==t?void 0:t.callbackUrl}),(0,s.signIn)(e,t)})).apply(this,arguments)}function _(){var{storedAttribution:e=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=p(),a="undefined"!=typeof document&&document.referrer||"",r=b(null==e?void 0:e.originalReferrer,a),s=(null==e?void 0:e.originalReferrer)?g(e.originalReferrer):g(r),n=Object.keys(v(t)).length>0||!!(null==e?void 0:e.hasUtm);return{page_path:t?"".concat(t.pathname).concat(t.search):"",page_location:(null==t?void 0:t.href)||"",page_title:"undefined"!=typeof document&&document.title||"",page_referrer:r,landing_page_type:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{hasStoredAttribution:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.startsWith("/api/auth")?"auth_transition":"/checkout-redirect"===e?"checkout_redirect":t?"auth_return":e.startsWith("/")?"content":"unknown"}((null==t?void 0:t.pathname)||"",{hasStoredAttribution:!!e}),referrer_class:s,has_utm:n?"true":"false",original_landing_path:(null==e?void 0:e.sourcePath)||"",auth_flow_reason:(null==e?void 0:e.reason)||""}}function C(){return!u()||"1"!==window.sessionStorage.getItem(i)&&(window.sessionStorage.setItem(i,"1"),!0)}},29445:function(e,t,a){"use strict";a.d(t,{cR:function(){return l}});var r=()=>{var e=navigator.userAgent||navigator.vendor||window.opera,t=/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile|o2|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e),a=window.innerWidth<=768,r="ontouchstart"in window||navigator.maxTouchPoints>0;return t||a&&r},s=()=>
1{if(!r())return!1;var e=navigator.deviceMemory||4,t=navigator.hardwareConcurrency||2,a=navigator.userAgent.toLowerCase(),s=/android [2-6]|iphone os [7-9]|iphone os 1[0-1]|cpu os [7-9]|cpu os 1[0-1]/.test(a);return e<4||t<4||s},n=()=>{if("undefined"==typeof navigator||!navigator.connection)return{effectiveType:"4g",saveData:!1};var e=navigator.connection;return{effectiveType:e.effectiveType||"4g",saveData:e.saveData||!1,downlink:e.downlink||10}},i=()=>{var e=n(),t=s(),a=["slow-2g","2g","3g"].includes(e.effectiveType);return t||a||e.saveData},o=null,l=()=>{if(!r())return{deferHeavyAnimations:!1,aggressiveLazyLoading:!1,reduceVideoQuality:!1,deferAnalytics:!1,simplifyInteractions:!1,skipHeavyComponents:!1,isMobile:!1};if(o)return o;var e=n(),t=s(),a=i();return o={deferHeavyAnimations:!0,aggressiveLazyLoading:!0,reduceVideoQuality:a,deferAnalytics:t||e.saveData,simplifyInteractions:a,skipHeavyComponents:t||e.saveData,connectionType:e.effectiveType,isMobile:!0,isSlowDevice:t,saveData:e.saveData}}},83919:function(e,t,a){"use strict";a.d(t,{L:function(){return r.Z}});var r=a(29812)},37739:function(e,t,a){"use strict";a.d(t,{d:function(){return r.Z}});var r=a(14452)},78621:function(e,t,a){"use strict";a.d(t,{J:function(){return r.J},u:function(){return s.u}});var r=a(54138),s=a(92268)},6036:function(e,t,a){"use strict";a.r(t),t.default={src:"/_next/static/media/marc.ba452a56.png",height:500,width:500,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAARVBMVEX9tmKaZF/RnVtNKif8rlz4umfpsmj+v2j/xWyzdnHJlGThqGFmQjW9gIC2goa9h2CcZ3W6kFOthVAlEg+zi09cQi6DV1dqimKxAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAP0lEQVR4nBXISRLAIAgAwVFBwC17/v/UVPrYCJazItBHuZ4KfpeIcjqe37XG4VidM1I1VCPS5grW9j8QtHVDPkVOAd8m1c8rAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8}},15586:function(e,t,a){"use strict";a.r(t),t.default={src:"/_next/static/media/icon.2daf8fb0.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAMFBMVEX/8qP+7KDs35ZvalD//ap+dlRoaGnay4qsoXDBt38yMCzj04uoqKp9fHQsLC7Z2NXocMz0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOklEQVR4nBXLtxHAMBAEsb139GL/3WqYA0gxEglh0wPAvHI1A9+3ztfp36m7HaytLLeHwqehF3OE9AMqMAErAqXv1QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},71171:function(e,t,a){"use strict";a.r(t),t.default={src:"/_next/static/media/header.ecc0b0bd.png",height:1014,width:1527,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAJFBMVEUfHSAkLCosKB4jTDpjTxhMPRgiQDNFRSKwihUoakw1o3I7NCSlZ6PYAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKElEQVR4nAXBiQEAIAwCsQP6qPsPbAICbNC7Uh1gAi7QaLbbKMl2+QMIsgB0dBWfMAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}}}]);
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.