{"version":3,"file":"StoreButton.CQfuYi8P.mjs","names":["React.useState","React.useId"],"sources":["https:/framerusercontent.com/modules/ujAGS322bmD1IeYyiATg/UytatMgvCB3uL9pSEoZK/StoreButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,Link}from\"framer\";// STORE BUTTON — port of LIBRARY `Button / Variant=App Store | Google Play, Size=Large`\n// (used in the `Bottom CTA` block, 2026-10-09). Navy pill h56 (Platform - Bg/brand/solid\n// #030A56, hover = Button primary hover #0E1578), padding 0/21.68, logo + two-line label\n// (gap 7.23): small line Medium 11.56, big line Bold 16.19, white. Widths are fixed as in\n// Figma: App Store 192.4, Google Play 201.4 — content centred.\n// Figma sets the label in Metropolis; the site has no Metropolis, so it uses the brand font\n// Plus Jakarta Sans. Logos are the exact Figma vectors (SVG export).\n// `link` empty = no href (app not released yet) — the pill still renders and hovers.\n// v2 (2026-10-20, Julia): GOOGLE PLAY LIVE — when `link` is empty and store=\"google\" the pill\n//   falls back to the built-in store URL (GOOGLE_PLAY_URL), so every Google Play pill on the\n//   site is clickable without touching the instances. App Store stays inert until its URL ships.\n//   An explicit `link` still wins.\nconst FONT='\"Plus Jakarta Sans\", \"Inter\", sans-serif';const BG=\"#030A56\";const BG_HOVER=\"#0E1578\";// Same URL as Header.tsx v23 / StoreBadge.tsx v2 / Footer.tsx v33.\nconst GOOGLE_PLAY_URL=\"https://play.google.com/store/apps/details?id=com.soldsafe.app\";const APP_STORE_URL=\"\";const AppleLogo=()=>/*#__PURE__*/_jsxs(\"svg\",{width:\"20.48\",height:\"25.18\",viewBox:\"0 0 21 26\",fill:\"none\",\"aria-hidden\":\"true\",style:{display:\"block\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M17.1076 13.3884C17.1326 11.4449 18.1764 9.606 19.8321 8.58807C18.7876 7.0963 17.038 6.15047 15.2178 6.09352C13.2764 5.88974 11.3943 7.25523 10.4049 7.25523C9.39649 7.25523 7.87329 6.11375 6.23305 6.1475C4.09508 6.21657 2.10195 7.4321 1.06178 9.30126C-1.17417 13.1725 0.493646 18.8618 2.6355 21.991C3.70712 23.5233 4.95953 25.2349 6.59829 25.1742C8.20191 25.1077 8.80083 24.1516 10.7365 24.1516C12.6543 24.1516 13.2162 25.1742 14.8882 25.1356C16.609 25.1077 17.6931 23.5965 18.7271 22.0497C19.4971 20.9579 20.0896 19.7513 20.4826 18.4744C18.4604 17.6191 17.11 15.584 17.1076 13.3884Z\",fill:\"white\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M13.9494 4.03561C14.8877 2.9093 15.3499 1.46162 15.238 0C13.8046 0.150552 12.4805 0.835626 11.5296 1.91872C10.5997 2.97696 10.1158 4.39917 10.2073 5.80492C11.6412 5.81969 13.0509 5.15318 13.9494 4.03561Z\",fill:\"white\"})]});const GooglePlayLogo=({uid})=>/*#__PURE__*/_jsxs(\"svg\",{width:\"26.69\",height:\"29.74\",viewBox:\"0 0 27 30\",fill:\"none\",\"aria-hidden\":\"true\",style:{display:\"block\",flexShrink:0},children:[/*#__PURE__*/_jsx(\"path\",{d:\"M0.535289 0.458909C0.198855 0.814997 0 1.36763 0 2.08327V27.6522C0 28.369 0.198855 28.9205 0.535289 29.2766L0.620842 29.3598L14.9441 15.0365V14.8677V14.6989L0.620842 0.374512L0.535289 0.458909Z\",fill:`url(#${uid}a)`}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.718 19.8127L14.9443 15.0367V14.8679V14.6991L19.7191 9.92432L19.8267 9.98559L25.4836 13.1996C27.0987 14.1176 27.0987 15.6194 25.4836 16.5385L19.8267 19.7526L19.718 19.8127Z\",fill:`url(#${uid}b)`}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.8263 19.7512L14.9428 14.8677L0.535157 29.2765C1.06698 29.8407 1.94679 29.9101 2.93759 29.3482L19.8263 19.7512Z\",fill:`url(#${uid}c)`}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.8263 9.98442L2.93759 0.388546C1.94679 -0.174489 1.06698 -0.103964 0.535157 0.460227L14.944 14.8691L19.8263 9.98442Z\",fill:`url(#${uid}d)`}),/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"linearGradient\",{id:`${uid}a`,x1:\"13.6745\",y1:\"1.81274\",x2:\"-5.72769\",y2:\"21.2149\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#00A0FF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.0066\",stopColor:\"#00A1FF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.2601\",stopColor:\"#00BEFF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.5122\",stopColor:\"#00D2FF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.7604\",stopColor:\"#00DFFF\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#00E3FF\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{id:`${uid}b`,x1:\"27.586\",y1:\"14.8679\",x2:\"-0.387553\",y2:\"14.8679\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#FFE000\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.4087\",stopColor:\"#FFBD00\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.7754\",stopColor:\"#FFA500\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#FF9C00\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{id:`${uid}c`,x1:\"17.1743\",y1:\"17.5197\",x2:\"-9.13748\",y2:\"43.8315\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#FF3A44\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#C31162\"})]}),/*#__PURE__*/_jsxs(\"linearGradient\",{id:`${uid}d`,x1:\"-3.09347\",y1:\"-8.05143\",x2:\"8.65546\",y2:\"3.69751\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{stopColor:\"#32A071\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.0685\",stopColor:\"#2DA771\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.4762\",stopColor:\"#15CF74\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"0.8009\",stopColor:\"#06E775\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#00F076\"})]})]})]});const STORES={apple:{small:\"Download on the\",big:\"App Store\",width:192.4,label:\"Download on the App Store\"},google:{small:\"Get it On\",big:\"Google Play\",width:201.4,label:\"Get it on Google Play\"}};/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function StoreButton(props){const{store=\"apple\",link=\"\",newTab=true,style}=props;const s=STORES[store]??STORES.apple;// v2: explicit link, else the built-in store URL for that store (empty = inert).\nconst href=link||(store===\"google\"?GOOGLE_PLAY_URL:APP_STORE_URL);const[hover,setHover]=React.useState(false);const uid=React.useId().replace(/[^a-zA-Z0-9]/g,\"\");const pill=/*#__PURE__*/_jsxs(\"div\",{role:href?undefined:\"img\",\"aria-label\":href?undefined:s.label,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{...href?{}:style,boxSizing:\"border-box\",width:s.width,height:56,padding:\"0 21.68px\",borderRadius:9999,background:hover?BG_HOVER:BG,transition:\"background-color 150ms ease-in-out\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:7.23,cursor:href?\"pointer\":\"default\",WebkitTapHighlightColor:\"transparent\",touchAction:\"manipulation\",textDecoration:\"none\",flexShrink:0},children:[store===\"google\"?/*#__PURE__*/_jsx(GooglePlayLogo,{uid:uid}):/*#__PURE__*/_jsx(AppleLogo,{}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"flex-start\",fontFamily:FONT,color:\"#FFFFFF\",whiteSpace:\"nowrap\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:11.56,fontWeight:500,lineHeight:\"12px\"},children:s.small}),/*#__PURE__*/_jsx(\"span\",{style:{fontSize:16.19,fontWeight:700,lineHeight:\"16px\",marginTop:-.4},children:s.big})]})]});if(!href)return pill;return /*#__PURE__*/_jsx(Link,{href:href,openInNewTab:newTab,children:/*#__PURE__*/_jsx(\"a\",{\"aria-label\":s.label,style:{display:\"inline-flex\",textDecoration:\"none\",...style},children:pill})});}addPropertyControls(StoreButton,{store:{type:ControlType.Enum,title:\"Store\",options:[\"apple\",\"google\"],optionTitles:[\"App Store\",\"Google Play\"],defaultValue:\"apple\"},link:{type:ControlType.Link,title:\"Link\",description:\"Empty = the built-in store URL (Google Play is live; App Store not yet).\"},newTab:{type:ControlType.Boolean,title:\"New tab\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StoreButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StoreButton.map"],"mappings":"+LAgBG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,QAAQ,OAAK,GAAG,SAAO,GAAK,SAAO,EAAY,EAAE,EAAO,IAAQ,EAAO,MAC3H,EAAK,IAAO,IAAQ,SAAS,EAAgB,GAAoB,CAAC,EAAM,GAAUA,EAAe,EAAK,EAAQ,EAAIC,EAAY,CAAC,CAAC,QAAQ,gBAAgB,EAAE,EAAQ,EAAkB,EAAM,MAAM,CAAC,KAAK,EAAK,IAAA,GAAU,MAAM,aAAa,EAAK,IAAA,GAAU,EAAE,MAAM,iBAAiB,EAAS,EAAI,EAAE,iBAAiB,EAAS,EAAK,EAAE,MAAM,CAAC,GAAG,EAAK,CAAC,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