{"version":3,"file":"ReturnButton.CLP-8WjC.mjs","names":["SVG","getProps","Icon"],"sources":["https:/framerusercontent.com/modules/23UrxbLkcrqFJNnNZtF1/aLljiuATE5FcYEihCdBz/Y4J94WC46.js","https:/framerusercontent.com/modules/x4Q41fS63vNlbcLhJhZr/pIUC5Xqy5F1RM02CyxJv/p2hV2CYTP.js","https:/framerusercontent.com/modules/3ZhKT2z8Y4eVDQTESvfj/v73v1ZpUVRFm9Uxm9Hpp/ReturnButton.js"],"sourcesContent":["// Generated by Framer (ac3cb42)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,ezTt3ayMo:fill??props.ezTt3ayMo??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-fIGy1\",className),layoutId:layoutId,ref:ref,style:{\"--21h8s6\":ezTt3ayMo,...style}});});const css=['.framer-fIGy1 { aspect-ratio: 1; background-color: var(--21h8s6); mask-image: url(\\'data:image/svg+xml,<svg aria-label=\"Arrow Up Right\" display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 13.5 0.75 L 13.5 10.5 C 13.5 10.914 13.165 11.25 12.75 11.25 C 12.336 11.25 12 10.914 12 10.5 L 12 2.56 L 1.281 13.281 C 0.988 13.574 0.513 13.574 0.22 13.281 C -0.073 12.988 -0.073 12.512 0.22 12.219 L 10.94 1.5 L 3 1.5 C 2.586 1.5 2.25 1.164 2.25 0.75 C 2.25 0.336 2.586 0 3 0 L 12.75 0 C 13.165 0 13.5 0.336 13.5 0.75 Z\" fill=\"var(--21h8s6, rgb(0,0,0))\" height=\"13.500417071534685px\" id=\"e9ZRAF41a\" opacity=\"1\" transform=\"translate(5.25 5.25)\" width=\"13.500417071534343px\"/></svg>\\'); mask-position: center; mask-repeat: no-repeat; width: 24px; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrow Up Right\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-fIGy1\");export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"fill\\\"}\",\"framerVector\":\"{\\\"name\\\":\\\"Arrow Up Right\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (ac3cb42)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,ezTt3ayMo:fill??props.ezTt3ayMo??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-GCiLp\",className),layoutId:layoutId,ref:ref,style:{\"--21h8s6\":ezTt3ayMo,...style}});});const css=['.framer-GCiLp { aspect-ratio: 1; background-color: var(--21h8s6); mask-image: url(\\'data:image/svg+xml,<svg aria-label=\"Arrow Down Right\" display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 13.5 3 L 13.5 12.75 C 13.5 13.165 13.165 13.5 12.75 13.5 L 3 13.5 C 2.586 13.5 2.25 13.165 2.25 12.75 C 2.25 12.336 2.586 12 3 12 L 10.94 12 L 0.22 1.281 C -0.073 0.988 -0.073 0.513 0.22 0.22 C 0.513 -0.073 0.988 -0.073 1.281 0.22 L 12 10.94 L 12 3 C 12 2.586 12.336 2.25 12.75 2.25 C 13.165 2.25 13.5 2.586 13.5 3 Z\" fill=\"var(--21h8s6, rgb(0,0,0))\" height=\"13.500417071534685px\" id=\"piYpRa7EN\" opacity=\"1\" transform=\"translate(5.25 5.25)\" width=\"13.500417071534343px\"/></svg>\\'); mask-position: center; mask-repeat: no-repeat; width: 24px; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Arrow Down Right\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-GCiLp\");export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"fill\\\"}\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerDisableUnlink\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Arrow Down Right\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,motion}from\"framer\";export function ReturnButton(props){const handleClick=()=>{window.open(\"\",\"_self\",\"\");window.close();setTimeout(()=>{if(document.referrer&&document.referrer!==window.location.href){window.location.href=document.referrer;}},100);};const isDutch=typeof document!==\"undefined\"&&document.documentElement.lang?.toLowerCase().startsWith(\"nl\");const label=isDutch?\"Nee, terug naar restaurant\":props.label;return /*#__PURE__*/_jsx(motion.button,{onClick:handleClick,whileHover:{color:\"rgba(59, 130, 246, 0.5)\"},transition:{type:\"spring\",duration:.4,bounce:.2,delay:0},style:{height:\"44px\",padding:\"0 20px\",backgroundColor:\"#ffffff\",color:\"#3B82F6\",border:\"none\",borderRadius:\"8px\",cursor:\"pointer\",outline:\"none\",fontFamily:\"Inter, sans-serif\",fontSize:\"16px\",lineHeight:\"24px\",fontWeight:600,transition:\"none\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:label});}addPropertyControls(ReturnButton,{label:{type:ControlType.String,defaultValue:\"No, back to restaurant\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ReturnButton\":{\"type\":\"reactComponent\",\"name\":\"ReturnButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ReturnButton.map"],"mappings":"qQAC2C,IAAsE,IAA4B,CAAoCA,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAO,IAAI,CAAC,GAAG,EAAc,WAAa,MAAI,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAI,CAAC,EAAG,CAAOC,GAAU,CAAC,OAAK,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAM,EAAM,WAAW,eAAe,EAUrfC,EAAK,EAVghB,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,GAAG,GAAWD,EAAS,EAAM,CAAC,OAAoB,EAAKD,EAAI,CAAC,GAAG,EAAU,UAAU,EAAG,eAAe,EAAU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