{"version":3,"file":"BVGate.CBlTcgML.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Q8uMVELV4q57h2jufCb0/25PTc75EpDnw4x6mrSJd/BVGate.js"],"sourcesContent":["// Shown instead of track-record numbers until enough tips are settled.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{C,card}from\"https://framerusercontent.com/modules/EZptLJalFDyuo9exD2bV/XECaz5W7a0YnRIxkhJCM/BVSite.js\";/** Track-record numbers stay hidden until enough tips are settled to mean something. */export const MIN_SETTLED=50;export function RecordGate({picks,pending,since,compact}){const left=Math.max(0,MIN_SETTLED-picks);const started=since?new Date(since).toLocaleDateString(\"en-GB\",{day:\"numeric\",month:\"long\",year:\"numeric\"}):\"\";return /*#__PURE__*/_jsxs(\"div\",{style:card({padding:compact?20:28,display:\"flex\",flexDirection:\"column\",gap:14}),children:[/*#__PURE__*/_jsxs(\"h2\",{className:\"bv-disp\",style:{margin:0,fontSize:compact?26:32},children:[\"Results publish after \",MIN_SETTLED,\" settled tips\"]}),/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontSize:15,lineHeight:1.6,color:C.body,maxWidth:640},children:[\"A handful of results says more about luck than skill, so we wait for a fair sample before showing hit rate and profit. Every tip is already logged before kickoff at the price we showed\",started?`, since ${started}`:\"\",\".\"]}),/*#__PURE__*/_jsx(\"div\",{role:\"progressbar\",\"aria-valuemin\":0,\"aria-valuemax\":MIN_SETTLED,\"aria-valuenow\":Math.min(picks,MIN_SETTLED),\"aria-label\":\"Settled tips so far\",style:{position:\"relative\",height:6,borderRadius:99,background:C.soft,overflow:\"hidden\",maxWidth:520},children:/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,top:0,bottom:0,width:`${Math.min(100,picks/MIN_SETTLED*100)}%`,borderRadius:99,background:C.gold}})}),/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:13.5,color:C.muted,fontVariantNumeric:\"tabular-nums\"},children:[picks,\" of \",MIN_SETTLED,\" settled \\xb7 \",left,\" to go\",pending?` \\xb7 ${pending} waiting for full time`:\"\"]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"RecordGate\":{\"type\":\"reactComponent\",\"name\":\"RecordGate\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"MIN_SETTLED\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"uKAC2R,SAAgB,EAAW,CAAC,QAAM,UAAQ,QAAM,WAAS,CAAC,IAAM,EAAK,KAAK,IAAI,EAAA,GAAc,CAAK,EAAQ,EAAQ,EAAM,IAAI,KAAK,CAAK,CAAC,CAAC,mBAAmB,QAAQ,CAAC,IAAI,UAAU,MAAM,OAAO,KAAK,SAAS,CAAC,EAAE,GAAG,OAAoB,EAAM,MAAM,CAAC,MAAM,EAAK,CAAC,QAAQ,EAAQ,GAAG,GAAG,QAAQ,OAAO,cAAc,SAAS,IAAI,EAAE,CAAC,EAAE,SAAS,CAAc,EAAM,KAAK,CAAC,UAAU,UAAU,MAAM,CAAC,OAAO,EAAE,SAAS,EAAQ,GAAG,EAAE,EAAE,SAAS,CAAC,4BAAqC,eAAe,CAAC,CAAC,EAAe,EAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,GAAG,WAAW,IAAI,MAAM,EAAE,KAAK,SAAS,GAAG,EAAE,SAAS,CAAC,2LAA2L,EAAQ,WAAW,IAAU,GAAG,GAAG,CAAC,CAAC,EAAe,EAAK,MAAM,CAAC,KAAK,cAAc,gBAAgB,EAAE,gBAAA,GAA4B,gBAAgB,KAAK,IAAI,EAAA,EAAiB,EAAE,aAAa,sBAAsB,MAAM,CAAC,SAAS,WAAW,OAAO,EAAE,aAAa,GAAG,WAAW,EAAE,KAAK,SAAS,SAAS,SAAS,GAAG,EAAE,SAAsB,EAAK,OAAO,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,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