{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/1mkt2plloPEOvoe16UUK/EUmeSZzQepu1cHilAvr7/LemonSqueezy.js", "ssg:https://framerusercontent.com/modules/aJopfsWjpIOclAvAVclL/Gn115YUQFXkVCDGmaoxN/Cu4gQ13Wi.js", "ssg:https://framerusercontent.com/modules/bSsufyxsFTt20S8rE5jj/Js9Kn7gcb8ESNLhjQgST/stylesPresetHeading3.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useEffect}from\"react\";/**\n *\n * LEMON SQUEEZY\n * By Benjamin\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 100\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */ export default function LemonSqueezy(props){const{styleOptions,hoverOptions}=props;const{backgroundColor,color,borderRadius,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft}=styleOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/* Only load the lemon script if you want an Overlay\n     * Otherwise, do not include\u2014also, only load it once\n     * whenever you have multiple instances on your page.\n     */ useConditionalScript(!props.isRedirect,\"https://app.lemonsqueezy.com/js/lemon.js\",\"lemon-squeezy-framer-component\");return /*#__PURE__*/ _jsx(motion.a,{href:props.url,className:props.isRedirect?\"\":\"lemonsqueezy-button\",target:props.isRedirect?\"_blank\":\"_self\",style:{fontSize:16,lineHeight:1,fontFamily:\"Inter\",fontWeight:500,...props.style,...buttonStyles,...props.fontControl,padding:paddingValue,color:color,backgroundColor:backgroundColor,borderRadius:borderRadius,userSelect:\"none\",placeContent:flexAlignSwitch(props.fontControl),whiteSpace:\"nowrap\"},whileHover:{scale:hoverOptions===null||hoverOptions===void 0?void 0:hoverOptions.hoverScale,backgroundColor:hoverOptions===null||hoverOptions===void 0?void 0:hoverOptions.hoverBackgroundColor,color:hoverOptions===null||hoverOptions===void 0?void 0:hoverOptions.hoverColor},transition:props.hoverTransition,children:props.text});};LemonSqueezy.displayName=\"Lemon Squeezy\";addPropertyControls(LemonSqueezy,{text:{title:\"Text\",type:ControlType.String,defaultValue:\"Buy Now\"},url:{title:\"Link\",type:ControlType.String,defaultValue:\"https://makelemonade.lemonsqueezy.com/checkout/buy/0929c351-abb3-49f7-a671-ba15406517dd\"},isRedirect:{title:\"Type\",type:ControlType.Boolean,enabledTitle:\"Link\",disabledTitle:\"Overlay\",defaultValue:true},fontControl:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},styleOptions:{type:ControlType.Object,title:\"Styles\",buttonTitle:\"Button, Font\",controls:{backgroundColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#40F\"},color:{type:ControlType.Color,defaultValue:\"#FFF\"},borderRadius:{type:ControlType.Number,title:\"Radius\",displayStepper:true,defaultValue:50},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:10,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\",],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0}}},hoverOptions:{type:ControlType.Object,title:\"Hover\",buttonTitle:\"Effect\",optional:true,description:\"Learn more about the Checkout options [here](https://docs.lemonsqueezy.com/help/checkout/checkout-overlay)\",controls:{hoverScale:{type:ControlType.Number,title:\"Scale\",min:0,max:10,displayStepper:true,step:.01,defaultValue:1.1},hoverBackgroundColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#111\",optional:true},hoverColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFF\",optional:true},hoverTransition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"spring\",stiffness:400,damping:30}}}}});const buttonStyles={display:\"flex\",placeItems:\"center\",placeContent:\"center\",textDecoration:\"none\"};/* Use external script conditionally */ const useConditionalScript=(condition,url,id)=>{useEffect(()=>{if(!condition)return;if(document.querySelector(`#${id}`))return;const script=document.createElement(\"script\");script.src=url;script.id=id;script.defer=true;script.onload=()=>{var ref;if(window.LemonSqueezy)return;(ref=window.createLemonSqueezy)===null||ref===void 0?void 0:ref.call(window);};document.body.appendChild(script);},[url,id,condition]);};/* Match flex content alignment with text align */ const flexAlignSwitch=fontControlStyles=>{if(fontControlStyles.textAlign===\"left\"){return\"flex-start\";}if(fontControlStyles.textAlign===\"right\"){return\"flex-end\";}return\"center\";};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LemonSqueezy\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"100\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LemonSqueezy.map", "import{fontStore as r}from\"framer\";r.loadWebFontsFromSelectors([\"GF;DM Sans-500\"]);export const fonts=[{family:\"DM Sans\",moduleAsset:{localModuleIdentifier:\"local-module:css/Cu4gQ13Wi:default\",url:\"https://fonts.gstatic.com/s/dmsans/v14/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhS2f3ZGMZpg.woff2\"},style:\"normal\",url:\"https://fonts.gstatic.com/s/dmsans/v14/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhS2f3ZGMZpg.woff2\",weight:\"500\"}];export const css=['.framer-HdHfu .framer-styles-preset-1i46cq8:not(.rich-text-wrapper), .framer-HdHfu .framer-styles-preset-1i46cq8.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", \"DM Sans Placeholder\", sans-serif; --framer-font-size: 14px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-HdHfu .framer-styles-preset-1i46cq8:not(.rich-text-wrapper), .framer-HdHfu .framer-styles-preset-1i46cq8.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", \"DM Sans Placeholder\", sans-serif; --framer-font-size: 11px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-HdHfu .framer-styles-preset-1i46cq8:not(.rich-text-wrapper), .framer-HdHfu .framer-styles-preset-1i46cq8.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", \"DM Sans Placeholder\", sans-serif; --framer-font-size: 9px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #ffffff; --framer-text-decoration: none; --framer-text-transform: none; } }'];export const className=\"framer-HdHfu\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "import{fontStore}from\"framer\";fontStore.loadWebFontsFromSelectors([\"GF;DM Sans-500\"]);export const fonts=[{family:\"DM Sans\",moduleAsset:{localModuleIdentifier:\"local-module:css/stylesPresetHeading3:default\",url:\"https://fonts.gstatic.com/s/dmsans/v14/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhTmf3ZGMZpg.ttf\"},style:\"normal\",url:\"https://fonts.gstatic.com/s/dmsans/v14/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhTmf3ZGMZpg.ttf\",weight:\"500\"}];export const css=['.framer-TvBf7 .framer-styles-preset-ci2ngw:not(.rich-text-wrapper), .framer-TvBf7 .framer-styles-preset-ci2ngw.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", sans-serif; --framer-font-size: 14px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-text-alignment: start; --framer-text-color: var(--token-93d4c4dc-43cb-4cc6-808b-23dc383804e0, #404040); --framer-text-decoration: none; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-TvBf7 .framer-styles-preset-ci2ngw:not(.rich-text-wrapper), .framer-TvBf7 .framer-styles-preset-ci2ngw.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", sans-serif; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-text-alignment: start; --framer-text-color: var(--token-93d4c4dc-43cb-4cc6-808b-23dc383804e0, #404040); --framer-text-decoration: none; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-TvBf7 .framer-styles-preset-ci2ngw:not(.rich-text-wrapper), .framer-TvBf7 .framer-styles-preset-ci2ngw.rich-text-wrapper h3 { --framer-font-family: \"DM Sans\", sans-serif; --framer-font-size: 14px; --framer-font-style: normal; --framer-font-weight: 500; --framer-letter-spacing: -0.2px; --framer-line-height: 1.7em; --framer-text-alignment: start; --framer-text-color: var(--token-93d4c4dc-43cb-4cc6-808b-23dc383804e0, #404040); --framer-text-decoration: none; --framer-text-transform: none; } }'];export const className=\"framer-TvBf7\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":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AAO,GAAGF,EAAGE,EAAO,MAAM,GAAKA,EAAO,OAAO,IAAI,CAAC,IAAIC,EAAOC,EAAO,eAAqBD,EAAIC,EAAO,sBAAsB,MAAMD,IAAM,QAAcA,EAAI,KAAKC,CAAM,CAAE,EAAE,SAAS,KAAK,YAAYF,CAAM,CAAE,EAAE,CAACH,EAAIC,EAAGF,CAAS,CAAC,CAAE,EAA2DH,EAAgBU,GAAuBA,EAAkB,YAAY,OAAc,aAAiBA,EAAkB,YAAY,QAAe,WAAkB,SCbttGC,EAAE,0BAA0B,CAAC,gBAAgB,CAAC,EAAS,IAAMC,EAAM,CAAC,CAAC,OAAO,UAAU,YAAY,CAAC,sBAAsB,qCAAqC,IAAI,6GAA6G,EAAE,MAAM,SAAS,IAAI,8GAA8G,OAAO,KAAK,CAAC,EAAeC,EAAI,CAAC,8fAA8f,ojBAAojB,+iBAA+iB,EAAeC,EAAU,eCAljEC,EAAU,0BAA0B,CAAC,gBAAgB,CAAC,EAAS,IAAMC,EAAM,CAAC,CAAC,OAAO,UAAU,YAAY,CAAC,sBAAsB,gDAAgD,IAAI,2GAA2G,EAAE,MAAM,SAAS,IAAI,4GAA4G,OAAO,KAAK,CAAC,EAAeC,EAAI,CAAC,ufAAuf,6iBAA6iB,yiBAAyiB,EAAeC,EAAU",
  "names": ["LemonSqueezy", "props", "styleOptions", "hoverOptions", "backgroundColor", "color", "borderRadius", "padding", "paddingPerSide", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingValue", "useConditionalScript", "p", "motion", "buttonStyles", "flexAlignSwitch", "addPropertyControls", "ControlType", "condition", "url", "id", "ue", "script", "ref", "window", "fontControlStyles", "fontStore", "fonts", "css", "className", "fontStore", "fonts", "css", "className"]
}
