{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/oDyZ2JsSgWxPpuefXxvc/VcNJ6dqOnuV0fR3M1esS/PathToProducts.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";export function PathToProducts(props){const{number,textAlign,mcmLink}=props//url\n;let roundedNumber;if(number>=0&&number<=5){roundedNumber=5;}else{const remainder=number%10;roundedNumber=remainder===5?number:Math.round(number/10)*10;}const formattedNumber=roundedNumber.toLocaleString();const link=typeof mcmLink===\"string\"?mcmLink:mcmLink?.url;const textStyle={fontFamily:\"Helvetica Neue eText Pro Roman, Arial, sans-serif\",fontSize:\"11px\",lineHeight:\"1.2em\",color:\"#006699\",textAlign,cursor:\"pointer\"};return /*#__PURE__*/_jsx(\"div\",{style:textStyle,children:/*#__PURE__*/_jsxs(motion.a,{href:mcmLink,whileHover:{color:\"#333333\",textDecorationLine:\"underline\"},style:{all:\"unset\",color:\"#006699\",cursor:\"pointer\"},children:[formattedNumber,\" products\"]})});}addPropertyControls(PathToProducts,{number:{type:ControlType.Number,title:\"Number\",defaultValue:0},mcmLink:{type:ControlType.Link,title:\"Link\",defaultValue:null},textAlign:{type:ControlType.Enum,title:\"Text Alignment\",options:[\"left\",\"right\",\"center\"],defaultValue:\"right\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"PathToProducts\":{\"type\":\"reactComponent\",\"name\":\"PathToProducts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PathToProducts.map"],
  "mappings": "qEAAsJ,SAASA,EAAeC,EAAM,CAAC,GAAK,CAAC,OAAAC,EAAO,UAAAC,EAAU,QAAAC,CAAO,EAAEH,EAChNI,EAAiBH,GAAQ,GAAGA,GAAQ,EAAGG,EAAc,EAAkCA,EAAVH,EAAO,KAA6B,EAAEA,EAAO,KAAK,MAAMA,EAAO,EAAE,EAAE,GAAI,IAAMI,EAAgBD,EAAc,eAAe,EAAQE,EAAK,OAAOH,GAAU,SAASA,EAAQA,GAAS,IAAmK,OAAoBI,EAAK,MAAM,CAAC,MAA/K,CAAC,WAAW,oDAAoD,SAAS,OAAO,WAAW,QAAQ,MAAM,UAAU,UAAAL,EAAU,OAAO,SAAS,EAAkD,SAAsBM,EAAMC,EAAO,EAAE,CAAC,KAAKN,EAAQ,WAAW,CAAC,MAAM,UAAU,mBAAmB,WAAW,EAAE,MAAM,CAAC,IAAI,QAAQ,MAAM,UAAU,OAAO,SAAS,EAAE,SAAS,CAACE,EAAgB,WAAW,CAAC,CAAC,CAAC,CAAC,CAAE,CAACK,EAAoBX,EAAe,CAAC,OAAO,CAAC,KAAKY,EAAY,OAAO,MAAM,SAAS,aAAa,CAAC,EAAE,QAAQ,CAAC,KAAKA,EAAY,KAAK,MAAM,OAAO,aAAa,IAAI,EAAE,UAAU,CAAC,KAAKA,EAAY,KAAK,MAAM,iBAAiB,QAAQ,CAAC,OAAO,QAAQ,QAAQ,EAAE,aAAa,OAAO,CAAC,CAAC",
  "names": ["PathToProducts", "props", "number", "textAlign", "mcmLink", "roundedNumber", "formattedNumber", "link", "p", "u", "motion", "addPropertyControls", "ControlType"]
}
