{"version":3,"file":"Trustppilotwidget.CMF702IM.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Tg7l9NOrhBGfS6JZb4Fb/SUlDdavDC1WM3dqLynbo/Trustppilotwidget.js"],"sourcesContent":["// @framerSupportedLayoutWidth any\n// @framerSupportedLayoutHeight any\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const DEFAULT_REVIEW_URL=\"https://www.trustpilot.com/review/israjets.com\";function Star({color,size}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:color,\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M12 17.27 18.18 21 16.54 13.97 22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z\"})});}export default function TrustpilotReviewsBar(props){const effectiveReviewUrl=(props.reviewUrl||\"\").trim()||DEFAULT_REVIEW_URL;const justifyContent=props.alignment===\"left\"?\"flex-start\":props.alignment===\"right\"?\"flex-end\":\"center\";return /*#__PURE__*/_jsx(\"div\",{style:{width:props.width,minHeight:props.height,display:\"flex\",alignItems:\"center\",justifyContent,...props.style},children:/*#__PURE__*/_jsxs(\"a\",{href:effectiveReviewUrl,target:\"_blank\",rel:\"noopener noreferrer\",style:{display:\"flex\",alignItems:\"center\",justifyContent,gap:props.gap,width:\"100%\",minHeight:props.height,textDecoration:\"none\",color:props.textColor,fontSize:props.fontSize,lineHeight:1,userSelect:\"none\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{whiteSpace:\"nowrap\"},children:[props.prefixText,\" \",props.reviewCountText,\" \",props.suffixText]}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",gap:2},children:[/*#__PURE__*/_jsx(Star,{color:props.starColor,size:props.starSize}),/*#__PURE__*/_jsx(Star,{color:props.starColor,size:props.starSize}),/*#__PURE__*/_jsx(Star,{color:props.starColor,size:props.starSize}),/*#__PURE__*/_jsx(Star,{color:props.starColor,size:props.starSize}),/*#__PURE__*/_jsx(Star,{color:props.starColor,size:props.starSize})]}),/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},children:props.brandText})]})});}TrustpilotReviewsBar.defaultProps={reviewUrl:DEFAULT_REVIEW_URL,reviewCountText:\"86\",prefixText:\"See our\",suffixText:\"reviews on\",brandText:\"Trustpilot\",textColor:\"#ffffff\",starColor:\"#00b67a\",alignment:\"center\",fontSize:14,gap:10,starSize:14,height:\"28px\",width:\"100%\"};addPropertyControls(TrustpilotReviewsBar,{reviewCountText:{type:ControlType.String,title:\"Reviews\"},reviewUrl:{type:ControlType.String,title:\"Review URL\"},prefixText:{type:ControlType.String,title:\"Prefix\"},suffixText:{type:ControlType.String,title:\"Suffix\"},brandText:{type:ControlType.String,title:\"Brand\"},textColor:{type:ControlType.Color,title:\"Text\"},starColor:{type:ControlType.Color,title:\"Stars\"},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"]},fontSize:{type:ControlType.Number,title:\"Font\",min:10,max:30,step:1},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:40,step:1},starSize:{type:ControlType.Number,title:\"Star Size\",min:10,max:24,step:1},height:{type:ControlType.String,title:\"Height\"},width:{type:ControlType.String,title:\"Width\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TrustpilotReviewsBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Trustppilotwidget.map"],"mappings":"mKAEuL,SAAS,EAAK,CAAC,QAAM,QAAM,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAK,OAAO,EAAK,QAAQ,YAAY,KAAK,EAAM,cAAc,OAAO,UAAU,QAAQ,SAAsB,EAAK,OAAO,CAAC,EAAE,2FAA2F,CAAC,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