PageSourceSearch

https://storefront.redriver.com/_next/static/chunks/4018.234af0174e0082db.js

js redriver.com collected 2026-09-24 08:51:26 UTC 16,094 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4018],{13499:function(e,n,i){i.d(n,{Z:function(){return l}});var a=i(85893);i(67294);var s=i(94975),t=i(11163),r=i.n(t),o=function(e){return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-sm-12",children:[null!=e.data.loginErrMessage&&""!=e.data.loginErrMessage?(0,a.jsx)("div",{children:(0,a.jsxs)("p",{className:"errormsgcolor",children:[(0,a.jsx)("i",{className:"fa fa-exclamation-circle","aria-hidden":"true"})," ",e.data.loginErrMessage]})}):null,(0,a.jsx)("label",{className:"requiredField",children:"Email"}),(0,a.jsx)("div",{className:"form-group",children:(0,a.jsx)("input",{className:"input-text logininput form-control",type:"text",name:"email",id:"email",placeholder:"Email/ Username",value:e.data.email,onChange:e.genericFieldOnChangeHandler,required:!0,onBlur:function(){return e.setValidationErrorsHandler("email",e.data.email,"Cannot be blank.")}})})]}),(0,a.jsx)("div",{className:"col-sm-12",children:(0,a.jsxs)("div",{className:"col-sm-12 custom-control custom-checkbox",children:[(0,a.jsx)("input",{type:"checkbox",className:"compare_charges custom-control-input tosetpointer",name:"haveaccount",id:"haveaccount",onChange:function(n){e.onHaveAccountHandler(n)},value:e.haveAccount,checked:e.haveAccount}),(0,a.jsx)("label",{className:"compare_charges custom-control-label tosetpointer",htmlFor:"haveaccount",children:"I have an account"})]})}),(0,a.jsxs)("div",{className:"col-sm-12",children:[(0,a.jsx)("label",{className:"requiredField",children:"Password"}),(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("input",{className:"input-text logininput form-control",type:"password",name:"password",id:"password",placeholder:"Password",required:!0,onBlur:function(){return e.setValidationErrorsHandler("password",e.data.password,"Cannot be blank.")},value:e.data.password,onChange:e.genericFieldOnChangeHandler,onKeyDown:function(n){13==n.keyCode&&e.loginClicked(e.data)}}),(0,a.jsx)("div",{children:(0,a.jsxs)("a",{href:"javascript:void(0)",id:"lnk_forgotpassword",className:"pointerwithright a-color",onClick:function(){return r().push("/ForgotPassword")},children:[" ","Forgot Password?"]})})]})]})]}),(0,a.jsxs)("div",{className:"checkout-footer shopping-cart-footer-buttons",children:[(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("a",{className:"btn btn-outline backtoCart primaryButtonTransparent",href:"javascript:void();",onClick:function(){return e.updateCartStageForGuestUser(0)},children:"Back To Cart"})}),(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("button",{className:"btn btn-solid primaryButton",id:"guestlogincontinueshopping",onClick:function(){return e.loginClicked(e.data)},children:"Login & Continue"})})]})]})},l=function(e){return(0,a.jsxs)("div",{className:"customer-login-form",children:[(0,a.jsx)("h2",{children:"Login"}),e.shippingView.haveAccount?(0,a.jsx)(s.default,{source:"GUESTCART",email:e.shippingView.userName,widget:(0,a.jsx)(o,{}),ProfilePopup:e.ProfilePopup,ContractPopup:e.ContractPopup,TermsPopup:e.TermsPopup}):(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-sm-12",children:[(0,a.jsx)("label",{className:"requiredField",children:"Email"}),(0,a.jsx)("div",{className:"form-group",children:(0,a.jsx)("input",{type:"text",placeholder:"Enter Email",name:"userName",className:"form-control",id:"userName",value:e.shippingView.userName,maxLength:"40",onChange:function(n){e.validateEmail(n)},onBlur:function(n){e.validateEmail(n)},onKeyDown:function(n){13==n.keyCode&&(e.validateEmail(n),e.onGuestCartLoginContinueCheckout())},required:!0})})]}),(0,a.jsx)("div",{className:"col-sm-12",children:(0,a.jsxs)("div",{className:"col-sm-12 custom-control custom-checkbox",children:[(0,a.jsx)("input",{type:"checkbox",className:"compare_charges custom-control-input tosetpointer",name:"haveaccount",id:"haveaccount",onChange:function(n){e.onHaveAccountHandler(n)},value:e.shippingView.haveAccount,checked:e.shippingView.haveAccount}),(0,a.jsx)("label",{className:"compare_charges custom-control-label tosetpointer",htmlFor:"haveaccount",children:"I have an account"})]})}),(0,a.jsxs)("div",{className:"checkout-footer shopping-cart-footer-buttons",children:[(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("a",{className:"btn btn-outline backtoCart primaryButtonTransparent",href:"javascript:void();",onClick:function(){return e.updateCartStage(0)},children:"Back To Cart"})}),(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("button",{className:"btn btn-solid primaryButton",id:"guestlogincontinueshopping",onClick:function(){return e.onGuestCartLoginContinueCheckout()},children:"Continue as Guest"})})]})]})]})}},4018:function(e,n,i){i.r(n);var a=i(85893),s=i(67294),t=i(15173),r=i(13499),o=new t.default;n.default=function(e){return(0,a.jsx)(s.Fragment,{children:e.shippingView.shippingDataCaptured?(0,a.jsxs)(s.Fragment,{children:[(0,a.jsx)("div",{className:"row shipping_process",children:(0,a.jsx)("div",{className:"col-md-12",children:(0,a.jsxs)("div",{className:"mx-auto",children:[(0,a.jsx)("div",{className:"accordion",id:"accordionExample",children:(0,a.jsxs)("div",{className:"card",children:[(0,a.jsx)("div",{className:"card-header",id:"headingOne",children:(0,a.jsx)("button",{className:"btn btn-link btn-block text-left",type:"button","data-toggle":"collapse","data-target":"#collapseOne","aria-expanded":"true","aria-controls":"collapseOne",children:(0,a.jsx)("h6",{children:"Address"})})}),(0,a.jsx)("div",{id:"collapseOne",className:"collapse fade show","aria-labelledby":"headingOne","data-parent":"#accordionExample",children:(0,a.jsx)("div",{className:"card-body guestAddress",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.CompanyName",className:"1"===e.shippingView.allowAccountCreation?"requiredField":null,children:"Company Name"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.CompanyName",id:"Shipping.CompanyName",maxLength:"50",onChange:e.onChangeEventHandler,onBlur:function(){"1"===e.shippingView.allowAccountCreation&&e.setValidationErrorsHandler("Shipping.CompanyName",e.shippingView.contact.shipAddress.CompanyName,"Please enter company name.")},value:e.shippingView.contact.shipAddress.CompanyName,required:"1"===e.shippingView.allowAccountCreation,autoFocus:!0})]})}),(0,a.jsx)("div",{className:"col-md-6 form-group"}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.ContactFirstname",className:"requiredField",children:"First Name"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.ContactFirstname",id:"Shipping.ContactFirstname",maxLength:"50",onBlur:function(){e.setValidationErrorsHandler("Shipping.ContactFirstname",e.shippingView.contact.shipAddress.ContactFirstname,"Please enter first name.")},onChange:e.onChangeEventHandler,value:e.shippingView.contact.shipAddress.ContactFirstname,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6 ",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.ContactLastname",className:"requiredField",children:"Last Name"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.ContactLastname",id:"Shipping.ContactLastname",maxLength:"50",onBlur:function(){e.setValidationErrorsHandler("Shipping.ContactLastname",e.shippingView.contact.shipAddress.ContactLastname,"Please enter last name.")},onChange:e.onChangeEventHandler,value:e.shippingView.contact.shipAddress.ContactLastname,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.PhoneNumber1",className:"requiredField",children:"Phone"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.PhoneNumber1",id:"Shipping.PhoneNumber1",maxLength:"30",onBlur:function(n){e.validatePhone(n)},onChange:function(n){e.validatePhone(n)},value:e.shippingView.contact.shipAddress.PhoneNumber1,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.Email",className:"requiredField",children:"E-Mail Address"}),(0,a.jsx)("input",{className:"form-control",type:"email",name:"Shipping.Email",id:"Shipping.Email",maxLength:"40",onBlur:function(n){e.validateEmail(n)},onChange:function(n){e.validateEmail(n)},value:e.shippingView.contact.shipAddress.Email,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.AddressLine1",className:"requiredField",children:"Address 1"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.AddressLine1",id:"Shipping.AddressLine1",maxLength:"50",onBlur:function(){e.setValidationErrorsHandler("Shipping.AddressLine1",e.shippingView.contact.shipAddress.AddressLine1,"Please enter address.")},onChange:e.onChangeEventHandler,value:e.shippingView.contact.shipAddress.AddressLine1,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.AddressLine2",children:"Address 2"}),(0,a.jsx)("input",{className:"form-control",type:"text",name:"Shipping.AddressLine2",id:"Shipping.AddressLine2",maxLength:"50",onChange:e.onChangeEventHandler,value:e.shippingView.contact.shipAddress.AddressLine2})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.City",className:"requiredField",children:"City"}),(0,a.jsx)("input",{className:"form-control",type:"text",id:"Shipping.City",name:"Shipping.City",maxLength:"50",onBlur:function(){e.setValidationErrorsHandler("Shipping.City",e.shippingView.contact.shipAddress.City,"Please enter city.")},onChange:e.onChangeEventHandler,value:e.shippingView.contact.shipAddress.City,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.Country",className:"requiredField",children:"Country"}),(0,a.jsx)("select",{className:"form-control",id:"Shipping.Country",name:"Shipping.Country",onBlur:function(){e.setValidationErrorsHandler("Shipping.Country",e.
1shippingView.contact.shipAddress.Country,"Please select country.")},onChange:function(n){e.onCountryChangeHandler(n,"Shipping")},value:e.shippingView.contact.shipAddress.Country,required:!0,children:e.shippingView.contact.shipAddress.CountryList.map(function(e){return(0,a.jsx)("option",{value:e.Code,children:e.Name},e.Code)})})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.State",className:"requiredField",children:o.getAppSettingObject("stateLabel")}),e.shippingView.contact.shipAddress.StateList.length>0?(0,a.jsx)("select",{className:"form-control",id:"Shipping.State",name:"Shipping.State",onBlur:function(){e.setValidationErrorsHandler("Shipping.State",e.shippingView.contact.shipAddress.State,"Please select state.")},onChange:function(n){e.onStateChangeHandler(n,"Shipping")},value:e.shippingView.contact.shipAddress.State,required:!0,children:e.shippingView.contact.shipAddress.StateList.map(function(e){return(0,a.jsx)("option",{value:e.State,children:e.StateName},e.State)})}):(0,a.jsx)("input",{className:"form-control",type:"text",id:"Shipping.State",name:"Shipping.State",maxLength:"30",onBlur:function(){e.setValidationErrorsHandler("Shipping.State",e.shippingView.contact.shipAddress.State,"Please enter state.")},onChange:function(n){e.onStateChangeHandler(n,"Shipping")},value:e.shippingView.contact.shipAddress.State,required:!0})]})}),(0,a.jsx)("div",{className:"col-md-6",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"Shipping.Zip",className:"requiredField",children:o.getAppSettingObject("zipCodeLabel")}),(0,a.jsx)("input",{className:"form-control",type:"text",id:"Shipping.Zip",name:"Shipping.Zip",maxLength:"10",onBlur:function(n){e.getFreightAfterValidZip("Shipping",n)},onChange:function(n){e.validateZipCodeHandler("Shipping",n)},value:e.shippingView.contact.shipAddress.Zip,required:!0,autoComplete:"false"})]})})]})})})]})}),(0,a.jsx)("div",{className:"accordion",id:"accordionExample1",children:(0,a.jsxs)("div",{className:"card",children:[(0,a.jsx)("div",{className:"card-header",id:"headingTwo",children:(0,a.jsx)("button",{className:"btn btn-link collapsed btn-block text-left",type:"button","data-toggle":"collapse","data-target":"#collapseTwo","aria-expanded":"false","aria-controls":"collapseTwo",children:(0,a.jsx)("h6",{children:"Shipping Method"})})}),(0,a.jsx)("div",{id:"collapseTwo",className:"collapse fade show","aria-labelledby":"headingTwo","data-parent":"#accordionExample1",children:(0,a.jsx)("div",{className:"card-body",children:(0,a.jsx)("div",{className:"checkout-footer-shipping",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-md-7 checkout-shipping-box",children:(0,a.jsxs)("div",{className:"form-group",children:[(0,a.jsx)("label",{htmlFor:"shippingmethods",children:"Select Shipping Method"}),(0,a.jsx)("select",{className:"form-control",id:"shippingmethods",onChange:function(n){e.onShippingMethodSelectionHandler(n)},value:e.shippingView.selectedShippingMethod,children:e.shippingView.shippingMethods.map(function(e){return(0,a.jsx)("option",{value:e.shippingMethodId,children:e.serviceName},e.shippingMethodId)})})]})}),(0,a.jsx)("div",{className:"col-md-5 checkout-shipping-box",children:(0,a.jsxs)("p",{children:["Freight for ",(0,a.jsx)("span",{id:"spnGetItemCount",children:e.cartDetails.cartItems.length})," line item(s):",e.shippingView.getSelectedShippingMethodNetShippingCharges()>=0?(0,a.jsx)("strong",{children:(0,a.jsxs)("b",{children:[" ",e.cartDetails.convertPriceWithComma(e.shippingView.getSelectedShippingMethodNetShippingCharges())]})}):null,0>e.shippingView.getSelectedShippingMethodNetShippingCharges()?(0,a.jsx)("strong",{children:(0,a.jsx)("b",{children:null!=new t.default().getAppSettingObject("labelForFreightOnTransaction")&&void 0!=new t.default().getAppSettingObject("labelForFreightOnTransaction")&&""!=new t.default().getAppSettingObject("labelForFreightOnTransaction")?new t.default().getAppSettingObject("labelForFreightOnTransaction"):"As Applicable"})}):null]})})]})})})})]})})]})})}),(0,a.jsxs)("div",{className:"checkout-footer shopping-cart-footer-buttons",children:[(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("a",{className:"btn btn-outline backtoCart primaryButtonTransparent",href:"javascript:void();",onClick:function(){return e.updateCartStage(0)},children:"\xa0Back To Cart"})}),e.cartDetails.showRfq?(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("button",{className:"btn btn-solid primaryButton",onClick:function(){return e.rfqHandler()},children:"Request Quote"})}):null,e.cartDetails.showContinueCheckoutOnGuestShip()?(0,a.jsx)("div",{className:"column",children:(0,a.jsx)("button",{className:"btn btn-solid primaryButton",id:"shippingcontinueshoppingbtn",onClick:function(){e.saveGuestShippingAddressHandler(!0)},disabled:(e.cartDetails.cmbShpHdl?0>e.cartDetails.getDocumentCombinedFreightAndHandling():0>e.cartDetails.getDocumentFreight())&&new t.default().getAppSettingObject("disableContinueLinkForFreight"),children:"Continue"})}):null]})]}):(0,a.jsx)(r.Z,{shippingView:e.shippingView,updateCartStage:e.updateCartStage,onHaveAccountHandler:e.onHaveAccountHandler,onGuestCartLoginContinueCheckout:e.onGuestCartLoginContinueCheckout,validateEmail:e.validateEmail,onChangeEventHandler:e.onChangeEventHandler,setValidationErrorsHandler:e.setValidationErrorsHandler,ProfilePopup:e.ProfilePopup,ContractPopup:e.ContractPopup,TermsPopup:e.TermsPopup})})}}}]);

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.