(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tcg_pvc_Badge","pvc_ExternalLink"],{"0221":function(t,e,n){},"13d5":function(t,e,n){"use strict";var a=n("23e7"),i=n("d58f").left,r=n("a640"),o=n("ae40"),s=r("reduce"),l=o("reduce",{1:0});a({target:"Array",proto:!0,forced:!s||!l},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"4fe3":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.shouldShowBadge?n("div",{staticClass:"center"},[n("div",{staticClass:"mb-badge panel"},[n("div",{staticClass:"mb-badge-header",style:t.style},[t._v(" "+t._s(t.evaluateSlot(t.slots.title))+" ")]),n("div",{staticClass:"mb-badge-body"},[n("h1",[t._v(t._s(t.evaluateSlot(t.slots.value)))]),n("strong",[t._v(t._s(t.evaluateSlot(t.slots.description)))])])]),t.options&&t.options.externalLink?n("external-link",{attrs:{options:t.options.externalLink,type:"badge"}}):t._e()],1):t._e()},i=[],r=n("f076"),o=n("b04c"),s={name:"Badge",components:{ExternalLink:o["default"]},mixins:[r["a"]],computed:{style:function(){var t=this.evaluateSlot(this.slots.titleBackground);return{background:t}},shouldShowBadge:function(){var t=!0;return this.$props.options.showOnlyIfData&&0===this.evaluatedItem.length&&(t=!1),t},evaluatedItem:function(){var t=[],e=this.evaluateSlot(this.slots.dataItem);return e&&t.push(e),t}}},l=s,c=(n("89cd"),n("2877")),u=Object(c["a"])(l,a,i,!1,null,"59d11fbd",null);e["default"]=u.exports},"89cd":function(t,e,n){"use strict";var a=n("9814"),i=n.n(a);i.a},9814:function(t,e,n){},b04c:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"external-link"},[n("a",{attrs:{href:t.externalLinkHref,target:"_blank"}},[t._v(" "+t._s(t.externalLinkText)+" "),n("font-awesome-icon",{attrs:{icon:"external-link-alt","aria-hidden":"true"}})],1)])},i=[],r=(n("99af"),n("b0c0"),n("f076")),o={mixins:[r["a"]],props:["count","limit","type"],computed:{externalLinkCount:function(){return this.count-this.limit},externalLinkAction:function(){var t,e=this.options.action;return e&&(t=e(this.externalLinkCount)||"See more at "),t},externalLinkDataFromState:function(){var t=this.options.data;return this.evaluateSlot(t)},externalLinkText:function(){if(this.options){var t=this.options.name||"";return"vertical-table"===this.type?t?"".concat(this.externalLinkAction," at ").concat(t):"".concat(this.externalLinkAction):"horizontal-table"===this.type?"".concat(this.externalLinkAction):"".concat(this.externalLinkDataFromState)}return null},externalLinkHref:function(){return this.options?this.evaluateSlot(this.options.href):null}}},s=o,l=(n("c110"),n("2877")),c=Object(l["a"])(s,a,i,!1,null,"61aa65fb",null);e["default"]=c.exports},c110:function(t,e,n){"use strict";var a=n("0221"),i=n.n(a);i.a},d58f:function(t,e,n){var a=n("1c0b"),i=n("7b0b"),r=n("44ad"),o=n("50c4"),s=function(t){return function(e,n,s,l){a(n);var c=i(e),u=r(c),f=o(c.length),d=t?f-1:0,h=t?-1:1;if(s<2)while(1){if(d in u){l=u[d],d+=h;break}if(d+=h,t?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:f>d;d+=h)d in u&&(l=n(l,u[d],d,c));return l}};t.exports={left:s(!1),right:s(!0)}},f076:function(t,e,n){"use strict";n("4de4"),n("caad"),n("13d5"),n("b64b"),n("2532");var a,i,r=n("b85c"),o=n("53ca"),s={props:{slots:{type:Object,default:function(){return{}}},options:{type:Object,default:function(){return{}}},item:{type:Object,default:function(){return{}}}},computed:{nullValue:function(){var t=this.options||{};return t.nullValue}},beforeCreate:function(){},created:function(){},methods:{evaluateSlot:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t)return t;var i,s=Object(o["a"])(t);if("function"===s){var l=this.$store.state,c=this.$controller,u=t,f=this.item;i=f?u(l,f,c):u(l)}else i=t;if(!1===i);else if(!n.includes("currency")&&!i)return a;var d,h=Object(r["a"])(n);try{var v=function(){var t=d.value,n=e.$config.transforms[t],a=void 0,r=n.globals;r&&(a=Object.keys(window).filter((function(t){return r.includes(t)})).reduce((function(t,e){return t[e]=window[e],t}),{}));var o=n.transform;i=o(i,a)};for(h.s();!(d=h.n()).done;)v()}catch(p){h.e(p)}finally{h.f()}return i}}},l=s,c=n("2877"),u=Object(c["a"])(l,a,i,!1,null,null,null);e["a"]=u.exports}}]);
//# sourceMappingURL=tcg_pvc_Badge.37101695.js.map