PageSourceSearch

https://fennel.com/_next/static/chunks/86cb15a2efe09a61.js

js fennel.com collected 2026-10-01 23:48:19 UTC 39,730 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90538,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n(e,i=[]){let l=[],a=()=>{let t=l.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(n,i){let a=r.createContext(i),s=l.length;l=[...l,i];let o=n=>{let{scope:i,children:l,...o}=n,d=i?.[e]?.[s]||a,c=r.useMemo(()=>o,Object.values(o));return(0,t.jsx)(d.Provider,{value:c,children:l})};return o.displayName=n+"Provider",[o,function(t,l){let o=l?.[e]?.[s]||a,d=r.useContext(o);if(d)return d;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(a,...i)]}var i=e.i(20783);function l(e){var n;let l,a=(n=e,(l=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){var a;let e,s,o=(a=n,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),d=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(l,n.props);return n.type!==r.Fragment&&(d.ref=t?(0,i.composeRefs)(t,o):o),r.cloneElement(n,d)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${n}.SlotClone`,l),o=r.forwardRef((e,n)=>{let{children:i,...l}=e,o=r.Children.toArray(i),d=o.find(s);if(d){let e=d.props.children,i=o.map(t=>
1t!==d?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(a,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(a,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var a=Symbol("radix.slottable");function s(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var o=new WeakMap;function d(e,t){var r,n;let i,l,a;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(a=(l=c(n))>=0?l:i+l)<0||a>=i?-1:a);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}function u(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],o.set(this,!0)}set(e,t){return o.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),l=this.#e.length,a=c(e),s=a>=0?a:l+a,o=s<0||s>=l?-1:s;if(o===this.size||i&&o===this.size-1||-1===o)return this.set(t,r),this;let d=this.size+ +!i;a<0&&s++;let u=[...this.#e],f=!1;for(let e=s;e<d;e++)if(s===e){let l=u[e];u[e]===t&&(l=u[e+1]),i&&this.delete(t),n=this.get(l),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),"u">typeof window&&window.document&&window.document.createElement;var f=globalThis?.document?r.useLayoutEffect:()=>{};r[" useEffectEvent ".trim().toString()],r[" useInsertionEffect ".trim().toString()];var p=r[" useInsertionEffect ".trim().toString()]||f;function m({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[l,a,s]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),l=r.useRef(n),a=r.useRef(t);return p(()=>{a.current=t},[t]),r.useEffect(()=>{l.current!==n&&(a.current?.(n),l.current=n)},[n,l]),[n,i,a]}({defaultProp:t,onChange:n}),o=void 0!==e,d=o?e:l;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;
1if(e!==o){let t=o?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=o},[o,i])}return[d,r.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else a(t)},[o,e,a,s])]}Symbol("RADIX:SYNC_STATE"),e.i(74080);var h=Symbol("radix.slottable");function g(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}var x=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var l,a;let s,o,d,c=(a=l=`Primitive.${n}`,(s=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){var a;let e,s,o=(a=n,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),d=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(l,n.props);return n.type!==r.Fragment&&(d.ref=t?(0,i.composeRefs)(t,o):o),r.cloneElement(n,d)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${a}.SlotClone`,o=s,(d=r.forwardRef((e,n)=>{let{children:i,...l}=e,a=r.Children.toArray(i),s=a.find(g);if(s){let e=s.props.children,i=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(o,{...l,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(o,{...l,ref:n,children:i})})).displayName=`${l}.Slot`,d),u=r.forwardRef((e,r)=>{let{asChild:i,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(i?c:n,{...l,ref:r})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),y=e=>{var t;let n,l,{present:a,children:s}=e,o=function(e){var t,n;let[i,l]=r.useState(),a=r.useRef(null),s=r.useRef(e),o=r.useRef("none"),[d,c]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=v(a.current);o.current="mounted"===d?e:"none"},[d]),f(()=>{let t=a.current,r=s.current;if(r!==e){let n=o.current,i=v(t);e?c("MOUNT"):"none"===i||t?.display==="none"?c("UNMOUNT"):r&&n!==i?c("ANIMATION_OUT"):c("UNMOUNT"),s.current=e}},[e,c]),f(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=v(a.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(c("ANIMATION_END"),!s.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(o.current=v(a.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}c("ANIMATION_END")},[i,c]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{a.current=e?getComputedStyle(e):null,l(e)},[])}}(a),d="function"==typeof s?s({present:o.isPresent}):r.Children.only(s),c=(0,i.useComposedRefs)(o.ref,(t=d,(l=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(l=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof s||o.isPresent?r.cloneElement(d,{ref:c}):null};function v(e){return e?.animationName||"none"}y.displayName="Presence";var w=r[" useId ".trim().toString()]||(()=>void 0),b=0;function j(e){let[t,n]=r.useState(w());return f(()=>{e||n(e=>e??String(b++))},[e]),e||(t?`radix-${t}`:"")}
1var N="Collapsible",[C,k]=n(N),[R,A]=C(N),O=r.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:l,defaultOpen:a,disabled:s,onOpenChange:o,...d}=e,[c,u]=m({prop:l,defaultProp:a??!1,onChange:o,caller:N});return(0,t.jsx)(R,{scope:i,disabled:s,contentId:j(),open:c,onOpenToggle:r.useCallback(()=>u(e=>!e),[u]),children:(0,t.jsx)(x.div,{"data-state":I(c),"data-disabled":s?"":void 0,...d,ref:n})})});O.displayName=N;var E="CollapsibleTrigger",S=r.forwardRef((e,r)=>{let{__scopeCollapsible:n,...i}=e,l=A(E,n);return(0,t.jsx)(x.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":I(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...i,ref:r,onClick:u(e.onClick,l.onOpenToggle)})});S.displayName=E;var _="CollapsibleContent",M=r.forwardRef((e,r)=>{let{forceMount:n,...i}=e,l=A(_,e.__scopeCollapsible);return(0,t.jsx)(y,{present:n||l.open,children:({present:e})=>(0,t.jsx)(P,{...i,ref:r,present:e})})});M.displayName=_;var P=r.forwardRef((e,n)=>{let{__scopeCollapsible:l,present:a,children:s,...o}=e,d=A(_,l),[c,u]=r.useState(a),p=r.useRef(null),m=(0,i.useComposedRefs)(n,p),h=r.useRef(0),g=h.current,y=r.useRef(0),v=y.current,w=d.open||c,b=r.useRef(w),j=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(e)},[]),f(()=>{let e=p.current;if(e){j.current=j.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,y.current=t.width,b.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),u(a)}},[d.open,a]),(0,t.jsx)(x.div,{"data-state":I(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!w,...o,ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:w&&s})});function I(e){return e?"open":"closed"}var T=r.createContext(void 0),D="Accordion",L=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[z,$,F]=function(e){let a=e+"CollectionProvider",[s,o]=n(a),[d,c]=s(a,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:n,children:i}=e,l=r.default.useRef(null),a=r.default.useRef(new Map).current;return(0,t.jsx)(d,{scope:n,itemMap:a,collectionRef:l,children:i})};u.displayName=a;let f=e+"CollectionSlot",p=l(f),m=r.default.forwardRef((e,r)=>{let{scope:n,children:l}=e,a=c(f,n),s=(0,i.useComposedRefs)(r,a.collectionRef);return(0,t.jsx)(p,{ref:s,children:l})});m.displayName=f;let h=e+"CollectionItemSlot",g="data-radix-collection-item",x=l(h),y=r.default.forwardRef((e,n)=>{let{scope:l,children:a,...s}=e,o=r.default.useRef(null),d=(0,i.useComposedRefs)(n,o),u=c(h,l);return r.default.useEffect(()=>(u.itemMap.set(o,{ref:o,...s}),()=>void u.itemMap.delete(o))),(0,t.jsx)(x,{...{[g]:""},ref:d,children:a})});return y.displayName=h,[{Provider:u,Slot:m,ItemSlot:y},function(t){let n=c(e+"CollectionConsumer",t);return r.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},o]}(D),[U,W]=n(D,[F,k]),B=k(),V=r.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(z.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(X,{...i,ref:r}):(0,t.jsx)(J,{...i,ref:r})})});V.displayName=D;var[H,G]=U(D),[K,q]=U(D,{collapsible:!1}),J=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:a=()=>{},collapsible:s=!1,...o}=e,[d,c]=m({prop:i,defaultProp:l??"",onChange:a,caller:D});return(0,t.jsx)(H,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:r.default.useCallback(()=>s&&c(""),[s,c]),children:(0,t.jsx)(K,{scope:e.__scopeAccordion,collapsible:s,children:(0,t.jsx)(Q,{...o,ref:n})})})}),X=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:a=()=>{},...s}=e,[o,d]=m({prop:i,defaultProp:l??[],onChange:a,caller:D}),c=r.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),u=r.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(H,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:u,children:(0,t.jsx)(K,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(Q,{...s,ref:n})})})}
1),[Y,Z]=U(D),Q=r.default.forwardRef((e,n)=>{let l,{__scopeAccordion:a,disabled:s,dir:o,orientation:d="vertical",...c}=e,f=r.default.useRef(null),p=(0,i.useComposedRefs)(f,n),m=$(a),h="ltr"===(l=r.useContext(T),o||l||"ltr"),g=u(e.onKeyDown,e=>{if(!L.includes(e.key))return;let t=e.target,r=m().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let l=n,a=i-1,s=()=>{(l=n+1)>a&&(l=0)},o=()=>{(l=n-1)<0&&(l=a)};switch(e.key){case"Home":l=0;break;case"End":l=a;break;case"ArrowRight":"horizontal"===d&&(h?s():o());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(h?o():s());break;case"ArrowUp":"vertical"===d&&o()}let c=l%i;r[c].ref.current?.focus()});return(0,t.jsx)(Y,{scope:a,disabled:s,direction:o,orientation:d,children:(0,t.jsx)(z.Slot,{scope:a,children:(0,t.jsx)(x.div,{...c,"data-orientation":d,ref:p,onKeyDown:s?void 0:g})})})}),ee="AccordionItem",[et,er]=U(ee),en=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,value:i,...l}=e,a=Z(ee,n),s=G(ee,n),o=B(n),d=j(),c=i&&s.value.includes(i)||!1,u=a.disabled||e.disabled;return(0,t.jsx)(et,{scope:n,open:c,disabled:u,triggerId:d,children:(0,t.jsx)(O,{"data-orientation":a.orientation,"data-state":ec(c),...o,...l,ref:r,disabled:u,open:c,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});en.displayName=ee;var ei="AccordionHeader",el=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=Z(D,n),a=er(ei,n);return(0,t.jsx)(x.h3,{"data-orientation":l.orientation,"data-state":ec(a.open),"data-disabled":a.disabled?"":void 0,...i,ref:r})});el.displayName=ei;var ea="AccordionTrigger",es=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=Z(D,n),a=er(ea,n),s=q(ea,n),o=B(n);return(0,t.jsx)(z.ItemSlot,{scope:n,children:(0,t.jsx)(S,{"aria-disabled":a.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:a.triggerId,...o,...i,ref:r})})});es.displayName=ea;var eo="AccordionContent",ed=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,l=Z(D,n),a=er(eo,n),s=B(n);return(0,t.jsx)(M,{role:"region","aria-labelledby":a.triggerId,"data-orientation":l.orientation,...s,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function ec(e){return e?"open":"closed"}ed.displayName=eo;var eu=e.i(75254);let ef=(0,eu.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),ep=(0,eu.default)("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);var em=e.i(47163);function eh({className:e,...r}){return(0,t.jsx)(V,{"data-slot":"accordion",className:(0,em.cn)("flex flex-col gap-10",e),...r})}function eg({className:e,...r}){return(0,t.jsx)(en,{"data-slot":"accordion-item",className:(0,em.cn)("border-b border-fennel-white-10 last:border-b-0",e),...r})}function ex({className:e,children:r,...n}){return(0,t.jsx)(el,{className:"flex",children:(0,t.jsxs)(es,{"data-slot":"accordion-trigger",className:(0,em.cn)("group flex flex-1 items-center justify-between gap-4 pb-10 text-left text-t-medium font-semibold text-white transition-all outline-none hover:text-fennel-highlight focus-visible:ring-2 focus-visible:ring-fennel-highlight focus-visible:ring-offset-2 focus-visible:ring-offset-fennel-dark disabled:pointer-events-none disabled:opacity-50","[&[data-state=open]_.plus-icon]:hidden [&[data-state=closed]_.minus-icon]:hidden",e),...n,children:[r,(0,t.jsx)(ef,{className:"plus-icon size-6 shrink-0 text-fennel-white-40 transition-colors duration-200 group-hover:text-fennel-highlight"}),(0,t.jsx)(ep,{className:"minus-icon size-6 shrink-0 text-fennel-highlight transition-transform duration-200"})]})})}function ey({className:e,children:r,...n}){return(0,t.jsx)(ed,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-p-medium text-fennel-white-80",...n,children:(0,t.jsx)("div",{className:(0,em.cn)("pb-10 pt-0",e),children:r})})}e.s(["Accordion",()=>eh,"AccordionContent",()=>ey,"AccordionItem",()=>eg,"AccordionTrigger",()=>ex],90538)},67585,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let n=e.r(32061);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},52157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let n=e.r(43476),i=e.r(74080),l=e.r(63599),a=e.r(9885),s=e.r(43369);function o({moduleIds:e}){if("u">typeof window)return null;let t=l.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let n=t.reactLoadableManifest;for(let t of e){if(!n[t])continue;let e=n[t].files;r.push(...e)}}if(0===r.length)return null;let o=(0,s.getDeploymentIdQueryOrEmptyString)();return(0,n.jsx)(n.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${o}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let n=e.r(43476),i=e.r(71645),l=e.r(67585),a=e.r(52157);function s(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},r=(0,i.lazy)(()=>t.loader().then(s)),d=t.loading;function c(e){let s=d?(0,n.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?i.Suspense:i.Fragment,u=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(l.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...o?{fallback:s}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let n=e.r(55682)._(e.r(69093));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,n.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},6278,e=>{"use strict";var t=e.i(71645);function r(e={}){let{rootMargin:n="200px",threshold:i=0,triggerOnce:l=!0,root:a=null}=e,s=(0,t.useRef)(null),[o,d]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),[f,p]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let e=s.current;if(!e||l&&c)return;let t=new IntersectionObserver(r=>{let[n]=r;p(n),d(n.isIntersecting),n.isIntersecting&&(u(!0),l&&t.unobserve(e))},{root:a,rootMargin:n,threshold:i});return t.observe(e),()=>{t.disconnect()}},[a,n,i,l,c]),{elementRef:s,isIntersecting:o,hasBeenInView:c,entry:f}}e.s(["useIntersectionObserver",()=>r])},35689,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(70703),i=e.i(57688),l=e.i(6278);let a=(0,n.default)(()=>e.A(39481).then(e=>e.DotLottieReact),{loadableGenerated:{modules:[78208]},ssr:!1,loading:()=>null}),s=new Map;function o({animationSrc:e,placeholderSrc:n,alt:o,className:d="",width:c=300,height:u=300,rootMargin:f="200px",children:p,isHovered:m}){let{elementRef:h,hasBeenInView:g}=(0,l.useIntersectionObserver)({rootMargin:f,triggerOnce:!0}),{elementRef:x,isIntersecting:y}=(0,l.useIntersectionObserver)({rootMargin:"0px",triggerOnce:!1,threshold:.1}),v=(0,r.useCallback)(e=>{h.current=e,x.current=e},[h,x]),w=(0,r.useRef)(null),[b,j]=(0,r.useState)(!1),[N,C]=(0,r.useState)(!1),k=void 0!==m?m:N,R=k&&y,A=(0,r.useRef)(null),O=(0,r.useRef)(!1);(0,r.useEffect)(()=>{b&&!s.has(e)&&s.set(e,!0)},[b,e]);let E=(0,r.useCallback)(e=>{e&&(w.current=e,j(!0))},[]);(0,r.useEffect)(()=>{let e=w.current;e&&b&&(R?(e.setLoop(!0),e.play(),O.current=!0):(e.setLoop(!1),e.pause(),!k&&e.totalFrames>
10&&e.setFrame(e.totalFrames-1),O.current=!1))},[R,k,b]);let S=(0,r.useCallback)(()=>{void 0===m&&(A.current&&clearTimeout(A.current),A.current=setTimeout(()=>{C(!0)},100))},[m]),_=(0,r.useCallback)(()=>{void 0===m&&(A.current&&(clearTimeout(A.current),A.current=null),C(!1))},[m]);(0,r.useEffect)(()=>()=>{A.current&&clearTimeout(A.current)},[]);let M=!b;return(0,t.jsxs)("div",{ref:v,className:`relative ${d}`,style:{width:c,height:u},onMouseEnter:S,onMouseLeave:_,children:[M&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(i.default,{src:n||"",alt:o,fill:!0,className:"object-contain",priority:!1,sizes:`${"number"==typeof c?c:300}px`})}),g&&(0,t.jsx)("div",{className:`absolute inset-0 transition-opacity duration-300 ${b?"opacity-100":"opacity-0"}`,children:(0,t.jsx)(a,{src:e,autoplay:R,loop:R,dotLottieRefCallback:E,style:{width:"100%",height:"100%"}})}),p]})}e.s(["LottieCard",()=>o])},54406,e=>{"use strict";var t=e.i(43476),r=e.i(25913),n=e.i(47163);let i=(0,r.cva)("inline-flex items-center gap-2 font-bold text-base leading-6 tracking-[0.32px] whitespace-nowrap",{variants:{variant:{default:"border border-fennel-white-10 text-white px-4 py-3 rounded-lg w-fit",highlight:"border border-fennel-highlight bg-fennel-highlight/10 text-fennel-highlight px-4 py-3 rounded-lg",solid:"bg-fennel-white-10 text-white px-4 py-3 rounded-lg",pill:"border border-fennel-white-10 text-white px-6 py-3 rounded-full"}},defaultVariants:{variant:"default"}});function l({className:e,variant:r,...l}){return(0,t.jsx)("span",{"data-slot":"pill",className:(0,n.cn)(i({variant:r,className:e})),...l})}e.s(["Pill",()=>l])},51352,e=>{"use strict";var t=e.i(43476),r=e.i(82963),n=e.i(54406),i=e.i(71645),l=e.i(57688),a=e.i(47163);function s({image:e,imageAlt:r="",animationComponent:n,title:s,description:o,variant:d="dark",height:c,className:u}){let[f,p]=(0,i.useState)(!1),[m,h]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=()=>h(window.innerWidth<1024);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let g=m||f;return(0,t.jsx)("div",{className:(0,a.cn)("relative rounded-2xl transition-all duration-300",u),style:{height:c?`${c}px`:"auto"},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:(0,t.jsxs)("div",{className:(0,a.cn)("relative w-full h-full rounded-2xl transition-all duration-300",g&&"shadow-[0_0_16px_0_#451A6B]"),children:[(0,t.jsx)("div",{className:(0,a.cn)("absolute inset-0 rounded-2xl transition-opacity duration-300 p-px z-20",g?"opacity-100":"opacity-0"),style:{background:"linear-gradient(45deg, #A63BD9 0%, #01F3C7 100%)",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude"}}),(0,t.jsxs)("div",{className:(0,a.cn)("group relative z-10 flex flex-col rounded-xl p-10 h-full overflow-hidden transition-all duration-300",{dark:"bg-[#0F0A2C]/80",light:"bg-white/10",stroke:""}[d],"stroke"===d&&"border border-white/10"),children:[(0,t.jsx)("div",{className:(0,a.cn)("grow flex items-center justify-center transition-opacity duration-300 rounded-lg overflow-hidden",g?"opacity-100":"opacity-50"),children:n?n(g):e?(0,t.jsx)(l.default,{src:e,alt:r,width:230,height:300,className:"w-full h-full object-contain"}):(0,t.jsx)("div",{className:"w-[230px] h-[200px] bg-fennel-white-10 rounded-lg animate-pulse"})}),(0,t.jsxs)("div",{className:"mt-6 flex flex-col gap-6 items-center",children:[(0,t.jsx)("h3",{className:"text-[1rem] tracking-[0.02rem] font-bold text-white text-center leading-6",children:(0,t.jsx)("span",{className:"tracking-normal",children:s})}),o&&(0,t.jsx)("p",{className:"text-[0.875rem] text-white text-center leading-5",children:o})]})]})]})})}function o({pillText:e,title:i,description:o,disclaimer:d,columns:c,columnsMd:u,columnsLg:f,columnWidth:p="xl:w-76",className:m,background:h="bg-[linear-gradient(180deg,#280146_0%,#0F0A2C_100%)]",showTopDecorations:g=!1,showBottomDecorations:x=!1,as:y="section"}){return(0,t.jsxs)(y,{className:(0,a.cn)("","section"===y?"relative py-10 px-4 md:px-0 lg:py-30 overflow-hidden":"",h,m),children:[g&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"absolute lg:left-10 xl:left-25 2xl:left-105 lg:top-25 xl:top-35 2xl:top-45 w-35 h-45 hidden lg:block pointer-events-none",children:(0,t.jsx)(l.default,{src:"/images/illustrations/twinkles.svg",alt:"Twinkles",width:140,height:180,className:"w-full h-full opacity-60"})})}),(0,t.jsxs)(r.Container,{variant:"default",className:"relative px-0 z-10",children:[(e||i||o||d)&&(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6 mb-12 max-w-220 mx-auto lg:max-w-200",children:[e&&(0,t.jsx)(n.Pill,{variant:"default",children:e}),i&&(0,t.jsx)("h2",{className:"text-3xl md:text-[2.5rem] md:leading-12 leading-10 font-bold text-white text-center ",children:i}),o&&(0,t.jsx)("p",{className:"text-[1.25rem] leading-8 font-normal text-white text-center",children:o}),d&&(0,t.jsx)("p",{className:"text-xs text-fennel-white-40 text-center leading-5",children:d})]}),(0,t.jsx)("div",{className:"flex flex-col gap-4 md:hidden",children:(c||f||[]).flatMap(e=>e.items).map(e=>
1(0,t.jsx)(s,{title:e.title,description:e.description,image:e.image,imageAlt:e.title,variant:e.variant,animationComponent:e.animationComponent,className:(0,a.cn)("w-full","opacity-70 hover:opacity-100")},e.id))}),u&&(0,t.jsx)("div",{className:"hidden md:grid md:grid-cols-2 lg:hidden gap-4 justify-center items-start",children:u.map((e,r)=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-4 w-full",e.className),style:{marginTop:e.offsetTop??0},children:e.items.map(e=>(0,t.jsx)(s,{title:e.title,description:e.description,image:e.image,imageAlt:e.title,variant:e.variant,animationComponent:e.animationComponent,className:(0,a.cn)("w-full","opacity-70 hover:opacity-100")},e.id))},r))}),!u&&(0,t.jsx)("div",{className:"hidden md:grid md:grid-cols-2 lg:hidden gap-4 justify-center items-start",children:(c||f||[]).map((e,r)=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-4 w-full",e.className),style:{marginTop:e.offsetTopMd??0},children:e.items.map(e=>(0,t.jsx)(s,{title:e.title,description:e.description,image:e.image,imageAlt:e.title,variant:e.variant,animationComponent:e.animationComponent,className:(0,a.cn)("w-full","opacity-70 hover:opacity-100")},e.id))},r))}),f&&(0,t.jsx)("div",{className:"hidden lg:grid lg:grid-cols-3 xl:hidden gap-4 justify-center items-start",children:f.map((e,r)=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-4 w-full",e.className),style:{marginTop:e.offsetTop??0},children:e.items.map(e=>(0,t.jsx)(s,{title:e.title,description:e.description,image:e.image,imageAlt:e.title,variant:e.variant,animationComponent:e.animationComponent,className:(0,a.cn)("w-full","opacity-70 hover:opacity-100")},e.id))},r))}),(0,t.jsx)("div",{className:(0,a.cn)("hidden xl:flex gap-4 justify-center items-start"),children:(c||f||[]).map((e,r)=>(0,t.jsx)("div",{className:(0,a.cn)("flex flex-col gap-4",p,e.className),style:{marginTop:e.offsetTop??0},children:e.items.map(e=>(0,t.jsx)(s,{title:e.title,description:e.description,image:e.image,imageAlt:e.title,variant:e.variant,animationComponent:e.animationComponent,className:(0,a.cn)("w-full",p,"opacity-70 hover:opacity-100")},e.id))},r))}),x&&(0,t.jsx)("div",{className:"hidden lg:flex justify-end mt-8 lg:mt-12 xl:mt-16 pr-4 lg:pr-20 xl:pr-40 pointer-events-none",children:(0,t.jsx)("div",{className:"w-35 h-45",children:(0,t.jsx)(l.default,{src:"/images/illustrations/brightness.svg",alt:"",width:140,height:180,className:"w-full h-full opacity-60"})})})]})]})}e.s(["FeatureGrid",()=>o],51352)},85074,88881,51383,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(47163);async function i(e,t={}){let r,{params:n,...l}=t,a=(r=new URL(`https://backend.fennel.com/api/v1/web-app${e}`),n&&Object.entries(n).forEach(([e,t])=>{void 0!==t&&r.searchParams.append(e,String(t))}),r.toString());try{let e=await fetch(a,{...l,headers:{"Content-Type":"application/json",...l.headers},next:{revalidate:60}});if(!e.ok){let t=await e.json().catch(()=>({}));return{success:!1,error:{message:t.message||"An error occurred",statusCode:e.status,error:t.error}}}let t=await e.json();if(!1===t.success)return{success:!1,error:{message:t.message||"An error occurred",statusCode:e.status}};return{success:!0,data:t}}catch(e){return{success:!1,error:{message:e instanceof Error?e.message:"Network error",statusCode:500}}}}async function l(e,t={}){return i(e,{...t,cache:"no-store"})}e.i(47167);let a="6Ld4DngtAAAAAF30Jh2tmgIU3Ag8l4SVs93JtGR6",s="google-recaptcha-v3",o=null;function d(){return o||(o=new Promise((e,t)=>{if(window.grecaptcha)return void e();let r=document.getElementById(s),n=r??document.createElement("script");n.addEventListener("load",()=>e()),n.addEventListener("error",()=>{o=null,t(Error("Failed to load reCAPTCHA"))}),r||(n.id=s,n.src=`https://www.google.com/recaptcha/api.js?render=${a}`,n.async=!0,n.defer=!0,document.head.appendChild(n))}))}async function c(e){await d();let t=window.grecaptcha;if(!t)throw Error("reCAPTCHA is unavailable");return new Promise((r,n)=>{t.ready(()=>{t.execute(a,{action:e}).then(r,n)})})}async function u(e){let t;try{t=await c("web_app_subscribe")}catch{throw Error("Could not complete the security check. Please refresh the page and try again.")}let r=await l("/subscribe",{method:"POST",body:JSON.stringify({email:e}),headers:t?{"x-recaptcha-token":t}:{}});if(!r.success)throw Error(r.error.message||"Failed to subscribe email")}e.s(["subscribeEmail",()=>u],88881),e.s([],51383);var f=e.i(63488);function p({onSubmit:e,className:i,title:l="Sign up to our newsletter"}){let[a,s]=(0,r.useState)(""),[o,c]=(0,r.useState)(""),[p,m]=(0,r.useState)("idle"),[h,g]=(0,r.useState)("");(0,r.useEffect)(()=>{d().catch(()=>{})},[]);let x=async t=>{if(t.preventDefault(),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(a)){m("error"),g("Please enter a valid email address");return}m("loading");try{await (e??u)(a),c(a),s(""),m("success"),setTimeout(()=>{m("idle"),c("")},5e3)}catch(e){m("error"),g(e instanceof Error&&e.message?e.message:"Something went wrong. Please try again.")}},y=a.length>0&&"loading"!==p&&"success"!==p;return(0,t.jsx)("div",{className:(0,n.cn)("w-full max-w-[596px]",i),children:(0,t.jsxs)("div",{className:"relative rounded-r-none md:rounded-r-2xl",children:[(0,t.jsx)("div",{className:"hidden md:block absolute left-0 top-0 bottom-0 w-[2px] bg-linear-to-t from-fennel-purple to-fennel-highlight rounded-l-full"}),(0,t.jsx)("div",{className:"bg-fennel-dark-60 lg:rounded-r-2xl  p-6 md:ml-[2px]",children:(0,t.jsxs)("form",{onSubmit:x,className:"flex flex-col gap-4",children:[(0,t.jsx)("h3",{className:"text-t-medium font-semibold text-white",children:l}),(0,t.jsx)("input",{type:"email",value:a,onChange:e=>{let t=e.target.value;s(t),"error"===p&&m("idle"),t&&"typing"!==p&&"loading"!==p?m("typing"):t||"typing"!==p||m("idle")},placeholder:"Email Address",className:(0,n.cn)("w-full max-w-[360px] px-2 py-3 rounded-lg text-p-small transition-all outline-none","typing"===p||"loading"===p?"bg-fennel-white-80 border border-white text-fennel-dark placeholder:text-fennel-dark/40":"bg-fennel-dark border border-fennel-white-40 text-fennel-white-40 placeholder:text-fennel-white-40")}),(0,t.jsx)("button",{type:"submit",disabled:!y,className:(0,n.cn)("w-fit px-5 py-2 rounded-full text-t-small font-bold text-white transition-all","bg-fennel-white-10",y?"opacity-100 cursor-pointer hover:bg-fennel-white-80 hover:text-fennel-dark":"opacity-50 cursor-not-allowed"),children:"loading"===p?"Subscribing...":"Subscribe"}),"error"===p&&(0,t.jsx)("p",{className:"text-p-small text-fennel-negative",children:h}),"success"===p&&o&&(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(f.Mail,{className:"w-10 h-10 text-fennel-highlight"}),(0,t.jsxs)("p",{className:"text-t-small font-bold text-fennel-highlight",children:["You're subscribed. We'll keep ",o," updated with the latest from Fennel."]})]})]})})]})})}e.s(["NewsletterSignup",()=>p],85074)},51722,e=>{"use strict";var t=e.i(43476),r=e.i(47163);let n=(0,e.i(75254).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);function i({title:e,quote:i,authorName:l,rating:a=5,isActive:s=!1,className:o}){return(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col items-center gap-4 md:w-[470px] w-full transition-opacity duration-300",s?"opacity-100":"opacity-50",o),children:[(0,t.jsx)("h3",{className:"text-t-medium font-semibold text-white text-center leading-8 w-full",children:e}),(0,t.jsx)("p",{className:"text-[16px] leading-7 font-normal text-white text-center w-full",children:i}),(0,t.jsxs)("p",{className:"text-[20px] leading-8 font-bold text-white text-center w-full",children:["- ",l]}),(0,t.jsx)("div",{className:"flex items-center gap-1",children:Array.from({length:a}).map((e,r)=>(0,t.jsx)(n,{className:"w-4 h-4 fill-fennel-warning text-fennel-warning"},r))})]})}e.s(["TestimonialCard",()=>i],51722)},72520,e=>{"use strict";
1let t=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",()=>t],72520)},78906,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(57688),i=e.i(22016),l=e.i(47163),a=e.i(67881),s=e.i(72520);function o({product:e,title:o,description:d,image:c,href:u,buttonText:f="Learn More",size:p="default",className:m}){let[h,g]=r.useState(!1);return(0,t.jsx)("div",{className:(0,l.cn)("relative rounded-2xl transition-all duration-300",{default:"w-full",large:"w-full"}[p],m),onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:(0,t.jsxs)("div",{className:(0,l.cn)("relative w-full h-full rounded-2xl transition-all duration-300",h&&"shadow-[0_0_16px_0_#451A6B]"),children:[(0,t.jsx)("div",{className:(0,l.cn)("absolute inset-0 rounded-2xl transition-opacity duration-300 p-px z-20 pointer-events-none",h?"opacity-100":"opacity-0"),style:{background:"linear-gradient(45deg, #A63BD9 0%, #01F3C7 100%)",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude"}}),(0,t.jsxs)(i.default,{href:u,className:(0,l.cn)("group relative z-10 flex flex-col rounded-2xl overflow-hidden transition-all duration-300 h-full","large"===p?"p-10 gap-10":"py-6 md:py-8 lg:py-10 gap-4 md:gap-5 lg:gap-[1.38rem]"),style:{wealthhub:{backgroundImage:"linear-gradient(90deg, rgba(40, 1, 70, 0.6) 0%, rgba(40, 1, 70, 0.6) 100%), linear-gradient(41deg, rgba(170, 58, 245, 0.5) 1%, rgba(77, 165, 243, 0.5) 99%)"},brokerage:{backgroundImage:"linear-gradient(135deg, rgba(166, 59, 217, 0.3) 0%, rgba(1, 243, 199, 0.3) 100%)"},api:{backgroundColor:"#280146"}}[e],children:[(0,t.jsx)("div",{className:(0,l.cn)("relative flex items-center overflow-hidden","string"==typeof c?"justify-center":"justify-start","large"===p?"h-86.5":"grow min-h-30 md:min-h-37.5 lg:min-h-50"),children:"string"==typeof c?(0,t.jsx)(n.default,{src:c,alt:o,fill:!0,className:"object-contain"}):"function"==typeof c?c(h):c}),(0,t.jsxs)("div",{className:(0,l.cn)("flex flex-col","large"===p?"gap-10":"gap-4 md:gap-5 lg:gap-[1.38rem] px-4 md:px-6 lg:px-10"),children:[(0,t.jsx)("h3",{className:"text-t-medium font-semibold text-white leading-8",children:o}),d&&"large"===p&&(0,t.jsx)("p",{className:"text-p-large text-white leading-8 hidden md:block",children:d}),(0,t.jsxs)(a.Button,{variant:"glass",size:"small",className:"w-fit transition-all ",children:[f,(0,t.jsx)(s.ArrowRight,{className:"ml-2 h-4 w-4"})]})]})]})]})})}e.s(["ProductCard",()=>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.