!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="89e95c7a-6618-446d-b69a-401a3a9fdec5",t._sentryDebugIdIdentifier="sentry-dbid-89e95c7a-6618-446d-b69a-401a3a9fdec5")}catch(t){}}(),(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21878838"],{"615b":function(t,e,r){},"99d9":function(t,e,r){"use strict";r.d(e,"a",(function(){return s})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return c})),r.d(e,"d",(function(){return i}));var a=r("b0af"),n=r("80d2");const s=Object(n["j"])("v-card__actions"),o=Object(n["j"])("v-card__subtitle"),c=Object(n["j"])("v-card__text"),i=Object(n["j"])("v-card__title");a["a"]},b0af:function(t,e,r){"use strict";r("615b");var a=r("10d2"),n=r("297c"),s=r("1c87"),o=r("58df");e["a"]=Object(o["a"])(n["a"],s["a"],a["a"]).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},raised:Boolean},computed:{classes(){return{"v-card":!0,...s["a"].options.computed.classes.call(this),"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--raised":this.raised,...a["a"].options.computed.classes.call(this)}},styles(){const t={...a["a"].options.computed.styles.call(this)};return this.img&&(t.background=`url("${this.img}") center center / cover no-repeat`),t}},methods:{genProgress(){const t=n["a"].options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[t]):null}},render(t){const{tag:e,data:r}=this.generateRouteLink();return r.style=this.styles,this.isClickable&&(r.attrs=r.attrs||{},r.attrs.tabindex=0),t(e,this.setBackgroundColor(this.color,r),[this.genProgress(),this.$slots.default])}})},e382:function(t,e,r){"use strict";r.r(e);var a=function(){var t=this,e=t._self._c;return e("div",[t.loading||t.error?e("v-row",{attrs:{justify:"center"}},[e("v-col",{attrs:{cols:"12",md:"11"}},[e("v-card",{attrs:{elevation:"0"}},[e("v-card-title",{staticClass:"black white--text mb-2"},[t._v(" RTB ")]),e("v-card-text",[t.loading?e("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}}):t.error?e("v-input",{attrs:{"error-messages":["Error"]}}):t._e()],1)],1)],1)],1):e("router-view")],1)},n=[],s=r("5530"),o=(r("d3b7"),r("caad"),r("b0c0"),r("ac1f"),r("5319"),r("466d"),r("2f62")),c={name:"Rtb",data:function(){return{loading:!1,error:!1}},watch:{$route:{immediate:!0,handler:"checkNetworkStatus"}},methods:Object(s["a"])({checkNetworkStatus:function(){var t=this;this.loading=!0,this.error=!1,this.fetchNetwork().then((function(e){t.checkIfLeaved()||("approved"===e.latest_approval.status||null===e.latest_approval.status?["RtbEndpoints","RtbCreateEndpoint","RtbEditEndpoint"].includes(t.$route.name)||t.$router.replace({name:"RtbEndpoints"}):["RtbNetwork","RtbCreateNetwork"].includes(t.$route.name)||t.$router.replace({name:"RtbNetwork"}))})).catch((function(){t.checkIfLeaved()||["RtbNetwork","RtbCreateNetwork"].includes(t.$route.name)||t.$router.replace({name:"RtbNetwork"})})).finally((function(){t.loading=!1}))},checkIfLeaved:function(){return!this.$route.name.match(/^Rtb/)}},Object(o["b"])("rtb",["fetchNetwork"]))},i=c,d=r("2877"),l=r("6544"),u=r.n(l),b=r("b0af"),h=r("99d9"),f=r("62ad"),v=r("b675"),p=r("490a"),g=r("0fd9"),m=Object(d["a"])(i,a,n,!1,null,null,null);e["default"]=m.exports;u()(m,{VCard:b["a"],VCardText:h["c"],VCardTitle:h["d"],VCol:f["a"],VInput:v["a"],VProgressCircular:p["a"],VRow:g["a"]})}}]);
//# sourceMappingURL=chunk-21878838.2b943cb0.js.map