{"version":3,"file":"FAQAccordion.Bi3RZHSM.mjs","names":["useState","useCallback"],"sources":["https:/framerusercontent.com/modules/YJJ4wAbFzM4WmEE5hMjZ/61AcwLYXNm0X3oEpkhll/FAQAccordion.js"],"sourcesContent":["// Request (Roz, Unlmtd Agency): \"can you make the faq work ? with the pressing\n// the plus sign it opens the text and changes to a minus icon\"\n// Prestige Travel & Events — FAQ accordion. Tapping a question (or its plus)\n// opens the answer; the plus turns into a minus. One answer open at a time.\n// Questions/answers are editable in the right panel. Brand font: Aktiv Grotesk.\n// \"FAQ Set\" picks a preset list for the /faqs page (Planning, Fees, Travel);\n// \"Custom\" uses the FAQs list in the panel.\n// Oct 2026 (Lena's pre-launch notes): copy refers to \"our team\" rather than one\n// person, no 24/7 promises, no exclusive wording.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{startTransition,useCallback,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";const EASE=[.25,.1,.25,1];const BRAND_SANS=`\"Aktiv Grotesk\", \"aktiv-grotesk\", \"Helvetica Neue\", Arial, sans-serif`;const DEFAULT_ITEMS=[{question:\"How long has Prestige been curating luxury travel?\",answer:\"Prestige Travel & Events has been designing private journeys and events for many years, drawing on long-standing relationships with the world’s finest hotels, cruise lines and travel partners.\"},{question:\"How is a bespoke journey priced?\",answer:\"Every journey is priced individually around your itinerary, accommodation, inclusions and travel dates. After an initial consultation we prepare a detailed, transparent proposal so you know exactly what is included before anything is confirmed.\"},{question:\"Who will manage my travel arrangements?\",answer:\"Our team looks after your journey from the first conversation to your return home, with every detail taken care of along the way.\"},{question:\"Do you arrange both private and group travel?\",answer:\"Yes. We plan private journeys for individuals, couples and families, as well as group travel, executive retreats and corporate incentive programmes.\"},{question:\"How do I arrange a consultation?\",answer:\"Simply get in touch through our contact page or call us directly. We’ll arrange a time that suits you — in person, by phone or online — to talk through your ideas.\"},{question:\"What is included in your service?\",answer:\"Itinerary design, flights, accommodation, private transfers, experiences, VIP inclusions and support while you travel — all coordinated by our team, so every moment is taken care of.\"}];const FAQ_SETS={planning:[{question:\"How far ahead should I start planning?\",answer:\"For most journeys, three to six months gives the best choice of hotels, suites and experiences. Honeymoons, milestone celebrations, peak-season travel and group events are best started nine to twelve months ahead. Shorter notice is often possible, so it is always worth asking.\"},{question:\"What happens after I send an enquiry?\",answer:\"Our team will be in touch to arrange a consultation, in person, by phone or online. Together we'll talk through where you'd like to go, how you like to travel, your dates and your budget. We then prepare a considered proposal for you to review.\"},{question:\"Can you plan around a wedding, birthday or special date?\",answer:\"Yes. Many journeys are built around an occasion, and we plan the timing, surprises and special touches so the celebration feels effortless.\"},{question:\"Can you help if I've already booked part of my trip?\",answer:\"Absolutely. We can build around flights or accommodation you already hold and take care of everything else, from transfers to private experiences.\"},{question:\"Do you book flights as well as hotels and experiences?\",answer:\"Yes. Flights, private transfers, hotels, cruises, guides, dining and experiences can all be arranged together, so your whole journey sits in one itinerary.\"},{question:\"Can I make changes once my itinerary is confirmed?\",answer:\"Changes are often possible. Each supplier has its own conditions, so we will always explain what's involved before anything is updated.\"}],fees:[{question:\"Is there a planning fee?\",answer:\"Depending on the complexity of the journey or event, a planning fee may apply. It is always confirmed with you before planning begins, so there are no surprises.\"},{question:\"How do deposits and final payments work?\",answer:\"Deposits and final payment dates are set by each airline, hotel, cruise line or supplier. Your proposal clearly lists what is due and when, and we will remind you ahead of each date.\"},{question:\"What if I need to cancel?\",answer:\"Cancellation terms depend on each booking and supplier. They are outlined in your proposal and service terms, and we will talk you through them before you confirm.\"},{question:\"Do I need travel insurance?\",answer:\"We strongly recommend comprehensive travel insurance from the moment your first deposit is paid. It protects you against unexpected changes before and during your journey.\"}],travel:[{question:\"What if something goes wrong while I'm away?\",answer:\"You'll travel with your full itinerary and contact details for our team and your on-the-ground partners. If plans change, simply get in touch and we'll help you through it.\"},{question:\"Do you help with passports, visas and entry requirements?\",answer:\"We will point you to the requirements for each destination and remind you of key dates. Final responsibility for passports, visas and health requirements rests with each traveller.\"},{question:\"Can you cater for dietary, accessibility or medical needs?\",answer:\"Yes. Let us know at the start and every hotel, cruise line, restaurant and guide will be briefed in advance.\"},{question:\"Do you plan travel for groups and corporate teams?\",answer:\"Yes. From small family gatherings to executive retreats and incentive programmes, group travel is planned with the same personal care as a journey for two.\"}]};function PlusMinus({open,color}){const bar={position:\"absolute\",left:\"50%\",top:\"50%\",width:14,height:1.5,marginLeft:-7,marginTop:-.75,backgroundColor:color,borderRadius:1};return /*#__PURE__*/_jsxs(\"span\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:24,height:24,flexShrink:0,display:\"inline-block\"},children:[/*#__PURE__*/_jsx(\"span\",{style:bar}),/*#__PURE__*/_jsx(motion.span,{style:bar,initial:false,animate:{rotate:open?0:90,opacity:open?0:1},transition:{duration:.35,ease:EASE}})]});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQAccordion(props){const{faqSet,allowMultiple,firstOpen,fontFamily,questionSize,answerSize,questionColor,answerColor,iconColor,dividerColor,rowPadding,style}=props;const items=faqSet&&faqSet!==\"custom\"&&FAQ_SETS[faqSet]?FAQ_SETS[faqSet]:props.items&&props.items.length>0?props.items:DEFAULT_ITEMS;const[open,setOpen]=useState(firstOpen?[0]:[]);const toggle=useCallback(i=>{startTransition(()=>setOpen(prev=>{const isOpen=prev.includes(i);if(isOpen)return prev.filter(x=>x!==i);return allowMultiple?[...prev,i]:[i];}));},[allowMultiple]);// Legacy instances may still carry \"Instrument Sans\" — force the brand font.\nconst requested=(fontFamily||\"\").trim();const font=requested&&!/instrument|dm sans|inter/i.test(requested)?`\"${requested}\", ${BRAND_SANS}`:BRAND_SANS;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",display:\"flex\",flexDirection:\"column\",...style},children:items.map((item,i)=>{const isOpen=open.includes(i);const id=`faq-${faqSet||\"custom\"}-${i}`;return /*#__PURE__*/_jsxs(\"div\",{style:{borderBottom:i<items.length-1?`1px solid ${dividerColor}`:\"none\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onClick:()=>toggle(i),\"aria-expanded\":isOpen,\"aria-controls\":`${id}-panel`,id:`${id}-button`,style:{all:\"unset\",boxSizing:\"border-box\",width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:16,padding:`${rowPadding}px 0`,cursor:\"pointer\",fontFamily:font,fontWeight:500,fontSize:questionSize,lineHeight:1.3,letterSpacing:\"0.01em\",color:questionColor,textAlign:\"left\"},children:[/*#__PURE__*/_jsx(\"span\",{children:item.question}),/*#__PURE__*/_jsx(PlusMinus,{open:isOpen,color:iconColor})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:isOpen&&/*#__PURE__*/_jsx(motion.div,{id:`${id}-panel`,role:\"region\",\"aria-labelledby\":`${id}-button`,initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.45,ease:EASE},style:{overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0,padding:`0 40px ${rowPadding}px 0`,fontFamily:font,fontWeight:400,fontSize:answerSize,lineHeight:1.65,color:answerColor,whiteSpace:\"pre-line\"},children:item.answer})},\"panel\")})]},i);})});}FAQAccordion.defaultProps={items:DEFAULT_ITEMS,faqSet:\"custom\",allowMultiple:false,firstOpen:false,fontFamily:\"Aktiv Grotesk\",questionSize:15,answerSize:15,questionColor:\"rgb(44, 41, 37)\",answerColor:\"rgba(44, 41, 37, 0.66)\",iconColor:\"rgb(46, 64, 67)\",dividerColor:\"rgba(44, 41, 37, 0.15)\",rowPadding:20};addPropertyControls(FAQAccordion,{faqSet:{type:ControlType.Enum,title:\"FAQ Set\",options:[\"custom\",\"planning\",\"fees\",\"travel\"],optionTitles:[\"Custom\",\"Planning\",\"Fees & Payments\",\"While Travelling\"],defaultValue:\"custom\"},items:{type:ControlType.Array,title:\"FAQs\",hidden:p=>p.faqSet&&p.faqSet!==\"custom\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Question\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Answer\"}}},defaultValue:DEFAULT_ITEMS},allowMultiple:{type:ControlType.Boolean,title:\"Multiple Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},firstOpen:{type:ControlType.Boolean,title:\"First Open\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"Aktiv Grotesk\",description:\"Brand: Aktiv Grotesk only.\"},questionSize:{type:ControlType.Number,title:\"Question Size\",defaultValue:15,min:10,max:40,unit:\"px\"},answerSize:{type:ControlType.Number,title:\"Answer Size\",defaultValue:15,min:10,max:32,unit:\"px\"},questionColor:{type:ControlType.Color,title:\"Question\",defaultValue:\"rgb(44, 41, 37)\"},answerColor:{type:ControlType.Color,title:\"Answer\",defaultValue:\"rgba(44, 41, 37, 0.66)\"},iconColor:{type:ControlType.Color,title:\"Icon\",defaultValue:\"rgb(46, 64, 67)\"},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"rgba(44, 41, 37, 0.15)\"},rowPadding:{type:ControlType.Number,title:\"Row Padding\",defaultValue:20,min:0,max:60,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQAccordion\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQAccordion.map"],"mappings":"6OAS6iK,SAAS,EAAU,CAAC,OAAK,SAAO,CAAC,IAAM,EAAI,CAAC,SAAS,WAAW,KAAK,MAAM,IAAI,MAAM,MAAM,GAAG,OAAO,IAAI,WAAW,GAAG,UAAU,KAAK,gBAAgB,EAAM,aA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