PageSourceSearch

https://a4cp.com/assets/RecentDeals-WIjv4ufR.js

js a4cp.com collected 2026-10-04 16:34:48 UTC 43,892 bytes, 41 lines download raw bytes

1import{l as e,o as t,s as n}from"./useSelector-BnRwIYQX.js";import{$ as r,D as i,O as a,T as o,b as s,c,d as l,l as u,u as d,w as f,x as p,y as m}from"./QualificationFields-DS_PE4Qq.js";import{T as h}from"./LendingAreasMap-FGa5ipKN.js";import{i as g}from"./Sections-B41u3ZY3.js";import{A as ee,j as _,k as v}from"./index-CeJKb9Mz.js";var y=i(`arrow-up-right`,[[`path`,{d:`M7 7h10v10`,key:`1tivn9`}],[`path`,{d:`M7 17 17 7`,key:`1vkiza`}]]),b=i(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),x=i(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),S=e(n(),1),te=Object.defineProperty,C=(e,t)=>te(e,`name`,{value:t,configurable:!0}),w=S.useId||(()=>void 0),ne=0;function T(e){let[t,n]=S.useState(w());return u(()=>{e||n(e=>e??String(ne++))},[e]),e||(t?`radix-${t}`:``)}C(T,`useId`);var re=Object.defineProperty,E=(e,t)=>re(e,`name`,{value:t,configurable:!0});function D(e){let t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>((...e)=>t.current?.(...e)),[])}E(D,`useCallbackRef`);var O=t(),ie=Object.defineProperty,k=(e,t)=>ie(e,`name`,{value:t,configurable:!0}),ae=`dismissableLayer.update`,oe=`dismissableLayer.pointerDownOutside`,se=`dismissableLayer.focusOutside`,ce,le=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),ue=S.forwardRef(k(function(e,t){let{disableOutsidePointerEvents:n=!1,deferPointerDownOutside:r=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:c,onDismiss:u,...d}=e,f=S.useContext(le),[p,h]=S.useState(null),g=p?.ownerDocument??globalThis?.document,[,ee]=S.useState({}),_=o(t,h),v=Array.from(f.layers),[y]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),b=y?v.indexOf(y):-1,x=p?v.indexOf(p):-1,te=f.layersWithOutsidePointerEventsDisabled.size>0,C=x>=b,w=S.useRef(!1),ne=pe(e=>{a?.(e),c?.(e),e.defaultPrevented||u?.()},{ownerDocument:g,deferPointerDownOutside:r,isDeferredPointerDownOutsideRef:w,dismissableSurfaces:f.dismissableSurfaces,shouldHandlePointerDownOutside:S.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...f.branches].some(t=>t.contains(e));return C&&!t},[f.branches,C])}),T=me(e=>{if(r&&w.current)return;let t=e.target;[...f.branches].some(e=>e.contains(t))||(s?.(e),c?.(e),e.defaultPrevented||u?.())},g),re=p?x===v.length-1:!1,E=D(e=>{e.key===`Escape`&&(i?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))});return S.useEffect(()=>{if(re)return g.addEventListener(`keydown`,E,{capture:!0}),()=>g.removeEventListener(`keydown`,E,{capture:!0})},[g,re,E]),S.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(ce=g.body.style.pointerEvents,g.body.style.pointerEvents=`none`),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),he(),()=>{n&&(f.layersWithOutsidePointerEventsDisabled.delete(p),f.layersWithOutsidePointerEventsDisabled.size===0&&(g.body.style.pointerEvents=ce))}},[p,g,n,f]),S.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),he())},[p,f]),S.useEffect(()=>{let e=k(()=>ee({}),`handleUpdate`);return document.addEventListener(ae,e),()=>document.removeEventListener(ae,e)},[]),(0,O.jsx)(m.div,{...d,ref:_,style:{pointerEvents:te?C?`auto`:`none`:void 0,...e.style},onFocusCapture:l(e.onFocusCapture,T.onFocusCapture),onBlurCapture:l(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,ne.onPointerDownCapture)})},`DismissableLayer`));function de(){let e=S.useContext(le),[t,n]=S.useState(null);return S.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}k(de,`useDismissableLayerSurface`);var fe=k(()=>!0,`IS_TRUE`);function pe(e,t){let{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:a,shouldHandlePointerDownOutside:o=fe}=t,s=D(e),c=S.useRef(!1),l=S.useRef(!1),u=S.useRef(new Map),d=S.useRef(()=>{});return S.useEffect(()=>{function e(){l.current=!1,i.current=!1,u.current.clear()}k(e,`resetOutsideInteraction`);function t(){return Array.from(u.current.values()).some(Boolean)}k(t,`isOutsideInteractionIntercepted`);function f(e){if(!l.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||u.current.set(e.type,!0),e.type===`click`&&window.setTimeout(()=>{l.current&&d.current()},0)}k(f,`handleInteractionCapture`);function p(e){l.current&&u.current.set(e.type,!1)}k(p,`handleInteractionBubble`);let m=k(a=>
1{if(a.target&&!c.current){let f=function(){n.removeEventListener(`click`,d.current);let r=t();e(),r||ge(oe,s,p,{discrete:!0})};if(k(f,`handleAndDispatchPointerDownOutsideEvent`),!o(a.target)){n.removeEventListener(`click`,d.current),e(),c.current=!1;return}let p={originalEvent:a};l.current=!0,i.current=r&&a.button===0,u.current.clear(),!r||a.button!==0?f():(n.removeEventListener(`click`,d.current),d.current=f,n.addEventListener(`click`,d.current,{once:!0}))}else n.removeEventListener(`click`,d.current),e();c.current=!1},`handlePointerDown`),h=[`pointerup`,`mousedown`,`mouseup`,`touchstart`,`touchend`,`click`];for(let e of h)n.addEventListener(e,f,!0),n.addEventListener(e,p);let g=window.setTimeout(()=>{n.addEventListener(`pointerdown`,m)},0);return()=>{window.clearTimeout(g),n.removeEventListener(`pointerdown`,m),n.removeEventListener(`click`,d.current);for(let e of h)n.removeEventListener(e,f,!0),n.removeEventListener(e,p)}},[n,s,r,i,a,o]),{onPointerDownCapture:k(()=>c.current=!0,`onPointerDownCapture`)}}k(pe,`usePointerDownOutside`);function me(e,t=globalThis?.document){let n=D(e),r=S.useRef(!1);return S.useEffect(()=>{let e=k(e=>{e.target&&!r.current&&ge(se,n,{originalEvent:e},{discrete:!1})},`handleFocus`);return t.addEventListener(`focusin`,e),()=>t.removeEventListener(`focusin`,e)},[t,n]),{onFocusCapture:k(()=>r.current=!0,`onFocusCapture`),onBlurCapture:k(()=>r.current=!1,`onBlurCapture`)}}k(me,`useFocusOutside`);function he(){let e=new CustomEvent(ae);document.dispatchEvent(e)}k(he,`dispatchUpdate`);function ge(e,t,n,{discrete:r}){let i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?s(i,a):i.dispatchEvent(a)}k(ge,`handleAndDispatchCustomEvent`);var _e=Object.defineProperty,A=(e,t)=>_e(e,`name`,{value:t,configurable:!0}),ve=`focusScope.autoFocusOnMount`,ye=`focusScope.autoFocusOnUnmount`,be={bubbles:!1,cancelable:!0},xe=S.forwardRef(A(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...s}=e,[c,l]=S.useState(null),u=D(i),d=D(a),f=S.useRef(null),p=o(t,l),h=S.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;S.useEffect(()=>{if(r){let e=function(e){if(h.paused||!c)return;let t=e.target;c.contains(t)?f.current=t:M(f.current,{select:!0})},t=function(e){if(h.paused||!c)return;let t=e.relatedTarget;t!==null&&(c.contains(t)||M(f.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&M(c)};A(e,`handleFocusIn`),A(t,`handleFocusOut`),A(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return c&&r.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[r,c,h.paused]),S.useEffect(()=>{if(c){De.add(h);let e=document.activeElement;if(!c.contains(e)){let t=new CustomEvent(ve,be);c.addEventListener(ve,u),c.dispatchEvent(t),t.defaultPrevented||(Se(Ae(j(c)),{select:!0}),document.activeElement===e&&M(c))}return()=>{c.removeEventListener(ve,u),setTimeout(()=>{let t=new CustomEvent(ye,be);c.addEventListener(ye,d),c.dispatchEvent(t),t.defaultPrevented||M(e??document.body,{select:!0}),c.removeEventListener(ye,d),De.remove(h)},0)}}},[c,u,d,h]);let g=S.useCallback(e=>{if(!n&&!r||h.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,a]=Ce(t);r&&a?!e.shiftKey&&i===a?(e.preventDefault(),n&&M(r,{select:!0})):e.shiftKey&&i===r&&(e.preventDefault(),n&&M(a,{select:!0})):i===t&&e.preventDefault()}},[n,r,h.paused]);return(0,O.jsx)(m.div,{tabIndex:-1,...s,ref:p,onKeyDown:g})},`FocusScope`));function Se(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(M(r,{select:t}),document.activeElement!==n)return}A(Se,`focusFirst`);function Ce(e){let t=j(e);return[we(t,e),we(t.reverse(),e)]}A(Ce,`getTabbableEdges`);function j(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:A(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)}
1);for(;n.nextNode();)t.push(n.currentNode);return t}A(j,`getTabbableCandidates`);function we(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Te(r,{upTo:t})))return r}A(we,`findVisible`);function Te(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}A(Te,`isHidden`);function Ee(e){return e instanceof HTMLInputElement&&`select`in e}A(Ee,`isSelectableInput`);function M(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ee(e)&&t&&e.select()}}A(M,`focus`);var De=Oe();function Oe(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=ke(e,t),e.unshift(t)},remove(t){e=ke(e,t),e[0]?.resume()}}}A(Oe,`createFocusScopesStack`);function ke(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}A(ke,`arrayRemove`);function Ae(e){return e.filter(e=>e.tagName!==`A`)}A(Ae,`removeLinks`);var je=e(r(),1),Me=Object.defineProperty,Ne=S.forwardRef(((e,t)=>Me(e,`name`,{value:t,configurable:!0}))(function(e,t){let{container:n,...r}=e,[i,a]=S.useState(!1);u(()=>a(!0),[]);let o=n||i&&globalThis?.document?.body;return o?je.createPortal((0,O.jsx)(m.div,{...r,ref:t}),o):null},`Portal`)),Pe=Object.defineProperty,N=(e,t)=>Pe(e,`name`,{value:t,configurable:!0});function Fe(e,t){return S.useReducer((e,n)=>t[e][n]??e,e)}N(Fe,`useStateMachine`);var Ie=N(e=>{let{present:t,children:n}=e,r=Le(t),i=typeof n==`function`?n({present:r.isPresent}):S.Children.only(n),a=Re(r.ref,ze(i));return typeof n==`function`||r.isPresent?S.cloneElement(i,{ref:a}):null},`Presence`);function Le(e){let[t,n]=S.useState(),r=S.useRef(null),i=S.useRef(e),a=S.useRef(`none`),o=S.useRef(void 0),[s,c]=Fe(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return S.useEffect(()=>{s===`mounted`?(a.current=o.current??F(r.current),o.current=void 0):a.current=`none`},[s]),u(()=>{let t=r.current,n=i.current;if(n!==e){let r=a.current,s=F(t);e?(o.current=s,c(`MOUNT`)):s===`none`||t?.display===`none`?c(`UNMOUNT`):c(n&&r!==s?`ANIMATION_OUT`:`UNMOUNT`),i.current=e}},[e,c]),u(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,o=N(a=>{let o=F(r.current).includes(CSS.escape(a.animationName));if(a.target===t&&o&&(c(`ANIMATION_END`),!i.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},`handleAnimationEnd`),s=N(e=>{e.target===t&&(a.current=F(r.current))},`handleAnimationStart`);return t.addEventListener(`animationstart`,s),t.addEventListener(`animationcancel`,o),t.addEventListener(`animationend`,o),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,s),t.removeEventListener(`animationcancel`,o),t.removeEventListener(`animationend`,o)}}c(`ANIMATION_END`)},[t,c]),{isPresent:[`mounted`,`unmountSuspended`].includes(s),ref:S.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,o.current=F(t)}else r.current=null;n(e)},[])}}N(Le,`usePresence`);function P(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}N(P,`setRef`);function Re(...e){let t=S.useRef(e);return t.current=e,S.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=P(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():P(n[e],null)}}},[])}N(Re,`useStableComposedRefs`);function F(e){return e?.animationName||`none`}N(F,`getAnimationName`);function ze(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}N(ze,`getElementRef`);var Be=Object.defineProperty,Ve=(e,t)=>Be(e,`name`,{value:t,configurable:!0}),I=0,L=null;function He(e){return Ue(),e.children}Ve(He,`FocusGuards`);function Ue(){S.useEffect(()=>{L||={start:We(),end:We()};let{start:e,end:t}=L;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),I++,()=>{I===1&&(L?.start.remove(),L?.end.remove(),L=null),I=Math.max(0,I-1)}},[])}Ve(Ue,`useFocusGuards`);function We(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}Ve(We,`createFocusGuard`);var R=`right-scroll-bar-position`,z=`width-before-scroll-bar`,Ge=`with-scroll-bars-hidden`,Ke=`--removed-body-scroll-bar-size`;function B(e,t){return typeof e==`function`?e(t):e&&(e.current=t),e}function qe(e,t){var n=(0,S.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(e){var t=n.value;t!==e&&(n.value=e,n.callback(e,t))}}}})[0];return n.callback=t,n.facade}var Je=typeof window<`u`?S.useLayoutEffect:S.useEffect,Ye=new WeakMap;function Xe(e,t){var n=qe(t||null,function(t){return e.forEach(function(e){return B(e,t)})});return Je(function(){var t=Ye.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||B(e,null)}
vendor: 8,060 bytes, lines 1-41
1),i.forEach(function(e){r.has(e)||B(e,a)})}Ye.set(n,e)},[e]),n}function Ze(e){return e}function Qe(e,t){t===void 0&&(t=Ze);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var a=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}}function $e(e){e===void 0&&(e={});var t=Qe(null);return t.options=v({async:!0,ssr:!1},e),t}var et=function(e){var t=e.sideCar,n=ee(e,[`sideCar`]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error(`Sidecar medium not found`);return S.createElement(r,v({},n))};et.isSideCarExport=!0;function tt(e,t){return e.useMedium(t),et}var nt=$e(),rt=function(){},V=S.forwardRef(function(e,t){var n=S.useRef(null),r=S.useState({onScrollCapture:rt,onWheelCapture:rt,onTouchMoveCapture:rt}),i=r[0],a=r[1],o=e.forwardProps,s=e.children,c=e.className,l=e.removeScrollBar,u=e.enabled,d=e.shards,f=e.sideCar,p=e.noRelative,m=e.noIsolation,h=e.inert,g=e.allowPinchZoom,_=e.as,y=_===void 0?`div`:_,b=e.gapMode,x=ee(e,[`forwardProps`,`children`,`className`,`removeScrollBar`,`enabled`,`shards`,`sideCar`,`noRelative`,`noIsolation`,`inert`,`allowPinchZoom`,`as`,`gapMode`]),te=f,C=Xe([n,t]),w=v(v({},x),i);return S.createElement(S.Fragment,null,u&&S.createElement(te,{sideCar:nt,removeScrollBar:l,shards:d,noRelative:p,noIsolation:m,inert:h,setCallbacks:a,allowPinchZoom:!!g,lockRef:n,gapMode:b}),o?S.cloneElement(S.Children.only(s),v(v({},w),{ref:C})):S.createElement(y,v({},w,{className:c,ref:C}),s))});V.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},V.classNames={fullWidth:z,zeroRight:R};var it,at=function(){if(it)return it;if(typeof __webpack_nonce__<`u`)return __webpack_nonce__};function ot(){if(!document)return null;var e=document.createElement(`style`);e.type=`text/css`;var t=at();return t&&e.setAttribute(`nonce`,t),e}function st(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function ct(e){(document.head||document.getElementsByTagName(`head`)[0]).appendChild(e)}var lt=function(){var e=0,t=null;return{add:function(n){e==0&&(t=ot())&&(st(t,n),ct(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ut=function(){var e=lt();return function(t,n){S.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},dt=function(){var e=ut();return function(t){var n=t.styles,r=t.dynamic;return e(n,r),null}},ft={left:0,top:0,right:0,gap:0},pt=function(e){return parseInt(e||``,10)||0},mt=function(e){var t=window.getComputedStyle(document.body),n=t[e===`padding`?`paddingLeft`:`marginLeft`],r=t[e===`padding`?`paddingTop`:`marginTop`],i=t[e===`padding`?`paddingRight`:`marginRight`];return[pt(n),pt(r),pt(i)]},ht=function(e){if(e===void 0&&(e=`margin`),typeof window>`u`)return ft;var t=mt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},gt=dt(),H=`data-scroll-locked`,_t=function(e,t,n,r){var i=e.left,a=e.top,o=e.right,s=e.gap;return n===void 0&&(n=`margin`),`
2  .${Ge} {
3   overflow: hidden ${r};
4   padding-right: ${s}px ${r};
5  }
6  body[${H}] {
7    overflow: hidden ${r};
8    overscroll-behavior: contain;
9    ${[t&&`position: relative ${r};`,n===`margin`&&`
10    padding-left: ${i}px;
11    padding-top: ${a}px;
12    padding-right: ${o}px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: ${s}px ${r};
16    `,n===`padding`&&`padding-right: ${s}px ${r};`].filter(Boolean).join(``)}
17  }
18  
19  .${R} {
20    right: ${s}px ${r};
21  }
22  
23  .${z} {
24    margin-right: ${s}px ${r};
25  }
26  
27  .${R} .${R} {
28    right: 0 ${r};
29  }
30  
31  .${z} .${z} {
32    margin-right: 0 ${r};
33  }
34  
35  body[${H}] {
36    ${Ke}: ${s}px;
37  }
38`},vt=function(){var e=parseInt(document.body.getAttribute(`data-scroll-locked`)||`0`,10);return isFinite(e)?e:0},yt=function(){S.useEffect(function(){return document.body.setAttribute(H,(vt()+1).toString()),function(){var e=vt()-1;e<=0?document.body.removeAttribute(H):document.body.setAttribute(H,e.toString())}},[])},bt=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?`margin`:r;yt();var a=S.useMemo(function(){return ht(i)},[i]);return S.createElement(gt,{styles:_t(a,!t,i,n?``:`!important`)})},xt=!1;if(typeof window<`u`)try{var U=Object.defineProperty({},"passive",{get:function(){return xt=!0,!0}});window.addEventListener(`test`,U,U),window.removeEventListener(`test`,U,U)}catch{xt=!1}var W=xt?{passive:!1}:!1,St=function(e){return e.tagName===`TEXTAREA`},Ct=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==`hidden`&&!(n.overflowY===n.overflowX&&!St(e)&&n[t]===`visible`)},wt=function(e){return Ct(e,`overflowY`)},Tt=function(e){return Ct(e,`overflowX`)},Et=function(e,t){var n=t.ownerDocument,r=t;do{if(typeof ShadowRoot<`u`&&r instanceof ShadowRoot&&(r=r.host),kt(e,r)){var i=At(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Dt=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},Ot=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},kt=function(e,t){return e===`v`?wt(t):Tt(t)},At=function(e,t){return e===`v`?Dt(t):Ot(t)},jt=function(e,t){return e===`h`&&t===`rtl`?-1:1},Mt=function(e,t,n,r,i){var a=jt(e,window.getComputedStyle(t).direction),o=a*r,s=n.target,c=t.contains(s),l=!1,u=o>0,d=0,f=0;do{if(!s)break;var p=At(e,s),m=p[0],h=p[1]-p[2]-a*m;(m||h)&&kt(e,s)&&(d+=h,f+=m);var g=s.parentNode;s=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(u&&(i&&Math.abs(d)<1||!i&&o>d)||!u&&(i&&Math.abs(f)<1||!i&&-o>f))&&(l=!0),l},G=function(e){return`changedTouches`in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Nt=function(e){return[e.deltaX,e.deltaY]},Pt=function(e){return e&&`current`in e?e.current:e},Ft=function(e,t){return e[0]===t[0]&&e[1]===t[1]},It=function(e){return`
39  .block-interactivity-${e} {pointer-events: none;}
40  .allow-interactivity-${e} {pointer-events: all;}
41`},Lt=0,K=[];function Rt(e){var t=S.useRef([]),n=S.useRef([0,0]),r=S.useRef(),i=S.useState(Lt++)[0],a=S.useState(dt)[0],o=S.useRef(e);S.useEffect(function(){o.current=e},[e]),S.useEffect(function(){if(e.inert){document.body.classList.add(`block-interactivity-${i}`);var t=_([e.lockRef.current],(e.shards||[]).map(Pt),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add(`allow-interactivity-${i}`)}),function(){document.body.classList.remove(`block-interactivity-${i}`),t.forEach(function(e){return e.classList.remove(`allow-interactivity-${i}`)})}}},[e.inert,e.lockRef.current,e.shards]);var s=S.useCallback(function(e,t){if(`touches`in e&&e.touches.length===2||e.type===`wheel`&&e.ctrlKey)return!o.current.allowPinchZoom;var i=G(e),a=n.current,s=`deltaX`in e?e.deltaX:a[0]-i[0],c=`deltaY`in e?e.deltaY:a[1]-i[1],l,u=e.target,d=Math.abs(s)>Math.abs(c)?`h`:`v`;if(`touches`in e&&d===`h`&&u.type===`range`)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var m=Et(d,u);if(!m)return!0;if(m?l=d:(l=d===`v`?`h`:`v`,m=Et(d,u)),!m)return!1;if(!r.current&&`changedTouches`in e&&(s||c)&&(r.current=l),!l)return!0;var h=r.current||l;return Mt(h,t,e,h===`h`?s:c,!0)},[]),c=S.useCallback(function(e){var n=e;if(!(!K.length||K[K.length-1]!==a)){var r=`deltaY`in n?Nt(n):G(n),i=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&Ft(e.delta,r)})[0];if(i&&i.should){n.cancelable&&n.preventDefault();return}
41if(!i){var c=(o.current.shards||[]).map(Pt).filter(Boolean).filter(function(e){return e.contains(n.target)});(c.length>0?s(n,c[0]):!o.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=S.useCallback(function(e,n,r,i){var a={name:e,delta:n,target:r,should:i,shadowParent:zt(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=S.useCallback(function(e){n.current=G(e),r.current=void 0},[]),d=S.useCallback(function(t){l(t.type,Nt(t),t.target,s(t,e.lockRef.current))},[]),f=S.useCallback(function(t){l(t.type,G(t),t.target,s(t,e.lockRef.current))},[]);S.useEffect(function(){return K.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener(`wheel`,c,W),document.addEventListener(`touchmove`,c,W),document.addEventListener(`touchstart`,u,W),function(){K=K.filter(function(e){return e!==a}),document.removeEventListener(`wheel`,c,W),document.removeEventListener(`touchmove`,c,W),document.removeEventListener(`touchstart`,u,W)}},[]);var p=e.removeScrollBar,m=e.inert;return S.createElement(S.Fragment,null,m?S.createElement(a,{styles:It(i)}):null,p?S.createElement(bt,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function zt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var Bt=tt(nt,Rt),Vt=S.forwardRef(function(e,t){return S.createElement(V,v({},e,{ref:t,sideCar:Bt}))});Vt.classNames=V.classNames;var Ht=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},q=new WeakMap,J=new WeakMap,Y={},Ut=0,Wt=function(e){return e&&(e.host||Wt(e.parentNode))},Gt=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Wt(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Kt=function(e,t,n,r){var i=Gt(t,Array.isArray(e)?e:[e]);Y[n]||(Y[n]=new WeakMap);var a=Y[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(q.get(e)||0)+1,l=(a.get(e)||0)+1;q.set(e,c),a.set(e,l),o.push(e),c===1&&i&&J.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Ut++,function(){o.forEach(function(e){var t=q.get(e)-1,i=a.get(e)-1;q.set(e,t),a.set(e,i),t||(J.has(e)||e.removeAttribute(r),J.delete(e)),i||e.removeAttribute(n)}),Ut--,Ut||(q=new WeakMap,q=new WeakMap,J=new WeakMap,Y={})}},qt=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||Ht(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Kt(r,i,n,`aria-hidden`)):function(){return null}},Jt=Object.defineProperty,X=(e,t)=>Jt(e,`name`,{value:t,configurable:!0}),Yt=`Dialog`,[Xt,Zt]=d(Yt),[Qt,Z]=Xt(Yt),$t=X(e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=S.useRef(null),l=S.useRef(null),[u,d]=c({prop:r,defaultProp:i??!1,onChange:a,caller:Yt}),[f,p]=S.useState(0),[m,h]=S.useState(0);return(0,O.jsx)(Qt,{scope:t,triggerRef:s,contentRef:l,contentId:T(),titleId:T(),descriptionId:T(),titlePresent:f>0,descriptionPresent:m>0,setTitleCount:p,setDescriptionCount:h,open:u,onOpenChange:d,onOpenToggle:S.useCallback(()=>d(e=>!e),[d]),modal:o,children:n})},`Dialog`),en=`DialogPortal`,[tn,nn]=Xt(en,{forceMount:void 0}),rn=X(e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=Z(en,t);return(0,O.jsx)(tn,{scope:t,forceMount:n,children:S.Children.map(r,e=>(0,O.jsx)(Ie,{present:n||a.open,children:(0,O.jsx)(Ne,{asChild:!0,container:i,children:e})}))})},`DialogPortal`),an=`DialogOverlay`,on=S.forwardRef(X(function(e,t){let n=nn(an,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Z(an,e.__scopeDialog);return a.modal?(0,O.jsx)(Ie,{present:r||a.open,children:(0,O.jsx)(cn,{...i,ref:t})}):null},`DialogOverlay`)),sn=f(`DialogOverlay.RemoveScroll`),cn=S.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(an,n),a=de(),s=o(t,a);return(0,O.jsx)(Vt,{as:sn,allowPinchZoom:!0,shards:[i.contentRef],children:(0,O.jsx)(m.div,{"data-state":yn(i.open),...r,ref:s,style:{pointerEvents:`auto`,...r.style}})})},`DialogOverlayImpl`)),Q=`DialogContent`,ln=S.forwardRef(X(function(e,t){let n=nn(Q,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=Z(Q,e.__scopeDialog);return(0,O.jsx)(Ie,{present:r||a.open,children:a.modal?(0,O.jsx)(un,{...i,ref:t}):(0,O.jsx)(dn,{...i,ref:t})})},`DialogContent`)),un=S.forwardRef(X(function(e,t){let n=Z(Q,e.__scopeDialog),r=S.useRef(null),i=o(t,n.contentRef,r);return S.useEffect(()=>{let e=r.current;if(e)return qt(e)},[]),(0,O.jsx)(fn,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault())})},`DialogContentModal`)),dn=S.forwardRef(X(function(e,t){let n=Z(Q,e.__scopeDialog),r=S.useRef(!1),i=S.useRef(!1);return(0,O.jsx)(fn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`DialogContentNonModal`)),fn=S.forwardRef(X(function(e,t){let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=Z(Q,n);return Ue(),(0,O.jsx)(O.Fragment,{children:(0,O.jsx)(xe,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,O.jsx)(ue,{role:`dialog`,id:s.
41contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":yn(s.open),...o,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},`DialogContentImpl`)),pn=`DialogTitle`,mn=S.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(pn,n),{setTitleCount:a}=i;return u(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,O.jsx)(m.h2,{id:i.titleId,...r,ref:t})},`DialogTitle`)),hn=`DialogDescription`,gn=S.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(hn,n),{setDescriptionCount:a}=i;return u(()=>(a(e=>e+1),()=>a(e=>e-1)),[a]),(0,O.jsx)(m.p,{id:i.descriptionId,...r,ref:t})},`DialogDescription`)),_n=`DialogClose`,vn=S.forwardRef(X(function(e,t){let{__scopeDialog:n,...r}=e,i=Z(_n,n);return(0,O.jsx)(m.button,{type:`button`,...r,ref:t,onClick:l(e.onClick,()=>i.onOpenChange(!1))})},`DialogClose`));function yn(e){return e?`open`:`closed`}X(yn,`getState`);var bn=$t,xn=rn,Sn=S.forwardRef(({className:e,...t},n)=>(0,O.jsx)(on,{ref:n,className:p(`fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`,e),...t}));Sn.displayName=on.displayName;var Cn=S.forwardRef(({className:e,children:t,...n},r)=>(0,O.jsxs)(xn,{children:[(0,O.jsx)(Sn,{}),(0,O.jsxs)(ln,{ref:r,className:p(`fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg`,e),...n,children:[t,(0,O.jsxs)(vn,{className:`absolute right-4 top-4 roun
41ded-sm opacity-70 ring-offset-background cursor-pointer transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground`,children:[(0,O.jsx)(g,{className:`h-4 w-4`}),(0,O.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]}));Cn.displayName=ln.displayName;var wn=S.forwardRef(({className:e,...t},n)=>(0,O.jsx)(mn,{ref:n,className:p(`text-lg font-semibold leading-none tracking-tight`,e),...t}));wn.displayName=mn.displayName;var Tn=S.forwardRef(({className:e,...t},n)=>(0,O.jsx)(gn,{ref:n,className:p(`text-sm text-muted-foreground`,e),...t}));Tn.displayName=gn.displayName;var En={version:1,asset_id:`3bdd0334-8776-4898-9a43-0469b7600633`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/3bdd0334-8776-4898-9a43-0469b7600633/brielle-nj.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/3bdd0334-8776-4898-9a43-0469b7600633/brielle-nj.jpg`,original_filename:`brielle-nj.jpg`,size:161998,content_type:`image/jpeg`,created_at:`2026-09-29T23:32:44Z`},Dn={version:1,asset_id:`11d032f6-011e-4e48-81b3-fc090f878010`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/11d032f6-011e-4e48-81b3-fc090f878010/rye-ny.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/11d032f6-011e-4e48-81b3-fc090f878010/rye-ny.jpg`,original_filename:`rye-ny.jpg`,size:363064,content_type:`image/jpeg`,created_at:`2026-09-29T23:32:48Z`},On={version:1,asset_id:`63a6cbea-8abf-4ed4-a213-5e1840a14395`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/63a6cbea-8abf-4ed4-a213-5e1840a14395/rumson-nj-1.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/63a6cbea-8abf-4ed4-a213-5e1840a14395/rumson-nj-1.jpg`,original_filename:`rumson-nj-1.jpg`,size:194685,content_type:`image/jpeg`,created_at:`2026-09-29T23:32:53Z`},kn=[{id:`bridgeport-ct`,amount:`$6,000,000`,product:`Rehab`,asset:`Mixed-Use`,location:`Bridgeport, CT`,image:{version:1,asset_id:`f2d6b7a1-4419-43fc-87ea-aeb8f668cdfe`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/f2d6b7a1-4419-43fc-87ea-aeb8f668cdfe/bridgeport-ct.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/f2d6b7a1-4419-43fc-87ea-aeb8f668cdfe/bridgeport-ct.jpg`,original_filename:`bridgeport-ct.jpg`,size:330992,content_type:`image/jpeg`,created_at:`2026-09-29T23:33:08Z`}.url,summary:`A4 funded a $6.0M rehab loan on a landmark four-story mixed-use building in downtown Bridgeport. The financing supports a full renovation of the upper-floor residential units and repositioning of the ground-floor retail, bringing a historic corner asset back to full occupancy.`,highlights:[`Downtown historic mixed-use asset`,`Rehab budget funded through draws`,`Residential units over street-level retail`]},{id:`rumson-nj`,amount:`$5,380,000`,product:`New Construction`,asset:`Single-Family`,location:`Rumson, NJ`,image:On.url,summary:`A4 closed two new construction loans in Rumson, NJ, totaling $5.38M — our second and third Rumson closings this cycle reflect our commitment to experienced builders in premier Monmouth County markets.`,highlights:[`Two loans totaling $5.38M`,`Premier Monmouth County market`,`Repeat market for A4`],deals:[{amount:`$3,505,000`,product:`New Construction`,asset:`Single-Family`,image:{version:1,asset_id:`80160814-f222-4661-bfa0-b59130651761`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/80160814-f222-4661-bfa0-b59130651761/rumson-nj-2.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/80160814-f222-4661-bfa0-b59130651761/rumson-nj-2.jpg`,original_filename:`rumson-nj-2.jpg`,size:166101,content_type:`image/jpeg`,created_at:`2026-09-29T23:32:58Z`}.url,summary:`A $3.505M construction loan for a luxury single-family new build in Rumson, NJ — one of the largest residential construction loans in our recent portfolio.`,highlights:[`Luxury Monmouth County new build`,`Construction budget funded through draws`,`Interest-only during construction`]},{amount:`$1,875,000`,product:`New Construction`,asset:`Single-Family`,image:On.url,summary:`A $1.875M construction loan for a cedar-shake new build in Rumson, NJ, tailored to the builder's budget and draw schedule.`,highlights:[`Cedar-shake coastal new build`,`Tailored construction budget`,`Quick draw turnaround`]}]},{id:`philadelphia-pa`,amount:`$3,000,000`,product:`New Construction`,asset:`Multi-Family`,location:`Philadelphia, PA`,image:{ver
41sion:1,asset_id:`75de8bb5-6516-4b33-a7ca-df3c8163220f`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/75de8bb5-6516-4b33-a7ca-df3c8163220f/philadelphia-pa.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/75de8bb5-6516-4b33-a7ca-df3c8163220f/philadelphia-pa.jpg`,original_filename:`philadelphia-pa.jpg`,size:219903,content_type:`image/jpeg`,created_at:`2026-10-01T17:37:15Z`}.url,summary:`A $3.0M new construction loan for a multi-family development in Philadelphia, PA. A4 financed the project from the ground up, funding draws as the build progressed so the developer never had to wait on capital.`,highlights:[`Ground-up multi-family development`,`Interest-only during construction`,`Quick draw turnaround`]},{id:`rye-ny`,amount:`$2,975,000`,product:`New Construction`,asset:`Single-Family`,location:`Rye, NY`,image:Dn.url,summary:`A4 closed a $2.975M new construction loan for a high-end colonial in Rye, Westchester County. The borrower needed a lender who understood the local luxury market and could move fast — we delivered terms and closed on schedule.`,highlights:[`Westchester luxury new build`,`Fast, certain close`,`Interest-only during construction`]},{id:`brielle-nj`,amount:`$2,210,000`,product:`New Construction`,asset:`Single-Family`,location:`Brielle, NJ`,image:En.url,summary:`A $2.21M new construction loan for a custom gambrel-roof home in Brielle, NJ. A4 financed the build from foundation to finish, funding draws promptly so the project stayed on time and on budget.`,highlights:[`Custom coastal new build`,`Quick draw turnaround`,`Completed and market-ready`]},{id:`bluffton-sc`,amount:`$1,155,000`,product:`Fix & Flip`,asset:`Single-Family`,location:`Bluffton, SC`,image:{version:1,asset_id:`d98d5d62-a221-4636-b7e5-b18e20531e99`,project_id:`e199b81f-2aef-45ff-8e9c-e3dba2456567`,url:`/__l5e/assets-v1/d98d5d62-a221-4636-b7e5-b18e20531e99/bluffton-sc.jpg`,r2_key:`a/v1/e199b81f-2aef-45ff-8e9c-e3dba2456567/d98d5d62-a221-4636-b7e5-b18e20531e99/bluffton-sc.jpg`,original_filename:`bluffton-sc.jpg`,size:317248,content_type:`image/jpeg`,created_at:`2026-10-01T17:39:43Z`}.url,summary:`A $1.155M fix and flip loan on a single-family home set on a wooded lot in Bluffton, South Carolina. A4 funded both the acquisition and the renovation budget, giving the investor the speed needed to secure the property in a competitive Lowcountry market.`,highlights:[`Purchase + rehab financing`,`Growing Lowcountry market`,`Closed in days, not weeks`]},{id:`monroe-ct`,amount:`$525,000`,product:`New Construction`,asset:`Single-Family`,location:`Monroe, CT`,image:`/assets/monroe-ct-m0UAYz-c.jpg`,summary:`A4 funded a $525K new construction loan for a single-family colonial in Monroe, Connecticut. Close to home in Fairfield County, the deal shows that A4 brings the same speed and certainty to every project, regardless of size.`,highlights:[`Fairfield County new build`,`Straightforward, simple process`,`Certainty to close`]}],An=e=>Number(e.amount.replace(/[^0-9.]/g,``)),$=[...kn].sort((e,t)=>An(t)-An(e));function jn({deal:e,index:t,total:n}){return(0,O.jsxs)(`div`,{className:`mt-8 border-t border-border pt-6 first-of-type:mt-0 first-of-type:border-t-0 first-of-type:pt-0`,children:[(0,O.jsxs)(`div`,{className:`flex items-center justify-between gap-4`,children:[(0,O.jsx)(`h4`,{className:`text-lg font-bold text-primary`,children:n>1?`Deal ${t+1}`:`The Deal`}),(0,O.jsx)(`p`,{className:`text-lg font-bold text-[var(--accent)]`,children:e.amount})]}),(0,O.jsx)(`img`,{src:e.image,alt:`${e.product} ${e.asset.toLowerCase()} project`,loading:`lazy`,decoding:`async`,className:`mt-4 aspect-[16/9] w-full rounded-[8px] object-cover`}),(0,O.jsx)(Tn,{className:`mt-4 text-base leading-7 text-foreground`,children:e.summary}),(0,O.jsx)(`ul`,{className:`mt-4 grid gap-2`,children:e.highlights.map(e=>(0,O.jsxs)(`li`,{className:`flex gap-2 text-muted-foreground`,children:[(0,O.jsx)(`span`,{className:`mt-2.5 size-1.5 shrink-0 rounded-full bg-[var(--accent)]`}),e]},e))})]})}function Mn(){let[e,t]=(0,S.useState)(null),n=(0,S.useRef)(null),r=e?e.deals??[{amount:e.amount,product:e.product,asset:e.asset,image:e.image,summary:e.summary,highlights:e.highlights}]:[],i=[...$,...$,...$],o=()=>{let e=n.current;if(!e)return 0;let t=e.querySelectorAll(`button`),r=t[0],i=t[$.length];return r&&i?i.offsetLeft-r.offsetLeft:0},s=()=>{let e=n.current;if(!e)return;let t=o();t&&(e.scrollLeft>=t*2-8?e.scrollLeft-=t:e.scrollLeft<t*.5&&(e.scrollLeft+=t))};(0,S.useEffect)(()=>{let e=n.current;if(!e)return;let t=e.style.scrollBehavior;e.style.scrollBehavior=`auto`,e.scrollLeft=o(),e.style.scrollBehavior=t},[]);let c=e=>{let t=n.current;if(!t)return;let r=t.querySelector(`button`),i=r?r.offsetWidth+20:t.clientWidth/2;t.scrollBy({left:e*i,behavior:`smooth`})};return(0,O.jsxs)(`section`,{className:`section bg-background`,children:[(0,O.jsxs)(`div`,{className:`site-container`,children:[(0,O.jsxs)(`div`,{className:`flex flex-col gap-4 md:flex-row md:items-end md:justify-between`,children:[(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`p`,{className:`eyebrow text-muted-foreground`,children:`Recently Funded`}),(0,O.jsx)(`h2`,{className:`section-title mt-2`,children:`Recent Deals`})]}),(0,O.jsx)(`p`,{className:`max-w-[460px] text-muted-foreground leading-7`,children:`A look at some of the projects we've recently financed for builders and investors across our lending footprint.`})]}),(0,O.jsxs)(`div`,{className:`relative mt-10`,children:[(0,O.jsx)(`div`,{ref:n,onScroll:s,className:`flex snap-x snap-mandatory gap-5 overflow-x-auto scroll-smooth pb-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`,children:i.map((e,n)=>(0,O.jsxs)(`button`,{type:`button`,onClick:()=>t(e),className:`group relative block aspect-[4/5] w-[78%] shrink-0 snap-start overflow-hidden rounded-[10px] bg-primary text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring sm:w-[calc((100%-1.25rem)/2)] lg:
41aspect-[4/3] lg:w-[calc((100%-2.5rem)/3)]`,"aria-label":`View deal details: ${e.location}`,children:[(0,O.jsx)(`img`,{src:e.image,alt:`${e.product} ${e.asset.toLowerCase()} project in ${e.location}`,loading:`lazy`,decoding:`async`,className:`absolute inset-0 h-full w-full object-cover transition-transform duration-700 ease-out group-hover:scale-105`}),(0,O.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-primary/90 via-primary/20 to-transparent transition-opacity duration-300`}),(0,O.jsxs)(`div`,{className:`absolute inset-x-0 bottom-0 flex items-end justify-between gap-4 p-5 md:p-6`,children:[(0,O.jsxs)(`div`,{children:[(0,O.jsxs)(`p`,{className:`text-sm font-medium text-primary-foreground/80`,children:[e.product,` · `,e.asset,e.deals?` · 2 Deals`:``]}),(0,O.jsx)(`h3`,{className:`mt-1 text-2xl font-bold text-primary-foreground md:text-[28px]`,children:e.location}),(0,O.jsx)(`p`,{className:`mt-1 text-lg font-bold text-[var(--accent)]`,children:e.amount})]}),(0,O.jsx)(`span`,{className:`flex size-10 shrink-0 items-center justify-center rounded-full border border-primary-foreground/40 text-primary-foreground transition-colors duration-300 group-hover:border-[var(--accent)] group-hover:bg-[var(--accent)] group-hover:text-[var(--accent-foreground)]`,children:(0,O.jsx)(y,{className:`size-5`})})]})]},`${e.id}-${n}`))}),(0,O.jsx)(`button`,{type:`button`,"aria-label":`Previous deals`,onClick:()=>c(-1),className:`absolute -left-4 top-[38%] z-10 hidden size-10 items-center justify-center rounded-full border border-border bg-background text-primary shadow-md transition-opacity hover:bg-muted md:flex`,children:(0,O.jsx)(b,{className:`size-5`})}),(0,O.jsx)(`button`,{type:`button`,"aria-label":`Next deals`,onClick:()=>c(1),className:`absolute -right-4 top-[38%] z-10 hidden size-10 items-center justify-center rounded-full border border-border bg-background text-primary shadow-md transition-opacity hover:bg-muted md:flex`,children:(0,O.jsx)(x,{className:`size-5`})})]})]}),(0,O.jsx)(bn,{open:!!e,onOpenChange:e=>!e&&t(null),children:(0,O.jsx)(Cn,{className:`max-h-[90vh] overflow-y-auto p-0 sm:max-w-[760px]`,children:e&&(0,O.jsx)(O.Fragment,{children:(0,O.jsxs)(`div`,{className:`p-6 md:p-8`,children:[(0,O.jsxs)(`p`,{className:`eyebrow text-muted-foreground`,children:[`Recently Funded`,e.deals?` · 2 Deals`:``]}),(0,O.jsx)(wn,{className:`mt-2 text-3xl font-bold text-primary`,children:e.location}),(0,O.jsx)(`dl`,{className:`mt-6 grid grid-cols-2 gap-4 border-y border-border py-5 md:grid-cols-4`,children:(e.deals?[[`Combined Total`,e.amount],[`Deals`,`2`],[`Product`,e.product],[`Location`,e.location]]:[[`Loan Amount`,e.amount],[`Product`,e.product],[`Asset Type`,e.asset],[`Location`,e.location]]).map(([e,t])=>(0,O.jsxs)(`div`,{children:[(0,O.jsx)(`dt`,{className:`text-xs font-bold uppercase tracking-wider text-muted-foreground`,children:e}),(0,O.jsx)(`dd`,{className:`mt-1 font-bold text-foreground`,children:t})]},e))}),r.map((e,t)=>(0,O.jsx)(jn,{deal:e,index:t,total:r.length},t)),(0,O.jsx)(h,{asChild:!0,className:`mt-7 h-12 px-6 font-bold`,children:(0,O.jsx)(a,{to:`/app/`,children:`Fund Your Next Deal`})})]})})})})]})}export{Tn as a,b as c,Cn as i,y as l,$ as n,wn as o,bn as r,x as s,Mn as t};

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.