"use strict";(self["webpackChunkoptinmonster_wordpress_plugin_vue_app"]=self["webpackChunkoptinmonster_wordpress_plugin_vue_app"]||[]).push([[295],{61365:function(e,t,s){s.r(t),s.d(t,{default:function(){return g}});var a=function(){var e=this,t=e._self._c;return t("core-page",{staticClass:"omapi-monsterleads-wrapper"},[e.connected||e.isLoading?t("div",[t("common-alerts",{attrs:{alerts:e.alerts}}),t("common-tabnav",{attrs:{active:e.currentTab,tabs:e.allTabs},on:{go:e.navTo}}),t(`monsterleads-${e.currentTab}`,{tag:"component"})],1):t("monsterleads-not-connected"),t("monsterleads-modal-export")],1)},n=[],o=s(20629),r=s(58850),l={mixins:[r.e],data(){return{pageSlug:"monsterleads"}},computed:{...(0,o.rn)(["alerts"]),...(0,o.Se)(["connected","shouldFetchUser"]),isLoading(){return this.shouldFetchUser||this.$store.getters.isLoading("monsterleads")}}},i=l,u=s(1001),c=(0,u.Z)(i,a,n,!1,null,null,null),g=c.exports},58850:function(e,t,s){s.d(t,{e:function(){return r}});var a=s(27361),n=s.n(a),o=s(20629);const r={computed:{...(0,o.Se)("tabs",["settingsTab","settingsTabs"]),allTabs(){return this.$store.getters[`tabs/${this.pageSlug}Tabs`]},currentTab(){return this.$store.getters[`tabs/${this.pageSlug}Tab`]},selectedTab(){return this.$get("$route.params.selectedTab")}},mounted(){this.goToSelected()},watch:{$route(e){this.goTo(n()(e,"params.selectedTab"))}},methods:{...(0,o.nv)("tabs",["goTab"]),navTo(e){this.goTab({page:this.pageSlug,tab:e,baseUrl:""})},goTo(e){this.goTab({page:this.pageSlug,tab:e})},goToSelected(){this.selectedTab&&this.goTo(this.selectedTab)}}}}}]);
//# sourceMappingURL=monsterleads.8a839db2.js.map