1(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{915:function(t,e,o){"use strict";o.r(e);var i=o(29),r=o(17),u=o(15),n={logout:function logout(t){var e=Object(i.a)(Object(u.S)(),t);return r.a.deleteData(e)}},s={name:"TriplaOauthLogout",data:function data(){return{isLogoutError:!1}},created:function created(){this.logout()},methods:{logout:function logout(){var t=this,e={hotel_code:this.$route.query.hotel_code,client_id:this.$route.query.client_id,post_logout_redirect_uri:this.$route.query.post_logout_redirect_uri,state:this.$route.query.state};e.hotel_code&&e.client_id&&e.post_logout_redirect_uri&&e.state?n.logout(e).then((function(t){t.redirect_uri&&(window.location.href=t.redirect_uri)})).catch((function(e){console.log(e),t.isLogoutError=!0})):this.isLogoutError=!0}}},c=o(33),a=Object(c.a)(s,(function render(){var t=this._self._c;return t("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"100vh"}},[this.isLogoutError?t("div",[t("p",[this._v("Logout failed")])]):t("div",{staticClass:"text-center"},[t("b-spinner"),this._v(" "),t("p",{staticClass:"mt-2"},[this._v("Logging out...")])],1)])}),[],!1,null,null,null);e.default=a.exports}}]); 2//# sourceMappingURL=page-Oauth-Logout-vue.8fda22eda73b7f068e19.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.