PageSourceSearch

https://bookli.ai/_next/static/chunks/09pak~v7j0s0o.js

js bookli.ai collected 2026-10-05 11:51:29 UTC 72,541 bytes, 6 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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)},47938,e=>{"use strict";var t=e.i(43476),a=e.i(47163),i=e.i(71645),s=e.i(46932),n=e.i(63178);e.s(["Dot",0,e=>{let{top:r,left:l,right:o,bottom:c}=e,[d,m]=(0,i.useState)({x:0,y:0}),[x,u]=(0,i.useState)(!1),p=(0,i.useRef)(null);(0,i.useEffect)(()=>{let e=e=>{m({x:e.clientX,y:e.clientY})};return window.addEventListener("mousemove",e),()=>window.removeEventListener("mousemove",e)},[]),(0,i.useEffect)(()=>{if(p.current){let e=p.current.getBoundingClientRect(),t=e.left+e.width/2,a=e.top+e.height/2;u(100>=Math.sqrt(Math.pow(d.x-t,2)+Math.pow(d.y-a,2)))}},[d]);let{theme:h}=(0,n.useTheme)();return(0,t.jsx)(s.motion.div,{ref:p,className:(0,a.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:x?"var(--color-brand)":"var(--color-primary)",boxShadow:x?"0 0 20px var(--color-brand), 0 0 40px var(--color-brand)":"none",scale:x?1.5:1,borderRadius:x?"50%":"0%"},transition:{duration:.3,ease:"easeOut"}})}])},69470,e=>{"use strict";var t=e.i(43476),a=e.i(47163);e.s(["DivideX",0,e=>{let{className:i}=e;return(0,t.jsx)("div",{className:(0,a.cn)("bg-divide h-[1px] w-full",i)})}])},11531,e=>{"use strict";var t=e.i(43476),a=e.i(22016),i=e.i(77952),s=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)(i.Button,{as:a.default,href:c,variant:l,className:o,onClick:()=>(0,s.trackRegister)(r),children:n})}])},80499,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(47163);let n=a.default.memo(function(e){let{children:n,as:r="p",className:l,duration:o=2,spread:c=2}=e,d=i.motion.create(r),m=(0,a.useMemo)(()=>n.length*c,[n,c]);return(0,t.jsx)(d,{className:(0,s.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":`${m}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),a=e.i(80499);e.s(["Badge",0,e=>{let{text:i}=e;return(0,t.jsx)(a.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:i})}])},65412,e=>{"use strict";var t=e.i(43476),a=e.i(47163);e.s(["SubHeading",0,e=>{let{children:i,className:s,as:n="h2"}=e;return(0,t.jsx)(n,{className:(0,a.cn)("text-center text-sm font-medium tracking-tight text-gray-600 md:text-sm lg:text-base dark:text-gray-300",s),children:i})}])},48309,e=>{"use strict";var t=e.i(43476),a=e.i(47163);e.s(["SectionHeading",0,e=>{let{children:i,className:s}=e;return(0,t.jsx)("h2",{className:(0,a.cn)("text-charcoal-700 text-center text-2xl font-medium tracking-tight md:text-3xl lg:text-4xl dark:text-neutral-100",s),children:i})}])},52212,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(65412),s=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),m=e.i(88653),x=e.i(46932);function u(e,t){let a;return function(){for(var i=arguments.length,s=Array(i),n=0;n<i;n++)s[n]=arguments[n];window.clearTimeout(a),a=window.setTimeout(()=>e(...s),t)}}let p=["x","y","top","bottom","left","right","width","height"],h=e=>{let{rotated:a,className:i,...s}=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:i,...s,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:i,question:s,answer:n,isOpen:r,onToggle:l}=e,[o,{height:c}]=function(){var e,t,i;let{debounce:s,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,a.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}
1),m=(0,a.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c,orientationHandler:null}),x=s?"number"==typeof s?s:s.scroll:null,h=s?"number"==typeof s?s:s.resize:null,g=(0,a.useRef)(!1);(0,a.useEffect)(()=>(g.current=!0,()=>void(g.current=!1)));let[f,y,b]=(0,a.useMemo)(()=>{let e=()=>{let e,t;if(!m.current.element)return;let{left:a,top:i,width:s,height:n,bottom:r,right:o,x:c,y:x}=m.current.element.getBoundingClientRect(),u={left:a,top:i,width:s,height:n,bottom:r,right:o,x:c,y:x};m.current.element instanceof HTMLElement&&l&&(u.height=m.current.element.offsetHeight,u.width=m.current.element.offsetWidth),Object.freeze(u),g.current&&(e=m.current.lastBounds,t=u,!p.every(a=>e[a]===t[a]))&&d(m.current.lastBounds=u)};return[e,h?u(e,h):e,x?u(e,x):e]},[d,l,x,h]);function v(){m.current.scrollContainers&&(m.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",b,!0)),m.current.scrollContainers=null),m.current.resizeObserver&&(m.current.resizeObserver.disconnect(),m.current.resizeObserver=null),m.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",m.current.orientationHandler))}function j(){m.current.element&&(m.current.resizeObserver=new o(b),m.current.resizeObserver.observe(m.current.element),n&&m.current.scrollContainers&&m.current.scrollContainers.forEach(e=>e.addEventListener("scroll",b,{capture:!0,passive:!0})),m.current.orientationHandler=()=>{b()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",m.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",m.current.orientationHandler))}return e=b,t=!!n,(0,a.useEffect)(()=>{if(t)return window.addEventListener("scroll",e,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",e,!0)},[e,t]),i=y,(0,a.useEffect)(()=>(window.addEventListener("resize",i),()=>void window.removeEventListener("resize",i)),[i]),(0,a.useEffect)(()=>{v(),j()},[n,b,y]),(0,a.useEffect)(()=>v,[]),[e=>{e&&e!==m.current.element&&(v(),m.current.element=e,m.current.scrollContainers=function e(t){let a=[];if(!t||t===document.body)return a;let{overflow:i,overflowX:s,overflowY:n}=window.getComputedStyle(t);return[i,s,n].some(e=>"auto"===e||"scroll"===e)&&a.push(t),[...a,...e(t.parentElement)]}(e),j())},c,f]}(),d=(0,a.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-${i}`,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:s}),(0,t.jsx)(x.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)(h,{className:"dark:text-neutral-100"})})]}),(0,t.jsx)(x.motion.div,{id:`faq-panel-${i}`,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)(m.AnimatePresence,{mode:"popLayout",children:r&&(0,t.jsx)(x.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:m,subtitle:x}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=(0,d.useTranslations)("FAQs"),p=(0,d.useTranslations)("Common"),h=[{question:u("q1"),answer:u("a1")},{question:u("q2"),answer:u("a2")},{question:u("q3"),answer:u("a3")},{question:u("q4"),answer:u("a4")},{question:u("q5"),answer:u("a5")},{question:u("q6"),answer:u("a6")},{question:u("q7"),answer:u("a7")},{question:u("q8"),answer:u("a8")}],[f,y]=(0,a.useState)(new Set);return(0,t.jsxs)(s.Container,{className:"border-divide flex flex-col items-center border-x pt-12",children:[(0,t.jsx)(r.Badge,{text:u("badge")}),(0,t.jsx)(n.SectionHeading,{className:"mt-4",children:m??u("title")}),(0,t.jsx)(i.SubHeading,{as:"p",className:"mx-auto mt-6 max-w-lg px-2",children:x??u("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:p("startFree")}),(0,t.jsx)(l.Button,{as:c.Link,href:"/faq",variant:"secondary",className:"w-full sm:w-auto",children:p("allFaqs")})]}),(0,t.jsx)(o.DivideX,{}),(0,t.jsx)("div",{className:"divide-divide w-full divide-y",children:(e??h).map((e,a)=>(0,t.jsx)(g,{index:a,question:e.question,answer:e.answer,isOpen:f.has(a),onToggle:()=>{y(e=>{let t=new Set(e);return t.has(a)?t.delete(a):t.add(a),t})}},e.question))})]})}],52212)},87652,e=>{"use strict";var t=e.i(71645),a=e.i(49652);let i={some:0,all:1};e.s(["useInView",0,function(e){let{root:s,margin:n,amount:r,once:l=!1,initial:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[c,d]=(0,t.useState)(o);return(0,t.useEffect)(()=>
1{if(!e.current||l&&c)return;let t={root:s&&s.current||void 0,margin:n,amount:r};return function(e,t){let{root:s,margin:n,amount:r="some"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(0,a.resolveElements)(e),o=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let a=o.get(e.target);if(!!a!==e.isIntersecting)if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?o.set(e.target,a):c.unobserve(e.target)}else"function"==typeof a&&(a(e),o.delete(e.target))})},{root:s,rootMargin:n,threshold:"number"==typeof r?r:i[r]});return l.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),l?void 0:()=>d(!1)),t)},[s,e,n,l,r]),c}],87652)},43531,e=>{"use strict";let t=(0,e.i(75254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],43531)},39312,e=>{"use strict";let t=(0,e.i(75254).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",0,t],39312)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},84614,e=>{"use strict";let t=(0,e.i(75254).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,t],84614)},63488,e=>{"use strict";let t=(0,e.i(75254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],63488)},78583,e=>{"use strict";let t=(0,e.i(75254).default)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",0,t],78583)},33550,e=>{"use strict";var t=e.i(71645),a={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};e.s(["default",0,(e,i,s,n)=>{let r=(0,t.forwardRef)((s,r)=>{let{color:l="currentColor",size:o=24,stroke:c=2,title:d,className:m,children:x,...u}=s;return(0,t.createElement)("svg",{ref:r,...a[e],width:o,height:o,className:["tabler-icon",`tabler-icon-${i}`,m].join(" "),..."filled"===e?{fill:l}:{strokeWidth:c,stroke:l},...u},[d&&(0,t.createElement)("title",{key:"svg-title"},d),...n.map(e=>{let[a,i]=e;return(0,t.createElement)(a,i)}),...Array.isArray(x)?x:[x]])});return r.displayName=`${s}`,r}],33550)},58544,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(35382),n=e.i(91994),r=e.i(95420),l=e.i(48148);let o={stiffness:300,damping:30},c=e=>{let{initials:a,color:i}=e;return(0,t.jsx)("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-[11px] font-bold text-white",style:{background:i},children:a})},d=()=>(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07A19.5 19.5 0 0 1 4.07 12a19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 3 1.18h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L7.09 8.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 21 16.92z"})}),m=()=>(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)(i.motion.div,{className:"w-px bg-gradient-to-b from-brand to-transparent",initial:{height:0},animate:{height:32},transition:{duration:.4,delay:.3}}),(0,t.jsx)(i.motion.div,{className:"size-1.5 rounded-full bg-brand",initial:{opacity:0,scale:0},animate:{opacity:1,scale:1},transition:{duration:.2,delay:.7}})]}),x=e=>{let{name:l,agentLabel:d,description:m,color:x,initials:u,delay:p=0}=e,h=(0,a.useRef)(null),g=(0,s.useMotionValue)(0),f=(0,s.useMotionValue)(0),y=(0,n.use
1Spring)(g,o),b=(0,n.useSpring)(f,o),v=(0,r.useTransform)(y,[-.5,.5],[-12,12]),j=(0,r.useTransform)(b,[-.5,.5],[-12,12]);return(0,t.jsxs)(i.motion.div,{ref:h,initial:{y:-16,opacity:0},animate:{y:0,opacity:1},transition:{duration:.5,delay:p},className:"relative text-xs",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-10 m-auto rounded-lg border border-(--pattern-fg) bg-white bg-[image:repeating-linear-gradient(315deg,_var(--pattern-fg)_0,_var(--pattern-fg)_1px,_transparent_0,_transparent_50%)] bg-[size:10px_10px] bg-fixed dark:bg-neutral-900"}),(0,t.jsx)("div",{className:"absolute inset-x-0 -top-1.5 mx-auto size-3 rounded-full border-2 border-gray-300 bg-white dark:border-neutral-700 dark:bg-neutral-900"}),(0,t.jsxs)(i.motion.div,{onMouseMove:e=>{if(!h.current)return;let t=h.current.getBoundingClientRect();g.set((e.clientX-t.left-t.width/2)/t.width),f.set((e.clientY-t.top-t.height/2)/t.height)},onMouseLeave:()=>{g.set(0),f.set(0)},style:{translateX:v,translateY:j},className:"shadow-smooth relative z-20 flex w-52 shrink-0 flex-col rounded-lg bg-white dark:bg-neutral-900",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5 p-3 md:p-4",children:[(0,t.jsx)(c,{initials:u,color:x}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-semibold text-charcoal-700 dark:text-neutral-100",children:l}),(0,t.jsx)("span",{className:"font-mono text-[10px] text-gray-400",children:d})]})]}),(0,t.jsx)("div",{className:"border-t border-gray-100 px-3 py-2.5 dark:border-neutral-800",children:(0,t.jsx)("p",{className:"text-[11px] leading-snug text-gray-500 dark:text-neutral-400",children:m})})]})]})},u=e=>(0,t.jsxs)(i.motion.svg,{width:"128",height:"97",viewBox:"0 0 128 97",fill:"none",xmlns:"http://www.w3.org/2000/svg",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1},className:e.className,children:[(0,t.jsx)("mask",{id:"path-1-inside-v2-left",fill:"var(--color-line)",children:(0,t.jsx)("path",{d:"M127.457 0.0891113L127.576 95.9138L0.939007 96.0718L0.839368 16.2472C0.828338 7.41063 7.98283 0.238242 16.8194 0.227212L127.457 0.0891113Z"})}),(0,t.jsx)("path",{d:"M127.457 0.0891113L127.576 95.9138L127.457 0.0891113ZM-0.0609919 96.0731L-0.160632 16.2484C-0.172351 6.85959 7.4293 -0.761068 16.8181 -0.772787L16.8206 1.22721C8.53637 1.23755 1.82903 7.96166 1.83937 16.2459L1.93901 96.0706L-0.0609919 96.0731ZM-0.160632 16.2484C-0.172351 6.85959 7.4293 -0.761068 16.8181 -0.772787L127.455 -0.910888L127.458 1.08911L16.8206 1.22721C8.53637 1.23755 1.82903 7.96166 1.83937 16.2459L-0.160632 16.2484ZM127.576 95.9138L0.939007 96.0718L127.576 95.9138Z",fill:"#EAEDF1",mask:"url(#path-1-inside-v2-left)"}),(0,t.jsx)("path",{d:"M127.457 0.0891113L127.576 95.9138L127.457 0.0891113ZM-0.0609919 96.0731L-0.160632 16.2484C-0.172351 6.85959 7.4293 -0.761068 16.8181 -0.772787L16.8206 1.22721C8.53637 1.23755 1.82903 7.96166 1.83937 16.2459L1.93901 96.0706L-0.0609919 96.0731ZM-0.160632 16.2484C-0.172351 6.85959 7.4293 -0.761068 16.8181 -0.772787L127.455 -0.910888L127.458 1.08911L16.8206 1.22721C8.53637 1.23755 1.82903 7.96166 1.83937 16.2459L-0.160632 16.2484ZM127.576 95.9138L0.939007 96.0718L127.576 95.9138Z",fill:"url(#gradient-v2-left)",mask:"url(#path-1-inside-v2-left)"}),(0,t.jsx)("defs",{children:(0,t.jsxs)(i.motion.linearGradient,{id:"gradient-v2-left",initial:{x1:"100%",x2:"90%",y1:"90%",y2:"80%"},animate:{x1:"20%",x2:"0%",y1:"90%",y2:"220%"},transition:{duration:5,repeat:1/0,repeatDelay:2},gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"var(--color-line)",stopOpacity:"0.5",offset:"0"}),(0,t.jsx)("stop",{stopColor:"#5787FF",stopOpacity:"1",offset:"0.5"}),(0,t.jsx)("stop",{stopColor:"var(--color-line)",stopOpacity:"0",offset:"1"})]})})]}),p=e=>(0,t.jsxs)(i.motion.svg,{width:"128",height:"96",viewBox:"0 0 128 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1},className:e.className,children:[(0,t.jsx)("mask",{id:"path-1-inside-v2-right",fill:"var(--color-line)",children:(0,t.jsx)("path",{d:"M0.619629 0L0.500018 95.8247L127.137 95.9827L127.237 16.1581C127.248 7.32152 120.093 0.149131 111.257 0.138101L0.619629 0Z"})}),(0,t.jsx)("path",{d:"M0.619629 0L0.500018 95.8247L0.619629 0ZM128.137 95.984L128.237 16.1593C128.249 6.77047 120.647 -0.850179 111.258 -0.861898L111.256 1.1381C119.54 1.14844 126.247 7.87255 126.237 16.1568L126.137 95.9815L128.137 95.984ZM128.237 16.1593C128.249 6.77047 120.647 -0.850179 111.258 -0.861898L0.620877 -0.999999L0.618381 0.999999L111.256 1.1381C119.54 1.14844 126.247 7.87255 126.237 16.1568L128.237 16.1593ZM0.500018 95.8247L127.137 95.9827L0.500018 95.8247Z",fill:"#EAEDF1",mask:"url(#path-1-inside-v2-right)"}),(0,t.jsx)("path",{d:"M0.619629 0L0.500018 95.8247L0.619629 0ZM128.137 95.984L128.237 16.1593C128.249 6.77047 120.647 -0.850179 111.258 -0.861898L111.256 1.1381C119.54 1.14844 126.247 7.87255 126.237 16.1568L126.137 95.9815L128.137 95.984ZM128.237 16.1593C128.249 6.77047 120.647 -0.850179 111.258 -0.861898L0.620877 -0.999999L0.618381 0.999999L111.256 1.1381C119.54 1.14844 126.247 7.87255 126.237 16.1568L128.237 16.1593ZM0.500018 95.8247L127.137 95.9827L0.500018 95.8247Z",fill:"url(#gradient-v2-right)",mask:"url(#path-1-inside-v2-right)"}),(0,t.jsx)("defs",{children:(0,t.jsxs)(i.motion.linearGradient,{id:"gradient-v2-right",initial:{x1:"-10%",x2:"0%",y1:"0%",y2:"0%"},animate:{x1:"100%",x2:"110%",y1:"110%",y2:"140%"},transition:{duration:5,repeat:1/0,repeatDelay:2},gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"white",stopOpacity:"0.5",offset:"0"}),(0,t.jsx)("stop",{stopColor:"#F17463",stopOpacity:"1",offset:"0.5"}),(0,t.jsx)("stop",{stopColor:"white",stopOpacity:"0",offset:"1"})]})})]}),h=e=>(0,t.jsxs)(i.motion.svg,{width:"2",height:"56",viewBox:"0 0 2 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:1},className:e.className,children:[(0,t.jsx)("line",{x1:"1",y1:"56",x2:"1",stroke:"var(--color-line)",strokeWidth:"2"}),(0,t.jsx)("line",{x1:"1",y1:"56",x2:"1",stroke:"url(#gradient-v2-center)",strokeWidth:"1"}),(0,t.jsx)("defs",{children:(0,t.jsxs)(i.motion.linearGradient,{id:"gradient-v2-center",initial:{x1:"0%",x2:"0%",y1:"-100%",y2:"-90%"},animate:{x1:"0%",x2:"0%",y1:"90%",y2:"100%"},transition:{duration:5,repeat:1/0,repeatDelay:2},gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"var(--color-line)",stopOpacity:"1",offset:"0"}),(0,t.jsx)("stop",{stopColor:"#F17463",stopOpacity:"0.5",offset:"0.5"}),(0,t.jsx)("stop",{stopColor:"#F17463",stopOpacity:"0",offset:"1"})]})})]});e.s(["CallRoutingSkeleton",0,()=>{let e=(0,l.useTranslations)("CallRouting");return(0,t.jsxs)("div",{className:"relative mt-8 flex flex-col items-center",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-30 w-8 bg-gradient-to-r from-white to-transparent dark:from-neutral-900 sm:w-12"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 z-30 w-8 bg-gradient-to-l from-white to-transparent dark:from-neutral-900 sm:w-12"}),(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4},className:"flex items-center gap-2 rounded-full border border-brand/30 bg-brand/5 px-4 py-2 text-xs font-medium text-brand",children:[(0,t.jsx)(i.motion.span,{animate:{scale:[1,1.25,1]},transition:{duration:1.2,repeat:1/0},children:(0,t.jsx)(d,{})}),e("incomingCall"),(0,t.jsx)(i.motion.span,{className:"size-2 rounded-full bg-brand",animate:{opacity:[1,.3,1]},transition:{duration:1,repeat:1/0}})]}),(0,t.jsx)(m,{}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(x,{name:"Sara AI",agentLabel:e("receptionist"),description:e("receptionistDesc"),color:"var(--color-brand)",initials:"SA"}),(0,t.jsx)(u,{className:"absolute top-12 -left-32"}),(0,t.jsx)(p,{className:"absolute top-12 -right-32"}),(0,t.jsx)(h,{className:"absolute top-24 right-[107px]"})]}),(0,t.jsxs)("div",{className:"mt-12 flex flex-row gap-4.5",children:[(0,t.jsx)(x,{name:"Marco AI",agentLabel:e("administration"),description:e("administrationDesc"),color:"#6366f1",initials:"MA",delay:.2}),(0,t.jsx)(x,{name:"Giulia AI",agentLabel:e("purchasing"),description:e("purchasingDesc"),color:"#f59e0b",initials:"GI",delay:.4}),(0,t.jsx)(x,{name:"Luca AI",agentLabel:e("support"),description:e("supportDesc"),color:"#10b981",initials:"LU",delay:.6})]})]})}])},58041,e=>{"use strict";let t=(0,e.i(75254).default)("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);e.s(["Database",0,t],58041)},14052,e=>{"use strict";let t=(0,e.i(75254).default)("phone-off",[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 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 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 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 .244.473",key:"10hv5p"}]]);e.s(["PhoneOff",0,t],14052)},63453,e=>{"use strict";let t=(0,e.i(75254).default)("phone-forwarded",[["path",{d:"M14 6h8",key:"yd68k4"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["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(["PhoneForwarded",0,t],63453)},51804,55436,e=>{"use strict";var t=e.i(75254);let a=(0,t.default)("calendar-check",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);e.s(["CalendarCheck",0,a],51804);let i=(0,t.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",0,i],55436)},67585,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"BailoutToCSR",{enumerable:!0,get:function(){return s}});let i=e.r(32061);function s(e){let{reason:t,children:a}=e;if("u"<typeof window)throw Object.defineProperty(new i.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,
1configurable:!0});return a}},9885,(e,t,a)=>{"use strict";function i(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"encodeURIPath",{enumerable:!0,get:function(){return i}})},52157,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"PreloadChunks",{enumerable:!0,get:function(){return o}});let i=e.r(43476),s=e.r(74080),n=e.r(63599),r=e.r(9885),l=e.r(43369);function o(e){let{moduleIds:t}=e;if("u">typeof window)return null;let a=n.workAsyncStorage.getStore();if(void 0===a)return null;let o=[];if(a.reactLoadableManifest&&t){let e=a.reactLoadableManifest;for(let a of t){if(!e[a])continue;let t=e[a].files;o.push(...t)}}if(0===o.length)return null;let c=(0,l.getAssetTokenQuery)();return(0,i.jsx)(i.Fragment,{children:o.map(e=>{let t=`${a.assetPrefix}/_next/${(0,r.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,i.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:a.nonce},e):((0,s.preload)(t,{as:"script",fetchPriority:"low",nonce:a.nonce}),null)})})}},89923,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.s(["YouTubeFacade",0,function(e){let{videoId:i,title:s}=e,[n,r]=(0,a.useState)(!1),l=(0,a.useCallback)(()=>{r(!0)},[]);return n?(0,t.jsx)("iframe",{src:`https://www.youtube.com/embed/${i}?autoplay=1&rel=0&modestbranding=1`,title:s,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 h-full w-full rounded-xl"}):(0,t.jsxs)("button",{type:"button",onClick:l,"aria-label":`Riproduci video: ${s}`,className:"group absolute inset-0 flex h-full w-full cursor-pointer items-center justify-center rounded-xl border-0 bg-black p-0",children:[(0,t.jsx)("img",{src:`https://i.ytimg.com/vi/${i}/sddefault.jpg`,alt:s,loading:"eager",decoding:"async",fetchPriority:"high",width:640,height:480,className:"absolute inset-0 h-full w-full rounded-xl object-cover"}),(0,t.jsx)("div",{className:"relative z-10 flex h-16 w-16 items-center justify-center rounded-full bg-red-600 shadow-lg transition-transform group-hover:scale-110 md:h-20 md:w-20",children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"white",className:"ml-1 h-7 w-7 md:h-9 md:w-9",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})]})}])},78917,e=>{"use strict";let t=(0,e.i(75254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",0,t],78917)},66144,e=>{"use strict";var t=e.i(43476),a=e.i(57688),i=e.i(16204),s=e.i(48309),n=e.i(65412),r=e.i(58299),l=e.i(69470),o=e.i(47938),c=e.i(78917),d=e.i(48148);e.s(["AiOpinions",0,function(){let e=(0,d.useTranslations)("AiOpinions"),m=encodeURIComponent(e("aiContext")),x=[{name:"ChatGPT",colorLogo:"/ai/chatgpt-color.png",whiteLogo:"/ai/chatgpt-white.png",url:`https://chatgpt.com/?q=${m}`},{name:"Claude",colorLogo:"/ai/claude-color.svg",whiteLogo:"/ai/claude-white.png",url:`https://claude.ai/new?q=${m}`},{name:"Perplexity",colorLogo:"/ai/perplexity-color.png",whiteLogo:"/ai/perplexity-white.avif",url:`https://www.perplexity.ai/search?q=${m}`},{name:"Gemini",colorLogo:"/ai/gemini-color.png",whiteLogo:"/ai/gemini-white.png",url:`https://gemini.google.com/app?q=${m}`},{name:"Copilot",colorLogo:"/ai/copilot-color.png",whiteLogo:"/ai/copilot-white.png",url:`https://copilot.microsoft.com/?q=${m}`}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.DivideX,{}),(0,t.jsxs)(i.Container,{className:"border-divide relative border-x px-4 py-16 md:px-8 md:py-20",children:[(0,t.jsx)(o.Dot,{top:!0,left:!0}),(0,t.jsx)(o.Dot,{top:!0,right:!0}),(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-gray-100 bg-gray-50 px-6 py-16 text-center dark:border-neutral-800 dark:bg-neutral-900",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,t.jsx)(r.Badge,{text:e("badge")}),(0,t.jsxs)(s.SectionHeading,{className:"mt-4",children:[e("titleStart")," ",(0,t.jsx)("span",{className:"text-brand",children:e("titleHighlight")})]}),(0,t.jsx)(n.SubHeading,{as:"p",className:"mx-auto mt-4 max-w-lg",children:e("subtitle")}),(0,t.jsx)("div",{className:"mt-10 grid grid-cols-2 gap-4 sm:grid-cols-3 md:grid-cols-5",children:x.map(e=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group flex flex-col items-center gap-3 rounded-xl border border-gray-200 bg-white p-5 transition hover:border-brand/30 hover:shadow-lg dark:border-neutral-700 dark:bg-neutral-800 dark:hover:border-brand/30",children:[(0,t.jsxs)("div",{className:"relative size-10 transition group-hover:scale-110",children:[(0,t.jsx)(a.default,{src:e.colorLogo,alt:e.name,fill:!0,className:"object-contain dark:hidden",unoptimized:!0}),(0,t.jsx)(a.default,{src:e.whiteLogo,alt:e.name,fill:!0,className:"hidden object-contain dark:block",unoptimized:!0})]}),(0,t.jsx)("span",{className:"text-xs font-medium text-gray-600 dark:text-neutral-400",children:e.name}),(0,t.jsx)(c.ExternalLink,{className:"size-3.5 text-gray-500 transition group-hover:text-brand dark:text-neutral-400"})]},e.name))})]})})})]})]})}])},96511,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(43432),s=e.i(84614),n=e.i(43531);
1let r=(0,e.i(75254).default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);var l=e.i(31278),o=e.i(43082),c=e.i(48148);function d(e){let{onComplete:i,label:s}=e,[n,r]=(0,a.useState)(3),l=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(l.current)return;let e=t=>{if(r(t),0===t){l.current=!0,i();return}setTimeout(()=>e(t-1),750)};e(3)},[i]),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 px-8 py-12 text-center",children:[(0,t.jsx)("p",{className:"font-mono text-xs uppercase tracking-widest text-white/40",children:s}),(0,t.jsx)("span",{className:"text-7xl font-medium tracking-tight text-bookli-04",children:n})]})}e.s(["CallMeForm",0,function(){let e=(0,c.useTranslations)("CallMeForm"),[m,x]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,g]=(0,a.useState)("idle"),f=async e=>{e.preventDefault(),g("loading");let t=u.startsWith("+")?u:`+39${u.replace(/\s/g,"")}`;try{if(!(await fetch("/api/chiamata",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({full_name:m.trim(),phone:t,email:`${Date.now()}@mail.com`})})).ok)throw Error();(0,o.trackEvent)("generate_lead",{event_category:"chiamata",event_label:"call_me_form",value:1}),(0,o.ttqTrack)("Contact",{content_id:"call_me_form",content_name:"Chiamami ora"}),(0,o.ttqIdentify)({phone:t}),g("countdown")}catch{(0,o.trackEvent)("form_error",{event_category:"chiamata",event_label:"call_me_form"}),g("error")}};return(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-2xl bg-bookli-01 px-6 py-16",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,t.jsx)("div",{className:"absolute left-1/2 top-0 h-72 w-72 -translate-x-1/2 -translate-y-1/3 rounded-full bg-bookli-04 opacity-15 blur-[80px]"})}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-md",children:[(0,t.jsxs)("div",{className:"mb-8 flex flex-col items-center gap-3 text-center",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-bookli-04/30 bg-bookli-04/10 px-3 py-1.5",children:[(0,t.jsxs)("span",{className:"relative flex h-1.5 w-1.5",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-bookli-04 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-bookli-04"})]}),(0,t.jsx)("span",{className:"font-mono text-xs text-bookli-04",children:e("availableBadge")})]}),(0,t.jsxs)("h3",{className:"text-2xl font-medium tracking-tight text-white md:text-3xl",children:[e("title"),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-bookli-04",children:e("titleHighlight")})]}),(0,t.jsx)("p",{className:"text-sm text-white/50",children:e("description")})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-white/10 bg-white/5 backdrop-blur-sm",children:"countdown"===h?(0,t.jsx)(d,{onComplete:()=>g("success"),label:e("countdownLabel")}):"success"===h?(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 px-8 py-12 text-center",children:[(0,t.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-bookli-04/20 ring-1 ring-bookli-04/40",children:(0,t.jsx)(n.Check,{className:"size-7 text-bookli-04"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-white",children:e("callIncoming")}),(0,t.jsxs)("p",{className:"mt-1 text-sm text-white/50",children:["+39 ",u]})]}),(0,t.jsx)("button",{onClick:()=>{g("idle"),x(""),p("")},className:"font-mono text-xs text-white/30 transition hover:text-white/70",children:e("differentNumber")})]}):(0,t.jsxs)("form",{onSubmit:f,className:"space-y-4 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block font-mono text-xs text-white/40",children:e("nameLabel")}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 rounded-xl border border-white/10 bg-white/5 px-4 py-3 transition focus-within:border-bookli-04/50 focus-within:bg-white/10",children:[(0,t.jsx)(s.User,{className:"size-4 shrink-0 text-white/20"}),(0,t.jsx)("input",{required:!0,value:m,onChange:e=>x(e.target.value),placeholder:e("namePlaceholder"),disabled:"loading"===h,className:"w-full bg-transparent text-sm text-white outline-none placeholder:text-white/20 disabled:opacity-50"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"mb-1.5 block font-mono text-xs text-white/40",children:e("phoneLabel")}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 rounded-xl border border-white/10 bg-white/5 px-4 py-3 transition focus-within:border-bookli-04/50 focus-within:bg-white/10",children:[(0,t.jsx)(i.Phone,{className:"size-4 shrink-0 text-white/20"}),(0,t.jsx)("span",{className:"shrink-0 border-r border-white/10 pr-3 font-mono text-sm text-white/30",children:e("phonePrefix")}),(0,t.jsx)("input",{required:!0,value:u,onChange:e=>p(e.target.value.replace(/[^\d\s]/g,"")),placeholder:e("phonePlaceholder"),disabled:"loading"===h,className:"w-full bg-transparent font-mono text-sm tracking-wide text-white outline-none placeholder:text-white/20 disabled:opacity-50"})]})]}),"error"===h&&(0,t.jsxs)("p",{className:"flex items-center gap-1.5 rounded-lg border border-red-500/20 bg-red-500/10 px-3 py-2 text-xs text-red-400",children:[(0,t.jsx)(r,{className:"size-3.5 shrink-0"})," ",e("errorMessage")]}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===h||!m.trim()||!u.trim(),className:"flex w-full items-center justify-center gap-2 rounded-xl bg-bookli-04 py-3.5 text-sm font-semibold text-bookli-01 transition hover:bg-bookli-03 active:scale-[0.98] disabled:opacity-40",children:"loading"===h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.L
1oader2,{className:"size-4 animate-spin"}),(0,t.jsx)("span",{children:e("connecting")})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Phone,{className:"size-4"}),(0,t.jsx)("span",{children:e("callMeNow")})]})})]})}),(0,t.jsx)("div",{className:"mt-4 flex flex-wrap justify-center gap-x-5 gap-y-1",children:[e("trustNoCost"),e("trustGDPR"),e("trustNoData")].map(e=>(0,t.jsxs)("span",{className:"flex items-center gap-1 font-mono text-[10px] text-white/25",children:[(0,t.jsx)("span",{className:"text-bookli-04",children:"·"})," ",e]},e))}),(0,t.jsxs)("p",{className:"mt-3 text-center font-mono text-[11px] text-white/25",children:[e("privacyText")," ",(0,t.jsx)("a",{href:"/legal/privacy-policy-sito",className:"text-bookli-04/60 underline underline-offset-2 transition hover:text-bookli-04",children:e("privacyLink")})," ",e("privacySuffix")]})]})]})}],96511)},42535,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(87652),n=e.i(16204),r=e.i(47938),l=e.i(48148);e.s(["ClientQuoteReveal",0,function(){let e=(0,l.useTranslations)("ClientQuoteReveal"),o=(0,a.useRef)(null),c=(0,s.useInView)(o,{once:!0,margin:"-80px"}),d=e("quote").split(" ");return(0,t.jsxs)("section",{className:"relative overflow-hidden",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,t.jsx)("div",{className:"absolute left-1/2 top-1/2 h-[500px] w-[500px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-brand opacity-[0.03] blur-[120px]"})}),(0,t.jsxs)(n.Container,{className:"border-divide relative border-x px-4 py-20 md:px-8 md:py-28",children:[(0,t.jsx)(r.Dot,{top:!0,left:!0}),(0,t.jsx)(r.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{ref:o,className:"mx-auto max-w-3xl text-center",children:[(0,t.jsx)(i.motion.p,{initial:{opacity:0}
1,animate:c?{opacity:1}:{},transition:{duration:.4},className:"mb-6 font-mono text-xs font-semibold uppercase tracking-widest text-brand",children:e("badge")}),(0,t.jsx)("p",{className:"text-2xl font-medium leading-relaxed tracking-tight text-charcoal-900 md:text-3xl md:leading-relaxed dark:text-white",children:d.map((e,a)=>(0,t.jsx)(i.motion.span,{initial:{opacity:.08},animate:c?{opacity:1}:{opacity:.08},transition:{duration:.35,delay:.045*a},className:"mr-[0.3em] inline-block",children:e},a))})]})]})]})}])},10719,e=>{"use strict";var t=e.i(43476),a=e.i(16204),i=e.i(69470),s=e.i(47938),n=e.i(57688),r=e.i(56904),l=e.i(48148);let o="https://www.lastampa.it/alessandria/2025/08/06/news/centralino_intelligenza_artificiale_aziende_alessandro_casella_sabri_fehri_prima_italia-15260207/";e.s(["Testimonials",0,()=>{let e=(0,l.useTranslations)("Testimonials"),c=(0,l.useTranslations)("Common");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Container,{className:"border-divide border-x",children:(0,t.jsx)("h2",{className:"pt-20 pb-10 text-center font-mono text-sm tracking-tight text-neutral-500 uppercase dark:text-neutral-400",children:e("heading")})}),(0,t.jsx)(i.DivideX,{}),(0,t.jsxs)(a.Container,{className:"border-divide relative border-x",children:[(0,t.jsx)(s.Dot,{top:!0,left:!0}),(0,t.jsx)(s.Dot,{top:!0,right:!0}),(0,t.jsx)(s.Dot,{bottom:!0,left:!0}),(0,t.jsx)(s.Dot,{bottom:!0,right:!0}),(0,t.jsxs)("div",{className:"grid grid-cols-1 items-stretch bg-gray-100 md:grid-cols-12 dark:bg-neutral-800",children:[(0,t.jsx)("div",{className:"relative md:col-span-5 md:h-[28rem]",children:(0,t.jsx)(n.default,{src:"/press/lastampa.jpg",alt:"Alessandro Casella e Sabri Fehri — fondatori di Bookli",fill:!0,sizes:"(max-width: 768px) 100vw, 42vw",className:"object-cover",loading:"lazy",draggable:!1})}),(0,t.jsxs)("div",{className:"flex flex-col justify-between gap-6 px-6 py-10 md:col-span-7 md:px-10 md:py-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.Link,{href:o,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(n.default,{src:"https://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/La_Stampa.svg/1280px-La_Stampa.svg.png",alt:"La Stampa",width:120,height:20,className:"h-5 w-auto object-contain opacity-60 transition hover:opacity-100 dark:invert",loading:"lazy"})}),(0,t.jsx)("p",{className:"mt-2 font-mono text-[10px] uppercase tracking-widest text-gray-400",children:e("date")}),(0,t.jsx)("blockquote",{className:"text-charcoal-900 mt-6 text-xl font-medium leading-relaxed md:text-2xl dark:text-neutral-100",children:e("blockquote")})]}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"h-px flex-1 bg-gray-200 dark:bg-neutral-700"}),(0,t.jsx)(r.Link,{href:o,target:"_blank",rel:"noopener noreferrer",className:"shrink-0 text-xs font-medium text-brand transition hover:underline",children:c("readArticle")})]})]})]})]})]})}])},10435,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(87652),n=e.i(16204),r=e.i(47938),l=e.i(58544),o=e.i(88059),c=e.i(56904),d=e.i(72520),m=e.i(48148);e.s(["ExploreSection",0,function(){let e=(0,m.useTranslations)("ExploreSection"),x=(0,m.useTranslations)("Common"),u=(0,a.useRef)(null),p=(0,s.useInView)(u,{once:!0,margin:"-80px"});return(0,t.jsxs)(n.Container,{className:"border-divide relative border-x px-4 py-16 md:px-8 md:py-24",children:[(0,t.jsx)(r.Dot,{top:!0,left:!0}),(0,t.jsx)(r.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{ref:u,className:"flex flex-col items-center text-center",children:[(0,t.jsx)(i.motion.span,{initial:{opacity:0}
1,animate:p?{opacity:1}:{},className:"font-mono text-xs font-semibold uppercase tracking-widest text-brand",children:e("badge")}),(0,t.jsxs)(i.motion.h2,{initial:{opacity:0,y:12},animate:p?{opacity:1,y:0}:{},transition:{duration:.5,delay:.05},className:"mt-3 max-w-xl text-3xl font-medium leading-[1.15] tracking-tight text-charcoal-900 md:text-4xl dark:text-white",children:[e("titleStart")," ",(0,t.jsx)("span",{className:"text-brand",children:e("titleHighlight")})]}),(0,t.jsx)(i.motion.p,{initial:{opacity:0,y:12},animate:p?{opacity:1,y:0}:{},transition:{duration:.5,delay:.1},className:"mx-auto mt-4 max-w-lg text-sm leading-relaxed text-gray-600 dark:text-neutral-400",children:e("description")})]}),(0,t.jsxs)("div",{className:"mt-16 flex flex-col gap-20",children:[(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},animate:p?{opacity:1,y:0}:{},transition:{duration:.5,delay:.15},className:"grid grid-cols-1 items-center gap-8 md:grid-cols-12 md:gap-14",children:[(0,t.jsxs)("div",{className:"md:col-span-5",children:[(0,t.jsx)("span",{className:"font-mono text-[10px] font-semibold uppercase tracking-widest text-brand",children:e("inboundTag")}),(0,t.jsxs)("h3",{className:"mt-4 text-2xl font-medium leading-[1.2] tracking-tight text-charcoal-900 md:text-3xl dark:text-white",children:[e("inboundTitleStart")," ",(0,t.jsx)("span",{className:"text-brand",children:e("inboundTitleHighlight")})]}),(0,t.jsx)("p",{className:"mt-4 max-w-sm text-sm leading-relaxed text-gray-600 dark:text-neutral-400",children:e("inboundDescription")}),(0,t.jsxs)(c.Link,{href:"/inbound",className:"mt-6 inline-flex w-fit items-center gap-2 rounded-lg bg-brand px-5 py-2.5 text-sm font-medium text-white transition-all hover:bg-brand/90",children:[x("discoverInbound"),(0,t.jsx)(d.ArrowRight,{className:"size-3.5"})]})]}),(0,t.jsx)("div",{className:"md:col-span-7 w-full overflow-hidden scale-[0.85] origin-center",children:(0,t.jsx)(l.CallRoutingSkeleton,{})})]}),(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},animate:p?{opacity:1,y:0}:{},transition:{duration:.5,delay:.2},className:"grid grid-cols-1 items-center gap-8 md:grid-cols-12 md:gap-14",children:[(0,t.jsx)("div",{className:"order-2 md:order-1 md:col-span-7",children:(0,t.jsx)(o.OutboundCampaignUpload,{})}),(0,t.jsxs)("div",{className:"order-1 md:order-2 md:col-span-5",children:[(0,t.jsx)("span",{className:"font-mono text-[10px] font-semibold uppercase tracking-widest text-brand",children:e("outboundTag")}),(0,t.jsxs)("h3",{className:"mt-4 text-2xl font-medium leading-[1.2] tracking-tight text-charcoal-900 md:text-3xl dark:text-white",children:[e("outboundTitleStart")," ",(0,t.jsx)("span",{className:"text-brand",children:e("outboundTitleHighlight")})]}),(0,t.jsx)("p",{className:"mt-4 max-w-sm text-sm leading-relaxed text-gray-600 dark:text-neutral-400",children:e("outboundDescription")}),(0,t.jsxs)(c.Link,{href:"/outbound",className:"mt-6 inline-flex w-fit items-center gap-2 rounded-lg bg-brand px-5 py-2.5 text-sm font-medium text-white transition-all hover:bg-brand/90",children:[x("discoverOutbound"),(0,t.jsx)(d.ArrowRight,{className:"size-3.5"})]})]})]})]})]})}])},96352,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(87652),n=e.i(16204),r=e.i(47938),l=e.i(88653),o=e.i(14052),c=e.i(39312),d=e.i(72520),m=e.i(63453),x=e.i(51804),u=e.i(63488),p=e.i(58041),h=e.i(55436),g=e.i(78583),f=e.i(48148);function y(){let e=(0,f.useTranslations)("PlatformDemos"),s=[{from:"agent",text:e("transcript1")},{from:"client",text:e("transcript2")},{from:"agent",text:e("transcript3")},{from:"client",text:e("transcript4")},{from:"agent",text:e("transcript5")},{from:"client",text:e("transcript6")},{from:"agent",text:e("transcript7")},{from:"client",text:e("transcript8")}],[n,r]=(0,a.useState)(0),[c,d]=(0,a.useState)(0),[m,x]=(0,a.useState)(!1),[u,p]=(0,a.useState)(!1),h=(0,a.useRef)(null),g=(0,a.useRef)(null),y=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=setTimeout(()=>p(!0),600);return()=>clearTimeout(e)},[]),(0,a.useEffect)(()=>{if(u&&!m)return y.current=setInterval(()=>d(e=>e+1),1e3),g.current=setInterval(()=>{r(e=>e>=s.length?(clearInterval(g.current),e):e+1)},1800),()=>{clearInterval(y.current),clearInterval(g.current)}},[u,m]),(0,a.useEffect)(()=>{h.current&&(h.current.scrollTop=h.current.scrollHeight)},[n]);let b=String(Math.floor(c/60)).padStart(2,"0"),v=String(c%60).padStart(2,"0");return(0,t.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-xl border border-gray-200 bg-white shadow-lg",style:{height:320},children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-100 px-4 py-2.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[!m&&(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-yellow-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-yellow-400"})]}),(0,t.jsx)("span",{className:"font-mono text-[11px] font-semibold text-yellow-500",children:m?(0,t.jsx)("span",{className:"text-gray-400",children:e("endedLabel")}):e("inProgressLabel")}),(0,t.jsxs)("span",{className:"font-mono text-[11px] text-gray-500",children:[b,":",v]})]}),!m&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:`
2              @keyframes redpulse {
3                0%, 100% { background-color: #dc2626; box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
4                50% { background-color: #fca5a5; box-shadow: 0 0 0 6px rgba(220,38,38,0); }
5              }
6            `}),(0,t.jsxs)("button",{onClick:()=>{x(!0),clearInterval(y.current),clearInterval(g.current)},style:{animation:"redpulse 1.2s ease-in-out infinite"},className:"flex items-center gap-1.5 rounded-md px-3 py-1.5 font-mono text-[10px] font-semibold text-white active:scale-95",children:[(0,t.jsx)(o.PhoneOff,{className:"h-3 w-3"}),e("endCallBtn")]})]})]}),(0,t.jsx)("div",{ref:h,className:"relative flex-1 space-y-2 overflow-y-auto p-4",style:{maxHeight:260},children:m?(0,t.jsxs)(i.motion.div,{initial:{opacity:0}
6,animate:{opacity:1},className:"flex h-full flex-col items-center justify-center gap-3 py-8",children:[(0,t.jsx)(o.PhoneOff,{className:"h-6 w-6 text-gray-300"}),(0,t.jsx)("p",{className:"font-mono text-xs text-gray-400",children:e("conversationEnded")}),(0,t.jsx)("button",{onClick:()=>{x(!1),r(0),d(0),p(!1),setTimeout(()=>p(!0),300)},className:"rounded-full border border-gray-200 px-3 py-1 font-mono text-[10px] text-gray-400 transition hover:border-gray-400 hover:text-gray-600",children:e("restartBtn")})]}):(0,t.jsx)(l.AnimatePresence,{children:s.slice(0,n).map((a,s)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.3},className:`flex flex-col gap-0.5 ${"agent"===a.from?"items-end":"items-start"}`,children:[(0,t.jsx)("span",{className:"font-mono text-[9px] uppercase tracking-wider text-gray-400",children:"agent"===a.from?e("agentLabel"):e("clientLabel")}),(0,t.jsx)("div",{className:`max-w-[85%] rounded-xl px-3 py-2 text-xs leading-snug ${"agent"===a.from?"bg-bookli-04/15 text-bookli-01":"bg-gray-100 text-gray-700"}`,children:a.text})]},s))})})]})}function b(){let e=(0,f.useTranslations)("PlatformDemos"),a=[{rule:e("scenario1Rule"),actions:[{name:e("scenario1Action1Name"),desc:e("scenario1Action1Desc"),icon:x.CalendarCheck,iconCls:"bg-green-100 text-green-600"},{name:e("scenario1Action2Name"),desc:e("scenario1Action2Desc"),icon:u.Mail,iconCls:"bg-purple-100 text-purple-600"},{name:e("scenario1Action3Name"),desc:e("scenario1Action3Desc"),icon:p.Database,iconCls:"bg-blue-100 text-blue-600"}]},{rule:e("scenario2Rule"),actions:[{name:e("scenario2Action1Name"),desc:e("scenario2Action1Desc"),icon:h.Search,iconCls:"bg-blue-100 text-blue-600"},{name:e("scenario2Action2Name"),desc:e("scenario2Action2Desc"),icon:g.FileText,iconCls:"bg-green-100 text-green-600"},{name:e("scenario2Action3Name"),desc:e("scenario2Action3Desc"),icon:m.PhoneForwarded,iconCls:"bg-slate-100 text-slate-600"}]}];return(0,t.jsx)("div",{className:"grid grid-cols-1 gap-3",children:a.map((e,a)=>(0,t.jsxs)("div",{className:"rounded-xl border border-gray-200 bg-white p-3 shadow-lg",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2.5 rounded-lg border border-gray-200 bg-gray-50 p-3",children:[(0,t.jsx)("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg bg-gray-200 text-gray-500",children:(0,t.jsx)(c.Zap,{className:"h-3.5 w-3.5"})}),(0,t.jsxs)("p",{className:"text-xs font-medium leading-snug text-charcoal-700",children:["“",e.rule,"”"]})]}),(0,t.jsx)("div",{className:"mt-1 space-y-0.5 pl-1",children:e.actions.map((e,a)=>(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center self-stretch",children:[(0,t.jsx)("div",{className:"w-px flex-1 bg-gray-200"}),(0,t.jsx)("div",{className:"flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-gray-200 bg-white text-bookli-01",children:(0,t.jsx)(d.ArrowRight,{className:"h-2 w-2"})}),(0,t.jsx)("div",{className:"w-px flex-1 bg-transparent"})]}),(0,t.jsxs)("div",{className:"flex flex-1 items-center gap-2 rounded-lg border border-gray-100 bg-white px-2.5 py-2",children:[(0,t.jsx)("div",{className:`flex h-6 w-6 shrink-0 items-center justify-center rounded-lg ${e.iconCls}`,children:(0,t.jsx)(e.icon,{className:"h-3 w-3"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-[11px] font-medium text-gray-700",children:e.name}),(0,t.jsx)("p",{className:"font-mono text-[9px] text-gray-400",children:e.desc})]})]})]},a))})]},a))})}let v=[{nome:"Luca B.",tipo:"support",requestKey:"row1Request",summaryKey:"row1Summary",sentiment:"neutral"},{nome:"Sara M.",tipo:"commercial",requestKey:"row2Request",summaryKey:"row2Summary",sentiment:"positive"},{nome:"Paolo R.",tipo:"urgent",requestKey:"row3Request",summaryKey:"row3Summary",sentiment:"negative"},{nome:"Elena C.",tipo:"commercial",requestKey:"row4Request",summaryKey:"row4Summary",sentiment:"positive"},{nome:"Marco F.",tipo:"support",requestKey:"row5Request",summaryKey:"row5Summary",sentiment:"neutral"}],j={support:"border-blue-200 bg-blue-50 text-blue-700",commercial:"border-emerald-200 bg-emerald-50 text-emerald-700",urgent:"border-red-200 bg-red-50 text-red-700"},w={positive:{cls:"text-emerald-700",dot:"bg-emerald-500"}
6,neutral:{cls:"text-amber-700",dot:"bg-amber-500"},negative:{cls:"text-red-700",dot:"bg-red-500"}};function k(){let e=(0,f.useTranslations)("PlatformDemos"),[s,n]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(s>=v.length)return;let e=setTimeout(()=>n(e=>e+1),800);return()=>clearTimeout(e)},[s]),(0,t.jsxs)("div",{className:"overflow-hidden rounded-xl border border-gray-200 bg-white shadow-lg",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-100 px-4 py-2.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs font-semibold text-charcoal-700",children:e("callReport")}),(0,t.jsx)("span",{className:"rounded-full bg-gray-100 px-2 py-0.5 font-mono text-[10px] text-gray-500",children:e("callsCount",{count:s})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(i.motion.span,{className:"h-1.5 w-1.5 rounded-full bg-bookli-04",animate:{opacity:[1,.3,1]},transition:{duration:1.2,repeat:1/0}}),(0,t.jsx)("span",{className:"font-mono text-[10px] text-bookli-04",children:"LIVE"})]})]}),(0,t.jsx)("div",{className:"overflow-x-auto",children:(0,t.jsxs)("table",{className:"w-full min-w-[520px] border-collapse",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-gray-100",children:[e("headerName"),e("headerType"),e("headerRequest"),e("headerSentiment"),e("headerSummary")].map(e=>(0,t.jsx)("th",{className:"px-3 py-2 text-left font-mono text-[9px] uppercase tracking-widest text-gray-400",children:e},e))})}),(0,t.jsxs)("tbody",{children:[(0,t.jsx)(l.AnimatePresence,{children:v.slice(0,s).map((a,s)=>(0,t.jsxs)(i.motion.tr,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3},className:"border-b border-gray-100",children:[(0,t.jsx)("td",{className:"whitespace-nowrap px-3 py-2.5 text-xs font-medium text-charcoal-700",children:a.nome}),(0,t.jsx)("td",{className:"whitespace-nowrap px-3 py-2.5",children:(0,t.jsx)("span",{className:`inline-flex rounded-full border px-2 py-0.5 text-[10px] font-medium ${j[a.tipo]}`,children:"support"===a.tipo?e("typeSupport"):"commercial"===a.tipo?e("typeCommercial"):e("typeUrgent")})}),(0,t.jsx)("td",{className:"max-w-[160px] truncate px-3 py-2.5 text-xs text-gray-600",children:e(a.requestKey)}),(0,t.jsx)("td",{className:"whitespace-nowrap px-3 py-2.5",children:(0,t.jsxs)("span",{className:`inline-flex items-center gap-1 text-[10px] font-medium ${w[a.sentiment].cls}`,children:[(0,t.jsx)("span",{className:`h-1.5 w-1.5 rounded-full ${w[a.sentiment].dot}`}),"positive"===a.sentiment?e("sentPositive"):"neutral"===a.sentiment?e("sentNeutral"):e("sentNegative")]})}),(0,t.jsx)("td",{className:"max-w-[180px] truncate px-3 py-2.5 text-xs text-gray-600",children:e(a.summaryKey)})]},s))}),Array.from({length:Math.max(0,5-s)}).map((e,a)=>(0,t.jsx)("tr",{className:"border-b border-gray-50",children:[void 0,void 0,void 0,void 0,void 0].map((e,a)=>(0,t.jsx)("td",{className:"px-3 py-2.5",children:(0,t.jsx)("div",{className:"h-2 w-14 animate-pulse rounded-full bg-gray-100"})},a))},`sk-${a}`))]})]})}),(0,t.jsx)("div",{className:"border-t border-gray-100 px-4 py-2",children:(0,t.jsx)("p",{className:"text-[10px] text-gray-400",children:e("autoUpdate")})})]})}e.s(["PlatformDeepDive",0,function(){let e=(0,f.useTranslations)("PlatformDeepDive"),l=(0,f.useTranslations)("Common"),o=(0,a.useRef)(null),c=(0,s.useInView)(o,{once:!0,margin:"-80px"}),d=[{tag:e("liveTag"),title:e("liveTitle"),highlight:e("liveHighlight"),description:e("liveDescription"),demo:(0,t.jsx)(y,{})},{tag:e("automationsTag"),title:e("automationsTitle"),highlight:e("automationsHighlight"),description:e("automationsDescription"),demo:(0,t.jsx)(b,{})},{tag:e("analyticsTag"),title:e("analyticsTitle"),highlight:e("analyticsHighlight"),description:e("analyticsDescription"),demo:(0,t.jsx)(k,{})}];return(0,t.jsx)("section",{className:"bg-bookli-01",children:(0,t.jsxs)(n.Container,{className:"relative border-x border-white/10 px-4 py-20 md:px-8 md:py-28",children:[(0,t.jsx)(r.Dot,{top:!0,left:!0}),(0,t.jsx)(r.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",ref:o,children:[(0,t.jsx)("span",{className:"inline-block rounded-full border border-bookli-04/30 bg-bookli-04/10 px-3 py-1 font-mono text-xs text-bookli-04",children:e("badge")}),(0,t.jsxs)("h2",{className:"mt-4 text-3xl font-medium tracking-tight text-white md:text-4xl",children:[e("titleStart"),(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-bookli-04",children:e("titleHighlight")})]}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-xl text-sm leading-relaxed text-white/60",children:e("description")})]}),(0,t.jsx)("div",{className:"mt-16 space-y-20",children:d.map((e,a)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:24},animate:c?{opacity:1,y:0}:{},transition:{duration:.5,delay:.15*a},className:`grid grid-cols-1 items-center gap-10 md:grid-cols-2 md:gap-16 ${a%2==1?"md:[&>*:first-child]:order-2":""}`,children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-mono text-xs font-bold text-bookli-04",children:e.tag}),(0,t.jsxs)("h3",{className:"mt-3 text-xl font-medium tracking-tight text-white md:text-2xl",children:[e.title,(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-bookli-04",children:e.highlight})]}),(0,t.jsx)("p",{className:"mt-4 text-sm leading-relaxed text-white/60",children:e.description})]}),(0,t.jsx)("div",{children:e.demo})]},e.tag))}),(0,t.jsx)("div",{className:"mt-16 flex justify-center",children:(0,t.jsx)("a",{href:"/piattaforma",className:"inline-block rounded-xl bg-bookli-04 px-6 py-2.5 text-sm font-medium text-bookli-01 transition hover:bg-bookli-04/90",children:l("explorePlatform")})})]})})}],96352)},15716,e=>{"use strict";var t=e.i(43476),a=e.i(71645),i=e.i(46932),s=e.i(87652),n=e.i(16204),r=e.i(47938),l=e.i(57688),o=e.i(48148);let c=[[{type:"assistant",content:"Buongiorno, Tecnoval Impianti. Come posso aiutarla?"},{type:"user",content:"Ehm sì salve, senta io ho un problema con la caldaia che non parte"},{type:"assistant",content:"Mi dica, da quando ha questo problema?"},{type:"user",content:"Mah guardi, da stamattina praticamente… ho provato a riavviarla ma niente"},{type:"assistant",content:"Ok capisco. Mi dà il suo codice cliente? Lo trovo 
6sulla fattura"},{type:"user",content:"Sì un attimo… eccolo, è il 4821"},{type:"tool",toolName:"GET /clienti/4821"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"nome",val:'"Giulia Ferraro"'},{key:"impianto",val:'"Caldaia Vaillant ecoTEC"'},{key:"contratto",val:'"Premium"'},{key:"scadenza",val:'"2026-11-30"'},{key:null,val:"}"}]},{type:"assistant",content:"Perfetto signora Ferraro. Vedo che ha il contratto Premium, quindi l'intervento è incluso. Verifico la disponibilità dei tecnici…"},{type:"user",content:"Ah ok bene, speriamo riusciate a venire oggi che fa freddo eh"},{type:"tool",toolName:"GET /disponibilita"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"oggi",val:'"14:00 – 16:00"'},{key:"tecnico",val:'"Marco B."'},{key:"zona",val:'"compatibile"'},{key:null,val:"}"}]},{type:"assistant",content:"Guardi, c'è uno slot oggi pomeriggio tra le 14 e le 16, con Marco. Le andrebbe bene?"},{type:"user",content:"Sì sì perfetto, benissimo"},{type:"assistant",content:"Ottimo, confermo subito…"},{type:"tool",toolName:"POST /interventi"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"id",val:'"INT-0892"'},{key:"data",val:'"oggi 14:00"'},{key:"tecnico",val:'"Marco B."'},{key:"status",val:'"confermato"'},{key:null,val:"}"}]},{type:"assistant",content:"Fatto. Intervento confermato per oggi alle 14. Le mando un SMS con i dettagli."},{type:"user",content:"Perfetto grazie mille, gentilissimi"},{type:"tool",toolName:"POST /notifiche/sms"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"tipo",val:'"conferma_intervento"'},{key:"dest",val:'"+39 348 ●●● 201"'},{key:"status",val:'"inviato"'},{key:null,val:"}"}]},{type:"assistant",content:"SMS inviato. Se ha bisogno di altro ci richiami pure. Buona giornata!"},{type:"user",content:"Grazie, arrivederci"}],[{type:"assistant",content:"Buongiorno, Studio Legale Parodi. Come posso aiutarla?"},{type:"user",content:"Sì buongiorno, ehm cercavo l'avvocato Mancini"},{type:"assistant",content:"Certo. Mi dice il suo nome così lo avviso?"},{type:"user",content:"Sì sono Luca Ferretti"},{type:"assistant",content:"Perfetto signor Ferretti. Posso chiederle brevemente per cosa lo cerca?"},{type:"user",content:"Mah sì, è per la pratica della successione di cui abbiamo parlato la settimana scorsa"},{type:"assistant",content:"Ok capito, verifico se è disponibile e glielo passo…"},{type:"tool",toolName:"GET /interni/mancini"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"nome",val:'"Avv. Mancini"'},{key:"interno",val:"204"},{key:"status",val:'"disponibile"'},{key:null,val:"}"}]},{type:"assistant",content:"L'avvocato Mancini è disponibile. Lo avviso e la trasferisco subito."},{type:"tool",toolName:"POST /notifiche/interno"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"destinatario",val:'"Avv. Mancini"'},{key:"chiamante",val:'"Luca Ferretti"'},{key:"telefono",val:'"+39 331 ●●● 847"'},{key:"motivo",val:'"pratica successione"'},{key:"status",val:'"consegnato"'},{key:null,val:"}"}]},{type:"tool",toolName:"POST /sip/transfer"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"azione",val:'"trasferimento"'},{key:"sip_dest",val:'"sip:[email protected]"'},{key:"realm",val:'"studioparodi.it"'},{key:"status",val:'"connesso"'},{key:null,val:"}"}]},{type:"assistant",content:"La metto in linea con l'avvocato Mancini. Buona giornata!"},{type:"user",content:"Grazie mille"}],[{type:"assistant",content:"Buongiorno, Autofficina Rossetti. Come posso esserle utile?"},{type:"user",content:"Salve senta, ehm avrei bisogno di un tagliando per la mia macchina"},{type:"assistant",content:"Certo! Che macchina ha?"},{type:"user",content:"Una Golf, la 1.6 diesel del 2021"},{type:"assistant",content:"Ok perfetto. È già nostro cliente o è la prima volta?"},{type:"user",content:"No no, sono già venuto l'anno scorso"},{type:"assistant",content:"Mi dà il cognome che la cerco nel sistema?"},{type:"user",content:"Damiani, Stefano Damiani"},{type:"tool",toolName:"GET /clienti?cognome=damiani"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"nome",val:'"Stefano Damiani"'},{key:"veicolo",val:'"VW Golf 1.6 TDI"'},{key:"targa",val:'"GH 219 KR"'},{key:"ultimo",val:'"2025-03-12"'},{key:null,val:"}"}]},{type:"assistant",content:"Eccola, Golf 1.6 TDI targa GH 219 KR. L'ultimo intervento è di marzo scorso. Quando vorrebbe portarla?"},{type:"user",content:"Mmh tipo giovedì o venerdì se avete posto"},{type:"tool",toolName:"GET /disponibilita?tipo=tagliando"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"gio",val:'"09:00 libero"'},{key:"ven",val:'"14:30 libero"'},{key:null,val:"}"}]},{type:"assistant",content:"Giovedì mattina alle 9 oppure venerdì alle 14:30. Cosa preferisce?"},{type:"user",content:"Ehm giovedì mattina va benone"},{type:"assistant",content:"Perfetto, le confermo…"},{type:"tool",toolName:"POST /appuntamenti"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"id",val:'"APP-3341"'},{key:"data",val:'"Giovedì 09:00"'},{key:"tipo",val:'"tagliando"'},{key:"veicolo",val:'"GH 219 KR"'},{key:"status",val:'"confermato"'},{key:null,val:"}"}]},{type:"assistant",content:"Fatto! Giovedì alle 9, tagliando Golf. Le mando un promemoria via SMS il giorno prima."},{type:"user",content:"Ottimo grazie, a giovedì"},{type:"tool",toolName:"POST /notifiche/sms"},{type:"tool_result",jsonLines:[{key:null,val:"{"},{key:"tipo",val:'"promemoria"'},{key:"dest",val:'"+39 320 ●●● 554"'},{key:"invio",val:'"mercoledì ore 18"'},{key:"status",val:'"programmato"'},{key:null,val:"}"}]},{type:"assistant",content:"Programmato. A giovedì, buona giornata!"}]];function d(e){let{resetKey:i}=e,[s,n]=(0,a.useState)(0);(0,a.useEffect)(()=>{n(0)},[i]),(0,a.useEffect)(()=>{let e=setInterval(()=>n(e=>e+1),1e3);return()=>clearInterval(e)},[i]);let r=Math.floor(s/60);return(0,t.jsxs)("span",{className:"font-mono text-[11px] tabular-nums text-white/40",children:[String(r).padStart(2,"0"),":",String(s%60).padStart(2,"0")]})}function m(e){let{steps:s,onFinished:n}=e,[r,l]=(0,a.useState)(0),o=(0,a.useRef)(null);(0,a.useEffect)(()=>
6{l(0)},[s]),(0,a.useEffect)(()=>{if(r>=s.length){let e=setTimeout(n,2500);return()=>clearTimeout(e)}let e=s[r],t=setTimeout(()=>l(e=>e+1),e?.type==="tool"||e?.type==="tool_result"?700:1600);return()=>clearTimeout(t)},[r,s,n]),(0,a.useEffect)(()=>{o.current?.scrollTo({top:o.current.scrollHeight,behavior:"smooth"})},[r]);let c=s.slice(0,r),d=r<s.length?s[r]?.type:null;return(0,t.jsxs)("div",{ref:o,className:"flex h-full flex-col gap-3 overflow-y-auto px-4 py-4",style:{scrollbarWidth:"none"},children:[(0,t.jsx)("div",{className:"flex-1"}),c.map((e,a)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.25},children:["user"===e.type&&(0,t.jsx)(x,{content:e.content}),"assistant"===e.type&&(0,t.jsx)(u,{content:e.content}),"tool"===e.type&&(0,t.jsx)(p,{name:e.toolName}),"tool_result"===e.type&&(0,t.jsx)(h,{jsonLines:e.jsonLines})]},a)),("user"===d||"assistant"===d)&&(0,t.jsx)(f,{role:d})]})}let x=e=>{let{content:a}=e;return(0,t.jsxs)("div",{className:"flex items-end gap-2",children:[(0,t.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white/10 text-[9px] font-bold text-white/50",children:"U"}),(0,t.jsx)("div",{className:"max-w-[75%] rounded-2xl rounded-bl-md bg-white/[0.08] px-3 py-2 text-[13px] leading-relaxed text-white/80",children:a})]})},u=e=>{let{content:a}=e;return(0,t.jsxs)("div",{className:"flex items-end justify-end gap-2",children:[(0,t.jsx)("div",{className:"max-w-[75%] rounded-2xl rounded-br-md bg-bookli-04/20 px-3 py-2 text-[13px] leading-relaxed text-bookli-03",children:a}),(0,t.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-white/10",children:(0,t.jsx)(l.default,{src:"/bookli-icon.png",alt:"Bookli",width:24,height:24,className:"rounded-full"})})]})},p=e=>{let{name:a}=e;return(0,t.jsx)("div",{className:"flex justify-end pr-8",children:(0,t.jsxs)("div",{className:"flex items-center gap-1.5 rounded-md border border-bookli-04/20 bg-bookli-04/10 px-2.5 py-1 font-mono text-[11px] text-bookli-04",children:[(0,t.jsx)("span",{className:"text-bookli-03",children:">"})," ",a]})})},h=e=>{let{jsonLines:a}=e;return(0,t.jsxs)("div",{className:"ml-8 mr-8 overflow-hidden rounded-lg border border-white/[0.06] bg-white/[0.03]",children:[(0,t.jsx)("div",{className:"border-b border-white/[0.06] px-3 py-1",children:(0,t.jsx)("span",{className:"font-mono text-[10px] text-white/25",children:"response"})}),(0,t.jsx)("div",{className:"p-3 font-mono text-[11px] leading-relaxed",children:a.map((e,a)=>(0,t.jsx)(i.motion.div,{initial:{opacity:0}
6,animate:{opacity:1},transition:{delay:.06*a},children:e.key?(0,t.jsxs)("span",{children:[(0,t.jsxs)("span",{className:"text-blue-400/70",children:['"',e.key,'"']}),(0,t.jsx)("span",{className:"text-white/20",children:": "}),(0,t.jsx)("span",{className:"text-bookli-03/80",children:e.val}),(0,t.jsx)("span",{className:"text-white/15",children:","})]}):(0,t.jsx)("span",{className:"text-white/30",children:e.val})},a))})]})},g=[.3,.6,1,.7,.4],f=e=>{let{role:a}=e;return(0,t.jsxs)("div",{className:`flex items-end gap-2 ${"assistant"===a?"justify-end":""}`,children:["user"===a&&(0,t.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white/10 text-[9px] font-bold text-white/50",children:"U"}),(0,t.jsx)("div",{className:"flex h-7 items-center gap-[3px] rounded-2xl px-3 bg-white/[0.06]",children:g.map((e,s)=>(0,t.jsx)(i.motion.div,{className:`w-[2.5px] rounded-full ${"assistant"===a?"bg-bookli-04":"bg-white/40"}`,style:{height:"3px"},animate:{height:["3px",`${12*e}px`,"3px"]},transition:{duration:.7,repeat:1/0,delay:.1*s,ease:"easeInOut"}},s))}),"assistant"===a&&(0,t.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-white/10",children:(0,t.jsx)(l.default,{src:"/bookli-icon.png",alt:"Bookli",width:24,height:24,className:"rounded-full"})})]})};function y(){let e=(0,o.useTranslations)("LiveCallWindow"),[i,s]=(0,a.useState)(0),n=c[i],r=(0,a.useRef)(()=>{s(e=>(e+1)%c.length)});return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-2xl bg-neutral-950 shadow-2xl ring-1 ring-white/[0.06]",children:[(0,t.jsxs)("div",{className:"flex shrink-0 items-center border-b border-white/[0.06] bg-neutral-900 px-4 py-2.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("span",{className:"inline-block h-3 w-3 rounded-full bg-[#ff5f57]"}),(0,t.jsx)("span",{className:"inline-block h-3 w-3 rounded-full bg-[#febc2e]"}),(0,t.jsx)("span",{className:"inline-block h-3 w-3 rounded-full bg-[#28c840]"})]}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-amber-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-amber-400"})]}),(0,t.jsx)("span",{className:"font-mono text-[11px] text-white/50",children:e("inProgress")}),(0,t.jsx)("span",{className:"font-mono text-[11px] text-white/20",children:"·"}),(0,t.jsx)(d,{resetKey:i})]})]}),(0,t.jsx)("div",{className:"min-h-0 flex-1",children:(0,t.jsx)(m,{steps:n,onFinished:r.current})})]})}e.s(["ProblemSection",0,function(){let e=(0,o.useTranslations)("ProblemSection"),l=(0,a.useRef)(null),c=(0,a.useRef)(null),d=(0,a.useRef)(null),m=(0,s.useInView)(l,{once:!0,margin:"-80px"}),x=[{number:"01",title:e("problem1Title"),quote:e("problem1Quote")},{number:"02",title:e("problem2Title"),quote:e("problem2Quote")},{number:"03",title:e("problem3Title"),quote:e("problem3Quote")}],[u,p]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!c.current)return;let e=new ResizeObserver(e=>{let[t]=e;p(t.contentRect.height)});return e.observe(c.current),()=>e.disconnect()},[]),(0,t.jsxs)(n.Container,{className:"border-divide relative border-x px-4 py-16 md:px-8 md:py-24",children:[(0,t.jsx)(r.Dot,{top:!0,left:!0}),(0,t.jsx)(r.Dot,{top:!0,right:!0}),(0,t.jsxs)("div",{className:"grid grid-cols-1 items-start gap-12 lg:grid-cols-2 lg:gap-16",ref:l,children:[(0,t.jsxs)("div",{ref:c,children:[(0,t.jsx)(i.motion.span,{initial:{opacity:0}
6,animate:m?{opacity:1}:{},className:"font-mono text-xs font-semibold uppercase tracking-widest text-brand",children:e("badge")}),(0,t.jsxs)(i.motion.h2,{initial:{opacity:0,y:12},animate:m?{opacity:1,y:0}:{},transition:{duration:.5,delay:.05},className:"mt-4 text-3xl font-medium leading-[1.15] tracking-tight text-charcoal-900 md:text-4xl dark:text-white",children:[e("titleStart")," ",(0,t.jsx)("span",{className:"text-brand",children:e("titleHighlight")})]}),(0,t.jsx)(i.motion.p,{initial:{opacity:0,y:12},animate:m?{opacity:1,y:0}:{},transition:{duration:.5,delay:.1},className:"mt-4 text-sm leading-relaxed text-gray-600 dark:text-neutral-400",children:e("description")}),(0,t.jsx)("div",{className:"mt-8 divide-y divide-gray-200 dark:divide-neutral-800",children:x.map((e,a)=>(0,t.jsx)(i.motion.div,{initial:{opacity:0,x:-16},animate:m?{opacity:1,x:0}:{},transition:{duration:.4,delay:.15+.12*a},className:"group py-6 first:pt-6 last:pb-0",children:(0,t.jsxs)("div",{className:"flex items-start gap-5",children:[(0,t.jsx)("span",{className:"shrink-0 font-mono text-5xl font-bold leading-none tracking-tighter text-gray-300 dark:text-neutral-600",children:e.number}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("h3",{className:"text-base font-medium tracking-tight text-charcoal-700 dark:text-neutral-100",children:e.title}),(0,t.jsxs)("blockquote",{className:"mt-2 border-l-2 border-brand/30 pl-4 text-sm leading-relaxed text-gray-500 italic dark:text-neutral-400",children:["“",e.quote,"”"]})]})]})},e.number))})]}),(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:12},animate:m?{opacity:1,y:0}:{},transition:{duration:.5,delay:.2},ref:d,style:{height:u>0?u:void 0},children:(0,t.jsx)(y,{})})]})]})}],15716)}]);

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.