{"version":3,"file":"CurrencyMenu.BDsnjRsk.mjs","names":["p","React.useRef","React.useMemo","React.useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/CiZzJqxmpONKoYXJyM2K/sl8Ez8LQMl2ndUGrXpWO/CurrencyMenu.js"],"sourcesContent":["// CurrencyMenu.tsx\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const SYMBOLS={GBP:\"\\xa3\",USD:\"$\",EUR:\"€\",OMR:\"ر.ع\",AED:\"د.إ\",SAR:\"ر.س\",QAR:\"ر.ق\"};/* ---------- Locale helpers ---------- */function getURLLocale(){try{const href=window.location.href.toLowerCase();if(href.includes(\"lang=ar\")||href.includes(\"/ar/\")||href.endsWith(\"/ar\"))return\"ar\";if(href.includes(\"lang=en\")||href.includes(\"/en/\")||href.endsWith(\"/en\"))return\"en\";}catch{}return null;}function readHtmlDirLang(){if(typeof document===\"undefined\")return{dir:\"\",lang:\"\"};const el=document.documentElement;let dir=(el.getAttribute(\"dir\")||\"\").toLowerCase();let lang=(el.getAttribute(\"lang\")||\"\").toLowerCase();// Try parent (Framer preview often iframes)\ntry{if((!dir||!lang)&&window.parent&&window.parent!==window){const p=window.parent.document?.documentElement;dir=dir||(p?.getAttribute(\"dir\")||\"\").toLowerCase();lang=lang||(p?.getAttribute(\"lang\")||\"\").toLowerCase();}}catch{}return{dir,lang};}function resolveLocaleAndDir(prefLocale,prefDir){if(prefLocale===\"en\")return{locale:\"en\",isRTL:prefDir===\"rtl\"?true:false};if(prefLocale===\"ar\")return{locale:\"ar\",isRTL:prefDir===\"ltr\"?false:true};const urlLoc=getURLLocale();if(urlLoc)return{locale:urlLoc,isRTL:urlLoc===\"ar\"};const{dir,lang}=readHtmlDirLang();const htmlIsRTL=dir===\"rtl\"||/^ar\\b/.test(lang);const navLang=(typeof navigator!==\"undefined\"&&(navigator.language||navigator.userLanguage)||\"\").toLowerCase();const browserIsAR=/^ar\\b/.test(navLang);const finalRTL=prefDir===\"ltr\"?false:prefDir===\"rtl\"?true:htmlIsRTL||browserIsAR;const finalLocale=finalRTL?\"ar\":\"en\";return{locale:finalLocale,isRTL:finalRTL};}/* ---------- Component ---------- */export default function CurrencyMenu(p){// NEW: refs to tell user vs programmatic & first load\nconst changeByUserRef=React.useRef(false);const initialLoadRef=React.useRef(true);// Currency list\nconst list=React.useMemo(()=>{const arr=(p.currenciesCsv||\"\").split(\",\").map(s=>s.trim().toUpperCase()).filter(Boolean);// sensible default order if empty\nreturn arr.length?arr:[\"GBP\",\"USD\",\"EUR\",\"AED\",\"OMR\",\"SAR\",\"QAR\"];},[p.currenciesCsv]);// Locale + direction (watched)\nconst[ld,setLD]=React.useState(()=>resolveLocaleAndDir(p.locale,p.direction));React.useEffect(()=>{const update=()=>setLD(resolveLocaleAndDir(p.locale,p.direction));const target=typeof document!==\"undefined\"?document.documentElement:null;// Watch <html dir|lang> if auto-selected\nlet mo=null;if(target&&(p.locale===\"auto\"||p.direction===\"auto\")){mo=new MutationObserver(update);mo.observe(target,{attributes:true,attributeFilter:[\"dir\",\"lang\"]});}// Watch URL changes\nwindow.addEventListener(\"popstate\",update);window.addEventListener(\"hashchange\",update);const id=window.setInterval(update,1500);update();return()=>{if(mo)mo.disconnect();window.removeEventListener(\"popstate\",update);window.removeEventListener(\"hashchange\",update);window.clearInterval(id);};},[p.locale,p.direction]);const isRTL=ld.isRTL;const overlayMessage=ld.locale===\"ar\"?p.overlayMessageAR:p.overlayMessageEN;// Selected currency\nconst[value,setValue]=React.useState(()=>{const saved=typeof window!==\"undefined\"?localStorage.getItem(`currency:${p.persistKey}`):null;return saved&&list.includes(saved)?saved:list[0]||\"GBP\";});// Toast state\nconst[show,setShow]=React.useState(false);const[progress,setProgress]=React.useState(0)// for \"fill\" we'll go 0→1\n;const[elapsed,setElapsed]=React.useState(0);const durationMs=Math.max(.8,p.overlayDurationSec)*1e3;// Broadcast + overlay (never show for GBP)\nReact.useEffect(()=>{// persist selection\nlocalStorage.setItem(`currency:${p.persistKey}`,value);// work out if this came from the user\nconst isUser=changeByUserRef.current===true;// broadcast with source info\nwindow.dispatchEvent(new CustomEvent(\"currency:change\",{detail:{code:value,key:p.persistKey,source:isUser?\"user\":\"programmatic\"}}));// reset flag for next change\nchangeByUserRef.current=false;// ---- suppression rules ----\nif(p.suppressOnInitialLoad&&initialLoadRef.current){initialLoadRef.current=false;return;}if(p.suppressOnProgrammaticChange&&!isUser){return;}if(!p.showOverlayOnChange)return;if(value.toUpperCase()===\"GBP\"){setShow(false);return;}// ---- show overlay ----\nsetShow(true);setProgress(p.timerMode===\"fill\"?0:1);setElapsed(0);const t0=performance.now();let raf=0;const tick=t=>{const e=t-t0;const r=Math.min(1,Math.max(0,e/durationMs))// 0→1\n;setElapsed(e);setProgress(p.timerMode===\"fill\"?r:1-r);if(e<durationMs){raf=requestAnimationFrame(tick);}else{setShow(false);}};raf=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf);},[value,p.persistKey,p.showOverlayOnChange,p.timerMode,durationMs,p.suppressOnInitialLoad,p.suppressOnProgrammaticChange]);// Timer transform origin\n// fill: LTR origin left, RTL origin right\n// shrink: opposite\nconst originFill=isRTL?\"right\":\"left\";const originShrink=isRTL?\"left\":\"right\";const transformOrigin=p.timerMode===\"fill\"?originFill:originShrink;const uiDir=p.direction!==\"auto\"?p.direction:isRTL?\"rtl\":\"ltr\";const secondsLeft=Math.max(0,(durationMs-elapsed)/1e3);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"select\",{value:value,onChange:e=>{// Only mark as user when the <select> is changed by the user\nchangeByUserRef.current=true;setValue(e.target.value);},style:{padding:`${p.paddingY}px ${p.paddingX}px`,borderRadius:p.radius,border:`1px solid ${p.borderColor}`,background:p.bgColor,color:p.textColor,fontSize:p.fontSize,fontFamily:p.fontFamily||\"Zain\",outline:\"none\",direction:uiDir},children:list.map(code=>/*#__PURE__*/_jsx(\"option\",{value:code,style:{color:\"black\"},children:p.showSymbols&&SYMBOLS[code]?`${SYMBOLS[code]} ${code}`// keep consistent formatting in both languages\n    :code},code))}),show&&/*#__PURE__*/_jsxs(\"div\",{role:\"status\",\"aria-live\":\"polite\",style:{position:\"fixed\",left:\"50%\",transform:\"translateX(-50%)\",bottom:p.overlayBottom,zIndex:p.overlayZIndex,maxWidth:p.overlayMaxWidth,width:\"calc(100% - 32px)\",color:p.overlayTextColor,background:p.overlayBg,border:`1px solid ${p.overlayBorder}`,borderRadius:p.overlayRadius,boxShadow:p.overlayShadow,backdropFilter:p.overlayBlur?`blur(${p.overlayBlur}px)`:undefined,WebkitBackdropFilter:p.overlayBlur?`blur(${p.overlayBlur}px)`:undefined,padding:`${p.overlayPaddingY}px ${p.overlayPaddingX}px`,fontFamily:\"Zain\",lineHeight:1.5,direction:uiDir,animation:\"cm-fade-slide-in 220ms ease-out\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:10,alignItems:\"center\",justifyContent:\"space-between\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:10,alignItems:\"center\"},children:[p.showIcon&&/*#__PURE__*/_jsxs(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",style:{flex:\"0 0 auto\"},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 2L2 20h20L12 2z\",stroke:p.iconColor,strokeWidth:\"1.5\",fill:\"none\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 9v5\",stroke:p.iconColor,strokeWidth:\"1.5\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"17\",r:\"1\",fill:p.iconColor})]}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:p.overlayFontSize,opacity:.95},children:overlayMessage})]}),p.showSeconds&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:12,color:p.secondsColor,opacity:.8,minWidth:36,textAlign:\"right\"},children:[secondsLeft.toFixed(1),\"s\"]})]}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:12,height:p.timerHeight,background:p.timerBg,borderRadius:999,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{height:\"100%\",width:\"100%\",background:p.timerColor,transform:`scaleX(${progress})`,transformOrigin,transition:\"transform 100ms linear\"}})}),/*#__PURE__*/_jsx(\"style\",{children:`\n              @keyframes cm-fade-slide-in {\n                from { opacity: 0; transform: translate(-50%, 8px); }\n                to   { opacity: 1; transform: translate(-50%, 0); }\n              }\n            `})]})]});}/* ---------- Controls ---------- */addPropertyControls(CurrencyMenu,{// Menu\ncurrenciesCsv:{type:ControlType.String,title:\"Currencies\",defaultValue:\"GBP, USD, EUR, AED, OMR, SAR, QAR\"},persistKey:{type:ControlType.String,title:\"Persist Key\",defaultValue:\"sf-currency\"},showSymbols:{type:ControlType.Boolean,title:\"Show symbols\",defaultValue:true},// Menu styling\ntextColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#ffffff\"},bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"transparent\"},borderColor:{type:ControlType.Color,title:\"Border\",defaultValue:\"transparent\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0},paddingX:{type:ControlType.Number,title:\"Pad X\",defaultValue:12,min:0},paddingY:{type:ControlType.Number,title:\"Pad Y\",defaultValue:8,min:0},fontSize:{type:ControlType.Number,title:\"Font size\",defaultValue:16,min:8,max:32},fontFamily:{type:ControlType.String,title:\"Font\",defaultValue:\"Zain\"},// Locale\nlocale:{type:ControlType.Enum,title:\"Locale\",options:[\"auto\",\"en\",\"ar\"],optionTitles:[\"Auto\",\"English\",\"Arabic\"],defaultValue:\"auto\"},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"auto\",\"ltr\",\"rtl\"],optionTitles:[\"Auto\",\"LTR\",\"RTL\"],defaultValue:\"auto\"},// Overlay behavior/content\nshowOverlayOnChange:{type:ControlType.Boolean,title:\"Show overlay\",defaultValue:true},overlayDurationSec:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:6,min:1,max:15,step:.5},overlayMessageEN:{type:ControlType.String,title:\"Message (EN)\",defaultValue:\"Prices are shown in your currency for guidance. Checkout will be in GBP.\"},overlayMessageAR:{type:ControlType.String,title:\"Message (AR)\",defaultValue:\"تُعرَض الأسعار بعملتك للتوضيح فقط. سيتم الدفع بالجنيه الإسترليني (GBP).\"},// Overlay style\noverlayTextColor:{type:ControlType.Color,title:\"Overlay text\",defaultValue:\"#ffffff\"},overlayBg:{type:ControlType.Color,title:\"Overlay BG\",defaultValue:\"rgba(15,15,20,0.92)\"},overlayBorder:{type:ControlType.Color,title:\"Overlay border\",defaultValue:\"rgba(255,255,255,0.08)\"},overlayRadius:{type:ControlType.Number,title:\"Overlay radius\",defaultValue:12,min:0},overlayShadow:{type:ControlType.String,title:\"Overlay shadow\",defaultValue:\"0 10px 30px rgba(0,0,0,0.35)\"},overlayBlur:{type:ControlType.Number,title:\"Backdrop blur\",defaultValue:6,min:0,max:20,step:1},overlayPaddingX:{type:ControlType.Number,title:\"Pad X\",defaultValue:14,min:0},overlayPaddingY:{type:ControlType.Number,title:\"Pad Y\",defaultValue:12,min:0},overlayFontSize:{type:ControlType.Number,title:\"Text size\",defaultValue:16,min:10,max:28},// Timer\ntimerMode:{type:ControlType.Enum,title:\"Timer mode\",options:[\"fill\",\"shrink\"],optionTitles:[\"Fill (natural)\",\"Shrink\"],defaultValue:\"fill\"},timerHeight:{type:ControlType.Number,title:\"Timer height\",defaultValue:3,min:1,max:10},timerColor:{type:ControlType.Color,title:\"Timer color\",defaultValue:\"#ffffff\"},timerBg:{type:ControlType.Color,title:\"Timer bg\",defaultValue:\"rgba(255,255,255,0.15)\"},showSeconds:{type:ControlType.Boolean,title:\"Show seconds\",defaultValue:true},secondsColor:{type:ControlType.Color,title:\"Seconds color\",defaultValue:\"rgba(255,255,255,0.8)\"},// Position\noverlayBottom:{type:ControlType.Number,title:\"Bottom offset\",defaultValue:24,min:0,max:200},overlayMaxWidth:{type:ControlType.Number,title:\"Max width\",defaultValue:640,min:240,max:1e3},overlayZIndex:{type:ControlType.Number,title:\"z-index\",defaultValue:9999,min:0,max:999999},// Icon\nshowIcon:{type:ControlType.Boolean,title:\"Show icon\",defaultValue:true},iconColor:{type:ControlType.Color,title:\"Icon color\",defaultValue:\"#ffffff\"},// NEW suppression toggles\nsuppressOnInitialLoad:{type:ControlType.Boolean,title:\"No overlay on first load\",defaultValue:true},suppressOnProgrammaticChange:{type:ControlType.Boolean,title:\"No overlay on auto changes\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrencyMenu\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrencyMenu.map"],"mappings":"+VAC4R,SAAS,GAAc,CAAC,GAAG,CAAC,IAAM,EAAK,EAAO,SAAS,KAAK,aAAa,CAAC,GAAG,EAAK,SAAS,UAAU,EAAE,EAAK,SAAS,OAAO,EAAE,EAAK,SAAS,MAAM,CAAC,MAAM,KAAK,GAAG,EAAK,SAAS,UAAU,EAAE,EAAK,SAAS,OAAO,EAAE,EAAK,SAAS,MAAM,CAAC,MAAM,UAAW,EAAE,OAAO,KAAM,SAAS,GAAiB,CAAC,GAAG,OAAO,SAAW,IAAY,MAAM,CAAC,IAAI,GAAG,KAAK,GAAG,CAAC,IAAM,EAAG,SAAS,gBAAoB,GAAK,EAAG,aAAa,MAAM,EAAE,IAAI,aAAa,CAAK,GAAM,EAAG,aAAa,OAAO,EAAE,IAAI,aAAa,CAC/vB,GAAG,CAAC,IAAI,CAAC,GAAK,CAAC,IAAO,EAAO,QAAQ,EAAO,SAAS,EAAO,CAAC,IAAMA,EAAE,EAAO,OAAO,UAAU,gBAAgB,KAAUA,GAAG,aAAa,MAAM,EAAE,IAAI,aAAa,CAAC,KAAYA,GAAG,aAAa,OAAO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