import{r as m,j as e,R as u,H as le,L as de}from"./app-C6SiEMGn.js";import{c as q,u as T,a as B,P as pe,d as ue}from"./index-FUlYkgbj.js";import{u as z,c as me,a as fe}from"./sheet-BvPq5L9Z.js";import{u as G,c as D,f as xe,B as ge}from"./createLucideIcon-CPpF-2ww.js";import{P as N}from"./index-B7t1D_co.js";import{C as ve}from"./select-BuGuwdXt.js";import{L as be}from"./layout-DermKrDq.js";import"./app-6D7Y1jSv.js";import"./index-ChxR6kRZ.js";import"./check-DEcJAs2N.js";import"./input-DYhKGVpQ.js";import"./label-BB9HLxkE.js";var y="Collapsible",[he,K]=q(y),[Ce,M]=he(y),Q=m.forwardRef((o,n)=>{const{__scopeCollapsible:t,open:a,defaultOpen:s,disabled:r,onOpenChange:i,...l}=o,[d,p]=T({prop:a,defaultProp:s??!1,onChange:i,caller:y});return e.jsx(Ce,{scope:t,disabled:r,contentId:z(),open:d,onOpenToggle:m.useCallback(()=>p(f=>!f),[p]),children:e.jsx(N.div,{"data-state":H(d),"data-disabled":r?"":void 0,...l,ref:n})})});Q.displayName=y;var U="CollapsibleTrigger",J=m.forwardRef((o,n)=>{const{__scopeCollapsible:t,...a}=o,s=M(U,t);return e.jsx(N.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":H(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...a,ref:n,onClick:B(o.onClick,s.onOpenToggle)})});J.displayName=U;var L="CollapsibleContent",X=m.forwardRef((o,n)=>{const{forceMount:t,...a}=o,s=M(L,o.__scopeCollapsible);return e.jsx(pe,{present:t||s.open,children:({present:r})=>e.jsx(Ae,{...a,ref:n,present:r})})});X.displayName=L;var Ae=m.forwardRef((o,n)=>{const{__scopeCollapsible:t,present:a,children:s,...r}=o,i=M(L,t),[l,d]=m.useState(a),p=m.useRef(null),f=G(n,p),x=m.useRef(0),A=x.current,v=m.useRef(0),I=v.current,b=i.open||l,h=m.useRef(b),C=m.useRef(void 0);return m.useEffect(()=>{const c=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(c)},[]),ue(()=>{const c=p.current;if(c){C.current=C.current||{transitionDuration:c.style.transitionDuration,animationName:c.style.animationName},c.style.transitionDuration="0s",c.style.animationName="none";const j=c.getBoundingClientRect();x.current=j.height,v.current=j.width,h.current||(c.style.transitionDuration=C.current.transitionDuration,c.style.animationName=C.current.animationName),d(a)}},[i.open,a]),e.jsx(N.div,{"data-state":H(i.open),"data-disabled":i.disabled?"":void 0,id:i.contentId,hidden:!b,...r,ref:f,style:{"--radix-collapsible-content-height":A?`${A}px`:void 0,"--radix-collapsible-content-width":I?`${I}px`:void 0,...o.style},children:b&&s})});function H(o){return o?"open":"closed"}var je=Q,Ne=J,Ie=X,g="Accordion",we=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[$,ye,Re]=me(g),[R,ao]=q(g,[Re,K]),V=K(),Y=u.forwardRef((o,n)=>{const{type:t,...a}=o,s=a,r=a;return e.jsx($.Provider,{scope:o.__scopeAccordion,children:t==="multiple"?e.jsx(Se,{...r,ref:n}):e.jsx(Ee,{...s,ref:n})})});Y.displayName=g;var[Z,_e]=R(g),[W,Pe]=R(g,{collapsible:!1}),Ee=u.forwardRef((o,n)=>{const{value:t,defaultValue:a,onValueChange:s=()=>{},collapsible:r=!1,...i}=o,[l,d]=T({prop:t,defaultProp:a??"",onChange:s,caller:g});return e.jsx(Z,{scope:o.__scopeAccordion,value:u.useMemo(()=>l?[l]:[],[l]),onItemOpen:d,onItemClose:u.useCallback(()=>r&&d(""),[r,d]),children:e.jsx(W,{scope:o.__scopeAccordion,collapsible:r,children:e.jsx(ee,{...i,ref:n})})})}),Se=u.forwardRef((o,n)=>{const{value:t,defaultValue:a,onValueChange:s=()=>{},...r}=o,[i,l]=T({prop:t,defaultProp:a??[],onChange:s,caller:g}),d=u.useCallback(f=>l((x=[])=>[...x,f]),[l]),p=u.useCallback(f=>l((x=[])=>x.filter(A=>A!==f)),[l]);return e.jsx(Z,{scope:o.__scopeAccordion,value:i,onItemOpen:d,onItemClose:p,children:e.jsx(W,{scope:o.__scopeAccordion,collapsible:!0,children:e.jsx(ee,{...r,ref:n})})})}),[ke,_]=R(g),ee=u.forwardRef((o,n)=>{const{__scopeAccordion:t,disabled:a,dir:s,orientation:r="vertical",...i}=o,l=u.useRef(null),d=G(l,n),p=ye(t),x=fe(s)==="ltr",A=B(o.onKeyDown,v=>{if(!we.includes(v.key))return;const I=v.target,b=p().filter(k=>!k.ref.current?.disabled),h=b.findIndex(k=>k.ref.current===I),C=b.length;if(h===-1)return;v.preventDefault();let c=h;const j=0,P=C-1,E=()=>{c=h+1,c>P&&(c=j)},S=()=>{c=h-1,c{const{__scopeAccordion:t,value:a,...s}=o,r=_(w,t),i=_e(w,t),l=V(t),d=z(),p=a&&i.value.includes(a)||!1,f=r.disabled||o.disabled;return e.jsx(Oe,{scope:t,open:p,disabled:f,triggerId:d,children:e.jsx(je,{"data-orientation":r.orientation,"data-state":ie(p),...l,...s,ref:n,disabled:f,open:p,onOpenChange:x=>{x?i.onItemOpen(a):i.onItemClose(a)}})})});oe.displayName=w;var te="AccordionHeader",ne=u.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=_(g,t),r=F(te,t);return e.jsx(N.h3,{"data-orientation":s.orientation,"data-state":ie(r.open),"data-disabled":r.disabled?"":void 0,...a,ref:n})});ne.displayName=te;var O="AccordionTrigger",re=u.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=_(g,t),r=F(O,t),i=Pe(O,t),l=V(t);return e.jsx($.ItemSlot,{scope:t,children:e.jsx(Ne,{"aria-disabled":r.open&&!i.collapsible||void 0,"data-orientation":s.orientation,id:r.triggerId,...l,...a,ref:n})})});re.displayName=O;var ae="AccordionContent",se=u.forwardRef((o,n)=>{const{__scopeAccordion:t,...a}=o,s=_(g,t),r=F(ae,t),i=V(t);return e.jsx(Ie,{role:"region","aria-labelledby":r.triggerId,"data-orientation":s.orientation,...i,...a,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...o.style}})});se.displayName=ae;function ie(o){return o?"open":"closed"}var Te=Y,De=oe,Me=ne,Le=re,He=se;function $e({...o}){return e.jsx(Te,{"data-slot":"accordion",...o})}function Ve({className:o,...n}){return e.jsx(De,{"data-slot":"accordion-item",className:D("border-b last:border-b-0",o),...n})}function Fe({className:o,children:n,...t}){return e.jsx(Me,{className:"flex",children:e.jsxs(Le,{"data-slot":"accordion-trigger",className:D("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",o),...t,children:[n,e.jsx(ve,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function qe({className:o,children:n,...t}){return e.jsx(He,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...t,children:e.jsx("div",{className:D("pt-0 pb-4",o),children:n})})}const Be="/build/assets/bes%205-BwicfiFA.jpg",ze="/build/assets/Ree%206-CXyPf4sr.jpg",Ge="/build/assets/Shrek-HrZ6bJMT.jpg",Ke="/build/assets/Swarovsky%20embedded%20wall%20hang-CEzO-m5f.jpg";function so({faq:o}){return e.jsx(e.Fragment,{children:e.jsxs(be,{children:[e.jsx(le,{title:"FAQs"}),e.jsxs("section",{className:"mx-auto grid max-w-screen-2xl grid-cols-12 gap-32 px-12 py-8 max-sm:grid-cols-1 max-sm:gap-8 max-sm:px-8",children:[e.jsxs("div",{className:"col-span-4 flex flex-col items-start gap-4",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"font-serif text-4xl font-medium tracking-tight",children:"Frequently Asked Questions"}),e.jsx("p",{children:"Any question, answered right here"})]}),e.jsx(de,{href:xe(),children:e.jsx(ge,{className:"cursor-pointer border border-primary font-serif ring-primary",variant:"outline",children:"Contact Now"})}),e.jsxs("div",{className:"mt-8 grid grid-cols-2 gap-2 max-sm:mt-2 max-sm:hidden",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("img",{src:Be,alt:"Image 1",className:"rounded-lg"}),e.jsx("img",{src:ze,alt:"Image 4",className:"rounded-lg"})]}),e.jsxs("div",{className:"mt-8 flex flex-col gap-2",children:[e.jsx("img",{src:Ke,alt:"Image 2",className:"rounded-lg"}),e.jsx("img",{src:Ge,alt:"Image 3",className:"rounded-lg"})]})]})]}),e.jsx("div",{className:"col-span-8 w-full",children:e.jsx($e,{type:"single",collapsible:!0,className:"w-full",defaultValue:"1",children:o.map(n=>e.jsxs(Ve,{value:`${n.id}`,children:[e.jsx(Fe,{className:"w-full",children:n?.question}),e.jsx(qe,{className:"px-2 text-gray-600",children:n?.answer})]}))})})]})]})})}export{so as default};