PageSourceSearch

https://www.finnable.com/_next/static/chunks/2815.eb3d3cd9f9f6352a.js

js finnable.com collected 2026-10-02 03:39:38 UTC 17,135 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2815],{15380:(e,l,s)=>{s.d(l,{A:()=>t});let t=(0,s(9028).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},24048:(e,l,s)=>{s.d(l,{A7:()=>h,FN:()=>x,Wk:()=>m});var t=s(37876),r=s(14232),a=s(34820),i=s(27025),n=s(42298),o=s(85172),c=s(55942);let d=r.createContext(null);function u(){let e=r.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let x=r.forwardRef((e,l)=>{let{orientation:s="horizontal",opts:n,setApi:u,plugins:x,autoPlay:m,className:h,children:p,autoScroll:v,speed:f,delay:b,stopOnInteraction:g=!1,stopOnMouseEnter:w=!0,...j}=e,N=[...x||[]];m&&N.push((0,o.A)({delay:b,stopOnInteraction:g,stopOnMouseEnter:w})),v&&N.push((0,c.A)({speed:f,stopOnInteraction:g,stopOnMouseEnter:w}));let[y,C]=(0,a.A)({...n,axis:"horizontal"===s?"x":"y"},N),[k,S]=r.useState(!1),[A,P]=r.useState(!1),I=r.useCallback(e=>{e&&(S(e.canScrollPrev()),P(e.canScrollNext()))},[]),z=r.useCallback(()=>{null==C||C.scrollPrev()},[C]),E=r.useCallback(()=>{null==C||C.scrollNext()},[C]),H=r.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),z()):"ArrowRight"===e.key&&(e.preventDefault(),E())},[z,E]);return r.useEffect(()=>{C&&u&&u(C)},[C,u]),r.useEffect(()=>{if(C)return I(C),C.on("reInit",I),C.on("select",I),()=>{null==C||C.off("select",I)}},[C,I]),(0,t.jsx)(d.Provider,{value:{carouselRef:y,api:C,opts:n,orientation:s||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:z,scrollNext:E,canScrollPrev:k,canScrollNext:A},children:(0,t.jsx)("div",{ref:l,onKeyDownCapture:H,className:(0,i.cn)("relative",h),role:"region","aria-roledescription":"carousel",...j,children:p})})});x.displayName="Carousel";let m=r.forwardRef((e,l)=>{let{className:s,classNameContainer:r,...a}=e,{carouselRef:n,orientation:o}=u();return(0,t.jsx)("div",{ref:n,className:(0,i.cn)("overflow-hidden",r),children:(0,t.jsx)("div",{ref:l,className:(0,i.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",s),...a})})});m.displayName="CarouselContent";let h=r.forwardRef((e,l)=>{let{className:s,...r}=e,{orientation:a}=u();return(0,t.jsx)("div",{ref:l,role:"group","aria-roledescription":"slide",className:(0,i.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===a?"pl-4":"pt-4",s),...r})});h.displayName="CarouselItem",r.forwardRef((e,l)=>{let{className:s,variant:r="outline",size:a="icon",...o}=e,{orientation:c,scrollPrev:d,canScrollPrev:x}=u();return(0,t.jsx)(n.$,{ref:l,variant:r,size:a,className:(0,i.cn)("absolute  h-8 w-8 rounded-full","horizontal"===c?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!x,onClick:d,...o,children:(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})})}).displayName="CarouselPrevious",r.forwardRef((e,l)=>{let{className:s,variant:r="outline",size:a="icon",...o}=e,{orientation:c,scrollNext:d,canScrollNext:x}=u();return(0,t.jsx)(n.$,{ref:l,variant:r,size:a,className:(0,i.cn)("absolute h-8 w-8 rounded-full","horizontal"===c?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!x,onClick:d,...o,children:(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})})}).displayName="CarouselNext"},41066:(e,l,s)=>{s.d(l,{A:()=>a});var t=s(37876),r=s(27025);s(14232);let a=e=>{let{className:l,activeIndex:s,index:a,onClick:i,orientation:n="horizontal"}=e;return(0,t.jsx)("div",{className:(0,r.cn)("shrink-0 rounded-full cursor-pointer transition-all duration-300","horizontal"===n&&"w-2 h-1","vertical"===n&&"w-1 h-2",s===a?"vertical"===n?"bg-primary-gradient h-4":"bg-primary-gradient w-4":"bg-textColor/25",l),onClick:i})}},57619:(e,l,s)=>{s.d(l,{A:()=>t});let t=(0,s(9028).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},72815:(e,l,s)=>{s.r(l),s.d(l,{default:()=>y});var t=s(37876),r=s(14232),a=s(21226),i=s(41066),n=s(54587),o=s.n(n),c=s(27025);let d=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"currentColor",stroke:"currentColor",strokeWidth:0,viewBox:"0 0 512 512",children:(0,t.jsx)("path",{stroke:"none",d:"M96 52v408l320-204L96 52z"})}),u=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"
1currentColor",stroke:"currentColor",strokeWidth:0,viewBox:"0 0 320 512",children:(0,t.jsx)("path",{stroke:"none",d:"M48 64C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48h-32z"})}),x=e=>{let{imgUrl:l,title:s,subTitle:a,videoUrl:i,priority:n,activeCarouselIndex:x,isActive:m,setIsPlaying:h,isPlaying:p}=e,v=(0,r.useRef)(null),f=(0,r.useRef)(null),[b,g]=(0,r.useState)(!1),w=()=>{v.current&&v.current.play(),g(!0),h(!0)};(0,r.useEffect)(()=>{v.current&&b&&v.current.play()},[b]);let j=e=>{e&&e.stopPropagation(),h(!1),g(!1),v.current&&(v.current.pause(),v.current.currentTime=0)};return(0,r.useEffect)(()=>{let e=()=>{if(v.current&&f.current){let e=f.current.getBoundingClientRect();!(e.top>=0&&e.bottom<=window.innerHeight)&&p&&(h(!1),g(!1),v.current.pause(),v.current.currentTime=0)}};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[p]),(0,r.useEffect)(()=>{h(!1),g(!1),v.current&&(v.current.pause(),v.current.currentTime=0)},[x]),(0,t.jsxs)("div",{ref:f,className:(0,c.cn)("relative shadow-secondary-shadow-lite rounded-full group text-lg transition-all cursor-pointer w-[175px] h-[401px] overflow-hidden p-2 bg-white/60",b?"w-[295px]":"",m?"scale-110 animate-card-border":""),onClick:()=>{b?j():w()},children:[(0,t.jsxs)("div",{className:"absolute inset-0",children:[i&&p?(0,t.jsx)("div",{className:"absolute top-2 left-2 right-2 flex-center rounded-t-full rounded-b-md overflow-hidden",children:(0,t.jsx)("video",{ref:v,src:i,loop:!0,playsInline:!0,className:"w-full h-[283px] object-cover"})}):(0,t.jsx)("div",{className:"absolute top-2 left-2 right-2 flex-center",children:(0,t.jsx)(o(),{priority:n,src:l,width:500,height:500,alt:s,className:"w-full object-cover h-[283px] rounded-full transition-all duration-300"})}),(0,t.jsxs)("div",{className:"absolute bottom-10 left-0 right-0 flex flex-col items-center backdrop-blur-[25px]",children:[(0,t.jsx)("div",{className:"text-base font-bold ",children:s}),(0,t.jsx)("div",{className:"text-[10px] leading-[18px] uppercase font-normal text-textColor/70",children:a})]})]}),i&&(0,t.jsx)(t.Fragment,{children:p?(0,t.jsx)("button",{id:"Pause Icon","aria-label":"Pause Icon",onClick:j,className:"absolute top-[285px] left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-12 h-12 bg-primary-gradient rounded-full flex-center",children:(0,t.jsx)("div",{className:"flex-center text-white",children:(0,t.jsx)(u,{})})}):(0,t.jsx)("button",{id:"Play Icon","aria-label":"Play Icon",onClick:w,className:"absolute top-[285px] left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-12 h-12 bg-primary-gradient rounded-full flex-center",children:(0,t.jsx)("div",{className:"flex-center text-white ml-1",children:(0,t.jsx)(d,{})})})})]})};var m=s(24048);let h=e=>{let{itemsToShow:l}=e,[s,a]=(0,r.useState)(void 0),[n,o]=(0,r.useState)(0),[d,u]=(0,r.useState)([]),[h,p]=(0,r.useState)(!1),v=e=>{s&&s.scrollTo(e)},f=(0,r.useCallback)(()=>{s&&o(s.selectedScrollSnap())},[s]);return(0,r.useEffect)(()=>{if(s)return u(s.scrollSnapList()),o(s.selectedScrollSnap()),s.on("select",f),()=>{s.off("select",f)}},[s,f]),(0,t.jsxs)("div",{children:[(0,t.jsx)(m.FN,{opts:{align:"center",loop:!0},setApi:a,autoPlay:!h,delay:4e3,draggable:!1,children:(0,t.jsx)(m.Wk,{classNameContainer:"overflow-hidden flex-center",className:"pb-12 pt-16",children:null==l?void 0:l.map((e,s)=>{var r,a;let i=n===s;return(0,t.jsx)(m.A7,{className:(0,c.cn)({1:"basis-[100%]",2:"basis-[80%]",3:"basis-[50%]",4:"basis-[35%]",5:"basis-[27%]",6:"basis-[22%]",7:"basis-[17%]",8:"basis-[16%]",9:"basis-[13%]",10:"basis-[12%]",11:"basis-[11%]",12:"basis-[10%]",13:"basis-[9%]",14:"basis-[8%]",15:"basis-[7%]",16:"basis-[6%]",17:"basis-[5%]",18:"basis-[4%]",19:"basis-[3%]",20:"basis-[2%]",21:"basis-[1%]"}[null==l?void 0:l.length]||"basis-[1%]"," flex-center"),children:(0,t.jsxs)("div",{className:"w-full flex-center select-none relative",children:[!i&&(0,t.jsx)("div",{className:"absolute inset-0 cursor-pointer z-10 ",onClick:()=>v(s)}),(0,t.jsx)(x,{videoUrl:null==e||null==(r=e.video)?void 0:r.url,t
1itle:null==e?void 0:e.videoUserName,subTitle:null==e?void 0:e.userLocation,imgUrl:null==e||null==(a=e.thumbnail)?void 0:a.url,activeCarouselIndex:n,isActive:i,isPlaying:h,setIsPlaying:p})]})},s)})})}),(null==d?void 0:d.length)>1?(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:d.map((e,l)=>(0,t.jsx)(i.A,{activeIndex:n,index:l,onClick:()=>v(l)},l))}):null]})},p=e=>{let{imgUrl:l,title:s,subTitle:a,videoUrl:i,isHovered:n,setIsHovered:x}=e,m=(0,r.useRef)(null),[h,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=m.current;e&&(n&&h?e.play().catch(()=>{}):e.pause())},[n,h]),(0,t.jsx)("div",{className:(0,c.cn)("relative shadow-secondary-shadow-lite rounded-full group text-lg lg:min-w-[175px] h-[401px] overflow-hidden p-2 bg-white/60 cursor-pointer w-[175px] focus:w-[295px] lg:w-[175px] lg:hover:w-[265px] transition-all duration-500 delay-100"),children:(0,t.jsxs)("div",{className:"absolute inset-0 z-10",onMouseEnter:()=>{x(!0),p(!0)},onMouseLeave:()=>{x(!1),p(!1),m.current&&(m.current.pause(),m.current.currentTime=0)},children:[i&&h?(0,t.jsx)("div",{className:"flex-center absolute top-2 left-2 right-2 w-[calc(100%-16px)] rounded-t-full rounded-b-[20px] overflow-hidden",children:(0,t.jsx)("video",{ref:m,src:i,loop:!0,playsInline:!0,className:"w-full h-[283px] object-cover transition-all duration-300 opacity-100 rounded-md"})}):(0,t.jsx)("div",{className:"flex-center absolute top-2 left-2 right-2 w-[calc(100%-16px)]",children:(0,t.jsx)(o(),{src:l,width:500,height:500,alt:s||"image",className:"w-full object-cover h-[283px] rounded-full bg-gray-400 transition-all duration-300 bg-foreground
1/30 shrink-0"})}),(0,t.jsxs)("div",{className:"absolute bottom-10 left-0 right-0 flex justify-center flex-col items-center backdrop-blur-[25px]",children:[(0,t.jsx)("div",{className:"text-base font-bold -tracking-[.5px] text-textColor",children:s}),(0,t.jsx)("div",{className:"text-[10px] leading-[14px] tracking-[2px] uppercase font-normal text-textColor/70",children:a})]}),i&&(0,t.jsx)("button",{id:h?"Pause Icon":"Play Icon","aria-label":h?"Pause Icon":"Play Icon",onClick:e=>{e.stopPropagation(),m.current&&(h?(m.current.currentTime=0,p(!1),x(!1)):(p(!0),x(!0)))},className:"z-20 w-12 h-12 absolute top-[285px] left-1/2 -translate-x-1/2 -translate-y-1/2 bg-primary-gradient rounded-full overflow-hidden flex-center text-white",children:h?(0,t.jsx)(u,{}):(0,t.jsx)("div",{className:"flex-center text-white ml-1",children:(0,t.jsx)(d,{})})})]})})},v=e=>{let{itemsToShow:l}=e,[s,a]=(0,r.useState)(void 0),[n,o]=(0,r.useState)(0),[d,u]=(0,r.useState)([]),[x,h]=(0,r.useState)(!1),v=e=>{s&&s.scrollTo(e)},f=(0,r.useCallback)(()=>{s&&o(s.selectedScrollSnap())},[s]);return((0,r.useEffect)(()=>{if(s)return u(s.scrollSnapList()),o(s.selectedScrollSnap()),s.on("select",f),()=>{s.off("select",f)}},[s,f]),l.length<=4)?(0,t.jsx)("div",{className:"flex-center pt-10 pb-12",children:(0,t.jsx)("div",{className:"flex justify-between max-w-[1224px]",children:l.map((e,l)=>{var s,r;return(0,t.jsx)("div",{className:"min-w-[250px] flex-center",children:(0,t.jsx)(p,{videoUrl:null==e||null==(s=e.video)?void 0:s.url,title:null==e?void 0:e.videoUserName,subTitle:null==e?void 0:e.userLocation,imgUrl:null==e||null==(r=e.thumbnail)?void 0:r.url,isHovered:x,setIsHovered:h},l)},l)})})}):(0,t.jsxs)("div",{className:"max-lg:hidden",children:[(0,t.jsx)(m.FN,{opts:{align:"center",loop:!0},setApi:a,autoPlay:!x,delay:4e3,draggable:!1,children:(0,t.jsx)(m.Wk,{classNameContainer:"overflow-hidden flex-center",className:"pb-12 pt-10",children:null==l?void 0:l.map((e,s)=>{var r,a;let i=n===s;return(0,t.jsx)(m.A7,{className:(0,c.cn)({1:"basis-[100%]",2:"basis-[79%]",3:"basis-[50%]",4:"basis-[56%]",5:"basis-[27%]",6:"basis-[22%]",7:"basis-[17%]",8:"basis-[16%]",9:"basis-[13%]",10:"basis-[12%]",11:"basis-[11%]",12:"basis-[10%]",13:"basis-[9%]",14:"basis-[8%]",15:"basis-[7%]",16:"basis-[6%]",17:"basis-[5%]",18:"basis-[4%]",19:"basis-[3%]",20:"basis-[2%]",21:"basis-[1%]"}[null==l?void 0:l.length]||"basis-[1%]"," flex-center]"),children:(0,t.jsxs)("div",{className:"w-full flex-center select-none relative",children:[!i&&(0,t.jsx)("div",{className:"absolute inset-0 cursor-pointer z-10 ",onClick:()=>v(s)}),(0,t.jsx)(p,{videoUrl:null==e||null==(r=e.video)?void 0:r.url,t
1itle:null==e?void 0:e.videoUserName,subTitle:null==e?void 0:e.userLocation,imgUrl:null==e||null==(a=e.thumbnail)?void 0:a.url,isHovered:x,setIsHovered:h})]})},s)})})}),(null==d?void 0:d.length)>1?(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-10",children:d.map((e,l)=>(0,t.jsx)(i.A,{activeIndex:n,index:l,onClick:()=>v(l)},l))}):null]})};var f=s(75794),b=s(57619),g=s(15380);let w=r.memo(e=>{let{rating:l}=e,s=Math.max(0,Math.min(5,Math.round(l||0)));return(0,t.jsxs)("div",{"aria-label":"".concat(s," out of 5 stars"),className:"text-primary text-lg leading-none tracking-[1px]",role:"img",children:["★".repeat(s),"☆".repeat(5-s)]})}),j=r.memo(e=>{let{customerName:l,customerLocation:s,customerReview:r,customerRating:a}=e;return(0,t.jsxs)("article",{className:"flex h-full min-h-[330px] flex-col rounded-xl border border-transparent bg-white px-7 py-8 shadow-secondary-shadow-dark transition-shadow duration-300 hover:animate-card-border hover:shadow-none md:min-h-[360px] md:px-8 md:py-9",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-base font-bold text-textColor md:text-xlg",children:l}),s?(0,t.jsx)("p",{className:"text-sm leading-normal text-textColor md:text-sm",children:s}):null]}),(0,t.jsx)("div",{className:"mt-5",children:(0,t.jsx)(w,{rating:a})}),(0,t.jsx)("p",{className:"mt-5 pr-2 max-h-[180px] overflow-y-auto no-scroll text-sm leading-relaxed text-textColor md:text-base",children:r})]})}),N=e=>{let{reviews:l=[]}=e,[s,a]=(0,r.useState)(void 0),i=(0,r.useMemo)(()=>[...l].sort((e,l)=>e.cardOrder-l.cardOrder),[l]);return 0===i.length?null:(0,t.jsx)("section",{"aria-labelledby":"customer-reviews-heading",className:"px-5 py-12 md:py-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-[1224px]",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h2",{id:"customer-reviews-heading",className:"text-center text-xl lg:text-2.5xl font-light [&_span]:text-gradient [&_span]:font-semibold text-textColor mb-2 lg:leading-[43px]",children:"Hear From Our Personal Loan Customers"}),(0,t.jsx)("p",{className:"pr-2 max-h-[180px] overflow-y-auto no-scroll text-sm leading-relaxed text-textColor md:text-base",children:"Here's what our customers have to say about our services"})]}),(0,t.jsxs)("div",{className:"relative mt-10",children:[(0,t.jsx)(m.FN,{"aria-label":"Customer reviews carousel",opts:{align:"start",loop:!0},autoPlay:!0,delay:3500,stopOnMouseEnter:!0,setApi:a,children:(0,t.jsx)(m.Wk,{className:"-ml-6",classNameContainer:"-mx-5 -my-8 px-5 py-8",children:i.map(e=>(0,t.jsx)(m.A7,{className:"pl-6 md:basis-1/2 lg:basis-1/3",children:(0,t.jsx)(j,{customerName:e.customerName,customerLocation:e.customerLocation,customerReview:e.customerReview,customerRating:e.customerRating})},e.documentId||e.id))})}),i.length>1&&(0,t.jsxs)("div",{className:"mt-7 flex justify-center gap-3",children:[(0,t.jsx)("button",{type:"button","aria-label":"Show previous customer reviews",className:"flex h-10 w-10 items-center justify-center rounded-full border border-primary text-primary transition-colors hover:bg-primary hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",onClick:()=>null==s?void 0:s.scrollPrev(),children:(0,t.jsx)(b.A,{className:"h-5 w-5","aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button","aria-label":"Show next customer reviews",className:"flex h-10 w-10 items-center justify-center rounded-full border border-primary text-primary transition-colors hover:bg-primary hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",onClick:()=>null==s?void 0:s.scrollNext(),children:(0,t.jsx)(g.A,{className:"h-5 w-5","aria-hidden":"true"})})]})]})]})})},y=e=>{let{sectionHeading:l,stories:s,className:r,customerReviews:i,customerReviewsError:n}=e;return(0,t.jsxs)("section",{"aria-labelledby":(0,f.mL)(null==l?void 0:l.largeHeading),className:(0,c.cn)("pt-10 pb-0",r),children:[(0,t.jsx)(N,{reviews:i}),(0,t.jsx)("div",{className:"max-lg:px-4",children:(0,t.jsx)(a.default,{largeHeading:null==l?void 0:l.largeHeading,smallHeading:null==l?void 0:l.smallHeading,largeHeadingClassName:"mb-0"})}),(0,t.jsxs)("div",{className:"lg:hidden",children:[" ",(0,t.jsx)(h,{itemsToShow:s})]}),(0,t.jsxs)("div",{className:"hidden lg:block",children:[" ",(0,t.jsx)(v,{itemsToShow:s})]})]})}}}]);

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.