{"version":3,"sources":["../VerifyCheck.ts","../WeatherForecasts.ts","../index.ts","store/Counter.ts","../NavMenu.tsx","../Layout.tsx","../VerifyCheckStart.tsx","../VerifyCheckUnderwriting.tsx","components/VerifyCheckAdoptStart.tsx","../VerifyCheckAdoptSuccess.tsx","../VerifyCheckVerificationSuccess.tsx","../VerifyCheckVerificationFail.tsx","../VerifyCheckVerificationAdopted.tsx","../PdfViewer.tsx","../VerifyCheckMaster.tsx","../Home.tsx","../Counter.tsx","../FetchData.tsx","../App.tsx","registerServiceWorker.ts","../index.tsx","store/configureStore.ts"],"names":["state","incomingAction","undefined","count","type","e","VerifyCheckAdoptStart","VerifyCheckStore","props","useState","React","_useState","_useState2","_slicedToArray","fullName","setFullName","_useState3","_useState4","email","setEmail","_useState5","_useState6","phone","setPhone","_useState7","_useState8","dealerName","setDealerName","_useState9","_useState10","assetTypeId","setAssetTypeId","_useState11","_useState12","vehicleVin","setVehicleVin","_useState13","_useState14","vehicleYear","setVehicleYear","_useState15","_useState16","vehicleMake","setVehicleMake","_useState17","_useState18","vehicleModel","setVehicleModel","_useState19","_useState20","vehicleMileage","setVehicleMileage","_useState21","_useState22","vehicleColor","setVehicleColor","_useState23","_useState24","tenderedCheckAmount","setTenderedCheckAmount","verifyCheckState","useSelector","verifyCheck","dispatch","useDispatch","_jsxs","children","_jsx","Container","Row","Col","xs","className","name","onChange","ev","target","value","NumericFormat","thousandSeparator","prefix","decimalScale","fixedDecimalScale","onValueChange","values","onClick","data","loginId","creditUnion","siteDraftCheckId","siteDraftCheck","dealerContactFullName","dealerContactEmail","dealerContactPhone","vehicleAssetTypeId","parseInt","fetch","method","mode","cache","credentials","headers","redirect","referrerPolicy","body","JSON","stringify","then","response","json","isSuccess","processState","defaultProps","actionCreators","increment","decrement","isLocalhost","Boolean","window","location","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","register","registration","onupdatefound","installingWorker","installing","onstatechange","controller","console","log","catch","error","history","initialState","middleware","thunk","routerMiddleware","rootReducer","combineReducers","_objectSpread","reducers","router","connectRouter","enhancers","windowIfDefined","__REDUX_DEVTOOLS_EXTENSION__","push","createStore","compose","apply","applyMiddleware","concat","URL","process","toString","origin","addEventListener","contentType","get","status","indexOf","ready","unregister","reload","checkValidServiceWorker"],"mappings":"+bAEA,WAyIa,QAAQ,GAIR,iBAAiB,CAC1B,cAAe,SAAC,GACZ,QAAQ,IAAI,GACK,eACjB,CAAS,CAAE,KAAM,qBAAsB,aAAc,gBAEzD,EACA,gBAAiB,SAAC,GACd,IAAM,EAAW,gBACjB,QAAQ,IAAI,4BACZ,MAAM,iBACE,CACI,OAAQ,OACR,KAAM,OACN,MAAO,WACP,YAAa,cACb,QAAS,CAAE,eAAgB,oBAC3B,SAAU,SACV,eAAgB,cAChB,KAAM,KAAK,UAAU,KAE5B,MAAK,YAAY,SAAS,MAAT,IACjB,MAAK,YACF,QAAQ,IAAI,GACR,EAAK,WACL,EAAS,CAAE,KAAM,sBAAuB,KAAI,GAEpD,GACR,GAMJ,IAAM,EAAmC,CACrC,WAAW,EACX,aAAc,QACd,UAAW,CACP,YAAa,EACb,mBAAoB,GACpB,kBAAmB,GACnB,mBAAoB,GACpB,kBAAmB,GACnB,kBAAmB,EACnB,iBAAkB,EAClB,kBAAmB,GACnB,eAAgB,GAChB,mBAAmB,GACnB,oBAAmB,GACnB,gBAAgB,GAChB,iBAAkB,GAClB,iBAAkB,GACrB,mBAEG,YAAS,CACT,QAAQ,EACR,QACA,SAAQ,GACR,KAAK,GACL,MAAO,GACP,OACA,UAAW,GACX,WACH,oBAEG,gBACA,iBAAe,EACf,eACA,iBAAiB,GACjB,YAAW,EACX,aACA,sBAAc,GACd,cACA,mBAAc,EACd,WAAY,GACZ,gBACA,qBACH,gCAID,EAAI,QAAU,SAAS,EAAE,G,QACd,IAAP,EACH,SAED,QAAM,IAAM,YAAG,EAA8B,MAC7C,MAAQ,EACJ,SAAK,MACD,2BAcA,8BACJ,OAAK,KAAyB,qBAb1B,2BAQJ,OAPI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AAgB,oBAC3B,SAAU,SACV,eAAgB,cAChB,KAAM,KAAK,UAAU,MAE5B,MAAK,YAAQ,OAAI,EAAS,MAAkD,IAC5E,MAAK,YACF,QAAQ,IAAI,GACR,EAAK,WACL,EAAM,SAAS,CAAE,KAAM,sBAAuB,QAEtD,IAIR,SACI,gBAAC,WAAQ,CAAC,MAAO,GACb,gBAAC,IAAe,CAAC,QAAS,GACtB,gBAAC,EAAG,QAGZ,SAAS,eAAe,SD/Bb,WACX,GAA6C,kBAAmBxB,UAAW,CAIvE,GADkB,IAAIiC,IADVC,GACmBxC,OAAOC,SAASwC,YACjCC,SAAW1C,OAAOC,SAASyC,OAIrC,OAGJ1C,OAAO2C,iBAAiB,QAAQ,WAC5B,IAAMtC,EAAK,GAAAiC,OAAME,GAAsB,sBAEnC1C,EAwChB,SAAiCO,GAE7B3B,MAAM2B,GACDhB,MAAK,SAAAC,GAEF,IAAMsD,EAActD,EAASP,QAAQ8D,IAAI,gBACjB,MAApBvD,EAASwD,QAAmBF,IAAsD,IAAvCA,EAAYG,QAAQ,cAE/DzC,UAAUC,cAAcyC,MAAM3D,MAAK,SAAAoB,GAC/BA,EAAawC,aAAa5D,MAAK,WAC3BW,OAAOC,SAASiD,QACpB,GACJ,IAGA9C,EAAgBC,EAExB,IACCY,OAAM,WACHF,QAAQC,IAAI,gEAChB,GACR,CA3DgBmC,CAAwB9C,GAGxBD,EAAgBC,EAExB,GACJ,CACJ,CCSA,E","file":"static/js/main.1b18a09f.chunk.js","sourcesContent":["\"use strict\";\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.reducer = exports.actionCreators = exports.hooks = void 0;\r\nvar react_redux_1 = require(\"react-redux\");\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\nexports.hooks = {};\r\nexports.actionCreators = {\r\n postAdoptData: function (firstname) {\r\n console.log(firstname);\r\n var dispatch = react_redux_1.useDispatch();\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"underwriting\" });\r\n },\r\n fetchWhiteLabel: function (data) {\r\n var dispatch = react_redux_1.useDispatch();\r\n console.log('fetch from actionCreator');\r\n fetch('api/whitelabel', {\r\n method: 'POST',\r\n mode: 'cors',\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: { 'Content-Type': 'application/json' },\r\n redirect: 'follow',\r\n referrerPolicy: 'no-referrer',\r\n body: JSON.stringify(data) // body data type must match \"Content-Type\" header\r\n })\r\n .then(function (response) { return response.json(); })\r\n .then(function (data) {\r\n console.log(data);\r\n if (data.isSuccess) {\r\n dispatch({ type: 'RECEIVE_WHITE_LABEL', data: data });\r\n }\r\n });\r\n }\r\n};\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nvar unloadedState = {\r\n isLoading: false,\r\n processState: \"start\",\r\n siteDraft: {\r\n siteDraftId: 0,\r\n borrower1NameFirst: \"\",\r\n borrower1NameLast: \"\",\r\n borrower2NameFirst: \"\",\r\n borrower2NameLast: \"\",\r\n loanApprovedLimit: 0,\r\n loanToValueLimit: 0,\r\n mileageLimitation: \"\",\r\n yearLimitation: \"\",\r\n yearLimitationYear: \"\",\r\n specialInstructions: \"\",\r\n loanOfficerName: \"\",\r\n loanOfficerEmail: \"\",\r\n loanOfficerPhone: \"\",\r\n loanOfficerFax: \"\"\r\n },\r\n creditUnion: {\r\n loginId: 0,\r\n name: \"\",\r\n address1: \"\",\r\n city: \"\",\r\n state: \"\",\r\n zip: \"\",\r\n phoneMain: \"\",\r\n faxMain: \"\",\r\n logoImageBase64: \"\"\r\n },\r\n siteDraftCheck: {\r\n siteDraftCheckId: 0,\r\n checkNumber: \"\",\r\n verificationCode: \"\",\r\n isVerified: false,\r\n isAdopted: false,\r\n dealerContactFullName: \"\",\r\n dealerName: \"\",\r\n vehicleAssetTypeId: 0,\r\n vehicleVin: \"\",\r\n vehicleColor: \"\",\r\n authorizationCode: \"\",\r\n authorizationReceiptBase64: \"\"\r\n }\r\n};\r\nexports.reducer = function (state, incomingAction) {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n console.log(\"reducer: \" + incomingAction.type);\r\n var action = incomingAction;\r\n switch (action.type) {\r\n case 'REQUEST_VERIFY_CHECK':\r\n return __assign(__assign({}, state), { isLoading: true });\r\n case 'RECEIVE_VERIFY_CHECK':\r\n console.log(\"RECEIVE_VERIFY_CHECK\");\r\n return __assign(__assign({}, state), { isLoading: false, creditUnion: action.data.creditUnion, siteDraft: action.data.siteDraft, siteDraftCheck: action.data.siteDraftCheck });\r\n case \"GOTO_PROCESS_STATE\":\r\n console.log(\"GOTO_PROCESS_STATE\");\r\n return __assign(__assign({}, state), { processState: action.processState });\r\n case 'REQUEST_ADOPT_SITEDRAFT':\r\n return __assign(__assign({}, state), { isLoading: true });\r\n case 'RECEIVE_ADOPT_SITEDRAFT':\r\n console.log(\"RECEIVE_VERIFY_CHECK\");\r\n console.log(action.data);\r\n return __assign(__assign({}, state), { siteDraftCheck: __assign(__assign({}, state.siteDraftCheck), { authorizationCode: action.data.dealerAuthorizationCode, authorizationReceiptBase64: action.data.dealerAuthorizationReceiptBase64 }), isLoading: false });\r\n case 'RECEIVE_WHITE_LABEL':\r\n console.log(\"RECEIVE_WHITE_LABEL\");\r\n return __assign(__assign({}, state), { creditUnion: action.data.creditUnion });\r\n default:\r\n return state;\r\n }\r\n};\r\n//# sourceMappingURL=VerifyCheck.js.map","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.reducer = exports.actionCreators = void 0;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\nexports.actionCreators = {\r\n requestWeatherForecasts: function (startDateIndex) { return function (dispatch, getState) {\r\n // Only load data if it's something we don't already have (and are not already loading)\r\n var appState = getState();\r\n if (appState && appState.weatherForecasts && startDateIndex !== appState.weatherForecasts.startDateIndex) {\r\n fetch(\"weatherforecast\")\r\n .then(function (response) { return response.json(); })\r\n .then(function (data) {\r\n dispatch({ type: 'RECEIVE_WEATHER_FORECASTS', startDateIndex: startDateIndex, forecasts: data });\r\n });\r\n dispatch({ type: 'REQUEST_WEATHER_FORECASTS', startDateIndex: startDateIndex });\r\n }\r\n }; }\r\n};\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nvar unloadedState = { forecasts: [], isLoading: false };\r\nexports.reducer = function (state, incomingAction) {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n var action = incomingAction;\r\n switch (action.type) {\r\n case 'REQUEST_WEATHER_FORECASTS':\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n forecasts: state.forecasts,\r\n isLoading: true\r\n };\r\n case 'RECEIVE_WEATHER_FORECASTS':\r\n // Only accept the incoming data if it matches the most recent request. This ensures we correctly\r\n // handle out-of-order responses.\r\n if (action.startDateIndex === state.startDateIndex) {\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n forecasts: action.forecasts,\r\n isLoading: false\r\n };\r\n }\r\n break;\r\n }\r\n return state;\r\n};\r\n//# sourceMappingURL=WeatherForecasts.js.map","import * as WeatherForecasts from './WeatherForecasts';\r\nimport * as Counter from './Counter';\r\nimport * as VerifyCheck from \"./VerifyCheck\";\r\n// Whenever an action is dispatched, Redux will update each top-level application state property using\r\n// the reducer with the matching name. It's important that the names match exactly, and that the reducer\r\n// acts on the corresponding ApplicationState property type.\r\nexport const reducers = {\r\n counter: Counter.reducer,\r\n weatherForecasts: WeatherForecasts.reducer,\r\n verifyCheck: VerifyCheck.reducer\r\n};\r\n//# sourceMappingURL=index.js.map","import { Action, Reducer } from \"redux\";\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\n\r\nexport interface CounterState {\r\n count: number;\r\n}\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\n\r\nexport interface IncrementCountAction { type: 'INCREMENT_COUNT' }\r\nexport interface DecrementCountAction { type: 'DECREMENT_COUNT' }\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = IncrementCountAction | DecrementCountAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n increment: () => ({ type: 'INCREMENT_COUNT' } as IncrementCountAction),\r\n decrement: () => ({ type: 'DECREMENT_COUNT' } as DecrementCountAction)\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nexport const reducer: Reducer = (state: CounterState | undefined, incomingAction: Action): CounterState => {\r\n if (state === undefined) {\r\n return { count: 0 };\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'INCREMENT_COUNT':\r\n return { count: state.count + 1 };\r\n case 'DECREMENT_COUNT':\r\n return { count: state.count - 1 };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Container, Navbar, NavbarBrand } from 'reactstrap';\r\nimport { Link } from 'react-router-dom';\r\nimport './NavMenu.css';\r\n//& typeof VerifyCheckStore.actionCreators\r\n//& { submit: any }; // ... plus action creators we've requested\r\n//
{this.props.processState}
\r\n//
{this.props.creditUnion.name}
\r\nclass NavMenu extends React.PureComponent {\r\n constructor() {\r\n super(...arguments);\r\n this.state = {\r\n isOpen: false\r\n };\r\n this.toggle = () => {\r\n this.setState({\r\n isOpen: !this.state.isOpen\r\n });\r\n };\r\n }\r\n render() {\r\n var cuLogoStyle = {\r\n backgroundImage: \"url(data:image/svg+xml;base64,\" + this.props.creditUnion.logoImageBase64 + \")\"\r\n };\r\n return (React.createElement(\"header\", null,\r\n React.createElement(Navbar, { className: \"navbar-expand-sm navbar-toggleable-sm border-bottom box-shadow mb-3\", light: true },\r\n React.createElement(Container, null,\r\n React.createElement(NavbarBrand, { tag: Link, to: \"/\" },\r\n React.createElement(\"div\", { className: \"vmacLogo\" })),\r\n React.createElement(NavbarBrand, { tag: Link, to: \"/\" },\r\n React.createElement(\"div\", { className: \"cuLogo\", style: cuLogoStyle }, \" \"))))));\r\n }\r\n}\r\nexport default connect((state) => state.verifyCheck)(NavMenu);\r\n/*\r\n \r\n \r\n
    \r\n \r\n Home\r\n \r\n
\r\n
\r\n */ \r\n//# sourceMappingURL=NavMenu.js.map","import * as React from 'react';\r\nimport { Container } from 'reactstrap';\r\nimport NavMenu from './NavMenu';\r\nexport default (props) => (React.createElement(React.Fragment, null,\r\n React.createElement(NavMenu, null),\r\n React.createElement(Container, null, props.children)));\r\n//# sourceMappingURL=Layout.js.map","import * as React from 'react';\r\nimport { useDispatch } from 'react-redux';\r\nimport './Base.css';\r\nconst VerifyCheckStart = (props) => {\r\n const useState = React.useState;\r\n const dispatch = useDispatch();\r\n // Component State\r\n const [checkNumber, setCheckNumber] = useState(\"\");\r\n const [verificationCode, setVerificationCode] = useState(\"\");\r\n const submitData = (e) => {\r\n const data = {\r\n checkNumber: checkNumber,\r\n verificationCode: verificationCode,\r\n host: window.location.host\r\n };\r\n fetch(`api/validatecheck`, {\r\n method: 'POST', // *GET, POST, PUT, DELETE, etc.\r\n mode: 'cors', // no-cors, *cors, same-origin\r\n cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached\r\n credentials: 'same-origin', // include, *same-origin, omit\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n redirect: 'follow', // manual, *follow, error\r\n referrerPolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url\r\n body: JSON.stringify(data) // body data type must match \"Content-Type\" header\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n dispatch({ type: 'RECEIVE_VERIFY_CHECK', data: data });\r\n if (data.siteDraftCheck.isAdopted) {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"verificationAdopted\" });\r\n }\r\n else {\r\n if (data.siteDraftCheck.isVerified) {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"underwriting\" });\r\n }\r\n else {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"verificationFail\" });\r\n }\r\n }\r\n });\r\n dispatch({ type: 'REQUEST_VERIFY_CHECK' });\r\n };\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(\"p\", null, \"Enter the check number and the verification code printed on the AutoCheck.\"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"label\", null, \"Check Number\"),\r\n React.createElement(\"input\", { className: \"form-control\", name: \"checkNumber\", onChange: (ev) => setCheckNumber(ev.target.value) }),\r\n React.createElement(\"label\", null, \"Verification Code\"),\r\n React.createElement(\"input\", { className: \"form-control\", name: \"verificationCode\", onChange: (ev) => setVerificationCode(ev.target.value) }),\r\n React.createElement(\"div\", { className: \"button_container\" },\r\n React.createElement(\"button\", { className: \"btn btn-primary\", onClick: submitData }, \"Submit\")))));\r\n};\r\nexport default VerifyCheckStart;\r\n//# sourceMappingURL=VerifyCheckStart.js.map","import * as React from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport \"./Base.css\";\r\nimport { Container, Row, Col } from \"reactstrap\";\r\nconst VerifyCheckUnderwriting = (props) => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n const dispatch = useDispatch();\r\n const verifyCheck = useSelector((state) => state.verifyCheck);\r\n const [isConfirmed, setIsConfirmed] = React.useState(false);\r\n const processStateAction = (x) => ({ type: 'GOTO_PROCESS_STATE', processState: x });\r\n const submitData = (e) => {\r\n dispatch(processStateAction(e.currentTarget.value));\r\n };\r\n return React.createElement(\"div\", null,\r\n React.createElement(\"h3\", null,\r\n \"This AutoCheck has been verified as a valid AutoCheck \",\r\n React.createElement(\"br\", null),\r\n \"issued by \",\r\n verifyCheck ? verifyCheck.creditUnion.name : \"\"),\r\n React.createElement(Container, null,\r\n React.createElement(Row, null,\r\n React.createElement(Col, { xs: \"9\" },\r\n React.createElement(\"div\", null, \"This check has been issued to: \"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"strong\", null, \"Borrower 1: \"),\r\n verifyCheck ? verifyCheck.siteDraft.borrower1NameFirst : \"\",\r\n \"\\u00A0\",\r\n verifyCheck ? verifyCheck.siteDraft.borrower1NameLast : \"\",\r\n \" \"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"strong\", null, \"Borrower 2: \"),\r\n verifyCheck ? verifyCheck.siteDraft.borrower2NameFirst : \"\",\r\n \"\\u00A0\",\r\n verifyCheck ? verifyCheck.siteDraft.borrower2NameLast : \"\",\r\n \" \"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"strong\", null, \"By: \"),\r\n verifyCheck ? verifyCheck.creditUnion.name : \"\"),\r\n React.createElement(\"div\", null, \"In order to deposit this check please confirm that the follow criteria has been met:\"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"ul\", null,\r\n React.createElement(\"li\", null, \"The LTV meets the limits as stated on the front of the auto check\"),\r\n React.createElement(\"li\", null,\r\n \"The total amount of check is less than $\",\r\n verifyCheck ? verifyCheck.siteDraft.loanApprovedLimit.toString().replace(/(\\d)(?=(\\d{3})+(?!\\d))/g, '$1,') : \"None\"),\r\n React.createElement(\"li\", null,\r\n \"The mileage is less than \",\r\n verifyCheck ? verifyCheck.siteDraft.mileageLimitation : \"None\",\r\n \" miles\"),\r\n React.createElement(\"li\", null,\r\n \"The vehicle's model year is \",\r\n verifyCheck ? verifyCheck.siteDraft.yearLimitationYear : \"None\",\r\n \" or newer\"),\r\n React.createElement(\"li\", null, \"The name(s) on the title are the same as the name(s) printed on the AutoCheck\"),\r\n React.createElement(\"li\", null, \"This is not a salvaged, rebuilt, or flood damaged vehicle\"),\r\n React.createElement(\"li\", null, \"Dealer and Borrower have signed the AutoCheck\"),\r\n React.createElement(\"li\", null,\r\n \"Special Instructions: \",\r\n verifyCheck ? verifyCheck.siteDraft.specialInstructions : \"0\")),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"input\", { type: \"checkbox\", id: \"chkAcknowledge\", name: \"chkAcknowledge\", value: \"chkAcknowledge\", onClick: (e) => { setIsConfirmed(e.currentTarget.checked); } }),\r\n React.createElement(\"label\", { htmlFor: \"chkAcknowledge\" }, \"\\u00A0By checking and submitting I acknowledge all criteria has been met.\"))),\r\n React.createElement(\"div\", { className: \"button_container\" },\r\n React.createElement(\"button\", { className: \"btn btn-primary\", disabled: !isConfirmed, name: \"btnContinue\", value: \"adoptStart\", onClick: submitData }, \"Continue\")),\r\n React.createElement(\"div\", null)),\r\n React.createElement(Col, { xs: \"3\" },\r\n React.createElement(\"div\", null,\r\n \"Credit Union Contact Info:\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerName : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerEmail : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerPhone : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerFax : \"\",\r\n React.createElement(\"br\", null))))));\r\n};\r\n//VerifyCheckVerificationSuccess.defaultProps = VerifyCheckStore.actionCreators;\r\nexport default VerifyCheckUnderwriting;\r\n//# sourceMappingURL=VerifyCheckUnderwriting.js.map","import * as React from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { ApplicationState } from \"../store/index\";\r\nimport * as VerifyCheckStore from \"../store/VerifyCheck\";\r\nimport './Base.css';\r\nimport IAdoptSiteDraftRequest = VerifyCheckStore.IAdoptSiteDraftRequest;\r\nimport IAdoptSiteDraftResponse = VerifyCheckStore.IAdoptSiteDraftResponse;\r\nimport IVerifyCheckState = VerifyCheckStore.IVerifyCheckState;\r\nimport { Container, Row, Col } from \"reactstrap\";\r\nimport { NumericFormat } from \"react-number-format\";\r\n\r\ninterface IAdoptStart {\r\n actionCreators: typeof VerifyCheckStore.actionCreators,\r\n name: string;\r\n}\r\n\r\n\r\nconst VerifyCheckAdoptStart: React.FunctionComponent = (props) => {\r\n // configure local state\r\n const useState = React.useState;\r\n const [fullName, setFullName] = useState(\"\");\r\n const [email, setEmail] = useState(\"\");\r\n const [phone, setPhone] = useState(\"\");\r\n const [dealerName, setDealerName] = useState(\"\");\r\n const [assetTypeId, setAssetTypeId] = useState(\"1\");\r\n const [vehicleVin, setVehicleVin] = useState(\"\");\r\n const [vehicleYear, setVehicleYear] = useState(\"\");\r\n const [vehicleMake, setVehicleMake] = useState(\"\");\r\n const [vehicleModel, setVehicleModel] = useState(\"\");\r\n const [vehicleMileage, setVehicleMileage] = useState(\"\");\r\n const [vehicleColor, setVehicleColor] = useState(\"\");\r\n const [tenderedCheckAmount, setTenderedCheckAmount] = useState(\"\");\r\n\r\n //configure Redux\r\n const verifyCheckState = useSelector((state: ApplicationState) => state.verifyCheck);\r\n const dispatch = useDispatch();\r\n\r\n // event handlers\r\n const submitData = (e: React.MouseEvent) => {\r\n\r\n const data = {\r\n loginId: verifyCheckState ? verifyCheckState.creditUnion.loginId : 0,\r\n siteDraftCheckId: verifyCheckState ? verifyCheckState.siteDraftCheck.siteDraftCheckId : 0,\r\n dealerContactFullName: fullName,\r\n dealerContactEmail: email,\r\n dealerContactPhone: phone,\r\n dealerName: dealerName,\r\n vehicleAssetTypeId: parseInt(assetTypeId),\r\n vehicleVin: vehicleVin,\r\n vehicleYear: vehicleYear,\r\n vehicleMake: vehicleMake,\r\n vehicleModel: vehicleModel,\r\n vehicleMileage: vehicleMileage,\r\n vehicleColor: vehicleColor,\r\n tenderedCheckAmount: tenderedCheckAmount\r\n } as IAdoptSiteDraftRequest;\r\n\r\n fetch(`api/adoptcheck`,\r\n {\r\n method: 'POST', // *GET, POST, PUT, DELETE, etc.\r\n mode: 'cors', // no-cors, *cors, same-origin\r\n cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached\r\n credentials: 'same-origin', // include, *same-origin, omit\r\n headers: { 'Content-Type': 'application/json' },\r\n redirect: 'follow', // manual, *follow, error\r\n referrerPolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url\r\n body: JSON.stringify(data) // body data type must match \"Content-Type\" header\r\n })\r\n .then(response => response.json() as Promise)\r\n .then(data => {\r\n dispatch({ type: 'RECEIVE_ADOPT_SITEDRAFT', data: data });\r\n\r\n if (data.isSuccess) {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"adoptSuccess\" });\r\n } else {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"adoptFail\" });\r\n }\r\n });\r\n dispatch({ type: 'REQUEST_ADOPT_SITEDRAFT' });\r\n };\r\n\r\n // component definition\r\n return
\r\n
Great, the final step it to Adopt this check for the purchase of the vehicle.
\r\n
By completing this process the check will be linked to the purchase of the vehicle.
\r\n
To Adopt this check we need to collect some information to complete the process.
Please enter the information requested below.
\r\n \r\n \r\n \r\n \r\n ,): void => setFullName(ev.target.value)} />\r\n \r\n , ): void => setEmail(ev.target.value)} />\r\n \r\n , ): void => setPhone(ev.target.value)} />\r\n \r\n ,): void => setDealerName(ev.target.value)} />\r\n \r\n \r\n \r\n \r\n {(assetTypeId === \"3\" || assetTypeId === \"4\" || assetTypeId === \"5\" || assetTypeId === \"6\") ? (): ()}\r\n ,): void => setVehicleVin(ev.target.value)} />\r\n {(assetTypeId === \"3\" || assetTypeId === \"4\" || assetTypeId === \"5\" || assetTypeId === \"6\") && (\r\n \r\n \r\n ,): void => setVehicleYear(ev.target.value)} />\r\n \r\n ,): void => setVehicleMake(ev.target.value)} />\r\n \r\n ,): void => setVehicleModel(ev.target.value)} />\r\n )}\r\n {(assetTypeId === \"1\" || assetTypeId === \"2\" ) && (\r\n \r\n \r\n ,): void => setVehicleMileage(ev.target.value)} />\r\n )}\r\n \r\n \r\n ,): void => setVehicleColor(ev.target.value)} />\r\n \r\n {/*,): void => setTenderedCheckAmount(ev.target.value)} />*/}\r\n { const { value } = values; setTenderedCheckAmount(value); }} />\r\n
 
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
;\r\n};\r\n\r\nVerifyCheckAdoptStart.defaultProps = {actionCreators: VerifyCheckStore.actionCreators, name: \"Mike\" };\r\n\r\nexport default VerifyCheckAdoptStart as any;","import * as React from 'react';\r\nimport { connect, useSelector, useDispatch } from 'react-redux';\r\nimport './Base.css';\r\nconst VerifyCheckAdoptSuccess = () => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n const dispatch = useDispatch();\r\n const processStateAction = (x) => ({ type: 'GOTO_PROCESS_STATE', processState: x });\r\n const submitData = (e) => {\r\n dispatch(processStateAction(e.currentTarget.value));\r\n };\r\n const showAuthorizationPdf = (e) => {\r\n dispatch({ type: 'GOTO_PROCESS_STATE', processState: \"showAuthorizationCert\" });\r\n };\r\n return React.createElement(\"div\", null,\r\n React.createElement(\"div\", null, \"You are now authorized to deposit this check at your financial institution. Please make sure to enter this authorization code on the check.\"),\r\n React.createElement(\"div\", null,\r\n \"Authorization Code: \",\r\n verifyCheckState.siteDraftCheck.authorizationCode),\r\n React.createElement(\"div\", { className: \"button_container\" },\r\n React.createElement(\"button\", { className: \"btn btn-primary\", name: \"btnSubmit\", value: \"adoptSuccess\", onClick: showAuthorizationPdf }, \"Get Authorization Document\")),\r\n React.createElement(\"div\", null, \"Important! Print or Save this authorization document before leaving this screen. It can not be accessed once the page has been closed.\"),\r\n React.createElement(\"div\", null, \"\\u00A0\"),\r\n React.createElement(\"div\", null, \"Once you deposit this check at your financial institution. Payment will fund provided the credit union has received by fax or email the following documents.\"),\r\n React.createElement(\"div\", null,\r\n React.createElement(\"ul\", null,\r\n React.createElement(\"li\", null, \"Copy of purchase Agreement (Buyer's Order) for the vehicle, signed by each borrower, and a representative of the Dealer.\"),\r\n React.createElement(\"li\", null, \"Invoice or NADA value sheet related to purchased security\"))));\r\n};\r\nexport default connect()(VerifyCheckAdoptSuccess);\r\n//# sourceMappingURL=VerifyCheckAdoptSuccess.js.map","import * as React from 'react';\r\nimport { useSelector, useDispatch } from 'react-redux';\r\nconst VerifyCheckVerificationSuccess = (props) => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n const dispatch = useDispatch();\r\n const processStateAction = (x) => ({ type: 'GOTO_PROCESS_STATE', processState: x });\r\n const submitData = (e) => {\r\n dispatch(processStateAction(e.currentTarget.value));\r\n };\r\n return React.createElement(\"div\", null,\r\n React.createElement(\"div\", null, \"Check has been verified as a valid AutoCheck.\"),\r\n React.createElement(\"div\", null, \"Do you wish to adopt this Autocheck for the purpose of using the check to pay for a customer's vehicle?\"),\r\n React.createElement(\"button\", { className: \"btn btn-primary\", name: \"btnAdopt\", value: \"adoptStart\", onClick: submitData }, \"Adopt\"),\r\n React.createElement(\"button\", { className: \"btn btn-primary\", name: \"btnAdopt\", value: \"start\", onClick: submitData }, \"Cancel\"));\r\n};\r\n//VerifyCheckVerificationSuccess.defaultProps = VerifyCheckStore.actionCreators;\r\nexport default VerifyCheckVerificationSuccess;\r\n//# sourceMappingURL=VerifyCheckVerificationSuccess.js.map","import * as React from 'react';\r\nimport { useSelector, useDispatch } from 'react-redux';\r\nimport './Base.css';\r\nconst VerifyCheckVerificationFail = () => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n const dispatch = useDispatch();\r\n const processStateAction = (x) => ({ type: 'GOTO_PROCESS_STATE', processState: x });\r\n const submitData = (e) => {\r\n dispatch(processStateAction(e.currentTarget.value));\r\n };\r\n return React.createElement(\"div\", null,\r\n React.createElement(\"div\", null, \"Verification Failed\"),\r\n React.createElement(\"div\", null, \"The verification code provided does not match the check number or the check number you provided does not exist.\"),\r\n React.createElement(\"div\", null, \"If you believe this to be in error, please contact Support.\"),\r\n React.createElement(\"div\", { className: \"button_container\" },\r\n React.createElement(\"button\", { className: \"btn btn-primary\", name: \"btnTryAgain\", value: \"start\", onClick: submitData }, \"Try Again\")));\r\n};\r\nexport default VerifyCheckVerificationFail;\r\n//# sourceMappingURL=VerifyCheckVerificationFail.js.map","import * as React from 'react';\r\nimport { useSelector, useDispatch } from 'react-redux';\r\nimport './Base.css';\r\nconst VerifyCheckVerificationAdopted = () => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n const dispatch = useDispatch();\r\n const verifyCheck = useSelector((state) => state.verifyCheck);\r\n const processStateAction = (x) => ({ type: 'GOTO_PROCESS_STATE', processState: x });\r\n const submitData = (e) => {\r\n dispatch(processStateAction(e.currentTarget.value));\r\n };\r\n return React.createElement(\"div\", null,\r\n React.createElement(\"div\", null, \"Already Adopted\"),\r\n React.createElement(\"div\", null,\r\n \"This AutoCheck has already been adopted.\",\r\n React.createElement(\"br\", null),\r\n \"If you believe this to be in error, please contact Support.\"),\r\n React.createElement(\"div\", null,\r\n \"Credit Union Contact Info:\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerName : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerEmail : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerPhone : \"\",\r\n React.createElement(\"br\", null),\r\n verifyCheck ? verifyCheck.siteDraft.loanOfficerFax : \"\",\r\n React.createElement(\"br\", null)),\r\n React.createElement(\"div\", { className: \"button_container\" },\r\n React.createElement(\"button\", { className: \"btn btn-primary\", name: \"btnTryAgain\", value: \"start\", onClick: submitData }, \"Try Again\")));\r\n};\r\nexport default VerifyCheckVerificationAdopted;\r\n//# sourceMappingURL=VerifyCheckVerificationAdopted.js.map","import * as React from 'react';\r\nimport { connect, useSelector } from 'react-redux';\r\nconst PdfViewer = () => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n let base64 = 'data:application/pdf;base64,' + verifyCheckState.siteDraftCheck.authorizationReceiptBase64;\r\n console.log('PDF');\r\n console.log(base64);\r\n return React.createElement(\"iframe\", { src: base64, width: \"100%\", height: \"1200px\" });\r\n};\r\nexport default connect()(PdfViewer);\r\n//# sourceMappingURL=PdfViewer.js.map","import * as React from 'react';\r\nimport { connect, useSelector } from 'react-redux';\r\nimport VerifyCheckStart from \"./VerifyCheckStart\";\r\nimport VerifyCheckUnderwriting from \"./VerifyCheckUnderwriting\";\r\nimport VerifyCheckAdoptStart from \"./VerifyCheckAdoptStart\";\r\nimport VerifyCheckAdoptSuccess from \"./VerifyCheckAdoptSuccess\";\r\nimport VerifyCheckVerificationSuccess from \"./VerifyCheckVerificationSuccess\";\r\nimport VerifyCheckVerificationFail from \"./VerifyCheckVerificationFail\";\r\nimport VerifyCheckVerificationAdopted from \"./VerifyCheckVerificationAdopted\";\r\nimport PdfViewer from \"./PdfViewer\";\r\nconst VerifyCheckMaster = () => {\r\n const selectVerifyCheckState = (state) => state.verifyCheck;\r\n const verifyCheckState = useSelector(selectVerifyCheckState);\r\n return React.createElement(\"div\", null,\r\n verifyCheckState.processState === \"start\" ? React.createElement(VerifyCheckStart, null) : \"\",\r\n verifyCheckState.processState === \"underwriting\" ? React.createElement(VerifyCheckUnderwriting, null) : \"\",\r\n verifyCheckState.processState === \"verificationSuccess\" ? React.createElement(VerifyCheckVerificationSuccess, null) : \"\",\r\n verifyCheckState.processState === \"verificationFail\" ? React.createElement(VerifyCheckVerificationFail, null) : \"\",\r\n verifyCheckState.processState === \"verificationAdopted\" ? React.createElement(VerifyCheckVerificationAdopted, null) : \"\",\r\n verifyCheckState.processState === \"adoptStart\" ? React.createElement(VerifyCheckAdoptStart, null) : \"\",\r\n verifyCheckState.processState === \"adoptSuccess\" ? React.createElement(VerifyCheckAdoptSuccess, null) : \"\",\r\n verifyCheckState.processState === \"showAuthorizationCert\" ? React.createElement(PdfViewer, null) : \"\");\r\n};\r\nexport default connect()(VerifyCheckMaster);\r\n//# sourceMappingURL=VerifyCheckMaster.js.map","import * as React from 'react';\r\nimport { connect, useSelector } from 'react-redux';\r\nimport VerifyCheckMaster from \"./VerifyCheckMaster\";\r\nimport { Spinner } from 'reactstrap';\r\nconst Home = () => {\r\n var _a;\r\n const verifyCheck = useSelector((state) => state.verifyCheck);\r\n return React.createElement(\"div\", null,\r\n ((_a = verifyCheck === null || verifyCheck === void 0 ? void 0 : verifyCheck.isLoading) !== null && _a !== void 0 ? _a : null) ? React.createElement(Spinner, { id: \"loader\", animation: \"border\" }) : null,\r\n React.createElement(VerifyCheckMaster, null));\r\n};\r\nexport default connect()(Home);\r\n//# sourceMappingURL=Home.js.map","import * as React from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport * as CounterStore from \"../store/Counter\";\r\nclass Counter extends React.PureComponent {\r\n render() {\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(\"h1\", null, \"Counter\"),\r\n React.createElement(\"p\", null, \"This is a simple example of a React component.\"),\r\n React.createElement(\"p\", { \"aria-live\": \"polite\" },\r\n \"Current count: \",\r\n React.createElement(\"strong\", null, this.props.count)),\r\n React.createElement(\"button\", { type: \"button\", className: \"btn btn-primary btn-lg\", onClick: () => { this.props.increment(); } }, \"Increment\")));\r\n }\r\n}\r\n;\r\nexport default connect((state) => state.counter, CounterStore.actionCreators)(Counter);\r\n//# sourceMappingURL=Counter.js.map","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Link } from 'react-router-dom';\r\nimport * as WeatherForecastsStore from '../store/WeatherForecasts';\r\nclass FetchData extends React.PureComponent {\r\n // This method is called when the component is first added to the document\r\n componentDidMount() {\r\n this.ensureDataFetched();\r\n }\r\n // This method is called when the route parameters change\r\n componentDidUpdate() {\r\n this.ensureDataFetched();\r\n }\r\n render() {\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(\"h1\", { id: \"tabelLabel\" }, \"Weather forecast\"),\r\n React.createElement(\"p\", null, \"This component demonstrates fetching data from the server and working with URL parameters.\"),\r\n this.renderForecastsTable(),\r\n this.renderPagination()));\r\n }\r\n ensureDataFetched() {\r\n const startDateIndex = parseInt(this.props.match.params.startDateIndex, 10) || 0;\r\n this.props.requestWeatherForecasts(startDateIndex);\r\n }\r\n renderForecastsTable() {\r\n return (React.createElement(\"table\", { className: 'table table-striped', \"aria-labelledby\": \"tabelLabel\" },\r\n React.createElement(\"thead\", null,\r\n React.createElement(\"tr\", null,\r\n React.createElement(\"th\", null, \"Date\"),\r\n React.createElement(\"th\", null, \"Temp. (C)\"),\r\n React.createElement(\"th\", null, \"Temp. (F)\"),\r\n React.createElement(\"th\", null, \"Summary\"))),\r\n React.createElement(\"tbody\", null, this.props.forecasts.map((forecast) => React.createElement(\"tr\", { key: forecast.date },\r\n React.createElement(\"td\", null, forecast.date),\r\n React.createElement(\"td\", null, forecast.temperatureC),\r\n React.createElement(\"td\", null, forecast.temperatureF),\r\n React.createElement(\"td\", null, forecast.summary))))));\r\n }\r\n renderPagination() {\r\n const prevStartDateIndex = (this.props.startDateIndex || 0) - 5;\r\n const nextStartDateIndex = (this.props.startDateIndex || 0) + 5;\r\n return (React.createElement(\"div\", { className: \"d-flex justify-content-between\" },\r\n React.createElement(Link, { className: 'btn btn-outline-secondary btn-sm', to: `/fetch-data/${prevStartDateIndex}` }, \"Previous\"),\r\n this.props.isLoading && React.createElement(\"span\", null, \"Loading...\"),\r\n React.createElement(Link, { className: 'btn btn-outline-secondary btn-sm', to: `/fetch-data/${nextStartDateIndex}` }, \"Next\")));\r\n }\r\n}\r\nexport default connect((state) => state.weatherForecasts, // Selects which state properties are merged into the component's props\r\nWeatherForecastsStore.actionCreators // Selects which action creators are merged into the component's props\r\n)(FetchData);\r\n//# sourceMappingURL=FetchData.js.map","import * as React from 'react';\r\nimport { Route } from 'react-router';\r\nimport Layout from './components/Layout';\r\nimport Home from './components/Home';\r\nimport PdfViewer from \"./components/PdfViewer\";\r\nimport Counter from './components/Counter';\r\nimport FetchData from './components/FetchData';\r\nimport './custom.css';\r\nexport default () => (React.createElement(Layout, null,\r\n React.createElement(Route, { exact: true, path: \"/\", component: Home }),\r\n React.createElement(Route, { path: \"/pdfviewer\", component: PdfViewer }),\r\n React.createElement(Route, { path: \"/counter\", component: Counter }),\r\n React.createElement(Route, { path: \"/fetch-data/:startDateIndex?\", component: FetchData })));\r\n//# sourceMappingURL=App.js.map","// In production, we register a service worker to serve assets from local cache.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\r\n// cached resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\r\n// This link also includes instructions on opting out of this behavior.\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport default function register() {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const url = process.env.PUBLIC_URL as string;\r\n const publicUrl = new URL(url, window.location.toString());\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Lets check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl);\r\n } else {\r\n // Is not local host. Just register service worker\r\n registerValidSW(swUrl);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl: string) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing as ServiceWorker;\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the old content will have been purged and\r\n // the fresh content will have been added to the cache.\r\n // It's the perfect time to display a \"New content is\r\n // available; please refresh.\" message in your web app.\r\n console.log('New content is available; please refresh.');\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl: string) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type');\r\n if (response.status === 404 || (contentType && contentType.indexOf('javascript') === -1)) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl);\r\n }\r\n })\r\n .catch(() => {\r\n console.log('No internet connection found. App is running in offline mode.');\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import 'bootstrap/dist/css/bootstrap.css';\r\nimport * as React from 'react';\r\nimport * as ReactDOM from 'react-dom';\r\nimport { Provider } from 'react-redux';\r\nimport { ConnectedRouter } from 'connected-react-router';\r\nimport { createBrowserHistory } from 'history';\r\nimport configureStore from './store/configureStore';\r\nimport App from './App';\r\nimport registerServiceWorker from './registerServiceWorker';\r\n// Create browser history to use in the Redux store\r\nconst baseUrl = document.getElementsByTagName('base')[0].getAttribute('href');\r\nconst history = createBrowserHistory({ basename: baseUrl });\r\n// Get the application-wide store instance, prepopulating with state from the server where available.\r\nconst store = configureStore(history);\r\nconst data = {\r\n url: window.location.href\r\n};\r\nconst fetchWhiteLabel = () => {\r\n console.log('fetch from index');\r\n fetch('api/whitelabel', {\r\n method: 'POST', // *GET, POST, PUT, DELETE, etc.\r\n mode: 'cors', // no-cors, *cors, same-origin\r\n cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached\r\n credentials: 'same-origin', // include, *same-origin, omit\r\n headers: { 'Content-Type': 'application/json' },\r\n redirect: 'follow', // manual, *follow, error\r\n referrerPolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url\r\n body: JSON.stringify(data) // body data type must match \"Content-Type\" header\r\n })\r\n .then(response => response.json())\r\n .then(data => {\r\n console.log(data);\r\n if (data.isSuccess) {\r\n store.dispatch({ type: 'RECEIVE_WHITE_LABEL', data });\r\n }\r\n });\r\n};\r\nfetchWhiteLabel();\r\nReactDOM.render(React.createElement(Provider, { store: store },\r\n React.createElement(ConnectedRouter, { history: history },\r\n React.createElement(App, null))), document.getElementById('root'));\r\nregisterServiceWorker();\r\n//# sourceMappingURL=index.js.map","import { applyMiddleware, combineReducers, compose, createStore } from 'redux';\r\nimport thunk from 'redux-thunk';\r\nimport { connectRouter, routerMiddleware } from 'connected-react-router';\r\nimport { History } from 'history';\r\nimport { ApplicationState, reducers } from './';\r\n\r\nexport default function configureStore(history: History, initialState?: ApplicationState) {\r\n const middleware = [\r\n thunk,\r\n routerMiddleware(history)\r\n ];\r\n\r\n const rootReducer = combineReducers({\r\n ...reducers,\r\n router: connectRouter(history)\r\n });\r\n\r\n const enhancers = [];\r\n const windowIfDefined = typeof window === 'undefined' ? null : window as any;\r\n if (windowIfDefined && windowIfDefined.__REDUX_DEVTOOLS_EXTENSION__) {\r\n enhancers.push(windowIfDefined.__REDUX_DEVTOOLS_EXTENSION__());\r\n }\r\n\r\n return createStore(\r\n rootReducer,\r\n initialState,\r\n compose(applyMiddleware(...middleware), ...enhancers)\r\n );\r\n}\r\n"],"sourceRoot":""}