1import{f as a}from"./faCheck-d7b0f1f5.js";import c from"./TmlIconButton-f54917dc.js";import{D as i,G as m,N as s,K as d}from"./vue-4881d6fd.js";import{h as r}from"./index-b44f48b9.js";import"./gtm-f0482fb8.js";import"./sentry-c8447f6c.js";const u={name:"TmlBadge",components:{TmlIconButton:c},props:{badge:{type:Object,required:!0},hideName:{type:Boolean,default:!1},maxSize:{type:String,default:"125px"},clickable:{type:Boolean,default:!0},progressBadge:{type:Boolean,default:!1}},emits:["click"],data(){return{faCheck:a.faCheck}},computed:{getIcon(){return this.progressBadge&&this.badge.unlocked?a.faCheck:this.badge.icon}}};function g(n,t,e,f,b,o){const l=i("tml-icon-button");return m(),s(l,{class:d(["p-2 tml-badge",{"pointer-none":!e.clickable}]),text:e.hideName?null:e.badge.name,icon:o.getIcon,thumbnail:e.badge.image.icon||e.badge.images.legacy,"background-overlay":"","max-size":e.maxSize,circle:"",disabled:!e.badge.unlocked,onClick:t[0]||(t[0]=p=>n.$emit("click"))},null,8,["class","text","icon","thumbnail","max-size","disabled"])}const C=r(u,[["render",g]]);export{C as default}; 2//# sourceMappingURL=TmlBadge-8a5e8661.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.