{ "version": 3, "sources": ["../../account/highlight_badge.tsx"], "sourcesContent": ["import * as React from \"react\"\nimport {classNames} from \"@cling/lib.web.utils\"\nimport {i18n} from \"@cling/lib.web.i18n\"\n\nexport function HighlightBadge({\n onClick,\n margin_left,\n type,\n overlay,\n className,\n}: {\n onClick?: () => void\n margin_left?: boolean\n type: \"pro\" | \"new\"\n overlay?: boolean\n className?: string\n}) {\n return (\n <div\n className={classNames(\"highlight-badge\", className, {\n \"highlight-badge--margin-left\": margin_left,\n \"highlight-badge--pro\": type === \"pro\",\n \"highlight-badge--new\": type === \"new\",\n \"highlight-badge--overlay\": overlay,\n })}\n onClick={onClick}\n >\n {type === \"pro\" && \"PRO\"}\n {type === \"new\" && i18n.new_.toUpperCase()}\n </div>\n )\n}\n"], "mappings": "kKAAAA,IAIO,SAASC,EAAe,CAC3B,QAAAC,EACA,YAAAC,EACA,KAAAC,EACA,QAAAC,EACA,UAAAC,CACJ,EAMG,CACC,OACIC,EAAC,OACG,UAAWC,EAAW,kBAAmBF,EAAW,CAChD,+BAAgCH,EAChC,uBAAwBC,IAAS,MACjC,uBAAwBA,IAAS,MACjC,2BAA4BC,CAChC,CAAC,EACD,QAASH,GAERE,IAAS,OAAS,MAClBA,IAAS,OAASK,EAAK,KAAK,YAAY,CAC7C,CAER,CA3BgBC,EAAAT,EAAA", "names": ["init_compat_module", "HighlightBadge", "onClick", "margin_left", "type", "overlay", "className", "_", "classNames", "i18n", "__name"] }