PageSourceSearch

https://ri-hub.it/_next/static/chunks/app/%5Blocale%5D/page-2d67d93f72c2b2a4.js

js ri-hub.it collected 2026-10-02 01:04:03 UTC 17,451 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[465],{1119:(e,t,s)=>{Promise.resolve().then(s.bind(s,2482)),Promise.resolve().then(s.bind(s,3651)),Promise.resolve().then(s.bind(s,5860)),Promise.resolve().then(s.bind(s,2993)),Promise.resolve().then(s.bind(s,6460)),Promise.resolve().then(s.bind(s,4365)),Promise.resolve().then(s.bind(s,9381)),Promise.resolve().then(s.bind(s,5356)),Promise.resolve().then(s.t.bind(s,8076,23)),Promise.resolve().then(s.t.bind(s,1402,23)),Promise.resolve().then(s.t.bind(s,7637,23)),Promise.resolve().then(s.t.bind(s,7955,23)),Promise.resolve().then(s.bind(s,9162)),Promise.resolve().then(s.t.bind(s,3394,23)),Promise.resolve().then(s.t.bind(s,4975,23))},1402:()=>{},2482:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i});var n=s(3558),r=s(9190);function i(e){let{src:t,fallback:s,alt:i,loading:a,className:o,width:l,height:c}=e,[d,u]=(0,r.useState)(t),[h,m]=(0,r.useState)(0);if(h>1)return(0,n.jsx)("span",{className:`physio-iniziali${o?` ${o}`:""}`,role:"img","aria-label":i,children:(i.split("—")[0]??i).trim().split(/\s+/).slice(0,2).map(e=>e[0]??"").join("").toUpperCase()});return(0,n.jsx)("img",{src:d,alt:i,loading:a,className:o,width:l,height:c,onError:()=>{0===h&&d!==s?(m(1),u(s)):m(2)}})}},2993:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});var n=s(9190);function r(){return(0,n.useEffect)(()=>{let e=navigator.userAgent,t="desktop";/iPad|iPhone|iPod/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1?t="ios":/Android/.test(e)?t="android":/Macintosh|Mac OS X/.test(e)?t="mac":/Windows/.test(e)&&(t="win"),document.body.dataset.pf=t;let s=window.matchMedia("(display-mode: standalone)").matches||!0===window.navigator.standalone,n=window,r=!!n.Capacitor?.isNativePlatform?.()||/RiHub|rihub\.ui/i.test(e);(s||r)&&document.body.classList.add("is-pwa"),r&&document.body.classList.add("is-native-app")},[]),null}},3651:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var n=s(9190);function r(){document.querySelectorAll(".fade-up:not(.is-revealed)").forEach(e=>e.classList.add("is-revealed"))}function i(){return(0,n.useEffect)(()=>{if("undefined"==typeof IntersectionObserver)return void r();let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(t.target.classList.add("is-revealed"),e.unobserve(t.target))})},{threshold:.05,rootMargin:"0px 0px 200px 0px"});document.querySelectorAll(".fade-up").forEach(t=>e.observe(t));let t=window.setTimeout(r,3e3);return()=>{e.disconnect(),window.clearTimeout(t)}},[]),null}},4365:(e,t,s)=>{"use strict";s.d(t,{default:()=>a});var n=s(3558),r=s(9190),i=s(2099);function a(){let e=(0,i.useTranslations)("reel"),t=(0,r.useRef)(null),[s,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if("undefined"==typeof IntersectionObserver)return void a(!0);let e=t.current;if(!e)return;let s=new IntersectionObserver(e=>{let[t]=e;t?.isIntersecting&&(a(!0),s.disconnect())},{rootMargin:"200px 0px"});return s.observe(e),()=>s.disconnect()},[]),(0,n.jsx)("section",{className:"reel-section",id:"reel","aria-label":e("tag"),children:(0,n.jsxs)("div",{className:"reel-stage fade-up",ref:t,style:{backgroundImage:s?void 0:"url(/videos/poster-homepage.webp)",backgroundSize:"cover",backgroundPosition:"center"},children:[s&&(0,n.jsxs)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"none",poster:"/videos/poster-homepage.webp","aria-label":e("videoAria"),children:[(0,n.jsx)("source",{src:"/videos/homepage-720p.mp4",type:"video/mp4"}),e("videoFallback")]}),(0,n.jsxs)("span",{className:"reel-tag","aria-hidden":!0,children:[(0,n.jsx)("span",{className:"reel-tag-dot"}),e("tag")]})]})})}},4645:()=>{},5356:(e,t,s)=>{"use strict";s.r(t),s.d(t,{MockupBooking:()=>i,MockupClinic:()=>l,MockupFisio:()=>o,MockupSession:()=>a,PhoneFrame:()=>r});var n=s(3558);function r(e){let{children:t,className:s="",tilt:r=0,dark:i=!1,alt:a,imageSrc:o}=e,l=r?{transform:`rotate(${r}deg)`}:void 0;return(0,n.jsx)("div",{className:`am-phone ${i?"am-phone-dark":""} ${o?"am-phone-img":""} ${s}`.trim(),style:l,role:"img","aria-label":a,children:(0,n.jsxs)("div",{className:"am-phone-frame",children:[!
1o&&(0,n.jsx)("div",{className:"am-phone-notch","aria-hidden":!0}),(0,n.jsx)("div",{className:"am-phone-screen",children:o?(0,n.jsx)("img",{src:o,alt:a||"",className:"am-phone-screenshot",loading:"lazy",decoding:"async"}):t})]})})}function i(){return(0,n.jsx)(r,{imageSrc:"/img/app/hub-hero.png",alt:"Schermata home dell'app Ri-Hub"})}function a(){return(0,n.jsx)("img",{className:"am-mockup-nudo",src:"/img/app/videocall-mockup.png",alt:"Videoseduta paziente-fisioterapista su Ri-Hub",width:941,height:1672,loading:"lazy",decoding:"async"})}function o(){return(0,n.jsx)(r,{imageSrc:"/img/app/hub-anelli.png",alt:"Panoramica percorso paziente con anelli sedute, attivit\xe0 e dolore"})}function l(){return(0,n.jsx)(r,{imageSrc:"/img/app/grafico-dolore.png",alt:"Grafico miglioramento del dolore pre/post videosedute su Ri-Hub"})}},5860:(e,t,s)=>{"use strict";s.d(t,{default:()=>a});var n=s(3558),r=s(9190),i=s(2099);function a(e){let{locale:t}=e,s=(0,i.useTranslations)("newsletter"),[a,o]=(0,r.useState)(""),[l,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),[h,m]=(0,r.useState)({kind:"idle",msg:""});async function p(e){if(e.preventDefault(),m({kind:"idle",msg:""}),!a.trim())return void m({kind:"error",msg:s("errors.email")});if(!l)return void m({kind:"error",msg:s("errors.consent")});u(!0);try{let e=await fetch("https://api.ri-hub.it/leads",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a.trim(),source:"newsletter",consentMarketing:!0,newsletterConsent:!0,locale:document.documentElement.lang||"it"})});if(!e.ok)throw Error(`HTTP ${e.status}`);m({kind:"success",msg:s("success")}),o(""),c(!1)}catch{m({kind:"error",msg:s("errors.network")})}finally{u(!1)}}return(0,n.jsx)("section",{className:"nl-section",id:"newsletter",children:(0,n.jsxs)("div",{className:"nl-container",children:[(0,n.jsxs)("span",{className:"nl-eyebrow",children:[(0,n.jsx)("svg",{viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2zm0 0l8 7 8-7"})}),s("eyebrow")]}),(0,n.jsx)("h2",{className:"nl-h2",children:s.rich("title",{em:e=>(0,n.jsx)("em",{style:{fontStyle:"normal",textDecoration:"underline",textDecorationColor:"rgba(255,255,255,.4)",textUnderlineOffset:"6px"},children:e})})}),(0,n.jsx)("p",{className:"nl-text",children:s("text")}),(0,n.jsxs)("form",{className:"nl-form",id:"nl-form",noValidate:!0,onSubmit:p,children:[(0,n.jsx)("input",{className:"nl-input",type:"email",name:"email",placeholder:s("emailPlaceholder"),required:!0,autoComplete:"email",value:a,onChange:e=>o(e.target.value)}),(0,n.jsx)("button",{className:"nl-btn",type:"submit",disabled:d,children:d?s("submitting"):(0,n.jsxs)(n.Fragment,{children:[s("cta"),(0,n.jsx)("svg",{viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})})]}),(0,n.jsxs)("label",{className:"nl-consent",children:[(0,n.jsx)("input",{type:"checkbox",name:"newsletterConsent",id:"nl-consent",required:!0,checked:l,onChange:e=>c(e.target.checked)}),(0,n.jsx)("span",{children:s.rich("consent",{link:e=>(0,n.jsx)("a",{href:`/${t}/privacy`,children:e})})})]}),(0,n.jsx)("div",{className:"nl-status"+("success"===h.kind?" is-success":"")+("error"===h.kind?" is-error":""),id:"nl-status",role:"status","aria-live":"polite",children:h.msg})]})})}s(4645)},6460:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var n=s(3558),r=s(9190);function i(){let[e,t]=(0,r.useState)("hidden"),[s,i]=(0,r.useState)(null),[a,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{if(window.matchMedia("(display-mode: standalone)").matches||!0===window.navigator.standalone)return;let e=navigator.userAgent,s=/iPad|iPhone|iPod/.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,n=/Safari/.test(e)&&!/CriOS|FxiOS|EdgiOS/.test(e);if(s&&n)return void t("ios-instructions");let r=e=>{e.preventDefault(),i(e),t("native-prompt")};window.addEventListener("beforeinstallprompt",r);let a=()=>t("hidden");return window.addEventListener("appinstalled",a),()=>{window.removeEventListener("beforeinstallprompt",r),window.removeEventListener("appinstalled",a)}},[]),"hidden"===e)?null:"native-prompt"===e?(0,n.jsxs)("button",{type:"button",className:"dl-pwa-btn",onClick:async()=>{s&&(await s.prompt(),"accepted"===(await s.userChoice).outcome&&t("hidden"))},children:[(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,
1children:[(0,n.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,n.jsx)("polyline",{points:"7 10 12 15 17 10"}),(0,n.jsx)("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]}),"Installa direttamente"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{type:"button",className:"dl-pwa-btn",onClick:()=>o(!0),children:[(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.2,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[(0,n.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,n.jsx)("polyline",{points:"7 10 12 15 17 10"}),(0,n.jsx)("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]}),"Installa su iPhone"]}),a&&(0,n.jsx)("div",{className:"ios-sheet-backdrop",onClick:()=>o(!1),role:"presentation",children:(0,n.jsxs)("div",{className:"ios-sheet",onClick:e=>e.stopPropagation(),role:"dialog","aria-modal":"true","aria-labelledby":"ios-sheet-title",children:[(0,n.jsx)("button",{type:"button",className:"ios-sheet-close","aria-label":"Chiudi",onClick:()=>o(!1),children:"\xd7"}),(0,n.jsx)("h3",{id:"ios-sheet-title",className:"ios-sheet-title",children:"Installa Ri-Hub sul tuo iPhone"}),(0,n.jsx)("p",{className:"ios-sheet-text",children:"In 3 passaggi hai l'app sulla schermata Home."}),(0,n.jsxs)("ol",{className:"ios-sheet-steps",children:[(0,n.jsxs)("li",{children:[(0,n.jsx)("strong",{children:"Tocca l'icona Condividi"}),(0,n.jsx)("span",{className:"ios-sheet-icon","aria-hidden":!0,children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),(0,n.jsx)("polyline",{points:"16 6 12 2 8 6"}),(0,n.jsx)("line",{x1:"12",y1:"2",x2:"12",y2:"15"})]})}),(0,n.jsx)("small",{children:"(in basso al centro nella barra Safari)"})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("strong",{children:'Scorri e tocca "Aggiungi a Home"'}),(0,n.jsx)("span",{className:"ios-sheet-icon","aria-hidden":!0,children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,n.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3"}),(0,n.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"16"}),(0,n.jsx)("line",{x1:"8",y1:"12",x2:"16",y2:"12"})]})})]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("strong",{children:'Conferma con "Aggiungi"'}),(0,n.jsx)("small",{children:"(in alto a destra)"})]})]})]})})]})}},7637:()=>{},7955:()=>{},8076:()=>{},9162:(e,t,s)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)({}).hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e}).apply(null,arguments)}s.d(t,{default:()=>a});var r=s(9190),i=s(5179);function a(e){let{locale:t,...s}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl.dev/docs/configuration#locale");return r.createElement(i.IntlProvider,n({locale:t},s))}},9381:(e,t,s)=>{"use strict";s.d(t,{default:()=>u});var n=s(3558),r=s(9190),i=s(2099);let a="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",o=[{source:"google"},{source:"google"},{source:"trustpilot",hasAge:!0},{source:"google"},{source:"trustpilot"}],l=()=>(0,n.jsx)(n.Fragment,{children:Array.from({length:5}).map((e,t)=>(0,n.jsx)("svg",{viewBox:"0 0 24 24",children:(0,n.jsx)("path",{d:a})},t))}),c=e=>{let{source:t}=e;return"trustpilot"===t?(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"#00B67A",children:(0,n.jsx)("path",{d:a})}):(0,n.jsxs)("svg",{viewBox:"0 0 24 24",children:[(0,n.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,n.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,n.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,n.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})},d=e=>{let{r:t,viewOnLabel:s}=e;return(0,n.jsxs)("article",{className:"t-card",children:[(0,n.jsxs)("div",{className:"t-card-head",children:[(0,n.jsxs)("div",{className:"t-card-meta",children:[(0,n.jsx)("div",{className:"t-card-name",children:t.name}),t.age&&(0,n.jsx)("div",{className:"t-card-age",children:t.age}),(0,n.jsx)("div",{className:"t-card-stars",children:(0,n.jsx)(l,{})})]}),(0,n.jsx)("a",{href:"trustpilot"===t.source?"https://it.trustpilot.com/review/ri-hub.it":"https://share.google/IyGJXJ8fKpHaU1Pcr",target:"_blank",rel:"noopener noreferrer",className:"t-card-source","aria-label":s,children:(0,n.jsx)(c,{source:t.source})})]}),(0,n.jsx)("p",{className:"t-card-text",children:t.text})]})};function u(){let e=(0,i.useTranslations)("testimonials"),t=o.map((t,s)=>{let n={name:e(`item${s+1}.name`),text:e(`item${s+1}.text`),source:t.source};return t.hasAge?{...n,age:e(`item${s+1}.age`)}:n}),s=t.length,[a,c]=(0,r.useState)(0),[u,h]=(0,r.useState)(0),[m,p]=(0,r.useState)(!1),[v,x]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[j,b]=(0,r.useState)(0),w=(0,r.useRef)(null),y=(0,r.useRef)(0),k=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let e=()=>{let e=w.current,t=e?.querySelector(".t-card");if(!e||!t)return;let s=parseInt(getComputedStyle(e).gap||"16",10)||16;b(t.offsetWidth+s)};e();let t=new ResizeObserver(e);return w.current&&t.observe(w.current),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},[]),(0,r.useEffect)(()=>
1{if(m||v||g||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=setInterval(()=>c(e=>e+1),4500);return()=>clearInterval(e)},[m,v,g]),(0,r.useEffect)(()=>{if(a<s)return;let e=setTimeout(()=>{f(!0),c(0),requestAnimationFrame(()=>{requestAnimationFrame(()=>f(!1))})},550);return()=>clearTimeout(e)},[a,s]),(0,r.useEffect)(()=>{if(!m)return;let e=e=>{e.preventDefault();let t=e.clientX-y.current;Math.abs(t)>4&&(k.current=!0),h(t)},t=()=>{let e=Math.max(40,j/4);h(0),p(!1),u<-e?c(e=>e+1):u>e&&c(e=>Math.max(0,e-1))};return window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),()=>{window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t)}},[m,u,j]),(0,r.useEffect)(()=>{if(!m)return;let e=e=>{let t=e.touches[0].clientX-y.current;Math.abs(t)>4&&(k.current=!0),h(t)},t=()=>{let e=Math.max(40,j/4);h(0),p(!1),u<-e?c(e=>e+1):u>e&&c(e=>Math.max(0,e-1))};return window.addEventListener("touchmove",e,{passive:!0}),window.addEventListener("touchend",t,{passive:!0}),window.addEventListener("touchcancel",t,{passive:!0}),()=>{window.removeEventListener("touchmove",e),window.removeEventListener("touchend",t),window.removeEventListener("touchcancel",t)}},[m,u,j]);let N=Array.from({length:3*t.length},(e,s)=>t[s%t.length].name),E=-(a*j)+u,P=m||g?"none":"transform 550ms cubic-bezier(0.4, 0, 0.2, 1)";return(0,n.jsx)("section",{className:"t-section",id:"testimonials",children:(0,n.jsxs)("div",{className:"t-container",children:[(0,n.jsxs)("div",{className:"t-header fade-up",children:[(0,n.jsx)("span",{className:"t-eyebrow",children:e("eyebrow")}),(0,n.jsx)("h2",{className:"t-h2",children:e.rich("subtitle",{em:e=>(0,n.jsx)("em",{children:e})})})]}),(0,n.jsx)("div",{className:"t-marquee",role:"region","aria-label":e("marqueeAria"),onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),onClickCapture:e=>{k.current&&(e.preventDefault(),e.stopPropagation(),k.current=!1)},children:(0,n.jsxs)("div",{ref:w,className:`t-marquee-track${m?" is-dragging":""}`,style:{transform:`translateX(${E}px)`,transition:P},onMouseDown:e=>{e.target.closest("a, button")||(p(!0),y.current=e.clientX,k.current=!1)},onTouchStart:e=>{p(!0),y.current=e.touches[0].clientX,k.current=!1},children:[t.map((t,s)=>(0,n.jsx)(d,{r:t,viewOnLabel:"trustpilot"===t.source?e("viewOnTrustpilot"):e("viewOnGoogle")},`a${s}`)),t.map((t,s)=>(0,n.jsx)(d,{r:t,viewOnLabel:"trustpilot"===t.source?e("viewOnTrustpilot"):e("viewOnGoogle")},`b${s}`))]})}),(0,n.jsx)("div",{className:"t-bigribbon","aria-hidden":!0,children:(0,n.jsx)("div",{className:"t-bigribbon-track",id:"t-bigribbon-track",children:[0,1].map(e=>N.map((t,s)=>(0,n.jsxs)(r.Fragment,{children:[(0,n.jsxs)("span",{className:"t-bigribbon-item",children:[(0,n.jsx)("span",{className:"t-bigribbon-name",children:t}),(0,n.jsx)("span",{className:"t-bigribbon-stars",children:(0,n.jsx)(l,{})})]}),(0,n.jsx)("span",{className:"t-bigribbon-dot"})]},`${e}-${s}`)))})})]})})}}},e=>{e.O(0,[7606,7552,2506,5451,3394,4975,4480,5202,6960,7358],()=>e(e.s=1119)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.