1"use strict";(self.webpackChunkvialma_web=self.webpackChunkvialma_web||[]).push([[2231],{22231:function(e,s,a){a.r(s),a.d(s,{default:function(){return T}});var i=a(15671),n=a(43144),c=a(60136),r=a(54062),l=a(72791),_=a(78687),t=a(28931),o=a(92907),d=a(13235),R=a(57004);var I=a.p+"static/media/musiccalendar.012550255993fd96fca454fa7656377f.svg",E=a(78544),h=a(48715),N=a(49819),v=a(34564),A=a(48193),u=a(80184),P=function(e){(0,c.Z)(a,e);var s=(0,r.Z)(a);function a(){var e,n,c;(0,i.Z)(this,a),(c=s.call(this)).closeModal=function(){(0,c.props.setShowFreeTrial)(!1),localStorage.removeItem("showFreeTrial")},c.goToCheckout=function(e){var s=c.props,a=s.history,i=s.lang,n=v.J[i];c.closeModal(),a.push({pathname:n.checkout,search:"?plan=".concat(e,"&term=").concat(A.BY.TERM.MONTHLY)})},c.goToUpgrade=function(){var e=c.props,s=e.history,a=e.lang,i=v.J[a];c.closeModal(),s.push({pathname:i.upgrade})};var r=null===(e=JSON.parse(localStorage.getItem("loginData")).subscription_ensemble)||void 0===e||null===(n=e.endDate)||void 0===n?void 0:n.date,l=r?(0,E.Z)(r):0;return c.state={days:l},c}return(0,n.Z)(a,[{key:"render",value:function(){var e=this,s=this.state.days,a=this.props,i=a.t,n=a.location,c=n.state&&n.state.jazzMode;return(0,u.jsx)("div",{className:c?"free-trial-over jazz":"free-trial-over",children:(0,u.jsxs)("div",{className:"free-trial-over__container",children:[(0,u.jsx)("div",{className:"icon-close",onClick:this.closeModal,children:(0,u.jsx)("img",{src:(0,N.Z)(h.Z),alt:""})}),(0,u.jsx)("div",{className:"free-trial-over__head",children:i("FREE_TRIAL_POPUP_TITLE")}),(0,u.jsxs)("div",{className:"days",children:[(0,u.jsx)("img",{src:(0,N.Z)(I),alt:""}),s," ",i("FREE_TRIAL_POPUP_DAYS")]}),(0,u.jsx)("div",{className:"subheader",children:i("FREE_TRIAL_POPUP_PARAGRAPH")}),(0,u.jsxs)("div",{className:"boxes",children:[(0,u.jsxs)("div",{className:"box green",children:[(0,u.jsx)("div",{className:"head",children:i("FREE_TRIAL_PRICING_1")}),(0,u.jsxs)("div",{className:"content-box",children:[(0,u.jsx)("div",{className:"price",children:i("FREE_TRIAL_PRICING_1_PRICE")}),(0,u.jsx)("div",{className:"interval",children:i("FREE_TRIAL_PRICING_1_TIME_PERIOD")}),(0,u.jsxs)("div",{className:"text",children:[i("FREE_TRIAL_PRICING_1_VALUE_1"),i("FREE_TRIAL_PRICING_1_VALUE_2"),i("FREE_TRIAL_PRICING_1_VALUE_3"),i("FREE_TRIAL_PRICING_1_VALUE_4")]}),(0,u.jsx)("div",{className:"btn-upgrade",onClick:function(){return e.goToCheckout(A.BY.PLAN.ALLVIALMA)},children:i("FREE_TRIAL_POPUP_CTA")})]})]}),!c&&(0,u.jsxs)("div",{className:"box brown",children:[(0,u.jsx)("div",{className:"head",children:i("FREE_TRIAL_PRICING_2")}),(0,u.jsxs)("div",{className:"content-box",children:[(0,u.jsx)("div",{className:"price",children:i("FREE_TRIAL_PRICING_2_PRICE")}),(0,u.jsx)("div",{className:"interval",children:i("FREE_TRIAL_PRICING_2_PERIOD")}),(0,u.jsxs)("div",{className:"text",children:[i("FREE_TRIAL_PRICING_2_VALUE_1"),i("FREE_TRIAL_PRICING_2_VALUE_2"),i("FREE_TRIAL_PRICING_2_VALUE_3")]}),(0,u.jsx)("div",{className:"btn-upgrade",onClick:function(){return e.goToCheckout(A.BY.PLAN.CLASSICAL)},children:i("FREE_TRIAL_POPUP_CTA")})]})]}),c&&(0,u.jsxs)("div",{className:"box blue",children:[(0,u.jsx)("div",{className:"head",children:i("FREE_TRIAL_PRICING_3")}),(0,u.jsxs)("div",{className:"content-box",children:[(0,u.jsx)("div",{className:"price",children:i("FREE_TRIAL_PRICING_3_PRICE")}),(0,u.jsx)("div",{className:"interval",children:i("FREE_TRIAL_PRICING_3_TIME_PERIOD")}),(0,u.jsxs)("div",{className:"text",children:[i("FREE_TRIAL_PRICING_3_VALUE_1"),i("FREE_TRIAL_PRICING_3_VALUE_2"),i("FREE_TRIAL_PRICING_3_VALUE_3")]}),(0,u.jsx)("div",{className:"btn-upgrade",onClick:function(){return e.goToCheckout(A.BY.PLAN.JAZZ)},children:i("FREE_TRIAL_POPUP_CTA")})]})]})]}),(0,u.jsx)("div",{className:"link-details",onClick:this.goToUpgrade,children:i("FREE_TRIAL_DETAILS")})]})})}}]),a}(l.Component),T=(0,o.Z)()((0,t.EN)((0,_.$j)((function(e){return{lang:(0,R.TD)(e)}}),(function(e){return{setShowFreeTrial:function(s){e((0,d.Ux)(s))}}}))(P)))},78544:function(e,s){s.Z=function(e){var s=new Date(e.substring(0,19).replace(/-/g,"/")).getTime(),a=(new Date).getTime(),i=parseInt((s-a)/864e5);return i}}}]); 2//# sourceMappingURL=2231.3f90ebc1.chunk.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.