1(window.webpackJsonp=window.webpackJsonp||[]).push([[64],{2134:function(e,t,a){"use strict";var r=a(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a(2135)).default;t.default=i},2135:function(e,t,a){"use strict";a.r(t);var r=a(2301),i=a(2136);for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a(2139);var o=a(181),s=Object(o.default)(i.default,r.render,r.staticRenderFns,!1,null,null,null);s.options.__file="src/pages/ActivatePage/ActivatePage.vue",t.default=s.exports},2136:function(e,t,a){"use strict";a.r(t);var r=a(2137),i=a.n(r);for(var n in r)"default"!==n&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t.default=i.a},2137:function(e,t,a){"use strict";var r=a(1);a(2),a(66),a(71),a(156),a(157),a(99),a(100),a(102),a(158),a(134),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a(159));a(161);var n=r(a(162)),o=r(a(142)),s=r(a(163)),c=a(164),d=r(a(2138)),u=r(a(609)),f=r(a(1447)),l=r(a(1463)),p=a(340),v=r(a(283)),h=r(a(239));function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function g(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach((function(t){(0,s.default)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var m={name:"ActivatePage",components:{ActivateStep:f.default,OTPField:l.default,Spinner:v.default},metaInfo:function(){var e={title:"TV code activation",bodyClass:"activate-page ".concat(this.isMobile?"new-bg-mobile m-activate-page":"new-bg")};return(0,p.getPageMeta)(e)},data:function(){return{isMobile:_USER_AGENT_.isMobile,recaptchaLoaded:!1,recaptchaToken:""}},computed:g({},(0,c.mapState)({isLoggedIn:function(e){return(0,o.default)(this,void 0),e.login.isLoggedIn}.bind(void 0),activeUserPlan:function(e){return(0,o.default)(this,void 0),e.login.activeUserPlan}.bind(void 0),userData:function(e){return(0,o.default)(this,void 0),e.login.userData}.bind(void 0)})),mounted:function(){var e=this;this.$loadScript("https://www.google.com/recaptcha/api.js?render=".concat(h.default.recaptchaKey)).finally(function(){(0,o.default)(this,e),this.recaptchaLoaded=!0}.bind(this))},beforeCreate:function(){(0,u.default)({module:(0,d.default)(),moduleName:"activateModule",store:this.$store})},destroyed:function(){this.$store.unregisterModule("activateModule")},methods:g(g({},(0,c.mapActions)({verifyTvCode:"activateModule/verifyTvCode",showLoader:"app/showLoader",hideLoader:"app/hideLoader"})),{},{executeRecaptcha:function(e){var t=this;return(0,n.default)(i.default.mark((function a(){return i.default.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,grecaptcha.execute(h.default.recaptchaKey,{action:e});case 2:t.recaptchaToken=a.sent;case 3:case"end":return a.stop()}}),a)})))()},verifyTvCodeAction:function(e){var t=this;return(0,n.default)(i.default.mark((function a(){var r=this;return i.default.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return t.showLoader(),t.$store.dispatch("app/hideSnackbar"),a.next=4,t.executeRecaptcha("verifyTVCode");case 4:t.verifyTvCode({code:e.toUpperCase(),recaptchaToken:t.recaptchaToken}).then(function(e){(0,o.default)(this,r),t.hideLoader(),t.$refs.codeField.reset(),"error"===e.status?t.$store.dispatch("app/showSnackbar",{message:e.message,type:"error"}):t.$router.push("/activation-success")}.bind(this)).catch(function(e){(0,o.default)(this,r),t.$store.dispatch("app/showSnackbar",{message:e.data.message,type:"error"}),t.hideLoader(),t.$refs.codeField.reset()}.bind(this));case 5:case"end":return a.stop()}}),a,this)})))()}})};t.default=m},2138:function(e,t,a){"use strict";var r=a(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a(142)),n=a(599),o=function(){(0,i.default)(this,void 0);return{namespaced:!0,state:{},getters:{},actions:{verifyTvCode:function(e,t){var a=this;e.commit;return(0,n.verifyTvCode)(this.$apiClient,t).then(function(e){return(0,i.default)(this,a),e}.bind(this))}},mutations:{setCodeVerified:function(e,t){e.codeVerified=t}}}}.bind(void 0);t.default=o},2139:function(e,t,a){"use strict";a.r(t);var r=a(2140),i=a.n(r);for(var n in r)"default"!==n&&function(e){a.d(t,e,(function(){return r[e]}))}(n);t.default=i.a},2140:function(e,t,a){},2301:function(e,t,a){"use strict";a.r(t),a.d(t,"render",(function(){return r})),a.d(t,"staticRenderFns",(function(){return i}));var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"activate-page-view resp-content"},[t("div",{staticClass:"activate-content-wrap"},[t("div",{staticClass:"step-wrap"},[t("ActivateStep",{attrs:{"current-step":3}})],1),t("div",{staticClass:"content-box activate-content-box",class:{"content-box-with-bg":!this.isMobile}},[t("h3",{staticClass:"content-box-heading"},[this._v("\n Enter the code displayed on your TV screen\n ")]),this.recaptchaLoaded?t("OTPField",{ref:"codeField",staticClass:"code-field",attrs:{type:"text",amount:5,"on-field-completed":this.verifyTvCodeAction,"allow-string":!0}}):t("Spinner",{attrs:{size:"small"}})],1)]),this._m(0)])},i=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"form-terms-wrap"},[t("div",{staticClass:"form-terms"},[this._v("\n This site is protected by reCAPTCHA and the Google\n "),t("a",{attrs:{href:"https://policies.google.com/privacy",target:"_blank"}},[this._v("Privacy Policy")]),this._v("\n and\n "),t("a",{attrs:{href:"https://policies.google.com/terms",target:"_blank"}},[this._v("Terms of Service")]),this._v("\n apply.\n ")])])}];r._withStripped=!0}}]);
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.