1(window.webpackJsonp=window.webpackJsonp||[]).push([[218],{1140:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){var t,r=e.indexOf("."),n=e.indexOf("!");return t=r<0&&n<0?e.length-1:r<0?n:n<0?r:Math.min(r,n),e.substring(0,t+1)}},1768:function(e,t,r){"use strict";r.r(t);var n=r(9),o=r(17),c=(r(52),r(18),r(27),r(29),r(48),r(37),r(47),r(46),r(42),r(54),r(0)),l=r(19),f=r(73),h=(r(28),r(3)),d=r(2),m=r(5),O=r(11),w=r(6),y=r(74),v=(r(65),r(8),r(95),r(127),r(34));function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Object(w.a)(e);if(t){var o=Object(w.a)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Object(O.a)(this,r)}}var x=function(e,t,r,desc){var n,o=arguments.length,c=o<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(y.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(n=e[i])&&(c=(o<3?n(c):o>3?n(t,r,c):n(t,r))||c);return o>3&&c&&Object.defineProperty(t,r,c),c},T=function(e){Object(m.a)(r,e);var t=j(r);function r(){var e;return Object(h.a)(this,r),(e=t.apply(this,arguments)).redirectUrl="",e}return Object(d.a)(r,[{key:"beforeRouteEnter",value:function(e,t,r){r((function(e){t.fullPath.includes("/lp/")||(e.redirectUrl=t.fullPath)}))}},{key:"mounted",value:function(){this.$route.query.migrated&&(this.redirectUrl=this.$isTranslated()?this.localePath("/welcome"):"/welcome")}}]),r}(v.Vue),S=T=x([Object(v.Component)({})],T),k=r(296),P=r(1140);function C(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 R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach((function(t){Object(o.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var E=c.default.extend({name:"LoginPage",components:{LoginForm:function(){return r.e(19).then(r.bind(null,1819))}},layout:"login",mixins:[S],middleware:"auth",props:{isLogin:{type:Boolean,default:!1},headerTransparent:{type:Boolean,default:!1}},data:function(){return{showInitialText:!0,showNewsletterForm:!1,showCheckMailMessage:!1,messageText1:"Weâve sent your free movies to ",email:"",messageText2:"Check your inbox now to enjoy your free content and verify your account!",siteSEOTitleKey:""}},computed:R(R({},Object(l.c)({brand:"logic/brand",metaTitleTemplateWithSuffix:"logic/metaTitleTemplateWithSuffix"})),{},{pageSeoTitle:function(){return this.$t(this.siteSEOTitleKey,{site:this.brand})},pageTitle:function(){return this.$t("pages.login.title",{site:this.brand})},pageDescription:function(){return this.$t("pages.login.description",{site:this.brand})}}),fetch:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$dynamicConfig.loadCustom(k.ConfigName.Login);case 2:r=t.sent,n=r.seoPageTitleLocaleKey,e.siteSEOTitleKey=n;case 5:case"end":return t.stop()}}),t)})))()},head:function(){return{title:this.pageSeoTitle,titleTemplate:this.metaTitleTemplateWithSuffix,meta:[{hid:"description",name:"description",content:Object(P.a)(this.pageDescription)}]}},methods:R(R({},Object(l.b)({postNewsletterSubscriber:"account/postNewsletterSubscriber"})),{},{toggleShowForm:function(){this.showInitialText=!1,this.showNewsletterForm=!this.showNewsletterForm},toggleShowCheckMail:function(){this.showCheckMailMessage=!this.showCheckMailMessage,this.toggleShow
1Form()},submitForm:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,t.postNewsletterSubscriber({email:e,marketing_form_key:"XC_FREE_FILM",leadPosition:f.c.CREATE_ACCOUNT,leadText:"Sign Up"});case 3:n=r.sent,t.email=e,t.$modal.show("modal-confirmation",{email:e,isUserLoggedIn:n.is_user_logged_in}),t.toggleShowCheckMail(),r.next=12;break;case 9:r.prev=9,r.t0=r.catch(0),t.$store.dispatch("logic/handleError",r.t0);case 12:case"end":return r.stop()}}),r,null,[[0,9]])})))()}})}),M=r(7),component=Object(M.a)(E,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"flex flex-col max-w-md pt-12 mx-auto desktop:pt-14"},[r("LoginForm",{staticClass:"flex flex-col px-5 tablet:px-0",attrs:{redirectUrl:e.redirectUrl,titleModal:e.pageTitle,textModal:e.pageDescription}})],1)}),[],!1,null,null,null);t.default=component.exports}}]);
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.