PageSourceSearch

https://www.rilla.com/_next/static/chunks/352.2785bd6e0e30b5b2.js

js rilla.com collected 2026-10-03 22:32:42 UTC 14,138 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[352],{11751:(e,t,r)=>{r.d(t,{e:()=>n});let n=(e,...t)=>{if(!e)return null;{let[r]=t;return((e,t=" ")=>{let r="";for(let n=0;n<e.length;n++)"text"in e[n]&&(r+=(r?t:"")+e[n].text);return r})(e,("string"==typeof r?{separator:r}:{...r}).separator)}}},19352:(e,t,r)=>{r.d(t,{A:()=>p});var n=r(37876),l=r(28532),s=r.n(l),a=r(14232),o=r(81235),i=r(15039),u=r.n(i),c=r(45517),d=r(11751),h=r(11216),m=r(59136),f=r(59182);function p(e){let{title:t,className:r}=e,l=(0,a.useRef)(null),[i,p]=(0,h.yD)(),g=(0,a.useRef)(null),{splits:v,setAnimated:x,isSplit:y}=(0,c.A)(g,{type:"words, chars"});return(0,m.v)({rect:p,start:"top bottom",end:"bottom top",onProgress:e=>{let{progress:t}=e,r=(0,f._b)(0,.5,t,0,1);l.current&&l.current.progress(r)}}),(0,a.useEffect)(()=>{var e,t,r;if(!y)return;x(!0),l.current=o.Ay.timeline({defaults:{ease:"power3.out",stagger:.08},paused:!0});let n=null==(r=v[0])?void 0:r.chars.slice((null==(e=v[0])?void 0:e.chars.length)/2+1,null==(t=v[0])?void 0:t.chars.length);o.Ay.set(n,{opacity:0}),l.current.fromTo(n,{opacity:0},{opacity:1,duration:.1})},[y]),(0,n.jsx)("div",{ref:i,className:u()(s().title,r),children:(0,n.jsx)("h5",{ref:g,style:{whiteSpace:"pre-line"},children:"string"==typeof t?t:(0,d.e)(t).split("\n").map((e,r)=>(0,n.jsxs)(a.Fragment,{children:[e,r<(0,d.e)(t).split("\n").length-1&&(0,n.jsx)("br",{})]},r))})})}},45517:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(14232),l=r(81235),s=r(42218),a=r(71015);let o=function(e,t,r){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],[u,c]=(0,n.useState)(0),d=(0,n.useRef)(new Map),h=(0,n.useRef)(!1),m=(0,s.hn)(),f=(0,n.useMemo)(()=>Array.isArray(e)?e:[e],[e]),p=(0,n.useCallback)(()=>{d.current.forEach(e=>{null==e||e.revert()}),d.current.clear()},[]),g=(0,n.useCallback)(()=>{if(a.A)try{f.forEach((e,n)=>{if(!(null==e?void 0:e.current))return;let s=new a.A(e.current,{aria:"none",charsClass:"char",linesClass:"line",wordsClass:"word",autoSplit:o,onSplit(e){if(t.debug&&console.log("onSplit",e),c(e=>e+1),r&&!h.current){let t=e[r.type];if(t&&Array.isArray(t)&&t.length>0)return l.Ay.set(t,r.set)}},...t});d.current.set(n,s)})}catch(e){console.error("Error initializing SplitText:",e)}},[f,t,r]),v=(0,n.useCallback)(e=>{h.current=e,d.current.forEach(t=>{t&&(t.isAnimated=e)})},[]);return(0,n.useEffect)(()=>{if(m)return g(),p},[m,...i]),{isSplit:u>0,splitRef:d.current,splits:Array.from(d.current.values()),setAnimated:v,isAnimated:()=>h.current}}},46134:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(37876),l=r(63994),s=r.n(l),a=r(15039),o=r.n(a);function i(e){let{quote:t,author_name:r,author_title:l,className:a}=e;return(0,n.jsxs)("div",{className:o()(s().quoteContainer,a),children:[(0,n.jsxs)("blockquote",{className:s().quote,children:['"',t,'"']}),(0,n.jsxs)("p",{className:s().attribution,children:[(0,n.jsx)("span",{className:s().authorName,children:r}),(0,n.jsx)("span",{className:s().authorTitle,children:l})]})]})}},59136:(e,t,r)=>{r.d(t,{v:()=>h}),r(37876);var n=r(14232);let l={translate:{x:0,y:0,z:0},rotate:{x:0,y:0,z:0},scale:{x:1,y:1,z:1},clip:{top:0,right:0,bottom:0,left:0},userData:{}},s=(0,n.createContext)({getTransform:()=>structuredClone(l),addCallback:()=>{},removeCallback:()=>{},setTranslate:()=>{},setRotate:()=>{},setScale:()=>{},setClip:()=>{},setUserData:()=>{}});function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],{getTransform:r,addCallback:l,removeCallback:a}=(0,n.useContext)(s);return(0,n.useEffect)(()=>{if(e)return l(e),()=>{a(e)}},[e,l,a,...t]),r}var o=r(59182),i=r(11216),u=r(1174);function c(e){let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),(0,n.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current(...r)},[])}function d(e){return"number"==typeof e||!Number.isNaN(e)}function h(e){let{rect:t,start:r="bottom bottom",end:l="top top",offset:s=0,disabled:h=!1,onEnter:m,onLeave:f,onProgress:p,steps:g=1,debug:v=!1}=e,x=a(),y=(0,u.xP)(),{height:b=0}=(0,i.lW)(),[w,N]="string"==typeof r?r.split(" "):[r],[A,j]="string"==typeof l?l.split(" "):[l],E=d(N)?Number.parseFloat(N):0;"top"===N&&(E=0),"center"===N&&(E=.5*b),"bottom"===N&&(E=b),v&&console.log("viewportStart",E);let C=d(j)?Number.parseFloat(j):0;"top"===j&&(C=0),"center"===j&&(C=.5*b),"bottom"===j&&(C=b);let k=d(w)?Number.parseFloat(w):(null==t?void 0:t.bottom)||0;
1"top"===w&&(k=(null==t?void 0:t.top)||0),"center"===w&&(k=((null==t?void 0:t.top)||0)+.5*((null==t?void 0:t.height)||0)),"bottom"===w&&(k=(null==t?void 0:t.bottom)||0),k+=s;let P=d(A)?Number.parseFloat(A):(null==t?void 0:t.top)||0;"top"===A&&(P=(null==t?void 0:t.top)||0),"center"===A&&(P=((null==t?void 0:t.top)||0)+.5*((null==t?void 0:t.height)||0)),"bottom"===A&&(P=(null==t?void 0:t.bottom)||0);let R=k-E,S=(P+=s)-C,T=c((e,t)=>{null==p||p({height:S-R,isActive:e>=0&&e<=1,progress:(0,o.qE)(0,e,1),lastProgress:t,steps:Array.from({length:g}).map((t,r)=>(0,o.qE)(0,(0,o._b)(r/g,(r+1)/g,e,0,1),1))})}),_=c(e=>{null==m||m({progress:(0,o.qE)(0,e,1)})}),q=c(e=>{null==f||f({progress:(0,o.qE)(0,e,1)})}),[F]=(0,i.dH)(void 0,(e,t)=>{!Number.isNaN(e)&&void 0!==e&&Number.isFinite(t)&&((e>=0&&t<0||e<=1&&t>1)&&(v&&console.log("handleEnter",e,t),_(e)),(0,o.qE)(0,e,1)!==(0,o.qE)(0,t,1)&&T(e,t),(e<0&&t>=0||e>1&&t<=1)&&q(e))},[S,R,g]),L=c(()=>{let e;if(h)return;e=y?Math.floor(null==y?void 0:y.scroll):window.scrollY;let{translate:t}=x(),r=(0,o._b)(R,S,e-t.y,0,1);v&&console.log({progress:r,startValue:R,endValue:S,scroll:e}),F(r)});(0,u.xP)(L),(0,n.useEffect)(()=>{if(!y)return L(),window.addEventListener("scroll",L,!1),()=>{window.removeEventListener("scroll",L,!1)}},[y]),a(L)}},59182:(e,t,r)=>{r.d(t,{Cc:()=>c,Fw:()=>m,KQ:()=>h,Px:()=>o,TS:()=>d,Xg:()=>s,Yv:()=>a,_b:()=>u,qE:()=>i});var n=r(14232),l=r(81235);function s(e){return e.replace(/\S+/g,e=>e.charAt(0).toUpperCase()+e.slice(1))}function a(e){return e.toString().normalize("NFKD").toLowerCase().trim().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-")}function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=t.reduce((t,r)=>{if("function"==typeof r){let n=r(e);"function"==typeof n&&t.push(n)}else r&&"current"in r&&(r.current=e);return t},[]);return()=>{for(let e of r)e()}}}function i(e,t,r){return Math.max(e,Math.min(t,r))}function u(e,t,r,n,l){let s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=(r-e)*(l-n)/(t-e)+n;return n>l?s?i(l,a,n):a:s?i(n,a,l):a}function c(e,t,r){return(1-r)*e+r*t}function d(e,t){if(e.includes(" "))return e.split(" ").map((e,r)=>n.createElement("span",{key:r,className:t},e));let r=Math.ceil(e.length/2),l=e.slice(0,r),s=e.slice(r);return[n.createElement("span",{key:"first",className:t},l),n.createElement("span",{key:"second",className:t},s)]}function h(e){let t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.2;if("container"in e&&"words"in e)t=parseFloat(String(l.Ay.getProperty(e.container,"line-height","em"))),r=e.words.map(e=>e.parentElement).filter(e=>e instanceof HTMLElement);else{let[n]=e.elements;t=parseFloat(String(l.Ay.getProperty(n,"line-height","em"))),r=e.masks}let s=t-n;r.forEach((e,t)=>{let a=t===r.length-1;l.Ay.set(e,{lineHeight:n,marginTop:0===t?"".concat(.5*s,"em"):"0",marginBottom:a?"".concat(.5*s,"em"):"".concat(s,"em")})})}function m(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.2,n=parseFloat(l.Ay.getProperty(e,"line-height","em"))-r,s=t.map(e=>e.parentElement).filter(e=>e instanceof HTMLElement);s.forEach((e,t)=>{let a=t===s.length-1;l.Ay.set(e,{lineHeight:r,marginTop:0===t?"".concat(.5*n,"em"):"0",marginBottom:a?"".concat(.5*n,"em"):"".concat(n,"em")})})}},65636:(e,t,r)=>{r.d(t,{A:()=>y});var n=r(37876),l=r(26006),s=r.n(l),a=r(14232),o=r(81235),i=r(15039),u=r.n(i),c=r(11216),d=r(59136),h=r(88724),m=r(4097),f=r(84595),p=r(46134),g=r(19352),v=r(98433),x=r(98312);function y(e){let{className:t,title:r,quote:l,author_name:i,author_title:y,background_image:b,brand_logo:w,statistic_value:N,statistic_description:A,isStatisticFirst:j,video:E,statisticColor:C="yellow"}=e,{setIsPlayerOverlayOpened:k,setPlayerOverlayVideoUrl:P}=(0,h.P)(),{isMobile:R}=(0,m.X)(),[S,T]=(0,c.yD)(),_=(0,a.useRef)(null),q=(0,a.useRef)(null),F=(0,a.useRef)(null),L=(0,a.useRef)(null),M=!!(N&&A),z=(0,a.useRef)(null),B=(0,a.useRef)(null);return(0,d.v)({rect:T,start:"top bottom",end:"bottom top",onProgress:e=>{let{progress:t}=e;z.current&&z.current.progress(t)}}),(0,a.useEffect)(()=>{o.Ay.set(_.current,{scale:1.2,yPercent:-10,willChange:"transform"}),z.current=o.Ay.timeline({paused:!0}),z.current.fromTo(_.current,{yPercent:-10},{yPercent:10,ease:"none"}),B.current=o.Ay.timeline({defaults:{ease:"power3.out",duration:.5},paused:!0}),B.current.to(_.current,{scale:1.3}),B.current.fromTo(q.current,{yPercent:100},{yPercent:0},"<"),B.current.to(F.current,{y:-8,ease:"back.out(5)"},"<")},[]),(0,a.useEffect)(()=>
1{if(R){var e;o.Ay.killTweensOf(B.current),null==(e=B.current)||e.progress(0)}},[R]),(0,n.jsxs)("div",{ref:S,className:u()(s().wrapper,{[s().hasStatistic]:M,[s().hasNoQuote]:!l,[s().isReversed]:j},!(null==E?void 0:E.text)&&s().hasNoVideo,t),onMouseEnter:()=>{var e;!R&&(null==E?void 0:E.text)&&(null==(e=B.current)||e.play())},onMouseLeave:()=>{var e;R||null==(e=B.current)||e.reverse()},onClick:()=>{(null==E?void 0:E.text)&&(k(!0),P((null==E?void 0:E.text)||""))},children:[(0,n.jsx)("div",{className:s().backgroundImage,children:(0,n.jsx)(v.A,{image:b,ref:_,alt:(null==b?void 0:b.alt)||"Background Image",fill:!0,sizes:"(max-width: 768px) 100vw, 50vw"})}),r?(0,n.jsx)(g.A,{title:r}):M?(0,n.jsx)(x.A,{idx:0,className:u()(s().statistic,{[s().isStatisticFirst]:j}),color:C,value:N||"",description:A||""}):(0,n.jsx)("div",{className:s().title}),(0,n.jsx)("div",{className:s().gradientOverlay}),(0,n.jsxs)("div",{ref:F,className:s().footer,children:[(0,n.jsx)("div",{ref:q,className:s().hoverOverlay}),l?(0,n.jsx)(p.A,{className:"".concat(s().testimonialQuote," quote-wrapper"),quote:l,author_name:i,author_title:y}):(0,n.jsxs)("div",{className:s().authorContent,children:[(0,n.jsx)("h6",{className:s().authorName,children:i}),(0,n.jsx)("p",{className:s().authorTitle,children:y})]}),(0,n.jsxs)("div",{ref:L,className:s().brandPanel,children:[w&&(0,n.jsx)("div",{className:s().brandLogo,children:(0,n.jsx)(v.A,{image:{url:null==w?void 0:w.url,alt:(null==w?void 0:w.alt)||"Brand Logo"},alt:(null==w?void 0:w.alt)||"Brand Logo",fill:!0,sizes:"100%"})}),(null==E?void 0:E.text)&&(0,n.jsx)("button",{className:s().playButton,"aria-label":"Play testimonial",children:(0,n.jsx)(f.ud,{})})]})]})]})}},90352:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var n=r(37876),l=r(124),s=r.n(l),a=r(65636),o=r(15039),i=r.n(o);let u=e=>{let{slice:t}=e,{title:r,quote:l,author_name:o,author_title:u,background_image:c,brand_logo:d,video:h}=t.primary;return(0,n.jsx)(a.A,{title:r,quote:l||"",author_name:o||"",author_title:u||"",background_image:c,brand_logo:d,video:h,className:i()(s().container,s()[t.variation])})}},98312:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(37876),l=r(34194),s=r.n(l),a=r(14232),o=r(81235),i=r(15039),u=r.n(i),c=r(11216),d=r(59136),h=r(5721);function m(e){let{idx:t,value:r,description:l,size:i="100%",layout:m="column",className:f,isScrub:p=!0,color:g="yellow"}=e,{width:v}=(0,c.lW)(),x=null!=v&&v<=h.f.tablet,[y,b]=(0,a.useState)(()=>({}));(0,a.useLayoutEffect)(()=>{let e=null!=v?v:window.innerWidth,t=null!=e&&e<=h.f.tablet,r="column"===m||t;b(i&&r?{height:i,width:"100%"}:{width:i,height:"100%"})},[m,i,v]);let w=(0,a.useRef)(null),[N,A]=(0,c.yD)(),j=(0,a.useRef)(null),E=(0,a.useRef)(null),C=(0,a.useRef)(null),[k,P,R]=(e=>{if("number"==typeof e)return e;let[,t=null,r=null,n=null]=e.match(/^(\D*)(\d*)(.*)$/)||[];return[t,r,n]})(r);return(0,d.v)({rect:A,start:"top bottom",end:"bottom bottom",onProgress:e=>{let{progress:t}=e;w.current&&p&&w.current.progress(t)}}),(0,a.useEffect)(()=>{if(!E.current)return;E.current.style.minWidth="auto";let e=E.current.getBoundingClientRect();E.current.style.minWidth="".concat(e.width,"px"),w.current&&(w.current.kill(),w.current=null);let r=null!=v?v:window.innerWidth;return w.current=(e=>{let r={number:0},n=null!=e?e:x,l="row"===m&&!n,s=o.Ay.timeline({paused:p,defaults:{ease:"expo.out",duration:1}});s.to(r,{number:parseInt(P||"0"),ease:"expo.inOut",delay:l?0:+t,onUpdate:()=>{E.current&&(E.current.textContent=r.number.toFixed(0))}}),P&&P.length>1&&s.fromTo(C.current,{xPercent:-100},{xPercent:0},"<");let a="column"===m||n;return"row"!==m||n?a&&s.fromTo(j.current,{height:0,willChange:"height"},{height:i,willChange:"height"},"<"):s.fromTo(j.current,{width:"20%",willChange:"width"},{width:i,willChange:"width"},"<"),s})(null!=r&&r<=h.f.tablet),()=>{w.current&&(w.current.kill(),w.current=null)}},[P,x,v]),(0,n.jsx)("div",{ref:N,className:u()(s().columnWrapper,s()[m],s()[g],f),children:(0,n.jsxs)("div",{ref:j,className:s().wrapper,style:y,children:[(0,n.jsxs)("h3",{className:s().value,children:[(0,n.jsx)("span",{className:s().prefix,children:k}),(0,n.jsx)("span",{ref:E,className:s().number,children:P}),(0,n.jsx)("span",{ref:C,className:u()(s().suffix,R&&R.length>6?"xs":R&&R.length>3?"small":""),children:R})]}),(0,n.jsx)("p",{className:s().description,children:l})]})})}},98433:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(37876),l=r(44879),s=r.n(l),a=r(69241),o=r(54587),i=r.n(o),u=r(14232);let c=(0,u.forwardRef)((e,t)=>{var r,l;let{image:o,alt:c,className:d,width:h,height:m,fill:f=!1,sizes:p,priority:g=!1,disableTransition:v=!1,objectPosition:x}=e;if(!(null==o?void 0:o.url))return null;let[y,b]=(0,u.useState)(!1),w=h||(null==(r=o.dimensions)?void 0:r.width)||800,N=m||(null==(l=o.dimensions)?void 0:l.height)||600;return(0,n.jsx)("div",{className:(0,a.A)(s().pictureComponent,d),children:(0,n.jsx)(i(),{ref:t,src:o.url,alt:c||o.alt||"",...f?{fill:!0}:{width:w,height:N},sizes:p||"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:(0,a.A)(s().image,{[s().loaded]:y,[s().disableTransition]:v}),...x?{style:{objectPosition:x}}:{},onLoad:()=>{b(!0)},priority:g})})});c.displayName="Picture";let d=c}}]);

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.