"use strict";const i=require("./tslib.es6-C4EgNkz1.js"),c=require("react"),m=require("classnames"),g=s=>{var{number:r,type:a="img",className:t}=s,n=i.__rest(s,["number","type","className"]);const e=Math.round(parseInt(String(r),10));return e<=0?null:c.createElement("span",Object.assign({},n,{className:m("badge",t),role:a==="img"?"img":void 0,"aria-hidden":a!=="img"}),e>99?"99+":e)};exports.EbayBadge=g;
