PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/ads/wp-content/plugins/optinmonster/vue/dist/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/ads/wp-content/plugins/optinmonster/vue/dist/js/campaigns.718530af.js

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["campaigns"],{"0e4b":function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("core-page",{staticClass:"omapi-campaign-table"},[a("h1",{staticClass:"wp-heading-inline"},[t._v("Campaigns")]),a("core-button",{staticClass:"omapi-add-new",attrs:{size:"small"},on:{click:function(a){return t.$modal.show("create-campaign-by-type")}}},[t._v("Add New")]),a("common-alerts",{attrs:{alerts:t.alerts}}),a("transition",{attrs:{name:"fade",mode:"out-in"}},[t.connected||t.isLoading?t.showNoCampaigns?a("campaigns-no-campaigns"):a("div",{staticStyle:{position:"relative"}},[a("campaigns-table-filters",{attrs:{"is-bulk":0<t.bulk.length,"action-key":t.actionKey},on:{setAction:t.setAction}}),a("campaigns-table",{attrs:{campaigns:t.campaignsToShow,"is-bulk":0<t.bulk.length,"action-key":t.actionKey,"is-refreshing":t.isRefreshing||t.isLoading},on:{setAction:t.setAction}}),t.isLoading?a("core-loading",{staticStyle:{position:"absolute",top:"128px",opacity:"0.2"}}):t._e()],1):a("campaigns-not-connected")],1),a("campaigns-modal-create-by-type")],1)},i=[],n=e("9b02"),c=e.n(n),o=e("2f62"),r={beforeRouteLeave(t,a,e){"campaigns"!==c()(t,"meta.parent")&&"campaigns"!==c()(t,"name")&&this.updatePageVars(),e()},inheritAttrs:!1,data(){return{actionKey:"none"}},computed:{...Object(o["d"])(["connected","isFetched","shouldFetchUser"]),...Object(o["d"])("campaigns",["campaignsWithSplits"]),...Object(o["f"])(["alerts"]),...Object(o["f"])("campaigns",["bulk","page","search","totalCampaignsCount"]),isLoading(){return this.shouldFetchUser||this.$store.getters.isLoading("campaigns")},isRefreshing(){return this.$store.getters.isLoading("campaigns-refresh")},campaignsToShow(){return this.connected?this.campaignsWithSplits:[]},hasCampaigns(){return 0<this.totalCampaignsCount},showNoCampaigns(){return!this.hasCampaigns&&!this.isLoading&&this.isFetched("mainQuery")}},watch:{$route(t){this.updatePageVars(t),this.refreshDashboard().catch(()=>{})}},mounted(){this.setPageVars({page:this.$get("$route.params.campaignsPage",this.page),search:this.$get("$route.params.searchTerm",this.search)}),this.isLoading||this.initRequests(),this.$bus.$on("fetchedMe",this.initRequests)},beforeDestroy(){this.$bus.$off("fetchedMe",this.initRequests)},methods:{...Object(o["c"])("campaigns",["setPageVars","refreshDashboard","fetchRulesetData"]),initRequests(){this.refreshDashboard().catch(()=>{}),this.fetchRulesetData()},setAction(t){this.actionKey=t},updatePageVars(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.setPageVars({page:c()(t,"params.campaignsPage",1),search:c()(t,"params.searchTerm","")})}}},h=r,g=(e("d9b1"),e("2877")),p=Object(g["a"])(h,s,i,!1,null,null,null);a["default"]=p.exports},"16c9":function(t,a,e){},d9b1:function(t,a,e){"use strict";e("16c9")}}]);
//# sourceMappingURL=campaigns.718530af.js.map