(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tcg_pvc_BadgeCustom","pvc_ExternalLink"],{"0221":function(t,n,e){},"13d5":function(t,n,e){"use strict";var i=e("23e7"),r=e("d58f").left,o=e("a640"),a=e("ae40"),c=o("reduce"),s=a("reduce",{1:0});i({target:"Array",proto:!0,forced:!c||!s},{reduce:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},3770:function(t,n,e){},"5d96":function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"center"},[e("div",{staticClass:"mb-badge panel"},[e("div",{staticClass:"mb-badge-header",style:t.style},[t._v(" "+t._s(t.evaluateSlot(t.slots.title))+" ")]),e("topic-component-group",{attrs:{"topic-components":t.options.components,item:t.item}})],1),t.options&&t.options.externalLink?e("external-link",{attrs:{options:t.options.externalLink,type:"badge-custom"}}):t._e()],1)},r=[],o=e("f076"),a=e("076f"),c=e("b04c"),s={name:"BadgeCustom",components:{ExternalLink:c["default"]},mixins:[o["a"]],computed:{style:function(){var t,n=(this.options||{}).titleBackground;return t=n?"function"===typeof n?n(this.$store.state):n:"#444",{background:t}}},beforeCreate:function(){this.$options.components.TopicComponentGroup=a["default"]}},u=s,l=(e("9ca9"),e("2877")),f=Object(l["a"])(u,i,r,!1,null,"98c5df0a",null);n["default"]=f.exports},"9ca9":function(t,n,e){"use strict";var i=e("3770"),r=e.n(i);r.a},b04c:function(t,n,e){"use strict";e.r(n);var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"external-link"},[e("a",{attrs:{href:t.externalLinkHref,target:"_blank"}},[t._v(" "+t._s(t.externalLinkText)+" "),e("font-awesome-icon",{attrs:{icon:"external-link-alt","aria-hidden":"true"}})],1)])},r=[],o=(e("99af"),e("b0c0"),e("f076")),a={mixins:[o["a"]],props:["count","limit","type"],computed:{externalLinkCount:function(){return this.count-this.limit},externalLinkAction:function(){var t,n=this.options.action;return n&&(t=n(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}}},c=a,s=(e("c110"),e("2877")),u=Object(s["a"])(c,i,r,!1,null,"61aa65fb",null);n["default"]=u.exports},c110:function(t,n,e){"use strict";var i=e("0221"),r=e.n(i);r.a},d58f:function(t,n,e){var i=e("1c0b"),r=e("7b0b"),o=e("44ad"),a=e("50c4"),c=function(t){return function(n,e,c,s){i(e);var u=r(n),l=o(u),f=a(u.length),p=t?f-1:0,d=t?-1:1;if(c<2)while(1){if(p in l){s=l[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in l&&(s=e(s,l[p],p,u));return s}};t.exports={left:c(!1),right:c(!0)}},f076:function(t,n,e){"use strict";e("4de4"),e("caad"),e("13d5"),e("b64b"),e("2532");var i,r,o=e("b85c"),a=e("53ca"),c={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 n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!t)return t;var r,c=Object(a["a"])(t);if("function"===c){var s=this.$store.state,u=this.$controller,l=t,f=this.item;r=f?l(s,f,u):l(s)}else r=t;if(!1===r);else if(!e.includes("currency")&&!r)return i;var p,d=Object(o["a"])(e);try{var h=function(){var t=p.value,e=n.$config.transforms[t],i=void 0,o=e.globals;o&&(i=Object.keys(window).filter((function(t){return o.includes(t)})).reduce((function(t,n){return t[n]=window[n],t}),{}));var a=e.transform;r=a(r,i)};for(d.s();!(p=d.n()).done;)h()}catch(v){d.e(v)}finally{d.f()}return r}}},s=c,u=e("2877"),l=Object(u["a"])(s,i,r,!1,null,null,null);n["a"]=l.exports}}]);
//# sourceMappingURL=tcg_pvc_BadgeCustom.18c3d6c3.js.map