{"version":3,"file":"ECClubNewBookingForm.DWraocPZ.mjs","names":["useState","error","formData","utmParams","p","day","_Fragment"],"sources":["https:/framerusercontent.com/modules/xnbk4JYvYGReYQW0vXk0/weCMZjKEP9as37YUaTIX/ECClubCentreDropdown.js","https:/framerusercontent.com/modules/CU0lur7UyYY7fG3Ht92C/feGJRQZyvi8FMSVCFAW8/ECClubNewBookingForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const useStore=createStore({centre:{}});const API_CONFIG={AUTH_TOKEN:\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJhY2Nlc3MiLCJleHAiOjIwNjY4MTgzNTcsImlhdCI6MTc1MTQ1ODM1NywianRpIjoiNTczMDIxMDYwZGExNDE1MTlhZmQ0YmZlZWJiNzJmZGUiLCJzdWIiOiJjMDg5YTEzZC1hYTMxLTQ5M2MtOTMyMC01ODExYzM0ZTcxM2MiLCJuYW1lIjoiTWFzdGVyIFBvaCIsInVzZXJuYW1lIjoiODg2MTExNTAwMCIsInByZWZlcnJlZF91c2VybmFtZSI6Ijg4NjExMTUwMDAiLCJnaXZlbl9uYW1lIjoiTWFzdGVyIiwiZmFtaWx5X25hbWUiOiJQb2giLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtb3BlbmhvdXNlIiwiYWRtaW4iLCJwYXJlbnQiLCJzdHVkZW50Il19fQ.YBB7egtFJ51D5eXuW__bSBqNI1Z-H_8tbOkCSf5MMNhI3MWJbWZ7PLowJrieD2xHwIYlO0KeeP8-IVbSWCIHy7SHs3f1idB0KcQKkZ6YwcXh9bolT71lWqnR7rQOphW98NxrGoOzVloqkNeDFDpZMNzLoRu8ixn_OV0QlP_1wGH-WgPiHWsYLDnZWGIi-xdoTnDil3aCLqHooKEjjJcKpZkOYWPKAUN7DEm7toc9eW9BXUnicvoEzc1jR_EMN7UiX6tNvymSFFhcf16oMr2ic1UqLm-_cBTpo5kmqEDIZLM7CpMN8rj0Omr-Q8DVfAn4o0l4TE-j938Eyw7T_J7zzw\"};export const centers=[{uuid:\"49f33425-fbe7-4382-a364-195ed79357d0\",name:\"Haralur\",postal_code:\"560068\",postal_address:\"Third Wave Coffee\",city:\"Bengaluru\",gmap_link:\"https://maps.app.goo.gl/FkQ5SasADrJT7JyZ7?g_st=ipc\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830793/learning-centres/rvbhexpwgpibp20i6efp.jpg\"],videos:[],phone_number:\"9972565813\",lat:12.891584499999999,lng:77.6668122},{uuid:\"b5247d6c-c87b-4229-8b88-0f4abd79c509\",name:\"HRBR Layout\",postal_code:\"560043\",postal_address:\"Right Turn from Cloud 9 Hospital\",city:\"Bengaluru\",gmap_link:\"https://maps.app.goo.gl/ToiUUdzmnZexWSxQ9?g_st=aw\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830793/learning-centres/rvbhexpwgpibp20i6efp.jpg\"],videos:[],phone_number:\"8870541311\",lat:13.0206866,lng:77.6541879},{uuid:\"9d5f572f-f991-4d52-a94c-d44911e4763d\",name:\"HSR Layout\",postal_code:\"560102\",postal_address:\"Next to Samarthanam Trust for the Disabled\",city:\"Bengaluru\",gmap_link:\"https://maps.app.goo.gl/v3h9Q7Xwjfdr6H2B7\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830793/learning-centres/rvbhexpwgpibp20i6efp.jpg\"],videos:[],phone_number:\"8123754340\",lat:12.9143901,lng:77.6410564},{uuid:\"b5fcbd7f-79d3-4ecb-88b0-461aee69a589\",name:\"Indiranagar\",postal_code:\"560071\",postal_address:\"Near Sapna Book House, Behind Brik Oven\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/JoGzRHMxd3GHvppf9\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830532/learning-centres/ztjbqmi7wbasb7xpuodm.jpg\"],videos:[],phone_number:\"7411650865\",lat:12.9796152,lng:77.6469796},{uuid:\"c8485181-36b4-43db-a73f-d33ad6c9b5b4\",name:\"Jayanagar\",postal_code:\"560041\",postal_address:\"Above Third Wave Coffee, Next to Crossword Bookstore\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/fHECEfHQdH6GXrdb7\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830740/learning-centres/xixxq5kbi7qn3dbdagyo.jpg\"],videos:[],phone_number:\"7411650861\",lat:12.9212234,lng:77.5773665},{uuid:\"0e9b8045-5200-4e93-9f18-92e8b029d6d3\",name:\"JP Nagar\",postal_code:\"560078\",postal_address:\"Opposite Vega City Mall, Above Nagarjuna Restaurant\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/D5aSBMp7aaeU1ECq9\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830754/learning-centres/vxv9nigpvqfhaxrucnsl.jpg\"],videos:[],phone_number:\"7411650866\",lat:12.9048904,lng:77.6015693},{uuid:\"6ce8ae7f-acea-4a9e-9f39-83c71a448826\",name:\"Sadashivnagar\",postal_code:\"560003\",postal_address:\"Above Maha Bazaar, Next to Sapna Book House\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/uqCC1gYiuooUH38c7\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649832080/learning-centres/heaj3gzaemp9kshlntxj.jpg\"],videos:[],phone_number:null,lat:13.0049701,lng:77.5786997},{uuid:\"bf844707-3f2c-47bb-82b1-639ef9c7a700\",name:\"Sahakar Nagar\",postal_code:\"560092\",postal_address:\"Next to Sugar.fit - Diabetes Centres for Excellence\",city:\"Bengaluru\",gmap_link:\"https://maps.app.goo.gl/mqehXecEfWvo6U4D6\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830793/learning-centres/rvbhexpwgpibp20i6efp.jpg\"],videos:[],phone_number:\"6364937129\",lat:13.0672987,lng:77.5839811},{uuid:\"cd2da90a-340c-4402-99f6-1b8641b5dd56\",name:\"Salt Lake\",postal_code:\"700106\",postal_address:\"TATA Consulting Engineers Building, beside Bidhannagar South Police Station, JC Block, Sector III\",city:\"Kolkata\",gmap_link:\"https://goo.gl/maps/ErQY7ugrTqVmMX2i6\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830819/learning-centres/sttw4yqpo5gpcbelcsfu.jpg\"],videos:[],phone_number:\"8123570338\",lat:22.5698553,lng:88.4141446},{uuid:\"266a9ee0-06fd-4b22-918c-aeeb2f040f05\",name:\"Sarjapur\",postal_code:\"560035\",postal_address:\"Below Masala Mandi Restaurant, Near Wipro Office\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/MpMTdN6xwe3WtYSk8\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830793/learning-centres/rvbhexpwgpibp20i6efp.jpg\"],videos:[],phone_number:\"7411650864\",lat:12.9106477,lng:77.6855573},{uuid:\"e8428a50-d2cd-4234-9c4f-e27a3049709d\",name:\"Theatre Road\",postal_code:\"700071\",postal_address:\"AC Market, Theatre Road\",city:\"Kolkata\",gmap_link:\"https://g.page/openhouse-study?share\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830847/learning-centres/mja8mvqwn6ytseqxubwo.jpg\"],videos:[],phone_number:\"8582834545\",lat:22.545831,lng:88.3494238},{uuid:\"1d110488-7df5-4bee-a667-d0d657c24b68\",name:\"Whitefield\",postal_code:\"560066\",postal_address:\"Next to Svastha Hospital, Above Smoor Lounge\",city:\"Bengaluru\",gmap_link:\"https://goo.gl/maps/7wEhB3oE5wGLAaDD8\",images:[\"https://res.cloudinary.com/openhouse-study/image/upload/v1649830998/learning-centres/rwprvgws6lo1qrlhaeco.jpg\"],videos:[],phone_number:\"7411650863\",lat:12.965769,lng:77.7492121}];export default function CenterDropdown(){const[isLoadingCenters,setIsLoadingCenters]=useState(true);const[error,setError]=useState(\"\");const[allCenters,setAllCenters]=useState([]);const[selectedCentre,setSelectedCentre]=useState(null);const[isDropdownOpen,setIsDropdownOpen]=useState(false);const[,setStore]=useStore();const[centersWithBatches,setCentersWithBatches]=useState([]);useEffect(()=>{const initializeData=async()=>{await fetchCentersFromBackend();await fetchCentersWithBatches();};initializeData();},[]);// Set default centre after both centers and batches are loaded\nuseEffect(()=>{if(allCenters.length>0&&centersWithBatches.length>0&&!selectedCentre){const defaultCentre=allCenters.find(center=>centersWithBatches.includes(center.uuid));if(defaultCentre){setSelectedCentre(defaultCentre);setStore(prevStore=>({...prevStore,centre:{...prevStore.centre,booking:defaultCentre}}));}}},[allCenters,centersWithBatches,selectedCentre,setStore]);const fetchCentersWithBatches=async()=>{const formattedDate=new Date().toISOString().split(\"T\")[0];const future=new Date;future.setDate(future.getDate()+9);const futureFormatted=future.toISOString().split(\"T\")[0];try{const res=await fetch(`https://api.openhouse.study/api/v1/oh_classes/batch?status=active&type=explore&date_gte=${formattedDate}&date_lte=${futureFormatted}&exclude_subjects=Centre%20tour,preschool%20Trial,Explore%20program%20Trial,Parent-toddler%20Program,Toddler%20Club%20Trial`,{method:\"GET\",headers:{Authorization:`Bearer ${API_CONFIG.AUTH_TOKEN}`,\"Content-Type\":\"application/json\"}});if(res.ok){const data=await res.json();console.log(\"res\",data);if(data.results?.length>0){const responseCentres=[...new Set(data.results.map(item=>item.centre.uuid))];console.log(\"responseCentres\",responseCentres);setCentersWithBatches(responseCentres);}}}catch(error){console.error(\"Error fetching centers with batches:\",error);}};const fetchCentersFromBackend=async()=>{try{setIsLoadingCenters(true);setAllCenters(centers);}catch(error){console.error(\"Error fetching centers:\",error);setError(\"Failed to load centers from server\");}finally{setIsLoadingCenters(false);}};const handleDropdownSelect=center=>{setSelectedCentre(center);setStore(prevStore=>({...prevStore,centre:{...prevStore.centre,booking:center}}));setIsDropdownOpen(false);};return /*#__PURE__*/_jsx(\"div\",{style:styles.container,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.innerContainer,children:[error&&/*#__PURE__*/_jsx(\"div\",{style:styles.errorContainer,children:/*#__PURE__*/_jsx(\"p\",{style:styles.errorText,children:error})}),!isLoadingCenters&&/*#__PURE__*/_jsx(\"div\",{style:styles.dropdownSection,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.dropdownContainer,children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setIsDropdownOpen(!isDropdownOpen),style:styles.dropdownButton,children:[/*#__PURE__*/_jsx(\"span\",{style:styles.dropdownButtonText,children:selectedCentre?selectedCentre.name:\"Select a centre\"}),/*#__PURE__*/_jsx(\"div\",{style:styles.dropdownIcon,children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",fill:\"none\",stroke:\"currentColor\",viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:2,d:\"M19 9l-7 7-7-7\"})})})]}),isDropdownOpen&&/*#__PURE__*/_jsx(\"div\",{style:styles.dropdownMenu,children:allCenters.map(center=>{const hasBatches=centersWithBatches.includes(center.uuid);return /*#__PURE__*/_jsx(\"div\",{style:{...styles.dropdownItem,...selectedCentre?.uuid===center.uuid?styles.dropdownItemSelected:{},...!hasBatches?styles.dropdownItemDisabled:{}},onClick:()=>hasBatches&&handleDropdownSelect(center),children:/*#__PURE__*/_jsx(\"div\",{style:styles.dropdownItemContent,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.dropdownItemLeft,children:[/*#__PURE__*/_jsx(\"div\",{style:{...styles.availabilityDot,backgroundColor:hasBatches?\"#10b981\":\"#ef4444\"}}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{style:styles.dropdownItemName,children:center.name}),/*#__PURE__*/_jsxs(\"div\",{style:styles.dropdownItemAddress,children:[center.city,\" -\",\" \",center.postal_code]})]})]})})},center.uuid);})})]})})]})});}// Style objects\nconst styles={container:{width:\"100%\",maxWidth:\"1200px\",margin:\"0 auto\",backgroundColor:\"transparent\",borderRadius:\"16px\"},innerContainer:{backgroundColor:\"transparent\",backdropFilter:\"blur(10px)\",borderRadius:\"16px\"},header:{textAlign:\"center\",marginBottom:\"16px\"},title:{fontFamily:\"Avenir Next Rounded Std Demi\",fontSize:\"16px\",fontWeight:\"bold\",marginBottom:\"8px\"},errorContainer:{backgroundColor:\"#fef2f2\",borderLeft:\"4px solid #ef4444\",padding:\"16px\",borderRadius:\"8px\",margin:\"0 16px 24px 16px\"},errorText:{fontFamily:\"Avenir Next Rounded Std Medium\",color:\"#dc2626\"},dropdownSection:{marginTop:\"24px\",marginBottom:\"16px\",padding:\"0px 16px\"},dropdownLabel:{fontFamily:\"Avenir Next Rounded Std Bold\",fontSize:\"1.167em\",color:\"#374151\",marginBottom:\"0.667em\",display:\"block\"},dropdownContainer:{position:\"relative\"},dropdownIcon:{position:\"absolute\",right:\"16px\",top:\"50%\",transform:\"translateY(-50%)\",pointerEvents:\"none\",color:\"#9ca3af\"},dropdownButton:{fontFamily:\"Avenir Next Rounded Std Medium\",width:\"100%\",padding:\"16px 20px\",backgroundColor:\"white\",border:\"2px solid #e5e7eb\",borderRadius:\"12px\",cursor:\"pointer\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",fontSize:\"14px\",transition:\"all 0.3s ease\"},dropdownButtonText:{color:\"#1f2937\",fontWeight:\"500\"},dropdownMenu:{position:\"absolute\",top:\"100%\",left:\"0\",right:\"0\",backgroundColor:\"white\",border:\"2px solid #e5e7eb\",borderTop:\"none\",borderRadius:\"0 0 12px 12px\",maxHeight:\"200px\",overflowY:\"auto\",zIndex:10,boxShadow:\"0 10px 15px -3px rgba(0, 0, 0, 0.1)\"},dropdownItem:{padding:\"12px 16px\",cursor:\"pointer\",borderBottom:\"1px solid #f3f4f6\",transition:\"background-color 0.2s ease\"},dropdownItemSelected:{backgroundColor:\"#fef2f2\",borderLeft:\"4px solid #ef5c34\"},dropdownItemDisabled:{opacity:.6,cursor:\"not-allowed\",backgroundColor:\"#f9fafb\"},dropdownItemContent:{display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\"},dropdownItemLeft:{display:\"flex\",alignItems:\"center\",gap:\"12px\"},availabilityDot:{width:\"8px\",height:\"8px\",borderRadius:\"50%\",flexShrink:0},dropdownItemName:{fontFamily:\"Avenir Next Rounded Std Medium\",fontSize:\"14px\",fontWeight:\"600\",color:\"#1f2937\",marginBottom:\"2px\"},dropdownItemAddress:{fontFamily:\"Avenir Next Rounded Std Regular\",fontSize:\"12px\",color:\"#6b7280\"},availabilityText:{fontFamily:\"Avenir Next Rounded Std Regular\",fontSize:\"12px\",color:\"#6b7280\",fontWeight:\"500\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CenterDropdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"centers\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ECClubCentreDropdown.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{centers}from\"https://framerusercontent.com/modules/xnbk4JYvYGReYQW0vXk0/weCMZjKEP9as37YUaTIX/ECClubCentreDropdown.js\";const API_CONFIG={AUTH_TOKEN:\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXAiOiJhY2Nlc3MiLCJleHAiOjIwNjY3Mjk4NTUsImlhdCI6MTc1MTM2OTg1NSwianRpIjoiZjdjYjEzZTFhYzMzNDA4MDllN2M5MGM1NmRkN2ExYjUiLCJzdWIiOiJjMDg5YTEzZC1hYTMxLTQ5M2MtOTMyMC01ODExYzM0ZTcxM2MiLCJuYW1lIjoiTWFzdGVyIFBvaCIsInVzZXJuYW1lIjoiODg2MTExNTAwMCIsInByZWZlcnJlZF91c2VybmFtZSI6Ijg4NjExMTUwMDAiLCJnaXZlbl9uYW1lIjoiTWFzdGVyIiwiZmFtaWx5X25hbWUiOiJQb2giLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsib2ZmbGluZV9hY2Nlc3MiLCJ1bWFfYXV0aG9yaXphdGlvbiIsImRlZmF1bHQtcm9sZXMtb3BlbmhvdXNlIiwiYWRtaW4iLCJwYXJlbnQiLCJzdHVkZW50Il19fQ.TrrzQcTJRD_4b405iyLAIc13-3Uxsq88ChO0TvFpteUrgNsUNBkdnhxwGBtve9c-CxbCwHZ792-XJByz3KzB6_Yw07CDdAfmSYfDaOI0apFcpkY3x0d7twEoSAt8fWJ8ZEf3X2pKO12xw86Wf64xtAT9owXZ29VuqVqSB6hGxmPn0ePzrHOHKlbJh3lEkQ21E1nCqf2JqMeFFjOIbcdmlx8xL9GzWDSquK7IswoTFPWNj5g-FQ48DJy9FtZRjWq72TBF9pZnM7cXWWAkALzpFIOgIzOo_o1yIiMVSdlGey2tC4INF71UTUAD9OZuv-eQ5TotSghhjT2eb7xP6fiOfw\",GOOGLE_SHEET_URL:\"https://9nqtlb.buildship.run/sendToGoggleSheets\"};// Helper function to check if a batch matches the selected age\n// Checks if the selected age exists in batch.course.standards array\nconst batchMatchesAge=(batch,age)=>{if(!age||!batch)return false;const selectedAgeNum=parseInt(age,10);if(isNaN(selectedAgeNum))return false;// Check if batch has course.standards array\nconst standards=batch?.course?.standards;// Helper to check if a standard age matches (handles both years and months)\nconst ageMatches=standardAge=>{if(standardAge==null)return false;const standardAgeNum=parseInt(standardAge,10);if(isNaN(standardAgeNum))return false;// Direct match (age in years)\nif(standardAgeNum===selectedAgeNum)return true;// Check if standard age is in months (convert to years for comparison)\n// Age 3 = 36-47 months, Age 4 = 48-59 months, etc.\nconst ageInMonths=selectedAgeNum*12;const ageRangeStart=ageInMonths;const ageRangeEnd=ageInMonths+11;if(standardAgeNum>=ageRangeStart&&standardAgeNum<=ageRangeEnd){return true;}return false;};// If no standards array, check if there's a standard object with age\nif(!standards||!Array.isArray(standards)){// Fallback: check batch.course.standard (singular) or batch.standard\nconst standard=batch?.course?.standard||batch?.standard;if(standard){// Check age property\nif(ageMatches(standard.age))return true;// Check other possible age properties\nif(ageMatches(standard.age_in_months))return true;if(ageMatches(standard.age_in_years))return true;}return false;}// Check if any standard in the array has an age matching the selected age\nreturn standards.some(standard=>{// Check age property\nif(ageMatches(standard?.age))return true;// Check other possible age properties\nif(ageMatches(standard?.age_in_months))return true;if(ageMatches(standard?.age_in_years))return true;return false;});};export default function ECClubNewBookingForm(){const[loading,setLoading]=useState(false);const[error,setError]=useState(null);const[allBatches,setAllBatches]=useState([]);const[uniquePrograms,setUniquePrograms]=useState([]);const[availableTimings,setAvailableTimings]=useState([]);const[availableCentres,setAvailableCentres]=useState([]);const[submitting,setSubmitting]=useState(false);const[utmParams,setUtmParams]=useState({});// State for buildings\nconst[availableBuildings,setAvailableBuildings]=useState([]);const[selectedBuilding,setSelectedBuilding]=useState(\"\");const[manualBuildingName,setManualBuildingName]=useState(\"\");const[formData,setFormData]=useState({name:\"\",number:\"\",childName:\"\",childAge:\"\",centreUuid:\"\",programUuid:\"\",selectedBatchUuid:\"\"});const[validationErrors,setValidationErrors]=useState({});// Fetch batches and extract unique programs\nuseEffect(()=>{const urlParams=new URLSearchParams(window.location.search);const utms={utm_source:urlParams.get(\"utm_source\")||\"\",utm_medium:urlParams.get(\"utm_medium\")||\"\",utm_campaign:urlParams.get(\"utm_campaign\")||\"\",utm_term:urlParams.get(\"utm_term\")||\"\",utm_content:urlParams.get(\"utm_content\")||\"\"};setUtmParams(utms);const fetchBatches=async()=>{try{setLoading(true);setError(null);const today=new Date;const formattedDate=today.toISOString().split(\"T\")[0];const future=new Date;future.setDate(future.getDate()+10);const futureFormatted=future.toISOString().split(\"T\")[0];const batchesResponse=await fetch(`https://api.openhouse.study/api/v1/oh_classes/batch?status=active&type=explore&limit=100&date_gte=${formattedDate}&date_lte=${futureFormatted}&exclude_subjects=Centre%20tour,preschool%20Trial,Explore%20program%20Trial,Parent-toddler%20Program,Toddler%20Club%20Trial`,{method:\"GET\",headers:{Authorization:`Bearer ${API_CONFIG.AUTH_TOKEN}`,\"Content-Type\":\"application/json\"}});if(!batchesResponse.ok){throw new Error(\"Failed to fetch batches\");}const batchesData=await batchesResponse.json();console.log(\"batches\",batchesData.results);setAllBatches(batchesData.results);}catch(err){setError(err.message);}finally{setLoading(false);}};fetchBatches();},[]);// Filter available centres based on selected age\nuseEffect(()=>{if(!formData.childAge){// If no age selected, allow all centres (they'll be disabled in UI until age is selected)\nsetAvailableCentres([]);return;}const centreSet=new Set;allBatches.forEach(batch=>{const matchesAge=batchMatchesAge(batch,formData.childAge);if(matchesAge){const centreUuid=batch?.centre?.uuid;if(centreUuid){centreSet.add(centreUuid);}}});setAvailableCentres(Array.from(centreSet));// Clear centre selection if current selection is not available\nif(formData.centreUuid&&!centreSet.has(formData.centreUuid)){setFormData(prev=>({...prev,centreUuid:\"\",programUuid:\"\",selectedBatchUuid:\"\"}));}},[formData.childAge,allBatches]);// Filter available programs based on selected centre and age\nuseEffect(()=>{if(!formData.centreUuid||!formData.childAge){setUniquePrograms([]);return;}const programMap=new Map;allBatches.forEach(batch=>{const batchCentreUuid=batch?.centre?.uuid;const subjectUuid=batch?.course?.subjects?.[0]?.uuid;const subjectName=batch?.course?.subjects?.[0]?.name;if(batchCentreUuid===formData.centreUuid&&batchMatchesAge(batch,formData.childAge)&&subjectUuid&&subjectName){if(!programMap.has(subjectUuid)){programMap.set(subjectUuid,{uuid:subjectUuid,name:subjectName});}}});setUniquePrograms(Array.from(programMap.values()));// Clear program selection if current selection is not available\nif(formData.programUuid&&!programMap.has(formData.programUuid)){setFormData(prev=>({...prev,programUuid:\"\",selectedBatchUuid:\"\"}));}},[formData.centreUuid,formData.childAge,allBatches]);// Fetch buildings config when centre is selected\nuseEffect(()=>{if(!formData.centreUuid){setAvailableBuildings([]);setSelectedBuilding(\"\");setManualBuildingName(\"\");return;}const fetchBuildings=async()=>{try{const response=await fetch(`https://api.openhouse.study/api/v1/config/app?key=CENTRE_BUILDINGS_CONFIG`,{method:\"GET\",headers:{Authorization:`Bearer ${API_CONFIG.AUTH_TOKEN}`,\"Content-Type\":\"application/json\"}});if(response.ok){const data=await response.json();const selectedCentre=centers.find(c=>c.uuid===formData.centreUuid);const centreName=selectedCentre?.name||\"\";if(data.results&&data.results.length>0){const buildingsConfig=data.results[0]?.value;const buildings=buildingsConfig[centreName]||[];setAvailableBuildings(buildings);}else{setAvailableBuildings([]);}}else{setAvailableBuildings([]);}}catch(error){console.error(\"Error fetching buildings:\",error);setAvailableBuildings([]);}};fetchBuildings();},[formData.centreUuid]);// Reset building selection when centre changes\nuseEffect(()=>{setSelectedBuilding(\"\");setManualBuildingName(\"\");},[formData.centreUuid]);// Filter available timings based on selected centre, age, and program\nuseEffect(()=>{if(!formData.centreUuid||!formData.programUuid||!formData.childAge){setAvailableTimings([]);setFormData(prev=>({...prev,selectedBatchUuid:\"\"}));return;}const timings=[];allBatches.forEach(batch=>{const batchCentreUuid=batch?.centre?.uuid;const batchSubjectUuid=batch?.course?.subjects?.[0]?.uuid;if(batchCentreUuid===formData.centreUuid&&batchSubjectUuid===formData.programUuid&&batchMatchesAge(batch,formData.childAge)){// Process schedules from this batch\nconst schedules=batch.schedule_event?.schedules?.filter(schedule=>!schedule.cancelled)||[];schedules.forEach(schedule=>{timings.push({batchUuid:batch.uuid,date:schedule.date,startTime:schedule.start_time,endTime:schedule.end_time,scheduleUuid:schedule.uuid,availableSpots:batch?.vacancy||0});});}});// Sort timings by date and time\ntimings.sort((a,b)=>{const dateCompare=a.date.localeCompare(b.date);if(dateCompare!==0)return dateCompare;return a.startTime.localeCompare(b.startTime);});setAvailableTimings(timings);},[formData.centreUuid,formData.programUuid,formData.childAge,allBatches]);const validatePhoneNumber=number=>{const phoneRegex=/^[6-9]\\d{9}$/;return phoneRegex.test(number);};const validateFields=()=>{const newErrors={};if(!formData.name?.trim()){newErrors.name=\"Name is required\";}if(!formData.number?.trim()){newErrors.number=\"Contact number is required\";}else if(!validatePhoneNumber(formData.number)){newErrors.number=\"Please enter a valid 10-digit phone number\";}if(!formData.childName?.trim()){newErrors.childName=\"Child name is required\";}if(!formData.childAge?.trim()){newErrors.childAge=\"Please select child's age\";}if(!formData.centreUuid?.trim()){newErrors.centreUuid=\"Please select a centre\";}if(!formData.programUuid?.trim()){newErrors.programUuid=\"Please select a program\";}if(!formData.selectedBatchUuid?.trim()){newErrors.selectedBatchUuid=\"Please select a trial class timing\";}// Validate building (mandatory if buildings exist for centre)\nif(availableBuildings.length>0){if(!selectedBuilding?.trim()){newErrors.building=\"Please select a building\";}else if(selectedBuilding===\"manual\"&&!manualBuildingName?.trim()){newErrors.manualBuildingName=\"Please enter your building name\";}}setValidationErrors(newErrors);return Object.keys(newErrors).length===0;};const sendLeadSquaredWebhook=async(formData,utmParams)=>{const payload={Name:formData.name,Phone:formData.number,Age:formData.childAge,UTM_Source:utmParams.utm_source,UTM_Medium:utmParams.utm_medium,UTM_Term:utmParams.utm_term,UTM_Campaign:utmParams.utm_campaign,Location:formData.centreName,UTM_Content:utmParams.utm_content};const webhookUrl=\"https://ulc-api.leadsquaredapps.com/v1/UniversalLeadSync.svc/RealtimeWebhook/c7bb7875-4fd4-47d9-bad8-46b1c41b037c/47554\";const headers={Authorization:\"u$r5d9eaaeb0089239badc20e13b50e81d1\"};const options={method:\"POST\",\"Content-Type\":\"application/json\",body:JSON.stringify(payload),headers:headers};try{await fetch(webhookUrl,options);}catch(error){console.error(\"Error sending LeadSquared webhook:\",error);}};const handleSubmit=async e=>{e.preventDefault();if(!validateFields()){return;}setSubmitting(true);try{// Find the selected batch to get date of birth requirement\nconst selectedBatch=allBatches.find(b=>b.uuid===formData.selectedBatchUuid);// Make API call to create booking\nconst response=await fetch(\"https://api.openhouse.study/api/v1/oh_bff/ma/enrolment/trial/\",{method:\"POST\",headers:{Authorization:`Bearer ${API_CONFIG.AUTH_TOKEN}`,\"Content-Type\":\"application/json\",source:\"website\"},body:JSON.stringify({parent_name:formData.name,parent_phone_number:formData.number,student_name:formData.childName,student_age:parseInt(formData.childAge),batch_id:formData.selectedBatchUuid,...availableBuildings.length>0&&{building_name:selectedBuilding===\"manual\"?manualBuildingName:selectedBuilding}})});if(!response.ok){throw new Error(\"Failed to create booking\");}const result=await response.json();const selectedCentre=centers.find(c=>c.uuid===formData.centreUuid);await sendLeadSquaredWebhook({name:formData.name,number:formData.number,childAge:formData.childAge,centreName:selectedCentre?.name||\"\"},utmParams);// Open payment link or redirect to success page\nif(result.data?.payment_link){sessionStorage.setItem(\"bookingData\",JSON.stringify({name:formData.name,number:formData.number,childAge:formData.childAge,centre:selectedCentre?.name,program:uniquePrograms.find(p=>p.uuid===formData.programUuid)?.name}));window.location.href=result.data?.payment_link;}else{// Redirect to success page if no payment link\nsessionStorage.setItem(\"bookingData\",JSON.stringify({name:formData.name,number:formData.number,childAge:formData.childAge,centre:selectedCentre?.name,program:uniquePrograms.find(p=>p.uuid===formData.programUuid)?.name}));window.location.href=\"https://openhouse.study/success\";}}catch(error){console.error(\"Submission error:\",error);alert(\"Something went wrong. Please try again.\");}finally{setSubmitting(false);}};const handleInputChange=e=>{const{name,value}=e.target;setFormData(prev=>({...prev,[name]:value}));// Clear error for this field\nif(validationErrors[name]){setValidationErrors(prev=>({...prev,[name]:\"\"}));}// Clear centre, program, and timing when age changes\nif(name===\"childAge\"){setFormData(prev=>({...prev,centreUuid:\"\",programUuid:\"\",selectedBatchUuid:\"\"}));}// Clear program and timing when centre changes\nif(name===\"centreUuid\"){setFormData(prev=>({...prev,programUuid:\"\",selectedBatchUuid:\"\"}));}// Clear timing when program changes\nif(name===\"programUuid\"){setFormData(prev=>({...prev,selectedBatchUuid:\"\"}));}};const formatTime=time=>{const timeOnly=time.replace(/(\\d{2}):(\\d{2}):(\\d{2})/,\"$1:$2\");const[hours,minutes]=timeOnly.split(\":\");const hour24=parseInt(hours,10);const hour12=hour24===0?12:hour24>12?hour24-12:hour24;const period=hour24>=12?\"pm\":\"am\";if(minutes===\"00\"){return`${hour12}${period}`;}else{return`${hour12}:${minutes}${period}`;}};const formatDate=dateString=>{const date=new Date(dateString);const weekday=date.toLocaleDateString(\"en-US\",{weekday:\"long\"});const day=date.getDate();const month=date.toLocaleDateString(\"en-US\",{month:\"long\"});const getOrdinalSuffix=day=>{if(day>=11&&day<=13)return day+\"th\";switch(day%10){case 1:return day+\"st\";case 2:return day+\"nd\";case 3:return day+\"rd\";default:return day+\"th\";}};return`${weekday}, ${getOrdinalSuffix(day)} ${month}`;};const ageOptions=[\"3\",\"4\",\"5\",\"6\",\"7\",\"8\"];return /*#__PURE__*/_jsx(\"div\",{style:styles.container,children:/*#__PURE__*/_jsxs(\"div\",{style:styles.innerContainer,children:[loading&&/*#__PURE__*/_jsxs(\"div\",{style:styles.loadingContainer,children:[/*#__PURE__*/_jsx(\"div\",{style:styles.loadingSpinner}),/*#__PURE__*/_jsx(\"p\",{style:styles.loadingText,children:\"Loading available programs...\"})]}),error&&/*#__PURE__*/_jsx(\"div\",{style:styles.errorContainer,children:/*#__PURE__*/_jsxs(\"p\",{style:styles.errorText,children:[\"⚠️ \",error]})}),!loading&&!error&&/*#__PURE__*/_jsxs(\"form\",{onSubmit:handleSubmit,style:styles.form,children:[/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Name *\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"name\",value:formData.name,onChange:handleInputChange,required:true,style:styles.input,placeholder:\"Enter your name\"}),validationErrors.name&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.name})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Number *\"}),/*#__PURE__*/_jsx(\"input\",{type:\"tel\",name:\"number\",value:formData.number,onChange:handleInputChange,required:true,maxLength:10,style:styles.input,placeholder:\"Enter phone number\"}),validationErrors.number&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.number})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Child Name *\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",name:\"childName\",value:formData.childName,onChange:handleInputChange,required:true,style:styles.input,placeholder:\"Enter child name\"}),validationErrors.childName&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.childName})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Child's Age * (3-8 years)\"}),/*#__PURE__*/_jsxs(\"select\",{name:\"childAge\",value:formData.childAge,onChange:handleInputChange,required:true,style:styles.select,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Select age\"}),ageOptions.map(age=>/*#__PURE__*/_jsxs(\"option\",{value:age,children:[age,\" \",age===\"1\"?\"year\":\"years\"]},age))]}),validationErrors.childAge&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.childAge})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Select the nearest Openhouse location *\"}),/*#__PURE__*/_jsxs(\"select\",{name:\"centreUuid\",value:formData.centreUuid,onChange:handleInputChange,required:true,disabled:!formData.childAge,style:{...styles.select,...!formData.childAge?styles.inputDisabled:{}},children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:formData.childAge?\"Select a centre\":\"Please select age first\"}),centers.map(centre=>{const isAvailable=!formData.childAge||availableCentres.includes(centre.uuid);return /*#__PURE__*/_jsx(\"option\",{value:centre.uuid,disabled:!isAvailable,children:centre.name},centre.uuid);})]}),validationErrors.centreUuid&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.centreUuid})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Program *\"}),/*#__PURE__*/_jsxs(\"select\",{name:\"programUuid\",value:formData.programUuid,onChange:handleInputChange,required:true,disabled:!formData.centreUuid||!formData.childAge,style:{...styles.select,...!formData.centreUuid||!formData.childAge?styles.inputDisabled:{}},children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:!formData.childAge?\"Please select age first\":!formData.centreUuid?\"Please select a centre first\":\"Select a program\"}),uniquePrograms.map(program=>/*#__PURE__*/_jsx(\"option\",{value:program.uuid,children:program.name},program.uuid))]}),validationErrors.programUuid&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.programUuid})]}),/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Choose your trial class timing *\"}),!formData.childAge||!formData.centreUuid||!formData.programUuid?/*#__PURE__*/_jsx(\"div\",{style:styles.helpText,children:!formData.childAge?\"Please select age first\":!formData.centreUuid?\"Please select a centre first\":\"Please select a program first\"}):availableTimings.length===0?/*#__PURE__*/_jsx(\"div\",{style:styles.noTimingsText,children:\"No available timings for this age, centre, and program combination\"}):/*#__PURE__*/_jsxs(\"select\",{name:\"selectedBatchUuid\",value:formData.selectedBatchUuid,onChange:handleInputChange,required:true,style:styles.select,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Select a timing\"}),availableTimings.map(timing=>{const timingLabel=`${formatDate(timing.date)} • ${formatTime(timing.startTime)} - ${formatTime(timing.endTime)}`;return /*#__PURE__*/_jsx(\"option\",{value:timing.batchUuid,children:timingLabel},`${timing.batchUuid}-${timing.scheduleUuid}`);})]}),validationErrors.selectedBatchUuid&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.selectedBatchUuid})]}),availableBuildings.length>0&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Select Building *\"}),/*#__PURE__*/_jsxs(\"select\",{value:selectedBuilding,onChange:e=>{setSelectedBuilding(e.target.value);if(e.target.value!==\"manual\"){setManualBuildingName(\"\");}if(validationErrors.building){setValidationErrors(prev=>({...prev,building:\"\",manualBuildingName:\"\"}));}},required:true,style:styles.select,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:\"Select a building\"}),availableBuildings.map(building=>/*#__PURE__*/_jsx(\"option\",{value:building,children:building},building)),/*#__PURE__*/_jsx(\"option\",{value:\"manual\",children:\"My apartment is not listed\"})]}),validationErrors.building&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.building})]}),selectedBuilding===\"manual\"&&/*#__PURE__*/_jsxs(\"div\",{style:styles.inputGroup,children:[/*#__PURE__*/_jsx(\"label\",{style:styles.inputLabel,children:\"Building Name *\"}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:manualBuildingName,onChange:e=>{setManualBuildingName(e.target.value);if(validationErrors.manualBuildingName){setValidationErrors(prev=>({...prev,manualBuildingName:\"\"}));}},required:true,style:styles.input,placeholder:\"Enter your building name\"}),validationErrors.manualBuildingName&&/*#__PURE__*/_jsx(\"span\",{style:styles.errorMessage,children:validationErrors.manualBuildingName})]})]}),/*#__PURE__*/_jsx(\"button\",{type:\"submit\",disabled:submitting,style:{...styles.submitButton,...submitting?styles.submitButtonDisabled:{}},children:submitting?\"Processing...\":\"Submit\"})]})]})});}const styles={container:{width:\"100%\",margin:\"0 auto\",fontFamily:\"Avenir Next Rounded Std Regular, -apple-system, BlinkMacSystemFont, sans-serif\"},innerContainer:{backgroundColor:\"transparent\",borderRadius:\"1.333em\",padding:\"0em\"},form:{display:\"flex\",flexDirection:\"column\",gap:\"1.667em\"},inputGroup:{display:\"flex\",flexDirection:\"column\"},inputLabel:{fontFamily:\"Avenir Next Rounded Std Bold\",fontSize:\"1.167em\",color:\"#374151\",marginBottom:\"0.667em\"},input:{fontFamily:\"Avenir Next Rounded Std Demi\",padding:\"1em 1.333em\",fontSize:\"1.333em\",border:\"2px solid #e5e7eb\",borderRadius:\"0.667em\",backgroundColor:\"white\",outline:\"none\",transition:\"border-color 0.2s ease\",width:\"100%\",color:\"#374151\",WebkitAppearance:\"none\",MozAppearance:\"none\",appearance:\"none\",boxSizing:\"border-box\"},inputDisabled:{backgroundColor:\"#f3f4f6\",cursor:\"not-allowed\",opacity:.6},select:{fontFamily:\"Avenir Next Rounded Std Demi\",padding:\"1em 1.333em\",paddingRight:\"3em\",fontSize:\"1.333em\",border:\"2px solid #e5e7eb\",borderRadius:\"0.667em\",backgroundColor:\"white\",outline:\"none\",transition:\"border-color 0.2s ease\",width:\"100%\",color:\"#374151\",WebkitAppearance:\"none\",MozAppearance:\"none\",appearance:\"none\",boxSizing:\"border-box\",backgroundImage:\"url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E\\\")\",backgroundRepeat:\"no-repeat\",backgroundPosition:\"right 1.333em center\",backgroundSize:\"0.75em\"},errorMessage:{fontFamily:\"Avenir Next Rounded Std Demi\",fontSize:\"1em\",color:\"#dc2626\",marginTop:\"0.5em\",display:\"block\"},submitButton:{width:\"100%\",padding:\"1.333em 2.667em\",fontSize:\"1.333em\",color:\"white\",backgroundColor:\"#ef5c34\",border:\"none\",borderRadius:\"1em\",cursor:\"pointer\",transition:\"all 0.2s ease\",fontFamily:\"Avenir Next Rounded Std Demi\",marginTop:\"0.5em\"},submitButtonDisabled:{opacity:.6,cursor:\"not-allowed\"},loadingContainer:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",padding:\"2.667em\"},loadingSpinner:{width:\"2.667em\",height:\"2.667em\",border:\"3px solid #f3f4f6\",borderTop:\"3px solid #ef5c34\",borderRadius:\"50%\",animation:\"spin 1s linear infinite\",marginBottom:\"1.333em\"},loadingText:{fontFamily:\"Avenir Next Rounded Std Demi\",color:\"#6b7280\",fontSize:\"1.167em\"},errorContainer:{backgroundColor:\"#fef2f2\",border:\"1px solid #fca5a5\",borderRadius:\"0.667em\",padding:\"1.333em\",marginBottom:\"2em\"},errorText:{fontFamily:\"Avenir Next Rounded Std Demi\",color:\"#dc2626\",margin:\"0\",fontSize:\"1.167em\"},helpText:{fontFamily:\"Avenir Next Rounded Std Regular\",fontSize:\"1em\",color:\"#6b7280\",padding:\"1em\",backgroundColor:\"#f9fafb\",borderRadius:\"0.667em\",textAlign:\"center\"},noTimingsText:{fontFamily:\"Avenir Next Rounded Std Regular\",fontSize:\"1em\",color:\"#dc2626\",padding:\"1em\",backgroundColor:\"#fef2f2\",borderRadius:\"0.667em\",textAlign:\"center\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ECClubNewBookingForm\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ECClubNewBookingForm.map"],"mappings":"gOAAyD,IAAsC,IAAqE,CAAsB,EAAY,CAAC,OAAO,EAAE,CAAC,CAAC,CAA65B,EAAQ,CAAC,CAAC,KAAK,uCAAuC,KAAK,UAAU,YAAY,SAAS,eAAe,oBAAoB,KAAK,YAAY,UAAU,qDAAqD,OAAO,CAAC,gHAAgH,CAAC,OAAO,EAAE,CAAC,aAAa,aAAa,IAAI,mBAAmB,IAAI,WAAW,CAAC,CAAC,KAAK,uCAAuC,KAAK,cAAc,YAAY,SAAS,eAAe,mCAAmC,KAAK,YAAY,UAAU,oDAAoD,OAAO,CAAC,gHAAgH,CAAC,OAAO,EAAE,CAAC,aAAa,aAAa,IAAI,WAAW,IAAI,WAAW,CAAC,CAAC,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