PageSourceSearch

https://puffy.com/_next/static/chunks/26946ba7e6957896.js?dpl=dpl_7vVaWDBoR23N1YCADZCw1HXCoomw

js puffy.com collected 2026-09-25 18:41:42 UTC 24,353 bytes, 5 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,252854,e=>{"use strict";let t=(0,e.i(985823).create)()((e,t)=>({registeredIds:new Set,thirdPartyBlocked:!1,setThirdPartyBlocked:r=>{t().thirdPartyBlocked!==r&&e({thirdPartyBlocked:r})},setRegistered:(r,o)=>{let i=t().registeredIds;if(o===i.has(r))return;let n=new Set(i);o?n.add(r):n.delete(r),e({registeredIds:n})}}));e.s(["setPromoPopupBlocker",0,(e,r)=>{t.getState().setRegistered(e,r)},"useIsAnyOverlayOpen",0,()=>t(e=>e.thirdPartyBlocked||e.registeredIds.size>0),"usePromoPopupBlockerStore",0,t])},167881,e=>{"use strict";var t=e.i(827293),r=e.i(160310),o=e.i(294237),i=e.i(647163);let n=(0,o.cva)("cta-tap-active inline-flex items-center justify-center whitespace-nowrap rounded-lg text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-white hover:bg-primary-600","primary-dark":"bg-fill-white text-strong transition-[background-color_500ms_ease] hover:bg-fill-offer",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground","outline-light":"rounded-lg border border-sub-strong text-primary-500 transition-[background-color_500ms_ease] duration-500 hover:bg-hover-cta-outline","outline-dark":"rounded-lg border border-white text-white transition-[background-color_500ms_ease] duration-500 hover:bg-hover-cta-outline-light",secondary:"text-secondary-foreground bg-secondary hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3",lg:"h-11 px-8",icon:"h-10 w-10",small:"rounded-sm"}},defaultVariants:{variant:"default",size:"default"}}),s=({ref:e,className:o,variant:s,size:a,asChild:l=!1,...d})=>{let c=l?r.Slot:"button";return(0,t.jsx)(c,{"data-testid":"button",className:(0,i.cn)(n({variant:s,size:a,className:o})),ref:e,...d})};e.s(["Button",()=>s,"buttonVariants",()=>n])},874704,e=>{"use strict";var t=e.i(827293);let r=e=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36",id:"cross-uncheck-line-36",role:"img","aria-labelledby":"cross-uncheck-line-36",...e,children:(0,t.jsx)("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,children:(0,t.jsx)("path",{d:"M25.563 10.438 10.438 25.563M10.438 10.438l15.125 15.125"})})});e.s(["CrossUncheckLine_36",()=>r])},523197,545339,e=>{"use strict";var t=e.i(192251),r=e.i(775453),o=e.i(922353),i=e.i(9413),n=e.i(411207),s=e.i(136567),a=e.i(648694),l=e.i(362854),d=e.i(576903),c=e.i(97573),u=e.i(285565),f=e.i(634918),p=e.i(700312),h=e.i(645751),g=e.i(160310),m=e.i(827293),v="Dialog",[x,y]=(0,i.createContextScope)(v),[b,C]=x(v),w=e=>{let{__scopeDialog:r,children:o,open:i,defaultOpen:a,onOpenChange:l,modal:d=!0}=e,c=t.useRef(null),u=t.useRef(null),[f,p]=(0,s.useControllableState)({prop:i,defaultProp:a??!1,onChange:l,caller:v});return(0,m.jsx)(b,{scope:r,triggerRef:c,contentRef:u,contentId:(0,n.useId)(),titleId:(0,n.useId)(),descriptionId:(0,n.useId)(),open:f,onOpenChange:p,onOpenToggle:t.useCallback(()=>p(e=>!e),[p]),modal:d,children:o})};w.displayName=v;var R="DialogTrigger",k=t.forwardRef((e,t)=>{let{__scopeDialog:i,...n}=e,s=C(R,i),a=(0,o.useComposedRefs)(t,s.triggerRef);return(0,m.jsx)(u.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":K(s.open),...n,ref:a,onClick:(0,r.composeEventHandlers)(e.onClick,s.onOpenToggle)})});k.displayName=R;var j="DialogPortal",[D,A]=x(j,{forceMount:void 0}),N=e=>{let{__scopeDialog:r,forceMount:o,children:i,container:n}=e,s=C(j,r);return(0,m.jsx)(D,{scope:r,forceMount:o,children:t.Children.map(i,e=>(0,m.jsx)(c.Presence,{present:o||s.open,children:(0,m.jsx)(d.Portal,{asChild:!0,container:n,children:e})}))})};N.displayName=j;var P="DialogOverlay",I=t.forwardRef((e,t)=>
1{let r=A(P,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,n=C(P,e.__scopeDialog);return n.modal?(0,m.jsx)(c.Presence,{present:o||n.open,children:(0,m.jsx)(_,{...i,ref:t})}):null});I.displayName=P;var O=(0,g.createSlot)("DialogOverlay.RemoveScroll"),_=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=C(P,r);return(0,m.jsx)(p.RemoveScroll,{as:O,allowPinchZoom:!0,shards:[i.contentRef],children:(0,m.jsx)(u.Primitive.div,{"data-state":K(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),S="DialogContent",T=t.forwardRef((e,t)=>{let r=A(S,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,n=C(S,e.__scopeDialog);return(0,m.jsx)(c.Presence,{present:o||n.open,children:n.modal?(0,m.jsx)(z,{...i,ref:t}):(0,m.jsx)(E,{...i,ref:t})})});T.displayName=S;var z=t.forwardRef((e,i)=>{let n=C(S,e.__scopeDialog),s=t.useRef(null),a=(0,o.useComposedRefs)(i,n.contentRef,s);return t.useEffect(()=>{let e=s.current;if(e)return(0,h.hideOthers)(e)},[]),(0,m.jsx)(B,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),E=t.forwardRef((e,r)=>{let o=C(S,e.__scopeDialog),i=t.useRef(!1),n=t.useRef(!1);return(0,m.jsx)(B,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(n.current=!0));let r=t.target;o.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&n.current&&t.preventDefault()}})}),B=t.forwardRef((e,r)=>{let{__scopeDialog:i,trapFocus:n,onOpenAutoFocus:s,onCloseAutoFocus:d,...c}=e,u=C(S,i),p=t.useRef(null),h=(0,o.useComposedRefs)(r,p);return(0,f.useFocusGuards)(),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:s,onUnmountAutoFocus:d,children:(0,m.jsx)(a.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":K(u.open),...c,ref:h,onDismiss:()=>u.onOpenChange(!1)})}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(G,{titleId:u.titleId}),(0,m.jsx)(Z,{contentRef:p,descriptionId:u.descriptionId})]})]})}),F="DialogTitle",M=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=C(F,r);return(0,m.jsx)(u.Primitive.h2,{id:i.titleId,...o,ref:t})});M.displayName=F;var H="DialogDescription",$=t.forwardRef((e,t)=>{let{__scopeDialog:r,...o}=e,i=C(H,r);return(0,m.jsx)(u.Primitive.p,{id:i.descriptionId,...o,ref:t})});$.displayName=H;var L="DialogClose",U=t.forwardRef((e,t)=>{let{__scopeDialog:o,...i}=e,n=C(L,o);return(0,m.jsx)(u.Primitive.button,{type:"button",...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,()=>n.onOpenChange(!1))})});function K(e){return e?"open":"closed"}U.displayName=L;var W="DialogTitleWarning",[q,V]=(0,i.createContext)(W,{contentName:S,titleName:F,docsSlug:"dialog"}),G=({titleId:e})=>{let r=V(W),o=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return t.useEffect(()=>{e&&(document.getElementById(e)||console.error(o))},[o,e]),null},Z=({contentRef:e,descriptionId:r})=>{let o=V("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${o.contentName}}.`;return t.useEffect(()=>{let t=e.current?.getAttribute("aria-describedby");r&&t&&(document.getElementById(r)||console.warn(i))},[i,e,r]),null};e.s(["Close",()=>U,"Content",()=>T,"Description",()=>$,"DialogClose",()=>U,"DialogTitle",()=>M,"Overlay",()=>I,"Portal",()=>N,"Root",()=>w,"Title",()=>M,"Trigger",()=>
5k],523197);var J=e.i(252854);e.s(["createBlockingOverlayRoot",0,e=>({open:r,onOpenChange:o,...i})=>{let n=(0,t.useId)(),s=`overlay-${n}`;return(0,t.useEffect)(()=>{if(void 0!==r)return(0,J.setPromoPopupBlocker)(s,r),()=>(0,J.setPromoPopupBlocker)(s,!1)},[s,r]),(0,t.useEffect)(()=>()=>(0,J.setPromoPopupBlocker)(s,!1),[s]),(0,m.jsx)(e,{...i,open:r,onOpenChange:e=>{void 0===r&&(0,J.setPromoPopupBlocker)(s,e),o?.(e)}})}],545339)},630374,e=>{"use strict";var t=e.i(827293),r=e.i(523197),o=e.i(545339),i=e.i(874704),n=e.i(647163);let s=(0,o.createBlockingOverlayRoot)(r.Root),a=r.Trigger,l=r.Portal,d=r.Close,c=({ref:e,className:o,...i})=>(0,t.jsx)(r.Overlay,{ref:e,className:(0,n.cn)("fixed inset-0 z-[50] h-[calc(100vh+16px)] w-screen bg-black/80 backdrop-blur-[10px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",o),...i}),u=({ref:e,className:o,children:s,iconProps:a,overlayProps:d,animationProps:u={side:"bottom"},forceScroll:f=!1,openAutoFocus:p=!0,extraContent:h,...g})=>{let m=(0,t.jsxs)(r.Content,{"data-testid":"dialog-content",ref:e,className:(0,n.cn)("fixed left-[50%] top-[50%] z-[101] grid max-h-[90dvh] w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 overflow-y-auto rounded-3xl border bg-background p-6 shadow-lg outline-none duration-200 focus:outline-none focus-visible:outline-none 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",u?.side==="top"&&"data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",u?.side==="bottom"&&"data-[state=closed]:slide-out-to-bottom-[48%] data-[state=open]:slide-in-from-bottom-[48%] data-[state=open]:slide-in-from-left-1/2",u?.side==="left"&&"left-0 top-0 translate-x-0 translate-y-0 data-[state=closed]:zoom-out-100 data-[state=open]:zoom-out-100 data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",o),...g,children:[a?.children?a?.children:(0,t.jsxs)(r.Close,{className:(0,n.cn)("absolute right-4 top-4 z-10 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",a?.className),children:[(0,t.jsx)(i.CrossUncheckLine_36,{className:"size-6"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),s]});return f?(0,t.jsx)(l,{children:(0,t.jsxs)(c,{...d,children:[h,m]})}):(0,t.jsxs)(l,{children:[(0,t.jsx)(c,{...d}),h,m]})};u.displayName=r.Content.displayName;let f=({className:e,...r})=>(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...r});f.displayName="DialogHeader";let p=({className:e,...r})=>(0,t.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...r}),h=({ref:e,className:o,...i})=>(0,t.jsx)(r.Title,{ref:e,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",o),...i}),g=({ref:e,className:o,...i})=>(0,t.jsx)(r.Description,{ref:e,className:(0,n.cn)("text-sm text-muted-foreground",o),...i});e.s(["Dialog",()=>s,"DialogClose",()=>d,"DialogContent",()=>u,"DialogDescription",()=>g,"DialogFooter",()=>p,"DialogHeader",()=>f,"DialogTitle",()=>h,"DialogTrigger",()=>a])},987099,e=>{"use strict";var t=e.i(192251),r=e.i(9413),o=e.i(922353),i=e.i(160310),n=e.i(827293);function s(e){let s=e+"CollectionProvider",[a,l]=(0,r.createContextScope)(s),[d,c]=a(s,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:o}=e,i=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,n.jsx)(d,{scope:r,itemMap:s,collectionRef:i,children:o})};u.displayName=s;let f=e+"CollectionSlot",p=(0,i.createSlot)(f),h=t.default.forwardRef((e,t)=>{let{scope:r,children:i}=e,s=c(f,r),a=(0,o.useComposedRefs)(t,s.collectionRef);return(0,n.jsx)(p,{ref:a,children:i})});h.displayName=f;let g=e+"CollectionItemSlot",m="data-radix-collection-item",v=(0,i.createSlot)(g),x=t.default.forwardRef((e,r)=>{let{scope:i,children:s,...a}=e,l=t.default.useRef(null),d=(0,o.useComposedRefs)(r,l),u=c(g,i);return t.default.useEffect(()=>(u.itemMap.set(l,{ref:l,...a}),()=>void u.itemMap.delete(l))),(0,n.jsx)(v,{...{[m]:""},ref:d,children:s})});return x.displayName=g,[{Provider:u,Slot:h,ItemSlot:x},function(r){let o=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=o.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(o.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[o.collectionRef,o.itemMap])},l]}var a=new WeakMap;function l(e,t){var r,o;let i,n,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,o=t,i=r.length,(s=(n=d(o))>=0?n:i+n)<0||s>=i?-1:s);return -1===a?void 0:e[a]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],a.set(this,!0)}set(e,t){return a.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 o,i=this.has(t),n=this.#e.length,s=d(e),a=s>=0?s:n+s,l=a<0||a>=n?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let c=this.size+ +!i;s<0&&a++;let u=[...this.#e],f=!1;for(let e=a;
5e<c;e++)if(a===e){let n=u[e];u[e]===t&&(n=u[e+1]),i&&this.delete(t),o=this.get(n),this.set(t,r)}else{f||u[e-1]!==t||(f=!0);let r=u[f?e:e-1],i=o;o=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,o){let i=new e(this);return i.insert(t,r,o),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let o=this.#e.indexOf(e);return -1===o?this:this.insert(o,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 o=this.#e.indexOf(e);return -1===o?this:this.insert(o+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=l(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=l(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return l(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let o=r+t;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.at(o)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let o=r+t;return o<0&&(o=0),o>=this.size&&(o=this.size-1),this.keyAt(o)}find(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return o;r++}}findIndex(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return r;r++}return -1}filter(t,r){let o=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&o.push(e),i++;return new e(o)}map(t,r){let o=[],i=0;for(let e of this)o.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(o)}reduce(...e){let[t,r]=e,o=0,i=r??this.at(0);for(let r of this)i=0===o&&1===e.length?r:Reflect.apply(t,this,[i,r,o,this]),o++;return i}reduceRight(...e){let[t,r]=e,o=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);o=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[o,i,r,this])}return o}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),o=this.get(r);t.set(r,o)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let o=new e,i=this.size-1;if(void 0===t)return o;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);o.set(t,r)}return o}every(e,t){let r=0;for(let o of this){if(!Reflect.apply(e,t,[o,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let o of this){if(Reflect.apply(e,t,[o,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>s])},775649,e=>{"use strict";var t=e.i(192251);e.i(827293);var r=t.createContext(void 0);function o(e){let o=t.useContext(r);return e||o||"ltr"}e.s(["useDirection",()=>o])},948830,190494,e=>{"use strict";let t=(0,e.i(939679).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t],190494),e.s(["ChevronDown",()=>t],948830)},24512,197694,e=>{"use strict";var t=e.i(192251),r=e.i(9413),o=e.i(987099),i=e.i(922353),n=e.i(775453),s=e.i(136567),a=e.i(285565),l=e.i(18731),d=e.i(97573),c=e.i(411207),u=e.i(827293),f="Collapsible",[p,h]=(0,r.createContextScope)(f),[g,m]=p(f),v=t.forwardRef((e,r)=>{let{__scopeCollapsible:o,open:i,defaultOpen:n,disabled:l,onOpenChange:d,...p}=e,[h,m]=(0,s.useControllableState)({prop:i,defaultProp:n??!1,onChange:d,caller:f});return(0,u.jsx)(g,{scope:o,disabled:l,contentId:(0,c.useId)(),open:h,onOpenToggle:t.useCallback(()=>m(e=>!e),[m]),children:(0,u.jsx)(a.Primitive.div,{"data-state":R(h),"data-disabled":l?"":void 0,...p,ref:r})})});v.displayName=f;var x="CollapsibleTrigger",y=t.forwardRef((e,t)=>{let{__scopeCollapsible:r,...o}=e,i=m(x,r);return(0,u.jsx)(a.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":R(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:(0,n.composeEventHandlers)(e.onClick,i.onOpenToggle)})});y.displayName=x;var b="CollapsibleContent",C=t.forwardRef((e,t)=>{let{forceMount:r,...o}=e,i=m(b,e.__scopeCollapsible);return(0,u.jsx)(d.Presence,{present:r||i.open,children:({present:e})=>(0,u.jsx)(w,{...o,ref:t,present:e})})});C.displayName=b;var w=t.forwardRef((e,r)=>{let{__scopeCollapsible:o,present:n,children:s,...d}=e,c=m(b,o),[f,p]=t.useState(n),h=t.useRef(null),g=(0,i.useComposedRefs)(r,h),v=t.useRef(0),x=v.current,y=t.useRef(0),C=y.current,w=c.open||f,k=t.useRef(w),j=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,l.useLayoutEffect)(()=>{let e=h.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();v.current=t.height,y.current=t.width,k.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),p(n)}}
5,[c.open,n]),(0,u.jsx)(a.Primitive.div,{"data-state":R(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!w,...d,ref:g,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:w&&s})});function R(e){return e?"open":"closed"}e.s(["CollapsibleContent",()=>C,"CollapsibleTrigger",()=>y,"Content",()=>C,"Root",()=>v,"Trigger",()=>y,"createCollapsibleScope",()=>h],197694);var k=e.i(775649),j="Accordion",D=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[A,N,P]=(0,o.createCollection)(j),[I,O]=(0,r.createContextScope)(j,[P,h]),_=h(),S=t.default.forwardRef((e,t)=>{let{type:r,...o}=e;return(0,u.jsx)(A.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,u.jsx)(M,{...o,ref:t}):(0,u.jsx)(F,{...o,ref:t})})});S.displayName=j;var[T,z]=I(j),[E,B]=I(j,{collapsible:!1}),F=t.default.forwardRef((e,r)=>{let{value:o,defaultValue:i,onValueChange:n=()=>{},collapsible:a=!1,...l}=e,[d,c]=(0,s.useControllableState)({prop:o,defaultProp:i??"",onChange:n,caller:j});return(0,u.jsx)(T,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:t.default.useCallback(()=>a&&c(""),[a,c]),children:(0,u.jsx)(E,{scope:e.__scopeAccordion,collapsible:a,children:(0,u.jsx)(L,{...l,ref:r})})})}),M=t.default.forwardRef((e,r)=>{let{value:o,defaultValue:i,onValueChange:n=()=>{},...a}=e,[l,d]=(0,s.useControllableState)({prop:o,defaultProp:i??[],onChange:n,caller:j}),c=t.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),f=t.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,u.jsx)(T,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:f,children:(0,u.jsx)(E,{scope:e.__scopeAccordion,collapsible:!0,children:(0,u.jsx)(L,{...a,ref:r})})})}),[H,$]=I(j),L=t.default.forwardRef((e,r)=>{let{__scopeAccordion:o,disabled:s,dir:l,orientation:d="vertical",...c}=e,f=t.default.useRef(null),p=(0,i.useComposedRefs)(f,r),h=N(o),g="ltr"===(0,k.useDirection)(l),m=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!D.includes(e.key))return;let t=e.target,r=h().filter(e=>!e.ref.current?.disabled),o=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===o)return;e.preventDefault();let n=o,s=i-1,a=()=>{(n=o+1)>s&&(n=0)},l=()=>{(n=o-1)<0&&(n=s)};switch(e.key){case"Home":n=0;break;case"End":n=s;break;case"ArrowRight":"horizontal"===d&&(g?a():l());break;case"ArrowDown":"vertical"===d&&a();break;case"ArrowLeft":"horizontal"===d&&(g?l():a());break;case"ArrowUp":"vertical"===d&&l()}let c=n%i;r[c].ref.current?.focus()});return(0,u.jsx)(H,{scope:o,disabled:s,direction:l,orientation:d,children:(0,u.jsx)(A.Slot,{scope:o,children:(0,u.jsx)(a.Primitive.div,{...c,"data-orientation":d,ref:p,onKeyDown:s?void 0:m})})})}),U="AccordionItem",[K,W]=I(U),q=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,value:o,...i}=e,n=$(U,r),s=z(U,r),a=_(r),l=(0,c.useId)(),d=o&&s.value.includes(o)||!1,f=n.disabled||e.disabled;return(0,u.jsx)(K,{scope:r,open:d,disabled:f,triggerId:l,children:(0,u.jsx)(v,{"data-orientation":n.orientation,"data-state":Y(d),...a,...i,ref:t,disabled:f,open:d,onOpenChange:e=>{e?s.onItemOpen(o):s.onItemClose(o)}})})});q.displayName=U;var V="AccordionHeader",G=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=$(j,r),n=W(V,r);return(0,u.jsx)(a.Primitive.h3,{"data-orientation":i.orientation,"data-state":Y(n.open),"data-disabled":n.disabled?"":void 0,...o,ref:t})});G.displayName=V;var Z="AccordionTrigger",J=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=$(j,r),n=W(Z,r),s=B(Z,r),a=_(r);return(0,u.jsx)(A.ItemSlot,{scope:r,children:(0,u.jsx)(y,{"aria-disabled":n.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId,...a,...o,ref:t})})});J.displayName=Z;var Q="AccordionContent",X=t.default.forwardRef((e,t)=>{let{__scopeAccordion:r,...o}=e,i=$(j,r),n=W(Q,r),s=_(r);return(0,u.jsx)(C,{role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation,...s,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Y(e){return e?"open":"closed"}X.displayName=Q,e.s(["Accordion",()=>S,"AccordionContent",()=>X,"AccordionItem",()=>q,"AccordionTrigger",()=>J,"Content",()=>X,"Header",()=>G,"Item",()=>q,"Root",()=>S,"Trigger",()=>J],24512)},890538,e=>{"use strict";var t=e.i(827293),r=e.i(24512),o=e.i(948830),i=e.i(647163);let n=r.Root,s=({ref:e,className:o,...n})=>(0,t.jsx)(r.Item,{ref:e,className:(0,i.cn)("border-b",o),...n}),a=({ref:e,className:n,children:s,iconProps:a,...l})=>(0,t.jsx)(r.Header,{className:"flex",children:(0,t.jsxs)(r.Trigger,{"data-testid":"accordion_trigger",ref:e,className:(0,i.cn)("no-interactive flex flex-1 items-center justify-between py-4 font-medium transition-all [&[data-state=open]>svg]:rotate-180",n),...l,children:[s,a?.children||(0,t.jsx)(o.ChevronDown,{className:"h-6 w-6 shrink-0 transition-transform duration-200","aria-hidden":"true"})]})}),l=({ref:e,className:o,children:n,parentProps:s,...a})=>(0,t.jsx)(r.Content,{"data-testid":"accordion_content",ref:e,className:(0,i.cn)("overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",s?.className),...a,children:(0,t.jsx)("div",{className:(0,i.cn)("pb-4 pt-0",o),children:n})});e.s(["Accordion",()=>n,"AccordionContent",()=>l,"AccordionItem",()=>s,"AccordionTrigger",()=>a])}]);

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.