1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,80499,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(46932),i=e.i(47163);let n=s.default.memo(function(e){let{children:n,as:r="p",className:l,duration:o=2,spread:c=2}=e,d=a.motion.create(r),x=(0,s.useMemo)(()=>n.length*c,[n,c]);return(0,t.jsx)(d,{className:(0,i.cn)("relative inline-block bg-[length:250%_100%,auto] bg-clip-text","text-transparent [--base-color:#a1a1aa] [--base-gradient-color:#000]","[background-repeat:no-repeat,padding-box] [--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]","dark:[--base-color:#71717a] dark:[--base-gradient-color:#ffffff] dark:[--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]",l),initial:{backgroundPosition:"100% center"},animate:{backgroundPosition:"0% center"},transition:{repeat:1/0,duration:o,ease:"linear",repeatDelay:2},style:{"--spread":`${x}px`,backgroundImage:"var(--bg), linear-gradient(var(--base-color), var(--base-color))"},children:n})});e.s(["ShimmerText",0,n])},58299,e=>{"use strict";var t=e.i(43476),s=e.i(80499);e.s(["Badge",0,e=>{let{text:a}=e;return(0,t.jsx)(s.ShimmerText,{duration:1.2,className:"text-sm font-normal [--base-color:var(--color-brand)] [--base-gradient-color:var(--color-white)] dark:[--base-color:var(--color-brand)] dark:[--base-gradient-color:var(--color-white)]",children:a})}])},65412,e=>{"use strict";var t=e.i(43476),s=e.i(47163);e.s(["SubHeading",0,e=>{let{children:a,className:i,as:n="h2"}=e;return(0,t.jsx)(n,{className:(0,s.cn)("text-center text-sm font-medium tracking-tight text-gray-600 md:text-sm lg:text-base dark:text-gray-300",i),children:a})}])},48309,e=>{"use strict";var t=e.i(43476),s=e.i(47163);e.s(["SectionHeading",0,e=>{let{children:a,className:i}=e;return(0,t.jsx)("h2",{className:(0,s.cn)("text-charcoal-700 text-center text-2xl font-medium tracking-tight md:text-3xl lg:text-4xl dark:text-neutral-100",i),children:a})}])},52212,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(65412),i=e.i(16204),n=e.i(48309),r=e.i(58299),l=e.i(77952),o=e.i(69470),c=e.i(56904),d=e.i(48148),x=e.i(88653),m=e.i(46932);function h(e,t){let s;return function(){for(var a=arguments.length,i=Array(a),n=0;n<a;n++)i[n]=arguments[n];window.clearTimeout(s),s=window.setTimeout(()=>e(...i),t)}}let u=["x","y","top","bottom","left","right","width","height"],p=e=>{let{rotated:s,className:a,...i}=e;return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...i,children:(0,t.jsx)("path",{d:"M3.75 6.5L8 10.75L12.25 6.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},g=e=>{let{index:a,question:i,answer:n,isOpen:r,onToggle:l}=e,[o,{height:c}]=function(){var e,t,a;let{debounce:i,scroll:n,polyfill:r,offsetSize:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debounce:0,scroll:!1,offsetSize:!1},o=r||("u"<typeof window?class{}:window.ResizeObserver);if(!o)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,d]=(0,s.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),x=(0,s.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c,orientationHandler:null}),m=i?"number"==typeof i?i:i.scroll:null,p=i?"number"==typeof i?i:i.resize:null,g=(0,s.useRef)(!1);(0,s.useEffect)(()=>(g.current=!0,()=>void(g.current=!1)));let[b,f,j]=(0,s.useMemo)(()=>{let e=()=>{let e,t;if(!x.current.element)return;let{left:s,top:a,width:i,height:n,bottom:r,right:o,x:c,y:m}=x.current.element.getBoundingClientRect(),h={left:s,top:a,width:i,height:n,bottom:r,right:o,x:c,y:m};x.current.element instanceof HTMLElement&&l&&(h.height=x.current.element.offsetHeight,h.width=x.current.element.offsetWidth),Object.freeze(h),g.current&&(e=x.current.lastBounds,t=h,!u.every(s=>e[s]===t[s]))&&d(x.current.lastBounds=h)};return[e,p?h(e,p):e,m?h(e,m):e]},[d,l,m,p]);
1function w(){x.current.scrollContainers&&(x.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",j,!0)),x.current.scrollContainers=null),x.current.resizeObserver&&(x.current.resizeObserver.disconnect(),x.current.resizeObserver=null),x.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",x.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",x.current.orientationHandler))}function v(){x.current.element&&(x.current.resizeObserver=new o(j),x.current.resizeObserver.observe(x.current.element),n&&x.current.scrollContainers&&x.current.scrollContainers.forEach(e=>e.addEventListener("scroll",j,{capture:!0,passive:!0})),x.current.orientationHandler=()=>{j()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",x.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",x.current.orientationHandler))}return e=j,t=!!n,(0,s.useEffect)(()=>{if(t)return window.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",e,!0)},[e,t]),a=f,(0,s.useEffect)(()=>(window.addEventListener("resize",a),()=>void window.removeEventListener("resize",a)),[a]),(0,s.useEffect)(()=>{w(),v()},[n,j,f]),(0,s.useEffect)(()=>w,[]),[e=>{e&&e!==x.current.element&&(w(),x.current.element=e,x.current.scrollContainers=function e(t){let s=[];if(!t||t===document.body)return s;let{overflow:a,overflowX:i,overflowY:n}=window.getComputedStyle(t);return[a,i,n].some(e=>"auto"===e||"scroll"===e)&&s.push(t),[...s,...e(t.parentElement)]}(e),v())},c,b]}(),d=(0,s.useMemo)(()=>r?c:0,[r,c]);return(0,t.jsxs)("div",{className:"group",children:[(0,t.jsxs)("button",{type:"button","aria-expanded":r,"aria-controls":`faq-panel-${a}`,onClick:l,className:"flex w-full items-center justify-between gap-4 px-8 py-6 text-left",children:[(0,t.jsx)("span",{className:"text-charcoal-700 text-base font-medium dark:text-neutral-100",children:i}),(0,t.jsx)(m.motion.span,{className:"text-charcoal-700 shadow-smooth inline-flex size-6 items-center justify-center rounded-md bg-white dark:bg-neutral-900",initial:!1,animate:{rotate:180*!!r},transition:{duration:.25},children:(0,t.jsx)(p,{className:"dark:text-neutral-100"})})]}),(0,t.jsx)(m.motion.div,{id:`faq-panel-${a}`,role:"region","aria-hidden":!r,initial:!1,animate:{height:d,opacity:+!!r},transition:{height:{duration:.35},opacity:{duration:.2}},className:"overflow-hidden px-8",onClick:l,children:(0,t.jsx)("div",{ref:o,className:"pr-2 pb-5 pl-2 sm:pr-0 sm:pl-0",children:(0,t.jsx)(x.AnimatePresence,{mode:"popLayout",children:r&&(0,t.jsx)(m.motion.p,{initial:{y:-6,opacity:0},animate:{y:0,opacity:1},exit:{y:-6,opacity:0},transition:{duration:.25},className:"text-gray-600 dark:text-neutral-400",children:n},"content")})})})]})};e.s(["FAQs",0,function(){let{items:e,title:x,subtitle:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=(0,d.useTranslations)("FAQs"),u=(0,d.useTranslations)("Common"),p=[{question:h("q1"),answer:h("a1")},{question:h("q2"),answer:h("a2")},{question:h("q3"),answer:h("a3")},{question:h("q4"),answer:h("a4")},{question:h("q5"),answer:h("a5")},{question:h("q6"),answer:h("a6")},{question:h("q7"),answer:h("a7")},{question:h("q8"),answer:h("a8")}],[b,f]=(0,s.useState)(new Set);return(0,t.jsxs)(i.Container,{className:"border-divide flex flex-col items-center border-x pt-12",children:[(0,t.jsx)(r.Badge,{text:h("badge")}),(0,t.jsx)(n.SectionHeading,{className:"mt-4",children:x??h("title")}),(0,t.jsx)(a.SubHeading,{as:"p",className:"mx-auto mt-6 max-w-lg px-2",children:m??h("subtitle")}),(0,t.jsxs)("div",{className:"mt-8 mb-12 flex w-full flex-col justify-center gap-4 px-4 sm:flex-row",children:[(0,t.jsx)(l.Button,{variant:"primary",className:"w-full sm:w-auto",as:"a",href:"https://app.bookli.ai/register",children:u("startFree")}),(0,t.jsx)(l.Button,{as:c.Link,href:"/faq",variant:"secondary",className:"w-full sm:w-auto",children:u("allFaqs")})]}),(0,t.jsx)(o.DivideX,{}),(0,t.jsx)("div",{className:"divide-divide w-full divide-y",children:(e??p).map((e,s)=>(0,t.jsx)(g,{index:s,question:e.question,answer:e.answer,isOpen:b.has(s),onToggle:()=>{f(e=>{let t=new Set(e);return t.has(s)?t.delete(s):t.add(s),t})}},e.question))})]})}],52212)},52008,e=>{"use strict";
1let t=(0,e.i(75254).default)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);e.s(["Layers",0,t],52008)},43432,e=>{"use strict";let t=(0,e.i(75254).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,t],43432)},64659,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],64659)},47938,e=>{"use strict";var t=e.i(43476),s=e.i(47163),a=e.i(71645),i=e.i(46932),n=e.i(63178);e.s(["Dot",0,e=>{let{top:r,left:l,right:o,bottom:c}=e,[d,x]=(0,a.useState)({x:0,y:0}),[m,h]=(0,a.useState)(!1),u=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=e=>{x({x:e.clientX,y:e.clientY})};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},[]),(0,a.useEffect)(()=>{if(u.current){let e=u.current.getBoundingClientRect(),t=e.left+e.width/2,s=e.top+e.height/2;h(100>=Math.sqrt(Math.pow(d.x-t,2)+Math.pow(d.y-s,2)))}},[d]);let{theme:p}=(0,n.useTheme)();return(0,t.jsx)(i.motion.div,{ref:u,className:(0,s.cn)("absolute z-10 h-2 w-2",r&&"top-0 xl:-top-1",l&&"left-0 xl:-left-2",o&&"right-0 xl:-right-2",c&&"bottom-0 xl:-bottom-1"),animate:{backgroundColor:m?"var(--color-brand)":"var(--color-primary)",boxShadow:m?"0 0 20px var(--color-brand), 0 0 40px var(--color-brand)":"none",scale:m?1.5:1,borderRadius:m?"50%":"0%"},transition:{duration:.3,ease:"easeOut"}})}])},69470,e=>{"use strict";var t=e.i(43476),s=e.i(47163);e.s(["DivideX",0,e=>{let{className:a}=e;return(0,t.jsx)("div",{className:(0,s.cn)("bg-divide h-[1px] w-full",a)})}])},11531,e=>{"use strict";var t=e.i(43476),s=e.i(22016),a=e.i(77952),i=e.i(43082);e.s(["RegisterButton",0,e=>{let{children:n,source:r,variant:l="primary",className:o,href:c="https://app.bookli.ai/register"}=e;return(0,t.jsx)(a.Button,{as:s.default,href:c,variant:l,className:o,onClick:()=>(0,i.trackRegister)(r),children:n})}])},39118,e=>{"use strict";var t=e.i(43476);e.s(["CheckIcon",0,e=>(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[(0,t.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),(0,t.jsx)("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),(0,t.jsx)("path",{d:"M9 12l2 2l4 -4"})]})])},86311,e=>{"use strict";let t=(0,e.i(75254).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["MessageSquare",0,t],86311)},75846,e=>{"use strict";var t=e.i(43476),s=e.i(71645),a=e.i(22016),i=e.i(46932),n=e.i(88653),r=e.i(48148),l=e.i(16204),o=e.i(58299),c=e.i(48309),d=e.i(65412),x=e.i(77952),m=e.i(47938),h=e.i(43082),u=e.i(69470),p=e.i(47163),g=e.i(86311),b=e.i(43432),f=e.i(52008);let j=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var w=e.i(72520);let v=[{nome:"Basic",caratteri:3e5,minutiInclusi:0,costo:97},{nome:"Pro",caratteri:9e5,minutiInclusi:240,costo:297},{nome:"Premium",caratteri:15e5,minutiInclusi:360,costo:497},{nome:"Enterprise",caratteri:3e6,minutiInclusi:720,costo:997}],N=e=>new Intl.NumberFormat("it-IT",{style:"currency",currency:"EUR"}).format(e),y=e=>new Intl.NumberFormat("it-IT").format(e);function k(e,t,s){let a="calls"===e?0:parseInt(t)||0,i="whatsapp"===e?0:parseFloat(s)||0,n=1e3*a,r=v[0];if(a>0||"calls"===e){for(let e of(r=v[v.length-1],v))if(n<=e.caratteri){r=e;break}}let l=n>v[v.length-1].caratteri,o=Math.max(.2-.01*Math.floor(i/1e5),.16),c=Math.max(0,i-r.minutiInclusi),d=c*o,x=r.costo+d,m=o<.2?Math.round((.2-o)/.2*100):0;return{piano:r,overEnterprise:l,ppm:o,extraMin:c,costTel:d,costTot:x,scontoPc:m,hasInput
1:a>0||i>0,conv:a,minTot:i}}let C=e=>{let{text:s,sub:a}=e;return(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-brand"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-gray-700 dark:text-neutral-200",children:s}),a&&(0,t.jsx)("p",{className:"text-xs text-brand",children:a})]})]})},M=e=>{let{label:s,value:a,onChange:i,placeholder:n}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-2 block text-sm font-medium text-white",children:s}),(0,t.jsx)("input",{type:"number",min:"0",value:a,placeholder:n,onChange:e=>i(e.target.value),className:"w-full rounded-xl border border-white/30 bg-white/10 px-4 py-3 text-sm text-white placeholder:text-white/40 focus:border-white focus:outline-none",suppressHydrationWarning:!0})]})},S=e=>{let{value:s}=e;return(0,t.jsx)("div",{className:"relative h-2 w-full overflow-hidden rounded-full bg-gray-200 dark:bg-neutral-600",children:(0,t.jsx)("div",{className:"absolute left-0 top-0 h-full rounded-full bg-brand transition-all duration-100",style:{width:`${s}%`}})})},T=e=>{let{label:s,value:a,onChange:i,placeholder:n}=e;return(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("label",{className:"mb-1.5 block font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:s}),(0,t.jsx)("input",{type:"number",min:"0",value:a,placeholder:n,onChange:e=>i(e.target.value),className:"w-full rounded-xl border border-gray-300 bg-white px-4 py-3 text-sm transition focus:border-brand focus:outline-none dark:border-neutral-600 dar
1k:bg-neutral-800 dark:text-white",suppressHydrationWarning:!0})]})},E=e=>e<60?`${e}s`:e%60==0?`${e/60} min`:`${Math.floor(e/60)}m ${e%60}s`;e.s(["CalcOutbound",0,()=>{let e=(0,r.useTranslations)("PricingCalculator"),[d,x]=(0,s.useState)(0),[u,g]=(0,s.useState)(""),[b,f]=(0,s.useState)(20),[j,w]=(0,s.useState)(30),v=parseInt(u)||0,C=Math.round(v*b/100),M=C*j/60,S=k("calls","0",String(M)),T=M>0?Math.ceil(M/5400):0,z=M>0?Math.ceil(M/2700):0,I=2800*T,P=1400*z,B=I-S.costTot,L=P-S.costTot,q=I>0?Math.round(B/I*100):0,H=P>0?Math.round(L/P*100):0,A=v>0;return(0,t.jsx)("div",{className:"bg-brand",children:(0,t.jsxs)(l.Container,{className:"relative border-x border-white/20 px-4 py-20 md:px-8",children:[(0,t.jsx)(m.Dot,{top:!0,left:!0}),(0,t.jsx)(m.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"mx-auto max-w-lg",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)(o.Badge,{text:e("badge")}),(0,t.jsxs)(c.SectionHeading,{className:"mt-4 text-white",children:[e("headlineOutbound")," ",(0,t.jsx)("span",{className:"font-bold",children:e("headlineOutboundEm")})]})]}),(0,t.jsx)("div",{className:"mt-10 flex items-center gap-2",children:[e("stepList"),e("stepResult")].map((e,a)=>(0,t.jsxs)(s.default.Fragment,{children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,t.jsx)("div",{className:(0,p.cn)("flex size-6 items-center justify-center rounded-full font-mono text-xs font-bold transition-all duration-300",d>a||d===a?"bg-white text-brand":"bg-white/20 text-white/50"),children:d>a?"â":a+1}),(0,t.jsx)("span",{className:(0,p.cn)("text-xs font-medium transition-colors",d>=a?"text-white":"text-white/40"),children:e})]}),a<1&&(0,t.jsx)("div",{className:(0,p.cn)("h-px flex-1 transition-all duration-500",d>a?"bg-white":"bg-white/20")})]},e))}),(0,t.jsxs)(n.AnimatePresence,{mode:"wait",children:[0===d&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:24},animate:{opacity:1,x:0},exit:{opacity:0,x:-24},transition:{duration:.22},className:"mt-10 flex flex-col gap-7",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-2 block text-sm font-medium text-white",children:e("listSizeQuestion")}),(0,t.jsx)("input",{type:"number",min:"1",value:u,placeholder:e("placeholderListSize"),onChange:e=>g(e.target.value),className:"w-full rounded-xl border border-white/30 bg-white/10 px-4 py-3 text-sm text-white placeholder:text-white/40 focus:border-white focus:outline-none",suppressHydrationWarning:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-3 flex items-end justify-between",children:[(0,t.jsx)("label",{className:"text-sm font-medium text-white",children:e("responseRateLabel")}),(0,t.jsxs)("span",{className:"font-mono text-xl font-bold text-white",children:[b,"%"]})]}),(0,t.jsx)("div",{className:"relative h-2 w-full overflow-hidden rounded-full bg-white/20",children:(0,t.jsx)("div",{className:"absolute left-0 top-0 h-full rounded-full bg-white transition-all duration-100",style:{width:`${b/80*100}%`}})}),(0,t.jsx)("input",{type:"range",min:"1",max:"80",step:"1",value:b,onChange:e=>f(Number(e.target.value)),className:"mt-[-8px] w-full cursor-pointer opacity-0",style:{height:"20px"},suppressHydrationWarning:!0}),(0,t.jsxs)("div",{className:"flex justify-between text-[10px] text-white/40",children:[(0,t.jsx)("span",{children:"1%"}),(0,t.jsx)("span",{children:"20%"}),(0,t.jsx)("span",{children:"40%"}),(0,t.jsx)("span",{children:"60%"}),(0,t.jsx)("span",{children:"80%"})]}),(0,t.jsx)(n.AnimatePresence,{children:v>0&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},exit:{opacity:0},className:"mt-3 flex items-center justify-between rounded-lg bg-white/10 px-4 py-2.5",children:[(0,t.jsx)("span",{className:"text-sm text-white/70",children:e("responsePreviewText")}),(0,t.jsxs)("span",{className:"font-mono text-lg font-bold text-white",children:[y(C)," ",e("contactsWord")]})]})})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-3 flex items-end justify-between",children:[(0,t.jsx)("label",{className:"text-sm font-medium text-white",children:e("callDurationLabel")}),(0,t.jsx)("span",{className:"font-mono text-xl font-bold text-white",children:E(j)})]}),(0,t.jsx)("div",{className:"relative h-2 w-full overflow-hidden rounded-full bg-white/20",children:(0,t.jsx)("div",{className:"absolute left-0 top-0 h-full rounded-full bg-white transition-all duration-100",style:{width:`${(j-30)/90*100}%`}})}),(0,t.jsx)("input",{type:"range",min:"30",max:"120",step:"5",value:j,onChange:e=>w(Number(e.target.value)),className:"mt-[-8px] w-full cursor-pointer opacity-0",style:{height:"20px"},suppressHydrationWarning:!0}),(0,t.jsxs)("div",{className:"flex justify-between text-[10px] text-white/40",children:[(0,t.jsx)("span",{children:"30s"}),(0,t.jsx)("span",{children:"1 min"}),(0,t.jsx)("span",{children:"1m 30s"}),(0,t.jsx)("span",{children:"2 min"})]})]}),(0,t.jsx)("button",{onClick:()=>A&&x(1),className:(0,p.cn)("w-full rounded-xl bg-white px-6 py-3 text-sm font-semibold text-brand transition hover:bg-white/90",!A&&"curs
1or-not-allowed opacity-40"),children:e("calculateCost")})]},"s0"),1===d&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.3},className:"mt-10",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-white/20 bg-white/10 p-6",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/60",children:e("monthlyCost")}),(0,t.jsxs)("div",{className:"mt-2 flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-4xl font-bold tabular-nums text-white",children:N(S.costTot)}),(0,t.jsx)("span",{className:"text-sm text-white/60",children:e("perMonth")})]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-white/50",children:e("summaryLine",{contacts:y(v),rate:b,answered:y(C),duration:E(j)})}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-2 rounded-lg bg-black/20 p-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{className:"text-white/80",children:[e("planLabel")," ",(0,t.jsx)("span",{className:"font-medium text-white",children:S.piano.nome})]}),(0,t.jsxs)("span",{className:"tabular-nums font-medium text-white",children:[N(S.piano.costo),e("perMonth")]})]}),S.piano.minutiInclusi>0&&(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-white/70",children:e("minutesIncludedSimple",{n:y(S.piano.minutiInclusi)})}),(0,t.jsx)("span",{className:"text-xs text-white/50",children:e("minutesIncludedTag")})]}),S.extraMin>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"my-1 h-px bg-white/20"}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{className:"text-white/80",children:[e("minutesExtra",{n:y(Math.round(S.extraMin))}),S.scontoPc>0&&(0,t.jsxs)("span",{className:"ml-1 text-xs text-white/60",children:[" â",S.scontoPc,"%"]})]}),(0,t.jsxs)("span",{className:"tabular-nums font-medium text-white",children:[N(S.costTel),e("perMonth")]})]}),(0,t.jsx)("div",{className:"my-1 h-px bg-white/20"}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm font-semibold",children:[(0,t.jsx)("span",{className:"text-white",children:e("total")}),(0,t.jsxs)("span",{className:"tabular-nums text-white",children:[N(S.costTot),e("perMonth")]})]})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex gap-2",children:[(0,t.jsx)(a.default,{href:"https://app.bookli.ai/register",onClick:()=>(0,h.trackRegister)("outbound_calculator"),className:"flex flex-1 items-center justify-center rounded-xl bg-white px-4 py-2.5 text-sm font-semibold text-brand transition hover:bg-white/90",children:e("startFree")}),(0,t.jsx)("button",{onClick:()=>{x(0),g(""),f(20),w(30)},title:e("restart"),className:"rounded-xl border border-white/20 px-3 py-2 text-sm text-white/50 transition hover:border-white hover:text-white",children:"â©"})]})]}),(B>0||L>0)&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.2,duration:.3},className:"rounded-xl border border-white/20 bg-black/20 p-5",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white",children:e("savingsVsOperators")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-white/50",children:e("talkTimeTotal",{hours:`${(M/60).toFixed(1)} ${e("hours")}`,min:y(Math.round(M))})}),(0,t.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col rounded-lg border border-white/10 bg-white/10 p-4",children:[(0,t.jsx)("p",{className:"font-mono text-[10px] font-bold uppercase tracking-widest text-white/50",children:e("fullTime")}),(0,t.jsx)("p",{className:"mt-3 text-3xl font-medium tracking-tight tabular-nums text-white",children:T}),(0,t.jsx)("p",{className:"text-xs text-white/60",children:e(1===T?"operatorsNeededOne":"operatorsNeededMany")}),(0,t.jsxs)("p",{className:"mt-3 text-lg font-medium tabular-nums text-white/40 line-through",children:[N(I),e("perMonth")]}),(0,t.jsx)("p",{className:"text-[10px] text-white/40",children:e("companyCost")}),(0,t.jsxs)("div",{className:"mt-auto pt-4",children:[(0,t.jsx)("p",{className:"text-[10px] text-white/50",children:e("savingsWithBookli")}),(0,t.jsx)("p",{className:"text-5xl font-medium tracking-tight leading-none text-white",children:B>0?`â${q}%`:"â"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col rounded-lg border border-white/10 bg-white/10 p-4",children:[(0,t.jsx)("p",{className:"font-mono text-[10px] font-bold uppercase tracking-widest text-white/50",children:e("partTime")}),(0,t.jsx)("p",{className:"mt-3 text-3xl font-medium tracking-tight tabular-nums text-white",children:z}),(0,t.jsx)("p",{className:"text-xs text-white/60",children:e(1===z?"operatorsNeededOne":"operatorsNeededMany")}),(0,t.jsxs)("p",{className:"mt-3 text-lg font-medium tabular-nums text-white/40 line-through",children:[N(P),e("perMonth")]}),(0,t.jsx)("p",{className:"text-[10px] text-white/40",children:e("companyCost")}),(0,t.jsxs)("div",{className:"mt-auto pt-4",children:[(0,t.jsx)("p",{className:"text-[10px] text-white/50",children:e("savingsWithBookli")}),(0,t.jsx)("p",{className:"text-5xl font-medium tracking-tight leading-none text-white",children:L>0?`â${H}%`:"â"})]})]})]}),(0,t.jsx)("p",{className:"mt-3 text-[10px] text-white/30",children:e("savingsFootnote")})]})]})},"s1")]})]})]})})},"CalcVariantA",0,()=>{let e=(0,r.useTranslations)("PricingCalculator"),[d,u]=(0,s.use
1State)(0),[v,C]=(0,s.useState)("calls"),[S,T]=(0,s.useState)(""),[E,z]=(0,s.useState)(""),[I,P]=(0,s.useState)(""),B="whatsapp"!==v?(parseInt(E)||0)*(parseInt(I)||0):0,L=k(v,S,String(B)),q=B>0?Math.ceil(B/5400):0,H=2800*q,A=H-L.costTot,D=H>0?Math.round(A/H*100):0;return(0,t.jsx)("div",{className:"bg-brand",children:(0,t.jsxs)(l.Container,{className:"border-x border-white/20 relative px-4 py-20 md:px-8",children:[(0,t.jsx)(m.Dot,{top:!0,left:!0}),(0,t.jsx)(m.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"mx-auto max-w-lg",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)(o.Badge,{text:e("badge")}),(0,t.jsxs)(c.SectionHeading,{className:"mt-4 text-white",children:[e("headlineWizard")," ",(0,t.jsx)("span",{className:"text-white font-bold",children:e("headlineWizardEm")})]})]}),(0,t.jsx)("div",{className:"mt-10 flex items-center gap-2",children:[e("stepChannel"),e("stepVolumes"),e("stepResult")].map((e,a)=>(0,t.jsxs)(s.default.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,t.jsx)("div",{className:(0,p.cn)("flex size-6 items-center justify-center rounded-full font-mono text-xs font-bold transition-all duration-300",d>a||d===a?"bg-white text-brand":"bg-white/20 text-white/50"),children:d>a?"â":a+1}),(0,t.jsx)("span",{className:(0,p.cn)("text-xs font-medium transition-colors",d>=a?"text-white":"text-white/40"),children:e})]}),a<2&&(0,t.jsx)("div",{className:(0,p.cn)("h-px flex-1 transition-all duration-500",d>a?"bg-white":"bg-white/20")})]},e))}),(0,t.jsxs)(n.AnimatePresence,{mode:"wait",children:[0===d&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:24},animate:{opacity:1,x:0},exit:{opacity:0,x:-24},transition:{duration:.22},className:"mt-10",children:[(0,t.jsx)("p",{className:"mb-5 text-lg font-medium text-white",children:e("questionChannel")}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:[["calls",e("channelCalls"),b.Phone,e("channelCallsDesc")],["whatsapp",e("channelWhatsapp"),g.MessageSquare,e("channelWhatsappDesc")],["both",e("channelBoth"),f.Layers,e("channelBothDesc")]].map(e=>{let[s,a,i,n]=e;return(0,t.jsxs)("button",{onClick:()=>{C(s),u(1)}
1,className:"flex items-center gap-4 rounded-xl border border-white/20 bg-white/10 p-4 text-left transition duration-200 hover:border-white/50 hover:bg-white/20",children:[(0,t.jsx)("div",{className:"flex size-10 shrink-0 items-center justify-center rounded-lg bg-white/20",children:(0,t.jsx)(i,{className:"size-5 text-white"})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-white",children:a}),(0,t.jsx)("p",{className:"text-xs text-white/70",children:n})]}),(0,t.jsx)(w.ArrowRight,{className:"size-4 shrink-0 text-white/40"})]},s)})})]},"s0"),1===d&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:24},animate:{opacity:1,x:0},exit:{opacity:0,x:-24},transition:{duration:.22},className:"mt-10",children:[(0,t.jsx)("p",{className:"mb-5 text-lg font-medium text-white",children:e("questionVolumes")}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:["calls"!==v&&(0,t.jsx)(M,{label:e("inputConversations"),value:S,onChange:T,placeholder:e("placeholderEx500")}),"whatsapp"!==v&&(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,t.jsx)(M,{label:e("inputCalls"),value:E,onChange:z,placeholder:e("placeholderEx300")}),(0,t.jsx)(M,{label:e("inputDuration"),value:I,onChange:P,placeholder:e("placeholderEx5")})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex gap-3",children:[(0,t.jsxs)(x.Button,{variant:"secondary",onClick:()=>u(0),children:[(0,t.jsx)(j,{className:"mr-1 inline size-4"}),e("back")]}),(0,t.jsx)(x.Button,{variant:"brand",onClick:()=>u(2),className:"flex-1 !bg-white !text-brand hover:!bg-white/90",children:e("calculatePlan")})]})]},"s1"),2===d&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.3},className:"mt-10",children:L.overEnterprise?(0,t.jsxs)("div",{className:"rounded-xl border border-white/20 bg-white/10 p-8 text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/60",children:e("recommendedPlan")}),(0,t.jsx)("p",{className:"mt-2 text-2xl font-semibold text-white",children:e("customPlan")}),(0,t.jsx)("p",{className:"mt-2 text-sm text-white/70",children:e("customPlanDesc")}),(0,t.jsx)(x.Button,{as:a.default,href:"/contact",variant:"brand",className:"mt-6 w-full !bg-white !text-brand hover:!bg-white/90",children:e("contactTeam")})]}):(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-white/20 bg-white/10 p-6",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/60",children:e("monthlyCost")}),(0,t.jsxs)("div",{className:"mt-2 flex items-baseline gap-1",children:[(0,t.jsx)("span",{className:"text-4xl font-bold tabular-nums text-white",children:N(L.costTot)}),(0,t.jsx)("span",{className:"text-sm text-white/60",children:e("perMonth")})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-col gap-2 rounded-lg bg-black/20 p-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{className:"text-white/80",children:[e("subscriptionLabel")," ",(0,t.jsx)("span",{className:"font-medium text-white",children:L.piano.nome})]}),(0,t.jsxs)("span",{className:"tabular-nums font-medium text-white",children:[N(L.piano.costo),e("perMonth")]})]}),"calls"!==v&&L.conv>0&&(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-white/70",children:e("conversationsCount",{n:y(L.conv)})}),(0,t.jsx)("span",{className:"text-xs text-white",children:e("conversationsIncluded")})]}),"whatsapp"!==v&&L.piano.minutiInclusi>0&&(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsx)("span",{className:"text-white/70",children:e("minutesIncluded",{n:y(L.piano.minutiInclusi)})}),(0,t.jsx)("span",{className:"text-xs text-white",children:e("minutesIncludedShort")})]}),"whatsapp"!==v&&L.extraMin>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"my-1 h-px bg-white/20"}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{className:"text-white/80",children:[e("callsCredit")," (",y(Math.round(L.extraMin))," min",L.scontoPc>0&&(0,t.jsxs)("span",{className:"ml-1 text-xs text-white",children:["â",L.scontoPc,"%"]}),")"]}),(0,t.jsxs)("span",{className:"tabular-nums font-medium text-white",children:[N(L.costTel),e("perMonth")]})]})]}),(L.extraMin>0||"calls"!==v&&L.conv>0)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"my-1 h-px bg-white/20"}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm font-semibold",children:[(0,t.jsx)("span",{className:"text-white",children:e("totalEstimate")}),(0,t.jsxs)("span",{className:"tabular-nums text-white",children:[N(L.costTot),e("perMonth")]})]})]})]}),(0,t.jsx)("p",{className:"mt-3 text-xs text-white/50",children:e("scrollHint")}),(0,t.jsxs)("div",{className:"mt-4 flex gap-2",children:[(0,t.jsx)(x.Button,{as:a.default,href:"https://app.bookli.ai/register",variant:"brand",className:"flex-1 !bg-white !text-brand hover:!bg-white/90",onClick:()=>(0,h.trackRegister)("pricing_calculator"),children:e("tryFree")}),(0,t.jsx)("button",{onClick:()=>{u(0),T(""),z(""),P("")},title:e("restart"),className:"rounded-xl border border-white/20 px-3 py-2 text-sm text-white/50 transition hover:border-white hover:text-white",children:"â©"})]})]}),B>0&&A>0&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:8}
1,animate:{opacity:1,y:0},transition:{delay:.2,duration:.3},className:"rounded-xl border border-white/20 bg-black/20 p-5",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white",children:e("savingsVsOperators")}),(0,t.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"rounded-lg bg-white/10 p-3",children:[(0,t.jsxs)("p",{className:"text-[10px] uppercase tracking-widest text-white/60",children:[q," ",e(1===q?"operatorsLabelOne":"operatorsLabelMany")]}),(0,t.jsxs)("p",{className:"mt-1 text-lg font-semibold text-white/50 line-through",children:[N(H),e("perMonth")]})]}),(0,t.jsxs)("div",{className:"rounded-lg bg-white/10 p-3",children:[(0,t.jsx)("p",{className:"text-[10px] uppercase tracking-widest text-white/60",children:e("withBookli")}),(0,t.jsxs)("p",{className:"mt-1 text-lg font-semibold text-white",children:[N(L.costTot),e("perMonth")]})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:"text-3xl font-bold text-white",children:N(A)}),(0,t.jsxs)("span",{className:"text-sm text-white/80",children:[e("savingsPerMonth")," · â",D,"%"]})]}),(0,t.jsx)("p",{className:"mt-2 text-xs text-white/50",children:e("savingsEstimate",{n:q,opLabel:e(1===q?"operatorSingular":"operatorsPlural"),cost:2800..toLocaleString("it-IT")})})]})]})},"s2")]})]})]})})},"CalcVariantB",0,()=>{let[e,r]=(0,s.useState)(500),[h,u]=(0,s.useState)(300),g=k("both",String(e),String(h)),b=e/4e3*100,f=h/2e3*100;return(0,t.jsxs)(l.Container,{className:"border-divide relative border-x px-4 py-20 md:px-8",children:[(0,t.jsx)(m.Dot,{top:!0,left:!0}),(0,t.jsx)(m.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)(o.Badge,{text:"Calcolatore"}),(0,t.jsxs)(c.SectionHeading,{className:"mt-4",children:["Trascina e ",(0,t.jsx)("span",{className:"text-brand",children:"scopri il tuo piano"})]}),(0,t.jsx)(d.SubHeading,{as:"p",className:"mt-4 max-w-lg text-center",children:"Muovi i cursori e il costo si aggiorna in tempo reale"})]}),(0,t.jsxs)("div",{className:"mt-12 grid grid-cols-1 gap-6 lg:grid-cols-[1fr_300px]",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-gray-200 bg-gray-50 p-6 dark:border-neutral-700 dark:bg-neutral-800",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-end justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:"WhatsApp"}),(0,t.jsx)("p",{className:"mt-0.5 text-sm font-medium text-charcoal-700 dark:text-neutral-100",children:"Conversazioni al mese"})]}),(0,t.jsx)("span",{className:"font-mono text-2xl font-bold text-brand",children:y(e)})]}),(0,t.jsx)(S,{value:b}),(0,t.jsx)("input",{type:"range",min:"0",max:4e3,step:"50",value:e,onChange:e=>r(Number(e.target.value)),className:"mt-[-10px] w-full cursor-pointer opacity-0",style:{height:"20px"},suppressHydrationWarning:!0}),(0,t.jsx)("div",{className:"mt-1 flex justify-between",children:v.map(e=>(0,t.jsx)("span",{className:(0,p.cn)("font-mono text-[10px] transition-colors",g.piano.nome===e.nome?"font-bold text-brand":"text-gray-400 dark:text-neutral-500"),children:e.caratteri/1e3>=1e3?`${e.caratteri/1e3/1e3}k`:String(e.caratteri/1e3)},e.nome))})]}),(0,t.jsxs)("div",{className:"rounded-xl border border-gray-200 bg-gray-50 p-6 dark:border-neutral-700 dark:bg-neutral-800",children:[(0,t.jsxs)("div",{className:"mb-5 flex items-end justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:"Telefono"}),(0,t.jsx)("p",{className:"mt-0.5 text-sm font-medium text-charcoal-700 dark:text-neutral-100",children:"Minuti di chiamata al mese"})]}),(0,t.jsx)("span",{className:"font-mono text-2xl font-bold text-brand",children:y(h)})]}),(0,t.jsx)(S,{value:f}),(0,t.jsx)("input",{type:"range",min:"0",max:2e3,step:"10",value:h,onChange:e=>u(Number(e.target.value)),className:"mt-[-10px] w-full cursor-pointer opacity-0",style:{height:"20px"},suppressHydrationWarning:!0}),(0,t.jsx)("div",{className:"mt-1 flex justify-between",children:["0","240","360","720","2k"].map(e=>(0,t.jsx)("span",{className:"font-mono text-[10px] text-gray-400 dark:text-neutral-500",children:e},e))})]}),(0,t.jsx)("div",{className:"grid grid-cols-4 gap-2",children:v.map(e=>(0,t.jsxs)("div",{className:(0,p.cn)("rounded-xl border p-3 text-center transition-all duration-300",g.piano.nome===e.nome?"border-brand bg-brand text-white":"border-gray-200 bg-gray-50 dark:border-neutral-700 dark:bg-neutral-800"),children:[(0,t.jsx)("p",{className:(0,p.cn)("text-xs font-semibold",g.piano.nome===e.nome?"text-white":"text-charcoal-700 dark:text-neutral-100"),children:e.nome}),(0,t.jsxs)("p",{className:(0,p.cn)("mt-0.5 font-mono text-[10px]",g.piano.nome===e.nome?"text-white/70":"text-gray-400 dark:text-neutral-500"),
1children:["â¬",e.costo,"/m"]})]},e.nome))})]}),(0,t.jsx)("div",{className:"lg:sticky lg:top-6 lg:self-start",children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.25},className:"overflow-hidden rounded-xl border border-gray-200 dark:border-neutral-700",children:[(0,t.jsxs)("div",{className:"bg-brand px-6 py-6 text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/60",children:"Piano consigliato"}),(0,t.jsx)("p",{className:"mt-1 text-3xl font-bold text-white",children:g.piano.nome}),(0,t.jsxs)("p",{className:"mt-3 text-4xl font-bold text-white",children:[N(g.costTot),(0,t.jsx)("span",{className:"text-sm font-normal opacity-60",children:"/mese"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 bg-white p-5 dark:bg-neutral-900",children:[(0,t.jsx)(C,{text:`Piano â â¬${g.piano.costo}/mese`}),g.extraMin>0&&(0,t.jsx)(C,{text:`${y(Math.round(g.extraMin))} min extra â ${N(g.costTel)}`}),0===g.extraMin&&g.minTot>0&&(0,t.jsx)(C,{text:`${y(g.piano.minutiInclusi)} min inclusi`}),(0,t.jsxs)(x.Button,{as:a.default,href:"/contact",variant:"brand",className:"mt-2 w-full",children:["Inizia con ",g.piano.nome," â"]})]})]},g.piano.nome)})})]})]})},"CalcVariantC",0,()=>
1{let[e,r]=(0,s.useState)(""),[l,o]=(0,s.useState)(""),c=k("both",e,l);return(0,t.jsx)("section",{className:"bg-brand",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 py-20 md:px-8",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)("span",{className:"font-mono text-xs uppercase tracking-widest text-white/50",children:"Calcolatore"}),(0,t.jsxs)("h2",{className:"mt-4 text-4xl font-medium tracking-tight text-white lg:text-5xl",children:["Quanto costa il tuo",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-bookli-03",children:"assistente AI?"})]}),(0,t.jsx)("p",{className:"mt-4 max-w-md text-sm text-white/60",children:"Inserisci i volumi mensili e scopri subito piano e prezzo."})]}),(0,t.jsxs)("div",{className:"mx-auto mt-12 max-w-md",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-2 block font-mono text-xs uppercase tracking-wider text-white/50",children:"Conv. WhatsApp/mese"}),(0,t.jsx)("input",{type:"number",min:"0",value:e,placeholder:"500",onChange:e=>r(e.target.value),className:"w-full rounded-xl border border-white/20 bg-white/10 px-4 py-4 font-mono text-xl font-bold text-white placeholder-white/30 focus:border-white/50 focus:outline-none",suppressHydrationWarning:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-2 block font-mono text-xs uppercase tracking-wider text-white/50",children:"Minuti chiamate/mese"}),(0,t.jsx)("input",{type:"number",min:"0",value:l,placeholder:"300",onChange:e=>o(e.target.value),className:"w-full rounded-xl border border-white/20 bg-white/10 px-4 py-4 font-mono text-xl font-bold text-white placeholder-white/30 focus:border-white/50 focus:outline-none",suppressHydrationWarning:!0})]})]}),(0,t.jsx)(n.AnimatePresence,{children:c.hasInput&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.35},className:"mt-8",children:c.overEnterprise?(0,t.jsxs)("div",{className:"rounded-2xl border border-white/20 bg-white/10 p-8 text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/50",children:"Piano consigliato"}),(0,t.jsx)("p",{className:"mt-2 text-3xl font-bold text-white",children:"Su Misura"}),(0,t.jsx)("p",{className:"mt-3 text-sm text-white/60",children:"I tuoi volumi superano l'Enterprise. Ti costruiamo una proposta su misura."}),(0,t.jsx)(x.Button,{as:a.default,href:"/contact",variant:"secondary",className:"mt-6 w-full",children:"Contattaci"})]}):(0,t.jsxs)("div",{className:"rounded-2xl border border-white/20 bg-white/10 p-8 text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/50",children:"Piano consigliato"}),(0,t.jsx)("p",{className:"mt-1 text-3xl font-bold text-white",children:c.piano.nome}),(0,t.jsx)("p",{className:"mt-4 text-6xl font-bold text-white",children:N(c.costTot)}),(0,t.jsx)("p",{className:"font-mono text-sm text-white/50",children:"/mese · IVA esclusa"}),(0,t.jsxs)("p",{className:"mt-4 text-sm text-white/70",children:["Piano ",c.piano.nome,": â¬",c.piano.costo,c.extraMin>0&&` + ${N(c.costTel)} chiamate extra`,0===c.extraMin&&c.piano.minutiInclusi>0&&` \xb7 ${c.piano.minutiInclusi} min inclusi`]}),(0,t.jsxs)(x.Button,{as:a.default,href:"/contact",variant:"secondary",className:"mt-6 w-full",children:["Inizia con ",c.piano.nome," â"]})]})})})]})]})})},"CalcVariantD",0,()=>
1{let[e,r]=(0,s.useState)(""),[o,h]=(0,s.useState)(""),g=k("both",e,o);return(0,t.jsxs)(l.Container,{className:"border-divide relative border-x px-4 py-16 md:px-8",children:[(0,t.jsx)(m.Dot,{top:!0,left:!0}),(0,t.jsx)(m.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"mb-8 flex items-end justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-mono text-xs uppercase tracking-widest text-brand",children:"Calcolatore"}),(0,t.jsx)(c.SectionHeading,{className:"mt-1",children:"Quanto pagheresti?"})]}),(0,t.jsx)(d.SubHeading,{as:"p",className:"hidden max-w-xs text-right md:block",children:"Inserisci i tuoi volumi, il resto lo facciamo noi."})]}),(0,t.jsx)(u.DivideX,{}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-4 lg:flex-row lg:items-end lg:gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4 sm:flex-row",children:[(0,t.jsx)(T,{label:"Conv. WhatsApp/mese",value:e,onChange:r,placeholder:"Es. 500"}),(0,t.jsx)(T,{label:"Minuti chiamate/mese",value:o,onChange:h,placeholder:"Es. 300"})]}),(0,t.jsx)("div",{className:"lg:shrink-0",children:(0,t.jsxs)(n.AnimatePresence,{mode:"wait",children:[!g.hasInput&&(0,t.jsx)(i.motion.p,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"pb-3 text-sm text-gray-400 dark:text-neutral-500",children:"â Compila i campi"},"empty"),g.hasInput&&g.overEnterprise&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:12},animate:{opacity:1,x:0},exit:{opacity:0},className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:"Piano"}),(0,t.jsx)("p",{className:"text-2xl font-bold text-charcoal-700 dark:text-white",children:"Su Misura"})]}),(0,t.jsx)(x.Button,{as:a.default,href:"/contact",variant:"brand",children:"Contattaci"})]},"custom"),g.hasInput&&!g.overEnterprise&&(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:12},animate:{opacity:1,x:0},exit:{opacity:0},transition:{duration:.2},className:"flex items-center gap-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:"Piano"}),(0,t.jsx)("p",{className:"text-2xl font-bold text-charcoal-700 dark:text-white",children:g.piano.nome})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-gray-500 dark:text-neutral-400",children:"Costo/mese"}),(0,t.jsx)("p",{className:"text-2xl font-bold text-brand",children:N(g.costTot)})]}),(0,t.jsx)(x.Button,{as:a.default,href:"/contact",variant:"brand",className:"shrink-0",children:"Inizia â"})]},g.piano.nome+g.costTot)]})})]}),(0,t.jsx)(n.AnimatePresence,{children:g.hasInput&&!g.overEnterprise&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.25},className:"mt-6 overflow-hidden",children:(0,t.jsxs)("div",{className:"flex items-center gap-2 overflow-x-auto pb-1",children:[v.map(e=>(0,t.jsxs)("div",{className:(0,p.cn)("flex shrink-0 items-center gap-2 rounded-full border px-4 py-1.5 transition-all duration-300",g.piano.nome===e.nome?"border-brand bg-brand/5 text-brand dark:bg-brand/10":"border-gray-200 text-gray-400 dark:border-neutral-700 dark:text-neutral-500"),children:[(0,t.jsx)("span",{className:"text-xs font-semibold",children:e.nome}),(0,t.jsxs)("span",{className:"font-mono text-[10px]",children:["â¬",e.costo,"/m"]})]},e.nome)),(0,t.jsx)("p",{className:"shrink-0 text-xs text-gray-400 dark:text-neutral-500",children:"· Piano ottimale evidenziato"})]})})})]})}],75846)},82758,e=>{"use strict";var t=e.i(43476),s=e.i(22016),a=e.i(48148),i=e.i(16204),n=e.i(77952),r=e.i(11531),l=e.i(47938),o=e.i(39118),c=e.i(72520),d=e.i(64659);e.s(["PricingHero",0,()=>{let e=(0,a.useTranslations)("PricingPage"),x=[e("perk1"),e("perk2"),e("perk3"),e("perk4")];return(0,t.jsxs)(i.Container,{className:"border-divide relative border-x px-4 py-20 md:px-8",children:[(0,t.jsx)(l.Dot,{top:!0,left:!0}),(0,t.jsx)(l.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-brand/20 bg-brand/5 px-3 py-1 font-mono text-xs font-medium text-brand dark:bg-brand/10",children:[(0,t.jsx)("span",{className:"size-1.5 rounded-full bg-brand"}),e("heroBadge")]}),(0,t.jsxs)("h1",{className:"mt-6 max-w-2xl text-4xl font-medium tracking-tight text-charcoal-700 dark:text-white md:text-5xl lg:text-6xl",children:[e("heroTitle")," ",(0,t.jsx)("span",{className:"text-brand",children:e("heroTitleEm")})]}),(0,t.jsx)("p",{className:"mt-5 max-w-lg text-base text-gray-500 dark:text-neutral-400",children:e("heroSubtitle")}),(0,t.jsx)("div",{className:"mt-8 flex flex-wrap justify-center gap-x-5 gap-y-2",children:x.map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(o.CheckIcon,{className:"size-4 shrink-0 text-brand"}),(0,t.jsx)("span",{className:"text-sm text-gray-600 dark:text-neutral-400",children:e})]},e))}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center gap-3 sm:flex-row",children:[(0,t.jsxs)(r.RegisterButton,{source:"pricing_hero",variant:"brand",className:"flex items-center gap-2",children:[e("ctaCreateAccount"),(0,t.jsx)(c.ArrowRight,{className:"size-4"})]}),(0,t.jsxs)(n.Button,{as:s.default,href:"#calcolatore",variant:"secondary",className:"flex items-center gap-2",children:[e("ctaCalculatePlan"),(0,t.jsx)(d.
1ChevronDown,{className:"size-4"})]})]})]})]})}])}]);
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.