PageSourceSearch

https://stylr.dev/_next/static/chunks/0_z9.98irpznm.js

js stylr.dev collected 2026-10-02 01:53:35 UTC 11,537 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="fb440fac-e9ca-931d-3a99-85ea6cc4aa18")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34236,e=>{"use strict";var r=e.i(738776),t=e.i(482560),a=e.i(975157);let i={hero:"▶",featured:"◆",categories:"●",howItWorks:"▸",recipeFormat:"▼",library:"▸",layers:"▣",categoriesPage:"◇",category:"■",about:"○",notFound:"✕",anatomyPrompt:"▶",anatomyTools:"◆",anatomyUsage:"▸",anatomyResult:"★",faq:"?"},n=new Set(["hero","library","howItWorks","anatomyPrompt","anatomyUsage"]);e.s(["TypewriterOverline",0,function({text:e,tone:s,className:c,charMs:l=38,startDelayMs:o=320}){let[d,u]=(0,t.useState)(0),[x,m]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),r=()=>m(e.matches);return r(),e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),(0,t.useEffect)(()=>{if(!e)return void u(0);if(x)return void u(e.length);u(0);let r=[];for(let t=1;t<=e.length;t+=1)r.push(setTimeout(()=>u(t),o+(t-1)*l));return()=>{r.forEach(clearTimeout)}},[e,x,l,o]);let p=e.slice(0,d),h=i[s],f=n.has(s);return(0,r.jsx)("span",{className:(0,a.cn)("overline",c),dir:"auto","aria-label":e,children:(0,r.jsxs)("span",{className:"overline-inner inline-flex max-w-full min-w-0 flex-nowrap items-center gap-x-1.5",children:[(0,r.jsx)("span",{className:(0,a.cn)("overline-marker-slot inline-flex shrink-0 items-center justify-center",f&&"overline-marker--flip-rtl"),"aria-hidden":!0,children:(0,r.jsx)("span",{className:"overline-marker","data-overline-tone":s,children:h})}),(0,r.jsx)("span",{className:"min-w-0 flex-1 text-start leading-none",children:p})]})})}])},971162,e=>{"use strict";var r=e.i(738776),t=e.i(482560),a=e.i(975157);e.s(["UpgradeButton",0,function({plan:e,label:i,className:n,billing:s="monthly"}){let[c,l]=(0,t.useState)(!1),[o,d]=(0,t.useState)(null);async function u(){l(!0),d(null);try{let r=await fetch("/api/payments/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({plan:e,billing:s})}),t=await r.json();if(t.url){sessionStorage.setItem("stylr_checkout_pending","1"),window.location.href=t.url;return}if("Unauthorized"===t.error){window.location.href="/sign-up";return}d("Checkout unavailable — try again or contact us.")}catch{d("Checkout unavailable — try again or contact us.")}finally{l(!1)}}return(0,r.jsxs)("div",{className:"relative z-[1] mt-5 w-full",children:[(0,r.jsx)("button",{type:"button",onClick:()=>void u(),disabled:c,className:(0,a.cn)("w-full rounded-[var(--radius)] bg-primary px-4 py-2.5","text-[13px] font-semibold text-primary-foreground","transition-colors duration-[250ms] hover:bg-primary/90","disabled:cursor-not-allowed disabled:opacity-50",n),children:c?"Loading...":i}),o?(0,r.jsx)("p",{className:"mt-2 text-[11px] text-[hsl(var(--danger))]",role:"alert",children:o}):null]})}])},843805,e=>{"use strict";var r=e.i(738776),t=e.i(482560),a=e.i(388416),i=e.i(500007),n=e.i(34236),s=e.i(971162),c=e.i(975157);function l(e,r){return(0,c.cn)("tf-hover-brackets relative overflow-visible inline-flex w-full items-center justify-center rounded-[5px] border border-solid px-[14px] py-[8px] text-center","font-mono text-[11px] font-medium leading-none tracking-[0.02em]","transition-all duration-[var(--duration-tf)] ease-[var(--ease-tf)] motion-safe:hover:scale-[0.96]","outline-none focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring-focus))] focus-visible:ring-offset-2 focus-visible:ring-offset-black",e&&"tf-hover-brackets--on-tier-fill",e?r?"border-white bg-white text-black hover:bg-white/90 hover:text-black":"border-[hsl(var(--tier-accent-h))] bg-[hsl(var(--tier-accent-h))] text-[hsl(var(--tier-accent-fg-h))] hover:bg-[hsl(var(--tier-accent-hover-h))] hover:text-[hsl(var(--tier-accent-fg-h))]":"border-foreground bg-foreground text-background hover:bg-foreground
2/92 hover:text-background")}function o({animateKey:e,featured:a,studioAccent:i,price:n,priceNote:s}){let l=(0,t.useRef)(null);return(0,t.useLayoutEffect)(()=>{let e=l.current;e&&(e.classList.remove("pricing-builder-price-enter"),e.offsetWidth,e.classList.add("pricing-builder-price-enter"))},[e]),(0,r.jsx)("div",{ref:l,className:"pricing-builder-price-enter",children:(0,r.jsxs)("p",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-0",children:[(0,r.jsx)("span",{className:(0,c.cn)("text-[28px] font-bold tabular-nums leading-none tracking-tight sm:text-[32px]",a?i?"text-foreground":"text-[hsl(var(--tier-accent-h))]":"text-foreground"),children:n}),(0,r.jsx)("span",{className:(0,c.cn)("text-[15px] font-light",a&&i?"text-foreground":"text-muted"),children:s})]})})}function d({featured:e,studioAccent:t,name:i,description:n,price:u,priceNote:x,priceExtraLine:m,cta:p,href:h,upgradePlan:f,billingCycle:g="monthly",features:v,priceAnimateOnKey:b}){let y=(0,r.jsxs)("p",{className:"flex flex-wrap items-baseline gap-x-2 gap-y-0",children:[(0,r.jsx)("span",{className:(0,c.cn)("text-[28px] font-bold tabular-nums leading-none tracking-tight sm:text-[32px]",e?t?"text-foreground":"text-[hsl(var(--tier-accent-h))]":"text-foreground"),children:u}),(0,r.jsx)("span",{className:(0,c.cn)("text-[15px] font-light",e&&t?"text-foreground":"text-muted"),children:x})]}),N=(0,r.jsxs)(r.Fragment,{children:[y,m?(0,r.jsx)("p",{className:"mt-2 font-mono text-[12px] font-normal text-muted",children:m}):null]});return(0,r.jsxs)("div",{className:(0,c.cn)("stack-pricing-tier relative flex min-w-0 flex-col px-5 py-8 sm:px-6 hover-lift",e&&"stack-pricing-tier--featured"),"data-pricing-accent":e&&t?"studio":void 0,children:[(0,r.jsx)("span",{className:"stack-pricing-tier-corner stack-pricing-tier-corner--ts","aria-hidden":!0}),(0,r.jsx)("span",{className:"stack-pricing-tier-corner stack-pricing-tier-corner--te","aria-hidden":!0}),(0,r.jsx)("span",{className:"stack-pricing-tier-corner stack-pricing-tier-corner--bs","aria-hidden":!0}),(0,r.jsx)("span",{className:"stack-pricing-tier-corner stack-pricing-tier-corner--be","aria-hidden":!0}),(0,r.jsx)("h3",{className:"relative z-[1] text-sm font-semibold tracking-tight text-foreground",children:i}),(0,r.jsx)("p",{className:(0,c.cn)("relative z-[1] mt-3 min-h-[2lh] max-h-[2lh] text-pretty text-[15px] font-light leading-relaxed",t?"text-foreground":"text-muted","line-clamp-2 overflow-hidden"),children:n}),(0,r.jsx)("div",{className:"relative z-[1] mt-4",children:void 0!==b?(0,r.jsx)(o,{animateKey:b,featured:!!e,studioAccent:!!t,price:u,priceNote:x}):N}),f?(0,r.jsx)(s.UpgradeButton,{plan:f,billing:g,label:p,className:l(!!e,!!(e&&t))}):h?.startsWith("mailto:")?(0,r.jsx)("a",{href:h,className:(0,c.cn)("relative z-[1] mt-5",l(!!e,!!(e&&t))),children:p}):h?(0,r.jsx)(a.default,{href:h,className:(0,c.cn)("relative z-[1] mt-5",l(!!e,!!(e&&t))),children:p}):null,(0,r.jsx)("ul",{className:"stack-pricing-tier-features relative z-[1] flex flex-col gap-2 text-start",children:v.map(a=>(0,r.jsxs)("li",{className:"flex gap-3 text-[15px] font-light leading-snug text-foreground",children:[(0,r.jsx)("span",{className:(0,c.cn)("mt-[0.4em] size-2 shrink-0 rounded-[2px]",t?"bg-foreground":e?"bg-[hsl(var(--tier-accent-h)/0.85)]":"bg-foreground
2/90"),"aria-hidden":!0}),(0,r.jsx)("span",{children:a})]},a))})]})}e.s(["PricingTierCard",0,d,"PricingTiersGrid",0,function({yearlyCheckoutEnabled:e=!1}){let s=(0,i.useTranslations)("pricingPage"),[l,o]=(0,t.useState)("monthly"),u=[s("cardFreeF1"),s("cardFreeF2"),s("cardFreeF3"),s("cardFreeF4"),s("cardFreeF5"),s("cardFreeF6"),s("cardFreeF7"),s("cardFreeF8")],x=[s("cardBuilderF1"),s("cardBuilderF2"),s("cardBuilderF3"),s("cardBuilderF4"),s("cardBuilderF5"),s("cardBuilderF6"),s("cardBuilderF7"),s("cardBuilderF8")],m=[s("cardStudioF1"),s("cardStudioF2"),s("cardStudioF3"),s("cardStudioF4"),s("cardStudioF5"),s("cardStudioF6"),s("cardStudioF7")],p=[s("cardProF1"),s("cardProF2"),s("cardProF3"),s("cardProF4")],h=s("monthly"===l?"cardBuilderPrice":"cardBuilderPriceYear"),f=s("monthly"===l?"cardBuilderPriceNote":"cardBuilderPriceNoteYear"),g=s("yearly"===l?"cardBuilderCtaYear":"cardBuilderCta"),v=s("monthly"===l?"cardStudioPrice":"cardStudioPriceYear"),b=s("monthly"===l?"cardStudioPriceNote":"cardStudioPriceNoteYear"),y=s("yearly"===l?"cardStudioCtaYear":"cardStudioCta");return(0,r.jsx)("section",{className:(0,c.cn)("section-container","pt-8 sm:pt-10 md:pt-11"),"aria-labelledby":"pricing-tiers-heading",children:(0,r.jsxs)("div",{className:"mx-auto w-full max-w-[1200px] px-4",children:[(0,r.jsx)("h2",{id:"pricing-tiers-heading",className:"sr-only",children:s("tiersAccessibleLabel")}),(0,r.jsx)("div",{className:"mb-8 flex justify-start",children:(0,r.jsx)(n.TypewriterOverline,{text:s("tiersOverline"),tone:"layers",className:"min-w-0"})}),e?(0,r.jsxs)("div",{className:"mb-6 flex w-full flex-wrap items-center justify-center gap-x-2 gap-y-1 font-mono text-[12px]",role:"group","aria-label":`${s("billingMonthly")} / ${s("billingYearly")}`,children:[(0,r.jsx)("button",{type:"button",onClick:()=>o("monthly"),className:(0,c.cn)("rounded-[5px] border border-transparent px-2 py-1 transition-colors duration-[var(--duration-tf)] cursor-pointer","monthly"===l?"border-[hsl(var(--border))] bg-[hsl(var(--surface-hover))] text-foreground":"text-muted hover:text-foreground"),"aria-pressed":"monthly"===l,children:s("billingMonthly")}),(0,r.jsx)("span",{className:"text-muted","aria-hidden":!0,children:"/"}),(0,r.jsxs)("button",{type:"button",onClick:()=>o("yearly"),className:(0,c.cn)("inline-flex items-center gap-2 rounded-[5px] border border-transparent px-2 py-1 transition-colors duration-[var(--duration-tf)] cursor-pointer","yearly"===l?"border-[hsl(var(--border))] bg-[hsl(var(--surface-hover))] text-foreground":"text-muted hover:text-foreground"),"aria-pressed":"yearly"===l,children:[s("billingYearly"),(0,r.jsx)("span",{className:"rounded-sm bg-accent-02/15 px-2 py-0.5 font-mono text-[10px] text-accent-02",children:s("billingSaveBadge")})]})]}):null,(0,r.jsxs)("div",{className:"mt-2 grid grid-cols-1 gap-2 lg:grid-cols-4",children:[(0,r.jsx)(d,{name:s("cardFreeName"),description:s("cardFreeDesc"),price:s("cardFreePrice"),priceNote:s("cardFreePriceNote"),cta:s("cardFreeCta"),href:"/sign-up",features:u}),(0,r.jsx)(d,{featured:!0,name:s("cardBuilderName"),description:s("cardBuilderDesc"),price:h,priceNote:f,cta:g,upgradePlan:"BUILDER",billingCycle:e?l:"monthly",features:x,priceAnimateOnKey:e?l:void 0}),(0,r.jsx)(d,{featured:!0,studioAccent:!0,name:s("cardStudioName"),description:s("cardStudioDesc"),price:v,priceNote:b,cta:y,upgradePlan:"STUDIO",billingCycle:e?l:"monthly",features:m,priceAnimateOnKey:e?l:void 0}),(0,r.jsx)(d,{name:s("cardProName"),description:s("cardProDesc"),price:s("cardProPrice"),priceNote:s("cardProPriceNote"),cta:s("cardProCta"),href:"/contact",features:p})]}),(0,r.jsx)("div",{className:"mt-10 max-w-prose text-start",children:(0,r.jsxs)("p",{className:"text-[15px] font-light leading-relaxed text-muted",children:[s("footnoteLead")," ",(0,r.jsx)(a.default,{href:s("footnoteHref"),className:(0,c.cn)("font-mono text-[11px] font-medium text-primary transition-colors duration-[var(--duration-tf)]","hover:text-primary/90 hover:underline underline-offset-2"),children:s("footnoteLink")})]})})]})})}],843805)}]);
3
4//# debugId=fb440fac-e9ca-931d-3a99-85ea6cc4aa18

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.