1(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{933:function(e,t,r){"use strict";r.r(t);var n=r(40),o=r(11),c=r(181),i=r(29),a=r(31),s=r(70);function asyncGeneratorStep(e,t,r,n,o,c,i){try{var a=e[c](i),s=a.value}catch(u){return void r(u)}a.done?t(s):Promise.resolve(s).then(n,o)}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u,p={name:"OtaSignIn",computed:function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(r,!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(n.d)({isUserSignedIn:"membership/isUserSignedIn",loggedInToken:"membership/getLoggedInToken"})),created:function created(){this.isUserSignedIn?this.redirectToOta():this.goToSignInPage()},methods:{redirectToOta:(u=function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var c=e.apply(t,r);function _next(e){asyncGeneratorStep(c,n,o,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(c,n,o,_next,_throw,"throw",e)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(){var e,t,r;return regeneratorRuntime.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return e=this.$route.query.ota_path||"",t=new URL("https://tripla.ai"+e).toString(),n.prev=2,n.next=5,c.a.storageGuestData({signedInToken:this.loggedInToken});case 5:r=n.sent,t=Object(i.a)(t,{storage_key:r.key,voucher_checkin_date:this.$route.query.voucher_checkin_date,voucher_checkout_date:this.$route.query.voucher_checkout_date}),n.next=11;break;case 9:n.prev=9,n.t0=n.catch(2);case 11:Object(a.f)()?Object(a.p)({action:"redirect",url:t}):Object(s.f)(t);case 12:case"end":return n.stop()}}),_callee,this,[[2,9]])}))),function redirectToOta(){return u.apply(this,arguments)}),goToSignInPage:function goToSignInPage(){this.$router.push({name:o.a.membership.signIn,query:{urlBack:this.$route.fullPath}})}}},h=r(33),l=Object(h.a)(p,(function render(){return(0,this._self._c)("div")}),[],!1,null,null,null);t.default=l.exports}}]); 2//# sourceMappingURL=page-Membership-OtaSignIn-vue.a3affbab153770cc7c65.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.