{"version":3,"file":"SimulatorButton_old.BmE1ux5u.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/2sDpgO1AN80jFCOQvCro/kZWbvLO7kFdgbKjdmnSU/P7ROUEDsd.js","https:/framerusercontent.com/modules/U2lAUE0fUmM5i5Qeu1dk/5ioP0WoDtrnhPlCekRX5/SimulatorButton_old.js"],"sourcesContent":["// Generated by Framer (c2a8602)\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 mask=\"var(--framer-icon-mask)\";const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.img,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"img\",{...rest,ref:ref});});const getProps=({content,height,id,width,...props})=>{return{...props,PtpMWjygu:content??props.PtpMWjygu??\"var(--token-6337daa8-5a0b-4c42-a097-865e9e7b9521, rgb(8, 8, 10))\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,PtpMWjygu,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,alt:\"\",className:cx(\"framer-yMOgW\",className),layoutId:layoutId,ref:ref,src:'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 96 16\" xmlns=\"http://www.w3.org/2000/svg\"><g d=\"M 6.261 5.339 C 6.332 4.832 6.276 4.447 6.093 4.195 C 5.909 3.942 5.603 3.815 5.177 3.815 L 5.034 3.815 L 4.619 6.862 C 5.122 6.851 5.504 6.726 5.763 6.481 C 6.027 6.236 6.194 5.859 6.261 5.339 Z M 9.202 7.014 C 8.762 7.538 8.153 7.962 7.374 8.277 L 9.202 13.937 L 5.32 13.937 L 4.332 8.995 L 3.661 13.937 L 0 13.937 L 1.732 1.164 L 5.945 1.164 C 7.371 1.164 8.445 1.516 9.172 2.223 C 9.894 2.929 10.176 3.888 10.013 5.101 C 9.91 5.845 9.64 6.486 9.202 7.014 Z M 14.972 8.329 C 15.04 7.824 15.009 7.442 14.88 7.185 C 14.75 6.932 14.517 6.808 14.19 6.808 C 13.932 6.808 13.706 6.932 13.511 7.181 C 13.32 7.429 13.149 7.811 13.002 8.329 Z M 17.21 5.842 C 17.792 6.584 17.981 7.698 17.781 9.188 C 17.755 9.363 17.739 9.497 17.722 9.589 C 17.708 9.677 17.689 9.759 17.665 9.835 L 12.798 9.835 L 12.782 9.958 C 12.692 10.616 12.704 11.09 12.817 11.376 C 12.935 11.663 13.164 11.809 13.511 11.809 C 13.769 11.809 13.985 11.724 14.167 11.56 C 14.351 11.396 14.501 11.144 14.616 10.803 L 17.417 10.803 C 17.144 11.855 16.617 12.681 15.828 13.285 C 15.044 13.887 14.095 14.187 12.998 14.187 C 11.701 14.187 10.759 13.783 10.168 12.971 C 9.576 12.156 9.383 10.998 9.587 9.497 C 9.794 7.986 10.303 6.813 11.125 5.982 C 11.942 5.147 12.991 4.731 14.26 4.731 C 15.644 4.731 16.624 5.101 17.21 5.842 Z M 23.081 13.795 C 22.825 13.929 22.549 14.028 22.262 14.092 C 21.975 14.157 21.651 14.187 21.3 14.187 C 20.113 14.187 19.238 13.769 18.665 12.925 C 18.097 12.084 17.911 10.929 18.108 9.459 C 18.305 8.022 18.814 6.871 19.633 6.012 C 20.452 5.153 21.45 4.731 22.618 4.731 C 22.94 4.731 23.24 4.761 23.507 4.815 C 23.779 4.88 24.033 4.964 24.262 5.089 L 23.89 7.826 C 23.785 7.76 23.674 7.71 23.56 7.679 C 23.443 7.647 23.317 7.632 23.178 7.632 C 22.833 7.632 22.53 7.794 22.282 8.121 C 22.032 8.446 21.868 8.892 21.791 9.459 C 21.713 10.027 21.752 10.459 21.905 10.745 C 22.054 11.034 22.322 11.182 22.699 11.182 C 22.806 11.182 22.925 11.165 23.051 11.132 C 23.178 11.101 23.314 11.057 23.458 11 Z M 23.883 13.937 L 25.773 0 L 29.103 0 L 27.215 13.937 Z M 33.836 9.459 C 33.922 8.83 33.918 8.348 33.82 8.022 C 33.725 7.689 33.54 7.525 33.272 7.525 C 33.007 7.525 32.783 7.689 32.603 8.014 C 32.422 8.341 32.284 8.823 32.2 9.459 C 32.114 10.097 32.115 10.574 32.207 10.896 C 32.297 11.215 32.479 11.376 32.747 11.376 C 33.022 11.376 33.247 11.213 33.432 10.882 C 33.62 10.551 33.755 10.077 33.836 9.459 Z M 34.517 4.979 L 37.848 4.979 L 36.634 13.937 L 33.305 13.937 L 33.439 12.952 C 33.05 13.383 32.668 13.693 32.287 13.893 C 31.912 14.09 31.514 14.187 31.102 14.187 C 30.187 14.187 29.526 13.774 29.122 12.944 C 28.715 12.116 28.613 10.953 28.812 9.459 C 29.018 7.954 29.432 6.792 30.056 5.969 C 30.679 5.141 31.455 4.731 32.385 4.731 C 32.804 4.731 33.173 4.828 33.499 5.023 C 33.816 5.219 34.116 5.528 34.386 5.951 Z M 37.627 13.937 L 38.841 4.979 L 42.042 4.979 L 41.863 6.309 C 42.244 5.796 42.663 5.416 43.117 5.167 C 43.572 4.925 44.082 4.802 44.645 4.802 C 45.172 4.802 45.591 4.925 45.904 5.176 C 46.214 5.423 46.413 5.801 46.5 6.309 C 46.827 5.796 47.209 5.416 47.643 5.167 C 48.076 4.925 48.578 4.802 49.145 4.802 C 49.848 4.802 50.354 5.004 50.669 5.413 C 50.982 5.821 51.087 6.42 50.98 7.202 L 50.068 13.937 L 46.735 13.937 L 47.442 8.722 C 47.482 8.444 47.455 8.236 47.374 8.101 C 47.291 7.966 47.142 7.903 46.934 7.903 C 46.742 7.903 46.58 7.976 46.451 8.133 C 46.324 8.287 46.24 8.502 46.201 8.774 L 45.502 13.937 L 42.191 13.937 L 42.895 8.722 C 42.935 8.444 42.912 8.236 42.83 8.101 C 42.745 7.966 42.596 7.903 42.388 7.903 C 42.188 7.903 42.023 7.976 41.889 8.133 C 41.76 8.287 41.675 8.502 41.639 8.774 L 40.942 13.937 Z M 56.677 8.329 C 56.744 7.824 56.714 7.442 56.581 7.185 C 56.453 6.932 56.225 6.808 55.896 6.808 C 55.637 6.808 55.412 6.932 55.219 7.181 C 55.024 7.429 54.853 7.811 54.705 8.329 Z M 58.916 5.842 C 59.497 6.584 59.687 7.698 59.487 9.188 C 59.464 9.363 59.446 9.497 59.43 9.589 C 59.416 9.677 59.393 9.759 59.371 9.835 L 54.503 9.835 L 54.487 9.958 C 54.398 10.616 54.41 11.09 54.523 11.376 C 54.639 11.663 54.869 11.809 55.219 11.809 C 55.477 11.809 55.691 11.724 55.872 11.56 C 56.054 11.396 56.206 11.144 56.322 10.803 L 59.124 10.803 C 58.851 11.855 58.319 12.681 57.533 13.285 C 56.748 13.887 55.804 14.187 54.701 14.187 C 53.406 14.187 52.463 13.783 51.873 12.971 C 51.28 12.156 51.089 10.998 51.292 9.497 C 51.499 7.986 52.007 6.813 52.831 5.982 C 53.645 5.147 54.694 4.731 55.966 4.731 C 57.347 4.731 58.33 5.101 58.916 5.842 Z M 64.401 9.48 L 65.857 9.48 L 65.761 4.746 Z M 68.311 1.165 L 69.45 13.937 L 65.881 13.937 L 65.857 12.059 L 63.693 12.059 L 63.157 13.937 L 59.585 13.937 L 64.186 1.165 Z M 76.311 7.476 C 76.492 6.134 76.528 5.224 76.412 4.739 C 76.301 4.255 76.027 4.014 75.579 4.014 C 75.13 4.014 74.783 4.257 74.536 4.749 C 74.29 5.238 74.081 6.146 73.899 7.476 C 73.718 8.799 73.684 9.705 73.799 10.194 C 73.916 10.682 74.193 10.929 74.644 10.929 C 75.089 10.929 75.433 10.688 75.673 10.206 C 75.915 9.726 76.13 8.816 76.311 7.476 Z M 79.376 2.65 C 80.078 3.807 80.285 5.444 79.998 7.561 C 79.831 8.78 79.543 9.839 79.132 10.734 C 78.725 11.634 78.182 12.392 77.511 13.008 L 78.909 14.634 L 75.793 16 L 74.627 14.17 C 74.586 14.17 74.523 14.175 74.434 14.181 C 74.348 14.186 74.283 14.188 74.24 14.188 C 72.664 14.188 71.523 13.613 70.82 12.457 C 70.113 11.306 69.901 9.673 70.185 7.561 C 70.473 5.451 71.123 3.814 72.143 2.657 C 73.159 1.495 74.448 0.914 76.002 0.914 C 77.56 0.914 78.681 1.495 79.376 2.65 Z M 80.465 9.37 L 81.578 1.165 L 85.242 1.165 L 84.083 9.71 C 84.033 10.086 84.064 10.36 84.178 10.538 C 84.292 10.714 84.489 10.804 84.777 10.804 C 85.068 10.804 85.298 10.714 85.458 10.538 C 85.622 10.36 85.724 10.086 85.776 9.71 L 86.933 1.165 L 90.613 1.165 L 89.501 9.37 C 89.278 11.035 88.747 12.257 87.915 13.029 C 87.08 13.806 85.887 14.188 84.317 14.188 C 82.761 14.188 81.673 13.806 81.055 13.029 C 80.438 12.257 80.241 11.035 80.465 9.37 Z M 90.119 13.937 L 91.845 1.165 L 95.51 1.165 L 93.78 13.937 Z\" fill=\"transparent\" height=\"16px\" id=\"UDNx6Zshz\" width=\"95.51029683612717px\"><path d=\"M 6.261 5.339 C 6.332 4.832 6.276 4.447 6.093 4.195 C 5.909 3.942 5.603 3.815 5.177 3.815 L 5.034 3.815 L 4.619 6.862 C 5.122 6.851 5.504 6.726 5.763 6.481 C 6.027 6.236 6.194 5.859 6.261 5.339 Z M 9.202 7.014 C 8.762 7.538 8.153 7.962 7.374 8.277 L 9.202 13.937 L 5.32 13.937 L 4.332 8.995 L 3.661 13.937 L 0 13.937 L 1.732 1.164 L 5.945 1.164 C 7.371 1.164 8.445 1.516 9.172 2.223 C 9.894 2.929 10.176 3.888 10.013 5.101 C 9.91 5.845 9.64 6.486 9.202 7.014 Z M 14.972 8.329 C 15.04 7.824 15.009 7.442 14.88 7.185 C 14.75 6.932 14.517 6.808 14.19 6.808 C 13.932 6.808 13.706 6.932 13.511 7.181 C 13.32 7.429 13.149 7.811 13.002 8.329 Z M 17.21 5.842 C 17.792 6.584 17.981 7.698 17.781 9.188 C 17.755 9.363 17.739 9.497 17.722 9.589 C 17.708 9.677 17.689 9.759 17.665 9.835 L 12.798 9.835 L 12.782 9.958 C 12.692 10.616 12.704 11.09 12.817 11.376 C 12.935 11.663 13.164 11.809 13.511 11.809 C 13.769 11.809 13.985 11.724 14.167 11.56 C 14.351 11.396 14.501 11.144 14.616 10.803 L 17.417 10.803 C 17.144 11.855 16.617 12.681 15.828 13.285 C 15.044 13.887 14.095 14.187 12.998 14.187 C 11.701 14.187 10.759 13.783 10.168 12.971 C 9.576 12.156 9.383 10.998 9.587 9.497 C 9.794 7.986 10.303 6.813 11.125 5.982 C 11.942 5.147 12.991 4.731 14.26 4.731 C 15.644 4.731 16.624 5.101 17.21 5.842 Z M 23.081 13.795 C 22.825 13.929 22.549 14.028 22.262 14.092 C 21.975 14.157 21.651 14.187 21.3 14.187 C 20.113 14.187 19.238 13.769 18.665 12.925 C 18.097 12.084 17.911 10.929 18.108 9.459 C 18.305 8.022 18.814 6.871 19.633 6.012 C 20.452 5.153 21.45 4.731 22.618 4.731 C 22.94 4.731 23.24 4.761 23.507 4.815 C 23.779 4.88 24.033 4.964 24.262 5.089 L 23.89 7.826 C 23.785 7.76 23.674 7.71 23.56 7.679 C 23.443 7.647 23.317 7.632 23.178 7.632 C 22.833 7.632 22.53 7.794 22.282 8.121 C 22.032 8.446 21.868 8.892 21.791 9.459 C 21.713 10.027 21.752 10.459 21.905 10.745 C 22.054 11.034 22.322 11.182 22.699 11.182 C 22.806 11.182 22.925 11.165 23.051 11.132 C 23.178 11.101 23.314 11.057 23.458 11 Z M 23.883 13.937 L 25.773 0 L 29.103 0 L 27.215 13.937 Z M 33.836 9.459 C 33.922 8.83 33.918 8.348 33.82 8.022 C 33.725 7.689 33.54 7.525 33.272 7.525 C 33.007 7.525 32.783 7.689 32.603 8.014 C 32.422 8.341 32.284 8.823 32.2 9.459 C 32.114 10.097 32.115 10.574 32.207 10.896 C 32.297 11.215 32.479 11.376 32.747 11.376 C 33.022 11.376 33.247 11.213 33.432 10.882 C 33.62 10.551 33.755 10.077 33.836 9.459 Z M 34.517 4.979 L 37.848 4.979 L 36.634 13.937 L 33.305 13.937 L 33.439 12.952 C 33.05 13.383 32.668 13.693 32.287 13.893 C 31.912 14.09 31.514 14.187 31.102 14.187 C 30.187 14.187 29.526 13.774 29.122 12.944 C 28.715 12.116 28.613 10.953 28.812 9.459 C 29.018 7.954 29.432 6.792 30.056 5.969 C 30.679 5.141 31.455 4.731 32.385 4.731 C 32.804 4.731 33.173 4.828 33.499 5.023 C 33.816 5.219 34.116 5.528 34.386 5.951 Z M 37.627 13.937 L 38.841 4.979 L 42.042 4.979 L 41.863 6.309 C 42.244 5.796 42.663 5.416 43.117 5.167 C 43.572 4.925 44.082 4.802 44.645 4.802 C 45.172 4.802 45.591 4.925 45.904 5.176 C 46.214 5.423 46.413 5.801 46.5 6.309 C 46.827 5.796 47.209 5.416 47.643 5.167 C 48.076 4.925 48.578 4.802 49.145 4.802 C 49.848 4.802 50.354 5.004 50.669 5.413 C 50.982 5.821 51.087 6.42 50.98 7.202 L 50.068 13.937 L 46.735 13.937 L 47.442 8.722 C 47.482 8.444 47.455 8.236 47.374 8.101 C 47.291 7.966 47.142 7.903 46.934 7.903 C 46.742 7.903 46.58 7.976 46.451 8.133 C 46.324 8.287 46.24 8.502 46.201 8.774 L 45.502 13.937 L 42.191 13.937 L 42.895 8.722 C 42.935 8.444 42.912 8.236 42.83 8.101 C 42.745 7.966 42.596 7.903 42.388 7.903 C 42.188 7.903 42.023 7.976 41.889 8.133 C 41.76 8.287 41.675 8.502 41.639 8.774 L 40.942 13.937 Z M 56.677 8.329 C 56.744 7.824 56.714 7.442 56.581 7.185 C 56.453 6.932 56.225 6.808 55.896 6.808 C 55.637 6.808 55.412 6.932 55.219 7.181 C 55.024 7.429 54.853 7.811 54.705 8.329 Z M 58.916 5.842 C 59.497 6.584 59.687 7.698 59.487 9.188 C 59.464 9.363 59.446 9.497 59.43 9.589 C 59.416 9.677 59.393 9.759 59.371 9.835 L 54.503 9.835 L 54.487 9.958 C 54.398 10.616 54.41 11.09 54.523 11.376 C 54.639 11.663 54.869 11.809 55.219 11.809 C 55.477 11.809 55.691 11.724 55.872 11.56 C 56.054 11.396 56.206 11.144 56.322 10.803 L 59.124 10.803 C 58.851 11.855 58.319 12.681 57.533 13.285 C 56.748 13.887 55.804 14.187 54.701 14.187 C 53.406 14.187 52.463 13.783 51.873 12.971 C 51.28 12.156 51.089 10.998 51.292 9.497 C 51.499 7.986 52.007 6.813 52.831 5.982 C 53.645 5.147 54.694 4.731 55.966 4.731 C 57.347 4.731 58.33 5.101 58.916 5.842 Z\" fill=\"rgb(164, 201, 41)\" height=\"14.18747915325862px\" id=\"EQwdtoh7G\" transform=\"translate(0 0)\" width=\"59.563865847030065px\"/><path d=\"M 4.816 8.566 L 6.272 8.566 L 6.176 3.832 Z M 8.726 0.251 L 9.866 13.023 L 6.296 13.023 L 6.272 11.145 L 4.108 11.145 L 3.573 13.023 L 0 13.023 L 4.601 0.251 Z M 16.726 6.562 C 16.907 5.22 16.943 4.31 16.828 3.825 C 16.716 3.341 16.442 3.1 15.994 3.1 C 15.545 3.1 15.198 3.343 14.951 3.835 C 14.705 4.324 14.496 5.232 14.314 6.562 C 14.133 7.885 14.099 8.791 14.214 9.28 C 14.332 9.768 14.608 10.015 15.059 10.015 C 15.504 10.015 15.848 9.774 16.088 9.292 C 16.33 8.812 16.545 7.902 16.726 6.562 Z M 19.791 1.736 C 20.493 2.893 20.7 4.53 20.413 6.647 C 20.246 7.866 19.958 8.925 19.547 9.82 C 19.14 10.72 18.597 11.478 17.926 12.094 L 19.324 13.72 L 16.208 15.086 L 15.042 13.256 C 15.001 13.256 14.938 13.261 14.849 13.267 C 14.764 13.272 14.698 13.274 14.655 13.274 C 13.079 13.274 11.938 12.698 11.236 11.543 C 10.528 10.392 10.316 8.759 10.601 6.647 C 10.889 4.537 11.538 2.9 12.558 1.743 C 13.574 0.581 14.863 0 16.418 0 C 17.975 0 19.097 0.581 19.791 1.736 Z M 20.88 8.456 L 21.993 0.251 L 25.657 0.251 L 24.499 8.796 C 24.449 9.172 24.479 9.446 24.593 9.624 C 24.707 9.8 24.905 9.89 25.193 9.89 C 25.483 9.89 25.713 9.8 25.874 9.624 C 26.037 9.446 26.14 9.172 26.191 8.796 L 27.348 0.251 L 31.028 0.251 L 29.917 8.456 C 29.693 10.121 29.162 11.343 28.33 12.115 C 27.495 12.892 26.302 13.274 24.733 13.274 C 23.176 13.274 22.088 12.892 21.47 12.115 C 20.853 11.343 20.656 10.121 20.88 8.456 Z M 30.534 13.023 L 32.26 0.251 L 35.925 0.251 L 34.195 13.023 Z\" fill=\"rgb(2, 121, 62)\" height=\"15.085979998111725px\" id=\"WmhpmJH2L\" transform=\"translate(59.585 0.914)\" width=\"35.925442710150605px\"/></g></svg>',style:{...style}});});const css=[`.framer-yMOgW { -webkit-mask: ${mask}; aspect-ratio: 6; display: block; mask: ${mask}; user-select: none; width: 96px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 96\n * @framerIntrinsicHeight 16\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"PtpMWjygu\":\"content\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"reclameaqui\",\"set\":{\"localId\":\"vectorSet/mNuVLsXYQ\",\"id\":\"mNuVLsXYQ\",\"moduleId\":\"pMbi725qBgM04t7WDNq4\"}}\n */const Icon=withCSS(Component,css,\"framer-yMOgW\");Icon.displayName=\"reclameaqui\";export default Icon;addPropertyControls(Icon,{PtpMWjygu:{defaultValue:'var(--token-6337daa8-5a0b-4c42-a097-865e9e7b9521, rgb(8, 8, 10)) /* {\"name\":\"content\"} */',hidden:true,title:\"content\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"PtpMWjygu\\\":\\\"content\\\"}\",\"framerVector\":\"{\\\"name\\\":\\\"reclameaqui\\\",\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/mNuVLsXYQ\\\",\\\"id\\\":\\\"mNuVLsXYQ\\\",\\\"moduleId\\\":\\\"pMbi725qBgM04t7WDNq4\\\"}}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"16\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"96\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight fixed\nimport{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useTracking}from\"framer\";import{useCreditStore}from\"https://framerusercontent.com/modules/SwnDQm82Xt81SD83IHNA/jXEgbqbYy8gZToFYAeiw/CreditStore.js\";import{useSimulatorURL}from\"https://framerusercontent.com/modules/6yTW9nDSqM7wcBWAdnDT/mx5ocFAHJIBLj6J2xspi/useSimulatorURL.js\";export default function SimulatorButton_old(props){const{text,tracking,destinyURL,staticURL,extraParams,buttonHeight,padding,radius,textSize,background,content,stroke,border,backgroundHover,contentHover,borderHover,backgroundPressed,contentPressed,borderPressed,pressedScale,style}=props;const track=useTracking();const[hover,setHover]=React.useState(false);const[pressed,setPressed]=React.useState(false);let credit=1e4;try{const storeTuple=useCreditStore?.();const store=Array.isArray(storeTuple)?storeTuple[0]:storeTuple;if(store&&typeof store.credit!==\"undefined\")credit=Number(store.credit)||1e4;}catch(e){credit=1e4;}const targetUrl=useSimulatorURL({destinyURL,staticURL,extraParams,credit});const isHover=hover&&!pressed;const currentBackground=pressed?backgroundPressed:isHover?backgroundHover:background;const currentColor=pressed?contentPressed:isHover?contentHover:content;const currentBorderColor=pressed?borderPressed:isHover?borderHover:border;const currentScale=pressed?pressedScale:1;function handleClick(){track(tracking||\"simulador\");if(typeof window!==\"undefined\")window.location.href=targetUrl;}return /*#__PURE__*/_jsx(\"div\",{style:{...style,height:buttonHeight,minHeight:buttonHeight,maxHeight:buttonHeight,width:style?.width??\"100%\",display:\"block\"},children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:handleClick,onMouseEnter:()=>setHover(true),onMouseLeave:()=>{setHover(false);setPressed(false);},onMouseDown:()=>setPressed(true),onMouseUp:()=>setPressed(false),onTouchStart:()=>setPressed(true),onTouchEnd:()=>setPressed(false),style:{width:\"100%\",height:\"100%\",background:currentBackground,color:currentColor,border:`${stroke}px solid ${currentBorderColor}`,fontSize:textSize,fontWeight:500,fontFamily:\"Red Hat Display, sans-serif\",lineHeight:\"115%\",padding:`0 ${padding}px`,borderRadius:radius,cursor:\"pointer\",outline:\"none\",appearance:\"none\",boxSizing:\"border-box\",userSelect:\"none\",transform:`scale(${currentScale})`,transition:\"background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.08s ease\"},children:text})});}addPropertyControls(SimulatorButton_old,{destinyURL:{type:ControlType.Enum,title:\"destinyURL\",options:[\"simulador\",\"seguro\",\"consorcio\",\"compraplanejada\"],optionTitles:[\"simulador\",\"seguro\",\"consorcio\",\"compraplanejada\"],defaultValue:\"simulador\"},staticURL:{type:ControlType.Enum,title:\"staticURL\",options:[\"none\",\"auto\",\"celular\",\"cnh\",\"computador\",\"games\",\"imovel\",\"moto\",\"pesado\",\"viagem\"],optionTitles:[\"none\",\"auto\",\"celular\",\"cnh\",\"computador\",\"games\",\"imovel\",\"moto\",\"pesado\",\"viagem\"],defaultValue:\"none\"},buttonHeight:{type:ControlType.Number,title:\"height\",defaultValue:48,min:24,max:64,unit:\"px\"},pressedScale:{type:ControlType.Number,title:\"pressedScale\",defaultValue:.98,min:.9,max:1,step:.01},padding:{type:ControlType.Number,title:\"padding\",defaultValue:20,min:8,max:80,unit:\"px\"},radius:{type:ControlType.Number,title:\"radius\",defaultValue:20,min:4,max:40},background:{type:ControlType.Color,title:\"background\",defaultValue:\"#FFB73F\"},backgroundHover:{type:ControlType.Color,title:\"backgroundHover\",defaultValue:\"#FFC360\"},backgroundPressed:{type:ControlType.Color,title:\"backgroundPressed\",defaultValue:\"#FFCF81\"},textSize:{type:ControlType.Number,title:\"textSize\",defaultValue:14,min:10,max:18},text:{type:ControlType.String,title:\"text\",defaultValue:\"Simular agora\"},extraParams:{type:ControlType.String,title:\"extraParams\",defaultValue:\"\"},tracking:{type:ControlType.String,title:\"tracking\",defaultValue:\"simulador\"},content:{type:ControlType.Color,title:\"content\",defaultValue:\"#1A1000\"},contentHover:{type:ControlType.Color,title:\"contentHover\",defaultValue:\"#1A1000\"},contentPressed:{type:ControlType.Color,title:\"contentPressed\",defaultValue:\"#1A1000\"},stroke:{type:ControlType.Number,title:\"stroke\",defaultValue:1,min:0,max:4,unit:\"px\"},border:{type:ControlType.Color,title:\"border\",defaultValue:\"#FFB73F\"},borderHover:{type:ControlType.Color,title:\"borderHover\",defaultValue:\"#FFB73F\"},borderPressed:{type:ControlType.Color,title:\"borderPressed\",defaultValue:\"#FFB73F\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SimulatorButton_old\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"4YAC2C,IAAsE,IAA4B,CAAoC,EAAK,0BAAgC,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,CAAO,GAAU,CAAC,UAAQ,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAS,EAAM,WAAW,mEAAmE,EASplB,EAAK,EAT+mB,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,GAAG,GA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