{"version":3,"file":"MapFirstEmbed.Drafi7OL.mjs","names":["useState","useRef","useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/LuuL92Dpbx44zDVVF6et/OQDVYLJBhINrqzNgnz2E/MapFirstEmbed.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useMemo,useRef,useEffect}from\"react\";const getIsMobile=()=>window.innerWidth<=768;export function useIsMobile(){const[isMobile,setIsMobile]=useState(getIsMobile());useEffect(()=>{const onResize=()=>{setIsMobile(getIsMobile());};window.addEventListener(\"resize\",onResize);return()=>{window.removeEventListener(\"resize\",onResize);};},[]);return isMobile;}export function InfoTooltip({title=\"Tooltip text\"}){const[show,setShow]=useState(false);const[position,setPosition]=useState(\"bottom\");const iconRef=useRef(null);const tooltipRef=useRef(null);const hideTimeoutRef=useRef(null);const handleMouseEnter=()=>{if(hideTimeoutRef.current){clearTimeout(hideTimeoutRef.current);hideTimeoutRef.current=null;}setShow(true);};const handleMouseLeave=()=>{hideTimeoutRef.current=setTimeout(()=>{setShow(false);},100);};useEffect(()=>{return()=>{if(hideTimeoutRef.current){clearTimeout(hideTimeoutRef.current);}};},[]);useEffect(()=>{if(!show||!iconRef.current)return;const iconRect=iconRef.current.getBoundingClientRect();const tooltipWidth=250;const tooltipHeight=100// approximate max height\n;const padding=15;const spaceAbove=iconRect.top;const spaceBelow=window.innerHeight-iconRect.bottom;const spaceLeft=iconRect.left;const spaceRight=window.innerWidth-iconRect.right;// Check if tooltip would fit horizontally centered\nconst canCenterHorizontally=iconRect.left+iconRect.width/2-tooltipWidth/2>=padding&&iconRect.left+iconRect.width/2+tooltipWidth/2<=window.innerWidth-padding;// Determine best position based on available space\nif(spaceBelow>=tooltipHeight+padding&&canCenterHorizontally){setPosition(\"bottom\");}else if(spaceAbove>=tooltipHeight+padding&&canCenterHorizontally){setPosition(\"top\");}else if(spaceRight>=tooltipWidth+padding){setPosition(\"right\");}else if(spaceLeft>=tooltipWidth+padding){setPosition(\"left\");}else if(spaceBelow>=spaceAbove){setPosition(\"bottom\");}else{setPosition(\"top\");}},[show]);const getTooltipStyle=()=>{const baseStyle={position:\"fixed\",width:\"250px\",maxWidth:\"calc(100vw - 30px)\",padding:\"6px 10px\",background:\"#FF9\",color:\"#424242\",fontSize:12,borderRadius:6,zIndex:9999,border:\"1px solid #F0F08B\",boxSizing:\"border-box\"};if(!iconRef.current)return baseStyle;const iconRect=iconRef.current.getBoundingClientRect();const tooltipWidth=250;switch(position){case\"top\":return{...baseStyle,bottom:`${window.innerHeight-iconRect.top+5}px`,left:`${Math.max(15,Math.min(iconRect.left+iconRect.width/2-tooltipWidth/2,window.innerWidth-tooltipWidth-15))}px`};case\"bottom\":return{...baseStyle,top:`${iconRect.bottom+5}px`,left:`${Math.max(15,Math.min(iconRect.left+iconRect.width/2-tooltipWidth/2,window.innerWidth-tooltipWidth-15))}px`};case\"left\":return{...baseStyle,right:`${window.innerWidth-iconRect.left+5}px`,top:`${iconRect.top+iconRect.height/2}px`,transform:\"translateY(-50%)\"};case\"right\":return{...baseStyle,left:`${iconRect.right+5}px`,top:`${iconRect.top+iconRect.height/2}px`,transform:\"translateY(-50%)\"};default:return baseStyle;}};return /*#__PURE__*/_jsxs(\"div\",{ref:iconRef,style:{position:\"relative\",display:\"inline-block\",alignSelf:\"end\"},onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:15,height:15,borderRadius:\"50%\",color:\"#43278F\",border:\"1px solid #43278F\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontWeight:700,fontSize:12,userSelect:\"none\",cursor:\"pointer\"},children:\"i\"}),show&&/*#__PURE__*/_jsx(\"div\",{ref:tooltipRef,style:getTooltipStyle(),onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,children:title})]});}function getCookie(cname){let name=cname+\"=\";let decodedCookie=decodeURIComponent(document.cookie);let ca=decodedCookie.split(\";\");for(let i=0;i<ca.length;i++){let c=ca[i];while(c.charAt(0)===\" \"){c=c.substring(1);}if(c.indexOf(name)===0){return c.substring(name.length,c.length);}}return\"\";}export function MapFirstEmbed(){const isMobile=useIsMobile();const[primary,setPrimary]=useState(\"Hotels\");const[lang,setLang]=useState(undefined);const[currency,setCurrency]=useState(undefined);const[query,setQuery]=useState(undefined);const[input,setInput]=useState(undefined);const[apiKey,setAPIKey]=useState(undefined);const[subtag,setSubtag]=useState(undefined);const[width,setWidth]=useState(720);const[height,setHeight]=useState(540);const[bounds,setBounds]=useState(null);const[boundsApplied,setBoundsApplied]=useState(false);const[color,setColor]=useState(\"#00EA5B\");const colorRef=useRef(null);const[locationInput,setLocationInput]=useState(\"Paris, Ile-de-France, France\");const[locationData,setLocationData]=useState({city:\"Paris\",state:\"Ile-de-France\",country:\"France\",fullAddress:\"Paris, Ile-de-France, France\",lat:48.857037,lng:48.857037,type:\"city\"});const[suggestions,setSuggestions]=useState([]);const[showSuggestions,setShowSuggestions]=useState(false);const[highlightedIndex,setHighlightedIndex]=useState(-1);const locationInputRef=useRef(null);const controllerRef=useRef(null);const workingBase=\"https://test.mapfirst.ai/\";const baseUrl=\"https://view.mapfirst.ai/\";useEffect(()=>{getCookie(\"apiKey\")&&setAPIKey(getCookie(\"apiKey\"));},[]);const src=useMemo(()=>{const params=new URLSearchParams({...input&&{query:input},...currency&&currency!==\"Auto\"&&{currency},...color&&color!==\"#00EA5B\"&&{color},...apiKey&&{key:apiKey},...subtag&&{subtag},...bounds&&boundsApplied&&bounds.sw.lat&&bounds.ne.lat&&bounds.sw.lng&&bounds.ne.lng&&{sw_lat:bounds.sw.lat.toString(),sw_lng:bounds.sw.lng.toString(),ne_lat:bounds.ne.lat.toString(),ne_lng:bounds.ne.lng.toString()},...locationData.lng&&locationData.lat&&locationData.type===undefined&&{longitude:locationData.lng.toString(),latitude:locationData.lat.toString()}});return`${lang&&lang!==\"Auto\"?`${lang}/`:\"\"}${locationData&&locationData.type&&locationData.country?\"place/\"+[locationData.country,locationData.state,locationData.city].filter(Boolean).join(\"/\")+\"/\":\"\"}${primary?primary:\"\"}${params.size?\"?\"+params.toString():\"\"}`;},[lang,currency,input,apiKey,subtag,color,bounds,primary,boundsApplied,locationData]);const workingURL=useMemo(()=>`${workingBase}${src}`,[workingBase,src]);const iframeCode=useMemo(()=>`<iframe src=\"${baseUrl}${src}\" width=\"${width}\" height=\"${height}\" style=\"border:0;outline:0;\"></iframe>`,[width,height,baseUrl,src]);useEffect(()=>{function handleMessage(event){// OPTIONAL: Restrict allowed origin for security\nif(![\"https://view.mapfirst.ai\",\"https://test.mapfirst.ai\"].includes(event.origin))return;if(event.data.bounds){setBounds(event.data.bounds);}}window.addEventListener(\"message\",handleMessage);// Cleanup\nreturn()=>{window.removeEventListener(\"message\",handleMessage);};},[]);// Location search effect\nuseEffect(()=>{const token=\"pk.eyJ1IjoiZGV2aWthayIsImEiOiJjbThoNHJzamgwNW1lMmtxejcwcjUxcnlnIn0.7U4UEzltC6b7DqYxrGhSGg\";if(!token)return;const q=locationInput.trim();if(q.length===0){setSuggestions([]);setShowSuggestions(false);return;}const handle=setTimeout(async()=>{try{controllerRef.current?.abort();const c=new AbortController;controllerRef.current=c;const url=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(q)}.json?access_token=${token}&language=en&limit=5`;const res=await fetch(url,{signal:c.signal});if(!res.ok)throw new Error(`Search failed: ${res.status}`);const data=await res.json();const mapped=(data.features||[]).map(f=>{const context=f.context??[];const findContext=prefixes=>context.find(entry=>prefixes.some(prefix=>entry.id.startsWith(prefix)));const placeCandidate=f.place_type?.some(type=>[\"place\",\"locality\",\"district\"].includes(type))?f.text:undefined;const cityContext=findContext([\"place.\",\"locality.\",\"district.\"]);const regionContext=findContext([\"region.\"]);const countryContext=findContext([\"country.\"]);const cityName=placeCandidate??cityContext?.text;const stateName=regionContext?.text;const countryName=countryContext?.text;return{id:f.id,name:f.text,fullAddress:f.place_name,center:f.center,city:cityName??undefined,state:stateName??undefined,country:countryName??undefined};});setSuggestions(mapped);setHighlightedIndex(mapped.length>0?0:-1);const isFocused=document.activeElement===locationInputRef.current;setShowSuggestions(isFocused&&mapped.length>0);}catch(e){if(e.name===\"AbortError\")return;setSuggestions([]);setShowSuggestions(false);}},250);return()=>clearTimeout(handle);},[locationInput,lang]);return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",display:\"flex\",flexDirection:isMobile?\"column\":\"row\",gap:\"2rem\",alignItems:\"flex-start\",color:\"#222\",width:\"100%\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16,padding:24,background:\"#F6F6F6\",borderRadius:16,border:\"1px solid #DEDEDE\",flexShrink:1},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontSize:18,fontWeight:600},children:\"Personalize Your Map\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"apiKey\",style:{fontSize:13,fontWeight:500},children:\"Your Mapfirst API key\"}),/*#__PURE__*/_jsx(InfoTooltip,{title:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"strong\",{children:\"Mapfirst API Key:\"}),\" This is required to access the Mapfirst services and that you should have received as part of your Partner Program application. If you have not created an account with us, please\",\" \",/*#__PURE__*/_jsx(\"a\",{href:\"https://partner.mapfirst.ai\",target:\"_blank\",rel:\"noopener noreferrer\",children:\"click here\"}),\".\"]})})]}),/*#__PURE__*/_jsx(\"input\",{id:\"apiKey\",type:\"text\",value:apiKey,onChange:e=>setAPIKey(e.target.value),placeholder:\"mf_12345xxxx...\",style:{...inputStyle,width:\"-webkit-fill-available\"}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,marginTop:8},children:/*#__PURE__*/_jsx(\"a\",{href:\"https://partner.mapfirst.ai\",target:\"_blank\",rel:\"noopener noreferrer\",style:{fontSize:13,color:\"#43278F\",textDecoration:\"none\",fontWeight:500},children:\"Don't have an API key? Sign up here\"})})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,flex:1},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Language\"}),/*#__PURE__*/_jsxs(\"select\",{value:lang,onChange:e=>setLang(e.target.value),style:selectStyle,children:[/*#__PURE__*/_jsx(\"option\",{children:\"Auto\"}),/*#__PURE__*/_jsx(\"option\",{value:\"en\",children:\"English\"}),/*#__PURE__*/_jsx(\"option\",{value:\"de\",children:\"German\"}),/*#__PURE__*/_jsx(\"option\",{value:\"fr\",children:\"French\"}),/*#__PURE__*/_jsx(\"option\",{value:\"es\",children:\"Spanish\"}),/*#__PURE__*/_jsx(\"option\",{value:\"it\",children:\"Italian\"}),/*#__PURE__*/_jsx(\"option\",{value:\"pt\",children:\"Portuguese\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,flex:1},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Currency\"}),/*#__PURE__*/_jsxs(\"select\",{value:currency,onChange:e=>setCurrency(e.target.value),style:selectStyle,children:[/*#__PURE__*/_jsx(\"option\",{children:\"Auto\"}),/*#__PURE__*/_jsx(\"option\",{value:\"USD\",children:\"USD\"}),/*#__PURE__*/_jsx(\"option\",{value:\"EUR\",children:\"EUR\"}),/*#__PURE__*/_jsx(\"option\",{value:\"GBP\",children:\"GBP\"})]})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,flex:1},children:[bounds!==null?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>setBoundsApplied(false),style:{flex:1,padding:\"8px 12px\",borderRadius:6,border:\"1px solid #ccc\",background:!boundsApplied?\"#43278F\":\"#fff\",color:!boundsApplied?\"#fff\":\"#222\",fontSize:13,fontWeight:500,cursor:\"pointer\",transition:\"all 0.2s\"},children:\"Location\"}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setBoundsApplied(true),style:{flex:1,padding:\"8px 12px\",borderRadius:6,border:\"1px solid #ccc\",background:boundsApplied?\"#43278F\":\"#fff\",color:boundsApplied?\"#fff\":\"#222\",fontSize:13,fontWeight:500,cursor:\"pointer\",transition:\"all 0.2s\"},children:\"Selected Area\"})]}):/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Location\"}),!boundsApplied&&/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(\"input\",{ref:locationInputRef,type:\"text\",value:locationInput,onChange:e=>setLocationInput(e.target.value),onFocus:()=>{if(suggestions.length)setShowSuggestions(true);},onBlur:()=>{setTimeout(()=>setShowSuggestions(false),200);},onKeyDown:e=>{if(e.key===\"ArrowDown\"){e.preventDefault();setHighlightedIndex(idx=>suggestions.length?(idx+1)%suggestions.length:-1);}else if(e.key===\"ArrowUp\"){e.preventDefault();setHighlightedIndex(idx=>suggestions.length?(idx-1+suggestions.length)%suggestions.length:-1);}else if(e.key===\"Enter\"){if(showSuggestions&&highlightedIndex>=0&&highlightedIndex<suggestions.length){e.preventDefault();const s=suggestions[highlightedIndex];const isCity=s.id.startsWith(\"place.\");const isState=s.id.startsWith(\"region.\");const isCountry=s.id.startsWith(\"country.\");const city=s.city?.trim();const country=s.country?.trim();const state=isState?s.name:s.state?.trim();setLocationInput(s.fullAddress);setLocationData({city,state,country,type:isCountry?\"country\":isCity?\"city\":isState?\"state\":undefined,fullAddress:s.fullAddress,...s.center&&s.center.length===2?{lng:s.center[0],lat:s.center[1]}:{lng:undefined,lat:undefined}});setShowSuggestions(false);}}else if(e.key===\"Escape\"){setShowSuggestions(false);}},style:{...inputStyle,width:\"-webkit-fill-available\"},placeholder:\"Search for a location...\"}),showSuggestions&&suggestions.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",zIndex:30,marginTop:4,width:\"100%\",background:\"white\",borderRadius:8,boxShadow:\"0 4px 6px rgba(0,0,0,0.1)\",maxHeight:240,overflowY:\"auto\"},children:suggestions.map((s,i)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onMouseDown:e=>{e.preventDefault();const isCity=s.id.startsWith(\"place.\");const isState=s.id.startsWith(\"region.\");const isCountry=s.id.startsWith(\"country.\");const city=s.city?.trim();const country=s.country?.trim();const state=isState?s.name:s.state?.trim();setLocationInput(s.fullAddress);setLocationData({city,state,country,type:isCountry?\"country\":isCity?\"city\":isState?\"state\":undefined,fullAddress:s.fullAddress,...s.center&&s.center.length===2?{lng:s.center[0],lat:s.center[1]}:{lng:undefined,lat:undefined}});setShowSuggestions(false);},onMouseEnter:()=>setHighlightedIndex(i),style:{width:\"100%\",textAlign:\"left\",padding:\"8px 12px\",fontSize:13,cursor:\"pointer\",background:i===highlightedIndex?\"#f3f4f6\":\"white\",border:\"none\",borderBottom:i<suggestions.length-1?\"1px solid #e5e7eb\":\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:500},children:s.name}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11,color:\"#6b7280\"},children:s.fullAddress})]},s.id))})]})})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8,flex:1},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Primary Type\"}),/*#__PURE__*/_jsxs(\"select\",{value:primary,onChange:e=>setPrimary(e.target.value),style:selectStyle,children:[/*#__PURE__*/_jsx(\"option\",{value:\"Hotels\",children:\"Hotels\"}),/*#__PURE__*/_jsx(\"option\",{value:\"Attractions\",children:\"Attractions\"}),/*#__PURE__*/_jsx(\"option\",{value:\"Restaurants\",children:\"Restaurants\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Pick your color\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{width:30,height:30,borderRadius:10,background:color,flexShrink:0},onClick:()=>colorRef.current&&colorRef.current.click()}),/*#__PURE__*/_jsx(\"input\",{ref:colorRef,type:\"color\",value:color,onChange:e=>setColor(e.target.value),style:{width:0,height:0,border:0,padding:0,margin:0}}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:color,onChange:e=>setColor(e.target.value),style:inputStyle})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\"},children:[/*#__PURE__*/_jsxs(\"label\",{style:{fontSize:13,fontWeight:500},children:[\"Smart Filter Deeplink:\",/*#__PURE__*/_jsx(\"br\",{}),/*#__PURE__*/_jsx(InfoTooltip,{title:/*#__PURE__*/_jsxs(_Fragment,{children:[\"In order to improve conversion, you can customize the landing page of your widget, by simply using your own words. Just like you would as a user, try to build a prompt\",\" \",/*#__PURE__*/_jsx(\"em\",{children:\"(e.g. Hotels in New York under $150 for next weekend)\"}),\".\"]})})]}),/*#__PURE__*/_jsx(\"input\",{type:\"text\",value:query,onChange:e=>setQuery(e.target.value),onKeyDown:e=>{if(e.key===\"Enter\"){setInput(query);}},onBlur:()=>setInput(query),placeholder:\"e.g., Hotels with spa in Dublin\",style:inputStyle})]}),/*#__PURE__*/_jsx(\"button\",{style:{background:\"#43278F\",color:\"white\",borderRadius:\"10px\",padding:\"5px 10px\"},type:\"button\",onClick:()=>{setInput(query);},children:\"Update\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"widthSlider\",style:{fontSize:13,fontWeight:500},children:\"Width:\"}),/*#__PURE__*/_jsx(\"input\",{value:width,style:{width:\"50px\"},onChange:e=>setWidth(parseInt(e.target.value||\"0\"))})]}),/*#__PURE__*/_jsx(\"input\",{id:\"widthSlider\",type:\"range\",min:\"300\",max:\"1000\",value:width,onChange:e=>setWidth(Number(e.target.value||\"0\")),style:sliderStyle})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"heightSlider\",style:{fontSize:13,fontWeight:500},children:\"Height:\"}),/*#__PURE__*/_jsx(\"input\",{value:height,style:{width:\"50px\"},onChange:e=>setHeight(parseInt(e.target.value||\"0\"))})]}),/*#__PURE__*/_jsx(\"input\",{id:\"heightSlider\",type:\"range\",min:\"250\",max:\"800\",value:height,onChange:e=>setHeight(Number(e.target.value||\"0\")),style:sliderStyle})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"logo\",style:{fontSize:13,fontWeight:500},children:\"Logo\"}),/*#__PURE__*/_jsx(\"a\",{href:\"mailto:help@mapfirst.ai\",style:{fontSize:13,color:\"#43278F\",textDecoration:\"none\"},children:\"Contact us at help@mapfirst.ai to customize the logo\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:\"apiKey\",style:{fontSize:13,fontWeight:500},children:\"Subtag\"}),/*#__PURE__*/_jsx(InfoTooltip,{title:\"To track the placements in the dashboard.\"})]}),/*#__PURE__*/_jsx(\"input\",{id:\"subtag\",type:\"text\",value:subtag,onChange:e=>setSubtag(e.target.value),placeholder:\"Enter subtag...\",style:{...inputStyle,width:\"-webkit-fill-available\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:13,fontWeight:500},children:\"Embed Code\"}),!apiKey&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"8px 12px\",background:\"#FFF3CD\",border:\"1px solid #FFE69C\",borderRadius:6,fontSize:12,color:\"#856404\",display:\"flex\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:16},children:\"⚠️\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Your API key is missing. Remember to add it for CPC attribution.\"})]}),/*#__PURE__*/_jsx(\"textarea\",{readOnly:true,value:iframeCode,style:{...inputStyle,height:80,fontSize:12}})]}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>{navigator.clipboard.writeText(iframeCode);alert(\"Copied iframe code!\");},style:{background:\"#43278F\",color:\"#fff\",fontWeight:600,fontSize:14,border:\"none\",padding:\"10px 12px\",borderRadius:8,cursor:\"pointer\",transition:\"background 0.2s\"},onMouseEnter:e=>e.currentTarget.style.background=\"#3647E0\",onMouseLeave:e=>e.currentTarget.style.background=\"#4A5FFF\",children:\"Copy Code\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",flexGrow:1,overflowX:\"auto\",overflowY:\"hidden\",width:\"100%\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:isMobile?\"100%\":width,height},children:/*#__PURE__*/_jsx(\"iframe\",{title:\"Mapfirst\",src:workingURL,width:\"100%\",height:\"100%\",style:{border:0,outline:0}},workingURL)})})]});}// 🎨 Small reusable styles\nconst inputStyle={width:\"100%\",padding:\"8px 10px\",border:\"1px solid #ccc\",borderRadius:6,fontSize:13};const selectStyle={width:\"100%\",padding:\"8px 10px\",borderRadius:6,border:\"1px solid #ccc\",fontSize:13,background:\"#fff\"};const sliderStyle={width:\"100%\",cursor:\"pointer\"};\nexport const __FramerMetadata__ = {\"exports\":{\"MapFirstEmbed\":{\"type\":\"reactComponent\",\"name\":\"MapFirstEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"InfoTooltip\":{\"type\":\"reactComponent\",\"name\":\"InfoTooltip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useIsMobile\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MapFirstEmbed.map"],"mappings":"0KAAiL,SAAgB,GAAa,CAAC,GAAK,CAAC,EAAS,GAAaA,EAAS,GAAa,CAAC,CAA6K,OAA5K,MAAc,CAAC,IAAM,MAAa,CAAC,EAAY,GAAa,CAAC,EAA8C,OAA3C,EAAO,iBAAiB,SAAS,EAAS,KAAW,CAAC,EAAO,oBAAoB,SAAS,EAAS,GAAK,EAAE,CAAC,CAAQ,EAAU,SAAgB,EAAY,CAAC,QAAM,gBAAgB,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,GAAM,CAAM,CAAC,EAAS,GAAaA,EAAS,SAAS,CAAO,EAAQC,EAAO,KAAK,CAAO,EAAWA,EAAO,KAAK,CAAO,EAAeA,EAAO,KAAK,CAAO,MAAqB,CAAC,AAAgE,EAAe,WAApD,aAAa,EAAe,QAAQ,CAAwB,MAAM,EAAQ,GAAK,EAAS,MAAqB,CAAC,EAAe,QAAQ,eAAe,CAAC,EAAQ,GAAM,EAAG,IAAI,EAGsiB,OAHniB,UAAyB,CAAI,EAAe,SAAS,aAAa,EAAe,QAAQ,EAAM,EAAE,CAAC,CAAC,MAAc,CAAC,GAAG,CAAC,GAAM,CAAC,EAAQ,QAAQ,OAAO,IAAM,EAAS,EAA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