Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/vreg/dist/_nuxt/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/vreg/dist/_nuxt/99c2328.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[17,6,8],{519:function(t,e,r){"use strict";r.r(e);r(35),r(40);var o={name:"PromoCode",data:function(){return{promoCode:"",validating:!1,msg:""}},mounted:function(){this.discountObject&&(this.promoCode=this.discountObject.code)},methods:{validatePromoCode:function(){var t=this;this.validating=!0,this.$axios.post("orders/validate-and-store-promo-code/".concat(this.$store.state.orderId,"?code=").concat(this.promoCode)).then((function(e){var r=e.data.data,o=r.valid?"text-success":"text-danger";t.$store.commit("SET_DISCOUNT_OBJECT",r.object),t.msg='<span class="'.concat(o,'"><b>').concat(r.message,"</b></span>")})).catch((function(t){})).finally((function(){t.validating=!1}))}}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"promo-code-wrapper",staticStyle:{"margin-bottom":"10px"}},[r("div",{staticClass:"form-group"},[r("input",{directives:[{name:"model",rawName:"v-model",value:t.promoCode,expression:"promoCode"}],staticClass:"form-control promo-input",attrs:{type:"text",placeholder:"Promo code"},domProps:{value:t.promoCode},on:{input:function(e){e.target.composing||(t.promoCode=e.target.value)}}})]),t._v(" "),r("button",{staticClass:"btn btn-form-green",attrs:{type:"submit",disabled:!t.promoCode||t.validating},on:{click:function(e){return e.preventDefault(),t.validatePromoCode.apply(null,arguments)}}},[t.validating?r("b-spinner",{staticClass:"mr-1",attrs:{small:""}}):t._e(),t._v("\n      Apply\n    ")],1)]),t._v(" "),r("div",[t.msg?r("p",{staticClass:"text-danger",domProps:{innerHTML:t._s(t.msg)}}):t._e()])])}),[],!1,null,"1f7fe7c8",null);e.default=component.exports},520:function(t,e,r){"use strict";r.r(e);var o={name:"OrderSummaryCalculations",components:{PromoCode:r(519).default},props:{mobile:{required:!1}}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"order-summary-box",class:t.mobile?"":"d-none d-md-block"},[t._l(t.offlineFormPlates,(function(e,o){return r("div",{staticClass:"order-summary-header"},[r("div",{staticClass:"left"},[r(t.splittedPlateNumberComponent,{tag:"component",attrs:{small:!0,plate:e}}),t._v(" "),r("h5",[t._v(t._s(e.license_plate)+" "),r("span",{staticClass:"car-model"},[t._v(" "+t._s(e.license_make))]),t._v(" "),r("br"),t._v(" "),r("span",{staticClass:"renewal-time"},[t._v(t._s(e.description))])])],1),t._v(" "),r("div",{staticClass:"right"},[r("h5",[t._v(t._s(e.formatted_price)+" ")])])])})),t._v(" "),r("promo-code"),t._v(" "),r("div",{staticClass:"order-summary-price-wrapper"},[t._l(t.getLineItems,(function(e,o){return r("p",{key:"line_item_"+o},[r("span",{staticClass:"price-title"},[t._v(t._s(e.title))]),t._v(" "),r("span",{staticClass:"price",class:{"text-danger":e.pure_amount<0}},[t._v(t._s(e.amount))])])})),t._v(" "),r("p",{staticClass:"total"},[t._m(0),t._v(" "),r("span",{staticClass:"price",staticStyle:{width:"unset"}},[t._v("USD "),r("b",[t._v(t._s(t.orderTotal))])])])],2)],2)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",{staticClass:"price-title"},[r("b",[t._v("Estimated Total")])])}],!1,null,"3f443847",null);e.default=component.exports},521:function(t,e,r){"use strict";var o={name:"Step1Fields",components:{InputField:r(510).a},props:{form:{required:!0}}},n=r(53),component=Object(n.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("input-field",{attrs:{rules:"required",form:t.form,field:"first_name",placeholder:"First name"}}),t._v(" "),r("input-field",{attrs:{form:t.form,field:"middle_name",placeholder:"Middle name (optional)"}}),t._v(" "),r("input-field",{attrs:{rules:"required",form:t.form,field:"last_name",placeholder:"Last name"}}),t._v(" "),r("input-field",{attrs:{form:t.form,field:"company_name",placeholder:"Company (optional)"}}),t._v(" "),r("input-field",{attrs:{rules:"required|length:10",formGroupClass:"with-tt",form:t.form,field:"phone"}},[r("p",{staticClass:"placeholder-text required"},[t._v("Mobile phone")]),t._v(" "),r("the-mask",{staticClass:"form-control the-mask-mobile-input",attrs:{mask:"###-###-####",name:"phone",placeholder:""},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),t._v(" "),r("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"alert-icon",attrs:{title:"Don't use someone else's number"}},[r("svg",{attrs:{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z",fill:"#9CA3B5",stroke:"#9CA3B5","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),r("path",{attrs:{d:"M6.81738 6.74994C6.99371 6.24869 7.34175 5.82602 7.79985 5.55679C8.25795 5.28756 8.79655 5.18914 9.32026 5.27897C9.84397 5.3688 10.319 5.64108 10.6612 6.04758C11.0034 6.45409 11.1907 6.96858 11.1899 7.49994C11.1899 8.99994 8.93988 9.74994 8.93988 9.74994",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}}),t._v(" "),r("path",{attrs:{d:"M9 12.75H9.00833",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])],1),t._v(" "),r("input-field",{attrs:{type:"email",rules:"required",form:t.form,field:"email",placeholder:"E-Mail"}})],1)}),[],!1,null,"07031abf",null);e.a=component.exports},525:function(t,e,r){var content=r(537);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(82).default)("950c7bac",content,!0,{sourceMap:!1})},534:function(t,e,r){"use strict";var o=r(511),n={name:"ContactInformation",components:{Step1Fields:r(521).a},mixins:[o.a],props:{form:{required:!0},liveUpdate:{required:!1,type:Boolean},ajaxURL:{required:!1,type:String}},data:function(){return{readyToContinue:!0,modalId:"contact-information-modal",original:{first_name:this.form.first_name,middle_name:this.form.middle_name,last_name:this.form.last_name,email:this.form.email,phone:this.form.phone}}},methods:{submit:function(){var t=this;this.liveUpdate&&this.ajaxURL?this.$axios.post(this.ajaxURL,{first_name:this.form.first_name,middle_name:this.form.middle_name,last_name:this.form.last_name,email:this.form.email,phone:this.form.phone}).then((function(e){t.$emit("close-modal")})):this.$emit("close-modal")},cancelEdit:function(){for(var t in this.original)this.form[t]=this.original[t];this.$emit("close-modal")}}},l=r(53),component=Object(l.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("b-modal",{attrs:{id:t.modalId,"hide-footer":"","modal-class":"address-confirm-modal",visible:"","hide-header-close":"","header-class":"justify-content-center",title:"Contact Information","no-close-on-backdrop":""}},[r("ValidationObserver",{ref:"form",scopedSlots:t._u([{key:"default",fn:function(e){var o=e.invalid;return[r("form",{attrs:{action:""}},[r("step1-fields",{attrs:{form:t.form}}),t._v(" "),r("div",{staticClass:"form-button-wrapper"},[r("a",{staticClass:"btn-return",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelEdit.apply(null,arguments)}}},[r("svg",{attrs:{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M5 9L1 5L5 1",stroke:"#182D40","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v("\n          Back\n        ")]),t._v(" "),r("button",{staticClass:"btn btn-form-green",attrs:{type:"submit",disabled:o||!t.readyToContinue},on:{click:function(e){return e.preventDefault(),t.frontendFormSubmitHandler.apply(null,arguments)}}},[t._v("\n          Continue\n          "),r("svg",{attrs:{width:"7",height:"13",viewBox:"0 0 7 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M1 1.5L6 6.5L1 11.5",stroke:"white","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})])])])],1)]}}])})],1)}),[],!1,null,"eade110e",null);e.a=component.exports},536:function(t,e,r){"use strict";r(525)},537:function(t,e,r){var o=r(81)(!1);o.push([t.i,".step-radio-label[data-v-60184d2d]{margin:0!important}",""]),t.exports=o},542:function(t,e,r){"use strict";r(23),r(20),r(15),r(24),r(16),r(25);var o=r(63),n=r(5),l=(r(40),r(35),r(50),r(70),r(83),r(345),r(534)),d={name:"UserInfoEditWrapper",components:{EditAddress:r(544).a,ContactInformation:l.a},props:{form:{required:!0},includeEditAddress:{required:!1,default:!0}},data:function(){return{showContactInformationModal:!1,showEditAddressModal:!1}}},m=r(53),c=Object(m.a)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"user-info-change-wrapper"},[r("div",{staticClass:"user-info-row"},[r("div",{staticClass:"info"},[r("h6",[t._v("Contact")]),t._v(" "),r("p",[t._v(t._s(t.form.email))])]),t._v(" "),r("a",{staticClass:"btn-change",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showContactInformationModal=!0}}},[t._v("\n      Change\n    ")])]),t._v(" "),t.includeEditAddress?r("div",{staticClass:"user-info-row"},[r("div",{staticClass:"info"},[r("h6",[t._v("Ship to ")]),t._v(" "),r("p",[t._v("\n        "+t._s(t.form.mailing_address.street)+"\n\n        "),t.form.mailing_address.address_2?[t._v("\n          , "+t._s(t.form.mailing_address.address_2)+"\n        ")]:t._e(),t._v("\n\n        , "+t._s(t.form.mailing_address.city)+"\n\n        , "+t._s(t.form.mailing_address.state_code)+"\n\n        , "+t._s(t.form.mailing_address.zip)+"\n\n      ")],2)]),t._v(" "),r("a",{staticClass:"btn-change",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showEditAddressModal=!0}}},[t._v("Change")])]):t._e(),t._v(" "),t.showEditAddressModal&&t.includeEditAddress?r("edit-address",{attrs:{"address-field":"mailing_address",form:t.form,"modal-title":"Change mailing address"},on:{"close-modal":function(e){t.showEditAddressModal=!1}}}):t._e(),t._v(" "),t.showContactInformationModal?r("contact-information",{attrs:{form:t.form},on:{"close-modal":function(e){t.showContactInformationModal=!1}}}):t._e()],1)}),[],!1,null,"771bc75b",null).exports,f=r(520),h=r(514),v=r(511),w=r(549);function C(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?C(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):C(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var k={name:"CheckoutPage",mixins:[v.a],props:{includeEditAddress:{required:!1,default:!0},prevPath:{required:!1}},components:{PaymentsGateways:w.a,FormErrorMsg:h.a,OrderSummaryCalculations:f.default,UserInfoEditWrapper:c},data:function(){var t=this.$store.state,e=this.$copyObject(t.step1Form),r=this.$copyObject(t.step2Form),o=this.$copyObject(t.step3Form);return{formErrorMsg:"",mobileOrderSummaryVisible:!1,canSubmit:!0,form:this.$form(y(y(y(y({gateway:"",cardReference:"",payment_account_key:"",checkoutToken:"",is_intent:"",order_type:t.emptyEstimates?"unverified":"verified",selected_items:[],utm_medium:this.getUTMMedium,lineItems:[],amount:"",card_last_four:"",card_brand:"",card_number:"",card_expiry_month:"",card_expiry_year:"",cvv:"",billing_information:{email:e.email,cardholder_name:"".concat(e.first_name," ").concat(e.middle_name||""," ").concat(e.last_name),zip_code:o.mailing_address?o.mailing_address.zip:""}},e),r),o),{},{website:"vehiclerenew.com",isUTMMedium:this.isUTMMedium,sessionId:"",AFFID:"",next_try_number:0,original_order_type:t.originalOrderType}))}},methods:{submit:function(){this.$refs["payments-gateways"].submit()},submitForm:function(){var t=this;this.showHideCheckoutLoader(!0),this.canSubmit=!1,this.formErrorMsg="";var e=new FormData,data=this.$copyObject(this.form.data());for(var r in data){var n=data[r];_.isNull(n)&&(n=""),"object"!=Object(o.a)(n)||n instanceof File?e.append(r,n):this.appendObjectToFormData(e,n,r)}this.$axios.post("orders/checkout/".concat(this.$store.state.orderId),e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){t.form.onSuccess(e.data),t.formSubmittedSuccessfully(e.data)})).catch((function(e){e.response?(t.form.onFail(e.response.data),t.formSubmitFailed(e.response.data)):t.form.onFail({})})).finally((function(){t.showHideCheckoutLoader(!1),t.canSubmit=!0}))},appendObjectToFormData:function(t,object,e){for(var r in object)_.isNull(object[r])&&(object[r]=""),!_.isObject(object[r])||object[r]instanceof File?t.append([e,"[",r,"]"].join(""),object[r]):t=this.appendObjectToFormData(t,object[r],[e,"[",r,"]"].join(""));return t},formSubmittedSuccessfully:function(data){this.$store.commit("SET_ORDER",data.data.order),"redirect"===data.status&&"checkout-success"===data.data.redirect_to&&this.$router.push({path:"/".concat(this.currentStateCode,"/thanks-page")})},formSubmitFailed:function(t){if(t.hasOwnProperty("message")?this.formErrorMsg=t.message:this.formErrorMsg="Something went wrong!!",t.hasOwnProperty("data")){var e=t.data;this.form.order_id=e.code,this.form.next_try_number=e.next_try_number,"error"==t.status&&(this.formErrorMsg=t.message)}}},mounted:function(){this.form.lineItems=this.getLineItems,this.form.selected_items=this.offlineFormPlates,this.form.amount=this.orderTotal},computed:{isUTMMedium:function(){return!!this.getUTMMedium},getUTMMedium:function(){var t=this.$store.state.indexHref;return t?new URL(t).searchParams.get("utm_medium"):""}},watch:{orderTotal:function(){this.form.amount=this.orderTotal},getLineItems:function(){this.form.lineItems=this.getLineItems}}},O=(r(536),Object(m.a)(k,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"order-status-box-mobile blue-bg d-md-none",class:{opened:t.mobileOrderSummaryVisible}},[r("div",{directives:[{name:"b-toggle",rawName:"v-b-toggle.mobile-order-summary",modifiers:{"mobile-order-summary":!0}}],staticClass:"order-status-header-mobile",on:{click:function(e){t.mobileOrderSummaryVisible=!t.mobileOrderSummaryVisible}}},[r("h5",[t._v("Order summary\n        "),r("svg",{attrs:{width:"10",height:"7",viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M6.20006 6.56466C5.80008 7.04961 5.05714 7.04961 4.65715 6.56466L1.21089 2.38628C0.672927 1.73404 1.13687 0.749999 1.98234 0.749999L8.87487 0.75C9.72034 0.75 10.1843 1.73404 9.64633 2.38628L6.20006 6.56466Z",fill:"#182D40"}})])]),t._v(" "),r("p",[t._v(t._s(t.$money(t.orderTotal)))])]),t._v(" "),r("b-collapse",{staticClass:"mt-2",attrs:{id:"mobile-order-summary"}},[r("order-summary-calculations",{attrs:{mobile:!0}})],1)],1),t._v(" "),r("client-only",[r("user-info-edit-wrapper",{attrs:{form:t.form,"include-edit-address":t.includeEditAddress}})],1),t._v(" "),r("h5",[t._v("Payment ")]),t._v(" "),r("p",{staticClass:"description"},[t._v("All transactions are secure and encrypted. ")]),t._v(" "),r("ValidationObserver",{ref:"form",scopedSlots:t._u([{key:"default",fn:function(e){var o=e.invalid;return[r("form",{attrs:{action:""}},[r("payments-gateways",{ref:"payments-gateways",attrs:{form:t.form},on:{"payment-form-submitted":function(){return t.canSubmit=!0},"payment-form-submitting":function(){return t.canSubmit=!1},"ready-to-submit":t.submitForm}}),t._v(" "),r("form-error-msg",{attrs:{msg:t.formErrorMsg}}),t._v(" "),r("div",{staticClass:"form-button-wrapper"},[r("nuxt-link",{staticClass:"btn-return",attrs:{to:t.prevPath?t.prevPath:"/"+t.currentStateCode+"/step-5"}},[r("svg",{attrs:{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M5 9L1 5L5 1",stroke:"#182D40","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v("\n          Return to renewal type\n        ")]),t._v(" "),r("button",{staticClass:"btn btn-form-green",attrs:{type:"submit",id:"payment-form-submit",disabled:!t.canSubmit||o},on:{click:function(e){return e.preventDefault(),t.frontendFormSubmitHandler.apply(null,arguments)}}},[t.canSubmit?t._e():r("b-spinner",{staticClass:"mr-1",attrs:{small:""}}),t._v("\n\n          Execute Payment\n          "),r("svg",{attrs:{width:"7",height:"13",viewBox:"0 0 7 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M1 1.5L6 6.5L1 11.5",stroke:"white","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})])],1)],1)],1)]}}])})],1)}),[],!1,null,"60184d2d",null));e.a=O.exports},632:function(t,e,r){"use strict";r.r(e);r(23);var o={name:"step-4",middleware:function(t){var e=t.store.state,r=t.redirect;t.route.path;if(0===e.offlineFormPlates.length||0===Object.keys(e.step2Form).length)return r("/az/step-1")},components:{CheckoutPage:r(542).a}},n=r(53),component=Object(n.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("checkout-page",{attrs:{"prev-path":"/az/step-3","include-edit-address":!1}})}),[],!1,null,"b1ece590",null);e.default=component.exports}}]);

Spamworldpro Mini