{"version":3,"file":"W1ukY2QS9.BUhZBCKQ.mjs","names":["__legacyOverrideHOC_DataObserverContext","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/TuKP0epIItaIFcsF9bVD/xZDrF9Jo8wX1J0TC6i46/NL_OR_BE_Shop.js","https:/framerusercontent.com/modules/rkLGFOMJ93kl45DgLdDu/JqC1hGtFzSXDvYxp01QQ/ro7OPezbn.js","https:/framerusercontent.com/modules/eaYTWPjmULR8pBxpU0wo/zvx6aNSeLKF783rqCvlW/W1ukY2QS9.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{useState}from\"react\";export function useDynamicLink(){const[url,setUrl]=useState(\"https://order.dunkin.nl\");useEffect(()=>{const getCountry=async()=>{try{const res=await fetch(\"https://ipapi.co/json/\");const data=await res.json();const country=data.country;if(country===\"BE\"){setUrl(\"https://dunkinbe.sides-shop.com\");}}catch(err){console.error(\"Failed to detect location\",err);}};getCountry();},[]);return{href:url,target:\"_blank\"};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withuseDynamicLink(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...useDynamicLink(props)});};}withuseDynamicLink.displayName=\"useDynamicLink\";\nexport const __FramerMetadata__ = {\"exports\":{\"useDynamicLink\":{\"type\":\"override\",\"name\":\"useDynamicLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withuseDynamicLink\":{\"type\":\"reactHoc\",\"name\":\"withuseDynamicLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NL_OR_BE_Shop.map","// Generated by Framer (5bbf1f3)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-CPTDO .framer-styles-preset-1wicq5s:not(.rich-text-wrapper), .framer-CPTDO .framer-styles-preset-1wicq5s.rich-text-wrapper a { --framer-link-current-text-decoration: none; --framer-link-hover-text-decoration: none; --framer-link-text-color: #ffffff; --framer-link-text-decoration: none; }\"];export const className=\"framer-CPTDO\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (1f5f6d9)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-KW37l .framer-styles-preset-bye8ub:not(.rich-text-wrapper), .framer-KW37l .framer-styles-preset-bye8ub.rich-text-wrapper a { --framer-link-current-text-color: #111111; --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: #e60073; --framer-link-hover-text-decoration: underline; --framer-link-text-color: #e60073; --framer-link-text-decoration: none; }\"];export const className=\"framer-KW37l\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"gRAAoG,SAAgB,GAAgB,CAAC,GAAK,CAAC,EAAI,EAAO,CAAC,EAAS,0BAA0B,CAAqS,MAApS,GAAU,IAAI,CAAC,IAAM,EAAW,SAAS,CAAC,GAAG,CAAC,IAAM,EAAI,KAAM,OAAM,yBAAyB,CAAO,EAAK,KAAM,GAAI,MAAM,CAAO,EAAQ,EAAK,QAAQ,AAAG,IAAU,MAAM,EAAO,kCAAkC,AAAG,OAAM,EAAI,CAAC,QAAQ,MAAM,4BAA4B,EAAI,AAAE,CAAC,EAAC,GAAY,AAAE,EAAC,CAAE,EAAC,CAAO,CAAC,KAAK,EAAI,OAAO,QAAS,CAAE,CAAmJ,SAAgB,EAAmB,EAAE,CAAC,MAAO,CAAA,IAAQ,EAA+BA,EAAwC,CAAQ,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,EAAM,AAAC,EAAC,CAAI,cAAA,AAAv0B,GAA2C,IAA6B,CAAyf,GAAmF,CAAmL,EAAmB,YAAY,kCCClbG,AAApb,GAA8B,GAAU,UAAU,CAAE,EAAC,CAAcF,EAAM,CAAC,CAAC,eAAc,EAAK,MAAM,CAAE,CAAE,CAAA,EAAcC,EAAI,CAAC,0SAA2S,EAAcC,EAAU,gCCAkF,AAAhhB,GAA8B,GAAU,UAAU,CAAE,EAAC,CAAc,EAAM,CAAC,CAAC,eAAc,EAAK,MAAM,CAAE,CAAE,CAAA,EAAc,EAAI,CAAC,sYAAuY,EAAc,EAAU"}