PageSourceSearch

https://templately.com/_next/static/immutable/chunks/29pfax4cw7qhj.js

js templately.com collected 2026-10-03 19:02:08 UTC 93,349 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,49662,e=>{"use strict";var t=e.i(63296),a=e.i(33209),l=e.i(56215),i=e.i(63087),n=e.i(30422),s=e.i(79543),r=e.i(75003),o=e.i(40231);let d=e=>{let{features:l}=e;return(0,t.jsxs)("div",{role:"rowgroup","aria-busy":"true",className:(0,a.cn)("relative flex flex-col bg-[rgba(251,252,254,0.6)] md:-ml-px","border border-[#e8eaef]"),children:[(0,t.jsxs)("div",{className:"flex absolute -left-px -right-px -top-12 h-12 items-center justify-center rounded-t-[16px] border border-b-0 border-brand bg-white shadow-[inset_0_4px_8px_rgba(217,207,255,0.62)]",children:[(0,t.jsx)("span",{className:"rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none"}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("")})]}),(0,t.jsxs)("div",{className:"flex min-h-[287px] flex-col gap-6 px-4 pt-6 pb-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-3 w-40")}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-3 w-40")})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 mt-auto",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-3 w-16")}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-7 w-28")})]}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-10 w-full")})]}),l.map(e=>(0,t.jsx)("div",{className:"flex h-[56px] items-center justify-center border-t border-[#e8eaef] px-6",children:(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none","h-3 w-12")})},e.label))]})};e.s(["default",0,function(){let e=[{label:"Active Sites"},{label:"Full Site Import /mo"},{label:"AI Credits",info:!0},{label:"Starter Items"},{label:"Pro Items"},{label:"Elementor Items"},{label:"Gutenberg Items"},{label:"My Cloud Items"},{label:"Workspace"},{label:"Local Sites"}];return(0,t.jsxs)("section",{"aria-labelledby":"pricing-heading",id:"pricing",className:"relative bg-[#f4f6fc] pb-12 sm:pb-18 lg:pb-26 z-1",children:[(0,t.jsx)(l.default,{className:"absolute -z-1"}),(0,t.jsxs)("div",{className:"bg-[#f4f6fc] relative z-1 flex flex-col gap-8",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 -bottom-12 sm:-bottom-18 lg:-bottom-26  -z-1",children:(0,t.jsx)(o.default,{src:"https://assets.templately.com/frontend/new-landing/pricing-bg.png",alt:"",fill:!0,priority:!1,sizes:"1440px",className:"block w-screen h-auto object-fill"})}),(0,t.jsx)(i.default,{className:"-z-1 !absolute"}),(0,t.jsxs)(r.default,{children:[(0,t.jsx)("div",{className:"border-t border-[#E8EAEF] pt-10 sm:pt-15 lg:pt-20",children:(0,t.jsxs)(n.default,{className:"mb-6 lg:mb-16 flex flex-col items-center gap-3 lg:gap-4 text-center",children:[(0,t.jsx)(s.SaleBadge,{}),(0,t.jsxs)("h2",{id:"pricing-heading",className:"font-bold text-[#1C1C1C] text-32px leading-[1.2]",children:[(0,t.jsx)("span",{className:"block",children:"Build Complete Websites In A Click With"}),(0,t.jsx)("span",{className:"block",children:"AI-Powered Templates Cloud"})]}),(0,t.jsx)("p",{className:"text-base font-medium leading-[1.5] text-[#6d7c90] md:text-lg lg:text-2xl animate-fade-in-up [animation-delay:120ms] motion-reduce:animate-none",children:"Every plan includes a 14-day money-back guarantee. Cancel anytime."})]})}),(0,t.jsx)("div",{className:"flex flex-col gap-6",children:(0,t.jsx)(n.default,{delay:80,children:(0,t.jsxs)("div",{role:"table","aria-label":"Templately plan comparison",className:(0,a.cn)("relative grid md:mt-12 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-y-13","xl:grid-cols-[236fr_230fr_230fr_230fr_230fr]"),children:[(0,t.jsxs)("div",{className:"hidden xl:flex flex-col bg-[rgba(251,252,254,0.6)] border border-[#e8eaef]",children:[(0,t.jsx)("div",{className:"h-76 m-auto items-center justify-center flex px-5.25",children:(0,t.jsx)(s.SaleBadge,{})}),e.map(e=>(0,t.jsxs)("div",{className:"flex h-[56px] items-center gap-2 border-t border-[#eaecf0] px-6 font-sans text-base font-medium leading-[1.6] text-black",children:[(0,t.jsx)("span",{children:e.label}),e.info?(0,t.jsxs)("svg",{width:20,height:20,viewBox:"0 0 24 24",fill:"none",stroke:"#7a7b7e",strokeWidth:1.6,strokeLinecap:"round","aria-hidden":!0,
1children:[(0,t.jsx)("circle",{cx:12,cy:12,r:9}),(0,t.jsx)("path",{d:"M12 8.5v0.01M11 12h1v4h1"})]}):null]},e.label))]}),(0,t.jsx)(d,{features:e})]})})})]})]})]})}],49662)},73291,e=>{"use strict";var t=e.i(63296),a=e.i(16563);let l=(0,e.i(82026).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var i=e.i(40231),n=e.i(23030);e.s(["default",0,function(e){let{categories:s}=e;return(0,t.jsx)(a.default,{speed:40,pauseOnHover:!0,children:s.map(e=>(0,t.jsxs)(n.default,{href:`/platform/elementor?page=1&category=${e.id}`,className:"shrink-0 w-82 mr-6 group flex flex-col gap-3 rounded-lg border border-[#e4e7eb] bg-[#fafbfc] p-3",children:[(0,t.jsx)("div",{className:"relative aspect-304/214 overflow-hidden rounded-sm border-[0.5px] border-[#e4e7eb] bg-white shadow-[0px_8px_12px_-8px_rgba(0,0,0,0.12)]",children:e.banner?(0,t.jsx)(i.default,{src:e.banner,alt:e.name,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw",className:"object-cover motion-safe:transition-transform motion-safe:duration-300 group-hover:scale-[1.02] motion-reduce:transform-none"}):null}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-3",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsx)("h3",{className:"min-w-0 flex-1 truncate text-lg font-medium leading-none text-[#1f2128]",style:{fontVariationSettings:"'opsz' 14"},children:e.name}),(0,t.jsx)(l,{"aria-hidden":!0,className:"size-[18px] shrink-0 text-[#1f2128] opacity-0 motion-safe:transition-opacity motion-safe:duration-200 group-hover:opacity-100 motion-reduce:opacity-100"})]}),(0,t.jsx)("span",{className:"inline-flex w-fit items-center justify-center rounded-full border border-[#e4e7eb] bg-white px-2 py-1.5 text-sm font-medium leading-none text-black/40",children:function(e){if(e>=1e3){let t=Math.floor(e/100)/10;return`${t.toFixed(1).replace(/\.0$/,"")}K+ Items`}return e>=10?`${10*Math.floor(e/10)}+ Items`:`${e} ${1===e?"Item":"Items"}`}(e.packs_count??0)})]})]},e.id))})}],73291)},9e4,e=>{"use strict";var t=e.i(63296),a=e.i(75003),l=e.i(71849),i=e.i(6710),n=e.i(58307),s=e.i(38463),r=e.i(54012),o=e.i(75796),d=e.i(64355),c=e.i(25542),u=e.i(20194),m=e.i(7953);function p(e,t){let a,l=()=>{let{currentTime:l}=t,i=(null===l?0:l.value)/100;a!==i&&e(i),a=i};return m.frame.preUpdate(l,!0),()=>(0,m.cancelFrame)(l)}function f(e){return!("u"<typeof window)&&(e?(0,o.supportsViewTimeline)():(0,o.supportsScrollTimeline)())}var x=e.i(62337),g=e.i(70934),h=e.i(98361);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),v={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function y(e,t,a,l){let i=a[t],{length:n,position:s}=v[t],r=i.current,o=a.time;i.current=Math.abs(e[`scroll${s}`]),i.scrollLength=e[`scroll${n}`]-e[`client${n}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,g.progress)(0,i.scrollLength,i.current);let d=l-o;i.velocity=d>50?0:(0,h.velocityPerSecond)(i.current-r,d)}var j=e.i(62667),w=e.i(31224),N=e.i(8983),_=e.i(61427);let k={start:0,center:.5,end:1};function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,l=0;if(e in k&&(e=k[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?l=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?l=t/100*document.documentElement.clientWidth:e.endsWith("vh")?l=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(l=t*e),a+l}let S=[0,0],L=[[0,0],[1,1]],I={x:0,y:0},P=new WeakMap,F=new WeakMap,A=new WeakMap,E=new WeakMap,M=new WeakMap,T=e=>e===document.scrollingElement?window:e;function z(e){let{container:t=document.scrollingElement,trackContentSize:a=!1,...l}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return u.noop;let i=A.get(t);i||(i=new Set,A.set(t,i));let n=function(e,t,a){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return{measure:t=>{!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2?arguments[2]:void 0;if(a.x.targetOffset=0,a.y.targetOffset=0,t!==e){let l=t;for(;l&&l!==e;)a.x.targetOffset+=l.offsetLeft,a.y.targetOffset+=l.offsetTop,l=l.offsetParent}a.x.targetLength=t===e?t.scrollWidth:t.clientWidth,a.y.targetLength=t===e?t.scrollHeight:t.clientHeight,a.x.containerLength=e.clientWidth,a.y.containerLength=e.clientHeight}(e,l.target,a),y(e,"x",a,t),y(e,"y",a,t),a.time=t,(l.offset||l.target)&&function(e,t,a){let{offset:l=L}=a,{target:i=e,axis:n="y"}=a,s="y"===n?"height":"width",r=i!==e?function(e,t){let a={x:0,y:0},l=e;for(;l&&l!==t;)if((0,_.isHTMLElement)(l))a.x+=l.offsetLeft,a.y+=l.offsetTop,l=l.offsetParent;else if("svg"===l.tagName){let e=l.getBoundingClientRect(),t=(l=l.parentElement).getBoundingClientRect();a.x+=e.left-t.left,a.y+=e.top-t.top}else if(l instanceof SVGGraphicsElement){let{x:e,y:t}=l.getBBox();a.x+=e,a.y+=t;let i=null,n=l.parentNode;for(;!i;)"svg"===n.tagName&&(i=n),n=l.parentNode;l=i}else break;return a}(i,e):I,o=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},d={width:e.clientWidth,height:e.clientHeight};t[n].offset.length=0;let c=!t[n].interpolate,u=l.length;for(let e=0;e<u;e++){let a=function(e,t,a,l){let i=Array.isArray(e)?e:S,n=0;
1return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,k[e]?e:"0"]),(n=C(i[0],a,l))-C(i[1],t)}(l[e],d[s],o[s],r[n]);c||a===t[n].interpolatorOffsets[e]||(c=!0),t[n].offset[e]=a}c&&(t[n].interpolate=(0,j.interpolate)(t[n].offset,(0,w.defaultOffset)(l),{clamp:!1}),t[n].interpolatorOffsets=[...t[n].offset]),t[n].progress=(0,N.clamp)(0,1,t[n].interpolate(t[n].current))}(e,a,l)},notify:()=>t(a)}}(t,e,{time:0,x:b(),y:b()},l);if(i.add(n),!P.has(t)){let e=()=>{for(let e of i)e.measure(m.frameData.timestamp);m.frame.preUpdate(a)},a=()=>{for(let e of i)e.notify()},l=()=>m.frame.read(e);P.set(t,l);let n=T(t);window.addEventListener("resize",l),t!==document.documentElement&&F.set(t,(0,x.resize)(t,l)),n.addEventListener("scroll",l),l()}if(a&&!M.has(t)){let e=P.get(t),a={width:t.scrollWidth,height:t.scrollHeight};E.set(t,a);let l=m.frame.read(()=>{let l=t.scrollWidth,i=t.scrollHeight;(a.width!==l||a.height!==i)&&(e(),a.width=l,a.height=i)},!0);M.set(t,l)}let s=P.get(t);return m.frame.read(s,!1,!0),()=>{(0,m.cancelFrame)(s);let e=A.get(t);if(!e||(e.delete(n),e.size))return;let a=P.get(t);if(P.delete(t),a){var l;T(t).removeEventListener("scroll",a),null==(l=F.get(t))||l(),window.removeEventListener("resize",a)}let i=M.get(t);i&&((0,m.cancelFrame)(i),M.delete(t)),E.delete(t)}}let B=[[[[0,1],[1,1]],"entry"],[[[0,0],[1,0]],"exit"],[[[1,0],[0,1]],"cover"],[L,"contain"]],R={start:0,end:1};function U(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(let[t,a]of B)if(function(e,t){let a=function(e){if(2!==e.length)return;let t=[];for(let a of e)if(Array.isArray(a))t.push(a);else{if("string"!=typeof a)return;let e=function(e){let t=e.trim().split(/\s+/);if(2!==t.length)return;let a=R[t[0]],l=R[t[1]];if(void 0!==a&&void 0!==l)return[a,l]}(a);if(!e)return;t.push(e)}return t}(e);if(!a)return!1;for(let e=0;e<2;e++){let l=a[e],i=t[e];if(l[0]!==i[0]||l[1]!==i[1])return!1}return!0}(e,t))return{rangeStart:`${a} 0%`,rangeEnd:`${a} 100%`}}let O=new Map;function $(e){let t={value:0},a=z(a=>{t.value=100*a[e.axis].progress},e);return{currentTime:t,cancel:a}}function G(e){let{source:t,container:a,...l}=e,{axis:i}=l;t&&(a=t);let n=O.get(a);n||(n=new Map,O.set(a,n));let s=l.target??"self",r=n.get(s);r||(r={},n.set(s,r));let o=i+(l.offset??[]).join(",");return r[o]||(l.target&&f(l.target)?U(l.offset)?r[o]=new ViewTimeline({subject:l.target,axis:i}):r[o]=$({container:a,...l}):f()?r[o]=new ScrollTimeline({source:a,axis:i}):r[o]=$({container:a,...l})),r[o]}function H(e){let t,a,l,{axis:i="y",container:n=document.scrollingElement,...s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n)return u.noop;let r={axis:i,container:n,...s};return"function"==typeof e?function(e,t){return 2===e.length||t&&(t.target||t.offset)?z(a=>{e(a[t.axis].progress,a)},t):p(e,G(t))}(e,r):(t=G(r),a=r.target?U(r.offset):void 0,l=r.target?f(r.target)&&!!a:f(),e.attachTimeline({timeline:l?t:void 0,...a&&l&&{rangeStart:a.rangeStart,rangeEnd:a.rangeEnd},observe:e=>(e.pause(),p(t=>{e.time=e.iterationDuration*t},t))}))}var V=e.i(37804),W=e.i(51489);let D=()=>({scrollX:(0,d.motionValue)(0),scrollY:(0,d.motionValue)(0),scrollXProgress:(0,d.motionValue)(0),scrollYProgress:(0,d.motionValue)(0)}),Y=e=>!!e&&!e.current;function q(e,t,a,l){return{factory:i=>{let n,s=()=>{Y(a)||Y(l)?r.microtask.read(s):n=H(i,{...t,axis:e,container:(null==a?void 0:a.current)||void 0,target:(null==l?void 0:l.current)||void 0})};return r.microtask.read(s),()=>{(0,r.cancelMicrotask)(s),null==n||n()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}var X=e.i(91096),J=e.i(23030),Q=e.i(40231),K=e.i(33209);let Z=[{value:"ai",label:"Templately AI Builder",iconSrc:"/new-landing/icon-ai.png",iconAlt:"Templately AI",body:"Tell AI your business type and goal - it picks the right template, writes your copy, and builds the full site in seconds.",cta:{label:"Build with Templately AI",href:"/?focus=hero-prompt"},media:{src:"https://assets.templately.com/frontend/Templately-AI-GIF.mp4",alt:"Templately AI generating a website from a short prompt"}},{value:"fsi",label:"One-Click Site Import",iconSrc:"/new-landing/cloud-features-icon-import.png",iconAlt:"",body:"Pick any template pack and import your entire website in one click - every page, every section, ready to customize instantly.",cta:{label:"Build with Templately AI",href:"/?focus=hero-prompt"},media:{src:"https://assets.templately.com/frontend/Full-Site-Import.mp4",alt:"One-click full site import inside the Templately library"}},{value:"type",label:"Global Styles",iconSrc:"/new-landing/cloud-features-icon-typography.png",iconAlt:"",body:"Update your brand colors and typography once - every page changes automatically. Stay consistent site-wide without the manual work.",cta:{label:"Build with Templately AI",href:"/?focus=hero-prompt"},media:{src:"https://assets.templately.com/frontend/Color-and-Typography.mp4",alt:"Global color and typography updates rolling across pages"}},{value:"cloud",label:"Cloud Workspace",iconSrc:"/new-landing/cloud-features-icon-cloud.png",iconAlt:"",body:"Save and share templates across your team. Every design you’ve ever built is one click away - on any device, any project.",cta:{label:"Create a workspace",href:"/signup?from=workspace"}
1,media:{src:"https://assets.templately.com/frontend/cloud-workspace-234234234.mp4",alt:"Cloud Workspace shared across a team"}}];function ee(e){let{activeTab:a,onTabChange:l}=e;return(0,t.jsx)("div",{role:"tablist","aria-label":"Cloud features","aria-orientation":"vertical",className:"mt-auto hidden lg:flex flex-col",children:Z.map((e,i)=>{let n=a===e.value,s=i===Z.length-1;return(0,t.jsxs)("button",{type:"button",role:"tab","aria-selected":n,tabIndex:n?0:-1,onClick:()=>l(e.value),className:(0,K.cn)("group relative flex w-full h-16 items-center gap-2 pl-10 text-left motion-safe:transition-colors outline-none! border-border-color",!s&&"border-b",n&&"border-t bg-[#e9f5fe]"),children:[(0,t.jsx)("span",{className:"relative flex size-6 shrink-0 items-center justify-center",children:(0,t.jsx)(Q.default,{src:e.iconSrc,alt:e.iconAlt,width:24,height:24,className:"size-6 object-contain",priority:n})}),(0,t.jsx)("span",{className:(0,K.cn)("text-[18px] leading-[1.2] font-medium motion-safe:transition-colors",n?"text-text-primary":"text-text-secondary group-hover:text-text-primary"),children:e.label})]},e.value)})})}let et=Z[0];function ea(e){let{className:a}=e;return(0,t.jsx)("svg",{className:a,viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M8.14802 2.1043L8.70088 3.63956C9.31501 5.3435 10.6569 6.6853 12.3609 7.29941L13.8962 7.85224C14.0346 7.9025 14.0346 8.09871 13.8962 8.14828L12.3609 8.70111C10.6569 9.31521 9.31501 10.657 8.70088 12.361L8.14802 13.8962C8.09776 14.0346 7.90155 14.0346 7.85198 13.8962L7.29912 12.361C6.68499 10.657 5.34312 9.31521 3.63912 8.70111L2.10379 8.14828C1.9654 8.09802 1.9654 7.90181 2.10379 7.85224L3.63912 7.29941C5.34312 6.6853 6.68499 5.3435 7.29912 3.63956L7.85198 2.1043C7.90155 1.96523 8.09776 1.96523 8.14802 2.1043Z",fill:"#DEE4F2"})})}e.s(["default",0,function(){var e,d;let[u,m]=(0,i.useState)(et.value),[p,f]=(0,i.useState)(560),x=(0,i.useRef)(null),g=function(){n.hasReducedMotionListener.current||(0,s.initPrefersReducedMotion)();let[e]=(0,i.useState)(n.prefersReducedMotion.current);return e}(),h=Math.max(0,Z.findIndex(e=>e.value===u)),b=(0,i.useCallback)(e=>{if(!e)return;let t=()=>{let t=e.offsetHeight;t>0&&f(t)};t();let a=new ResizeObserver(t);return a.observe(e),()=>a.disconnect()},[]),{scrollYProgress:v}=function(){var e;let{container:t,target:a,...l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,V.useConstant)(D);e=l.offset,!("u"<typeof window)&&(a?(0,o.supportsViewTimeline)()&&!!U(e):(0,o.supportsScrollTimeline)())&&(n.scrollXProgress.accelerate=q("x",l,t,a),n.scrollYProgress.accelerate=q("y",l,t,a));let s=(0,i.useRef)(null),d=(0,i.useRef)(!1),u=(0,i.useCallback)(()=>(s.current=H((e,t)=>{let{x:a,y:l}=t;n.scrollX.set(a.current),n.scrollXProgress.set(a.progress),n.scrollY.set(l.current),n.scrollYProgress.set(l.progress)},{...l,container:(null==t?void 0:t.current)||void 0,target:(null==a?void 0:a.current)||void 0}),()=>{var e;null==(e=s.current)||e.call(s)}),[t,a,JSON.stringify(l.offset)]);return(0,W.useIsomorphicLayoutEffect)(()=>{if(d.current=!1,!(Y(t)||Y(a)))return u();d.current=!0},[u]),(0,i.useEffect)(()=>{let e;if(!d.current)return;let l=()=>{let l=Y(t),i=Y(a);(0,c.invariant)(!l,"Container ref is defined but not hydrated","use-scroll-ref"),(0,c.invariant)(!i,"Target ref is defined but not hydrated","use-scroll-ref"),l||i||(e=u())};return r.microtask.read(l),()=>{(0,r.cancelMicrotask)(l),null==e||e()}},[u]),n}({target:x,offset:["start start","end end"]});return e="change",d=e=>{let t=Math.max(1,Z.length-1),a=Math.min(Z.length-1,Math.max(0,Math.round(e*t))),l=Z[a].value;m(e=>e===l?e:l)},(0,i.useInsertionEffect)(()=>v.on(e,d),[v,e,d]),(0,t.jsx)("section",{"aria-labelledby":"cloud-features-heading",className:"relative py-10 sm:py-15 lg:py-20",children:(0,t.jsx)("div",{ref:x,className:"lg:h-[calc(var(--cf-tabs)*70vh)]",style:{"--cf-tabs":Z.length},children:(0,t.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,t.jsx)(a.default,{children:(0,t.jsxs)("div",{className:"relative grid grid-cols-1 lg:grid-cols-[470fr_683fr] bg-[#FBFCFE] border border-border-color",children:[(0,t.jsx)(ea,{className:"absolute -left-2 -top-2 size-4 z-1"}),(0,t.jsx)(ea,{className:"absolute -right-2 -top-2 size-4 z-1"}),(0,t.jsx)(ea,{className:"absolute -bottom-2 -left-2 size-4 z-1"}),(0,t.jsx)(ea,{className:"absolute -bottom-2 -right-2 size-4 z-1"}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("header",{className:"flex flex-col gap-4 items-start p-10",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 w-full",children:[(0,t.jsxs)("h2",{id:"cloud-features-heading",className:"font-semibold text-text-primary text-2xl leading-[1.2] md:text-3xl lg:text-[2rem]",children:["Build Your Entire",(0,t.jsx)("br",{}),"Website - With AI"]}),(0,t.jsx)("p",{className:"text-sm font-normal text-text-secondary leading-[1.5]",children:"From template selection to published site, Templately handles the heavy lifting. Pick a feature to see how it works."})]}),(0,t.jsxs)(J.default,{href:"/signup",prefetch:!1,"data-event-name":"home_cta_click","data-event-label":"cloud_features_get_started","data-event-section":"cloud-features",className:"inline-flex items-center justify-center gap-1 rounded-lg bg-brand px-3 py-2 text-sm font-medium leading-[1.2] text-inverse hocus:brightness-[1.04] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand motion-safe:transition motion-reduce:transition-none",children:["Get Started Free ",(0,t.jsx)(X.ArrowRight,{"aria-hidden":!0,
1className:"size-4"})]})]}),(0,t.jsx)(ee,{activeTab:u,onTabChange:e=>{let t=Z.findIndex(t=>t.value===e);if(t<0)return;let a=x.current;if(!a)return void m(e);let l=a.offsetHeight-window.innerHeight;if(l<=0)return void m(e);let i=a.getBoundingClientRect().top+window.scrollY+l*(t/Math.max(1,Z.length-1));window.scrollTo({top:i,behavior:"smooth"})}})]}),(0,t.jsx)(l.motion.div,{className:"relative hidden lg:block overflow-hidden lg:border-l border-border-color",initial:!1,animate:{height:p},transition:g?{duration:0}:{duration:1.2,ease:[.16,1,.3,1]},children:(0,t.jsx)(l.motion.div,{className:"will-change-transform",animate:{y:-h*p},transition:g?{duration:0}:{duration:1.2,ease:[.16,1,.3,1]},children:Z.map((e,a)=>(0,t.jsxs)("div",{ref:0===a?b:void 0,role:"tabpanel","aria-label":e.label,id:`cloud-feature-${e.value}`,className:"flex flex-col gap-10 px-10 py-10",children:[(0,t.jsx)("div",{className:"relative aspect-599/534 w-full",children:(0,t.jsx)("video",{src:e.media.src,"aria-label":e.media.alt,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:0===a?"auto":"metadata",className:"absolute inset-0 h-full w-full object-contain object-top"})}),(0,t.jsx)("p",{className:"text-base font-medium leading-[1.6] text-text-secondary",children:e.body})]},e.value))})}),(0,t.jsx)("div",{className:"lg:hidden flex flex-col",children:Z.map(e=>(0,t.jsxs)("div",{role:"tabpanel","aria-label":e.label,id:`cloud-feature-mobile-${e.value}`,className:"flex flex-col gap-6 p-8 border-t border-border-color",children:[(0,t.jsx)("div",{className:"relative aspect-599/510 w-full",children:(0,t.jsx)("video",{src:e.media.src,"aria-label":e.media.alt,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 h-full w-full object-contain object-top"})}),(0,t.jsx)("p",{className:"text-base font-medium leading-[1.6] text-text-secondary",children:e.body})]},e.value))})]})})})})})}],9e4)},5132,e=>{"use strict";var t=e.i(63296);let a=(0,e.i(72036).default)(()=>e.A(2222),{loadableGenerated:{modules:[54128]},ssr:!1,loading:()=>(0,t.jsx)("div",{"aria-busy":"true",className:"grid grid-cols-1 gap-6 pb-8 sm:grid-cols-2 lg:grid-cols-4",children:Array.from({length:4}).map((e,a)=>(0,t.jsx)("div",{className:"aspect-[304/420] w-full rounded-[8px] border border-line-soft bg-surface-muted px-3"},a))})});e.s(["default",0,function(e){let{items:l}=e;return(0,t.jsx)(a,{items:l})}])},86834,e=>{"use strict";var t=e.i(63296),a=e.i(41405),l=e.i(95896),i=e.i(30422),n=e.i(75003),s=e.i(33209);let r={cyan:"before:bg-white before:border-[#0b99ff] text-[#0b99ff]",brand:"before:bg-brand/10 before:border-brand text-brand",orange:"before:bg-accent-orange-50 before:border-accent-orange-400 text-accent-orange-400",rose:"before:bg-accent-rose-50 before:border-danger text-danger"};function o(e){let{tone:a="cyan",rotate:l=!0,className:i,children:n,...o}=e;return(0,t.jsx)("span",{"data-tone":a,className:(0,s.cn)("inline-flex items-center justify-center px-3 py-1 align-middle font-semibold","relative before:absolute before:inset-0 before:-z-1 before:border",r[a],l?"before:-rotate-2":"",i),...o,children:n})}var d=e.i(16563),c=e.i(71849),u=e.i(40231),m=e.i(6710);let p={gutenberg:"https://assets.templately.com/frontend/gutenberg.png",elementor:"https://assets.templately.com/frontend/elementor.png"};function f(e){var a;let{platforms:l,defaultValue:i,onChange:n,ariaLabel:r="Filter by builder"}=e,o=i??(null==(a=l[0])?void 0:a.name)??"",[d,f]=(0,m.useState)(o),x=(0,m.useId)();return(0,t.jsx)("div",{role:"group","aria-label":r,className:"inline-flex items-center gap-1 rounded-4xl border border-[#e8eaef] bg-[#fbfcfe] p-0.75 xl:max-w-[20.5%]",children:l.map(e=>{var a;let l=d===e.name;return(0,t.jsxs)("button",{type:"button",onClick:()=>{var t;f(t=e.name),null==n||n(t)},"aria-pressed":l,className:(0,s.cn)("relative inline-flex h-[36px] w-[114px] items-center justify-evenly rounded-[28px] text-[12px] font-medium leading-[1.2]","motion-safe:transition-colors motion-safe:duration-200 motion-reduce:transition-none","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand",l?"text-[#7a7b7e]":"text-[#969797]"),children:[l&&(0,t.jsx)(c.motion.span,{layoutId:x,"aria-hidden":!0,
1className:"absolute inset-0 rounded-[28px] border border-[#e8eaef] bg-white",transition:{type:"spring",stiffness:500,damping:40}}),(0,t.jsx)(u.default,{src:p[e.name.toLowerCase()],alt:"",width:20,height:20,className:(0,s.cn)("relative z-10 shrink-0 motion-safe:transition-[filter,opacity] motion-safe:duration-200",l?"":"opacity-70 grayscale"),style:{width:20,height:20},unoptimized:!0}),(0,t.jsx)("span",{className:"relative z-10",children:(a=e.name).charAt(0).toUpperCase()+a.slice(1)})]},e.id)})})}var x=e.i(59602),g=e.i(63585);e.s(["default",0,function(e){let{platforms:s,initialPlatformName:r,initialItems:c}=e,[u,p]=(0,m.useState)(r),[h,b]=(0,m.useState)(c),[v,{loading:y}]=(0,g.useMutation)(x.GET_ITEMS_AND_PACKS),j=h.slice(0,8),w=h.slice(8,16);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{children:(0,t.jsxs)(i.default,{className:"flex flex-col items-center justify-between gap-4 md:flex-row md:items-end",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,t.jsxs)("h2",{id:"fresh-templates-heading",className:"flex flex-wrap items-center gap-2.5 font-semibold text-text-primary text-2xl leading-[1.2] md:text-3xl lg:text-[2rem]",children:[(0,t.jsx)("span",{children:"Just Dropped -"}),(0,t.jsx)(o,{tone:"cyan",children:"Fresh"}),(0,t.jsx)("span",{children:"Templates"})]}),(0,t.jsx)("p",{className:"text-base font-normal leading-[1.2] text-text-secondary animate-fade-in-up [animation-delay:120ms] motion-reduce:animate-none text-center md:text-left",children:"Newly added this week - be the first to build with the latest designs for Gutenberg & Elementor."})]}),s.length>0?(0,t.jsx)(f,{platforms:s,defaultValue:u,onChange:e=>{e!==u&&(p(e),v({variables:{page:1,per_page:16,query_type:"pack",sort_by:"latest",homepage_items:!1,platform:e.toLowerCase()}}).then(e=>{var t,a;b(((null==(a=e.data)||null==(t=a.getItemsAndPacks)?void 0:t.data)??[]).map(l.serializeTemplateCard))}).catch(()=>{b([])}))}}):null]})}),(0,t.jsx)("div",{className:"w-full",children:y?(0,t.jsx)("div",{className:"px-4 md:px-6 lg:px-7 w-full max-w-[1440px] mx-auto grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4",children:Array.from({length:16}).map((e,a)=>(0,t.jsx)("div",{className:"aspect-[328/441] rounded-sm border border-border-color bg-surface-primary motion-safe:animate-pulse motion-reduce:animate-none"},a))}):0===h.length?(0,t.jsx)("div",{className:"px-4 md:px-6 lg:px-7 w-full max-w-[1440px] mx-auto grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4",children:Array.from({length:16}).map((e,a)=>(0,t.jsx)("div",{className:"aspect-[328/441] rounded-sm border border-border-color bg-surface-primary"},a))}):(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)(d.default,{speed:40,pauseOnHover:!0,children:j.map(e=>(0,t.jsx)("div",{className:"shrink-0 w-86 mr-6 self-stretch",children:(0,t.jsx)(a.default,{item:e})},e.id))}),(0,t.jsx)(d.default,{speed:40,pauseOnHover:!0,direction:"right",children:w.map(e=>(0,t.jsx)("div",{className:"shrink-0 w-86 mr-6 self-stretch",children:(0,t.jsx)(a.default,{item:e})},e.id))})]})})]})}],86834)},50883,e=>{"use strict";var t=e.i(63296),a=e.i(71849),l=e.i(50764),i=e.i(7953),n=e.i(51489),s=e.i(57938);function r(e,t){let a=(0,s.useMotionValue)(t()),l=()=>a.set(t());return l(),(0,n.useIsomorphicLayoutEffect)(()=>{let t=()=>i.frame.preRender(l,!1,!0),a=e.map(e=>e.on("change",t));return()=>{a.forEach(e=>e()),(0,i.cancelFrame)(l)}}),a}function o(e){for(var t=arguments.length,a=Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];let n=e.length;return r(a.filter(l.isMotionValue),function(){let t="";for(let i=0;i<n;i++){t+=e[i];let n=a[i];n&&(t+=(0,l.isMotionValue)(n)?n.get():n)}return t})}var d=e.i(64355),c=e.i(4282);function u(e){return"number"==typeof e?e:parseFloat(e)}var m=e.i(6710),p=e.i(61210),f=e.i(62667),x=e.i(37804);function g(e,t){let a=(0,x.useConstant)(()=>[]);return r(e,()=>{a.length=0;let l=e.length;for(let t=0;t<l;t++)a[t]=e[t].get();return t(a)})}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:a}=(0,m.useContext)(p.MotionConfigContext),n=()=>(0,l.isMotionValue)(e)?e.get():e;if(a)return function e(t,a,l,i){if("function"==typeof t){let e;return d.collectMotionValues.current=[],t(),e=r(d.collectMotionValues.current,t),d.collectMotionValues.current=void 0,e}if(void 0!==l&&!Array.isArray(l)&&"function"!=typeof a){var n=t,s=a,o=l,c=i;let r=(0,x.useConstant)(()=>Object.keys(o)),d=(0,x.useConstant)(()=>({}));for(let t of r)d[t]=e(n,s,o[t],c);return d}let u="function"==typeof a?a:function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];let l=!Array.isArray(t[0]),i=l?0:-1,n=t[0+i],s=t[1+i],r=t[2+i],o=t[3+i],d=(0,f.interpolate)(s,r,o);return l?d(n):d}(a,l,i),m=Array.isArray(t)?g(t,u):g([t],e=>{let[t]=e;return u(t)}),p=Array.isArray(t)?void 0:t.accelerate;return p&&!p.isTransformed&&"function"!=typeof a&&Array.isArray(l)&&(null==i?void 0:i.clamp)!==!1&&(m.accelerate={...p,times:a,keyframes:l,isTransformed:!0,...(null==i?void 0:i.ease)?{ease:i.ease}:{}}),m}(n);let o=(0,s.useMotionValue)(n());return(0,m.useInsertionEffect)(()=>(function(e,t){let a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
1,s=e.get(),r=null,o=s,d="string"==typeof s?s.replace(/[\d.-]/g,""):void 0,m=()=>{r&&(r.stop(),r=null),e.animation=void 0},p=()=>{var t;(()=>{let t=u(e.get()),l=u(o);if(t===l)return m();let i=r?r.getGeneratorVelocity():e.getVelocity();m(),r=new c.JSAnimation({keyframes:[t,l],velocity:i,type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:a})})(),e.animation=r??void 0,null==(t=e.events.animationStart)||t.notify(),null==r||r.then(()=>{var t;e.animation=void 0,null==(t=e.events.animationComplete)||t.notify()})};if(e.attach((e,t)=>{o=e,a=e=>{var a,l;return t((a=e,(l=d)?a+l:a))},i.frame.postRender(p)},m),(0,l.isMotionValue)(t)){let a=!0===n.skipInitialAnimation,l=t.on("change",t=>{var l,i,n,s;a?(a=!1,e.jump((l=t,(i=d)?l+i:l),!1)):e.set((n=t,(s=d)?n+s:n))}),i=e.on("destroy",l);return()=>{l(),i()}}return m})(o,e,t),[o,JSON.stringify(t)]),o}(e,{type:"spring",...t})}e.s(["default",0,function(){let e=(0,s.useMotionValue)(-9999),l=(0,s.useMotionValue)(-9999),i=h(e,{stiffness:90,damping:20,mass:1}),n=h(l,{stiffness:90,damping:20,mass:1}),r=o`radial-gradient(var(--hero-mask-size) at ${i}px ${n}px, rgba(0,0,0,0.6) 0%,rgba(0,0,0,0.7) 50%, black 100%)`,d=(0,m.useCallback)(t=>{if(!t||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let a=t.closest("section");if(!a)return;let i=t=>{let i=t.target;if(null==i?void 0:i.closest("[data-fog-skip]"))return;let n=a.getBoundingClientRect();e.set(t.clientX-n.left),l.set(t.clientY-n.top)};return a.addEventListener("mousemove",i),()=>a.removeEventListener("mousemove",i)},[e,l]);return(0,t.jsx)(a.motion.div,{ref:d,"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-3 [--hero-mask-size:100px] xl:[--hero-mask-size:150px] bg-[radial-gradient(212.92%_71.95%_at_49.97%_100%,rgba(255,254,255,0)_53.34%,rgba(255,254,255,0.70)_65.64%,rgba(255,254,255,0.95)_75.44%,#FFFEFF_100%)]",style:{maskImage:r,WebkitMaskImage:r}})}],50883)},85863,e=>{"use strict";var t=e.i(63296),a=e.i(48084),l=e.i(33209),i=e.i(98716),n=e.i(36914),s=e.i(22808),r=e.i(98479),o=e.i(91096),d=e.i(67439),c=e.i(40231),u=e.i(23030),m=e.i(93673),p=e.i(6710);let f=[{id:6,name:"Technology"},{id:12,name:"eCommerce"},{id:5,name:"Creative"},{id:8,name:"Portfolio & Consultancy"},{id:2,name:"Multipurpose"}],x=["I have a dental clinic and need a medical website…","I own a restaurant and need a food delivery website template…","I run a clothing brand and want an eCommerce store template…","I need a portfolio site to showcase my photography…"],g={text:"",blink:!1},h=function(e){let t=0,a=0,l="typing",i={text:"",blink:!0},n=new Set,s=null,r=null;function o(){n.forEach(e=>e())}function d(){let n=e[t]??"";if("typing"===l){a+=1,i={...i,text:n.slice(0,a)},o(),a>=n.length?(l="holding",s=setTimeout(d,1600)):s=setTimeout(d,55);return}if("holding"===l){l="deleting",s=setTimeout(d,28);return}if("deleting"===l){a=Math.max(0,a-1),i={...i,text:n.slice(0,a)},o(),a<=0?(t=(t+1)%e.length,l="pausing",s=setTimeout(d,450)):s=setTimeout(d,28);return}l="typing",s=setTimeout(d,55)}return{subscribe:e=>(n.add(e),1===n.size&&(s||r||(s=setTimeout(d,450),r=setInterval(()=>{i={...i,blink:!i.blink},o()},530))),()=>{n.delete(e),0===n.size&&(s&&(clearTimeout(s),s=null),r&&(clearInterval(r),r=null))}),getSnapshot:()=>i,getServerSnapshot:()=>g}}(x),b={gutenberg:"https://assets.templately.com/frontend/gutenberg.png",elementor:"https://assets.templately.com/frontend/elementor.png"};function v(e){let{className:a}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"19",fill:"none",viewBox:"0 0 18 19",className:a,children:[(0,t.jsx)("g",{clipPath:"url(#a)","data-figma-skip-parse":"true",children:(0,t.jsx)("foreignObject",{width:"1051.24",height:"1051.24",x:"-525.621",y:"-525.621",transform:"matrix(.00872 -.01602 .0306 .01664 7.717 9.005)",children:(0,t.jsx)("div",{style:{background:"conic-gradient(from 90deg,#62c2fc 0deg,#f2d7bc 57.4692deg,#f4e0c4 153.531deg,#5935d0 218.669deg,#5cc1ff 357.335deg,#62c2fc 360deg)",height:"100%",width:"100%"}})})}),(0,t.jsx)("path",{d:"M1.288 9c0-.323.263-.581.584-.613A5.846 5.846 0 0 0 7.108 3.16c.032-.321.29-.584.614-.583.322 0 .58.263.612.584a5.846 5.846 0 0 0 5.229 5.235c.32.032.583.29.583.614 0 .322-.263.58-.584.612a5.846 5.846 0 0 0-5.236 5.228c-.032.321-.291.583-.614.583s-.581-.263-.613-.584a5.846 5.846 0 0 0-5.228-5.235c-.32-.032-.583-.291-.583-.614","data-figma-gradient-fill":'{"type":"GRADIENT_ANGULAR","stops":[{"color":{"r":0.95190250873565674,"g":0.84607875347137451,"b":0.74025493860244751,"a":1.0},"position":0.15963670611381531},{"color":{"r":0.95686274766921997,"g":0.87843137979507446,"b":0.76862746477127075,"a":1.0},"position":0.42647594213485718},{"color":{"r":0.34901961684226990,"g":0.20784313976764679,"b":0.81568628549575806,"a":1.0},"position":0.60741454362869263}
1,{"color":{"r":0.36078432202339172,"g":0.75686275959014893,"b":1.0,"a":1.0},"position":0.99259722232818604}],"stopsVar":[{"color":{"r":0.95190250873565674,"g":0.84607875347137451,"b":0.74025493860244751,"a":1.0},"position":0.15963670611381531},{"color":{"r":0.95686274766921997,"g":0.87843137979507446,"b":0.76862746477127075,"a":1.0},"position":0.42647594213485718},{"color":{"r":0.34901961684226990,"g":0.20784313976764679,"b":0.81568628549575806,"a":1.0},"position":0.60741454362869263},{"color":{"r":0.36078432202339172,"g":0.75686275959014893,"b":1.0,"a":1.0},"position":0.99259722232818604}],"transform":{"m00":17.435073852539062,"m01":61.193912506103516,"m02":-31.597570419311523,"m10":-32.048587799072266,"m11":33.284870147705078,"m12":8.3867311477661133},"opacity":1.0,"blendMode":"NORMAL","visible":true}'}),(0,t.jsx)("path",{fill:"url(#b)",d:"M12.866 1.94a.19.19 0 0 1 .175-.184 1.754 1.754 0 0 0 1.57-1.568.19.19 0 0 1 .185-.175.19.19 0 0 1 .184.175c.081.829.74 1.488 1.568 1.57a.19.19 0 0 1 .175.185.19.19 0 0 1-.175.183 1.754 1.754 0 0 0-1.571 1.569.19.19 0 0 1-.184.175.19.19 0 0 1-.184-.176 1.754 1.754 0 0 0-1.568-1.57.19.19 0 0 1-.175-.184"}),(0,t.jsx)("path",{fill:"url(#c)",d:"M11.568 15.438c0-.129.106-.232.234-.245a2.34 2.34 0 0 0 2.094-2.091.253.253 0 0 1 .246-.233c.129 0 .232.105.245.233a2.34 2.34 0 0 0 2.091 2.095.253.253 0 0 1 .233.245c0 .129-.105.232-.233.245a2.34 2.34 0 0 0-2.095 2.091.253.253 0 0 1-.245.233.253.253 0 0 1-.245-.233 2.34 2.34 0 0 0-2.091-2.094.253.253 0 0 1-.234-.246"}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"b",x1:"14.796",x2:"14.793",y1:"0.013",y2:"3.87",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#E7CBFF"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#F5E9FF"})]}),(0,t.jsxs)("linearGradient",{id:"c",x1:"14.142",x2:"14.138",y1:"12.869",y2:"18.011",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#E7CBFF"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#F5E9FF"})]}),(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{d:"M1.288 9c0-.323.263-.581.584-.613A5.846 5.846 0 0 0 7.108 3.16c.032-.321.29-.584.614-.583.322 0 .58.263.612.584a5.846 5.846 0 0 0 5.229 5.235c.32.032.583.29.583.614 0 .322-.263.58-.584.612a5.846 5.846 0 0 0-5.236 5.228c-.032.321-.291.583-.614.583s-.581-.263-.613-.584a5.846 5.846 0 0 0-5.228-5.235c-.32-.032-.583-.291-.583-.614"})})]})]})}function y(e){let{className:a}=e;return(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"19",fill:"none",viewBox:"0 0 18 19",children:[(0,t.jsx)("g",{clipPath:"url(#a)","data-figma-skip-parse":"true",children:(0,t.jsx)("foreignObject",{width:"1051.24",height:"1051.24",x:"-525.621",y:"-525.621",transform:"matrix(.00872 -.01602 .0306 .01664 7.717 9.005)",children:(0,t.jsx)("div",{style:{background:"conic-gradient(from 90deg,#62c2fc 0deg,#f2d7bc 57.4692deg,#f4e0c4 153.531deg,#5935d0 218.669deg,#5cc1ff 357.335deg,#62c2fc 360deg)",height:"100%",width:"100%"}})})}),(0,t.jsx)("path",{d:"M1.288 9c0-.323.263-.581.584-.613A5.846 5.846 0 0 0 7.108 3.16c.032-.321.29-.584.614-.583.322 0 .58.263.612.584a5.846 5.846 0 0 0 5.229 5.235c.32.032.583.29.583.614 0 .322-.263.58-.584.612a5.846 5.846 0 0 0-5.236 5.228c-.032.321-.291.583-.614.583s-.581-.263-.613-.584a5.846 5.846 0 0 0-5.228-5.235c-.32-.032-.583-.291-.583-.614","data-figma-gradient-fill":'{"type":"GRADIENT_ANGULAR","stops":[{"color":{"r":0.95190250873565674,"g":0.84607875347137451,"b":0.74025493860244751,"a":1.0},"position":0.15963670611381531},{"color":{"r":0.95686274766921997,"g":0.87843137979507446,"b":0.76862746477127075,"a":1.0},"position":0.42647594213485718},{"color":{"r":0.34901961684226990,"g":0.20784313976764679,"b":0.81568628549575806,"a":1.0},"position":0.60741454362869263},{"color":{"r":0.36078432202339172,"g":0.75686275959014893,"b":1.0,"a":1.0},"position":0.99259722232818604}],"stopsVar":[{"color":{"r":0.95190250873565674,"g":0.84607875347137451,"b":0.74025493860244751,"a":1.0},"position":0.15963670611381531},{"color":{"r":0.95686274766921997,"g":0.87843137979507446,"b":0.76862746477127075,"a":1.0},"position":0.42647594213485718},{"color":{"r":0.34901961684226990,"g":0.20784313976764679,"b":0.81568628549575806,"a":1.0},"position":0.60741454362869263}
1,{"color":{"r":0.36078432202339172,"g":0.75686275959014893,"b":1.0,"a":1.0},"position":0.99259722232818604}],"transform":{"m00":17.435073852539062,"m01":61.193912506103516,"m02":-31.597570419311523,"m10":-32.048587799072266,"m11":33.284870147705078,"m12":8.3867311477661133},"opacity":1.0,"blendMode":"NORMAL","visible":true}'}),(0,t.jsx)("path",{fill:"url(#b)",d:"M12.866 1.94a.19.19 0 0 1 .175-.184 1.754 1.754 0 0 0 1.57-1.568.19.19 0 0 1 .185-.175.19.19 0 0 1 .184.175c.081.829.74 1.488 1.568 1.57a.19.19 0 0 1 .175.185.19.19 0 0 1-.175.183 1.754 1.754 0 0 0-1.571 1.569.19.19 0 0 1-.184.175.19.19 0 0 1-.184-.176 1.754 1.754 0 0 0-1.568-1.57.19.19 0 0 1-.175-.184"}),(0,t.jsx)("path",{fill:"url(#c)",d:"M11.568 15.438c0-.129.106-.232.234-.245a2.34 2.34 0 0 0 2.094-2.091.253.253 0 0 1 .246-.233c.129 0 .232.105.245.233a2.34 2.34 0 0 0 2.091 2.095.253.253 0 0 1 .233.245c0 .129-.105.232-.233.245a2.34 2.34 0 0 0-2.095 2.091.253.253 0 0 1-.245.233.253.253 0 0 1-.245-.233 2.34 2.34 0 0 0-2.091-2.094.253.253 0 0 1-.234-.246"}),(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"b",x1:"14.796",x2:"14.793",y1:"0.013",y2:"3.87",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#E7CBFF"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#F5E9FF"})]}),(0,t.jsxs)("linearGradient",{id:"c",x1:"14.142",x2:"14.138",y1:"12.869",y2:"18.011",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#E7CBFF"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#F5E9FF"})]}),(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{d:"M1.288 9c0-.323.263-.581.584-.613A5.846 5.846 0 0 0 7.108 3.16c.032-.321.29-.584.614-.583.322 0 .58.263.612.584a5.846 5.846 0 0 0 5.229 5.235c.32.032.583.29.583.614 0 .322-.263.58-.584.612a5.846 5.846 0 0 0-5.236 5.228c-.032.321-.291.583-.614.583s-.581-.263-.613-.584a5.846 5.846 0 0 0-5.228-5.235c-.32-.032-.583-.291-.583-.614"})})]})]})}e.s(["default",0,function(){let e=(0,m.useRouter)(),g=(0,p.useId)(),[j,w]=(0,p.useState)(""),N=(0,p.useRef)(null);(0,i.useAutoResizeTextarea)(N,j,180);let[_,k]=(0,p.useState)("gutenberg"),[C,S]=(0,p.useState)(!1),[L,I]=(0,p.useState)(!1),P=(0,n.usePrefersReducedMotion)(),F=(0,p.useSyncExternalStore)(h.subscribe,h.getSnapshot,h.getServerSnapshot),A=P?x[0]:F.text,E=F.blink,M=r.STATIC_PLATFORMS,T=M.find(e=>e.name.toLowerCase()===_)??M[0];function z(t){let l=t.trim();if(!l)return;let i=(0,a.newChatbotUuid)();localStorage.removeItem("templately-pending-ai-import"),(0,a.writeStoredChat)({uuid:i,messages:[{role:"user",text:l}],selectedPack:null,builder:_}),e.push("/ai")}return(0,t.jsxs)("form",{role:"search","aria-label":"Describe the website you want to build",onSubmit:e=>{e.preventDefault(),z(j)},className:"w-full space-y-6",children:[(0,t.jsxs)("div",{className:"rounded-2xl border border-line-ui bg-surface p-3 shadow-[0_164px_46px_0_rgba(189,189,199,0),0_105px_42px_0_rgba(189,189,199,0.02),0_59px_35px_0_rgba(189,189,199,0.08),0_26px_26px_0_rgba(189,189,199,0.14),0_7px_14px_0_rgba(189,189,199,0.16)]",children:[(0,t.jsx)("label",{htmlFor:`${g}-input`,className:"sr-only",children:"Describe your site"}),(0,t.jsxs)("div",{className:"flex items-center gap-1 relative",children:[(0,t.jsx)(v,{className:"size-6 shrink-0 absolute top-0 left-0 pointer-events-none"}),(0,t.jsx)("textarea",{ref:N,id:`${g}-input`,value:j,onChange:e=>w(e.target.value),onFocus:()=>I(!0),onBlur:()=>I(!1),onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||e.nativeEvent.isComposing||(e.preventDefault(),z(j))},maxLength:s.CHATBOT_QUERY_MAX_LENGTH,className:"min-w-0 pl-7 pt-0.5 !leading-[1.6] flex-1 bg-transparent text-sm font-medium text-ink outline-hidden min-h-12 sm:min-h-16.5 resize-none !border-none !outline-none !ring-none !shadow-none"}),!j&&!L&&(0,t.jsxs)("span",{"aria-hidden":!0,className:"absolute top-0.5 left-7 right-0 pointer-events-none overflow-hidden whitespace-nowrap text-sm font-medium leading-[1.4] text-text-tertiary",children:[A,!P&&(0,t.jsx)("span",{"aria-hidden":!0,className:(0,l.cn)("ml-px inline-block h-[0.75rem] w-[1.5px] mb-0.5 bg-text-tertiary align-middle",E?"opacity-100":"opacity-0")})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-3 pt-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{type:"button",id:`${g}-builder`,"aria-label":"Select page builder","aria-haspopup":"listbox","aria-expanded":C,onClick:()=>S(e=>!e),className:"inline-flex cursor-pointer items-center rounded-[4px] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand min-w-34",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 py-1.5 pr-2",children:[(0,t.jsx)("div",{className:"flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-[4px] bg-surface-muted",children:(null==T?void 0:T.icon)?(0,t.jsx)(c.default,{src:b[T.name.toLowerCase()],alt:T.name,width:14,height:14,className:"size-3.5 object-contain"}):(0,t.jsx)(y,{className:"size-3.5"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-text-secondary capitalize",children:(null==T?void 0:T.name)??"Gutenberg"}),(0,t.jsx)("span",{className:"size-1.5 rounded-full bg-dot-red"})]})]}),(0,t.jsx)("div",{className:"flex items-center justify-center size-6 shrink-0",children:(0,t.jsx)(d.
1ChevronDown,{"aria-hidden":!0,className:(0,l.cn)("size-4 shrink-0 text-icon-muted transition-transform",C&&"rotate-180")})})]}),C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button","aria-hidden":!0,tabIndex:-1,onClick:()=>S(!1),className:"fixed inset-0 z-40 cursor-default bg-transparent"}),(0,t.jsx)("div",{role:"listbox",className:"absolute left-0 top-[calc(100%+6px)] z-50 w-[144px] flex flex-col gap-0.5 p-1 rounded-[8px] bg-white shadow-[0px_0px_4px_1px_rgba(115,121,133,0.12)]",children:M.map(e=>{let a=e.name.toLowerCase()===_;return(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":a,onClick:()=>{k(e.name.toLowerCase()),S(!1)},className:(0,l.cn)("flex w-full items-center gap-2 rounded-[4px] px-2 py-2 text-xs font-medium leading-none text-ink-tertiary","motion-safe:transition-colors motion-reduce:transition-none","hover:bg-surface-alt focus-visible:bg-surface-alt focus-visible:outline-none",a&&"bg-surface-muted"),children:[(0,t.jsx)("div",{className:"size-4 shrink-0 overflow-hidden rounded-[4px]",children:e.icon?(0,t.jsx)(c.default,{src:b[e.name.toLowerCase()],alt:e.name,width:16,height:16,className:"size-4 object-contain"}):null}),(0,t.jsx)("span",{className:"flex-1 text-left",children:e.name})]},e.id)})})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsxs)("span",{"aria-hidden":!0,className:"text-[11px] pointer-events-none tabular-nums leading-none text-text-tertiary",children:[j.length,"/",s.CHATBOT_QUERY_MAX_LENGTH]}),(0,t.jsxs)("button",{type:"submit","data-event-name":"home_cta_click","data-event-label":"hero_start","data-event-section":"hero",disabled:""===j.trim(),className:(0,l.cn)("inline-flex h-9 w-[100px] items-center justify-center gap-2 rounded-[8px] bg-brand px-4 text-sm font-medium text-inverse","motion-safe:transition motion-safe:duration-200 motion-reduce:transition-none","hocus:brightness-[1.04] hocus:shadow-cta focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand","disabled:pointer-events-none disabled:opacity-50"),children:[(0,t.jsx)("span",{children:"Start"}),(0,t.jsx)(o.ArrowRight,{"aria-hidden":!0,className:"size-4"})]})]})]})]}),(0,t.jsx)("ul",{className:"flex flex-wrap justify-center gap-1 sm:gap-2 md:gap-3",children:f.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(u.default,{href:`/platform/${_}?page=1&type=pack&category=${e.id}`,"data-event-name":"home_cta_click","data-event-label":`hero_suggestion_${e.id}`,"data-event-section":"hero",className:"inline-flex items-center rounded-[28px] border border-line-ui bg-white px-3.5 sm:px-5 py-2 sm:py-3 text-[13px] sm:text-[12px] font-semibold sm:font-medium leading-[1.2] text-text-secondary whitespace-nowrap drop-shadow-[0px_6px_8px_rgba(2,2,22,0.08)] sm:drop-shadow-[0px_4px_4px_rgba(2,2,22,0.04)] motion-safe:transition motion-safe:duration-150 motion-reduce:transition-none hocus:bg-surface-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand",children:e.name})},e.id))})]})}])},63213,e=>{"use strict";var t=e.i(63296),a=e.i(24531),l=e.i(91096),i=e.i(40231),n=e.i(23030);let s="/fall-26/upsell-banner-bg.png",r=()=>(0,t.jsxs)("div",{className:"@container relative w-full mt-20 overflow-hidden isolate rounded-2xl bg-[#fff0e8] sm:aspect-[1150/348.5]",children:[(0,t.jsx)(i.default,{src:s,alt:"",fill:!0,loading:"eager",sizes:"(max-width: 1150px) 100vw, 1150px",className:"hidden sm:block object-cover -z-10 select-none pointer-events-none"}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-start gap-6 px-6 pt-8 sm:absolute sm:left-[6.06cqw] sm:top-1/2 sm:-translate-y-1/2 sm:w-[48.9cqw] sm:gap-[3.03cqw] sm:p-0",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 sm:gap-[1.21cqw] w-full",children:[(0,t.jsx)("p",{className:"m-0 capitalize font-medium leading-[1.2] text-[#cc3600] text-sm sm:text-[1.82cqw]",children:"More Exclusive Deals"}),(0,t.jsxs)("div",{className:"flex flex-col gap-1.5 sm:gap-[0.91cqw]",children:[(0,t.jsx)("h2",{className:`m-0 font-semibold !leading-[1.05] tracking-[-0.02em] text-[#5d2c11] text-[26px] sm:text-[3.79cqw] ${a.default.font_poppins}`,children:"Get Your Site Q4 Ready"}),(0,t.jsx)("p",{className:"m-0 font-normal leading-[1.5] tracking-[-0.005em] text-[#7a5a49] text-sm sm:text-[1.67cqw]",children:"Save BIG on 10+ premium WordPress & SaaS solutions"}),(0,t.jsx)("p",{className:"sr-only",children:"Up to 64% off."})]})]}),(0,t.jsxs)(n.default,{href:"https://wpdeveloper.com/summer2026-upsell?utm_source=templately_landing_page&utm_medium=banner&utm_campaign=summer2026",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-1.5 sm:gap-[0.6cqw] px-5 py-3 sm:px-[1.82cqw] sm:py-[1.06cqw] rounded border-[1.5px] border-solid border-[#fff0e8] bg-gradient-to-r from-[#ff6900] to-[#ff4100] text-white font-semibold whitespace-nowrap !leading-[1.4] text-[15px] sm:text-[1.52cqw] shadow-[0_6px_16px_rgba(255,65,0,0.3)] hover:shadow-[0_10px_20px_rgba(255,65,0,0.35)] hover:-translate-y-0.5 transition-[box-shadow,transform] duration-300",children:["Grab The Deals",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,strokeWidth:2.5,className:"size-4 sm:size-[1.4cqw]"})]})]}),(0,t.jsx)("div",{className:"relative sm:hidden w-full aspect-[520/349] [mask-image:linear-gradient(to_bottom,transparent,black_30%)]",children:(0,t.jsx)(i.default,{src:s,alt:"",fill:!0,sizes:"100vw",className:"object-cover object-right select-none pointer-events-none"})})]});var o=e.i(96369),d=e.i(56215),c=e.i(63087),u=e.i(30422),m=e.i(75003),p=e.i(85223),f=e.i(6710),x=e.i(98479),g=e.i(33077);let h=[{id:"",amount:3e3,price:10},{id:"",amount:1e4,price:30},{id:"",amount:25e3,price:50}];function b(e){let{className:a}=e;return(0,t.jsx)("svg",{className:a,viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M8.14802 2.1043L8.70088 3.63956C9.31501 5.3435 10.6569 6.6853 12.3609 7.29941L13.8962 7.85224C14.0346 7.9025 14.0346 8.09871 13.8962 8.14828L12.3609 8.70111C10.6569 9.31521 9.31501 10.657 8.70088 12.361L8.14802 13.8962C8.09776 14.0346 7.90155 14.0346 7.85198 13.8962L7.29912 12.361C6.68499 10.657 5.34312 9.31521 3.63912 8.70111L2.10379 8.14828C1.9654 8.09802 1.9654 7.90181 2.10379 7.85224L3.63912 7.29941C5.34312 6.6853 6.68499 5.3435 7.29912 3.63956L7.85198 2.1043C7.90155 1.96523 8.09776 1.96523 8.14802 2.1043Z",fill:"#DEE4F2"})})}function v(){var e;let{data:a}=(0,g.useQuery)(x.GET_AI_CREDIT),i=(null==a||null==(e=a.aiCredits)?void 0:e.length)?a.aiCredits.slice(0,3):h;return(0,t.jsxs)("div",{className:"mt-10 flex flex-col items-center gap-8 border-y border-border-color pt-14 pb-10 sm:pb-15 lg:pb-20",id:"credit",children:[(0,t.jsxs)(u.default,{className:"flex w-full flex-col items-center gap-4 text-center",children:[(0,t.jsx)("h3",{id:"ai-credits-heading",className:"m-0 text-[26px] font-semibold leading-[1.2] text-text-primary md:text-[32px]",children:"Need More AI Credits?"}),(0,t.jsx)("p",{className:"m-0 max-w-[55ch] text-base font-normal leading-[1.6] text-text-secondary",children:"Top up anytime - use credits to generate copy, personalise templates, and build faster. Credits never expire."})]}),(0,t.jsx)(u.default,{delay:80,className:"w-full",children:(0,t.jsxs)("div",{className:"relative mx-auto w-full",children:[(0,t.jsxs)("div",{className:"relative flex w-full flex-col items-stretch overflow-hidden bg-border-color gap-px p-px sm:h-48 sm:flex-row",children:[i.map((e,a)=>{let i=1===a,s=e.id?`/checkout?action=payment&type=credit&id=${e.id}`:void 0;return(0,t.jsxs)("article",{className:"relative flex flex-1 flex-col justify-center gap-6 bg-surface-tertiary px-5 py-5 lg:gap-8 lg:px-8 lg:py-6",children:[(0,t.jsxs)("div",{className:"flex w-full flex-col items-start gap-3",children:[(0,t.jsxs)("p",{className:"m-0 text-lg font-medium leading-[1.2] text-text-primary",children:[e.amount.toLocaleStr
1ing()," AI Credits"]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-baseline gap-2",children:[(0,t.jsxs)("p",{className:"m-0 text-xl lg:text-3xl font-semibold leading-[1.2] text-text-primary sm:text-[2rem]",children:["$",e.price]}),(0,t.jsx)("p",{className:"m-0 text-sm font-medium leading-[1.2] text-text-secondary",children:"/ One-time"})]})]}),s?(0,t.jsxs)(n.default,{href:s,prefetch:!1,"data-event-name":"home_cta_click","data-event-label":`ai_credits_${e.amount}`,"data-event-section":"ai_credits",className:i?"flex h-10 whitespace-nowrap w-full items-center justify-center gap-1 rounded-lg bg-[#5632D1] px-4 py-2 text-base font-medium leading-[1.4] text-white transition-colors hover:bg-[#4a2bb8]":"flex h-10 w-full items-center justify-center gap-1 rounded-lg border border-line-muted bg-surface-tertiary px-4 py-2 text-base font-medium leading-[1.6] text-black transition-colors hover:bg-surface-primary",children:["Buy Credits ",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,className:"size-4"})]}):(0,t.jsxs)("span",{"aria-hidden":!0,className:i?"flex h-10 w-full items-center justify-center gap-1 rounded-lg bg-[#5632D1] px-4 py-2 text-base font-medium leading-[1.4] text-white opacity-80":"flex h-10 w-full items-center justify-center gap-1 rounded-lg border border-line-muted bg-surface-tertiary px-4 py-2 text-base font-medium leading-[1.6] text-text-primary",children:["Buy Credits ",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,className:"size-4"})]})]},`${e.amount}-${a}`)}),(0,t.jsx)(b,{className:"absolute -top-2 left-1/3 hidden size-4 -translate-x-1/2 sm:block"}),(0,t.jsx)(b,{className:"absolute -bottom-2 left-1/3 hidden size-4 -translate-x-1/2 sm:block"}),(0,t.jsx)(b,{className:"absolute -top-2 left-2/3 hidden size-4 -translate-x-1/2 sm:block"}),(0,t.jsx)(b,{className:"absolute -bottom-2 left-2/3 hidden size-4 -translate-x-1/2 sm:block"}),(0,t.jsx)(b,{className:"absolute -left-2 top-1/3 size-4 -translate-y-1/2 sm:hidden"}),(0,t.jsx)(b,{className:"absolute -right-2 top-1/3 size-4 -translate-y-1/2 sm:hidden"}),(0,t.jsx)(b,{className:"absolute -left-2 top-2/3 size-4 -translate-y-1/2 sm:hidden"}),(0,t.jsx)(b,{className:"absolute -right-2 top-2/3 size-4 -translate-y-1/2 sm:hidden"})]}),(0,t.jsx)(b,{className:"absolute -left-2 -top-2 size-4"}),(0,t.jsx)(b,{className:"absolute -right-2 -top-2 size-4"}),(0,t.jsx)(b,{className:"absolute -bottom-2 -left-2 size-4"}),(0,t.jsx)(b,{className:"absolute -bottom-2 -right-2 size-4"})]})})]})}var y=e.i(33209),j=e.i(22808),w=e.i(95408),N=e.i(4715);let _="299.99",k=e=>"number"==typeof e?e:parseFloat(String(e));function C(e){let a,{plan:s,allPlans:r,bundleMode:o,family:d,onFamilyChange:c,currentPlan:u,token:m,userCurrentActivePlan:x,actionLoading:g,onTierCta:h,onLoggedInFreePackage:b}=e,[v,C]=(0,f.useState)(!1),S=(0,p.availableLifetimeFamilies)(r),L=o&&S.length>0,I=S.includes(d)?d:S[0]??d,P=L?(0,p.resolveLifetimePlanFor)(r,I)??s:s,F=(0,p.bundleFamilyOf)(P)??void 0,A=(0,p.includedPluginNames)(P),E=A.length>0?`${A.length<2?A[0]??"":`${A.slice(0,-1).join(", ")} and ${A[A.length-1]}`}, `:"",M=S.map(e=>{let t=(0,p.resolveLifetimePlanFor)(r,e),a=t?k(t.discounted_price)||k(t.price):NaN;return{family:e,price:Number.isFinite(a)&&a>0?`$${(0,w.twoDecimalFraction)(a)??a}`:""}}),T=P?k(P.price):NaN,z=P?k(P.discounted_price):NaN,B=Number.isFinite(z)&&z>0?`$${(0,w.twoDecimalFraction)(z)??z}`:`$${_}`,R=Number.isFinite(T)&&T>0?`$${(0,w.twoDecimalFraction)(T)??T}`:`$${_}`,U=(()=>{if(!Number.isFinite(T)||!Number.isFinite(z)||T<=0||z<=0)return"Save 60%";if(z>=T)return null;let e=Math.round((T-z)/T*100);return e>0?`Save ${e}%`:null})(),O=(0,w.getUserEmailConfirmation)(),$=!!P&&(!!u&&u.subscription_plan_id===P.id||!0===P.is_current_user_plan),G=(0,y.cn)("mx-auto lg:mx-0 inline-flex h-10 cursor-pointer items-center justify-center gap-2 self-start rounded-[8px] bg-brand px-4 font-sans text-base font-medium leading-[1.4] text-white no-underline motion-safe:transition-colors motion-reduce:transition-none hover:bg-[#4a28b8] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand",g&&"cursor-wait opacity-75");if($)a=(0,t.jsxs)("button",{type:"button",disabled:!0,"aria-label":"Lifetime is your current plan",className:"mx-auto lg:mx-0 inline-flex h-10 cursor-not-allowed items-center justify-center gap-2 self
1-start rounded-[8px] border border-[#2bcf81] bg-white px-4 font-sans text-base font-medium leading-[1.4] text-[#2bcf81]",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"✓"})," Currently Active"]});else if(P)if("true"!==O)a=m?(0,t.jsxs)("button",{type:"button",className:G,onClick:()=>b(!1),"data-event-name":"home_cta_click","data-event-label":"pricing_lifetime","data-event-bundle":F,"data-event-section":"pricing",children:["Get Lifetime Access ",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,className:"size-4"})]}):(0,t.jsxs)(n.default,{href:(0,w.prepareCheckoutUrl)(P.id,P.type,P.coupon??null),prefetch:!1,"data-event-name":"home_cta_click","data-event-label":"pricing_lifetime","data-event-bundle":F,"data-event-section":"pricing",className:G,children:["Get Lifetime Access ",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,className:"size-4"})]});else{let e,l=Number.isFinite(z)?z:0,n=(()=>{if(!x.length)return null;let e=k(x[0].discounted_price);return Number.isFinite(e)?e:null})();e=u?null!=n&&n>l?"Downgrade":"Upgrade":"Get Lifetime Access",a=(0,t.jsx)("button",{type:"button",disabled:g,className:G,onClick:()=>h({slug:P.slug,type:P.type,name:P.name,planId:P.id,coupon:P.coupon??null,sites:P.sites}),"data-event-name":"home_cta_click","data-event-label":"pricing_lifetime","data-event-bundle":F,"data-event-section":"pricing",children:g?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(i.default,{src:"/loader.gif",unoptimized:!0,alt:"",height:14,width:14}),"Loading…"]}):e})}else a=(0,t.jsxs)(n.default,{href:"/checkout?plan=lifetime",prefetch:!1,"data-event-name":"home_cta_click","data-event-label":"pricing_lifetime","data-event-section":"pricing",className:G,children:["Get Lifetime Access ",(0,t.jsx)(l.ArrowRight,{"aria-hidden":!0,className:"size-4"})]});let H=(null==P?void 0:P.fsi_limit)?P.fsi_limit===j.SITE_IS_UNLIMITED?"Unlimited":P.fsi_limit:500,V=(null==P?void 0:P.ai_credit)?P.ai_credit.toLocaleString():"5000",W=[{strong:V,suffix:"AI Credits"},{strong:"All Pro",suffix:"Items"},...A.map(e=>({strong:e,suffix:"Included"})),{prefix:"My",strong:"Cloud Unlimited",suffix:"Items"},{strong:"Unlimited",suffix:"Local Sites"},{strong:String(H),suffix:"Full Site Import /mo"}];return(0,t.jsxs)("div",{className:"flex flex-col gap-6 border border-border-color bg-white/50 py-4 sm:py-6 lg:py-0 lg:flex-row lg:items-stretch lg:justify-between lg:gap-6 px-0 lg:px-6",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center lg:items-start text-center lg:text-left justify-between gap-4 lg:flex-1 lg:gap-6 px-4 sm:px-6 lg:px-0 py-0 lg:py-6 lg:max-w-[462px]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsxs)("h3",{className:"m-0 font-sans text-xl font-medium leading-[1.2] text-text-secondary sm:text-2xl",children:["Pay Once. ",(0,t.jsx)("span",{className:"font-semibold text-black",children:"Build Forever."})]}),(0,t.jsxs)("p",{"data-lifetime-blurb":!0,className:"m-0 font-sans text-sm font-normal leading-[1.6] text-text-secondary sm:text-base",children:["One payment unlocks every current and future Templately Pro template - plus ",E,V," AI credits, full site imports, and unlimited sites. No renewals, ever."]})]}),L?(0,t.jsx)("div",{"data-lifetime-picker":!0,className:(0,y.cn)("w-full max-w-[280px]",v&&"relative z-10"),children:(0,t.jsx)(N.default,{family:I,options:M,open:v,onToggle:()=>C(e=>!e),onSelect:e=>{c(e),C(!1)},analytics:{surface:"lifetime",tier:"lifetime"},priceSuffix:""})}):null,a]}),(0,t.jsx)("div",{"aria-hidden":!0,className:"self-stretch h-px lg:h-auto w-full lg:w-px bg-border-color"}),(0,t.jsx)("ul",{"data-lifetime-perks":!0,className:"m-0 flex list-none flex-col gap-1 p-0 lg:flex-none px-4 sm:px-6 lg:px-0 py-0 lg:py-6",children:W.map((e,a)=>(0,t.jsx)("li",{className:"flex w-full items-center justify-center lg:justify-start text-center lg:text-left py-1.5 sm:py-2 lg:w-auto",children:(0,t.jsxs)("span",{className:"font-sans text-sm font-normal leading-[1.6] text-text-secondary sm:text-base",children:[e.prefix?(0,t.jsxs)(t.Fragment,{children:[e.prefix," "]}):null,(0,t.jsx)("strong",{className:"font-medium text-text-primary",children:e.strong}),` ${e.suffix}`]})},a))}
1),(0,t.jsx)("div",{"aria-hidden":!0,className:"self-stretch h-px lg:h-auto w-full lg:w-px bg-border-color"}),(0,t.jsx)("div",{className:"flex w-full flex-col lg:w-[275px] lg:shrink-0 px-4 sm:px-6 lg:px-0 py-0 lg:py-6",children:(0,t.jsxs)("div",{className:"flex h-full flex-col justify-between gap-6 overflow-hidden rounded-[4px] p-5 sm:p-6 lg:h-[243px]",style:{backgroundImage:"linear-gradient(88.61deg, #f4f0fe 1%, #ffffff 102%)"},children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[(0,t.jsx)("span",{className:"font-sans text-lg font-semibold leading-[1.2] text-black",children:(null==s?void 0:s.name)??"Lifetime"}),U?(0,t.jsx)("span",{className:"inline-flex h-4 items-center justify-center rounded-[4px] bg-[#e3dbff] p-1 font-sans text-sm font-semibold leading-[1.3] text-brand",children:U}):null]}),(0,t.jsx)("p",{className:"m-0 font-sans text-sm font-normal leading-[1.5] text-text-primary",children:"Unlimited Sites Access"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-1 sm:gap-2",children:[(0,t.jsx)("span",{className:"font-sans text-[28px] font-semibold leading-[1.2] text-brand sm:text-[32px]",children:B}),(0,t.jsx)("span",{className:"font-sans text-xl font-medium leading-[1.2] text-text-secondary line-through sm:text-2xl",children:R})]})]})})]})}var S=e.i(13772),L=e.i(79543);function I(e){let{tier:a,plan:l,currentPlan:s,token:r,userCurrentActivePlan:o,actionLoading:d,primary:c,onTierCta:u,onLoggedInFreePackage:m}=e,f=(0,w.getUserEmailConfirmation)(),x=!l||l.slug===j.TYPE_FREE||"starter"===a.id,g=!!l&&!0===l.is_current_user_plan||!s&&!!r&&x||!!s&&!!l&&s.subscription_plan_id===l.id,h=l?"number"==typeof l.discounted_price?l.discounted_price:parseFloat(String(l.discounted_price))||0:0,b=(()=>{if(!o.length)return null;let e=o[0].discounted_price,t="number"==typeof e?e:parseFloat(String(e));return Number.isFinite(t)?t:null})(),v=x&&!!s&&!!s.cancel_at_period_end,N=(0,y.cn)("inline-flex h-10 w-full cursor-pointer items-center justify-center rounded-[8px] font-sans text-base font-medium leading-[1.6] no-underline motion-safe:transition motion-reduce:transition-none","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand",c?"border border-brand bg-brand text-inverse hover:bg-[#4a28b8] hover:border-[#4a28b8]":"border border-line-muted bg-surface-tertiary text-black hover:border-brand hover:text-brand hover:bg-surface-primary");if(g)return(0,t.jsxs)("button",{type:"button",disabled:!0,"aria-label":`${a.name} is your current plan`,className:"inline-flex h-10 w-full cursor-not-allowed items-center justify-center gap-2 rounded-lg border border-[#2bcf81] bg-white font-sans text-base font-medium leading-[1.6] text-[#2bcf81]",children:[(0,t.jsx)("span",{"aria-hidden":!0,children:"✓"}),"Active"]});if(s&&(0,w.isLifeTimePlanByBillingInterval)(s.plan_type))return(0,t.jsx)("button",{type:"button",disabled:!0,className:(0,y.cn)(N,"cursor-not-allowed opacity-60"),children:"Subscribe"});if(!l)return(0,t.jsx)(n.default,{href:"starter"===a.id?"/signup":"#pricing",prefetch:!1,"data-event-name":"home_cta_click","data-event-label":`pricing_${a.id}`,"data-event-bundle":(0,p.bundleFamilyOf)(l)??void 0,"data-event-section":"pricing","aria-disabled":!0,className:N,children:"Get Started"});if("true"!==f){if(r&&x)return(0,t.jsx)("button",{type:"button",className:N,onClick:()=>m(!1),"data-event-name":"home_cta_click","data-event-label":`pricing_${a.id}`,"data-event-bundle":(0,p.bundleFamilyOf)(l)??void 0,"data-event-section":"pricing",children:"Get Started"});let e=x?"/signup":(0,w.prepareCheckoutUrl)(l.id,l.type,l.coupon??null);return(0,t.jsx)(n.default,{href:e,prefetch:!1,"data-event-name":"home_cta_click","data-event-label":`pricing_${a.id}`,"data-event-bundle":(0,p.bundleFamilyOf)(l)??void 0,"data-event-section":"pricing",className:N,children:"Get Started"})}let _=x||null!=b&&b>h?"Downgrade":"Upgrade";return(0,t.jsx)("button",{type:"button",disabled:d||v,onClick:()=>u({slug:l.slug,type:l.type,name:l.name,planId:l.id,coupon:l.coupon??null,sites:l.sites}),"data-event-name":"home_cta_click","data-event-label":`pricing_${a.id}`,"data-event-bundle":(0,p.bundleFamilyOf)(l)??void 0,"data-event-section":"pricing",className:(0,y.cn)(N,d&&"cursor-wait opacity-75",v&&"cursor-not-allowed opacity-60"),children:d?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(i.default,{src:"/loader.gif",unoptimized:!0,alt:"",height:16,width:16}),"Loading…"]}):_})}let P=[{id:"starter",popular:!1},{id:"pro",popular:!1},{id:"premium",popular:!0},{id:"advanced",popular:!1}];function F(e){let{loading:a,tierPairs:l,currentPlan:i,token:n,starterProCounts:s,userCurrentActivePlan:r,actionLoading:o,showMonthlyToggle:d,allPlans:c,bundleMode:u,onBundleModeChange:m,family:x,onFamilyChange:g,onTierCta:h,onLoggedInFreePackage:b}=e,[v,w]=(0,f.useState)(null),_=d?v??"monthly":"yearly",k=(0,f.useMemo)(()=>"yearly"===_?l.map(e=>({tier:e,billing:"yearly",plan:e.yearly??e.monthly}
1)):l.filter(e=>null!==e.monthly).map(e=>({tier:e,billing:"monthly",plan:e.monthly})),[l,_]),[C,F]=(0,f.useState)(null),A="yearly"===_,T=(0,f.useMemo)(()=>{if(!A)return[];let e=k.map(e=>e.plan).filter(e=>!!e&&e.slug!==j.TYPE_FREE);return p.BUNDLE_FAMILIES.filter(t=>e.every(e=>null!==(0,p.resolvePlanFor)(c,"number"==typeof e.sites?e.sites:parseInt(String(e.sites),10),t)))},[c,k,A]),z=u&&A&&T.includes(x),B=(0,f.useMemo)(()=>z?k.map(e=>{let t=e.plan;if(!t||t.slug===j.TYPE_FREE)return e;let a="number"==typeof t.sites?t.sites:parseInt(String(t.sites),10),l=(0,p.resolvePlanFor)(c,a,x);return l?{...e,plan:l}:e}):k,[k,z,c,x]),R=(0,f.useMemo)(()=>z?[L.BUNDLE_PLUGIN_ROW,...L.PRICING_FEATURES]:L.PRICING_FEATURES,[z]),U=a?4:B.length;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-3 pb-10",children:[d?(0,t.jsx)(M,{billing:_,onChange:w}):null,A?(0,t.jsx)(S.default,{bundleMode:u,onBundleModeChange:m,family:x,availableFamilies:T}):null]}),(0,t.jsxs)("div",{role:"table","aria-label":"Templately plan comparison",className:(0,y.cn)("relative grid md:mt-12 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-y-13",{4:"xl:grid-cols-[236fr_230fr_230fr_230fr_230fr]",3:"xl:grid-cols-[236fr_230fr_230fr_230fr]",2:"xl:grid-cols-[236fr_230fr_230fr]",1:"xl:grid-cols-[236fr_230fr]"}[U]??"xl:grid-cols-1"),children:[(0,t.jsxs)("div",{className:"hidden xl:flex flex-col bg-[rgba(251,252,254,0.7)] border border-[#eaecf0]",children:[(0,t.jsx)("div",{className:(0,y.cn)("m-auto items-center justify-center flex px-5.25",z?"h-94":"h-76"),children:(0,t.jsx)(L.SaleBadge,{})}),R.map(e=>(0,t.jsxs)("div",{className:(0,y.cn)("flex items-center gap-2 border-t border-[#eaecf0] px-6 font-sans text-base font-medium leading-[1.6] text-black",e.plugin?"h-[77px]":"h-[56px]"),children:[(0,t.jsx)("span",{children:e.label}),e.info?(0,t.jsx)(L.InfoTooltip,{text:e.info,size:20}):null]},e.label))]}),a?P.map((e,a)=>(0,t.jsx)(E,{popular:e.popular,isLast:a===P.length-1},e.id)):B.map(e=>{let a,{tier:l,billing:d,plan:u}=e;return(0,t.jsxs)("div",{role:"rowgroup",style:(0,L.popularColumnStyle)(l.popular),className:(0,L.planColumnClass)(l.popular,C===l.id),children:[l.popular?(0,t.jsx)(L.PopularTab,{}):null,(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"flex flex-1 flex-col gap-6 justify-center px-4 min-h-56",children:(0,t.jsx)(L.PlanHeader,{column:l,plan:u})}),z?(0,t.jsx)("div",{"data-picker-row":l.id,className:"flex h-18 items-center border-t border-[#eaecf0] px-4",children:u&&u.slug!==j.TYPE_FREE?(0,t.jsx)(N.default,{family:x,options:(a="number"==typeof u.sites?u.sites:parseInt(String(u.sites),10),T.map(e=>{let t=(0,p.resolvePlanFor)(c,a,e);return{family:e,price:t?(0,L.buildPriceVariant)(t).current:""}})),open:C===l.id,onToggle:()=>F(C===l.id?null:l.id),onSelect:e=>{g(e),F(null)},analytics:{surface:"pricing",tier:l.id}}):null}):null,(0,t.jsx)("div",{className:"h-20 px-4 inline-flex items-center justify-center border-t border-[#eaecf0]",children:(0,t.jsx)(I,{tier:l,plan:u,currentPlan:i,token:n,userCurrentActivePlan:r,actionLoading:o,primary:!!l.popular,onTierCta:h,onLoggedInFreePackage:b})})]}),(0,t.jsx)("div",{className:"xl:hidden flex flex-col",children:R.map(e=>{let a=(0,L.getFeatureValue)(e,u,s);return(0,t.jsxs)("div",{className:(0,y.cn)("flex border-t border-[#eaecf0] px-4","flex-row items-center justify-between gap-3","lg:flex-col lg:items-start lg:justify-center lg:gap-0.5",e.plugin?"h-[77px] lg:h-[88px]":"h-[56px] lg:h-[68px]"),children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 font-sans text-sm font-medium leading-[1.6] text-text-secondary",children:[(0,t.jsx)("span",{children:e.label}),e.info?(0,t.jsx)(L.InfoTooltip,{text:e.info,size:18}):null]}),(0,t.jsx)(L.FeatureCell,{value:a,pluginFamily:e.plugin?(0,p.bundleFamilyOf)(u):null,align:"end",className:"lg:items-start lg:text-left"})]},e.label)})}),R.map(e=>(0,t.jsx)("div",{className:(0,y.cn)("hidden xl:flex items-center justify-center border-t border-[#eaecf0] px-6",e.plugin?"h-[77px]":"h-[56px]"),children:(0,t.jsx)(L.FeatureCell,{value:(0,L.getFeatureValue)(e,u,s),pluginFamily:e.plugin?(0,p.bundleFamilyOf)(u):null})},e.label))]},`${l.id}-${d}`)}
1)]}),(0,t.jsx)("div",{className:"sr-only",children:(0,t.jsxs)("table",{children:[(0,t.jsx)("caption",{children:"Templately plan comparison"}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"col",children:"Feature"}),B.map(e=>{let{tier:a}=e;return(0,t.jsx)("th",{scope:"col",children:a.name},a.id)})]})}),(0,t.jsx)("tbody",{children:R.map(e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"row",children:e.label}),B.map(a=>{let{tier:l,plan:i}=a;return(0,t.jsx)("td",{children:(0,L.getFeatureValue)(e,i,s)??"Not included"},l.id)})]},e.label))})]})})]})}function A(e){let{className:a}=e;return(0,t.jsx)("div",{"aria-hidden":!0,className:(0,y.cn)("rounded-sm bg-[#eef0f3] motion-safe:animate-pulse motion-reduce:animate-none",a)})}function E(e){let{popular:a,isLast:l}=e;return(0,t.jsxs)("div",{role:"rowgroup","aria-busy":"true",className:(0,y.cn)("relative flex flex-col bg-[rgba(251,252,254,0.6)] md:-ml-px",a?"border border-brand md:z-[2]":"border border-[#eaecf0]"),children:[a?(0,t.jsx)(L.PopularTab,{}):null,(0,t.jsxs)("div",{className:"flex min-h-[287px] flex-col gap-6 px-4 pt-6 pb-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(A,{className:"h-5 w-24"}),(0,t.jsx)(A,{className:"h-3 w-40"})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 mt-auto",children:[(0,t.jsx)(A,{className:"h-3 w-16"}),(0,t.jsx)(A,{className:"h-7 w-28"})]}),(0,t.jsx)(A,{className:"h-10 w-full"})]}),L.PRICING_FEATURES.map(e=>(0,t.jsx)("div",{className:"flex h-[56px] items-center justify-center border-t border-[#eaecf0] px-6",children:(0,t.jsx)(A,{className:"h-3 w-12"})},e.label))]})}function M(e){let{billing:a,onChange:l}=e,i="monthly"===a;return(0,t.jsxs)("div",{role:"radiogroup","aria-label":"Billing period",className:"relative inline-flex items-center rounded-full p-1 bg-[linear-gradient(90deg,#5632D1_0%,#C7B6FF_100%)] shadow-[inset_0_1px_2px_rgba(17,24,39,0.10)]",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:(0,y.cn)("pointer-events-none absolute inset-y-1 left-1 w-[calc(50%-0.25rem)] rounded-full bg-white shadow-[0_2px_8px_rgba(86,50,209,0.25)] motion-safe:transition-transform motion-safe:duration-200 motion-safe:ease-in-out motion-reduce:transition-none",i?"translate-x-full":"translate-x-0")}),(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":!i,onClick:()=>l("yearly"),className:(0,y.cn)("relative z-[1] w-[80px] cursor-pointer rounded-full px-3 py-1.5 font-sans text-sm leading-none outline-none","focus-visible:[box-shadow:0_0_0_3px_rgba(255,255,255,0.55)]","motion-safe:transition-colors motion-safe:duration-200 motion-safe:ease-in-out",i?"font-medium text-white/90":"font-semibold text-ink"),children:"Yearly"}),(0,t.jsx)("button",{type:"button",role:"radio","aria-checked":i,onClick:()=>l("monthly"),className:(0,y.cn)("relative z-[1] w-[80px] cursor-pointer rounded-full px-3 py-1.5 font-sans text-sm leading-none outline-none","focus-visible:[box-shadow:0_0_0_3px_rgba(255,255,255,0.55)]","motion-safe:transition-colors motion-safe:duration-200 motion-safe:ease-in-out",i?"font-semibold text-ink":"font-medium text-white/90"),children:"Monthly"})]})}var T=e.i(73927),z=e.i(52828),B=e.i(77684);let R=[{id:"starter",name:"Starter",tagline:""},{id:"pro",name:"Pro",tagline:""},{id:"premium",name:"Premium",tagline:"",popular:!0},{id:"advanced",name:"Advanced",tagline:""}],U=e=>{if(!e)return -1;let t=e.sites,a="number"==typeof t?t:parseInt(String(t),10);return Number.isFinite(a)?a:-1},O=(e,t,a)=>{var l,i;let n=null==e||null==(l=e.description)?void 0:l.trim();if(n)return n;let s=null==t||null==(i=t.description)?void 0:i.trim();return s||a},$=e=>{try{var t;let a=JSON.parse(e),l=e=>{var t;return(null==(t=a.find(t=>t.key===e))?void 0:t.value)??0},i=l("items")||(null==(t=a[0])?void 0:t.value)||0,n=l("packs"),s=l("starter-items"),r=l("starter-packs");return{total:i+n,free:s+r}}catch{return{total:0,free:0}}};var G=e.i(59602),H=e.i(63585),V=e.i(93673),W=e.i(10103);e.s(["default",0,function(){let{loading:e,tierPairs:a,lifetimePlan:l,starterProCounts:n,currentPlan:s,token:g,showMonthlyToggle:h,userCurrentActivePlan:b,allPlans:y,refetchPlans:N,refreshCurrentPlan:_}=function(){let{token:e}=(0,T.useCartContext)(),t=(0,z.useIsClient)(),[a,l]=(0,f.useState)(null),[i,{data:n,loading:s}]=(0,B.useLazyQuery)(x.SUBSCRIPTION_PLANS),[r,{data:o}]=(0,B.useLazyQuery)(x.GET_STATS);(0,f.useEffect)(()=>
1{l(e?(0,w.getUserCurrentPlan)()??null:null),r(),i({variables:{token:e||void 0}})},[e,i,r]);let d=t?e:null,c=(0,f.useMemo)(()=>(null==n?void 0:n.subscriptionPlans)??[],[n]),{tierPairs:u,lifetimePlan:m,hasLegacyYearlyPlan:p}=(0,f.useMemo)(()=>{let e,t,l,i,n,s,r,o;if(!c.length)return{tierPairs:R.map(e=>({id:e.id,name:e.name,tagline:e.tagline,popular:e.popular,monthly:null,yearly:null})),lifetimePlan:null,hasLegacyYearlyPlan:!1};let d=(t=(0,w.getUserCurrentPlan)()??null,i=(l=c.find(e=>(0,w.isCompanyPlan)(e.id))??null)??c.find(e=>"free"===e.slug)??null,n=c.filter(e=>e.type===j.TYPE_YEAR&&"free"!==e.slug&&!(0,w.isCompanyPlan)(e.id)&&!(0,w.isLifeTimePlanByBillingInterval)(e.type)&&!(0,w.isBundlePlan)(e)).slice().sort((e,t)=>U(e)-U(t)),s=c.filter(e=>e.type===j.TYPE_MONTH&&"free"!==e.slug&&!(0,w.isCompanyPlan)(e.id)&&!(0,w.isBundlePlan)(e)),r=c.filter(e=>(0,w.isLifeTimePlanByBillingInterval)(e.type)&&!(0,w.isBundlePlan)(e)),e=t&&(0,w.isLifeTimePlanByBillingInterval)(t.plan_type)?r.find(e=>e.id===t.subscription_plan_id||parseInt(String(e.id),10)===parseInt(String(t.subscription_plan_id),10))??r[0]??null:r[0]??null,o=!!(t&&c.some(e=>e.id===t.subscription_plan_id&&(0,w.isUnlimitedSite)(e.sites)&&e.type===j.TYPE_YEAR)),{tiers:R.map(e=>{if("starter"===e.id)return{id:e.id,name:(null==l?void 0:l.name)??e.name,tagline:O(i,null,e.tagline),popular:e.popular,monthly:i,yearly:i};let t=n["pro"===e.id?0:"premium"===e.id?1:2]??null,a=U(t),r=s.find(e=>U(e)===a)??null;return{id:e.id,name:(null==t?void 0:t.name)??e.name,tagline:O(t,r,e.tagline),popular:e.popular,monthly:r,yearly:t}}),lifetime:e,hasLegacyYearlyPlan:o,currentPlan:t});return{tierPairs:function(e,t,a){if(!a)return e;let l=a.subscription_plan_id,i=t.find(e=>e.id===l||parseInt(String(e.id),10)===parseInt(String(l),10));if(!i||(0,w.isBundlePlan)(i))return e;let n=i.type===j.TYPE_MONTH,s=i.type===j.TYPE_YEAR;if(!n&&!s)return e;let r=n?"monthly":"yearly";if(e.some(e=>{var t;return(null==(t=e[r])?void 0:t.id)===i.id}))return e;let o=String(i.name??"").toLowerCase(),d=U(i),c=e.findIndex(e=>"starter"!==e.id&&o.includes(e.name.toLowerCase()));if(-1===c&&(c=e.findIndex(e=>"starter"!==e.id&&U(e.yearly)===d)),-1===c){for(let t=e.length-1;t>=0;t--)if(e[t]&&"starter"!==e[t].id){c=t;break}}return -1===c?e:e.map((e,t)=>t===c?{...e,[r]:i}:e)}(d.tiers,c,a),lifetimePlan:d.lifetime,hasLegacyYearlyPlan:d.hasLegacyYearlyPlan}},[c,a]),g=(0,f.useMemo)(()=>(function(e){let t={starter:0,pro:0,elementor:0,gutenberg:0,freeElementor:0,freeGutenberg:0},a=new Map;for(let l of e)if("starter-items"===l.key||"pro-items"===l.key||"starter-packs"===l.key||"pro-packs"===l.key)a.set(l.key,parseInt(l.value,10)||0);else if("elementor"===l.key){let{total:e,free:a}=$(l.value);t.elementor=e,t.freeElementor=a}
1else if("gutenberg"===l.key){let{total:e,free:a}=$(l.value);t.gutenberg=e,t.freeGutenberg=a}return t.starter=(a.get("starter-items")??0)+(a.get("starter-packs")??0),t.pro=(a.get("pro-items")??0)+(a.get("pro-packs")??0),t})((null==o?void 0:o.getCounts)??[]),[o]),h=(0,f.useMemo)(()=>{if(!a||!c.length)return[];let e=a.subscription_plan_id;return c.filter(t=>t.id===e||parseInt(String(t.id),10)===parseInt(String(e),10))},[c,a]),b=!!(d&&a&&a.plan_type===j.TYPE_MONTH);return{loading:s&&!n,tierPairs:u,lifetimePlan:m,starterProCounts:g,currentPlan:a,token:d,hasLegacyYearlyPlan:p,showMonthlyToggle:b,allPlans:c,userCurrentActivePlan:h,refetchPlans:()=>{i({variables:{token:d||void 0}})},refreshCurrentPlan:()=>{l((0,w.getUserCurrentPlan)()??null)}}}(),{modalIsOpen:k,toggleModal:S,handleCta:L,handleDowngradeConfirm:I,handleLoggedInuserFreePackage:P,actionLoading:A,cancelLoading:E}=function(e){let{currentPlan:t,token:a,refetchPlans:l,refreshCurrentPlan:i}=e,n=(0,V.useRouter)(),[s,r]=(0,f.useState)(!1),[o,{loading:d}]=(0,B.useLazyQuery)(x.UPDATE_SUBSCRIPTION),[c,{loading:u}]=(0,H.useMutation)(G.CANCEL_SUBSCRIPTION,{onCompleted(e){let{subscriptionCancel:t}=e;r(!1);let a=t&&t.data?JSON.parse(t.data):null;if(a&&"string"==typeof a.subscription_end_date){let e={subscription_end_date:a.subscription_end_date},t=(0,w.getUserCurrentPlan)();t&&(0,w.updateUserCurrentPlanInLocalStorageToFree)(t,e),l(),i(),W.toast.success("Successfully canceled subscription.")}},onError:w.onError});return{modalIsOpen:s,toggleModal:r,handleCta:e=>{let{slug:a,type:l,planId:i,coupon:s}=e;if(a){let e,d;if(t&&(0,w.isLifeTimePlanByBillingInterval)(t.plan_type))return void W.toast.warn("You cannot downgrade from Lifetime plan");if(a===j.TYPE_FREE)return void r(!0);if((0,w.notFreeNitherLifeTime)(l,t))return void n.push((0,w.prepareCheckoutUrl)(i,l,s));e=(0,w.getFpr)("fpr")||void 0,(d=(0,w.getToken)())?o({variables:{token:d,plan:"number"==typeof i?i:parseInt(String(i),10),plan_slug:a,fpr_code:e}}).then(e=>{var t,a,l;let i=e.data;if(null==i||null==(t=i.subscriptionUpdate)?void 0:t.data){let e=JSON.parse(i.subscriptionUpdate.data);if(e.key&&e.url)return void n.replace(e.url);e.plan&&0!==e.plan.price?(0,w.setUserPropertyInStorage)("templately-is-pro-user",!0):(0,w.setUserPropertyInStorage)("templately-is-pro-user",!1),W.toast.success(`Successfully ${e.plan&&"Starter"===e.plan.name?"downgraded":"upgraded"} to ${(null==(l=e.plan)?void 0:l.name)??""}.`),(0,w.deleteCookie)("fpr"),r(!1),window.location.reload()}else(null==i||null==(a=i.subscriptionUpdate)?void 0:a.status)==="error"&&W.toast.error(i.subscriptionUpdate.message||"Something went wrong!")}):W.toast.error("Something went wrong. Please try again.")}},handleDowngradeConfirm:()=>{a?c({variables:{token:a}}):W.toast.error("Something went wrong. Please try again.")},handleLoggedInuserFreePackage:e=>{e||W.toast.error("Please confirm your email first.")},actionLoading:d,cancelLoading:u}}({currentPlan:s,token:g,refetchPlans:N,refreshCurrentPlan:_}),[M,D]=(0,f.useState)(!0),[Y,q]=(0,f.useState)(p.DEFAULT_BUNDLE_FAMILY);return(0,t.jsxs)("section",{"aria-labelledby":"pricing-heading",id:"pricing",className:"relative bg-surface-primary z-1",children:[(0,t.jsx)(d.default,{className:"absolute -z-1"}),(0,t.jsxs)("div",{className:"bg-surface-secondary relative z-1 flex flex-col gap-8",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-1",children:(0,t.jsx)(i.default,{src:"https://assets.templately.com/frontend/new-landing/pricing-bg.png",alt:"pricing background",fill:!0,priority:!1,sizes:"1440px",className:"block w-screen h-auto object-fill"})}),(0,t.jsx)(c.default,{className:"-z-1 !absolute"}),(0,t.jsxs)(m.default,{children:[(0,t.jsx)("div",{className:"border-border-color pt-10 sm:pt-15 lg:pt-20",children:(0,t.jsxs)(u.default,{className:"mb-[25px] flex flex-col items-center gap-3 text-center",children:[(0,t.jsxs)("h2",{id:"pricing-heading",className:"font-semibold text-text-primary text-2xl leading-[1.2] md:text-3xl lg:text-[2rem]",children:[(0,t.jsx)("span",{className:"block",children:"Build Complete Websites In A Click With"}),(0,t.jsx)("span",{className:"block",children:"AI-Powered Templates Cloud"})]}),(0,t.jsx)("p",{className:"text-base font-medium leading-[1.5] text-text-secondary text-[16px] animate-fade-in-up [animation-delay:120ms] motion-reduce:animate-none",children:"Every plan includes a 14-day money-back guarantee. Cancel anytime."})]})}),(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)(u.default,{delay:80,children:(0,t.jsx)(F,{loading:e,tierPairs:a,currentPlan:s,token:g,starterProCounts:n,userCurrentActivePlan:b,actionLoading:A,showMonthlyToggle:h,allPlans:y,bundleMode:M,onBundleModeChange:D,family:Y,onFamilyChange:q,onTierCta:L,onLoggedInFreePackage:P})}),(0,t.jsx)(u.default,{delay:160,children:(0,t.jsx)(C,{plan:l,allPlans:y,bundleMode:M,family:Y,onFamilyChange:q,currentPlan:s,token:g,userCurrentActivePlan:b,actionLoading:A,onTierCta:L,onLoggedInFreePackage:P})})]}),(0,t.jsxs)("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-x-12 gap-y-4 lg:gap-x-8",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",className:"shrink-0",children:(0,t.jsx)("path",{fill:"#F08A7E",d:"M8 0a1 1 0 0 0-.707.293L5.586 2H3c-.55 0-1 .45-1 1v2.586L.293 7.293a1 1 0 0 0 0 1.414L2 10.414V13c0 .55.45 1 1 1h2.586l1.707 1.707a1 1 0 0 0 1.414 0L10.414 14H13c.55 0 1-.45 1-1v-2.586l1.707-1.707a1 1 0 0 0 0-1.414L14 5.586V3c0-.55-.45-1-1-1h-2.586L8.707.293A1 1 0 0 0 8 0m0 5c.258 0 .512.098.707.293l2 2c.184.187.29.441.285.707H11v1H9v2H7V9H5V8h.008a1 1 0 0 1 .285-.707l2-2A1 1 0 0 1 8 5m0 0"})}),(0,t.jsx)("h4",{className:"font-medium text-base text-text-primary m-0",children:"Regular Product Updates"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"shrink-0",children:[(0,t.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,t.jsx)("path",{fill:"#8E7BE8",d:"M12 2a8 8 0 0 0-8 8v1.9A2.92 2.92 0 0 0 3 14a2.88 2.88 0 0 0 1.94 2.61C6.24 19.72 8.85 22 12 22h3v-2h-3c-2.26 0-4.31-1.7-5.34-4.39l-.21-.55-.59-.06A1 1 0 0 1 5 14a1 1 0 0 1 .5-.86l.5-.29V11a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v5h-4.09a1.5 1.5 0 1 0-1.52 2H20a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2v-2a8 8 0 0 0-8-8"})]}),(0,t.jsx)("h4",{className:"font-medium text-base text-text-primary m-0",children:"Premium Support"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:"shrink-0",children:[(0,t.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,t.jsx)("path",{fill:"#22C55E",d:"M22 7H2V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1zm0 2v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V9zm-11 5v-2.5L6.5 16H17v-2z"})]}),(0,t.jsx)("h4",{className:"font-medium text-base text-text-primary m-0",children:"14-Day Refund Guarantee"})]})]}),(0,t.jsx)(v,{}),(0,t.jsx)(r,{})]}),(0,t.jsx)(o.default,{modalIsOpen:k,toggleModal:S,handleConfirm:I,loading:E})]})]})}],63213)},62727,e=>{"use strict";var t=e.i(63296),a=e.i(33209),l=e.i(63087),i=e.i(30422),n=e.i(75003),s=e.i(40231),r=e.i(6710);function o(e){let{className:a}=e;return(0,t.jsxs)("svg",{className:a,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{clipPath:"url(#step-arrow-clip)",children:[(0,t.jsx)("path",{d:"M5 12H5.5M8.5 12H10M13 12H19",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M15 16L19 12",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M15 8L19 12",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"step-arrow-clip",children:(0,t.jsx)("rect",{width:24,height:24,fill:"white"})})})]})}let d=[{n:1,title:"Describe Your Business",body:"Tell AI what your business does and the type of site you need. It searches 6,700+ templates and finds your best match in seconds.",image:"https://assets.templately.com/frontend/new-landing/ai-search.png"},{n:2,title:"AI Customizes Everything",body:"AI writes your content and personalizes the design for your brand. Fine-tune any section further with our easy drag-and-drop editor.",image:"https://assets.templately.com/frontend/new-landing/ai-content.png"},{n:3,title:"Review & Go Live",body:"Preview your site, make any final tweaks, and hit Publish. Your full website goes live in minutes - no code or setup needed.",image:"https://assets.templately.com/frontend/new-landing/preview.png"}],c={1:["M8.66732 13.3332V2.6665L5.33398 5.99984"],2:["M5.33203 5.33317C5.33203 4.62593 5.61298 3.94765 6.11308 3.44755C6.61318 2.94746 7.29145 2.6665 7.9987 2.6665C8.70594 2.6665 9.38422 2.94746 9.88432 3.44755C10.3844 3.94765 10.6654 4.62593 10.6654 5.33317C10.6654 6.0651
17 10.2894 6.68317 9.8927 7.20984L5.33203 13.3332H10.6654"],3:["M7.9987 7.99984C8.52611 7.99984 9.04169 7.84344 9.48022 7.55042C9.91875 7.25741 10.2605 6.84093 10.4624 6.35366C10.6642 5.86639 10.717 5.33021 10.6141 4.81293C10.5112 4.29565 10.2573 3.82049 9.88432 3.44755C9.51138 3.07461 9.03622 2.82064 8.51894 2.71774C8.00166 2.61485 7.46548 2.66766 6.97821 2.86949C6.49094 3.07133 6.07446 3.41312 5.78145 3.85165C5.48843 4.29018 5.33203 4.80575 5.33203 5.33317","M5.33203 10.6667C5.33203 11.1941 5.48843 11.7097 5.78145 12.1482C6.07446 12.5867 6.49094 12.9285 6.97821 13.1303C7.46548 13.3322 8.00166 13.385 8.51894 13.2821C9.03622 13.1792 9.51138 12.9252 9.88432 12.5523C10.2573 12.1793 10.5112 11.7042 10.6141 11.1869C10.717 10.6696 10.6642 10.1334 10.4624 9.64618C10.2605 9.15891 9.91875 8.74243 9.48022 8.44941C9.04169 8.1564 8.52611 8 7.9987 8"]};e.s(["default",0,function(){let[e,u]=(0,r.useState)(0);return(0,t.jsxs)("section",{"aria-labelledby":"steps-heading",className:"relative pb-10 sm:pb-15 lg:pb-20 pt-20 sm:pt-30 lg:pt-40 bg-surface-primary z-1",children:[(0,t.jsx)(l.default,{className:"-z-1 !absolute"}),(0,t.jsx)(n.default,{children:(0,t.jsxs)(i.default,{className:"flex flex-col items-center gap-3 text-center mb-12",children:[(0,t.jsxs)("h2",{id:"steps-heading",className:"font-semibold text-text-primary text-2xl leading-[1.2] md:text-3xl lg:text-[2rem]",children:[(0,t.jsx)("span",{className:"block",children:"Live in Minutes"}),(0,t.jsx)("span",{className:"block",children:"3 Steps to Your Website"})]}),(0,t.jsx)("p",{className:"text-base font-normal leading-[1.2] text-text-secondary",children:"From your first idea to a published site - faster than you think."})]})}),(0,t.jsx)(n.default,{children:(0,t.jsx)("ol",{className:"flex flex-col gap-4 lg:gap-0 lg:flex-row items-stretch justify-between [container-type:inline-size]",children:d.map((l,i)=>{let n=e===i;return(0,t.jsx)("li",{style:{willChange:"flex-basis, max-width"},className:(0,a.cn)("relative flex flex-col rounded-xl overflow-hidden grow bg-white border border-border-color","lg:transition-[flex-basis,max-width] duration-800 ease-[cubic-bezier(0.32,0.72,0,1)]",n?"lg:flex-basis-[calc(40%-16px)] lg:max-w-[calc(40%-16px)]":"lg:flex-basis-[calc(30%-16px)] lg:max-w-[calc(30%-16px)]"),onMouseEnter:()=>u(i),children:(0,t.jsxs)("div",{className:"relative flex h-full w-full lg:w-[calc(40cqi-16px)] shrink-0 flex-col",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.cn)("pointer-events-none absolute inset-0 hidden lg:block transition-opacity duration-800 ease-[cubic-bezier(0.32,0.72,0,1)]",n?"opacity-100":"opacity-0"),style:{backgroundImage:"radial-gradient(60% 55% at 20% 50%, rgba(86,50,209,0.1), rgba(86,50,209,0) 70%), radial-gradient(60% 55% at 75% 80%, rgba(130,234,255,0.1), rgba(86,50,209,0) 70%)"}}),(0,t.jsxs)("div",{className:"relative flex h-full flex-col gap-10 px-8 pt-8",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("span",{className:"relative inline-flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-[5px] border border-brand text-sm font-semibold leading-none text-white tabular-nums",style:{boxShadow:"0 28px 71px 0 rgba(86,50,209,0.34), 0 7px 9px 0 rgba(86,50,209,0.22), 0 2px 3px 0 rgba(86,50,209,0.15), 0 0 0 3px rgba(234,228,255,0.4), inset 0 1px 12px 1px #ab95f9, inset 0 1px 3px 1px #b9a4fe"},children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute inset-0 bg-gradient-to-b from-brand to-[#c7b6ff]"}),(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute inset-0 opacity-80 mix-blend-plus-lighter",style:{backgroundImage:"url(/new-landing/badge-noise.png)",backgroundSize:"205px 205px",backgroundPosition:"top left"}}),(0,t.jsx)("svg",{"aria-hidden":!0,className:"relative size-4",viewBox:"0 0 16 16",fill:"none",stroke:"white",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:c[l.n].map((e,a)=>(0,t.jsx)("path",{d:e},a))}),(0,t.jsx)("svg",{"aria-hidden":!0,className:"absolute right-[4px] top-[2px] h-[5.333px] w-[5.333px]",viewBox:"0 0 5.33333 5.33333",fill:"white",fillOpacity:"0.4",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M2.73246 0.0463562L2.97817 0.728695C3.25112 1.486 3.8475 2.08236 4.60484 2.35529L5.2872 2.601C5.34871 2.62333 5.34871 2.71054 5.2872 2.73257L4.60484 2.97827C3.8475 3.25121 3.25112 3.84756 2.97817 4.60487L2.73246 5.28721C2.71012 5.34871 2.62291 5.34871 2.60088 5.28721L2.35516 4.60487C2.08222 3.84756 1.48583 3.25121 0.728497 2.97827L0.0461287 2.73257C-0.0153762 2.71023 -0.0153762 2.62303 0.0461287 2.601L0.728497 2.35529C1.48583 2.08236 2.08222 1.486 2.35516 0.728695L2.60088 0.0463562C2.62291 -0.0154521 2.71012 -0.0154521 2.73246 0.0463562Z"})})]}),(0,t.jsxs)("h3",{className:"flex items-center gap-0.5 text-lg font-medium leading-[1.2] text-black whitespace-nowrap",children:[l.title,l.n!==d.length?(0,t.jsx)(o,{className:(0,a.cn)("size-5 text-brand transition ease-[
1cubic-bezier(0.32,0.72,0,1)] duration-500",n?"opacity-100 translate-x-0":"opacity-100 translate-x-0 lg:opacity-0 lg:-translate-x-1")}):null]})]}),l.body?(0,t.jsx)("p",{className:(0,a.cn)("pl-12 text-sm leading-[1.5] text-text-secondary line-clamp-3 transition ease-[cubic-bezier(0.32,0.72,0,1)] duration-800",n?"opacity-100 translate-y-0 delay-100":"opacity-100 translate-y-0 lg:opacity-0 lg:translate-y-2 delay-0"),children:l.body}):null]}),l.image?(0,t.jsx)("div",{className:"ml-12 mt-auto",children:(0,t.jsx)(s.default,{src:l.image,width:364,height:312,alt:"",className:"w-91 h-auto aspect-[1092/936] object-cover !max-w-91"})}):null]}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 h-24 bg-gradient-to-b from-transparent to-white"})]})},l.n)})})})]})}])},43897,e=>{"use strict";var t=e.i(63296),a=e.i(6710),l=e.i(71097),i=e.i(36914);e.s(["default",0,function(e){let n,{to:s,prefix:r="",suffix:o="",duration:d=1400,formatStyle:c="locale",className:u,...m}=e,p=(0,i.usePrefersReducedMotion)(),f="u">typeof IntersectionObserver&&"u">typeof requestAnimationFrame,[x,g]=(0,a.useState)(s),[h,b]=(0,l.useOnScreen)(),v=(0,a.useRef)(!1),y=(0,a.useRef)(null),j=(0,a.useCallback)(e=>{h(e)},[h]);if(f&&b&&!p&&!v.current){v.current=!0,g(0);let e=performance.now(),t=a=>{let l=Math.min(1,(a-e)/d);g((1===l?1:1-Math.pow(2,-10*l))*s),l<1?y.current=requestAnimationFrame(t):y.current=null};y.current=requestAnimationFrame(t)}let w=p||!f?s:x;return(0,t.jsxs)("span",{ref:j,className:u,style:{fontVariantNumeric:"tabular-nums"},...m,children:[r,(n=Math.round(w),"plain"===c?String(n):n.toLocaleString("en-US")),o]})}])}]);

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.