(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["tcg_pvc_OverlayToggleGroup"],{"13d5":function(e,t,n){"use strict";var r=n("23e7"),o=n("d58f").left,i=n("a640"),u=n("ae40"),s=i("reduce"),a=u("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!a},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},4698:function(e,t,n){},"625e":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.items.length?n("div",[n("div",{staticClass:"container"},[e.slots.title?n("h4",[e._v(" "+e._s(e.evaluateSlot(e.slots.title))+" ")]):e._e(),e._l(e.items,(function(t,r){return n("a",{key:r,staticClass:"button overlay-toggle",class:{active:e.isActive(t),mouseover:e.isMousedover(t)},attrs:{"data-key":e.keyForItem(t),href:"#"},on:{click:e.handleClick,mouseover:function(n){e.handleMouseover(e.keyForItem(t))},mouseout:e.handleMouseout}},[e._v(" "+e._s(e.keyForItem(t))+" ")])}))],2)]):e._e()},o=[],i=(n("d81d"),n("f076")),u={mixins:[i["a"]],data:function(){return{mouseover:null}},computed:{items:function(){return this.evaluateSlot(this.slots.items)}},methods:{isActive:function(e){var t=this.$store.state.map.imageOverlay,n=this.keyForItem(e);return t===n},keyForItem:function(e){var t=this.options.getKey;return t(e)},handleClick:function(e){e.preventDefault();var t=this.$store.state.map.imageOverlay,n=e.target.getAttribute("data-key");t===n?this.$store.commit("setImageOverlay",null):this.$store.commit("setImageOverlay",n)},handleMouseover:function(e){this.mouseover=e},handleMouseout:function(){this.mouseover=null},isMousedover:function(e){var t=this.keyForItem(e);return t===this.mouseover}}},s=u,a=(n("cd19"),n("2877")),c=Object(a["a"])(s,r,o,!1,null,"79b6e9f6",null);t["default"]=c.exports},cd19:function(e,t,n){"use strict";var r=n("4698"),o=n.n(r);o.a},d58f:function(e,t,n){var r=n("1c0b"),o=n("7b0b"),i=n("44ad"),u=n("50c4"),s=function(e){return function(t,n,s,a){r(n);var c=o(t),l=i(c),f=u(c.length),v=e?f-1:0,d=e?-1:1;if(s<2)while(1){if(v in l){a=l[v],v+=d;break}if(v+=d,e?v<0:f<=v)throw TypeError("Reduce of empty array with no initial value")}for(;e?v>=0:f>v;v+=d)v in l&&(a=n(a,l[v],v,c));return a}};e.exports={left:s(!1),right:s(!0)}},f076:function(e,t,n){"use strict";n("4de4"),n("caad"),n("13d5"),n("b64b"),n("2532");var r,o,i=n("b85c"),u=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 e=this.options||{};return e.nullValue}},beforeCreate:function(){},created:function(){},methods:{evaluateSlot:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!e)return e;var o,s=Object(u["a"])(e);if("function"===s){var a=this.$store.state,c=this.$controller,l=e,f=this.item;o=f?l(a,f,c):l(a)}else o=e;if(!1===o);else if(!n.includes("currency")&&!o)return r;var v,d=Object(i["a"])(n);try{var h=function(){var e=v.value,n=t.$config.transforms[e],r=void 0,i=n.globals;i&&(r=Object.keys(window).filter((function(e){return i.includes(e)})).reduce((function(e,t){return e[t]=window[t],e}),{}));var u=n.transform;o=u(o,r)};for(d.s();!(v=d.n()).done;)h()}catch(m){d.e(m)}finally{d.f()}return o}}},a=s,c=n("2877"),l=Object(c["a"])(a,r,o,!1,null,null,null);t["a"]=l.exports}}]);
//# sourceMappingURL=tcg_pvc_OverlayToggleGroup.91905086.js.map