import{W as e,X as s,_ as t,a9 as r,aa as n,a0 as a}from"./vendor.js?ver=3.1.10";import{_ as c}from"./fc-bits-ui.js?ver=3.1.10";const i=c({name:"Badge",props:["type","plain"],methods:{badgeText(e){switch(e){case"completed":return this.$t("Completed");case"active":return this.$t("Active");case"publish":case"published":return this.$t("Published");case"shipped":return this.$t("Shipped");case"success":return this.$t("Success");case"failed":return this.$t("Failed");case"canceled":return this.$t("Canceled");case"bounced":return this.$t("Bounced");case"pending":return this.$t("Pending");case"subscribed":return this.$t("Subscribed");case"unsubscribed":return this.$t("Unsubscribed");case"draft":return this.$t("Draft");case"transactional":return this.$t("Transactional");case"archived":return this.$t("Archived");case"future":return this.$t("Future");case"inactive":return this.$t("Inactive");case"processing":return this.$t("Processing");case"working":return this.$t("Working");case"scheduled":return this.$t("Scheduled");case"on-hold":return this.$t("On Hold");case"dispute":return this.$t("Dispute");case"licensed":return this.$t("Licensed");case"sent":return this.$t("Sent");case"complained":return this.$t("Complained");case"spammed":return this.$t("Spammed");case"sms_subscribed":return this.$t("SMS Subscribed");case"sms_unsubscribed":return this.$t("SMS Unsubscribed");case"sms_pending":return this.$t("SMS Pending");case"sms_bounced":return this.$t("SMS Bounced");case"paused":return this.$t("Paused");case"pending-scheduled":return this.$t("Pending Scheduled");case"cancelled":return this.$t("Cancelled");default:return e}}}},[["render",function(c,i,u,d,h,$){return e(),s("span",{class:a(["fcrm_badge","fcrm_badge_"+u.type+(u.plain?" fcrm_badge_plain":"")])},[t(c.$slots,"icon"),r(" "+n($.badgeText(u.type)),1)],2)}]]);export{i as B};
